1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9082a466-c2f4-4f07-9a59-c3a9a6f73824",e._sentryDebugIdIdentifier="sentry-dbid-9082a466-c2f4-4f07-9a59-c3a9a6f73824")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8107],{8334:(e,t,a)=>{a.d(t,{Tr:()=>p,Yd:()=>h,ay:()=>m,cd:()=>b,gw:()=>f,oU:()=>l,tR:()=>v,uB:()=>g,yP:()=>y});var n=a(82600),r=a(24829),o=a(98622),i=a(75358);function l(e){return e=y(e,new(0,o.FG)),s((0,o.LA)(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function s(e,t,a,n,r,o,i){let l=new Date;return l.setUTCHours(n,r,o,i),l.setUTCFullYear(e,t-1,a),l.getTime()}function u(e,t){if("UTC"===t)return 0;if(e>0&&t===(0,i.Xj)()&&!(0,i.rS)())return -6e4*new Date(e).getTimezoneOffset();let{year:a,month:n,day:r,hour:o,minute:l,second:u}=d(e,t);return s(a,n,r,o,l,u,0)-1e3*Math.floor(e/1e3)}let c=new Map;function d(e,t){let a=c.get(t);a||(a=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),c.set(t,a));let n=a.formatToParts(new Date(e)),r={};for(let e of n)"literal"!==e.type&&(r[e.type]=e.value);return{year:"BC"===r.era||"B"===r.era?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:"24"===r.hour?0:+r.hour,minute:+r.minute,second:+r.second}}function p(e,t,a="compatible"){var n,r,s;let c=v(e);if("UTC"===t)return l(c);if(t===(0,i.Xj)()&&"compatible"===a&&!(0,i.rS)()){c=y(c,new(0,o.FG));let e=new Date,t=(0,o.LA)(c.era,c.year);return e.setFullYear(t,c.month-1,c.day),e.setHours(c.hour,c.minute,c.second,c.millisecond),e.getTime()}let m=l(c),h=u(m-864e5,t),f=u(m+864e5,t),g=(n=c,((r=m-h)==(s=m-f)?[r]:[r,s]).filter(e=>{var a;let r;return a=n,r=d(e,t),a.year===r.year&&a.month===r.month&&a.day===r.day&&a.hour===r.hour&&a.minute===r.minute&&a.second===r.second}));if(1===g.length)return g[0];if(g.length>1)switch(a){case"compatible":case"earlier":return g[0];case"later":return g[g.length-1];case"reject":throw RangeError("Multiple possible absolute times found")}switch(a){case"earlier":return Math.min(m-h,m-f);case"compatible":case"later":return Math.max(m-h,m-f);case"reject":throw RangeError("No such absolute time found")}}function m(e,t,a="compatible"){return new Date(p(e,t,a))}function h(e,t){let a=u(e,t),r=new Date(e+a),o=r.getUTCFullYear(),i=r.getUTCMonth()+1,l=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),d=r.getUTCSeconds(),p=r.getUTCMilliseconds();return new(0,n.Ip)(o<1?"BC":"AD",o<1?-o+1:o,i,l,t,a,s,c,d,p)}function f(e){return new(0,n.ng)(e.calendar,e.era,e.year,e.month,e.day)}function v(e,t){let a=0,r=0,o=0,i=0;if("timeZone"in e)({hour:a,minute:r,second:o,millisecond:i}=e);else if("hour"in e&&!t)return e;return t&&({hour:a,minute:r,second:o,millisecond:i}=t),new(0,n._l)(e.calendar,e.era,e.year,e.month,e.day,a,r,o,i)}function y(e,t){if((0,i.Jg)(e.calendar,t))return e;let a=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=a.era,n.year=a.year,n.month=a.month,n.day=a.day,(0,r.AU)(n),n}function g(e,t,a){if(e instanceof n.Ip){var r,o;return e.timeZone===t?e:(r=e,o=t,y(h(l(r)-r.offset,o),r.calendar))}return h(p(e,t,a),t)}function b(e){return new Date(l(e)-e.offset)}},12275:(e,t,a)=>{a.d(t,{createApiClientModal:()=>aI});var n=a(2917),r=a(99650),o=(e,t,a)=>async n=>{let r=await a[e]?.onBeforeExecute?.(n)??n;return await t(r),await a[e]?.onAfterExecute?.(r),r},i=a(73757),l=a(8761),s={},u=a(13242),c=a(26568),d=a(54946),p=a(19015),m=e=>"example"===e.type,h=e=>{let t=e.store.workspace.documents[e.documentSlug??""];return(0,l.yF)(t)?t:void 0},f=a(60014),v=({document:e,path:t,method:a,example:n})=>JSON.stringify([e,t,a,n].filter(f.O)),y=a(73729),g=a(48488),b={Enter:{event:"operation:send:request:hotkey",modifiers:["default"]},b:{event:"ui:toggle:sidebar",modifiers:["default"]},k:{event:"ui:open:command-palette",modifiers:["default"]},l:{event:"ui:focus:address-bar",modifiers:["default"]},j:{event:"ui:focus:search",modifiers:["default"]},i:{event:"ui:open:settings",modifiers:["default"]},s:{event:"ui:save:local-document",modifiers:["default"]}},A={web:b,modal:{...b,Escape:{event:"ui:close:client-modal",modifiers:[]},l:{event:"ui:focus:send-button",modifiers:["default"]}},desktop:{...b,n:{event:"ui:open:command-palette",modifiers:["default"]},t:{event:"tabs:add:tab",modifiers:["default"]},w:{event:"tabs:close:tab",modifiers:["default"]},ArrowLeft:{event:"tabs:navigate:previous",modifiers:["default","altKey"]},ArrowRight:{event:"tabs:navigate:next",modifiers:["default","altKey"]},1:{event:"tabs:focus:tab",modifiers:["default"]},2:{event:"tabs:focus:tab",modifiers:["default"]},3:{event:"tabs:focus:tab",modifiers:["default"]},4:{event:"tabs:focus:tab",modifiers:["default"]},5:{event:"tabs:focus:tab",modifiers:["default"]},6:{event:"tabs:focus:tab",modifiers:["default"]},7:{event:"tabs:focus:tab",modifiers:["default"]},8:{event:"tabs:focus:tab",modifiers:["default"]},9:{event:"tabs:focus:tab-last",modifiers:["default"]}}},w=new Set(["Escape","ArrowDown","ArrowUp","Enter"]),k=a(51648),M=a(8016),E="scalar-dragging",S=(0,n.pM)({__name:"Resize",props:{width:{}},emits:["update:width"],setup(e,{emit:t}){let a=(0,i.KR)(!1),r=n=>{n.preventDefault();let r=n.clientX,o=e.width,i=e=>{a.value=!0,document.body.classList.add(E);let n=o+e.clientX-r;n>420&&(n=420+(n-420)*.2),n<240&&(n=240),t("update:width",n)},l=()=>{a.value=!1,document.body.classList.remove(E),document.documentElement.removeEventListener("mousemove",i,!1),document.documentElement.removeEventListener("mouseup",l,!1),e.width>420?t("update:width",360):e.width<240&&t("update:width",240)};document.documentElement.addEventListener("mousemove",i,!1),document.documentElement.addEventListener("mouseup",l,!1)};return(t,a)=>((0,n.uX)(),(0,n.CE)("div",{class:"relative",style:(0,M.Tr)({width:`${e.width}px`})},[(0,n.RG)(t.$slots,"default",{},void 0,!0),(0,n.Lk)("div",{class:"resizer",onMousedown:r},null,32)],4))}}),R=(0,k.A)(S,[["__scopeId","data-v-e2c54c18"]]),H=a(81682),x=a(79500),C=a(90881),L={key:0},V={key:1}
1,Z={key:2},D={key:3},I={key:4},F={key:5},B=(0,n.pM)({name:"ScalarIconGear",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",L,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",V,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",Z,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",D,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",I,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",F,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32
1-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),N=a(84156),T=(0,n.pM)({inheritAttrs:!1,__name:"ScalarHeaderButton",props:{is:{default:"button"},cta:{type:Boolean}},setup(e){let t=(0,N.Fj)({base:"group/button flex items-center rounded px-3 py-2 text-base/4 no-underline",variants:{cta:{true:"font-bold bg-b-header-cta text-sm/4 text-c-header-cta hover:bg-h-header-cta",false:"text-c-header-2 hover:text-c-header-1"}}}),{cx:a}=(0,N.AX)();return(r,o)=>((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.is),(0,n.v6)({type:"button"===e.is?"button":void 0},(0,i.R1)(a)((0,i.R1)(t)({cta:e.cta}))),{default:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"default")]),_:3},16,["type"]))}}),X=a(14917),_=a(93277),O={class:"h-5 w-auto"},P={key:0,class:"ml-1 truncate text-sm font-medium"},W={class:"sr-only"},G=(0,n.pM)({__name:"ScalarMenuButton",props:{open:{type:Boolean}},setup:e=>(t,a)=>((0,n.uX)(),(0,n.Wv)((0,i.R1)(T),{class:"gap-0.75 px-2 py-1.5 text-c-header-1 hover:bg-b-header-2"},{default:(0,n.k6)(()=>[(0,n.Lk)("div",O,[(0,n.RG)(t.$slots,"logo",{},()=>[(0,n.bF)((0,i.R1)(X.A),{icon:"Logo"})])]),t.$slots.title?((0,n.uX)(),(0,n.CE)("span",P,[(0,n.RG)(t.$slots,"title")])):(0,n.Q3)("",!0),(0,n.Lk)("span",W,[(0,n.RG)(t.$slots,"label",{},()=>[(0,n.eW)((0,M.v_)(e.open?"Close Menu":"Open Menu"),1)])]),(0,n.bF)((0,i.R1)(_.A),{class:(0,M.C4)(["shrink-0 text-c-header-2 group-hover/button:text-c-header-1 size-3.5",e.open?"rotate-180":""]),weight:"bold"},null,8,["class"])]),_:3}))}),U=a(32692),$=a(42466),q=a(76416);q.ub_,q.uae,q.AsP,q.Xln,q.$m7,q.VK1,q.tv9,q.P4m,q.EOR,q.LAA,q.ZrO,q.r79,q.$vl,q.RxY,q.Cye,q.BKA,q.q5E,q.xRE,q.MIr,q.tnd,q.r8H,q.ZrS,q.HDg,q.kGk,q.g0b,q.Zmb,q.XqA,q.$Xj,q.F84,q.y8v,q.P7L,q.Nbd,q.R6$,q.KeB,q.ibK,q.oKz,q.HQx,q.MsM,q.kls,q.D5G,q.uCT,q.h5g,q.$U4,q.ya1,q.x4T,q.QCi,q.Zq2,q.He1,q.Kqz,q.DON,q.RcO,q.JWI,q.Ipl,q._Ep,q.ktA,q.Q2A,q.K5t,q.XNv,q.T3n,q.F7W,q.BOK,q.zbt,q.Fjw,q.es7,q.PdH,q.jgr,q.VMG,q.St9,q.nql,q.Jpe,q.$GS,q.hEY,q.KlT,q._Tr,q.rLn,q.ZtR,q.JUU,q.$zq,q.tKA,q.dRj,q.$5G,q.Lhe,q.IMp,q.y0E,q.R8S,q.fND,q.IBb,q.ly0,q.kkm,q.qwy,q.iu1,q.WdD,q.v$N,q.$5h,q.osQ,q.EVn,q.wBI,q.eiz,q.Yfl,q.IRd,q.sEq,q.eYo,q.T3q,q.P1R,q.ot$,q.aiv,q.Pl_,q.Msi,q.K9c,q.DzF,q.zMO,q.ZJt,q.Cff,q.LCd,q.HMX,q.L33,q.rrK;let J={Root:q.$EB,Trigger:q.tyb,Portal:q.dce,Content:q.SQm,Arrow:q.eW6,Item:q._26,Group:q.Ia5,Separator:q.mBJ,CheckboxItem:q.hOu,ItemIndicator:q.ly6,Label:q.lpj,RadioGroup:q.HrQ,RadioItem:q.Ht1,Sub:q.lvB,SubContent:q.M56,SubTrigger:q.nVd};q.NwP,q.CIQ,q.jcm,q.lHi,q.Xkr,q.FEu,q.ht_,q.z8l,q.d05,q.HPM,q.Etv,q.ULI,q._F9,q.jMo,q.w7Q,q.nxh,q.iFL,q.f$P,q.NAh,q.frF,q.bw8,q.BoJ,q.zdV,q.aMH,q.Y1l,q.ct_,q.Emp,q.e9m,q.$vw,q.tkl,q.RLN,q.ffc,q.jvW,q.PwJ,q.a0P,q.z3_,q.yQb,q.hAi,q.lQL,q.JD6,q.Wsj,q.SKA,q.eKx,q.UgV,q.wdv,q.QWX,q.qo9,q.YD_,q.PpY,q.XL_,q.BK$,q.M_5,q.rz4,q.$l8,q.JkN,q.cO_,q.WAC,q.q6v,q.Yvu,q.Ilz,q.ytF,q.Wvm,q.i0r,q.hlN,q.Rp9,q.iN_,q.dTQ,q.wik,q.ZPf,q.Bzo,q.CUM,q.kl3,q.k7_,q.$Dl,q.e$$,q.K8U,q.gJI,q.q3t,q.Z_P,q.TXh,q.IqU,q.WiT,q.DXJ,q.YpF,q.VCz,q.BrV,q.VM5,q.lrl,q.IPm,q.H5b,q.bqE,q.VpB,q.gCo,q.ceR,q.mi8,q.h3R,q.TRI,q.s32,q.ebT,q.hak,q.H,q.p83,q.y2e,q.yvm,q.wBL,q.g1y,q.OQn,q.hB0,q.tOx,q.Z0t,q.Kmu,q.ED_,q.Ykk,q.LBv,q.wcS,q.iC0,q.cXj,q.TwG,q.FMT,q.lq7,q.pDW,q.pKQ,q.j7C,q.avX,q.Xib,q.E_i,q.SWv,q.eM4,q.v6u,q.YJw,q.mAt,q.Dvn,q.tEY,q.mkx,q.QgL,q.eCG,q.USX,q.SbU,q.aDB,q.uy3,q.dzE,q.Kk2,q.IBt,q.Kwp,q.hTr,q.z0I,q.lRU,q.sbw,q.k$k,q.ZIw,q.PRr,q.KL1,q.Bcw,q.n7q,q.yhE,q.C48;var Q={key:1,class:"size-3"},K=(0,n.pM)({inheritAttrs:!1,__name:"ScalarMenuLink",props:{is:{default:"a"},icon:{type:[Object,Function]},strong:{type:Boolean},submenu:{type:Boolean}},setup(e){let{cx:t}=(0,N.AX)();return(a,r)=>((0,n.uX)(),(0,n.Wv)((0,i.R1)(U.A),(0,n.v6)((0,i.R1)(t)("flex items-center"),{is:e.submenu?(0,i.R1)(J).SubTrigger:(0,i.R1)(J).Item,as:e.is}),{default:(0,n.k6)(()=>[e.icon?((0,n.uX)(),(0,n.Wv)((0,i.R1)($.A),{key:0,class:(0,M.C4)([e.strong?"text-c-1":"text-c-2","string"==typeof e.icon?"size-3":"size-3.5 -mx-px"]),icon:e.icon,thickness:e.strong?"2.5":"2",weight:e.strong?"bold":"regular"},null,8,["class","icon","thickness","weight"])):((0,n.uX)(),(0,n.CE)("div",Q)),(0,n.Lk)("div",{class:(0,M.C4)(["flex items-center flex-1 min-w-0 truncate",e.strong?"font-medium":"font-normal"])},[(0,n.RG)(a.$slots,"default")],2)]),_:3},16,["is","as"]))}}),j=(0,n.pM)({inheritAttrs:!1,__name:"ScalarMenuProduct",props:{is:{default:"a"},selected:{type:Boolean},icon:{type:[Object,Function]}},setup(e){let{cx:t}=(0,N.AX)(),a=(0,N.Fj)({base:"gap-1.5",variants:{selected:{true:"pointer-events-none bg-b-2 dark:bg-b-3",false:"cursor-pointer hover:bg-b-2 dark:hover:bg-b-3"}}});return(r,o)=>((0,n.uX)(),(0,n.Wv)((0,i.R1)(K),(0,n.v6)({is:e.is,icon:e.icon,strong:"",target:"_blank"},(0,i.R1)(t)((0,i.R1)(a)({selected:e.selected}))),{default:(0,n.k6)(()=>[(0,n.RG)(r.$slots,"default")]),_:3},16,["is","icon"]))}}),Y={key:0},z={key:1},ee={key:2},et={key:3},ea={key:4},en={key:5},er=(0,n.pM)({name:"ScalarIconHouse",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",Y,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",z,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ee,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",et,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ea,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",en,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),eo=a(49260),ei={key:0},el={key:1},es={key:2},eu={key:3},ec={key:4},ed={key:5},ep=(0,n.pM)({name:"ScalarIconNotepad",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ei,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M172,124a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,124Zm-12,28H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24ZM220,40V200a36,36,0,0,1-36,36H72a36,36,0,0,1-36-36V4
10A12,12,0,0,1,48,28H72V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h24A12,12,0,0,1,220,40ZM196,52H184v4a12,12,0,0,1-24,0V52H140v4a12,12,0,0,1-24,0V52H96v4a12,12,0,0,1-24,0V52H60V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",el,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M208,40V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V40Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",es,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H136V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48a8,8,0,0,0-8,8V200a32,32,0,0,0,32,32H184a32,32,0,0,0,32-32V40A8,8,0,0,0,208,32ZM120,56a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM80,72a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0v8A8,8,0,0,1,80,72Zm80,96H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm24-72a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eu,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M166,128a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,128Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12ZM214,40V200a30,30,0,0,1-30,30H72a30,30,0,0,1-30-30V40a6,6,0,0,1,6-6H74V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h26A6,6,0,0,1,214,40Zm-12,6H182V56a6,6,0,0,1-12,0V46H134V56a6,6,0,0,1-12,0V46H86V56a6,6,0,0,1-12,0V46H54V200a18,18,0,0,0,18,18H184a18,18,0,0,0,18-18Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ec,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ed,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M164,128a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,128Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8ZM212,40V200a28,28,0,0,1-28,28H72a28,28,0,0,1-28-28V40a4,4,0,0,1,4-4H76V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h28A4,4,0,0,1,212,40Zm-8,4H180V56a4,4,0,0,1-8,0V44H132V56a4,4,0,0,1-8,0V44H84V56a4,4,0,0,1-8,0V44H52V200a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),em=a(10136),eh=(0,n.pM)({inheritAttrs:!1,__name:"ScalarMenuProducts",props:{selected:{},showDocs:{type:Boolean},hrefs:{}},emits:["open"],setup(e){let{cx:t}=(0,N.AX)();return(a,r)=>((0,n.uX)(),(0,n.CE)("div",(0,M._B)((0,n.Ng)((0,i.R1)(t)("flex flex-col"))),[(0,n.bF)(j,{href:e.hrefs?.dashboard??"https://dashboard.scalar.com",icon:(0,i.R1)(er),selected:"dashboard"===e.selected,onClick:r[0]||(r[0]=e=>a.$emit("open",e,"dashboard"))},{default:(0,n.k6)(()=>[...r[4]||(r[4]=[(0,n.eW)(" Dashboard ",-1)])]),_:1},8,["href","icon","selected"]),e.showDocs||"docs"===e.selected?((0,n.uX)(),(0,n.Wv)(j,{key:0,href:e.hrefs?.docs??"https://docs.scalar.com",icon:(0,i.R1)(eo.A),selected:"docs"===e.selected,onClick:r[1]||(r[1]=e=>a.$emit("open",e,"docs"))},{default:(0,n.k6)(()=>[...r[5]||(r[5]=[(0,n.eW)(" Docs ",-1)])]),_:1},8,["href","icon","selected"])):(0,n.Q3)("",!0),(0,n.bF)(j,{href:e.hrefs?.editor??"https://editor.scalar.com",icon:(0,i.R1)(ep),selected:"editor"===e.selected,onClick:r[2]||(r[2]=e=>a.$emit("open",e,"editor"))},{default:(0,n.k6)(()=>[...r[6]||(r[6]=[(0,n.eW)(" Editor ",-1)])]),_:1},8,["href","icon","selected"]),(0,n.bF)(j,{href:e.hrefs?.client??"https://client.scalar.com",icon:(0,i.R1)(em.A),selected:"client"===e.selected,onClick:r[3]||(r[3]=e=>a.$emit("open",e,"client"))},{default:(0,n.k6)(()=>[...r[7]||(r[7]=[(0,n.eW)(" Client ",-1)])]),_:1},8,["href","icon","selected"])],16))}}
1),ef=a(10107),ev=(0,n.pM)({inheritAttrs:!1,__name:"ScalarMenuSection",setup:e=>(e,t)=>((0,n.uX)(),(0,n.CE)(n.FK,null,[(0,n.bF)((0,i.R1)(ef.A)),(0,n.RG)(e.$slots,"default")],64))}),ey=a(11318),eg={key:0},eb={key:1},eA={key:2},ew={key:3},ek={key:4},eM={key:5},eE=(0,n.pM)({name:"ScalarIconFileText",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eg,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eb,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216
1Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eA,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ew,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ek,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216
1Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eM,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),eS={key:0},eR={key:1},eH={key:2},ex={key:3},eC={key:4},eL={key:5},eV=(0,n.pM)({name:"ScalarIconBookOpenText",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eS,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eR,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eH,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ex,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eC,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eL,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),eZ=(0,n.pM)({__name:"ScalarMenuResources",setup:e=>(e,t)=>
1((0,n.uX)(),(0,n.Wv)(ev,null,{title:(0,n.k6)(()=>[...t[0]||(t[0]=[(0,n.eW)("Resources",-1)])]),default:(0,n.k6)(()=>[(0,n.bF)(K,{href:"mailto:[email protected]",icon:(0,i.R1)(ey.A),target:"_blank"},{default:(0,n.k6)(()=>[...t[1]||(t[1]=[(0,n.eW)(" Sales & Support ",-1)])]),_:1},8,["icon"]),(0,n.bF)(K,{href:"https://scalar.com/terms-and-conditions",icon:(0,i.R1)(eE),target:"_blank"},{default:(0,n.k6)(()=>[...t[2]||(t[2]=[(0,n.eW)(" Terms & Conditions ",-1)])]),_:1},8,["icon"]),(0,n.bF)(K,{href:"https://scalar.com/privacy-policy",icon:(0,i.R1)(eV),target:"_blank"},{default:(0,n.k6)(()=>[...t[3]||(t[3]=[(0,n.eW)(" Privacy Policy ",-1)])]),_:1},8,["icon"])]),_:1}))}),eD=a(80162),eI=(0,n.pM)({inheritAttrs:!1,__name:"ScalarMenu",setup(e){let t=(0,i.KR)(!1);function a(){t.value=!1}return(e,r)=>((0,n.uX)(),(0,n.Wv)((0,i.R1)(J).Root,{open:t.value,"onUpdate:open":r[0]||(r[0]=e=>t.value=e)},{default:(0,n.k6)(()=>[(0,n.bF)((0,i.R1)(J).Trigger,{asChild:""},{default:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"button",{open:t.value},()=>[(0,n.bF)(G,{class:"min-w-0",open:t.value},(0,n.eX)({_:2},[e.$slots.logo?{name:"logo",fn:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"logo")]),key:"0"}:void 0,e.$slots.title?{name:"title",fn:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"title")]),key:"1"}:void 0,e.$slots.label?{name:"label",fn:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"label")]),key:"2"}:void 0]),1032,["open"])])]),_:3}),(0,n.bF)((0,i.R1)(J).Content,(0,n.v6)({align:"start",as:(0,i.R1)(eD.A),class:"max-h-radix-popper z-context",sideOffset:5},e.$attrs),{default:(0,n.k6)(()=>[(0,n.RG)(e.$slots,"products",{close:a},()=>[(0,n.bF)(eh)]),(0,n.RG)(e.$slots,"profile",{close:a}),(0,n.RG)(e.$slots,"sections",{close:a},()=>[(0,n.bF)(eZ)])]),_:3},16,["as"])]),_:3},8,["open"]))}}),eF={key:0},eB={key:1},eN={key:2},eT={key:3},eX={key:4},e_={key:5},eO=(0,n.pM)({name:"ScalarIconDiscordLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eF,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm76.07,76.56-67,29.71A20.15,20.15,0,0,1,146,214.9l-8.54-23.13c-3.13.14-6.27.24-9.45.24s-6.32-.1-9.45-.24L110,214.9a20.19,20.19,0,0,1-27.08,11.37l-67-29.71A19.93,19.93,0,0,1,4.62,173.41L34.15,57A20,20,0,0,1,50.37,42.19l36.06-5.93A20.26,20.26,0,0,1,109.22,51.1l4.41,17.41c4.74-.33,9.52-.51,14.37-.51s9.63.18,14.37.51l4.41-17.41a20.25,20.25,0,0,1,22.79-14.84l36.06,5.93A20,20,0,0,1,221.85,57l29.53,116.38A19.93,19.93,0,0,1,240.07,196.56ZM227.28,176,199.23,65.46l-30.07-4.94-2.84,11.17c2.9.58,5.78,1.2,8.61,1.92a12,12,0,1,1-5.86,23.27A168.43,168.43,0,0,0,128,92a168.43,168.43,0,0,0-41.07,4.88,12,12,0,0,1-5.86-23.27c2.83-.72,5.71-1.34,8.61-1.92L86.85,60.52,56.77,65.46,28.72,176l60.22,26.7,5-13.57c-4.37-.76-8.67-1.65-12.88-2.71a12,12,0,0,1,5.86-23.28A168.43,168.43,0,0,0,128,168a168.43,168.43,0,0,0,41.07-4.88,12,12,0,0,1,5.86,23.28c-4.21,1.06-8.51,1.95-12.88,2.71l5,13.57Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eB,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M235.21,185.59l-67,29.7a8.15,8.15,0,0,1-11-4.56L147,183.06a190.5,190.5,0,0,1-19,.94,190.5,190.5,0,0,1-19-.94L98.75,210.73a8.15,8.15,0,0,1-11,4.56l-67-29.7a8,8,0,0,1-4.55-9.24L45.77,60A8.08,8.08,0,0,1,52.31,54l36.06-5.92a8.1,8.1,0,0,1,9.21,6l5,19.63a192.32,192.32,0,0,1,50.88,0l5-19.63a8.1,8.1,0,0,1,9.21-6L203.69,54A8.08,8.08,0,0,1,210.23,60l29.53,116.37A8,8,0,0,1,235.21,185.59Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.94,15.94,0,0,1-9.06-18.51L38,58A16.08,16.08,0,0,1,51,46.13l36.06-5.92a16.21,16.21,0,0,1,18.26,11.88l3.26,12.83Q118.11,64,128,64t19.4.92l3.26-12.83a16.22,16.22,0,0,1,18.26-11.88L205,46.13A16.08,16.08,0,0,1,218,58l29.53,116.38A15.94,15.94,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56a.21.21,0,0,0-.12,0h0L53.61,61.92a.24.24,0,0,0-.09,0L24,178.33,91,208a.21.21,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eN,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M247.51,
1174.39,218,58a16.08,16.08,0,0,0-13-11.88l-36.06-5.92a16.22,16.22,0,0,0-18.26,11.88l-.21.85a4,4,0,0,0,3.27,4.93,155.62,155.62,0,0,1,24.41,5.62,8.2,8.2,0,0,1,5.62,9.7,8,8,0,0,1-10.19,5.64,155.4,155.4,0,0,0-90.8-.1,8.22,8.22,0,0,1-10.28-4.81,8,8,0,0,1,5.08-10.33,156.85,156.85,0,0,1,24.72-5.72,4,4,0,0,0,3.27-4.93l-.21-.85A16.21,16.21,0,0,0,87.08,40.21L51,46.13A16.08,16.08,0,0,0,38,58L8.49,174.39a15.94,15.94,0,0,0,9.06,18.51l67,29.71a16.17,16.17,0,0,0,21.71-9.1l3.49-9.45a4,4,0,0,0-3.27-5.35,158.13,158.13,0,0,1-28.63-6.2,8.2,8.2,0,0,1-5.61-9.67,8,8,0,0,1,10.2-5.66,155.59,155.59,0,0,0,91.12,0,8,8,0,0,1,10.19,5.65,8.19,8.19,0,0,1-5.61,9.68,157.84,157.84,0,0,1-28.62,6.2,4,4,0,0,0-3.27,5.35l3.49,9.45a16.18,16.18,0,0,0,21.71,9.1l67-29.71A15.94,15.94,0,0,0,247.51,174.39ZM92,152a12,12,0,1,1,12-12A12,12,0,0,1,92,152Zm72,0a12,12,0,1,1,12-12A12,12,0,0,1,164,152Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eT,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm73.64,61.08-67,29.71a14.43,14.43,0,0,1-5.77,1.21,14.13,14.13,0,0,1-13.25-9.18L143,189.43c-4.93.37-9.92.58-15,.58s-10.06-.21-15-.58l-8.63,23.39A14.13,14.13,0,0,1,91.13,222a14.43,14.43,0,0,1-5.77-1.21l-67-29.71a14,14,0,0,1-7.93-16.2L40,58.5A14.07,14.07,0,0,1,51.34,48.11L87.4,42.19a14.19,14.19,0,0,1,16,10.39l3.69,14.53a197.5,197.5,0,0,1,41.82,0l3.69-14.53a14.19,14.19,0,0,1,16-10.39l36.06,5.92A14.07,14.07,0,0,1,216,58.5l29.53,116.38A14,14,0,0,1,237.64,191.08Zm-3.7-13.25L204.41,61.45a2.08,2.08,0,0,0-1.7-1.5L166.65,54a2.13,2.13,0,0,0-2.42,1.5l-3.36,13.24a169.28,169.28,0,0,1,16.75,3.76A6,6,0,0,1,176,84.31a5.71,5.71,0,0,1-1.62-.23A174.26,174.26,0,0,0,128,78a174.26,174.26,0,0,0-46.38,6.08,6,6,0,1,1-3.24-11.55,169.28,169.28,0,0,1,16.75-3.76L91.77,55.53A2.12,2.12,0,0,0,89.35,54L53.29,60a2.08,2.08,0,0,0-1.7,1.5L22.06,177.83a2,2,0,0,0,1.16,2.28l67,29.7a2.19,2.19,0,0,0,1.76,0,2.07,2.07,0,0,0,1.14-1.17l7.58-20.55a171.46,171.46,0,0,1-22.33-4.64,6,6,0,1,1,3.24-11.55A174.26,174.26,0,0,0,128,178a174.26,174.26,0,0,0,46.38-6.08,6,6,0,1,1,3.24,11.55,171.46,171.46,0,0,1-22.33,4.64l7.58,20.55a2.07,2.07,0,0,0,1.14,1.17,2.19,2.19,0,0,0,1.76,0l67-29.7A2,2,0,0,0,233.94,177.83Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eX,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.93,15.93,0,0,1-9.06-18.51L38,58A16.07,16.07,0,0,1,51,46.14l36.06-5.93a16.22,16.22,0,0,1,18.26,11.88l3.26,12.84Q118.11,64,128,64t19.4.93l3.26-12.84a16.21,16.21,0,0,1,18.26-11.88L205,46.14A16.07,16.07,0,0,1,218,58l29.53,116.38A15.93,15.93,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56s0,0-.12,0h0L53.61,61.93a.17.17,0,0,0-.09,0L24,178.33,91,208a.23.23,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",e_,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64-8a8,8,0,1,0,8,8A8,8,0,0,0,164,132Zm72.83,57.25-67,29.71a12.36,12.36,0,0,1-5,1,12.13,12.13,0,0,1-11.38-7.88l-9.15-24.81c-5.36.45-10.81.69-16.34.69s-11-.24-16.34-.69l-9.15,24.81A12.13,12.13,0,0,1,91.13,220a12.36,12.36,0,0,1-5-1l-67-29.71a12,12,0,0,1-6.8-13.88L41.9,59a12.06,12.06,0,0,1,9.77-8.91l36.06-5.92a12.18,12.18,0,0,1,13.73,8.91l4.12,16.22a195.47,195.47,0,0,1,44.84,0l4.12-16.22a12.18,12.18,0,0,1,13.73-8.91l36.06,5.92A12.06,12.06,0,0,1,214.1,59l29.53,116.38A12,12,0,0,1,236.83,189.25Zm-1-11.91L206.35,61A4.07,4.07,0,0,0,203,58L167,52.05a4.15,4.15,0,0,0-4.69,3L158.4,70.38a166.74,166.74,0,0,1,18.68,4.08,4,4,0,1,1-2.16,7.7A176.21,176.21,0,0,0,128,76a176.21,176.21,0,0,0-46.92,6.16,4,4,0,1,1-2.16-7.7A166.74,166.74,0,0,1,97.6,70.38L93.71,55a4.15,4.15,0,0,0-4.69-3L53,58a4.07,4.07,0,0,0-3.31,3L20.12,177.34a4,4,0,0,0,2.29,4.59l67,29.71a4.16,4.16,0,0,0,3.35,0A4,4,0,0,0,95,209.35l8.45-22.88a171.49,171.49,0,0,1-24.53-4.92,4,4,0,0,1,2.16-7.71A176.21,176.21,0,0,0,128,180a176.21,176.21,0,0,0,46.92-6.16,4,4,0,0,1,2.16,7.71,171.49,171.49,0,0,1-24.53,4.92L161,209.35a4,4,0,0,0,2.23,2.32,4.16,4.16,0,0,0,3.35,0l67-29.71A4,4,0,0,0,235.88,177.34Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),eP={key:0},eW={key:1},eG={key:2},eU={key:3},e$={key:4},eq={key:5},eJ=(0,n.pM)({name:"ScalarIconGithubLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eP,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-2
10.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eW,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eG,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,
1112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eU,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",e$,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eq,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),eQ=(0,n.pM)({__name:"ScalarMenuSupport",setup:e=>(e,t)=>((0,n.uX)(),(0,n.Wv)(ev,null,{title:(0,n.k6)(()=>[...t[0]||(t[0]=[(0,n.eW)("Resources",-1)])]),default:(0,n.k6)(()=>[(0,n.bF)(K,{href:"https://discord.gg/scalar",icon:(0,i.R1)(eO),target:"_blank"},{default:(0,n.k6)(()=>[...t[1]||(t[1]=[(0,n.eW)(" Discord ",-1)])]),_:1},8,["icon"]),(0,n.bF)(K,{href:"https://github.com/scalar/scalar",icon:(0,i.R1)(eJ),target:"_blank"},{default:(0,n.k6)(()=>[...t[2]||(t[2]=[(0,n.eW)(" GitHub ",-1)])]),_:1},8,["icon"])]),_:1}))}),eK={key:0},ej={key:1},eY={key:2},ez={key:3},e0={key:4},e1={key:5},e2=(0,n.pM)({name:"ScalarIconUsers",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eK,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M125.18,156.94a64,64,0,1,0-82.36,0,100.23,100.23,0,0,0-39.49,32,12,12,0,0,0,19.35,14.2,76,76,0,0,1,122.64,0,12,12,0,0,0,19.36-14.2A100.33,100.33,0,0,0,125.18,156.94ZM44,108a40,40,0,1,1,40,40A40,40,0,0,1,44,108Zm206.1,97.67a12,12,0,0,1-16.78-2.57A76.31,76.31,0,0,0,172,172a12,12,0,0,1,0-24,40,40,0,1,0-10.3-78.67,12,12,0,1,1-6.16-23.19,64,64,0,0,1,57.64,110.8,100.23,100.23,0,0,1,39.49,32A12,12,0,0,1,250.1,205.67Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ej,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M136,108A52,52,0,1,1,84,56,52,52,0,0,1,136,108Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",eY,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M164.47,195.63a8,8,0,0,1-6.7,12.37H10.23a8,8,0,0,1-6.7-12.37,95.83,95.83,0,0,1,47.22-37.71,60,
160,0,1,1,66.5,0A95.83,95.83,0,0,1,164.47,195.63Zm87.91-.15a95.87,95.87,0,0,0-47.13-37.56A60,60,0,0,0,144.7,54.59a4,4,0,0,0-1.33,6A75.83,75.83,0,0,1,147,150.53a4,4,0,0,0,1.07,5.53,112.32,112.32,0,0,1,29.85,30.83,23.92,23.92,0,0,1,3.65,16.47,4,4,0,0,0,3.95,4.64h60.3a8,8,0,0,0,7.73-5.93A8.22,8.22,0,0,0,252.38,195.48Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ez,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M112.6,158.43a58,58,0,1,0-57.2,0A93.83,93.83,0,0,0,5.21,196.72a6,6,0,0,0,10.05,6.56,82,82,0,0,1,137.48,0,6,6,0,0,0,10-6.56A93.83,93.83,0,0,0,112.6,158.43ZM38,108a46,46,0,1,1,46,46A46.06,46.06,0,0,1,38,108Zm211,97a6,6,0,0,1-8.3-1.74A81.8,81.8,0,0,0,172,166a6,6,0,0,1,0-12,46,46,0,1,0-17.08-88.73,6,6,0,1,1-4.46-11.14,58,58,0,0,1,50.14,104.3,93.83,93.83,0,0,1,50.19,38.29A6,6,0,0,1,249,205Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",e0,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",e1,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M107.19,159a56,56,0,1,0-46.38,0A91.83,91.83,0,0,0,6.88,197.81a4,4,0,1,0,6.7,4.37,84,84,0,0,1,140.84,0,4,4,0,1,0,6.7-4.37A91.83,91.83,0,0,0,107.19,159ZM36,108a48,48,0,1,1,48,48A48.05,48.05,0,0,1,36,108Zm212,95.35a4,4,0,0,1-5.53-1.17A83.81,83.81,0,0,0,172,164a4,4,0,0,1,0-8,48,48,0,1,0-17.82-92.58,4,4,0,1,1-3-7.43,56,56,0,0,1,44,103,91.83,91.83,0,0,1,53.93,38.86A4,4,0,0,1,248,203.35Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),e8=["src"],e4={key:1,"aria-hidden":"true",class:"flex items-center justify-center text-3xs font-medium text-c-3 size-5 bg-b-3 rounded"},e6={key:2,class:"flex-1 truncate"},e3=a(37504),e5={key:0},e7={key:1},e9={key:2},te={key:3},tt={key:4},ta={key:5},tn=a(28898),tr=a(89335),to={key:0},ti={key:1},tl={key:2},ts={key:3},tu={key:4},tc={key:5},td=(0,n.pM)({name:"ScalarIconSwap",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",to,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M228,48V152a20,20,0,0,1-20,20H112.92a12,12,0,0,1-17.41,16.49l-20-20a12,12,0,0,1,0-17l20-20A12,12,0,0,1,112.92,148H204V52H100a12,12,0,0,1-24,0V48A20,20,0,0,1,96,28H208A20,20,0,0,1,228,48ZM168,192a12,12,0,0,0-12,12H52V108h91.08a12,12,0,0,0,17.41,16.49l20-20a12,12,0,0,0,0-17l-20-20A12,12,0,0,0,143.08,84H48a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20H160a20,20,0,0,0,20-20v-4A12,12,0,0,0,168,192Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ti,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M216,48V152a8,8,0,0,1-8,8H168v48a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H88V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",tl,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M224,48V152a16,16,0,0,1-16,16H112v16a8,8,0,0,1-13.66,5.66l-24-24a8,8,0,0,1,0-11.32l24-24A8,8,0,0,1,112,136v16h96V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104h96v16a8,8,0,0,0,13.66,5.66l24-24a8,8,0,0,0,0-11.32l-24-24A8,8,0,0,0,144,72V88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ts,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M222,48V152a14,14,0,0,1-14,14H94.49l13.75,13.76a6,6,0,1,1-8.48,8.48l-24-24a6,6,0,0,1,0-8.48l24-24a6,6,0,0,1,8.48,8.48L94.49,154H208a2,2,0,0,0,2-2V48a2,2,0,0,0-2-2H96a2,2,0,0,0-2,2v8a6,6,0,0,1-12,0V48A14,14,0,0,1,96,34H208A14,14,0,0,1,222,48ZM168,194a6,6,0,0,0-6,6v8a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V104a2,2,0,0,1,2-2H161.51l-13.75,13.76a6,6,0,1,0,8.48,8.48l24-24a6,6,0,0,0,0-8.48l-24-24a6,6,0,0,0-8.48,8.48L161.51,90H48a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14H160a14,14,0,0,0,14-14v-8A6,6,0,0,0,168,194Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",tu,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,
116,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",tc,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M220,48V152a12,12,0,0,1-12,12H89.66l17.17,17.17a4,4,0,0,1-5.66,5.66l-24-24a4,4,0,0,1,0-5.66l24-24a4,4,0,0,1,5.66,5.66L89.66,156H208a4,4,0,0,0,4-4V48a4,4,0,0,0-4-4H96a4,4,0,0,0-4,4v8a4,4,0,0,1-8,0V48A12,12,0,0,1,96,36H208A12,12,0,0,1,220,48ZM168,196a4,4,0,0,0-4,4v8a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V104a4,4,0,0,1,4-4H166.34l-17.17,17.17a4,4,0,0,0,5.66,5.66l24-24a4,4,0,0,0,0-5.66l-24-24a4,4,0,0,0-5.66,5.66L166.34,92H48a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12H160a12,12,0,0,0,12-12v-8A4,4,0,0,0,168,196Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),tp={class:"flex h-full items-center gap-1 flex-1 truncate"},tm=(0,n.pM)({inheritAttrs:!1,__name:"ScalarMenuWorkspacePicker",props:(0,n.zz)({workspaceOptions:{}},{modelValue:{},modelModifiers:{}}),emits:(0,n.zz)(["createWorkspace"],["update:modelValue"]),setup(e,{emit:t}){let a=(0,n.fn)(e,"modelValue");return(r,o)=>((0,n.uX)(),(0,n.Wv)((0,i.R1)(J).Sub,null,{default:(0,n.k6)(()=>[(0,n.bF)(K,(0,n.v6)({icon:(0,i.R1)(td),submenu:""},r.$attrs),{default:(0,n.k6)(()=>[o[2]||(o[2]=(0,n.Lk)("div",null,"Change workspace",-1)),(0,n.bF)((0,i.R1)(tn.A),{class:"ml-auto text-c-2 -mr-px size-3",weight:"bold"})]),_:1},16,["icon"]),(0,n.bF)((0,i.R1)(J).Portal,null,{default:(0,n.k6)(()=>[(0,n.bF)((0,i.R1)(J).SubContent,{as:(0,i.R1)(eD.A),class:"max-h-radix-popper z-context-plus",sideOffset:3},{default:(0,n.k6)(()=>[(0,n.bF)((0,i.R1)(J).RadioGroup,{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=e=>a.value=e),class:"contents"},{default:(0,n.k6)(()=>[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.workspaceOptions,(t,r)=>((0,n.uX)(),(0,n.CE)(n.FK,{key:r},[t.label?((0,n.uX)(),(0,n.Wv)((0,i.R1)(J).Label,{key:0,class:"px-3 py-1.5 text-xs font-medium text-c-3 select-none"},{default:(0,n.k6)(()=>[(0,n.eW)((0,M.v_)(t.label),1)]),_:2},1024)):(0,n.Q3)("",!0),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(t.options,e=>((0,n.uX)(),(0,n.Wv)((0,i.R1)(J).RadioItem,{key:e.id,as:(0,i.R1)(U.A),class:"group/item flex items-center",value:e.id},{default:(0,n.k6)(()=>[(0,n.Lk)("div",tp,(0,M.v_)(e.label),1),(0,n.bF)((0,i.R1)(e3.A),{class:"ml-auto",selected:e.id===a.value},null,8,["selected"])]),_:2},1032,["as","value"]))),128)),r<e.workspaceOptions.length-1?((0,n.uX)(),(0,n.Wv)((0,i.R1)(J).Separator,{key:1,class:"h-px bg-b-3 my-1.5"})):(0,n.Q3)("",!0)],64))),128))]),_:1},8,["modelValue"]),(0,n.bF)((0,i.R1)(J).Item,{as:(0,i.R1)(U.A),class:"flex items-center",onClick:o[1]||(o[1]=e=>t("createWorkspace"))},{default:(0,n.k6)(()=>[(0,n.bF)((0,i.R1)(tr.A),{class:"bg-b-3 -ml-0.75 rounded p-1 size-5 text-c-3",weight:"bold"}),o[3]||(o[3]=(0,n.eW)(" Create workspace ",-1))]),_:1},8,["as"])]),_:1},8,["as"])]),_:1})]),_:1}))}}),th=(0,n.pM)({__name:"SidebarMenu",props:{activeWorkspace:{},workspaces:{}},emits:["create:workspace","select:workspace","navigate:to:settings"],setup:(e,{emit:t})=>(a,r)=>((0,n.uX)(),(0,n.Wv)((0,i.R1)(eI),null,{products:(0,n.k6)(()=>[(0,n.bF)((0,i.R1)(eh),{selected:"client"})]),sections:(0,n.k6)(({close:o})=>[(0,n.bF)((0,i.R1)(ev),null,{default:(0,n.k6)(()=>[(0,n.RG)(a.$slots,"sidebarMenuActions",{},()=>[(0,n.bF)((0,i.R1)(tm),{modelValue:e.activeWorkspace.id,workspaceOptions:e.workspaces,onCreateWorkspace:r[0]||(r[0]=e=>t("create:workspace")),"onUpdate:modelValue":r[1]||(r[1]=e=>t("select:workspace",e))},null,8,["modelValue","workspaceOptions"]),(0,n.bF)((0,i.R1)(K),{is:"button",icon:(0,i.R1)(B),onClick:()=>{o(),t("navigate:to:settings")}},{default:(0,n.k6)(()=>[...r[2]||(r[2]=[(0,n.eW)(" Settings ",-1)])]),_:1},8,["icon","onClick"])])]),_:2},1024),(0,n.bF)((0,i.R1)(eZ)),(0,n.bF)((0,i.R1)(eQ))]),_:3}))}),tf=a(1813),tv={key:0},ty={key:1},tg={key:2},tb={key:3},tA={key:4},tw={key:5},tk=(0,n.pM)({name:"ScalarIconFileDashed",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=(0,C.R)(e);return(e,r)=>((0,n.uX)(),(0,n.CE)("svg",(0,n.v6)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},(0,i.R1)(t)),[(0,n.RG)(e.$slots,"default"),"bold"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",tv,[...r[0]||(r[0]=[(0,n.Lk)("path",{d:"M84,224a12,12,0,0,1-12,12H56a20,20,0,0,1-20-20V184a12,12,0,0,1,24,0v28H72A12,12,0,0,1,84,224ZM220,88v48a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H120a12,12,0,0,1,0-24h32a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57ZM80,20H56A20,20,0,0,0,36,40V64a12,12,0,0,0,24,0V44H80a12,12,0,0,0,0-24ZM208,164a12,12,0,0,0-12,12v36h-4a12,12,0,0,0,0,24h8a20,20,0,0,0,20-20V176A12,12,0,0,0,208,164ZM48,156a12,12,0,0,0,12-12V104a12,12,0,0,0-24,0v40A12,12,0,0,0,48,156Zm104,56H112a12,12,0,0,0,0,24h40a12,12,0,0,0,0-24Z"},null,-1)])])):"duotone"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",ty,[...r[1]||(r[1]=[(0,n.Lk)("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),(0,n.Lk)("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)])])):"fill"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",tg,[...r[2]||(r[2]=[(0,n.Lk)("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM213.66,82.34l-56-56A8,8,0,0,0,152,24H120a8,8,0,0,0,0,16h24V88a8,8,0,0,0,8,8h48v40a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)])])):"light"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",tb,[...r[3]||(r[3]=[(0,n.Lk)("path",{d:"M78,224a6,6,0,0,1-6,6H56a14,14,0,0,1-14-14V184a6,6,0,0,1,12,0v32a2,2,0,0,0,2,2H72A6,6,0,0,1,78,224ZM214,88v48a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H120a6,6,0,0,1,0-12h32a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.51L158,46.49ZM80,26H56A14,14,0,0,0,42,40V64a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2H80a6,6,0,0,0,0-12ZM208,170a6,6,0,0,0-6,6v40a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V176A6,6,0,0,0,208,170ZM48,150a6,6,0,0,0,6-6V104a6,6,0,0,0-12,0v40A6,6,0,0,0,48,150Zm104,68H112a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Z"},null,-1)])])):"regular"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",tA,[...r[4]||(r[4]=[(0,n.Lk)("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)])])):"thin"===(0,i.R1)(a)?((0,n.uX)(),(0,n.CE)("g",tw,[...r[5]||(r[5]=[(0,n.Lk)("path",{d:"M76,224a4,4,0,0,1-4,4H56a12,12,0,0,1-12-12V184a4,4,0,0,1,8,0v32a4,4,0,0,0,4,4H72A4,4,0,0,1,76,224ZM212,88v48a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H120a4,4,0,0,1,0-8h32a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34
1L156,41.66ZM80,28H56A12,12,0,0,0,44,40V64a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4H80a4,4,0,0,0,0-8ZM208,172a4,4,0,0,0-4,4v40a4,4,0,0,1-4,4h-8a4,4,0,0,0,0,8h8a12,12,0,0,0,12-12V176A4,4,0,0,0,208,172ZM48,148a4,4,0,0,0,4-4V104a4,4,0,0,0-8,0v40A4,4,0,0,0,48,148Zm104,72H112a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8Z"},null,-1)])])):(0,n.Q3)("",!0)],16))}}),tM=a(1057),tE=a(6917),tS={key:1},tR=(0,n.pM)({__name:"Sidebar",props:(0,n.zz)({sidebarState:{},layout:{},activeWorkspace:{},workspaces:{},documents:{},isDroppable:{type:[Boolean,Function]}},{sidebarWidth:{required:!0,default:288},sidebarWidthModifiers:{}}),emits:(0,n.zz)(["selectItem","select:workspace","create:workspace","reorder","navigate:to:settings"],["update:sidebarWidth"]),setup(e,{emit:t}){var a;let r,o,s=(0,n.Ht)(),u=(0,i.KR)(!1),d=(0,n.fn)(e,"sidebarWidth"),p=e=>"example"===e.type&&"draft"===e.title,{query:m,results:h}=(a=()=>e.documents.filter(l.yF),r=(0,n.EW)(()=>{var e;let t,n=new H.A([],{keys:[{name:"title",weight:.7},{name:"description",weight:.3},{name:"operationId",weight:.6},{name:"path",weight:.5},{name:"tag",weight:.4},{name:"method",weight:.3},{name:"documentName",weight:.3}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0});return n.setCollection((e=(0,i.BA)(a),t=[],e?.forEach(e=>(function e(a,n){a.forEach(a=>{(function(e,t,a){if("operation"===e.type){let n=(0,x.A)((0,c.Cu)(a?.paths?.[e.path],e.method))??{};t.push({type:"operation",title:e.title,id:e.id,description:n.description||"",method:e.method,path:e.path,operationId:n.operationId,entry:e,documentName:a?.info.title??""});return}"tag"===e.type&&!1===e.isGroup?t.push({id:e.id,title:e.title,description:e.description||"",type:"tag",entry:e,documentName:a?.info.title??""}):"tag"===e.type&&!0===e.isGroup?t.push({id:e.id,title:e.title,description:"Tag Group",type:"tag",entry:e,documentName:a?.info.title??""}):"text"===e.type&&t.push({id:e.id,type:"heading",title:e.title??"",description:"Heading",entry:e,documentName:a?.info.title??""})})(a,t,n),"children"in a&&a.children&&e(a.children,n)})})(e["x-scalar-navigation"]?.children??[],e)),t)),n}),o=(0,i.KR)(""),{results:(0,n.EW)(()=>0!==o.value.length?r.value.search(o.value,{limit:25}).flatMap(e=>"operation"!==e.item.entry.type?[]:e.item.entry):null),query:o}),f=(0,n.EW)(()=>h.value??e.sidebarState.items.value),v=e=>{t("selectItem",e),m.value="",u.value=!1};return(a,r)=>((0,n.uX)(),(0,n.Wv)((0,i.R1)(R),{width:d.value,"onUpdate:width":r[6]||(r[6]=e=>d.value=e),class:"flex flex-col"},{default:(0,n.k6)(()=>[(0,n.bF)((0,i.R1)(y.t$),{class:"flex w-auto flex-1",indent:20,isDraggable:"modal"!==e.layout,isDroppable:e.isDroppable,isExpanded:e.sidebarState.isExpanded,isSelected:e.sidebarState.isSelected,items:f.value,layout:"client",options:{hideOperationDefaultExamples:"modal"===e.layout},onReorder:r[5]||(r[5]=(e,a)=>t("reorder",e,a)),onSelectItem:v},(0,n.eX)({header:(0,n.k6)(()=>[r[7]||(r[7]=(0,n.Lk)("div",{class:"mac:h-12 mac:app-drag-region h-2"},null,-1)),(0,n.Lk)("div",{class:(0,M.C4)(["bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5",{"max-md:pt-12":"desktop"===e.layout,"max-md:pt-2 max-md:pl-4!":"modal"===e.layout,"pt-1 max-md:pt-2 max-md:pl-14":"web"===e.layout}])},["web"!==e.layout?((0,n.uX)(),(0,n.CE)("div",{key:0,class:(0,M.C4)(["flex items-center justify-between",{"max-md:pl-10":"desktop"===e.layout}])},["modal"!==e.layout?((0,n.uX)(),(0,n.Wv)(th,{key:0,activeWorkspace:e.activeWorkspace,workspaces:e.workspaces,"onCreate:workspace":r[0]||(r[0]=e=>t("create:workspace")),"onNavigate:to:settings":r[1]||(r[1]=e=>t("navigate:to:settings")),"onSelect:workspace":r[2]||(r[2]=e=>t("select:workspace",e))},{sidebarMenuActions:(0,n.k6)(()=>[(0,n.RG)(a.$slots,"sidebarMenuActions")]),_:3},8,["activeWorkspace","workspaces"])):"modal"===e.layout?((0,n.uX)(),(0,n.CE)("div",tS)):(0,n.Q3)("",!0),(0,n.bF)((0,i.R1)(tM.E),{class:"hover:bg-b-2 active:text-c-1 size-8 rounded p-2",icon:(0,i.R1)(tf.A),label:"Search",size:"sm",onClick:r[3]||(r[3]=e=>u.value=!u.value)},null,8,["icon"])],2)):(0,n.Q3)("",!0),u.value||"web"===e.layout?((0,n.uX)(),(0,n.Wv)((0,i.R1)(tE.Rc),{key:1,modelValue:(0,i.R1)(m),"onUpdate:modelValue":r[4]||(r[4]=e=>(0,i.i9)(m)?m.value=e:null),autofocus:"web"!==e.layout},null,8,["modelValue","autofocus"])):(0,n.Q3)("",!0)],2)]),spacer:(0,n.k6)(()=>[r[8]||(r[8]=(0,n.Lk)("div",{class:"flex-1"},null,-1))]),icon:(0,n.k6)(e=>[s.icon||p(e.item)?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[p(e.item)?((0,n.uX)(),(0,n.Wv)((0,i.R1)(tk),{key:0})):(0,n.Q3)("",!0),(0,n.RG)(a.$slots,"icon",(0,M._B)((0,n.Ng)(e)))],64)):(0,n.Q3)("",!0)]),before:(0,n.k6)(()=>[(0,n.RG)(a.$slots,"workspaceButton")]),footer:(0,n.k6)(()=>[(0,n.RG)(a.$slots,"footer")]),_:2},[s.decorator?{name:"decorator",fn:(0,n.k6)(e=>[(0,n.RG)(a.$slots,"decorator",(0,M._B)((0,n.Ng)(e)))]),key:"0"}:void 0,s.empty?{name:"empty",fn:(0,n.k6)(e=>[(0,n.RG)(a.$slots,"empty",(0,M._B)((0,n.Ng)(e)))]),key:"1"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","items","options"])]),_:3},8,["width"]))}}),tH=["aria-pressed"],tx={class:"sr-only"},tC={class:"size-4",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},tL={"clip-path":"url(#mask)"},tV=(0,n.pM)({__name:"SidebarToggle",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=(0,n.fn)(e,"modelValue");return(e,a)=>((0,n.uX)(),(0,n.CE)("button",{"aria-pressed":t.value,class:"scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 rounded p-2",type:"button",onClick:a[0]||(a[0]=e=>t.value=!t.value)},[(0,n.Lk)("span",tx,(0,M.v_)(t.value?"Hide":"Show")+" sidebar",1),((0,n.uX)(),(0,n.CE)("svg",tC,[a[1]||(a[1]=(0,n.Lk)("defs",null,[(0,n.Lk)("clipPath",{id:"mask"},[(0,n.Lk)("path",{"clip-rule":"evenodd",d:"M9 3.2H4c-1.7 0-3 1.3-3 3v11.5c0 1.7 1.3 3 3 3h5V3.2z"})])],-1)),(0,n.Lk)("g",tL,[(0,n.Lk)("path",{class:(0,M.C4)(["transition-transform duration-300",t.value?"translate-x-0":"-translate-x-1/2"]),d:"M1 3.2h8v17.5H1z",fill:"
1currentColor"},null,2)]),a[2]||(a[2]=(0,n.Lk)("path",{d:"M20 20.8H4c-1.7 0-3-1.3-3-3V6.2c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v11.5c0 1.7-1.3 3-3 3zM9 3.2v17.5",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1))]))],8,tH))}}),tZ=a(69928),tD=a(67031),tI=a(34181),tF=a(60501),tB=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],tN=tB.join(","),tT="u"<typeof Element,tX=tT?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,t_=!tT&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},tO=function(e,t){void 0===t&&(t=!0);var a,n=null==e||null==(a=e.getAttribute)?void 0:a.call(e,"inert");return""===n||"true"===n||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):tO(e.parentNode))},tP=function(e){var t,a=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===a||"true"===a},tW=function(e,t,a){if(tO(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(tN));return t&&tX.call(e,tN)&&n.unshift(e),n=n.filter(a)},tG=function(e,t,a){for(var n=[],r=Array.from(e);r.length;){var o=r.shift();if(!tO(o,!1))if("SLOT"===o.tagName){var i=o.assignedElements(),l=tG(i.length?i:o.children,!0,a);a.flatten?n.push.apply(n,l):n.push({scopeParent:o,candidates:l})}else{tX.call(o,tN)&&a.filter(o)&&(t||!e.includes(o))&&n.push(o);var s=o.shadowRoot||"function"==typeof a.getShadowRoot&&a.getShadowRoot(o),u=!tO(s,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(o));if(s&&u){var c=tG(!0===s?o.children:s.children,!0,a);a.flatten?n.push.apply(n,c):n.push({scopeParent:o,candidates:c})}else r.unshift.apply(r,o.children)}}return n},tU=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},t$=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||tP(e))&&!tU(e)?0:e.tabIndex},tq=function(e,t){var a=t$(e);return a<0&&t&&!tU(e)?0:a},tJ=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},tQ=function(e){return"INPUT"===e.tagName},tK=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},tj=function(e){if(!e.name)return!0;var t,a=e.form||t_(e),n=function(e){return a.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=tK(t,e.form);return!r||r===e},tY=function(e){return tQ(e)&&"radio"===e.type&&!tj(e)},tz=function(e){var t,a,n,r,o,i,l,s=e&&t_(e),u=null==(t=s)?void 0:t.host,c=!1;if(s&&s!==e)for(c=!!(null!=(a=u)&&null!=(n=a.ownerDocument)&&n.contains(u)||null!=e&&null!=(r=e.ownerDocument)&&r.contains(e));!c&&u;)c=!!(null!=(i=u=null==(o=s=t_(u))?void 0:o.host)&&null!=(l=i.ownerDocument)&&l.contains(u));return c},t0=function(e){var t=e.getBoundingClientRect(),a=t.width,n=t.height;return 0===a&&0===n},t1=function(e,t){var a=t.displayCheck,n=t.getShadowRoot;if("full-native"===a&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var r=getComputedStyle(e).visibility;if("hidden"===r||"collapse"===r)return!0;var o=tX.call(e,"details>summary:first-of-type")?e.parentElement:e;if(tX.call(o,"details:not([open]) *"))return!0;
1if(a&&"full"!==a&&"full-native"!==a&&"legacy-full"!==a){if("non-zero-area"===a)return t0(e)}else{if("function"==typeof n){for(var i=e;e;){var l=e.parentElement,s=t_(e);if(l&&!l.shadowRoot&&!0===n(l))return t0(e);e=e.assignedSlot?e.assignedSlot:l||s===e.ownerDocument?l:s.host}e=i}if(tz(e))return!e.getClientRects().length;if("legacy-full"!==a)return!0}return!1},t2=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var a=0;a<t.children.length;a++){var n=t.children.item(a);if("LEGEND"===n.tagName)return!!tX.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1},t8=function(e,t){return!(t.disabled||tQ(t)&&"hidden"===t.type||t1(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||t2(t))},t4=function(e,t){return!(tY(t)||0>t$(t))&&!!t8(e,t)},t6=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},t3=function(e){var t=[],a=[];return e.forEach(function(e,n){var r=!!e.scopeParent,o=r?e.scopeParent:e,i=tq(o,r),l=r?t3(e.candidates):o;0===i?r?t.push.apply(t,l):t.push(o):a.push({documentOrder:n,tabIndex:i,item:e,isScope:r,content:l})}),a.sort(tJ).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},t5=function(e,t){return t3((t=t||{}).getShadowRoot?tG([e],t.includeContainer,{filter:t4.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:t6}):tW(e,t.includeContainer,t4.bind(null,t)))},t7=function(e,t){return(t=t||{}).getShadowRoot?tG([e],t.includeContainer,{filter:t8.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):tW(e,t.includeContainer,t8.bind(null,t))},t9=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==tX.call(e,tN)&&t4(t,e)},ae=tB.concat("iframe:not([inert]):not([inert] *)").join(","),at=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==tX.call(e,ae)&&t8(t,e)};function aa(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function an(e,t){var a="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=ai(e))||t){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==a.return||a.return()}finally{if(l)throw o}}}}function ar(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ao(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(a),!0).forEach(function(t){var n,r;n=t,r=a[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t);if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ar(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function ai(e,t){if(e){if("string"==typeof e)return aa(e,t);var a=({}).toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?aa(e,t):void 0}}var al={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==al.getActiveTrap(e)&&al.pauseTrap(e);var a=e.indexOf(t);-1===a||e.splice(a,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);-1!==a&&e.splice(a,1),al.unpauseTrap(e)},pauseTrap:function(e){var t=al.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=al.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},as=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},au=function(e){return as(e)&&!e.shiftKey},ac=function(e){return as(e)&&e.shiftKey},ad=function(e){return setTimeout(e,0)},ap=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,a):e},am=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},ah=[],af=function(e,t){var a,n=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||ah,o=ao({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:au,isKeyBackward:ac},t),i={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,t,a){return e&&void 0!==e[t]?e[t]:o[a||t]},s=function(e,t){var a="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return i.containerGroups.findIndex(function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||(null==a?void 0:a.includes(n))||r.find(function(t){return t===e})})},u=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.hasFallback,i=a.params,l=o[e];if("function"==typeof l&&(l=l.apply(void 0,function(e){if(Array.isArray(e))return aa(e)}(t=void 0===i?[]:i)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||ai(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=l;if("string"==typeof l){try{s=n.querySelector(l)}
1catch(t){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!s&&!(void 0!==r&&r))throw Error("`".concat(e,"` as selector refers to no known node"))}return s},c=function(){var e=u("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!at(e,o.tabbableOptions))if(s(n.activeElement)>=0)e=n.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||u("fallbackFocus")}else null===e&&(e=u("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(i.containerGroups=i.containers.map(function(e){var t=t5(e,o.tabbableOptions),a=t7(e,o.tabbableOptions),n=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,i=a.find(function(e){return t9(e)}),l=a.slice().reverse().find(function(e){return t9(e)}),s=!!t.find(function(e){return t$(e)>0});return{container:e,tabbableNodes:t,focusableNodes:a,posTabIndexesFound:s,firstTabbableNode:n,lastTabbableNode:r,firstDomTabbableNode:i,lastDomTabbableNode:l,nextTabbableNode:function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=t.indexOf(e);return r<0?n?a.slice(a.indexOf(e)+1).find(function(e){return t9(e)}):a.slice(0,a.indexOf(e)).reverse().find(function(e){return t9(e)}):t[r+(n?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(e){return e.posTabIndexesFound})&&i.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?p(t.shadowRoot):t},m=function(e){if(!1!==e&&e!==p(document)){if(!e||!e.focus)return void m(c());e.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},h=function(e){var t=u("setReturnFocus",{params:[e]});return t||!1!==t&&e},f=function(e){var t=e.target,a=e.event,n=e.isBackward,r=void 0!==n&&n;t=t||am(a),d();var l=null;if(i.tabbableGroups.length>0){var c=s(t,a),p=c>=0?i.containerGroups[c]:void 0;if(c<0)l=r?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(r){var m=i.tabbableGroups.findIndex(function(e){var a=e.firstTabbableNode;return t===a});if(m<0&&(p.container===t||at(t,o.tabbableOptions)&&!t9(t,o.tabbableOptions)&&!p.nextTabbableNode(t,!1))&&(m=c),m>=0){var h=0===m?i.tabbableGroups.length-1:m-1,f=i.tabbableGroups[h];l=t$(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else as(a)||(l=p.nextTabbableNode(t,!1))}else{var v=i.tabbableGroups.findIndex(function(e){var a=e.lastTabbableNode;return t===a});if(v<0&&(p.container===t||at(t,o.tabbableOptions)&&!t9(t,o.tabbableOptions)&&!p.nextTabbableNode(t))&&(v=c),v>=0){var y=v===i.tabbableGroups.length-1?0:v+1,g=i.tabbableGroups[y];l=t$(t)>=0?g.firstTabbableNode:g.firstDomTabbableNode}else as(a)||(l=p.nextTabbableNode(t))}}else l=u("fallbackFocus");return l},v=function(e){s(am(e),e)>=0||(ap(o.clickOutsideDeactivates,e)?a.deactivate({returnFocus:o.returnFocusOnDeactivate}):ap(o.allowOutsideClick,e)||e.preventDefault())},y=function(e){var t=am(e),a=s(t,e)>=0;if(a||t instanceof Document)a&&(i.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var n,r=!0;if(i.mostRecentlyFocusedNode)if(t$(i.mostRecentlyFocusedNode)>0){var l=s(i.mostRecentlyFocusedNode),u=i.containerGroups[l].tabbableNodes;if(u.length>0){var d=u.findIndex(function(e){return e===i.mostRecentlyFocusedNode});d>=0&&(o.isKeyForward(i.recentNavEvent)?d+1<u.length&&(n=u[d+1],r=!1):d-1>=0&&(n=u[d-1],r=!1))}}else i.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return t$(e)>0})})||(r=!1);else r=!1;r&&(n=f({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),n?m(n):m(i.mostRecentlyFocusedNode||c())}i.recentNavEvent=void 0},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i.recentNavEvent=e;var a=f({event:e,isBackward:t});a&&(as(e)&&e.preventDefault(),m(a))},b=function(e){(o.isKeyForward(e)||o.isKeyBackward(e))&&g(e,o.isKeyBackward(e))},A=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==ap(o.escapeDeactivates,e)&&(e.preventDefault(),a.deactivate())},w=function(e){s(am(e),e)>=0||ap(o.clickOutsideDeactivates,e)||ap(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},k=function(){if(i.active)return al.activateTrap(r,a),i.delayInitialFocusTimer=o.delayInitialFocus?ad(function(){m(c())}):m(c()),n.addEventListener("focusin",y,!0),n.addEventListener("mousedown",v,{capture:!0,passive:!1}),n.addEventListener("touchstart",v,{capture:!0,passive:!1}),n.addEventListener("click",w,{capture:!0,passive:!1}),n.addEventListener("keydown",b,{capture:!0,passive:!1}),n.addEventListener("keydown",A),a},M=function(e){i.active&&!i.paused&&a._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var t,n=new Set,r=new Set,o=an(e);try{for(o.s();!(t=o.n()).done;){var l=t.value;n.add(l);for(var s="u">typeof ShadowRoot&&l.getRootNode()instanceof ShadowRoot,u=l;u;){n.add(u);var c=u.parentElement,d=[];c?d=c.children:!c&&s&&(d=u.getRootNode().children,c=u.getRootNode().host,s="u">typeof ShadowRoot&&c.getRootNode()instanceof ShadowRoot);var p,m=an(d);try{for(m.s();!(p=m.n()).done;){var h=p.value;r.add(h)}}catch(e){m.e(e)}finally{m.f()}u=c}}}catch(e){o.e(e)}finally{o.f()}n.forEach(function(e){r.delete(e)}),i.adjacentElements=r},E=function(){if(i.active)return n.removeEventListener("focusin",y,!0),n.removeEventListener("mousedown",v,!0),n.removeEventListener("touchstart",v,!0),n.removeEventListener("click",w,!0),n.removeEventListener("keydown",b,!0),n.removeEventListener("keydown",A),a},S="u">typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes
1).some(function(e){return e===i.mostRecentlyFocusedNode})})&&m(c())}):void 0,R=function(){S&&(S.disconnect(),i.active&&!i.paused&&i.containers.map(function(e){S.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(a={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t,s,u=l(e,"onActivate"),c=l(e,"onPostActivate"),m=l(e,"checkCanFocusTrap"),h=al.getActiveTrap(r),f=!1;h&&!h.paused&&(null==(t=h._setSubtreeIsolation)||t.call(h,!1),f=!0);try{m||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=p(n),null==u||u();var v=function(){m&&d(),k(),R(),o.isolateSubtrees&&a._setSubtreeIsolation(!0),null==c||c()};if(m)return m(i.containers.concat()).then(v,v),this;v()}catch(e){throw h===al.getActiveTrap(r)&&f&&(null==(s=h._setSubtreeIsolation)||s.call(h,!0)),e}return this},deactivate:function(e){if(!i.active)return this;var t=ao({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||a._setSubtreeIsolation(!1),i.alreadySilent.clear(),E(),i.active=!1,i.paused=!1,R(),al.deactivateTrap(r,a);var n=l(t,"onDeactivate"),s=l(t,"onPostDeactivate"),u=l(t,"checkCanReturnFocus"),c=l(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var d=function(){ad(function(){c&&m(h(i.nodeFocusedBeforeActivation)),null==s||s()})};return c&&u?u(h(i.nodeFocusedBeforeActivation)).then(d,d):d(),this},pause:function(e){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return i.active?(i.manuallyPaused=!1,r[r.length-1]!==this)?this:this._setPausedState(!1,e):this},updateContainerElements:function(e){return i.containers=[].concat(e).filter(
1Boolean).map(function(e){return"string"==typeof e?n.querySelector(e):e}),o.isolateSubtrees&&M(i.containers),i.active&&(d(),o.isolateSubtrees&&!i.paused&&a._setSubtreeIsolation(!0)),R(),this}},{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(e,t){if(i.paused===e)return this;if(i.paused=e,e){var n=l(t,"onPause"),r=l(t,"onPostPause");null==n||n(),E(),R(),a._setSubtreeIsolation(!1),null==r||r()}else{var o=l(t,"onUnpause"),s=l(t,"onPostUnpause");null==o||o(),a._setSubtreeIsolation(!0),d(),k(),R(),null==s||s()}return this}},_setSubtreeIsolation:{value:function(e){o.isolateSubtrees&&i.adjacentElements.forEach(function(t){var a;e?"aria-hidden"===o.isolateSubtrees?(("true"===t.ariaHidden||(null==(a=t.getAttribute("aria-hidden"))?void 0:a.toLowerCase())==="true")&&i.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&i.alreadySilent.add(t),t.setAttribute("inert",!0)):i.alreadySilent.has(t)||("aria-hidden"===o.isolateSubtrees?t.removeAttribute("aria-hidden"):t.removeAttribute("inert"))})}}}),a.updateContainerElements(e),a},av={class:"scalar scalar-app z-overlay relative"},ay=(0,n.pM)({__name:"ModalClientContainer",props:{modalState:{}},emits:["open","close"],setup(e,{emit:t}){let a=(0,i.KR)(null),{activate:r,deactivate:o}=function(e,t={}){let a,{immediate:r,...o}=t,l=(0,i.IJ)(!1),s=(0,i.IJ)(!1),u=e=>a&&a.activate(e),c=e=>a&&a.deactivate(e),d=(0,n.EW)(()=>{let t=(0,i.BA)(e);return(0,tI.$r)(t).map(e=>{let t=(0,i.BA)(e);return"string"==typeof t?t:(0,tF.F4c)(t)}).filter(tI.d6)});return(0,n.wB)(d,e=>{if(e.length)if(a){let t=null==a?void 0:a.active;null==a||a.updateContainerElements(e),!t&&r&&u()}else a=af(e,{...o,onActivate(){l.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){l.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&u()},{flush:"post"}),(0,tI.Uo)(()=>c()),{hasFocus:l,isPaused:s,activate:u,deactivate:c,pause:()=>{a&&(a.pause(),s.value=!0)},unpause:()=>{a&&(a.unpause(),s.value=!1)}}}(a,{allowOutsideClick:!0,fallbackFocus:()=>a.value});return(0,n.KC)(()=>(0,tD.A)()),(0,n.wB)(()=>e.modalState.open,async e=>{e?(await (0,n.dY)(),r(),t("open")):(o(),t("close"))},{immediate:!1}),(0,n.xo)(()=>{o()}),(t,r)=>((0,n.uX)(),(0,n.CE)("div",av,[(0,n.Lk)("div",{class:(0,M.C4)(["scalar-container",{"scalar-client--open":e.modalState.open}])},[(0,n.Lk)("div",(0,n.v6)({ref_key:"client",ref:a,"aria-label":"API Client","aria-modal":"true"},t.$attrs,{class:"scalar-app-layout scalar-client",role:"dialog",tabindex:"-1"}),[(0,n.bF)((0,i.R1)(tZ.ks),null,{default:(0,n.k6)(()=>[(0,n.RG)(t.$slots,"default",{},void 0,!0)]),_:3})],16),(0,n.Lk)("div",{class:"scalar-app-exit",onClick:r[0]||(r[0]=t=>e.modalState.hide())})],2)]))}}),ag=(0,k.A)(ay,[["__scopeId","data-v-77897d1c"]]),ab=a(95316),aA="u">typeof OVERRIDE_PACKAGE_VERSION?OVERRIDE_PACKAGE_VERSION:"3.13.3",aw=a(50161),ak=a(99586),aM={key:1,class:"flex h-full w-full items-center justify-center"},aE=(0,n.pM)({__name:"Operation",props:{documentSlug:{},document:{},eventBus:{},layout:{},path:{},method:{},exampleName:{},environment:{},workspaceStore:{},plugins:{},options:{},requestBodyCompositionSelection:{}},setup(e){let t=(0,n.EW)(()=>{if(!e.path||!e.method||!e.exampleName||!e.document)return null;let t=(0,aw.RC)(e.workspaceStore,e.documentSlug,{path:e.path,method:e.method,exampleName:e.exampleName},{baseServerUrl:(0,i.BA)(e.options)?.baseServerURL,fallbackDocument:e.document,isElectron:(0,ak.b)(),layout:"web"===e.layout?"web":"other",servers:(0,i.BA)(e.options)?.servers,appVersion:aA,authentication:(0,i.BA)(e.options)?.authentication});return t.ok?t.data:null}),a=(0,n.EW)(()=>t.value?.operation??null),r=(0,n.EW)(()=>t.value?.cookies.workspace??[]),o=(0,n.EW)(()=>t.value?.cookies.document??[]),l=(0,n.EW)(()=>t.value?.servers.list??[]),s=(0,n.EW)(()=>t.value?.servers.selected??null),c=(0,n.EW)(()=>t.value?.servers.meta??{type:"document"}),d=(0,n.EW)(()=>t.value?.security.schemes??{}),p=(0,n.EW)(()=>t.value?.security.selected??{selectedIndex:-1,selectedSchemes:[]}),m=(0,n.EW)(()=>t.value?.security.selectedSchemes??[]),h=(0,n.EW)(()=>t.value?.security.requirements??[]),f=(0,n.EW)(()=>t.value?.security.meta??{type:"document"}),v=(0,n.EW)(()=>t.value?.headers.default??{}),y=(0,n.EW)(()=>Array.from(new Set(Object.keys({...e.document?.["x-scalar-environments"],...e.workspaceStore.workspace["x-scalar-environments"]})))),g=(0,n.EW)(()=>(0,u.$)((0,i.BA)(e.options)?.hiddenClients));return(t,u)=>e.path&&e.method&&e.exampleName&&a.value&&e.document?((0,n.uX)(),(0,n.Wv)((0,i.R1)(ab.A),{key:0,activeEnvironment:e.workspaceStore.workspace["x-scalar-active-environment"],appVersion:(0,i.R1)(aA),authMeta:f.value,defaultHeaders:v.value,document:e.document,documentCookies:o.value,documentSecurity:e.document?.security??[],documentSlug:e.documentSlug,documentUrl:e.document?.["x-scalar-original-source-url"],environment:e.environment,environments:y.value,eventBus:e.eventBus,exampleKey:e.exampleName,hideClientButton:(0,i.BA)(e.options)?.hideClientButton??!1,history:e.workspaceStore.history.getHistory(e.documentSlug,e.path,e.method),httpClients:g.value,layout:e.layout,method:e.method,operation:a.value,options:e.options,path:e.path,plugins:e.plugins,proxyUrl:(0,i.R1)(aw.Y5)(e.workspaceStore.workspace["x-scalar-active-proxy"],"web"===e.layout?"web":"other")??"",requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:h.value,securitySchemes:d.value,selectedClient:e.workspaceStore.workspace["x-scalar-default-client"],selectedSecurity:p.value,selectedSecuritySchemes:m.value,server:s.value,serverMeta:c.value,servers:l.value,workspaceCookies:r.value},null,8,["activeEnvironment","appVersion","authMeta","defaultHeaders","document","documentCookies","documentSecurity","documentSlug","documentUrl","environment","environments","eventBus","exampleKey","hideClientButton","history","httpClients","layout","method","operation","options","path","plugins","proxyUrl","requestBodyCompositionSelection","securityRequirements","securitySchemes","selectedClient","selectedSecurity","selectedSecuritySchemes","server","serverMeta","servers","workspaceCookies"])):((0,n.uX)(),(0,n.CE)("div",aM,[...u[0]||(u[0]=[(0,n.Lk)("span",{class:"text-c-3"},"Select an operation to view details",-1)])]))}}),aS=a(5418),aR=a(74993),aH={key:0,class:"relative flex h-full min-h-0 w-full flex-1"},ax={key:1,class:"flex h-full w-full items-center justify-center"},aC=(0,n.pM)({__name:"Modal",props:{workspaceStore:{},document:{},path:{},eventBus:{},method:{},exampleName:{},requestBodyCompositionSelection:{},modalState:{},sidebarState:{},plugins:{},options:{}},setup(e,{expose:t}){var a,u,c;let d,p,m,h,f,v={label:"default",id:"default"},y=(0,i.KR)(!1);!function({eventBus:e,isSidebarOpen:t,requestBodyCompositionSelection:a,sidebarState:u,modalState:c,store:d}){!function({eventBus:e,store:t,hooks:a}){let i=(0,n.EW)(()=>(0,r.W)(t.value)),l=({collectionType:e})=>"document"===e?i.value.active():i.value.workspace();e.on("workspace:update:active-proxy",e=>o("workspace:update:active-proxy",i.value.workspace().workspace.updateActiveProxy,a)(e)),e.on("workspace:update:color-mode",e=>o("workspace:update:color-mode",i.value.workspace().workspace.updateColorMode,a)(e)),e.on("workspace:update:theme",e=>o("workspace:update:theme",i.value.workspace().workspace.updateTheme,a)(e)),e.on("workspace:update:selected-client",e=>o("workspace:update:selected-client",i.value.workspace().workspace.updateSelectedClient,a)(e)),e.on("workspace:update:selected-example",e=>o("workspace:update:selected-example",i.value.workspace().workspace.updateSelectedExample,a)(e)),e.on("workspace:update:active-environment",e=>o("workspace:update:active-environment",i.value.workspace().workspace.updateActiveEnv
1ironment,a)(e)),e.on("document:update:extension",e=>o("document:update:extension",i.value.active().document.updateDocumentExtension,a)(e)),e.on("document:update:icon",e=>o("document:update:icon",i.value.active().document.updateDocumentIcon,a)(e)),e.on("document:update:info",e=>o("document:update:info",i.value.active().document.updateDocumentInfo,a)(e)),e.on("document:update:watch-mode",e=>o("document:update:watch-mode",i.value.active().document.updateWatchMode,a)(e)),e.on("document:create:empty-document",e=>o("document:create:empty-document",i.value.active().document.createEmptyDocument,a)(e)),e.on("document:delete:document",e=>o("document:delete:document",i.value.active().document.deleteDocument,a)(e)),e.on("environment:upsert:environment",e=>o("environment:upsert:environment",l(e).environment.upsertEnvironment,a)(e)),e.on("environment:delete:environment",e=>o("environment:delete:environment",l(e).environment.deleteEnvironment,a)(e)),e.on("environment:upsert:environment-variable",e=>o("environment:upsert:environment-variable",l(e).environment.upsertEnvironmentVariable,a)(e)),e.on("environment:delete:environment-variable",e=>o("environment:delete:environment-variable",l(e).environment.deleteEnvironmentVariable,a)(e)),e.on("cookie:upsert:cookie",async e=>{await o("cookie:upsert:cookie",l(e).cookie.upsertCookie,a)(e)}),e.on("cookie:delete:cookie",async e=>{await o("cookie:delete:cookie",l(e).cookie.deleteCookie,a)(e)}),e.on("auth:delete:security-scheme",e=>o("auth:delete:security-scheme",i.value.active().auth.deleteSecurityScheme,a)(e)),e.on("auth:update:active-index",e=>o("auth:update:active-index",i.value.active().auth.updateSelectedAuthTab,a)(e)),e.on("auth:update:security-scheme",e=>o("auth:update:security-scheme",i.value.active().auth.updateSecurityScheme,a)(e)),e.on("auth:update:selected-scopes",e=>o("auth:update:selected-scopes",i.value.active().auth.updateSelectedScopes,a)(e)),e.on("auth:upsert:scopes",e=>o("auth:upsert:scopes",i.value.active().auth.upsertScope,a)(e)),e.on("auth:delete:scopes",e=>o("auth:delete:scopes",i.value.active().auth.deleteScope,a)(e)),e.on("auth:update:selected-security-schemes",e=>o("auth:update:selected-security-schemes",i.value.active().auth.updateSelectedSecuritySchemes,a)(e)),e.on("auth:clear:selected-security-schemes",e=>o("auth:clear:selected-security-schemes",i.value.active().auth.clearSelectedSecuritySchemes,a)(e)),e.on("auth:update:security-scheme-secrets",e=>o("auth:update:security-scheme-secrets",i.value.active().auth.updateSecuritySchemeSecrets,a)(e)),e.on("auth:clear:security-scheme-secrets",e=>o("auth:clear:security-scheme-secrets",i.value.active().auth.clearSecuritySchemeSecrets,a)(e)),e.on("server:initialize:servers",e=>o("server:initialize:servers",i.value.active().server.initializeServers,a)(e)),e.on("server:add:server",e=>o("server:add:server",i.value.active().server.addServer,a)(e)),e.on("server:update:server",e=>o("server:update:server",i.value.active().server.updateServer,a)(e)),e.on("server:delete:server",e=>o("server:delete:server",i.value.active().server.deleteServer,a)(e)),e.on("server:clear:servers",e=>o("server:clear:servers",i.value.active().server.clearServers,a)(e)),e.on("server:update:variables",e=>o("server:update:variables",i.value.active().server.updateServerVariables,a)(e)),e.on("server:update:selected",e=>o("server:update:selected",i.value.active().server.updateSelectedServer,a)(e)),e.on("asyncapi-server:update:selected",e=>o("asyncapi-server:update:selected",i.value.active().server.updateSelectedAsyncApiServer,a)(e)),e.on("asyncapi-server:update:variables",e=>o("asyncapi-server:update:variables",i.value.active().server.updateAsyncApiServerVariables,a)(e)),e.on("operation:create:operation",e=>o("operation:create:operation",i.value.active().operation.createOperation,a)(e)),e.on("operation:update:pathMethod",e=>o("operation:update:pathMethod",i.value.active().operation.updateOperationPathMethod,a)(e)),e.on("operation:update:meta",e=>o("operation:update:meta",i.value.active().operation.updateOperationMeta,a)(e)),e.on("operation:delete:operation",e=>o("operation:delete:operation",i.value.active().operation.deleteOperation,a)(e)),e.on("operation:create:draft-example",e=>o("operation:create:draft-example",i.value.active().operation.createOperationDraftExample,a)(e)),e.on("operation:delete:example",e=>o("operation:delete:example",i.value.active().operation.deleteOperationExample,a)(e)),e.on("operation:rename:example",e=>o("operation:rename:example",i.value.active().operation.renameOperationExample,a)(e)),e.on("operation:upsert:parameter",e=>o("operation:upsert:parameter",i.value.active().operation.upsertOperationParameter,a)(e)),e.on("operation:update:extra-parameters",e=>o("operation:update:extra-parameters",i.value.active().operation.updateOperationExtraParameters,a)(e)),e.on("operation:delete:parameter",e=>o("operation:delete:parameter",i.value.active().operation.deleteOperationParameter,a)(e)),e.on("operation:delete-all:parameters",e=>o("operation:delete-all:parameters",i.value.active().operation.deleteAllOperationParameters,a)(e)),e.on("operation:update:extension",e=>o("operation:update:extension",i.value.active().operation.updateOperationExtension,a)(e)),e.on("operation:update:requestBody:contentType",e=>o("operation:update:requestBody:contentType",i.value.active().operation.updateOperationRequestBodyContentType,a)(e)),e.on("operation:update:requestBody:value",e=>o("operation:update:requestBody:value",i.value.active().operation.updateOperationRequestBodyExample,a)(e)),e.on("operation:update:requestBody:formValue",e=>o("operation:update:requestBody:formValue",i.value.active().operation.updateOperationRequestBodyFormValue,a)(e)),e.on("operation:reload:history",e=>o("operation:reload:history",i.value.active().operation.reloadOperationHistory,a)(e)),e.on("tag:create:tag",e=>o("tag:create:tag",i.value.active().tag.createTag,a)(e)),e.on("tag:edit:tag",e=>o("tag:edit:tag",i.value.active().tag.editTag,a)(e)),e.on("tag:delete:tag",e=>o("tag:delete:tag",i.value.active().tag.deleteTag,a)(e)),e.on("tabs:add:tab",e=>o("tabs:add:tab",i.value.workspace().tabs.addTab,a)(e)),e.on("tabs:close:tab",e=>o("tabs:close:tab",i.value.workspace().tabs.closeTab,a)(e)),e.on("tabs:close:other-tabs",e=>o("tabs:close:other-tabs",i.value.workspace().tabs.closeOtherTabs,a)(e)),e.on("tabs:focus:tab",e=>o("tabs:focus:tab",i.value.workspace().tabs.focusTab,a)(e)),e.on("tabs:focus:tab-last",e=>o("tabs:focus:tab-last",i.value.workspace().tabs.focusLastTab,a)(e)),e.on("tabs:navigate:previous",e=>o("tabs:navigate:previous",i.value.workspace().tabs.navigatePreviousTab,a)(e)),e.on("tabs:navigate:next",e=>o("tabs:navigate:next",i.value.workspace().tabs.navigateNextTab,a)(e)),e.on("tabs:update:tabs",e=>o("tabs:update:tabs",i.value.workspace().tabs.updateTabs,a)(e)),e.on("hooks:on:request:complete",e=>o("hooks:on:request:complete",i.value.active().operation.addResponseToHistory,a)(e))}({eventBus:e,store:(0,i.KR)(d),hooks:{}}),e.on("scroll-to:nav-item",({id:e})=>u.handleSelectItem(e)),e.on("ui:toggle:sidebar",()=>t.value=!t.value),e.on("ui:close:client-modal",()=>c.hide()),e.on("ui:open:client-modal",e=>{if(a.value=e&&"requestBodyCompositionSelection"in e&&e.requestBodyCompositionSelection?e.requestBodyCompositionSelection:s,!e)return void c.show();
1if("id"in e&&e.id){let t=e.id;if("exampleName"in e&&e.exampleName){let a=u.state.getEntryById(e.id);if(a&&"children"in a&&a.children){let n=a.children.find(t=>"example"===t.type&&t.name===e.exampleName);n&&(t=n.id)}}u.handleSelectItem(t)}else if("method"in e&&"path"in e){let t=d.workspace.activeDocument;u.handleSelectItem(u.getEntryByLocation({document:(0,l.yF)(t)?t["x-scalar-navigation"]?.id??"":"",path:e.path,method:e.method,example:e.exampleName})?.id??"")}c.show()})}({eventBus:e.eventBus,isSidebarOpen:y,requestBodyCompositionSelection:e.requestBodyCompositionSelection,sidebarState:e.sidebarState,modalState:e.modalState,store:e.workspaceStore}),a=e.eventBus,u=()=>!e.modalState.open,d=e=>{(0,i.BA)(u)||((e,t,a)=>{let n,r=" "===e.key?"Space":e.key,o=A[a][r];if(!o)return;let i={event:e};if("Escape"===r)return t.emit(o.event,i,{skipUnpackProxy:!0});(n=o.modifiers).length>0&&n.map(e=>"default"===e?(0,g.U)()?"metaKey":"ctrlKey":e).every(t=>!0===e[t])?t.emit(o.event,i,{skipUnpackProxy:!0}):!(o.modifiers.length>0)&&(((e,t)=>{if(!(e.target instanceof HTMLElement))return!1;let a=e.target;return"INPUT"===a.tagName?!w.has(t):"TEXTAREA"===a.tagName||"true"===a.contentEditable||a.hasAttribute("contenteditable")})(e,r)||t.emit(o.event,i,{skipUnpackProxy:!0}))})(e,a,"modal")},(0,n.sV)(()=>window.addEventListener("keydown",d)),(0,n.xo)(()=>window.removeEventListener("keydown",d));let b=()=>{e.eventBus.emit("operation:cancel:request")},k=(c=()=>"u">typeof window?window.document.body:null,p=(0,i.KR)(""),m=(0,i.KR)(!1),h=()=>{let e=(0,i.BA)(c);e&&(""!==p.value?e.style.overflow=p.value:e.style.removeProperty("overflow"))},f=(0,n.EW)({get:()=>m.value,set:e=>{let t;m.value=e,e?(t=(0,i.BA)(c))&&(p.value=t.style.overflow,t.style.overflow="hidden"):h()}}),(0,n.xo)(()=>{m.value&&h()}),f);(0,n.wB)(()=>e.modalState.open,e=>{k.value=e,e||b()}),(0,n.xo)(()=>b());let M=(0,n.EW)(()=>e.workspaceStore?.workspace?.["x-scalar-sidebar-width"]??288),E=t=>e.workspaceStore?.update("x-scalar-sidebar-width",t),S=(0,n.EW)(()=>(0,aw.Ot)(e.workspaceStore,e.document.value).environment);return t({sidebarWidth:M,environment:S}),(t,a)=>((0,n.uX)(),(0,n.Wv)(ag,{modalState:e.modalState},{default:(0,n.k6)(()=>[(0,n.bF)((0,i.R1)(aR.jx)),e.document.value&&e.path?.value&&e.method?.value?((0,n.uX)(),(0,n.CE)("main",aH,[(0,n.bF)((0,i.R1)(tV),{modelValue:y.value,"onUpdate:modelValue":a[0]||(a[0]=e=>y.value=e),class:"absolute top-2 left-4 z-10 max-md:top-4"},null,8,["modelValue"]),(0,n.bo)((0,n.bF)((0,i.R1)(tR),{sidebarWidth:M.value,"onUpdate:sidebarWidth":[a[1]||(a[1]=e=>M.value=e),E],activeWorkspace:v,class:"h-full max-md:absolute! max-md:z-5 max-md:w-full!",documents:[e.document.value],eventBus:e.eventBus,isDroppable:()=>!1,layout:"modal",sidebarState:e.sidebarState.state,workspaces:[],onSelectItem:e.sidebarState.handleSelectItem},null,8,["sidebarWidth","documents","eventBus","sidebarState","onSelectItem"]),[[aS.aG,y.value]]),(0,n.bF)(aE,{activeWorkspace:v,class:"flex-1",document:e.document.value,documentSlug:e.document.value["x-scalar-navigation"]?.name??"",environment:S.value,eventBus:e.eventBus,exampleName:e.exampleName?.value,layout:"modal",method:e.method?.value,options:e.options,path:e.path?.value,plugins:e.plugins,requestBodyCompositionSelection:e.requestBodyCompositionSelection.value,workspaceStore:e.workspaceStore},null,8,["document","documentSlug","environment","eventBus","exampleName","method","options","path","plugins","requestBodyCompositionSelection","workspaceStore"])])):((0,n.uX)(),(0,n.CE)("div",ax,[...a[2]||(a[2]=[(0,n.Lk)("span",{class:"text-c-3"},"No document selected",-1)])]))]),_:1},8,["modalState"]))}}),aL=a(35551),aV=a(72298),aZ=a(15314),aD=0,aI=({el:e,eventBus:t=(0,aZ.Mf)({debug:!1}),mountOnInitialize:a=!0,plugins:r=[],workspaceStore:o,options:s={}})=>{let u=(0,i.KR)({}),f=(0,i.i9)(s)?s:(0,i.KR)((0,i.BA)(s)),g={path:"default",method:"default",example:"default",documentSlug:o.workspace["x-scalar-active-document"]||"default"},b=(0,i.Kh)({...g}),A=e=>{Object.assign(b,g,e)},w=(0,n.EW)(()=>((e,t)=>{let a=((e,t)=>{if("default"!==t||void 0!==e.workspace.documents[t])return t;let a=e.workspace["x-scalar-active-document"];return a&&(0,l.yF)(e.workspace.documents[a])?a:Object.entries(e.workspace.documents).find(([,e])=>(0,l.yF)(e))?.[0]})(e,t.documentSlug),n={store:e,documentSlug:a},r=((e,t)=>{let a=h(e);if(a)return"default"===t?Object.keys(a.paths??{})[0]:t})(n,t.path),o=((e,t,a)=>{let n=h(e);if(n&&t){if("default"===a){let e=(0,c.Nv)(n.paths?.[t]);if(!e)return;return Object.keys(e).filter(d.a)[0]}return(0,d.a)(a)?a:void 0}})(n,r,t.method),i=h(n)?.["x-scalar-navigation"];if(!i)return{documentSlug:a,path:r,method:o,example:"default"};let s=(0,p.sl)(i).get(`${r}|${o}`)?.find(e=>"operation"===e.type);return{documentSlug:a,path:r,method:o,example:((e,t,a)=>{if(!h(e)||t?.type!=="operation")return"default";let n=t.children?.filter(m)??[],r=n.find(e=>e.name===a);return r?r.name:"default"===a?n[0]?.name??"default":"default"})(n,s,t.example)}})(o,b)),k=(0,n.EW)(()=>w.value.documentSlug),M=(0,n.EW)(()=>w.value.path),E=(0,n.EW)(()=>w.value.method),S=(0,n.EW)(()=>w.value.example),R=(0,n.EW)(()=>{let e=o.workspace.documents[k.value??""];return(0,l.yF)(e)?e:null}),H=(({workspaceStore:e,documentSlug:t,path:a,method:r,exampleName:o,route:s})=>{let u=(0,n.EW)(()=>
1{let a=e?.workspace.documents[(0,i.BA)(t)??""];return(0,l.yF)(a)?a["x-scalar-navigation"]?.children??[]:[]}),c=(0,y.wF)(u),d=(0,n.EW)(()=>(0,y.Sk)({items:u.value,nestedKey:"children",filter:e=>"operation"===e.type||"example"===e.type,getId:e=>{let a=(0,p.XJ)("operation",e);return v({document:(0,i.BA)(t)??"",path:a?.path,method:a?.method,example:"example"===e.type?e.name:void 0})}})),m=e=>{let t=d.value.get(v({document:e.document,path:e.path,method:e.method,example:e.example}));return t||d.value.get(v({document:e.document,path:e.path,method:e.method}))};return(0,n.wB)([t,a,r,o],([e,t,a,n])=>{if(!e)return void c.setSelected(null);let r=m({document:e,path:t,method:a,example:n});r&&(c.setSelected(r.id),c.setExpanded(r.id,!0))},{immediate:!0}),{handleSelectItem:e=>{let a=c.getEntryById(e);if(!a)return void console.warn(`Could not find sidebar entry with id ${e} to select`);if("operation"===a.type||"example"===a.type){if(c.isSelected(e))return void c.setExpanded(e,!c.isExpanded(e));let n=(0,p.XJ)("operation",a),r=(0,y.HJ)("example",a);if(r?(c.setSelected(r.id),c.setExpanded(r.id,!0)):c.setSelected(e),!n)return;return s({documentSlug:(0,i.BA)(t),path:n.path,method:n.method,example:r?.name??"default"})}c.setExpanded(e,!c.isExpanded(e))},state:c,getEntryByLocation:m}})({workspaceStore:o,documentSlug:k,path:M,method:E,exampleName:S,route:A}),x=(0,aL.h)(),C=(0,aS.Ef)(aC,{document:R,eventBus:t,exampleName:S,method:E,modalState:x,path:M,plugins:r,requestBodyCompositionSelection:u,sidebarState:H,workspaceStore:o,options:f}),L=[];for(let e of r)e.lifecycle?.onInit?.(),L.push((0,aV.NM)(t,e));C.onUnmount(()=>{for(let e of L)e();for(let e of r)e.lifecycle?.onDestroy?.()}),(0,n.wB)(()=>x.open,e=>e?null:void(u.value={})),(0,n.wB)(()=>(0,i.BA)(f).proxyUrl,e=>o.update("x-scalar-active-proxy",e),{immediate:!0}),C.config.idPrefix=`scalar-client-${aD++}`;let V=(t=e)=>{t?C.mount(t):console.error("[@scalar/api-client] Could not create the API client Modal.","Invalid HTML element provided.","Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")};return a&&V(),{app:C,open:e=>{x.open=!0,e&&A(e)},mount:V,route:A,modalState:x,updateOptions:(e,t=!1)=>{f.value=t?e:{...f.value,...e}}}}},23112:(e,t,a)=>{let n,r;a.d(t,{d:()=>Q});var o=a(82600),i=a(98622);class l extends i.FG{fromJulianDay(e){let t=super.fromJulianDay(e),a=(0,i.LA)(t.era,t.year);return new(0,o.ng)(this,a- -543,t.month,t.day)}toJulianDay(e){return super.toJulianDay(s(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(s(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function s(e){let[t,a]=(0,i.f5)(e.year+-543);return new(0,o.ng)(t,a,e.month,e.day)}function u(e,t,a,n){return e+365*t+Math.floor(t/4)+30*(a-1)+n-1}function c(e,t){let a=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-u(e,a,1,1))/30),r=t+1-u(e,a,n,1);return[a,n,r]}function d(e){return Math.floor(e%4/3)}function p(e,t){return t%13!=0?30:d(e)+5}class m{fromJulianDay(e){let[t,a,n]=c(1723856,e),r="AM";return t<=0&&(r="AA",t+=5500),new(0,o.ng)(this,r,t,a,n)}toJulianDay(e){let t=e.year;return"AA"===e.era&&(t-=5500),u(1723856,t,e.month,e.day)}getDaysInMonth(e){return p(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+d(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(e){return"AA"===e.era?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class h extends m{fromJulianDay(e){let[t,a,n]=c(1723856,e);return t+=5500,new(0,o.ng)(this,"AA",t,a,n)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class f extends m{fromJulianDay(e){let[t,a,n]=c(1824665,e),r="CE";return t<=0&&(r="BCE",t=1-t),new(0,o.ng)(this,r,t,a,n)}toJulianDay(e){let t=e.year;return"BCE"===e.era&&(t=1-t),u(1824665,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return"BCE"===e.era&&(t=1-t),p(t,e.month)}isInverseEra(e){return"BCE"===e.era}balanceDate(e){e.year<=0&&(e.era="BCE"===e.era?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return"BCE"===e.era?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}var v=a(53163);let y=765433;function g(e){return 7>(0,v.z)(7*e+1,19)}function b(e){let t=Math.floor((235*e-234)/19),a=29*t+Math.floor((12084+13753*t)/25920);return 3>(0,v.z)(3*(a+1),7)&&(a+=1),a}function A(e){let t,a;return b(e)+(t=b(e-1),a=b(e),b(e+1)-a==356?2:+(a-t==382))}function w(e){return A(e+1)-A(e)}function k(e,t){if(t>=6&&!g(e)&&t++,4===t||7===t||9===t||11===t||13===t)return 29;let a=function(e){let t=w(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}(e);return 2===t?2===a?30:29:3===t?0===a?29:30:6===t?30*!!g(e):30}class M{fromJulianDay(e){let t=e-347997,a=Math.floor((25920*t/y*19+234)/235)+1,n=A(a),r=Math.floor(t-n);for(;r<1;)r=Math.floor(t-(n=A(--a)));let i=1,l=0;for(;l<r;)l+=k(a,i),i++;let s=r-(l-=k(a,--i));return new(0,o.ng)(this,a,i,s)}toJulianDay(e){let t=A(e.year);for(let a=1;a<e.month;a++)t+=k(e.year,a);return t+e.day+347997}getDaysInMonth(e){return k(e.year,e.month)}getMonthsInYear(e){return g(e.year)?13:12}getDaysInYear(e){return w(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(g(t.year)&&!g(e.year)&&t.month>6?e.month--:!g(t.year)&&g(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}class E extends i.FG{fromJulianDay(e){let t,a,n,r=super.fromJulianDay(e),l=r.year-78,s=e-(0,i.rG)(r.era,r.year,1,1);if(s<80?(l--,s+=(t=(0,i.U_)(r.year-1)?31:30)+155+90+10):(t=(0,i.U_)(r.year)?31:30,s-=80),s<t)a=1,n=s+1;else{let e=s-t;e<155?(a=Math.floor(e/31)+2,n=e%31+1):(e-=155,a=Math.floor(e/30)+7,n=e%30+1)}return new(0,o.ng)(this,l,a,n)}toJulianDay(e){let t,a,n=e.year+78,[r,o]=(0,i.f5)(n);return((0,i.U_)(o)?(t=31,a=(0,i.rG)(r,o,3,21)):(t=30,a=(0,i.rG)(r,o,3,22)),1===e.month)?a+e.day-1:(a+=t+31*Math.min(e.month-2,5),e.month>=8&&(a+=(e.month-7)*30),a+=e.day-1)}getDaysInMonth(e){return 1===e.month&&(0,i.U_)(e.year+78)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}function S(e,t,a,n){return n+Math.ceil(29.5*(a-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function R(e,t,a){let n=Math.floor((30*(a-t)+10646)/10631),r=Math.min(12,Math.ceil((a-(29+S(t,n,1,1)))/29.5)+1),i=a-S(t,n,r,1)+1;return new(0,o.ng)(e,n,r,i)}function H(e){return(14+11*e)%30<11}class x{fromJulianDay(e){return R(this,1948440,e)}toJulianDay(e){return S(1948440,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return 12===e.month&&H(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return H(e.year)?355:354}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class C extends x{fromJulianDay(e){return R(this,1948439,e)}toJulianDay(e){return S(1948439,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}function L(e){return 460322+r[e-1300]}function V(e,t){return(n[e-1300]&1<<11-(t-1))==0?29:30}function Z(e,t){let a=L(e);for(let n=1;n<t;n++)a+=V(e,n);return a}function D(e){return r[e+1-1300]-r[e-1300]}class I extends x{constructor(){if(super(),this.identifier="islamic-umalqura",n||(n=new Uint16Array(Uint8Array.from(atob("qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI="),e=>e.charCodeAt(0)).buffer)),!r){r=new Uint32Array(301);let e=0;for(let t=1300;t<=1600;t++){r[t-1300]=e;for(let a=1;a<=12;a++)e+=V(t,a)}}}fromJulianDay(e){let t=e-1948440,a=L(1300),n=L(1600);if(t<a||t>n)return super.fromJulianDay(e);{let e=1299,a=1,n=1;for(;n>0;){n=t-L(++e)+1;let r=D(e);if(n===r){a=12;break}if(n<r){let t=V(e,a);for(a=1;n>t;)n-=t,t=V(e,++a);break}}return new(0,o.ng)(this,e,a,t-Z(e,a)+1)}}toJulianDay(e){return e.year<1300||e.year>1600?super.toJulianDay(e):1948440+Z(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<1300||e.year>1600?super.getDaysInMonth(e):V(e.year,e.month)}getDaysInYear(e){return e.year<1300||e.year>1600?super.getDaysInYear(e):D(e.year)}}let F=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],B=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],N=[1867,1911,1925,1988,2018],T=["meiji","taisho","showa","heisei","reiwa"];function X(e){let t=F.findIndex(([t,a,n])=>!!(e.year<t)||e.year===t&&!!(e.month<a)||e.year===t&&e.month===a&&!!(e.day<n));return -1===t?F.length-1:0===t?0:t-1}function _(e){let t=N[T.indexOf(e.era)];if(!t)throw Error("Unknown era: "+e.era);return new(0,o.ng)(e.year+t,e.month,e.day)}class O extends i.FG{fromJulianDay(e){let t=super.fromJulianDay(e),a=X(t);return new(0,o.ng)(this,T[a],t.year-N[a],t.month,t.day)}toJulianDay(e){return super.toJulianDay(_(e))}balanceDate(e){let t=_(e),a=X(t);T[a]!==e.era&&(e.era=T[a],e.year=t.year-N[a]),this.constrainDate(e)}constrainDate(e){let t=T.indexOf(e.era),a=B[t];if(null!=a){let[n,r,o]=a,i=n-N[t];e.year=Math.max(1,Math.min(i,e.year)),e.year===i&&(e.month=Math.min(r,e.month),e.month===r&&(e.day=Math.min(o,e.day)))}if(1===e.year&&t>=0){let[,a,n]=F[t];e.month=Math.max(a,e.month),e.month===a&&(e.day=Math.max(n,e.day))}}getEras(){return T}getYearsInEra(e){let t=T.indexOf(e.era),a=F[t],n=F[t+1];if(null==n)return 9999-a[0]+1;let r=n[0]-a[0];return(e.month<n[1]||e.month===n[1]&&e.day<n[2])&&r++,r}getDaysInMonth(e){return super.getDaysInMonth(_(e))}getMinimumMonthInYear(e){let t=P(e);return t?t[1]:1}
1getMinimumDayInMonth(e){let t=P(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function P(e){if(1===e.year)return F[T.indexOf(e.era)]}let W=[0,31,62,93,124,155,186,216,246,276,306,336];class G{fromJulianDay(e){let t=e-1948320,a=1+Math.floor((33*t+3)/12053),n=t-(365*(a-1)+Math.floor((8*a+21)/33)),r=n<216?Math.floor(n/31):Math.floor((n-6)/30),i=n-W[r]+1;return new(0,o.ng)(this,a,r+1,i)}toJulianDay(e){let t=1948319+365*(e.year-1)+Math.floor((8*e.year+21)/33);return t+=W[e.month-1],t+=e.day}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||8>(0,v.z)(25*e.year+11,33)?30:29}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}function U(e){return"minguo"===e.era?e.year+1911:1-e.year+1911}function $(e){let t=e-1911;return t>0?["minguo",t]:["before_minguo",1-t]}class q extends i.FG{fromJulianDay(e){let t=super.fromJulianDay(e),[a,n]=$((0,i.LA)(t.era,t.year));return new(0,o.ng)(this,a,n,t.month,t.day)}toJulianDay(e){return super.toJulianDay(J(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,a]=$(U(e));e.era=t,e.year=a}isInverseEra(e){return"before_minguo"===e.era}getDaysInMonth(e){return super.getDaysInMonth(J(e))}getYearsInEra(e){return"before_minguo"===e.era?9999:8088}constructor(...e){super(...e),this.identifier="roc"}}function J(e){let[t,a]=(0,i.f5)(U(e));return new(0,o.ng)(t,a,e.month,e.day)}function Q(e){switch(e){case"buddhist":return new l;case"ethiopic":return new m;case"ethioaa":return new h;case"coptic":return new f;case"hebrew":return new M;case"indian":return new E;case"islamic-civil":return new x;case"islamic-tbla":return new C;case"islamic-umalqura":return new I;case"japanese":return new O;case"persian":return new G;case"roc":return new q;default:return new(0,i.FG)}}},24829:(e,t,a)=>{a.d(t,{AU:()=>u,D8:()=>w,E0:()=>g,Re:()=>d,WQ:()=>o,XH:()=>A,d_:()=>b,gt:()=>v,hZ:()=>p,ib:()=>m,xy:()=>f});var n=a(8334),r=a(98622);function o(e,t){let a=e.copy(),n="hour"in a?function(e,t){let a;return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,e.second+=Math.floor(e.millisecond/1e3),e.millisecond=h(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=h(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=h(e.minute,60),a=Math.floor(e.hour/24),e.hour=h(e.hour,24),a}(a,t):0;i(a,t.years||0),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e),a.month+=t.months||0,l(a),s(a),a.day+=7*(t.weeks||0),a.day+=t.days||0,a.day+=n,function(e){for(;e.day<1;)e.month--,l(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,l(e)}(a),a.calendar.balanceDate&&a.calendar.balanceDate(a),a.year<1&&(a.year=1,a.month=1,a.day=1);let r=a.calendar.getYearsInEra(a);if(a.year>r){let e=a.calendar.isInverseEra?.(a);a.year=r,a.month=e?1:a.calendar.getMonthsInYear(a),a.day=e?1:a.calendar.getDaysInMonth(a)}a.month<1&&(a.month=1,a.day=1);let o=a.calendar.getMonthsInYear(a);return a.month>o&&(a.month=o,a.day=a.calendar.getDaysInMonth(a)),a.day=Math.max(1,Math.min(a.calendar.getDaysInMonth(a),a.day)),a}function i(e,t){e.calendar.isInverseEra?.(e)&&(t=-t),e.year+=t}function l(e){for(;e.month<1;)i(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,i(e,1)}function s(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function u(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),s(e)}function c(e){let t={};for(let a in e)"number"==typeof e[a]&&(t[a]=-e[a]);return t}function d(e,t){return o(e,c(t))}function p(e,t){let a=e.copy();return null!=t.era&&(a.era=t.era),null!=t.year&&(a.year=t.year),null!=t.month&&(a.month=t.month),null!=t.day&&(a.day=t.day),u(a),a}function m(e,t){var a;let n=e.copy();return null!=t.hour&&(n.hour=t.hour),null!=t.minute&&(n.minute=t.minute),null!=t.second&&(n.second=t.second),null!=t.millisecond&&(n.millisecond=t.millisecond),(a=n).millisecond=Math.max(0,Math.min(a.millisecond,1e3)),a.second=Math.max(0,Math.min(a.second,59)),a.minute=Math.max(0,Math.min(a.minute,59)),a.hour=Math.max(0,Math.min(a.hour,23)),n}function h(e,t){let a=e%t;return a<0&&(a+=t),a}function f(e,t,a,n){let r=e.copy();switch(t){case"era":{let t=e.calendar.getEras(),o=t.indexOf(e.era);if(o<0)throw Error("Invalid era: "+e.era);o=y(o,a,0,t.length-1,n?.round),r.era=t[o],u(r);break}case"year":r.calendar.isInverseEra?.(r)&&(a=-a),r.year=y(e.year,a,-1/0,9999,n?.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e);break;case"month":r.month=y(e.month,a,1,e.calendar.getMonthsInYear(e),n?.round);break;case"day":r.day=y(e.day,a,1,e.calendar.getDaysInMonth(e),n?.round);break;default:throw Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(r),u(r),r}function v(e,t,a,n){let r=e.copy();switch(t){case"hour":{let t=e.hour,o=0,i=23;if(n?.hourCycle===12){let e=t>=12;o=12*!!e,i=e?23:11}r.hour=y(t,a,o,i,n?.round);break}case"minute":r.minute=y(e.minute,a,0,59,n?.round);break;case"second":r.second=y(e.second,a,0,59,n?.round);break;case"millisecond":r.millisecond=y(e.millisecond,a,0,999,n?.round);break;default:throw Error("Unsupported field "+t)}return r}function y(e,t,a,n,r=!1){if(r){(e+=Math.sign(t))<a&&(e=n);let r=Math.abs(t);(e=t>0?Math.ceil(e/r)*r:Math.floor(e/r)*r)>n&&(e=a)}else(e+=t)<a?e=n-(a-e-1):e>n&&(e=a+(e-n-1));return e}function g(e,t){let a;if(null!=t.years&&0!==t.years||null!=t.months&&0!==t.months||null!=t.weeks&&0!==t.weeks||null!=t.days&&0!==t.days){let r=o((0,n.tR)(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});a=(0,n.Tr)(r,e.timeZone)}else a=(0,n.oU)(e)-e.offset;a+=t.milliseconds||0,a+=1e3*(t.seconds||0),a+=6e4*(t.minutes||0),a+=36e5*(t.hours||0);let r=(0,n.Yd)(a,e.timeZone);return(0,n.yP)(r,e.calendar)}function b(e,t){return g(e,c(t))}function A(e,t,a,o){switch(t){case"hour":{let t=0,i=23;if(o?.hourCycle===12){let a=e.hour>=12;t=12*!!a,i=a?23:11}let l=(0,n.tR)(e),s=(0,n.yP)(m(l,{hour:t}),new(0,r.FG)),u=[(0,n.Tr)(s,e.timeZone,"earlier"),(0,n.Tr)(s,e.timeZone,"later")].filter(t=>(0,n.Yd)(t,e.timeZone).day===s.day)[0],c=(0,n.yP)(m(l,{hour:i}),new(0,r.FG)),d=[(0,n.Tr)(c,e.timeZone,"earlier"),(0,n.Tr)(c,e.timeZone,"later")].filter(t=>(0,n.Yd)(t,e.timeZone).day===c.day).pop(),p=(0,n.oU)(e)-e.offset,h=Math.floor(p/36e5),f=p%36e5;return p=36e5*y(h,a,Math.floor(u/36e5),Math.floor(d/36e5),o?.round)+f,(0,n.yP)((0,n.Yd)(p,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return v(e,t,a,o);case"era":case"year":case"month":case"day":{let r=f((0,n.tR)(e),t,a,o),i=(0,n.Tr)(r,e.timeZone);return(0,n.yP)((0,n.Yd)(i,e.timeZone),e.calendar)}default:throw Error("Unsupported field "+t)}}function w(e,t,a){let r=(0,n.tR)(e),o=m(p(r,t),t);if(0===o.compare(r))return e;let i=(0,n.Tr)(o,e.timeZone,a);return(0,n.yP)((0,n.Yd)(i,e.timeZone),e.calendar)}},29100:(e,t,a)=>{a.d(t,{d:()=>y,j:()=>i,k:()=>l,l:()=>s,m:()=>u,n:()=>c,o:()=>d,r:()=>p,t:()=>o,u:()=>m,x:()=>h});var n=a(75358),r=a(82600);function o(e,t=(0,n.Xj)()){return i(e)?e.toDate():e.toDate(t)}function i(e){return e instanceof r.Ip}function l(e){return e instanceof r._l||i(e)}function s(e){return e instanceof Date?new Date(e.getFullYear(),e.getMonth()+1,0).getDate():e.set({day:100}).day}function u(e,t){return 0>e.compare(t)}function c(e,t){return e.compare(t)>0}function d(e,t){return 0>=e.compare(t)}function p(e,t,a){return e.compare(t)>=0&&d(e,a)}function m(e,t,a){return c(e,t)&&u(e,a)}function h(e,t,a,n){if(void 0===a&&void 0===n)return!0;let r=e.add({days:1});if(null!=n&&n(r)||null!=a&&a(r))return!1;for(;0>r.compare(t);)if(r=r.add({days:1}),null!=n&&n(r)||null!=a&&a(r))return!1;return!0}function f(e,t){let a=[],n=e.add({days:1});for(;0>n.compare(t);)a.push(n),n=n.add({days:1});return a}function v(e){let t,a,r,{dateObj:o,weekStartsOn:i,fixedWeeks:l,locale:u}=e,c=Array.from({length:s(o)},(e,t)=>o.set({day:t+1})),d=(0,n.wH)(o),p=(0,n.p9)(o),m=i>(t=(0,n.SJ)(d,u))?d.subtract({days:t+7-i}):i===t?d:d.subtract({days:t-i}),h=(a=(0,n.SJ)(p,u),a===(r=0===i?6:i-1)?p:a>r?p.add({days:7-a+r}):p.add({days:r-a})),v=f(m.subtract({days:1}),d),y=f(p,h.add({days:1})),g=v.length+c.length+y.length;if(l&&g<42){let e=y[y.length-1];e||(e=(0,n.p9)(o));let t=Array.from({length:42-g},(t,a)=>e.add({days:a+1}));y.push(...t)}let b=v.concat(c,y),A=function(e){let t=[];for(let a=0;a<e.length;a+=7)t.push(e.slice(a,a+7));return t}(b);return{value:o,cells:b,rows:A}}function y(e){let{numberOfMonths:t,dateObj:a,...n}=e,r=[];if(!t||1===t)return r.push(v({...n,dateObj:a})),r;r.push(v({...n,dateObj:a}));for(let e=1;e<t;e++){let t=a.add({months:e});
1r.push(v({...n,dateObj:t}))}return r}},39393:(e,t,a)=>{a.d(t,{K:()=>l});let n=new Map,r=!1;try{r="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let o=!1;try{o="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let i={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class l{constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:a}=t;if(a&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${a}`),"unit"===t.style&&!o){let{unit:e,unitDisplay:a="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!i[e]?.[a])throw Error(`Unsupported unit ${e} with unitDisplay = ${a}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(n.has(r))return n.get(r);let l=new Intl.NumberFormat(e,t);return n.set(r,l),l}(e,t),this.options=t}format(e){let t="";if(t=r||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,a){if("auto"===t)return e.format(a);{if("never"===t)return e.format(Math.abs(a));let n=!1;if("always"===t?n=a>0||Object.is(a,0):"exceptZero"===t&&(Object.is(a,-0)||Object.is(a,0)?a=Math.abs(a):n=a>0),!n)return e.format(a);{let t=e.format(-a),n=e.format(a),r=t.replace(n,"").replace(/\u200e|\u061C/,"");return 1!=[...r].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(n,"!!!").replace(r,"+").replace("!!!",n)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!o){let{unit:e,unitDisplay:a="short",locale:n}=this.resolvedOptions();if(!e)return t;let r=i[e]?.[a];t+=r[n]||r.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let a=this.numberFormatter.formatToParts(e),n=this.numberFormatter.formatToParts(t);return[...a.map(e=>({...e,source:"startRange"})),{type:"literal",value:" â ",source:"shared"},...n.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return r||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),o||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}}},53163:(e,t,a)=>{a.d(t,{z:()=>n});function n(e,t){return e-t*Math.floor(e/t)}},71974:(e,t,a)=>{a.d(t,{p:()=>r});let n=new Map;class r{constructor(e,t={}){this.formatter=i(e,t),this.options=t}format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.formatter.format(e)} \u{2013} ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let a=this.formatter.formatToParts(e),n=this.formatter.formatToParts(t);return[...a.map(e=>({...e,source:"startRange"})),{type:"literal",value:" â ",source:"shared"},...n.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return null==s&&(s="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle),s&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let a=i(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),n=parseInt(a.formatToParts(new Date(2020,2,3,0)).find(e=>"hour"===e.type).value,10),r=parseInt(a.formatToParts(new Date(2020,2,3,23)).find(e=>"hour"===e.type).value,10);if(0===n&&23===r)return"h23";if(24===n&&23===r)return"h24";if(0===n&&11===r)return"h11";if(12===n&&11===r)return"h12";throw Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}}let o={true:{ja:"h11"},false:{}};function i(e,t={}){if("boolean"==typeof t.hour12&&(null==l&&(l="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))),l)){let a=o[String((t={...t}).hour12)][e.split("-")[0]],n=t.hour12?"h12":"h23";t.hourCycle=a??n,delete t.hour12}let a=e+(t?Object.entries(t).sort((e,t)=>
1e[0]<t[0]?-1:1).join():"");if(n.has(a))return n.get(a);let r=new Intl.DateTimeFormat(e,t);return n.set(a,r),r}let l=null,s=null},75358:(e,t,a)=>{a.d(t,{SE:()=>h,Nu:()=>f,p9:()=>w,SJ:()=>p,Xj:()=>g,Jg:()=>u,NV:()=>l,d9:()=>s,rS:()=>b,ro:()=>o,tF:()=>i,cK:()=>c,wH:()=>A,Ec:()=>m});var n=a(8334);let r={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function o(e,t){return t=(0,n.yP)(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function i(e,t){return t=(0,n.yP)(t,e.calendar),e=A(e),t=A(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function l(e,t){return u(e.calendar,t.calendar)&&o(e,t)}function s(e,t){return u(e.calendar,t.calendar)&&i(e,t)}function u(e,t){return e.isEqual?.(t)??t.isEqual?.(e)??e.identifier===t.identifier}function c(e,t){return o(e,m(t))}let d={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function p(e,t,a){let n=Math.ceil(e.calendar.toJulianDay(e)+1-(a?d[a]:function(e){let t=M.get(e);if(!t){if(Intl.Locale){let a=new Intl.Locale(e);if("getWeekInfo"in a&&(t=a.getWeekInfo()))return M.set(e,t),t.firstDay}let a=function(e){if(Intl.Locale){let t=k.get(e);return!t&&(t=new Intl.Locale(e).maximize().region)&&k.set(e,t),t}let t=e.split("-")[1];return"u"===t?void 0:t}(e);if(e.includes("-fw-")){let a=e.split("-fw-")[1].split("-")[0];t="mon"===a?{firstDay:1}:"tue"===a?{firstDay:2}:"wed"===a?{firstDay:3}:"thu"===a?{firstDay:4}:"fri"===a?{firstDay:5}:"sat"===a?{firstDay:6}:{firstDay:0}}else t=e.includes("-ca-iso8601")?{firstDay:1}:{firstDay:a&&r[a]||0};M.set(e,t)}return t.firstDay}(t)))%7;return n<0&&(n+=7),n}function m(e){return(0,n.gw)((0,n.Yd)(Date.now(),e))}function h(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function f(e,t){return v(e)-v(t)}function v(e){return 36e5*e.hour+6e4*e.minute+1e3*e.second+e.millisecond}let y=null;function g(){return null==y&&(y=new Intl.DateTimeFormat().resolvedOptions().timeZone),y}function b(){return!1}function A(e){return e.subtract({days:e.day-1})}function w(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}let k=new Map,M=new Map},82600:(e,t,a)=>{a.d(t,{ng:()=>c,_l:()=>d,Ip:()=>p});var n=a(24829),r=a(75358),o=a(8334),i=a(98622);function l(e){let t,a=(0,o.yP)(e,new(0,i.FG));return t="BC"===a.era?1===a.year?"0000":"-"+String(Math.abs(1-a.year)).padStart(6,"00"):String(a.year).padStart(4,"0"),`${t}-${String(a.month).padStart(2,"0")}-${String(a.day).padStart(2,"0")}`}function s(e){return`${l(e)}T${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function u(e){let t,a="object"==typeof e[0]?e.shift():new(0,i.FG);if("string"==typeof e[0])t=e.shift();else{let e=a.getEras();t=e[e.length-1]}return[a,t,e.shift(),e.shift(),e.shift()]}class c{#e;constructor(...e){let[t,a,r,o,i]=u(e);this.calendar=t,this.era=a,this.year=r,this.month=o,this.day=i,(0,n.AU)(this)}copy(){return this.era?new c(this.calendar,this.era,this.year,this.month,this.day):new c(this.calendar,this.year,this.month,this.day)}add(e){return(0,n.WQ)(this,e)}subtract(e){return(0,n.Re)(this,e)}set(e){return(0,n.hZ)(this,e)}cycle(e,t,a){return(0,n.xy)(this,e,t,a)}toDate(e){return(0,o.ay)(this,e)}toString(){return l(this)}compare(e){return(0,r.SE)(this,e)}}class d{#e;constructor(...e){let[t,a,r,o,i]=u(e);this.calendar=t,this.era=a,this.year=r,this.month=o,this.day=i,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,n.AU)(this)}copy(){return this.era?new d(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new d(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,n.WQ)(this,e)}subtract(e){return(0,n.Re)(this,e)}set(e){return(0,n.hZ)((0,n.ib)(this,e),e)}cycle(e,t,a){switch(e){case"era":case"year":case"month":case"day":return(0,n.xy)(this,e,t,a);default:return(0,n.gt)(this,e,t,a)}}toDate(e,t){return(0,o.ay)(this,e,t)}toString(){return s(this)}compare(e){let t=(0,r.SE)(this,e);return 0===t?(0,r.Nu)(this,(0,o.tR)(e)):t}}class p{#e;constructor(...e){let[t,a,r,o,i]=u(e),l=e.shift(),s=e.shift();this.calendar=t,this.era=a,this.year=r,this.month=o,this.day=i,this.timeZone=l,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,n.AU)(this)}copy(){return this.era?new p(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new p(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,n.E0)(this,e)}subtract(e){return(0,n.d_)(this,e)}set(e,t){return(0,n.D8)(this,e,t)}cycle(e,t,a){return(0,n.XH)(this,e,t,a)}toDate(){return(0,o.cd)(this)}toString(){var e;let t,a,n,r,o;return`${s(this)}${t=0>Math.sign(e=this.offset)?"-":"+",a=Math.floor((e=Math.abs(e))/36e5),n=Math.floor(e%36e5/6e4),r=Math.floor(e%36e5%6e4/1e3),o=`${t}
1${String(a).padStart(2,"0")}:${String(n).padStart(2,"0")}`,0!==r&&(o+=`:${String(r).padStart(2,"0")}`),o}[${this.timeZone}]`}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-(0,o.uB)(e,this.timeZone).toDate().getTime()}}},96294:(e,t,a)=>{a.d(t,{d:()=>i});var n=a(39393);let r=RegExp("^.*\\(.*\\).*$"),o=["latn","arab","hanidec","deva","beng","fullwide"];class i{constructor(e,t={}){this.locale=e,this.options=t}parse(e){return s(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,a){return s(this.locale,this.options,e).isValidPartialNumber(e,t,a)}getNumberingSystem(e){return s(this.locale,this.options,e).options.numberingSystem}}let l=new Map;function s(e,t,a){let n=u(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(a)){for(let r of o)if(r!==n.options.numberingSystem){let n=u(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(n.isValidPartialNumber(a))return n}}return n}function u(e,t){let a=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():""),n=l.get(a);return n||(n=new c(e,t),l.set(a,n)),n}class c{constructor(e,t={}){this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=function(e,t,a,n){let r=new Intl.NumberFormat(e,{...a,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand",useGrouping:!0}),o=r.formatToParts(-10000.111),i=r.formatToParts(10000.111),l=p.map(e=>r.formatToParts(e)),s=l.map((e,t)=>{let a=e.find(e=>"unit"===e.type);return a&&!e.some(e=>"integer"===e.type||"fraction"===e.type)?{unit:a.value,value:p[t]}:null}).filter(e=>!!e),u=o.find(e=>"minusSign"===e.type)?.value??"-",c=i.find(e=>"plusSign"===e.type)?.value;c||n?.signDisplay!=="exceptZero"&&n?.signDisplay!=="always"||(c="+");let m=new Intl.NumberFormat(e,{...a,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001),f=m.find(e=>"decimal"===e.type)?.value,v=o.find(e=>"group"===e.type)?.value,y=[...new Set([...o.filter(e=>!d.has(e.type)).map(e=>h(e.value)),...l.flatMap(e=>e.filter(e=>!d.has(e.type)).map(e=>h(e.value)))])].sort((e,t)=>t.length-e.length),g=0===y.length?RegExp("\\p{White_Space}|\\p{Cf}","gu"):RegExp(`${y.join("|")}|\\p{White_Space}|\\p{Cf}`,"gu"),b=[...new Intl.NumberFormat(a.locale,{useGrouping:!1}).format(0x24cb016ea)].reverse(),A=new Map(b.map((e,t)=>[e,t]));return{minusSign:u,plusSign:c,decimal:f,group:v,literals:g,numeral:RegExp(`[${b.join("")}]`,"g"),numerals:b,index:e=>String(A.get(e)),noNumeralUnits:s}}(e,this.formatter,this.options,t),"percent"===this.options.style&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}parse(e){let t=this.formatter.resolvedOptions().useGrouping,a=this.sanitize(e);if(!t&&this.symbols.group&&a.includes(this.symbols.group))return NaN;if(this.symbols.group&&(a=a.replaceAll(this.symbols.group,"")),this.symbols.decimal&&(a=a.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(a=a.replace(this.symbols.minusSign,"-")),a=a.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=a.indexOf("-"),t=(a=(a=a.replace("-","")).replace("+","")).indexOf(".");-1===t&&(t=a.length),a=a.replace(".",""),a=t-2==0?`0.${a}`:t-2==-1?`0.0${a}`:t-2==-2?"0.00":`${a.slice(0,t-2)}.${a.slice(t-2)}`,e>-1&&(a=`-${a}`)}let o=a?+a:NaN;if(isNaN(o))return NaN;if("percent"===this.options.style){let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new i(this.locale,e).parse(new(0,n.K)(this.locale,e).format(
1o))}return"accounting"===this.options.currencySign&&r.test(e)&&(o*=-1),o}sanitize(e){let t=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(t=>t.unit===e)?this.symbols.noNumeralUnits.find(t=>t.unit===e).value.toString():(e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=m(e,",",this.symbols.decimal),e=m(e,String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&t&&(e=m(e,".",this.symbols.group))),"â"===this.symbols.group&&e.includes("'")&&t&&(e=m(e,"'",this.symbols.group)),"'"===this.symbols.group&&e.includes("â")&&t&&(e=m(e,"â",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&t&&(e=m(e," ",this.symbols.group),e=m(e,/\u00A0/g,this.symbols.group)),e)}isValidPartialNumber(e,t=-1/0,a=1/0){let n=this.formatter.resolvedOptions().useGrouping;return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&a>0&&(e=e.slice(this.symbols.plusSign.length)),(!(this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1)||0!==this.options.maximumFractionDigits)&&(this.symbols.group&&n&&(e=m(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length)}}let d=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),p=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function m(e,t,a){return e.replaceAll?e.replaceAll(t,a):e.split(t).join(a)}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}},98622:(e,t,a)=>{a.d(t,{FG:()=>c,LA:()=>l,U_:()=>i,f5:()=>s,rG:()=>o});var n=a(82600),r=a(53163);function o(e,t,a,n){let r=(t=l(e,t))-1,o=-2;return a<=2?o=0:i(t)&&(o=-1),1721425+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*a-362)/12+o+n)}function i(e){return e%4==0&&(e%100!=0||e%400==0)}function l(e,t){return"BC"===e?1-t:t}function s(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}let u={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class c{fromJulianDay(e){let t=e-1721426,a=Math.floor(t/146097),l=(0,r.z)(t,146097),u=Math.floor(l/36524),c=(0,r.z)(l,36524),d=Math.floor(c/1461),p=Math.floor((0,r.z)(c,1461)/365),[m,h]=s(400*a+100*u+4*d+p+ +(4!==u&&4!==p)),f=e-o(m,h,1,1),v=2;e<o(m,h,3,1)?v=0:i(h)&&(v=1);let y=Math.floor(((f+v)*12+373)/367),g=e-o(m,h,y,1)+1;return new(0,n.ng)(m,h,y,g)}toJulianDay(e){return o(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return u[i(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return i(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return"BC"===e.era}balanceDate(e){e.year<=0&&(e.era="BC"===e.era?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.