@stlite/desktop 0.90.11 → 0.90.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/assets/{ErrorOutline.esm-CGVP5MR5.js → ErrorOutline.esm-CJGMKtXr.js} +1 -1
  3. package/build/assets/{FileDownload.esm-DRw0GU4W.js → FileDownload.esm-DVbGfwz7.js} +1 -1
  4. package/build/assets/{FileHelper-DPutc5L1.js → FileHelper-BAjDG49X.js} +1 -1
  5. package/build/assets/{FormClearHelper-CNtDBzvU.js → FormClearHelper-CaLJK07N.js} +1 -1
  6. package/build/assets/{Hooks-DEqVt10P.js → Hooks-D54IehuR.js} +1 -1
  7. package/build/assets/{InputInstructions-CYN5pWtc.js → InputInstructions-BLplNLW9.js} +1 -1
  8. package/build/assets/{Particles-BFhdwScH.js → Particles-VYhfVp_p.js} +1 -1
  9. package/build/assets/{ProgressBar-BxIGBDpX.js → ProgressBar-DX8k7XSZ.js} +1 -1
  10. package/build/assets/{Toolbar-DZSYfgER.js → Toolbar-BbbydoLD.js} +1 -1
  11. package/build/assets/{base-input-CDtHdiX2.js → base-input-d4WKPeU6.js} +1 -1
  12. package/build/assets/{checkbox-BWPUCDzk.js → checkbox-DUA9ewQT.js} +1 -1
  13. package/build/assets/{createSuper-DRBibar_.js → createSuper-CoIMxZYP.js} +1 -1
  14. package/build/assets/{data-grid-overlay-editor-d9lrfvrX.js → data-grid-overlay-editor-cvHWuOOd.js} +1 -1
  15. package/build/assets/{downloader-CadyDzLl.js → downloader-CR6bzPv-.js} +1 -1
  16. package/build/assets/{es6-DXJfyb4B.js → es6-BCBcAdQS.js} +2 -2
  17. package/build/assets/{iframeResizer.contentWindow-BHAHPBQS.js → iframeResizer.contentWindow-CEqjsNrn.js} +1 -1
  18. package/build/assets/{index-CehLOm7L.js → index-B3GOsGpL.js} +1 -1
  19. package/build/assets/{index-FcCBykqI.js → index-B58bWjQH.js} +1 -1
  20. package/build/assets/{index-wWX1T45-.js → index-B7yzG-4X.js} +5 -5
  21. package/build/assets/{index-CrjEhyMB.js → index-BD2ZweM9.js} +1 -1
  22. package/build/assets/{index-i0_Oh-Dl.js → index-BGUuVZft.js} +1 -1
  23. package/build/assets/{index-CrJrTvHb.js → index-BJK2Ym_S.js} +1 -1
  24. package/build/assets/{index-sq5xGN6c.js → index-BMSSeqlt.js} +1 -1
  25. package/build/assets/{index-C-z83jR8.js → index-BRiK5gVx.js} +1 -1
  26. package/build/assets/{index-cja8oZxE.js → index-BdVfRySM.js} +1 -1
  27. package/build/assets/{index-CdQSBtKU.js → index-Bhgfj5y5.js} +1 -1
  28. package/build/assets/{index-BayeI3Y8.js → index-Bwfh73dd.js} +1 -1
  29. package/build/assets/{index-CzHgae1d.js → index-C91sP-jG.js} +1 -1
  30. package/build/assets/{index-Y5GMER81.js → index-CD0SY35r.js} +1 -1
  31. package/build/assets/{index-xRpExM0P.js → index-CHBxMYoz.js} +1 -1
  32. package/build/assets/{index--6Tmibu-.js → index-CIRTE79j.js} +1 -1
  33. package/build/assets/{index-C5CelRVp.js → index-CJWk1YT9.js} +1 -1
  34. package/build/assets/{index-CDOZLgUW.js → index-CTZrIDfL.js} +1 -1
  35. package/build/assets/{index-S2M1jZve.js → index-CdAXvPf5.js} +1 -1
  36. package/build/assets/{index-C5Vs7DkV.js → index-CeNNLDtJ.js} +1 -1
  37. package/build/assets/{index-DKFOxClg.js → index-CwPp5UqK.js} +1 -1
  38. package/build/assets/{index-B4-tzIvm.js → index-D9P3ZYiC.js} +1 -1
  39. package/build/assets/{index-C0h1sWt9.js → index-DCv3Ovf7.js} +1 -1
  40. package/build/assets/{index-BphPDeJU.js → index-DOiS7VE9.js} +1 -1
  41. package/build/assets/{index-DpCruM_r.js → index-D_4iXBI5.js} +1 -1
  42. package/build/assets/{index-rCaYGFp-.js → index-DoQHaClc.js} +1 -1
  43. package/build/assets/{index-aw1dvFXB.js → index-Dynm-1sH.js} +1 -1
  44. package/build/assets/{index-D_h3I9YJ.js → index-HqlJZ3Ag.js} +1 -1
  45. package/build/assets/{index-6pmK9B6A.js → index-NigQ67t-.js} +1 -1
  46. package/build/assets/{index-BdtyI7rR.js → index-PHqcnj3c.js} +1 -1
  47. package/build/assets/{index-H4N5vz5u.js → index-VVwti7cA.js} +1 -1
  48. package/build/assets/{index-BAYa9u17.js → index-XsxWL5x-.js} +1 -1
  49. package/build/assets/{index-Pi0boTQ1.js → index-gb2ePejP.js} +1 -1
  50. package/build/assets/{index-BbEq8Tl6.js → index-j6pFDYKO.js} +1 -1
  51. package/build/assets/{index-CFC41peg.js → index-mHvUvPYI.js} +1 -1
  52. package/build/assets/{index-CR1sLAOp.js → index-vLb3c1eZ.js} +1 -1
  53. package/build/assets/{index-CZdeBPWU.js → index-wUVGuFfU.js} +1 -1
  54. package/build/assets/{index-cuFX1NrA.js → index-wnKDraWU.js} +4 -4
  55. package/build/assets/{inherits-uBK3kmcZ.js → inherits-xHSaJdUZ.js} +1 -1
  56. package/build/assets/{input-1w6Mjo5w.js → input-PliHooUw.js} +1 -1
  57. package/build/assets/{memory-C-EiHSeQ.js → memory-BJMhKXeY.js} +1 -1
  58. package/build/assets/{number-overlay-editor-CPu7tgwQ.js → number-overlay-editor-DRf5xgI3.js} +1 -1
  59. package/build/assets/{sandbox-Dgl94q2K.js → sandbox-DBdCCxaG.js} +1 -1
  60. package/build/assets/{slicedToArray-BxUjdsw4.js → slicedToArray-Cuk3tbTR.js} +1 -1
  61. package/build/assets/{timepicker-YeO3C7Qg.js → timepicker-DjzHzJAt.js} +1 -1
  62. package/build/assets/{uniqueId-Dp_tGnBE.js → uniqueId-ikSpJ9AP.js} +1 -1
  63. package/build/assets/{useBasicWidgetState-DD4anr8V.js → useBasicWidgetState-raTjAqZP.js} +1 -1
  64. package/build/assets/{useTextInputAutoExpand-DwrFHugV.js → useTextInputAutoExpand-Uac3U0I_.js} +1 -1
  65. package/build/assets/{useUpdateUiValue-B6SPuk_P.js → useUpdateUiValue-BbEmiOZQ.js} +1 -1
  66. package/build/assets/{withFullScreenWrapper-Db_tqc32.js → withFullScreenWrapper-C7u7nPsK.js} +1 -1
  67. package/build/index.html +1 -1
  68. package/package.json +6 -6
  69. package/wheels/streamlit-1.50.0-cp313-none-any.whl +0 -0
