@openfin/workspace 24.0.7 → 24.1.0-alpha.06dbecdb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client-api/src/dock.test.d.ts +1 -0
- package/client-api-platform/src/api/controllers/theme-storage-controller.d.ts +2 -0
- package/client-api-platform/src/api/utils.d.ts +1 -1
- package/client-api-platform/src/shapes.d.ts +0 -2
- package/common/src/test/logger-mock.d.ts +5 -0
- package/common/src/utils/popup-window.d.ts +14 -9
- package/externals.report.json +17 -17
- package/home.js +1 -1
- package/home.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/notifications.js +1 -1
- package/notifications.js.map +1 -1
- package/package.json +3 -3
- package/store.js +1 -1
- package/store.js.map +1 -1
package/home.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var e={211:(e,r,o)=>{"use strict";o.d(r,{v:()=>Tt});var t={};o.r(t),o.d(t,{createNamespacedLocalStorage:()=>c,getItem:()=>i,removeItem:()=>s,setItem:()=>l});var a=o(822),n=o(723);const l=(e,r)=>{localStorage.setItem(`${n.$h}-${e}`,r)},i=e=>localStorage.getItem(`${n.$h}-${e}`),s=e=>localStorage.removeItem(`${n.$h}-${e}`),c=e=>({setItem:(r,o)=>{localStorage.setItem(`${e}-${r}`,o)},getItem:r=>localStorage.getItem(`${e}-${r}`),removeItem:r=>localStorage.removeItem(`${e}-${r}`)});var d=o(516);o(70),o(695),o(79);const u={[d.Palette.brandPrimary]:"#0A76D3",[d.Palette.brandPrimaryActive]:"#0A71C9",[d.Palette.brandPrimaryHover]:"#0B84EB",[d.Palette.brandPrimaryFocused]:d.Color.white,[d.Palette.brandPrimaryText]:d.Color.white,[d.Palette.statusSuccess]:d.Color.functional1,[d.Palette.statusWarning]:d.Color.functional10,[d.Palette.statusCritical]:d.Color.functional7,[d.Palette.statusActive]:d.Color.functional3,[d.Palette.contentBackground1]:"#0A76D3",[d.Palette.contentBackground2]:"#000000",[d.Palette.contentBackground3]:"#000000",[d.Palette.contentBackground4]:"#000000",[d.Palette.contentBackground5]:"#000000",[d.Palette.borderNeutral]:d.Color.silverGray},g={...u,[d.Palette.background1]:d.Color.white,[d.Palette.background2]:d.Color.lightGray1,[d.Palette.background3]:d.Color.lightGray2,[d.Palette.background4]:d.Color.lightGray3,[d.Palette.background5]:d.Color.lightGray4,[d.Palette.background6]:d.Color.lightGray5,[d.Palette.brandSecondary]:d.Color.lightGray4,[d.Palette.brandSecondaryActive]:d.Color.lightGray4Active,[d.Palette.brandSecondaryHover]:d.Color.lightGray4Hover,[d.Palette.brandSecondaryFocused]:d.Color.darkGray5,[d.Palette.brandSecondaryText]:d.Color.darkGray5,[d.Palette.inputBackground]:d.Color.lightGray3,[d.Palette.inputColor]:d.Color.darkGray5,[d.Palette.inputPlaceholder]:d.Color.darkGray2,[d.Palette.inputDisabled]:d.Color.neutralGray,[d.Palette.inputFocused]:d.Color.lightGray5,[d.Palette.inputBorder]:d.Color.neutralGray,[d.Palette.textDefault]:d.Color.darkGray5,[d.Palette.textHelp]:d.Color.darkGray3,[d.Palette.textInactive]:d.Color.neutralGray},b={...u,[d.Palette.background1]:d.Color.darkGray6,[d.Palette.background2]:d.Color.darkGray5,[d.Palette.background3]:d.Color.darkGray4,[d.Palette.background4]:d.Color.darkGray3,[d.Palette.background5]:d.Color.darkGray2,[d.Palette.background6]:d.Color.darkGray1,[d.Palette.brandSecondary]:d.Color.darkGray2,[d.Palette.brandSecondaryActive]:d.Color.darkGray2Active,[d.Palette.brandSecondaryHover]:d.Color.darkGray2Hover,[d.Palette.brandSecondaryFocused]:d.Color.white,[d.Palette.brandSecondaryText]:d.Color.white,[d.Palette.inputBackground]:d.Color.darkGray1,[d.Palette.inputColor]:d.Color.white,[d.Palette.inputPlaceholder]:d.Color.lightGray5,[d.Palette.inputDisabled]:d.Color.neutralGray,[d.Palette.inputFocused]:d.Color.lightGray5,[d.Palette.inputBorder]:d.Color.neutralGray,[d.Palette.textDefault]:d.Color.white,[d.Palette.textHelp]:d.Color.lightGray5,[d.Palette.textInactive]:d.Color.neutralGray},h=(d.Color.darkGray5,d.Color.darkGray5,e=>{const r=e.light.toCSS(),o=e.dark.toCSS();return`:root{${r}}\n [data-scheme="dark"] {\n ${o}\n }\n @media (prefers-color-scheme: dark) {\n [data-scheme="system"] {${o} }\n }\n\n @media (prefers-color-scheme: light) {\n [data-scheme="system"] {${r} }\n }\n `});var f;!function(e){e.CurrentWorkspaceId="currentWorkspaceId",e.LastFocusedBrowserWindow="lastFocusedBrowserWindow",e.MachineName="machineName",e.NewTabPageLayout="NewTabPageLayout",e.NewTabPageSort="NewTabPageSort",e.DockPosition="DockPosition",e.SelectedColorScheme="SelectedColorScheme",e.ThemePaletteSheet="ThemePaletteSheet",e.HasMovedStore="HasMovedStore",e.PageDragState="BrowserPageDragState",e.ThemePaletteDefaultScheme="ThemePaletteDefaultScheme"}(f||(f={}));const p=f,v=e=>{if(!e.includes("#"))throw new Error("Invalid hex value, cannot convert to RGB. Hex value begins with a hashtag.");let r=0,o=0,t=0;if(4===e.length)r=`0x${e[1]}${e[1]}`,o=`0x${e[2]}${e[2]}`,t=`0x${e[3]}${e[3]}`;else{if(7!==e.length)throw new Error("Invalid hex string length, cannot convert to RGB.");r=`0x${e[1]}${e[2]}`,o=`0x${e[3]}${e[4]}`,t=`0x${e[5]}${e[6]}`}return[+r,+o,+t]},m=e=>{const r=e;if(r.startsWith("#")){return{rgb:v(r).join(", "),alpha:1}}const o=r.match(/\d{1,3}(\.\d+)?/g);if(o){const[e,r,t,a]=o;return{rgb:`${e}, ${r}, ${t}`,alpha:void 0!==a?parseFloat(a):1}}return{rgb:v(e).join(", "),alpha:1}};var k,y,w,P,_,M,x,S,C,A,I,$;!function(e){e.Left="Left",e.Right="Right",e.Top="Top",e.Bottom="Bottom"}(k||(k={})),function(e){e.UrlChange="URL_CHANGE",e.ViewAdded="VIEW_ADDED",e.ViewRemoved="VIEW_REMOVED",e.PageContextAdded="PAGE_CONTEXT_ADDED",e.PageContextRemoved="PAGE_CONTEXT_REMOVED"}(y||(y={})),function(e){e.NewWindow="NewWindow",e.NewPage="NewPage",e.SavePage="SavePage",e.SavePageAs="SavePageAs",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.CloseWindow="CloseWindow",e.RestoreChanges="RestoreChanges",e.SaveWorkspace="SaveWorkspace",e.SaveWorkspaceAs="SaveWorkspaceAs",e.RenameWorkspace="RenameWorkspace",e.SwitchWorkspace="SwitchWorkspace",e.DeleteWorkspace="DeleteWorkspace",e.Downloads="Downloads",e.OpenStorefront="OpenStorefront",e.ManageDesktopSignals="ManageDesktopSignals",e.FindInPage="FindInPage",e.Appearance="Appearance",e.Quit="Quit",e.Custom="Custom"}(w||(w={})),function(e){e.Light="light",e.Dark="dark",e.System="system"}(P||(P={})),function(e){e.Close="Close",e.Duplicate="Duplicate",e.Rename="Rename",e.Save="Save",e.SaveAs="Save As",e.NewPage="New Page",e.DeletePage="Delete Page",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Refresh="Refresh",e.CloseOthers="Close others",e.Delete="Delete",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.ManageDesktopSignals="ManageDesktopSignals",e.AddToChannel="AddToChannel",e.Custom="Custom"}(_||(_={})),function(e){e.Lock="Lock",e.ShowHideTabs="ShowHideTabs",e.AddToChanel="AddToChannel",e.ManageDesktopSignals="ManageDesktopSignals",e.FindInPage="FindInPage",e.Print="Print",e.Pin="Pin"}(M||(M={})),function(e){e.EditName="Edit Name",e.Move="Move",e.Delete="Delete"}(x||(x={})),function(e){e.NewView="NewView",e.DuplicateViews="DuplicateView",e.OpenWithDefaultBrowser="OpenWithDefaultBrowser",e.ReloadViews="ReloadTab",e.CloseViews="CloseTab",e.AddToChannel="AddToChannel",e.RemoveFromChannel="RemoveFromChannel",e.Back="Back",e.Forward="Forward",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.Custom="Custom"}(S||(S={})),function(e){e.ShowHideTabs="ShowHideTabs",e.ColorLinking="ColorLinking",e.PresetLayouts="PresetLayouts",e.LockUnlockPage="LockUnlockPage",e.SaveMenu="SaveMenu",e.SavePage="SavePage",e.Download="Download",e.Minimise="Minimise",e.Maximise="Maximise",e.Close="Close",e.Custom="Custom"}(C||(C={})),function(e){e.SavePage="SavePage",e.SaveWorkspace="SaveWorkspace",e.SavePageAs="SavePageAs",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Custom="Custom"}(A||(A={})),function(e){e.Browser="browser",e.Platform="platform"}(I||(I={})),function(e){e.CustomButton="CustomButton",e.StoreCustomButton="StoreCustomButton",e.CustomDropdownItem="CustomDropdownItem",e.GlobalContextMenu="GlobalContextMenu",e.ViewTabContextMenu="ViewTabContextMenu",e.PageTabContextMenu="PageTabContextMenu",e.SaveButtonContextMenu="SaveButtonContextMenu",e.API="API"}($||($={}));var F;!function(e){e.SAVE_PAGE="SAVE_PAGE",e.SAVE_WORKSPACE="SAVE_WORKSPACE",e.SAVE_PAGE_AS="SAVE_PAGE_AS",e.SAVE_WORKSPACE_AS="SAVE_WORKSPACE_AS",e.RENAME_PAGE="RENAME_PAGE",e.RENAME_WORKSPACE="RENAME_WORKSPACE"}(F||(F={}));const z=P.Dark,R=e=>Object.entries(e).reduce((e,[r,o])=>`${e}--workspace-palette-${r}: ${o};`,""),T=(e,r)=>{const o=!!e.contentBackground5&&"#000000"!==e.contentBackground5,t=!!e.contentBackground4&&"#000000"!==e.contentBackground4,a=m(e.textDefault),n=m(e.textInactive),l=a.rgb,i=n.rgb,s=a.alpha?parseFloat(a.alpha.toString()):1,c=n.alpha?parseFloat(n.alpha.toString()):1;return{dockExpandedContainerBorderRadius:o&&r?"0":"10px",fillerBackgroundColor:t?e.contentBackground4:"inherit","computed-scrollbar-thumb-alpha":s,"computed-scrollbar-track-alpha":c,"scrollbar-thumb-rgb":l,"scrollbar-track-rgb":i}},D=(e,r,o)=>({selectedTab:"dark"===r?e.background3:e.background1,...T(e,o)});var E={89:(e,r,o)=>{e=o.nmd(e);var t="__lodash_hash_undefined__",a=9007199254740991,n="[object Arguments]",l="[object Function]",i="[object Object]",s=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[n]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d[l]=d["[object Map]"]=d["[object Number]"]=d[i]=d["[object RegExp]"]=d["[object Set]"]=d["[object String]"]=d["[object WeakMap]"]=!1;var u,g,b,h="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,f="object"==typeof self&&self&&self.Object===Object&&self,p=h||f||Function("return this")(),v=r&&!r.nodeType&&r,m=v&&e&&!e.nodeType&&e,k=m&&m.exports===v,y=k&&h.process,w=function(){try{return m&&m.require&&m.require("util").types||y&&y.binding&&y.binding("util")}catch(e){}}(),P=w&&w.isTypedArray,_=Array.prototype,M=Function.prototype,x=Object.prototype,S=p["__core-js_shared__"],C=M.toString,A=x.hasOwnProperty,I=(u=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",$=x.toString,F=C.call(Object),z=RegExp("^"+C.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=k?p.Buffer:void 0,T=p.Symbol,D=p.Uint8Array,E=(R&&R.allocUnsafe,g=Object.getPrototypeOf,b=Object,function(e){return g(b(e))}),B=Object.create,W=x.propertyIsEnumerable,j=_.splice,O=T?T.toStringTag:void 0,G=function(){try{var e=ie(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),L=R?R.isBuffer:void 0,H=Math.max,U=Date.now,N=ie(p,"Map"),V=ie(Object,"create"),q=function(){function e(){}return function(r){if(!ke(r))return{};if(B)return B(r);e.prototype=r;var o=new e;return e.prototype=void 0,o}}();function Z(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function K(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function Y(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function J(e){var r=this.__data__=new K(e);this.size=r.size}function Q(e,r,o){(void 0!==o&&!ge(e[r],o)||void 0===o&&!(r in e))&&re(e,r,o)}function X(e,r,o){var t=e[r];A.call(e,r)&&ge(t,o)&&(void 0!==o||r in e)||re(e,r,o)}function ee(e,r){for(var o=e.length;o--;)if(ge(e[o][0],r))return o;return-1}function re(e,r,o){"__proto__"==r&&G?G(e,r,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[r]=o}function oe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":O&&O in Object(e)?function(e){var r=A.call(e,O),o=e[O];try{e[O]=void 0;var t=!0}catch(e){}var a=$.call(e);return t&&(r?e[O]=o:delete e[O]),a}(e):function(e){return $.call(e)}(e)}function te(e){return ye(e)&&oe(e)==n}function ae(e,r,o,t,a){e!==r&&function(e,r,o){for(var t=-1,a=Object(e),n=o(e),l=n.length;l--;){var i=n[++t];if(!1===r(a[i],i))break}}(r,function(n,l){if(a||(a=new J),ke(n))!function(e,r,o,t,a,n,l){var s=de(e,o),c=de(r,o),d=l.get(c);if(d)Q(e,o,d);else{var u,g,b,h,f,p=n?n(s,c,o+"",e,r,l):void 0,v=void 0===p;if(v){var m=he(c),k=!m&&pe(c),y=!m&&!k&&we(c);p=c,m||k||y?he(s)?p=s:ye(f=s)&&fe(f)?p=function(e,r){var o=-1,t=e.length;for(r||(r=Array(t));++o<t;)r[o]=e[o];return r}(s):k?(v=!1,p=function(e){return e.slice()}(c)):y?(v=!1,h=new(b=(u=c).buffer).constructor(b.byteLength),new D(h).set(new D(b)),g=h,p=new u.constructor(g,u.byteOffset,u.length)):p=[]:function(e){if(!ye(e)||oe(e)!=i)return!1;var r=E(e);if(null===r)return!0;var o=A.call(r,"constructor")&&r.constructor;return"function"==typeof o&&o instanceof o&&C.call(o)==F}(c)||be(c)?(p=s,be(s)?p=function(e){return function(e,r,o){var t=!o;o||(o={});for(var a=-1,n=r.length;++a<n;){var l=r[a],i=void 0;void 0===i&&(i=e[l]),t?re(o,l,i):X(o,l,i)}return o}(e,Pe(e))}(s):ke(s)&&!ve(s)||(p=function(e){return"function"!=typeof e.constructor||ce(e)?{}:q(E(e))}(c))):v=!1}v&&(l.set(c,p),a(p,c,t,n,l),l.delete(c)),Q(e,o,p)}}(e,r,l,o,ae,t,a);else{var s=t?t(de(e,l),n,l+"",e,r,a):void 0;void 0===s&&(s=n),Q(e,l,s)}},Pe)}Z.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},Z.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},Z.prototype.get=function(e){var r=this.__data__;if(V){var o=r[e];return o===t?void 0:o}return A.call(r,e)?r[e]:void 0},Z.prototype.has=function(e){var r=this.__data__;return V?void 0!==r[e]:A.call(r,e)},Z.prototype.set=function(e,r){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=V&&void 0===r?t:r,this},K.prototype.clear=function(){this.__data__=[],this.size=0},K.prototype.delete=function(e){var r=this.__data__,o=ee(r,e);return!(o<0||(o==r.length-1?r.pop():j.call(r,o,1),--this.size,0))},K.prototype.get=function(e){var r=this.__data__,o=ee(r,e);return o<0?void 0:r[o][1]},K.prototype.has=function(e){return ee(this.__data__,e)>-1},K.prototype.set=function(e,r){var o=this.__data__,t=ee(o,e);return t<0?(++this.size,o.push([e,r])):o[t][1]=r,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new Z,map:new(N||K),string:new Z}},Y.prototype.delete=function(e){var r=le(this,e).delete(e);return this.size-=r?1:0,r},Y.prototype.get=function(e){return le(this,e).get(e)},Y.prototype.has=function(e){return le(this,e).has(e)},Y.prototype.set=function(e,r){var o=le(this,e),t=o.size;return o.set(e,r),this.size+=o.size==t?0:1,this},J.prototype.clear=function(){this.__data__=new K,this.size=0},J.prototype.delete=function(e){var r=this.__data__,o=r.delete(e);return this.size=r.size,o},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,r){var o=this.__data__;if(o instanceof K){var t=o.__data__;if(!N||t.length<199)return t.push([e,r]),this.size=++o.size,this;o=this.__data__=new Y(t)}return o.set(e,r),this.size=o.size,this};var ne=G?function(e,r){return G(e,"toString",{configurable:!0,enumerable:!1,value:(o=r,function(){return o}),writable:!0});var o}:xe;function le(e,r){var o,t,a=e.__data__;return("string"==(t=typeof(o=r))||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==o:null===o)?a["string"==typeof r?"string":"hash"]:a.map}function ie(e,r){var o=function(e,r){return null==e?void 0:e[r]}(e,r);return function(e){return!(!ke(e)||function(e){return!!I&&I in e}(e))&&(ve(e)?z:s).test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(o)?o:void 0}function se(e,r){var o=typeof e;return!!(r=null==r?a:r)&&("number"==o||"symbol"!=o&&c.test(e))&&e>-1&&e%1==0&&e<r}function ce(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||x)}function de(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}var ue=function(e){var r=0,o=0;return function(){var t=U(),a=16-(t-o);if(o=t,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}(ne);function ge(e,r){return e===r||e!=e&&r!=r}var be=te(function(){return arguments}())?te:function(e){return ye(e)&&A.call(e,"callee")&&!W.call(e,"callee")},he=Array.isArray;function fe(e){return null!=e&&me(e.length)&&!ve(e)}var pe=L||function(){return!1};function ve(e){if(!ke(e))return!1;var r=oe(e);return r==l||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function me(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function ke(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function ye(e){return null!=e&&"object"==typeof e}var we=P?function(e){return function(r){return e(r)}}(P):function(e){return ye(e)&&me(e.length)&&!!d[oe(e)]};function Pe(e){return fe(e)?function(e){var r=he(e),o=!r&&be(e),t=!r&&!o&&pe(e),a=!r&&!o&&!t&&we(e),n=r||o||t||a,l=n?function(e,r){for(var o=-1,t=Array(e);++o<e;)t[o]=r(o);return t}(e.length,String):[],i=l.length;for(var s in e)n&&("length"==s||t&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||se(s,i))||l.push(s);return l}(e):function(e){if(!ke(e))return function(e){var r=[];if(null!=e)for(var o in Object(e))r.push(o);return r}(e);var r=ce(e),o=[];for(var t in e)("constructor"!=t||!r&&A.call(e,t))&&o.push(t);return o}(e)}var _e,Me=(_e=function(e,r,o){ae(e,r,o)},function(e){return ue(function(e,r,o){return r=H(void 0===r?e.length-1:r,0),function(){for(var t=arguments,a=-1,n=H(t.length-r,0),l=Array(n);++a<n;)l[a]=t[r+a];a=-1;for(var i=Array(r+1);++a<r;)i[a]=t[a];return i[r]=o(l),function(e,r,o){switch(o.length){case 0:return e.call(r);case 1:return e.call(r,o[0]);case 2:return e.call(r,o[0],o[1]);case 3:return e.call(r,o[0],o[1],o[2])}return e.apply(r,o)}(e,this,i)}}(e,void 0,xe),e+"")}(function(e,r){var o=-1,t=r.length,a=t>1?r[t-1]:void 0,n=t>2?r[2]:void 0;for(a=_e.length>3&&"function"==typeof a?(t--,a):void 0,n&&function(e,r,o){if(!ke(o))return!1;var t=typeof r;return!!("number"==t?fe(o)&&se(r,o.length):"string"==t&&r in o)&&ge(o[r],e)}(r[0],r[1],n)&&(a=t<3?void 0:a,t=1),e=Object(e);++o<t;){var l=r[o];l&&_e(e,l,o)}return e}));function xe(e){return e}e.exports=Me},436:(e,r,o)=>{var t,a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l="\\ud800-\\udfff",i="\\u2700-\\u27bf",s="a-z\\xdf-\\xf6\\xf8-\\xff",c="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",u="["+d+"]",g="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",b="\\d+",h="["+i+"]",f="["+s+"]",p="[^"+l+d+b+i+s+c+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",k="["+c+"]",y="(?:"+f+"|"+p+")",w="(?:"+k+"|"+p+")",P="(?:['’](?:d|ll|m|re|s|t|ve))?",_="(?:['’](?:D|LL|M|RE|S|T|VE))?",M="(?:"+g+"|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?",S=x+M+"(?:\\u200d(?:"+["[^"+l+"]",v,m].join("|")+")"+x+M+")*",C="(?:"+[h,v,m].join("|")+")"+S,A=RegExp("['’]","g"),I=RegExp(g,"g"),$=RegExp([k+"?"+f+"+"+P+"(?="+[u,k,"$"].join("|")+")",w+"+"+_+"(?="+[u,k+y,"$"].join("|")+")",k+"?"+y+"+"+P,k+"+"+_,b,C].join("|"),"g"),F=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,z="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,R="object"==typeof self&&self&&self.Object===Object&&self,T=z||R||Function("return this")(),D=(t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==t?void 0:t[e]}),E=Object.prototype.toString,B=T.Symbol,W=B?B.prototype:void 0,j=W?W.toString:void 0;function O(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==E.call(e)}(e))return j?j.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}(e)}var G,L=(G=function(e,r,o){return e+(o?"-":"")+r.toLowerCase()},function(e){return function(e,r,o){for(var t=-1,a=e?e.length:0;++t<a;)o=r(o,e[t],t,e);return o}(function(e){return function(e){return F.test(e)}(e=O(e))?function(e){return e.match($)||[]}(e):function(e){return e.match(a)||[]}(e)}(function(e){return(e=O(e))&&e.replace(n,D).replace(I,"")}(e).replace(A,"")),G,"")});e.exports=L}},B={};function W(e){var r=B[e];if(void 0!==r)return r.exports;var o=B[e]={id:e,loaded:!1,exports:{}};return E[e](o,o.exports,W),o.loaded=!0,o.exports}W.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return W.d(r,{a:r}),r},W.d=(e,r)=>{for(var o in r)W.o(r,o)&&!W.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},W.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),W.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),W.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var j=W(89);W.n(j);JSON.parse('{"brand":{"base":{"dark":"rgba(20, 6, 17, 1)","light":"rgba(255, 255, 255, 1)"},"accent":{"dark":"rgba(255, 214, 210, 1)","light":"rgba(100, 30, 85, 1)"}},"icon":{"symbol":"","wordmark":""},"color":{"role":{"focusRing":"{color.role.transparent.50}","overlay":"rgba(0, 0, 0, 0.75)","background":{"1":"{color.generated.scale.1}","2":"{color.generated.scale.2}","3":"{color.generated.scale.3}","4":"{color.generated.scale.4}","5":"{color.generated.scale.5}","6":"{color.generated.scale.6}","base":"{color.role.background.1}","inverse":"{color.generated.foreground.base}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"positive":{"strong":"{color.generated.positive.strong}","base":"{color.generated.positive.base}","soft":"{color.generated.positive.soft}","stronger":"{color.generated.positive.stronger}","softer":"{color.generated.positive.softer}","softest":"{color.generated.positive.softest}"},"warning":{"strong":"{color.generated.warning.strong}","base":"{color.generated.warning.base}","soft":"{color.generated.warning.soft}","stronger":"{color.generated.warning.stronger}","softer":"{color.generated.warning.softer}","softest":"{color.generated.warning.softest}"},"critical":{"strong":"{color.generated.critical.strong}","base":"{color.generated.critical.base}","soft":"{color.generated.critical.soft}","stronger":"{color.generated.critical.stronger}","softer":"{color.generated.critical.softer}","softest":"{color.generated.critical.softest}"},"informative":{"strong":"{color.generated.informative.strong}","base":"{color.generated.informative.base}","soft":"{color.generated.informative.soft}","stronger":"{color.generated.informative.stronger}","softer":"{color.generated.informative.softer}","softest":"{color.generated.informative.softest}"}},"foreground":{"base":"{color.generated.foreground.base}","soft":"{color.generated.foreground.soft}","softer":"{color.generated.foreground.softer}","onPrimary":"{color.generated.background.base}","inverse":"{color.generated.background.base}","neutral":"{color.generated.foreground.base}","positive":"{color.generated.positive.base}","warning":"{color.generated.warning.base}","critical":"{color.generated.critical.base}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"informative":"{color.generated.informative.base}"},"border":{"1":"{color.generated.scale.1}","2":"{color.generated.scale.2}","3":"{color.generated.scale.3}","4":"{color.generated.scale.4}","5":"{color.generated.scale.5}","6":"{color.generated.scale.6}","base":"{color.generated.scale.5}","strong":"{color.generated.foreground.soft}","stronger":"{color.generated.foreground.softer}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"positive":{"strong":"{color.generated.positive.strong}","base":"{color.generated.positive.base}","soft":"{color.generated.positive.soft}","stronger":"{color.generated.positive.stronger}","softer":"{color.generated.positive.softer}","softest":"{color.generated.positive.softest}"},"warning":{"strong":"{color.generated.warning.strong}","base":"{color.generated.warning.base}","soft":"{color.generated.warning.soft}","stronger":"{color.generated.warning.stronger}","softer":"{color.generated.warning.softer}","softest":"{color.generated.warning.softest}"},"critical":{"strong":"{color.generated.critical.strong}","base":"{color.generated.critical.base}","soft":"{color.generated.critical.soft}","stronger":"{color.generated.critical.stronger}","softer":"{color.generated.critical.softer}","softest":"{color.generated.critical.softest}"}},"identifier":{"blue":"{color.generated.identifier.blue}","pink":"{color.generated.identifier.pink}","indigo":"{color.generated.identifier.indigo}","teal":"{color.generated.identifier.teal}","green":"{color.generated.identifier.green}","orange":"{color.generated.identifier.orange}","red":"{color.generated.identifier.red}","yellow":"{color.generated.identifier.yellow}","gray":"{color.generated.identifier.gray}"},"link":{"default":"{color.generated.accent.base}","hover":"{color.generated.accent.stronger}"},"transparent":{"0":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.001}]},"8":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.08}]},"12":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.12}]},"18":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.18}]},"32":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.32}]},"50":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.5}]}}},"generated":{"scale":{"1":"{color.generated.background.base}","2":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.06}]},"3":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.12}]},"4":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.18}]},"5":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.24}]},"6":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.3}]}},"foreground":{"soft":{"_inputs":["{color.generated.background.base}",{"color":"{color.generated.foreground.base}","alpha":0.75}]},"softer":{"_inputs":["{color.generated.background.base}",{"color":"{color.generated.foreground.base}","alpha":0.6}]}}},"enterprise":{"contextMenu":{"background":"{color.role.background.base}","border":"{color.role.border.base}"},"contextMenuItem":{"divider":"{color.role.border.3}","heading":"{color.role.foreground.soft}","default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","active":"{color.role.background.3}","focus":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}"}},"critical":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.critical.softest}","active":"{color.role.background.critical.softest}","focus":"{color.role.background.critical.softest}"},"text":{"default":"{color.role.foreground.critical}","hover":"{color.role.foreground.critical}","active":"{color.role.foreground.critical}","focus":"{color.role.foreground.critical}"},"icon":{"default":"{color.role.foreground.critical}","hover":"{color.role.foreground.critical}","active":"{color.role.foreground.critical}","focus":"{color.role.foreground.critical}"}}},"view":{"border":"{color.role.border.base}"},"viewSplitter":{"default":"{color.role.transparent.0}","hover":"{color.role.background.6}"},"window":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"topChrome":{"border":"{color.role.border.base}"},"topTab":{"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.accent.base}","selected":"{color.role.foreground.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.topTab.background.default}","hover":"{color.enterprise.topTab.background.hover}","selected":"{color.enterprise.topTab.background.selected}"},"middle":{"default":{"_inputs":["{color.enterprise.topTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.topTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]},"selected":{"_inputs":["{color.enterprise.topTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.topTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.topTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]},"selected":{"_inputs":["{color.enterprise.topTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0}]}}},"unsavedIcon":"{color.role.foreground.base}","loader":"{color.role.foreground.base}"},"viewTab":{"border":{"selected":"{color.role.foreground.base}","dragging":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","inactive":"{color.role.foreground.soft}","selected":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.viewTab.background.default}","hover":"{color.enterprise.viewTab.background.hover}","active":"{color.enterprise.viewTab.background.active}","selected":"{color.enterprise.viewTab.background.selected}"},"middle":{"default":{"_inputs":["{color.enterprise.viewTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.viewTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]},"selected":{"_inputs":["{color.enterprise.viewTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.viewTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.viewTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]},"selected":{"_inputs":["{color.enterprise.viewTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0}]}}},"loader":"{color.role.foreground.base}"},"command":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}"},"shortcutKey":{"background":"{color.role.background.4}","icon":"{color.role.foreground.base}"},"searchBar":{"border":{"default":"{color.role.border.base}","hover":"{color.role.border.6}","active":"{color.role.border.6}","focus":"{color.role.border.strong}"},"icon":{"default":"{color.role.foreground.base}"},"value":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.searchBar.background.default}","hover":"{color.enterprise.searchBar.background.hover}"},"middle":{"default":{"_inputs":["{color.enterprise.searchBar.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.searchBar.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.searchBar.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.searchBar.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]}}}},"searchMenu":{"background":"{color.role.background.base}","border":"{color.role.border.base}","commandBar":"{color.role.background.2}","banner":"{color.role.background.2}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"searchResult":{"icon":"{color.shared.icon.accent}","iconBackground":{"default":"{color.role.background.2}","selected":"{color.role.background.1}"},"heading":"{color.role.foreground.soft}","title":"{color.role.foreground.base}","description":"{color.role.foreground.soft}","link":"{color.role.link.default}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.4}"}},"progressIndicator":{"container":"{color.role.transparent.18}","fill":"{color.role.foreground.accent.base}"},"sidePanel":{"background":{"_value":"{color.role.background.base}","transparent":{"_inputs":["{color.enterprise.sidePanel.background}"],"_transforms":[{"type":"alpha","amount":0}]}},"border":"{color.role.border.base}","icon":"{color.role.foreground.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}","softer":"{color.role.foreground.softer}"}},"listItem":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"iconBackground":{"default":"{color.role.background.3}","hover":"{color.role.background.3}"}},"prompt":{"text":"{color.role.foreground.base}","icon":"{color.role.foreground.base}","iconBackground":"{color.role.background.base}","editBorder":"{color.role.border.base}","background":{"default":"{color.role.background.3}","hover":"{color.role.background.4}"}},"composer":{"background":"{color.role.background.2}","border":"{color.role.border.base}","placeholder":"{color.role.foreground.soft}","text":"{color.role.foreground.base}"},"skeletonLoader":{"background":"{color.role.background.2}","template":{"start":{"_inputs":["{color.role.background.3}"],"_transforms":[{"type":"alpha","amount":0}]},"middle":"{color.role.background.4}","end":{"_inputs":["{color.role.background.3}"],"_transforms":[{"type":"alpha","amount":0}]}}},"searchFilter":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.accent.softer}","selectedHover":"{color.role.background.accent.soft}"},"border":{"default":"{color.role.border.3}","hover":"{color.role.border.3}","selected":"{color.role.border.accent.base}","selectedHover":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"}},"searchTab":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}","selected":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"indicator":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}"}},"featuredContentItem":{"background":{"default":"{color.role.background.2}","hover":"{color.role.background.4}","selected":"{color.role.background.4}"},"text":{"default":"{color.role.foreground.base}"}}},"shared":{"overlay":"{color.role.overlay}","focusRing":"{color.role.focusRing}","watermark":"{color.role.transparent.50}","modal":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"listItem":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"iconBackground":{"default":"{color.role.background.3}","hover":"{color.role.background.3}","selected":"{color.role.background.3}"}},"card":{"text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"background":{"default":"{color.role.background.base}","hover":"{color.role.background.base}","selected":"{color.role.background.base}","loading":"rgba(255, 255, 255, 1)"},"border":{"default":"{color.role.border.3}","hover":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"shadow":{"default":"{color.role.transparent.8}","hover":"{color.role.transparent.12}"}},"banner":{"positive":{"background":"{color.role.background.positive.soft}","border":"{color.role.border.positive.base}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.positive}"},"warning":{"background":"{color.role.background.warning.strong}","border":"{color.role.border.warning.base}","text":"{color.role.foreground.inverse}","icon":"{color.role.foreground.warning}"},"critical":{"background":"{color.role.background.critical.soft}","border":"{color.role.border.critical.base}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.critical}"}},"button":{"default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","selected":"{color.role.background.accent.softer}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.base}","pressed":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"focusRing":"{color.role.focusRing}"},"primary":{"background":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.strong}","pressed":"{color.role.background.accent.stronger}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}","pressed":"{color.role.foreground.onPrimary}"},"text":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}"},"focusRing":"{color.role.background.accent.soft}"},"subtle":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"}},"critical":{"background":{"default":"{color.role.background.critical.base}","hover":"{color.role.background.critical.strong}","pressed":"{color.role.background.critical.stronger}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.inverse}","hover":"{color.role.foreground.inverse}","pressed":"{color.role.foreground.inverse}"},"text":{"default":"{color.role.foreground.inverse}","hover":"{color.role.foreground.inverse}"},"focusRing":"{color.role.background.critical.soft}"},"ghost":{"icon":{"default":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.background.accent.strong}"},"background":"{color.role.transparent.0}"}},"iconButton":{"ghost":{"icon":{"default":"{color.role.foreground.base}"},"background":"{color.role.transparent.0}"},"primary":{"background":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.strong}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}","pressed":"{color.role.foreground.onPrimary}"},"focusRing":"{color.role.background.accent.soft}"},"subtle":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","pressed":"{color.role.foreground.soft}"}},"default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","selected":"{color.role.background.accent.softer}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.base}","pressed":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"focusRing":"{color.role.focusRing}"}},"icon":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}","error":"{color.role.foreground.critical}","background3":"{color.role.background.3}","background1":"{color.role.background.1}","accent":"{color.role.foreground.accent.base}","border":"{color.role.foreground.base}","accentTransparent":{"_inputs":["{color.shared.icon.accent}"],"_transforms":[{"type":"alpha","amount":0.16}]}},"dock":{"background":"{color.role.background.base}","dragIndicator":"{color.role.foreground.soft}","border":"{color.role.border.base}"},"indicator":{"text":"{color.role.foreground.inverse}","background":{"blue":"{color.role.identifier.blue}","orange":"{color.role.identifier.orange}","indigo":"{color.role.identifier.indigo}","pink":"{color.role.identifier.pink}","yellow":"{color.role.identifier.yellow}","green":"{color.role.identifier.green}","teal":"{color.role.identifier.teal}","red":"{color.role.identifier.red}","expired":"{color.role.background.6}","transparent":"{color.role.transparent.0}"}},"notification":{"background":"{color.role.background.3}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"placementOption":{"text":{"default":"{color.role.foreground.base}"},"backdrop":"{color.role.background.2}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}","selected":"{color.role.background.6}"},"previewObject":{"default":"{color.role.background.5}","hover":"{color.role.background.accent.base}","selected":"{color.role.background.accent.base}"}},"platformSelector":{"underline":"{color.role.border.base}"},"notificationCenter":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"icon":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"toggle":{"track":{"off":"{color.role.transparent.32}","on":"{color.role.background.accent.base}"},"thumb":{"off":"{color.role.foreground.base}","on":"{color.role.foreground.onPrimary}"}},"colorChannel":{"blue":"{color.role.identifier.blue}","pink":"{color.role.identifier.pink}","indigo":"{color.role.identifier.indigo}","teal":"{color.role.identifier.teal}","green":"{color.role.identifier.green}","orange":"{color.role.identifier.orange}","red":"{color.role.identifier.red}","yellow":"{color.role.identifier.yellow}","gray":"{color.role.identifier.gray}","unlink":"{color.role.foreground.base}","selected":"{color.role.background.base}"},"dropzone":{"border":"{color.role.border.accent.base}","background":{"_inputs":["{color.role.background.accent.base}"],"_transforms":[{"type":"alpha","amount":0.25}]}},"form":{"label":"{color.role.foreground.base}","helpIcon":"{color.role.foreground.soft}","optionalDot":"{color.role.foreground.critical}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","focus":"{color.role.transparent.0}","filled":"{color.role.transparent.0}","error":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.6}","focus":"{color.role.border.strong}","filled":"{color.role.border.base}","error":"{color.role.border.critical.base}","selected":"{color.role.border.accent.base}"},"placeholder":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}"},"icon":{"default":"{color.role.foreground.soft}","focus":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","focus":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"errorMessage":{"background":"{color.role.background.critical.softest}","text":"{color.role.foreground.critical}","icon":"{color.role.foreground.critical}"},"focusRing":"{color.role.border.accent.soft}","hint":"{color.role.foreground.softer}"},"scrollBar":{"area":"{color.role.transparent.32}","bar":"{color.role.transparent.50}"}},"coreui":{"home":{"background":"{color.role.background.2}","border":"{color.role.border.4}"},"homeInput":{"background":{"default":"{color.role.background.4}","hover":"{color.role.background.4}","active":"{color.role.background.4}","focus":"{color.role.background.4}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"border":{"active":"{color.role.border.base}","focus":"{color.role.border.base}"}},"homeResult":{"icon":"{color.role.foreground.base}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.6}","launching":"{color.role.background.6}"},"title":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}","launching":"{color.role.foreground.base}"},"description":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}","launching":"{color.role.foreground.base}"}},"homeTemplate":{"background":"{color.role.background.3}","icon":"{color.role.foreground.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"homeCard":{"background":"{color.role.background.3}"},"homeHotkey":{"background":"{color.role.background.6}","icon":"{color.role.foreground.base}","text":"{color.role.foreground.base}"},"homeText":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"store":{"background":"{color.role.background.2}"},"storeBanner":{"background":"{color.role.background.accent.base}","button":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.base}"},"text":{"default":"{color.role.foreground.accent.base}","hover":"{color.role.background.accent.base}"},"icon":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.base}"}},"header":{"title":"{color.role.foreground.onPrimary}","description":"{color.role.foreground.onPrimary}"}},"storeInput":{"background":{"default":"{color.role.background.4}","hover":"{color.role.background.4}","active":"{color.role.background.4}","filled":"{color.role.background.4}","error":"{color.role.background.4}"},"border":{"active":"{color.role.border.base}","focus":"{color.role.border.base}","error":"{color.role.border.critical.base}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","filled":"{color.role.foreground.base}","error":"{color.role.foreground.critical}"},"icon":"{color.role.foreground.base}"},"storeSidebar":{"background":"{color.role.background.3}","header":"{color.role.foreground.base}"},"storeCard":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}"},"title":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"description":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"}},"storeMenuItem":{"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}"},"category":"{color.role.foreground.soft}"},"storeFooter":{"link":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"tagline":"{color.role.foreground.base}","icon":"{color.role.foreground.base}"},"browser":{"background":"{color.role.background.1}","border":"{color.role.border.base}"},"browserTopBar":{"background":"{color.role.background.2}","border":"{color.role.border.base}"},"browserToolbarIcon":{"default":"{color.role.foreground.base}","focus":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}","active":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","background":{"default":"{color.role.transparent.0}","focus":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}","active":"{color.role.transparent.0}","hover":"{color.role.background.4}"}},"browserViewSplitter":{"default":"{color.role.background.1}","hover":"{color.role.background.3}"},"browserPageTab":{"text":{"default":"{color.role.foreground.base}","selected":"{color.role.background.base}"},"background":{"default":"{color.role.background.4}","selected":"{color.role.background.accent.base}"},"icon":{"default":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}"}},"browserViewTab":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","active":"{color.role.background.2}","focus":"{color.role.background.2}"},"text":{"default":"{color.role.foreground.base}"},"border":{"active":"{color.role.border.5}","focus":"{color.role.border.5}"},"icon":"{color.role.foreground.base}"},"browserView":{"border":{"default":"{color.role.transparent.0}","focus":"{color.role.border.base}","green":"{color.role.identifier.green}","purple":"{color.role.identifier.indigo}","orange":"{color.role.identifier.orange}","red":"{color.role.identifier.red}","pink":"{color.role.identifier.pink}","yellow":"{color.role.identifier.yellow}"},"icon":"{color.role.foreground.base}"}},"admin":{"1":"#ffffff","color":"#ffffff","color2":"#ffffff"},"_utilities":{"green":"{color.role.background.positive.base}","red":"{color.role.background.critical.base}","appBackground1":"{color.role.background.1}","loader":"#e3e1e200","dataViz":{"linePlot":"{color.role.border.accent.base}"},"teamsProfiles":{"text":{"red":"#76213e","green":"#164229","yellow":"#805d0b","orange":"#56392b","purple":"#282155","blue":"#0f3157"},"background":{"red":"#f5d4df","green":"#cfe0d6","yellow":"#fdefca","orange":"#e8ddd9","purple":"#d6d4e9","blue":"#cddaea"}},"appBackground2":"{color.role.background.2}","appBackground3":"{color.role.background.3}"}},"colorPrimitives":{"green":{"50":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.green.base}","600":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"blue":{"50":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.blue.base}","600":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"indigo":{"50":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.indigo.base}","600":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"pink":{"50":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.pink.base}","600":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"orange":{"50":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.orange.base}","600":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"teal":{"50":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.teal.base}","600":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"red":{"50":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.red.base}","600":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"yellow":{"50":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.yellow.base}","600":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"gray":{"50":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.gray.base}","600":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}}}}'),JSON.parse('{"colorPrimitives":{"green":{"base":"rgba(3, 227, 156, 1)"},"blue":{"base":"rgba(31, 169, 255, 1)"},"indigo":{"base":"rgba(147, 133, 255, 1)"},"pink":{"base":"rgba(240, 163, 222, 1)"},"orange":{"base":"rgba(254, 159, 108, 1)"},"teal":{"base":"rgba(72, 224, 224, 1)"},"red":{"base":"rgba(250, 102, 105, 1)"},"yellow":{"base":"rgba(250, 214, 127, 1)"},"gray":{"base":"rgba(156, 160, 160, 1)"}},"brand":{"accent":{"100":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.8}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"200":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.7}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"300":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.6}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"400":"{brand.accent.dark}","500":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.light}","alpha":0.6}]}},"status":{"positive":{"100":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.green.500}","500":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"warning":{"100":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.yellow.500}","500":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"critical":{"100":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.red.500}","500":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"informative":{"100":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.blue.500}","500":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.6}]}}}},"color":{"generated":{"accent":{"stronger":"{brand.accent.600}","strong":"{brand.accent.500}","base":"{brand.accent.400}","soft":"{brand.accent.300}","softer":"{brand.accent.200}","softest":"{brand.accent.100}"},"background":{"base":"{brand.base.dark}"},"foreground":{"base":"{brand.base.light}"},"identifier":{"blue":"{colorPrimitives.blue.500}","pink":"{colorPrimitives.pink.500}","indigo":"{colorPrimitives.indigo.500}","teal":"{colorPrimitives.teal.500}","green":"{colorPrimitives.green.500}","orange":"{colorPrimitives.orange.500}","red":"{colorPrimitives.red.500}","yellow":"{colorPrimitives.yellow.500}","gray":"{colorPrimitives.gray.500}"},"positive":{"strong":"{brand.status.positive.500}","base":"{brand.status.positive.400}","soft":"{brand.status.positive.300}","stronger":"{brand.status.positive.600}","softer":"{brand.status.positive.200}","softest":"{brand.status.positive.100}"},"warning":{"strong":"{brand.status.warning.500}","base":"{brand.status.warning.400}","soft":"{brand.status.warning.300}","stronger":"{brand.status.warning.600}","softer":"{brand.status.warning.200}","softest":"{brand.status.warning.100}"},"critical":{"strong":"{brand.status.critical.500}","base":"{brand.status.critical.400}","soft":"{brand.status.critical.300}","stronger":"{brand.status.critical.600}","softer":"{brand.status.critical.200}","softest":"{brand.status.critical.100}"},"informative":{"strong":"{brand.status.informative.500}","base":"{brand.status.informative.400}","soft":"{brand.status.informative.300}","stronger":"{brand.status.informative.600}","softer":"{brand.status.informative.200}","softest":"{brand.status.informative.100}"}},"shared":{"button":{"ghost":{"icon":{"hover":"{color.role.background.accent.base}","active":"{color.role.background.accent.strong}"},"text":{"pressed":"{color.role.background.accent.strong}"}}},"iconButton":{"ghost":{"icon":{"hover":"{color.role.background.accent.base}","pressed":"{color.role.background.accent.strong}"}}}},"coreui":{"homeInput":{"border":{"default":"{color.role.border.6}","hover":"{color.role.border.6}"}},"storeInput":{"border":{"default":"{color.role.border.4}","hover":"{color.role.border.4}"}}},"role":{"border":{"stronger":"{color.role.foreground.soft}","strong":"{color.role.foreground.softer}"}},"enterprise":{"contextMenuItem":{"default":{"hint":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}"}}},"view":{"background":"{color.role.background.3}"},"topChrome":{"background":"{color.role.background.base}"},"logo":{"background":"{brand.accent.dark}","foreground":"{brand.accent.light}"},"topTab":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.3}","selected":"{color.role.background.3}","dragging":"{color.role.background.3}"}},"viewTab":{"background":{"default":"{color.role.background.3}","hover":"{color.role.background.5}","active":"{color.role.background.5}","selected":"{color.role.background.5}","dragging":"{color.role.background.5}"}},"searchBar":{"background":{"default":"{color.role.background.3}","hover":"{color.role.background.4}","active":"{color.role.background.3}","focus":"{color.role.background.3}"}},"searchResult":{"background":{"hover":"{color.role.background.4}"}}}}}'),JSON.parse('{"colorPrimitives":{"green":{"base":"rgba(1, 126, 86, 1)"},"blue":{"base":"rgba(0, 113, 184, 1)"},"indigo":{"base":"rgba(83, 61, 255, 1)"},"pink":{"base":"rgba(215, 15, 167, 1)"},"orange":{"base":"rgba(208, 74, 1, 1)"},"teal":{"base":"rgba(22, 131, 131, 1)"},"red":{"base":"rgba(206, 8, 10, 1)"},"yellow":{"base":"rgba(155, 111, 3, 1)"},"gray":{"base":"rgba(104, 109, 110, 1)"}},"brand":{"accent":{"100":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.6}],"_transforms":[{"type":"lighten","amount":0.2},{"type":"saturate","amount":0.1}]},"200":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.5}],"_transforms":[{"type":"lighten","amount":0.2},{"type":"saturate","amount":0.1}]},"300":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.6}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"400":"{brand.accent.light}","500":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.dark}","alpha":0.6}]}},"status":{"positive":{"100":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.green.500}","500":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"warning":{"100":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.yellow.500}","500":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"critical":{"100":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.red.500}","500":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"informative":{"100":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.blue.500}","500":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.6}]}}}},"color":{"generated":{"accent":{"stronger":"{brand.accent.600}","strong":"{brand.accent.500}","base":"{brand.accent.400}","soft":"{brand.accent.300}","softer":"{brand.accent.200}","softest":"{brand.accent.100}"},"background":{"base":"{brand.base.light}"},"foreground":{"base":"{brand.base.dark}"},"identifier":{"blue":"{colorPrimitives.blue.500}","pink":"{colorPrimitives.pink.500}","indigo":"{colorPrimitives.indigo.500}","teal":"{colorPrimitives.teal.500}","green":"{colorPrimitives.green.500}","orange":"{colorPrimitives.orange.500}","red":"{colorPrimitives.red.500}","yellow":"{colorPrimitives.yellow.400}","gray":"{colorPrimitives.gray.500}"},"positive":{"strong":"{brand.status.positive.500}","base":"{brand.status.positive.400}","soft":"{brand.status.positive.300}","stronger":"{brand.status.positive.600}","softer":"{brand.status.positive.200}","softest":"{brand.status.positive.100}"},"warning":{"strong":"{brand.status.warning.500}","base":"{brand.status.warning.400}","soft":"{brand.status.warning.300}","stronger":"{brand.status.warning.600}","softer":"{brand.status.warning.200}","softest":"{brand.status.warning.100}"},"critical":{"strong":"{brand.status.critical.500}","base":"{brand.status.critical.400}","soft":"{brand.status.critical.300}","stronger":"{brand.status.critical.600}","softer":"{brand.status.critical.200}","softest":"{brand.status.critical.100}"},"informative":{"strong":"{brand.status.informative.500}","base":"{brand.status.informative.400}","soft":"{brand.status.informative.300}","stronger":"{brand.status.informative.600}","softer":"{brand.status.informative.200}","softest":"{brand.status.informative.100}"}},"shared":{"button":{"ghost":{"icon":{"hover":"{color.role.background.accent.strong}","active":"{color.role.background.accent.stronger}"},"text":{"pressed":"{color.role.background.accent.stronger}"}}},"iconButton":{"ghost":{"icon":{"hover":"{color.role.background.accent.strong}","pressed":"{color.role.background.accent.stronger}"}}}},"coreui":{"homeInput":{"border":{"default":"{color.role.border.4}","hover":"{color.role.border.4}"}},"storeInput":{"border":{"default":"{color.role.border.6}","hover":"{color.role.border.6}"}}},"role":{"border":{"stronger":"{color.generated.foreground.soft}","strong":"{color.generated.foreground.softer}"}},"enterprise":{"contextMenuItem":{"default":{"hint":{"default":"{color.role.foreground.softer}","hover":"{color.role.foreground.softer}","active":"{color.role.foreground.softer}","focus":"{color.role.foreground.softer}"}}},"view":{"background":"{color.role.background.1}"},"topChrome":{"background":"{color.role.background.2}"},"topTab":{"background":{"default":"{color.role.background.2}","hover":"{color.role.background.1}","selected":"{color.role.background.1}","dragging":"{color.role.background.1}"}},"logo":{"background":"{brand.accent.light}","foreground":"{brand.accent.dark}"},"viewTab":{"background":{"default":"{color.role.background.1}","hover":"{color.role.background.3}","active":"{color.role.background.3}","selected":"{color.role.background.3}","dragging":"{color.role.background.3}"}},"searchBar":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.3}","active":"{color.role.background.base}","focus":"{color.role.background.base}"}}}}}');var O=W(436);W.n(O);const G=(e,r)=>{if("number"==typeof e)return 3===r?{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|240&e)/255,b:(15&e|e<<4&240)/255}:4===r?{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|240&e)/255,alpha:(15&e|e<<4&240)/255}:6===r?{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(255&e)/255}:8===r?{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(255&e)/255}:void 0},L={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},H=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,U="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",N=`${U}%`,V=`(?:${U}%|${U})`,q=`(?:${U}(deg|grad|rad|turn)|${U})`,Z="\\s*,\\s*",K=(new RegExp(`^(?:${U}%|${U}|none)$`),new RegExp(`^rgba?\\(\\s*${U}${Z}${U}${Z}${U}\\s*(?:,\\s*${V}\\s*)?\\)$`)),Y=new RegExp(`^rgba?\\(\\s*${N}${Z}${N}${Z}${N}\\s*(?:,\\s*${V}\\s*)?\\)$`),J=(e="rgb")=>r=>void 0!==(r=((e,r)=>void 0===e?void 0:"object"!=typeof e?Me(e):void 0!==e.mode?e:r?{...e,mode:r}:void 0)(r,e))?r.mode===e?r:Q[r.mode][e]?Q[r.mode][e](r):"rgb"===e?Q[r.mode].rgb(r):Q.rgb[e](Q[r.mode].rgb(r)):void 0,Q={},X={},ee=[],re={},oe=e=>e,te=e=>(Q[e.mode]={...Q[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(r=>{Q[r]||(Q[r]={}),Q[r][e.mode]=e.fromMode[r]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(r=>{if(void 0===e.ranges[r]&&(e.ranges[r]=[0,1]),!e.interpolate[r])throw new Error(`Missing interpolator for: ${r}`);"function"==typeof e.interpolate[r]&&(e.interpolate[r]={use:e.interpolate[r]}),e.interpolate[r].fixup||(e.interpolate[r].fixup=oe)}),X[e.mode]=e,(e.parse||[]).forEach(r=>{ne(r,e.mode)}),J(e.mode)),ae=e=>X[e],ne=(e,r)=>{if("string"==typeof e){if(!r)throw new Error("'mode' required when 'parser' is a string");re[e]=r}else"function"==typeof e&&ee.indexOf(e)<0&&ee.push(e)},le=/[^\x00-\x7F]|[a-zA-Z_]/,ie=/[^\x00-\x7F]|[-\w]/,se="function",ce="ident",de="number",ue="percentage",ge="none",be="hue",he="alpha";let fe=0;function pe(e){let r=e[fe],o=e[fe+1];return"-"===r||"+"===r?/\d/.test(o)||"."===o&&/\d/.test(e[fe+2]):/\d/.test("."===r?o:r)}function ve(e){if(fe>=e.length)return!1;let r=e[fe];if(le.test(r))return!0;if("-"===r){if(e.length-fe<2)return!1;let r=e[fe+1];return!("-"!==r&&!le.test(r))}return!1}const me={deg:1,rad:180/Math.PI,grad:.9,turn:360};function ke(e){let r="";if("-"!==e[fe]&&"+"!==e[fe]||(r+=e[fe++]),r+=ye(e),"."===e[fe]&&/\d/.test(e[fe+1])&&(r+=e[fe++]+ye(e)),"e"!==e[fe]&&"E"!==e[fe]||("-"!==e[fe+1]&&"+"!==e[fe+1]||!/\d/.test(e[fe+2])?/\d/.test(e[fe+1])&&(r+=e[fe++]+ye(e)):r+=e[fe++]+e[fe++]+ye(e)),ve(e)){let o=we(e);return"deg"===o||"rad"===o||"turn"===o||"grad"===o?{type:be,value:r*me[o]}:void 0}return"%"===e[fe]?(fe++,{type:ue,value:+r}):{type:de,value:+r}}function ye(e){let r="";for(;/\d/.test(e[fe]);)r+=e[fe++];return r}function we(e){let r="";for(;fe<e.length&&ie.test(e[fe]);)r+=e[fe++];return r}function Pe(e){let r=we(e);return"("===e[fe]?(fe++,{type:se,value:r}):"none"===r?{type:ge,value:void 0}:{type:ce,value:r}}function _e(e,r){const o=[];let t;for(;e._i<e.length;)if(t=e[e._i++],t.type===ge||t.type===de||t.type===he||t.type===ue||r&&t.type===be)o.push(t);else{if(")"!==t.type)return;if(e._i<e.length)return}if(!(o.length<3||o.length>4)){if(4===o.length){if(o[3].type!==he)return;o[3]=o[3].value}return 3===o.length&&o.push({type:ge,value:void 0}),o.every(e=>e.type!==he)?o:void 0}}const Me=e=>{if("string"!=typeof e)return;const r=function(e=""){let r,o=e.trim(),t=[];for(fe=0;fe<o.length;)if(r=o[fe++],"\n"!==r&&"\t"!==r&&" "!==r){if(","===r)return;if(")"!==r){if("+"===r){if(fe--,pe(o)){t.push(ke(o));continue}return}if("-"===r){if(fe--,pe(o)){t.push(ke(o));continue}if(ve(o)){t.push({type:ce,value:we(o)});continue}return}if("."===r){if(fe--,pe(o)){t.push(ke(o));continue}return}if("/"===r){for(;fe<o.length&&("\n"===o[fe]||"\t"===o[fe]||" "===o[fe]);)fe++;let e;if(pe(o)&&(e=ke(o),e.type!==be)){t.push({type:he,value:e});continue}if(ve(o)&&"none"===we(o)){t.push({type:he,value:{type:ge,value:void 0}});continue}return}if(/\d/.test(r))fe--,t.push(ke(o));else{if(!le.test(r))return;fe--,t.push(Pe(o))}}else t.push({type:")"})}else for(;fe<o.length&&("\n"===o[fe]||"\t"===o[fe]||" "===o[fe]);)fe++;return t}(e),o=r?function(e){e._i=0;let r=e[e._i++];if(!r||r.type!==se)return;let o=_e(e,!0);return o?(o.unshift(r.value),o):void 0}(r):void 0;let t,a=0,n=ee.length;for(;a<n;)if(void 0!==(t=ee[a++](e,o)))return t;return r?function(e){e._i=0;let r=e[e._i++];if(!r||r.type!==se||"color"!==r.value)return;if(r=e[e._i++],r.type!==ce)return;const o=re[r.value];if(!o)return;const t={mode:o},a=_e(e,!1);if(!a)return;const n=ae(o).channels;for(let e,r,o=0;o<n.length;o++)e=a[o],r=n[o],e.type!==ge&&(t[r]=e.type===de?e.value:e.value/100,"alpha"===r&&(t[r]=Math.max(0,Math.min(1,t[r]))));return t}(r):void 0},xe=(Se=(e,r,o)=>e+o*(r-e),e=>{let r=(e=>{let r=[];for(let o=0;o<e.length-1;o++){let t=e[o],a=e[o+1];void 0===t&&void 0===a?r.push(void 0):void 0!==t&&void 0!==a?r.push([t,a]):r.push(void 0!==t?[t,t]:[a,a])}return r})(e);return e=>{let o=e*r.length,t=e>=1?r.length-1:Math.max(Math.floor(o),0),a=r[t];return void 0===a?void 0:Se(a[0],a[1],o-t)}});var Se;const Ce=e=>{let r=!1,o=e.map(e=>void 0!==e?(r=!0,e):1);return r?o:e},Ae={mode:"rgb",channels:["r","g","b","alpha"],parse:[function(e,r){if(!r||"rgb"!==r[0]&&"rgba"!==r[0])return;const o={mode:"rgb"},[,t,a,n,l]=r;return t.type!==be&&a.type!==be&&n.type!==be?(t.type!==ge&&(o.r=t.type===de?t.value/255:t.value/100),a.type!==ge&&(o.g=a.type===de?a.value/255:a.value/100),n.type!==ge&&(o.b=n.type===de?n.value/255:n.value/100),l.type!==ge&&(o.alpha=Math.min(1,Math.max(0,l.type===de?l.value:l.value/100))),o):void 0},e=>{let r;return(r=e.match(H))?G(parseInt(r[1],16),r[1].length):void 0},e=>{let r,o={mode:"rgb"};if(r=e.match(K))void 0!==r[1]&&(o.r=r[1]/255),void 0!==r[2]&&(o.g=r[2]/255),void 0!==r[3]&&(o.b=r[3]/255);else{if(!(r=e.match(Y)))return;void 0!==r[1]&&(o.r=r[1]/100),void 0!==r[2]&&(o.g=r[2]/100),void 0!==r[3]&&(o.b=r[3]/100)}return void 0!==r[4]?o.alpha=Math.max(0,Math.min(1,r[4]/100)):void 0!==r[5]&&(o.alpha=Math.max(0,Math.min(1,+r[5]))),o},e=>G(L[e.toLowerCase()],6),e=>"transparent"===e?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,"srgb"],serialize:"srgb",interpolate:{r:xe,g:xe,b:xe,alpha:{use:xe,fixup:Ce}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},Ie=(e=0)=>Math.pow(Math.abs(e),563/256)*Math.sign(e),$e=e=>{let r=Ie(e.r),o=Ie(e.g),t=Ie(e.b),a={mode:"xyz65",x:.5766690429101305*r+.1855582379065463*o+.1882286462349947*t,y:.297344975250536*r+.6273635662554661*o+.0752914584939979*t,z:.0270313613864123*r+.0706888525358272*o+.9913375368376386*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},Fe=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),ze=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"a98",r:Fe(2.0415879038107465*e-.5650069742788597*r-.3447313507783297*o),g:Fe(-.9692436362808798*e+1.8759675015077206*r+.0415550574071756*o),b:Fe(.0134442806320312*e-.1183623922310184*r+1.0151749943912058*o)};return void 0!==t&&(a.alpha=t),a},Re=(e=0)=>{const r=Math.abs(e);return r<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((r+.055)/1.055,2.4)},Te=({r:e,g:r,b:o,alpha:t})=>{let a={mode:"lrgb",r:Re(e),g:Re(r),b:Re(o)};return void 0!==t&&(a.alpha=t),a},De=e=>{let{r,g:o,b:t,alpha:a}=Te(e),n={mode:"xyz65",x:.4123907992659593*r+.357584339383878*o+.1804807884018343*t,y:.2126390058715102*r+.715168678767756*o+.0721923153607337*t,z:.0193308187155918*r+.119194779794626*o+.9505321522496607*t};return void 0!==a&&(n.alpha=a),n},Ee=(e=0)=>{const r=Math.abs(e);return r>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(r,1/2.4)-.055):12.92*e},Be=({r:e,g:r,b:o,alpha:t},a="rgb")=>{let n={mode:a,r:Ee(e),g:Ee(r),b:Ee(o)};return void 0!==t&&(n.alpha=t),n},We=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Be({r:3.2409699419045226*e-1.537383177570094*r-.4986107602930034*o,g:-.9692436362808796*e+1.8759675015077204*r+.0415550574071756*o,b:.0556300796969936*e-.2039769588889765*r+1.0569715142428784*o});return void 0!==t&&(a.alpha=t),a},je={...Ae,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>ze(De(e)),xyz65:ze},toMode:{rgb:e=>We($e(e)),xyz65:$e}},Oe=e=>(e%=360)<0?e+360:e,Ge=e=>(e=>e.map((r,o,t)=>{if(void 0===r)return r;let a=Oe(r);return 0===o||void 0===e[o-1]?a:(e=>Math.abs(e)<=180?e:e-360*Math.sign(e))(a-Oe(t[o-1]))}).reduce((e,r)=>e.length&&void 0!==r&&void 0!==e[e.length-1]?(e.push(r+e[e.length-1]),e):(e.push(r),e),[]))(e),Le=[-.14861,1.78277,-.29227,-.90649,1.97294,0],He=Math.PI/180,Ue=180/Math.PI;let Ne=Le[3]*Le[4],Ve=Le[1]*Le[4],qe=Le[1]*Le[2]-Le[0]*Le[3];const Ze=(e,r)=>{if(void 0===e.h||void 0===r.h||!e.s||!r.s)return 0;let o=Oe(e.h),t=Oe(r.h),a=Math.sin((t-o+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*r.s)*a},Ke=(e,r)=>{if(void 0===e.h||void 0===r.h||!e.c||!r.c)return 0;let o=Oe(e.h),t=Oe(r.h),a=Math.sin((t-o+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*r.c)*a},Ye=e=>{let r=e.reduce((e,r)=>{if(void 0!==r){let o=r*Math.PI/180;e.sin+=Math.sin(o),e.cos+=Math.cos(o)}return e},{sin:0,cos:0}),o=180*Math.atan2(r.sin,r.cos)/Math.PI;return o<0?360+o:o},Je={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(qe*o+e*Ne-r*Ve)/(qe+Ne-Ve),n=o-a,l=(Le[4]*(r-a)-Le[2]*n)/Le[3],i={mode:"cubehelix",l:a,s:0===a||1===a?void 0:Math.sqrt(n*n+l*l)/(Le[4]*a*(1-a))};return i.s&&(i.h=Math.atan2(l,n)*Ue-120),void 0!==t&&(i.alpha=t),i}},toMode:{rgb:({h:e,s:r,l:o,alpha:t})=>{let a={mode:"rgb"};e=(void 0===e?0:e+120)*He,void 0===o&&(o=0);let n=void 0===r?0:r*o*(1-o),l=Math.cos(e),i=Math.sin(e);return a.r=o+n*(Le[0]*l+Le[1]*i),a.g=o+n*(Le[2]*l+Le[3]*i),a.b=o+n*(Le[4]*l+Le[5]*i),void 0!==t&&(a.alpha=t),a}},interpolate:{h:{use:xe,fixup:Ge},s:xe,l:xe,alpha:{use:xe,fixup:Ce}},difference:{h:Ze},average:{h:Ye}},Qe=({l:e,a:r,b:o,alpha:t},a="lch")=>{void 0===r&&(r=0),void 0===o&&(o=0);let n=Math.sqrt(r*r+o*o),l={mode:a,l:e,c:n};return n&&(l.h=Oe(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(l.alpha=t),l},Xe=({l:e,c:r,h:o,alpha:t},a="lab")=>{void 0===o&&(o=0);let n={mode:a,l:e,a:r?r*Math.cos(o/180*Math.PI):0,b:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(n.alpha=t),n},er=Math.pow(29,3)/Math.pow(3,3),rr=Math.pow(6,3)/Math.pow(29,3),or=.3457/.3585,tr=.2958/.3585,ar=.3127/.329,nr=.3583/.329;Math.pow(29,3),Math.pow(3,3),Math.pow(6,3),Math.pow(29,3);let lr=e=>Math.pow(e,3)>rr?Math.pow(e,3):(116*e-16)/er;const ir=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+16)/116,n=a-o/200,l={mode:"xyz65",x:lr(r/500+a)*ar,y:1*lr(a),z:lr(n)*nr};return void 0!==t&&(l.alpha=t),l},sr=e=>We(ir(e)),cr=e=>e>rr?Math.cbrt(e):(er*e+16)/116,dr=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=cr(e/ar),n=cr(r/1),l={mode:"lab65",l:116*n-16,a:500*(a-n),b:200*(n-cr(o/nr))};return void 0!==t&&(l.alpha=t),l},ur=e=>{let r=dr(De(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},gr=26/180*Math.PI,br=Math.cos(gr),hr=Math.sin(gr),fr=100/Math.log(1.39),pr=({l:e,c:r,h:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"lab65",l:(Math.exp(1*e/fr)-1)/.0039},n=(Math.exp(.0435*r*1*1)-1)/.075,l=n*Math.cos(o/180*Math.PI-gr),i=n*Math.sin(o/180*Math.PI-gr);return a.a=l*br-i/.83*hr,a.b=l*hr+i/.83*br,void 0!==t&&(a.alpha=t),a},vr=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=r*br+o*hr,n=.83*(o*br-r*hr),l=Math.sqrt(a*a+n*n),i={mode:"dlch",l:fr/1*Math.log(1+.0039*e),c:Math.log(1+.075*l)/.0435};return i.c&&(i.h=Oe((Math.atan2(n,a)+gr)/Math.PI*180)),void 0!==t&&(i.alpha=t),i},mr=e=>pr(Qe(e,"dlch")),kr=e=>Xe(vr(e),"dlab"),yr={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:mr,rgb:e=>sr(mr(e))},fromMode:{lab65:kr,rgb:e=>kr(ur(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:xe,a:xe,b:xe,alpha:{use:xe,fixup:Ce}}},wr=yr,Pr={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:pr,dlab:e=>Xe(e,"dlab"),rgb:e=>sr(pr(e))},fromMode:{lab65:vr,dlab:e=>Qe(e,"dlch"),rgb:e=>vr(ur(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:xe,c:xe,h:{use:xe,fixup:Ge},alpha:{use:xe,fixup:Ce}},difference:{h:Ke},average:{h:Ye}},_r=Pr,Mr={mode:"hsi",toMode:{rgb:function({h:e,s:r,i:o,alpha:t}){e=Oe(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:o*(1+r*(3/(2-n)-1)),g:o*(1+r*(3*(1-n)/(2-n)-1)),b:o*(1-r)};break;case 1:a={r:o*(1+r*(3*(1-n)/(2-n)-1)),g:o*(1+r*(3/(2-n)-1)),b:o*(1-r)};break;case 2:a={r:o*(1-r),g:o*(1+r*(3/(2-n)-1)),b:o*(1+r*(3*(1-n)/(2-n)-1))};break;case 3:a={r:o*(1-r),g:o*(1+r*(3*(1-n)/(2-n)-1)),b:o*(1+r*(3/(2-n)-1))};break;case 4:a={r:o*(1+r*(3*(1-n)/(2-n)-1)),g:o*(1-r),b:o*(1+r*(3/(2-n)-1))};break;case 5:a={r:o*(1+r*(3/(2-n)-1)),g:o*(1-r),b:o*(1+r*(3*(1-n)/(2-n)-1))};break;default:a={r:o*(1-r),g:o*(1-r),b:o*(1-r)}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:function({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),l={mode:"hsi",s:e+r+o===0?0:1-3*n/(e+r+o),i:(e+r+o)/3};return a-n!==0&&(l.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(l.alpha=t),l}},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:xe,fixup:Ge},s:xe,i:xe,alpha:{use:xe,fixup:Ce}},difference:{h:Ze},average:{h:Ye}},xr=Mr,Sr=new RegExp(`^hsla?\\(\\s*${q}${Z}${N}${Z}${N}\\s*(?:,\\s*${V}\\s*)?\\)$`),Cr={mode:"hsl",toMode:{rgb:function({h:e,s:r,l:o,alpha:t}){e=Oe(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=o+r*(o<.5?o:1-o),l=n-2*(n-o)*Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:n,g:l,b:2*o-n};break;case 1:a={r:l,g:n,b:2*o-n};break;case 2:a={r:2*o-n,g:n,b:l};break;case 3:a={r:2*o-n,g:l,b:n};break;case 4:a={r:l,g:2*o-n,b:n};break;case 5:a={r:n,g:2*o-n,b:l};break;default:a={r:2*o-n,g:2*o-n,b:2*o-n}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}},fromMode:{rgb:function({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),l={mode:"hsl",s:a===n?0:(a-n)/(1-Math.abs(a+n-1)),l:.5*(a+n)};return a-n!==0&&(l.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(l.alpha=t),l}},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,r){if(!r||"hsl"!==r[0]&&"hsla"!==r[0])return;const o={mode:"hsl"},[,t,a,n,l]=r;if(t.type!==ge){if(t.type===ue)return;o.h=t.value}if(a.type!==ge){if(a.type===be)return;o.s=a.value/100}if(n.type!==ge){if(n.type===be)return;o.l=n.value/100}return l.type!==ge&&(o.alpha=Math.min(1,Math.max(0,l.type===de?l.value:l.value/100))),o},e=>{let r=e.match(Sr);if(!r)return;let o={mode:"hsl"};return void 0!==r[3]?o.h=+r[3]:void 0!==r[1]&&void 0!==r[2]&&(o.h=((e,r)=>{switch(r){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return 360*e}})(r[1],r[2])),void 0!==r[4]&&(o.s=Math.min(Math.max(0,r[4]/100),1)),void 0!==r[5]&&(o.l=Math.min(Math.max(0,r[5]/100),1)),void 0!==r[6]?o.alpha=Math.max(0,Math.min(1,r[6]/100)):void 0!==r[7]&&(o.alpha=Math.max(0,Math.min(1,+r[7]))),o}],serialize:e=>`hsl(${void 0!==e.h?e.h:"none"} ${void 0!==e.s?100*e.s+"%":"none"} ${void 0!==e.l?100*e.l+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:xe,fixup:Ge},s:xe,l:xe,alpha:{use:xe,fixup:Ce}},difference:{h:Ze},average:{h:Ye}},Ar=Cr;function Ir({h:e,s:r,v:o,alpha:t}){e=Oe(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:o,g:o*(1-r*n),b:o*(1-r)};break;case 1:a={r:o*(1-r*n),g:o,b:o*(1-r)};break;case 2:a={r:o*(1-r),g:o,b:o*(1-r*n)};break;case 3:a={r:o*(1-r),g:o*(1-r*n),b:o};break;case 4:a={r:o*(1-r*n),g:o*(1-r),b:o};break;case 5:a={r:o,g:o*(1-r),b:o*(1-r*n)};break;default:a={r:o*(1-r),g:o*(1-r),b:o*(1-r)}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}function $r({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),l={mode:"hsv",s:0===a?0:1-n/a,v:a};return a-n!==0&&(l.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(l.alpha=t),l}const Fr={mode:"hsv",toMode:{rgb:Ir},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:$r},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:xe,fixup:Ge},s:xe,v:xe,alpha:{use:xe,fixup:Ce}},difference:{h:Ze},average:{h:Ye}},zr={mode:"hwb",toMode:{rgb:function({h:e,w:r,b:o,alpha:t}){if(void 0===r&&(r=0),void 0===o&&(o=0),r+o>1){let e=r+o;r/=e,o/=e}return Ir({h:e,s:1===o?1:1-r/(1-o),v:1-o,alpha:t})}},fromMode:{rgb:function(e){let r=$r(e);if(void 0===r)return;let o=void 0!==r.s?r.s:0,t=void 0!==r.v?r.v:0,a={mode:"hwb",w:(1-o)*t,b:1-t};return void 0!==r.h&&(a.h=r.h),void 0!==r.alpha&&(a.alpha=r.alpha),a}},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,r){if(!r||"hwb"!==r[0])return;const o={mode:"hwb"},[,t,a,n,l]=r;if(t.type!==ge){if(t.type===ue)return;o.h=t.value}if(a.type!==ge){if(a.type===be)return;o.w=a.value/100}if(n.type!==ge){if(n.type===be)return;o.b=n.value/100}return l.type!==ge&&(o.alpha=Math.min(1,Math.max(0,l.type===de?l.value:l.value/100))),o}],serialize:e=>`hwb(${void 0!==e.h?e.h:"none"} ${void 0!==e.w?100*e.w+"%":"none"} ${void 0!==e.b?100*e.b+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:xe,fixup:Ge},w:xe,b:xe,alpha:{use:xe,fixup:Ce}},difference:{h:(e,r)=>{if(void 0===e.h||void 0===r.h)return 0;let o=Oe(e.h),t=Oe(r.h);return Math.abs(t-o)>180?o-(t-360*Math.sign(t-o)):t-o}},average:{h:Ye}},Rr=zr,Tr=.1593017578125,Dr=78.84375,Er=.8359375,Br=18.8515625,Wr=18.6875;function jr(e){if(e<0)return 0;const r=Math.pow(e,1/Dr);return 1e4*Math.pow(Math.max(0,r-Er)/(Br-Wr*r),1/Tr)}function Or(e){if(e<0)return 0;const r=Math.pow(e/1e4,Tr);return Math.pow((Er+Br*r)/(1+Wr*r),Dr)}const Gr=e=>Math.max(e/203,0),Lr=({i:e,t:r,p:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a=jr(e+.008609037037932761*r+.11102962500302593*o),n=jr(e-.00860903703793275*r-.11102962500302599*o),l=jr(e+.5600313357106791*r-.32062717498731885*o),i={mode:"xyz65",x:Gr(2.070152218389422*a-1.3263473389671556*n+.2066510476294051*l),y:Gr(.3647385209748074*a+.680566024947227*n-.0453045459220346*l),z:Gr(-.049747207535812*a-.0492609666966138*n+1.1880659249923042*l)};return void 0!==t&&(i.alpha=t),i},Hr=(e=0)=>Math.max(203*e,0),Ur=({x:e,y:r,z:o,alpha:t})=>{const a=Hr(e),n=Hr(r),l=Hr(o),i=Or(.3592832590121217*a+.6976051147779502*n-.0358915932320289*l),s=Or(-.1920808463704995*a+1.1004767970374323*n+.0753748658519118*l),c=Or(.0070797844607477*a+.0748396662186366*n+.8433265453898765*l),d={mode:"itp",i:.5*i+.5*s,t:1.61376953125*i-3.323486328125*s+1.709716796875*c,p:4.378173828125*i-4.24560546875*s-.132568359375*c};return void 0!==t&&(d.alpha=t),d},Nr={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:Lr,rgb:e=>We(Lr(e))},fromMode:{xyz65:Ur,rgb:e=>Ur(De(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:xe,t:xe,p:xe,alpha:{use:xe,fixup:Ce}}},Vr=e=>{if(e<0)return 0;let r=Math.pow(e/1e4,Tr);return Math.pow((Er+Br*r)/(1+Wr*r),134.03437499999998)},qr=(e=0)=>Math.max(203*e,0),Zr=({x:e,y:r,z:o,alpha:t})=>{e=qr(e),r=qr(r);let a=1.15*e-.15*(o=qr(o)),n=.66*r+.34*e,l=Vr(.41478972*a+.579999*n+.014648*o),i=Vr(-.20151*a+1.120649*n+.0531008*o),s=Vr(-.0166008*a+.2648*n+.6684799*o),c=(l+i)/2,d={mode:"jab",j:.44*c/(1-.56*c)-16295499532821565e-27,a:3.524*l-4.066708*i+.542708*s,b:.199076*l+1.096799*i-1.295875*s};return void 0!==t&&(d.alpha=t),d},Kr=16295499532821565e-27,Yr=e=>{if(e<0)return 0;let r=Math.pow(e,.007460772656268216);return 1e4*Math.pow((Er-r)/(Wr*r-Br),1/Tr)},Jr=e=>e/203,Qr=({j:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+Kr)/(.44+.56*(e+Kr)),n=Yr(a+.13860504*r+.058047316*o),l=Yr(a-.13860504*r-.058047316*o),i=Yr(a-.096019242*r-.8118919*o),s={mode:"xyz65",x:Jr(1.661373024652174*n-.914523081304348*l+.23136208173913045*i),y:Jr(-.3250758611844533*n+1.571847026732543*l-.21825383453227928*i),z:Jr(-.090982811*n-.31272829*l+1.5227666*i)};return void 0!==t&&(s.alpha=t),s},Xr=e=>{let r=Zr(De(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},eo=e=>We(Qr(e)),ro={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:Xr,xyz65:Zr},toMode:{rgb:eo,xyz65:Qr},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:xe,a:xe,b:xe,alpha:{use:xe,fixup:Ce}}},oo=({j:e,a:r,b:o,alpha:t})=>{void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.sqrt(r*r+o*o),n={mode:"jch",j:e,c:a};return a&&(n.h=Oe(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(n.alpha=t),n},to=({j:e,c:r,h:o,alpha:t})=>{void 0===o&&(o=0);let a={mode:"jab",j:e,a:r?r*Math.cos(o/180*Math.PI):0,b:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(a.alpha=t),a},ao={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:to,rgb:e=>eo(to(e))},fromMode:{rgb:e=>oo(Xr(e)),jab:oo},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:xe,fixup:Ge},c:xe,j:xe,alpha:{use:xe,fixup:Ce}},difference:{h:Ke},average:{h:Ye}},no=ao,lo=Math.pow(29,3)/Math.pow(3,3),io=Math.pow(6,3)/Math.pow(29,3);let so=e=>Math.pow(e,3)>io?Math.pow(e,3):(116*e-16)/lo;const co=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+16)/116,n=a-o/200,l={mode:"xyz50",x:so(r/500+a)*or,y:1*so(a),z:so(n)*tr};return void 0!==t&&(l.alpha=t),l},uo=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Be({r:3.1341359569958707*e-1.6173863321612538*r-.4906619460083532*o,g:-.978795502912089*e+1.916254567259524*r+.03344273116131949*o,b:.07195537988411677*e-.2289768264158322*r+1.405386058324125*o});return void 0!==t&&(a.alpha=t),a},go=e=>uo(co(e)),bo=e=>{let{r,g:o,b:t,alpha:a}=Te(e),n={mode:"xyz50",x:.436065742824811*r+.3851514688337912*o+.14307845442264197*t,y:.22249319175623702*r+.7168870538238823*o+.06061979053616537*t,z:.013923904500943465*r+.09708128566574634*o+.7140993584005155*t};return void 0!==a&&(n.alpha=a),n},ho=e=>e>io?Math.cbrt(e):(lo*e+16)/116,fo=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=ho(e/or),n=ho(r/1),l={mode:"lab",l:116*n-16,a:500*(a-n),b:200*(n-ho(o/tr))};return void 0!==t&&(l.alpha=t),l},po=e=>{let r=fo(bo(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},vo={mode:"lab",toMode:{xyz50:co,rgb:go},fromMode:{xyz50:fo,rgb:po},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-125,125],b:[-125,125]},parse:[function(e,r){if(!r||"lab"!==r[0])return;const o={mode:"lab"},[,t,a,n,l]=r;return t.type!==be&&a.type!==be&&n.type!==be?(t.type!==ge&&(o.l=Math.min(Math.max(0,t.value),100)),a.type!==ge&&(o.a=a.type===de?a.value:125*a.value/100),n.type!==ge&&(o.b=n.type===de?n.value:125*n.value/100),l.type!==ge&&(o.alpha=Math.min(1,Math.max(0,l.type===de?l.value:l.value/100))),o):void 0}],serialize:e=>`lab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:xe,a:xe,b:xe,alpha:{use:xe,fixup:Ce}}},mo=vo,ko={...mo,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:ir,rgb:sr},fromMode:{xyz65:dr,rgb:ur},ranges:{l:[0,100],a:[-125,125],b:[-125,125]}},yo={mode:"lch",toMode:{lab:Xe,rgb:e=>go(Xe(e))},fromMode:{rgb:e=>Qe(po(e)),lab:Qe},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[function(e,r){if(!r||"lch"!==r[0])return;const o={mode:"lch"},[,t,a,n,l]=r;if(t.type!==ge){if(t.type===be)return;o.l=Math.min(Math.max(0,t.value),100)}if(a.type!==ge&&(o.c=Math.max(0,a.type===de?a.value:150*a.value/100)),n.type!==ge){if(n.type===ue)return;o.h=n.value}return l.type!==ge&&(o.alpha=Math.min(1,Math.max(0,l.type===de?l.value:l.value/100))),o}],serialize:e=>`lch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:xe,fixup:Ge},c:xe,l:xe,alpha:{use:xe,fixup:Ce}},difference:{h:Ke},average:{h:Ye}},wo=yo,Po={...wo,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>Xe(e,"lab65"),rgb:e=>sr(Xe(e,"lab65"))},fromMode:{rgb:e=>Qe(ur(e),"lch65"),lab65:e=>Qe(e,"lch65")},ranges:{l:[0,100],c:[0,150],h:[0,360]}},_o=Po,Mo=({l:e,u:r,v:o,alpha:t})=>{void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.sqrt(r*r+o*o),n={mode:"lchuv",l:e,c:a};return a&&(n.h=Oe(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(n.alpha=t),n},xo=({l:e,c:r,h:o,alpha:t})=>{void 0===o&&(o=0);let a={mode:"luv",l:e,u:r?r*Math.cos(o/180*Math.PI):0,v:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(a.alpha=t),a},So=(e,r,o)=>4*e/(e+15*r+3*o),Co=(e,r,o)=>9*r/(e+15*r+3*o),Ao=So(or,1,tr),Io=Co(or,1,tr),$o=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(n=r/1)<=io?lo*n:116*Math.cbrt(n)-16;var n;let l=So(e,r,o),i=Co(e,r,o);isFinite(l)&&isFinite(i)?(l=13*a*(l-Ao),i=13*a*(i-Io)):a=l=i=0;let s={mode:"luv",l:a,u:l,v:i};return void 0!==t&&(s.alpha=t),s},Fo=4*(zo=or)/(zo+15+3*tr);var zo;const Ro=({l:e,u:r,v:o,alpha:t})=>{if(void 0===e&&(e=0),0===e)return{mode:"xyz50",x:0,y:0,z:0};void 0===r&&(r=0),void 0===o&&(o=0);let a=r/(13*e)+Fo,n=o/(13*e)+.4880797507034157,l=1*(e<=8?e/lo:Math.pow((e+16)/116,3)),i={mode:"xyz50",x:l*(9*a)/(4*n),y:l,z:l*(12-3*a-20*n)/(4*n)};return void 0!==t&&(i.alpha=t),i},To={mode:"lchuv",toMode:{luv:xo,rgb:e=>uo(Ro(xo(e)))},fromMode:{rgb:e=>Mo($o(bo(e))),luv:Mo},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:xe,fixup:Ge},c:xe,l:xe,alpha:{use:xe,fixup:Ce}},difference:{h:Ke},average:{h:Ye}},Do=To,Eo={...Ae,mode:"lrgb",toMode:{rgb:Be},fromMode:{rgb:Te},parse:["srgb-linear"],serialize:"srgb-linear"},Bo={mode:"luv",toMode:{xyz50:Ro,rgb:e=>uo(Ro(e))},fromMode:{xyz50:$o,rgb:e=>$o(bo(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:xe,u:xe,v:xe,alpha:{use:xe,fixup:Ce}}},Wo=Bo,jo=({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.cbrt(.412221469470763*e+.5363325372617348*r+.0514459932675022*o),n=Math.cbrt(.2119034958178252*e+.6806995506452344*r+.1073969535369406*o),l=Math.cbrt(.0883024591900564*e+.2817188391361215*r+.6299787016738222*o),i={mode:"oklab",l:.210454268309314*a+.7936177747023054*n-.0040720430116193*l,a:1.9779985324311684*a-2.42859224204858*n+.450593709617411*l,b:.0259040424655478*a+.7827717124575296*n-.8086757549230774*l};return void 0!==t&&(i.alpha=t),i},Oo=e=>{let r=jo(Te(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},Go=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.pow(e+.3963377773761749*r+.2158037573099136*o,3),n=Math.pow(e-.1055613458156586*r-.0638541728258133*o,3),l=Math.pow(e-.0894841775298119*r-1.2914855480194092*o,3),i={mode:"lrgb",r:4.076741636075957*a-3.3077115392580616*n+.2309699031821044*l,g:-1.2684379732850317*a+2.6097573492876887*n-.3413193760026573*l,b:-.0041960761386756*a-.7034186179359362*n+1.7076146940746117*l};return void 0!==t&&(i.alpha=t),i},Lo=e=>Be(Go(e));function Ho(e){const r=.206,o=1.206/1.03;return.5*(o*e-r+Math.sqrt((o*e-r)*(o*e-r)+.12*o*e))}function Uo(e){return(e*e+.206*e)/(1.206/1.03*(e+.03))}function No(e,r){let o=function(e,r){let o,t,a,n,l,i,s,c;-1.88170328*e-.80936493*r>1?(o=1.19086277,t=1.76576728,a=.59662641,n=.75515197,l=.56771245,i=4.0767416621,s=-3.3077115913,c=.2309699292):1.81444104*e-1.19445276*r>1?(o=.73956515,t=-.45954404,a=.08285427,n=.1254107,l=.14503204,i=-1.2684380046,s=2.6097574011,c=-.3413193965):(o=1.35733652,t=-.00915799,a=-1.1513021,n=-.50559606,l=.00692167,i=-.0041960863,s=-.7034186147,c=1.707614701);let d=o+t*e+a*r+n*e*e+l*e*r,u=.3963377774*e+.2158037573*r,g=-.1055613458*e-.0638541728*r,b=-.0894841775*e-1.291485548*r;{let e=1+d*u,r=1+d*g,o=1+d*b,t=i*(e*e*e)+s*(r*r*r)+c*(o*o*o),a=i*(3*u*e*e)+s*(3*g*r*r)+c*(3*b*o*o);d-=t*a/(a*a-.5*t*(i*(6*u*u*e)+s*(6*g*g*r)+c*(6*b*b*o)))}return d}(e,r),t=Go({l:1,a:o*e,b:o*r}),a=Math.cbrt(1/Math.max(t.r,t.g,t.b));return[a,a*o]}function Vo(e,r,o=null){o||(o=No(e,r));let t=o[0],a=o[1];return[a/t,a/(1-t)]}function qo(e,r,o){let t=No(r,o),a=function(e,r,o,t,a,n=null){let l;if(n||(n=No(e,r)),(o-a)*n[1]-(n[0]-a)*t<=0)l=n[1]*a/(t*n[0]+n[1]*(a-o));else{l=n[1]*(a-1)/(t*(n[0]-1)+n[1]*(a-o));{let n=o-a,i=.3963377774*e+.2158037573*r,s=-.1055613458*e-.0638541728*r,c=-.0894841775*e-1.291485548*r,d=n+t*i,u=n+t*s,g=n+t*c;{let e=a*(1-l)+l*o,r=l*t,n=e+r*i,b=e+r*s,h=e+r*c,f=n*n*n,p=b*b*b,v=h*h*h,m=3*d*n*n,k=3*u*b*b,y=3*g*h*h,w=6*d*d*n,P=6*u*u*b,_=6*g*g*h,M=4.0767416621*f-3.3077115913*p+.2309699292*v-1,x=4.0767416621*m-3.3077115913*k+.2309699292*y,S=x/(x*x-.5*M*(4.0767416621*w-3.3077115913*P+.2309699292*_)),C=-M*S,A=-1.2684380046*f+2.6097574011*p-.3413193965*v-1,I=-1.2684380046*m+2.6097574011*k-.3413193965*y,$=I/(I*I-.5*A*(-1.2684380046*w+2.6097574011*P-.3413193965*_)),F=-A*$,z=-.0041960863*f-.7034186147*p+1.707614701*v-1,R=-.0041960863*m-.7034186147*k+1.707614701*y,T=R/(R*R-.5*z*(-.0041960863*w-.7034186147*P+1.707614701*_)),D=-z*T;C=S>=0?C:1e6,F=$>=0?F:1e6,D=T>=0?D:1e6,l+=Math.min(C,Math.min(F,D))}}}return l}(r,o,e,1,e,t),n=Vo(r,o,t),l=e*(.11516993+1/(7.4477897+4.1590124*o+r*(1.75198401*o-2.19557347+r*(-2.13704948-10.02301043*o+r*(5.38770819*o-4.24894561+4.69891013*r))))),i=(1-e)*(.11239642+1/(1.6132032-.68124379*o+r*(.40370612+.90148123*o+r*(.6122399*o-.27087943+r*(.00299215-.45399568*o-.14661872*r))))),s=a/Math.min(e*n[0],(1-e)*n[1])*.9*Math.sqrt(Math.sqrt(1/(1/(l*l*l*l)+1/(i*i*i*i))));return l=.4*e,i=.8*(1-e),[Math.sqrt(1/(1/(l*l)+1/(i*i))),s,a]}function Zo(e){const r=void 0!==e.l?e.l:0,o=void 0!==e.a?e.a:0,t=void 0!==e.b?e.b:0,a={mode:"okhsl",l:Ho(r)};void 0!==e.alpha&&(a.alpha=e.alpha);let n=Math.sqrt(o*o+t*t);if(!n)return a.s=0,a;let l,[i,s,c]=qo(r,o/n,t/n);if(n<s){let e=0,r=.8*i;l=(n-e)/(r+(1-r/s)*(n-e))*.8}else{let e=.2*s*s*1.25*1.25/i;l=.8+(n-s)/(e+(1-e/(c-s))*(n-s))*.2}return l&&(a.s=l,a.h=Oe(180*Math.atan2(t,o)/Math.PI)),a}function Ko(e){let r=void 0!==e.h?e.h:0,o=void 0!==e.s?e.s:0,t=void 0!==e.l?e.l:0;const a={mode:"oklab",l:Uo(t)};if(void 0!==e.alpha&&(a.alpha=e.alpha),!o||1===t)return a.a=a.b=0,a;let n,l,i,s,c=Math.cos(r/180*Math.PI),d=Math.sin(r/180*Math.PI),[u,g,b]=qo(a.l,c,d);o<.8?(n=1.25*o,l=0,i=.8*u,s=1-i/g):(n=5*(o-.8),l=g,i=.2*g*g*1.25*1.25/u,s=1-i/(b-g));let h=l+n*i/(1-s*n);return a.a=h*c,a.b=h*d,a}const Yo={...Ar,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:Zo,rgb:e=>Zo(Oo(e))},toMode:{oklab:Ko,rgb:e=>Lo(Ko(e))}},Jo=Yo;function Qo(e){let r=void 0!==e.l?e.l:0,o=void 0!==e.a?e.a:0,t=void 0!==e.b?e.b:0,a=Math.sqrt(o*o+t*t),n=a?o/a:1,l=a?t/a:1,[i,s]=Vo(n,l),c=1-.5/i,d=s/(a+r*s),u=d*r,g=d*a,b=Uo(u),h=g*b/u,f=Go({l:b,a:n*h,b:l*h}),p=Math.cbrt(1/Math.max(f.r,f.g,f.b,0));r/=p,a=a/p*Ho(r)/r,r=Ho(r);const v={mode:"okhsv",s:a?(.5+s)*g/(.5*s+s*c*g):0,v:r?r/u:0};return v.s&&(v.h=Oe(180*Math.atan2(t,o)/Math.PI)),void 0!==e.alpha&&(v.alpha=e.alpha),v}function Xo(e){const r={mode:"oklab"};void 0!==e.alpha&&(r.alpha=e.alpha);const o=void 0!==e.h?e.h:0,t=void 0!==e.s?e.s:0,a=void 0!==e.v?e.v:0,n=Math.cos(o/180*Math.PI),l=Math.sin(o/180*Math.PI),[i,s]=Vo(n,l),c=.5,d=1-c/i,u=1-t*c/(c+s-s*d*t),g=t*s*c/(c+s-s*d*t),b=Uo(u),h=g*b/u,f=Go({l:b,a:n*h,b:l*h}),p=Math.cbrt(1/Math.max(f.r,f.g,f.b,0)),v=Uo(a*u),m=g*v/u;return r.l=v*p,r.a=m*n*p,r.b=m*l*p,r}const et={...Fr,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Qo,rgb:e=>Qo(Oo(e))},toMode:{oklab:Xo,rgb:e=>Lo(Xo(e))}},rt=et,ot={...mo,mode:"oklab",toMode:{lrgb:Go,rgb:Lo},fromMode:{lrgb:jo,rgb:Oo},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[function(e,r){if(!r||"oklab"!==r[0])return;const o={mode:"oklab"},[,t,a,n,l]=r;return t.type!==be&&a.type!==be&&n.type!==be?(t.type!==ge&&(o.l=Math.min(Math.max(0,t.type===de?t.value:t.value/100),1)),a.type!==ge&&(o.a=a.type===de?a.value:.4*a.value/100),n.type!==ge&&(o.b=n.type===de?n.value:.4*n.value/100),l.type!==ge&&(o.alpha=Math.min(1,Math.max(0,l.type===de?l.value:l.value/100))),o):void 0}],serialize:e=>`oklab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`},tt=ot,at={...wo,mode:"oklch",toMode:{oklab:e=>Xe(e,"oklab"),rgb:e=>Lo(Xe(e,"oklab"))},fromMode:{rgb:e=>Qe(Oo(e),"oklch"),oklab:e=>Qe(e,"oklch")},parse:[function(e,r){if(!r||"oklch"!==r[0])return;const o={mode:"oklch"},[,t,a,n,l]=r;if(t.type!==ge){if(t.type===be)return;o.l=Math.min(Math.max(0,t.type===de?t.value:t.value/100),1)}if(a.type!==ge&&(o.c=Math.max(0,a.type===de?a.value:.4*a.value/100)),n.type!==ge){if(n.type===ue)return;o.h=n.value}return l.type!==ge&&(o.alpha=Math.min(1,Math.max(0,l.type===de?l.value:l.value/100))),o}],serialize:e=>`oklch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},nt=at,lt=e=>{let{r,g:o,b:t,alpha:a}=Te(e),n={mode:"xyz65",x:.486570948648216*r+.265667693169093*o+.1982172852343625*t,y:.2289745640697487*r+.6917385218365062*o+.079286914093745*t,z:0*r+.0451133818589026*o+1.043944368900976*t};return void 0!==a&&(n.alpha=a),n},it=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Be({r:2.4934969119414263*e-.9313836179191242*r-.402710784450717*o,g:-.8294889695615749*e+1.7626640603183465*r+.0236246858419436*o,b:.0358458302437845*e-.0761723892680418*r+.9568845240076871*o},"p3");return void 0!==t&&(a.alpha=t),a},st={...Ae,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>it(De(e)),xyz65:it},toMode:{rgb:e=>We(lt(e)),xyz65:lt}},ct=e=>{let r=Math.abs(e);return r>=1/512?Math.sign(e)*Math.pow(r,1/1.8):16*e},dt=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"prophoto",r:ct(1.3457868816471585*e-.2555720873797946*r-.0511018649755453*o),g:ct(-.5446307051249019*e+1.5082477428451466*r+.0205274474364214*o),b:ct(0*e+0*r+1.2119675456389452*o)};return void 0!==t&&(a.alpha=t),a},ut=(e=0)=>{let r=Math.abs(e);return r>=16/512?Math.sign(e)*Math.pow(r,1.8):e/16},gt=e=>{let r=ut(e.r),o=ut(e.g),t=ut(e.b),a={mode:"xyz50",x:.7977666449006423*r+.1351812974005331*o+.0313477341283922*t,y:.2880748288194013*r+.7118352342418731*o+899369387256e-16*t,z:0*r+0*o+.8251046025104602*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},bt={...Ae,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:dt,rgb:e=>dt(bo(e))},toMode:{xyz50:gt,rgb:e=>uo(gt(e))}},ht=1.09929682680944,ft=e=>{const r=Math.abs(e);return r>.018053968510807?(Math.sign(e)||1)*(ht*Math.pow(r,.45)-(ht-1)):4.5*e},pt=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"rec2020",r:ft(1.7166511879712683*e-.3556707837763925*r-.2533662813736599*o),g:ft(-.6666843518324893*e+1.6164812366349395*r+.0157685458139111*o),b:ft(.0176398574453108*e-.0427706132578085*r+.9421031212354739*o)};return void 0!==t&&(a.alpha=t),a},vt=1.09929682680944,mt=(e=0)=>{let r=Math.abs(e);return r<.08124285829863151?e/4.5:(Math.sign(e)||1)*Math.pow((r+vt-1)/vt,1/.45)},kt=e=>{let r=mt(e.r),o=mt(e.g),t=mt(e.b),a={mode:"xyz65",x:.6369580483012911*r+.1446169035862083*o+.1688809751641721*t,y:.262700212011267*r+.6779980715188708*o+.059301716469862*t,z:0*r+.0280726930490874*o+1.0609850577107909*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},yt={...Ae,mode:"rec2020",fromMode:{xyz65:pt,rgb:e=>pt(De(e))},toMode:{xyz65:kt,rgb:e=>We(kt(e))},parse:["rec2020"],serialize:"rec2020"},wt=.0037930732552754493,Pt=Math.cbrt(wt),_t=e=>Math.cbrt(e)-Pt,Mt=e=>Math.pow(e+Pt,3),xt={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:({x:e,y:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a=Mt(e+r)-wt,n=Mt(r-e)-wt,l=Mt(o+r)-wt,i=Be({r:11.031566904639861*a-9.866943908131562*n-.16462299650829934*l,g:-3.2541473810744237*a+4.418770377582723*n-.16462299650829934*l,b:-3.6588512867136815*a+2.7129230459360922*n+1.9459282407775895*l});return void 0!==t&&(i.alpha=t),i}},fromMode:{rgb:e=>{const{r,g:o,b:t,alpha:a}=Te(e),n=_t(.3*r+.622*o+.078*t+wt),l=_t(.23*r+.692*o+.078*t+wt),i={mode:"xyb",x:(n-l)/2,y:(n+l)/2,b:_t(.2434226892454782*r+.2047674442449682*o+.5518098665095535*t+wt)-(n+l)/2};return void 0!==a&&(i.alpha=a),i}},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:xe,y:xe,b:xe,alpha:{use:xe,fixup:Ce}}},St={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:uo,lab:fo},fromMode:{rgb:bo,lab:co},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:xe,y:xe,z:xe,alpha:{use:xe,fixup:Ce}}},Ct={mode:"xyz65",toMode:{rgb:We,xyz50:e=>{let{x:r,y:o,z:t,alpha:a}=e;void 0===r&&(r=0),void 0===o&&(o=0),void 0===t&&(t=0);let n={mode:"xyz50",x:1.0479298208405488*r+.0229467933410191*o-.0501922295431356*t,y:.0296278156881593*r+.990434484573249*o-.0170738250293851*t,z:-.0092430581525912*r+.0150551448965779*o+.7518742899580008*t};return void 0!==a&&(n.alpha=a),n}},fromMode:{rgb:De,xyz50:e=>{let{x:r,y:o,z:t,alpha:a}=e;void 0===r&&(r=0),void 0===o&&(o=0),void 0===t&&(t=0);let n={mode:"xyz65",x:.9554734527042182*r-.0230985368742614*o+.0632593086610217*t,y:-.0283697069632081*r+1.0099954580058226*o+.021041398966943*t,z:.0123140016883199*r-.0205076964334779*o+1.3303659366080753*t};return void 0!==a&&(n.alpha=a),n}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:xe,y:xe,z:xe,alpha:{use:xe,fixup:Ce}}},At={mode:"yiq",toMode:{rgb:({y:e,i:r,q:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a={mode:"rgb",r:e+.95608445*r+.6208885*o,g:e-.27137664*r-.6486059*o,b:e-1.10561724*r+1.70250126*o};return void 0!==t&&(a.alpha=t),a}},fromMode:{rgb:({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a={mode:"yiq",y:.29889531*e+.58662247*r+.11448223*o,i:.59597799*e-.2741761*r-.32180189*o,q:.21147017*e-.52261711*r+.31114694*o};return void 0!==t&&(a.alpha=t),a}},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:xe,i:xe,q:xe,alpha:{use:xe,fixup:Ce}}};let It=((e=4)=>r=>"number"==typeof r?((e,r)=>Math.round(e*(r=Math.pow(10,r)))/r)(r,e):r)(2);const $t=e=>Math.max(0,Math.min(1,e||0)),Ft=e=>Math.round(255*$t(e)),zt=J("rgb");J("hsl"),te(je),te(Je),te(wr),te(_r),te(xr),te(Ar),te(Fr),te(Rr),te(Nr),te(ro),te(no),te(mo),te(ko),te(wo),te(_o),te(Do),te(Eo),te(Wo),te(Jo),te(rt),te(tt),te(nt),te(st),te(bt),te(yt),te(Ae),te(xt),te(St),te(Ct),te(At),J("rgb");J("rgb");const Rt=new class{constructor(e){this.providerStorage=e,this.setWorkspaceStorageProxy=e=>{this.workspaceStorage=e},this.setRecreateFactory=e=>{this.recreateFactory=e},this.destroyWorkspaceStorageProxy=async()=>{const e=this.workspaceStorage;this.workspaceStorage=void 0,e&&await e.destroy()},this.ensureWorkspaceStorageProxy=async()=>{this.workspaceStorage||this.recreateFactory&&(this.workspaceStorage=await this.recreateFactory())},this.trySynchronizeWorkspaceStorage=async()=>{if(this.workspaceStorage){const e=this.getScheme();this.hasUserPreference()?this.workspaceStorage.setItem(p.SelectedColorScheme,e):e&&this.workspaceStorage.setItem(p.ThemePaletteDefaultScheme,e),this.generatedPalettes&&(this.themePaletteSheet||(this.themePaletteSheet=h(this.generatedPalettes)),this.workspaceStorage.setItem(p.ThemePaletteSheet,this.themePaletteSheet));const r=(e=>{const r="dark"===e;return{inForcedColorsMode:!1,prefersReducedTransparency:!1,shouldUseDarkColors:r,shouldUseDarkColorsForSystemIntegratedUI:r,shouldUseHighContrastColors:!1,shouldUseInvertedColorScheme:!1,themeSource:e}})(e);try{await fin.System.setThemePreferences(r)}catch(e){console.warn("failed to set native theme preferences: ",e)}}},this.setLegacyPalettes=async({light:e,dark:r},o)=>{this.lightPaletteVars=R({...e,...D(e,"light",o)}),this.darkPaletteVars=R({...r,...D(r,"dark",o)})},this.setPalettes=async({light:e,dark:r})=>{this.lightPaletteVars=e,this.darkPaletteVars=r}}hasUserPreference(){return null!==this.providerStorage.getItem(p.SelectedColorScheme)}setScheme(e){this.providerStorage.setItem(p.SelectedColorScheme,e)}setThemeDefaultScheme(e){const r=Object.values(P);r.includes(e)?this.providerStorage.setItem(p.ThemePaletteDefaultScheme,e):console.warn(`Invalid theme default scheme '${e}'. Must be one of: ${r.join(", ")}. Ignoring default.`)}setGeneratedPalettes(e){this.generatedPalettes=e}setThemePaletteSheet(e){this.themePaletteSheet=e,this.providerStorage.setItem(p.ThemePaletteSheet,e)}getScheme(){const e=this.providerStorage.getItem(p.SelectedColorScheme),r=this.providerStorage.getItem(p.ThemePaletteDefaultScheme);return null!==e?e:r??z}getThemePaletteSheet(){return this.themePaletteSheet}getThemePalette(){return{light:this.lightPaletteVars,dark:this.darkPaletteVars}}}(t),Tt=()=>(a.Rm.debug("ThemeStorage: getThemeStorageController called"),Rt)},180:(e,r,o)=>{"use strict";o.d(r,{tT:()=>a});o(70),o(326),o(78);var t=o(695);o(79);const a=async e=>{const r=await(0,t.p4)();await r.dispatch("initialize-theme",e)}},248:(e,r,o)=>{"use strict";o.d(r,{H:()=>n});var t=o(438),a=o(786);const n=(e,r)=>{a.A.markStart(`${e}-registration`),(0,t.BY)().once("started",()=>a.A.markAndMeasure("workspace-app-started",`${e}-registration`));const o=fin.Window.wrapSync(r);o.once("initialized",()=>a.A.markAndMeasure(`${e}-window-initialized`,`${e}-registration`)),o.once("shown",()=>{a.A.markAndMeasure(`${e}-show`,`${e}-registration`)})}},575:(e,r,o)=>{"use strict";o.d(r,{xM:()=>i});const t=require("title-case");class a extends Error{constructor(e,r){const o=(0,t.titleCase)(e);super(`${o} Provider. ${o} Provider${r?` with id ${r}`:""} is not currently registered.`)}}class n extends Error{constructor(e,r){const o=(0,t.titleCase)(e);super(`${o} Provider. ${o} Provider${r?` with id ${r}`:""} is already registered. Call \`deregister\` before registering again.`)}}class l extends Error{constructor(e,r){const o=(0,t.titleCase)(e);super(`Failed to get ${o} Provider. ${o} Provider with id ${r} is not currently registered.`)}}class i{constructor(e){this.providersMap=new Map,this.providerType=e}assertNotAlreadyRegistered(e){if(this.hasProvider(e))throw new n(this.providerType,e)}assertRegistered(e){if(!this.hasProvider(e))throw new a(this.providerType,e)}getProvider(e){return this.providersMap.get(e)}hasProvider(e){return this.providersMap.has(e)}setProvider(e){this.providersMap.set(e.id,e)}deleteProvider(e){this.providersMap.delete(e)}getProviderOrFail(e){const r=this.getProvider(e);if(!r)throw new l(this.providerType,e);return r}clearProviders(){this.providersMap.clear()}}},872:(e,r,o)=>{"use strict";var t,a,n;o.d(r,{PK:()=>t,fC:()=>a,oo:()=>n}),function(e){e.Suggestion="suggestion"}(t||(t={})),function(e){e.Contact="Contact",e.Custom="Custom",e.List="List",e.Plain="Plain",e.SimpleText="SimpleText",e.Loading="Loading",e.Error="Error"}(a||(a={})),function(e){e.MultiSelect="MultiSelect"}(n||(n={}))},326:(e,r,o)=>{"use strict";o(102),o(70);new Map;var t,a,n,l,i,s;!function(e){e.CloseBrowserWindow="close-browser-window",e.QuitPlatform="quit-platform",e.ClosePage="close-page",e.AddToChannel="add-to-channel",e.RemoveFromChannel="remove-from-channel",e.OpenSaveModalInternal="open-save-modal-internal",e.DuplicatePage="duplicate-page",e.SetSelectedScheme="set-selected-scheme",e.ShowBrowserIndicator="show-browser-indicator",e.SetSelectedLanguage="set-selected-language",e.RefreshBookmarksInternal="refresh-bookmarks",e.GetLayoutsWithSelectedViewsInternal="get-layouts-with-selected-views",e.FocusAndExpandSearchInternal="focus-and-expand-search"}(t||(t={})),function(e){e.GetPages="get-pages",e.GetActivePageForWindow="get-active-page-for-window",e.AttachPagesToWindow="attach-pages-to-window",e.DetachPagesFromWindow="detach-pages-from-window",e.SetActivePageForWindow="set-active-page-for-window",e.RenamePage="rename-page",e.ReorderPagesForWindow="reorder-pages-for-window",e.UpdatePageForWindow="update-page-for-window",e.UpdatePagesWindowOptions="update-pages-window-options",e.IsDetachingPages="is-detaching-pages",e.IsActivePageChanging="is-active-page-changing"}(a||(a={})),function(e){e.GetApps="get-apps",e.GetCuratedContent="get-curated-content",e.GetRecentlyVisited="get-recently-visited",e.GetSearchProviders="get-search-providers"}(n||(n={})),function(e){e.CreateBookmarkNode="create-bookmark-node",e.GetBookmarkNode="get-bookmark-node",e.SearchBookmarkNodes="search-bookmark-nodes",e.UpdateBookmarkNode="update-bookmark-node",e.DeleteBookmarkNode="delete-bookmark-node"}(l||(l={})),function(e){e.UpdateFavoriteEntries="update-favorite-entries",e.UpdateContentMenu="update-content-menu",e.NavigateContentMenu="navigate-content-menu",e.MoreMenuCustomOptionClicked="more-menu-custom-option-clicked",e.RefreshDockCollectionMenu="refresh-dock-collection-menu"}(i||(i={})),function(e){e.SendUpdateVersionModalResponse="send-update-version-modal-response",e.SendIntentResolverModalResponse="send-intent-resolver-modal-response"}(s||(s={}))},78:(e,r,o)=>{"use strict";o(438),o(102),o(70);var t;!function(e){e.UpdatePlatformThemeScheme="update-platform-theme-scheme"}(t||(t={}))},79:(e,r,o)=>{"use strict";var t;o.d(r,{KZ:()=>n}),function(e){e.LaunchApp="launchApp",e.SavePage="savePage",e.GetSavedPage="getSavedPage",e.CreateSavedPage="createSavedPage",e.UpdateSavedPage="updateSavedPage",e.DeleteSavedPage="deleteSavedPage",e.GetSavedPages="getSavedPages",e.CreateSavedPageInternal="createSavedPageInternal",e.UpdateSavedPageInternal="updateSavedPageInternal",e.DeleteSavedPageInternal="deleteSavedPageInternal",e.UpdatePageForWindow="updatePageForWindow",e.AttachPagesToWindow="attachPagesToWindow",e.DetachPagesFromWindow="detachPagesFromWindow",e.ReorderPagesForWindow="reorderPagesForWindow",e.SetActivePage="setActivePage",e.AddPage="addPage",e.AddDefaultPage="addDefaultPage",e.GetAllAttachedPages="getAllAttachedPages",e.GetActivePageIdForWindow="getActivePageIdForWindow",e.GetPagesForWindow="getPagesForWindow",e.GetPageForWindow="getPageForWindow",e.GetSavedPageMetadata="getSavedPageMetadata",e.GetUniquePageTitle="getUniquePageTitle",e.GetLastFocusedBrowserWindow="getLastFocusedBrowserWindow",e.GetPageByViewIdentity="getPageByViewIdentity",e.GetThemes="getThemes",e.GetGeneratedPalettes="getGeneratedPalettes",e.GetThemePaletteSheet="getThemePaletteSheet",e.GetSelectedScheme="getSelectedScheme",e.SetSelectedScheme="setSelectedScheme",e.OpenGlobalContextMenuInternal="openGlobalContextMenuInternal",e.OpenViewTabContextMenuInternal="openViewTabContextMenuInternal",e.OpenPageTabContextMenuInternal="openPageTabContextMenuInternal",e.OpenSaveButtonContextMenuInternal="openSaveButtonContextMenuInternal",e.InvokeCustomActionInternal="invokeCustomActionInternal",e.RequestQuitPlatformDialogInternal="requestQuitPlatformDialogInternal",e.GetSavedWorkspace="getSavedWorkspace",e.CreateSavedWorkspace="createSavedWorkspace",e.UpdateSavedWorkspace="updateSavedWorkspace",e.DeleteSavedWorkspace="deleteSavedWorkspace",e.GetSavedWorkspaces="getSavedWorkspaces",e.GetSavedWorkspacesMetadata="getSavedWorkspacesMetadata",e.SaveWorkspace="saveWorkspace",e.GetCurrentWorkspace="getCurrentWorkspace",e.ApplyWorkspace="applyWorkspace",e.RestoreLastSavedWorkspaceInternal="restoreLastSavedWorkspaceInternal",e.SetActiveWorkspace="setActiveWorkspace",e.IsBrowserInitialized="isBrowserInitialized",e.Analytics="analyticsInternal",e.GetLanguage="getLanguage",e.GetLanguageResourcesInternal="getLanguageResourcesInternal",e.SetLanguage="setLanguage",e.GetDockProviderConfig="getDockProviderConfig",e.SaveDockProviderConfig="saveDockProviderConfig",e.HandleSaveModalOnPageClose="handleSaveModalOnPageClose",e.ShouldPageClose="shouldPageClose",e.ShouldWindowClose="shouldWindowClose",e.CopyPage="copyPage",e.HandlePageChanges="handlePageChanges",e.MarkUnsavedPagesAsSavedInternal="markUnsavedPagesAsSavedInternal",e.TrackRemovedTabInternal="trackRemovedTabInternal",e.RestoreRemovedTabInternal="restoreRemovedTabInternal",e.TrackVisitedSiteInternal="trackVisitedSiteInternal",e.GetRecentlyVisitedSitesInternal="getRecentlyVisitedSitesInternal",e.GetFrequentlyVisitedSitesInternal="getFrequentlyVisitedSitesInternal",e.SearchSitesInternal="searchSitesInternal",e.GetSearchProvidersInternal="getSearchProvidersInternal",e.GetCuratedContentInternal="getCuratedContentInternal",e.HandleRequestNavigationInternal="handleRequestNavigationInternal",e.RefreshBookmarksInternal="refreshBookmarksInternal",e.LaunchBookmarkInternal="launchBookmarkInternal",e.GetNotificationsConfig="getNotificationsConfig",e.UpdateDockFavoritesInternal="updateDockFavoritesInternal",e.UpdateContentMenuInternal="updateContentMenuInternal",e.LaunchDockEntryInternal="launchDockEntryInternal",e.SetDockFavoritesOrderInternal="setDockFavoritesOrderInternal",e.NavigateContentMenuInternal="navigateContentMenuInternal",e.SetDefaultDockButtonsOrderInternal="setDefaultDockButtonsOrderInternal",e.GetDockWorkspacesContextMenuInternal="getDockWorkspacesContextMenuInternal",e.HandleDockWorkspacesMenuResponseInternal="handleDockWorkspacesMenuResponseInternal",e.RefreshDockCollectionMenuInternal="refreshDockCollectionMenuInternal",e.LaunchCollectionInternal="launchCollectionInternal",e.RemoveDockFavoriteInternal="removeDockFavoriteInternal",e.AddDockFavoriteInternal="addDockFavoriteInternal",e.FocusAndExpandSearchInternal="focusAndExpandSearchInternal",e.SendUpdateVersionModalResponseInternal="sendUpdateVersionModalResponseInternal",e.ShowUpdateVersionModalInternal="showUpdateVersionModalInternal",e.ShowApplyAndPublishModalInternal="showApplyAndPublishModalInternal",e.GetNotificationIndicatorColorsInternal="getNotificationIndicatorColorsInternal"}(t||(t={}));const a=async e=>fin.Platform.wrapSync(e).getClient(),n=async e=>{const r=await a(e),o="Target is not a Workspace Platform. Target must call WorkspacePlatform.init";let t;try{t=await r.dispatch("isWorkspacePlatform")}catch(e){throw new Error(o)}if("boolean"==typeof t&&t)return console.warn("You are using an older version of the workspace platform. Please update your workspace platform."),t;if("object"==typeof t&&t.isWorkspacePlatform)return t;throw new Error(o)}},695:(e,r,o)=>{"use strict";o.d(r,{YD:()=>f,gj:()=>g,p4:()=>d});var t=o(102),a=o(723),n=o(70),l=o(905),i=o(211),s=o(180);const c=(0,t.A)("__of_workspace_protocol__"),d=c,u=c,g=(0,t.A)(l.BT),b=e=>{const r=new URL(e);return r.searchParams.append("isLaunchedViaLib","true"),r.toString()},h=async()=>{if(!await(0,n.C)(n.xt)){if(a.jw||-1===navigator.userAgent.indexOf("Win"))return void await fin.Application.startFromManifest(b(a.m7));await fin.System.openUrlWithBrowser(b(a.t8))}},f=async()=>{const e=(0,i.v)(),r=e.getThemePaletteSheet(),o=e.getScheme(),t=e.getThemePalette();return await h(),await(0,s.tT)({themePaletteSheet:r,selectedScheme:o,themePalette:t}),u()}},905:(e,r,o)=>{"use strict";o.d(r,{BT:()=>t,Zo:()=>n});const t="__search-openfin-browser-home-topic__";var a,n;!function(e){e.Fetching="fetching",e.Fetched="fetched",e.Complete="complete"}(a||(a={})),function(e){e[e.Initial=0]="Initial",e[e.Open=1]="Open",e[e.Close=2]="Close"}(n||(n={}))},438:(e,r,o)=>{"use strict";o.d(r,{BY:()=>s,MW:()=>t});var t,a,n=o(723);!function(e){e.Workspace="openfin-workspace",e.OldWorkspace="openfin-browser"}(t||(t={})),function(e){e.FinProtocol="fin-protocol"}(a||(a={}));n.$h;const l={uuid:t.Workspace},i=e=>{if(!n.cI)throw new Error("getApplication cannot be used in a non OpenFin env. Avoid using this during pre-rendering.");return fin.Application.wrapSync(e)},s=()=>i(l)},102:(e,r,o)=>{"use strict";o.d(r,{A:()=>n});var t=o(723);const a=t.YY&&"complete"!==document.readyState&&new Promise(e=>document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&e()}));function n(e){let r;const o=new Set;return()=>{if(!t.cI)throw new Error("getChannelClient cannot be used outside an OpenFin env. Avoid using this method during pre-rendering.");return r||(r=(async()=>{await a;const n={clientAPIVersion:t.et},l=await fin.InterApplicationBus.Channel.connect(e,{payload:n});return l.onDisconnection(async()=>{o.forEach(e=>e()),o.clear(),console.warn(`disconnected from channel provider ${e}`),r=void 0}),l})().then(e=>(e.addDisconnectionListener=e=>{o.add(e)},e)).catch(o=>{throw r=void 0,new Error(`failed to connect to channel provider ${e}: ${o}`)})),r}}},723:(e,r,o)=>{"use strict";var t;o.d(r,{$h:()=>i,YY:()=>n,cI:()=>a,et:()=>b,jw:()=>c,m7:()=>u,t8:()=>d,vL:()=>s}),function(e){e.Local="local",e.Dev="dev",e.Staging="staging",e.Prod="prod"}(t||(t={}));const a="undefined"!=typeof window&&"undefined"!=typeof fin,n=("undefined"==typeof process||process.env,"undefined"!=typeof window),l=n?window.origin:t.Local,i=a&&fin.me.uuid,s=a&&fin.me.name,c=(a&&fin.me.entityType,"prod"===t.Local),d=(t.Dev,t.Staging,t.Prod,"fins://system-apps/workspace"),u="https://workspace.openfin.co/workspace/24.0.7/app.json",g=e=>e.startsWith("http://")||e.startsWith("https://")?e:l+e,b=(g("https://workspace.openfin.co/workspace/24.0.7"),g("https://workspace.openfin.co/workspace/24.0.7"),"undefined"!=typeof WORKSPACE_DOCS_PLATFORM_URL&&g(WORKSPACE_DOCS_PLATFORM_URL),"undefined"!=typeof WORKSPACE_DOCS_CLIENT_URL&&g(WORKSPACE_DOCS_CLIENT_URL),"24.0.7");"undefined"!=typeof WORKSPACE_BUILD_SHA&&WORKSPACE_BUILD_SHA},822:(e,r,o)=>{"use strict";o.d(r,{Rm:()=>i});let t="undefined"==typeof LOG_STRINGIFY||!0===LOG_STRINGIFY;const a=e=>{try{return JSON.stringify(e,null,2)}catch(r){try{const r=new WeakSet;return JSON.stringify(e,(e,o)=>{if("object"==typeof o&&null!==o){if(r.has(o))return"[Circular Reference]";r.add(o)}return"bigint"==typeof o?`[BigInt: ${o.toString()}]`:"function"==typeof o?`[Function: ${o.name||"anonymous"}]`:"symbol"==typeof o?`[Symbol: ${o.toString()}]`:void 0===o?"[Undefined]":o},2)}catch(r){try{return`[Non-serializable: ${Object.prototype.toString.call(e)}]`}catch{return"[Unable to serialize data]"}}}},n=()=>"undefined"!=typeof window&&"undefined"!=typeof document&&("undefined"!=typeof LOG_DEBUG&&!0===LOG_DEBUG),l=(e,...r)=>{const o=console[e];try{if(t){o(...r.map(e=>"object"==typeof e&&null!==e?a(e):e))}else o(...r)}catch(e){console.error("Error printing stringified log, logging directly",e),o(...r)}},i={debug:(...e)=>{n()&&l("debug",...e)},info:(...e)=>l("info",...e),warn:(...e)=>l("warn",...e),error:(...e)=>l("error",...e),trace:(...e)=>l("trace",...e)}},786:(e,r,o)=>{"use strict";o.d(r,{A:()=>a});const t="of-workspace-";const a=new class{mark(e){performance.mark(`${t}${e}`)}markStart(e){performance.mark(`${t}${e}-start`)}markEnd(e){performance.mark(`${t}${e}-end`)}markEndAndMeasure(e){performance.mark(`${t}${e}-end`);try{return performance.measure(`${t}${e}`,`${t}${e}-start`,`${t}${e}-end`)}catch(e){0}}markAndMeasure(e,r){performance.mark(`${t}${e}`);try{return performance.measure(`${t}${e}-measure`,`${t}${r}-start`,`${t}${e}`)}catch(e){0}}reportWorkspacePerformanceEntries(){return performance.getEntriesByType("measure").filter(e=>e.name.startsWith(t))}reportWorkspacePerformance(){return this.reportWorkspacePerformanceEntries().map(e=>({name:e.name.replace(`${t}`,"").replace("-measure",""),duration:e.duration}))}}},277:(e,r,o)=>{"use strict";o.d(r,{GR:()=>i});var t,a=o(723),n=o(70);!function(e){e.Browser="Browser",e.Dock="Dock",e.EnterpriseDock="EnterpriseDock",e.Home="Home",e.Notification="Notification",e.Storefront="Storefront",e.Platform="Platform",e.Theming="Theming",e.Microflow="Microflow"}(t||(t={}));const l=async(e,r,o="workspace-licensing")=>{const t={apiVersion:r.apiVersion||a.et,componentName:e,componentVersion:r.componentVersion||a.et,allowed:r.allowed,rejectionCode:r.rejectionCode};fin.System.registerUsage({type:o,data:t})};const i=e=>{n.F2.uuid===n.$p.uuid&&n.F2.name===n.$p.name||l(t.Home,e)};new Map},70:(e,r,o)=>{"use strict";o.d(r,{$p:()=>i,C:()=>d,F2:()=>s,xt:()=>c});o(78);var t,a=o(438),n=o(723);!function(e){e.Home="openfin-home",e.Dock="openfin-dock",e.Storefront="openfin-storefront",e.HomeInternal="openfin-home-internal",e.BrowserIndicator="openfin-browser-indicator",e.BrowserWindow="internal-generated-window",e.ClassicWindow="internal-generated-classic-window",e.BrowserAddressSearchPrefix="openfin-browser-menu-address-search-",e.DockCompanion="openfin-dock-companion",e.AICompanionPrefix="openfin-ai-companion-",e.AboutPageWindow="here-about-page",e.FindInPageViewPrefix="here-find-in-page-view-",e.BrowserMenu="openfin-browser-menu",e.BrowserSaveMenu="openfin-browser-save-menu",e.DockSaveWorkspaceMenu="openfin-dock3-save-workspace-menu",e.DropdownMenu="openfin-enterprise-dropdown-menu",e.EnterpriseContextMenu="openfin-enterprise-context-menu",e.TabSearchMenu="openfin-browser-tab-search-menu",e.EnterpriseBookmarkDialogWindow="openfin-enterprise-bookmark-dialog",e.ZoomControlsDialog="here-zoom-controls-dialog",e.UpdateVersionModal="here-update-version-modal",e.ApplyAndPublishModal="here-apply-and-publish-modal",e.DesktopSignalsModal="here-desktop-signals-modal",e.IntentsResolverModal="here-intents-resolver-modal"}(t||(t={}));function l(e){if(!n.cI)throw new Error("getOFWindow can only be used in an OpenFin env. Avoid calling this method during pre-rendering.");return fin.Window.wrapSync(e)}const i={name:n.vL,uuid:n.$h};const s={name:t.Home,uuid:a.MW.Workspace},c=(t.Dock,a.MW.Workspace,t.Storefront,a.MW.Workspace,{name:a.MW.Workspace,uuid:a.MW.Workspace});const d=e=>l(e).getInfo().then(()=>!0).catch(()=>!1)},516:(e,r)=>{var o={d:(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};o.r(t),o.d(t,{Color:()=>a,Palette:()=>y,createTheme:()=>ie});const a={white:"#FFFFFF",lightGray1:"#FAFBFE",lightGray2:"#F3F5F8",lightGray3:"#ECEEF1",lightGray4:"#DDDFE4",lightGray5:"#C9CBD2",neutralGray:"#7D808A",neutralGray80:"rgba(125,128,138,0.8)",silverGray:"#C0C1C2",darkGray1:"#53565F",darkGray2:"#383A40",darkGray3:"#2F3136",darkGray4:"#24262B",darkGray5:"#1E1F23",darkGray6:"#111214",openFinDarkest:"#3D39CD",openFinDarker:"#4642E0",openFin:"#504CFF",openFinLight:"#5254FB",openFinLighter:"#5C5EFE",openFinLightest:"#6864FF",functional1:"#207735",functional2:"#46C8F1",functional3:"#0A76D3",functional4:"#6CADE5",functional5:"#0A76D3",functional6:"#882BFE",functional7:"#F31818",functional8:"#C93400",functional9:"#FF5E60",functional10:"#F48F00",purple:"var(--color-primitives-indigo-500)",lightblue:"var(--color-primitives-blue-500)",aqua:"var(--color-primitives-teal-500)",yellow:"var(--color-primitives-yellow-500)",salmon:"var(--color-primitives-orange-500)",pink:"var(--color-primitives-pink-500)",lightpink:"var(--color-primitives-pink-500)",white00:"rgba(255,255,255,0.0)",white10:"rgba(255,255,255,0.1)",white20:"rgba(255,255,255,0.2)",white30:"rgba(255,255,255,0.3)",white40:"rgba(255,255,255,0.4)",white50:"rgba(255,255,255,0.5)",white60:"rgba(255,255,255,0.6)",white70:"rgba(255,255,255,0.7)",white80:"rgba(255,255,255,0.8)",white90:"rgba(255,255,255,0.9)",black00:"rgba(0,0,0,0.0)",black10:"rgba(0,0,0,0.1)",black20:"rgba(0,0,0,0.2)",black30:"rgba(0,0,0,0.3)",black40:"rgba(0,0,0,0.4)",black50:"rgba(0,0,0,0.5)",black60:"rgba(0,0,0,0.6)",black70:"rgba(0,0,0,0.7)",black80:"rgba(0,0,0,0.8)",black90:"rgba(0,0,0,0.9)",transparent:"transparent",openFinActive:"#4642FF",openFinHover:"#6965FF",lightGray4Active:"#D7DADF",lightGray4Hover:"#EBECEF",darkGray2Active:"#33353B",darkGray2Hover:"#44464E"},n="xsmall",l="small",i="base",s="large",c="xlarge",d="xxlarge",u="xxxlarge",g="xxxxlarge",b={[n]:4,[l]:8,[i]:12,[s]:16,[c]:20,[d]:24,[u]:32,[g]:48},h={[n]:"4px",[l]:"8px",[i]:"12px",[s]:"16px",[c]:"20px",[d]:"24px",[u]:"32px",[g]:"72px"},f={[n]:"2px",[l]:"4px",[i]:"8px",[s]:"24px",pill:"100vh",round:"50%",none:"0"},p={[i]:"0 4px 4px rgba(0, 0, 0, 0.25)"},v=["Inter","system-ui","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"].join(","),m={[n]:"8px",[l]:"10px",[i]:"12px",[s]:"14px",[c]:"16px",[d]:"18px",[u]:"20px",[g]:"40px"},k={[n]:h.small,[l]:h.base,[i]:"15px",[s]:h.xlarge,[c]:h.xxlarge,[d]:h.xxxlarge,[u]:h.xxxxlarge,[g]:h.xxxxlarge},y={background1:"background1",background2:"background2",background3:"background3",background4:"background4",background5:"background5",background6:"background6",brandPrimary:"brandPrimary",brandSecondary:"brandSecondary",brandPrimaryActive:"brandPrimaryActive",brandPrimaryHover:"brandPrimaryHover",brandPrimaryFocused:"brandPrimaryFocused",brandPrimaryText:"brandPrimaryText",brandSecondaryActive:"brandSecondaryActive",brandSecondaryHover:"brandSecondaryHover",brandSecondaryFocused:"brandSecondaryFocused",brandSecondaryText:"brandSecondaryText",inputBackground:"inputBackground",inputColor:"inputColor",inputPlaceholder:"inputPlaceholder",inputDisabled:"inputDisabled",inputFocused:"inputFocused",inputBorder:"inputBorder",statusSuccess:"statusSuccess",statusWarning:"statusWarning",statusCritical:"statusCritical",statusActive:"statusActive",textDefault:"textDefault",textHelp:"textHelp",textInactive:"textInactive",borderNeutral:"borderNeutral",contentBackground1:"contentBackground1",contentBackground2:"contentBackground2",contentBackground3:"contentBackground3",contentBackground4:"contentBackground4",contentBackground5:"contentBackground5",linkDefault:"linkDefault",linkHover:"linkHover"};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var P=/^\s+/,_=/\s+$/;function M(e,r){if(r=r||{},(e=e||"")instanceof M)return e;if(!(this instanceof M))return new M(e,r);var o=function(e){var r,o,t,a={r:0,g:0,b:0},n=1,l=null,i=null,s=null,c=!1,d=!1;return"string"==typeof e&&(e=function(e){e=e.replace(P,"").replace(_,"").toLowerCase();var r,o=!1;if(G[e])e=G[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=ee.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=ee.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=ee.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=ee.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=ee.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=ee.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=ee.hex8.exec(e))?{r:V(r[1]),g:V(r[2]),b:V(r[3]),a:Y(r[4]),format:o?"name":"hex8"}:(r=ee.hex6.exec(e))?{r:V(r[1]),g:V(r[2]),b:V(r[3]),format:o?"name":"hex"}:(r=ee.hex4.exec(e))?{r:V(r[1]+""+r[1]),g:V(r[2]+""+r[2]),b:V(r[3]+""+r[3]),a:Y(r[4]+""+r[4]),format:o?"name":"hex8"}:!!(r=ee.hex3.exec(e))&&{r:V(r[1]+""+r[1]),g:V(r[2]+""+r[2]),b:V(r[3]+""+r[3]),format:o?"name":"hex"}}(e)),"object"==w(e)&&(re(e.r)&&re(e.g)&&re(e.b)?(r=e.r,o=e.g,t=e.b,a={r:255*U(r,255),g:255*U(o,255),b:255*U(t,255)},c=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):re(e.h)&&re(e.s)&&re(e.v)?(l=Z(e.s),i=Z(e.v),a=function(e,r,o){e=6*U(e,360),r=U(r,100),o=U(o,100);var t=Math.floor(e),a=e-t,n=o*(1-r),l=o*(1-a*r),i=o*(1-(1-a)*r),s=t%6;return{r:255*[o,l,n,n,i,o][s],g:255*[i,o,o,l,n,n][s],b:255*[n,n,i,o,o,l][s]}}(e.h,l,i),c=!0,d="hsv"):re(e.h)&&re(e.s)&&re(e.l)&&(l=Z(e.s),s=Z(e.l),a=function(e,r,o){var t,a,n;function l(e,r,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(r-e)*o:o<.5?r:o<2/3?e+(r-e)*(2/3-o)*6:e}if(e=U(e,360),r=U(r,100),o=U(o,100),0===r)t=a=n=o;else{var i=o<.5?o*(1+r):o+r-o*r,s=2*o-i;t=l(s,i,e+1/3),a=l(s,i,e),n=l(s,i,e-1/3)}return{r:255*t,g:255*a,b:255*n}}(e.h,l,s),c=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=H(n),{ok:c,format:e.format||d,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:n}}(e);this._originalInput=e,this._r=o.r,this._g=o.g,this._b=o.b,this._a=o.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||o.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=o.ok}function x(e,r,o){e=U(e,255),r=U(r,255),o=U(o,255);var t,a,n=Math.max(e,r,o),l=Math.min(e,r,o),i=(n+l)/2;if(n==l)t=a=0;else{var s=n-l;switch(a=i>.5?s/(2-n-l):s/(n+l),n){case e:t=(r-o)/s+(r<o?6:0);break;case r:t=(o-e)/s+2;break;case o:t=(e-r)/s+4}t/=6}return{h:t,s:a,l:i}}function S(e,r,o){e=U(e,255),r=U(r,255),o=U(o,255);var t,a,n=Math.max(e,r,o),l=Math.min(e,r,o),i=n,s=n-l;if(a=0===n?0:s/n,n==l)t=0;else{switch(n){case e:t=(r-o)/s+(r<o?6:0);break;case r:t=(o-e)/s+2;break;case o:t=(e-r)/s+4}t/=6}return{h:t,s:a,v:i}}function C(e,r,o,t){var a=[q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16))];return t&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function A(e,r,o,t){return[q(K(t)),q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16))].join("")}function I(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.s-=r/100,o.s=N(o.s),M(o)}function $(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.s+=r/100,o.s=N(o.s),M(o)}function F(e){return M(e).desaturate(100)}function z(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.l+=r/100,o.l=N(o.l),M(o)}function R(e,r){r=0===r?0:r||10;var o=M(e).toRgb();return o.r=Math.max(0,Math.min(255,o.r-Math.round(-r/100*255))),o.g=Math.max(0,Math.min(255,o.g-Math.round(-r/100*255))),o.b=Math.max(0,Math.min(255,o.b-Math.round(-r/100*255))),M(o)}function T(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.l-=r/100,o.l=N(o.l),M(o)}function D(e,r){var o=M(e).toHsl(),t=(o.h+r)%360;return o.h=t<0?360+t:t,M(o)}function E(e){var r=M(e).toHsl();return r.h=(r.h+180)%360,M(r)}function B(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var o=M(e).toHsl(),t=[M(e)],a=360/r,n=1;n<r;n++)t.push(M({h:(o.h+n*a)%360,s:o.s,l:o.l}));return t}function W(e){var r=M(e).toHsl(),o=r.h;return[M(e),M({h:(o+72)%360,s:r.s,l:r.l}),M({h:(o+216)%360,s:r.s,l:r.l})]}function j(e,r,o){r=r||6,o=o||30;var t=M(e).toHsl(),a=360/o,n=[M(e)];for(t.h=(t.h-(a*r>>1)+720)%360;--r;)t.h=(t.h+a)%360,n.push(M(t));return n}function O(e,r){r=r||6;for(var o=M(e).toHsv(),t=o.h,a=o.s,n=o.v,l=[],i=1/r;r--;)l.push(M({h:t,s:a,v:n})),n=(n+i)%1;return l}M.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,o,t=this.toRgb();return e=t.r/255,r=t.g/255,o=t.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},setAlpha:function(e){return this._a=H(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=S(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=S(this._r,this._g,this._b),r=Math.round(360*e.h),o=Math.round(100*e.s),t=Math.round(100*e.v);return 1==this._a?"hsv("+r+", "+o+"%, "+t+"%)":"hsva("+r+", "+o+"%, "+t+"%, "+this._roundA+")"},toHsl:function(){var e=x(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=x(this._r,this._g,this._b),r=Math.round(360*e.h),o=Math.round(100*e.s),t=Math.round(100*e.l);return 1==this._a?"hsl("+r+", "+o+"%, "+t+"%)":"hsla("+r+", "+o+"%, "+t+"%, "+this._roundA+")"},toHex:function(e){return C(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,r,o,t,a){var n=[q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16)),q(K(t))];return a&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)&&n[3].charAt(0)==n[3].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)+n[3].charAt(0):n.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*U(this._r,255))+"%",g:Math.round(100*U(this._g,255))+"%",b:Math.round(100*U(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*U(this._r,255))+"%, "+Math.round(100*U(this._g,255))+"%, "+Math.round(100*U(this._b,255))+"%)":"rgba("+Math.round(100*U(this._r,255))+"%, "+Math.round(100*U(this._g,255))+"%, "+Math.round(100*U(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(L[C(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+A(this._r,this._g,this._b,this._a),o=r,t=this._gradientType?"GradientType = 1, ":"";if(e){var a=M(e);o="#"+A(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+t+"startColorstr="+r+",endColorstr="+o+")"},toString:function(e){var r=!!e;e=e||this._format;var o=!1,t=this._a<1&&this._a>=0;return r||!t||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(o=this.toRgbString()),"prgb"===e&&(o=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(o=this.toHexString()),"hex3"===e&&(o=this.toHexString(!0)),"hex4"===e&&(o=this.toHex8String(!0)),"hex8"===e&&(o=this.toHex8String()),"name"===e&&(o=this.toName()),"hsl"===e&&(o=this.toHslString()),"hsv"===e&&(o=this.toHsvString()),o||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return M(this.toString())},_applyModification:function(e,r){var o=e.apply(null,[this].concat([].slice.call(r)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(z,arguments)},brighten:function(){return this._applyModification(R,arguments)},darken:function(){return this._applyModification(T,arguments)},desaturate:function(){return this._applyModification(I,arguments)},saturate:function(){return this._applyModification($,arguments)},greyscale:function(){return this._applyModification(F,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(j,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(W,arguments)},triad:function(){return this._applyCombination(B,[3])},tetrad:function(){return this._applyCombination(B,[4])}},M.fromRatio=function(e,r){if("object"==w(e)){var o={};for(var t in e)e.hasOwnProperty(t)&&(o[t]="a"===t?e[t]:Z(e[t]));e=o}return M(e,r)},M.equals=function(e,r){return!(!e||!r)&&M(e).toRgbString()==M(r).toRgbString()},M.random=function(){return M.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},M.mix=function(e,r,o){o=0===o?0:o||50;var t=M(e).toRgb(),a=M(r).toRgb(),n=o/100;return M({r:(a.r-t.r)*n+t.r,g:(a.g-t.g)*n+t.g,b:(a.b-t.b)*n+t.b,a:(a.a-t.a)*n+t.a})},M.readability=function(e,r){var o=M(e),t=M(r);return(Math.max(o.getLuminance(),t.getLuminance())+.05)/(Math.min(o.getLuminance(),t.getLuminance())+.05)},M.isReadable=function(e,r,o){var t,a,n,l,i,s=M.readability(e,r);switch(a=!1,(n=o,"AA"!==(l=((n=n||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==l&&(l="AA"),"small"!==(i=(n.size||"small").toLowerCase())&&"large"!==i&&(i="small"),t={level:l,size:i}).level+t.size){case"AAsmall":case"AAAlarge":a=s>=4.5;break;case"AAlarge":a=s>=3;break;case"AAAsmall":a=s>=7}return a},M.mostReadable=function(e,r,o){var t,a,n,l,i=null,s=0;a=(o=o||{}).includeFallbackColors,n=o.level,l=o.size;for(var c=0;c<r.length;c++)(t=M.readability(e,r[c]))>s&&(s=t,i=M(r[c]));return M.isReadable(e,i,{level:n,size:l})||!a?i:(o.includeFallbackColors=!1,M.mostReadable(e,["#fff","#000"],o))};var G=M.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L=M.hexNames=function(e){var r={};for(var o in e)e.hasOwnProperty(o)&&(r[e[o]]=o);return r}(G);function H(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function U(e,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var o=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(r,Math.max(0,parseFloat(e))),o&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function N(e){return Math.min(1,Math.max(0,e))}function V(e){return parseInt(e,16)}function q(e){return 1==e.length?"0"+e:""+e}function Z(e){return e<=1&&(e=100*e+"%"),e}function K(e){return Math.round(255*parseFloat(e)).toString(16)}function Y(e){return V(e)/255}var J,Q,X,ee=(Q="[\\s|\\(]+("+(J="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+J+")[,|\\s]+("+J+")\\s*\\)?",X="[\\s|\\(]+("+J+")[,|\\s]+("+J+")[,|\\s]+("+J+")[,|\\s]+("+J+")\\s*\\)?",{CSS_UNIT:new RegExp(J),rgb:new RegExp("rgb"+Q),rgba:new RegExp("rgba"+X),hsl:new RegExp("hsl"+Q),hsla:new RegExp("hsla"+X),hsv:new RegExp("hsv"+Q),hsva:new RegExp("hsva"+X),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function re(e){return!!ee.CSS_UNIT.exec(e)}const oe=(e,r,o)=>{if(o&&(o<0||o>100))throw new Error(`${o} must be a number between 0 and 100`);return M(e)[r](o).toString()},te=(e,r)=>oe(e,"lighten",r),ae=(e,r)=>M.mostReadable(e,r).toHexString(),ne={fontFamily:v,fontSize:m,fontWeight:{normal:400,bold:600},lineHeight:{ui:1,heading:1.2,text:1.5},iconSize:k,radius:f,shadow:p,transition:{base:"200ms cubic-bezier(0.16, 1, 0.3, 1)",none:"0ms"},unit:b,px:h},le=(e,r)=>{return{[`${e}Active`]:(o=r,oe(o,"darken",2)),[`${e}Hover`]:te(r,5),[`${e}Focused`]:ae(r,[a.white,a.darkGray5]),[`${e}Text`]:ae(r,[a.white,a.darkGray5])};var o},ie=e=>Object.assign(Object.assign({},ne),{palette:Object.assign(Object.assign(Object.assign({},le(y.brandPrimary,e.brandPrimary)),le(y.brandSecondary,e.brandSecondary)),e)});var se=r;for(var ce in t)se[ce]=t[ce];t.__esModule&&Object.defineProperty(se,"__esModule",{value:!0})}},r={};function o(t){var a=r[t];if(void 0!==a)return a.exports;var n=r[t]={exports:{}};return e[t](n,n.exports,o),n.exports}o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{"use strict";o.r(t),o.d(t,{CLIAction:()=>x.PK,CLIFilterOptionType:()=>x.oo,CLITemplate:()=>x.fC,deregister:()=>A,hide:()=>$,register:()=>C,show:()=>I});var e=o(723),r=o(786),a=o(277),n=o(70);const l="0",i="2",s="3",c="5",d="6";var u=o(695),g=o(79),b=o(575);var h=o(905);const f=()=>{};function p(e){const r={};let o=[];let t=[];let a=null;let n=h.Zo.Initial;r.getStatus=()=>n,r.getResultBuffer=()=>o,r.setResultBuffer=e=>{o=e,o?.length&&r.onChange()},r.getRevokedBuffer=()=>t,r.setRevokedBuffer=e=>{t=e,t?.length&&r.onChange()},r.setUpdatedContext=e=>{a=e,null!==a&&r.onChange()},r.getUpdatedContext=()=>a,r.onChange=f;const l={};return r.res=l,l.close=()=>{n!==h.Zo.Close&&(n=h.Zo.Close,r.onChange())},l.open=()=>{n!==h.Zo.Open&&(n=h.Zo.Open,r.onChange())},l.respond=o=>{const t=function(e=[],r=[],o="ascending"){const t=[],a=new Map;r.forEach(e=>{if(e.key)return a.set(e.key,e);t.push(e)});let n=e.map(e=>{if(e.key){const r=a.get(e.key);if(r)return a.delete(e.key),r}return e});return n.push(...a.values(),...t),n="ascending"===o?n.sort((e,r)=>(e?.score??1/0)-(r?.score??1/0)):n.sort((e,r)=>(r?.score??1/0)-(e?.score??1/0)),n}(r.getResultBuffer(),o,e);r.setResultBuffer(t)},l.revoke=(...e)=>{const o=new Set(e),t=r.getResultBuffer().filter(({key:e})=>{const r=o.has(e);return r&&o.delete(e),!r});r.setResultBuffer(t),o.size&&(r.getRevokedBuffer().forEach(e=>o.add(e)),r.setRevokedBuffer([...o]))},l.updateContext=e=>{r.setUpdatedContext(e)},r}const v=new Map;async function m(e){const{id:r,providerId:o}=e,t=P.getProviderOrFail(o);let a=v.get(r);a||(a=function(e,r){const o=new Set;let t=!1;return{close:()=>{t=!0;for(const e of o)e()},req:{id:e,...r,context:r?.context||{},onClose:e=>{o.add(e),t&&e()},removeListener:e=>{o.delete(e)}}}}(r,e),v.set(r,a));const n=p(),i=()=>{const e=n.getResultBuffer();n.setResultBuffer([]);const t=n.getRevokedBuffer();n.setRevokedBuffer([]);const a=n.getUpdatedContext();n.setUpdatedContext(null);const i=n.getStatus();!async function(e){(await(0,u.gj)()).dispatch(l,e)}({id:r,providerId:o,results:e,revoked:t,status:i,context:a})};let s=!0,c=!1;n.onChange=()=>{if(s)return s=!1,void i();c||(c=!0,setTimeout(()=>{c=!1,i()},100))};try{const{results:e,context:l}=await t.onUserInput(a.req,n.res),i=n.getStatus();return{id:r,providerId:o,status:i,results:e,context:l}}catch(e){return console.error(`OpenFin/Workspace/Home. Uncaught exception in search provider ${o} for search ${r}`,"This is likely a bug in the implementation of the search provider.",e),{id:r,providerId:o,error:e?.message}}}async function k(){for(const{req:e,close:r}of v.values())r(),v.delete(e.id)}async function y(e,r){const o=P.getProviderOrFail(e.providerId);return e.result.dispatcherIdentity=r,o.onResultDispatch?.(e.result)}function w(e){const r=v.get(e.id);r?.close(),v.delete(e.id)}const P=new b.xM("home"),_=async r=>{await(0,u.YD)();!("skipPlatformInitCheck"in r&&!0===r.skipPlatformInitCheck)&&await(0,g.KZ)(fin.me.identity);P.assertNotAlreadyRegistered(r.id),P.setProvider(r);const o=await(0,u.gj)();return function(e){e.homeChannelActionsRegistered||(e.homeChannelActionsRegistered=!0,e.register(l,m),e.register(d,w),e.register(c,y),e.addDisconnectionListener(k))}(o),o.dispatch(i,{id:r.id,title:r.title,icon:r.icon,clientAPIVersion:e.et,identity:fin.me.identity,scoreOrder:r.scoreOrder,commandCode:r.commandCode,description:r.description,hidden:r.hidden,listTitle:r.listTitle,inputPlaceholder:r.inputPlaceholder,inputLandingPlaceholder:r.inputLandingPlaceholder,logoUrl:r.logoUrl,dispatchFocusEvents:r.dispatchFocusEvents,subHeader:r.subHeader})};var M=o(248),x=o(872);let S;const C=async o=>{if(!o.icon)throw new Error(`${o.id} provider needs to have icon property defined.`);(0,M.H)("home",n.F2);const t=await _(o);return S=new Promise((n,l)=>{try{(0,a.GR)({allowed:!0,componentVersion:t?.workspaceVersion}),e.et,n({...t,clientAPIVersion:e.et,setSearchQuery:async(e,r)=>(await(0,u.YD)()).dispatch("set-search-query",{query:e,providerID:o.id,options:r})})}catch(e){(0,a.GR)({allowed:!1,rejectionCode:e instanceof Error?e.message:"unknown"}),l(e)}finally{r.A.markEndAndMeasure("home-registration")}}),S},A=async e=>{P.deleteProvider(e);const r=await(0,u.gj)();await r.dispatch(s,e)};async function I(){r.A.markStart("home-show"),await S;const e=await(0,u.YD)();await e.dispatch("show-home",void 0)}async function $(){await S;const e=await(0,u.YD)();await e.dispatch("hide-home",void 0)}})(),module.exports=t})();
|
|
1
|
+
(()=>{var e={211:(e,r,o)=>{"use strict";o.d(r,{v:()=>Dt});var t={};o.r(t),o.d(t,{createNamespacedLocalStorage:()=>c,getItem:()=>i,removeItem:()=>s,setItem:()=>l});var a=o(822),n=o(723);const l=(e,r)=>{localStorage.setItem(`${n.$h}-${e}`,r)},i=e=>localStorage.getItem(`${n.$h}-${e}`),s=e=>localStorage.removeItem(`${n.$h}-${e}`),c=e=>({setItem:(r,o)=>{localStorage.setItem(`${e}-${r}`,o)},getItem:r=>localStorage.getItem(`${e}-${r}`),removeItem:r=>localStorage.removeItem(`${e}-${r}`)});var d=o(516);o(70),o(695),o(79);const u={[d.Palette.brandPrimary]:"#0A76D3",[d.Palette.brandPrimaryActive]:"#0A71C9",[d.Palette.brandPrimaryHover]:"#0B84EB",[d.Palette.brandPrimaryFocused]:d.Color.white,[d.Palette.brandPrimaryText]:d.Color.white,[d.Palette.statusSuccess]:d.Color.functional1,[d.Palette.statusWarning]:d.Color.functional10,[d.Palette.statusCritical]:d.Color.functional7,[d.Palette.statusActive]:d.Color.functional3,[d.Palette.contentBackground1]:"#0A76D3",[d.Palette.contentBackground2]:"#000000",[d.Palette.contentBackground3]:"#000000",[d.Palette.contentBackground4]:"#000000",[d.Palette.contentBackground5]:"#000000",[d.Palette.borderNeutral]:d.Color.silverGray},g={...u,[d.Palette.background1]:d.Color.white,[d.Palette.background2]:d.Color.lightGray1,[d.Palette.background3]:d.Color.lightGray2,[d.Palette.background4]:d.Color.lightGray3,[d.Palette.background5]:d.Color.lightGray4,[d.Palette.background6]:d.Color.lightGray5,[d.Palette.brandSecondary]:d.Color.lightGray4,[d.Palette.brandSecondaryActive]:d.Color.lightGray4Active,[d.Palette.brandSecondaryHover]:d.Color.lightGray4Hover,[d.Palette.brandSecondaryFocused]:d.Color.darkGray5,[d.Palette.brandSecondaryText]:d.Color.darkGray5,[d.Palette.inputBackground]:d.Color.lightGray3,[d.Palette.inputColor]:d.Color.darkGray5,[d.Palette.inputPlaceholder]:d.Color.darkGray2,[d.Palette.inputDisabled]:d.Color.neutralGray,[d.Palette.inputFocused]:d.Color.lightGray5,[d.Palette.inputBorder]:d.Color.neutralGray,[d.Palette.textDefault]:d.Color.darkGray5,[d.Palette.textHelp]:d.Color.darkGray3,[d.Palette.textInactive]:d.Color.neutralGray},b={...u,[d.Palette.background1]:d.Color.darkGray6,[d.Palette.background2]:d.Color.darkGray5,[d.Palette.background3]:d.Color.darkGray4,[d.Palette.background4]:d.Color.darkGray3,[d.Palette.background5]:d.Color.darkGray2,[d.Palette.background6]:d.Color.darkGray1,[d.Palette.brandSecondary]:d.Color.darkGray2,[d.Palette.brandSecondaryActive]:d.Color.darkGray2Active,[d.Palette.brandSecondaryHover]:d.Color.darkGray2Hover,[d.Palette.brandSecondaryFocused]:d.Color.white,[d.Palette.brandSecondaryText]:d.Color.white,[d.Palette.inputBackground]:d.Color.darkGray1,[d.Palette.inputColor]:d.Color.white,[d.Palette.inputPlaceholder]:d.Color.lightGray5,[d.Palette.inputDisabled]:d.Color.neutralGray,[d.Palette.inputFocused]:d.Color.lightGray5,[d.Palette.inputBorder]:d.Color.neutralGray,[d.Palette.textDefault]:d.Color.white,[d.Palette.textHelp]:d.Color.lightGray5,[d.Palette.textInactive]:d.Color.neutralGray},h=(d.Color.darkGray5,d.Color.darkGray5,e=>{const r=e.light.toCSS(),o=e.dark.toCSS();return`:root{${r}}\n [data-scheme="dark"] {\n ${o}\n }\n @media (prefers-color-scheme: dark) {\n [data-scheme="system"] {${o} }\n }\n\n @media (prefers-color-scheme: light) {\n [data-scheme="system"] {${r} }\n }\n `});var f;!function(e){e.CurrentWorkspaceId="currentWorkspaceId",e.LastFocusedBrowserWindow="lastFocusedBrowserWindow",e.MachineName="machineName",e.NewTabPageLayout="NewTabPageLayout",e.NewTabPageSort="NewTabPageSort",e.DockPosition="DockPosition",e.SelectedColorScheme="SelectedColorScheme",e.ThemePaletteSheet="ThemePaletteSheet",e.HasMovedStore="HasMovedStore",e.PageDragState="BrowserPageDragState",e.ThemePaletteDefaultScheme="ThemePaletteDefaultScheme"}(f||(f={}));const p=f,v=e=>{if(!e.includes("#"))throw new Error("Invalid hex value, cannot convert to RGB. Hex value begins with a hashtag.");let r=0,o=0,t=0;if(4===e.length)r=`0x${e[1]}${e[1]}`,o=`0x${e[2]}${e[2]}`,t=`0x${e[3]}${e[3]}`;else{if(7!==e.length)throw new Error("Invalid hex string length, cannot convert to RGB.");r=`0x${e[1]}${e[2]}`,o=`0x${e[3]}${e[4]}`,t=`0x${e[5]}${e[6]}`}return[+r,+o,+t]},m=e=>{const r=e;if(r.startsWith("#")){return{rgb:v(r).join(", "),alpha:1}}const o=r.match(/\d{1,3}(\.\d+)?/g);if(o){const[e,r,t,a]=o;return{rgb:`${e}, ${r}, ${t}`,alpha:void 0!==a?parseFloat(a):1}}return{rgb:v(e).join(", "),alpha:1}};var k,y,w,P,_,M,x,S,C,A,I,$;!function(e){e.Left="Left",e.Right="Right",e.Top="Top",e.Bottom="Bottom"}(k||(k={})),function(e){e.UrlChange="URL_CHANGE",e.ViewAdded="VIEW_ADDED",e.ViewRemoved="VIEW_REMOVED",e.PageContextAdded="PAGE_CONTEXT_ADDED",e.PageContextRemoved="PAGE_CONTEXT_REMOVED"}(y||(y={})),function(e){e.NewWindow="NewWindow",e.NewPage="NewPage",e.SavePage="SavePage",e.SavePageAs="SavePageAs",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.CloseWindow="CloseWindow",e.RestoreChanges="RestoreChanges",e.SaveWorkspace="SaveWorkspace",e.SaveWorkspaceAs="SaveWorkspaceAs",e.RenameWorkspace="RenameWorkspace",e.SwitchWorkspace="SwitchWorkspace",e.DeleteWorkspace="DeleteWorkspace",e.Downloads="Downloads",e.OpenStorefront="OpenStorefront",e.ManageDesktopSignals="ManageDesktopSignals",e.FindInPage="FindInPage",e.Appearance="Appearance",e.Quit="Quit",e.Custom="Custom"}(w||(w={})),function(e){e.Light="light",e.Dark="dark",e.System="system"}(P||(P={})),function(e){e.Close="Close",e.Duplicate="Duplicate",e.Rename="Rename",e.Save="Save",e.SaveAs="Save As",e.NewPage="New Page",e.DeletePage="Delete Page",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Refresh="Refresh",e.CloseOthers="Close others",e.Delete="Delete",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.ManageDesktopSignals="ManageDesktopSignals",e.AddToChannel="AddToChannel",e.Custom="Custom"}(_||(_={})),function(e){e.Lock="Lock",e.ShowHideTabs="ShowHideTabs",e.AddToChanel="AddToChannel",e.ManageDesktopSignals="ManageDesktopSignals",e.FindInPage="FindInPage",e.Print="Print",e.Pin="Pin"}(M||(M={})),function(e){e.EditName="Edit Name",e.Move="Move",e.Delete="Delete"}(x||(x={})),function(e){e.NewView="NewView",e.DuplicateViews="DuplicateView",e.OpenWithDefaultBrowser="OpenWithDefaultBrowser",e.ReloadViews="ReloadTab",e.CloseViews="CloseTab",e.AddToChannel="AddToChannel",e.RemoveFromChannel="RemoveFromChannel",e.Back="Back",e.Forward="Forward",e.Print="Print",e.PrintAll="PrintAll",e.PrintScreen="PrintScreen",e.Custom="Custom"}(S||(S={})),function(e){e.ShowHideTabs="ShowHideTabs",e.ColorLinking="ColorLinking",e.PresetLayouts="PresetLayouts",e.LockUnlockPage="LockUnlockPage",e.SaveMenu="SaveMenu",e.SavePage="SavePage",e.Download="Download",e.Minimise="Minimise",e.Maximise="Maximise",e.Close="Close",e.Custom="Custom"}(C||(C={})),function(e){e.SavePage="SavePage",e.SaveWorkspace="SaveWorkspace",e.SavePageAs="SavePageAs",e.SaveWorkspaceAs="SaveWorkspaceAs",e.Custom="Custom"}(A||(A={})),function(e){e.Browser="browser",e.Platform="platform"}(I||(I={})),function(e){e.CustomButton="CustomButton",e.StoreCustomButton="StoreCustomButton",e.CustomDropdownItem="CustomDropdownItem",e.GlobalContextMenu="GlobalContextMenu",e.ViewTabContextMenu="ViewTabContextMenu",e.PageTabContextMenu="PageTabContextMenu",e.SaveButtonContextMenu="SaveButtonContextMenu",e.API="API"}($||($={}));var F;!function(e){e.SAVE_PAGE="SAVE_PAGE",e.SAVE_WORKSPACE="SAVE_WORKSPACE",e.SAVE_PAGE_AS="SAVE_PAGE_AS",e.SAVE_WORKSPACE_AS="SAVE_WORKSPACE_AS",e.RENAME_PAGE="RENAME_PAGE",e.RENAME_WORKSPACE="RENAME_WORKSPACE"}(F||(F={}));const z=P.Dark,T=(0,a.h)("theme-storage-controller"),R=e=>Object.entries(e).reduce((e,[r,o])=>`${e}--workspace-palette-${r}: ${o};`,""),D=(e,r)=>{const o=!!e.contentBackground5&&"#000000"!==e.contentBackground5,t=!!e.contentBackground4&&"#000000"!==e.contentBackground4,a=m(e.textDefault),n=m(e.textInactive),l=a.rgb,i=n.rgb,s=a.alpha?parseFloat(a.alpha.toString()):1,c=n.alpha?parseFloat(n.alpha.toString()):1;return{dockExpandedContainerBorderRadius:o&&r?"0":"10px",fillerBackgroundColor:t?e.contentBackground4:"inherit","computed-scrollbar-thumb-alpha":s,"computed-scrollbar-track-alpha":c,"scrollbar-thumb-rgb":l,"scrollbar-track-rgb":i}},E=(e,r,o)=>({selectedTab:"dark"===r?e.background3:e.background1,...D(e,o)});var B={89:(e,r,o)=>{e=o.nmd(e);var t="__lodash_hash_undefined__",a=9007199254740991,n="[object Arguments]",l="[object Function]",i="[object Object]",s=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[n]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d[l]=d["[object Map]"]=d["[object Number]"]=d[i]=d["[object RegExp]"]=d["[object Set]"]=d["[object String]"]=d["[object WeakMap]"]=!1;var u,g,b,h="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,f="object"==typeof self&&self&&self.Object===Object&&self,p=h||f||Function("return this")(),v=r&&!r.nodeType&&r,m=v&&e&&!e.nodeType&&e,k=m&&m.exports===v,y=k&&h.process,w=function(){try{return m&&m.require&&m.require("util").types||y&&y.binding&&y.binding("util")}catch(e){}}(),P=w&&w.isTypedArray,_=Array.prototype,M=Function.prototype,x=Object.prototype,S=p["__core-js_shared__"],C=M.toString,A=x.hasOwnProperty,I=(u=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",$=x.toString,F=C.call(Object),z=RegExp("^"+C.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),T=k?p.Buffer:void 0,R=p.Symbol,D=p.Uint8Array,E=(T&&T.allocUnsafe,g=Object.getPrototypeOf,b=Object,function(e){return g(b(e))}),B=Object.create,W=x.propertyIsEnumerable,j=_.splice,O=R?R.toStringTag:void 0,G=function(){try{var e=ie(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),L=T?T.isBuffer:void 0,H=Math.max,U=Date.now,N=ie(p,"Map"),V=ie(Object,"create"),q=function(){function e(){}return function(r){if(!ke(r))return{};if(B)return B(r);e.prototype=r;var o=new e;return e.prototype=void 0,o}}();function Z(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function K(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function Y(e){var r=-1,o=null==e?0:e.length;for(this.clear();++r<o;){var t=e[r];this.set(t[0],t[1])}}function J(e){var r=this.__data__=new K(e);this.size=r.size}function Q(e,r,o){(void 0!==o&&!ge(e[r],o)||void 0===o&&!(r in e))&&re(e,r,o)}function X(e,r,o){var t=e[r];A.call(e,r)&&ge(t,o)&&(void 0!==o||r in e)||re(e,r,o)}function ee(e,r){for(var o=e.length;o--;)if(ge(e[o][0],r))return o;return-1}function re(e,r,o){"__proto__"==r&&G?G(e,r,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[r]=o}function oe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":O&&O in Object(e)?function(e){var r=A.call(e,O),o=e[O];try{e[O]=void 0;var t=!0}catch(e){}var a=$.call(e);return t&&(r?e[O]=o:delete e[O]),a}(e):function(e){return $.call(e)}(e)}function te(e){return ye(e)&&oe(e)==n}function ae(e,r,o,t,a){e!==r&&function(e,r,o){for(var t=-1,a=Object(e),n=o(e),l=n.length;l--;){var i=n[++t];if(!1===r(a[i],i))break}}(r,function(n,l){if(a||(a=new J),ke(n))!function(e,r,o,t,a,n,l){var s=de(e,o),c=de(r,o),d=l.get(c);if(d)Q(e,o,d);else{var u,g,b,h,f,p=n?n(s,c,o+"",e,r,l):void 0,v=void 0===p;if(v){var m=he(c),k=!m&&pe(c),y=!m&&!k&&we(c);p=c,m||k||y?he(s)?p=s:ye(f=s)&&fe(f)?p=function(e,r){var o=-1,t=e.length;for(r||(r=Array(t));++o<t;)r[o]=e[o];return r}(s):k?(v=!1,p=function(e){return e.slice()}(c)):y?(v=!1,h=new(b=(u=c).buffer).constructor(b.byteLength),new D(h).set(new D(b)),g=h,p=new u.constructor(g,u.byteOffset,u.length)):p=[]:function(e){if(!ye(e)||oe(e)!=i)return!1;var r=E(e);if(null===r)return!0;var o=A.call(r,"constructor")&&r.constructor;return"function"==typeof o&&o instanceof o&&C.call(o)==F}(c)||be(c)?(p=s,be(s)?p=function(e){return function(e,r,o){var t=!o;o||(o={});for(var a=-1,n=r.length;++a<n;){var l=r[a],i=void 0;void 0===i&&(i=e[l]),t?re(o,l,i):X(o,l,i)}return o}(e,Pe(e))}(s):ke(s)&&!ve(s)||(p=function(e){return"function"!=typeof e.constructor||ce(e)?{}:q(E(e))}(c))):v=!1}v&&(l.set(c,p),a(p,c,t,n,l),l.delete(c)),Q(e,o,p)}}(e,r,l,o,ae,t,a);else{var s=t?t(de(e,l),n,l+"",e,r,a):void 0;void 0===s&&(s=n),Q(e,l,s)}},Pe)}Z.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},Z.prototype.delete=function(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r},Z.prototype.get=function(e){var r=this.__data__;if(V){var o=r[e];return o===t?void 0:o}return A.call(r,e)?r[e]:void 0},Z.prototype.has=function(e){var r=this.__data__;return V?void 0!==r[e]:A.call(r,e)},Z.prototype.set=function(e,r){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=V&&void 0===r?t:r,this},K.prototype.clear=function(){this.__data__=[],this.size=0},K.prototype.delete=function(e){var r=this.__data__,o=ee(r,e);return!(o<0||(o==r.length-1?r.pop():j.call(r,o,1),--this.size,0))},K.prototype.get=function(e){var r=this.__data__,o=ee(r,e);return o<0?void 0:r[o][1]},K.prototype.has=function(e){return ee(this.__data__,e)>-1},K.prototype.set=function(e,r){var o=this.__data__,t=ee(o,e);return t<0?(++this.size,o.push([e,r])):o[t][1]=r,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new Z,map:new(N||K),string:new Z}},Y.prototype.delete=function(e){var r=le(this,e).delete(e);return this.size-=r?1:0,r},Y.prototype.get=function(e){return le(this,e).get(e)},Y.prototype.has=function(e){return le(this,e).has(e)},Y.prototype.set=function(e,r){var o=le(this,e),t=o.size;return o.set(e,r),this.size+=o.size==t?0:1,this},J.prototype.clear=function(){this.__data__=new K,this.size=0},J.prototype.delete=function(e){var r=this.__data__,o=r.delete(e);return this.size=r.size,o},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,r){var o=this.__data__;if(o instanceof K){var t=o.__data__;if(!N||t.length<199)return t.push([e,r]),this.size=++o.size,this;o=this.__data__=new Y(t)}return o.set(e,r),this.size=o.size,this};var ne=G?function(e,r){return G(e,"toString",{configurable:!0,enumerable:!1,value:(o=r,function(){return o}),writable:!0});var o}:xe;function le(e,r){var o,t,a=e.__data__;return("string"==(t=typeof(o=r))||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==o:null===o)?a["string"==typeof r?"string":"hash"]:a.map}function ie(e,r){var o=function(e,r){return null==e?void 0:e[r]}(e,r);return function(e){return!(!ke(e)||function(e){return!!I&&I in e}(e))&&(ve(e)?z:s).test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(o)?o:void 0}function se(e,r){var o=typeof e;return!!(r=null==r?a:r)&&("number"==o||"symbol"!=o&&c.test(e))&&e>-1&&e%1==0&&e<r}function ce(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||x)}function de(e,r){if(("constructor"!==r||"function"!=typeof e[r])&&"__proto__"!=r)return e[r]}var ue=function(e){var r=0,o=0;return function(){var t=U(),a=16-(t-o);if(o=t,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}(ne);function ge(e,r){return e===r||e!=e&&r!=r}var be=te(function(){return arguments}())?te:function(e){return ye(e)&&A.call(e,"callee")&&!W.call(e,"callee")},he=Array.isArray;function fe(e){return null!=e&&me(e.length)&&!ve(e)}var pe=L||function(){return!1};function ve(e){if(!ke(e))return!1;var r=oe(e);return r==l||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function me(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function ke(e){var r=typeof e;return null!=e&&("object"==r||"function"==r)}function ye(e){return null!=e&&"object"==typeof e}var we=P?function(e){return function(r){return e(r)}}(P):function(e){return ye(e)&&me(e.length)&&!!d[oe(e)]};function Pe(e){return fe(e)?function(e){var r=he(e),o=!r&&be(e),t=!r&&!o&&pe(e),a=!r&&!o&&!t&&we(e),n=r||o||t||a,l=n?function(e,r){for(var o=-1,t=Array(e);++o<e;)t[o]=r(o);return t}(e.length,String):[],i=l.length;for(var s in e)n&&("length"==s||t&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||se(s,i))||l.push(s);return l}(e):function(e){if(!ke(e))return function(e){var r=[];if(null!=e)for(var o in Object(e))r.push(o);return r}(e);var r=ce(e),o=[];for(var t in e)("constructor"!=t||!r&&A.call(e,t))&&o.push(t);return o}(e)}var _e,Me=(_e=function(e,r,o){ae(e,r,o)},function(e){return ue(function(e,r,o){return r=H(void 0===r?e.length-1:r,0),function(){for(var t=arguments,a=-1,n=H(t.length-r,0),l=Array(n);++a<n;)l[a]=t[r+a];a=-1;for(var i=Array(r+1);++a<r;)i[a]=t[a];return i[r]=o(l),function(e,r,o){switch(o.length){case 0:return e.call(r);case 1:return e.call(r,o[0]);case 2:return e.call(r,o[0],o[1]);case 3:return e.call(r,o[0],o[1],o[2])}return e.apply(r,o)}(e,this,i)}}(e,void 0,xe),e+"")}(function(e,r){var o=-1,t=r.length,a=t>1?r[t-1]:void 0,n=t>2?r[2]:void 0;for(a=_e.length>3&&"function"==typeof a?(t--,a):void 0,n&&function(e,r,o){if(!ke(o))return!1;var t=typeof r;return!!("number"==t?fe(o)&&se(r,o.length):"string"==t&&r in o)&&ge(o[r],e)}(r[0],r[1],n)&&(a=t<3?void 0:a,t=1),e=Object(e);++o<t;){var l=r[o];l&&_e(e,l,o)}return e}));function xe(e){return e}e.exports=Me},436:(e,r,o)=>{var t,a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l="\\ud800-\\udfff",i="\\u2700-\\u27bf",s="a-z\\xdf-\\xf6\\xf8-\\xff",c="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",u="["+d+"]",g="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",b="\\d+",h="["+i+"]",f="["+s+"]",p="[^"+l+d+b+i+s+c+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",k="["+c+"]",y="(?:"+f+"|"+p+")",w="(?:"+k+"|"+p+")",P="(?:['’](?:d|ll|m|re|s|t|ve))?",_="(?:['’](?:D|LL|M|RE|S|T|VE))?",M="(?:"+g+"|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?",S=x+M+"(?:\\u200d(?:"+["[^"+l+"]",v,m].join("|")+")"+x+M+")*",C="(?:"+[h,v,m].join("|")+")"+S,A=RegExp("['’]","g"),I=RegExp(g,"g"),$=RegExp([k+"?"+f+"+"+P+"(?="+[u,k,"$"].join("|")+")",w+"+"+_+"(?="+[u,k+y,"$"].join("|")+")",k+"?"+y+"+"+P,k+"+"+_,b,C].join("|"),"g"),F=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,z="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,T="object"==typeof self&&self&&self.Object===Object&&self,R=z||T||Function("return this")(),D=(t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==t?void 0:t[e]}),E=Object.prototype.toString,B=R.Symbol,W=B?B.prototype:void 0,j=W?W.toString:void 0;function O(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==E.call(e)}(e))return j?j.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}(e)}var G,L=(G=function(e,r,o){return e+(o?"-":"")+r.toLowerCase()},function(e){return function(e,r,o){for(var t=-1,a=e?e.length:0;++t<a;)o=r(o,e[t],t,e);return o}(function(e){return function(e){return F.test(e)}(e=O(e))?function(e){return e.match($)||[]}(e):function(e){return e.match(a)||[]}(e)}(function(e){return(e=O(e))&&e.replace(n,D).replace(I,"")}(e).replace(A,"")),G,"")});e.exports=L}},W={};function j(e){var r=W[e];if(void 0!==r)return r.exports;var o=W[e]={id:e,loaded:!1,exports:{}};return B[e](o,o.exports,j),o.loaded=!0,o.exports}j.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return j.d(r,{a:r}),r},j.d=(e,r)=>{for(var o in r)j.o(r,o)&&!j.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},j.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),j.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),j.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var O=j(89);j.n(O);JSON.parse('{"brand":{"base":{"dark":"rgba(20, 6, 17, 1)","light":"rgba(255, 255, 255, 1)"},"accent":{"dark":"rgba(255, 214, 210, 1)","light":"rgba(100, 30, 85, 1)"}},"icon":{"symbol":"","wordmark":""},"color":{"role":{"focusRing":"{color.role.transparent.50}","overlay":"rgba(0, 0, 0, 0.75)","background":{"1":"{color.generated.scale.1}","2":"{color.generated.scale.2}","3":"{color.generated.scale.3}","4":"{color.generated.scale.4}","5":"{color.generated.scale.5}","6":"{color.generated.scale.6}","base":"{color.role.background.1}","inverse":"{color.generated.foreground.base}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"positive":{"strong":"{color.generated.positive.strong}","base":"{color.generated.positive.base}","soft":"{color.generated.positive.soft}","stronger":"{color.generated.positive.stronger}","softer":"{color.generated.positive.softer}","softest":"{color.generated.positive.softest}"},"warning":{"strong":"{color.generated.warning.strong}","base":"{color.generated.warning.base}","soft":"{color.generated.warning.soft}","stronger":"{color.generated.warning.stronger}","softer":"{color.generated.warning.softer}","softest":"{color.generated.warning.softest}"},"critical":{"strong":"{color.generated.critical.strong}","base":"{color.generated.critical.base}","soft":"{color.generated.critical.soft}","stronger":"{color.generated.critical.stronger}","softer":"{color.generated.critical.softer}","softest":"{color.generated.critical.softest}"},"informative":{"strong":"{color.generated.informative.strong}","base":"{color.generated.informative.base}","soft":"{color.generated.informative.soft}","stronger":"{color.generated.informative.stronger}","softer":"{color.generated.informative.softer}","softest":"{color.generated.informative.softest}"}},"foreground":{"base":"{color.generated.foreground.base}","soft":"{color.generated.foreground.soft}","softer":"{color.generated.foreground.softer}","onPrimary":"{color.generated.background.base}","inverse":"{color.generated.background.base}","neutral":"{color.generated.foreground.base}","positive":"{color.generated.positive.base}","warning":"{color.generated.warning.base}","critical":"{color.generated.critical.base}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"informative":"{color.generated.informative.base}"},"border":{"1":"{color.generated.scale.1}","2":"{color.generated.scale.2}","3":"{color.generated.scale.3}","4":"{color.generated.scale.4}","5":"{color.generated.scale.5}","6":"{color.generated.scale.6}","base":"{color.generated.scale.5}","strong":"{color.generated.foreground.soft}","stronger":"{color.generated.foreground.softer}","accent":{"stronger":"{color.generated.accent.stronger}","strong":"{color.generated.accent.strong}","base":"{color.generated.accent.base}","soft":"{color.generated.accent.soft}","softer":"{color.generated.accent.softer}","softest":"{color.generated.accent.softest}"},"positive":{"strong":"{color.generated.positive.strong}","base":"{color.generated.positive.base}","soft":"{color.generated.positive.soft}","stronger":"{color.generated.positive.stronger}","softer":"{color.generated.positive.softer}","softest":"{color.generated.positive.softest}"},"warning":{"strong":"{color.generated.warning.strong}","base":"{color.generated.warning.base}","soft":"{color.generated.warning.soft}","stronger":"{color.generated.warning.stronger}","softer":"{color.generated.warning.softer}","softest":"{color.generated.warning.softest}"},"critical":{"strong":"{color.generated.critical.strong}","base":"{color.generated.critical.base}","soft":"{color.generated.critical.soft}","stronger":"{color.generated.critical.stronger}","softer":"{color.generated.critical.softer}","softest":"{color.generated.critical.softest}"}},"identifier":{"blue":"{color.generated.identifier.blue}","pink":"{color.generated.identifier.pink}","indigo":"{color.generated.identifier.indigo}","teal":"{color.generated.identifier.teal}","green":"{color.generated.identifier.green}","orange":"{color.generated.identifier.orange}","red":"{color.generated.identifier.red}","yellow":"{color.generated.identifier.yellow}","gray":"{color.generated.identifier.gray}"},"link":{"default":"{color.generated.accent.base}","hover":"{color.generated.accent.stronger}"},"transparent":{"0":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.001}]},"8":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.08}]},"12":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.12}]},"18":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.18}]},"32":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.32}]},"50":{"_inputs":["{color.role.foreground.base}"],"_transforms":[{"type":"alpha","amount":0.5}]}}},"generated":{"scale":{"1":"{color.generated.background.base}","2":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.06}]},"3":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.12}]},"4":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.18}]},"5":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.24}]},"6":{"_inputs":["{color.generated.scale.1}",{"color":"{color.generated.foreground.base}","alpha":0.3}]}},"foreground":{"soft":{"_inputs":["{color.generated.background.base}",{"color":"{color.generated.foreground.base}","alpha":0.75}]},"softer":{"_inputs":["{color.generated.background.base}",{"color":"{color.generated.foreground.base}","alpha":0.6}]}}},"enterprise":{"contextMenu":{"background":"{color.role.background.base}","border":"{color.role.border.base}"},"contextMenuItem":{"divider":"{color.role.border.3}","heading":"{color.role.foreground.soft}","default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","active":"{color.role.background.3}","focus":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}"}},"critical":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.critical.softest}","active":"{color.role.background.critical.softest}","focus":"{color.role.background.critical.softest}"},"text":{"default":"{color.role.foreground.critical}","hover":"{color.role.foreground.critical}","active":"{color.role.foreground.critical}","focus":"{color.role.foreground.critical}"},"icon":{"default":"{color.role.foreground.critical}","hover":"{color.role.foreground.critical}","active":"{color.role.foreground.critical}","focus":"{color.role.foreground.critical}"}}},"view":{"border":"{color.role.border.base}"},"viewSplitter":{"default":"{color.role.transparent.0}","hover":"{color.role.background.6}"},"window":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"topChrome":{"border":"{color.role.border.base}"},"topTab":{"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.accent.base}","selected":"{color.role.foreground.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.topTab.background.default}","hover":"{color.enterprise.topTab.background.hover}","selected":"{color.enterprise.topTab.background.selected}"},"middle":{"default":{"_inputs":["{color.enterprise.topTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.topTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]},"selected":{"_inputs":["{color.enterprise.topTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.topTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.topTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]},"selected":{"_inputs":["{color.enterprise.topTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0}]}}},"unsavedIcon":"{color.role.foreground.base}","loader":"{color.role.foreground.base}"},"viewTab":{"border":{"selected":"{color.role.foreground.base}","dragging":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","inactive":"{color.role.foreground.soft}","selected":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.viewTab.background.default}","hover":"{color.enterprise.viewTab.background.hover}","active":"{color.enterprise.viewTab.background.active}","selected":"{color.enterprise.viewTab.background.selected}"},"middle":{"default":{"_inputs":["{color.enterprise.viewTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.viewTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]},"selected":{"_inputs":["{color.enterprise.viewTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.viewTab.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.viewTab.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]},"selected":{"_inputs":["{color.enterprise.viewTab.overflow.start.selected}"],"_transforms":[{"type":"alpha","amount":0}]}}},"loader":"{color.role.foreground.base}"},"command":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}"},"shortcutKey":{"background":"{color.role.background.4}","icon":"{color.role.foreground.base}"},"searchBar":{"border":{"default":"{color.role.border.base}","hover":"{color.role.border.6}","active":"{color.role.border.6}","focus":"{color.role.border.strong}"},"icon":{"default":"{color.role.foreground.base}"},"value":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","active":"{color.role.foreground.base}","focus":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"overflow":{"start":{"default":"{color.enterprise.searchBar.background.default}","hover":"{color.enterprise.searchBar.background.hover}"},"middle":{"default":{"_inputs":["{color.enterprise.searchBar.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0.5}]},"hover":{"_inputs":["{color.enterprise.searchBar.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0.5}]}},"end":{"default":{"_inputs":["{color.enterprise.searchBar.overflow.start.default}"],"_transforms":[{"type":"alpha","amount":0}]},"hover":{"_inputs":["{color.enterprise.searchBar.overflow.start.hover}"],"_transforms":[{"type":"alpha","amount":0}]}}}},"searchMenu":{"background":"{color.role.background.base}","border":"{color.role.border.base}","commandBar":"{color.role.background.2}","banner":"{color.role.background.2}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"searchResult":{"icon":"{color.shared.icon.accent}","iconBackground":{"default":"{color.role.background.2}","selected":"{color.role.background.1}"},"heading":"{color.role.foreground.soft}","title":"{color.role.foreground.base}","description":"{color.role.foreground.soft}","link":"{color.role.link.default}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.4}"}},"progressIndicator":{"container":"{color.role.transparent.18}","fill":"{color.role.foreground.accent.base}"},"sidePanel":{"background":{"_value":"{color.role.background.base}","transparent":{"_inputs":["{color.enterprise.sidePanel.background}"],"_transforms":[{"type":"alpha","amount":0}]}},"border":"{color.role.border.base}","icon":"{color.role.foreground.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}","softer":"{color.role.foreground.softer}"}},"listItem":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"iconBackground":{"default":"{color.role.background.3}","hover":"{color.role.background.3}"}},"prompt":{"text":"{color.role.foreground.base}","icon":"{color.role.foreground.base}","iconBackground":"{color.role.background.base}","editBorder":"{color.role.border.base}","background":{"default":"{color.role.background.3}","hover":"{color.role.background.4}"}},"composer":{"background":"{color.role.background.2}","border":"{color.role.border.base}","placeholder":"{color.role.foreground.soft}","text":"{color.role.foreground.base}"},"skeletonLoader":{"background":"{color.role.background.2}","template":{"start":{"_inputs":["{color.role.background.3}"],"_transforms":[{"type":"alpha","amount":0}]},"middle":"{color.role.background.4}","end":{"_inputs":["{color.role.background.3}"],"_transforms":[{"type":"alpha","amount":0}]}}},"searchFilter":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.accent.softer}","selectedHover":"{color.role.background.accent.soft}"},"border":{"default":"{color.role.border.3}","hover":"{color.role.border.3}","selected":"{color.role.border.accent.base}","selectedHover":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"},"text":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"}},"searchTab":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}","selected":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","selected":"{color.role.background.accent.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"indicator":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}"}},"featuredContentItem":{"background":{"default":"{color.role.background.2}","hover":"{color.role.background.4}","selected":"{color.role.background.4}"},"text":{"default":"{color.role.foreground.base}"}}},"shared":{"overlay":"{color.role.overlay}","focusRing":"{color.role.focusRing}","watermark":"{color.role.transparent.50}","modal":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"listItem":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.3}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}"},"iconBackground":{"default":"{color.role.background.3}","hover":"{color.role.background.3}","selected":"{color.role.background.3}"}},"card":{"text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"background":{"default":"{color.role.background.base}","hover":"{color.role.background.base}","selected":"{color.role.background.base}","loading":"rgba(255, 255, 255, 1)"},"border":{"default":"{color.role.border.3}","hover":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"shadow":{"default":"{color.role.transparent.8}","hover":"{color.role.transparent.12}"}},"banner":{"positive":{"background":"{color.role.background.positive.soft}","border":"{color.role.border.positive.base}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.positive}"},"warning":{"background":"{color.role.background.warning.strong}","border":"{color.role.border.warning.base}","text":"{color.role.foreground.inverse}","icon":"{color.role.foreground.warning}"},"critical":{"background":"{color.role.background.critical.soft}","border":"{color.role.border.critical.base}","text":"{color.role.foreground.base}","icon":"{color.role.foreground.critical}"}},"button":{"default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","selected":"{color.role.background.accent.softer}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.base}","pressed":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"focusRing":"{color.role.focusRing}"},"primary":{"background":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.strong}","pressed":"{color.role.background.accent.stronger}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}","pressed":"{color.role.foreground.onPrimary}"},"text":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}"},"focusRing":"{color.role.background.accent.soft}"},"subtle":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"}},"critical":{"background":{"default":"{color.role.background.critical.base}","hover":"{color.role.background.critical.strong}","pressed":"{color.role.background.critical.stronger}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.inverse}","hover":"{color.role.foreground.inverse}","pressed":"{color.role.foreground.inverse}"},"text":{"default":"{color.role.foreground.inverse}","hover":"{color.role.foreground.inverse}"},"focusRing":"{color.role.background.critical.soft}"},"ghost":{"icon":{"default":"{color.role.foreground.base}"},"text":{"default":"{color.role.foreground.base}","hover":"{color.role.background.accent.strong}"},"background":"{color.role.transparent.0}"}},"iconButton":{"ghost":{"icon":{"default":"{color.role.foreground.base}"},"background":"{color.role.transparent.0}"},"primary":{"background":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.strong}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.onPrimary}","hover":"{color.role.foreground.onPrimary}","pressed":"{color.role.foreground.onPrimary}"},"focusRing":"{color.role.background.accent.soft}"},"subtle":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","pressed":"{color.role.transparent.0}"},"icon":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","pressed":"{color.role.foreground.soft}"}},"default":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.12}","selected":"{color.role.background.accent.softer}","pressed":"{color.role.transparent.18}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.base}","pressed":"{color.role.border.base}","selected":"{color.role.border.accent.base}"},"icon":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","pressed":"{color.role.foreground.base}","selected":"{color.role.foreground.accent.base}"},"focusRing":"{color.role.focusRing}"}},"icon":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}","error":"{color.role.foreground.critical}","background3":"{color.role.background.3}","background1":"{color.role.background.1}","accent":"{color.role.foreground.accent.base}","border":"{color.role.foreground.base}","accentTransparent":{"_inputs":["{color.shared.icon.accent}"],"_transforms":[{"type":"alpha","amount":0.16}]}},"dock":{"background":"{color.role.background.base}","dragIndicator":"{color.role.foreground.soft}","border":"{color.role.border.base}"},"indicator":{"text":"{color.role.foreground.inverse}","background":{"blue":"{color.role.identifier.blue}","orange":"{color.role.identifier.orange}","indigo":"{color.role.identifier.indigo}","pink":"{color.role.identifier.pink}","yellow":"{color.role.identifier.yellow}","green":"{color.role.identifier.green}","teal":"{color.role.identifier.teal}","red":"{color.role.identifier.red}","expired":"{color.role.background.6}","transparent":"{color.role.transparent.0}"}},"notification":{"background":"{color.role.background.3}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"placementOption":{"text":{"default":"{color.role.foreground.base}"},"backdrop":"{color.role.background.2}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}","selected":"{color.role.background.6}"},"previewObject":{"default":"{color.role.background.5}","hover":"{color.role.background.accent.base}","selected":"{color.role.background.accent.base}"}},"platformSelector":{"underline":"{color.role.border.base}"},"notificationCenter":{"background":"{color.role.background.base}","border":"{color.role.border.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"icon":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"toggle":{"track":{"off":"{color.role.transparent.32}","on":"{color.role.background.accent.base}"},"thumb":{"off":"{color.role.foreground.base}","on":"{color.role.foreground.onPrimary}"}},"colorChannel":{"blue":"{color.role.identifier.blue}","pink":"{color.role.identifier.pink}","indigo":"{color.role.identifier.indigo}","teal":"{color.role.identifier.teal}","green":"{color.role.identifier.green}","orange":"{color.role.identifier.orange}","red":"{color.role.identifier.red}","yellow":"{color.role.identifier.yellow}","gray":"{color.role.identifier.gray}","unlink":"{color.role.foreground.base}","selected":"{color.role.background.base}"},"dropzone":{"border":"{color.role.border.accent.base}","background":{"_inputs":["{color.role.background.accent.base}"],"_transforms":[{"type":"alpha","amount":0.25}]}},"form":{"label":"{color.role.foreground.base}","helpIcon":"{color.role.foreground.soft}","optionalDot":"{color.role.foreground.critical}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.transparent.0}","focus":"{color.role.transparent.0}","filled":"{color.role.transparent.0}","error":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}"},"border":{"default":"{color.role.border.base}","hover":"{color.role.border.6}","focus":"{color.role.border.strong}","filled":"{color.role.border.base}","error":"{color.role.border.critical.base}","selected":"{color.role.border.accent.base}"},"placeholder":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}"},"icon":{"default":"{color.role.foreground.soft}","focus":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","focus":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"errorMessage":{"background":"{color.role.background.critical.softest}","text":"{color.role.foreground.critical}","icon":"{color.role.foreground.critical}"},"focusRing":"{color.role.border.accent.soft}","hint":"{color.role.foreground.softer}"},"scrollBar":{"area":"{color.role.transparent.32}","bar":"{color.role.transparent.50}"}},"coreui":{"home":{"background":"{color.role.background.2}","border":"{color.role.border.4}"},"homeInput":{"background":{"default":"{color.role.background.4}","hover":"{color.role.background.4}","active":"{color.role.background.4}","focus":"{color.role.background.4}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.base}","filled":"{color.role.foreground.base}"},"border":{"active":"{color.role.border.base}","focus":"{color.role.border.base}"}},"homeResult":{"icon":"{color.role.foreground.base}","background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","selected":"{color.role.background.6}","launching":"{color.role.background.6}"},"title":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}","launching":"{color.role.foreground.base}"},"description":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","selected":"{color.role.foreground.base}","launching":"{color.role.foreground.base}"}},"homeTemplate":{"background":"{color.role.background.3}","icon":"{color.role.foreground.base}","text":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"}},"homeCard":{"background":"{color.role.background.3}"},"homeHotkey":{"background":"{color.role.background.6}","icon":"{color.role.foreground.base}","text":"{color.role.foreground.base}"},"homeText":{"base":"{color.role.foreground.base}","soft":"{color.role.foreground.soft}"},"store":{"background":"{color.role.background.2}"},"storeBanner":{"background":"{color.role.background.accent.base}","button":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.base}"},"text":{"default":"{color.role.foreground.accent.base}","hover":"{color.role.background.accent.base}"},"icon":{"default":"{color.role.background.accent.base}","hover":"{color.role.background.accent.base}"}},"header":{"title":"{color.role.foreground.onPrimary}","description":"{color.role.foreground.onPrimary}"}},"storeInput":{"background":{"default":"{color.role.background.4}","hover":"{color.role.background.4}","active":"{color.role.background.4}","filled":"{color.role.background.4}","error":"{color.role.background.4}"},"border":{"active":"{color.role.border.base}","focus":"{color.role.border.base}","error":"{color.role.border.critical.base}"},"value":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","filled":"{color.role.foreground.base}","error":"{color.role.foreground.critical}"},"icon":"{color.role.foreground.base}"},"storeSidebar":{"background":"{color.role.background.3}","header":"{color.role.foreground.base}"},"storeCard":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.4}"},"title":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"description":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"}},"storeMenuItem":{"text":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}"},"category":"{color.role.foreground.soft}"},"storeFooter":{"link":{"default":"{color.role.foreground.base}","hover":"{color.role.foreground.base}"},"tagline":"{color.role.foreground.base}","icon":"{color.role.foreground.base}"},"browser":{"background":"{color.role.background.1}","border":"{color.role.border.base}"},"browserTopBar":{"background":"{color.role.background.2}","border":"{color.role.border.base}"},"browserToolbarIcon":{"default":"{color.role.foreground.base}","focus":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}","active":"{color.role.foreground.base}","hover":"{color.role.foreground.base}","background":{"default":"{color.role.transparent.0}","focus":"{color.role.transparent.0}","selected":"{color.role.background.accent.base}","active":"{color.role.transparent.0}","hover":"{color.role.background.4}"}},"browserViewSplitter":{"default":"{color.role.background.1}","hover":"{color.role.background.3}"},"browserPageTab":{"text":{"default":"{color.role.foreground.base}","selected":"{color.role.background.base}"},"background":{"default":"{color.role.background.4}","selected":"{color.role.background.accent.base}"},"icon":{"default":"{color.role.foreground.base}","selected":"{color.role.foreground.onPrimary}"}},"browserViewTab":{"background":{"default":"{color.role.transparent.0}","hover":"{color.role.background.3}","active":"{color.role.background.2}","focus":"{color.role.background.2}"},"text":{"default":"{color.role.foreground.base}"},"border":{"active":"{color.role.border.5}","focus":"{color.role.border.5}"},"icon":"{color.role.foreground.base}"},"browserView":{"border":{"default":"{color.role.transparent.0}","focus":"{color.role.border.base}","green":"{color.role.identifier.green}","purple":"{color.role.identifier.indigo}","orange":"{color.role.identifier.orange}","red":"{color.role.identifier.red}","pink":"{color.role.identifier.pink}","yellow":"{color.role.identifier.yellow}"},"icon":"{color.role.foreground.base}"}},"admin":{"1":"#ffffff","color":"#ffffff","color2":"#ffffff"},"_utilities":{"green":"{color.role.background.positive.base}","red":"{color.role.background.critical.base}","appBackground1":"{color.role.background.1}","loader":"#e3e1e200","dataViz":{"linePlot":"{color.role.border.accent.base}"},"teamsProfiles":{"text":{"red":"#76213e","green":"#164229","yellow":"#805d0b","orange":"#56392b","purple":"#282155","blue":"#0f3157"},"background":{"red":"#f5d4df","green":"#cfe0d6","yellow":"#fdefca","orange":"#e8ddd9","purple":"#d6d4e9","blue":"#cddaea"}},"appBackground2":"{color.role.background.2}","appBackground3":"{color.role.background.3}"}},"colorPrimitives":{"green":{"50":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.green.base}","600":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.green.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"blue":{"50":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.blue.base}","600":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.blue.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"indigo":{"50":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.indigo.base}","600":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.indigo.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"pink":{"50":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.pink.base}","600":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.pink.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"orange":{"50":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.orange.base}","600":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.orange.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"teal":{"50":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.teal.base}","600":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.teal.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"red":{"50":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.red.base}","600":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.red.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"yellow":{"50":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.yellow.base}","600":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.yellow.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}},"gray":{"50":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.9)"}]},"100":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.8)"}]},"200":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.6)"}]},"300":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.4)"}]},"400":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(255, 255, 255, 0.2)"}]},"500":"{colorPrimitives.gray.base}","600":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.2)"}]},"700":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.4)"}]},"800":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.6)"}]},"900":{"_inputs":["{colorPrimitives.gray.500}",{"color":"rgba(0, 0, 0, 0.8)"}]}}}}'),JSON.parse('{"colorPrimitives":{"green":{"base":"rgba(3, 227, 156, 1)"},"blue":{"base":"rgba(31, 169, 255, 1)"},"indigo":{"base":"rgba(147, 133, 255, 1)"},"pink":{"base":"rgba(240, 163, 222, 1)"},"orange":{"base":"rgba(254, 159, 108, 1)"},"teal":{"base":"rgba(72, 224, 224, 1)"},"red":{"base":"rgba(250, 102, 105, 1)"},"yellow":{"base":"rgba(250, 214, 127, 1)"},"gray":{"base":"rgba(156, 160, 160, 1)"}},"brand":{"accent":{"100":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.8}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"200":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.7}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"300":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.dark}","alpha":0.6}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"400":"{brand.accent.dark}","500":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.accent.dark}",{"color":"{brand.base.light}","alpha":0.6}]}},"status":{"positive":{"100":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.green.500}","500":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"warning":{"100":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.yellow.500}","500":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"critical":{"100":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.red.500}","500":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.6}]}},"informative":{"100":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.9}]},"200":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.8}]},"300":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.7}]},"400":"{colorPrimitives.blue.500}","500":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.4}]},"600":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.6}]}}}},"color":{"generated":{"accent":{"stronger":"{brand.accent.600}","strong":"{brand.accent.500}","base":"{brand.accent.400}","soft":"{brand.accent.300}","softer":"{brand.accent.200}","softest":"{brand.accent.100}"},"background":{"base":"{brand.base.dark}"},"foreground":{"base":"{brand.base.light}"},"identifier":{"blue":"{colorPrimitives.blue.500}","pink":"{colorPrimitives.pink.500}","indigo":"{colorPrimitives.indigo.500}","teal":"{colorPrimitives.teal.500}","green":"{colorPrimitives.green.500}","orange":"{colorPrimitives.orange.500}","red":"{colorPrimitives.red.500}","yellow":"{colorPrimitives.yellow.500}","gray":"{colorPrimitives.gray.500}"},"positive":{"strong":"{brand.status.positive.500}","base":"{brand.status.positive.400}","soft":"{brand.status.positive.300}","stronger":"{brand.status.positive.600}","softer":"{brand.status.positive.200}","softest":"{brand.status.positive.100}"},"warning":{"strong":"{brand.status.warning.500}","base":"{brand.status.warning.400}","soft":"{brand.status.warning.300}","stronger":"{brand.status.warning.600}","softer":"{brand.status.warning.200}","softest":"{brand.status.warning.100}"},"critical":{"strong":"{brand.status.critical.500}","base":"{brand.status.critical.400}","soft":"{brand.status.critical.300}","stronger":"{brand.status.critical.600}","softer":"{brand.status.critical.200}","softest":"{brand.status.critical.100}"},"informative":{"strong":"{brand.status.informative.500}","base":"{brand.status.informative.400}","soft":"{brand.status.informative.300}","stronger":"{brand.status.informative.600}","softer":"{brand.status.informative.200}","softest":"{brand.status.informative.100}"}},"shared":{"button":{"ghost":{"icon":{"hover":"{color.role.background.accent.base}","active":"{color.role.background.accent.strong}"},"text":{"pressed":"{color.role.background.accent.strong}"}}},"iconButton":{"ghost":{"icon":{"hover":"{color.role.background.accent.base}","pressed":"{color.role.background.accent.strong}"}}}},"coreui":{"homeInput":{"border":{"default":"{color.role.border.6}","hover":"{color.role.border.6}"}},"storeInput":{"border":{"default":"{color.role.border.4}","hover":"{color.role.border.4}"}}},"role":{"border":{"stronger":"{color.role.foreground.soft}","strong":"{color.role.foreground.softer}"}},"enterprise":{"contextMenuItem":{"default":{"hint":{"default":"{color.role.foreground.soft}","hover":"{color.role.foreground.soft}","active":"{color.role.foreground.soft}","focus":"{color.role.foreground.soft}"}}},"view":{"background":"{color.role.background.3}"},"topChrome":{"background":"{color.role.background.base}"},"logo":{"background":"{brand.accent.dark}","foreground":"{brand.accent.light}"},"topTab":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.3}","selected":"{color.role.background.3}","dragging":"{color.role.background.3}"}},"viewTab":{"background":{"default":"{color.role.background.3}","hover":"{color.role.background.5}","active":"{color.role.background.5}","selected":"{color.role.background.5}","dragging":"{color.role.background.5}"}},"searchBar":{"background":{"default":"{color.role.background.3}","hover":"{color.role.background.4}","active":"{color.role.background.3}","focus":"{color.role.background.3}"}},"searchResult":{"background":{"hover":"{color.role.background.4}"}}}}}'),JSON.parse('{"colorPrimitives":{"green":{"base":"rgba(1, 126, 86, 1)"},"blue":{"base":"rgba(0, 113, 184, 1)"},"indigo":{"base":"rgba(83, 61, 255, 1)"},"pink":{"base":"rgba(215, 15, 167, 1)"},"orange":{"base":"rgba(208, 74, 1, 1)"},"teal":{"base":"rgba(22, 131, 131, 1)"},"red":{"base":"rgba(206, 8, 10, 1)"},"yellow":{"base":"rgba(155, 111, 3, 1)"},"gray":{"base":"rgba(104, 109, 110, 1)"}},"brand":{"accent":{"100":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.6}],"_transforms":[{"type":"lighten","amount":0.2},{"type":"saturate","amount":0.1}]},"200":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.5}],"_transforms":[{"type":"lighten","amount":0.2},{"type":"saturate","amount":0.1}]},"300":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.light}","alpha":0.6}],"_transforms":[{"type":"darken","amount":0.1},{"type":"saturate","amount":0.1}]},"400":"{brand.accent.light}","500":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.accent.light}",{"color":"{brand.base.dark}","alpha":0.6}]}},"status":{"positive":{"100":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.green.500}","500":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.positive.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"warning":{"100":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.yellow.500}","500":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.warning.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"critical":{"100":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.red.500}","500":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.critical.400}",{"color":"{brand.base.dark}","alpha":0.6}]}},"informative":{"100":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.9}]},"200":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.8}]},"300":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.light}","alpha":0.7}]},"400":"{colorPrimitives.blue.500}","500":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.4}]},"600":{"_inputs":["{brand.status.informative.400}",{"color":"{brand.base.dark}","alpha":0.6}]}}}},"color":{"generated":{"accent":{"stronger":"{brand.accent.600}","strong":"{brand.accent.500}","base":"{brand.accent.400}","soft":"{brand.accent.300}","softer":"{brand.accent.200}","softest":"{brand.accent.100}"},"background":{"base":"{brand.base.light}"},"foreground":{"base":"{brand.base.dark}"},"identifier":{"blue":"{colorPrimitives.blue.500}","pink":"{colorPrimitives.pink.500}","indigo":"{colorPrimitives.indigo.500}","teal":"{colorPrimitives.teal.500}","green":"{colorPrimitives.green.500}","orange":"{colorPrimitives.orange.500}","red":"{colorPrimitives.red.500}","yellow":"{colorPrimitives.yellow.400}","gray":"{colorPrimitives.gray.500}"},"positive":{"strong":"{brand.status.positive.500}","base":"{brand.status.positive.400}","soft":"{brand.status.positive.300}","stronger":"{brand.status.positive.600}","softer":"{brand.status.positive.200}","softest":"{brand.status.positive.100}"},"warning":{"strong":"{brand.status.warning.500}","base":"{brand.status.warning.400}","soft":"{brand.status.warning.300}","stronger":"{brand.status.warning.600}","softer":"{brand.status.warning.200}","softest":"{brand.status.warning.100}"},"critical":{"strong":"{brand.status.critical.500}","base":"{brand.status.critical.400}","soft":"{brand.status.critical.300}","stronger":"{brand.status.critical.600}","softer":"{brand.status.critical.200}","softest":"{brand.status.critical.100}"},"informative":{"strong":"{brand.status.informative.500}","base":"{brand.status.informative.400}","soft":"{brand.status.informative.300}","stronger":"{brand.status.informative.600}","softer":"{brand.status.informative.200}","softest":"{brand.status.informative.100}"}},"shared":{"button":{"ghost":{"icon":{"hover":"{color.role.background.accent.strong}","active":"{color.role.background.accent.stronger}"},"text":{"pressed":"{color.role.background.accent.stronger}"}}},"iconButton":{"ghost":{"icon":{"hover":"{color.role.background.accent.strong}","pressed":"{color.role.background.accent.stronger}"}}}},"coreui":{"homeInput":{"border":{"default":"{color.role.border.4}","hover":"{color.role.border.4}"}},"storeInput":{"border":{"default":"{color.role.border.6}","hover":"{color.role.border.6}"}}},"role":{"border":{"stronger":"{color.generated.foreground.soft}","strong":"{color.generated.foreground.softer}"}},"enterprise":{"contextMenuItem":{"default":{"hint":{"default":"{color.role.foreground.softer}","hover":"{color.role.foreground.softer}","active":"{color.role.foreground.softer}","focus":"{color.role.foreground.softer}"}}},"view":{"background":"{color.role.background.1}"},"topChrome":{"background":"{color.role.background.2}"},"topTab":{"background":{"default":"{color.role.background.2}","hover":"{color.role.background.1}","selected":"{color.role.background.1}","dragging":"{color.role.background.1}"}},"logo":{"background":"{brand.accent.light}","foreground":"{brand.accent.dark}"},"viewTab":{"background":{"default":"{color.role.background.1}","hover":"{color.role.background.3}","active":"{color.role.background.3}","selected":"{color.role.background.3}","dragging":"{color.role.background.3}"}},"searchBar":{"background":{"default":"{color.role.background.base}","hover":"{color.role.background.3}","active":"{color.role.background.base}","focus":"{color.role.background.base}"}}}}}');var G=j(436);j.n(G);const L=(e,r)=>{if("number"==typeof e)return 3===r?{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|240&e)/255,b:(15&e|e<<4&240)/255}:4===r?{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|240&e)/255,alpha:(15&e|e<<4&240)/255}:6===r?{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(255&e)/255}:8===r?{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(255&e)/255}:void 0},H={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},U=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,N="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",V=`${N}%`,q=`(?:${N}%|${N})`,Z=`(?:${N}(deg|grad|rad|turn)|${N})`,K="\\s*,\\s*",Y=(new RegExp(`^(?:${N}%|${N}|none)$`),new RegExp(`^rgba?\\(\\s*${N}${K}${N}${K}${N}\\s*(?:,\\s*${q}\\s*)?\\)$`)),J=new RegExp(`^rgba?\\(\\s*${V}${K}${V}${K}${V}\\s*(?:,\\s*${q}\\s*)?\\)$`),Q=(e="rgb")=>r=>void 0!==(r=((e,r)=>void 0===e?void 0:"object"!=typeof e?xe(e):void 0!==e.mode?e:r?{...e,mode:r}:void 0)(r,e))?r.mode===e?r:X[r.mode][e]?X[r.mode][e](r):"rgb"===e?X[r.mode].rgb(r):X.rgb[e](X[r.mode].rgb(r)):void 0,X={},ee={},re=[],oe={},te=e=>e,ae=e=>(X[e.mode]={...X[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(r=>{X[r]||(X[r]={}),X[r][e.mode]=e.fromMode[r]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(r=>{if(void 0===e.ranges[r]&&(e.ranges[r]=[0,1]),!e.interpolate[r])throw new Error(`Missing interpolator for: ${r}`);"function"==typeof e.interpolate[r]&&(e.interpolate[r]={use:e.interpolate[r]}),e.interpolate[r].fixup||(e.interpolate[r].fixup=te)}),ee[e.mode]=e,(e.parse||[]).forEach(r=>{le(r,e.mode)}),Q(e.mode)),ne=e=>ee[e],le=(e,r)=>{if("string"==typeof e){if(!r)throw new Error("'mode' required when 'parser' is a string");oe[e]=r}else"function"==typeof e&&re.indexOf(e)<0&&re.push(e)},ie=/[^\x00-\x7F]|[a-zA-Z_]/,se=/[^\x00-\x7F]|[-\w]/,ce="function",de="ident",ue="number",ge="percentage",be="none",he="hue",fe="alpha";let pe=0;function ve(e){let r=e[pe],o=e[pe+1];return"-"===r||"+"===r?/\d/.test(o)||"."===o&&/\d/.test(e[pe+2]):/\d/.test("."===r?o:r)}function me(e){if(pe>=e.length)return!1;let r=e[pe];if(ie.test(r))return!0;if("-"===r){if(e.length-pe<2)return!1;let r=e[pe+1];return!("-"!==r&&!ie.test(r))}return!1}const ke={deg:1,rad:180/Math.PI,grad:.9,turn:360};function ye(e){let r="";if("-"!==e[pe]&&"+"!==e[pe]||(r+=e[pe++]),r+=we(e),"."===e[pe]&&/\d/.test(e[pe+1])&&(r+=e[pe++]+we(e)),"e"!==e[pe]&&"E"!==e[pe]||("-"!==e[pe+1]&&"+"!==e[pe+1]||!/\d/.test(e[pe+2])?/\d/.test(e[pe+1])&&(r+=e[pe++]+we(e)):r+=e[pe++]+e[pe++]+we(e)),me(e)){let o=Pe(e);return"deg"===o||"rad"===o||"turn"===o||"grad"===o?{type:he,value:r*ke[o]}:void 0}return"%"===e[pe]?(pe++,{type:ge,value:+r}):{type:ue,value:+r}}function we(e){let r="";for(;/\d/.test(e[pe]);)r+=e[pe++];return r}function Pe(e){let r="";for(;pe<e.length&&se.test(e[pe]);)r+=e[pe++];return r}function _e(e){let r=Pe(e);return"("===e[pe]?(pe++,{type:ce,value:r}):"none"===r?{type:be,value:void 0}:{type:de,value:r}}function Me(e,r){const o=[];let t;for(;e._i<e.length;)if(t=e[e._i++],t.type===be||t.type===ue||t.type===fe||t.type===ge||r&&t.type===he)o.push(t);else{if(")"!==t.type)return;if(e._i<e.length)return}if(!(o.length<3||o.length>4)){if(4===o.length){if(o[3].type!==fe)return;o[3]=o[3].value}return 3===o.length&&o.push({type:be,value:void 0}),o.every(e=>e.type!==fe)?o:void 0}}const xe=e=>{if("string"!=typeof e)return;const r=function(e=""){let r,o=e.trim(),t=[];for(pe=0;pe<o.length;)if(r=o[pe++],"\n"!==r&&"\t"!==r&&" "!==r){if(","===r)return;if(")"!==r){if("+"===r){if(pe--,ve(o)){t.push(ye(o));continue}return}if("-"===r){if(pe--,ve(o)){t.push(ye(o));continue}if(me(o)){t.push({type:de,value:Pe(o)});continue}return}if("."===r){if(pe--,ve(o)){t.push(ye(o));continue}return}if("/"===r){for(;pe<o.length&&("\n"===o[pe]||"\t"===o[pe]||" "===o[pe]);)pe++;let e;if(ve(o)&&(e=ye(o),e.type!==he)){t.push({type:fe,value:e});continue}if(me(o)&&"none"===Pe(o)){t.push({type:fe,value:{type:be,value:void 0}});continue}return}if(/\d/.test(r))pe--,t.push(ye(o));else{if(!ie.test(r))return;pe--,t.push(_e(o))}}else t.push({type:")"})}else for(;pe<o.length&&("\n"===o[pe]||"\t"===o[pe]||" "===o[pe]);)pe++;return t}(e),o=r?function(e){e._i=0;let r=e[e._i++];if(!r||r.type!==ce)return;let o=Me(e,!0);return o?(o.unshift(r.value),o):void 0}(r):void 0;let t,a=0,n=re.length;for(;a<n;)if(void 0!==(t=re[a++](e,o)))return t;return r?function(e){e._i=0;let r=e[e._i++];if(!r||r.type!==ce||"color"!==r.value)return;if(r=e[e._i++],r.type!==de)return;const o=oe[r.value];if(!o)return;const t={mode:o},a=Me(e,!1);if(!a)return;const n=ne(o).channels;for(let e,r,o=0;o<n.length;o++)e=a[o],r=n[o],e.type!==be&&(t[r]=e.type===ue?e.value:e.value/100,"alpha"===r&&(t[r]=Math.max(0,Math.min(1,t[r]))));return t}(r):void 0},Se=(Ce=(e,r,o)=>e+o*(r-e),e=>{let r=(e=>{let r=[];for(let o=0;o<e.length-1;o++){let t=e[o],a=e[o+1];void 0===t&&void 0===a?r.push(void 0):void 0!==t&&void 0!==a?r.push([t,a]):r.push(void 0!==t?[t,t]:[a,a])}return r})(e);return e=>{let o=e*r.length,t=e>=1?r.length-1:Math.max(Math.floor(o),0),a=r[t];return void 0===a?void 0:Ce(a[0],a[1],o-t)}});var Ce;const Ae=e=>{let r=!1,o=e.map(e=>void 0!==e?(r=!0,e):1);return r?o:e},Ie={mode:"rgb",channels:["r","g","b","alpha"],parse:[function(e,r){if(!r||"rgb"!==r[0]&&"rgba"!==r[0])return;const o={mode:"rgb"},[,t,a,n,l]=r;return t.type!==he&&a.type!==he&&n.type!==he?(t.type!==be&&(o.r=t.type===ue?t.value/255:t.value/100),a.type!==be&&(o.g=a.type===ue?a.value/255:a.value/100),n.type!==be&&(o.b=n.type===ue?n.value/255:n.value/100),l.type!==be&&(o.alpha=Math.min(1,Math.max(0,l.type===ue?l.value:l.value/100))),o):void 0},e=>{let r;return(r=e.match(U))?L(parseInt(r[1],16),r[1].length):void 0},e=>{let r,o={mode:"rgb"};if(r=e.match(Y))void 0!==r[1]&&(o.r=r[1]/255),void 0!==r[2]&&(o.g=r[2]/255),void 0!==r[3]&&(o.b=r[3]/255);else{if(!(r=e.match(J)))return;void 0!==r[1]&&(o.r=r[1]/100),void 0!==r[2]&&(o.g=r[2]/100),void 0!==r[3]&&(o.b=r[3]/100)}return void 0!==r[4]?o.alpha=Math.max(0,Math.min(1,r[4]/100)):void 0!==r[5]&&(o.alpha=Math.max(0,Math.min(1,+r[5]))),o},e=>L(H[e.toLowerCase()],6),e=>"transparent"===e?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,"srgb"],serialize:"srgb",interpolate:{r:Se,g:Se,b:Se,alpha:{use:Se,fixup:Ae}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},$e=(e=0)=>Math.pow(Math.abs(e),563/256)*Math.sign(e),Fe=e=>{let r=$e(e.r),o=$e(e.g),t=$e(e.b),a={mode:"xyz65",x:.5766690429101305*r+.1855582379065463*o+.1882286462349947*t,y:.297344975250536*r+.6273635662554661*o+.0752914584939979*t,z:.0270313613864123*r+.0706888525358272*o+.9913375368376386*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},ze=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),Te=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"a98",r:ze(2.0415879038107465*e-.5650069742788597*r-.3447313507783297*o),g:ze(-.9692436362808798*e+1.8759675015077206*r+.0415550574071756*o),b:ze(.0134442806320312*e-.1183623922310184*r+1.0151749943912058*o)};return void 0!==t&&(a.alpha=t),a},Re=(e=0)=>{const r=Math.abs(e);return r<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((r+.055)/1.055,2.4)},De=({r:e,g:r,b:o,alpha:t})=>{let a={mode:"lrgb",r:Re(e),g:Re(r),b:Re(o)};return void 0!==t&&(a.alpha=t),a},Ee=e=>{let{r,g:o,b:t,alpha:a}=De(e),n={mode:"xyz65",x:.4123907992659593*r+.357584339383878*o+.1804807884018343*t,y:.2126390058715102*r+.715168678767756*o+.0721923153607337*t,z:.0193308187155918*r+.119194779794626*o+.9505321522496607*t};return void 0!==a&&(n.alpha=a),n},Be=(e=0)=>{const r=Math.abs(e);return r>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(r,1/2.4)-.055):12.92*e},We=({r:e,g:r,b:o,alpha:t},a="rgb")=>{let n={mode:a,r:Be(e),g:Be(r),b:Be(o)};return void 0!==t&&(n.alpha=t),n},je=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=We({r:3.2409699419045226*e-1.537383177570094*r-.4986107602930034*o,g:-.9692436362808796*e+1.8759675015077204*r+.0415550574071756*o,b:.0556300796969936*e-.2039769588889765*r+1.0569715142428784*o});return void 0!==t&&(a.alpha=t),a},Oe={...Ie,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>Te(Ee(e)),xyz65:Te},toMode:{rgb:e=>je(Fe(e)),xyz65:Fe}},Ge=e=>(e%=360)<0?e+360:e,Le=e=>(e=>e.map((r,o,t)=>{if(void 0===r)return r;let a=Ge(r);return 0===o||void 0===e[o-1]?a:(e=>Math.abs(e)<=180?e:e-360*Math.sign(e))(a-Ge(t[o-1]))}).reduce((e,r)=>e.length&&void 0!==r&&void 0!==e[e.length-1]?(e.push(r+e[e.length-1]),e):(e.push(r),e),[]))(e),He=[-.14861,1.78277,-.29227,-.90649,1.97294,0],Ue=Math.PI/180,Ne=180/Math.PI;let Ve=He[3]*He[4],qe=He[1]*He[4],Ze=He[1]*He[2]-He[0]*He[3];const Ke=(e,r)=>{if(void 0===e.h||void 0===r.h||!e.s||!r.s)return 0;let o=Ge(e.h),t=Ge(r.h),a=Math.sin((t-o+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*r.s)*a},Ye=(e,r)=>{if(void 0===e.h||void 0===r.h||!e.c||!r.c)return 0;let o=Ge(e.h),t=Ge(r.h),a=Math.sin((t-o+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*r.c)*a},Je=e=>{let r=e.reduce((e,r)=>{if(void 0!==r){let o=r*Math.PI/180;e.sin+=Math.sin(o),e.cos+=Math.cos(o)}return e},{sin:0,cos:0}),o=180*Math.atan2(r.sin,r.cos)/Math.PI;return o<0?360+o:o},Qe={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(Ze*o+e*Ve-r*qe)/(Ze+Ve-qe),n=o-a,l=(He[4]*(r-a)-He[2]*n)/He[3],i={mode:"cubehelix",l:a,s:0===a||1===a?void 0:Math.sqrt(n*n+l*l)/(He[4]*a*(1-a))};return i.s&&(i.h=Math.atan2(l,n)*Ne-120),void 0!==t&&(i.alpha=t),i}},toMode:{rgb:({h:e,s:r,l:o,alpha:t})=>{let a={mode:"rgb"};e=(void 0===e?0:e+120)*Ue,void 0===o&&(o=0);let n=void 0===r?0:r*o*(1-o),l=Math.cos(e),i=Math.sin(e);return a.r=o+n*(He[0]*l+He[1]*i),a.g=o+n*(He[2]*l+He[3]*i),a.b=o+n*(He[4]*l+He[5]*i),void 0!==t&&(a.alpha=t),a}},interpolate:{h:{use:Se,fixup:Le},s:Se,l:Se,alpha:{use:Se,fixup:Ae}},difference:{h:Ke},average:{h:Je}},Xe=({l:e,a:r,b:o,alpha:t},a="lch")=>{void 0===r&&(r=0),void 0===o&&(o=0);let n=Math.sqrt(r*r+o*o),l={mode:a,l:e,c:n};return n&&(l.h=Ge(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(l.alpha=t),l},er=({l:e,c:r,h:o,alpha:t},a="lab")=>{void 0===o&&(o=0);let n={mode:a,l:e,a:r?r*Math.cos(o/180*Math.PI):0,b:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(n.alpha=t),n},rr=Math.pow(29,3)/Math.pow(3,3),or=Math.pow(6,3)/Math.pow(29,3),tr=.3457/.3585,ar=.2958/.3585,nr=.3127/.329,lr=.3583/.329;Math.pow(29,3),Math.pow(3,3),Math.pow(6,3),Math.pow(29,3);let ir=e=>Math.pow(e,3)>or?Math.pow(e,3):(116*e-16)/rr;const sr=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+16)/116,n=a-o/200,l={mode:"xyz65",x:ir(r/500+a)*nr,y:1*ir(a),z:ir(n)*lr};return void 0!==t&&(l.alpha=t),l},cr=e=>je(sr(e)),dr=e=>e>or?Math.cbrt(e):(rr*e+16)/116,ur=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=dr(e/nr),n=dr(r/1),l={mode:"lab65",l:116*n-16,a:500*(a-n),b:200*(n-dr(o/lr))};return void 0!==t&&(l.alpha=t),l},gr=e=>{let r=ur(Ee(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},br=26/180*Math.PI,hr=Math.cos(br),fr=Math.sin(br),pr=100/Math.log(1.39),vr=({l:e,c:r,h:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"lab65",l:(Math.exp(1*e/pr)-1)/.0039},n=(Math.exp(.0435*r*1*1)-1)/.075,l=n*Math.cos(o/180*Math.PI-br),i=n*Math.sin(o/180*Math.PI-br);return a.a=l*hr-i/.83*fr,a.b=l*fr+i/.83*hr,void 0!==t&&(a.alpha=t),a},mr=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=r*hr+o*fr,n=.83*(o*hr-r*fr),l=Math.sqrt(a*a+n*n),i={mode:"dlch",l:pr/1*Math.log(1+.0039*e),c:Math.log(1+.075*l)/.0435};return i.c&&(i.h=Ge((Math.atan2(n,a)+br)/Math.PI*180)),void 0!==t&&(i.alpha=t),i},kr=e=>vr(Xe(e,"dlch")),yr=e=>er(mr(e),"dlab"),wr={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:kr,rgb:e=>cr(kr(e))},fromMode:{lab65:yr,rgb:e=>yr(gr(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:Se,a:Se,b:Se,alpha:{use:Se,fixup:Ae}}},Pr=wr,_r={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:vr,dlab:e=>er(e,"dlab"),rgb:e=>cr(vr(e))},fromMode:{lab65:mr,dlab:e=>Xe(e,"dlch"),rgb:e=>mr(gr(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:Se,c:Se,h:{use:Se,fixup:Le},alpha:{use:Se,fixup:Ae}},difference:{h:Ye},average:{h:Je}},Mr=_r,xr={mode:"hsi",toMode:{rgb:function({h:e,s:r,i:o,alpha:t}){e=Ge(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:o*(1+r*(3/(2-n)-1)),g:o*(1+r*(3*(1-n)/(2-n)-1)),b:o*(1-r)};break;case 1:a={r:o*(1+r*(3*(1-n)/(2-n)-1)),g:o*(1+r*(3/(2-n)-1)),b:o*(1-r)};break;case 2:a={r:o*(1-r),g:o*(1+r*(3/(2-n)-1)),b:o*(1+r*(3*(1-n)/(2-n)-1))};break;case 3:a={r:o*(1-r),g:o*(1+r*(3*(1-n)/(2-n)-1)),b:o*(1+r*(3/(2-n)-1))};break;case 4:a={r:o*(1+r*(3*(1-n)/(2-n)-1)),g:o*(1-r),b:o*(1+r*(3/(2-n)-1))};break;case 5:a={r:o*(1+r*(3/(2-n)-1)),g:o*(1-r),b:o*(1+r*(3*(1-n)/(2-n)-1))};break;default:a={r:o*(1-r),g:o*(1-r),b:o*(1-r)}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:function({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),l={mode:"hsi",s:e+r+o===0?0:1-3*n/(e+r+o),i:(e+r+o)/3};return a-n!==0&&(l.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(l.alpha=t),l}},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:Se,fixup:Le},s:Se,i:Se,alpha:{use:Se,fixup:Ae}},difference:{h:Ke},average:{h:Je}},Sr=xr,Cr=new RegExp(`^hsla?\\(\\s*${Z}${K}${V}${K}${V}\\s*(?:,\\s*${q}\\s*)?\\)$`),Ar={mode:"hsl",toMode:{rgb:function({h:e,s:r,l:o,alpha:t}){e=Ge(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=o+r*(o<.5?o:1-o),l=n-2*(n-o)*Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:n,g:l,b:2*o-n};break;case 1:a={r:l,g:n,b:2*o-n};break;case 2:a={r:2*o-n,g:n,b:l};break;case 3:a={r:2*o-n,g:l,b:n};break;case 4:a={r:l,g:2*o-n,b:n};break;case 5:a={r:n,g:2*o-n,b:l};break;default:a={r:2*o-n,g:2*o-n,b:2*o-n}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}},fromMode:{rgb:function({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),l={mode:"hsl",s:a===n?0:(a-n)/(1-Math.abs(a+n-1)),l:.5*(a+n)};return a-n!==0&&(l.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(l.alpha=t),l}},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,r){if(!r||"hsl"!==r[0]&&"hsla"!==r[0])return;const o={mode:"hsl"},[,t,a,n,l]=r;if(t.type!==be){if(t.type===ge)return;o.h=t.value}if(a.type!==be){if(a.type===he)return;o.s=a.value/100}if(n.type!==be){if(n.type===he)return;o.l=n.value/100}return l.type!==be&&(o.alpha=Math.min(1,Math.max(0,l.type===ue?l.value:l.value/100))),o},e=>{let r=e.match(Cr);if(!r)return;let o={mode:"hsl"};return void 0!==r[3]?o.h=+r[3]:void 0!==r[1]&&void 0!==r[2]&&(o.h=((e,r)=>{switch(r){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return 360*e}})(r[1],r[2])),void 0!==r[4]&&(o.s=Math.min(Math.max(0,r[4]/100),1)),void 0!==r[5]&&(o.l=Math.min(Math.max(0,r[5]/100),1)),void 0!==r[6]?o.alpha=Math.max(0,Math.min(1,r[6]/100)):void 0!==r[7]&&(o.alpha=Math.max(0,Math.min(1,+r[7]))),o}],serialize:e=>`hsl(${void 0!==e.h?e.h:"none"} ${void 0!==e.s?100*e.s+"%":"none"} ${void 0!==e.l?100*e.l+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:Se,fixup:Le},s:Se,l:Se,alpha:{use:Se,fixup:Ae}},difference:{h:Ke},average:{h:Je}},Ir=Ar;function $r({h:e,s:r,v:o,alpha:t}){e=Ge(void 0!==e?e:0),void 0===r&&(r=0),void 0===o&&(o=0);let a,n=Math.abs(e/60%2-1);switch(Math.floor(e/60)){case 0:a={r:o,g:o*(1-r*n),b:o*(1-r)};break;case 1:a={r:o*(1-r*n),g:o,b:o*(1-r)};break;case 2:a={r:o*(1-r),g:o,b:o*(1-r*n)};break;case 3:a={r:o*(1-r),g:o*(1-r*n),b:o};break;case 4:a={r:o*(1-r*n),g:o*(1-r),b:o};break;case 5:a={r:o,g:o*(1-r),b:o*(1-r*n)};break;default:a={r:o*(1-r),g:o*(1-r),b:o*(1-r)}}return a.mode="rgb",void 0!==t&&(a.alpha=t),a}function Fr({r:e,g:r,b:o,alpha:t}){void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.max(e,r,o),n=Math.min(e,r,o),l={mode:"hsv",s:0===a?0:1-n/a,v:a};return a-n!==0&&(l.h=60*(a===e?(r-o)/(a-n)+6*(r<o):a===r?(o-e)/(a-n)+2:(e-r)/(a-n)+4)),void 0!==t&&(l.alpha=t),l}const zr={mode:"hsv",toMode:{rgb:$r},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:Fr},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:Se,fixup:Le},s:Se,v:Se,alpha:{use:Se,fixup:Ae}},difference:{h:Ke},average:{h:Je}},Tr={mode:"hwb",toMode:{rgb:function({h:e,w:r,b:o,alpha:t}){if(void 0===r&&(r=0),void 0===o&&(o=0),r+o>1){let e=r+o;r/=e,o/=e}return $r({h:e,s:1===o?1:1-r/(1-o),v:1-o,alpha:t})}},fromMode:{rgb:function(e){let r=Fr(e);if(void 0===r)return;let o=void 0!==r.s?r.s:0,t=void 0!==r.v?r.v:0,a={mode:"hwb",w:(1-o)*t,b:1-t};return void 0!==r.h&&(a.h=r.h),void 0!==r.alpha&&(a.alpha=r.alpha),a}},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[function(e,r){if(!r||"hwb"!==r[0])return;const o={mode:"hwb"},[,t,a,n,l]=r;if(t.type!==be){if(t.type===ge)return;o.h=t.value}if(a.type!==be){if(a.type===he)return;o.w=a.value/100}if(n.type!==be){if(n.type===he)return;o.b=n.value/100}return l.type!==be&&(o.alpha=Math.min(1,Math.max(0,l.type===ue?l.value:l.value/100))),o}],serialize:e=>`hwb(${void 0!==e.h?e.h:"none"} ${void 0!==e.w?100*e.w+"%":"none"} ${void 0!==e.b?100*e.b+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:Se,fixup:Le},w:Se,b:Se,alpha:{use:Se,fixup:Ae}},difference:{h:(e,r)=>{if(void 0===e.h||void 0===r.h)return 0;let o=Ge(e.h),t=Ge(r.h);return Math.abs(t-o)>180?o-(t-360*Math.sign(t-o)):t-o}},average:{h:Je}},Rr=Tr,Dr=.1593017578125,Er=78.84375,Br=.8359375,Wr=18.8515625,jr=18.6875;function Or(e){if(e<0)return 0;const r=Math.pow(e,1/Er);return 1e4*Math.pow(Math.max(0,r-Br)/(Wr-jr*r),1/Dr)}function Gr(e){if(e<0)return 0;const r=Math.pow(e/1e4,Dr);return Math.pow((Br+Wr*r)/(1+jr*r),Er)}const Lr=e=>Math.max(e/203,0),Hr=({i:e,t:r,p:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a=Or(e+.008609037037932761*r+.11102962500302593*o),n=Or(e-.00860903703793275*r-.11102962500302599*o),l=Or(e+.5600313357106791*r-.32062717498731885*o),i={mode:"xyz65",x:Lr(2.070152218389422*a-1.3263473389671556*n+.2066510476294051*l),y:Lr(.3647385209748074*a+.680566024947227*n-.0453045459220346*l),z:Lr(-.049747207535812*a-.0492609666966138*n+1.1880659249923042*l)};return void 0!==t&&(i.alpha=t),i},Ur=(e=0)=>Math.max(203*e,0),Nr=({x:e,y:r,z:o,alpha:t})=>{const a=Ur(e),n=Ur(r),l=Ur(o),i=Gr(.3592832590121217*a+.6976051147779502*n-.0358915932320289*l),s=Gr(-.1920808463704995*a+1.1004767970374323*n+.0753748658519118*l),c=Gr(.0070797844607477*a+.0748396662186366*n+.8433265453898765*l),d={mode:"itp",i:.5*i+.5*s,t:1.61376953125*i-3.323486328125*s+1.709716796875*c,p:4.378173828125*i-4.24560546875*s-.132568359375*c};return void 0!==t&&(d.alpha=t),d},Vr={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:Hr,rgb:e=>je(Hr(e))},fromMode:{xyz65:Nr,rgb:e=>Nr(Ee(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:Se,t:Se,p:Se,alpha:{use:Se,fixup:Ae}}},qr=e=>{if(e<0)return 0;let r=Math.pow(e/1e4,Dr);return Math.pow((Br+Wr*r)/(1+jr*r),134.03437499999998)},Zr=(e=0)=>Math.max(203*e,0),Kr=({x:e,y:r,z:o,alpha:t})=>{e=Zr(e),r=Zr(r);let a=1.15*e-.15*(o=Zr(o)),n=.66*r+.34*e,l=qr(.41478972*a+.579999*n+.014648*o),i=qr(-.20151*a+1.120649*n+.0531008*o),s=qr(-.0166008*a+.2648*n+.6684799*o),c=(l+i)/2,d={mode:"jab",j:.44*c/(1-.56*c)-16295499532821565e-27,a:3.524*l-4.066708*i+.542708*s,b:.199076*l+1.096799*i-1.295875*s};return void 0!==t&&(d.alpha=t),d},Yr=16295499532821565e-27,Jr=e=>{if(e<0)return 0;let r=Math.pow(e,.007460772656268216);return 1e4*Math.pow((Br-r)/(jr*r-Wr),1/Dr)},Qr=e=>e/203,Xr=({j:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+Yr)/(.44+.56*(e+Yr)),n=Jr(a+.13860504*r+.058047316*o),l=Jr(a-.13860504*r-.058047316*o),i=Jr(a-.096019242*r-.8118919*o),s={mode:"xyz65",x:Qr(1.661373024652174*n-.914523081304348*l+.23136208173913045*i),y:Qr(-.3250758611844533*n+1.571847026732543*l-.21825383453227928*i),z:Qr(-.090982811*n-.31272829*l+1.5227666*i)};return void 0!==t&&(s.alpha=t),s},eo=e=>{let r=Kr(Ee(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},ro=e=>je(Xr(e)),oo={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:eo,xyz65:Kr},toMode:{rgb:ro,xyz65:Xr},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:Se,a:Se,b:Se,alpha:{use:Se,fixup:Ae}}},to=({j:e,a:r,b:o,alpha:t})=>{void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.sqrt(r*r+o*o),n={mode:"jch",j:e,c:a};return a&&(n.h=Ge(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(n.alpha=t),n},ao=({j:e,c:r,h:o,alpha:t})=>{void 0===o&&(o=0);let a={mode:"jab",j:e,a:r?r*Math.cos(o/180*Math.PI):0,b:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(a.alpha=t),a},no={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:ao,rgb:e=>ro(ao(e))},fromMode:{rgb:e=>to(eo(e)),jab:to},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:Se,fixup:Le},c:Se,j:Se,alpha:{use:Se,fixup:Ae}},difference:{h:Ye},average:{h:Je}},lo=no,io=Math.pow(29,3)/Math.pow(3,3),so=Math.pow(6,3)/Math.pow(29,3);let co=e=>Math.pow(e,3)>so?Math.pow(e,3):(116*e-16)/io;const uo=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(e+16)/116,n=a-o/200,l={mode:"xyz50",x:co(r/500+a)*tr,y:1*co(a),z:co(n)*ar};return void 0!==t&&(l.alpha=t),l},go=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=We({r:3.1341359569958707*e-1.6173863321612538*r-.4906619460083532*o,g:-.978795502912089*e+1.916254567259524*r+.03344273116131949*o,b:.07195537988411677*e-.2289768264158322*r+1.405386058324125*o});return void 0!==t&&(a.alpha=t),a},bo=e=>go(uo(e)),ho=e=>{let{r,g:o,b:t,alpha:a}=De(e),n={mode:"xyz50",x:.436065742824811*r+.3851514688337912*o+.14307845442264197*t,y:.22249319175623702*r+.7168870538238823*o+.06061979053616537*t,z:.013923904500943465*r+.09708128566574634*o+.7140993584005155*t};return void 0!==a&&(n.alpha=a),n},fo=e=>e>so?Math.cbrt(e):(io*e+16)/116,po=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=fo(e/tr),n=fo(r/1),l={mode:"lab",l:116*n-16,a:500*(a-n),b:200*(n-fo(o/ar))};return void 0!==t&&(l.alpha=t),l},vo=e=>{let r=po(ho(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},mo={mode:"lab",toMode:{xyz50:uo,rgb:bo},fromMode:{xyz50:po,rgb:vo},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-125,125],b:[-125,125]},parse:[function(e,r){if(!r||"lab"!==r[0])return;const o={mode:"lab"},[,t,a,n,l]=r;return t.type!==he&&a.type!==he&&n.type!==he?(t.type!==be&&(o.l=Math.min(Math.max(0,t.value),100)),a.type!==be&&(o.a=a.type===ue?a.value:125*a.value/100),n.type!==be&&(o.b=n.type===ue?n.value:125*n.value/100),l.type!==be&&(o.alpha=Math.min(1,Math.max(0,l.type===ue?l.value:l.value/100))),o):void 0}],serialize:e=>`lab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:Se,a:Se,b:Se,alpha:{use:Se,fixup:Ae}}},ko=mo,yo={...ko,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:sr,rgb:cr},fromMode:{xyz65:ur,rgb:gr},ranges:{l:[0,100],a:[-125,125],b:[-125,125]}},wo={mode:"lch",toMode:{lab:er,rgb:e=>bo(er(e))},fromMode:{rgb:e=>Xe(vo(e)),lab:Xe},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[function(e,r){if(!r||"lch"!==r[0])return;const o={mode:"lch"},[,t,a,n,l]=r;if(t.type!==be){if(t.type===he)return;o.l=Math.min(Math.max(0,t.value),100)}if(a.type!==be&&(o.c=Math.max(0,a.type===ue?a.value:150*a.value/100)),n.type!==be){if(n.type===ge)return;o.h=n.value}return l.type!==be&&(o.alpha=Math.min(1,Math.max(0,l.type===ue?l.value:l.value/100))),o}],serialize:e=>`lch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:Se,fixup:Le},c:Se,l:Se,alpha:{use:Se,fixup:Ae}},difference:{h:Ye},average:{h:Je}},Po=wo,_o={...Po,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>er(e,"lab65"),rgb:e=>cr(er(e,"lab65"))},fromMode:{rgb:e=>Xe(gr(e),"lch65"),lab65:e=>Xe(e,"lch65")},ranges:{l:[0,100],c:[0,150],h:[0,360]}},Mo=_o,xo=({l:e,u:r,v:o,alpha:t})=>{void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.sqrt(r*r+o*o),n={mode:"lchuv",l:e,c:a};return a&&(n.h=Ge(180*Math.atan2(o,r)/Math.PI)),void 0!==t&&(n.alpha=t),n},So=({l:e,c:r,h:o,alpha:t})=>{void 0===o&&(o=0);let a={mode:"luv",l:e,u:r?r*Math.cos(o/180*Math.PI):0,v:r?r*Math.sin(o/180*Math.PI):0};return void 0!==t&&(a.alpha=t),a},Co=(e,r,o)=>4*e/(e+15*r+3*o),Ao=(e,r,o)=>9*r/(e+15*r+3*o),Io=Co(tr,1,ar),$o=Ao(tr,1,ar),Fo=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=(n=r/1)<=so?io*n:116*Math.cbrt(n)-16;var n;let l=Co(e,r,o),i=Ao(e,r,o);isFinite(l)&&isFinite(i)?(l=13*a*(l-Io),i=13*a*(i-$o)):a=l=i=0;let s={mode:"luv",l:a,u:l,v:i};return void 0!==t&&(s.alpha=t),s},zo=4*(To=tr)/(To+15+3*ar);var To;const Ro=({l:e,u:r,v:o,alpha:t})=>{if(void 0===e&&(e=0),0===e)return{mode:"xyz50",x:0,y:0,z:0};void 0===r&&(r=0),void 0===o&&(o=0);let a=r/(13*e)+zo,n=o/(13*e)+.4880797507034157,l=1*(e<=8?e/io:Math.pow((e+16)/116,3)),i={mode:"xyz50",x:l*(9*a)/(4*n),y:l,z:l*(12-3*a-20*n)/(4*n)};return void 0!==t&&(i.alpha=t),i},Do={mode:"lchuv",toMode:{luv:So,rgb:e=>go(Ro(So(e)))},fromMode:{rgb:e=>xo(Fo(ho(e))),luv:xo},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:Se,fixup:Le},c:Se,l:Se,alpha:{use:Se,fixup:Ae}},difference:{h:Ye},average:{h:Je}},Eo=Do,Bo={...Ie,mode:"lrgb",toMode:{rgb:We},fromMode:{rgb:De},parse:["srgb-linear"],serialize:"srgb-linear"},Wo={mode:"luv",toMode:{xyz50:Ro,rgb:e=>go(Ro(e))},fromMode:{xyz50:Fo,rgb:e=>Fo(ho(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:Se,u:Se,v:Se,alpha:{use:Se,fixup:Ae}}},jo=Wo,Oo=({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.cbrt(.412221469470763*e+.5363325372617348*r+.0514459932675022*o),n=Math.cbrt(.2119034958178252*e+.6806995506452344*r+.1073969535369406*o),l=Math.cbrt(.0883024591900564*e+.2817188391361215*r+.6299787016738222*o),i={mode:"oklab",l:.210454268309314*a+.7936177747023054*n-.0040720430116193*l,a:1.9779985324311684*a-2.42859224204858*n+.450593709617411*l,b:.0259040424655478*a+.7827717124575296*n-.8086757549230774*l};return void 0!==t&&(i.alpha=t),i},Go=e=>{let r=Oo(De(e));return e.r===e.b&&e.b===e.g&&(r.a=r.b=0),r},Lo=({l:e,a:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=Math.pow(e+.3963377773761749*r+.2158037573099136*o,3),n=Math.pow(e-.1055613458156586*r-.0638541728258133*o,3),l=Math.pow(e-.0894841775298119*r-1.2914855480194092*o,3),i={mode:"lrgb",r:4.076741636075957*a-3.3077115392580616*n+.2309699031821044*l,g:-1.2684379732850317*a+2.6097573492876887*n-.3413193760026573*l,b:-.0041960761386756*a-.7034186179359362*n+1.7076146940746117*l};return void 0!==t&&(i.alpha=t),i},Ho=e=>We(Lo(e));function Uo(e){const r=.206,o=1.206/1.03;return.5*(o*e-r+Math.sqrt((o*e-r)*(o*e-r)+.12*o*e))}function No(e){return(e*e+.206*e)/(1.206/1.03*(e+.03))}function Vo(e,r){let o=function(e,r){let o,t,a,n,l,i,s,c;-1.88170328*e-.80936493*r>1?(o=1.19086277,t=1.76576728,a=.59662641,n=.75515197,l=.56771245,i=4.0767416621,s=-3.3077115913,c=.2309699292):1.81444104*e-1.19445276*r>1?(o=.73956515,t=-.45954404,a=.08285427,n=.1254107,l=.14503204,i=-1.2684380046,s=2.6097574011,c=-.3413193965):(o=1.35733652,t=-.00915799,a=-1.1513021,n=-.50559606,l=.00692167,i=-.0041960863,s=-.7034186147,c=1.707614701);let d=o+t*e+a*r+n*e*e+l*e*r,u=.3963377774*e+.2158037573*r,g=-.1055613458*e-.0638541728*r,b=-.0894841775*e-1.291485548*r;{let e=1+d*u,r=1+d*g,o=1+d*b,t=i*(e*e*e)+s*(r*r*r)+c*(o*o*o),a=i*(3*u*e*e)+s*(3*g*r*r)+c*(3*b*o*o);d-=t*a/(a*a-.5*t*(i*(6*u*u*e)+s*(6*g*g*r)+c*(6*b*b*o)))}return d}(e,r),t=Lo({l:1,a:o*e,b:o*r}),a=Math.cbrt(1/Math.max(t.r,t.g,t.b));return[a,a*o]}function qo(e,r,o=null){o||(o=Vo(e,r));let t=o[0],a=o[1];return[a/t,a/(1-t)]}function Zo(e,r,o){let t=Vo(r,o),a=function(e,r,o,t,a,n=null){let l;if(n||(n=Vo(e,r)),(o-a)*n[1]-(n[0]-a)*t<=0)l=n[1]*a/(t*n[0]+n[1]*(a-o));else{l=n[1]*(a-1)/(t*(n[0]-1)+n[1]*(a-o));{let n=o-a,i=.3963377774*e+.2158037573*r,s=-.1055613458*e-.0638541728*r,c=-.0894841775*e-1.291485548*r,d=n+t*i,u=n+t*s,g=n+t*c;{let e=a*(1-l)+l*o,r=l*t,n=e+r*i,b=e+r*s,h=e+r*c,f=n*n*n,p=b*b*b,v=h*h*h,m=3*d*n*n,k=3*u*b*b,y=3*g*h*h,w=6*d*d*n,P=6*u*u*b,_=6*g*g*h,M=4.0767416621*f-3.3077115913*p+.2309699292*v-1,x=4.0767416621*m-3.3077115913*k+.2309699292*y,S=x/(x*x-.5*M*(4.0767416621*w-3.3077115913*P+.2309699292*_)),C=-M*S,A=-1.2684380046*f+2.6097574011*p-.3413193965*v-1,I=-1.2684380046*m+2.6097574011*k-.3413193965*y,$=I/(I*I-.5*A*(-1.2684380046*w+2.6097574011*P-.3413193965*_)),F=-A*$,z=-.0041960863*f-.7034186147*p+1.707614701*v-1,T=-.0041960863*m-.7034186147*k+1.707614701*y,R=T/(T*T-.5*z*(-.0041960863*w-.7034186147*P+1.707614701*_)),D=-z*R;C=S>=0?C:1e6,F=$>=0?F:1e6,D=R>=0?D:1e6,l+=Math.min(C,Math.min(F,D))}}}return l}(r,o,e,1,e,t),n=qo(r,o,t),l=e*(.11516993+1/(7.4477897+4.1590124*o+r*(1.75198401*o-2.19557347+r*(-2.13704948-10.02301043*o+r*(5.38770819*o-4.24894561+4.69891013*r))))),i=(1-e)*(.11239642+1/(1.6132032-.68124379*o+r*(.40370612+.90148123*o+r*(.6122399*o-.27087943+r*(.00299215-.45399568*o-.14661872*r))))),s=a/Math.min(e*n[0],(1-e)*n[1])*.9*Math.sqrt(Math.sqrt(1/(1/(l*l*l*l)+1/(i*i*i*i))));return l=.4*e,i=.8*(1-e),[Math.sqrt(1/(1/(l*l)+1/(i*i))),s,a]}function Ko(e){const r=void 0!==e.l?e.l:0,o=void 0!==e.a?e.a:0,t=void 0!==e.b?e.b:0,a={mode:"okhsl",l:Uo(r)};void 0!==e.alpha&&(a.alpha=e.alpha);let n=Math.sqrt(o*o+t*t);if(!n)return a.s=0,a;let l,[i,s,c]=Zo(r,o/n,t/n);if(n<s){let e=0,r=.8*i;l=(n-e)/(r+(1-r/s)*(n-e))*.8}else{let e=.2*s*s*1.25*1.25/i;l=.8+(n-s)/(e+(1-e/(c-s))*(n-s))*.2}return l&&(a.s=l,a.h=Ge(180*Math.atan2(t,o)/Math.PI)),a}function Yo(e){let r=void 0!==e.h?e.h:0,o=void 0!==e.s?e.s:0,t=void 0!==e.l?e.l:0;const a={mode:"oklab",l:No(t)};if(void 0!==e.alpha&&(a.alpha=e.alpha),!o||1===t)return a.a=a.b=0,a;let n,l,i,s,c=Math.cos(r/180*Math.PI),d=Math.sin(r/180*Math.PI),[u,g,b]=Zo(a.l,c,d);o<.8?(n=1.25*o,l=0,i=.8*u,s=1-i/g):(n=5*(o-.8),l=g,i=.2*g*g*1.25*1.25/u,s=1-i/(b-g));let h=l+n*i/(1-s*n);return a.a=h*c,a.b=h*d,a}const Jo={...Ir,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:Ko,rgb:e=>Ko(Go(e))},toMode:{oklab:Yo,rgb:e=>Ho(Yo(e))}},Qo=Jo;function Xo(e){let r=void 0!==e.l?e.l:0,o=void 0!==e.a?e.a:0,t=void 0!==e.b?e.b:0,a=Math.sqrt(o*o+t*t),n=a?o/a:1,l=a?t/a:1,[i,s]=qo(n,l),c=1-.5/i,d=s/(a+r*s),u=d*r,g=d*a,b=No(u),h=g*b/u,f=Lo({l:b,a:n*h,b:l*h}),p=Math.cbrt(1/Math.max(f.r,f.g,f.b,0));r/=p,a=a/p*Uo(r)/r,r=Uo(r);const v={mode:"okhsv",s:a?(.5+s)*g/(.5*s+s*c*g):0,v:r?r/u:0};return v.s&&(v.h=Ge(180*Math.atan2(t,o)/Math.PI)),void 0!==e.alpha&&(v.alpha=e.alpha),v}function et(e){const r={mode:"oklab"};void 0!==e.alpha&&(r.alpha=e.alpha);const o=void 0!==e.h?e.h:0,t=void 0!==e.s?e.s:0,a=void 0!==e.v?e.v:0,n=Math.cos(o/180*Math.PI),l=Math.sin(o/180*Math.PI),[i,s]=qo(n,l),c=.5,d=1-c/i,u=1-t*c/(c+s-s*d*t),g=t*s*c/(c+s-s*d*t),b=No(u),h=g*b/u,f=Lo({l:b,a:n*h,b:l*h}),p=Math.cbrt(1/Math.max(f.r,f.g,f.b,0)),v=No(a*u),m=g*v/u;return r.l=v*p,r.a=m*n*p,r.b=m*l*p,r}const rt={...zr,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Xo,rgb:e=>Xo(Go(e))},toMode:{oklab:et,rgb:e=>Ho(et(e))}},ot=rt,tt={...ko,mode:"oklab",toMode:{lrgb:Lo,rgb:Ho},fromMode:{lrgb:Oo,rgb:Go},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[function(e,r){if(!r||"oklab"!==r[0])return;const o={mode:"oklab"},[,t,a,n,l]=r;return t.type!==he&&a.type!==he&&n.type!==he?(t.type!==be&&(o.l=Math.min(Math.max(0,t.type===ue?t.value:t.value/100),1)),a.type!==be&&(o.a=a.type===ue?a.value:.4*a.value/100),n.type!==be&&(o.b=n.type===ue?n.value:.4*n.value/100),l.type!==be&&(o.alpha=Math.min(1,Math.max(0,l.type===ue?l.value:l.value/100))),o):void 0}],serialize:e=>`oklab(${void 0!==e.l?e.l:"none"} ${void 0!==e.a?e.a:"none"} ${void 0!==e.b?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`},at=tt,nt={...Po,mode:"oklch",toMode:{oklab:e=>er(e,"oklab"),rgb:e=>Ho(er(e,"oklab"))},fromMode:{rgb:e=>Xe(Go(e),"oklch"),oklab:e=>Xe(e,"oklch")},parse:[function(e,r){if(!r||"oklch"!==r[0])return;const o={mode:"oklch"},[,t,a,n,l]=r;if(t.type!==be){if(t.type===he)return;o.l=Math.min(Math.max(0,t.type===ue?t.value:t.value/100),1)}if(a.type!==be&&(o.c=Math.max(0,a.type===ue?a.value:.4*a.value/100)),n.type!==be){if(n.type===ge)return;o.h=n.value}return l.type!==be&&(o.alpha=Math.min(1,Math.max(0,l.type===ue?l.value:l.value/100))),o}],serialize:e=>`oklch(${void 0!==e.l?e.l:"none"} ${void 0!==e.c?e.c:"none"} ${void 0!==e.h?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},lt=nt,it=e=>{let{r,g:o,b:t,alpha:a}=De(e),n={mode:"xyz65",x:.486570948648216*r+.265667693169093*o+.1982172852343625*t,y:.2289745640697487*r+.6917385218365062*o+.079286914093745*t,z:0*r+.0451133818589026*o+1.043944368900976*t};return void 0!==a&&(n.alpha=a),n},st=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a=We({r:2.4934969119414263*e-.9313836179191242*r-.402710784450717*o,g:-.8294889695615749*e+1.7626640603183465*r+.0236246858419436*o,b:.0358458302437845*e-.0761723892680418*r+.9568845240076871*o},"p3");return void 0!==t&&(a.alpha=t),a},ct={...Ie,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>st(Ee(e)),xyz65:st},toMode:{rgb:e=>je(it(e)),xyz65:it}},dt=e=>{let r=Math.abs(e);return r>=1/512?Math.sign(e)*Math.pow(r,1/1.8):16*e},ut=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"prophoto",r:dt(1.3457868816471585*e-.2555720873797946*r-.0511018649755453*o),g:dt(-.5446307051249019*e+1.5082477428451466*r+.0205274474364214*o),b:dt(0*e+0*r+1.2119675456389452*o)};return void 0!==t&&(a.alpha=t),a},gt=(e=0)=>{let r=Math.abs(e);return r>=16/512?Math.sign(e)*Math.pow(r,1.8):e/16},bt=e=>{let r=gt(e.r),o=gt(e.g),t=gt(e.b),a={mode:"xyz50",x:.7977666449006423*r+.1351812974005331*o+.0313477341283922*t,y:.2880748288194013*r+.7118352342418731*o+899369387256e-16*t,z:0*r+0*o+.8251046025104602*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},ht={...Ie,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:ut,rgb:e=>ut(ho(e))},toMode:{xyz50:bt,rgb:e=>go(bt(e))}},ft=1.09929682680944,pt=e=>{const r=Math.abs(e);return r>.018053968510807?(Math.sign(e)||1)*(ft*Math.pow(r,.45)-(ft-1)):4.5*e},vt=({x:e,y:r,z:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);let a={mode:"rec2020",r:pt(1.7166511879712683*e-.3556707837763925*r-.2533662813736599*o),g:pt(-.6666843518324893*e+1.6164812366349395*r+.0157685458139111*o),b:pt(.0176398574453108*e-.0427706132578085*r+.9421031212354739*o)};return void 0!==t&&(a.alpha=t),a},mt=1.09929682680944,kt=(e=0)=>{let r=Math.abs(e);return r<.08124285829863151?e/4.5:(Math.sign(e)||1)*Math.pow((r+mt-1)/mt,1/.45)},yt=e=>{let r=kt(e.r),o=kt(e.g),t=kt(e.b),a={mode:"xyz65",x:.6369580483012911*r+.1446169035862083*o+.1688809751641721*t,y:.262700212011267*r+.6779980715188708*o+.059301716469862*t,z:0*r+.0280726930490874*o+1.0609850577107909*t};return void 0!==e.alpha&&(a.alpha=e.alpha),a},wt={...Ie,mode:"rec2020",fromMode:{xyz65:vt,rgb:e=>vt(Ee(e))},toMode:{xyz65:yt,rgb:e=>je(yt(e))},parse:["rec2020"],serialize:"rec2020"},Pt=.0037930732552754493,_t=Math.cbrt(Pt),Mt=e=>Math.cbrt(e)-_t,xt=e=>Math.pow(e+_t,3),St={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:({x:e,y:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a=xt(e+r)-Pt,n=xt(r-e)-Pt,l=xt(o+r)-Pt,i=We({r:11.031566904639861*a-9.866943908131562*n-.16462299650829934*l,g:-3.2541473810744237*a+4.418770377582723*n-.16462299650829934*l,b:-3.6588512867136815*a+2.7129230459360922*n+1.9459282407775895*l});return void 0!==t&&(i.alpha=t),i}},fromMode:{rgb:e=>{const{r,g:o,b:t,alpha:a}=De(e),n=Mt(.3*r+.622*o+.078*t+Pt),l=Mt(.23*r+.692*o+.078*t+Pt),i={mode:"xyb",x:(n-l)/2,y:(n+l)/2,b:Mt(.2434226892454782*r+.2047674442449682*o+.5518098665095535*t+Pt)-(n+l)/2};return void 0!==a&&(i.alpha=a),i}},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:Se,y:Se,b:Se,alpha:{use:Se,fixup:Ae}}},Ct={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:go,lab:po},fromMode:{rgb:ho,lab:uo},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:Se,y:Se,z:Se,alpha:{use:Se,fixup:Ae}}},At={mode:"xyz65",toMode:{rgb:je,xyz50:e=>{let{x:r,y:o,z:t,alpha:a}=e;void 0===r&&(r=0),void 0===o&&(o=0),void 0===t&&(t=0);let n={mode:"xyz50",x:1.0479298208405488*r+.0229467933410191*o-.0501922295431356*t,y:.0296278156881593*r+.990434484573249*o-.0170738250293851*t,z:-.0092430581525912*r+.0150551448965779*o+.7518742899580008*t};return void 0!==a&&(n.alpha=a),n}},fromMode:{rgb:Ee,xyz50:e=>{let{x:r,y:o,z:t,alpha:a}=e;void 0===r&&(r=0),void 0===o&&(o=0),void 0===t&&(t=0);let n={mode:"xyz65",x:.9554734527042182*r-.0230985368742614*o+.0632593086610217*t,y:-.0283697069632081*r+1.0099954580058226*o+.021041398966943*t,z:.0123140016883199*r-.0205076964334779*o+1.3303659366080753*t};return void 0!==a&&(n.alpha=a),n}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:Se,y:Se,z:Se,alpha:{use:Se,fixup:Ae}}},It={mode:"yiq",toMode:{rgb:({y:e,i:r,q:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a={mode:"rgb",r:e+.95608445*r+.6208885*o,g:e-.27137664*r-.6486059*o,b:e-1.10561724*r+1.70250126*o};return void 0!==t&&(a.alpha=t),a}},fromMode:{rgb:({r:e,g:r,b:o,alpha:t})=>{void 0===e&&(e=0),void 0===r&&(r=0),void 0===o&&(o=0);const a={mode:"yiq",y:.29889531*e+.58662247*r+.11448223*o,i:.59597799*e-.2741761*r-.32180189*o,q:.21147017*e-.52261711*r+.31114694*o};return void 0!==t&&(a.alpha=t),a}},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:Se,i:Se,q:Se,alpha:{use:Se,fixup:Ae}}};let $t=((e=4)=>r=>"number"==typeof r?((e,r)=>Math.round(e*(r=Math.pow(10,r)))/r)(r,e):r)(2);const Ft=e=>Math.max(0,Math.min(1,e||0)),zt=e=>Math.round(255*Ft(e)),Tt=Q("rgb");Q("hsl"),ae(Oe),ae(Qe),ae(Pr),ae(Mr),ae(Sr),ae(Ir),ae(zr),ae(Rr),ae(Vr),ae(oo),ae(lo),ae(ko),ae(yo),ae(Po),ae(Mo),ae(Eo),ae(Bo),ae(jo),ae(Qo),ae(ot),ae(at),ae(lt),ae(ct),ae(ht),ae(wt),ae(Ie),ae(St),ae(Ct),ae(At),ae(It),Q("rgb");Q("rgb");const Rt=new class{constructor(e){this.providerStorage=e,this.setWorkspaceStorageProxy=e=>{this.workspaceStorage=e},this.setRecreateFactory=e=>{this.recreateFactory=e},this.destroyWorkspaceStorageProxy=async()=>{const e=this.workspaceStorage;this.workspaceStorage=void 0,e&&await e.destroy()},this.ensureWorkspaceStorageProxy=async()=>{this.workspaceStorage||this.recreateFactory&&(T.debug("ensureWorkspaceStorageProxy","Attempting to recreate storage proxy"),await Promise.race([this.recreateFactory().then(e=>this.workspaceStorage=e),new Promise(e=>setTimeout(e,3e3))]),this.workspaceStorage||T.warn("ensureWorkspaceStorageProxy","Failed to recreate storage proxy after 3 seconds, this might result in default schemes not being honored"))},this.trySynchronizeWorkspaceStorage=async()=>{if(this.workspaceStorage){let e;try{e=this.getScheme(),this.hasUserPreference()?this.workspaceStorage.setItem(p.SelectedColorScheme,e):e&&this.workspaceStorage.setItem(p.ThemePaletteDefaultScheme,e),this.generatedPalettes&&(this.themePaletteSheet||(this.themePaletteSheet=h(this.generatedPalettes)),this.workspaceStorage.setItem(p.ThemePaletteSheet,this.themePaletteSheet))}catch(e){return void T.warn("trySynchronizeWorkspaceStorage",`Failed to get scheme: ${e} -> skipping fin.System.setThemePreferences() call.`)}const r=(e=>{const r="dark"===e;return{inForcedColorsMode:!1,prefersReducedTransparency:!1,shouldUseDarkColors:r,shouldUseDarkColorsForSystemIntegratedUI:r,shouldUseHighContrastColors:!1,shouldUseInvertedColorScheme:!1,themeSource:e}})(e);try{await fin.System.setThemePreferences(r)}catch(e){T.warn("trySynchronizeWorkspaceStorage",`Failed to set native theme preferences: ${e}`)}}},this.setLegacyPalettes=async({light:e,dark:r},o)=>{this.lightPaletteVars=R({...e,...E(e,"light",o)}),this.darkPaletteVars=R({...r,...E(r,"dark",o)})},this.setPalettes=async({light:e,dark:r})=>{this.lightPaletteVars=e,this.darkPaletteVars=r}}hasUserPreference(){return null!==this.providerStorage.getItem(p.SelectedColorScheme)}setScheme(e){this.providerStorage.setItem(p.SelectedColorScheme,e)}setThemeDefaultScheme(e){const r=Object.values(P);r.includes(e)?this.providerStorage.setItem(p.ThemePaletteDefaultScheme,e):T.warn("setThemeDefaultScheme",`Invalid theme default scheme '${e}'. Must be one of: ${r.join(", ")}. Ignoring default.`)}setGeneratedPalettes(e){this.generatedPalettes=e}setThemePaletteSheet(e){this.themePaletteSheet=e,this.providerStorage.setItem(p.ThemePaletteSheet,e)}getScheme(){const e=this.providerStorage.getItem(p.SelectedColorScheme),r=this.providerStorage.getItem(p.ThemePaletteDefaultScheme);return null!==e?e:r??z}getThemePaletteSheet(){return this.themePaletteSheet}getThemePalette(){return{light:this.lightPaletteVars,dark:this.darkPaletteVars}}}(t),Dt=()=>(a.Rm.debug("ThemeStorage: getThemeStorageController called"),Rt)},180:(e,r,o)=>{"use strict";o.d(r,{tT:()=>a});o(70),o(326),o(78);var t=o(695);o(79);const a=async e=>{const r=await(0,t.p4)();await r.dispatch("initialize-theme",e)}},248:(e,r,o)=>{"use strict";o.d(r,{H:()=>n});var t=o(438),a=o(786);const n=(e,r)=>{a.A.markStart(`${e}-registration`),(0,t.BY)().once("started",()=>a.A.markAndMeasure("workspace-app-started",`${e}-registration`));const o=fin.Window.wrapSync(r);o.once("initialized",()=>a.A.markAndMeasure(`${e}-window-initialized`,`${e}-registration`)),o.once("shown",()=>{a.A.markAndMeasure(`${e}-show`,`${e}-registration`)})}},575:(e,r,o)=>{"use strict";o.d(r,{xM:()=>i});const t=require("title-case");class a extends Error{constructor(e,r){const o=(0,t.titleCase)(e);super(`${o} Provider. ${o} Provider${r?` with id ${r}`:""} is not currently registered.`)}}class n extends Error{constructor(e,r){const o=(0,t.titleCase)(e);super(`${o} Provider. ${o} Provider${r?` with id ${r}`:""} is already registered. Call \`deregister\` before registering again.`)}}class l extends Error{constructor(e,r){const o=(0,t.titleCase)(e);super(`Failed to get ${o} Provider. ${o} Provider with id ${r} is not currently registered.`)}}class i{constructor(e){this.providersMap=new Map,this.providerType=e}assertNotAlreadyRegistered(e){if(this.hasProvider(e))throw new n(this.providerType,e)}assertRegistered(e){if(!this.hasProvider(e))throw new a(this.providerType,e)}getProvider(e){return this.providersMap.get(e)}hasProvider(e){return this.providersMap.has(e)}setProvider(e){this.providersMap.set(e.id,e)}deleteProvider(e){this.providersMap.delete(e)}getProviderOrFail(e){const r=this.getProvider(e);if(!r)throw new l(this.providerType,e);return r}clearProviders(){this.providersMap.clear()}}},872:(e,r,o)=>{"use strict";var t,a,n;o.d(r,{PK:()=>t,fC:()=>a,oo:()=>n}),function(e){e.Suggestion="suggestion"}(t||(t={})),function(e){e.Contact="Contact",e.Custom="Custom",e.List="List",e.Plain="Plain",e.SimpleText="SimpleText",e.Loading="Loading",e.Error="Error"}(a||(a={})),function(e){e.MultiSelect="MultiSelect"}(n||(n={}))},326:(e,r,o)=>{"use strict";o(102),o(70);new Map;var t,a,n,l,i,s;!function(e){e.CloseBrowserWindow="close-browser-window",e.QuitPlatform="quit-platform",e.ClosePage="close-page",e.AddToChannel="add-to-channel",e.RemoveFromChannel="remove-from-channel",e.OpenSaveModalInternal="open-save-modal-internal",e.DuplicatePage="duplicate-page",e.SetSelectedScheme="set-selected-scheme",e.ShowBrowserIndicator="show-browser-indicator",e.SetSelectedLanguage="set-selected-language",e.RefreshBookmarksInternal="refresh-bookmarks",e.GetLayoutsWithSelectedViewsInternal="get-layouts-with-selected-views",e.FocusAndExpandSearchInternal="focus-and-expand-search"}(t||(t={})),function(e){e.GetPages="get-pages",e.GetActivePageForWindow="get-active-page-for-window",e.AttachPagesToWindow="attach-pages-to-window",e.DetachPagesFromWindow="detach-pages-from-window",e.SetActivePageForWindow="set-active-page-for-window",e.RenamePage="rename-page",e.ReorderPagesForWindow="reorder-pages-for-window",e.UpdatePageForWindow="update-page-for-window",e.UpdatePagesWindowOptions="update-pages-window-options",e.IsDetachingPages="is-detaching-pages",e.IsActivePageChanging="is-active-page-changing"}(a||(a={})),function(e){e.GetApps="get-apps",e.GetCuratedContent="get-curated-content",e.GetRecentlyVisited="get-recently-visited",e.GetSearchProviders="get-search-providers"}(n||(n={})),function(e){e.CreateBookmarkNode="create-bookmark-node",e.GetBookmarkNode="get-bookmark-node",e.SearchBookmarkNodes="search-bookmark-nodes",e.UpdateBookmarkNode="update-bookmark-node",e.DeleteBookmarkNode="delete-bookmark-node"}(l||(l={})),function(e){e.UpdateFavoriteEntries="update-favorite-entries",e.UpdateContentMenu="update-content-menu",e.NavigateContentMenu="navigate-content-menu",e.MoreMenuCustomOptionClicked="more-menu-custom-option-clicked",e.RefreshDockCollectionMenu="refresh-dock-collection-menu"}(i||(i={})),function(e){e.SendUpdateVersionModalResponse="send-update-version-modal-response",e.SendIntentResolverModalResponse="send-intent-resolver-modal-response"}(s||(s={}))},78:(e,r,o)=>{"use strict";o(438),o(102),o(70);var t;!function(e){e.UpdatePlatformThemeScheme="update-platform-theme-scheme"}(t||(t={}))},79:(e,r,o)=>{"use strict";var t;o.d(r,{KZ:()=>n}),function(e){e.LaunchApp="launchApp",e.SavePage="savePage",e.GetSavedPage="getSavedPage",e.CreateSavedPage="createSavedPage",e.UpdateSavedPage="updateSavedPage",e.DeleteSavedPage="deleteSavedPage",e.GetSavedPages="getSavedPages",e.CreateSavedPageInternal="createSavedPageInternal",e.UpdateSavedPageInternal="updateSavedPageInternal",e.DeleteSavedPageInternal="deleteSavedPageInternal",e.UpdatePageForWindow="updatePageForWindow",e.AttachPagesToWindow="attachPagesToWindow",e.DetachPagesFromWindow="detachPagesFromWindow",e.ReorderPagesForWindow="reorderPagesForWindow",e.SetActivePage="setActivePage",e.AddPage="addPage",e.AddDefaultPage="addDefaultPage",e.GetAllAttachedPages="getAllAttachedPages",e.GetActivePageIdForWindow="getActivePageIdForWindow",e.GetPagesForWindow="getPagesForWindow",e.GetPageForWindow="getPageForWindow",e.GetSavedPageMetadata="getSavedPageMetadata",e.GetUniquePageTitle="getUniquePageTitle",e.GetLastFocusedBrowserWindow="getLastFocusedBrowserWindow",e.GetPageByViewIdentity="getPageByViewIdentity",e.GetThemes="getThemes",e.GetGeneratedPalettes="getGeneratedPalettes",e.GetThemePaletteSheet="getThemePaletteSheet",e.GetSelectedScheme="getSelectedScheme",e.SetSelectedScheme="setSelectedScheme",e.OpenGlobalContextMenuInternal="openGlobalContextMenuInternal",e.OpenViewTabContextMenuInternal="openViewTabContextMenuInternal",e.OpenPageTabContextMenuInternal="openPageTabContextMenuInternal",e.OpenSaveButtonContextMenuInternal="openSaveButtonContextMenuInternal",e.InvokeCustomActionInternal="invokeCustomActionInternal",e.RequestQuitPlatformDialogInternal="requestQuitPlatformDialogInternal",e.GetSavedWorkspace="getSavedWorkspace",e.CreateSavedWorkspace="createSavedWorkspace",e.UpdateSavedWorkspace="updateSavedWorkspace",e.DeleteSavedWorkspace="deleteSavedWorkspace",e.GetSavedWorkspaces="getSavedWorkspaces",e.GetSavedWorkspacesMetadata="getSavedWorkspacesMetadata",e.SaveWorkspace="saveWorkspace",e.GetCurrentWorkspace="getCurrentWorkspace",e.ApplyWorkspace="applyWorkspace",e.RestoreLastSavedWorkspaceInternal="restoreLastSavedWorkspaceInternal",e.SetActiveWorkspace="setActiveWorkspace",e.IsBrowserInitialized="isBrowserInitialized",e.Analytics="analyticsInternal",e.GetLanguage="getLanguage",e.GetLanguageResourcesInternal="getLanguageResourcesInternal",e.SetLanguage="setLanguage",e.GetDockProviderConfig="getDockProviderConfig",e.SaveDockProviderConfig="saveDockProviderConfig",e.HandleSaveModalOnPageClose="handleSaveModalOnPageClose",e.ShouldPageClose="shouldPageClose",e.ShouldWindowClose="shouldWindowClose",e.CopyPage="copyPage",e.HandlePageChanges="handlePageChanges",e.MarkUnsavedPagesAsSavedInternal="markUnsavedPagesAsSavedInternal",e.TrackRemovedTabInternal="trackRemovedTabInternal",e.RestoreRemovedTabInternal="restoreRemovedTabInternal",e.TrackVisitedSiteInternal="trackVisitedSiteInternal",e.GetRecentlyVisitedSitesInternal="getRecentlyVisitedSitesInternal",e.GetFrequentlyVisitedSitesInternal="getFrequentlyVisitedSitesInternal",e.SearchSitesInternal="searchSitesInternal",e.GetSearchProvidersInternal="getSearchProvidersInternal",e.GetCuratedContentInternal="getCuratedContentInternal",e.HandleRequestNavigationInternal="handleRequestNavigationInternal",e.RefreshBookmarksInternal="refreshBookmarksInternal",e.LaunchBookmarkInternal="launchBookmarkInternal",e.GetNotificationsConfig="getNotificationsConfig",e.UpdateDockFavoritesInternal="updateDockFavoritesInternal",e.UpdateContentMenuInternal="updateContentMenuInternal",e.LaunchDockEntryInternal="launchDockEntryInternal",e.SetDockFavoritesOrderInternal="setDockFavoritesOrderInternal",e.NavigateContentMenuInternal="navigateContentMenuInternal",e.SetDefaultDockButtonsOrderInternal="setDefaultDockButtonsOrderInternal",e.GetDockWorkspacesContextMenuInternal="getDockWorkspacesContextMenuInternal",e.HandleDockWorkspacesMenuResponseInternal="handleDockWorkspacesMenuResponseInternal",e.RefreshDockCollectionMenuInternal="refreshDockCollectionMenuInternal",e.LaunchCollectionInternal="launchCollectionInternal",e.RemoveDockFavoriteInternal="removeDockFavoriteInternal",e.AddDockFavoriteInternal="addDockFavoriteInternal",e.FocusAndExpandSearchInternal="focusAndExpandSearchInternal",e.SendUpdateVersionModalResponseInternal="sendUpdateVersionModalResponseInternal",e.ShowUpdateVersionModalInternal="showUpdateVersionModalInternal",e.ShowApplyAndPublishModalInternal="showApplyAndPublishModalInternal",e.GetNotificationIndicatorColorsInternal="getNotificationIndicatorColorsInternal"}(t||(t={}));const a=async e=>fin.Platform.wrapSync(e).getClient(),n=async e=>{const r=await a(e),o="Target is not a Workspace Platform. Target must call WorkspacePlatform.init";let t;try{t=await r.dispatch("isWorkspacePlatform")}catch(e){throw new Error(o)}if("boolean"==typeof t&&t)return console.warn("You are using an older version of the workspace platform. Please update your workspace platform."),t;if("object"==typeof t&&t.isWorkspacePlatform)return t;throw new Error(o)}},695:(e,r,o)=>{"use strict";o.d(r,{YD:()=>f,gj:()=>g,p4:()=>d});var t=o(102),a=o(723),n=o(70),l=o(905),i=o(211),s=o(180);const c=(0,t.A)("__of_workspace_protocol__"),d=c,u=c,g=(0,t.A)(l.BT),b=e=>{const r=new URL(e);return r.searchParams.append("isLaunchedViaLib","true"),r.toString()},h=async()=>{if(!await(0,n.C)(n.xt)){if(a.jw||-1===navigator.userAgent.indexOf("Win"))return void await fin.Application.startFromManifest(b(a.m7));await fin.System.openUrlWithBrowser(b(a.t8))}},f=async()=>{const e=(0,i.v)(),r=e.getThemePaletteSheet(),o=e.getScheme(),t=e.getThemePalette();return await h(),await(0,s.tT)({themePaletteSheet:r,selectedScheme:o,themePalette:t}),u()}},905:(e,r,o)=>{"use strict";o.d(r,{BT:()=>t,Zo:()=>n});const t="__search-openfin-browser-home-topic__";var a,n;!function(e){e.Fetching="fetching",e.Fetched="fetched",e.Complete="complete"}(a||(a={})),function(e){e[e.Initial=0]="Initial",e[e.Open=1]="Open",e[e.Close=2]="Close"}(n||(n={}))},438:(e,r,o)=>{"use strict";o.d(r,{BY:()=>s,MW:()=>t});var t,a,n=o(723);!function(e){e.Workspace="openfin-workspace",e.OldWorkspace="openfin-browser"}(t||(t={})),function(e){e.FinProtocol="fin-protocol"}(a||(a={}));n.$h;const l={uuid:t.Workspace},i=e=>{if(!n.cI)throw new Error("getApplication cannot be used in a non OpenFin env. Avoid using this during pre-rendering.");return fin.Application.wrapSync(e)},s=()=>i(l)},102:(e,r,o)=>{"use strict";o.d(r,{A:()=>n});var t=o(723);const a=t.YY&&"complete"!==document.readyState&&new Promise(e=>document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&e()}));function n(e){let r;const o=new Set;return()=>{if(!t.cI)throw new Error("getChannelClient cannot be used outside an OpenFin env. Avoid using this method during pre-rendering.");return r||(r=(async()=>{await a;const n={clientAPIVersion:t.et},l=await fin.InterApplicationBus.Channel.connect(e,{payload:n});return l.onDisconnection(async()=>{o.forEach(e=>e()),o.clear(),console.warn(`disconnected from channel provider ${e}`),r=void 0}),l})().then(e=>(e.addDisconnectionListener=e=>{o.add(e)},e)).catch(o=>{throw r=void 0,new Error(`failed to connect to channel provider ${e}: ${o}`)})),r}}},723:(e,r,o)=>{"use strict";var t;o.d(r,{$h:()=>i,YY:()=>n,cI:()=>a,et:()=>b,jw:()=>c,m7:()=>u,t8:()=>d,vL:()=>s}),function(e){e.Local="local",e.Dev="dev",e.Staging="staging",e.Prod="prod"}(t||(t={}));const a="undefined"!=typeof window&&"undefined"!=typeof fin,n=("undefined"==typeof process||process.env,"undefined"!=typeof window),l=n?window.origin:t.Local,i=a&&fin.me.uuid,s=a&&fin.me.name,c=(a&&fin.me.entityType,"prod"===t.Local),d=(t.Dev,t.Staging,t.Prod,"fins://system-apps/workspace"),u="https://workspace.openfin.co/workspace/24.1.0-alpha.06dbecdb/app.json",g=e=>e.startsWith("http://")||e.startsWith("https://")?e:l+e,b=(g("https://workspace.openfin.co/workspace/24.1.0-alpha.06dbecdb"),g("https://workspace.openfin.co/workspace/24.1.0-alpha.06dbecdb"),"undefined"!=typeof WORKSPACE_DOCS_PLATFORM_URL&&g(WORKSPACE_DOCS_PLATFORM_URL),"undefined"!=typeof WORKSPACE_DOCS_CLIENT_URL&&g(WORKSPACE_DOCS_CLIENT_URL),"24.1.0-alpha.06dbecdb");"undefined"!=typeof WORKSPACE_BUILD_SHA&&WORKSPACE_BUILD_SHA},822:(e,r,o)=>{"use strict";o.d(r,{Rm:()=>c,h:()=>l});let t="undefined"==typeof LOG_STRINGIFY||!0===LOG_STRINGIFY;const a={includeTimestamp:!0,customPrefix:"",stringifyData:void 0},n=e=>{try{return JSON.stringify(e,null,2)}catch(r){try{const r=new WeakSet;return JSON.stringify(e,(e,o)=>{if("object"==typeof o&&null!==o){if(r.has(o))return"[Circular Reference]";r.add(o)}return"bigint"==typeof o?`[BigInt: ${o.toString()}]`:"function"==typeof o?`[Function: ${o.name||"anonymous"}]`:"symbol"==typeof o?`[Symbol: ${o.toString()}]`:void 0===o?"[Undefined]":o},2)}catch(r){try{return`[Non-serializable: ${Object.prototype.toString.call(e)}]`}catch{return"[Unable to serialize data]"}}}},l=(e,r={})=>{const o={...a,...r},l=(a,l,i,s)=>{try{const c=((e,r,o,t)=>{const a=t.includeTimestamp?(new Date).toISOString():"";return`${a?`${a} `:""}${t.customPrefix?`${t.customPrefix} `:""}[${e}][${r}] ${o}`})(e,l,i,o),d=((e,r)=>{if(!e)return;const o="function"==typeof e?e():e;return o?r?n(o):o:void 0})(s,void 0!==r.stringifyData?r.stringifyData:t),u=console[a];void 0!==d?u(c,d):u(c)}catch(r){try{console.error("[Logger Error] Failed to log message:",r),console[a](`[${e}][${l}]`,i,s)}catch(e){}}};return{debug:(e,r,o)=>l("debug",e,r,o),info:(e,r,o)=>l("info",e,r,o),warn:(e,r,o)=>l("warn",e,r,o),error:(e,r,o)=>l("error",e,r,o)}},i=()=>"undefined"!=typeof window&&"undefined"!=typeof document&&("undefined"!=typeof LOG_DEBUG&&!0===LOG_DEBUG),s=(e,...r)=>{const o=console[e];try{if(t){o(...r.map(e=>"object"==typeof e&&null!==e?n(e):e))}else o(...r)}catch(e){console.error("Error printing stringified log, logging directly",e),o(...r)}},c={debug:(...e)=>{i()&&s("debug",...e)},info:(...e)=>s("info",...e),warn:(...e)=>s("warn",...e),error:(...e)=>s("error",...e),trace:(...e)=>s("trace",...e)}},786:(e,r,o)=>{"use strict";o.d(r,{A:()=>a});const t="of-workspace-";const a=new class{mark(e){performance.mark(`${t}${e}`)}markStart(e){performance.mark(`${t}${e}-start`)}markEnd(e){performance.mark(`${t}${e}-end`)}markEndAndMeasure(e){performance.mark(`${t}${e}-end`);try{return performance.measure(`${t}${e}`,`${t}${e}-start`,`${t}${e}-end`)}catch(e){0}}markAndMeasure(e,r){performance.mark(`${t}${e}`);try{return performance.measure(`${t}${e}-measure`,`${t}${r}-start`,`${t}${e}`)}catch(e){0}}reportWorkspacePerformanceEntries(){return performance.getEntriesByType("measure").filter(e=>e.name.startsWith(t))}reportWorkspacePerformance(){return this.reportWorkspacePerformanceEntries().map(e=>({name:e.name.replace(`${t}`,"").replace("-measure",""),duration:e.duration}))}}},277:(e,r,o)=>{"use strict";o.d(r,{GR:()=>i});var t,a=o(723),n=o(70);!function(e){e.Browser="Browser",e.Dock="Dock",e.EnterpriseDock="EnterpriseDock",e.Home="Home",e.Notification="Notification",e.Storefront="Storefront",e.Platform="Platform",e.Theming="Theming",e.Microflow="Microflow"}(t||(t={}));const l=async(e,r,o="workspace-licensing")=>{const t={apiVersion:r.apiVersion||a.et,componentName:e,componentVersion:r.componentVersion||a.et,allowed:r.allowed,rejectionCode:r.rejectionCode};fin.System.registerUsage({type:o,data:t})};const i=e=>{n.F2.uuid===n.$p.uuid&&n.F2.name===n.$p.name||l(t.Home,e)};new Map},70:(e,r,o)=>{"use strict";o.d(r,{$p:()=>i,C:()=>d,F2:()=>s,xt:()=>c});o(78);var t,a=o(438),n=o(723);!function(e){e.Home="openfin-home",e.Dock="openfin-dock",e.Storefront="openfin-storefront",e.HomeInternal="openfin-home-internal",e.BrowserIndicator="openfin-browser-indicator",e.BrowserWindow="internal-generated-window",e.ClassicWindow="internal-generated-classic-window",e.BrowserAddressSearchPrefix="openfin-browser-menu-address-search-",e.DockCompanion="openfin-dock-companion",e.AICompanionPrefix="openfin-ai-companion-",e.AboutPageWindow="here-about-page",e.FindInPageViewPrefix="here-find-in-page-view-",e.BrowserMenu="openfin-browser-menu",e.BrowserSaveMenu="openfin-browser-save-menu",e.DockSaveWorkspaceMenu="openfin-dock3-save-workspace-menu",e.DropdownMenu="openfin-enterprise-dropdown-menu",e.EnterpriseContextMenu="openfin-enterprise-context-menu",e.TabSearchMenu="openfin-browser-tab-search-menu",e.EnterpriseBookmarkDialogWindow="openfin-enterprise-bookmark-dialog",e.ZoomControlsDialog="here-zoom-controls-dialog",e.UpdateVersionModal="here-update-version-modal",e.ApplyAndPublishModal="here-apply-and-publish-modal",e.DesktopSignalsModal="here-desktop-signals-modal",e.IntentsResolverModal="here-intents-resolver-modal"}(t||(t={}));function l(e){if(!n.cI)throw new Error("getOFWindow can only be used in an OpenFin env. Avoid calling this method during pre-rendering.");return fin.Window.wrapSync(e)}const i={name:n.vL,uuid:n.$h};const s={name:t.Home,uuid:a.MW.Workspace},c=(t.Dock,a.MW.Workspace,t.Storefront,a.MW.Workspace,{name:a.MW.Workspace,uuid:a.MW.Workspace});const d=e=>l(e).getInfo().then(()=>!0).catch(()=>!1)},516:(e,r)=>{var o={d:(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};o.r(t),o.d(t,{Color:()=>a,Palette:()=>y,createTheme:()=>ie});const a={white:"#FFFFFF",lightGray1:"#FAFBFE",lightGray2:"#F3F5F8",lightGray3:"#ECEEF1",lightGray4:"#DDDFE4",lightGray5:"#C9CBD2",neutralGray:"#7D808A",neutralGray80:"rgba(125,128,138,0.8)",silverGray:"#C0C1C2",darkGray1:"#53565F",darkGray2:"#383A40",darkGray3:"#2F3136",darkGray4:"#24262B",darkGray5:"#1E1F23",darkGray6:"#111214",openFinDarkest:"#3D39CD",openFinDarker:"#4642E0",openFin:"#504CFF",openFinLight:"#5254FB",openFinLighter:"#5C5EFE",openFinLightest:"#6864FF",functional1:"#207735",functional2:"#46C8F1",functional3:"#0A76D3",functional4:"#6CADE5",functional5:"#0A76D3",functional6:"#882BFE",functional7:"#F31818",functional8:"#C93400",functional9:"#FF5E60",functional10:"#F48F00",purple:"var(--color-primitives-indigo-500)",lightblue:"var(--color-primitives-blue-500)",aqua:"var(--color-primitives-teal-500)",yellow:"var(--color-primitives-yellow-500)",salmon:"var(--color-primitives-orange-500)",pink:"var(--color-primitives-pink-500)",lightpink:"var(--color-primitives-pink-500)",white00:"rgba(255,255,255,0.0)",white10:"rgba(255,255,255,0.1)",white20:"rgba(255,255,255,0.2)",white30:"rgba(255,255,255,0.3)",white40:"rgba(255,255,255,0.4)",white50:"rgba(255,255,255,0.5)",white60:"rgba(255,255,255,0.6)",white70:"rgba(255,255,255,0.7)",white80:"rgba(255,255,255,0.8)",white90:"rgba(255,255,255,0.9)",black00:"rgba(0,0,0,0.0)",black10:"rgba(0,0,0,0.1)",black20:"rgba(0,0,0,0.2)",black30:"rgba(0,0,0,0.3)",black40:"rgba(0,0,0,0.4)",black50:"rgba(0,0,0,0.5)",black60:"rgba(0,0,0,0.6)",black70:"rgba(0,0,0,0.7)",black80:"rgba(0,0,0,0.8)",black90:"rgba(0,0,0,0.9)",transparent:"transparent",openFinActive:"#4642FF",openFinHover:"#6965FF",lightGray4Active:"#D7DADF",lightGray4Hover:"#EBECEF",darkGray2Active:"#33353B",darkGray2Hover:"#44464E"},n="xsmall",l="small",i="base",s="large",c="xlarge",d="xxlarge",u="xxxlarge",g="xxxxlarge",b={[n]:4,[l]:8,[i]:12,[s]:16,[c]:20,[d]:24,[u]:32,[g]:48},h={[n]:"4px",[l]:"8px",[i]:"12px",[s]:"16px",[c]:"20px",[d]:"24px",[u]:"32px",[g]:"72px"},f={[n]:"2px",[l]:"4px",[i]:"8px",[s]:"24px",pill:"100vh",round:"50%",none:"0"},p={[i]:"0 4px 4px rgba(0, 0, 0, 0.25)"},v=["Inter","system-ui","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"].join(","),m={[n]:"8px",[l]:"10px",[i]:"12px",[s]:"14px",[c]:"16px",[d]:"18px",[u]:"20px",[g]:"40px"},k={[n]:h.small,[l]:h.base,[i]:"15px",[s]:h.xlarge,[c]:h.xxlarge,[d]:h.xxxlarge,[u]:h.xxxxlarge,[g]:h.xxxxlarge},y={background1:"background1",background2:"background2",background3:"background3",background4:"background4",background5:"background5",background6:"background6",brandPrimary:"brandPrimary",brandSecondary:"brandSecondary",brandPrimaryActive:"brandPrimaryActive",brandPrimaryHover:"brandPrimaryHover",brandPrimaryFocused:"brandPrimaryFocused",brandPrimaryText:"brandPrimaryText",brandSecondaryActive:"brandSecondaryActive",brandSecondaryHover:"brandSecondaryHover",brandSecondaryFocused:"brandSecondaryFocused",brandSecondaryText:"brandSecondaryText",inputBackground:"inputBackground",inputColor:"inputColor",inputPlaceholder:"inputPlaceholder",inputDisabled:"inputDisabled",inputFocused:"inputFocused",inputBorder:"inputBorder",statusSuccess:"statusSuccess",statusWarning:"statusWarning",statusCritical:"statusCritical",statusActive:"statusActive",textDefault:"textDefault",textHelp:"textHelp",textInactive:"textInactive",borderNeutral:"borderNeutral",contentBackground1:"contentBackground1",contentBackground2:"contentBackground2",contentBackground3:"contentBackground3",contentBackground4:"contentBackground4",contentBackground5:"contentBackground5",linkDefault:"linkDefault",linkHover:"linkHover"};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var P=/^\s+/,_=/\s+$/;function M(e,r){if(r=r||{},(e=e||"")instanceof M)return e;if(!(this instanceof M))return new M(e,r);var o=function(e){var r,o,t,a={r:0,g:0,b:0},n=1,l=null,i=null,s=null,c=!1,d=!1;return"string"==typeof e&&(e=function(e){e=e.replace(P,"").replace(_,"").toLowerCase();var r,o=!1;if(G[e])e=G[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=ee.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=ee.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=ee.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=ee.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=ee.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=ee.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=ee.hex8.exec(e))?{r:V(r[1]),g:V(r[2]),b:V(r[3]),a:Y(r[4]),format:o?"name":"hex8"}:(r=ee.hex6.exec(e))?{r:V(r[1]),g:V(r[2]),b:V(r[3]),format:o?"name":"hex"}:(r=ee.hex4.exec(e))?{r:V(r[1]+""+r[1]),g:V(r[2]+""+r[2]),b:V(r[3]+""+r[3]),a:Y(r[4]+""+r[4]),format:o?"name":"hex8"}:!!(r=ee.hex3.exec(e))&&{r:V(r[1]+""+r[1]),g:V(r[2]+""+r[2]),b:V(r[3]+""+r[3]),format:o?"name":"hex"}}(e)),"object"==w(e)&&(re(e.r)&&re(e.g)&&re(e.b)?(r=e.r,o=e.g,t=e.b,a={r:255*U(r,255),g:255*U(o,255),b:255*U(t,255)},c=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):re(e.h)&&re(e.s)&&re(e.v)?(l=Z(e.s),i=Z(e.v),a=function(e,r,o){e=6*U(e,360),r=U(r,100),o=U(o,100);var t=Math.floor(e),a=e-t,n=o*(1-r),l=o*(1-a*r),i=o*(1-(1-a)*r),s=t%6;return{r:255*[o,l,n,n,i,o][s],g:255*[i,o,o,l,n,n][s],b:255*[n,n,i,o,o,l][s]}}(e.h,l,i),c=!0,d="hsv"):re(e.h)&&re(e.s)&&re(e.l)&&(l=Z(e.s),s=Z(e.l),a=function(e,r,o){var t,a,n;function l(e,r,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(r-e)*o:o<.5?r:o<2/3?e+(r-e)*(2/3-o)*6:e}if(e=U(e,360),r=U(r,100),o=U(o,100),0===r)t=a=n=o;else{var i=o<.5?o*(1+r):o+r-o*r,s=2*o-i;t=l(s,i,e+1/3),a=l(s,i,e),n=l(s,i,e-1/3)}return{r:255*t,g:255*a,b:255*n}}(e.h,l,s),c=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=H(n),{ok:c,format:e.format||d,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:n}}(e);this._originalInput=e,this._r=o.r,this._g=o.g,this._b=o.b,this._a=o.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||o.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=o.ok}function x(e,r,o){e=U(e,255),r=U(r,255),o=U(o,255);var t,a,n=Math.max(e,r,o),l=Math.min(e,r,o),i=(n+l)/2;if(n==l)t=a=0;else{var s=n-l;switch(a=i>.5?s/(2-n-l):s/(n+l),n){case e:t=(r-o)/s+(r<o?6:0);break;case r:t=(o-e)/s+2;break;case o:t=(e-r)/s+4}t/=6}return{h:t,s:a,l:i}}function S(e,r,o){e=U(e,255),r=U(r,255),o=U(o,255);var t,a,n=Math.max(e,r,o),l=Math.min(e,r,o),i=n,s=n-l;if(a=0===n?0:s/n,n==l)t=0;else{switch(n){case e:t=(r-o)/s+(r<o?6:0);break;case r:t=(o-e)/s+2;break;case o:t=(e-r)/s+4}t/=6}return{h:t,s:a,v:i}}function C(e,r,o,t){var a=[q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16))];return t&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function A(e,r,o,t){return[q(K(t)),q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16))].join("")}function I(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.s-=r/100,o.s=N(o.s),M(o)}function $(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.s+=r/100,o.s=N(o.s),M(o)}function F(e){return M(e).desaturate(100)}function z(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.l+=r/100,o.l=N(o.l),M(o)}function T(e,r){r=0===r?0:r||10;var o=M(e).toRgb();return o.r=Math.max(0,Math.min(255,o.r-Math.round(-r/100*255))),o.g=Math.max(0,Math.min(255,o.g-Math.round(-r/100*255))),o.b=Math.max(0,Math.min(255,o.b-Math.round(-r/100*255))),M(o)}function R(e,r){r=0===r?0:r||10;var o=M(e).toHsl();return o.l-=r/100,o.l=N(o.l),M(o)}function D(e,r){var o=M(e).toHsl(),t=(o.h+r)%360;return o.h=t<0?360+t:t,M(o)}function E(e){var r=M(e).toHsl();return r.h=(r.h+180)%360,M(r)}function B(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var o=M(e).toHsl(),t=[M(e)],a=360/r,n=1;n<r;n++)t.push(M({h:(o.h+n*a)%360,s:o.s,l:o.l}));return t}function W(e){var r=M(e).toHsl(),o=r.h;return[M(e),M({h:(o+72)%360,s:r.s,l:r.l}),M({h:(o+216)%360,s:r.s,l:r.l})]}function j(e,r,o){r=r||6,o=o||30;var t=M(e).toHsl(),a=360/o,n=[M(e)];for(t.h=(t.h-(a*r>>1)+720)%360;--r;)t.h=(t.h+a)%360,n.push(M(t));return n}function O(e,r){r=r||6;for(var o=M(e).toHsv(),t=o.h,a=o.s,n=o.v,l=[],i=1/r;r--;)l.push(M({h:t,s:a,v:n})),n=(n+i)%1;return l}M.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,o,t=this.toRgb();return e=t.r/255,r=t.g/255,o=t.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))},setAlpha:function(e){return this._a=H(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=S(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=S(this._r,this._g,this._b),r=Math.round(360*e.h),o=Math.round(100*e.s),t=Math.round(100*e.v);return 1==this._a?"hsv("+r+", "+o+"%, "+t+"%)":"hsva("+r+", "+o+"%, "+t+"%, "+this._roundA+")"},toHsl:function(){var e=x(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=x(this._r,this._g,this._b),r=Math.round(360*e.h),o=Math.round(100*e.s),t=Math.round(100*e.l);return 1==this._a?"hsl("+r+", "+o+"%, "+t+"%)":"hsla("+r+", "+o+"%, "+t+"%, "+this._roundA+")"},toHex:function(e){return C(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,r,o,t,a){var n=[q(Math.round(e).toString(16)),q(Math.round(r).toString(16)),q(Math.round(o).toString(16)),q(K(t))];return a&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)&&n[3].charAt(0)==n[3].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)+n[3].charAt(0):n.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*U(this._r,255))+"%",g:Math.round(100*U(this._g,255))+"%",b:Math.round(100*U(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*U(this._r,255))+"%, "+Math.round(100*U(this._g,255))+"%, "+Math.round(100*U(this._b,255))+"%)":"rgba("+Math.round(100*U(this._r,255))+"%, "+Math.round(100*U(this._g,255))+"%, "+Math.round(100*U(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(L[C(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+A(this._r,this._g,this._b,this._a),o=r,t=this._gradientType?"GradientType = 1, ":"";if(e){var a=M(e);o="#"+A(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+t+"startColorstr="+r+",endColorstr="+o+")"},toString:function(e){var r=!!e;e=e||this._format;var o=!1,t=this._a<1&&this._a>=0;return r||!t||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(o=this.toRgbString()),"prgb"===e&&(o=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(o=this.toHexString()),"hex3"===e&&(o=this.toHexString(!0)),"hex4"===e&&(o=this.toHex8String(!0)),"hex8"===e&&(o=this.toHex8String()),"name"===e&&(o=this.toName()),"hsl"===e&&(o=this.toHslString()),"hsv"===e&&(o=this.toHsvString()),o||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return M(this.toString())},_applyModification:function(e,r){var o=e.apply(null,[this].concat([].slice.call(r)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(z,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(R,arguments)},desaturate:function(){return this._applyModification(I,arguments)},saturate:function(){return this._applyModification($,arguments)},greyscale:function(){return this._applyModification(F,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(j,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(W,arguments)},triad:function(){return this._applyCombination(B,[3])},tetrad:function(){return this._applyCombination(B,[4])}},M.fromRatio=function(e,r){if("object"==w(e)){var o={};for(var t in e)e.hasOwnProperty(t)&&(o[t]="a"===t?e[t]:Z(e[t]));e=o}return M(e,r)},M.equals=function(e,r){return!(!e||!r)&&M(e).toRgbString()==M(r).toRgbString()},M.random=function(){return M.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},M.mix=function(e,r,o){o=0===o?0:o||50;var t=M(e).toRgb(),a=M(r).toRgb(),n=o/100;return M({r:(a.r-t.r)*n+t.r,g:(a.g-t.g)*n+t.g,b:(a.b-t.b)*n+t.b,a:(a.a-t.a)*n+t.a})},M.readability=function(e,r){var o=M(e),t=M(r);return(Math.max(o.getLuminance(),t.getLuminance())+.05)/(Math.min(o.getLuminance(),t.getLuminance())+.05)},M.isReadable=function(e,r,o){var t,a,n,l,i,s=M.readability(e,r);switch(a=!1,(n=o,"AA"!==(l=((n=n||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==l&&(l="AA"),"small"!==(i=(n.size||"small").toLowerCase())&&"large"!==i&&(i="small"),t={level:l,size:i}).level+t.size){case"AAsmall":case"AAAlarge":a=s>=4.5;break;case"AAlarge":a=s>=3;break;case"AAAsmall":a=s>=7}return a},M.mostReadable=function(e,r,o){var t,a,n,l,i=null,s=0;a=(o=o||{}).includeFallbackColors,n=o.level,l=o.size;for(var c=0;c<r.length;c++)(t=M.readability(e,r[c]))>s&&(s=t,i=M(r[c]));return M.isReadable(e,i,{level:n,size:l})||!a?i:(o.includeFallbackColors=!1,M.mostReadable(e,["#fff","#000"],o))};var G=M.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L=M.hexNames=function(e){var r={};for(var o in e)e.hasOwnProperty(o)&&(r[e[o]]=o);return r}(G);function H(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function U(e,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var o=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(r,Math.max(0,parseFloat(e))),o&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function N(e){return Math.min(1,Math.max(0,e))}function V(e){return parseInt(e,16)}function q(e){return 1==e.length?"0"+e:""+e}function Z(e){return e<=1&&(e=100*e+"%"),e}function K(e){return Math.round(255*parseFloat(e)).toString(16)}function Y(e){return V(e)/255}var J,Q,X,ee=(Q="[\\s|\\(]+("+(J="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+J+")[,|\\s]+("+J+")\\s*\\)?",X="[\\s|\\(]+("+J+")[,|\\s]+("+J+")[,|\\s]+("+J+")[,|\\s]+("+J+")\\s*\\)?",{CSS_UNIT:new RegExp(J),rgb:new RegExp("rgb"+Q),rgba:new RegExp("rgba"+X),hsl:new RegExp("hsl"+Q),hsla:new RegExp("hsla"+X),hsv:new RegExp("hsv"+Q),hsva:new RegExp("hsva"+X),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function re(e){return!!ee.CSS_UNIT.exec(e)}const oe=(e,r,o)=>{if(o&&(o<0||o>100))throw new Error(`${o} must be a number between 0 and 100`);return M(e)[r](o).toString()},te=(e,r)=>oe(e,"lighten",r),ae=(e,r)=>M.mostReadable(e,r).toHexString(),ne={fontFamily:v,fontSize:m,fontWeight:{normal:400,bold:600},lineHeight:{ui:1,heading:1.2,text:1.5},iconSize:k,radius:f,shadow:p,transition:{base:"200ms cubic-bezier(0.16, 1, 0.3, 1)",none:"0ms"},unit:b,px:h},le=(e,r)=>{return{[`${e}Active`]:(o=r,oe(o,"darken",2)),[`${e}Hover`]:te(r,5),[`${e}Focused`]:ae(r,[a.white,a.darkGray5]),[`${e}Text`]:ae(r,[a.white,a.darkGray5])};var o},ie=e=>Object.assign(Object.assign({},ne),{palette:Object.assign(Object.assign(Object.assign({},le(y.brandPrimary,e.brandPrimary)),le(y.brandSecondary,e.brandSecondary)),e)});var se=r;for(var ce in t)se[ce]=t[ce];t.__esModule&&Object.defineProperty(se,"__esModule",{value:!0})}},r={};function o(t){var a=r[t];if(void 0!==a)return a.exports;var n=r[t]={exports:{}};return e[t](n,n.exports,o),n.exports}o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};(()=>{"use strict";o.r(t),o.d(t,{CLIAction:()=>x.PK,CLIFilterOptionType:()=>x.oo,CLITemplate:()=>x.fC,deregister:()=>A,hide:()=>$,register:()=>C,show:()=>I});var e=o(723),r=o(786),a=o(277),n=o(70);const l="0",i="2",s="3",c="5",d="6";var u=o(695),g=o(79),b=o(575);var h=o(905);const f=()=>{};function p(e){const r={};let o=[];let t=[];let a=null;let n=h.Zo.Initial;r.getStatus=()=>n,r.getResultBuffer=()=>o,r.setResultBuffer=e=>{o=e,o?.length&&r.onChange()},r.getRevokedBuffer=()=>t,r.setRevokedBuffer=e=>{t=e,t?.length&&r.onChange()},r.setUpdatedContext=e=>{a=e,null!==a&&r.onChange()},r.getUpdatedContext=()=>a,r.onChange=f;const l={};return r.res=l,l.close=()=>{n!==h.Zo.Close&&(n=h.Zo.Close,r.onChange())},l.open=()=>{n!==h.Zo.Open&&(n=h.Zo.Open,r.onChange())},l.respond=o=>{const t=function(e=[],r=[],o="ascending"){const t=[],a=new Map;r.forEach(e=>{if(e.key)return a.set(e.key,e);t.push(e)});let n=e.map(e=>{if(e.key){const r=a.get(e.key);if(r)return a.delete(e.key),r}return e});return n.push(...a.values(),...t),n="ascending"===o?n.sort((e,r)=>(e?.score??1/0)-(r?.score??1/0)):n.sort((e,r)=>(r?.score??1/0)-(e?.score??1/0)),n}(r.getResultBuffer(),o,e);r.setResultBuffer(t)},l.revoke=(...e)=>{const o=new Set(e),t=r.getResultBuffer().filter(({key:e})=>{const r=o.has(e);return r&&o.delete(e),!r});r.setResultBuffer(t),o.size&&(r.getRevokedBuffer().forEach(e=>o.add(e)),r.setRevokedBuffer([...o]))},l.updateContext=e=>{r.setUpdatedContext(e)},r}const v=new Map;async function m(e){const{id:r,providerId:o}=e,t=P.getProviderOrFail(o);let a=v.get(r);a||(a=function(e,r){const o=new Set;let t=!1;return{close:()=>{t=!0;for(const e of o)e()},req:{id:e,...r,context:r?.context||{},onClose:e=>{o.add(e),t&&e()},removeListener:e=>{o.delete(e)}}}}(r,e),v.set(r,a));const n=p(),i=()=>{const e=n.getResultBuffer();n.setResultBuffer([]);const t=n.getRevokedBuffer();n.setRevokedBuffer([]);const a=n.getUpdatedContext();n.setUpdatedContext(null);const i=n.getStatus();!async function(e){(await(0,u.gj)()).dispatch(l,e)}({id:r,providerId:o,results:e,revoked:t,status:i,context:a})};let s=!0,c=!1;n.onChange=()=>{if(s)return s=!1,void i();c||(c=!0,setTimeout(()=>{c=!1,i()},100))};try{const{results:e,context:l}=await t.onUserInput(a.req,n.res),i=n.getStatus();return{id:r,providerId:o,status:i,results:e,context:l}}catch(e){return console.error(`OpenFin/Workspace/Home. Uncaught exception in search provider ${o} for search ${r}`,"This is likely a bug in the implementation of the search provider.",e),{id:r,providerId:o,error:e?.message}}}async function k(){for(const{req:e,close:r}of v.values())r(),v.delete(e.id)}async function y(e,r){const o=P.getProviderOrFail(e.providerId);return e.result.dispatcherIdentity=r,o.onResultDispatch?.(e.result)}function w(e){const r=v.get(e.id);r?.close(),v.delete(e.id)}const P=new b.xM("home"),_=async r=>{await(0,u.YD)();!("skipPlatformInitCheck"in r&&!0===r.skipPlatformInitCheck)&&await(0,g.KZ)(fin.me.identity);P.assertNotAlreadyRegistered(r.id),P.setProvider(r);const o=await(0,u.gj)();return function(e){e.homeChannelActionsRegistered||(e.homeChannelActionsRegistered=!0,e.register(l,m),e.register(d,w),e.register(c,y),e.addDisconnectionListener(k))}(o),o.dispatch(i,{id:r.id,title:r.title,icon:r.icon,clientAPIVersion:e.et,identity:fin.me.identity,scoreOrder:r.scoreOrder,commandCode:r.commandCode,description:r.description,hidden:r.hidden,listTitle:r.listTitle,inputPlaceholder:r.inputPlaceholder,inputLandingPlaceholder:r.inputLandingPlaceholder,logoUrl:r.logoUrl,dispatchFocusEvents:r.dispatchFocusEvents,subHeader:r.subHeader})};var M=o(248),x=o(872);let S;const C=async o=>{if(!o.icon)throw new Error(`${o.id} provider needs to have icon property defined.`);(0,M.H)("home",n.F2);const t=await _(o);return S=new Promise((n,l)=>{try{(0,a.GR)({allowed:!0,componentVersion:t?.workspaceVersion}),e.et,n({...t,clientAPIVersion:e.et,setSearchQuery:async(e,r)=>(await(0,u.YD)()).dispatch("set-search-query",{query:e,providerID:o.id,options:r})})}catch(e){(0,a.GR)({allowed:!1,rejectionCode:e instanceof Error?e.message:"unknown"}),l(e)}finally{r.A.markEndAndMeasure("home-registration")}}),S},A=async e=>{P.deleteProvider(e);const r=await(0,u.gj)();await r.dispatch(s,e)};async function I(){r.A.markStart("home-show"),await S;const e=await(0,u.YD)();await e.dispatch("show-home",void 0)}async function $(){await S;const e=await(0,u.YD)();await e.dispatch("hide-home",void 0)}})(),module.exports=t})();
|
|
2
2
|
//# sourceMappingURL=home.js.map
|