@deck.gl/arcgis 8.9.0-alpha.5 → 8.9.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist.dev.js +500 -827
- package/dist.min.js +18 -1
- package/package.json +6 -5
package/dist.min.js
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("luma"),require("deck")):"function"==typeof define&&define.amd?define(["luma","deck"],t):"object"==typeof exports?exports.deck=t(require("luma"),require("deck")):e.deck=t(e.luma,e.deck)}(window,(function(e,t){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=9)}([function(e,t,r){var n=r(10),o=r(11),i=r(12);e.exports=function(e,t){return n(e)||o(e,t)||i()}},function(t,r){t.exports=e},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){e.exports=r(13)},function(e,t,r){!function(e){"use strict";var t={Promise:"undefined"!=typeof window?window.Promise:void 0};function r(e){if("next"===e.toLowerCase())return"next";var t=e&&e.match(/^(\d)\.(\d+)/);return t&&{major:parseInt(t[1],10),minor:parseInt(t[2],10)}}function n(e){return void 0===e&&(e="4.21"),"https://js.arcgis.com/"+e+"/"}function o(e){return!e||r(e)?function(e){void 0===e&&(e="4.21");var t=n(e),o=r(e);return"next"!==o&&3===o.major?t+(o.minor<=10?"js/":"")+"esri/css/esri.css":t+"esri/themes/light/main.css"}(e):e}function i(e,t){var r=o(e),n=function(e){return document.querySelector('link[href*="'+e+'"]')}(r);return n||function(e,t){if(t){var r=document.querySelector(t);r.parentNode.insertBefore(e,r)}else document.head.appendChild(e)}(n=function(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,t}(r),t),n}var a={};function c(e,t,r){var n;r&&(n=function(e,t){var r=function(n){t(n.error||new Error("There was an error attempting to load "+e.src)),e.removeEventListener("error",r,!1)};return e.addEventListener("error",r,!1),r}(e,r));var o=function(){t(e),e.removeEventListener("load",o,!1),n&&e.removeEventListener("error",n,!1)};e.addEventListener("load",o,!1)}function u(){return document.querySelector("script[data-esri-loader]")}function s(){var e=window.require;return e&&e.on}function l(e){void 0===e&&(e={});var r={};[a,e].forEach((function(e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}));var o=r.version,l=r.url||n(o);return new t.Promise((function(e,t){var n=u();if(n){var a=n.getAttribute("src");a!==l?t(new Error("The ArcGIS API for JavaScript is already loaded ("+a+").")):s()?e(n):c(n,e,t)}else if(s())t(new Error("The ArcGIS API for JavaScript is already loaded."));else{var f=r.css;f&&i(!0===f?o:f,r.insertCssBefore),c(n=function(e){var t=document.createElement("script");return t.type="text/javascript",t.src=e,t.setAttribute("data-esri-loader","loading"),t}(l),(function(){n.setAttribute("data-esri-loader","loaded"),e(n)}),t),document.body.appendChild(n)}}))}function f(e){return new t.Promise((function(t,r){var n=window.require.on("error",r);window.require(e,(function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];n.remove(),t(e)}))}))}e.utils=t,e.loadModules=function(e,t){if(void 0===t&&(t={}),s())return f(e);var r=u(),n=r&&r.getAttribute("src");return!t.url&&n&&(t.url=n),l(t).then((function(){return f(e)}))},e.getScript=u,e.isLoaded=s,e.loadScript=l,e.setDefaultOptions=function(e){void 0===e&&(e={}),a=e},e.loadCss=i,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,u,"next",e)}function u(e){r(a,o,i,c,u,"throw",e)}c(void 0)}))}}},function(e,r){e.exports=t},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 r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(e,t,r){var n=r(14),o=globalThis.deck||{};if(!o.Layer)throw new Error("@deck.gl/core is not found");e.exports=Object.assign(o,n)},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof l?t:l,i=Object.create(o.prototype),a=new k(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=g(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=u(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function l(){}function f(){}function d(){}var h={};h[o]=function(){return this};var v=Object.getPrototypeOf,p=v&&v(v(O([])));p&&p!==t&&r.call(p,o)&&(h=p);var y=d.prototype=l.prototype=Object.create(h);function m(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function w(e){var t;this._invoke=function(n,o){function i(){return new Promise((function(t,i){!function t(n,o,i,a){var c=u(e[n],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(l).then((function(e){s.value=e,i(s)}),(function(e){return t("throw",e,i,a)}))}a(c.arg)}(n,o,t,i)}))}return t=t?t.then(i,i):i()}}function g(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,g(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:j}}function j(){return{value:void 0,done:!0}}return f.prototype=y.constructor=d,d.constructor=f,d[a]=f.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},m(w.prototype),w.prototype[i]=function(){return this},e.AsyncIterator=w,e.async=function(t,r,n,o){var i=new w(c(t,r,n,o));return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},m(y),y[a]="Generator",y[o]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=O,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:O(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){"use strict";r.r(t);var n=r(2),o=r.n(n),i=r(0),a=r.n(i),c=r(5),u=r.n(c),s=r(3),l=r.n(s);function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h={layers:{},layerFilter:{},parameters:{},effects:{},pickingRadius:{},onBeforeRender:{},onAfterRender:{},onClick:{},onHover:{},onDragStart:{},onDrag:{},onDragEnd:{},onError:{},debug:{},drawPickingColors:{},getCursor:{},getTooltip:{}};var v=r(6),p=r(1);function y(e){var t=this;Object(p.instrumentGLContext)(e),this.buffer=new p.Buffer(e,new Int8Array([-1,-1,1,-1,-1,1,1,1])),this.model=new p.Model(e,{vs:"\n attribute vec2 a_pos;\n varying vec2 v_texcoord;\n void main(void) {\n gl_Position = vec4(a_pos, 0.0, 1.0);\n v_texcoord = (a_pos + 1.0) / 2.0;\n }\n ",fs:"\n precision mediump float;\n uniform sampler2D u_texture;\n varying vec2 v_texcoord;\n void main(void) {\n vec4 rgba = texture2D(u_texture, v_texcoord);\n rgba.rgb *= rgba.a;\n gl_FragColor = rgba;\n }\n ",attributes:{a_pos:this.buffer},vertexCount:4,drawMode:5}),this.deckFbo=new p.Framebuffer(e,{width:1,height:1}),this.deckInstance=new v.Deck({viewState:{},controller:!1,gl:e,parameters:{depthTest:!0},_framebuffer:this.deckFbo,width:null,height:null,_customRender:function(e){"arcgis"===e?t.deckInstance._drawLayers(e):t.redraw()}})}function m(e){var t=this,r=e.gl,n=e.width,o=e.height,i=e.viewState,a=r.getParameter(36006),c=window.devicePixelRatio;n=Math.round(n*c),o=Math.round(o*c),this.deckFbo.resize({width:n,height:o}),this.deckInstance.setProps({viewState:i}),this.deckInstance.redraw("arcgis"),Object(p.withParameters)(r,{blend:!0,blendFunc:[1,771],framebuffer:a,viewport:[0,0,n,o]},(function(){t.model.setUniforms({u_texture:t.deckFbo}).draw()}))}function w(){var e,t,r,n;null===(e=this.deckInstance)||void 0===e||e.finalize(),this.deckInstance=null,null===(t=this.model)||void 0===t||t.delete(),null===(r=this.buffer)||void 0===r||r.delete(),null===(n=this.deckFbo)||void 0===n||n.delete()}var g=r(7),b=r.n(g),x=r(8),k=r.n(x);var O=r(4);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r.d(t,"loadArcGISModules",(function(){return _}));var S=null;function _(e,t){return P.apply(this,arguments)}function P(){return(P=u()(l.a.mark((function e(t,r){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Array.isArray(t)?null:t,e.next=3,E(n,r);case 3:if(!Array.isArray(t)){e.next=5;break}return e.abrupt("return",Object(O.loadModules)(t,r).then((function(e){return L(L({},S),{},{modules:e})})));case 5:return e.abrupt("return",S);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e,t){return S||(e?A(e.layers.Layer,e.core.Accessor,e.views["2d"].layers.BaseLayerViewGL2D,e.views["3d"].externalRenderers):Object(O.loadModules)(["esri/layers/Layer","esri/core/Accessor","esri/views/2d/layers/BaseLayerViewGL2D","esri/views/3d/externalRenderers"],t).then((function(e){var t=a()(e,4);return A(t[0],t[1],t[2],t[3])})))}function A(e,t,r,n){var i=function(e){return e.createSubclass({properties:h,constructor:function(){var e=this;this._callbacks={},this.watch(Object.keys(h),(function(t,r,n){e.emit("change",o()({},n,t))}))},on:function(e,t){this._callbacks[e]=this._callbacks[e]||[],this._callbacks[e].push(t)},emit:function(e,t){var r=this._callbacks[e];if(r){var n,o=f(r);try{for(o.s();!(n=o.n()).done;){(0,n.value)(t)}}catch(e){o.e(e)}finally{o.f()}}},toJSON:function(){var e,t={},r=f(this.keys());try{for(r.s();!(e=r.n()).done;){var n=e.value;void 0!==this[n]&&(t[n]=this[n])}}catch(e){r.e(e)}finally{r.f()}return t}})}(t),c=function(e,t,r){return t.createSubclass({properties:{deck:{},blendMode:{},effect:{}},constructor:function(){this.deck=new e},createLayerView:function(e){return"2d"===e.type?new r({view:e,layer:this}):(console.error("DeckLayer does not support SceneView at the moment. Use DeckRenderer instead."),null)}})}(i,e,function(e){return e.createSubclass({properties:{deckgl:{},deckFbo:{},model:{},buffer:{}},attach:function(){var e=this,t=this.context;y.call(this,t),this.layer.deck.on("change",(function(t){return e.deckInstance.setProps(t)})),this.deckInstance.setProps(this.layer.deck.toJSON())},redraw:function(){this.requestRender()},detach:function(){w.call(this)},render:function(e){var t=a()(this.view.state.size,2),r=t[0],n=t[1],o=e.state;m.call(this,{gl:e.context,width:r,height:n,viewState:{latitude:this.view.center.latitude,longitude:this.view.center.longitude,zoom:this.view.featuresTilingScheme.scaleToLevel(o.scale),bearing:-o.rotation,pitch:0}})}})}(r)),u=function(e,t){return function(){function r(t,n){b()(this,r),this.view=t,this.deck=new e(n)}return k()(r,[{key:"setup",value:function(e){var t=this,r=e.gl;y.call(this,r),this.deck.on("change",(function(e){return t.deckInstance.setProps(e)})),this.deckInstance.setProps(this.deck.toJSON())}},{key:"dispose",value:function(){w.call(this)}},{key:"redraw",value:function(){t.requestRender(this.view)}},{key:"render",value:function(e){var t,r,n,o,i=a()(this.view.size,2),c=i[0],u=i[1];m.call(this,{gl:e.gl,width:c,height:u,viewState:{latitude:this.view.center.latitude,longitude:this.view.center.longitude,altitude:(t=this.view.camera.fov,r=c/u,n=Math.sqrt(1+Math.pow(r,2)),o=t/2/180*Math.PI,n/2/Math.tan(o)),zoom:this.view.zoom,bearing:this.view.camera.heading,pitch:this.view.camera.tilt}})}}]),r}()}(i,n);return S={DeckLayer:c,DeckRenderer:u}}}])}));
|
|
1
|
+
"use strict";var deck=(()=>{var er=Object.create;var X=Object.defineProperty;var rr=Object.getOwnPropertyDescriptor;var tr=Object.getOwnPropertyNames;var nr=Object.getPrototypeOf,ir=Object.prototype.hasOwnProperty;var E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ar=(e,t)=>{for(var r in t)X(e,r,{get:t[r],enumerable:!0})},K=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of tr(t))!ir.call(e,u)&&u!==r&&X(e,u,{get:()=>t[u],enumerable:!(i=rr(t,u))||i.enumerable});return e},j=(e,t,r)=>(K(e,t,"default"),r&&K(r,t,"default")),L=(e,t,r)=>(r=e!=null?er(nr(e)):{},K(t||!e||!e.__esModule?X(r,"default",{value:e,enumerable:!0}):r,e)),or=e=>K(X({},"__esModule",{value:!0}),e);var Q=E((Lr,de)=>{de.exports=globalThis.deck});var ie=E((Pr,pe)=>{function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}pe.exports=ur});var ye=E((Er,me)=>{function sr(e){if(Array.isArray(e))return e}me.exports=sr});var ge=E((Ar,we)=>{function cr(e,t){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]"){var r=[],i=!0,u=!1,f=void 0;try{for(var l=e[Symbol.iterator](),v;!(i=(v=l.next()).done)&&(r.push(v.value),!(t&&r.length===t));i=!0);}catch(p){u=!0,f=p}finally{try{!i&&l.return!=null&&l.return()}finally{if(u)throw f}}return r}}we.exports=cr});var ke=E((Ir,be)=>{function fr(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}be.exports=fr});var Z=E((Or,_e)=>{var lr=ye(),hr=ge(),dr=ke();function vr(e,t){return lr(e)||hr(e,t)||dr()}_e.exports=vr});var Pe=E((Dr,Se)=>{function Le(e,t,r,i,u,f,l){try{var v=e[f](l),p=v.value}catch(g){r(g);return}v.done?t(p):Promise.resolve(p).then(i,u)}function pr(e){return function(){var t=this,r=arguments;return new Promise(function(i,u){var f=e.apply(t,r);function l(p){Le(f,i,u,l,v,"next",p)}function v(p){Le(f,i,u,l,v,"throw",p)}l(void 0)})}}Se.exports=pr});var Ae=E((Tr,ae)=>{var Ee=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,i,u=typeof Symbol=="function"?Symbol:{},f=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",v=u.toStringTag||"@@toStringTag";function p(a,n,o,d){var c=n&&n.prototype instanceof N?n:N,w=Object.create(c.prototype),_=new k(d||[]);return w._invoke=h(a,o,_),w}e.wrap=p;function g(a,n,o){try{return{type:"normal",arg:a.call(n,o)}}catch(d){return{type:"throw",arg:d}}}var F="suspendedStart",B="suspendedYield",U="executing",M="completed",S={};function N(){}function V(){}function R(){}var x={};x[f]=function(){return this};var C=Object.getPrototypeOf,q=C&&C(C(P([])));q&&q!==t&&r.call(q,f)&&(x=q);var G=R.prototype=N.prototype=Object.create(x);V.prototype=G.constructor=R,R.constructor=V,R[v]=V.displayName="GeneratorFunction";function Y(a){["next","throw","return"].forEach(function(n){a[n]=function(o){return this._invoke(n,o)}})}e.isGeneratorFunction=function(a){var n=typeof a=="function"&&a.constructor;return n?n===V||(n.displayName||n.name)==="GeneratorFunction":!1},e.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,R):(a.__proto__=R,v in a||(a[v]="GeneratorFunction")),a.prototype=Object.create(G),a},e.awrap=function(a){return{__await:a}};function s(a){function n(c,w,_,A){var O=g(a[c],a,w);if(O.type==="throw")A(O.arg);else{var I=O.arg,H=I.value;return H&&typeof H=="object"&&r.call(H,"__await")?Promise.resolve(H.__await).then(function(z){n("next",z,_,A)},function(z){n("throw",z,_,A)}):Promise.resolve(H).then(function(z){I.value=z,_(I)},function(z){return n("throw",z,_,A)})}}var o;function d(c,w){function _(){return new Promise(function(A,O){n(c,w,A,O)})}return o=o?o.then(_,_):_()}this._invoke=d}Y(s.prototype),s.prototype[l]=function(){return this},e.AsyncIterator=s,e.async=function(a,n,o,d){var c=new s(p(a,n,o,d));return e.isGeneratorFunction(n)?c:c.next().then(function(w){return w.done?w.value:c.next()})};function h(a,n,o){var d=F;return function(w,_){if(d===U)throw new Error("Generator is already running");if(d===M){if(w==="throw")throw _;return J()}for(o.method=w,o.arg=_;;){var A=o.delegate;if(A){var O=m(A,o);if(O){if(O===S)continue;return O}}if(o.method==="next")o.sent=o._sent=o.arg;else if(o.method==="throw"){if(d===F)throw d=M,o.arg;o.dispatchException(o.arg)}else o.method==="return"&&o.abrupt("return",o.arg);d=U;var I=g(a,n,o);if(I.type==="normal"){if(d=o.done?M:B,I.arg===S)continue;return{value:I.arg,done:o.done}}else I.type==="throw"&&(d=M,o.method="throw",o.arg=I.arg)}}}function m(a,n){var o=a.iterator[n.method];if(o===i){if(n.delegate=null,n.method==="throw"){if(a.iterator.return&&(n.method="return",n.arg=i,m(a,n),n.method==="throw"))return S;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return S}var d=g(o,a.iterator,n.arg);if(d.type==="throw")return n.method="throw",n.arg=d.arg,n.delegate=null,S;var c=d.arg;if(!c)return n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,S;if(c.done)n[a.resultName]=c.value,n.next=a.nextLoc,n.method!=="return"&&(n.method="next",n.arg=i);else return c;return n.delegate=null,S}Y(G),G[v]="Generator",G[f]=function(){return this},G.toString=function(){return"[object Generator]"};function y(a){var n={tryLoc:a[0]};1 in a&&(n.catchLoc=a[1]),2 in a&&(n.finallyLoc=a[2],n.afterLoc=a[3]),this.tryEntries.push(n)}function b(a){var n=a.completion||{};n.type="normal",delete n.arg,a.completion=n}function k(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(y,this),this.reset(!0)}e.keys=function(a){var n=[];for(var o in a)n.push(o);return n.reverse(),function d(){for(;n.length;){var c=n.pop();if(c in a)return d.value=c,d.done=!1,d}return d.done=!0,d}};function P(a){if(a){var n=a[f];if(n)return n.call(a);if(typeof a.next=="function")return a;if(!isNaN(a.length)){var o=-1,d=function c(){for(;++o<a.length;)if(r.call(a,o))return c.value=a[o],c.done=!1,c;return c.value=i,c.done=!0,c};return d.next=d}}return{next:J}}e.values=P;function J(){return{value:i,done:!0}}return k.prototype={constructor:k,reset:function(a){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(b),!a)for(var n in this)n.charAt(0)==="t"&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=i)},stop:function(){this.done=!0;var a=this.tryEntries[0],n=a.completion;if(n.type==="throw")throw n.arg;return this.rval},dispatchException:function(a){if(this.done)throw a;var n=this;function o(O,I){return w.type="throw",w.arg=a,n.next=O,I&&(n.method="next",n.arg=i),!!I}for(var d=this.tryEntries.length-1;d>=0;--d){var c=this.tryEntries[d],w=c.completion;if(c.tryLoc==="root")return o("end");if(c.tryLoc<=this.prev){var _=r.call(c,"catchLoc"),A=r.call(c,"finallyLoc");if(_&&A){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(_){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else if(A){if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(a,n){for(var o=this.tryEntries.length-1;o>=0;--o){var d=this.tryEntries[o];if(d.tryLoc<=this.prev&&r.call(d,"finallyLoc")&&this.prev<d.finallyLoc){var c=d;break}}c&&(a==="break"||a==="continue")&&c.tryLoc<=n&&n<=c.finallyLoc&&(c=null);var w=c?c.completion:{};return w.type=a,w.arg=n,c?(this.method="next",this.next=c.finallyLoc,S):this.complete(w)},complete:function(a,n){if(a.type==="throw")throw a.arg;return a.type==="break"||a.type==="continue"?this.next=a.arg:a.type==="return"?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):a.type==="normal"&&n&&(this.next=n),S},finish:function(a){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.finallyLoc===a)return this.complete(o.completion,o.afterLoc),b(o),S}},catch:function(a){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc===a){var d=o.completion;if(d.type==="throw"){var c=d.arg;b(o)}return c}}throw new Error("illegal catch attempt")},delegateYield:function(a,n,o){return this.delegate={iterator:P(a),resultName:n,nextLoc:o},this.method==="next"&&(this.arg=i),S}},e}(typeof ae=="object"?ae.exports:{});try{regeneratorRuntime=Ee}catch{Function("r","regeneratorRuntime = r")(Ee)}});var Oe=E((Gr,Ie)=>{Ie.exports=Ae()});var je=E((jr,Ce)=>{Ce.exports=globalThis.luma});var ze=E((zr,qe)=>{function yr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}qe.exports=yr});var Ve=E((Fr,Ne)=>{function Fe(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function wr(e,t,r){return t&&Fe(e.prototype,t),r&&Fe(e,r),e}Ne.exports=wr});var He=E((ne,Je)=>{(function(e,t){typeof ne=="object"&&typeof Je<"u"?t(ne):typeof define=="function"&&define.amd?define(["exports"],t):t(e.esriLoader=e.esriLoader||{})})(ne,function(e){"use strict";var t=typeof window<"u",r={Promise:t?window.Promise:void 0},i="4.21",u="next";function f(s){if(s.toLowerCase()===u)return u;var h=s&&s.match(/^(\d)\.(\d+)/);return h&&{major:parseInt(h[1],10),minor:parseInt(h[2],10)}}function l(s){return s===void 0&&(s=i),"https://js.arcgis.com/"+s+"/"}function v(s){s===void 0&&(s=i);var h=l(s),m=f(s);if(m!==u&&m.major===3){var y=m.minor<=10?"js/":"";return""+h+y+"esri/css/esri.css"}else return h+"esri/themes/light/main.css"}function p(s){var h=document.createElement("link");return h.rel="stylesheet",h.href=s,h}function g(s,h){if(h){var m=document.querySelector(h);m.parentNode.insertBefore(s,m)}else document.head.appendChild(s)}function F(s){return document.querySelector('link[href*="'+s+'"]')}function B(s){return!s||f(s)?v(s):s}function U(s,h){var m=B(s),y=F(m);return y||(y=p(m),g(y,h)),y}var M={};function S(s){var h=document.createElement("script");return h.type="text/javascript",h.src=s,h.setAttribute("data-esri-loader","loading"),h}function N(s,h,m){var y;m&&(y=V(s,m));var b=function(){h(s),s.removeEventListener("load",b,!1),y&&s.removeEventListener("error",y,!1)};s.addEventListener("load",b,!1)}function V(s,h){var m=function(y){h(y.error||new Error("There was an error attempting to load "+s.src)),s.removeEventListener("error",m,!1)};return s.addEventListener("error",m,!1),m}function R(s){s===void 0&&(s={}),M=s}function x(){return document.querySelector("script[data-esri-loader]")}function C(){var s=window.require;return s&&s.on}function q(s){s===void 0&&(s={});var h={};[M,s].forEach(function(b){for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(h[k]=b[k])});var m=h.version,y=h.url||l(m);return new r.Promise(function(b,k){var P=x();if(P){var J=P.getAttribute("src");J!==y?k(new Error("The ArcGIS API for JavaScript is already loaded ("+J+").")):C()?b(P):N(P,b,k)}else if(C())k(new Error("The ArcGIS API for JavaScript is already loaded."));else{var a=h.css;if(a){var n=a===!0;U(n?m:a,h.insertCssBefore)}P=S(y),N(P,function(){P.setAttribute("data-esri-loader","loaded"),b(P)},k),document.body.appendChild(P)}})}function G(s){return new r.Promise(function(h,m){var y=window.require.on("error",m);window.require(s,function(){for(var b=[],k=0;k<arguments.length;k++)b[k]=arguments[k];y.remove(),h(b)})})}function Y(s,h){if(h===void 0&&(h={}),C())return G(s);var m=x(),y=m&&m.getAttribute("src");return!h.url&&y&&(h.url=y),q(h).then(function(){return G(s)})}e.utils=r,e.loadModules=Y,e.getScript=x,e.isLoaded=C,e.loadScript=q,e.setDefaultOptions=R,e.loadCss=U,Object.defineProperty(e,"__esModule",{value:!0})})});var W={};ar(W,{loadArcGISModules:()=>br});var D={},ve=L(Q());j(D,L(Q()));if(!ve.Layer)throw new Error("@deck.gl/core is not found");j(W,D);var Xe=L(ie()),Qe=L(Z()),Ze=L(Pe()),fe=L(Oe());var Re=L(ie());function De(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=mr(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,u=function(){};return{s:u,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(g){throw g},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,l=!1,v;return{s:function(){r=r.call(e)},n:function(){var g=r.next();return f=g.done,g},e:function(g){l=!0,v=g},f:function(){try{!f&&r.return!=null&&r.return()}finally{if(l)throw v}}}}function mr(e,t){if(e){if(typeof e=="string")return Te(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Te(e,t)}}function Te(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var Ge={layers:{},layerFilter:{},parameters:{},effects:{},pickingRadius:{},onBeforeRender:{},onAfterRender:{},onClick:{},onHover:{},onDragStart:{},onDrag:{},onDragEnd:{},onError:{},debug:{},drawPickingColors:{},getCursor:{},getTooltip:{}};function oe(e){var t=e.createSubclass({properties:Ge,constructor:function(){var i=this;this._callbacks={},this.watch(Object.keys(Ge),function(u,f,l){i.emit("change",(0,Re.default)({},l,u))})},on:function(i,u){this._callbacks[i]=this._callbacks[i]||[],this._callbacks[i].push(u)},emit:function(i,u){var f=this._callbacks[i];if(f){var l=De(f),v;try{for(l.s();!(v=l.n()).done;){var p=v.value;p(u)}}catch(g){l.e(g)}finally{l.f()}}},toJSON:function(){var i={},u=De(this.keys()),f;try{for(u.s();!(f=u.n()).done;){var l=f.value;this[l]!==void 0&&(i[l]=this[l])}}catch(v){u.e(v)}finally{u.f()}return i}});return t}function ue(e,t,r){return t.createSubclass({properties:{deck:{},blendMode:{},effect:{}},constructor:function(){this.deck=new e},createLayerView:function(u){return u.type==="2d"?new r({view:u,layer:this}):(console.error("DeckLayer does not support SceneView at the moment. Use DeckRenderer instead."),null)}})}var xe=L(Z());var Me=L(Q()),T=L(je());function ee(e){var t=this;(0,T.instrumentGLContext)(e),this.buffer=new T.Buffer(e,new Int8Array([-1,-1,1,-1,-1,1,1,1])),this.model=new T.Model(e,{vs:`
|
|
3
|
+
attribute vec2 a_pos;
|
|
4
|
+
varying vec2 v_texcoord;
|
|
5
|
+
void main(void) {
|
|
6
|
+
gl_Position = vec4(a_pos, 0.0, 1.0);
|
|
7
|
+
v_texcoord = (a_pos + 1.0) / 2.0;
|
|
8
|
+
}
|
|
9
|
+
`,fs:`
|
|
10
|
+
precision mediump float;
|
|
11
|
+
uniform sampler2D u_texture;
|
|
12
|
+
varying vec2 v_texcoord;
|
|
13
|
+
void main(void) {
|
|
14
|
+
vec4 rgba = texture2D(u_texture, v_texcoord);
|
|
15
|
+
rgba.rgb *= rgba.a;
|
|
16
|
+
gl_FragColor = rgba;
|
|
17
|
+
}
|
|
18
|
+
`,attributes:{a_pos:this.buffer},vertexCount:4,drawMode:5}),this.deckFbo=new T.Framebuffer(e,{width:1,height:1}),this.deckInstance=new Me.Deck({viewState:{},controller:!1,gl:e,parameters:{depthTest:!0},_framebuffer:this.deckFbo,width:null,height:null,_customRender:function(i){i==="arcgis"?t.deckInstance._drawLayers(i):t.redraw()}})}function re(e){var t=this,r=e.gl,i=e.width,u=e.height,f=e.viewState,l=r.getParameter(36006),v=window.devicePixelRatio;i=Math.round(i*v),u=Math.round(u*v),this.deckFbo.resize({width:i,height:u}),this.deckInstance.setProps({viewState:f}),this.deckInstance.redraw("arcgis"),(0,T.withParameters)(r,{blend:!0,blendFunc:[1,771],framebuffer:l,viewport:[0,0,i,u]},function(){t.model.setUniforms({u_texture:t.deckFbo}).draw()})}function te(){var e,t,r,i;(e=this.deckInstance)===null||e===void 0||e.finalize(),this.deckInstance=null,(t=this.model)===null||t===void 0||t.delete(),(r=this.buffer)===null||r===void 0||r.delete(),(i=this.deckFbo)===null||i===void 0||i.delete()}function se(e){return e.createSubclass({properties:{deckgl:{},deckFbo:{},model:{},buffer:{}},attach:function(){var r=this,i=this.context;ee.call(this,i),this.layer.deck.on("change",function(u){return r.deckInstance.setProps(u)}),this.deckInstance.setProps(this.layer.deck.toJSON())},redraw:function(){this.requestRender()},detach:function(){te.call(this)},render:function(r){var i=(0,xe.default)(this.view.state.size,2),u=i[0],f=i[1],l=r.state;re.call(this,{gl:r.context,width:u,height:f,viewState:{latitude:this.view.center.latitude,longitude:this.view.center.longitude,zoom:this.view.featuresTilingScheme.scaleToLevel(l.scale),bearing:-l.rotation,pitch:0}})}})}var $e=L(Z()),Be=L(ze()),Ue=L(Ve());function gr(e,t){var r=Math.sqrt(1+Math.pow(t,2)),i=e/2/180*Math.PI;return r/2/Math.tan(i)}function ce(e,t){var r=function(){function i(u,f){(0,Be.default)(this,i),this.view=u,this.deck=new e(f)}return(0,Ue.default)(i,[{key:"setup",value:function(f){var l=this,v=f.gl;ee.call(this,v),this.deck.on("change",function(p){return l.deckInstance.setProps(p)}),this.deckInstance.setProps(this.deck.toJSON())}},{key:"dispose",value:function(){te.call(this)}},{key:"redraw",value:function(){t.requestRender(this.view)}},{key:"render",value:function(f){var l=(0,$e.default)(this.view.size,2),v=l[0],p=l[1];re.call(this,{gl:f.gl,width:v,height:p,viewState:{latitude:this.view.center.latitude,longitude:this.view.center.longitude,altitude:gr(this.view.camera.fov,v/p),zoom:this.view.zoom,bearing:this.view.camera.heading,pitch:this.view.camera.tilt}})}}]),i}();return r}var he=L(He());function We(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),r.push.apply(r,i)}return r}function Ye(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?We(Object(r),!0).forEach(function(i){(0,Xe.default)(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}var $=null;function br(e,t){return le.apply(this,arguments)}function le(){return le=(0,Ze.default)(fe.default.mark(function e(t,r){var i;return fe.default.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return i=Array.isArray(t)?null:t,f.next=3,kr(i,r);case 3:if(!Array.isArray(t)){f.next=5;break}return f.abrupt("return",(0,he.loadModules)(t,r).then(function(l){return Ye(Ye({},$),{},{modules:l})}));case 5:return f.abrupt("return",$);case 6:case"end":return f.stop()}},e)})),le.apply(this,arguments)}function kr(e,t){if($)return $;if(e){var r=e.layers.Layer,i=e.core.Accessor,u=e.views["2d"].layers.BaseLayerViewGL2D,f=e.views["3d"].externalRenderers;return Ke(r,i,u,f)}return(0,he.loadModules)(["esri/layers/Layer","esri/core/Accessor","esri/views/2d/layers/BaseLayerViewGL2D","esri/views/3d/externalRenderers"],t).then(function(l){var v=(0,Qe.default)(l,4),p=v[0],g=v[1],F=v[2],B=v[3];return Ke(p,g,F,B)})}function Ke(e,t,r,i){var u=oe(t),f=se(r),l=ue(u,e,f),v=ce(u,i);return $={DeckLayer:l,DeckRenderer:v},$}return or(W);})();
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@deck.gl/arcgis",
|
|
3
3
|
"description": "Use deck.gl as a custom ArcGIS API for JavaScript layer",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "8.9.0-
|
|
5
|
+
"version": "8.9.0-beta.1",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -26,15 +26,16 @@
|
|
|
26
26
|
],
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"scripts": {
|
|
29
|
-
"build-bundle": "
|
|
30
|
-
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env
|
|
29
|
+
"build-bundle": "ocular-bundle ./bundle.ts",
|
|
30
|
+
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@arcgis/core": "^4.0.0",
|
|
34
|
-
"@deck.gl/core": "^8.0.0"
|
|
34
|
+
"@deck.gl/core": "^8.0.0",
|
|
35
|
+
"@luma.gl/core": "^8.0.0"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
38
|
"esri-loader": "^3.3.0"
|
|
38
39
|
},
|
|
39
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "47223d1ea084c3f9b0c9f0f9736682850bb5db85"
|
|
40
41
|
}
|