@luma.gl/gltools
Advanced tools
Comparing version 8.5.14 to 8.5.15
@@ -1,1 +0,1 @@ | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(14),o=n(15),i=n(9),a=n(16);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";(function(e,r){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u}));var o=n(2),i={self:"undefined"!=typeof self&&self,window:"undefined"!=typeof window&&window,global:void 0!==e&&e,document:"undefined"!=typeof document&&document,process:"object"===(void 0===r?"undefined":n.n(o)()(r))&&r},a=i.window||i.self||i.global,u=i.process||{};console}).call(this,n(17),n(6))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&h())}function h(){if(!l){var e=u(d);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new v(e,t)),1!==s.length||l||u(h)},v.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){var r=n(19),o=n(20),i=n(9),a=n(21);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(8);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(2),o=n.n(r),i=n(11);function a(){return!("object"===(void 0===e?"undefined":o()(e))&&"[object process]"===String(e)&&!e.browser)||Object(i.a)()}}).call(this,n(6))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(2),o=n.n(r);function i(t){if("undefined"!=typeof window&&"object"===o()(window.process)&&"renderer"===window.process.type)return!0;if(void 0!==e&&"object"===o()(e.versions)&&Boolean(e.versions.electron))return!0;var n="object"===("undefined"==typeof navigator?"undefined":o()(navigator))&&"string"==typeof navigator.userAgent&&navigator.userAgent,r=t||n;return!!(r&&r.indexOf("Electron")>=0)}}).call(this,n(6))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(2),o=n.n(r);function i(t){if("undefined"!=typeof window&&"object"===o()(window.process)&&"renderer"===window.process.type)return!0;if(void 0!==e&&"object"===o()(e.versions)&&Boolean(e.versions.electron))return!0;var n="object"===("undefined"==typeof navigator?"undefined":o()(navigator))&&"string"==typeof navigator.userAgent&&navigator.userAgent,r=t||n;return!!(r&&r.indexOf("Electron")>=0)}}).call(this,n(6))},function(e,t,n){var r=n(22);globalThis.luma=globalThis.luma||{},e.exports=Object.assign(globalThis.luma,r)},function(e,t,n){var r=n(8);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){"use strict";n.r(t),n.d(t,"log",(function(){return I})),n.d(t,"isWebGL",(function(){return P})),n.d(t,"isWebGL2",(function(){return R})),n.d(t,"getWebGL2Context",(function(){return W})),n.d(t,"assertWebGLContext",(function(){return N})),n.d(t,"assertWebGL2Context",(function(){return D})),n.d(t,"polyfillContext",(function(){return te})),n.d(t,"getParameters",(function(){return Ce})),n.d(t,"setParameters",(function(){return ke})),n.d(t,"resetParameters",(function(){return Fe})),n.d(t,"withParameters",(function(){return Be})),n.d(t,"trackContextState",(function(){return Oe})),n.d(t,"pushContextState",(function(){return Se})),n.d(t,"popContextState",(function(){return je})),n.d(t,"createGLContext",(function(){return ze})),n.d(t,"resizeGLContext",(function(){return qe})),n.d(t,"instrumentGLContext",(function(){return Ue})),n.d(t,"getContextDebugInfo",(function(){return Xe})),n.d(t,"cssToDeviceRatio",(function(){return Ge})),n.d(t,"cssToDevicePixels",(function(){return Ie}));var r=n(2),o=n.n(r),i=n(1),a=n.n(i),u=n(0),c=n.n(u),s=n(4),l=n.n(s),f=n(5),d=n.n(f),h=n(10),v=Object(h.a)();function g(e){try{var t=window[e],n="__storage_test__";return t.setItem(n,n),t.removeItem(n),t}catch(e){return null}}var b=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"sessionStorage";l()(this,e),this.storage=g(r),this.id=t,this.config={},Object.assign(this.config,n),this._loadConfiguration()}return d()(e,[{key:"getConfiguration",value:function(){return this.config}},{key:"setConfiguration",value:function(e){return this.config={},this.updateConfiguration(e)}},{key:"updateConfiguration",value:function(e){if(Object.assign(this.config,e),this.storage){var t=JSON.stringify(this.config);this.storage.setItem(this.id,t)}return this}},{key:"_loadConfiguration",value:function(){var e={};if(this.storage){var t=this.storage.getItem(this.id);e=t?JSON.parse(t):{}}return Object.assign(this.config,e),this}}]),e}();function p(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:600,o=e.src.replace(/\(/g,"%28").replace(/\)/g,"%29");e.width>r&&(n=Math.min(n,r/e.width));var i=e.width*n,a=e.height*n,u=["font-size:1px;","padding:".concat(Math.floor(a/2),"px ").concat(Math.floor(i/2),"px;"),"line-height:".concat(a,"px;"),"background:url(".concat(o,");"),"background-size:".concat(i,"px ").concat(a,"px;"),"color:transparent;"].join("");return["".concat(t," %c+"),u]}var y={BLACK:30,RED:31,GREEN:32,YELLOW:33,BLUE:34,MAGENTA:35,CYAN:36,WHITE:37,BRIGHT_BLACK:90,BRIGHT_RED:91,BRIGHT_GREEN:92,BRIGHT_YELLOW:93,BRIGHT_BLUE:94,BRIGHT_MAGENTA:95,BRIGHT_CYAN:96,BRIGHT_WHITE:97};function m(e){return"string"==typeof e?y[e.toUpperCase()]||y.WHITE:e}function x(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["constructor"],r=Object.getPrototypeOf(e),o=Object.getOwnPropertyNames(r),i=x(o);try{var a=function(){var r=t.value;"function"==typeof e[r]&&(n.find((function(e){return r===e}))||(e[r]=e[r].bind(e)))};for(i.s();!(t=i.n()).done;)a()}catch(e){i.e(e)}finally{i.f()}}function _(e,t){if(!e)throw new Error(t||"Assertion failed")}var E=n(3);function O(){var e;if(v&&E.b.performance)e=E.b.performance.now();else if(E.a.hrtime){var t=E.a.hrtime();e=1e3*t[0]+t[1]/1e6}else e=Date.now();return e}var S={debug:v&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},j={enabled:!0,level:0};function L(){}var T={},k={once:!0};function C(e){for(var t in e)for(var n in e[t])return n||"untitled";return"empty"}var F=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:""},n=t.id;l()(this,e),this.id=n,this.VERSION="8.5.13",this._startTs=O(),this._deltaTs=O(),this.LOG_THROTTLE_TIMEOUT=0,this._storage=new b("__probe-".concat(this.id,"__"),j),this.userData={},this.timeStamp("".concat(this.id," started")),w(this),Object.seal(this)}return d()(e,[{key:"isEnabled",value:function(){return this._storage.config.enabled}},{key:"getLevel",value:function(){return this._storage.config.level}},{key:"getTotal",value:function(){return Number((O()-this._startTs).toPrecision(10))}},{key:"getDelta",value:function(){return Number((O()-this._deltaTs).toPrecision(10))}},{key:"getPriority",value:function(){return this.level}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._storage.updateConfiguration({enabled:e}),this}},{key:"setLevel",value:function(e){return this._storage.updateConfiguration({level:e}),this}},{key:"assert",value:function(e,t){_(e,t)}},{key:"warn",value:function(e){return this._getLogFunction(0,e,S.warn,arguments,k)}},{key:"error",value:function(e){return this._getLogFunction(0,e,S.error,arguments)}},{key:"deprecated",value:function(e,t){return this.warn("`".concat(e,"` is deprecated and will be removed in a later version. Use `").concat(t,"` instead"))}},{key:"removed",value:function(e,t){return this.error("`".concat(e,"` has been removed. Use `").concat(t,"` instead"))}},{key:"probe",value:function(e,t){return this._getLogFunction(e,t,S.log,arguments,{time:!0,once:!0})}},{key:"log",value:function(e,t){return this._getLogFunction(e,t,S.debug,arguments)}},{key:"info",value:function(e,t){return this._getLogFunction(e,t,console.info,arguments)}},{key:"once",value:function(e,t){return this._getLogFunction(e,t,S.debug||S.info,arguments,k)}},{key:"table",value:function(e,t,n){return t?this._getLogFunction(e,t,console.table||L,n&&[n],{tag:C(t)}):L}},{key:"image",value:function(e){var t=e.logLevel,r=e.priority,o=e.image,i=e.message,u=void 0===i?"":i,c=e.scale,s=void 0===c?1:c;return this._shouldLog(t||r)?v?function(e){var t=e.image,n=e.message,r=void 0===n?"":n,o=e.scale,i=void 0===o?1:o;if("string"==typeof t){var u=new Image;return u.onload=function(){var e,t=p(u,r,i);(e=console).log.apply(e,a()(t))},u.src=t,L}var c=t.nodeName||"";if("img"===c.toLowerCase()){var s;return(s=console).log.apply(s,a()(p(t,r,i))),L}if("canvas"===c.toLowerCase()){var l=new Image;return l.onload=function(){var e;return(e=console).log.apply(e,a()(p(l,r,i)))},l.src=t.toDataURL(),L}return L}({image:o,message:u,scale:s}):function(e){var t=e.image,r=(e.message,e.scale),o=void 0===r?1:r,i=null;try{i=n(18)}catch(e){}if(i)return function(){return i(t,{fit:"box",width:"".concat(Math.round(80*o),"%")}).then((function(e){return console.log(e)}))};return L}({image:o,message:u,scale:s}):L}},{key:"settings",value:function(){console.table?console.table(this._storage.config):console.log(this._storage.config)}},{key:"get",value:function(e){return this._storage.config[e]}},{key:"set",value:function(e,t){this._storage.updateConfiguration(c()({},e,t))}},{key:"time",value:function(e,t){return this._getLogFunction(e,t,console.time?console.time:console.info)}},{key:"timeEnd",value:function(e,t){return this._getLogFunction(e,t,console.timeEnd?console.timeEnd:console.info)}},{key:"timeStamp",value:function(e,t){return this._getLogFunction(e,t,console.timeStamp||L)}},{key:"group",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{collapsed:!1},r=n=V({logLevel:e,message:t,opts:n}),o=r.collapsed;return n.method=(o?console.groupCollapsed:console.group)||console.info,this._getLogFunction(n)}},{key:"groupCollapsed",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.group(e,t,Object.assign({},n,{collapsed:!0}))}},{key:"groupEnd",value:function(e){return this._getLogFunction(e,"",console.groupEnd||L)}},{key:"withGroup",value:function(e,t,n){this.group(e,t)();try{n()}finally{this.groupEnd(e)()}}},{key:"trace",value:function(){console.trace&&console.trace()}},{key:"_shouldLog",value:function(e){return this.isEnabled()&&this.getLevel()>=B(e)}},{key:"_getLogFunction",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0;if(this._shouldLog(e)){var i;o=V({logLevel:e,message:t,args:r,opts:o}),_(n=n||o.method),o.total=this.getTotal(),o.delta=this.getDelta(),this._deltaTs=O();var u=o.tag||o.message;if(o.once){if(T[u])return L;T[u]=O()}return t=G(this.id,o.message,o),(i=n).bind.apply(i,[console,t].concat(a()(o.args)))}return L}},{key:"level",set:function(e){this.setLevel(e)},get:function(){return this.getLevel()}},{key:"priority",set:function(e){this.level=e},get:function(){return this.level}}]),e}();function B(e){if(!e)return 0;var t;switch(o()(e)){case"number":t=e;break;case"object":t=e.logLevel||e.priority||0;break;default:return 0}return _(Number.isFinite(t)&&t>=0),t}function V(e){var t=e.logLevel,n=e.message;e.logLevel=B(t);for(var r=e.args?Array.from(e.args):[];r.length&&r.shift()!==n;);switch(e.args=r,o()(t)){case"string":case"function":void 0!==n&&r.unshift(n),e.message=t;break;case"object":Object.assign(e,t)}"function"==typeof e.message&&(e.message=e.message());var i=o()(e.message);return _("string"===i||"object"===i),Object.assign(e,e.opts)}function G(e,t,n){if("string"==typeof t){var r=n.time?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,n=Math.max(t-e.length,0);return"".concat(" ".repeat(n)).concat(e)}((u=n.total)<10?"".concat(u.toFixed(2),"ms"):u<100?"".concat(u.toFixed(1),"ms"):u<1e3?"".concat(u.toFixed(0),"ms"):"".concat((u/1e3).toFixed(2),"s")):"";t=n.time?"".concat(e,": ").concat(r," ").concat(t):"".concat(e,": ").concat(t),o=t,i=n.color,a=n.background,v||"string"!=typeof o||(i&&(i=m(i),o="[".concat(i,"m").concat(o,"[39m")),a&&(i=m(a),o="[".concat(a+10,"m").concat(o,"[49m"))),t=o}var o,i,a,u;return t}F.VERSION="8.5.13";var I=new F({id:"luma.gl"});function M(e,t){if(!e)throw new Error(t||"luma.gl: assertion failed.")}function P(e){return"undefined"!=typeof WebGLRenderingContext&&e instanceof WebGLRenderingContext||("undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||Boolean(e&&Number.isFinite(e._version)))}function R(e){return"undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||Boolean(e&&2===e._version)}function W(e){return R(e)?e:null}function N(e){return M(P(e),"Invalid WebGLRenderingContext"),e}function D(e){return M(R(e),"Requires WebGL2"),e}var H={};function z(e,t){var n;H[e]=!0,void 0!==t&&(n=t,globalThis.console&&globalThis.console.error&&globalThis.console.error(n))}var U=function e(t){var n=t.gl;this.ext=t,this.isAlive=!0,this.hasBeenBound=!1,this.elementArrayBuffer=null,this.attribs=new Array(t.maxVertexAttribs);for(var r=0;r<this.attribs.length;r++){var o=new e.VertexAttrib(n);this.attribs[r]=o}this.maxAttrib=0};(U.VertexAttrib=function(e){this.enabled=!1,this.buffer=null,this.size=4,this.type=5126,this.normalized=!1,this.stride=16,this.offset=0,this.cached="",this.recache()}).prototype.recache=function(){this.cached=[this.size,this.type,this.normalized,this.stride,this.offset].join(":")};var X,q=function(e){var t=this;this.gl=e,function(e){var t=e.getError;e.getError=function(){var n;do{0!==(n=t.apply(e))&&(H[n]=!0)}while(0!==n);for(n in H)if(H[n])return delete H[n],parseInt(n,10);return 0}}(e);var n=this.original={getParameter:e.getParameter,enableVertexAttribArray:e.enableVertexAttribArray,disableVertexAttribArray:e.disableVertexAttribArray,bindBuffer:e.bindBuffer,getVertexAttrib:e.getVertexAttrib,vertexAttribPointer:e.vertexAttribPointer};e.getParameter=function(e){return e===t.VERTEX_ARRAY_BINDING_OES?t.currentVertexArrayObject===t.defaultVertexArrayObject?null:t.currentVertexArrayObject:n.getParameter.apply(this,arguments)},e.enableVertexAttribArray=function(e){var r=t.currentVertexArrayObject;r.maxAttrib=Math.max(r.maxAttrib,e);var o=r.attribs[e];return o.enabled=!0,n.enableVertexAttribArray.apply(this,arguments)},e.disableVertexAttribArray=function(e){var r=t.currentVertexArrayObject;r.maxAttrib=Math.max(r.maxAttrib,e);var o=r.attribs[e];return o.enabled=!1,n.disableVertexAttribArray.apply(this,arguments)},e.bindBuffer=function(e,r){switch(e){case 34962:t.currentArrayBuffer=r;break;case 34963:t.currentVertexArrayObject.elementArrayBuffer=r}return n.bindBuffer.apply(this,arguments)},e.getVertexAttrib=function(e,r){var o=t.currentVertexArrayObject,i=o.attribs[e];switch(r){case 34975:return i.buffer;case 34338:return i.enabled;case 34339:return i.size;case 34340:return i.stride;case 34341:return i.type;case 34922:return i.normalized;default:return n.getVertexAttrib.apply(this,arguments)}},e.vertexAttribPointer=function(e,r,o,i,a,u){var c=t.currentVertexArrayObject;c.maxAttrib=Math.max(c.maxAttrib,e);var s=c.attribs[e];return s.buffer=t.currentArrayBuffer,s.size=r,s.type=o,s.normalized=i,s.stride=a,s.offset=u,s.recache(),n.vertexAttribPointer.apply(this,arguments)},e.instrumentExtension&&e.instrumentExtension(this,"OES_vertex_array_object"),e.canvas&&e.canvas.addEventListener("webglcontextrestored",(function(){var e;e="OESVertexArrayObject emulation library context restored",globalThis.console&&globalThis.console.log&&globalThis.console.log(e),t.reset_()}),!0),this.reset_()};q.prototype.VERTEX_ARRAY_BINDING_OES=34229,q.prototype.reset_=function(){if(void 0!==this.vertexArrayObjects)for(var e=0;e<this.vertexArrayObjects.length;++e)this.vertexArrayObjects.isAlive=!1;var t=this.gl;this.maxVertexAttribs=t.getParameter(34921),this.defaultVertexArrayObject=new U(this),this.currentVertexArrayObject=null,this.currentArrayBuffer=null,this.vertexArrayObjects=[this.defaultVertexArrayObject],this.bindVertexArrayOES(null)},q.prototype.createVertexArrayOES=function(){var e=new U(this);return this.vertexArrayObjects.push(e),e},q.prototype.deleteVertexArrayOES=function(e){e.isAlive=!1,this.vertexArrayObjects.splice(this.vertexArrayObjects.indexOf(e),1),this.currentVertexArrayObject===e&&this.bindVertexArrayOES(null)},q.prototype.isVertexArrayOES=function(e){return!!(e&&e instanceof U&&e.hasBeenBound&&e.ext===this)},q.prototype.bindVertexArrayOES=function(e){var t=this.gl;if(!e||e.isAlive){var n=this.original,r=this.currentVertexArrayObject;this.currentVertexArrayObject=e||this.defaultVertexArrayObject,this.currentVertexArrayObject.hasBeenBound=!0;var o=this.currentVertexArrayObject;if(r!==o){r&&o.elementArrayBuffer===r.elementArrayBuffer||n.bindBuffer.call(t,34963,o.elementArrayBuffer);for(var i=this.currentArrayBuffer,a=Math.max(r?r.maxAttrib:0,o.maxAttrib),u=0;u<=a;u++){var c=o.attribs[u],s=r?r.attribs[u]:null;if(r&&c.enabled===s.enabled||(c.enabled?n.enableVertexAttribArray.call(t,u):n.disableVertexAttribArray.call(t,u)),c.enabled){var l=!1;r&&c.buffer===s.buffer||(i!==c.buffer&&(n.bindBuffer.call(t,34962,c.buffer),i=c.buffer),l=!0),(l||c.cached!==s.cached)&&n.vertexAttribPointer.call(t,u,c.size,c.type,c.normalized,c.stride,c.offset)}}this.currentArrayBuffer!==i&&n.bindBuffer.call(t,34962,this.currentArrayBuffer)}}else z(1282,"bindVertexArrayOES: attempt to bind deleted arrayObject")};var Q,Y=function(e){return R(e)?void 0:0},K=(X={},c()(X,3074,(function(e){return R(e)?void 0:36064})),c()(X,35723,(function(e){return R(e)?void 0:4352})),c()(X,35977,Y),c()(X,32937,Y),c()(X,36795,(function(e,t){var n=R(e)?e.getExtension("EXT_disjoint_timer_query_webgl2"):e.getExtension("EXT_disjoint_timer_query");return n&&n.GPU_DISJOINT_EXT?t(n.GPU_DISJOINT_EXT):0})),c()(X,37445,(function(e,t){var n=e.getExtension("WEBGL_debug_renderer_info");return t(n&&n.UNMASKED_VENDOR_WEBGL||7936)})),c()(X,37446,(function(e,t){var n=e.getExtension("WEBGL_debug_renderer_info");return t(n&&n.UNMASKED_RENDERER_WEBGL||7937)})),c()(X,34047,(function(e,t){var n=e.luma.extensions.EXT_texture_filter_anisotropic;return n?t(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT):1})),c()(X,32883,Y),c()(X,35071,Y),c()(X,37447,Y),c()(X,36063,(function(e,t){if(!R(e)){var n=e.getExtension("WEBGL_draw_buffers");return n?t(n.MAX_COLOR_ATTACHMENTS_WEBGL):0}})),c()(X,35379,Y),c()(X,35374,Y),c()(X,35377,Y),c()(X,34852,(function(e){if(!R(e)){var t=e.getExtension("WEBGL_draw_buffers");return t?t.MAX_DRAW_BUFFERS_WEBGL:0}})),c()(X,36203,(function(e){return e.getExtension("OES_element_index")?2147483647:65535})),c()(X,33001,(function(e){return e.getExtension("OES_element_index")?16777216:65535})),c()(X,33e3,(function(e){return 16777216})),c()(X,37157,Y),c()(X,35373,Y),c()(X,35657,Y),c()(X,36183,Y),c()(X,37137,Y),c()(X,34045,Y),c()(X,35978,Y),c()(X,35979,Y),c()(X,35968,Y),c()(X,35376,Y),c()(X,35375,Y),c()(X,35659,Y),c()(X,37154,Y),c()(X,35371,Y),c()(X,35658,Y),c()(X,35076,Y),c()(X,35077,Y),c()(X,35380,Y),X);var J=(Q={},c()(Q,"OES_vertex_array_object",{meta:{suffix:"OES"},createVertexArray:function(){M(!1,"VertexArray requires WebGL2 or OES_vertex_array_object extension")},deleteVertexArray:function(){},bindVertexArray:function(){},isVertexArray:function(){return!1}}),c()(Q,"ANGLE_instanced_arrays",{meta:{suffix:"ANGLE"},vertexAttribDivisor:function(e,t){M(0===t,"WebGL instanced rendering not supported")},drawElementsInstanced:function(){},drawArraysInstanced:function(){}}),c()(Q,"WEBGL_draw_buffers",{meta:{suffix:"WEBGL"},drawBuffers:function(){M(!1)}}),c()(Q,"EXT_disjoint_timer_query",{meta:{suffix:"EXT"},createQuery:function(){M(!1)},deleteQuery:function(){M(!1)},beginQuery:function(){M(!1)},endQuery:function(){},getQuery:function(e,t){return this.getQueryObject(e,t)},getQueryParameter:function(e,t){return this.getQueryObject(e,t)},getQueryObject:function(){}}),Q),$={readBuffer:function(e,t,n){R(e)&&t(n)},getVertexAttrib:function(e,t,n,r){var o,i=function(e,t){return{webgl2:R(e),ext:e.getExtension(t)}}(e,"ANGLE_instanced_arrays"),a=i.webgl2,u=i.ext;switch(r){case 35069:o=!!a&&void 0;break;case 35070:o=a||u?void 0:0}return void 0!==o?o:t(n,r)},getProgramParameter:function(e,t,n,r){if(!R(e))switch(r){case 35967:return 35981;case 35971:case 35382:return 0}return t(n,r)},getInternalformatParameter:function(e,t,n,r,o){if(!R(e))switch(o){case 32937:return new Int32Array([0])}return e.getInternalformatParameter(n,r,o)},getTexParameter:function(e,t,n,r){switch(r){case 34046:var o=e.luma.extensions.EXT_texture_filter_anisotropic;r=o&&o.TEXTURE_MAX_ANISOTROPY_EXT||34046}return t(n,r)},getParameter:function(e,t,n){var r=K[n],o="function"==typeof r?r(e,t,n):r;return void 0!==o?o:t(n)},hint:function(e,t,n,r){return t(n,r)}};function Z(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ee(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function te(e){e.luma=e.luma||{};var t=e.luma;return t.polyfilled||(!function(e){if("function"!=typeof e.createVertexArray){var t=e.getSupportedExtensions;e.getSupportedExtensions=function(){var e=t.call(this)||[];return e.indexOf("OES_vertex_array_object")<0&&e.push("OES_vertex_array_object"),e};var n=e.getExtension;e.getExtension=function(t){var r=n.call(this,t);return r||("OES_vertex_array_object"!==t?null:(e.__OESVertexArrayObject||(this.__OESVertexArrayObject=new q(this)),this.__OESVertexArrayObject))}}}(e),function(e){e.luma.extensions={};var t,n=Z(e.getSupportedExtensions()||[]);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.luma[r]=e.getExtension(r)}}catch(e){n.e(e)}finally{n.f()}}(e),function(e,t){var n,r=Z(Object.getOwnPropertyNames(t));try{for(r.s();!(n=r.n()).done;){var o=n.value;"overrides"!==o&&ne(e,{extension:o,target:e.luma,target2:e})}}catch(e){r.e(e)}finally{r.f()}}(e,J),function(e,t){var n=t.target,r=t.target2;Object.keys($).forEach((function(t){if("function"==typeof $[t]){var o=e[t]?e[t].bind(e):function(){},i=$[t].bind(null,e,o);n[t]=i,r[t]=i}}))}(e,{target:t,target2:e}),t.polyfilled=!0),e}function ne(e,t){var n=t.extension,r=t.target,o=t.target2,i=J[n];M(i);for(var a=i.meta,u=(void 0===a?{}:a).suffix,c=void 0===u?"":u,s=e.getExtension(n),l=function(){var t=d[f],n="".concat(t).concat(c),a=null;"meta"===t||"function"==typeof e[t]||(s&&"function"==typeof s[n]?a=function(){return s[n].apply(s,arguments)}:"function"==typeof i[t]&&(a=i[t].bind(r))),a&&(r[t]=a,o[t]=a)},f=0,d=Object.keys(i);f<d.length;f++)l()}globalThis.polyfillContext=te;var re,oe,ie,ae=n(7),ue=n.n(ae),ce=(re={},c()(re,3042,!1),c()(re,32773,new Float32Array([0,0,0,0])),c()(re,32777,32774),c()(re,34877,32774),c()(re,32969,1),c()(re,32968,0),c()(re,32971,1),c()(re,32970,0),c()(re,3106,new Float32Array([0,0,0,0])),c()(re,3107,[!0,!0,!0,!0]),c()(re,2884,!1),c()(re,2885,1029),c()(re,2929,!1),c()(re,2931,1),c()(re,2932,513),c()(re,2928,new Float32Array([0,1])),c()(re,2930,!0),c()(re,3024,!0),c()(re,36006,null),c()(re,2886,2305),c()(re,33170,4352),c()(re,2849,1),c()(re,32823,!1),c()(re,32824,0),c()(re,10752,0),c()(re,32938,1),c()(re,32939,!1),c()(re,3089,!1),c()(re,3088,new Int32Array([0,0,1024,1024])),c()(re,2960,!1),c()(re,2961,0),c()(re,2968,4294967295),c()(re,36005,4294967295),c()(re,2962,519),c()(re,2967,0),c()(re,2963,4294967295),c()(re,34816,519),c()(re,36003,0),c()(re,36004,4294967295),c()(re,2964,7680),c()(re,2965,7680),c()(re,2966,7680),c()(re,34817,7680),c()(re,34818,7680),c()(re,34819,7680),c()(re,2978,[0,0,1024,1024]),c()(re,3333,4),c()(re,3317,4),c()(re,37440,!1),c()(re,37441,!1),c()(re,37443,37444),c()(re,35723,4352),c()(re,36010,null),c()(re,35977,!1),c()(re,3330,0),c()(re,3332,0),c()(re,3331,0),c()(re,3314,0),c()(re,32878,0),c()(re,3316,0),c()(re,3315,0),c()(re,32877,0),re),se=function(e,t,n){return t?e.enable(n):e.disable(n)},le=function(e,t,n){return e.hint(n,t)},fe=function(e,t,n){return e.pixelStorei(n,t)};function de(e){return Array.isArray(e)||ArrayBuffer.isView(e)}var he=(oe={},c()(oe,3042,se),c()(oe,32773,(function(e,t){return e.blendColor.apply(e,a()(t))})),c()(oe,32777,"blendEquation"),c()(oe,34877,"blendEquation"),c()(oe,32969,"blendFunc"),c()(oe,32968,"blendFunc"),c()(oe,32971,"blendFunc"),c()(oe,32970,"blendFunc"),c()(oe,3106,(function(e,t){return e.clearColor.apply(e,a()(t))})),c()(oe,3107,(function(e,t){return e.colorMask.apply(e,a()(t))})),c()(oe,2884,se),c()(oe,2885,(function(e,t){return e.cullFace(t)})),c()(oe,2929,se),c()(oe,2931,(function(e,t){return e.clearDepth(t)})),c()(oe,2932,(function(e,t){return e.depthFunc(t)})),c()(oe,2928,(function(e,t){return e.depthRange.apply(e,a()(t))})),c()(oe,2930,(function(e,t){return e.depthMask(t)})),c()(oe,3024,se),c()(oe,35723,le),c()(oe,36006,(function(e,t){var n=R(e)?36009:36160;return e.bindFramebuffer(n,t)})),c()(oe,2886,(function(e,t){return e.frontFace(t)})),c()(oe,33170,le),c()(oe,2849,(function(e,t){return e.lineWidth(t)})),c()(oe,32823,se),c()(oe,32824,"polygonOffset"),c()(oe,10752,"polygonOffset"),c()(oe,35977,se),c()(oe,32938,"sampleCoverage"),c()(oe,32939,"sampleCoverage"),c()(oe,3089,se),c()(oe,3088,(function(e,t){return e.scissor.apply(e,a()(t))})),c()(oe,2960,se),c()(oe,2961,(function(e,t){return e.clearStencil(t)})),c()(oe,2968,(function(e,t){return e.stencilMaskSeparate(1028,t)})),c()(oe,36005,(function(e,t){return e.stencilMaskSeparate(1029,t)})),c()(oe,2962,"stencilFuncFront"),c()(oe,2967,"stencilFuncFront"),c()(oe,2963,"stencilFuncFront"),c()(oe,34816,"stencilFuncBack"),c()(oe,36003,"stencilFuncBack"),c()(oe,36004,"stencilFuncBack"),c()(oe,2964,"stencilOpFront"),c()(oe,2965,"stencilOpFront"),c()(oe,2966,"stencilOpFront"),c()(oe,34817,"stencilOpBack"),c()(oe,34818,"stencilOpBack"),c()(oe,34819,"stencilOpBack"),c()(oe,2978,(function(e,t){return e.viewport.apply(e,a()(t))})),c()(oe,3333,fe),c()(oe,3317,fe),c()(oe,37440,fe),c()(oe,37441,fe),c()(oe,37443,fe),c()(oe,3330,fe),c()(oe,3332,fe),c()(oe,3331,fe),c()(oe,36010,(function(e,t){return e.bindFramebuffer(36008,t)})),c()(oe,3314,fe),c()(oe,32878,fe),c()(oe,3316,fe),c()(oe,3315,fe),c()(oe,32877,fe),c()(oe,"framebuffer",(function(e,t){var n=t&&"handle"in t?t.handle:t;return e.bindFramebuffer(36160,n)})),c()(oe,"blend",(function(e,t){return t?e.enable(3042):e.disable(3042)})),c()(oe,"blendColor",(function(e,t){return e.blendColor.apply(e,a()(t))})),c()(oe,"blendEquation",(function(e,t){t=de(t)?t:[t,t],e.blendEquationSeparate.apply(e,a()(t))})),c()(oe,"blendFunc",(function(e,t){t=de(t)&&2===t.length?[].concat(a()(t),a()(t)):t,e.blendFuncSeparate.apply(e,a()(t))})),c()(oe,"clearColor",(function(e,t){return e.clearColor.apply(e,a()(t))})),c()(oe,"clearDepth",(function(e,t){return e.clearDepth(t)})),c()(oe,"clearStencil",(function(e,t){return e.clearStencil(t)})),c()(oe,"colorMask",(function(e,t){return e.colorMask.apply(e,a()(t))})),c()(oe,"cull",(function(e,t){return t?e.enable(2884):e.disable(2884)})),c()(oe,"cullFace",(function(e,t){return e.cullFace(t)})),c()(oe,"depthTest",(function(e,t){return t?e.enable(2929):e.disable(2929)})),c()(oe,"depthFunc",(function(e,t){return e.depthFunc(t)})),c()(oe,"depthMask",(function(e,t){return e.depthMask(t)})),c()(oe,"depthRange",(function(e,t){return e.depthRange.apply(e,a()(t))})),c()(oe,"dither",(function(e,t){return t?e.enable(3024):e.disable(3024)})),c()(oe,"derivativeHint",(function(e,t){e.hint(35723,t)})),c()(oe,"frontFace",(function(e,t){return e.frontFace(t)})),c()(oe,"mipmapHint",(function(e,t){return e.hint(33170,t)})),c()(oe,"lineWidth",(function(e,t){return e.lineWidth(t)})),c()(oe,"polygonOffsetFill",(function(e,t){return t?e.enable(32823):e.disable(32823)})),c()(oe,"polygonOffset",(function(e,t){return e.polygonOffset.apply(e,a()(t))})),c()(oe,"sampleCoverage",(function(e,t){return e.sampleCoverage.apply(e,a()(t))})),c()(oe,"scissorTest",(function(e,t){return t?e.enable(3089):e.disable(3089)})),c()(oe,"scissor",(function(e,t){return e.scissor.apply(e,a()(t))})),c()(oe,"stencilTest",(function(e,t){return t?e.enable(2960):e.disable(2960)})),c()(oe,"stencilMask",(function(e,t){var n=t=de(t)?t:[t,t],r=ue()(n,2),o=r[0],i=r[1];e.stencilMaskSeparate(1028,o),e.stencilMaskSeparate(1029,i)})),c()(oe,"stencilFunc",(function(e,t){var n=t=de(t)&&3===t.length?[].concat(a()(t),a()(t)):t,r=ue()(n,6),o=r[0],i=r[1],u=r[2],c=r[3],s=r[4],l=r[5];e.stencilFuncSeparate(1028,o,i,u),e.stencilFuncSeparate(1029,c,s,l)})),c()(oe,"stencilOp",(function(e,t){var n=t=de(t)&&3===t.length?[].concat(a()(t),a()(t)):t,r=ue()(n,6),o=r[0],i=r[1],u=r[2],c=r[3],s=r[4],l=r[5];e.stencilOpSeparate(1028,o,i,u),e.stencilOpSeparate(1029,c,s,l)})),c()(oe,"viewport",(function(e,t){return e.viewport.apply(e,a()(t))})),oe);function ve(e,t,n){return void 0!==t[e]?t[e]:n[e]}var ge={blendEquation:function(e,t,n){return e.blendEquationSeparate(ve(32777,t,n),ve(34877,t,n))},blendFunc:function(e,t,n){return e.blendFuncSeparate(ve(32969,t,n),ve(32968,t,n),ve(32971,t,n),ve(32970,t,n))},polygonOffset:function(e,t,n){return e.polygonOffset(ve(32824,t,n),ve(10752,t,n))},sampleCoverage:function(e,t,n){return e.sampleCoverage(ve(32938,t,n),ve(32939,t,n))},stencilFuncFront:function(e,t,n){return e.stencilFuncSeparate(1028,ve(2962,t,n),ve(2967,t,n),ve(2963,t,n))},stencilFuncBack:function(e,t,n){return e.stencilFuncSeparate(1029,ve(34816,t,n),ve(36003,t,n),ve(36004,t,n))},stencilOpFront:function(e,t,n){return e.stencilOpSeparate(1028,ve(2964,t,n),ve(2965,t,n),ve(2966,t,n))},stencilOpBack:function(e,t,n){return e.stencilOpSeparate(1029,ve(34817,t,n),ve(34818,t,n),ve(34819,t,n))}},be={enable:function(e,t){return e(c()({},t,!0))},disable:function(e,t){return e(c()({},t,!1))},pixelStorei:function(e,t,n){return e(c()({},t,n))},hint:function(e,t,n){return e(c()({},t,n))},bindFramebuffer:function(e,t,n){var r;switch(t){case 36160:return e((r={},c()(r,36006,n),c()(r,36010,n),r));case 36009:return e(c()({},36006,n));case 36008:return e(c()({},36010,n));default:return null}},blendColor:function(e,t,n,r,o){return e(c()({},32773,new Float32Array([t,n,r,o])))},blendEquation:function(e,t){var n;return e((n={},c()(n,32777,t),c()(n,34877,t),n))},blendEquationSeparate:function(e,t,n){var r;return e((r={},c()(r,32777,t),c()(r,34877,n),r))},blendFunc:function(e,t,n){var r;return e((r={},c()(r,32969,t),c()(r,32968,n),c()(r,32971,t),c()(r,32970,n),r))},blendFuncSeparate:function(e,t,n,r,o){var i;return e((i={},c()(i,32969,t),c()(i,32968,n),c()(i,32971,r),c()(i,32970,o),i))},clearColor:function(e,t,n,r,o){return e(c()({},3106,new Float32Array([t,n,r,o])))},clearDepth:function(e,t){return e(c()({},2931,t))},clearStencil:function(e,t){return e(c()({},2961,t))},colorMask:function(e,t,n,r,o){return e(c()({},3107,[t,n,r,o]))},cullFace:function(e,t){return e(c()({},2885,t))},depthFunc:function(e,t){return e(c()({},2932,t))},depthRange:function(e,t,n){return e(c()({},2928,new Float32Array([t,n])))},depthMask:function(e,t){return e(c()({},2930,t))},frontFace:function(e,t){return e(c()({},2886,t))},lineWidth:function(e,t){return e(c()({},2849,t))},polygonOffset:function(e,t,n){var r;return e((r={},c()(r,32824,t),c()(r,10752,n),r))},sampleCoverage:function(e,t,n){var r;return e((r={},c()(r,32938,t),c()(r,32939,n),r))},scissor:function(e,t,n,r,o){return e(c()({},3088,new Int32Array([t,n,r,o])))},stencilMask:function(e,t){var n;return e((n={},c()(n,2968,t),c()(n,36005,t),n))},stencilMaskSeparate:function(e,t,n){return e(c()({},1028===t?2968:36005,n))},stencilFunc:function(e,t,n,r){var o;return e((o={},c()(o,2962,t),c()(o,2967,n),c()(o,2963,r),c()(o,34816,t),c()(o,36003,n),c()(o,36004,r),o))},stencilFuncSeparate:function(e,t,n,r,o){var i;return e((i={},c()(i,1028===t?2962:34816,n),c()(i,1028===t?2967:36003,r),c()(i,1028===t?2963:36004,o),i))},stencilOp:function(e,t,n,r){var o;return e((o={},c()(o,2964,t),c()(o,2965,n),c()(o,2966,r),c()(o,34817,t),c()(o,34818,n),c()(o,34819,r),o))},stencilOpSeparate:function(e,t,n,r,o){var i;return e((i={},c()(i,1028===t?2964:34817,n),c()(i,1028===t?2965:34818,r),c()(i,1028===t?2966:34819,o),i))},viewport:function(e,t,n,r,o){return e(c()({},2978,[t,n,r,o]))}},pe=function(e,t){return e.isEnabled(t)},ye=(ie={},c()(ie,3042,pe),c()(ie,2884,pe),c()(ie,2929,pe),c()(ie,3024,pe),c()(ie,32823,pe),c()(ie,32926,pe),c()(ie,32928,pe),c()(ie,3089,pe),c()(ie,2960,pe),c()(ie,35977,pe),ie);function me(e){for(var t in e)return!1;return!0}function xe(e,t){if(e===t)return!0;var n=Array.isArray(e)||ArrayBuffer.isView(e),r=Array.isArray(t)||ArrayBuffer.isView(t);if(n&&r&&e.length===t.length){for(var o=0;o<e.length;++o)if(e[o]!==t[o])return!1;return!0}return!1}function Ae(e,t){var n=e[t].bind(e);e[t]=function(){var t=arguments.length<=0?void 0:arguments[0];return t in e.state.cache&&e.state.enable?e.state.cache[t]:n.apply(void 0,arguments)},Object.defineProperty(e[t],"name",{value:"".concat(t,"-from-cache"),configurable:!1})}function we(e,t,n){var r=e[t].bind(e);e[t]=function(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];var a=n.apply(void 0,[e.state._updateCache].concat(o)),u=a.valueChanged,c=a.oldValue;return u&&r.apply(void 0,o),c},Object.defineProperty(e[t],"name",{value:"".concat(t,"-to-cache"),configurable:!1})}function _e(e){var t=e.useProgram.bind(e);e.useProgram=function(n){e.state.program!==n&&(t(n),e.state.program=n)}}var Ee=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.copyState,o=void 0!==r&&r,i=n.log,a=void 0===i?function(){}:i;l()(this,e),this.gl=t,this.program=null,this.stateStack=[],this.enable=!0,this.cache=o?Ce(t):Object.assign({},ce),this.log=a,this._updateCache=this._updateCache.bind(this),Object.seal(this)}return d()(e,[{key:"push",value:function(){this.stateStack.push({})}},{key:"pop",value:function(){M(this.stateStack.length>0);var e=this.stateStack[this.stateStack.length-1];ke(this.gl,e),this.stateStack.pop()}},{key:"_updateCache",value:function(e){var t,n=!1,r=this.stateStack.length>0&&this.stateStack[this.stateStack.length-1];for(var o in e){M(void 0!==o);var i=e[o],a=this.cache[o];xe(i,a)||(n=!0,t=a,r&&!(o in r)&&(r[o]=a),this.cache[o]=i)}return{valueChanged:n,oldValue:t}}}]),e}();function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.enable,r=void 0===n||n,o=t.copyState;if(M(void 0!==o),!e.state){var i=globalThis.polyfillContext;for(var a in i&&i(e),e.state=new Ee(e,{copyState:o}),_e(e),be){var u=be[a];we(e,a,u)}Ae(e,"getParameter"),Ae(e,"isEnabled")}return e.state.enable=r,e}function Se(e){e.state||Oe(e,{copyState:!1}),e.state.push()}function je(e){M(e.state),e.state.pop()}function Le(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ke(e,t){if(M(P(e),"setParameters requires a WebGL context"),!me(t)){var n={};for(var r in t){var o=Number(r),i=he[r];i&&("string"==typeof i?n[i]=!0:i(e,t[r],o))}var a=e.state&&e.state.cache;if(a)for(var u in n){(0,ge[u])(e,t,a)}}}function Ce(e,t){if("number"==typeof(t=t||ce)){var n=t,r=ye[n];return r?r(e,n):e.getParameter(n)}var o,i={},a=Le(Array.isArray(t)?t:Object.keys(t));try{for(a.s();!(o=a.n()).done;){var u=o.value,c=ye[u];i[u]=c?c(e,Number(u)):e.getParameter(Number(u))}}catch(e){a.e(e)}finally{a.f()}return i}function Fe(e){ke(e,ce)}function Be(e,t,n){if(me(t))return n(e);var r,o=t.nocatch,i=void 0===o||o;if(Se(e),ke(e,t),i)r=n(e),je(e);else try{r=n(e)}finally{je(e)}return r}var Ve=n(25);function Ge(e){var t=e.luma;if(e.canvas&&t){var n=t.canvasSizeInfo.clientWidth;return n?e.drawingBufferWidth/n:1}return 1}function Ie(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Ge(e),o=e.drawingBufferWidth,i=e.drawingBufferHeight;return Pe(t,r,o,i,n)}function Me(e){var t="undefined"==typeof window?1:window.devicePixelRatio||1;return Number.isFinite(e)?e<=0?1:e:e?t:1}function Pe(e,t,n,r,o){var i,a=Re(e[0],t,n),u=We(e[1],t,r,o),c=Re(e[0]+1,t,n),s=c===n-1?c:c-1;return c=We(e[1]+1,t,r,o),o?(i=u,u=c=0===c?c:c+1):i=c===r-1?c:c-1,{x:a,y:u,width:Math.max(s-a+1,1),height:Math.max(i-u+1,1)}}function Re(e,t,n){return Math.min(Math.round(e*t),n-1)}function We(e,t,n,r){return r?Math.max(0,n-1-Math.round(e*t)):Math.min(Math.round(e*t),n-1)}var Ne=Object(Ve.a)(),De=Ne&&"undefined"!=typeof document,He={webgl2:!0,webgl1:!0,throwOnError:!0,manageState:!0,canvas:null,debug:!1,width:800,height:600};function ze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};M(Ne,"createGLContext only available in the browser.\nCreate your own headless context or use 'createHeadlessContext' from @luma.gl/test-utils");var t,n=e=Object.assign({},He,e),r=n.width,o=n.height;function i(t){if(e.throwOnError)throw new Error(t);return console.error(t),null}e.onError=i;var a=e,u=a.canvas,c=Ye({canvas:u,width:r,height:o,onError:i});return(t=Qe(c,e))?(Ke(t=Ue(t,e)),t):null}function Ue(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||e._instrumented)return e;e._version=e._version||Je(e),e.luma=e.luma||{},e.luma.canvasSizeInfo=e.luma.canvasSizeInfo||{};var n=t=Object.assign({},He,t),r=n.manageState,o=n.debug;return r&&Oe(e,{copyState:!1,log:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return I.log.apply(I,[1].concat(t))()}}),Ne&&o&&(globalThis.makeDebugContext?(e=globalThis.makeDebugContext(e,t),I.level=Math.max(I.level,1)):I.warn('WebGL debug mode not activated. import "@luma.gl/debug" to enable.')()),e._instrumented=!0,e}function Xe(e){var t=e.getParameter(7936),n=e.getParameter(7937),r=e.getExtension("WEBGL_debug_renderer_info");return{vendor:r&&e.getParameter(r.UNMASKED_VENDOR_WEBGL||7936)||t,renderer:r&&e.getParameter(r.UNMASKED_RENDERER_WEBGL||7937)||n,vendorMasked:t,rendererMasked:n,version:e.getParameter(7938),shadingLanguageVersion:e.getParameter(35724)}}function qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.canvas){var n=Me(t.useDevicePixels);$e(e,n,t)}else{var r=e.getExtension("STACKGL_resize_drawingbuffer");r&&"width"in t&&"height"in t&&r.resize(t.width,t.height)}}function Qe(e,t){var n=t.onError,r=null,o=function(e){return r=e.statusMessage||r};e.addEventListener("webglcontextcreationerror",o,!1);var i=t.webgl1,a=void 0===i||i,u=t.webgl2,c=void 0===u||u,s=null;return c&&(s=(s=s||e.getContext("webgl2",t))||e.getContext("experimental-webgl2",t)),a&&(s=(s=s||e.getContext("webgl",t))||e.getContext("experimental-webgl",t)),e.removeEventListener("webglcontextcreationerror",o,!1),s?(t.onContextLost&&e.addEventListener("webglcontextlost",t.onContextLost,!1),t.onContextRestored&&e.addEventListener("webglcontextrestored",t.onContextRestored,!1),s):n("Failed to create ".concat(c&&!a?"WebGL2":"WebGL"," context: ").concat(r||"Unknown error"))}function Ye(e){var t,n=e.canvas,r=e.width,o=void 0===r?800:r,i=e.height,a=void 0===i?600:i,u=e.onError;"string"==typeof n?(De&&"complete"===document.readyState||u("createGLContext called on canvas '".concat(n,"' before page was loaded")),t=document.getElementById(n)):n?t=n:((t=document.createElement("canvas")).id="lumagl-canvas",t.style.width=Number.isFinite(o)?"".concat(o,"px"):"100%",t.style.height=Number.isFinite(a)?"".concat(a,"px"):"100%",document.body.insertBefore(t,document.body.firstChild));return t}function Ke(e){var t=R(e)?"WebGL2":"WebGL1",n=Xe(e),r=n?"(".concat(n.vendor,",").concat(n.renderer,")"):"",o=e.debug?" debug":"";I.info(1,"".concat(t).concat(o," context ").concat(r))()}function Je(e){return"undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext?2:1}function $e(e,t,n){var r="width"in n?n.width:e.canvas.clientWidth,o="height"in n?n.height:e.canvas.clientHeight;r&&o||(I.log(1,"Canvas clientWidth/clientHeight is 0")(),t=1,r=e.canvas.width||1,o=e.canvas.height||1),e.luma=e.luma||{},e.luma.canvasSizeInfo=e.luma.canvasSizeInfo||{};var i=e.luma.canvasSizeInfo;if(i.clientWidth!==r||i.clientHeight!==o||i.devicePixelRatio!==t){var a=t,u=Math.floor(r*a),c=Math.floor(o*a);e.canvas.width=u,e.canvas.height=c,e.drawingBufferWidth===u&&e.drawingBufferHeight===c||(I.warn("Device pixel ratio clamped")(),a=Math.min(e.drawingBufferWidth/r,e.drawingBufferHeight/o),e.canvas.width=Math.floor(r*a),e.canvas.height=Math.floor(o*a)),Object.assign(e.luma.canvasSizeInfo,{clientWidth:r,clientHeight:o,devicePixelRatio:t})}}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(2),o=n.n(r),i=n(12);function a(){return!("object"===(void 0===e?"undefined":o()(e))&&"[object process]"===String(e)&&!e.browser)||Object(i.a)()}}).call(this,n(6))}])})); | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(14),o=n(15),i=n(9),a=n(16);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";(function(e,r){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u}));var o=n(2),i={self:"undefined"!=typeof self&&self,window:"undefined"!=typeof window&&window,global:void 0!==e&&e,document:"undefined"!=typeof document&&document,process:"object"===(void 0===r?"undefined":n.n(o)()(r))&&r},a=i.window||i.self||i.global,u=i.process||{};console}).call(this,n(17),n(6))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&h())}function h(){if(!l){var e=u(d);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new v(e,t)),1!==s.length||l||u(h)},v.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){var r=n(19),o=n(20),i=n(9),a=n(21);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(8);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(2),o=n.n(r),i=n(11);function a(){return!("object"===(void 0===e?"undefined":o()(e))&&"[object process]"===String(e)&&!e.browser)||Object(i.a)()}}).call(this,n(6))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(2),o=n.n(r);function i(t){if("undefined"!=typeof window&&"object"===o()(window.process)&&"renderer"===window.process.type)return!0;if(void 0!==e&&"object"===o()(e.versions)&&Boolean(e.versions.electron))return!0;var n="object"===("undefined"==typeof navigator?"undefined":o()(navigator))&&"string"==typeof navigator.userAgent&&navigator.userAgent,r=t||n;return!!(r&&r.indexOf("Electron")>=0)}}).call(this,n(6))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(2),o=n.n(r);function i(t){if("undefined"!=typeof window&&"object"===o()(window.process)&&"renderer"===window.process.type)return!0;if(void 0!==e&&"object"===o()(e.versions)&&Boolean(e.versions.electron))return!0;var n="object"===("undefined"==typeof navigator?"undefined":o()(navigator))&&"string"==typeof navigator.userAgent&&navigator.userAgent,r=t||n;return!!(r&&r.indexOf("Electron")>=0)}}).call(this,n(6))},function(e,t,n){var r=n(22);globalThis.luma=globalThis.luma||{},e.exports=Object.assign(globalThis.luma,r)},function(e,t,n){var r=n(8);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){"use strict";n.r(t),n.d(t,"log",(function(){return I})),n.d(t,"isWebGL",(function(){return P})),n.d(t,"isWebGL2",(function(){return R})),n.d(t,"getWebGL2Context",(function(){return W})),n.d(t,"assertWebGLContext",(function(){return N})),n.d(t,"assertWebGL2Context",(function(){return D})),n.d(t,"polyfillContext",(function(){return te})),n.d(t,"getParameters",(function(){return Ce})),n.d(t,"setParameters",(function(){return ke})),n.d(t,"resetParameters",(function(){return Fe})),n.d(t,"withParameters",(function(){return Be})),n.d(t,"trackContextState",(function(){return Oe})),n.d(t,"pushContextState",(function(){return Se})),n.d(t,"popContextState",(function(){return je})),n.d(t,"createGLContext",(function(){return ze})),n.d(t,"resizeGLContext",(function(){return qe})),n.d(t,"instrumentGLContext",(function(){return Ue})),n.d(t,"getContextDebugInfo",(function(){return Xe})),n.d(t,"cssToDeviceRatio",(function(){return Ge})),n.d(t,"cssToDevicePixels",(function(){return Ie}));var r=n(2),o=n.n(r),i=n(1),a=n.n(i),u=n(0),c=n.n(u),s=n(4),l=n.n(s),f=n(5),d=n.n(f),h=n(10),v=Object(h.a)();function g(e){try{var t=window[e],n="__storage_test__";return t.setItem(n,n),t.removeItem(n),t}catch(e){return null}}var b=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"sessionStorage";l()(this,e),this.storage=g(r),this.id=t,this.config={},Object.assign(this.config,n),this._loadConfiguration()}return d()(e,[{key:"getConfiguration",value:function(){return this.config}},{key:"setConfiguration",value:function(e){return this.config={},this.updateConfiguration(e)}},{key:"updateConfiguration",value:function(e){if(Object.assign(this.config,e),this.storage){var t=JSON.stringify(this.config);this.storage.setItem(this.id,t)}return this}},{key:"_loadConfiguration",value:function(){var e={};if(this.storage){var t=this.storage.getItem(this.id);e=t?JSON.parse(t):{}}return Object.assign(this.config,e),this}}]),e}();function p(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:600,o=e.src.replace(/\(/g,"%28").replace(/\)/g,"%29");e.width>r&&(n=Math.min(n,r/e.width));var i=e.width*n,a=e.height*n,u=["font-size:1px;","padding:".concat(Math.floor(a/2),"px ").concat(Math.floor(i/2),"px;"),"line-height:".concat(a,"px;"),"background:url(".concat(o,");"),"background-size:".concat(i,"px ").concat(a,"px;"),"color:transparent;"].join("");return["".concat(t," %c+"),u]}var y={BLACK:30,RED:31,GREEN:32,YELLOW:33,BLUE:34,MAGENTA:35,CYAN:36,WHITE:37,BRIGHT_BLACK:90,BRIGHT_RED:91,BRIGHT_GREEN:92,BRIGHT_YELLOW:93,BRIGHT_BLUE:94,BRIGHT_MAGENTA:95,BRIGHT_CYAN:96,BRIGHT_WHITE:97};function m(e){return"string"==typeof e?y[e.toUpperCase()]||y.WHITE:e}function x(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["constructor"],r=Object.getPrototypeOf(e),o=Object.getOwnPropertyNames(r),i=x(o);try{var a=function(){var r=t.value;"function"==typeof e[r]&&(n.find((function(e){return r===e}))||(e[r]=e[r].bind(e)))};for(i.s();!(t=i.n()).done;)a()}catch(e){i.e(e)}finally{i.f()}}function _(e,t){if(!e)throw new Error(t||"Assertion failed")}var E=n(3);function O(){var e;if(v&&E.b.performance)e=E.b.performance.now();else if(E.a.hrtime){var t=E.a.hrtime();e=1e3*t[0]+t[1]/1e6}else e=Date.now();return e}var S={debug:v&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},j={enabled:!0,level:0};function L(){}var T={},k={once:!0};function C(e){for(var t in e)for(var n in e[t])return n||"untitled";return"empty"}var F=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:""},n=t.id;l()(this,e),this.id=n,this.VERSION="8.5.14",this._startTs=O(),this._deltaTs=O(),this.LOG_THROTTLE_TIMEOUT=0,this._storage=new b("__probe-".concat(this.id,"__"),j),this.userData={},this.timeStamp("".concat(this.id," started")),w(this),Object.seal(this)}return d()(e,[{key:"isEnabled",value:function(){return this._storage.config.enabled}},{key:"getLevel",value:function(){return this._storage.config.level}},{key:"getTotal",value:function(){return Number((O()-this._startTs).toPrecision(10))}},{key:"getDelta",value:function(){return Number((O()-this._deltaTs).toPrecision(10))}},{key:"getPriority",value:function(){return this.level}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._storage.updateConfiguration({enabled:e}),this}},{key:"setLevel",value:function(e){return this._storage.updateConfiguration({level:e}),this}},{key:"assert",value:function(e,t){_(e,t)}},{key:"warn",value:function(e){return this._getLogFunction(0,e,S.warn,arguments,k)}},{key:"error",value:function(e){return this._getLogFunction(0,e,S.error,arguments)}},{key:"deprecated",value:function(e,t){return this.warn("`".concat(e,"` is deprecated and will be removed in a later version. Use `").concat(t,"` instead"))}},{key:"removed",value:function(e,t){return this.error("`".concat(e,"` has been removed. Use `").concat(t,"` instead"))}},{key:"probe",value:function(e,t){return this._getLogFunction(e,t,S.log,arguments,{time:!0,once:!0})}},{key:"log",value:function(e,t){return this._getLogFunction(e,t,S.debug,arguments)}},{key:"info",value:function(e,t){return this._getLogFunction(e,t,console.info,arguments)}},{key:"once",value:function(e,t){return this._getLogFunction(e,t,S.debug||S.info,arguments,k)}},{key:"table",value:function(e,t,n){return t?this._getLogFunction(e,t,console.table||L,n&&[n],{tag:C(t)}):L}},{key:"image",value:function(e){var t=e.logLevel,r=e.priority,o=e.image,i=e.message,u=void 0===i?"":i,c=e.scale,s=void 0===c?1:c;return this._shouldLog(t||r)?v?function(e){var t=e.image,n=e.message,r=void 0===n?"":n,o=e.scale,i=void 0===o?1:o;if("string"==typeof t){var u=new Image;return u.onload=function(){var e,t=p(u,r,i);(e=console).log.apply(e,a()(t))},u.src=t,L}var c=t.nodeName||"";if("img"===c.toLowerCase()){var s;return(s=console).log.apply(s,a()(p(t,r,i))),L}if("canvas"===c.toLowerCase()){var l=new Image;return l.onload=function(){var e;return(e=console).log.apply(e,a()(p(l,r,i)))},l.src=t.toDataURL(),L}return L}({image:o,message:u,scale:s}):function(e){var t=e.image,r=(e.message,e.scale),o=void 0===r?1:r,i=null;try{i=n(18)}catch(e){}if(i)return function(){return i(t,{fit:"box",width:"".concat(Math.round(80*o),"%")}).then((function(e){return console.log(e)}))};return L}({image:o,message:u,scale:s}):L}},{key:"settings",value:function(){console.table?console.table(this._storage.config):console.log(this._storage.config)}},{key:"get",value:function(e){return this._storage.config[e]}},{key:"set",value:function(e,t){this._storage.updateConfiguration(c()({},e,t))}},{key:"time",value:function(e,t){return this._getLogFunction(e,t,console.time?console.time:console.info)}},{key:"timeEnd",value:function(e,t){return this._getLogFunction(e,t,console.timeEnd?console.timeEnd:console.info)}},{key:"timeStamp",value:function(e,t){return this._getLogFunction(e,t,console.timeStamp||L)}},{key:"group",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{collapsed:!1},r=n=V({logLevel:e,message:t,opts:n}),o=r.collapsed;return n.method=(o?console.groupCollapsed:console.group)||console.info,this._getLogFunction(n)}},{key:"groupCollapsed",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.group(e,t,Object.assign({},n,{collapsed:!0}))}},{key:"groupEnd",value:function(e){return this._getLogFunction(e,"",console.groupEnd||L)}},{key:"withGroup",value:function(e,t,n){this.group(e,t)();try{n()}finally{this.groupEnd(e)()}}},{key:"trace",value:function(){console.trace&&console.trace()}},{key:"_shouldLog",value:function(e){return this.isEnabled()&&this.getLevel()>=B(e)}},{key:"_getLogFunction",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0;if(this._shouldLog(e)){var i;o=V({logLevel:e,message:t,args:r,opts:o}),_(n=n||o.method),o.total=this.getTotal(),o.delta=this.getDelta(),this._deltaTs=O();var u=o.tag||o.message;if(o.once){if(T[u])return L;T[u]=O()}return t=G(this.id,o.message,o),(i=n).bind.apply(i,[console,t].concat(a()(o.args)))}return L}},{key:"level",set:function(e){this.setLevel(e)},get:function(){return this.getLevel()}},{key:"priority",set:function(e){this.level=e},get:function(){return this.level}}]),e}();function B(e){if(!e)return 0;var t;switch(o()(e)){case"number":t=e;break;case"object":t=e.logLevel||e.priority||0;break;default:return 0}return _(Number.isFinite(t)&&t>=0),t}function V(e){var t=e.logLevel,n=e.message;e.logLevel=B(t);for(var r=e.args?Array.from(e.args):[];r.length&&r.shift()!==n;);switch(e.args=r,o()(t)){case"string":case"function":void 0!==n&&r.unshift(n),e.message=t;break;case"object":Object.assign(e,t)}"function"==typeof e.message&&(e.message=e.message());var i=o()(e.message);return _("string"===i||"object"===i),Object.assign(e,e.opts)}function G(e,t,n){if("string"==typeof t){var r=n.time?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,n=Math.max(t-e.length,0);return"".concat(" ".repeat(n)).concat(e)}((u=n.total)<10?"".concat(u.toFixed(2),"ms"):u<100?"".concat(u.toFixed(1),"ms"):u<1e3?"".concat(u.toFixed(0),"ms"):"".concat((u/1e3).toFixed(2),"s")):"";t=n.time?"".concat(e,": ").concat(r," ").concat(t):"".concat(e,": ").concat(t),o=t,i=n.color,a=n.background,v||"string"!=typeof o||(i&&(i=m(i),o="[".concat(i,"m").concat(o,"[39m")),a&&(i=m(a),o="[".concat(a+10,"m").concat(o,"[49m"))),t=o}var o,i,a,u;return t}F.VERSION="8.5.14";var I=new F({id:"luma.gl"});function M(e,t){if(!e)throw new Error(t||"luma.gl: assertion failed.")}function P(e){return"undefined"!=typeof WebGLRenderingContext&&e instanceof WebGLRenderingContext||("undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||Boolean(e&&Number.isFinite(e._version)))}function R(e){return"undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||Boolean(e&&2===e._version)}function W(e){return R(e)?e:null}function N(e){return M(P(e),"Invalid WebGLRenderingContext"),e}function D(e){return M(R(e),"Requires WebGL2"),e}var H={};function z(e,t){var n;H[e]=!0,void 0!==t&&(n=t,globalThis.console&&globalThis.console.error&&globalThis.console.error(n))}var U=function e(t){var n=t.gl;this.ext=t,this.isAlive=!0,this.hasBeenBound=!1,this.elementArrayBuffer=null,this.attribs=new Array(t.maxVertexAttribs);for(var r=0;r<this.attribs.length;r++){var o=new e.VertexAttrib(n);this.attribs[r]=o}this.maxAttrib=0};(U.VertexAttrib=function(e){this.enabled=!1,this.buffer=null,this.size=4,this.type=5126,this.normalized=!1,this.stride=16,this.offset=0,this.cached="",this.recache()}).prototype.recache=function(){this.cached=[this.size,this.type,this.normalized,this.stride,this.offset].join(":")};var X,q=function(e){var t=this;this.gl=e,function(e){var t=e.getError;e.getError=function(){var n;do{0!==(n=t.apply(e))&&(H[n]=!0)}while(0!==n);for(n in H)if(H[n])return delete H[n],parseInt(n,10);return 0}}(e);var n=this.original={getParameter:e.getParameter,enableVertexAttribArray:e.enableVertexAttribArray,disableVertexAttribArray:e.disableVertexAttribArray,bindBuffer:e.bindBuffer,getVertexAttrib:e.getVertexAttrib,vertexAttribPointer:e.vertexAttribPointer};e.getParameter=function(e){return e===t.VERTEX_ARRAY_BINDING_OES?t.currentVertexArrayObject===t.defaultVertexArrayObject?null:t.currentVertexArrayObject:n.getParameter.apply(this,arguments)},e.enableVertexAttribArray=function(e){var r=t.currentVertexArrayObject;r.maxAttrib=Math.max(r.maxAttrib,e);var o=r.attribs[e];return o.enabled=!0,n.enableVertexAttribArray.apply(this,arguments)},e.disableVertexAttribArray=function(e){var r=t.currentVertexArrayObject;r.maxAttrib=Math.max(r.maxAttrib,e);var o=r.attribs[e];return o.enabled=!1,n.disableVertexAttribArray.apply(this,arguments)},e.bindBuffer=function(e,r){switch(e){case 34962:t.currentArrayBuffer=r;break;case 34963:t.currentVertexArrayObject.elementArrayBuffer=r}return n.bindBuffer.apply(this,arguments)},e.getVertexAttrib=function(e,r){var o=t.currentVertexArrayObject,i=o.attribs[e];switch(r){case 34975:return i.buffer;case 34338:return i.enabled;case 34339:return i.size;case 34340:return i.stride;case 34341:return i.type;case 34922:return i.normalized;default:return n.getVertexAttrib.apply(this,arguments)}},e.vertexAttribPointer=function(e,r,o,i,a,u){var c=t.currentVertexArrayObject;c.maxAttrib=Math.max(c.maxAttrib,e);var s=c.attribs[e];return s.buffer=t.currentArrayBuffer,s.size=r,s.type=o,s.normalized=i,s.stride=a,s.offset=u,s.recache(),n.vertexAttribPointer.apply(this,arguments)},e.instrumentExtension&&e.instrumentExtension(this,"OES_vertex_array_object"),e.canvas&&e.canvas.addEventListener("webglcontextrestored",(function(){var e;e="OESVertexArrayObject emulation library context restored",globalThis.console&&globalThis.console.log&&globalThis.console.log(e),t.reset_()}),!0),this.reset_()};q.prototype.VERTEX_ARRAY_BINDING_OES=34229,q.prototype.reset_=function(){if(void 0!==this.vertexArrayObjects)for(var e=0;e<this.vertexArrayObjects.length;++e)this.vertexArrayObjects.isAlive=!1;var t=this.gl;this.maxVertexAttribs=t.getParameter(34921),this.defaultVertexArrayObject=new U(this),this.currentVertexArrayObject=null,this.currentArrayBuffer=null,this.vertexArrayObjects=[this.defaultVertexArrayObject],this.bindVertexArrayOES(null)},q.prototype.createVertexArrayOES=function(){var e=new U(this);return this.vertexArrayObjects.push(e),e},q.prototype.deleteVertexArrayOES=function(e){e.isAlive=!1,this.vertexArrayObjects.splice(this.vertexArrayObjects.indexOf(e),1),this.currentVertexArrayObject===e&&this.bindVertexArrayOES(null)},q.prototype.isVertexArrayOES=function(e){return!!(e&&e instanceof U&&e.hasBeenBound&&e.ext===this)},q.prototype.bindVertexArrayOES=function(e){var t=this.gl;if(!e||e.isAlive){var n=this.original,r=this.currentVertexArrayObject;this.currentVertexArrayObject=e||this.defaultVertexArrayObject,this.currentVertexArrayObject.hasBeenBound=!0;var o=this.currentVertexArrayObject;if(r!==o){r&&o.elementArrayBuffer===r.elementArrayBuffer||n.bindBuffer.call(t,34963,o.elementArrayBuffer);for(var i=this.currentArrayBuffer,a=Math.max(r?r.maxAttrib:0,o.maxAttrib),u=0;u<=a;u++){var c=o.attribs[u],s=r?r.attribs[u]:null;if(r&&c.enabled===s.enabled||(c.enabled?n.enableVertexAttribArray.call(t,u):n.disableVertexAttribArray.call(t,u)),c.enabled){var l=!1;r&&c.buffer===s.buffer||(i!==c.buffer&&(n.bindBuffer.call(t,34962,c.buffer),i=c.buffer),l=!0),(l||c.cached!==s.cached)&&n.vertexAttribPointer.call(t,u,c.size,c.type,c.normalized,c.stride,c.offset)}}this.currentArrayBuffer!==i&&n.bindBuffer.call(t,34962,this.currentArrayBuffer)}}else z(1282,"bindVertexArrayOES: attempt to bind deleted arrayObject")};var Q,Y=function(e){return R(e)?void 0:0},K=(X={},c()(X,3074,(function(e){return R(e)?void 0:36064})),c()(X,35723,(function(e){return R(e)?void 0:4352})),c()(X,35977,Y),c()(X,32937,Y),c()(X,36795,(function(e,t){var n=R(e)?e.getExtension("EXT_disjoint_timer_query_webgl2"):e.getExtension("EXT_disjoint_timer_query");return n&&n.GPU_DISJOINT_EXT?t(n.GPU_DISJOINT_EXT):0})),c()(X,37445,(function(e,t){var n=e.getExtension("WEBGL_debug_renderer_info");return t(n&&n.UNMASKED_VENDOR_WEBGL||7936)})),c()(X,37446,(function(e,t){var n=e.getExtension("WEBGL_debug_renderer_info");return t(n&&n.UNMASKED_RENDERER_WEBGL||7937)})),c()(X,34047,(function(e,t){var n=e.luma.extensions.EXT_texture_filter_anisotropic;return n?t(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT):1})),c()(X,32883,Y),c()(X,35071,Y),c()(X,37447,Y),c()(X,36063,(function(e,t){if(!R(e)){var n=e.getExtension("WEBGL_draw_buffers");return n?t(n.MAX_COLOR_ATTACHMENTS_WEBGL):0}})),c()(X,35379,Y),c()(X,35374,Y),c()(X,35377,Y),c()(X,34852,(function(e){if(!R(e)){var t=e.getExtension("WEBGL_draw_buffers");return t?t.MAX_DRAW_BUFFERS_WEBGL:0}})),c()(X,36203,(function(e){return e.getExtension("OES_element_index")?2147483647:65535})),c()(X,33001,(function(e){return e.getExtension("OES_element_index")?16777216:65535})),c()(X,33e3,(function(e){return 16777216})),c()(X,37157,Y),c()(X,35373,Y),c()(X,35657,Y),c()(X,36183,Y),c()(X,37137,Y),c()(X,34045,Y),c()(X,35978,Y),c()(X,35979,Y),c()(X,35968,Y),c()(X,35376,Y),c()(X,35375,Y),c()(X,35659,Y),c()(X,37154,Y),c()(X,35371,Y),c()(X,35658,Y),c()(X,35076,Y),c()(X,35077,Y),c()(X,35380,Y),X);var J=(Q={},c()(Q,"OES_vertex_array_object",{meta:{suffix:"OES"},createVertexArray:function(){M(!1,"VertexArray requires WebGL2 or OES_vertex_array_object extension")},deleteVertexArray:function(){},bindVertexArray:function(){},isVertexArray:function(){return!1}}),c()(Q,"ANGLE_instanced_arrays",{meta:{suffix:"ANGLE"},vertexAttribDivisor:function(e,t){M(0===t,"WebGL instanced rendering not supported")},drawElementsInstanced:function(){},drawArraysInstanced:function(){}}),c()(Q,"WEBGL_draw_buffers",{meta:{suffix:"WEBGL"},drawBuffers:function(){M(!1)}}),c()(Q,"EXT_disjoint_timer_query",{meta:{suffix:"EXT"},createQuery:function(){M(!1)},deleteQuery:function(){M(!1)},beginQuery:function(){M(!1)},endQuery:function(){},getQuery:function(e,t){return this.getQueryObject(e,t)},getQueryParameter:function(e,t){return this.getQueryObject(e,t)},getQueryObject:function(){}}),Q),$={readBuffer:function(e,t,n){R(e)&&t(n)},getVertexAttrib:function(e,t,n,r){var o,i=function(e,t){return{webgl2:R(e),ext:e.getExtension(t)}}(e,"ANGLE_instanced_arrays"),a=i.webgl2,u=i.ext;switch(r){case 35069:o=!!a&&void 0;break;case 35070:o=a||u?void 0:0}return void 0!==o?o:t(n,r)},getProgramParameter:function(e,t,n,r){if(!R(e))switch(r){case 35967:return 35981;case 35971:case 35382:return 0}return t(n,r)},getInternalformatParameter:function(e,t,n,r,o){if(!R(e))switch(o){case 32937:return new Int32Array([0])}return e.getInternalformatParameter(n,r,o)},getTexParameter:function(e,t,n,r){switch(r){case 34046:var o=e.luma.extensions.EXT_texture_filter_anisotropic;r=o&&o.TEXTURE_MAX_ANISOTROPY_EXT||34046}return t(n,r)},getParameter:function(e,t,n){var r=K[n],o="function"==typeof r?r(e,t,n):r;return void 0!==o?o:t(n)},hint:function(e,t,n,r){return t(n,r)}};function Z(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ee(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function te(e){e.luma=e.luma||{};var t=e.luma;return t.polyfilled||(!function(e){if("function"!=typeof e.createVertexArray){var t=e.getSupportedExtensions;e.getSupportedExtensions=function(){var e=t.call(this)||[];return e.indexOf("OES_vertex_array_object")<0&&e.push("OES_vertex_array_object"),e};var n=e.getExtension;e.getExtension=function(t){var r=n.call(this,t);return r||("OES_vertex_array_object"!==t?null:(e.__OESVertexArrayObject||(this.__OESVertexArrayObject=new q(this)),this.__OESVertexArrayObject))}}}(e),function(e){e.luma.extensions={};var t,n=Z(e.getSupportedExtensions()||[]);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.luma[r]=e.getExtension(r)}}catch(e){n.e(e)}finally{n.f()}}(e),function(e,t){var n,r=Z(Object.getOwnPropertyNames(t));try{for(r.s();!(n=r.n()).done;){var o=n.value;"overrides"!==o&&ne(e,{extension:o,target:e.luma,target2:e})}}catch(e){r.e(e)}finally{r.f()}}(e,J),function(e,t){var n=t.target,r=t.target2;Object.keys($).forEach((function(t){if("function"==typeof $[t]){var o=e[t]?e[t].bind(e):function(){},i=$[t].bind(null,e,o);n[t]=i,r[t]=i}}))}(e,{target:t,target2:e}),t.polyfilled=!0),e}function ne(e,t){var n=t.extension,r=t.target,o=t.target2,i=J[n];M(i);for(var a=i.meta,u=(void 0===a?{}:a).suffix,c=void 0===u?"":u,s=e.getExtension(n),l=function(){var t=d[f],n="".concat(t).concat(c),a=null;"meta"===t||"function"==typeof e[t]||(s&&"function"==typeof s[n]?a=function(){return s[n].apply(s,arguments)}:"function"==typeof i[t]&&(a=i[t].bind(r))),a&&(r[t]=a,o[t]=a)},f=0,d=Object.keys(i);f<d.length;f++)l()}globalThis.polyfillContext=te;var re,oe,ie,ae=n(7),ue=n.n(ae),ce=(re={},c()(re,3042,!1),c()(re,32773,new Float32Array([0,0,0,0])),c()(re,32777,32774),c()(re,34877,32774),c()(re,32969,1),c()(re,32968,0),c()(re,32971,1),c()(re,32970,0),c()(re,3106,new Float32Array([0,0,0,0])),c()(re,3107,[!0,!0,!0,!0]),c()(re,2884,!1),c()(re,2885,1029),c()(re,2929,!1),c()(re,2931,1),c()(re,2932,513),c()(re,2928,new Float32Array([0,1])),c()(re,2930,!0),c()(re,3024,!0),c()(re,36006,null),c()(re,2886,2305),c()(re,33170,4352),c()(re,2849,1),c()(re,32823,!1),c()(re,32824,0),c()(re,10752,0),c()(re,32938,1),c()(re,32939,!1),c()(re,3089,!1),c()(re,3088,new Int32Array([0,0,1024,1024])),c()(re,2960,!1),c()(re,2961,0),c()(re,2968,4294967295),c()(re,36005,4294967295),c()(re,2962,519),c()(re,2967,0),c()(re,2963,4294967295),c()(re,34816,519),c()(re,36003,0),c()(re,36004,4294967295),c()(re,2964,7680),c()(re,2965,7680),c()(re,2966,7680),c()(re,34817,7680),c()(re,34818,7680),c()(re,34819,7680),c()(re,2978,[0,0,1024,1024]),c()(re,3333,4),c()(re,3317,4),c()(re,37440,!1),c()(re,37441,!1),c()(re,37443,37444),c()(re,35723,4352),c()(re,36010,null),c()(re,35977,!1),c()(re,3330,0),c()(re,3332,0),c()(re,3331,0),c()(re,3314,0),c()(re,32878,0),c()(re,3316,0),c()(re,3315,0),c()(re,32877,0),re),se=function(e,t,n){return t?e.enable(n):e.disable(n)},le=function(e,t,n){return e.hint(n,t)},fe=function(e,t,n){return e.pixelStorei(n,t)};function de(e){return Array.isArray(e)||ArrayBuffer.isView(e)}var he=(oe={},c()(oe,3042,se),c()(oe,32773,(function(e,t){return e.blendColor.apply(e,a()(t))})),c()(oe,32777,"blendEquation"),c()(oe,34877,"blendEquation"),c()(oe,32969,"blendFunc"),c()(oe,32968,"blendFunc"),c()(oe,32971,"blendFunc"),c()(oe,32970,"blendFunc"),c()(oe,3106,(function(e,t){return e.clearColor.apply(e,a()(t))})),c()(oe,3107,(function(e,t){return e.colorMask.apply(e,a()(t))})),c()(oe,2884,se),c()(oe,2885,(function(e,t){return e.cullFace(t)})),c()(oe,2929,se),c()(oe,2931,(function(e,t){return e.clearDepth(t)})),c()(oe,2932,(function(e,t){return e.depthFunc(t)})),c()(oe,2928,(function(e,t){return e.depthRange.apply(e,a()(t))})),c()(oe,2930,(function(e,t){return e.depthMask(t)})),c()(oe,3024,se),c()(oe,35723,le),c()(oe,36006,(function(e,t){var n=R(e)?36009:36160;return e.bindFramebuffer(n,t)})),c()(oe,2886,(function(e,t){return e.frontFace(t)})),c()(oe,33170,le),c()(oe,2849,(function(e,t){return e.lineWidth(t)})),c()(oe,32823,se),c()(oe,32824,"polygonOffset"),c()(oe,10752,"polygonOffset"),c()(oe,35977,se),c()(oe,32938,"sampleCoverage"),c()(oe,32939,"sampleCoverage"),c()(oe,3089,se),c()(oe,3088,(function(e,t){return e.scissor.apply(e,a()(t))})),c()(oe,2960,se),c()(oe,2961,(function(e,t){return e.clearStencil(t)})),c()(oe,2968,(function(e,t){return e.stencilMaskSeparate(1028,t)})),c()(oe,36005,(function(e,t){return e.stencilMaskSeparate(1029,t)})),c()(oe,2962,"stencilFuncFront"),c()(oe,2967,"stencilFuncFront"),c()(oe,2963,"stencilFuncFront"),c()(oe,34816,"stencilFuncBack"),c()(oe,36003,"stencilFuncBack"),c()(oe,36004,"stencilFuncBack"),c()(oe,2964,"stencilOpFront"),c()(oe,2965,"stencilOpFront"),c()(oe,2966,"stencilOpFront"),c()(oe,34817,"stencilOpBack"),c()(oe,34818,"stencilOpBack"),c()(oe,34819,"stencilOpBack"),c()(oe,2978,(function(e,t){return e.viewport.apply(e,a()(t))})),c()(oe,3333,fe),c()(oe,3317,fe),c()(oe,37440,fe),c()(oe,37441,fe),c()(oe,37443,fe),c()(oe,3330,fe),c()(oe,3332,fe),c()(oe,3331,fe),c()(oe,36010,(function(e,t){return e.bindFramebuffer(36008,t)})),c()(oe,3314,fe),c()(oe,32878,fe),c()(oe,3316,fe),c()(oe,3315,fe),c()(oe,32877,fe),c()(oe,"framebuffer",(function(e,t){var n=t&&"handle"in t?t.handle:t;return e.bindFramebuffer(36160,n)})),c()(oe,"blend",(function(e,t){return t?e.enable(3042):e.disable(3042)})),c()(oe,"blendColor",(function(e,t){return e.blendColor.apply(e,a()(t))})),c()(oe,"blendEquation",(function(e,t){t=de(t)?t:[t,t],e.blendEquationSeparate.apply(e,a()(t))})),c()(oe,"blendFunc",(function(e,t){t=de(t)&&2===t.length?[].concat(a()(t),a()(t)):t,e.blendFuncSeparate.apply(e,a()(t))})),c()(oe,"clearColor",(function(e,t){return e.clearColor.apply(e,a()(t))})),c()(oe,"clearDepth",(function(e,t){return e.clearDepth(t)})),c()(oe,"clearStencil",(function(e,t){return e.clearStencil(t)})),c()(oe,"colorMask",(function(e,t){return e.colorMask.apply(e,a()(t))})),c()(oe,"cull",(function(e,t){return t?e.enable(2884):e.disable(2884)})),c()(oe,"cullFace",(function(e,t){return e.cullFace(t)})),c()(oe,"depthTest",(function(e,t){return t?e.enable(2929):e.disable(2929)})),c()(oe,"depthFunc",(function(e,t){return e.depthFunc(t)})),c()(oe,"depthMask",(function(e,t){return e.depthMask(t)})),c()(oe,"depthRange",(function(e,t){return e.depthRange.apply(e,a()(t))})),c()(oe,"dither",(function(e,t){return t?e.enable(3024):e.disable(3024)})),c()(oe,"derivativeHint",(function(e,t){e.hint(35723,t)})),c()(oe,"frontFace",(function(e,t){return e.frontFace(t)})),c()(oe,"mipmapHint",(function(e,t){return e.hint(33170,t)})),c()(oe,"lineWidth",(function(e,t){return e.lineWidth(t)})),c()(oe,"polygonOffsetFill",(function(e,t){return t?e.enable(32823):e.disable(32823)})),c()(oe,"polygonOffset",(function(e,t){return e.polygonOffset.apply(e,a()(t))})),c()(oe,"sampleCoverage",(function(e,t){return e.sampleCoverage.apply(e,a()(t))})),c()(oe,"scissorTest",(function(e,t){return t?e.enable(3089):e.disable(3089)})),c()(oe,"scissor",(function(e,t){return e.scissor.apply(e,a()(t))})),c()(oe,"stencilTest",(function(e,t){return t?e.enable(2960):e.disable(2960)})),c()(oe,"stencilMask",(function(e,t){var n=t=de(t)?t:[t,t],r=ue()(n,2),o=r[0],i=r[1];e.stencilMaskSeparate(1028,o),e.stencilMaskSeparate(1029,i)})),c()(oe,"stencilFunc",(function(e,t){var n=t=de(t)&&3===t.length?[].concat(a()(t),a()(t)):t,r=ue()(n,6),o=r[0],i=r[1],u=r[2],c=r[3],s=r[4],l=r[5];e.stencilFuncSeparate(1028,o,i,u),e.stencilFuncSeparate(1029,c,s,l)})),c()(oe,"stencilOp",(function(e,t){var n=t=de(t)&&3===t.length?[].concat(a()(t),a()(t)):t,r=ue()(n,6),o=r[0],i=r[1],u=r[2],c=r[3],s=r[4],l=r[5];e.stencilOpSeparate(1028,o,i,u),e.stencilOpSeparate(1029,c,s,l)})),c()(oe,"viewport",(function(e,t){return e.viewport.apply(e,a()(t))})),oe);function ve(e,t,n){return void 0!==t[e]?t[e]:n[e]}var ge={blendEquation:function(e,t,n){return e.blendEquationSeparate(ve(32777,t,n),ve(34877,t,n))},blendFunc:function(e,t,n){return e.blendFuncSeparate(ve(32969,t,n),ve(32968,t,n),ve(32971,t,n),ve(32970,t,n))},polygonOffset:function(e,t,n){return e.polygonOffset(ve(32824,t,n),ve(10752,t,n))},sampleCoverage:function(e,t,n){return e.sampleCoverage(ve(32938,t,n),ve(32939,t,n))},stencilFuncFront:function(e,t,n){return e.stencilFuncSeparate(1028,ve(2962,t,n),ve(2967,t,n),ve(2963,t,n))},stencilFuncBack:function(e,t,n){return e.stencilFuncSeparate(1029,ve(34816,t,n),ve(36003,t,n),ve(36004,t,n))},stencilOpFront:function(e,t,n){return e.stencilOpSeparate(1028,ve(2964,t,n),ve(2965,t,n),ve(2966,t,n))},stencilOpBack:function(e,t,n){return e.stencilOpSeparate(1029,ve(34817,t,n),ve(34818,t,n),ve(34819,t,n))}},be={enable:function(e,t){return e(c()({},t,!0))},disable:function(e,t){return e(c()({},t,!1))},pixelStorei:function(e,t,n){return e(c()({},t,n))},hint:function(e,t,n){return e(c()({},t,n))},bindFramebuffer:function(e,t,n){var r;switch(t){case 36160:return e((r={},c()(r,36006,n),c()(r,36010,n),r));case 36009:return e(c()({},36006,n));case 36008:return e(c()({},36010,n));default:return null}},blendColor:function(e,t,n,r,o){return e(c()({},32773,new Float32Array([t,n,r,o])))},blendEquation:function(e,t){var n;return e((n={},c()(n,32777,t),c()(n,34877,t),n))},blendEquationSeparate:function(e,t,n){var r;return e((r={},c()(r,32777,t),c()(r,34877,n),r))},blendFunc:function(e,t,n){var r;return e((r={},c()(r,32969,t),c()(r,32968,n),c()(r,32971,t),c()(r,32970,n),r))},blendFuncSeparate:function(e,t,n,r,o){var i;return e((i={},c()(i,32969,t),c()(i,32968,n),c()(i,32971,r),c()(i,32970,o),i))},clearColor:function(e,t,n,r,o){return e(c()({},3106,new Float32Array([t,n,r,o])))},clearDepth:function(e,t){return e(c()({},2931,t))},clearStencil:function(e,t){return e(c()({},2961,t))},colorMask:function(e,t,n,r,o){return e(c()({},3107,[t,n,r,o]))},cullFace:function(e,t){return e(c()({},2885,t))},depthFunc:function(e,t){return e(c()({},2932,t))},depthRange:function(e,t,n){return e(c()({},2928,new Float32Array([t,n])))},depthMask:function(e,t){return e(c()({},2930,t))},frontFace:function(e,t){return e(c()({},2886,t))},lineWidth:function(e,t){return e(c()({},2849,t))},polygonOffset:function(e,t,n){var r;return e((r={},c()(r,32824,t),c()(r,10752,n),r))},sampleCoverage:function(e,t,n){var r;return e((r={},c()(r,32938,t),c()(r,32939,n),r))},scissor:function(e,t,n,r,o){return e(c()({},3088,new Int32Array([t,n,r,o])))},stencilMask:function(e,t){var n;return e((n={},c()(n,2968,t),c()(n,36005,t),n))},stencilMaskSeparate:function(e,t,n){return e(c()({},1028===t?2968:36005,n))},stencilFunc:function(e,t,n,r){var o;return e((o={},c()(o,2962,t),c()(o,2967,n),c()(o,2963,r),c()(o,34816,t),c()(o,36003,n),c()(o,36004,r),o))},stencilFuncSeparate:function(e,t,n,r,o){var i;return e((i={},c()(i,1028===t?2962:34816,n),c()(i,1028===t?2967:36003,r),c()(i,1028===t?2963:36004,o),i))},stencilOp:function(e,t,n,r){var o;return e((o={},c()(o,2964,t),c()(o,2965,n),c()(o,2966,r),c()(o,34817,t),c()(o,34818,n),c()(o,34819,r),o))},stencilOpSeparate:function(e,t,n,r,o){var i;return e((i={},c()(i,1028===t?2964:34817,n),c()(i,1028===t?2965:34818,r),c()(i,1028===t?2966:34819,o),i))},viewport:function(e,t,n,r,o){return e(c()({},2978,[t,n,r,o]))}},pe=function(e,t){return e.isEnabled(t)},ye=(ie={},c()(ie,3042,pe),c()(ie,2884,pe),c()(ie,2929,pe),c()(ie,3024,pe),c()(ie,32823,pe),c()(ie,32926,pe),c()(ie,32928,pe),c()(ie,3089,pe),c()(ie,2960,pe),c()(ie,35977,pe),ie);function me(e){for(var t in e)return!1;return!0}function xe(e,t){if(e===t)return!0;var n=Array.isArray(e)||ArrayBuffer.isView(e),r=Array.isArray(t)||ArrayBuffer.isView(t);if(n&&r&&e.length===t.length){for(var o=0;o<e.length;++o)if(e[o]!==t[o])return!1;return!0}return!1}function Ae(e,t){var n=e[t].bind(e);e[t]=function(){var t=arguments.length<=0?void 0:arguments[0];return t in e.state.cache&&e.state.enable?e.state.cache[t]:n.apply(void 0,arguments)},Object.defineProperty(e[t],"name",{value:"".concat(t,"-from-cache"),configurable:!1})}function we(e,t,n){var r=e[t].bind(e);e[t]=function(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];var a=n.apply(void 0,[e.state._updateCache].concat(o)),u=a.valueChanged,c=a.oldValue;return u&&r.apply(void 0,o),c},Object.defineProperty(e[t],"name",{value:"".concat(t,"-to-cache"),configurable:!1})}function _e(e){var t=e.useProgram.bind(e);e.useProgram=function(n){e.state.program!==n&&(t(n),e.state.program=n)}}var Ee=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.copyState,o=void 0!==r&&r,i=n.log,a=void 0===i?function(){}:i;l()(this,e),this.gl=t,this.program=null,this.stateStack=[],this.enable=!0,this.cache=o?Ce(t):Object.assign({},ce),this.log=a,this._updateCache=this._updateCache.bind(this),Object.seal(this)}return d()(e,[{key:"push",value:function(){this.stateStack.push({})}},{key:"pop",value:function(){M(this.stateStack.length>0);var e=this.stateStack[this.stateStack.length-1];ke(this.gl,e),this.stateStack.pop()}},{key:"_updateCache",value:function(e){var t,n=!1,r=this.stateStack.length>0&&this.stateStack[this.stateStack.length-1];for(var o in e){M(void 0!==o);var i=e[o],a=this.cache[o];xe(i,a)||(n=!0,t=a,r&&!(o in r)&&(r[o]=a),this.cache[o]=i)}return{valueChanged:n,oldValue:t}}}]),e}();function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.enable,r=void 0===n||n,o=t.copyState;if(M(void 0!==o),!e.state){var i=globalThis.polyfillContext;for(var a in i&&i(e),e.state=new Ee(e,{copyState:o}),_e(e),be){var u=be[a];we(e,a,u)}Ae(e,"getParameter"),Ae(e,"isEnabled")}return e.state.enable=r,e}function Se(e){e.state||Oe(e,{copyState:!1}),e.state.push()}function je(e){M(e.state),e.state.pop()}function Le(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ke(e,t){if(M(P(e),"setParameters requires a WebGL context"),!me(t)){var n={};for(var r in t){var o=Number(r),i=he[r];i&&("string"==typeof i?n[i]=!0:i(e,t[r],o))}var a=e.state&&e.state.cache;if(a)for(var u in n){(0,ge[u])(e,t,a)}}}function Ce(e,t){if("number"==typeof(t=t||ce)){var n=t,r=ye[n];return r?r(e,n):e.getParameter(n)}var o,i={},a=Le(Array.isArray(t)?t:Object.keys(t));try{for(a.s();!(o=a.n()).done;){var u=o.value,c=ye[u];i[u]=c?c(e,Number(u)):e.getParameter(Number(u))}}catch(e){a.e(e)}finally{a.f()}return i}function Fe(e){ke(e,ce)}function Be(e,t,n){if(me(t))return n(e);var r,o=t.nocatch,i=void 0===o||o;if(Se(e),ke(e,t),i)r=n(e),je(e);else try{r=n(e)}finally{je(e)}return r}var Ve=n(25);function Ge(e){var t=e.luma;if(e.canvas&&t){var n=t.canvasSizeInfo.clientWidth;return n?e.drawingBufferWidth/n:1}return 1}function Ie(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Ge(e),o=e.drawingBufferWidth,i=e.drawingBufferHeight;return Pe(t,r,o,i,n)}function Me(e){var t="undefined"==typeof window?1:window.devicePixelRatio||1;return Number.isFinite(e)?e<=0?1:e:e?t:1}function Pe(e,t,n,r,o){var i,a=Re(e[0],t,n),u=We(e[1],t,r,o),c=Re(e[0]+1,t,n),s=c===n-1?c:c-1;return c=We(e[1]+1,t,r,o),o?(i=u,u=c=0===c?c:c+1):i=c===r-1?c:c-1,{x:a,y:u,width:Math.max(s-a+1,1),height:Math.max(i-u+1,1)}}function Re(e,t,n){return Math.min(Math.round(e*t),n-1)}function We(e,t,n,r){return r?Math.max(0,n-1-Math.round(e*t)):Math.min(Math.round(e*t),n-1)}var Ne=Object(Ve.a)(),De=Ne&&"undefined"!=typeof document,He={webgl2:!0,webgl1:!0,throwOnError:!0,manageState:!0,canvas:null,debug:!1,width:800,height:600};function ze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};M(Ne,"createGLContext only available in the browser.\nCreate your own headless context or use 'createHeadlessContext' from @luma.gl/test-utils");var t,n=e=Object.assign({},He,e),r=n.width,o=n.height;function i(t){if(e.throwOnError)throw new Error(t);return console.error(t),null}e.onError=i;var a=e,u=a.canvas,c=Ye({canvas:u,width:r,height:o,onError:i});return(t=Qe(c,e))?(Ke(t=Ue(t,e)),t):null}function Ue(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||e._instrumented)return e;e._version=e._version||Je(e),e.luma=e.luma||{},e.luma.canvasSizeInfo=e.luma.canvasSizeInfo||{};var n=t=Object.assign({},He,t),r=n.manageState,o=n.debug;return r&&Oe(e,{copyState:!1,log:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return I.log.apply(I,[1].concat(t))()}}),Ne&&o&&(globalThis.makeDebugContext?(e=globalThis.makeDebugContext(e,t),I.level=Math.max(I.level,1)):I.warn('WebGL debug mode not activated. import "@luma.gl/debug" to enable.')()),e._instrumented=!0,e}function Xe(e){var t=e.getParameter(7936),n=e.getParameter(7937),r=e.getExtension("WEBGL_debug_renderer_info");return{vendor:r&&e.getParameter(r.UNMASKED_VENDOR_WEBGL||7936)||t,renderer:r&&e.getParameter(r.UNMASKED_RENDERER_WEBGL||7937)||n,vendorMasked:t,rendererMasked:n,version:e.getParameter(7938),shadingLanguageVersion:e.getParameter(35724)}}function qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.canvas){var n=Me(t.useDevicePixels);$e(e,n,t)}else{var r=e.getExtension("STACKGL_resize_drawingbuffer");r&&"width"in t&&"height"in t&&r.resize(t.width,t.height)}}function Qe(e,t){var n=t.onError,r=null,o=function(e){return r=e.statusMessage||r};e.addEventListener("webglcontextcreationerror",o,!1);var i=t.webgl1,a=void 0===i||i,u=t.webgl2,c=void 0===u||u,s=null;return c&&(s=(s=s||e.getContext("webgl2",t))||e.getContext("experimental-webgl2",t)),a&&(s=(s=s||e.getContext("webgl",t))||e.getContext("experimental-webgl",t)),e.removeEventListener("webglcontextcreationerror",o,!1),s?(t.onContextLost&&e.addEventListener("webglcontextlost",t.onContextLost,!1),t.onContextRestored&&e.addEventListener("webglcontextrestored",t.onContextRestored,!1),s):n("Failed to create ".concat(c&&!a?"WebGL2":"WebGL"," context: ").concat(r||"Unknown error"))}function Ye(e){var t,n=e.canvas,r=e.width,o=void 0===r?800:r,i=e.height,a=void 0===i?600:i,u=e.onError;"string"==typeof n?(De&&"complete"===document.readyState||u("createGLContext called on canvas '".concat(n,"' before page was loaded")),t=document.getElementById(n)):n?t=n:((t=document.createElement("canvas")).id="lumagl-canvas",t.style.width=Number.isFinite(o)?"".concat(o,"px"):"100%",t.style.height=Number.isFinite(a)?"".concat(a,"px"):"100%",document.body.insertBefore(t,document.body.firstChild));return t}function Ke(e){var t=R(e)?"WebGL2":"WebGL1",n=Xe(e),r=n?"(".concat(n.vendor,",").concat(n.renderer,")"):"",o=e.debug?" debug":"";I.info(1,"".concat(t).concat(o," context ").concat(r))()}function Je(e){return"undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext?2:1}function $e(e,t,n){var r="width"in n?n.width:e.canvas.clientWidth,o="height"in n?n.height:e.canvas.clientHeight;r&&o||(I.log(1,"Canvas clientWidth/clientHeight is 0")(),t=1,r=e.canvas.width||1,o=e.canvas.height||1),e.luma=e.luma||{},e.luma.canvasSizeInfo=e.luma.canvasSizeInfo||{};var i=e.luma.canvasSizeInfo;if(i.clientWidth!==r||i.clientHeight!==o||i.devicePixelRatio!==t){var a=t,u=Math.floor(r*a),c=Math.floor(o*a);e.canvas.width=u,e.canvas.height=c,e.drawingBufferWidth===u&&e.drawingBufferHeight===c||(I.warn("Device pixel ratio clamped")(),a=Math.min(e.drawingBufferWidth/r,e.drawingBufferHeight/o),e.canvas.width=Math.floor(r*a),e.canvas.height=Math.floor(o*a)),Object.assign(e.luma.canvasSizeInfo,{clientWidth:r,clientHeight:o,devicePixelRatio:t})}}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(2),o=n.n(r),i=n(12);function a(){return!("object"===(void 0===e?"undefined":o()(e))&&"[object process]"===String(e)&&!e.browser)||Object(i.a)()}}).call(this,n(6))}])})); |
{ | ||
"name": "@luma.gl/gltools", | ||
"version": "8.5.14", | ||
"version": "8.5.15", | ||
"description": "WebGL2 API Polyfills for WebGL1 WebGLRenderingContext", | ||
@@ -32,3 +32,3 @@ "license": "MIT", | ||
"@babel/runtime": "^7.0.0", | ||
"@luma.gl/constants": "8.5.14", | ||
"@luma.gl/constants": "8.5.15", | ||
"@probe.gl/env": "^3.5.0", | ||
@@ -38,3 +38,3 @@ "@types/offscreencanvas": "^2019.7.0", | ||
}, | ||
"gitHead": "1a28c0572d27f06fb6427c7ad72bc1ac7a37c747" | ||
"gitHead": "2a9dceee72071b3a6df63e94736c6a68da357efb" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
740100
100
+ Added@luma.gl/constants@8.5.15(transitive)
- Removed@luma.gl/constants@8.5.14(transitive)
Updated@luma.gl/constants@8.5.15