@@ -1,4 +1,4 @@
1
- import{be as lE,r as Dt,bO as Br,c2 as vt,a3 as dh,c3 as IN,aB as Uu,_ as Z4,c4 as PN,j as Jl,s as Y4,h as K4,c5 as MN,c6 as RN,J as Q4,c7 as mb,c8 as cE,aV as BN,L as ON,u as DN,bp as LN,c9 as uE}from"./index-cuFX1NrA.js";import{_ as gs,C as kN}from"./slicedToArray-BxUjdsw4.js";import{d as Ju,c as ef,b as X2,_ as gp,a as Z2}from"./inherits-uBK3kmcZ.js";import{E as J4,w as FN}from"./withFullScreenWrapper-Db_tqc32.js";import{T as NN,a as UN}from"./Toolbar-DZSYfgER.js";import{a as zN}from"./useBasicWidgetState-DD4anr8V.js";import"./FormClearHelper-CNtDBzvU.js";function VN(r,e){for(var t=0;t<e.length;t++){const n=e[t];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in r)){const s=Object.getOwnPropertyDescriptor(n,i);s&&Object.defineProperty(r,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}async function g0(r,e,t,n){return n._parse(r,e,t,n)}function _i(r,e){if(!r)throw new Error(e||"loader assertion failed.")}const M_=!!(typeof process!="object"||String(process)!=="[object process]"||process.browser),fE=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);fE&&parseFloat(fE[1]);const hE=globalThis,dE=globalThis.process||{},jN=globalThis.navigator||{};function eB(r){if(typeof window<"u"&&window.process?.type==="renderer"||typeof process<"u"&&process.versions?.electron)return!0;const t=typeof navigator<"u"&&navigator.userAgent;return!!(t&&t.indexOf("Electron")>=0)}function ph(){return!(typeof process=="object"&&String(process)==="[object process]"&&!process?.browser)||eB()}function HN(r){return ph()?eB()?"Electron":(jN.userAgent||"").indexOf("Edge")>-1?"Edge":globalThis.chrome?"Chrome":globalThis.safari?"Safari":globalThis.mozInnerScreenX?"Firefox":"Unknown":"Node"}const tB="4.1.0";function GN(r){try{const e=window[r],t="__storage_test__";return e.setItem(t,t),e.removeItem(t),e}catch{return null}}class WN{constructor(e,t,n="sessionStorage"){this.storage=GN(n),this.id=e,this.config=t,this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(e){if(Object.assign(this.config,e),this.storage){const t=JSON.stringify(this.config);this.storage.setItem(this.id,t)}}_loadConfiguration(){let e={};if(this.storage){const t=this.storage.getItem(this.id);e=t?JSON.parse(t):{}}return Object.assign(this.config,e),this}}function $N(r){let e;return r<10?e=`${r.toFixed(2)}ms`:r<100?e=`${r.toFixed(1)}ms`:r<1e3?e=`${r.toFixed(0)}ms`:e=`${(r/1e3).toFixed(2)}s`,e}function qN(r,e=8){const t=Math.max(e-r.length,0);return`${" ".repeat(t)}${r}`}var Vm;(function(r){r[r.BLACK=30]="BLACK",r[r.RED=31]="RED",r[r.GREEN=32]="GREEN",r[r.YELLOW=33]="YELLOW",r[r.BLUE=34]="BLUE",r[r.MAGENTA=35]="MAGENTA",r[r.CYAN=36]="CYAN",r[r.WHITE=37]="WHITE",r[r.BRIGHT_BLACK=90]="BRIGHT_BLACK",r[r.BRIGHT_RED=91]="BRIGHT_RED",r[r.BRIGHT_GREEN=92]="BRIGHT_GREEN",r[r.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",r[r.BRIGHT_BLUE=94]="BRIGHT_BLUE",r[r.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",r[r.BRIGHT_CYAN=96]="BRIGHT_CYAN",r[r.BRIGHT_WHITE=97]="BRIGHT_WHITE"})(Vm||(Vm={}));const XN=10;function pE(r){return typeof r!="string"?r:(r=r.toUpperCase(),Vm[r]||Vm.WHITE)}function ZN(r,e,t){return!ph&&typeof r=="string"&&(e&&(r=`\x1B[${pE(e)}m${r}\x1B[39m`),t&&(r=`\x1B[${pE(t)+XN}m${r}\x1B[49m`)),r}function YN(r,e=["constructor"]){const t=Object.getPrototypeOf(r),n=Object.getOwnPropertyNames(t),i=r;for(const s of n){const o=i[s];typeof o=="function"&&(e.find(l=>s===l)||(i[s]=o.bind(r)))}}function Y2(r,e){if(!r)throw new Error("Assertion failed")}function gd(){let r;if(ph()&&hE.performance)r=hE?.performance?.now?.();else if("hrtime"in dE){const e=dE?.hrtime?.();r=e[0]*1e3+e[1]/1e6}else r=Date.now();return r}const md={debug:ph()&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},KN={enabled:!0,level:0};function _d(){}const AE={},gE={once:!0};class Rp{constructor({id:e}={id:""}){this.VERSION=tB,this._startTs=gd(),this._deltaTs=gd(),this.userData={},this.LOG_THROTTLE_TIMEOUT=0,this.id=e,this.userData={},this._storage=new WN(`__probe-${this.id}__`,KN),this.timeStamp(`${this.id} started`),YN(this),Object.seal(this)}set level(e){this.setLevel(e)}get level(){return this.getLevel()}isEnabled(){return this._storage.config.enabled}getLevel(){return this._storage.config.level}getTotal(){return Number((gd()-this._startTs).toPrecision(10))}getDelta(){return Number((gd()-this._deltaTs).toPrecision(10))}set priority(e){this.level=e}get priority(){return this.level}getPriority(){return this.level}enable(e=!0){return this._storage.setConfiguration({enabled:e}),this}setLevel(e){return this._storage.setConfiguration({level:e}),this}get(e){return this._storage.config[e]}set(e,t){this._storage.setConfiguration({[e]:t})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(e,t){if(!e)throw new Error(t||"Assertion failed")}warn(e){return this._getLogFunction(0,e,md.warn,arguments,gE)}error(e){return this._getLogFunction(0,e,md.error,arguments)}deprecated(e,t){return this.warn(`\`${e}\` is deprecated and will be removed in a later version. Use \`${t}\` instead`)}removed(e,t){return this.error(`\`${e}\` has been removed. Use \`${t}\` instead`)}probe(e,t){return this._getLogFunction(e,t,md.log,arguments,{time:!0,once:!0})}log(e,t){return this._getLogFunction(e,t,md.debug,arguments)}info(e,t){return this._getLogFunction(e,t,console.info,arguments)}once(e,t){return this._getLogFunction(e,t,md.debug||md.info,arguments,gE)}table(e,t,n){return t?this._getLogFunction(e,t,console.table||_d,n&&[n],{tag:JN(t)}):_d}time(e,t){return this._getLogFunction(e,t,console.time?console.time:console.info)}timeEnd(e,t){return this._getLogFunction(e,t,console.timeEnd?console.timeEnd:console.info)}timeStamp(e,t){return this._getLogFunction(e,t,console.timeStamp||_d)}group(e,t,n={collapsed:!1}){const i=mE({logLevel:e,message:t,opts:n}),{collapsed:s}=n;return i.method=(s?console.groupCollapsed:console.group)||console.info,this._getLogFunction(i)}groupCollapsed(e,t,n={}){return this.group(e,t,Object.assign({},n,{collapsed:!0}))}groupEnd(e){return this._getLogFunction(e,"",console.groupEnd||_d)}withGroup(e,t,n){this.group(e,t)();try{n()}finally{this.groupEnd(e)()}}trace(){console.trace&&console.trace()}_shouldLog(e){return this.isEnabled()&&this.getLevel()>=rB(e)}_getLogFunction(e,t,n,i,s){if(this._shouldLog(e)){s=mE({logLevel:e,message:t,args:i,opts:s}),n=n||s.method,Y2(n),s.total=this.getTotal(),s.delta=this.getDelta(),this._deltaTs=gd();const o=s.tag||s.message;if(s.once&&o)if(!AE[o])AE[o]=gd();else return _d;return t=QN(this.id,s.message,s),n.bind(console,t,...s.args)}return _d}}Rp.VERSION=tB;function rB(r){if(!r)return 0;let e;switch(typeof r){case"number":e=r;break;case"object":e=r.logLevel||r.priority||0;break;default:return 0}return Y2(Number.isFinite(e)&&e>=0),e}function mE(r){const{logLevel:e,message:t}=r;r.logLevel=rB(e);const n=r.args?Array.from(r.args):[];for(;n.length&&n.shift()!==t;);switch(typeof e){case"string":case"function":t!==void 0&&n.unshift(t),r.message=e;break;case"object":Object.assign(r,e);break}typeof r.message=="function"&&(r.message=r.message());const i=typeof r.message;return Y2(i==="string"||i==="object"),Object.assign(r,{args:n},r.opts)}function QN(r,e,t){if(typeof e=="string"){const n=t.time?qN($N(t.total)):"";e=t.time?`${r}: ${n} ${e}`:`${r}: ${e}`,e=ZN(e,t.color,t.background)}return e}function JN(r){for(const e in r)for(const t in r[e])return t||"untitled";return"empty"}globalThis.probe={};const nB=new Rp({id:"@probe.gl/log"}),cv="4.3.3",e5=cv[0]>="0"&&cv[0]<="9"?`v${cv}`:"";function t5(){const r=new Rp({id:"loaders.gl"});return globalThis.loaders=globalThis.loaders||{},globalThis.loaders.log=r,globalThis.loaders.version=e5,globalThis.probe=globalThis.probe||{},globalThis.probe.loaders=r,r}const r5=t5();function iB(r,e){return sB(r||{},e)}function sB(r,e,t=0){if(t>3)return e;const n={...r};for(const[i,s]of Object.entries(e))s&&typeof s=="object"&&!Array.isArray(s)?n[i]=sB(n[i]||{},e[i],t+1):n[i]=e[i];return n}function n5(r){globalThis.loaders||={},globalThis.loaders.modules||={},Object.assign(globalThis.loaders.modules,r)}function i5(r){return globalThis.loaders?.modules?.[r]||null}const s5="latest";function o5(){return globalThis._loadersgl_?.version||(globalThis._loadersgl_=globalThis._loadersgl_||{},globalThis._loadersgl_.version="4.3.3"),globalThis._loadersgl_.version}const oB=o5();function Yc(r,e){if(!r)throw new Error(e||"loaders.gl assertion failed.")}const ka=typeof process!="object"||String(process)!=="[object process]"||process.browser,K2=typeof importScripts=="function",a5=typeof window<"u"&&typeof window.orientation<"u",_E=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);_E&&parseFloat(_E[1]);class l5{name;workerThread;isRunning=!0;result;_resolve=()=>{};_reject=()=>{};constructor(e,t){this.name=e,this.workerThread=t,this.result=new Promise((n,i)=>{this._resolve=n,this._reject=i})}postMessage(e,t){this.workerThread.postMessage({source:"loaders.gl",type:e,payload:t})}done(e){Yc(this.isRunning),this.isRunning=!1,this._resolve(e)}error(e){Yc(this.isRunning),this.isRunning=!1,this._reject(e)}}class uv{terminate(){}}const fv=new Map;function c5(r){Yc(r.source&&!r.url||!r.source&&r.url);let e=fv.get(r.source||r.url);return e||(r.url&&(e=u5(r.url),fv.set(r.url,e)),r.source&&(e=aB(r.source),fv.set(r.source,e))),Yc(e),e}function u5(r){if(!r.startsWith("http"))return r;const e=f5(r);return aB(e)}function aB(r){const e=new Blob([r],{type:"application/javascript"});return URL.createObjectURL(e)}function f5(r){return`try {
1
+ import{be as lE,r as Dt,bO as Br,c2 as vt,a3 as dh,c3 as IN,aB as Uu,_ as Z4,c4 as PN,j as Jl,s as Y4,h as K4,c5 as MN,c6 as RN,J as Q4,c7 as mb,c8 as cE,aV as BN,L as ON,u as DN,bp as LN,c9 as uE}from"./index-wnKDraWU.js";import{_ as gs,C as kN}from"./slicedToArray-Cuk3tbTR.js";import{d as Ju,c as ef,b as X2,_ as gp,a as Z2}from"./inherits-xHSaJdUZ.js";import{E as J4,w as FN}from"./withFullScreenWrapper-C7u7nPsK.js";import{T as NN,a as UN}from"./Toolbar-BbbydoLD.js";import{a as zN}from"./useBasicWidgetState-raTjAqZP.js";import"./FormClearHelper-CaLJK07N.js";function VN(r,e){for(var t=0;t<e.length;t++){const n=e[t];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in r)){const s=Object.getOwnPropertyDescriptor(n,i);s&&Object.defineProperty(r,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}async function g0(r,e,t,n){return n._parse(r,e,t,n)}function _i(r,e){if(!r)throw new Error(e||"loader assertion failed.")}const M_=!!(typeof process!="object"||String(process)!=="[object process]"||process.browser),fE=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);fE&&parseFloat(fE[1]);const hE=globalThis,dE=globalThis.process||{},jN=globalThis.navigator||{};function eB(r){if(typeof window<"u"&&window.process?.type==="renderer"||typeof process<"u"&&process.versions?.electron)return!0;const t=typeof navigator<"u"&&navigator.userAgent;return!!(t&&t.indexOf("Electron")>=0)}function ph(){return!(typeof process=="object"&&String(process)==="[object process]"&&!process?.browser)||eB()}function HN(r){return ph()?eB()?"Electron":(jN.userAgent||"").indexOf("Edge")>-1?"Edge":globalThis.chrome?"Chrome":globalThis.safari?"Safari":globalThis.mozInnerScreenX?"Firefox":"Unknown":"Node"}const tB="4.1.0";function GN(r){try{const e=window[r],t="__storage_test__";return e.setItem(t,t),e.removeItem(t),e}catch{return null}}class WN{constructor(e,t,n="sessionStorage"){this.storage=GN(n),this.id=e,this.config=t,this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(e){if(Object.assign(this.config,e),this.storage){const t=JSON.stringify(this.config);this.storage.setItem(this.id,t)}}_loadConfiguration(){let e={};if(this.storage){const t=this.storage.getItem(this.id);e=t?JSON.parse(t):{}}return Object.assign(this.config,e),this}}function $N(r){let e;return r<10?e=`${r.toFixed(2)}ms`:r<100?e=`${r.toFixed(1)}ms`:r<1e3?e=`${r.toFixed(0)}ms`:e=`${(r/1e3).toFixed(2)}s`,e}function qN(r,e=8){const t=Math.max(e-r.length,0);return`${" ".repeat(t)}${r}`}var Vm;(function(r){r[r.BLACK=30]="BLACK",r[r.RED=31]="RED",r[r.GREEN=32]="GREEN",r[r.YELLOW=33]="YELLOW",r[r.BLUE=34]="BLUE",r[r.MAGENTA=35]="MAGENTA",r[r.CYAN=36]="CYAN",r[r.WHITE=37]="WHITE",r[r.BRIGHT_BLACK=90]="BRIGHT_BLACK",r[r.BRIGHT_RED=91]="BRIGHT_RED",r[r.BRIGHT_GREEN=92]="BRIGHT_GREEN",r[r.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",r[r.BRIGHT_BLUE=94]="BRIGHT_BLUE",r[r.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",r[r.BRIGHT_CYAN=96]="BRIGHT_CYAN",r[r.BRIGHT_WHITE=97]="BRIGHT_WHITE"})(Vm||(Vm={}));const XN=10;function pE(r){return typeof r!="string"?r:(r=r.toUpperCase(),Vm[r]||Vm.WHITE)}function ZN(r,e,t){return!ph&&typeof r=="string"&&(e&&(r=`\x1B[${pE(e)}m${r}\x1B[39m`),t&&(r=`\x1B[${pE(t)+XN}m${r}\x1B[49m`)),r}function YN(r,e=["constructor"]){const t=Object.getPrototypeOf(r),n=Object.getOwnPropertyNames(t),i=r;for(const s of n){const o=i[s];typeof o=="function"&&(e.find(l=>s===l)||(i[s]=o.bind(r)))}}function Y2(r,e){if(!r)throw new Error("Assertion failed")}function gd(){let r;if(ph()&&hE.performance)r=hE?.performance?.now?.();else if("hrtime"in dE){const e=dE?.hrtime?.();r=e[0]*1e3+e[1]/1e6}else r=Date.now();return r}const md={debug:ph()&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},KN={enabled:!0,level:0};function _d(){}const AE={},gE={once:!0};class Rp{constructor({id:e}={id:""}){this.VERSION=tB,this._startTs=gd(),this._deltaTs=gd(),this.userData={},this.LOG_THROTTLE_TIMEOUT=0,this.id=e,this.userData={},this._storage=new WN(`__probe-${this.id}__`,KN),this.timeStamp(`${this.id} started`),YN(this),Object.seal(this)}set level(e){this.setLevel(e)}get level(){return this.getLevel()}isEnabled(){return this._storage.config.enabled}getLevel(){return this._storage.config.level}getTotal(){return Number((gd()-this._startTs).toPrecision(10))}getDelta(){return Number((gd()-this._deltaTs).toPrecision(10))}set priority(e){this.level=e}get priority(){return this.level}getPriority(){return this.level}enable(e=!0){return this._storage.setConfiguration({enabled:e}),this}setLevel(e){return this._storage.setConfiguration({level:e}),this}get(e){return this._storage.config[e]}set(e,t){this._storage.setConfiguration({[e]:t})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(e,t){if(!e)throw new Error(t||"Assertion failed")}warn(e){return this._getLogFunction(0,e,md.warn,arguments,gE)}error(e){return this._getLogFunction(0,e,md.error,arguments)}deprecated(e,t){return this.warn(`\`${e}\` is deprecated and will be removed in a later version. Use \`${t}\` instead`)}removed(e,t){return this.error(`\`${e}\` has been removed. Use \`${t}\` instead`)}probe(e,t){return this._getLogFunction(e,t,md.log,arguments,{time:!0,once:!0})}log(e,t){return this._getLogFunction(e,t,md.debug,arguments)}info(e,t){return this._getLogFunction(e,t,console.info,arguments)}once(e,t){return this._getLogFunction(e,t,md.debug||md.info,arguments,gE)}table(e,t,n){return t?this._getLogFunction(e,t,console.table||_d,n&&[n],{tag:JN(t)}):_d}time(e,t){return this._getLogFunction(e,t,console.time?console.time:console.info)}timeEnd(e,t){return this._getLogFunction(e,t,console.timeEnd?console.timeEnd:console.info)}timeStamp(e,t){return this._getLogFunction(e,t,console.timeStamp||_d)}group(e,t,n={collapsed:!1}){const i=mE({logLevel:e,message:t,opts:n}),{collapsed:s}=n;return i.method=(s?console.groupCollapsed:console.group)||console.info,this._getLogFunction(i)}groupCollapsed(e,t,n={}){return this.group(e,t,Object.assign({},n,{collapsed:!0}))}groupEnd(e){return this._getLogFunction(e,"",console.groupEnd||_d)}withGroup(e,t,n){this.group(e,t)();try{n()}finally{this.groupEnd(e)()}}trace(){console.trace&&console.trace()}_shouldLog(e){return this.isEnabled()&&this.getLevel()>=rB(e)}_getLogFunction(e,t,n,i,s){if(this._shouldLog(e)){s=mE({logLevel:e,message:t,args:i,opts:s}),n=n||s.method,Y2(n),s.total=this.getTotal(),s.delta=this.getDelta(),this._deltaTs=gd();const o=s.tag||s.message;if(s.once&&o)if(!AE[o])AE[o]=gd();else return _d;return t=QN(this.id,s.message,s),n.bind(console,t,...s.args)}return _d}}Rp.VERSION=tB;function rB(r){if(!r)return 0;let e;switch(typeof r){case"number":e=r;break;case"object":e=r.logLevel||r.priority||0;break;default:return 0}return Y2(Number.isFinite(e)&&e>=0),e}function mE(r){const{logLevel:e,message:t}=r;r.logLevel=rB(e);const n=r.args?Array.from(r.args):[];for(;n.length&&n.shift()!==t;);switch(typeof e){case"string":case"function":t!==void 0&&n.unshift(t),r.message=e;break;case"object":Object.assign(r,e);break}typeof r.message=="function"&&(r.message=r.message());const i=typeof r.message;return Y2(i==="string"||i==="object"),Object.assign(r,{args:n},r.opts)}function QN(r,e,t){if(typeof e=="string"){const n=t.time?qN($N(t.total)):"";e=t.time?`${r}: ${n} ${e}`:`${r}: ${e}`,e=ZN(e,t.color,t.background)}return e}function JN(r){for(const e in r)for(const t in r[e])return t||"untitled";return"empty"}globalThis.probe={};const nB=new Rp({id:"@probe.gl/log"}),cv="4.3.3",e5=cv[0]>="0"&&cv[0]<="9"?`v${cv}`:"";function t5(){const r=new Rp({id:"loaders.gl"});return globalThis.loaders=globalThis.loaders||{},globalThis.loaders.log=r,globalThis.loaders.version=e5,globalThis.probe=globalThis.probe||{},globalThis.probe.loaders=r,r}const r5=t5();function iB(r,e){return sB(r||{},e)}function sB(r,e,t=0){if(t>3)return e;const n={...r};for(const[i,s]of Object.entries(e))s&&typeof s=="object"&&!Array.isArray(s)?n[i]=sB(n[i]||{},e[i],t+1):n[i]=e[i];return n}function n5(r){globalThis.loaders||={},globalThis.loaders.modules||={},Object.assign(globalThis.loaders.modules,r)}function i5(r){return globalThis.loaders?.modules?.[r]||null}const s5="latest";function o5(){return globalThis._loadersgl_?.version||(globalThis._loadersgl_=globalThis._loadersgl_||{},globalThis._loadersgl_.version="4.3.3"),globalThis._loadersgl_.version}const oB=o5();function Yc(r,e){if(!r)throw new Error(e||"loaders.gl assertion failed.")}const ka=typeof process!="object"||String(process)!=="[object process]"||process.browser,K2=typeof importScripts=="function",a5=typeof window<"u"&&typeof window.orientation<"u",_E=typeof process<"u"&&process.version&&/v([0-9]*)/.exec(process.version);_E&&parseFloat(_E[1]);class l5{name;workerThread;isRunning=!0;result;_resolve=()=>{};_reject=()=>{};constructor(e,t){this.name=e,this.workerThread=t,this.result=new Promise((n,i)=>{this._resolve=n,this._reject=i})}postMessage(e,t){this.workerThread.postMessage({source:"loaders.gl",type:e,payload:t})}done(e){Yc(this.isRunning),this.isRunning=!1,this._resolve(e)}error(e){Yc(this.isRunning),this.isRunning=!1,this._reject(e)}}class uv{terminate(){}}const fv=new Map;function c5(r){Yc(r.source&&!r.url||!r.source&&r.url);let e=fv.get(r.source||r.url);return e||(r.url&&(e=u5(r.url),fv.set(r.url,e)),r.source&&(e=aB(r.source),fv.set(r.source,e))),Yc(e),e}function u5(r){if(!r.startsWith("http"))return r;const e=f5(r);return aB(e)}function aB(r){const e=new Blob([r],{type:"application/javascript"});return URL.createObjectURL(e)}function f5(r){return`try {
2
2
  importScripts('${r}');
3
3
  } catch (error) {
4
4
  console.error(error);