visionforge/demo/playground/notebooks/demo3D.ipynb

340 lines
7.0 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"pycharm": {
"is_executing": true
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
" <div id=\"kotlin_out_0\"/>\n",
" <script type=\"text/javascript\">\n",
" if(!window.kotlinQueues) {\n",
" window.kotlinQueues = {};\n",
" }\n",
" if(!window.kotlinQueues[\"VisionForge\"]) {\n",
" var resQueue = [];\n",
" window.kotlinQueues[\"VisionForge\"] = resQueue;\n",
" window[\"call_VisionForge\"] = function(f) {\n",
" resQueue.push(f);\n",
" }\n",
" }\n",
" (function (){\n",
" var modifiers = [(function(script) {\n",
" script.textContent = \"/*! For license information please see visionforge-playground.js.LICENSE.txt */\\n!function(t,e){\\\"object\\\"==typeof exports&&\\\"object\\\"==typeof module?module.exports=e():\\\"function\\\"==typeof define&&define.amd?define([],e):\\\"object\\\"==typeof exports?exports.playground=e():t.playground=e()}(this,(()=>(()=>{var t={1354:(t,e,n)=>{\\\"use strict\\\";function r(t){return r=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},r(t)}function i(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if(\\\"undefined\\\"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t[\\\"@@iterator\\\"])return Array.from(t)}(t)||o(t)||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 o(t,e){if(t){if(\\\"string\\\"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\\\"Object\\\"===n&&t.constructor&&(n=t.constructor.name),\\\"Map\\\"===n||\\\"Set\\\"===n?Array.from(t):\\\"Arguments\\\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t){return Object.entries(t).reduce((function(t,e){var n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\\\"undefined\\\"!=typeof Symbol&&t[Symbol.iterator]||t[\\\"@@iterator\\\"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||o(t,e)||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.\\\")}()}(e,2),r=n[0];return n[1]?[].concat(i(t),[r]):t}),[])}function l(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return!!t})).reduce((function(t,e){return\\\"object\\\"===r(e)?[].concat(i(t),i(s(e))):[].concat(i(t),[e])}),[]).join(\\\" \\\")}n.d(e,{Z:()=>l}),n(3898),n(7998),n(1363),n(2452),n(4910),n(3987),n(8441),n(6250),n(9980),n(6783),n(2060),n(9763),n(403),n(7610),n(2992),n(1452),n(6545)},9309:(t,e,n)=>{\\\"use strict\\\";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n.d(e,{Dz:()=>s,Fe:()=>o,PF:()=>m,Ql:()=>c,SU:()=>p,Wi:()=>i,c6:()=>h,gp:()=>u,mX:()=>l,zy:()=>d}),n(8118),n(8742),n(4456),n(7998),n(5415),n(3987),n(6545),n(8679),n(1363),n(769),n(2060),n(2831),n(9763),n(403),n(8441),n(6250),n(9980),n(6783),n(7610),n(2992),n(1452),n(2010);var i=window.getComputedStyle.bind(window);function o(t){return t===document||t instanceof Node&&document.documentElement.contains(t.parentNode)}var a={top:0,right:0,bottom:0,left:0,width:0,height:0};function s(t){if(t instanceof Range||o(t)){var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}return Object.assign({},a)}function l(){return\\\"devicePixelRatio\\\"in window?window.devicePixelRatio:1}function u(){return window.innerHeight}function c(t){var e=s(t),n=e.top,r=e.bottom,i=e.left,o=e.right;return!(r<0||o<0||u()-n<0||window.innerWidth-i<0)}function h(){return document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop}function p(){return document.documentElement&&document.documentElement.scrollLeft||document.body.scrollLeft}var f=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\\\"\\\";n.split(/\\\\s+/g).filter((function(t){return!!t})).forEach((function(n){return e[t](n)}))}};f(\\\"add\\\"),f(\\\"remove\\\");var d=function(){function t(){var e,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}(this,t),e=this,n=\\\"_all\\\",r=new Set,n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e._all=r}var e,n;return e=t,(n=[{key:\\\"add\\\",value:function(t,e,n,r){t.addEventListener(e,n,r);var i=function(){return t.removeEventListener(e,n,r)};return this._all.add(i),i}},{key:\\\"remove\\\",value:function(t){t(),this._all.delete(t)}},{key:\\\"removeAll\\\",value:function(){var t=this;this._all.forEach((function(e){return t.remove(e)}))}}])&&r(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),t}();function m(t){t.preventDefault&&t.preventDefault()}},5055:(t,e,n)=>{\\\"use strict\\\";function r(t){var e=new Map,n=new WeakMap;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\\\"__singleValue__\\\",i=r instanceof Object?n:e;if(i.has(r))return i.get(r);var o=t(r);return i.set(r,o),o}}n.d(e,{Z:()=>r}),n(2060),n(2840),n(7998),n(9763),n(403),n(1519)},5115:(t,e,n)=>{\\\"use strict\\\";function r(t){var e,n,r=!1;function i(){n=window.requestAnimationFrame((function(){e(),r?(r=!1,i()):(n=null,e=null)}))}return function(o){e=o,n?t&&(r=!0):i()}}n.d(e,{Z:()=>r})},3453:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{AdaptiveIsland:()=>ht,Content:()=>J,Header:()=>z,default:()=>lt}),n(3238),n(8118),n(5961),n(7998),n(6229),n(1879),n(769),n(1652),n(6250),n(8742),n(9980),n(6783),n(2060),n(9763),n(403),n(2010);var r=n(6204),i=n(7641),o=n.n(i),a=n(5681),s=n.n(a),l=n(1354);function u(t,e,n){return function(t,e,n){return{y:function(r){return+e+(r-t)*n},x:function(r){return+t+(r-e)/n}}}(t,t,n).y(e)}function c(t){return c=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},c(t)}function h(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function d(t,e){if(e&&(\\\"object\\\"===c(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return m(t)}function m(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n(2452);var y=(0,r.createContext)(),_=(0,r.createContext)(),b=n(5637),x=n.n(b);function w(t){return w=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},w(t)}var A=[\\\"children\\\",\\\"className\\\",\\\"wrapWithTitle\\\",\\\"border\\\",\\\"phase\\\"];function C(){return C=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},C.apply(this,arguments)}function M(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function E(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function T(t,e){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},T(t,e)}function S(t,e){if(e&&(\\\"object\\\"===w(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function k(t){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},k(t)}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var I={FONT_SIZE:24,LINE_HEIGHT:28,PADDING:16},L={FONT_SIZE:13,LINE_HEIGHT:28,X:.4,Y:.1,SPACING:1.09},P=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&T(t,e)}(l,t);var e,n,i,o,a=(i=l,o=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=k(i);if(o){var n=k(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return S(this,t)});function l(){return M(this,l),a.apply(this,arguments)}return e=l,(n=[{key:\\\"style\\\",value:function(t){return u(I[t]||0,L[t]||0,this.props.phase)}},{key:\\\"render\\\",value:function(){var t=this.props,e=t.children,n=t.className,i=t.wrapWithTitle,o=t.border,a=t.phase,l=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,A),u=s()(x().header,n,O({},x().withBottomBorder,o||a>=.5)),c=null!=a?{lineHeight:\\\"\\\".concat(this.style(\\\"LINE_HEIGHT\\\"),\\\"px\\\"),paddingTop:this.style(\\\"PADDING\\\")}:null,h=null!=a&&this.style(\\\"FONT_SIZE\\\")/I.FONT_SIZE,p=null!=a&&a<1?{fontSize:I.FONT_SIZE,transform:\\\"translate(\\\".concat(this.style(\\\"X\\\"),\\\"px, \\\").concat(this.style(\\\"Y\\\"),\\\"px) scale(\\\").concat(h,\\\")\\\"),letterSpacing:this.style(\\\"SPACING\\\")}:null;return r.createElement(\\\"div\\\",C({},l,{\\\"data-test\\\":\\\"ring-island-header\\\",className:u,style:c}),i&&r.createElement(\\\"h2\\\",{className:x().title,style:p},e),!i&&e)}}])&&E(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),l}(r.Component);O(P,\\\"propTypes\\\",{children:o().node,className:o().string,border:o().bool,wrapWithTitle:o().bool,phase:o().number}),O(P,\\\"defaultProps\\\",{wrapWithTitle:!0});const z=function(t){return r.createElement(y.Consumer,null,(function(e){var n=null!=e?{phase:e}:{};return r.createElement(P,C({},t,n))}))};var R=n(410),D=n.n(R),$=n(5115);function B(t){return B=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},B(t)}var N=[\\\"children\\\",\\\"className\\\",\\\"bottomBorder\\\",\\\"scrollableWrapperClassName\\\",\\\"onScroll\\\",\\\"onScrollToBottom\\\",\\\"fade\\\"];function F(){return F=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},F.apply(this,arguments)}function j(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function U(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function q(t,e){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},q(t,e)}function V(t,e){if(e&&(\\\"object\\\"===B(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return H(t)}function H(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function G(t){return G=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},G(t)}function W(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var X=(0,$.Z)(),Y=function(){},Z=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&q(t,e)}(l,t);var e,n,i,o,a=(i=l,o=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=G(i);if(o){var n=G(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return V(this,t)});function l(){var t;j(this,l);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return W(H(t=a.call.apply(a,[this].concat(n))),\\\"state\\\",{scrolledToTop:!0,scrolledToBottom:!1}),W(H(t),\\\"resizeDetector\\\",D()({strategy:\\\"scroll\\\"})),W(H(t),\\\"setWrapper\\\",(function(e){e&&(t.wrapperNode=e,t.resizeDetector.listenTo(e,t.calculateScrollPosition))})),W(H(t),\\\"calculateScrollPosition\\\",(function(){return X((function(){var e=H(t).scrollableNode;if(e){var n=e.scrollTop,r=e.scrollHeight,i=0===n,o=e.offsetHeight+n>=r-16;o&&t.props.onScrollToBottom(),t.setState({scrolledToTop:i,scrolledToBottom:o})}}))})),W(H(t),\\\"onScroll\\\",(function(){t.props.onScroll(t.scrollableNode),t.calculateScrollPosition()})),W(H(t),\\\"setScrollableNodeAndCalculatePosition\\\",(function(e){e&&(t.scrollableNode=e,t.calculateScrollPosition())})),t}return e=l,(n=[{key:\\\"componentWillUnmount\\\",value:function(){this.scrollableNode=null,this.wrapperNode&&this.resizeDetector.removeAllListeners(this.wrapperNode)}},{key:\\\"render\\\",value:function(){var t,e=this.props,n=e.children,i=e.className,o=e.bottomBorder,a=e.scrollableWrapperClassName,l=(e.onScroll,e.onScrollToBottom,e.fade),u=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(e,N),c=this.state,h=c.scrolledToTop,p=c.scrolledToBottom,f=s()(x().content,i,(W(t={},x().contentWithTopFade,l&&!h),W(t,x().contentWithBottomFade,l&&!p),W(t,x().withTransparentBottomBorder,o),W(t,x().withBottomBorder,o&&!p),t)),d=s()(x().scrollableWrapper,a);return r.createElement(\\\"div\\\",F({},u,{\\\"data-test\\\":\\\"ring-island-content\\\",className:f}),r.createElement(\\\"div\\\",{tabIndex:0,\\\"data-scrollable-container\\\":!0,className:d,ref:this.setScrollableNodeAndCalculatePosition,onScroll:l?this.onScroll:Y},l&&r.createElement(\\\"div\\\",{ref:this.setWrapper},n),!l&&n))}}])&&U(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),l}(r.Component);W(Z,\\\"propTypes\\\",{children:o().node,className:o().string,scrollableWrapperClassName:o().string,fade:o().bool,bottomBorder:o().bool,onScroll:o().func,onScrollToBottom:o().func}),W(Z,\\\"defaultProps\\\",{fade:!0,bottomBorder:!1,onScroll:Y,onScrollToBottom:Y});var K=(0,r.forwardRef)((function(t,e){return r.createElement(_.Consumer,null,(function(n){var i=null!=n?{onScroll:n,bottomBorder:!0}:{};return r.createElement(Z,F({},t,i,{ref:e}))}))}));K.displayName=\\\"ContentWrapper\\\";const J=K;function Q(t){return Q=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Q(t)}var tt=[\\\"children\\\",\\\"className\\\",\\\"narrow\\\",\\\"withoutPaddings\\\",\\\"data-test\\\"];function et(){return et=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},et.apply(this,arguments)}function nt(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function rt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function it(t,e){return it=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},it(t,e)}function ot(t,e){if(e&&(\\\"object\\\"===Q(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},at(t)}function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var lt=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&it(t,e)}(u,t);var e,n,i,o,a=(i=u,o=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=at(i);if(o){var n=at(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ot(this,t)});function u(){return nt(this,u),a.apply(this,arguments)}return e=u,(n=[{key:\\\"render\\\",value:function(){var t,e=this.props,n=e.children,i=e.className,o=e.narrow,a=e.withoutPaddings,u=e[\\\"data-test\\\"],c=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(e,tt),h=s()(x().island,i,(st(t={},x().narrowIsland,o),st(t,x().withoutPaddings,a),t));return r.createElement(\\\"div\\\",et({},c,{className:h,\\\"data-test\\\":(0,l.Z)(\\\"ring-island\\\",u)}),n)}}])&&rt(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),u}(r.Component);st(lt,\\\"propTypes\\\",{children:o().node,className:o().string,narrow:o().bool,withoutPaddings:o().bool,\\\"data-test\\\":o().string});var ut,ct,ht=(ut=lt,ct=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&f(t,e)}(s,t);var e,n,i,o,a=(i=s,o=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=v(i);if(o){var n=v(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return d(this,t)});function s(){var t;h(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return g(m(t=a.call.apply(a,[this].concat(n))),\\\"state\\\",{phase:0}),g(m(t),\\\"onContentScroll\\\",(function(e){var n=e.scrollTop;if(e.scrollHeight-e.clientHeight>=u(36,20,t.state.phase)){var r=Math.min(1,n/20);t.setState({phase:r})}})),t}return e=s,(n=[{key:\\\"render\\\",value:function(){return r.createElement(y.Provider,{value:this.state.phase},r.createElement(_.Provider,{value:this.onContentScroll},r.createElement(ut,this.props)))}}])&&p(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(r.Component),g(ct,\\\"propTypes\\\",ut.propTypes),ct)},81:(t,e,n)=>{\\\"use strict\\\";n.d(e,{Z:()=>g}),n(3238),n(8118),n(5961),n(7998),n(6229),n(1879),n(769),n(1652),n(6250),n(8742),n(9980),n(6783),n(2060),n(9763),n(403),n(2452),n(2010);var r=n(6204),i=n(7641),o=n.n(i);function a(t){return a=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},a(t)}var s=[\\\"onConditionalClick\\\",\\\"onPlainLeftClick\\\",\\\"activeClassName\\\",\\\"href\\\",\\\"children\\\"];function l(){return l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},l.apply(this,arguments)}function u(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function p(t,e){if(e&&(\\\"object\\\"===a(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return f(t)}function f(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var v=function(t){return!(0!==t.button||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey)},g=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&h(t,e)}(g,t);var e,n,i,o,a=(i=g,o=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=d(i);if(o){var n=d(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return p(this,t)});function g(){var t;u(this,g);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return m(f(t=a.call.apply(a,[this].concat(n))),\\\"onClick\\\",(function(e){var n=t.props,r=n.onClick,i=n.onConditionalClick,o=n.onPlainLeftClick,a=v(e);r&&r(e),i&&i(a,e),o&&a&&(e.preventDefault(),o(e))})),t}return e=g,(n=[{key:\\\"render\\\",value:function(){var t=this.props,e=(t.onConditionalClick,t.onPlainLeftClick,t.activeClassName,t.href),n=t.children,i=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,s);return r.createElement(\\\"a\\\",l({href:e},i,{onClick:this.onClick}),n)}}])&&c(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),g}(r.PureComponent);m(g,\\\"propTypes\\\",{onClick:o().func,onPlainLeftClick:o().func,onConditionalClick:o().func,activeClassName:o().string,href:o().string.isRequired,children:o().node.isRequired})},1095:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>E,linkHOC:()=>M,setCompatibilityMode:()=>A}),n(3238),n(8118),n(5961),n(7998),n(6229),n(1879),n(769),n(1652),n(6250),n(8742),n(9980),n(6783),n(2060),n(9763),n(403),n(9491),n(2010),n(7401);var r=n(6204),i=n(7641),o=n.n(i),a=n(5681),s=n.n(a),l=n(5055),u=n(1354),c=n(81),h=n(9731),p=n.n(h);function f(t){return f=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},f(t)}var d=[\\\"active\\\",\\\"inherit\\\",\\\"pseudo\\\",\\\"hover\\\",\\\"className\\\",\\\"data-test\\\",\\\"href\\\",\\\"innerClassName\\\",\\\"children\\\",\\\"onPlainLeftClick\\\",\\\"onClick\\\"];function m(){return m=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},m.apply(this,arguments)}function v(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function _(t,e){if(e&&(\\\"object\\\"===f(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=!1;function A(t){w=t}var C=(0,l.Z)((function(t){var e=(0,r.memo)((function(e){var n=e.className,i=e.children,o=s()(p().inner,n,t);return r.createElement(\\\"span\\\",{className:o},i)}));return e.propTypes={className:o().string,children:o().node},e}));function M(t){var e,n=\\\"string\\\"!=typeof t&&t!==c.Z;return e=function(e){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&y(t,e)}(h,e);var i,o,a,l,c=(a=h,l=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=b(a);if(l){var n=b(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return _(this,t)});function h(){return v(this,h),c.apply(this,arguments)}return i=h,(o=[{key:\\\"getChildren\\\",value:function(){var t=this.props,e=t.children,n=t.innerClassName,i=C(n);return\\\"function\\\"==typeof e?e(i):r.createElement(i,null,e)}},{key:\\\"render\\\",value:function(){var e,i=this.props,o=i.active,a=i.inherit,l=i.pseudo,c=i.hover,h=i.className,f=i[\\\"data-test\\\"],v=i.href,g=(i.innerClassName,i.children),y=i.onPlainLeftClick,_=i.onClick,b=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(i,d),A=l||!n&&null==v,C=s()(p().link,h,(x(e={},p().active,o),x(e,p().inherit,a),x(e,p().hover,c),x(e,p().compatibilityUnderlineMode,w),x(e,p().pseudo,A),x(e,p().text,\\\"function\\\"!=typeof g),e));return n&&!b.activeClassName&&(b.activeClassName=p().active),A?r.createElement(\\\"button\\\",m({type:\\\"button\\\"},b,{className:C,onClick:_||y,\\\"data-test\\\":(0,u.Z)(\\\"ring-link\\\",f)}),this.getChildren()):r.createElement(t,m({},b,{href:v,className:C,onClick:_,onPlainLeftClick:y,\\\"data-test\\\":(0,u.Z)(\\\"ring-link\\\",f)}),this.getChildren())}}])&&g(i.prototype,o),Object.defineProperty(i,\\\"prototype\\\",{writable:!1}),h}(r.Component),x(e,\\\"propTypes\\\",{className:o().string,innerClassName:o().string,active:o().bool,inherit:o().bool,pseudo:o().bool,hover:o().bool,children:o().oneOfType([o().node,o().func]),\\\"data-test\\\":o().string,href:o().string,onPlainLeftClick:o().func,onClick:o().func}),e}const E=M(c.Z)},2245:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>q}),n(3238),n(8118),n(5961),n(7998),n(6229),n(1879),n(769),n(1652),n(6250),n(8742),n(9980),n(6783),n(2060),n(9763),n(403),n(2010);var r=n(6204),i=n(5681),o=n.n(i),a=n(7641),s=n.n(a),l=(n(2452),n(1354)),u=(n(6609),n(4456),n(5415),n(3987),n(6545),n(9309)),c=n(8293),h=n.n(c);function p(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),t}var m=function(){function t(e){var n=e.x,r=e.y,i=e.radius,o=e.color;p(this,t),this.radius=i,this.x=n,this.y=r,this.color=o,this.decay=.01,this.life=1}return d(t,[{key:\\\"step\\\",value:function(){this.life-=this.decay}},{key:\\\"isAlive\\\",value:function(){return this.life>=0}},{key:\\\"draw\\\",value:function(t){var e=this.life>=0?this.life:0;t.fillStyle=\\\"rgba(\\\".concat(this.color.r,\\\", \\\").concat(this.color.g,\\\", \\\").concat(this.color.b,\\\", \\\").concat(e,\\\")\\\"),t.beginPath(),t.arc(this.x+this.radius,this.y+this.radius,this.radius,0,2*Math.PI),t.fill()}}]),t}();function v(){return.5}var g,y,_,b=function(){function t(e,n){p(this,t),this.props=Object.assign({},t.defaultProps,n),this.renderInNode(e),this.initializeLoader(),this.isRunning=!this.props.stop,this.isRunning?this.startAnimation():this.draw()}return d(t,[{key:\\\"setCanvasSize\\\",value:function(){var e=t.getPixelRatio(),n=this.props.size*e;this.canvas.width=n,this.canvas.height=n,this.canvas.style.width=\\\"\\\".concat(this.props.size,\\\"px\\\"),this.canvas.style.height=\\\"\\\".concat(this.props.size,\\\"px\\\"),this.ctx=this.canvas.getContext(\\\"2d\\\"),this.ctx.scale(e,e)}},{key:\\\"initializeLoader\\\",value:function(){this.setCanvasSize(),this.height=this.props.size,this.width=this.props.size,this.particles=[],this.baseSpeed=1,this.colorIndex=0,this.maxRadius=10,this.minRadius=6,this.colorChangeTick=40,this.x=0,this.y=0,this.radius=8,this.hSpeed=1.5,this.vSpeed=.5,this.radiusSpeed=.05,this.tick=0,this.prepareInitialState(100)}},{key:\\\"prepareInitialState\\\",value:function(t){for(var e=0;e<t;e++)this.step()}},{key:\\\"handleLimits\\\",value:function(t,e,n,r){var i=(this.props.deterministic?v:Math.random)(this.baseSpeed)-this.baseSpeed/2;return t+2*e+this.baseSpeed>=r?-(this.baseSpeed+i):t<=this.baseSpeed?this.baseSpeed+i:n}},{key:\\\"calculateNextCoordinates\\\",value:function(){this.x+=this.hSpeed,this.y+=this.vSpeed,this.hSpeed=this.handleLimits(this.x,this.radius,this.hSpeed,this.width),this.vSpeed=this.handleLimits(this.y,this.radius,this.vSpeed,this.height)}},{key:\\\"calculateNextRadius\\\",value:function(){this.radius+=this.radiusSpeed,(this.radius>this.maxRadius||this.radius<this.minRadius)&&(this.radiusSpeed=-this.radiusSpeed)}},{key:\\\"getNextColor\\\",value:function(){var e=this.props.colors,n=e[this.colorIndex],r=e[this.colorIndex+1]||e[0];return t.calculateGradient(n,r,this.tick/this.colorChangeTick)}},{key:\\\"nextTick\\\",value:function(){this.tick++,this.tick>this.colorChangeTick&&(this.tick=0,this.colorIndex++,this.colorIndex>this.props.colors.length-1&&(this.colorIndex=0))}},{key:\\\"step\\\",value:function(){this.nextTick(),this.calculateNextCoordinates(),this.calculateNextRadius(),this.particles.forEach((function(t){return t.step()})),this.particles.push(new m({x:this.x,y:this.y,radius:this.radius,color:this.getNextColor()}))}},{key:\\\"removeDeadParticles\\\",value:function(){this.particles=this.particles.filter((function(t){return t.isAlive()}))}},{key:\\\"draw\\\",value:function(){var t=this;this.ctx.clearRect(0,0,this.width,this.height),this.removeDeadParticles(),this.particles.forEach((function(e){return e.draw(t.ctx)}))}},{key:\\\"loop\\\",value:function(){var t=this;this.step(),this.draw(),this.isRunning&&window.requestAnimationFrame((function(){return t.loop()}))}},{key:\\\"updateMessage\\\",value:function(t){this.textNode.textContent=t||\\\"\\\"}},{key:\\\"stopAnimation\\\",value:function(){this.isRunning=!1,this.canvas.classList.remove(h().animate)}},{key:\\\"startAnimation\\\",value:function(){this.isRunning=!0,this.canvas.classList.add(h().animate),this.loop()}},{key:\\\"destroy\\\",value:function(){this.isRunning=!1}},{key:\\\"renderInNode\\\",value:function(t){return this.canvas=document.createElement(\\\"canvas\\\"),this.canvas.dataset.test=\\\"ring-loader\\\",this.canvas.classList.add(h().canvas),this.textNode=document.createElement(\\\"div\\\"),this.textNode.dataset.test=\\\"ring-loader-text\\\",this.textNode.classList.add(h().text),this.textNode.textContent=this.props.message?this.props.message:\\\"\\\",t.appendChild(this.canvas),t.appendChild(this.textNode),t}}],[{key:\\\"calculateGradient\\\",value:function(t,e,n){var r=function(t,e){return t+Math.round((e-t)*n)};return{r:r(t.r,e.r),g:r(t.g,e.g),b:r(t.b,e.b)}}},{key:\\\"getPixelRatio\\\",value:function(){return(0,u.mX)()}}]),t}();function x(t){return x=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},x(t)}_={size:64,stop:!1,deterministic:!1,colors:[{r:215,g:60,b:234},{r:145,g:53,b:224},{r:88,g:72,b:224},{r:37,g:183,b:255},{r:89,g:189,b:0},{r:251,g:172,b:2},{r:227,g:37,b:129}]},(y=\\\"defaultProps\\\")in(g=b)?Object.defineProperty(g,y,{value:_,enumerable:!0,configurable:!0,writable:!0}):g[y]=_;var w=[\\\"message\\\",\\\"size\\\",\\\"colors\\\",\\\"data-test\\\",\\\"stop\\\",\\\"deterministic\\\"];function A(){return A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},A.apply(this,arguments)}function C(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function M(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t,e){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},E(t,e)}function T(t,e){if(e&&(\\\"object\\\"===x(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return S(t)}function S(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function k(t){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},k(t)}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var I=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&E(t,e)}(s,t);var e,n,i,o,a=(i=s,o=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=k(i);if(o){var n=k(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return T(this,t)});function s(){var t;C(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return O(S(t=a.call.apply(a,[this].concat(n))),\\\"initLoader\\\",(function(e){e&&(t.loader=new b(e,t.props))})),t}return e=s,(n=[{key:\\\"componentDidUpdate\\\",value:function(t){this.loader&&(!t.stop&&this.props.stop?this.loader.stopAnimation():t.stop&&!this.props.stop&&this.loader.startAnimation())}},{key:\\\"componentWillUnmount\\\",value:function(){this.loader.destroy()}},{key:\\\"render\\\",value:function(){var t=this.props,e=(t.message,t.size,t.colors,t[\\\"data-test\\\"]),n=(t.stop,t.deterministic,function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,w));return r.createElement(\\\"div\\\",A({\\\"data-test\\\":(0,l.Z)(\\\"ring-loader\\\",e)},n,{ref:this.initLoader}))}}])&&M(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(r.PureComponent);O(I,\\\"propTypes\\\",{className:s().string,size:s().number,colors:s().array,message:s().string,\\\"data-test\\\":s().string,stop:s().bool,deterministic:s().bool});var L=n(7082),P=n.n(L);function z(t){return z=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},z(t)}var R=[\\\"message\\\",\\\"className\\\",\\\"containerClassName\\\"];function D(){return D=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},D.apply(this,arguments)}function $(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function N(t,e){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},N(t,e)}function F(t,e){if(e&&(\\\"object\\\"===z(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function j(t){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},j(t)}function U(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var q=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&N(t,e)}(l,t);var e,n,i,a,s=(i=l,a=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=j(i);if(a){var n=j(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return F(this,t)});function l(){return $(this,l),s.apply(this,arguments)}return e=l,(n=[{key:\\\"render\\\",value:function(){var t=this.props,e=t.message,n=t.className,i=t.containerClassName,a=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,R),s=o()(i,P().loaderScreen),l=o()(n,P().loader,U({},P().loaderWithoutSpacing,!e));return r.createElement(\\\"div\\\",{className:s},r.createElement(I,D({},a,{message:e,className:l})))}}])&&B(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),l}(r.PureComponent);U(q,\\\"propTypes\\\",{className:s().string,containerClassName:s().string,message:s().string})},5889:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{CustomItem:()=>o,SmartTabs:()=>Wa,Tab:()=>ts,Tabs:()=>Da});var r=n(7641),i=n.n(r),o=function(t){return t.children};o.propTypes={children:i().node.isRequired},n(3238),n(8118),n(5961),n(6229),n(1879),n(6250),n(9980),n(6783),n(2060),n(9763),n(403),n(769),n(1652),n(8742),n(2452),n(3987),n(7998),n(7984),n(2324),n(5591),n(2010);var a=n(6204),s=n(5681),l=n.n(s),u=n(5055),c=(n(2992),[\\\"theme\\\"]);function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},h.apply(this,arguments)}function p(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var f={LIGHT:\\\"light\\\",DARK:\\\"dark\\\"},d=(0,a.createContext)(null),m=function(t){var e,n;return\\\"string\\\"==typeof t?t:null!==(e=null!==(n=t.name)&&void 0!==n?n:t.displayName)&&void 0!==e?e:\\\"Component\\\"},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.LIGHT;return function(e){var n=(0,a.memo)((0,a.forwardRef)((function(n,r){var i=n.theme,o=p(n,c);return a.createElement(d.Consumer,null,(function(n){var s=i||n||t;return a.createElement(d.Provider,{value:s},a.createElement(e,h({ref:r},o,{theme:s})))}))})));return Object.assign(n,e),n.propTypes=e.propTypes,n.displayName=\\\"withTheme(\\\".concat(m(e),\\\")\\\"),n}};const g=f;var y=n(1354),_=n(7359),b=n.n(_),x=n(1095),w=[\\\"isSelected\\\",\\\"title\\\",\\\"collapsed\\\"];function A(t){var e=t.isSelected,n=t.title,r=t.collapsed,i=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,w),o=\\\"function\\\"==typeof n?n(e,r):n;return a.createElement(x.default,i,(function(){return a.createElement(\\\"div\\\",{className:b().container},a.createElement(\\\"span\\\",{className:b().visible},o),a.createElement(\\\"span\\\",{className:b().hidden},o),a.createElement(\\\"span\\\",{className:b().hiddenBold},o),a.createElement(\\\"span\\\",{className:b().hiddenRegular},o))}))}A.propTypes={isSelected:i().bool,collapsed:i().bool,title:i().oneOfType([i().func,i().string,i().node])};const C=(0,a.memo)(A);n(6098),n(8428),n(7610),n(5780),n(3898),n(6020),n(6545),n(4267),n(4456),n(5415),n(9961),n(1473),n(5995),n(8441),n(1452);var M=n(8749),E=n.n(M),T=n(4245),S=n.n(T),k={BOTTOM_RIGHT:\\\"BOTTOM_RIGHT\\\",BOTTOM_LEFT:\\\"BOTTOM_LEFT\\\",BOTTOM_CENTER:\\\"BOTTOM_CENTER\\\",TOP_LEFT:\\\"TOP_LEFT\\\",TOP_RIGHT:\\\"TOP_RIGHT\\\",TOP_CENTER:\\\"TOP_CENTER\\\",RIGHT_TOP:\\\"RIGHT_TOP\\\",RIGHT_BOTTOM:\\\"RIGHT_BOTTOM\\\",RIGHT_CENTER:\\\"RIGHT_CENTER\\\",LEFT_TOP:\\\"LEFT_TOP\\\",LEFT_BOTTOM:\\\"LEFT_BOTTOM\\\",LEFT_CENTER:\\\"LEFT_CENTER\\\"},O=[k.BOTTOM_RIGHT,k.BOTTOM_LEFT,k.TOP_LEFT,k.TOP_RIGHT,k.RIGHT_TOP,k.RIGHT_BOTTOM,k.LEFT_TOP,k.LEFT_BOTTOM],I={MARGIN:16,BORDER_WIDTH:1},L={TARGET:-1},P={SCREEN:-1},z=(n(4732),n(2138),n(2457)),R={};function D(t){if(!t)throw Error('Argument \\\"name\\\" is required in getUID()');return R[t]||(R[t]=0),t+String(R[t]++)}var $=n(5115),B=n(9309),N=(n(7745),n(5980),n(8679),n(3751),n(6089),n(2511)),F=n.n(N),j=n(4573),U=new(n.n(j)());U.sniff();const q=U;function V(t){return V=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},V(t)}function H(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function G(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var W=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}(this,t),G(this,\\\"ALLOW_SHORTCUTS_SELECTOR\\\",\\\".ring-js-shortcuts\\\"),G(this,\\\"ROOT_SCOPE\\\",{scopeId:\\\"ROOT\\\",options:{}}),G(this,\\\"_scopes\\\",{}),G(this,\\\"combokeys\\\",new(F())(document.documentElement)),G(this,\\\"trigger\\\",(function(t){return e.combokeys.trigger(t)})),G(this,\\\"_dispatcher\\\",(function(t,n){for(var r,i=e._scopeChain.length-1;i>=0;i--){var o=e._scopeChain[i];if((r=e._scopes[o.scopeId])&&r[n]){var a=r[n](t,n,o.scopeId);if(!0!==a)return a}if(o.options.modal)return!0}})),G(this,\\\"_defaultFilter\\\",(function(t,n,r){return n!==document&&!n.matches(e.ALLOW_SHORTCUTS_SELECTOR)&&!(null!=n.dataset.enabledShortcuts?n.dataset.enabledShortcuts.split(\\\",\\\").includes(r):null!=n.closest(e.ALLOW_SHORTCUTS_SELECTOR))&&(n.matches(\\\"input,select,textarea\\\")||n.contentEditable&&\\\"true\\\"===n.contentEditable)})),this.setFilter(),this.setScope()}var e,n;return e=t,n=[{key:\\\"bind\\\",value:function(t){if(!(t instanceof Object)||\\\"function\\\"!=typeof t.handler)throw new Error(\\\"Shortcut handler should exist\\\");if(t.scope||(t.scope=this.ROOT_SCOPE.scopeId),Array.isArray(t.key))for(var e=0;e<t.key.length;e++)this.bind(Object.assign({},t,{key:t.key[e]}));else{if(\\\"string\\\"!=typeof t.key)throw new Error(\\\"Shortcut key should exist\\\");this._scopes[t.scope]||(this._scopes[t.scope]={}),this._scopes[t.scope][t.key]=t.handler,this.combokeys.bind(t.key,this._dispatcher,this._getKeyboardEventType(t))}}},{key:\\\"bindMap\\\",value:function(t,e){if(!(t instanceof Object))throw new Error(\\\"Shortcuts map shouldn't be empty\\\");for(var n in t)t.hasOwnProperty(n)&&this.bind(Object.assign({},e||{},{key:n,handler:t[n]}))}},{key:\\\"unbindScope\\\",value:function(t){this._scopes[t]=null}},{key:\\\"getScope\\\",value:function(){return this._scopeChain.slice(1)}},{key:\\\"hasScope\\\",value:function(t){return-1!==this.indexOfScope(t)}},{key:\\\"pushScope\\\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t){var n=this.indexOfScope(t);-1!==n&&this._scopeChain.splice(n,1),this._scopeChain.push(this.wrapScope(t,e))}}},{key:\\\"popScope\\\",value:function(t){if(t){var e=this.indexOfScope(t);if(-1!==e)return this._scopeChain.splice(e,this._scopeChain.length-1)}}},{key:\\\"spliceScope\\\",value:function(t){if(t){var e=this.indexOfScope(t);-1!==e&&this._scopeChain.splice(e,1)}}},{key:\\\"setScope\\\",value:function(t){var e=this;if(t){var n;if(n=\\\"string\\\"==typeof t||!Array.isArray(t)&&\\\"object\\\"===V(t)&&null!==t?[t]:t,!Array.isArray(n))return;n=n.map((function(t){return\\\"string\\\"==typeof t?e.wrapScope(t):t})),this._scopeChain=[this.ROOT_SCOPE].concat(n)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:\\\"wrapScope\\\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{scopeId:t,options:e}}},{key:\\\"hasKey\\\",value:function(t,e){return!(!this._scopes[e]||!this._scopes[e][t])}},{key:\\\"_getKeyboardEventType\\\",value:function(t){return!t.type&&\\\"windows\\\"===q.os.name&&t.key.match(/ctrl/i)&&t.key.match(/shift/i)&&t.key.match(/[0-9]/)?\\\"keyup\\\":t.type}},{key:\\\"setFilter\\\",value:function(t){this.combokeys.stopCallback=\\\"function\\\"==typeof t?t:this._defaultFilter}},{key:\\\"indexOfScope\\\",value:function(t){return this._scopeChain.findIndex((function(e){return e.scopeId===t}))}},{key:\\\"reset\\\",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}],n&&H(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),t}();const X=new W;function Y(t){return Y=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Y(t)}function Z(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function K(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function J(t,e){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},J(t,e)}function Q(t,e){if(e&&(\\\"object\\\"===Y(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function tt(t){return tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},tt(t)}function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nt=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&J(t,e)}(a,t);var e,n,r,i,o=(r=a,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=tt(r);if(i){var n=tt(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Q(this,t)});function a(){return Z(this,a),o.apply(this,arguments)}return e=a,(n=[{key:\\\"componentDidMount\\\",value:function(){this.props.disabled||this.turnShorcutsOn()}},{key:\\\"componentDidUpdate\\\",value:function(t){var e=this.props.disabled;!t.disabled&&e&&this.turnShorcutsOff(),t.disabled&&!e&&this.turnShorcutsOn()}},{key:\\\"componentWillUnmount\\\",value:function(){this.props.disabled||this.turnShorcutsOff()}},{key:\\\"turnShorcutsOn\\\",value:function(){var t=this.props,e=t.map,n=t.scope,r=t.options;X.bindMap(e,this.props),X.pushScope(n,r)}},{key:\\\"turnShorcutsOff\\\",value:function(){var t=this.props.scope;X.unbindScope(t),X.spliceScope(t)}},{key:\\\"render\\\",value:function(){return this.props.children||null}}])&&K(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),a}(a.PureComponent);et(nt,\\\"propTypes\\\",{map:i().object.isRequired,scope:i().string.isRequired,options:i().object,disabled:i().bool,children:i().node}),et(nt,\\\"defaultProps\\\",{options:{}});var rt=n(6652),it=n.n(rt);function ot(t){return ot=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},ot(t)}var at=[\\\"children\\\",\\\"trapDisabled\\\",\\\"autoFocusFirst\\\",\\\"focusBackOnClose\\\",\\\"focusBackOnExit\\\"];function st(){return st=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},st.apply(this,arguments)}function lt(t){return function(t){if(Array.isArray(t))return ut(t)}(t)||function(t){if(\\\"undefined\\\"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t[\\\"@@iterator\\\"])return Array.from(t)}(t)||function(t,e){if(t){if(\\\"string\\\"==typeof t)return ut(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\\\"Object\\\"===n&&t.constructor&&(n=t.constructor.name),\\\"Map\\\"===n||\\\"Set\\\"===n?Array.from(t):\\\"Arguments\\\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ut(t,e):void 0}}(t)||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 ut(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ct(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function pt(t,e){return pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},pt(t,e)}function ft(t,e){if(e&&(\\\"object\\\"===ot(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return dt(t)}function dt(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function mt(t){return mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mt(t)}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gt=\\\"input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])\\\",yt=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&pt(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=mt(r);if(i){var n=mt(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ft(this,t)});function s(){var t;ct(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return vt(dt(t=o.call.apply(o,[this].concat(n))),\\\"restoreFocus\\\",(function(){var e=dt(t).previousFocusedNode;e&&e.focus&&(0,B.Ql)(e)&&e.focus({preventScroll:!0})})),vt(dt(t),\\\"containerRef\\\",(function(e){e&&(t.node=e)})),vt(dt(t),\\\"focusElement\\\",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=dt(t),r=n.node;if(r){var i=lt(r.querySelectorAll(gt)).filter((function(t){return t.tabIndex>=0})),o=e?i[0]:i[i.length-1];o&&o.focus()}})),vt(dt(t),\\\"focusFirst\\\",(function(){return t.focusElement(!0)})),vt(dt(t),\\\"focusLast\\\",(function(){return t.focusElement(!1)})),vt(dt(t),\\\"focusLastIfEnabled\\\",(function(e){if(!t.trapWithoutFocus)if(t.props.focusBackOnExit){var n=e.nativeEvent.relatedTarget;null!=n&&null!=t.node&&t.node.contains(n)&&t.restoreFocus()}else t.focusLast()})),vt(dt(t),\\\"handleBlurIfWithoutFocus\\\",(function(e){if(t.trapWithoutFocus){t.trapWithoutFocus=!1;var n=e.nativeEvent.relatedTarget;n&&(t.node.contains(n)||t.focusLast())}})),vt(dt(t),\\\"trapButtonRef\\\",(function(e){e&&(t.trapButtonNode=e)})),t}return e=s,n=[{key:\\\"componentDidMount\\\",value:function(){this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst?this.focusFirst():this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode)||(this.trapWithoutFocus=!0,this.trapButtonNode.focus())}},{key:\\\"componentWillUnmount\\\",value:function(){this.props.focusBackOnClose&&this.restoreFocus()}},{key:\\\"render\\\",value:function(){var t=this.props,e=t.children,n=t.trapDisabled,r=(t.autoFocusFirst,t.focusBackOnClose,t.focusBackOnExit),i=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,at);return n?a.createElement(\\\"div\\\",st({ref:this.containerRef},i),e):a.createElement(\\\"div\\\",st({ref:this.containerRef},i),a.createElement(\\\"div\\\",{tabIndex:0,ref:this.trapButtonRef,className:it().trapButton,onFocus:this.focusLastIfEnabled,onBlur:this.handleBlurIfWithoutFocus,\\\"data-trap-button\\\":!0}),e,a.createElement(\\\"div\\\",{tabIndex:0,onFocus:r?this.restoreFocus:this.focusFirst,\\\"data-trap-button\\\":!0}))}}],n&&ht(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.Component);function _t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(t,e,n){var r=null!==n.container?n.container.clientHeight:(0,B.gp)(),i=e.top+n.sidePadding,o=e.top+r-n.sidePadding,a=Math.max(i-t.top,0),s=n.popup.clientHeight,l=t.top+s-o;return a+Math.max(l,0)}function xt(t,e,n){var r=null!==n.container?n.container.clientWidth:window.innerWidth,i=e.left+n.sidePadding,o=e.left+r-n.sidePadding,a=Math.max(i-t.left,0),s=n.popup.clientWidth,l=t.left+s-o;return a+Math.max(l,0)}vt(yt,\\\"propTypes\\\",{children:i().node.isRequired,trapDisabled:i().bool,autoFocusFirst:i().bool,focusBackOnClose:i().bool,focusBackOnExit:i().bool}),vt(yt,\\\"defaultProps\\\",{trapDisabled:!1,autoFocusFirst:!0,focusBackOnClose:!0,focusBackOnExit:!1}),n(3411),n(3516);var wt=[\\\"directions\\\",\\\"autoPositioning\\\",\\\"autoCorrectTopOverflow\\\",\\\"sidePadding\\\",\\\"top\\\",\\\"left\\\",\\\"offset\\\",\\\"maxHeight\\\",\\\"minWidth\\\"],At={top:0,left:0};var Ct=n(1009),Mt=n.n(Ct),Et=[\\\"id\\\",\\\"children\\\"];function Tt(){return Tt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Tt.apply(this,arguments)}var St=(0,a.createContext)(),kt=(0,a.forwardRef)((function(t,e){var n=t.id,r=t.children,i=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,Et),o=\\\"function\\\"==typeof r,s=a.createElement(\\\"div\\\",Tt({},i,{\\\"data-portaltarget\\\":n,ref:e}),!o&&r);return a.createElement(St.Provider,{value:n},o?r(s):s)}));function Ot(t){return Ot=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Ot(t)}function It(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?It(Object(n),!0).forEach((function(e){Nt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pt(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function zt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Rt(t,e){return Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Rt(t,e)}function Dt(t,e){if(e&&(\\\"object\\\"===Ot(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return $t(t)}function $t(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Bt(t)}function Nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}kt.propTypes={id:i().string.isRequired,children:i().oneOfType([i().node,i().func])};var Ft=function(t){return t.stopPropagation()},jt=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Rt(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Bt(r);if(i){var n=Bt(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Dt(this,t)});function s(){var t;Pt(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Nt($t(t=o.call.apply(o,[this].concat(n))),\\\"state\\\",{display:1}),Nt($t(t),\\\"listeners\\\",new B.zy),Nt($t(t),\\\"redrawScheduler\\\",(0,$.Z)(!0)),Nt($t(t),\\\"uid\\\",D(\\\"popup-\\\")),Nt($t(t),\\\"calculateDisplay\\\",(function(e){return Lt(Lt({},e),{},{display:t.props.hidden?1:2})})),Nt($t(t),\\\"portalRef\\\",(function(e){t.node=e,t.parent=e&&e.parentElement,e&&t.getContainer()&&t._redraw()})),Nt($t(t),\\\"popupRef\\\",(function(e){t.popup=e,t._redraw()})),Nt($t(t),\\\"containerRef\\\",(function(e){t.container=e})),Nt($t(t),\\\"_updateDirection\\\",(function(e){t.state.direction!==e&&(t.setState({direction:e}),t.props.onDirectionChange&&t.props.onDirectionChange(e))})),Nt($t(t),\\\"_updatePosition\\\",(function(){if(t.popup){if(t.popup.style.position=\\\"absolute\\\",t.isVisible()){var e=t.position(),n=e.styles,r=e.direction;Object.keys(n).forEach((function(e){var r=n[e];t.popup.style[e]=\\\"number\\\"==typeof r?\\\"\\\".concat(r,\\\"px\\\"):r.toString()})),t._updateDirection(r)}t.setState(t.calculateDisplay)}})),Nt($t(t),\\\"_redraw\\\",(function(){t.isVisible()&&t.redrawScheduler(t._updatePosition)})),Nt($t(t),\\\"_onEscPress\\\",(function(e){t.props.onEscPress(e),t._onCloseAttempt(e,!0)})),Nt($t(t),\\\"_onDocumentClick\\\",(function(e){t.container&&t.container.contains(e.target)||!t._listenersEnabled||t.props.dontCloseOnAnchorClick&&t._getAnchor()&&t._getAnchor().contains(e.target)||(t.props.onOutsideClick(e),t._onCloseAttempt(e,!1))})),Nt($t(t),\\\"shortcutsScope\\\",t.uid),Nt($t(t),\\\"shortcutsMap\\\",{esc:t._onEscPress}),t}return e=s,n=[{key:\\\"componentDidMount\\\",value:function(){this.props.client||this.setState({client:!0}),this.props.hidden||this._setListenersEnabled(!0)}},{key:\\\"componentDidUpdate\\\",value:function(t,e){var n=this.props.hidden;this.props!==t&&(t.hidden!==n&&this._setListenersEnabled(!n),this._redraw()),!this.props.onShow||n||2!==this.state.display||!t.hidden&&2===e.display||this.props.onShow()}},{key:\\\"componentWillUnmount\\\",value:function(){this._setListenersEnabled(!1),this.popup=null}},{key:\\\"shouldUseShortcuts\\\",value:function(){var t=this.props,e=t.shortcuts,n=t.hidden;return e&&!n}},{key:\\\"getContainer\\\",value:function(){var t=this.props.target||this.ringPopupTarget;return t&&function(t){return\\\"string\\\"==typeof t?document.querySelector(\\\"[data-portaltarget=\\\".concat(t,\\\"]\\\")):t}(t)}},{key:\\\"position\\\",value:function(){var t=this,e=wt.reduce((function(e,n){return e[n]=t.props[n],e}),{}),n=this.getContainer();return function(t){var e=t.popup,n=t.anchor,r=t.container,i=t.directions,o=t.autoPositioning,a=t.sidePadding,s=t.top,l=t.left,u=t.offset,c=t.maxHeight,h=t.minWidth,p=t.autoCorrectTopOverflow,f=void 0===p||p,d={top:0,left:0},m=null,v=null!==r?(0,B.Dz)(r):At,g=null!==r?r:document.body,y=(0,B.Dz)((0,B.Fe)(n)?n:g),_=function(t){return null!==t?{top:t.scrollTop,left:t.scrollLeft}:{top:(0,B.c6)(),left:(0,B.SU)()}}(r),b=y.left+_.left+l-v.left,x=y.top+_.top+s-v.top;if(e){var w=function(t,e,n,r,i){var o,a=t.clientWidth,s=t.clientHeight,l=r+e.height,u=n+e.width,c=n-a,h=r-s,p=u-a,f=n+e.width/2-a/2,d=r+e.height/2-s/2,m=l-s;return _t(o={},k.BOTTOM_RIGHT,{left:n,top:l+i}),_t(o,k.BOTTOM_LEFT,{left:p,top:l+i}),_t(o,k.BOTTOM_CENTER,{left:f,top:l+i}),_t(o,k.TOP_RIGHT,{left:n,top:h-i}),_t(o,k.TOP_LEFT,{left:p,top:h-i}),_t(o,k.TOP_CENTER,{left:f,top:h-i}),_t(o,k.LEFT_BOTTOM,{left:c-i,top:r}),_t(o,k.LEFT_TOP,{left:c-i,top:m}),_t(o,k.LEFT_CENTER,{left:c-i,top:d}),_t(o,k.RIGHT_BOTTOM,{left:u+i,top:r}),_t(o,k.RIGHT_TOP,{left:u+i,top:m}),_t(o,k.RIGHT_CENTER,{left:u+i,top:d}),o}(e,y,b,x,u);if(o&&1!==i.length){var A=i.concat(i[0]).filter((function(t){return w[t]})).map((function(t){return{styles:w[t],direction:t}})).sort((function(e,n){var r=e.styles,i=n.styles;return bt(r,_,t)+xt(r,_,t)-(bt(i,_,t)+xt(i,_,t))}));d=A[0].styles,m=A[0].direction}else d=w[i[0]],m=i[0];[\\\"left\\\",\\\"top\\\"].forEach((function(t){d[t]<0&&(d[t]=0)}))}return c===P.SCREEN||\\\"screen\\\"===c?d.maxHeight=window.innerHeight+_.top-d.top-I.MARGIN:c&&(d.maxHeight=c),f&&(d=function(t){var e=t.sidePadding,n=t.styles,r=t.anchorRect,i=t.maxHeight,o=t.popupScrollHeight,a=t.direction,s=t.scroll,l=k.TOP_LEFT,u=k.TOP_RIGHT,c=k.TOP_CENTER;if(![l,u,c,k.RIGHT_TOP,k.LEFT_TOP].includes(a))return n;var h=[l,c,u].includes(a)?r.top:r.bottom;return h-(i?Math.min(o,i):o)<=e&&(n.top=e+s.top,n.maxHeight=h-e+1),n}({sidePadding:a,styles:d,anchorRect:y,maxHeight:c,direction:m,popupScrollHeight:e.scrollHeight,scroll:_})),h===L.TARGET||\\\"target\\\"===h?d.minWidth=y.width:h&&(d.minWidth=y.width<h?h:y.width),{styles:d,direction:m}}(Lt({popup:this.popup,container:n&&\\\"static\\\"!==(0,B.Wi)(n).position?n:null,anchor:this._getAnchor()},e))}},{key:\\\"_getAnchor\\\",value:function(){return this.props.anchorElement||this.parent}},{key:\\\"_setListenersEnabled\\\",value:function(t){var e=this;!t||this._listenersEnabled?!t&&this._listenersEnabled&&(this.listeners.removeAll(),this._listenersEnabled=!1):setTimeout((function(){e._listenersEnabled=!0,e.listeners.add(window,\\\"resize\\\",e._redraw),e.props.autoPositioningOnScroll&&e.listeners.add(window,\\\"scroll\\\",e._redraw),e.listeners.add(document,\\\"pointerdown\\\",e._onDocumentClick,!0);for(var t=e._getAnchor();t;)e.listeners.add(t,\\\"scroll\\\",e._redraw),t=t.parentElement}),0)}},{key:\\\"isVisible\\\",value:function(){return!this.props.hidden}},{key:\\\"_onCloseAttempt\\\",value:function(t,e){this.props.onCloseAttempt(t,e)}},{key:\\\"getInternalContent\\\",value:function(){var t=this.props,e=t.trapFocus,n=t.autoFocusFirst,r=t.children;return e?a.createElement(yt,{autoFocusFirst:n,focusBackOnExit:!0},r):r}},{key:\\\"render\\\",value:function(){var t,e=this,n=this.props,r=n.className,i=n.style,o=n.hidden,s=n.attached,u=n.keepMounted,c=n.client,h=n.onMouseDown,p=n.onMouseUp,f=n.onMouseOver,d=n.onMouseOut,m=n.onContextMenu,v=n[\\\"data-test\\\"],g=1===this.state.display,_=l()(r,Mt().popup,(Nt(t={},Mt().attached,s),Nt(t,Mt().hidden,o),Nt(t,Mt().showing,g),t)),b=(this.state.direction||\\\"\\\").toLowerCase().replace(/[_]/g,\\\"-\\\");return a.createElement(St.Consumer,null,(function(t){return e.ringPopupTarget=t,a.createElement(\\\"span\\\",{onClick:Ft,role:\\\"presentation\\\",ref:e.portalRef},e.shouldUseShortcuts()&&a.createElement(nt,{map:e.shortcutsMap,scope:e.shortcutsScope}),(c||e.state.client)&&(u||!o)&&(0,z.createPortal)(a.createElement(kt,{id:e.uid,ref:e.containerRef,onMouseOver:f,onFocus:f,onMouseOut:d,onBlur:d,onContextMenu:m},a.createElement(\\\"div\\\",{\\\"data-test\\\":(0,y.Z)(\\\"ring-popup\\\",v),\\\"data-test-shown\\\":!o&&!g,\\\"data-test-direction\\\":b,ref:e.popupRef,className:_,style:i,onMouseDown:h,onMouseUp:p,role:\\\"presentation\\\"},e.getInternalContent())),e.getContainer()||document.body))}))}}],n&&zt(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);function Ut(){return Ut=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ut.apply(this,arguments)}function qt(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function Vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ht(t,e,n){return e&&Vt(t.prototype,e),n&&Vt(t,n),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),t}function Gt(t){return Gt=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Gt(t)}function Wt(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Xt(t,e){if(e&&(\\\"object\\\"===Gt(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return Wt(t)}function Yt(t){return Yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Yt(t)}function Zt(t,e){return Zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zt(t,e)}function Kt(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Zt(t,e)}function Jt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qt(t){var e,n,r=\\\"\\\";if(\\\"string\\\"==typeof t||\\\"number\\\"==typeof t)r+=t;else if(\\\"object\\\"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=Qt(t[e]))&&(r&&(r+=\\\" \\\"),r+=n);else for(e in t)t[e]&&(r&&(r+=\\\" \\\"),r+=e);return r}Nt(jt,\\\"propTypes\\\",{anchorElement:i().instanceOf(Node),target:i().oneOfType([i().string,i().instanceOf(Element)]),className:i().string,style:i().object,hidden:i().bool.isRequired,onOutsideClick:i().func,onEscPress:i().func,onCloseAttempt:i().func,children:i().node.isRequired,dontCloseOnAnchorClick:i().bool,shortcuts:i().bool,keepMounted:i().bool,\\\"data-test\\\":i().string,client:i().bool,directions:i().arrayOf(i().string),autoPositioning:i().bool,autoPositioningOnScroll:i().bool,autoCorrectTopOverflow:i().bool,left:i().number,top:i().number,maxHeight:i().number,minWidth:i().number,sidePadding:i().number,attached:i().bool,onMouseDown:i().func,onMouseUp:i().func,onMouseOver:i().func,onMouseOut:i().func,onContextMenu:i().func,onDirectionChange:i().func,onShow:i().func,trapFocus:i().bool,autoFocusFirst:i().bool}),Nt(jt,\\\"defaultProps\\\",{shortcuts:!0,hidden:!1,onOutsideClick:function(){},onEscPress:function(){},onCloseAttempt:function(){},dontCloseOnAnchorClick:!1,keepMounted:!1,directions:O,autoPositioning:!0,autoPositioningOnScroll:!0,autoCorrectTopOverflow:!0,left:0,top:0,offset:0,sidePadding:8,attached:!1,trapFocus:!1,autoFocusFirst:!1,legacy:!1}),Nt(jt,\\\"PopupProps\\\",{Directions:k,Dimension:I,MinWidth:L,MaxHeight:P});const te=function(){for(var t,e,n=0,r=\\\"\\\";n<arguments.length;)(t=arguments[n++])&&(e=Qt(t))&&(r&&(r+=\\\" \\\"),r+=e);return r};function ee(t){var e=t.cellCount,n=t.cellSize,r=t.computeMetadataCallback,i=t.computeMetadataCallbackProps,o=t.nextCellsCount,a=t.nextCellSize,s=t.nextScrollToIndex,l=t.scrollToIndex,u=t.updateScrollOffsetForScrollToIndex;e===o&&(\\\"number\\\"!=typeof n&&\\\"number\\\"!=typeof a||n===a)||(r(i),l>=0&&l===s&&u())}var ne=function(){function t(e){var n=e.cellCount,r=e.cellSizeGetter,i=e.estimatedCellSize;qt(this,t),Jt(this,\\\"_cellSizeAndPositionData\\\",{}),Jt(this,\\\"_lastMeasuredIndex\\\",-1),Jt(this,\\\"_lastBatchedIndex\\\",-1),Jt(this,\\\"_cellCount\\\",void 0),Jt(this,\\\"_cellSizeGetter\\\",void 0),Jt(this,\\\"_estimatedCellSize\\\",void 0),this._cellSizeGetter=r,this._cellCount=n,this._estimatedCellSize=i}return Ht(t,[{key:\\\"areOffsetsAdjusted\\\",value:function(){return!1}},{key:\\\"configure\\\",value:function(t){var e=t.cellCount,n=t.estimatedCellSize,r=t.cellSizeGetter;this._cellCount=e,this._estimatedCellSize=n,this._cellSizeGetter=r}},{key:\\\"getCellCount\\\",value:function(){return this._cellCount}},{key:\\\"getEstimatedCellSize\\\",value:function(){return this._estimatedCellSize}},{key:\\\"getLastMeasuredIndex\\\",value:function(){return this._lastMeasuredIndex}},{key:\\\"getOffsetAdjustment\\\",value:function(){return 0}},{key:\\\"getSizeAndPositionOfCell\\\",value:function(t){if(t<0||t>=this._cellCount)throw Error(\\\"Requested index \\\".concat(t,\\\" is outside of range 0..\\\").concat(this._cellCount));if(t>this._lastMeasuredIndex)for(var e=this.getSizeAndPositionOfLastMeasuredCell(),n=e.offset+e.size,r=this._lastMeasuredIndex+1;r<=t;r++){var i=this._cellSizeGetter({index:r});if(void 0===i||isNaN(i))throw Error(\\\"Invalid size returned for cell \\\".concat(r,\\\" of value \\\").concat(i));null===i?(this._cellSizeAndPositionData[r]={offset:n,size:0},this._lastBatchedIndex=t):(this._cellSizeAndPositionData[r]={offset:n,size:i},n+=i,this._lastMeasuredIndex=t)}return this._cellSizeAndPositionData[t]}},{key:\\\"getSizeAndPositionOfLastMeasuredCell\\\",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:\\\"getTotalSize\\\",value:function(){var t=this.getSizeAndPositionOfLastMeasuredCell();return t.offset+t.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:\\\"getUpdatedOffsetForIndex\\\",value:function(t){var e=t.align,n=void 0===e?\\\"auto\\\":e,r=t.containerSize,i=t.currentOffset,o=t.targetIndex;if(r<=0)return 0;var a,s=this.getSizeAndPositionOfCell(o),l=s.offset,u=l-r+s.size;switch(n){case\\\"start\\\":a=l;break;case\\\"end\\\":a=u;break;case\\\"center\\\":a=l-(r-s.size)/2;break;default:a=Math.max(u,Math.min(l,i))}var c=this.getTotalSize();return Math.max(0,Math.min(c-r,a))}},{key:\\\"getVisibleCellRange\\\",value:function(t){var e=t.containerSize,n=t.offset;if(0===this.getTotalSize())return{};var r=n+e,i=this._findNearestCell(n),o=this.getSizeAndPositionOfCell(i);n=o.offset+o.size;for(var a=i;n<r&&a<this._cellCount-1;)a++,n+=this.getSizeAndPositionOfCell(a).size;return{start:i,stop:a}}},{key:\\\"resetCell\\\",value:function(t){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,t-1)}},{key:\\\"_binarySearch\\\",value:function(t,e,n){for(;e<=t;){var r=e+Math.floor((t-e)/2),i=this.getSizeAndPositionOfCell(r).offset;if(i===n)return r;i<n?e=r+1:i>n&&(t=r-1)}return e>0?e-1:0}},{key:\\\"_exponentialSearch\\\",value:function(t,e){for(var n=1;t<this._cellCount&&this.getSizeAndPositionOfCell(t).offset<e;)t+=n,n*=2;return this._binarySearch(Math.min(t,this._cellCount-1),Math.floor(t/2),e)}},{key:\\\"_findNearestCell\\\",value:function(t){if(isNaN(t))throw Error(\\\"Invalid offset \\\".concat(t,\\\" specified\\\"));t=Math.max(0,t);var e=this.getSizeAndPositionOfLastMeasuredCell(),n=Math.max(0,this._lastMeasuredIndex);return e.offset>=t?this._binarySearch(n,0,t):this._exponentialSearch(n,t)}}]),t}(),re=function(){function t(e){var n=e.maxScrollSize,r=void 0===n?\\\"undefined\\\"!=typeof window&&window.chrome?16777100:15e5:n,i=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(e,[\\\"maxScrollSize\\\"]);qt(this,t),Jt(this,\\\"_cellSizeAndPositionManager\\\",void 0),Jt(this,\\\"_maxScrollSize\\\",void 0),this._cellSizeAndPositionManager=new ne(i),this._maxScrollSize=r}return Ht(t,[{key:\\\"areOffsetsAdjusted\\\",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:\\\"configure\\\",value:function(t){this._cellSizeAndPositionManager.configure(t)}},{key:\\\"getCellCount\\\",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:\\\"getEstimatedCellSize\\\",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:\\\"getLastMeasuredIndex\\\",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:\\\"getOffsetAdjustment\\\",value:function(t){var e=t.containerSize,n=t.offset,r=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize(),o=this._getOffsetPercentage({containerSize:e,offset:n,totalSize:i});return Math.round(o*(i-r))}},{key:\\\"getSizeAndPositionOfCell\\\",value:function(t){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(t)}},{key:\\\"getSizeAndPositionOfLastMeasuredCell\\\",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:\\\"getTotalSize\\\",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:\\\"getUpdatedOffsetForIndex\\\",value:function(t){var e=t.align,n=void 0===e?\\\"auto\\\":e,r=t.containerSize,i=t.currentOffset,o=t.targetIndex;i=this._safeOffsetToOffset({containerSize:r,offset:i});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:r,currentOffset:i,targetIndex:o});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:\\\"getVisibleCellRange\\\",value:function(t){var e=t.containerSize,n=t.offset;return n=this._safeOffsetToOffset({containerSize:e,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:e,offset:n})}},{key:\\\"resetCell\\\",value:function(t){this._cellSizeAndPositionManager.resetCell(t)}},{key:\\\"_getOffsetPercentage\\\",value:function(t){var e=t.containerSize,n=t.offset,r=t.totalSize;return r<=e?0:n/(r-e)}},{key:\\\"_offsetToSafeOffset\\\",value:function(t){var e=t.containerSize,n=t.offset,r=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(r===i)return n;var o=this._getOffsetPercentage({containerSize:e,offset:n,totalSize:r});return Math.round(o*(i-e))}},{key:\\\"_safeOffsetToOffset\\\",value:function(t){var e=t.containerSize,n=t.offset,r=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(r===i)return n;var o=this._getOffsetPercentage({containerSize:e,offset:n,totalSize:i});return Math.round(o*(r-e))}}]),t}();function ie(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e={};return function(n){var r=n.callback,i=n.indices,o=Object.keys(i),a=!t||o.every((function(t){var e=i[t];return Array.isArray(e)?e.length>0:e>=0})),s=o.length!==Object.keys(e).length||o.some((function(t){var n=e[t],r=i[t];return Array.isArray(r)?n.join(\\\",\\\")!==r.join(\\\",\\\"):n!==r}));e=i,a&&s&&r(i)}}function oe(t){var e=t.cellSize,n=t.cellSizeAndPositionManager,r=t.previousCellsCount,i=t.previousCellSize,o=t.previousScrollToAlignment,a=t.previousScrollToIndex,s=t.previousSize,l=t.scrollOffset,u=t.scrollToAlignment,c=t.scrollToIndex,h=t.size,p=t.sizeJustIncreasedFromZero,f=t.updateScrollIndexCallback,d=n.getCellCount(),m=c>=0&&c<d;m&&(h!==s||p||!i||\\\"number\\\"==typeof e&&e!==i||u!==o||c!==a)?f(c):!m&&d>0&&(h<s||d<r)&&l>n.getTotalSize()-h&&f(d-1)}const ae=!(\\\"undefined\\\"==typeof window||!window.document||!window.document.createElement);var se,le;function ue(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=t&&this.setState(t)}function ce(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!=n?n:null}.bind(this))}function he(t,e){try{var n=this.props,r=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}ue.__suppressDeprecationWarning=!0,ce.__suppressDeprecationWarning=!0,he.__suppressDeprecationWarning=!0;var pe,fe,de=(le=\\\"undefined\\\"!=typeof window?window:\\\"undefined\\\"!=typeof self?self:{}).requestAnimationFrame||le.webkitRequestAnimationFrame||le.mozRequestAnimationFrame||le.oRequestAnimationFrame||le.msRequestAnimationFrame||function(t){return le.setTimeout(t,1e3/60)},me=le.cancelAnimationFrame||le.webkitCancelAnimationFrame||le.mozCancelAnimationFrame||le.oCancelAnimationFrame||le.msCancelAnimationFrame||function(t){le.clearTimeout(t)},ve=de,ge=me,ye=function(t){return ge(t.id)},_e=function(t,e){var n;Promise.resolve().then((function(){n=Date.now()}));var r={id:ve((function i(){Date.now()-n>=e?t.call():r.id=ve(i)}))};return r};function be(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function xe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?be(n,!0).forEach((function(e){Jt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):be(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var we=\\\"requested\\\",Ae=(fe=pe=function(t){function e(t){var n;qt(this,e),Jt(Wt(n=Xt(this,Yt(e).call(this,t))),\\\"_onGridRenderedMemoizer\\\",ie()),Jt(Wt(n),\\\"_onScrollMemoizer\\\",ie(!1)),Jt(Wt(n),\\\"_deferredInvalidateColumnIndex\\\",null),Jt(Wt(n),\\\"_deferredInvalidateRowIndex\\\",null),Jt(Wt(n),\\\"_recomputeScrollLeftFlag\\\",!1),Jt(Wt(n),\\\"_recomputeScrollTopFlag\\\",!1),Jt(Wt(n),\\\"_horizontalScrollBarSize\\\",0),Jt(Wt(n),\\\"_verticalScrollBarSize\\\",0),Jt(Wt(n),\\\"_scrollbarPresenceChanged\\\",!1),Jt(Wt(n),\\\"_scrollingContainer\\\",void 0),Jt(Wt(n),\\\"_childrenToDisplay\\\",void 0),Jt(Wt(n),\\\"_columnStartIndex\\\",void 0),Jt(Wt(n),\\\"_columnStopIndex\\\",void 0),Jt(Wt(n),\\\"_rowStartIndex\\\",void 0),Jt(Wt(n),\\\"_rowStopIndex\\\",void 0),Jt(Wt(n),\\\"_renderedColumnStartIndex\\\",0),Jt(Wt(n),\\\"_renderedColumnStopIndex\\\",0),Jt(Wt(n),\\\"_renderedRowStartIndex\\\",0),Jt(Wt(n),\\\"_renderedRowStopIndex\\\",0),Jt(Wt(n),\\\"_initialScrollTop\\\",void 0),Jt(Wt(n),\\\"_initialScrollLeft\\\",void 0),Jt(Wt(n),\\\"_disablePointerEventsTimeoutId\\\",void 0),Jt(Wt(n),\\\"_styleCache\\\",{}),Jt(Wt(n),\\\"_cellCache\\\",{}),Jt(Wt(n),\\\"_debounceScrollEndedCallback\\\",(function(){n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1,needToResetStyleCache:!1})})),Jt(Wt(n),\\\"_invokeOnGridRenderedHelper\\\",(function(){var t=n.props.onSectionRendered;n._onGridRenderedMemoizer({callback:t,indices:{columnOverscanStartIndex:n._columnStartIndex,columnOverscanStopIndex:n._columnStopIndex,columnStartIndex:n._renderedColumnStartIndex,columnStopIndex:n._renderedColumnStopIndex,rowOverscanStartIndex:n._rowStartIndex,rowOverscanStopIndex:n._rowStopIndex,rowStartIndex:n._renderedRowStartIndex,rowStopIndex:n._renderedRowStopIndex}})})),Jt(Wt(n),\\\"_setScrollingContainerRef\\\",(function(t){n._scrollingContainer=t})),Jt(Wt(n),\\\"_onScroll\\\",(function(t){t.target===n._scrollingContainer&&n.handleScrollEvent(t.target)}));var r=new re({cellCount:t.columnCount,cellSizeGetter:function(n){return e._wrapSizeGetter(t.columnWidth)(n)},estimatedCellSize:e._getEstimatedColumnSize(t)}),i=new re({cellCount:t.rowCount,cellSizeGetter:function(n){return e._wrapSizeGetter(t.rowHeight)(n)},estimatedCellSize:e._getEstimatedRowSize(t)});return n.state={instanceProps:{columnSizeAndPositionManager:r,rowSizeAndPositionManager:i,prevColumnWidth:t.columnWidth,prevRowHeight:t.rowHeight,prevColumnCount:t.columnCount,prevRowCount:t.rowCount,prevIsScrolling:!0===t.isScrolling,prevScrollToColumn:t.scrollToColumn,prevScrollToRow:t.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},t.scrollToRow>0&&(n._initialScrollTop=n._getCalculatedScrollTop(t,n.state)),t.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(t,n.state)),n}return Kt(e,t),Ht(e,[{key:\\\"getOffsetForCell\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.alignment,n=void 0===e?this.props.scrollToAlignment:e,r=t.columnIndex,i=void 0===r?this.props.scrollToColumn:r,o=t.rowIndex,a=void 0===o?this.props.scrollToRow:o,s=xe({},this.props,{scrollToAlignment:n,scrollToColumn:i,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:\\\"getTotalRowsHeight\\\",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:\\\"getTotalColumnsWidth\\\",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:\\\"handleScrollEvent\\\",value:function(t){var e=t.scrollLeft,n=void 0===e?0:e,r=t.scrollTop,i=void 0===r?0:r;if(!(i<0)){this._debounceScrollEnded();var o=this.props,a=o.autoHeight,s=o.autoWidth,l=o.height,u=o.width,c=this.state.instanceProps,h=c.scrollbarSize,p=c.rowSizeAndPositionManager.getTotalSize(),f=c.columnSizeAndPositionManager.getTotalSize(),d=Math.min(Math.max(0,f-u+h),n),m=Math.min(Math.max(0,p-l+h),i);if(this.state.scrollLeft!==d||this.state.scrollTop!==m){var v={isScrolling:!0,scrollDirectionHorizontal:d!==this.state.scrollLeft?d>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:m!==this.state.scrollTop?m>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:\\\"observed\\\"};a||(v.scrollTop=m),s||(v.scrollLeft=d),v.needToResetStyleCache=!1,this.setState(v)}this._invokeOnScrollMemoizer({scrollLeft:d,scrollTop:m,totalColumnsWidth:f,totalRowsHeight:p})}}},{key:\\\"invalidateCellSizeAfterRender\\\",value:function(t){var e=t.columnIndex,n=t.rowIndex;this._deferredInvalidateColumnIndex=\\\"number\\\"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,e):e,this._deferredInvalidateRowIndex=\\\"number\\\"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:\\\"measureAllCells\\\",value:function(){var t=this.props,e=t.columnCount,n=t.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(e-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:\\\"recomputeGridSize\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.columnIndex,n=void 0===e?0:e,r=t.rowIndex,i=void 0===r?0:r,o=this.props,a=o.scrollToColumn,s=o.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?n<=a:n>=a),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?i<=s:i>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:\\\"scrollToCell\\\",value:function(t){var e=t.columnIndex,n=t.rowIndex,r=this.props.columnCount,i=this.props;r>1&&void 0!==e&&this._updateScrollLeftForScrollToColumn(xe({},i,{scrollToColumn:e})),void 0!==n&&this._updateScrollTopForScrollToRow(xe({},i,{scrollToRow:n}))}},{key:\\\"componentDidMount\\\",value:function(){var t=this.props,n=t.getScrollbarSize,r=t.height,i=t.scrollLeft,o=t.scrollToColumn,a=t.scrollTop,s=t.scrollToRow,l=t.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState((function(t){var e=xe({},t,{needToResetStyleCache:!1});return e.instanceProps.scrollbarSize=n(),e.instanceProps.scrollbarSizeMeasured=!0,e})),\\\"number\\\"==typeof i&&i>=0||\\\"number\\\"==typeof a&&a>=0){var c=e._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:i,scrollTop:a});c&&(c.needToResetStyleCache=!1,this.setState(c))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var h=r>0&&l>0;o>=0&&h&&this._updateScrollLeftForScrollToColumn(),s>=0&&h&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:i||0,scrollTop:a||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:\\\"componentDidUpdate\\\",value:function(t,e){var n=this,r=this.props,i=r.autoHeight,o=r.autoWidth,a=r.columnCount,s=r.height,l=r.rowCount,u=r.scrollToAlignment,c=r.scrollToColumn,h=r.scrollToRow,p=r.width,f=this.state,d=f.scrollLeft,m=f.scrollPositionChangeReason,v=f.scrollTop,g=f.instanceProps;this._handleInvalidatedGridSize();var y=a>0&&0===t.columnCount||l>0&&0===t.rowCount;m===we&&(!o&&d>=0&&(d!==this._scrollingContainer.scrollLeft||y)&&(this._scrollingContainer.scrollLeft=d),!i&&v>=0&&(v!==this._scrollingContainer.scrollTop||y)&&(this._scrollingContainer.scrollTop=v));var _=(0===t.width||0===t.height)&&s>0&&p>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):oe({cellSizeAndPositionManager:g.columnSizeAndPositionManager,previousCellsCount:t.columnCount,previousCellSize:t.columnWidth,previousScrollToAlignment:t.scrollToAlignment,previousScrollToIndex:t.scrollToColumn,previousSize:t.width,scrollOffset:d,scrollToAlignment:u,scrollToIndex:c,size:p,sizeJustIncreasedFromZero:_,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):oe({cellSizeAndPositionManager:g.rowSizeAndPositionManager,previousCellsCount:t.rowCount,previousCellSize:t.rowHeight,previousScrollToAlignment:t.scrollToAlignment,previousScrollToIndex:t.scrollToRow,previousSize:t.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:h,size:s,sizeJustIncreasedFromZero:_,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),d!==e.scrollLeft||v!==e.scrollTop){var b=g.rowSizeAndPositionManager.getTotalSize(),x=g.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:d,scrollTop:v,totalColumnsWidth:x,totalRowsHeight:b})}this._maybeCallOnScrollbarPresenceChange()}},{key:\\\"componentWillUnmount\\\",value:function(){this._disablePointerEventsTimeoutId&&ye(this._disablePointerEventsTimeoutId)}},{key:\\\"render\\\",value:function(){var t=this.props,e=t.autoContainerWidth,n=t.autoHeight,r=t.autoWidth,i=t.className,o=t.containerProps,s=t.containerRole,l=t.containerStyle,u=t.height,c=t.id,h=t.noContentRenderer,p=t.role,f=t.style,d=t.tabIndex,m=t.width,v=this.state,g=v.instanceProps,y=v.needToResetStyleCache,_=this._isScrolling(),b={boxSizing:\\\"border-box\\\",direction:\\\"ltr\\\",height:n?\\\"auto\\\":u,position:\\\"relative\\\",width:r?\\\"auto\\\":m,WebkitOverflowScrolling:\\\"touch\\\",willChange:\\\"transform\\\"};y&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var x=g.columnSizeAndPositionManager.getTotalSize(),w=g.rowSizeAndPositionManager.getTotalSize(),A=w>u?g.scrollbarSize:0,C=x>m?g.scrollbarSize:0;C===this._horizontalScrollBarSize&&A===this._verticalScrollBarSize||(this._horizontalScrollBarSize=C,this._verticalScrollBarSize=A,this._scrollbarPresenceChanged=!0),b.overflowX=x+A<=m?\\\"hidden\\\":\\\"auto\\\",b.overflowY=w+C<=u?\\\"hidden\\\":\\\"auto\\\";var M=this._childrenToDisplay,E=0===M.length&&u>0&&m>0;return a.createElement(\\\"div\\\",Ut({ref:this._setScrollingContainerRef},o,{\\\"aria-label\\\":this.props[\\\"aria-label\\\"],\\\"aria-readonly\\\":this.props[\\\"aria-readonly\\\"],className:te(\\\"ReactVirtualized__Grid\\\",i),id:c,onScroll:this._onScroll,role:p,style:xe({},b,{},f),tabIndex:d}),M.length>0&&a.createElement(\\\"div\\\",{className:\\\"ReactVirtualized__Grid__innerScrollContainer\\\",role:s,style:xe({width:e?\\\"auto\\\":x,height:w,maxWidth:x,maxHeight:w,overflow:\\\"hidden\\\",pointerEvents:_?\\\"none\\\":\\\"\\\",position:\\\"relative\\\"},l)},M),E&&h())}},{key:\\\"_calculateChildrenToRender\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t.cellRenderer,r=t.cellRangeRenderer,i=t.columnCount,o=t.deferredMeasurementCache,a=t.height,s=t.overscanColumnCount,l=t.overscanIndicesGetter,u=t.overscanRowCount,c=t.rowCount,h=t.width,p=t.isScrollingOptOut,f=e.scrollDirectionHorizontal,d=e.scrollDirectionVertical,m=e.instanceProps,v=this._initialScrollTop>0?this._initialScrollTop:e.scrollTop,g=this._initialScrollLeft>0?this._initialScrollLeft:e.scrollLeft,y=this._isScrolling(t,e);if(this._childrenToDisplay=[],a>0&&h>0){var _=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:h,offset:g}),b=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:v}),x=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:h,offset:g}),w=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:v});this._renderedColumnStartIndex=_.start,this._renderedColumnStopIndex=_.stop,this._renderedRowStartIndex=b.start,this._renderedRowStopIndex=b.stop;var A=l({direction:\\\"horizontal\\\",cellCount:i,overscanCellsCount:s,scrollDirection:f,startIndex:\\\"number\\\"==typeof _.start?_.start:0,stopIndex:\\\"number\\\"==typeof _.stop?_.stop:-1}),C=l({direction:\\\"vertical\\\",cellCount:c,overscanCellsCount:u,scrollDirection:d,startIndex:\\\"number\\\"==typeof b.start?b.start:0,stopIndex:\\\"number\\\"==typeof b.stop?b.stop:-1}),M=A.overscanStartIndex,E=A.overscanStopIndex,T=C.overscanStartIndex,S=C.overscanStopIndex;if(o){if(!o.hasFixedHeight())for(var k=T;k<=S;k++)if(!o.has(k,0)){M=0,E=i-1;break}if(!o.hasFixedWidth())for(var O=M;O<=E;O++)if(!o.has(0,O)){T=0,S=c-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:M,columnStopIndex:E,deferredMeasurementCache:o,horizontalOffsetAdjustment:x,isScrolling:y,isScrollingOptOut:p,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:T,rowStopIndex:S,scrollLeft:g,scrollTop:v,styleCache:this._styleCache,verticalOffsetAdjustment:w,visibleColumnIndices:_,visibleRowIndices:b}),this._columnStartIndex=M,this._columnStopIndex=E,this._rowStartIndex=T,this._rowStopIndex=S}}},{key:\\\"_debounceScrollEnded\\\",value:function(){var t=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&ye(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=_e(this._debounceScrollEndedCallback,t)}},{key:\\\"_handleInvalidatedGridSize\\\",value:function(){if(\\\"number\\\"==typeof this._deferredInvalidateColumnIndex&&\\\"number\\\"==typeof this._deferredInvalidateRowIndex){var t=this._deferredInvalidateColumnIndex,e=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:t,rowIndex:e})}}},{key:\\\"_invokeOnScrollMemoizer\\\",value:function(t){var e=this,n=t.scrollLeft,r=t.scrollTop,i=t.totalColumnsWidth,o=t.totalRowsHeight;this._onScrollMemoizer({callback:function(t){var n=t.scrollLeft,r=t.scrollTop,a=e.props,s=a.height;(0,a.onScroll)({clientHeight:s,clientWidth:a.width,scrollHeight:o,scrollLeft:n,scrollTop:r,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:r}})}},{key:\\\"_isScrolling\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(t,\\\"isScrolling\\\")?Boolean(t.isScrolling):Boolean(e.isScrolling)}},{key:\\\"_maybeCallOnScrollbarPresenceChange\\\",value:function(){if(this._scrollbarPresenceChanged){var t=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,t({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:\\\"scrollToPosition\\\",value:function(t){var n=t.scrollLeft,r=t.scrollTop,i=e._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:\\\"_getCalculatedScrollLeft\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return e._getCalculatedScrollLeft(t,n)}},{key:\\\"_updateScrollLeftForScrollToColumn\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=e._getScrollLeftForScrollToColumnStateUpdate(t,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:\\\"_getCalculatedScrollTop\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return e._getCalculatedScrollTop(t,n)}},{key:\\\"_resetStyleCache\\\",value:function(){var t=this._styleCache,e=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var o=\\\"\\\".concat(r,\\\"-\\\").concat(i);this._styleCache[o]=t[o],n&&(this._cellCache[o]=e[o])}}},{key:\\\"_updateScrollTopForScrollToRow\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=e._getScrollTopForScrollToRowStateUpdate(t,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:\\\"getDerivedStateFromProps\\\",value:function(t,n){var r={};0===t.columnCount&&0!==n.scrollLeft||0===t.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(t.scrollLeft!==n.scrollLeft&&t.scrollToColumn<0||t.scrollTop!==n.scrollTop&&t.scrollToRow<0)&&Object.assign(r,e._getScrollToPositionStateUpdate({prevState:n,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}));var i,o,a=n.instanceProps;return r.needToResetStyleCache=!1,t.columnWidth===a.prevColumnWidth&&t.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:t.columnCount,estimatedCellSize:e._getEstimatedColumnSize(t),cellSizeGetter:e._wrapSizeGetter(t.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:t.rowCount,estimatedCellSize:e._getEstimatedRowSize(t),cellSizeGetter:e._wrapSizeGetter(t.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),t.autoHeight&&!1===t.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),ee({cellCount:a.prevColumnCount,cellSize:\\\"number\\\"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:t,nextCellsCount:t.columnCount,nextCellSize:\\\"number\\\"==typeof t.columnWidth?t.columnWidth:null,nextScrollToIndex:t.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){i=e._getScrollLeftForScrollToColumnStateUpdate(t,n)}}),ee({cellCount:a.prevRowCount,cellSize:\\\"number\\\"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:t,nextCellsCount:t.rowCount,nextCellSize:\\\"number\\\"==typeof t.rowHeight?t.rowHeight:null,nextScrollToIndex:t.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){o=e._getScrollTopForScrollToRowStateUpdate(t,n)}}),a.prevColumnCount=t.columnCount,a.prevColumnWidth=t.columnWidth,a.prevIsScrolling=!0===t.isScrolling,a.prevRowCount=t.rowCount,a.prevRowHeight=t.rowHeight,a.prevScrollToColumn=t.scrollToColumn,a.prevScrollToRow=t.scrollToRow,a.scrollbarSize=t.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,xe({},r,{},i,{},o)}},{key:\\\"_getEstimatedColumnSize\\\",value:function(t){return\\\"number\\\"==typeof t.columnWidth?t.columnWidth:t.estimatedColumnSize}},{key:\\\"_getEstimatedRowSize\\\",value:function(t){return\\\"number\\\"==typeof t.rowHeight?t.rowHeight:t.estimatedRowSize}},{key:\\\"_getScrollToPositionStateUpdate\\\",value:function(t){var e=t.prevState,n=t.scrollLeft,r=t.scrollTop,i={scrollPositionChangeReason:we};return\\\"number\\\"==typeof n&&n>=0&&(i.scrollDirectionHorizontal=n>e.scrollLeft?1:-1,i.scrollLeft=n),\\\"number\\\"==typeof r&&r>=0&&(i.scrollDirectionVertical=r>e.scrollTop?1:-1,i.scrollTop=r),\\\"number\\\"==typeof n&&n>=0&&n!==e.scrollLeft||\\\"number\\\"==typeof r&&r>=0&&r!==e.scrollTop?i:{}}},{key:\\\"_wrapSizeGetter\\\",value:function(t){return\\\"function\\\"==typeof t?t:function(){return t}}},{key:\\\"_getCalculatedScrollLeft\\\",value:function(t,e){var n=t.columnCount,r=t.height,i=t.scrollToAlignment,o=t.scrollToColumn,a=t.width,s=e.scrollLeft,l=e.instanceProps;if(n>0){var u=n-1,c=o<0?u:Math.min(u,o),h=l.rowSizeAndPositionManager.getTotalSize(),p=l.scrollbarSizeMeasured&&h>r?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:a-p,currentOffset:s,targetIndex:c})}return 0}},{key:\\\"_getScrollLeftForScrollToColumnStateUpdate\\\",value:function(t,n){var r=n.scrollLeft,i=e._getCalculatedScrollLeft(t,n);return\\\"number\\\"==typeof i&&i>=0&&r!==i?e._getScrollToPositionStateUpdate({prevState:n,scrollLeft:i,scrollTop:-1}):{}}},{key:\\\"_getCalculatedScrollTop\\\",value:function(t,e){var n=t.height,r=t.rowCount,i=t.scrollToAlignment,o=t.scrollToRow,a=t.width,s=e.scrollTop,l=e.instanceProps;if(r>0){var u=r-1,c=o<0?u:Math.min(u,o),h=l.columnSizeAndPositionManager.getTotalSize(),p=l.scrollbarSizeMeasured&&h>a?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:n-p,currentOffset:s,targetIndex:c})}return 0}},{key:\\\"_getScrollTopForScrollToRowStateUpdate\\\",value:function(t,n){var r=n.scrollTop,i=e._getCalculatedScrollTop(t,n);return\\\"number\\\"==typeof i&&i>=0&&r!==i?e._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:i}):{}}}]),e}(a.PureComponent),Jt(pe,\\\"propTypes\\\",null),fe);Jt(Ae,\\\"defaultProps\\\",{\\\"aria-label\\\":\\\"grid\\\",\\\"aria-readonly\\\":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(t){for(var e=t.cellCache,n=t.cellRenderer,r=t.columnSizeAndPositionManager,i=t.columnStartIndex,o=t.columnStopIndex,a=t.deferredMeasurementCache,s=t.horizontalOffsetAdjustment,l=t.isScrolling,u=t.isScrollingOptOut,c=t.parent,h=t.rowSizeAndPositionManager,p=t.rowStartIndex,f=t.rowStopIndex,d=t.styleCache,m=t.verticalOffsetAdjustment,v=t.visibleColumnIndices,g=t.visibleRowIndices,y=[],_=r.areOffsetsAdjusted()||h.areOffsetsAdjusted(),b=!l&&!_,x=p;x<=f;x++)for(var w=h.getSizeAndPositionOfCell(x),A=i;A<=o;A++){var C=r.getSizeAndPositionOfCell(A),M=A>=v.start&&A<=v.stop&&x>=g.start&&x<=g.stop,E=\\\"\\\".concat(x,\\\"-\\\").concat(A),T=void 0;b&&d[E]?T=d[E]:a&&!a.has(x,A)?T={height:\\\"auto\\\",left:0,position:\\\"absolute\\\",top:0,width:\\\"auto\\\"}:(T={height:w.size,left:C.offset+s,position:\\\"absolute\\\",top:w.offset+m,width:C.size},d[E]=T);var S={columnIndex:A,isScrolling:l,isVisible:M,key:E,parent:c,rowIndex:x,style:T},k=void 0;!u&&!l||s||m?k=n(S):(e[E]||(e[E]=n(S)),k=e[E]),null!=k&&!1!==k&&y.push(k)}return y},containerRole:\\\"rowgroup\\\",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(t){if((!se&&0!==se||t)&&ae){var e=document.createElement(\\\"div\\\");e.style.position=\\\"absolute\\\",e.style.top=\\\"-9999px\\\",e.style.width=\\\"50px\\\",e.style.height=\\\"50px\\\",e.style.overflow=\\\"scroll\\\",document.body.appendChild(e),se=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return se},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(t){var e=t.cellCount,n=t.overscanCellsCount,r=t.scrollDirection,i=t.startIndex,o=t.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(e-1,o+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(e-1,o)}},overscanRowCount:10,role:\\\"grid\\\",scrollingResetTimeInterval:150,scrollToAlignment:\\\"auto\\\",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),function(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error(\\\"Can only polyfill class components\\\");if(\\\"function\\\"!=typeof t.getDerivedStateFromProps&&\\\"function\\\"!=typeof e.getSnapshotBeforeUpdate)return t;var n=null,r=null,i=null;if(\\\"function\\\"==typeof e.componentWillMount?n=\\\"componentWillMount\\\":\\\"function\\\"==typeof e.UNSAFE_componentWillMount&&(n=\\\"UNSAFE_componentWillMount\\\"),\\\"function\\\"==typeof e.componentWillReceiveProps?r=\\\"componentWillReceiveProps\\\":\\\"function\\\"==typeof e.UNSAFE_componentWillReceiveProps&&(r=\\\"UNSAFE_componentWillReceiveProps\\\"),\\\"function\\\"==typeof e.componentWillUpdate?i=\\\"componentWillUpdate\\\":\\\"function\\\"==typeof e.UNSAFE_componentWillUpdate&&(i=\\\"UNSAFE_componentWillUpdate\\\"),null!==n||null!==r||null!==i){var o=t.displayName||t.name,a=\\\"function\\\"==typeof t.getDerivedStateFromProps?\\\"getDerivedStateFromProps()\\\":\\\"getSnapshotBeforeUpdate()\\\";throw Error(\\\"Unsafe legacy lifecycles will not be called for components using new component APIs.\\\\n\\\\n\\\"+o+\\\" uses \\\"+a+\\\" but also contains the following legacy lifecycles:\\\"+(null!==n?\\\"\\\\n \\\"+n:\\\"\\\")+(null!==r?\\\"\\\\n \\\"+r:\\\"\\\")+(null!==i?\\\"\\\\n \\\"+i:\\\"\\\")+\\\"\\\\n\\\\nThe above lifecycles should be removed. Learn more about this warning here:\\\\nhttps://fb.me/react-async-component-lifecycle-hooks\\\")}if(\\\"function\\\"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=ue,e.componentWillReceiveProps=ce),\\\"function\\\"==typeof e.getSnapshotBeforeUpdate){if(\\\"function\\\"!=typeof e.componentDidUpdate)throw new Error(\\\"Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype\\\");e.componentWillUpdate=he;var s=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,t,e,r)}}}(Ae);const Ce=Ae;var Me,Ee,Te,Se,ke=(Ee=Me=function(t){function e(){var t,n;qt(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Jt(Wt(n=Xt(this,(t=Yt(e)).call.apply(t,[this].concat(i)))),\\\"Grid\\\",void 0),Jt(Wt(n),\\\"_cellRenderer\\\",(function(t){var e=t.parent,r=t.rowIndex,i=t.style,o=t.isScrolling,a=t.isVisible,s=t.key,l=n.props.rowRenderer,u=Object.getOwnPropertyDescriptor(i,\\\"width\\\");return u&&u.writable&&(i.width=\\\"100%\\\"),l({index:r,style:i,isScrolling:o,isVisible:a,key:s,parent:e})})),Jt(Wt(n),\\\"_setRef\\\",(function(t){n.Grid=t})),Jt(Wt(n),\\\"_onScroll\\\",(function(t){var e=t.clientHeight,r=t.scrollHeight,i=t.scrollTop;(0,n.props.onScroll)({clientHeight:e,scrollHeight:r,scrollTop:i})})),Jt(Wt(n),\\\"_onSectionRendered\\\",(function(t){var e=t.rowOverscanStartIndex,r=t.rowOverscanStopIndex,i=t.rowStartIndex,o=t.rowStopIndex;(0,n.props.onRowsRendered)({overscanStartIndex:e,overscanStopIndex:r,startIndex:i,stopIndex:o})})),n}return Kt(e,t),Ht(e,[{key:\\\"forceUpdateGrid\\\",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:\\\"getOffsetForRow\\\",value:function(t){var e=t.alignment,n=t.index;return this.Grid?this.Grid.getOffsetForCell({alignment:e,rowIndex:n,columnIndex:0}).scrollTop:0}},{key:\\\"invalidateCellSizeAfterRender\\\",value:function(t){var e=t.columnIndex,n=t.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:e})}},{key:\\\"measureAllRows\\\",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:\\\"recomputeGridSize\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.columnIndex,n=void 0===e?0:e,r=t.rowIndex,i=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:i,columnIndex:n})}},{key:\\\"recomputeRowHeights\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:t,columnIndex:0})}},{key:\\\"scrollToPosition\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:t})}},{key:\\\"scrollToRow\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:t})}},{key:\\\"render\\\",value:function(){var t=this.props,e=t.className,n=t.noRowsRenderer,r=t.scrollToIndex,i=t.width,o=te(\\\"ReactVirtualized__List\\\",e);return a.createElement(Ce,Ut({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:o,columnWidth:i,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:r}))}}]),e}(a.PureComponent),Jt(Me,\\\"propTypes\\\",null),Ee);function Oe(t,e){var r,i=void 0!==(r=void 0!==e?e:\\\"undefined\\\"!=typeof window?window:\\\"undefined\\\"!=typeof self?self:n.g).document&&r.document.attachEvent;if(!i){var o=function(){var t=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(t){return r.setTimeout(t,20)};return function(e){return t(e)}}(),a=function(){var t=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout;return function(e){return t(e)}}(),s=function(t){var e=t.__resizeTriggers__,n=e.firstElementChild,r=e.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+\\\"px\\\",i.style.height=n.offsetHeight+1+\\\"px\\\",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},l=function(t){if(!(t.target.className&&\\\"function\\\"==typeof t.target.className.indexOf&&t.target.className.indexOf(\\\"contract-trigger\\\")<0&&t.target.className.indexOf(\\\"expand-trigger\\\")<0)){var e=this;s(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=o((function(){(function(t){return t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height})(e)&&(e.__resizeLast__.width=e.offsetWidth,e.__resizeLast__.height=e.offsetHeight,e.__resizeListeners__.forEach((function(n){n.call(e,t)})))}))}},u=!1,c=\\\"\\\",h=\\\"animationstart\\\",p=\\\"Webkit Moz O ms\\\".split(\\\" \\\"),f=\\\"webkitAnimationStart animationstart oAnimationStart MSAnimationStart\\\".split(\\\" \\\"),d=r.document.createElement(\\\"fakeelement\\\");if(void 0!==d.style.animationName&&(u=!0),!1===u)for(var m=0;m<p.length;m++)if(void 0!==d.style[p[m]+\\\"AnimationName\\\"]){c=\\\"-\\\"+p[m].toLowerCase()+\\\"-\\\",h=f[m],u=!0;break}var v=\\\"resizeanim\\\",g=\\\"@\\\"+c+\\\"keyframes \\\"+v+\\\" { from { opacity: 0; } to { opacity: 0; } } \\\",y=c+\\\"animation: 1ms \\\"+v+\\\"; \\\"}return{addResizeListener:function(e,n){if(i)e.attachEvent(\\\"onresize\\\",n);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,a=r.getComputedStyle(e);a&&\\\"static\\\"==a.position&&(e.style.position=\\\"relative\\\"),function(e){if(!e.getElementById(\\\"detectElementResize\\\")){var n=(g||\\\"\\\")+\\\".resize-triggers { \\\"+(y||\\\"\\\")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName(\\\"head\\\")[0],i=e.createElement(\\\"style\\\");i.id=\\\"detectElementResize\\\",i.type=\\\"text/css\\\",null!=t&&i.setAttribute(\\\"nonce\\\",t),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(e.createTextNode(n)),r.appendChild(i)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement(\\\"div\\\")).className=\\\"resize-triggers\\\";var u='<div class=\\\"expand-trigger\\\"><div></div></div><div class=\\\"contract-trigger\\\"></div>';if(window.trustedTypes){var c=trustedTypes.createPolicy(\\\"react-virtualized-auto-sizer\\\",{createHTML:function(){return u}});e.__resizeTriggers__.innerHTML=c.createHTML(\\\"\\\")}else e.__resizeTriggers__.innerHTML=u;e.appendChild(e.__resizeTriggers__),s(e),e.addEventListener(\\\"scroll\\\",l,!0),h&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==v&&s(e)},e.__resizeTriggers__.addEventListener(h,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(n)}},removeResizeListener:function(t,e){if(i)t.detachEvent(\\\"onresize\\\",e);else if(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),!t.__resizeListeners__.length){t.removeEventListener(\\\"scroll\\\",l,!0),t.__resizeTriggers__.__animationListener__&&(t.__resizeTriggers__.removeEventListener(h,t.__resizeTriggers__.__animationListener__),t.__resizeTriggers__.__animationListener__=null);try{t.__resizeTriggers__=!t.removeChild(t.__resizeTriggers__)}catch(t){}}}}}function Ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Le(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(n,!0).forEach((function(e){Jt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Jt(ke,\\\"defaultProps\\\",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:function(t){var e=t.cellCount,n=t.overscanCellsCount,r=t.scrollDirection,i=t.startIndex,o=t.stopIndex;return n=Math.max(1,n),1===r?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(e-1,o+n)}:{overscanStartIndex:Math.max(0,i-n),overscanStopIndex:Math.min(e-1,o+1)}},overscanRowCount:10,scrollToAlignment:\\\"auto\\\",scrollToIndex:-1,style:{}});var Pe=(Se=Te=function(t){function e(){var t,n;qt(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Jt(Wt(n=Xt(this,(t=Yt(e)).call.apply(t,[this].concat(i)))),\\\"state\\\",{height:n.props.defaultHeight||0,width:n.props.defaultWidth||0}),Jt(Wt(n),\\\"_parentNode\\\",void 0),Jt(Wt(n),\\\"_autoSizer\\\",void 0),Jt(Wt(n),\\\"_window\\\",void 0),Jt(Wt(n),\\\"_detectElementResize\\\",void 0),Jt(Wt(n),\\\"_onResize\\\",(function(){var t=n.props,e=t.disableHeight,r=t.disableWidth,i=t.onResize;if(n._parentNode){var o=n._parentNode.offsetHeight||0,a=n._parentNode.offsetWidth||0,s=(n._window||window).getComputedStyle(n._parentNode)||{},l=parseInt(s.paddingLeft,10)||0,u=parseInt(s.paddingRight,10)||0,c=parseInt(s.paddingTop,10)||0,h=parseInt(s.paddingBottom,10)||0,p=o-c-h,f=a-l-u;(!e&&n.state.height!==p||!r&&n.state.width!==f)&&(n.setState({height:o-c-h,width:a-l-u}),i({height:o,width:a}))}})),Jt(Wt(n),\\\"_setRef\\\",(function(t){n._autoSizer=t})),n}return Kt(e,t),Ht(e,[{key:\\\"componentDidMount\\\",value:function(){var t=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=Oe(t,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:\\\"componentWillUnmount\\\",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:\\\"render\\\",value:function(){var t=this.props,e=t.children,n=t.className,r=t.disableHeight,i=t.disableWidth,o=t.style,s=this.state,l=s.height,u=s.width,c={overflow:\\\"visible\\\"},h={};return r||(c.height=0,h.height=l),i||(c.width=0,h.width=u),a.createElement(\\\"div\\\",{className:n,ref:this._setRef,style:Le({},c,{},o)},e(h))}}]),e}(a.Component),Jt(Te,\\\"propTypes\\\",null),Se);Jt(Pe,\\\"defaultProps\\\",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});var ze=[],Re=null,De=null;function $e(){De&&(De=null,document.body&&null!=Re&&(document.body.style.pointerEvents=Re),Re=null)}function Be(){$e(),ze.forEach((function(t){return t.__resetIsScrolling()}))}function Ne(t){t.currentTarget===window&&null==Re&&document.body&&(Re=document.body.style.pointerEvents,document.body.style.pointerEvents=\\\"none\\\"),function(){De&&ye(De);var t=0;ze.forEach((function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)})),De=_e(Be,t)}(),ze.forEach((function(e){e.props.scrollElement===t.currentTarget&&e.__handleWindowScrollEvent()}))}function Fe(t,e){ze.some((function(t){return t.props.scrollElement===e}))||e.addEventListener(\\\"scroll\\\",Ne),ze.push(t)}function je(t,e){(ze=ze.filter((function(e){return e!==t}))).length||(e.removeEventListener(\\\"scroll\\\",Ne),De&&(ye(De),$e()))}var Ue,qe,Ve=function(t){return t===window},He=function(t){return t.getBoundingClientRect()};function Ge(t,e){if(t){if(Ve(t)){var n=window,r=n.innerHeight,i=n.innerWidth;return{height:\\\"number\\\"==typeof r?r:0,width:\\\"number\\\"==typeof i?i:0}}return He(t)}return{height:e.serverHeight,width:e.serverWidth}}function We(t,e){if(Ve(e)&&document.documentElement){var n=document.documentElement,r=He(t),i=He(n);return{top:r.top-i.top,left:r.left-i.left}}var o=Xe(e),a=He(t),s=He(e);return{top:a.top+o.top-s.top,left:a.left+o.left-s.left}}function Xe(t){return Ve(t)&&document.documentElement?{top:\\\"scrollY\\\"in window?window.scrollY:document.documentElement.scrollTop,left:\\\"scrollX\\\"in window?window.scrollX:document.documentElement.scrollLeft}:{top:t.scrollTop,left:t.scrollLeft}}function Ye(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ze(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ye(n,!0).forEach((function(e){Jt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ye(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ke=function(){return\\\"undefined\\\"!=typeof window?window:void 0},Je=(qe=Ue=function(t){function e(){var t,n;qt(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Jt(Wt(n=Xt(this,(t=Yt(e)).call.apply(t,[this].concat(i)))),\\\"_window\\\",Ke()),Jt(Wt(n),\\\"_isMounted\\\",!1),Jt(Wt(n),\\\"_positionFromTop\\\",0),Jt(Wt(n),\\\"_positionFromLeft\\\",0),Jt(Wt(n),\\\"_detectElementResize\\\",void 0),Jt(Wt(n),\\\"_child\\\",void 0),Jt(Wt(n),\\\"state\\\",Ze({},Ge(n.props.scrollElement,n.props),{isScrolling:!1,scrollLeft:0,scrollTop:0})),Jt(Wt(n),\\\"_registerChild\\\",(function(t){!t||t instanceof Element||console.warn(\\\"WindowScroller registerChild expects to be passed Element or null\\\"),n._child=t,n.updatePosition()})),Jt(Wt(n),\\\"_onChildScroll\\\",(function(t){var e=t.scrollTop;if(n.state.scrollTop!==e){var r=n.props.scrollElement;r&&(\\\"function\\\"==typeof r.scrollTo?r.scrollTo(0,e+n._positionFromTop):r.scrollTop=e+n._positionFromTop)}})),Jt(Wt(n),\\\"_registerResizeListener\\\",(function(t){t===window?window.addEventListener(\\\"resize\\\",n._onResize,!1):n._detectElementResize.addResizeListener(t,n._onResize)})),Jt(Wt(n),\\\"_unregisterResizeListener\\\",(function(t){t===window?window.removeEventListener(\\\"resize\\\",n._onResize,!1):t&&n._detectElementResize.removeResizeListener(t,n._onResize)})),Jt(Wt(n),\\\"_onResize\\\",(function(){n.updatePosition()})),Jt(Wt(n),\\\"__handleWindowScrollEvent\\\",(function(){if(n._isMounted){var t=n.props.onScroll,e=n.props.scrollElement;if(e){var r=Xe(e),i=Math.max(0,r.left-n._positionFromLeft),o=Math.max(0,r.top-n._positionFromTop);n.setState({isScrolling:!0,scrollLeft:i,scrollTop:o}),t({scrollLeft:i,scrollTop:o})}}})),Jt(Wt(n),\\\"__resetIsScrolling\\\",(function(){n.setState({isScrolling:!1})})),n}return Kt(e,t),Ht(e,[{key:\\\"updatePosition\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,e=this.props.onResize,n=this.state,r=n.height,i=n.width,o=this._child||z.findDOMNode(this);if(o instanceof Element&&t){var a=We(o,t);this._positionFromTop=a.top,this._positionFromLeft=a.left}var s=Ge(t,this.props);r===s.height&&i===s.width||(this.setState({height:s.height,width:s.width}),e({height:s.height,width:s.width}))}},{key:\\\"componentDidMount\\\",value:function(){var t=this.props.scrollElement;this._detectElementResize=Oe(),this.updatePosition(t),t&&(Fe(this,t),this._registerResizeListener(t)),this._isMounted=!0}},{key:\\\"componentDidUpdate\\\",value:function(t,e){var n=this.props.scrollElement,r=t.scrollElement;r!==n&&null!=r&&null!=n&&(this.updatePosition(n),je(this,r),Fe(this,n),this._unregisterResizeListener(r),this._registerResizeListener(n))}},{key:\\\"componentWillUnmount\\\",value:function(){var t=this.props.scrollElement;t&&(je(this,t),this._unregisterResizeListener(t)),this._isMounted=!1}},{key:\\\"render\\\",value:function(){var t=this.props.children,e=this.state,n=e.isScrolling,r=e.scrollTop,i=e.scrollLeft,o=e.height,a=e.width;return t({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:o,isScrolling:n,scrollLeft:i,scrollTop:r,width:a})}}]),e}(a.PureComponent),Jt(Ue,\\\"propTypes\\\",null),qe);Jt(Je,\\\"defaultProps\\\",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Ke(),serverHeight:0,serverWidth:0});const Qe=Je;var tn,en,nn=(en=tn=function(t){function e(){var t,n;qt(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Jt(Wt(n=Xt(this,(t=Yt(e)).call.apply(t,[this].concat(i)))),\\\"_child\\\",void 0),Jt(Wt(n),\\\"_measure\\\",(function(){var t=n.props,e=t.cache,r=t.columnIndex,i=void 0===r?0:r,o=t.parent,a=t.rowIndex,s=void 0===a?n.props.index||0:a,l=n._getCellMeasurements(),u=l.height,c=l.width;u===e.getHeight(s,i)&&c===e.getWidth(s,i)||(e.set(s,i,c,u),o&&\\\"function\\\"==typeof o.recomputeGridSize&&o.recomputeGridSize({columnIndex:i,rowIndex:s}))})),Jt(Wt(n),\\\"_registerChild\\\",(function(t){!t||t instanceof Element||console.warn(\\\"CellMeasurer registerChild expects to be passed Element or null\\\"),n._child=t,t&&n._maybeMeasureCell()})),n}return Kt(e,t),Ht(e,[{key:\\\"componentDidMount\\\",value:function(){this._maybeMeasureCell()}},{key:\\\"componentDidUpdate\\\",value:function(){this._maybeMeasureCell()}},{key:\\\"render\\\",value:function(){var t=this.props.children;return\\\"function\\\"==typeof t?t({measure:this._measure,registerChild:this._registerChild}):t}},{key:\\\"_getCellMeasurements\\\",value:function(){var t=this.props.cache,e=this._child||(0,z.findDOMNode)(this);if(e&&e.ownerDocument&&e.ownerDocument.defaultView&&e instanceof e.ownerDocument.defaultView.HTMLElement){var n=e.style.width,r=e.style.height;t.hasFixedWidth()||(e.style.width=\\\"auto\\\"),t.hasFixedHeight()||(e.style.height=\\\"auto\\\");var i=Math.ceil(e.offsetHeight),o=Math.ceil(e.offsetWidth);return n&&(e.style.width=n),r&&(e.style.height=r),{height:i,width:o}}return{height:0,width:0}}},{key:\\\"_maybeMeasureCell\\\",value:function(){var t=this.props,e=t.cache,n=t.columnIndex,r=void 0===n?0:n,i=t.parent,o=t.rowIndex,a=void 0===o?this.props.index||0:o;if(!e.has(a,r)){var s=this._getCellMeasurements(),l=s.height,u=s.width;e.set(a,r,u,l),i&&\\\"function\\\"==typeof i.invalidateCellSizeAfterRender&&i.invalidateCellSizeAfterRender({columnIndex:r,rowIndex:a})}}}]),e}(a.PureComponent),Jt(tn,\\\"propTypes\\\",null),en);Jt(nn,\\\"__internalCellMeasurerFlag\\\",!1);var rn=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};qt(this,t),Jt(this,\\\"_cellHeightCache\\\",{}),Jt(this,\\\"_cellWidthCache\\\",{}),Jt(this,\\\"_columnWidthCache\\\",{}),Jt(this,\\\"_rowHeightCache\\\",{}),Jt(this,\\\"_defaultHeight\\\",void 0),Jt(this,\\\"_defaultWidth\\\",void 0),Jt(this,\\\"_minHeight\\\",void 0),Jt(this,\\\"_minWidth\\\",void 0),Jt(this,\\\"_keyMapper\\\",void 0),Jt(this,\\\"_hasFixedHeight\\\",void 0),Jt(this,\\\"_hasFixedWidth\\\",void 0),Jt(this,\\\"_columnCount\\\",0),Jt(this,\\\"_rowCount\\\",0),Jt(this,\\\"columnWidth\\\",(function(t){var n=t.index,r=e._keyMapper(0,n);return void 0!==e._columnWidthCache[r]?e._columnWidthCache[r]:e._defaultWidth})),Jt(this,\\\"rowHeight\\\",(function(t){var n=t.index,r=e._keyMapper(n,0);return void 0!==e._rowHeightCache[r]?e._rowHeightCache[r]:e._defaultHeight}));var r=n.defaultHeight,i=n.defaultWidth,o=n.fixedHeight,a=n.fixedWidth,s=n.keyMapper,l=n.minHeight,u=n.minWidth;this._hasFixedHeight=!0===o,this._hasFixedWidth=!0===a,this._minHeight=l||0,this._minWidth=u||0,this._keyMapper=s||on,this._defaultHeight=Math.max(this._minHeight,\\\"number\\\"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,\\\"number\\\"==typeof i?i:100)}return Ht(t,[{key:\\\"clear\\\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(t,e);delete this._cellHeightCache[n],delete this._cellWidthCache[n],this._updateCachedColumnAndRowSizes(t,e)}},{key:\\\"clearAll\\\",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:\\\"hasFixedHeight\\\",value:function(){return this._hasFixedHeight}},{key:\\\"hasFixedWidth\\\",value:function(){return this._hasFixedWidth}},{key:\\\"getHeight\\\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var n=this._keyMapper(t,e);return void 0!==this._cellHeightCache[n]?Math.max(this._minHeight,this._cellHeightCache[n]):this._defaultHeight}},{key:\\\"getWidth\\\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var n=this._keyMapper(t,e);return void 0!==this._cellWidthCache[n]?Math.max(this._minWidth,this._cellWidthCache[n]):this._defaultWidth}},{key:\\\"has\\\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(t,e);return void 0!==this._cellHeightCache[n]}},{key:\\\"set\\\",value:function(t,e,n,r){var i=this._keyMapper(t,e);e>=this._columnCount&&(this._columnCount=e+1),t>=this._rowCount&&(this._rowCount=t+1),this._cellHeightCache[i]=r,this._cellWidthCache[i]=n,this._updateCachedColumnAndRowSizes(t,e)}},{key:\\\"_updateCachedColumnAndRowSizes\\\",value:function(t,e){if(!this._hasFixedWidth){for(var n=0,r=0;r<this._rowCount;r++)n=Math.max(n,this.getWidth(r,e));var i=this._keyMapper(0,e);this._columnWidthCache[i]=n}if(!this._hasFixedHeight){for(var o=0,a=0;a<this._columnCount;a++)o=Math.max(o,this.getHeight(t,a));var s=this._keyMapper(t,0);this._rowHeightCache[s]=o}}},{key:\\\"defaultHeight\\\",get:function(){return this._defaultHeight}},{key:\\\"defaultWidth\\\",get:function(){return this._defaultWidth}}]),t}();function on(t,e){return\\\"\\\".concat(t,\\\"-\\\").concat(e)}var an=n(1741),sn=n.n(an),ln=Number.isNaN||function(t){return\\\"number\\\"==typeof t&&t!=t};function un(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!((r=t[n])===(i=e[n])||ln(r)&&ln(i)))return!1;var r,i;return!0}function cn(t,e){void 0===e&&(e=un);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&e(r,n.lastArgs))return n.lastResult;var o=t.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}function hn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\\\"undefined\\\"!=typeof Symbol&&t[Symbol.iterator]||t[\\\"@@iterator\\\"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if(\\\"string\\\"==typeof t)return pn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\\\"Object\\\"===n&&t.constructor&&(n=t.constructor.name),\\\"Map\\\"===n||\\\"Set\\\"===n?Array.from(t):\\\"Arguments\\\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pn(t,e):void 0}}(t,e)||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 pn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var fn=n(965),dn=n.n(fn);function mn(t){return mn=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},mn(t)}var vn=[\\\"scrolling\\\",\\\"data-test\\\",\\\"className\\\",\\\"label\\\",\\\"hover\\\",\\\"description\\\",\\\"rgItemType\\\",\\\"url\\\",\\\"onCheckboxChange\\\",\\\"disabled\\\",\\\"LinkComponent\\\",\\\"compact\\\",\\\"hoverClassName\\\"];function gn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function yn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gn(Object(n),!0).forEach((function(e){Mn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _n(){return _n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_n.apply(this,arguments)}function bn(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function xn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function wn(t,e){return wn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},wn(t,e)}function An(t,e){if(e&&(\\\"object\\\"===mn(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Cn(t)}function Mn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var En=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&wn(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Cn(r);if(i){var n=Cn(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return An(this,t)});function s(){return bn(this,s),o.apply(this,arguments)}return e=s,(n=[{key:\\\"render\\\",value:function(){var t,e=this.props,n=e.scrolling,r=e[\\\"data-test\\\"],i=e.className,o=e.label,s=e.hover,u=(e.description,e.rgItemType,e.url,e.onCheckboxChange,e.disabled),c=e.LinkComponent,h=e.compact,p=(e.hoverClassName,function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(e,vn)),f=l()(dn().item,i,(Mn(t={},dn().actionLink,!u),Mn(t,dn().compact,h),Mn(t,dn().scrolling,n),t)),d=c?(0,x.linkHOC)(c):x.default;return a.createElement(d,_n({pseudo:!this.props.href},p,{hover:s&&!u,className:f,\\\"data-test\\\":(0,y.Z)(\\\"ring-list-link\\\",r)}),o)}}])&&xn(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);function Tn(t){if(null==t)return{};var e,n=/([^&;=]+)=?([^&;]*)/g,r={};function i(t){return decodeURIComponent(t.replace(/\\\\+/g,\\\" \\\"))}for(;null!=(e=n.exec(t));)r[i(e[1])]=i(e[2]);return r}function Sn(t){return encodeURIComponent(t).replace(/%2C/g,\\\",\\\")}function kn(t,e){var n,r=-1===t.indexOf(\\\"?\\\")?\\\"?\\\":\\\"&\\\",i=t,o=0;for(n in e)e.hasOwnProperty(n)&&null!=e[n]&&(i+=(0==o++?r:\\\"&\\\")+Sn(n)+\\\"=\\\"+Sn(e[n]));return i}function On(t){return 0===t.indexOf(\\\"data:\\\")}Mn(En,\\\"propTypes\\\",yn(yn({},x.default.propTypes),{},{description:i().string,label:i().oneOfType([i().element,i().string,i().func]),rgItemType:i().number,scrolling:i().bool,url:i().string,LinkComponent:i().oneOfType([i().instanceOf(a.Component),i().func,i().string]),onCheckboxChange:i().func,compact:i().bool}));var In=n(3885),Ln=n.n(In);function Pn(t){return function(t){if(Array.isArray(t))return Rn(t)}(t)||function(t){if(\\\"undefined\\\"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t[\\\"@@iterator\\\"])return Array.from(t)}(t)||zn(t)||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 zn(t,e){if(t){if(\\\"string\\\"==typeof t)return Rn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\\\"Object\\\"===n&&t.constructor&&(n=t.constructor.name),\\\"Map\\\"===n||\\\"Set\\\"===n?Array.from(t):\\\"Arguments\\\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rn(t,e):void 0}}function Rn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n(3961),n(5913);var Dn=[[\\\"#60A800\\\",\\\"#D5CA00\\\"],[\\\"#21D370\\\",\\\"#03E9E1\\\"],[\\\"#3BA1FF\\\",\\\"#36E97D\\\"],[\\\"#00C243\\\",\\\"#00FFFF\\\"],[\\\"#4BE098\\\",\\\"#627FFF\\\"],[\\\"#168BFA\\\",\\\"#26F7C7\\\"],[\\\"#9D4CFF\\\",\\\"#39D3C3\\\"],[\\\"#0A81F6\\\",\\\"#0ACFF6\\\"],[\\\"#765AF8\\\",\\\"#5A91F8\\\"],[\\\"#9E54FF\\\",\\\"#0ACFF6\\\"],[\\\"#B345F1\\\",\\\"#669DFF\\\"],[\\\"#765AF8\\\",\\\"#C059EE\\\"],[\\\"#9039D0\\\",\\\"#C239D0\\\"],[\\\"#9F2AFF\\\",\\\"#FD56FD\\\"],[\\\"#AB3AF2\\\",\\\"#E40568\\\"],[\\\"#9F2AFF\\\",\\\"#E9A80B\\\"],[\\\"#D50F6B\\\",\\\"#E73AE8\\\"],[\\\"#ED5502\\\",\\\"#E73AE8\\\"],[\\\"#ED358C\\\",\\\"#DBED18\\\"],[\\\"#ED358C\\\",\\\"#F9902E\\\"],[\\\"#FF7500\\\",\\\"#FFCA00\\\"]],$n={18:{radius:2,text:{x:9,y:13},fontSize:\\\"11px\\\",textAnchor:\\\"middle\\\"},24:{radius:3,text:{x:2,y:13},fontSize:\\\"11px\\\",underscore:{x:3,y:17}},32:{radius:3,text:{x:3,y:17},fontSize:\\\"13px\\\",letterSpacing:1,underscore:{x:4,y:22}},40:{radius:3,text:{x:5,y:19},fontSize:\\\"15px\\\",letterSpacing:1,underscore:{x:6,y:28}}},Bn=Object.keys($n).map(Number);function Nn(t){var e=t.username,n=t.size,r=t.round,i=Math.abs(function(t){for(var e=0,n=0;n<t.length;n++)e=Math.imul(31,e)+t.charCodeAt(n)|0;return e}(e.toLowerCase())),o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\\\"undefined\\\"!=typeof Symbol&&t[Symbol.iterator]||t[\\\"@@iterator\\\"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||zn(t,e)||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.\\\")}()}(Dn[i%Dn.length],2),s=o[0],l=o[1],u=Bn.filter((function(t){return t>=n})),c=u.length>0?Math.min.apply(Math,Pn(u)):Math.max.apply(Math,Pn(Bn)),h=$n[c],p=r?\\\"50%\\\":h.radius,f=(0,a.useMemo)((function(){return D(\\\"gradient-\\\")}),[]);return a.createElement(\\\"svg\\\",{viewBox:\\\"0 0 \\\".concat(c,\\\" \\\").concat(c),xmlns:\\\"http://www.w3.org/2000/svg\\\"},a.createElement(\\\"defs\\\",null,a.createElement(\\\"linearGradient\\\",{id:f,x1:\\\"0\\\",y1:\\\"0\\\",x2:\\\"0\\\",y2:\\\"1\\\"},a.createElement(\\\"stop\\\",{stopColor:s,offset:\\\"0\\\"}),a.createElement(\\\"stop\\\",{stopColor:l,offset:\\\"1\\\"}))),a.createElement(\\\"g\\\",null,a.createElement(\\\"rect\\\",{fill:\\\"url(#\\\".concat(f,\\\")\\\"),x:\\\"0\\\",y:\\\"0\\\",width:c,height:c,rx:p,ry:p}),a.createElement(\\\"text\\\",{x:h.text.x,y:h.text.y,fontFamily:\\\"Arial, Helvetica, sans-serif\\\",fontSize:h.fontSize,letterSpacing:h.letterSpacing,fill:\\\"#FFFFFF\\\",textAnchor:h.textAnchor},a.createElement(\\\"tspan\\\",null,function(t){var e=t.split(/[\\\\s._]+/).filter(Boolean);return e.length>=2?e[0][0].toUpperCase()+e[1][0].toUpperCase():1===e.length?e[0].length>=2?e[0].slice(0,2).toUpperCase():\\\"\\\".concat(e[0][0].toUpperCase(),\\\"X\\\"):\\\"XX\\\"}(e)),h.underscore&&a.createElement(\\\"tspan\\\",{x:h.underscore.x,y:h.underscore.y},\\\"_\\\"))))}function Fn(t){return Fn=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Fn(t)}Nn.propTypes={username:i().string.isRequired,size:i().number.isRequired,round:i().bool};var jn=[\\\"size\\\",\\\"url\\\",\\\"dpr\\\",\\\"style\\\",\\\"round\\\",\\\"subavatar\\\",\\\"subavatarSize\\\",\\\"username\\\",\\\"skipParams\\\"];function Un(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\\\"undefined\\\"!=typeof Symbol&&t[Symbol.iterator]||t[\\\"@@iterator\\\"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if(\\\"string\\\"==typeof t)return qn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\\\"Object\\\"===n&&t.constructor&&(n=t.constructor.name),\\\"Map\\\"===n||\\\"Set\\\"===n?Array.from(t):\\\"Arguments\\\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qn(t,e):void 0}}(t,e)||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 qn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Vn(){return Vn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Vn.apply(this,arguments)}function Hn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Gn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hn(Object(n),!0).forEach((function(e){Qn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Wn(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function Xn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Yn(t,e){return Yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Yn(t,e)}function Zn(t,e){if(e&&(\\\"object\\\"===Fn(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return Kn(t)}function Kn(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jn(t)}function Qn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tr=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Yn(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Jn(r);if(i){var n=Jn(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Zn(this,t)});function s(){var t;Wn(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Qn(Kn(t=o.call.apply(o,[this].concat(n))),\\\"state\\\",{errorUrl:\\\"\\\"}),Qn(Kn(t),\\\"handleError\\\",(function(){t.setState({errorUrl:t.props.url})})),Qn(Kn(t),\\\"handleSuccess\\\",(function(){t.setState({errorUrl:\\\"\\\"})})),t}return e=s,n=[{key:\\\"render\\\",value:function(){var t=this.props,e=t.size,n=t.url,r=t.dpr,i=t.style,o=t.round,s=t.subavatar,u=t.subavatarSize,c=t.username,h=t.skipParams,p=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,jn),f=\\\"\\\".concat(e,\\\"px\\\"),d=\\\"\\\".concat(u,\\\"px\\\"),m=Gn({borderRadius:o?\\\"50%\\\":e<=18?\\\"var(--ring-border-radius-small)\\\":\\\"var(--ring-border-radius)\\\",height:f,width:f},i),v=Gn({borderRadius:\\\"2px\\\",height:d,width:d},i);if(!n||this.state.errorUrl===n)return a.createElement(\\\"span\\\",Vn({},p,{\\\"data-test\\\":\\\"avatar\\\",className:l()(Ln().avatar,this.props.className,Qn({},Ln().empty,null==c)),style:m}),null!=c&&a.createElement(Nn,{size:e,round:o,username:c}));var g=n;if(!h&&!On(n)){var y=Un(n.split(\\\"?\\\"),2);g=kn(y[0],Gn(Gn({},Tn(y[1])),{},{dpr:r,size:e}))}var _=null;if(s&&!On(s)){var b=Un(s.split(\\\"?\\\"),2),x=b[0],w=Gn(Gn({},Tn(b[1])),{},{dpr:r,subavatarSizeString:d});return _=h?s:kn(x,w),a.createElement(\\\"div\\\",null,a.createElement(\\\"img\\\",Vn({},p,{onError:this.handleError,onLoad:this.handleSuccess,className:l()(Ln().avatar,this.props.className),style:m,src:g,alt:\\\"User avatar\\\"})),a.createElement(\\\"img\\\",Vn({},p,{\\\"data-test\\\":\\\"avatar\\\",onError:this.handleError,onLoad:this.handleSuccess,className:l()(Ln().subavatar),style:v,src:_,alt:\\\"Subavatar\\\"})))}return a.createElement(\\\"img\\\",Vn({},p,{\\\"data-test\\\":\\\"avatar\\\",onError:this.handleError,onLoad:this.handleSuccess,className:l()(Ln().avatar,this.props.className),style:m,src:g,alt:\\\"User avatar\\\"}))}}],n&&Xn(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);Qn(tr,\\\"propTypes\\\",{dpr:i().number,className:i().string,size:i().number,style:i().object,url:i().string,round:i().bool,subavatar:i().string,subavatarSize:i().number,username:i().string,skipParams:i().bool}),Qn(tr,\\\"defaultProps\\\",{dpr:(0,B.mX)(),size:20,subavatarSize:10,style:{}});var er=n(6258),nr=n.n(er),rr=n(899),ir=n.n(rr),or={BLUE:\\\"blue\\\",DEFAULT:\\\"\\\",GRAY:\\\"gray\\\",GREEN:\\\"green\\\",MAGENTA:\\\"magenta\\\",RED:\\\"red\\\",WHITE:\\\"white\\\"},ar={Size12:12,Size14:14,Size16:16,Size18:18,Size20:20,Size24:24,Size32:32,Size40:40,Size48:48,Size64:64,Size96:96,Size128:128},sr=n(2048),lr=n.n(sr),ur=(n(3315),[\\\"src\\\",\\\"className\\\"]);function cr(){return cr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},cr.apply(this,arguments)}var hr=(0,u.Z)((function(t){var e=document.createElement(\\\"div\\\");e.innerHTML=t;var n,r,i=e.firstElementChild;return i.remove?i.remove():e.removeChild(i),{props:(n=i,r=n.attributes,r.length>0?function(t){for(var e={},n=0;n<t.length;n++){var r=t[n].name,i=r;\\\"class\\\"===r?i=\\\"className\\\":r.startsWith(\\\"data-\\\")||(i=r.replace(/[-|:]([a-z])/g,(function(t){return t[1].toUpperCase()}))),e[i]=t[n].value}return e}(r):null),html:i.innerHTML}}));function pr(t){var e,n,r,i,o,s,u=t.src,c=t.className,h=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,ur),p=l()(lr().glyph,(e={},n=lr().compatibilityMode,o=/width=\\\"[\\\\d\\\\.]+\\\"/gi.test(i=u),s=/height=\\\"[\\\\d\\\\.]+\\\"/gi.test(i),r=!o||!s,n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e),c),f=hr(u),d=f.props,m=f.html;return a.createElement(\\\"svg\\\",cr({},d,h,{className:p,dangerouslySetInnerHTML:{__html:m}}))}pr.propTypes={className:i().string,src:i().string.isRequired,style:i().object};const fr=(0,a.memo)(pr);function dr(t){return dr=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},dr(t)}var mr=[\\\"className\\\",\\\"size\\\",\\\"color\\\",\\\"loading\\\",\\\"glyph\\\",\\\"width\\\",\\\"height\\\",\\\"suppressSizeWarning\\\"];function vr(){return vr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},vr.apply(this,arguments)}function gr(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function yr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _r(t,e){return _r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_r(t,e)}function br(t,e){if(e&&(\\\"object\\\"===dr(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function xr(t){return xr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},xr(t)}function wr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ar=sn()((function(){}),\\\"`size`, `width` and `height` props are not recommended to use in Ring UI `Icon` component. The intrinsic sizes of SVG icon (`width` and `height` SVG attributes) are used instead.\\\\n\\\\nWe strongly recommend to use icons handcrafted for particular sizes. If your icon doesn't exist in the desired size, please ask your designer to draw one. \\\\\\\"Responsive\\\\\\\" checkmark should be unchecked when exporting icon.'\\\"),Cr=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&_r(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=xr(r);if(i){var n=xr(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return br(this,t)});function s(){return gr(this,s),o.apply(this,arguments)}return e=s,n=[{key:\\\"warnSize\\\",value:function(){this.props.suppressSizeWarning||Ar()}},{key:\\\"getStyle\\\",value:function(){var t=this.props,e=t.size,n=t.width,r=t.height;return n||r?(this.warnSize(),{width:n,height:r}):e?(this.warnSize(),{width:e,height:e}):null}},{key:\\\"render\\\",value:function(){var t,e=this.props,n=e.className,r=(e.size,e.color),i=e.loading,o=e.glyph,s=(e.width,e.height,e.suppressSizeWarning,function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(e,mr));if(!o)return null;var u=l()(lr().icon,(wr(t={},lr()[r],!!r),wr(t,lr().loading,i),t),n);return a.createElement(\\\"span\\\",vr({},s,{className:u}),\\\"string\\\"==typeof o?a.createElement(fr,{src:o,style:this.getStyle()}):a.createElement(o,{className:lr().glyph,style:this.getStyle()}))}}],n&&yr(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);wr(Cr,\\\"propTypes\\\",{className:i().string,color:i().string,glyph:i().oneOfType([i().string,i().elementType]).isRequired,height:i().number,size:i().number,width:i().number,loading:i().bool,suppressSizeWarning:i().bool}),wr(Cr,\\\"defaultProps\\\",{className:\\\"\\\",color:or.DEFAULT,glyph:\\\"\\\"}),wr(Cr,\\\"Color\\\",or),wr(Cr,\\\"Size\\\",ar);var Mr=n(8016),Er=n.n(Mr);function Tr(t){return Tr=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Tr(t)}var Sr=[\\\"children\\\",\\\"label\\\",\\\"className\\\",\\\"containerClassName\\\",\\\"containerStyle\\\",\\\"cellClassName\\\",\\\"labelClassName\\\",\\\"indeterminate\\\"];function kr(){return kr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},kr.apply(this,arguments)}function Or(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function Ir(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Lr(t,e){return Lr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Lr(t,e)}function Pr(t,e){if(e&&(\\\"object\\\"===Tr(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return zr(t)}function zr(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Rr(t){return Rr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Rr(t)}function Dr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $r=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Lr(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Rr(r);if(i){var n=Rr(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Pr(this,t)});function s(){var t;Or(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Dr(zr(t=o.call.apply(o,[this].concat(n))),\\\"inputRef\\\",(function(e){null!=e&&(e.indeterminate=t.props.indeterminate),t.input=e})),t}return e=s,n=[{key:\\\"componentDidMount\\\",value:function(){null!=this.input&&(this.input.indeterminate=this.props.indeterminate)}},{key:\\\"componentDidUpdate\\\",value:function(t){var e=this.props.indeterminate;null!=this.input&&e!==t.indeterminate&&(this.input.indeterminate=this.props.indeterminate)}},{key:\\\"render\\\",value:function(){var t=this.props,e=t.children,n=t.label,r=t.className,i=t.containerClassName,o=t.containerStyle,s=t.cellClassName,u=t.labelClassName,c=(t.indeterminate,function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,Sr)),h=l()(Er().input,r),p=l()(Er().checkbox,i),f=l()(Er().cell,s),d=l()(Er().label,u);return a.createElement(\\\"label\\\",{className:p,style:o,\\\"data-test\\\":\\\"ring-checkbox\\\"},a.createElement(\\\"input\\\",kr({},c,{\\\"data-checked\\\":c.checked,ref:this.inputRef,type:\\\"checkbox\\\",className:h})),a.createElement(\\\"span\\\",{className:f},a.createElement(Cr,{glyph:nr(),className:Er().check}),a.createElement(Cr,{glyph:ir(),className:Er().minus})),a.createElement(\\\"span\\\",{className:d},n||e))}}],n&&Ir(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);Dr($r,\\\"propTypes\\\",{name:i().string,label:i().string,className:i().string,containerClassName:i().string,containerStyle:i().object,cellClassName:i().string,labelClassName:i().string,defaultChecked:i().bool,checked:i().bool,indeterminate:i().bool,disabled:i().bool,onChange:i().func,children:i().node});var Br=n(4450),Nr=n.n(Br);function Fr(t){return Fr=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Fr(t)}var jr=[\\\"scrolling\\\",\\\"className\\\",\\\"disabled\\\",\\\"checkbox\\\",\\\"avatar\\\",\\\"subavatar\\\",\\\"glyph\\\",\\\"icon\\\",\\\"rightGlyph\\\",\\\"description\\\",\\\"label\\\",\\\"title\\\",\\\"details\\\",\\\"hover\\\",\\\"rgItemType\\\",\\\"level\\\",\\\"tabIndex\\\",\\\"compact\\\",\\\"onClick\\\",\\\"onCheckboxChange\\\",\\\"onMouseOver\\\",\\\"onMouseDown\\\",\\\"onMouseUp\\\",\\\"rightNodes\\\",\\\"leftNodes\\\",\\\"showGeneratedAvatar\\\",\\\"username\\\"];function Ur(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function qr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Vr(t,e){return Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Vr(t,e)}function Hr(t,e){if(e&&(\\\"object\\\"===Fr(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return Gr(t)}function Gr(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Wr(t){return Wr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Wr(t)}function Xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Yr=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Vr(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Wr(r);if(i){var n=Wr(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Hr(this,t)});function s(){var t;Ur(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Xr(Gr(t=o.call.apply(o,[this].concat(n))),\\\"id\\\",D(\\\"list-item-\\\")),Xr(Gr(t),\\\"stopBubbling\\\",(function(t){return t.stopPropagation()})),Xr(Gr(t),\\\"_isString\\\",(function(t){return\\\"string\\\"==typeof t||t instanceof String})),t}return e=s,n=[{key:\\\"render\\\",value:function(){var t,e,n,r=this.props,i=r.scrolling,o=r.className,s=r.disabled,u=r.checkbox,c=r.avatar,h=r.subavatar,p=r.glyph,f=r.icon,d=r.rightGlyph,m=r.description,v=r.label,g=r.title,_=r.details,b=r.hover,x=(r.rgItemType,r.level),w=r.tabIndex,A=r.compact,C=r.onClick,M=r.onCheckboxChange,E=r.onMouseOver,T=r.onMouseDown,S=r.onMouseUp,k=r.rightNodes,O=r.leftNodes,I=r.showGeneratedAvatar,L=r.username,P=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(r,jr),z=I&&null!=L,R=void 0!==u&&(u||!(O||p||c||z)||b&&!s),D=l()(dn().item,Nr().resetButton,o,(Xr(t={},dn().action,!s),Xr(t,dn().hover,b&&!s),Xr(t,dn().compact,A),Xr(t,dn().scrolling,i),Xr(t,dn().disabled,s),t)),$=l()((Xr(e={},dn().details,_),Xr(e,dn().padded,void 0!==f||void 0!==u||void 0!==p),e)),B={paddingLeft:\\\"\\\".concat(8*(+x||0)+16+(R?28:0),\\\"px\\\")};n=this._isString(g)?g:this._isString(v)?v:\\\"\\\";var N=(0,y.Z)({\\\"ring-list-item\\\":-1===(P[\\\"data-test\\\"]||\\\"\\\").indexOf(\\\"ring-list-item\\\"),\\\"ring-list-item-action\\\":!s,\\\"ring-list-item-selected\\\":u},P[\\\"data-test\\\"]);return a.createElement(\\\"div\\\",{className:dn().itemContainer,\\\"data-test\\\":N},R&&a.createElement(\\\"div\\\",{className:dn().checkboxContainer},a.createElement($r,{\\\"aria-labelledby\\\":this.id,checked:u,disabled:s,onChange:M,onClick:this.stopBubbling})),a.createElement(\\\"button\\\",{id:this.id,type:\\\"button\\\",tabIndex:w,onClick:C,onMouseOver:E,onMouseDown:T,onFocus:E,onMouseUp:S,className:D,style:B},a.createElement(\\\"div\\\",{className:dn().top,onMouseOut:this.stopBubbling,onBlur:this.stopBubbling},!R&&a.createElement(\\\"div\\\",{className:dn().left},O,p&&a.createElement(Cr,{className:dn().glyph,glyph:p,size:this.props.iconSize}),(c||z)&&a.createElement(tr,{className:dn().avatar,url:c,size:20,subavatar:h,username:L})),a.createElement(\\\"span\\\",{className:dn().label,title:n,\\\"data-test\\\":\\\"ring-list-item-label\\\"},v),m&&a.createElement(\\\"span\\\",{className:dn().description,\\\"data-test\\\":\\\"ring-list-item-description\\\"},m),a.createElement(\\\"div\\\",{className:dn().right},d&&a.createElement(Cr,{className:dn().rightGlyph,glyph:d,size:this.props.iconSize}),f&&a.createElement(\\\"div\\\",{className:dn().icon,style:{backgroundImage:'url(\\\"'.concat(f,'\\\")')}}),k)),_&&a.createElement(\\\"div\\\",{className:$},_)))}}],n&&qr(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);Xr(Yr,\\\"propTypes\\\",{scrolling:i().bool,hover:i().bool,details:i().string,disabled:i().bool,className:i().string,tabIndex:i().number,checkbox:i().bool,description:i().oneOfType([i().string,i().element,i().array]),showGeneratedAvatar:i().bool,username:i().string,avatar:i().string,subavatar:i().string,glyph:i().oneOfType([i().string,i().elementType]),icon:i().string,iconSize:i().number,rightNodes:i().oneOfType([i().string,i().element,i().array]),leftNodes:i().oneOfType([i().string,i().element,i().array]),label:i().oneOfType([i().string,i().element]),title:i().string,level:i().number,rgItemType:i().number,rightGlyph:i().oneOfType([i().string,i().elementType]),compact:i().bool,onClick:i().func,onCheckboxChange:i().func,onMouseOver:i().func,onMouseDown:i().func,onMouseUp:i().func,\\\"data-test\\\":i().string});var Zr={Esc:\\\"Escape\\\",Spacebar:\\\" \\\",Left:\\\"ArrowLeft\\\",Up:\\\"ArrowUp\\\",Right:\\\"ArrowRight\\\",Down:\\\"ArrowDown\\\",Del:\\\"Delete\\\",Win:\\\"OS\\\",Menu:\\\"ContextMenu\\\",Apps:\\\"ContextMenu\\\",Scroll:\\\"ScrollLock\\\",MozPrintableKey:\\\"Unidentified\\\"},Kr={8:\\\"Backspace\\\",9:\\\"Tab\\\",12:\\\"Clear\\\",13:\\\"Enter\\\",16:\\\"Shift\\\",17:\\\"Control\\\",18:\\\"Alt\\\",19:\\\"Pause\\\",20:\\\"CapsLock\\\",27:\\\"Escape\\\",32:\\\" \\\",33:\\\"PageUp\\\",34:\\\"PageDown\\\",35:\\\"End\\\",36:\\\"Home\\\",37:\\\"ArrowLeft\\\",38:\\\"ArrowUp\\\",39:\\\"ArrowRight\\\",40:\\\"ArrowDown\\\",45:\\\"Insert\\\",46:\\\"Delete\\\",112:\\\"F1\\\",113:\\\"F2\\\",114:\\\"F3\\\",115:\\\"F4\\\",116:\\\"F5\\\",117:\\\"F6\\\",118:\\\"F7\\\",119:\\\"F8\\\",120:\\\"F9\\\",121:\\\"F10\\\",122:\\\"F11\\\",123:\\\"F12\\\",144:\\\"NumLock\\\",145:\\\"ScrollLock\\\",224:\\\"Meta\\\"};function Jr(t){if(t.key){var e=Zr[t.key]||t.key;if(\\\"Unidentified\\\"!==e)return e}if(\\\"keypress\\\"===t.type){var n=function(t){var e,n=t.keyCode;return\\\"charCode\\\"in t?0===(e=t.charCode)&&13===n&&(e=13):e=n,e>=32||13===e?e:0}(t);return 32===n?\\\"Enter\\\":String.fromCharCode(n)}return\\\"keydown\\\"===t.type||\\\"keyup\\\"===t.type?Kr[t.keyCode]||\\\"Unidentified\\\":\\\"\\\"}function Qr(t){return Qr=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Qr(t)}var ti=[\\\"scrolling\\\",\\\"hover\\\",\\\"className\\\",\\\"disabled\\\",\\\"template\\\",\\\"rgItemType\\\",\\\"tabIndex\\\",\\\"onClick\\\",\\\"onCheckboxChange\\\",\\\"onMouseOver\\\",\\\"onMouseUp\\\",\\\"role\\\",\\\"tagName\\\"];function ei(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function ni(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ri(t,e){return ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ri(t,e)}function ii(t,e){if(e&&(\\\"object\\\"===Qr(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return oi(t)}function oi(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ai(t)}function si(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var li=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&ri(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ai(r);if(i){var n=ai(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ii(this,t)});function s(){var t;ei(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return si(oi(t=o.call.apply(o,[this].concat(n))),\\\"handleKeyPress\\\",(function(e){var n=Jr(e);\\\"Enter\\\"!==n&&\\\" \\\"!==n||t.props.onClick(e)})),t}return e=s,(n=[{key:\\\"render\\\",value:function(){var t,e=this.props,n=e.scrolling,r=e.hover,i=e.className,o=e.disabled,s=e.template,u=(e.rgItemType,e.tabIndex),c=e.onClick,h=(e.onCheckboxChange,e.onMouseOver),p=e.onMouseUp,f=e.role,d=e.tagName,m=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(e,ti),v=l()(dn().item,i,(si(t={},dn().action,!o),si(t,dn().hover,r&&!o),si(t,dn().scrolling,n),t)),g=(0,y.Z)(\\\"ring-list-item-custom\\\",{\\\"ring-list-item-action\\\":!o},m[\\\"data-test\\\"]),_=\\\"function\\\"==typeof s?s(this.props):s,b=d||\\\"span\\\";return a.createElement(b,{role:f||\\\"button\\\",tabIndex:u,onClick:c,onKeyPress:this.handleKeyPress,onMouseOver:h,onFocus:h,onMouseUp:p,className:v,\\\"data-test\\\":g},_)}}])&&ni(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);function ui(t){return ui=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},ui(t)}function ci(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function hi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function pi(t,e){return pi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},pi(t,e)}function fi(t,e){if(e&&(\\\"object\\\"===ui(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},di(t)}function mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}si(li,\\\"propTypes\\\",{scrolling:i().bool,hover:i().bool,className:i().string,disabled:i().bool,rgItemType:i().number,tabIndex:i().number,template:i().oneOfType([i().func,i().element,i().string]),onClick:i().func,onMouseOver:i().func,onMouseUp:i().func,onCheckboxChange:i().func,role:i().string,tagName:i().string,\\\"data-test\\\":i().string}),si(li,\\\"defaultProps\\\",{hover:!1});var vi=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&pi(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=di(r);if(i){var n=di(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return fi(this,t)});function s(){return ci(this,s),o.apply(this,arguments)}return e=s,(n=[{key:\\\"render\\\",value:function(){var t=this.props,e=t.className,n=t.description,r=t.label,i=t.isFirst,o=l()(dn().title,e,mi({},dn().title_first,i));return a.createElement(\\\"span\\\",{className:o,\\\"data-test\\\":\\\"ring-list-title\\\"},a.createElement(\\\"span\\\",{className:l()(dn().label,dn().text),\\\"data-test\\\":\\\"ring-list-title-label\\\"},r),a.createElement(\\\"div\\\",{className:dn().description,\\\"data-test\\\":\\\"ring-list-title-description\\\"},n))}}])&&hi(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);function gi(t){return gi=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},gi(t)}function yi(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function _i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bi(t,e){return bi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bi(t,e)}function xi(t,e){if(e&&(\\\"object\\\"===gi(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function wi(t){return wi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wi(t)}function Ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}mi(vi,\\\"propTypes\\\",{className:i().string,description:i().oneOfType([i().element,i().string]),label:i().oneOfType([i().element,i().string]),isFirst:i().bool});var Ci=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&bi(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=wi(r);if(i){var n=wi(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return xi(this,t)});function s(){return yi(this,s),o.apply(this,arguments)}return e=s,(n=[{key:\\\"render\\\",value:function(){var t=this.props,e=t.description,n=t.isFirst,r=t.className,i=l()(dn().separator,r,Ai({},dn().separator_first,n));return a.createElement(\\\"span\\\",{className:i},e)}}])&&_i(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);function Mi(t){return Mi=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Mi(t)}function Ei(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function Ti(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Si(t,e){return Si=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Si(t,e)}function ki(t,e){if(e&&(\\\"object\\\"===Mi(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function Oi(t){return Oi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Oi(t)}Ai(Ci,\\\"propTypes\\\",{className:i().string,description:i().oneOfType([i().element,i().string]),isFirst:i().bool});var Ii,Li,Pi,zi=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Si(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Oi(r);if(i){var n=Oi(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ki(this,t)});function s(){return Ei(this,s),o.apply(this,arguments)}return e=s,(n=[{key:\\\"render\\\",value:function(){return a.createElement(\\\"span\\\",{className:l()(dn().item,dn().hint),\\\"data-test\\\":\\\"ring-list-hint\\\"},this.props.label)}}])&&Ti(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);Ii=zi,Li=\\\"propTypes\\\",Pi={label:i().node},Li in Ii?Object.defineProperty(Ii,Li,{value:Pi,enumerable:!0,configurable:!0,writable:!0}):Ii[Li]=Pi;var Ri={SEPARATOR:0,LINK:1,ITEM:2,HINT:3,CUSTOM:4,TITLE:5,MARGIN:6},Di={ITEM_PADDING:16,ITEM_HEIGHT:32,COMPACT_ITEM_HEIGHT:24,SEPARATOR_HEIGHT:25,SEPARATOR_FIRST_HEIGHT:16,SEPARATOR_TEXT_HEIGHT:18,TITLE_HEIGHT:42,INNER_PADDING:8,MARGIN:8},$i=Ri.ITEM;function Bi(t){return Bi=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Bi(t)}var Ni=[\\\"selectedLabel\\\",\\\"originalModel\\\"];function Fi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ji(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fi(Object(n),!0).forEach((function(e){Yi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ui(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function qi(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function Vi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Hi(t,e){return Hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Hi(t,e)}function Gi(t,e){if(e&&(\\\"object\\\"===Bi(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return Wi(t)}function Wi(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Xi(t){return Xi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xi(t)}function Yi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zi(){}var Ki=sn()((function(){}),\\\"No key passed for list item with non-string label. It is considered as a bad practice and has been deprecated, please provide a key.\\\"),Ji=[Ri.SEPARATOR,Ri.TITLE,Ri.MARGIN];function Qi(t){return null!=t&&!Ji.includes(t.rgItemType)&&!t.disabled}var to=function(t){return t.activateFirstItem||t.activateSingleItem&&1===t.data.length},eo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\\\"\\\",n=(0,a.createContext)(t),r=(0,a.createContext)((function(){}));function o(e){var i=e.children,o=hn((0,a.useState)(t),2),s=o[0],l=o[1];return a.createElement(n.Provider,{value:s},a.createElement(r.Provider,{value:l},i))}function s(t,e){var n=(0,a.useContext)(r);(0,a.useEffect)((function(){e||n(t)}),[n,t,e])}function l(t){return s(t.value,t.skipUpdate),null}return o.propTypes={children:i().node},o.displayName=\\\"\\\".concat(e,\\\"Provider\\\"),l.displayName=\\\"\\\".concat(e,\\\"Updater\\\"),{ValueContext:n,UpdateContext:r,Provider:o,useUpdate:s,Updater:(0,a.memo)(l)}}(void 0,\\\"ActiveItem\\\"),no=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Hi(t,e)}(c,t);var e,n,r,i,o,s=(i=c,o=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Xi(i);if(o){var n=Xi(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Gi(this,t)});function c(){var t;qi(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Yi(Wi(t=s.call.apply(s,[this].concat(n))),\\\"state\\\",{activeIndex:null,prevActiveIndex:null,prevData:[],activeItem:null,needScrollToActive:!1,scrolling:!1,hasOverflow:!1,disabledHover:!1,scrolledToBottom:!1}),Yi(Wi(t),\\\"hoverHandler\\\",(0,u.Z)((function(e){return function(){return t.scheduleHoverListener((function(){t.state.disabledHover||t.container&&t.setState({activeIndex:e,activeItem:t.props.data[e],needScrollToActive:!1})}))}}))),Yi(Wi(t),\\\"_activatableItems\\\",!1),Yi(Wi(t),\\\"_bufferSize\\\",10),Yi(Wi(t),\\\"sizeCacheKey\\\",(function(e){if(0===e||e===t.props.data.length+1)return Ri.MARGIN;var n=t.props.data[e-1],r=1===e;switch(n.rgItemType){case Ri.SEPARATOR:case Ri.TITLE:return\\\"\\\".concat(n.rgItemType).concat(r?\\\"_first\\\":\\\"\\\").concat(n.description?\\\"_desc\\\":\\\"\\\");case Ri.MARGIN:return Ri.MARGIN;case Ri.CUSTOM:return\\\"\\\".concat(Ri.CUSTOM,\\\"_\\\").concat(n.key);default:return n.details?\\\"\\\".concat(Ri.ITEM,\\\"_\\\").concat(n.details):Ri.ITEM}})),Yi(Wi(t),\\\"_cache\\\",new rn({defaultHeight:t.defaultItemHeight(),fixedWidth:!0,keyMapper:t.sizeCacheKey})),Yi(Wi(t),\\\"_hasActivatableItems\\\",cn((function(t){return t.some(Qi)}))),Yi(Wi(t),\\\"activateFirst\\\",(function(){var e=t.props.data.findIndex(Qi);e>=0&&t.setState({activeIndex:e,activeItem:t.props.data[e],needScrollToActive:!0})})),Yi(Wi(t),\\\"selectHandler\\\",(0,u.Z)((function(e){return function(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.props.data[e];!t.props.useMouseUp&&i.onClick?i.onClick(i,n):t.props.useMouseUp&&i.onMouseUp&&i.onMouseUp(i,n),t.props.onSelect&&t.props.onSelect(i,n,{tryKeepOpen:r})}}))),Yi(Wi(t),\\\"checkboxHandler\\\",(0,u.Z)((function(e){return function(n){return t.selectHandler(e)(n,!0)}}))),Yi(Wi(t),\\\"upHandler\\\",(function(e){var n,r=t.props,i=r.data,o=r.disableMoveOverflow,a=t.state.activeIndex;if(null===a||0===a){if(o)return;n=i.length-1}else n=a-1;t.moveHandler(n,t.upHandler,e)})),Yi(Wi(t),\\\"downHandler\\\",(function(e){var n,r=t.props,i=r.data,o=r.disableMoveOverflow,a=r.disableMoveDownOverflow,s=t.state.activeIndex;if(null===s)n=0;else if(s+1===i.length){if(o||a)return;n=0}else n=s+1;t.moveHandler(n,t.downHandler,e)})),Yi(Wi(t),\\\"homeHandler\\\",(function(e){t.moveHandler(0,t.downHandler,e)})),Yi(Wi(t),\\\"endHandler\\\",(function(e){t.moveHandler(t.props.data.length-1,t.upHandler,e)})),Yi(Wi(t),\\\"onDocumentMouseMove\\\",(function(){t.state.disabledHover&&t.setState({disabledHover:!1})})),Yi(Wi(t),\\\"onDocumentKeyDown\\\",(function(e){t.state.disabledHover||[16,17,18,19,20,91].includes(e.keyCode)||t.setState({disabledHover:!0})})),Yi(Wi(t),\\\"mouseHandler\\\",(function(){t.setState({scrolling:!1})})),Yi(Wi(t),\\\"scrollHandler\\\",(function(){t.setState({scrolling:!0},t.scrollEndHandler)})),Yi(Wi(t),\\\"enterHandler\\\",(function(e,n){if(null!==t.state.activeIndex){var r=t.props.data[t.state.activeIndex];return t.selectHandler(t.state.activeIndex)(e),r.href&&!e.defaultPrevented&&([\\\"command+enter\\\",\\\"ctrl+enter\\\"].includes(n)?window.open(r.href,\\\"_blank\\\"):\\\"shift+enter\\\"===n?window.open(r.href):window.location.href=r.href),!1}return!0})),Yi(Wi(t),\\\"clearSelected\\\",(function(){t.setState({activeIndex:null,needScrollToActive:!1})})),Yi(Wi(t),\\\"scrollEndHandler\\\",(function(){return t.scheduleScrollListener((function(){var e=t.inner;if(e){var n=e.scrollHeight,r=t.defaultItemHeight()/2,i=e.scrollTop+e.clientHeight+r,o=n>0&&i>=n;t.unmounted||t.setState({scrolledToBottom:o}),o&&t.props.onScrollToBottom()}}))})),Yi(Wi(t),\\\"checkOverflow\\\",(function(){t.inner&&t.setState({hasOverflow:t.inner.scrollHeight-t.inner.clientHeight>1})})),Yi(Wi(t),\\\"renderItem\\\",(function(e){var n,r,i=e.index,o=e.style,s=e.isScrolling,u=e.parent,c=e.key,h=i-1,p=t.props.data[h],f=t.getId(p);if(0===i||i===t.props.data.length+1||p.rgItemType===Ri.MARGIN)n=c||\\\"\\\".concat(Ri.MARGIN,\\\"_\\\").concat(i),r=a.createElement(\\\"div\\\",{style:{height:Di.MARGIN}});else{p.selectedLabel,p.originalModel;var d=Ui(p,Ni),m=Object.assign({rgItemType:$i},d);m.url&&(m.href=m.url),m.href&&(m.rgItemType=Ri.LINK),n=c||f,m.hover=h===t.state.activeIndex,null!=m.hoverClassName&&m.hover&&(m.className=l()(m.className,m.hoverClassName)),m.onMouseOver=t.hoverHandler(h),m.tabIndex=-1,m.scrolling=s;var v,g=t.selectHandler(h);t.props.useMouseUp?m.onMouseUp=g:m.onClick=g,m.onCheckboxChange=t.checkboxHandler(h),null==m.compact&&(m.compact=t.props.compact);var y=1===i;switch(m.rgItemType){case Ri.SEPARATOR:v=Ci,m.isFirst=y;break;case Ri.LINK:v=En,t.addItemDataTestToProp(m);break;case Ri.ITEM:v=Yr,t.addItemDataTestToProp(m);break;case Ri.CUSTOM:v=li,t.addItemDataTestToProp(m);break;case Ri.TITLE:m.isFirst=y,v=vi;break;default:throw new Error(\\\"Unknown menu element type: \\\".concat(m.rgItemType))}r=a.createElement(v,m)}return u?a.createElement(nn,{cache:t._cache,key:n,parent:u,rowIndex:i,columnIndex:0},(function(t){var e=t.registerChild;return a.createElement(\\\"div\\\",{ref:e,style:o,role:\\\"row\\\",id:f},a.createElement(\\\"div\\\",{role:\\\"cell\\\"},r))})):a.createElement(\\\"div\\\",{role:\\\"row\\\",id:f,key:n},a.createElement(\\\"div\\\",{role:\\\"cell\\\"},(0,a.cloneElement)(r)))})),Yi(Wi(t),\\\"addItemDataTestToProp\\\",(function(t){return t[\\\"data-test\\\"]=(0,y.Z)(\\\"ring-list-item\\\",t[\\\"data-test\\\"]),t})),Yi(Wi(t),\\\"virtualizedListRef\\\",(function(e){t.virtualizedList=e})),Yi(Wi(t),\\\"containerRef\\\",(function(e){t.container=e})),Yi(Wi(t),\\\"id\\\",D(\\\"list-\\\")),Yi(Wi(t),\\\"shortcutsScope\\\",t.id),Yi(Wi(t),\\\"shortcutsMap\\\",{up:t.upHandler,down:t.downHandler,home:t.homeHandler,end:t.endHandler,enter:t.enterHandler,\\\"meta+enter\\\":t.enterHandler,\\\"ctrl+enter\\\":t.enterHandler,\\\"command+enter\\\":t.enterHandler,\\\"shift+enter\\\":t.enterHandler}),t.scheduleScrollListener=(0,$.Z)(),t.scheduleHoverListener=(0,$.Z)(),t}return e=c,n=[{key:\\\"componentDidMount\\\",value:function(){document.addEventListener(\\\"mousemove\\\",this.onDocumentMouseMove),document.addEventListener(\\\"keydown\\\",this.onDocumentKeyDown,!0),null==this.props.activeIndex&&to(this.props)&&this.activateFirst()}},{key:\\\"shouldComponentUpdate\\\",value:function(t,e){var n=this;return t!==this.props||Object.keys(e).some((function(t){return e[t]!==n.state[t]}))}},{key:\\\"componentDidUpdate\\\",value:function(t){this.virtualizedList&&t.data!==this.props.data&&this.virtualizedList.recomputeRowHeights(),null==this.props.activeIndex&&this.props.data!==t.data&&to(this.props)&&this.activateFirst(),this.checkOverflow()}},{key:\\\"componentWillUnmount\\\",value:function(){this.unmounted=!0,document.removeEventListener(\\\"mousemove\\\",this.onDocumentMouseMove),document.removeEventListener(\\\"keydown\\\",this.onDocumentKeyDown,!0)}},{key:\\\"hasActivatableItems\\\",value:function(){return this._hasActivatableItems(this.props.data)}},{key:\\\"moveHandler\\\",value:function(t,e,n){var r;if(0!==this.props.data.length&&this.hasActivatableItems()){r=this.props.data.length<t?0:t;var i=this.props.data[r];this.setState({activeIndex:r,activeItem:i,needScrollToActive:!0},(function(){Qi(i)?\\\"Home\\\"!==n.key&&\\\"End\\\"!==n.key&&(0,B.PF)(n):e(n)}))}}},{key:\\\"getFirst\\\",value:function(){return this.props.data.find((function(t){return t.rgItemType===Ri.ITEM||t.rgItemType===Ri.CUSTOM}))}},{key:\\\"getSelected\\\",value:function(){return this.props.data[this.state.activeIndex]}},{key:\\\"defaultItemHeight\\\",value:function(){return this.props.compact?Di.COMPACT_ITEM_HEIGHT:Di.ITEM_HEIGHT}},{key:\\\"getVisibleListHeight\\\",value:function(t){return t.maxHeight-this.defaultItemHeight()-Di.INNER_PADDING}},{key:\\\"_deprecatedGenerateKeyFromContent\\\",value:function(t){var e=t.label||t.description;return e&&!(\\\"string\\\"==typeof e||e instanceof String)&&(Ki(),\\\"\\\".concat(t.rgItemType,\\\"_\\\").concat(JSON.stringify(e))),\\\"\\\".concat(t.rgItemType,\\\"_\\\").concat(e)}},{key:\\\"getId\\\",value:function(t){return null!=t?\\\"\\\".concat(this.id,\\\":\\\").concat(t.key||this._deprecatedGenerateKeyFromContent(t)):null}},{key:\\\"inner\\\",get:function(){return this._inner||(this._inner=this.container&&this.container.querySelector(\\\".ring-list__i\\\")),this._inner}},{key:\\\"renderVirtualizedInner\\\",value:function(t){var e=this,n=t.height,r=t.maxHeight,i=t.autoHeight,o=void 0!==i&&i,s=t.rowCount,l=t.isScrolling,u=t.onChildScroll,c=void 0===u?Zi:u,h=t.scrollTop,p=t.registerChild,f={direction:\\\"auto\\\"};return a.createElement(Pe,{disableHeight:!0,onResize:this.props.onResize},(function(t){var i=t.width;return a.createElement(\\\"div\\\",{ref:p},a.createElement(ke,{\\\"aria-label\\\":e.props.ariaLabel,ref:e.virtualizedListRef,className:\\\"ring-list__i\\\",autoHeight:o,style:r?ji({maxHeight:r,height:\\\"auto\\\"},f):f,autoContainerWidth:!0,height:n,width:i,isScrolling:l,onScroll:function(t){c(t),e.scrollEndHandler(t)},scrollTop:h,rowCount:s,estimatedRowSize:e.defaultItemHeight(),rowHeight:e._cache.rowHeight,rowRenderer:e.renderItem,overscanRowCount:e._bufferSize,noop:function(){},scrollToIndex:!e.props.disableScrollToActive&&e.state.needScrollToActive&&null!=e.state.activeIndex?e.state.activeIndex+1:void 0,scrollToAlignment:\\\"center\\\",deferredMeasurementCache:e._cache,onRowsRendered:e.checkOverflow}))}))}},{key:\\\"renderVirtualized\\\",value:function(t,e){var n=this;return t?this.renderVirtualizedInner({height:t,maxHeight:t,rowCount:e}):a.createElement(Qe,null,(function(t){return n.renderVirtualizedInner(ji(ji({},t),{},{rowCount:e,autoHeight:!0}))}))}},{key:\\\"renderSimple\\\",value:function(t,e){for(var n=[],r=0;r<e;r++)n.push(this.renderItem({index:r,isScrolling:this.state.scrolling}));return a.createElement(\\\"div\\\",{className:l()(\\\"ring-list__i\\\",dn().simpleInner),onScroll:this.scrollHandler,onMouseMove:this.mouseHandler},a.createElement(\\\"div\\\",{\\\"aria-label\\\":this.props.ariaLabel,role:\\\"grid\\\",style:t?{maxHeight:this.getVisibleListHeight(this.props)}:null},n))}},{key:\\\"render\\\",value:function(){var t=this.getSelected()&&this.props.hintOnSelection||this.props.hint,e=t?{bottom:Di.ITEM_HEIGHT}:null,n=this.props.data.length+2,r=this.props.maxHeight&&this.getVisibleListHeight(this.props),i=l()(dn().list,this.props.className);return a.createElement(a.Fragment,null,a.createElement(eo.Updater,{value:this.getId(this.state.activeItem),skipUpdate:this.props.hidden||!Qi(this.state.activeItem)}),a.createElement(\\\"div\\\",{id:this.props.id,ref:this.containerRef,className:i,onMouseOut:this.props.onMouseOut,onBlur:this.props.onMouseOut,onMouseLeave:this.clearSelected,\\\"data-test\\\":\\\"ring-list\\\"},this.props.shortcuts&&a.createElement(nt,{map:this.shortcutsMap,scope:this.shortcutsScope}),this.props.renderOptimization?this.renderVirtualized(r,n):this.renderSimple(r,n),this.state.hasOverflow&&!this.state.scrolledToBottom&&a.createElement(\\\"div\\\",{className:dn().fade,style:e}),t&&a.createElement(zi,{label:t})))}}],r=[{key:\\\"getDerivedStateFromProps\\\",value:function(t,e){var n=e.prevActiveIndex,r=e.prevData,i=e.activeItem,o=t.data,a=t.activeIndex,s=t.restoreActiveIndex,l={prevActiveIndex:a,prevData:o};if(o!==r&&Object.assign(l,{activeIndex:null,activeItem:null}),null!=a&&a!==n&&null!=o[a])Object.assign(l,{activeIndex:a,activeItem:o[a],needScrollToActive:!0});else if(o!==r&&s&&null!=i&&null!=i.key){var u=o.findIndex((function(t){return t.key===i.key}));u>=0&&Object.assign(l,{activeIndex:u,activeItem:o[u]})}return l}}],n&&Vi(e.prototype,n),r&&Vi(e,r),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),c}(a.Component);function ro(t){return ro=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},ro(t)}Yi(no,\\\"propTypes\\\",{id:i().string,className:i().string,hint:i().node,hintOnSelection:i().string,data:i().array,maxHeight:i().oneOfType([i().string,i().number]),activeIndex:i().number,restoreActiveIndex:i().bool,activateSingleItem:i().bool,activateFirstItem:i().bool,shortcuts:i().bool,onMouseOut:i().func,onSelect:i().func,onScrollToBottom:i().func,onResize:i().func,useMouseUp:i().bool,visible:i().bool,renderOptimization:i().bool,disableMoveOverflow:i().bool,disableMoveDownOverflow:i().bool,compact:i().bool,disableScrollToActive:i().bool,hidden:i().bool,ariaLabel:i().string}),Yi(no,\\\"defaultProps\\\",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:Zi,onSelect:Zi,onScrollToBottom:Zi,onResize:Zi,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1,ariaLabel:\\\"List\\\"}),Yi(no,\\\"isItemType\\\",(function(t,e){var n=e.rgItemType;return null==n&&(n=$i),n===t})),Yi(no,\\\"ListHint\\\",zi),Yi(no,\\\"ListProps\\\",{Type:Ri,Dimension:Di});var io=[\\\"className\\\"];function oo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ao(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?oo(Object(n),!0).forEach((function(e){mo(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function so(){return so=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},so.apply(this,arguments)}function lo(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function uo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function co(t,e){return co=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},co(t,e)}function ho(t,e){if(e&&(\\\"object\\\"===ro(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return po(t)}function po(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function fo(t){return fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},fo(t)}function mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vo(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var go=jt.propTypes||{},yo=(go.children,vo(go,[\\\"children\\\"])),_o=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&co(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=fo(r);if(i){var n=fo(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ho(this,t)});function s(){var t;lo(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return mo(po(t=o.call.apply(o,[this].concat(n))),\\\"onSelect\\\",(function(e,n){t.props.closeOnSelect&&t._onCloseAttempt(n),t.props.onSelect(e,n)})),mo(po(t),\\\"listRef\\\",(function(e){t.list=e})),t}return e=s,(n=[{key:\\\"getInternalContent\\\",value:function(){var t=this.props,e=(t.className,vo(t,io));return a.createElement(\\\"div\\\",null,a.createElement(no,so({ref:this.listRef},e,{maxHeight:this.popup&&this.popup.style.maxHeight,shortcuts:this.shouldUseShortcuts(),onSelect:this.onSelect})))}}])&&uo(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(jt);mo(_o,\\\"isItemType\\\",no.isItemType),mo(_o,\\\"ListProps\\\",no.ListProps),mo(_o,\\\"propTypes\\\",ao(ao(ao({},yo),no.propTypes),{},{closeOnSelect:i().bool})),mo(_o,\\\"defaultProps\\\",ao(ao(ao({},no.defaultProps),jt.defaultProps),{},{renderOptimization:!1,closeOnSelect:!1}));var bo=no.ListProps,xo=(n(7401),n(81)),wo=n(6425),Ao=n.n(wo);function Co(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mo(t){return Mo=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Mo(t)}var Eo=[\\\"theme\\\",\\\"active\\\",\\\"danger\\\",\\\"delayed\\\",\\\"loader\\\",\\\"primary\\\",\\\"short\\\",\\\"text\\\",\\\"inline\\\",\\\"dropdown\\\",\\\"icon\\\",\\\"iconSize\\\",\\\"iconClassName\\\",\\\"iconSuppressSizeWarning\\\",\\\"className\\\",\\\"children\\\"];function To(){return To=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},To.apply(this,arguments)}function So(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function ko(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Oo(t,e){return Oo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Oo(t,e)}function Io(t,e){if(e&&(\\\"object\\\"===Mo(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return Lo(t)}function Lo(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Po(t){return Po=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Po(t)}function zo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ro=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Oo(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Po(r);if(i){var n=Po(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Io(this,t)});function s(){var t;So(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return zo(Lo(t=o.call.apply(o,[this].concat(n))),\\\"buttonRef\\\",(0,a.createRef)()),t}return e=s,n=[{key:\\\"render\\\",value:function(){var t=this.props,e=t.theme,n=t.active,r=t.danger,i=t.delayed,o=t.loader,s=t.primary,u=t.short,c=t.text,h=t.inline,p=t.dropdown,f=t.icon,d=t.iconSize,m=t.iconClassName,v=t.iconSuppressSizeWarning,y=t.className,_=t.children,b=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,Eo),x=function(t){var e,n=t.className,r=t.active,i=t.loader,o=t.primary,a=t.short,s=t.text,u=t.inline,c=t.danger,h=t.delayed,p=t.icon,f=t.theme,d=p&&!r&&!c&&!o&&!t.disabled;return l()(Ao().button,n,Ao()[f],(Co(e={},Ao().active,r),Co(e,Ao().danger,c),Co(e,Ao().delayed,h),Co(e,Ao().withIcon,p),Co(e,Ao().withNormalIconLight,d&&f===g.LIGHT),Co(e,Ao().withNormalIconDark,d&&f===g.DARK),Co(e,Ao().withDangerIconLight,p&&c&&f===g.LIGHT),Co(e,Ao().withDangerIconDark,p&&c&&f===g.DARK),Co(e,Ao().loader,i&&!p),Co(e,Ao().primary,o),Co(e,Ao().short,a),Co(e,Ao().text,s),Co(e,Ao().inline,u),e))}({className:y,active:n,danger:r,delayed:i,icon:f,theme:e,loader:o,primary:s,short:u,text:c,inline:h}),w=a.createElement(\\\"span\\\",{className:Ao().content},f&&a.createElement(\\\"span\\\",{className:l()(Ao().icon,m)},a.createElement(Cr,{glyph:f,size:d,loading:o,suppressSizeWarning:v})),_&&a.createElement(\\\"span\\\",null,_),p&&a.createElement(Cr,{glyph:S(),className:Ao().dropdownIcon})),A=!!b.href,C=A?xo.Z:\\\"button\\\";return a.createElement(C,To({ref:this.buttonRef,tabIndex:o?-1:0,type:A?null:\\\"button\\\"},b,{className:x}),o&&!c&&!f&&a.createElement(\\\"div\\\",{className:Ao().loaderBackground}),w)}}],n&&ko(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);zo(Ro,\\\"propTypes\\\",{theme:i().oneOf([\\\"light\\\",\\\"dark\\\"]),active:i().bool,danger:i().bool,delayed:i().bool,loader:i().bool,primary:i().bool,short:i().bool,text:i().bool,inline:i().bool,dropdown:i().bool,href:i().string,target:i().string,icon:i().oneOfType([i().string,i().elementType]),iconSize:i().number,iconClassName:i().string,iconSuppressSizeWarning:i().bool,className:i().string,children:i().node,onClick:i().func}),zo(Ro,\\\"IconSize\\\",ar),zo(Ro,\\\"Theme\\\",g);const Do=v()(Ro);var $o=n(2474),Bo=n.n($o),No=[\\\"children\\\",\\\"className\\\"];function Fo(){return Fo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Fo.apply(this,arguments)}var jo=function(t){var e=t.children,n=t.className,r=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,No);return a.createElement(Do,Fo({\\\"data-test-ring-dropdown-anchor\\\":!0,text:!0,className:l()(Bo().anchor,n)},r),e,a.createElement(Cr,{glyph:S(),className:Bo().chevron}))};jo.propTypes={children:i().node,className:i().string};const Uo=(0,a.memo)(jo);var qo=[\\\"initShown\\\",\\\"onShow\\\",\\\"onHide\\\",\\\"hoverShowTimeOut\\\",\\\"hoverHideTimeOut\\\",\\\"children\\\",\\\"anchor\\\",\\\"className\\\",\\\"activeClassName\\\",\\\"hoverMode\\\",\\\"clickMode\\\",\\\"data-test\\\"];function Vo(){return Vo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Vo.apply(this,arguments)}function Ho(t){return Ho=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Ho(t)}function Go(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function Wo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Xo(t,e){return Xo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Xo(t,e)}function Yo(t,e){if(e&&(\\\"object\\\"===Ho(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return Zo(t)}function Zo(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Ko(t){return Ko=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ko(t)}function Jo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qo=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Xo(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Ko(r);if(i){var n=Ko(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Yo(this,t)});function s(){var t;Go(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Jo(Zo(t=o.call.apply(o,[this].concat(n))),\\\"state\\\",{show:t.props.initShown,pinned:!1}),Jo(Zo(t),\\\"onClick\\\",(function(){var e=t.state,n=e.show,r=e.pinned,i=r;if(t.props.hoverMode)if(r)i=!1;else if(i=!0,n)return void t.setState({pinned:!0});t._toggle(!n,i)})),Jo(Zo(t),\\\"onChildCloseAttempt\\\",(function(){var e=t.state.pinned;t.props.hoverMode&&(e=!1),t._toggle(!1,e)})),Jo(Zo(t),\\\"onMouseEnter\\\",(function(e){t._clearTimer(),t.props.onMouseEnter(e),t.hoverTimer=setTimeout((function(){t.state.show||t._toggle(!0)}),t.props.hoverShowTimeOut)})),Jo(Zo(t),\\\"onMouseLeave\\\",(function(e){t.props.onMouseLeave(e),t.state.pinned||(t._clearTimer(),t.hoverTimer=setTimeout((function(){t.state.show&&t._toggle(!1)}),t.props.hoverHideTimeOut))})),Jo(Zo(t),\\\"handlePopupInteraction\\\",(function(){t.setState((function(t){return t.pinned?null:{pinned:!0}}))})),t}return e=s,n=[{key:\\\"toggle\\\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.state.show;this._toggle(t)}},{key:\\\"_toggle\\\",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.pinned;this.setState({show:t,pinned:n},(function(){return t?e.props.onShow():e.props.onHide()}))}},{key:\\\"_clearTimer\\\",value:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null)}},{key:\\\"render\\\",value:function(){var t,e=this.state,n=e.show,r=e.pinned,i=this.props,o=(i.initShown,i.onShow,i.onHide,i.hoverShowTimeOut,i.hoverHideTimeOut,i.children),s=i.anchor,u=i.className,c=i.activeClassName,h=i.hoverMode,p=i.clickMode,f=i[\\\"data-test\\\"],d=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(i,qo),m=l()(Bo().dropdown,u,Jo({},c,null!=c&&n)),v=h?r:n;switch(Ho(s)){case\\\"string\\\":t=a.createElement(Uo,{active:v},s);break;case\\\"function\\\":t=s({active:n,pinned:r});break;default:t=\\\"string\\\"==typeof s.type||Array.isArray(s)?s:(0,a.cloneElement)(s,{active:v})}var g={hidden:!n,onCloseAttempt:this.onChildCloseAttempt,onMouseDown:h?this.handlePopupInteraction:void 0,onContextMenu:h?this.handlePopupInteraction:void 0,dontCloseOnAnchorClick:!0};return a.createElement(\\\"div\\\",Vo({\\\"data-test\\\":(0,y.Z)(\\\"ring-dropdown\\\",f)},d,{onClick:p?this.onClick:void 0,role:\\\"presentation\\\",onMouseEnter:h?this.onMouseEnter:void 0,onMouseLeave:h?this.onMouseLeave:void 0,className:m}),t,\\\"function\\\"==typeof o?o(g):(0,a.cloneElement)(o,g))}}],n&&Wo(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.Component);Jo(Qo,\\\"propTypes\\\",{anchor:i().oneOfType([i().node,i().func]).isRequired,children:i().oneOfType([i().element,i().func]).isRequired,initShown:i().bool,className:i().string,activeClassName:i().string,clickMode:i().bool,hoverMode:i().bool,hoverShowTimeOut:i().number,hoverHideTimeOut:i().number,onShow:i().func,onHide:i().func,onMouseEnter:i().func,onMouseLeave:i().func,\\\"data-test\\\":i().string}),Jo(Qo,\\\"defaultProps\\\",{initShown:!1,clickMode:!0,hoverMode:!1,hoverShowTimeOut:300,hoverHideTimeOut:600,onShow:function(){},onHide:function(){},onMouseEnter:function(){},onMouseLeave:function(){}});var ta=[\\\"items\\\",\\\"selected\\\",\\\"collapsed\\\",\\\"onSelect\\\"];function ea(){return ea=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ea.apply(this,arguments)}function na(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ra(t){return ra=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},ra(t)}function ia(){}var oa=a.memo((function(t){var e,n=t.selected,r=t.child,i=t.handleSelect,s=void 0===i?ia:i,u=t.collapsed,c=void 0!==u&&u,h=t.tabIndex;if(null==r||\\\"object\\\"!==ra(r)||r.type===o)return r;var p=r.props,f=p.title,d=p.disabled,m=p.href,v=p.className,g=p.activeClassName,y=p.collapsedClassName,_=p.collapsedActiveClassName,x=l()(b().title,v,(na(e={},b().selected,n),na(e,b().collapsed,c),na(e,g,n),na(e,y,c),na(e,_,c&&n),e));return a.createElement(C,{title:f,isSelected:n,active:!0,href:m,innerClassName:x,className:x,disabled:d,onPlainLeftClick:s,tabIndex:h,collapsed:c})}));oa.propTypes={child:i().element,handleSelect:i().func,selected:i().bool,collapsed:i().bool,tabIndex:i().number};const aa=function(t){var e=t.items,n=t.selected,r=void 0===n?0:n,i=t.collapsed,o=t.onSelect,s=void 0===o?ia:o,l=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,ta);return e.map((function(t,e){var n=t.props.id||String(e),o=r===n;return a.createElement(oa,ea({key:n,handleSelect:s(n),selected:o,child:t,index:e,collapsed:i,disabled:t.props.disabled},l))}))};var sa=[\\\"hasActiveChildren\\\",\\\"moreClassName\\\",\\\"moreActiveClassName\\\"];function la(){return la=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},la.apply(this,arguments)}var ua=function(t){var e=t.hasActiveChildren,n=t.moreClassName,r=t.moreActiveClassName,i=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,sa),o=l()(b().title,e&&b().selected,e&&r,n);return a.createElement(x.default,la({title:\\\"More\\\",innerClassName:o,className:o},i),\\\"More\\\",a.createElement(Cr,{glyph:S(),className:b().chevron}))};ua.propTypes={hasActiveChildren:i().bool,moreClassName:i().string,moreActiveClassName:i().string};var ca=[k.BOTTOM_CENTER,k.BOTTOM_LEFT,k.BOTTOM_RIGHT],ha=a.memo((function(t){var e=t.items,n=t.selected,r=t.onSelect,i=t.moreClassName,s=t.moreActiveClassName,u=t.morePopupClassName,c=t.morePopupItemClassName,h=t.morePopupBeforeEnd,p=a.useCallback((function(t){!0!==t.disabled&&!0!==t.custom&&r(t.key)()}),[r]),f=a.useMemo((function(){return e.some((function(t){return t.props.alwaysHidden&&t.props.id===n}))}),[e,n]),d=a.useMemo((function(){var t=aa({items:e,selected:n,collapsed:!0}).map((function(t){var e=!0===t.props.disabled,n=t.props.child.type===o;return{template:t,key:t.key,rgItemType:bo.Type.CUSTOM,className:c,disabled:e,custom:n}}));return h&&t.push({template:h,key:\\\"before-end-content\\\",className:b().morePopupBeforeEnd,rgItemType:bo.Type.CUSTOM}),t}),[e,h,c,n]),m=a.useMemo((function(){return a.createElement(ua,{moreClassName:i,moreActiveClassName:s,hasActiveChildren:f})}),[f,s,i]),v=a.useMemo((function(){return a.createElement(_o,{directions:ca,className:u,onSelect:p,data:d})}),[d,u,p]);return 0===e.length?null:a.createElement(\\\"div\\\",{className:l()(b().title,i,f&&s)},a.createElement(Qo,{hoverMode:!0,anchor:m},v))}));ha.propTypes={children:i().node,items:i().array,selected:i().string,onSelect:i().func,toMeasure:i().bool,moreClassName:i().string,moreActiveClassName:i().string,morePopupClassName:i().string,morePopupItemClassName:i().string,morePopupBeforeEnd:i().element},ha.displayName=\\\"MoreButton\\\";var pa=a.memo((function(t){var e=t.moreClassName,n=t.moreActiveClassName,r=t.hasActiveChildren;return a.createElement(\\\"div\\\",{className:l()(b().moreButton,b().title)},a.createElement(ua,{moreClassName:e,moreActiveClassName:n,hasActiveChildren:r,tabIndex:-1,disabled:!0}))}));function fa(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:\\\"undefined\\\"!=typeof Symbol&&t[Symbol.iterator]||t[\\\"@@iterator\\\"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||da(t,e)||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 da(t,e){if(t){if(\\\"string\\\"==typeof t)return ma(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\\\"Object\\\"===n&&t.constructor&&(n=t.constructor.name),\\\"Map\\\"===n||\\\"Set\\\"===n?Array.from(t):\\\"Arguments\\\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ma(t,e):void 0}}function ma(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function va(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ga(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?va(Object(n),!0).forEach((function(e){ya(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):va(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ya(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}pa.propTypes={moreClassName:i().string,moreActiveClassName:i().string,hasActiveChildren:i().bool},pa.displayName=\\\"FakeMoreButton\\\";var _a={lastVisibleIndex:null,sizes:{tabs:[],more:null}},ba=\\\"MEASURE_TABS\\\",xa=\\\"DEFINE_LAST_VISIBLE_INDEX\\\";function wa(t,e){switch(e.type){case ba:var n=e.more,r=e.tabs;return ga(ga({},t),{},{sizes:{more:n,tabs:r}});case xa:var i=e.lastVisibleIndex;return ga(ga({},t),{},{lastVisibleIndex:i});default:throw new Error}}var Aa=function(t){var e=t.children,n=t.selected,r=t.onSelect,i=t.moreClassName,o=t.moreActiveClassName,s=t.morePopupClassName,u=t.morePopupBeforeEnd,c=t.morePopupItemClassName,h=t.initialVisibleItems,p=fa(a.useReducer(wa,_a),2),f=p[0],d=p[1],m=fa(a.useState({visible:[],hidden:[]}),2),v=m[0],g=m[1],y=a.useRef(null),_=a.useMemo((function(){var t;return null!==(t=e.filter((function(t){return!0!==t.props.alwaysHidden})).findIndex((function(t){return t.props.id===n})))&&void 0!==t?t:null}),[e,n]),x=a.useMemo((function(){var t;return t=v.ready?v.visible:h?e.filter((function(t){return!0!==t.props.alwaysHidden})).slice(0,h):[],aa({items:t,selected:n,onSelect:r})}),[h,e,v.ready,v.visible,r,n]),w=function(t){var e=t.elements,n=t.children,r=t.selectedIndex,i=t.dispatch;return a.useCallback((function(t){for(var o=t.contentRect.width,a=e.sizes,s=a.tabs,l=a.more,u=void 0===l?0:l,c=n.some((function(t){return t.props.alwaysHidden})),h=[],p=c&&null!=u?u:0,f=0;f<s.length&&p+s[f]<o+.5;f++)p+=s[f],h.push(s[f]);if(h.length<s.length&&!c)for(var d=h.length-1;d>=0;d--){if(p+u<o+.5){p+=u,c=!0;break}p-=h[d],h.pop()}if(r>h.length-1)for(var m=s[r],v=h.length-1;v>=0;v--){if(p+m<o+.5){p+=m;break}p-=h[v],h.pop()}e.lastVisibleIndex!==h.length-1&&i({type:xa,lastVisibleIndex:h.length-1})}),[n,i,e.lastVisibleIndex,e.sizes,r])}({dispatch:d,elements:f,children:e,selectedIndex:_});a.useEffect((function(){var t=setTimeout((function(){var t,r=e.reduce((function(t,e){var n;return!0!==e.props.alwaysHidden&&t.visible.length-1<(null!==(n=f.lastVisibleIndex)&&void 0!==n?n:0)?t.visible.push(e):t.hidden.push(e),t}),{visible:[],hidden:[],ready:null!==f.lastVisibleIndex});if(_>(null!==(t=f.lastVisibleIndex)&&void 0!==t?t:0)){var i=e.find((function(t){return!t.props.alwaysHidden&&t.props.id===n}));r.visible.push(i)}var o=r.visible.length===v.visible.length&&r.visible.every((function(t,e){return t===v.visible[e]})),a=r.hidden.length===v.hidden.length&&r.hidden.every((function(t,e){return t===v.hidden[e]}));o&&a&&v.ready===r.ready||E().mutate((function(){return g(r)}))}),100);return function(){clearTimeout(t)}}),[e,f.lastVisibleIndex,v,n,_]);var A=a.useMemo((function(){var t=e.filter((function(t){return!0!==t.props.alwaysHidden}));return aa({items:t,tabIndex:-1})}),[e]);a.useEffect((function(){if(null!=y.current){var t=E().measure((function(){var t,e=function(t){if(Array.isArray(t))return ma(t)}(t=y.current.children)||function(t){if(\\\"undefined\\\"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t[\\\"@@iterator\\\"])return Array.from(t)}(t)||da(t)||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.\\\")}(),n=e.pop(),r=n.offsetWidth,i=getComputedStyle(n),o=i.marginLeft,a=i.marginRight;r+=+o.replace(\\\"px\\\",\\\"\\\")+ +a.replace(\\\"px\\\",\\\"\\\");var s=e.map((function(t){var e=getComputedStyle(t),n=e.marginLeft,r=e.marginRight;return t.getBoundingClientRect().width+ +n.replace(\\\"px\\\",\\\"\\\")+ +r.replace(\\\"px\\\",\\\"\\\")})),l=s.reduce((function(t,e){return t+e}),0),u=f.sizes.tabs.reduce((function(t,e){return t+e}),0);f.sizes.more===r&&l===u||E().mutate((function(){return d({type:ba,more:r,tabs:s})}))}));return function(){E().clear(t)}}}),[e,f.sizes.more,f.sizes.tabs]),a.useEffect((function(){var t=null,e=null;if(null!==y.current)return(e=new ResizeObserver((function(e){e.forEach((function(e){E().clear(t),t=E().mutate((function(){return w(e)}))}))}))).observe(y.current),function(){E().clear(t),e.disconnect()}}),[w]);var C=null!==f.lastVisibleIndex&&!0===v.ready||h,M=l()(b().titles,b().autoCollapse,C&&b().adjusted);return a.createElement(\\\"div\\\",{className:b().autoCollapseContainer},a.createElement(\\\"div\\\",{className:l()(M,b().rendered)},x,a.createElement(ha,{moreClassName:i,moreActiveClassName:o,morePopupClassName:s,morePopupBeforeEnd:u,morePopupItemClassName:c,items:v.hidden,selected:n,onSelect:r})),a.createElement(\\\"div\\\",{ref:y,className:l()(M,b().measure)},A,a.createElement(pa,{hasActiveChildren:v.hidden.some((function(t){return t.props.alwaysHidden&&t.props.id===n})),moreClassName:i,moreActiveClassName:o})))};Aa.propTypes={children:i().node.isRequired,selected:i().string,onSelect:i().func.isRequired,moreClassName:i().string,moreActiveClassName:i().string,morePopupClassName:i().string,morePopupItemClassName:i().string,initialVisibleItems:i().number,morePopupBeforeEnd:i().element};const Ca=a.memo(Aa);var Ma=[\\\"className\\\",\\\"children\\\",\\\"selected\\\",\\\"theme\\\",\\\"autoCollapse\\\",\\\"data-test\\\"];function Ea(){return Ea=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ea.apply(this,arguments)}function Ta(t){return Ta=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Ta(t)}function Sa(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function ka(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Oa(t,e){return Oa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Oa(t,e)}function Ia(t,e){if(e&&(\\\"object\\\"===Ta(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return La(t)}function La(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Pa(t){return Pa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pa(t)}function za(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ra=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Oa(t,e)}(c,t);var e,n,r,i,s=(r=c,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Pa(r);if(i){var n=Pa(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Ia(this,t)});function c(){var t;Sa(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return za(La(t=s.call.apply(s,[this].concat(n))),\\\"handleSelect\\\",(0,u.Z)((function(e){return function(){return t.props.onSelect(e)}}))),za(La(t),\\\"getTabTitle\\\",(function(e,n){if(null==e||\\\"object\\\"!==Ta(e)||e.type===o)return e;var r=t.props.selected,i=e.props,s=i.title,u=i.id,c=i.disabled,h=i.href,p=i.className,f=i.activeClassName,d=u||String(n),m=d===r,v=l()(b().title,p,m&&f,za({},b().selected,m));return a.createElement(C,{title:s,isSelected:m,active:!0,key:d,href:h,innerClassName:v,className:v,disabled:c,onPlainLeftClick:t.handleSelect(d)})})),t}return e=c,n=[{key:\\\"render\\\",value:function(){var t=this.props,e=t.className,n=t.children,r=t.selected,i=t.theme,o=t.autoCollapse,s=t[\\\"data-test\\\"],u=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,Ma),c=l()(b().tabs,e,b()[i]),h=a.Children.toArray(n).filter(Boolean);return a.createElement(\\\"div\\\",{className:c,\\\"data-test\\\":(0,y.Z)(\\\"ring-dumb-tabs\\\",s)},!0===o?a.createElement(Ca,Ea({},u,{onSelect:this.handleSelect,selected:r}),h):a.createElement(\\\"div\\\",{className:b().titles},h.map(this.getTabTitle)),a.createElement(\\\"div\\\",{className:b().tab},h.find((function(t,e){return(t.props.id||String(e))===r}))))}}],n&&ka(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),c}(a.PureComponent);za(Ra,\\\"propTypes\\\",{theme:i().string,selected:i().string,className:i().string,href:i().string,children:i().node.isRequired,onSelect:i().func,\\\"data-test\\\":i().string,autoCollapse:i().bool}),za(Ra,\\\"defaultProps\\\",{onSelect:function(){}}),za(Ra,\\\"Theme\\\",g);const Da=v()(Ra);function $a(t){return $a=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},$a(t)}var Ba=[\\\"children\\\",\\\"initSelected\\\",\\\"data-test\\\"];function Na(){return Na=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Na.apply(this,arguments)}function Fa(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function ja(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ua(t,e){return Ua=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ua(t,e)}function qa(t,e){if(e&&(\\\"object\\\"===$a(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return Va(t)}function Va(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}function Ha(t){return Ha=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ha(t)}function Ga(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Wa=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Ua(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Ha(r);if(i){var n=Ha(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return qa(this,t)});function s(){var t;Fa(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Ga(Va(t=o.call.apply(o,[this].concat(n))),\\\"state\\\",{selected:t.props.initSelected||t.props.children[0].props.id||\\\"0\\\"}),Ga(Va(t),\\\"handleSelect\\\",(function(e){return t.setState({selected:e})})),t}return e=s,n=[{key:\\\"render\\\",value:function(){var t=this.props,e=t.children,n=(t.initSelected,t[\\\"data-test\\\"]),r=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,Ba);return a.createElement(Da,Na({\\\"data-test\\\":(0,y.Z)(\\\"ring-smart-tabs\\\",n),selected:this.state.selected,onSelect:this.handleSelect},r),e)}}],n&&ja(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);function Xa(t){return Xa=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t},Xa(t)}function Ya(t,e){if(!(t instanceof e))throw new TypeError(\\\"Cannot call a class as a function\\\")}function Za(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\\\"value\\\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ka(t,e){return Ka=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ka(t,e)}function Ja(t,e){if(e&&(\\\"object\\\"===Xa(e)||\\\"function\\\"==typeof e))return e;if(void 0!==e)throw new TypeError(\\\"Derived constructors may only return object or undefined\\\");return function(t){if(void 0===t)throw new ReferenceError(\\\"this hasn't been initialised - super() hasn't been called\\\");return t}(t)}function Qa(t){return Qa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Qa(t)}Ga(Wa,\\\"propTypes\\\",{children:i().arrayOf(i().element).isRequired,initSelected:i().string,\\\"data-test\\\":i().string});var ts=function(t){!function(t,e){if(\\\"function\\\"!=typeof e&&null!==e)throw new TypeError(\\\"Super expression must either be null or a function\\\");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,\\\"prototype\\\",{writable:!1}),e&&Ka(t,e)}(s,t);var e,n,r,i,o=(r=s,i=function(){if(\\\"undefined\\\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\\\"function\\\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Qa(r);if(i){var n=Qa(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Ja(this,t)});function s(){return Ya(this,s),o.apply(this,arguments)}return e=s,(n=[{key:\\\"render\\\",value:function(){var t=this.props,e=t.className,n=t.children,r=t[\\\"data-test\\\"],i=l()(b().tab,e);return a.createElement(\\\"div\\\",{\\\"data-test\\\":(0,y.Z)(\\\"ring-tab\\\",r),className:i},n)}}])&&Za(e.prototype,n),Object.defineProperty(e,\\\"prototype\\\",{writable:!1}),s}(a.PureComponent);!function(t,e,n){e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}(ts,\\\"propTypes\\\",{title:i().oneOfType([i().node,i().func]).isRequired,id:i().string,className:i().string,children:i().node,\\\"data-test\\\":i().string})},250:(t,e,n)=>{\\\"use strict\\\";n.d(e,{Z:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,\\\".alert_aafc {\\\\n position: relative;\\\\n\\\\n display: flex;\\\\n align-items: baseline;\\\\n\\\\n box-sizing: border-box;\\\\n min-height: 40px;\\\\n margin: 8px auto;\\\\n padding: 0 16px;\\\\n\\\\n transition:\\\\n transform 300ms ease-out,\\\\n margin-bottom 300ms ease-out,\\\\n opacity 300ms ease-out;\\\\n white-space: nowrap;\\\\n pointer-events: auto;\\\\n\\\\n border-radius: var(--ring-border-radius);\\\\n background-color: var(--ring-message-background-color);\\\\n box-shadow: 0 2px 16px var(--ring-popup-shadow-color);\\\\n\\\\n font-size: var(--ring-font-size);\\\\n line-height: 40px;\\\\n}\\\\n\\\\n.alertInline_dcac {\\\\n margin: 8px;\\\\n}\\\\n\\\\n.error_fd07 {\\\\n word-wrap: break-word;\\\\n\\\\n color: var(--ring-error-color);\\\\n}\\\\n\\\\n.icon_f644 {\\\\n margin-right: 8px;\\\\n}\\\\n\\\\n.caption_a5e4 {\\\\n overflow: hidden;\\\\n\\\\n max-width: calc(100% - 40px);\\\\n\\\\n margin: 12px 0;\\\\n\\\\n white-space: normal;\\\\n\\\\n color: var(--ring-dark-text-color);\\\\n\\\\n line-height: 20px;\\\\n}\\\\n\\\\n.caption_a5e4 .ring-link,\\\\n \\\\n .caption_a5e4 .link_b2ad {\\\\n color: var(--ring-main-color);\\\\n }\\\\n\\\\n.caption_a5e4.withCloseButton_fa1d {\\\\n margin-right: 40px;\\\\n }\\\\n\\\\n.badge_c16f {\\\\n margin-left: 8px;\\\\n\\\\n vertical-align: baseline;\\\\n}\\\\n\\\\n.loader_e62b {\\\\n top: 2px;\\\\n\\\\n margin-right: 8px;\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.close_a148:hover {\\\\n color: var(--ring-link-hover-color);\\\\n }}\\\\n\\\\n.close_a148 {\\\\n position: absolute;\\\\n top: 2px;\\\\n right: 0;\\\\n\\\\n margin: 4px;\\\\n padding: 8px;\\\\n\\\\n cursor: pointer;\\\\n\\\\n color: var(--ring-dark-secondary-color);\\\\n border: none;\\\\n background: transparent;\\\\n\\\\n font-size: 0;\\\\n line-height: 0;\\\\n}\\\\n\\\\n.close_a148:focus {\\\\n color: var(--ring-link-hover-color);\\\\n }\\\\n\\\\n@-webkit-keyframes show_aede {\\\\n from {\\\\n transform: translateY(100%);\\\\n\\\\n opacity: 0;\\\\n }\\\\n\\\\n to {\\\\n transform: translateY(0);\\\\n\\\\n opacity: 1;\\\\n }\\\\n}\\\\n\\\\n@keyframes show_aede {\\\\n from {\\\\n transform: translateY(100%);\\\\n\\\\n opacity: 0;\\\\n }\\\\n\\\\n to {\\\\n transform: translateY(0);\\\\n\\\\n opacity: 1;\\\\n }\\\\n}\\\\n\\\\n@-webkit-keyframes shaking_c208 {\\\\n 10%,\\\\n 90% {\\\\n transform: translateX(-1px);\\\\n }\\\\n\\\\n 20%,\\\\n 80% {\\\\n transform: translateX(2px);\\\\n }\\\\n\\\\n 30%,\\\\n 50%,\\\\n 70% {\\\\n transform: translateX(-4px);\\\\n }\\\\n\\\\n 40%,\\\\n 60% {\\\\n transform: translateX(4px);\\\\n }\\\\n}\\\\n\\\\n@keyframes shaking_c208 {\\\\n 10%,\\\\n 90% {\\\\n transform: translateX(-1px);\\\\n }\\\\n\\\\n 20%,\\\\n 80% {\\\\n transform: translateX(2px);\\\\n }\\\\n\\\\n 30%,\\\\n 50%,\\\\n 70% {\\\\n transform: translateX(-4px);\\\\n }\\\\n\\\\n 40%,\\\\n 60% {\\\\n transform: translateX(4px);\\\\n }\\\\n}\\\\n\\\\n.animationOpen_e1d8 {\\\\n -webkit-animation-name: show_aede;\\\\n animation-name: show_aede;\\\\n -webkit-animation-duration: 300ms;\\\\n animation-duration: 300ms;\\\\n}\\\\n\\\\n.animationClosing_ad25 {\\\\n z-index: var(--ring-invisible-element-z-index);\\\\n\\\\n opacity: 0;\\\\n}\\\\n\\\\n.animationShaking_dc91 {\\\\n -webkit-animation-name: shaking_c208;\\\\n animation-name: shaking_c208;\\\\n -webkit-animation-duration: 500ms;\\\\n animation-duration: 500ms;\\\\n}\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/alert/alert.css\\\",\\\"<no source>\\\"],names:[],mappings:\\\"AAMA;EACE,kBAAkB;;EAElB,aAAa;EACb,qBAAqB;;EAErB,sBAAsB;EACtB,gBAA0B;EAC1B,gBAAiB;EACjB,eAAyB;;EAEzB;;;0BAG6C;EAC7C,mBAAmB;EACnB,oBAAoB;;EAEpB,wCAAwC;EACxC,sDAAsD;EACtD,qDAAqD;;EAErD,gCAAgC;EAChC,iBAA2B;AAC7B;;AAEA;EACE,WAAY;AACd;;AAEA;EACE,qBAAqB;;EAErB,8BAA8B;AAChC;;AAEA;EACE,iBAAkB;AACpB;;AAEA;EACE,gBAAgB;;EAEhB,4BAAsC;;EAEtC,cAAc;;EAEd,mBAAmB;;EAEnB,kCAAkC;;EAElC,iBAAiB;AAWnB;;AATE;;;IAGE,6BAA6B;EAC/B;;AAEA;IACE,kBAA4B;EAC9B;;AAGF;EACE,gBAAiB;;EAEjB,wBAAwB;AAC1B;;AAEA;EACE,QAAQ;;EAER,iBAAkB;AACpB;;AChFA,wGAAA;IAAA,oCAAA;GAAA,CAAA;;ADkFA;EACE,kBAAkB;EAClB,QAAQ;EACR,QAAQ;;EAER,WAAsB;EACtB,YAAa;;EAEb,eAAe;;EAEf,uCAAuC;EACvC,YAAY;EACZ,uBAAuB;;EAEvB,YAAY;EACZ,cAAc;AAMhB;;AAJE;IAEE,mCAAmC;EACrC;;AAGF;EACE;IACE,2BAA2B;;IAE3B,UAAU;EACZ;;EAEA;IACE,wBAAwB;;IAExB,UAAU;EACZ;AACF;;AAZA;EACE;IACE,2BAA2B;;IAE3B,UAAU;EACZ;;EAEA;IACE,wBAAwB;;IAExB,UAAU;EACZ;AACF;;AAEA;EACE;;IAEE,2BAA2B;EAC7B;;EAEA;;IAEE,0BAA0B;EAC5B;;EAEA;;;IAGE,2BAA2B;EAC7B;;EAEA;;IAEE,0BAA0B;EAC5B;AACF;;AArBA;EACE;;IAEE,2BAA2B;EAC7B;;EAEA;;IAEE,0BAA0B;EAC5B;;EAEA;;;IAGE,2BAA2B;EAC7B;;EAEA;;IAEE,0BAA0B;EAC5B;AACF;;AAEA;EACE,iCAAoB;UAApB,yBAAoB;EACpB,iCAAsC;UAAtC,yBAAsC;AACxC;;AAEA;EACE,8CAA8C;;EAE9C,UAAU;AACZ;;AAEA;EACE,oCAAuB;UAAvB,4BAAuB;EACvB,iCAAyB;UAAzB,yBAAyB;AAC3B\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n@value animation-duration: 300ms;\\\\n@value animation-easing: ease-out;\\\\n\\\\n.alert {\\\\n position: relative;\\\\n\\\\n display: flex;\\\\n align-items: baseline;\\\\n\\\\n box-sizing: border-box;\\\\n min-height: calc(unit * 5);\\\\n margin: unit auto;\\\\n padding: 0 calc(unit * 2);\\\\n\\\\n transition:\\\\n transform animation-duration animation-easing,\\\\n margin-bottom animation-duration animation-easing,\\\\n opacity animation-duration animation-easing;\\\\n white-space: nowrap;\\\\n pointer-events: auto;\\\\n\\\\n border-radius: var(--ring-border-radius);\\\\n background-color: var(--ring-message-background-color);\\\\n box-shadow: 0 2px 16px var(--ring-popup-shadow-color);\\\\n\\\\n font-size: var(--ring-font-size);\\\\n line-height: calc(unit * 5);\\\\n}\\\\n\\\\n.alertInline {\\\\n margin: unit;\\\\n}\\\\n\\\\n.error {\\\\n word-wrap: break-word;\\\\n\\\\n color: var(--ring-error-color);\\\\n}\\\\n\\\\n.icon {\\\\n margin-right: unit;\\\\n}\\\\n\\\\n.caption {\\\\n overflow: hidden;\\\\n\\\\n max-width: calc(100% - calc(unit * 5));\\\\n\\\\n margin: 12px 0;\\\\n\\\\n white-space: normal;\\\\n\\\\n color: var(--ring-dark-text-color);\\\\n\\\\n line-height: 20px;\\\\n\\\\n & :global(.ring-link),\\\\n /* This link styles are used in link.css */\\\\n & .link {\\\\n color: var(--ring-main-color);\\\\n }\\\\n\\\\n &.withCloseButton {\\\\n margin-right: calc(unit * 5);\\\\n }\\\\n}\\\\n\\\\n.badge {\\\\n margin-left: unit;\\\\n\\\\n vertical-align: baseline;\\\\n}\\\\n\\\\n.loader {\\\\n top: 2px;\\\\n\\\\n margin-right: unit;\\\\n}\\\\n\\\\n.close {\\\\n position: absolute;\\\\n top: 2px;\\\\n right: 0;\\\\n\\\\n margin: calc(unit / 2);\\\\n padding: unit;\\\\n\\\\n cursor: pointer;\\\\n\\\\n color: var(--ring-dark-secondary-color);\\\\n border: none;\\\\n background: transparent;\\\\n\\\\n font-size: 0;\\\\n line-height: 0;\\\\n\\\\n &:hover,\\\\n &:focus {\\\\n color: var(--ring-link-hover-color);\\\\n }\\\\n}\\\\n\\\\n@keyframes show {\\\\n from {\\\\n transform: translateY(100%);\\\\n\\\\n opacity: 0;\\\\n }\\\\n\\\\n to {\\\\n transform: translateY(0);\\\\n\\\\n opacity: 1;\\\\n }\\\\n}\\\\n\\\\n@keyframes shaking {\\\\n 10%,\\\\n 90% {\\\\n transform: translateX(-1px);\\\\n }\\\\n\\\\n 20%,\\\\n 80% {\\\\n transform: translateX(2px);\\\\n }\\\\n\\\\n 30%,\\\\n 50%,\\\\n 70% {\\\\n transform: translateX(-4px);\\\\n }\\\\n\\\\n 40%,\\\\n 60% {\\\\n transform: translateX(4px);\\\\n }\\\\n}\\\\n\\\\n.animationOpen {\\\\n animation-name: show;\\\\n animation-duration: animation-duration;\\\\n}\\\\n\\\\n.animationClosing {\\\\n z-index: var(--ring-invisible-element-z-index);\\\\n\\\\n opacity: 0;\\\\n}\\\\n\\\\n.animationShaking {\\\\n animation-name: shaking;\\\\n animation-duration: 500ms;\\\\n}\\\\n',null],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,\\\"animation-duration\\\":\\\"300ms\\\",\\\"animation-easing\\\":\\\"ease-out\\\",alert:\\\"alert_aafc\\\",alertInline:\\\"alertInline_dcac\\\",error:\\\"error_fd07\\\",icon:\\\"icon_f644\\\",caption:\\\"caption_a5e4\\\",link:\\\"link_b2ad\\\",withCloseButton:\\\"withCloseButton_fa1d\\\",badge:\\\"badge_c16f\\\",loader:\\\"loader_e62b\\\",close:\\\"close_a148\\\",animationOpen:\\\"animationOpen_e1d8\\\",show:\\\"show_aede\\\",animationClosing:\\\"animationClosing_ad25\\\",animationShaking:\\\"animationShaking_dc91\\\",shaking:\\\"shaking_c208\\\"};const c=u},336:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>u});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(643),l=a()(i());l.i(s.Z),l.push([t.id,'.avatar_b826 {\\\\n display: inline-block;\\\\n -o-object-fit: cover;\\\\n object-fit: cover;\\\\n -o-object-position: center;\\\\n object-position: center;\\\\n\\\\n /* This is a \\\"graceful degradation\\\" fallback, while the real value is controlled by JS */\\\\n\\\\n border-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.subavatar_fe67 {\\\\n position: absolute;\\\\n top: 15px;\\\\n left: 27px;\\\\n\\\\n border: 1px var(--ring-content-background-color) solid;\\\\n}\\\\n\\\\n.empty_daf3 {\\\\n display: inline-block;\\\\n\\\\n box-sizing: border-box;\\\\n\\\\n border: 1px solid var(--ring-borders-color);\\\\n}\\\\n',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/avatar/avatar.css\\\"],names:[],mappings:\\\"AAEA;EACE,qBAAqB;EACrB,oBAAiB;KAAjB,iBAAiB;EACjB,0BAAuB;KAAvB,uBAAuB;;EAEvB,wFAAwF;;EAExF,wCAAwC;AAC1C;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,UAAU;;EAEV,sDAAsD;AACxD;;AAEA;EACE,qBAAqB;;EAErB,sBAAsB;;EAEtB,2CAA2C;AAC7C\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n.avatar {\\\\n display: inline-block;\\\\n object-fit: cover;\\\\n object-position: center;\\\\n\\\\n /* This is a \\\"graceful degradation\\\" fallback, while the real value is controlled by JS */\\\\n\\\\n border-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.subavatar {\\\\n position: absolute;\\\\n top: 15px;\\\\n left: 27px;\\\\n\\\\n border: 1px var(--ring-content-background-color) solid;\\\\n}\\\\n\\\\n.empty {\\\\n display: inline-block;\\\\n\\\\n box-sizing: border-box;\\\\n\\\\n border: 1px solid var(--ring-borders-color);\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),l.locals={avatar:\\\"avatar_b826\\\",subavatar:\\\"subavatar_fe67\\\",empty:\\\"empty_daf3\\\"};const u=l},6899:(t,e,n)=>{\\\"use strict\\\";n.d(e,{Z:()=>h});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(6439),u=n(643),c=a()(i());c.i(u.Z),c.i(s.default,\\\"\\\",!0),c.i(l.Z,\\\"\\\",!0),c.push([t.id,\\\":root {\\\\n --ring-button-group-default-z-index: 0;\\\\n --ring-button-group-disabled-z-index: -1;\\\\n --ring-button-group-active-z-index: 1;\\\\n --ring-button-group-hover-z-index: 2;\\\\n --ring-button-group-focus-z-index: 3;\\\\n}\\\\n\\\\n.buttonGroup_ed04 {\\\\n\\\\n position: relative;\\\\n z-index: 0;\\\\n\\\\n display: inline-block;\\\\n\\\\n white-space: nowrap;\\\\n}\\\\n\\\\n.buttonGroup_ed04 button,\\\\n.buttonGroup_ed04 .button_b490 {\\\\n margin: 0 0 0 -1px;\\\\n\\\\n border-radius: 0;\\\\n}\\\\n\\\\n.caption_ddd8 {\\\\n\\\\n margin-right: 8px;\\\\n\\\\n font-size: var(--ring-font-size);\\\\n}\\\\n\\\\n.caption_ddd8:empty {\\\\n margin-right: 0;\\\\n }\\\\n\\\\n.buttonGroup_ed04 > .caption_ddd8 + .button_b490,\\\\n.buttonGroup_ed04 > button:first-child,\\\\n.buttonGroup_ed04 > .button_b490:first-child,\\\\n.buttonGroup_ed04 > :first-child .button_b490 {\\\\n margin: 0;\\\\n\\\\n border-top-left-radius: var(--ring-border-radius);\\\\n border-bottom-left-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.buttonGroup_ed04 > .button_b490:last-child,\\\\n.buttonGroup_ed04 > button:last-child,\\\\n.buttonGroup_ed04 > :last-child .button_b490 {\\\\n border-top-right-radius: var(--ring-border-radius);\\\\n border-bottom-right-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.buttonGroup_ed04 .button_b490 {\\\\n position: relative;\\\\n z-index: 0;\\\\n z-index: var(--ring-button-group-default-z-index);\\\\n }\\\\n\\\\n.buttonGroup_ed04 .button_b490[disabled] {\\\\n z-index: -1;\\\\n z-index: var(--ring-button-group-disabled-z-index);\\\\n }\\\\n\\\\n.buttonGroup_ed04 .button_b490:active {\\\\n z-index: 1;\\\\n z-index: var(--ring-button-group-active-z-index);\\\\n }\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.buttonGroup_ed04 .button_b490:hover {\\\\n z-index: 2;\\\\n z-index: var(--ring-button-group-hover-z-index);\\\\n }}\\\\n\\\\n.buttonGroup_ed04 .button_b490:focus {\\\\n z-index: 3;\\\\n z-index: var(--ring-button-group-focus-z-index);\\\\n }\\\\n\\\\n.buttonGroup_ed04 .active_cb8e {\\\\n z-index: 1;\\\\n z-index: var(--ring-button-group-active-z-index);\\\\n }\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/button-group/button-group.css\\\",\\\"<no source>\\\"],names:[],mappings:\\\"AAIA;EACE,sCAAsC;EACtC,wCAAwC;EACxC,qCAAqC;EACrC,oCAAoC;EACpC,oCAAoC;AACtC;;AAEA;;EAGE,kBAAkB;EAClB,UAAU;;EAEV,qBAAqB;;EAErB,mBAAmB;AACrB;;AAEA;;EAEE,kBAAkB;;EAElB,gBAAgB;AAClB;;AAEA;;EAGE,iBAAkB;;EAElB,gCAAgC;AAKlC;;AAHE;IACE,eAAe;EACjB;;AAGF;;;;EAIE,SAAS;;EAET,iDAAiD;EACjD,oDAAoD;AACtD;;AAEA;;;EAGE,kDAAkD;EAClD,qDAAqD;AACvD;;AAGE;IACE,kBAAkB;IAClB,UAAiD;IAAjD,iDAAiD;EAiBnD;;AAfE;MACE,WAAkD;MAAlD,kDAAkD;IACpD;;AAEA;MACE,UAAgD;MAAhD,gDAAgD;IAClD;;ACtEJ,wGAAA;MAAA,WAAA;MAAA,gDAAA;KAAA,CAAA;;AD4EI;MACE,UAA+C;MAA/C,+CAA+C;IACjD;;AAGF;IACE,UAAgD;IAAhD,gDAAgD;EAClD\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n\\\\n:root {\\\\n --ring-button-group-default-z-index: 0;\\\\n --ring-button-group-disabled-z-index: -1;\\\\n --ring-button-group-active-z-index: 1;\\\\n --ring-button-group-hover-z-index: 2;\\\\n --ring-button-group-focus-z-index: 3;\\\\n}\\\\n\\\\n.buttonGroup {\\\\n composes: buttonGroup from \\\"../button-toolbar/button-toolbar.css\\\";\\\\n\\\\n position: relative;\\\\n z-index: 0;\\\\n\\\\n display: inline-block;\\\\n\\\\n white-space: nowrap;\\\\n}\\\\n\\\\n.buttonGroup button,\\\\n.buttonGroup .button {\\\\n margin: 0 0 0 -1px;\\\\n\\\\n border-radius: 0;\\\\n}\\\\n\\\\n.caption {\\\\n composes: font from \\\"../global/global.css\\\";\\\\n\\\\n margin-right: unit;\\\\n\\\\n font-size: var(--ring-font-size);\\\\n\\\\n &:empty {\\\\n margin-right: 0;\\\\n }\\\\n}\\\\n\\\\n.buttonGroup > .caption + .button,\\\\n.buttonGroup > button:first-child,\\\\n.buttonGroup > .button:first-child,\\\\n.buttonGroup > :first-child .button {\\\\n margin: 0;\\\\n\\\\n border-top-left-radius: var(--ring-border-radius);\\\\n border-bottom-left-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.buttonGroup > .button:last-child,\\\\n.buttonGroup > button:last-child,\\\\n.buttonGroup > :last-child .button {\\\\n border-top-right-radius: var(--ring-border-radius);\\\\n border-bottom-right-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.buttonGroup {\\\\n & .button {\\\\n position: relative;\\\\n z-index: var(--ring-button-group-default-z-index);\\\\n\\\\n &[disabled] {\\\\n z-index: var(--ring-button-group-disabled-z-index);\\\\n }\\\\n\\\\n &:active {\\\\n z-index: var(--ring-button-group-active-z-index);\\\\n }\\\\n\\\\n &:hover {\\\\n z-index: var(--ring-button-group-hover-z-index);\\\\n }\\\\n\\\\n &:focus {\\\\n z-index: var(--ring-button-group-focus-z-index);\\\\n }\\\\n }\\\\n\\\\n & .active {\\\\n z-index: var(--ring-button-group-active-z-index);\\\\n }\\\\n}\\\\n',null],sourceRoot:\\\"\\\"}]),c.locals={unit:\\\"\\\"+s.default.locals.unit,buttonGroup:\\\"buttonGroup_ed04 \\\"+l.Z.locals.buttonGroup,button:\\\"button_b490\\\",caption:\\\"caption_ddd8 \\\"+s.default.locals.font,active:\\\"active_cb8e\\\"};const h=c},8996:(t,e,n)=>{\\\"use strict\\\";n.d(e,{Z:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,\\\".buttonSet_c32e {\\\\n position: relative;\\\\n\\\\n display: inline-block;\\\\n\\\\n white-space: nowrap;\\\\n\\\\n font-size: 0;\\\\n}\\\\n\\\\n.buttonSet_c32e .button_fc76 {\\\\n margin: 0 8px 0 0;\\\\n }\\\\n\\\\n.buttonSet_c32e > .button_fc76:last-child {\\\\n margin-right: 0;\\\\n }\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/button-set/button-set.css\\\"],names:[],mappings:\\\"AAIA;EACE,kBAAkB;;EAElB,qBAAqB;;EAErB,mBAAmB;;EAEnB,YAAY;AASd;;AAPE;IACE,iBAAkB;EACpB;;AAEA;IACE,eAAe;EACjB\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n\\\\n.buttonSet {\\\\n position: relative;\\\\n\\\\n display: inline-block;\\\\n\\\\n white-space: nowrap;\\\\n\\\\n font-size: 0;\\\\n\\\\n & .button {\\\\n margin: 0 unit 0 0;\\\\n }\\\\n\\\\n & > .button:last-child {\\\\n margin-right: 0;\\\\n }\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,buttonSet:\\\"buttonSet_c32e\\\",button:\\\"button_fc76\\\"};const c=u},6439:(t,e,n)=>{\\\"use strict\\\";n.d(e,{Z:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,\\\".buttonToolbar_a578 {\\\\n display: inline-block;\\\\n\\\\n white-space: nowrap;\\\\n\\\\n font-size: 0;\\\\n}\\\\n\\\\n.buttonToolbar_a578 > button,\\\\n.buttonToolbar_a578 > .ring-button-group,\\\\n.buttonToolbar_a578 > .button_eeb4,\\\\n.buttonToolbar_a578 > .buttonGroup_e81a,\\\\n.buttonToolbar_a578 > .buttonToolbar_a578 {\\\\n margin-right: 8px;\\\\n}\\\\n\\\\n.buttonToolbar_a578 > :last-child {\\\\n margin-right: 0;\\\\n}\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/button-toolbar/button-toolbar.css\\\"],names:[],mappings:\\\"AAIA;EACE,qBAAqB;;EAErB,mBAAmB;;EAEnB,YAAY;AACd;;AAEA;;;;;EAKE,iBAAkB;AACpB;;AAEA;EACE,eAAe;AACjB\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n\\\\n.buttonToolbar {\\\\n display: inline-block;\\\\n\\\\n white-space: nowrap;\\\\n\\\\n font-size: 0;\\\\n}\\\\n\\\\n.buttonToolbar > button,\\\\n.buttonToolbar > :global(.ring-button-group),\\\\n.buttonToolbar > .button,\\\\n.buttonToolbar > .buttonGroup,\\\\n.buttonToolbar > .buttonToolbar {\\\\n margin-right: unit;\\\\n}\\\\n\\\\n.buttonToolbar > :last-child {\\\\n margin-right: 0;\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,buttonToolbar:\\\"buttonToolbar_a578\\\",button:\\\"button_eeb4\\\",buttonGroup:\\\"buttonGroup_e81a\\\"};const c=u},9653:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>f});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(6899),u=n(8996),c=n(6439),h=n(643),p=a()(i());p.i(h.Z),p.i(s.default,\\\"\\\",!0),p.i(l.Z,\\\"\\\",!0),p.i(u.Z,\\\"\\\",!0),p.i(c.Z,\\\"\\\",!0),p.push([t.id,':root {\\\\n /* TODO: This colors are not ready to move to variables.css */\\\\n /* stylelint-disable color-no-hex */\\\\n --ring-button-primary-background-color: #1a98ff;\\\\n --ring-button-primary-border-color: #0062b2;\\\\n --ring-button-danger-active-color: #ffe7e8;\\\\n --ring-button-danger-hover-color: var(--ring-icon-error-color);\\\\n --ring-button-loader-background: #33a3ff;\\\\n --ring-button-dark-icon-color: #80929d;\\\\n --ring-button-dark-border-disabled-color: #333;\\\\n --ring-button-dark-icon-disabled-color: var(--ring-dark-disabled-color);\\\\n --ring-button-dark-danger-active-color: #26080a;\\\\n --ring-button-dark-danger-hover-color: var(--ring-error-color);\\\\n --ring-button-dark-active-color: #062640;\\\\n --ring-button-dark-loader-background: #002039;\\\\n /* stylelint-enable color-no-hex */\\\\n}\\\\n\\\\n.light_df28 {\\\\n color: var(--ring-text-color);\\\\n background-color: var(--ring-content-background-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-borders-color);\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.light_df28:hover {\\\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\\\\n }}\\\\n\\\\n.light_df28:active,\\\\n .light_df28.active_a14f {\\\\n background-color: var(--ring-selected-background-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\\\\n }\\\\n\\\\n.light_df28.focus-visible {\\\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color), 0 0 0 1px var(--ring-border-hover-color);\\\\n }\\\\n\\\\n.light_df28[disabled] {\\\\n box-shadow: inset 0 0 0 1px var(--ring-border-disabled-color);\\\\n }\\\\n\\\\n.light_df28[disabled],\\\\n .light_df28.withIcon_d301[disabled] {\\\\n color: var(--ring-disabled-color);\\\\n }\\\\n\\\\n.light_df28[disabled] .icon_de76 {\\\\n color: var(--ring-icon-disabled-color);\\\\n }\\\\n\\\\n.light_df28.primary_d13c:active,\\\\n .light_df28.primary_d13c.active_a14f {\\\\n background-color: #1a98ff;\\\\n background-color: var(--ring-button-primary-background-color);\\\\n box-shadow: inset 0 0 0 1px #0062b2;\\\\n box-shadow: inset 0 0 0 1px var(--ring-button-primary-border-color);\\\\n }\\\\n\\\\n.light_df28.danger_c6b0:active,\\\\n .light_df28.danger_c6b0.active_a14f {\\\\n background-color: #ffe7e8;\\\\n background-color: var(--ring-button-danger-active-color);\\\\n }\\\\n\\\\n.light_df28.danger_c6b0:active,\\\\n .light_df28.danger_c6b0.active_a14f,\\\\n .light_df28.danger_c6b0.focus-visible {\\\\n box-shadow: inset 0 0 0 1px var(--ring-icon-error-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-button-danger-hover-color);\\\\n }\\\\n\\\\n.light_df28.withIcon_d301 {\\\\n color: var(--ring-secondary-color);\\\\n }\\\\n\\\\n.light_df28 .loaderBackground_fd9a::before {\\\\n background-image:\\\\n linear-gradient(\\\\n to right,\\\\n var(--ring-content-background-color),\\\\n var(--ring-selected-background-color) 40%,\\\\n var(--ring-content-background-color) 80%\\\\n );\\\\n }\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.light_df28.danger_c6b0:hover {\\\\n box-shadow: inset 0 0 0 1px var(--ring-icon-error-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-button-danger-hover-color);\\\\n}}\\\\n\\\\n.dark_de58 {\\\\n color: var(--ring-dark-secondary-color);\\\\n background-color: var(--ring-navigation-background-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-dark-borders-color);\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.dark_de58:hover {\\\\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color);\\\\n }}\\\\n\\\\n.dark_de58:active,\\\\n .dark_de58.active_a14f {\\\\n color: var(--ring-dark-text-color);\\\\n background-color: #062640;\\\\n background-color: var(--ring-button-dark-active-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color);\\\\n }\\\\n\\\\n.dark_de58.focus-visible {\\\\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color), 0 0 0 1px var(--ring-dark-border-hover-color);\\\\n }\\\\n\\\\n.dark_de58[disabled] {\\\\n box-shadow: inset 0 0 0 1px #333;\\\\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-border-disabled-color);\\\\n }\\\\n\\\\n.dark_de58[disabled],\\\\n .dark_de58.withIcon_d301[disabled] {\\\\n color: var(--ring-dark-disabled-color);\\\\n }\\\\n\\\\n.dark_de58[disabled] .icon_de76 {\\\\n color: var(--ring-dark-disabled-color);\\\\n color: var(--ring-button-dark-icon-disabled-color);\\\\n }\\\\n\\\\n.dark_de58.primary_d13c:active,\\\\n .dark_de58.primary_d13c.active_a14f {\\\\n background-color: var(--ring-main-hover-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\\\\n }\\\\n\\\\n.dark_de58.danger_c6b0:active,\\\\n .dark_de58.danger_c6b0.active_a14f {\\\\n color: var(--ring-icon-error-color);\\\\n background-color: #26080a;\\\\n background-color: var(--ring-button-dark-danger-active-color);\\\\n }\\\\n\\\\n.dark_de58.danger_c6b0:active,\\\\n .dark_de58.danger_c6b0.active_a14f,\\\\n .dark_de58.danger_c6b0.focus-visible {\\\\n box-shadow: inset 0 0 0 1px var(--ring-error-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-danger-hover-color);\\\\n }\\\\n\\\\n.dark_de58.withIcon_d301 {\\\\n color: var(--ring-dark-secondary-color);\\\\n }\\\\n\\\\n.dark_de58 .loaderBackground_fd9a::before {\\\\n background-image:\\\\n linear-gradient(\\\\n to right,\\\\n var(--ring-navigation-background-color),\\\\n #002039 40%,\\\\n var(--ring-navigation-background-color) 80%\\\\n );\\\\n background-image:\\\\n linear-gradient(\\\\n to right,\\\\n var(--ring-navigation-background-color),\\\\n var(--ring-button-dark-loader-background) 40%,\\\\n var(--ring-navigation-background-color) 80%\\\\n );\\\\n }\\\\n\\\\n.dark_de58 .dropdownIcon_a58d {\\\\n color: var(--ring-dark-secondary-color);\\\\n }\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.dark_de58.danger_c6b0:hover {\\\\n box-shadow: inset 0 0 0 1px var(--ring-error-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-danger-hover-color);\\\\n}}\\\\n\\\\n.button_d995 {\\\\n\\\\n position: relative;\\\\n\\\\n display: inline-block;\\\\n\\\\n box-sizing: border-box;\\\\n height: 24px;\\\\n margin: 0;\\\\n padding: 0 16px;\\\\n\\\\n cursor: pointer;\\\\n transition: color var(--ring-ease), background-color var(--ring-ease), box-shadow var(--ring-ease);\\\\n text-decoration: none;\\\\n\\\\n border: 0;\\\\n border-radius: var(--ring-border-radius);\\\\n outline: 0;\\\\n\\\\n font-family: var(--ring-font-family);\\\\n font-size: var(--ring-font-size-smaller);\\\\n\\\\n line-height: 24px;\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.button_d995:hover {\\\\n transition: none;\\\\n }}\\\\n\\\\n.button_d995.focus-visible {\\\\n transition: none;\\\\n }\\\\n\\\\n.button_d995[disabled] {\\\\n pointer-events: none;\\\\n }\\\\n\\\\n.button_d995::-moz-focus-inner {\\\\n padding: 0;\\\\n\\\\n border: 0;\\\\n outline: 0;\\\\n }\\\\n\\\\n.active_a14f {\\\\n}\\\\n\\\\n.primary_d13c {\\\\n color: var(--ring-dark-text-color);\\\\n background-color: var(--ring-main-color);\\\\n box-shadow: none;\\\\n}\\\\n\\\\n.primary_d13c.withIcon_d301,\\\\n .primary_d13c.withIcon_d301:active,\\\\n .primary_d13c.withIcon_d301.active_a14f {\\\\n color: var(--ring-main-color);\\\\n }\\\\n\\\\n.primary_d13c.focus-visible {\\\\n transition: none;\\\\n\\\\n background-color: var(--ring-main-hover-color);\\\\n box-shadow: none;\\\\n }\\\\n\\\\n.primary_d13c[disabled] {\\\\n background-color: var(--ring-content-background-color);\\\\n box-shadow: inset 0 0 0 1px var(--ring-borders-color);\\\\n }\\\\n\\\\n.primary_d13c.loader_cae0[disabled] {\\\\n color: var(--ring-dark-text-color);\\\\n }\\\\n\\\\n.primary_d13c .loaderBackground_fd9a {\\\\n top: 0;\\\\n right: 0;\\\\n bottom: 0;\\\\n left: 0;\\\\n\\\\n border-radius: var(--ring-border-radius);\\\\n }\\\\n\\\\n.primary_d13c .loaderBackground_fd9a::before {\\\\n background-image:\\\\n linear-gradient(\\\\n to right,\\\\n var(--ring-main-color),\\\\n #33a3ff 40%,\\\\n var(--ring-main-color) 80%\\\\n );\\\\n background-image:\\\\n linear-gradient(\\\\n to right,\\\\n var(--ring-main-color),\\\\n var(--ring-button-loader-background) 40%,\\\\n var(--ring-main-color) 80%\\\\n );\\\\n }\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.primary_d13c:hover {\\\\n transition: none;\\\\n\\\\n background-color: var(--ring-main-hover-color);\\\\n box-shadow: none;\\\\n}}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.danger_c6b0:hover {\\\\n transition: none;\\\\n }}\\\\n\\\\n.danger_c6b0,\\\\n .danger_c6b0.withIcon_d301,\\\\n .danger_c6b0.withIcon_d301:active,\\\\n .danger_c6b0.withIcon_d301.active_a14f,\\\\n .danger_c6b0.text_d4f9,\\\\n .danger_c6b0.text_d4f9:active,\\\\n .danger_c6b0.text_d4f9.active_a14f {\\\\n color: var(--ring-error-color);\\\\n }\\\\n\\\\n.danger_c6b0.focus-visible {\\\\n transition: none;\\\\n }\\\\n\\\\n.dark_de58.danger_c6b0,\\\\n .dark_de58.danger_c6b0:active,\\\\n .dark_de58.danger_c6b0.active_a14f {\\\\n color: var(--ring-icon-error-color);\\\\n }\\\\n\\\\n.text_d4f9.text_d4f9,\\\\n.withIcon_d301.withIcon_d301 {\\\\n background-color: transparent;\\\\n box-shadow: none;\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_d4f9.text_d4f9:hover, .withIcon_d301.withIcon_d301:hover {\\\\n transition: none;\\\\n }}\\\\n\\\\n.text_d4f9.text_d4f9:active,\\\\n .withIcon_d301.withIcon_d301:active,\\\\n .text_d4f9.text_d4f9.active_a14f,\\\\n .withIcon_d301.withIcon_d301.active_a14f {\\\\n background-color: transparent;\\\\n box-shadow: none;\\\\n }\\\\n\\\\n.text_d4f9.text_d4f9.focus-visible, .withIcon_d301.withIcon_d301.focus-visible {\\\\n box-shadow: inset 0 0 0 2px var(--ring-border-hover-color);\\\\n }\\\\n\\\\n.loader_cae0.text_d4f9 > .content_aaa0 {\\\\n -webkit-animation-name: text-loading_a03b;\\\\n animation-name: text-loading_a03b;\\\\n -webkit-animation-duration: 1200ms;\\\\n animation-duration: 1200ms;\\\\n -webkit-animation-iteration-count: infinite;\\\\n animation-iteration-count: infinite;\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_d4f9.text_d4f9:hover {\\\\n background-color: transparent;\\\\n box-shadow: none;\\\\n}}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withIcon_d301:hover:not(.focus-visible) {\\\\n background-color: transparent;\\\\n box-shadow: none;\\\\n}}\\\\n\\\\n.text_d4f9 {\\\\n color: var(--ring-main-color);\\\\n}\\\\n\\\\n.inline_ac22 {\\\\n display: inline-block;\\\\n\\\\n margin: 0;\\\\n padding: 0;\\\\n\\\\n font-size: var(--ring-font-size);\\\\n}\\\\n\\\\n.withIcon_d301 {\\\\n padding: 0 8px;\\\\n}\\\\n\\\\n.text_d4f9:active,\\\\n .text_d4f9.active_a14f {\\\\n color: var(--ring-link-hover-color);\\\\n }\\\\n\\\\n.withIcon_d301:active,\\\\n .withIcon_d301.active_a14f {\\\\n color: var(--ring-main-color);\\\\n }\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withIcon_d301:hover {\\\\n color: var(--ring-link-hover-color);\\\\n}}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_d4f9:hover {\\\\n color: var(--ring-link-hover-color);\\\\n}}\\\\n\\\\n.icon_de76 {\\\\n color: inherit;\\\\n\\\\n line-height: normal;\\\\n}\\\\n\\\\n.icon_de76:not(:last-child) {\\\\n margin-right: 4px;\\\\n }\\\\n\\\\n.withNormalIconLight_e340 .icon_de76 {\\\\n transition: color var(--ring-ease);\\\\n\\\\n color: var(--ring-icon-color);\\\\n}\\\\n\\\\n.withNormalIconDark_d2c9 .icon_de76 {\\\\n transition: color var(--ring-ease);\\\\n\\\\n color: #80929d;\\\\n\\\\n color: var(--ring-button-dark-icon-color);\\\\n}\\\\n\\\\n.withNormalIconLight_e340:active,\\\\n.withNormalIconLight_e340.active_a14f,\\\\n.withNormalIconDark_d2c9:active,\\\\n.withNormalIconDark_d2c9.active_a14f {\\\\n color: var(--ring-main-color);\\\\n}\\\\n\\\\n.withNormalIconLight_e340:active .icon_de76, .withNormalIconLight_e340.active_a14f .icon_de76, .withNormalIconDark_d2c9:active .icon_de76, .withNormalIconDark_d2c9.active_a14f .icon_de76 {\\\\n transition: none;\\\\n\\\\n color: inherit;\\\\n }\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withNormalIconLight_e340:hover .icon_de76,\\\\n.withNormalIconDark_d2c9:hover .icon_de76,\\\\n.withDangerIconLight_f844:hover .icon_de76,\\\\n.withDangerIconDark_b166:hover .icon_de76 {\\\\n transition: none;\\\\n\\\\n color: inherit;\\\\n}}\\\\n\\\\n.withDangerIconLight_f844 .icon_de76,\\\\n.withDangerIconLight_f844:active .icon_de76 {\\\\n color: var(--ring-icon-error-color);\\\\n}\\\\n\\\\n.withDangerIconDark_b166 .icon_de76,\\\\n.withDangerIconDark_b166:active .icon_de76 {\\\\n color: var(--ring-error-color);\\\\n}\\\\n\\\\n.loader_cae0 {\\\\n position: relative;\\\\n z-index: 0;\\\\n\\\\n pointer-events: none;\\\\n\\\\n background-color: transparent;\\\\n}\\\\n\\\\n.loaderBackground_fd9a {\\\\n position: absolute;\\\\n z-index: -1;\\\\n top: 1px;\\\\n right: 1px;\\\\n bottom: 1px;\\\\n left: 1px;\\\\n\\\\n overflow: hidden;\\\\n\\\\n border-radius: var(--ring-border-radius-small);\\\\n}\\\\n\\\\n.loaderBackground_fd9a::before {\\\\n display: block;\\\\n\\\\n width: calc(100% + 64px);\\\\n height: 100%;\\\\n\\\\n content: \\\"\\\";\\\\n -webkit-animation: progress_b822 1s linear infinite;\\\\n animation: progress_b822 1s linear infinite;\\\\n\\\\n background-repeat: repeat;\\\\n background-size: 64px;\\\\n }\\\\n\\\\n.delayed_b987 .content_aaa0::after {\\\\n content: \\\"…\\\";\\\\n}\\\\n\\\\n.short_ce8c {\\\\n width: 32px;\\\\n padding: 0;\\\\n}\\\\n\\\\n.dropdownIcon_a58d {\\\\n margin-right: -2px;\\\\n\\\\n margin-left: 2px;\\\\n\\\\n transition: color var(--ring-ease);\\\\n\\\\n color: var(--ring-icon-secondary-color);\\\\n\\\\n line-height: normal;\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.button_d995:hover .dropdownIcon_a58d {\\\\n transition: none;\\\\n\\\\n color: var(--ring-main-color);\\\\n}}\\\\n\\\\n@-webkit-keyframes progress_b822 {\\\\n from {\\\\n transform: translateX(-64px);\\\\n }\\\\n\\\\n to {\\\\n transform: translateX(0);\\\\n }\\\\n}\\\\n\\\\n@keyframes progress_b822 {\\\\n from {\\\\n transform: translateX(-64px);\\\\n }\\\\n\\\\n to {\\\\n transform: translateX(0);\\\\n }\\\\n}\\\\n\\\\n@-webkit-keyframes text-loading_a03b {\\\\n 50% {\\\\n opacity: 0.5;\\\\n }\\\\n}\\\\n\\\\n@keyframes text-loading_a03b {\\\\n 50% {\\\\n opacity: 0.5;\\\\n }\\\\n}\\\\n',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/button/button.css\\\",\\\"<no source>\\\"],names:[],mappings:\\\"AAOA;EACE,6DAA6D;EAC7D,mCAAmC;EACnC,+CAA+C;EAC/C,2CAA2C;EAC3C,0CAA0C;EAC1C,8DAA8D;EAC9D,wCAAwC;EACxC,sCAAsC;EACtC,8CAA8C;EAC9C,uEAAuE;EACvE,+CAA+C;EAC/C,8DAA8D;EAC9D,wCAAwC;EACxC,6CAA6C;EAC7C,kCAAkC;AACpC;;AAEA;EACE,6BAA6B;EAC7B,sDAAsD;EACtD,qDAAmD;AA2DrD;;ACvFA,wGAAA;IAAA,2DAAA;GAAA,CAAA;;ADkCE;;IAEE,uDAAuD;IACvD,0DAAwD;EAC1D;;AAEA;IACE,oGAAkG;EACpG;;AAEA;IACE,6DAA2D;EAC7D;;AAEA;;IAEE,iCAAiC;EACnC;;AAEA;IACE,sCAAsC;EACxC;;AAEA;;IAEE,yBAA6D;IAA7D,6DAA6D;IAC7D,mCAAiE;IAAjE,mEAAiE;EACnE;;AAEA;;IAEE,yBAAwD;IAAxD,wDAAwD;EAC1D;;AAEA;;;IAGE,wDAA+D;IAA/D,iEAA+D;EACjE;;AAEA;IACE,kCAAkC;EACpC;;AAEA;IACE;;;;;;OAMG;EACL;;ACtFF,wGAAA;EAAA,yDAAA;EAAA,kEAAA;CAAA,CAAA;;AD6FA;EACE,uCAAuC;EACvC,yDAAyD;EACzD,0DAAwD;AAiE1D;;ACjKA,wGAAA;IAAA,gEAAA;GAAA,CAAA;;ADsGE;;IAEE,kCAAkC;IAClC,yBAAsD;IAAtD,sDAAsD;IACtD,+DAA6D;EAC/D;;AAEA;IACE,8GAA4G;EAC9G;;AAEA;IACE,gCAAuE;IAAvE,yEAAuE;EACzE;;AAEA;;IAEE,sCAAsC;EACxC;;AAEA;IACE,sCAAkD;IAAlD,kDAAkD;EACpD;;AAEA;;IAEE,8CAA8C;IAC9C,0DAAwD;EAC1D;;AAEA;;IAEE,mCAAmC;IACnC,yBAA6D;IAA7D,6DAA6D;EAC/D;;AAEA;;;IAGE,mDAAoE;IAApE,sEAAoE;EACtE;;AAEA;IACE,uCAAuC;EACzC;;AAEA;IACE;;;;;;OAMG;IANH;;;;;;OAMG;EACL;;AAEA;IACE,uCAAuC;EACzC;;AChKF,wGAAA;EAAA,oDAAA;EAAA,uEAAA;CAAA,CAAA;;ADuKA;;EAKE,kBAAkB;;EAElB,qBAAqB;;EAErB,sBAAsB;EACtB,YAAc;EACd,SAAS;EACT,eAAyB;;EAEzB,eAAe;EACf,kGAAkG;EAClG,qBAAqB;;EAErB,SAAS;EACT,wCAAwC;EACxC,UAAU;;EAEV,oCAAoC;EACpC,wCAAwC;;EAExC,iBAAmB;AAoBrB;;ACpNA,wGAAA;IAAA,iBAAA;GAAA,CAAA;;ADsME;IACE,gBAAgB;EAClB;;AAEA;IACE,oBAAoB;EACtB;;AAEA;IACE,UAAU;;IAEV,SAAS;IACT,UAAU;EACZ;;AAGF;AAEA;;AAEA;EACE,kCAAkC;EAClC,wCAAwC;EACxC,gBAAgB;AA0ClB;;AAxCE;;;IAGE,6BAA6B;EAC/B;;AAEA;IACE,gBAAgB;;IAEhB,8CAA8C;IAC9C,gBAAgB;EAClB;;AAEA;IACE,sDAAsD;IACtD,qDAAmD;EACrD;;AAEA;IACE,kCAAkC;EACpC;;AAEA;IACE,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;;IAEP,wCAAwC;EAW1C;;AATE;MACE;;;;;;SAMG;MANH;;;;;;SAMG;IACL;;ACrQJ,wGAAA;EAAA,iBAAA;;EAAA,+CAAA;EAAA,iBAAA;CAAA,CAAA;;AAAA,wGAAA;IAAA,iBAAA;GAAA,CAAA;;ADiRE;;;;;;;IAOE,8BAA8B;EAChC;;AAEA;IAEE,gBAAgB;EAClB;;AAIA;;;IAGE,mCAAmC;EACrC;;AAGF;;EAEE,6BAA6B;EAC7B,gBAAgB;AAelB;;AC3TA,wGAAA;IAAA,iBAAA;GAAA,CAAA;;ADkTE;;;;IAEE,6BAA6B;IAC7B,gBAAgB;EAClB;;AAEA;IACE,0DAA0D;EAC5D;;AAGF;EACE,yCAA4B;UAA5B,iCAA4B;EAC5B,kCAA0B;UAA1B,0BAA0B;EAC1B,2CAAmC;UAAnC,mCAAmC;AACrC;;ACjUA,wGAAA;EAAA,8BAAA;EAAA,iBAAA;CAAA,CAAA;;AAAA,wGAAA;EAAA,8BAAA;EAAA,iBAAA;CAAA,CAAA;;AD6UA;EACE,6BAA6B;AAC/B;;AAEA;EACE,qBAAqB;;EAErB,SAAS;EACT,UAAU;;EAEV,gCAAgC;AAClC;;AAEA;EACE,cAAe;AACjB;;AAGE;;IAEE,mCAAmC;EACrC;;AAIA;;IAEE,6BAA6B;EAC/B;;ACzWF,wGAAA;EAAA,oCAAA;CAAA,CAAA;;AAAA,wGAAA;EAAA,oCAAA;CAAA,CAAA;;ADoXA;EACE,cAAc;;EAEd,mBAAmB;AAKrB;;AAHE;IACE,iBAA8B;EAChC;;AAGF;EACE,kCAAkC;;EAElC,6BAA6B;AAC/B;;AAEA;EACE,kCAAkC;;EAElC,cAAyC;;EAAzC,yCAAyC;AAC3C;;AAEA;;;;EAIE,6BAA6B;AAO/B;;AALE;IACE,gBAAgB;;IAEhB,cAAc;EAChB;;ACpZF,wGAAA;;;;EAAA,iBAAA;;EAAA,eAAA;CAAA,CAAA;;ADgaA;;EAEE,mCAAmC;AACrC;;AAEA;;EAEE,8BAA8B;AAChC;;AAEA;EACE,kBAAkB;EAClB,UAAU;;EAEV,oBAAoB;;EAEpB,6BAA6B;AAC/B;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,QAAQ;EACR,UAAU;EACV,WAAW;EACX,SAAS;;EAET,gBAAgB;;EAEhB,8CAA8C;AAchD;;AAZE;IACE,cAAc;;IAEd,wBAA+B;IAC/B,YAAY;;IAEZ,WAAW;IACX,mDAAsC;YAAtC,2CAAsC;;IAEtC,yBAAyB;IACzB,qBAA4B;EAC9B;;AAGF;EACE,YAAY;AACd;;AAEA;EACE,WAAqB;EACrB,UAAU;AACZ;;AAEA;EACE,kBAAkB;;EAElB,gBAAgB;;EAEhB,kCAAkC;;EAElC,uCAAuC;;EAEvC,mBAAmB;AACrB;;ACheA,wGAAA;EAAA,iBAAA;;EAAA,8BAAA;CAAA,CAAA;;ADweA;EACE;IACE,4BAA4C;EAC9C;;EAEA;IACE,wBAAwB;EAC1B;AACF;;AARA;EACE;IACE,4BAA4C;EAC9C;;EAEA;IACE,wBAAwB;EAC1B;AACF;;AAEA;EACE;IACE,YAAY;EACd;AACF;;AAJA;EACE;IACE,YAAY;EACd;AACF\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n@value button-shadow: inset 0 0 0 1px;\\\\n@value height: calc(unit * 3);\\\\n@value loaderWidth: calc(unit * 8);\\\\n\\\\n:root {\\\\n /* TODO: This colors are not ready to move to variables.css */\\\\n /* stylelint-disable color-no-hex */\\\\n --ring-button-primary-background-color: #1a98ff;\\\\n --ring-button-primary-border-color: #0062b2;\\\\n --ring-button-danger-active-color: #ffe7e8;\\\\n --ring-button-danger-hover-color: var(--ring-icon-error-color);\\\\n --ring-button-loader-background: #33a3ff;\\\\n --ring-button-dark-icon-color: #80929d;\\\\n --ring-button-dark-border-disabled-color: #333;\\\\n --ring-button-dark-icon-disabled-color: var(--ring-dark-disabled-color);\\\\n --ring-button-dark-danger-active-color: #26080a;\\\\n --ring-button-dark-danger-hover-color: var(--ring-error-color);\\\\n --ring-button-dark-active-color: #062640;\\\\n --ring-button-dark-loader-background: #002039;\\\\n /* stylelint-enable color-no-hex */\\\\n}\\\\n\\\\n.light {\\\\n color: var(--ring-text-color);\\\\n background-color: var(--ring-content-background-color);\\\\n box-shadow: button-shadow var(--ring-borders-color);\\\\n\\\\n &:hover {\\\\n box-shadow: button-shadow var(--ring-border-hover-color);\\\\n }\\\\n\\\\n &:active,\\\\n &.active {\\\\n background-color: var(--ring-selected-background-color);\\\\n box-shadow: button-shadow var(--ring-border-hover-color);\\\\n }\\\\n\\\\n &:global(.focus-visible) {\\\\n box-shadow: button-shadow var(--ring-border-hover-color), 0 0 0 1px var(--ring-border-hover-color);\\\\n }\\\\n\\\\n &[disabled] {\\\\n box-shadow: button-shadow var(--ring-border-disabled-color);\\\\n }\\\\n\\\\n &[disabled],\\\\n &[disabled].withIcon {\\\\n color: var(--ring-disabled-color);\\\\n }\\\\n\\\\n &[disabled] .icon {\\\\n color: var(--ring-icon-disabled-color);\\\\n }\\\\n\\\\n &.primary:active,\\\\n &.primary.active {\\\\n background-color: var(--ring-button-primary-background-color);\\\\n box-shadow: button-shadow var(--ring-button-primary-border-color);\\\\n }\\\\n\\\\n &.danger:active,\\\\n &.danger.active {\\\\n background-color: var(--ring-button-danger-active-color);\\\\n }\\\\n\\\\n &.danger:active,\\\\n &.danger.active,\\\\n &.danger:global(.focus-visible) {\\\\n box-shadow: button-shadow var(--ring-button-danger-hover-color);\\\\n }\\\\n\\\\n &.withIcon {\\\\n color: var(--ring-secondary-color);\\\\n }\\\\n\\\\n & .loaderBackground::before {\\\\n background-image:\\\\n linear-gradient(\\\\n to right,\\\\n var(--ring-content-background-color),\\\\n var(--ring-selected-background-color) 40%,\\\\n var(--ring-content-background-color) 80%\\\\n );\\\\n }\\\\n}\\\\n\\\\n.light.danger:hover {\\\\n box-shadow: button-shadow var(--ring-button-danger-hover-color);\\\\n}\\\\n\\\\n.dark {\\\\n color: var(--ring-dark-secondary-color);\\\\n background-color: var(--ring-navigation-background-color);\\\\n box-shadow: button-shadow var(--ring-dark-borders-color);\\\\n\\\\n &:hover {\\\\n box-shadow: button-shadow var(--ring-dark-border-hover-color);\\\\n }\\\\n\\\\n &:active,\\\\n &.active {\\\\n color: var(--ring-dark-text-color);\\\\n background-color: var(--ring-button-dark-active-color);\\\\n box-shadow: button-shadow var(--ring-dark-border-hover-color);\\\\n }\\\\n\\\\n &:global(.focus-visible) {\\\\n box-shadow: button-shadow var(--ring-dark-border-hover-color), 0 0 0 1px var(--ring-dark-border-hover-color);\\\\n }\\\\n\\\\n &[disabled] {\\\\n box-shadow: button-shadow var(--ring-button-dark-border-disabled-color);\\\\n }\\\\n\\\\n &[disabled],\\\\n &[disabled].withIcon {\\\\n color: var(--ring-dark-disabled-color);\\\\n }\\\\n\\\\n &[disabled] .icon {\\\\n color: var(--ring-button-dark-icon-disabled-color);\\\\n }\\\\n\\\\n &.primary:active,\\\\n &.primary.active {\\\\n background-color: var(--ring-main-hover-color);\\\\n box-shadow: button-shadow var(--ring-border-hover-color);\\\\n }\\\\n\\\\n &.danger:active,\\\\n &.danger.active {\\\\n color: var(--ring-icon-error-color);\\\\n background-color: var(--ring-button-dark-danger-active-color);\\\\n }\\\\n\\\\n &.danger:active,\\\\n &.danger.active,\\\\n &.danger:global(.focus-visible) {\\\\n box-shadow: button-shadow var(--ring-button-dark-danger-hover-color);\\\\n }\\\\n\\\\n &.withIcon {\\\\n color: var(--ring-dark-secondary-color);\\\\n }\\\\n\\\\n & .loaderBackground::before {\\\\n background-image:\\\\n linear-gradient(\\\\n to right,\\\\n var(--ring-navigation-background-color),\\\\n var(--ring-button-dark-loader-background) 40%,\\\\n var(--ring-navigation-background-color) 80%\\\\n );\\\\n }\\\\n\\\\n & .dropdownIcon {\\\\n color: var(--ring-dark-secondary-color);\\\\n }\\\\n}\\\\n\\\\n.dark.danger:hover {\\\\n box-shadow: button-shadow var(--ring-button-dark-danger-hover-color);\\\\n}\\\\n\\\\n.button {\\\\n composes: button from \\\"../button-group/button-group.css\\\";\\\\n composes: button from \\\"../button-set/button-set.css\\\";\\\\n composes: button from \\\"../button-toolbar/button-toolbar.css\\\";\\\\n\\\\n position: relative;\\\\n\\\\n display: inline-block;\\\\n\\\\n box-sizing: border-box;\\\\n height: height;\\\\n margin: 0;\\\\n padding: 0 calc(unit * 2);\\\\n\\\\n cursor: pointer;\\\\n transition: color var(--ring-ease), background-color var(--ring-ease), box-shadow var(--ring-ease);\\\\n text-decoration: none;\\\\n\\\\n border: 0;\\\\n border-radius: var(--ring-border-radius);\\\\n outline: 0;\\\\n\\\\n font-family: var(--ring-font-family);\\\\n font-size: var(--ring-font-size-smaller);\\\\n\\\\n line-height: height;\\\\n\\\\n &:hover {\\\\n transition: none;\\\\n }\\\\n\\\\n &:global(.focus-visible) {\\\\n transition: none;\\\\n }\\\\n\\\\n &[disabled] {\\\\n pointer-events: none;\\\\n }\\\\n\\\\n &::-moz-focus-inner {\\\\n padding: 0;\\\\n\\\\n border: 0;\\\\n outline: 0;\\\\n }\\\\n}\\\\n\\\\n.active {\\\\n composes: active from \\\"../button-group/button-group.css\\\";\\\\n}\\\\n\\\\n.primary {\\\\n color: var(--ring-dark-text-color);\\\\n background-color: var(--ring-main-color);\\\\n box-shadow: none;\\\\n\\\\n &.withIcon,\\\\n &.withIcon:active,\\\\n &.withIcon.active {\\\\n color: var(--ring-main-color);\\\\n }\\\\n\\\\n &:global(.focus-visible) {\\\\n transition: none;\\\\n\\\\n background-color: var(--ring-main-hover-color);\\\\n box-shadow: none;\\\\n }\\\\n\\\\n &[disabled] {\\\\n background-color: var(--ring-content-background-color);\\\\n box-shadow: button-shadow var(--ring-borders-color);\\\\n }\\\\n\\\\n &[disabled].loader {\\\\n color: var(--ring-dark-text-color);\\\\n }\\\\n\\\\n & .loaderBackground {\\\\n top: 0;\\\\n right: 0;\\\\n bottom: 0;\\\\n left: 0;\\\\n\\\\n border-radius: var(--ring-border-radius);\\\\n\\\\n &::before {\\\\n background-image:\\\\n linear-gradient(\\\\n to right,\\\\n var(--ring-main-color),\\\\n var(--ring-button-loader-background) 40%,\\\\n var(--ring-main-color) 80%\\\\n );\\\\n }\\\\n }\\\\n}\\\\n\\\\n.primary:hover {\\\\n transition: none;\\\\n\\\\n background-color: var(--ring-main-hover-color);\\\\n box-shadow: none;\\\\n}\\\\n\\\\n.danger {\\\\n &,\\\\n &.withIcon,\\\\n &.withIcon:active,\\\\n &.withIcon.active,\\\\n &.text,\\\\n &.text:active,\\\\n &.text.active {\\\\n color: var(--ring-error-color);\\\\n }\\\\n\\\\n &:global(.focus-visible),\\\\n &:hover {\\\\n transition: none;\\\\n }\\\\n}\\\\n\\\\n.dark.danger {\\\\n &,\\\\n &:active,\\\\n &.active {\\\\n color: var(--ring-icon-error-color);\\\\n }\\\\n}\\\\n\\\\n.text.text,\\\\n.withIcon.withIcon {\\\\n background-color: transparent;\\\\n box-shadow: none;\\\\n\\\\n &:hover {\\\\n transition: none;\\\\n }\\\\n\\\\n &:active,\\\\n &.active {\\\\n background-color: transparent;\\\\n box-shadow: none;\\\\n }\\\\n\\\\n &:global(.focus-visible) {\\\\n box-shadow: inset 0 0 0 2px var(--ring-border-hover-color);\\\\n }\\\\n}\\\\n\\\\n.loader.text > .content {\\\\n animation-name: text-loading;\\\\n animation-duration: 1200ms;\\\\n animation-iteration-count: infinite;\\\\n}\\\\n\\\\n.text.text:hover {\\\\n background-color: transparent;\\\\n box-shadow: none;\\\\n}\\\\n\\\\n.withIcon:hover:not(:global(.focus-visible)) {\\\\n background-color: transparent;\\\\n box-shadow: none;\\\\n}\\\\n\\\\n.text {\\\\n color: var(--ring-main-color);\\\\n}\\\\n\\\\n.inline {\\\\n display: inline-block;\\\\n\\\\n margin: 0;\\\\n padding: 0;\\\\n\\\\n font-size: var(--ring-font-size);\\\\n}\\\\n\\\\n.withIcon {\\\\n padding: 0 unit;\\\\n}\\\\n\\\\n.text {\\\\n &:active,\\\\n &.active {\\\\n color: var(--ring-link-hover-color);\\\\n }\\\\n}\\\\n\\\\n.withIcon {\\\\n &:active,\\\\n &.active {\\\\n color: var(--ring-main-color);\\\\n }\\\\n}\\\\n\\\\n.withIcon:hover {\\\\n color: var(--ring-link-hover-color);\\\\n}\\\\n\\\\n.text:hover {\\\\n color: var(--ring-link-hover-color);\\\\n}\\\\n\\\\n.icon {\\\\n color: inherit;\\\\n\\\\n line-height: normal;\\\\n\\\\n &:not(:last-child) {\\\\n margin-right: calc(unit * 0.5);\\\\n }\\\\n}\\\\n\\\\n.withNormalIconLight .icon {\\\\n transition: color var(--ring-ease);\\\\n\\\\n color: var(--ring-icon-color);\\\\n}\\\\n\\\\n.withNormalIconDark .icon {\\\\n transition: color var(--ring-ease);\\\\n\\\\n color: var(--ring-button-dark-icon-color);\\\\n}\\\\n\\\\n.withNormalIconLight:active,\\\\n.withNormalIconLight.active,\\\\n.withNormalIconDark:active,\\\\n.withNormalIconDark.active {\\\\n color: var(--ring-main-color);\\\\n\\\\n & .icon {\\\\n transition: none;\\\\n\\\\n color: inherit;\\\\n }\\\\n}\\\\n\\\\n.withNormalIconLight:hover .icon,\\\\n.withNormalIconDark:hover .icon,\\\\n.withDangerIconLight:hover .icon,\\\\n.withDangerIconDark:hover .icon {\\\\n transition: none;\\\\n\\\\n color: inherit;\\\\n}\\\\n\\\\n.withDangerIconLight .icon,\\\\n.withDangerIconLight:active .icon {\\\\n color: var(--ring-icon-error-color);\\\\n}\\\\n\\\\n.withDangerIconDark .icon,\\\\n.withDangerIconDark:active .icon {\\\\n color: var(--ring-error-color);\\\\n}\\\\n\\\\n.loader {\\\\n position: relative;\\\\n z-index: 0;\\\\n\\\\n pointer-events: none;\\\\n\\\\n background-color: transparent;\\\\n}\\\\n\\\\n.loaderBackground {\\\\n position: absolute;\\\\n z-index: -1;\\\\n top: 1px;\\\\n right: 1px;\\\\n bottom: 1px;\\\\n left: 1px;\\\\n\\\\n overflow: hidden;\\\\n\\\\n border-radius: var(--ring-border-radius-small);\\\\n\\\\n &::before {\\\\n display: block;\\\\n\\\\n width: calc(100% + loaderWidth);\\\\n height: 100%;\\\\n\\\\n content: \\\"\\\";\\\\n animation: progress 1s linear infinite;\\\\n\\\\n background-repeat: repeat;\\\\n background-size: loaderWidth;\\\\n }\\\\n}\\\\n\\\\n.delayed .content::after {\\\\n content: \\\"…\\\";\\\\n}\\\\n\\\\n.short {\\\\n width: calc(unit * 4);\\\\n padding: 0;\\\\n}\\\\n\\\\n.dropdownIcon {\\\\n margin-right: -2px;\\\\n\\\\n margin-left: 2px;\\\\n\\\\n transition: color var(--ring-ease);\\\\n\\\\n color: var(--ring-icon-secondary-color);\\\\n\\\\n line-height: normal;\\\\n}\\\\n\\\\n.button:hover .dropdownIcon {\\\\n transition: none;\\\\n\\\\n color: var(--ring-main-color);\\\\n}\\\\n\\\\n@keyframes progress {\\\\n from {\\\\n transform: translateX(calc(0 - loaderWidth));\\\\n }\\\\n\\\\n to {\\\\n transform: translateX(0);\\\\n }\\\\n}\\\\n\\\\n@keyframes text-loading {\\\\n 50% {\\\\n opacity: 0.5;\\\\n }\\\\n}\\\\n',null],sourceRoot:\\\"\\\"}]),p.locals={unit:\\\"\\\"+s.default.locals.unit,\\\"button-shadow\\\":\\\"inset 0 0 0 1px\\\",height:\\\"24px\\\",loaderWidth:\\\"64px\\\",light:\\\"light_df28\\\",active:\\\"active_a14f \\\"+l.Z.locals.active,withIcon:\\\"withIcon_d301\\\",icon:\\\"icon_de76\\\",primary:\\\"primary_d13c\\\",danger:\\\"danger_c6b0\\\",loaderBackground:\\\"loaderBackground_fd9a\\\",dark:\\\"dark_de58\\\",dropdownIcon:\\\"dropdownIcon_a58d\\\",button:\\\"button_d995 \\\"+l.Z.locals.button+\\\" \\\"+u.Z.locals.button+\\\" \\\"+c.Z.locals.button,loader:\\\"loader_cae0\\\",text:\\\"text_d4f9\\\",content:\\\"content_aaa0\\\",\\\"text-loading\\\":\\\"text-loading_a03b\\\",inline:\\\"inline_ac22\\\",withNormalIconLight:\\\"withNormalIconLight_e340\\\",withNormalIconDark:\\\"withNormalIconDark_d2c9\\\",withDangerIconLight:\\\"withDangerIconLight_f844\\\",withDangerIconDark:\\\"withDangerIconDark_b166\\\",progress:\\\"progress_b822\\\",delayed:\\\"delayed_b987\\\",short:\\\"short_ce8c\\\"};const f=p},1418:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,'.checkbox_e587 {\\\\n position: relative;\\\\n\\\\n display: inline-block;\\\\n\\\\n text-align: left;\\\\n\\\\n color: var(--ring-text-color);\\\\n outline: none;\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.checkbox_e587:hover .cell_eece {\\\\n transition: background-color var(--ring-ease);\\\\n\\\\n border-color: var(--ring-border-hover-color);\\\\n }}\\\\n\\\\n.cell_eece {\\\\n position: relative;\\\\n top: -2px;\\\\n\\\\n display: inline-block;\\\\n\\\\n box-sizing: border-box;\\\\n width: 14px;\\\\n height: 14px;\\\\n\\\\n -webkit-user-select: none;\\\\n\\\\n -moz-user-select: none;\\\\n\\\\n user-select: none;\\\\n transition: border-color var(--ring-ease), background-color var(--ring-ease), box-shadow var(--ring-ease);\\\\n vertical-align: middle;\\\\n pointer-events: none;\\\\n\\\\n border: 1px solid var(--ring-borders-color);\\\\n border-radius: 3px;\\\\n background-color: var(--ring-content-background-color);\\\\n}\\\\n\\\\n.icon_bc4e.icon_bc4e {\\\\n position: absolute;\\\\n\\\\n width: 16px;\\\\n height: 16px;\\\\n\\\\n transition: opacity var(--ring-fast-ease), transform var(--ring-fast-ease);\\\\n\\\\n opacity: 0;\\\\n}\\\\n\\\\n.icon_bc4e.icon_bc4e svg {\\\\n position: absolute;\\\\n top: 0;\\\\n left: 0;\\\\n }\\\\n\\\\n.check_e54f {\\\\n\\\\n top: -12px;\\\\n left: 1px;\\\\n}\\\\n\\\\n.minus_f480 {\\\\n\\\\n top: 1px;\\\\n left: 2px;\\\\n\\\\n opacity: 0;\\\\n}\\\\n\\\\n.input_cdb2 {\\\\n position: absolute;\\\\n top: 0;\\\\n left: 0;\\\\n\\\\n width: 100%;\\\\n height: 100%;\\\\n margin: 0;\\\\n\\\\n cursor: pointer;\\\\n\\\\n opacity: 0;\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n}\\\\n\\\\n.input_cdb2:checked + .cell_eece,\\\\n .input_cdb2[checked]:indeterminate + .cell_eece,\\\\n .input_cdb2[data-checked=\\\"true\\\"]:indeterminate + .cell_eece {\\\\n border-color: var(--ring-border-hover-color);\\\\n background-color: var(--ring-selected-background-color);\\\\n }\\\\n\\\\n/* stylelint-disable-next-line selector-max-specificity */\\\\n\\\\n.input_cdb2:checked + .cell_eece .check_e54f {\\\\n transform: translateY(8px);\\\\n\\\\n opacity: 1;\\\\n }\\\\n\\\\n.input_cdb2:focus + .cell_eece,\\\\n .input_cdb2.focus_e3f8 + .cell_eece {\\\\n transition: background-color var(--ring-ease);\\\\n\\\\n border-color: var(--ring-border-hover-color);\\\\n box-shadow: 0 0 0 1px var(--ring-border-hover-color);\\\\n }\\\\n\\\\n/* stylelint-disable-next-line selector-max-specificity */\\\\n\\\\n.input_cdb2:indeterminate + .cell_eece .minus_f480 {\\\\n opacity: 1;\\\\n }\\\\n\\\\n.input_cdb2[disabled] {\\\\n pointer-events: none;\\\\n }\\\\n\\\\n/* stylelint-disable-next-line selector-max-specificity */\\\\n\\\\n.input_cdb2[disabled][disabled] + .cell_eece {\\\\n border-color: var(--ring-line-color);\\\\n background-color: var(--ring-content-background-color);\\\\n }\\\\n\\\\n/* stylelint-disable-next-line selector-max-specificity */\\\\n\\\\n.input_cdb2[disabled]:checked + .cell_eece .check_e54f,\\\\n .input_cdb2[disabled]:indeterminate + .cell_eece .minus_f480 {\\\\n opacity: 0.5;\\\\n }\\\\n\\\\n/* stylelint-disable-next-line selector-max-specificity */\\\\n\\\\n.input_cdb2:indeterminate:indeterminate + .cell_eece .check_e54f {\\\\n transition: none;\\\\n\\\\n opacity: 0;\\\\n }\\\\n\\\\n.input_cdb2[disabled] ~ .label_cdc5 {\\\\n color: var(--ring-disabled-color);\\\\n }\\\\n\\\\n.label_cdc5 {\\\\n margin-left: 8px;\\\\n\\\\n line-height: normal;\\\\n}\\\\n',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/checkbox/checkbox.css\\\",\\\"<no source>\\\"],names:[],mappings:\\\"AAKA;EACE,kBAAkB;;EAElB,qBAAqB;;EAErB,gBAAgB;;EAEhB,6BAA6B;EAC7B,aAAa;AAOf;;ACpBA,wGAAA;IAAA,8CAAA;;IAAA,6CAAA;GAAA,CAAA;;ADsBA;EACE,kBAAkB;EAClB,SAAS;;EAET,qBAAqB;;EAErB,sBAAsB;EACtB,WAAmB;EACnB,YAAoB;;EAEpB,yBAAiB;;KAAjB,sBAAiB;;UAAjB,iBAAiB;EACjB,yGAAyG;EACzG,sBAAsB;EACtB,oBAAoB;;EAEpB,2CAA2C;EAC3C,kBAAkB;EAClB,sDAAsD;AACxD;;AAEA;EACE,kBAAkB;;EAElB,WAAqB;EACrB,YAAsB;;EAEtB,0EAA0E;;EAE1E,UAAU;AAOZ;;AALE;IACE,kBAAkB;IAClB,MAAM;IACN,OAAO;EACT;;AAGF;;EAGE,UAAsB;EACtB,SAAS;AACX;;AAEA;;EAGE,QAAQ;EACR,SAAS;;EAET,UAAU;AACZ;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;;EAEP,WAAW;EACX,YAAY;EACZ,SAAS;;EAET,eAAe;;EAEf,UAAU;;EAEV,yDAAyD;AAsD3D;;AArDE;;;IAGE,4CAA4C;IAC5C,uDAAuD;EACzD;;AAEA,yDAAyD;;AACzD;IACE,0BAA2B;;IAE3B,UAAU;EACZ;;AAEA;;IAEE,6CAA6C;;IAE7C,4CAA4C;IAC5C,oDAAoD;EACtD;;AAEA,yDAAyD;;AACzD;IACE,UAAU;EACZ;;AAEA;IACE,oBAAoB;EACtB;;AAEA,yDAAyD;;AACzD;IACE,oCAAoC;IACpC,sDAAsD;EACxD;;AAEA,yDAAyD;;AACzD;;IAEE,YAAY;EACd;;AAEA,yDAAyD;;AACzD;IACE,gBAAgB;;IAEhB,UAAU;EACZ;;AAEA;IACE,iCAAiC;EACnC;;AAGF;EACE,gBAAiB;;EAEjB,mBAAmB;AACrB\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n@value checkboxSize: 14px;\\\\n\\\\n.checkbox {\\\\n position: relative;\\\\n\\\\n display: inline-block;\\\\n\\\\n text-align: left;\\\\n\\\\n color: var(--ring-text-color);\\\\n outline: none;\\\\n\\\\n &:hover .cell {\\\\n transition: background-color var(--ring-ease);\\\\n\\\\n border-color: var(--ring-border-hover-color);\\\\n }\\\\n}\\\\n\\\\n.cell {\\\\n position: relative;\\\\n top: -2px;\\\\n\\\\n display: inline-block;\\\\n\\\\n box-sizing: border-box;\\\\n width: checkboxSize;\\\\n height: checkboxSize;\\\\n\\\\n user-select: none;\\\\n transition: border-color var(--ring-ease), background-color var(--ring-ease), box-shadow var(--ring-ease);\\\\n vertical-align: middle;\\\\n pointer-events: none;\\\\n\\\\n border: 1px solid var(--ring-borders-color);\\\\n border-radius: 3px;\\\\n background-color: var(--ring-content-background-color);\\\\n}\\\\n\\\\n.icon.icon {\\\\n position: absolute;\\\\n\\\\n width: calc(unit * 2);\\\\n height: calc(unit * 2);\\\\n\\\\n transition: opacity var(--ring-fast-ease), transform var(--ring-fast-ease);\\\\n\\\\n opacity: 0;\\\\n\\\\n & svg {\\\\n position: absolute;\\\\n top: 0;\\\\n left: 0;\\\\n }\\\\n}\\\\n\\\\n.check {\\\\n composes: icon;\\\\n\\\\n top: calc(unit * -1.5);\\\\n left: 1px;\\\\n}\\\\n\\\\n.minus {\\\\n composes: icon;\\\\n\\\\n top: 1px;\\\\n left: 2px;\\\\n\\\\n opacity: 0;\\\\n}\\\\n\\\\n.input {\\\\n position: absolute;\\\\n top: 0;\\\\n left: 0;\\\\n\\\\n width: 100%;\\\\n height: 100%;\\\\n margin: 0;\\\\n\\\\n cursor: pointer;\\\\n\\\\n opacity: 0;\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n &:checked + .cell,\\\\n &:indeterminate[checked] + .cell,\\\\n &:indeterminate[data-checked=\\\"true\\\"] + .cell {\\\\n border-color: var(--ring-border-hover-color);\\\\n background-color: var(--ring-selected-background-color);\\\\n }\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n &:checked + .cell .check {\\\\n transform: translateY(unit);\\\\n\\\\n opacity: 1;\\\\n }\\\\n\\\\n &:focus + .cell,\\\\n &.focus + .cell {\\\\n transition: background-color var(--ring-ease);\\\\n\\\\n border-color: var(--ring-border-hover-color);\\\\n box-shadow: 0 0 0 1px var(--ring-border-hover-color);\\\\n }\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n &:indeterminate + .cell .minus {\\\\n opacity: 1;\\\\n }\\\\n\\\\n &[disabled] {\\\\n pointer-events: none;\\\\n }\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n &[disabled][disabled] + .cell {\\\\n border-color: var(--ring-line-color);\\\\n background-color: var(--ring-content-background-color);\\\\n }\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n &[disabled]:checked + .cell .check,\\\\n &[disabled]:indeterminate + .cell .minus {\\\\n opacity: 0.5;\\\\n }\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n &:indeterminate:indeterminate + .cell .check {\\\\n transition: none;\\\\n\\\\n opacity: 0;\\\\n }\\\\n\\\\n &[disabled] ~ .label {\\\\n color: var(--ring-disabled-color);\\\\n }\\\\n}\\\\n\\\\n.label {\\\\n margin-left: unit;\\\\n\\\\n line-height: normal;\\\\n}\\\\n',null],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,checkboxSize:\\\"14px\\\",checkbox:\\\"checkbox_e587\\\",cell:\\\"cell_eece\\\",icon:\\\"icon_bc4e\\\",check:\\\"check_e54f icon_bc4e\\\",minus:\\\"minus_f480 icon_bc4e\\\",input:\\\"input_cdb2\\\",focus:\\\"focus_e3f8\\\",label:\\\"label_cdc5\\\"};const c=u},508:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>u});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(643),l=a()(i());l.i(s.Z),l.push([t.id,\\\".dropdown_ceab {\\\\n display: inline-block;\\\\n}\\\\n\\\\n.anchor_f24a.anchor_f24a {\\\\n margin: 0 -3px;\\\\n padding: 0 3px;\\\\n\\\\n font: inherit;\\\\n}\\\\n\\\\n.chevron_b099 {\\\\n margin-left: 2px;\\\\n\\\\n line-height: normal;\\\\n}\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/dropdown/dropdown.css\\\"],names:[],mappings:\\\"AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,cAAc;EACd,cAAc;;EAEd,aAAa;AACf;;AAEA;EACE,gBAAgB;;EAEhB,mBAAmB;AACrB\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n.dropdown {\\\\n display: inline-block;\\\\n}\\\\n\\\\n.anchor.anchor {\\\\n margin: 0 -3px;\\\\n padding: 0 3px;\\\\n\\\\n font: inherit;\\\\n}\\\\n\\\\n.chevron {\\\\n margin-left: 2px;\\\\n\\\\n line-height: normal;\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),l.locals={dropdown:\\\"dropdown_ceab\\\",anchor:\\\"anchor_f24a\\\",chevron:\\\"chevron_b099\\\"};const u=l},1649:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>s});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o)()(i());a.push([t.id,'/* https://readymag.com/artemtiunov/RingUILanguage/colours/ */\\\\n\\\\n/*\\\\nUnit shouldn\\\\'t be CSS custom property because it is not intended to change\\\\nAlso it won\\\\'t form in FF47 https://bugzilla.mozilla.org/show_bug.cgi?id=594933\\\\n*/\\\\n\\\\n.clearfix_e18d::after {\\\\n display: block;\\\\n clear: both;\\\\n\\\\n content: \\\"\\\";\\\\n }\\\\n\\\\n.font_a153 {\\\\n font-family: var(--ring-font-family);\\\\n font-size: var(--ring-font-size);\\\\n line-height: var(--ring-line-height);\\\\n}\\\\n\\\\n.font-lower_b117 {\\\\n\\\\n line-height: var(--ring-line-height-lower);\\\\n}\\\\n\\\\n.font-smaller_d529 {\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n}\\\\n\\\\n.font-smaller-lower_e204 {\\\\n\\\\n line-height: var(--ring-line-height-lowest);\\\\n}\\\\n\\\\n.font-larger-lower_b160 {\\\\n\\\\n font-size: var(--ring-font-size-larger);\\\\n}\\\\n\\\\n.font-larger_f244 {\\\\n\\\\n line-height: var(--ring-line-height-taller);\\\\n}\\\\n\\\\n/* To be used at large sizes */\\\\n/* As close as possible to Helvetica Neue Thin (to replace Gotham) */\\\\n.thin-font_ffb9 {\\\\n font-family: \\\"Segoe UI\\\", \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\\\n font-size: var(--ring-font-size);\\\\n font-weight: 100; /* Renders Helvetica Neue UltraLight on OS X */\\\\n}\\\\n\\\\n.monospace-font_fb21 {\\\\n font-family: var(--ring-font-family-monospace);\\\\n font-size: var(--ring-font-size-smaller);\\\\n}\\\\n\\\\n.ellipsis_ae3b {\\\\n overflow: hidden;\\\\n\\\\n white-space: nowrap;\\\\n text-overflow: ellipsis;\\\\n}\\\\n\\\\n.resetButton_a8cd {\\\\n overflow: visible;\\\\n\\\\n padding: 0;\\\\n\\\\n text-align: left;\\\\n\\\\n color: inherit;\\\\n border: 0;\\\\n\\\\n background-color: transparent;\\\\n\\\\n font: inherit;\\\\n}\\\\n\\\\n.resetButton_a8cd::-moz-focus-inner {\\\\n padding: 0;\\\\n\\\\n border: 0;\\\\n }\\\\n\\\\n/* Note: footer also has top margin which isn\\\\'t taken into account here */\\\\n\\\\n/* Media breakpoints (minimal values) */\\\\n\\\\n/* Media queries */\\\\n',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/global/global.css\\\"],names:[],mappings:\\\"AAAA,6DAA6D;;AAE7D;;;CAGC;;AAIC;IACE,cAAc;IACd,WAAW;;IAEX,WAAW;EACb;;AAGF;EACE,oCAAoC;EACpC,gCAAgC;EAChC,oCAAoC;AACtC;;AAEA;;EAGE,0CAA0C;AAC5C;;AAEA;;EAGE,wCAAwC;AAC1C;;AAEA;;EAGE,2CAA2C;AAC7C;;AAEA;;EAGE,uCAAuC;AACzC;;AAEA;;EAGE,2CAA2C;AAC7C;;AAEA,8BAA8B;AAC9B,oEAAoE;AACpE;EACE,uEAAuE;EACvE,gCAAgC;EAChC,gBAAgB,EAAE,+CAA+C;AACnE;;AAEA;EACE,8CAA8C;EAC9C,wCAAwC;AAC1C;;AAEA;EACE,gBAAgB;;EAEhB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,iBAAiB;;EAEjB,UAAU;;EAEV,gBAAgB;;EAEhB,cAAc;EACd,SAAS;;EAET,6BAA6B;;EAE7B,aAAa;AAOf;;AALE;IACE,UAAU;;IAEV,SAAS;EACX;;AAGF,yEAAyE;;AAGzE,uCAAuC;;AAKvC,kBAAkB\\\",sourcesContent:['/* https://readymag.com/artemtiunov/RingUILanguage/colours/ */\\\\n\\\\n/*\\\\nUnit shouldn\\\\'t be CSS custom property because it is not intended to change\\\\nAlso it won\\\\'t form in FF47 https://bugzilla.mozilla.org/show_bug.cgi?id=594933\\\\n*/\\\\n@value unit: 8px;\\\\n\\\\n.clearfix {\\\\n &::after {\\\\n display: block;\\\\n clear: both;\\\\n\\\\n content: \\\"\\\";\\\\n }\\\\n}\\\\n\\\\n.font {\\\\n font-family: var(--ring-font-family);\\\\n font-size: var(--ring-font-size);\\\\n line-height: var(--ring-line-height);\\\\n}\\\\n\\\\n.font-lower {\\\\n composes: font;\\\\n\\\\n line-height: var(--ring-line-height-lower);\\\\n}\\\\n\\\\n.font-smaller {\\\\n composes: font-lower;\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n}\\\\n\\\\n.font-smaller-lower {\\\\n composes: font-smaller;\\\\n\\\\n line-height: var(--ring-line-height-lowest);\\\\n}\\\\n\\\\n.font-larger-lower {\\\\n composes: font-lower;\\\\n\\\\n font-size: var(--ring-font-size-larger);\\\\n}\\\\n\\\\n.font-larger {\\\\n composes: font-larger-lower;\\\\n\\\\n line-height: var(--ring-line-height-taller);\\\\n}\\\\n\\\\n/* To be used at large sizes */\\\\n/* As close as possible to Helvetica Neue Thin (to replace Gotham) */\\\\n.thin-font {\\\\n font-family: \\\"Segoe UI\\\", \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\\\n font-size: var(--ring-font-size);\\\\n font-weight: 100; /* Renders Helvetica Neue UltraLight on OS X */\\\\n}\\\\n\\\\n.monospace-font {\\\\n font-family: var(--ring-font-family-monospace);\\\\n font-size: var(--ring-font-size-smaller);\\\\n}\\\\n\\\\n.ellipsis {\\\\n overflow: hidden;\\\\n\\\\n white-space: nowrap;\\\\n text-overflow: ellipsis;\\\\n}\\\\n\\\\n.resetButton {\\\\n overflow: visible;\\\\n\\\\n padding: 0;\\\\n\\\\n text-align: left;\\\\n\\\\n color: inherit;\\\\n border: 0;\\\\n\\\\n background-color: transparent;\\\\n\\\\n font: inherit;\\\\n\\\\n &::-moz-focus-inner {\\\\n padding: 0;\\\\n\\\\n border: 0;\\\\n }\\\\n}\\\\n\\\\n/* Note: footer also has top margin which isn\\\\'t taken into account here */\\\\n@value footer-height: calc(unit * 8);\\\\n\\\\n/* Media breakpoints (minimal values) */\\\\n@value breakpoint-small: 640px;\\\\n@value breakpoint-middle: 960px;\\\\n@value breakpoint-large: 1200px;\\\\n\\\\n/* Media queries */\\\\n@value extra-small-screen-media: (max-width: calc(breakpoint-small - 1px));\\\\n@value small-screen-media: (min-width: breakpoint-small) and (max-width: calc(breakpoint-middle - 1px));\\\\n@value middle-screen-media: (min-width: breakpoint-middle) and (max-width: calc(breakpoint-large - 1px));\\\\n@value large-screen-media: (min-width: breakpoint-large);\\\\n'],sourceRoot:\\\"\\\"}]),a.locals={unit:\\\"8px\\\",\\\"footer-height\\\":\\\"64px\\\",\\\"breakpoint-small\\\":\\\"640px\\\",\\\"breakpoint-middle\\\":\\\"960px\\\",\\\"breakpoint-large\\\":\\\"1200px\\\",\\\"extra-small-screen-media\\\":\\\"(max-width: 639px)\\\",\\\"small-screen-media\\\":\\\"(min-width: 640px) and (max-width: 959px)\\\",\\\"middle-screen-media\\\":\\\"(min-width: 960px) and (max-width: 1199px)\\\",\\\"large-screen-media\\\":\\\"(min-width: 1200px)\\\",clearfix:\\\"clearfix_e18d\\\",font:\\\"font_a153\\\",\\\"font-lower\\\":\\\"font-lower_b117 font_a153\\\",\\\"font-smaller\\\":\\\"font-smaller_d529 font-lower_b117 font_a153\\\",\\\"font-smaller-lower\\\":\\\"font-smaller-lower_e204 font-smaller_d529 font-lower_b117 font_a153\\\",\\\"font-larger-lower\\\":\\\"font-larger-lower_b160 font-lower_b117 font_a153\\\",\\\"font-larger\\\":\\\"font-larger_f244 font-larger-lower_b160 font-lower_b117 font_a153\\\",\\\"thin-font\\\":\\\"thin-font_ffb9\\\",\\\"monospace-font\\\":\\\"monospace-font_fb21\\\",ellipsis:\\\"ellipsis_ae3b\\\",resetButton:\\\"resetButton_a8cd\\\"};const s=a},643:(t,e,n)=>{\\\"use strict\\\";n.d(e,{Z:()=>s});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o)()(i());a.push([t.id,'/* stylelint-disable color-no-hex */\\\\n\\\\n:root {\\\\n --ring-unit: 8px;\\\\n\\\\n /* Element */\\\\n --ring-line-color: #dfe5eb;\\\\n --ring-dark-line-color: #475159;\\\\n --ring-borders-color: #b8d1e5;\\\\n --ring-dark-borders-color: #406380;\\\\n --ring-icon-color: var(--ring-borders-color);\\\\n --ring-icon-secondary-color: #999;\\\\n --ring-border-disabled-color: #dbdbdb;\\\\n --ring-icon-disabled-color: #bbb;\\\\n --ring-border-hover-color: #80c6ff;\\\\n --ring-dark-border-hover-color: #70b1e6;\\\\n --ring-icon-hover-color: var(--ring-link-hover-color);\\\\n --ring-main-color: #008eff;\\\\n --ring-main-hover-color: #007ee5;\\\\n --ring-icon-error-color: #db5860;\\\\n --ring-icon-warning-color: #eda200;\\\\n --ring-icon-success-color: #59a869;\\\\n --ring-pale-control-color: #cfdbe5;\\\\n --ring-popup-border-components: 0, 42, 76;\\\\n --ring-popup-border-color: rgba(var(--ring-popup-border-components), 0.1);\\\\n --ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.15);\\\\n --ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);\\\\n --ring-pinned-shadow-color: #737577;\\\\n\\\\n /* Text */\\\\n --ring-search-color: #669ecc;\\\\n --ring-hint-color: #406380;\\\\n --ring-link-color: #0f5b99;\\\\n --ring-link-hover-color: #ff008c;\\\\n --ring-error-color: #c22731;\\\\n --ring-warning-color: #cc8b00;\\\\n --ring-success-color: #1b8833;\\\\n --ring-text-color: #1f2326;\\\\n --ring-dark-text-color: #fff;\\\\n --ring-heading-color: var(--ring-text-color);\\\\n --ring-secondary-color: #737577;\\\\n --ring-dark-secondary-color: #888;\\\\n --ring-disabled-color: #999;\\\\n --ring-dark-disabled-color: #444;\\\\n --ring-dark-active-color: #ccc;\\\\n\\\\n /* Background */\\\\n --ring-content-background-color: #fff;\\\\n --ring-popup-background-color: #fff;\\\\n --ring-sidebar-background-color: #f7f9fa;\\\\n --ring-selected-background-color: #d4edff;\\\\n --ring-hover-background-color: #ebf6ff;\\\\n --ring-dark-selected-background-color: #002a4d;\\\\n --ring-message-background-color: #111314;\\\\n --ring-navigation-background-color: #000;\\\\n --ring-tag-background-color: #e6ecf2;\\\\n --ring-removed-background-color: #ffd5cb;\\\\n --ring-warning-background-color: #faeccd;\\\\n --ring-added-background-color: #bce8bb;\\\\n\\\\n /* Code */\\\\n --ring-code-background-color: var(--ring-content-background-color);\\\\n --ring-code-color: #000;\\\\n --ring-code-comment-color: #707070;\\\\n --ring-code-meta-color: #707070;\\\\n --ring-code-keyword-color: #000080;\\\\n --ring-code-tag-background-color: #efefef;\\\\n --ring-code-tag-color: var(--ring-code-keyword-color);\\\\n --ring-code-tag-font-weight: bold;\\\\n --ring-code-field-color: #660e7a;\\\\n --ring-code-attribute-color: #00f;\\\\n --ring-code-number-color: var(--ring-code-attribute-color);\\\\n --ring-code-string-color: #007a00;\\\\n --ring-code-addition-color: #aadeaa;\\\\n --ring-code-deletion-color: #c8c8c8;\\\\n\\\\n /* Metrics */\\\\n --ring-border-radius: 3px;\\\\n --ring-border-radius-small: 2px;\\\\n --ring-font-size-larger: 14px;\\\\n --ring-font-size: 13px;\\\\n --ring-font-size-smaller: 12px;\\\\n --ring-line-height-taller: 21px;\\\\n --ring-line-height: 20px;\\\\n --ring-line-height-lower: 18px;\\\\n --ring-line-height-lowest: 16px;\\\\n --ring-ease: 0.3s ease-out;\\\\n --ring-fast-ease: 0.15s ease-out;\\\\n --ring-font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\\\\n --ring-font-family-monospace:\\\\n Menlo,\\\\n \\\"Bitstream Vera Sans Mono\\\",\\\\n \\\"Ubuntu Mono\\\",\\\\n Consolas,\\\\n \\\"Courier New\\\",\\\\n Courier,\\\\n monospace;\\\\n\\\\n /* Common z-index-values */\\\\n\\\\n /* Invisible element is an absolutely positioned element which should be below */\\\\n /* all other elements on the page */\\\\n --ring-invisible-element-z-index: -1;\\\\n\\\\n /* z-index for position: fixed elements */\\\\n --ring-fixed-z-index: 1;\\\\n\\\\n /* Elements that should overlay all other elements on the page */\\\\n --ring-overlay-z-index: 5;\\\\n\\\\n /* Alerts should de displayed above overlays */\\\\n --ring-alert-z-index: 6;\\\\n}\\\\n',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/global/variables.css\\\"],names:[],mappings:\\\"AAAA,mCAAmC;;AAEnC;EACE,gBAAgB;;EAEhB,YAAY;EACZ,0BAA0B;EAC1B,+BAA+B;EAC/B,6BAA6B;EAC7B,kCAAkC;EAClC,4CAA4C;EAC5C,iCAAiC;EACjC,qCAAqC;EACrC,gCAAgC;EAChC,kCAAkC;EAClC,uCAAuC;EACvC,qDAAqD;EACrD,0BAA0B;EAC1B,gCAAgC;EAChC,gCAAgC;EAChC,kCAAkC;EAClC,kCAAkC;EAClC,kCAAkC;EAClC,yCAAyC;EACzC,yEAAyE;EACzE,0EAA0E;EAC1E,2EAA2E;EAC3E,mCAAmC;;EAEnC,SAAS;EACT,4BAA4B;EAC5B,0BAA0B;EAC1B,0BAA0B;EAC1B,gCAAgC;EAChC,2BAA2B;EAC3B,6BAA6B;EAC7B,6BAA6B;EAC7B,0BAA0B;EAC1B,4BAA4B;EAC5B,4CAA4C;EAC5C,+BAA+B;EAC/B,iCAAiC;EACjC,2BAA2B;EAC3B,gCAAgC;EAChC,8BAA8B;;EAE9B,eAAe;EACf,qCAAqC;EACrC,mCAAmC;EACnC,wCAAwC;EACxC,yCAAyC;EACzC,sCAAsC;EACtC,8CAA8C;EAC9C,wCAAwC;EACxC,wCAAwC;EACxC,oCAAoC;EACpC,wCAAwC;EACxC,wCAAwC;EACxC,sCAAsC;;EAEtC,SAAS;EACT,kEAAkE;EAClE,uBAAuB;EACvB,kCAAkC;EAClC,+BAA+B;EAC/B,kCAAkC;EAClC,yCAAyC;EACzC,qDAAqD;EACrD,iCAAiC;EACjC,gCAAgC;EAChC,iCAAiC;EACjC,0DAA0D;EAC1D,iCAAiC;EACjC,mCAAmC;EACnC,mCAAmC;;EAEnC,YAAY;EACZ,yBAAyB;EACzB,+BAA+B;EAC/B,6BAA6B;EAC7B,sBAAsB;EACtB,8BAA8B;EAC9B,+BAA+B;EAC/B,wBAAwB;EACxB,8BAA8B;EAC9B,+BAA+B;EAC/B,0BAA0B;EAC1B,gCAAgC;EAChC,+HAAgD;EAChD;;;;;;;aAOW;;EAEX,0BAA0B;;EAE1B,gFAAgF;EAChF,mCAAmC;EACnC,oCAAoC;;EAEpC,yCAAyC;EACzC,uBAAuB;;EAEvB,gEAAgE;EAChE,yBAAyB;;EAEzB,8CAA8C;EAC9C,uBAAuB;AACzB\\\",sourcesContent:['/* stylelint-disable color-no-hex */\\\\n\\\\n:root {\\\\n --ring-unit: 8px;\\\\n\\\\n /* Element */\\\\n --ring-line-color: #dfe5eb;\\\\n --ring-dark-line-color: #475159;\\\\n --ring-borders-color: #b8d1e5;\\\\n --ring-dark-borders-color: #406380;\\\\n --ring-icon-color: var(--ring-borders-color);\\\\n --ring-icon-secondary-color: #999;\\\\n --ring-border-disabled-color: #dbdbdb;\\\\n --ring-icon-disabled-color: #bbb;\\\\n --ring-border-hover-color: #80c6ff;\\\\n --ring-dark-border-hover-color: #70b1e6;\\\\n --ring-icon-hover-color: var(--ring-link-hover-color);\\\\n --ring-main-color: #008eff;\\\\n --ring-main-hover-color: #007ee5;\\\\n --ring-icon-error-color: #db5860;\\\\n --ring-icon-warning-color: #eda200;\\\\n --ring-icon-success-color: #59a869;\\\\n --ring-pale-control-color: #cfdbe5;\\\\n --ring-popup-border-components: 0, 42, 76;\\\\n --ring-popup-border-color: rgba(var(--ring-popup-border-components), 0.1);\\\\n --ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.15);\\\\n --ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);\\\\n --ring-pinned-shadow-color: #737577;\\\\n\\\\n /* Text */\\\\n --ring-search-color: #669ecc;\\\\n --ring-hint-color: #406380;\\\\n --ring-link-color: #0f5b99;\\\\n --ring-link-hover-color: #ff008c;\\\\n --ring-error-color: #c22731;\\\\n --ring-warning-color: #cc8b00;\\\\n --ring-success-color: #1b8833;\\\\n --ring-text-color: #1f2326;\\\\n --ring-dark-text-color: #fff;\\\\n --ring-heading-color: var(--ring-text-color);\\\\n --ring-secondary-color: #737577;\\\\n --ring-dark-secondary-color: #888;\\\\n --ring-disabled-color: #999;\\\\n --ring-dark-disabled-color: #444;\\\\n --ring-dark-active-color: #ccc;\\\\n\\\\n /* Background */\\\\n --ring-content-background-color: #fff;\\\\n --ring-popup-background-color: #fff;\\\\n --ring-sidebar-background-color: #f7f9fa;\\\\n --ring-selected-background-color: #d4edff;\\\\n --ring-hover-background-color: #ebf6ff;\\\\n --ring-dark-selected-background-color: #002a4d;\\\\n --ring-message-background-color: #111314;\\\\n --ring-navigation-background-color: #000;\\\\n --ring-tag-background-color: #e6ecf2;\\\\n --ring-removed-background-color: #ffd5cb;\\\\n --ring-warning-background-color: #faeccd;\\\\n --ring-added-background-color: #bce8bb;\\\\n\\\\n /* Code */\\\\n --ring-code-background-color: var(--ring-content-background-color);\\\\n --ring-code-color: #000;\\\\n --ring-code-comment-color: #707070;\\\\n --ring-code-meta-color: #707070;\\\\n --ring-code-keyword-color: #000080;\\\\n --ring-code-tag-background-color: #efefef;\\\\n --ring-code-tag-color: var(--ring-code-keyword-color);\\\\n --ring-code-tag-font-weight: bold;\\\\n --ring-code-field-color: #660e7a;\\\\n --ring-code-attribute-color: #00f;\\\\n --ring-code-number-color: var(--ring-code-attribute-color);\\\\n --ring-code-string-color: #007a00;\\\\n --ring-code-addition-color: #aadeaa;\\\\n --ring-code-deletion-color: #c8c8c8;\\\\n\\\\n /* Metrics */\\\\n --ring-border-radius: 3px;\\\\n --ring-border-radius-small: 2px;\\\\n --ring-font-size-larger: 14px;\\\\n --ring-font-size: 13px;\\\\n --ring-font-size-smaller: 12px;\\\\n --ring-line-height-taller: 21px;\\\\n --ring-line-height: 20px;\\\\n --ring-line-height-lower: 18px;\\\\n --ring-line-height-lowest: 16px;\\\\n --ring-ease: 0.3s ease-out;\\\\n --ring-fast-ease: 0.15s ease-out;\\\\n --ring-font-family: system-ui, Arial, sans-serif;\\\\n --ring-font-family-monospace:\\\\n Menlo,\\\\n \\\"Bitstream Vera Sans Mono\\\",\\\\n \\\"Ubuntu Mono\\\",\\\\n Consolas,\\\\n \\\"Courier New\\\",\\\\n Courier,\\\\n monospace;\\\\n\\\\n /* Common z-index-values */\\\\n\\\\n /* Invisible element is an absolutely positioned element which should be below */\\\\n /* all other elements on the page */\\\\n --ring-invisible-element-z-index: -1;\\\\n\\\\n /* z-index for position: fixed elements */\\\\n --ring-fixed-z-index: 1;\\\\n\\\\n /* Elements that should overlay all other elements on the page */\\\\n --ring-overlay-z-index: 5;\\\\n\\\\n /* Alerts should de displayed above overlays */\\\\n --ring-alert-z-index: 6;\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),a.locals={};const s=a},3307:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,'.icon_b801 {\\\\n display: inline-block;\\\\n\\\\n fill: currentColor;\\\\n}\\\\n\\\\n.glyph_e066 {\\\\n display: inline-flex;\\\\n\\\\n margin-right: -1px;\\\\n margin-left: -1px;\\\\n\\\\n pointer-events: none;\\\\n}\\\\n\\\\n.glyph_e066[width=\\\"10\\\"] {\\\\n vertical-align: -1px;\\\\n }\\\\n\\\\n.glyph_e066[width=\\\"14\\\"] {\\\\n margin-right: -2px;\\\\n margin-left: 0;\\\\n\\\\n vertical-align: -3px;\\\\n }\\\\n\\\\n.glyph_e066[width=\\\"16\\\"] {\\\\n vertical-align: -3px;\\\\n }\\\\n\\\\n.glyph_e066[width=\\\"20\\\"] {\\\\n vertical-align: -2px;\\\\n }\\\\n\\\\n.glyph_e066.compatibilityMode_ce8a {\\\\n width: 16px;\\\\n height: 16px;\\\\n margin-right: 0;\\\\n margin-left: 0;\\\\n }\\\\n\\\\n/* HACK: This media query hack makes styles applied for WebKit browsers only */\\\\n/* stylelint-disable-next-line media-feature-name-no-vendor-prefix */\\\\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\\\\n .glyph_e066 {\\\\n width: auto; /* Safari size bug workaround, see https://youtrack.jetbrains.com/issue/RG-1983 */\\\\n }\\\\n}\\\\n\\\\n.gray_fe42 {\\\\n color: var(--ring-icon-secondary-color);\\\\n}\\\\n\\\\n.hover_d753 {\\\\n color: var(--ring-icon-hover-color);\\\\n}\\\\n\\\\n.green_f7ce {\\\\n color: var(--ring-icon-success-color);\\\\n}\\\\n\\\\n.magenta_b4d8 {\\\\n color: var(--ring-link-hover-color);\\\\n}\\\\n\\\\n.red_f8c7 {\\\\n color: var(--ring-icon-error-color);\\\\n}\\\\n\\\\n.blue_dc44 {\\\\n color: var(--ring-main-color);\\\\n}\\\\n\\\\n.white_e336 {\\\\n color: var(--ring-dark-text-color);\\\\n}\\\\n\\\\n.loading_ad0f {\\\\n -webkit-animation-name: icon-loading_a785;\\\\n animation-name: icon-loading_a785;\\\\n -webkit-animation-duration: 1200ms;\\\\n animation-duration: 1200ms;\\\\n -webkit-animation-iteration-count: infinite;\\\\n animation-iteration-count: infinite;\\\\n}\\\\n\\\\n@-webkit-keyframes icon-loading_a785 {\\\\n 0% {\\\\n transform: scale(1);\\\\n }\\\\n\\\\n 50% {\\\\n transform: scale(0.9);\\\\n\\\\n opacity: 0.5;\\\\n }\\\\n\\\\n 100% {\\\\n transform: scale(1);\\\\n }\\\\n}\\\\n\\\\n@keyframes icon-loading_a785 {\\\\n 0% {\\\\n transform: scale(1);\\\\n }\\\\n\\\\n 50% {\\\\n transform: scale(0.9);\\\\n\\\\n opacity: 0.5;\\\\n }\\\\n\\\\n 100% {\\\\n transform: scale(1);\\\\n }\\\\n}\\\\n',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/icon/icon.css\\\"],names:[],mappings:\\\"AAIA;EACE,qBAAqB;;EAErB,kBAAkB;AACpB;;AAEA;EACE,oBAAoB;;EAEpB,kBAAkB;EAClB,iBAAiB;;EAEjB,oBAAoB;AA2BtB;;AAzBE;IACE,oBAAoB;EACtB;;AAEA;IACE,kBAAkB;IAClB,cAAc;;IAEd,oBAAoB;EACtB;;AAEA;IACE,oBAAoB;EACtB;;AAEA;IACE,oBAAoB;EACtB;;AAEA;IACE,WAAqB;IACrB,YAAsB;IACtB,eAAe;IACf,cAAc;EAChB;;AAGF,8EAA8E;AAC9E,oEAAoE;AACpE;EACE;IACE,WAAW,EAAE,iFAAiF;EAChG;AACF;;AAEA;EACE,uCAAuC;AACzC;;AAEA;EACE,mCAAmC;AACrC;;AAEA;EACE,qCAAqC;AACvC;;AAEA;EACE,mCAAmC;AACrC;;AAEA;EACE,mCAAmC;AACrC;;AAEA;EACE,6BAA6B;AAC/B;;AAEA;EACE,kCAAkC;AACpC;;AAEA;EACE,yCAA4B;UAA5B,iCAA4B;EAC5B,kCAA0B;UAA1B,0BAA0B;EAC1B,2CAAmC;UAAnC,mCAAmC;AACrC;;AAEA;EACE;IACE,mBAAmB;EACrB;;EAEA;IACE,qBAAqB;;IAErB,YAAY;EACd;;EAEA;IACE,mBAAmB;EACrB;AACF;;AAdA;EACE;IACE,mBAAmB;EACrB;;EAEA;IACE,qBAAqB;;IAErB,YAAY;EACd;;EAEA;IACE,mBAAmB;EACrB;AACF\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n\\\\n.icon {\\\\n display: inline-block;\\\\n\\\\n fill: currentColor;\\\\n}\\\\n\\\\n.glyph {\\\\n display: inline-flex;\\\\n\\\\n margin-right: -1px;\\\\n margin-left: -1px;\\\\n\\\\n pointer-events: none;\\\\n\\\\n &[width=\\\"10\\\"] {\\\\n vertical-align: -1px;\\\\n }\\\\n\\\\n &[width=\\\"14\\\"] {\\\\n margin-right: -2px;\\\\n margin-left: 0;\\\\n\\\\n vertical-align: -3px;\\\\n }\\\\n\\\\n &[width=\\\"16\\\"] {\\\\n vertical-align: -3px;\\\\n }\\\\n\\\\n &[width=\\\"20\\\"] {\\\\n vertical-align: -2px;\\\\n }\\\\n\\\\n &.compatibilityMode {\\\\n width: calc(unit * 2);\\\\n height: calc(unit * 2);\\\\n margin-right: 0;\\\\n margin-left: 0;\\\\n }\\\\n}\\\\n\\\\n/* HACK: This media query hack makes styles applied for WebKit browsers only */\\\\n/* stylelint-disable-next-line media-feature-name-no-vendor-prefix */\\\\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\\\\n .glyph {\\\\n width: auto; /* Safari size bug workaround, see https://youtrack.jetbrains.com/issue/RG-1983 */\\\\n }\\\\n}\\\\n\\\\n.gray {\\\\n color: var(--ring-icon-secondary-color);\\\\n}\\\\n\\\\n.hover {\\\\n color: var(--ring-icon-hover-color);\\\\n}\\\\n\\\\n.green {\\\\n color: var(--ring-icon-success-color);\\\\n}\\\\n\\\\n.magenta {\\\\n color: var(--ring-link-hover-color);\\\\n}\\\\n\\\\n.red {\\\\n color: var(--ring-icon-error-color);\\\\n}\\\\n\\\\n.blue {\\\\n color: var(--ring-main-color);\\\\n}\\\\n\\\\n.white {\\\\n color: var(--ring-dark-text-color);\\\\n}\\\\n\\\\n.loading {\\\\n animation-name: icon-loading;\\\\n animation-duration: 1200ms;\\\\n animation-iteration-count: infinite;\\\\n}\\\\n\\\\n@keyframes icon-loading {\\\\n 0% {\\\\n transform: scale(1);\\\\n }\\\\n\\\\n 50% {\\\\n transform: scale(0.9);\\\\n\\\\n opacity: 0.5;\\\\n }\\\\n\\\\n 100% {\\\\n transform: scale(1);\\\\n }\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,icon:\\\"icon_b801\\\",glyph:\\\"glyph_e066\\\",compatibilityMode:\\\"compatibilityMode_ce8a\\\",gray:\\\"gray_fe42\\\",hover:\\\"hover_d753\\\",green:\\\"green_f7ce\\\",magenta:\\\"magenta_b4d8\\\",red:\\\"red_f8c7\\\",blue:\\\"blue_dc44\\\",white:\\\"white_e336\\\",loading:\\\"loading_ad0f\\\",\\\"icon-loading\\\":\\\"icon-loading_a785\\\"};const c=u},5547:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,'.island_b5c8 {\\\\n display: flex;\\\\n flex-direction: column;\\\\n\\\\n border: 1px solid var(--ring-line-color);\\\\n border-radius: var(--ring-border-radius);\\\\n\\\\n background-color: var(--ring-content-background-color);\\\\n box-shadow: 0 1px 4px var(--ring-popup-shadow-color);\\\\n}\\\\n\\\\n.withTransparentBottomBorder_f8da {\\\\n transition: border-bottom-color 0.1s;\\\\n\\\\n border-bottom: 1px solid transparent;\\\\n}\\\\n\\\\n.header_dcaf {\\\\n\\\\n box-sizing: border-box;\\\\n width: 100%;\\\\n padding: 0 32px;\\\\n\\\\n line-height: 28px;\\\\n}\\\\n\\\\n.withBottomBorder_bf93.withBottomBorder_bf93 {\\\\n border-bottom-color: var(--ring-popup-border-color);\\\\n border-top-left-radius: var(--ring-border-radius);\\\\n border-top-right-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.title_d19f {\\\\n display: block;\\\\n float: left;\\\\n\\\\n margin: 0;\\\\n\\\\n transform-origin: 0 50%;\\\\n word-break: break-word;\\\\n\\\\n color: var(--ring-heading-color);\\\\n\\\\n font-size: inherit;\\\\n\\\\n font-weight: bold;\\\\n}\\\\n\\\\n.narrowIsland_da35 .header_dcaf {\\\\n padding: 0 16px;\\\\n}\\\\n\\\\n.content_ae4a {\\\\n position: relative;\\\\n\\\\n display: flex;\\\\n overflow: auto;\\\\n\\\\n width: 100%;\\\\n -webkit-overflow-scrolling: touch;\\\\n}\\\\n\\\\n.scrollableWrapper_ff34 {\\\\n overflow: auto;\\\\n\\\\n width: 100%;\\\\n padding: 16px 32px;\\\\n}\\\\n\\\\n.scrollableWrapper_ff34:focus:not(.focus-visible) {\\\\n outline: none;\\\\n }\\\\n\\\\n.narrowIsland_da35 .scrollableWrapper_ff34 {\\\\n padding: 16px 16px;\\\\n}\\\\n\\\\n.withoutPaddings_e5bb .scrollableWrapper_ff34 {\\\\n padding: 0;\\\\n}\\\\n\\\\n.contentWithTopFade_d219::before {\\\\n position: absolute;\\\\n z-index: var(--ring-fixed-z-index);\\\\n left: 0;\\\\n\\\\n display: block;\\\\n\\\\n width: 100%;\\\\n height: 24px;\\\\n\\\\n content: \\\"\\\";\\\\n\\\\n pointer-events: none;\\\\n\\\\n opacity: 0.8;\\\\n\\\\n background: linear-gradient(to top, rgba(255, 255, 255, 0), var(--ring-content-background-color));\\\\n}\\\\n\\\\n.contentWithTopFade_d219:first-child::before {\\\\n border-top-left-radius: var(--ring-border-radius);\\\\n border-top-right-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.contentWithBottomFade_b0cb::after {\\\\n position: absolute;\\\\n bottom: 0;\\\\n left: 0;\\\\n\\\\n display: block;\\\\n\\\\n width: 100%;\\\\n height: 24px;\\\\n\\\\n content: \\\"\\\";\\\\n pointer-events: none;\\\\n\\\\n opacity: 0.8;\\\\n border-bottom-right-radius: var(--ring-border-radius);\\\\n border-bottom-left-radius: var(--ring-border-radius);\\\\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ring-content-background-color));\\\\n}\\\\n',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/island/island.css\\\"],names:[],mappings:\\\"AAMA;EACE,aAAa;EACb,sBAAsB;;EAEtB,wCAAwC;EACxC,wCAAwC;;EAExC,sDAAsD;EACtD,oDAAoD;AACtD;;AAEA;EACE,oCAAoC;;EAEpC,oCAAoC;AACtC;;AAEA;;EAGE,sBAAsB;EACtB,WAAW;EACX,eAAyB;;EAEzB,iBAAiB;AACnB;;AAEA;EACE,mDAAmD;EACnD,iDAAiD;EACjD,kDAAkD;AACpD;;AAEA;EACE,cAAc;EACd,WAAW;;EAEX,SAAS;;EAET,uBAAuB;EACvB,sBAAsB;;EAEtB,gCAAgC;;EAEhC,kBAAkB;;EAElB,iBAAiB;AACnB;;AAEA;EACE,eAAyB;AAC3B;;AAEA;EACE,kBAAkB;;EAElB,aAAa;EACb,cAAc;;EAEd,WAAW;EACX,iCAAiC;AACnC;;AAEA;EACE,cAAc;;EAEd,WAAW;EACX,kBAAsC;AAKxC;;AAHE;IACE,aAAa;EACf;;AAGF;EACE,kBAAsC;AACxC;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,kBAAkB;EAClB,kCAAkC;EAClC,OAAO;;EAEP,cAAc;;EAEd,WAAW;EACX,YAAsB;;EAEtB,WAAW;;EAEX,oBAAoB;;EAEpB,YAAY;;EAEZ,iGAAgE;AAClE;;AAEA;EACE,iDAAiD;EACjD,kDAAkD;AACpD;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,OAAO;;EAEP,cAAc;;EAEd,WAAW;EACX,YAAsB;;EAEtB,WAAW;EACX,oBAAoB;;EAEpB,YAAY;EACZ,qDAAqD;EACrD,oDAAoD;EACpD,oGAAmE;AACrE\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n@value gradientStart: rgba(255, 255, 255, 0);\\\\n@value gradientStop: var(--ring-content-background-color);\\\\n\\\\n.island {\\\\n display: flex;\\\\n flex-direction: column;\\\\n\\\\n border: 1px solid var(--ring-line-color);\\\\n border-radius: var(--ring-border-radius);\\\\n\\\\n background-color: var(--ring-content-background-color);\\\\n box-shadow: 0 1px 4px var(--ring-popup-shadow-color);\\\\n}\\\\n\\\\n.withTransparentBottomBorder {\\\\n transition: border-bottom-color 0.1s;\\\\n\\\\n border-bottom: 1px solid transparent;\\\\n}\\\\n\\\\n.header {\\\\n composes: withTransparentBottomBorder;\\\\n\\\\n box-sizing: border-box;\\\\n width: 100%;\\\\n padding: 0 calc(unit * 4);\\\\n\\\\n line-height: 28px;\\\\n}\\\\n\\\\n.withBottomBorder.withBottomBorder {\\\\n border-bottom-color: var(--ring-popup-border-color);\\\\n border-top-left-radius: var(--ring-border-radius);\\\\n border-top-right-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.title {\\\\n display: block;\\\\n float: left;\\\\n\\\\n margin: 0;\\\\n\\\\n transform-origin: 0 50%;\\\\n word-break: break-word;\\\\n\\\\n color: var(--ring-heading-color);\\\\n\\\\n font-size: inherit;\\\\n\\\\n font-weight: bold;\\\\n}\\\\n\\\\n.narrowIsland .header {\\\\n padding: 0 calc(unit * 2);\\\\n}\\\\n\\\\n.content {\\\\n position: relative;\\\\n\\\\n display: flex;\\\\n overflow: auto;\\\\n\\\\n width: 100%;\\\\n -webkit-overflow-scrolling: touch;\\\\n}\\\\n\\\\n.scrollableWrapper {\\\\n overflow: auto;\\\\n\\\\n width: 100%;\\\\n padding: calc(unit * 2) calc(unit * 4);\\\\n\\\\n &:focus:not(:global(.focus-visible)) {\\\\n outline: none;\\\\n }\\\\n}\\\\n\\\\n.narrowIsland .scrollableWrapper {\\\\n padding: calc(unit * 2) calc(unit * 2);\\\\n}\\\\n\\\\n.withoutPaddings .scrollableWrapper {\\\\n padding: 0;\\\\n}\\\\n\\\\n.contentWithTopFade::before {\\\\n position: absolute;\\\\n z-index: var(--ring-fixed-z-index);\\\\n left: 0;\\\\n\\\\n display: block;\\\\n\\\\n width: 100%;\\\\n height: calc(unit * 3);\\\\n\\\\n content: \\\"\\\";\\\\n\\\\n pointer-events: none;\\\\n\\\\n opacity: 0.8;\\\\n\\\\n background: linear-gradient(to top, gradientStart, gradientStop);\\\\n}\\\\n\\\\n.contentWithTopFade:first-child::before {\\\\n border-top-left-radius: var(--ring-border-radius);\\\\n border-top-right-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.contentWithBottomFade::after {\\\\n position: absolute;\\\\n bottom: 0;\\\\n left: 0;\\\\n\\\\n display: block;\\\\n\\\\n width: 100%;\\\\n height: calc(unit * 3);\\\\n\\\\n content: \\\"\\\";\\\\n pointer-events: none;\\\\n\\\\n opacity: 0.8;\\\\n border-bottom-right-radius: var(--ring-border-radius);\\\\n border-bottom-left-radius: var(--ring-border-radius);\\\\n background: linear-gradient(to bottom, gradientStart, gradientStop);\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,gradientStart:\\\"rgba(255, 255, 255, 0)\\\",gradientStop:\\\"var(--ring-content-background-color)\\\",island:\\\"island_b5c8\\\",withTransparentBottomBorder:\\\"withTransparentBottomBorder_f8da\\\",header:\\\"header_dcaf withTransparentBottomBorder_f8da\\\",withBottomBorder:\\\"withBottomBorder_bf93\\\",title:\\\"title_d19f\\\",narrowIsland:\\\"narrowIsland_da35\\\",content:\\\"content_ae4a\\\",scrollableWrapper:\\\"scrollableWrapper_ff34\\\",withoutPaddings:\\\"withoutPaddings_e5bb\\\",contentWithTopFade:\\\"contentWithTopFade_d219\\\",contentWithBottomFade:\\\"contentWithBottomFade_b0cb\\\"};const c=u},1451:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(250),l=n(643),u=a()(i());u.i(l.Z),u.i(s.Z,\\\"\\\",!0),u.push([t.id,\\\"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_ad51:hover {\\\\n transition: none;\\\\n\\\\n color: var(--ring-link-hover-color);\\\\n }}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_ad51:hover {\\\\n text-decoration: none;\\\\n }}\\\\n\\\\n.link_ad51 { /* To override link stiles inside alert */\\\\n\\\\n cursor: pointer;\\\\n transition: color var(--ring-fast-ease);\\\\n\\\\n color: var(--ring-link-color);\\\\n}\\\\n\\\\n.link_ad51 {\\\\n text-decoration: none;\\\\n }\\\\n\\\\n.link_ad51.hover_f440 {\\\\n transition: none;\\\\n\\\\n color: var(--ring-link-hover-color);\\\\n }\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_ad51:hover .inner_ddfc {\\\\n border-width: 0;\\\\n border-bottom: 2px solid;\\\\n border-image-source: linear-gradient(currentcolor 50%, transparent 50%);\\\\n border-image-slice: 0 0 100% 0;\\\\n }}\\\\n\\\\n.link_ad51.active_a80a {\\\\n color: inherit;\\\\n }\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_ad51.compatibilityUnderlineMode_a7e8:hover {\\\\n text-decoration: underline;\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n }\\\\n .link_ad51.compatibilityUnderlineMode_a7e8:hover .inner_ddfc {\\\\n border: none;\\\\n }}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_ad51.pseudo_d67d:hover {\\\\n text-decoration: none;\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n }\\\\n .link_ad51.pseudo_d67d:hover .inner_ddfc {\\\\n border: none;\\\\n }}\\\\n\\\\n.link_ad51 {\\\\n\\\\n outline: none;\\\\n }\\\\n\\\\n.link_ad51.focus-visible {\\\\n box-shadow: 0 0 0 2px var(--ring-border-hover-color);\\\\n }\\\\n\\\\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_ad51:hover .inner_ddfc {\\\\n border-bottom-width: 1px;\\\\n }}\\\\n}\\\\n\\\\n.text_d00d {\\\\n border-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.inherit_d2fa:not(:hover) {\\\\n color: inherit;\\\\n}}\\\\n\\\\n.pseudo_d67d {\\\\n margin: 0;\\\\n padding: 0;\\\\n\\\\n text-align: left;\\\\n\\\\n border: 0;\\\\n\\\\n background: transparent;\\\\n\\\\n font: inherit;\\\\n}\\\\n\\\\n.pseudo_d67d::-moz-focus-inner {\\\\n padding: 0;\\\\n\\\\n border: 0;\\\\n }\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"<no source>\\\",\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/link/link.css\\\"],names:[],mappings:\\\"AAAA,wGAAA;IAAA,iBAAA;;IAAA,oCAAA;GAAA,CAAA;;AAAA,wGAAA;IAAA,sBAAA;GAAA,CAAA;;ACEA,aAC4C,yCAAyC;;EAEnF,eAAe;EACf,uCAAuC;;EAEvC,6BAA6B;AAgD/B;;AA9CE;IAEE,qBAAqB;EACvB;;AAEA;IAEE,gBAAgB;;IAEhB,mCAAmC;EACrC;;ADpBF,wGAAA;IAAA,gBAAA;IAAA,yBAAA;IAAA,wEAAA;IAAA,+BAAA;GAAA,CAAA;;AC6BE;IACE,cAAc;EAChB;;AD/BF,wGAAA;IAAA,2BAAA;;IAAA,0DAAA;GAAA;IAAA;MAAA,aAAA;KAAA,CAAA;;AAAA,wGAAA;IAAA,sBAAA;;IAAA,0DAAA;GAAA;IAAA;MAAA,aAAA;KAAA,CAAA;;ACUE;;EAyCA,aAAa;EAtCb;;AAwCA;IACE,oDAAoD;EACtD;;AAGF,qED1DA,wGAAA;IAAA,yBAAA;GAAA,CAAA;AC8DA;;AAEA;EACE,wCAAwC;AAC1C;;ADlEA,wGAAA;EAAA,eAAA;CAAA,CAAA;;ACwEA;EACE,SAAS;EACT,UAAU;;EAEV,gBAAgB;;EAEhB,SAAS;;EAET,uBAAuB;;EAEvB,aAAa;AAOf;;AALE;IACE,UAAU;;IAEV,SAAS;EACX\\\",sourcesContent:[null,'@import \\\"../global/variables.css\\\";\\\\n\\\\n.link {\\\\n composes: link from \\\"../alert/alert.css\\\"; /* To override link stiles inside alert */\\\\n\\\\n cursor: pointer;\\\\n transition: color var(--ring-fast-ease);\\\\n\\\\n color: var(--ring-link-color);\\\\n\\\\n &,\\\\n &:hover {\\\\n text-decoration: none;\\\\n }\\\\n\\\\n &:hover,\\\\n &.hover {\\\\n transition: none;\\\\n\\\\n color: var(--ring-link-hover-color);\\\\n }\\\\n\\\\n &:hover .inner {\\\\n border-width: 0;\\\\n border-bottom: 2px solid;\\\\n border-image-source: linear-gradient(currentcolor 50%, transparent 50%);\\\\n border-image-slice: 0 0 100% 0;\\\\n }\\\\n\\\\n &.active {\\\\n color: inherit;\\\\n }\\\\n\\\\n &.compatibilityUnderlineMode:hover {\\\\n text-decoration: underline;\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n & .inner {\\\\n border: none;\\\\n }\\\\n }\\\\n\\\\n &.pseudo:hover {\\\\n text-decoration: none;\\\\n\\\\n /* stylelint-disable-next-line selector-max-specificity */\\\\n & .inner {\\\\n border: none;\\\\n }\\\\n }\\\\n\\\\n outline: none;\\\\n\\\\n &:global(.focus-visible) {\\\\n box-shadow: 0 0 0 2px var(--ring-border-hover-color);\\\\n }\\\\n}\\\\n\\\\n@media (min-resolution: 2dppx) {\\\\n .link:hover .inner {\\\\n border-bottom-width: 1px;\\\\n }\\\\n}\\\\n\\\\n.text {\\\\n border-radius: var(--ring-border-radius);\\\\n}\\\\n\\\\n.inherit:not(:hover) {\\\\n color: inherit;\\\\n}\\\\n\\\\n.pseudo {\\\\n margin: 0;\\\\n padding: 0;\\\\n\\\\n text-align: left;\\\\n\\\\n border: 0;\\\\n\\\\n background: transparent;\\\\n\\\\n font: inherit;\\\\n\\\\n &::-moz-focus-inner {\\\\n padding: 0;\\\\n\\\\n border: 0;\\\\n }\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),u.locals={link:\\\"link_ad51 \\\"+s.Z.locals.link,hover:\\\"hover_f440\\\",inner:\\\"inner_ddfc\\\",active:\\\"active_a80a\\\",compatibilityUnderlineMode:\\\"compatibilityUnderlineMode_a7e8\\\",pseudo:\\\"pseudo_d67d\\\",text:\\\"text_d00d\\\",inherit:\\\"inherit_d2fa\\\"};const c=u},6918:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,\\\".list_aa07 {\\\\n position: relative;\\\\n\\\\n z-index: 1;\\\\n\\\\n border-radius: var(--ring-border-radius);\\\\n\\\\n line-height: normal;\\\\n}\\\\n\\\\n.simpleInner_ce4a {\\\\n overflow: auto;\\\\n}\\\\n\\\\n.scrolling_bd9b {\\\\n pointer-events: none;\\\\n}\\\\n\\\\n.separator_c793 {\\\\n display: block;\\\\n\\\\n min-height: 8px;\\\\n\\\\n margin-top: 8px;\\\\n padding: 0 16px 1px;\\\\n\\\\n text-align: right;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n border-top: 1px solid var(--ring-line-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n line-height: var(--ring-line-height-lower);\\\\n}\\\\n\\\\n.separator_first_eef7 {\\\\n margin-top: 0;\\\\n padding-top: 0;\\\\n\\\\n border: none;\\\\n}\\\\n\\\\n.item_fe70 {\\\\n display: block;\\\\n\\\\n box-sizing: border-box;\\\\n\\\\n width: 100%;\\\\n\\\\n text-align: left;\\\\n vertical-align: bottom;\\\\n white-space: nowrap;\\\\n text-decoration: none;\\\\n\\\\n outline: none;\\\\n\\\\n font-size: var(--ring-font-size);\\\\n line-height: 24px;\\\\n}\\\\n\\\\n.item_fe70.item_fe70 {\\\\n padding: 3px 16px 5px;\\\\n}\\\\n\\\\n.itemContainer_a34d {\\\\n position: relative;\\\\n}\\\\n\\\\n.compact_c29b {\\\\n line-height: 16px;\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.error_f88b:hover {\\\\n color: var(--ring-error-color);\\\\n }}\\\\n\\\\n.error_f88b {\\\\n cursor: default;\\\\n\\\\n /* Override ring-link */\\\\n}\\\\n\\\\n.error_f88b,\\\\n .error_f88b:focus,\\\\n .error_f88b:visited {\\\\n color: var(--ring-error-color);\\\\n }\\\\n\\\\n.add_a780 {\\\\n padding: 8px 16px;\\\\n\\\\n line-height: 32px;\\\\n}\\\\n\\\\n.top_ed39 {\\\\n display: flex;\\\\n align-items: baseline;\\\\n flex-direction: row;\\\\n}\\\\n\\\\n.left_e516 {\\\\n align-self: center;\\\\n flex-shrink: 0;\\\\n}\\\\n\\\\n.label_c9d1 {\\\\n overflow: hidden;\\\\n flex-grow: 1;\\\\n flex-shrink: 1;\\\\n\\\\n text-align: left;\\\\n white-space: nowrap;\\\\n text-overflow: ellipsis;\\\\n}\\\\n\\\\n[dir=rtl] .label_c9d1 {\\\\n text-align: right;\\\\n direction: ltr;\\\\n}\\\\n\\\\n.description_a308 {\\\\n overflow: hidden;\\\\n flex-shrink: 100;\\\\n\\\\n padding-left: 8px;\\\\n\\\\n text-align: right;\\\\n white-space: nowrap;\\\\n text-overflow: ellipsis;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n font-weight: 400;\\\\n line-height: var(--ring-line-height-lowest);\\\\n}\\\\n\\\\n.right_ce82 {\\\\n display: flex;\\\\n align-items: center;\\\\n align-self: center;\\\\n flex-direction: row;\\\\n flex-shrink: 0;\\\\n}\\\\n\\\\n.details_b0e4 {\\\\n margin-bottom: 6px;\\\\n\\\\n white-space: normal;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n line-height: var(--ring-line-height-lowest);\\\\n}\\\\n\\\\n.padded_d625 {\\\\n margin-left: 20px;\\\\n}\\\\n\\\\n/* Override :last-child */\\\\n.hint_ac00.hint_ac00 {\\\\n margin-bottom: 0;\\\\n\\\\n border-top: 1px solid var(--ring-line-color);\\\\n background-color: var(--ring-sidebar-background-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n}\\\\n\\\\n.action_cadf {\\\\n cursor: pointer;\\\\n\\\\n color: var(--ring-text-color);\\\\n}\\\\n\\\\n/* override link */\\\\n.actionLink_a3bc.actionLink_a3bc {\\\\n transition: none;\\\\n}\\\\n\\\\n.hover_fa6b:not(.error_f88b) {\\\\n background-color: var(--ring-selected-background-color);\\\\n}\\\\n\\\\n.icon_c6a7 {\\\\n display: inline-block;\\\\n\\\\n width: 20px;\\\\n height: 20px;\\\\n margin-left: 16px;\\\\n\\\\n background-repeat: no-repeat;\\\\n background-position: center;\\\\n\\\\n background-size: contain;\\\\n}\\\\n\\\\n.highlight_d886 {\\\\n color: var(--ring-link-hover-color);\\\\n}\\\\n\\\\n.service_a3c6 {\\\\n color: var(--ring-secondary-color);\\\\n}\\\\n\\\\n.glyph_bbf8 {\\\\n float: left;\\\\n\\\\n width: 20px;\\\\n margin-right: 8px;\\\\n\\\\n color: var(--ring-icon-secondary-color);\\\\n}\\\\n\\\\n.avatar_ac93 {\\\\n\\\\n top: 0;\\\\n}\\\\n\\\\n.rightGlyph_eef7 {\\\\n\\\\n float: right;\\\\n\\\\n margin-right: 0;\\\\n margin-left: 16px;\\\\n}\\\\n\\\\n.checkboxContainer_cc10 {\\\\n position: absolute;\\\\n top: 7px;\\\\n left: 19px;\\\\n\\\\n width: 20px;\\\\n height: 20px;\\\\n margin-right: 8px;\\\\n}\\\\n\\\\n.compact_c29b .checkboxContainer_cc10 {\\\\n top: 0;\\\\n\\\\n width: 16px;\\\\n height: 16px;\\\\n}\\\\n\\\\n.title_c419 {\\\\n display: block;\\\\n\\\\n margin-top: 10px;\\\\n margin-bottom: 6px;\\\\n padding: 8px 16px 0;\\\\n\\\\n text-align: left;\\\\n}\\\\n\\\\n[dir=rtl] .title_c419 {\\\\n text-align: right;\\\\n direction: ltr;\\\\n}\\\\n\\\\n.title_first_d65e {\\\\n margin-top: 0;\\\\n}\\\\n\\\\n.text_f039 {\\\\n letter-spacing: 1.5px;\\\\n text-transform: uppercase;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n}\\\\n\\\\n.fade_a68f {\\\\n position: absolute;\\\\n bottom: 0;\\\\n\\\\n width: 100%;\\\\n height: 24px;\\\\n\\\\n pointer-events: none;\\\\n\\\\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ring-content-background-color));\\\\n}\\\\n\\\\n.disabled_a49b {\\\\n pointer-events: none;\\\\n\\\\n color: var(--ring-disabled-color);\\\\n}\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/list/list.css\\\",\\\"<no source>\\\"],names:[],mappings:\\\"AAKA;EACE,kBAAkB;;EAElB,UAAU;;EAEV,wCAAwC;;EAExC,mBAAmB;AACrB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,cAAc;;EAEd,eAAuB;;EAEvB,eAAuB;EACvB,mBAA6B;;EAE7B,iBAAiB;;EAEjB,kCAAkC;EAClC,4CAA4C;;EAE5C,wCAAwC;EACxC,0CAA0C;AAC5C;;AAEA;EACE,aAAa;EACb,cAAc;;EAEd,YAAY;AACd;;AAEA;EACE,cAAc;;EAEd,sBAAsB;;EAEtB,WAAW;;EAEX,gBAAgB;EAChB,sBAAsB;EACtB,mBAAmB;EACnB,qBAAqB;;EAErB,aAAa;;EAEb,gCAAgC;EAChC,iBAA2B;AAC7B;;AAEA;EACE,qBAA+B;AACjC;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,iBAA2B;AAC7B;;AC3EA,wGAAA;IAAA,+BAAA;GAAA,CAAA;;AD6EA;EACE,eAAe;;EAEf,uBAAuB;AAOzB;;AANE;;;IAIE,8BAA8B;EAChC;;AAGF;EACE,iBAA4B;;EAE5B,iBAA2B;AAC7B;;AAEA;EACE,aAAa;EACb,qBAAqB;EACrB,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;EAClB,cAAc;AAChB;;AAEA;EACE,gBAAgB;EAChB,YAAY;EACZ,cAAc;;EAEd,gBAAgB;EAChB,mBAAmB;EACnB,uBAAuB;AAMzB;;AAbA;IAUI,iBAAiB;IACjB,cAAc;AAElB;;AAEA;EACE,gBAAgB;EAChB,gBAAgB;;EAEhB,iBAAkB;;EAElB,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;;EAEvB,kCAAkC;;EAElC,wCAAwC;EACxC,gBAAgB;EAChB,2CAA2C;AAC7C;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,kBAAkB;EAClB,mBAAmB;EACnB,cAAc;AAChB;;AAEA;EACE,kBAAkB;;EAElB,mBAAmB;;EAEnB,kCAAkC;;EAElC,wCAAwC;EACxC,2CAA2C;AAC7C;;AAEA;EACE,iBAAiB;AACnB;;AAEA,yBAAyB;AACzB;EACE,gBAAgB;;EAEhB,4CAA4C;EAC5C,sDAAsD;;EAEtD,wCAAwC;AAC1C;;AAEA;EACE,eAAe;;EAEf,6BAA6B;AAC/B;;AAEA,kBAAkB;AAClB;EACE,gBAAgB;AAClB;;AAEA;EACE,uDAAuD;AACzD;;AAEA;EACE,qBAAqB;;EAErB,WAAW;EACX,YAAY;EACZ,iBAA2B;;EAE3B,4BAA4B;EAC5B,2BAA2B;;EAE3B,wBAAwB;AAC1B;;AAEA;EACE,mCAAmC;AACrC;;AAEA;EACE,kCAAkC;AACpC;;AAEA;EACE,WAAW;;EAEX,WAAW;EACX,iBAAkB;;EAElB,uCAAuC;AACzC;;AAEA;;EAGE,MAAM;AACR;;AAEA;;EAGE,YAAY;;EAEZ,eAAe;EACf,iBAA2B;AAC7B;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,UAAU;;EAEV,WAAW;EACX,YAAY;EACZ,iBAAkB;AACpB;;AAEA;EACE,MAAM;;EAEN,WAAqB;EACrB,YAAsB;AACxB;;AAEA;EACE,cAAc;;EAEd,gBAAgB;EAChB,kBAAkB;EAClB,mBAAqC;;EAErC,gBAAgB;AAMlB;;AAbA;IAUI,iBAAiB;IACjB,cAAc;AAElB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,qBAAqB;EACrB,yBAAyB;;EAEzB,kCAAkC;;EAElC,wCAAwC;AAC1C;;AAEA;EACE,kBAAkB;EAClB,SAAS;;EAET,WAAW;EACX,YAAsB;;EAEtB,oBAAoB;;EAEpB,oGAAoG;AACtG;;AAEA;EACE,oBAAoB;;EAEpB,iCAAiC;AACnC\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n@value listSpacing: unit;\\\\n\\\\n.list {\\\\n position: relative;\\\\n\\\\n z-index: 1;\\\\n\\\\n border-radius: var(--ring-border-radius);\\\\n\\\\n line-height: normal;\\\\n}\\\\n\\\\n.simpleInner {\\\\n overflow: auto;\\\\n}\\\\n\\\\n.scrolling {\\\\n pointer-events: none;\\\\n}\\\\n\\\\n.separator {\\\\n display: block;\\\\n\\\\n min-height: listSpacing;\\\\n\\\\n margin-top: listSpacing;\\\\n padding: 0 calc(unit * 2) 1px;\\\\n\\\\n text-align: right;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n border-top: 1px solid var(--ring-line-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n line-height: var(--ring-line-height-lower);\\\\n}\\\\n\\\\n.separator_first {\\\\n margin-top: 0;\\\\n padding-top: 0;\\\\n\\\\n border: none;\\\\n}\\\\n\\\\n.item {\\\\n display: block;\\\\n\\\\n box-sizing: border-box;\\\\n\\\\n width: 100%;\\\\n\\\\n text-align: left;\\\\n vertical-align: bottom;\\\\n white-space: nowrap;\\\\n text-decoration: none;\\\\n\\\\n outline: none;\\\\n\\\\n font-size: var(--ring-font-size);\\\\n line-height: calc(unit * 3);\\\\n}\\\\n\\\\n.item.item {\\\\n padding: 3px calc(unit * 2) 5px;\\\\n}\\\\n\\\\n.itemContainer {\\\\n position: relative;\\\\n}\\\\n\\\\n.compact {\\\\n line-height: calc(unit * 2);\\\\n}\\\\n\\\\n.error {\\\\n cursor: default;\\\\n\\\\n /* Override ring-link */\\\\n &,\\\\n &:hover,\\\\n &:focus,\\\\n &:visited {\\\\n color: var(--ring-error-color);\\\\n }\\\\n}\\\\n\\\\n.add {\\\\n padding: unit calc(2 * unit);\\\\n\\\\n line-height: calc(4 * unit);\\\\n}\\\\n\\\\n.top {\\\\n display: flex;\\\\n align-items: baseline;\\\\n flex-direction: row;\\\\n}\\\\n\\\\n.left {\\\\n align-self: center;\\\\n flex-shrink: 0;\\\\n}\\\\n\\\\n.label {\\\\n overflow: hidden;\\\\n flex-grow: 1;\\\\n flex-shrink: 1;\\\\n\\\\n text-align: left;\\\\n white-space: nowrap;\\\\n text-overflow: ellipsis;\\\\n\\\\n @nest [dir=rtl] & {\\\\n text-align: right;\\\\n direction: ltr;\\\\n }\\\\n}\\\\n\\\\n.description {\\\\n overflow: hidden;\\\\n flex-shrink: 100;\\\\n\\\\n padding-left: unit;\\\\n\\\\n text-align: right;\\\\n white-space: nowrap;\\\\n text-overflow: ellipsis;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n font-weight: 400;\\\\n line-height: var(--ring-line-height-lowest);\\\\n}\\\\n\\\\n.right {\\\\n display: flex;\\\\n align-items: center;\\\\n align-self: center;\\\\n flex-direction: row;\\\\n flex-shrink: 0;\\\\n}\\\\n\\\\n.details {\\\\n margin-bottom: 6px;\\\\n\\\\n white-space: normal;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n line-height: var(--ring-line-height-lowest);\\\\n}\\\\n\\\\n.padded {\\\\n margin-left: 20px;\\\\n}\\\\n\\\\n/* Override :last-child */\\\\n.hint.hint {\\\\n margin-bottom: 0;\\\\n\\\\n border-top: 1px solid var(--ring-line-color);\\\\n background-color: var(--ring-sidebar-background-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n}\\\\n\\\\n.action {\\\\n cursor: pointer;\\\\n\\\\n color: var(--ring-text-color);\\\\n}\\\\n\\\\n/* override link */\\\\n.actionLink.actionLink {\\\\n transition: none;\\\\n}\\\\n\\\\n.hover:not(.error) {\\\\n background-color: var(--ring-selected-background-color);\\\\n}\\\\n\\\\n.icon {\\\\n display: inline-block;\\\\n\\\\n width: 20px;\\\\n height: 20px;\\\\n margin-left: calc(unit * 2);\\\\n\\\\n background-repeat: no-repeat;\\\\n background-position: center;\\\\n\\\\n background-size: contain;\\\\n}\\\\n\\\\n.highlight {\\\\n color: var(--ring-link-hover-color);\\\\n}\\\\n\\\\n.service {\\\\n color: var(--ring-secondary-color);\\\\n}\\\\n\\\\n.glyph {\\\\n float: left;\\\\n\\\\n width: 20px;\\\\n margin-right: unit;\\\\n\\\\n color: var(--ring-icon-secondary-color);\\\\n}\\\\n\\\\n.avatar {\\\\n composes: glyph;\\\\n\\\\n top: 0;\\\\n}\\\\n\\\\n.rightGlyph {\\\\n composes: glyph;\\\\n\\\\n float: right;\\\\n\\\\n margin-right: 0;\\\\n margin-left: calc(unit * 2);\\\\n}\\\\n\\\\n.checkboxContainer {\\\\n position: absolute;\\\\n top: 7px;\\\\n left: 19px;\\\\n\\\\n width: 20px;\\\\n height: 20px;\\\\n margin-right: unit;\\\\n}\\\\n\\\\n.compact .checkboxContainer {\\\\n top: 0;\\\\n\\\\n width: calc(unit * 2);\\\\n height: calc(unit * 2);\\\\n}\\\\n\\\\n.title {\\\\n display: block;\\\\n\\\\n margin-top: 10px;\\\\n margin-bottom: 6px;\\\\n padding: listSpacing calc(unit * 2) 0;\\\\n\\\\n text-align: left;\\\\n\\\\n @nest [dir=rtl] & {\\\\n text-align: right;\\\\n direction: ltr;\\\\n }\\\\n}\\\\n\\\\n.title_first {\\\\n margin-top: 0;\\\\n}\\\\n\\\\n.text {\\\\n letter-spacing: 1.5px;\\\\n text-transform: uppercase;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n\\\\n font-size: var(--ring-font-size-smaller);\\\\n}\\\\n\\\\n.fade {\\\\n position: absolute;\\\\n bottom: 0;\\\\n\\\\n width: 100%;\\\\n height: calc(unit * 3);\\\\n\\\\n pointer-events: none;\\\\n\\\\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ring-content-background-color));\\\\n}\\\\n\\\\n.disabled {\\\\n pointer-events: none;\\\\n\\\\n color: var(--ring-disabled-color);\\\\n}\\\\n',null],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,listSpacing:\\\"8px\\\",list:\\\"list_aa07\\\",simpleInner:\\\"simpleInner_ce4a\\\",scrolling:\\\"scrolling_bd9b\\\",separator:\\\"separator_c793\\\",separator_first:\\\"separator_first_eef7\\\",item:\\\"item_fe70\\\",itemContainer:\\\"itemContainer_a34d\\\",compact:\\\"compact_c29b\\\",error:\\\"error_f88b\\\",add:\\\"add_a780\\\",top:\\\"top_ed39\\\",left:\\\"left_e516\\\",label:\\\"label_c9d1\\\",description:\\\"description_a308\\\",right:\\\"right_ce82\\\",details:\\\"details_b0e4\\\",padded:\\\"padded_d625\\\",hint:\\\"hint_ac00\\\",action:\\\"action_cadf\\\",actionLink:\\\"actionLink_a3bc\\\",hover:\\\"hover_fa6b\\\",icon:\\\"icon_c6a7\\\",highlight:\\\"highlight_d886\\\",service:\\\"service_a3c6\\\",glyph:\\\"glyph_bbf8\\\",avatar:\\\"avatar_ac93 glyph_bbf8\\\",rightGlyph:\\\"rightGlyph_eef7 glyph_bbf8\\\",checkboxContainer:\\\"checkboxContainer_cc10\\\",title:\\\"title_c419\\\",title_first:\\\"title_first_d65e\\\",text:\\\"text_f039\\\",fade:\\\"fade_a68f\\\",disabled:\\\"disabled_a49b\\\"};const c=u},5849:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>u});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(643),l=a()(i());l.i(s.Z),l.push([t.id,'.loaderScreen_e169 {\\\\n position: absolute;\\\\n\\\\n width: 100%;\\\\n height: 100%;\\\\n\\\\n text-align: center;\\\\n vertical-align: middle;\\\\n}\\\\n\\\\n.loaderScreen_e169::before {\\\\n display: inline-block;\\\\n\\\\n height: 100%;\\\\n\\\\n content: \\\"\\\";\\\\n\\\\n vertical-align: middle;\\\\n }\\\\n\\\\n.loader_d64a {\\\\n display: inline-block;\\\\n}\\\\n\\\\n.loaderWithoutSpacing_cc4e canvas {\\\\n margin: 0;\\\\n}\\\\n',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/loader-screen/loader-screen.css\\\"],names:[],mappings:\\\"AAEA;EACE,kBAAkB;;EAElB,WAAW;EACX,YAAY;;EAEZ,kBAAkB;EAClB,sBAAsB;AAWxB;;AATE;IACE,qBAAqB;;IAErB,YAAY;;IAEZ,WAAW;;IAEX,sBAAsB;EACxB;;AAGF;EACE,qBAAqB;AACvB;;AAEA;EACE,SAAS;AACX\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n.loaderScreen {\\\\n position: absolute;\\\\n\\\\n width: 100%;\\\\n height: 100%;\\\\n\\\\n text-align: center;\\\\n vertical-align: middle;\\\\n\\\\n &::before {\\\\n display: inline-block;\\\\n\\\\n height: 100%;\\\\n\\\\n content: \\\"\\\";\\\\n\\\\n vertical-align: middle;\\\\n }\\\\n}\\\\n\\\\n.loader {\\\\n display: inline-block;\\\\n}\\\\n\\\\n.loaderWithoutSpacing canvas {\\\\n margin: 0;\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),l.locals={loaderScreen:\\\"loaderScreen_e169\\\",loader:\\\"loader_d64a\\\",loaderWithoutSpacing:\\\"loaderWithoutSpacing_cc4e\\\"};const u=l},3386:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,\\\"@-webkit-keyframes rotation-keyframes_ead3 {\\\\n 100% {\\\\n transform: rotate(360deg);\\\\n }\\\\n}\\\\n\\\\n@keyframes rotation-keyframes_ead3 {\\\\n 100% {\\\\n transform: rotate(360deg);\\\\n }\\\\n}\\\\n\\\\n.canvas_b97b {\\\\n display: block;\\\\n\\\\n margin: 16px auto;\\\\n\\\\n pointer-events: none;\\\\n}\\\\n\\\\n.animate_a3e1 {\\\\n -webkit-animation: rotation-keyframes_ead3 36s linear infinite;\\\\n animation: rotation-keyframes_ead3 36s linear infinite;\\\\n}\\\\n\\\\n.text_af18 {\\\\n text-align: center;\\\\n\\\\n font-family: var(--ring-font-family);\\\\n font-size: var(--ring-font-size);\\\\n line-height: var(--ring-line-height);\\\\n}\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/loader/loader.css\\\"],names:[],mappings:\\\"AAIA;EACE;IACE,yBAAyB;EAC3B;AACF;;AAJA;EACE;IACE,yBAAyB;EAC3B;AACF;;AAEA;EACE,cAAc;;EAEd,iBAA2B;;EAE3B,oBAAoB;AACtB;;AAEA;EACE,8DAAiD;UAAjD,sDAAiD;AACnD;;AAEA;EACE,kBAAkB;;EAElB,oCAAoC;EACpC,gCAAgC;EAChC,oCAAoC;AACtC\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n\\\\n@keyframes rotation-keyframes {\\\\n 100% {\\\\n transform: rotate(360deg);\\\\n }\\\\n}\\\\n\\\\n.canvas {\\\\n display: block;\\\\n\\\\n margin: calc(unit * 2) auto;\\\\n\\\\n pointer-events: none;\\\\n}\\\\n\\\\n.animate {\\\\n animation: rotation-keyframes 36s linear infinite;\\\\n}\\\\n\\\\n.text {\\\\n text-align: center;\\\\n\\\\n font-family: var(--ring-font-family);\\\\n font-size: var(--ring-font-size);\\\\n line-height: var(--ring-line-height);\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,canvas:\\\"canvas_b97b\\\",animate:\\\"animate_a3e1\\\",\\\"rotation-keyframes\\\":\\\"rotation-keyframes_ead3\\\",text:\\\"text_af18\\\"};const c=u},3679:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,\\\".popup_c23c {\\\\n\\\\n position: fixed;\\\\n z-index: var(--ring-overlay-z-index);\\\\n top: -100vh;\\\\n left: -100vw;\\\\n\\\\n overflow-y: auto;\\\\n\\\\n box-sizing: border-box;\\\\n\\\\n border: 1px solid var(--ring-popup-border-color);\\\\n border-radius: var(--ring-border-radius);\\\\n\\\\n background-color: var(--ring-popup-background-color);\\\\n box-shadow: 0 2px 16px 0 var(--ring-popup-shadow-color);\\\\n}\\\\n\\\\n.hidden_e2f9 {\\\\n display: none;\\\\n}\\\\n\\\\n.showing_c925 {\\\\n opacity: 0;\\\\n}\\\\n\\\\n.attached_c605 {\\\\n border-top: 0;\\\\n border-top-left-radius: 0;\\\\n border-top-right-radius: 0;\\\\n}\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/popup/popup.css\\\"],names:[],mappings:\\\"AAEA;;EAGE,eAAe;EACf,oCAAoC;EACpC,WAAW;EACX,YAAY;;EAEZ,gBAAgB;;EAEhB,sBAAsB;;EAEtB,gDAAgD;EAChD,wCAAwC;;EAExC,oDAAoD;EACpD,uDAAuD;AACzD;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,aAAa;EACb,yBAAyB;EACzB,0BAA0B;AAC5B\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n.popup {\\\\n composes: font from \\\"../global/global.css\\\";\\\\n\\\\n position: fixed;\\\\n z-index: var(--ring-overlay-z-index);\\\\n top: -100vh;\\\\n left: -100vw;\\\\n\\\\n overflow-y: auto;\\\\n\\\\n box-sizing: border-box;\\\\n\\\\n border: 1px solid var(--ring-popup-border-color);\\\\n border-radius: var(--ring-border-radius);\\\\n\\\\n background-color: var(--ring-popup-background-color);\\\\n box-shadow: 0 2px 16px 0 var(--ring-popup-shadow-color);\\\\n}\\\\n\\\\n.hidden {\\\\n display: none;\\\\n}\\\\n\\\\n.showing {\\\\n opacity: 0;\\\\n}\\\\n\\\\n.attached {\\\\n border-top: 0;\\\\n border-top-left-radius: 0;\\\\n border-top-right-radius: 0;\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),u.locals={popup:\\\"popup_c23c \\\"+s.default.locals.font,hidden:\\\"hidden_e2f9\\\",showing:\\\"showing_c925\\\",attached:\\\"attached_c605\\\"};const c=u},3757:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>u});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(643),l=a()(i());l.i(s.Z),l.push([t.id,\\\".trapButton_b7d0 {\\\\n position: absolute;\\\\n left: -9999px;\\\\n}\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/tab-trap/tab-trap.css\\\"],names:[],mappings:\\\"AAEA;EACE,kBAAkB;EAClB,aAAa;AACf\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n.trapButton {\\\\n position: absolute;\\\\n left: -9999px;\\\\n}\\\\n'],sourceRoot:\\\"\\\"}]),l.locals={trapButton:\\\"trapButton_b7d0\\\"};const u=l},9538:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>c});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o),s=n(1649),l=n(643),u=a()(i());u.i(l.Z),u.i(s.default,\\\"\\\",!0),u.push([t.id,\\\".tabs_ae13 {\\\\n}\\\\n\\\\n.titles_eb4b {\\\\n display: inline-block;\\\\n\\\\n margin-bottom: 16px;\\\\n}\\\\n\\\\n.light_ac76 .titles_eb4b {\\\\n box-shadow: inset 0 -1px 0 0 var(--ring-line-color);\\\\n}\\\\n\\\\n.dark_a36e .titles_eb4b {\\\\n box-shadow: inset 0 -1px 0 0 var(--ring-dark-line-color);\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {\\\\n .title_ba2f.selected_ff4e:hover,\\\\n .title_ba2f.collapsed_ee7d:hover {\\\\n color: inherit;\\\\n box-shadow: inset 0 -3px 0 0 var(--ring-text-color);\\\\n }\\\\n\\\\n .title_ba2f:hover:not(.selected_ff4e),\\\\n .title_ba2f:hover:not(.collapsed_ee7d) {\\\\n color: var(--ring-link-hover-color);\\\\n outline-style: none;\\\\n box-shadow: inset 0 -1px 0 0 var(--ring-link-hover-color);\\\\n }}\\\\n\\\\n.title_ba2f {\\\\n\\\\n position: relative;\\\\n\\\\n display: inline-block;\\\\n\\\\n padding: 0;\\\\n\\\\n cursor: pointer;\\\\n\\\\n color: inherit;\\\\n\\\\n border: none;\\\\n border-radius: 0;\\\\n background: none;\\\\n\\\\n line-height: 32px;\\\\n}\\\\n\\\\n.title_ba2f.selected_ff4e:active,\\\\n .title_ba2f.collapsed_ee7d:active {\\\\n color: inherit;\\\\n box-shadow: inset 0 -3px 0 0 var(--ring-text-color);\\\\n }\\\\n\\\\n.title_ba2f:active:not(.selected_ff4e),\\\\n .title_ba2f:active:not(.collapsed_ee7d) {\\\\n color: var(--ring-link-hover-color);\\\\n outline-style: none;\\\\n box-shadow: inset 0 -1px 0 0 var(--ring-link-hover-color);\\\\n }\\\\n\\\\n.title_ba2f.focus-visible {\\\\n box-shadow: inset 0 -3px 0 0 var(--ring-main-color);\\\\n }\\\\n\\\\n.title_ba2f[disabled] {\\\\n pointer-events: none;\\\\n }\\\\n\\\\n.title_ba2f.titleLegacy_ae90 {\\\\n display: inline-flex;\\\\n flex-direction: column;\\\\n}\\\\n\\\\n.title_ba2f + .title_ba2f {\\\\n margin-left: 24px;\\\\n}\\\\n\\\\n.light_ac76 .title_ba2f[disabled] {\\\\n color: var(--ring-disabled-color);\\\\n }\\\\n\\\\n.dark_a36e .title_ba2f {\\\\n color: var(--ring-dark-secondary-color);\\\\n}\\\\n\\\\n.dark_a36e .title_ba2f[disabled] {\\\\n color: var(--ring-text-color);\\\\n }\\\\n\\\\n.selected_ff4e {\\\\n cursor: default;\\\\n\\\\n outline: none;\\\\n box-shadow: inset 0 -3px 0 0 var(--ring-text-color);\\\\n\\\\n font-weight: bold;\\\\n}\\\\n\\\\n.dark_a36e .selected_ff4e.selected_ff4e {\\\\n color: var(--ring-dark-text-color);\\\\n box-shadow: inset 0 -3px 0 0 var(--ring-main-color);\\\\n}\\\\n\\\\n.dark_a36e .title_ba2f.focus-visible {\\\\n color: var(--ring-main-color);\\\\n}\\\\n\\\\n.visible_af35 {\\\\n position: absolute;\\\\n top: 0;\\\\n right: 0;\\\\n bottom: 0;\\\\n left: 0;\\\\n\\\\n text-align: center;\\\\n}\\\\n\\\\n.container_c5d9 {\\\\n display: flex;\\\\n flex-direction: column;\\\\n}\\\\n\\\\n.hidden_f13b {\\\\n display: flex;\\\\n visibility: hidden;\\\\n}\\\\n\\\\n.hiddenBold_f5d6 {\\\\n display: flex;\\\\n visibility: hidden;\\\\n\\\\n height: 0;\\\\n\\\\n font-weight: bold;\\\\n}\\\\n\\\\n.hiddenRegular_de9d {\\\\n display: flex;\\\\n visibility: hidden;\\\\n\\\\n height: 0;\\\\n\\\\n font-weight: normal;\\\\n}\\\\n\\\\n.tabCounter_e475 {\\\\n padding-left: 8px;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n\\\\n font-size: 12px;\\\\n font-weight: normal;\\\\n line-height: 19px; /* prevent jumps in Firefox */\\\\n}\\\\n\\\\n.autoCollapseContainer_e8be {\\\\n position: relative;\\\\n}\\\\n\\\\n.autoCollapse_e83d {\\\\n position: relative;\\\\n\\\\n display: inline-flex;\\\\n visibility: hidden;\\\\n overflow: hidden;\\\\n\\\\n max-width: 100%;\\\\n}\\\\n\\\\n.autoCollapse_e83d .title_ba2f {\\\\n flex-shrink: 0;\\\\n}\\\\n\\\\n.rendered_ad73.adjusted_c414 {\\\\n visibility: visible;\\\\n overflow: visible;\\\\n}\\\\n\\\\n.measure_a688 {\\\\n position: absolute;\\\\n top: 0;\\\\n left: 0;\\\\n\\\\n overflow: hidden;\\\\n\\\\n height: 0;\\\\n margin: 0;\\\\n\\\\n pointer-events: none;\\\\n\\\\n opacity: 0;\\\\n}\\\\n\\\\n.morePopup_ed59 {\\\\n display: flex;\\\\n flex-direction: column;\\\\n}\\\\n\\\\n.collapsed_ee7d.collapsed_ee7d {\\\\n width: 100%;\\\\n\\\\n border-bottom: none;\\\\n box-shadow: none;\\\\n}\\\\n\\\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.collapsed_ee7d.collapsed_ee7d:hover {\\\\n box-shadow: none;\\\\n }}\\\\n\\\\n.collapsed_ee7d.collapsed_ee7d[disabled] {\\\\n color: var(--ring-disabled-color);\\\\n}\\\\n\\\\n.collapsed_ee7d .visible_af35,\\\\n.collapsed_ee7d .hidden_f13b {\\\\n text-align: left;\\\\n}\\\\n\\\\n.chevron_f667 {\\\\n padding-left: 4px;\\\\n}\\\\n\\\\n.morePopupBeforeEnd_c07d.morePopupBeforeEnd_c07d.morePopupBeforeEnd_c07d {\\\\n padding: 0;\\\\n}\\\\n\\\\n.morePopupBeforeEnd_c07d ~ div {\\\\n display: none;\\\\n}\\\\n\\\",\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/@jetbrains/ring-ui/components/tabs/tabs.css\\\",\\\"<no source>\\\"],names:[],mappings:\\\"AAMA;AAEA;;AAEA;EACE,qBAAqB;;EAErB,mBAA6B;AAC/B;;AAEA;EACE,mDAA8C;AAChD;;AAEA;EACE,wDAAmD;AACrD;;ACtBA;IAAA;;MAAA,eAAA;MAAA,oDAAA;KAAA;;IAAA;;MAAA,oCAAA;MAAA,oBAAA;MAAA,0DAAA;KAAA,CAAA;;ADwBA;;EAGE,kBAAkB;;EAElB,qBAAqB;;EAErB,UAAU;;EAEV,eAAe;;EAEf,cAAc;;EAEd,YAAY;EACZ,gBAAgB;EAChB,gBAAgB;;EAEhB,iBAA2B;AAyB7B;;AArBI;;MAEE,cAAc;MACd,mDAAuD;IACzD;;AAEA;;MAEE,mCAAmC;MACnC,mBAAmB;MACnB,yDAAyD;IAC3D;;AAGF;IACE,mDAAuD;EACzD;;AAEA;IACE,oBAAoB;EACtB;;AAGF;EACE,oBAAoB;EACpB,sBAAsB;AACxB;;AAEA;EACE,iBAA2B;AAC7B;;AAGE;IACE,iCAAiC;EACnC;;AAGF;EACE,uCAAuC;AAKzC;;AAHE;IACE,6BAA6B;EAC/B;;AAGF;EACE,eAAe;;EAEf,aAAa;EACb,mDAAuD;;EAEvD,iBAAiB;AACnB;;AAEA;EACE,kCAAkC;EAClC,mDAAuD;AACzD;;AAEA;EACE,6BAA6B;AAC/B;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,QAAQ;EACR,SAAS;EACT,OAAO;;EAEP,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,sBAAsB;AACxB;;AAEA;EACE,aAAa;EACb,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,kBAAkB;;EAElB,SAAS;;EAET,iBAAiB;AACnB;;AAEA;EACE,aAAa;EACb,kBAAkB;;EAElB,SAAS;;EAET,mBAAmB;AACrB;;AAEA;EACE,iBAAiB;;EAEjB,kCAAkC;;EAElC,eAAe;EACf,mBAAmB;EACnB,iBAAiB,EAAE,6BAA6B;AAClD;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;;EAElB,oBAAoB;EACpB,kBAAkB;EAClB,gBAAgB;;EAEhB,eAAe;AACjB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,mBAAmB;EACnB,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;;EAEP,gBAAgB;;EAEhB,SAAS;EACT,SAAS;;EAET,oBAAoB;;EAEpB,UAAU;AACZ;;AAEA;EACE,aAAa;EACb,sBAAsB;AACxB;;AAEA;EACE,WAAW;;EAEX,mBAAmB;EACnB,gBAAgB;AAKlB;;ACjNA,wGAAA;IAAA,iBAAA;GAAA,CAAA;;ADmNA;EACE,iCAAiC;AACnC;;AAEA;;EAEE,gBAAgB;AAClB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,aAAa;AACf\\\",sourcesContent:['@import \\\"../global/variables.css\\\";\\\\n\\\\n@value unit from \\\"../global/global.css\\\";\\\\n@value line-shadow: inset 0 -1px 0 0;\\\\n@value selected-line-shadow: inset 0 -3px 0 0;\\\\n\\\\n.tabs {\\\\n composes: font from \\\"../global/global.css\\\";\\\\n}\\\\n\\\\n.titles {\\\\n display: inline-block;\\\\n\\\\n margin-bottom: calc(unit * 2);\\\\n}\\\\n\\\\n.light .titles {\\\\n box-shadow: line-shadow var(--ring-line-color);\\\\n}\\\\n\\\\n.dark .titles {\\\\n box-shadow: line-shadow var(--ring-dark-line-color);\\\\n}\\\\n\\\\n.title {\\\\n composes: font from \\\"../global/global.css\\\";\\\\n\\\\n position: relative;\\\\n\\\\n display: inline-block;\\\\n\\\\n padding: 0;\\\\n\\\\n cursor: pointer;\\\\n\\\\n color: inherit;\\\\n\\\\n border: none;\\\\n border-radius: 0;\\\\n background: none;\\\\n\\\\n line-height: calc(unit * 4);\\\\n\\\\n &:hover,\\\\n &:active {\\\\n &.selected,\\\\n &.collapsed {\\\\n color: inherit;\\\\n box-shadow: selected-line-shadow var(--ring-text-color);\\\\n }\\\\n\\\\n &:not(.selected),\\\\n &:not(.collapsed) {\\\\n color: var(--ring-link-hover-color);\\\\n outline-style: none;\\\\n box-shadow: inset 0 -1px 0 0 var(--ring-link-hover-color);\\\\n }\\\\n }\\\\n\\\\n &:global(.focus-visible) {\\\\n box-shadow: selected-line-shadow var(--ring-main-color);\\\\n }\\\\n\\\\n &[disabled] {\\\\n pointer-events: none;\\\\n }\\\\n}\\\\n\\\\n.title.titleLegacy {\\\\n display: inline-flex;\\\\n flex-direction: column;\\\\n}\\\\n\\\\n.title + .title {\\\\n margin-left: calc(unit * 3);\\\\n}\\\\n\\\\n.light .title {\\\\n &[disabled] {\\\\n color: var(--ring-disabled-color);\\\\n }\\\\n}\\\\n\\\\n.dark .title {\\\\n color: var(--ring-dark-secondary-color);\\\\n\\\\n &[disabled] {\\\\n color: var(--ring-text-color);\\\\n }\\\\n}\\\\n\\\\n.selected {\\\\n cursor: default;\\\\n\\\\n outline: none;\\\\n box-shadow: selected-line-shadow var(--ring-text-color);\\\\n\\\\n font-weight: bold;\\\\n}\\\\n\\\\n.dark .selected.selected {\\\\n color: var(--ring-dark-text-color);\\\\n box-shadow: selected-line-shadow var(--ring-main-color);\\\\n}\\\\n\\\\n.dark .title:global(.focus-visible) {\\\\n color: var(--ring-main-color);\\\\n}\\\\n\\\\n.visible {\\\\n position: absolute;\\\\n top: 0;\\\\n right: 0;\\\\n bottom: 0;\\\\n left: 0;\\\\n\\\\n text-align: center;\\\\n}\\\\n\\\\n.container {\\\\n display: flex;\\\\n flex-direction: column;\\\\n}\\\\n\\\\n.hidden {\\\\n display: flex;\\\\n visibility: hidden;\\\\n}\\\\n\\\\n.hiddenBold {\\\\n display: flex;\\\\n visibility: hidden;\\\\n\\\\n height: 0;\\\\n\\\\n font-weight: bold;\\\\n}\\\\n\\\\n.hiddenRegular {\\\\n display: flex;\\\\n visibility: hidden;\\\\n\\\\n height: 0;\\\\n\\\\n font-weight: normal;\\\\n}\\\\n\\\\n.tabCounter {\\\\n padding-left: 8px;\\\\n\\\\n color: var(--ring-secondary-color);\\\\n\\\\n font-size: 12px;\\\\n font-weight: normal;\\\\n line-height: 19px; /* prevent jumps in Firefox */\\\\n}\\\\n\\\\n.autoCollapseContainer {\\\\n position: relative;\\\\n}\\\\n\\\\n.autoCollapse {\\\\n position: relative;\\\\n\\\\n display: inline-flex;\\\\n visibility: hidden;\\\\n overflow: hidden;\\\\n\\\\n max-width: 100%;\\\\n}\\\\n\\\\n.autoCollapse .title {\\\\n flex-shrink: 0;\\\\n}\\\\n\\\\n.rendered.adjusted {\\\\n visibility: visible;\\\\n overflow: visible;\\\\n}\\\\n\\\\n.measure {\\\\n position: absolute;\\\\n top: 0;\\\\n left: 0;\\\\n\\\\n overflow: hidden;\\\\n\\\\n height: 0;\\\\n margin: 0;\\\\n\\\\n pointer-events: none;\\\\n\\\\n opacity: 0;\\\\n}\\\\n\\\\n.morePopup {\\\\n display: flex;\\\\n flex-direction: column;\\\\n}\\\\n\\\\n.collapsed.collapsed {\\\\n width: 100%;\\\\n\\\\n border-bottom: none;\\\\n box-shadow: none;\\\\n\\\\n &:hover {\\\\n box-shadow: none;\\\\n }\\\\n}\\\\n\\\\n.collapsed.collapsed[disabled] {\\\\n color: var(--ring-disabled-color);\\\\n}\\\\n\\\\n.collapsed .visible,\\\\n.collapsed .hidden {\\\\n text-align: left;\\\\n}\\\\n\\\\n.chevron {\\\\n padding-left: 4px;\\\\n}\\\\n\\\\n.morePopupBeforeEnd.morePopupBeforeEnd.morePopupBeforeEnd {\\\\n padding: 0;\\\\n}\\\\n\\\\n.morePopupBeforeEnd ~ div {\\\\n display: none;\\\\n}\\\\n',null],sourceRoot:\\\"\\\"}]),u.locals={unit:\\\"\\\"+s.default.locals.unit,\\\"line-shadow\\\":\\\"inset 0 -1px 0 0\\\",\\\"selected-line-shadow\\\":\\\"inset 0 -3px 0 0\\\",tabs:\\\"tabs_ae13 \\\"+s.default.locals.font,titles:\\\"titles_eb4b\\\",light:\\\"light_ac76\\\",dark:\\\"dark_a36e\\\",title:\\\"title_ba2f \\\"+s.default.locals.font,selected:\\\"selected_ff4e\\\",collapsed:\\\"collapsed_ee7d\\\",titleLegacy:\\\"titleLegacy_ae90\\\",visible:\\\"visible_af35\\\",container:\\\"container_c5d9\\\",hidden:\\\"hidden_f13b\\\",hiddenBold:\\\"hiddenBold_f5d6\\\",hiddenRegular:\\\"hiddenRegular_de9d\\\",tabCounter:\\\"tabCounter_e475\\\",autoCollapseContainer:\\\"autoCollapseContainer_e8be\\\",autoCollapse:\\\"autoCollapse_e83d\\\",rendered:\\\"rendered_ad73\\\",adjusted:\\\"adjusted_c414\\\",measure:\\\"measure_a688\\\",morePopup:\\\"morePopup_ed59\\\",chevron:\\\"chevron_f667\\\",morePopupBeforeEnd:\\\"morePopupBeforeEnd_c07d\\\"};const c=u},1915:(t,e,n)=>{\\\"use strict\\\";n.d(e,{Z:()=>s});var r=n(7796),i=n.n(r),o=n(1051),a=n.n(o)()(i());a.push([t.id,'.tabulator{position:relative;border:1px solid #999;background-color:#888;font-size:14px;text-align:left;overflow:hidden;-webkit-transform:translatez(0);-moz-transform:translatez(0);-ms-transform:translatez(0);-o-transform:translatez(0);transform:translatez(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #999;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-col{display:inline-block;position:relative;box-sizing:border-box;border-right:1px solid #aaa;background:#e6e6e6;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #999;background:#cdcdcd;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-menu-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover{cursor:pointer;background-color:#cdcdcd}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{display:inline-block;position:absolute;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;min-width:600%;background:#f3f3f3!important;border-top:1px solid #aaa;border-bottom:1px solid #aaa;overflow:hidden}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{min-width:600%}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder span{display:inline-block;margin:0 auto;padding:10px;color:#ccc;font-weight:700;font-size:20px}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#e2e2e2!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #aaa}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #aaa}.tabulator .tabulator-footer{padding:5px 10px;border-top:1px solid #999;background-color:#e6e6e6;text-align:right;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:calc(100% + 20px);margin:-5px -10px 5px;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #aaa;border-top:1px solid #aaa;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer .tabulator-paginator{color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #aaa;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #aaa;border-radius:3px;background:hsla(0,0%,100%,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}.tabulator .tabulator-col-resize-handle{position:absolute;right:0;top:0;bottom:0;width:5px}.tabulator .tabulator-col-resize-handle.prev{left:0;right:auto}.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}.tabulator .tabulator-loader{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-loader .tabulator-loader-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading{border:4px solid #333;color:#000}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-error{border:4px solid #d00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:22px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#efefef}.tabulator-row.tabulator-selectable:hover{background-color:#bbb;cursor:pointer}.tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #aaa;border-bottom:1px solid #aaa;pointer-events:none;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}.tabulator-row .tabulator-frozen{display:inline-block;position:absolute;background-color:inherit;z-index:10}.tabulator-row .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator-row .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #aaa;border-bottom:1px solid #aaa}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #aaa;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #aaa;border-bottom:2px solid #aaa}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:\\\"\\\";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:\\\"\\\";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open,.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #aaa;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-menu{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #aaa;box-shadow:0 0 5px 0 rgba(0,0,0,.2);font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#efefef}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:\\\"\\\";border-color:#aaa;border-style:solid;border-width:1px 1px 0 0;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #aaa}.tabulator-edit-select-list{position:absolute;display:inline-block;box-sizing:border-box;max-height:200px;background:#fff;border:1px solid #aaa;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-edit-select-list .tabulator-edit-select-list-item{padding:4px;color:#333}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid hsla(0,0%,100%,.5)}.tabulator-edit-select-list .tabulator-edit-select-list-item.focused{outline:1px solid #1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-notice{padding:4px;color:#333;text-align:center}.tabulator-edit-select-list .tabulator-edit-select-list-group{border-bottom:1px solid #aaa;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:0;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow{left:8px;right:auto}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:0;margin-left:5px;border-bottom-left-radius:0;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:0;margin-left:5px}.tabulator.tabulator-rtl .tabulator-col-resize-handle{position:absolute;left:0;right:auto}.tabulator.tabulator-rtl .tabulator-col-resize-handle.prev{right:0;left:auto}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #aaa;border-bottom:2px solid #aaa}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #aaa;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:\\\"\\\";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:\\\"\\\";left:-3px;top:3px;height:1px;width:7px;background:#333}\\\\n/*# sourceMappingURL=tabulator.min.css.map */',\\\"\\\",{version:3,sources:[\\\"webpack://./../../node_modules/tabulator-tables/dist/css/tabulator.scss\\\",\\\"webpack://./../../node_modules/tabulator-tables/dist/css/tabulator.min.css\\\"],names:[],mappings:\\\"AAAA,WACE,iBAAkB,CAClB,qBAAsB,CACtB,qBAAsB,CACtB,cAAe,CACf,eAAgB,CAChB,eAAgB,CAChB,+BAAgC,CAChC,4BAA6B,CAC7B,2BAA4B,CAC5B,0BAA2B,CAC3B,uBAA0B,CAC1B,iFACE,cAAiB,CACnB,0CACE,oBAAuB,CACzB,kCACE,gBAAmB,CACrB,6BACE,iBAAkB,CAClB,qBAAsB,CACtB,UAAW,CACX,4BAA6B,CAC7B,wBAAyB,CACzB,UAAW,CACX,eAAiB,CACjB,kBAAmB,CACnB,eAAgB,CAChB,qBAAsB,CACtB,uBAAwB,CACxB,wBAAyB,CACzB,mBAAsB,CACtB,qDACE,YAAe,CACjB,4CACE,oBAAqB,CACrB,iBAAkB,CAClB,qBAAsB,CACtB,2BAA4B,CAC5B,kBAAmB,CACnB,eAAgB,CAChB,qBAAsB,CACtB,eAAkB,CAClB,6DACE,iBAAkB,CAClB,qBAAsB,CACtB,kBAAmB,CACnB,mBAAsB,CACxB,mEACE,qBAAsB,CACtB,iBAAkB,CAClB,WAAc,CACd,iGACE,aAAgB,CAChB,uGACE,cAAe,CACf,UAAa,CACjB,+FACE,iBAAoB,CACtB,wFACE,qBAAsB,CACtB,UAAW,CACX,kBAAmB,CACnB,eAAgB,CAChB,sBAAuB,CACvB,qBAAwB,CACxB,gHACE,qBAAsB,CACtB,UAAW,CACX,qBAAsB,CACtB,WAAY,CACZ,eAAkB,CACpB,8IACE,uBAA0B,CAC9B,yFACE,YAAa,CACb,kBAAmB,CACnB,iBAAkB,CAClB,KAAM,CACN,QAAS,CACT,SAAY,CACZ,0GACE,OAAQ,CACR,QAAS,CACT,iCAAkC,CAClC,kCAAmC,CACnC,4BAA+B,CACrC,0FACE,iBAAkB,CAClB,YAAa,CACb,yBAA0B,CAC1B,eAAgB,CAChB,iBAAoB,CACtB,0FACE,YAAe,CACjB,qEACE,iBAAkB,CAClB,qBAAsB,CACtB,cAAe,CACf,UAAW,CACX,iBAAoB,CACpB,8EACE,qBAAyB,CAC3B,yEACE,cAAiB,CACnB,sFACE,OAAQ,CACR,QAAW,CACf,oFACE,kBAAqB,CACvB,qEACE,cAAe,CACf,wBAA2B,CAC7B,4HACE,UAAa,CACb,6IACE,eAAgB,CAChB,4BAA+B,CACnC,2HACE,UAAa,CACb,4IACE,eAAgB,CAChB,4BAA+B,CACnC,4HACE,UAAa,CACb,6IACE,kBAAmB,CACnB,yBAA0B,CAC1B,UAAa,CACjB,+GACE,wBAAyB,CACzB,sBAAuB,CACvB,YAAa,CACb,kBAAmB,CACnB,sBAAyB,CAC3B,oHACE,wBAA2B,CAC7B,2GACE,eAAgB,CAChB,gBAAmB,CACrB,uIACE,eAAgB,CAChB,mBAAsB,CACxB,4GACE,sBAAuB,CACvB,MAAO,CACP,OAAQ,CACR,OAAQ,CACR,WAAc,CAClB,+CACE,oBAAqB,CACrB,iBAAkB,CAClB,UAAa,CACb,qEACE,2BAA8B,CAChC,sEACE,0BAA6B,CACjC,qDACE,qBAAsB,CACtB,cAAe,CACf,4BAA8B,CAC9B,yBAA0B,CAC1B,4BAA6B,CAC7B,eAAkB,CAClB,oEACE,4BAAgC,CAChC,iGACE,YAAe,CACrB,2DACE,cAAiB,CACjB,iEACE,YAAe,CACrB,kCACE,iBAAkB,CAClB,UAAW,CACX,kBAAmB,CACnB,aAAc,CACd,gCAAmC,CACnC,wCACE,YAAe,CACjB,yDACE,qBAAsB,CACtB,YAAa,CACb,kBAAmB,CACnB,UAAa,CACb,wFACE,eAAgB,CAChB,cAAiB,CACnB,8DACE,oBAAqB,CACrB,aAAc,CACd,YAAa,CACb,UAAW,CACX,eAAiB,CACjB,cAAiB,CACrB,mDACE,iBAAkB,CAClB,oBAAqB,CACrB,qBAAsB,CACtB,kBAAmB,CACnB,gBAAiB,CACjB,UAAa,CACb,kFACE,eAAiB,CACjB,4BAAgC,CAChC,sGACE,4BAA+B,CACjC,yGACE,yBAA4B,CACpC,6BACE,gBAAiB,CACjB,yBAA0B,CAC1B,wBAAyB,CACzB,gBAAiB,CACjB,UAAW,CACX,eAAiB,CACjB,kBAAmB,CACnB,gBAAiB,CACjB,qBAAsB,CACtB,uBAAwB,CACxB,wBAAyB,CACzB,mBAAsB,CACtB,qDACE,qBAAsB,CACtB,uBAAwB,CACxB,qBAA4B,CAC5B,eAAgB,CAChB,4BAA8B,CAC9B,4BAA6B,CAC7B,yBAA0B,CAC1B,eAAkB,CAClB,oEACE,4BAAgC,CAChC,iGACE,YAAe,CACnB,gEACE,kBAAmB,CACnB,kBAAqB,CACzB,kDACE,UAAW,CACX,mBAAoB,CACpB,mBAAoB,CACpB,iBAAoB,CACtB,kDACE,oBAAqB,CACrB,YAAa,CACb,eAAgB,CAChB,qBAAsB,CACtB,iBAAoB,CACtB,8CACE,YAAe,CACjB,6CACE,oBAAqB,CACrB,YAAa,CACb,eAAgB,CAChB,qBAAsB,CACtB,iBAAkB,CAClB,6BAAsC,CACtC,oDACE,UAAa,CACf,sDACE,UAAa,CACf,kEACE,cAAe,CACf,yBAA8B,CAC9B,UAAa,CACnB,wCACE,iBAAkB,CAClB,OAAQ,CACR,KAAM,CACN,QAAS,CACT,SAAY,CACZ,6CACE,MAAO,CACP,UAAa,CACf,8CACE,gBAAmB,CACvB,6BACE,iBAAkB,CAClB,YAAa,CACb,kBAAmB,CACnB,KAAM,CACN,MAAO,CACP,WAAY,CACZ,WAAY,CACZ,UAAW,CACX,yBAA8B,CAC9B,iBAAoB,CACpB,mDACE,oBAAqB,CACrB,aAAc,CACd,iBAAkB,CAClB,kBAAmB,CACnB,eAAgB,CAChB,eAAiB,CACjB,cAAiB,CACjB,qEACE,qBAAsB,CACtB,UAAa,CACf,mEACE,qBAAsB,CACtB,aAAgB,CAExB,eACE,iBAAkB,CAClB,qBAAsB,CACtB,eAAgB,CAChB,qBAAwB,CACxB,kCACE,wBAA2B,CAC7B,0CACE,qBAAsB,CACtB,cAAiB,CACnB,kCACE,wBAA2B,CAC7B,wCACE,wBAAyB,CACzB,cAAiB,CACnB,oCACE,qBAAsB,CACtB,eAAkB,CACpB,gCACE,iBAAkB,CAClB,yBAA0B,CAC1B,4BAA6B,CAC7B,mBAAoB,CACpB,UAAa,CACf,4CACE,iBAAkB,CAClB,OAAQ,CACR,QAAS,CACT,MAAO,CACP,UAAa,CACb,iDACE,KAAM,CACN,WAAc,CAChB,kDACE,gBAAmB,CACvB,iCACE,oBAAqB,CACrB,iBAAkB,CAClB,wBAAyB,CACzB,UAAa,CACb,uDACE,2BAA8B,CAChC,wDACE,0BAA6B,CACjC,8CACE,qBAAsB,CACtB,WAAY,CACZ,yBAA0B,CAC1B,4BAA+B,CAC/B,oDACE,YAAe,CACjB,oDACE,cAAiB,CACjB,0DACE,iBAAoB,CACpB,wEACE,kBAAqB,CAC7B,+BACE,oBAAqB,CACrB,iBAAkB,CAClB,qBAAsB,CACtB,WAAY,CACZ,2BAA4B,CAC5B,qBAAsB,CACtB,kBAAmB,CACnB,eAAgB,CAChB,sBAAyB,CACzB,iDACE,wBAAyB,CACzB,YAAa,CACb,SAAY,CACZ,+GACE,UAAW,CACX,sBAAyB,CAC7B,yDACE,qBAA2B,CAC3B,+HACE,UAAW,CACX,sBAAuB,CACvB,UAAgB,CACpB,6EACE,YAAe,CACjB,oDACE,mBAAoB,CACpB,kBAAmB,CACnB,sBAAuB,CACvB,qBAAsB,CACtB,uBAAwB,CACxB,wBAAyB,CACzB,mBAAsB,CACtB,8EACE,SAAY,CACZ,wGACE,UAAW,CACX,UAAW,CACX,cAAe,CACf,eAAkB,CACxB,2DACE,oBAAqB,CACrB,qBAAsB,CACtB,UAAW,CACX,SAAU,CACV,eAAgB,CAChB,gBAAiB,CACjB,6BAA8B,CAC9B,0BAA2B,CAC3B,4BAA+B,CACjC,4DACE,mBAAoB,CACpB,sBAAuB,CACvB,kBAAmB,CACnB,qBAAsB,CACtB,WAAY,CACZ,UAAW,CACX,gBAAiB,CACjB,qBAAsB,CACtB,iBAAkB,CAClB,yBAA8B,CAC9B,eAAkB,CAClB,kEACE,cAAe,CACf,yBAAgC,CAClC,kGACE,oBAAqB,CACrB,iBAAkB,CAClB,UAAW,CACX,SAAU,CACV,sBAAyB,CACzB,wGACE,iBAAkB,CAClB,UAAW,CACX,SAAU,CACV,OAAQ,CACR,UAAW,CACX,SAAU,CACV,eAAkB,CACtB,gGACE,oBAAqB,CACrB,iBAAkB,CAClB,UAAW,CACX,SAAU,CACV,eAAkB,CAClB,sGACE,iBAAkB,CAClB,UAAW,CACX,SAAU,CACV,OAAQ,CACR,UAAW,CACX,SAAU,CACV,eAAkB,CACxB,qEACE,mBAAoB,CACpB,kBAAmB,CACnB,sBAAuB,CACvB,qBAAsB,CACtB,uBAAwB,CACxB,wBAAyB,CACzB,mBAAoB,CACpB,WAAY,CACZ,UAAW,CACX,kBAAmB,CACnB,eAAgB,CAChB,UAAW,CACX,eAAiB,CACjB,eAAkB,CAClB,2EACE,UAAa,CACf,sHACE,eAAkB,CAGpB,sOACE,YAAe,CACnB,wDACE,oBAAqB,CACrB,WAAY,CACZ,UAAW,CACX,kBAAqB,CACzB,+BACE,qBAAsB,CACtB,4BAA6B,CAC7B,2BAA4B,CAC5B,yBAA0B,CAE1B,wBAAkB,CAClB,eAAgB,CAChB,eAAiB,CACjB,cAAiB,CACjB,qCACE,cAAe,CACf,+BAAsC,CACxC,wEACE,iBAAkB,CAClB,iCAAkC,CAClC,kCAAmC,CACnC,yBAA0B,CAC1B,eAAkB,CACpB,uDACE,iBAAoB,CACtB,uDACE,iBAAoB,CACtB,uDACE,iBAAoB,CACtB,uDACE,iBAAoB,CACtB,uDACE,kBAAqB,CACvB,uDACE,oBAAuB,CACzB,gDACE,oBAAqB,CACrB,OAAQ,CACR,QAAS,CACT,iBAAkB,CAClB,gCAAiC,CACjC,mCAAoC,CACpC,cAAe,CACf,0BAA2B,CAC3B,qBAAwB,CAC1B,oCACE,gBAAiB,CACjB,UAAa,CAEnB,gBACE,iBAAkB,CAClB,oBAAqB,CACrB,qBAAsB,CACtB,eAAgB,CAChB,qBAAsB,CACtB,mCAAwC,CACxC,cAAe,CACf,eAAgB,CAChB,gCAAiC,CACjC,aAAgB,CAChB,qCACE,iBAAkB,CAClB,qBAAsB,CACtB,gBAAiB,CACjB,gBAAmB,CACnB,kEACE,UAAa,CACf,8EACE,cAAe,CACf,kBAAqB,CACvB,iEACE,kBAAqB,CACrB,uEACE,oBAAqB,CACrB,iBAAkB,CAClB,oBAAqB,CACrB,UAAW,CACX,UAAW,CACX,SAAU,CACV,UAAW,CAGX,iBAAkB,CAAlB,kBAAkB,CAAlB,wBAAkB,CAClB,kBAAmB,CACnB,uBAA0B,CAChC,0CACE,yBAA4B,CAEhC,4BACE,iBAAkB,CAClB,oBAAqB,CACrB,qBAAsB,CACtB,gBAAiB,CACjB,eAAgB,CAChB,qBAAsB,CACtB,cAAe,CACf,eAAgB,CAChB,gCAAiC,CACjC,aAAgB,CAChB,6DACE,WAAY,CACZ,UAAa,CACb,oEACE,UAAW,CACX,kBAAqB,CACrB,4EACE,oCAA6C,CACjD,qEACE,yBAA4B,CAC9B,mEACE,cAAe,CACf,UAAW,CACX,kBAAqB,CACzB,+DACE,WAAY,CACZ,UAAW,CACX,iBAAoB,CACtB,8DACE,4BAA6B,CAE7B,mBAAgB,CAChB,UAAW,CACX,eAAmB,CAEvB,yBACE,aAAgB,CAElB,yBACE,kBAAmB,CACnB,aAAgB,CAChB,0DACE,kBAAmB,CACnB,0BAA2B,CAC3B,oBAAuB,CACvB,wGACE,cAAqB,CACrB,gBAAmB,CACrB,kGACE,eAAgB,CAChB,iBAAoB,CACtB,kGACE,QAAS,CACT,UAAgB,CACpB,wDACE,oBAAqB,CACrB,0BAA6B,CAC7B,oFACE,cAAqB,CACrB,eAAgB,CAChB,2BAAkC,CAClC,8BAA+B,CAC/B,mBAAoB,CACpB,2BAA8B,CAChC,qFACE,cAAqB,CACrB,eAAkB,CACtB,sDACE,iBAAkB,CAClB,MAAO,CACP,UAAa,CACb,2DACE,OAAQ,CACR,SAAY,CAElB,4BACE,iBAAkB,CAClB,KAAM,CACN,QAAS,CACT,MAAO,CACP,OAAQ,CACR,aAAgB,CAElB,uEACE,sBAA0B,CAE5B,uBACE,wBAA2B,CAC3B,mDACE,oBAAqB,CACrB,qBAAsB,CACtB,UAAW,CACX,SAAU,CACV,eAAgB,CAChB,gBAAiB,CACjB,6BAA8B,CAC9B,0BAA2B,CAC3B,4BAA+B,CACjC,oDACE,qBAAsB,CACtB,4BAA6B,CAC7B,2BAA4B,CAC5B,yBAA0B,CAE1B,wBAAkB,CAClB,eAAgB,CAChB,eAAiB,CACjB,cAAiB,CACjB,0DACE,cAAe,CACf,+BAAsC,CACxC,6FACE,iBAAkB,CAClB,iCAAkC,CAClC,kCAAmC,CACnC,yBAA0B,CAC1B,eAAkB,CACpB,+EACE,2BAA+B,CACjC,+EACE,2BAA+B,CACjC,+EACE,2BAA+B,CACjC,+EACE,2BAA+B,CACjC,+EACE,4BAAgC,CAClC,4EACE,oBAAuB,CACzB,qEACE,oBAAqB,CACrB,OAAQ,CACR,QAAS,CACT,iBAAkB,CAClB,gCAAiC,CACjC,mCAAoC,CACpC,cAAe,CACf,0BAA2B,CAC3B,qBAAwB,CAC1B,yDACE,gBAAiB,CACjB,UAAa,CACjB,oDACE,mBAAoB,CACpB,sBAAuB,CACvB,kBAAmB,CACnB,qBAAsB,CACtB,WAAY,CACZ,UAAW,CACX,gBAAiB,CACjB,qBAAsB,CACtB,iBAAkB,CAClB,yBAA8B,CAC9B,eAAkB,CAClB,0DACE,cAAe,CACf,yBAAgC,CAClC,0FACE,oBAAqB,CACrB,iBAAkB,CAClB,UAAW,CACX,SAAU,CACV,sBAAyB,CACzB,gGACE,iBAAkB,CAClB,UAAW,CACX,SAAU,CACV,OAAQ,CACR,UAAW,CACX,SAAU,CACV,eAAkB,CACtB,wFACE,oBAAqB,CACrB,iBAAkB,CAClB,UAAW,CACX,SAAU,CACV,eAAkB,CAClB,8FACE,iBAAkB,CAClB,UAAW,CACX,SAAU,CACV,OAAQ,CACR,UAAW,CACX,SAAU,CACV,eAAkB;AC7uB1B,4CAA4C\\\",sourcesContent:['.tabulator {\\\\n position: relative;\\\\n border: 1px solid #999;\\\\n background-color: #888;\\\\n font-size: 14px;\\\\n text-align: left;\\\\n overflow: hidden;\\\\n -webkit-transform: translatez(0);\\\\n -moz-transform: translatez(0);\\\\n -ms-transform: translatez(0);\\\\n -o-transform: translatez(0);\\\\n transform: translatez(0); }\\\\n .tabulator[tabulator-layout=\\\"fitDataFill\\\"] .tabulator-tableholder .tabulator-table {\\\\n min-width: 100%; }\\\\n .tabulator[tabulator-layout=\\\"fitDataTable\\\"] {\\\\n display: inline-block; }\\\\n .tabulator.tabulator-block-select {\\\\n user-select: none; }\\\\n .tabulator .tabulator-header {\\\\n position: relative;\\\\n box-sizing: border-box;\\\\n width: 100%;\\\\n border-bottom: 1px solid #999;\\\\n background-color: #e6e6e6;\\\\n color: #555;\\\\n font-weight: bold;\\\\n white-space: nowrap;\\\\n overflow: hidden;\\\\n -moz-user-select: none;\\\\n -khtml-user-select: none;\\\\n -webkit-user-select: none;\\\\n -o-user-select: none; }\\\\n .tabulator .tabulator-header.tabulator-header-hidden {\\\\n display: none; }\\\\n .tabulator .tabulator-header .tabulator-col {\\\\n display: inline-block;\\\\n position: relative;\\\\n box-sizing: border-box;\\\\n border-right: 1px solid #aaa;\\\\n background: #e6e6e6;\\\\n text-align: left;\\\\n vertical-align: bottom;\\\\n overflow: hidden; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-moving {\\\\n position: absolute;\\\\n border: 1px solid #999;\\\\n background: #cdcdcd;\\\\n pointer-events: none; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content {\\\\n box-sizing: border-box;\\\\n position: relative;\\\\n padding: 4px; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button {\\\\n padding: 0 8px; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button:hover {\\\\n cursor: pointer;\\\\n opacity: .6; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder {\\\\n position: relative; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {\\\\n box-sizing: border-box;\\\\n width: 100%;\\\\n white-space: nowrap;\\\\n overflow: hidden;\\\\n text-overflow: ellipsis;\\\\n vertical-align: bottom; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor {\\\\n box-sizing: border-box;\\\\n width: 100%;\\\\n border: 1px solid #999;\\\\n padding: 1px;\\\\n background: #fff; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-menu-button + .tabulator-title-editor {\\\\n width: calc(100% - 22px); }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter {\\\\n display: flex;\\\\n align-items: center;\\\\n position: absolute;\\\\n top: 0;\\\\n bottom: 0;\\\\n right: 4px; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {\\\\n width: 0;\\\\n height: 0;\\\\n border-left: 6px solid transparent;\\\\n border-right: 6px solid transparent;\\\\n border-bottom: 6px solid #bbb; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {\\\\n position: relative;\\\\n display: flex;\\\\n border-top: 1px solid #aaa;\\\\n overflow: hidden;\\\\n margin-right: -1px; }\\\\n .tabulator .tabulator-header .tabulator-col:first-child .tabulator-col-resize-handle.prev {\\\\n display: none; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-header-filter {\\\\n position: relative;\\\\n box-sizing: border-box;\\\\n margin-top: 2px;\\\\n width: 100%;\\\\n text-align: center; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea {\\\\n height: auto !important; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg {\\\\n margin-top: 3px; }\\\\n .tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear {\\\\n width: 0;\\\\n height: 0; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {\\\\n padding-right: 25px; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {\\\\n cursor: pointer;\\\\n background-color: #cdcdcd; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=\\\"none\\\"] .tabulator-col-content .tabulator-col-sorter {\\\\n color: #bbb; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=\\\"none\\\"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {\\\\n border-top: none;\\\\n border-bottom: 6px solid #bbb; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=\\\"asc\\\"] .tabulator-col-content .tabulator-col-sorter {\\\\n color: #666; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=\\\"asc\\\"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {\\\\n border-top: none;\\\\n border-bottom: 6px solid #666; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=\\\"desc\\\"] .tabulator-col-content .tabulator-col-sorter {\\\\n color: #666; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=\\\"desc\\\"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {\\\\n border-bottom: none;\\\\n border-top: 6px solid #666;\\\\n color: #666; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title {\\\\n writing-mode: vertical-rl;\\\\n text-orientation: mixed;\\\\n display: flex;\\\\n align-items: center;\\\\n justify-content: center; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title {\\\\n transform: rotate(180deg); }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title {\\\\n padding-right: 0;\\\\n padding-top: 20px; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title {\\\\n padding-right: 0;\\\\n padding-bottom: 20px; }\\\\n .tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter {\\\\n justify-content: center;\\\\n left: 0;\\\\n right: 0;\\\\n top: 4px;\\\\n bottom: auto; }\\\\n .tabulator .tabulator-header .tabulator-frozen {\\\\n display: inline-block;\\\\n position: absolute;\\\\n z-index: 10; }\\\\n .tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left {\\\\n border-right: 2px solid #aaa; }\\\\n .tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right {\\\\n border-left: 2px solid #aaa; }\\\\n .tabulator .tabulator-header .tabulator-calcs-holder {\\\\n box-sizing: border-box;\\\\n min-width: 600%;\\\\n background: #f3f3f3 !important;\\\\n border-top: 1px solid #aaa;\\\\n border-bottom: 1px solid #aaa;\\\\n overflow: hidden; }\\\\n .tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row {\\\\n background: #f3f3f3 !important; }\\\\n .tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle {\\\\n display: none; }\\\\n .tabulator .tabulator-header .tabulator-frozen-rows-holder {\\\\n min-width: 600%; }\\\\n .tabulator .tabulator-header .tabulator-frozen-rows-holder:empty {\\\\n display: none; }\\\\n .tabulator .tabulator-tableholder {\\\\n position: relative;\\\\n width: 100%;\\\\n white-space: nowrap;\\\\n overflow: auto;\\\\n -webkit-overflow-scrolling: touch; }\\\\n .tabulator .tabulator-tableholder:focus {\\\\n outline: none; }\\\\n .tabulator .tabulator-tableholder .tabulator-placeholder {\\\\n box-sizing: border-box;\\\\n display: flex;\\\\n align-items: center;\\\\n width: 100%; }\\\\n .tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=\\\"virtual\\\"] {\\\\n min-height: 100%;\\\\n min-width: 100%; }\\\\n .tabulator .tabulator-tableholder .tabulator-placeholder span {\\\\n display: inline-block;\\\\n margin: 0 auto;\\\\n padding: 10px;\\\\n color: #ccc;\\\\n font-weight: bold;\\\\n font-size: 20px; }\\\\n .tabulator .tabulator-tableholder .tabulator-table {\\\\n position: relative;\\\\n display: inline-block;\\\\n background-color: #fff;\\\\n white-space: nowrap;\\\\n overflow: visible;\\\\n color: #333; }\\\\n .tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs {\\\\n font-weight: bold;\\\\n background: #e2e2e2 !important; }\\\\n .tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top {\\\\n border-bottom: 2px solid #aaa; }\\\\n .tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom {\\\\n border-top: 2px solid #aaa; }\\\\n .tabulator .tabulator-footer {\\\\n padding: 5px 10px;\\\\n border-top: 1px solid #999;\\\\n background-color: #e6e6e6;\\\\n text-align: right;\\\\n color: #555;\\\\n font-weight: bold;\\\\n white-space: nowrap;\\\\n user-select: none;\\\\n -moz-user-select: none;\\\\n -khtml-user-select: none;\\\\n -webkit-user-select: none;\\\\n -o-user-select: none; }\\\\n .tabulator .tabulator-footer .tabulator-calcs-holder {\\\\n box-sizing: border-box;\\\\n width: calc(100% + 20px);\\\\n margin: -5px -10px 5px -10px;\\\\n text-align: left;\\\\n background: #f3f3f3 !important;\\\\n border-bottom: 1px solid #aaa;\\\\n border-top: 1px solid #aaa;\\\\n overflow: hidden; }\\\\n .tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row {\\\\n background: #f3f3f3 !important; }\\\\n .tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle {\\\\n display: none; }\\\\n .tabulator .tabulator-footer .tabulator-calcs-holder:only-child {\\\\n margin-bottom: -5px;\\\\n border-bottom: none; }\\\\n .tabulator .tabulator-footer .tabulator-paginator {\\\\n color: #555;\\\\n font-family: inherit;\\\\n font-weight: inherit;\\\\n font-size: inherit; }\\\\n .tabulator .tabulator-footer .tabulator-page-size {\\\\n display: inline-block;\\\\n margin: 0 5px;\\\\n padding: 2px 5px;\\\\n border: 1px solid #aaa;\\\\n border-radius: 3px; }\\\\n .tabulator .tabulator-footer .tabulator-pages {\\\\n margin: 0 7px; }\\\\n .tabulator .tabulator-footer .tabulator-page {\\\\n display: inline-block;\\\\n margin: 0 2px;\\\\n padding: 2px 5px;\\\\n border: 1px solid #aaa;\\\\n border-radius: 3px;\\\\n background: rgba(255, 255, 255, 0.2); }\\\\n .tabulator .tabulator-footer .tabulator-page.active {\\\\n color: #d00; }\\\\n .tabulator .tabulator-footer .tabulator-page:disabled {\\\\n opacity: .5; }\\\\n .tabulator .tabulator-footer .tabulator-page:not(.disabled):hover {\\\\n cursor: pointer;\\\\n background: rgba(0, 0, 0, 0.2);\\\\n color: #fff; }\\\\n .tabulator .tabulator-col-resize-handle {\\\\n position: absolute;\\\\n right: 0;\\\\n top: 0;\\\\n bottom: 0;\\\\n width: 5px; }\\\\n .tabulator .tabulator-col-resize-handle.prev {\\\\n left: 0;\\\\n right: auto; }\\\\n .tabulator .tabulator-col-resize-handle:hover {\\\\n cursor: ew-resize; }\\\\n .tabulator .tabulator-loader {\\\\n position: absolute;\\\\n display: flex;\\\\n align-items: center;\\\\n top: 0;\\\\n left: 0;\\\\n z-index: 100;\\\\n height: 100%;\\\\n width: 100%;\\\\n background: rgba(0, 0, 0, 0.4);\\\\n text-align: center; }\\\\n .tabulator .tabulator-loader .tabulator-loader-msg {\\\\n display: inline-block;\\\\n margin: 0 auto;\\\\n padding: 10px 20px;\\\\n border-radius: 10px;\\\\n background: #fff;\\\\n font-weight: bold;\\\\n font-size: 16px; }\\\\n .tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading {\\\\n border: 4px solid #333;\\\\n color: #000; }\\\\n .tabulator .tabulator-loader .tabulator-loader-msg.tabulator-error {\\\\n border: 4px solid #D00;\\\\n color: #590000; }\\\\n\\\\n.tabulator-row {\\\\n position: relative;\\\\n box-sizing: border-box;\\\\n min-height: 22px;\\\\n background-color: #fff; }\\\\n .tabulator-row.tabulator-row-even {\\\\n background-color: #EFEFEF; }\\\\n .tabulator-row.tabulator-selectable:hover {\\\\n background-color: #bbb;\\\\n cursor: pointer; }\\\\n .tabulator-row.tabulator-selected {\\\\n background-color: #9ABCEA; }\\\\n .tabulator-row.tabulator-selected:hover {\\\\n background-color: #769BCC;\\\\n cursor: pointer; }\\\\n .tabulator-row.tabulator-row-moving {\\\\n border: 1px solid #000;\\\\n background: #fff; }\\\\n .tabulator-row.tabulator-moving {\\\\n position: absolute;\\\\n border-top: 1px solid #aaa;\\\\n border-bottom: 1px solid #aaa;\\\\n pointer-events: none;\\\\n z-index: 15; }\\\\n .tabulator-row .tabulator-row-resize-handle {\\\\n position: absolute;\\\\n right: 0;\\\\n bottom: 0;\\\\n left: 0;\\\\n height: 5px; }\\\\n .tabulator-row .tabulator-row-resize-handle.prev {\\\\n top: 0;\\\\n bottom: auto; }\\\\n .tabulator-row .tabulator-row-resize-handle:hover {\\\\n cursor: ns-resize; }\\\\n .tabulator-row .tabulator-frozen {\\\\n display: inline-block;\\\\n position: absolute;\\\\n background-color: inherit;\\\\n z-index: 10; }\\\\n .tabulator-row .tabulator-frozen.tabulator-frozen-left {\\\\n border-right: 2px solid #aaa; }\\\\n .tabulator-row .tabulator-frozen.tabulator-frozen-right {\\\\n border-left: 2px solid #aaa; }\\\\n .tabulator-row .tabulator-responsive-collapse {\\\\n box-sizing: border-box;\\\\n padding: 5px;\\\\n border-top: 1px solid #aaa;\\\\n border-bottom: 1px solid #aaa; }\\\\n .tabulator-row .tabulator-responsive-collapse:empty {\\\\n display: none; }\\\\n .tabulator-row .tabulator-responsive-collapse table {\\\\n font-size: 14px; }\\\\n .tabulator-row .tabulator-responsive-collapse table tr td {\\\\n position: relative; }\\\\n .tabulator-row .tabulator-responsive-collapse table tr td:first-of-type {\\\\n padding-right: 10px; }\\\\n .tabulator-row .tabulator-cell {\\\\n display: inline-block;\\\\n position: relative;\\\\n box-sizing: border-box;\\\\n padding: 4px;\\\\n border-right: 1px solid #aaa;\\\\n vertical-align: middle;\\\\n white-space: nowrap;\\\\n overflow: hidden;\\\\n text-overflow: ellipsis; }\\\\n .tabulator-row .tabulator-cell.tabulator-editing {\\\\n border: 1px solid #1D68CD;\\\\n outline: none;\\\\n padding: 0; }\\\\n .tabulator-row .tabulator-cell.tabulator-editing input, .tabulator-row .tabulator-cell.tabulator-editing select {\\\\n border: 1px;\\\\n background: transparent; }\\\\n .tabulator-row .tabulator-cell.tabulator-validation-fail {\\\\n border: 1px solid #dd0000; }\\\\n .tabulator-row .tabulator-cell.tabulator-validation-fail input, .tabulator-row .tabulator-cell.tabulator-validation-fail select {\\\\n border: 1px;\\\\n background: transparent;\\\\n color: #dd0000; }\\\\n .tabulator-row .tabulator-cell:first-child .tabulator-col-resize-handle.prev {\\\\n display: none; }\\\\n .tabulator-row .tabulator-cell.tabulator-row-handle {\\\\n display: inline-flex;\\\\n align-items: center;\\\\n justify-content: center;\\\\n -moz-user-select: none;\\\\n -khtml-user-select: none;\\\\n -webkit-user-select: none;\\\\n -o-user-select: none; }\\\\n .tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box {\\\\n width: 80%; }\\\\n .tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar {\\\\n width: 100%;\\\\n height: 3px;\\\\n margin-top: 2px;\\\\n background: #666; }\\\\n .tabulator-row .tabulator-cell .tabulator-data-tree-branch {\\\\n display: inline-block;\\\\n vertical-align: middle;\\\\n height: 9px;\\\\n width: 7px;\\\\n margin-top: -9px;\\\\n margin-right: 5px;\\\\n border-bottom-left-radius: 1px;\\\\n border-left: 2px solid #aaa;\\\\n border-bottom: 2px solid #aaa; }\\\\n .tabulator-row .tabulator-cell .tabulator-data-tree-control {\\\\n display: inline-flex;\\\\n justify-content: center;\\\\n align-items: center;\\\\n vertical-align: middle;\\\\n height: 11px;\\\\n width: 11px;\\\\n margin-right: 5px;\\\\n border: 1px solid #333;\\\\n border-radius: 2px;\\\\n background: rgba(0, 0, 0, 0.1);\\\\n overflow: hidden; }\\\\n .tabulator-row .tabulator-cell .tabulator-data-tree-control:hover {\\\\n cursor: pointer;\\\\n background: rgba(0, 0, 0, 0.2); }\\\\n .tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse {\\\\n display: inline-block;\\\\n position: relative;\\\\n height: 7px;\\\\n width: 1px;\\\\n background: transparent; }\\\\n .tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after {\\\\n position: absolute;\\\\n content: \\\"\\\";\\\\n left: -3px;\\\\n top: 3px;\\\\n height: 1px;\\\\n width: 7px;\\\\n background: #333; }\\\\n .tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand {\\\\n display: inline-block;\\\\n position: relative;\\\\n height: 7px;\\\\n width: 1px;\\\\n background: #333; }\\\\n .tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after {\\\\n position: absolute;\\\\n content: \\\"\\\";\\\\n left: -3px;\\\\n top: 3px;\\\\n height: 1px;\\\\n width: 7px;\\\\n background: #333; }\\\\n .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {\\\\n display: inline-flex;\\\\n align-items: center;\\\\n justify-content: center;\\\\n -moz-user-select: none;\\\\n -khtml-user-select: none;\\\\n -webkit-user-select: none;\\\\n -o-user-select: none;\\\\n height: 15px;\\\\n width: 15px;\\\\n border-radius: 20px;\\\\n background: #666;\\\\n color: #fff;\\\\n font-weight: bold;\\\\n font-size: 1.1em; }\\\\n .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover {\\\\n opacity: .7; }\\\\n .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close {\\\\n display: initial; }\\\\n .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open {\\\\n display: none; }\\\\n .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close {\\\\n display: none; }\\\\n .tabulator-row .tabulator-cell .tabulator-traffic-light {\\\\n display: inline-block;\\\\n height: 14px;\\\\n width: 14px;\\\\n border-radius: 14px; }\\\\n .tabulator-row.tabulator-group {\\\\n box-sizing: border-box;\\\\n border-bottom: 1px solid #999;\\\\n border-right: 1px solid #aaa;\\\\n border-top: 1px solid #999;\\\\n padding: 5px;\\\\n padding-left: 10px;\\\\n background: #ccc;\\\\n font-weight: bold;\\\\n min-width: 100%; }\\\\n .tabulator-row.tabulator-group:hover {\\\\n cursor: pointer;\\\\n background-color: rgba(0, 0, 0, 0.1); }\\\\n .tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow {\\\\n margin-right: 10px;\\\\n border-left: 6px solid transparent;\\\\n border-right: 6px solid transparent;\\\\n border-top: 6px solid #666;\\\\n border-bottom: 0; }\\\\n .tabulator-row.tabulator-group.tabulator-group-level-1 {\\\\n padding-left: 30px; }\\\\n .tabulator-row.tabulator-group.tabulator-group-level-2 {\\\\n padding-left: 50px; }\\\\n .tabulator-row.tabulator-group.tabulator-group-level-3 {\\\\n padding-left: 70px; }\\\\n .tabulator-row.tabulator-group.tabulator-group-level-4 {\\\\n padding-left: 90px; }\\\\n .tabulator-row.tabulator-group.tabulator-group-level-5 {\\\\n padding-left: 110px; }\\\\n .tabulator-row.tabulator-group .tabulator-group-toggle {\\\\n display: inline-block; }\\\\n .tabulator-row.tabulator-group .tabulator-arrow {\\\\n display: inline-block;\\\\n width: 0;\\\\n height: 0;\\\\n margin-right: 16px;\\\\n border-top: 6px solid transparent;\\\\n border-bottom: 6px solid transparent;\\\\n border-right: 0;\\\\n border-left: 6px solid #666;\\\\n vertical-align: middle; }\\\\n .tabulator-row.tabulator-group span {\\\\n margin-left: 10px;\\\\n color: #d00; }\\\\n\\\\n.tabulator-menu {\\\\n position: absolute;\\\\n display: inline-block;\\\\n box-sizing: border-box;\\\\n background: #fff;\\\\n border: 1px solid #aaa;\\\\n box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);\\\\n font-size: 14px;\\\\n overflow-y: auto;\\\\n -webkit-overflow-scrolling: touch;\\\\n z-index: 10000; }\\\\n .tabulator-menu .tabulator-menu-item {\\\\n position: relative;\\\\n box-sizing: border-box;\\\\n padding: 5px 10px;\\\\n user-select: none; }\\\\n .tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled {\\\\n opacity: .5; }\\\\n .tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover {\\\\n cursor: pointer;\\\\n background: #EFEFEF; }\\\\n .tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu {\\\\n padding-right: 25px; }\\\\n .tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu::after {\\\\n display: inline-block;\\\\n position: absolute;\\\\n top: calc(5px + .4em);\\\\n right: 10px;\\\\n height: 7px;\\\\n width: 7px;\\\\n content: \\\\'\\\\';\\\\n border-width: 1px 1px 0 0;\\\\n border-style: solid;\\\\n border-color: #aaa;\\\\n vertical-align: top;\\\\n transform: rotate(45deg); }\\\\n .tabulator-menu .tabulator-menu-separator {\\\\n border-top: 1px solid #aaa; }\\\\n\\\\n.tabulator-edit-select-list {\\\\n position: absolute;\\\\n display: inline-block;\\\\n box-sizing: border-box;\\\\n max-height: 200px;\\\\n background: #fff;\\\\n border: 1px solid #aaa;\\\\n font-size: 14px;\\\\n overflow-y: auto;\\\\n -webkit-overflow-scrolling: touch;\\\\n z-index: 10000; }\\\\n .tabulator-edit-select-list .tabulator-edit-select-list-item {\\\\n padding: 4px;\\\\n color: #333; }\\\\n .tabulator-edit-select-list .tabulator-edit-select-list-item.active {\\\\n color: #fff;\\\\n background: #1D68CD; }\\\\n .tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused {\\\\n outline: 1px solid rgba(255, 255, 255, 0.5); }\\\\n .tabulator-edit-select-list .tabulator-edit-select-list-item.focused {\\\\n outline: 1px solid #1D68CD; }\\\\n .tabulator-edit-select-list .tabulator-edit-select-list-item:hover {\\\\n cursor: pointer;\\\\n color: #fff;\\\\n background: #1D68CD; }\\\\n .tabulator-edit-select-list .tabulator-edit-select-list-notice {\\\\n padding: 4px;\\\\n color: #333;\\\\n text-align: center; }\\\\n .tabulator-edit-select-list .tabulator-edit-select-list-group {\\\\n border-bottom: 1px solid #aaa;\\\\n padding: 4px;\\\\n padding-top: 6px;\\\\n color: #333;\\\\n font-weight: bold; }\\\\n\\\\n.tabulator.tabulator-ltr {\\\\n direction: ltr; }\\\\n\\\\n.tabulator.tabulator-rtl {\\\\n text-align: initial;\\\\n direction: rtl; }\\\\n .tabulator.tabulator-rtl .tabulator-header .tabulator-col {\\\\n text-align: initial;\\\\n border-left: 1px solid #aaa;\\\\n border-right: initial; }\\\\n .tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {\\\\n margin-right: initial;\\\\n margin-left: -1px; }\\\\n .tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {\\\\n padding-right: 0;\\\\n padding-left: 25px; }\\\\n .tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow {\\\\n left: 8px;\\\\n right: initial; }\\\\n .tabulator.tabulator-rtl .tabulator-row .tabulator-cell {\\\\n border-right: initial;\\\\n border-left: 1px solid #aaa; }\\\\n .tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch {\\\\n margin-right: initial;\\\\n margin-left: 5px;\\\\n border-bottom-left-radius: initial;\\\\n border-bottom-right-radius: 1px;\\\\n border-left: initial;\\\\n border-right: 2px solid #aaa; }\\\\n .tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control {\\\\n margin-right: initial;\\\\n margin-left: 5px; }\\\\n .tabulator.tabulator-rtl .tabulator-col-resize-handle {\\\\n position: absolute;\\\\n left: 0;\\\\n right: auto; }\\\\n .tabulator.tabulator-rtl .tabulator-col-resize-handle.prev {\\\\n right: 0;\\\\n left: auto; }\\\\n\\\\n.tabulator-print-fullscreen {\\\\n position: absolute;\\\\n top: 0;\\\\n bottom: 0;\\\\n left: 0;\\\\n right: 0;\\\\n z-index: 10000; }\\\\n\\\\nbody.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {\\\\n display: none !important; }\\\\n\\\\n.tabulator-print-table {\\\\n border-collapse: collapse; }\\\\n .tabulator-print-table .tabulator-data-tree-branch {\\\\n display: inline-block;\\\\n vertical-align: middle;\\\\n height: 9px;\\\\n width: 7px;\\\\n margin-top: -9px;\\\\n margin-right: 5px;\\\\n border-bottom-left-radius: 1px;\\\\n border-left: 2px solid #aaa;\\\\n border-bottom: 2px solid #aaa; }\\\\n .tabulator-print-table .tabulator-print-table-group {\\\\n box-sizing: border-box;\\\\n border-bottom: 1px solid #999;\\\\n border-right: 1px solid #aaa;\\\\n border-top: 1px solid #999;\\\\n padding: 5px;\\\\n padding-left: 10px;\\\\n background: #ccc;\\\\n font-weight: bold;\\\\n min-width: 100%; }\\\\n .tabulator-print-table .tabulator-print-table-group:hover {\\\\n cursor: pointer;\\\\n background-color: rgba(0, 0, 0, 0.1); }\\\\n .tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow {\\\\n margin-right: 10px;\\\\n border-left: 6px solid transparent;\\\\n border-right: 6px solid transparent;\\\\n border-top: 6px solid #666;\\\\n border-bottom: 0; }\\\\n .tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td {\\\\n padding-left: 30px !important; }\\\\n .tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td {\\\\n padding-left: 50px !important; }\\\\n .tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td {\\\\n padding-left: 70px !important; }\\\\n .tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td {\\\\n padding-left: 90px !important; }\\\\n .tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td {\\\\n padding-left: 110px !important; }\\\\n .tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle {\\\\n display: inline-block; }\\\\n .tabulator-print-table .tabulator-print-table-group .tabulator-arrow {\\\\n display: inline-block;\\\\n width: 0;\\\\n height: 0;\\\\n margin-right: 16px;\\\\n border-top: 6px solid transparent;\\\\n border-bottom: 6px solid transparent;\\\\n border-right: 0;\\\\n border-left: 6px solid #666;\\\\n vertical-align: middle; }\\\\n .tabulator-print-table .tabulator-print-table-group span {\\\\n margin-left: 10px;\\\\n color: #d00; }\\\\n .tabulator-print-table .tabulator-data-tree-control {\\\\n display: inline-flex;\\\\n justify-content: center;\\\\n align-items: center;\\\\n vertical-align: middle;\\\\n height: 11px;\\\\n width: 11px;\\\\n margin-right: 5px;\\\\n border: 1px solid #333;\\\\n border-radius: 2px;\\\\n background: rgba(0, 0, 0, 0.1);\\\\n overflow: hidden; }\\\\n .tabulator-print-table .tabulator-data-tree-control:hover {\\\\n cursor: pointer;\\\\n background: rgba(0, 0, 0, 0.2); }\\\\n .tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse {\\\\n display: inline-block;\\\\n position: relative;\\\\n height: 7px;\\\\n width: 1px;\\\\n background: transparent; }\\\\n .tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after {\\\\n position: absolute;\\\\n content: \\\"\\\";\\\\n left: -3px;\\\\n top: 3px;\\\\n height: 1px;\\\\n width: 7px;\\\\n background: #333; }\\\\n .tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand {\\\\n display: inline-block;\\\\n position: relative;\\\\n height: 7px;\\\\n width: 1px;\\\\n background: #333; }\\\\n .tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after {\\\\n position: absolute;\\\\n content: \\\"\\\";\\\\n left: -3px;\\\\n top: 3px;\\\\n height: 1px;\\\\n width: 7px;\\\\n background: #333; }\\\\n','.tabulator{position:relative;border:1px solid #999;background-color:#888;font-size:14px;text-align:left;overflow:hidden;-webkit-transform:translatez(0);-moz-transform:translatez(0);-ms-transform:translatez(0);-o-transform:translatez(0);transform:translatez(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #999;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-col{display:inline-block;position:relative;box-sizing:border-box;border-right:1px solid #aaa;background:#e6e6e6;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #999;background:#cdcdcd;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-menu-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-menu-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover{cursor:pointer;background-color:#cdcdcd}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{display:inline-block;position:absolute;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;min-width:600%;background:#f3f3f3!important;border-top:1px solid #aaa;border-bottom:1px solid #aaa;overflow:hidden}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{min-width:600%}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder span{display:inline-block;margin:0 auto;padding:10px;color:#ccc;font-weight:700;font-size:20px}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#e2e2e2!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #aaa}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #aaa}.tabulator .tabulator-footer{padding:5px 10px;border-top:1px solid #999;background-color:#e6e6e6;text-align:right;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:calc(100% + 20px);margin:-5px -10px 5px;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #aaa;border-top:1px solid #aaa;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer .tabulator-paginator{color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #aaa;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #aaa;border-radius:3px;background:hsla(0,0%,100%,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}.tabulator .tabulator-col-resize-handle{position:absolute;right:0;top:0;bottom:0;width:5px}.tabulator .tabulator-col-resize-handle.prev{left:0;right:auto}.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}.tabulator .tabulator-loader{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-loader .tabulator-loader-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading{border:4px solid #333;color:#000}.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-error{border:4px solid #d00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:22px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#efefef}.tabulator-row.tabulator-selectable:hover{background-color:#bbb;cursor:pointer}.tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #aaa;border-bottom:1px solid #aaa;pointer-events:none;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}.tabulator-row .tabulator-frozen{display:inline-block;position:absolute;background-color:inherit;z-index:10}.tabulator-row .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #aaa}.tabulator-row .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #aaa}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #aaa;border-bottom:1px solid #aaa}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #aaa;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell:first-child .tabulator-col-resize-handle.prev{display:none}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #aaa;border-bottom:2px solid #aaa}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:\\\"\\\";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:\\\"\\\";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open,.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #aaa;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-menu{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #aaa;box-shadow:0 0 5px 0 rgba(0,0,0,.2);font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#efefef}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:\\\"\\\";border-color:#aaa;border-style:solid;border-width:1px 1px 0 0;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #aaa}.tabulator-edit-select-list{position:absolute;display:inline-block;box-sizing:border-box;max-height:200px;background:#fff;border:1px solid #aaa;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-edit-select-list .tabulator-edit-select-list-item{padding:4px;color:#333}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid hsla(0,0%,100%,.5)}.tabulator-edit-select-list .tabulator-edit-select-list-item.focused{outline:1px solid #1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}.tabulator-edit-select-list .tabulator-edit-select-list-notice{padding:4px;color:#333;text-align:center}.tabulator-edit-select-list .tabulator-edit-select-list-group{border-bottom:1px solid #aaa;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:0;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow{left:8px;right:auto}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:0;margin-left:5px;border-bottom-left-radius:0;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #aaa}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:0;margin-left:5px}.tabulator.tabulator-rtl .tabulator-col-resize-handle{position:absolute;left:0;right:auto}.tabulator.tabulator-rtl .tabulator-col-resize-handle.prev{right:0;left:auto}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #aaa;border-bottom:2px solid #aaa}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #aaa;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:\\\"\\\";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:\\\"\\\";left:-3px;top:3px;height:1px;width:7px;background:#333}\\\\n/*# sourceMappingURL=tabulator.min.css.map */'],sourceRoot:\\\"\\\"}]);const s=a},6258:t=>{t.exports='<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6.16 14.41L1.37 9.66l1.26-1.28 3.24 3.21L13.23.5l1.5 1-8.57 12.91z\\\"/></svg>'},4245:t=>{t.exports='<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M5 7.99L1.5 4.5l1-1L5 6.01 7.5 3.5l.99 1L5 7.99z\\\"/></svg>'},899:t=>{t.exports='<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M1 4.1h8v1.8H1z\\\"/></svg>'},6329:(t,e,n)=>{\\\"use strict\\\";var r=n(3610);function i(){var t={},e=0,n=0,r=0;return{add:function(i,o){o||(o=i,i=0),i>n?n=i:i<r&&(r=i),t[i]||(t[i]=[]),t[i].push(o),e++},process:function(){for(var e=r;e<=n;e++)for(var i=t[e],o=0;o<i.length;o++)(0,i[o])()},size:function(){return e}}}t.exports=function(t){var e=(t=t||{}).reporter,n=r.getOption(t,\\\"async\\\",!0),o=r.getOption(t,\\\"auto\\\",!0);o&&!n&&(e&&e.warn(\\\"Invalid options combination. auto=true and async=false is invalid. Setting async=true.\\\"),n=!0);var a,s=i(),l=!1;function u(){for(l=!0;s.size();){var t=s;s=i(),t.process()}l=!1}function c(){a=setTimeout(u,0)}return{add:function(t,e){!l&&o&&n&&0===s.size()&&c(),s.add(t,e)},force:function(t){l||(void 0===t&&(t=n),a&&(clearTimeout(a),a=null),t?c():u())}}}},3610:t=>{\\\"use strict\\\";(t.exports={}).getOption=function(t,e,n){var r=t[e];return null==r&&void 0!==n?n:r}},5681:(t,e)=>{var n;!function(){\\\"use strict\\\";var r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if(\\\"string\\\"===o||\\\"number\\\"===o)t.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&t.push(a)}}else if(\\\"object\\\"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&t.push(s);else t.push(n.toString())}}return t.join(\\\" \\\")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},2511:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t,e){var n=this,r=n.constructor;return n.options=Object.assign({storeInstancesGlobally:!0},e||{}),n.callbacks={},n.directMap={},n.sequenceLevels={},n.resetTimer=null,n.ignoreNextKeyup=!1,n.ignoreNextKeypress=!1,n.nextExpectedAction=!1,n.element=t,n.addEvents(),n.options.storeInstancesGlobally&&r.instances.push(n),n},t.exports.prototype.bind=n(6533),t.exports.prototype.bindMultiple=n(7070),t.exports.prototype.unbind=n(7849),t.exports.prototype.trigger=n(6530),t.exports.prototype.reset=n(4824),t.exports.prototype.stopCallback=n(3942),t.exports.prototype.handleKey=n(4774),t.exports.prototype.addEvents=n(1888),t.exports.prototype.bindSingle=n(2531),t.exports.prototype.getKeyInfo=n(3257),t.exports.prototype.pickBestAction=n(6577),t.exports.prototype.getReverseMap=n(6261),t.exports.prototype.getMatches=n(8779),t.exports.prototype.resetSequences=n(9252),t.exports.prototype.fireCallback=n(2313),t.exports.prototype.bindSequence=n(1398),t.exports.prototype.resetSequenceTimer=n(8487),t.exports.prototype.detach=n(292),t.exports.instances=[],t.exports.reset=n(3573),t.exports.REVERSE_MAP=null},1888:(t,e,n)=>{\\\"use strict\\\";t.exports=function(){var t=this,e=n(6148),r=t.element;t.eventHandler=n(4574).bind(t),e(r,\\\"keypress\\\",t.eventHandler),e(r,\\\"keydown\\\",t.eventHandler),e(r,\\\"keyup\\\",t.eventHandler)}},6533:t=>{\\\"use strict\\\";t.exports=function(t,e,n){return t=t instanceof Array?t:[t],this.bindMultiple(t,e,n),this}},7070:t=>{\\\"use strict\\\";t.exports=function(t,e,n){for(var r=0;r<t.length;++r)this.bindSingle(t[r],e,n)}},1398:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t,e,r,i){var o=this;function a(e){return function(){o.nextExpectedAction=e,++o.sequenceLevels[t],o.resetSequenceTimer()}}function s(e){var a;o.fireCallback(r,e,t),\\\"keyup\\\"!==i&&(a=n(7322),o.ignoreNextKeyup=a(e)),setTimeout((function(){o.resetSequences()}),10)}o.sequenceLevels[t]=0;for(var l=0;l<e.length;++l){var u=l+1===e.length?s:a(i||o.getKeyInfo(e[l+1]).action);o.bindSingle(e[l],u,i,t,l)}}},2531:t=>{\\\"use strict\\\";t.exports=function(t,e,n,r,i){var o=this;o.directMap[t+\\\":\\\"+n]=e;var a,s=(t=t.replace(/\\\\s+/g,\\\" \\\")).split(\\\" \\\");s.length>1?o.bindSequence(t,s,e,n):(a=o.getKeyInfo(t,n),o.callbacks[a.key]=o.callbacks[a.key]||[],o.getMatches(a.key,a.modifiers,{type:a.action},r,t,i),o.callbacks[a.key][r?\\\"unshift\\\":\\\"push\\\"]({callback:e,modifiers:a.modifiers,action:a.action,seq:r,level:i,combo:t}))}},292:(t,e,n)=>{var r=n(6148).off;t.exports=function(){var t=this,e=t.element;r(e,\\\"keypress\\\",t.eventHandler),r(e,\\\"keydown\\\",t.eventHandler),r(e,\\\"keyup\\\",t.eventHandler)}},6148:t=>{function e(t,e,n,r){return!t.addEventListener&&(e=\\\"on\\\"+e),(t.addEventListener||t.attachEvent).call(t,e,n,r),n}t.exports=e,t.exports.on=e,t.exports.off=function(t,e,n,r){return!t.removeEventListener&&(e=\\\"on\\\"+e),(t.removeEventListener||t.detachEvent).call(t,e,n,r),n}},2313:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t,e,r,i){this.stopCallback(e,e.target||e.srcElement,r,i)||!1===t(e,r)&&(n(8252)(e),n(9100)(e))}},3257:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t,e){var r,i,o,a,s,l,u=[];for(r=n(1590)(t),a=n(8845),s=n(5169),l=n(2019),o=0;o<r.length;++o)a[i=r[o]]&&(i=a[i]),e&&\\\"keypress\\\"!==e&&s[i]&&(i=s[i],u.push(\\\"shift\\\")),l(i)&&u.push(i);return{key:i,modifiers:u,action:e=this.pickBestAction(i,u,e)}}},8779:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t,e,r,i,o,a){var s,l,u,c,h=this,p=[],f=r.type;if(\\\"keypress\\\"!==f||r.code&&\\\"Arrow\\\"===r.code.slice(0,5)||(h.callbacks[\\\"any-character\\\"]||[]).forEach((function(t){p.push(t)})),!h.callbacks[t])return p;for(u=n(2019),\\\"keyup\\\"===f&&u(t)&&(e=[t]),s=0;s<h.callbacks[t].length;++s)if(l=h.callbacks[t][s],(i||!l.seq||h.sequenceLevels[l.seq]===l.level)&&f===l.action&&(c=n(9387),\\\"keypress\\\"===f&&!r.metaKey&&!r.ctrlKey||c(e,l.modifiers))){var d=!i&&l.combo===o,m=i&&l.seq===i&&l.level===a;(d||m)&&h.callbacks[t].splice(s,1),p.push(l)}return p}},6261:(t,e,n)=>{\\\"use strict\\\";t.exports=function(){var t,e=this.constructor;if(!e.REVERSE_MAP)for(var r in e.REVERSE_MAP={},t=n(9474))r>95&&r<112||t.hasOwnProperty(r)&&(e.REVERSE_MAP[t[r]]=r);return e.REVERSE_MAP}},4774:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t,e,r){var i,o,a,s,l=this,u={},c=0,h=!1;for(i=l.getMatches(t,e,r),o=0;o<i.length;++o)i[o].seq&&(c=Math.max(c,i[o].level));for(o=0;o<i.length;++o)if(i[o].seq){if(i[o].level!==c)continue;h=!0,u[i[o].seq]=1,l.fireCallback(i[o].callback,r,i[o].combo,i[o].seq)}else h||l.fireCallback(i[o].callback,r,i[o].combo);s=\\\"keypress\\\"===r.type&&l.ignoreNextKeypress,a=n(2019),r.type!==l.nextExpectedAction||a(t)||s||l.resetSequences(u),l.ignoreNextKeypress=h&&\\\"keydown\\\"===r.type}},4574:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t){var e,r=this;\\\"number\\\"!=typeof t.which&&(t.which=t.keyCode);var i=n(7322)(t);void 0!==i&&(\\\"keyup\\\"!==t.type||r.ignoreNextKeyup!==i?(e=n(1410),r.handleKey(i,e(t),t)):r.ignoreNextKeyup=!1)}},9387:t=>{\\\"use strict\\\";t.exports=function(t,e){return t.sort().join(\\\",\\\")===e.sort().join(\\\",\\\")}},6577:t=>{\\\"use strict\\\";t.exports=function(t,e,n){return n||(n=this.getReverseMap()[t]?\\\"keydown\\\":\\\"keypress\\\"),\\\"keypress\\\"===n&&e.length&&(n=\\\"keydown\\\"),n}},4824:t=>{\\\"use strict\\\";t.exports=function(){return this.callbacks={},this.directMap={},this}},8487:t=>{\\\"use strict\\\";t.exports=function(){var t=this;clearTimeout(t.resetTimer),t.resetTimer=setTimeout((function(){t.resetSequences()}),1e3)}},9252:t=>{\\\"use strict\\\";t.exports=function(t){var e=this;t=t||{};var n,r=!1;for(n in e.sequenceLevels)t[n]?r=!0:e.sequenceLevels[n]=0;r||(e.nextExpectedAction=!1)}},3942:t=>{\\\"use strict\\\";t.exports=function(t,e){if((\\\" \\\"+e.className+\\\" \\\").indexOf(\\\" combokeys \\\")>-1)return!1;var n=e.tagName.toLowerCase();return\\\"input\\\"===n||\\\"select\\\"===n||\\\"textarea\\\"===n||e.isContentEditable}},6530:t=>{\\\"use strict\\\";t.exports=function(t,e){return this.directMap[t+\\\":\\\"+e]&&this.directMap[t+\\\":\\\"+e]({},t),this}},7849:t=>{\\\"use strict\\\";t.exports=function(t,e){return this.bind(t,(function(){}),e)}},3573:t=>{\\\"use strict\\\";t.exports=function(){this.instances.forEach((function(t){t.reset()}))}},7322:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t){var e,r;if(e=n(9474),r=n(7807),\\\"keypress\\\"===t.type){var i=String.fromCharCode(t.which);return t.shiftKey||(i=i.toLowerCase()),i}return void 0!==e[t.which]?e[t.which]:void 0!==r[t.which]?r[t.which]:String.fromCharCode(t.which).toLowerCase()}},1410:t=>{\\\"use strict\\\";t.exports=function(t){var e=[];return t.shiftKey&&e.push(\\\"shift\\\"),t.altKey&&e.push(\\\"alt\\\"),t.ctrlKey&&e.push(\\\"ctrl\\\"),t.metaKey&&e.push(\\\"meta\\\"),e}},2019:t=>{\\\"use strict\\\";t.exports=function(t){return\\\"shift\\\"===t||\\\"ctrl\\\"===t||\\\"alt\\\"===t||\\\"meta\\\"===t}},1590:t=>{\\\"use strict\\\";t.exports=function(t){return\\\"+\\\"===t?[\\\"+\\\"]:t.split(\\\"+\\\")}},8252:t=>{\\\"use strict\\\";t.exports=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1}},5169:t=>{\\\"use strict\\\";t.exports={\\\"~\\\":\\\"`\\\",\\\"!\\\":\\\"1\\\",\\\"@\\\":\\\"2\\\",\\\"#\\\":\\\"3\\\",$:\\\"4\\\",\\\"%\\\":\\\"5\\\",\\\"^\\\":\\\"6\\\",\\\"&\\\":\\\"7\\\",\\\"*\\\":\\\"8\\\",\\\"(\\\":\\\"9\\\",\\\")\\\":\\\"0\\\",_:\\\"-\\\",\\\"+\\\":\\\"=\\\",\\\":\\\":\\\";\\\",'\\\"':\\\"'\\\",\\\"<\\\":\\\",\\\",\\\">\\\":\\\".\\\",\\\"?\\\":\\\"/\\\",\\\"|\\\":\\\"\\\\\\\\\\\"}},8845:t=>{\\\"use strict\\\";t.exports={option:\\\"alt\\\",command:\\\"meta\\\",return:\\\"enter\\\",escape:\\\"esc\\\",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?\\\"meta\\\":\\\"ctrl\\\"}},7807:t=>{\\\"use strict\\\";t.exports={106:\\\"*\\\",107:\\\"plus\\\",109:\\\"minus\\\",110:\\\".\\\",111:\\\"/\\\",186:\\\";\\\",187:\\\"=\\\",188:\\\",\\\",189:\\\"-\\\",190:\\\".\\\",191:\\\"/\\\",192:\\\"`\\\",219:\\\"[\\\",220:\\\"\\\\\\\\\\\",221:\\\"]\\\",222:\\\"'\\\"}},9474:t=>{\\\"use strict\\\";t.exports={8:\\\"backspace\\\",9:\\\"tab\\\",13:\\\"enter\\\",16:\\\"shift\\\",17:\\\"ctrl\\\",18:\\\"alt\\\",20:\\\"capslock\\\",27:\\\"esc\\\",32:\\\"space\\\",33:\\\"pageup\\\",34:\\\"pagedown\\\",35:\\\"end\\\",36:\\\"home\\\",37:\\\"left\\\",38:\\\"up\\\",39:\\\"right\\\",40:\\\"down\\\",45:\\\"ins\\\",46:\\\"del\\\",91:\\\"meta\\\",93:\\\"meta\\\",173:\\\"minus\\\",187:\\\"plus\\\",189:\\\"minus\\\",224:\\\"meta\\\"};for(var e=1;e<20;++e)t.exports[111+e]=\\\"f\\\"+e;for(e=0;e<=9;++e)t.exports[e+96]=e},9100:t=>{\\\"use strict\\\";t.exports=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}},6945:t=>{t.exports=function(t){if(\\\"function\\\"!=typeof t)throw TypeError(String(t)+\\\" is not a function\\\");return t}},1531:(t,e,n)=>{var r=n(1749);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError(\\\"Can't set \\\"+String(t)+\\\" as a prototype\\\");return t}},8531:(t,e,n)=>{var r=n(4982),i=n(2575),o=n(9091),a=r(\\\"unscopables\\\"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},9271:(t,e,n)=>{\\\"use strict\\\";var r=n(6874).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},4617:t=>{t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError(\\\"Incorrect \\\"+(n?n+\\\" \\\":\\\"\\\")+\\\"invocation\\\");return t}},2213:(t,e,n)=>{var r=n(1749);t.exports=function(t){if(!r(t))throw TypeError(String(t)+\\\" is not an object\\\");return t}},3448:(t,e,n)=>{\\\"use strict\\\";var r=n(5478),i=n(3477),o=n(8479);t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>s;)e[s++]=t;return e}},9374:(t,e,n)=>{\\\"use strict\\\";var r=n(390).forEach,i=n(1969)(\\\"forEach\\\");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},5886:(t,e,n)=>{\\\"use strict\\\";var r=n(1114),i=n(5478),o=n(3804),a=n(6928),s=n(8479),l=n(9162),u=n(5116);t.exports=function(t){var e,n,c,h,p,f,d=i(t),m=\\\"function\\\"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,_=u(d),b=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==_||m==Array&&a(_))for(n=new m(e=s(d.length));e>b;b++)f=y?g(d[b],b):d[b],l(n,b,f);else for(p=(h=_.call(d)).next,n=new m;!(c=p.call(h)).done;b++)f=y?o(h,g,[c.value,b],!0):c.value,l(n,b,f);return n.length=b,n}},2275:(t,e,n)=>{var r=n(8685),i=n(8479),o=n(3477),a=function(t){return function(e,n,a){var s,l=r(e),u=i(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},390:(t,e,n)=>{var r=n(1114),i=n(7526),o=n(5478),a=n(8479),s=n(1182),l=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,c=4==t,h=6==t,p=7==t,f=5==t||h;return function(d,m,v,g){for(var y,_,b=o(d),x=i(b),w=r(m,v,3),A=a(x.length),C=0,M=g||s,E=e?M(d,A):n||p?M(d,0):void 0;A>C;C++)if((f||C in x)&&(_=w(y=x[C],C,b),t))if(e)E[C]=_;else if(_)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(E,y)}else switch(t){case 4:return!1;case 7:l.call(E,y)}return h?-1:u||c?c:E}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},7508:(t,e,n)=>{var r=n(3e3),i=n(4982),o=n(3836),a=i(\\\"species\\\");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},1969:(t,e,n)=>{\\\"use strict\\\";var r=n(3e3);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},6454:(t,e,n)=>{var r=n(6945),i=n(5478),o=n(7526),a=n(8479),s=function(t){return function(e,n,s,l){r(n);var u=i(e),c=o(u),h=a(u.length),p=t?h-1:0,f=t?-1:1;if(s<2)for(;;){if(p in c){l=c[p],p+=f;break}if(p+=f,t?p<0:h<=p)throw TypeError(\\\"Reduce of empty array with no initial value\\\")}for(;t?p>=0:h>p;p+=f)p in c&&(l=n(l,c[p],p,u));return l}};t.exports={left:s(!1),right:s(!0)}},1182:(t,e,n)=>{var r=n(1749),i=n(2839),o=n(4982)(\\\"species\\\");t.exports=function(t,e){var n;return i(t)&&(\\\"function\\\"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},3804:(t,e,n)=>{var r=n(2213),i=n(840);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){throw i(t),e}}},9526:(t,e,n)=>{var r=n(4982)(\\\"iterator\\\"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},8024:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},2979:(t,e,n)=>{var r=n(2859),i=n(8024),o=n(4982)(\\\"toStringTag\\\"),a=\\\"Arguments\\\"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?\\\"Undefined\\\":null===t?\\\"Null\\\":\\\"string\\\"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?i(e):\\\"Object\\\"==(r=i(e))&&\\\"function\\\"==typeof e.callee?\\\"Arguments\\\":r}},6270:(t,e,n)=>{\\\"use strict\\\";var r=n(9091).f,i=n(2575),o=n(8879),a=n(1114),s=n(4617),l=n(7371),u=n(3138),c=n(2733),h=n(4696),p=n(6669).fastKey,f=n(7840),d=f.set,m=f.getterFor;t.exports={getConstructor:function(t,e,n,u){var c=t((function(t,r){s(t,c,e),d(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),h||(t.size=0),null!=r&&l(r,t[u],{that:t,AS_ENTRIES:n})})),f=m(e),v=function(t,e,n){var r,i,o=f(t),a=g(t,e);return a?a.value=n:(o.last=a={index:i=p(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),h?o.size++:t.size++,\\\"F\\\"!==i&&(o.index[i]=a)),t},g=function(t,e){var n,r=f(t),i=p(e);if(\\\"F\\\"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(c.prototype,{clear:function(){for(var t=f(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,h?t.size=0:this.size=0},delete:function(t){var e=this,n=f(e),r=g(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),h?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=f(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),o(c.prototype,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return v(this,0===t?0:t,e)}}:{add:function(t){return v(this,t=0===t?0:t,t)}}),h&&r(c.prototype,\\\"size\\\",{get:function(){return f(this).size}}),c},setStrong:function(t,e,n){var r=e+\\\" Iterator\\\",i=m(e),o=m(r);u(t,e,(function(t,e){d(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?\\\"keys\\\"==e?{value:n.key,done:!1}:\\\"values\\\"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?\\\"entries\\\":\\\"values\\\",!n,!0),c(e)}}},5725:(t,e,n)=>{\\\"use strict\\\";var r=n(8879),i=n(6669).getWeakData,o=n(2213),a=n(1749),s=n(4617),l=n(7371),u=n(390),c=n(9713),h=n(7840),p=h.set,f=h.getterFor,d=u.find,m=u.findIndex,v=0,g=function(t){return t.frozen||(t.frozen=new y)},y=function(){this.entries=[]},_=function(t,e){return d(t.entries,(function(t){return t[0]===e}))};y.prototype={get:function(t){var e=_(this,t);if(e)return e[1]},has:function(t){return!!_(this,t)},set:function(t,e){var n=_(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=m(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,u){var h=t((function(t,r){s(t,h,e),p(t,{type:e,id:v++,frozen:void 0}),null!=r&&l(r,t[u],{that:t,AS_ENTRIES:n})})),d=f(e),m=function(t,e,n){var r=d(t),a=i(o(e),!0);return!0===a?g(r).set(e,n):a[r.id]=n,t};return r(h.prototype,{delete:function(t){var e=d(this);if(!a(t))return!1;var n=i(t);return!0===n?g(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=d(this);if(!a(t))return!1;var n=i(t);return!0===n?g(e).has(t):n&&c(n,e.id)}}),r(h.prototype,n?{get:function(t){var e=d(this);if(a(t)){var n=i(t);return!0===n?g(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return m(this,t,e)}}:{add:function(t){return m(this,t,!0)}}),h}}},2754:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(1506),o=n(4657),a=n(713),s=n(6669),l=n(7371),u=n(4617),c=n(1749),h=n(3e3),p=n(9526),f=n(2628),d=n(7202);t.exports=function(t,e,n){var m=-1!==t.indexOf(\\\"Map\\\"),v=-1!==t.indexOf(\\\"Weak\\\"),g=m?\\\"set\\\":\\\"add\\\",y=i[t],_=y&&y.prototype,b=y,x={},w=function(t){var e=_[t];a(_,t,\\\"add\\\"==t?function(t){return e.call(this,0===t?0:t),this}:\\\"delete\\\"==t?function(t){return!(v&&!c(t))&&e.call(this,0===t?0:t)}:\\\"get\\\"==t?function(t){return v&&!c(t)?void 0:e.call(this,0===t?0:t)}:\\\"has\\\"==t?function(t){return!(v&&!c(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(o(t,\\\"function\\\"!=typeof y||!(v||_.forEach&&!h((function(){(new y).entries().next()})))))b=n.getConstructor(e,t,m,g),s.REQUIRED=!0;else if(o(t,!0)){var A=new b,C=A[g](v?{}:-0,1)!=A,M=h((function(){A.has(1)})),E=p((function(t){new y(t)})),T=!v&&h((function(){for(var t=new y,e=5;e--;)t[g](e,e);return!t.has(-0)}));E||((b=e((function(e,n){u(e,b,t);var r=d(new y,e,b);return null!=n&&l(n,r[g],{that:r,AS_ENTRIES:m}),r}))).prototype=_,_.constructor=b),(M||T)&&(w(\\\"delete\\\"),w(\\\"has\\\"),m&&w(\\\"get\\\")),(T||C)&&w(g),v&&_.clear&&delete _.clear}return x[t]=b,r({global:!0,forced:b!=y},x),f(b,t),v||n.setStrong(b,t,m),b}},170:(t,e,n)=>{var r=n(9713),i=n(893),o=n(4962),a=n(9091);t.exports=function(t,e){for(var n=i(e),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(t,c)||s(t,c,l(e,c))}}},9954:(t,e,n)=>{var r=n(4982)(\\\"match\\\");t.exports=function(t){var e=/./;try{\\\"/./\\\"[t](e)}catch(n){try{return e[r]=!1,\\\"/./\\\"[t](e)}catch(t){}}return!1}},5667:(t,e,n)=>{var r=n(3e3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7210:(t,e,n)=>{var r=n(8802),i=/\\\"/g;t.exports=function(t,e,n,o){var a=String(r(t)),s=\\\"<\\\"+e;return\\\"\\\"!==n&&(s+=\\\" \\\"+n+'=\\\"'+String(o).replace(i,\\\"&quot;\\\")+'\\\"'),s+\\\">\\\"+a+\\\"</\\\"+e+\\\">\\\"}},2409:(t,e,n)=>{\\\"use strict\\\";var r=n(7685).IteratorPrototype,i=n(2575),o=n(9117),a=n(2628),s=n(1143),l=function(){return this};t.exports=function(t,e,n){var u=e+\\\" Iterator\\\";return t.prototype=i(r,{next:o(1,n)}),a(t,u,!1,!0),s[u]=l,t}},959:(t,e,n)=>{var r=n(4696),i=n(9091),o=n(9117);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9117:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9162:(t,e,n)=>{\\\"use strict\\\";var r=n(8418),i=n(9091),o=n(9117);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},3138:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(2409),o=n(1771),a=n(1464),s=n(2628),l=n(959),u=n(713),c=n(4982),h=n(6070),p=n(1143),f=n(7685),d=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,v=c(\\\"iterator\\\"),g=\\\"keys\\\",y=\\\"values\\\",_=\\\"entries\\\",b=function(){return this};t.exports=function(t,e,n,c,f,x,w){i(n,e,c);var A,C,M,E=function(t){if(t===f&&I)return I;if(!m&&t in k)return k[t];switch(t){case g:case y:case _:return function(){return new n(this,t)}}return function(){return new n(this)}},T=e+\\\" Iterator\\\",S=!1,k=t.prototype,O=k[v]||k[\\\"@@iterator\\\"]||f&&k[f],I=!m&&O||E(f),L=\\\"Array\\\"==e&&k.entries||O;if(L&&(A=o(L.call(new t)),d!==Object.prototype&&A.next&&(h||o(A)===d||(a?a(A,d):\\\"function\\\"!=typeof A[v]&&l(A,v,b)),s(A,T,!0,!0),h&&(p[T]=b))),f==y&&O&&O.name!==y&&(S=!0,I=function(){return O.call(this)}),h&&!w||k[v]===I||l(k,v,I),p[e]=I,f)if(C={values:E(y),keys:x?I:E(g),entries:E(_)},w)for(M in C)(m||S||!(M in k))&&u(k,M,C[M]);else r({target:e,proto:!0,forced:m||S},C);return C}},8666:(t,e,n)=>{var r=n(3365),i=n(9713),o=n(8498),a=n(9091).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},4696:(t,e,n)=>{var r=n(3e3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4987:(t,e,n)=>{var r=n(1506),i=n(1749),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},2597:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2078:t=>{t.exports=\\\"object\\\"==typeof window},3129:(t,e,n)=>{var r=n(3);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},5036:(t,e,n)=>{var r=n(8024),i=n(1506);t.exports=\\\"process\\\"==r(i.process)},46:(t,e,n)=>{var r=n(3);t.exports=/web0s(?!.*chrome)/i.test(r)},3:(t,e,n)=>{var r=n(1688);t.exports=r(\\\"navigator\\\",\\\"userAgent\\\")||\\\"\\\"},3836:(t,e,n)=>{var r,i,o=n(1506),a=n(3),s=o.process,l=s&&s.versions,u=l&&l.v8;u?i=(r=u.split(\\\".\\\"))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\\\\/(\\\\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\\\\/(\\\\d+)/))&&(i=r[1]),t.exports=i&&+i},3527:t=>{t.exports=[\\\"constructor\\\",\\\"hasOwnProperty\\\",\\\"isPrototypeOf\\\",\\\"propertyIsEnumerable\\\",\\\"toLocaleString\\\",\\\"toString\\\",\\\"valueOf\\\"]},4948:(t,e,n)=>{var r=n(1506),i=n(4962).f,o=n(959),a=n(713),s=n(627),l=n(170),u=n(4657);t.exports=function(t,e){var n,c,h,p,f,d=t.target,m=t.global,v=t.stat;if(n=m?r:v?r[d]||s(d,{}):(r[d]||{}).prototype)for(c in e){if(p=e[c],h=t.noTargetGet?(f=i(n,c))&&f.value:n[c],!u(m?c:d+(v?\\\".\\\":\\\"#\\\")+c,t.forced)&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(t.sham||h&&h.sham)&&o(p,\\\"sham\\\",!0),a(n,c,p,t)}}},3e3:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},8738:(t,e,n)=>{\\\"use strict\\\";n(6545);var r=n(713),i=n(76),o=n(3e3),a=n(4982),s=n(959),l=a(\\\"species\\\"),u=RegExp.prototype,c=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\\\"7\\\"},t},\\\"7\\\"!==\\\"\\\".replace(t,\\\"$<a>\\\")})),h=\\\"$0\\\"===\\\"a\\\".replace(/./,\\\"$0\\\"),p=a(\\\"replace\\\"),f=!!/./[p]&&\\\"\\\"===/./[p](\\\"a\\\",\\\"$0\\\"),d=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n=\\\"ab\\\".split(t);return 2!==n.length||\\\"a\\\"!==n[0]||\\\"b\\\"!==n[1]}));t.exports=function(t,e,n,p){var m=a(t),v=!o((function(){var e={};return e[m]=function(){return 7},7!=\\\"\\\"[t](e)})),g=v&&!o((function(){var e=!1,n=/a/;return\\\"split\\\"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags=\\\"\\\",n[m]=/./[m]),n.exec=function(){return e=!0,null},n[m](\\\"\\\"),!e}));if(!v||!g||\\\"replace\\\"===t&&(!c||!h||f)||\\\"split\\\"===t&&!d){var y=/./[m],_=n(m,\\\"\\\"[t],(function(t,e,n,r,o){var a=e.exec;return a===i||a===u.exec?v&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),b=_[0],x=_[1];r(String.prototype,t,b),r(u,m,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}p&&s(u[m],\\\"sham\\\",!0)}},6081:(t,e,n)=>{var r=n(3e3);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},1114:(t,e,n)=>{var r=n(6945);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},4376:(t,e,n)=>{\\\"use strict\\\";var r=n(6945),i=n(1749),o=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]=\\\"a[\\\"+i+\\\"]\\\";a[e]=Function(\\\"C,a\\\",\\\"return new C(\\\"+r.join(\\\",\\\")+\\\")\\\")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=o.call(arguments,1),a=function(){var r=n.concat(o.call(arguments));return this instanceof a?s(e,r.length,r):e.apply(t,r)};return i(e.prototype)&&(a.prototype=e.prototype),a}},1688:(t,e,n)=>{var r=n(3365),i=n(1506),o=function(t){return\\\"function\\\"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},5116:(t,e,n)=>{var r=n(2979),i=n(1143),o=n(4982)(\\\"iterator\\\");t.exports=function(t){if(null!=t)return t[o]||t[\\\"@@iterator\\\"]||i[r(t)]}},5868:(t,e,n)=>{var r=n(5478),i=Math.floor,o=\\\"\\\".replace,a=/\\\\$([$&'`]|\\\\d{1,2}|<[^>]*>)/g,s=/\\\\$([$&'`]|\\\\d{1,2})/g;t.exports=function(t,e,n,l,u,c){var h=n+t.length,p=l.length,f=s;return void 0!==u&&(u=r(u),f=a),o.call(c,f,(function(r,o){var a;switch(o.charAt(0)){case\\\"$\\\":return\\\"$\\\";case\\\"&\\\":return t;case\\\"`\\\":return e.slice(0,n);case\\\"'\\\":return e.slice(h);case\\\"<\\\":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>p){var c=i(s/10);return 0===c?r:c<=p?void 0===l[c-1]?o.charAt(1):l[c-1]+o.charAt(1):r}a=l[s-1]}return void 0===a?\\\"\\\":a}))}},1506:(t,e,n)=>{var r=function(t){return t&&t.Math==Math&&t};t.exports=r(\\\"object\\\"==typeof globalThis&&globalThis)||r(\\\"object\\\"==typeof window&&window)||r(\\\"object\\\"==typeof self&&self)||r(\\\"object\\\"==typeof n.g&&n.g)||function(){return this}()||Function(\\\"return this\\\")()},9713:(t,e,n)=>{var r=n(5478),i={}.hasOwnProperty;t.exports=function(t,e){return i.call(r(t),e)}},1942:t=>{t.exports={}},2182:(t,e,n)=>{var r=n(1506);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},6731:(t,e,n)=>{var r=n(1688);t.exports=r(\\\"document\\\",\\\"documentElement\\\")},7424:(t,e,n)=>{var r=n(4696),i=n(3e3),o=n(4987);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o(\\\"div\\\"),\\\"a\\\",{get:function(){return 7}}).a}))},7526:(t,e,n)=>{var r=n(3e3),i=n(8024),o=\\\"\\\".split;t.exports=r((function(){return!Object(\\\"z\\\").propertyIsEnumerable(0)}))?function(t){return\\\"String\\\"==i(t)?o.call(t,\\\"\\\"):Object(t)}:Object},7202:(t,e,n)=>{var r=n(1749),i=n(1464);t.exports=function(t,e,n){var o,a;return i&&\\\"function\\\"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},2888:(t,e,n)=>{var r=n(9929),i=Function.toString;\\\"function\\\"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},6669:(t,e,n)=>{var r=n(1942),i=n(1749),o=n(9713),a=n(9091).f,s=n(9449),l=n(6081),u=s(\\\"meta\\\"),c=0,h=Object.isExtensible||function(){return!0},p=function(t){a(t,u,{value:{objectID:\\\"O\\\"+ ++c,weakData:{}}})},f=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return\\\"symbol\\\"==typeof t?t:(\\\"string\\\"==typeof t?\\\"S\\\":\\\"P\\\")+t;if(!o(t,u)){if(!h(t))return\\\"F\\\";if(!e)return\\\"E\\\";p(t)}return t[u].objectID},getWeakData:function(t,e){if(!o(t,u)){if(!h(t))return!0;if(!e)return!1;p(t)}return t[u].weakData},onFreeze:function(t){return l&&f.REQUIRED&&h(t)&&!o(t,u)&&p(t),t}};r[u]=!0},7840:(t,e,n)=>{var r,i,o,a=n(8789),s=n(1506),l=n(1749),u=n(959),c=n(9713),h=n(9929),p=n(5574),f=n(1942),d=\\\"Object already initialized\\\",m=s.WeakMap;if(a||h.state){var v=h.state||(h.state=new m),g=v.get,y=v.has,_=v.set;r=function(t,e){if(y.call(v,t))throw new TypeError(d);return e.facade=t,_.call(v,t,e),e},i=function(t){return g.call(v,t)||{}},o=function(t){return y.call(v,t)}}else{var b=p(\\\"state\\\");f[b]=!0,r=function(t,e){if(c(t,b))throw new TypeError(d);return e.facade=t,u(t,b,e),e},i=function(t){return c(t,b)?t[b]:{}},o=function(t){return c(t,b)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError(\\\"Incompatible receiver, \\\"+t+\\\" required\\\");return n}}}},6928:(t,e,n)=>{var r=n(4982),i=n(1143),o=r(\\\"iterator\\\"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},2839:(t,e,n)=>{var r=n(8024);t.exports=Array.isArray||function(t){return\\\"Array\\\"==r(t)}},4657:(t,e,n)=>{var r=n(3e3),i=/#|\\\\.prototype\\\\./,o=function(t,e){var n=s[a(t)];return n==u||n!=l&&(\\\"function\\\"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,\\\".\\\").toLowerCase()},s=o.data={},l=o.NATIVE=\\\"N\\\",u=o.POLYFILL=\\\"P\\\";t.exports=o},1749:t=>{t.exports=function(t){return\\\"object\\\"==typeof t?null!==t:\\\"function\\\"==typeof t}},6070:t=>{t.exports=!1},6683:(t,e,n)=>{var r=n(1749),i=n(8024),o=n(4982)(\\\"match\\\");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:\\\"RegExp\\\"==i(t))}},7371:(t,e,n)=>{var r=n(2213),i=n(6928),o=n(8479),a=n(1114),s=n(5116),l=n(840),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var c,h,p,f,d,m,v,g=n&&n.that,y=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),x=a(e,g,1+y+b),w=function(t){return c&&l(c),new u(!0,t)},A=function(t){return y?(r(t),b?x(t[0],t[1],w):x(t[0],t[1])):b?x(t,w):x(t)};if(_)c=t;else{if(\\\"function\\\"!=typeof(h=s(t)))throw TypeError(\\\"Target is not iterable\\\");if(i(h)){for(p=0,f=o(t.length);f>p;p++)if((d=A(t[p]))&&d instanceof u)return d;return new u(!1)}c=h.call(t)}for(m=c.next;!(v=m.call(c)).done;){try{d=A(v.value)}catch(t){throw l(c),t}if(\\\"object\\\"==typeof d&&d&&d instanceof u)return d}return new u(!1)}},840:(t,e,n)=>{var r=n(2213);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},7685:(t,e,n)=>{\\\"use strict\\\";var r,i,o,a=n(3e3),s=n(1771),l=n(959),u=n(9713),c=n(4982),h=n(6070),p=c(\\\"iterator\\\"),f=!1;[].keys&&(\\\"next\\\"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(r=i):f=!0);var d=null==r||a((function(){var t={};return r[p].call(t)!==t}));d&&(r={}),h&&!d||u(r,p)||l(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},1143:t=>{t.exports={}},4699:(t,e,n)=>{var r,i,o,a,s,l,u,c,h=n(1506),p=n(4962).f,f=n(27).set,d=n(3129),m=n(46),v=n(5036),g=h.MutationObserver||h.WebKitMutationObserver,y=h.document,_=h.process,b=h.Promise,x=p(h,\\\"queueMicrotask\\\"),w=x&&x.value;w||(r=function(){var t,e;for(v&&(t=_.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},d||v||m||!g||!y?b&&b.resolve?((u=b.resolve(void 0)).constructor=b,c=u.then,a=function(){c.call(u,r)}):a=v?function(){_.nextTick(r)}:function(){f.call(h,r)}:(s=!0,l=y.createTextNode(\\\"\\\"),new g(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),t.exports=w||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},9006:(t,e,n)=>{var r=n(1506);t.exports=r.Promise},1421:(t,e,n)=>{var r=n(3836),i=n(3e3);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())||!Symbol.sham&&r&&r<41}))},8789:(t,e,n)=>{var r=n(1506),i=n(2888),o=r.WeakMap;t.exports=\\\"function\\\"==typeof o&&/native code/.test(i(o))},5994:(t,e,n)=>{\\\"use strict\\\";var r=n(6945),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError(\\\"Bad Promise constructor\\\");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},6664:(t,e,n)=>{var r=n(6683);t.exports=function(t){if(r(t))throw TypeError(\\\"The method doesn't accept regular expressions\\\");return t}},8766:(t,e,n)=>{\\\"use strict\\\";var r=n(4696),i=n(3e3),o=n(4536),a=n(5760),s=n(4430),l=n(5478),u=n(7526),c=Object.assign,h=Object.defineProperty;t.exports=!c||i((function(){if(r&&1!==c({b:1},c(h({},\\\"a\\\",{enumerable:!0,get:function(){h(this,\\\"b\\\",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i=\\\"abcdefghijklmnopqrst\\\";return t[n]=7,i.split(\\\"\\\").forEach((function(t){e[t]=t})),7!=c({},t)[n]||o(c({},e)).join(\\\"\\\")!=i}))?function(t,e){for(var n=l(t),i=arguments.length,c=1,h=a.f,p=s.f;i>c;)for(var f,d=u(arguments[c++]),m=h?o(d).concat(h(d)):o(d),v=m.length,g=0;v>g;)f=m[g++],r&&!p.call(d,f)||(n[f]=d[f]);return n}:c},2575:(t,e,n)=>{var r,i=n(2213),o=n(990),a=n(3527),s=n(1942),l=n(6731),u=n(4987),c=n(5574)(\\\"IE_PROTO\\\"),h=function(){},p=function(t){return\\\"<script>\\\"+t+\\\"<\\\\/script>\\\"},f=function(){try{r=document.domain&&new ActiveXObject(\\\"htmlfile\\\")}catch(t){}var t,e;f=r?function(t){t.write(p(\\\"\\\")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=u(\\\"iframe\\\")).style.display=\\\"none\\\",l.appendChild(e),e.src=String(\\\"javascript:\\\"),(t=e.contentWindow.document).open(),t.write(p(\\\"document.F=Object\\\")),t.close(),t.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};s[c]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=i(t),n=new h,h.prototype=null,n[c]=t):n=f(),void 0===e?n:o(n,e)}},990:(t,e,n)=>{var r=n(4696),i=n(9091),o=n(2213),a=n(4536);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,l=0;s>l;)i.f(t,n=r[l++],e[n]);return t}},9091:(t,e,n)=>{var r=n(4696),i=n(7424),o=n(2213),a=n(8418),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return s(t,e,n)}catch(t){}if(\\\"get\\\"in n||\\\"set\\\"in n)throw TypeError(\\\"Accessors not supported\\\");return\\\"value\\\"in n&&(t[e]=n.value),t}},4962:(t,e,n)=>{var r=n(4696),i=n(4430),o=n(9117),a=n(8685),s=n(8418),l=n(9713),u=n(7424),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=a(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(l(t,e))return o(!i.f.call(t,e),t[e])}},7309:(t,e,n)=>{var r=n(8685),i=n(5705).f,o={}.toString,a=\\\"object\\\"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&\\\"[object Window]\\\"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},5705:(t,e,n)=>{var r=n(5187),i=n(3527).concat(\\\"length\\\",\\\"prototype\\\");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5760:(t,e)=>{e.f=Object.getOwnPropertySymbols},1771:(t,e,n)=>{var r=n(9713),i=n(5478),o=n(5574),a=n(5667),s=o(\\\"IE_PROTO\\\"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,s)?t[s]:\\\"function\\\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},5187:(t,e,n)=>{var r=n(9713),i=n(8685),o=n(2275).indexOf,a=n(1942);t.exports=function(t,e){var n,s=i(t),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},4536:(t,e,n)=>{var r=n(5187),i=n(3527);t.exports=Object.keys||function(t){return r(t,i)}},4430:(t,e)=>{\\\"use strict\\\";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},1464:(t,e,n)=>{var r=n(2213),i=n(1531);t.exports=Object.setPrototypeOf||(\\\"__proto__\\\"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,\\\"__proto__\\\").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},8585:(t,e,n)=>{var r=n(4696),i=n(4536),o=n(8685),a=n(4430).f,s=function(t){return function(e){for(var n,s=o(e),l=i(s),u=l.length,c=0,h=[];u>c;)n=l[c++],r&&!a.call(s,n)||h.push(t?[n,s[n]]:s[n]);return h}};t.exports={entries:s(!0),values:s(!1)}},7248:(t,e,n)=>{\\\"use strict\\\";var r=n(2859),i=n(2979);t.exports=r?{}.toString:function(){return\\\"[object \\\"+i(this)+\\\"]\\\"}},893:(t,e,n)=>{var r=n(1688),i=n(5705),o=n(5760),a=n(2213);t.exports=r(\\\"Reflect\\\",\\\"ownKeys\\\")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},3365:(t,e,n)=>{var r=n(1506);t.exports=r},1342:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9479:(t,e,n)=>{var r=n(2213),i=n(1749),o=n(5994);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},8879:(t,e,n)=>{var r=n(713);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},713:(t,e,n)=>{var r=n(1506),i=n(959),o=n(9713),a=n(627),s=n(2888),l=n(7840),u=l.get,c=l.enforce,h=String(String).split(\\\"String\\\");(t.exports=function(t,e,n,s){var l,u=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;\\\"function\\\"==typeof n&&(\\\"string\\\"!=typeof e||o(n,\\\"name\\\")||i(n,\\\"name\\\",e),(l=c(n)).source||(l.source=h.join(\\\"string\\\"==typeof e?e:\\\"\\\"))),t!==r?(u?!f&&t[e]&&(p=!0):delete t[e],p?t[e]=n:i(t,e,n)):p?t[e]=n:a(e,n)})(Function.prototype,\\\"toString\\\",(function(){return\\\"function\\\"==typeof this&&u(this).source||s(this)}))},6111:(t,e,n)=>{var r=n(8024),i=n(76);t.exports=function(t,e){var n=t.exec;if(\\\"function\\\"==typeof n){var o=n.call(t,e);if(\\\"object\\\"!=typeof o)throw TypeError(\\\"RegExp exec method returned something other than an Object or null\\\");return o}if(\\\"RegExp\\\"!==r(t))throw TypeError(\\\"RegExp#exec called on incompatible receiver\\\");return i.call(t,e)}},76:(t,e,n)=>{\\\"use strict\\\";var r,i,o=n(7534),a=n(6388),s=n(94),l=RegExp.prototype.exec,u=s(\\\"native-string-replace\\\",String.prototype.replace),c=l,h=(r=/a/,i=/b*/g,l.call(r,\\\"a\\\"),l.call(i,\\\"a\\\"),0!==r.lastIndex||0!==i.lastIndex),p=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec(\\\"\\\")[1];(h||f||p)&&(c=function(t){var e,n,r,i,a=this,s=p&&a.sticky,c=o.call(a),d=a.source,m=0,v=t;return s&&(-1===(c=c.replace(\\\"y\\\",\\\"\\\")).indexOf(\\\"g\\\")&&(c+=\\\"g\\\"),v=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&\\\"\\\\n\\\"!==t[a.lastIndex-1])&&(d=\\\"(?: \\\"+d+\\\")\\\",v=\\\" \\\"+v,m++),n=new RegExp(\\\"^(?:\\\"+d+\\\")\\\",c)),f&&(n=new RegExp(\\\"^\\\"+d+\\\"$(?!\\\\\\\\s)\\\",c)),h&&(e=a.lastIndex),r=l.call(s?n:a,v),s?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:h&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),f&&r&&r.length>1&&u.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=c},7534:(t,e,n)=>{\\\"use strict\\\";var r=n(2213);t.exports=function(){var t=r(this),e=\\\"\\\";return t.global&&(e+=\\\"g\\\"),t.ignoreCase&&(e+=\\\"i\\\"),t.multiline&&(e+=\\\"m\\\"),t.dotAll&&(e+=\\\"s\\\"),t.unicode&&(e+=\\\"u\\\"),t.sticky&&(e+=\\\"y\\\"),e}},6388:(t,e,n)=>{\\\"use strict\\\";var r=n(3e3);function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i(\\\"a\\\",\\\"y\\\");return t.lastIndex=2,null!=t.exec(\\\"abcd\\\")})),e.BROKEN_CARET=r((function(){var t=i(\\\"^r\\\",\\\"gy\\\");return t.lastIndex=2,null!=t.exec(\\\"str\\\")}))},8802:t=>{t.exports=function(t){if(null==t)throw TypeError(\\\"Can't call method on \\\"+t);return t}},627:(t,e,n)=>{var r=n(1506),i=n(959);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},2733:(t,e,n)=>{\\\"use strict\\\";var r=n(1688),i=n(9091),o=n(4982),a=n(4696),s=o(\\\"species\\\");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},2628:(t,e,n)=>{var r=n(9091).f,i=n(9713),o=n(4982)(\\\"toStringTag\\\");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},5574:(t,e,n)=>{var r=n(94),i=n(9449),o=r(\\\"keys\\\");t.exports=function(t){return o[t]||(o[t]=i(t))}},9929:(t,e,n)=>{var r=n(1506),i=n(627),o=\\\"__core-js_shared__\\\",a=r[o]||i(o,{});t.exports=a},94:(t,e,n)=>{var r=n(6070),i=n(9929);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(\\\"versions\\\",[]).push({version:\\\"3.12.1\\\",mode:r?\\\"pure\\\":\\\"global\\\",copyright:\\\"© 2021 Denis Pushkarev (zloirock.ru)\\\"})},6645:(t,e,n)=>{var r=n(2213),i=n(6945),o=n(4982)(\\\"species\\\");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},1274:(t,e,n)=>{var r=n(3e3);t.exports=function(t){return r((function(){var e=\\\"\\\"[t]('\\\"');return e!==e.toLowerCase()||e.split('\\\"').length>3}))}},6874:(t,e,n)=>{var r=n(2476),i=n(8802),o=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?\\\"\\\":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},9245:(t,e,n)=>{var r=n(8802),i=\\\"[\\\"+n(2804)+\\\"]\\\",o=RegExp(\\\"^\\\"+i+i+\\\"*\\\"),a=RegExp(i+i+\\\"*$\\\"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,\\\"\\\")),2&t&&(n=n.replace(a,\\\"\\\")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},27:(t,e,n)=>{var r,i,o,a=n(1506),s=n(3e3),l=n(1114),u=n(6731),c=n(4987),h=n(3129),p=n(5036),f=a.location,d=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,_=0,b={},x=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},w=function(t){return function(){x(t)}},A=function(t){x(t.data)},C=function(t){a.postMessage(t+\\\"\\\",f.protocol+\\\"//\\\"+f.host)};d&&m||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++_]=function(){(\\\"function\\\"==typeof t?t:Function(t)).apply(void 0,e)},r(_),_},m=function(t){delete b[t]},p?r=function(t){v.nextTick(w(t))}:y&&y.now?r=function(t){y.now(w(t))}:g&&!h?(o=(i=new g).port2,i.port1.onmessage=A,r=l(o.postMessage,o,1)):a.addEventListener&&\\\"function\\\"==typeof postMessage&&!a.importScripts&&f&&\\\"file:\\\"!==f.protocol&&!s(C)?(r=C,a.addEventListener(\\\"message\\\",A,!1)):r=\\\"onreadystatechange\\\"in c(\\\"script\\\")?function(t){u.appendChild(c(\\\"script\\\")).onreadystatechange=function(){u.removeChild(this),x(t)}}:function(t){setTimeout(w(t),0)}),t.exports={set:d,clear:m}},3477:(t,e,n)=>{var r=n(2476),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},8685:(t,e,n)=>{var r=n(7526),i=n(8802);t.exports=function(t){return r(i(t))}},2476:t=>{var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},8479:(t,e,n)=>{var r=n(2476),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5478:(t,e,n)=>{var r=n(8802);t.exports=function(t){return Object(r(t))}},8418:(t,e,n)=>{var r=n(1749);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&\\\"function\\\"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if(\\\"function\\\"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&\\\"function\\\"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError(\\\"Can't convert object to primitive value\\\")}},2859:(t,e,n)=>{var r={};r[n(4982)(\\\"toStringTag\\\")]=\\\"z\\\",t.exports=\\\"[object z]\\\"===String(r)},9449:t=>{var e=0,n=Math.random();t.exports=function(t){return\\\"Symbol(\\\"+String(void 0===t?\\\"\\\":t)+\\\")_\\\"+(++e+n).toString(36)}},2381:(t,e,n)=>{var r=n(1421);t.exports=r&&!Symbol.sham&&\\\"symbol\\\"==typeof Symbol.iterator},8498:(t,e,n)=>{var r=n(4982);e.f=r},4982:(t,e,n)=>{var r=n(1506),i=n(94),o=n(9713),a=n(9449),s=n(1421),l=n(2381),u=i(\\\"wks\\\"),c=r.Symbol,h=l?c:c&&c.withoutSetter||a;t.exports=function(t){return o(u,t)&&(s||\\\"string\\\"==typeof u[t])||(s&&o(c,t)?u[t]=c[t]:u[t]=h(\\\"Symbol.\\\"+t)),u[t]}},2804:t=>{t.exports=\\\"\\\\t\\\\n\\\\v\\\\f\\\\r    \\\\u2028\\\\u2029\\\\ufeff\\\"},2452:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(3e3),o=n(2839),a=n(1749),s=n(5478),l=n(8479),u=n(9162),c=n(1182),h=n(7508),p=n(4982),f=n(3836),d=p(\\\"isConcatSpreadable\\\"),m=9007199254740991,v=\\\"Maximum allowed index exceeded\\\",g=f>=51||!i((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),y=h(\\\"concat\\\"),_=function(t){if(!a(t))return!1;var e=t[d];return void 0!==e?!!e:o(t)};r({target:\\\"Array\\\",proto:!0,forced:!g||!y},{concat:function(t){var e,n,r,i,o,a=s(this),h=c(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(_(o=-1===e?a:arguments[e])){if(p+(i=l(o.length))>m)throw TypeError(v);for(n=0;n<i;n++,p++)n in o&&u(h,p,o[n])}else{if(p>=m)throw TypeError(v);u(h,p++,o)}return h.length=p,h}})},6020:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(390).every;r({target:\\\"Array\\\",proto:!0,forced:!n(1969)(\\\"every\\\")},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},6609:(t,e,n)=>{var r=n(4948),i=n(3448),o=n(8531);r({target:\\\"Array\\\",proto:!0},{fill:i}),o(\\\"fill\\\")},3987:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(390).filter;r({target:\\\"Array\\\",proto:!0,forced:!n(7508)(\\\"filter\\\")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},8428:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(390).findIndex,o=n(8531),a=\\\"findIndex\\\",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),r({target:\\\"Array\\\",proto:!0,forced:s},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},5591:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(390).find,o=n(8531),a=\\\"find\\\",s=!0;a in[]&&Array(1).find((function(){s=!1})),r({target:\\\"Array\\\",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},4456:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(9374);r({target:\\\"Array\\\",proto:!0,forced:[].forEach!=i},{forEach:i})},1452:(t,e,n)=>{var r=n(4948),i=n(5886);r({target:\\\"Array\\\",stat:!0,forced:!n(9526)((function(t){Array.from(t)}))},{from:i})},7745:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(2275).includes,o=n(8531);r({target:\\\"Array\\\",proto:!0},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(\\\"includes\\\")},1652:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(2275).indexOf,o=n(1969),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,l=o(\\\"indexOf\\\");r({target:\\\"Array\\\",proto:!0,forced:s||!l},{indexOf:function(t){return s?a.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},8441:(t,e,n)=>{n(4948)({target:\\\"Array\\\",stat:!0},{isArray:n(2839)})},2060:(t,e,n)=>{\\\"use strict\\\";var r=n(8685),i=n(8531),o=n(1143),a=n(7840),s=n(3138),l=\\\"Array Iterator\\\",u=a.set,c=a.getterFor(l);t.exports=s(Array,\\\"Array\\\",(function(t,e){u(this,{type:l,target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):\\\"keys\\\"==n?{value:r,done:!1}:\\\"values\\\"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),\\\"values\\\"),o.Arguments=o.Array,i(\\\"keys\\\"),i(\\\"values\\\"),i(\\\"entries\\\")},4910:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(7526),o=n(8685),a=n(1969),s=[].join,l=i!=Object,u=a(\\\"join\\\",\\\",\\\");r({target:\\\"Array\\\",proto:!0,forced:l||!u},{join:function(t){return s.call(o(this),void 0===t?\\\",\\\":t)}})},2324:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(390).map;r({target:\\\"Array\\\",proto:!0,forced:!n(7508)(\\\"map\\\")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},3898:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(6454).left,o=n(1969),a=n(3836),s=n(5036);r({target:\\\"Array\\\",proto:!0,forced:!o(\\\"reduce\\\")||!s&&a>79&&a<83},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},7610:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(1749),o=n(2839),a=n(3477),s=n(8479),l=n(8685),u=n(9162),c=n(4982),h=n(7508)(\\\"slice\\\"),p=c(\\\"species\\\"),f=[].slice,d=Math.max;r({target:\\\"Array\\\",proto:!0,forced:!h},{slice:function(t,e){var n,r,c,h=l(this),m=s(h.length),v=a(t,m),g=a(void 0===e?m:e,m);if(o(h)&&(\\\"function\\\"!=typeof(n=h.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return f.call(h,v,g);for(r=new(void 0===n?Array:n)(d(g-v,0)),c=0;v<g;v++,c++)v in h&&u(r,c,h[v]);return r.length=c,r}})},6098:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(390).some;r({target:\\\"Array\\\",proto:!0,forced:!n(1969)(\\\"some\\\")},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},3516:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(6945),o=n(5478),a=n(3e3),s=n(1969),l=[],u=l.sort,c=a((function(){l.sort(void 0)})),h=a((function(){l.sort(null)})),p=s(\\\"sort\\\");r({target:\\\"Array\\\",proto:!0,forced:c||!h||!p},{sort:function(t){return void 0===t?u.call(o(this)):u.call(o(this),i(t))}})},3751:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(3477),o=n(2476),a=n(8479),s=n(5478),l=n(1182),u=n(9162),c=n(7508)(\\\"splice\\\"),h=Math.max,p=Math.min,f=9007199254740991,d=\\\"Maximum allowed length exceeded\\\";r({target:\\\"Array\\\",proto:!0,forced:!c},{splice:function(t,e){var n,r,c,m,v,g,y=s(this),_=a(y.length),b=i(t,_),x=arguments.length;if(0===x?n=r=0:1===x?(n=0,r=_-b):(n=x-2,r=p(h(o(e),0),_-b)),_+n-r>f)throw TypeError(d);for(c=l(y,r),m=0;m<r;m++)(v=b+m)in y&&u(c,m,y[v]);if(c.length=r,n<r){for(m=b;m<_-r;m++)g=m+n,(v=m+r)in y?y[g]=y[v]:delete y[g];for(m=_;m>_-r+n;m--)delete y[m-1]}else if(n>r)for(m=_-r;m>b;m--)g=m+n-1,(v=m+r-1)in y?y[g]=y[v]:delete y[g];for(m=0;m<n;m++)y[m+b]=arguments[m+2];return y.length=_-r+n,c}})},4732:(t,e,n)=>{var r=n(713),i=Date.prototype,o=\\\"Invalid Date\\\",a=i.toString,s=i.getTime;new Date(NaN)+\\\"\\\"!=o&&r(i,\\\"toString\\\",(function(){var t=s.call(this);return t==t?a.call(this):o}))},8118:(t,e,n)=>{n(4948)({target:\\\"Function\\\",proto:!0},{bind:n(4376)})},2992:(t,e,n)=>{var r=n(4696),i=n(9091).f,o=Function.prototype,a=o.toString,s=/^\\\\s*function ([^ (]*)/,l=\\\"name\\\";r&&!(l in o)&&i(o,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return\\\"\\\"}}})},2840:(t,e,n)=>{\\\"use strict\\\";var r=n(2754),i=n(6270);t.exports=r(\\\"Map\\\",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},5913:(t,e,n)=>{var r=n(4948),i=n(3e3),o=Math.imul;r({target:\\\"Math\\\",stat:!0,forced:i((function(){return-5!=o(4294967295,5)||2!=o.length}))},{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},3961:(t,e,n)=>{\\\"use strict\\\";var r=n(4696),i=n(1506),o=n(4657),a=n(713),s=n(9713),l=n(8024),u=n(7202),c=n(8418),h=n(3e3),p=n(2575),f=n(5705).f,d=n(4962).f,m=n(9091).f,v=n(9245).trim,g=\\\"Number\\\",y=i.Number,_=y.prototype,b=l(p(_))==g,x=function(t){var e,n,r,i,o,a,s,l,u=c(t,!1);if(\\\"string\\\"==typeof u&&u.length>2)if(43===(e=(u=v(u)).charCodeAt(0))||45===e){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=u.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>i)return NaN;return parseInt(o,r)}return+u};if(o(g,!y(\\\" 0o1\\\")||!y(\\\"0b1\\\")||y(\\\"+0x1\\\"))){for(var w,A=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof A&&(b?h((function(){_.valueOf.call(n)})):l(n)!=g)?u(new y(x(e)),n,A):x(e)},C=r?f(y):\\\"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range\\\".split(\\\",\\\"),M=0;C.length>M;M++)s(y,w=C[M])&&!s(A,w)&&m(A,w,d(y,w));A.prototype=_,_.constructor=A,a(i,g,A)}},8742:(t,e,n)=>{var r=n(4948),i=n(8766);r({target:\\\"Object\\\",stat:!0,forced:Object.assign!==i},{assign:i})},1879:(t,e,n)=>{n(4948)({target:\\\"Object\\\",stat:!0,sham:!n(4696)},{create:n(2575)})},5995:(t,e,n)=>{var r=n(4948),i=n(4696);r({target:\\\"Object\\\",stat:!0,forced:!i,sham:!i},{defineProperties:n(990)})},2010:(t,e,n)=>{var r=n(4948),i=n(4696);r({target:\\\"Object\\\",stat:!0,forced:!i,sham:!i},{defineProperty:n(9091).f})},1363:(t,e,n)=>{var r=n(4948),i=n(8585).entries;r({target:\\\"Object\\\",stat:!0},{entries:function(t){return i(t)}})},9961:(t,e,n)=>{var r=n(4948),i=n(3e3),o=n(8685),a=n(4962).f,s=n(4696),l=i((function(){a(1)}));r({target:\\\"Object\\\",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},1473:(t,e,n)=>{var r=n(4948),i=n(4696),o=n(893),a=n(8685),s=n(4962),l=n(9162);r({target:\\\"Object\\\",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),i=s.f,u=o(r),c={},h=0;u.length>h;)void 0!==(n=i(r,e=u[h++]))&&l(c,e,n);return c}})},5961:(t,e,n)=>{var r=n(4948),i=n(3e3),o=n(5478),a=n(1771),s=n(5667);r({target:\\\"Object\\\",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},769:(t,e,n)=>{var r=n(4948),i=n(5478),o=n(4536);r({target:\\\"Object\\\",stat:!0,forced:n(3e3)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},3238:(t,e,n)=>{n(4948)({target:\\\"Object\\\",stat:!0},{setPrototypeOf:n(1464)})},7998:(t,e,n)=>{var r=n(2859),i=n(713),o=n(7248);r||i(Object.prototype,\\\"toString\\\",o,{unsafe:!0})},7984:(t,e,n)=>{\\\"use strict\\\";var r,i,o,a,s=n(4948),l=n(6070),u=n(1506),c=n(1688),h=n(9006),p=n(713),f=n(8879),d=n(1464),m=n(2628),v=n(2733),g=n(1749),y=n(6945),_=n(4617),b=n(2888),x=n(7371),w=n(9526),A=n(6645),C=n(27).set,M=n(4699),E=n(9479),T=n(2182),S=n(5994),k=n(1342),O=n(7840),I=n(4657),L=n(4982),P=n(2078),z=n(5036),R=n(3836),D=L(\\\"species\\\"),$=\\\"Promise\\\",B=O.get,N=O.set,F=O.getterFor($),j=h&&h.prototype,U=h,q=j,V=u.TypeError,H=u.document,G=u.process,W=S.f,X=W,Y=!!(H&&H.createEvent&&u.dispatchEvent),Z=\\\"function\\\"==typeof PromiseRejectionEvent,K=\\\"unhandledrejection\\\",J=!1,Q=I($,(function(){var t=b(U)!==String(U);if(!t&&66===R)return!0;if(l&&!q.finally)return!0;if(R>=51&&/native code/.test(U))return!1;var e=new U((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[D]=n,!(J=e.then((function(){}))instanceof n)||!t&&P&&!Z})),tt=Q||!w((function(t){U.all(t).catch((function(){}))})),et=function(t){var e;return!(!g(t)||\\\"function\\\"!=typeof(e=t.then))&&e},nt=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;M((function(){for(var r=t.value,i=1==t.state,o=0;n.length>o;){var a,s,l,u=n[o++],c=i?u.ok:u.fail,h=u.resolve,p=u.reject,f=u.domain;try{c?(i||(2===t.rejection&&at(t),t.rejection=1),!0===c?a=r:(f&&f.enter(),a=c(r),f&&(f.exit(),l=!0)),a===u.promise?p(V(\\\"Promise-chain cycle\\\")):(s=et(a))?s.call(a,h,p):h(a)):p(r)}catch(t){f&&!l&&f.exit(),p(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&it(t)}))}},rt=function(t,e,n){var r,i;Y?((r=H.createEvent(\\\"Event\\\")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},!Z&&(i=u[\\\"on\\\"+t])?i(r):t===K&&T(\\\"Unhandled promise rejection\\\",n)},it=function(t){C.call(u,(function(){var e,n=t.facade,r=t.value;if(ot(t)&&(e=k((function(){z?G.emit(\\\"unhandledRejection\\\",r,n):rt(K,n,r)})),t.rejection=z||ot(t)?2:1,e.error))throw e.value}))},ot=function(t){return 1!==t.rejection&&!t.parent},at=function(t){C.call(u,(function(){var e=t.facade;z?G.emit(\\\"rejectionHandled\\\",e):rt(\\\"rejectionhandled\\\",e,t.value)}))},st=function(t,e,n){return function(r){t(e,r,n)}},lt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,nt(t,!0))},ut=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw V(\\\"Promise can't be resolved itself\\\");var r=et(e);r?M((function(){var n={done:!1};try{r.call(e,st(ut,n,t),st(lt,n,t))}catch(e){lt(n,e,t)}})):(t.value=e,t.state=1,nt(t,!1))}catch(e){lt({done:!1},e,t)}}};if(Q&&(q=(U=function(t){_(this,U,$),y(t),r.call(this);var e=B(this);try{t(st(ut,e),st(lt,e))}catch(t){lt(e,t)}}).prototype,(r=function(t){N(this,{type:$,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(q,{then:function(t,e){var n=F(this),r=W(A(this,U));return r.ok=\\\"function\\\"!=typeof t||t,r.fail=\\\"function\\\"==typeof e&&e,r.domain=z?G.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&nt(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=B(t);this.promise=t,this.resolve=st(ut,e),this.reject=st(lt,e)},S.f=W=function(t){return t===U||t===o?new i(t):X(t)},!l&&\\\"function\\\"==typeof h&&j!==Object.prototype)){a=j.then,J||(p(j,\\\"then\\\",(function(t,e){var n=this;return new U((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),p(j,\\\"catch\\\",q.catch,{unsafe:!0}));try{delete j.constructor}catch(t){}d&&d(j,q)}s({global:!0,wrap:!0,forced:Q},{Promise:U}),m(U,$,!1,!0),v($),o=c($),s({target:$,stat:!0,forced:Q},{reject:function(t){var e=W(this);return e.reject.call(void 0,t),e.promise}}),s({target:$,stat:!0,forced:l||Q},{resolve:function(t){return E(l&&this===o?U:this,t)}}),s({target:$,stat:!0,forced:tt},{all:function(t){var e=this,n=W(e),r=n.resolve,i=n.reject,o=k((function(){var n=y(e.resolve),o=[],a=0,s=1;x(t,(function(t){var l=a++,u=!1;o.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,o[l]=t,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=W(e),r=n.reject,i=k((function(){var i=y(e.resolve);x(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},6229:(t,e,n)=>{var r=n(4948),i=n(1688),o=n(6945),a=n(2213),s=n(1749),l=n(2575),u=n(4376),c=n(3e3),h=i(\\\"Reflect\\\",\\\"construct\\\"),p=c((function(){function t(){}return!(h((function(){}),[],t)instanceof t)})),f=!c((function(){h((function(){}))})),d=p||f;r({target:\\\"Reflect\\\",stat:!0,forced:d,sham:d},{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(f&&!p)return h(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var i=n.prototype,c=l(s(i)?i:Object.prototype),d=Function.apply.call(t,c,e);return s(d)?d:c}})},6545:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(76);r({target:\\\"RegExp\\\",proto:!0,forced:/./.exec!==i},{exec:i})},2138:(t,e,n)=>{\\\"use strict\\\";var r=n(713),i=n(2213),o=n(3e3),a=n(7534),s=\\\"toString\\\",l=RegExp.prototype,u=l.toString,c=o((function(){return\\\"/a/b\\\"!=u.call({source:\\\"a\\\",flags:\\\"b\\\"})})),h=u.name!=s;(c||h)&&r(RegExp.prototype,s,(function(){var t=i(this),e=String(t.source),n=t.flags;return\\\"/\\\"+e+\\\"/\\\"+String(void 0===n&&t instanceof RegExp&&!(\\\"flags\\\"in l)?a.call(t):n)}),{unsafe:!0})},2831:(t,e,n)=>{\\\"use strict\\\";var r=n(2754),i=n(6270);t.exports=r(\\\"Set\\\",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},3411:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(7210);r({target:\\\"String\\\",proto:!0,forced:n(1274)(\\\"anchor\\\")},{anchor:function(t){return i(this,\\\"a\\\",\\\"name\\\",t)}})},5980:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(6664),o=n(8802);r({target:\\\"String\\\",proto:!0,forced:!n(9954)(\\\"includes\\\")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},9763:(t,e,n)=>{\\\"use strict\\\";var r=n(6874).charAt,i=n(7840),o=n(3138),a=\\\"String Iterator\\\",s=i.set,l=i.getterFor(a);o(String,\\\"String\\\",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},9491:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(7210);r({target:\\\"String\\\",proto:!0,forced:n(1274)(\\\"link\\\")},{link:function(t){return i(this,\\\"a\\\",\\\"href\\\",t)}})},6089:(t,e,n)=>{\\\"use strict\\\";var r=n(8738),i=n(2213),o=n(8479),a=n(8802),s=n(9271),l=n(6111);r(\\\"match\\\",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=i(t),u=String(this);if(!a.global)return l(a,u);var c=a.unicode;a.lastIndex=0;for(var h,p=[],f=0;null!==(h=l(a,u));){var d=String(h[0]);p[f]=d,\\\"\\\"===d&&(a.lastIndex=s(u,o(a.lastIndex),c)),f++}return 0===f?null:p}]}))},4267:(t,e,n)=>{\\\"use strict\\\";var r=n(8738),i=n(2213),o=n(8479),a=n(2476),s=n(8802),l=n(9271),u=n(5868),c=n(6111),h=Math.max,p=Math.min;r(\\\"replace\\\",2,(function(t,e,n,r){var f=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,d=r.REPLACE_KEEPS_$0,m=f?\\\"$\\\":\\\"$0\\\";return[function(n,r){var i=s(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!f&&d||\\\"string\\\"==typeof r&&-1===r.indexOf(m)){var s=n(e,t,this,r);if(s.done)return s.value}var v=i(t),g=String(this),y=\\\"function\\\"==typeof r;y||(r=String(r));var _=v.global;if(_){var b=v.unicode;v.lastIndex=0}for(var x=[];;){var w=c(v,g);if(null===w)break;if(x.push(w),!_)break;\\\"\\\"===String(w[0])&&(v.lastIndex=l(g,o(v.lastIndex),b))}for(var A,C=\\\"\\\",M=0,E=0;E<x.length;E++){w=x[E];for(var T=String(w[0]),S=h(p(a(w.index),g.length),0),k=[],O=1;O<w.length;O++)k.push(void 0===(A=w[O])?A:String(A));var I=w.groups;if(y){var L=[T].concat(k,S,g);void 0!==I&&L.push(I);var P=String(r.apply(void 0,L))}else P=u(T,g,S,k,I,r);S>=M&&(C+=g.slice(M,S)+P,M=S+T.length)}return C+g.slice(M)}]}))},8679:(t,e,n)=>{\\\"use strict\\\";var r=n(8738),i=n(6683),o=n(2213),a=n(8802),s=n(6645),l=n(9271),u=n(8479),c=n(6111),h=n(76),p=n(6388).UNSUPPORTED_Y,f=[].push,d=Math.min,m=4294967295;r(\\\"split\\\",2,(function(t,e,n){var r;return r=\\\"c\\\"==\\\"abbc\\\".split(/(b)*/)[1]||4!=\\\"test\\\".split(/(?:)/,-1).length||2!=\\\"ab\\\".split(/(?:ab)*/).length||4!=\\\".\\\".split(/(.?)(.?)/).length||\\\".\\\".split(/()()/).length>1||\\\"\\\".split(/.?/).length?function(t,n){var r=String(a(this)),o=void 0===n?m:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);for(var s,l,u,c=[],p=(t.ignoreCase?\\\"i\\\":\\\"\\\")+(t.multiline?\\\"m\\\":\\\"\\\")+(t.unicode?\\\"u\\\":\\\"\\\")+(t.sticky?\\\"y\\\":\\\"\\\"),d=0,v=new RegExp(t.source,p+\\\"g\\\");(s=h.call(v,r))&&!((l=v.lastIndex)>d&&(c.push(r.slice(d,s.index)),s.length>1&&s.index<r.length&&f.apply(c,s.slice(1)),u=s[0].length,d=l,c.length>=o));)v.lastIndex===s.index&&v.lastIndex++;return d===r.length?!u&&v.test(\\\"\\\")||c.push(\\\"\\\"):c.push(r.slice(d)),c.length>o?c.slice(0,o):c}:\\\"0\\\".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var a=n(r,t,this,i,r!==e);if(a.done)return a.value;var h=o(t),f=String(this),v=s(h,RegExp),g=h.unicode,y=(h.ignoreCase?\\\"i\\\":\\\"\\\")+(h.multiline?\\\"m\\\":\\\"\\\")+(h.unicode?\\\"u\\\":\\\"\\\")+(p?\\\"g\\\":\\\"y\\\"),_=new v(p?\\\"^(?:\\\"+h.source+\\\")\\\":h,y),b=void 0===i?m:i>>>0;if(0===b)return[];if(0===f.length)return null===c(_,f)?[f]:[];for(var x=0,w=0,A=[];w<f.length;){_.lastIndex=p?0:w;var C,M=c(_,p?f.slice(w):f);if(null===M||(C=d(u(_.lastIndex+(p?w:0)),f.length))===x)w=l(f,w,g);else{if(A.push(f.slice(x,w)),A.length===b)return A;for(var E=1;E<=M.length-1;E++)if(A.push(M[E]),A.length===b)return A;w=x=C}}return A.push(f.slice(x)),A}]}),p)},3315:(t,e,n)=>{\\\"use strict\\\";var r,i=n(4948),o=n(4962).f,a=n(8479),s=n(6664),l=n(8802),u=n(9954),c=n(6070),h=\\\"\\\".startsWith,p=Math.min,f=u(\\\"startsWith\\\");i({target:\\\"String\\\",proto:!0,forced:!(!c&&!f&&(r=o(String.prototype,\\\"startsWith\\\"),r&&!r.writable)||f)},{startsWith:function(t){var e=String(l(this));s(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return h?h.call(e,r,n):e.slice(n,n+r.length)===r}})},9980:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(4696),o=n(1506),a=n(9713),s=n(1749),l=n(9091).f,u=n(170),c=o.Symbol;if(i&&\\\"function\\\"==typeof c&&(!(\\\"description\\\"in c.prototype)||void 0!==c().description)){var h={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new c(t):void 0===t?c():c(t);return\\\"\\\"===t&&(h[e]=!0),e};u(p,c);var f=p.prototype=c.prototype;f.constructor=p;var d=f.toString,m=\\\"Symbol(test)\\\"==String(c(\\\"test\\\")),v=/^Symbol\\\\((.*)\\\\)[^)]+$/;l(f,\\\"description\\\",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=d.call(t);if(a(h,t))return\\\"\\\";var n=m?e.slice(7,-1):e.replace(v,\\\"$1\\\");return\\\"\\\"===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},6783:(t,e,n)=>{n(8666)(\\\"iterator\\\")},6250:(t,e,n)=>{\\\"use strict\\\";var r=n(4948),i=n(1506),o=n(1688),a=n(6070),s=n(4696),l=n(1421),u=n(2381),c=n(3e3),h=n(9713),p=n(2839),f=n(1749),d=n(2213),m=n(5478),v=n(8685),g=n(8418),y=n(9117),_=n(2575),b=n(4536),x=n(5705),w=n(7309),A=n(5760),C=n(4962),M=n(9091),E=n(4430),T=n(959),S=n(713),k=n(94),O=n(5574),I=n(1942),L=n(9449),P=n(4982),z=n(8498),R=n(8666),D=n(2628),$=n(7840),B=n(390).forEach,N=O(\\\"hidden\\\"),F=\\\"Symbol\\\",j=P(\\\"toPrimitive\\\"),U=$.set,q=$.getterFor(F),V=Object.prototype,H=i.Symbol,G=o(\\\"JSON\\\",\\\"stringify\\\"),W=C.f,X=M.f,Y=w.f,Z=E.f,K=k(\\\"symbols\\\"),J=k(\\\"op-symbols\\\"),Q=k(\\\"string-to-symbol-registry\\\"),tt=k(\\\"symbol-to-string-registry\\\"),et=k(\\\"wks\\\"),nt=i.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,it=s&&c((function(){return 7!=_(X({},\\\"a\\\",{get:function(){return X(this,\\\"a\\\",{value:7}).a}})).a}))?function(t,e,n){var r=W(V,e);r&&delete V[e],X(t,e,n),r&&t!==V&&X(V,e,r)}:X,ot=function(t,e){var n=K[t]=_(H.prototype);return U(n,{type:F,tag:t,description:e}),s||(n.description=e),n},at=u?function(t){return\\\"symbol\\\"==typeof t}:function(t){return Object(t)instanceof H},st=function(t,e,n){t===V&&st(J,e,n),d(t);var r=g(e,!0);return d(n),h(K,r)?(n.enumerable?(h(t,N)&&t[N][r]&&(t[N][r]=!1),n=_(n,{enumerable:y(0,!1)})):(h(t,N)||X(t,N,y(1,{})),t[N][r]=!0),it(t,r,n)):X(t,r,n)},lt=function(t,e){d(t);var n=v(e),r=b(n).concat(pt(n));return B(r,(function(e){s&&!ut.call(n,e)||st(t,e,n[e])})),t},ut=function(t){var e=g(t,!0),n=Z.call(this,e);return!(this===V&&h(K,e)&&!h(J,e))&&(!(n||!h(this,e)||!h(K,e)||h(this,N)&&this[N][e])||n)},ct=function(t,e){var n=v(t),r=g(e,!0);if(n!==V||!h(K,r)||h(J,r)){var i=W(n,r);return!i||!h(K,r)||h(n,N)&&n[N][r]||(i.enumerable=!0),i}},ht=function(t){var e=Y(v(t)),n=[];return B(e,(function(t){h(K,t)||h(I,t)||n.push(t)})),n},pt=function(t){var e=t===V,n=Y(e?J:v(t)),r=[];return B(n,(function(t){!h(K,t)||e&&!h(V,t)||r.push(K[t])})),r};l||(S((H=function(){if(this instanceof H)throw TypeError(\\\"Symbol is not a constructor\\\");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=L(t),n=function(t){this===V&&n.call(J,t),h(this,N)&&h(this[N],e)&&(this[N][e]=!1),it(this,e,y(1,t))};return s&&rt&&it(V,e,{configurable:!0,set:n}),ot(e,t)}).prototype,\\\"toString\\\",(function(){return q(this).tag})),S(H,\\\"withoutSetter\\\",(function(t){return ot(L(t),t)})),E.f=ut,M.f=st,C.f=ct,x.f=w.f=ht,A.f=pt,z.f=function(t){return ot(P(t),t)},s&&(X(H.prototype,\\\"description\\\",{configurable:!0,get:function(){return q(this).description}}),a||S(V,\\\"propertyIsEnumerable\\\",ut,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:H}),B(b(et),(function(t){R(t)})),r({target:F,stat:!0,forced:!l},{for:function(t){var e=String(t);if(h(Q,e))return Q[e];var n=H(e);return Q[e]=n,tt[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+\\\" is not a symbol\\\");if(h(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:\\\"Object\\\",stat:!0,forced:!l,sham:!s},{create:function(t,e){return void 0===e?_(t):lt(_(t),e)},defineProperty:st,defineProperties:lt,getOwnPropertyDescriptor:ct}),r({target:\\\"Object\\\",stat:!0,forced:!l},{getOwnPropertyNames:ht,getOwnPropertySymbols:pt}),r({target:\\\"Object\\\",stat:!0,forced:c((function(){A.f(1)}))},{getOwnPropertySymbols:function(t){return A.f(m(t))}}),G&&r({target:\\\"JSON\\\",stat:!0,forced:!l||c((function(){var t=H();return\\\"[null]\\\"!=G([t])||\\\"{}\\\"!=G({a:t})||\\\"{}\\\"!=G(Object(t))}))},{stringify:function(t,e,n){for(var r,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=e,(f(e)||void 0!==t)&&!at(t))return p(e)||(e=function(t,e){if(\\\"function\\\"==typeof r&&(e=r.call(this,t,e)),!at(e))return e}),i[1]=e,G.apply(null,i)}}),H.prototype[j]||T(H.prototype,j,H.prototype.valueOf),D(H,F),I[N]=!0},1519:(t,e,n)=>{\\\"use strict\\\";var r,i=n(1506),o=n(8879),a=n(6669),s=n(2754),l=n(5725),u=n(1749),c=n(7840).enforce,h=n(8789),p=!i.ActiveXObject&&\\\"ActiveXObject\\\"in i,f=Object.isExtensible,d=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},m=t.exports=s(\\\"WeakMap\\\",d,l);if(h&&p){r=l.getConstructor(d,\\\"WeakMap\\\",!0),a.REQUIRED=!0;var v=m.prototype,g=v.delete,y=v.has,_=v.get,b=v.set;o(v,{delete:function(t){if(u(t)&&!f(t)){var e=c(this);return e.frozen||(e.frozen=new r),g.call(this,t)||e.frozen.delete(t)}return g.call(this,t)},has:function(t){if(u(t)&&!f(t)){var e=c(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.has(t)}return y.call(this,t)},get:function(t){if(u(t)&&!f(t)){var e=c(this);return e.frozen||(e.frozen=new r),y.call(this,t)?_.call(this,t):e.frozen.get(t)}return _.call(this,t)},set:function(t,e){if(u(t)&&!f(t)){var n=c(this);n.frozen||(n.frozen=new r),y.call(this,t)?b.call(this,t,e):n.frozen.set(t,e)}else b.call(this,t,e);return this}})}},5415:(t,e,n)=>{var r=n(1506),i=n(2597),o=n(9374),a=n(959);for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==o)try{a(u,\\\"forEach\\\",o)}catch(t){u.forEach=o}}},403:(t,e,n)=>{var r=n(1506),i=n(2597),o=n(2060),a=n(959),s=n(4982),l=s(\\\"iterator\\\"),u=s(\\\"toStringTag\\\"),c=o.values;for(var h in i){var p=r[h],f=p&&p.prototype;if(f){if(f[l]!==c)try{a(f,l,c)}catch(t){f[l]=c}if(f[u]||a(f,u,h),i[h])for(var d in o)if(f[d]!==o[d])try{a(f,d,o[d])}catch(t){f[d]=o[d]}}}},5780:(t,e,n)=>{var r=n(4948),i=n(1506),o=n(3),a=[].slice,s=function(t){return function(e,n){var r=arguments.length>2,i=r?a.call(arguments,2):void 0;return t(r?function(){(\\\"function\\\"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};r({global:!0,bind:!0,forced:/MSIE .\\\\./.test(o)},{setTimeout:s(i.setTimeout),setInterval:s(i.setInterval)})},1051:t=>{\\\"use strict\\\";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=\\\"\\\",r=void 0!==e[5];return e[4]&&(n+=\\\"@supports (\\\".concat(e[4],\\\") {\\\")),e[2]&&(n+=\\\"@media \\\".concat(e[2],\\\" {\\\")),r&&(n+=\\\"@layer\\\".concat(e[5].length>0?\\\" \\\".concat(e[5]):\\\"\\\",\\\" {\\\")),n+=t(e),r&&(n+=\\\"}\\\"),e[2]&&(n+=\\\"}\\\"),e[4]&&(n+=\\\"}\\\"),n})).join(\\\"\\\")},e.i=function(t,n,r,i,o){\\\"string\\\"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<t.length;u++){var c=[].concat(t[u]);r&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]=\\\"@layer\\\".concat(c[5].length>0?\\\" \\\".concat(c[5]):\\\"\\\",\\\" {\\\").concat(c[1],\\\"}\\\")),c[5]=o),n&&(c[2]?(c[1]=\\\"@media \\\".concat(c[2],\\\" {\\\").concat(c[1],\\\"}\\\"),c[2]=n):c[2]=n),i&&(c[4]?(c[1]=\\\"@supports (\\\".concat(c[4],\\\") {\\\").concat(c[1],\\\"}\\\"),c[4]=i):c[4]=\\\"\\\".concat(i)),e.push(c))}},e}},7796:t=>{\\\"use strict\\\";t.exports=function(t){var e=t[1],n=t[3];if(!n)return e;if(\\\"function\\\"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i=\\\"sourceMappingURL=data:application/json;charset=utf-8;base64,\\\".concat(r),o=\\\"/*# \\\".concat(i,\\\" */\\\"),a=n.sources.map((function(t){return\\\"/*# sourceURL=\\\".concat(n.sourceRoot||\\\"\\\").concat(t,\\\" */\\\")}));return[e].concat(a).concat([o]).join(\\\"\\\\n\\\")}return[e].join(\\\"\\\\n\\\")}},6612:t=>{\\\"use strict\\\";var e=t.exports={};e.isIE=function(t){return!(-1===(e=navigator.userAgent.toLowerCase()).indexOf(\\\"msie\\\")&&-1===e.indexOf(\\\"trident\\\")&&-1===e.indexOf(\\\" edge/\\\")||t&&t!==function(){var t=3,e=document.createElement(\\\"div\\\"),n=e.getElementsByTagName(\\\"i\\\");do{e.innerHTML=\\\"\\\\x3c!--[if gt IE \\\"+ ++t+\\\"]><i></i><![endif]--\\\\x3e\\\"}while(n[0]);return t>4?t:void 0}());var e},e.isLegacyOpera=function(){return!!window.opera}},2103:t=>{\\\"use strict\\\";(t.exports={}).forEach=function(t,e){for(var n=0;n<t.length;n++){var r=e(t[n]);if(r)return r}}},1747:(t,e,n)=>{\\\"use strict\\\";var r=n(6612);t.exports=function(t){var e=(t=t||{}).reporter,n=t.batchProcessor,i=t.stateHandler.getState;if(!e)throw new Error(\\\"Missing required dependency: reporter.\\\");function o(e){var n=t.important?\\\" !important; \\\":\\\"; \\\";return(e.join(n)+n).trim()}function a(t){return i(t).object}return{makeDetectable:function(t,a,s){s||(s=a,a=t,t=null),(t=t||{}).debug,r.isIE(8)?s(a):function(a,s){var l=o([\\\"display: block\\\",\\\"position: absolute\\\",\\\"top: 0\\\",\\\"left: 0\\\",\\\"width: 100%\\\",\\\"height: 100%\\\",\\\"border: none\\\",\\\"padding: 0\\\",\\\"margin: 0\\\",\\\"opacity: 0\\\",\\\"z-index: -1000\\\",\\\"pointer-events: none\\\"]),u=!1,c=window.getComputedStyle(a),h=a.offsetWidth,p=a.offsetHeight;function f(){function n(){if(\\\"static\\\"===c.position){a.style.setProperty(\\\"position\\\",\\\"relative\\\",t.important?\\\"important\\\":\\\"\\\");var n=function(e,n,r,i){var o=r[i];\\\"auto\\\"!==o&&\\\"0\\\"!==function(t){return t.replace(/[^-\\\\d\\\\.]/g,\\\"\\\")}(o)&&(e.warn(\\\"An element that is positioned static has style.\\\"+i+\\\"=\\\"+o+\\\" which is ignored due to the static positioning. The element will need to be positioned relative, so the style.\\\"+i+\\\" will be set to 0. Element: \\\",n),n.style.setProperty(i,\\\"0\\\",t.important?\\\"important\\\":\\\"\\\"))};n(e,a,c,\\\"top\\\"),n(e,a,c,\\\"right\\\"),n(e,a,c,\\\"bottom\\\"),n(e,a,c,\\\"left\\\")}}\\\"\\\"!==c.position&&(n(),u=!0);var o=document.createElement(\\\"object\\\");o.style.cssText=l,o.tabIndex=-1,o.type=\\\"text/html\\\",o.setAttribute(\\\"aria-hidden\\\",\\\"true\\\"),o.onload=function(){u||n(),function t(e,n){if(!e.contentDocument){var r=i(e);return r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),void(r.checkForObjectDocumentTimeoutId=setTimeout((function(){r.checkForObjectDocumentTimeoutId=0,t(e,n)}),100))}n(e.contentDocument)}(this,(function(t){s(a)}))},r.isIE()||(o.data=\\\"about:blank\\\"),i(a)&&(a.appendChild(o),i(a).object=o,r.isIE()&&(o.data=\\\"about:blank\\\"))}i(a).startSize={width:h,height:p},n?n.add(f):f()}(a,s)},addListener:function(t,e){function n(){e(t)}if(r.isIE(8))i(t).object={proxy:n},t.attachEvent(\\\"onresize\\\",n);else{var o=a(t);if(!o)throw new Error(\\\"Element is not detectable by this strategy.\\\");o.contentDocument.defaultView.addEventListener(\\\"resize\\\",n)}},uninstall:function(t){if(i(t)){var e=a(t);e&&(r.isIE(8)?t.detachEvent(\\\"onresize\\\",e.proxy):t.removeChild(e),i(t).checkForObjectDocumentTimeoutId&&window.clearTimeout(i(t).checkForObjectDocumentTimeoutId),delete i(t).object)}}}}},7014:(t,e,n)=>{\\\"use strict\\\";var r=n(2103).forEach;t.exports=function(t){var e=(t=t||{}).reporter,n=t.batchProcessor,i=t.stateHandler.getState,o=(t.stateHandler.hasState,t.idHandler);if(!n)throw new Error(\\\"Missing required dependency: batchProcessor\\\");if(!e)throw new Error(\\\"Missing required dependency: reporter.\\\");var a=function(){var t=document.createElement(\\\"div\\\");t.style.cssText=u([\\\"position: absolute\\\",\\\"width: 1000px\\\",\\\"height: 1000px\\\",\\\"visibility: hidden\\\",\\\"margin: 0\\\",\\\"padding: 0\\\"]);var e=document.createElement(\\\"div\\\");e.style.cssText=u([\\\"position: absolute\\\",\\\"width: 500px\\\",\\\"height: 500px\\\",\\\"overflow: scroll\\\",\\\"visibility: none\\\",\\\"top: -1500px\\\",\\\"left: -1500px\\\",\\\"visibility: hidden\\\",\\\"margin: 0\\\",\\\"padding: 0\\\"]),e.appendChild(t),document.body.insertBefore(e,document.body.firstChild);var n=500-e.clientWidth,r=500-e.clientHeight;return document.body.removeChild(e),{width:n,height:r}}(),s=\\\"erd_scroll_detection_container\\\";function l(t){!function(t,e,n){if(!t.getElementById(e)){var r=n+\\\"_animation\\\",i=\\\"/* Created by the element-resize-detector library. */\\\\n\\\";i+=\\\".\\\"+n+\\\" > div::-webkit-scrollbar { \\\"+u([\\\"display: none\\\"])+\\\" }\\\\n\\\\n\\\",i+=\\\".erd_scroll_detection_container_animation_active { \\\"+u([\\\"-webkit-animation-duration: 0.1s\\\",\\\"animation-duration: 0.1s\\\",\\\"-webkit-animation-name: \\\"+r,\\\"animation-name: \\\"+r])+\\\" }\\\\n\\\",i+=\\\"@-webkit-keyframes \\\"+r+\\\" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\\\\n\\\",function(n,r){r=r||function(e){t.head.appendChild(e)};var i=t.createElement(\\\"style\\\");i.innerHTML=n,i.id=e,r(i)}(i+=\\\"@keyframes \\\"+r+\\\" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\\\")}}(t,\\\"erd_scroll_detection_scrollbar_style\\\",s)}function u(e){var n=t.important?\\\" !important; \\\":\\\"; \\\";return(e.join(n)+n).trim()}function c(t,n,r){if(t.addEventListener)t.addEventListener(n,r);else{if(!t.attachEvent)return e.error(\\\"[scroll] Don't know how to add event listeners.\\\");t.attachEvent(\\\"on\\\"+n,r)}}function h(t,n,r){if(t.removeEventListener)t.removeEventListener(n,r);else{if(!t.detachEvent)return e.error(\\\"[scroll] Don't know how to remove event listeners.\\\");t.detachEvent(\\\"on\\\"+n,r)}}function p(t){return i(t).container.childNodes[0].childNodes[0].childNodes[0]}function f(t){return i(t).container.childNodes[0].childNodes[0].childNodes[1]}return l(window.document),{makeDetectable:function(t,l,h){function d(){if(t.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(o.get(l),\\\"Scroll: \\\"),e.log.apply)e.log.apply(null,n);else for(var r=0;r<n.length;r++)e.log(n[r])}}function m(t){var e=i(t).container.childNodes[0],n=window.getComputedStyle(e);return!n.width||-1===n.width.indexOf(\\\"px\\\")}function v(){var t=window.getComputedStyle(l),e={};return e.position=t.position,e.width=l.offsetWidth,e.height=l.offsetHeight,e.top=t.top,e.right=t.right,e.bottom=t.bottom,e.left=t.left,e.widthCSS=t.width,e.heightCSS=t.height,e}function g(){if(d(\\\"storeStyle invoked.\\\"),i(l)){var t=v();i(l).style=t}else d(\\\"Aborting because element has been uninstalled\\\")}function y(t,e,n){i(t).lastWidth=e,i(t).lastHeight=n}function _(){return 2*a.width+1}function b(){return 2*a.height+1}function x(t){return t+10+_()}function w(t){return t+10+b()}function A(t,e,n){var r=p(t),i=f(t),o=x(e),a=w(n),s=function(t){return 2*t+_()}(e),l=function(t){return 2*t+b()}(n);r.scrollLeft=o,r.scrollTop=a,i.scrollLeft=s,i.scrollTop=l}function C(){var t=i(l).container;if(!t){(t=document.createElement(\\\"div\\\")).className=s,t.style.cssText=u([\\\"visibility: hidden\\\",\\\"display: inline\\\",\\\"width: 0px\\\",\\\"height: 0px\\\",\\\"z-index: -1\\\",\\\"overflow: hidden\\\",\\\"margin: 0\\\",\\\"padding: 0\\\"]),i(l).container=t,function(t){t.className+=\\\" \\\"+s+\\\"_animation_active\\\"}(t),l.appendChild(t);var e=function(){i(l).onRendered&&i(l).onRendered()};c(t,\\\"animationstart\\\",e),i(l).onAnimationStart=e}return t}function M(){if(d(\\\"Injecting elements\\\"),i(l)){!function(){var n=i(l).style;if(\\\"static\\\"===n.position){l.style.setProperty(\\\"position\\\",\\\"relative\\\",t.important?\\\"important\\\":\\\"\\\");var r=function(t,e,n,r){var i=n[r];\\\"auto\\\"!==i&&\\\"0\\\"!==function(t){return t.replace(/[^-\\\\d\\\\.]/g,\\\"\\\")}(i)&&(t.warn(\\\"An element that is positioned static has style.\\\"+r+\\\"=\\\"+i+\\\" which is ignored due to the static positioning. The element will need to be positioned relative, so the style.\\\"+r+\\\" will be set to 0. Element: \\\",e),e.style[r]=0)};r(e,l,n,\\\"top\\\"),r(e,l,n,\\\"right\\\"),r(e,l,n,\\\"bottom\\\"),r(e,l,n,\\\"left\\\")}}();var n=i(l).container;n||(n=C());var r,o,h,p,f=a.width,m=a.height,v=u([\\\"position: absolute\\\",\\\"flex: none\\\",\\\"overflow: hidden\\\",\\\"z-index: -1\\\",\\\"visibility: hidden\\\",\\\"width: 100%\\\",\\\"height: 100%\\\",\\\"left: 0px\\\",\\\"top: 0px\\\"]),g=u([\\\"position: absolute\\\",\\\"flex: none\\\",\\\"overflow: hidden\\\",\\\"z-index: -1\\\",\\\"visibility: hidden\\\"].concat([\\\"left: \\\"+(r=(r=-(1+f))?r+\\\"px\\\":\\\"0\\\"),\\\"top: \\\"+(o=(o=-(1+m))?o+\\\"px\\\":\\\"0\\\"),\\\"right: \\\"+(p=(p=-f)?p+\\\"px\\\":\\\"0\\\"),\\\"bottom: \\\"+(h=(h=-m)?h+\\\"px\\\":\\\"0\\\")])),y=u([\\\"position: absolute\\\",\\\"flex: none\\\",\\\"overflow: scroll\\\",\\\"z-index: -1\\\",\\\"visibility: hidden\\\",\\\"width: 100%\\\",\\\"height: 100%\\\"]),_=u([\\\"position: absolute\\\",\\\"flex: none\\\",\\\"overflow: scroll\\\",\\\"z-index: -1\\\",\\\"visibility: hidden\\\",\\\"width: 100%\\\",\\\"height: 100%\\\"]),b=u([\\\"position: absolute\\\",\\\"left: 0\\\",\\\"top: 0\\\"]),x=u([\\\"position: absolute\\\",\\\"width: 200%\\\",\\\"height: 200%\\\"]),w=document.createElement(\\\"div\\\"),A=document.createElement(\\\"div\\\"),M=document.createElement(\\\"div\\\"),E=document.createElement(\\\"div\\\"),T=document.createElement(\\\"div\\\"),S=document.createElement(\\\"div\\\");w.dir=\\\"ltr\\\",w.style.cssText=v,w.className=s,A.className=s,A.style.cssText=g,M.style.cssText=y,E.style.cssText=b,T.style.cssText=_,S.style.cssText=x,M.appendChild(E),T.appendChild(S),A.appendChild(M),A.appendChild(T),w.appendChild(A),n.appendChild(w),c(M,\\\"scroll\\\",k),c(T,\\\"scroll\\\",O),i(l).onExpandScroll=k,i(l).onShrinkScroll=O}else d(\\\"Aborting because element has been uninstalled\\\");function k(){var t=i(l);t&&t.onExpand?t.onExpand():d(\\\"Aborting expand scroll handler: element has been uninstalled\\\")}function O(){var t=i(l);t&&t.onShrink?t.onShrink():d(\\\"Aborting shrink scroll handler: element has been uninstalled\\\")}}function E(){function a(e,n,r){var i=function(t){return p(t).childNodes[0]}(e),o=x(n),a=w(r);i.style.setProperty(\\\"width\\\",o+\\\"px\\\",t.important?\\\"important\\\":\\\"\\\"),i.style.setProperty(\\\"height\\\",a+\\\"px\\\",t.important?\\\"important\\\":\\\"\\\")}function s(r){var s=l.offsetWidth,c=l.offsetHeight,h=s!==i(l).lastWidth||c!==i(l).lastHeight;d(\\\"Storing current size\\\",s,c),y(l,s,c),n.add(0,(function(){if(h)if(i(l))if(u()){if(t.debug){var n=l.offsetWidth,r=l.offsetHeight;n===s&&r===c||e.warn(o.get(l),\\\"Scroll: Size changed before updating detector elements.\\\")}a(l,s,c)}else d(\\\"Aborting because element container has not been initialized\\\");else d(\\\"Aborting because element has been uninstalled\\\")})),n.add(1,(function(){i(l)?u()?A(l,s,c):d(\\\"Aborting because element container has not been initialized\\\"):d(\\\"Aborting because element has been uninstalled\\\")})),h&&r&&n.add(2,(function(){i(l)?u()?r():d(\\\"Aborting because element container has not been initialized\\\"):d(\\\"Aborting because element has been uninstalled\\\")}))}function u(){return!!i(l).container}function c(){d(\\\"notifyListenersIfNeeded invoked\\\");var t=i(l);return void 0===i(l).lastNotifiedWidth&&t.lastWidth===t.startSize.width&&t.lastHeight===t.startSize.height?d(\\\"Not notifying: Size is the same as the start size, and there has been no notification yet.\\\"):t.lastWidth===t.lastNotifiedWidth&&t.lastHeight===t.lastNotifiedHeight?d(\\\"Not notifying: Size already notified\\\"):(d(\\\"Current size not notified, notifying...\\\"),t.lastNotifiedWidth=t.lastWidth,t.lastNotifiedHeight=t.lastHeight,void r(i(l).listeners,(function(t){t(l)})))}function h(){d(\\\"Scroll detected.\\\"),m(l)?d(\\\"Scroll event fired while unrendered. Ignoring...\\\"):s(c)}if(d(\\\"registerListenersAndPositionElements invoked.\\\"),i(l)){i(l).onRendered=function(){if(d(\\\"startanimation triggered.\\\"),m(l))d(\\\"Ignoring since element is still unrendered...\\\");else{d(\\\"Element rendered.\\\");var t=p(l),e=f(l);0!==t.scrollLeft&&0!==t.scrollTop&&0!==e.scrollLeft&&0!==e.scrollTop||(d(\\\"Scrollbars out of sync. Updating detector elements...\\\"),s(c))}},i(l).onExpand=h,i(l).onShrink=h;var v=i(l).style;a(l,v.width,v.height)}else d(\\\"Aborting because element has been uninstalled\\\")}function T(){if(d(\\\"finalizeDomMutation invoked.\\\"),i(l)){var t=i(l).style;y(l,t.width,t.height),A(l,t.width,t.height)}else d(\\\"Aborting because element has been uninstalled\\\")}function S(){h(l)}function k(){var t;d(\\\"Installing...\\\"),i(l).listeners=[],t=v(),i(l).startSize={width:t.width,height:t.height},d(\\\"Element start size\\\",i(l).startSize),n.add(0,g),n.add(1,M),n.add(2,E),n.add(3,T),n.add(4,S)}h||(h=l,l=t,t=null),t=t||{},d(\\\"Making detectable...\\\"),function(t){return!function(t){var e=t.getRootNode&&t.getRootNode().contains(t);return t===t.ownerDocument.body||t.ownerDocument.body.contains(t)||e}(t)||null===window.getComputedStyle(t)}(l)?(d(\\\"Element is detached\\\"),C(),d(\\\"Waiting until element is attached...\\\"),i(l).onRendered=function(){d(\\\"Element is now attached\\\"),k()}):k()},addListener:function(t,e){if(!i(t).listeners.push)throw new Error(\\\"Cannot add listener to an element that is not detectable.\\\");i(t).listeners.push(e)},uninstall:function(t){var e=i(t);e&&(e.onExpandScroll&&h(p(t),\\\"scroll\\\",e.onExpandScroll),e.onShrinkScroll&&h(f(t),\\\"scroll\\\",e.onShrinkScroll),e.onAnimationStart&&h(e.container,\\\"animationstart\\\",e.onAnimationStart),e.container&&t.removeChild(e.container))},initDocument:l}}},410:(t,e,n)=>{\\\"use strict\\\";var r=n(2103).forEach,i=n(7832),o=n(1997),a=n(8205),s=n(5436),l=n(6078),u=n(6612),c=n(6329),h=n(4738),p=n(1747),f=n(7014);function d(t){return Array.isArray(t)||void 0!==t.length}function m(t){if(Array.isArray(t))return t;var e=[];return r(t,(function(t){e.push(t)})),e}function v(t){return t&&1===t.nodeType}function g(t,e,n){var r=t[e];return null==r&&void 0!==n?n:r}t.exports=function(t){var e;if((t=t||{}).idHandler)e={get:function(e){return t.idHandler.get(e,!0)},set:t.idHandler.set};else{var n=a(),y=s({idGenerator:n,stateHandler:h});e=y}var _=t.reporter;_||(_=l(!1===_));var b=g(t,\\\"batchProcessor\\\",c({reporter:_})),x={};x.callOnAdd=!!g(t,\\\"callOnAdd\\\",!0),x.debug=!!g(t,\\\"debug\\\",!1);var w,A=o(e),C=i({stateHandler:h}),M=g(t,\\\"strategy\\\",\\\"object\\\"),E=g(t,\\\"important\\\",!1),T={reporter:_,batchProcessor:b,stateHandler:h,idHandler:e,important:E};if(\\\"scroll\\\"===M&&(u.isLegacyOpera()?(_.warn(\\\"Scroll strategy is not supported on legacy Opera. Changing to object strategy.\\\"),M=\\\"object\\\"):u.isIE(9)&&(_.warn(\\\"Scroll strategy is not supported on IE9. Changing to object strategy.\\\"),M=\\\"object\\\")),\\\"scroll\\\"===M)w=f(T);else{if(\\\"object\\\"!==M)throw new Error(\\\"Invalid strategy name: \\\"+M);w=p(T)}var S={};return{listenTo:function(t,n,i){function o(t){var e=A.get(t);r(e,(function(e){e(t)}))}function a(t,e,n){A.add(e,n),t&&n(e)}if(i||(i=n,n=t,t={}),!n)throw new Error(\\\"At least one element required.\\\");if(!i)throw new Error(\\\"Listener required.\\\");if(v(n))n=[n];else{if(!d(n))return _.error(\\\"Invalid arguments. Must be a DOM element or a collection of DOM elements.\\\");n=m(n)}var s=0,l=g(t,\\\"callOnAdd\\\",x.callOnAdd),u=g(t,\\\"onReady\\\",(function(){})),c=g(t,\\\"debug\\\",x.debug);r(n,(function(t){h.getState(t)||(h.initState(t),e.set(t));var p=e.get(t);if(c&&_.log(\\\"Attaching listener to element\\\",p,t),!C.isDetectable(t))return c&&_.log(p,\\\"Not detectable.\\\"),C.isBusy(t)?(c&&_.log(p,\\\"System busy making it detectable\\\"),a(l,t,i),S[p]=S[p]||[],void S[p].push((function(){++s===n.length&&u()}))):(c&&_.log(p,\\\"Making detectable...\\\"),C.markBusy(t,!0),w.makeDetectable({debug:c,important:E},t,(function(t){if(c&&_.log(p,\\\"onElementDetectable\\\"),h.getState(t)){C.markAsDetectable(t),C.markBusy(t,!1),w.addListener(t,o),a(l,t,i);var e=h.getState(t);if(e&&e.startSize){var f=t.offsetWidth,d=t.offsetHeight;e.startSize.width===f&&e.startSize.height===d||o(t)}S[p]&&r(S[p],(function(t){t()}))}else c&&_.log(p,\\\"Element uninstalled before being detectable.\\\");delete S[p],++s===n.length&&u()})));c&&_.log(p,\\\"Already detecable, adding listener.\\\"),a(l,t,i),s++})),s===n.length&&u()},removeListener:A.removeListener,removeAllListeners:A.removeAllListeners,uninstall:function(t){if(!t)return _.error(\\\"At least one element is required.\\\");if(v(t))t=[t];else{if(!d(t))return _.error(\\\"Invalid arguments. Must be a DOM element or a collection of DOM elements.\\\");t=m(t)}r(t,(function(t){A.removeAllListeners(t),w.uninstall(t),h.cleanState(t)}))},initDocument:function(t){w.initDocument&&w.initDocument(t)}}}},7832:t=>{\\\"use strict\\\";t.exports=function(t){var e=t.stateHandler.getState;return{isDetectable:function(t){var n=e(t);return n&&!!n.isDetectable},markAsDetectable:function(t){e(t).isDetectable=!0},isBusy:function(t){return!!e(t).busy},markBusy:function(t,n){e(t).busy=!!n}}}},8205:t=>{\\\"use strict\\\";t.exports=function(){var t=1;return{generate:function(){return t++}}}},5436:t=>{\\\"use strict\\\";t.exports=function(t){var e=t.idGenerator,n=t.stateHandler.getState;return{get:function(t){var e=n(t);return e&&void 0!==e.id?e.id:null},set:function(t){var r=n(t);if(!r)throw new Error(\\\"setId required the element to have a resize detection state.\\\");var i=e.generate();return r.id=i,i}}}},1997:t=>{\\\"use strict\\\";t.exports=function(t){var e={};function n(n){var r=t.get(n);return void 0===r?[]:e[r]||[]}return{get:n,add:function(n,r){var i=t.get(n);e[i]||(e[i]=[]),e[i].push(r)},removeListener:function(t,e){for(var r=n(t),i=0,o=r.length;i<o;++i)if(r[i]===e){r.splice(i,1);break}},removeAllListeners:function(t){var e=n(t);e&&(e.length=0)}}}},6078:t=>{\\\"use strict\\\";t.exports=function(t){function e(){}var n={log:e,warn:e,error:e};if(!t&&window.console){var r=function(t,e){t[e]=function(){var t=console[e];if(t.apply)t.apply(console,arguments);else for(var n=0;n<arguments.length;n++)t(arguments[n])}};r(n,\\\"log\\\"),r(n,\\\"warn\\\"),r(n,\\\"error\\\")}return n}},4738:t=>{\\\"use strict\\\";function e(t){return t._erd}t.exports={initState:function(t){return t._erd={},e(t)},getState:e,cleanState:function(t){delete t._erd}}},8749:function(t,e,n){var r;!function(e){\\\"use strict\\\";var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return setTimeout(t,16)};function o(){var t=this;t.reads=[],t.writes=[],t.raf=i.bind(e)}function a(t){t.scheduled||(t.scheduled=!0,t.raf(s.bind(null,t)))}function s(t){var e,n=t.writes,r=t.reads;try{r.length,t.runTasks(r),n.length,t.runTasks(n)}catch(t){e=t}if(t.scheduled=!1,(r.length||n.length)&&a(t),e){if(e.message,!t.catch)throw e;t.catch(e)}}function l(t,e){var n=t.indexOf(e);return!!~n&&!!t.splice(n,1)}o.prototype={constructor:o,runTasks:function(t){for(var e;e=t.shift();)e()},measure:function(t,e){var n=e?t.bind(e):t;return this.reads.push(n),a(this),n},mutate:function(t,e){var n=e?t.bind(e):t;return this.writes.push(n),a(this),n},clear:function(t){return l(this.reads,t)||l(this.writes,t)},extend:function(t){if(\\\"object\\\"!=typeof t)throw new Error(\\\"expected object\\\");var e=Object.create(this);return function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}(e,t),e.fastdom=this,e.initialize&&e.initialize(),e},catch:null};var u=e.fastdom=e.fastdom||new o;void 0===(r=function(){return u}.call(u,n,u,t))||(t.exports=r)}(\\\"undefined\\\"!=typeof window?window:this)},8937:function(t,e,n){var r;void 0===(r=function(){\\\"use strict\\\";function e(t,e,n){var r=new XMLHttpRequest;r.open(\\\"GET\\\",t),r.responseType=\\\"blob\\\",r.onload=function(){a(r.response,e,n)},r.onerror=function(){console.error(\\\"could not download file\\\")},r.send()}function r(t){var e=new XMLHttpRequest;e.open(\\\"HEAD\\\",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function i(t){try{t.dispatchEvent(new MouseEvent(\\\"click\\\"))}catch(n){var e=document.createEvent(\\\"MouseEvents\\\");e.initMouseEvent(\\\"click\\\",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var o=\\\"object\\\"==typeof window&&window.window===window?window:\\\"object\\\"==typeof self&&self.self===self?self:\\\"object\\\"==typeof n.g&&n.g.global===n.g?n.g:void 0,a=o.saveAs||(\\\"object\\\"!=typeof window||window!==o?function(){}:\\\"download\\\"in HTMLAnchorElement.prototype?function(t,n,a){var s=o.URL||o.webkitURL,l=document.createElement(\\\"a\\\");n=n||t.name||\\\"download\\\",l.download=n,l.rel=\\\"noopener\\\",\\\"string\\\"==typeof t?(l.href=t,l.origin===location.origin?i(l):r(l.href)?e(t,n,a):i(l,l.target=\\\"_blank\\\")):(l.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){i(l)}),0))}:\\\"msSaveOrOpenBlob\\\"in navigator?function(t,n,o){if(n=n||t.name||\\\"download\\\",\\\"string\\\"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:\\\"object\\\"!=typeof e&&(console.warn(\\\"Deprecated: Expected third argument to be a object\\\"),e={autoBom:!e}),e.autoBom&&/^\\\\s*(?:text\\\\/\\\\S*|application\\\\/xml|\\\\S*\\\\/\\\\S*\\\\+xml)\\\\s*;.*charset\\\\s*=\\\\s*utf-8/i.test(t.type)?new Blob([\\\"\\\\ufeff\\\",t],{type:t.type}):t}(t,o),n);else if(r(t))e(t,n,o);else{var a=document.createElement(\\\"a\\\");a.href=t,a.target=\\\"_blank\\\",setTimeout((function(){i(a)}))}}:function(t,n,r,i){if((i=i||open(\\\"\\\",\\\"_blank\\\"))&&(i.document.title=i.document.body.innerText=\\\"downloading...\\\"),\\\"string\\\"==typeof t)return e(t,n,r);var a=\\\"application/octet-stream\\\"===t.type,s=/constructor/i.test(o.HTMLElement)||o.safari,l=/CriOS\\\\/[\\\\d]+/.test(navigator.userAgent);if((l||a&&s)&&\\\"object\\\"==typeof FileReader){var u=new FileReader;u.onloadend=function(){var t=u.result;t=l?t:t.replace(/^data:[^;]*;/,\\\"data:attachment/file;\\\"),i?i.location.href=t:location=t,i=null},u.readAsDataURL(t)}else{var c=o.URL||o.webkitURL,h=c.createObjectURL(t);i?i.location=h:location.href=h,i=null,setTimeout((function(){c.revokeObjectURL(h)}),4e4)}});o.saveAs=a.saveAs=a,t.exports=a}.apply(e,[]))||(t.exports=r)},7401:function(){!function(){\\\"use strict\\\";function t(t){var e=!0,n=!1,r=null,i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,\\\"datetime-local\\\":!0};function o(t){return!!(t&&t!==document&&\\\"HTML\\\"!==t.nodeName&&\\\"BODY\\\"!==t.nodeName&&\\\"classList\\\"in t&&\\\"contains\\\"in t.classList)}function a(t){t.classList.contains(\\\"focus-visible\\\")||(t.classList.add(\\\"focus-visible\\\"),t.setAttribute(\\\"data-focus-visible-added\\\",\\\"\\\"))}function s(t){e=!1}function l(){document.addEventListener(\\\"mousemove\\\",u),document.addEventListener(\\\"mousedown\\\",u),document.addEventListener(\\\"mouseup\\\",u),document.addEventListener(\\\"pointermove\\\",u),document.addEventListener(\\\"pointerdown\\\",u),document.addEventListener(\\\"pointerup\\\",u),document.addEventListener(\\\"touchmove\\\",u),document.addEventListener(\\\"touchstart\\\",u),document.addEventListener(\\\"touchend\\\",u)}function u(t){t.target.nodeName&&\\\"html\\\"===t.target.nodeName.toLowerCase()||(e=!1,document.removeEventListener(\\\"mousemove\\\",u),document.removeEventListener(\\\"mousedown\\\",u),document.removeEventListener(\\\"mouseup\\\",u),document.removeEventListener(\\\"pointermove\\\",u),document.removeEventListener(\\\"pointerdown\\\",u),document.removeEventListener(\\\"pointerup\\\",u),document.removeEventListener(\\\"touchmove\\\",u),document.removeEventListener(\\\"touchstart\\\",u),document.removeEventListener(\\\"touchend\\\",u))}document.addEventListener(\\\"keydown\\\",(function(n){n.metaKey||n.altKey||n.ctrlKey||(o(t.activeElement)&&a(t.activeElement),e=!0)}),!0),document.addEventListener(\\\"mousedown\\\",s,!0),document.addEventListener(\\\"pointerdown\\\",s,!0),document.addEventListener(\\\"touchstart\\\",s,!0),document.addEventListener(\\\"visibilitychange\\\",(function(t){\\\"hidden\\\"===document.visibilityState&&(n&&(e=!0),l())}),!0),l(),t.addEventListener(\\\"focus\\\",(function(t){var n,r,s;o(t.target)&&(e||(n=t.target,r=n.type,\\\"INPUT\\\"===(s=n.tagName)&&i[r]&&!n.readOnly||\\\"TEXTAREA\\\"===s&&!n.readOnly||n.isContentEditable))&&a(t.target)}),!0),t.addEventListener(\\\"blur\\\",(function(t){var e;o(t.target)&&(t.target.classList.contains(\\\"focus-visible\\\")||t.target.hasAttribute(\\\"data-focus-visible-added\\\"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout((function(){n=!1}),100),(e=t.target).hasAttribute(\\\"data-focus-visible-added\\\")&&(e.classList.remove(\\\"focus-visible\\\"),e.removeAttribute(\\\"data-focus-visible-added\\\")))}),!0),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host?t.host.setAttribute(\\\"data-js-focus-visible\\\",\\\"\\\"):t.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add(\\\"js-focus-visible\\\"),document.documentElement.setAttribute(\\\"data-js-focus-visible\\\",\\\"\\\"))}if(\\\"undefined\\\"!=typeof window&&\\\"undefined\\\"!=typeof document){var e;window.applyFocusVisiblePolyfill=t;try{e=new CustomEvent(\\\"focus-visible-polyfill-ready\\\")}catch(t){(e=document.createEvent(\\\"CustomEvent\\\")).initCustomEvent(\\\"focus-visible-polyfill-ready\\\",!1,!1,{})}window.dispatchEvent(e)}\\\"undefined\\\"!=typeof document&&t(document)}()},9060:(t,e,n)=>{\\\"use strict\\\";var r=n(5356),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(t){return r.isMemo(t)?a:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,n,r){if(\\\"string\\\"!=typeof n){if(d){var i=f(n);i&&i!==d&&t(e,i,r)}var a=c(n);h&&(a=a.concat(h(n)));for(var s=l(e),m=l(n),v=0;v<a.length;++v){var g=a[v];if(!(o[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=p(n,g);try{u(e,g,y)}catch(t){}}}}return e}},4044:(t,e,n)=>{t.exports=function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){if(o)return o(a,!0);var l=new Error(\\\"Cannot find module '\\\"+a+\\\"'\\\");throw l.code=\\\"MODULE_NOT_FOUND\\\",l}var u=n[a]={exports:{}};e[a][0].call(u.exports,(function(t){return i(e[a][1][t]||t)}),u,u.exports,t,e,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../src/lib\\\"),i={\\\"X,X div\\\":\\\"direction:ltr;font-family:'Open Sans', verdana, arial, sans-serif;margin:0;padding:0;\\\",\\\"X input,X button\\\":\\\"font-family:'Open Sans', verdana, arial, sans-serif;\\\",\\\"X input:focus,X button:focus\\\":\\\"outline:none;\\\",\\\"X a\\\":\\\"text-decoration:none;\\\",\\\"X a:hover\\\":\\\"text-decoration:none;\\\",\\\"X .crisp\\\":\\\"shape-rendering:crispEdges;\\\",\\\"X .user-select-none\\\":\\\"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;\\\",\\\"X svg\\\":\\\"overflow:hidden;\\\",\\\"X svg a\\\":\\\"fill:#447adb;\\\",\\\"X svg a:hover\\\":\\\"fill:#3c6dc5;\\\",\\\"X .main-svg\\\":\\\"position:absolute;top:0;left:0;pointer-events:none;\\\",\\\"X .main-svg .draglayer\\\":\\\"pointer-events:all;\\\",\\\"X .cursor-default\\\":\\\"cursor:default;\\\",\\\"X .cursor-pointer\\\":\\\"cursor:pointer;\\\",\\\"X .cursor-crosshair\\\":\\\"cursor:crosshair;\\\",\\\"X .cursor-move\\\":\\\"cursor:move;\\\",\\\"X .cursor-col-resize\\\":\\\"cursor:col-resize;\\\",\\\"X .cursor-row-resize\\\":\\\"cursor:row-resize;\\\",\\\"X .cursor-ns-resize\\\":\\\"cursor:ns-resize;\\\",\\\"X .cursor-ew-resize\\\":\\\"cursor:ew-resize;\\\",\\\"X .cursor-sw-resize\\\":\\\"cursor:sw-resize;\\\",\\\"X .cursor-s-resize\\\":\\\"cursor:s-resize;\\\",\\\"X .cursor-se-resize\\\":\\\"cursor:se-resize;\\\",\\\"X .cursor-w-resize\\\":\\\"cursor:w-resize;\\\",\\\"X .cursor-e-resize\\\":\\\"cursor:e-resize;\\\",\\\"X .cursor-nw-resize\\\":\\\"cursor:nw-resize;\\\",\\\"X .cursor-n-resize\\\":\\\"cursor:n-resize;\\\",\\\"X .cursor-ne-resize\\\":\\\"cursor:ne-resize;\\\",\\\"X .cursor-grab\\\":\\\"cursor:-webkit-grab;cursor:grab;\\\",\\\"X .modebar\\\":\\\"position:absolute;top:2px;right:2px;\\\",\\\"X .ease-bg\\\":\\\"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;\\\",\\\"X .modebar--hover>:not(.watermark)\\\":\\\"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;\\\",\\\"X:hover .modebar--hover .modebar-group\\\":\\\"opacity:1;\\\",\\\"X .modebar-group\\\":\\\"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;\\\",\\\"X .modebar-btn\\\":\\\"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;\\\",\\\"X .modebar-btn svg\\\":\\\"position:relative;top:2px;\\\",\\\"X .modebar.vertical\\\":\\\"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;\\\",\\\"X .modebar.vertical svg\\\":\\\"top:-1px;\\\",\\\"X .modebar.vertical .modebar-group\\\":\\\"display:block;float:none;padding-left:0px;padding-bottom:8px;\\\",\\\"X .modebar.vertical .modebar-group .modebar-btn\\\":\\\"display:block;text-align:center;\\\",\\\"X [data-title]:before,X [data-title]:after\\\":\\\"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;\\\",\\\"X [data-title]:hover:before,X [data-title]:hover:after\\\":\\\"display:block;opacity:1;\\\",\\\"X [data-title]:before\\\":\\\"content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;\\\",\\\"X [data-title]:after\\\":\\\"content:attr(data-title);background:#69738a;color:white;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;\\\",\\\"X .vertical [data-title]:before,X .vertical [data-title]:after\\\":\\\"top:0%;right:200%;\\\",\\\"X .vertical [data-title]:before\\\":\\\"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;\\\",\\\"X .select-outline\\\":\\\"fill:none;stroke-width:1;shape-rendering:crispEdges;\\\",\\\"X .select-outline-1\\\":\\\"stroke:white;\\\",\\\"X .select-outline-2\\\":\\\"stroke:black;stroke-dasharray:2px 2px;\\\",Y:\\\"font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;\\\",\\\"Y p\\\":\\\"margin:0;\\\",\\\"Y .notifier-note\\\":\\\"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;\\\",\\\"Y .notifier-close\\\":\\\"color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;\\\",\\\"Y .notifier-close:hover\\\":\\\"color:#444;text-decoration:none;cursor:pointer;\\\"};for(var o in i){var a=o.replace(/^,/,\\\" ,\\\").replace(/X/g,\\\".js-plotly-plot .plotly\\\").replace(/Y/g,\\\".plotly-notifier\\\");r.addStyleRule(a,i[o])}},{\\\"../src/lib\\\":728}],2:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/transforms/aggregate\\\")},{\\\"../src/transforms/aggregate\\\":1311}],3:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/bar\\\")},{\\\"../src/traces/bar\\\":877}],4:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/barpolar\\\")},{\\\"../src/traces/barpolar\\\":890}],5:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/box\\\")},{\\\"../src/traces/box\\\":900}],6:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/components/calendars\\\")},{\\\"../src/components/calendars\\\":593}],7:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/candlestick\\\")},{\\\"../src/traces/candlestick\\\":909}],8:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/carpet\\\")},{\\\"../src/traces/carpet\\\":928}],9:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/choropleth\\\")},{\\\"../src/traces/choropleth\\\":942}],10:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/choroplethmapbox\\\")},{\\\"../src/traces/choroplethmapbox\\\":949}],11:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/cone\\\")},{\\\"../src/traces/cone\\\":955}],12:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/contour\\\")},{\\\"../src/traces/contour\\\":970}],13:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/contourcarpet\\\")},{\\\"../src/traces/contourcarpet\\\":981}],14:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/core\\\")},{\\\"../src/core\\\":706}],15:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/densitymapbox\\\")},{\\\"../src/traces/densitymapbox\\\":989}],16:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/transforms/filter\\\")},{\\\"../src/transforms/filter\\\":1312}],17:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/funnel\\\")},{\\\"../src/traces/funnel\\\":999}],18:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/funnelarea\\\")},{\\\"../src/traces/funnelarea\\\":1008}],19:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/transforms/groupby\\\")},{\\\"../src/transforms/groupby\\\":1313}],20:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/heatmap\\\")},{\\\"../src/traces/heatmap\\\":1021}],21:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/heatmapgl\\\")},{\\\"../src/traces/heatmapgl\\\":1031}],22:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/histogram\\\")},{\\\"../src/traces/histogram\\\":1043}],23:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/histogram2d\\\")},{\\\"../src/traces/histogram2d\\\":1049}],24:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/histogram2dcontour\\\")},{\\\"../src/traces/histogram2dcontour\\\":1053}],25:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/image\\\")},{\\\"../src/traces/image\\\":1060}],26:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./core\\\");r.register([t(\\\"./bar\\\"),t(\\\"./box\\\"),t(\\\"./heatmap\\\"),t(\\\"./histogram\\\"),t(\\\"./histogram2d\\\"),t(\\\"./histogram2dcontour\\\"),t(\\\"./contour\\\"),t(\\\"./scatterternary\\\"),t(\\\"./violin\\\"),t(\\\"./funnel\\\"),t(\\\"./waterfall\\\"),t(\\\"./image\\\"),t(\\\"./pie\\\"),t(\\\"./sunburst\\\"),t(\\\"./treemap\\\"),t(\\\"./funnelarea\\\"),t(\\\"./scatter3d\\\"),t(\\\"./surface\\\"),t(\\\"./isosurface\\\"),t(\\\"./volume\\\"),t(\\\"./mesh3d\\\"),t(\\\"./cone\\\"),t(\\\"./streamtube\\\"),t(\\\"./scattergeo\\\"),t(\\\"./choropleth\\\"),t(\\\"./scattergl\\\"),t(\\\"./splom\\\"),t(\\\"./pointcloud\\\"),t(\\\"./heatmapgl\\\"),t(\\\"./parcoords\\\"),t(\\\"./parcats\\\"),t(\\\"./scattermapbox\\\"),t(\\\"./choroplethmapbox\\\"),t(\\\"./densitymapbox\\\"),t(\\\"./sankey\\\"),t(\\\"./indicator\\\"),t(\\\"./table\\\"),t(\\\"./carpet\\\"),t(\\\"./scattercarpet\\\"),t(\\\"./contourcarpet\\\"),t(\\\"./ohlc\\\"),t(\\\"./candlestick\\\"),t(\\\"./scatterpolar\\\"),t(\\\"./scatterpolargl\\\"),t(\\\"./barpolar\\\")]),r.register([t(\\\"./aggregate\\\"),t(\\\"./filter\\\"),t(\\\"./groupby\\\"),t(\\\"./sort\\\")]),r.register([t(\\\"./calendars\\\")]),e.exports=r},{\\\"./aggregate\\\":2,\\\"./bar\\\":3,\\\"./barpolar\\\":4,\\\"./box\\\":5,\\\"./calendars\\\":6,\\\"./candlestick\\\":7,\\\"./carpet\\\":8,\\\"./choropleth\\\":9,\\\"./choroplethmapbox\\\":10,\\\"./cone\\\":11,\\\"./contour\\\":12,\\\"./contourcarpet\\\":13,\\\"./core\\\":14,\\\"./densitymapbox\\\":15,\\\"./filter\\\":16,\\\"./funnel\\\":17,\\\"./funnelarea\\\":18,\\\"./groupby\\\":19,\\\"./heatmap\\\":20,\\\"./heatmapgl\\\":21,\\\"./histogram\\\":22,\\\"./histogram2d\\\":23,\\\"./histogram2dcontour\\\":24,\\\"./image\\\":25,\\\"./indicator\\\":27,\\\"./isosurface\\\":28,\\\"./mesh3d\\\":29,\\\"./ohlc\\\":30,\\\"./parcats\\\":31,\\\"./parcoords\\\":32,\\\"./pie\\\":33,\\\"./pointcloud\\\":34,\\\"./sankey\\\":35,\\\"./scatter3d\\\":36,\\\"./scattercarpet\\\":37,\\\"./scattergeo\\\":38,\\\"./scattergl\\\":39,\\\"./scattermapbox\\\":40,\\\"./scatterpolar\\\":41,\\\"./scatterpolargl\\\":42,\\\"./scatterternary\\\":43,\\\"./sort\\\":44,\\\"./splom\\\":45,\\\"./streamtube\\\":46,\\\"./sunburst\\\":47,\\\"./surface\\\":48,\\\"./table\\\":49,\\\"./treemap\\\":50,\\\"./violin\\\":51,\\\"./volume\\\":52,\\\"./waterfall\\\":53}],27:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/indicator\\\")},{\\\"../src/traces/indicator\\\":1068}],28:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/isosurface\\\")},{\\\"../src/traces/isosurface\\\":1074}],29:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/mesh3d\\\")},{\\\"../src/traces/mesh3d\\\":1079}],30:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/ohlc\\\")},{\\\"../src/traces/ohlc\\\":1084}],31:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/parcats\\\")},{\\\"../src/traces/parcats\\\":1093}],32:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/parcoords\\\")},{\\\"../src/traces/parcoords\\\":1103}],33:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/pie\\\")},{\\\"../src/traces/pie\\\":1114}],34:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/pointcloud\\\")},{\\\"../src/traces/pointcloud\\\":1123}],35:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/sankey\\\")},{\\\"../src/traces/sankey\\\":1129}],36:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/scatter3d\\\")},{\\\"../src/traces/scatter3d\\\":1166}],37:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/scattercarpet\\\")},{\\\"../src/traces/scattercarpet\\\":1173}],38:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/scattergeo\\\")},{\\\"../src/traces/scattergeo\\\":1181}],39:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/scattergl\\\")},{\\\"../src/traces/scattergl\\\":1194}],40:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/scattermapbox\\\")},{\\\"../src/traces/scattermapbox\\\":1204}],41:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/scatterpolar\\\")},{\\\"../src/traces/scatterpolar\\\":1212}],42:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/scatterpolargl\\\")},{\\\"../src/traces/scatterpolargl\\\":1219}],43:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/scatterternary\\\")},{\\\"../src/traces/scatterternary\\\":1227}],44:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/transforms/sort\\\")},{\\\"../src/transforms/sort\\\":1315}],45:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/splom\\\")},{\\\"../src/traces/splom\\\":1236}],46:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/streamtube\\\")},{\\\"../src/traces/streamtube\\\":1244}],47:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/sunburst\\\")},{\\\"../src/traces/sunburst\\\":1252}],48:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/surface\\\")},{\\\"../src/traces/surface\\\":1261}],49:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/table\\\")},{\\\"../src/traces/table\\\":1269}],50:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/treemap\\\")},{\\\"../src/traces/treemap\\\":1278}],51:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/violin\\\")},{\\\"../src/traces/violin\\\":1290}],52:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/volume\\\")},{\\\"../src/traces/volume\\\":1298}],53:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"../src/traces/waterfall\\\")},{\\\"../src/traces/waterfall\\\":1306}],54:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=(t=t||{}).eye||[0,0,1],n=t.center||[0,0,0],s=t.up||[0,1,0],l=t.distanceLimits||[0,1/0],u=t.mode||\\\"turntable\\\",c=r(),h=i(),p=o();return c.setDistanceLimits(l[0],l[1]),c.lookAt(0,e,n,s),h.setDistanceLimits(l[0],l[1]),h.lookAt(0,e,n,s),p.setDistanceLimits(l[0],l[1]),p.lookAt(0,e,n,s),new a({turntable:c,orbit:h,matrix:p},u)};var r=t(\\\"turntable-camera-controller\\\"),i=t(\\\"orbit-camera-controller\\\"),o=t(\\\"matrix-camera-controller\\\");function a(t,e){this._controllerNames=Object.keys(t),this._controllerList=this._controllerNames.map((function(e){return t[e]})),this._mode=e,this._active=t[e],this._active||(this._mode=\\\"turntable\\\",this._active=t.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var s=a.prototype;[[\\\"flush\\\",1],[\\\"idle\\\",1],[\\\"lookAt\\\",4],[\\\"rotate\\\",4],[\\\"pan\\\",4],[\\\"translate\\\",4],[\\\"setMatrix\\\",2],[\\\"setDistanceLimits\\\",2],[\\\"setDistance\\\",2]].forEach((function(t){for(var e=t[0],n=[],r=0;r<t[1];++r)n.push(\\\"a\\\"+r);var i=\\\"var cc=this._controllerList;for(var i=0;i<cc.length;++i){cc[i].\\\"+t[0]+\\\"(\\\"+n.join()+\\\")}\\\";s[e]=Function.apply(null,n.concat(i))})),s.recalcMatrix=function(t){this._active.recalcMatrix(t)},s.getDistance=function(t){return this._active.getDistance(t)},s.getDistanceLimits=function(t){return this._active.getDistanceLimits(t)},s.lastT=function(){return this._active.lastT()},s.setMode=function(t){if(t!==this._mode){var e=this._controllerNames.indexOf(t);if(!(e<0)){var n=this._active,r=this._controllerList[e],i=Math.max(n.lastT(),r.lastT());n.recalcMatrix(i),r.setMatrix(i,n.computedMatrix),this._active=r,this._mode=t,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}}},s.getMode=function(){return this._mode}},{\\\"matrix-camera-controller\\\":433,\\\"orbit-camera-controller\\\":454,\\\"turntable-camera-controller\\\":533}],55:[function(t,e,n){var r,i;r=this,i=function(t,e,n,r,i){\\\"use strict\\\";function o(t){return t.target.depth}function a(t,e){return t.sourceLinks.length?t.depth:e-1}function s(t){return function(){return t}}i=i&&i.hasOwnProperty(\\\"default\\\")?i.default:i;var l=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\\\"function\\\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\\\"symbol\\\":typeof t};function u(t,e){return h(t.source,e.source)||t.index-e.index}function c(t,e){return h(t.target,e.target)||t.index-e.index}function h(t,e){return t.partOfCycle===e.partOfCycle?t.y0-e.y0:\\\"top\\\"===t.circularLinkType||\\\"bottom\\\"===e.circularLinkType?-1:1}function p(t){return t.value}function f(t){return(t.y0+t.y1)/2}function d(t){return f(t.source)}function m(t){return f(t.target)}function v(t){return t.index}function g(t){return t.nodes}function y(t){return t.links}function _(t,e){var n=t.get(e);if(!n)throw new Error(\\\"missing: \\\"+e);return n}function b(t,e){return e(t)}var x=25,w=10;function A(t,e,n){var r=0;if(null===n){for(var o=[],a=0;a<t.links.length;a++){var s=t.links[a],l=s.source.index,u=s.target.index;o[l]||(o[l]=[]),o[u]||(o[u]=[]),-1===o[l].indexOf(u)&&o[l].push(u)}var c=i(o);c.sort((function(t,e){return t.length-e.length}));var h={};for(a=0;a<c.length;a++){var p=c[a].slice(-2);h[p[0]]||(h[p[0]]={}),h[p[0]][p[1]]=!0}t.links.forEach((function(t){var e=t.target.index,n=t.source.index;e===n||h[n]&&h[n][e]?(t.circular=!0,t.circularLinkID=r,r+=1):t.circular=!1}))}else t.links.forEach((function(t){t.source[n]<t.target[n]?t.circular=!1:(t.circular=!0,t.circularLinkID=r,r+=1)}))}function C(t,e){var n=0,r=0;t.links.forEach((function(i){i.circular&&(i.source.circularLinkType||i.target.circularLinkType?i.circularLinkType=i.source.circularLinkType?i.source.circularLinkType:i.target.circularLinkType:i.circularLinkType=n<r?\\\"top\\\":\\\"bottom\\\",\\\"top\\\"==i.circularLinkType?n+=1:r+=1,t.nodes.forEach((function(t){b(t,e)!=b(i.source,e)&&b(t,e)!=b(i.target,e)||(t.circularLinkType=i.circularLinkType)})))})),t.links.forEach((function(t){t.circular&&(t.source.circularLinkType==t.target.circularLinkType&&(t.circularLinkType=t.source.circularLinkType),H(t,e)&&(t.circularLinkType=t.source.circularLinkType))}))}function M(t){var e=Math.abs(t.y1-t.y0),n=Math.abs(t.target.x0-t.source.x1);return Math.atan(n/e)}function E(t,e){var n=0;t.sourceLinks.forEach((function(t){n=t.circular&&!H(t,e)?n+1:n}));var r=0;return t.targetLinks.forEach((function(t){r=t.circular&&!H(t,e)?r+1:r})),n+r}function T(t){var e=t.source.sourceLinks,n=0;e.forEach((function(t){n=t.circular?n+1:n}));var r=t.target.targetLinks,i=0;return r.forEach((function(t){i=t.circular?i+1:i})),!(n>1||i>1)}function S(t,e,n){return t.sort(O),t.forEach((function(r,i){var o,a,s=0;if(H(r,n)&&T(r))r.circularPathData.verticalBuffer=s+r.width/2;else{for(var l=0;l<i;l++)if(o=t[i],a=t[l],!(o.source.column<a.target.column||o.target.column>a.source.column)){var u=t[l].circularPathData.verticalBuffer+t[l].width/2+e;s=u>s?u:s}r.circularPathData.verticalBuffer=s+r.width/2}})),t}function k(t,n,i,o){var a=e.min(t.links,(function(t){return t.source.y0}));t.links.forEach((function(t){t.circular&&(t.circularPathData={})})),S(t.links.filter((function(t){return\\\"top\\\"==t.circularLinkType})),n,o),S(t.links.filter((function(t){return\\\"bottom\\\"==t.circularLinkType})),n,o),t.links.forEach((function(e){if(e.circular){if(e.circularPathData.arcRadius=e.width+w,e.circularPathData.leftNodeBuffer=5,e.circularPathData.rightNodeBuffer=5,e.circularPathData.sourceWidth=e.source.x1-e.source.x0,e.circularPathData.sourceX=e.source.x0+e.circularPathData.sourceWidth,e.circularPathData.targetX=e.target.x0,e.circularPathData.sourceY=e.y0,e.circularPathData.targetY=e.y1,H(e,o)&&T(e))e.circularPathData.leftSmallArcRadius=w+e.width/2,e.circularPathData.leftLargeArcRadius=w+e.width/2,e.circularPathData.rightSmallArcRadius=w+e.width/2,e.circularPathData.rightLargeArcRadius=w+e.width/2,\\\"bottom\\\"==e.circularLinkType?(e.circularPathData.verticalFullExtent=e.source.y1+x+e.circularPathData.verticalBuffer,e.circularPathData.verticalLeftInnerExtent=e.circularPathData.verticalFullExtent-e.circularPathData.leftLargeArcRadius,e.circularPathData.verticalRightInnerExtent=e.circularPathData.verticalFullExtent-e.circularPathData.rightLargeArcRadius):(e.circularPathData.verticalFullExtent=e.source.y0-x-e.circularPathData.verticalBuffer,e.circularPathData.verticalLeftInnerExtent=e.circularPathData.verticalFullExtent+e.circularPathData.leftLargeArcRadius,e.circularPathData.verticalRightInnerExtent=e.circularPathData.verticalFullExtent+e.circularPathData.rightLargeArcRadius);else{var s=e.source.column,l=e.circularLinkType,u=t.links.filter((function(t){return t.source.column==s&&t.circularLinkType==l}));\\\"bottom\\\"==e.circularLinkType?u.sort(L):u.sort(I);var c=0;u.forEach((function(t,r){t.circularLinkID==e.circularLinkID&&(e.circularPathData.leftSmallArcRadius=w+e.width/2+c,e.circularPathData.leftLargeArcRadius=w+e.width/2+r*n+c),c+=t.width})),s=e.target.column,u=t.links.filter((function(t){return t.target.column==s&&t.circularLinkType==l})),\\\"bottom\\\"==e.circularLinkType?u.sort(z):u.sort(P),c=0,u.forEach((function(t,r){t.circularLinkID==e.circularLinkID&&(e.circularPathData.rightSmallArcRadius=w+e.width/2+c,e.circularPathData.rightLargeArcRadius=w+e.width/2+r*n+c),c+=t.width})),\\\"bottom\\\"==e.circularLinkType?(e.circularPathData.verticalFullExtent=Math.max(i,e.source.y1,e.target.y1)+x+e.circularPathData.verticalBuffer,e.circularPathData.verticalLeftInnerExtent=e.circularPathData.verticalFullExtent-e.circularPathData.leftLargeArcRadius,e.circularPathData.verticalRightInnerExtent=e.circularPathData.verticalFullExtent-e.circularPathData.rightLargeArcRadius):(e.circularPathData.verticalFullExtent=a-x-e.circularPathData.verticalBuffer,e.circularPathData.verticalLeftInnerExtent=e.circularPathData.verticalFullExtent+e.circularPathData.leftLargeArcRadius,e.circularPathData.verticalRightInnerExtent=e.circularPathData.verticalFullExtent+e.circularPathData.rightLargeArcRadius)}e.circularPathData.leftInnerExtent=e.circularPathData.sourceX+e.circularPathData.leftNodeBuffer,e.circularPathData.rightInnerExtent=e.circularPathData.targetX-e.circularPathData.rightNodeBuffer,e.circularPathData.leftFullExtent=e.circularPathData.sourceX+e.circularPathData.leftLargeArcRadius+e.circularPathData.leftNodeBuffer,e.circularPathData.rightFullExtent=e.circularPathData.targetX-e.circularPathData.rightLargeArcRadius-e.circularPathData.rightNodeBuffer}if(e.circular)e.path=function(t){return\\\"top\\\"==t.circularLinkType?\\\"M\\\"+t.circularPathData.sourceX+\\\" \\\"+t.circularPathData.sourceY+\\\" L\\\"+t.circularPathData.leftInnerExtent+\\\" \\\"+t.circularPathData.sourceY+\\\" A\\\"+t.circularPathData.leftLargeArcRadius+\\\" \\\"+t.circularPathData.leftSmallArcRadius+\\\" 0 0 0 \\\"+t.circularPathData.leftFullExtent+\\\" \\\"+(t.circularPathData.sourceY-t.circularPathData.leftSmallArcRadius)+\\\" L\\\"+t.circularPathData.leftFullExtent+\\\" \\\"+t.circularPathData.verticalLeftInnerExtent+\\\" A\\\"+t.circularPathData.leftLargeArcRadius+\\\" \\\"+t.circularPathData.leftLargeArcRadius+\\\" 0 0 0 \\\"+t.circularPathData.leftInnerExtent+\\\" \\\"+t.circularPathData.verticalFullExtent+\\\" L\\\"+t.circularPathData.rightInnerExtent+\\\" \\\"+t.circularPathData.verticalFullExtent+\\\" A\\\"+t.circularPathData.rightLargeArcRadius+\\\" \\\"+t.circularPathData.rightLargeArcRadius+\\\" 0 0 0 \\\"+t.circularPathData.rightFullExtent+\\\" \\\"+t.circularPathData.verticalRightInnerExtent+\\\" L\\\"+t.circularPathData.rightFullExtent+\\\" \\\"+(t.circularPathData.targetY-t.circularPathData.rightSmallArcRadius)+\\\" A\\\"+t.circularPathData.rightLargeArcRadius+\\\" \\\"+t.circularPathData.rightSmallArcRadius+\\\" 0 0 0 \\\"+t.circularPathData.rightInnerExtent+\\\" \\\"+t.circularPathData.targetY+\\\" L\\\"+t.circularPathData.targetX+\\\" \\\"+t.circularPathData.targetY:\\\"M\\\"+t.circularPathData.sourceX+\\\" \\\"+t.circularPathData.sourceY+\\\" L\\\"+t.circularPathData.leftInnerExtent+\\\" \\\"+t.circularPathData.sourceY+\\\" A\\\"+t.circularPathData.leftLargeArcRadius+\\\" \\\"+t.circularPathData.leftSmallArcRadius+\\\" 0 0 1 \\\"+t.circularPathData.leftFullExtent+\\\" \\\"+(t.circularPathData.sourceY+t.circularPathData.leftSmallArcRadius)+\\\" L\\\"+t.circularPathData.leftFullExtent+\\\" \\\"+t.circularPathData.verticalLeftInnerExtent+\\\" A\\\"+t.circularPathData.leftLargeArcRadius+\\\" \\\"+t.circularPathData.leftLargeArcRadius+\\\" 0 0 1 \\\"+t.circularPathData.leftInnerExtent+\\\" \\\"+t.circularPathData.verticalFullExtent+\\\" L\\\"+t.circularPathData.rightInnerExtent+\\\" \\\"+t.circularPathData.verticalFullExtent+\\\" A\\\"+t.circularPathData.rightLargeArcRadius+\\\" \\\"+t.circularPathData.rightLargeArcRadius+\\\" 0 0 1 \\\"+t.circularPathData.rightFullExtent+\\\" \\\"+t.circularPathData.verticalRightInnerExtent+\\\" L\\\"+t.circularPathData.rightFullExtent+\\\" \\\"+(t.circularPathData.targetY+t.circularPathData.rightSmallArcRadius)+\\\" A\\\"+t.circularPathData.rightLargeArcRadius+\\\" \\\"+t.circularPathData.rightSmallArcRadius+\\\" 0 0 1 \\\"+t.circularPathData.rightInnerExtent+\\\" \\\"+t.circularPathData.targetY+\\\" L\\\"+t.circularPathData.targetX+\\\" \\\"+t.circularPathData.targetY}(e);else{var h=r.linkHorizontal().source((function(t){return[t.source.x0+(t.source.x1-t.source.x0),t.y0]})).target((function(t){return[t.target.x0,t.y1]}));e.path=h(e)}}))}function O(t,e){return R(t)==R(e)?\\\"bottom\\\"==t.circularLinkType?L(t,e):I(t,e):R(e)-R(t)}function I(t,e){return t.y0-e.y0}function L(t,e){return e.y0-t.y0}function P(t,e){return t.y1-e.y1}function z(t,e){return e.y1-t.y1}function R(t){return t.target.column-t.source.column}function D(t){return t.target.x0-t.source.x1}function $(t,e){var n=M(t),r=D(e)/Math.tan(n);return\\\"up\\\"==V(t)?t.y1+r:t.y1-r}function B(t,e){var n=M(t),r=D(e)/Math.tan(n);return\\\"up\\\"==V(t)?t.y1-r:t.y1+r}function N(t,e,n,r){t.links.forEach((function(i){if(!i.circular&&i.target.column-i.source.column>1){var o=i.source.column+1,a=i.target.column-1,s=1,l=a-o+1;for(s=1;o<=a;o++,s++)t.nodes.forEach((function(a){if(a.column==o){var u,c=s/(l+1),h=Math.pow(1-c,3),p=3*c*Math.pow(1-c,2),f=3*Math.pow(c,2)*(1-c),d=Math.pow(c,3),m=h*i.y0+p*i.y0+f*i.y1+d*i.y1,v=m-i.width/2,g=m+i.width/2;v>a.y0&&v<a.y1?(u=a.y1-v+10,u=\\\"bottom\\\"==a.circularLinkType?u:-u,a=F(a,u,e,n),t.nodes.forEach((function(t){var i,o;b(t,r)!=b(a,r)&&t.column==a.column&&(o=t,(i=a).y0>o.y0&&i.y0<o.y1||i.y1>o.y0&&i.y1<o.y1||i.y0<o.y0&&i.y1>o.y1)&&F(t,u,e,n)}))):(g>a.y0&&g<a.y1||v<a.y0&&g>a.y1)&&(u=g-a.y0+10,a=F(a,u,e,n),t.nodes.forEach((function(t){b(t,r)!=b(a,r)&&t.column==a.column&&t.y0<a.y1&&t.y1>a.y1&&F(t,u,e,n)})))}}))}}))}function F(t,e,n,r){return t.y0+e>=n&&t.y1+e<=r&&(t.y0=t.y0+e,t.y1=t.y1+e,t.targetLinks.forEach((function(t){t.y1=t.y1+e})),t.sourceLinks.forEach((function(t){t.y0=t.y0+e}))),t}function j(t,e,n,r){t.nodes.forEach((function(i){r&&i.y+(i.y1-i.y0)>e&&(i.y=i.y-(i.y+(i.y1-i.y0)-e));var o=t.links.filter((function(t){return b(t.source,n)==b(i,n)})),a=o.length;a>1&&o.sort((function(t,e){if(!t.circular&&!e.circular){if(t.target.column==e.target.column)return t.y1-e.y1;if(!q(t,e))return t.y1-e.y1;if(t.target.column>e.target.column){var n=B(e,t);return t.y1-n}if(e.target.column>t.target.column)return B(t,e)-e.y1}return t.circular&&!e.circular?\\\"top\\\"==t.circularLinkType?-1:1:e.circular&&!t.circular?\\\"top\\\"==e.circularLinkType?1:-1:t.circular&&e.circular?t.circularLinkType===e.circularLinkType&&\\\"top\\\"==t.circularLinkType?t.target.column===e.target.column?t.target.y1-e.target.y1:e.target.column-t.target.column:t.circularLinkType===e.circularLinkType&&\\\"bottom\\\"==t.circularLinkType?t.target.column===e.target.column?e.target.y1-t.target.y1:t.target.column-e.target.column:\\\"top\\\"==t.circularLinkType?-1:1:void 0}));var s=i.y0;o.forEach((function(t){t.y0=s+t.width/2,s+=t.width})),o.forEach((function(t,e){if(\\\"bottom\\\"==t.circularLinkType){for(var n=e+1,r=0;n<a;n++)r+=o[n].width;t.y0=i.y1-r-t.width/2}}))}))}function U(t,e,n){t.nodes.forEach((function(e){var r=t.links.filter((function(t){return b(t.target,n)==b(e,n)})),i=r.length;i>1&&r.sort((function(t,e){if(!t.circular&&!e.circular){if(t.source.column==e.source.column)return t.y0-e.y0;if(!q(t,e))return t.y0-e.y0;if(e.source.column<t.source.column){var n=$(e,t);return t.y0-n}if(t.source.column<e.source.column)return $(t,e)-e.y0}return t.circular&&!e.circular?\\\"top\\\"==t.circularLinkType?-1:1:e.circular&&!t.circular?\\\"top\\\"==e.circularLinkType?1:-1:t.circular&&e.circular?t.circularLinkType===e.circularLinkType&&\\\"top\\\"==t.circularLinkType?t.source.column===e.source.column?t.source.y1-e.source.y1:t.source.column-e.source.column:t.circularLinkType===e.circularLinkType&&\\\"bottom\\\"==t.circularLinkType?t.source.column===e.source.column?t.source.y1-e.source.y1:e.source.column-t.source.column:\\\"top\\\"==t.circularLinkType?-1:1:void 0}));var o=e.y0;r.forEach((function(t){t.y1=o+t.width/2,o+=t.width})),r.forEach((function(t,n){if(\\\"bottom\\\"==t.circularLinkType){for(var o=n+1,a=0;o<i;o++)a+=r[o].width;t.y1=e.y1-a-t.width/2}}))}))}function q(t,e){return V(t)==V(e)}function V(t){return t.y0-t.y1>0?\\\"up\\\":\\\"down\\\"}function H(t,e){return b(t.source,e)==b(t.target,e)}function G(t,n,r){var i=t.nodes,o=t.links,a=!1,s=!1;if(o.forEach((function(t){\\\"top\\\"==t.circularLinkType?a=!0:\\\"bottom\\\"==t.circularLinkType&&(s=!0)})),0==a||0==s){var l=e.min(i,(function(t){return t.y0})),u=(r-n)/(e.max(i,(function(t){return t.y1}))-l);i.forEach((function(t){var e=(t.y1-t.y0)*u;t.y0=(t.y0-l)*u,t.y1=t.y0+e})),o.forEach((function(t){t.y0=(t.y0-l)*u,t.y1=(t.y1-l)*u,t.width=t.width*u}))}}t.sankeyCircular=function(){var t,r,i=0,o=0,b=1,M=1,T=24,S=v,O=a,I=g,L=y,P=32,z=2,R=null;function D(){var t={nodes:I.apply(null,arguments),links:L.apply(null,arguments)};$(t),A(t,0,R),B(t),F(t),C(t,S),q(t,P,S),V(t);for(var e=4,n=0;n<e;n++)j(t,M,S),U(t,0,S),N(t,o,M,S),j(t,M,S),U(t,0,S);return G(t,o,M),k(t,z,M,S),t}function $(t){t.nodes.forEach((function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]}));var e=n.map(t.nodes,S);return t.links.forEach((function(t,n){t.index=n;var r=t.source,i=t.target;\\\"object\\\"!==(void 0===r?\\\"undefined\\\":l(r))&&(r=t.source=_(e,r)),\\\"object\\\"!==(void 0===i?\\\"undefined\\\":l(i))&&(i=t.target=_(e,i)),r.sourceLinks.push(t),i.targetLinks.push(t)})),t}function B(t){t.nodes.forEach((function(t){t.partOfCycle=!1,t.value=Math.max(e.sum(t.sourceLinks,p),e.sum(t.targetLinks,p)),t.sourceLinks.forEach((function(e){e.circular&&(t.partOfCycle=!0,t.circularLinkType=e.circularLinkType)})),t.targetLinks.forEach((function(e){e.circular&&(t.partOfCycle=!0,t.circularLinkType=e.circularLinkType)}))}))}function F(t){var e,n,r;for(e=t.nodes,n=[],r=0;e.length;++r,e=n,n=[])e.forEach((function(t){t.depth=r,t.sourceLinks.forEach((function(t){n.indexOf(t.target)<0&&!t.circular&&n.push(t.target)}))}));for(e=t.nodes,n=[],r=0;e.length;++r,e=n,n=[])e.forEach((function(t){t.height=r,t.targetLinks.forEach((function(t){n.indexOf(t.source)<0&&!t.circular&&n.push(t.source)}))}));t.nodes.forEach((function(t){t.column=Math.floor(O.call(null,t,r))}))}function q(a,s,l){var u=n.nest().key((function(t){return t.column})).sortKeys(e.ascending).entries(a.nodes).map((function(t){return t.values}));(function(n){if(r){var s=1/0;u.forEach((function(t){var e=M*r/(t.length+1);s=e<s?e:s})),t=s}var l=e.min(u,(function(n){return(M-o-(n.length-1)*t)/e.sum(n,p)}));l*=.3,a.links.forEach((function(t){t.width=t.value*l}));var c=function(t){var n=0,r=0,i=0,o=0,a=e.max(t.nodes,(function(t){return t.column}));return t.links.forEach((function(t){t.circular&&(\\\"top\\\"==t.circularLinkType?n+=t.width:r+=t.width,0==t.target.column&&(o+=t.width),t.source.column==a&&(i+=t.width))})),{top:n=n>0?n+x+w:n,bottom:r=r>0?r+x+w:r,left:o=o>0?o+x+w:o,right:i=i>0?i+x+w:i}}(a),h=function(t,n){var r=e.max(t.nodes,(function(t){return t.column})),a=b-i,s=M-o,l=a/(a+n.right+n.left),u=s/(s+n.top+n.bottom);return i=i*l+n.left,b=0==n.right?b:b*l,o=o*u+n.top,M*=u,t.nodes.forEach((function(t){t.x0=i+t.column*((b-i-T)/r),t.x1=t.x0+T})),u}(a,c);l*=h,a.links.forEach((function(t){t.width=t.value*l})),u.forEach((function(t){var e=t.length;t.forEach((function(t,r){t.depth==u.length-1&&1==e||0==t.depth&&1==e?(t.y0=M/2-t.value*l,t.y1=t.y0+t.value*l):t.partOfCycle?0==E(t,n)?(t.y0=M/2+r,t.y1=t.y0+t.value*l):\\\"top\\\"==t.circularLinkType?(t.y0=o+r,t.y1=t.y0+t.value*l):(t.y0=M-t.value*l-r,t.y1=t.y0+t.value*l):0==c.top||0==c.bottom?(t.y0=(M-o)/e*r,t.y1=t.y0+t.value*l):(t.y0=(M-o)/2-e/2+r,t.y1=t.y0+t.value*l)}))}))})(l),y();for(var c=1,v=s;v>0;--v)g(c*=.99,l),y();function g(t,n){var r=u.length;u.forEach((function(i){var o=i.length,a=i[0].depth;i.forEach((function(i){var s;if(i.sourceLinks.length||i.targetLinks.length)if(i.partOfCycle&&E(i,n)>0);else if(0==a&&1==o)s=i.y1-i.y0,i.y0=M/2-s/2,i.y1=M/2+s/2;else if(a==r-1&&1==o)s=i.y1-i.y0,i.y0=M/2-s/2,i.y1=M/2+s/2;else{var l=e.mean(i.sourceLinks,m),u=e.mean(i.targetLinks,d),c=((l&&u?(l+u)/2:l||u)-f(i))*t;i.y0+=c,i.y1+=c}}))}))}function y(){u.forEach((function(e){var n,r,i,a=o,s=e.length;for(e.sort(h),i=0;i<s;++i)(r=a-(n=e[i]).y0)>0&&(n.y0+=r,n.y1+=r),a=n.y1+t;if((r=a-t-M)>0)for(a=n.y0-=r,n.y1-=r,i=s-2;i>=0;--i)(r=(n=e[i]).y1+t-a)>0&&(n.y0-=r,n.y1-=r),a=n.y0}))}}function V(t){t.nodes.forEach((function(t){t.sourceLinks.sort(c),t.targetLinks.sort(u)})),t.nodes.forEach((function(t){var e=t.y0,n=e,r=t.y1,i=r;t.sourceLinks.forEach((function(t){t.circular?(t.y0=r-t.width/2,r-=t.width):(t.y0=e+t.width/2,e+=t.width)})),t.targetLinks.forEach((function(t){t.circular?(t.y1=i-t.width/2,i-=t.width):(t.y1=n+t.width/2,n+=t.width)}))}))}return D.nodeId=function(t){return arguments.length?(S=\\\"function\\\"==typeof t?t:s(t),D):S},D.nodeAlign=function(t){return arguments.length?(O=\\\"function\\\"==typeof t?t:s(t),D):O},D.nodeWidth=function(t){return arguments.length?(T=+t,D):T},D.nodePadding=function(e){return arguments.length?(t=+e,D):t},D.nodes=function(t){return arguments.length?(I=\\\"function\\\"==typeof t?t:s(t),D):I},D.links=function(t){return arguments.length?(L=\\\"function\\\"==typeof t?t:s(t),D):L},D.size=function(t){return arguments.length?(i=o=0,b=+t[0],M=+t[1],D):[b-i,M-o]},D.extent=function(t){return arguments.length?(i=+t[0][0],b=+t[1][0],o=+t[0][1],M=+t[1][1],D):[[i,o],[b,M]]},D.iterations=function(t){return arguments.length?(P=+t,D):P},D.circularLinkGap=function(t){return arguments.length?(z=+t,D):z},D.nodePaddingRatio=function(t){return arguments.length?(r=+t,D):r},D.sortNodes=function(t){return arguments.length?(R=t,D):R},D.update=function(t){return C(t,S),V(t),t.links.forEach((function(t){t.circular&&(t.circularLinkType=t.y0+t.y1<M?\\\"top\\\":\\\"bottom\\\",t.source.circularLinkType=t.circularLinkType,t.target.circularLinkType=t.circularLinkType)})),j(t,M,S,!1),U(t,0,S),k(t,z,M,S),t},D},t.sankeyCenter=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?e.min(t.sourceLinks,o)-1:0},t.sankeyLeft=function(t){return t.depth},t.sankeyRight=function(t,e){return e-1-t.height},t.sankeyJustify=a,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},\\\"object\\\"==typeof n&&void 0!==e?i(n,t(\\\"d3-array\\\"),t(\\\"d3-collection\\\"),t(\\\"d3-shape\\\"),t(\\\"elementary-circuits-directed-graph\\\")):i(r.d3=r.d3||{},r.d3,r.d3,r.d3,null)},{\\\"d3-array\\\":153,\\\"d3-collection\\\":154,\\\"d3-shape\\\":162,\\\"elementary-circuits-directed-graph\\\":174}],56:[function(t,e,n){var r,i;r=this,i=function(t,e,n,r){\\\"use strict\\\";function i(t){return t.target.depth}function o(t,e){return t.sourceLinks.length?t.depth:e-1}function a(t){return function(){return t}}function s(t,e){return u(t.source,e.source)||t.index-e.index}function l(t,e){return u(t.target,e.target)||t.index-e.index}function u(t,e){return t.y0-e.y0}function c(t){return t.value}function h(t){return(t.y0+t.y1)/2}function p(t){return h(t.source)*t.value}function f(t){return h(t.target)*t.value}function d(t){return t.index}function m(t){return t.nodes}function v(t){return t.links}function g(t,e){var n=t.get(e);if(!n)throw new Error(\\\"missing: \\\"+e);return n}function y(t){return[t.source.x1,t.y0]}function _(t){return[t.target.x0,t.y1]}t.sankey=function(){var t=0,r=0,i=1,y=1,_=24,b=8,x=d,w=o,A=m,C=v,M=32;function E(){var t={nodes:A.apply(null,arguments),links:C.apply(null,arguments)};return T(t),S(t),k(t),O(t),I(t),t}function T(t){t.nodes.forEach((function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]}));var e=n.map(t.nodes,x);t.links.forEach((function(t,n){t.index=n;var r=t.source,i=t.target;\\\"object\\\"!=typeof r&&(r=t.source=g(e,r)),\\\"object\\\"!=typeof i&&(i=t.target=g(e,i)),r.sourceLinks.push(t),i.targetLinks.push(t)}))}function S(t){t.nodes.forEach((function(t){t.value=Math.max(e.sum(t.sourceLinks,c),e.sum(t.targetLinks,c))}))}function k(e){var n,r,o;for(n=e.nodes,r=[],o=0;n.length;++o,n=r,r=[])n.forEach((function(t){t.depth=o,t.sourceLinks.forEach((function(t){r.indexOf(t.target)<0&&r.push(t.target)}))}));for(n=e.nodes,r=[],o=0;n.length;++o,n=r,r=[])n.forEach((function(t){t.height=o,t.targetLinks.forEach((function(t){r.indexOf(t.source)<0&&r.push(t.source)}))}));var a=(i-t-_)/(o-1);e.nodes.forEach((function(e){e.x1=(e.x0=t+Math.max(0,Math.min(o-1,Math.floor(w.call(null,e,o))))*a)+_}))}function O(t){var i=n.nest().key((function(t){return t.x0})).sortKeys(e.ascending).entries(t.nodes).map((function(t){return t.values}));(function(){var n=e.max(i,(function(t){return t.length})),o=.6666666666666666*(y-r)/(n-1);b>o&&(b=o);var a=e.min(i,(function(t){return(y-r-(t.length-1)*b)/e.sum(t,c)}));i.forEach((function(t){t.forEach((function(t,e){t.y1=(t.y0=e)+t.value*a}))})),t.links.forEach((function(t){t.width=t.value*a}))})(),d();for(var o=1,a=M;a>0;--a)l(o*=.99),d(),s(o),d();function s(t){i.forEach((function(n){n.forEach((function(n){if(n.targetLinks.length){var r=(e.sum(n.targetLinks,p)/e.sum(n.targetLinks,c)-h(n))*t;n.y0+=r,n.y1+=r}}))}))}function l(t){i.slice().reverse().forEach((function(n){n.forEach((function(n){if(n.sourceLinks.length){var r=(e.sum(n.sourceLinks,f)/e.sum(n.sourceLinks,c)-h(n))*t;n.y0+=r,n.y1+=r}}))}))}function d(){i.forEach((function(t){var e,n,i,o=r,a=t.length;for(t.sort(u),i=0;i<a;++i)(n=o-(e=t[i]).y0)>0&&(e.y0+=n,e.y1+=n),o=e.y1+b;if((n=o-b-y)>0)for(o=e.y0-=n,e.y1-=n,i=a-2;i>=0;--i)(n=(e=t[i]).y1+b-o)>0&&(e.y0-=n,e.y1-=n),o=e.y0}))}}function I(t){t.nodes.forEach((function(t){t.sourceLinks.sort(l),t.targetLinks.sort(s)})),t.nodes.forEach((function(t){var e=t.y0,n=e;t.sourceLinks.forEach((function(t){t.y0=e+t.width/2,e+=t.width})),t.targetLinks.forEach((function(t){t.y1=n+t.width/2,n+=t.width}))}))}return E.update=function(t){return I(t),t},E.nodeId=function(t){return arguments.length?(x=\\\"function\\\"==typeof t?t:a(t),E):x},E.nodeAlign=function(t){return arguments.length?(w=\\\"function\\\"==typeof t?t:a(t),E):w},E.nodeWidth=function(t){return arguments.length?(_=+t,E):_},E.nodePadding=function(t){return arguments.length?(b=+t,E):b},E.nodes=function(t){return arguments.length?(A=\\\"function\\\"==typeof t?t:a(t),E):A},E.links=function(t){return arguments.length?(C=\\\"function\\\"==typeof t?t:a(t),E):C},E.size=function(e){return arguments.length?(t=r=0,i=+e[0],y=+e[1],E):[i-t,y-r]},E.extent=function(e){return arguments.length?(t=+e[0][0],i=+e[1][0],r=+e[0][1],y=+e[1][1],E):[[t,r],[i,y]]},E.iterations=function(t){return arguments.length?(M=+t,E):M},E},t.sankeyCenter=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?e.min(t.sourceLinks,i)-1:0},t.sankeyLeft=function(t){return t.depth},t.sankeyRight=function(t,e){return e-1-t.height},t.sankeyJustify=o,t.sankeyLinkHorizontal=function(){return r.linkHorizontal().source(y).target(_)},Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},\\\"object\\\"==typeof n&&void 0!==e?i(n,t(\\\"d3-array\\\"),t(\\\"d3-collection\\\"),t(\\\"d3-shape\\\")):i(r.d3=r.d3||{},r.d3,r.d3,r.d3)},{\\\"d3-array\\\":153,\\\"d3-collection\\\":154,\\\"d3-shape\\\":162}],57:[function(t,e,n){\\\"use strict\\\";Object.defineProperty(n,\\\"__esModule\\\",{value:!0});var r=t(\\\"@turf/meta\\\"),i=6378137;function o(t){var e=0;if(t&&t.length>0){e+=Math.abs(a(t[0]));for(var n=1;n<t.length;n++)e-=Math.abs(a(t[n]))}return e}function a(t){var e,n,r,o,a,l,u=0,c=t.length;if(c>2){for(l=0;l<c;l++)l===c-2?(r=c-2,o=c-1,a=0):l===c-1?(r=c-1,o=0,a=1):(r=l,o=l+1,a=l+2),e=t[r],n=t[o],u+=(s(t[a][0])-s(e[0]))*Math.sin(s(n[1]));u=u*i*i/2}return u}function s(t){return t*Math.PI/180}n.default=function(t){return r.geomReduce(t,(function(t,e){return t+function(t){var e,n=0;switch(t.type){case\\\"Polygon\\\":return o(t.coordinates);case\\\"MultiPolygon\\\":for(e=0;e<t.coordinates.length;e++)n+=o(t.coordinates[e]);return n;case\\\"Point\\\":case\\\"MultiPoint\\\":case\\\"LineString\\\":case\\\"MultiLineString\\\":return 0}return 0}(e)}),0)}},{\\\"@turf/meta\\\":61}],58:[function(t,e,n){\\\"use strict\\\";Object.defineProperty(n,\\\"__esModule\\\",{value:!0});var r=t(\\\"@turf/meta\\\");n.default=function(t){var e=[1/0,1/0,-1/0,-1/0];return r.coordEach(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}},{\\\"@turf/meta\\\":61}],59:[function(t,e,n){\\\"use strict\\\";Object.defineProperty(n,\\\"__esModule\\\",{value:!0});var r=t(\\\"@turf/meta\\\"),i=t(\\\"@turf/helpers\\\");n.default=function(t,e){void 0===e&&(e={});var n=0,o=0,a=0;return r.coordEach(t,(function(t){n+=t[0],o+=t[1],a++})),i.point([n/a,o/a],e.properties)}},{\\\"@turf/helpers\\\":60,\\\"@turf/meta\\\":61}],60:[function(t,e,n){\\\"use strict\\\";function r(t,e,n){void 0===n&&(n={});var r={type:\\\"Feature\\\"};return(0===n.id||n.id)&&(r.id=n.id),n.bbox&&(r.bbox=n.bbox),r.properties=e||{},r.geometry=t,r}function i(t,e,n){return void 0===n&&(n={}),r({type:\\\"Point\\\",coordinates:t},e,n)}function o(t,e,n){void 0===n&&(n={});for(var i=0,o=t;i<o.length;i++){var a=o[i];if(a.length<4)throw new Error(\\\"Each LinearRing of a Polygon must have 4 or more Positions.\\\");for(var s=0;s<a[a.length-1].length;s++)if(a[a.length-1][s]!==a[0][s])throw new Error(\\\"First and last Position are not equivalent.\\\")}return r({type:\\\"Polygon\\\",coordinates:t},e,n)}function a(t,e,n){if(void 0===n&&(n={}),t.length<2)throw new Error(\\\"coordinates must be an array of two or more positions\\\");return r({type:\\\"LineString\\\",coordinates:t},e,n)}function s(t,e){void 0===e&&(e={});var n={type:\\\"FeatureCollection\\\"};return e.id&&(n.id=e.id),e.bbox&&(n.bbox=e.bbox),n.features=t,n}function l(t,e,n){return void 0===n&&(n={}),r({type:\\\"MultiLineString\\\",coordinates:t},e,n)}function u(t,e,n){return void 0===n&&(n={}),r({type:\\\"MultiPoint\\\",coordinates:t},e,n)}function c(t,e,n){return void 0===n&&(n={}),r({type:\\\"MultiPolygon\\\",coordinates:t},e,n)}function h(t,e){void 0===e&&(e=\\\"kilometers\\\");var r=n.factors[e];if(!r)throw new Error(e+\\\" units is invalid\\\");return t*r}function p(t,e){void 0===e&&(e=\\\"kilometers\\\");var r=n.factors[e];if(!r)throw new Error(e+\\\" units is invalid\\\");return t/r}function f(t){return t%(2*Math.PI)*180/Math.PI}function d(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)&&!/^\\\\s*$/.test(t)}Object.defineProperty(n,\\\"__esModule\\\",{value:!0}),n.earthRadius=6371008.8,n.factors={centimeters:100*n.earthRadius,centimetres:100*n.earthRadius,degrees:n.earthRadius/111325,feet:3.28084*n.earthRadius,inches:39.37*n.earthRadius,kilometers:n.earthRadius/1e3,kilometres:n.earthRadius/1e3,meters:n.earthRadius,metres:n.earthRadius,miles:n.earthRadius/1609.344,millimeters:1e3*n.earthRadius,millimetres:1e3*n.earthRadius,nauticalmiles:n.earthRadius/1852,radians:1,yards:n.earthRadius/1.0936},n.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/n.earthRadius,yards:1/1.0936},n.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},n.feature=r,n.geometry=function(t,e,n){switch(void 0===n&&(n={}),t){case\\\"Point\\\":return i(e).geometry;case\\\"LineString\\\":return a(e).geometry;case\\\"Polygon\\\":return o(e).geometry;case\\\"MultiPoint\\\":return u(e).geometry;case\\\"MultiLineString\\\":return l(e).geometry;case\\\"MultiPolygon\\\":return c(e).geometry;default:throw new Error(t+\\\" is invalid\\\")}},n.point=i,n.points=function(t,e,n){return void 0===n&&(n={}),s(t.map((function(t){return i(t,e)})),n)},n.polygon=o,n.polygons=function(t,e,n){return void 0===n&&(n={}),s(t.map((function(t){return o(t,e)})),n)},n.lineString=a,n.lineStrings=function(t,e,n){return void 0===n&&(n={}),s(t.map((function(t){return a(t,e)})),n)},n.featureCollection=s,n.multiLineString=l,n.multiPoint=u,n.multiPolygon=c,n.geometryCollection=function(t,e,n){return void 0===n&&(n={}),r({type:\\\"GeometryCollection\\\",geometries:t},e,n)},n.round=function(t,e){if(void 0===e&&(e=0),e&&!(e>=0))throw new Error(\\\"precision must be a positive number\\\");var n=Math.pow(10,e||0);return Math.round(t*n)/n},n.radiansToLength=h,n.lengthToRadians=p,n.lengthToDegrees=function(t,e){return f(p(t,e))},n.bearingToAzimuth=function(t){var e=t%360;return e<0&&(e+=360),e},n.radiansToDegrees=f,n.degreesToRadians=function(t){return t%360*Math.PI/180},n.convertLength=function(t,e,n){if(void 0===e&&(e=\\\"kilometers\\\"),void 0===n&&(n=\\\"kilometers\\\"),!(t>=0))throw new Error(\\\"length must be a positive number\\\");return h(p(t,e),n)},n.convertArea=function(t,e,r){if(void 0===e&&(e=\\\"meters\\\"),void 0===r&&(r=\\\"kilometers\\\"),!(t>=0))throw new Error(\\\"area must be a positive number\\\");var i=n.areaFactors[e];if(!i)throw new Error(\\\"invalid original units\\\");var o=n.areaFactors[r];if(!o)throw new Error(\\\"invalid final units\\\");return t/i*o},n.isNumber=d,n.isObject=function(t){return!!t&&t.constructor===Object},n.validateBBox=function(t){if(!t)throw new Error(\\\"bbox is required\\\");if(!Array.isArray(t))throw new Error(\\\"bbox must be an Array\\\");if(4!==t.length&&6!==t.length)throw new Error(\\\"bbox must be an Array of 4 or 6 numbers\\\");t.forEach((function(t){if(!d(t))throw new Error(\\\"bbox must only contain numbers\\\")}))},n.validateId=function(t){if(!t)throw new Error(\\\"id is required\\\");if(-1===[\\\"string\\\",\\\"number\\\"].indexOf(typeof t))throw new Error(\\\"id must be a number or a string\\\")},n.radians2degrees=function(){throw new Error(\\\"method has been renamed to `radiansToDegrees`\\\")},n.degrees2radians=function(){throw new Error(\\\"method has been renamed to `degreesToRadians`\\\")},n.distanceToDegrees=function(){throw new Error(\\\"method has been renamed to `lengthToDegrees`\\\")},n.distanceToRadians=function(){throw new Error(\\\"method has been renamed to `lengthToRadians`\\\")},n.radiansToDistance=function(){throw new Error(\\\"method has been renamed to `radiansToLength`\\\")},n.bearingToAngle=function(){throw new Error(\\\"method has been renamed to `bearingToAzimuth`\\\")},n.convertDistance=function(){throw new Error(\\\"method has been renamed to `convertLength`\\\")}},{}],61:[function(t,e,n){\\\"use strict\\\";Object.defineProperty(n,\\\"__esModule\\\",{value:!0});var r=t(\\\"@turf/helpers\\\");function i(t,e,n){if(null!==t)for(var r,o,a,s,l,u,c,h,p=0,f=0,d=t.type,m=\\\"FeatureCollection\\\"===d,v=\\\"Feature\\\"===d,g=m?t.features.length:1,y=0;y<g;y++){l=(h=!!(c=m?t.features[y].geometry:v?t.geometry:t)&&\\\"GeometryCollection\\\"===c.type)?c.geometries.length:1;for(var _=0;_<l;_++){var b=0,x=0;if(null!==(s=h?c.geometries[_]:c)){u=s.coordinates;var w=s.type;switch(p=!n||\\\"Polygon\\\"!==w&&\\\"MultiPolygon\\\"!==w?0:1,w){case null:break;case\\\"Point\\\":if(!1===e(u,f,y,b,x))return!1;f++,b++;break;case\\\"LineString\\\":case\\\"MultiPoint\\\":for(r=0;r<u.length;r++){if(!1===e(u[r],f,y,b,x))return!1;f++,\\\"MultiPoint\\\"===w&&b++}\\\"LineString\\\"===w&&b++;break;case\\\"Polygon\\\":case\\\"MultiLineString\\\":for(r=0;r<u.length;r++){for(o=0;o<u[r].length-p;o++){if(!1===e(u[r][o],f,y,b,x))return!1;f++}\\\"MultiLineString\\\"===w&&b++,\\\"Polygon\\\"===w&&x++}\\\"Polygon\\\"===w&&b++;break;case\\\"MultiPolygon\\\":for(r=0;r<u.length;r++){for(x=0,o=0;o<u[r].length;o++){for(a=0;a<u[r][o].length-p;a++){if(!1===e(u[r][o][a],f,y,b,x))return!1;f++}x++}b++}break;case\\\"GeometryCollection\\\":for(r=0;r<s.geometries.length;r++)if(!1===i(s.geometries[r],e,n))return!1;break;default:throw new Error(\\\"Unknown Geometry Type\\\")}}}}}function o(t,e){var n;switch(t.type){case\\\"FeatureCollection\\\":for(n=0;n<t.features.length&&!1!==e(t.features[n].properties,n);n++);break;case\\\"Feature\\\":e(t.properties,0)}}function a(t,e){if(\\\"Feature\\\"===t.type)e(t,0);else if(\\\"FeatureCollection\\\"===t.type)for(var n=0;n<t.features.length&&!1!==e(t.features[n],n);n++);}function s(t,e){var n,r,i,o,a,s,l,u,c,h,p=0,f=\\\"FeatureCollection\\\"===t.type,d=\\\"Feature\\\"===t.type,m=f?t.features.length:1;for(n=0;n<m;n++){for(s=f?t.features[n].geometry:d?t.geometry:t,u=f?t.features[n].properties:d?t.properties:{},c=f?t.features[n].bbox:d?t.bbox:void 0,h=f?t.features[n].id:d?t.id:void 0,a=(l=!!s&&\\\"GeometryCollection\\\"===s.type)?s.geometries.length:1,i=0;i<a;i++)if(null!==(o=l?s.geometries[i]:s))switch(o.type){case\\\"Point\\\":case\\\"LineString\\\":case\\\"MultiPoint\\\":case\\\"Polygon\\\":case\\\"MultiLineString\\\":case\\\"MultiPolygon\\\":if(!1===e(o,p,u,c,h))return!1;break;case\\\"GeometryCollection\\\":for(r=0;r<o.geometries.length;r++)if(!1===e(o.geometries[r],p,u,c,h))return!1;break;default:throw new Error(\\\"Unknown Geometry Type\\\")}else if(!1===e(null,p,u,c,h))return!1;p++}}function l(t,e){s(t,(function(t,n,i,o,a){var s,l=null===t?null:t.type;switch(l){case null:case\\\"Point\\\":case\\\"LineString\\\":case\\\"Polygon\\\":return!1!==e(r.feature(t,i,{bbox:o,id:a}),n,0)&&void 0}switch(l){case\\\"MultiPoint\\\":s=\\\"Point\\\";break;case\\\"MultiLineString\\\":s=\\\"LineString\\\";break;case\\\"MultiPolygon\\\":s=\\\"Polygon\\\"}for(var u=0;u<t.coordinates.length;u++){var c={type:s,coordinates:t.coordinates[u]};if(!1===e(r.feature(c,i),n,u))return!1}}))}function u(t,e){l(t,(function(t,n,o){var a=0;if(t.geometry){var s=t.geometry.type;if(\\\"Point\\\"!==s&&\\\"MultiPoint\\\"!==s){var l,u=0,c=0,h=0;return!1!==i(t,(function(i,s,p,f,d){if(void 0===l||n>u||f>c||d>h)return l=i,u=n,c=f,h=d,void(a=0);var m=r.lineString([l,i],t.properties);if(!1===e(m,n,o,d,a))return!1;a++,l=i}))&&void 0}}}))}function c(t,e){if(!t)throw new Error(\\\"geojson is required\\\");l(t,(function(t,n,i){if(null!==t.geometry){var o=t.geometry.type,a=t.geometry.coordinates;switch(o){case\\\"LineString\\\":if(!1===e(t,n,i,0,0))return!1;break;case\\\"Polygon\\\":for(var s=0;s<a.length;s++)if(!1===e(r.lineString(a[s],t.properties),n,i,s))return!1}}}))}n.coordEach=i,n.coordReduce=function(t,e,n,r){var o=n;return i(t,(function(t,r,i,a,s){o=0===r&&void 0===n?t:e(o,t,r,i,a,s)}),r),o},n.propEach=o,n.propReduce=function(t,e,n){var r=n;return o(t,(function(t,i){r=0===i&&void 0===n?t:e(r,t,i)})),r},n.featureEach=a,n.featureReduce=function(t,e,n){var r=n;return a(t,(function(t,i){r=0===i&&void 0===n?t:e(r,t,i)})),r},n.coordAll=function(t){var e=[];return i(t,(function(t){e.push(t)})),e},n.geomEach=s,n.geomReduce=function(t,e,n){var r=n;return s(t,(function(t,i,o,a,s){r=0===i&&void 0===n?t:e(r,t,i,o,a,s)})),r},n.flattenEach=l,n.flattenReduce=function(t,e,n){var r=n;return l(t,(function(t,i,o){r=0===i&&0===o&&void 0===n?t:e(r,t,i,o)})),r},n.segmentEach=u,n.segmentReduce=function(t,e,n){var r=n,i=!1;return u(t,(function(t,o,a,s,l){r=!1===i&&void 0===n?t:e(r,t,o,a,s,l),i=!0})),r},n.lineEach=c,n.lineReduce=function(t,e,n){var r=n;return c(t,(function(t,i,o,a){r=0===i&&void 0===n?t:e(r,t,i,o,a)})),r},n.findSegment=function(t,e){if(e=e||{},!r.isObject(e))throw new Error(\\\"options is invalid\\\");var n,i=e.featureIndex||0,o=e.multiFeatureIndex||0,a=e.geometryIndex||0,s=e.segmentIndex||0,l=e.properties;switch(t.type){case\\\"FeatureCollection\\\":i<0&&(i=t.features.length+i),l=l||t.features[i].properties,n=t.features[i].geometry;break;case\\\"Feature\\\":l=l||t.properties,n=t.geometry;break;case\\\"Point\\\":case\\\"MultiPoint\\\":return null;case\\\"LineString\\\":case\\\"Polygon\\\":case\\\"MultiLineString\\\":case\\\"MultiPolygon\\\":n=t;break;default:throw new Error(\\\"geojson is invalid\\\")}if(null===n)return null;var u=n.coordinates;switch(n.type){case\\\"Point\\\":case\\\"MultiPoint\\\":return null;case\\\"LineString\\\":return s<0&&(s=u.length+s-1),r.lineString([u[s],u[s+1]],l,e);case\\\"Polygon\\\":return a<0&&(a=u.length+a),s<0&&(s=u[a].length+s-1),r.lineString([u[a][s],u[a][s+1]],l,e);case\\\"MultiLineString\\\":return o<0&&(o=u.length+o),s<0&&(s=u[o].length+s-1),r.lineString([u[o][s],u[o][s+1]],l,e);case\\\"MultiPolygon\\\":return o<0&&(o=u.length+o),a<0&&(a=u[o].length+a),s<0&&(s=u[o][a].length-s-1),r.lineString([u[o][a][s],u[o][a][s+1]],l,e)}throw new Error(\\\"geojson is invalid\\\")},n.findPoint=function(t,e){if(e=e||{},!r.isObject(e))throw new Error(\\\"options is invalid\\\");var n,i=e.featureIndex||0,o=e.multiFeatureIndex||0,a=e.geometryIndex||0,s=e.coordIndex||0,l=e.properties;switch(t.type){case\\\"FeatureCollection\\\":i<0&&(i=t.features.length+i),l=l||t.features[i].properties,n=t.features[i].geometry;break;case\\\"Feature\\\":l=l||t.properties,n=t.geometry;break;case\\\"Point\\\":case\\\"MultiPoint\\\":return null;case\\\"LineString\\\":case\\\"Polygon\\\":case\\\"MultiLineString\\\":case\\\"MultiPolygon\\\":n=t;break;default:throw new Error(\\\"geojson is invalid\\\")}if(null===n)return null;var u=n.coordinates;switch(n.type){case\\\"Point\\\":return r.point(u,l,e);case\\\"MultiPoint\\\":return o<0&&(o=u.length+o),r.point(u[o],l,e);case\\\"LineString\\\":return s<0&&(s=u.length+s),r.point(u[s],l,e);case\\\"Polygon\\\":return a<0&&(a=u.length+a),s<0&&(s=u[a].length+s),r.point(u[a][s],l,e);case\\\"MultiLineString\\\":return o<0&&(o=u.length+o),s<0&&(s=u[o].length+s),r.point(u[o][s],l,e);case\\\"MultiPolygon\\\":return o<0&&(o=u.length+o),a<0&&(a=u[o].length+a),s<0&&(s=u[o][a].length-s),r.point(u[o][a][s],l,e)}throw new Error(\\\"geojson is invalid\\\")}},{\\\"@turf/helpers\\\":60}],62:[function(t,e,n){\\\"use strict\\\";var r=\\\"undefined\\\"==typeof WeakMap?t(\\\"weak-map\\\"):WeakMap,i=t(\\\"gl-buffer\\\"),o=t(\\\"gl-vao\\\"),a=new r;e.exports=function(t){var e=a.get(t),n=e&&(e._triangleBuffer.handle||e._triangleBuffer.buffer);if(!n||!t.isBuffer(n)){var r=i(t,new Float32Array([-1,-1,-1,4,4,-1]));(e=o(t,[{buffer:r,type:t.FLOAT,size:2}]))._triangleBuffer=r,a.set(t,e)}e.bind(),t.drawArrays(t.TRIANGLES,0,3),e.unbind()}},{\\\"gl-buffer\\\":253,\\\"gl-vao\\\":327,\\\"weak-map\\\":554}],63:[function(t,e,n){e.exports=function(t){var e=0,n=0,r=0,i=0;return t.map((function(t){var o=(t=t.slice())[0],a=o.toUpperCase();if(o!=a)switch(t[0]=a,o){case\\\"a\\\":t[6]+=r,t[7]+=i;break;case\\\"v\\\":t[1]+=i;break;case\\\"h\\\":t[1]+=r;break;default:for(var s=1;s<t.length;)t[s++]+=r,t[s++]+=i}switch(a){case\\\"Z\\\":r=e,i=n;break;case\\\"H\\\":r=t[1];break;case\\\"V\\\":i=t[1];break;case\\\"M\\\":r=e=t[1],i=n=t[2];break;default:r=t[t.length-2],i=t[t.length-1]}return t}))}},{}],64:[function(t,e,n){var r=t(\\\"pad-left\\\");e.exports=function(t,e,n){e=\\\"number\\\"==typeof e?e:1,n=n||\\\": \\\";var i=t.split(/\\\\r?\\\\n/),o=String(i.length+e-1).length;return i.map((function(t,i){var a=i+e,s=String(a).length;return r(a,o-s)+n+t})).join(\\\"\\\\n\\\")}},{\\\"pad-left\\\":455}],65:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.length;if(0===e)return[];if(1===e)return[0];for(var n=t[0].length,r=[t[0]],o=[0],a=1;a<e;++a)if(r.push(t[a]),i(r,n)){if(o.push(a),o.length===n+1)return o}else r.pop();return o};var r=t(\\\"robust-orientation\\\");function i(t,e){for(var n=new Array(e+1),i=0;i<t.length;++i)n[i]=t[i];for(i=0;i<=t.length;++i){for(var o=t.length;o<=e;++o){for(var a=new Array(e),s=0;s<e;++s)a[s]=Math.pow(o+1-i,s);n[o]=a}if(r.apply(void 0,n))return!0}return!1}},{\\\"robust-orientation\\\":500}],66:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return r(e).filter((function(n){for(var r=new Array(n.length),o=0;o<n.length;++o)r[o]=e[n[o]];return i(r)*t<1}))};var r=t(\\\"delaunay-triangulate\\\"),i=t(\\\"circumradius\\\")},{circumradius:116,\\\"delaunay-triangulate\\\":166}],67:[function(t,e,n){e.exports=function(t,e){return i(r(t,e))};var r=t(\\\"alpha-complex\\\"),i=t(\\\"simplicial-complex-boundary\\\")},{\\\"alpha-complex\\\":66,\\\"simplicial-complex-boundary\\\":507}],68:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){if(!t||null==t.length)throw Error(\\\"Argument should be an array\\\");e=null==e?1:Math.floor(e);for(var n=Array(2*e),r=0;r<e;r++){for(var i=-1/0,o=1/0,a=r,s=t.length;a<s;a+=e)t[a]>i&&(i=t[a]),t[a]<o&&(o=t[a]);n[r]=o,n[e+r]=i}return n}},{}],69:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"array-bounds\\\");e.exports=function(t,e,n){if(!t||null==t.length)throw Error(\\\"Argument should be an array\\\");null==e&&(e=1),null==n&&(n=r(t,e));for(var i=0;i<e;i++){var o=n[e+i],a=n[i],s=i,l=t.length;if(o===1/0&&a===-1/0)for(s=i;s<l;s+=e)t[s]=t[s]===o?1:t[s]===a?0:.5;else if(o===1/0)for(s=i;s<l;s+=e)t[s]=t[s]===o?1:0;else if(a===-1/0)for(s=i;s<l;s+=e)t[s]=t[s]===a?0:1;else{var u=o-a;for(s=i;s<l;s+=e)isNaN(t[s])||(t[s]=0===u?.5:(t[s]-a)/u)}}return t}},{\\\"array-bounds\\\":68}],70:[function(t,e,n){e.exports=function(t,e){var n=\\\"number\\\"==typeof t,r=\\\"number\\\"==typeof e;n&&!r?(e=t,t=0):n||r||(t=0,e=0);var i=(e|=0)-(t|=0);if(i<0)throw new Error(\\\"array length must be positive\\\");for(var o=new Array(i),a=0,s=t;a<i;a++,s++)o[a]=s;return o}},{}],71:[function(t,e,r){(function(n){\\\"use strict\\\";var r=t(\\\"object-assign\\\");function i(t,e){if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0}function o(t){return n.Buffer&&\\\"function\\\"==typeof n.Buffer.isBuffer?n.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var a=t(\\\"util/\\\"),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u=\\\"foo\\\"===function(){}.name;function c(t){return Object.prototype.toString.call(t)}function h(t){return!o(t)&&\\\"function\\\"==typeof n.ArrayBuffer&&(\\\"function\\\"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer)))}var p=e.exports=y,f=/\\\\s*function\\\\s+([^\\\\(\\\\s]*)\\\\s*/;function d(t){if(a.isFunction(t)){if(u)return t.name;var e=t.toString().match(f);return e&&e[1]}}function m(t,e){return\\\"string\\\"==typeof t?t.length<e?t:t.slice(0,e):t}function v(t){if(u||!a.isFunction(t))return a.inspect(t);var e=d(t);return\\\"[Function\\\"+(e?\\\": \\\"+e:\\\"\\\")+\\\"]\\\"}function g(t,e,n,r,i){throw new p.AssertionError({message:n,actual:t,expected:e,operator:r,stackStartFunction:i})}function y(t,e){t||g(t,!0,e,\\\"==\\\",p.ok)}function _(t,e,n,r){if(t===e)return!0;if(o(t)&&o(e))return 0===i(t,e);if(a.isDate(t)&&a.isDate(e))return t.getTime()===e.getTime();if(a.isRegExp(t)&&a.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&\\\"object\\\"==typeof t||null!==e&&\\\"object\\\"==typeof e){if(h(t)&&h(e)&&c(t)===c(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===i(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(o(t)!==o(e))return!1;var s=(r=r||{actual:[],expected:[]}).actual.indexOf(t);return-1!==s&&s===r.expected.indexOf(e)||(r.actual.push(t),r.expected.push(e),function(t,e,n,r){if(null==t||null==e)return!1;if(a.isPrimitive(t)||a.isPrimitive(e))return t===e;if(n&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=b(t),o=b(e);if(i&&!o||!i&&o)return!1;if(i)return _(t=l.call(t),e=l.call(e),n);var s,u,c=A(t),h=A(e);if(c.length!==h.length)return!1;for(c.sort(),h.sort(),u=c.length-1;u>=0;u--)if(c[u]!==h[u])return!1;for(u=c.length-1;u>=0;u--)if(!_(t[s=c[u]],e[s],n,r))return!1;return!0}(t,e,n,r))}return n?t===e:t==e}function b(t){return\\\"[object Arguments]\\\"==Object.prototype.toString.call(t)}function x(t,e){if(!t||!e)return!1;if(\\\"[object RegExp]\\\"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function w(t,e,n,r){var i;if(\\\"function\\\"!=typeof e)throw new TypeError('\\\"block\\\" argument must be a function');\\\"string\\\"==typeof n&&(r=n,n=null),i=function(t){var e;try{t()}catch(t){e=t}return e}(e),r=(n&&n.name?\\\" (\\\"+n.name+\\\").\\\":\\\".\\\")+(r?\\\" \\\"+r:\\\".\\\"),t&&!i&&g(i,n,\\\"Missing expected exception\\\"+r);var o=\\\"string\\\"==typeof r,s=!t&&i&&!n;if((!t&&a.isError(i)&&o&&x(i,n)||s)&&g(i,n,\\\"Got unwanted exception\\\"+r),t&&i&&n&&!x(i,n)||!t&&i)throw i}p.AssertionError=function(t){this.name=\\\"AssertionError\\\",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return m(v(t.actual),128)+\\\" \\\"+t.operator+\\\" \\\"+m(v(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var n=new Error;if(n.stack){var r=n.stack,i=d(e),o=r.indexOf(\\\"\\\\n\\\"+i);if(o>=0){var a=r.indexOf(\\\"\\\\n\\\",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(p.AssertionError,Error),p.fail=g,p.ok=y,p.equal=function(t,e,n){t!=e&&g(t,e,n,\\\"==\\\",p.equal)},p.notEqual=function(t,e,n){t==e&&g(t,e,n,\\\"!=\\\",p.notEqual)},p.deepEqual=function(t,e,n){_(t,e,!1)||g(t,e,n,\\\"deepEqual\\\",p.deepEqual)},p.deepStrictEqual=function(t,e,n){_(t,e,!0)||g(t,e,n,\\\"deepStrictEqual\\\",p.deepStrictEqual)},p.notDeepEqual=function(t,e,n){_(t,e,!1)&&g(t,e,n,\\\"notDeepEqual\\\",p.notDeepEqual)},p.notDeepStrictEqual=function t(e,n,r){_(e,n,!0)&&g(e,n,r,\\\"notDeepStrictEqual\\\",t)},p.strictEqual=function(t,e,n){t!==e&&g(t,e,n,\\\"===\\\",p.strictEqual)},p.notStrictEqual=function(t,e,n){t===e&&g(t,e,n,\\\"!==\\\",p.notStrictEqual)},p.throws=function(t,e,n){w(!0,t,e,n)},p.doesNotThrow=function(t,e,n){w(!1,t,e,n)},p.ifError=function(t){if(t)throw t},p.strict=r((function t(e,n){e||g(e,!0,n,\\\"==\\\",t)}),p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var A=Object.keys||function(t){var e=[];for(var n in t)s.call(t,n)&&e.push(n);return e}}).call(this,void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{\\\"object-assign\\\":452,\\\"util/\\\":74}],72:[function(t,e,n){\\\"function\\\"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},{}],73:[function(t,e,n){e.exports=function(t){return t&&\\\"object\\\"==typeof t&&\\\"function\\\"==typeof t.copy&&\\\"function\\\"==typeof t.fill&&\\\"function\\\"==typeof t.readUInt8}},{}],74:[function(t,e,r){(function(e,n){var i=/%[sdj%]/g;r.format=function(t){if(!g(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(s(arguments[n]));return e.join(\\\" \\\")}n=1;for(var r=arguments,o=r.length,a=String(t).replace(i,(function(t){if(\\\"%%\\\"===t)return\\\"%\\\";if(n>=o)return t;switch(t){case\\\"%s\\\":return String(r[n++]);case\\\"%d\\\":return Number(r[n++]);case\\\"%j\\\":try{return JSON.stringify(r[n++])}catch(t){return\\\"[Circular]\\\"}default:return t}})),l=r[n];n<o;l=r[++n])m(l)||!b(l)?a+=\\\" \\\"+l:a+=\\\" \\\"+s(l);return a},r.deprecate=function(t,i){if(y(n.process))return function(){return r.deprecate(t,i).apply(this,arguments)};if(!0===e.noDeprecation)return t;var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(i);e.traceDeprecation?console.trace(i):console.error(i),o=!0}return t.apply(this,arguments)}};var o,a={};function s(t,e){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(e)?n.showHidden=e:e&&r._extend(n,e),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,t,n.depth)}function l(t,e){var n=s.styles[e];return n?\\\"\\u001b[\\\"+s.colors[n][0]+\\\"m\\\"+t+\\\"\\u001b[\\\"+s.colors[n][1]+\\\"m\\\":t}function u(t,e){return t}function c(t,e,n){if(t.customInspect&&e&&A(e.inspect)&&e.inspect!==r.inspect&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(n,t);return g(i)||(i=c(t,i,n)),i}var o=function(t,e){if(y(e))return t.stylize(\\\"undefined\\\",\\\"undefined\\\");if(g(e)){var n=\\\"'\\\"+JSON.stringify(e).replace(/^\\\"|\\\"$/g,\\\"\\\").replace(/'/g,\\\"\\\\\\\\'\\\").replace(/\\\\\\\\\\\"/g,'\\\"')+\\\"'\\\";return t.stylize(n,\\\"string\\\")}return v(e)?t.stylize(\\\"\\\"+e,\\\"number\\\"):d(e)?t.stylize(\\\"\\\"+e,\\\"boolean\\\"):m(e)?t.stylize(\\\"null\\\",\\\"null\\\"):void 0}(t,e);if(o)return o;var a=Object.keys(e),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),w(e)&&(a.indexOf(\\\"message\\\")>=0||a.indexOf(\\\"description\\\")>=0))return h(e);if(0===a.length){if(A(e)){var l=e.name?\\\": \\\"+e.name:\\\"\\\";return t.stylize(\\\"[Function\\\"+l+\\\"]\\\",\\\"special\\\")}if(_(e))return t.stylize(RegExp.prototype.toString.call(e),\\\"regexp\\\");if(x(e))return t.stylize(Date.prototype.toString.call(e),\\\"date\\\");if(w(e))return h(e)}var u,b=\\\"\\\",C=!1,M=[\\\"{\\\",\\\"}\\\"];return f(e)&&(C=!0,M=[\\\"[\\\",\\\"]\\\"]),A(e)&&(b=\\\" [Function\\\"+(e.name?\\\": \\\"+e.name:\\\"\\\")+\\\"]\\\"),_(e)&&(b=\\\" \\\"+RegExp.prototype.toString.call(e)),x(e)&&(b=\\\" \\\"+Date.prototype.toUTCString.call(e)),w(e)&&(b=\\\" \\\"+h(e)),0!==a.length||C&&0!=e.length?n<0?_(e)?t.stylize(RegExp.prototype.toString.call(e),\\\"regexp\\\"):t.stylize(\\\"[Object]\\\",\\\"special\\\"):(t.seen.push(e),u=C?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a<s;++a)S(e,String(a))?o.push(p(t,e,n,r,String(a),!0)):o.push(\\\"\\\");return i.forEach((function(i){i.match(/^\\\\d+$/)||o.push(p(t,e,n,r,i,!0))})),o}(t,e,n,s,a):a.map((function(r){return p(t,e,n,s,r,C)})),t.seen.pop(),function(t,e,n){return t.reduce((function(t,e){return e.indexOf(\\\"\\\\n\\\"),t+e.replace(/\\\\u001b\\\\[\\\\d\\\\d?m/g,\\\"\\\").length+1}),0)>60?n[0]+(\\\"\\\"===e?\\\"\\\":e+\\\"\\\\n \\\")+\\\" \\\"+t.join(\\\",\\\\n \\\")+\\\" \\\"+n[1]:n[0]+e+\\\" \\\"+t.join(\\\", \\\")+\\\" \\\"+n[1]}(u,b,M)):M[0]+b+M[1]}function h(t){return\\\"[\\\"+Error.prototype.toString.call(t)+\\\"]\\\"}function p(t,e,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=l.set?t.stylize(\\\"[Getter/Setter]\\\",\\\"special\\\"):t.stylize(\\\"[Getter]\\\",\\\"special\\\"):l.set&&(s=t.stylize(\\\"[Setter]\\\",\\\"special\\\")),S(r,i)||(a=\\\"[\\\"+i+\\\"]\\\"),s||(t.seen.indexOf(l.value)<0?(s=m(n)?c(t,l.value,null):c(t,l.value,n-1)).indexOf(\\\"\\\\n\\\")>-1&&(s=o?s.split(\\\"\\\\n\\\").map((function(t){return\\\" \\\"+t})).join(\\\"\\\\n\\\").substr(2):\\\"\\\\n\\\"+s.split(\\\"\\\\n\\\").map((function(t){return\\\" \\\"+t})).join(\\\"\\\\n\\\")):s=t.stylize(\\\"[Circular]\\\",\\\"special\\\")),y(a)){if(o&&i.match(/^\\\\d+$/))return s;(a=JSON.stringify(\\\"\\\"+i)).match(/^\\\"([a-zA-Z_][a-zA-Z_0-9]*)\\\"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,\\\"name\\\")):(a=a.replace(/'/g,\\\"\\\\\\\\'\\\").replace(/\\\\\\\\\\\"/g,'\\\"').replace(/(^\\\"|\\\"$)/g,\\\"'\\\"),a=t.stylize(a,\\\"string\\\"))}return a+\\\": \\\"+s}function f(t){return Array.isArray(t)}function d(t){return\\\"boolean\\\"==typeof t}function m(t){return null===t}function v(t){return\\\"number\\\"==typeof t}function g(t){return\\\"string\\\"==typeof t}function y(t){return void 0===t}function _(t){return b(t)&&\\\"[object RegExp]\\\"===C(t)}function b(t){return\\\"object\\\"==typeof t&&null!==t}function x(t){return b(t)&&\\\"[object Date]\\\"===C(t)}function w(t){return b(t)&&(\\\"[object Error]\\\"===C(t)||t instanceof Error)}function A(t){return\\\"function\\\"==typeof t}function C(t){return Object.prototype.toString.call(t)}function M(t){return t<10?\\\"0\\\"+t.toString(10):t.toString(10)}r.debuglog=function(t){if(y(o)&&(o=e.env.NODE_DEBUG||\\\"\\\"),t=t.toUpperCase(),!a[t])if(new RegExp(\\\"\\\\\\\\b\\\"+t+\\\"\\\\\\\\b\\\",\\\"i\\\").test(o)){var n=e.pid;a[t]=function(){var e=r.format.apply(r,arguments);console.error(\\\"%s %d: %s\\\",t,n,e)}}else a[t]=function(){};return a[t]},r.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:\\\"cyan\\\",number:\\\"yellow\\\",boolean:\\\"yellow\\\",undefined:\\\"grey\\\",null:\\\"bold\\\",string:\\\"green\\\",date:\\\"magenta\\\",regexp:\\\"red\\\"},r.isArray=f,r.isBoolean=d,r.isNull=m,r.isNullOrUndefined=function(t){return null==t},r.isNumber=v,r.isString=g,r.isSymbol=function(t){return\\\"symbol\\\"==typeof t},r.isUndefined=y,r.isRegExp=_,r.isObject=b,r.isDate=x,r.isError=w,r.isFunction=A,r.isPrimitive=function(t){return null===t||\\\"boolean\\\"==typeof t||\\\"number\\\"==typeof t||\\\"string\\\"==typeof t||\\\"symbol\\\"==typeof t||void 0===t},r.isBuffer=t(\\\"./support/isBuffer\\\");var E=[\\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\"];function T(){var t=new Date,e=[M(t.getHours()),M(t.getMinutes()),M(t.getSeconds())].join(\\\":\\\");return[t.getDate(),E[t.getMonth()],e].join(\\\" \\\")}function S(t,e){return Object.prototype.hasOwnProperty.call(t,e)}r.log=function(){console.log(\\\"%s - %s\\\",T(),r.format.apply(r,arguments))},r.inherits=t(\\\"inherits\\\"),r._extend=function(t,e){if(!e||!b(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}}).call(this,t(\\\"_process\\\"),void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{\\\"./support/isBuffer\\\":73,_process:480,inherits:72}],75:[function(t,e,n){e.exports=function(t){return atob(t)}},{}],76:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){for(var n=e.length,o=new Array(n+1),a=0;a<n;++a){for(var s=new Array(n+1),l=0;l<=n;++l)s[l]=t[l][a];o[a]=s}for(o[n]=new Array(n+1),a=0;a<=n;++a)o[n][a]=1;var u=new Array(n+1);for(a=0;a<n;++a)u[a]=e[a];u[n]=1;var c=r(o,u),h=i(c[n+1]);0===h&&(h=1);var p=new Array(n+1);for(a=0;a<=n;++a)p[a]=i(c[a])/h;return p};var r=t(\\\"robust-linear-solve\\\");function i(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return e}},{\\\"robust-linear-solve\\\":499}],77:[function(t,e,n){\\\"use strict\\\";n.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r},n.toByteArray=function(t){var e,n,r=u(t),a=r[0],s=r[1],l=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),c=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[c++]=255&e),1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l},n.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(c(t,s,s+a>l?l:s+a));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+\\\"==\\\")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+\\\"=\\\")),o.join(\\\"\\\")};for(var r=[],i=[],o=\\\"undefined\\\"!=typeof Uint8Array?Uint8Array:Array,a=\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\\\",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error(\\\"Invalid string. Length must be a multiple of 4\\\");var n=t.indexOf(\\\"=\\\");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[(s=i)>>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);var s;return o.join(\\\"\\\")}i[\\\"-\\\".charCodeAt(0)]=62,i[\\\"_\\\".charCodeAt(0)]=63},{}],78:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/rationalize\\\");e.exports=function(t,e){return r(t[0].mul(e[1]).add(e[0].mul(t[1])),t[1].mul(e[1]))}},{\\\"./lib/rationalize\\\":88}],79:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return t[0].mul(e[1]).cmp(e[0].mul(t[1]))}},{}],80:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/rationalize\\\");e.exports=function(t,e){return r(t[0].mul(e[1]),t[1].mul(e[0]))}},{\\\"./lib/rationalize\\\":88}],81:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./is-rat\\\"),i=t(\\\"./lib/is-bn\\\"),o=t(\\\"./lib/num-to-bn\\\"),a=t(\\\"./lib/str-to-bn\\\"),s=t(\\\"./lib/rationalize\\\"),l=t(\\\"./div\\\");e.exports=function t(e,n){if(r(e))return n?l(e,t(n)):[e[0].clone(),e[1].clone()];var u,c,h=0;if(i(e))u=e.clone();else if(\\\"string\\\"==typeof e)u=a(e);else{if(0===e)return[o(0),o(1)];if(e===Math.floor(e))u=o(e);else{for(;e!==Math.floor(e);)e*=Math.pow(2,256),h-=256;u=o(e)}}if(r(n))u.mul(n[1]),c=n[0].clone();else if(i(n))c=n.clone();else if(\\\"string\\\"==typeof n)c=a(n);else if(n)if(n===Math.floor(n))c=o(n);else{for(;n!==Math.floor(n);)n*=Math.pow(2,256),h+=256;c=o(n)}else c=o(1);return h>0?u=u.ushln(h):h<0&&(c=c.ushln(-h)),s(u,c)}},{\\\"./div\\\":80,\\\"./is-rat\\\":82,\\\"./lib/is-bn\\\":86,\\\"./lib/num-to-bn\\\":87,\\\"./lib/rationalize\\\":88,\\\"./lib/str-to-bn\\\":89}],82:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/is-bn\\\");e.exports=function(t){return Array.isArray(t)&&2===t.length&&r(t[0])&&r(t[1])}},{\\\"./lib/is-bn\\\":86}],83:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"bn.js\\\");e.exports=function(t){return t.cmp(new r(0))}},{\\\"bn.js\\\":97}],84:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./bn-sign\\\");e.exports=function(t){var e=t.length,n=t.words,i=0;if(1===e)i=n[0];else if(2===e)i=n[0]+67108864*n[1];else for(var o=0;o<e;o++)i+=n[o]*Math.pow(67108864,o);return r(t)*i}},{\\\"./bn-sign\\\":83}],85:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"double-bits\\\"),i=t(\\\"bit-twiddle\\\").countTrailingZeros;e.exports=function(t){var e=i(r.lo(t));if(e<32)return e;var n=i(r.hi(t));return n>20?52:n+32}},{\\\"bit-twiddle\\\":95,\\\"double-bits\\\":168}],86:[function(t,e,n){\\\"use strict\\\";t(\\\"bn.js\\\"),e.exports=function(t){return t&&\\\"object\\\"==typeof t&&Boolean(t.words)}},{\\\"bn.js\\\":97}],87:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"bn.js\\\"),i=t(\\\"double-bits\\\");e.exports=function(t){var e=i.exponent(t);return e<52?new r(t):new r(t*Math.pow(2,52-e)).ushln(e-52)}},{\\\"bn.js\\\":97,\\\"double-bits\\\":168}],88:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./num-to-bn\\\"),i=t(\\\"./bn-sign\\\");e.exports=function(t,e){var n=i(t),o=i(e);if(0===n)return[r(0),r(1)];if(0===o)return[r(0),r(0)];o<0&&(t=t.neg(),e=e.neg());var a=t.gcd(e);return a.cmpn(1)?[t.div(a),e.div(a)]:[t,e]}},{\\\"./bn-sign\\\":83,\\\"./num-to-bn\\\":87}],89:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"bn.js\\\");e.exports=function(t){return new r(t)}},{\\\"bn.js\\\":97}],90:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/rationalize\\\");e.exports=function(t,e){return r(t[0].mul(e[0]),t[1].mul(e[1]))}},{\\\"./lib/rationalize\\\":88}],91:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/bn-sign\\\");e.exports=function(t){return r(t[0])*r(t[1])}},{\\\"./lib/bn-sign\\\":83}],92:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/rationalize\\\");e.exports=function(t,e){return r(t[0].mul(e[1]).sub(t[1].mul(e[0])),t[1].mul(e[1]))}},{\\\"./lib/rationalize\\\":88}],93:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/bn-to-num\\\"),i=t(\\\"./lib/ctz\\\");e.exports=function(t){var e=t[0],n=t[1];if(0===e.cmpn(0))return 0;var o=e.abs().divmod(n.abs()),a=o.div,s=r(a),l=o.mod,u=e.negative!==n.negative?-1:1;if(0===l.cmpn(0))return u*s;if(s){var c=i(s)+4;return u*(s+(p=r(l.ushln(c).divRound(n)))*Math.pow(2,-c))}var h=n.bitLength()-l.bitLength()+53,p=r(l.ushln(h).divRound(n));return h<1023?u*p*Math.pow(2,-h):u*(p*=Math.pow(2,-1023))*Math.pow(2,1023-h)}},{\\\"./lib/bn-to-num\\\":84,\\\"./lib/ctz\\\":85}],94:[function(t,e,n){\\\"use strict\\\";function r(t,e,n,r,i){var o=[\\\"function \\\",t,\\\"(a,l,h,\\\",r.join(\\\",\\\"),\\\"){\\\",i?\\\"\\\":\\\"var i=\\\",n?\\\"l-1\\\":\\\"h+1\\\",\\\";while(l<=h){var m=(l+h)>>>1,x=a[m]\\\"];return i?e.indexOf(\\\"c\\\")<0?o.push(\\\";if(x===y){return m}else if(x<=y){\\\"):o.push(\\\";var p=c(x,y);if(p===0){return m}else if(p<=0){\\\"):o.push(\\\";if(\\\",e,\\\"){i=m;\\\"),n?o.push(\\\"l=m+1}else{h=m-1}\\\"):o.push(\\\"h=m-1}else{l=m+1}\\\"),o.push(\\\"}\\\"),i?o.push(\\\"return -1};\\\"):o.push(\\\"return i};\\\"),o.join(\\\"\\\")}function i(t,e,n,i){return new Function([r(\\\"A\\\",\\\"x\\\"+t+\\\"y\\\",e,[\\\"y\\\"],i),r(\\\"P\\\",\\\"c(x,y)\\\"+t+\\\"0\\\",e,[\\\"y\\\",\\\"c\\\"],i),\\\"function dispatchBsearch\\\",n,\\\"(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBsearch\\\",n].join(\\\"\\\"))()}e.exports={ge:i(\\\">=\\\",!1,\\\"GE\\\"),gt:i(\\\">\\\",!1,\\\"GT\\\"),lt:i(\\\"<\\\",!0,\\\"LT\\\"),le:i(\\\"<=\\\",!0,\\\"LE\\\"),eq:i(\\\"-\\\",!0,\\\"EQ\\\",!0)}},{}],95:[function(t,e,n){\\\"use strict\\\";function r(t){var e=32;return(t&=-t)&&e--,65535&t&&(e-=16),16711935&t&&(e-=8),252645135&t&&(e-=4),858993459&t&&(e-=2),1431655765&t&&(e-=1),e}n.INT_BITS=32,n.INT_MAX=2147483647,n.INT_MIN=-1<<31,n.sign=function(t){return(t>0)-(t<0)},n.abs=function(t){var e=t>>31;return(t^e)-e},n.min=function(t,e){return e^(t^e)&-(t<e)},n.max=function(t,e){return t^(t^e)&-(t<e)},n.isPow2=function(t){return!(t&t-1||!t)},n.log2=function(t){var e,n;return e=(t>65535)<<4,e|=n=((t>>>=e)>255)<<3,e|=n=((t>>>=n)>15)<<2,(e|=n=((t>>>=n)>3)<<1)|(t>>>=n)>>1},n.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},n.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},n.countTrailingZeros=r,n.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,1+((t|=t>>>8)|t>>>16)},n.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},n.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var i=new Array(256);!function(t){for(var e=0;e<256;++e){var n=e,r=e,i=7;for(n>>>=1;n;n>>>=1)r<<=1,r|=1&n,--i;t[e]=r<<i&255}}(i),n.reverse=function(t){return i[255&t]<<24|i[t>>>8&255]<<16|i[t>>>16&255]<<8|i[t>>>24&255]},n.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},n.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},n.interleave3=function(t,e,n){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(n=1227133513&((n=3272356035&((n=251719695&((n=4278190335&((n&=1023)|n<<16))|n<<8))|n<<4))|n<<2))<<2},n.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},n.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>r(t)+1}},{}],96:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"clamp\\\");e.exports=function(t,e){e||(e={});var n,a,s,l,u,c,h,p,f,d,m,v=null==e.cutoff?.25:e.cutoff,g=null==e.radius?8:e.radius,y=e.channel||0;if(ArrayBuffer.isView(t)||Array.isArray(t)){if(!e.width||!e.height)throw Error(\\\"For raw data width and height should be provided by options\\\");n=e.width,a=e.height,l=t,c=e.stride?e.stride:Math.floor(t.length/n/a)}else window.HTMLCanvasElement&&t instanceof window.HTMLCanvasElement?(h=(p=t).getContext(\\\"2d\\\"),n=p.width,a=p.height,l=(f=h.getImageData(0,0,n,a)).data,c=4):window.CanvasRenderingContext2D&&t instanceof window.CanvasRenderingContext2D?(h=t,n=(p=t.canvas).width,a=p.height,l=(f=h.getImageData(0,0,n,a)).data,c=4):window.ImageData&&t instanceof window.ImageData&&(f=t,n=t.width,a=t.height,l=f.data,c=4);if(s=Math.max(n,a),window.Uint8ClampedArray&&l instanceof window.Uint8ClampedArray||window.Uint8Array&&l instanceof window.Uint8Array)for(u=l,l=Array(n*a),d=0,m=u.length;d<m;d++)l[d]=u[d*c+y]/255;else if(1!==c)throw Error(\\\"Raw data can have only 1 value per pixel\\\");var _=Array(n*a),b=Array(n*a),x=Array(s),w=Array(s),A=Array(s+1),C=Array(s);for(d=0,m=n*a;d<m;d++){var M=l[d];_[d]=1===M?0:0===M?i:Math.pow(Math.max(0,.5-M),2),b[d]=1===M?i:0===M?0:Math.pow(Math.max(0,M-.5),2)}o(_,n,a,x,w,C,A),o(b,n,a,x,w,C,A);var E=window.Float32Array?new Float32Array(n*a):new Array(n*a);for(d=0,m=n*a;d<m;d++)E[d]=r(1-((_[d]-b[d])/g+v),0,1);return E};var i=1e20;function o(t,e,n,r,i,o,s){for(var l=0;l<e;l++){for(var u=0;u<n;u++)r[u]=t[u*e+l];for(a(r,i,o,s,n),u=0;u<n;u++)t[u*e+l]=i[u]}for(u=0;u<n;u++){for(l=0;l<e;l++)r[l]=t[u*e+l];for(a(r,i,o,s,e),l=0;l<e;l++)t[u*e+l]=Math.sqrt(i[l])}}function a(t,e,n,r,o){n[0]=0,r[0]=-i,r[1]=+i;for(var a=1,s=0;a<o;a++){for(var l=(t[a]+a*a-(t[n[s]]+n[s]*n[s]))/(2*a-2*n[s]);l<=r[s];)s--,l=(t[a]+a*a-(t[n[s]]+n[s]*n[s]))/(2*a-2*n[s]);n[++s]=a,r[s]=l,r[s+1]=+i}for(a=0,s=0;a<o;a++){for(;r[s+1]<a;)s++;e[a]=(a-n[s])*(a-n[s])+t[n[s]]}}},{clamp:117}],97:[function(t,e,n){!function(e,n){\\\"use strict\\\";function r(t,e){if(!t)throw new Error(e||\\\"Assertion failed\\\")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&(\\\"le\\\"!==e&&\\\"be\\\"!==e||(n=e,e=10),this._init(t||0,e||10,n||\\\"be\\\"))}var a;\\\"object\\\"==typeof e?e.exports=o:n.BN=o,o.BN=o,o.wordSize=26;try{a=t(\\\"buffer\\\").Buffer}catch(t){}function s(t,e,n){for(var r=0,i=Math.min(t.length,n),o=e;o<i;o++){var a=t.charCodeAt(o)-48;r<<=4,r|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function l(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&\\\"object\\\"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if(\\\"number\\\"==typeof t)return this._initNumber(t,e,n);if(\\\"object\\\"==typeof t)return this._initArray(t,e,n);\\\"hex\\\"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;\\\"-\\\"===(t=t.toString().replace(/\\\\s+/g,\\\"\\\"))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),\\\"-\\\"===t[0]&&(this.negative=1),this.strip(),\\\"le\\\"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),\\\"le\\\"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r(\\\"number\\\"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if(\\\"be\\\"===n)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if(\\\"le\\\"===n)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=t.length-6,r=0;n>=e;n-=6)i=s(t,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=s(t,e,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,u=0,c=n;c<s;c+=r)u=l(t,c,c+r,e),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==a){var h=1;for(u=l(t,c,t.length,e),c=0;c<a;c++)h*=e;this.imuln(h),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?\\\"<BN-R: \\\":\\\"<BN: \\\")+this.toString(16)+\\\">\\\"};var u=[\\\"\\\",\\\"0\\\",\\\"00\\\",\\\"000\\\",\\\"0000\\\",\\\"00000\\\",\\\"000000\\\",\\\"0000000\\\",\\\"00000000\\\",\\\"000000000\\\",\\\"0000000000\\\",\\\"00000000000\\\",\\\"000000000000\\\",\\\"0000000000000\\\",\\\"00000000000000\\\",\\\"000000000000000\\\",\\\"0000000000000000\\\",\\\"00000000000000000\\\",\\\"000000000000000000\\\",\\\"0000000000000000000\\\",\\\"00000000000000000000\\\",\\\"000000000000000000000\\\",\\\"0000000000000000000000\\\",\\\"00000000000000000000000\\\",\\\"000000000000000000000000\\\",\\\"0000000000000000000000000\\\"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var u=1;u<r;u++){for(var c=l>>>26,h=67108863&l,p=Math.min(u,e.length-1),f=Math.max(0,u-t.length+1);f<=p;f++){var d=u-f|0;c+=(a=(i=0|t.words[d])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[u]=0|h,l=0|c}return 0!==l?n.words[u]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||\\\"hex\\\"===t){n=\\\"\\\";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);n=0!=(o=s>>>24-i&16777215)||a!==this.length-1?u[6-l.length]+l+n:l+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n=\\\"0\\\"+n;return 0!==this.negative&&(n=\\\"-\\\"+n),n}if(t===(0|t)&&t>=2&&t<=36){var p=c[t],f=h[t];n=\\\"\\\";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modn(f).toString(t);n=(d=d.idivn(f)).isZero()?m+n:u[p-m.length]+m+n}for(this.isZero()&&(n=\\\"0\\\"+n);n.length%e!=0;)n=\\\"0\\\"+n;return 0!==this.negative&&(n=\\\"-\\\"+n),n}r(!1,\\\"Base should be between 2 and 36\\\")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,\\\"Number can only safely store up to 53 bits\\\"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,\\\"byte array longer than desired length\\\"),r(o>0,\\\"Requested array length <= 0\\\"),this.strip();var a,s,l=\\\"le\\\"===e,u=new t(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return r(0==(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return r(0==(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;r<n.length;r++)this.words[r]=e.words[r]^n.words[r];if(this!==e)for(;r<e.length;r++)this.words[r]=e.words[r];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return r(0==(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r(\\\"number\\\"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r(\\\"number\\\"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,n,r;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o<r.length;o++)e=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<n.length;o++)e=(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a<r.length;a++)o=(e=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<n.length;a++)o=(e=(0|n.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var f=function(t,e,n){var r,i,o,a=t.words,s=e.words,l=n.words,u=0,c=0|a[0],h=8191&c,p=c>>>13,f=0|a[1],d=8191&f,m=f>>>13,v=0|a[2],g=8191&v,y=v>>>13,_=0|a[3],b=8191&_,x=_>>>13,w=0|a[4],A=8191&w,C=w>>>13,M=0|a[5],E=8191&M,T=M>>>13,S=0|a[6],k=8191&S,O=S>>>13,I=0|a[7],L=8191&I,P=I>>>13,z=0|a[8],R=8191&z,D=z>>>13,$=0|a[9],B=8191&$,N=$>>>13,F=0|s[0],j=8191&F,U=F>>>13,q=0|s[1],V=8191&q,H=q>>>13,G=0|s[2],W=8191&G,X=G>>>13,Y=0|s[3],Z=8191&Y,K=Y>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],lt=8191&st,ut=st>>>13,ct=0|s[8],ht=8191&ct,pt=ct>>>13,ft=0|s[9],dt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var vt=(u+(r=Math.imul(h,j))|0)+((8191&(i=(i=Math.imul(h,U))+Math.imul(p,j)|0))<<13)|0;u=((o=Math.imul(p,U))+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(d,j),i=(i=Math.imul(d,U))+Math.imul(m,j)|0,o=Math.imul(m,U);var gt=(u+(r=r+Math.imul(h,V)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(p,V)|0))<<13)|0;u=((o=o+Math.imul(p,H)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(g,j),i=(i=Math.imul(g,U))+Math.imul(y,j)|0,o=Math.imul(y,U),r=r+Math.imul(d,V)|0,i=(i=i+Math.imul(d,H)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0;var yt=(u+(r=r+Math.imul(h,W)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(p,W)|0))<<13)|0;u=((o=o+Math.imul(p,X)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(b,j),i=(i=Math.imul(b,U))+Math.imul(x,j)|0,o=Math.imul(x,U),r=r+Math.imul(g,V)|0,i=(i=i+Math.imul(g,H)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,r=r+Math.imul(d,W)|0,i=(i=i+Math.imul(d,X)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,X)|0;var _t=(u+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,K)|0)+Math.imul(p,Z)|0))<<13)|0;u=((o=o+Math.imul(p,K)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(A,j),i=(i=Math.imul(A,U))+Math.imul(C,j)|0,o=Math.imul(C,U),r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,r=r+Math.imul(g,W)|0,i=(i=i+Math.imul(g,X)|0)+Math.imul(y,W)|0,o=o+Math.imul(y,X)|0,r=r+Math.imul(d,Z)|0,i=(i=i+Math.imul(d,K)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,K)|0;var bt=(u+(r=r+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(p,Q)|0))<<13)|0;u=((o=o+Math.imul(p,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(E,j),i=(i=Math.imul(E,U))+Math.imul(T,j)|0,o=Math.imul(T,U),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,H)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,H)|0,r=r+Math.imul(b,W)|0,i=(i=i+Math.imul(b,X)|0)+Math.imul(x,W)|0,o=o+Math.imul(x,X)|0,r=r+Math.imul(g,Z)|0,i=(i=i+Math.imul(g,K)|0)+Math.imul(y,Z)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(d,Q)|0,i=(i=i+Math.imul(d,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(p,nt)|0))<<13)|0;u=((o=o+Math.imul(p,rt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(k,j),i=(i=Math.imul(k,U))+Math.imul(O,j)|0,o=Math.imul(O,U),r=r+Math.imul(E,V)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(A,W)|0,i=(i=i+Math.imul(A,X)|0)+Math.imul(C,W)|0,o=o+Math.imul(C,X)|0,r=r+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(x,Z)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(g,Q)|0,i=(i=i+Math.imul(g,tt)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,tt)|0,r=r+Math.imul(d,nt)|0,i=(i=i+Math.imul(d,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var wt=(u+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(p,ot)|0))<<13)|0;u=((o=o+Math.imul(p,at)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(L,j),i=(i=Math.imul(L,U))+Math.imul(P,j)|0,o=Math.imul(P,U),r=r+Math.imul(k,V)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,H)|0,r=r+Math.imul(E,W)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(T,W)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(C,Z)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,r=r+Math.imul(g,nt)|0,i=(i=i+Math.imul(g,rt)|0)+Math.imul(y,nt)|0,o=o+Math.imul(y,rt)|0,r=r+Math.imul(d,ot)|0,i=(i=i+Math.imul(d,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var At=(u+(r=r+Math.imul(h,lt)|0)|0)+((8191&(i=(i=i+Math.imul(h,ut)|0)+Math.imul(p,lt)|0))<<13)|0;u=((o=o+Math.imul(p,ut)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(R,j),i=(i=Math.imul(R,U))+Math.imul(D,j)|0,o=Math.imul(D,U),r=r+Math.imul(L,V)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,H)|0,r=r+Math.imul(k,W)|0,i=(i=i+Math.imul(k,X)|0)+Math.imul(O,W)|0,o=o+Math.imul(O,X)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,tt)|0,r=r+Math.imul(b,nt)|0,i=(i=i+Math.imul(b,rt)|0)+Math.imul(x,nt)|0,o=o+Math.imul(x,rt)|0,r=r+Math.imul(g,ot)|0,i=(i=i+Math.imul(g,at)|0)+Math.imul(y,ot)|0,o=o+Math.imul(y,at)|0,r=r+Math.imul(d,lt)|0,i=(i=i+Math.imul(d,ut)|0)+Math.imul(m,lt)|0,o=o+Math.imul(m,ut)|0;var Ct=(u+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,pt)|0)+Math.imul(p,ht)|0))<<13)|0;u=((o=o+Math.imul(p,pt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,j),i=(i=Math.imul(B,U))+Math.imul(N,j)|0,o=Math.imul(N,U),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,H)|0)+Math.imul(D,V)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(L,W)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(P,W)|0,o=o+Math.imul(P,X)|0,r=r+Math.imul(k,Z)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(O,Z)|0,o=o+Math.imul(O,K)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(C,nt)|0,o=o+Math.imul(C,rt)|0,r=r+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,r=r+Math.imul(g,lt)|0,i=(i=i+Math.imul(g,ut)|0)+Math.imul(y,lt)|0,o=o+Math.imul(y,ut)|0,r=r+Math.imul(d,ht)|0,i=(i=i+Math.imul(d,pt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,pt)|0;var Mt=(u+(r=r+Math.imul(h,dt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(p,dt)|0))<<13)|0;u=((o=o+Math.imul(p,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(B,V),i=(i=Math.imul(B,H))+Math.imul(N,V)|0,o=Math.imul(N,H),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,X)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,K)|0)+Math.imul(P,Z)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,at)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,at)|0,r=r+Math.imul(b,lt)|0,i=(i=i+Math.imul(b,ut)|0)+Math.imul(x,lt)|0,o=o+Math.imul(x,ut)|0,r=r+Math.imul(g,ht)|0,i=(i=i+Math.imul(g,pt)|0)+Math.imul(y,ht)|0,o=o+Math.imul(y,pt)|0;var Et=(u+(r=r+Math.imul(d,dt)|0)|0)+((8191&(i=(i=i+Math.imul(d,mt)|0)+Math.imul(m,dt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,W),i=(i=Math.imul(B,X))+Math.imul(N,W)|0,o=Math.imul(N,X),r=r+Math.imul(R,Z)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,K)|0,r=r+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(P,Q)|0,o=o+Math.imul(P,tt)|0,r=r+Math.imul(k,nt)|0,i=(i=i+Math.imul(k,rt)|0)+Math.imul(O,nt)|0,o=o+Math.imul(O,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,ut)|0)+Math.imul(C,lt)|0,o=o+Math.imul(C,ut)|0,r=r+Math.imul(b,ht)|0,i=(i=i+Math.imul(b,pt)|0)+Math.imul(x,ht)|0,o=o+Math.imul(x,pt)|0;var Tt=(u+(r=r+Math.imul(g,dt)|0)|0)+((8191&(i=(i=i+Math.imul(g,mt)|0)+Math.imul(y,dt)|0))<<13)|0;u=((o=o+Math.imul(y,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,K))+Math.imul(N,Z)|0,o=Math.imul(N,K),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(P,nt)|0,o=o+Math.imul(P,rt)|0,r=r+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(O,ot)|0,o=o+Math.imul(O,at)|0,r=r+Math.imul(E,lt)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(T,lt)|0,o=o+Math.imul(T,ut)|0,r=r+Math.imul(A,ht)|0,i=(i=i+Math.imul(A,pt)|0)+Math.imul(C,ht)|0,o=o+Math.imul(C,pt)|0;var St=(u+(r=r+Math.imul(b,dt)|0)|0)+((8191&(i=(i=i+Math.imul(b,mt)|0)+Math.imul(x,dt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,tt))+Math.imul(N,Q)|0,o=Math.imul(N,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(P,ot)|0,o=o+Math.imul(P,at)|0,r=r+Math.imul(k,lt)|0,i=(i=i+Math.imul(k,ut)|0)+Math.imul(O,lt)|0,o=o+Math.imul(O,ut)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,pt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,pt)|0;var kt=(u+(r=r+Math.imul(A,dt)|0)|0)+((8191&(i=(i=i+Math.imul(A,mt)|0)+Math.imul(C,dt)|0))<<13)|0;u=((o=o+Math.imul(C,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(N,nt)|0,o=Math.imul(N,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(P,lt)|0,o=o+Math.imul(P,ut)|0,r=r+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,pt)|0)+Math.imul(O,ht)|0,o=o+Math.imul(O,pt)|0;var Ot=(u+(r=r+Math.imul(E,dt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(T,dt)|0))<<13)|0;u=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(N,ot)|0,o=Math.imul(N,at),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,ut)|0)+Math.imul(D,lt)|0,o=o+Math.imul(D,ut)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,pt)|0)+Math.imul(P,ht)|0,o=o+Math.imul(P,pt)|0;var It=(u+(r=r+Math.imul(k,dt)|0)|0)+((8191&(i=(i=i+Math.imul(k,mt)|0)+Math.imul(O,dt)|0))<<13)|0;u=((o=o+Math.imul(O,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,lt),i=(i=Math.imul(B,ut))+Math.imul(N,lt)|0,o=Math.imul(N,ut),r=r+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,pt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,pt)|0;var Lt=(u+(r=r+Math.imul(L,dt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(P,dt)|0))<<13)|0;u=((o=o+Math.imul(P,mt)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,pt))+Math.imul(N,ht)|0,o=Math.imul(N,pt);var Pt=(u+(r=r+Math.imul(R,dt)|0)|0)+((8191&(i=(i=i+Math.imul(R,mt)|0)+Math.imul(D,dt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863;var zt=(u+(r=Math.imul(B,dt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(N,dt)|0))<<13)|0;return u=((o=Math.imul(N,mt))+(i>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=vt,l[1]=gt,l[2]=yt,l[3]=_t,l[4]=bt,l[5]=xt,l[6]=wt,l[7]=At,l[8]=Ct,l[9]=Mt,l[10]=Et,l[11]=Tt,l[12]=St,l[13]=kt,l[14]=Ot,l[15]=It,l[16]=Lt,l[17]=Pt,l[18]=zt,0!==u&&(l[19]=u,n.length++),n};function d(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(f=p),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?f(this,t,e):n<63?p(this,t,e):n<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,l=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=l;u++){var c=o-u,h=(0|t.words[c])*(0|e.words[u]),p=67108863&h;s=67108863&(p=p+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(p>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):d(this,t,e)},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r<t;r++)e[r]=this.revBin(r,n,t);return e},m.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var r=0,i=0;i<e;i++)r|=(1&t)<<e-i-1,t>>=1;return r},m.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a<o;a++)r[a]=e[t[a]],i[a]=n[t[a]]},m.prototype.transform=function(t,e,n,r,i,o){this.permute(o,t,e,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var h=l,p=u,f=0;f<a;f++){var d=n[c+f],m=r[c+f],v=n[c+f+a],g=r[c+f+a],y=h*v-p*g;g=h*g+p*v,v=y,n[c+f]=d+v,r[c+f]=m+g,n[c+f+a]=d-v,r[c+f+a]=m-g,f!==s&&(y=l*h-u*p,p=l*p+u*h,h=y)}},m.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},m.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=t[r];t[r]=t[n-r-1],t[n-r-1]=i,i=e[r],e[r]=-e[n-r-1],e[n-r-1]=-i}},m.prototype.normalize13b=function(t,e){for(var n=0,r=0;r<e/2;r++){var i=8192*Math.round(t[2*r+1]/e)+Math.round(t[2*r]/e)+n;t[r]=67108863&i,n=i<67108864?0:i/67108864|0}return t},m.prototype.convert13b=function(t,e,n,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},m.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},m.prototype.mulp=function(t,e,n){var r=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),l=new Array(r),u=new Array(r),c=new Array(r),h=new Array(r),p=n.words;p.length=r,this.convert13b(t.words,t.length,a,r),this.convert13b(e.words,e.length,u,r),this.transform(a,o,s,l,r,i),this.transform(u,o,c,h,r,i);for(var f=0;f<r;f++){var d=s[f]*c[f]-l[f]*h[f];l[f]=s[f]*h[f]+l[f]*c[f],s[f]=d}return this.conjugate(s,l,r),this.transform(s,l,p,o,r,i),this.conjugate(p,o,r),this.normalize13b(p,r),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),d(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){r(\\\"number\\\"==typeof t),r(t<67108864);for(var e=0,n=0;n<this.length;n++){var i=(0|this.words[n])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var r=n/26|0,i=n%26;e[n]=(t.words[r]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r<e.length&&0===e[r];r++,n=n.sqr());if(++r<e.length)for(var i=n.sqr();r<e.length;r++,i=i.sqr())0!==e[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(t){r(\\\"number\\\"==typeof t&&t>=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,l=(0|this.words[e])-s<<n;this.words[e]=l|a,a=s>>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return r(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,n){var i;r(\\\"number\\\"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,l=n;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var h=0|this.words[u];this.words[u]=c<<26-o|h>>>o,c=h&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r(\\\"number\\\"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<<e;return!(this.length<=n||!(this.words[n]&i))},o.prototype.imaskn=function(t){r(\\\"number\\\"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,\\\"imaskn works only with positive numbers\\\"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return r(\\\"number\\\"==typeof t),r(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r(\\\"number\\\"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,n){var i,o,a=t.length+n;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+n])+s;var l=(0|t.words[i])*e;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,l=r.length-i.length;if(\\\"mod\\\"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=r.clone()._ishlnsubmul(i,1,l);0===c.negative&&(r=c,s&&(s.words[l]=1));for(var h=l-1;h>=0;h--){var p=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(p=Math.min(p/a|0,67108863),r._ishlnsubmul(i,p,h);0!==r.negative;)p--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=p)}return s&&s.strip(),r.strip(),\\\"div\\\"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),\\\"mod\\\"!==e&&(i=s.div.neg()),\\\"div\\\"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),\\\"mod\\\"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),\\\"div\\\"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?\\\"div\\\"===e?{div:this.divn(t.words[0]),mod:null}:\\\"mod\\\"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,\\\"div\\\",!1).div},o.prototype.mod=function(t){return this.divmod(t,\\\"mod\\\",!1).mod},o.prototype.umod=function(t){return this.divmod(t,\\\"mod\\\",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++u;for(var c=n.clone(),h=e.clone();!e.isZero();){for(var p=0,f=1;0==(e.words[0]&f)&&p<26;++p,f<<=1);if(p>0)for(e.iushrn(p);p-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var d=0,m=1;0==(n.words[0]&m)&&d<26;++d,m<<=1);if(d>0)for(n.iushrn(d);d-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(l)):(n.isub(e),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:n.iushln(u)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,c=1;0==(e.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,p=1;0==(n.words[0]&p)&&h<26;++h,p<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r(\\\"number\\\"==typeof t);var e=t%26,n=(t-e)/26,i=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,\\\"Number is too big\\\");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){r<i?e=-1:r>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new w(t)},o.prototype.toRed=function(t){return r(!this.red,\\\"Already a number in reduction context\\\"),r(0===this.negative,\\\"red works only with positives\\\"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,\\\"fromRed works only with numbers in reduction context\\\"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,\\\"Already a number in reduction context\\\"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,\\\"redAdd works only with red numbers\\\"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,\\\"redIAdd works only with red numbers\\\"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,\\\"redSub works only with red numbers\\\"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,\\\"redISub works only with red numbers\\\"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,\\\"redShl works only with red numbers\\\"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,\\\"redMul works only with red numbers\\\"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,\\\"redMul works only with red numbers\\\"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,\\\"redSqr works only with red numbers\\\"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,\\\"redISqr works only with red numbers\\\"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,\\\"redSqrt works only with red numbers\\\"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,\\\"redInvm works only with red numbers\\\"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,\\\"redNeg works only with red numbers\\\"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,\\\"redPow(normalNum)\\\"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,\\\"k256\\\",\\\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f\\\")}function _(){g.call(this,\\\"p224\\\",\\\"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001\\\")}function b(){g.call(this,\\\"p192\\\",\\\"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff\\\")}function x(){g.call(this,\\\"25519\\\",\\\"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed\\\")}function w(t){if(\\\"string\\\"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),\\\"modulus must be greater than 1\\\"),this.m=t,this.prime=null}function A(t){w.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):n.strip(),n},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i<r;i++)e.words[i]=t.words[i];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&n,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&n)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var r=0|t.words[n];e+=977*r,t.words[n]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(_,g),i(b,g),i(x,g),x.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var r=19*(0|t.words[n])+e,i=67108863&r;r>>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if(\\\"k256\\\"===t)e=new y;else if(\\\"p224\\\"===t)e=new _;else if(\\\"p192\\\"===t)e=new b;else{if(\\\"p25519\\\"!==t)throw new Error(\\\"Unknown prime \\\"+t);e=new x}return v[t]=e,e},w.prototype._verify1=function(t){r(0===t.negative,\\\"red works only with positives\\\"),r(t.red,\\\"red works only with red numbers\\\")},w.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),\\\"red works only with positives\\\"),r(t.red&&t.red===e.red,\\\"red works only with red numbers\\\")},w.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},w.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},w.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},w.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},w.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},w.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},w.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},w.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},w.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},w.prototype.isqr=function(t){return this.imul(t,t.clone())},w.prototype.sqr=function(t){return this.mul(t,t)},w.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var h=this.pow(c,i),p=this.pow(t,i.addn(1).iushrn(1)),f=this.pow(t,i),d=a;0!==f.cmp(s);){for(var m=f,v=0;0!==m.cmp(s);v++)m=m.redSqr();r(v<d);var g=this.pow(h,new o(1).iushln(d-v-1));p=p.redMul(g),h=g.redSqr(),f=f.redMul(h),d=v}return p},w.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},w.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],t);var i=n[0],a=0,s=0,l=e.bitLength()%26;for(0===l&&(l=26),r=e.length-1;r>=0;r--){for(var u=e.words[r],c=l-1;c>=0;c--){var h=u>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===c)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}l=26}return i},w.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},w.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new A(t)},i(A,w),A.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},A.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},A.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},A.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},A.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e,this)},{buffer:106}],98:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e,n,r,i=t.length,o=0;for(e=0;e<i;++e)o+=t[e].length;var a=new Array(o),s=0;for(e=0;e<i;++e){var l=t[e],u=l.length;for(n=0;n<u;++n){var c=a[s++]=new Array(u-1),h=0;for(r=0;r<u;++r)r!==n&&(c[h++]=l[r]);if(1&n){var p=c[1];c[1]=c[0],c[0]=p}}}return a}},{}],99:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){switch(arguments.length){case 1:return h(t);case 2:return\\\"function\\\"==typeof e?u(t,t,e,!0):p(t,e);case 3:return u(t,e,n,!1);default:throw new Error(\\\"box-intersect: Invalid arguments\\\")}};var r,i=t(\\\"typedarray-pool\\\"),o=t(\\\"./lib/sweep\\\"),a=t(\\\"./lib/intersect\\\");function s(t,e){for(var n=0;n<t;++n)if(!(e[n]<=e[n+t]))return!0;return!1}function l(t,e,n,r){for(var i=0,o=0,a=0,l=t.length;a<l;++a){var u=t[a];if(!s(e,u)){for(var c=0;c<2*e;++c)n[i++]=u[c];r[o++]=a}}return o}function u(t,e,n,r){var s=t.length,u=e.length;if(!(s<=0||u<=0)){var c=t[0].length>>>1;if(!(c<=0)){var h,p=i.mallocDouble(2*c*s),f=i.mallocInt32(s);if((s=l(t,c,p,f))>0){if(1===c&&r)o.init(s),h=o.sweepComplete(c,n,0,s,p,f,0,s,p,f);else{var d=i.mallocDouble(2*c*u),m=i.mallocInt32(u);(u=l(e,c,d,m))>0&&(o.init(s+u),h=1===c?o.sweepBipartite(c,n,0,s,p,f,0,u,d,m):a(c,n,r,s,p,f,u,d,m),i.free(d),i.free(m))}i.free(p),i.free(f)}return h}}}function c(t,e){r.push([t,e])}function h(t){return r=[],u(t,t,c,!0),r}function p(t,e){return r=[],u(t,e,c,!1),r}},{\\\"./lib/intersect\\\":101,\\\"./lib/sweep\\\":105,\\\"typedarray-pool\\\":547}],100:[function(t,e,n){\\\"use strict\\\";var r=\\\"d\\\",i=\\\"ax\\\",o=\\\"fp\\\",a=\\\"es\\\",s=\\\"rs\\\",l=\\\"re\\\",u=\\\"rb\\\",c=\\\"bs\\\",h=\\\"be\\\",p=\\\"bb\\\",f=[r,i,\\\"vv\\\",s,l,u,\\\"ri\\\",c,h,p,\\\"bi\\\"];function d(t){var e=\\\"bruteForce\\\"+(t?\\\"Full\\\":\\\"Partial\\\"),n=[],i=f.slice();t||i.splice(3,0,o);var s=[\\\"function \\\"+e+\\\"(\\\"+i.join()+\\\"){\\\"];function l(e,i){var o=function(t,e,n){var i=\\\"bruteForce\\\"+(t?\\\"Red\\\":\\\"Blue\\\")+(e?\\\"Flip\\\":\\\"\\\")+(n?\\\"Full\\\":\\\"\\\"),o=[\\\"function \\\",i,\\\"(\\\",f.join(),\\\"){\\\",\\\"var \\\",a,\\\"=2*\\\",r,\\\";\\\"],s=\\\"for(var i=rs,rp=es*rs;i<re;++i,rp+=es){var x0=rb[ax+rp],x1=rb[ax+rp+d],xi=ri[i];\\\",l=\\\"for(var j=bs,bp=es*bs;j<be;++j,bp+=es){var y0=bb[ax+bp],\\\"+(n?\\\"y1=bb[ax+bp+d],\\\":\\\"\\\")+\\\"yi=bi[j];\\\";return t?o.push(s,\\\"Q\\\",\\\":\\\",l):o.push(l,\\\"Q\\\",\\\":\\\",s),n?o.push(\\\"if(y1<x0||x1<y0)continue;\\\"):e?o.push(\\\"if(y0<=x0||x1<y0)continue;\\\"):o.push(\\\"if(y0<x0||x1<y0)continue;\\\"),o.push(\\\"for(var k=ax+1;k<d;++k){var r0=rb[k+rp],r1=rb[k+d+rp],b0=bb[k+bp],b1=bb[k+d+bp];if(r1<b0||b1<r0)continue Q;}var rv=vv(\\\"),e?o.push(\\\"yi,xi\\\"):o.push(\\\"xi,yi\\\"),o.push(\\\");if(rv!==void 0)return rv;}}}\\\"),{name:i,code:o.join(\\\"\\\")}}(e,i,t);n.push(o.code),s.push(\\\"return \\\"+o.name+\\\"(\\\"+f.join()+\\\");\\\")}s.push(\\\"if(re-rs>be-bs){\\\"),t?(l(!0,!1),s.push(\\\"}else{\\\"),l(!1,!1)):(s.push(\\\"if(fp){\\\"),l(!0,!0),s.push(\\\"}else{\\\"),l(!0,!1),s.push(\\\"}}else{if(fp){\\\"),l(!1,!0),s.push(\\\"}else{\\\"),l(!1,!1),s.push(\\\"}\\\")),s.push(\\\"}}return \\\"+e);var u=n.join(\\\"\\\")+s.join(\\\"\\\");return new Function(u)()}n.partial=d(!1),n.full=d(!0)},{}],101:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,o,c,w,A,C,M){!function(t,e){var n=8*i.log2(e+1)*(t+1)|0,o=i.nextPow2(6*n);g.length<o&&(r.free(g),g=r.mallocInt32(o));var a=i.nextPow2(2*n);y.length<a&&(r.free(y),y=r.mallocDouble(a))}(t,o+A);var E,T=0,S=2*t;for(_(T++,0,0,o,0,A,n?16:0,-1/0,1/0),n||_(T++,0,0,A,0,o,1,-1/0,1/0);T>0;){var k=6*(T-=1),O=g[k],I=g[k+1],L=g[k+2],P=g[k+3],z=g[k+4],R=g[k+5],D=2*T,$=y[D],B=y[D+1],N=1&R,F=!!(16&R),j=c,U=w,q=C,V=M;if(N&&(j=C,U=M,q=c,V=w),!(2&R&&I>=(L=f(t,O,I,L,j,U,B))||4&R&&(I=d(t,O,I,L,j,U,$))>=L)){var H=L-I,G=z-P;if(F){if(t*H*(H+G)<4194304){if(void 0!==(E=l.scanComplete(t,O,e,I,L,j,U,P,z,q,V)))return E;continue}}else{if(t*Math.min(H,G)<128){if(void 0!==(E=a(t,O,e,N,I,L,j,U,P,z,q,V)))return E;continue}if(t*H*G<4194304){if(void 0!==(E=l.scanBipartite(t,O,e,N,I,L,j,U,P,z,q,V)))return E;continue}}var W=h(t,O,I,L,j,U,$,B);if(I<W)if(t*(W-I)<128){if(void 0!==(E=s(t,O+1,e,I,W,j,U,P,z,q,V)))return E}else if(O===t-2){if(void 0!==(E=N?l.sweepBipartite(t,e,P,z,q,V,I,W,j,U):l.sweepBipartite(t,e,I,W,j,U,P,z,q,V)))return E}else _(T++,O+1,I,W,P,z,N,-1/0,1/0),_(T++,O+1,P,z,I,W,1^N,-1/0,1/0);if(W<L){var X=u(t,O,P,z,q,V),Y=q[S*X+O],Z=p(t,O,X,z,q,V,Y);if(Z<z&&_(T++,O,W,L,Z,z,(4|N)+(F?16:0),Y,B),P<X&&_(T++,O,W,L,P,X,(2|N)+(F?16:0),$,Y),X+1===Z){if(void 0!==(E=F?x(t,O,e,W,L,j,U,X,q,V[X]):b(t,O,e,N,W,L,j,U,X,q,V[X])))return E}else if(X<Z){var K;if(F){if(W<(K=m(t,O,W,L,j,U,Y))){var J=p(t,O,W,K,j,U,Y);if(O===t-2){if(W<J&&void 0!==(E=l.sweepComplete(t,e,W,J,j,U,X,Z,q,V)))return E;if(J<K&&void 0!==(E=l.sweepBipartite(t,e,J,K,j,U,X,Z,q,V)))return E}else W<J&&_(T++,O+1,W,J,X,Z,16,-1/0,1/0),J<K&&(_(T++,O+1,J,K,X,Z,0,-1/0,1/0),_(T++,O+1,X,Z,J,K,1,-1/0,1/0))}}else W<(K=N?v(t,O,W,L,j,U,Y):m(t,O,W,L,j,U,Y))&&(O===t-2?E=N?l.sweepBipartite(t,e,X,Z,q,V,W,K,j,U):l.sweepBipartite(t,e,W,K,j,U,X,Z,q,V):(_(T++,O+1,W,K,X,Z,N,-1/0,1/0),_(T++,O+1,X,Z,W,K,1^N,-1/0,1/0)))}}}}};var r=t(\\\"typedarray-pool\\\"),i=t(\\\"bit-twiddle\\\"),o=t(\\\"./brute\\\"),a=o.partial,s=o.full,l=t(\\\"./sweep\\\"),u=t(\\\"./median\\\"),c=t(\\\"./partition\\\"),h=c(\\\"!(lo>=p0)&&!(p1>=hi)\\\",[\\\"p0\\\",\\\"p1\\\"]),p=c(\\\"lo===p0\\\",[\\\"p0\\\"]),f=c(\\\"lo<p0\\\",[\\\"p0\\\"]),d=c(\\\"hi<=p0\\\",[\\\"p0\\\"]),m=c(\\\"lo<=p0&&p0<=hi\\\",[\\\"p0\\\"]),v=c(\\\"lo<p0&&p0<=hi\\\",[\\\"p0\\\"]),g=r.mallocInt32(1024),y=r.mallocDouble(1024);function _(t,e,n,r,i,o,a,s,l){var u=6*t;g[u]=e,g[u+1]=n,g[u+2]=r,g[u+3]=i,g[u+4]=o,g[u+5]=a;var c=2*t;y[c]=s,y[c+1]=l}function b(t,e,n,r,i,o,a,s,l,u,c){var h=2*t,p=l*h,f=u[p+e];t:for(var d=i,m=i*h;d<o;++d,m+=h){var v=a[m+e],g=a[m+e+t];if(!(f<v||g<f||r&&f===v)){for(var y,_=s[d],b=e+1;b<t;++b){v=a[m+b],g=a[m+b+t];var x=u[p+b],w=u[p+b+t];if(g<x||w<v)continue t}if(void 0!==(y=r?n(c,_):n(_,c)))return y}}}function x(t,e,n,r,i,o,a,s,l,u){var c=2*t,h=s*c,p=l[h+e];t:for(var f=r,d=r*c;f<i;++f,d+=c){var m=a[f];if(m!==u){var v=o[d+e],g=o[d+e+t];if(!(p<v||g<p)){for(var y=e+1;y<t;++y){v=o[d+y],g=o[d+y+t];var _=l[h+y],b=l[h+y+t];if(g<_||b<v)continue t}var x=n(m,u);if(void 0!==x)return x}}}}},{\\\"./brute\\\":100,\\\"./median\\\":102,\\\"./partition\\\":103,\\\"./sweep\\\":105,\\\"bit-twiddle\\\":95,\\\"typedarray-pool\\\":547}],102:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,o,a,s){if(o<=n+1)return n;for(var l=n,u=o,c=o+n>>>1,h=2*t,p=c,f=a[h*c+e];l<u;){if(u-l<8){i(t,e,l,u,a,s),f=a[h*c+e];break}var d=u-l,m=Math.random()*d+l|0,v=a[h*m+e],g=Math.random()*d+l|0,y=a[h*g+e],_=Math.random()*d+l|0,b=a[h*_+e];v<=y?b>=y?(p=g,f=y):v>=b?(p=m,f=v):(p=_,f=b):y>=b?(p=g,f=y):b>=v?(p=m,f=v):(p=_,f=b);for(var x=h*(u-1),w=h*p,A=0;A<h;++A,++x,++w){var C=a[x];a[x]=a[w],a[w]=C}var M=s[u-1];for(s[u-1]=s[p],s[p]=M,x=h*(u-1),w=h*(p=r(t,e,l,u-1,a,s,f)),A=0;A<h;++A,++x,++w)C=a[x],a[x]=a[w],a[w]=C;if(M=s[u-1],s[u-1]=s[p],s[p]=M,c<p){for(u=p-1;l<u&&a[h*(u-1)+e]===f;)u-=1;u+=1}else{if(!(p<c))break;for(l=p+1;l<u&&a[h*l+e]===f;)l+=1}}return r(t,e,n,c,a,s,a[h*c+e])};var r=t(\\\"./partition\\\")(\\\"lo<p0\\\",[\\\"p0\\\"]);function i(t,e,n,r,i,o){for(var a=2*t,s=a*(n+1)+e,l=n+1;l<r;++l,s+=a)for(var u=i[s],c=l,h=a*(l-1);c>n&&i[h+e]>u;--c,h-=a){for(var p=h,f=h+a,d=0;d<a;++d,++p,++f){var m=i[p];i[p]=i[f],i[f]=m}var v=o[c];o[c]=o[c-1],o[c-1]=v}}},{\\\"./partition\\\":103}],103:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=\\\"abcdef\\\".split(\\\"\\\").concat(e),r=[];return t.indexOf(\\\"lo\\\")>=0&&r.push(\\\"lo=e[k+n]\\\"),t.indexOf(\\\"hi\\\")>=0&&r.push(\\\"hi=e[k+o]\\\"),n.push(\\\"for(var j=2*a,k=j*c,l=k,m=c,n=b,o=a+b,p=c;d>p;++p,k+=j){var _;if($)if(m===p)m+=1,l+=j;else{for(var s=0;j>s;++s){var t=e[k+s];e[k+s]=e[l],e[l++]=t}var u=f[p];f[p]=f[m],f[m++]=u}}return m\\\".replace(\\\"_\\\",r.join()).replace(\\\"$\\\",t)),Function.apply(void 0,n)}},{}],104:[function(t,e,n){\\\"use strict\\\";function r(t,e,n){for(var r=2*(t+1),i=t+1;i<=e;++i){for(var o=n[r++],a=n[r++],s=i,l=r-2;s-- >t;){var u=n[l-2],c=n[l-1];if(u<o)break;if(u===o&&c<a)break;n[l]=u,n[l+1]=c,l-=2}n[l]=o,n[l+1]=a}}function i(t,e,n){e*=2;var r=n[t*=2],i=n[t+1];n[t]=n[e],n[t+1]=n[e+1],n[e]=r,n[e+1]=i}function o(t,e,n){e*=2,n[t*=2]=n[e],n[t+1]=n[e+1]}function a(t,e,n,r){e*=2,n*=2;var i=r[t*=2],o=r[t+1];r[t]=r[e],r[t+1]=r[e+1],r[e]=r[n],r[e+1]=r[n+1],r[n]=i,r[n+1]=o}function s(t,e,n,r,i){e*=2,i[t*=2]=i[e],i[e]=n,i[t+1]=i[e+1],i[e+1]=r}function l(t,e,n){e*=2;var r=n[t*=2],i=n[e];return!(r<i)&&(r!==i||n[t+1]>n[e+1])}function u(t,e,n,r){var i=r[t*=2];return i<e||i===e&&r[t+1]<n}function c(t,e,n){var h=(e-t+1)/6|0,p=t+h,f=e-h,d=t+e>>1,m=d-h,v=d+h,g=p,y=m,_=d,b=v,x=f,w=t+1,A=e-1,C=0;l(g,y,n)&&(C=g,g=y,y=C),l(b,x,n)&&(C=b,b=x,x=C),l(g,_,n)&&(C=g,g=_,_=C),l(y,_,n)&&(C=y,y=_,_=C),l(g,b,n)&&(C=g,g=b,b=C),l(_,b,n)&&(C=_,_=b,b=C),l(y,x,n)&&(C=y,y=x,x=C),l(y,_,n)&&(C=y,y=_,_=C),l(b,x,n)&&(C=b,b=x,x=C);for(var M=n[2*y],E=n[2*y+1],T=n[2*b],S=n[2*b+1],k=2*g,O=2*_,I=2*x,L=2*p,P=2*d,z=2*f,R=0;R<2;++R){var D=n[k+R],$=n[O+R],B=n[I+R];n[L+R]=D,n[P+R]=$,n[z+R]=B}o(m,t,n),o(v,e,n);for(var N=w;N<=A;++N)if(u(N,M,E,n))N!==w&&i(N,w,n),++w;else if(!u(N,T,S,n))for(;;){if(u(A,T,S,n)){u(A,M,E,n)?(a(N,w,A,n),++w,--A):(i(N,A,n),--A);break}if(--A<N)break}s(t,w-1,M,E,n),s(e,A+1,T,S,n),w-2-t<=32?r(t,w-2,n):c(t,w-2,n),e-(A+2)<=32?r(A+2,e,n):c(A+2,e,n),A-w<=32?r(w,A,n):c(w,A,n)}e.exports=function(t,e){e<=128?r(0,e-1,t):c(0,e-1,t)}},{}],105:[function(t,e,n){\\\"use strict\\\";e.exports={init:function(t){var e=i.nextPow2(t);l.length<e&&(r.free(l),l=r.mallocInt32(e)),u.length<e&&(r.free(u),u=r.mallocInt32(e)),c.length<e&&(r.free(c),c=r.mallocInt32(e)),h.length<e&&(r.free(h),h=r.mallocInt32(e)),p.length<e&&(r.free(p),p=r.mallocInt32(e)),f.length<e&&(r.free(f),f=r.mallocInt32(e));var n=8*e;d.length<n&&(r.free(d),d=r.mallocDouble(n))},sweepBipartite:function(t,e,n,r,i,s,p,f,g,y){for(var _=0,b=2*t,x=t-1,w=b-1,A=n;A<r;++A){var C=s[A],M=b*A;d[_++]=i[M+x],d[_++]=-(C+1),d[_++]=i[M+w],d[_++]=C}for(A=p;A<f;++A){C=y[A]+a;var E=b*A;d[_++]=g[E+x],d[_++]=-C,d[_++]=g[E+w],d[_++]=C}var T=_>>>1;o(d,T);var S=0,k=0;for(A=0;A<T;++A){var O=0|d[2*A+1];if(O>=a)m(c,h,k--,O=O-a|0);else if(O>=0)m(l,u,S--,O);else if(O<=-268435456){O=-O-a|0;for(var I=0;I<S;++I)if(void 0!==(L=e(l[I],O)))return L;v(c,h,k++,O)}else{for(O=-O-1|0,I=0;I<k;++I){var L;if(void 0!==(L=e(O,c[I])))return L}v(l,u,S++,O)}}},sweepComplete:function(t,e,n,r,i,a,s,g,y,_){for(var b=0,x=2*t,w=t-1,A=x-1,C=n;C<r;++C){var M=a[C]+1<<1,E=x*C;d[b++]=i[E+w],d[b++]=-M,d[b++]=i[E+A],d[b++]=M}for(C=s;C<g;++C){M=_[C]+1<<1;var T=x*C;d[b++]=y[T+w],d[b++]=1|-M,d[b++]=y[T+A],d[b++]=1|M}var S=b>>>1;o(d,S);var k=0,O=0,I=0;for(C=0;C<S;++C){var L=0|d[2*C+1],P=1&L;if(C<S-1&&L>>1==d[2*C+3]>>1&&(P=2,C+=1),L<0){for(var z=-(L>>1)-1,R=0;R<I;++R)if(void 0!==(D=e(p[R],z)))return D;if(0!==P)for(R=0;R<k;++R)if(void 0!==(D=e(l[R],z)))return D;if(1!==P)for(R=0;R<O;++R){var D;if(void 0!==(D=e(c[R],z)))return D}0===P?v(l,u,k++,z):1===P?v(c,h,O++,z):2===P&&v(p,f,I++,z)}else z=(L>>1)-1,0===P?m(l,u,k--,z):1===P?m(c,h,O--,z):2===P&&m(p,f,I--,z)}},scanBipartite:function(t,e,n,r,i,s,c,h,p,f,g,y){var _=0,b=2*t,x=e,w=e+t,A=1,C=1;r?C=a:A=a;for(var M=i;M<s;++M){var E=M+A,T=b*M;d[_++]=c[T+x],d[_++]=-E,d[_++]=c[T+w],d[_++]=E}for(M=p;M<f;++M){E=M+C;var S=b*M;d[_++]=g[S+x],d[_++]=-E}var k=_>>>1;o(d,k);var O=0;for(M=0;M<k;++M){var I=0|d[2*M+1];if(I<0){var L=!1;if((E=-I)>=a?(L=!r,E-=a):(L=!!r,E-=1),L)v(l,u,O++,E);else{var P=y[E],z=b*E,R=g[z+e+1],D=g[z+e+1+t];t:for(var $=0;$<O;++$){var B=l[$],N=b*B;if(!(D<c[N+e+1]||c[N+e+1+t]<R)){for(var F=e+2;F<t;++F)if(g[z+F+t]<c[N+F]||c[N+F+t]<g[z+F])continue t;var j,U=h[B];if(void 0!==(j=r?n(P,U):n(U,P)))return j}}}}else m(l,u,O--,I-A)}},scanComplete:function(t,e,n,r,i,s,u,c,h,p,f){for(var m=0,v=2*t,g=e,y=e+t,_=r;_<i;++_){var b=_+a,x=v*_;d[m++]=s[x+g],d[m++]=-b,d[m++]=s[x+y],d[m++]=b}for(_=c;_<h;++_){b=_+1;var w=v*_;d[m++]=p[w+g],d[m++]=-b}var A=m>>>1;o(d,A);var C=0;for(_=0;_<A;++_){var M=0|d[2*_+1];if(M<0)if((b=-M)>=a)l[C++]=b-a;else{var E=f[b-=1],T=v*b,S=p[T+e+1],k=p[T+e+1+t];t:for(var O=0;O<C;++O){var I=l[O],L=u[I];if(L===E)break;var P=v*I;if(!(k<s[P+e+1]||s[P+e+1+t]<S)){for(var z=e+2;z<t;++z)if(p[T+z+t]<s[P+z]||s[P+z+t]<p[T+z])continue t;var R=n(L,E);if(void 0!==R)return R}}}else{for(b=M-a,O=C-1;O>=0;--O)if(l[O]===b){for(z=O+1;z<C;++z)l[z-1]=l[z];break}--C}}}};var r=t(\\\"typedarray-pool\\\"),i=t(\\\"bit-twiddle\\\"),o=t(\\\"./sort\\\"),a=1<<28,s=1024,l=r.mallocInt32(s),u=r.mallocInt32(s),c=r.mallocInt32(s),h=r.mallocInt32(s),p=r.mallocInt32(s),f=r.mallocInt32(s),d=r.mallocDouble(8192);function m(t,e,n,r){var i=e[r],o=t[n-1];t[i]=o,e[o]=i}function v(t,e,n,r){t[n]=r,e[r]=n}},{\\\"./sort\\\":104,\\\"bit-twiddle\\\":95,\\\"typedarray-pool\\\":547}],106:[function(t,e,n){},{}],107:[function(t,e,n){var r=Object.create||function(t){var e=function(){};return e.prototype=t,new e},i=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return n},o=Function.prototype.bind||function(t){var e=this;return function(){return e.apply(t,arguments)}};function a(){this._events&&Object.prototype.hasOwnProperty.call(this,\\\"_events\\\")||(this._events=r(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}e.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._maxListeners=void 0;var s,l=10;try{var u={};Object.defineProperty&&Object.defineProperty(u,\\\"x\\\",{value:0}),s=0===u.x}catch(t){s=!1}function c(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function h(t,e,n){if(e)t.call(n);else for(var r=t.length,i=x(t,r),o=0;o<r;++o)i[o].call(n)}function p(t,e,n,r){if(e)t.call(n,r);else for(var i=t.length,o=x(t,i),a=0;a<i;++a)o[a].call(n,r)}function f(t,e,n,r,i){if(e)t.call(n,r,i);else for(var o=t.length,a=x(t,o),s=0;s<o;++s)a[s].call(n,r,i)}function d(t,e,n,r,i,o){if(e)t.call(n,r,i,o);else for(var a=t.length,s=x(t,a),l=0;l<a;++l)s[l].call(n,r,i,o)}function m(t,e,n,r){if(e)t.apply(n,r);else for(var i=t.length,o=x(t,i),a=0;a<i;++a)o[a].apply(n,r)}function v(t,e,n,i){var o,a,s;if(\\\"function\\\"!=typeof n)throw new TypeError('\\\"listener\\\" argument must be a function');if((a=t._events)?(a.newListener&&(t.emit(\\\"newListener\\\",e,n.listener?n.listener:n),a=t._events),s=a[e]):(a=t._events=r(null),t._eventsCount=0),s){if(\\\"function\\\"==typeof s?s=a[e]=i?[n,s]:[s,n]:i?s.unshift(n):s.push(n),!s.warned&&(o=c(t))&&o>0&&s.length>o){s.warned=!0;var l=new Error(\\\"Possible EventEmitter memory leak detected. \\\"+s.length+' \\\"'+String(e)+'\\\" listeners added. Use emitter.setMaxListeners() to increase limit.');l.name=\\\"MaxListenersExceededWarning\\\",l.emitter=t,l.type=e,l.count=s.length,\\\"object\\\"==typeof console&&console.warn&&console.warn(\\\"%s: %s\\\",l.name,l.message)}}else s=a[e]=n,++t._eventsCount;return t}function g(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var t=new Array(arguments.length),e=0;e<t.length;++e)t[e]=arguments[e];this.listener.apply(this.target,t)}}function y(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=o.call(g,r);return i.listener=n,r.wrapFn=i,i}function _(t,e,n){var r=t._events;if(!r)return[];var i=r[e];return i?\\\"function\\\"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):x(i,i.length):[]}function b(t){var e=this._events;if(e){var n=e[t];if(\\\"function\\\"==typeof n)return 1;if(n)return n.length}return 0}function x(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}s?Object.defineProperty(a,\\\"defaultMaxListeners\\\",{enumerable:!0,get:function(){return l},set:function(t){if(\\\"number\\\"!=typeof t||t<0||t!=t)throw new TypeError('\\\"defaultMaxListeners\\\" must be a positive number');l=t}}):a.defaultMaxListeners=l,a.prototype.setMaxListeners=function(t){if(\\\"number\\\"!=typeof t||t<0||isNaN(t))throw new TypeError('\\\"n\\\" argument must be a positive number');return this._maxListeners=t,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(t){var e,n,r,i,o,a,s=\\\"error\\\"===t;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){if(arguments.length>1&&(e=arguments[1]),e instanceof Error)throw e;var l=new Error('Unhandled \\\"error\\\" event. ('+e+\\\")\\\");throw l.context=e,l}if(!(n=a[t]))return!1;var u=\\\"function\\\"==typeof n;switch(r=arguments.length){case 1:h(n,u,this);break;case 2:p(n,u,this,arguments[1]);break;case 3:f(n,u,this,arguments[1],arguments[2]);break;case 4:d(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];m(n,u,this,i)}return!0},a.prototype.addListener=function(t,e){return v(this,t,e,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(t,e){return v(this,t,e,!0)},a.prototype.once=function(t,e){if(\\\"function\\\"!=typeof e)throw new TypeError('\\\"listener\\\" argument must be a function');return this.on(t,y(this,t,e)),this},a.prototype.prependOnceListener=function(t,e){if(\\\"function\\\"!=typeof e)throw new TypeError('\\\"listener\\\" argument must be a function');return this.prependListener(t,y(this,t,e)),this},a.prototype.removeListener=function(t,e){var n,i,o,a,s;if(\\\"function\\\"!=typeof e)throw new TypeError('\\\"listener\\\" argument must be a function');if(!(i=this._events))return this;if(!(n=i[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=r(null):(delete i[t],i.removeListener&&this.emit(\\\"removeListener\\\",t,n.listener||e));else if(\\\"function\\\"!=typeof n){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===e||n[a].listener===e){s=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(t,e){for(var n=e,r=n+1,i=t.length;r<i;n+=1,r+=1)t[n]=t[r];t.pop()}(n,o),1===n.length&&(i[t]=n[0]),i.removeListener&&this.emit(\\\"removeListener\\\",t,s||e)}return this},a.prototype.removeAllListeners=function(t){var e,n,o;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=r(null),this._eventsCount=0):n[t]&&(0==--this._eventsCount?this._events=r(null):delete n[t]),this;if(0===arguments.length){var a,s=i(n);for(o=0;o<s.length;++o)\\\"removeListener\\\"!==(a=s[o])&&this.removeAllListeners(a);return this.removeAllListeners(\\\"removeListener\\\"),this._events=r(null),this._eventsCount=0,this}if(\\\"function\\\"==typeof(e=n[t]))this.removeListener(t,e);else if(e)for(o=e.length-1;o>=0;o--)this.removeListener(t,e[o]);return this},a.prototype.listeners=function(t){return _(this,t,!0)},a.prototype.rawListeners=function(t){return _(this,t,!1)},a.listenerCount=function(t,e){return\\\"function\\\"==typeof t.listenerCount?t.listenerCount(e):b.call(t,e)},a.prototype.listenerCount=b,a.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],108:[function(t,e,n){(function(e){\\\"use strict\\\";var r=t(\\\"base64-js\\\"),i=t(\\\"ieee754\\\");n.Buffer=e,n.SlowBuffer=function(t){return+t!=t&&(t=0),e.alloc(+t)},n.INSPECT_MAX_BYTES=50;var o=2147483647;function a(t){if(t>o)throw new RangeError('The value \\\"'+t+'\\\" is invalid for option \\\"size\\\"');var n=new Uint8Array(t);return n.__proto__=e.prototype,n}function e(t,e,n){if(\\\"number\\\"==typeof t){if(\\\"string\\\"==typeof e)throw new TypeError('The \\\"string\\\" argument must be of type string. Received type number');return u(t)}return s(t,e,n)}function s(t,n,r){if(\\\"string\\\"==typeof t)return function(t,n){if(\\\"string\\\"==typeof n&&\\\"\\\"!==n||(n=\\\"utf8\\\"),!e.isEncoding(n))throw new TypeError(\\\"Unknown encoding: \\\"+n);var r=0|p(t,n),i=a(r),o=i.write(t,n);return o!==r&&(i=i.slice(0,o)),i}(t,n);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError(\\\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \\\"+typeof t);if(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer))return function(t,n,r){if(n<0||t.byteLength<n)throw new RangeError('\\\"offset\\\" is outside of buffer bounds');if(t.byteLength<n+(r||0))throw new RangeError('\\\"length\\\" is outside of buffer bounds');var i;return(i=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r)).__proto__=e.prototype,i}(t,n,r);if(\\\"number\\\"==typeof t)throw new TypeError('The \\\"value\\\" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return e.from(i,n,r);var o=function(t){if(e.isBuffer(t)){var n=0|h(t.length),r=a(n);return 0===r.length||t.copy(r,0,0,n),r}return void 0!==t.length?\\\"number\\\"!=typeof t.length||F(t.length)?a(0):c(t):\\\"Buffer\\\"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(o)return o;if(\\\"undefined\\\"!=typeof Symbol&&null!=Symbol.toPrimitive&&\\\"function\\\"==typeof t[Symbol.toPrimitive])return e.from(t[Symbol.toPrimitive](\\\"string\\\"),n,r);throw new TypeError(\\\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \\\"+typeof t)}function l(t){if(\\\"number\\\"!=typeof t)throw new TypeError('\\\"size\\\" argument must be of type number');if(t<0)throw new RangeError('The value \\\"'+t+'\\\" is invalid for option \\\"size\\\"')}function u(t){return l(t),a(t<0?0:0|h(t))}function c(t){for(var e=t.length<0?0:0|h(t.length),n=a(e),r=0;r<e;r+=1)n[r]=255&t[r];return n}function h(t){if(t>=o)throw new RangeError(\\\"Attempt to allocate Buffer larger than maximum size: 0x\\\"+o.toString(16)+\\\" bytes\\\");return 0|t}function p(t,n){if(e.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(t,ArrayBuffer))return t.byteLength;if(\\\"string\\\"!=typeof t)throw new TypeError('The \\\"string\\\" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var o=!1;;)switch(n){case\\\"ascii\\\":case\\\"latin1\\\":case\\\"binary\\\":return r;case\\\"utf8\\\":case\\\"utf-8\\\":return D(t).length;case\\\"ucs2\\\":case\\\"ucs-2\\\":case\\\"utf16le\\\":case\\\"utf-16le\\\":return 2*r;case\\\"hex\\\":return r>>>1;case\\\"base64\\\":return $(t).length;default:if(o)return i?-1:D(t).length;n=(\\\"\\\"+n).toLowerCase(),o=!0}}function f(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return\\\"\\\";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return\\\"\\\";if((n>>>=0)<=(e>>>=0))return\\\"\\\";for(t||(t=\\\"utf8\\\");;)switch(t){case\\\"hex\\\":return S(this,e,n);case\\\"utf8\\\":case\\\"utf-8\\\":return C(this,e,n);case\\\"ascii\\\":return E(this,e,n);case\\\"latin1\\\":case\\\"binary\\\":return T(this,e,n);case\\\"base64\\\":return A(this,e,n);case\\\"ucs2\\\":case\\\"ucs-2\\\":case\\\"utf16le\\\":case\\\"utf-16le\\\":return k(this,e,n);default:if(r)throw new TypeError(\\\"Unknown encoding: \\\"+t);t=(t+\\\"\\\").toLowerCase(),r=!0}}function d(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,n,r,i,o){if(0===t.length)return-1;if(\\\"string\\\"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),F(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if(\\\"string\\\"==typeof n&&(n=e.from(n,i)),e.isBuffer(n))return 0===n.length?-1:v(t,n,r,i,o);if(\\\"number\\\"==typeof n)return n&=255,\\\"function\\\"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,n,r):Uint8Array.prototype.lastIndexOf.call(t,n,r):v(t,[n],r,i,o);throw new TypeError(\\\"val must be string, number or Buffer\\\")}function v(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&(\\\"ucs2\\\"===(r=String(r).toLowerCase())||\\\"ucs-2\\\"===r||\\\"utf16le\\\"===r||\\\"utf-16le\\\"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,p=0;p<l;p++)if(u(t,o+p)!==u(e,p)){h=!1;break}if(h)return o}return-1}function g(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(F(s))return a;t[n+a]=s}return a}function y(t,e,n,r){return B(D(e,t.length-n),t,n,r)}function _(t,e,n,r){return B(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function b(t,e,n,r){return _(t,e,n,r)}function x(t,e,n,r){return B($(e),t,n,r)}function w(t,e,n,r){return B(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function A(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function C(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,l,u=t[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(o=t[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(t){var e=t.length;if(e<=M)return String.fromCharCode.apply(String,t);for(var n=\\\"\\\",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=M));return n}(r)}n.kMaxLength=o,e.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),e.TYPED_ARRAY_SUPPORT||\\\"undefined\\\"==typeof console||\\\"function\\\"!=typeof console.error||console.error(\\\"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.\\\"),Object.defineProperty(e.prototype,\\\"parent\\\",{enumerable:!0,get:function(){if(e.isBuffer(this))return this.buffer}}),Object.defineProperty(e.prototype,\\\"offset\\\",{enumerable:!0,get:function(){if(e.isBuffer(this))return this.byteOffset}}),\\\"undefined\\\"!=typeof Symbol&&null!=Symbol.species&&e[Symbol.species]===e&&Object.defineProperty(e,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),e.poolSize=8192,e.from=function(t,e,n){return s(t,e,n)},e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array,e.alloc=function(t,e,n){return function(t,e,n){return l(t),t<=0?a(t):void 0!==e?\\\"string\\\"==typeof n?a(t).fill(e,n):a(t).fill(e):a(t)}(t,e,n)},e.allocUnsafe=function(t){return u(t)},e.allocUnsafeSlow=function(t){return u(t)},e.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==e.prototype},e.compare=function(t,n){if(N(t,Uint8Array)&&(t=e.from(t,t.offset,t.byteLength)),N(n,Uint8Array)&&(n=e.from(n,n.offset,n.byteLength)),!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError('The \\\"buf1\\\", \\\"buf2\\\" arguments must be one of type Buffer or Uint8Array');if(t===n)return 0;for(var r=t.length,i=n.length,o=0,a=Math.min(r,i);o<a;++o)if(t[o]!==n[o]){r=t[o],i=n[o];break}return r<i?-1:i<r?1:0},e.isEncoding=function(t){switch(String(t).toLowerCase()){case\\\"hex\\\":case\\\"utf8\\\":case\\\"utf-8\\\":case\\\"ascii\\\":case\\\"latin1\\\":case\\\"binary\\\":case\\\"base64\\\":case\\\"ucs2\\\":case\\\"ucs-2\\\":case\\\"utf16le\\\":case\\\"utf-16le\\\":return!0;default:return!1}},e.concat=function(t,n){if(!Array.isArray(t))throw new TypeError('\\\"list\\\" argument must be an Array of Buffers');if(0===t.length)return e.alloc(0);var r;if(void 0===n)for(n=0,r=0;r<t.length;++r)n+=t[r].length;var i=e.allocUnsafe(n),o=0;for(r=0;r<t.length;++r){var a=t[r];if(N(a,Uint8Array)&&(a=e.from(a)),!e.isBuffer(a))throw new TypeError('\\\"list\\\" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},e.byteLength=p,e.prototype._isBuffer=!0,e.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError(\\\"Buffer size must be a multiple of 16-bits\\\");for(var e=0;e<t;e+=2)d(this,e,e+1);return this},e.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError(\\\"Buffer size must be a multiple of 32-bits\\\");for(var e=0;e<t;e+=4)d(this,e,e+3),d(this,e+1,e+2);return this},e.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError(\\\"Buffer size must be a multiple of 64-bits\\\");for(var e=0;e<t;e+=8)d(this,e,e+7),d(this,e+1,e+6),d(this,e+2,e+5),d(this,e+3,e+4);return this},e.prototype.toString=function(){var t=this.length;return 0===t?\\\"\\\":0===arguments.length?C(this,0,t):f.apply(this,arguments)},e.prototype.toLocaleString=e.prototype.toString,e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError(\\\"Argument must be a Buffer\\\");return this===t||0===e.compare(this,t)},e.prototype.inspect=function(){var t=\\\"\\\",e=n.INSPECT_MAX_BYTES;return t=this.toString(\\\"hex\\\",0,e).replace(/(.{2})/g,\\\"$1 \\\").trim(),this.length>e&&(t+=\\\" ... \\\"),\\\"<Buffer \\\"+t+\\\">\\\"},e.prototype.compare=function(t,n,r,i,o){if(N(t,Uint8Array)&&(t=e.from(t,t.offset,t.byteLength)),!e.isBuffer(t))throw new TypeError('The \\\"target\\\" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===n&&(n=0),void 0===r&&(r=t?t.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),n<0||r>t.length||i<0||o>this.length)throw new RangeError(\\\"out of range index\\\");if(i>=o&&n>=r)return 0;if(i>=o)return-1;if(n>=r)return 1;if(this===t)return 0;for(var a=(o>>>=0)-(i>>>=0),s=(r>>>=0)-(n>>>=0),l=Math.min(a,s),u=this.slice(i,o),c=t.slice(n,r),h=0;h<l;++h)if(u[h]!==c[h]){a=u[h],s=c[h];break}return a<s?-1:s<a?1:0},e.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},e.prototype.indexOf=function(t,e,n){return m(this,t,e,n,!0)},e.prototype.lastIndexOf=function(t,e,n){return m(this,t,e,n,!1)},e.prototype.write=function(t,e,n,r){if(void 0===e)r=\\\"utf8\\\",n=this.length,e=0;else if(void 0===n&&\\\"string\\\"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error(\\\"Buffer.write(string, encoding, offset[, length]) is no longer supported\\\");e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r=\\\"utf8\\\")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError(\\\"Attempt to write outside buffer bounds\\\");r||(r=\\\"utf8\\\");for(var o=!1;;)switch(r){case\\\"hex\\\":return g(this,t,e,n);case\\\"utf8\\\":case\\\"utf-8\\\":return y(this,t,e,n);case\\\"ascii\\\":return _(this,t,e,n);case\\\"latin1\\\":case\\\"binary\\\":return b(this,t,e,n);case\\\"base64\\\":return x(this,t,e,n);case\\\"ucs2\\\":case\\\"ucs-2\\\":case\\\"utf16le\\\":case\\\"utf-16le\\\":return w(this,t,e,n);default:if(o)throw new TypeError(\\\"Unknown encoding: \\\"+r);r=(\\\"\\\"+r).toLowerCase(),o=!0}},e.prototype.toJSON=function(){return{type:\\\"Buffer\\\",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function E(t,e,n){var r=\\\"\\\";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function T(t,e,n){var r=\\\"\\\";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function S(t,e,n){var r,i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var o=\\\"\\\",a=e;a<n;++a)o+=(r=t[a])<16?\\\"0\\\"+r.toString(16):r.toString(16);return o}function k(t,e,n){for(var r=t.slice(e,n),i=\\\"\\\",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function O(t,e,n){if(t%1!=0||t<0)throw new RangeError(\\\"offset is not uint\\\");if(t+e>n)throw new RangeError(\\\"Trying to access beyond buffer length\\\")}function I(t,n,r,i,o,a){if(!e.isBuffer(t))throw new TypeError('\\\"buffer\\\" argument must be a Buffer instance');if(n>o||n<a)throw new RangeError('\\\"value\\\" argument is out of bounds');if(r+i>t.length)throw new RangeError(\\\"Index out of range\\\")}function L(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError(\\\"Index out of range\\\");if(n<0)throw new RangeError(\\\"Index out of range\\\")}function P(t,e,n,r,o){return e=+e,n>>>=0,o||L(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function z(t,e,n,r,o){return e=+e,n>>>=0,o||L(t,0,n,8),i.write(t,e,n,r,52,8),n+8}e.prototype.slice=function(t,n){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(n=void 0===n?r:~~n)<0?(n+=r)<0&&(n=0):n>r&&(n=r),n<t&&(n=t);var i=this.subarray(t,n);return i.__proto__=e.prototype,i},e.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||O(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},e.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||O(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},e.prototype.readUInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),this[t]},e.prototype.readUInt16LE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]|this[t+1]<<8},e.prototype.readUInt16BE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]<<8|this[t+1]},e.prototype.readUInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},e.prototype.readUInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},e.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||O(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},e.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||O(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},e.prototype.readInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},e.prototype.readInt16LE=function(t,e){t>>>=0,e||O(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(t,e){t>>>=0,e||O(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},e.prototype.readInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},e.prototype.readFloatLE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!0,23,4)},e.prototype.readFloatBE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!1,23,4)},e.prototype.readDoubleLE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!0,52,8)},e.prototype.readDoubleBE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!1,52,8)},e.prototype.writeUIntLE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},e.prototype.writeUIntBE=function(t,e,n,r){t=+t,e>>>=0,n>>>=0,r||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},e.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,1,255,0),this[e]=255&t,e+1},e.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},e.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},e.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},e.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},e.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},e.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},e.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},e.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},e.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},e.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},e.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},e.prototype.writeFloatLE=function(t,e,n){return P(this,t,e,!0,n)},e.prototype.writeFloatBE=function(t,e,n){return P(this,t,e,!1,n)},e.prototype.writeDoubleLE=function(t,e,n){return z(this,t,e,!0,n)},e.prototype.writeDoubleBE=function(t,e,n){return z(this,t,e,!1,n)},e.prototype.copy=function(t,n,r,i){if(!e.isBuffer(t))throw new TypeError(\\\"argument should be a Buffer\\\");if(r||(r=0),i||0===i||(i=this.length),n>=t.length&&(n=t.length),n||(n=0),i>0&&i<r&&(i=r),i===r)return 0;if(0===t.length||0===this.length)return 0;if(n<0)throw new RangeError(\\\"targetStart out of bounds\\\");if(r<0||r>=this.length)throw new RangeError(\\\"Index out of range\\\");if(i<0)throw new RangeError(\\\"sourceEnd out of bounds\\\");i>this.length&&(i=this.length),t.length-n<i-r&&(i=t.length-n+r);var o=i-r;if(this===t&&\\\"function\\\"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(n,r,i);else if(this===t&&r<n&&n<i)for(var a=o-1;a>=0;--a)t[a+n]=this[a+r];else Uint8Array.prototype.set.call(t,this.subarray(r,i),n);return o},e.prototype.fill=function(t,n,r,i){if(\\\"string\\\"==typeof t){if(\\\"string\\\"==typeof n?(i=n,n=0,r=this.length):\\\"string\\\"==typeof r&&(i=r,r=this.length),void 0!==i&&\\\"string\\\"!=typeof i)throw new TypeError(\\\"encoding must be a string\\\");if(\\\"string\\\"==typeof i&&!e.isEncoding(i))throw new TypeError(\\\"Unknown encoding: \\\"+i);if(1===t.length){var o=t.charCodeAt(0);(\\\"utf8\\\"===i&&o<128||\\\"latin1\\\"===i)&&(t=o)}}else\\\"number\\\"==typeof t&&(t&=255);if(n<0||this.length<n||this.length<r)throw new RangeError(\\\"Out of range index\\\");if(r<=n)return this;var a;if(n>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),\\\"number\\\"==typeof t)for(a=n;a<r;++a)this[a]=t;else{var s=e.isBuffer(t)?t:e.from(t,i),l=s.length;if(0===l)throw new TypeError('The value \\\"'+t+'\\\" is invalid for argument \\\"value\\\"');for(a=0;a<r-n;++a)this[a+n]=s[a%l]}return this};var R=/[^+/0-9A-Za-z-_]/g;function D(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\\\"Invalid code point\\\");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function $(t){return r.toByteArray(function(t){if((t=(t=t.split(\\\"=\\\")[0]).trim().replace(R,\\\"\\\")).length<2)return\\\"\\\";for(;t.length%4!=0;)t+=\\\"=\\\";return t}(t))}function B(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function N(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function F(t){return t!=t}}).call(this,t(\\\"buffer\\\").Buffer)},{\\\"base64-js\\\":77,buffer:108,ieee754:411}],109:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/monotone\\\"),i=t(\\\"./lib/triangulation\\\"),o=t(\\\"./lib/delaunay\\\"),a=t(\\\"./lib/filter\\\");function s(t){return[Math.min(t[0],t[1]),Math.max(t[0],t[1])]}function l(t,e){return t[0]-e[0]||t[1]-e[1]}function u(t,e,n){return e in t?t[e]:n}e.exports=function(t,e,n){Array.isArray(e)?(n=n||{},e=e||[]):(n=e||{},e=[]);var c=!!u(n,\\\"delaunay\\\",!0),h=!!u(n,\\\"interior\\\",!0),p=!!u(n,\\\"exterior\\\",!0),f=!!u(n,\\\"infinity\\\",!1);if(!h&&!p||0===t.length)return[];var d=r(t,e);if(c||h!==p||f){for(var m=i(t.length,function(t){return t.map(s).sort(l)}(e)),v=0;v<d.length;++v){var g=d[v];m.addTriangle(g[0],g[1],g[2])}return c&&o(t,m),p?h?f?a(m,0,f):m.cells():a(m,1,f):a(m,-1)}return d}},{\\\"./lib/delaunay\\\":110,\\\"./lib/filter\\\":111,\\\"./lib/monotone\\\":112,\\\"./lib/triangulation\\\":113}],110:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"robust-in-sphere\\\")[4];function i(t,e,n,i,o,a){var s=e.opposite(i,o);if(!(s<0)){if(o<i){var l=i;i=o,o=l,l=a,a=s,s=l}e.isConstraint(i,o)||r(t[i],t[o],t[a],t[s])<0&&n.push(i,o)}}t(\\\"binary-search-bounds\\\"),e.exports=function(t,e){for(var n=[],o=t.length,a=e.stars,s=0;s<o;++s)for(var l=a[s],u=1;u<l.length;u+=2)if(!((f=l[u])<s||e.isConstraint(s,f))){for(var c=l[u-1],h=-1,p=1;p<l.length;p+=2)if(l[p-1]===f){h=l[p];break}h<0||r(t[s],t[f],t[c],t[h])<0&&n.push(s,f)}for(;n.length>0;){for(var f=n.pop(),d=(c=-1,h=-1,l=a[s=n.pop()],1);d<l.length;d+=2){var m=l[d-1],v=l[d];m===f?h=v:v===f&&(c=m)}c<0||h<0||r(t[s],t[f],t[c],t[h])>=0||(e.flip(s,f),i(t,e,n,c,s,h),i(t,e,n,s,h,c),i(t,e,n,h,f,c),i(t,e,n,f,c,h))}}},{\\\"binary-search-bounds\\\":94,\\\"robust-in-sphere\\\":498}],111:[function(t,e,n){\\\"use strict\\\";var r,i=t(\\\"binary-search-bounds\\\");function o(t,e,n,r,i,o,a){this.cells=t,this.neighbor=e,this.flags=r,this.constraint=n,this.active=i,this.next=o,this.boundary=a}function a(t,e){return t[0]-e[0]||t[1]-e[1]||t[2]-e[2]}e.exports=function(t,e,n){var r=function(t,e){for(var n=t.cells(),r=n.length,i=0;i<r;++i){var s=(g=n[i])[0],l=g[1],u=g[2];l<u?l<s&&(g[0]=l,g[1]=u,g[2]=s):u<s&&(g[0]=u,g[1]=s,g[2]=l)}n.sort(a);var c=new Array(r);for(i=0;i<c.length;++i)c[i]=0;var h=[],p=[],f=new Array(3*r),d=new Array(3*r),m=null;e&&(m=[]);var v=new o(n,f,d,c,h,p,m);for(i=0;i<r;++i)for(var g=n[i],y=0;y<3;++y){s=g[y],l=g[(y+1)%3];var _=f[3*i+y]=v.locate(l,s,t.opposite(l,s)),b=d[3*i+y]=t.isConstraint(s,l);_<0&&(b?p.push(i):(h.push(i),c[i]=1),e&&m.push([l,s,-1]))}return v}(t,n);if(0===e)return n?r.cells.concat(r.boundary):r.cells;for(var i=1,s=r.active,l=r.next,u=r.flags,c=r.cells,h=r.constraint,p=r.neighbor;s.length>0||l.length>0;){for(;s.length>0;){var f=s.pop();if(u[f]!==-i){u[f]=i,c[f];for(var d=0;d<3;++d){var m=p[3*f+d];m>=0&&0===u[m]&&(h[3*f+d]?l.push(m):(s.push(m),u[m]=i))}}}var v=l;l=s,s=v,l.length=0,i=-i}var g=function(t,e,n){for(var r=0,i=0;i<t.length;++i)e[i]===n&&(t[r++]=t[i]);return t.length=r,t}(c,u,e);return n?g.concat(r.boundary):g},o.prototype.locate=(r=[0,0,0],function(t,e,n){var o=t,s=e,l=n;return e<n?e<t&&(o=e,s=n,l=t):n<t&&(o=n,s=t,l=e),o<0?-1:(r[0]=o,r[1]=s,r[2]=l,i.eq(this.cells,r,a))})},{\\\"binary-search-bounds\\\":94}],112:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"binary-search-bounds\\\"),i=t(\\\"robust-orientation\\\")[3];function o(t,e,n,r,i){this.a=t,this.b=e,this.idx=n,this.lowerIds=r,this.upperIds=i}function a(t,e,n,r){this.a=t,this.b=e,this.type=n,this.idx=r}function s(t,e){var n=t.a[0]-e.a[0]||t.a[1]-e.a[1]||t.type-e.type;return n||(0!==t.type&&(n=i(t.a,t.b,e.b))?n:t.idx-e.idx)}function l(t,e){return i(t.a,t.b,e)}function u(t,e,n,o,a){for(var s=r.lt(e,o,l),u=r.gt(e,o,l),c=s;c<u;++c){for(var h=e[c],p=h.lowerIds,f=p.length;f>1&&i(n[p[f-2]],n[p[f-1]],o)>0;)t.push([p[f-1],p[f-2],a]),f-=1;p.length=f,p.push(a);var d=h.upperIds;for(f=d.length;f>1&&i(n[d[f-2]],n[d[f-1]],o)<0;)t.push([d[f-2],d[f-1],a]),f-=1;d.length=f,d.push(a)}}function c(t,e){var n;return(n=t.a[0]<e.a[0]?i(t.a,t.b,e.a):i(e.b,e.a,t.a))?n:(n=e.b[0]<t.b[0]?i(t.a,t.b,e.b):i(e.b,e.a,t.b))||t.idx-e.idx}function h(t,e,n){var i=r.le(t,n,c),a=t[i],s=a.upperIds,l=s[s.length-1];a.upperIds=[l],t.splice(i+1,0,new o(n.a,n.b,n.idx,[l],s))}function p(t,e,n){var i=n.a;n.a=n.b,n.b=i;var o=r.eq(t,n,c),a=t[o];t[o-1].upperIds=a.upperIds,t.splice(o,1)}e.exports=function(t,e){for(var n=t.length,r=e.length,i=[],l=0;l<n;++l)i.push(new a(t[l],null,0,l));for(l=0;l<r;++l){var c=e[l],f=t[c[0]],d=t[c[1]];f[0]<d[0]?i.push(new a(f,d,2,l),new a(d,f,1,l)):f[0]>d[0]&&i.push(new a(d,f,2,l),new a(f,d,1,l))}i.sort(s);for(var m=i[0].a[0]-(1+Math.abs(i[0].a[0]))*Math.pow(2,-52),v=[new o([m,1],[m,0],-1,[],[],[],[])],g=[],y=(l=0,i.length);l<y;++l){var _=i[l],b=_.type;0===b?u(g,v,t,_.a,_.idx):2===b?h(v,0,_):p(v,0,_)}return g}},{\\\"binary-search-bounds\\\":94,\\\"robust-orientation\\\":500}],113:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"binary-search-bounds\\\");function i(t,e){this.stars=t,this.edges=e}e.exports=function(t,e){for(var n=new Array(t),r=0;r<t;++r)n[r]=[];return new i(n,e)};var o=i.prototype;function a(t,e,n){for(var r=1,i=t.length;r<i;r+=2)if(t[r-1]===e&&t[r]===n)return t[r-1]=t[i-2],t[r]=t[i-1],void(t.length=i-2)}o.isConstraint=function(){var t=[0,0];function e(t,e){return t[0]-e[0]||t[1]-e[1]}return function(n,i){return t[0]=Math.min(n,i),t[1]=Math.max(n,i),r.eq(this.edges,t,e)>=0}}(),o.removeTriangle=function(t,e,n){var r=this.stars;a(r[t],e,n),a(r[e],n,t),a(r[n],t,e)},o.addTriangle=function(t,e,n){var r=this.stars;r[t].push(e,n),r[e].push(n,t),r[n].push(t,e)},o.opposite=function(t,e){for(var n=this.stars[e],r=1,i=n.length;r<i;r+=2)if(n[r]===t)return n[r-1];return-1},o.flip=function(t,e){var n=this.opposite(t,e),r=this.opposite(e,t);this.removeTriangle(t,e,n),this.removeTriangle(e,t,r),this.addTriangle(t,r,n),this.addTriangle(e,n,r)},o.edges=function(){for(var t=this.stars,e=[],n=0,r=t.length;n<r;++n)for(var i=t[n],o=0,a=i.length;o<a;o+=2)e.push([i[o],i[o+1]]);return e},o.cells=function(){for(var t=this.stars,e=[],n=0,r=t.length;n<r;++n)for(var i=t[n],o=0,a=i.length;o<a;o+=2){var s=i[o],l=i[o+1];n<Math.min(s,l)&&e.push([n,s,l])}return e}},{\\\"binary-search-bounds\\\":94}],114:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=1,n=1;n<t.length;++n)for(var r=0;r<n;++r)if(t[n]<t[r])e=-e;else if(t[r]===t[n])return 0;return e}},{}],115:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"dup\\\"),i=t(\\\"robust-linear-solve\\\");function o(t,e){for(var n=0,r=t.length,i=0;i<r;++i)n+=t[i]*e[i];return n}function a(t){var e=t.length;if(0===e)return[];t[0].length;var n=r([t.length+1,t.length+1],1),a=r([t.length+1],1);n[e][e]=0;for(var s=0;s<e;++s){for(var l=0;l<=s;++l)n[l][s]=n[s][l]=2*o(t[s],t[l]);a[s]=o(t[s],t[s])}var u=i(n,a),c=0,h=u[e+1];for(s=0;s<h.length;++s)c+=h[s];var p=new Array(e);for(s=0;s<e;++s){h=u[s];var f=0;for(l=0;l<h.length;++l)f+=h[l];p[s]=f/c}return p}function s(t){if(0===t.length)return[];for(var e=t[0].length,n=r([e]),i=a(t),o=0;o<t.length;++o)for(var s=0;s<e;++s)n[s]+=t[o][s]*i[o];return n}s.barycenetric=a,e.exports=s},{dup:171,\\\"robust-linear-solve\\\":499}],116:[function(t,e,n){e.exports=function(t){for(var e=r(t),n=0,i=0;i<t.length;++i)for(var o=t[i],a=0;a<e.length;++a)n+=Math.pow(o[a]-e[a],2);return Math.sqrt(n/t.length)};var r=t(\\\"circumcenter\\\")},{circumcenter:115}],117:[function(t,e,n){e.exports=function(t,e,n){return e<n?t<e?e:t>n?n:t:t<n?n:t>e?e:t}},{}],118:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){var r;if(n){r=e;for(var i=new Array(e.length),o=0;o<e.length;++o){var a=e[o];i[o]=[a[0],a[1],n[o]]}e=i}for(var s=function(t,e,n){var r=d(t,[],f(t));return g(e,r,n),!!r}(t,e,!!n);y(t,e,!!n);)s=!0;if(n&&s)for(r.length=0,n.length=0,o=0;o<e.length;++o)a=e[o],r.push([a[0],a[1]]),n.push(a[2]);return s};var r=t(\\\"union-find\\\"),i=t(\\\"box-intersect\\\"),o=t(\\\"robust-segment-intersect\\\"),a=t(\\\"big-rat\\\"),s=t(\\\"big-rat/cmp\\\"),l=t(\\\"big-rat/to-float\\\"),u=t(\\\"rat-vec\\\"),c=t(\\\"nextafter\\\"),h=t(\\\"./lib/rat-seg-intersect\\\");function p(t){var e=l(t);return[c(e,-1/0),c(e,1/0)]}function f(t){for(var e=new Array(t.length),n=0;n<t.length;++n){var r=t[n];e[n]=[c(r[0],-1/0),c(r[1],-1/0),c(r[0],1/0),c(r[1],1/0)]}return e}function d(t,e,n){for(var o=e.length,a=new r(o),s=[],l=0;l<e.length;++l){var u=e[l],h=p(u[0]),f=p(u[1]);s.push([c(h[0],-1/0),c(f[0],-1/0),c(h[1],1/0),c(f[1],1/0)])}i(s,(function(t,e){a.link(t,e)}));var d=!0,m=new Array(o);for(l=0;l<o;++l)(g=a.find(l))!==l&&(d=!1,t[g]=[Math.min(t[l][0],t[g][0]),Math.min(t[l][1],t[g][1])]);if(d)return null;var v=0;for(l=0;l<o;++l){var g;(g=a.find(l))===l?(m[l]=v,t[v++]=t[l]):m[l]=-1}for(t.length=v,l=0;l<o;++l)m[l]<0&&(m[l]=m[a.find(l)]);return m}function m(t,e){return t[0]-e[0]||t[1]-e[1]}function v(t,e){return t[0]-e[0]||t[1]-e[1]||(t[2]<e[2]?-1:t[2]>e[2]?1:0)}function g(t,e,n){if(0!==t.length){if(e)for(var r=0;r<t.length;++r){var i=e[(a=t[r])[0]],o=e[a[1]];a[0]=Math.min(i,o),a[1]=Math.max(i,o)}else for(r=0;r<t.length;++r){var a;i=(a=t[r])[0],o=a[1],a[0]=Math.min(i,o),a[1]=Math.max(i,o)}n?t.sort(v):t.sort(m);var s=1;for(r=1;r<t.length;++r){var l=t[r-1],u=t[r];(u[0]!==l[0]||u[1]!==l[1]||n&&u[2]!==l[2])&&(t[s++]=u)}t.length=s}}function y(t,e,n){var r=function(t,e){for(var n=new Array(e.length),r=0;r<e.length;++r){var i=e[r],o=t[i[0]],a=t[i[1]];n[r]=[c(Math.min(o[0],a[0]),-1/0),c(Math.min(o[1],a[1]),-1/0),c(Math.max(o[0],a[0]),1/0),c(Math.max(o[1],a[1]),1/0)]}return n}(t,e),p=function(t,e,n){var r=[];return i(n,(function(n,i){var a=e[n],s=e[i];if(a[0]!==s[0]&&a[0]!==s[1]&&a[1]!==s[0]&&a[1]!==s[1]){var l=t[a[0]],u=t[a[1]],c=t[s[0]],h=t[s[1]];o(l,u,c,h)&&r.push([n,i])}})),r}(t,e,r),m=f(t),v=function(t,e,n,r){var a=[];return i(n,r,(function(n,r){var i=e[n];if(i[0]!==r&&i[1]!==r){var s=t[r],l=t[i[0]],u=t[i[1]];o(l,u,s,s)&&a.push([n,r])}})),a}(t,e,r,m),y=d(t,function(t,e,n,r,i){var o,c,p=t.map((function(t){return[a(t[0]),a(t[1])]}));for(o=0;o<n.length;++o){var f=n[o];c=f[0];var d=f[1],m=e[c],v=e[d],g=h(u(t[m[0]]),u(t[m[1]]),u(t[v[0]]),u(t[v[1]]));if(g){var y=t.length;t.push([l(g[0]),l(g[1])]),p.push(g),r.push([c,y],[d,y])}}for(r.sort((function(t,e){if(t[0]!==e[0])return t[0]-e[0];var n=p[t[1]],r=p[e[1]];return s(n[0],r[0])||s(n[1],r[1])})),o=r.length-1;o>=0;--o){var _=e[c=(T=r[o])[0]],b=_[0],x=_[1],w=t[b],A=t[x];if((w[0]-A[0]||w[1]-A[1])<0){var C=b;b=x,x=C}_[0]=b;var M,E=_[1]=T[1];for(i&&(M=_[2]);o>0&&r[o-1][0]===c;){var T,S=(T=r[--o])[1];i?e.push([E,S,M]):e.push([E,S]),E=S}i?e.push([E,x,M]):e.push([E,x])}return p}(t,e,p,v,n));return g(e,y,n),!!y||p.length>0||v.length>0}},{\\\"./lib/rat-seg-intersect\\\":119,\\\"big-rat\\\":81,\\\"big-rat/cmp\\\":79,\\\"big-rat/to-float\\\":93,\\\"box-intersect\\\":99,nextafter:449,\\\"rat-vec\\\":484,\\\"robust-segment-intersect\\\":503,\\\"union-find\\\":548}],119:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r){var o=s(e,t),h=s(r,n),p=c(o,h);if(0===a(p))return null;var f=c(h,s(t,n)),d=i(f,p),m=u(o,d);return l(t,m)};var r=t(\\\"big-rat/mul\\\"),i=t(\\\"big-rat/div\\\"),o=t(\\\"big-rat/sub\\\"),a=t(\\\"big-rat/sign\\\"),s=t(\\\"rat-vec/sub\\\"),l=t(\\\"rat-vec/add\\\"),u=t(\\\"rat-vec/muls\\\");function c(t,e){return o(r(t[0],e[1]),r(t[1],e[0]))}},{\\\"big-rat/div\\\":80,\\\"big-rat/mul\\\":90,\\\"big-rat/sign\\\":91,\\\"big-rat/sub\\\":92,\\\"rat-vec/add\\\":483,\\\"rat-vec/muls\\\":485,\\\"rat-vec/sub\\\":486}],120:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"clamp\\\");function i(t,e){null==e&&(e=!0);var n=t[0],i=t[1],o=t[2],a=t[3];return null==a&&(a=e?1:255),e&&(n*=255,i*=255,o*=255,a*=255),16777216*(n=255&r(n,0,255))+((i=255&r(i,0,255))<<16)+((o=255&r(o,0,255))<<8)+(255&r(a,0,255))}e.exports=i,e.exports.to=i,e.exports.from=function(t,e){var n=(t=+t)>>>24,r=(16711680&t)>>>16,i=(65280&t)>>>8,o=255&t;return!1===e?[n,r,i,o]:[n/255,r/255,i/255,o/255]}},{clamp:117}],121:[function(t,e,n){\\\"use strict\\\";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],122:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"color-rgba\\\"),i=t(\\\"clamp\\\"),o=t(\\\"dtype\\\");e.exports=function(t,e){\\\"float\\\"!==e&&e||(e=\\\"array\\\"),\\\"uint\\\"===e&&(e=\\\"uint8\\\"),\\\"uint_clamped\\\"===e&&(e=\\\"uint8_clamped\\\");var n=new(o(e))(4),a=\\\"uint8\\\"!==e&&\\\"uint8_clamped\\\"!==e;return t.length&&\\\"string\\\"!=typeof t||((t=r(t))[0]/=255,t[1]/=255,t[2]/=255),function(t){return t instanceof Uint8Array||t instanceof Uint8ClampedArray||!!(Array.isArray(t)&&(t[0]>1||0===t[0])&&(t[1]>1||0===t[1])&&(t[2]>1||0===t[2])&&(!t[3]||t[3]>1))}(t)?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=null!=t[3]?t[3]:255,a&&(n[0]/=255,n[1]/=255,n[2]/=255,n[3]/=255),n):(a?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=null!=t[3]?t[3]:1):(n[0]=i(Math.floor(255*t[0]),0,255),n[1]=i(Math.floor(255*t[1]),0,255),n[2]=i(Math.floor(255*t[2]),0,255),n[3]=null==t[3]?255:i(Math.floor(255*t[3]),0,255)),n)}},{clamp:117,\\\"color-rgba\\\":124,dtype:170}],123:[function(t,e,r){(function(n){\\\"use strict\\\";var r=t(\\\"color-name\\\"),i=t(\\\"is-plain-obj\\\"),o=t(\\\"defined\\\");e.exports=function(t){var e,s,l=[],u=1;if(\\\"string\\\"==typeof t)if(r[t])l=r[t].slice(),s=\\\"rgb\\\";else if(\\\"transparent\\\"===t)u=0,s=\\\"rgb\\\",l=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var c=t.slice(1);u=1,(f=c.length)<=4?(l=[parseInt(c[0]+c[0],16),parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16)],4===f&&(u=parseInt(c[3]+c[3],16)/255)):(l=[parseInt(c[0]+c[1],16),parseInt(c[2]+c[3],16),parseInt(c[4]+c[5],16)],8===f&&(u=parseInt(c[6]+c[7],16)/255)),l[0]||(l[0]=0),l[1]||(l[1]=0),l[2]||(l[2]=0),s=\\\"rgb\\\"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\\\\s*\\\\(([^\\\\)]*)\\\\)/.exec(t)){var h=e[1],p=\\\"rgb\\\"===h;s=c=h.replace(/a$/,\\\"\\\");var f=\\\"cmyk\\\"===c?4:\\\"gray\\\"===c?1:3;l=e[2].trim().split(/\\\\s*,\\\\s*/).map((function(t,e){if(/%$/.test(t))return e===f?parseFloat(t)/100:\\\"rgb\\\"===c?255*parseFloat(t)/100:parseFloat(t);if(\\\"h\\\"===c[e]){if(/deg$/.test(t))return parseFloat(t);if(void 0!==a[t])return a[t]}return parseFloat(t)})),h===c&&l.push(1),u=p||void 0===l[f]?1:l[f],l=l.slice(0,f)}else t.length>10&&/[0-9](?:\\\\s|\\\\/)/.test(t)&&(l=t.match(/([0-9]+)/g).map((function(t){return parseFloat(t)})),s=t.match(/([a-z])/gi).join(\\\"\\\").toLowerCase());else if(isNaN(t))if(i(t)){var d=o(t.r,t.red,t.R,null);null!==d?(s=\\\"rgb\\\",l=[d,o(t.g,t.green,t.G),o(t.b,t.blue,t.B)]):(s=\\\"hsl\\\",l=[o(t.h,t.hue,t.H),o(t.s,t.saturation,t.S),o(t.l,t.lightness,t.L,t.b,t.brightness)]),u=o(t.a,t.alpha,t.opacity,1),null!=t.opacity&&(u/=100)}else(Array.isArray(t)||n.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(t))&&(l=[t[0],t[1],t[2]],s=\\\"rgb\\\",u=4===t.length?t[3]:1);else s=\\\"rgb\\\",l=[t>>>16,(65280&t)>>>8,255&t];return{space:s,values:l,alpha:u}};var a={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}}).call(this,void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{\\\"color-name\\\":121,defined:165,\\\"is-plain-obj\\\":422}],124:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"color-parse\\\"),i=t(\\\"color-space/hsl\\\"),o=t(\\\"clamp\\\");e.exports=function(t){var e,n=r(t);return n.space?((e=Array(3))[0]=o(n.values[0],0,255),e[1]=o(n.values[1],0,255),e[2]=o(n.values[2],0,255),\\\"h\\\"===n.space[0]&&(e=i.rgb(e)),e.push(o(n.alpha,0,1)),e):[]}},{clamp:117,\\\"color-parse\\\":123,\\\"color-space/hsl\\\":125}],125:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./rgb\\\");e.exports={name:\\\"hsl\\\",min:[0,0,0],max:[360,100,100],channel:[\\\"hue\\\",\\\"saturation\\\",\\\"lightness\\\"],alias:[\\\"HSL\\\"],rgb:function(t){var e,n,r,i,o,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[o=255*l,o,o];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0?r++:r>1&&r--,o=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,i[u]=255*o;return i}},r.hsl=function(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a;return s===a?e=0:r===s?e=(i-o)/l:i===s?e=2+(o-r)/l:o===s&&(e=4+(r-i)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+s)/2,[e,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]}},{\\\"./rgb\\\":126}],126:[function(t,e,n){\\\"use strict\\\";e.exports={name:\\\"rgb\\\",min:[0,0,0],max:[255,255,255],channel:[\\\"red\\\",\\\"green\\\",\\\"blue\\\"],alias:[\\\"RGB\\\"]}},{}],127:[function(t,e,n){e.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],cool:[{index:0,rgb:[0,255,255]},{index:1,rgb:[255,0,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],\\\"rainbow-soft\\\":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],\\\"freesurface-blue\\\":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],\\\"freesurface-red\\\":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],\\\"velocity-blue\\\":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],\\\"velocity-green\\\":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},{}],128:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./colorScale\\\"),i=t(\\\"lerp\\\");function o(t){return[t[0]/255,t[1]/255,t[2]/255,t[3]]}function a(t){for(var e,n=\\\"#\\\",r=0;r<3;++r)n+=(\\\"00\\\"+(e=(e=t[r]).toString(16))).substr(e.length);return n}function s(t){return\\\"rgba(\\\"+t.join(\\\",\\\")+\\\")\\\"}e.exports=function(t){var e,n,l,u,c,h,p,f,d,m;if(t||(t={}),f=(t.nshades||72)-1,p=t.format||\\\"hex\\\",(h=t.colormap)||(h=\\\"jet\\\"),\\\"string\\\"==typeof h){if(h=h.toLowerCase(),!r[h])throw Error(h+\\\" not a supported colorscale\\\");c=r[h]}else{if(!Array.isArray(h))throw Error(\\\"unsupported colormap option\\\",h);c=h.slice()}if(c.length>f+1)throw new Error(h+\\\" map requires nshades to be at least size \\\"+c.length);d=Array.isArray(t.alpha)?2!==t.alpha.length?[1,1]:t.alpha.slice():\\\"number\\\"==typeof t.alpha?[t.alpha,t.alpha]:[1,1],e=c.map((function(t){return Math.round(t.index*f)})),d[0]=Math.min(Math.max(d[0],0),1),d[1]=Math.min(Math.max(d[1],0),1);var v=c.map((function(t,e){var n=c[e].index,r=c[e].rgb.slice();return 4===r.length&&r[3]>=0&&r[3]<=1||(r[3]=d[0]+(d[1]-d[0])*n),r})),g=[];for(m=0;m<e.length-1;++m){u=e[m+1]-e[m],n=v[m],l=v[m+1];for(var y=0;y<u;y++){var _=y/u;g.push([Math.round(i(n[0],l[0],_)),Math.round(i(n[1],l[1],_)),Math.round(i(n[2],l[2],_)),i(n[3],l[3],_)])}}return g.push(c[c.length-1].rgb.concat(d[1])),\\\"hex\\\"===p?g=g.map(a):\\\"rgbaString\\\"===p?g=g.map(s):\\\"float\\\"===p&&(g=g.map(o)),g}},{\\\"./colorScale\\\":127,lerp:425}],129:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,o){var a=r(e,n,o);if(0===a){var s=i(r(t,e,n)),u=i(r(t,e,o));if(s===u){if(0===s){var c=l(t,e,n);return c===l(t,e,o)?0:c?1:-1}return 0}return 0===u?s>0||l(t,e,o)?-1:1:0===s?u>0||l(t,e,n)?1:-1:i(u-s)}var h=r(t,e,n);return h>0?a>0&&r(t,e,o)>0?1:-1:h<0?a>0||r(t,e,o)>0?1:-1:r(t,e,o)>0||l(t,e,n)?1:-1};var r=t(\\\"robust-orientation\\\"),i=t(\\\"signum\\\"),o=t(\\\"two-sum\\\"),a=t(\\\"robust-product\\\"),s=t(\\\"robust-sum\\\");function l(t,e,n){var r=o(t[0],-e[0]),i=o(t[1],-e[1]),l=o(n[0],-e[0]),u=o(n[1],-e[1]),c=s(a(r,l),a(i,u));return c[c.length-1]>=0}},{\\\"robust-orientation\\\":500,\\\"robust-product\\\":501,\\\"robust-sum\\\":505,signum:506,\\\"two-sum\\\":535}],130:[function(t,e,n){e.exports=function(t,e){var n=t.length,o=t.length-e.length;if(o)return o;switch(n){case 0:return 0;case 1:return t[0]-e[0];case 2:return t[0]+t[1]-e[0]-e[1]||r(t[0],t[1])-r(e[0],e[1]);case 3:var a=t[0]+t[1],s=e[0]+e[1];if(o=a+t[2]-(s+e[2]))return o;var l=r(t[0],t[1]),u=r(e[0],e[1]);return r(l,t[2])-r(u,e[2])||r(l+t[2],a)-r(u+e[2],s);case 4:var c=t[0],h=t[1],p=t[2],f=t[3],d=e[0],m=e[1],v=e[2],g=e[3];return c+h+p+f-(d+m+v+g)||r(c,h,p,f)-r(d,m,v,g,d)||r(c+h,c+p,c+f,h+p,h+f,p+f)-r(d+m,d+v,d+g,m+v,m+g,v+g)||r(c+h+p,c+h+f,c+p+f,h+p+f)-r(d+m+v,d+m+g,d+v+g,m+v+g);default:for(var y=t.slice().sort(i),_=e.slice().sort(i),b=0;b<n;++b)if(o=y[b]-_[b])return o;return 0}};var r=Math.min;function i(t,e){return t-e}},{}],131:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"compare-cell\\\"),i=t(\\\"cell-orientation\\\");e.exports=function(t,e){return r(t,e)||i(t)-i(e)}},{\\\"cell-orientation\\\":114,\\\"compare-cell\\\":130}],132:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/ch1d\\\"),i=t(\\\"./lib/ch2d\\\"),o=t(\\\"./lib/chnd\\\");e.exports=function(t){var e=t.length;if(0===e)return[];if(1===e)return[[0]];var n=t[0].length;return 0===n?[]:1===n?r(t):2===n?i(t):o(t,n)}},{\\\"./lib/ch1d\\\":133,\\\"./lib/ch2d\\\":134,\\\"./lib/chnd\\\":135}],133:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=0,n=0,r=1;r<t.length;++r)t[r][0]<t[e][0]&&(e=r),t[r][0]>t[n][0]&&(n=r);return e<n?[[e],[n]]:e>n?[[n],[e]]:[[e]]}},{}],134:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=r(t),n=e.length;if(n<=2)return[];for(var i=new Array(n),o=e[n-1],a=0;a<n;++a){var s=e[a];i[a]=[o,s],o=s}return i};var r=t(\\\"monotone-convex-hull-2d\\\")},{\\\"monotone-convex-hull-2d\\\":435}],135:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){try{return r(t,!0)}catch(a){var n=i(t);if(n.length<=e)return[];var o=function(t,e){for(var n=t.length,r=new Array(n),i=0;i<e.length;++i)r[i]=t[e[i]];var o=e.length;for(i=0;i<n;++i)e.indexOf(i)<0&&(r[o++]=t[i]);return r}(t,n);return function(t,e){for(var n=t.length,r=e.length,i=0;i<n;++i)for(var o=t[i],a=0;a<o.length;++a){var s=o[a];if(s<r)o[a]=e[s];else{s-=r;for(var l=0;l<r;++l)s>=e[l]&&(s+=1);o[a]=s}}return t}(r(o,!0),n)}};var r=t(\\\"incremental-convex-hull\\\"),i=t(\\\"affine-hull\\\")},{\\\"affine-hull\\\":65,\\\"incremental-convex-hull\\\":412}],136:[function(t,e,n){e.exports={AFG:\\\"afghan\\\",ALA:\\\"\\\\\\\\b\\\\\\\\wland\\\",ALB:\\\"albania\\\",DZA:\\\"algeria\\\",ASM:\\\"^(?=.*americ).*samoa\\\",AND:\\\"andorra\\\",AGO:\\\"angola\\\",AIA:\\\"anguill?a\\\",ATA:\\\"antarctica\\\",ATG:\\\"antigua\\\",ARG:\\\"argentin\\\",ARM:\\\"armenia\\\",ABW:\\\"^(?!.*bonaire).*\\\\\\\\baruba\\\",AUS:\\\"australia\\\",AUT:\\\"^(?!.*hungary).*austria|\\\\\\\\baustri.*\\\\\\\\bemp\\\",AZE:\\\"azerbaijan\\\",BHS:\\\"bahamas\\\",BHR:\\\"bahrain\\\",BGD:\\\"bangladesh|^(?=.*east).*paki?stan\\\",BRB:\\\"barbados\\\",BLR:\\\"belarus|byelo\\\",BEL:\\\"^(?!.*luxem).*belgium\\\",BLZ:\\\"belize|^(?=.*british).*honduras\\\",BEN:\\\"benin|dahome\\\",BMU:\\\"bermuda\\\",BTN:\\\"bhutan\\\",BOL:\\\"bolivia\\\",BES:\\\"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\\\\\\\bbes.?islands\\\",BIH:\\\"herzegovina|bosnia\\\",BWA:\\\"botswana|bechuana\\\",BVT:\\\"bouvet\\\",BRA:\\\"brazil\\\",IOT:\\\"british.?indian.?ocean\\\",BRN:\\\"brunei\\\",BGR:\\\"bulgaria\\\",BFA:\\\"burkina|\\\\\\\\bfaso|upper.?volta\\\",BDI:\\\"burundi\\\",CPV:\\\"verde\\\",KHM:\\\"cambodia|kampuchea|khmer\\\",CMR:\\\"cameroon\\\",CAN:\\\"canada\\\",CYM:\\\"cayman\\\",CAF:\\\"\\\\\\\\bcentral.african.republic\\\",TCD:\\\"\\\\\\\\bchad\\\",CHL:\\\"\\\\\\\\bchile\\\",CHN:\\\"^(?!.*\\\\\\\\bmac)(?!.*\\\\\\\\bhong)(?!.*\\\\\\\\btai)(?!.*\\\\\\\\brep).*china|^(?=.*peo)(?=.*rep).*china\\\",CXR:\\\"christmas\\\",CCK:\\\"\\\\\\\\bcocos|keeling\\\",COL:\\\"colombia\\\",COM:\\\"comoro\\\",COG:\\\"^(?!.*\\\\\\\\bdem)(?!.*\\\\\\\\bd[\\\\\\\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\\\\\\\bcongo\\\",COK:\\\"\\\\\\\\bcook\\\",CRI:\\\"costa.?rica\\\",CIV:\\\"ivoire|ivory\\\",HRV:\\\"croatia\\\",CUB:\\\"\\\\\\\\bcuba\\\",CUW:\\\"^(?!.*bonaire).*\\\\\\\\bcura(c|ç)ao\\\",CYP:\\\"cyprus\\\",CSK:\\\"czechoslovakia\\\",CZE:\\\"^(?=.*rep).*czech|czechia|bohemia\\\",COD:\\\"\\\\\\\\bdem.*congo|congo.*\\\\\\\\bdem|congo.*\\\\\\\\bd[\\\\\\\\.]?r|\\\\\\\\bd[\\\\\\\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc\\\",DNK:\\\"denmark\\\",DJI:\\\"djibouti\\\",DMA:\\\"dominica(?!n)\\\",DOM:\\\"dominican.rep\\\",ECU:\\\"ecuador\\\",EGY:\\\"egypt\\\",SLV:\\\"el.?salvador\\\",GNQ:\\\"guine.*eq|eq.*guine|^(?=.*span).*guinea\\\",ERI:\\\"eritrea\\\",EST:\\\"estonia\\\",ETH:\\\"ethiopia|abyssinia\\\",FLK:\\\"falkland|malvinas\\\",FRO:\\\"faroe|faeroe\\\",FJI:\\\"fiji\\\",FIN:\\\"finland\\\",FRA:\\\"^(?!.*\\\\\\\\bdep)(?!.*martinique).*france|french.?republic|\\\\\\\\bgaul\\\",GUF:\\\"^(?=.*french).*guiana\\\",PYF:\\\"french.?polynesia|tahiti\\\",ATF:\\\"french.?southern\\\",GAB:\\\"gabon\\\",GMB:\\\"gambia\\\",GEO:\\\"^(?!.*south).*georgia\\\",DDR:\\\"german.?democratic.?republic|democratic.?republic.*germany|east.germany\\\",DEU:\\\"^(?!.*east).*germany|^(?=.*\\\\\\\\bfed.*\\\\\\\\brep).*german\\\",GHA:\\\"ghana|gold.?coast\\\",GIB:\\\"gibraltar\\\",GRC:\\\"greece|hellenic|hellas\\\",GRL:\\\"greenland\\\",GRD:\\\"grenada\\\",GLP:\\\"guadeloupe\\\",GUM:\\\"\\\\\\\\bguam\\\",GTM:\\\"guatemala\\\",GGY:\\\"guernsey\\\",GIN:\\\"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea\\\",GNB:\\\"bissau|^(?=.*portu).*guinea\\\",GUY:\\\"guyana|british.?guiana\\\",HTI:\\\"haiti\\\",HMD:\\\"heard.*mcdonald\\\",VAT:\\\"holy.?see|vatican|papal.?st\\\",HND:\\\"^(?!.*brit).*honduras\\\",HKG:\\\"hong.?kong\\\",HUN:\\\"^(?!.*austr).*hungary\\\",ISL:\\\"iceland\\\",IND:\\\"india(?!.*ocea)\\\",IDN:\\\"indonesia\\\",IRN:\\\"\\\\\\\\biran|persia\\\",IRQ:\\\"\\\\\\\\biraq|mesopotamia\\\",IRL:\\\"(^ireland)|(^republic.*ireland)\\\",IMN:\\\"^(?=.*isle).*\\\\\\\\bman\\\",ISR:\\\"israel\\\",ITA:\\\"italy\\\",JAM:\\\"jamaica\\\",JPN:\\\"japan\\\",JEY:\\\"jersey\\\",JOR:\\\"jordan\\\",KAZ:\\\"kazak\\\",KEN:\\\"kenya|british.?east.?africa|east.?africa.?prot\\\",KIR:\\\"kiribati\\\",PRK:\\\"^(?=.*democrat|people|north|d.*p.*.r).*\\\\\\\\bkorea|dprk|korea.*(d.*p.*r)\\\",KWT:\\\"kuwait\\\",KGZ:\\\"kyrgyz|kirghiz\\\",LAO:\\\"\\\\\\\\blaos?\\\\\\\\b\\\",LVA:\\\"latvia\\\",LBN:\\\"lebanon\\\",LSO:\\\"lesotho|basuto\\\",LBR:\\\"liberia\\\",LBY:\\\"libya\\\",LIE:\\\"liechtenstein\\\",LTU:\\\"lithuania\\\",LUX:\\\"^(?!.*belg).*luxem\\\",MAC:\\\"maca(o|u)\\\",MDG:\\\"madagascar|malagasy\\\",MWI:\\\"malawi|nyasa\\\",MYS:\\\"malaysia\\\",MDV:\\\"maldive\\\",MLI:\\\"\\\\\\\\bmali\\\\\\\\b\\\",MLT:\\\"\\\\\\\\bmalta\\\",MHL:\\\"marshall\\\",MTQ:\\\"martinique\\\",MRT:\\\"mauritania\\\",MUS:\\\"mauritius\\\",MYT:\\\"\\\\\\\\bmayotte\\\",MEX:\\\"\\\\\\\\bmexic\\\",FSM:\\\"fed.*micronesia|micronesia.*fed\\\",MCO:\\\"monaco\\\",MNG:\\\"mongolia\\\",MNE:\\\"^(?!.*serbia).*montenegro\\\",MSR:\\\"montserrat\\\",MAR:\\\"morocco|\\\\\\\\bmaroc\\\",MOZ:\\\"mozambique\\\",MMR:\\\"myanmar|burma\\\",NAM:\\\"namibia\\\",NRU:\\\"nauru\\\",NPL:\\\"nepal\\\",NLD:\\\"^(?!.*\\\\\\\\bant)(?!.*\\\\\\\\bcarib).*netherlands\\\",ANT:\\\"^(?=.*\\\\\\\\bant).*(nether|dutch)\\\",NCL:\\\"new.?caledonia\\\",NZL:\\\"new.?zealand\\\",NIC:\\\"nicaragua\\\",NER:\\\"\\\\\\\\bniger(?!ia)\\\",NGA:\\\"nigeria\\\",NIU:\\\"niue\\\",NFK:\\\"norfolk\\\",MNP:\\\"mariana\\\",NOR:\\\"norway\\\",OMN:\\\"\\\\\\\\boman|trucial\\\",PAK:\\\"^(?!.*east).*paki?stan\\\",PLW:\\\"palau\\\",PSE:\\\"palestin|\\\\\\\\bgaza|west.?bank\\\",PAN:\\\"panama\\\",PNG:\\\"papua|new.?guinea\\\",PRY:\\\"paraguay\\\",PER:\\\"peru\\\",PHL:\\\"philippines\\\",PCN:\\\"pitcairn\\\",POL:\\\"poland\\\",PRT:\\\"portugal\\\",PRI:\\\"puerto.?rico\\\",QAT:\\\"qatar\\\",KOR:\\\"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\\\\\\\bkorea(?!.*d.*p.*r)\\\",MDA:\\\"moldov|b(a|e)ssarabia\\\",REU:\\\"r(e|é)union\\\",ROU:\\\"r(o|u|ou)mania\\\",RUS:\\\"\\\\\\\\brussia|soviet.?union|u\\\\\\\\.?s\\\\\\\\.?s\\\\\\\\.?r|socialist.?republics\\\",RWA:\\\"rwanda\\\",BLM:\\\"barth(e|é)lemy\\\",SHN:\\\"helena\\\",KNA:\\\"kitts|\\\\\\\\bnevis\\\",LCA:\\\"\\\\\\\\blucia\\\",MAF:\\\"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)\\\",SPM:\\\"miquelon\\\",VCT:\\\"vincent\\\",WSM:\\\"^(?!.*amer).*samoa\\\",SMR:\\\"san.?marino\\\",STP:\\\"\\\\\\\\bs(a|ã)o.?tom(e|é)\\\",SAU:\\\"\\\\\\\\bsa\\\\\\\\w*.?arabia\\\",SEN:\\\"senegal\\\",SRB:\\\"^(?!.*monte).*serbia\\\",SYC:\\\"seychell\\\",SLE:\\\"sierra\\\",SGP:\\\"singapore\\\",SXM:\\\"^(?!.*martin)(?!.*saba).*maarten\\\",SVK:\\\"^(?!.*cze).*slovak\\\",SVN:\\\"slovenia\\\",SLB:\\\"solomon\\\",SOM:\\\"somali\\\",ZAF:\\\"south.africa|s\\\\\\\\\\\\\\\\..?africa\\\",SGS:\\\"south.?georgia|sandwich\\\",SSD:\\\"\\\\\\\\bs\\\\\\\\w*.?sudan\\\",ESP:\\\"spain\\\",LKA:\\\"sri.?lanka|ceylon\\\",SDN:\\\"^(?!.*\\\\\\\\bs(?!u)).*sudan\\\",SUR:\\\"surinam|dutch.?guiana\\\",SJM:\\\"svalbard\\\",SWZ:\\\"swaziland\\\",SWE:\\\"sweden\\\",CHE:\\\"switz|swiss\\\",SYR:\\\"syria\\\",TWN:\\\"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china\\\",TJK:\\\"tajik\\\",THA:\\\"thailand|\\\\\\\\bsiam\\\",MKD:\\\"macedonia|fyrom\\\",TLS:\\\"^(?=.*leste).*timor|^(?=.*east).*timor\\\",TGO:\\\"togo\\\",TKL:\\\"tokelau\\\",TON:\\\"tonga\\\",TTO:\\\"trinidad|tobago\\\",TUN:\\\"tunisia\\\",TUR:\\\"turkey\\\",TKM:\\\"turkmen\\\",TCA:\\\"turks\\\",TUV:\\\"tuvalu\\\",UGA:\\\"uganda\\\",UKR:\\\"ukrain\\\",ARE:\\\"emirates|^u\\\\\\\\.?a\\\\\\\\.?e\\\\\\\\.?$|united.?arab.?em\\\",GBR:\\\"united.?kingdom|britain|^u\\\\\\\\.?k\\\\\\\\.?$\\\",TZA:\\\"tanzania\\\",USA:\\\"united.?states\\\\\\\\b(?!.*islands)|\\\\\\\\bu\\\\\\\\.?s\\\\\\\\.?a\\\\\\\\.?\\\\\\\\b|^\\\\\\\\s*u\\\\\\\\.?s\\\\\\\\.?\\\\\\\\b(?!.*islands)\\\",UMI:\\\"minor.?outlying.?is\\\",URY:\\\"uruguay\\\",UZB:\\\"uzbek\\\",VUT:\\\"vanuatu|new.?hebrides\\\",VEN:\\\"venezuela\\\",VNM:\\\"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam\\\",VGB:\\\"^(?=.*\\\\\\\\bu\\\\\\\\.?\\\\\\\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin\\\",VIR:\\\"^(?=.*\\\\\\\\bu\\\\\\\\.?\\\\\\\\s?s).*virgin|^(?=.*states).*virgin\\\",WLF:\\\"futuna|wallis\\\",ESH:\\\"western.sahara\\\",YEM:\\\"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\\\\\\\bp\\\\\\\\.?d\\\\\\\\.?r).*yemen\\\",YMD:\\\"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\\\\\\\bp\\\\\\\\.?d\\\\\\\\.?r).*yemen\\\",YUG:\\\"yugoslavia\\\",ZMB:\\\"zambia|northern.?rhodesia\\\",EAZ:\\\"zanzibar\\\",ZWE:\\\"zimbabwe|^(?!.*northern).*rhodesia\\\"}},{}],137:[function(t,e,n){e.exports=[\\\"xx-small\\\",\\\"x-small\\\",\\\"small\\\",\\\"medium\\\",\\\"large\\\",\\\"x-large\\\",\\\"xx-large\\\",\\\"larger\\\",\\\"smaller\\\"]},{}],138:[function(t,e,n){e.exports=[\\\"normal\\\",\\\"condensed\\\",\\\"semi-condensed\\\",\\\"extra-condensed\\\",\\\"ultra-condensed\\\",\\\"expanded\\\",\\\"semi-expanded\\\",\\\"extra-expanded\\\",\\\"ultra-expanded\\\"]},{}],139:[function(t,e,n){e.exports=[\\\"normal\\\",\\\"italic\\\",\\\"oblique\\\"]},{}],140:[function(t,e,n){e.exports=[\\\"normal\\\",\\\"bold\\\",\\\"bolder\\\",\\\"lighter\\\",\\\"100\\\",\\\"200\\\",\\\"300\\\",\\\"400\\\",\\\"500\\\",\\\"600\\\",\\\"700\\\",\\\"800\\\",\\\"900\\\"]},{}],141:[function(t,e,n){\\\"use strict\\\";e.exports={parse:t(\\\"./parse\\\"),stringify:t(\\\"./stringify\\\")}},{\\\"./parse\\\":143,\\\"./stringify\\\":144}],142:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"css-font-size-keywords\\\");e.exports={isSize:function(t){return/^[\\\\d\\\\.]/.test(t)||-1!==t.indexOf(\\\"/\\\")||-1!==r.indexOf(t)}}},{\\\"css-font-size-keywords\\\":137}],143:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"unquote\\\"),i=t(\\\"css-global-keywords\\\"),o=t(\\\"css-system-font-keywords\\\"),a=t(\\\"css-font-weight-keywords\\\"),s=t(\\\"css-font-style-keywords\\\"),l=t(\\\"css-font-stretch-keywords\\\"),u=t(\\\"string-split-by\\\"),c=t(\\\"./lib/util\\\").isSize;e.exports=p;var h=p.cache={};function p(t){if(\\\"string\\\"!=typeof t)throw new Error(\\\"Font argument must be a string.\\\");if(h[t])return h[t];if(\\\"\\\"===t)throw new Error(\\\"Cannot parse an empty string.\\\");if(-1!==o.indexOf(t))return h[t]={system:t};for(var e,n={style:\\\"normal\\\",variant:\\\"normal\\\",weight:\\\"normal\\\",stretch:\\\"normal\\\",lineHeight:\\\"normal\\\",size:\\\"1rem\\\",family:[\\\"serif\\\"]},p=u(t,/\\\\s+/);e=p.shift();){if(-1!==i.indexOf(e))return[\\\"style\\\",\\\"variant\\\",\\\"weight\\\",\\\"stretch\\\"].forEach((function(t){n[t]=e})),h[t]=n;if(-1===s.indexOf(e))if(\\\"normal\\\"!==e&&\\\"small-caps\\\"!==e)if(-1===l.indexOf(e)){if(-1===a.indexOf(e)){if(c(e)){var d=u(e,\\\"/\\\");if(n.size=d[0],null!=d[1]?n.lineHeight=f(d[1]):\\\"/\\\"===p[0]&&(p.shift(),n.lineHeight=f(p.shift())),!p.length)throw new Error(\\\"Missing required font-family.\\\");return n.family=u(p.join(\\\" \\\"),/\\\\s*,\\\\s*/).map(r),h[t]=n}throw new Error(\\\"Unknown or unsupported font token: \\\"+e)}n.weight=e}else n.stretch=e;else n.variant=e;else n.style=e}throw new Error(\\\"Missing required font-size.\\\")}function f(t){var e=parseFloat(t);return e.toString()===t?e:t}},{\\\"./lib/util\\\":142,\\\"css-font-stretch-keywords\\\":138,\\\"css-font-style-keywords\\\":139,\\\"css-font-weight-keywords\\\":140,\\\"css-global-keywords\\\":145,\\\"css-system-font-keywords\\\":146,\\\"string-split-by\\\":520,unquote:550}],144:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"pick-by-alias\\\"),i=t(\\\"./lib/util\\\").isSize,o=m(t(\\\"css-global-keywords\\\")),a=m(t(\\\"css-system-font-keywords\\\")),s=m(t(\\\"css-font-weight-keywords\\\")),l=m(t(\\\"css-font-style-keywords\\\")),u=m(t(\\\"css-font-stretch-keywords\\\")),c={normal:1,\\\"small-caps\\\":1},h={serif:1,\\\"sans-serif\\\":1,monospace:1,cursive:1,fantasy:1,\\\"system-ui\\\":1},p=\\\"1rem\\\",f=\\\"serif\\\";function d(t,e){if(t&&!e[t]&&!o[t])throw Error(\\\"Unknown keyword `\\\"+t+\\\"`\\\");return t}function m(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=1;return e}e.exports=function(t){if((t=r(t,{style:\\\"style fontstyle fontStyle font-style slope distinction\\\",variant:\\\"variant font-variant fontVariant fontvariant var capitalization\\\",weight:\\\"weight w font-weight fontWeight fontweight\\\",stretch:\\\"stretch font-stretch fontStretch fontstretch width\\\",size:\\\"size s font-size fontSize fontsize height em emSize\\\",lineHeight:\\\"lh line-height lineHeight lineheight leading\\\",family:\\\"font family fontFamily font-family fontfamily type typeface face\\\",system:\\\"system reserved default global\\\"})).system)return t.system&&d(t.system,a),t.system;if(d(t.style,l),d(t.variant,c),d(t.weight,s),d(t.stretch,u),null==t.size&&(t.size=p),\\\"number\\\"==typeof t.size&&(t.size+=\\\"px\\\"),!i)throw Error(\\\"Bad size value `\\\"+t.size+\\\"`\\\");t.family||(t.family=f),Array.isArray(t.family)&&(t.family.length||(t.family=[f]),t.family=t.family.map((function(t){return h[t]?t:'\\\"'+t+'\\\"'})).join(\\\", \\\"));var e=[];return e.push(t.style),t.variant!==t.style&&e.push(t.variant),t.weight!==t.variant&&t.weight!==t.style&&e.push(t.weight),t.stretch!==t.weight&&t.stretch!==t.variant&&t.stretch!==t.style&&e.push(t.stretch),e.push(t.size+(null==t.lineHeight||\\\"normal\\\"===t.lineHeight||t.lineHeight+\\\"\\\"==\\\"1\\\"?\\\"\\\":\\\"/\\\"+t.lineHeight)),e.push(t.family),e.filter(Boolean).join(\\\" \\\")}},{\\\"./lib/util\\\":142,\\\"css-font-stretch-keywords\\\":138,\\\"css-font-style-keywords\\\":139,\\\"css-font-weight-keywords\\\":140,\\\"css-global-keywords\\\":145,\\\"css-system-font-keywords\\\":146,\\\"pick-by-alias\\\":463}],145:[function(t,e,n){e.exports=[\\\"inherit\\\",\\\"initial\\\",\\\"unset\\\"]},{}],146:[function(t,e,n){e.exports=[\\\"caption\\\",\\\"icon\\\",\\\"menu\\\",\\\"message-box\\\",\\\"small-caption\\\",\\\"status-bar\\\"]},{}],147:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i,o){var a=i-1,s=i*i,l=a*a,u=(1+2*i)*l,c=i*l,h=s*(3-2*i),p=s*a;if(t.length){o||(o=new Array(t.length));for(var f=t.length-1;f>=0;--f)o[f]=u*t[f]+c*e[f]+h*n[f]+p*r[f];return o}return u*t+c*e+h*n+p*r},e.exports.derivative=function(t,e,n,r,i,o){var a=6*i*i-6*i,s=3*i*i-4*i+1,l=-6*i*i+6*i,u=3*i*i-2*i;if(t.length){o||(o=new Array(t.length));for(var c=t.length-1;c>=0;--c)o[c]=a*t[c]+s*e[c]+l*n[c]+u*r[c];return o}return a*t+s*e+l*n[c]+u*r}},{}],148:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/thunk.js\\\");function i(){this.argTypes=[],this.shimArgs=[],this.arrayArgs=[],this.arrayBlockIndices=[],this.scalarArgs=[],this.offsetArgs=[],this.offsetArgIndex=[],this.indexArgs=[],this.shapeArgs=[],this.funcName=\\\"\\\",this.pre=null,this.body=null,this.post=null,this.debug=!1}e.exports=function(t){var e=new i;e.pre=t.pre,e.body=t.body,e.post=t.post;var n=t.args.slice(0);e.argTypes=n;for(var o=0;o<n.length;++o){var a=n[o];if(\\\"array\\\"===a||\\\"object\\\"==typeof a&&a.blockIndices){if(e.argTypes[o]=\\\"array\\\",e.arrayArgs.push(o),e.arrayBlockIndices.push(a.blockIndices?a.blockIndices:0),e.shimArgs.push(\\\"array\\\"+o),o<e.pre.args.length&&e.pre.args[o].count>0)throw new Error(\\\"cwise: pre() block may not reference array args\\\");if(o<e.post.args.length&&e.post.args[o].count>0)throw new Error(\\\"cwise: post() block may not reference array args\\\")}else if(\\\"scalar\\\"===a)e.scalarArgs.push(o),e.shimArgs.push(\\\"scalar\\\"+o);else if(\\\"index\\\"===a){if(e.indexArgs.push(o),o<e.pre.args.length&&e.pre.args[o].count>0)throw new Error(\\\"cwise: pre() block may not reference array index\\\");if(o<e.body.args.length&&e.body.args[o].lvalue)throw new Error(\\\"cwise: body() block may not write to array index\\\");if(o<e.post.args.length&&e.post.args[o].count>0)throw new Error(\\\"cwise: post() block may not reference array index\\\")}else if(\\\"shape\\\"===a){if(e.shapeArgs.push(o),o<e.pre.args.length&&e.pre.args[o].lvalue)throw new Error(\\\"cwise: pre() block may not write to array shape\\\");if(o<e.body.args.length&&e.body.args[o].lvalue)throw new Error(\\\"cwise: body() block may not write to array shape\\\");if(o<e.post.args.length&&e.post.args[o].lvalue)throw new Error(\\\"cwise: post() block may not write to array shape\\\")}else{if(\\\"object\\\"!=typeof a||!a.offset)throw new Error(\\\"cwise: Unknown argument type \\\"+n[o]);e.argTypes[o]=\\\"offset\\\",e.offsetArgs.push({array:a.array,offset:a.offset}),e.offsetArgIndex.push(o)}}if(e.arrayArgs.length<=0)throw new Error(\\\"cwise: No array arguments specified\\\");if(e.pre.args.length>n.length)throw new Error(\\\"cwise: Too many arguments in pre() block\\\");if(e.body.args.length>n.length)throw new Error(\\\"cwise: Too many arguments in body() block\\\");if(e.post.args.length>n.length)throw new Error(\\\"cwise: Too many arguments in post() block\\\");return e.debug=!!t.printCode||!!t.debug,e.funcName=t.funcName||\\\"cwise\\\",e.blockSize=t.blockSize||64,r(e)}},{\\\"./lib/thunk.js\\\":150}],149:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"uniq\\\");function i(t,e,n){var r,i,o=t.length,a=e.arrayArgs.length,s=e.indexArgs.length>0,l=[],u=[],c=0,h=0;for(r=0;r<o;++r)u.push([\\\"i\\\",r,\\\"=0\\\"].join(\\\"\\\"));for(i=0;i<a;++i)for(r=0;r<o;++r)h=c,c=t[r],0===r?u.push([\\\"d\\\",i,\\\"s\\\",r,\\\"=t\\\",i,\\\"p\\\",c].join(\\\"\\\")):u.push([\\\"d\\\",i,\\\"s\\\",r,\\\"=(t\\\",i,\\\"p\\\",c,\\\"-s\\\",h,\\\"*t\\\",i,\\\"p\\\",h,\\\")\\\"].join(\\\"\\\"));for(u.length>0&&l.push(\\\"var \\\"+u.join(\\\",\\\")),r=o-1;r>=0;--r)c=t[r],l.push([\\\"for(i\\\",r,\\\"=0;i\\\",r,\\\"<s\\\",c,\\\";++i\\\",r,\\\"){\\\"].join(\\\"\\\"));for(l.push(n),r=0;r<o;++r){for(h=c,c=t[r],i=0;i<a;++i)l.push([\\\"p\\\",i,\\\"+=d\\\",i,\\\"s\\\",r].join(\\\"\\\"));s&&(r>0&&l.push([\\\"index[\\\",h,\\\"]-=s\\\",h].join(\\\"\\\")),l.push([\\\"++index[\\\",c,\\\"]\\\"].join(\\\"\\\"))),l.push(\\\"}\\\")}return l.join(\\\"\\\\n\\\")}function o(t,e,n){for(var r=t.body,i=[],o=[],a=0;a<t.args.length;++a){var s=t.args[a];if(!(s.count<=0)){var l=new RegExp(s.name,\\\"g\\\"),u=\\\"\\\",c=e.arrayArgs.indexOf(a);switch(e.argTypes[a]){case\\\"offset\\\":var h=e.offsetArgIndex.indexOf(a);c=e.offsetArgs[h].array,u=\\\"+q\\\"+h;case\\\"array\\\":u=\\\"p\\\"+c+u;var p=\\\"l\\\"+a,f=\\\"a\\\"+c;if(0===e.arrayBlockIndices[c])1===s.count?\\\"generic\\\"===n[c]?s.lvalue?(i.push([\\\"var \\\",p,\\\"=\\\",f,\\\".get(\\\",u,\\\")\\\"].join(\\\"\\\")),r=r.replace(l,p),o.push([f,\\\".set(\\\",u,\\\",\\\",p,\\\")\\\"].join(\\\"\\\"))):r=r.replace(l,[f,\\\".get(\\\",u,\\\")\\\"].join(\\\"\\\")):r=r.replace(l,[f,\\\"[\\\",u,\\\"]\\\"].join(\\\"\\\")):\\\"generic\\\"===n[c]?(i.push([\\\"var \\\",p,\\\"=\\\",f,\\\".get(\\\",u,\\\")\\\"].join(\\\"\\\")),r=r.replace(l,p),s.lvalue&&o.push([f,\\\".set(\\\",u,\\\",\\\",p,\\\")\\\"].join(\\\"\\\"))):(i.push([\\\"var \\\",p,\\\"=\\\",f,\\\"[\\\",u,\\\"]\\\"].join(\\\"\\\")),r=r.replace(l,p),s.lvalue&&o.push([f,\\\"[\\\",u,\\\"]=\\\",p].join(\\\"\\\")));else{for(var d=[s.name],m=[u],v=0;v<Math.abs(e.arrayBlockIndices[c]);v++)d.push(\\\"\\\\\\\\s*\\\\\\\\[([^\\\\\\\\]]+)\\\\\\\\]\\\"),m.push(\\\"$\\\"+(v+1)+\\\"*t\\\"+c+\\\"b\\\"+v);if(l=new RegExp(d.join(\\\"\\\"),\\\"g\\\"),u=m.join(\\\"+\\\"),\\\"generic\\\"===n[c])throw new Error(\\\"cwise: Generic arrays not supported in combination with blocks!\\\");r=r.replace(l,[f,\\\"[\\\",u,\\\"]\\\"].join(\\\"\\\"))}break;case\\\"scalar\\\":r=r.replace(l,\\\"Y\\\"+e.scalarArgs.indexOf(a));break;case\\\"index\\\":r=r.replace(l,\\\"index\\\");break;case\\\"shape\\\":r=r.replace(l,\\\"shape\\\")}}}return[i.join(\\\"\\\\n\\\"),r,o.join(\\\"\\\\n\\\")].join(\\\"\\\\n\\\").trim()}function a(t){for(var e=new Array(t.length),n=!0,r=0;r<t.length;++r){var i=t[r],o=i.match(/\\\\d+/);o=o?o[0]:\\\"\\\",0===i.charAt(0)?e[r]=\\\"u\\\"+i.charAt(1)+o:e[r]=i.charAt(0)+o,r>0&&(n=n&&e[r]===e[r-1])}return n?e[0]:e.join(\\\"\\\")}e.exports=function(t,e){for(var n=e[1].length-Math.abs(t.arrayBlockIndices[0])|0,s=new Array(t.arrayArgs.length),l=new Array(t.arrayArgs.length),u=0;u<t.arrayArgs.length;++u)l[u]=e[2*u],s[u]=e[2*u+1];var c=[],h=[],p=[],f=[],d=[];for(u=0;u<t.arrayArgs.length;++u){t.arrayBlockIndices[u]<0?(p.push(0),f.push(n),c.push(n),h.push(n+t.arrayBlockIndices[u])):(p.push(t.arrayBlockIndices[u]),f.push(t.arrayBlockIndices[u]+n),c.push(0),h.push(t.arrayBlockIndices[u]));for(var m=[],v=0;v<s[u].length;v++)p[u]<=s[u][v]&&s[u][v]<f[u]&&m.push(s[u][v]-p[u]);d.push(m)}var g=[\\\"SS\\\"],y=[\\\"'use strict'\\\"],_=[];for(v=0;v<n;++v)_.push([\\\"s\\\",v,\\\"=SS[\\\",v,\\\"]\\\"].join(\\\"\\\"));for(u=0;u<t.arrayArgs.length;++u){for(g.push(\\\"a\\\"+u),g.push(\\\"t\\\"+u),g.push(\\\"p\\\"+u),v=0;v<n;++v)_.push([\\\"t\\\",u,\\\"p\\\",v,\\\"=t\\\",u,\\\"[\\\",p[u]+v,\\\"]\\\"].join(\\\"\\\"));for(v=0;v<Math.abs(t.arrayBlockIndices[u]);++v)_.push([\\\"t\\\",u,\\\"b\\\",v,\\\"=t\\\",u,\\\"[\\\",c[u]+v,\\\"]\\\"].join(\\\"\\\"))}for(u=0;u<t.scalarArgs.length;++u)g.push(\\\"Y\\\"+u);if(t.shapeArgs.length>0&&_.push(\\\"shape=SS.slice(0)\\\"),t.indexArgs.length>0){var b=new Array(n);for(u=0;u<n;++u)b[u]=\\\"0\\\";_.push([\\\"index=[\\\",b.join(\\\",\\\"),\\\"]\\\"].join(\\\"\\\"))}for(u=0;u<t.offsetArgs.length;++u){var x=t.offsetArgs[u],w=[];for(v=0;v<x.offset.length;++v)0!==x.offset[v]&&(1===x.offset[v]?w.push([\\\"t\\\",x.array,\\\"p\\\",v].join(\\\"\\\")):w.push([x.offset[v],\\\"*t\\\",x.array,\\\"p\\\",v].join(\\\"\\\")));0===w.length?_.push(\\\"q\\\"+u+\\\"=0\\\"):_.push([\\\"q\\\",u,\\\"=\\\",w.join(\\\"+\\\")].join(\\\"\\\"))}var A=r([].concat(t.pre.thisVars).concat(t.body.thisVars).concat(t.post.thisVars));for((_=_.concat(A)).length>0&&y.push(\\\"var \\\"+_.join(\\\",\\\")),u=0;u<t.arrayArgs.length;++u)y.push(\\\"p\\\"+u+\\\"|=0\\\");t.pre.body.length>3&&y.push(o(t.pre,t,l));var C=o(t.body,t,l),M=function(t){for(var e=0,n=t[0].length;e<n;){for(var r=1;r<t.length;++r)if(t[r][e]!==t[0][e])return e;++e}return e}(d);M<n?y.push(function(t,e,n,r){for(var o=e.length,a=n.arrayArgs.length,s=n.blockSize,l=n.indexArgs.length>0,u=[],c=0;c<a;++c)u.push([\\\"var offset\\\",c,\\\"=p\\\",c].join(\\\"\\\"));for(c=t;c<o;++c)u.push([\\\"for(var j\\\"+c+\\\"=SS[\\\",e[c],\\\"]|0;j\\\",c,\\\">0;){\\\"].join(\\\"\\\")),u.push([\\\"if(j\\\",c,\\\"<\\\",s,\\\"){\\\"].join(\\\"\\\")),u.push([\\\"s\\\",e[c],\\\"=j\\\",c].join(\\\"\\\")),u.push([\\\"j\\\",c,\\\"=0\\\"].join(\\\"\\\")),u.push([\\\"}else{s\\\",e[c],\\\"=\\\",s].join(\\\"\\\")),u.push([\\\"j\\\",c,\\\"-=\\\",s,\\\"}\\\"].join(\\\"\\\")),l&&u.push([\\\"index[\\\",e[c],\\\"]=j\\\",c].join(\\\"\\\"));for(c=0;c<a;++c){for(var h=[\\\"offset\\\"+c],p=t;p<o;++p)h.push([\\\"j\\\",p,\\\"*t\\\",c,\\\"p\\\",e[p]].join(\\\"\\\"));u.push([\\\"p\\\",c,\\\"=(\\\",h.join(\\\"+\\\"),\\\")\\\"].join(\\\"\\\"))}for(u.push(i(e,n,r)),c=t;c<o;++c)u.push(\\\"}\\\");return u.join(\\\"\\\\n\\\")}(M,d[0],t,C)):y.push(i(d[0],t,C)),t.post.body.length>3&&y.push(o(t.post,t,l)),t.debug&&console.log(\\\"-----Generated cwise routine for \\\",e,\\\":\\\\n\\\"+y.join(\\\"\\\\n\\\")+\\\"\\\\n----------\\\");var E=[t.funcName||\\\"unnamed\\\",\\\"_cwise_loop_\\\",s[0].join(\\\"s\\\"),\\\"m\\\",M,a(l)].join(\\\"\\\");return new Function([\\\"function \\\",E,\\\"(\\\",g.join(\\\",\\\"),\\\"){\\\",y.join(\\\"\\\\n\\\"),\\\"} return \\\",E].join(\\\"\\\"))()}},{uniq:549}],150:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./compile.js\\\");e.exports=function(t){var e=[\\\"'use strict'\\\",\\\"var CACHED={}\\\"],n=[],i=t.funcName+\\\"_cwise_thunk\\\";e.push([\\\"return function \\\",i,\\\"(\\\",t.shimArgs.join(\\\",\\\"),\\\"){\\\"].join(\\\"\\\"));for(var o=[],a=[],s=[[\\\"array\\\",t.arrayArgs[0],\\\".shape.slice(\\\",Math.max(0,t.arrayBlockIndices[0]),t.arrayBlockIndices[0]<0?\\\",\\\"+t.arrayBlockIndices[0]+\\\")\\\":\\\")\\\"].join(\\\"\\\")],l=[],u=[],c=0;c<t.arrayArgs.length;++c){var h=t.arrayArgs[c];n.push([\\\"t\\\",h,\\\"=array\\\",h,\\\".dtype,\\\",\\\"r\\\",h,\\\"=array\\\",h,\\\".order\\\"].join(\\\"\\\")),o.push(\\\"t\\\"+h),o.push(\\\"r\\\"+h),a.push(\\\"t\\\"+h),a.push(\\\"r\\\"+h+\\\".join()\\\"),s.push(\\\"array\\\"+h+\\\".data\\\"),s.push(\\\"array\\\"+h+\\\".stride\\\"),s.push(\\\"array\\\"+h+\\\".offset|0\\\"),c>0&&(l.push(\\\"array\\\"+t.arrayArgs[0]+\\\".shape.length===array\\\"+h+\\\".shape.length+\\\"+(Math.abs(t.arrayBlockIndices[0])-Math.abs(t.arrayBlockIndices[c]))),u.push(\\\"array\\\"+t.arrayArgs[0]+\\\".shape[shapeIndex+\\\"+Math.max(0,t.arrayBlockIndices[0])+\\\"]===array\\\"+h+\\\".shape[shapeIndex+\\\"+Math.max(0,t.arrayBlockIndices[c])+\\\"]\\\"))}for(t.arrayArgs.length>1&&(e.push(\\\"if (!(\\\"+l.join(\\\" && \\\")+\\\")) throw new Error('cwise: Arrays do not all have the same dimensionality!')\\\"),e.push(\\\"for(var shapeIndex=array\\\"+t.arrayArgs[0]+\\\".shape.length-\\\"+Math.abs(t.arrayBlockIndices[0])+\\\"; shapeIndex--\\\\x3e0;) {\\\"),e.push(\\\"if (!(\\\"+u.join(\\\" && \\\")+\\\")) throw new Error('cwise: Arrays do not all have the same shape!')\\\"),e.push(\\\"}\\\")),c=0;c<t.scalarArgs.length;++c)s.push(\\\"scalar\\\"+t.scalarArgs[c]);return n.push([\\\"type=[\\\",a.join(\\\",\\\"),\\\"].join()\\\"].join(\\\"\\\")),n.push(\\\"proc=CACHED[type]\\\"),e.push(\\\"var \\\"+n.join(\\\",\\\")),e.push([\\\"if(!proc){\\\",\\\"CACHED[type]=proc=compile([\\\",o.join(\\\",\\\"),\\\"])}\\\",\\\"return proc(\\\",s.join(\\\",\\\"),\\\")}\\\"].join(\\\"\\\")),t.debug&&console.log(\\\"-----Generated thunk:\\\\n\\\"+e.join(\\\"\\\\n\\\")+\\\"\\\\n----------\\\"),new Function(\\\"compile\\\",e.join(\\\"\\\\n\\\"))(r.bind(void 0,t))}},{\\\"./compile.js\\\":149}],151:[function(t,e,n){\\\"use strict\\\";var r,i=t(\\\"type/value/is\\\"),o=t(\\\"type/value/ensure\\\"),a=t(\\\"type/plain-function/ensure\\\"),s=t(\\\"es5-ext/object/copy\\\"),l=t(\\\"es5-ext/object/normalize-options\\\"),u=t(\\\"es5-ext/object/map\\\"),c=Function.prototype.bind,h=Object.defineProperty,p=Object.prototype.hasOwnProperty;r=function(t,e,n){var r,i=o(e)&&a(e.value);return delete(r=s(e)).writable,delete r.value,r.get=function(){return!n.overwriteDefinition&&p.call(this,t)?i:(e.value=c.call(i,n.resolveContext?n.resolveContext(this):this),h(this,t,e),this[t])},r},e.exports=function(t){var e=l(arguments[1]);return i(e.resolveContext)&&a(e.resolveContext),u(t,(function(t,n){return r(n,t,e)}))}},{\\\"es5-ext/object/copy\\\":191,\\\"es5-ext/object/map\\\":199,\\\"es5-ext/object/normalize-options\\\":200,\\\"type/plain-function/ensure\\\":541,\\\"type/value/ensure\\\":545,\\\"type/value/is\\\":546}],152:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"type/value/is\\\"),i=t(\\\"type/plain-function/is\\\"),o=t(\\\"es5-ext/object/assign\\\"),a=t(\\\"es5-ext/object/normalize-options\\\"),s=t(\\\"es5-ext/string/#/contains\\\"),l=e.exports=function(t,e){var n,i,l,u,c;return arguments.length<2||\\\"string\\\"!=typeof t?(u=e,e=t,t=null):u=arguments[2],r(t)?(n=s.call(t,\\\"c\\\"),i=s.call(t,\\\"e\\\"),l=s.call(t,\\\"w\\\")):(n=l=!0,i=!1),c={value:e,configurable:n,enumerable:i,writable:l},u?o(a(u),c):c};l.gs=function(t,e,n){var l,u,c,h;return\\\"string\\\"!=typeof t?(c=n,n=e,e=t,t=null):c=arguments[3],r(e)?i(e)?r(n)?i(n)||(c=n,n=void 0):n=void 0:(c=e,e=n=void 0):e=void 0,r(t)?(l=s.call(t,\\\"c\\\"),u=s.call(t,\\\"e\\\")):(l=!0,u=!1),h={get:e,set:n,configurable:l,enumerable:u},c?o(a(c),h):h}},{\\\"es5-ext/object/assign\\\":188,\\\"es5-ext/object/normalize-options\\\":200,\\\"es5-ext/string/#/contains\\\":207,\\\"type/plain-function/is\\\":542,\\\"type/value/is\\\":546}],153:[function(t,e,n){var r;r=function(t){\\\"use strict\\\";function e(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function n(t){return 1===t.length&&(n=t,t=function(t,r){return e(n(t),r)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}};var n}var r=n(e),i=r.right,o=r.left;function a(t,e){return[t,e]}function s(t){return null===t?NaN:+t}function l(t,e){var n,r,i=t.length,o=0,a=-1,l=0,u=0;if(null==e)for(;++a<i;)isNaN(n=s(t[a]))||(u+=(r=n-l)*(n-(l+=r/++o)));else for(;++a<i;)isNaN(n=s(e(t[a],a,t)))||(u+=(r=n-l)*(n-(l+=r/++o)));if(o>1)return u/(o-1)}function u(t,e){var n=l(t,e);return n?Math.sqrt(n):n}function c(t,e){var n,r,i,o=t.length,a=-1;if(null==e){for(;++a<o;)if(null!=(n=t[a])&&n>=n)for(r=i=n;++a<o;)null!=(n=t[a])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++a<o;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=i=n;++a<o;)null!=(n=e(t[a],a,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var h=Array.prototype,p=h.slice,f=h.map;function d(t){return function(){return t}}function m(t){return t}function v(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}var g=Math.sqrt(50),y=Math.sqrt(10),_=Math.sqrt(2);function b(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=g?10:o>=y?5:o>=_?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=g?10:o>=y?5:o>=_?2:1)}function x(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=g?i*=10:o>=y?i*=5:o>=_&&(i*=2),e<t?-i:i}function w(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function A(t,e,n){if(null==n&&(n=s),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function C(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&r>n&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&r>n&&(r=n);return r}function M(t){if(!(i=t.length))return[];for(var e=-1,n=C(t,E),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r}function E(t){return t.length}t.bisect=i,t.bisectRight=i,t.bisectLeft=o,t.ascending=e,t.bisector=n,t.cross=function(t,e,n){var r,i,o,s,l=t.length,u=e.length,c=new Array(l*u);for(null==n&&(n=a),r=o=0;r<l;++r)for(s=t[r],i=0;i<u;++i,++o)c[o]=n(s,e[i]);return c},t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.deviation=u,t.extent=c,t.histogram=function(){var t=m,e=c,n=w;function r(r){var o,a,s=r.length,l=new Array(s);for(o=0;o<s;++o)l[o]=t(r[o],o,r);var u=e(l),c=u[0],h=u[1],p=n(l,c,h);Array.isArray(p)||(p=x(c,h,p),p=v(Math.ceil(c/p)*p,h,p));for(var f=p.length;p[0]<=c;)p.shift(),--f;for(;p[f-1]>h;)p.pop(),--f;var d,m=new Array(f+1);for(o=0;o<=f;++o)(d=m[o]=[]).x0=o>0?p[o-1]:c,d.x1=o<f?p[o]:h;for(o=0;o<s;++o)c<=(a=l[o])&&a<=h&&m[i(p,a,0,f)].push(r[o]);return m}return r.value=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:d(e),r):t},r.domain=function(t){return arguments.length?(e=\\\"function\\\"==typeof t?t:d([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n=\\\"function\\\"==typeof t?t:Array.isArray(t)?d(p.call(t)):d(t),r):n},r},t.thresholdFreedmanDiaconis=function(t,n,r){return t=f.call(t,s).sort(e),Math.ceil((r-n)/(2*(A(t,.75)-A(t,.25))*Math.pow(t.length,-1/3)))},t.thresholdScott=function(t,e,n){return Math.ceil((n-e)/(3.5*u(t)*Math.pow(t.length,-1/3)))},t.thresholdSturges=w,t.max=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&n>r&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&n>r&&(r=n);return r},t.mean=function(t,e){var n,r=t.length,i=r,o=-1,a=0;if(null==e)for(;++o<r;)isNaN(n=s(t[o]))?--i:a+=n;else for(;++o<r;)isNaN(n=s(e(t[o],o,t)))?--i:a+=n;if(i)return a/i},t.median=function(t,n){var r,i=t.length,o=-1,a=[];if(null==n)for(;++o<i;)isNaN(r=s(t[o]))||a.push(r);else for(;++o<i;)isNaN(r=s(n(t[o],o,t)))||a.push(r);return A(a.sort(e),.5)},t.merge=function(t){for(var e,n,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(n=new Array(a);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--a]=r[e];return n},t.min=C,t.pairs=function(t,e){null==e&&(e=a);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return o},t.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},t.quantile=A,t.range=v,t.scan=function(t,n){if(r=t.length){var r,i,o=0,a=0,s=t[a];for(null==n&&(n=e);++o<r;)(n(i=t[o],s)<0||0!==n(s,s))&&(s=i,a=o);return 0===n(s,s)?a:void 0}},t.shuffle=function(t,e,n){for(var r,i,o=(null==n?t.length:n)-(e=null==e?0:+e);o;)i=Math.random()*o--|0,r=t[o+e],t[o+e]=t[i+e],t[i+e]=r;return t},t.sum=function(t,e){var n,r=t.length,i=-1,o=0;if(null==e)for(;++i<r;)(n=+t[i])&&(o+=n);else for(;++i<r;)(n=+e(t[i],i,t))&&(o+=n);return o},t.ticks=function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=b(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));++s<i;)o[s]=(t-s)/a;return r&&o.reverse(),o},t.tickIncrement=b,t.tickStep=x,t.transpose=M,t.variance=l,t.zip=function(){return M(arguments)},Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},r(\\\"object\\\"==typeof n&&void 0!==e?n:this.d3=this.d3||{})},{}],154:[function(t,e,n){var r;r=function(t){\\\"use strict\\\";var e=\\\"$\\\";function n(){}function r(t,e){var r=new n;if(t instanceof n)t.each((function(t,e){r.set(e,t)}));else if(Array.isArray(t)){var i,o=-1,a=t.length;if(null==e)for(;++o<a;)r.set(o,t[o]);else for(;++o<a;)r.set(e(i=t[o],o,t),i)}else if(t)for(var s in t)r.set(s,t[s]);return r}function i(){return{}}function o(t,e,n){t[e]=n}function a(){return r()}function s(t,e,n){t.set(e,n)}function l(){}n.prototype=r.prototype={constructor:n,has:function(t){return e+t in this},get:function(t){return this[e+t]},set:function(t,n){return this[e+t]=n,this},remove:function(t){var n=e+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===e&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===e&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===e&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===e&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===e&&++t;return t},empty:function(){for(var t in this)if(t[0]===e)return!1;return!0},each:function(t){for(var n in this)n[0]===e&&t(this[n],n.slice(1),this)}};var u=r.prototype;function c(t,e){var n=new l;if(t instanceof l)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}l.prototype=c.prototype={constructor:l,has:u.has,add:function(t){return this[e+(t+=\\\"\\\")]=t,this},remove:u.remove,clear:u.clear,values:u.keys,size:u.size,empty:u.empty,each:u.each},t.nest=function(){var t,e,n,l=[],u=[];function c(n,i,o,a){if(i>=l.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var s,u,h,p=-1,f=n.length,d=l[i++],m=r(),v=o();++p<f;)(h=m.get(s=d(u=n[p])+\\\"\\\"))?h.push(u):m.set(s,[u]);return m.each((function(t,e){a(v,e,c(t,i,o,a))})),v}function h(t,n){if(++n>l.length)return t;var r,i=u[n-1];return null!=e&&n>=l.length?r=t.entries():(r=[],t.each((function(t,e){r.push({key:e,values:h(t,n)})}))),null!=i?r.sort((function(t,e){return i(t.key,e.key)})):r}return n={object:function(t){return c(t,0,i,o)},map:function(t){return c(t,0,a,s)},entries:function(t){return h(c(t,0,a,s),0)},key:function(t){return l.push(t),n},sortKeys:function(t){return u[l.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}},t.set=c,t.map=r,t.keys=function(t){var e=[];for(var n in t)e.push(n);return e},t.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},t.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},r(\\\"object\\\"==typeof n&&void 0!==e?n:this.d3=this.d3||{})},{}],155:[function(t,e,n){var r,i;r=this,i=function(t){\\\"use strict\\\";function e(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function n(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function r(){}var i=.7,o=1/i,a=\\\"\\\\\\\\s*([+-]?\\\\\\\\d+)\\\\\\\\s*\\\",s=\\\"\\\\\\\\s*([+-]?\\\\\\\\d*\\\\\\\\.?\\\\\\\\d+(?:[eE][+-]?\\\\\\\\d+)?)\\\\\\\\s*\\\",l=\\\"\\\\\\\\s*([+-]?\\\\\\\\d*\\\\\\\\.?\\\\\\\\d+(?:[eE][+-]?\\\\\\\\d+)?)%\\\\\\\\s*\\\",u=/^#([0-9a-f]{3,8})$/,c=new RegExp(\\\"^rgb\\\\\\\\(\\\"+[a,a,a]+\\\"\\\\\\\\)$\\\"),h=new RegExp(\\\"^rgb\\\\\\\\(\\\"+[l,l,l]+\\\"\\\\\\\\)$\\\"),p=new RegExp(\\\"^rgba\\\\\\\\(\\\"+[a,a,a,s]+\\\"\\\\\\\\)$\\\"),f=new RegExp(\\\"^rgba\\\\\\\\(\\\"+[l,l,l,s]+\\\"\\\\\\\\)$\\\"),d=new RegExp(\\\"^hsl\\\\\\\\(\\\"+[s,l,l]+\\\"\\\\\\\\)$\\\"),m=new RegExp(\\\"^hsla\\\\\\\\(\\\"+[s,l,l,s]+\\\"\\\\\\\\)$\\\"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function g(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function _(t){var e,n;return t=(t+\\\"\\\").trim().toLowerCase(),(e=u.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?b(e):3===n?new C(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=c.exec(t))?new C(e[1],e[2],e[3],1):(e=h.exec(t))?new C(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=p.exec(t))?x(e[1],e[2],e[3],e[4]):(e=f.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=d.exec(t))?S(e[1],e[2]/100,e[3]/100,1):(e=m.exec(t))?S(e[1],e[2]/100,e[3]/100,e[4]):v.hasOwnProperty(t)?b(v[t]):\\\"transparent\\\"===t?new C(NaN,NaN,NaN,0):null}function b(t){return new C(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new C(t,e,n,r)}function w(t){return t instanceof r||(t=_(t)),t?new C((t=t.rgb()).r,t.g,t.b,t.opacity):new C}function A(t,e,n,r){return 1===arguments.length?w(t):new C(t,e,n,null==r?1:r)}function C(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function M(){return\\\"#\\\"+T(this.r)+T(this.g)+T(this.b)}function E(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?\\\"rgb(\\\":\\\"rgba(\\\")+Math.max(0,Math.min(255,Math.round(this.r)||0))+\\\", \\\"+Math.max(0,Math.min(255,Math.round(this.g)||0))+\\\", \\\"+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?\\\")\\\":\\\", \\\"+t+\\\")\\\")}function T(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?\\\"0\\\":\\\"\\\")+t.toString(16)}function S(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new I(t,e,n,r)}function k(t){if(t instanceof I)return new I(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=_(t)),!t)return new I;if(t instanceof I)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,o=Math.min(e,n,i),a=Math.max(e,n,i),s=NaN,l=a-o,u=(a+o)/2;return l?(s=e===a?(n-i)/l+6*(n<i):n===a?(i-e)/l+2:(e-n)/l+4,l/=u<.5?a+o:2-a-o,s*=60):l=u>0&&u<1?0:s,new I(s,l,u,t.opacity)}function O(t,e,n,r){return 1===arguments.length?k(t):new I(t,e,n,null==r?1:r)}function I(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function L(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}e(r,_,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:g,formatHex:g,formatHsl:function(){return k(this).formatHsl()},formatRgb:y,toString:y}),e(C,A,n(r,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new C(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new C(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:M,formatHex:M,formatRgb:E,toString:E})),e(I,O,n(r,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new I(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new I(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new C(L(t>=240?t-240:t+120,i,r),L(t,i,r),L(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?\\\"hsl(\\\":\\\"hsla(\\\")+(this.h||0)+\\\", \\\"+100*(this.s||0)+\\\"%, \\\"+100*(this.l||0)+\\\"%\\\"+(1===t?\\\")\\\":\\\", \\\"+t+\\\")\\\")}}));var P=Math.PI/180,z=180/Math.PI,R=.96422,D=.82521,$=4/29,B=6/29,N=3*B*B;function F(t){if(t instanceof U)return new U(t.l,t.a,t.b,t.opacity);if(t instanceof Y)return Z(t);t instanceof C||(t=w(t));var e,n,r=G(t.r),i=G(t.g),o=G(t.b),a=q((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=q((.4360747*r+.3850649*i+.1430804*o)/R),n=q((.0139322*r+.0971045*i+.7141733*o)/D)),new U(116*a-16,500*(e-a),200*(a-n),t.opacity)}function j(t,e,n,r){return 1===arguments.length?F(t):new U(t,e,n,null==r?1:r)}function U(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function q(t){return t>.008856451679035631?Math.pow(t,1/3):t/N+$}function V(t){return t>B?t*t*t:N*(t-$)}function H(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function G(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function W(t){if(t instanceof Y)return new Y(t.h,t.c,t.l,t.opacity);if(t instanceof U||(t=F(t)),0===t.a&&0===t.b)return new Y(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*z;return new Y(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function X(t,e,n,r){return 1===arguments.length?W(t):new Y(t,e,n,null==r?1:r)}function Y(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function Z(t){if(isNaN(t.h))return new U(t.l,0,0,t.opacity);var e=t.h*P;return new U(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}e(U,j,n(r,{brighter:function(t){return new U(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new U(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new C(H(3.1338561*(e=R*V(e))-1.6168667*(t=1*V(t))-.4906146*(n=D*V(n))),H(-.9787684*e+1.9161415*t+.033454*n),H(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),e(Y,X,n(r,{brighter:function(t){return new Y(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new Y(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return Z(this).rgb()}}));var K=-.14861,J=1.78277,Q=-.29227,tt=-.90649,et=1.97294,nt=et*tt,rt=et*J,it=J*Q-tt*K;function ot(t){if(t instanceof st)return new st(t.h,t.s,t.l,t.opacity);t instanceof C||(t=w(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(it*r+nt*e-rt*n)/(it+nt-rt),o=r-i,a=(et*(n-i)-Q*o)/tt,s=Math.sqrt(a*a+o*o)/(et*i*(1-i)),l=s?Math.atan2(a,o)*z-120:NaN;return new st(l<0?l+360:l,s,i,t.opacity)}function at(t,e,n,r){return 1===arguments.length?ot(t):new st(t,e,n,null==r?1:r)}function st(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}e(st,at,n(r,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new st(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new st(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*P,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new C(255*(e+n*(K*r+J*i)),255*(e+n*(Q*r+tt*i)),255*(e+n*(et*r)),this.opacity)}})),t.color=_,t.cubehelix=at,t.gray=function(t,e){return new U(t,0,0,null==e?1:e)},t.hcl=X,t.hsl=O,t.lab=j,t.lch=function(t,e,n,r){return 1===arguments.length?W(t):new Y(n,e,t,null==r?1:r)},t.rgb=A,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},i(\\\"object\\\"==typeof n&&void 0!==e?n:(r=r||self).d3=r.d3||{})},{}],156:[function(t,e,n){var r,i;r=this,i=function(t){\\\"use strict\\\";var e={value:function(){}};function n(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+\\\"\\\")||t in i||/[\\\\s.]/.test(t))throw new Error(\\\"illegal type: \\\"+t);i[t]=[]}return new r(i)}function r(t){this._=t}function i(t,e){return t.trim().split(/^|\\\\s+/).map((function(t){var n=\\\"\\\",r=t.indexOf(\\\".\\\");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error(\\\"unknown type: \\\"+t);return{type:t,name:n}}))}function o(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function a(t,n,r){for(var i=0,o=t.length;i<o;++i)if(t[i].name===n){t[i]=e,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=r&&t.push({name:n,value:r}),t}r.prototype=n.prototype={constructor:r,on:function(t,e){var n,r=this._,s=i(t+\\\"\\\",r),l=-1,u=s.length;if(!(arguments.length<2)){if(null!=e&&\\\"function\\\"!=typeof e)throw new Error(\\\"invalid callback: \\\"+e);for(;++l<u;)if(n=(t=s[l]).type)r[n]=a(r[n],t.name,e);else if(null==e)for(n in r)r[n]=a(r[n],t.name,null);return this}for(;++l<u;)if((n=(t=s[l]).type)&&(n=o(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new r(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error(\\\"unknown type: \\\"+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error(\\\"unknown type: \\\"+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}},t.dispatch=n,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},i(\\\"object\\\"==typeof n&&void 0!==e?n:(r=r||self).d3=r.d3||{})},{}],157:[function(t,e,n){var r,i;r=this,i=function(t,e,n,r,i){\\\"use strict\\\";function o(t){return function(){return t}}function a(){return 1e-6*(Math.random()-.5)}function s(t){return t.x+t.vx}function l(t){return t.y+t.vy}function u(t){return t.index}function c(t,e){var n=t.get(e);if(!n)throw new Error(\\\"missing: \\\"+e);return n}function h(t){return t.x}function p(t){return t.y}var f=Math.PI*(3-Math.sqrt(5));t.forceCenter=function(t,e){var n;function r(){var r,i,o=n.length,a=0,s=0;for(r=0;r<o;++r)a+=(i=n[r]).x,s+=i.y;for(a=a/o-t,s=s/o-e,r=0;r<o;++r)(i=n[r]).x-=a,i.y-=s}return null==t&&(t=0),null==e&&(e=0),r.initialize=function(t){n=t},r.x=function(e){return arguments.length?(t=+e,r):t},r.y=function(t){return arguments.length?(e=+t,r):e},r},t.forceCollide=function(t){var n,r,i=1,u=1;function c(){for(var t,o,c,p,f,d,m,v=n.length,g=0;g<u;++g)for(o=e.quadtree(n,s,l).visitAfter(h),t=0;t<v;++t)c=n[t],d=r[c.index],m=d*d,p=c.x+c.vx,f=c.y+c.vy,o.visit(y);function y(t,e,n,r,o){var s=t.data,l=t.r,u=d+l;if(!s)return e>p+u||r<p-u||n>f+u||o<f-u;if(s.index>c.index){var h=p-s.x-s.vx,v=f-s.y-s.vy,g=h*h+v*v;g<u*u&&(0===h&&(g+=(h=a())*h),0===v&&(g+=(v=a())*v),g=(u-(g=Math.sqrt(g)))/g*i,c.vx+=(h*=g)*(u=(l*=l)/(m+l)),c.vy+=(v*=g)*u,s.vx-=h*(u=1-u),s.vy-=v*u)}}}function h(t){if(t.data)return t.r=r[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function p(){if(n){var e,i,o=n.length;for(r=new Array(o),e=0;e<o;++e)i=n[e],r[i.index]=+t(i,e,n)}}return\\\"function\\\"!=typeof t&&(t=o(null==t?1:+t)),c.initialize=function(t){n=t,p()},c.iterations=function(t){return arguments.length?(u=+t,c):u},c.strength=function(t){return arguments.length?(i=+t,c):i},c.radius=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:o(+e),p(),c):t},c},t.forceLink=function(t){var e,r,i,s,l,h=u,p=function(t){return 1/Math.min(s[t.source.index],s[t.target.index])},f=o(30),d=1;function m(n){for(var i=0,o=t.length;i<d;++i)for(var s,u,c,h,p,f,m,v=0;v<o;++v)u=(s=t[v]).source,h=(c=s.target).x+c.vx-u.x-u.vx||a(),p=c.y+c.vy-u.y-u.vy||a(),h*=f=((f=Math.sqrt(h*h+p*p))-r[v])/f*n*e[v],p*=f,c.vx-=h*(m=l[v]),c.vy-=p*m,u.vx+=h*(m=1-m),u.vy+=p*m}function v(){if(i){var o,a,u=i.length,p=t.length,f=n.map(i,h);for(o=0,s=new Array(u);o<p;++o)(a=t[o]).index=o,\\\"object\\\"!=typeof a.source&&(a.source=c(f,a.source)),\\\"object\\\"!=typeof a.target&&(a.target=c(f,a.target)),s[a.source.index]=(s[a.source.index]||0)+1,s[a.target.index]=(s[a.target.index]||0)+1;for(o=0,l=new Array(p);o<p;++o)a=t[o],l[o]=s[a.source.index]/(s[a.source.index]+s[a.target.index]);e=new Array(p),g(),r=new Array(p),y()}}function g(){if(i)for(var n=0,r=t.length;n<r;++n)e[n]=+p(t[n],n,t)}function y(){if(i)for(var e=0,n=t.length;e<n;++e)r[e]=+f(t[e],e,t)}return null==t&&(t=[]),m.initialize=function(t){i=t,v()},m.links=function(e){return arguments.length?(t=e,v(),m):t},m.id=function(t){return arguments.length?(h=t,m):h},m.iterations=function(t){return arguments.length?(d=+t,m):d},m.strength=function(t){return arguments.length?(p=\\\"function\\\"==typeof t?t:o(+t),g(),m):p},m.distance=function(t){return arguments.length?(f=\\\"function\\\"==typeof t?t:o(+t),y(),m):f},m},t.forceManyBody=function(){var t,n,r,i,s=o(-30),l=1,u=1/0,c=.81;function f(i){var o,a=t.length,s=e.quadtree(t,h,p).visitAfter(m);for(r=i,o=0;o<a;++o)n=t[o],s.visit(v)}function d(){if(t){var e,n,r=t.length;for(i=new Array(r),e=0;e<r;++e)n=t[e],i[n.index]=+s(n,e,t)}}function m(t){var e,n,r,o,a,s=0,l=0;if(t.length){for(r=o=a=0;a<4;++a)(e=t[a])&&(n=Math.abs(e.value))&&(s+=e.value,l+=n,r+=n*e.x,o+=n*e.y);t.x=r/l,t.y=o/l}else{(e=t).x=e.data.x,e.y=e.data.y;do{s+=i[e.data.index]}while(e=e.next)}t.value=s}function v(t,e,o,s){if(!t.value)return!0;var h=t.x-n.x,p=t.y-n.y,f=s-e,d=h*h+p*p;if(f*f/c<d)return d<u&&(0===h&&(d+=(h=a())*h),0===p&&(d+=(p=a())*p),d<l&&(d=Math.sqrt(l*d)),n.vx+=h*t.value*r/d,n.vy+=p*t.value*r/d),!0;if(!(t.length||d>=u)){(t.data!==n||t.next)&&(0===h&&(d+=(h=a())*h),0===p&&(d+=(p=a())*p),d<l&&(d=Math.sqrt(l*d)));do{t.data!==n&&(f=i[t.data.index]*r/d,n.vx+=h*f,n.vy+=p*f)}while(t=t.next)}}return f.initialize=function(e){t=e,d()},f.strength=function(t){return arguments.length?(s=\\\"function\\\"==typeof t?t:o(+t),d(),f):s},f.distanceMin=function(t){return arguments.length?(l=t*t,f):Math.sqrt(l)},f.distanceMax=function(t){return arguments.length?(u=t*t,f):Math.sqrt(u)},f.theta=function(t){return arguments.length?(c=t*t,f):Math.sqrt(c)},f},t.forceRadial=function(t,e,n){var r,i,a,s=o(.1);function l(t){for(var o=0,s=r.length;o<s;++o){var l=r[o],u=l.x-e||1e-6,c=l.y-n||1e-6,h=Math.sqrt(u*u+c*c),p=(a[o]-h)*i[o]*t/h;l.vx+=u*p,l.vy+=c*p}}function u(){if(r){var e,n=r.length;for(i=new Array(n),a=new Array(n),e=0;e<n;++e)a[e]=+t(r[e],e,r),i[e]=isNaN(a[e])?0:+s(r[e],e,r)}}return\\\"function\\\"!=typeof t&&(t=o(+t)),null==e&&(e=0),null==n&&(n=0),l.initialize=function(t){r=t,u()},l.strength=function(t){return arguments.length?(s=\\\"function\\\"==typeof t?t:o(+t),u(),l):s},l.radius=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:o(+e),u(),l):t},l.x=function(t){return arguments.length?(e=+t,l):e},l.y=function(t){return arguments.length?(n=+t,l):n},l},t.forceSimulation=function(t){var e,o=1,a=.001,s=1-Math.pow(a,1/300),l=0,u=.6,c=n.map(),h=i.timer(d),p=r.dispatch(\\\"tick\\\",\\\"end\\\");function d(){m(),p.call(\\\"tick\\\",e),o<a&&(h.stop(),p.call(\\\"end\\\",e))}function m(n){var r,i,a=t.length;void 0===n&&(n=1);for(var h=0;h<n;++h)for(o+=(l-o)*s,c.each((function(t){t(o)})),r=0;r<a;++r)null==(i=t[r]).fx?i.x+=i.vx*=u:(i.x=i.fx,i.vx=0),null==i.fy?i.y+=i.vy*=u:(i.y=i.fy,i.vy=0);return e}function v(){for(var e,n=0,r=t.length;n<r;++n){if((e=t[n]).index=n,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=10*Math.sqrt(n),o=n*f;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function g(e){return e.initialize&&e.initialize(t),e}return null==t&&(t=[]),v(),e={tick:m,restart:function(){return h.restart(d),e},stop:function(){return h.stop(),e},nodes:function(n){return arguments.length?(t=n,v(),c.each(g),e):t},alpha:function(t){return arguments.length?(o=+t,e):o},alphaMin:function(t){return arguments.length?(a=+t,e):a},alphaDecay:function(t){return arguments.length?(s=+t,e):+s},alphaTarget:function(t){return arguments.length?(l=+t,e):l},velocityDecay:function(t){return arguments.length?(u=1-t,e):1-u},force:function(t,n){return arguments.length>1?(null==n?c.remove(t):c.set(t,g(n)),e):c.get(t)},find:function(e,n,r){var i,o,a,s,l,u=0,c=t.length;for(null==r?r=1/0:r*=r,u=0;u<c;++u)(a=(i=e-(s=t[u]).x)*i+(o=n-s.y)*o)<r&&(l=s,r=a);return l},on:function(t,n){return arguments.length>1?(p.on(t,n),e):p.on(t)}}},t.forceX=function(t){var e,n,r,i=o(.1);function a(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vx+=(r[o]-i.x)*n[o]*t}function s(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return\\\"function\\\"!=typeof t&&(t=o(null==t?0:+t)),a.initialize=function(t){e=t,s()},a.strength=function(t){return arguments.length?(i=\\\"function\\\"==typeof t?t:o(+t),s(),a):i},a.x=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:o(+e),s(),a):t},a},t.forceY=function(t){var e,n,r,i=o(.1);function a(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vy+=(r[o]-i.y)*n[o]*t}function s(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return\\\"function\\\"!=typeof t&&(t=o(null==t?0:+t)),a.initialize=function(t){e=t,s()},a.strength=function(t){return arguments.length?(i=\\\"function\\\"==typeof t?t:o(+t),s(),a):i},a.y=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:o(+e),s(),a):t},a},Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},\\\"object\\\"==typeof n&&void 0!==e?i(n,t(\\\"d3-quadtree\\\"),t(\\\"d3-collection\\\"),t(\\\"d3-dispatch\\\"),t(\\\"d3-timer\\\")):i(r.d3=r.d3||{},r.d3,r.d3,r.d3,r.d3)},{\\\"d3-collection\\\":154,\\\"d3-dispatch\\\":156,\\\"d3-quadtree\\\":161,\\\"d3-timer\\\":163}],158:[function(t,e,n){var r,i;r=this,i=function(t){\\\"use strict\\\";function e(t,e){return t.parent===e.parent?1:2}function n(t,e){return t+e.x}function r(t,e){return Math.max(t,e.y)}function i(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function o(t,e){var n,r,i,o,s,c=new u(t),h=+t.value&&(c.value=t.value),p=[c];for(null==e&&(e=a);n=p.pop();)if(h&&(n.value=+n.data.value),(i=e(n.data))&&(s=i.length))for(n.children=new Array(s),o=s-1;o>=0;--o)p.push(r=n.children[o]=new u(i[o])),r.parent=n,r.depth=n.depth+1;return c.eachBefore(l)}function a(t){return t.children}function s(t){t.data=t.data.data}function l(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function u(t){this.data=t,this.depth=this.height=0,this.parent=null}u.prototype=o.prototype={constructor:u,count:function(){return this.eachAfter(i)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(t){for(var e,n,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n]);for(;i=a.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return o(this).eachBefore(s)}};var c=Array.prototype.slice;function h(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(c.call(t))).length,o=[];r<i;)e=t[r],n&&d(n,e)?++r:(n=v(o=p(o,e)),r=0);return n}function p(t,e){var n,r;if(m(e,t))return[e];for(n=0;n<t.length;++n)if(f(e,t[n])&&m(g(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(f(g(t[n],t[r]),e)&&f(g(t[n],e),t[r])&&f(g(t[r],e),t[n])&&m(y(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function f(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function d(t,e){var n=t.r-e.r+1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function m(t,e){for(var n=0;n<e.length;++n)if(!d(t,e[n]))return!1;return!0}function v(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return g(t[0],t[1]);case 3:return y(t[0],t[1],t[2])}var e}function g(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,s=e.r,l=o-n,u=a-r,c=s-i,h=Math.sqrt(l*l+u*u);return{x:(n+o+l/h*c)/2,y:(r+a+u/h*c)/2,r:(h+i+s)/2}}function y(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,s=e.y,l=e.r,u=n.x,c=n.y,h=n.r,p=r-a,f=r-u,d=i-s,m=i-c,v=l-o,g=h-o,y=r*r+i*i-o*o,_=y-a*a-s*s+l*l,b=y-u*u-c*c+h*h,x=f*d-p*m,w=(d*b-m*_)/(2*x)-r,A=(m*v-d*g)/x,C=(f*_-p*b)/(2*x)-i,M=(p*g-f*v)/x,E=A*A+M*M-1,T=2*(o+w*A+C*M),S=w*w+C*C-o*o,k=-(E?(T+Math.sqrt(T*T-4*E*S))/(2*E):S/T);return{x:r+w+A*k,y:i+C+M*k,r:k}}function _(t,e,n){var r,i,o,a,s=t.x-e.x,l=t.y-e.y,u=s*s+l*l;u?(i=e.r+n.r,i*=i,a=t.r+n.r,i>(a*=a)?(r=(u+a-i)/(2*u),o=Math.sqrt(Math.max(0,a/u-r*r)),n.x=t.x-r*s-o*l,n.y=t.y-r*l+o*s):(r=(u+i-a)/(2*u),o=Math.sqrt(Math.max(0,i/u-r*r)),n.x=e.x+r*s-o*l,n.y=e.y+r*l+o*s)):(n.x=e.x+n.r,n.y=e.y)}function b(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function x(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function w(t){this._=t,this.next=null,this.previous=null}function A(t){if(!(i=t.length))return 0;var e,n,r,i,o,a,s,l,u,c,p;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;_(n,e,r=t[2]),e=new w(e),n=new w(n),r=new w(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s<i;++s){_(e._,n._,r=t[s]),r=new w(r),l=n.next,u=e.previous,c=n._.r,p=e._.r;do{if(c<=p){if(b(l._,r._)){n=l,e.next=n,n.previous=e,--s;continue t}c+=l._.r,l=l.next}else{if(b(u._,r._)){(e=u).next=n,n.previous=e,--s;continue t}p+=u._.r,u=u.previous}}while(l!==u.next);for(r.previous=e,r.next=n,e.next=n.previous=n=r,o=x(e);(r=r.next)!==n;)(a=x(r))<o&&(e=r,o=a);n=e.next}for(e=[n._],r=n;(r=r.next)!==n;)e.push(r._);for(r=h(e),s=0;s<i;++s)(e=t[s]).x-=r.x,e.y-=r.y;return r.r}function C(t){return null==t?null:M(t)}function M(t){if(\\\"function\\\"!=typeof t)throw new Error;return t}function E(){return 0}function T(t){return function(){return t}}function S(t){return Math.sqrt(t.value)}function k(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function O(t,e){return function(n){if(r=n.children){var r,i,o,a=r.length,s=t(n)*e||0;if(s)for(i=0;i<a;++i)r[i].r+=s;if(o=A(r),s)for(i=0;i<a;++i)r[i].r-=s;n.r=o+s}}}function I(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function L(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function P(t,e,n,r,i){for(var o,a=t.children,s=-1,l=a.length,u=t.value&&(r-e)/t.value;++s<l;)(o=a[s]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*u}var z={depth:-1},R={};function D(t){return t.id}function $(t){return t.parentId}function B(t,e){return t.parent===e.parent?1:2}function N(t){var e=t.children;return e?e[0]:t.t}function F(t){var e=t.children;return e?e[e.length-1]:t.t}function j(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function U(t,e,n){return t.a.parent===e.parent?t.a:n}function q(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function V(t,e,n,r,i){for(var o,a=t.children,s=-1,l=a.length,u=t.value&&(i-n)/t.value;++s<l;)(o=a[s]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*u}q.prototype=Object.create(u.prototype);var H=(1+Math.sqrt(5))/2;function G(t,e,n,r,i,o){for(var a,s,l,u,c,h,p,f,d,m,v,g=[],y=e.children,_=0,b=0,x=y.length,w=e.value;_<x;){l=i-n,u=o-r;do{c=y[b++].value}while(!c&&b<x);for(h=p=c,v=c*c*(m=Math.max(u/l,l/u)/(w*t)),d=Math.max(p/v,v/h);b<x;++b){if(c+=s=y[b].value,s<h&&(h=s),s>p&&(p=s),v=c*c*m,(f=Math.max(p/v,v/h))>d){c-=s;break}d=f}g.push(a={value:c,dice:l<u,children:y.slice(_,b)}),a.dice?P(a,n,r,i,w?r+=u*c/w:o):V(a,n,r,w?n+=l*c/w:i,o),w-=c,_=b}return g}var W=function t(e){function n(t,n,r,i,o){G(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(H),X=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,l,u,c,h=-1,p=a.length,f=t.value;++h<p;){for(l=(s=a[h]).children,u=s.value=0,c=l.length;u<c;++u)s.value+=l[u].value;s.dice?P(s,n,r,i,r+=(o-r)*s.value/f):V(s,n,r,n+=(i-n)*s.value/f,o),f-=s.value}else t._squarify=a=G(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(H);t.cluster=function(){var t=e,i=1,o=1,a=!1;function s(e){var s,l=0;e.eachAfter((function(e){var i=e.children;i?(e.x=function(t){return t.reduce(n,0)/t.length}(i),e.y=function(t){return 1+t.reduce(r,0)}(i)):(e.x=s?l+=t(e,s):0,e.y=0,s=e)}));var u=function(t){for(var e;e=t.children;)t=e[0];return t}(e),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(e),h=u.x-t(u,c)/2,p=c.x+t(c,u)/2;return e.eachAfter(a?function(t){t.x=(t.x-e.x)*i,t.y=(e.y-t.y)*o}:function(t){t.x=(t.x-h)/(p-h)*i,t.y=(1-(e.y?t.y/e.y:1))*o})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(a=!1,i=+t[0],o=+t[1],s):a?null:[i,o]},s.nodeSize=function(t){return arguments.length?(a=!0,i=+t[0],o=+t[1],s):a?[i,o]:null},s},t.hierarchy=o,t.pack=function(){var t=null,e=1,n=1,r=E;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(k(t)).eachAfter(O(r,.5)).eachBefore(I(1)):i.eachBefore(k(S)).eachAfter(O(E,1)).eachAfter(O(r,i.r/Math.min(e,n))).eachBefore(I(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=C(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r=\\\"function\\\"==typeof t?t:T(+t),i):r},i},t.packEnclose=h,t.packSiblings=function(t){return A(t),t},t.partition=function(){var t=1,e=1,n=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/o,i.eachBefore(function(t,e){return function(r){r.children&&P(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var i=r.x0,o=r.y0,a=r.x1-n,s=r.y1-n;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),r.x0=i,r.y0=o,r.x1=a,r.y1=s}}(e,o)),r&&i.eachBefore(L),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i},t.stratify=function(){var t=D,e=$;function n(n){var r,i,o,a,s,c,h,p=n.length,f=new Array(p),d={};for(i=0;i<p;++i)r=n[i],s=f[i]=new u(r),null!=(c=t(r,i,n))&&(c+=\\\"\\\")&&(d[h=\\\"$\\\"+(s.id=c)]=h in d?R:s);for(i=0;i<p;++i)if(s=f[i],null!=(c=e(n[i],i,n))&&(c+=\\\"\\\")){if(!(a=d[\\\"$\\\"+c]))throw new Error(\\\"missing: \\\"+c);if(a===R)throw new Error(\\\"ambiguous: \\\"+c);a.children?a.children.push(s):a.children=[s],s.parent=a}else{if(o)throw new Error(\\\"multiple roots\\\");o=s}if(!o)throw new Error(\\\"no root\\\");if(o.parent=z,o.eachBefore((function(t){t.depth=t.parent.depth+1,--p})).eachBefore(l),o.parent=null,p>0)throw new Error(\\\"cycle\\\");return o}return n.id=function(e){return arguments.length?(t=M(e),n):t},n.parentId=function(t){return arguments.length?(e=M(t),n):e},n},t.tree=function(){var t=B,e=1,n=1,r=null;function i(i){var l=function(t){for(var e,n,r,i,o,a=new q(t,0),s=[a];e=s.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=e.children[i]=new q(r[i],i)),n.parent=e;return(a.parent=new q(null,0)).children=[a],a}(i);if(l.eachAfter(o),l.parent.m=-l.z,l.eachBefore(a),r)i.eachBefore(s);else{var u=i,c=i,h=i;i.eachBefore((function(t){t.x<u.x&&(u=t),t.x>c.x&&(c=t),t.depth>h.depth&&(h=t)}));var p=u===c?1:t(u,c)/2,f=p-u.x,d=e/(c.x+p+f),m=n/(h.depth||1);i.eachBefore((function(t){t.x=(t.x+f)*d,t.y=t.depth*m}))}return i}function o(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,o=e,a=e,s=n,l=o.parent.children[0],u=o.m,c=a.m,h=s.m,p=l.m;s=F(s),o=N(o),s&&o;)l=N(l),(a=F(a)).a=e,(i=s.z+h-o.z-u+t(s._,o._))>0&&(j(U(s,e,r),e,i),u+=i,c+=i),h+=s.m,u+=o.m,p+=l.m,c+=a.m;s&&!F(a)&&(a.t=s,a.m+=h-c),o&&!N(l)&&(l.t=o,l.m+=u-p,r=e)}return r}(e,i,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i},t.treemap=function(){var t=W,e=!1,n=1,r=1,i=[0],o=E,a=E,s=E,l=E,u=E;function c(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(h),i=[0],e&&t.eachBefore(L),t}function h(e){var n=i[e.depth],r=e.x0+n,c=e.y0+n,h=e.x1-n,p=e.y1-n;h<r&&(r=h=(r+h)/2),p<c&&(c=p=(c+p)/2),e.x0=r,e.y0=c,e.x1=h,e.y1=p,e.children&&(n=i[e.depth+1]=o(e)/2,r+=u(e)-n,c+=a(e)-n,(h-=s(e)-n)<r&&(r=h=(r+h)/2),(p-=l(e)-n)<c&&(c=p=(c+p)/2),t(e,r,c,h,p))}return c.round=function(t){return arguments.length?(e=!!t,c):e},c.size=function(t){return arguments.length?(n=+t[0],r=+t[1],c):[n,r]},c.tile=function(e){return arguments.length?(t=M(e),c):t},c.padding=function(t){return arguments.length?c.paddingInner(t).paddingOuter(t):c.paddingInner()},c.paddingInner=function(t){return arguments.length?(o=\\\"function\\\"==typeof t?t:T(+t),c):o},c.paddingOuter=function(t){return arguments.length?c.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):c.paddingTop()},c.paddingTop=function(t){return arguments.length?(a=\\\"function\\\"==typeof t?t:T(+t),c):a},c.paddingRight=function(t){return arguments.length?(s=\\\"function\\\"==typeof t?t:T(+t),c):s},c.paddingBottom=function(t){return arguments.length?(l=\\\"function\\\"==typeof t?t:T(+t),c):l},c.paddingLeft=function(t){return arguments.length?(u=\\\"function\\\"==typeof t?t:T(+t),c):u},c},t.treemapBinary=function(t,e,n,r,i){var o,a,s=t.children,l=s.length,u=new Array(l+1);for(u[0]=a=o=0;o<l;++o)u[o+1]=a+=s[o].value;!function t(e,n,r,i,o,a,l){if(e>=n-1){var c=s[e];return c.x0=i,c.y0=o,c.x1=a,void(c.y1=l)}for(var h=u[e],p=r/2+h,f=e+1,d=n-1;f<d;){var m=f+d>>>1;u[m]<p?f=m+1:d=m}p-u[f-1]<u[f]-p&&e+1<f&&--f;var v=u[f]-h,g=r-v;if(a-i>l-o){var y=(i*g+a*v)/r;t(e,f,v,i,o,y,l),t(f,n,g,y,o,a,l)}else{var _=(o*g+l*v)/r;t(e,f,v,i,o,a,_),t(f,n,g,i,_,a,l)}}(0,l,t.value,e,n,r,i)},t.treemapDice=P,t.treemapResquarify=X,t.treemapSlice=V,t.treemapSliceDice=function(t,e,n,r,i){(1&t.depth?V:P)(t,e,n,r,i)},t.treemapSquarify=W,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},i(\\\"object\\\"==typeof n&&void 0!==e?n:(r=r||self).d3=r.d3||{})},{}],159:[function(t,e,n){var r,i;r=this,i=function(t,e){\\\"use strict\\\";function n(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}function r(t){var e=t.length-1;return function(r){var i=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[i],a=t[i+1],s=i>0?t[i-1]:2*o-a,l=i<e-1?t[i+2]:2*a-o;return n((r-i/e)*e,s,o,a,l)}}function i(t){var e=t.length;return function(r){var i=Math.floor(((r%=1)<0?++r:r)*e),o=t[(i+e-1)%e],a=t[i%e],s=t[(i+1)%e],l=t[(i+2)%e];return n((r-i/e)*e,o,a,s,l)}}function o(t){return function(){return t}}function a(t,e){return function(n){return t+n*e}}function s(t,e){var n=e-t;return n?a(t,n>180||n<-180?n-360*Math.round(n/360):n):o(isNaN(t)?e:t)}function l(t){return 1==(t=+t)?u:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):o(isNaN(e)?n:e)}}function u(t,e){var n=e-t;return n?a(t,n):o(isNaN(t)?e:t)}var c=function t(n){var r=l(n);function i(t,n){var i=r((t=e.rgb(t)).r,(n=e.rgb(n)).r),o=r(t.g,n.g),a=r(t.b,n.b),s=u(t.opacity,n.opacity);return function(e){return t.r=i(e),t.g=o(e),t.b=a(e),t.opacity=s(e),t+\\\"\\\"}}return i.gamma=t,i}(1);function h(t){return function(n){var r,i,o=n.length,a=new Array(o),s=new Array(o),l=new Array(o);for(r=0;r<o;++r)i=e.rgb(n[r]),a[r]=i.r||0,s[r]=i.g||0,l[r]=i.b||0;return a=t(a),s=t(s),l=t(l),i.opacity=1,function(t){return i.r=a(t),i.g=s(t),i.b=l(t),i+\\\"\\\"}}}var p=h(r),f=h(i);function d(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function m(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function v(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=A(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function g(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function y(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function _(t,e){var n,r={},i={};for(n in null!==t&&\\\"object\\\"==typeof t||(t={}),null!==e&&\\\"object\\\"==typeof e||(e={}),e)n in t?r[n]=A(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var b=/[-+]?(?:\\\\d+\\\\.?\\\\d*|\\\\.?\\\\d+)(?:[eE][-+]?\\\\d+)?/g,x=new RegExp(b.source,\\\"g\\\");function w(t,e){var n,r,i,o=b.lastIndex=x.lastIndex=0,a=-1,s=[],l=[];for(t+=\\\"\\\",e+=\\\"\\\";(n=b.exec(t))&&(r=x.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:y(n,r)})),o=x.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?function(t){return function(e){return t(e)+\\\"\\\"}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,r=0;r<e;++r)s[(n=l[r]).i]=n.x(t);return s.join(\\\"\\\")})}function A(t,n){var r,i=typeof n;return null==n||\\\"boolean\\\"===i?o(n):(\\\"number\\\"===i?y:\\\"string\\\"===i?(r=e.color(n))?(n=r,c):w:n instanceof e.color?c:n instanceof Date?g:m(n)?d:Array.isArray(n)?v:\\\"function\\\"!=typeof n.valueOf&&\\\"function\\\"!=typeof n.toString||isNaN(n)?_:y)(t,n)}var C,M,E,T,S=180/Math.PI,k={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function O(t,e,n,r,i,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r<e*n&&(t=-t,e=-e,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*S,skewX:Math.atan(l)*S,scaleX:a,scaleY:s}}function I(t,e,n,r){function i(t){return t.length?t.pop()+\\\" \\\":\\\"\\\"}return function(o,a){var s=[],l=[];return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var l=a.push(\\\"translate(\\\",null,e,null,n);s.push({i:l-4,x:y(t,i)},{i:l-2,x:y(r,o)})}else(i||o)&&a.push(\\\"translate(\\\"+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,l),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+\\\"rotate(\\\",null,r)-2,x:y(t,e)})):e&&n.push(i(n)+\\\"rotate(\\\"+e+r)}(o.rotate,a.rotate,s,l),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+\\\"skewX(\\\",null,r)-2,x:y(t,e)}):e&&n.push(i(n)+\\\"skewX(\\\"+e+r)}(o.skewX,a.skewX,s,l),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+\\\"scale(\\\",null,\\\",\\\",null,\\\")\\\");a.push({i:s-4,x:y(t,n)},{i:s-2,x:y(e,r)})}else 1===n&&1===r||o.push(i(o)+\\\"scale(\\\"+n+\\\",\\\"+r+\\\")\\\")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,n=-1,r=l.length;++n<r;)s[(e=l[n]).i]=e.x(t);return s.join(\\\"\\\")}}}var L=I((function(t){return\\\"none\\\"===t?k:(C||(C=document.createElement(\\\"DIV\\\"),M=document.documentElement,E=document.defaultView),C.style.transform=t,t=E.getComputedStyle(M.appendChild(C),null).getPropertyValue(\\\"transform\\\"),M.removeChild(C),O(+(t=t.slice(7,-1).split(\\\",\\\"))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),\\\"px, \\\",\\\"px)\\\",\\\"deg)\\\"),P=I((function(t){return null==t?k:(T||(T=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\")),T.setAttribute(\\\"transform\\\",t),(t=T.transform.baseVal.consolidate())?O((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):k)}),\\\", \\\",\\\")\\\",\\\")\\\"),z=Math.SQRT2;function R(t){return((t=Math.exp(t))+1/t)/2}function D(t){return function(n,r){var i=t((n=e.hsl(n)).h,(r=e.hsl(r)).h),o=u(n.s,r.s),a=u(n.l,r.l),s=u(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=a(t),n.opacity=s(t),n+\\\"\\\"}}}var $=D(s),B=D(u);function N(t){return function(n,r){var i=t((n=e.hcl(n)).h,(r=e.hcl(r)).h),o=u(n.c,r.c),a=u(n.l,r.l),s=u(n.opacity,r.opacity);return function(t){return n.h=i(t),n.c=o(t),n.l=a(t),n.opacity=s(t),n+\\\"\\\"}}}var F=N(s),j=N(u);function U(t){return function n(r){function i(n,i){var o=t((n=e.cubehelix(n)).h,(i=e.cubehelix(i)).h),a=u(n.s,i.s),s=u(n.l,i.l),l=u(n.opacity,i.opacity);return function(t){return n.h=o(t),n.s=a(t),n.l=s(Math.pow(t,r)),n.opacity=l(t),n+\\\"\\\"}}return r=+r,i.gamma=n,i}(1)}var q=U(s),V=U(u);t.interpolate=A,t.interpolateArray=function(t,e){return(m(e)?d:v)(t,e)},t.interpolateBasis=r,t.interpolateBasisClosed=i,t.interpolateCubehelix=q,t.interpolateCubehelixLong=V,t.interpolateDate=g,t.interpolateDiscrete=function(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}},t.interpolateHcl=F,t.interpolateHclLong=j,t.interpolateHsl=$,t.interpolateHslLong=B,t.interpolateHue=function(t,e){var n=s(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}},t.interpolateLab=function(t,n){var r=u((t=e.lab(t)).l,(n=e.lab(n)).l),i=u(t.a,n.a),o=u(t.b,n.b),a=u(t.opacity,n.opacity);return function(e){return t.l=r(e),t.a=i(e),t.b=o(e),t.opacity=a(e),t+\\\"\\\"}},t.interpolateNumber=y,t.interpolateNumberArray=d,t.interpolateObject=_,t.interpolateRgb=c,t.interpolateRgbBasis=p,t.interpolateRgbBasisClosed=f,t.interpolateRound=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}},t.interpolateString=w,t.interpolateTransformCss=L,t.interpolateTransformSvg=P,t.interpolateZoom=function(t,e){var n,r,i=t[0],o=t[1],a=t[2],s=e[0],l=e[1],u=e[2],c=s-i,h=l-o,p=c*c+h*h;if(p<1e-12)r=Math.log(u/a)/z,n=function(t){return[i+t*c,o+t*h,a*Math.exp(z*t*r)]};else{var f=Math.sqrt(p),d=(u*u-a*a+4*p)/(2*a*2*f),m=(u*u-a*a-4*p)/(2*u*2*f),v=Math.log(Math.sqrt(d*d+1)-d),g=Math.log(Math.sqrt(m*m+1)-m);r=(g-v)/z,n=function(t){var e,n=t*r,s=R(v),l=a/(2*f)*(s*(e=z*n+v,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(v));return[i+l*c,o+l*h,a*s/R(z*n+v)]}}return n.duration=1e3*r,n},t.piecewise=function(t,e){for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}},t.quantize=function(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n},Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},\\\"object\\\"==typeof n&&void 0!==e?i(n,t(\\\"d3-color\\\")):i((r=r||self).d3=r.d3||{},r.d3)},{\\\"d3-color\\\":155}],160:[function(t,e,n){var r,i;r=this,i=function(t){\\\"use strict\\\";var e=Math.PI,n=2*e,r=1e-6,i=n-r;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=\\\"\\\"}function a(){return new o}o.prototype=a.prototype={constructor:o,moveTo:function(t,e){this._+=\\\"M\\\"+(this._x0=this._x1=+t)+\\\",\\\"+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+=\\\"Z\\\")},lineTo:function(t,e){this._+=\\\"L\\\"+(this._x1=+t)+\\\",\\\"+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+=\\\"Q\\\"+ +t+\\\",\\\"+ +e+\\\",\\\"+(this._x1=+n)+\\\",\\\"+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+=\\\"C\\\"+ +t+\\\",\\\"+ +e+\\\",\\\"+ +n+\\\",\\\"+ +r+\\\",\\\"+(this._x1=+i)+\\\",\\\"+(this._y1=+o)},arcTo:function(t,n,i,o,a){t=+t,n=+n,i=+i,o=+o,a=+a;var s=this._x1,l=this._y1,u=i-t,c=o-n,h=s-t,p=l-n,f=h*h+p*p;if(a<0)throw new Error(\\\"negative radius: \\\"+a);if(null===this._x1)this._+=\\\"M\\\"+(this._x1=t)+\\\",\\\"+(this._y1=n);else if(f>r)if(Math.abs(p*u-c*h)>r&&a){var d=i-s,m=o-l,v=u*u+c*c,g=d*d+m*m,y=Math.sqrt(v),_=Math.sqrt(f),b=a*Math.tan((e-Math.acos((v+f-g)/(2*y*_)))/2),x=b/_,w=b/y;Math.abs(x-1)>r&&(this._+=\\\"L\\\"+(t+x*h)+\\\",\\\"+(n+x*p)),this._+=\\\"A\\\"+a+\\\",\\\"+a+\\\",0,0,\\\"+ +(p*d>h*m)+\\\",\\\"+(this._x1=t+w*u)+\\\",\\\"+(this._y1=n+w*c)}else this._+=\\\"L\\\"+(this._x1=t)+\\\",\\\"+(this._y1=n)},arc:function(t,o,a,s,l,u){t=+t,o=+o,u=!!u;var c=(a=+a)*Math.cos(s),h=a*Math.sin(s),p=t+c,f=o+h,d=1^u,m=u?s-l:l-s;if(a<0)throw new Error(\\\"negative radius: \\\"+a);null===this._x1?this._+=\\\"M\\\"+p+\\\",\\\"+f:(Math.abs(this._x1-p)>r||Math.abs(this._y1-f)>r)&&(this._+=\\\"L\\\"+p+\\\",\\\"+f),a&&(m<0&&(m=m%n+n),m>i?this._+=\\\"A\\\"+a+\\\",\\\"+a+\\\",0,1,\\\"+d+\\\",\\\"+(t-c)+\\\",\\\"+(o-h)+\\\"A\\\"+a+\\\",\\\"+a+\\\",0,1,\\\"+d+\\\",\\\"+(this._x1=p)+\\\",\\\"+(this._y1=f):m>r&&(this._+=\\\"A\\\"+a+\\\",\\\"+a+\\\",0,\\\"+ +(m>=e)+\\\",\\\"+d+\\\",\\\"+(this._x1=t+a*Math.cos(l))+\\\",\\\"+(this._y1=o+a*Math.sin(l))))},rect:function(t,e,n,r){this._+=\\\"M\\\"+(this._x0=this._x1=+t)+\\\",\\\"+(this._y0=this._y1=+e)+\\\"h\\\"+ +n+\\\"v\\\"+ +r+\\\"h\\\"+-n+\\\"Z\\\"},toString:function(){return this._}},t.path=a,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},i(\\\"object\\\"==typeof n&&void 0!==e?n:(r=r||self).d3=r.d3||{})},{}],161:[function(t,e,n){var r,i;r=this,i=function(t){\\\"use strict\\\";function e(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,a,s,l,u,c,h,p,f=t._root,d={data:r},m=t._x0,v=t._y0,g=t._x1,y=t._y1;if(!f)return t._root=d,t;for(;f.length;)if((u=e>=(o=(m+g)/2))?m=o:g=o,(c=n>=(a=(v+y)/2))?v=a:y=a,i=f,!(f=f[h=c<<1|u]))return i[h]=d,t;if(s=+t._x.call(null,f.data),l=+t._y.call(null,f.data),e===s&&n===l)return d.next=f,i?i[h]=d:t._root=d,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(u=e>=(o=(m+g)/2))?m=o:g=o,(c=n>=(a=(v+y)/2))?v=a:y=a}while((h=c<<1|u)==(p=(l>=a)<<1|s>=o));return i[p]=f,i[h]=d,t}function n(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function r(t){return t[0]}function i(t){return t[1]}function o(t,e,n){var o=new a(null==e?r:e,null==n?i:n,NaN,NaN,NaN,NaN);return null==t?o:o.addAll(t)}function a(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function s(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var l=o.prototype=a.prototype;l.copy=function(){var t,e,n=new a(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=s(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=s(e));return n},l.add=function(t){var n=+this._x.call(null,t),r=+this._y.call(null,t);return e(this.cover(n,r),n,r,t)},l.addAll=function(t){var n,r,i,o,a=t.length,s=new Array(a),l=new Array(a),u=1/0,c=1/0,h=-1/0,p=-1/0;for(r=0;r<a;++r)isNaN(i=+this._x.call(null,n=t[r]))||isNaN(o=+this._y.call(null,n))||(s[r]=i,l[r]=o,i<u&&(u=i),i>h&&(h=i),o<c&&(c=o),o>p&&(p=o));if(u>h||c>p)return this;for(this.cover(u,c).cover(h,p),r=0;r<a;++r)e(this,s[r],l[r],t[r]);return this},l.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{for(var a,s,l=i-n,u=this._root;n>t||t>=i||r>e||e>=o;)switch(s=(e<r)<<1|t<n,(a=new Array(4))[s]=u,u=a,l*=2,s){case 0:i=n+l,o=r+l;break;case 1:n=i-l,o=r+l;break;case 2:i=n+l,r=o-l;break;case 3:n=i-l,r=o-l}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},l.data=function(){var t=[];return this.visit((function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)})),t},l.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},l.find=function(t,e,r){var i,o,a,s,l,u,c,h=this._x0,p=this._y0,f=this._x1,d=this._y1,m=[],v=this._root;for(v&&m.push(new n(v,h,p,f,d)),null==r?r=1/0:(h=t-r,p=e-r,f=t+r,d=e+r,r*=r);u=m.pop();)if(!(!(v=u.node)||(o=u.x0)>f||(a=u.y0)>d||(s=u.x1)<h||(l=u.y1)<p))if(v.length){var g=(o+s)/2,y=(a+l)/2;m.push(new n(v[3],g,y,s,l),new n(v[2],o,y,g,l),new n(v[1],g,a,s,y),new n(v[0],o,a,g,y)),(c=(e>=y)<<1|t>=g)&&(u=m[m.length-1],m[m.length-1]=m[m.length-1-c],m[m.length-1-c]=u)}else{var _=t-+this._x.call(null,v.data),b=e-+this._y.call(null,v.data),x=_*_+b*b;if(x<r){var w=Math.sqrt(r=x);h=t-w,p=e-w,f=t+w,d=e+w,i=v.data}}return i},l.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,n,r,i,o,a,s,l,u,c,h,p,f=this._root,d=this._x0,m=this._y0,v=this._x1,g=this._y1;if(!f)return this;if(f.length)for(;;){if((u=o>=(s=(d+v)/2))?d=s:v=s,(c=a>=(l=(m+g)/2))?m=l:g=l,e=f,!(f=f[h=c<<1|u]))return this;if(!f.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,p=h)}for(;f.data!==t;)if(r=f,!(f=f.next))return this;return(i=f.next)&&delete f.next,r?(i?r.next=i:delete r.next,this):e?(i?e[h]=i:delete e[h],(f=e[0]||e[1]||e[2]||e[3])&&f===(e[3]||e[2]||e[1]||e[0])&&!f.length&&(n?n[p]=f:this._root=f),this):(this._root=i,this)},l.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},l.root=function(){return this._root},l.size=function(){var t=0;return this.visit((function(e){if(!e.length)do{++t}while(e=e.next)})),t},l.visit=function(t){var e,r,i,o,a,s,l=[],u=this._root;for(u&&l.push(new n(u,this._x0,this._y0,this._x1,this._y1));e=l.pop();)if(!t(u=e.node,i=e.x0,o=e.y0,a=e.x1,s=e.y1)&&u.length){var c=(i+a)/2,h=(o+s)/2;(r=u[3])&&l.push(new n(r,c,h,a,s)),(r=u[2])&&l.push(new n(r,i,h,c,s)),(r=u[1])&&l.push(new n(r,c,o,a,h)),(r=u[0])&&l.push(new n(r,i,o,c,h))}return this},l.visitAfter=function(t){var e,r=[],i=[];for(this._root&&r.push(new n(this._root,this._x0,this._y0,this._x1,this._y1));e=r.pop();){var o=e.node;if(o.length){var a,s=e.x0,l=e.y0,u=e.x1,c=e.y1,h=(s+u)/2,p=(l+c)/2;(a=o[0])&&r.push(new n(a,s,l,h,p)),(a=o[1])&&r.push(new n(a,h,l,u,p)),(a=o[2])&&r.push(new n(a,s,p,h,c)),(a=o[3])&&r.push(new n(a,h,p,u,c))}i.push(e)}for(;e=i.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},l.x=function(t){return arguments.length?(this._x=t,this):this._x},l.y=function(t){return arguments.length?(this._y=t,this):this._y},t.quadtree=o,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},i(\\\"object\\\"==typeof n&&void 0!==e?n:(r=r||self).d3=r.d3||{})},{}],162:[function(t,e,n){var r,i;r=this,i=function(t,e){\\\"use strict\\\";function n(t){return function(){return t}}var r=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,l=Math.sin,u=Math.sqrt,c=1e-12,h=Math.PI,p=h/2,f=2*h;function d(t){return t>1?0:t<-1?h:Math.acos(t)}function m(t){return t>=1?p:t<=-1?-p:Math.asin(t)}function v(t){return t.innerRadius}function g(t){return t.outerRadius}function y(t){return t.startAngle}function _(t){return t.endAngle}function b(t){return t&&t.padAngle}function x(t,e,n,r,i,o,a,s){var l=n-t,u=r-e,h=a-i,p=s-o,f=p*l-h*u;if(!(f*f<c))return[t+(f=(h*(e-o)-p*(t-i))/f)*l,e+f*u]}function w(t,e,n,r,i,o,s){var l=t-n,c=e-r,h=(s?o:-o)/u(l*l+c*c),p=h*c,f=-h*l,d=t+p,m=e+f,v=n+p,g=r+f,y=(d+v)/2,_=(m+g)/2,b=v-d,x=g-m,w=b*b+x*x,A=i-o,C=d*g-v*m,M=(x<0?-1:1)*u(a(0,A*A*w-C*C)),E=(C*x-b*M)/w,T=(-C*b-x*M)/w,S=(C*x+b*M)/w,k=(-C*b+x*M)/w,O=E-y,I=T-_,L=S-y,P=k-_;return O*O+I*I>L*L+P*P&&(E=S,T=k),{cx:E,cy:T,x01:-p,y01:-f,x11:E*(i/A-1),y11:T*(i/A-1)}}function A(t){this._context=t}function C(t){return new A(t)}function M(t){return t[0]}function E(t){return t[1]}function T(){var t=M,r=E,i=n(!0),o=null,a=C,s=null;function l(n){var l,u,c,h=n.length,p=!1;for(null==o&&(s=a(c=e.path())),l=0;l<=h;++l)!(l<h&&i(u=n[l],l,n))===p&&((p=!p)?s.lineStart():s.lineEnd()),p&&s.point(+t(u,l,n),+r(u,l,n));if(c)return s=null,c+\\\"\\\"||null}return l.x=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:n(+e),l):t},l.y=function(t){return arguments.length?(r=\\\"function\\\"==typeof t?t:n(+t),l):r},l.defined=function(t){return arguments.length?(i=\\\"function\\\"==typeof t?t:n(!!t),l):i},l.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),l):a},l.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),l):o},l}function S(){var t=M,r=null,i=n(0),o=E,a=n(!0),s=null,l=C,u=null;function c(n){var c,h,p,f,d,m=n.length,v=!1,g=new Array(m),y=new Array(m);for(null==s&&(u=l(d=e.path())),c=0;c<=m;++c){if(!(c<m&&a(f=n[c],c,n))===v)if(v=!v)h=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),p=c-1;p>=h;--p)u.point(g[p],y[p]);u.lineEnd(),u.areaEnd()}v&&(g[c]=+t(f,c,n),y[c]=+i(f,c,n),u.point(r?+r(f,c,n):g[c],o?+o(f,c,n):y[c]))}if(d)return u=null,d+\\\"\\\"||null}function h(){return T().defined(a).curve(l).context(s)}return c.x=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:n(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:n(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:\\\"function\\\"==typeof t?t:n(+t),c):r},c.y=function(t){return arguments.length?(i=\\\"function\\\"==typeof t?t:n(+t),o=null,c):i},c.y0=function(t){return arguments.length?(i=\\\"function\\\"==typeof t?t:n(+t),c):i},c.y1=function(t){return arguments.length?(o=null==t?null:\\\"function\\\"==typeof t?t:n(+t),c):o},c.lineX0=c.lineY0=function(){return h().x(t).y(i)},c.lineY1=function(){return h().x(t).y(o)},c.lineX1=function(){return h().x(r).y(i)},c.defined=function(t){return arguments.length?(a=\\\"function\\\"==typeof t?t:n(!!t),c):a},c.curve=function(t){return arguments.length?(l=t,null!=s&&(u=l(s)),c):l},c.context=function(t){return arguments.length?(null==t?s=u=null:u=l(s=t),c):s},c}function k(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function O(t){return t}A.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var I=P(C);function L(t){this._curve=t}function P(t){function e(e){return new L(t(e))}return e._curve=t,e}function z(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(P(t)):e()._curve},t}function R(){return z(T().curve(I))}function D(){var t=S().curve(I),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return z(n())},delete t.lineX0,t.lineEndAngle=function(){return z(r())},delete t.lineX1,t.lineInnerRadius=function(){return z(i())},delete t.lineY0,t.lineOuterRadius=function(){return z(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(P(t)):e()._curve},t}function $(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}L.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var B=Array.prototype.slice;function N(t){return t.source}function F(t){return t.target}function j(t){var r=N,i=F,o=M,a=E,s=null;function l(){var n,l=B.call(arguments),u=r.apply(this,l),c=i.apply(this,l);if(s||(s=n=e.path()),t(s,+o.apply(this,(l[0]=u,l)),+a.apply(this,l),+o.apply(this,(l[0]=c,l)),+a.apply(this,l)),n)return s=null,n+\\\"\\\"||null}return l.source=function(t){return arguments.length?(r=t,l):r},l.target=function(t){return arguments.length?(i=t,l):i},l.x=function(t){return arguments.length?(o=\\\"function\\\"==typeof t?t:n(+t),l):o},l.y=function(t){return arguments.length?(a=\\\"function\\\"==typeof t?t:n(+t),l):a},l.context=function(t){return arguments.length?(s=null==t?null:t,l):s},l}function U(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function q(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function V(t,e,n,r,i){var o=$(e,n),a=$(e,n=(n+i)/2),s=$(r,n),l=$(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],l[0],l[1])}var H={draw:function(t,e){var n=Math.sqrt(e/h);t.moveTo(n,0),t.arc(0,0,n,0,f)}},G={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},W=Math.sqrt(1/3),X=2*W,Y={draw:function(t,e){var n=Math.sqrt(e/X),r=n*W;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},Z=Math.sin(h/10)/Math.sin(7*h/10),K=Math.sin(f/10)*Z,J=-Math.cos(f/10)*Z,Q={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=K*n,i=J*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=f*o/5,s=Math.cos(a),l=Math.sin(a);t.lineTo(l*n,-s*n),t.lineTo(s*r-l*i,l*r+s*i)}t.closePath()}},tt={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},et=Math.sqrt(3),nt={draw:function(t,e){var n=-Math.sqrt(e/(3*et));t.moveTo(0,2*n),t.lineTo(-et*n,-n),t.lineTo(et*n,-n),t.closePath()}},rt=-.5,it=Math.sqrt(3)/2,ot=1/Math.sqrt(12),at=3*(ot/2+1),st={draw:function(t,e){var n=Math.sqrt(e/at),r=n/2,i=n*ot,o=r,a=n*ot+n,s=-o,l=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,l),t.lineTo(rt*r-it*i,it*r+rt*i),t.lineTo(rt*o-it*a,it*o+rt*a),t.lineTo(rt*s-it*l,it*s+rt*l),t.lineTo(rt*r+it*i,rt*i-it*r),t.lineTo(rt*o+it*a,rt*a-it*o),t.lineTo(rt*s+it*l,rt*l-it*s),t.closePath()}},lt=[H,G,Y,tt,Q,nt,st];function ut(){}function ct(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function ht(t){this._context=t}function pt(t){this._context=t}function ft(t){this._context=t}function dt(t,e){this._basis=new ht(t),this._beta=e}ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ct(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ct(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},pt.prototype={areaStart:ut,areaEnd:ut,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:ct(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:ct(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},dt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*t[l]+(1-this._beta)*(i+r*a),this._beta*e[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var mt=function t(e){function n(t){return 1===e?new ht(t):new dt(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function vt(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function gt(t,e){this._context=t,this._k=(1-e)/6}gt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:vt(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:vt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var yt=function t(e){function n(t){return new gt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function _t(t,e){this._context=t,this._k=(1-e)/6}_t.prototype={areaStart:ut,areaEnd:ut,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:vt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var bt=function t(e){function n(t){return new _t(t,e)}return n.tension=function(e){return t(+e)},n}(0);function xt(t,e){this._context=t,this._k=(1-e)/6}xt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:vt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var wt=function t(e){function n(t){return new xt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function At(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>c){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>c){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*u+t._x1*t._l23_2a-e*t._l12_2a)/h,a=(a*u+t._y1*t._l23_2a-n*t._l12_2a)/h}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Ct(t,e){this._context=t,this._alpha=e}Ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:At(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Mt=function t(e){function n(t){return e?new Ct(t,e):new gt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Et(t,e){this._context=t,this._alpha=e}Et.prototype={areaStart:ut,areaEnd:ut,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:At(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Tt=function t(e){function n(t){return e?new Et(t,e):new _t(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function St(t,e){this._context=t,this._alpha=e}St.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:At(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var kt=function t(e){function n(t){return e?new St(t,e):new xt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Ot(t){this._context=t}function It(t){return t<0?-1:1}function Lt(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(It(o)+It(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Pt(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function zt(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function Rt(t){this._context=t}function Dt(t){this._context=new $t(t)}function $t(t){this._context=t}function Bt(t){this._context=t}function Nt(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function Ft(t,e){this._context=t,this._t=e}function jt(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Ut(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function qt(t,e){return t[e]}function Vt(t){var e=t.map(Ht);return Ut(t).sort((function(t,n){return e[t]-e[n]}))}function Ht(t){for(var e,n=-1,r=0,i=t.length,o=-1/0;++n<i;)(e=+t[n][1])>o&&(o=e,r=n);return r}function Gt(t){var e=t.map(Wt);return Ut(t).sort((function(t,n){return e[t]-e[n]}))}function Wt(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}Ot.prototype={areaStart:ut,areaEnd:ut,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:zt(this,this._t0,Pt(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,zt(this,Pt(this,n=Lt(this,t,e)),n);break;default:zt(this,this._t0,n=Lt(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Dt.prototype=Object.create(Rt.prototype)).point=function(t,e){Rt.prototype.point.call(this,e,t)},$t.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},Bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=Nt(t),i=Nt(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},Ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},t.arc=function(){var t=v,a=g,A=n(0),C=null,M=y,E=_,T=b,S=null;function k(){var n,v,g=+t.apply(this,arguments),y=+a.apply(this,arguments),_=M.apply(this,arguments)-p,b=E.apply(this,arguments)-p,k=r(b-_),O=b>_;if(S||(S=n=e.path()),y<g&&(v=y,y=g,g=v),y>c)if(k>f-c)S.moveTo(y*o(_),y*l(_)),S.arc(0,0,y,_,b,!O),g>c&&(S.moveTo(g*o(b),g*l(b)),S.arc(0,0,g,b,_,O));else{var I,L,P=_,z=b,R=_,D=b,$=k,B=k,N=T.apply(this,arguments)/2,F=N>c&&(C?+C.apply(this,arguments):u(g*g+y*y)),j=s(r(y-g)/2,+A.apply(this,arguments)),U=j,q=j;if(F>c){var V=m(F/g*l(N)),H=m(F/y*l(N));($-=2*V)>c?(R+=V*=O?1:-1,D-=V):($=0,R=D=(_+b)/2),(B-=2*H)>c?(P+=H*=O?1:-1,z-=H):(B=0,P=z=(_+b)/2)}var G=y*o(P),W=y*l(P),X=g*o(D),Y=g*l(D);if(j>c){var Z,K=y*o(z),J=y*l(z),Q=g*o(R),tt=g*l(R);if(k<h&&(Z=x(G,W,Q,tt,K,J,X,Y))){var et=G-Z[0],nt=W-Z[1],rt=K-Z[0],it=J-Z[1],ot=1/l(d((et*rt+nt*it)/(u(et*et+nt*nt)*u(rt*rt+it*it)))/2),at=u(Z[0]*Z[0]+Z[1]*Z[1]);U=s(j,(g-at)/(ot-1)),q=s(j,(y-at)/(ot+1))}}B>c?q>c?(I=w(Q,tt,G,W,y,q,O),L=w(K,J,X,Y,y,q,O),S.moveTo(I.cx+I.x01,I.cy+I.y01),q<j?S.arc(I.cx,I.cy,q,i(I.y01,I.x01),i(L.y01,L.x01),!O):(S.arc(I.cx,I.cy,q,i(I.y01,I.x01),i(I.y11,I.x11),!O),S.arc(0,0,y,i(I.cy+I.y11,I.cx+I.x11),i(L.cy+L.y11,L.cx+L.x11),!O),S.arc(L.cx,L.cy,q,i(L.y11,L.x11),i(L.y01,L.x01),!O))):(S.moveTo(G,W),S.arc(0,0,y,P,z,!O)):S.moveTo(G,W),g>c&&$>c?U>c?(I=w(X,Y,K,J,g,-U,O),L=w(G,W,Q,tt,g,-U,O),S.lineTo(I.cx+I.x01,I.cy+I.y01),U<j?S.arc(I.cx,I.cy,U,i(I.y01,I.x01),i(L.y01,L.x01),!O):(S.arc(I.cx,I.cy,U,i(I.y01,I.x01),i(I.y11,I.x11),!O),S.arc(0,0,g,i(I.cy+I.y11,I.cx+I.x11),i(L.cy+L.y11,L.cx+L.x11),O),S.arc(L.cx,L.cy,U,i(L.y11,L.x11),i(L.y01,L.x01),!O))):S.arc(0,0,g,D,R,O):S.lineTo(X,Y)}else S.moveTo(0,0);if(S.closePath(),n)return S=null,n+\\\"\\\"||null}return k.centroid=function(){var e=(+t.apply(this,arguments)+ +a.apply(this,arguments))/2,n=(+M.apply(this,arguments)+ +E.apply(this,arguments))/2-h/2;return[o(n)*e,l(n)*e]},k.innerRadius=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:n(+e),k):t},k.outerRadius=function(t){return arguments.length?(a=\\\"function\\\"==typeof t?t:n(+t),k):a},k.cornerRadius=function(t){return arguments.length?(A=\\\"function\\\"==typeof t?t:n(+t),k):A},k.padRadius=function(t){return arguments.length?(C=null==t?null:\\\"function\\\"==typeof t?t:n(+t),k):C},k.startAngle=function(t){return arguments.length?(M=\\\"function\\\"==typeof t?t:n(+t),k):M},k.endAngle=function(t){return arguments.length?(E=\\\"function\\\"==typeof t?t:n(+t),k):E},k.padAngle=function(t){return arguments.length?(T=\\\"function\\\"==typeof t?t:n(+t),k):T},k.context=function(t){return arguments.length?(S=null==t?null:t,k):S},k},t.area=S,t.areaRadial=D,t.curveBasis=function(t){return new ht(t)},t.curveBasisClosed=function(t){return new pt(t)},t.curveBasisOpen=function(t){return new ft(t)},t.curveBundle=mt,t.curveCardinal=yt,t.curveCardinalClosed=bt,t.curveCardinalOpen=wt,t.curveCatmullRom=Mt,t.curveCatmullRomClosed=Tt,t.curveCatmullRomOpen=kt,t.curveLinear=C,t.curveLinearClosed=function(t){return new Ot(t)},t.curveMonotoneX=function(t){return new Rt(t)},t.curveMonotoneY=function(t){return new Dt(t)},t.curveNatural=function(t){return new Bt(t)},t.curveStep=function(t){return new Ft(t,.5)},t.curveStepAfter=function(t){return new Ft(t,1)},t.curveStepBefore=function(t){return new Ft(t,0)},t.line=T,t.lineRadial=R,t.linkHorizontal=function(){return j(U)},t.linkRadial=function(){var t=j(V);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.linkVertical=function(){return j(q)},t.pie=function(){var t=O,e=k,r=null,i=n(0),o=n(f),a=n(0);function s(n){var s,l,u,c,h,p=n.length,d=0,m=new Array(p),v=new Array(p),g=+i.apply(this,arguments),y=Math.min(f,Math.max(-f,o.apply(this,arguments)-g)),_=Math.min(Math.abs(y)/p,a.apply(this,arguments)),b=_*(y<0?-1:1);for(s=0;s<p;++s)(h=v[m[s]=s]=+t(n[s],s,n))>0&&(d+=h);for(null!=e?m.sort((function(t,n){return e(v[t],v[n])})):null!=r&&m.sort((function(t,e){return r(n[t],n[e])})),s=0,u=d?(y-p*b)/d:0;s<p;++s,g=c)l=m[s],c=g+((h=v[l])>0?h*u:0)+b,v[l]={data:n[l],index:s,value:h,startAngle:g,endAngle:c,padAngle:_};return v}return s.value=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:n(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,r=null,s):e},s.sort=function(t){return arguments.length?(r=t,e=null,s):r},s.startAngle=function(t){return arguments.length?(i=\\\"function\\\"==typeof t?t:n(+t),s):i},s.endAngle=function(t){return arguments.length?(o=\\\"function\\\"==typeof t?t:n(+t),s):o},s.padAngle=function(t){return arguments.length?(a=\\\"function\\\"==typeof t?t:n(+t),s):a},s},t.pointRadial=$,t.radialArea=D,t.radialLine=R,t.stack=function(){var t=n([]),e=Ut,r=jt,i=qt;function o(n){var o,a,s=t.apply(this,arguments),l=n.length,u=s.length,c=new Array(u);for(o=0;o<u;++o){for(var h,p=s[o],f=c[o]=new Array(l),d=0;d<l;++d)f[d]=h=[0,+i(n[d],p,d,n)],h.data=n[d];f.key=p}for(o=0,a=e(c);o<u;++o)c[a[o]].index=o;return r(c,a),c}return o.keys=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:n(B.call(e)),o):t},o.value=function(t){return arguments.length?(i=\\\"function\\\"==typeof t?t:n(+t),o):i},o.order=function(t){return arguments.length?(e=null==t?Ut:\\\"function\\\"==typeof t?t:n(B.call(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?jt:t,o):r},o},t.stackOffsetDiverging=function(t,e){if((s=t.length)>0)for(var n,r,i,o,a,s,l=0,u=t[e[0]].length;l<u;++l)for(o=a=0,n=0;n<s;++n)(i=(r=t[e[n]][l])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},t.stackOffsetExpand=function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}jt(t,e)}},t.stackOffsetNone=jt,t.stackOffsetSilhouette=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}jt(t,e)}},t.stackOffsetWiggle=function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,l=0,u=0;s<i;++s){for(var c=t[e[s]],h=c[a][1]||0,p=(h-(c[a-1][1]||0))/2,f=0;f<s;++f){var d=t[e[f]];p+=(d[a][1]||0)-(d[a-1][1]||0)}l+=h,u+=p*h}n[a-1][1]+=n[a-1][0]=o,l&&(o-=u/l)}n[a-1][1]+=n[a-1][0]=o,jt(t,e)}},t.stackOrderAppearance=Vt,t.stackOrderAscending=Gt,t.stackOrderDescending=function(t){return Gt(t).reverse()},t.stackOrderInsideOut=function(t){var e,n,r=t.length,i=t.map(Wt),o=Vt(t),a=0,s=0,l=[],u=[];for(e=0;e<r;++e)n=o[e],a<s?(a+=i[n],l.push(n)):(s+=i[n],u.push(n));return u.reverse().concat(l)},t.stackOrderNone=Ut,t.stackOrderReverse=function(t){return Ut(t).reverse()},t.symbol=function(){var t=n(H),r=n(64),i=null;function o(){var n;if(i||(i=n=e.path()),t.apply(this,arguments).draw(i,+r.apply(this,arguments)),n)return i=null,n+\\\"\\\"||null}return o.type=function(e){return arguments.length?(t=\\\"function\\\"==typeof e?e:n(e),o):t},o.size=function(t){return arguments.length?(r=\\\"function\\\"==typeof t?t:n(+t),o):r},o.context=function(t){return arguments.length?(i=null==t?null:t,o):i},o},t.symbolCircle=H,t.symbolCross=G,t.symbolDiamond=Y,t.symbolSquare=tt,t.symbolStar=Q,t.symbolTriangle=nt,t.symbolWye=st,t.symbols=lt,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},\\\"object\\\"==typeof n&&void 0!==e?i(n,t(\\\"d3-path\\\")):i((r=r||self).d3=r.d3||{},r.d3)},{\\\"d3-path\\\":160}],163:[function(t,e,n){var r,i;r=this,i=function(t){\\\"use strict\\\";var e,n,r=0,i=0,o=0,a=0,s=0,l=0,u=\\\"object\\\"==typeof performance&&performance.now?performance:Date,c=\\\"object\\\"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function h(){return s||(c(p),s=u.now()+l)}function p(){s=0}function f(){this._call=this._time=this._next=null}function d(t,e,n){var r=new f;return r.restart(t,e,n),r}function m(){h(),++r;for(var t,n=e;n;)(t=s-n._time)>=0&&n._call.call(null,t),n=n._next;--r}function v(){s=(a=u.now())+l,r=i=0;try{m()}finally{r=0,function(){for(var t,r,i=e,o=1/0;i;)i._call?(o>i._time&&(o=i._time),t=i,i=i._next):(r=i._next,i._next=null,i=t?t._next=r:e=r);n=t,y(o)}(),s=0}}function g(){var t=u.now(),e=t-a;e>1e3&&(l-=e,a=t)}function y(t){r||(i&&(i=clearTimeout(i)),t-s>24?(t<1/0&&(i=setTimeout(v,t-u.now()-l)),o&&(o=clearInterval(o))):(o||(a=u.now(),o=setInterval(g,1e3)),r=1,c(v)))}f.prototype=d.prototype={constructor:f,restart:function(t,r,i){if(\\\"function\\\"!=typeof t)throw new TypeError(\\\"callback is not a function\\\");i=(null==i?h():+i)+(null==r?0:+r),this._next||n===this||(n?n._next=this:e=this,n=this),this._call=t,this._time=i,y()},stop:function(){this._call&&(this._call=null,this._time=1/0,y())}},t.interval=function(t,e,n){var r=new f,i=e;return null==e?(r.restart(t,e,n),r):(e=+e,n=null==n?h():+n,r.restart((function o(a){a+=i,r.restart(o,i+=e,n),t(a)}),e,n),r)},t.now=h,t.timeout=function(t,e,n){var r=new f;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r},t.timer=d,t.timerFlush=m,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},i(\\\"object\\\"==typeof n&&void 0!==e?n:(r=r||self).d3=r.d3||{})},{}],164:[function(t,e,n){!function(){var t={version:\\\"3.5.17\\\"},n=[].slice,r=function(t){return n.call(t)},i=this.document;function o(t){return t&&(t.ownerDocument||t.document||t).documentElement}function a(t){return t&&(t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView)}if(i)try{r(i.documentElement.childNodes)[0].nodeType}catch(t){r=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}if(Date.now||(Date.now=function(){return+new Date}),i)try{i.createElement(\\\"DIV\\\").style.setProperty(\\\"opacity\\\",0,\\\"\\\")}catch(t){var s=this.Element.prototype,l=s.setAttribute,u=s.setAttributeNS,c=this.CSSStyleDeclaration.prototype,h=c.setProperty;s.setAttribute=function(t,e){l.call(this,t,e+\\\"\\\")},s.setAttributeNS=function(t,e,n){u.call(this,t,e,n+\\\"\\\")},c.setProperty=function(t,e,n){h.call(this,t,e+\\\"\\\",n)}}function p(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function f(t){return null===t?NaN:+t}function d(t){return!isNaN(t)}function m(t){return{left:function(e,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}}t.ascending=p,t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.min=function(t,e){var n,r,i=-1,o=t.length;if(1===arguments.length){for(;++i<o;)if(null!=(r=t[i])&&r>=r){n=r;break}for(;++i<o;)null!=(r=t[i])&&n>r&&(n=r)}else{for(;++i<o;)if(null!=(r=e.call(t,t[i],i))&&r>=r){n=r;break}for(;++i<o;)null!=(r=e.call(t,t[i],i))&&n>r&&(n=r)}return n},t.max=function(t,e){var n,r,i=-1,o=t.length;if(1===arguments.length){for(;++i<o;)if(null!=(r=t[i])&&r>=r){n=r;break}for(;++i<o;)null!=(r=t[i])&&r>n&&(n=r)}else{for(;++i<o;)if(null!=(r=e.call(t,t[i],i))&&r>=r){n=r;break}for(;++i<o;)null!=(r=e.call(t,t[i],i))&&r>n&&(n=r)}return n},t.extent=function(t,e){var n,r,i,o=-1,a=t.length;if(1===arguments.length){for(;++o<a;)if(null!=(r=t[o])&&r>=r){n=i=r;break}for(;++o<a;)null!=(r=t[o])&&(n>r&&(n=r),i<r&&(i=r))}else{for(;++o<a;)if(null!=(r=e.call(t,t[o],o))&&r>=r){n=i=r;break}for(;++o<a;)null!=(r=e.call(t,t[o],o))&&(n>r&&(n=r),i<r&&(i=r))}return[n,i]},t.sum=function(t,e){var n,r=0,i=t.length,o=-1;if(1===arguments.length)for(;++o<i;)d(n=+t[o])&&(r+=n);else for(;++o<i;)d(n=+e.call(t,t[o],o))&&(r+=n);return r},t.mean=function(t,e){var n,r=0,i=t.length,o=-1,a=i;if(1===arguments.length)for(;++o<i;)d(n=f(t[o]))?r+=n:--a;else for(;++o<i;)d(n=f(e.call(t,t[o],o)))?r+=n:--a;if(a)return r/a},t.quantile=function(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i},t.median=function(e,n){var r,i=[],o=e.length,a=-1;if(1===arguments.length)for(;++a<o;)d(r=f(e[a]))&&i.push(r);else for(;++a<o;)d(r=f(n.call(e,e[a],a)))&&i.push(r);if(i.length)return t.quantile(i.sort(p),.5)},t.variance=function(t,e){var n,r,i=t.length,o=0,a=0,s=-1,l=0;if(1===arguments.length)for(;++s<i;)d(n=f(t[s]))&&(a+=(r=n-o)*(n-(o+=r/++l)));else for(;++s<i;)d(n=f(e.call(t,t[s],s)))&&(a+=(r=n-o)*(n-(o+=r/++l)));if(l>1)return a/(l-1)},t.deviation=function(){var e=t.variance.apply(this,arguments);return e?Math.sqrt(e):e};var v=m(p);function g(t){return t.length}t.bisectLeft=v.left,t.bisect=t.bisectRight=v.right,t.bisector=function(t){return m(1===t.length?function(e,n){return p(t(e),n)}:t)},t.shuffle=function(t,e,n){(o=arguments.length)<3&&(n=t.length,o<2&&(e=0));for(var r,i,o=n-e;o;)i=Math.random()*o--|0,r=t[o+e],t[o+e]=t[i+e],t[i+e]=r;return t},t.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},t.pairs=function(t){for(var e=0,n=t.length-1,r=t[0],i=new Array(n<0?0:n);e<n;)i[e]=[r,r=t[++e]];return i},t.transpose=function(e){if(!(o=e.length))return[];for(var n=-1,r=t.min(e,g),i=new Array(r);++n<r;)for(var o,a=-1,s=i[n]=new Array(o);++a<o;)s[a]=e[a][n];return i},t.zip=function(){return t.transpose(arguments)},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e},t.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},t.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},t.merge=function(t){for(var e,n,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(n=new Array(a);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--a]=r[e];return n};var y=Math.abs;function _(t){for(var e=1;t*e%1;)e*=10;return e}function b(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function x(){this._=Object.create(null)}function w(t){return\\\"__proto__\\\"==(t+=\\\"\\\")||\\\"\\\\0\\\"===t[0]?\\\"\\\\0\\\"+t:t}function A(t){return\\\"\\\\0\\\"===(t+=\\\"\\\")[0]?t.slice(1):t}function C(t){return w(t)in this._}function M(t){return(t=w(t))in this._&&delete this._[t]}function E(){var t=[];for(var e in this._)t.push(A(e));return t}function T(){var t=0;for(var e in this._)++t;return t}function S(){for(var t in this._)return!1;return!0}function k(){this._=Object.create(null)}function O(t){return t}function I(t,e,n){return function(){var r=n.apply(e,arguments);return r===e?t:r}}function L(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var n=0,r=P.length;n<r;++n){var i=P[n]+e;if(i in t)return i}}t.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t=0)),(e-t)/n==1/0)throw new Error(\\\"infinite range\\\");var r,i=[],o=_(y(n)),a=-1;if(t*=o,e*=o,(n*=o)<0)for(;(r=t+n*++a)>e;)i.push(r/o);else for(;(r=t+n*++a)<e;)i.push(r/o);return i},t.map=function(t,e){var n=new x;if(t instanceof x)t.forEach((function(t,e){n.set(t,e)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(1===arguments.length)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e.call(t,r=t[i],i),r)}else for(var a in t)n.set(a,t[a]);return n},b(x,{has:C,get:function(t){return this._[w(t)]},set:function(t,e){return this._[w(t)]=e},remove:M,keys:E,values:function(){var t=[];for(var e in this._)t.push(this._[e]);return t},entries:function(){var t=[];for(var e in this._)t.push({key:A(e),value:this._[e]});return t},size:T,empty:S,forEach:function(t){for(var e in this._)t.call(this,A(e),this._[e])}}),t.nest=function(){var e,n,r={},i=[],o=[];function a(t,o,s){if(s>=i.length)return n?n.call(r,o):e?o.sort(e):o;for(var l,u,c,h,p=-1,f=o.length,d=i[s++],m=new x;++p<f;)(h=m.get(l=d(u=o[p])))?h.push(u):m.set(l,[u]);return t?(u=t(),c=function(e,n){u.set(e,a(t,n,s))}):(u={},c=function(e,n){u[e]=a(t,n,s)}),m.forEach(c),u}function s(t,e){if(e>=i.length)return t;var n=[],r=o[e++];return t.forEach((function(t,r){n.push({key:t,values:s(r,e)})})),r?n.sort((function(t,e){return r(t.key,e.key)})):n}return r.map=function(t,e){return a(e,t,0)},r.entries=function(e){return s(a(t.map,e,0),0)},r.key=function(t){return i.push(t),r},r.sortKeys=function(t){return o[i.length-1]=t,r},r.sortValues=function(t){return e=t,r},r.rollup=function(t){return n=t,r},r},t.set=function(t){var e=new k;if(t)for(var n=0,r=t.length;n<r;++n)e.add(t[n]);return e},b(k,{has:C,add:function(t){return this._[w(t+=\\\"\\\")]=!0,t},remove:M,values:E,size:T,empty:S,forEach:function(t){for(var e in this._)t.call(this,A(e))}}),t.behavior={},t.rebind=function(t,e){for(var n,r=1,i=arguments.length;++r<i;)t[n=arguments[r]]=I(t,e,e[n]);return t};var P=[\\\"webkit\\\",\\\"ms\\\",\\\"moz\\\",\\\"Moz\\\",\\\"o\\\",\\\"O\\\"];function z(){}function R(){}function D(t){var e=[],n=new x;function r(){for(var n,r=e,i=-1,o=r.length;++i<o;)(n=r[i].on)&&n.apply(this,arguments);return t}return r.on=function(r,i){var o,a=n.get(r);return arguments.length<2?a&&a.on:(a&&(a.on=null,e=e.slice(0,o=e.indexOf(a)).concat(e.slice(o+1)),n.remove(r)),i&&e.push(n.set(r,{on:i})),t)},r}function $(){t.event.preventDefault()}function B(){for(var e,n=t.event;e=n.sourceEvent;)n=e;return n}function N(e){for(var n=new R,r=0,i=arguments.length;++r<i;)n[arguments[r]]=D(n);return n.of=function(r,i){return function(o){try{var a=o.sourceEvent=t.event;o.target=e,t.event=o,n[o.type].apply(r,i)}finally{t.event=a}}},n}t.dispatch=function(){for(var t=new R,e=-1,n=arguments.length;++e<n;)t[arguments[e]]=D(t);return t},R.prototype.on=function(t,e){var n=t.indexOf(\\\".\\\"),r=\\\"\\\";if(n>=0&&(r=t.slice(n+1),t=t.slice(0,n)),t)return arguments.length<2?this[t].on(r):this[t].on(r,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(r,null);return this}},t.event=null,t.requote=function(t){return t.replace(F,\\\"\\\\\\\\$&\\\")};var F=/[\\\\\\\\\\\\^\\\\$\\\\*\\\\+\\\\?\\\\|\\\\[\\\\]\\\\(\\\\)\\\\.\\\\{\\\\}]/g,j={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]};function U(t){return j(t,G),t}var q=function(t,e){return e.querySelector(t)},V=function(t,e){return e.querySelectorAll(t)},H=function(t,e){var n=t.matches||t[L(t,\\\"matchesSelector\\\")];return H=function(t,e){return n.call(t,e)},H(t,e)};\\\"function\\\"==typeof Sizzle&&(q=function(t,e){return Sizzle(t,e)[0]||null},V=Sizzle,H=Sizzle.matchesSelector),t.selection=function(){return t.select(i.documentElement)};var G=t.selection.prototype=[];function W(t){return\\\"function\\\"==typeof t?t:function(){return q(t,this)}}function X(t){return\\\"function\\\"==typeof t?t:function(){return V(t,this)}}G.select=function(t){var e,n,r,i,o=[];t=W(t);for(var a=-1,s=this.length;++a<s;){o.push(e=[]),e.parentNode=(r=this[a]).parentNode;for(var l=-1,u=r.length;++l<u;)(i=r[l])?(e.push(n=t.call(i,i.__data__,l,a)),n&&\\\"__data__\\\"in i&&(n.__data__=i.__data__)):e.push(null)}return U(o)},G.selectAll=function(t){var e,n,i=[];t=X(t);for(var o=-1,a=this.length;++o<a;)for(var s=this[o],l=-1,u=s.length;++l<u;)(n=s[l])&&(i.push(e=r(t.call(n,n.__data__,l,o))),e.parentNode=n);return U(i)};var Y=\\\"http://www.w3.org/1999/xhtml\\\",Z={svg:\\\"http://www.w3.org/2000/svg\\\",xhtml:Y,xlink:\\\"http://www.w3.org/1999/xlink\\\",xml:\\\"http://www.w3.org/XML/1998/namespace\\\",xmlns:\\\"http://www.w3.org/2000/xmlns/\\\"};function K(e,n){return e=t.ns.qualify(e),null==n?e.local?function(){this.removeAttributeNS(e.space,e.local)}:function(){this.removeAttribute(e)}:\\\"function\\\"==typeof n?e.local?function(){var t=n.apply(this,arguments);null==t?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,t)}:function(){var t=n.apply(this,arguments);null==t?this.removeAttribute(e):this.setAttribute(e,t)}:e.local?function(){this.setAttributeNS(e.space,e.local,n)}:function(){this.setAttribute(e,n)}}function J(t){return t.trim().replace(/\\\\s+/g,\\\" \\\")}function Q(e){return new RegExp(\\\"(?:^|\\\\\\\\s+)\\\"+t.requote(e)+\\\"(?:\\\\\\\\s+|$)\\\",\\\"g\\\")}function tt(t){return(t+\\\"\\\").trim().split(/^|\\\\s+/)}function et(t,e){var n=(t=tt(t).map(nt)).length;return\\\"function\\\"==typeof e?function(){for(var r=-1,i=e.apply(this,arguments);++r<n;)t[r](this,i)}:function(){for(var r=-1;++r<n;)t[r](this,e)}}function nt(t){var e=Q(t);return function(n,r){if(i=n.classList)return r?i.add(t):i.remove(t);var i=n.getAttribute(\\\"class\\\")||\\\"\\\";r?(e.lastIndex=0,e.test(i)||n.setAttribute(\\\"class\\\",J(i+\\\" \\\"+t))):n.setAttribute(\\\"class\\\",J(i.replace(e,\\\" \\\")))}}function rt(t,e,n){return null==e?function(){this.style.removeProperty(t)}:\\\"function\\\"==typeof e?function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}:function(){this.style.setProperty(t,e,n)}}function it(t,e){return null==e?function(){delete this[t]}:\\\"function\\\"==typeof e?function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}:function(){this[t]=e}}function ot(e){return\\\"function\\\"==typeof e?e:(e=t.ns.qualify(e)).local?function(){return this.ownerDocument.createElementNS(e.space,e.local)}:function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Y&&t.documentElement.namespaceURI===Y?t.createElement(e):t.createElementNS(n,e)}}function at(){var t=this.parentNode;t&&t.removeChild(this)}function st(t){return{__data__:t}}function lt(t){return function(){return H(this,t)}}function ut(t){return arguments.length||(t=p),function(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}}function ct(t,e){for(var n=0,r=t.length;n<r;n++)for(var i,o=t[n],a=0,s=o.length;a<s;a++)(i=o[a])&&e(i,a,n);return t}function ht(t){return j(t,pt),t}t.ns={prefix:Z,qualify:function(t){var e=t.indexOf(\\\":\\\"),n=t;return e>=0&&\\\"xmlns\\\"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Z.hasOwnProperty(n)?{space:Z[n],local:t}:t}},G.attr=function(e,n){if(arguments.length<2){if(\\\"string\\\"==typeof e){var r=this.node();return(e=t.ns.qualify(e)).local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}for(n in e)this.each(K(n,e[n]));return this}return this.each(K(e,n))},G.classed=function(t,e){if(arguments.length<2){if(\\\"string\\\"==typeof t){var n=this.node(),r=(t=tt(t)).length,i=-1;if(e=n.classList){for(;++i<r;)if(!e.contains(t[i]))return!1}else for(e=n.getAttribute(\\\"class\\\");++i<r;)if(!Q(t[i]).test(e))return!1;return!0}for(e in t)this.each(et(e,t[e]));return this}return this.each(et(t,e))},G.style=function(t,e,n){var r=arguments.length;if(r<3){if(\\\"string\\\"!=typeof t){for(n in r<2&&(e=\\\"\\\"),t)this.each(rt(n,t[n],e));return this}if(r<2){var i=this.node();return a(i).getComputedStyle(i,null).getPropertyValue(t)}n=\\\"\\\"}return this.each(rt(t,e,n))},G.property=function(t,e){if(arguments.length<2){if(\\\"string\\\"==typeof t)return this.node()[t];for(e in t)this.each(it(e,t[e]));return this}return this.each(it(t,e))},G.text=function(t){return arguments.length?this.each(\\\"function\\\"==typeof t?function(){var e=t.apply(this,arguments);this.textContent=null==e?\\\"\\\":e}:null==t?function(){this.textContent=\\\"\\\"}:function(){this.textContent=t}):this.node().textContent},G.html=function(t){return arguments.length?this.each(\\\"function\\\"==typeof t?function(){var e=t.apply(this,arguments);this.innerHTML=null==e?\\\"\\\":e}:null==t?function(){this.innerHTML=\\\"\\\"}:function(){this.innerHTML=t}):this.node().innerHTML},G.append=function(t){return t=ot(t),this.select((function(){return this.appendChild(t.apply(this,arguments))}))},G.insert=function(t,e){return t=ot(t),e=W(e),this.select((function(){return this.insertBefore(t.apply(this,arguments),e.apply(this,arguments)||null)}))},G.remove=function(){return this.each(at)},G.data=function(t,e){var n,r,i=-1,o=this.length;if(!arguments.length){for(t=new Array(o=(n=this[0]).length);++i<o;)(r=n[i])&&(t[i]=r.__data__);return t}function a(t,n){var r,i,o,a=t.length,c=n.length,h=Math.min(a,c),p=new Array(c),f=new Array(c),d=new Array(a);if(e){var m,v=new x,g=new Array(a);for(r=-1;++r<a;)(i=t[r])&&(v.has(m=e.call(i,i.__data__,r))?d[r]=i:v.set(m,i),g[r]=m);for(r=-1;++r<c;)(i=v.get(m=e.call(n,o=n[r],r)))?!0!==i&&(p[r]=i,i.__data__=o):f[r]=st(o),v.set(m,!0);for(r=-1;++r<a;)r in g&&!0!==v.get(g[r])&&(d[r]=t[r])}else{for(r=-1;++r<h;)i=t[r],o=n[r],i?(i.__data__=o,p[r]=i):f[r]=st(o);for(;r<c;++r)f[r]=st(n[r]);for(;r<a;++r)d[r]=t[r]}f.update=p,f.parentNode=p.parentNode=d.parentNode=t.parentNode,s.push(f),l.push(p),u.push(d)}var s=ht([]),l=U([]),u=U([]);if(\\\"function\\\"==typeof t)for(;++i<o;)a(n=this[i],t.call(n,n.parentNode.__data__,i));else for(;++i<o;)a(n=this[i],t);return l.enter=function(){return s},l.exit=function(){return u},l},G.datum=function(t){return arguments.length?this.property(\\\"__data__\\\",t):this.property(\\\"__data__\\\")},G.filter=function(t){var e,n,r,i=[];\\\"function\\\"!=typeof t&&(t=lt(t));for(var o=0,a=this.length;o<a;o++){i.push(e=[]),e.parentNode=(n=this[o]).parentNode;for(var s=0,l=n.length;s<l;s++)(r=n[s])&&t.call(r,r.__data__,s,o)&&e.push(r)}return U(i)},G.order=function(){for(var t=-1,e=this.length;++t<e;)for(var n,r=this[t],i=r.length-1,o=r[i];--i>=0;)(n=r[i])&&(o&&o!==n.nextSibling&&o.parentNode.insertBefore(n,o),o=n);return this},G.sort=function(t){t=ut.apply(this,arguments);for(var e=-1,n=this.length;++e<n;)this[e].sort(t);return this.order()},G.each=function(t){return ct(this,(function(e,n,r){t.call(e,e.__data__,n,r)}))},G.call=function(t){var e=r(arguments);return t.apply(e[0]=this,e),this},G.empty=function(){return!this.node()},G.node=function(){for(var t=0,e=this.length;t<e;t++)for(var n=this[t],r=0,i=n.length;r<i;r++){var o=n[r];if(o)return o}return null},G.size=function(){var t=0;return ct(this,(function(){++t})),t};var pt=[];function ft(t){var e,n;return function(r,i,o){var a,s=t[o].update,l=s.length;for(o!=n&&(n=o,e=0),i>=e&&(e=i+1);!(a=s[e])&&++e<l;);return a}}function dt(e,n,i){var o=\\\"__on\\\"+e,a=e.indexOf(\\\".\\\"),s=vt;a>0&&(e=e.slice(0,a));var l=mt.get(e);function u(){var t=this[o];t&&(this.removeEventListener(e,t,t.$),delete this[o])}return l&&(e=l,s=gt),a?n?function(){var t=s(n,r(arguments));u.call(this),this.addEventListener(e,this[o]=t,t.$=i),t._=n}:u:n?z:function(){var n,r=new RegExp(\\\"^__on([^.]+)\\\"+t.requote(e)+\\\"$\\\");for(var i in this)if(n=i.match(r)){var o=this[i];this.removeEventListener(n[1],o,o.$),delete this[i]}}}t.selection.enter=ht,t.selection.enter.prototype=pt,pt.append=G.append,pt.empty=G.empty,pt.node=G.node,pt.call=G.call,pt.size=G.size,pt.select=function(t){for(var e,n,r,i,o,a=[],s=-1,l=this.length;++s<l;){r=(i=this[s]).update,a.push(e=[]),e.parentNode=i.parentNode;for(var u=-1,c=i.length;++u<c;)(o=i[u])?(e.push(r[u]=n=t.call(i.parentNode,o.__data__,u,s)),n.__data__=o.__data__):e.push(null)}return U(a)},pt.insert=function(t,e){return arguments.length<2&&(e=ft(this)),G.insert.call(this,t,e)},t.select=function(t){var e;return\\\"string\\\"==typeof t?(e=[q(t,i)]).parentNode=i.documentElement:(e=[t]).parentNode=o(t),U([e])},t.selectAll=function(t){var e;return\\\"string\\\"==typeof t?(e=r(V(t,i))).parentNode=i.documentElement:(e=r(t)).parentNode=null,U([e])},G.on=function(t,e,n){var r=arguments.length;if(r<3){if(\\\"string\\\"!=typeof t){for(n in r<2&&(e=!1),t)this.each(dt(n,t[n],e));return this}if(r<2)return(r=this.node()[\\\"__on\\\"+t])&&r._;n=!1}return this.each(dt(t,e,n))};var mt=t.map({mouseenter:\\\"mouseover\\\",mouseleave:\\\"mouseout\\\"});function vt(e,n){return function(r){var i=t.event;t.event=r,n[0]=this.__data__;try{e.apply(this,n)}finally{t.event=i}}}function gt(t,e){var n=vt(t,e);return function(t){var e=this,r=t.relatedTarget;r&&(r===e||8&r.compareDocumentPosition(e))||n.call(e,t)}}i&&mt.forEach((function(t){\\\"on\\\"+t in i&&mt.remove(t)}));var yt,_t=0;function bt(e){var n=\\\".dragsuppress-\\\"+ ++_t,r=\\\"click\\\"+n,i=t.select(a(e)).on(\\\"touchmove\\\"+n,$).on(\\\"dragstart\\\"+n,$).on(\\\"selectstart\\\"+n,$);if(null==yt&&(yt=!(\\\"onselectstart\\\"in e)&&L(e.style,\\\"userSelect\\\")),yt){var s=o(e).style,l=s[yt];s[yt]=\\\"none\\\"}return function(t){if(i.on(n,null),yt&&(s[yt]=l),t){var e=function(){i.on(r,null)};i.on(r,(function(){$(),e()}),!0),setTimeout(e,0)}}}t.mouse=function(t){return wt(t,B())};var xt=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function wt(e,n){n.changedTouches&&(n=n.changedTouches[0]);var r=e.ownerSVGElement||e;if(r.createSVGPoint){var i=r.createSVGPoint();if(xt<0){var o=a(e);if(o.scrollX||o.scrollY){var s=(r=t.select(\\\"body\\\").append(\\\"svg\\\").style({position:\\\"absolute\\\",top:0,left:0,margin:0,padding:0,border:\\\"none\\\"},\\\"important\\\"))[0][0].getScreenCTM();xt=!(s.f||s.e),r.remove()}}return xt?(i.x=n.pageX,i.y=n.pageY):(i.x=n.clientX,i.y=n.clientY),[(i=i.matrixTransform(e.getScreenCTM().inverse())).x,i.y]}var l=e.getBoundingClientRect();return[n.clientX-l.left-e.clientLeft,n.clientY-l.top-e.clientTop]}function At(){return t.event.changedTouches[0].identifier}t.touch=function(t,e,n){if(arguments.length<3&&(n=e,e=B().changedTouches),e)for(var r,i=0,o=e.length;i<o;++i)if((r=e[i]).identifier===n)return wt(t,r)},t.behavior.drag=function(){var e=N(o,\\\"drag\\\",\\\"dragstart\\\",\\\"dragend\\\"),n=null,r=s(z,t.mouse,a,\\\"mousemove\\\",\\\"mouseup\\\"),i=s(At,t.touch,O,\\\"touchmove\\\",\\\"touchend\\\");function o(){this.on(\\\"mousedown.drag\\\",r).on(\\\"touchstart.drag\\\",i)}function s(r,i,o,a,s){return function(){var l,u=this,c=t.event.target.correspondingElement||t.event.target,h=u.parentNode,p=e.of(u,arguments),f=0,d=r(),m=\\\".drag\\\"+(null==d?\\\"\\\":\\\"-\\\"+d),v=t.select(o(c)).on(a+m,_).on(s+m,b),g=bt(c),y=i(h,d);function _(){var t,e,n=i(h,d);n&&(t=n[0]-y[0],e=n[1]-y[1],f|=t|e,y=n,p({type:\\\"drag\\\",x:n[0]+l[0],y:n[1]+l[1],dx:t,dy:e}))}function b(){i(h,d)&&(v.on(a+m,null).on(s+m,null),g(f),p({type:\\\"dragend\\\"}))}l=n?[(l=n.apply(u,arguments)).x-y[0],l.y-y[1]]:[0,0],p({type:\\\"dragstart\\\"})}}return o.origin=function(t){return arguments.length?(n=t,o):n},t.rebind(o,e,\\\"on\\\")},t.touches=function(t,e){return arguments.length<2&&(e=B().touches),e?r(e).map((function(e){var n=wt(t,e);return n.identifier=e.identifier,n})):[]};var Ct=1e-6,Mt=Ct*Ct,Et=Math.PI,Tt=2*Et,St=Tt-Ct,kt=Et/2,Ot=Et/180,It=180/Et;function Lt(t){return t>0?1:t<0?-1:0}function Pt(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function zt(t){return t>1?0:t<-1?Et:Math.acos(t)}function Rt(t){return t>1?kt:t<-1?-kt:Math.asin(t)}function Dt(t){return((t=Math.exp(t))+1/t)/2}function $t(t){return(t=Math.sin(t/2))*t}var Bt=Math.SQRT2;t.interpolateZoom=function(t,e){var n,r,i=t[0],o=t[1],a=t[2],s=e[0],l=e[1],u=e[2],c=s-i,h=l-o,p=c*c+h*h;if(p<Mt)r=Math.log(u/a)/Bt,n=function(t){return[i+t*c,o+t*h,a*Math.exp(Bt*t*r)]};else{var f=Math.sqrt(p),d=(u*u-a*a+4*p)/(2*a*2*f),m=(u*u-a*a-4*p)/(2*u*2*f),v=Math.log(Math.sqrt(d*d+1)-d),g=Math.log(Math.sqrt(m*m+1)-m);r=(g-v)/Bt,n=function(t){var e,n=t*r,s=Dt(v),l=a/(2*f)*(s*(e=Bt*n+v,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(v));return[i+l*c,o+l*h,a*s/Dt(Bt*n+v)]}}return n.duration=1e3*r,n},t.behavior.zoom=function(){var e,n,r,o,s,l,u,c,h,p={x:0,y:0,k:1},f=[960,500],d=jt,m=250,v=0,g=\\\"mousedown.zoom\\\",y=\\\"mousemove.zoom\\\",_=\\\"mouseup.zoom\\\",b=\\\"touchstart.zoom\\\",x=N(w,\\\"zoomstart\\\",\\\"zoom\\\",\\\"zoomend\\\");function w(t){t.on(g,I).on(Ft+\\\".zoom\\\",P).on(\\\"dblclick.zoom\\\",z).on(b,L)}function A(t){return[(t[0]-p.x)/p.k,(t[1]-p.y)/p.k]}function C(t){p.k=Math.max(d[0],Math.min(d[1],t))}function M(t,e){e=function(t){return[t[0]*p.k+p.x,t[1]*p.k+p.y]}(e),p.x+=t[0]-e[0],p.y+=t[1]-e[1]}function E(e,r,i,o){e.__chart__={x:p.x,y:p.y,k:p.k},C(Math.pow(2,o)),M(n=r,i),e=t.select(e),m>0&&(e=e.transition().duration(m)),e.call(w.event)}function T(){u&&u.domain(l.range().map((function(t){return(t-p.x)/p.k})).map(l.invert)),h&&h.domain(c.range().map((function(t){return(t-p.y)/p.k})).map(c.invert))}function S(t){v++||t({type:\\\"zoomstart\\\"})}function k(t){T(),t({type:\\\"zoom\\\",scale:p.k,translate:[p.x,p.y]})}function O(t){--v||(t({type:\\\"zoomend\\\"}),n=null)}function I(){var e=this,n=x.of(e,arguments),r=0,i=t.select(a(e)).on(y,l).on(_,u),o=A(t.mouse(e)),s=bt(e);function l(){r=1,M(t.mouse(e),o),k(n)}function u(){i.on(y,null).on(_,null),s(r),O(n)}Is.call(e),S(n)}function L(){var e,n=this,r=x.of(n,arguments),i={},o=0,a=\\\".zoom-\\\"+t.event.changedTouches[0].identifier,l=\\\"touchmove\\\"+a,u=\\\"touchend\\\"+a,c=[],h=t.select(n),f=bt(n);function d(){var r=t.touches(n);return e=p.k,r.forEach((function(t){t.identifier in i&&(i[t.identifier]=A(t))})),r}function m(){var e=t.event.target;t.select(e).on(l,v).on(u,y),c.push(e);for(var r=t.event.changedTouches,a=0,h=r.length;a<h;++a)i[r[a].identifier]=null;var f=d(),m=Date.now();if(1===f.length){if(m-s<500){var g=f[0];E(n,g,i[g.identifier],Math.floor(Math.log(p.k)/Math.LN2)+1),$()}s=m}else if(f.length>1){g=f[0];var _=f[1],b=g[0]-_[0],x=g[1]-_[1];o=b*b+x*x}}function v(){var a,l,u,c,h=t.touches(n);Is.call(n);for(var p=0,f=h.length;p<f;++p,c=null)if(u=h[p],c=i[u.identifier]){if(l)break;a=u,l=c}if(c){var d=(d=u[0]-a[0])*d+(d=u[1]-a[1])*d,m=o&&Math.sqrt(d/o);a=[(a[0]+u[0])/2,(a[1]+u[1])/2],l=[(l[0]+c[0])/2,(l[1]+c[1])/2],C(m*e)}s=null,M(a,l),k(r)}function y(){if(t.event.touches.length){for(var e=t.event.changedTouches,n=0,o=e.length;n<o;++n)delete i[e[n].identifier];for(var s in i)return void d()}t.selectAll(c).on(a,null),h.on(g,I).on(b,L),f(),O(r)}m(),S(r),h.on(g,null).on(b,m)}function P(){var i=x.of(this,arguments);o?clearTimeout(o):(Is.call(this),e=A(n=r||t.mouse(this)),S(i)),o=setTimeout((function(){o=null,O(i)}),50),$(),C(Math.pow(2,.002*Nt())*p.k),M(n,e),k(i)}function z(){var e=t.mouse(this),n=Math.log(p.k)/Math.LN2;E(this,e,A(e),t.event.shiftKey?Math.ceil(n)-1:Math.floor(n)+1)}return Ft||(Ft=\\\"onwheel\\\"in i?(Nt=function(){return-t.event.deltaY*(t.event.deltaMode?120:1)},\\\"wheel\\\"):\\\"onmousewheel\\\"in i?(Nt=function(){return t.event.wheelDelta},\\\"mousewheel\\\"):(Nt=function(){return-t.event.detail},\\\"MozMousePixelScroll\\\")),w.event=function(e){e.each((function(){var e=x.of(this,arguments),r=p;zs?t.select(this).transition().each(\\\"start.zoom\\\",(function(){p=this.__chart__||{x:0,y:0,k:1},S(e)})).tween(\\\"zoom:zoom\\\",(function(){var i=f[0],o=f[1],a=n?n[0]:i/2,s=n?n[1]:o/2,l=t.interpolateZoom([(a-p.x)/p.k,(s-p.y)/p.k,i/p.k],[(a-r.x)/r.k,(s-r.y)/r.k,i/r.k]);return function(t){var n=l(t),r=i/n[2];this.__chart__=p={x:a-n[0]*r,y:s-n[1]*r,k:r},k(e)}})).each(\\\"interrupt.zoom\\\",(function(){O(e)})).each(\\\"end.zoom\\\",(function(){O(e)})):(this.__chart__=p,S(e),k(e),O(e))}))},w.translate=function(t){return arguments.length?(p={x:+t[0],y:+t[1],k:p.k},T(),w):[p.x,p.y]},w.scale=function(t){return arguments.length?(p={x:p.x,y:p.y,k:null},C(+t),T(),w):p.k},w.scaleExtent=function(t){return arguments.length?(d=null==t?jt:[+t[0],+t[1]],w):d},w.center=function(t){return arguments.length?(r=t&&[+t[0],+t[1]],w):r},w.size=function(t){return arguments.length?(f=t&&[+t[0],+t[1]],w):f},w.duration=function(t){return arguments.length?(m=+t,w):m},w.x=function(t){return arguments.length?(u=t,l=t.copy(),p={x:0,y:0,k:1},w):u},w.y=function(t){return arguments.length?(h=t,c=t.copy(),p={x:0,y:0,k:1},w):h},t.rebind(w,x,\\\"on\\\")};var Nt,Ft,jt=[0,1/0];function Ut(){}function qt(t,e,n){return this instanceof qt?(this.h=+t,this.s=+e,void(this.l=+n)):arguments.length<2?t instanceof qt?new qt(t.h,t.s,t.l):ce(\\\"\\\"+t,he,qt):new qt(t,e,n)}t.color=Ut,Ut.prototype.toString=function(){return this.rgb()+\\\"\\\"},t.hsl=qt;var Vt=qt.prototype=new Ut;function Ht(t,e,n){var r,i;function o(t){return Math.round(255*function(t){return t>360?t-=360:t<0&&(t+=360),t<60?r+(i-r)*t/60:t<180?i:t<240?r+(i-r)*(240-t)/60:r}(t))}return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)||e<0?0:e>1?1:e,r=2*(n=n<0?0:n>1?1:n)-(i=n<=.5?n*(1+e):n+e-n*e),new oe(o(t+120),o(t),o(t-120))}function Gt(e,n,r){return this instanceof Gt?(this.h=+e,this.c=+n,void(this.l=+r)):arguments.length<2?e instanceof Gt?new Gt(e.h,e.c,e.l):ee(e instanceof Yt?e.l:(e=pe((e=t.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Gt(e,n,r)}Vt.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new qt(this.h,this.s,this.l/t)},Vt.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new qt(this.h,this.s,t*this.l)},Vt.rgb=function(){return Ht(this.h,this.s,this.l)},t.hcl=Gt;var Wt=Gt.prototype=new Ut;function Xt(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new Yt(n,Math.cos(t*=Ot)*e,Math.sin(t)*e)}function Yt(t,e,n){return this instanceof Yt?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof Yt?new Yt(t.l,t.a,t.b):t instanceof Gt?Xt(t.h,t.c,t.l):pe((t=oe(t)).r,t.g,t.b):new Yt(t,e,n)}Wt.brighter=function(t){return new Gt(this.h,this.c,Math.min(100,this.l+Zt*(arguments.length?t:1)))},Wt.darker=function(t){return new Gt(this.h,this.c,Math.max(0,this.l-Zt*(arguments.length?t:1)))},Wt.rgb=function(){return Xt(this.h,this.c,this.l).rgb()},t.lab=Yt;var Zt=18,Kt=.95047,Jt=1.08883,Qt=Yt.prototype=new Ut;function te(t,e,n){var r=(t+16)/116,i=r+e/500,o=r-n/200;return new oe(ie(3.2404542*(i=ne(i)*Kt)-1.5371385*(r=1*ne(r))-.4985314*(o=ne(o)*Jt)),ie(-.969266*i+1.8760108*r+.041556*o),ie(.0556434*i-.2040259*r+1.0572252*o))}function ee(t,e,n){return t>0?new Gt(Math.atan2(n,e)*It,Math.sqrt(e*e+n*n),t):new Gt(NaN,NaN,t)}function ne(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function re(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function ie(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function oe(t,e,n){return this instanceof oe?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof oe?new oe(t.r,t.g,t.b):ce(\\\"\\\"+t,oe,Ht):new oe(t,e,n)}function ae(t){return new oe(t>>16,t>>8&255,255&t)}function se(t){return ae(t)+\\\"\\\"}Qt.brighter=function(t){return new Yt(Math.min(100,this.l+Zt*(arguments.length?t:1)),this.a,this.b)},Qt.darker=function(t){return new Yt(Math.max(0,this.l-Zt*(arguments.length?t:1)),this.a,this.b)},Qt.rgb=function(){return te(this.l,this.a,this.b)},t.rgb=oe;var le=oe.prototype=new Ut;function ue(t){return t<16?\\\"0\\\"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function ce(t,e,n){var r,i,o,a=0,s=0,l=0;if(r=/([a-z]+)\\\\((.*)\\\\)/.exec(t=t.toLowerCase()))switch(i=r[2].split(\\\",\\\"),r[1]){case\\\"hsl\\\":return n(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case\\\"rgb\\\":return e(de(i[0]),de(i[1]),de(i[2]))}return(o=me.get(t))?e(o.r,o.g,o.b):(null==t||\\\"#\\\"!==t.charAt(0)||isNaN(o=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&o)>>4,a|=a>>4,s=240&o,s|=s>>4,l=15&o,l|=l<<4):7===t.length&&(a=(16711680&o)>>16,s=(65280&o)>>8,l=255&o)),e(a,s,l))}function he(t,e,n){var r,i,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,l=(a+o)/2;return s?(i=l<.5?s/(a+o):s/(2-a-o),r=t==a?(e-n)/s+(e<n?6:0):e==a?(n-t)/s+2:(t-e)/s+4,r*=60):(r=NaN,i=l>0&&l<1?0:r),new qt(r,i,l)}function pe(t,e,n){var r=re((.4124564*(t=fe(t))+.3575761*(e=fe(e))+.1804375*(n=fe(n)))/Kt),i=re((.2126729*t+.7151522*e+.072175*n)/1);return Yt(116*i-16,500*(r-i),200*(i-re((.0193339*t+.119192*e+.9503041*n)/Jt)))}function fe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function de(t){var e=parseFloat(t);return\\\"%\\\"===t.charAt(t.length-1)?Math.round(2.55*e):e}le.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,n=this.g,r=this.b,i=30;return e||n||r?(e&&e<i&&(e=i),n&&n<i&&(n=i),r&&r<i&&(r=i),new oe(Math.min(255,e/t),Math.min(255,n/t),Math.min(255,r/t))):new oe(i,i,i)},le.darker=function(t){return new oe((t=Math.pow(.7,arguments.length?t:1))*this.r,t*this.g,t*this.b)},le.hsl=function(){return he(this.r,this.g,this.b)},le.toString=function(){return\\\"#\\\"+ue(this.r)+ue(this.g)+ue(this.b)};var me=t.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});function ve(t){return\\\"function\\\"==typeof t?t:function(){return t}}function ge(t){return function(e,n,r){return 2===arguments.length&&\\\"function\\\"==typeof n&&(r=n,n=null),ye(e,n,t,r)}}function ye(e,n,i,o){var a={},s=t.dispatch(\\\"beforesend\\\",\\\"progress\\\",\\\"load\\\",\\\"error\\\"),l={},u=new XMLHttpRequest,c=null;function h(){var t,e=u.status;if(!e&&function(t){var e=t.responseType;return e&&\\\"text\\\"!==e?t.response:t.responseText}(u)||e>=200&&e<300||304===e){try{t=i.call(a,u)}catch(t){return void s.error.call(a,t)}s.load.call(a,t)}else s.error.call(a,u)}return this.XDomainRequest&&!(\\\"withCredentials\\\"in u)&&/^(http(s)?:)?\\\\/\\\\//.test(e)&&(u=new XDomainRequest),\\\"onload\\\"in u?u.onload=u.onerror=h:u.onreadystatechange=function(){u.readyState>3&&h()},u.onprogress=function(e){var n=t.event;t.event=e;try{s.progress.call(a,u)}finally{t.event=n}},a.header=function(t,e){return t=(t+\\\"\\\").toLowerCase(),arguments.length<2?l[t]:(null==e?delete l[t]:l[t]=e+\\\"\\\",a)},a.mimeType=function(t){return arguments.length?(n=null==t?null:t+\\\"\\\",a):n},a.responseType=function(t){return arguments.length?(c=t,a):c},a.response=function(t){return i=t,a},[\\\"get\\\",\\\"post\\\"].forEach((function(t){a[t]=function(){return a.send.apply(a,[t].concat(r(arguments)))}})),a.send=function(t,r,i){if(2===arguments.length&&\\\"function\\\"==typeof r&&(i=r,r=null),u.open(t,e,!0),null==n||\\\"accept\\\"in l||(l.accept=n+\\\",*/*\\\"),u.setRequestHeader)for(var o in l)u.setRequestHeader(o,l[o]);return null!=n&&u.overrideMimeType&&u.overrideMimeType(n),null!=c&&(u.responseType=c),null!=i&&a.on(\\\"error\\\",i).on(\\\"load\\\",(function(t){i(null,t)})),s.beforesend.call(a,u),u.send(null==r?null:r),a},a.abort=function(){return u.abort(),a},t.rebind(a,s,\\\"on\\\"),null==o?a:a.get(function(t){return 1===t.length?function(e,n){t(null==e?n:null)}:t}(o))}me.forEach((function(t,e){me.set(t,ae(e))})),t.functor=ve,t.xhr=ge(O),t.dsv=function(t,e){var n=new RegExp('[\\\"'+t+\\\"\\\\n]\\\"),r=t.charCodeAt(0);function i(t,n,r){arguments.length<3&&(r=n,n=null);var i=ye(t,e,null==n?o:a(n),r);return i.row=function(t){return arguments.length?i.response(null==(n=t)?o:a(t)):n},i}function o(t){return i.parse(t.responseText)}function a(t){return function(e){return i.parse(e.responseText,t)}}function s(e){return e.map(l).join(t)}function l(t){return n.test(t)?'\\\"'+t.replace(/\\\\\\\"/g,'\\\"\\\"')+'\\\"':t}return i.parse=function(t,e){var n;return i.parseRows(t,(function(t,r){if(n)return n(t,r-1);var i=new Function(\\\"d\\\",\\\"return {\\\"+t.map((function(t,e){return JSON.stringify(t)+\\\": d[\\\"+e+\\\"]\\\"})).join(\\\",\\\")+\\\"}\\\");n=e?function(t,n){return e(i(t),n)}:i}))},i.parseRows=function(t,e){var n,i,o={},a={},s=[],l=t.length,u=0,c=0;function h(){if(u>=l)return a;if(i)return i=!1,o;var e=u;if(34===t.charCodeAt(e)){for(var n=e;n++<l;)if(34===t.charCodeAt(n)){if(34!==t.charCodeAt(n+1))break;++n}return u=n+2,13===(s=t.charCodeAt(n+1))?(i=!0,10===t.charCodeAt(n+2)&&++u):10===s&&(i=!0),t.slice(e+1,n).replace(/\\\"\\\"/g,'\\\"')}for(;u<l;){var s,c=1;if(10===(s=t.charCodeAt(u++)))i=!0;else if(13===s)i=!0,10===t.charCodeAt(u)&&(++u,++c);else if(s!==r)continue;return t.slice(e,u-c)}return t.slice(e)}for(;(n=h())!==a;){for(var p=[];n!==o&&n!==a;)p.push(n),n=h();e&&null==(p=e(p,c++))||s.push(p)}return s},i.format=function(e){if(Array.isArray(e[0]))return i.formatRows(e);var n=new k,r=[];return e.forEach((function(t){for(var e in t)n.has(e)||r.push(n.add(e))})),[r.map(l).join(t)].concat(e.map((function(e){return r.map((function(t){return l(e[t])})).join(t)}))).join(\\\"\\\\n\\\")},i.formatRows=function(t){return t.map(s).join(\\\"\\\\n\\\")},i},t.csv=t.dsv(\\\",\\\",\\\"text/csv\\\"),t.tsv=t.dsv(\\\"\\\\t\\\",\\\"text/tab-separated-values\\\");var _e,be,xe,we,Ae=this[L(this,\\\"requestAnimationFrame\\\")]||function(t){setTimeout(t,17)};function Ce(t,e,n){var r=arguments.length;r<2&&(e=0),r<3&&(n=Date.now());var i={c:t,t:n+e,n:null};return be?be.n=i:_e=i,be=i,xe||(we=clearTimeout(we),xe=1,Ae(Me)),i}function Me(){var t=Ee(),e=Te()-t;e>24?(isFinite(e)&&(clearTimeout(we),we=setTimeout(Me,e)),xe=0):(xe=1,Ae(Me))}function Ee(){for(var t=Date.now(),e=_e;e;)t>=e.t&&e.c(t-e.t)&&(e.c=null),e=e.n;return t}function Te(){for(var t,e=_e,n=1/0;e;)e.c?(e.t<n&&(n=e.t),e=(t=e).n):e=t?t.n=e.n:_e=e.n;return be=t,n}function Se(t,e){return e-(t?Math.ceil(Math.log(t)/Math.LN10):1)}t.timer=function(){Ce.apply(this,arguments)},t.timer.flush=function(){Ee(),Te()},t.round=function(t,e){return e?Math.round(t*(e=Math.pow(10,e)))/e:Math.round(t)};var ke=[\\\"y\\\",\\\"z\\\",\\\"a\\\",\\\"f\\\",\\\"p\\\",\\\"n\\\",\\\"µ\\\",\\\"m\\\",\\\"\\\",\\\"k\\\",\\\"M\\\",\\\"G\\\",\\\"T\\\",\\\"P\\\",\\\"E\\\",\\\"Z\\\",\\\"Y\\\"].map((function(t,e){var n=Math.pow(10,3*y(8-e));return{scale:e>8?function(t){return t/n}:function(t){return t*n},symbol:t}}));function Oe(e){var n=e.decimal,r=e.thousands,i=e.grouping,o=e.currency,a=i&&r?function(t,e){for(var n=t.length,o=[],a=0,s=i[0],l=0;n>0&&s>0&&(l+s+1>e&&(s=Math.max(1,e-l)),o.push(t.substring(n-=s,n+s)),!((l+=s+1)>e));)s=i[a=(a+1)%i.length];return o.reverse().join(r)}:O;return function(e){var r=Ie.exec(e),i=r[1]||\\\" \\\",s=r[2]||\\\">\\\",l=r[3]||\\\"-\\\",u=r[4]||\\\"\\\",c=r[5],h=+r[6],p=r[7],f=r[8],d=r[9],m=1,v=\\\"\\\",g=\\\"\\\",y=!1,_=!0;switch(f&&(f=+f.substring(1)),(c||\\\"0\\\"===i&&\\\"=\\\"===s)&&(c=i=\\\"0\\\",s=\\\"=\\\"),d){case\\\"n\\\":p=!0,d=\\\"g\\\";break;case\\\"%\\\":m=100,g=\\\"%\\\",d=\\\"f\\\";break;case\\\"p\\\":m=100,g=\\\"%\\\",d=\\\"r\\\";break;case\\\"b\\\":case\\\"o\\\":case\\\"x\\\":case\\\"X\\\":\\\"#\\\"===u&&(v=\\\"0\\\"+d.toLowerCase());case\\\"c\\\":_=!1;case\\\"d\\\":y=!0,f=0;break;case\\\"s\\\":m=-1,d=\\\"r\\\"}\\\"$\\\"===u&&(v=o[0],g=o[1]),\\\"r\\\"!=d||f||(d=\\\"g\\\"),null!=f&&(\\\"g\\\"==d?f=Math.max(1,Math.min(21,f)):\\\"e\\\"!=d&&\\\"f\\\"!=d||(f=Math.max(0,Math.min(20,f)))),d=Le.get(d)||Pe;var b=c&&p;return function(e){var r=g;if(y&&e%1)return\\\"\\\";var o=e<0||0===e&&1/e<0?(e=-e,\\\"-\\\"):\\\"-\\\"===l?\\\"\\\":l;if(m<0){var u=t.formatPrefix(e,f);e=u.scale(e),r=u.symbol+g}else e*=m;var x,w,A=(e=d(e,f)).lastIndexOf(\\\".\\\");if(A<0){var C=_?e.lastIndexOf(\\\"e\\\"):-1;C<0?(x=e,w=\\\"\\\"):(x=e.substring(0,C),w=e.substring(C))}else x=e.substring(0,A),w=n+e.substring(A+1);!c&&p&&(x=a(x,1/0));var M=v.length+x.length+w.length+(b?0:o.length),E=M<h?new Array(M=h-M+1).join(i):\\\"\\\";return b&&(x=a(E+x,E.length?h-w.length:1/0)),o+=v,e=x+w,(\\\"<\\\"===s?o+e+E:\\\">\\\"===s?E+o+e:\\\"^\\\"===s?E.substring(0,M>>=1)+o+e+E.substring(M):o+(b?e:E+e))+r}}}t.formatPrefix=function(e,n){var r=0;return(e=+e)&&(e<0&&(e*=-1),n&&(e=t.round(e,Se(e,n))),r=1+Math.floor(1e-12+Math.log(e)/Math.LN10),r=Math.max(-24,Math.min(24,3*Math.floor((r-1)/3)))),ke[8+r/3]};var Ie=/(?:([^{])?([<>=^]))?([+\\\\- ])?([$#])?(0)?(\\\\d+)?(,)?(\\\\.-?\\\\d+)?([a-z%])?/i,Le=t.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(e,n){return(e=t.round(e,Se(e,n))).toFixed(Math.max(0,Math.min(20,Se(e*(1+1e-15),n))))}});function Pe(t){return t+\\\"\\\"}var ze=t.time={},Re=Date;function De(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}De.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){$e.setUTCDate.apply(this._,arguments)},setDay:function(){$e.setUTCDay.apply(this._,arguments)},setFullYear:function(){$e.setUTCFullYear.apply(this._,arguments)},setHours:function(){$e.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){$e.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){$e.setUTCMinutes.apply(this._,arguments)},setMonth:function(){$e.setUTCMonth.apply(this._,arguments)},setSeconds:function(){$e.setUTCSeconds.apply(this._,arguments)},setTime:function(){$e.setTime.apply(this._,arguments)}};var $e=Date.prototype;function Be(t,e,n){function r(e){var n=t(e),r=o(n,1);return e-n<r-e?n:r}function i(n){return e(n=t(new Re(n-1)),1),n}function o(t,n){return e(t=new Re(+t),n),t}function a(t,r,o){var a=i(t),s=[];if(o>1)for(;a<r;)n(a)%o||s.push(new Date(+a)),e(a,1);else for(;a<r;)s.push(new Date(+a)),e(a,1);return s}t.floor=t,t.round=r,t.ceil=i,t.offset=o,t.range=a;var s=t.utc=Ne(t);return s.floor=s,s.round=Ne(r),s.ceil=Ne(i),s.offset=Ne(o),s.range=function(t,e,n){try{Re=De;var r=new De;return r._=t,a(r,e,n)}finally{Re=Date}},t}function Ne(t){return function(e,n){try{Re=De;var r=new De;return r._=e,t(r,n)._}finally{Re=Date}}}function Fe(e){var n=e.dateTime,r=e.date,i=e.time,o=e.periods,a=e.days,s=e.shortDays,l=e.months,u=e.shortMonths;function c(t){var e=t.length;function n(n){for(var r,i,o,a=[],s=-1,l=0;++s<e;)37===t.charCodeAt(s)&&(a.push(t.slice(l,s)),null!=(i=je[r=t.charAt(++s)])&&(r=t.charAt(++s)),(o=x[r])&&(r=o(n,null==i?\\\"e\\\"===r?\\\" \\\":\\\"0\\\":i)),a.push(r),l=s+1);return a.push(t.slice(l,s)),a.join(\\\"\\\")}return n.parse=function(e){var n={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null};if(h(n,t,e,0)!=e.length)return null;\\\"p\\\"in n&&(n.H=n.H%12+12*n.p);var r=null!=n.Z&&Re!==De,i=new(r?De:Re);return\\\"j\\\"in n?i.setFullYear(n.y,0,n.j):\\\"W\\\"in n||\\\"U\\\"in n?(\\\"w\\\"in n||(n.w=\\\"W\\\"in n?1:0),i.setFullYear(n.y,0,1),i.setFullYear(n.y,0,\\\"W\\\"in n?(n.w+6)%7+7*n.W-(i.getDay()+5)%7:n.w+7*n.U-(i.getDay()+6)%7)):i.setFullYear(n.y,n.m,n.d),i.setHours(n.H+(n.Z/100|0),n.M+n.Z%100,n.S,n.L),r?i._:i},n.toString=function(){return t},n}function h(t,e,n,r){for(var i,o,a,s=0,l=e.length,u=n.length;s<l;){if(r>=u)return-1;if(37===(i=e.charCodeAt(s++))){if(a=e.charAt(s++),!(o=w[a in je?e.charAt(s++):a])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}c.utc=function(t){var e=c(t);function n(t){try{var n=new(Re=De);return n._=t,e(n)}finally{Re=Date}}return n.parse=function(t){try{Re=De;var n=e.parse(t);return n&&n._}finally{Re=Date}},n.toString=e.toString,n},c.multi=c.utc.multi=un;var p=t.map(),f=He(a),d=Ge(a),m=He(s),v=Ge(s),g=He(l),y=Ge(l),_=He(u),b=Ge(u);o.forEach((function(t,e){p.set(t.toLowerCase(),e)}));var x={a:function(t){return s[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return l[t.getMonth()]},c:c(n),d:function(t,e){return Ve(t.getDate(),e,2)},e:function(t,e){return Ve(t.getDate(),e,2)},H:function(t,e){return Ve(t.getHours(),e,2)},I:function(t,e){return Ve(t.getHours()%12||12,e,2)},j:function(t,e){return Ve(1+ze.dayOfYear(t),e,3)},L:function(t,e){return Ve(t.getMilliseconds(),e,3)},m:function(t,e){return Ve(t.getMonth()+1,e,2)},M:function(t,e){return Ve(t.getMinutes(),e,2)},p:function(t){return o[+(t.getHours()>=12)]},S:function(t,e){return Ve(t.getSeconds(),e,2)},U:function(t,e){return Ve(ze.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Ve(ze.mondayOfYear(t),e,2)},x:c(r),X:c(i),y:function(t,e){return Ve(t.getFullYear()%100,e,2)},Y:function(t,e){return Ve(t.getFullYear()%1e4,e,4)},Z:sn,\\\"%\\\":function(){return\\\"%\\\"}},w={a:function(t,e,n){m.lastIndex=0;var r=m.exec(e.slice(n));return r?(t.w=v.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){f.lastIndex=0;var r=f.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){_.lastIndex=0;var r=_.exec(e.slice(n));return r?(t.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){g.lastIndex=0;var r=g.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,e,n){return h(t,x.c.toString(),e,n)},d:tn,e:tn,H:nn,I:nn,j:en,L:an,m:Qe,M:rn,p:function(t,e,n){var r=p.get(e.slice(n,n+=2).toLowerCase());return null==r?-1:(t.p=r,n)},S:on,U:Xe,w:We,W:Ye,x:function(t,e,n){return h(t,x.x.toString(),e,n)},X:function(t,e,n){return h(t,x.X.toString(),e,n)},y:Ke,Y:Ze,Z:Je,\\\"%\\\":ln};return c}ze.year=Be((function(t){return(t=ze.day(t)).setMonth(0,1),t}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t){return t.getFullYear()})),ze.years=ze.year.range,ze.years.utc=ze.year.utc.range,ze.day=Be((function(t){var e=new Re(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t){return t.getDate()-1})),ze.days=ze.day.range,ze.days.utc=ze.day.utc.range,ze.dayOfYear=function(t){var e=ze.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},[\\\"sunday\\\",\\\"monday\\\",\\\"tuesday\\\",\\\"wednesday\\\",\\\"thursday\\\",\\\"friday\\\",\\\"saturday\\\"].forEach((function(t,e){e=7-e;var n=ze[t]=Be((function(t){return(t=ze.day(t)).setDate(t.getDate()-(t.getDay()+e)%7),t}),(function(t,e){t.setDate(t.getDate()+7*Math.floor(e))}),(function(t){var n=ze.year(t).getDay();return Math.floor((ze.dayOfYear(t)+(n+e)%7)/7)-(n!==e)}));ze[t+\\\"s\\\"]=n.range,ze[t+\\\"s\\\"].utc=n.utc.range,ze[t+\\\"OfYear\\\"]=function(t){var n=ze.year(t).getDay();return Math.floor((ze.dayOfYear(t)+(n+e)%7)/7)}})),ze.week=ze.sunday,ze.weeks=ze.sunday.range,ze.weeks.utc=ze.sunday.utc.range,ze.weekOfYear=ze.sundayOfYear;var je={\\\"-\\\":\\\"\\\",_:\\\" \\\",0:\\\"0\\\"},Ue=/^\\\\s*\\\\d+/,qe=/^%/;function Ve(t,e,n){var r=t<0?\\\"-\\\":\\\"\\\",i=(r?-t:t)+\\\"\\\",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function He(e){return new RegExp(\\\"^(?:\\\"+e.map(t.requote).join(\\\"|\\\")+\\\")\\\",\\\"i\\\")}function Ge(t){for(var e=new x,n=-1,r=t.length;++n<r;)e.set(t[n].toLowerCase(),n);return e}function We(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Xe(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n));return r?(t.U=+r[0],n+r[0].length):-1}function Ye(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n));return r?(t.W=+r[0],n+r[0].length):-1}function Ze(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ke(t,e,n){Ue.lastIndex=0;var r,i=Ue.exec(e.slice(n,n+2));return i?(t.y=(r=+i[0])+(r>68?1900:2e3),n+i[0].length):-1}function Je(t,e,n){return/^[+-]\\\\d{4}$/.test(e=e.slice(n,n+5))?(t.Z=-e,n+5):-1}function Qe(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function tn(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function en(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+3));return r?(t.j=+r[0],n+r[0].length):-1}function nn(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function rn(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function on(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function an(t,e,n){Ue.lastIndex=0;var r=Ue.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function sn(t){var e=t.getTimezoneOffset(),n=e>0?\\\"-\\\":\\\"+\\\",r=y(e)/60|0,i=y(e)%60;return n+Ve(r,\\\"0\\\",2)+Ve(i,\\\"0\\\",2)}function ln(t,e,n){qe.lastIndex=0;var r=qe.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function un(t){for(var e=t.length,n=-1;++n<e;)t[n][0]=this(t[n][0]);return function(e){for(var n=0,r=t[n];!r[1](e);)r=t[++n];return r[0](e)}}t.locale=function(t){return{numberFormat:Oe(t),timeFormat:Fe(t)}};var cn=t.locale({decimal:\\\".\\\",thousands:\\\",\\\",grouping:[3],currency:[\\\"$\\\",\\\"\\\"],dateTime:\\\"%a %b %e %X %Y\\\",date:\\\"%m/%d/%Y\\\",time:\\\"%H:%M:%S\\\",periods:[\\\"AM\\\",\\\"PM\\\"],days:[\\\"Sunday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],shortDays:[\\\"Sun\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],months:[\\\"January\\\",\\\"February\\\",\\\"March\\\",\\\"April\\\",\\\"May\\\",\\\"June\\\",\\\"July\\\",\\\"August\\\",\\\"September\\\",\\\"October\\\",\\\"November\\\",\\\"December\\\"],shortMonths:[\\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\"]});function hn(){}t.format=cn.numberFormat,t.geo={},hn.prototype={s:0,t:0,add:function(t){fn(t,this.t,pn),fn(pn.s,this.s,this),this.s?this.t+=pn.t:this.s=pn.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var pn=new hn;function fn(t,e,n){var r=n.s=t+e,i=r-t,o=r-i;n.t=t-o+(e-i)}function dn(t,e){t&&vn.hasOwnProperty(t.type)&&vn[t.type](t,e)}t.geo.stream=function(t,e){t&&mn.hasOwnProperty(t.type)?mn[t.type](t,e):dn(t,e)};var mn={Feature:function(t,e){dn(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)dn(n[r].geometry,e)}},vn={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){gn(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)gn(n[r],e,0)},Polygon:function(t,e){yn(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)yn(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)dn(n[r],e)}};function gn(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function yn(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)gn(t[n],e,1);e.polygonEnd()}t.geo.area=function(e){return _n=0,t.geo.stream(e,Ln),_n};var _n,bn,xn,wn,An,Cn,Mn,En,Tn,Sn,kn,On,In=new hn,Ln={sphere:function(){_n+=4*Et},point:z,lineStart:z,lineEnd:z,polygonStart:function(){In.reset(),Ln.lineStart=Pn},polygonEnd:function(){var t=2*In;_n+=t<0?4*Et+t:t,Ln.lineStart=Ln.lineEnd=Ln.point=z}};function Pn(){var t,e,n,r,i;function o(t,e){e=e*Ot/2+Et/4;var o=(t*=Ot)-n,a=o>=0?1:-1,s=a*o,l=Math.cos(e),u=Math.sin(e),c=i*u,h=r*l+c*Math.cos(s),p=c*a*Math.sin(s);In.add(Math.atan2(p,h)),n=t,r=l,i=u}Ln.point=function(a,s){Ln.point=o,n=(t=a)*Ot,r=Math.cos(s=(e=s)*Ot/2+Et/4),i=Math.sin(s)},Ln.lineEnd=function(){o(t,e)}}function zn(t){var e=t[0],n=t[1],r=Math.cos(n);return[r*Math.cos(e),r*Math.sin(e),Math.sin(n)]}function Rn(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Dn(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function $n(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Bn(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Nn(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function Fn(t){return[Math.atan2(t[1],t[0]),Rt(t[2])]}function jn(t,e){return y(t[0]-e[0])<Ct&&y(t[1]-e[1])<Ct}t.geo.bounds=function(){var e,n,r,i,o,a,s,l,u,c,h,p={point:f,lineStart:m,lineEnd:v,polygonStart:function(){p.point=g,p.lineStart=_,p.lineEnd=b,u=0,Ln.polygonStart()},polygonEnd:function(){Ln.polygonEnd(),p.point=f,p.lineStart=m,p.lineEnd=v,In<0?(e=-(r=180),n=-(i=90)):u>Ct?i=90:u<-Ct&&(n=-90),h[0]=e,h[1]=r}};function f(t,o){c.push(h=[e=t,r=t]),o<n&&(n=o),o>i&&(i=o)}function d(t,a){var s=zn([t*Ot,a*Ot]);if(l){var u=Dn(l,s),c=Dn([u[1],-u[0],0],u);Nn(c),c=Fn(c);var h=t-o,p=h>0?1:-1,d=c[0]*It*p,m=y(h)>180;if(m^(p*o<d&&d<p*t))(v=c[1]*It)>i&&(i=v);else if(m^(p*o<(d=(d+360)%360-180)&&d<p*t)){var v;(v=-c[1]*It)<n&&(n=v)}else a<n&&(n=a),a>i&&(i=a);m?t<o?x(e,t)>x(e,r)&&(r=t):x(t,r)>x(e,r)&&(e=t):r>=e?(t<e&&(e=t),t>r&&(r=t)):t>o?x(e,t)>x(e,r)&&(r=t):x(t,r)>x(e,r)&&(e=t)}else f(t,a);l=s,o=t}function m(){p.point=d}function v(){h[0]=e,h[1]=r,p.point=f,l=null}function g(t,e){if(l){var n=t-o;u+=y(n)>180?n+(n>0?360:-360):n}else a=t,s=e;Ln.point(t,e),d(t,e)}function _(){Ln.lineStart()}function b(){g(a,s),Ln.lineEnd(),y(u)>Ct&&(e=-(r=180)),h[0]=e,h[1]=r,l=null}function x(t,e){return(e-=t)<0?e+360:e}function w(t,e){return t[0]-e[0]}function A(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}return function(o){if(i=r=-(e=n=1/0),c=[],t.geo.stream(o,p),u=c.length){c.sort(w);for(var a=1,s=[m=c[0]];a<u;++a)A((f=c[a])[0],m)||A(f[1],m)?(x(m[0],f[1])>x(m[0],m[1])&&(m[1]=f[1]),x(f[0],m[1])>x(m[0],m[1])&&(m[0]=f[0])):s.push(m=f);for(var l,u,f,d=-1/0,m=(a=0,s[u=s.length-1]);a<=u;m=f,++a)f=s[a],(l=x(m[1],f[0]))>d&&(d=l,e=f[0],r=m[1])}return c=h=null,e===1/0||n===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,n],[r,i]]}}(),t.geo.centroid=function(e){bn=xn=wn=An=Cn=Mn=En=Tn=Sn=kn=On=0,t.geo.stream(e,Un);var n=Sn,r=kn,i=On,o=n*n+r*r+i*i;return o<Mt&&(n=Mn,r=En,i=Tn,xn<Ct&&(n=wn,r=An,i=Cn),(o=n*n+r*r+i*i)<Mt)?[NaN,NaN]:[Math.atan2(r,n)*It,Rt(i/Math.sqrt(o))*It]};var Un={sphere:z,point:qn,lineStart:Hn,lineEnd:Gn,polygonStart:function(){Un.lineStart=Wn},polygonEnd:function(){Un.lineStart=Hn}};function qn(t,e){t*=Ot;var n=Math.cos(e*=Ot);Vn(n*Math.cos(t),n*Math.sin(t),Math.sin(e))}function Vn(t,e,n){++bn,wn+=(t-wn)/bn,An+=(e-An)/bn,Cn+=(n-Cn)/bn}function Hn(){var t,e,n;function r(r,i){r*=Ot;var o=Math.cos(i*=Ot),a=o*Math.cos(r),s=o*Math.sin(r),l=Math.sin(i),u=Math.atan2(Math.sqrt((u=e*l-n*s)*u+(u=n*a-t*l)*u+(u=t*s-e*a)*u),t*a+e*s+n*l);xn+=u,Mn+=u*(t+(t=a)),En+=u*(e+(e=s)),Tn+=u*(n+(n=l)),Vn(t,e,n)}Un.point=function(i,o){i*=Ot;var a=Math.cos(o*=Ot);t=a*Math.cos(i),e=a*Math.sin(i),n=Math.sin(o),Un.point=r,Vn(t,e,n)}}function Gn(){Un.point=qn}function Wn(){var t,e,n,r,i;function o(t,e){t*=Ot;var o=Math.cos(e*=Ot),a=o*Math.cos(t),s=o*Math.sin(t),l=Math.sin(e),u=r*l-i*s,c=i*a-n*l,h=n*s-r*a,p=Math.sqrt(u*u+c*c+h*h),f=n*a+r*s+i*l,d=p&&-zt(f)/p,m=Math.atan2(p,f);Sn+=d*u,kn+=d*c,On+=d*h,xn+=m,Mn+=m*(n+(n=a)),En+=m*(r+(r=s)),Tn+=m*(i+(i=l)),Vn(n,r,i)}Un.point=function(a,s){t=a,e=s,Un.point=o,a*=Ot;var l=Math.cos(s*=Ot);n=l*Math.cos(a),r=l*Math.sin(a),i=Math.sin(s),Vn(n,r,i)},Un.lineEnd=function(){o(t,e),Un.lineEnd=Gn,Un.point=qn}}function Xn(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function Yn(){return!0}function Zn(t,e,n,r,i){var o=[],a=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n=t[0],r=t[e];if(jn(n,r)){i.lineStart();for(var s=0;s<e;++s)i.point((n=t[s])[0],n[1]);i.lineEnd()}else{var l=new Jn(n,t,null,!0),u=new Jn(n,null,l,!1);l.o=u,o.push(l),a.push(u),l=new Jn(r,t,null,!1),u=new Jn(r,null,l,!0),l.o=u,o.push(l),a.push(u)}}})),a.sort(e),Kn(o),Kn(a),o.length){for(var s=0,l=n,u=a.length;s<u;++s)a[s].e=l=!l;for(var c,h,p=o[0];;){for(var f=p,d=!0;f.v;)if((f=f.n)===p)return;c=f.z,i.lineStart();do{if(f.v=f.o.v=!0,f.e){if(d)for(s=0,u=c.length;s<u;++s)i.point((h=c[s])[0],h[1]);else r(f.x,f.n.x,1,i);f=f.n}else{if(d)for(s=(c=f.p.z).length-1;s>=0;--s)i.point((h=c[s])[0],h[1]);else r(f.x,f.p.x,-1,i);f=f.p}c=(f=f.o).z,d=!d}while(!f.v);i.lineEnd()}}}function Kn(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function Jn(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Qn(e,n,r,i){return function(o,a){var s,l=n(a),u=o.invert(i[0],i[1]),c={point:h,lineStart:f,lineEnd:d,polygonStart:function(){c.point=b,c.lineStart=x,c.lineEnd=w,s=[],m=[]},polygonEnd:function(){c.point=h,c.lineStart=f,c.lineEnd=d,s=t.merge(s);var e=function(t,e){var n=t[0],r=t[1],i=[Math.sin(n),-Math.cos(n),0],o=0,a=0;In.reset();for(var s=0,l=e.length;s<l;++s){var u=e[s],c=u.length;if(c)for(var h=u[0],p=h[0],f=h[1]/2+Et/4,d=Math.sin(f),m=Math.cos(f),v=1;;){v===c&&(v=0);var g=(t=u[v])[0],y=t[1]/2+Et/4,_=Math.sin(y),b=Math.cos(y),x=g-p,w=x>=0?1:-1,A=w*x,C=A>Et,M=d*_;if(In.add(Math.atan2(M*w*Math.sin(A),m*b+M*Math.cos(A))),o+=C?x+w*Tt:x,C^p>=n^g>=n){var E=Dn(zn(h),zn(t));Nn(E);var T=Dn(i,E);Nn(T);var S=(C^x>=0?-1:1)*Rt(T[2]);(r>S||r===S&&(E[0]||E[1]))&&(a+=C^x>=0?1:-1)}if(!v++)break;p=g,d=_,m=b,h=t}}return(o<-Ct||o<Ct&&In<-Ct)^1&a}(u,m);s.length?(_||(a.polygonStart(),_=!0),Zn(s,nr,e,r,a)):e&&(_||(a.polygonStart(),_=!0),a.lineStart(),r(null,null,1,a),a.lineEnd()),_&&(a.polygonEnd(),_=!1),s=m=null},sphere:function(){a.polygonStart(),a.lineStart(),r(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function h(t,n){var r=o(t,n);e(t=r[0],n=r[1])&&a.point(t,n)}function p(t,e){var n=o(t,e);l.point(n[0],n[1])}function f(){c.point=p,l.lineStart()}function d(){c.point=h,l.lineEnd()}var m,v,g=er(),y=n(g),_=!1;function b(t,e){v.push([t,e]);var n=o(t,e);y.point(n[0],n[1])}function x(){y.lineStart(),v=[]}function w(){b(v[0][0],v[0][1]),y.lineEnd();var t,e=y.clean(),n=g.buffer(),r=n.length;if(v.pop(),m.push(v),v=null,r)if(1&e){var i,o=-1;if((r=(t=n[0]).length-1)>0){for(_||(a.polygonStart(),_=!0),a.lineStart();++o<r;)a.point((i=t[o])[0],i[1]);a.lineEnd()}}else r>1&&2&e&&n.push(n.pop().concat(n.shift())),s.push(n.filter(tr))}return c}}function tr(t){return t.length>1}function er(){var t,e=[];return{lineStart:function(){e.push(t=[])},point:function(e,n){t.push([e,n])},lineEnd:z,buffer:function(){var n=e;return e=[],t=null,n},rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))}}}function nr(t,e){return((t=t.x)[0]<0?t[1]-kt-Ct:kt-t[1])-((e=e.x)[0]<0?e[1]-kt-Ct:kt-e[1])}var rr=Qn(Yn,(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?Et:-Et,l=y(o-n);y(l-Et)<Ct?(t.point(n,r=(r+a)/2>0?kt:-kt),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(o,r),e=0):i!==s&&l>=Et&&(y(n-i)<Ct&&(n-=i*Ct),y(o-s)<Ct&&(o-=s*Ct),r=function(t,e,n,r){var i,o,a=Math.sin(t-n);return y(a)>Ct?Math.atan((Math.sin(e)*(o=Math.cos(r))*Math.sin(n)-Math.sin(r)*(i=Math.cos(e))*Math.sin(t))/(i*o*a)):(e+r)/2}(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=o,r=a),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)i=n*kt,r.point(-Et,i),r.point(0,i),r.point(Et,i),r.point(Et,0),r.point(Et,-i),r.point(0,-i),r.point(-Et,-i),r.point(-Et,0),r.point(-Et,i);else if(y(t[0]-e[0])>Ct){var o=t[0]<e[0]?Et:-Et;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])}),[-Et,-Et/2]);function ir(t){var e=Math.cos(t),n=e>0,r=y(e)>Ct;return Qn(i,(function(t){var e,s,l,u,c;return{lineStart:function(){u=l=!1,c=1},point:function(h,p){var f,d=[h,p],m=i(h,p),v=n?m?0:a(h,p):m?a(h+(h<0?Et:-Et),p):0;if(!e&&(u=l=m)&&t.lineStart(),m!==l&&(f=o(e,d),(jn(e,f)||jn(d,f))&&(d[0]+=Ct,d[1]+=Ct,m=i(d[0],d[1]))),m!==l)c=0,m?(t.lineStart(),f=o(d,e),t.point(f[0],f[1])):(f=o(e,d),t.point(f[0],f[1]),t.lineEnd()),e=f;else if(r&&e&&n^m){var g;v&s||!(g=o(d,e,!0))||(c=0,n?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1])))}!m||e&&jn(e,d)||t.point(d[0],d[1]),e=d,l=m,s=v},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return c|(u&&l)<<1}}}),jr(t,6*Ot),n?[0,-t]:[-Et,t-Et]);function i(t,n){return Math.cos(t)*Math.cos(n)>e}function o(t,n,r){var i=[1,0,0],o=Dn(zn(t),zn(n)),a=Rn(o,o),s=o[0],l=a-s*s;if(!l)return!r&&t;var u=e*a/l,c=-e*s/l,h=Dn(i,o),p=Bn(i,u);$n(p,Bn(o,c));var f=h,d=Rn(p,f),m=Rn(f,f),v=d*d-m*(Rn(p,p)-1);if(!(v<0)){var g=Math.sqrt(v),_=Bn(f,(-d-g)/m);if($n(_,p),_=Fn(_),!r)return _;var b,x=t[0],w=n[0],A=t[1],C=n[1];w<x&&(b=x,x=w,w=b);var M=w-x,E=y(M-Et)<Ct;if(!E&&C<A&&(b=A,A=C,C=b),E||M<Ct?E?A+C>0^_[1]<(y(_[0]-x)<Ct?A:C):A<=_[1]&&_[1]<=C:M>Et^(x<=_[0]&&_[0]<=w)){var T=Bn(f,(-d+g)/m);return $n(T,p),[_,Fn(T)]}}}function a(e,r){var i=n?t:Et-t,o=0;return e<-i?o|=1:e>i&&(o|=2),r<-i?o|=4:r>i&&(o|=8),o}}function or(t,e,n,r){return function(i){var o,a=i.a,s=i.b,l=a.x,u=a.y,c=0,h=1,p=s.x-l,f=s.y-u;if(o=t-l,p||!(o>0)){if(o/=p,p<0){if(o<c)return;o<h&&(h=o)}else if(p>0){if(o>h)return;o>c&&(c=o)}if(o=n-l,p||!(o<0)){if(o/=p,p<0){if(o>h)return;o>c&&(c=o)}else if(p>0){if(o<c)return;o<h&&(h=o)}if(o=e-u,f||!(o>0)){if(o/=f,f<0){if(o<c)return;o<h&&(h=o)}else if(f>0){if(o>h)return;o>c&&(c=o)}if(o=r-u,f||!(o<0)){if(o/=f,f<0){if(o>h)return;o>c&&(c=o)}else if(f>0){if(o<c)return;o<h&&(h=o)}return c>0&&(i.a={x:l+c*p,y:u+c*f}),h<1&&(i.b={x:l+h*p,y:u+h*f}),i}}}}}}var ar=1e9;function sr(e,n,r,i){return function(l){var u,c,h,p,f,d,m,v,g,y,_,b=l,x=er(),w=or(e,n,r,i),A={point:E,lineStart:function(){A.point=T,c&&c.push(h=[]),y=!0,g=!1,m=v=NaN},lineEnd:function(){u&&(T(p,f),d&&g&&x.rejoin(),u.push(x.buffer())),A.point=E,g&&l.lineEnd()},polygonStart:function(){l=x,u=[],c=[],_=!0},polygonEnd:function(){l=b,u=t.merge(u);var n=function(t){for(var e=0,n=c.length,r=t[1],i=0;i<n;++i)for(var o,a=1,s=c[i],l=s.length,u=s[0];a<l;++a)o=s[a],u[1]<=r?o[1]>r&&Pt(u,o,t)>0&&++e:o[1]<=r&&Pt(u,o,t)<0&&--e,u=o;return 0!==e}([e,i]),r=_&&n,o=u.length;(r||o)&&(l.polygonStart(),r&&(l.lineStart(),C(null,null,1,l),l.lineEnd()),o&&Zn(u,a,n,C,l),l.polygonEnd()),u=c=h=null}};function C(t,a,l,u){var c=0,h=0;if(null==t||(c=o(t,l))!==(h=o(a,l))||s(t,a)<0^l>0)do{u.point(0===c||3===c?e:r,c>1?i:n)}while((c=(c+l+4)%4)!==h);else u.point(a[0],a[1])}function M(t,o){return e<=t&&t<=r&&n<=o&&o<=i}function E(t,e){M(t,e)&&l.point(t,e)}function T(t,e){var n=M(t=Math.max(-1e9,Math.min(ar,t)),e=Math.max(-1e9,Math.min(ar,e)));if(c&&h.push([t,e]),y)p=t,f=e,d=n,y=!1,n&&(l.lineStart(),l.point(t,e));else if(n&&g)l.point(t,e);else{var r={a:{x:m,y:v},b:{x:t,y:e}};w(r)?(g||(l.lineStart(),l.point(r.a.x,r.a.y)),l.point(r.b.x,r.b.y),n||l.lineEnd(),_=!1):n&&(l.lineStart(),l.point(t,e),_=!1)}m=t,v=e,g=n}return A};function o(t,i){return y(t[0]-e)<Ct?i>0?0:3:y(t[0]-r)<Ct?i>0?2:1:y(t[1]-n)<Ct?i>0?1:0:i>0?3:2}function a(t,e){return s(t.x,e.x)}function s(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}}function lr(t){var e=0,n=Et/3,r=Pr(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*Et/180,n=t[1]*Et/180):[e/Et*180,n/Et*180]},i}function ur(t,e){var n=Math.sin(t),r=(n+Math.sin(e))/2,i=1+n*(2*r-n),o=Math.sqrt(i)/r;function a(t,e){var n=Math.sqrt(i-2*r*Math.sin(e))/r;return[n*Math.sin(t*=r),o-n*Math.cos(t)]}return a.invert=function(t,e){var n=o-e;return[Math.atan2(t,n)/r,Rt((i-(t*t+n*n)*r*r)/(2*r))]},a}t.geo.clipExtent=function(){var t,e,n,r,i,o,a={stream:function(t){return i&&(i.valid=!1),(i=o(t)).valid=!0,i},extent:function(s){return arguments.length?(o=sr(t=+s[0][0],e=+s[0][1],n=+s[1][0],r=+s[1][1]),i&&(i.valid=!1,i=null),a):[[t,e],[n,r]]}};return a.extent([[0,0],[960,500]])},(t.geo.conicEqualArea=function(){return lr(ur)}).raw=ur,t.geo.albers=function(){return t.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},t.geo.albersUsa=function(){var e,n,r,i,o=t.geo.albers(),a=t.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=t.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){e=[t,n]}};function u(t){var o=t[0],a=t[1];return e=null,n(o,a),e||(r(o,a),e)||i(o,a),e}return u.invert=function(t){var e=o.scale(),n=o.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:o).invert(t)},u.stream=function(t){var e=o.stream(t),n=a.stream(t),r=s.stream(t);return{point:function(t,i){e.point(t,i),n.point(t,i),r.point(t,i)},sphere:function(){e.sphere(),n.sphere(),r.sphere()},lineStart:function(){e.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){e.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){e.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){e.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},u.precision=function(t){return arguments.length?(o.precision(t),a.precision(t),s.precision(t),u):o.precision()},u.scale=function(t){return arguments.length?(o.scale(t),a.scale(.35*t),s.scale(t),u.translate(o.translate())):o.scale()},u.translate=function(t){if(!arguments.length)return o.translate();var e=o.scale(),c=+t[0],h=+t[1];return n=o.translate(t).clipExtent([[c-.455*e,h-.238*e],[c+.455*e,h+.238*e]]).stream(l).point,r=a.translate([c-.307*e,h+.201*e]).clipExtent([[c-.425*e+Ct,h+.12*e+Ct],[c-.214*e-Ct,h+.234*e-Ct]]).stream(l).point,i=s.translate([c-.205*e,h+.212*e]).clipExtent([[c-.214*e+Ct,h+.166*e+Ct],[c-.115*e-Ct,h+.234*e-Ct]]).stream(l).point,u},u.scale(1070)};var cr,hr,pr,fr,dr,mr,vr={point:z,lineStart:z,lineEnd:z,polygonStart:function(){hr=0,vr.lineStart=gr},polygonEnd:function(){vr.lineStart=vr.lineEnd=vr.point=z,cr+=y(hr/2)}};function gr(){var t,e,n,r;function i(t,e){hr+=r*t-n*e,n=t,r=e}vr.point=function(o,a){vr.point=i,t=n=o,e=r=a},vr.lineEnd=function(){i(t,e)}}var yr={point:function(t,e){t<pr&&(pr=t),t>dr&&(dr=t),e<fr&&(fr=e),e>mr&&(mr=e)},lineStart:z,lineEnd:z,polygonStart:z,polygonEnd:z};function _r(){var t=br(4.5),e=[],n={point:r,lineStart:function(){n.point=i},lineEnd:a,polygonStart:function(){n.lineEnd=s},polygonEnd:function(){n.lineEnd=a,n.point=r},pointRadius:function(e){return t=br(e),n},result:function(){if(e.length){var t=e.join(\\\"\\\");return e=[],t}}};function r(n,r){e.push(\\\"M\\\",n,\\\",\\\",r,t)}function i(t,r){e.push(\\\"M\\\",t,\\\",\\\",r),n.point=o}function o(t,n){e.push(\\\"L\\\",t,\\\",\\\",n)}function a(){n.point=r}function s(){e.push(\\\"Z\\\")}return n}function br(t){return\\\"m0,\\\"+t+\\\"a\\\"+t+\\\",\\\"+t+\\\" 0 1,1 0,\\\"+-2*t+\\\"a\\\"+t+\\\",\\\"+t+\\\" 0 1,1 0,\\\"+2*t+\\\"z\\\"}var xr,wr={point:Ar,lineStart:Cr,lineEnd:Mr,polygonStart:function(){wr.lineStart=Er},polygonEnd:function(){wr.point=Ar,wr.lineStart=Cr,wr.lineEnd=Mr}};function Ar(t,e){wn+=t,An+=e,++Cn}function Cr(){var t,e;function n(n,r){var i=n-t,o=r-e,a=Math.sqrt(i*i+o*o);Mn+=a*(t+n)/2,En+=a*(e+r)/2,Tn+=a,Ar(t=n,e=r)}wr.point=function(r,i){wr.point=n,Ar(t=r,e=i)}}function Mr(){wr.point=Ar}function Er(){var t,e,n,r;function i(t,e){var i=t-n,o=e-r,a=Math.sqrt(i*i+o*o);Mn+=a*(n+t)/2,En+=a*(r+e)/2,Tn+=a,Sn+=(a=r*t-n*e)*(n+t),kn+=a*(r+e),On+=3*a,Ar(n=t,r=e)}wr.point=function(o,a){wr.point=i,Ar(t=n=o,e=r=a)},wr.lineEnd=function(){i(t,e)}}function Tr(t){var e=4.5,n={point:r,lineStart:function(){n.point=i},lineEnd:a,polygonStart:function(){n.lineEnd=s},polygonEnd:function(){n.lineEnd=a,n.point=r},pointRadius:function(t){return e=t,n},result:z};function r(n,r){t.moveTo(n+e,r),t.arc(n,r,e,0,Tt)}function i(e,r){t.moveTo(e,r),n.point=o}function o(e,n){t.lineTo(e,n)}function a(){n.point=r}function s(){t.closePath()}return n}function Sr(t){var e=.5,n=Math.cos(30*Ot),r=16;function i(t){return(r?a:o)(t)}function o(e){return Ir(e,(function(n,r){n=t(n,r),e.point(n[0],n[1])}))}function a(e){var n,i,o,a,l,u,c,h,p,f,d,m,v={point:g,lineStart:y,lineEnd:b,polygonStart:function(){e.polygonStart(),v.lineStart=x},polygonEnd:function(){e.polygonEnd(),v.lineStart=y}};function g(n,r){n=t(n,r),e.point(n[0],n[1])}function y(){h=NaN,v.point=_,e.lineStart()}function _(n,i){var o=zn([n,i]),a=t(n,i);s(h,p,c,f,d,m,h=a[0],p=a[1],c=n,f=o[0],d=o[1],m=o[2],r,e),e.point(h,p)}function b(){v.point=g,e.lineEnd()}function x(){y(),v.point=w,v.lineEnd=A}function w(t,e){_(n=t,e),i=h,o=p,a=f,l=d,u=m,v.point=_}function A(){s(h,p,c,f,d,m,i,o,n,a,l,u,r,e),v.lineEnd=b,b()}return v}function s(r,i,o,a,l,u,c,h,p,f,d,m,v,g){var _=c-r,b=h-i,x=_*_+b*b;if(x>4*e&&v--){var w=a+f,A=l+d,C=u+m,M=Math.sqrt(w*w+A*A+C*C),E=Math.asin(C/=M),T=y(y(C)-1)<Ct||y(o-p)<Ct?(o+p)/2:Math.atan2(A,w),S=t(T,E),k=S[0],O=S[1],I=k-r,L=O-i,P=b*I-_*L;(P*P/x>e||y((_*I+b*L)/x-.5)>.3||a*f+l*d+u*m<n)&&(s(r,i,o,a,l,u,k,O,T,w/=M,A/=M,C,v,g),g.point(k,O),s(k,O,T,w,A,C,c,h,p,f,d,m,v,g))}}return i.precision=function(t){return arguments.length?(r=(e=t*t)>0&&16,i):Math.sqrt(e)},i}function kr(t){var e=Sr((function(e,n){return t([e*It,n*It])}));return function(t){return zr(e(t))}}function Or(t){this.stream=t}function Ir(t,e){return{point:e,sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function Lr(t){return Pr((function(){return t}))()}function Pr(e){var n,r,i,o,a,s,l=Sr((function(t,e){return[(t=n(t,e))[0]*u+o,a-t[1]*u]})),u=150,c=480,h=250,p=0,f=0,d=0,m=0,v=0,g=rr,y=O,_=null,b=null;function x(t){return[(t=i(t[0]*Ot,t[1]*Ot))[0]*u+o,a-t[1]*u]}function w(t){return(t=i.invert((t[0]-o)/u,(a-t[1])/u))&&[t[0]*It,t[1]*It]}function A(){i=Xn(r=$r(d,m,v),n);var t=n(p,f);return o=c-t[0]*u,a=h+t[1]*u,C()}function C(){return s&&(s.valid=!1,s=null),x}return x.stream=function(t){return s&&(s.valid=!1),(s=zr(g(r,l(y(t))))).valid=!0,s},x.clipAngle=function(t){return arguments.length?(g=null==t?(_=t,rr):ir((_=+t)*Ot),C()):_},x.clipExtent=function(t){return arguments.length?(b=t,y=t?sr(t[0][0],t[0][1],t[1][0],t[1][1]):O,C()):b},x.scale=function(t){return arguments.length?(u=+t,A()):u},x.translate=function(t){return arguments.length?(c=+t[0],h=+t[1],A()):[c,h]},x.center=function(t){return arguments.length?(p=t[0]%360*Ot,f=t[1]%360*Ot,A()):[p*It,f*It]},x.rotate=function(t){return arguments.length?(d=t[0]%360*Ot,m=t[1]%360*Ot,v=t.length>2?t[2]%360*Ot:0,A()):[d*It,m*It,v*It]},t.rebind(x,l,\\\"precision\\\"),function(){return n=e.apply(this,arguments),x.invert=n.invert&&w,A()}}function zr(t){return Ir(t,(function(e,n){t.point(e*Ot,n*Ot)}))}function Rr(t,e){return[t,e]}function Dr(t,e){return[t>Et?t-Tt:t<-Et?t+Tt:t,e]}function $r(t,e,n){return t?e||n?Xn(Nr(t),Fr(e,n)):Nr(t):e||n?Fr(e,n):Dr}function Br(t){return function(e,n){return[(e+=t)>Et?e-Tt:e<-Et?e+Tt:e,n]}}function Nr(t){var e=Br(t);return e.invert=Br(-t),e}function Fr(t,e){var n=Math.cos(t),r=Math.sin(t),i=Math.cos(e),o=Math.sin(e);function a(t,e){var a=Math.cos(e),s=Math.cos(t)*a,l=Math.sin(t)*a,u=Math.sin(e),c=u*n+s*r;return[Math.atan2(l*i-c*o,s*n-u*r),Rt(c*i+l*o)]}return a.invert=function(t,e){var a=Math.cos(e),s=Math.cos(t)*a,l=Math.sin(t)*a,u=Math.sin(e),c=u*i-l*o;return[Math.atan2(l*i+u*o,s*n+c*r),Rt(c*n-s*r)]},a}function jr(t,e){var n=Math.cos(t),r=Math.sin(t);return function(i,o,a,s){var l=a*e;null!=i?(i=Ur(n,i),o=Ur(n,o),(a>0?i<o:i>o)&&(i+=a*Tt)):(i=t+a*Tt,o=t-.5*l);for(var u,c=i;a>0?c>o:c<o;c-=l)s.point((u=Fn([n,-r*Math.cos(c),-r*Math.sin(c)]))[0],u[1])}}function Ur(t,e){var n=zn(e);n[0]-=t,Nn(n);var r=zt(-n[1]);return((-n[2]<0?-r:r)+2*Math.PI-Ct)%(2*Math.PI)}function qr(e,n,r){var i=t.range(e,n-Ct,r).concat(n);return function(t){return i.map((function(e){return[t,e]}))}}function Vr(e,n,r){var i=t.range(e,n-Ct,r).concat(n);return function(t){return i.map((function(e){return[e,t]}))}}function Hr(t){return t.source}function Gr(t){return t.target}t.geo.path=function(){var e,n,r,i,o,a=4.5;function s(e){return e&&(\\\"function\\\"==typeof a&&i.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=r(i)),t.geo.stream(e,o)),i.result()}function l(){return o=null,s}return s.area=function(e){return cr=0,t.geo.stream(e,r(vr)),cr},s.centroid=function(e){return wn=An=Cn=Mn=En=Tn=Sn=kn=On=0,t.geo.stream(e,r(wr)),On?[Sn/On,kn/On]:Tn?[Mn/Tn,En/Tn]:Cn?[wn/Cn,An/Cn]:[NaN,NaN]},s.bounds=function(e){return dr=mr=-(pr=fr=1/0),t.geo.stream(e,r(yr)),[[pr,fr],[dr,mr]]},s.projection=function(t){return arguments.length?(r=(e=t)?t.stream||kr(t):O,l()):e},s.context=function(t){return arguments.length?(i=null==(n=t)?new _r:new Tr(t),\\\"function\\\"!=typeof a&&i.pointRadius(a),l()):n},s.pointRadius=function(t){return arguments.length?(a=\\\"function\\\"==typeof t?t:(i.pointRadius(+t),+t),s):a},s.projection(t.geo.albersUsa()).context(null)},t.geo.transform=function(t){return{stream:function(e){var n=new Or(e);for(var r in t)n[r]=t[r];return n}}},Or.prototype={point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},t.geo.projection=Lr,t.geo.projectionMutator=Pr,(t.geo.equirectangular=function(){return Lr(Rr)}).raw=Rr.invert=Rr,t.geo.rotation=function(t){function e(e){return(e=t(e[0]*Ot,e[1]*Ot))[0]*=It,e[1]*=It,e}return t=$r(t[0]%360*Ot,t[1]*Ot,t.length>2?t[2]*Ot:0),e.invert=function(e){return(e=t.invert(e[0]*Ot,e[1]*Ot))[0]*=It,e[1]*=It,e},e},Dr.invert=Rr,t.geo.circle=function(){var t,e,n=[0,0],r=6;function i(){var t=\\\"function\\\"==typeof n?n.apply(this,arguments):n,r=$r(-t[0]*Ot,-t[1]*Ot,0).invert,i=[];return e(null,null,1,{point:function(t,e){i.push(t=r(t,e)),t[0]*=It,t[1]*=It}}),{type:\\\"Polygon\\\",coordinates:[i]}}return i.origin=function(t){return arguments.length?(n=t,i):n},i.angle=function(n){return arguments.length?(e=jr((t=+n)*Ot,r*Ot),i):t},i.precision=function(n){return arguments.length?(e=jr(t*Ot,(r=+n)*Ot),i):r},i.angle(90)},t.geo.distance=function(t,e){var n,r=(e[0]-t[0])*Ot,i=t[1]*Ot,o=e[1]*Ot,a=Math.sin(r),s=Math.cos(r),l=Math.sin(i),u=Math.cos(i),c=Math.sin(o),h=Math.cos(o);return Math.atan2(Math.sqrt((n=h*a)*n+(n=u*c-l*h*s)*n),l*c+u*h*s)},t.geo.graticule=function(){var e,n,r,i,o,a,s,l,u,c,h,p,f=10,d=f,m=90,v=360,g=2.5;function _(){return{type:\\\"MultiLineString\\\",coordinates:b()}}function b(){return t.range(Math.ceil(i/m)*m,r,m).map(h).concat(t.range(Math.ceil(l/v)*v,s,v).map(p)).concat(t.range(Math.ceil(n/f)*f,e,f).filter((function(t){return y(t%m)>Ct})).map(u)).concat(t.range(Math.ceil(a/d)*d,o,d).filter((function(t){return y(t%v)>Ct})).map(c))}return _.lines=function(){return b().map((function(t){return{type:\\\"LineString\\\",coordinates:t}}))},_.outline=function(){return{type:\\\"Polygon\\\",coordinates:[h(i).concat(p(s).slice(1),h(r).reverse().slice(1),p(l).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.majorExtent(t).minorExtent(t):_.minorExtent()},_.majorExtent=function(t){return arguments.length?(i=+t[0][0],r=+t[1][0],l=+t[0][1],s=+t[1][1],i>r&&(t=i,i=r,r=t),l>s&&(t=l,l=s,s=t),_.precision(g)):[[i,l],[r,s]]},_.minorExtent=function(t){return arguments.length?(n=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],n>e&&(t=n,n=e,e=t),a>o&&(t=a,a=o,o=t),_.precision(g)):[[n,a],[e,o]]},_.step=function(t){return arguments.length?_.majorStep(t).minorStep(t):_.minorStep()},_.majorStep=function(t){return arguments.length?(m=+t[0],v=+t[1],_):[m,v]},_.minorStep=function(t){return arguments.length?(f=+t[0],d=+t[1],_):[f,d]},_.precision=function(t){return arguments.length?(g=+t,u=qr(a,o,90),c=Vr(n,e,g),h=qr(l,s,90),p=Vr(i,r,g),_):g},_.majorExtent([[-180,-90+Ct],[180,90-Ct]]).minorExtent([[-180,-80-Ct],[180,80+Ct]])},t.geo.greatArc=function(){var e,n,r=Hr,i=Gr;function o(){return{type:\\\"LineString\\\",coordinates:[e||r.apply(this,arguments),n||i.apply(this,arguments)]}}return o.distance=function(){return t.geo.distance(e||r.apply(this,arguments),n||i.apply(this,arguments))},o.source=function(t){return arguments.length?(r=t,e=\\\"function\\\"==typeof t?null:t,o):r},o.target=function(t){return arguments.length?(i=t,n=\\\"function\\\"==typeof t?null:t,o):i},o.precision=function(){return arguments.length?o:0},o},t.geo.interpolate=function(t,e){return n=t[0]*Ot,r=t[1]*Ot,i=e[0]*Ot,o=e[1]*Ot,a=Math.cos(r),s=Math.sin(r),l=Math.cos(o),u=Math.sin(o),c=a*Math.cos(n),h=a*Math.sin(n),p=l*Math.cos(i),f=l*Math.sin(i),d=2*Math.asin(Math.sqrt($t(o-r)+a*l*$t(i-n))),m=1/Math.sin(d),(v=d?function(t){var e=Math.sin(t*=d)*m,n=Math.sin(d-t)*m,r=n*c+e*p,i=n*h+e*f,o=n*s+e*u;return[Math.atan2(i,r)*It,Math.atan2(o,Math.sqrt(r*r+i*i))*It]}:function(){return[n*It,r*It]}).distance=d,v;var n,r,i,o,a,s,l,u,c,h,p,f,d,m,v},t.geo.length=function(e){return xr=0,t.geo.stream(e,Wr),xr};var Wr={sphere:z,point:z,lineStart:function(){var t,e,n;function r(r,i){var o=Math.sin(i*=Ot),a=Math.cos(i),s=y((r*=Ot)-t),l=Math.cos(s);xr+=Math.atan2(Math.sqrt((s=a*Math.sin(s))*s+(s=n*o-e*a*l)*s),e*o+n*a*l),t=r,e=o,n=a}Wr.point=function(i,o){t=i*Ot,e=Math.sin(o*=Ot),n=Math.cos(o),Wr.point=r},Wr.lineEnd=function(){Wr.point=Wr.lineEnd=z}},lineEnd:z,polygonStart:z,polygonEnd:z};function Xr(t,e){function n(e,n){var r=Math.cos(e),i=Math.cos(n),o=t(r*i);return[o*i*Math.sin(e),o*Math.sin(n)]}return n.invert=function(t,n){var r=Math.sqrt(t*t+n*n),i=e(r),o=Math.sin(i),a=Math.cos(i);return[Math.atan2(t*o,r*a),Math.asin(r&&n*o/r)]},n}var Yr=Xr((function(t){return Math.sqrt(2/(1+t))}),(function(t){return 2*Math.asin(t/2)}));(t.geo.azimuthalEqualArea=function(){return Lr(Yr)}).raw=Yr;var Zr=Xr((function(t){var e=Math.acos(t);return e&&e/Math.sin(e)}),O);function Kr(t,e){var n=Math.cos(t),r=function(t){return Math.tan(Et/4+t/2)},i=t===e?Math.sin(t):Math.log(n/Math.cos(e))/Math.log(r(e)/r(t)),o=n*Math.pow(r(t),i)/i;if(!i)return ti;function a(t,e){o>0?e<-kt+Ct&&(e=-kt+Ct):e>kt-Ct&&(e=kt-Ct);var n=o/Math.pow(r(e),i);return[n*Math.sin(i*t),o-n*Math.cos(i*t)]}return a.invert=function(t,e){var n=o-e,r=Lt(i)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/i,2*Math.atan(Math.pow(o/r,1/i))-kt]},a}function Jr(t,e){var n=Math.cos(t),r=t===e?Math.sin(t):(n-Math.cos(e))/(e-t),i=n/r+t;if(y(r)<Ct)return Rr;function o(t,e){var n=i-e;return[n*Math.sin(r*t),i-n*Math.cos(r*t)]}return o.invert=function(t,e){var n=i-e;return[Math.atan2(t,n)/r,i-Lt(r)*Math.sqrt(t*t+n*n)]},o}(t.geo.azimuthalEquidistant=function(){return Lr(Zr)}).raw=Zr,(t.geo.conicConformal=function(){return lr(Kr)}).raw=Kr,(t.geo.conicEquidistant=function(){return lr(Jr)}).raw=Jr;var Qr=Xr((function(t){return 1/t}),Math.atan);function ti(t,e){return[t,Math.log(Math.tan(Et/4+e/2))]}function ei(t){var e,n=Lr(t),r=n.scale,i=n.translate,o=n.clipExtent;return n.scale=function(){var t=r.apply(n,arguments);return t===n?e?n.clipExtent(null):n:t},n.translate=function(){var t=i.apply(n,arguments);return t===n?e?n.clipExtent(null):n:t},n.clipExtent=function(t){var a=o.apply(n,arguments);if(a===n){if(e=null==t){var s=Et*r(),l=i();o([[l[0]-s,l[1]-s],[l[0]+s,l[1]+s]])}}else e&&(a=null);return a},n.clipExtent(null)}(t.geo.gnomonic=function(){return Lr(Qr)}).raw=Qr,ti.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-kt]},(t.geo.mercator=function(){return ei(ti)}).raw=ti;var ni=Xr((function(){return 1}),Math.asin);(t.geo.orthographic=function(){return Lr(ni)}).raw=ni;var ri=Xr((function(t){return 1/(1+t)}),(function(t){return 2*Math.atan(t)}));function ii(t,e){return[Math.log(Math.tan(Et/4+e/2)),-t]}function oi(t){return t[0]}function ai(t){return t[1]}function si(t){for(var e=t.length,n=[0,1],r=2,i=2;i<e;i++){for(;r>1&&Pt(t[n[r-2]],t[n[r-1]],t[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}function li(t,e){return t[0]-e[0]||t[1]-e[1]}(t.geo.stereographic=function(){return Lr(ri)}).raw=ri,ii.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-kt]},(t.geo.transverseMercator=function(){var t=ei(ii),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return t?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90])}).raw=ii,t.geom={},t.geom.hull=function(t){var e=oi,n=ai;if(arguments.length)return r(t);function r(t){if(t.length<3)return[];var r,i=ve(e),o=ve(n),a=t.length,s=[],l=[];for(r=0;r<a;r++)s.push([+i.call(this,t[r],r),+o.call(this,t[r],r),r]);for(s.sort(li),r=0;r<a;r++)l.push([s[r][0],-s[r][1]]);var u=si(s),c=si(l),h=c[0]===u[0],p=c[c.length-1]===u[u.length-1],f=[];for(r=u.length-1;r>=0;--r)f.push(t[s[u[r]][2]]);for(r=+h;r<c.length-p;++r)f.push(t[s[c[r]][2]]);return f}return r.x=function(t){return arguments.length?(e=t,r):e},r.y=function(t){return arguments.length?(n=t,r):n},r},t.geom.polygon=function(t){return j(t,ui),t};var ui=t.geom.polygon.prototype=[];function ci(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function hi(t,e,n,r){var i=t[0],o=n[0],a=e[0]-i,s=r[0]-o,l=t[1],u=n[1],c=e[1]-l,h=r[1]-u,p=(s*(l-u)-h*(i-o))/(h*a-s*c);return[i+p*a,l+p*c]}function pi(t){var e=t[0],n=t[t.length-1];return!(e[0]-n[0]||e[1]-n[1])}ui.area=function(){for(var t,e=-1,n=this.length,r=this[n-1],i=0;++e<n;)t=r,r=this[e],i+=t[1]*r[0]-t[0]*r[1];return.5*i},ui.centroid=function(t){var e,n,r=-1,i=this.length,o=0,a=0,s=this[i-1];for(arguments.length||(t=-1/(6*this.area()));++r<i;)e=s,s=this[r],n=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*n,a+=(e[1]+s[1])*n;return[o*t,a*t]},ui.clip=function(t){for(var e,n,r,i,o,a,s=pi(t),l=-1,u=this.length-pi(this),c=this[u-1];++l<u;){for(e=t.slice(),t.length=0,i=this[l],o=e[(r=e.length-s)-1],n=-1;++n<r;)ci(a=e[n],c,i)?(ci(o,c,i)||t.push(hi(o,a,c,i)),t.push(a)):ci(o,c,i)&&t.push(hi(o,a,c,i)),o=a;s&&t.push(t[0]),c=i}return t};var fi,di,mi,vi,gi,yi=[],_i=[];function bi(){Bi(this),this.edge=this.site=this.circle=null}function xi(t){var e=yi.pop()||new bi;return e.site=t,e}function wi(t){Ii(t),mi.remove(t),yi.push(t),Bi(t)}function Ai(t){var e=t.circle,n=e.x,r=e.cy,i={x:n,y:r},o=t.P,a=t.N,s=[t];wi(t);for(var l=o;l.circle&&y(n-l.circle.x)<Ct&&y(r-l.circle.cy)<Ct;)o=l.P,s.unshift(l),wi(l),l=o;s.unshift(l),Ii(l);for(var u=a;u.circle&&y(n-u.circle.x)<Ct&&y(r-u.circle.cy)<Ct;)a=u.N,s.push(u),wi(u),u=a;s.push(u),Ii(u);var c,h=s.length;for(c=1;c<h;++c)u=s[c],l=s[c-1],Ri(u.edge,l.site,u.site,i);l=s[0],(u=s[h-1]).edge=zi(l.site,u.site,null,i),Oi(l),Oi(u)}function Ci(t){for(var e,n,r,i,o=t.x,a=t.y,s=mi._;s;)if((r=Mi(s,a)-o)>Ct)s=s.L;else{if(!((i=o-Ei(s,a))>Ct)){r>-Ct?(e=s.P,n=s):i>-Ct?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}var l=xi(t);if(mi.insert(e,l),e||n){if(e===n)return Ii(e),n=xi(e.site),mi.insert(l,n),l.edge=n.edge=zi(e.site,l.site),Oi(e),void Oi(n);if(n){Ii(e),Ii(n);var u=e.site,c=u.x,h=u.y,p=t.x-c,f=t.y-h,d=n.site,m=d.x-c,v=d.y-h,g=2*(p*v-f*m),y=p*p+f*f,_=m*m+v*v,b={x:(v*y-f*_)/g+c,y:(p*_-m*y)/g+h};Ri(n.edge,u,d,b),l.edge=zi(u,t,null,b),n.edge=zi(t,d,null,b),Oi(e),Oi(n)}else l.edge=zi(e.site,l.site)}}function Mi(t,e){var n=t.site,r=n.x,i=n.y,o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;var s=(n=a.site).x,l=n.y,u=l-e;if(!u)return s;var c=s-r,h=1/o-1/u,p=c/u;return h?(-p+Math.sqrt(p*p-2*h*(c*c/(-2*u)-l+u/2+i-o/2)))/h+r:(r+s)/2}function Ei(t,e){var n=t.N;if(n)return Mi(n,e);var r=t.site;return r.y===e?r.x:1/0}function Ti(t){this.site=t,this.edges=[]}function Si(t,e){return e.angle-t.angle}function ki(){Bi(this),this.x=this.y=this.arc=this.site=this.cy=null}function Oi(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,i=t.site,o=n.site;if(r!==o){var a=i.x,s=i.y,l=r.x-a,u=r.y-s,c=o.x-a,h=2*(l*(v=o.y-s)-u*c);if(!(h>=-Mt)){var p=l*l+u*u,f=c*c+v*v,d=(v*p-u*f)/h,m=(l*f-c*p)/h,v=m+s,g=_i.pop()||new ki;g.arc=t,g.site=i,g.x=d+a,g.y=v+Math.sqrt(d*d+m*m),g.cy=v,t.circle=g;for(var y=null,_=gi._;_;)if(g.y<_.y||g.y===_.y&&g.x<=_.x){if(!_.L){y=_.P;break}_=_.L}else{if(!_.R){y=_;break}_=_.R}gi.insert(y,g),y||(vi=g)}}}}function Ii(t){var e=t.circle;e&&(e.P||(vi=e.N),gi.remove(e),_i.push(e),Bi(e),t.circle=null)}function Li(t,e){var n=t.b;if(n)return!0;var r,i,o=t.a,a=e[0][0],s=e[1][0],l=e[0][1],u=e[1][1],c=t.l,h=t.r,p=c.x,f=c.y,d=h.x,m=h.y,v=(p+d)/2,g=(f+m)/2;if(m===f){if(v<a||v>=s)return;if(p>d){if(o){if(o.y>=u)return}else o={x:v,y:l};n={x:v,y:u}}else{if(o){if(o.y<l)return}else o={x:v,y:u};n={x:v,y:l}}}else if(i=g-(r=(p-d)/(m-f))*v,r<-1||r>1)if(p>d){if(o){if(o.y>=u)return}else o={x:(l-i)/r,y:l};n={x:(u-i)/r,y:u}}else{if(o){if(o.y<l)return}else o={x:(u-i)/r,y:u};n={x:(l-i)/r,y:l}}else if(f<m){if(o){if(o.x>=s)return}else o={x:a,y:r*a+i};n={x:s,y:r*s+i}}else{if(o){if(o.x<a)return}else o={x:s,y:r*s+i};n={x:a,y:r*a+i}}return t.a=o,t.b=n,!0}function Pi(t,e){this.l=t,this.r=e,this.a=this.b=null}function zi(t,e,n,r){var i=new Pi(t,e);return fi.push(i),n&&Ri(i,t,e,n),r&&Ri(i,e,t,r),di[t.i].edges.push(new Di(i,t,e)),di[e.i].edges.push(new Di(i,e,t)),i}function Ri(t,e,n,r){t.a||t.b?t.l===n?t.b=r:t.a=r:(t.a=r,t.l=e,t.r=n)}function Di(t,e,n){var r=t.a,i=t.b;this.edge=t,this.site=e,this.angle=n?Math.atan2(n.y-e.y,n.x-e.x):t.l===e?Math.atan2(i.x-r.x,r.y-i.y):Math.atan2(r.x-i.x,i.y-r.y)}function $i(){this._=null}function Bi(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Ni(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Fi(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function ji(t){for(;t.L;)t=t.L;return t}function Ui(t,e){var n,r,i,o=t.sort(qi).pop();for(fi=[],di=new Array(t.length),mi=new $i,gi=new $i;;)if(i=vi,o&&(!i||o.y<i.y||o.y===i.y&&o.x<i.x))o.x===n&&o.y===r||(di[o.i]=new Ti(o),Ci(o),n=o.x,r=o.y),o=t.pop();else{if(!i)break;Ai(i.arc)}e&&(function(t){for(var e,n=fi,r=or(t[0][0],t[0][1],t[1][0],t[1][1]),i=n.length;i--;)(!Li(e=n[i],t)||!r(e)||y(e.a.x-e.b.x)<Ct&&y(e.a.y-e.b.y)<Ct)&&(e.a=e.b=null,n.splice(i,1))}(e),function(t){for(var e,n,r,i,o,a,s,l,u,c,h=t[0][0],p=t[1][0],f=t[0][1],d=t[1][1],m=di,v=m.length;v--;)if((o=m[v])&&o.prepare())for(l=(s=o.edges).length,a=0;a<l;)r=(c=s[a].end()).x,i=c.y,e=(u=s[++a%l].start()).x,n=u.y,(y(r-e)>Ct||y(i-n)>Ct)&&(s.splice(a,0,new Di((g=o.site,_=c,b=y(r-h)<Ct&&d-i>Ct?{x:h,y:y(e-h)<Ct?n:d}:y(i-d)<Ct&&p-r>Ct?{x:y(n-d)<Ct?e:p,y:d}:y(r-p)<Ct&&i-f>Ct?{x:p,y:y(e-p)<Ct?n:f}:y(i-f)<Ct&&r-h>Ct?{x:y(n-f)<Ct?e:h,y:f}:null,x=void 0,(x=new Pi(g,null)).a=_,x.b=b,fi.push(x),x),o.site,null)),++l);var g,_,b,x}(e));var a={cells:di,edges:fi};return mi=gi=fi=di=null,a}function qi(t,e){return e.y-t.y||e.x-t.x}Ti.prototype.prepare=function(){for(var t,e=this.edges,n=e.length;n--;)(t=e[n].edge).b&&t.a||e.splice(n,1);return e.sort(Si),e.length},Di.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},$i.prototype={insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=ji(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(Ni(this,n),n=(t=n).U),n.C=!1,r.C=!0,Fi(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(Fi(this,n),n=(t=n).U),n.C=!1,r.C=!0,Ni(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,o=t.L,a=t.R;if(n=o?a?ji(a):o:a,i?i.L===t?i.L=n:i.R=n:this._=n,o&&a?(r=n.C,n.C=t.C,n.L=o,o.U=n,n!==a?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=a,a.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,Ni(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Fi(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Ni(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,Fi(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Ni(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,Fi(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}},t.geom.voronoi=function(t){var e=oi,n=ai,r=e,i=n,o=Vi;if(t)return a(t);function a(t){var e=new Array(t.length),n=o[0][0],r=o[0][1],i=o[1][0],a=o[1][1];return Ui(s(t),o).cells.forEach((function(o,s){var l=o.edges,u=o.site;(e[s]=l.length?l.map((function(t){var e=t.start();return[e.x,e.y]})):u.x>=n&&u.x<=i&&u.y>=r&&u.y<=a?[[n,a],[i,a],[i,r],[n,r]]:[]).point=t[s]})),e}function s(t){return t.map((function(t,e){return{x:Math.round(r(t,e)/Ct)*Ct,y:Math.round(i(t,e)/Ct)*Ct,i:e}}))}return a.links=function(t){return Ui(s(t)).edges.filter((function(t){return t.l&&t.r})).map((function(e){return{source:t[e.l.i],target:t[e.r.i]}}))},a.triangles=function(t){var e=[];return Ui(s(t)).cells.forEach((function(n,r){for(var i,o=n.site,a=n.edges.sort(Si),s=-1,l=a.length,u=a[l-1].edge,c=u.l===o?u.r:u.l;++s<l;)i=c,c=(u=a[s].edge).l===o?u.r:u.l,r<i.i&&r<c.i&&(p=i,f=c,((h=o).x-f.x)*(p.y-h.y)-(h.x-p.x)*(f.y-h.y)<0)&&e.push([t[r],t[i.i],t[c.i]]);var h,p,f})),e},a.x=function(t){return arguments.length?(r=ve(e=t),a):e},a.y=function(t){return arguments.length?(i=ve(n=t),a):n},a.clipExtent=function(t){return arguments.length?(o=null==t?Vi:t,a):o===Vi?null:o},a.size=function(t){return arguments.length?a.clipExtent(t&&[[0,0],t]):o===Vi?null:o&&o[1]},a};var Vi=[[-1e6,-1e6],[1e6,1e6]];function Hi(t){return t.x}function Gi(t){return t.y}function Wi(t,e,n,r,i,o){if(!t(e,n,r,i,o)){var a=.5*(n+i),s=.5*(r+o),l=e.nodes;l[0]&&Wi(t,l[0],n,r,a,s),l[1]&&Wi(t,l[1],a,r,i,s),l[2]&&Wi(t,l[2],n,s,a,o),l[3]&&Wi(t,l[3],a,s,i,o)}}function Xi(t,e,n,r,i,o,a){var s,l=1/0;return function t(u,c,h,p,f){if(!(c>o||h>a||p<r||f<i)){if(d=u.point){var d,m=e-u.x,v=n-u.y,g=m*m+v*v;if(g<l){var y=Math.sqrt(l=g);r=e-y,i=n-y,o=e+y,a=n+y,s=d}}for(var _=u.nodes,b=.5*(c+p),x=.5*(h+f),w=(n>=x)<<1|e>=b,A=w+4;w<A;++w)if(u=_[3&w])switch(3&w){case 0:t(u,c,h,b,x);break;case 1:t(u,b,h,p,x);break;case 2:t(u,c,x,b,f);break;case 3:t(u,b,x,p,f)}}}(t,r,i,o,a),s}function Yi(e,n){e=t.rgb(e),n=t.rgb(n);var r=e.r,i=e.g,o=e.b,a=n.r-r,s=n.g-i,l=n.b-o;return function(t){return\\\"#\\\"+ue(Math.round(r+a*t))+ue(Math.round(i+s*t))+ue(Math.round(o+l*t))}}function Zi(t,e){var n,r={},i={};for(n in t)n in e?r[n]=eo(t[n],e[n]):i[n]=t[n];for(n in e)n in t||(i[n]=e[n]);return function(t){for(n in r)i[n]=r[n](t);return i}}function Ki(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Ji(t,e){var n,r,i,o=Qi.lastIndex=to.lastIndex=0,a=-1,s=[],l=[];for(t+=\\\"\\\",e+=\\\"\\\";(n=Qi.exec(t))&&(r=to.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:Ki(n,r)})),o=to.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?(e=l[0].x,function(t){return e(t)+\\\"\\\"}):function(){return e}:(e=l.length,function(t){for(var n,r=0;r<e;++r)s[(n=l[r]).i]=n.x(t);return s.join(\\\"\\\")})}t.geom.delaunay=function(e){return t.geom.voronoi().triangles(e)},t.geom.quadtree=function(t,e,n,r,i){var o,a=oi,s=ai;if(o=arguments.length)return a=Hi,s=Gi,3===o&&(i=n,r=e,n=e=0),l(t);function l(t){var l,u,c,h,p,f,d,m,v,g=ve(a),_=ve(s);if(null!=e)f=e,d=n,m=r,v=i;else if(m=v=-(f=d=1/0),u=[],c=[],p=t.length,o)for(h=0;h<p;++h)(l=t[h]).x<f&&(f=l.x),l.y<d&&(d=l.y),l.x>m&&(m=l.x),l.y>v&&(v=l.y),u.push(l.x),c.push(l.y);else for(h=0;h<p;++h){var b=+g(l=t[h],h),x=+_(l,h);b<f&&(f=b),x<d&&(d=x),b>m&&(m=b),x>v&&(v=x),u.push(b),c.push(x)}var w=m-f,A=v-d;function C(t,e,n,r,i,o,a,s){if(!isNaN(n)&&!isNaN(r))if(t.leaf){var l=t.x,u=t.y;if(null!=l)if(y(l-n)+y(u-r)<.01)M(t,e,n,r,i,o,a,s);else{var c=t.point;t.x=t.y=t.point=null,M(t,c,l,u,i,o,a,s),M(t,e,n,r,i,o,a,s)}else t.x=n,t.y=r,t.point=e}else M(t,e,n,r,i,o,a,s)}function M(t,e,n,r,i,o,a,s){var l=.5*(i+a),u=.5*(o+s),c=n>=l,h=r>=u,p=h<<1|c;t.leaf=!1,c?i=l:a=l,h?o=u:s=u,C(t=t.nodes[p]||(t.nodes[p]={leaf:!0,nodes:[],point:null,x:null,y:null}),e,n,r,i,o,a,s)}w>A?v=d+w:m=f+A;var E={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(t){C(E,t,+g(t,++h),+_(t,h),f,d,m,v)},visit:function(t){Wi(t,E,f,d,m,v)},find:function(t){return Xi(E,t[0],t[1],f,d,m,v)}};if(h=-1,null==e){for(;++h<p;)C(E,t[h],u[h],c[h],f,d,m,v);--h}else t.forEach(E.add);return u=c=t=l=null,E}return l.x=function(t){return arguments.length?(a=t,l):a},l.y=function(t){return arguments.length?(s=t,l):s},l.extent=function(t){return arguments.length?(null==t?e=n=r=i=null:(e=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),l):null==e?null:[[e,n],[r,i]]},l.size=function(t){return arguments.length?(null==t?e=n=r=i=null:(e=n=0,r=+t[0],i=+t[1]),l):null==e?null:[r-e,i-n]},l},t.interpolateRgb=Yi,t.interpolateObject=Zi,t.interpolateNumber=Ki,t.interpolateString=Ji;var Qi=/[-+]?(?:\\\\d+\\\\.?\\\\d*|\\\\.?\\\\d+)(?:[eE][-+]?\\\\d+)?/g,to=new RegExp(Qi.source,\\\"g\\\");function eo(e,n){for(var r,i=t.interpolators.length;--i>=0&&!(r=t.interpolators[i](e,n)););return r}function no(t,e){var n,r=[],i=[],o=t.length,a=e.length,s=Math.min(t.length,e.length);for(n=0;n<s;++n)r.push(eo(t[n],e[n]));for(;n<o;++n)i[n]=t[n];for(;n<a;++n)i[n]=e[n];return function(t){for(n=0;n<s;++n)i[n]=r[n](t);return i}}t.interpolate=eo,t.interpolators=[function(t,e){var n=typeof e;return(\\\"string\\\"===n?me.has(e.toLowerCase())||/^(#|rgb\\\\(|hsl\\\\()/i.test(e)?Yi:Ji:e instanceof Ut?Yi:Array.isArray(e)?no:\\\"object\\\"===n&&isNaN(e)?Zi:Ki)(t,e)}],t.interpolateArray=no;var ro=function(){return O},io=t.map({linear:ro,poly:function(t){return function(e){return Math.pow(e,t)}},quad:function(){return uo},cubic:function(){return co},sin:function(){return po},exp:function(){return fo},circle:function(){return mo},elastic:function(t,e){var n;return arguments.length<2&&(e=.45),arguments.length?n=e/Tt*Math.asin(1/t):(t=1,n=e/4),function(r){return 1+t*Math.pow(2,-10*r)*Math.sin((r-n)*Tt/e)}},back:function(t){return t||(t=1.70158),function(e){return e*e*((t+1)*e-t)}},bounce:function(){return vo}}),oo=t.map({in:O,out:so,\\\"in-out\\\":lo,\\\"out-in\\\":function(t){return lo(so(t))}});function ao(t){return function(e){return e<=0?0:e>=1?1:t(e)}}function so(t){return function(e){return 1-t(1-e)}}function lo(t){return function(e){return.5*(e<.5?t(2*e):2-t(2-2*e))}}function uo(t){return t*t}function co(t){return t*t*t}function ho(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function po(t){return 1-Math.cos(t*kt)}function fo(t){return Math.pow(2,10*(t-1))}function mo(t){return 1-Math.sqrt(1-t*t)}function vo(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function go(t,e){return e-=t,function(n){return Math.round(t+e*n)}}function yo(t){var e,n,r,i=[t.a,t.b],o=[t.c,t.d],a=bo(i),s=_o(i,o),l=bo(((e=o)[0]+=(r=-s)*(n=i)[0],e[1]+=r*n[1],e))||0;i[0]*o[1]<o[0]*i[1]&&(i[0]*=-1,i[1]*=-1,a*=-1,s*=-1),this.rotate=(a?Math.atan2(i[1],i[0]):Math.atan2(-o[0],o[1]))*It,this.translate=[t.e,t.f],this.scale=[a,l],this.skew=l?Math.atan2(s,l)*It:0}function _o(t,e){return t[0]*e[0]+t[1]*e[1]}function bo(t){var e=Math.sqrt(_o(t,t));return e&&(t[0]/=e,t[1]/=e),e}t.ease=function(t){var e=t.indexOf(\\\"-\\\"),r=e>=0?t.slice(0,e):t,i=e>=0?t.slice(e+1):\\\"in\\\";return r=io.get(r)||ro,ao((i=oo.get(i)||O)(r.apply(null,n.call(arguments,1))))},t.interpolateHcl=function(e,n){e=t.hcl(e),n=t.hcl(n);var r=e.h,i=e.c,o=e.l,a=n.h-r,s=n.c-i,l=n.l-o;return isNaN(s)&&(s=0,i=isNaN(i)?n.c:i),isNaN(a)?(a=0,r=isNaN(r)?n.h:r):a>180?a-=360:a<-180&&(a+=360),function(t){return Xt(r+a*t,i+s*t,o+l*t)+\\\"\\\"}},t.interpolateHsl=function(e,n){e=t.hsl(e),n=t.hsl(n);var r=e.h,i=e.s,o=e.l,a=n.h-r,s=n.s-i,l=n.l-o;return isNaN(s)&&(s=0,i=isNaN(i)?n.s:i),isNaN(a)?(a=0,r=isNaN(r)?n.h:r):a>180?a-=360:a<-180&&(a+=360),function(t){return Ht(r+a*t,i+s*t,o+l*t)+\\\"\\\"}},t.interpolateLab=function(e,n){e=t.lab(e),n=t.lab(n);var r=e.l,i=e.a,o=e.b,a=n.l-r,s=n.a-i,l=n.b-o;return function(t){return te(r+a*t,i+s*t,o+l*t)+\\\"\\\"}},t.interpolateRound=go,t.transform=function(e){var n=i.createElementNS(t.ns.prefix.svg,\\\"g\\\");return(t.transform=function(t){if(null!=t){n.setAttribute(\\\"transform\\\",t);var e=n.transform.baseVal.consolidate()}return new yo(e?e.matrix:xo)})(e)},yo.prototype.toString=function(){return\\\"translate(\\\"+this.translate+\\\")rotate(\\\"+this.rotate+\\\")skewX(\\\"+this.skew+\\\")scale(\\\"+this.scale+\\\")\\\"};var xo={a:1,b:0,c:0,d:1,e:0,f:0};function wo(t){return t.length?t.pop()+\\\",\\\":\\\"\\\"}function Ao(e,n){var r=[],i=[];return e=t.transform(e),n=t.transform(n),function(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var i=n.push(\\\"translate(\\\",null,\\\",\\\",null,\\\")\\\");r.push({i:i-4,x:Ki(t[0],e[0])},{i:i-2,x:Ki(t[1],e[1])})}else(e[0]||e[1])&&n.push(\\\"translate(\\\"+e+\\\")\\\")}(e.translate,n.translate,r,i),function(t,e,n,r){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),r.push({i:n.push(wo(n)+\\\"rotate(\\\",null,\\\")\\\")-2,x:Ki(t,e)})):e&&n.push(wo(n)+\\\"rotate(\\\"+e+\\\")\\\")}(e.rotate,n.rotate,r,i),function(t,e,n,r){t!==e?r.push({i:n.push(wo(n)+\\\"skewX(\\\",null,\\\")\\\")-2,x:Ki(t,e)}):e&&n.push(wo(n)+\\\"skewX(\\\"+e+\\\")\\\")}(e.skew,n.skew,r,i),function(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var i=n.push(wo(n)+\\\"scale(\\\",null,\\\",\\\",null,\\\")\\\");r.push({i:i-4,x:Ki(t[0],e[0])},{i:i-2,x:Ki(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(wo(n)+\\\"scale(\\\"+e+\\\")\\\")}(e.scale,n.scale,r,i),e=n=null,function(t){for(var e,n=-1,o=i.length;++n<o;)r[(e=i[n]).i]=e.x(t);return r.join(\\\"\\\")}}function Co(t,e){return e=(e-=t=+t)||1/e,function(n){return(n-t)/e}}function Mo(t,e){return e=(e-=t=+t)||1/e,function(n){return Math.max(0,Math.min(1,(n-t)/e))}}function Eo(t){for(var e=t.source,n=t.target,r=function(t,e){if(t===e)return t;for(var n=To(t),r=To(e),i=n.pop(),o=r.pop(),a=null;i===o;)a=i,i=n.pop(),o=r.pop();return a}(e,n),i=[e];e!==r;)e=e.parent,i.push(e);for(var o=i.length;n!==r;)i.splice(o,0,n),n=n.parent;return i}function To(t){for(var e=[],n=t.parent;null!=n;)e.push(t),t=n,n=n.parent;return e.push(t),e}function So(t){t.fixed|=2}function ko(t){t.fixed&=-7}function Oo(t){t.fixed|=4,t.px=t.x,t.py=t.y}function Io(t){t.fixed&=-5}function Lo(t,e,n){var r=0,i=0;if(t.charge=0,!t.leaf)for(var o,a=t.nodes,s=a.length,l=-1;++l<s;)null!=(o=a[l])&&(Lo(o,e,n),t.charge+=o.charge,r+=o.charge*o.cx,i+=o.charge*o.cy);if(t.point){t.leaf||(t.point.x+=Math.random()-.5,t.point.y+=Math.random()-.5);var u=e*n[t.point.index];t.charge+=t.pointCharge=u,r+=u*t.point.x,i+=u*t.point.y}t.cx=r/t.charge,t.cy=i/t.charge}t.interpolateTransform=Ao,t.layout={},t.layout.bundle=function(){return function(t){for(var e=[],n=-1,r=t.length;++n<r;)e.push(Eo(t[n]));return e}},t.layout.chord=function(){var e,n,r,i,o,a,s,l={},u=0;function c(){var l,c,p,f,d,m={},v=[],g=t.range(i),y=[];for(e=[],n=[],l=0,f=-1;++f<i;){for(c=0,d=-1;++d<i;)c+=r[f][d];v.push(c),y.push(t.range(i)),l+=c}for(o&&g.sort((function(t,e){return o(v[t],v[e])})),a&&y.forEach((function(t,e){t.sort((function(t,n){return a(r[e][t],r[e][n])}))})),l=(Tt-u*i)/l,c=0,f=-1;++f<i;){for(p=c,d=-1;++d<i;){var _=g[f],b=y[_][d],x=r[_][b],w=c,A=c+=x*l;m[_+\\\"-\\\"+b]={index:_,subindex:b,startAngle:w,endAngle:A,value:x}}n[_]={index:_,startAngle:p,endAngle:c,value:v[_]},c+=u}for(f=-1;++f<i;)for(d=f-1;++d<i;){var C=m[f+\\\"-\\\"+d],M=m[d+\\\"-\\\"+f];(C.value||M.value)&&e.push(C.value<M.value?{source:M,target:C}:{source:C,target:M})}s&&h()}function h(){e.sort((function(t,e){return s((t.source.value+t.target.value)/2,(e.source.value+e.target.value)/2)}))}return l.matrix=function(t){return arguments.length?(i=(r=t)&&r.length,e=n=null,l):r},l.padding=function(t){return arguments.length?(u=t,e=n=null,l):u},l.sortGroups=function(t){return arguments.length?(o=t,e=n=null,l):o},l.sortSubgroups=function(t){return arguments.length?(a=t,e=null,l):a},l.sortChords=function(t){return arguments.length?(s=t,e&&h(),l):s},l.chords=function(){return e||c(),e},l.groups=function(){return n||c(),n},l},t.layout.force=function(){var e,n,r,i,o,a,s={},l=t.dispatch(\\\"start\\\",\\\"tick\\\",\\\"end\\\"),u=[1,1],c=.9,h=Po,p=zo,f=-30,d=Ro,m=.1,v=.64,g=[],y=[];function _(t){return function(e,n,r,i){if(e.point!==t){var o=e.cx-t.x,a=e.cy-t.y,s=i-n,l=o*o+a*a;if(s*s/v<l){if(l<d){var u=e.charge/l;t.px-=o*u,t.py-=a*u}return!0}e.point&&l&&l<d&&(u=e.pointCharge/l,t.px-=o*u,t.py-=a*u)}return!e.charge}}function b(e){e.px=t.event.x,e.py=t.event.y,s.resume()}return s.tick=function(){if((r*=.99)<.005)return e=null,l.end({type:\\\"end\\\",alpha:r=0}),!0;var n,s,h,p,d,v,b,x,w,A=g.length,C=y.length;for(s=0;s<C;++s)p=(h=y[s]).source,(v=(x=(d=h.target).x-p.x)*x+(w=d.y-p.y)*w)&&(x*=v=r*o[s]*((v=Math.sqrt(v))-i[s])/v,w*=v,d.x-=x*(b=p.weight+d.weight?p.weight/(p.weight+d.weight):.5),d.y-=w*b,p.x+=x*(b=1-b),p.y+=w*b);if((b=r*m)&&(x=u[0]/2,w=u[1]/2,s=-1,b))for(;++s<A;)(h=g[s]).x+=(x-h.x)*b,h.y+=(w-h.y)*b;if(f)for(Lo(n=t.geom.quadtree(g),r,a),s=-1;++s<A;)(h=g[s]).fixed||n.visit(_(h));for(s=-1;++s<A;)(h=g[s]).fixed?(h.x=h.px,h.y=h.py):(h.x-=(h.px-(h.px=h.x))*c,h.y-=(h.py-(h.py=h.y))*c);l.tick({type:\\\"tick\\\",alpha:r})},s.nodes=function(t){return arguments.length?(g=t,s):g},s.links=function(t){return arguments.length?(y=t,s):y},s.size=function(t){return arguments.length?(u=t,s):u},s.linkDistance=function(t){return arguments.length?(h=\\\"function\\\"==typeof t?t:+t,s):h},s.distance=s.linkDistance,s.linkStrength=function(t){return arguments.length?(p=\\\"function\\\"==typeof t?t:+t,s):p},s.friction=function(t){return arguments.length?(c=+t,s):c},s.charge=function(t){return arguments.length?(f=\\\"function\\\"==typeof t?t:+t,s):f},s.chargeDistance=function(t){return arguments.length?(d=t*t,s):Math.sqrt(d)},s.gravity=function(t){return arguments.length?(m=+t,s):m},s.theta=function(t){return arguments.length?(v=t*t,s):Math.sqrt(v)},s.alpha=function(t){return arguments.length?(t=+t,r?t>0?r=t:(e.c=null,e.t=NaN,e=null,l.end({type:\\\"end\\\",alpha:r=0})):t>0&&(l.start({type:\\\"start\\\",alpha:r=t}),e=Ce(s.tick)),s):r},s.start=function(){var t,e,n,r=g.length,l=y.length,c=u[0],d=u[1];for(t=0;t<r;++t)(n=g[t]).index=t,n.weight=0;for(t=0;t<l;++t)\\\"number\\\"==typeof(n=y[t]).source&&(n.source=g[n.source]),\\\"number\\\"==typeof n.target&&(n.target=g[n.target]),++n.source.weight,++n.target.weight;for(t=0;t<r;++t)n=g[t],isNaN(n.x)&&(n.x=m(\\\"x\\\",c)),isNaN(n.y)&&(n.y=m(\\\"y\\\",d)),isNaN(n.px)&&(n.px=n.x),isNaN(n.py)&&(n.py=n.y);if(i=[],\\\"function\\\"==typeof h)for(t=0;t<l;++t)i[t]=+h.call(this,y[t],t);else for(t=0;t<l;++t)i[t]=h;if(o=[],\\\"function\\\"==typeof p)for(t=0;t<l;++t)o[t]=+p.call(this,y[t],t);else for(t=0;t<l;++t)o[t]=p;if(a=[],\\\"function\\\"==typeof f)for(t=0;t<r;++t)a[t]=+f.call(this,g[t],t);else for(t=0;t<r;++t)a[t]=f;function m(n,i){if(!e){for(e=new Array(r),u=0;u<r;++u)e[u]=[];for(u=0;u<l;++u){var o=y[u];e[o.source.index].push(o.target),e[o.target.index].push(o.source)}}for(var a,s=e[t],u=-1,c=s.length;++u<c;)if(!isNaN(a=s[u][n]))return a;return Math.random()*i}return s.resume()},s.resume=function(){return s.alpha(.1)},s.stop=function(){return s.alpha(0)},s.drag=function(){if(n||(n=t.behavior.drag().origin(O).on(\\\"dragstart.force\\\",So).on(\\\"drag.force\\\",b).on(\\\"dragend.force\\\",ko)),!arguments.length)return n;this.on(\\\"mouseover.force\\\",Oo).on(\\\"mouseout.force\\\",Io).call(n)},t.rebind(s,l,\\\"on\\\")};var Po=20,zo=1,Ro=1/0;function Do(e,n){return t.rebind(e,n,\\\"sort\\\",\\\"children\\\",\\\"value\\\"),e.nodes=e,e.links=Uo,e}function $o(t,e){for(var n=[t];null!=(t=n.pop());)if(e(t),(i=t.children)&&(r=i.length))for(var r,i;--r>=0;)n.push(i[r])}function Bo(t,e){for(var n=[t],r=[];null!=(t=n.pop());)if(r.push(t),(o=t.children)&&(i=o.length))for(var i,o,a=-1;++a<i;)n.push(o[a]);for(;null!=(t=r.pop());)e(t)}function No(t){return t.children}function Fo(t){return t.value}function jo(t,e){return e.value-t.value}function Uo(e){return t.merge(e.map((function(t){return(t.children||[]).map((function(e){return{source:t,target:e}}))})))}t.layout.hierarchy=function(){var t=jo,e=No,n=Fo;function r(i){var o,a=[i],s=[];for(i.depth=0;null!=(o=a.pop());)if(s.push(o),(u=e.call(r,o,o.depth))&&(l=u.length)){for(var l,u,c;--l>=0;)a.push(c=u[l]),c.parent=o,c.depth=o.depth+1;n&&(o.value=0),o.children=u}else n&&(o.value=+n.call(r,o,o.depth)||0),delete o.children;return Bo(i,(function(e){var r,i;t&&(r=e.children)&&r.sort(t),n&&(i=e.parent)&&(i.value+=e.value)})),s}return r.sort=function(e){return arguments.length?(t=e,r):t},r.children=function(t){return arguments.length?(e=t,r):e},r.value=function(t){return arguments.length?(n=t,r):n},r.revalue=function(t){return n&&($o(t,(function(t){t.children&&(t.value=0)})),Bo(t,(function(t){var e;t.children||(t.value=+n.call(r,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)}))),t},r},t.layout.partition=function(){var e=t.layout.hierarchy(),n=[1,1];function r(t,e,n,i){var o=t.children;if(t.x=e,t.y=t.depth*i,t.dx=n,t.dy=i,o&&(a=o.length)){var a,s,l,u=-1;for(n=t.value?n/t.value:0;++u<a;)r(s=o[u],e,l=s.value*n,i),e+=l}}function i(t){var e=t.children,n=0;if(e&&(r=e.length))for(var r,o=-1;++o<r;)n=Math.max(n,i(e[o]));return 1+n}function o(t,o){var a=e.call(this,t,o);return r(a[0],0,n[0],n[1]/i(a[0])),a}return o.size=function(t){return arguments.length?(n=t,o):n},Do(o,e)},t.layout.pie=function(){var e=Number,n=qo,r=0,i=Tt,o=0;function a(s){var l,u=s.length,c=s.map((function(t,n){return+e.call(a,t,n)})),h=+(\\\"function\\\"==typeof r?r.apply(this,arguments):r),p=(\\\"function\\\"==typeof i?i.apply(this,arguments):i)-h,f=Math.min(Math.abs(p)/u,+(\\\"function\\\"==typeof o?o.apply(this,arguments):o)),d=f*(p<0?-1:1),m=t.sum(c),v=m?(p-u*d)/m:0,g=t.range(u),y=[];return null!=n&&g.sort(n===qo?function(t,e){return c[e]-c[t]}:function(t,e){return n(s[t],s[e])}),g.forEach((function(t){y[t]={data:s[t],value:l=c[t],startAngle:h,endAngle:h+=l*v+d,padAngle:f}})),y}return a.value=function(t){return arguments.length?(e=t,a):e},a.sort=function(t){return arguments.length?(n=t,a):n},a.startAngle=function(t){return arguments.length?(r=t,a):r},a.endAngle=function(t){return arguments.length?(i=t,a):i},a.padAngle=function(t){return arguments.length?(o=t,a):o},a};var qo={};function Vo(t){return t.x}function Ho(t){return t.y}function Go(t,e,n){t.y0=e,t.y=n}t.layout.stack=function(){var e=O,n=Yo,r=Zo,i=Go,o=Vo,a=Ho;function s(l,u){if(!(f=l.length))return l;var c=l.map((function(t,n){return e.call(s,t,n)})),h=c.map((function(t){return t.map((function(t,e){return[o.call(s,t,e),a.call(s,t,e)]}))})),p=n.call(s,h,u);c=t.permute(c,p),h=t.permute(h,p);var f,d,m,v,g=r.call(s,h,u),y=c[0].length;for(m=0;m<y;++m)for(i.call(s,c[0][m],v=g[m],h[0][m][1]),d=1;d<f;++d)i.call(s,c[d][m],v+=h[d-1][m][1],h[d][m][1]);return l}return s.values=function(t){return arguments.length?(e=t,s):e},s.order=function(t){return arguments.length?(n=\\\"function\\\"==typeof t?t:Wo.get(t)||Yo,s):n},s.offset=function(t){return arguments.length?(r=\\\"function\\\"==typeof t?t:Xo.get(t)||Zo,s):r},s.x=function(t){return arguments.length?(o=t,s):o},s.y=function(t){return arguments.length?(a=t,s):a},s.out=function(t){return arguments.length?(i=t,s):i},s};var Wo=t.map({\\\"inside-out\\\":function(e){var n,r,i=e.length,o=e.map(Ko),a=e.map(Jo),s=t.range(i).sort((function(t,e){return o[t]-o[e]})),l=0,u=0,c=[],h=[];for(n=0;n<i;++n)r=s[n],l<u?(l+=a[r],c.push(r)):(u+=a[r],h.push(r));return h.reverse().concat(c)},reverse:function(e){return t.range(e.length).reverse()},default:Yo}),Xo=t.map({silhouette:function(t){var e,n,r,i=t.length,o=t[0].length,a=[],s=0,l=[];for(n=0;n<o;++n){for(e=0,r=0;e<i;e++)r+=t[e][n][1];r>s&&(s=r),a.push(r)}for(n=0;n<o;++n)l[n]=(s-a[n])/2;return l},wiggle:function(t){var e,n,r,i,o,a,s,l,u,c=t.length,h=t[0],p=h.length,f=[];for(f[0]=l=u=0,n=1;n<p;++n){for(e=0,i=0;e<c;++e)i+=t[e][n][1];for(e=0,o=0,s=h[n][0]-h[n-1][0];e<c;++e){for(r=0,a=(t[e][n][1]-t[e][n-1][1])/(2*s);r<e;++r)a+=(t[r][n][1]-t[r][n-1][1])/s;o+=a*t[e][n][1]}f[n]=l-=i?o/i*s:0,l<u&&(u=l)}for(n=0;n<p;++n)f[n]-=u;return f},expand:function(t){var e,n,r,i=t.length,o=t[0].length,a=1/i,s=[];for(n=0;n<o;++n){for(e=0,r=0;e<i;e++)r+=t[e][n][1];if(r)for(e=0;e<i;e++)t[e][n][1]/=r;else for(e=0;e<i;e++)t[e][n][1]=a}for(n=0;n<o;++n)s[n]=0;return s},zero:Zo});function Yo(e){return t.range(e.length)}function Zo(t){for(var e=-1,n=t[0].length,r=[];++e<n;)r[e]=0;return r}function Ko(t){for(var e,n=1,r=0,i=t[0][1],o=t.length;n<o;++n)(e=t[n][1])>i&&(r=n,i=e);return r}function Jo(t){return t.reduce(Qo,0)}function Qo(t,e){return t+e[1]}function ta(t,e){return ea(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function ea(t,e){for(var n=-1,r=+t[0],i=(t[1]-r)/e,o=[];++n<=e;)o[n]=i*n+r;return o}function na(e){return[t.min(e),t.max(e)]}function ra(t,e){return t.value-e.value}function ia(t,e){var n=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=n,n._pack_prev=e}function oa(t,e){t._pack_next=e,e._pack_prev=t}function aa(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r+e.r;return.999*i*i>n*n+r*r}function sa(t){if((e=t.children)&&(l=e.length)){var e,n,r,i,o,a,s,l,u=1/0,c=-1/0,h=1/0,p=-1/0;if(e.forEach(la),(n=e[0]).x=-n.r,n.y=0,_(n),l>1&&((r=e[1]).x=r.r,r.y=0,_(r),l>2))for(ha(n,r,i=e[2]),_(i),ia(n,i),n._pack_prev=i,ia(i,r),r=n._pack_next,o=3;o<l;o++){ha(n,r,i=e[o]);var f=0,d=1,m=1;for(a=r._pack_next;a!==r;a=a._pack_next,d++)if(aa(a,i)){f=1;break}if(1==f)for(s=n._pack_prev;s!==a._pack_prev&&!aa(s,i);s=s._pack_prev,m++);f?(d<m||d==m&&r.r<n.r?oa(n,r=a):oa(n=s,r),o--):(ia(n,i),r=i,_(i))}var v=(u+c)/2,g=(h+p)/2,y=0;for(o=0;o<l;o++)(i=e[o]).x-=v,i.y-=g,y=Math.max(y,i.r+Math.sqrt(i.x*i.x+i.y*i.y));t.r=y,e.forEach(ua)}function _(t){u=Math.min(t.x-t.r,u),c=Math.max(t.x+t.r,c),h=Math.min(t.y-t.r,h),p=Math.max(t.y+t.r,p)}}function la(t){t._pack_next=t._pack_prev=t}function ua(t){delete t._pack_next,delete t._pack_prev}function ca(t,e,n,r){var i=t.children;if(t.x=e+=r*t.x,t.y=n+=r*t.y,t.r*=r,i)for(var o=-1,a=i.length;++o<a;)ca(i[o],e,n,r)}function ha(t,e,n){var r=t.r+n.r,i=e.x-t.x,o=e.y-t.y;if(r&&(i||o)){var a=e.r+n.r,s=i*i+o*o,l=.5+((r*=r)-(a*=a))/(2*s),u=Math.sqrt(Math.max(0,2*a*(r+s)-(r-=s)*r-a*a))/(2*s);n.x=t.x+l*i+u*o,n.y=t.y+l*o-u*i}else n.x=t.x+r,n.y=t.y}function pa(t,e){return t.parent==e.parent?1:2}function fa(t){var e=t.children;return e.length?e[0]:t.t}function da(t){var e,n=t.children;return(e=n.length)?n[e-1]:t.t}function ma(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function va(t,e,n){return t.a.parent===e.parent?t.a:n}function ga(t){var e=t.children;return e&&e.length?ga(e[0]):t}function ya(t){var e,n=t.children;return n&&(e=n.length)?ya(n[e-1]):t}function _a(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function ba(t,e){var n=t.x+e[3],r=t.y+e[0],i=t.dx-e[1]-e[3],o=t.dy-e[0]-e[2];return i<0&&(n+=i/2,i=0),o<0&&(r+=o/2,o=0),{x:n,y:r,dx:i,dy:o}}function xa(t){var e=t[0],n=t[t.length-1];return e<n?[e,n]:[n,e]}function wa(t){return t.rangeExtent?t.rangeExtent():xa(t.range())}function Aa(t,e,n,r){var i=n(t[0],t[1]),o=r(e[0],e[1]);return function(t){return o(i(t))}}function Ca(t,e){var n,r=0,i=t.length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function Ma(t){return t?{floor:function(e){return Math.floor(e/t)*t},ceil:function(e){return Math.ceil(e/t)*t}}:Ea}t.layout.histogram=function(){var e=!0,n=Number,r=na,i=ta;function o(o,a){for(var s,l,u=[],c=o.map(n,this),h=r.call(this,c,a),p=i.call(this,h,c,a),f=(a=-1,c.length),d=p.length-1,m=e?1:1/f;++a<d;)(s=u[a]=[]).dx=p[a+1]-(s.x=p[a]),s.y=0;if(d>0)for(a=-1;++a<f;)(l=c[a])>=h[0]&&l<=h[1]&&((s=u[t.bisect(p,l,1,d)-1]).y+=m,s.push(o[a]));return u}return o.value=function(t){return arguments.length?(n=t,o):n},o.range=function(t){return arguments.length?(r=ve(t),o):r},o.bins=function(t){return arguments.length?(i=\\\"number\\\"==typeof t?function(e){return ea(e,t)}:ve(t),o):i},o.frequency=function(t){return arguments.length?(e=!!t,o):e},o},t.layout.pack=function(){var e,n=t.layout.hierarchy().sort(ra),r=0,i=[1,1];function o(t,o){var a=n.call(this,t,o),s=a[0],l=i[0],u=i[1],c=null==e?Math.sqrt:\\\"function\\\"==typeof e?e:function(){return e};if(s.x=s.y=0,Bo(s,(function(t){t.r=+c(t.value)})),Bo(s,sa),r){var h=r*(e?1:Math.max(2*s.r/l,2*s.r/u))/2;Bo(s,(function(t){t.r+=h})),Bo(s,sa),Bo(s,(function(t){t.r-=h}))}return ca(s,l/2,u/2,e?1:1/Math.max(2*s.r/l,2*s.r/u)),a}return o.size=function(t){return arguments.length?(i=t,o):i},o.radius=function(t){return arguments.length?(e=null==t||\\\"function\\\"==typeof t?t:+t,o):e},o.padding=function(t){return arguments.length?(r=+t,o):r},Do(o,n)},t.layout.tree=function(){var e=t.layout.hierarchy().sort(null).value(null),n=pa,r=[1,1],i=null;function o(t,o){var u=e.call(this,t,o),c=u[0],h=function(t){for(var e,n={A:null,children:[t]},r=[n];null!=(e=r.pop());)for(var i,o=e.children,a=0,s=o.length;a<s;++a)r.push((o[a]=i={_:o[a],parent:e,children:(i=o[a].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:a}).a=i);return n.children[0]}(c);if(Bo(h,a),h.parent.m=-h.z,$o(h,s),i)$o(c,l);else{var p=c,f=c,d=c;$o(c,(function(t){t.x<p.x&&(p=t),t.x>f.x&&(f=t),t.depth>d.depth&&(d=t)}));var m=n(p,f)/2-p.x,v=r[0]/(f.x+n(f,p)/2+m),g=r[1]/(d.depth||1);$o(c,(function(t){t.x=(t.x+m)*v,t.y=t.depth*g}))}return u}function a(t){var e=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(e.length){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(t);var o=(e[0].z+e[e.length-1].z)/2;i?(t.z=i.z+n(t._,i._),t.m=t.z-o):t.z=o}else i&&(t.z=i.z+n(t._,i._));t.parent.A=function(t,e,r){if(e){for(var i,o=t,a=t,s=e,l=o.parent.children[0],u=o.m,c=a.m,h=s.m,p=l.m;s=da(s),o=fa(o),s&&o;)l=fa(l),(a=da(a)).a=t,(i=s.z+h-o.z-u+n(s._,o._))>0&&(ma(va(s,t,r),t,i),u+=i,c+=i),h+=s.m,u+=o.m,p+=l.m,c+=a.m;s&&!da(a)&&(a.t=s,a.m+=h-c),o&&!fa(l)&&(l.t=o,l.m+=u-p,r=t)}return r}(t,i,t.parent.A||r[0])}function s(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function l(t){t.x*=r[0],t.y=t.depth*r[1]}return o.separation=function(t){return arguments.length?(n=t,o):n},o.size=function(t){return arguments.length?(i=null==(r=t)?l:null,o):i?null:r},o.nodeSize=function(t){return arguments.length?(i=null==(r=t)?null:l,o):i?r:null},Do(o,e)},t.layout.cluster=function(){var e=t.layout.hierarchy().sort(null).value(null),n=pa,r=[1,1],i=!1;function o(o,a){var s,l=e.call(this,o,a),u=l[0],c=0;Bo(u,(function(e){var r=e.children;r&&r.length?(e.x=function(t){return t.reduce((function(t,e){return t+e.x}),0)/t.length}(r),e.y=function(e){return 1+t.max(e,(function(t){return t.y}))}(r)):(e.x=s?c+=n(e,s):0,e.y=0,s=e)}));var h=ga(u),p=ya(u),f=h.x-n(h,p)/2,d=p.x+n(p,h)/2;return Bo(u,i?function(t){t.x=(t.x-u.x)*r[0],t.y=(u.y-t.y)*r[1]}:function(t){t.x=(t.x-f)/(d-f)*r[0],t.y=(1-(u.y?t.y/u.y:1))*r[1]}),l}return o.separation=function(t){return arguments.length?(n=t,o):n},o.size=function(t){return arguments.length?(i=null==(r=t),o):i?null:r},o.nodeSize=function(t){return arguments.length?(i=null!=(r=t),o):i?r:null},Do(o,e)},t.layout.treemap=function(){var e,n=t.layout.hierarchy(),r=Math.round,i=[1,1],o=null,a=_a,s=!1,l=\\\"squarify\\\",u=.5*(1+Math.sqrt(5));function c(t,e){for(var n,r,i=-1,o=t.length;++i<o;)r=(n=t[i]).value*(e<0?0:e),n.area=isNaN(r)||r<=0?0:r}function h(t){var e=t.children;if(e&&e.length){var n,r,i,o=a(t),s=[],u=e.slice(),p=1/0,m=\\\"slice\\\"===l?o.dx:\\\"dice\\\"===l?o.dy:\\\"slice-dice\\\"===l?1&t.depth?o.dy:o.dx:Math.min(o.dx,o.dy);for(c(u,o.dx*o.dy/t.value),s.area=0;(i=u.length)>0;)s.push(n=u[i-1]),s.area+=n.area,\\\"squarify\\\"!==l||(r=f(s,m))<=p?(u.pop(),p=r):(s.area-=s.pop().area,d(s,m,o,!1),m=Math.min(o.dx,o.dy),s.length=s.area=0,p=1/0);s.length&&(d(s,m,o,!0),s.length=s.area=0),e.forEach(h)}}function p(t){var e=t.children;if(e&&e.length){var n,r=a(t),i=e.slice(),o=[];for(c(i,r.dx*r.dy/t.value),o.area=0;n=i.pop();)o.push(n),o.area+=n.area,null!=n.z&&(d(o,n.z?r.dx:r.dy,r,!i.length),o.length=o.area=0);e.forEach(p)}}function f(t,e){for(var n,r=t.area,i=0,o=1/0,a=-1,s=t.length;++a<s;)(n=t[a].area)&&(n<o&&(o=n),n>i&&(i=n));return e*=e,(r*=r)?Math.max(e*i*u/r,r/(e*o*u)):1/0}function d(t,e,n,i){var o,a=-1,s=t.length,l=n.x,u=n.y,c=e?r(t.area/e):0;if(e==n.dx){for((i||c>n.dy)&&(c=n.dy);++a<s;)(o=t[a]).x=l,o.y=u,o.dy=c,l+=o.dx=Math.min(n.x+n.dx-l,c?r(o.area/c):0);o.z=!0,o.dx+=n.x+n.dx-l,n.y+=c,n.dy-=c}else{for((i||c>n.dx)&&(c=n.dx);++a<s;)(o=t[a]).x=l,o.y=u,o.dx=c,u+=o.dy=Math.min(n.y+n.dy-u,c?r(o.area/c):0);o.z=!1,o.dy+=n.y+n.dy-u,n.x+=c,n.dx-=c}}function m(t){var r=e||n(t),o=r[0];return o.x=o.y=0,o.value?(o.dx=i[0],o.dy=i[1]):o.dx=o.dy=0,e&&n.revalue(o),c([o],o.dx*o.dy/o.value),(e?p:h)(o),s&&(e=r),r}return m.size=function(t){return arguments.length?(i=t,m):i},m.padding=function(t){if(!arguments.length)return o;function e(e){var n=t.call(m,e,e.depth);return null==n?_a(e):ba(e,\\\"number\\\"==typeof n?[n,n,n,n]:n)}function n(e){return ba(e,t)}var r;return a=null==(o=t)?_a:\\\"function\\\"==(r=typeof t)?e:\\\"number\\\"===r?(t=[t,t,t,t],n):n,m},m.round=function(t){return arguments.length?(r=t?Math.round:Number,m):r!=Number},m.sticky=function(t){return arguments.length?(s=t,e=null,m):s},m.ratio=function(t){return arguments.length?(u=t,m):u},m.mode=function(t){return arguments.length?(l=t+\\\"\\\",m):l},Do(m,n)},t.random={normal:function(t,e){var n=arguments.length;return n<2&&(e=1),n<1&&(t=0),function(){var n,r,i;do{i=(n=2*Math.random()-1)*n+(r=2*Math.random()-1)*r}while(!i||i>1);return t+e*n*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var e=t.random.normal.apply(t,arguments);return function(){return Math.exp(e())}},bates:function(e){var n=t.random.irwinHall(e);return function(){return n()/e}},irwinHall:function(t){return function(){for(var e=0,n=0;n<t;n++)e+=Math.random();return e}}},t.scale={};var Ea={floor:O,ceil:O};function Ta(e,n,r,i){var o=[],a=[],s=0,l=Math.min(e.length,n.length)-1;for(e[l]<e[0]&&(e=e.slice().reverse(),n=n.slice().reverse());++s<=l;)o.push(r(e[s-1],e[s])),a.push(i(n[s-1],n[s]));return function(n){var r=t.bisect(e,n,1,l)-1;return a[r](o[r](n))}}function Sa(t,e,n,r){var i,o;function a(){var a=Math.min(t.length,e.length)>2?Ta:Aa,l=r?Mo:Co;return i=a(t,e,l,n),o=a(e,t,l,eo),s}function s(t){return i(t)}return s.invert=function(t){return o(t)},s.domain=function(e){return arguments.length?(t=e.map(Number),a()):t},s.range=function(t){return arguments.length?(e=t,a()):e},s.rangeRound=function(t){return s.range(t).interpolate(go)},s.clamp=function(t){return arguments.length?(r=t,a()):r},s.interpolate=function(t){return arguments.length?(n=t,a()):n},s.ticks=function(e){return La(t,e)},s.tickFormat=function(e,n){return Pa(t,e,n)},s.nice=function(e){return Oa(t,e),a()},s.copy=function(){return Sa(t,e,n,r)},a()}function ka(e,n){return t.rebind(e,n,\\\"range\\\",\\\"rangeRound\\\",\\\"interpolate\\\",\\\"clamp\\\")}function Oa(t,e){return Ca(t,Ma(Ia(t,e)[2])),Ca(t,Ma(Ia(t,e)[2])),t}function Ia(t,e){null==e&&(e=10);var n=xa(t),r=n[1]-n[0],i=Math.pow(10,Math.floor(Math.log(r/e)/Math.LN10)),o=e/r*i;return o<=.15?i*=10:o<=.35?i*=5:o<=.75&&(i*=2),n[0]=Math.ceil(n[0]/i)*i,n[1]=Math.floor(n[1]/i)*i+.5*i,n[2]=i,n}function La(e,n){return t.range.apply(t,Ia(e,n))}function Pa(e,n,r){var i=Ia(e,n);if(r){var o=Ie.exec(r);if(o.shift(),\\\"s\\\"===o[8]){var a=t.formatPrefix(Math.max(y(i[0]),y(i[1])));return o[7]||(o[7]=\\\".\\\"+Ra(a.scale(i[2]))),o[8]=\\\"f\\\",r=t.format(o.join(\\\"\\\")),function(t){return r(a.scale(t))+a.symbol}}o[7]||(o[7]=\\\".\\\"+function(t,e){var n=Ra(e[2]);return t in za?Math.abs(n-Ra(Math.max(y(e[0]),y(e[1]))))+ +(\\\"e\\\"!==t):n-2*(\\\"%\\\"===t)}(o[8],i)),r=o.join(\\\"\\\")}else r=\\\",.\\\"+Ra(i[2])+\\\"f\\\";return t.format(r)}t.scale.linear=function(){return Sa([0,1],[0,1],eo,!1)};var za={s:1,g:1,p:1,r:1,e:1};function Ra(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function Da(e,n,r,i){function o(t){return(r?Math.log(t<0?0:t):-Math.log(t>0?0:-t))/Math.log(n)}function a(t){return r?Math.pow(n,t):-Math.pow(n,-t)}function s(t){return e(o(t))}return s.invert=function(t){return a(e.invert(t))},s.domain=function(t){return arguments.length?(r=t[0]>=0,e.domain((i=t.map(Number)).map(o)),s):i},s.base=function(t){return arguments.length?(n=+t,e.domain(i.map(o)),s):n},s.nice=function(){var t=Ca(i.map(o),r?Math:Ba);return e.domain(t),i=t.map(a),s},s.ticks=function(){var t=xa(i),e=[],s=t[0],l=t[1],u=Math.floor(o(s)),c=Math.ceil(o(l)),h=n%1?2:n;if(isFinite(c-u)){if(r){for(;u<c;u++)for(var p=1;p<h;p++)e.push(a(u)*p);e.push(a(u))}else for(e.push(a(u));u++<c;)for(p=h-1;p>0;p--)e.push(a(u)*p);for(u=0;e[u]<s;u++);for(c=e.length;e[c-1]>l;c--);e=e.slice(u,c)}return e},s.tickFormat=function(e,r){if(!arguments.length)return $a;arguments.length<2?r=$a:\\\"function\\\"!=typeof r&&(r=t.format(r));var i=Math.max(1,n*e/s.ticks().length);return function(t){var e=t/a(Math.round(o(t)));return e*n<n-.5&&(e*=n),e<=i?r(t):\\\"\\\"}},s.copy=function(){return Da(e.copy(),n,r,i)},ka(s,e)}t.scale.log=function(){return Da(t.scale.linear().domain([0,1]),10,!0,[1,10])};var $a=t.format(\\\".0e\\\"),Ba={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};function Na(t,e,n){var r=Fa(e),i=Fa(1/e);function o(e){return t(r(e))}return o.invert=function(e){return i(t.invert(e))},o.domain=function(e){return arguments.length?(t.domain((n=e.map(Number)).map(r)),o):n},o.ticks=function(t){return La(n,t)},o.tickFormat=function(t,e){return Pa(n,t,e)},o.nice=function(t){return o.domain(Oa(n,t))},o.exponent=function(a){return arguments.length?(r=Fa(e=a),i=Fa(1/e),t.domain(n.map(r)),o):e},o.copy=function(){return Na(t.copy(),e,n)},ka(o,t)}function Fa(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function ja(e,n){var r,i,o;function a(t){return i[((r.get(t)||(\\\"range\\\"===n.t?r.set(t,e.push(t)):NaN))-1)%i.length]}function s(n,r){return t.range(e.length).map((function(t){return n+r*t}))}return a.domain=function(t){if(!arguments.length)return e;e=[],r=new x;for(var i,o=-1,s=t.length;++o<s;)r.has(i=t[o])||r.set(i,e.push(i));return a[n.t].apply(a,n.a)},a.range=function(t){return arguments.length?(i=t,o=0,n={t:\\\"range\\\",a:arguments},a):i},a.rangePoints=function(t,r){arguments.length<2&&(r=0);var l=t[0],u=t[1],c=e.length<2?(l=(l+u)/2,0):(u-l)/(e.length-1+r);return i=s(l+c*r/2,c),o=0,n={t:\\\"rangePoints\\\",a:arguments},a},a.rangeRoundPoints=function(t,r){arguments.length<2&&(r=0);var l=t[0],u=t[1],c=e.length<2?(l=u=Math.round((l+u)/2),0):(u-l)/(e.length-1+r)|0;return i=s(l+Math.round(c*r/2+(u-l-(e.length-1+r)*c)/2),c),o=0,n={t:\\\"rangeRoundPoints\\\",a:arguments},a},a.rangeBands=function(t,r,l){arguments.length<2&&(r=0),arguments.length<3&&(l=r);var u=t[1]<t[0],c=t[u-0],h=(t[1-u]-c)/(e.length-r+2*l);return i=s(c+h*l,h),u&&i.reverse(),o=h*(1-r),n={t:\\\"rangeBands\\\",a:arguments},a},a.rangeRoundBands=function(t,r,l){arguments.length<2&&(r=0),arguments.length<3&&(l=r);var u=t[1]<t[0],c=t[u-0],h=t[1-u],p=Math.floor((h-c)/(e.length-r+2*l));return i=s(c+Math.round((h-c-(e.length-r)*p)/2),p),u&&i.reverse(),o=Math.round(p*(1-r)),n={t:\\\"rangeRoundBands\\\",a:arguments},a},a.rangeBand=function(){return o},a.rangeExtent=function(){return xa(n.a[0])},a.copy=function(){return ja(e,n)},a.domain(e)}t.scale.pow=function(){return Na(t.scale.linear(),1,[0,1])},t.scale.sqrt=function(){return t.scale.pow().exponent(.5)},t.scale.ordinal=function(){return ja([],{t:\\\"range\\\",a:[[]]})},t.scale.category10=function(){return t.scale.ordinal().range(Ua)},t.scale.category20=function(){return t.scale.ordinal().range(qa)},t.scale.category20b=function(){return t.scale.ordinal().range(Va)},t.scale.category20c=function(){return t.scale.ordinal().range(Ha)};var Ua=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(se),qa=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(se),Va=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(se),Ha=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(se);function Ga(e,n){var r;function i(){var i=0,a=n.length;for(r=[];++i<a;)r[i-1]=t.quantile(e,i/a);return o}function o(e){if(!isNaN(e=+e))return n[t.bisect(r,e)]}return o.domain=function(t){return arguments.length?(e=t.map(f).filter(d).sort(p),i()):e},o.range=function(t){return arguments.length?(n=t,i()):n},o.quantiles=function(){return r},o.invertExtent=function(t){return(t=n.indexOf(t))<0?[NaN,NaN]:[t>0?r[t-1]:e[0],t<r.length?r[t]:e[e.length-1]]},o.copy=function(){return Ga(e,n)},i()}function Wa(t,e,n){var r,i;function o(e){return n[Math.max(0,Math.min(i,Math.floor(r*(e-t))))]}function a(){return r=n.length/(e-t),i=n.length-1,o}return o.domain=function(n){return arguments.length?(t=+n[0],e=+n[n.length-1],a()):[t,e]},o.range=function(t){return arguments.length?(n=t,a()):n},o.invertExtent=function(e){return[e=(e=n.indexOf(e))<0?NaN:e/r+t,e+1/r]},o.copy=function(){return Wa(t,e,n)},a()}function Xa(e,n){function r(r){if(r<=r)return n[t.bisect(e,r)]}return r.domain=function(t){return arguments.length?(e=t,r):e},r.range=function(t){return arguments.length?(n=t,r):n},r.invertExtent=function(t){return t=n.indexOf(t),[e[t-1],e[t]]},r.copy=function(){return Xa(e,n)},r}function Ya(t){function e(t){return+t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=n.map(e),e):t},e.ticks=function(e){return La(t,e)},e.tickFormat=function(e,n){return Pa(t,e,n)},e.copy=function(){return Ya(t)},e}function Za(){return 0}t.scale.quantile=function(){return Ga([],[])},t.scale.quantize=function(){return Wa(0,1,[0,1])},t.scale.threshold=function(){return Xa([.5],[0,1])},t.scale.identity=function(){return Ya([0,1])},t.svg={},t.svg.arc=function(){var t=Ja,e=Qa,n=Za,r=Ka,i=ts,o=es,a=ns;function s(){var s=Math.max(0,+t.apply(this,arguments)),u=Math.max(0,+e.apply(this,arguments)),c=i.apply(this,arguments)-kt,h=o.apply(this,arguments)-kt,p=Math.abs(h-c),f=c>h?0:1;if(u<s&&(d=u,u=s,s=d),p>=St)return l(u,f)+(s?l(s,1-f):\\\"\\\")+\\\"Z\\\";var d,m,v,g,y,_,b,x,w,A,C,M,E=0,T=0,S=[];if((g=(+a.apply(this,arguments)||0)/2)&&(v=r===Ka?Math.sqrt(s*s+u*u):+r.apply(this,arguments),f||(T*=-1),u&&(T=Rt(v/u*Math.sin(g))),s&&(E=Rt(v/s*Math.sin(g)))),u){y=u*Math.cos(c+T),_=u*Math.sin(c+T),b=u*Math.cos(h-T),x=u*Math.sin(h-T);var k=Math.abs(h-c-2*T)<=Et?0:1;if(T&&rs(y,_,b,x)===f^k){var O=(c+h)/2;y=u*Math.cos(O),_=u*Math.sin(O),b=x=null}}else y=_=0;if(s){w=s*Math.cos(h-E),A=s*Math.sin(h-E),C=s*Math.cos(c+E),M=s*Math.sin(c+E);var I=Math.abs(c-h+2*E)<=Et?0:1;if(E&&rs(w,A,C,M)===1-f^I){var L=(c+h)/2;w=s*Math.cos(L),A=s*Math.sin(L),C=M=null}}else w=A=0;if(p>Ct&&(d=Math.min(Math.abs(u-s)/2,+n.apply(this,arguments)))>.001){m=s<u^f?0:1;var P=d,z=d;if(p<Et){var R=null==C?[w,A]:null==b?[y,_]:hi([y,_],[C,M],[b,x],[w,A]),D=y-R[0],$=_-R[1],B=b-R[0],N=x-R[1],F=1/Math.sin(Math.acos((D*B+$*N)/(Math.sqrt(D*D+$*$)*Math.sqrt(B*B+N*N)))/2),j=Math.sqrt(R[0]*R[0]+R[1]*R[1]);z=Math.min(d,(s-j)/(F-1)),P=Math.min(d,(u-j)/(F+1))}if(null!=b){var U=is(null==C?[w,A]:[C,M],[y,_],u,P,f),q=is([b,x],[w,A],u,P,f);d===P?S.push(\\\"M\\\",U[0],\\\"A\\\",P,\\\",\\\",P,\\\" 0 0,\\\",m,\\\" \\\",U[1],\\\"A\\\",u,\\\",\\\",u,\\\" 0 \\\",1-f^rs(U[1][0],U[1][1],q[1][0],q[1][1]),\\\",\\\",f,\\\" \\\",q[1],\\\"A\\\",P,\\\",\\\",P,\\\" 0 0,\\\",m,\\\" \\\",q[0]):S.push(\\\"M\\\",U[0],\\\"A\\\",P,\\\",\\\",P,\\\" 0 1,\\\",m,\\\" \\\",q[0])}else S.push(\\\"M\\\",y,\\\",\\\",_);if(null!=C){var V=is([y,_],[C,M],s,-z,f),H=is([w,A],null==b?[y,_]:[b,x],s,-z,f);d===z?S.push(\\\"L\\\",H[0],\\\"A\\\",z,\\\",\\\",z,\\\" 0 0,\\\",m,\\\" \\\",H[1],\\\"A\\\",s,\\\",\\\",s,\\\" 0 \\\",f^rs(H[1][0],H[1][1],V[1][0],V[1][1]),\\\",\\\",1-f,\\\" \\\",V[1],\\\"A\\\",z,\\\",\\\",z,\\\" 0 0,\\\",m,\\\" \\\",V[0]):S.push(\\\"L\\\",H[0],\\\"A\\\",z,\\\",\\\",z,\\\" 0 0,\\\",m,\\\" \\\",V[0])}else S.push(\\\"L\\\",w,\\\",\\\",A)}else S.push(\\\"M\\\",y,\\\",\\\",_),null!=b&&S.push(\\\"A\\\",u,\\\",\\\",u,\\\" 0 \\\",k,\\\",\\\",f,\\\" \\\",b,\\\",\\\",x),S.push(\\\"L\\\",w,\\\",\\\",A),null!=C&&S.push(\\\"A\\\",s,\\\",\\\",s,\\\" 0 \\\",I,\\\",\\\",1-f,\\\" \\\",C,\\\",\\\",M);return S.push(\\\"Z\\\"),S.join(\\\"\\\")}function l(t,e){return\\\"M0,\\\"+t+\\\"A\\\"+t+\\\",\\\"+t+\\\" 0 1,\\\"+e+\\\" 0,\\\"+-t+\\\"A\\\"+t+\\\",\\\"+t+\\\" 0 1,\\\"+e+\\\" 0,\\\"+t}return s.innerRadius=function(e){return arguments.length?(t=ve(e),s):t},s.outerRadius=function(t){return arguments.length?(e=ve(t),s):e},s.cornerRadius=function(t){return arguments.length?(n=ve(t),s):n},s.padRadius=function(t){return arguments.length?(r=t==Ka?Ka:ve(t),s):r},s.startAngle=function(t){return arguments.length?(i=ve(t),s):i},s.endAngle=function(t){return arguments.length?(o=ve(t),s):o},s.padAngle=function(t){return arguments.length?(a=ve(t),s):a},s.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-kt;return[Math.cos(r)*n,Math.sin(r)*n]},s};var Ka=\\\"auto\\\";function Ja(t){return t.innerRadius}function Qa(t){return t.outerRadius}function ts(t){return t.startAngle}function es(t){return t.endAngle}function ns(t){return t&&t.padAngle}function rs(t,e,n,r){return(t-n)*e-(e-r)*t>0?0:1}function is(t,e,n,r,i){var o=t[0]-e[0],a=t[1]-e[1],s=(i?r:-r)/Math.sqrt(o*o+a*a),l=s*a,u=-s*o,c=t[0]+l,h=t[1]+u,p=e[0]+l,f=e[1]+u,d=(c+p)/2,m=(h+f)/2,v=p-c,g=f-h,y=v*v+g*g,_=n-r,b=c*f-p*h,x=(g<0?-1:1)*Math.sqrt(Math.max(0,_*_*y-b*b)),w=(b*g-v*x)/y,A=(-b*v-g*x)/y,C=(b*g+v*x)/y,M=(-b*v+g*x)/y,E=w-d,T=A-m,S=C-d,k=M-m;return E*E+T*T>S*S+k*k&&(w=C,A=M),[[w-l,A-u],[w*n/_,A*n/_]]}function os(t){var e=oi,n=ai,r=Yn,i=ss,o=i.key,a=.7;function s(o){var s,l=[],u=[],c=-1,h=o.length,p=ve(e),f=ve(n);function d(){l.push(\\\"M\\\",i(t(u),a))}for(;++c<h;)r.call(this,s=o[c],c)?u.push([+p.call(this,s,c),+f.call(this,s,c)]):u.length&&(d(),u=[]);return u.length&&d(),l.length?l.join(\\\"\\\"):null}return s.x=function(t){return arguments.length?(e=t,s):e},s.y=function(t){return arguments.length?(n=t,s):n},s.defined=function(t){return arguments.length?(r=t,s):r},s.interpolate=function(t){return arguments.length?(o=\\\"function\\\"==typeof t?i=t:(i=as.get(t)||ss).key,s):o},s.tension=function(t){return arguments.length?(a=t,s):a},s}t.svg.line=function(){return os(O)};var as=t.map({linear:ss,\\\"linear-closed\\\":ls,step:function(t){for(var e=0,n=t.length,r=t[0],i=[r[0],\\\",\\\",r[1]];++e<n;)i.push(\\\"H\\\",(r[0]+(r=t[e])[0])/2,\\\"V\\\",r[1]);return n>1&&i.push(\\\"H\\\",r[0]),i.join(\\\"\\\")},\\\"step-before\\\":us,\\\"step-after\\\":cs,basis:fs,\\\"basis-open\\\":function(t){if(t.length<4)return ss(t);for(var e,n=[],r=-1,i=t.length,o=[0],a=[0];++r<3;)e=t[r],o.push(e[0]),a.push(e[1]);for(n.push(ds(gs,o)+\\\",\\\"+ds(gs,a)),--r;++r<i;)e=t[r],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),ys(n,o,a);return n.join(\\\"\\\")},\\\"basis-closed\\\":function(t){for(var e,n,r=-1,i=t.length,o=i+4,a=[],s=[];++r<4;)n=t[r%i],a.push(n[0]),s.push(n[1]);for(e=[ds(gs,a),\\\",\\\",ds(gs,s)],--r;++r<o;)n=t[r%i],a.shift(),a.push(n[0]),s.shift(),s.push(n[1]),ys(e,a,s);return e.join(\\\"\\\")},bundle:function(t,e){var n=t.length-1;if(n)for(var r,i,o=t[0][0],a=t[0][1],s=t[n][0]-o,l=t[n][1]-a,u=-1;++u<=n;)i=u/n,(r=t[u])[0]=e*r[0]+(1-e)*(o+i*s),r[1]=e*r[1]+(1-e)*(a+i*l);return fs(t)},cardinal:function(t,e){return t.length<3?ss(t):t[0]+hs(t,ps(t,e))},\\\"cardinal-open\\\":function(t,e){return t.length<4?ss(t):t[1]+hs(t.slice(1,-1),ps(t,e))},\\\"cardinal-closed\\\":function(t,e){return t.length<3?ls(t):t[0]+hs((t.push(t[0]),t),ps([t[t.length-2]].concat(t,[t[1]]),e))},monotone:function(t){return t.length<3?ss(t):t[0]+hs(t,function(t){for(var e,n,r,i,o=[],a=function(t){for(var e=0,n=t.length-1,r=[],i=t[0],o=t[1],a=r[0]=_s(i,o);++e<n;)r[e]=(a+(a=_s(i=o,o=t[e+1])))/2;return r[e]=a,r}(t),s=-1,l=t.length-1;++s<l;)e=_s(t[s],t[s+1]),y(e)<Ct?a[s]=a[s+1]=0:(i=(n=a[s]/e)*n+(r=a[s+1]/e)*r)>9&&(i=3*e/Math.sqrt(i),a[s]=i*n,a[s+1]=i*r);for(s=-1;++s<=l;)i=(t[Math.min(l,s+1)][0]-t[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),o.push([i||0,a[s]*i||0]);return o}(t))}});function ss(t){return t.length>1?t.join(\\\"L\\\"):t+\\\"Z\\\"}function ls(t){return t.join(\\\"L\\\")+\\\"Z\\\"}function us(t){for(var e=0,n=t.length,r=t[0],i=[r[0],\\\",\\\",r[1]];++e<n;)i.push(\\\"V\\\",(r=t[e])[1],\\\"H\\\",r[0]);return i.join(\\\"\\\")}function cs(t){for(var e=0,n=t.length,r=t[0],i=[r[0],\\\",\\\",r[1]];++e<n;)i.push(\\\"H\\\",(r=t[e])[0],\\\"V\\\",r[1]);return i.join(\\\"\\\")}function hs(t,e){if(e.length<1||t.length!=e.length&&t.length!=e.length+2)return ss(t);var n=t.length!=e.length,r=\\\"\\\",i=t[0],o=t[1],a=e[0],s=a,l=1;if(n&&(r+=\\\"Q\\\"+(o[0]-2*a[0]/3)+\\\",\\\"+(o[1]-2*a[1]/3)+\\\",\\\"+o[0]+\\\",\\\"+o[1],i=t[1],l=2),e.length>1){s=e[1],o=t[l],l++,r+=\\\"C\\\"+(i[0]+a[0])+\\\",\\\"+(i[1]+a[1])+\\\",\\\"+(o[0]-s[0])+\\\",\\\"+(o[1]-s[1])+\\\",\\\"+o[0]+\\\",\\\"+o[1];for(var u=2;u<e.length;u++,l++)o=t[l],s=e[u],r+=\\\"S\\\"+(o[0]-s[0])+\\\",\\\"+(o[1]-s[1])+\\\",\\\"+o[0]+\\\",\\\"+o[1]}if(n){var c=t[l];r+=\\\"Q\\\"+(o[0]+2*s[0]/3)+\\\",\\\"+(o[1]+2*s[1]/3)+\\\",\\\"+c[0]+\\\",\\\"+c[1]}return r}function ps(t,e){for(var n,r=[],i=(1-e)/2,o=t[0],a=t[1],s=1,l=t.length;++s<l;)n=o,o=a,a=t[s],r.push([i*(a[0]-n[0]),i*(a[1]-n[1])]);return r}function fs(t){if(t.length<3)return ss(t);var e=1,n=t.length,r=t[0],i=r[0],o=r[1],a=[i,i,i,(r=t[1])[0]],s=[o,o,o,r[1]],l=[i,\\\",\\\",o,\\\"L\\\",ds(gs,a),\\\",\\\",ds(gs,s)];for(t.push(t[n-1]);++e<=n;)r=t[e],a.shift(),a.push(r[0]),s.shift(),s.push(r[1]),ys(l,a,s);return t.pop(),l.push(\\\"L\\\",r),l.join(\\\"\\\")}function ds(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}as.forEach((function(t,e){e.key=t,e.closed=/-closed$/.test(t)}));var ms=[0,2/3,1/3,0],vs=[0,1/3,2/3,0],gs=[0,1/6,2/3,1/6];function ys(t,e,n){t.push(\\\"C\\\",ds(ms,e),\\\",\\\",ds(ms,n),\\\",\\\",ds(vs,e),\\\",\\\",ds(vs,n),\\\",\\\",ds(gs,e),\\\",\\\",ds(gs,n))}function _s(t,e){return(e[1]-t[1])/(e[0]-t[0])}function bs(t){for(var e,n,r,i=-1,o=t.length;++i<o;)n=(e=t[i])[0],r=e[1]-kt,e[0]=n*Math.cos(r),e[1]=n*Math.sin(r);return t}function xs(t){var e=oi,n=oi,r=0,i=ai,o=Yn,a=ss,s=a.key,l=a,u=\\\"L\\\",c=.7;function h(s){var h,p,f,d=[],m=[],v=[],g=-1,y=s.length,_=ve(e),b=ve(r),x=e===n?function(){return p}:ve(n),w=r===i?function(){return f}:ve(i);function A(){d.push(\\\"M\\\",a(t(v),c),u,l(t(m.reverse()),c),\\\"Z\\\")}for(;++g<y;)o.call(this,h=s[g],g)?(m.push([p=+_.call(this,h,g),f=+b.call(this,h,g)]),v.push([+x.call(this,h,g),+w.call(this,h,g)])):m.length&&(A(),m=[],v=[]);return m.length&&A(),d.length?d.join(\\\"\\\"):null}return h.x=function(t){return arguments.length?(e=n=t,h):n},h.x0=function(t){return arguments.length?(e=t,h):e},h.x1=function(t){return arguments.length?(n=t,h):n},h.y=function(t){return arguments.length?(r=i=t,h):i},h.y0=function(t){return arguments.length?(r=t,h):r},h.y1=function(t){return arguments.length?(i=t,h):i},h.defined=function(t){return arguments.length?(o=t,h):o},h.interpolate=function(t){return arguments.length?(s=\\\"function\\\"==typeof t?a=t:(a=as.get(t)||ss).key,l=a.reverse||a,u=a.closed?\\\"M\\\":\\\"L\\\",h):s},h.tension=function(t){return arguments.length?(c=t,h):c},h}function ws(t){return t.radius}function As(t){return[t.x,t.y]}function Cs(t){return function(){var e=t.apply(this,arguments),n=e[0],r=e[1]-kt;return[n*Math.cos(r),n*Math.sin(r)]}}function Ms(){return 64}function Es(){return\\\"circle\\\"}function Ts(t){var e=Math.sqrt(t/Et);return\\\"M0,\\\"+e+\\\"A\\\"+e+\\\",\\\"+e+\\\" 0 1,1 0,\\\"+-e+\\\"A\\\"+e+\\\",\\\"+e+\\\" 0 1,1 0,\\\"+e+\\\"Z\\\"}t.svg.line.radial=function(){var t=os(bs);return t.radius=t.x,delete t.x,t.angle=t.y,delete t.y,t},us.reverse=cs,cs.reverse=us,t.svg.area=function(){return xs(O)},t.svg.area.radial=function(){var t=xs(bs);return t.radius=t.x,delete t.x,t.innerRadius=t.x0,delete t.x0,t.outerRadius=t.x1,delete t.x1,t.angle=t.y,delete t.y,t.startAngle=t.y0,delete t.y0,t.endAngle=t.y1,delete t.y1,t},t.svg.chord=function(){var t=Hr,e=Gr,n=ws,r=ts,i=es;function o(n,r){var i,o,u=a(this,t,n,r),c=a(this,e,n,r);return\\\"M\\\"+u.p0+s(u.r,u.p1,u.a1-u.a0)+(o=c,((i=u).a0==o.a0&&i.a1==o.a1?l(u.r,u.p1,u.r,u.p0):l(u.r,u.p1,c.r,c.p0)+s(c.r,c.p1,c.a1-c.a0)+l(c.r,c.p1,u.r,u.p0))+\\\"Z\\\")}function a(t,e,o,a){var s=e.call(t,o,a),l=n.call(t,s,a),u=r.call(t,s,a)-kt,c=i.call(t,s,a)-kt;return{r:l,a0:u,a1:c,p0:[l*Math.cos(u),l*Math.sin(u)],p1:[l*Math.cos(c),l*Math.sin(c)]}}function s(t,e,n){return\\\"A\\\"+t+\\\",\\\"+t+\\\" 0 \\\"+ +(n>Et)+\\\",1 \\\"+e}function l(t,e,n,r){return\\\"Q 0,0 \\\"+r}return o.radius=function(t){return arguments.length?(n=ve(t),o):n},o.source=function(e){return arguments.length?(t=ve(e),o):t},o.target=function(t){return arguments.length?(e=ve(t),o):e},o.startAngle=function(t){return arguments.length?(r=ve(t),o):r},o.endAngle=function(t){return arguments.length?(i=ve(t),o):i},o},t.svg.diagonal=function(){var t=Hr,e=Gr,n=As;function r(r,i){var o=t.call(this,r,i),a=e.call(this,r,i),s=(o.y+a.y)/2,l=[o,{x:o.x,y:s},{x:a.x,y:s},a];return\\\"M\\\"+(l=l.map(n))[0]+\\\"C\\\"+l[1]+\\\" \\\"+l[2]+\\\" \\\"+l[3]}return r.source=function(e){return arguments.length?(t=ve(e),r):t},r.target=function(t){return arguments.length?(e=ve(t),r):e},r.projection=function(t){return arguments.length?(n=t,r):n},r},t.svg.diagonal.radial=function(){var e=t.svg.diagonal(),n=As,r=e.projection;return e.projection=function(t){return arguments.length?r(Cs(n=t)):n},e},t.svg.symbol=function(){var t=Es,e=Ms;function n(n,r){return(Ss.get(t.call(this,n,r))||Ts)(e.call(this,n,r))}return n.type=function(e){return arguments.length?(t=ve(e),n):t},n.size=function(t){return arguments.length?(e=ve(t),n):e},n};var Ss=t.map({circle:Ts,cross:function(t){var e=Math.sqrt(t/5)/2;return\\\"M\\\"+-3*e+\\\",\\\"+-e+\\\"H\\\"+-e+\\\"V\\\"+-3*e+\\\"H\\\"+e+\\\"V\\\"+-e+\\\"H\\\"+3*e+\\\"V\\\"+e+\\\"H\\\"+e+\\\"V\\\"+3*e+\\\"H\\\"+-e+\\\"V\\\"+e+\\\"H\\\"+-3*e+\\\"Z\\\"},diamond:function(t){var e=Math.sqrt(t/(2*Os)),n=e*Os;return\\\"M0,\\\"+-e+\\\"L\\\"+n+\\\",0 0,\\\"+e+\\\" \\\"+-n+\\\",0Z\\\"},square:function(t){var e=Math.sqrt(t)/2;return\\\"M\\\"+-e+\\\",\\\"+-e+\\\"L\\\"+e+\\\",\\\"+-e+\\\" \\\"+e+\\\",\\\"+e+\\\" \\\"+-e+\\\",\\\"+e+\\\"Z\\\"},\\\"triangle-down\\\":function(t){var e=Math.sqrt(t/ks),n=e*ks/2;return\\\"M0,\\\"+n+\\\"L\\\"+e+\\\",\\\"+-n+\\\" \\\"+-e+\\\",\\\"+-n+\\\"Z\\\"},\\\"triangle-up\\\":function(t){var e=Math.sqrt(t/ks),n=e*ks/2;return\\\"M0,\\\"+-n+\\\"L\\\"+e+\\\",\\\"+n+\\\" \\\"+-e+\\\",\\\"+n+\\\"Z\\\"}});t.svg.symbolTypes=Ss.keys();var ks=Math.sqrt(3),Os=Math.tan(30*Ot);G.transition=function(t){for(var e,n,r=zs||++$s,i=Fs(t),o=[],a=Rs||{time:Date.now(),ease:ho,delay:0,duration:250},s=-1,l=this.length;++s<l;){o.push(e=[]);for(var u=this[s],c=-1,h=u.length;++c<h;)(n=u[c])&&js(n,c,i,r,a),e.push(n)}return Ps(o,i,r)},G.interrupt=function(t){return this.each(null==t?Is:Ls(Fs(t)))};var Is=Ls(Fs());function Ls(t){return function(){var e,n,r;(e=this[t])&&(r=e[n=e.active])&&(r.timer.c=null,r.timer.t=NaN,--e.count?delete e[n]:delete this[t],e.active+=.5,r.event&&r.event.interrupt.call(this,this.__data__,r.index))}}function Ps(t,e,n){return j(t,Ds),t.namespace=e,t.id=n,t}var zs,Rs,Ds=[],$s=0;function Bs(t,e,n,r){var i=t.id,o=t.namespace;return ct(t,\\\"function\\\"==typeof n?function(t,a,s){t[o][i].tween.set(e,r(n.call(t,t.__data__,a,s)))}:(n=r(n),function(t){t[o][i].tween.set(e,n)}))}function Ns(t){return null==t&&(t=\\\"\\\"),function(){this.textContent=t}}function Fs(t){return null==t?\\\"__transition__\\\":\\\"__transition_\\\"+t+\\\"__\\\"}function js(t,e,n,r,i){var o,a,s,l,u,c=t[n]||(t[n]={active:0,count:0}),h=c[r];function p(n){var i=c.active,p=c[i];for(var d in p&&(p.timer.c=null,p.timer.t=NaN,--c.count,delete c[i],p.event&&p.event.interrupt.call(t,t.__data__,p.index)),c)if(+d<r){var m=c[d];m.timer.c=null,m.timer.t=NaN,--c.count,delete c[d]}a.c=f,Ce((function(){return a.c&&f(n||1)&&(a.c=null,a.t=NaN),1}),0,o),c.active=r,h.event&&h.event.start.call(t,t.__data__,e),u=[],h.tween.forEach((function(n,r){(r=r.call(t,t.__data__,e))&&u.push(r)})),l=h.ease,s=h.duration}function f(i){for(var o=i/s,a=l(o),p=u.length;p>0;)u[--p].call(t,a);if(o>=1)return h.event&&h.event.end.call(t,t.__data__,e),--c.count?delete c[r]:delete t[n],1}h||(o=i.time,a=Ce((function(t){var e=h.delay;if(a.t=e+o,e<=t)return p(t-e);a.c=p}),0,o),h=c[r]={tween:new x,time:o,timer:a,delay:i.delay,duration:i.duration,ease:i.ease,index:e},i=null,++c.count)}Ds.call=G.call,Ds.empty=G.empty,Ds.node=G.node,Ds.size=G.size,t.transition=function(e,n){return e&&e.transition?zs?e.transition(n):e:t.selection().transition(e)},t.transition.prototype=Ds,Ds.select=function(t){var e,n,r,i=this.id,o=this.namespace,a=[];t=W(t);for(var s=-1,l=this.length;++s<l;){a.push(e=[]);for(var u=this[s],c=-1,h=u.length;++c<h;)(r=u[c])&&(n=t.call(r,r.__data__,c,s))?(\\\"__data__\\\"in r&&(n.__data__=r.__data__),js(n,c,o,i,r[o][i]),e.push(n)):e.push(null)}return Ps(a,o,i)},Ds.selectAll=function(t){var e,n,r,i,o,a=this.id,s=this.namespace,l=[];t=X(t);for(var u=-1,c=this.length;++u<c;)for(var h=this[u],p=-1,f=h.length;++p<f;)if(r=h[p]){o=r[s][a],n=t.call(r,r.__data__,p,u),l.push(e=[]);for(var d=-1,m=n.length;++d<m;)(i=n[d])&&js(i,d,s,a,o),e.push(i)}return Ps(l,s,a)},Ds.filter=function(t){var e,n,r=[];\\\"function\\\"!=typeof t&&(t=lt(t));for(var i=0,o=this.length;i<o;i++){r.push(e=[]);for(var a,s=0,l=(a=this[i]).length;s<l;s++)(n=a[s])&&t.call(n,n.__data__,s,i)&&e.push(n)}return Ps(r,this.namespace,this.id)},Ds.tween=function(t,e){var n=this.id,r=this.namespace;return arguments.length<2?this.node()[r][n].tween.get(t):ct(this,null==e?function(e){e[r][n].tween.remove(t)}:function(i){i[r][n].tween.set(t,e)})},Ds.attr=function(e,n){if(arguments.length<2){for(n in e)this.attr(n,e[n]);return this}var r=\\\"transform\\\"==e?Ao:eo,i=t.ns.qualify(e);function o(){this.removeAttribute(i)}function a(){this.removeAttributeNS(i.space,i.local)}function s(t){return null==t?o:(t+=\\\"\\\",function(){var e,n=this.getAttribute(i);return n!==t&&(e=r(n,t),function(t){this.setAttribute(i,e(t))})})}function l(t){return null==t?a:(t+=\\\"\\\",function(){var e,n=this.getAttributeNS(i.space,i.local);return n!==t&&(e=r(n,t),function(t){this.setAttributeNS(i.space,i.local,e(t))})})}return Bs(this,\\\"attr.\\\"+e,n,i.local?l:s)},Ds.attrTween=function(e,n){var r=t.ns.qualify(e);return this.tween(\\\"attr.\\\"+e,r.local?function(t,e){var i=n.call(this,t,e,this.getAttributeNS(r.space,r.local));return i&&function(t){this.setAttributeNS(r.space,r.local,i(t))}}:function(t,e){var i=n.call(this,t,e,this.getAttribute(r));return i&&function(t){this.setAttribute(r,i(t))}})},Ds.style=function(t,e,n){var r=arguments.length;if(r<3){if(\\\"string\\\"!=typeof t){for(n in r<2&&(e=\\\"\\\"),t)this.style(n,t[n],e);return this}n=\\\"\\\"}function i(){this.style.removeProperty(t)}function o(e){return null==e?i:(e+=\\\"\\\",function(){var r,i=a(this).getComputedStyle(this,null).getPropertyValue(t);return i!==e&&(r=eo(i,e),function(e){this.style.setProperty(t,r(e),n)})})}return Bs(this,\\\"style.\\\"+t,e,o)},Ds.styleTween=function(t,e,n){function r(r,i){var o=e.call(this,r,i,a(this).getComputedStyle(this,null).getPropertyValue(t));return o&&function(e){this.style.setProperty(t,o(e),n)}}return arguments.length<3&&(n=\\\"\\\"),this.tween(\\\"style.\\\"+t,r)},Ds.text=function(t){return Bs(this,\\\"text\\\",t,Ns)},Ds.remove=function(){var t=this.namespace;return this.each(\\\"end.transition\\\",(function(){var e;this[t].count<2&&(e=this.parentNode)&&e.removeChild(this)}))},Ds.ease=function(e){var n=this.id,r=this.namespace;return arguments.length<1?this.node()[r][n].ease:(\\\"function\\\"!=typeof e&&(e=t.ease.apply(t,arguments)),ct(this,(function(t){t[r][n].ease=e})))},Ds.delay=function(t){var e=this.id,n=this.namespace;return arguments.length<1?this.node()[n][e].delay:ct(this,\\\"function\\\"==typeof t?function(r,i,o){r[n][e].delay=+t.call(r,r.__data__,i,o)}:(t=+t,function(r){r[n][e].delay=t}))},Ds.duration=function(t){var e=this.id,n=this.namespace;return arguments.length<1?this.node()[n][e].duration:ct(this,\\\"function\\\"==typeof t?function(r,i,o){r[n][e].duration=Math.max(1,t.call(r,r.__data__,i,o))}:(t=Math.max(1,t),function(r){r[n][e].duration=t}))},Ds.each=function(e,n){var r=this.id,i=this.namespace;if(arguments.length<2){var o=Rs,a=zs;try{zs=r,ct(this,(function(t,n,o){Rs=t[i][r],e.call(t,t.__data__,n,o)}))}finally{Rs=o,zs=a}}else ct(this,(function(o){var a=o[i][r];(a.event||(a.event=t.dispatch(\\\"start\\\",\\\"end\\\",\\\"interrupt\\\"))).on(e,n)}));return this},Ds.transition=function(){for(var t,e,n,r=this.id,i=++$s,o=this.namespace,a=[],s=0,l=this.length;s<l;s++){a.push(t=[]);for(var u,c=0,h=(u=this[s]).length;c<h;c++)(e=u[c])&&js(e,c,o,i,{time:(n=e[o][r]).time,ease:n.ease,delay:n.delay+n.duration,duration:n.duration}),t.push(e)}return Ps(a,o,i)},t.svg.axis=function(){var e,n=t.scale.linear(),i=Us,o=6,a=6,s=3,l=[10],u=null;function c(r){r.each((function(){var r,c=t.select(this),h=this.__chart__||n,p=this.__chart__=n.copy(),f=null==u?p.ticks?p.ticks.apply(p,l):p.domain():u,d=null==e?p.tickFormat?p.tickFormat.apply(p,l):O:e,m=c.selectAll(\\\".tick\\\").data(f,p),v=m.enter().insert(\\\"g\\\",\\\".domain\\\").attr(\\\"class\\\",\\\"tick\\\").style(\\\"opacity\\\",Ct),g=t.transition(m.exit()).style(\\\"opacity\\\",Ct).remove(),y=t.transition(m.order()).style(\\\"opacity\\\",1),_=Math.max(o,0)+s,b=wa(p),x=c.selectAll(\\\".domain\\\").data([0]),w=(x.enter().append(\\\"path\\\").attr(\\\"class\\\",\\\"domain\\\"),t.transition(x));v.append(\\\"line\\\"),v.append(\\\"text\\\");var A,C,M,E,T=v.select(\\\"line\\\"),S=y.select(\\\"line\\\"),k=m.select(\\\"text\\\").text(d),I=v.select(\\\"text\\\"),L=y.select(\\\"text\\\"),P=\\\"top\\\"===i||\\\"left\\\"===i?-1:1;if(\\\"bottom\\\"===i||\\\"top\\\"===i?(r=Vs,A=\\\"x\\\",M=\\\"y\\\",C=\\\"x2\\\",E=\\\"y2\\\",k.attr(\\\"dy\\\",P<0?\\\"0em\\\":\\\".71em\\\").style(\\\"text-anchor\\\",\\\"middle\\\"),w.attr(\\\"d\\\",\\\"M\\\"+b[0]+\\\",\\\"+P*a+\\\"V0H\\\"+b[1]+\\\"V\\\"+P*a)):(r=Hs,A=\\\"y\\\",M=\\\"x\\\",C=\\\"y2\\\",E=\\\"x2\\\",k.attr(\\\"dy\\\",\\\".32em\\\").style(\\\"text-anchor\\\",P<0?\\\"end\\\":\\\"start\\\"),w.attr(\\\"d\\\",\\\"M\\\"+P*a+\\\",\\\"+b[0]+\\\"H0V\\\"+b[1]+\\\"H\\\"+P*a)),T.attr(E,P*o),I.attr(M,P*_),S.attr(C,0).attr(E,P*o),L.attr(A,0).attr(M,P*_),p.rangeBand){var z=p,R=z.rangeBand()/2;h=p=function(t){return z(t)+R}}else h.rangeBand?h=p:g.call(r,p,h);v.call(r,h,p),y.call(r,p,p)}))}return c.scale=function(t){return arguments.length?(n=t,c):n},c.orient=function(t){return arguments.length?(i=t in qs?t+\\\"\\\":Us,c):i},c.ticks=function(){return arguments.length?(l=r(arguments),c):l},c.tickValues=function(t){return arguments.length?(u=t,c):u},c.tickFormat=function(t){return arguments.length?(e=t,c):e},c.tickSize=function(t){var e=arguments.length;return e?(o=+t,a=+arguments[e-1],c):o},c.innerTickSize=function(t){return arguments.length?(o=+t,c):o},c.outerTickSize=function(t){return arguments.length?(a=+t,c):a},c.tickPadding=function(t){return arguments.length?(s=+t,c):s},c.tickSubdivide=function(){return arguments.length&&c},c};var Us=\\\"bottom\\\",qs={top:1,right:1,bottom:1,left:1};function Vs(t,e,n){t.attr(\\\"transform\\\",(function(t){var r=e(t);return\\\"translate(\\\"+(isFinite(r)?r:n(t))+\\\",0)\\\"}))}function Hs(t,e,n){t.attr(\\\"transform\\\",(function(t){var r=e(t);return\\\"translate(0,\\\"+(isFinite(r)?r:n(t))+\\\")\\\"}))}t.svg.brush=function(){var e,n,r=N(p,\\\"brushstart\\\",\\\"brush\\\",\\\"brushend\\\"),i=null,o=null,s=[0,0],l=[0,0],u=!0,c=!0,h=Ws[0];function p(e){e.each((function(){var e=t.select(this).style(\\\"pointer-events\\\",\\\"all\\\").style(\\\"-webkit-tap-highlight-color\\\",\\\"rgba(0,0,0,0)\\\").on(\\\"mousedown.brush\\\",v).on(\\\"touchstart.brush\\\",v),n=e.selectAll(\\\".background\\\").data([0]);n.enter().append(\\\"rect\\\").attr(\\\"class\\\",\\\"background\\\").style(\\\"visibility\\\",\\\"hidden\\\").style(\\\"cursor\\\",\\\"crosshair\\\"),e.selectAll(\\\".extent\\\").data([0]).enter().append(\\\"rect\\\").attr(\\\"class\\\",\\\"extent\\\").style(\\\"cursor\\\",\\\"move\\\");var r=e.selectAll(\\\".resize\\\").data(h,O);r.exit().remove(),r.enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return\\\"resize \\\"+t})).style(\\\"cursor\\\",(function(t){return Gs[t]})).append(\\\"rect\\\").attr(\\\"x\\\",(function(t){return/[ew]$/.test(t)?-3:null})).attr(\\\"y\\\",(function(t){return/^[ns]/.test(t)?-3:null})).attr(\\\"width\\\",6).attr(\\\"height\\\",6).style(\\\"visibility\\\",\\\"hidden\\\"),r.style(\\\"display\\\",p.empty()?\\\"none\\\":null);var a,s=t.transition(e),l=t.transition(n);i&&(a=wa(i),l.attr(\\\"x\\\",a[0]).attr(\\\"width\\\",a[1]-a[0]),d(s)),o&&(a=wa(o),l.attr(\\\"y\\\",a[0]).attr(\\\"height\\\",a[1]-a[0]),m(s)),f(s)}))}function f(t){t.selectAll(\\\".resize\\\").attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+s[+/e$/.test(t)]+\\\",\\\"+l[+/^s/.test(t)]+\\\")\\\"}))}function d(t){t.select(\\\".extent\\\").attr(\\\"x\\\",s[0]),t.selectAll(\\\".extent,.n>rect,.s>rect\\\").attr(\\\"width\\\",s[1]-s[0])}function m(t){t.select(\\\".extent\\\").attr(\\\"y\\\",l[0]),t.selectAll(\\\".extent,.e>rect,.w>rect\\\").attr(\\\"height\\\",l[1]-l[0])}function v(){var h,v,g=this,y=t.select(t.event.target),_=r.of(g,arguments),b=t.select(g),x=y.datum(),w=!/^(n|s)$/.test(x)&&i,A=!/^(e|w)$/.test(x)&&o,C=y.classed(\\\"extent\\\"),M=bt(g),E=t.mouse(g),T=t.select(a(g)).on(\\\"keydown.brush\\\",O).on(\\\"keyup.brush\\\",I);if(t.event.changedTouches?T.on(\\\"touchmove.brush\\\",L).on(\\\"touchend.brush\\\",z):T.on(\\\"mousemove.brush\\\",L).on(\\\"mouseup.brush\\\",z),b.interrupt().selectAll(\\\"*\\\").interrupt(),C)E[0]=s[0]-E[0],E[1]=l[0]-E[1];else if(x){var S=+/w$/.test(x),k=+/^n/.test(x);v=[s[1-S]-E[0],l[1-k]-E[1]],E[0]=s[S],E[1]=l[k]}else t.event.altKey&&(h=E.slice());function O(){32==t.event.keyCode&&(C||(h=null,E[0]-=s[1],E[1]-=l[1],C=2),$())}function I(){32==t.event.keyCode&&2==C&&(E[0]+=s[1],E[1]+=l[1],C=0,$())}function L(){var e=t.mouse(g),n=!1;v&&(e[0]+=v[0],e[1]+=v[1]),C||(t.event.altKey?(h||(h=[(s[0]+s[1])/2,(l[0]+l[1])/2]),E[0]=s[+(e[0]<h[0])],E[1]=l[+(e[1]<h[1])]):h=null),w&&P(e,i,0)&&(d(b),n=!0),A&&P(e,o,1)&&(m(b),n=!0),n&&(f(b),_({type:\\\"brush\\\",mode:C?\\\"move\\\":\\\"resize\\\"}))}function P(t,r,i){var o,a,p=wa(r),f=p[0],d=p[1],m=E[i],v=i?l:s,g=v[1]-v[0];if(C&&(f-=m,d-=g+m),o=(i?c:u)?Math.max(f,Math.min(d,t[i])):t[i],C?a=(o+=m)+g:(h&&(m=Math.max(f,Math.min(d,2*h[i]-o))),m<o?(a=o,o=m):a=m),v[0]!=o||v[1]!=a)return i?n=null:e=null,v[0]=o,v[1]=a,!0}function z(){L(),b.style(\\\"pointer-events\\\",\\\"all\\\").selectAll(\\\".resize\\\").style(\\\"display\\\",p.empty()?\\\"none\\\":null),t.select(\\\"body\\\").style(\\\"cursor\\\",null),T.on(\\\"mousemove.brush\\\",null).on(\\\"mouseup.brush\\\",null).on(\\\"touchmove.brush\\\",null).on(\\\"touchend.brush\\\",null).on(\\\"keydown.brush\\\",null).on(\\\"keyup.brush\\\",null),M(),_({type:\\\"brushend\\\"})}b.style(\\\"pointer-events\\\",\\\"none\\\").selectAll(\\\".resize\\\").style(\\\"display\\\",null),t.select(\\\"body\\\").style(\\\"cursor\\\",y.style(\\\"cursor\\\")),_({type:\\\"brushstart\\\"}),L()}return p.event=function(i){i.each((function(){var i=r.of(this,arguments),o={x:s,y:l,i:e,j:n},a=this.__chart__||o;this.__chart__=o,zs?t.select(this).transition().each(\\\"start.brush\\\",(function(){e=a.i,n=a.j,s=a.x,l=a.y,i({type:\\\"brushstart\\\"})})).tween(\\\"brush:brush\\\",(function(){var t=no(s,o.x),r=no(l,o.y);return e=n=null,function(e){s=o.x=t(e),l=o.y=r(e),i({type:\\\"brush\\\",mode:\\\"resize\\\"})}})).each(\\\"end.brush\\\",(function(){e=o.i,n=o.j,i({type:\\\"brush\\\",mode:\\\"resize\\\"}),i({type:\\\"brushend\\\"})})):(i({type:\\\"brushstart\\\"}),i({type:\\\"brush\\\",mode:\\\"resize\\\"}),i({type:\\\"brushend\\\"}))}))},p.x=function(t){return arguments.length?(h=Ws[!(i=t)<<1|!o],p):i},p.y=function(t){return arguments.length?(h=Ws[!i<<1|!(o=t)],p):o},p.clamp=function(t){return arguments.length?(i&&o?(u=!!t[0],c=!!t[1]):i?u=!!t:o&&(c=!!t),p):i&&o?[u,c]:i?u:o?c:null},p.extent=function(t){var r,a,u,c,h;return arguments.length?(i&&(r=t[0],a=t[1],o&&(r=r[0],a=a[0]),e=[r,a],i.invert&&(r=i(r),a=i(a)),a<r&&(h=r,r=a,a=h),r==s[0]&&a==s[1]||(s=[r,a])),o&&(u=t[0],c=t[1],i&&(u=u[1],c=c[1]),n=[u,c],o.invert&&(u=o(u),c=o(c)),c<u&&(h=u,u=c,c=h),u==l[0]&&c==l[1]||(l=[u,c])),p):(i&&(e?(r=e[0],a=e[1]):(r=s[0],a=s[1],i.invert&&(r=i.invert(r),a=i.invert(a)),a<r&&(h=r,r=a,a=h))),o&&(n?(u=n[0],c=n[1]):(u=l[0],c=l[1],o.invert&&(u=o.invert(u),c=o.invert(c)),c<u&&(h=u,u=c,c=h))),i&&o?[[r,u],[a,c]]:i?[r,a]:o&&[u,c])},p.clear=function(){return p.empty()||(s=[0,0],l=[0,0],e=n=null),p},p.empty=function(){return!!i&&s[0]==s[1]||!!o&&l[0]==l[1]},t.rebind(p,r,\\\"on\\\")};var Gs={n:\\\"ns-resize\\\",e:\\\"ew-resize\\\",s:\\\"ns-resize\\\",w:\\\"ew-resize\\\",nw:\\\"nwse-resize\\\",ne:\\\"nesw-resize\\\",se:\\\"nwse-resize\\\",sw:\\\"nesw-resize\\\"},Ws=[[\\\"n\\\",\\\"e\\\",\\\"s\\\",\\\"w\\\",\\\"nw\\\",\\\"ne\\\",\\\"se\\\",\\\"sw\\\"],[\\\"e\\\",\\\"w\\\"],[\\\"n\\\",\\\"s\\\"],[]],Xs=ze.format=cn.timeFormat,Ys=Xs.utc,Zs=Ys(\\\"%Y-%m-%dT%H:%M:%S.%LZ\\\");function Ks(t){return t.toISOString()}function Js(e,n,r){function i(t){return e(t)}function o(e,r){var i=(e[1]-e[0])/r,o=t.bisect(tl,i);return o==tl.length?[n.year,Ia(e.map((function(t){return t/31536e6})),r)[2]]:o?n[i/tl[o-1]<tl[o]/i?o-1:o]:[rl,Ia(e,r)[2]]}return i.invert=function(t){return Qs(e.invert(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain().map(Qs)},i.nice=function(t,e){var n=i.domain(),r=xa(n),a=null==t?o(r,10):\\\"number\\\"==typeof t&&o(r,t);function s(n){return!isNaN(n)&&!t.range(n,Qs(+n+1),e).length}return a&&(t=a[0],e=a[1]),i.domain(Ca(n,e>1?{floor:function(e){for(;s(e=t.floor(e));)e=Qs(e-1);return e},ceil:function(e){for(;s(e=t.ceil(e));)e=Qs(+e+1);return e}}:t))},i.ticks=function(t,e){var n=xa(i.domain()),r=null==t?o(n,10):\\\"number\\\"==typeof t?o(n,t):!t.range&&[{range:t},e];return r&&(t=r[0],e=r[1]),t.range(n[0],Qs(+n[1]+1),e<1?1:e)},i.tickFormat=function(){return r},i.copy=function(){return Js(e.copy(),n,r)},ka(i,e)}function Qs(t){return new Date(t)}Xs.iso=Date.prototype.toISOString&&+new Date(\\\"2000-01-01T00:00:00.000Z\\\")?Ks:Zs,Ks.parse=function(t){var e=new Date(t);return isNaN(e)?null:e},Ks.toString=Zs.toString,ze.second=Be((function(t){return new Re(1e3*Math.floor(t/1e3))}),(function(t,e){t.setTime(t.getTime()+1e3*Math.floor(e))}),(function(t){return t.getSeconds()})),ze.seconds=ze.second.range,ze.seconds.utc=ze.second.utc.range,ze.minute=Be((function(t){return new Re(6e4*Math.floor(t/6e4))}),(function(t,e){t.setTime(t.getTime()+6e4*Math.floor(e))}),(function(t){return t.getMinutes()})),ze.minutes=ze.minute.range,ze.minutes.utc=ze.minute.utc.range,ze.hour=Be((function(t){var e=t.getTimezoneOffset()/60;return new Re(36e5*(Math.floor(t/36e5-e)+e))}),(function(t,e){t.setTime(t.getTime()+36e5*Math.floor(e))}),(function(t){return t.getHours()})),ze.hours=ze.hour.range,ze.hours.utc=ze.hour.utc.range,ze.month=Be((function(t){return(t=ze.day(t)).setDate(1),t}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t){return t.getMonth()})),ze.months=ze.month.range,ze.months.utc=ze.month.utc.range;var tl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],el=[[ze.second,1],[ze.second,5],[ze.second,15],[ze.second,30],[ze.minute,1],[ze.minute,5],[ze.minute,15],[ze.minute,30],[ze.hour,1],[ze.hour,3],[ze.hour,6],[ze.hour,12],[ze.day,1],[ze.day,2],[ze.week,1],[ze.month,1],[ze.month,3],[ze.year,1]],nl=Xs.multi([[\\\".%L\\\",function(t){return t.getMilliseconds()}],[\\\":%S\\\",function(t){return t.getSeconds()}],[\\\"%I:%M\\\",function(t){return t.getMinutes()}],[\\\"%I %p\\\",function(t){return t.getHours()}],[\\\"%a %d\\\",function(t){return t.getDay()&&1!=t.getDate()}],[\\\"%b %d\\\",function(t){return 1!=t.getDate()}],[\\\"%B\\\",function(t){return t.getMonth()}],[\\\"%Y\\\",Yn]]),rl={range:function(e,n,r){return t.range(Math.ceil(e/r)*r,+n,r).map(Qs)},floor:O,ceil:O};el.year=ze.year,ze.scale=function(){return Js(t.scale.linear(),el,nl)};var il=el.map((function(t){return[t[0].utc,t[1]]})),ol=Ys.multi([[\\\".%L\\\",function(t){return t.getUTCMilliseconds()}],[\\\":%S\\\",function(t){return t.getUTCSeconds()}],[\\\"%I:%M\\\",function(t){return t.getUTCMinutes()}],[\\\"%I %p\\\",function(t){return t.getUTCHours()}],[\\\"%a %d\\\",function(t){return t.getUTCDay()&&1!=t.getUTCDate()}],[\\\"%b %d\\\",function(t){return 1!=t.getUTCDate()}],[\\\"%B\\\",function(t){return t.getUTCMonth()}],[\\\"%Y\\\",Yn]]);function al(t){return JSON.parse(t.responseText)}function sl(t){var e=i.createRange();return e.selectNode(i.body),e.createContextualFragment(t.responseText)}il.year=ze.year.utc,ze.scale.utc=function(){return Js(t.scale.linear(),il,ol)},t.text=ge((function(t){return t.responseText})),t.json=function(t,e){return ye(t,\\\"application/json\\\",al,e)},t.html=function(t,e){return ye(t,\\\"text/html\\\",sl,e)},t.xml=ge((function(t){return t.responseXML})),\\\"object\\\"==typeof e&&e.exports?e.exports=t:this.d3=t}()},{}],165:[function(t,e,n){e.exports=function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]}},{}],166:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"incremental-convex-hull\\\"),i=t(\\\"uniq\\\");function o(t,e){this.point=t,this.index=e}function a(t,e){for(var n=t.point,r=e.point,i=n.length,o=0;o<i;++o){var a=r[o]-n[o];if(a)return a}return 0}e.exports=function(t,e){var n=t.length;if(0===n)return[];var s=t[0].length;if(s<1)return[];if(1===s)return function(t,e,n){if(1===t)return n?[[-1,0]]:[];var r=e.map((function(t,e){return[t[0],e]}));r.sort((function(t,e){return t[0]-e[0]}));for(var i=new Array(t-1),o=1;o<t;++o){var a=r[o-1],s=r[o];i[o-1]=[a[1],s[1]]}return n&&i.push([-1,i[0][1]],[i[t-1][1],-1]),i}(n,t,e);for(var l=new Array(n),u=1,c=0;c<n;++c){for(var h=t[c],p=new Array(s+1),f=0,d=0;d<s;++d){var m=h[d];p[d]=m,f+=m*m}p[s]=f,l[c]=new o(p,c),u=Math.max(f,u)}i(l,a),n=l.length;var v=new Array(n+s+1),g=new Array(n+s+1),y=(s+1)*(s+1)*u,_=new Array(s+1);for(c=0;c<=s;++c)_[c]=0;for(_[s]=y,v[0]=_.slice(),g[0]=-1,c=0;c<=s;++c)(p=_.slice())[c]=1,v[c+1]=p,g[c+1]=-1;for(c=0;c<n;++c){var b=l[c];v[c+s+1]=b.point,g[c+s+1]=b.index}var x=r(v,!1);if(x=e?x.filter((function(t){for(var e=0,n=0;n<=s;++n){var r=g[t[n]];if(r<0&&++e>=2)return!1;t[n]=r}return!0})):x.filter((function(t){for(var e=0;e<=s;++e){var n=g[t[e]];if(n<0)return!1;t[e]=n}return!0})),1&s)for(c=0;c<x.length;++c)p=(b=x[c])[0],b[0]=b[1],b[1]=p;return x}},{\\\"incremental-convex-hull\\\":412,uniq:549}],167:[function(t,e,n){\\\"use strict\\\";e.exports=o;var r=(o.canvas=document.createElement(\\\"canvas\\\")).getContext(\\\"2d\\\"),i=a([32,126]);function o(t,e){Array.isArray(t)&&(t=t.join(\\\", \\\"));var n,o={},s=16,l=.05;e&&(2===e.length&&\\\"number\\\"==typeof e[0]?n=a(e):Array.isArray(e)?n=e:(e.o?n=a(e.o):e.pairs&&(n=e.pairs),e.fontSize&&(s=e.fontSize),null!=e.threshold&&(l=e.threshold))),n||(n=i),r.font=s+\\\"px \\\"+t;for(var u=0;u<n.length;u++){var c=n[u],h=r.measureText(c[0]).width+r.measureText(c[1]).width,p=r.measureText(c).width;if(Math.abs(h-p)>s*l){var f=(p-h)/s;o[c]=1e3*f}}return o}function a(t){for(var e=[],n=t[0];n<=t[1];n++)for(var r=String.fromCharCode(n),i=t[0];i<t[1];i++){var o=r+String.fromCharCode(i);e.push(o)}return e}o.createPairs=a,o.ascii=i},{}],168:[function(t,e,n){(function(t){var n=!1;if(\\\"undefined\\\"!=typeof Float64Array){var r=new Float64Array(1),i=new Uint32Array(r.buffer);r[0]=1,n=!0,1072693248===i[1]?(e.exports=function(t){return r[0]=t,[i[0],i[1]]},e.exports.pack=function(t,e){return i[0]=t,i[1]=e,r[0]},e.exports.lo=function(t){return r[0]=t,i[0]},e.exports.hi=function(t){return r[0]=t,i[1]}):1072693248===i[0]?(e.exports=function(t){return r[0]=t,[i[1],i[0]]},e.exports.pack=function(t,e){return i[1]=t,i[0]=e,r[0]},e.exports.lo=function(t){return r[0]=t,i[1]},e.exports.hi=function(t){return r[0]=t,i[0]}):n=!1}if(!n){var o=new t(8);e.exports=function(t){return o.writeDoubleLE(t,0,!0),[o.readUInt32LE(0,!0),o.readUInt32LE(4,!0)]},e.exports.pack=function(t,e){return o.writeUInt32LE(t,0,!0),o.writeUInt32LE(e,4,!0),o.readDoubleLE(0,!0)},e.exports.lo=function(t){return o.writeDoubleLE(t,0,!0),o.readUInt32LE(0,!0)},e.exports.hi=function(t){return o.writeDoubleLE(t,0,!0),o.readUInt32LE(4,!0)}}e.exports.sign=function(t){return e.exports.hi(t)>>>31},e.exports.exponent=function(t){return(e.exports.hi(t)<<1>>>21)-1023},e.exports.fraction=function(t){var n=e.exports.lo(t),r=e.exports.hi(t),i=1048575&r;return 2146435072&r&&(i+=1<<20),[n,i]},e.exports.denormalized=function(t){return!(2146435072&e.exports.hi(t))}}).call(this,t(\\\"buffer\\\").Buffer)},{buffer:108}],169:[function(t,e,n){var r=t(\\\"abs-svg-path\\\"),i=t(\\\"normalize-svg-path\\\"),o={M:\\\"moveTo\\\",C:\\\"bezierCurveTo\\\"};e.exports=function(t,e){t.beginPath(),i(r(e)).forEach((function(e){var n=e[0],r=e.slice(1);t[o[n]].apply(t,r)})),t.closePath()}},{\\\"abs-svg-path\\\":63,\\\"normalize-svg-path\\\":450}],170:[function(t,e,n){e.exports=function(t){switch(t){case\\\"int8\\\":return Int8Array;case\\\"int16\\\":return Int16Array;case\\\"int32\\\":return Int32Array;case\\\"uint8\\\":return Uint8Array;case\\\"uint16\\\":return Uint16Array;case\\\"uint32\\\":return Uint32Array;case\\\"float32\\\":return Float32Array;case\\\"float64\\\":return Float64Array;case\\\"array\\\":return Array;case\\\"uint8_clamped\\\":return Uint8ClampedArray}}},{}],171:[function(t,e,n){\\\"use strict\\\";function r(t,e,n){var i=0|t[n];if(i<=0)return[];var o,a=new Array(i);if(n===t.length-1)for(o=0;o<i;++o)a[o]=e;else for(o=0;o<i;++o)a[o]=r(t,e,n+1);return a}e.exports=function(t,e){switch(void 0===e&&(e=0),typeof t){case\\\"number\\\":if(t>0)return function(t,e){var n,r;for(n=new Array(t),r=0;r<t;++r)n[r]=e;return n}(0|t,e);break;case\\\"object\\\":if(\\\"number\\\"==typeof t.length)return r(t,e,0)}return[]}},{}],172:[function(t,e,n){\\\"use strict\\\";function r(t,e,n){n=n||2;var r,s,l,u,c,f,d,v=e&&e.length,g=v?e[0]*n:t.length,y=i(t,0,g,n,!0),_=[];if(!y||y.next===y.prev)return _;if(v&&(y=function(t,e,n,r){var a,s,l,u=[];for(a=0,s=e.length;a<s;a++)(l=i(t,e[a]*r,a<s-1?e[a+1]*r:t.length,r,!1))===l.next&&(l.steiner=!0),u.push(m(l));for(u.sort(h),a=0;a<u.length;a++)p(u[a],n),n=o(n,n.next);return n}(t,e,y,n)),t.length>80*n){r=l=t[0],s=u=t[1];for(var b=n;b<g;b+=n)(c=t[b])<r&&(r=c),(f=t[b+1])<s&&(s=f),c>l&&(l=c),f>u&&(u=f);d=0!==(d=Math.max(l-r,u-s))?1/d:0}return a(y,_,n,r,s,d),_}function i(t,e,n,r,i){var o,a;if(i===S(t,e,n,r)>0)for(o=e;o<n;o+=r)a=M(o,t[o],t[o+1],a);else for(o=n-r;o>=e;o-=r)a=M(o,t[o],t[o+1],a);return a&&_(a,a.next)&&(E(a),a=a.next),a}function o(t,e){if(!t)return t;e||(e=t);var n,r=t;do{if(n=!1,r.steiner||!_(r,r.next)&&0!==y(r.prev,r,r.next))r=r.next;else{if(E(r),(r=e=r.prev)===r.next)break;n=!0}}while(n||r!==e);return e}function a(t,e,n,r,i,h,p){if(t){!p&&h&&function(t,e,n,r){var i=t;do{null===i.z&&(i.z=d(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,r,i,o,a,s,l,u=1;do{for(n=t,t=null,o=null,a=0;n;){for(a++,r=n,s=0,e=0;e<u&&(s++,r=r.nextZ);e++);for(l=u;s>0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;n=r}o.nextZ=null,u*=2}while(a>1)}(i)}(t,r,i,h);for(var f,m,v=t;t.prev!==t.next;)if(f=t.prev,m=t.next,h?l(t,r,i,h):s(t))e.push(f.i/n),e.push(t.i/n),e.push(m.i/n),E(t),t=m.next,v=m.next;else if((t=m)===v){p?1===p?a(t=u(o(t),e,n),e,n,r,i,h,2):2===p&&c(t,e,n,r,i,h):a(o(t),e,n,r,i,h,1);break}}}function s(t){var e=t.prev,n=t,r=t.next;if(y(e,n,r)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(v(e.x,e.y,n.x,n.y,r.x,r.y,i.x,i.y)&&y(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function l(t,e,n,r){var i=t.prev,o=t,a=t.next;if(y(i,o,a)>=0)return!1;for(var s=i.x<o.x?i.x<a.x?i.x:a.x:o.x<a.x?o.x:a.x,l=i.y<o.y?i.y<a.y?i.y:a.y:o.y<a.y?o.y:a.y,u=i.x>o.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,c=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,h=d(s,l,e,n,r),p=d(u,c,e,n,r),f=t.prevZ,m=t.nextZ;f&&f.z>=h&&m&&m.z<=p;){if(f!==t.prev&&f!==t.next&&v(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&y(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,m!==t.prev&&m!==t.next&&v(i.x,i.y,o.x,o.y,a.x,a.y,m.x,m.y)&&y(m.prev,m,m.next)>=0)return!1;m=m.nextZ}for(;f&&f.z>=h;){if(f!==t.prev&&f!==t.next&&v(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&y(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;m&&m.z<=p;){if(m!==t.prev&&m!==t.next&&v(i.x,i.y,o.x,o.y,a.x,a.y,m.x,m.y)&&y(m.prev,m,m.next)>=0)return!1;m=m.nextZ}return!0}function u(t,e,n){var r=t;do{var i=r.prev,a=r.next.next;!_(i,a)&&b(i,r,r.next,a)&&A(i,a)&&A(a,i)&&(e.push(i.i/n),e.push(r.i/n),e.push(a.i/n),E(r),E(r.next),r=t=a),r=r.next}while(r!==t);return o(r)}function c(t,e,n,r,i,s){var l=t;do{for(var u=l.next.next;u!==l.prev;){if(l.i!==u.i&&g(l,u)){var c=C(l,u);return l=o(l,l.next),c=o(c,c.next),a(l,e,n,r,i,s),void a(c,e,n,r,i,s)}u=u.next}l=l.next}while(l!==t)}function h(t,e){return t.x-e.x}function p(t,e){if(e=function(t,e){var n,r=e,i=t.x,o=t.y,a=-1/0;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var s=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(s<=i&&s>a){if(a=s,s===i){if(o===r.y)return r;if(o===r.next.y)return r.next}n=r.x<r.next.x?r:r.next}}r=r.next}while(r!==e);if(!n)return null;if(i===a)return n;var l,u=n,c=n.x,h=n.y,p=1/0;r=n;do{i>=r.x&&r.x>=c&&i!==r.x&&v(o<h?i:a,o,c,h,o<h?a:i,o,r.x,r.y)&&(l=Math.abs(o-r.y)/(i-r.x),A(r,t)&&(l<p||l===p&&(r.x>n.x||r.x===n.x&&f(n,r)))&&(n=r,p=l)),r=r.next}while(r!==u);return n}(t,e)){var n=C(e,t);o(e,e.next),o(n,n.next)}}function f(t,e){return y(t.prev,t,e.prev)<0&&y(e.next,t,t.next)<0}function d(t,e,n,r,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function m(t){var e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function v(t,e,n,r,i,o,a,s){return(i-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(r-s)-(n-a)*(e-s)>=0&&(n-a)*(o-s)-(i-a)*(r-s)>=0}function g(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&b(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(A(t,e)&&A(e,t)&&function(t,e){var n=t,r=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==t);return r}(t,e)&&(y(t.prev,t,e.prev)||y(t,e.prev,e))||_(t,e)&&y(t.prev,t,t.next)>0&&y(e.prev,e,e.next)>0)}function y(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function _(t,e){return t.x===e.x&&t.y===e.y}function b(t,e,n,r){var i=w(y(t,e,n)),o=w(y(t,e,r)),a=w(y(n,r,t)),s=w(y(n,r,e));return i!==o&&a!==s||!(0!==i||!x(t,n,e))||!(0!==o||!x(t,r,e))||!(0!==a||!x(n,t,r))||!(0!==s||!x(n,e,r))}function x(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function w(t){return t>0?1:t<0?-1:0}function A(t,e){return y(t.prev,t,t.next)<0?y(t,e,t.next)>=0&&y(t,t.prev,e)>=0:y(t,e,t.prev)<0||y(t,t.next,e)<0}function C(t,e){var n=new T(t.i,t.x,t.y),r=new T(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function M(t,e,n,r){var i=new T(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function E(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function T(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function S(t,e,n,r){for(var i=0,o=e,a=n-r;o<n;o+=r)i+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return i}e.exports=r,e.exports.default=r,r.deviation=function(t,e,n,r){var i=e&&e.length,o=i?e[0]*n:t.length,a=Math.abs(S(t,0,o,n));if(i)for(var s=0,l=e.length;s<l;s++){var u=e[s]*n,c=s<l-1?e[s+1]*n:t.length;a-=Math.abs(S(t,u,c,n))}var h=0;for(s=0;s<r.length;s+=3){var p=r[s]*n,f=r[s+1]*n,d=r[s+2]*n;h+=Math.abs((t[p]-t[d])*(t[f+1]-t[p+1])-(t[p]-t[f])*(t[d+1]-t[p+1]))}return 0===a&&0===h?0:Math.abs((h-a)/a)},r.flatten=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},r=0,i=0;i<t.length;i++){for(var o=0;o<t[i].length;o++)for(var a=0;a<e;a++)n.vertices.push(t[i][o][a]);i>0&&(r+=t[i-1].length,n.holes.push(r))}return n}},{}],173:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=t.length;if(\\\"number\\\"!=typeof e){e=0;for(var i=0;i<n;++i){var o=t[i];e=Math.max(e,o[0],o[1])}e=1+(0|e)}e|=0;var a=new Array(e);for(i=0;i<e;++i)a[i]=[];for(i=0;i<n;++i)a[(o=t[i])[0]].push(o[1]),a[o[1]].push(o[0]);for(var s=0;s<e;++s)r(a[s],(function(t,e){return t-e}));return a};var r=t(\\\"uniq\\\")},{uniq:549}],174:[function(t,e,n){var r=t(\\\"strongly-connected-components\\\");e.exports=function(t,e){var n,i=[],o=[],a=[],s={},l=[];function u(t){a[t]=!1,s.hasOwnProperty(t)&&Object.keys(s[t]).forEach((function(e){delete s[t][e],a[e]&&u(e)}))}function c(t){var e,r,i=!1;for(o.push(t),a[t]=!0,e=0;e<l[t].length;e++)(r=l[t][e])===n?(h(n,o),i=!0):a[r]||(i=c(r));if(i)u(t);else for(e=0;e<l[t].length;e++){r=l[t][e];var p=s[r];p||(p={},s[r]=p),p[r]=!0}return o.pop(),i}function h(t,n){var r=[].concat(n).concat(t);e?e(c):i.push(r)}function p(e){!function(e){for(var n=0;n<t.length;n++)n<e&&(t[n]=[]),t[n]=t[n].filter((function(t){return t>=e}))}(e);for(var n,i=r(t).components.filter((function(t){return t.length>1})),o=1/0,a=0;a<i.length;a++)for(var s=0;s<i[a].length;s++)i[a][s]<o&&(o=i[a][s],n=a);var l=i[n];if(!l)return!1;var u=t.map((function(t,e){return-1===l.indexOf(e)?[]:t.filter((function(t){return-1!==l.indexOf(t)}))}));return{leastVertex:o,adjList:u}}n=0;for(var f=t.length;n<f;){var d=p(n);if(n=d.leastVertex,l=d.adjList){for(var m=0;m<l.length;m++)for(var v=0;v<l[m].length;v++){var g=l[m][v];a[+g]=!1,s[g]={}}c(n),n+=1}else n=f}return e?void 0:i}},{\\\"strongly-connected-components\\\":521}],175:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../object/valid-value\\\");e.exports=function(){return r(this).length=0,this}},{\\\"../../object/valid-value\\\":206}],176:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?Array.from:t(\\\"./shim\\\")},{\\\"./is-implemented\\\":177,\\\"./shim\\\":178}],177:[function(t,e,n){\\\"use strict\\\";e.exports=function(){var t,e,n=Array.from;return\\\"function\\\"==typeof n&&(e=n(t=[\\\"raz\\\",\\\"dwa\\\"]),Boolean(e&&e!==t&&\\\"dwa\\\"===e[1]))}},{}],178:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"es6-symbol\\\").iterator,i=t(\\\"../../function/is-arguments\\\"),o=t(\\\"../../function/is-function\\\"),a=t(\\\"../../number/to-pos-integer\\\"),s=t(\\\"../../object/valid-callable\\\"),l=t(\\\"../../object/valid-value\\\"),u=t(\\\"../../object/is-value\\\"),c=t(\\\"../../string/is-string\\\"),h=Array.isArray,p=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},d=Object.defineProperty;e.exports=function(t){var e,n,m,v,g,y,_,b,x,w,A=arguments[1],C=arguments[2];if(t=Object(l(t)),u(A)&&s(A),this&&this!==Array&&o(this))e=this;else{if(!A){if(i(t))return 1!==(g=t.length)?Array.apply(null,t):((v=new Array(1))[0]=t[0],v);if(h(t)){for(v=new Array(g=t.length),n=0;n<g;++n)v[n]=t[n];return v}}v=[]}if(!h(t))if(void 0!==(x=t[r])){for(_=s(x).call(t),e&&(v=new e),b=_.next(),n=0;!b.done;)w=A?p.call(A,C,b.value,n):b.value,e?(f.value=w,d(v,n,f)):v[n]=w,b=_.next(),++n;g=n}else if(c(t)){for(g=t.length,e&&(v=new e),n=0,m=0;n<g;++n)w=t[n],n+1<g&&(y=w.charCodeAt(0))>=55296&&y<=56319&&(w+=t[++n]),w=A?p.call(A,C,w,m):w,e?(f.value=w,d(v,m,f)):v[m]=w,++m;g=m}if(void 0===g)for(g=a(t.length),e&&(v=new e(g)),n=0;n<g;++n)w=A?p.call(A,C,t[n],n):t[n],e?(f.value=w,d(v,n,f)):v[n]=w;return e&&(f.value=null,v.length=g),v}},{\\\"../../function/is-arguments\\\":179,\\\"../../function/is-function\\\":180,\\\"../../number/to-pos-integer\\\":186,\\\"../../object/is-value\\\":195,\\\"../../object/valid-callable\\\":204,\\\"../../object/valid-value\\\":206,\\\"../../string/is-string\\\":210,\\\"es6-symbol\\\":220}],179:[function(t,e,n){\\\"use strict\\\";var r=Object.prototype.toString,i=r.call(function(){return arguments}());e.exports=function(t){return r.call(t)===i}},{}],180:[function(t,e,n){\\\"use strict\\\";var r=Object.prototype.toString,i=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(t){return\\\"function\\\"==typeof t&&i(r.call(t))}},{}],181:[function(t,e,n){\\\"use strict\\\";e.exports=function(){}},{}],182:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?Math.sign:t(\\\"./shim\\\")},{\\\"./is-implemented\\\":183,\\\"./shim\\\":184}],183:[function(t,e,n){\\\"use strict\\\";e.exports=function(){var t=Math.sign;return\\\"function\\\"==typeof t&&1===t(10)&&-1===t(-20)}},{}],184:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return t=Number(t),isNaN(t)||0===t?t:t>0?1:-1}},{}],185:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../math/sign\\\"),i=Math.abs,o=Math.floor;e.exports=function(t){return isNaN(t)?0:0!==(t=Number(t))&&isFinite(t)?r(t)*o(i(t)):t}},{\\\"../math/sign\\\":182}],186:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./to-integer\\\"),i=Math.max;e.exports=function(t){return i(0,r(t))}},{\\\"./to-integer\\\":185}],187:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./valid-callable\\\"),i=t(\\\"./valid-value\\\"),o=Function.prototype.bind,a=Function.prototype.call,s=Object.keys,l=Object.prototype.propertyIsEnumerable;e.exports=function(t,e){return function(n,u){var c,h=arguments[2],p=arguments[3];return n=Object(i(n)),r(u),c=s(n),p&&c.sort(\\\"function\\\"==typeof p?o.call(p,n):void 0),\\\"function\\\"!=typeof t&&(t=c[t]),a.call(t,c,(function(t,r){return l.call(n,t)?a.call(u,h,n[t],t,n,r):e}))}}},{\\\"./valid-callable\\\":204,\\\"./valid-value\\\":206}],188:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?Object.assign:t(\\\"./shim\\\")},{\\\"./is-implemented\\\":189,\\\"./shim\\\":190}],189:[function(t,e,n){\\\"use strict\\\";e.exports=function(){var t,e=Object.assign;return\\\"function\\\"==typeof e&&(e(t={foo:\\\"raz\\\"},{bar:\\\"dwa\\\"},{trzy:\\\"trzy\\\"}),t.foo+t.bar+t.trzy===\\\"razdwatrzy\\\")}},{}],190:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../keys\\\"),i=t(\\\"../valid-value\\\"),o=Math.max;e.exports=function(t,e){var n,a,s,l=o(arguments.length,2);for(t=Object(i(t)),s=function(r){try{t[r]=e[r]}catch(t){n||(n=t)}},a=1;a<l;++a)r(e=arguments[a]).forEach(s);if(void 0!==n)throw n;return t}},{\\\"../keys\\\":196,\\\"../valid-value\\\":206}],191:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../array/from\\\"),i=t(\\\"./assign\\\"),o=t(\\\"./valid-value\\\");e.exports=function(t){var e=Object(o(t)),n=arguments[1],a=Object(arguments[2]);if(e!==t&&!n)return e;var s={};return n?r(n,(function(e){(a.ensure||e in t)&&(s[e]=t[e])})):i(s,t),s}},{\\\"../array/from\\\":176,\\\"./assign\\\":188,\\\"./valid-value\\\":206}],192:[function(t,e,n){\\\"use strict\\\";var r,i,o,a,s=Object.create;t(\\\"./set-prototype-of/is-implemented\\\")()||(r=t(\\\"./set-prototype-of/shim\\\")),e.exports=r?1!==r.level?s:(i={},o={},a={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach((function(t){o[t]=\\\"__proto__\\\"!==t?a:{configurable:!0,enumerable:!1,writable:!0,value:void 0}})),Object.defineProperties(i,o),Object.defineProperty(r,\\\"nullPolyfill\\\",{configurable:!1,enumerable:!1,writable:!1,value:i}),function(t,e){return s(null===t?i:t,e)}):s},{\\\"./set-prototype-of/is-implemented\\\":202,\\\"./set-prototype-of/shim\\\":203}],193:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./_iterate\\\")(\\\"forEach\\\")},{\\\"./_iterate\\\":187}],194:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./is-value\\\"),i={function:!0,object:!0};e.exports=function(t){return r(t)&&i[typeof t]||!1}},{\\\"./is-value\\\":195}],195:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../function/noop\\\")();e.exports=function(t){return t!==r&&null!==t}},{\\\"../function/noop\\\":181}],196:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?Object.keys:t(\\\"./shim\\\")},{\\\"./is-implemented\\\":197,\\\"./shim\\\":198}],197:[function(t,e,n){\\\"use strict\\\";e.exports=function(){try{return Object.keys(\\\"primitive\\\"),!0}catch(t){return!1}}},{}],198:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../is-value\\\"),i=Object.keys;e.exports=function(t){return i(r(t)?Object(t):t)}},{\\\"../is-value\\\":195}],199:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./valid-callable\\\"),i=t(\\\"./for-each\\\"),o=Function.prototype.call;e.exports=function(t,e){var n={},a=arguments[2];return r(e),i(t,(function(t,r,i,s){n[r]=o.call(e,a,t,r,i,s)})),n}},{\\\"./for-each\\\":193,\\\"./valid-callable\\\":204}],200:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./is-value\\\"),i=Array.prototype.forEach,o=Object.create,a=function(t,e){var n;for(n in t)e[n]=t[n]};e.exports=function(t){var e=o(null);return i.call(arguments,(function(t){r(t)&&a(Object(t),e)})),e}},{\\\"./is-value\\\":195}],201:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?Object.setPrototypeOf:t(\\\"./shim\\\")},{\\\"./is-implemented\\\":202,\\\"./shim\\\":203}],202:[function(t,e,n){\\\"use strict\\\";var r=Object.create,i=Object.getPrototypeOf,o={};e.exports=function(){var t=Object.setPrototypeOf;return\\\"function\\\"==typeof t&&i(t((arguments[0]||r)(null),o))===o}},{}],203:[function(t,e,n){\\\"use strict\\\";var r,i,o,a,s=t(\\\"../is-object\\\"),l=t(\\\"../valid-value\\\"),u=Object.prototype.isPrototypeOf,c=Object.defineProperty,h={configurable:!0,enumerable:!1,writable:!0,value:void 0};r=function(t,e){if(l(t),null===e||s(e))return t;throw new TypeError(\\\"Prototype must be null or an object\\\")},e.exports=(i=function(){var t,e=Object.create(null),n={},r=Object.getOwnPropertyDescriptor(Object.prototype,\\\"__proto__\\\");if(r){try{(t=r.set).call(e,n)}catch(t){}if(Object.getPrototypeOf(e)===n)return{set:t,level:2}}return e.__proto__=n,Object.getPrototypeOf(e)===n?{level:2}:((e={}).__proto__=n,Object.getPrototypeOf(e)===n&&{level:1})}(),i?(2===i.level?i.set?(a=i.set,o=function(t,e){return a.call(r(t,e),e),t}):o=function(t,e){return r(t,e).__proto__=e,t}:o=function t(e,n){var i;return r(e,n),(i=u.call(t.nullPolyfill,e))&&delete t.nullPolyfill.__proto__,null===n&&(n=t.nullPolyfill),e.__proto__=n,i&&c(t.nullPolyfill,\\\"__proto__\\\",h),e},Object.defineProperty(o,\\\"level\\\",{configurable:!1,enumerable:!1,writable:!1,value:i.level})):null),t(\\\"../create\\\")},{\\\"../create\\\":192,\\\"../is-object\\\":194,\\\"../valid-value\\\":206}],204:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){if(\\\"function\\\"!=typeof t)throw new TypeError(t+\\\" is not a function\\\");return t}},{}],205:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./is-object\\\");e.exports=function(t){if(!r(t))throw new TypeError(t+\\\" is not an Object\\\");return t}},{\\\"./is-object\\\":194}],206:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./is-value\\\");e.exports=function(t){if(!r(t))throw new TypeError(\\\"Cannot use null or undefined\\\");return t}},{\\\"./is-value\\\":195}],207:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?String.prototype.contains:t(\\\"./shim\\\")},{\\\"./is-implemented\\\":208,\\\"./shim\\\":209}],208:[function(t,e,n){\\\"use strict\\\";var r=\\\"razdwatrzy\\\";e.exports=function(){return\\\"function\\\"==typeof r.contains&&!0===r.contains(\\\"dwa\\\")&&!1===r.contains(\\\"foo\\\")}},{}],209:[function(t,e,n){\\\"use strict\\\";var r=String.prototype.indexOf;e.exports=function(t){return r.call(this,t,arguments[1])>-1}},{}],210:[function(t,e,n){\\\"use strict\\\";var r=Object.prototype.toString,i=r.call(\\\"\\\");e.exports=function(t){return\\\"string\\\"==typeof t||t&&\\\"object\\\"==typeof t&&(t instanceof String||r.call(t)===i)||!1}},{}],211:[function(t,e,n){\\\"use strict\\\";var r=Object.create(null),i=Math.random;e.exports=function(){var t;do{t=i().toString(36).slice(2)}while(r[t]);return t}},{}],212:[function(t,e,n){\\\"use strict\\\";var r,i=t(\\\"es5-ext/object/set-prototype-of\\\"),o=t(\\\"es5-ext/string/#/contains\\\"),a=t(\\\"d\\\"),s=t(\\\"es6-symbol\\\"),l=t(\\\"./\\\"),u=Object.defineProperty;r=e.exports=function(t,e){if(!(this instanceof r))throw new TypeError(\\\"Constructor requires 'new'\\\");l.call(this,t),e=e?o.call(e,\\\"key+value\\\")?\\\"key+value\\\":o.call(e,\\\"key\\\")?\\\"key\\\":\\\"value\\\":\\\"value\\\",u(this,\\\"__kind__\\\",a(\\\"\\\",e))},i&&i(r,l),delete r.prototype.constructor,r.prototype=Object.create(l.prototype,{_resolve:a((function(t){return\\\"value\\\"===this.__kind__?this.__list__[t]:\\\"key+value\\\"===this.__kind__?[t,this.__list__[t]]:t}))}),u(r.prototype,s.toStringTag,a(\\\"c\\\",\\\"Array Iterator\\\"))},{\\\"./\\\":215,d:152,\\\"es5-ext/object/set-prototype-of\\\":201,\\\"es5-ext/string/#/contains\\\":207,\\\"es6-symbol\\\":220}],213:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"es5-ext/function/is-arguments\\\"),i=t(\\\"es5-ext/object/valid-callable\\\"),o=t(\\\"es5-ext/string/is-string\\\"),a=t(\\\"./get\\\"),s=Array.isArray,l=Function.prototype.call,u=Array.prototype.some;e.exports=function(t,e){var n,c,h,p,f,d,m,v,g=arguments[2];if(s(t)||r(t)?n=\\\"array\\\":o(t)?n=\\\"string\\\":t=a(t),i(e),h=function(){p=!0},\\\"array\\\"!==n)if(\\\"string\\\"!==n)for(c=t.next();!c.done;){if(l.call(e,g,c.value,h),p)return;c=t.next()}else for(d=t.length,f=0;f<d&&(m=t[f],f+1<d&&(v=m.charCodeAt(0))>=55296&&v<=56319&&(m+=t[++f]),l.call(e,g,m,h),!p);++f);else u.call(t,(function(t){return l.call(e,g,t,h),p}))}},{\\\"./get\\\":214,\\\"es5-ext/function/is-arguments\\\":179,\\\"es5-ext/object/valid-callable\\\":204,\\\"es5-ext/string/is-string\\\":210}],214:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"es5-ext/function/is-arguments\\\"),i=t(\\\"es5-ext/string/is-string\\\"),o=t(\\\"./array\\\"),a=t(\\\"./string\\\"),s=t(\\\"./valid-iterable\\\"),l=t(\\\"es6-symbol\\\").iterator;e.exports=function(t){return\\\"function\\\"==typeof s(t)[l]?t[l]():r(t)?new o(t):i(t)?new a(t):new o(t)}},{\\\"./array\\\":212,\\\"./string\\\":217,\\\"./valid-iterable\\\":218,\\\"es5-ext/function/is-arguments\\\":179,\\\"es5-ext/string/is-string\\\":210,\\\"es6-symbol\\\":220}],215:[function(t,e,n){\\\"use strict\\\";var r,i=t(\\\"es5-ext/array/#/clear\\\"),o=t(\\\"es5-ext/object/assign\\\"),a=t(\\\"es5-ext/object/valid-callable\\\"),s=t(\\\"es5-ext/object/valid-value\\\"),l=t(\\\"d\\\"),u=t(\\\"d/auto-bind\\\"),c=t(\\\"es6-symbol\\\"),h=Object.defineProperty,p=Object.defineProperties;e.exports=r=function(t,e){if(!(this instanceof r))throw new TypeError(\\\"Constructor requires 'new'\\\");p(this,{__list__:l(\\\"w\\\",s(t)),__context__:l(\\\"w\\\",e),__nextIndex__:l(\\\"w\\\",0)}),e&&(a(e.on),e.on(\\\"_add\\\",this._onAdd),e.on(\\\"_delete\\\",this._onDelete),e.on(\\\"_clear\\\",this._onClear))},delete r.prototype.constructor,p(r.prototype,o({_next:l((function(){var t;if(this.__list__)return this.__redo__&&void 0!==(t=this.__redo__.shift())?t:this.__nextIndex__<this.__list__.length?this.__nextIndex__++:void this._unBind()})),next:l((function(){return this._createResult(this._next())})),_createResult:l((function(t){return void 0===t?{done:!0,value:void 0}:{done:!1,value:this._resolve(t)}})),_resolve:l((function(t){return this.__list__[t]})),_unBind:l((function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off(\\\"_add\\\",this._onAdd),this.__context__.off(\\\"_delete\\\",this._onDelete),this.__context__.off(\\\"_clear\\\",this._onClear),this.__context__=null)})),toString:l((function(){return\\\"[object \\\"+(this[c.toStringTag]||\\\"Object\\\")+\\\"]\\\"}))},u({_onAdd:l((function(t){t>=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach((function(e,n){e>=t&&(this.__redo__[n]=++e)}),this),this.__redo__.push(t)):h(this,\\\"__redo__\\\",l(\\\"c\\\",[t])))})),_onDelete:l((function(t){var e;t>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(e=this.__redo__.indexOf(t))&&this.__redo__.splice(e,1),this.__redo__.forEach((function(e,n){e>t&&(this.__redo__[n]=--e)}),this)))})),_onClear:l((function(){this.__redo__&&i.call(this.__redo__),this.__nextIndex__=0}))}))),h(r.prototype,c.iterator,l((function(){return this})))},{d:152,\\\"d/auto-bind\\\":151,\\\"es5-ext/array/#/clear\\\":175,\\\"es5-ext/object/assign\\\":188,\\\"es5-ext/object/valid-callable\\\":204,\\\"es5-ext/object/valid-value\\\":206,\\\"es6-symbol\\\":220}],216:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"es5-ext/function/is-arguments\\\"),i=t(\\\"es5-ext/object/is-value\\\"),o=t(\\\"es5-ext/string/is-string\\\"),a=t(\\\"es6-symbol\\\").iterator,s=Array.isArray;e.exports=function(t){return!(!i(t)||!s(t)&&!o(t)&&!r(t)&&\\\"function\\\"!=typeof t[a])}},{\\\"es5-ext/function/is-arguments\\\":179,\\\"es5-ext/object/is-value\\\":195,\\\"es5-ext/string/is-string\\\":210,\\\"es6-symbol\\\":220}],217:[function(t,e,n){\\\"use strict\\\";var r,i=t(\\\"es5-ext/object/set-prototype-of\\\"),o=t(\\\"d\\\"),a=t(\\\"es6-symbol\\\"),s=t(\\\"./\\\"),l=Object.defineProperty;r=e.exports=function(t){if(!(this instanceof r))throw new TypeError(\\\"Constructor requires 'new'\\\");t=String(t),s.call(this,t),l(this,\\\"__length__\\\",o(\\\"\\\",t.length))},i&&i(r,s),delete r.prototype.constructor,r.prototype=Object.create(s.prototype,{_next:o((function(){if(this.__list__)return this.__nextIndex__<this.__length__?this.__nextIndex__++:void this._unBind()})),_resolve:o((function(t){var e,n=this.__list__[t];return this.__nextIndex__===this.__length__?n:(e=n.charCodeAt(0))>=55296&&e<=56319?n+this.__list__[this.__nextIndex__++]:n}))}),l(r.prototype,a.toStringTag,o(\\\"c\\\",\\\"String Iterator\\\"))},{\\\"./\\\":215,d:152,\\\"es5-ext/object/set-prototype-of\\\":201,\\\"es6-symbol\\\":220}],218:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./is-iterable\\\");e.exports=function(t){if(!r(t))throw new TypeError(t+\\\" is not iterable\\\");return t}},{\\\"./is-iterable\\\":216}],219:[function(t,e,r){(function(n,i){!function(t,n){\\\"object\\\"==typeof r&&void 0!==e?e.exports=n():t.ES6Promise=n()}(this,(function(){\\\"use strict\\\";function e(t){return\\\"function\\\"==typeof t}var r=Array.isArray?Array.isArray:function(t){return\\\"[object Array]\\\"===Object.prototype.toString.call(t)},o=0,a=void 0,s=void 0,l=function(t,e){m[o]=t,m[o+1]=e,2===(o+=2)&&(s?s(v):x())},u=\\\"undefined\\\"!=typeof window?window:void 0,c=u||{},h=c.MutationObserver||c.WebKitMutationObserver,p=\\\"undefined\\\"==typeof self&&void 0!==n&&\\\"[object process]\\\"==={}.toString.call(n),f=\\\"undefined\\\"!=typeof Uint8ClampedArray&&\\\"undefined\\\"!=typeof importScripts&&\\\"undefined\\\"!=typeof MessageChannel;function d(){var t=setTimeout;return function(){return t(v,1)}}var m=new Array(1e3);function v(){for(var t=0;t<o;t+=2)(0,m[t])(m[t+1]),m[t]=void 0,m[t+1]=void 0;o=0}var g,y,_,b,x=void 0;function w(t,e){var n=this,r=new this.constructor(M);void 0===r[C]&&D(r);var i=n._state;if(i){var o=arguments[i-1];l((function(){return z(i,r,o,n._result)}))}else L(n,r,t,e);return r}function A(t){if(t&&\\\"object\\\"==typeof t&&t.constructor===this)return t;var e=new this(M);return S(e,t),e}x=p?function(){return n.nextTick(v)}:h?(y=0,_=new h(v),b=document.createTextNode(\\\"\\\"),_.observe(b,{characterData:!0}),function(){b.data=y=++y%2}):f?((g=new MessageChannel).port1.onmessage=v,function(){return g.port2.postMessage(0)}):void 0===u&&\\\"function\\\"==typeof t?function(){try{var t=Function(\\\"return this\\\")().require(\\\"vertx\\\");return void 0!==(a=t.runOnLoop||t.runOnContext)?function(){a(v)}:d()}catch(t){return d()}}():d();var C=Math.random().toString(36).substring(2);function M(){}var E=void 0;function T(t,n,r){n.constructor===t.constructor&&r===w&&n.constructor.resolve===A?function(t,e){1===e._state?O(t,e._result):2===e._state?I(t,e._result):L(e,void 0,(function(e){return S(t,e)}),(function(e){return I(t,e)}))}(t,n):void 0===r?O(t,n):e(r)?function(t,e,n){l((function(t){var r=!1,i=function(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}(n,e,(function(n){r||(r=!0,e!==n?S(t,n):O(t,n))}),(function(e){r||(r=!0,I(t,e))}),t._label);!r&&i&&(r=!0,I(t,i))}),t)}(t,n,r):O(t,n)}function S(t,e){if(t===e)I(t,new TypeError(\\\"You cannot resolve a promise with itself\\\"));else if(i=typeof(r=e),null===r||\\\"object\\\"!==i&&\\\"function\\\"!==i)O(t,e);else{var n=void 0;try{n=e.then}catch(e){return void I(t,e)}T(t,e,n)}var r,i}function k(t){t._onerror&&t._onerror(t._result),P(t)}function O(t,e){t._state===E&&(t._result=e,t._state=1,0!==t._subscribers.length&&l(P,t))}function I(t,e){t._state===E&&(t._state=2,t._result=e,l(k,t))}function L(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+1]=n,i[o+2]=r,0===o&&t._state&&l(P,t)}function P(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,i=void 0,o=t._result,a=0;a<e.length;a+=3)r=e[a],i=e[a+n],r?z(n,r,i,o):i(o);t._subscribers.length=0}}function z(t,n,r,i){var o=e(r),a=void 0,s=void 0,l=!0;if(o){try{a=r(i)}catch(t){l=!1,s=t}if(n===a)return void I(n,new TypeError(\\\"A promises callback cannot return that same promise.\\\"))}else a=i;n._state!==E||(o&&l?S(n,a):!1===l?I(n,s):1===t?O(n,a):2===t&&I(n,a))}var R=0;function D(t){t[C]=R++,t._state=void 0,t._result=void 0,t._subscribers=[]}var $=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(M),this.promise[C]||D(this.promise),r(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?O(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&O(this.promise,this._result))):I(this.promise,new Error(\\\"Array Methods must be provided an Array\\\"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===E&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===A){var i=void 0,o=void 0,a=!1;try{i=t.then}catch(t){a=!0,o=t}if(i===w&&t._state!==E)this._settledAt(t._state,e,t._result);else if(\\\"function\\\"!=typeof i)this._remaining--,this._result[e]=t;else if(n===B){var s=new n(M);a?I(s,o):T(s,t,i),this._willSettleAt(s,e)}else this._willSettleAt(new n((function(e){return e(t)})),e)}else this._willSettleAt(r(t),e)},t.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===E&&(this._remaining--,2===t?I(r,n):this._result[e]=n),0===this._remaining&&O(r,this._result)},t.prototype._willSettleAt=function(t,e){var n=this;L(t,void 0,(function(t){return n._settledAt(1,e,t)}),(function(t){return n._settledAt(2,e,t)}))},t}(),B=function(){function t(e){this[C]=R++,this._result=this._state=void 0,this._subscribers=[],M!==e&&(\\\"function\\\"!=typeof e&&function(){throw new TypeError(\\\"You must pass a resolver function as the first argument to the promise constructor\\\")}(),this instanceof t?function(t,e){try{e((function(e){S(t,e)}),(function(e){I(t,e)}))}catch(e){I(t,e)}}(this,e):function(){throw new TypeError(\\\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\\\")}())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var n=this,r=n.constructor;return e(t)?n.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):n.then(t,t)},t}();return B.prototype.then=w,B.all=function(t){return new $(this,t).promise},B.race=function(t){var e=this;return r(t)?new e((function(n,r){for(var i=t.length,o=0;o<i;o++)e.resolve(t[o]).then(n,r)})):new e((function(t,e){return e(new TypeError(\\\"You must pass an array to race.\\\"))}))},B.resolve=A,B.reject=function(t){var e=new this(M);return I(e,t),e},B._setScheduler=function(t){s=t},B._setAsap=function(t){l=t},B._asap=l,B.polyfill=function(){var t=void 0;if(void 0!==i)t=i;else if(\\\"undefined\\\"!=typeof self)t=self;else try{t=Function(\\\"return this\\\")()}catch(t){throw new Error(\\\"polyfill failed because global object is unavailable in this environment\\\")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if(\\\"[object Promise]\\\"===n&&!e.cast)return}t.Promise=B},B.Promise=B,B}))}).call(this,t(\\\"_process\\\"),void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{_process:480}],220:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?t(\\\"ext/global-this\\\").Symbol:t(\\\"./polyfill\\\")},{\\\"./is-implemented\\\":221,\\\"./polyfill\\\":226,\\\"ext/global-this\\\":233}],221:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"ext/global-this\\\"),i={object:!0,symbol:!0};e.exports=function(){var t,e=r.Symbol;if(\\\"function\\\"!=typeof e)return!1;t=e(\\\"test symbol\\\");try{String(t)}catch(t){return!1}return!!i[typeof e.iterator]&&!!i[typeof e.toPrimitive]&&!!i[typeof e.toStringTag]}},{\\\"ext/global-this\\\":233}],222:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return!!t&&(\\\"symbol\\\"==typeof t||!!t.constructor&&\\\"Symbol\\\"===t.constructor.name&&\\\"Symbol\\\"===t[t.constructor.toStringTag])}},{}],223:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d\\\"),i=Object.create,o=Object.defineProperty,a=Object.prototype,s=i(null);e.exports=function(t){for(var e,n,i=0;s[t+(i||\\\"\\\")];)++i;return s[t+=i||\\\"\\\"]=!0,o(a,e=\\\"@@\\\"+t,r.gs(null,(function(t){n||(n=!0,o(this,e,r(t)),n=!1)}))),e}},{d:152}],224:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d\\\"),i=t(\\\"ext/global-this\\\").Symbol;e.exports=function(t){return Object.defineProperties(t,{hasInstance:r(\\\"\\\",i&&i.hasInstance||t(\\\"hasInstance\\\")),isConcatSpreadable:r(\\\"\\\",i&&i.isConcatSpreadable||t(\\\"isConcatSpreadable\\\")),iterator:r(\\\"\\\",i&&i.iterator||t(\\\"iterator\\\")),match:r(\\\"\\\",i&&i.match||t(\\\"match\\\")),replace:r(\\\"\\\",i&&i.replace||t(\\\"replace\\\")),search:r(\\\"\\\",i&&i.search||t(\\\"search\\\")),species:r(\\\"\\\",i&&i.species||t(\\\"species\\\")),split:r(\\\"\\\",i&&i.split||t(\\\"split\\\")),toPrimitive:r(\\\"\\\",i&&i.toPrimitive||t(\\\"toPrimitive\\\")),toStringTag:r(\\\"\\\",i&&i.toStringTag||t(\\\"toStringTag\\\")),unscopables:r(\\\"\\\",i&&i.unscopables||t(\\\"unscopables\\\"))})}},{d:152,\\\"ext/global-this\\\":233}],225:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d\\\"),i=t(\\\"../../../validate-symbol\\\"),o=Object.create(null);e.exports=function(t){return Object.defineProperties(t,{for:r((function(e){return o[e]?o[e]:o[e]=t(String(e))})),keyFor:r((function(t){var e;for(e in i(t),o)if(o[e]===t)return e}))})}},{\\\"../../../validate-symbol\\\":227,d:152}],226:[function(t,e,n){\\\"use strict\\\";var r,i,o,a=t(\\\"d\\\"),s=t(\\\"./validate-symbol\\\"),l=t(\\\"ext/global-this\\\").Symbol,u=t(\\\"./lib/private/generate-name\\\"),c=t(\\\"./lib/private/setup/standard-symbols\\\"),h=t(\\\"./lib/private/setup/symbol-registry\\\"),p=Object.create,f=Object.defineProperties,d=Object.defineProperty;if(\\\"function\\\"==typeof l)try{String(l()),o=!0}catch(t){}else l=null;i=function(t){if(this instanceof i)throw new TypeError(\\\"Symbol is not a constructor\\\");return r(t)},e.exports=r=function t(e){var n;if(this instanceof t)throw new TypeError(\\\"Symbol is not a constructor\\\");return o?l(e):(n=p(i.prototype),e=void 0===e?\\\"\\\":String(e),f(n,{__description__:a(\\\"\\\",e),__name__:a(\\\"\\\",u(e))}))},c(r),h(r),f(i.prototype,{constructor:a(r),toString:a(\\\"\\\",(function(){return this.__name__}))}),f(r.prototype,{toString:a((function(){return\\\"Symbol (\\\"+s(this).__description__+\\\")\\\"})),valueOf:a((function(){return s(this)}))}),d(r.prototype,r.toPrimitive,a(\\\"\\\",(function(){var t=s(this);return\\\"symbol\\\"==typeof t?t:t.toString()}))),d(r.prototype,r.toStringTag,a(\\\"c\\\",\\\"Symbol\\\")),d(i.prototype,r.toStringTag,a(\\\"c\\\",r.prototype[r.toStringTag])),d(i.prototype,r.toPrimitive,a(\\\"c\\\",r.prototype[r.toPrimitive]))},{\\\"./lib/private/generate-name\\\":223,\\\"./lib/private/setup/standard-symbols\\\":224,\\\"./lib/private/setup/symbol-registry\\\":225,\\\"./validate-symbol\\\":227,d:152,\\\"ext/global-this\\\":233}],227:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./is-symbol\\\");e.exports=function(t){if(!r(t))throw new TypeError(t+\\\" is not a symbol\\\");return t}},{\\\"./is-symbol\\\":222}],228:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?WeakMap:t(\\\"./polyfill\\\")},{\\\"./is-implemented\\\":229,\\\"./polyfill\\\":231}],229:[function(t,e,n){\\\"use strict\\\";e.exports=function(){var t,e;if(\\\"function\\\"!=typeof WeakMap)return!1;try{t=new WeakMap([[e={},\\\"one\\\"],[{},\\\"two\\\"],[{},\\\"three\\\"]])}catch(t){return!1}return\\\"[object WeakMap]\\\"===String(t)&&\\\"function\\\"==typeof t.set&&t.set({},1)===t&&\\\"function\\\"==typeof t.delete&&\\\"function\\\"==typeof t.has&&\\\"one\\\"===t.get(e)}},{}],230:[function(t,e,n){\\\"use strict\\\";e.exports=\\\"function\\\"==typeof WeakMap&&\\\"[object WeakMap]\\\"===Object.prototype.toString.call(new WeakMap)},{}],231:[function(t,e,n){\\\"use strict\\\";var r,i=t(\\\"es5-ext/object/is-value\\\"),o=t(\\\"es5-ext/object/set-prototype-of\\\"),a=t(\\\"es5-ext/object/valid-object\\\"),s=t(\\\"es5-ext/object/valid-value\\\"),l=t(\\\"es5-ext/string/random-uniq\\\"),u=t(\\\"d\\\"),c=t(\\\"es6-iterator/get\\\"),h=t(\\\"es6-iterator/for-of\\\"),p=t(\\\"es6-symbol\\\").toStringTag,f=t(\\\"./is-native-implemented\\\"),d=Array.isArray,m=Object.defineProperty,v=Object.prototype.hasOwnProperty,g=Object.getPrototypeOf;e.exports=r=function(){var t,e=arguments[0];if(!(this instanceof r))throw new TypeError(\\\"Constructor requires 'new'\\\");return t=f&&o&&WeakMap!==r?o(new WeakMap,g(this)):this,i(e)&&(d(e)||(e=c(e))),m(t,\\\"__weakMapData__\\\",u(\\\"c\\\",\\\"$weakMap$\\\"+l())),e?(h(e,(function(e){s(e),t.set(e[0],e[1])})),t):t},f&&(o&&o(r,WeakMap),r.prototype=Object.create(WeakMap.prototype,{constructor:u(r)})),Object.defineProperties(r.prototype,{delete:u((function(t){return!!v.call(a(t),this.__weakMapData__)&&(delete t[this.__weakMapData__],!0)})),get:u((function(t){if(v.call(a(t),this.__weakMapData__))return t[this.__weakMapData__]})),has:u((function(t){return v.call(a(t),this.__weakMapData__)})),set:u((function(t,e){return m(a(t),this.__weakMapData__,u(\\\"c\\\",e)),this})),toString:u((function(){return\\\"[object WeakMap]\\\"}))}),m(r.prototype,p,u(\\\"c\\\",\\\"WeakMap\\\"))},{\\\"./is-native-implemented\\\":230,d:152,\\\"es5-ext/object/is-value\\\":195,\\\"es5-ext/object/set-prototype-of\\\":201,\\\"es5-ext/object/valid-object\\\":205,\\\"es5-ext/object/valid-value\\\":206,\\\"es5-ext/string/random-uniq\\\":211,\\\"es6-iterator/for-of\\\":213,\\\"es6-iterator/get\\\":214,\\\"es6-symbol\\\":220}],232:[function(t,e,n){var r=function(){if(\\\"object\\\"==typeof self&&self)return self;if(\\\"object\\\"==typeof window&&window)return window;throw new Error(\\\"Unable to resolve global `this`\\\")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,\\\"__global__\\\",{get:function(){return this},configurable:!0})}catch(t){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()},{}],233:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./is-implemented\\\")()?globalThis:t(\\\"./implementation\\\")},{\\\"./implementation\\\":232,\\\"./is-implemented\\\":234}],234:[function(t,e,n){\\\"use strict\\\";e.exports=function(){return\\\"object\\\"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}},{}],235:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){var r=e||0,i=n||1;return[[t[12]+t[0],t[13]+t[1],t[14]+t[2],t[15]+t[3]],[t[12]-t[0],t[13]-t[1],t[14]-t[2],t[15]-t[3]],[t[12]+t[4],t[13]+t[5],t[14]+t[6],t[15]+t[7]],[t[12]-t[4],t[13]-t[5],t[14]-t[6],t[15]-t[7]],[r*t[12]+t[8],r*t[13]+t[9],r*t[14]+t[10],r*t[15]+t[11]],[i*t[12]-t[8],i*t[13]-t[9],i*t[14]-t[10],i*t[15]-t[11]]]}},{}],236:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"is-string-blank\\\");e.exports=function(t){var e=typeof t;if(\\\"string\\\"===e){var n=t;if(0==(t=+t)&&r(n))return!1}else if(\\\"number\\\"!==e)return!1;return t-t<1}},{\\\"is-string-blank\\\":423}],237:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){switch(arguments.length){case 0:return new a([0],[0],0);case 1:return\\\"number\\\"==typeof t?new a(r=l(t),r,0):new a(t,l(t.length),0);case 2:var r;if(\\\"number\\\"==typeof e)return new a(t,r=l(t.length),+e);n=0;case 3:if(t.length!==e.length)throw new Error(\\\"state and velocity lengths must match\\\");return new a(t,e,n)}};var r=t(\\\"cubic-hermite\\\"),i=t(\\\"binary-search-bounds\\\");function o(t,e,n){return Math.min(e,Math.max(t,n))}function a(t,e,n){this.dimension=t.length,this.bounds=[new Array(this.dimension),new Array(this.dimension)];for(var r=0;r<this.dimension;++r)this.bounds[0][r]=-1/0,this.bounds[1][r]=1/0;this._state=t.slice().reverse(),this._velocity=e.slice().reverse(),this._time=[n],this._scratch=[t.slice(),t.slice(),t.slice(),t.slice(),t.slice()]}var s=a.prototype;function l(t){for(var e=new Array(t),n=0;n<t;++n)e[n]=0;return e}s.flush=function(t){var e=i.gt(this._time,t)-1;e<=0||(this._time.splice(0,e),this._state.splice(0,e*this.dimension),this._velocity.splice(0,e*this.dimension))},s.curve=function(t){var e=this._time,n=e.length,a=i.le(e,t),s=this._scratch[0],l=this._state,u=this._velocity,c=this.dimension,h=this.bounds;if(a<0)for(var p=c-1,f=0;f<c;++f,--p)s[f]=l[p];else if(a>=n-1){p=l.length-1;var d=t-e[n-1];for(f=0;f<c;++f,--p)s[f]=l[p]+d*u[p]}else{p=c*(a+1)-1;var m=e[a],v=e[a+1]-m||1,g=this._scratch[1],y=this._scratch[2],_=this._scratch[3],b=this._scratch[4],x=!0;for(f=0;f<c;++f,--p)g[f]=l[p],_[f]=u[p]*v,y[f]=l[p+c],b[f]=u[p+c]*v,x=x&&g[f]===y[f]&&_[f]===b[f]&&0===_[f];if(x)for(f=0;f<c;++f)s[f]=g[f];else r(g,_,y,b,(t-m)/v,s)}var w=h[0],A=h[1];for(f=0;f<c;++f)s[f]=o(w[f],A[f],s[f]);return s},s.dcurve=function(t){var e=this._time,n=e.length,o=i.le(e,t),a=this._scratch[0],s=this._state,l=this._velocity,u=this.dimension;if(o>=n-1)for(var c=s.length-1,h=(e[n-1],0);h<u;++h,--c)a[h]=l[c];else{c=u*(o+1)-1;var p=e[o],f=e[o+1]-p||1,d=this._scratch[1],m=this._scratch[2],v=this._scratch[3],g=this._scratch[4],y=!0;for(h=0;h<u;++h,--c)d[h]=s[c],v[h]=l[c]*f,m[h]=s[c+u],g[h]=l[c+u]*f,y=y&&d[h]===m[h]&&v[h]===g[h]&&0===v[h];if(y)for(h=0;h<u;++h)a[h]=0;else for(r.derivative(d,v,m,g,(t-p)/f,a),h=0;h<u;++h)a[h]/=f}return a},s.lastT=function(){var t=this._time;return t[t.length-1]},s.stable=function(){for(var t=this._velocity,e=t.length,n=this.dimension-1;n>=0;--n)if(t[--e])return!1;return!0},s.jump=function(t){var e=this.lastT(),n=this.dimension;if(!(t<e||arguments.length!==n+1)){var r=this._state,i=this._velocity,a=r.length-this.dimension,s=this.bounds,l=s[0],u=s[1];this._time.push(e,t);for(var c=0;c<2;++c)for(var h=0;h<n;++h)r.push(r[a++]),i.push(0);for(this._time.push(t),h=n;h>0;--h)r.push(o(l[h-1],u[h-1],arguments[h])),i.push(0)}},s.push=function(t){var e=this.lastT(),n=this.dimension;if(!(t<e||arguments.length!==n+1)){var r=this._state,i=this._velocity,a=r.length-this.dimension,s=t-e,l=this.bounds,u=l[0],c=l[1],h=s>1e-6?1/s:0;this._time.push(t);for(var p=n;p>0;--p){var f=o(u[p-1],c[p-1],arguments[p]);r.push(f),i.push((f-r[a++])*h)}}},s.set=function(t){var e=this.dimension;if(!(t<this.lastT()||arguments.length!==e+1)){var n=this._state,r=this._velocity,i=this.bounds,a=i[0],s=i[1];this._time.push(t);for(var l=e;l>0;--l)n.push(o(a[l-1],s[l-1],arguments[l])),r.push(0)}},s.move=function(t){var e=this.lastT(),n=this.dimension;if(!(t<=e||arguments.length!==n+1)){var r=this._state,i=this._velocity,a=r.length-this.dimension,s=this.bounds,l=s[0],u=s[1],c=t-e,h=c>1e-6?1/c:0;this._time.push(t);for(var p=n;p>0;--p){var f=arguments[p];r.push(o(l[p-1],u[p-1],r[a++]+f)),i.push(f*h)}}},s.idle=function(t){var e=this.lastT();if(!(t<e)){var n=this.dimension,r=this._state,i=this._velocity,a=r.length-n,s=this.bounds,l=s[0],u=s[1],c=t-e;this._time.push(t);for(var h=n-1;h>=0;--h)r.push(o(l[h],u[h],r[a]+c*i[a])),i.push(0),a+=1}}},{\\\"binary-search-bounds\\\":238,\\\"cubic-hermite\\\":147}],238:[function(t,e,n){\\\"use strict\\\";function r(t,e,n,r,i,o){var a=[\\\"function \\\",t,\\\"(a,l,h,\\\",r.join(\\\",\\\"),\\\"){\\\",o?\\\"\\\":\\\"var i=\\\",n?\\\"l-1\\\":\\\"h+1\\\",\\\";while(l<=h){var m=(l+h)>>>1,x=a\\\",i?\\\".get(m)\\\":\\\"[m]\\\"];return o?e.indexOf(\\\"c\\\")<0?a.push(\\\";if(x===y){return m}else if(x<=y){\\\"):a.push(\\\";var p=c(x,y);if(p===0){return m}else if(p<=0){\\\"):a.push(\\\";if(\\\",e,\\\"){i=m;\\\"),n?a.push(\\\"l=m+1}else{h=m-1}\\\"):a.push(\\\"h=m-1}else{l=m+1}\\\"),a.push(\\\"}\\\"),o?a.push(\\\"return -1};\\\"):a.push(\\\"return i};\\\"),a.join(\\\"\\\")}function i(t,e,n,i){return new Function([r(\\\"A\\\",\\\"x\\\"+t+\\\"y\\\",e,[\\\"y\\\"],!1,i),r(\\\"B\\\",\\\"x\\\"+t+\\\"y\\\",e,[\\\"y\\\"],!0,i),r(\\\"P\\\",\\\"c(x,y)\\\"+t+\\\"0\\\",e,[\\\"y\\\",\\\"c\\\"],!1,i),r(\\\"Q\\\",\\\"c(x,y)\\\"+t+\\\"0\\\",e,[\\\"y\\\",\\\"c\\\"],!0,i),\\\"function dispatchBsearch\\\",n,\\\"(a,y,c,l,h){if(a.shape){if(typeof(c)==='function'){return Q(a,(l===undefined)?0:l|0,(h===undefined)?a.shape[0]-1:h|0,y,c)}else{return B(a,(c===undefined)?0:c|0,(l===undefined)?a.shape[0]-1:l|0,y)}}else{if(typeof(c)==='function'){return P(a,(l===undefined)?0:l|0,(h===undefined)?a.length-1:h|0,y,c)}else{return A(a,(c===undefined)?0:c|0,(l===undefined)?a.length-1:l|0,y)}}}return dispatchBsearch\\\",n].join(\\\"\\\"))()}e.exports={ge:i(\\\">=\\\",!1,\\\"GE\\\"),gt:i(\\\">\\\",!1,\\\"GT\\\"),lt:i(\\\"<\\\",!0,\\\"LT\\\"),le:i(\\\"<=\\\",!0,\\\"LE\\\"),eq:i(\\\"-\\\",!0,\\\"EQ\\\",!0)}},{}],239:[function(t,e,n){var r=t(\\\"dtype\\\");e.exports=function(t,e,n){if(!t)throw new TypeError(\\\"must specify data as first parameter\\\");if(n=0|+(n||0),Array.isArray(t)&&t[0]&&\\\"number\\\"==typeof t[0][0]){var i,o,a,s,l=t[0].length,u=t.length*l;e&&\\\"string\\\"!=typeof e||(e=new(r(e||\\\"float32\\\"))(u+n));var c=e.length-n;if(u!==c)throw new Error(\\\"source length \\\"+u+\\\" (\\\"+l+\\\"x\\\"+t.length+\\\") does not match destination length \\\"+c);for(i=0,a=n;i<t.length;i++)for(o=0;o<l;o++)e[a++]=null===t[i][o]?NaN:t[i][o]}else if(e&&\\\"string\\\"!=typeof e)e.set(t,n);else{var h=r(e||\\\"float32\\\");if(Array.isArray(t)||\\\"array\\\"===e)for(i=0,a=n,s=(e=new h(t.length+n)).length;a<s;a++,i++)e[a]=null===t[i]?NaN:t[i];else 0===n?e=new h(t):(e=new h(t.length+n)).set(t,n)}return e}},{dtype:170}],240:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"css-font/stringify\\\"),i=[32,126];e.exports=function(t){var e=(t=t||{}).shape?t.shape:t.canvas?[t.canvas.width,t.canvas.height]:[512,512],n=t.canvas||document.createElement(\\\"canvas\\\"),o=t.font,a=\\\"number\\\"==typeof t.step?[t.step,t.step]:t.step||[32,32],s=t.chars||i;if(o&&\\\"string\\\"!=typeof o&&(o=r(o)),Array.isArray(s)){if(2===s.length&&\\\"number\\\"==typeof s[0]&&\\\"number\\\"==typeof s[1]){for(var l=[],u=s[0],c=0;u<=s[1];u++)l[c++]=String.fromCharCode(u);s=l}}else s=String(s).split(\\\"\\\");e=e.slice(),n.width=e[0],n.height=e[1];var h=n.getContext(\\\"2d\\\");h.fillStyle=\\\"#000\\\",h.fillRect(0,0,n.width,n.height),h.font=o,h.textAlign=\\\"center\\\",h.textBaseline=\\\"middle\\\",h.fillStyle=\\\"#fff\\\";var p=a[0]/2,f=a[1]/2;for(u=0;u<s.length;u++)h.fillText(s[u],p,f),(p+=a[0])>e[0]-a[0]/2&&(p=a[0]/2,f+=a[1]);return n}},{\\\"css-font/stringify\\\":144}],241:[function(t,e,n){\\\"use strict\\\";function r(t,e){e||(e={}),(\\\"string\\\"==typeof t||Array.isArray(t))&&(e.family=t);var n=Array.isArray(e.family)?e.family.join(\\\", \\\"):e.family;if(!n)throw Error(\\\"`family` must be defined\\\");var s=e.size||e.fontSize||e.em||48,l=e.weight||e.fontWeight||\\\"\\\",u=(t=[e.style||e.fontStyle||\\\"\\\",l,s].join(\\\" \\\")+\\\"px \\\"+n,e.origin||\\\"top\\\");if(r.cache[n]&&s<=r.cache[n].em)return i(r.cache[n],u);var c=e.canvas||r.canvas,h=c.getContext(\\\"2d\\\"),p={upper:void 0!==e.upper?e.upper:\\\"H\\\",lower:void 0!==e.lower?e.lower:\\\"x\\\",descent:void 0!==e.descent?e.descent:\\\"p\\\",ascent:void 0!==e.ascent?e.ascent:\\\"h\\\",tittle:void 0!==e.tittle?e.tittle:\\\"i\\\",overshoot:void 0!==e.overshoot?e.overshoot:\\\"O\\\"},f=Math.ceil(1.5*s);c.height=f,c.width=.5*f,h.font=t;var d=\\\"H\\\",m={top:0};h.clearRect(0,0,f,f),h.textBaseline=\\\"top\\\",h.fillStyle=\\\"black\\\",h.fillText(d,0,0);var v=o(h.getImageData(0,0,f,f));h.clearRect(0,0,f,f),h.textBaseline=\\\"bottom\\\",h.fillText(d,0,f);var g=o(h.getImageData(0,0,f,f));m.lineHeight=m.bottom=f-g+v,h.clearRect(0,0,f,f),h.textBaseline=\\\"alphabetic\\\",h.fillText(d,0,f);var y=f-o(h.getImageData(0,0,f,f))-1+v;m.baseline=m.alphabetic=y,h.clearRect(0,0,f,f),h.textBaseline=\\\"middle\\\",h.fillText(d,0,.5*f);var _=o(h.getImageData(0,0,f,f));m.median=m.middle=f-_-1+v-.5*f,h.clearRect(0,0,f,f),h.textBaseline=\\\"hanging\\\",h.fillText(d,0,.5*f);var b=o(h.getImageData(0,0,f,f));m.hanging=f-b-1+v-.5*f,h.clearRect(0,0,f,f),h.textBaseline=\\\"ideographic\\\",h.fillText(d,0,f);var x=o(h.getImageData(0,0,f,f));if(m.ideographic=f-x-1+v,p.upper&&(h.clearRect(0,0,f,f),h.textBaseline=\\\"top\\\",h.fillText(p.upper,0,0),m.upper=o(h.getImageData(0,0,f,f)),m.capHeight=m.baseline-m.upper),p.lower&&(h.clearRect(0,0,f,f),h.textBaseline=\\\"top\\\",h.fillText(p.lower,0,0),m.lower=o(h.getImageData(0,0,f,f)),m.xHeight=m.baseline-m.lower),p.tittle&&(h.clearRect(0,0,f,f),h.textBaseline=\\\"top\\\",h.fillText(p.tittle,0,0),m.tittle=o(h.getImageData(0,0,f,f))),p.ascent&&(h.clearRect(0,0,f,f),h.textBaseline=\\\"top\\\",h.fillText(p.ascent,0,0),m.ascent=o(h.getImageData(0,0,f,f))),p.descent&&(h.clearRect(0,0,f,f),h.textBaseline=\\\"top\\\",h.fillText(p.descent,0,0),m.descent=a(h.getImageData(0,0,f,f))),p.overshoot){h.clearRect(0,0,f,f),h.textBaseline=\\\"top\\\",h.fillText(p.overshoot,0,0);var w=a(h.getImageData(0,0,f,f));m.overshoot=w-y}for(var A in m)m[A]/=s;return m.em=s,r.cache[n]=m,i(m,u)}function i(t,e){var n={};for(var r in\\\"string\\\"==typeof e&&(e=t[e]),t)\\\"em\\\"!==r&&(n[r]=t[r]-e);return n}function o(t){for(var e=t.height,n=t.data,r=3;r<n.length;r+=4)if(0!==n[r])return Math.floor(.25*(r-3)/e)}function a(t){for(var e=t.height,n=t.data,r=n.length-1;r>0;r-=4)if(0!==n[r])return Math.floor(.25*(r-3)/e)}e.exports=r,r.canvas=document.createElement(\\\"canvas\\\"),r.cache={}},{}],242:[function(t,e,n){\\\"use strict\\\";function r(t,e,n,r,i,o){this._color=t,this.key=e,this.value=n,this.left=r,this.right=i,this._count=o}function i(t){return new r(t._color,t.key,t.value,t.left,t.right,t._count)}function o(t,e){return new r(t,e.key,e.value,e.left,e.right,e._count)}function a(t){t._count=1+(t.left?t.left._count:0)+(t.right?t.right._count:0)}function s(t,e){this._compare=t,this.root=e}e.exports=function(t){return new s(t||m,null)};var l=s.prototype;function u(t,e){var n;return e.left&&(n=u(t,e.left))?n:(n=t(e.key,e.value))||(e.right?u(t,e.right):void 0)}function c(t,e,n,r){if(e(t,r.key)<=0){var i;if(r.left&&(i=c(t,e,n,r.left)))return i;if(i=n(r.key,r.value))return i}if(r.right)return c(t,e,n,r.right)}function h(t,e,n,r,i){var o,a=n(t,i.key),s=n(e,i.key);if(a<=0){if(i.left&&(o=h(t,e,n,r,i.left)))return o;if(s>0&&(o=r(i.key,i.value)))return o}if(s>0&&i.right)return h(t,e,n,r,i.right)}function p(t,e){this.tree=t,this._stack=e}Object.defineProperty(l,\\\"keys\\\",{get:function(){var t=[];return this.forEach((function(e,n){t.push(e)})),t}}),Object.defineProperty(l,\\\"values\\\",{get:function(){var t=[];return this.forEach((function(e,n){t.push(n)})),t}}),Object.defineProperty(l,\\\"length\\\",{get:function(){return this.root?this.root._count:0}}),l.insert=function(t,e){for(var n=this._compare,i=this.root,l=[],u=[];i;){var c=n(t,i.key);l.push(i),u.push(c),i=c<=0?i.left:i.right}l.push(new r(0,t,e,null,null,1));for(var h=l.length-2;h>=0;--h)i=l[h],u[h]<=0?l[h]=new r(i._color,i.key,i.value,l[h+1],i.right,i._count+1):l[h]=new r(i._color,i.key,i.value,i.left,l[h+1],i._count+1);for(h=l.length-1;h>1;--h){var p=l[h-1];if(i=l[h],1===p._color||1===i._color)break;var f=l[h-2];if(f.left===p)if(p.left===i){if(!(d=f.right)||0!==d._color){f._color=0,f.left=p.right,p._color=1,p.right=f,l[h-2]=p,l[h-1]=i,a(f),a(p),h>=3&&((m=l[h-3]).left===f?m.left=p:m.right=p);break}p._color=1,f.right=o(1,d),f._color=0,h-=1}else{if(!(d=f.right)||0!==d._color){p.right=i.left,f._color=0,f.left=i.right,i._color=1,i.left=p,i.right=f,l[h-2]=i,l[h-1]=p,a(f),a(p),a(i),h>=3&&((m=l[h-3]).left===f?m.left=i:m.right=i);break}p._color=1,f.right=o(1,d),f._color=0,h-=1}else if(p.right===i){if(!(d=f.left)||0!==d._color){f._color=0,f.right=p.left,p._color=1,p.left=f,l[h-2]=p,l[h-1]=i,a(f),a(p),h>=3&&((m=l[h-3]).right===f?m.right=p:m.left=p);break}p._color=1,f.left=o(1,d),f._color=0,h-=1}else{var d;if(!(d=f.left)||0!==d._color){var m;p.left=i.right,f._color=0,f.right=i.left,i._color=1,i.right=p,i.left=f,l[h-2]=i,l[h-1]=p,a(f),a(p),a(i),h>=3&&((m=l[h-3]).right===f?m.right=i:m.left=i);break}p._color=1,f.left=o(1,d),f._color=0,h-=1}}return l[0]._color=1,new s(n,l[0])},l.forEach=function(t,e,n){if(this.root)switch(arguments.length){case 1:return u(t,this.root);case 2:return c(e,this._compare,t,this.root);case 3:if(this._compare(e,n)>=0)return;return h(e,n,this._compare,t,this.root)}},Object.defineProperty(l,\\\"begin\\\",{get:function(){for(var t=[],e=this.root;e;)t.push(e),e=e.left;return new p(this,t)}}),Object.defineProperty(l,\\\"end\\\",{get:function(){for(var t=[],e=this.root;e;)t.push(e),e=e.right;return new p(this,t)}}),l.at=function(t){if(t<0)return new p(this,[]);for(var e=this.root,n=[];;){if(n.push(e),e.left){if(t<e.left._count){e=e.left;continue}t-=e.left._count}if(!t)return new p(this,n);if(t-=1,!e.right)break;if(t>=e.right._count)break;e=e.right}return new p(this,[])},l.ge=function(t){for(var e=this._compare,n=this.root,r=[],i=0;n;){var o=e(t,n.key);r.push(n),o<=0&&(i=r.length),n=o<=0?n.left:n.right}return r.length=i,new p(this,r)},l.gt=function(t){for(var e=this._compare,n=this.root,r=[],i=0;n;){var o=e(t,n.key);r.push(n),o<0&&(i=r.length),n=o<0?n.left:n.right}return r.length=i,new p(this,r)},l.lt=function(t){for(var e=this._compare,n=this.root,r=[],i=0;n;){var o=e(t,n.key);r.push(n),o>0&&(i=r.length),n=o<=0?n.left:n.right}return r.length=i,new p(this,r)},l.le=function(t){for(var e=this._compare,n=this.root,r=[],i=0;n;){var o=e(t,n.key);r.push(n),o>=0&&(i=r.length),n=o<0?n.left:n.right}return r.length=i,new p(this,r)},l.find=function(t){for(var e=this._compare,n=this.root,r=[];n;){var i=e(t,n.key);if(r.push(n),0===i)return new p(this,r);n=i<=0?n.left:n.right}return new p(this,[])},l.remove=function(t){var e=this.find(t);return e?e.remove():this},l.get=function(t){for(var e=this._compare,n=this.root;n;){var r=e(t,n.key);if(0===r)return n.value;n=r<=0?n.left:n.right}};var f=p.prototype;function d(t,e){t.key=e.key,t.value=e.value,t.left=e.left,t.right=e.right,t._color=e._color,t._count=e._count}function m(t,e){return t<e?-1:t>e?1:0}Object.defineProperty(f,\\\"valid\\\",{get:function(){return this._stack.length>0}}),Object.defineProperty(f,\\\"node\\\",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),f.clone=function(){return new p(this.tree,this._stack.slice())},f.remove=function(){var t=this._stack;if(0===t.length)return this.tree;var e=new Array(t.length),n=t[t.length-1];e[e.length-1]=new r(n._color,n.key,n.value,n.left,n.right,n._count);for(var l=t.length-2;l>=0;--l)(n=t[l]).left===t[l+1]?e[l]=new r(n._color,n.key,n.value,e[l+1],n.right,n._count):e[l]=new r(n._color,n.key,n.value,n.left,e[l+1],n._count);if((n=e[e.length-1]).left&&n.right){var u=e.length;for(n=n.left;n.right;)e.push(n),n=n.right;var c=e[u-1];for(e.push(new r(n._color,c.key,c.value,n.left,n.right,n._count)),e[u-1].key=n.key,e[u-1].value=n.value,l=e.length-2;l>=u;--l)n=e[l],e[l]=new r(n._color,n.key,n.value,n.left,e[l+1],n._count);e[u-1].left=e[u]}if(0===(n=e[e.length-1])._color){var h=e[e.length-2];for(h.left===n?h.left=null:h.right===n&&(h.right=null),e.pop(),l=0;l<e.length;++l)e[l]._count--;return new s(this.tree._compare,e[0])}if(n.left||n.right){for(n.left?d(n,n.left):n.right&&d(n,n.right),n._color=1,l=0;l<e.length-1;++l)e[l]._count--;return new s(this.tree._compare,e[0])}if(1===e.length)return new s(this.tree._compare,null);for(l=0;l<e.length;++l)e[l]._count--;var p=e[e.length-2];return function(t){for(var e,n,r,s,l=t.length-1;l>=0;--l){if(e=t[l],0===l)return void(e._color=1);if((n=t[l-1]).left===e){if((r=n.right).right&&0===r.right._color)return s=(r=n.right=i(r)).right=i(r.right),n.right=r.left,r.left=n,r.right=s,r._color=n._color,e._color=1,n._color=1,s._color=1,a(n),a(r),l>1&&((u=t[l-2]).left===n?u.left=r:u.right=r),void(t[l-1]=r);if(r.left&&0===r.left._color)return s=(r=n.right=i(r)).left=i(r.left),n.right=s.left,r.left=s.right,s.left=n,s.right=r,s._color=n._color,n._color=1,r._color=1,e._color=1,a(n),a(r),a(s),l>1&&((u=t[l-2]).left===n?u.left=s:u.right=s),void(t[l-1]=s);if(1===r._color){if(0===n._color)return n._color=1,void(n.right=o(0,r));n.right=o(0,r);continue}r=i(r),n.right=r.left,r.left=n,r._color=n._color,n._color=0,a(n),a(r),l>1&&((u=t[l-2]).left===n?u.left=r:u.right=r),t[l-1]=r,t[l]=n,l+1<t.length?t[l+1]=e:t.push(e),l+=2}else{if((r=n.left).left&&0===r.left._color)return s=(r=n.left=i(r)).left=i(r.left),n.left=r.right,r.right=n,r.left=s,r._color=n._color,e._color=1,n._color=1,s._color=1,a(n),a(r),l>1&&((u=t[l-2]).right===n?u.right=r:u.left=r),void(t[l-1]=r);if(r.right&&0===r.right._color)return s=(r=n.left=i(r)).right=i(r.right),n.left=s.right,r.right=s.left,s.right=n,s.left=r,s._color=n._color,n._color=1,r._color=1,e._color=1,a(n),a(r),a(s),l>1&&((u=t[l-2]).right===n?u.right=s:u.left=s),void(t[l-1]=s);if(1===r._color){if(0===n._color)return n._color=1,void(n.left=o(0,r));n.left=o(0,r);continue}var u;r=i(r),n.left=r.right,r.right=n,r._color=n._color,n._color=0,a(n),a(r),l>1&&((u=t[l-2]).right===n?u.right=r:u.left=r),t[l-1]=r,t[l]=n,l+1<t.length?t[l+1]=e:t.push(e),l+=2}}}(e),p.left===n?p.left=null:p.right=null,new s(this.tree._compare,e[0])},Object.defineProperty(f,\\\"key\\\",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(f,\\\"value\\\",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(f,\\\"index\\\",{get:function(){var t=0,e=this._stack;if(0===e.length){var n=this.tree.root;return n?n._count:0}e[e.length-1].left&&(t=e[e.length-1].left._count);for(var r=e.length-2;r>=0;--r)e[r+1]===e[r].right&&(++t,e[r].left&&(t+=e[r].left._count));return t},enumerable:!0}),f.next=function(){var t=this._stack;if(0!==t.length){var e=t[t.length-1];if(e.right)for(e=e.right;e;)t.push(e),e=e.left;else for(t.pop();t.length>0&&t[t.length-1].right===e;)e=t[t.length-1],t.pop()}},Object.defineProperty(f,\\\"hasNext\\\",{get:function(){var t=this._stack;if(0===t.length)return!1;if(t[t.length-1].right)return!0;for(var e=t.length-1;e>0;--e)if(t[e-1].left===t[e])return!0;return!1}}),f.update=function(t){var e=this._stack;if(0===e.length)throw new Error(\\\"Can't update empty node!\\\");var n=new Array(e.length),i=e[e.length-1];n[n.length-1]=new r(i._color,i.key,t,i.left,i.right,i._count);for(var o=e.length-2;o>=0;--o)(i=e[o]).left===e[o+1]?n[o]=new r(i._color,i.key,i.value,n[o+1],i.right,i._count):n[o]=new r(i._color,i.key,i.value,i.left,n[o+1],i._count);return new s(this.tree._compare,n[0])},f.prev=function(){var t=this._stack;if(0!==t.length){var e=t[t.length-1];if(e.left)for(e=e.left;e;)t.push(e),e=e.right;else for(t.pop();t.length>0&&t[t.length-1].left===e;)e=t[t.length-1],t.pop()}},Object.defineProperty(f,\\\"hasPrev\\\",{get:function(){var t=this._stack;if(0===t.length)return!1;if(t[t.length-1].left)return!0;for(var e=t.length-1;e>0;--e)if(t[e-1].right===t[e])return!0;return!1}})},{}],243:[function(t,e,n){var r=[.9999999999998099,676.5203681218851,-1259.1392167224028,771.3234287776531,-176.6150291621406,12.507343278686905,-.13857109526572012,9984369578019572e-21,1.5056327351493116e-7],i=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];function o(t){if(t<0)return Number(\\\"0/0\\\");for(var e=i[0],n=i.length-1;n>0;--n)e+=i[n]/(t+n);var r=t+4.7421875+.5;return.5*Math.log(2*Math.PI)+(t+.5)*Math.log(r)-r+Math.log(e)-Math.log(t)}e.exports=function t(e){if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*t(1-e));if(e>100)return Math.exp(o(e));e-=1;for(var n=r[0],i=1;i<9;i++)n+=r[i]/(e+i);var a=e+7+.5;return Math.sqrt(2*Math.PI)*Math.pow(a,e+.5)*Math.exp(-a)*n},e.exports.log=o},{}],244:[function(t,e,n){e.exports=function(t,e){if(\\\"string\\\"!=typeof t)throw new TypeError(\\\"must specify type string\\\");if(e=e||{},\\\"undefined\\\"==typeof document&&!e.canvas)return null;var n=e.canvas||document.createElement(\\\"canvas\\\");\\\"number\\\"==typeof e.width&&(n.width=e.width),\\\"number\\\"==typeof e.height&&(n.height=e.height);var r,i=e;try{var o=[t];0===t.indexOf(\\\"webgl\\\")&&o.push(\\\"experimental-\\\"+t);for(var a=0;a<o.length;a++)if(r=n.getContext(o[a],i))return r}catch(t){r=null}return r||null}},{}],245:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=new c(t);return n.update(e),n};var r=t(\\\"./lib/text.js\\\"),i=t(\\\"./lib/lines.js\\\"),o=t(\\\"./lib/background.js\\\"),a=t(\\\"./lib/cube.js\\\"),s=t(\\\"./lib/ticks.js\\\"),l=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function c(t){this.gl=t,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=[\\\"sans-serif\\\",\\\"sans-serif\\\",\\\"sans-serif\\\"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=[\\\"auto\\\",\\\"auto\\\",\\\"auto\\\"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=[\\\"x\\\",\\\"y\\\",\\\"z\\\"],this.labelEnable=[!0,!0,!0],this.labelFont=\\\"sans-serif\\\",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=[\\\"auto\\\",\\\"auto\\\",\\\"auto\\\"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=o(t)}var h=c.prototype;function p(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}h.update=function(t){function e(e,n,r){if(r in t){var i,o=t[r],a=this[r];(e?Array.isArray(o)&&Array.isArray(o[0]):Array.isArray(o))?this[r]=i=[n(o[0]),n(o[1]),n(o[2])]:this[r]=i=[n(o),n(o),n(o)];for(var s=0;s<3;++s)if(i[s]!==a[s])return!0}return!1}t=t||{};var n,o=e.bind(this,!1,Number),a=e.bind(this,!1,Boolean),l=e.bind(this,!1,String),u=e.bind(this,!0,(function(t){if(Array.isArray(t)){if(3===t.length)return[+t[0],+t[1],+t[2],1];if(4===t.length)return[+t[0],+t[1],+t[2],+t[3]]}return[0,0,0,1]})),c=!1,h=!1;if(\\\"bounds\\\"in t)for(var p=t.bounds,f=0;f<2;++f)for(var d=0;d<3;++d)p[f][d]!==this.bounds[f][d]&&(h=!0),this.bounds[f][d]=p[f][d];if(\\\"ticks\\\"in t)for(n=t.ticks,c=!0,this.autoTicks=!1,f=0;f<3;++f)this.tickSpacing[f]=0;else o(\\\"tickSpacing\\\")&&(this.autoTicks=!0,h=!0);if(this._firstInit&&(\\\"ticks\\\"in t||\\\"tickSpacing\\\"in t||(this.autoTicks=!0),h=!0,c=!0,this._firstInit=!1),h&&this.autoTicks&&(n=s.create(this.bounds,this.tickSpacing),c=!0),c){for(f=0;f<3;++f)n[f].sort((function(t,e){return t.x-e.x}));s.equal(n,this.ticks)?c=!1:this.ticks=n}a(\\\"tickEnable\\\"),l(\\\"tickFont\\\")&&(c=!0),o(\\\"tickSize\\\"),o(\\\"tickAngle\\\"),o(\\\"tickPad\\\"),u(\\\"tickColor\\\");var m=l(\\\"labels\\\");l(\\\"labelFont\\\")&&(m=!0),a(\\\"labelEnable\\\"),o(\\\"labelSize\\\"),o(\\\"labelPad\\\"),u(\\\"labelColor\\\"),a(\\\"lineEnable\\\"),a(\\\"lineMirror\\\"),o(\\\"lineWidth\\\"),u(\\\"lineColor\\\"),a(\\\"lineTickEnable\\\"),a(\\\"lineTickMirror\\\"),o(\\\"lineTickLength\\\"),o(\\\"lineTickWidth\\\"),u(\\\"lineTickColor\\\"),a(\\\"gridEnable\\\"),o(\\\"gridWidth\\\"),u(\\\"gridColor\\\"),a(\\\"zeroEnable\\\"),u(\\\"zeroLineColor\\\"),o(\\\"zeroLineWidth\\\"),a(\\\"backgroundEnable\\\"),u(\\\"backgroundColor\\\"),this._text?this._text&&(m||c)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=r(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&c&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=i(this.gl,this.bounds,this.ticks))};var f=[new p,new p,new p];function d(t,e,n,r,i){for(var o=t.primalOffset,a=t.primalMinor,s=t.mirrorOffset,l=t.mirrorMinor,u=r[e],c=0;c<3;++c)if(e!==c){var h=o,p=s,f=a,d=l;u&1<<c&&(h=s,p=o,f=l,d=a),h[c]=n[0][c],p[c]=n[1][c],i[c]>0?(f[c]=-1,d[c]=0):(f[c]=0,d[c]=1)}}var m=[0,0,0],v={model:l,view:l,projection:l,_ortho:!1};h.isOpaque=function(){return!0},h.isTransparent=function(){return!1},h.drawTransparent=function(t){};var g=[0,0,0],y=[0,0,0],_=[0,0,0];h.draw=function(t){t=t||v;for(var e=this.gl,n=t.model||l,r=t.view||l,i=t.projection||l,o=this.bounds,s=t._ortho||!1,c=a(n,r,i,o,s),h=c.cubeEdges,p=c.axis,b=r[12],x=r[13],w=r[14],A=r[15],C=(s?2:1)*this.pixelRatio*(i[3]*b+i[7]*x+i[11]*w+i[15]*A)/e.drawingBufferHeight,M=0;M<3;++M)this.lastCubeProps.cubeEdges[M]=h[M],this.lastCubeProps.axis[M]=p[M];var E=f;for(M=0;M<3;++M)d(f[M],M,this.bounds,h,p);e=this.gl;var T,S,k,O=m;for(M=0;M<3;++M)this.backgroundEnable[M]?O[M]=p[M]:O[M]=0;for(this._background.draw(n,r,i,o,O,this.backgroundColor),this._lines.bind(n,r,i,this),M=0;M<3;++M){var I=[0,0,0];p[M]>0?I[M]=o[1][M]:I[M]=o[0][M];for(var L=0;L<2;++L){var P=(M+1+L)%3,z=(M+1+(1^L))%3;this.gridEnable[P]&&this._lines.drawGrid(P,z,this.bounds,I,this.gridColor[P],this.gridWidth[P]*this.pixelRatio)}for(L=0;L<2;++L)P=(M+1+L)%3,z=(M+1+(1^L))%3,this.zeroEnable[z]&&Math.min(o[0][z],o[1][z])<=0&&Math.max(o[0][z],o[1][z])>=0&&this._lines.drawZero(P,z,this.bounds,I,this.zeroLineColor[z],this.zeroLineWidth[z]*this.pixelRatio)}for(M=0;M<3;++M){this.lineEnable[M]&&this._lines.drawAxisLine(M,this.bounds,E[M].primalOffset,this.lineColor[M],this.lineWidth[M]*this.pixelRatio),this.lineMirror[M]&&this._lines.drawAxisLine(M,this.bounds,E[M].mirrorOffset,this.lineColor[M],this.lineWidth[M]*this.pixelRatio);var R=u(g,E[M].primalMinor),D=u(y,E[M].mirrorMinor),$=this.lineTickLength;for(L=0;L<3;++L){var B=C/n[5*L];R[L]*=$[L]*B,D[L]*=$[L]*B}this.lineTickEnable[M]&&this._lines.drawAxisTicks(M,E[M].primalOffset,R,this.lineTickColor[M],this.lineTickWidth[M]*this.pixelRatio),this.lineTickMirror[M]&&this._lines.drawAxisTicks(M,E[M].mirrorOffset,D,this.lineTickColor[M],this.lineTickWidth[M]*this.pixelRatio)}function N(t){(k=[0,0,0])[t]=1}function F(t,e,n){var r=(t+1)%3,i=(t+2)%3,o=e[r],a=e[i],s=n[r],l=n[i];o>0&&l>0||o>0&&l<0||o<0&&l>0||o<0&&l<0?N(r):(a>0&&s>0||a>0&&s<0||a<0&&s>0||a<0&&s<0)&&N(i)}for(this._lines.unbind(),this._text.bind(n,r,i,this.pixelRatio),M=0;M<3;++M){var j=E[M].primalMinor,U=E[M].mirrorMinor,q=u(_,E[M].primalOffset);for(L=0;L<3;++L)this.lineTickEnable[M]&&(q[L]+=C*j[L]*Math.max(this.lineTickLength[L],0)/n[5*L]);var V=[0,0,0];if(V[M]=1,this.tickEnable[M]){for(-3600===this.tickAngle[M]?(this.tickAngle[M]=0,this.tickAlign[M]=\\\"auto\\\"):this.tickAlign[M]=-1,S=1,\\\"auto\\\"===(T=[this.tickAlign[M],.5,S])[0]?T[0]=0:T[0]=parseInt(\\\"\\\"+T[0]),k=[0,0,0],F(M,j,U),L=0;L<3;++L)q[L]+=C*j[L]*this.tickPad[L]/n[5*L];this._text.drawTicks(M,this.tickSize[M],this.tickAngle[M],q,this.tickColor[M],V,k,T)}if(this.labelEnable[M]){for(S=0,k=[0,0,0],this.labels[M].length>4&&(N(M),S=1),\\\"auto\\\"===(T=[this.labelAlign[M],.5,S])[0]?T[0]=0:T[0]=parseInt(\\\"\\\"+T[0]),L=0;L<3;++L)q[L]+=C*j[L]*this.labelPad[L]/n[5*L];q[M]+=.5*(o[0][M]+o[1][M]),this._text.drawLabel(M,this.labelSize[M],this.labelAngle[M],q,this.labelColor[M],[0,0,0],k,T)}}this._text.unbind()},h.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},{\\\"./lib/background.js\\\":246,\\\"./lib/cube.js\\\":247,\\\"./lib/lines.js\\\":248,\\\"./lib/text.js\\\":250,\\\"./lib/ticks.js\\\":251}],246:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=[],n=[],s=0,l=0;l<3;++l)for(var u=(l+1)%3,c=(l+2)%3,h=[0,0,0],p=[0,0,0],f=-1;f<=1;f+=2){n.push(s,s+2,s+1,s+1,s+2,s+3),h[l]=f,p[l]=f;for(var d=-1;d<=1;d+=2){h[u]=d;for(var m=-1;m<=1;m+=2)h[c]=m,e.push(h[0],h[1],h[2],p[0],p[1],p[2]),s+=1}var v=u;u=c,c=v}var g=r(t,new Float32Array(e)),y=r(t,new Uint16Array(n),t.ELEMENT_ARRAY_BUFFER),_=i(t,[{buffer:g,type:t.FLOAT,size:3,offset:0,stride:24},{buffer:g,type:t.FLOAT,size:3,offset:12,stride:24}],y),b=o(t);return b.attributes.position.location=0,b.attributes.normal.location=1,new a(t,g,_,b)};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-vao\\\"),o=t(\\\"./shaders\\\").bg;function a(t,e,n,r){this.gl=t,this.buffer=e,this.vao=n,this.shader=r}var s=a.prototype;s.draw=function(t,e,n,r,i,o){for(var a=!1,s=0;s<3;++s)a=a||i[s];if(a){var l=this.gl;l.enable(l.POLYGON_OFFSET_FILL),l.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:t,view:e,projection:n,bounds:r,enable:i,colors:o},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),l.disable(l.POLYGON_OFFSET_FILL)}},s.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},{\\\"./shaders\\\":249,\\\"gl-buffer\\\":253,\\\"gl-vao\\\":327}],247:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,o,f){i(s,e,t),i(s,n,s);for(var y=0,_=0;_<2;++_){c[2]=o[_][2];for(var b=0;b<2;++b){c[1]=o[b][1];for(var x=0;x<2;++x)c[0]=o[x][0],p(l[y],c,s),y+=1}}var w=-1;for(_=0;_<8;++_){for(var A=l[_][3],C=0;C<3;++C)u[_][C]=l[_][C]/A;f&&(u[_][2]*=-1),A<0&&(w<0||u[_][2]<u[w][2])&&(w=_)}if(w<0){w=0;for(var M=0;M<3;++M){for(var E=(M+2)%3,T=(M+1)%3,S=-1,k=-1,O=0;O<2;++O){var I=(P=O<<M)+(O<<E)+(1-O<<T),L=P+(1-O<<E)+(O<<T);a(u[P],u[I],u[L],h)<0||(O?S=1:k=1)}if(S<0||k<0)k>S&&(w|=1<<M);else{for(O=0;O<2;++O){I=(P=O<<M)+(O<<E)+(1-O<<T),L=P+(1-O<<E)+(O<<T);var P,z=d([l[P],l[I],l[L],l[P+(1<<E)+(1<<T)]]);O?S=z:k=z}k>S&&(w|=1<<M)}}}var R=7^w,D=-1;for(_=0;_<8;++_)_!==w&&_!==R&&(D<0||u[D][1]>u[_][1])&&(D=_);var $=-1;for(_=0;_<3;++_)(N=D^1<<_)!==w&&N!==R&&($<0&&($=N),(T=u[N])[0]<u[$][0]&&($=N));var B=-1;for(_=0;_<3;++_){var N;(N=D^1<<_)!==w&&N!==R&&N!==$&&(B<0&&(B=N),(T=u[N])[0]>u[B][0]&&(B=N))}var F=m;F[0]=F[1]=F[2]=0,F[r.log2($^D)]=D&$,F[r.log2(D^B)]=D&B;var j=7^B;j===w||j===R?(j=7^$,F[r.log2(B^j)]=j&B):F[r.log2($^j)]=j&$;var U=v,q=w;for(M=0;M<3;++M)U[M]=q&1<<M?-1:1;return g};var r=t(\\\"bit-twiddle\\\"),i=t(\\\"gl-mat4/multiply\\\"),o=t(\\\"split-polygon\\\"),a=t(\\\"robust-orientation\\\"),s=new Array(16),l=new Array(8),u=new Array(8),c=new Array(3),h=[0,0,0];function p(t,e,n){for(var r=0;r<4;++r){t[r]=n[12+r];for(var i=0;i<3;++i)t[r]+=e[i]*n[4*i+r]}}!function(){for(var t=0;t<8;++t)l[t]=[1,1,1,1],u[t]=[1,1,1]}();var f=[[0,0,1,0,0],[0,0,-1,1,0],[0,-1,0,1,0],[0,1,0,1,0],[-1,0,0,1,0],[1,0,0,1,0]];function d(t){for(var e=0;e<f.length;++e)if((t=o.positive(t,f[e])).length<3)return 0;var n=t[0],r=n[0]/n[3],i=n[1]/n[3],a=0;for(e=1;e+1<t.length;++e){var s=t[e],l=t[e+1],u=s[0]/s[3]-r,c=s[1]/s[3]-i,h=l[0]/l[3]-r,p=l[1]/l[3]-i;a+=Math.abs(u*p-c*h)}return a}var m=[1,1,1],v=[0,0,0],g={cubeEdges:m,axis:v}},{\\\"bit-twiddle\\\":95,\\\"gl-mat4/multiply\\\":275,\\\"robust-orientation\\\":500,\\\"split-polygon\\\":518}],248:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){var a=[],s=[0,0,0],l=[0,0,0],u=[0,0,0],c=[0,0,0];a.push(0,0,1,0,1,1,0,0,-1,0,0,-1,0,1,1,0,1,-1);for(var h=0;h<3;++h){for(var p=a.length/3|0,d=0;d<n[h].length;++d){var m=+n[h][d].x;a.push(m,0,1,m,1,1,m,0,-1,m,0,-1,m,1,1,m,1,-1)}var v=a.length/3|0;s[h]=p,l[h]=v-p,p=a.length/3|0;for(var g=0;g<n[h].length;++g)m=+n[h][g].x,a.push(m,0,1,m,1,1,m,0,-1,m,0,-1,m,1,1,m,1,-1);v=a.length/3|0,u[h]=p,c[h]=v-p}var y=r(t,new Float32Array(a)),_=i(t,[{buffer:y,type:t.FLOAT,size:3,stride:0,offset:0}]),b=o(t);return b.attributes.position.location=0,new f(t,y,_,b,l,s,c,u)};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-vao\\\"),o=t(\\\"./shaders\\\").line,a=[0,0,0],s=[0,0,0],l=[0,0,0],u=[0,0,0],c=[1,1];function h(t){return t[0]=t[1]=t[2]=0,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function f(t,e,n,r,i,o,a,s){this.gl=t,this.vertBuffer=e,this.vao=n,this.shader=r,this.tickCount=i,this.tickOffset=o,this.gridCount=a,this.gridOffset=s}var d=f.prototype;d.bind=function(t,e,n){this.shader.bind(),this.shader.uniforms.model=t,this.shader.uniforms.view=e,this.shader.uniforms.projection=n,c[0]=this.gl.drawingBufferWidth,c[1]=this.gl.drawingBufferHeight,this.shader.uniforms.screenShape=c,this.vao.bind()},d.unbind=function(){this.vao.unbind()},d.drawAxisLine=function(t,e,n,r,i){var o=h(s);this.shader.uniforms.majorAxis=s,o[t]=e[1][t]-e[0][t],this.shader.uniforms.minorAxis=o;var a,c=p(u,n);c[t]+=e[0][t],this.shader.uniforms.offset=c,this.shader.uniforms.lineWidth=i,this.shader.uniforms.color=r,(a=h(l))[(t+2)%3]=1,this.shader.uniforms.screenAxis=a,this.vao.draw(this.gl.TRIANGLES,6),(a=h(l))[(t+1)%3]=1,this.shader.uniforms.screenAxis=a,this.vao.draw(this.gl.TRIANGLES,6)},d.drawAxisTicks=function(t,e,n,r,i){if(this.tickCount[t]){var o=h(a);o[t]=1,this.shader.uniforms.majorAxis=o,this.shader.uniforms.offset=e,this.shader.uniforms.minorAxis=n,this.shader.uniforms.color=r,this.shader.uniforms.lineWidth=i;var s=h(l);s[t]=1,this.shader.uniforms.screenAxis=s,this.vao.draw(this.gl.TRIANGLES,this.tickCount[t],this.tickOffset[t])}},d.drawGrid=function(t,e,n,r,i,o){if(this.gridCount[t]){var c=h(s);c[e]=n[1][e]-n[0][e],this.shader.uniforms.minorAxis=c;var f=p(u,r);f[e]+=n[0][e],this.shader.uniforms.offset=f;var d=h(a);d[t]=1,this.shader.uniforms.majorAxis=d;var m=h(l);m[t]=1,this.shader.uniforms.screenAxis=m,this.shader.uniforms.lineWidth=o,this.shader.uniforms.color=i,this.vao.draw(this.gl.TRIANGLES,this.gridCount[t],this.gridOffset[t])}},d.drawZero=function(t,e,n,r,i,o){var a=h(s);this.shader.uniforms.majorAxis=a,a[t]=n[1][t]-n[0][t],this.shader.uniforms.minorAxis=a;var c=p(u,r);c[t]+=n[0][t],this.shader.uniforms.offset=c;var f=h(l);f[e]=1,this.shader.uniforms.screenAxis=f,this.shader.uniforms.lineWidth=o,this.shader.uniforms.color=i,this.vao.draw(this.gl.TRIANGLES,6)},d.dispose=function(){this.vao.dispose(),this.vertBuffer.dispose(),this.shader.dispose()}},{\\\"./shaders\\\":249,\\\"gl-buffer\\\":253,\\\"gl-vao\\\":327}],249:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"glslify\\\"),i=t(\\\"gl-shader\\\"),o=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform vec3 offset, majorAxis, minorAxis, screenAxis;\\\\nuniform float lineWidth;\\\\nuniform vec2 screenShape;\\\\n\\\\nvec3 project(vec3 p) {\\\\n vec4 pp = projection * view * model * vec4(p, 1.0);\\\\n return pp.xyz / max(pp.w, 0.0001);\\\\n}\\\\n\\\\nvoid main() {\\\\n vec3 major = position.x * majorAxis;\\\\n vec3 minor = position.y * minorAxis;\\\\n\\\\n vec3 vPosition = major + minor + offset;\\\\n vec3 pPosition = project(vPosition);\\\\n vec3 offset = project(vPosition + screenAxis * position.z);\\\\n\\\\n vec2 screen = normalize((offset - pPosition).xy * screenShape) / screenShape;\\\\n\\\\n gl_Position = vec4(pPosition + vec3(0.5 * screen * lineWidth, 0), 1.0);\\\\n}\\\\n\\\"]),a=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform vec4 color;\\\\nvoid main() {\\\\n gl_FragColor = color;\\\\n}\\\"]);n.line=function(t){return i(t,o,a,null,[{name:\\\"position\\\",type:\\\"vec3\\\"}])};var s=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform vec3 offset, axis, alignDir, alignOpt;\\\\nuniform float scale, angle, pixelScale;\\\\nuniform vec2 resolution;\\\\n\\\\nvec3 project(vec3 p) {\\\\n vec4 pp = projection * view * model * vec4(p, 1.0);\\\\n return pp.xyz / max(pp.w, 0.0001);\\\\n}\\\\n\\\\nfloat computeViewAngle(vec3 a, vec3 b) {\\\\n vec3 A = project(a);\\\\n vec3 B = project(b);\\\\n\\\\n return atan(\\\\n (B.y - A.y) * resolution.y,\\\\n (B.x - A.x) * resolution.x\\\\n );\\\\n}\\\\n\\\\nconst float PI = 3.141592;\\\\nconst float TWO_PI = 2.0 * PI;\\\\nconst float HALF_PI = 0.5 * PI;\\\\nconst float ONE_AND_HALF_PI = 1.5 * PI;\\\\n\\\\nint option = int(floor(alignOpt.x + 0.001));\\\\nfloat hv_ratio = alignOpt.y;\\\\nbool enableAlign = (alignOpt.z != 0.0);\\\\n\\\\nfloat mod_angle(float a) {\\\\n return mod(a, PI);\\\\n}\\\\n\\\\nfloat positive_angle(float a) {\\\\n return mod_angle((a < 0.0) ?\\\\n a + TWO_PI :\\\\n a\\\\n );\\\\n}\\\\n\\\\nfloat look_upwards(float a) {\\\\n float b = positive_angle(a);\\\\n return ((b > HALF_PI) && (b <= ONE_AND_HALF_PI)) ?\\\\n b - PI :\\\\n b;\\\\n}\\\\n\\\\nfloat look_horizontal_or_vertical(float a, float ratio) {\\\\n // ratio controls the ratio between being horizontal to (vertical + horizontal)\\\\n // if ratio is set to 0.5 then it is 50%, 50%.\\\\n // when using a higher ratio e.g. 0.75 the result would\\\\n // likely be more horizontal than vertical.\\\\n\\\\n float b = positive_angle(a);\\\\n\\\\n return\\\\n (b < ( ratio) * HALF_PI) ? 0.0 :\\\\n (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI :\\\\n (b < (2.0 + ratio) * HALF_PI) ? 0.0 :\\\\n (b < (4.0 - ratio) * HALF_PI) ? HALF_PI :\\\\n 0.0;\\\\n}\\\\n\\\\nfloat roundTo(float a, float b) {\\\\n return float(b * floor((a + 0.5 * b) / b));\\\\n}\\\\n\\\\nfloat look_round_n_directions(float a, int n) {\\\\n float b = positive_angle(a);\\\\n float div = TWO_PI / float(n);\\\\n float c = roundTo(b, div);\\\\n return look_upwards(c);\\\\n}\\\\n\\\\nfloat applyAlignOption(float rawAngle, float delta) {\\\\n return\\\\n (option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions\\\\n (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical\\\\n (option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis\\\\n (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards\\\\n (option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal\\\\n rawAngle; // otherwise return back raw input angle\\\\n}\\\\n\\\\nbool isAxisTitle = (axis.x == 0.0) &&\\\\n (axis.y == 0.0) &&\\\\n (axis.z == 0.0);\\\\n\\\\nvoid main() {\\\\n //Compute world offset\\\\n float axisDistance = position.z;\\\\n vec3 dataPosition = axisDistance * axis + offset;\\\\n\\\\n float beta = angle; // i.e. user defined attributes for each tick\\\\n\\\\n float axisAngle;\\\\n float clipAngle;\\\\n float flip;\\\\n\\\\n if (enableAlign) {\\\\n axisAngle = (isAxisTitle) ? HALF_PI :\\\\n computeViewAngle(dataPosition, dataPosition + axis);\\\\n clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir);\\\\n\\\\n axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0;\\\\n clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0;\\\\n\\\\n flip = (dot(vec2(cos(axisAngle), sin(axisAngle)),\\\\n vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0;\\\\n\\\\n beta += applyAlignOption(clipAngle, flip * PI);\\\\n }\\\\n\\\\n //Compute plane offset\\\\n vec2 planeCoord = position.xy * pixelScale;\\\\n\\\\n mat2 planeXform = scale * mat2(\\\\n cos(beta), sin(beta),\\\\n -sin(beta), cos(beta)\\\\n );\\\\n\\\\n vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution;\\\\n\\\\n //Compute clip position\\\\n vec3 clipPosition = project(dataPosition);\\\\n\\\\n //Apply text offset in clip coordinates\\\\n clipPosition += vec3(viewOffset, 0.0);\\\\n\\\\n //Done\\\\n gl_Position = vec4(clipPosition, 1.0);\\\\n}\\\"]),l=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform vec4 color;\\\\nvoid main() {\\\\n gl_FragColor = color;\\\\n}\\\"]);n.text=function(t){return i(t,s,l,null,[{name:\\\"position\\\",type:\\\"vec3\\\"}])};var u=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position;\\\\nattribute vec3 normal;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform vec3 enable;\\\\nuniform vec3 bounds[2];\\\\n\\\\nvarying vec3 colorChannel;\\\\n\\\\nvoid main() {\\\\n\\\\n vec3 signAxis = sign(bounds[1] - bounds[0]);\\\\n\\\\n vec3 realNormal = signAxis * normal;\\\\n\\\\n if(dot(realNormal, enable) > 0.0) {\\\\n vec3 minRange = min(bounds[0], bounds[1]);\\\\n vec3 maxRange = max(bounds[0], bounds[1]);\\\\n vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0));\\\\n gl_Position = projection * view * model * vec4(nPosition, 1.0);\\\\n } else {\\\\n gl_Position = vec4(0,0,0,0);\\\\n }\\\\n\\\\n colorChannel = abs(realNormal);\\\\n}\\\"]),c=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform vec4 colors[3];\\\\n\\\\nvarying vec3 colorChannel;\\\\n\\\\nvoid main() {\\\\n gl_FragColor = colorChannel.x * colors[0] +\\\\n colorChannel.y * colors[1] +\\\\n colorChannel.z * colors[2];\\\\n}\\\"]);n.bg=function(t){return i(t,u,c,null,[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"normal\\\",type:\\\"vec3\\\"}])}},{\\\"gl-shader\\\":307,glslify:408}],250:[function(t,e,n){(function(n){\\\"use strict\\\";e.exports=function(t,e,n,o,s,l){var c=r(t),h=i(t,[{buffer:c,size:3}]),p=a(t);p.attributes.position.location=0;var f=new u(t,p,c,h);return f.update(e,n,o,s,l),f};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-vao\\\"),o=t(\\\"vectorize-text\\\"),a=t(\\\"./shaders\\\").text,s=window||n.global||{},l=s.__TEXT_CACHE||{};function u(t,e,n,r){this.gl=t,this.shader=e,this.buffer=n,this.vao=r,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}s.__TEXT_CACHE={};var c=u.prototype,h=[0,0];c.bind=function(t,e,n,r){this.vao.bind(),this.shader.bind();var i=this.shader.uniforms;i.model=t,i.view=e,i.projection=n,i.pixelScale=r,h[0]=this.gl.drawingBufferWidth,h[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=h},c.unbind=function(){this.vao.unbind()},c.update=function(t,e,n,r,i){var a=[];function s(t,e,n,r,i,s){var u=l[n];u||(u=l[n]={});var c=u[e];c||(c=u[e]=function(t,e){try{return o(t,e)}catch(e){return console.warn('error vectorizing text:\\\"'+t+'\\\" error:',e),{cells:[],positions:[]}}}(e,{triangles:!0,font:n,textAlign:\\\"center\\\",textBaseline:\\\"middle\\\",lineSpacing:i,styletags:s}));for(var h=(r||12)/12,p=c.positions,f=c.cells,d=0,m=f.length;d<m;++d)for(var v=f[d],g=2;g>=0;--g){var y=p[v[g]];a.push(h*y[0],-h*y[1],t)}}for(var u=[0,0,0],c=[0,0,0],h=[0,0,0],p=[0,0,0],f={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},d=0;d<3;++d){h[d]=a.length/3|0,s(.5*(t[0][d]+t[1][d]),e[d],n[d],12,1.25,f),p[d]=(a.length/3|0)-h[d],u[d]=a.length/3|0;for(var m=0;m<r[d].length;++m)r[d][m].text&&s(r[d][m].x,r[d][m].text,r[d][m].font||i,r[d][m].fontSize||12,1.25,f);c[d]=(a.length/3|0)-u[d]}this.buffer.update(a),this.tickOffset=u,this.tickCount=c,this.labelOffset=h,this.labelCount=p},c.drawTicks=function(t,e,n,r,i,o,a,s){this.tickCount[t]&&(this.shader.uniforms.axis=o,this.shader.uniforms.color=i,this.shader.uniforms.angle=n,this.shader.uniforms.scale=e,this.shader.uniforms.offset=r,this.shader.uniforms.alignDir=a,this.shader.uniforms.alignOpt=s,this.vao.draw(this.gl.TRIANGLES,this.tickCount[t],this.tickOffset[t]))},c.drawLabel=function(t,e,n,r,i,o,a,s){this.labelCount[t]&&(this.shader.uniforms.axis=o,this.shader.uniforms.color=i,this.shader.uniforms.angle=n,this.shader.uniforms.scale=e,this.shader.uniforms.offset=r,this.shader.uniforms.alignDir=a,this.shader.uniforms.alignOpt=s,this.vao.draw(this.gl.TRIANGLES,this.labelCount[t],this.labelOffset[t]))},c.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()}}).call(this,t(\\\"_process\\\"))},{\\\"./shaders\\\":249,_process:480,\\\"gl-buffer\\\":253,\\\"gl-vao\\\":327,\\\"vectorize-text\\\":552}],251:[function(t,e,n){\\\"use strict\\\";function r(t,e){var n=t+\\\"\\\",r=n.indexOf(\\\".\\\"),i=0;r>=0&&(i=n.length-r-1);var o=Math.pow(10,i),a=Math.round(t*e*o),s=a+\\\"\\\";if(s.indexOf(\\\"e\\\")>=0)return s;var l=a/o,u=a%o;a<0?(l=0|-Math.ceil(l),u=0|-u):(l=0|Math.floor(l),u|=0);var c=\\\"\\\"+l;if(a<0&&(c=\\\"-\\\"+c),i){for(var h=\\\"\\\"+u;h.length<i;)h=\\\"0\\\"+h;return c+\\\".\\\"+h}return c}n.create=function(t,e){for(var n=[],i=0;i<3;++i){for(var o=[],a=(t[0][i],t[1][i],0);a*e[i]<=t[1][i];++a)o.push({x:a*e[i],text:r(e[i],a)});for(a=-1;a*e[i]>=t[0][i];--a)o.push({x:a*e[i],text:r(e[i],a)});n.push(o)}return n},n.equal=function(t,e){for(var n=0;n<3;++n){if(t[n].length!==e[n].length)return!1;for(var r=0;r<t[n].length;++r){var i=t[n][r],o=e[n][r];if(i.x!==o.x||i.text!==o.text||i.font!==o.font||i.fontColor!==o.fontColor||i.fontSize!==o.fontSize||i.dx!==o.dx||i.dy!==o.dy)return!1}}return!0}},{}],252:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,l,h){var p=e.model||u,f=e.view||u,g=e.projection||u,y=e._ortho||!1,_=t.bounds,b=(h=h||o(p,f,g,_,y)).axis;a(c,f,p),a(c,g,c);for(var x=m,w=0;w<3;++w)x[w].lo=1/0,x[w].hi=-1/0,x[w].pixelsPerDataUnit=1/0;var A=r(s(c,c));s(c,c);for(var C=0;C<3;++C){var M=(C+1)%3,E=(C+2)%3,T=v;t:for(w=0;w<2;++w){var S=[];if(b[C]<0!=!!w){T[C]=_[w][C];for(var k=0;k<2;++k){T[M]=_[k^w][M];for(var O=0;O<2;++O)T[E]=_[O^k^w][E],S.push(T.slice())}var I=y?5:4;for(k=I;k===I;++k){if(0===S.length)continue t;S=i.positive(S,A[k])}for(k=0;k<S.length;++k){E=S[k];var L=d(v,c,E,n,l);for(O=0;O<3;++O)x[O].lo=Math.min(x[O].lo,E[O]),x[O].hi=Math.max(x[O].hi,E[O]),O!==C&&(x[O].pixelsPerDataUnit=Math.min(x[O].pixelsPerDataUnit,Math.abs(L[O])))}}}}return x};var r=t(\\\"extract-frustum-planes\\\"),i=t(\\\"split-polygon\\\"),o=t(\\\"./lib/cube.js\\\"),a=t(\\\"gl-mat4/multiply\\\"),s=t(\\\"gl-mat4/transpose\\\"),l=t(\\\"gl-vec4/transformMat4\\\"),u=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),c=new Float32Array(16);function h(t,e,n){this.lo=t,this.hi=e,this.pixelsPerDataUnit=n}var p=[0,0,0,1],f=[0,0,0,1];function d(t,e,n,r,i){for(var o=0;o<3;++o){for(var a=p,s=f,u=0;u<3;++u)s[u]=a[u]=n[u];s[3]=a[3]=1,s[o]+=1,l(s,s,e),s[3]<0&&(t[o]=1/0),a[o]-=1,l(a,a,e),a[3]<0&&(t[o]=1/0);var c=(a[0]/a[3]-s[0]/s[3])*r,h=(a[1]/a[3]-s[1]/s[3])*i;t[o]=.25*Math.sqrt(c*c+h*h)}return t}var m=[new h(1/0,-1/0,1/0),new h(1/0,-1/0,1/0),new h(1/0,-1/0,1/0)],v=[0,0,0]},{\\\"./lib/cube.js\\\":247,\\\"extract-frustum-planes\\\":235,\\\"gl-mat4/multiply\\\":275,\\\"gl-mat4/transpose\\\":284,\\\"gl-vec4/transformMat4\\\":398,\\\"split-polygon\\\":518}],253:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"typedarray-pool\\\"),i=t(\\\"ndarray-ops\\\"),o=t(\\\"ndarray\\\"),a=[\\\"uint8\\\",\\\"uint8_clamped\\\",\\\"uint16\\\",\\\"uint32\\\",\\\"int8\\\",\\\"int16\\\",\\\"int32\\\",\\\"float32\\\"];function s(t,e,n,r,i){this.gl=t,this.type=e,this.handle=n,this.length=r,this.usage=i}var l=s.prototype;function u(t,e,n,r,i,o){var a=i.length*i.BYTES_PER_ELEMENT;if(o<0)return t.bufferData(e,i,r),a;if(a+o>n)throw new Error(\\\"gl-buffer: If resizing buffer, must not specify offset\\\");return t.bufferSubData(e,o,i),n}function c(t,e){for(var n=r.malloc(t.length,e),i=t.length,o=0;o<i;++o)n[o]=t[o];return n}l.bind=function(){this.gl.bindBuffer(this.type,this.handle)},l.unbind=function(){this.gl.bindBuffer(this.type,null)},l.dispose=function(){this.gl.deleteBuffer(this.handle)},l.update=function(t,e){if(\\\"number\\\"!=typeof e&&(e=-1),this.bind(),\\\"object\\\"==typeof t&&void 0!==t.shape){var n=t.dtype;if(a.indexOf(n)<0&&(n=\\\"float32\\\"),this.type===this.gl.ELEMENT_ARRAY_BUFFER&&(n=gl.getExtension(\\\"OES_element_index_uint\\\")&&\\\"uint16\\\"!==n?\\\"uint32\\\":\\\"uint16\\\"),n===t.dtype&&function(t,e){for(var n=1,r=e.length-1;r>=0;--r){if(e[r]!==n)return!1;n*=t[r]}return!0}(t.shape,t.stride))0===t.offset&&t.data.length===t.shape[0]?this.length=u(this.gl,this.type,this.length,this.usage,t.data,e):this.length=u(this.gl,this.type,this.length,this.usage,t.data.subarray(t.offset,t.shape[0]),e);else{var s=r.malloc(t.size,n),l=o(s,t.shape);i.assign(l,t),this.length=u(this.gl,this.type,this.length,this.usage,e<0?s:s.subarray(0,t.size),e),r.free(s)}}else if(Array.isArray(t)){var h;h=this.type===this.gl.ELEMENT_ARRAY_BUFFER?c(t,\\\"uint16\\\"):c(t,\\\"float32\\\"),this.length=u(this.gl,this.type,this.length,this.usage,e<0?h:h.subarray(0,t.length),e),r.free(h)}else if(\\\"object\\\"==typeof t&&\\\"number\\\"==typeof t.length)this.length=u(this.gl,this.type,this.length,this.usage,t,e);else{if(\\\"number\\\"!=typeof t&&void 0!==t)throw new Error(\\\"gl-buffer: Invalid data type\\\");if(e>=0)throw new Error(\\\"gl-buffer: Cannot specify offset when resizing buffer\\\");(t|=0)<=0&&(t=1),this.gl.bufferData(this.type,0|t,this.usage),this.length=t}},e.exports=function(t,e,n,r){if(n=n||t.ARRAY_BUFFER,r=r||t.DYNAMIC_DRAW,n!==t.ARRAY_BUFFER&&n!==t.ELEMENT_ARRAY_BUFFER)throw new Error(\\\"gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER\\\");if(r!==t.DYNAMIC_DRAW&&r!==t.STATIC_DRAW&&r!==t.STREAM_DRAW)throw new Error(\\\"gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW\\\");var i=t.createBuffer(),o=new s(t,n,i,0,r);return o.update(e),o}},{ndarray:448,\\\"ndarray-ops\\\":443,\\\"typedarray-pool\\\":547}],254:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-vec3\\\");e.exports=function(t,e){var n=t.positions,i=t.vectors,o={positions:[],vertexIntensity:[],vertexIntensityBounds:t.vertexIntensityBounds,vectors:[],cells:[],coneOffset:t.coneOffset,colormap:t.colormap};if(0===t.positions.length)return e&&(e[0]=[0,0,0],e[1]=[0,0,0]),o;for(var a=0,s=1/0,l=-1/0,u=1/0,c=-1/0,h=1/0,p=-1/0,f=null,d=null,m=[],v=1/0,g=!1,y=0;y<n.length;y++){var _=n[y];s=Math.min(_[0],s),l=Math.max(_[0],l),u=Math.min(_[1],u),c=Math.max(_[1],c),h=Math.min(_[2],h),p=Math.max(_[2],p);var b=i[y];if(r.length(b)>a&&(a=r.length(b)),y){var x=2*r.distance(f,_)/(r.length(d)+r.length(b));x?(v=Math.min(v,x),g=!1):g=!0}g||(f=_,d=b),m.push(b)}var w=[s,u,h],A=[l,c,p];e&&(e[0]=w,e[1]=A),0===a&&(a=1);var C=1/a;isFinite(v)||(v=1),o.vectorScale=v;var M=t.coneSize||.5;t.absoluteConeSize&&(M=t.absoluteConeSize*C),o.coneScale=M,y=0;for(var E=0;y<n.length;y++)for(var T=(_=n[y])[0],S=_[1],k=_[2],O=m[y],I=r.length(O)*C,L=0;L<8;L++){o.positions.push([T,S,k,E++]),o.positions.push([T,S,k,E++]),o.positions.push([T,S,k,E++]),o.positions.push([T,S,k,E++]),o.positions.push([T,S,k,E++]),o.positions.push([T,S,k,E++]),o.vectors.push(O),o.vectors.push(O),o.vectors.push(O),o.vectors.push(O),o.vectors.push(O),o.vectors.push(O),o.vertexIntensity.push(I,I,I),o.vertexIntensity.push(I,I,I);var P=o.positions.length;o.cells.push([P-6,P-5,P-4],[P-3,P-2,P-1])}return o};var i=t(\\\"./lib/shaders\\\");e.exports.createMesh=t(\\\"./create_mesh\\\"),e.exports.createConeMesh=function(t,n){return e.exports.createMesh(t,n,{shaders:i,traceType:\\\"cone\\\"})}},{\\\"./create_mesh\\\":255,\\\"./lib/shaders\\\":256,\\\"gl-vec3\\\":346}],255:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-shader\\\"),i=t(\\\"gl-buffer\\\"),o=t(\\\"gl-vao\\\"),a=t(\\\"gl-texture2d\\\"),s=t(\\\"gl-mat4/multiply\\\"),l=t(\\\"gl-mat4/invert\\\"),u=t(\\\"ndarray\\\"),c=t(\\\"colormap\\\"),h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function p(t,e,n,r,i,o,a,s,l,u,c){this.gl=t,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=e,this.dirty=!0,this.triShader=n,this.pickShader=r,this.trianglePositions=i,this.triangleVectors=o,this.triangleColors=s,this.triangleUVs=l,this.triangleIds=a,this.triangleVAO=u,this.triangleCount=0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.traceType=c,this.tubeScale=1,this.coneScale=2,this.vectorScale=1,this.coneOffset=.25,this._model=h,this._view=h,this._projection=h,this._resolution=[1,1]}var f=p.prototype;function d(t,e){var n=r(t,e.meshShader.vertex,e.meshShader.fragment,null,e.meshShader.attributes);return n.attributes.position.location=0,n.attributes.color.location=2,n.attributes.uv.location=3,n.attributes.vector.location=4,n}function m(t,e){var n=r(t,e.pickShader.vertex,e.pickShader.fragment,null,e.pickShader.attributes);return n.attributes.position.location=0,n.attributes.id.location=1,n.attributes.vector.location=4,n}f.isOpaque=function(){return this.opacity>=1},f.isTransparent=function(){return this.opacity<1},f.pickSlots=1,f.setPickBase=function(t){this.pickId=t},f.update=function(t){t=t||{};var e=this.gl;this.dirty=!0,\\\"lightPosition\\\"in t&&(this.lightPosition=t.lightPosition),\\\"opacity\\\"in t&&(this.opacity=t.opacity),\\\"ambient\\\"in t&&(this.ambientLight=t.ambient),\\\"diffuse\\\"in t&&(this.diffuseLight=t.diffuse),\\\"specular\\\"in t&&(this.specularLight=t.specular),\\\"roughness\\\"in t&&(this.roughness=t.roughness),\\\"fresnel\\\"in t&&(this.fresnel=t.fresnel),void 0!==t.tubeScale&&(this.tubeScale=t.tubeScale),void 0!==t.vectorScale&&(this.vectorScale=t.vectorScale),void 0!==t.coneScale&&(this.coneScale=t.coneScale),void 0!==t.coneOffset&&(this.coneOffset=t.coneOffset),t.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=e.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=e.LINEAR,this.texture.setPixels(function(t){for(var e=c({colormap:t,nshades:256,format:\\\"rgba\\\"}),n=new Uint8Array(1024),r=0;r<256;++r){for(var i=e[r],o=0;o<3;++o)n[4*r+o]=i[o];n[4*r+3]=255*i[3]}return u(n,[256,256,4],[4,0,1])}(t.colormap)),this.texture.generateMipmap());var n=t.cells,r=t.positions,i=t.vectors;if(r&&n&&i){var o=[],a=[],s=[],l=[],h=[];this.cells=n,this.positions=r,this.vectors=i;var p=t.meshColor||[1,1,1,1],f=t.vertexIntensity,d=1/0,m=-1/0;if(f)if(t.vertexIntensityBounds)d=+t.vertexIntensityBounds[0],m=+t.vertexIntensityBounds[1];else for(var v=0;v<f.length;++v){var g=f[v];d=Math.min(d,g),m=Math.max(m,g)}else for(v=0;v<r.length;++v)g=r[v][2],d=Math.min(d,g),m=Math.max(m,g);for(this.intensity=f||function(t){for(var e=t.length,n=new Array(e),r=0;r<e;++r)n[r]=t[r][2];return n}(r),this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],v=0;v<r.length;++v)for(var y=r[v],_=0;_<3;++_)!isNaN(y[_])&&isFinite(y[_])&&(this.bounds[0][_]=Math.min(this.bounds[0][_],y[_]),this.bounds[1][_]=Math.max(this.bounds[1][_],y[_]));var b=0;t:for(v=0;v<n.length;++v){var x=n[v];if(3===x.length){for(_=0;_<3;++_){y=r[A=x[_]];for(var w=0;w<3;++w)if(isNaN(y[w])||!isFinite(y[w]))continue t}for(_=0;_<3;++_){var A;y=r[A=x[2-_]],o.push(y[0],y[1],y[2],y[3]);var C=i[A];a.push(C[0],C[1],C[2],C[3]||0);var M,E=p;3===E.length?s.push(E[0],E[1],E[2],1):s.push(E[0],E[1],E[2],E[3]),M=f?[(f[A]-d)/(m-d),0]:[(y[2]-d)/(m-d),0],l.push(M[0],M[1]),h.push(v)}b+=1}}this.triangleCount=b,this.trianglePositions.update(o),this.triangleVectors.update(a),this.triangleColors.update(s),this.triangleUVs.update(l),this.triangleIds.update(new Uint32Array(h))}},f.drawTransparent=f.draw=function(t){t=t||{};for(var e=this.gl,n=t.model||h,r=t.view||h,i=t.projection||h,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);var u={model:n,view:r,projection:i,inverseModel:h.slice(),clipBounds:o,kambient:this.ambientLight,kdiffuse:this.diffuseLight,kspecular:this.specularLight,roughness:this.roughness,fresnel:this.fresnel,eyePosition:[0,0,0],lightPosition:[0,0,0],opacity:this.opacity,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,texture:0};u.inverseModel=l(u.inverseModel,u.model),e.disable(e.CULL_FACE),this.texture.bind(0);var c=new Array(16);for(s(c,u.view,u.model),s(c,u.projection,c),l(c,c),a=0;a<3;++a)u.eyePosition[a]=c[12+a]/c[15];var p=c[15];for(a=0;a<3;++a)p+=this.lightPosition[a]*c[4*a+3];for(a=0;a<3;++a){for(var f=c[12+a],d=0;d<3;++d)f+=c[4*d+a]*this.lightPosition[d];u.lightPosition[a]=f/p}if(this.triangleCount>0){var m=this.triShader;m.bind(),m.uniforms=u,this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},f.drawPick=function(t){t=t||{};for(var e=this.gl,n=t.model||h,r=t.view||h,i=t.projection||h,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);this._model=[].slice.call(n),this._view=[].slice.call(r),this._projection=[].slice.call(i),this._resolution=[e.drawingBufferWidth,e.drawingBufferHeight];var s={model:n,view:r,projection:i,clipBounds:o,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},l=this.pickShader;l.bind(),l.uniforms=s,this.triangleCount>0&&(this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},f.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=t.value[0]+256*t.value[1]+65536*t.value[2],n=this.cells[e],r=this.positions[n[1]].slice(0,3),i={position:r,dataCoordinate:r,index:Math.floor(n[1]/48)};return\\\"cone\\\"===this.traceType?i.index=Math.floor(n[1]/48):\\\"streamtube\\\"===this.traceType&&(i.intensity=this.intensity[n[1]],i.velocity=this.vectors[n[1]].slice(0,3),i.divergence=this.vectors[n[1]][3],i.index=e),i},f.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},e.exports=function(t,e,n){var r=n.shaders;1===arguments.length&&(t=(e=t).gl);var s=d(t,r),l=m(t,r),c=a(t,u(new Uint8Array([255,255,255,255]),[1,1,4]));c.generateMipmap(),c.minFilter=t.LINEAR_MIPMAP_LINEAR,c.magFilter=t.LINEAR;var h=i(t),f=i(t),v=i(t),g=i(t),y=i(t),_=new p(t,c,s,l,h,f,y,v,g,o(t,[{buffer:h,type:t.FLOAT,size:4},{buffer:y,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:v,type:t.FLOAT,size:4},{buffer:g,type:t.FLOAT,size:2},{buffer:f,type:t.FLOAT,size:4}]),n.traceType||\\\"cone\\\");return _.update(e),_}},{colormap:128,\\\"gl-buffer\\\":253,\\\"gl-mat4/invert\\\":273,\\\"gl-mat4/multiply\\\":275,\\\"gl-shader\\\":307,\\\"gl-texture2d\\\":322,\\\"gl-vao\\\":327,ndarray:448}],256:[function(t,e,n){var r=t(\\\"glslify\\\"),i=r([\\\"precision highp float;\\\\n\\\\nprecision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvec3 getOrthogonalVector(vec3 v) {\\\\n // Return up-vector for only-z vector.\\\\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\\\\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\\\\n // Assign z = 0, x = -b, y = a:\\\\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\\\\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\\\\n return normalize(vec3(-v.y, v.x, 0.0));\\\\n } else {\\\\n return normalize(vec3(0.0, v.z, -v.y));\\\\n }\\\\n}\\\\n\\\\n// Calculate the cone vertex and normal at the given index.\\\\n//\\\\n// The returned vertex is for a cone with its top at origin and height of 1.0,\\\\n// pointing in the direction of the vector attribute.\\\\n//\\\\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\\\\n// These vertices are used to make up the triangles of the cone by the following:\\\\n// segment + 0 top vertex\\\\n// segment + 1 perimeter vertex a+1\\\\n// segment + 2 perimeter vertex a\\\\n// segment + 3 center base vertex\\\\n// segment + 4 perimeter vertex a\\\\n// segment + 5 perimeter vertex a+1\\\\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\\\\n// To go from index to segment, floor(index / 6)\\\\n// To go from segment to angle, 2*pi * (segment/segmentCount)\\\\n// To go from index to segment index, index - (segment*6)\\\\n//\\\\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\\\\n\\\\n const float segmentCount = 8.0;\\\\n\\\\n float index = rawIndex - floor(rawIndex /\\\\n (segmentCount * 6.0)) *\\\\n (segmentCount * 6.0);\\\\n\\\\n float segment = floor(0.001 + index/6.0);\\\\n float segmentIndex = index - (segment*6.0);\\\\n\\\\n normal = -normalize(d);\\\\n\\\\n if (segmentIndex > 2.99 && segmentIndex < 3.01) {\\\\n return mix(vec3(0.0), -d, coneOffset);\\\\n }\\\\n\\\\n float nextAngle = (\\\\n (segmentIndex > 0.99 && segmentIndex < 1.01) ||\\\\n (segmentIndex > 4.99 && segmentIndex < 5.01)\\\\n ) ? 1.0 : 0.0;\\\\n float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\\\\n\\\\n vec3 v1 = mix(d, vec3(0.0), coneOffset);\\\\n vec3 v2 = v1 - d;\\\\n\\\\n vec3 u = getOrthogonalVector(d);\\\\n vec3 v = normalize(cross(u, d));\\\\n\\\\n vec3 x = u * cos(angle) * length(d)*0.25;\\\\n vec3 y = v * sin(angle) * length(d)*0.25;\\\\n vec3 v3 = v2 + x + y;\\\\n if (segmentIndex < 3.0) {\\\\n vec3 tx = u * sin(angle);\\\\n vec3 ty = v * -cos(angle);\\\\n vec3 tangent = tx + ty;\\\\n normal = normalize(cross(v3 - v1, tangent));\\\\n }\\\\n\\\\n if (segmentIndex == 0.0) {\\\\n return mix(d, vec3(0.0), coneOffset);\\\\n }\\\\n return v3;\\\\n}\\\\n\\\\nattribute vec3 vector;\\\\nattribute vec4 color, position;\\\\nattribute vec2 uv;\\\\n\\\\nuniform float vectorScale, coneScale, coneOffset;\\\\nuniform mat4 model, view, projection, inverseModel;\\\\nuniform vec3 eyePosition, lightPosition;\\\\n\\\\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\\\\nvarying vec4 f_color;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n // Scale the vector magnitude to stay constant with\\\\n // model & view changes.\\\\n vec3 normal;\\\\n vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal);\\\\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\\\\n\\\\n //Lighting geometry parameters\\\\n vec4 cameraCoordinate = view * conePosition;\\\\n cameraCoordinate.xyz /= cameraCoordinate.w;\\\\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\\\\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\\\\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\\\\n\\\\n // vec4 m_position = model * vec4(conePosition, 1.0);\\\\n vec4 t_position = view * conePosition;\\\\n gl_Position = projection * t_position;\\\\n\\\\n f_color = color;\\\\n f_data = conePosition.xyz;\\\\n f_position = position.xyz;\\\\n f_uv = uv;\\\\n}\\\\n\\\"]),o=r([\\\"#extension GL_OES_standard_derivatives : enable\\\\n\\\\nprecision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nfloat beckmannDistribution(float x, float roughness) {\\\\n float NdotH = max(x, 0.0001);\\\\n float cos2Alpha = NdotH * NdotH;\\\\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\\\\n float roughness2 = roughness * roughness;\\\\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\\\\n return exp(tan2Alpha / roughness2) / denom;\\\\n}\\\\n\\\\nfloat cookTorranceSpecular(\\\\n vec3 lightDirection,\\\\n vec3 viewDirection,\\\\n vec3 surfaceNormal,\\\\n float roughness,\\\\n float fresnel) {\\\\n\\\\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\\\\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\\\\n\\\\n //Half angle vector\\\\n vec3 H = normalize(lightDirection + viewDirection);\\\\n\\\\n //Geometric term\\\\n float NdotH = max(dot(surfaceNormal, H), 0.0);\\\\n float VdotH = max(dot(viewDirection, H), 0.000001);\\\\n float LdotH = max(dot(lightDirection, H), 0.000001);\\\\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\\\\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\\\\n float G = min(1.0, min(G1, G2));\\\\n \\\\n //Distribution term\\\\n float D = beckmannDistribution(NdotH, roughness);\\\\n\\\\n //Fresnel term\\\\n float F = pow(1.0 - VdotN, fresnel);\\\\n\\\\n //Multiply terms and done\\\\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\\\\n}\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\\\\nuniform sampler2D texture;\\\\n\\\\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\\\\nvarying vec4 f_color;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\\\\n vec3 N = normalize(f_normal);\\\\n vec3 L = normalize(f_lightDirection);\\\\n vec3 V = normalize(f_eyeDirection);\\\\n\\\\n if(gl_FrontFacing) {\\\\n N = -N;\\\\n }\\\\n\\\\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\\\\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\\\\n\\\\n vec4 surfaceColor = f_color * texture2D(texture, f_uv);\\\\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\\\\n\\\\n gl_FragColor = litColor * opacity;\\\\n}\\\\n\\\"]),a=r([\\\"precision highp float;\\\\n\\\\nprecision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvec3 getOrthogonalVector(vec3 v) {\\\\n // Return up-vector for only-z vector.\\\\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\\\\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\\\\n // Assign z = 0, x = -b, y = a:\\\\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\\\\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\\\\n return normalize(vec3(-v.y, v.x, 0.0));\\\\n } else {\\\\n return normalize(vec3(0.0, v.z, -v.y));\\\\n }\\\\n}\\\\n\\\\n// Calculate the cone vertex and normal at the given index.\\\\n//\\\\n// The returned vertex is for a cone with its top at origin and height of 1.0,\\\\n// pointing in the direction of the vector attribute.\\\\n//\\\\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\\\\n// These vertices are used to make up the triangles of the cone by the following:\\\\n// segment + 0 top vertex\\\\n// segment + 1 perimeter vertex a+1\\\\n// segment + 2 perimeter vertex a\\\\n// segment + 3 center base vertex\\\\n// segment + 4 perimeter vertex a\\\\n// segment + 5 perimeter vertex a+1\\\\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\\\\n// To go from index to segment, floor(index / 6)\\\\n// To go from segment to angle, 2*pi * (segment/segmentCount)\\\\n// To go from index to segment index, index - (segment*6)\\\\n//\\\\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\\\\n\\\\n const float segmentCount = 8.0;\\\\n\\\\n float index = rawIndex - floor(rawIndex /\\\\n (segmentCount * 6.0)) *\\\\n (segmentCount * 6.0);\\\\n\\\\n float segment = floor(0.001 + index/6.0);\\\\n float segmentIndex = index - (segment*6.0);\\\\n\\\\n normal = -normalize(d);\\\\n\\\\n if (segmentIndex > 2.99 && segmentIndex < 3.01) {\\\\n return mix(vec3(0.0), -d, coneOffset);\\\\n }\\\\n\\\\n float nextAngle = (\\\\n (segmentIndex > 0.99 && segmentIndex < 1.01) ||\\\\n (segmentIndex > 4.99 && segmentIndex < 5.01)\\\\n ) ? 1.0 : 0.0;\\\\n float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\\\\n\\\\n vec3 v1 = mix(d, vec3(0.0), coneOffset);\\\\n vec3 v2 = v1 - d;\\\\n\\\\n vec3 u = getOrthogonalVector(d);\\\\n vec3 v = normalize(cross(u, d));\\\\n\\\\n vec3 x = u * cos(angle) * length(d)*0.25;\\\\n vec3 y = v * sin(angle) * length(d)*0.25;\\\\n vec3 v3 = v2 + x + y;\\\\n if (segmentIndex < 3.0) {\\\\n vec3 tx = u * sin(angle);\\\\n vec3 ty = v * -cos(angle);\\\\n vec3 tangent = tx + ty;\\\\n normal = normalize(cross(v3 - v1, tangent));\\\\n }\\\\n\\\\n if (segmentIndex == 0.0) {\\\\n return mix(d, vec3(0.0), coneOffset);\\\\n }\\\\n return v3;\\\\n}\\\\n\\\\nattribute vec4 vector;\\\\nattribute vec4 position;\\\\nattribute vec4 id;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform float vectorScale, coneScale, coneOffset;\\\\n\\\\nvarying vec3 f_position;\\\\nvarying vec4 f_id;\\\\n\\\\nvoid main() {\\\\n vec3 normal;\\\\n vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal);\\\\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\\\\n gl_Position = projection * view * conePosition;\\\\n f_id = id;\\\\n f_position = position.xyz;\\\\n}\\\\n\\\"]),s=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform float pickId;\\\\n\\\\nvarying vec3 f_position;\\\\nvarying vec4 f_id;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\\\\n\\\\n gl_FragColor = vec4(pickId, f_id.xyz);\\\\n}\\\"]);n.meshShader={vertex:i,fragment:o,attributes:[{name:\\\"position\\\",type:\\\"vec4\\\"},{name:\\\"color\\\",type:\\\"vec4\\\"},{name:\\\"uv\\\",type:\\\"vec2\\\"},{name:\\\"vector\\\",type:\\\"vec3\\\"}]},n.pickShader={vertex:a,fragment:s,attributes:[{name:\\\"position\\\",type:\\\"vec4\\\"},{name:\\\"id\\\",type:\\\"vec4\\\"},{name:\\\"vector\\\",type:\\\"vec3\\\"}]}},{glslify:408}],257:[function(t,e,n){e.exports={0:\\\"NONE\\\",1:\\\"ONE\\\",2:\\\"LINE_LOOP\\\",3:\\\"LINE_STRIP\\\",4:\\\"TRIANGLES\\\",5:\\\"TRIANGLE_STRIP\\\",6:\\\"TRIANGLE_FAN\\\",256:\\\"DEPTH_BUFFER_BIT\\\",512:\\\"NEVER\\\",513:\\\"LESS\\\",514:\\\"EQUAL\\\",515:\\\"LEQUAL\\\",516:\\\"GREATER\\\",517:\\\"NOTEQUAL\\\",518:\\\"GEQUAL\\\",519:\\\"ALWAYS\\\",768:\\\"SRC_COLOR\\\",769:\\\"ONE_MINUS_SRC_COLOR\\\",770:\\\"SRC_ALPHA\\\",771:\\\"ONE_MINUS_SRC_ALPHA\\\",772:\\\"DST_ALPHA\\\",773:\\\"ONE_MINUS_DST_ALPHA\\\",774:\\\"DST_COLOR\\\",775:\\\"ONE_MINUS_DST_COLOR\\\",776:\\\"SRC_ALPHA_SATURATE\\\",1024:\\\"STENCIL_BUFFER_BIT\\\",1028:\\\"FRONT\\\",1029:\\\"BACK\\\",1032:\\\"FRONT_AND_BACK\\\",1280:\\\"INVALID_ENUM\\\",1281:\\\"INVALID_VALUE\\\",1282:\\\"INVALID_OPERATION\\\",1285:\\\"OUT_OF_MEMORY\\\",1286:\\\"INVALID_FRAMEBUFFER_OPERATION\\\",2304:\\\"CW\\\",2305:\\\"CCW\\\",2849:\\\"LINE_WIDTH\\\",2884:\\\"CULL_FACE\\\",2885:\\\"CULL_FACE_MODE\\\",2886:\\\"FRONT_FACE\\\",2928:\\\"DEPTH_RANGE\\\",2929:\\\"DEPTH_TEST\\\",2930:\\\"DEPTH_WRITEMASK\\\",2931:\\\"DEPTH_CLEAR_VALUE\\\",2932:\\\"DEPTH_FUNC\\\",2960:\\\"STENCIL_TEST\\\",2961:\\\"STENCIL_CLEAR_VALUE\\\",2962:\\\"STENCIL_FUNC\\\",2963:\\\"STENCIL_VALUE_MASK\\\",2964:\\\"STENCIL_FAIL\\\",2965:\\\"STENCIL_PASS_DEPTH_FAIL\\\",2966:\\\"STENCIL_PASS_DEPTH_PASS\\\",2967:\\\"STENCIL_REF\\\",2968:\\\"STENCIL_WRITEMASK\\\",2978:\\\"VIEWPORT\\\",3024:\\\"DITHER\\\",3042:\\\"BLEND\\\",3088:\\\"SCISSOR_BOX\\\",3089:\\\"SCISSOR_TEST\\\",3106:\\\"COLOR_CLEAR_VALUE\\\",3107:\\\"COLOR_WRITEMASK\\\",3317:\\\"UNPACK_ALIGNMENT\\\",3333:\\\"PACK_ALIGNMENT\\\",3379:\\\"MAX_TEXTURE_SIZE\\\",3386:\\\"MAX_VIEWPORT_DIMS\\\",3408:\\\"SUBPIXEL_BITS\\\",3410:\\\"RED_BITS\\\",3411:\\\"GREEN_BITS\\\",3412:\\\"BLUE_BITS\\\",3413:\\\"ALPHA_BITS\\\",3414:\\\"DEPTH_BITS\\\",3415:\\\"STENCIL_BITS\\\",3553:\\\"TEXTURE_2D\\\",4352:\\\"DONT_CARE\\\",4353:\\\"FASTEST\\\",4354:\\\"NICEST\\\",5120:\\\"BYTE\\\",5121:\\\"UNSIGNED_BYTE\\\",5122:\\\"SHORT\\\",5123:\\\"UNSIGNED_SHORT\\\",5124:\\\"INT\\\",5125:\\\"UNSIGNED_INT\\\",5126:\\\"FLOAT\\\",5386:\\\"INVERT\\\",5890:\\\"TEXTURE\\\",6401:\\\"STENCIL_INDEX\\\",6402:\\\"DEPTH_COMPONENT\\\",6406:\\\"ALPHA\\\",6407:\\\"RGB\\\",6408:\\\"RGBA\\\",6409:\\\"LUMINANCE\\\",6410:\\\"LUMINANCE_ALPHA\\\",7680:\\\"KEEP\\\",7681:\\\"REPLACE\\\",7682:\\\"INCR\\\",7683:\\\"DECR\\\",7936:\\\"VENDOR\\\",7937:\\\"RENDERER\\\",7938:\\\"VERSION\\\",9728:\\\"NEAREST\\\",9729:\\\"LINEAR\\\",9984:\\\"NEAREST_MIPMAP_NEAREST\\\",9985:\\\"LINEAR_MIPMAP_NEAREST\\\",9986:\\\"NEAREST_MIPMAP_LINEAR\\\",9987:\\\"LINEAR_MIPMAP_LINEAR\\\",10240:\\\"TEXTURE_MAG_FILTER\\\",10241:\\\"TEXTURE_MIN_FILTER\\\",10242:\\\"TEXTURE_WRAP_S\\\",10243:\\\"TEXTURE_WRAP_T\\\",10497:\\\"REPEAT\\\",10752:\\\"POLYGON_OFFSET_UNITS\\\",16384:\\\"COLOR_BUFFER_BIT\\\",32769:\\\"CONSTANT_COLOR\\\",32770:\\\"ONE_MINUS_CONSTANT_COLOR\\\",32771:\\\"CONSTANT_ALPHA\\\",32772:\\\"ONE_MINUS_CONSTANT_ALPHA\\\",32773:\\\"BLEND_COLOR\\\",32774:\\\"FUNC_ADD\\\",32777:\\\"BLEND_EQUATION_RGB\\\",32778:\\\"FUNC_SUBTRACT\\\",32779:\\\"FUNC_REVERSE_SUBTRACT\\\",32819:\\\"UNSIGNED_SHORT_4_4_4_4\\\",32820:\\\"UNSIGNED_SHORT_5_5_5_1\\\",32823:\\\"POLYGON_OFFSET_FILL\\\",32824:\\\"POLYGON_OFFSET_FACTOR\\\",32854:\\\"RGBA4\\\",32855:\\\"RGB5_A1\\\",32873:\\\"TEXTURE_BINDING_2D\\\",32926:\\\"SAMPLE_ALPHA_TO_COVERAGE\\\",32928:\\\"SAMPLE_COVERAGE\\\",32936:\\\"SAMPLE_BUFFERS\\\",32937:\\\"SAMPLES\\\",32938:\\\"SAMPLE_COVERAGE_VALUE\\\",32939:\\\"SAMPLE_COVERAGE_INVERT\\\",32968:\\\"BLEND_DST_RGB\\\",32969:\\\"BLEND_SRC_RGB\\\",32970:\\\"BLEND_DST_ALPHA\\\",32971:\\\"BLEND_SRC_ALPHA\\\",33071:\\\"CLAMP_TO_EDGE\\\",33170:\\\"GENERATE_MIPMAP_HINT\\\",33189:\\\"DEPTH_COMPONENT16\\\",33306:\\\"DEPTH_STENCIL_ATTACHMENT\\\",33635:\\\"UNSIGNED_SHORT_5_6_5\\\",33648:\\\"MIRRORED_REPEAT\\\",33901:\\\"ALIASED_POINT_SIZE_RANGE\\\",33902:\\\"ALIASED_LINE_WIDTH_RANGE\\\",33984:\\\"TEXTURE0\\\",33985:\\\"TEXTURE1\\\",33986:\\\"TEXTURE2\\\",33987:\\\"TEXTURE3\\\",33988:\\\"TEXTURE4\\\",33989:\\\"TEXTURE5\\\",33990:\\\"TEXTURE6\\\",33991:\\\"TEXTURE7\\\",33992:\\\"TEXTURE8\\\",33993:\\\"TEXTURE9\\\",33994:\\\"TEXTURE10\\\",33995:\\\"TEXTURE11\\\",33996:\\\"TEXTURE12\\\",33997:\\\"TEXTURE13\\\",33998:\\\"TEXTURE14\\\",33999:\\\"TEXTURE15\\\",34e3:\\\"TEXTURE16\\\",34001:\\\"TEXTURE17\\\",34002:\\\"TEXTURE18\\\",34003:\\\"TEXTURE19\\\",34004:\\\"TEXTURE20\\\",34005:\\\"TEXTURE21\\\",34006:\\\"TEXTURE22\\\",34007:\\\"TEXTURE23\\\",34008:\\\"TEXTURE24\\\",34009:\\\"TEXTURE25\\\",34010:\\\"TEXTURE26\\\",34011:\\\"TEXTURE27\\\",34012:\\\"TEXTURE28\\\",34013:\\\"TEXTURE29\\\",34014:\\\"TEXTURE30\\\",34015:\\\"TEXTURE31\\\",34016:\\\"ACTIVE_TEXTURE\\\",34024:\\\"MAX_RENDERBUFFER_SIZE\\\",34041:\\\"DEPTH_STENCIL\\\",34055:\\\"INCR_WRAP\\\",34056:\\\"DECR_WRAP\\\",34067:\\\"TEXTURE_CUBE_MAP\\\",34068:\\\"TEXTURE_BINDING_CUBE_MAP\\\",34069:\\\"TEXTURE_CUBE_MAP_POSITIVE_X\\\",34070:\\\"TEXTURE_CUBE_MAP_NEGATIVE_X\\\",34071:\\\"TEXTURE_CUBE_MAP_POSITIVE_Y\\\",34072:\\\"TEXTURE_CUBE_MAP_NEGATIVE_Y\\\",34073:\\\"TEXTURE_CUBE_MAP_POSITIVE_Z\\\",34074:\\\"TEXTURE_CUBE_MAP_NEGATIVE_Z\\\",34076:\\\"MAX_CUBE_MAP_TEXTURE_SIZE\\\",34338:\\\"VERTEX_ATTRIB_ARRAY_ENABLED\\\",34339:\\\"VERTEX_ATTRIB_ARRAY_SIZE\\\",34340:\\\"VERTEX_ATTRIB_ARRAY_STRIDE\\\",34341:\\\"VERTEX_ATTRIB_ARRAY_TYPE\\\",34342:\\\"CURRENT_VERTEX_ATTRIB\\\",34373:\\\"VERTEX_ATTRIB_ARRAY_POINTER\\\",34466:\\\"NUM_COMPRESSED_TEXTURE_FORMATS\\\",34467:\\\"COMPRESSED_TEXTURE_FORMATS\\\",34660:\\\"BUFFER_SIZE\\\",34661:\\\"BUFFER_USAGE\\\",34816:\\\"STENCIL_BACK_FUNC\\\",34817:\\\"STENCIL_BACK_FAIL\\\",34818:\\\"STENCIL_BACK_PASS_DEPTH_FAIL\\\",34819:\\\"STENCIL_BACK_PASS_DEPTH_PASS\\\",34877:\\\"BLEND_EQUATION_ALPHA\\\",34921:\\\"MAX_VERTEX_ATTRIBS\\\",34922:\\\"VERTEX_ATTRIB_ARRAY_NORMALIZED\\\",34930:\\\"MAX_TEXTURE_IMAGE_UNITS\\\",34962:\\\"ARRAY_BUFFER\\\",34963:\\\"ELEMENT_ARRAY_BUFFER\\\",34964:\\\"ARRAY_BUFFER_BINDING\\\",34965:\\\"ELEMENT_ARRAY_BUFFER_BINDING\\\",34975:\\\"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING\\\",35040:\\\"STREAM_DRAW\\\",35044:\\\"STATIC_DRAW\\\",35048:\\\"DYNAMIC_DRAW\\\",35632:\\\"FRAGMENT_SHADER\\\",35633:\\\"VERTEX_SHADER\\\",35660:\\\"MAX_VERTEX_TEXTURE_IMAGE_UNITS\\\",35661:\\\"MAX_COMBINED_TEXTURE_IMAGE_UNITS\\\",35663:\\\"SHADER_TYPE\\\",35664:\\\"FLOAT_VEC2\\\",35665:\\\"FLOAT_VEC3\\\",35666:\\\"FLOAT_VEC4\\\",35667:\\\"INT_VEC2\\\",35668:\\\"INT_VEC3\\\",35669:\\\"INT_VEC4\\\",35670:\\\"BOOL\\\",35671:\\\"BOOL_VEC2\\\",35672:\\\"BOOL_VEC3\\\",35673:\\\"BOOL_VEC4\\\",35674:\\\"FLOAT_MAT2\\\",35675:\\\"FLOAT_MAT3\\\",35676:\\\"FLOAT_MAT4\\\",35678:\\\"SAMPLER_2D\\\",35680:\\\"SAMPLER_CUBE\\\",35712:\\\"DELETE_STATUS\\\",35713:\\\"COMPILE_STATUS\\\",35714:\\\"LINK_STATUS\\\",35715:\\\"VALIDATE_STATUS\\\",35716:\\\"INFO_LOG_LENGTH\\\",35717:\\\"ATTACHED_SHADERS\\\",35718:\\\"ACTIVE_UNIFORMS\\\",35719:\\\"ACTIVE_UNIFORM_MAX_LENGTH\\\",35720:\\\"SHADER_SOURCE_LENGTH\\\",35721:\\\"ACTIVE_ATTRIBUTES\\\",35722:\\\"ACTIVE_ATTRIBUTE_MAX_LENGTH\\\",35724:\\\"SHADING_LANGUAGE_VERSION\\\",35725:\\\"CURRENT_PROGRAM\\\",36003:\\\"STENCIL_BACK_REF\\\",36004:\\\"STENCIL_BACK_VALUE_MASK\\\",36005:\\\"STENCIL_BACK_WRITEMASK\\\",36006:\\\"FRAMEBUFFER_BINDING\\\",36007:\\\"RENDERBUFFER_BINDING\\\",36048:\\\"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE\\\",36049:\\\"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME\\\",36050:\\\"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL\\\",36051:\\\"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE\\\",36053:\\\"FRAMEBUFFER_COMPLETE\\\",36054:\\\"FRAMEBUFFER_INCOMPLETE_ATTACHMENT\\\",36055:\\\"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT\\\",36057:\\\"FRAMEBUFFER_INCOMPLETE_DIMENSIONS\\\",36061:\\\"FRAMEBUFFER_UNSUPPORTED\\\",36064:\\\"COLOR_ATTACHMENT0\\\",36096:\\\"DEPTH_ATTACHMENT\\\",36128:\\\"STENCIL_ATTACHMENT\\\",36160:\\\"FRAMEBUFFER\\\",36161:\\\"RENDERBUFFER\\\",36162:\\\"RENDERBUFFER_WIDTH\\\",36163:\\\"RENDERBUFFER_HEIGHT\\\",36164:\\\"RENDERBUFFER_INTERNAL_FORMAT\\\",36168:\\\"STENCIL_INDEX8\\\",36176:\\\"RENDERBUFFER_RED_SIZE\\\",36177:\\\"RENDERBUFFER_GREEN_SIZE\\\",36178:\\\"RENDERBUFFER_BLUE_SIZE\\\",36179:\\\"RENDERBUFFER_ALPHA_SIZE\\\",36180:\\\"RENDERBUFFER_DEPTH_SIZE\\\",36181:\\\"RENDERBUFFER_STENCIL_SIZE\\\",36194:\\\"RGB565\\\",36336:\\\"LOW_FLOAT\\\",36337:\\\"MEDIUM_FLOAT\\\",36338:\\\"HIGH_FLOAT\\\",36339:\\\"LOW_INT\\\",36340:\\\"MEDIUM_INT\\\",36341:\\\"HIGH_INT\\\",36346:\\\"SHADER_COMPILER\\\",36347:\\\"MAX_VERTEX_UNIFORM_VECTORS\\\",36348:\\\"MAX_VARYING_VECTORS\\\",36349:\\\"MAX_FRAGMENT_UNIFORM_VECTORS\\\",37440:\\\"UNPACK_FLIP_Y_WEBGL\\\",37441:\\\"UNPACK_PREMULTIPLY_ALPHA_WEBGL\\\",37442:\\\"CONTEXT_LOST_WEBGL\\\",37443:\\\"UNPACK_COLORSPACE_CONVERSION_WEBGL\\\",37444:\\\"BROWSER_DEFAULT_WEBGL\\\"}},{}],258:[function(t,e,n){var r=t(\\\"./1.0/numbers\\\");e.exports=function(t){return r[t]}},{\\\"./1.0/numbers\\\":257}],259:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.gl,n=r(e),a=i(e,[{buffer:n,type:e.FLOAT,size:3,offset:0,stride:40},{buffer:n,type:e.FLOAT,size:4,offset:12,stride:40},{buffer:n,type:e.FLOAT,size:3,offset:28,stride:40}]),l=o(e);l.attributes.position.location=0,l.attributes.color.location=1,l.attributes.offset.location=2;var u=new s(e,n,a,l);return u.update(t),u};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-vao\\\"),o=t(\\\"./shaders/index\\\"),a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(t,e,n,r){this.gl=t,this.shader=r,this.buffer=e,this.vao=n,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var l=s.prototype;function u(t,e){for(var n=0;n<3;++n)t[0][n]=Math.min(t[0][n],e[n]),t[1][n]=Math.max(t[1][n],e[n])}l.isOpaque=function(){return!this.hasAlpha},l.isTransparent=function(){return this.hasAlpha},l.drawTransparent=l.draw=function(t){var e=this.gl,n=this.shader.uniforms;this.shader.bind();var r=n.view=t.view||a,i=n.projection=t.projection||a;n.model=t.model||a,n.clipBounds=this.clipBounds,n.opacity=this.opacity;var o=r[12],s=r[13],l=r[14],u=r[15],c=(t._ortho?2:1)*this.pixelRatio*(i[3]*o+i[7]*s+i[11]*l+i[15]*u)/e.drawingBufferHeight;this.vao.bind();for(var h=0;h<3;++h)e.lineWidth(this.lineWidth[h]*this.pixelRatio),n.capSize=this.capSize[h]*c,this.lineCount[h]&&e.drawArrays(e.LINES,this.lineOffset[h],this.lineCount[h]);this.vao.unbind()};var c=function(){for(var t=new Array(3),e=0;e<3;++e){for(var n=[],r=1;r<=2;++r)for(var i=-1;i<=1;i+=2){var o=[0,0,0];o[(r+e)%3]=i,n.push(o)}t[e]=n}return t}();function h(t,e,n,r){for(var i=c[r],o=0;o<i.length;++o){var a=i[o];t.push(e[0],e[1],e[2],n[0],n[1],n[2],n[3],a[0],a[1],a[2])}return i.length}l.update=function(t){\\\"lineWidth\\\"in(t=t||{})&&(this.lineWidth=t.lineWidth,Array.isArray(this.lineWidth)||(this.lineWidth=[this.lineWidth,this.lineWidth,this.lineWidth])),\\\"capSize\\\"in t&&(this.capSize=t.capSize,Array.isArray(this.capSize)||(this.capSize=[this.capSize,this.capSize,this.capSize])),this.hasAlpha=!1,\\\"opacity\\\"in t&&(this.opacity=+t.opacity,this.opacity<1&&(this.hasAlpha=!0));var e=t.color||[[0,0,0],[0,0,0],[0,0,0]],n=t.position,r=t.error;if(Array.isArray(e[0])||(e=[e,e,e]),n&&r){var i=[],o=n.length,a=0;this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.lineCount=[0,0,0];for(var s=0;s<3;++s){this.lineOffset[s]=a;t:for(var l=0;l<o;++l){for(var c=n[l],p=0;p<3;++p)if(isNaN(c[p])||!isFinite(c[p]))continue t;var f,d=r[l],m=e[s];Array.isArray(m[0])&&(m=e[l]),3===m.length?m=[m[0],m[1],m[2],1]:4===m.length&&(m=[m[0],m[1],m[2],m[3]],!this.hasAlpha&&m[3]<1&&(this.hasAlpha=!0)),isNaN(d[0][s])||isNaN(d[1][s])||(d[0][s]<0&&((f=c.slice())[s]+=d[0][s],i.push(c[0],c[1],c[2],m[0],m[1],m[2],m[3],0,0,0,f[0],f[1],f[2],m[0],m[1],m[2],m[3],0,0,0),u(this.bounds,f),a+=2+h(i,f,m,s)),d[1][s]>0&&((f=c.slice())[s]+=d[1][s],i.push(c[0],c[1],c[2],m[0],m[1],m[2],m[3],0,0,0,f[0],f[1],f[2],m[0],m[1],m[2],m[3],0,0,0),u(this.bounds,f),a+=2+h(i,f,m,s)))}this.lineCount[s]=a-this.lineOffset[s]}this.buffer.update(i)}},l.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},{\\\"./shaders/index\\\":260,\\\"gl-buffer\\\":253,\\\"gl-vao\\\":327}],260:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"glslify\\\"),i=t(\\\"gl-shader\\\"),o=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position, offset;\\\\nattribute vec4 color;\\\\nuniform mat4 model, view, projection;\\\\nuniform float capSize;\\\\nvarying vec4 fragColor;\\\\nvarying vec3 fragPosition;\\\\n\\\\nvoid main() {\\\\n vec4 worldPosition = model * vec4(position, 1.0);\\\\n worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0);\\\\n gl_Position = projection * view * worldPosition;\\\\n fragColor = color;\\\\n fragPosition = position;\\\\n}\\\"]),a=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform float opacity;\\\\nvarying vec3 fragPosition;\\\\nvarying vec4 fragColor;\\\\n\\\\nvoid main() {\\\\n if (\\\\n outOfRange(clipBounds[0], clipBounds[1], fragPosition) ||\\\\n fragColor.a * opacity == 0.\\\\n ) discard;\\\\n\\\\n gl_FragColor = opacity * fragColor;\\\\n}\\\"]);e.exports=function(t){return i(t,o,a,null,[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"color\\\",type:\\\"vec4\\\"},{name:\\\"offset\\\",type:\\\"vec3\\\"}])}},{\\\"gl-shader\\\":307,glslify:408}],261:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-texture2d\\\");e.exports=function(t,e,n,r){i||(i=t.FRAMEBUFFER_UNSUPPORTED,o=t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,a=t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,s=t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var u=t.getExtension(\\\"WEBGL_draw_buffers\\\");if(!l&&u&&function(t,e){var n=t.getParameter(e.MAX_COLOR_ATTACHMENTS_WEBGL);l=new Array(n+1);for(var r=0;r<=n;++r){for(var i=new Array(n),o=0;o<r;++o)i[o]=t.COLOR_ATTACHMENT0+o;for(o=r;o<n;++o)i[o]=t.NONE;l[r]=i}}(t,u),Array.isArray(e)&&(r=n,n=0|e[1],e=0|e[0]),\\\"number\\\"!=typeof e)throw new Error(\\\"gl-fbo: Missing shape parameter\\\");var c=t.getParameter(t.MAX_RENDERBUFFER_SIZE);if(e<0||e>c||n<0||n>c)throw new Error(\\\"gl-fbo: Parameters are too large for FBO\\\");var h=1;if(\\\"color\\\"in(r=r||{})){if((h=Math.max(0|r.color,0))<0)throw new Error(\\\"gl-fbo: Must specify a nonnegative number of colors\\\");if(h>1){if(!u)throw new Error(\\\"gl-fbo: Multiple draw buffer extension not supported\\\");if(h>t.getParameter(u.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error(\\\"gl-fbo: Context does not support \\\"+h+\\\" draw buffers\\\")}}var p=t.UNSIGNED_BYTE,f=t.getExtension(\\\"OES_texture_float\\\");if(r.float&&h>0){if(!f)throw new Error(\\\"gl-fbo: Context does not support floating point textures\\\");p=t.FLOAT}else r.preferFloat&&h>0&&f&&(p=t.FLOAT);var m=!0;\\\"depth\\\"in r&&(m=!!r.depth);var v=!1;return\\\"stencil\\\"in r&&(v=!!r.stencil),new d(t,e,n,p,h,m,v,u)};var i,o,a,s,l=null;function u(t){return[t.getParameter(t.FRAMEBUFFER_BINDING),t.getParameter(t.RENDERBUFFER_BINDING),t.getParameter(t.TEXTURE_BINDING_2D)]}function c(t,e){t.bindFramebuffer(t.FRAMEBUFFER,e[0]),t.bindRenderbuffer(t.RENDERBUFFER,e[1]),t.bindTexture(t.TEXTURE_2D,e[2])}function h(t){switch(t){case i:throw new Error(\\\"gl-fbo: Framebuffer unsupported\\\");case o:throw new Error(\\\"gl-fbo: Framebuffer incomplete attachment\\\");case a:throw new Error(\\\"gl-fbo: Framebuffer incomplete dimensions\\\");case s:throw new Error(\\\"gl-fbo: Framebuffer incomplete missing attachment\\\");default:throw new Error(\\\"gl-fbo: Framebuffer failed for unspecified reason\\\")}}function p(t,e,n,i,o,a){if(!i)return null;var s=r(t,e,n,o,i);return s.magFilter=t.NEAREST,s.minFilter=t.NEAREST,s.mipSamples=1,s.bind(),t.framebufferTexture2D(t.FRAMEBUFFER,a,t.TEXTURE_2D,s.handle,0),s}function f(t,e,n,r,i){var o=t.createRenderbuffer();return t.bindRenderbuffer(t.RENDERBUFFER,o),t.renderbufferStorage(t.RENDERBUFFER,r,e,n),t.framebufferRenderbuffer(t.FRAMEBUFFER,i,t.RENDERBUFFER,o),o}function d(t,e,n,r,i,o,a,s){this.gl=t,this._shape=[0|e,0|n],this._destroyed=!1,this._ext=s,this.color=new Array(i);for(var d=0;d<i;++d)this.color[d]=null;this._color_rb=null,this.depth=null,this._depth_rb=null,this._colorType=r,this._useDepth=o,this._useStencil=a;var m=this,v=[0|e,0|n];Object.defineProperties(v,{0:{get:function(){return m._shape[0]},set:function(t){return m.width=t}},1:{get:function(){return m._shape[1]},set:function(t){return m.height=t}}}),this._shapeVector=v,function(t){var e=u(t.gl),n=t.gl,r=t.handle=n.createFramebuffer(),i=t._shape[0],o=t._shape[1],a=t.color.length,s=t._ext,d=t._useStencil,m=t._useDepth,v=t._colorType;n.bindFramebuffer(n.FRAMEBUFFER,r);for(var g=0;g<a;++g)t.color[g]=p(n,i,o,v,n.RGBA,n.COLOR_ATTACHMENT0+g);0===a?(t._color_rb=f(n,i,o,n.RGBA4,n.COLOR_ATTACHMENT0),s&&s.drawBuffersWEBGL(l[0])):a>1&&s.drawBuffersWEBGL(l[a]);var y=n.getExtension(\\\"WEBGL_depth_texture\\\");y?d?t.depth=p(n,i,o,y.UNSIGNED_INT_24_8_WEBGL,n.DEPTH_STENCIL,n.DEPTH_STENCIL_ATTACHMENT):m&&(t.depth=p(n,i,o,n.UNSIGNED_SHORT,n.DEPTH_COMPONENT,n.DEPTH_ATTACHMENT)):m&&d?t._depth_rb=f(n,i,o,n.DEPTH_STENCIL,n.DEPTH_STENCIL_ATTACHMENT):m?t._depth_rb=f(n,i,o,n.DEPTH_COMPONENT16,n.DEPTH_ATTACHMENT):d&&(t._depth_rb=f(n,i,o,n.STENCIL_INDEX,n.STENCIL_ATTACHMENT));var _=n.checkFramebufferStatus(n.FRAMEBUFFER);if(_!==n.FRAMEBUFFER_COMPLETE){for(t._destroyed=!0,n.bindFramebuffer(n.FRAMEBUFFER,null),n.deleteFramebuffer(t.handle),t.handle=null,t.depth&&(t.depth.dispose(),t.depth=null),t._depth_rb&&(n.deleteRenderbuffer(t._depth_rb),t._depth_rb=null),g=0;g<t.color.length;++g)t.color[g].dispose(),t.color[g]=null;t._color_rb&&(n.deleteRenderbuffer(t._color_rb),t._color_rb=null),c(n,e),h(_)}c(n,e)}(this)}var m=d.prototype;function v(t,e,n){if(t._destroyed)throw new Error(\\\"gl-fbo: Can't resize destroyed FBO\\\");if(t._shape[0]!==e||t._shape[1]!==n){var r=t.gl,i=r.getParameter(r.MAX_RENDERBUFFER_SIZE);if(e<0||e>i||n<0||n>i)throw new Error(\\\"gl-fbo: Can't resize FBO, invalid dimensions\\\");t._shape[0]=e,t._shape[1]=n;for(var o=u(r),a=0;a<t.color.length;++a)t.color[a].shape=t._shape;t._color_rb&&(r.bindRenderbuffer(r.RENDERBUFFER,t._color_rb),r.renderbufferStorage(r.RENDERBUFFER,r.RGBA4,t._shape[0],t._shape[1])),t.depth&&(t.depth.shape=t._shape),t._depth_rb&&(r.bindRenderbuffer(r.RENDERBUFFER,t._depth_rb),t._useDepth&&t._useStencil?r.renderbufferStorage(r.RENDERBUFFER,r.DEPTH_STENCIL,t._shape[0],t._shape[1]):t._useDepth?r.renderbufferStorage(r.RENDERBUFFER,r.DEPTH_COMPONENT16,t._shape[0],t._shape[1]):t._useStencil&&r.renderbufferStorage(r.RENDERBUFFER,r.STENCIL_INDEX,t._shape[0],t._shape[1])),r.bindFramebuffer(r.FRAMEBUFFER,t.handle);var s=r.checkFramebufferStatus(r.FRAMEBUFFER);s!==r.FRAMEBUFFER_COMPLETE&&(t.dispose(),c(r,o),h(s)),c(r,o)}}Object.defineProperties(m,{shape:{get:function(){return this._destroyed?[0,0]:this._shapeVector},set:function(t){if(Array.isArray(t)||(t=[0|t,0|t]),2!==t.length)throw new Error(\\\"gl-fbo: Shape vector must be length 2\\\");var e=0|t[0],n=0|t[1];return v(this,e,n),[e,n]},enumerable:!1},width:{get:function(){return this._destroyed?0:this._shape[0]},set:function(t){return v(this,t|=0,this._shape[1]),t},enumerable:!1},height:{get:function(){return this._destroyed?0:this._shape[1]},set:function(t){return t|=0,v(this,this._shape[0],t),t},enumerable:!1}}),m.bind=function(){if(!this._destroyed){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,this.handle),t.viewport(0,0,this._shape[0],this._shape[1])}},m.dispose=function(){if(!this._destroyed){this._destroyed=!0;var t=this.gl;t.deleteFramebuffer(this.handle),this.handle=null,this.depth&&(this.depth.dispose(),this.depth=null),this._depth_rb&&(t.deleteRenderbuffer(this._depth_rb),this._depth_rb=null);for(var e=0;e<this.color.length;++e)this.color[e].dispose(),this.color[e]=null;this._color_rb&&(t.deleteRenderbuffer(this._color_rb),this._color_rb=null)}}},{\\\"gl-texture2d\\\":322}],262:[function(t,e,n){var r=t(\\\"sprintf-js\\\").sprintf,i=t(\\\"gl-constants/lookup\\\"),o=t(\\\"glsl-shader-name\\\"),a=t(\\\"add-line-numbers\\\");e.exports=function(t,e,n){\\\"use strict\\\";var s=o(e)||\\\"of unknown name (see npm glsl-shader-name)\\\",l=\\\"unknown type\\\";void 0!==n&&(l=n===i.FRAGMENT_SHADER?\\\"fragment\\\":\\\"vertex\\\");for(var u=r(\\\"Error compiling %s shader %s:\\\\n\\\",l,s),c=r(\\\"%s%s\\\",u,t),h=t.split(\\\"\\\\n\\\"),p={},f=0;f<h.length;f++){var d=h[f];if(\\\"\\\"!==d&&\\\"\\\\0\\\"!==d){var m=parseInt(d.split(\\\":\\\")[2]);if(isNaN(m))throw new Error(r(\\\"Could not parse error: %s\\\",d));p[m]=d}}var v=a(e).split(\\\"\\\\n\\\");for(f=0;f<v.length;f++)if((p[f+3]||p[f+2]||p[f+1])&&(u+=v[f]+\\\"\\\\n\\\",p[f+1])){var g=p[f+1];g=g.substr(g.split(\\\":\\\",3).join(\\\":\\\").length+1).trim(),u+=r(\\\"^^^ %s\\\\n\\\\n\\\",g)}return{long:u.trim(),short:c.trim()}}},{\\\"add-line-numbers\\\":64,\\\"gl-constants/lookup\\\":258,\\\"glsl-shader-name\\\":400,\\\"sprintf-js\\\":519}],263:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=t.gl,r=new u(t,a(n,l.vertex,l.fragment),a(n,l.pickVertex,l.pickFragment),s(n),s(n),s(n),s(n));return r.update(e),t.addObject(r),r};var r=t(\\\"binary-search-bounds\\\"),i=t(\\\"iota-array\\\"),o=t(\\\"typedarray-pool\\\"),a=t(\\\"gl-shader\\\"),s=t(\\\"gl-buffer\\\"),l=t(\\\"./lib/shaders\\\");function u(t,e,n,r,i,o,a){this.plot=t,this.shader=e,this.pickShader=n,this.positionBuffer=r,this.weightBuffer=i,this.colorBuffer=o,this.idBuffer=a,this.xData=[],this.yData=[],this.shape=[0,0],this.bounds=[1/0,1/0,-1/0,-1/0],this.pickOffset=0}var c,h=u.prototype,p=[0,0,1,0,0,1,1,0,1,1,0,1];h.draw=(c=[1,0,0,0,1,0,0,0,1],function(){var t=this.plot,e=this.shader,n=this.bounds,r=this.numVertices;if(!(r<=0)){var i=t.gl,o=t.dataBox,a=n[2]-n[0],s=n[3]-n[1],l=o[2]-o[0],u=o[3]-o[1];c[0]=2*a/l,c[4]=2*s/u,c[6]=2*(n[0]-o[0])/l-1,c[7]=2*(n[1]-o[1])/u-1,e.bind();var h=e.uniforms;h.viewTransform=c,h.shape=this.shape;var p=e.attributes;this.positionBuffer.bind(),p.position.pointer(),this.weightBuffer.bind(),p.weight.pointer(i.UNSIGNED_BYTE,!1),this.colorBuffer.bind(),p.color.pointer(i.UNSIGNED_BYTE,!0),i.drawArrays(i.TRIANGLES,0,r)}}),h.drawPick=function(){var t=[1,0,0,0,1,0,0,0,1],e=[0,0,0,0];return function(n){var r=this.plot,i=this.pickShader,o=this.bounds,a=this.numVertices;if(!(a<=0)){var s=r.gl,l=r.dataBox,u=o[2]-o[0],c=o[3]-o[1],h=l[2]-l[0],p=l[3]-l[1];t[0]=2*u/h,t[4]=2*c/p,t[6]=2*(o[0]-l[0])/h-1,t[7]=2*(o[1]-l[1])/p-1;for(var f=0;f<4;++f)e[f]=n>>8*f&255;this.pickOffset=n,i.bind();var d=i.uniforms;d.viewTransform=t,d.pickOffset=e,d.shape=this.shape;var m=i.attributes;return this.positionBuffer.bind(),m.position.pointer(),this.weightBuffer.bind(),m.weight.pointer(s.UNSIGNED_BYTE,!1),this.idBuffer.bind(),m.pickId.pointer(s.UNSIGNED_BYTE,!1),s.drawArrays(s.TRIANGLES,0,a),n+this.shape[0]*this.shape[1]}}}(),h.pick=function(t,e,n){var r=this.pickOffset,i=this.shape[0]*this.shape[1];if(n<r||n>=r+i)return null;var o=n-r,a=this.xData,s=this.yData;return{object:this,pointId:o,dataCoord:[a[o%this.shape[0]],s[o/this.shape[0]|0]]}},h.update=function(t){var e=(t=t||{}).shape||[0,0],n=t.x||i(e[0]),a=t.y||i(e[1]),s=t.z||new Float32Array(e[0]*e[1]);this.xData=n,this.yData=a;var l=t.colorLevels||[0],u=t.colorValues||[0,0,0,1],c=l.length,h=this.bounds,f=h[0]=n[0],d=h[1]=a[0],m=1/((h[2]=n[n.length-1])-f),v=1/((h[3]=a[a.length-1])-d),g=e[0],y=e[1];this.shape=[g,y];var _=(g-1)*(y-1)*(p.length>>>1);this.numVertices=_;for(var b=o.mallocUint8(4*_),x=o.mallocFloat32(2*_),w=o.mallocUint8(2*_),A=o.mallocUint32(_),C=0,M=0;M<y-1;++M)for(var E=v*(a[M]-d),T=v*(a[M+1]-d),S=0;S<g-1;++S)for(var k=m*(n[S]-f),O=m*(n[S+1]-f),I=0;I<p.length;I+=2){var L,P,z,R,D=p[I],$=p[I+1],B=s[(M+$)*g+(S+D)],N=r.le(l,B);if(N<0)L=u[0],P=u[1],z=u[2],R=u[3];else if(N===c-1)L=u[4*c-4],P=u[4*c-3],z=u[4*c-2],R=u[4*c-1];else{var F=(B-l[N])/(l[N+1]-l[N]),j=1-F,U=4*N,q=4*(N+1);L=j*u[U]+F*u[q],P=j*u[U+1]+F*u[q+1],z=j*u[U+2]+F*u[q+2],R=j*u[U+3]+F*u[q+3]}b[4*C]=255*L,b[4*C+1]=255*P,b[4*C+2]=255*z,b[4*C+3]=255*R,x[2*C]=.5*k+.5*O,x[2*C+1]=.5*E+.5*T,w[2*C]=D,w[2*C+1]=$,A[C]=M*g+S,C+=1}this.positionBuffer.update(x),this.weightBuffer.update(w),this.colorBuffer.update(b),this.idBuffer.update(A),o.free(x),o.free(b),o.free(w),o.free(A)},h.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.positionBuffer.dispose(),this.weightBuffer.dispose(),this.colorBuffer.dispose(),this.idBuffer.dispose(),this.plot.removeObject(this)}},{\\\"./lib/shaders\\\":264,\\\"binary-search-bounds\\\":94,\\\"gl-buffer\\\":253,\\\"gl-shader\\\":307,\\\"iota-array\\\":416,\\\"typedarray-pool\\\":547}],264:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"glslify\\\");e.exports={fragment:r([\\\"precision lowp float;\\\\n#define GLSLIFY 1\\\\nvarying vec4 fragColor;\\\\nvoid main() {\\\\n gl_FragColor = vec4(fragColor.rgb * fragColor.a, fragColor.a);\\\\n}\\\\n\\\"]),vertex:r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 position;\\\\nattribute vec4 color;\\\\nattribute vec2 weight;\\\\n\\\\nuniform vec2 shape;\\\\nuniform mat3 viewTransform;\\\\n\\\\nvarying vec4 fragColor;\\\\n\\\\nvoid main() {\\\\n vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0);\\\\n fragColor = color;\\\\n gl_Position = vec4(vPosition.xy, 0, vPosition.z);\\\\n}\\\\n\\\"]),pickFragment:r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nvarying vec4 fragId;\\\\nvarying vec2 vWeight;\\\\n\\\\nuniform vec2 shape;\\\\nuniform vec4 pickOffset;\\\\n\\\\nvoid main() {\\\\n vec2 d = step(.5, vWeight);\\\\n vec4 id = fragId + pickOffset;\\\\n id.x += d.x + d.y*shape.x;\\\\n\\\\n id.y += floor(id.x / 256.0);\\\\n id.x -= floor(id.x / 256.0) * 256.0;\\\\n\\\\n id.z += floor(id.y / 256.0);\\\\n id.y -= floor(id.y / 256.0) * 256.0;\\\\n\\\\n id.w += floor(id.z / 256.0);\\\\n id.z -= floor(id.z / 256.0) * 256.0;\\\\n\\\\n gl_FragColor = id/255.;\\\\n}\\\\n\\\"]),pickVertex:r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 position;\\\\nattribute vec4 pickId;\\\\nattribute vec2 weight;\\\\n\\\\nuniform vec2 shape;\\\\nuniform mat3 viewTransform;\\\\n\\\\nvarying vec4 fragId;\\\\nvarying vec2 vWeight;\\\\n\\\\nvoid main() {\\\\n vWeight = weight;\\\\n\\\\n fragId = pickId;\\\\n\\\\n vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0);\\\\n gl_Position = vec4(vPosition.xy, 0, vPosition.z);\\\\n}\\\\n\\\"])}},{glslify:408}],265:[function(t,e,n){var r=t(\\\"glslify\\\"),i=t(\\\"gl-shader\\\"),o=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position, nextPosition;\\\\nattribute float arcLength, lineWidth;\\\\nattribute vec4 color;\\\\n\\\\nuniform vec2 screenShape;\\\\nuniform float pixelRatio;\\\\nuniform mat4 model, view, projection;\\\\n\\\\nvarying vec4 fragColor;\\\\nvarying vec3 worldPosition;\\\\nvarying float pixelArcLength;\\\\n\\\\nvec4 project(vec3 p) {\\\\n return projection * view * model * vec4(p, 1.0);\\\\n}\\\\n\\\\nvoid main() {\\\\n vec4 startPoint = project(position);\\\\n vec4 endPoint = project(nextPosition);\\\\n\\\\n vec2 A = startPoint.xy / startPoint.w;\\\\n vec2 B = endPoint.xy / endPoint.w;\\\\n\\\\n float clipAngle = atan(\\\\n (B.y - A.y) * screenShape.y,\\\\n (B.x - A.x) * screenShape.x\\\\n );\\\\n\\\\n vec2 offset = 0.5 * pixelRatio * lineWidth * vec2(\\\\n sin(clipAngle),\\\\n -cos(clipAngle)\\\\n ) / screenShape;\\\\n\\\\n gl_Position = vec4(startPoint.xy + startPoint.w * offset, startPoint.zw);\\\\n\\\\n worldPosition = position;\\\\n pixelArcLength = arcLength;\\\\n fragColor = color;\\\\n}\\\\n\\\"]),a=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform sampler2D dashTexture;\\\\nuniform float dashScale;\\\\nuniform float opacity;\\\\n\\\\nvarying vec3 worldPosition;\\\\nvarying float pixelArcLength;\\\\nvarying vec4 fragColor;\\\\n\\\\nvoid main() {\\\\n if (\\\\n outOfRange(clipBounds[0], clipBounds[1], worldPosition) ||\\\\n fragColor.a * opacity == 0.\\\\n ) discard;\\\\n\\\\n float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r;\\\\n if(dashWeight < 0.5) {\\\\n discard;\\\\n }\\\\n gl_FragColor = fragColor * opacity;\\\\n}\\\\n\\\"]),s=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\n#define FLOAT_MAX 1.70141184e38\\\\n#define FLOAT_MIN 1.17549435e-38\\\\n\\\\n// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl\\\\nvec4 packFloat(float v) {\\\\n float av = abs(v);\\\\n\\\\n //Handle special cases\\\\n if(av < FLOAT_MIN) {\\\\n return vec4(0.0, 0.0, 0.0, 0.0);\\\\n } else if(v > FLOAT_MAX) {\\\\n return vec4(127.0, 128.0, 0.0, 0.0) / 255.0;\\\\n } else if(v < -FLOAT_MAX) {\\\\n return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;\\\\n }\\\\n\\\\n vec4 c = vec4(0,0,0,0);\\\\n\\\\n //Compute exponent and mantissa\\\\n float e = floor(log2(av));\\\\n float m = av * pow(2.0, -e) - 1.0;\\\\n\\\\n //Unpack mantissa\\\\n c[1] = floor(128.0 * m);\\\\n m -= c[1] / 128.0;\\\\n c[2] = floor(32768.0 * m);\\\\n m -= c[2] / 32768.0;\\\\n c[3] = floor(8388608.0 * m);\\\\n\\\\n //Unpack exponent\\\\n float ebias = e + 127.0;\\\\n c[0] = floor(ebias / 2.0);\\\\n ebias -= c[0] * 2.0;\\\\n c[1] += floor(ebias) * 128.0;\\\\n\\\\n //Unpack sign bit\\\\n c[0] += 128.0 * step(0.0, -v);\\\\n\\\\n //Scale back to range\\\\n return c / 255.0;\\\\n}\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform float pickId;\\\\nuniform vec3 clipBounds[2];\\\\n\\\\nvarying vec3 worldPosition;\\\\nvarying float pixelArcLength;\\\\nvarying vec4 fragColor;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;\\\\n\\\\n gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz);\\\\n}\\\"]),l=[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"nextPosition\\\",type:\\\"vec3\\\"},{name:\\\"arcLength\\\",type:\\\"float\\\"},{name:\\\"lineWidth\\\",type:\\\"float\\\"},{name:\\\"color\\\",type:\\\"vec4\\\"}];n.createShader=function(t){return i(t,o,a,null,l)},n.createPickShader=function(t){return i(t,o,s,null,l)}},{\\\"gl-shader\\\":307,glslify:408}],266:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.gl||t.scene&&t.scene.gl,n=h(e);n.attributes.position.location=0,n.attributes.nextPosition.location=1,n.attributes.arcLength.location=2,n.attributes.lineWidth.location=3,n.attributes.color.location=4;var a=p(e);a.attributes.position.location=0,a.attributes.nextPosition.location=1,a.attributes.arcLength.location=2,a.attributes.lineWidth.location=3,a.attributes.color.location=4;for(var s=r(e),l=i(e,[{buffer:s,size:3,offset:0,stride:48},{buffer:s,size:3,offset:12,stride:48},{buffer:s,size:1,offset:24,stride:48},{buffer:s,size:1,offset:28,stride:48},{buffer:s,size:4,offset:32,stride:48}]),c=u(new Array(1024),[256,1,4]),f=0;f<1024;++f)c.data[f]=255;var d=o(e,c);d.wrap=e.REPEAT;var m=new g(e,n,a,s,l,d);return m.update(t),m};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-vao\\\"),o=t(\\\"gl-texture2d\\\"),a=new Uint8Array(4),s=new Float32Array(a.buffer),l=t(\\\"binary-search-bounds\\\"),u=t(\\\"ndarray\\\"),c=t(\\\"./lib/shaders\\\"),h=c.createShader,p=c.createPickShader,f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function d(t,e){for(var n=0,r=0;r<3;++r){var i=t[r]-e[r];n+=i*i}return Math.sqrt(n)}function m(t){for(var e=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],n=0;n<3;++n)e[0][n]=Math.max(t[0][n],e[0][n]),e[1][n]=Math.min(t[1][n],e[1][n]);return e}function v(t,e,n,r){this.arcLength=t,this.position=e,this.index=n,this.dataCoordinate=r}function g(t,e,n,r,i,o){this.gl=t,this.shader=e,this.pickShader=n,this.buffer=r,this.vao=i,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=o,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var y=g.prototype;y.isTransparent=function(){return this.hasAlpha},y.isOpaque=function(){return!this.hasAlpha},y.pickSlots=1,y.setPickBase=function(t){this.pickId=t},y.drawTransparent=y.draw=function(t){if(this.vertexCount){var e=this.gl,n=this.shader,r=this.vao;n.bind(),n.uniforms={model:t.model||f,view:t.view||f,projection:t.projection||f,clipBounds:m(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[e.drawingBufferWidth,e.drawingBufferHeight],pixelRatio:this.pixelRatio},r.bind(),r.draw(e.TRIANGLE_STRIP,this.vertexCount),r.unbind()}},y.drawPick=function(t){if(this.vertexCount){var e=this.gl,n=this.pickShader,r=this.vao;n.bind(),n.uniforms={model:t.model||f,view:t.view||f,projection:t.projection||f,pickId:this.pickId,clipBounds:m(this.clipBounds),screenShape:[e.drawingBufferWidth,e.drawingBufferHeight],pixelRatio:this.pixelRatio},r.bind(),r.draw(e.TRIANGLE_STRIP,this.vertexCount),r.unbind()}},y.update=function(t){var e,n;this.dirty=!0;var r=!!t.connectGaps;\\\"dashScale\\\"in t&&(this.dashScale=t.dashScale),this.hasAlpha=!1,\\\"opacity\\\"in t&&(this.opacity=+t.opacity,this.opacity<1&&(this.hasAlpha=!0));var i=[],o=[],a=[],s=0,c=0,h=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],p=t.position||t.positions;if(p){var f=t.color||t.colors||[0,0,0,1],m=t.lineWidth||1,v=!1;t:for(e=1;e<p.length;++e){var g,y,_,b=p[e-1],x=p[e];for(o.push(s),a.push(b.slice()),n=0;n<3;++n){if(isNaN(b[n])||isNaN(x[n])||!isFinite(b[n])||!isFinite(x[n])){if(!r&&i.length>0){for(var w=0;w<24;++w)i.push(i[i.length-12]);c+=2,v=!0}continue t}h[0][n]=Math.min(h[0][n],b[n],x[n]),h[1][n]=Math.max(h[1][n],b[n],x[n])}Array.isArray(f[0])?(g=f.length>e-1?f[e-1]:f.length>0?f[f.length-1]:[0,0,0,1],y=f.length>e?f[e]:f.length>0?f[f.length-1]:[0,0,0,1]):g=y=f,3===g.length&&(g=[g[0],g[1],g[2],1]),3===y.length&&(y=[y[0],y[1],y[2],1]),!this.hasAlpha&&g[3]<1&&(this.hasAlpha=!0),_=Array.isArray(m)?m.length>e-1?m[e-1]:m.length>0?m[m.length-1]:[0,0,0,1]:m;var A=s;if(s+=d(b,x),v){for(n=0;n<2;++n)i.push(b[0],b[1],b[2],x[0],x[1],x[2],A,_,g[0],g[1],g[2],g[3]);c+=2,v=!1}i.push(b[0],b[1],b[2],x[0],x[1],x[2],A,_,g[0],g[1],g[2],g[3],b[0],b[1],b[2],x[0],x[1],x[2],A,-_,g[0],g[1],g[2],g[3],x[0],x[1],x[2],b[0],b[1],b[2],s,-_,y[0],y[1],y[2],y[3],x[0],x[1],x[2],b[0],b[1],b[2],s,_,y[0],y[1],y[2],y[3]),c+=4}}if(this.buffer.update(i),o.push(s),a.push(p[p.length-1].slice()),this.bounds=h,this.vertexCount=c,this.points=a,this.arcLength=o,\\\"dashes\\\"in t){var C=t.dashes.slice();for(C.unshift(0),e=1;e<C.length;++e)C[e]=C[e-1]+C[e];var M=u(new Array(1024),[256,1,4]);for(e=0;e<256;++e){for(n=0;n<4;++n)M.set(e,0,n,0);1&l.le(C,C[C.length-1]*e/255)?M.set(e,0,0,0):M.set(e,0,0,255)}this.texture.setPixels(M)}},y.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()},y.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=function(t,e,n,r){return a[0]=r,a[1]=n,a[2]=e,a[3]=t,s[0]}(t.value[0],t.value[1],t.value[2],0),n=l.le(this.arcLength,e);if(n<0)return null;if(n===this.arcLength.length-1)return new v(this.arcLength[this.arcLength.length-1],this.points[this.points.length-1].slice(),n);for(var r=this.points[n],i=this.points[Math.min(n+1,this.points.length-1)],o=(e-this.arcLength[n])/(this.arcLength[n+1]-this.arcLength[n]),u=1-o,c=[0,0,0],h=0;h<3;++h)c[h]=u*r[h]+o*i[h];var p=Math.min(o<.5?n:n+1,this.points.length-1);return new v(e,c,p,this.points[p])}},{\\\"./lib/shaders\\\":265,\\\"binary-search-bounds\\\":94,\\\"gl-buffer\\\":253,\\\"gl-texture2d\\\":322,\\\"gl-vao\\\":327,ndarray:448}],267:[function(t,e,n){e.exports=function(t){var e=new Float32Array(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}},{}],268:[function(t,e,n){e.exports=function(){var t=new Float32Array(16);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],269:[function(t,e,n){e.exports=function(t){var e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=t[9],h=t[10],p=t[11],f=t[12],d=t[13],m=t[14],v=t[15];return(e*a-n*o)*(h*v-p*m)-(e*s-r*o)*(c*v-p*d)+(e*l-i*o)*(c*m-h*d)+(n*s-r*a)*(u*v-p*f)-(n*l-i*a)*(u*m-h*f)+(r*l-i*s)*(u*d-c*f)}},{}],270:[function(t,e,n){e.exports=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n+n,s=r+r,l=i+i,u=n*a,c=r*a,h=r*s,p=i*a,f=i*s,d=i*l,m=o*a,v=o*s,g=o*l;return t[0]=1-h-d,t[1]=c+g,t[2]=p-v,t[3]=0,t[4]=c-g,t[5]=1-u-d,t[6]=f+m,t[7]=0,t[8]=p+v,t[9]=f-m,t[10]=1-u-h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],271:[function(t,e,n){e.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=r+r,l=i+i,u=o+o,c=r*s,h=r*l,p=r*u,f=i*l,d=i*u,m=o*u,v=a*s,g=a*l,y=a*u;return t[0]=1-(f+m),t[1]=h+y,t[2]=p-g,t[3]=0,t[4]=h-y,t[5]=1-(c+m),t[6]=d+v,t[7]=0,t[8]=p+g,t[9]=d-v,t[10]=1-(c+f),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}},{}],272:[function(t,e,n){e.exports=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},{}],273:[function(t,e,n){e.exports=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],p=e[10],f=e[11],d=e[12],m=e[13],v=e[14],g=e[15],y=n*s-r*a,_=n*l-i*a,b=n*u-o*a,x=r*l-i*s,w=r*u-o*s,A=i*u-o*l,C=c*m-h*d,M=c*v-p*d,E=c*g-f*d,T=h*v-p*m,S=h*g-f*m,k=p*g-f*v,O=y*k-_*S+b*T+x*E-w*M+A*C;return O?(O=1/O,t[0]=(s*k-l*S+u*T)*O,t[1]=(i*S-r*k-o*T)*O,t[2]=(m*A-v*w+g*x)*O,t[3]=(p*w-h*A-f*x)*O,t[4]=(l*E-a*k-u*M)*O,t[5]=(n*k-i*E+o*M)*O,t[6]=(v*b-d*A-g*_)*O,t[7]=(c*A-p*b+f*_)*O,t[8]=(a*S-s*E+u*C)*O,t[9]=(r*E-n*S-o*C)*O,t[10]=(d*w-m*b+g*y)*O,t[11]=(h*b-c*w-f*y)*O,t[12]=(s*M-a*T-l*C)*O,t[13]=(n*T-r*M+i*C)*O,t[14]=(m*_-d*x-v*y)*O,t[15]=(c*x-h*_+p*y)*O,t):null}},{}],274:[function(t,e,n){var r=t(\\\"./identity\\\");e.exports=function(t,e,n,i){var o,a,s,l,u,c,h,p,f,d,m=e[0],v=e[1],g=e[2],y=i[0],_=i[1],b=i[2],x=n[0],w=n[1],A=n[2];return Math.abs(m-x)<1e-6&&Math.abs(v-w)<1e-6&&Math.abs(g-A)<1e-6?r(t):(h=m-x,p=v-w,f=g-A,o=_*(f*=d=1/Math.sqrt(h*h+p*p+f*f))-b*(p*=d),a=b*(h*=d)-y*f,s=y*p-_*h,(d=Math.sqrt(o*o+a*a+s*s))?(o*=d=1/d,a*=d,s*=d):(o=0,a=0,s=0),l=p*s-f*a,u=f*o-h*s,c=h*a-p*o,(d=Math.sqrt(l*l+u*u+c*c))?(l*=d=1/d,u*=d,c*=d):(l=0,u=0,c=0),t[0]=o,t[1]=l,t[2]=h,t[3]=0,t[4]=a,t[5]=u,t[6]=p,t[7]=0,t[8]=s,t[9]=c,t[10]=f,t[11]=0,t[12]=-(o*m+a*v+s*g),t[13]=-(l*m+u*v+c*g),t[14]=-(h*m+p*v+f*g),t[15]=1,t)}},{\\\"./identity\\\":272}],275:[function(t,e,n){e.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],m=e[12],v=e[13],g=e[14],y=e[15],_=n[0],b=n[1],x=n[2],w=n[3];return t[0]=_*r+b*s+x*h+w*m,t[1]=_*i+b*l+x*p+w*v,t[2]=_*o+b*u+x*f+w*g,t[3]=_*a+b*c+x*d+w*y,_=n[4],b=n[5],x=n[6],w=n[7],t[4]=_*r+b*s+x*h+w*m,t[5]=_*i+b*l+x*p+w*v,t[6]=_*o+b*u+x*f+w*g,t[7]=_*a+b*c+x*d+w*y,_=n[8],b=n[9],x=n[10],w=n[11],t[8]=_*r+b*s+x*h+w*m,t[9]=_*i+b*l+x*p+w*v,t[10]=_*o+b*u+x*f+w*g,t[11]=_*a+b*c+x*d+w*y,_=n[12],b=n[13],x=n[14],w=n[15],t[12]=_*r+b*s+x*h+w*m,t[13]=_*i+b*l+x*p+w*v,t[14]=_*o+b*u+x*f+w*g,t[15]=_*a+b*c+x*d+w*y,t}},{}],276:[function(t,e,n){e.exports=function(t,e,n,r,i,o,a){var s=1/(e-n),l=1/(r-i),u=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*l,t[14]=(a+o)*u,t[15]=1,t}},{}],277:[function(t,e,n){e.exports=function(t,e,n,r,i){var o=1/Math.tan(e/2),a=1/(r-i);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(i+r)*a,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*i*r*a,t[15]=0,t}},{}],278:[function(t,e,n){e.exports=function(t,e,n,r){var i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S=r[0],k=r[1],O=r[2],I=Math.sqrt(S*S+k*k+O*O);return Math.abs(I)<1e-6?null:(S*=I=1/I,k*=I,O*=I,i=Math.sin(n),a=1-(o=Math.cos(n)),s=e[0],l=e[1],u=e[2],c=e[3],h=e[4],p=e[5],f=e[6],d=e[7],m=e[8],v=e[9],g=e[10],y=e[11],_=S*S*a+o,b=k*S*a+O*i,x=O*S*a-k*i,w=S*k*a-O*i,A=k*k*a+o,C=O*k*a+S*i,M=S*O*a+k*i,E=k*O*a-S*i,T=O*O*a+o,t[0]=s*_+h*b+m*x,t[1]=l*_+p*b+v*x,t[2]=u*_+f*b+g*x,t[3]=c*_+d*b+y*x,t[4]=s*w+h*A+m*C,t[5]=l*w+p*A+v*C,t[6]=u*w+f*A+g*C,t[7]=c*w+d*A+y*C,t[8]=s*M+h*E+m*T,t[9]=l*M+p*E+v*T,t[10]=u*M+f*E+g*T,t[11]=c*M+d*E+y*T,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)}},{}],279:[function(t,e,n){e.exports=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[4],a=e[5],s=e[6],l=e[7],u=e[8],c=e[9],h=e[10],p=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=o*i+u*r,t[5]=a*i+c*r,t[6]=s*i+h*r,t[7]=l*i+p*r,t[8]=u*i-o*r,t[9]=c*i-a*r,t[10]=h*i-s*r,t[11]=p*i-l*r,t}},{}],280:[function(t,e,n){e.exports=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],u=e[8],c=e[9],h=e[10],p=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*i-u*r,t[1]=a*i-c*r,t[2]=s*i-h*r,t[3]=l*i-p*r,t[8]=o*r+u*i,t[9]=a*r+c*i,t[10]=s*r+h*i,t[11]=l*r+p*i,t}},{}],281:[function(t,e,n){e.exports=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],u=e[4],c=e[5],h=e[6],p=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*i+u*r,t[1]=a*i+c*r,t[2]=s*i+h*r,t[3]=l*i+p*r,t[4]=u*i-o*r,t[5]=c*i-a*r,t[6]=h*i-s*r,t[7]=p*i-l*r,t}},{}],282:[function(t,e,n){e.exports=function(t,e,n){var r=n[0],i=n[1],o=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},{}],283:[function(t,e,n){e.exports=function(t,e,n){var r,i,o,a,s,l,u,c,h,p,f,d,m=n[0],v=n[1],g=n[2];return e===t?(t[12]=e[0]*m+e[4]*v+e[8]*g+e[12],t[13]=e[1]*m+e[5]*v+e[9]*g+e[13],t[14]=e[2]*m+e[6]*v+e[10]*g+e[14],t[15]=e[3]*m+e[7]*v+e[11]*g+e[15]):(r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=h,t[9]=p,t[10]=f,t[11]=d,t[12]=r*m+s*v+h*g+e[12],t[13]=i*m+l*v+p*g+e[13],t[14]=o*m+u*v+f*g+e[14],t[15]=a*m+c*v+d*g+e[15]),t}},{}],284:[function(t,e,n){e.exports=function(t,e){if(t===e){var n=e[1],r=e[2],i=e[3],o=e[6],a=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=o,t[11]=e[14],t[12]=i,t[13]=a,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}},{}],285:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"barycentric\\\"),i=t(\\\"polytope-closest-point/lib/closest_point_2d.js\\\");function o(t,e){for(var n=[0,0,0,0],r=0;r<4;++r)for(var i=0;i<4;++i)n[i]+=t[4*r+i]*e[r];return n}function a(t,e,n,r,i){for(var a=o(r,o(n,o(e,[t[0],t[1],t[2],1]))),s=0;s<3;++s)a[s]/=a[3];return[.5*i[0]*(1+a[0]),.5*i[1]*(1-a[1])]}function s(t,e){for(var n=[0,0,0],r=0;r<t.length;++r)for(var i=t[r],o=e[r],a=0;a<3;++a)n[a]+=o*i[a];return n}e.exports=function(t,e,n,o,l,u){if(1===t.length)return[0,t[0].slice()];for(var c=new Array(t.length),h=0;h<t.length;++h)c[h]=a(t[h],n,o,l,u);var p=0,f=1/0;for(h=0;h<c.length;++h){for(var d=0,m=0;m<2;++m)d+=Math.pow(c[h][m]-e[m],2);d<f&&(f=d,p=h)}var v=function(t,e){if(2===t.length){for(var n=0,o=0,a=0;a<2;++a)n+=Math.pow(e[a]-t[0][a],2),o+=Math.pow(e[a]-t[1][a],2);return(n=Math.sqrt(n))+(o=Math.sqrt(o))<1e-6?[1,0]:[o/(n+o),n/(o+n)]}if(3===t.length){var s=[0,0];return i(t[0],t[1],t[2],e,s),r(t,s)}return[]}(c,e),g=0;for(h=0;h<3;++h){if(v[h]<-.001||v[h]>1.0001)return null;g+=v[h]}return Math.abs(g-1)>.001?null:[p,s(t,v),v]}},{barycentric:76,\\\"polytope-closest-point/lib/closest_point_2d.js\\\":479}],286:[function(t,e,n){var r=t(\\\"glslify\\\"),i=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position, normal;\\\\nattribute vec4 color;\\\\nattribute vec2 uv;\\\\n\\\\nuniform mat4 model\\\\n , view\\\\n , projection\\\\n , inverseModel;\\\\nuniform vec3 eyePosition\\\\n , lightPosition;\\\\n\\\\nvarying vec3 f_normal\\\\n , f_lightDirection\\\\n , f_eyeDirection\\\\n , f_data;\\\\nvarying vec4 f_color;\\\\nvarying vec2 f_uv;\\\\n\\\\nvec4 project(vec3 p) {\\\\n return projection * view * model * vec4(p, 1.0);\\\\n}\\\\n\\\\nvoid main() {\\\\n gl_Position = project(position);\\\\n\\\\n //Lighting geometry parameters\\\\n vec4 cameraCoordinate = view * vec4(position , 1.0);\\\\n cameraCoordinate.xyz /= cameraCoordinate.w;\\\\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\\\\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\\\\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\\\\n\\\\n f_color = color;\\\\n f_data = position;\\\\n f_uv = uv;\\\\n}\\\\n\\\"]),o=r([\\\"#extension GL_OES_standard_derivatives : enable\\\\n\\\\nprecision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nfloat beckmannDistribution(float x, float roughness) {\\\\n float NdotH = max(x, 0.0001);\\\\n float cos2Alpha = NdotH * NdotH;\\\\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\\\\n float roughness2 = roughness * roughness;\\\\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\\\\n return exp(tan2Alpha / roughness2) / denom;\\\\n}\\\\n\\\\nfloat cookTorranceSpecular(\\\\n vec3 lightDirection,\\\\n vec3 viewDirection,\\\\n vec3 surfaceNormal,\\\\n float roughness,\\\\n float fresnel) {\\\\n\\\\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\\\\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\\\\n\\\\n //Half angle vector\\\\n vec3 H = normalize(lightDirection + viewDirection);\\\\n\\\\n //Geometric term\\\\n float NdotH = max(dot(surfaceNormal, H), 0.0);\\\\n float VdotH = max(dot(viewDirection, H), 0.000001);\\\\n float LdotH = max(dot(lightDirection, H), 0.000001);\\\\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\\\\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\\\\n float G = min(1.0, min(G1, G2));\\\\n \\\\n //Distribution term\\\\n float D = beckmannDistribution(NdotH, roughness);\\\\n\\\\n //Fresnel term\\\\n float F = pow(1.0 - VdotN, fresnel);\\\\n\\\\n //Multiply terms and done\\\\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\\\\n}\\\\n\\\\n//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform float roughness\\\\n , fresnel\\\\n , kambient\\\\n , kdiffuse\\\\n , kspecular;\\\\nuniform sampler2D texture;\\\\n\\\\nvarying vec3 f_normal\\\\n , f_lightDirection\\\\n , f_eyeDirection\\\\n , f_data;\\\\nvarying vec4 f_color;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n if (f_color.a == 0.0 ||\\\\n outOfRange(clipBounds[0], clipBounds[1], f_data)\\\\n ) discard;\\\\n\\\\n vec3 N = normalize(f_normal);\\\\n vec3 L = normalize(f_lightDirection);\\\\n vec3 V = normalize(f_eyeDirection);\\\\n\\\\n if(gl_FrontFacing) {\\\\n N = -N;\\\\n }\\\\n\\\\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\\\\n //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d\\\\n\\\\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\\\\n\\\\n vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv);\\\\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\\\\n\\\\n gl_FragColor = litColor * f_color.a;\\\\n}\\\\n\\\"]),a=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position;\\\\nattribute vec4 color;\\\\nattribute vec2 uv;\\\\n\\\\nuniform mat4 model, view, projection;\\\\n\\\\nvarying vec4 f_color;\\\\nvarying vec3 f_data;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n gl_Position = projection * view * model * vec4(position, 1.0);\\\\n f_color = color;\\\\n f_data = position;\\\\n f_uv = uv;\\\\n}\\\"]),s=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform sampler2D texture;\\\\nuniform float opacity;\\\\n\\\\nvarying vec4 f_color;\\\\nvarying vec3 f_data;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard;\\\\n\\\\n gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\\\\n}\\\"]),l=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nattribute vec3 position;\\\\nattribute vec4 color;\\\\nattribute vec2 uv;\\\\nattribute float pointSize;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform vec3 clipBounds[2];\\\\n\\\\nvarying vec4 f_color;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\\\\n\\\\n gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0);\\\\n } else {\\\\n gl_Position = projection * view * model * vec4(position, 1.0);\\\\n }\\\\n gl_PointSize = pointSize;\\\\n f_color = color;\\\\n f_uv = uv;\\\\n}\\\"]),u=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform sampler2D texture;\\\\nuniform float opacity;\\\\n\\\\nvarying vec4 f_color;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5);\\\\n if(dot(pointR, pointR) > 0.25) {\\\\n discard;\\\\n }\\\\n gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\\\\n}\\\"]),c=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position;\\\\nattribute vec4 id;\\\\n\\\\nuniform mat4 model, view, projection;\\\\n\\\\nvarying vec3 f_position;\\\\nvarying vec4 f_id;\\\\n\\\\nvoid main() {\\\\n gl_Position = projection * view * model * vec4(position, 1.0);\\\\n f_id = id;\\\\n f_position = position;\\\\n}\\\"]),h=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform float pickId;\\\\n\\\\nvarying vec3 f_position;\\\\nvarying vec4 f_id;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\\\\n\\\\n gl_FragColor = vec4(pickId, f_id.xyz);\\\\n}\\\"]),p=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nattribute vec3 position;\\\\nattribute float pointSize;\\\\nattribute vec4 id;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform vec3 clipBounds[2];\\\\n\\\\nvarying vec3 f_position;\\\\nvarying vec4 f_id;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\\\\n\\\\n gl_Position = vec4(0.0, 0.0, 0.0, 0.0);\\\\n } else {\\\\n gl_Position = projection * view * model * vec4(position, 1.0);\\\\n gl_PointSize = pointSize;\\\\n }\\\\n f_id = id;\\\\n f_position = position;\\\\n}\\\"]),f=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position;\\\\n\\\\nuniform mat4 model, view, projection;\\\\n\\\\nvoid main() {\\\\n gl_Position = projection * view * model * vec4(position, 1.0);\\\\n}\\\"]),d=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform vec3 contourColor;\\\\n\\\\nvoid main() {\\\\n gl_FragColor = vec4(contourColor, 1.0);\\\\n}\\\\n\\\"]);n.meshShader={vertex:i,fragment:o,attributes:[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"normal\\\",type:\\\"vec3\\\"},{name:\\\"color\\\",type:\\\"vec4\\\"},{name:\\\"uv\\\",type:\\\"vec2\\\"}]},n.wireShader={vertex:a,fragment:s,attributes:[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"color\\\",type:\\\"vec4\\\"},{name:\\\"uv\\\",type:\\\"vec2\\\"}]},n.pointShader={vertex:l,fragment:u,attributes:[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"color\\\",type:\\\"vec4\\\"},{name:\\\"uv\\\",type:\\\"vec2\\\"},{name:\\\"pointSize\\\",type:\\\"float\\\"}]},n.pickShader={vertex:c,fragment:h,attributes:[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"id\\\",type:\\\"vec4\\\"}]},n.pointPickShader={vertex:p,fragment:h,attributes:[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"pointSize\\\",type:\\\"float\\\"},{name:\\\"id\\\",type:\\\"vec4\\\"}]},n.contourShader={vertex:f,fragment:d,attributes:[{name:\\\"position\\\",type:\\\"vec3\\\"}]}},{glslify:408}],287:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-shader\\\"),i=t(\\\"gl-buffer\\\"),o=t(\\\"gl-vao\\\"),a=t(\\\"gl-texture2d\\\"),s=t(\\\"normals\\\"),l=t(\\\"gl-mat4/multiply\\\"),u=t(\\\"gl-mat4/invert\\\"),c=t(\\\"ndarray\\\"),h=t(\\\"colormap\\\"),p=t(\\\"simplicial-complex-contour\\\"),f=t(\\\"typedarray-pool\\\"),d=t(\\\"./lib/shaders\\\"),m=t(\\\"./lib/closest-point\\\"),v=d.meshShader,g=d.wireShader,y=d.pointShader,_=d.pickShader,b=d.pointPickShader,x=d.contourShader,w=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function A(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,A,C,M,E,T){this.gl=t,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=e,this.dirty=!0,this.triShader=n,this.lineShader=r,this.pointShader=i,this.pickShader=o,this.pointPickShader=a,this.contourShader=s,this.trianglePositions=l,this.triangleColors=c,this.triangleNormals=p,this.triangleUVs=h,this.triangleIds=u,this.triangleVAO=f,this.triangleCount=0,this.lineWidth=1,this.edgePositions=d,this.edgeColors=v,this.edgeUVs=g,this.edgeIds=m,this.edgeVAO=y,this.edgeCount=0,this.pointPositions=_,this.pointColors=x,this.pointUVs=A,this.pointSizes=C,this.pointIds=b,this.pointVAO=M,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=E,this.contourVAO=T,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=w,this._view=w,this._projection=w,this._resolution=[1,1]}var C=A.prototype;function M(t,e){if(!e)return 1;if(!e.length)return 1;for(var n=0;n<e.length;++n){if(e.length<2)return 1;if(e[n][0]===t)return e[n][1];if(e[n][0]>t&&n>0){var r=(e[n][0]-t)/(e[n][0]-e[n-1][0]);return e[n][1]*(1-r)+r*e[n-1][1]}}return 1}function E(t){var e=r(t,v.vertex,v.fragment);return e.attributes.position.location=0,e.attributes.color.location=2,e.attributes.uv.location=3,e.attributes.normal.location=4,e}function T(t){var e=r(t,g.vertex,g.fragment);return e.attributes.position.location=0,e.attributes.color.location=2,e.attributes.uv.location=3,e}function S(t){var e=r(t,y.vertex,y.fragment);return e.attributes.position.location=0,e.attributes.color.location=2,e.attributes.uv.location=3,e.attributes.pointSize.location=4,e}function k(t){var e=r(t,_.vertex,_.fragment);return e.attributes.position.location=0,e.attributes.id.location=1,e}function O(t){var e=r(t,b.vertex,b.fragment);return e.attributes.position.location=0,e.attributes.id.location=1,e.attributes.pointSize.location=4,e}function I(t){var e=r(t,x.vertex,x.fragment);return e.attributes.position.location=0,e}C.isOpaque=function(){return!this.hasAlpha},C.isTransparent=function(){return this.hasAlpha},C.pickSlots=1,C.setPickBase=function(t){this.pickId=t},C.highlight=function(t){if(t&&this.contourEnable){for(var e=p(this.cells,this.intensity,t.intensity),n=e.cells,r=e.vertexIds,i=e.vertexWeights,o=n.length,a=f.mallocFloat32(6*o),s=0,l=0;l<o;++l)for(var u=n[l],c=0;c<2;++c){var h=u[0];2===u.length&&(h=u[c]);for(var d=r[h][0],m=r[h][1],v=i[h],g=1-v,y=this.positions[d],_=this.positions[m],b=0;b<3;++b)a[s++]=v*y[b]+g*_[b]}this.contourCount=s/3|0,this.contourPositions.update(a.subarray(0,s)),f.free(a)}else this.contourCount=0},C.update=function(t){t=t||{};var e=this.gl;this.dirty=!0,\\\"contourEnable\\\"in t&&(this.contourEnable=t.contourEnable),\\\"contourColor\\\"in t&&(this.contourColor=t.contourColor),\\\"lineWidth\\\"in t&&(this.lineWidth=t.lineWidth),\\\"lightPosition\\\"in t&&(this.lightPosition=t.lightPosition),this.hasAlpha=!1,\\\"opacity\\\"in t&&(this.opacity=t.opacity,this.opacity<1&&(this.hasAlpha=!0)),\\\"opacityscale\\\"in t&&(this.opacityscale=t.opacityscale,this.hasAlpha=!0),\\\"ambient\\\"in t&&(this.ambientLight=t.ambient),\\\"diffuse\\\"in t&&(this.diffuseLight=t.diffuse),\\\"specular\\\"in t&&(this.specularLight=t.specular),\\\"roughness\\\"in t&&(this.roughness=t.roughness),\\\"fresnel\\\"in t&&(this.fresnel=t.fresnel),t.texture?(this.texture.dispose(),this.texture=a(e,t.texture)):t.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=e.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=e.LINEAR,this.texture.setPixels(function(t,e){for(var n=h({colormap:t,nshades:256,format:\\\"rgba\\\"}),r=new Uint8Array(1024),i=0;i<256;++i){for(var o=n[i],a=0;a<3;++a)r[4*i+a]=o[a];r[4*i+3]=e?255*M(i/255,e):255*o[3]}return c(r,[256,256,4],[4,0,1])}(t.colormap,this.opacityscale)),this.texture.generateMipmap());var n=t.cells,r=t.positions;if(r&&n){var i=[],o=[],l=[],u=[],p=[],f=[],d=[],m=[],v=[],g=[],y=[],_=[],b=[],x=[];this.cells=n,this.positions=r;var w=t.vertexNormals,A=t.cellNormals,C=void 0===t.vertexNormalsEpsilon?1e-6:t.vertexNormalsEpsilon,E=void 0===t.faceNormalsEpsilon?1e-6:t.faceNormalsEpsilon;t.useFacetNormals&&!A&&(A=s.faceNormals(n,r,E)),A||w||(w=s.vertexNormals(n,r,C));var T=t.vertexColors,S=t.cellColors,k=t.meshColor||[1,1,1,1],O=t.vertexUVs,I=t.vertexIntensity,L=t.cellUVs,P=t.cellIntensity,z=1/0,R=-1/0;if(!O&&!L)if(I)if(t.vertexIntensityBounds)z=+t.vertexIntensityBounds[0],R=+t.vertexIntensityBounds[1];else for(var D=0;D<I.length;++D){var $=I[D];z=Math.min(z,$),R=Math.max(R,$)}else if(P)if(t.cellIntensityBounds)z=+t.cellIntensityBounds[0],R=+t.cellIntensityBounds[1];else for(D=0;D<P.length;++D)$=P[D],z=Math.min(z,$),R=Math.max(R,$);else for(D=0;D<r.length;++D)$=r[D][2],z=Math.min(z,$),R=Math.max(R,$);this.intensity=I||P||function(t){for(var e=t.length,n=new Array(e),r=0;r<e;++r)n[r]=t[r][2];return n}(r),this.pickVertex=!(P||S);var B=t.pointSizes,N=t.pointSize||1;for(this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],D=0;D<r.length;++D)for(var F=r[D],j=0;j<3;++j)!isNaN(F[j])&&isFinite(F[j])&&(this.bounds[0][j]=Math.min(this.bounds[0][j],F[j]),this.bounds[1][j]=Math.max(this.bounds[1][j],F[j]));var U=0,q=0,V=0;t:for(D=0;D<n.length;++D){var H=n[D];switch(H.length){case 1:for(F=r[W=H[0]],j=0;j<3;++j)if(isNaN(F[j])||!isFinite(F[j]))continue t;g.push(F[0],F[1],F[2]),X=T?T[W]:S?S[D]:k,this.opacityscale&&I?o.push(X[0],X[1],X[2],this.opacity*M((I[W]-z)/(R-z),this.opacityscale)):3===X.length?y.push(X[0],X[1],X[2],this.opacity):(y.push(X[0],X[1],X[2],X[3]*this.opacity),X[3]<1&&(this.hasAlpha=!0)),Y=O?O[W]:I?[(I[W]-z)/(R-z),0]:L?L[D]:P?[(P[D]-z)/(R-z),0]:[(F[2]-z)/(R-z),0],_.push(Y[0],Y[1]),B?b.push(B[W]):b.push(N),x.push(D),V+=1;break;case 2:for(j=0;j<2;++j){F=r[W=H[j]];for(var G=0;G<3;++G)if(isNaN(F[G])||!isFinite(F[G]))continue t}for(j=0;j<2;++j)F=r[W=H[j]],f.push(F[0],F[1],F[2]),X=T?T[W]:S?S[D]:k,this.opacityscale&&I?o.push(X[0],X[1],X[2],this.opacity*M((I[W]-z)/(R-z),this.opacityscale)):3===X.length?d.push(X[0],X[1],X[2],this.opacity):(d.push(X[0],X[1],X[2],X[3]*this.opacity),X[3]<1&&(this.hasAlpha=!0)),Y=O?O[W]:I?[(I[W]-z)/(R-z),0]:L?L[D]:P?[(P[D]-z)/(R-z),0]:[(F[2]-z)/(R-z),0],m.push(Y[0],Y[1]),v.push(D);q+=1;break;case 3:for(j=0;j<3;++j)for(F=r[W=H[j]],G=0;G<3;++G)if(isNaN(F[G])||!isFinite(F[G]))continue t;for(j=0;j<3;++j){var W,X,Y,Z;F=r[W=H[2-j]],i.push(F[0],F[1],F[2]),(X=T?T[W]:S?S[D]:k)?this.opacityscale&&I?o.push(X[0],X[1],X[2],this.opacity*M((I[W]-z)/(R-z),this.opacityscale)):3===X.length?o.push(X[0],X[1],X[2],this.opacity):(o.push(X[0],X[1],X[2],X[3]*this.opacity),X[3]<1&&(this.hasAlpha=!0)):o.push(.5,.5,.5,1),Y=O?O[W]:I?[(I[W]-z)/(R-z),0]:L?L[D]:P?[(P[D]-z)/(R-z),0]:[(F[2]-z)/(R-z),0],u.push(Y[0],Y[1]),Z=w?w[W]:A[D],l.push(Z[0],Z[1],Z[2]),p.push(D)}U+=1}}this.pointCount=V,this.edgeCount=q,this.triangleCount=U,this.pointPositions.update(g),this.pointColors.update(y),this.pointUVs.update(_),this.pointSizes.update(b),this.pointIds.update(new Uint32Array(x)),this.edgePositions.update(f),this.edgeColors.update(d),this.edgeUVs.update(m),this.edgeIds.update(new Uint32Array(v)),this.trianglePositions.update(i),this.triangleColors.update(o),this.triangleUVs.update(u),this.triangleNormals.update(l),this.triangleIds.update(new Uint32Array(p))}},C.drawTransparent=C.draw=function(t){t=t||{};for(var e=this.gl,n=t.model||w,r=t.view||w,i=t.projection||w,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);var s={model:n,view:r,projection:i,inverseModel:w.slice(),clipBounds:o,kambient:this.ambientLight,kdiffuse:this.diffuseLight,kspecular:this.specularLight,roughness:this.roughness,fresnel:this.fresnel,eyePosition:[0,0,0],lightPosition:[0,0,0],contourColor:this.contourColor,texture:0};s.inverseModel=u(s.inverseModel,s.model),e.disable(e.CULL_FACE),this.texture.bind(0);var c=new Array(16);for(l(c,s.view,s.model),l(c,s.projection,c),u(c,c),a=0;a<3;++a)s.eyePosition[a]=c[12+a]/c[15];var h,p=c[15];for(a=0;a<3;++a)p+=this.lightPosition[a]*c[4*a+3];for(a=0;a<3;++a){for(var f=c[12+a],d=0;d<3;++d)f+=c[4*d+a]*this.lightPosition[d];s.lightPosition[a]=f/p}this.triangleCount>0&&((h=this.triShader).bind(),h.uniforms=s,this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((h=this.lineShader).bind(),h.uniforms=s,this.edgeVAO.bind(),e.lineWidth(this.lineWidth*this.pixelRatio),e.drawArrays(e.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((h=this.pointShader).bind(),h.uniforms=s,this.pointVAO.bind(),e.drawArrays(e.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((h=this.contourShader).bind(),h.uniforms=s,this.contourVAO.bind(),e.drawArrays(e.LINES,0,this.contourCount),this.contourVAO.unbind())},C.drawPick=function(t){t=t||{};for(var e=this.gl,n=t.model||w,r=t.view||w,i=t.projection||w,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);this._model=[].slice.call(n),this._view=[].slice.call(r),this._projection=[].slice.call(i),this._resolution=[e.drawingBufferWidth,e.drawingBufferHeight];var s,l={model:n,view:r,projection:i,clipBounds:o,pickId:this.pickId/255};(s=this.pickShader).bind(),s.uniforms=l,this.triangleCount>0&&(this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),e.lineWidth(this.lineWidth*this.pixelRatio),e.drawArrays(e.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((s=this.pointPickShader).bind(),s.uniforms=l,this.pointVAO.bind(),e.drawArrays(e.POINTS,0,this.pointCount),this.pointVAO.unbind())},C.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;for(var e=t.value[0]+256*t.value[1]+65536*t.value[2],n=this.cells[e],r=this.positions,i=new Array(n.length),o=0;o<n.length;++o)i[o]=r[n[o]];var a=t.coord[0],s=t.coord[1];if(!this.pickVertex){var l=this.positions[n[0]],u=this.positions[n[1]],c=this.positions[n[2]],h=[(l[0]+u[0]+c[0])/3,(l[1]+u[1]+c[1])/3,(l[2]+u[2]+c[2])/3];return{_cellCenter:!0,position:[a,s],index:e,cell:n,cellId:e,intensity:this.intensity[e],dataCoordinate:h}}var p=m(i,[a*this.pixelRatio,this._resolution[1]-s*this.pixelRatio],this._model,this._view,this._projection,this._resolution);if(!p)return null;var f=p[2],d=0;for(o=0;o<n.length;++o)d+=f[o]*this.intensity[n[o]];return{position:p[1],index:n[p[0]],cell:n,cellId:e,intensity:d,dataCoordinate:this.positions[n[p[0]]]}},C.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.lineShader.dispose(),this.pointShader.dispose(),this.pickShader.dispose(),this.pointPickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleNormals.dispose(),this.triangleIds.dispose(),this.edgeVAO.dispose(),this.edgePositions.dispose(),this.edgeColors.dispose(),this.edgeUVs.dispose(),this.edgeIds.dispose(),this.pointVAO.dispose(),this.pointPositions.dispose(),this.pointColors.dispose(),this.pointUVs.dispose(),this.pointSizes.dispose(),this.pointIds.dispose(),this.contourVAO.dispose(),this.contourPositions.dispose(),this.contourShader.dispose()},e.exports=function(t,e){if(1===arguments.length&&(t=(e=t).gl),!(t.getExtension(\\\"OES_standard_derivatives\\\")||t.getExtension(\\\"MOZ_OES_standard_derivatives\\\")||t.getExtension(\\\"WEBKIT_OES_standard_derivatives\\\")))throw new Error(\\\"derivatives not supported\\\");var n=E(t),r=T(t),s=S(t),l=k(t),u=O(t),h=I(t),p=a(t,c(new Uint8Array([255,255,255,255]),[1,1,4]));p.generateMipmap(),p.minFilter=t.LINEAR_MIPMAP_LINEAR,p.magFilter=t.LINEAR;var f=i(t),d=i(t),m=i(t),v=i(t),g=i(t),y=o(t,[{buffer:f,type:t.FLOAT,size:3},{buffer:g,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:d,type:t.FLOAT,size:4},{buffer:m,type:t.FLOAT,size:2},{buffer:v,type:t.FLOAT,size:3}]),_=i(t),b=i(t),x=i(t),w=i(t),C=o(t,[{buffer:_,type:t.FLOAT,size:3},{buffer:w,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:b,type:t.FLOAT,size:4},{buffer:x,type:t.FLOAT,size:2}]),M=i(t),L=i(t),P=i(t),z=i(t),R=i(t),D=o(t,[{buffer:M,type:t.FLOAT,size:3},{buffer:R,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:L,type:t.FLOAT,size:4},{buffer:P,type:t.FLOAT,size:2},{buffer:z,type:t.FLOAT,size:1}]),$=i(t),B=new A(t,p,n,r,s,l,u,h,f,g,d,m,v,y,_,w,b,x,C,M,R,L,P,z,D,$,o(t,[{buffer:$,type:t.FLOAT,size:3}]));return B.update(e),B}},{\\\"./lib/closest-point\\\":285,\\\"./lib/shaders\\\":286,colormap:128,\\\"gl-buffer\\\":253,\\\"gl-mat4/invert\\\":273,\\\"gl-mat4/multiply\\\":275,\\\"gl-shader\\\":307,\\\"gl-texture2d\\\":322,\\\"gl-vao\\\":327,ndarray:448,normals:451,\\\"simplicial-complex-contour\\\":508,\\\"typedarray-pool\\\":547}],288:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.gl;return new a(t,r(e,[0,0,0,1,1,0,1,1]),i(e,o.boxVert,o.lineFrag))};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-shader\\\"),o=t(\\\"./shaders\\\");function a(t,e,n){this.plot=t,this.vbo=e,this.shader=n}var s,l,u=a.prototype;u.bind=function(){var t=this.shader;this.vbo.bind(),this.shader.bind(),t.attributes.coord.pointer(),t.uniforms.screenBox=this.plot.screenBox},u.drawBox=(s=[0,0],l=[0,0],function(t,e,n,r,i){var o=this.plot,a=this.shader,u=o.gl;s[0]=t,s[1]=e,l[0]=n,l[1]=r,a.uniforms.lo=s,a.uniforms.hi=l,a.uniforms.color=i,u.drawArrays(u.TRIANGLE_STRIP,0,4)}),u.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},{\\\"./shaders\\\":291,\\\"gl-buffer\\\":253,\\\"gl-shader\\\":307}],289:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.gl;return new s(t,r(e),i(e,a.gridVert,a.gridFrag),i(e,a.tickVert,a.gridFrag))};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-shader\\\"),o=t(\\\"binary-search-bounds\\\"),a=t(\\\"./shaders\\\");function s(t,e,n,r){this.plot=t,this.vbo=e,this.shader=n,this.tickShader=r,this.ticks=[[],[]]}function l(t,e){return t-e}var u,c,h,p,f,d=s.prototype;d.draw=(u=[0,0],c=[0,0],h=[0,0],function(){for(var t=this.plot,e=this.vbo,n=this.shader,r=this.ticks,i=t.gl,o=t._tickBounds,a=t.dataBox,s=t.viewBox,l=t.gridLineWidth,p=t.gridLineColor,f=t.gridLineEnable,d=t.pixelRatio,m=0;m<2;++m){var v=o[m],g=o[m+2]-v,y=.5*(a[m+2]+a[m]),_=a[m+2]-a[m];c[m]=2*g/_,u[m]=2*(v-y)/_}n.bind(),e.bind(),n.attributes.dataCoord.pointer(),n.uniforms.dataShift=u,n.uniforms.dataScale=c;var b=0;for(m=0;m<2;++m){h[0]=h[1]=0,h[m]=1,n.uniforms.dataAxis=h,n.uniforms.lineWidth=l[m]/(s[m+2]-s[m])*d,n.uniforms.color=p[m];var x=6*r[m].length;f[m]&&x&&i.drawArrays(i.TRIANGLES,b,x),b+=x}}),d.drawTickMarks=function(){var t=[0,0],e=[0,0],n=[1,0],r=[0,1],i=[0,0],a=[0,0];return function(){for(var s=this.plot,u=this.vbo,c=this.tickShader,h=this.ticks,p=s.gl,f=s._tickBounds,d=s.dataBox,m=s.viewBox,v=s.pixelRatio,g=s.screenBox,y=g[2]-g[0],_=g[3]-g[1],b=m[2]-m[0],x=m[3]-m[1],w=0;w<2;++w){var A=f[w],C=f[w+2]-A,M=.5*(d[w+2]+d[w]),E=d[w+2]-d[w];e[w]=2*C/E,t[w]=2*(A-M)/E}e[0]*=b/y,t[0]*=b/y,e[1]*=x/_,t[1]*=x/_,c.bind(),u.bind(),c.attributes.dataCoord.pointer();var T=c.uniforms;T.dataShift=t,T.dataScale=e;var S=s.tickMarkLength,k=s.tickMarkWidth,O=s.tickMarkColor,I=6*h[0].length,L=Math.min(o.ge(h[0],(d[0]-f[0])/(f[2]-f[0]),l),h[0].length),P=Math.min(o.gt(h[0],(d[2]-f[0])/(f[2]-f[0]),l),h[0].length),z=0+6*L,R=6*Math.max(0,P-L),D=Math.min(o.ge(h[1],(d[1]-f[1])/(f[3]-f[1]),l),h[1].length),$=Math.min(o.gt(h[1],(d[3]-f[1])/(f[3]-f[1]),l),h[1].length),B=I+6*D,N=6*Math.max(0,$-D);i[0]=2*(m[0]-S[1])/y-1,i[1]=(m[3]+m[1])/_-1,a[0]=S[1]*v/y,a[1]=k[1]*v/_,N&&(T.color=O[1],T.tickScale=a,T.dataAxis=r,T.screenOffset=i,p.drawArrays(p.TRIANGLES,B,N)),i[0]=(m[2]+m[0])/y-1,i[1]=2*(m[1]-S[0])/_-1,a[0]=k[0]*v/y,a[1]=S[0]*v/_,R&&(T.color=O[0],T.tickScale=a,T.dataAxis=n,T.screenOffset=i,p.drawArrays(p.TRIANGLES,z,R)),i[0]=2*(m[2]+S[3])/y-1,i[1]=(m[3]+m[1])/_-1,a[0]=S[3]*v/y,a[1]=k[3]*v/_,N&&(T.color=O[3],T.tickScale=a,T.dataAxis=r,T.screenOffset=i,p.drawArrays(p.TRIANGLES,B,N)),i[0]=(m[2]+m[0])/y-1,i[1]=2*(m[3]+S[2])/_-1,a[0]=k[2]*v/y,a[1]=S[2]*v/_,R&&(T.color=O[2],T.tickScale=a,T.dataAxis=n,T.screenOffset=i,p.drawArrays(p.TRIANGLES,z,R))}}(),d.update=(p=[1,1,-1,-1,1,-1],f=[1,-1,1,1,-1,-1],function(t){for(var e=t.ticks,n=t.bounds,r=new Float32Array(18*(e[0].length+e[1].length)),i=(this.plot.zeroLineEnable,0),o=[[],[]],a=0;a<2;++a)for(var s=o[a],l=e[a],u=n[a],c=n[a+2],h=0;h<l.length;++h){var d=(l[h].x-u)/(c-u);s.push(d);for(var m=0;m<6;++m)r[i++]=d,r[i++]=p[m],r[i++]=f[m]}this.ticks=o,this.vbo.update(r)}),d.dispose=function(){this.vbo.dispose(),this.shader.dispose(),this.tickShader.dispose()}},{\\\"./shaders\\\":291,\\\"binary-search-bounds\\\":94,\\\"gl-buffer\\\":253,\\\"gl-shader\\\":307}],290:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.gl;return new a(t,r(e,[-1,-1,-1,1,1,-1,1,1]),i(e,o.lineVert,o.lineFrag))};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-shader\\\"),o=t(\\\"./shaders\\\");function a(t,e,n){this.plot=t,this.vbo=e,this.shader=n}var s,l,u=a.prototype;u.bind=function(){var t=this.shader;this.vbo.bind(),this.shader.bind(),t.attributes.coord.pointer(),t.uniforms.screenBox=this.plot.screenBox},u.drawLine=(s=[0,0],l=[0,0],function(t,e,n,r,i,o){var a=this.plot,u=this.shader,c=a.gl;s[0]=t,s[1]=e,l[0]=n,l[1]=r,u.uniforms.start=s,u.uniforms.end=l,u.uniforms.width=i*a.pixelRatio,u.uniforms.color=o,c.drawArrays(c.TRIANGLE_STRIP,0,4)}),u.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},{\\\"./shaders\\\":291,\\\"gl-buffer\\\":253,\\\"gl-shader\\\":307}],291:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"glslify\\\"),i=r([\\\"precision lowp float;\\\\n#define GLSLIFY 1\\\\nuniform vec4 color;\\\\nvoid main() {\\\\n gl_FragColor = vec4(color.xyz * color.w, color.w);\\\\n}\\\\n\\\"]);e.exports={lineVert:r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 coord;\\\\n\\\\nuniform vec4 screenBox;\\\\nuniform vec2 start, end;\\\\nuniform float width;\\\\n\\\\nvec2 perp(vec2 v) {\\\\n return vec2(v.y, -v.x);\\\\n}\\\\n\\\\nvec2 screen(vec2 v) {\\\\n return 2.0 * (v - screenBox.xy) / (screenBox.zw - screenBox.xy) - 1.0;\\\\n}\\\\n\\\\nvoid main() {\\\\n vec2 delta = normalize(perp(start - end));\\\\n vec2 offset = mix(start, end, 0.5 * (coord.y+1.0));\\\\n gl_Position = vec4(screen(offset + 0.5 * width * delta * coord.x), 0, 1);\\\\n}\\\\n\\\"]),lineFrag:i,textVert:r([\\\"#define GLSLIFY 1\\\\nattribute vec3 textCoordinate;\\\\n\\\\nuniform vec2 dataScale, dataShift, dataAxis, screenOffset, textScale;\\\\nuniform float angle;\\\\n\\\\nvoid main() {\\\\n float dataOffset = textCoordinate.z;\\\\n vec2 glyphOffset = textCoordinate.xy;\\\\n mat2 glyphMatrix = mat2(cos(angle), sin(angle), -sin(angle), cos(angle));\\\\n vec2 screenCoordinate = dataAxis * (dataScale * dataOffset + dataShift) +\\\\n glyphMatrix * glyphOffset * textScale + screenOffset;\\\\n gl_Position = vec4(screenCoordinate, 0, 1);\\\\n}\\\\n\\\"]),textFrag:i,gridVert:r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 dataCoord;\\\\n\\\\nuniform vec2 dataAxis, dataShift, dataScale;\\\\nuniform float lineWidth;\\\\n\\\\nvoid main() {\\\\n vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift);\\\\n pos += 10.0 * dataCoord.y * vec2(dataAxis.y, -dataAxis.x) + dataCoord.z * lineWidth;\\\\n gl_Position = vec4(pos, 0, 1);\\\\n}\\\\n\\\"]),gridFrag:i,boxVert:r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 coord;\\\\n\\\\nuniform vec4 screenBox;\\\\nuniform vec2 lo, hi;\\\\n\\\\nvec2 screen(vec2 v) {\\\\n return 2.0 * (v - screenBox.xy) / (screenBox.zw - screenBox.xy) - 1.0;\\\\n}\\\\n\\\\nvoid main() {\\\\n gl_Position = vec4(screen(mix(lo, hi, coord)), 0, 1);\\\\n}\\\\n\\\"]),tickVert:r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 dataCoord;\\\\n\\\\nuniform vec2 dataAxis, dataShift, dataScale, screenOffset, tickScale;\\\\n\\\\nvoid main() {\\\\n vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift);\\\\n gl_Position = vec4(pos + tickScale*dataCoord.yz + screenOffset, 0, 1);\\\\n}\\\\n\\\"])}},{glslify:408}],292:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.gl;return new l(t,r(e),i(e,s.textVert,s.textFrag))};var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-shader\\\"),o=t(\\\"text-cache\\\"),a=t(\\\"binary-search-bounds\\\"),s=t(\\\"./shaders\\\");function l(t,e,n){this.plot=t,this.vbo=e,this.shader=n,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var u,c,h,p,f,d,m=l.prototype;m.drawTicks=(u=[0,0],c=[0,0],h=[0,0],function(t){var e=this.plot,n=this.shader,r=this.tickX[t],i=this.tickOffset[t],o=e.gl,s=e.viewBox,l=e.dataBox,p=e.screenBox,f=e.pixelRatio,d=e.tickEnable,m=e.tickPad,v=e.tickColor,g=e.tickAngle,y=e.labelEnable,_=e.labelPad,b=e.labelColor,x=e.labelAngle,w=this.labelOffset[t],A=this.labelCount[t],C=a.lt(r,l[t]),M=a.le(r,l[t+2]);u[0]=u[1]=0,u[t]=1,c[t]=(s[2+t]+s[t])/(p[2+t]-p[t])-1;var E=2/p[2+(1^t)]-p[1^t];c[1^t]=E*s[1^t]-1,d[t]&&(c[1^t]-=E*f*m[t],C<M&&i[M]>i[C]&&(n.uniforms.dataAxis=u,n.uniforms.screenOffset=c,n.uniforms.color=v[t],n.uniforms.angle=g[t],o.drawArrays(o.TRIANGLES,i[C],i[M]-i[C]))),y[t]&&A&&(c[1^t]-=E*f*_[t],n.uniforms.dataAxis=h,n.uniforms.screenOffset=c,n.uniforms.color=b[t],n.uniforms.angle=x[t],o.drawArrays(o.TRIANGLES,w,A)),c[1^t]=E*s[2+(1^t)]-1,d[t+2]&&(c[1^t]+=E*f*m[t+2],C<M&&i[M]>i[C]&&(n.uniforms.dataAxis=u,n.uniforms.screenOffset=c,n.uniforms.color=v[t+2],n.uniforms.angle=g[t+2],o.drawArrays(o.TRIANGLES,i[C],i[M]-i[C]))),y[t+2]&&A&&(c[1^t]+=E*f*_[t+2],n.uniforms.dataAxis=h,n.uniforms.screenOffset=c,n.uniforms.color=b[t+2],n.uniforms.angle=x[t+2],o.drawArrays(o.TRIANGLES,w,A))}),m.drawTitle=function(){var t=[0,0],e=[0,0];return function(){var n=this.plot,r=this.shader,i=n.gl,o=n.screenBox,a=n.titleCenter,s=n.titleAngle,l=n.titleColor,u=n.pixelRatio;if(this.titleCount){for(var c=0;c<2;++c)e[c]=2*(a[c]*u-o[c])/(o[2+c]-o[c])-1;r.bind(),r.uniforms.dataAxis=t,r.uniforms.screenOffset=e,r.uniforms.angle=s,r.uniforms.color=l,i.drawArrays(i.TRIANGLES,this.titleOffset,this.titleCount)}}}(),m.bind=(p=[0,0],f=[0,0],d=[0,0],function(){var t=this.plot,e=this.shader,n=t._tickBounds,r=t.dataBox,i=t.screenBox,o=t.viewBox;e.bind();for(var a=0;a<2;++a){var s=n[a],l=n[a+2]-s,u=.5*(r[a+2]+r[a]),c=r[a+2]-r[a],h=o[a],m=o[a+2]-h,v=i[a],g=i[a+2]-v;f[a]=2*l/c*m/g,p[a]=2*(s-u)/c*m/g}d[1]=2*t.pixelRatio/(i[3]-i[1]),d[0]=d[1]*(i[3]-i[1])/(i[2]-i[0]),e.uniforms.dataScale=f,e.uniforms.dataShift=p,e.uniforms.textScale=d,this.vbo.bind(),e.attributes.textCoordinate.pointer()}),m.update=function(t){var e,n,r,i,a,s=[],l=t.ticks,u=t.bounds;for(a=0;a<2;++a){var c=[Math.floor(s.length/3)],h=[-1/0],p=l[a];for(e=0;e<p.length;++e){var f=p[e],d=f.x,m=f.text,v=f.font||\\\"sans-serif\\\";i=f.fontSize||12;for(var g=1/(u[a+2]-u[a]),y=u[a],_=m.split(\\\"\\\\n\\\"),b=0;b<_.length;b++)for(r=o(v,_[b]).data,n=0;n<r.length;n+=2)s.push(r[n]*i,-r[n+1]*i-b*i*1.2,(d-y)*g);c.push(Math.floor(s.length/3)),h.push(d)}this.tickOffset[a]=c,this.tickX[a]=h}for(a=0;a<2;++a){for(this.labelOffset[a]=Math.floor(s.length/3),r=o(t.labelFont[a],t.labels[a],{textAlign:\\\"center\\\"}).data,i=t.labelSize[a],e=0;e<r.length;e+=2)s.push(r[e]*i,-r[e+1]*i,0);this.labelCount[a]=Math.floor(s.length/3)-this.labelOffset[a]}for(this.titleOffset=Math.floor(s.length/3),r=o(t.titleFont,t.title).data,i=t.titleSize,e=0;e<r.length;e+=2)s.push(r[e]*i,-r[e+1]*i,0);this.titleCount=Math.floor(s.length/3)-this.titleOffset,this.vbo.update(s)},m.dispose=function(){this.vbo.dispose(),this.shader.dispose()}},{\\\"./shaders\\\":291,\\\"binary-search-bounds\\\":94,\\\"gl-buffer\\\":253,\\\"gl-shader\\\":307,\\\"text-cache\\\":527}],293:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.gl,n=new l(e,r(e,[e.drawingBufferWidth,e.drawingBufferHeight]));return n.grid=i(n),n.text=o(n),n.line=a(n),n.box=s(n),n.update(t),n};var r=t(\\\"gl-select-static\\\"),i=t(\\\"./lib/grid\\\"),o=t(\\\"./lib/text\\\"),a=t(\\\"./lib/line\\\"),s=t(\\\"./lib/box\\\");function l(t,e){this.gl=t,this.pickBuffer=e,this.screenBox=[0,0,t.drawingBufferWidth,t.drawingBufferHeight],this.viewBox=[0,0,0,0],this.dataBox=[-10,-10,10,10],this.gridLineEnable=[!0,!0],this.gridLineWidth=[1,1],this.gridLineColor=[[0,0,0,1],[0,0,0,1]],this.pixelRatio=1,this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickEnable=[!0,!0,!0,!0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[15,15,15,15],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelEnable=[!0,!0,!0,!0],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.titleCenter=[0,0],this.titleEnable=!0,this.titleAngle=0,this.titleColor=[0,0,0,1],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[4,4],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderLineEnable=[!0,!0,!0,!0],this.borderLineWidth=[2,2,2,2],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.grid=null,this.text=null,this.line=null,this.box=null,this.objects=[],this.overlays=[],this._tickBounds=[1/0,1/0,-1/0,-1/0],this.static=!1,this.dirty=!1,this.pickDirty=!1,this.pickDelay=120,this.pickRadius=10,this._pickTimeout=null,this._drawPick=this.drawPick.bind(this),this._depthCounter=0}var u=l.prototype;function c(t){for(var e=t.slice(),n=0;n<e.length;++n)e[n]=e[n].slice();return e}function h(t,e){return t.x-e.x}u.setDirty=function(){this.dirty=this.pickDirty=!0},u.setOverlayDirty=function(){this.dirty=!0},u.nextDepthValue=function(){return this._depthCounter++/65536},u.draw=function(){var t=this.gl,e=this.screenBox,n=this.viewBox,r=this.dataBox,i=this.pixelRatio,o=this.grid,a=this.line,s=this.text,l=this.objects;if(this._depthCounter=0,this.pickDirty&&(this._pickTimeout&&clearTimeout(this._pickTimeout),this.pickDirty=!1,this._pickTimeout=setTimeout(this._drawPick,this.pickDelay)),this.dirty){if(this.dirty=!1,t.bindFramebuffer(t.FRAMEBUFFER,null),t.enable(t.SCISSOR_TEST),t.disable(t.DEPTH_TEST),t.depthFunc(t.LESS),t.depthMask(!1),t.enable(t.BLEND),t.blendEquation(t.FUNC_ADD,t.FUNC_ADD),t.blendFunc(t.ONE,t.ONE_MINUS_SRC_ALPHA),this.borderColor){t.scissor(e[0],e[1],e[2]-e[0],e[3]-e[1]);var u=this.borderColor;t.clearColor(u[0]*u[3],u[1]*u[3],u[2]*u[3],u[3]),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}t.scissor(n[0],n[1],n[2]-n[0],n[3]-n[1]),t.viewport(n[0],n[1],n[2]-n[0],n[3]-n[1]);var c=this.backgroundColor;t.clearColor(c[0]*c[3],c[1]*c[3],c[2]*c[3],c[3]),t.clear(t.COLOR_BUFFER_BIT),o.draw();var h=this.zeroLineEnable,p=this.zeroLineColor,f=this.zeroLineWidth;if(h[0]||h[1]){a.bind();for(var d=0;d<2;++d)if(h[d]&&r[d]<=0&&r[d+2]>=0){var m=e[d]-r[d]*(e[d+2]-e[d])/(r[d+2]-r[d]);0===d?a.drawLine(m,e[1],m,e[3],f[d],p[d]):a.drawLine(e[0],m,e[2],m,f[d],p[d])}}for(d=0;d<l.length;++d)l[d].draw();t.viewport(e[0],e[1],e[2]-e[0],e[3]-e[1]),t.scissor(e[0],e[1],e[2]-e[0],e[3]-e[1]),this.grid.drawTickMarks(),a.bind();var v=this.borderLineEnable,g=this.borderLineWidth,y=this.borderLineColor;for(v[1]&&a.drawLine(n[0],n[1]-.5*g[1]*i,n[0],n[3]+.5*g[3]*i,g[1],y[1]),v[0]&&a.drawLine(n[0]-.5*g[0]*i,n[1],n[2]+.5*g[2]*i,n[1],g[0],y[0]),v[3]&&a.drawLine(n[2],n[1]-.5*g[1]*i,n[2],n[3]+.5*g[3]*i,g[3],y[3]),v[2]&&a.drawLine(n[0]-.5*g[0]*i,n[3],n[2]+.5*g[2]*i,n[3],g[2],y[2]),s.bind(),d=0;d<2;++d)s.drawTicks(d);this.titleEnable&&s.drawTitle();var _=this.overlays;for(d=0;d<_.length;++d)_[d].draw();t.disable(t.SCISSOR_TEST),t.disable(t.BLEND),t.depthMask(!0)}},u.drawPick=function(){if(!this.static){var t=this.pickBuffer;this.gl,this._pickTimeout=null,t.begin();for(var e=1,n=this.objects,r=0;r<n.length;++r)e=n[r].drawPick(e);t.end()}},u.pick=function(t,e){if(!this.static){var n=this.pixelRatio,r=this.pickPixelRatio,i=this.viewBox,o=0|Math.round((t-i[0]/n)*r),a=0|Math.round((e-i[1]/n)*r),s=this.pickBuffer.query(o,a,this.pickRadius);if(!s)return null;for(var l=s.id+(s.value[0]<<8)+(s.value[1]<<16)+(s.value[2]<<24),u=this.objects,c=0;c<u.length;++c){var h=u[c].pick(o,a,l);if(h)return h}return null}},u.setScreenBox=function(t){var e=this.screenBox,n=this.pixelRatio;e[0]=0|Math.round(t[0]*n),e[1]=0|Math.round(t[1]*n),e[2]=0|Math.round(t[2]*n),e[3]=0|Math.round(t[3]*n),this.setDirty()},u.setDataBox=function(t){var e=this.dataBox;(e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3])&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],this.setDirty())},u.setViewBox=function(t){var e=this.pixelRatio,n=this.viewBox;n[0]=0|Math.round(t[0]*e),n[1]=0|Math.round(t[1]*e),n[2]=0|Math.round(t[2]*e),n[3]=0|Math.round(t[3]*e);var r=this.pickPixelRatio;this.pickBuffer.shape=[0|Math.round((t[2]-t[0])*r),0|Math.round((t[3]-t[1])*r)],this.setDirty()},u.update=function(t){t=t||{};var e=this.gl;this.pixelRatio=t.pixelRatio||1;var n=this.pixelRatio;this.pickPixelRatio=Math.max(n,1),this.setScreenBox(t.screenBox||[0,0,e.drawingBufferWidth/n,e.drawingBufferHeight/n]),this.screenBox,this.setViewBox(t.viewBox||[.125*(this.screenBox[2]-this.screenBox[0])/n,.125*(this.screenBox[3]-this.screenBox[1])/n,.875*(this.screenBox[2]-this.screenBox[0])/n,.875*(this.screenBox[3]-this.screenBox[1])/n]);var r=this.viewBox,i=(r[2]-r[0])/(r[3]-r[1]);this.setDataBox(t.dataBox||[-10,-10/i,10,10/i]),this.borderColor=!1!==t.borderColor&&(t.borderColor||[0,0,0,0]).slice(),this.backgroundColor=(t.backgroundColor||[0,0,0,0]).slice(),this.gridLineEnable=(t.gridLineEnable||[!0,!0]).slice(),this.gridLineWidth=(t.gridLineWidth||[1,1]).slice(),this.gridLineColor=c(t.gridLineColor||[[.5,.5,.5,1],[.5,.5,.5,1]]),this.zeroLineEnable=(t.zeroLineEnable||[!0,!0]).slice(),this.zeroLineWidth=(t.zeroLineWidth||[4,4]).slice(),this.zeroLineColor=c(t.zeroLineColor||[[0,0,0,1],[0,0,0,1]]),this.tickMarkLength=(t.tickMarkLength||[0,0,0,0]).slice(),this.tickMarkWidth=(t.tickMarkWidth||[0,0,0,0]).slice(),this.tickMarkColor=c(t.tickMarkColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.titleCenter=(t.titleCenter||[.5*(r[0]+r[2])/n,(r[3]+120)/n]).slice(),this.titleEnable=!(\\\"titleEnable\\\"in t)||!!t.titleEnable,this.titleAngle=t.titleAngle||0,this.titleColor=(t.titleColor||[0,0,0,1]).slice(),this.labelPad=(t.labelPad||[15,15,15,15]).slice(),this.labelAngle=(t.labelAngle||[0,Math.PI/2,0,3*Math.PI/2]).slice(),this.labelEnable=(t.labelEnable||[!0,!0,!0,!0]).slice(),this.labelColor=c(t.labelColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.tickPad=(t.tickPad||[15,15,15,15]).slice(),this.tickAngle=(t.tickAngle||[0,0,0,0]).slice(),this.tickEnable=(t.tickEnable||[!0,!0,!0,!0]).slice(),this.tickColor=c(t.tickColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]),this.borderLineEnable=(t.borderLineEnable||[!0,!0,!0,!0]).slice(),this.borderLineWidth=(t.borderLineWidth||[2,2,2,2]).slice(),this.borderLineColor=c(t.borderLineColor||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]);var o=t.ticks||[[],[]],a=this._tickBounds;a[0]=a[1]=1/0,a[2]=a[3]=-1/0;for(var s=0;s<2;++s){var l=o[s].slice(0);0!==l.length&&(l.sort(h),a[s]=Math.min(a[s],l[0].x),a[s+2]=Math.max(a[s+2],l[l.length-1].x))}this.grid.update({bounds:a,ticks:o}),this.text.update({bounds:a,ticks:o,labels:t.labels||[\\\"x\\\",\\\"y\\\"],labelSize:t.labelSize||[12,12],labelFont:t.labelFont||[\\\"sans-serif\\\",\\\"sans-serif\\\"],title:t.title||\\\"\\\",titleSize:t.titleSize||18,titleFont:t.titleFont||\\\"sans-serif\\\"}),this.static=!!t.static,this.setDirty()},u.dispose=function(){this.box.dispose(),this.grid.dispose(),this.text.dispose(),this.line.dispose();for(var t=this.objects.length-1;t>=0;--t)this.objects[t].dispose();for(this.objects.length=0,t=this.overlays.length-1;t>=0;--t)this.overlays[t].dispose();this.overlays.length=0,this.gl=null},u.addObject=function(t){this.objects.indexOf(t)<0&&(this.objects.push(t),this.setDirty())},u.removeObject=function(t){for(var e=this.objects,n=0;n<e.length;++n)if(e[n]===t){e.splice(n,1),this.setDirty();break}},u.addOverlay=function(t){this.overlays.indexOf(t)<0&&(this.overlays.push(t),this.setOverlayDirty())},u.removeOverlay=function(t){for(var e=this.overlays,n=0;n<e.length;++n)if(e[n]===t){e.splice(n,1),this.setOverlayDirty();break}}},{\\\"./lib/box\\\":288,\\\"./lib/grid\\\":289,\\\"./lib/line\\\":290,\\\"./lib/text\\\":292,\\\"gl-select-static\\\":306}],294:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){t=t||document.body;var n=[.01,1/0];\\\"distanceLimits\\\"in(e=e||{})&&(n[0]=e.distanceLimits[0],n[1]=e.distanceLimits[1]),\\\"zoomMin\\\"in e&&(n[0]=e.zoomMin),\\\"zoomMax\\\"in e&&(n[1]=e.zoomMax);var u=i({center:e.center||[0,0,0],up:e.up||[0,1,0],eye:e.eye||[0,0,10],mode:e.mode||\\\"orbit\\\",distanceLimits:n}),c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h=0,p=t.clientWidth,f=t.clientHeight,d={keyBindingMode:\\\"rotate\\\",enableWheel:!0,view:u,element:t,delay:e.delay||16,rotateSpeed:e.rotateSpeed||1,zoomSpeed:e.zoomSpeed||1,translateSpeed:e.translateSpeed||1,flipX:!!e.flipX,flipY:!!e.flipY,modes:u.modes,_ortho:e._ortho||e.projection&&\\\"orthographic\\\"===e.projection.type||!1,tick:function(){var e=r(),n=this.delay,i=e-2*n;u.idle(e-n),u.recalcMatrix(i),u.flush(e-(100+2*n));for(var o=!0,a=u.computedMatrix,s=0;s<16;++s)o=o&&c[s]===a[s],c[s]=a[s];var l=t.clientWidth===p&&t.clientHeight===f;return p=t.clientWidth,f=t.clientHeight,o?!l:(h=Math.exp(u.computedRadius[0]),!0)},lookAt:function(t,e,n){u.lookAt(u.lastT(),t,e,n)},rotate:function(t,e,n){u.rotate(u.lastT(),t,e,n)},pan:function(t,e,n){u.pan(u.lastT(),t,e,n)},translate:function(t,e,n){u.translate(u.lastT(),t,e,n)}};return Object.defineProperties(d,{matrix:{get:function(){return u.computedMatrix},set:function(t){return u.setMatrix(u.lastT(),t),u.computedMatrix},enumerable:!0},mode:{get:function(){return u.getMode()},set:function(t){var e=u.computedUp.slice(),n=u.computedEye.slice(),i=u.computedCenter.slice();if(u.setMode(t),\\\"turntable\\\"===t){var o=r();u._active.lookAt(o,n,i,e),u._active.lookAt(o+500,n,i,[0,0,1]),u._active.flush(o)}return u.getMode()},enumerable:!0},center:{get:function(){return u.computedCenter},set:function(t){return u.lookAt(u.lastT(),null,t),u.computedCenter},enumerable:!0},eye:{get:function(){return u.computedEye},set:function(t){return u.lookAt(u.lastT(),t),u.computedEye},enumerable:!0},up:{get:function(){return u.computedUp},set:function(t){return u.lookAt(u.lastT(),null,null,t),u.computedUp},enumerable:!0},distance:{get:function(){return h},set:function(t){return u.setDistance(u.lastT(),t),t},enumerable:!0},distanceLimits:{get:function(){return u.getDistanceLimits(n)},set:function(t){return u.setDistanceLimits(t),t},enumerable:!0}}),t.addEventListener(\\\"contextmenu\\\",(function(t){return t.preventDefault(),!1})),d._lastX=-1,d._lastY=-1,d._lastMods={shift:!1,control:!1,alt:!1,meta:!1},d.enableMouseListeners=function(){function e(e,n,i,o){var a=d.keyBindingMode;if(!1!==a){var s=\\\"rotate\\\"===a,l=\\\"pan\\\"===a,c=\\\"zoom\\\"===a,p=!!o.control,f=!!o.alt,m=!!o.shift,v=!!(1&e),g=!!(2&e),y=!!(4&e),_=1/t.clientHeight,b=_*(n-d._lastX),x=_*(i-d._lastY),w=d.flipX?1:-1,A=d.flipY?1:-1,C=Math.PI*d.rotateSpeed,M=r();if(-1!==d._lastX&&-1!==d._lastY&&((s&&v&&!p&&!f&&!m||v&&!p&&!f&&m)&&u.rotate(M,w*C*b,-A*C*x,0),(l&&v&&!p&&!f&&!m||g||v&&p&&!f&&!m)&&u.pan(M,-d.translateSpeed*b*h,d.translateSpeed*x*h,0),c&&v&&!p&&!f&&!m||y||v&&!p&&f&&!m)){var E=-d.zoomSpeed*x/window.innerHeight*(M-u.lastT())*100;u.pan(M,0,0,h*(Math.exp(E)-1))}return d._lastX=n,d._lastY=i,d._lastMods=o,!0}}d.mouseListener=o(t,e),t.addEventListener(\\\"touchstart\\\",(function(n){var r=s(n.changedTouches[0],t);e(0,r[0],r[1],d._lastMods),e(1,r[0],r[1],d._lastMods),n.preventDefault()}),!!l&&{passive:!1}),t.addEventListener(\\\"touchmove\\\",(function(n){var r=s(n.changedTouches[0],t);e(1,r[0],r[1],d._lastMods),n.preventDefault()}),!!l&&{passive:!1}),t.addEventListener(\\\"touchend\\\",(function(t){e(0,d._lastX,d._lastY,d._lastMods),t.preventDefault()}),!!l&&{passive:!1}),d.wheelListener=a(t,(function(t,e){if(!1!==d.keyBindingMode&&d.enableWheel){var n=d.flipX?1:-1,i=d.flipY?1:-1,o=r();if(Math.abs(t)>Math.abs(e))u.rotate(o,0,0,-t*n*Math.PI*d.rotateSpeed/window.innerWidth);else if(!d._ortho){var a=-d.zoomSpeed*i*e/window.innerHeight*(o-u.lastT())/20;u.pan(o,0,0,h*(Math.exp(a)-1))}}}),!0)},d.enableMouseListeners(),d};var r=t(\\\"right-now\\\"),i=t(\\\"3d-view\\\"),o=t(\\\"mouse-change\\\"),a=t(\\\"mouse-wheel\\\"),s=t(\\\"mouse-event-offset\\\"),l=t(\\\"has-passive-events\\\")},{\\\"3d-view\\\":54,\\\"has-passive-events\\\":410,\\\"mouse-change\\\":436,\\\"mouse-event-offset\\\":437,\\\"mouse-wheel\\\":439,\\\"right-now\\\":494}],295:[function(t,e,n){var r=t(\\\"glslify\\\"),i=t(\\\"gl-shader\\\"),o=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\nattribute vec2 position;\\\\nvarying vec2 uv;\\\\nvoid main() {\\\\n uv = position;\\\\n gl_Position = vec4(position, 0, 1);\\\\n}\\\"]),a=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform sampler2D accumBuffer;\\\\nvarying vec2 uv;\\\\n\\\\nvoid main() {\\\\n vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0));\\\\n gl_FragColor = min(vec4(1,1,1,1), accum);\\\\n}\\\"]);e.exports=function(t){return i(t,o,a,null,[{name:\\\"position\\\",type:\\\"vec2\\\"}])}},{\\\"gl-shader\\\":307,glslify:408}],296:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./camera.js\\\"),i=t(\\\"gl-axes3d\\\"),o=t(\\\"gl-axes3d/properties\\\"),a=t(\\\"gl-spikes3d\\\"),s=t(\\\"gl-select-static\\\"),l=t(\\\"gl-fbo\\\"),u=t(\\\"a-big-triangle\\\"),c=t(\\\"mouse-change\\\"),h=t(\\\"gl-mat4/perspective\\\"),p=t(\\\"gl-mat4/ortho\\\"),f=t(\\\"./lib/shader\\\"),d=t(\\\"is-mobile\\\")({tablet:!0,featureDetect:!0});function m(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function v(t){var e=Math.round(Math.log(Math.abs(t))/Math.log(10));if(e<0){var n=Math.round(Math.pow(10,-e));return Math.ceil(t*n)/n}return e>0?(n=Math.round(Math.pow(10,e)),Math.ceil(t/n)*n):Math.ceil(t)}function g(t){return\\\"boolean\\\"!=typeof t||t}e.exports={createScene:function(t){(t=t||{}).camera=t.camera||{};var e=t.canvas;e||(e=document.createElement(\\\"canvas\\\"),t.container?t.container.appendChild(e):document.body.appendChild(e));var n=t.gl;if(n||(t.glOptions&&(d=!!t.glOptions.preserveDrawingBuffer),n=function(t,e){var n=null;try{(n=t.getContext(\\\"webgl\\\",e))||(n=t.getContext(\\\"experimental-webgl\\\",e))}catch(t){return null}return n}(e,t.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:d})),!n)throw new Error(\\\"webgl not supported\\\");var y=t.bounds||[[-10,-10,-10],[10,10,10]],_=new m,b=l(n,n.drawingBufferWidth,n.drawingBufferHeight,{preferFloat:!d}),x=f(n),w=t.cameraObject&&!0===t.cameraObject._ortho||t.camera.projection&&\\\"orthographic\\\"===t.camera.projection.type||!1,A={eye:t.camera.eye||[2,0,0],center:t.camera.center||[0,0,0],up:t.camera.up||[0,1,0],zoomMin:t.camera.zoomMax||.1,zoomMax:t.camera.zoomMin||100,mode:t.camera.mode||\\\"turntable\\\",_ortho:w},C=t.axes||{},M=i(n,C);M.enable=!C.disable;var E=t.spikes||{},T=a(n,E),S=[],k=[],O=[],I=[],L=!0,P=!0,z={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},R=(P=!0,[n.drawingBufferWidth,n.drawingBufferHeight]),D=t.cameraObject||r(e,A),$={gl:n,contextLost:!1,pixelRatio:t.pixelRatio||1,canvas:e,selection:_,camera:D,axes:M,axesPixels:null,spikes:T,bounds:y,objects:S,shape:R,aspect:t.aspectRatio||[1,1,1],pickRadius:t.pickRadius||10,zNear:t.zNear||.01,zFar:t.zFar||1e3,fovy:t.fovy||Math.PI/4,clearColor:t.clearColor||[0,0,0,0],autoResize:g(t.autoResize),autoBounds:g(t.autoBounds),autoScale:!!t.autoScale,autoCenter:g(t.autoCenter),clipToBounds:g(t.clipToBounds),snapToData:!!t.snapToData,onselect:t.onselect||null,onrender:t.onrender||null,onclick:t.onclick||null,cameraParams:z,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(t){this.aspect[0]=t.x,this.aspect[1]=t.y,this.aspect[2]=t.z,P=!0},setBounds:function(t,e){this.bounds[0][t]=e.min,this.bounds[1][t]=e.max},setClearColor:function(t){this.clearColor=t},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},B=[n.drawingBufferWidth/$.pixelRatio|0,n.drawingBufferHeight/$.pixelRatio|0];function N(){if(!$._stopped&&$.autoResize){var t=e.parentNode,n=1,r=1;t&&t!==document.body?(n=t.clientWidth,r=t.clientHeight):(n=window.innerWidth,r=window.innerHeight);var i=0|Math.ceil(n*$.pixelRatio),o=0|Math.ceil(r*$.pixelRatio);if(i!==e.width||o!==e.height){e.width=i,e.height=o;var a=e.style;a.position=a.position||\\\"absolute\\\",a.left=\\\"0px\\\",a.top=\\\"0px\\\",a.width=n+\\\"px\\\",a.height=r+\\\"px\\\",L=!0}}}function F(){for(var t=S.length,e=I.length,r=0;r<e;++r)O[r]=0;t:for(r=0;r<t;++r){var i=S[r],o=i.pickSlots;if(o){for(var a=0;a<e;++a)if(O[a]+o<255){k[r]=a,i.setPickBase(O[a]+1),O[a]+=o;continue t}var l=s(n,R);k[r]=e,I.push(l),O.push(o),i.setPickBase(1),e+=1}else k[r]=-1}for(;e>0&&0===O[e-1];)O.pop(),I.pop().dispose()}function j(){if($.contextLost)return!0;n.isContextLost()&&($.contextLost=!0,$.mouseListener.enabled=!1,$.selection.object=null,$.oncontextloss&&$.oncontextloss())}$.autoResize&&N(),window.addEventListener(\\\"resize\\\",N),$.update=function(t){$._stopped||(t=t||{},L=!0,P=!0)},$.add=function(t){$._stopped||(t.axes=M,S.push(t),k.push(-1),L=!0,P=!0,F())},$.remove=function(t){if(!$._stopped){var e=S.indexOf(t);e<0||(S.splice(e,1),k.pop(),L=!0,P=!0,F())}},$.dispose=function(){if(!$._stopped&&($._stopped=!0,window.removeEventListener(\\\"resize\\\",N),e.removeEventListener(\\\"webglcontextlost\\\",j),$.mouseListener.enabled=!1,!$.contextLost)){M.dispose(),T.dispose();for(var t=0;t<S.length;++t)S[t].dispose();for(b.dispose(),t=0;t<I.length;++t)I[t].dispose();x.dispose(),n=null,M=null,T=null,S=[]}},$._mouseRotating=!1,$._prevButtons=0,$.enableMouseListeners=function(){$.mouseListener=c(e,(function(t,e,n){if(!$._stopped){var r=I.length,i=S.length,o=_.object;_.distance=1/0,_.mouse[0]=e,_.mouse[1]=n,_.object=null,_.screen=null,_.dataCoordinate=_.dataPosition=null;var a=!1;if(t&&$._prevButtons)$._mouseRotating=!0;else{$._mouseRotating&&(P=!0),$._mouseRotating=!1;for(var s=0;s<r;++s){var l=I[s].query(e,B[1]-n-1,$.pickRadius);if(l){if(l.distance>_.distance)continue;for(var u=0;u<i;++u){var c=S[u];if(k[u]===s){var h=c.pick(l);h&&(_.buttons=t,_.screen=l.coord,_.distance=l.distance,_.object=c,_.index=h.distance,_.dataPosition=h.position,_.dataCoordinate=h.dataCoordinate,_.data=h,a=!0)}}}}}o&&o!==_.object&&(o.highlight&&o.highlight(null),L=!0),_.object&&(_.object.highlight&&_.object.highlight(_.data),L=!0),(a=a||_.object!==o)&&$.onselect&&$.onselect(_),1&t&&!(1&$._prevButtons)&&$.onclick&&$.onclick(_),$._prevButtons=t}}))},e.addEventListener(\\\"webglcontextlost\\\",j);var U=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],q=[U[0].slice(),U[1].slice()];function V(){if(!j()){N();var t=$.camera.tick();z.view=$.camera.matrix,L=L||t,P=P||t,M.pixelRatio=$.pixelRatio,T.pixelRatio=$.pixelRatio;var e=S.length,r=U[0],i=U[1];r[0]=r[1]=r[2]=1/0,i[0]=i[1]=i[2]=-1/0;for(var a=0;a<e;++a){(O=S[a]).pixelRatio=$.pixelRatio,O.axes=$.axes,L=L||!!O.dirty,P=P||!!O.dirty;var s=O.bounds;if(s)for(var l=s[0],c=s[1],f=0;f<3;++f)r[f]=Math.min(r[f],l[f]),i[f]=Math.max(i[f],c[f])}var d=$.bounds;if($.autoBounds)for(f=0;f<3;++f){if(i[f]<r[f])r[f]=-1,i[f]=1;else{r[f]===i[f]&&(r[f]-=1,i[f]+=1);var m=.05*(i[f]-r[f]);r[f]=r[f]-m,i[f]=i[f]+m}d[0][f]=r[f],d[1][f]=i[f]}var g=!1;for(f=0;f<3;++f)g=g||q[0][f]!==d[0][f]||q[1][f]!==d[1][f],q[0][f]=d[0][f],q[1][f]=d[1][f];if(P=P||g,L=L||g){if(g){var y=[0,0,0];for(a=0;a<3;++a)y[a]=v((d[1][a]-d[0][a])/10);M.autoTicks?M.update({bounds:d,tickSpacing:y}):M.update({bounds:d})}var A=n.drawingBufferWidth,C=n.drawingBufferHeight;for(R[0]=A,R[1]=C,B[0]=0|Math.max(A/$.pixelRatio,1),B[1]=0|Math.max(C/$.pixelRatio,1),function(t,e){var n=t.bounds,r=t.cameraParams,i=r.projection,o=r.model,a=t.gl.drawingBufferWidth,s=t.gl.drawingBufferHeight,l=t.zNear,u=t.zFar,c=t.fovy,f=a/s;e?(p(i,-f,f,-1,1,l,u),r._ortho=!0):(h(i,c,f,l,u),r._ortho=!1);for(var d=0;d<16;++d)o[d]=0;o[15]=1;var m=0;for(d=0;d<3;++d)m=Math.max(m,n[1][d]-n[0][d]);for(d=0;d<3;++d)t.autoScale?o[5*d]=t.aspect[d]/(n[1][d]-n[0][d]):o[5*d]=1/m,t.autoCenter&&(o[12+d]=.5*-o[5*d]*(n[0][d]+n[1][d]))}($,w),a=0;a<e;++a)(O=S[a]).axesBounds=d,$.clipToBounds&&(O.clipBounds=d);_.object&&($.snapToData?T.position=_.dataCoordinate:T.position=_.dataPosition,T.bounds=d),P&&(P=!1,function(){if(!j()){n.colorMask(!0,!0,!0,!0),n.depthMask(!0),n.disable(n.BLEND),n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL);for(var t=S.length,e=I.length,r=0;r<e;++r){var i=I[r];i.shape=B,i.begin();for(var o=0;o<t;++o)if(k[o]===r){var a=S[o];a.drawPick&&(a.pixelRatio=1,a.drawPick(z))}i.end()}}}()),$.axesPixels=o($.axes,z,A,C),$.onrender&&$.onrender(),n.bindFramebuffer(n.FRAMEBUFFER,null),n.viewport(0,0,A,C),$.clearRGBA(),n.depthMask(!0),n.colorMask(!0,!0,!0,!0),n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL),n.disable(n.BLEND),n.disable(n.CULL_FACE);var E=!1;for(M.enable&&(E=E||M.isTransparent(),M.draw(z)),T.axes=M,_.object&&T.draw(z),n.disable(n.CULL_FACE),a=0;a<e;++a)(O=S[a]).axes=M,O.pixelRatio=$.pixelRatio,O.isOpaque&&O.isOpaque()&&O.draw(z),O.isTransparent&&O.isTransparent()&&(E=!0);if(E){for(b.shape=R,b.bind(),n.clear(n.DEPTH_BUFFER_BIT),n.colorMask(!1,!1,!1,!1),n.depthMask(!0),n.depthFunc(n.LESS),M.enable&&M.isTransparent()&&M.drawTransparent(z),a=0;a<e;++a)(O=S[a]).isOpaque&&O.isOpaque()&&O.draw(z);for(n.enable(n.BLEND),n.blendEquation(n.FUNC_ADD),n.blendFunc(n.ONE,n.ONE_MINUS_SRC_ALPHA),n.colorMask(!0,!0,!0,!0),n.depthMask(!1),n.clearColor(0,0,0,0),n.clear(n.COLOR_BUFFER_BIT),M.isTransparent()&&M.drawTransparent(z),a=0;a<e;++a){var O;(O=S[a]).isTransparent&&O.isTransparent()&&O.drawTransparent(z)}n.bindFramebuffer(n.FRAMEBUFFER,null),n.blendFunc(n.ONE,n.ONE_MINUS_SRC_ALPHA),n.disable(n.DEPTH_TEST),x.bind(),b.color[0].bind(0),x.uniforms.accumBuffer=0,u(n),n.disable(n.BLEND)}for(L=!1,a=0;a<e;++a)S[a].dirty=!1}}}return $.enableMouseListeners(),function t(){$._stopped||$.contextLost||(V(),requestAnimationFrame(t))}(),$.redraw=function(){$._stopped||(L=!0,V())},$},createCamera:r}},{\\\"./camera.js\\\":294,\\\"./lib/shader\\\":295,\\\"a-big-triangle\\\":62,\\\"gl-axes3d\\\":245,\\\"gl-axes3d/properties\\\":252,\\\"gl-fbo\\\":261,\\\"gl-mat4/ortho\\\":276,\\\"gl-mat4/perspective\\\":277,\\\"gl-select-static\\\":306,\\\"gl-spikes3d\\\":316,\\\"is-mobile\\\":420,\\\"mouse-change\\\":436}],297:[function(t,e,n){var r=t(\\\"glslify\\\");n.pointVertex=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 position;\\\\n\\\\nuniform mat3 matrix;\\\\nuniform float pointSize;\\\\nuniform float pointCloud;\\\\n\\\\nhighp float rand(vec2 co) {\\\\n highp float a = 12.9898;\\\\n highp float b = 78.233;\\\\n highp float c = 43758.5453;\\\\n highp float d = dot(co.xy, vec2(a, b));\\\\n highp float e = mod(d, 3.14);\\\\n return fract(sin(e) * c);\\\\n}\\\\n\\\\nvoid main() {\\\\n vec3 hgPosition = matrix * vec3(position, 1);\\\\n gl_Position = vec4(hgPosition.xy, 0, hgPosition.z);\\\\n // if we don't jitter the point size a bit, overall point cloud\\\\n // saturation 'jumps' on zooming, which is disturbing and confusing\\\\n gl_PointSize = pointSize * ((19.5 + rand(position)) / 20.0);\\\\n if(pointCloud != 0.0) { // pointCloud is truthy\\\\n // get the same square surface as circle would be\\\\n gl_PointSize *= 0.886;\\\\n }\\\\n}\\\"]),n.pointFragment=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform vec4 color, borderColor;\\\\nuniform float centerFraction;\\\\nuniform float pointCloud;\\\\n\\\\nvoid main() {\\\\n float radius;\\\\n vec4 baseColor;\\\\n if(pointCloud != 0.0) { // pointCloud is truthy\\\\n if(centerFraction == 1.0) {\\\\n gl_FragColor = color;\\\\n } else {\\\\n gl_FragColor = mix(borderColor, color, centerFraction);\\\\n }\\\\n } else {\\\\n radius = length(2.0 * gl_PointCoord.xy - 1.0);\\\\n if(radius > 1.0) {\\\\n discard;\\\\n }\\\\n baseColor = mix(borderColor, color, step(radius, centerFraction));\\\\n gl_FragColor = vec4(baseColor.rgb * baseColor.a, baseColor.a);\\\\n }\\\\n}\\\\n\\\"]),n.pickVertex=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 position;\\\\nattribute vec4 pickId;\\\\n\\\\nuniform mat3 matrix;\\\\nuniform float pointSize;\\\\nuniform vec4 pickOffset;\\\\n\\\\nvarying vec4 fragId;\\\\n\\\\nvoid main() {\\\\n vec3 hgPosition = matrix * vec3(position, 1);\\\\n gl_Position = vec4(hgPosition.xy, 0, hgPosition.z);\\\\n gl_PointSize = pointSize;\\\\n\\\\n vec4 id = pickId + pickOffset;\\\\n id.y += floor(id.x / 256.0);\\\\n id.x -= floor(id.x / 256.0) * 256.0;\\\\n\\\\n id.z += floor(id.y / 256.0);\\\\n id.y -= floor(id.y / 256.0) * 256.0;\\\\n\\\\n id.w += floor(id.z / 256.0);\\\\n id.z -= floor(id.z / 256.0) * 256.0;\\\\n\\\\n fragId = id;\\\\n}\\\\n\\\"]),n.pickFragment=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nvarying vec4 fragId;\\\\n\\\\nvoid main() {\\\\n float radius = length(2.0 * gl_PointCoord.xy - 1.0);\\\\n if(radius > 1.0) {\\\\n discard;\\\\n }\\\\n gl_FragColor = fragId / 255.0;\\\\n}\\\\n\\\"])},{glslify:408}],298:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-shader\\\"),i=t(\\\"gl-buffer\\\"),o=t(\\\"typedarray-pool\\\"),a=t(\\\"./lib/shader\\\");function s(t,e,n,r,i){this.plot=t,this.offsetBuffer=e,this.pickBuffer=n,this.shader=r,this.pickShader=i,this.sizeMin=.5,this.sizeMinCap=2,this.sizeMax=20,this.areaRatio=1,this.pointCount=0,this.color=[1,0,0,1],this.borderColor=[0,0,0,1],this.blend=!1,this.pickOffset=0,this.points=null}e.exports=function(t,e){var n=t.gl,o=new s(t,i(n),i(n),r(n,a.pointVertex,a.pointFragment),r(n,a.pickVertex,a.pickFragment));return o.update(e),t.addObject(o),o};var l,u,c=s.prototype;c.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.offsetBuffer.dispose(),this.pickBuffer.dispose(),this.plot.removeObject(this)},c.update=function(t){var e;function n(e,n){return e in t?t[e]:n}t=t||{},this.sizeMin=n(\\\"sizeMin\\\",.5),this.sizeMax=n(\\\"sizeMax\\\",20),this.color=n(\\\"color\\\",[1,0,0,1]).slice(),this.areaRatio=n(\\\"areaRatio\\\",1),this.borderColor=n(\\\"borderColor\\\",[0,0,0,1]).slice(),this.blend=n(\\\"blend\\\",!1);var r=t.positions.length>>>1,i=t.positions instanceof Float32Array,a=t.idToIndex instanceof Int32Array&&t.idToIndex.length>=r,s=t.positions,l=i?s:o.mallocFloat32(s.length),u=a?t.idToIndex:o.mallocInt32(r);if(i||l.set(s),!a)for(l.set(s),e=0;e<r;e++)u[e]=e;this.points=s,this.offsetBuffer.update(l),this.pickBuffer.update(u),i||o.free(l),a||o.free(u),this.pointCount=r,this.pickOffset=0},c.unifiedDraw=(l=[1,0,0,0,1,0,0,0,1],u=[0,0,0,0],function(t){var e=void 0!==t,n=e?this.pickShader:this.shader,r=this.plot.gl,i=this.plot.dataBox;if(0===this.pointCount)return t;var o=i[2]-i[0],a=i[3]-i[1],s=function(t,e){var n,r=0,i=t.length>>>1;for(n=0;n<i;n++){var o=t[2*n],a=t[2*n+1];o>=e[0]&&o<=e[2]&&a>=e[1]&&a<=e[3]&&r++}return r}(this.points,i),c=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(s,.33333)));l[0]=2/o,l[4]=2/a,l[6]=-2*i[0]/o-1,l[7]=-2*i[1]/a-1,this.offsetBuffer.bind(),n.bind(),n.attributes.position.pointer(),n.uniforms.matrix=l,n.uniforms.color=this.color,n.uniforms.borderColor=this.borderColor,n.uniforms.pointCloud=c<5,n.uniforms.pointSize=c,n.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),e&&(u[0]=255&t,u[1]=t>>8&255,u[2]=t>>16&255,u[3]=t>>24&255,this.pickBuffer.bind(),n.attributes.pickId.pointer(r.UNSIGNED_BYTE),n.uniforms.pickOffset=u,this.pickOffset=t);var h=r.getParameter(r.BLEND),p=r.getParameter(r.DITHER);return h&&!this.blend&&r.disable(r.BLEND),p&&r.disable(r.DITHER),r.drawArrays(r.POINTS,0,this.pointCount),h&&!this.blend&&r.enable(r.BLEND),p&&r.enable(r.DITHER),t+this.pointCount}),c.draw=c.unifiedDraw,c.drawPick=c.unifiedDraw,c.pick=function(t,e,n){var r=this.pickOffset,i=this.pointCount;if(n<r||n>=r+i)return null;var o=n-r,a=this.points;return{object:this,pointId:o,dataCoord:[a[2*o],a[2*o+1]]}}},{\\\"./lib/shader\\\":297,\\\"gl-buffer\\\":253,\\\"gl-shader\\\":307,\\\"typedarray-pool\\\":547}],299:[function(t,e,n){e.exports=function(t,e,n,r){var i,o,a,s,l,u=e[0],c=e[1],h=e[2],p=e[3],f=n[0],d=n[1],m=n[2],v=n[3];return(o=u*f+c*d+h*m+p*v)<0&&(o=-o,f=-f,d=-d,m=-m,v=-v),1-o>1e-6?(i=Math.acos(o),a=Math.sin(i),s=Math.sin((1-r)*i)/a,l=Math.sin(r*i)/a):(s=1-r,l=r),t[0]=s*u+l*f,t[1]=s*c+l*d,t[2]=s*h+l*m,t[3]=s*p+l*v,t}},{}],300:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return t||0===t?t.toString():\\\"\\\"}},{}],301:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"vectorize-text\\\");e.exports=function(t,e,n){var o=i[e];if(o||(o=i[e]={}),t in o)return o[t];var a={textAlign:\\\"center\\\",textBaseline:\\\"middle\\\",lineHeight:1,font:e,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},s=r(t,a);a.triangles=!1;var l,u,c=r(t,a);if(n&&1!==n){for(l=0;l<s.positions.length;++l)for(u=0;u<s.positions[l].length;++u)s.positions[l][u]/=n;for(l=0;l<c.positions.length;++l)for(u=0;u<c.positions[l].length;++u)c.positions[l][u]/=n}var h=[[1/0,1/0],[-1/0,-1/0]],p=c.positions.length;for(l=0;l<p;++l){var f=c.positions[l];for(u=0;u<2;++u)h[0][u]=Math.min(h[0][u],f[u]),h[1][u]=Math.max(h[1][u],f[u])}return o[t]=[s,c,h]};var i={}},{\\\"vectorize-text\\\":552}],302:[function(t,e,n){var r=t(\\\"gl-shader\\\"),i=t(\\\"glslify\\\"),o=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nattribute vec3 position;\\\\nattribute vec4 color;\\\\nattribute vec2 glyph;\\\\nattribute vec4 id;\\\\n\\\\nuniform vec4 highlightId;\\\\nuniform float highlightScale;\\\\nuniform mat4 model, view, projection;\\\\nuniform vec3 clipBounds[2];\\\\n\\\\nvarying vec4 interpColor;\\\\nvarying vec4 pickId;\\\\nvarying vec3 dataCoordinate;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\\\\n\\\\n gl_Position = vec4(0,0,0,0);\\\\n } else {\\\\n float scale = 1.0;\\\\n if(distance(highlightId, id) < 0.0001) {\\\\n scale = highlightScale;\\\\n }\\\\n\\\\n vec4 worldPosition = model * vec4(position, 1);\\\\n vec4 viewPosition = view * worldPosition;\\\\n viewPosition = viewPosition / viewPosition.w;\\\\n vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0));\\\\n\\\\n gl_Position = clipPosition;\\\\n interpColor = color;\\\\n pickId = id;\\\\n dataCoordinate = position;\\\\n }\\\\n}\\\"]),a=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nattribute vec3 position;\\\\nattribute vec4 color;\\\\nattribute vec2 glyph;\\\\nattribute vec4 id;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform vec2 screenSize;\\\\nuniform vec3 clipBounds[2];\\\\nuniform float highlightScale, pixelRatio;\\\\nuniform vec4 highlightId;\\\\n\\\\nvarying vec4 interpColor;\\\\nvarying vec4 pickId;\\\\nvarying vec3 dataCoordinate;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\\\\n\\\\n gl_Position = vec4(0,0,0,0);\\\\n } else {\\\\n float scale = pixelRatio;\\\\n if(distance(highlightId.bgr, id.bgr) < 0.001) {\\\\n scale *= highlightScale;\\\\n }\\\\n\\\\n vec4 worldPosition = model * vec4(position, 1.0);\\\\n vec4 viewPosition = view * worldPosition;\\\\n vec4 clipPosition = projection * viewPosition;\\\\n clipPosition /= clipPosition.w;\\\\n\\\\n gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0);\\\\n interpColor = color;\\\\n pickId = id;\\\\n dataCoordinate = position;\\\\n }\\\\n}\\\"]),s=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nattribute vec3 position;\\\\nattribute vec4 color;\\\\nattribute vec2 glyph;\\\\nattribute vec4 id;\\\\n\\\\nuniform float highlightScale;\\\\nuniform vec4 highlightId;\\\\nuniform vec3 axes[2];\\\\nuniform mat4 model, view, projection;\\\\nuniform vec2 screenSize;\\\\nuniform vec3 clipBounds[2];\\\\nuniform float scale, pixelRatio;\\\\n\\\\nvarying vec4 interpColor;\\\\nvarying vec4 pickId;\\\\nvarying vec3 dataCoordinate;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\\\\n\\\\n gl_Position = vec4(0,0,0,0);\\\\n } else {\\\\n float lscale = pixelRatio * scale;\\\\n if(distance(highlightId, id) < 0.0001) {\\\\n lscale *= highlightScale;\\\\n }\\\\n\\\\n vec4 clipCenter = projection * view * model * vec4(position, 1);\\\\n vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y;\\\\n vec4 clipPosition = projection * view * model * vec4(dataPosition, 1);\\\\n\\\\n gl_Position = clipPosition;\\\\n interpColor = color;\\\\n pickId = id;\\\\n dataCoordinate = dataPosition;\\\\n }\\\\n}\\\\n\\\"]),l=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 fragClipBounds[2];\\\\nuniform float opacity;\\\\n\\\\nvarying vec4 interpColor;\\\\nvarying vec3 dataCoordinate;\\\\n\\\\nvoid main() {\\\\n if (\\\\n outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) ||\\\\n interpColor.a * opacity == 0.\\\\n ) discard;\\\\n gl_FragColor = interpColor * opacity;\\\\n}\\\\n\\\"]),u=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 fragClipBounds[2];\\\\nuniform float pickGroup;\\\\n\\\\nvarying vec4 pickId;\\\\nvarying vec3 dataCoordinate;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard;\\\\n\\\\n gl_FragColor = vec4(pickGroup, pickId.bgr);\\\\n}\\\"]),c=[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"color\\\",type:\\\"vec4\\\"},{name:\\\"glyph\\\",type:\\\"vec2\\\"},{name:\\\"id\\\",type:\\\"vec4\\\"}],h={vertex:o,fragment:l,attributes:c},p={vertex:a,fragment:l,attributes:c},f={vertex:s,fragment:l,attributes:c},d={vertex:o,fragment:u,attributes:c},m={vertex:a,fragment:u,attributes:c},v={vertex:s,fragment:u,attributes:c};function g(t,e){var n=r(t,e),i=n.attributes;return i.position.location=0,i.color.location=1,i.glyph.location=2,i.id.location=3,n}n.createPerspective=function(t){return g(t,h)},n.createOrtho=function(t){return g(t,p)},n.createProject=function(t){return g(t,f)},n.createPickPerspective=function(t){return g(t,d)},n.createPickOrtho=function(t){return g(t,m)},n.createPickProject=function(t){return g(t,v)}},{\\\"gl-shader\\\":307,glslify:408}],303:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"is-string-blank\\\"),i=t(\\\"gl-buffer\\\"),o=t(\\\"gl-vao\\\"),a=t(\\\"typedarray-pool\\\"),s=t(\\\"gl-mat4/multiply\\\"),l=t(\\\"./lib/shaders\\\"),u=t(\\\"./lib/glyphs\\\"),c=t(\\\"./lib/get-simple-string\\\"),h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function p(t,e){var n=t[0],r=t[1],i=t[2],o=t[3];return t[0]=e[0]*n+e[4]*r+e[8]*i+e[12]*o,t[1]=e[1]*n+e[5]*r+e[9]*i+e[13]*o,t[2]=e[2]*n+e[6]*r+e[10]*i+e[14]*o,t[3]=e[3]*n+e[7]*r+e[11]*i+e[15]*o,t}function f(t,e,n,r){return p(r,r),p(r,r),p(r,r)}function d(t,e){this.index=t,this.dataCoordinate=this.position=e}function m(t){return!0===t||t>1?1:t}function v(t,e,n,r,i,o,a,s,l,u,c,h){this.gl=t,this.pixelRatio=1,this.shader=e,this.orthoShader=n,this.projectShader=r,this.pointBuffer=i,this.colorBuffer=o,this.glyphBuffer=a,this.idBuffer=s,this.vao=l,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[2/3,2/3,2/3],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=u,this.pickOrthoShader=c,this.pickProjectShader=h,this.points=[],this._selectResult=new d(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}e.exports=function(t){var e=t.gl,n=l.createPerspective(e),r=l.createOrtho(e),a=l.createProject(e),s=l.createPickPerspective(e),u=l.createPickOrtho(e),c=l.createPickProject(e),h=i(e),p=i(e),f=i(e),d=i(e),m=new v(e,n,r,a,h,p,f,d,o(e,[{buffer:h,size:3,type:e.FLOAT},{buffer:p,size:4,type:e.FLOAT},{buffer:f,size:2,type:e.FLOAT},{buffer:d,size:4,type:e.UNSIGNED_BYTE,normalized:!0}]),s,u,c);return m.update(t),m};var g=v.prototype;g.pickSlots=1,g.setPickBase=function(t){this.pickId=t},g.isTransparent=function(){if(this.hasAlpha)return!0;for(var t=0;t<3;++t)if(this.axesProject[t]&&this.projectHasAlpha)return!0;return!1},g.isOpaque=function(){if(!this.hasAlpha)return!0;for(var t=0;t<3;++t)if(this.axesProject[t]&&!this.projectHasAlpha)return!0;return!1};var y=[0,0],_=[0,0,0],b=[0,0,0],x=[0,0,0,1],w=[0,0,0,1],A=h.slice(),C=[0,0,0],M=[[0,0,0],[0,0,0]];function E(t){return t[0]=t[1]=t[2]=0,t}function T(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=1,t}function S(t,e,n,r){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[n]=r,t}function k(t,e,n,r){var i,o=e.axesProject,a=e.gl,l=t.uniforms,u=n.model||h,c=n.view||h,p=n.projection||h,d=e.axesBounds,m=function(t){for(var e=M,n=0;n<2;++n)for(var r=0;r<3;++r)e[n][r]=Math.max(Math.min(t[n][r],1e8),-1e8);return e}(e.clipBounds);i=e.axes&&e.axes.lastCubeProps?e.axes.lastCubeProps.axis:[1,1,1],y[0]=2/a.drawingBufferWidth,y[1]=2/a.drawingBufferHeight,t.bind(),l.view=c,l.projection=p,l.screenSize=y,l.highlightId=e.highlightId,l.highlightScale=e.highlightScale,l.clipBounds=m,l.pickGroup=e.pickId/255,l.pixelRatio=r;for(var v=0;v<3;++v)if(o[v]){l.scale=e.projectScale[v],l.opacity=e.projectOpacity[v];for(var g=A,k=0;k<16;++k)g[k]=0;for(k=0;k<4;++k)g[5*k]=1;g[5*v]=0,i[v]<0?g[12+v]=d[0][v]:g[12+v]=d[1][v],s(g,u,g),l.model=g;var O=(v+1)%3,I=(v+2)%3,L=E(_),P=E(b);L[O]=1,P[I]=1;var z=f(0,0,0,T(x,L)),R=f(0,0,0,T(w,P));if(Math.abs(z[1])>Math.abs(R[1])){var D=z;z=R,R=D,D=L,L=P,P=D;var $=O;O=I,I=$}z[0]<0&&(L[O]=-1),R[1]>0&&(P[I]=-1);var B=0,N=0;for(k=0;k<4;++k)B+=Math.pow(u[4*O+k],2),N+=Math.pow(u[4*I+k],2);L[O]/=Math.sqrt(B),P[I]/=Math.sqrt(N),l.axes[0]=L,l.axes[1]=P,l.fragClipBounds[0]=S(C,m[0],v,-1e8),l.fragClipBounds[1]=S(C,m[1],v,1e8),e.vao.bind(),e.vao.draw(a.TRIANGLES,e.vertexCount),e.lineWidth>0&&(a.lineWidth(e.lineWidth*r),e.vao.draw(a.LINES,e.lineVertexCount,e.vertexCount)),e.vao.unbind()}}var O=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function I(t,e,n,r,i,o,a){var s=n.gl;if((o===n.projectHasAlpha||a)&&k(e,n,r,i),o===n.hasAlpha||a){t.bind();var l=t.uniforms;l.model=r.model||h,l.view=r.view||h,l.projection=r.projection||h,y[0]=2/s.drawingBufferWidth,y[1]=2/s.drawingBufferHeight,l.screenSize=y,l.highlightId=n.highlightId,l.highlightScale=n.highlightScale,l.fragClipBounds=O,l.clipBounds=n.axes.bounds,l.opacity=n.opacity,l.pickGroup=n.pickId/255,l.pixelRatio=i,n.vao.bind(),n.vao.draw(s.TRIANGLES,n.vertexCount),n.lineWidth>0&&(s.lineWidth(n.lineWidth*i),n.vao.draw(s.LINES,n.lineVertexCount,n.vertexCount)),n.vao.unbind()}}function L(t,e,n,i){var o;o=Array.isArray(t)?e<t.length?t[e]:void 0:t,o=c(o);var a=!0;r(o)&&(o=\\\"▼\\\",a=!1);var s=u(o,n,i);return{mesh:s[0],lines:s[1],bounds:s[2],visible:a}}g.draw=function(t){I(this.useOrtho?this.orthoShader:this.shader,this.projectShader,this,t,this.pixelRatio,!1,!1)},g.drawTransparent=function(t){I(this.useOrtho?this.orthoShader:this.shader,this.projectShader,this,t,this.pixelRatio,!0,!1)},g.drawPick=function(t){I(this.useOrtho?this.pickOrthoShader:this.pickPerspectiveShader,this.pickProjectShader,this,t,1,!0,!0)},g.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=t.value[2]+(t.value[1]<<8)+(t.value[0]<<16);if(e>=this.pointCount||e<0)return null;var n=this.points[e],r=this._selectResult;r.index=e;for(var i=0;i<3;++i)r.position[i]=r.dataCoordinate[i]=n[i];return r},g.highlight=function(t){if(t){var e=t.index,n=255&e,r=e>>8&255,i=e>>16&255;this.highlightId=[n/255,r/255,i/255,0]}else this.highlightId=[1,1,1,1]},g.update=function(t){if(\\\"perspective\\\"in(t=t||{})&&(this.useOrtho=!t.perspective),\\\"orthographic\\\"in t&&(this.useOrtho=!!t.orthographic),\\\"lineWidth\\\"in t&&(this.lineWidth=t.lineWidth),\\\"project\\\"in t)if(Array.isArray(t.project))this.axesProject=t.project;else{var e=!!t.project;this.axesProject=[e,e,e]}if(\\\"projectScale\\\"in t)if(Array.isArray(t.projectScale))this.projectScale=t.projectScale.slice();else{var n=+t.projectScale;this.projectScale=[n,n,n]}if(this.projectHasAlpha=!1,\\\"projectOpacity\\\"in t){Array.isArray(t.projectOpacity)?this.projectOpacity=t.projectOpacity.slice():(n=+t.projectOpacity,this.projectOpacity=[n,n,n]);for(var r=0;r<3;++r)this.projectOpacity[r]=m(this.projectOpacity[r]),this.projectOpacity[r]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,\\\"opacity\\\"in t&&(this.opacity=m(t.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var i,o,s=t.position,l=t.font||\\\"normal\\\",u=t.alignment||[0,0];if(2===u.length)i=u[0],o=u[1];else for(i=[],o=[],r=0;r<u.length;++r)i[r]=u[r][0],o[r]=u[r][1];var c=[1/0,1/0,1/0],h=[-1/0,-1/0,-1/0],p=t.glyph,f=t.color,d=t.size,v=t.angle,g=t.lineColor,y=-1,_=0,b=0,x=0;if(s.length){x=s.length;t:for(r=0;r<x;++r){for(var w=s[r],A=0;A<3;++A)if(isNaN(w[A])||!isFinite(w[A]))continue t;var C=(N=L(p,r,l,this.pixelRatio)).mesh,M=N.lines,E=N.bounds;_+=3*C.cells.length,b+=2*M.edges.length}}var T=_+b,S=a.mallocFloat(3*T),k=a.mallocFloat(4*T),O=a.mallocFloat(2*T),I=a.mallocUint32(T);if(T>0){var P=0,z=_,R=[0,0,0,1],D=[0,0,0,1],$=Array.isArray(f)&&Array.isArray(f[0]),B=Array.isArray(g)&&Array.isArray(g[0]);t:for(r=0;r<x;++r){for(y+=1,w=s[r],A=0;A<3;++A){if(isNaN(w[A])||!isFinite(w[A]))continue t;h[A]=Math.max(h[A],w[A]),c[A]=Math.min(c[A],w[A])}C=(N=L(p,r,l,this.pixelRatio)).mesh,M=N.lines,E=N.bounds;var N,F=N.visible;if(F)if(Array.isArray(f)){if(3===(j=$?r<f.length?f[r]:[0,0,0,0]:f).length){for(A=0;A<3;++A)R[A]=j[A];R[3]=1}else if(4===j.length){for(A=0;A<4;++A)R[A]=j[A];!this.hasAlpha&&j[3]<1&&(this.hasAlpha=!0)}}else R[0]=R[1]=R[2]=0,R[3]=1;else R=[1,1,1,0];if(F)if(Array.isArray(g)){var j;if(3===(j=B?r<g.length?g[r]:[0,0,0,0]:g).length){for(A=0;A<3;++A)D[A]=j[A];D[A]=1}else if(4===j.length){for(A=0;A<4;++A)D[A]=j[A];!this.hasAlpha&&j[3]<1&&(this.hasAlpha=!0)}}else D[0]=D[1]=D[2]=0,D[3]=1;else D=[1,1,1,0];var U=.5;F?Array.isArray(d)?U=r<d.length?+d[r]:12:d?U=+d:this.useOrtho&&(U=12):U=0;var q=0;Array.isArray(v)?q=r<v.length?+v[r]:0:v&&(q=+v);var V=Math.cos(q),H=Math.sin(q);for(w=s[r],A=0;A<3;++A)h[A]=Math.max(h[A],w[A]),c[A]=Math.min(c[A],w[A]);var G=i,W=o;G=0,Array.isArray(i)?G=r<i.length?i[r]:0:i&&(G=i),W=0,Array.isArray(o)?W=r<o.length?o[r]:0:o&&(W=o);var X=[G*=G>0?1-E[0][0]:G<0?1+E[1][0]:1,W*=W>0?1-E[0][1]:W<0?1+E[1][1]:1],Y=C.cells||[],Z=C.positions||[];for(A=0;A<Y.length;++A)for(var K=Y[A],J=0;J<3;++J){for(var Q=0;Q<3;++Q)S[3*P+Q]=w[Q];for(Q=0;Q<4;++Q)k[4*P+Q]=R[Q];I[P]=y;var tt=Z[K[J]];O[2*P]=U*(V*tt[0]-H*tt[1]+X[0]),O[2*P+1]=U*(H*tt[0]+V*tt[1]+X[1]),P+=1}for(Y=M.edges,Z=M.positions,A=0;A<Y.length;++A)for(K=Y[A],J=0;J<2;++J){for(Q=0;Q<3;++Q)S[3*z+Q]=w[Q];for(Q=0;Q<4;++Q)k[4*z+Q]=D[Q];I[z]=y,tt=Z[K[J]],O[2*z]=U*(V*tt[0]-H*tt[1]+X[0]),O[2*z+1]=U*(H*tt[0]+V*tt[1]+X[1]),z+=1}}}this.bounds=[c,h],this.points=s,this.pointCount=s.length,this.vertexCount=_,this.lineVertexCount=b,this.pointBuffer.update(S),this.colorBuffer.update(k),this.glyphBuffer.update(O),this.idBuffer.update(I),a.free(S),a.free(k),a.free(O),a.free(I)},g.dispose=function(){this.shader.dispose(),this.orthoShader.dispose(),this.pickPerspectiveShader.dispose(),this.pickOrthoShader.dispose(),this.vao.dispose(),this.pointBuffer.dispose(),this.colorBuffer.dispose(),this.glyphBuffer.dispose(),this.idBuffer.dispose()}},{\\\"./lib/get-simple-string\\\":300,\\\"./lib/glyphs\\\":301,\\\"./lib/shaders\\\":302,\\\"gl-buffer\\\":253,\\\"gl-mat4/multiply\\\":275,\\\"gl-vao\\\":327,\\\"is-string-blank\\\":423,\\\"typedarray-pool\\\":547}],304:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"glslify\\\");n.boxVertex=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 vertex;\\\\n\\\\nuniform vec2 cornerA, cornerB;\\\\n\\\\nvoid main() {\\\\n gl_Position = vec4(mix(cornerA, cornerB, vertex), 0, 1);\\\\n}\\\\n\\\"]),n.boxFragment=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform vec4 color;\\\\n\\\\nvoid main() {\\\\n gl_FragColor = color;\\\\n}\\\\n\\\"])},{glslify:408}],305:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-shader\\\"),i=t(\\\"gl-buffer\\\"),o=t(\\\"./lib/shaders\\\");function a(t,e,n){this.plot=t,this.boxBuffer=e,this.boxShader=n,this.enabled=!0,this.selectBox=[1/0,1/0,-1/0,-1/0],this.borderColor=[0,0,0,1],this.innerFill=!1,this.innerColor=[0,0,0,.25],this.outerFill=!0,this.outerColor=[0,0,0,.5],this.borderWidth=10}e.exports=function(t,e){var n=t.gl,s=new a(t,i(n,[0,0,0,1,1,0,1,1]),r(n,o.boxVertex,o.boxFragment));return s.update(e),t.addOverlay(s),s};var s=a.prototype;s.draw=function(){if(this.enabled){var t=this.plot,e=this.selectBox,n=this.borderWidth,r=(this.innerFill,this.innerColor),i=(this.outerFill,this.outerColor),o=this.borderColor,a=t.box,s=t.screenBox,l=t.dataBox,u=t.viewBox,c=t.pixelRatio,h=(e[0]-l[0])*(u[2]-u[0])/(l[2]-l[0])+u[0],p=(e[1]-l[1])*(u[3]-u[1])/(l[3]-l[1])+u[1],f=(e[2]-l[0])*(u[2]-u[0])/(l[2]-l[0])+u[0],d=(e[3]-l[1])*(u[3]-u[1])/(l[3]-l[1])+u[1];if(h=Math.max(h,u[0]),p=Math.max(p,u[1]),f=Math.min(f,u[2]),d=Math.min(d,u[3]),!(f<h||d<p)){a.bind();var m=s[2]-s[0],v=s[3]-s[1];if(this.outerFill&&(a.drawBox(0,0,m,p,i),a.drawBox(0,p,h,d,i),a.drawBox(0,d,m,v,i),a.drawBox(f,p,m,d,i)),this.innerFill&&a.drawBox(h,p,f,d,r),n>0){var g=n*c;a.drawBox(h-g,p-g,f+g,p+g,o),a.drawBox(h-g,d-g,f+g,d+g,o),a.drawBox(h-g,p-g,h+g,d+g,o),a.drawBox(f-g,p-g,f+g,d+g,o)}}}},s.update=function(t){t=t||{},this.innerFill=!!t.innerFill,this.outerFill=!!t.outerFill,this.innerColor=(t.innerColor||[0,0,0,.5]).slice(),this.outerColor=(t.outerColor||[0,0,0,.5]).slice(),this.borderColor=(t.borderColor||[0,0,0,1]).slice(),this.borderWidth=t.borderWidth||0,this.selectBox=(t.selectBox||this.selectBox).slice()},s.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},{\\\"./lib/shaders\\\":304,\\\"gl-buffer\\\":253,\\\"gl-shader\\\":307}],306:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=e[0],o=e[1];return new l(t,r(t,n,o,{}),i.mallocUint8(n*o*4))};var r=t(\\\"gl-fbo\\\"),i=t(\\\"typedarray-pool\\\"),o=t(\\\"ndarray\\\"),a=t(\\\"bit-twiddle\\\").nextPow2;function s(t,e,n,r,i){this.coord=[t,e],this.id=n,this.value=r,this.distance=i}function l(t,e,n){this.gl=t,this.fbo=e,this.buffer=n,this._readTimeout=null;var r=this;this._readCallback=function(){r.gl&&(e.bind(),t.readPixels(0,0,e.shape[0],e.shape[1],t.RGBA,t.UNSIGNED_BYTE,r.buffer),r._readTimeout=null)}}var u=l.prototype;Object.defineProperty(u,\\\"shape\\\",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(t){if(this.gl){this.fbo.shape=t;var e=this.fbo.shape[0],n=this.fbo.shape[1];if(n*e*4>this.buffer.length){i.free(this.buffer);for(var r=this.buffer=i.mallocUint8(a(n*e*4)),o=0;o<n*e*4;++o)r[o]=255}return t}}}),u.begin=function(){var t=this.gl;this.shape,t&&(this.fbo.bind(),t.clearColor(1,1,1,1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT))},u.end=function(){var t=this.gl;t&&(t.bindFramebuffer(t.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},u.query=function(t,e,n){if(!this.gl)return null;var r=this.fbo.shape.slice();t|=0,e|=0,\\\"number\\\"!=typeof n&&(n=1);var i=0|Math.min(Math.max(t-n,0),r[0]),a=0|Math.min(Math.max(t+n,0),r[0]),l=0|Math.min(Math.max(e-n,0),r[1]),u=0|Math.min(Math.max(e+n,0),r[1]);if(a<=i||u<=l)return null;var c=[a-i,u-l],h=o(this.buffer,[c[0],c[1],4],[4,4*r[0],1],4*(i+r[0]*l)),p=function(t,e,n){for(var r=1e8,i=-1,o=-1,a=t.shape[0],s=t.shape[1],l=0;l<a;l++)for(var u=0;u<s;u++){var c=t.get(l,u,0),h=t.get(l,u,1),p=t.get(l,u,2),f=t.get(l,u,3);if(c<255||h<255||p<255||f<255){var d=e-l,m=n-u,v=d*d+m*m;v<r&&(r=v,i=l,o=u)}}return[i,o,r]}(h.hi(c[0],c[1],1),n,n),f=p[0],d=p[1];return f<0||Math.pow(this.radius,2)<p[2]?null:new s(f+i|0,d+l|0,h.get(f,d,0),[h.get(f,d,1),h.get(f,d,2),h.get(f,d,3)],Math.sqrt(p[2]))},u.dispose=function(){this.gl&&(this.fbo.dispose(),i.free(this.buffer),this.gl=null,this._readTimeout&&clearTimeout(this._readTimeout))}},{\\\"bit-twiddle\\\":95,\\\"gl-fbo\\\":261,ndarray:448,\\\"typedarray-pool\\\":547}],307:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/create-uniforms\\\"),i=t(\\\"./lib/create-attributes\\\"),o=t(\\\"./lib/reflect\\\"),a=t(\\\"./lib/shader-cache\\\"),s=t(\\\"./lib/runtime-reflect\\\"),l=t(\\\"./lib/GLError\\\");function u(t){this.gl=t,this.gl.lastAttribCount=0,this._vref=this._fref=this._relink=this.vertShader=this.fragShader=this.program=this.attributes=this.uniforms=this.types=null}var c=u.prototype;function h(t,e){return t.name<e.name?-1:1}c.bind=function(){var t;this.program||this._relink();var e=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_ATTRIBUTES),n=this.gl.lastAttribCount;if(e>n)for(t=n;t<e;t++)this.gl.enableVertexAttribArray(t);else if(n>e)for(t=e;t<n;t++)this.gl.disableVertexAttribArray(t);this.gl.lastAttribCount=e,this.gl.useProgram(this.program)},c.dispose=function(){for(var t=this.gl.lastAttribCount,e=0;e<t;e++)this.gl.disableVertexAttribArray(e);this.gl.lastAttribCount=0,this._fref&&this._fref.dispose(),this._vref&&this._vref.dispose(),this.attributes=this.types=this.vertShader=this.fragShader=this.program=this._relink=this._fref=this._vref=null},c.update=function(t,e,n,u){if(!e||1===arguments.length){var c=t;t=c.vertex,e=c.fragment,n=c.uniforms,u=c.attributes}var p=this,f=p.gl,d=p._vref;p._vref=a.shader(f,f.VERTEX_SHADER,t),d&&d.dispose(),p.vertShader=p._vref.shader;var m=this._fref;if(p._fref=a.shader(f,f.FRAGMENT_SHADER,e),m&&m.dispose(),p.fragShader=p._fref.shader,!n||!u){var v=f.createProgram();if(f.attachShader(v,p.fragShader),f.attachShader(v,p.vertShader),f.linkProgram(v),!f.getProgramParameter(v,f.LINK_STATUS)){var g=f.getProgramInfoLog(v);throw new l(g,\\\"Error linking program:\\\"+g)}n=n||s.uniforms(f,v),u=u||s.attributes(f,v),f.deleteProgram(v)}(u=u.slice()).sort(h);var y,_=[],b=[],x=[];for(y=0;y<u.length;++y){var w=u[y];if(w.type.indexOf(\\\"mat\\\")>=0){for(var A=0|w.type.charAt(w.type.length-1),C=new Array(A),M=0;M<A;++M)C[M]=x.length,b.push(w.name+\\\"[\\\"+M+\\\"]\\\"),\\\"number\\\"==typeof w.location?x.push(w.location+M):Array.isArray(w.location)&&w.location.length===A&&\\\"number\\\"==typeof w.location[M]?x.push(0|w.location[M]):x.push(-1);_.push({name:w.name,type:w.type,locations:C})}else _.push({name:w.name,type:w.type,locations:[x.length]}),b.push(w.name),\\\"number\\\"==typeof w.location?x.push(0|w.location):x.push(-1)}var E=0;for(y=0;y<x.length;++y)if(x[y]<0){for(;x.indexOf(E)>=0;)E+=1;x[y]=E}var T=new Array(n.length);function S(){p.program=a.program(f,p._vref,p._fref,b,x);for(var t=0;t<n.length;++t)T[t]=f.getUniformLocation(p.program,n[t].name)}S(),p._relink=S,p.types={uniforms:o(n),attributes:o(u)},p.attributes=i(f,p,_,x),Object.defineProperty(p,\\\"uniforms\\\",r(f,p,n,T))},e.exports=function(t,e,n,r,i){var o=new u(t);return o.update(e,n,r,i),o}},{\\\"./lib/GLError\\\":308,\\\"./lib/create-attributes\\\":309,\\\"./lib/create-uniforms\\\":310,\\\"./lib/reflect\\\":311,\\\"./lib/runtime-reflect\\\":312,\\\"./lib/shader-cache\\\":313}],308:[function(t,e,n){function r(t,e,n){this.shortMessage=e||\\\"\\\",this.longMessage=n||\\\"\\\",this.rawError=t||\\\"\\\",this.message=\\\"gl-shader: \\\"+(e||t||\\\"\\\")+(n?\\\"\\\\n\\\"+n:\\\"\\\"),this.stack=(new Error).stack}r.prototype=new Error,r.prototype.name=\\\"GLError\\\",r.prototype.constructor=r,e.exports=r},{}],309:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,i){for(var o={},l=0,u=n.length;l<u;++l){var c=n[l],h=c.name,p=c.type,f=c.locations;switch(p){case\\\"bool\\\":case\\\"int\\\":case\\\"float\\\":a(t,e,f[0],i,1,o,h);break;default:if(p.indexOf(\\\"vec\\\")>=0){if((d=p.charCodeAt(p.length-1)-48)<2||d>4)throw new r(\\\"\\\",\\\"Invalid data type for attribute \\\"+h+\\\": \\\"+p);a(t,e,f[0],i,d,o,h)}else{if(!(p.indexOf(\\\"mat\\\")>=0))throw new r(\\\"\\\",\\\"Unknown data type for attribute \\\"+h+\\\": \\\"+p);var d;if((d=p.charCodeAt(p.length-1)-48)<2||d>4)throw new r(\\\"\\\",\\\"Invalid data type for attribute \\\"+h+\\\": \\\"+p);s(t,e,f,i,d,o,h)}}}return o};var r=t(\\\"./GLError\\\");function i(t,e,n,r,i,o){this._gl=t,this._wrapper=e,this._index=n,this._locations=r,this._dimension=i,this._constFunc=o}var o=i.prototype;function a(t,e,n,r,o,a,s){for(var l=[\\\"gl\\\",\\\"v\\\"],u=[],c=0;c<o;++c)l.push(\\\"x\\\"+c),u.push(\\\"x\\\"+c);l.push(\\\"if(x0.length===void 0){return gl.vertexAttrib\\\"+o+\\\"f(v,\\\"+u.join()+\\\")}else{return gl.vertexAttrib\\\"+o+\\\"fv(v,x0)}\\\");var h=Function.apply(null,l),p=new i(t,e,n,r,o,h);Object.defineProperty(a,s,{set:function(e){return t.disableVertexAttribArray(r[n]),h(t,r[n],e),e},get:function(){return p},enumerable:!0})}function s(t,e,n,r,i,o,s){for(var l=new Array(i),u=new Array(i),c=0;c<i;++c)a(t,e,n[c],r,i,l,c),u[c]=l[c];Object.defineProperty(l,\\\"location\\\",{set:function(t){if(Array.isArray(t))for(var e=0;e<i;++e)u[e].location=t[e];else for(e=0;e<i;++e)u[e].location=t+e;return t},get:function(){for(var t=new Array(i),e=0;e<i;++e)t[e]=r[n[e]];return t},enumerable:!0}),l.pointer=function(e,o,a,s){e=e||t.FLOAT,o=!!o,a=a||i*i,s=s||0;for(var l=0;l<i;++l){var u=r[n[l]];t.vertexAttribPointer(u,i,e,o,a,s+l*i),t.enableVertexAttribArray(u)}};var h=new Array(i),p=t[\\\"vertexAttrib\\\"+i+\\\"fv\\\"];Object.defineProperty(o,s,{set:function(e){for(var o=0;o<i;++o){var a=r[n[o]];if(t.disableVertexAttribArray(a),Array.isArray(e[0]))p.call(t,a,e[o]);else{for(var s=0;s<i;++s)h[s]=e[i*o+s];p.call(t,a,h)}}return e},get:function(){return l},enumerable:!0})}o.pointer=function(t,e,n,r){var i=this,o=i._gl,a=i._locations[i._index];o.vertexAttribPointer(a,i._dimension,t||o.FLOAT,!!e,n||0,r||0),o.enableVertexAttribArray(a)},o.set=function(t,e,n,r){return this._constFunc(this._locations[this._index],t,e,n,r)},Object.defineProperty(o,\\\"location\\\",{get:function(){return this._locations[this._index]},set:function(t){return t!==this._locations[this._index]&&(this._locations[this._index]=0|t,this._wrapper.program=null),0|t}})},{\\\"./GLError\\\":308}],310:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./reflect\\\"),i=t(\\\"./GLError\\\");function o(t){return new Function(\\\"y\\\",\\\"return function(){return y}\\\")(t)}function a(t,e){for(var n=new Array(t),r=0;r<t;++r)n[r]=e;return n}e.exports=function(t,e,n,s){function l(t,e,n){switch(n){case\\\"bool\\\":case\\\"int\\\":case\\\"sampler2D\\\":case\\\"samplerCube\\\":return\\\"gl.uniform1i(locations[\\\"+e+\\\"],obj\\\"+t+\\\")\\\";case\\\"float\\\":return\\\"gl.uniform1f(locations[\\\"+e+\\\"],obj\\\"+t+\\\")\\\";default:var r=n.indexOf(\\\"vec\\\");if(!(0<=r&&r<=1&&n.length===4+r)){if(0===n.indexOf(\\\"mat\\\")&&4===n.length){var o;if((o=n.charCodeAt(n.length-1)-48)<2||o>4)throw new i(\\\"\\\",\\\"Invalid uniform dimension type for matrix \\\"+name+\\\": \\\"+n);return\\\"gl.uniformMatrix\\\"+o+\\\"fv(locations[\\\"+e+\\\"],false,obj\\\"+t+\\\")\\\"}throw new i(\\\"\\\",\\\"Unknown uniform data type for \\\"+name+\\\": \\\"+n)}if((o=n.charCodeAt(n.length-1)-48)<2||o>4)throw new i(\\\"\\\",\\\"Invalid data type\\\");switch(n.charAt(0)){case\\\"b\\\":case\\\"i\\\":return\\\"gl.uniform\\\"+o+\\\"iv(locations[\\\"+e+\\\"],obj\\\"+t+\\\")\\\";case\\\"v\\\":return\\\"gl.uniform\\\"+o+\\\"fv(locations[\\\"+e+\\\"],obj\\\"+t+\\\")\\\";default:throw new i(\\\"\\\",\\\"Unrecognized data type for vector \\\"+name+\\\": \\\"+n)}}}function u(t,e){if(\\\"object\\\"!=typeof e)return[[t,e]];var n=[];for(var r in e){var i=e[r],o=t;parseInt(r)+\\\"\\\"===r?o+=\\\"[\\\"+r+\\\"]\\\":o+=\\\".\\\"+r,\\\"object\\\"==typeof i?n.push.apply(n,u(o,i)):n.push([o,i])}return n}function c(e){for(var r=[\\\"return function updateProperty(obj){\\\"],i=u(\\\"\\\",e),o=0;o<i.length;++o){var a=i[o],c=a[0],h=a[1];s[h]&&r.push(l(c,h,n[h].type))}return r.push(\\\"return obj}\\\"),new Function(\\\"gl\\\",\\\"locations\\\",r.join(\\\"\\\\n\\\"))(t,s)}function h(r,l,u){if(\\\"object\\\"==typeof u){var h=p(u);Object.defineProperty(r,l,{get:o(h),set:c(u),enumerable:!0,configurable:!1})}else s[u]?Object.defineProperty(r,l,{get:(f=u,new Function(\\\"gl\\\",\\\"wrapper\\\",\\\"locations\\\",\\\"return function(){return gl.getUniform(wrapper.program,locations[\\\"+f+\\\"])}\\\")(t,e,s)),set:c(u),enumerable:!0,configurable:!1}):r[l]=function(t){switch(t){case\\\"bool\\\":return!1;case\\\"int\\\":case\\\"sampler2D\\\":case\\\"samplerCube\\\":case\\\"float\\\":return 0;default:var e=t.indexOf(\\\"vec\\\");if(0<=e&&e<=1&&t.length===4+e){if((n=t.charCodeAt(t.length-1)-48)<2||n>4)throw new i(\\\"\\\",\\\"Invalid data type\\\");return\\\"b\\\"===t.charAt(0)?a(n,!1):a(n,0)}if(0===t.indexOf(\\\"mat\\\")&&4===t.length){var n;if((n=t.charCodeAt(t.length-1)-48)<2||n>4)throw new i(\\\"\\\",\\\"Invalid uniform dimension type for matrix \\\"+name+\\\": \\\"+t);return a(n*n,0)}throw new i(\\\"\\\",\\\"Unknown uniform data type for \\\"+name+\\\": \\\"+t)}}(n[u].type);var f}function p(t){var e;if(Array.isArray(t)){e=new Array(t.length);for(var n=0;n<t.length;++n)h(e,n,t[n])}else for(var r in e={},t)h(e,r,t[r]);return e}var f=r(n,!0);return{get:o(p(f)),set:c(f),enumerable:!0,configurable:!0}}},{\\\"./GLError\\\":308,\\\"./reflect\\\":311}],311:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){for(var n={},r=0;r<t.length;++r)for(var i=t[r].name.split(\\\".\\\"),o=n,a=0;a<i.length;++a){var s=i[a].split(\\\"[\\\");if(s.length>1){s[0]in o||(o[s[0]]=[]),o=o[s[0]];for(var l=1;l<s.length;++l){var u=parseInt(s[l]);l<s.length-1||a<i.length-1?(u in o||(l<s.length-1?o[u]=[]:o[u]={}),o=o[u]):o[u]=e?r:t[r].type}}else a<i.length-1?(s[0]in o||(o[s[0]]={}),o=o[s[0]]):o[s[0]]=e?r:t[r].type}return n}},{}],312:[function(t,e,n){\\\"use strict\\\";n.uniforms=function(t,e){for(var n=t.getProgramParameter(e,t.ACTIVE_UNIFORMS),r=[],i=0;i<n;++i){var a=t.getActiveUniform(e,i);if(a){var s=o(t,a.type);if(a.size>1)for(var l=0;l<a.size;++l)r.push({name:a.name.replace(\\\"[0]\\\",\\\"[\\\"+l+\\\"]\\\"),type:s});else r.push({name:a.name,type:s})}}return r},n.attributes=function(t,e){for(var n=t.getProgramParameter(e,t.ACTIVE_ATTRIBUTES),r=[],i=0;i<n;++i){var a=t.getActiveAttrib(e,i);a&&r.push({name:a.name,type:o(t,a.type)})}return r};var r={FLOAT:\\\"float\\\",FLOAT_VEC2:\\\"vec2\\\",FLOAT_VEC3:\\\"vec3\\\",FLOAT_VEC4:\\\"vec4\\\",INT:\\\"int\\\",INT_VEC2:\\\"ivec2\\\",INT_VEC3:\\\"ivec3\\\",INT_VEC4:\\\"ivec4\\\",BOOL:\\\"bool\\\",BOOL_VEC2:\\\"bvec2\\\",BOOL_VEC3:\\\"bvec3\\\",BOOL_VEC4:\\\"bvec4\\\",FLOAT_MAT2:\\\"mat2\\\",FLOAT_MAT3:\\\"mat3\\\",FLOAT_MAT4:\\\"mat4\\\",SAMPLER_2D:\\\"sampler2D\\\",SAMPLER_CUBE:\\\"samplerCube\\\"},i=null;function o(t,e){if(!i){var n=Object.keys(r);i={};for(var o=0;o<n.length;++o){var a=n[o];i[t[a]]=r[a]}}return i[e]}},{}],313:[function(t,e,n){\\\"use strict\\\";n.shader=function(t,e,n){return c(t).getShaderReference(e,n)},n.program=function(t,e,n,r,i){return c(t).getProgram(e,n,r,i)};var r=t(\\\"./GLError\\\"),i=t(\\\"gl-format-compiler-error\\\"),o=new(\\\"undefined\\\"==typeof WeakMap?t(\\\"weakmap-shim\\\"):WeakMap),a=0;function s(t,e,n,r,i,o,a){this.id=t,this.src=e,this.type=n,this.shader=r,this.count=o,this.programs=[],this.cache=a}function l(t){this.gl=t,this.shaders=[{},{}],this.programs={}}s.prototype.dispose=function(){if(0==--this.count){for(var t=this.cache,e=t.gl,n=this.programs,r=0,i=n.length;r<i;++r){var o=t.programs[n[r]];o&&(delete t.programs[r],e.deleteProgram(o))}e.deleteShader(this.shader),delete t.shaders[this.type===e.FRAGMENT_SHADER|0][this.src]}};var u=l.prototype;function c(t){var e=o.get(t);return e||(e=new l(t),o.set(t,e)),e}u.getShaderReference=function(t,e){var n=this.gl,o=this.shaders[t===n.FRAGMENT_SHADER|0],l=o[e];if(l&&n.isShader(l.shader))l.count+=1;else{var u=function(t,e,n){var o=t.createShader(e);if(t.shaderSource(o,n),t.compileShader(o),!t.getShaderParameter(o,t.COMPILE_STATUS)){var a=t.getShaderInfoLog(o);try{var s=i(a,n,e)}catch(t){throw console.warn(\\\"Failed to format compiler error: \\\"+t),new r(a,\\\"Error compiling shader:\\\\n\\\"+a)}throw new r(a,s.short,s.long)}return o}(n,t,e);l=o[e]=new s(a++,e,t,u,[],1,this)}return l},u.getProgram=function(t,e,n,i){var o=[t.id,e.id,n.join(\\\":\\\"),i.join(\\\":\\\")].join(\\\"@\\\"),a=this.programs[o];return a&&this.gl.isProgram(a)||(this.programs[o]=a=function(t,e,n,i,o){var a=t.createProgram();t.attachShader(a,e),t.attachShader(a,n);for(var s=0;s<i.length;++s)t.bindAttribLocation(a,o[s],i[s]);if(t.linkProgram(a),!t.getProgramParameter(a,t.LINK_STATUS)){var l=t.getProgramInfoLog(a);throw new r(l,\\\"Error linking program: \\\"+l)}return a}(this.gl,t.shader,e.shader,n,i),t.programs.push(o),e.programs.push(o)),a}},{\\\"./GLError\\\":308,\\\"gl-format-compiler-error\\\":262,\\\"weakmap-shim\\\":557}],314:[function(t,e,n){\\\"use strict\\\";function r(t){this.plot=t,this.enable=[!0,!0,!1,!1],this.width=[1,1,1,1],this.color=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.center=[1/0,1/0]}e.exports=function(t,e){var n=new r(t);return n.update(e),t.addOverlay(n),n};var i=r.prototype;i.update=function(t){t=t||{},this.enable=(t.enable||[!0,!0,!1,!1]).slice(),this.width=(t.width||[1,1,1,1]).slice(),this.color=(t.color||[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]]).map((function(t){return t.slice()})),this.center=(t.center||[1/0,1/0]).slice(),this.plot.setOverlayDirty()},i.draw=function(){var t=this.enable,e=this.width,n=this.color,r=this.center,i=this.plot,o=i.line,a=i.dataBox,s=i.viewBox;if(o.bind(),a[0]<=r[0]&&r[0]<=a[2]&&a[1]<=r[1]&&r[1]<=a[3]){var l=s[0]+(r[0]-a[0])/(a[2]-a[0])*(s[2]-s[0]),u=s[1]+(r[1]-a[1])/(a[3]-a[1])*(s[3]-s[1]);t[0]&&o.drawLine(l,u,s[0],u,e[0],n[0]),t[1]&&o.drawLine(l,u,l,s[1],e[1],n[1]),t[2]&&o.drawLine(l,u,s[2],u,e[2],n[2]),t[3]&&o.drawLine(l,u,l,s[3],e[3],n[3])}},i.dispose=function(){this.plot.removeOverlay(this)}},{}],315:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"glslify\\\"),i=t(\\\"gl-shader\\\"),o=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec3 position, color;\\\\nattribute float weight;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform vec3 coordinates[3];\\\\nuniform vec4 colors[3];\\\\nuniform vec2 screenShape;\\\\nuniform float lineWidth;\\\\n\\\\nvarying vec4 fragColor;\\\\n\\\\nvoid main() {\\\\n vec3 vertexPosition = mix(coordinates[0],\\\\n mix(coordinates[2], coordinates[1], 0.5 * (position + 1.0)), abs(position));\\\\n\\\\n vec4 clipPos = projection * view * model * vec4(vertexPosition, 1.0);\\\\n vec2 clipOffset = (projection * view * model * vec4(color, 0.0)).xy;\\\\n vec2 delta = weight * clipOffset * screenShape;\\\\n vec2 lineOffset = normalize(vec2(delta.y, -delta.x)) / screenShape;\\\\n\\\\n gl_Position = vec4(clipPos.xy + clipPos.w * 0.5 * lineWidth * lineOffset, clipPos.z, clipPos.w);\\\\n fragColor = color.x * colors[0] + color.y * colors[1] + color.z * colors[2];\\\\n}\\\\n\\\"]),a=r([\\\"precision mediump float;\\\\n#define GLSLIFY 1\\\\n\\\\nvarying vec4 fragColor;\\\\n\\\\nvoid main() {\\\\n gl_FragColor = fragColor;\\\\n}\\\"]);e.exports=function(t){return i(t,o,a,null,[{name:\\\"position\\\",type:\\\"vec3\\\"},{name:\\\"color\\\",type:\\\"vec3\\\"},{name:\\\"weight\\\",type:\\\"float\\\"}])}},{\\\"gl-shader\\\":307,glslify:408}],316:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-buffer\\\"),i=t(\\\"gl-vao\\\"),o=t(\\\"./shaders/index\\\");e.exports=function(t,e){var n=[];function a(t,e,r,i,o,a){var s=[t,e,r,0,0,0,1];s[i+3]=1,s[i]=o,n.push.apply(n,s),s[6]=-1,n.push.apply(n,s),s[i]=a,n.push.apply(n,s),n.push.apply(n,s),s[6]=1,n.push.apply(n,s),s[i]=o,n.push.apply(n,s)}a(0,0,0,0,0,1),a(0,0,0,1,0,1),a(0,0,0,2,0,1),a(1,0,0,1,-1,1),a(1,0,0,2,-1,1),a(0,1,0,0,-1,1),a(0,1,0,2,-1,1),a(0,0,1,0,-1,1),a(0,0,1,1,-1,1);var l=r(t,n),u=i(t,[{type:t.FLOAT,buffer:l,size:3,offset:0,stride:28},{type:t.FLOAT,buffer:l,size:3,offset:12,stride:28},{type:t.FLOAT,buffer:l,size:1,offset:24,stride:28}]),c=o(t);c.attributes.position.location=0,c.attributes.color.location=1,c.attributes.weight.location=2;var h=new s(t,l,u,c);return h.update(e),h};var a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(t,e,n,r){this.gl=t,this.buffer=e,this.vao=n,this.shader=r,this.pixelRatio=1,this.bounds=[[-1e3,-1e3,-1e3],[1e3,1e3,1e3]],this.position=[0,0,0],this.lineWidth=[2,2,2],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.enabled=[!0,!0,!0],this.drawSides=[!0,!0,!0],this.axes=null}var l=s.prototype,u=[0,0,0],c=[0,0,0],h=[0,0];l.isTransparent=function(){return!1},l.drawTransparent=function(t){},l.draw=function(t){var e=this.gl,n=this.vao,r=this.shader;n.bind(),r.bind();var i,o=t.model||a,s=t.view||a,l=t.projection||a;this.axes&&(i=this.axes.lastCubeProps.axis);for(var p=u,f=c,d=0;d<3;++d)i&&i[d]<0?(p[d]=this.bounds[0][d],f[d]=this.bounds[1][d]):(p[d]=this.bounds[1][d],f[d]=this.bounds[0][d]);for(h[0]=e.drawingBufferWidth,h[1]=e.drawingBufferHeight,r.uniforms.model=o,r.uniforms.view=s,r.uniforms.projection=l,r.uniforms.coordinates=[this.position,p,f],r.uniforms.colors=this.colors,r.uniforms.screenShape=h,d=0;d<3;++d)r.uniforms.lineWidth=this.lineWidth[d]*this.pixelRatio,this.enabled[d]&&(n.draw(e.TRIANGLES,6,6*d),this.drawSides[d]&&n.draw(e.TRIANGLES,12,18+12*d));n.unbind()},l.update=function(t){t&&(\\\"bounds\\\"in t&&(this.bounds=t.bounds),\\\"position\\\"in t&&(this.position=t.position),\\\"lineWidth\\\"in t&&(this.lineWidth=t.lineWidth),\\\"colors\\\"in t&&(this.colors=t.colors),\\\"enabled\\\"in t&&(this.enabled=t.enabled),\\\"drawSides\\\"in t&&(this.drawSides=t.drawSides))},l.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},{\\\"./shaders/index\\\":315,\\\"gl-buffer\\\":253,\\\"gl-vao\\\":327}],317:[function(t,e,n){var r=t(\\\"glslify\\\"),i=r([\\\"precision highp float;\\\\n\\\\nprecision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvec3 getOrthogonalVector(vec3 v) {\\\\n // Return up-vector for only-z vector.\\\\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\\\\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\\\\n // Assign z = 0, x = -b, y = a:\\\\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\\\\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\\\\n return normalize(vec3(-v.y, v.x, 0.0));\\\\n } else {\\\\n return normalize(vec3(0.0, v.z, -v.y));\\\\n }\\\\n}\\\\n\\\\n// Calculate the tube vertex and normal at the given index.\\\\n//\\\\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\\\\n//\\\\n// Each tube segment is made up of a ring of vertices.\\\\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\\\\n// The indexes of tube segments run from 0 to 8.\\\\n//\\\\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\\\\n float segmentCount = 8.0;\\\\n\\\\n float angle = 2.0 * 3.14159 * (index / segmentCount);\\\\n\\\\n vec3 u = getOrthogonalVector(d);\\\\n vec3 v = normalize(cross(u, d));\\\\n\\\\n vec3 x = u * cos(angle) * length(d);\\\\n vec3 y = v * sin(angle) * length(d);\\\\n vec3 v3 = x + y;\\\\n\\\\n normal = normalize(v3);\\\\n\\\\n return v3;\\\\n}\\\\n\\\\nattribute vec4 vector;\\\\nattribute vec4 color, position;\\\\nattribute vec2 uv;\\\\n\\\\nuniform float vectorScale, tubeScale;\\\\nuniform mat4 model, view, projection, inverseModel;\\\\nuniform vec3 eyePosition, lightPosition;\\\\n\\\\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\\\\nvarying vec4 f_color;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n // Scale the vector magnitude to stay constant with\\\\n // model & view changes.\\\\n vec3 normal;\\\\n vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\\\\n vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\\\\n\\\\n //Lighting geometry parameters\\\\n vec4 cameraCoordinate = view * tubePosition;\\\\n cameraCoordinate.xyz /= cameraCoordinate.w;\\\\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\\\\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\\\\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\\\\n\\\\n // vec4 m_position = model * vec4(tubePosition, 1.0);\\\\n vec4 t_position = view * tubePosition;\\\\n gl_Position = projection * t_position;\\\\n\\\\n f_color = color;\\\\n f_data = tubePosition.xyz;\\\\n f_position = position.xyz;\\\\n f_uv = uv;\\\\n}\\\\n\\\"]),o=r([\\\"#extension GL_OES_standard_derivatives : enable\\\\n\\\\nprecision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nfloat beckmannDistribution(float x, float roughness) {\\\\n float NdotH = max(x, 0.0001);\\\\n float cos2Alpha = NdotH * NdotH;\\\\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\\\\n float roughness2 = roughness * roughness;\\\\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\\\\n return exp(tan2Alpha / roughness2) / denom;\\\\n}\\\\n\\\\nfloat cookTorranceSpecular(\\\\n vec3 lightDirection,\\\\n vec3 viewDirection,\\\\n vec3 surfaceNormal,\\\\n float roughness,\\\\n float fresnel) {\\\\n\\\\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\\\\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\\\\n\\\\n //Half angle vector\\\\n vec3 H = normalize(lightDirection + viewDirection);\\\\n\\\\n //Geometric term\\\\n float NdotH = max(dot(surfaceNormal, H), 0.0);\\\\n float VdotH = max(dot(viewDirection, H), 0.000001);\\\\n float LdotH = max(dot(lightDirection, H), 0.000001);\\\\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\\\\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\\\\n float G = min(1.0, min(G1, G2));\\\\n \\\\n //Distribution term\\\\n float D = beckmannDistribution(NdotH, roughness);\\\\n\\\\n //Fresnel term\\\\n float F = pow(1.0 - VdotN, fresnel);\\\\n\\\\n //Multiply terms and done\\\\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\\\\n}\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\\\\nuniform sampler2D texture;\\\\n\\\\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\\\\nvarying vec4 f_color;\\\\nvarying vec2 f_uv;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\\\\n vec3 N = normalize(f_normal);\\\\n vec3 L = normalize(f_lightDirection);\\\\n vec3 V = normalize(f_eyeDirection);\\\\n\\\\n if(gl_FrontFacing) {\\\\n N = -N;\\\\n }\\\\n\\\\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\\\\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\\\\n\\\\n vec4 surfaceColor = f_color * texture2D(texture, f_uv);\\\\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\\\\n\\\\n gl_FragColor = litColor * opacity;\\\\n}\\\\n\\\"]),a=r([\\\"precision highp float;\\\\n\\\\nprecision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvec3 getOrthogonalVector(vec3 v) {\\\\n // Return up-vector for only-z vector.\\\\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\\\\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\\\\n // Assign z = 0, x = -b, y = a:\\\\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\\\\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\\\\n return normalize(vec3(-v.y, v.x, 0.0));\\\\n } else {\\\\n return normalize(vec3(0.0, v.z, -v.y));\\\\n }\\\\n}\\\\n\\\\n// Calculate the tube vertex and normal at the given index.\\\\n//\\\\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\\\\n//\\\\n// Each tube segment is made up of a ring of vertices.\\\\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\\\\n// The indexes of tube segments run from 0 to 8.\\\\n//\\\\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\\\\n float segmentCount = 8.0;\\\\n\\\\n float angle = 2.0 * 3.14159 * (index / segmentCount);\\\\n\\\\n vec3 u = getOrthogonalVector(d);\\\\n vec3 v = normalize(cross(u, d));\\\\n\\\\n vec3 x = u * cos(angle) * length(d);\\\\n vec3 y = v * sin(angle) * length(d);\\\\n vec3 v3 = x + y;\\\\n\\\\n normal = normalize(v3);\\\\n\\\\n return v3;\\\\n}\\\\n\\\\nattribute vec4 vector;\\\\nattribute vec4 position;\\\\nattribute vec4 id;\\\\n\\\\nuniform mat4 model, view, projection;\\\\nuniform float tubeScale;\\\\n\\\\nvarying vec3 f_position;\\\\nvarying vec4 f_id;\\\\n\\\\nvoid main() {\\\\n vec3 normal;\\\\n vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\\\\n vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\\\\n\\\\n gl_Position = projection * view * tubePosition;\\\\n f_id = id;\\\\n f_position = position.xyz;\\\\n}\\\\n\\\"]),s=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 clipBounds[2];\\\\nuniform float pickId;\\\\n\\\\nvarying vec3 f_position;\\\\nvarying vec4 f_id;\\\\n\\\\nvoid main() {\\\\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\\\\n\\\\n gl_FragColor = vec4(pickId, f_id.xyz);\\\\n}\\\"]);n.meshShader={vertex:i,fragment:o,attributes:[{name:\\\"position\\\",type:\\\"vec4\\\"},{name:\\\"color\\\",type:\\\"vec4\\\"},{name:\\\"uv\\\",type:\\\"vec2\\\"},{name:\\\"vector\\\",type:\\\"vec4\\\"}]},n.pickShader={vertex:a,fragment:s,attributes:[{name:\\\"position\\\",type:\\\"vec4\\\"},{name:\\\"id\\\",type:\\\"vec4\\\"},{name:\\\"vector\\\",type:\\\"vec4\\\"}]}},{glslify:408}],318:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-vec3\\\"),i=t(\\\"gl-vec4\\\"),o=[\\\"xyz\\\",\\\"xzy\\\",\\\"yxz\\\",\\\"yzx\\\",\\\"zxy\\\",\\\"zyx\\\"],a=function(t,e,n,o){for(var a=0,s=0;s<t.length;s++)for(var l=t[s].velocities,u=0;u<l.length;u++)a=Math.max(a,r.length(l[u]));var c=t.map((function(t){return function(t,e,n,o){for(var a=t.points,s=t.velocities,l=t.divergences,u=[],c=[],h=[],p=[],f=[],d=[],m=0,v=0,g=i.create(),y=i.create(),_=0;_<a.length;_++){var b=a[_],x=s[_],w=l[_];0===e&&(w=.05*n),v=r.length(x)/o,g=i.create(),r.copy(g,x),g[3]=w;for(var A=0;A<8;A++)f[A]=[b[0],b[1],b[2],A];if(p.length>0)for(A=0;A<8;A++){var C=(A+1)%8;u.push(p[A],f[A],f[C],f[C],p[C],p[A]),h.push(y,g,g,g,y,y),d.push(m,v,v,v,m,m);var M=u.length;c.push([M-6,M-5,M-4],[M-3,M-2,M-1])}var E=p;p=f,f=E;var T=y;y=g,g=T;var S=m;m=v,v=S}return{positions:u,cells:c,vectors:h,vertexIntensity:d}}(t,n,o,a)})),h=[],p=[],f=[],d=[];for(s=0;s<c.length;s++){var m=c[s],v=h.length;for(h=h.concat(m.positions),f=f.concat(m.vectors),d=d.concat(m.vertexIntensity),u=0;u<m.cells.length;u++){var g=m.cells[u],y=[];p.push(y);for(var _=0;_<g.length;_++)y.push(g[_]+v)}}return{positions:h,cells:p,vectors:f,vertexIntensity:d,colormap:e}},s=function(t,e){var n,r=t.length;for(n=0;n<r;n++){var i=t[n];if(i===e)return n;if(i>e)return n-1}return n},l=function(t,e,n){return t<e?e:t>n?n:t},u=function(t){var e=1/0;t.sort((function(t,e){return t-e}));for(var n=t.length,r=1;r<n;r++){var i=Math.abs(t[r]-t[r-1]);i<e&&(e=i)}return e};e.exports=function(t,e){var n=t.startingPositions,i=t.maxLength||1e3,c=t.tubeSize||1,h=t.absoluteTubeSize,p=t.gridFill||\\\"+x+y+z\\\",f={};-1!==p.indexOf(\\\"-x\\\")&&(f.reversedX=!0),-1!==p.indexOf(\\\"-y\\\")&&(f.reversedY=!0),-1!==p.indexOf(\\\"-z\\\")&&(f.reversedZ=!0),f.filled=o.indexOf(p.replace(/-/g,\\\"\\\").replace(/\\\\+/g,\\\"\\\"));var d=t.getVelocity||function(e){return function(t,e,n){var i=e.vectors,o=e.meshgrid,a=t[0],u=t[1],c=t[2],h=o[0].length,p=o[1].length,f=o[2].length,d=s(o[0],a),m=s(o[1],u),v=s(o[2],c),g=d+1,y=m+1,_=v+1;if(d=l(d,0,h-1),g=l(g,0,h-1),m=l(m,0,p-1),y=l(y,0,p-1),v=l(v,0,f-1),_=l(_,0,f-1),d<0||m<0||v<0||g>h-1||y>p-1||_>f-1)return r.create();var b,x,w,A,C,M,E=o[0][d],T=o[0][g],S=o[1][m],k=o[1][y],O=o[2][v],I=(a-E)/(T-E),L=(u-S)/(k-S),P=(c-O)/(o[2][_]-O);switch(isFinite(I)||(I=.5),isFinite(L)||(L=.5),isFinite(P)||(P=.5),n.reversedX&&(d=h-1-d,g=h-1-g),n.reversedY&&(m=p-1-m,y=p-1-y),n.reversedZ&&(v=f-1-v,_=f-1-_),n.filled){case 5:C=v,M=_,w=m*f,A=y*f,b=d*f*p,x=g*f*p;break;case 4:C=v,M=_,b=d*f,x=g*f,w=m*f*h,A=y*f*h;break;case 3:w=m,A=y,C=v*p,M=_*p,b=d*p*f,x=g*p*f;break;case 2:w=m,A=y,b=d*p,x=g*p,C=v*p*h,M=_*p*h;break;case 1:b=d,x=g,C=v*h,M=_*h,w=m*h*f,A=y*h*f;break;default:b=d,x=g,w=m*h,A=y*h,C=v*h*p,M=_*h*p}var z=i[b+w+C],R=i[b+w+M],D=i[b+A+C],$=i[b+A+M],B=i[x+w+C],N=i[x+w+M],F=i[x+A+C],j=i[x+A+M],U=r.create(),q=r.create(),V=r.create(),H=r.create();r.lerp(U,z,B,I),r.lerp(q,R,N,I),r.lerp(V,D,F,I),r.lerp(H,$,j,I);var G=r.create(),W=r.create();r.lerp(G,U,V,L),r.lerp(W,q,H,L);var X=r.create();return r.lerp(X,G,W,P),X}(e,t,f)},m=t.getDivergence||function(t,e){var n=r.create(),i=1e-4;r.add(n,t,[i,0,0]);var o=d(n);r.subtract(o,o,e),r.scale(o,o,1/i),r.add(n,t,[0,i,0]);var a=d(n);r.subtract(a,a,e),r.scale(a,a,1/i),r.add(n,t,[0,0,i]);var s=d(n);return r.subtract(s,s,e),r.scale(s,s,1/i),r.add(n,o,a),r.add(n,n,s),n},v=[],g=e[0][0],y=e[0][1],_=e[0][2],b=e[1][0],x=e[1][1],w=e[1][2],A=function(t){var e=t[0],n=t[1],r=t[2];return!(e<g||e>b||n<y||n>x||r<_||r>w)},C=10*r.distance(e[0],e[1])/i,M=C*C,E=1,T=0,S=n.length;S>1&&(E=function(t){for(var e=[],n=[],r=[],i={},o={},a={},s=t.length,l=0;l<s;l++){var c=t[l],h=c[0],p=c[1],f=c[2];i[h]||(e.push(h),i[h]=!0),o[p]||(n.push(p),o[p]=!0),a[f]||(r.push(f),a[f]=!0)}var d=u(e),m=u(n),v=u(r),g=Math.min(d,m,v);return isFinite(g)?g:1}(n));for(var k=0;k<S;k++){var O=r.create();r.copy(O,n[k]);var I=[O],L=[],P=d(O),z=O;L.push(P);var R=[],D=m(O,P),$=r.length(D);isFinite($)&&$>T&&(T=$),R.push($),v.push({points:I,velocities:L,divergences:R});for(var B=0;B<100*i&&I.length<i&&A(O);){B++;var N=r.clone(P),F=r.squaredLength(N);if(0===F)break;F>M&&r.scale(N,N,C/Math.sqrt(F)),r.add(N,N,O),P=d(N),r.squaredDistance(z,N)-M>-1e-4*M&&(I.push(N),z=N,L.push(P),D=m(N,P),$=r.length(D),isFinite($)&&$>T&&(T=$),R.push($)),O=N}}var j=a(v,t.colormap,T,E);return h?j.tubeScale=h:(0===T&&(T=1),j.tubeScale=.5*c*E/T),j};var c=t(\\\"./lib/shaders\\\"),h=t(\\\"gl-cone3d\\\").createMesh;e.exports.createTubeMesh=function(t,e){return h(t,e,{shaders:c,traceType:\\\"streamtube\\\"})}},{\\\"./lib/shaders\\\":317,\\\"gl-cone3d\\\":254,\\\"gl-vec3\\\":346,\\\"gl-vec4\\\":382}],319:[function(t,e,n){var r=t(\\\"gl-shader\\\"),i=t(\\\"glslify\\\"),o=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec4 uv;\\\\nattribute vec3 f;\\\\nattribute vec3 normal;\\\\n\\\\nuniform vec3 objectOffset;\\\\nuniform mat4 model, view, projection, inverseModel;\\\\nuniform vec3 lightPosition, eyePosition;\\\\nuniform sampler2D colormap;\\\\n\\\\nvarying float value, kill;\\\\nvarying vec3 worldCoordinate;\\\\nvarying vec2 planeCoordinate;\\\\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\\\\nvarying vec4 vColor;\\\\n\\\\nvoid main() {\\\\n vec3 localCoordinate = vec3(uv.zw, f.x);\\\\n worldCoordinate = objectOffset + localCoordinate;\\\\n vec4 worldPosition = model * vec4(worldCoordinate, 1.0);\\\\n vec4 clipPosition = projection * view * worldPosition;\\\\n gl_Position = clipPosition;\\\\n kill = f.y;\\\\n value = f.z;\\\\n planeCoordinate = uv.xy;\\\\n\\\\n vColor = texture2D(colormap, vec2(value, value));\\\\n\\\\n //Lighting geometry parameters\\\\n vec4 cameraCoordinate = view * worldPosition;\\\\n cameraCoordinate.xyz /= cameraCoordinate.w;\\\\n lightDirection = lightPosition - cameraCoordinate.xyz;\\\\n eyeDirection = eyePosition - cameraCoordinate.xyz;\\\\n surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz);\\\\n}\\\\n\\\"]),a=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nfloat beckmannDistribution(float x, float roughness) {\\\\n float NdotH = max(x, 0.0001);\\\\n float cos2Alpha = NdotH * NdotH;\\\\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\\\\n float roughness2 = roughness * roughness;\\\\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\\\\n return exp(tan2Alpha / roughness2) / denom;\\\\n}\\\\n\\\\nfloat beckmannSpecular(\\\\n vec3 lightDirection,\\\\n vec3 viewDirection,\\\\n vec3 surfaceNormal,\\\\n float roughness) {\\\\n return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness);\\\\n}\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec3 lowerBound, upperBound;\\\\nuniform float contourTint;\\\\nuniform vec4 contourColor;\\\\nuniform sampler2D colormap;\\\\nuniform vec3 clipBounds[2];\\\\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\\\\nuniform float vertexColor;\\\\n\\\\nvarying float value, kill;\\\\nvarying vec3 worldCoordinate;\\\\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\\\\nvarying vec4 vColor;\\\\n\\\\nvoid main() {\\\\n if (\\\\n kill > 0.0 ||\\\\n vColor.a == 0.0 ||\\\\n outOfRange(clipBounds[0], clipBounds[1], worldCoordinate)\\\\n ) discard;\\\\n\\\\n vec3 N = normalize(surfaceNormal);\\\\n vec3 V = normalize(eyeDirection);\\\\n vec3 L = normalize(lightDirection);\\\\n\\\\n if(gl_FrontFacing) {\\\\n N = -N;\\\\n }\\\\n\\\\n float specular = max(beckmannSpecular(L, V, N, roughness), 0.);\\\\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\\\\n\\\\n //decide how to interpolate color — in vertex or in fragment\\\\n vec4 surfaceColor =\\\\n step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) +\\\\n step(.5, vertexColor) * vColor;\\\\n\\\\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\\\\n\\\\n gl_FragColor = mix(litColor, contourColor, contourTint) * opacity;\\\\n}\\\\n\\\"]),s=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec4 uv;\\\\nattribute float f;\\\\n\\\\nuniform vec3 objectOffset;\\\\nuniform mat3 permutation;\\\\nuniform mat4 model, view, projection;\\\\nuniform float height, zOffset;\\\\nuniform sampler2D colormap;\\\\n\\\\nvarying float value, kill;\\\\nvarying vec3 worldCoordinate;\\\\nvarying vec2 planeCoordinate;\\\\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\\\\nvarying vec4 vColor;\\\\n\\\\nvoid main() {\\\\n vec3 dataCoordinate = permutation * vec3(uv.xy, height);\\\\n worldCoordinate = objectOffset + dataCoordinate;\\\\n vec4 worldPosition = model * vec4(worldCoordinate, 1.0);\\\\n\\\\n vec4 clipPosition = projection * view * worldPosition;\\\\n clipPosition.z += zOffset;\\\\n\\\\n gl_Position = clipPosition;\\\\n value = f + objectOffset.z;\\\\n kill = -1.0;\\\\n planeCoordinate = uv.zw;\\\\n\\\\n vColor = texture2D(colormap, vec2(value, value));\\\\n\\\\n //Don't do lighting for contours\\\\n surfaceNormal = vec3(1,0,0);\\\\n eyeDirection = vec3(0,1,0);\\\\n lightDirection = vec3(0,0,1);\\\\n}\\\\n\\\"]),l=i([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nbool outOfRange(float a, float b, float p) {\\\\n return ((p > max(a, b)) || \\\\n (p < min(a, b)));\\\\n}\\\\n\\\\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y));\\\\n}\\\\n\\\\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\\\\n return (outOfRange(a.x, b.x, p.x) ||\\\\n outOfRange(a.y, b.y, p.y) ||\\\\n outOfRange(a.z, b.z, p.z));\\\\n}\\\\n\\\\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\\\\n return outOfRange(a.xyz, b.xyz, p.xyz);\\\\n}\\\\n\\\\nuniform vec2 shape;\\\\nuniform vec3 clipBounds[2];\\\\nuniform float pickId;\\\\n\\\\nvarying float value, kill;\\\\nvarying vec3 worldCoordinate;\\\\nvarying vec2 planeCoordinate;\\\\nvarying vec3 surfaceNormal;\\\\n\\\\nvec2 splitFloat(float v) {\\\\n float vh = 255.0 * v;\\\\n float upper = floor(vh);\\\\n float lower = fract(vh);\\\\n return vec2(upper / 255.0, floor(lower * 16.0) / 16.0);\\\\n}\\\\n\\\\nvoid main() {\\\\n if ((kill > 0.0) ||\\\\n (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard;\\\\n\\\\n vec2 ux = splitFloat(planeCoordinate.x / shape.x);\\\\n vec2 uy = splitFloat(planeCoordinate.y / shape.y);\\\\n gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0));\\\\n}\\\\n\\\"]);n.createShader=function(t){var e=r(t,o,a,null,[{name:\\\"uv\\\",type:\\\"vec4\\\"},{name:\\\"f\\\",type:\\\"vec3\\\"},{name:\\\"normal\\\",type:\\\"vec3\\\"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e.attributes.normal.location=2,e},n.createPickShader=function(t){var e=r(t,o,l,null,[{name:\\\"uv\\\",type:\\\"vec4\\\"},{name:\\\"f\\\",type:\\\"vec3\\\"},{name:\\\"normal\\\",type:\\\"vec3\\\"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e.attributes.normal.location=2,e},n.createContourShader=function(t){var e=r(t,s,a,null,[{name:\\\"uv\\\",type:\\\"vec4\\\"},{name:\\\"f\\\",type:\\\"float\\\"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e},n.createPickContourShader=function(t){var e=r(t,s,l,null,[{name:\\\"uv\\\",type:\\\"vec4\\\"},{name:\\\"f\\\",type:\\\"float\\\"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e}},{\\\"gl-shader\\\":307,glslify:408}],320:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.gl,n=y(e),r=b(e),s=_(e),l=x(e),u=i(e),c=o(e,[{buffer:u,size:4,stride:40,offset:0},{buffer:u,size:3,stride:40,offset:16},{buffer:u,size:3,stride:40,offset:28}]),h=i(e),p=o(e,[{buffer:h,size:4,stride:20,offset:0},{buffer:h,size:1,stride:20,offset:16}]),f=i(e),d=o(e,[{buffer:f,size:2,type:e.FLOAT}]),m=a(e,1,256,e.RGBA,e.UNSIGNED_BYTE);m.minFilter=e.LINEAR,m.magFilter=e.LINEAR;var v=new E(e,[0,0],[[0,0,0],[0,0,0]],n,r,u,c,m,s,l,h,p,f,d,[0,0,0]),g={levels:[[],[],[]]};for(var w in t)g[w]=t[w];return g.colormap=g.colormap||\\\"jet\\\",v.update(g),v};var r=t(\\\"bit-twiddle\\\"),i=t(\\\"gl-buffer\\\"),o=t(\\\"gl-vao\\\"),a=t(\\\"gl-texture2d\\\"),s=t(\\\"typedarray-pool\\\"),l=t(\\\"colormap\\\"),u=t(\\\"ndarray-ops\\\"),c=t(\\\"ndarray-pack\\\"),h=t(\\\"ndarray\\\"),p=t(\\\"surface-nets\\\"),f=t(\\\"gl-mat4/multiply\\\"),d=t(\\\"gl-mat4/invert\\\"),m=t(\\\"binary-search-bounds\\\"),v=t(\\\"ndarray-gradient\\\"),g=t(\\\"./lib/shaders\\\"),y=g.createShader,_=g.createContourShader,b=g.createPickShader,x=g.createPickContourShader,w=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],A=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],C=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];function M(t,e,n,r,i){this.position=t,this.index=e,this.uv=n,this.level=r,this.dataCoordinate=i}function E(t,e,n,r,i,o,a,l,u,c,p,f,d,m,v){this.gl=t,this.shape=e,this.bounds=n,this.objectOffset=v,this.intensityBounds=[],this._shader=r,this._pickShader=i,this._coordinateBuffer=o,this._vao=a,this._colorMap=l,this._contourShader=u,this._contourPickShader=c,this._contourBuffer=p,this._contourVAO=f,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new M([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=d,this._dynamicVAO=m,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[h(s.mallocFloat(1024),[0,0]),h(s.mallocFloat(1024),[0,0]),h(s.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.opacityscale=!1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}!function(){for(var t=0;t<3;++t){var e=C[t],n=(t+2)%3;e[(t+1)%3+0]=1,e[n+3]=1,e[t+6]=1}}();var T=E.prototype;T.isTransparent=function(){return this.opacity<1||this.opacityscale},T.isOpaque=function(){if(this.opacityscale)return!1;if(this.opacity<1)return!1;if(this.opacity>=1)return!0;for(var t=0;t<3;++t)if(this._contourCounts[t].length>0)return!0;return!1},T.pickSlots=1,T.setPickBase=function(t){this.pickId=t};var S=[0,0,0],k={showSurface:!1,showContour:!1,projections:[w.slice(),w.slice(),w.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function O(t,e){var n,r,i,o=e.axes&&e.axes.lastCubeProps.axis||S,a=e.showSurface,s=e.showContour;for(n=0;n<3;++n)for(a=a||e.surfaceProject[n],r=0;r<3;++r)s=s||e.contourProject[n][r];for(n=0;n<3;++n){var l=k.projections[n];for(r=0;r<16;++r)l[r]=0;for(r=0;r<4;++r)l[5*r]=1;l[5*n]=0,l[12+n]=e.axesBounds[+(o[n]>0)][n],f(l,t.model,l);var u=k.clipBounds[n];for(i=0;i<2;++i)for(r=0;r<3;++r)u[i][r]=t.clipBounds[i][r];u[0][n]=-1e8,u[1][n]=1e8}return k.showSurface=a,k.showContour=s,k}var I={model:w,view:w,projection:w,inverseModel:w.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},L=w.slice(),P=[1,0,0,0,1,0,0,0,1];function z(t,e){t=t||{};var n=this.gl;n.disable(n.CULL_FACE),this._colorMap.bind(0);var r=I;r.model=t.model||w,r.view=t.view||w,r.projection=t.projection||w,r.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],r.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],r.objectOffset=this.objectOffset,r.contourColor=this.contourColor[0],r.inverseModel=d(r.inverseModel,r.model);for(var i=0;i<2;++i)for(var o=r.clipBounds[i],a=0;a<3;++a)o[a]=Math.min(Math.max(this.clipBounds[i][a],-1e8),1e8);r.kambient=this.ambientLight,r.kdiffuse=this.diffuseLight,r.kspecular=this.specularLight,r.roughness=this.roughness,r.fresnel=this.fresnel,r.opacity=this.opacity,r.height=0,r.permutation=P,r.vertexColor=this.vertexColor;var s=L;for(f(s,r.view,r.model),f(s,r.projection,s),d(s,s),i=0;i<3;++i)r.eyePosition[i]=s[12+i]/s[15];var l=s[15];for(i=0;i<3;++i)l+=this.lightPosition[i]*s[4*i+3];for(i=0;i<3;++i){var u=s[12+i];for(a=0;a<3;++a)u+=s[4*a+i]*this.lightPosition[a];r.lightPosition[i]=u/l}var c=O(r,this);if(c.showSurface){for(this._shader.bind(),this._shader.uniforms=r,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(n.TRIANGLES,this._vertexCount),i=0;i<3;++i)this.surfaceProject[i]&&this.vertexCount&&(this._shader.uniforms.model=c.projections[i],this._shader.uniforms.clipBounds=c.clipBounds[i],this._vao.draw(n.TRIANGLES,this._vertexCount));this._vao.unbind()}if(c.showContour){var h=this._contourShader;r.kambient=1,r.kdiffuse=0,r.kspecular=0,r.opacity=1,h.bind(),h.uniforms=r;var p=this._contourVAO;for(p.bind(),i=0;i<3;++i)for(h.uniforms.permutation=C[i],n.lineWidth(this.contourWidth[i]*this.pixelRatio),a=0;a<this.contourLevels[i].length;++a)a===this.highlightLevel[i]?(h.uniforms.contourColor=this.highlightColor[i],h.uniforms.contourTint=this.highlightTint[i]):0!==a&&a-1!==this.highlightLevel[i]||(h.uniforms.contourColor=this.contourColor[i],h.uniforms.contourTint=this.contourTint[i]),this._contourCounts[i][a]&&(h.uniforms.height=this.contourLevels[i][a],p.draw(n.LINES,this._contourCounts[i][a],this._contourOffsets[i][a]));for(i=0;i<3;++i)for(h.uniforms.model=c.projections[i],h.uniforms.clipBounds=c.clipBounds[i],a=0;a<3;++a)if(this.contourProject[i][a]){h.uniforms.permutation=C[a],n.lineWidth(this.contourWidth[a]*this.pixelRatio);for(var m=0;m<this.contourLevels[a].length;++m)m===this.highlightLevel[a]?(h.uniforms.contourColor=this.highlightColor[a],h.uniforms.contourTint=this.highlightTint[a]):0!==m&&m-1!==this.highlightLevel[a]||(h.uniforms.contourColor=this.contourColor[a],h.uniforms.contourTint=this.contourTint[a]),this._contourCounts[a][m]&&(h.uniforms.height=this.contourLevels[a][m],p.draw(n.LINES,this._contourCounts[a][m],this._contourOffsets[a][m]))}for(p.unbind(),(p=this._dynamicVAO).bind(),i=0;i<3;++i)if(0!==this._dynamicCounts[i])for(h.uniforms.model=r.model,h.uniforms.clipBounds=r.clipBounds,h.uniforms.permutation=C[i],n.lineWidth(this.dynamicWidth[i]*this.pixelRatio),h.uniforms.contourColor=this.dynamicColor[i],h.uniforms.contourTint=this.dynamicTint[i],h.uniforms.height=this.dynamicLevel[i],p.draw(n.LINES,this._dynamicCounts[i],this._dynamicOffsets[i]),a=0;a<3;++a)this.contourProject[a][i]&&(h.uniforms.model=c.projections[a],h.uniforms.clipBounds=c.clipBounds[a],p.draw(n.LINES,this._dynamicCounts[i],this._dynamicOffsets[i]));p.unbind()}}T.draw=function(t){return z.call(this,t,!1)},T.drawTransparent=function(t){return z.call(this,t,!0)};var R={model:w,view:w,projection:w,inverseModel:w,clipBounds:[[0,0,0],[0,0,0]],height:0,shape:[0,0],pickId:0,lowerBound:[0,0,0],upperBound:[0,0,0],zOffset:0,objectOffset:[0,0,0],permutation:[1,0,0,0,1,0,0,0,1],lightPosition:[0,0,0],eyePosition:[0,0,0]};function D(t,e){return Array.isArray(t)?[e(t[0]),e(t[1]),e(t[2])]:[e(t),e(t),e(t)]}function $(t){return Array.isArray(t)?3===t.length?[t[0],t[1],t[2],1]:[t[0],t[1],t[2],t[3]]:[0,0,0,1]}function B(t){if(Array.isArray(t)){if(Array.isArray(t))return[$(t[0]),$(t[1]),$(t[2])];var e=$(t);return[e.slice(),e.slice(),e.slice()]}}T.drawPick=function(t){t=t||{};var e=this.gl;e.disable(e.CULL_FACE);var n=R;n.model=t.model||w,n.view=t.view||w,n.projection=t.projection||w,n.shape=this._field[2].shape,n.pickId=this.pickId/255,n.lowerBound=this.bounds[0],n.upperBound=this.bounds[1],n.objectOffset=this.objectOffset,n.permutation=P;for(var r=0;r<2;++r)for(var i=n.clipBounds[r],o=0;o<3;++o)i[o]=Math.min(Math.max(this.clipBounds[r][o],-1e8),1e8);var a=O(n,this);if(a.showSurface){for(this._pickShader.bind(),this._pickShader.uniforms=n,this._vao.bind(),this._vao.draw(e.TRIANGLES,this._vertexCount),r=0;r<3;++r)this.surfaceProject[r]&&(this._pickShader.uniforms.model=a.projections[r],this._pickShader.uniforms.clipBounds=a.clipBounds[r],this._vao.draw(e.TRIANGLES,this._vertexCount));this._vao.unbind()}if(a.showContour){var s=this._contourPickShader;s.bind(),s.uniforms=n;var l=this._contourVAO;for(l.bind(),o=0;o<3;++o)for(e.lineWidth(this.contourWidth[o]*this.pixelRatio),s.uniforms.permutation=C[o],r=0;r<this.contourLevels[o].length;++r)this._contourCounts[o][r]&&(s.uniforms.height=this.contourLevels[o][r],l.draw(e.LINES,this._contourCounts[o][r],this._contourOffsets[o][r]));for(r=0;r<3;++r)for(s.uniforms.model=a.projections[r],s.uniforms.clipBounds=a.clipBounds[r],o=0;o<3;++o)if(this.contourProject[r][o]){s.uniforms.permutation=C[o],e.lineWidth(this.contourWidth[o]*this.pixelRatio);for(var u=0;u<this.contourLevels[o].length;++u)this._contourCounts[o][u]&&(s.uniforms.height=this.contourLevels[o][u],l.draw(e.LINES,this._contourCounts[o][u],this._contourOffsets[o][u]))}l.unbind()}},T.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=this._field[2].shape,n=this._pickResult,r=e[0]*(t.value[0]+(t.value[2]>>4)/16)/255,i=Math.floor(r),o=r-i,a=e[1]*(t.value[1]+(15&t.value[2])/16)/255,s=Math.floor(a),l=a-s;i+=1,s+=1;var u=n.position;u[0]=u[1]=u[2]=0;for(var c=0;c<2;++c)for(var h=c?o:1-o,p=0;p<2;++p)for(var f=i+c,d=s+p,v=h*(p?l:1-l),g=0;g<3;++g)u[g]+=this._field[g].get(f,d)*v;for(var y=this._pickResult.level,_=0;_<3;++_)if(y[_]=m.le(this.contourLevels[_],u[_]),y[_]<0)this.contourLevels[_].length>0&&(y[_]=0);else if(y[_]<this.contourLevels[_].length-1){var b=this.contourLevels[_][y[_]],x=this.contourLevels[_][y[_]+1];Math.abs(b-u[_])>Math.abs(x-u[_])&&(y[_]+=1)}for(n.index[0]=o<.5?i:i+1,n.index[1]=l<.5?s:s+1,n.uv[0]=r/e[0],n.uv[1]=a/e[1],g=0;g<3;++g)n.dataCoordinate[g]=this._field[g].get(n.index[0],n.index[1]);return n},T.padField=function(t,e){var n=e.shape.slice(),r=t.shape.slice();u.assign(t.lo(1,1).hi(n[0],n[1]),e),u.assign(t.lo(1).hi(n[0],1),e.hi(n[0],1)),u.assign(t.lo(1,r[1]-1).hi(n[0],1),e.lo(0,n[1]-1).hi(n[0],1)),u.assign(t.lo(0,1).hi(1,n[1]),e.hi(1)),u.assign(t.lo(r[0]-1,1).hi(1,n[1]),e.lo(n[0]-1)),t.set(0,0,e.get(0,0)),t.set(0,r[1]-1,e.get(0,n[1]-1)),t.set(r[0]-1,0,e.get(n[0]-1,0)),t.set(r[0]-1,r[1]-1,e.get(n[0]-1,n[1]-1))},T.update=function(t){t=t||{},this.objectOffset=t.objectOffset||this.objectOffset,this.dirty=!0,\\\"contourWidth\\\"in t&&(this.contourWidth=D(t.contourWidth,Number)),\\\"showContour\\\"in t&&(this.showContour=D(t.showContour,Boolean)),\\\"showSurface\\\"in t&&(this.showSurface=!!t.showSurface),\\\"contourTint\\\"in t&&(this.contourTint=D(t.contourTint,Boolean)),\\\"contourColor\\\"in t&&(this.contourColor=B(t.contourColor)),\\\"contourProject\\\"in t&&(this.contourProject=D(t.contourProject,(function(t){return D(t,Boolean)}))),\\\"surfaceProject\\\"in t&&(this.surfaceProject=t.surfaceProject),\\\"dynamicColor\\\"in t&&(this.dynamicColor=B(t.dynamicColor)),\\\"dynamicTint\\\"in t&&(this.dynamicTint=D(t.dynamicTint,Number)),\\\"dynamicWidth\\\"in t&&(this.dynamicWidth=D(t.dynamicWidth,Number)),\\\"opacity\\\"in t&&(this.opacity=t.opacity),\\\"opacityscale\\\"in t&&(this.opacityscale=t.opacityscale),\\\"colorBounds\\\"in t&&(this.colorBounds=t.colorBounds),\\\"vertexColor\\\"in t&&(this.vertexColor=t.vertexColor?1:0);var e=t.field||t.coords&&t.coords[2]||null,n=!1;if(e||(e=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),\\\"field\\\"in t||\\\"coords\\\"in t){var i=(e.shape[0]+2)*(e.shape[1]+2);i>this._field[2].data.length&&(s.freeFloat(this._field[2].data),this._field[2].data=s.mallocFloat(r.nextPow2(i))),this._field[2]=h(this._field[2].data,[e.shape[0]+2,e.shape[1]+2]),this.padField(this._field[2],e),this.shape=e.shape.slice();for(var o=this.shape,a=0;a<2;++a)this._field[2].size>this._field[a].data.length&&(s.freeFloat(this._field[a].data),this._field[a].data=s.mallocFloat(this._field[2].size)),this._field[a]=h(this._field[a].data,[o[0]+2,o[1]+2]);if(t.coords){var f=t.coords;if(!Array.isArray(f)||3!==f.length)throw new Error(\\\"gl-surface: invalid coordinates for x/y\\\");for(a=0;a<2;++a){var d=f[a];for(b=0;b<2;++b)if(d.shape[b]!==o[b])throw new Error(\\\"gl-surface: coords have incorrect shape\\\");this.padField(this._field[a],d)}}else if(t.ticks){var m=t.ticks;if(!Array.isArray(m)||2!==m.length)throw new Error(\\\"gl-surface: invalid ticks\\\");for(a=0;a<2;++a){var g=m[a];if((Array.isArray(g)||g.length)&&(g=h(g)),g.shape[0]!==o[a])throw new Error(\\\"gl-surface: invalid tick length\\\");var y=h(g.data,o);y.stride[a]=g.stride[0],y.stride[1^a]=0,this.padField(this._field[a],y)}}else{for(a=0;a<2;++a){var _=[0,0];_[a]=1,this._field[a]=h(this._field[a].data,[o[0]+2,o[1]+2],_,0)}this._field[0].set(0,0,0);for(var b=0;b<o[0];++b)this._field[0].set(b+1,0,b);for(this._field[0].set(o[0]+1,0,o[0]-1),this._field[1].set(0,0,0),b=0;b<o[1];++b)this._field[1].set(0,b+1,b);this._field[1].set(0,o[1]+1,o[1]-1)}var x=this._field,w=h(s.mallocFloat(3*x[2].size*2),[3,o[0]+2,o[1]+2,2]);for(a=0;a<3;++a)v(w.pick(a),x[a],\\\"mirror\\\");var C=h(s.mallocFloat(3*x[2].size),[o[0]+2,o[1]+2,3]);for(a=0;a<o[0]+2;++a)for(b=0;b<o[1]+2;++b){var M=w.get(0,a,b,0),E=w.get(0,a,b,1),T=w.get(1,a,b,0),S=w.get(1,a,b,1),k=w.get(2,a,b,0),O=w.get(2,a,b,1),I=T*O-S*k,L=k*E-O*M,P=M*S-E*T,z=Math.sqrt(I*I+L*L+P*P);z<1e-8?(z=Math.max(Math.abs(I),Math.abs(L),Math.abs(P)))<1e-8?(P=1,L=I=0,z=1):z=1/z:z=1/Math.sqrt(z),C.set(a,b,0,I*z),C.set(a,b,1,L*z),C.set(a,b,2,P*z)}s.free(w.data);var R=[1/0,1/0,1/0],$=[-1/0,-1/0,-1/0],N=1/0,F=-1/0,j=(o[0]-1)*(o[1]-1)*6,U=s.mallocFloat(r.nextPow2(10*j)),q=0,V=0;for(a=0;a<o[0]-1;++a)t:for(b=0;b<o[1]-1;++b){for(var H=0;H<2;++H)for(var G=0;G<2;++G)for(var W=0;W<3;++W){var X=this._field[W].get(1+a+H,1+b+G);if(isNaN(X)||!isFinite(X))continue t}for(W=0;W<6;++W){var Y=a+A[W][0],Z=b+A[W][1],K=this._field[0].get(Y+1,Z+1),J=this._field[1].get(Y+1,Z+1);X=this._field[2].get(Y+1,Z+1),I=C.get(Y+1,Z+1,0),L=C.get(Y+1,Z+1,1),P=C.get(Y+1,Z+1,2),t.intensity&&(Q=t.intensity.get(Y,Z));var Q=t.intensity?t.intensity.get(Y,Z):X+this.objectOffset[2];U[q++]=Y,U[q++]=Z,U[q++]=K,U[q++]=J,U[q++]=X,U[q++]=0,U[q++]=Q,U[q++]=I,U[q++]=L,U[q++]=P,R[0]=Math.min(R[0],K+this.objectOffset[0]),R[1]=Math.min(R[1],J+this.objectOffset[1]),R[2]=Math.min(R[2],X+this.objectOffset[2]),N=Math.min(N,Q),$[0]=Math.max($[0],K+this.objectOffset[0]),$[1]=Math.max($[1],J+this.objectOffset[1]),$[2]=Math.max($[2],X+this.objectOffset[2]),F=Math.max(F,Q),V+=1}}for(t.intensityBounds&&(N=+t.intensityBounds[0],F=+t.intensityBounds[1]),a=6;a<q;a+=10)U[a]=(U[a]-N)/(F-N);this._vertexCount=V,this._coordinateBuffer.update(U.subarray(0,q)),s.freeFloat(U),s.free(C.data),this.bounds=[R,$],this.intensity=t.intensity||this._field[2],this.intensityBounds[0]===N&&this.intensityBounds[1]===F||(n=!0),this.intensityBounds=[N,F]}if(\\\"levels\\\"in t){var tt=t.levels;for(tt=Array.isArray(tt[0])?tt.slice():[[],[],tt],a=0;a<3;++a)tt[a]=tt[a].slice(),tt[a].sort((function(t,e){return t-e}));for(a=0;a<3;++a)for(b=0;b<tt[a].length;++b)tt[a][b]-=this.objectOffset[a];t:for(a=0;a<3;++a){if(tt[a].length!==this.contourLevels[a].length){n=!0;break}for(b=0;b<tt[a].length;++b)if(tt[a][b]!==this.contourLevels[a][b]){n=!0;break t}}this.contourLevels=tt}if(n){x=this._field,o=this.shape;for(var et=[],nt=0;nt<3;++nt){var rt=this.contourLevels[nt],it=[],ot=[],at=[0,0,0];for(a=0;a<rt.length;++a){var st=p(this._field[nt],rt[a]);it.push(et.length/5|0),V=0;t:for(b=0;b<st.cells.length;++b){var lt=st.cells[b];for(W=0;W<2;++W){var ut=st.positions[lt[W]],ct=ut[0],ht=0|Math.floor(ct),pt=ct-ht,ft=ut[1],dt=0|Math.floor(ft),mt=ft-dt,vt=!1;e:for(var gt=0;gt<3;++gt){at[gt]=0;var yt=(nt+gt+1)%3;for(H=0;H<2;++H){var _t=H?pt:1-pt;for(Y=0|Math.min(Math.max(ht+H,0),o[0]),G=0;G<2;++G){var bt=G?mt:1-mt;if(Z=0|Math.min(Math.max(dt+G,0),o[1]),X=gt<2?this._field[yt].get(Y,Z):(this.intensity.get(Y,Z)-this.intensityBounds[0])/(this.intensityBounds[1]-this.intensityBounds[0]),!isFinite(X)||isNaN(X)){vt=!0;break e}var xt=_t*bt;at[gt]+=xt*X}}}if(vt){if(W>0){for(var wt=0;wt<5;++wt)et.pop();V-=1}continue t}et.push(at[0],at[1],ut[0],ut[1],at[2]),V+=1}}ot.push(V)}this._contourOffsets[nt]=it,this._contourCounts[nt]=ot}var At=s.mallocFloat(et.length);for(a=0;a<et.length;++a)At[a]=et[a];this._contourBuffer.update(At),s.freeFloat(At)}t.colormap&&this._colorMap.setPixels(function(t,e){var n=c([l({colormap:t,nshades:256,format:\\\"rgba\\\"}).map((function(t,n){var r=e?function(t,e){if(!e)return 1;if(!e.length)return 1;for(var n=0;n<e.length;++n){if(e.length<2)return 1;if(e[n][0]===t)return e[n][1];if(e[n][0]>t&&n>0){var r=(e[n][0]-t)/(e[n][0]-e[n-1][0]);return e[n][1]*(1-r)+r*e[n-1][1]}}return 1}(n/255,e):1;return[t[0],t[1],t[2],255*r]}))]);return u.divseq(n,255),n}(t.colormap,this.opacityscale))},T.dispose=function(){this._shader.dispose(),this._vao.dispose(),this._coordinateBuffer.dispose(),this._colorMap.dispose(),this._contourBuffer.dispose(),this._contourVAO.dispose(),this._contourShader.dispose(),this._contourPickShader.dispose(),this._dynamicBuffer.dispose(),this._dynamicVAO.dispose();for(var t=0;t<3;++t)s.freeFloat(this._field[t].data)},T.highlight=function(t){var e,n;if(!t)return this._dynamicCounts=[0,0,0],this.dyanamicLevel=[NaN,NaN,NaN],void(this.highlightLevel=[-1,-1,-1]);for(e=0;e<3;++e)this.enableHighlight[e]?this.highlightLevel[e]=t.level[e]:this.highlightLevel[e]=-1;for(n=this.snapToData?t.dataCoordinate:t.position,e=0;e<3;++e)n[e]-=this.objectOffset[e];if(this.enableDynamic[0]&&n[0]!==this.dynamicLevel[0]||this.enableDynamic[1]&&n[1]!==this.dynamicLevel[1]||this.enableDynamic[2]&&n[2]!==this.dynamicLevel[2]){for(var r=0,i=this.shape,o=s.mallocFloat(12*i[0]*i[1]),a=0;a<3;++a)if(this.enableDynamic[a]){this.dynamicLevel[a]=n[a];var l=(a+1)%3,u=(a+2)%3,c=this._field[a],h=this._field[l],f=this._field[u],d=p(c,n[a]),m=d.cells,v=d.positions;for(this._dynamicOffsets[a]=r,e=0;e<m.length;++e)for(var g=m[e],y=0;y<2;++y){var _=v[g[y]],b=+_[0],x=0|b,w=0|Math.min(x+1,i[0]),A=b-x,C=1-A,M=+_[1],E=0|M,T=0|Math.min(E+1,i[1]),S=M-E,k=1-S,O=C*k,I=C*S,L=A*k,P=A*S,z=O*h.get(x,E)+I*h.get(x,T)+L*h.get(w,E)+P*h.get(w,T),R=O*f.get(x,E)+I*f.get(x,T)+L*f.get(w,E)+P*f.get(w,T);if(isNaN(z)||isNaN(R)){y&&(r-=1);break}o[2*r+0]=z,o[2*r+1]=R,r+=1}this._dynamicCounts[a]=r-this._dynamicOffsets[a]}else this.dynamicLevel[a]=NaN,this._dynamicCounts[a]=0;this._dynamicBuffer.update(o.subarray(0,2*r)),s.freeFloat(o)}}},{\\\"./lib/shaders\\\":319,\\\"binary-search-bounds\\\":94,\\\"bit-twiddle\\\":95,colormap:128,\\\"gl-buffer\\\":253,\\\"gl-mat4/invert\\\":273,\\\"gl-mat4/multiply\\\":275,\\\"gl-texture2d\\\":322,\\\"gl-vao\\\":327,ndarray:448,\\\"ndarray-gradient\\\":441,\\\"ndarray-ops\\\":443,\\\"ndarray-pack\\\":444,\\\"surface-nets\\\":522,\\\"typedarray-pool\\\":547}],321:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"css-font\\\"),i=t(\\\"pick-by-alias\\\"),o=t(\\\"regl\\\"),a=t(\\\"gl-util/context\\\"),s=t(\\\"es6-weak-map\\\"),l=t(\\\"color-normalize\\\"),u=t(\\\"font-atlas\\\"),c=t(\\\"typedarray-pool\\\"),h=t(\\\"parse-rect\\\"),p=t(\\\"is-plain-obj\\\"),f=t(\\\"parse-unit\\\"),d=t(\\\"to-px\\\"),m=t(\\\"detect-kerning\\\"),v=t(\\\"object-assign\\\"),g=t(\\\"font-measure\\\"),y=t(\\\"flatten-vertex-data\\\"),_=t(\\\"bit-twiddle\\\").nextPow2,b=new s,x=!1;if(document.body){var w=document.body.appendChild(document.createElement(\\\"div\\\"));w.style.font=\\\"italic small-caps bold condensed 16px/2 cursive\\\",getComputedStyle(w).fontStretch&&(x=!0),document.body.removeChild(w)}var A=function(t){!function(t){return\\\"function\\\"==typeof t&&t._gl&&t.prop&&t.texture&&t.buffer}(t)?this.gl=a(t):(t={regl:t},this.gl=t.regl._gl),this.shader=b.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||o({gl:this.gl}),this.charBuffer=this.regl.buffer({type:\\\"uint8\\\",usage:\\\"stream\\\"}),this.sizeBuffer=this.regl.buffer({type:\\\"float\\\",usage:\\\"stream\\\"}),this.shader||(this.shader=this.createShader(),b.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(p(t)?t:{})};A.prototype.createShader=function(){var t=this.regl,e=t({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:\\\"src alpha\\\",dstRGB:\\\"one minus src alpha\\\",srcAlpha:\\\"one minus dst alpha\\\",dstAlpha:\\\"one\\\"}},stencil:{enable:!1},depth:{enable:!1},count:t.prop(\\\"count\\\"),offset:t.prop(\\\"offset\\\"),attributes:{charOffset:{offset:4,stride:8,buffer:t.this(\\\"sizeBuffer\\\")},width:{offset:0,stride:8,buffer:t.this(\\\"sizeBuffer\\\")},char:t.this(\\\"charBuffer\\\"),position:t.this(\\\"position\\\")},uniforms:{atlasSize:function(t,e){return[e.atlas.width,e.atlas.height]},atlasDim:function(t,e){return[e.atlas.cols,e.atlas.rows]},atlas:function(t,e){return e.atlas.texture},charStep:function(t,e){return e.atlas.step},em:function(t,e){return e.atlas.em},color:t.prop(\\\"color\\\"),opacity:t.prop(\\\"opacity\\\"),viewport:t.this(\\\"viewportArray\\\"),scale:t.this(\\\"scale\\\"),align:t.prop(\\\"align\\\"),baseline:t.prop(\\\"baseline\\\"),translate:t.this(\\\"translate\\\"),positionOffset:t.prop(\\\"positionOffset\\\")},primitive:\\\"points\\\",viewport:t.this(\\\"viewport\\\"),vert:\\\"\\\\n\\\\t\\\\t\\\\tprecision highp float;\\\\n\\\\t\\\\t\\\\tattribute float width, charOffset, char;\\\\n\\\\t\\\\t\\\\tattribute vec2 position;\\\\n\\\\t\\\\t\\\\tuniform float fontSize, charStep, em, align, baseline;\\\\n\\\\t\\\\t\\\\tuniform vec4 viewport;\\\\n\\\\t\\\\t\\\\tuniform vec4 color;\\\\n\\\\t\\\\t\\\\tuniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;\\\\n\\\\t\\\\t\\\\tvarying vec2 charCoord, charId;\\\\n\\\\t\\\\t\\\\tvarying float charWidth;\\\\n\\\\t\\\\t\\\\tvarying vec4 fontColor;\\\\n\\\\t\\\\t\\\\tvoid main () {\\\\n\\\\t\\\\t\\\\t\\\\t\\\"+(A.normalViewport?\\\"\\\":\\\"vec2 positionOffset = vec2(positionOffset.x,- positionOffset.y);\\\")+\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec2 offset = floor(em * (vec2(align + charOffset, baseline)\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t+ positionOffset))\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t/ (viewport.zw * scale.xy);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec2 position = (position + translate) * scale;\\\\n\\\\t\\\\t\\\\t\\\\tposition += offset * scale;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\"+(A.normalViewport?\\\"position.y = 1. - position.y;\\\":\\\"\\\")+\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tcharCoord = position * viewport.zw + viewport.xy;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_Position = vec4(position * 2. - 1., 0, 1);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_PointSize = charStep;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tcharId.x = mod(char, atlasDim.x);\\\\n\\\\t\\\\t\\\\t\\\\tcharId.y = floor(char / atlasDim.x);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tcharWidth = width * em;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tfontColor = color / 255.;\\\\n\\\\t\\\\t\\\\t}\\\",frag:\\\"\\\\n\\\\t\\\\t\\\\tprecision highp float;\\\\n\\\\t\\\\t\\\\tuniform sampler2D atlas;\\\\n\\\\t\\\\t\\\\tuniform float fontSize, charStep, opacity;\\\\n\\\\t\\\\t\\\\tuniform vec2 atlasSize;\\\\n\\\\t\\\\t\\\\tuniform vec4 viewport;\\\\n\\\\t\\\\t\\\\tvarying vec4 fontColor;\\\\n\\\\t\\\\t\\\\tvarying vec2 charCoord, charId;\\\\n\\\\t\\\\t\\\\tvarying float charWidth;\\\\n\\\\n\\\\t\\\\t\\\\tfloat lightness(vec4 color) {\\\\n\\\\t\\\\t\\\\t\\\\treturn color.r * 0.299 + color.g * 0.587 + color.b * 0.114;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tvoid main () {\\\\n\\\\t\\\\t\\\\t\\\\tvec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;\\\\n\\\\t\\\\t\\\\t\\\\tfloat halfCharStep = floor(charStep * .5 + .5);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t// invert y and shift by 1px (FF expecially needs that)\\\\n\\\\t\\\\t\\\\t\\\\tuv.y = charStep - uv.y;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t// ignore points outside of character bounding box\\\\n\\\\t\\\\t\\\\t\\\\tfloat halfCharWidth = ceil(charWidth * .5);\\\\n\\\\t\\\\t\\\\t\\\\tif (floor(uv.x) > halfCharStep + halfCharWidth ||\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tfloor(uv.x) < halfCharStep - halfCharWidth) return;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tuv += charId * charStep;\\\\n\\\\t\\\\t\\\\t\\\\tuv = uv / atlasSize;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec4 color = fontColor;\\\\n\\\\t\\\\t\\\\t\\\\tvec4 mask = texture2D(atlas, uv);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tfloat maskY = lightness(mask);\\\\n\\\\t\\\\t\\\\t\\\\t// float colorY = lightness(color);\\\\n\\\\t\\\\t\\\\t\\\\tcolor.a *= maskY;\\\\n\\\\t\\\\t\\\\t\\\\tcolor.a *= opacity;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t// color.a += .1;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t// antialiasing, see yiq color space y-channel formula\\\\n\\\\t\\\\t\\\\t\\\\t// color.rgb += (1. - color.rgb) * (1. - mask.rgb);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor = color;\\\\n\\\\t\\\\t\\\\t}\\\"});return{regl:t,draw:e,atlas:{}}},A.prototype.update=function(t){var e=this;if(\\\"string\\\"==typeof t)t={text:t};else if(!t)return;null!=(t=i(t,{position:\\\"position positions coord coords coordinates\\\",font:\\\"font fontFace fontface typeface cssFont css-font family fontFamily\\\",fontSize:\\\"fontSize fontsize size font-size\\\",text:\\\"text texts chars characters value values symbols\\\",align:\\\"align alignment textAlign textbaseline\\\",baseline:\\\"baseline textBaseline textbaseline\\\",direction:\\\"dir direction textDirection\\\",color:\\\"color colour fill fill-color fillColor textColor textcolor\\\",kerning:\\\"kerning kern\\\",range:\\\"range dataBox\\\",viewport:\\\"vp viewport viewBox viewbox viewPort\\\",opacity:\\\"opacity alpha transparency visible visibility opaque\\\",offset:\\\"offset positionOffset padding shift indent indentation\\\"},!0)).opacity&&(Array.isArray(t.opacity)?this.opacity=t.opacity.map((function(t){return parseFloat(t)})):this.opacity=parseFloat(t.opacity)),null!=t.viewport&&(this.viewport=h(t.viewport),A.normalViewport&&(this.viewport.y=this.canvas.height-this.viewport.y-this.viewport.height),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),null==this.viewport&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),null!=t.kerning&&(this.kerning=t.kerning),null!=t.offset&&(\\\"number\\\"==typeof t.offset&&(t.offset=[t.offset,0]),this.positionOffset=y(t.offset)),t.direction&&(this.direction=t.direction),t.range&&(this.range=t.range,this.scale=[1/(t.range[2]-t.range[0]),1/(t.range[3]-t.range[1])],this.translate=[-t.range[0],-t.range[1]]),t.scale&&(this.scale=t.scale),t.translate&&(this.translate=t.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||t.font||(t.font=A.baseFontSize+\\\"px sans-serif\\\");var n,o=!1,a=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach((function(t,n){if(\\\"string\\\"==typeof t)try{t=r.parse(t)}catch(e){t=r.parse(A.baseFontSize+\\\"px \\\"+t)}else t=r.parse(r.stringify(t));var i=r.stringify({size:A.baseFontSize,family:t.family,stretch:x?t.stretch:void 0,variant:t.variant,weight:t.weight,style:t.style}),s=f(t.size),l=Math.round(s[0]*d(s[1]));if(l!==e.fontSize[n]&&(a=!0,e.fontSize[n]=l),!(e.font[n]&&i==e.font[n].baseString||(o=!0,e.font[n]=A.fonts[i],e.font[n]))){var u=t.family.join(\\\", \\\"),c=[t.style];t.style!=t.variant&&c.push(t.variant),t.variant!=t.weight&&c.push(t.weight),x&&t.weight!=t.stretch&&c.push(t.stretch),e.font[n]={baseString:i,family:u,weight:t.weight,stretch:t.stretch,style:t.style,variant:t.variant,width:{},kerning:{},metrics:g(u,{origin:\\\"top\\\",fontSize:A.baseFontSize,fontStyle:c.join(\\\" \\\")})},A.fonts[i]=e.font[n]}})),(o||a)&&this.font.forEach((function(n,i){var o=r.stringify({size:e.fontSize[i],family:n.family,stretch:x?n.stretch:void 0,variant:n.variant,weight:n.weight,style:n.style});if(e.fontAtlas[i]=e.shader.atlas[o],!e.fontAtlas[i]){var a=n.metrics;e.shader.atlas[o]=e.fontAtlas[i]={fontString:o,step:2*Math.ceil(e.fontSize[i]*a.bottom*.5),em:e.fontSize[i],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:e.regl.texture()}}null==t.text&&(t.text=e.text)})),\\\"string\\\"==typeof t.text&&t.position&&t.position.length>2){for(var s=Array(.5*t.position.length),p=0;p<s.length;p++)s[p]=t.text;t.text=s}if(null!=t.text||o){if(this.textOffsets=[0],Array.isArray(t.text)){this.count=t.text[0].length,this.counts=[this.count];for(var b=1;b<t.text.length;b++)this.textOffsets[b]=this.textOffsets[b-1]+t.text[b-1].length,this.count+=t.text[b].length,this.counts.push(t.text[b].length);this.text=t.text.join(\\\"\\\")}else this.text=t.text,this.count=this.text.length,this.counts=[this.count];n=[],this.font.forEach((function(t,r){A.atlasContext.font=t.baseString;for(var i=e.fontAtlas[r],o=0;o<e.text.length;o++){var a=e.text.charAt(o);if(null==i.ids[a]&&(i.ids[a]=i.chars.length,i.chars.push(a),n.push(a)),null==t.width[a]&&(t.width[a]=A.atlasContext.measureText(a).width/A.baseFontSize,e.kerning)){var s=[];for(var l in t.width)s.push(l+a,a+l);v(t.kerning,m(t.family,{pairs:s}))}}}))}if(t.position)if(t.position.length>2){for(var w=!t.position[0].length,C=c.mallocFloat(2*this.count),M=0,E=0;M<this.counts.length;M++){var T=this.counts[M];if(w)for(var S=0;S<T;S++)C[E++]=t.position[2*M],C[E++]=t.position[2*M+1];else for(var k=0;k<T;k++)C[E++]=t.position[M][0],C[E++]=t.position[M][1]}this.position.call?this.position({type:\\\"float\\\",data:C}):this.position=this.regl.buffer({type:\\\"float\\\",data:C}),c.freeFloat(C)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||o){var O=c.mallocUint8(this.count),I=c.mallocFloat(2*this.count);this.textWidth=[];for(var L=0,P=0;L<this.counts.length;L++){for(var z=this.counts[L],R=this.font[L]||this.font[0],D=this.fontAtlas[L]||this.fontAtlas[0],$=0;$<z;$++){var B=this.text.charAt(P),N=this.text.charAt(P-1);if(O[P]=D.ids[B],I[2*P]=R.width[B],$){var F=I[2*P-2],j=I[2*P],U=I[2*P-1]+.5*F+.5*j;if(this.kerning){var q=R.kerning[N+B];q&&(U+=.001*q)}I[2*P+1]=U}else I[2*P+1]=.5*I[2*P];P++}this.textWidth.push(I.length?.5*I[2*P-2]+I[2*P-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:O,type:\\\"uint8\\\",usage:\\\"stream\\\"}),this.sizeBuffer({data:I,type:\\\"float\\\",usage:\\\"stream\\\"}),c.freeUint8(O),c.freeFloat(I),n.length&&this.font.forEach((function(t,n){var r=e.fontAtlas[n],i=r.step,o=Math.floor(A.maxAtlasSize/i),a=Math.min(o,r.chars.length),s=Math.ceil(r.chars.length/a),l=_(a*i),c=_(s*i);r.width=l,r.height=c,r.rows=s,r.cols=a,r.em&&r.texture({data:u({canvas:A.atlasCanvas,font:r.fontString,chars:r.chars,shape:[l,c],step:[i,i]})})}))}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map((function(t,n){var r=Array.isArray(e.align)?e.align.length>1?e.align[n]:e.align[0]:e.align;if(\\\"number\\\"==typeof r)return r;switch(r){case\\\"right\\\":case\\\"end\\\":return-t;case\\\"center\\\":case\\\"centre\\\":case\\\"middle\\\":return.5*-t}return 0}))),null==this.baseline&&null==t.baseline&&(t.baseline=0),null!=t.baseline&&(this.baseline=t.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map((function(t,n){var r=(e.font[n]||e.font[0]).metrics,i=0;return i+=.5*r.bottom,i+=\\\"number\\\"==typeof t?t-r.baseline:-r[t],A.normalViewport||(i*=-1),i}))),null!=t.color)if(t.color||(t.color=\\\"transparent\\\"),\\\"string\\\"!=typeof t.color&&isNaN(t.color)){var V;if(\\\"number\\\"==typeof t.color[0]&&t.color.length>this.counts.length){var H=t.color.length;V=c.mallocUint8(H);for(var G=(t.color.subarray||t.color.slice).bind(t.color),W=0;W<H;W+=4)V.set(l(G(W,W+4),\\\"uint8\\\"),W)}else{var X=t.color.length;V=c.mallocUint8(4*X);for(var Y=0;Y<X;Y++)V.set(l(t.color[Y]||0,\\\"uint8\\\"),4*Y)}this.color=V}else this.color=l(t.color,\\\"uint8\\\");if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity)if(this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Z=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Z);for(var K=0;K<this.batch.length;K++)this.batch[K]={count:this.counts.length>1?this.counts[K]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[K]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*K,4*K+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[K]:this.opacity,baseline:null!=this.baselineOffset[K]?this.baselineOffset[K]:this.baselineOffset[0],align:this.align?null!=this.alignOffset[K]?this.alignOffset[K]:this.alignOffset[0]:0,atlas:this.fontAtlas[K]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*K,2*K+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},A.prototype.destroy=function(){},A.prototype.kerning=!0,A.prototype.position={constant:new Float32Array(2)},A.prototype.translate=null,A.prototype.scale=null,A.prototype.font=null,A.prototype.text=\\\"\\\",A.prototype.positionOffset=[0,0],A.prototype.opacity=1,A.prototype.color=new Uint8Array([0,0,0,255]),A.prototype.alignOffset=[0,0],A.normalViewport=!1,A.maxAtlasSize=1024,A.atlasCanvas=document.createElement(\\\"canvas\\\"),A.atlasContext=A.atlasCanvas.getContext(\\\"2d\\\",{alpha:!1}),A.baseFontSize=64,A.fonts={},e.exports=A},{\\\"bit-twiddle\\\":95,\\\"color-normalize\\\":122,\\\"css-font\\\":141,\\\"detect-kerning\\\":167,\\\"es6-weak-map\\\":228,\\\"flatten-vertex-data\\\":239,\\\"font-atlas\\\":240,\\\"font-measure\\\":241,\\\"gl-util/context\\\":323,\\\"is-plain-obj\\\":422,\\\"object-assign\\\":452,\\\"parse-rect\\\":457,\\\"parse-unit\\\":459,\\\"pick-by-alias\\\":463,regl:492,\\\"to-px\\\":530,\\\"typedarray-pool\\\":547}],322:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"ndarray\\\"),i=t(\\\"ndarray-ops\\\"),o=t(\\\"typedarray-pool\\\");e.exports=function(t){if(arguments.length<=1)throw new Error(\\\"gl-texture2d: Missing arguments for texture2d constructor\\\");if(a||u(t),\\\"number\\\"==typeof arguments[1])return g(t,arguments[1],arguments[2],arguments[3]||t.RGBA,arguments[4]||t.UNSIGNED_BYTE);if(Array.isArray(arguments[1]))return g(t,0|arguments[1][0],0|arguments[1][1],arguments[2]||t.RGBA,arguments[3]||t.UNSIGNED_BYTE);if(\\\"object\\\"==typeof arguments[1]){var e=arguments[1],n=c(e)?e:e.raw;if(n)return y(t,n,0|e.width,0|e.height,arguments[2]||t.RGBA,arguments[3]||t.UNSIGNED_BYTE);if(e.shape&&e.data&&e.stride)return _(t,e)}throw new Error(\\\"gl-texture2d: Invalid arguments for texture2d constructor\\\")};var a=null,s=null,l=null;function u(t){a=[t.LINEAR,t.NEAREST_MIPMAP_LINEAR,t.LINEAR_MIPMAP_NEAREST,t.LINEAR_MIPMAP_NEAREST],s=[t.NEAREST,t.LINEAR,t.NEAREST_MIPMAP_NEAREST,t.NEAREST_MIPMAP_LINEAR,t.LINEAR_MIPMAP_NEAREST,t.LINEAR_MIPMAP_LINEAR],l=[t.REPEAT,t.CLAMP_TO_EDGE,t.MIRRORED_REPEAT]}function c(t){return\\\"undefined\\\"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||\\\"undefined\\\"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||\\\"undefined\\\"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement||\\\"undefined\\\"!=typeof ImageData&&t instanceof ImageData}var h=function(t,e){i.muls(t,e,255)};function p(t,e,n){var r=t.gl,i=r.getParameter(r.MAX_TEXTURE_SIZE);if(e<0||e>i||n<0||n>i)throw new Error(\\\"gl-texture2d: Invalid texture size\\\");return t._shape=[e,n],t.bind(),r.texImage2D(r.TEXTURE_2D,0,t.format,e,n,0,t.format,t.type,null),t._mipLevels=[0],t}function f(t,e,n,r,i,o){this.gl=t,this.handle=e,this.format=i,this.type=o,this._shape=[n,r],this._mipLevels=[0],this._magFilter=t.NEAREST,this._minFilter=t.NEAREST,this._wrapS=t.CLAMP_TO_EDGE,this._wrapT=t.CLAMP_TO_EDGE,this._anisoSamples=1;var a=this,s=[this._wrapS,this._wrapT];Object.defineProperties(s,[{get:function(){return a._wrapS},set:function(t){return a.wrapS=t}},{get:function(){return a._wrapT},set:function(t){return a.wrapT=t}}]),this._wrapVector=s;var l=[this._shape[0],this._shape[1]];Object.defineProperties(l,[{get:function(){return a._shape[0]},set:function(t){return a.width=t}},{get:function(){return a._shape[1]},set:function(t){return a.height=t}}]),this._shapeVector=l}var d=f.prototype;function m(t,e){return 3===t.length?1===e[2]&&e[1]===t[0]*t[2]&&e[0]===t[2]:1===e[0]&&e[1]===t[0]}function v(t){var e=t.createTexture();return t.bindTexture(t.TEXTURE_2D,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),e}function g(t,e,n,r,i){var o=t.getParameter(t.MAX_TEXTURE_SIZE);if(e<0||e>o||n<0||n>o)throw new Error(\\\"gl-texture2d: Invalid texture shape\\\");if(i===t.FLOAT&&!t.getExtension(\\\"OES_texture_float\\\"))throw new Error(\\\"gl-texture2d: Floating point textures not supported on this platform\\\");var a=v(t);return t.texImage2D(t.TEXTURE_2D,0,r,e,n,0,r,i,null),new f(t,a,e,n,r,i)}function y(t,e,n,r,i,o){var a=v(t);return t.texImage2D(t.TEXTURE_2D,0,i,i,o,e),new f(t,a,n,r,i,o)}function _(t,e){var n=e.dtype,a=e.shape.slice(),s=t.getParameter(t.MAX_TEXTURE_SIZE);if(a[0]<0||a[0]>s||a[1]<0||a[1]>s)throw new Error(\\\"gl-texture2d: Invalid texture size\\\");var l=m(a,e.stride.slice()),u=0;\\\"float32\\\"===n?u=t.FLOAT:\\\"float64\\\"===n?(u=t.FLOAT,l=!1,n=\\\"float32\\\"):\\\"uint8\\\"===n?u=t.UNSIGNED_BYTE:(u=t.UNSIGNED_BYTE,l=!1,n=\\\"uint8\\\");var c,p,d=0;if(2===a.length)d=t.LUMINANCE,a=[a[0],a[1],1],e=r(e.data,a,[e.stride[0],e.stride[1],1],e.offset);else{if(3!==a.length)throw new Error(\\\"gl-texture2d: Invalid shape for texture\\\");if(1===a[2])d=t.ALPHA;else if(2===a[2])d=t.LUMINANCE_ALPHA;else if(3===a[2])d=t.RGB;else{if(4!==a[2])throw new Error(\\\"gl-texture2d: Invalid shape for pixel coords\\\");d=t.RGBA}}u!==t.FLOAT||t.getExtension(\\\"OES_texture_float\\\")||(u=t.UNSIGNED_BYTE,l=!1);var g=e.size;if(l)c=0===e.offset&&e.data.length===g?e.data:e.data.subarray(e.offset,e.offset+g);else{var y=[a[2],a[2]*a[0],1];p=o.malloc(g,n);var _=r(p,a,y,0);\\\"float32\\\"!==n&&\\\"float64\\\"!==n||u!==t.UNSIGNED_BYTE?i.assign(_,e):h(_,e),c=p.subarray(0,g)}var b=v(t);return t.texImage2D(t.TEXTURE_2D,0,d,a[0],a[1],0,d,u,c),l||o.free(p),new f(t,b,a[0],a[1],d,u)}Object.defineProperties(d,{minFilter:{get:function(){return this._minFilter},set:function(t){this.bind();var e=this.gl;if(this.type===e.FLOAT&&a.indexOf(t)>=0&&(e.getExtension(\\\"OES_texture_float_linear\\\")||(t=e.NEAREST)),s.indexOf(t)<0)throw new Error(\\\"gl-texture2d: Unknown filter mode \\\"+t);return e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,t),this._minFilter=t}},magFilter:{get:function(){return this._magFilter},set:function(t){this.bind();var e=this.gl;if(this.type===e.FLOAT&&a.indexOf(t)>=0&&(e.getExtension(\\\"OES_texture_float_linear\\\")||(t=e.NEAREST)),s.indexOf(t)<0)throw new Error(\\\"gl-texture2d: Unknown filter mode \\\"+t);return e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,t),this._magFilter=t}},mipSamples:{get:function(){return this._anisoSamples},set:function(t){var e=this._anisoSamples;if(this._anisoSamples=0|Math.max(t,1),e!==this._anisoSamples){var n=this.gl.getExtension(\\\"EXT_texture_filter_anisotropic\\\");n&&this.gl.texParameterf(this.gl.TEXTURE_2D,n.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(t){if(this.bind(),l.indexOf(t)<0)throw new Error(\\\"gl-texture2d: Unknown wrap mode \\\"+t);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,t),this._wrapS=t}},wrapT:{get:function(){return this._wrapT},set:function(t){if(this.bind(),l.indexOf(t)<0)throw new Error(\\\"gl-texture2d: Unknown wrap mode \\\"+t);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,t),this._wrapT=t}},wrap:{get:function(){return this._wrapVector},set:function(t){if(Array.isArray(t)||(t=[t,t]),2!==t.length)throw new Error(\\\"gl-texture2d: Must specify wrap mode for rows and columns\\\");for(var e=0;e<2;++e)if(l.indexOf(t[e])<0)throw new Error(\\\"gl-texture2d: Unknown wrap mode \\\"+t);this._wrapS=t[0],this._wrapT=t[1];var n=this.gl;return this.bind(),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,this._wrapS),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,this._wrapT),t}},shape:{get:function(){return this._shapeVector},set:function(t){if(Array.isArray(t)){if(2!==t.length)throw new Error(\\\"gl-texture2d: Invalid texture shape\\\")}else t=[0|t,0|t];return p(this,0|t[0],0|t[1]),[0|t[0],0|t[1]]}},width:{get:function(){return this._shape[0]},set:function(t){return p(this,t|=0,this._shape[1]),t}},height:{get:function(){return this._shape[1]},set:function(t){return t|=0,p(this,this._shape[0],t),t}}}),d.bind=function(t){var e=this.gl;return void 0!==t&&e.activeTexture(e.TEXTURE0+(0|t)),e.bindTexture(e.TEXTURE_2D,this.handle),void 0!==t?0|t:e.getParameter(e.ACTIVE_TEXTURE)-e.TEXTURE0},d.dispose=function(){this.gl.deleteTexture(this.handle)},d.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var t=Math.min(this._shape[0],this._shape[1]),e=0;t>0;++e,t>>>=1)this._mipLevels.indexOf(e)<0&&this._mipLevels.push(e)},d.setPixels=function(t,e,n,a){var s=this.gl;this.bind(),Array.isArray(e)?(a=n,n=0|e[1],e=0|e[0]):(e=e||0,n=n||0),a=a||0;var l=c(t)?t:t.raw;if(l)this._mipLevels.indexOf(a)<0?(s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,this.type,l),this._mipLevels.push(a)):s.texSubImage2D(s.TEXTURE_2D,a,e,n,this.format,this.type,l);else{if(!(t.shape&&t.stride&&t.data))throw new Error(\\\"gl-texture2d: Unsupported data type\\\");if(t.shape.length<2||e+t.shape[1]>this._shape[1]>>>a||n+t.shape[0]>this._shape[0]>>>a||e<0||n<0)throw new Error(\\\"gl-texture2d: Texture dimensions are out of bounds\\\");!function(t,e,n,a,s,l,u,c){var p=c.dtype,f=c.shape.slice();if(f.length<2||f.length>3)throw new Error(\\\"gl-texture2d: Invalid ndarray, must be 2d or 3d\\\");var d=0,v=0,g=m(f,c.stride.slice());if(\\\"float32\\\"===p?d=t.FLOAT:\\\"float64\\\"===p?(d=t.FLOAT,g=!1,p=\\\"float32\\\"):\\\"uint8\\\"===p?d=t.UNSIGNED_BYTE:(d=t.UNSIGNED_BYTE,g=!1,p=\\\"uint8\\\"),2===f.length)v=t.LUMINANCE,f=[f[0],f[1],1],c=r(c.data,f,[c.stride[0],c.stride[1],1],c.offset);else{if(3!==f.length)throw new Error(\\\"gl-texture2d: Invalid shape for texture\\\");if(1===f[2])v=t.ALPHA;else if(2===f[2])v=t.LUMINANCE_ALPHA;else if(3===f[2])v=t.RGB;else{if(4!==f[2])throw new Error(\\\"gl-texture2d: Invalid shape for pixel coords\\\");v=t.RGBA}f[2]}if(v!==t.LUMINANCE&&v!==t.ALPHA||s!==t.LUMINANCE&&s!==t.ALPHA||(v=s),v!==s)throw new Error(\\\"gl-texture2d: Incompatible texture format for setPixels\\\");var y=c.size,_=u.indexOf(a)<0;if(_&&u.push(a),d===l&&g)0===c.offset&&c.data.length===y?_?t.texImage2D(t.TEXTURE_2D,a,s,f[0],f[1],0,s,l,c.data):t.texSubImage2D(t.TEXTURE_2D,a,e,n,f[0],f[1],s,l,c.data):_?t.texImage2D(t.TEXTURE_2D,a,s,f[0],f[1],0,s,l,c.data.subarray(c.offset,c.offset+y)):t.texSubImage2D(t.TEXTURE_2D,a,e,n,f[0],f[1],s,l,c.data.subarray(c.offset,c.offset+y));else{var b;b=l===t.FLOAT?o.mallocFloat32(y):o.mallocUint8(y);var x=r(b,f,[f[2],f[2]*f[0],1]);d===t.FLOAT&&l===t.UNSIGNED_BYTE?h(x,c):i.assign(x,c),_?t.texImage2D(t.TEXTURE_2D,a,s,f[0],f[1],0,s,l,b.subarray(0,y)):t.texSubImage2D(t.TEXTURE_2D,a,e,n,f[0],f[1],s,l,b.subarray(0,y)),l===t.FLOAT?o.freeFloat32(b):o.freeUint8(b)}}(s,e,n,a,this.format,this.type,this._mipLevels,t)}}},{ndarray:448,\\\"ndarray-ops\\\":443,\\\"typedarray-pool\\\":547}],323:[function(t,e,r){(function(n){\\\"use strict\\\";var r=t(\\\"pick-by-alias\\\");function i(t){if(t.container)if(t.container==document.body)document.body.style.width||(t.canvas.width=t.width||t.pixelRatio*n.innerWidth),document.body.style.height||(t.canvas.height=t.height||t.pixelRatio*n.innerHeight);else{var e=t.container.getBoundingClientRect();t.canvas.width=t.width||e.right-e.left,t.canvas.height=t.height||e.bottom-e.top}}function o(t){return\\\"function\\\"==typeof t.getContext&&\\\"width\\\"in t&&\\\"height\\\"in t}function a(){var t=document.createElement(\\\"canvas\\\");return t.style.position=\\\"absolute\\\",t.style.top=0,t.style.left=0,t}e.exports=function(t){if(t?\\\"string\\\"==typeof t&&(t={container:t}):t={},(t=o(t)||(e=t,\\\"string\\\"==typeof e.nodeName&&\\\"function\\\"==typeof e.appendChild&&\\\"function\\\"==typeof e.getBoundingClientRect)?{container:t}:function(t){return\\\"function\\\"==typeof t.drawArrays||\\\"function\\\"==typeof t.drawElements}(t)?{gl:t}:r(t,{container:\\\"container target element el canvas holder parent parentNode wrapper use ref root node\\\",gl:\\\"gl context webgl glContext\\\",attrs:\\\"attributes attrs contextAttributes\\\",pixelRatio:\\\"pixelRatio pxRatio px ratio pxratio pixelratio\\\",width:\\\"w width\\\",height:\\\"h height\\\"},!0)).pixelRatio||(t.pixelRatio=n.pixelRatio||1),t.gl)return t.gl;var e;if(t.canvas&&(t.container=t.canvas.parentNode),t.container){if(\\\"string\\\"==typeof t.container){var s=document.querySelector(t.container);if(!s)throw Error(\\\"Element \\\"+t.container+\\\" is not found\\\");t.container=s}o(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=a(),t.container.appendChild(t.canvas),i(t))}else if(!t.canvas){if(\\\"undefined\\\"==typeof document)throw Error(\\\"Not DOM environment. Use headless-gl.\\\");t.container=document.body||document.documentElement,t.canvas=a(),t.container.appendChild(t.canvas),i(t)}if(!t.gl)try{t.gl=t.canvas.getContext(\\\"webgl\\\",t.attrs)}catch(e){try{t.gl=t.canvas.getContext(\\\"experimental-webgl\\\",t.attrs)}catch(e){t.gl=t.canvas.getContext(\\\"webgl-experimental\\\",t.attrs)}}return t.gl}}).call(this,void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{\\\"pick-by-alias\\\":463}],324:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){e?e.bind():t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null);var r=0|t.getParameter(t.MAX_VERTEX_ATTRIBS);if(n){if(n.length>r)throw new Error(\\\"gl-vao: Too many vertex attributes\\\");for(var i=0;i<n.length;++i){var o=n[i];if(o.buffer){var a=o.buffer,s=o.size||4,l=o.type||t.FLOAT,u=!!o.normalized,c=o.stride||0,h=o.offset||0;a.bind(),t.enableVertexAttribArray(i),t.vertexAttribPointer(i,s,l,u,c,h)}else{if(\\\"number\\\"==typeof o)t.vertexAttrib1f(i,o);else if(1===o.length)t.vertexAttrib1f(i,o[0]);else if(2===o.length)t.vertexAttrib2f(i,o[0],o[1]);else if(3===o.length)t.vertexAttrib3f(i,o[0],o[1],o[2]);else{if(4!==o.length)throw new Error(\\\"gl-vao: Invalid vertex attribute\\\");t.vertexAttrib4f(i,o[0],o[1],o[2],o[3])}t.disableVertexAttribArray(i)}}for(;i<r;++i)t.disableVertexAttribArray(i)}else for(t.bindBuffer(t.ARRAY_BUFFER,null),i=0;i<r;++i)t.disableVertexAttribArray(i)}},{}],325:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./do-bind.js\\\");function i(t){this.gl=t,this._elements=null,this._attributes=null,this._elementsType=t.UNSIGNED_SHORT}i.prototype.bind=function(){r(this.gl,this._elements,this._attributes)},i.prototype.update=function(t,e,n){this._elements=e,this._attributes=t,this._elementsType=n||this.gl.UNSIGNED_SHORT},i.prototype.dispose=function(){},i.prototype.unbind=function(){},i.prototype.draw=function(t,e,n){n=n||0;var r=this.gl;this._elements?r.drawElements(t,e,this._elementsType,n):r.drawArrays(t,n,e)},e.exports=function(t){return new i(t)}},{\\\"./do-bind.js\\\":324}],326:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./do-bind.js\\\");function i(t,e,n,r,i,o){this.location=t,this.dimension=e,this.a=n,this.b=r,this.c=i,this.d=o}function o(t,e,n){this.gl=t,this._ext=e,this.handle=n,this._attribs=[],this._useElements=!1,this._elementsType=t.UNSIGNED_SHORT}i.prototype.bind=function(t){switch(this.dimension){case 1:t.vertexAttrib1f(this.location,this.a);break;case 2:t.vertexAttrib2f(this.location,this.a,this.b);break;case 3:t.vertexAttrib3f(this.location,this.a,this.b,this.c);break;case 4:t.vertexAttrib4f(this.location,this.a,this.b,this.c,this.d)}},o.prototype.bind=function(){this._ext.bindVertexArrayOES(this.handle);for(var t=0;t<this._attribs.length;++t)this._attribs[t].bind(this.gl)},o.prototype.unbind=function(){this._ext.bindVertexArrayOES(null)},o.prototype.dispose=function(){this._ext.deleteVertexArrayOES(this.handle)},o.prototype.update=function(t,e,n){if(this.bind(),r(this.gl,e,t),this.unbind(),this._attribs.length=0,t)for(var o=0;o<t.length;++o){var a=t[o];\\\"number\\\"==typeof a?this._attribs.push(new i(o,1,a)):Array.isArray(a)&&this._attribs.push(new i(o,a.length,a[0],a[1],a[2],a[3]))}this._useElements=!!e,this._elementsType=n||this.gl.UNSIGNED_SHORT},o.prototype.draw=function(t,e,n){n=n||0;var r=this.gl;this._useElements?r.drawElements(t,e,this._elementsType,n):r.drawArrays(t,n,e)},e.exports=function(t,e){return new o(t,e,e.createVertexArrayOES())}},{\\\"./do-bind.js\\\":324}],327:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/vao-native.js\\\"),i=t(\\\"./lib/vao-emulated.js\\\");function o(t){this.bindVertexArrayOES=t.bindVertexArray.bind(t),this.createVertexArrayOES=t.createVertexArray.bind(t),this.deleteVertexArrayOES=t.deleteVertexArray.bind(t)}e.exports=function(t,e,n,a){var s,l=t.createVertexArray?new o(t):t.getExtension(\\\"OES_vertex_array_object\\\");return(s=l?r(t,l):i(t)).update(e,n,a),s}},{\\\"./lib/vao-emulated.js\\\":325,\\\"./lib/vao-native.js\\\":326}],328:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}},{}],329:[function(t,e,n){e.exports=function(t,e){var n=r(t[0],t[1],t[2]),a=r(e[0],e[1],e[2]);i(n,n),i(a,a);var s=o(n,a);return s>1?0:Math.acos(s)};var r=t(\\\"./fromValues\\\"),i=t(\\\"./normalize\\\"),o=t(\\\"./dot\\\")},{\\\"./dot\\\":339,\\\"./fromValues\\\":345,\\\"./normalize\\\":356}],330:[function(t,e,n){e.exports=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t}},{}],331:[function(t,e,n){e.exports=function(t){var e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}},{}],332:[function(t,e,n){e.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}},{}],333:[function(t,e,n){e.exports=function(){var t=new Float32Array(3);return t[0]=0,t[1]=0,t[2]=0,t}},{}],334:[function(t,e,n){e.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],l=n[2];return t[0]=i*l-o*s,t[1]=o*a-r*l,t[2]=r*s-i*a,t}},{}],335:[function(t,e,n){e.exports=t(\\\"./distance\\\")},{\\\"./distance\\\":336}],336:[function(t,e,n){e.exports=function(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}},{}],337:[function(t,e,n){e.exports=t(\\\"./divide\\\")},{\\\"./divide\\\":338}],338:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}},{}],339:[function(t,e,n){e.exports=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}},{}],340:[function(t,e,n){e.exports=1e-6},{}],341:[function(t,e,n){e.exports=function(t,e){var n=t[0],i=t[1],o=t[2],a=e[0],s=e[1],l=e[2];return Math.abs(n-a)<=r*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-s)<=r*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(o-l)<=r*Math.max(1,Math.abs(o),Math.abs(l))};var r=t(\\\"./epsilon\\\")},{\\\"./epsilon\\\":340}],342:[function(t,e,n){e.exports=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}},{}],343:[function(t,e,n){e.exports=function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t}},{}],344:[function(t,e,n){e.exports=function(t,e,n,i,o,a){var s,l;for(e||(e=3),n||(n=0),l=i?Math.min(i*e+n,t.length):t.length,s=n;s<l;s+=e)r[0]=t[s],r[1]=t[s+1],r[2]=t[s+2],o(r,r,a),t[s]=r[0],t[s+1]=r[1],t[s+2]=r[2];return t};var r=t(\\\"./create\\\")()},{\\\"./create\\\":333}],345:[function(t,e,n){e.exports=function(t,e,n){var r=new Float32Array(3);return r[0]=t,r[1]=e,r[2]=n,r}},{}],346:[function(t,e,n){e.exports={EPSILON:t(\\\"./epsilon\\\"),create:t(\\\"./create\\\"),clone:t(\\\"./clone\\\"),angle:t(\\\"./angle\\\"),fromValues:t(\\\"./fromValues\\\"),copy:t(\\\"./copy\\\"),set:t(\\\"./set\\\"),equals:t(\\\"./equals\\\"),exactEquals:t(\\\"./exactEquals\\\"),add:t(\\\"./add\\\"),subtract:t(\\\"./subtract\\\"),sub:t(\\\"./sub\\\"),multiply:t(\\\"./multiply\\\"),mul:t(\\\"./mul\\\"),divide:t(\\\"./divide\\\"),div:t(\\\"./div\\\"),min:t(\\\"./min\\\"),max:t(\\\"./max\\\"),floor:t(\\\"./floor\\\"),ceil:t(\\\"./ceil\\\"),round:t(\\\"./round\\\"),scale:t(\\\"./scale\\\"),scaleAndAdd:t(\\\"./scaleAndAdd\\\"),distance:t(\\\"./distance\\\"),dist:t(\\\"./dist\\\"),squaredDistance:t(\\\"./squaredDistance\\\"),sqrDist:t(\\\"./sqrDist\\\"),length:t(\\\"./length\\\"),len:t(\\\"./len\\\"),squaredLength:t(\\\"./squaredLength\\\"),sqrLen:t(\\\"./sqrLen\\\"),negate:t(\\\"./negate\\\"),inverse:t(\\\"./inverse\\\"),normalize:t(\\\"./normalize\\\"),dot:t(\\\"./dot\\\"),cross:t(\\\"./cross\\\"),lerp:t(\\\"./lerp\\\"),random:t(\\\"./random\\\"),transformMat4:t(\\\"./transformMat4\\\"),transformMat3:t(\\\"./transformMat3\\\"),transformQuat:t(\\\"./transformQuat\\\"),rotateX:t(\\\"./rotateX\\\"),rotateY:t(\\\"./rotateY\\\"),rotateZ:t(\\\"./rotateZ\\\"),forEach:t(\\\"./forEach\\\")}},{\\\"./add\\\":328,\\\"./angle\\\":329,\\\"./ceil\\\":330,\\\"./clone\\\":331,\\\"./copy\\\":332,\\\"./create\\\":333,\\\"./cross\\\":334,\\\"./dist\\\":335,\\\"./distance\\\":336,\\\"./div\\\":337,\\\"./divide\\\":338,\\\"./dot\\\":339,\\\"./epsilon\\\":340,\\\"./equals\\\":341,\\\"./exactEquals\\\":342,\\\"./floor\\\":343,\\\"./forEach\\\":344,\\\"./fromValues\\\":345,\\\"./inverse\\\":347,\\\"./len\\\":348,\\\"./length\\\":349,\\\"./lerp\\\":350,\\\"./max\\\":351,\\\"./min\\\":352,\\\"./mul\\\":353,\\\"./multiply\\\":354,\\\"./negate\\\":355,\\\"./normalize\\\":356,\\\"./random\\\":357,\\\"./rotateX\\\":358,\\\"./rotateY\\\":359,\\\"./rotateZ\\\":360,\\\"./round\\\":361,\\\"./scale\\\":362,\\\"./scaleAndAdd\\\":363,\\\"./set\\\":364,\\\"./sqrDist\\\":365,\\\"./sqrLen\\\":366,\\\"./squaredDistance\\\":367,\\\"./squaredLength\\\":368,\\\"./sub\\\":369,\\\"./subtract\\\":370,\\\"./transformMat3\\\":371,\\\"./transformMat4\\\":372,\\\"./transformQuat\\\":373}],347:[function(t,e,n){e.exports=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}},{}],348:[function(t,e,n){e.exports=t(\\\"./length\\\")},{\\\"./length\\\":349}],349:[function(t,e,n){e.exports=function(t){var e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}},{}],350:[function(t,e,n){e.exports=function(t,e,n,r){var i=e[0],o=e[1],a=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t}},{}],351:[function(t,e,n){e.exports=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}},{}],352:[function(t,e,n){e.exports=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}},{}],353:[function(t,e,n){e.exports=t(\\\"./multiply\\\")},{\\\"./multiply\\\":354}],354:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}},{}],355:[function(t,e,n){e.exports=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}},{}],356:[function(t,e,n){e.exports=function(t,e){var n=e[0],r=e[1],i=e[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}},{}],357:[function(t,e,n){e.exports=function(t,e){e=e||1;var n=2*Math.random()*Math.PI,r=2*Math.random()-1,i=Math.sqrt(1-r*r)*e;return t[0]=Math.cos(n)*i,t[1]=Math.sin(n)*i,t[2]=r*e,t}},{}],358:[function(t,e,n){e.exports=function(t,e,n,r){var i=n[1],o=n[2],a=e[1]-i,s=e[2]-o,l=Math.sin(r),u=Math.cos(r);return t[0]=e[0],t[1]=i+a*u-s*l,t[2]=o+a*l+s*u,t}},{}],359:[function(t,e,n){e.exports=function(t,e,n,r){var i=n[0],o=n[2],a=e[0]-i,s=e[2]-o,l=Math.sin(r),u=Math.cos(r);return t[0]=i+s*l+a*u,t[1]=e[1],t[2]=o+s*u-a*l,t}},{}],360:[function(t,e,n){e.exports=function(t,e,n,r){var i=n[0],o=n[1],a=e[0]-i,s=e[1]-o,l=Math.sin(r),u=Math.cos(r);return t[0]=i+a*u-s*l,t[1]=o+a*l+s*u,t[2]=e[2],t}},{}],361:[function(t,e,n){e.exports=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t}},{}],362:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}},{}],363:[function(t,e,n){e.exports=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}},{}],364:[function(t,e,n){e.exports=function(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}},{}],365:[function(t,e,n){e.exports=t(\\\"./squaredDistance\\\")},{\\\"./squaredDistance\\\":367}],366:[function(t,e,n){e.exports=t(\\\"./squaredLength\\\")},{\\\"./squaredLength\\\":368}],367:[function(t,e,n){e.exports=function(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}},{}],368:[function(t,e,n){e.exports=function(t){var e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}},{}],369:[function(t,e,n){e.exports=t(\\\"./subtract\\\")},{\\\"./subtract\\\":370}],370:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}},{}],371:[function(t,e,n){e.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t}},{}],372:[function(t,e,n){e.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return a=a||1,t[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/a,t[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,t[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,t}},{}],373:[function(t,e,n){e.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*o-l*i,h=u*i+l*r-a*o,p=u*o+a*i-s*r,f=-a*r-s*i-l*o;return t[0]=c*u+f*-a+h*-l-p*-s,t[1]=h*u+f*-s+p*-a-c*-l,t[2]=p*u+f*-l+c*-s-h*-a,t}},{}],374:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}},{}],375:[function(t,e,n){e.exports=function(t){var e=new Float32Array(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}},{}],376:[function(t,e,n){e.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}},{}],377:[function(t,e,n){e.exports=function(){var t=new Float32Array(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t}},{}],378:[function(t,e,n){e.exports=function(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],o=e[3]-t[3];return Math.sqrt(n*n+r*r+i*i+o*o)}},{}],379:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}},{}],380:[function(t,e,n){e.exports=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}},{}],381:[function(t,e,n){e.exports=function(t,e,n,r){var i=new Float32Array(4);return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i}},{}],382:[function(t,e,n){e.exports={create:t(\\\"./create\\\"),clone:t(\\\"./clone\\\"),fromValues:t(\\\"./fromValues\\\"),copy:t(\\\"./copy\\\"),set:t(\\\"./set\\\"),add:t(\\\"./add\\\"),subtract:t(\\\"./subtract\\\"),multiply:t(\\\"./multiply\\\"),divide:t(\\\"./divide\\\"),min:t(\\\"./min\\\"),max:t(\\\"./max\\\"),scale:t(\\\"./scale\\\"),scaleAndAdd:t(\\\"./scaleAndAdd\\\"),distance:t(\\\"./distance\\\"),squaredDistance:t(\\\"./squaredDistance\\\"),length:t(\\\"./length\\\"),squaredLength:t(\\\"./squaredLength\\\"),negate:t(\\\"./negate\\\"),inverse:t(\\\"./inverse\\\"),normalize:t(\\\"./normalize\\\"),dot:t(\\\"./dot\\\"),lerp:t(\\\"./lerp\\\"),random:t(\\\"./random\\\"),transformMat4:t(\\\"./transformMat4\\\"),transformQuat:t(\\\"./transformQuat\\\")}},{\\\"./add\\\":374,\\\"./clone\\\":375,\\\"./copy\\\":376,\\\"./create\\\":377,\\\"./distance\\\":378,\\\"./divide\\\":379,\\\"./dot\\\":380,\\\"./fromValues\\\":381,\\\"./inverse\\\":383,\\\"./length\\\":384,\\\"./lerp\\\":385,\\\"./max\\\":386,\\\"./min\\\":387,\\\"./multiply\\\":388,\\\"./negate\\\":389,\\\"./normalize\\\":390,\\\"./random\\\":391,\\\"./scale\\\":392,\\\"./scaleAndAdd\\\":393,\\\"./set\\\":394,\\\"./squaredDistance\\\":395,\\\"./squaredLength\\\":396,\\\"./subtract\\\":397,\\\"./transformMat4\\\":398,\\\"./transformQuat\\\":399}],383:[function(t,e,n){e.exports=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t}},{}],384:[function(t,e,n){e.exports=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return Math.sqrt(e*e+n*n+r*r+i*i)}},{}],385:[function(t,e,n){e.exports=function(t,e,n,r){var i=e[0],o=e[1],a=e[2],s=e[3];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t[3]=s+r*(n[3]-s),t}},{}],386:[function(t,e,n){e.exports=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t}},{}],387:[function(t,e,n){e.exports=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t}},{}],388:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}},{}],389:[function(t,e,n){e.exports=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t}},{}],390:[function(t,e,n){e.exports=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n*n+r*r+i*i+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=n*a,t[1]=r*a,t[2]=i*a,t[3]=o*a),t}},{}],391:[function(t,e,n){var r=t(\\\"./normalize\\\"),i=t(\\\"./scale\\\");e.exports=function(t,e){return e=e||1,t[0]=Math.random(),t[1]=Math.random(),t[2]=Math.random(),t[3]=Math.random(),r(t,t),i(t,t,e),t}},{\\\"./normalize\\\":390,\\\"./scale\\\":392}],392:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}},{}],393:[function(t,e,n){e.exports=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t}},{}],394:[function(t,e,n){e.exports=function(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}},{}],395:[function(t,e,n){e.exports=function(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],o=e[3]-t[3];return n*n+r*r+i*i+o*o}},{}],396:[function(t,e,n){e.exports=function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}},{}],397:[function(t,e,n){e.exports=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}},{}],398:[function(t,e,n){e.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,t}},{}],399:[function(t,e,n){e.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],l=n[2],u=n[3],c=u*r+s*o-l*i,h=u*i+l*r-a*o,p=u*o+a*i-s*r,f=-a*r-s*i-l*o;return t[0]=c*u+f*-a+h*-l-p*-s,t[1]=h*u+f*-s+p*-a-c*-l,t[2]=p*u+f*-l+c*-s-h*-a,t[3]=e[3],t}},{}],400:[function(t,e,n){var r=t(\\\"glsl-tokenizer\\\"),i=t(\\\"atob-lite\\\");e.exports=function(t){for(var e=Array.isArray(t)?t:r(t),n=0;n<e.length;n++){var o=e[n];if(\\\"preprocessor\\\"===o.type){var a=o.data.match(/\\\\#define\\\\s+SHADER_NAME(_B64)?\\\\s+(.+)$/);if(a&&a[2]){var s=a[1],l=a[2];return(s?i(l):l).trim()}}}}},{\\\"atob-lite\\\":75,\\\"glsl-tokenizer\\\":407}],401:[function(t,e,n){e.exports=function(t){var e,n,h,p=0,f=0,d=l,m=[],v=[],g=1,y=0,_=0,b=!1,x=!1,w=\\\"\\\",A=o,C=r;\\\"300 es\\\"===(t=t||{}).version&&(A=s,C=a);var M={},E={};for(p=0;p<A.length;p++)M[A[p]]=!0;for(p=0;p<C.length;p++)E[C[p]]=!0;return function(t){return v=[],null!==t?function(t){var n;for(p=0,t.toString&&(t=t.toString()),w+=t.replace(/\\\\r\\\\n/g,\\\"\\\\n\\\"),h=w.length;e=w[p],p<h;){switch(n=p,d){case 0:p=L();break;case 1:p=I();break;case 2:p=O();break;case 3:p=P();break;case 4:p=D();break;case 11:p=R();break;case 5:p=$();break;case u:p=B();break;case 9:p=k();break;case l:p=S()}n!==p&&(\\\"\\\\n\\\"===w[n]?(y=0,++g):++y)}return f+=p,w=w.slice(p),v}(t):(m.length&&T(m.join(\\\"\\\")),d=10,T(\\\"(eof)\\\"),v)};function T(t){t.length&&v.push({type:c[d],data:t,position:_,line:g,column:y})}function S(){return m=m.length?[]:m,\\\"/\\\"===n&&\\\"*\\\"===e?(_=f+p-1,d=0,n=e,p+1):\\\"/\\\"===n&&\\\"/\\\"===e?(_=f+p-1,d=1,n=e,p+1):\\\"#\\\"===e?(d=2,_=f+p,p):/\\\\s/.test(e)?(d=9,_=f+p,p):(b=/\\\\d/.test(e),x=/[^\\\\w_]/.test(e),_=f+p,d=b?4:x?3:u,p)}function k(){return/[^\\\\s]/g.test(e)?(T(m.join(\\\"\\\")),d=l,p):(m.push(e),n=e,p+1)}function O(){return\\\"\\\\r\\\"!==e&&\\\"\\\\n\\\"!==e||\\\"\\\\\\\\\\\"===n?(m.push(e),n=e,p+1):(T(m.join(\\\"\\\")),d=l,p)}function I(){return O()}function L(){return\\\"/\\\"===e&&\\\"*\\\"===n?(m.push(e),T(m.join(\\\"\\\")),d=l,p+1):(m.push(e),n=e,p+1)}function P(){if(\\\".\\\"===n&&/\\\\d/.test(e))return d=5,p;if(\\\"/\\\"===n&&\\\"*\\\"===e)return d=0,p;if(\\\"/\\\"===n&&\\\"/\\\"===e)return d=1,p;if(\\\".\\\"===e&&m.length){for(;z(m););return d=5,p}if(\\\";\\\"===e||\\\")\\\"===e||\\\"(\\\"===e){if(m.length)for(;z(m););return T(e),d=l,p+1}var t=2===m.length&&\\\"=\\\"!==e;if(/[\\\\w_\\\\d\\\\s]/.test(e)||t){for(;z(m););return d=l,p}return m.push(e),n=e,p+1}function z(t){for(var e,n,r=0;;){if(e=i.indexOf(t.slice(0,t.length+r).join(\\\"\\\")),n=i[e],-1===e){if(r--+t.length>0)continue;n=t.slice(0,1).join(\\\"\\\")}return T(n),_+=n.length,(m=m.slice(n.length)).length}}function R(){return/[^a-fA-F0-9]/.test(e)?(T(m.join(\\\"\\\")),d=l,p):(m.push(e),n=e,p+1)}function D(){return\\\".\\\"===e||/[eE]/.test(e)?(m.push(e),d=5,n=e,p+1):\\\"x\\\"===e&&1===m.length&&\\\"0\\\"===m[0]?(d=11,m.push(e),n=e,p+1):/[^\\\\d]/.test(e)?(T(m.join(\\\"\\\")),d=l,p):(m.push(e),n=e,p+1)}function $(){return\\\"f\\\"===e&&(m.push(e),n=e,p+=1),/[eE]/.test(e)?(m.push(e),n=e,p+1):(\\\"-\\\"!==e&&\\\"+\\\"!==e||!/[eE]/.test(n))&&/[^\\\\d]/.test(e)?(T(m.join(\\\"\\\")),d=l,p):(m.push(e),n=e,p+1)}function B(){if(/[^\\\\d\\\\w_]/.test(e)){var t=m.join(\\\"\\\");return d=E[t]?8:M[t]?7:6,T(m.join(\\\"\\\")),d=l,p}return m.push(e),n=e,p+1}};var r=t(\\\"./lib/literals\\\"),i=t(\\\"./lib/operators\\\"),o=t(\\\"./lib/builtins\\\"),a=t(\\\"./lib/literals-300es\\\"),s=t(\\\"./lib/builtins-300es\\\"),l=999,u=9999,c=[\\\"block-comment\\\",\\\"line-comment\\\",\\\"preprocessor\\\",\\\"operator\\\",\\\"integer\\\",\\\"float\\\",\\\"ident\\\",\\\"builtin\\\",\\\"keyword\\\",\\\"whitespace\\\",\\\"eof\\\",\\\"integer\\\"]},{\\\"./lib/builtins\\\":403,\\\"./lib/builtins-300es\\\":402,\\\"./lib/literals\\\":405,\\\"./lib/literals-300es\\\":404,\\\"./lib/operators\\\":406}],402:[function(t,e,n){var r=t(\\\"./builtins\\\");r=r.slice().filter((function(t){return!/^(gl\\\\_|texture)/.test(t)})),e.exports=r.concat([\\\"gl_VertexID\\\",\\\"gl_InstanceID\\\",\\\"gl_Position\\\",\\\"gl_PointSize\\\",\\\"gl_FragCoord\\\",\\\"gl_FrontFacing\\\",\\\"gl_FragDepth\\\",\\\"gl_PointCoord\\\",\\\"gl_MaxVertexAttribs\\\",\\\"gl_MaxVertexUniformVectors\\\",\\\"gl_MaxVertexOutputVectors\\\",\\\"gl_MaxFragmentInputVectors\\\",\\\"gl_MaxVertexTextureImageUnits\\\",\\\"gl_MaxCombinedTextureImageUnits\\\",\\\"gl_MaxTextureImageUnits\\\",\\\"gl_MaxFragmentUniformVectors\\\",\\\"gl_MaxDrawBuffers\\\",\\\"gl_MinProgramTexelOffset\\\",\\\"gl_MaxProgramTexelOffset\\\",\\\"gl_DepthRangeParameters\\\",\\\"gl_DepthRange\\\",\\\"trunc\\\",\\\"round\\\",\\\"roundEven\\\",\\\"isnan\\\",\\\"isinf\\\",\\\"floatBitsToInt\\\",\\\"floatBitsToUint\\\",\\\"intBitsToFloat\\\",\\\"uintBitsToFloat\\\",\\\"packSnorm2x16\\\",\\\"unpackSnorm2x16\\\",\\\"packUnorm2x16\\\",\\\"unpackUnorm2x16\\\",\\\"packHalf2x16\\\",\\\"unpackHalf2x16\\\",\\\"outerProduct\\\",\\\"transpose\\\",\\\"determinant\\\",\\\"inverse\\\",\\\"texture\\\",\\\"textureSize\\\",\\\"textureProj\\\",\\\"textureLod\\\",\\\"textureOffset\\\",\\\"texelFetch\\\",\\\"texelFetchOffset\\\",\\\"textureProjOffset\\\",\\\"textureLodOffset\\\",\\\"textureProjLod\\\",\\\"textureProjLodOffset\\\",\\\"textureGrad\\\",\\\"textureGradOffset\\\",\\\"textureProjGrad\\\",\\\"textureProjGradOffset\\\"])},{\\\"./builtins\\\":403}],403:[function(t,e,n){e.exports=[\\\"abs\\\",\\\"acos\\\",\\\"all\\\",\\\"any\\\",\\\"asin\\\",\\\"atan\\\",\\\"ceil\\\",\\\"clamp\\\",\\\"cos\\\",\\\"cross\\\",\\\"dFdx\\\",\\\"dFdy\\\",\\\"degrees\\\",\\\"distance\\\",\\\"dot\\\",\\\"equal\\\",\\\"exp\\\",\\\"exp2\\\",\\\"faceforward\\\",\\\"floor\\\",\\\"fract\\\",\\\"gl_BackColor\\\",\\\"gl_BackLightModelProduct\\\",\\\"gl_BackLightProduct\\\",\\\"gl_BackMaterial\\\",\\\"gl_BackSecondaryColor\\\",\\\"gl_ClipPlane\\\",\\\"gl_ClipVertex\\\",\\\"gl_Color\\\",\\\"gl_DepthRange\\\",\\\"gl_DepthRangeParameters\\\",\\\"gl_EyePlaneQ\\\",\\\"gl_EyePlaneR\\\",\\\"gl_EyePlaneS\\\",\\\"gl_EyePlaneT\\\",\\\"gl_Fog\\\",\\\"gl_FogCoord\\\",\\\"gl_FogFragCoord\\\",\\\"gl_FogParameters\\\",\\\"gl_FragColor\\\",\\\"gl_FragCoord\\\",\\\"gl_FragData\\\",\\\"gl_FragDepth\\\",\\\"gl_FragDepthEXT\\\",\\\"gl_FrontColor\\\",\\\"gl_FrontFacing\\\",\\\"gl_FrontLightModelProduct\\\",\\\"gl_FrontLightProduct\\\",\\\"gl_FrontMaterial\\\",\\\"gl_FrontSecondaryColor\\\",\\\"gl_LightModel\\\",\\\"gl_LightModelParameters\\\",\\\"gl_LightModelProducts\\\",\\\"gl_LightProducts\\\",\\\"gl_LightSource\\\",\\\"gl_LightSourceParameters\\\",\\\"gl_MaterialParameters\\\",\\\"gl_MaxClipPlanes\\\",\\\"gl_MaxCombinedTextureImageUnits\\\",\\\"gl_MaxDrawBuffers\\\",\\\"gl_MaxFragmentUniformComponents\\\",\\\"gl_MaxLights\\\",\\\"gl_MaxTextureCoords\\\",\\\"gl_MaxTextureImageUnits\\\",\\\"gl_MaxTextureUnits\\\",\\\"gl_MaxVaryingFloats\\\",\\\"gl_MaxVertexAttribs\\\",\\\"gl_MaxVertexTextureImageUnits\\\",\\\"gl_MaxVertexUniformComponents\\\",\\\"gl_ModelViewMatrix\\\",\\\"gl_ModelViewMatrixInverse\\\",\\\"gl_ModelViewMatrixInverseTranspose\\\",\\\"gl_ModelViewMatrixTranspose\\\",\\\"gl_ModelViewProjectionMatrix\\\",\\\"gl_ModelViewProjectionMatrixInverse\\\",\\\"gl_ModelViewProjectionMatrixInverseTranspose\\\",\\\"gl_ModelViewProjectionMatrixTranspose\\\",\\\"gl_MultiTexCoord0\\\",\\\"gl_MultiTexCoord1\\\",\\\"gl_MultiTexCoord2\\\",\\\"gl_MultiTexCoord3\\\",\\\"gl_MultiTexCoord4\\\",\\\"gl_MultiTexCoord5\\\",\\\"gl_MultiTexCoord6\\\",\\\"gl_MultiTexCoord7\\\",\\\"gl_Normal\\\",\\\"gl_NormalMatrix\\\",\\\"gl_NormalScale\\\",\\\"gl_ObjectPlaneQ\\\",\\\"gl_ObjectPlaneR\\\",\\\"gl_ObjectPlaneS\\\",\\\"gl_ObjectPlaneT\\\",\\\"gl_Point\\\",\\\"gl_PointCoord\\\",\\\"gl_PointParameters\\\",\\\"gl_PointSize\\\",\\\"gl_Position\\\",\\\"gl_ProjectionMatrix\\\",\\\"gl_ProjectionMatrixInverse\\\",\\\"gl_ProjectionMatrixInverseTranspose\\\",\\\"gl_ProjectionMatrixTranspose\\\",\\\"gl_SecondaryColor\\\",\\\"gl_TexCoord\\\",\\\"gl_TextureEnvColor\\\",\\\"gl_TextureMatrix\\\",\\\"gl_TextureMatrixInverse\\\",\\\"gl_TextureMatrixInverseTranspose\\\",\\\"gl_TextureMatrixTranspose\\\",\\\"gl_Vertex\\\",\\\"greaterThan\\\",\\\"greaterThanEqual\\\",\\\"inversesqrt\\\",\\\"length\\\",\\\"lessThan\\\",\\\"lessThanEqual\\\",\\\"log\\\",\\\"log2\\\",\\\"matrixCompMult\\\",\\\"max\\\",\\\"min\\\",\\\"mix\\\",\\\"mod\\\",\\\"normalize\\\",\\\"not\\\",\\\"notEqual\\\",\\\"pow\\\",\\\"radians\\\",\\\"reflect\\\",\\\"refract\\\",\\\"sign\\\",\\\"sin\\\",\\\"smoothstep\\\",\\\"sqrt\\\",\\\"step\\\",\\\"tan\\\",\\\"texture2D\\\",\\\"texture2DLod\\\",\\\"texture2DProj\\\",\\\"texture2DProjLod\\\",\\\"textureCube\\\",\\\"textureCubeLod\\\",\\\"texture2DLodEXT\\\",\\\"texture2DProjLodEXT\\\",\\\"textureCubeLodEXT\\\",\\\"texture2DGradEXT\\\",\\\"texture2DProjGradEXT\\\",\\\"textureCubeGradEXT\\\"]},{}],404:[function(t,e,n){var r=t(\\\"./literals\\\");e.exports=r.slice().concat([\\\"layout\\\",\\\"centroid\\\",\\\"smooth\\\",\\\"case\\\",\\\"mat2x2\\\",\\\"mat2x3\\\",\\\"mat2x4\\\",\\\"mat3x2\\\",\\\"mat3x3\\\",\\\"mat3x4\\\",\\\"mat4x2\\\",\\\"mat4x3\\\",\\\"mat4x4\\\",\\\"uvec2\\\",\\\"uvec3\\\",\\\"uvec4\\\",\\\"samplerCubeShadow\\\",\\\"sampler2DArray\\\",\\\"sampler2DArrayShadow\\\",\\\"isampler2D\\\",\\\"isampler3D\\\",\\\"isamplerCube\\\",\\\"isampler2DArray\\\",\\\"usampler2D\\\",\\\"usampler3D\\\",\\\"usamplerCube\\\",\\\"usampler2DArray\\\",\\\"coherent\\\",\\\"restrict\\\",\\\"readonly\\\",\\\"writeonly\\\",\\\"resource\\\",\\\"atomic_uint\\\",\\\"noperspective\\\",\\\"patch\\\",\\\"sample\\\",\\\"subroutine\\\",\\\"common\\\",\\\"partition\\\",\\\"active\\\",\\\"filter\\\",\\\"image1D\\\",\\\"image2D\\\",\\\"image3D\\\",\\\"imageCube\\\",\\\"iimage1D\\\",\\\"iimage2D\\\",\\\"iimage3D\\\",\\\"iimageCube\\\",\\\"uimage1D\\\",\\\"uimage2D\\\",\\\"uimage3D\\\",\\\"uimageCube\\\",\\\"image1DArray\\\",\\\"image2DArray\\\",\\\"iimage1DArray\\\",\\\"iimage2DArray\\\",\\\"uimage1DArray\\\",\\\"uimage2DArray\\\",\\\"image1DShadow\\\",\\\"image2DShadow\\\",\\\"image1DArrayShadow\\\",\\\"image2DArrayShadow\\\",\\\"imageBuffer\\\",\\\"iimageBuffer\\\",\\\"uimageBuffer\\\",\\\"sampler1DArray\\\",\\\"sampler1DArrayShadow\\\",\\\"isampler1D\\\",\\\"isampler1DArray\\\",\\\"usampler1D\\\",\\\"usampler1DArray\\\",\\\"isampler2DRect\\\",\\\"usampler2DRect\\\",\\\"samplerBuffer\\\",\\\"isamplerBuffer\\\",\\\"usamplerBuffer\\\",\\\"sampler2DMS\\\",\\\"isampler2DMS\\\",\\\"usampler2DMS\\\",\\\"sampler2DMSArray\\\",\\\"isampler2DMSArray\\\",\\\"usampler2DMSArray\\\"])},{\\\"./literals\\\":405}],405:[function(t,e,n){e.exports=[\\\"precision\\\",\\\"highp\\\",\\\"mediump\\\",\\\"lowp\\\",\\\"attribute\\\",\\\"const\\\",\\\"uniform\\\",\\\"varying\\\",\\\"break\\\",\\\"continue\\\",\\\"do\\\",\\\"for\\\",\\\"while\\\",\\\"if\\\",\\\"else\\\",\\\"in\\\",\\\"out\\\",\\\"inout\\\",\\\"float\\\",\\\"int\\\",\\\"uint\\\",\\\"void\\\",\\\"bool\\\",\\\"true\\\",\\\"false\\\",\\\"discard\\\",\\\"return\\\",\\\"mat2\\\",\\\"mat3\\\",\\\"mat4\\\",\\\"vec2\\\",\\\"vec3\\\",\\\"vec4\\\",\\\"ivec2\\\",\\\"ivec3\\\",\\\"ivec4\\\",\\\"bvec2\\\",\\\"bvec3\\\",\\\"bvec4\\\",\\\"sampler1D\\\",\\\"sampler2D\\\",\\\"sampler3D\\\",\\\"samplerCube\\\",\\\"sampler1DShadow\\\",\\\"sampler2DShadow\\\",\\\"struct\\\",\\\"asm\\\",\\\"class\\\",\\\"union\\\",\\\"enum\\\",\\\"typedef\\\",\\\"template\\\",\\\"this\\\",\\\"packed\\\",\\\"goto\\\",\\\"switch\\\",\\\"default\\\",\\\"inline\\\",\\\"noinline\\\",\\\"volatile\\\",\\\"public\\\",\\\"static\\\",\\\"extern\\\",\\\"external\\\",\\\"interface\\\",\\\"long\\\",\\\"short\\\",\\\"double\\\",\\\"half\\\",\\\"fixed\\\",\\\"unsigned\\\",\\\"input\\\",\\\"output\\\",\\\"hvec2\\\",\\\"hvec3\\\",\\\"hvec4\\\",\\\"dvec2\\\",\\\"dvec3\\\",\\\"dvec4\\\",\\\"fvec2\\\",\\\"fvec3\\\",\\\"fvec4\\\",\\\"sampler2DRect\\\",\\\"sampler3DRect\\\",\\\"sampler2DRectShadow\\\",\\\"sizeof\\\",\\\"cast\\\",\\\"namespace\\\",\\\"using\\\"]},{}],406:[function(t,e,n){e.exports=[\\\"<<=\\\",\\\">>=\\\",\\\"++\\\",\\\"--\\\",\\\"<<\\\",\\\">>\\\",\\\"<=\\\",\\\">=\\\",\\\"==\\\",\\\"!=\\\",\\\"&&\\\",\\\"||\\\",\\\"+=\\\",\\\"-=\\\",\\\"*=\\\",\\\"/=\\\",\\\"%=\\\",\\\"&=\\\",\\\"^^\\\",\\\"^=\\\",\\\"|=\\\",\\\"(\\\",\\\")\\\",\\\"[\\\",\\\"]\\\",\\\".\\\",\\\"!\\\",\\\"~\\\",\\\"*\\\",\\\"/\\\",\\\"%\\\",\\\"+\\\",\\\"-\\\",\\\"<\\\",\\\">\\\",\\\"&\\\",\\\"^\\\",\\\"|\\\",\\\"?\\\",\\\":\\\",\\\"=\\\",\\\",\\\",\\\";\\\",\\\"{\\\",\\\"}\\\"]},{}],407:[function(t,e,n){var r=t(\\\"./index\\\");e.exports=function(t,e){var n=r(e),i=[];return(i=i.concat(n(t))).concat(n(null))}},{\\\"./index\\\":401}],408:[function(t,e,n){e.exports=function(t){\\\"string\\\"==typeof t&&(t=[t]);for(var e=[].slice.call(arguments,1),n=[],r=0;r<t.length-1;r++)n.push(t[r],e[r]||\\\"\\\");return n.push(t[r]),n.join(\\\"\\\")}},{}],409:[function(t,e,r){(function(n){\\\"use strict\\\";var r,i=t(\\\"is-browser\\\");r=\\\"function\\\"==typeof n.matchMedia?!n.matchMedia(\\\"(hover: none)\\\").matches:i,e.exports=r}).call(this,void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{\\\"is-browser\\\":417}],410:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"is-browser\\\");e.exports=r&&function(){var t=!1;try{var e=Object.defineProperty({},\\\"passive\\\",{get:function(){t=!0}});window.addEventListener(\\\"test\\\",null,e),window.removeEventListener(\\\"test\\\",null,e)}catch(e){t=!1}return t}()},{\\\"is-browser\\\":417}],411:[function(t,e,n){n.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?i-1:0,p=n?-1:1,f=t[e+h];for(h+=p,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+h],h+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},n.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,d=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?p/l:p*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=d,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[n+f]=255&a,f+=d,a/=256,u-=8);t[n+f-d]|=128*m}},{}],412:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=t.length;if(0===n)throw new Error(\\\"Must have at least d+1 points\\\");var i=t[0].length;if(n<=i)throw new Error(\\\"Must input at least d+1 points\\\");var a=t.slice(0,i+1),s=r.apply(void 0,a);if(0===s)throw new Error(\\\"Input not in general position\\\");for(var l=new Array(i+1),c=0;c<=i;++c)l[c]=c;s<0&&(l[0]=1,l[1]=0);var h=new o(l,new Array(i+1),!1),p=h.adjacent,f=new Array(i+2);for(c=0;c<=i;++c){for(var d=l.slice(),m=0;m<=i;++m)m===c&&(d[m]=-1);var v=d[0];d[0]=d[1],d[1]=v;var g=new o(d,new Array(i+1),!0);p[c]=g,f[c]=g}for(f[i+1]=h,c=0;c<=i;++c){d=p[c].vertices;var y=p[c].adjacent;for(m=0;m<=i;++m){var _=d[m];if(_<0)y[m]=h;else for(var b=0;b<=i;++b)p[b].vertices.indexOf(_)<0&&(y[m]=p[b])}}var x=new u(i,a,f),w=!!e;for(c=i+1;c<n;++c)x.insert(t[c],w);return x.boundary()};var r=t(\\\"robust-orientation\\\"),i=t(\\\"simplicial-complex\\\").compareCells;function o(t,e,n){this.vertices=t,this.adjacent=e,this.boundary=n,this.lastVisited=-1}function a(t,e,n){this.vertices=t,this.cell=e,this.index=n}function s(t,e){return i(t.vertices,e.vertices)}o.prototype.flip=function(){var t=this.vertices[0];this.vertices[0]=this.vertices[1],this.vertices[1]=t;var e=this.adjacent[0];this.adjacent[0]=this.adjacent[1],this.adjacent[1]=e};var l=[];function u(t,e,n){this.dimension=t,this.vertices=e,this.simplices=n,this.interior=n.filter((function(t){return!t.boundary})),this.tuple=new Array(t+1);for(var i=0;i<=t;++i)this.tuple[i]=this.vertices[i];var o=l[t];o||(o=l[t]=function(t){for(var e=[\\\"function orient(){var tuple=this.tuple;return test(\\\"],n=0;n<=t;++n)n>0&&e.push(\\\",\\\"),e.push(\\\"tuple[\\\",n,\\\"]\\\");e.push(\\\")}return orient\\\");var i=new Function(\\\"test\\\",e.join(\\\"\\\")),o=r[t+1];return o||(o=r),i(o)}(t)),this.orient=o}var c=u.prototype;c.handleBoundaryDegeneracy=function(t,e){var n=this.dimension,r=this.vertices.length-1,i=this.tuple,o=this.vertices,a=[t];for(t.lastVisited=-r;a.length>0;){(t=a.pop()).vertices;for(var s=t.adjacent,l=0;l<=n;++l){var u=s[l];if(u.boundary&&!(u.lastVisited<=-r)){for(var c=u.vertices,h=0;h<=n;++h){var p=c[h];i[h]=p<0?e:o[p]}var f=this.orient();if(f>0)return u;u.lastVisited=-r,0===f&&a.push(u)}}}return null},c.walk=function(t,e){var n=this.vertices.length-1,r=this.dimension,i=this.vertices,o=this.tuple,a=e?this.interior.length*Math.random()|0:this.interior.length-1,s=this.interior[a];t:for(;!s.boundary;){for(var l=s.vertices,u=s.adjacent,c=0;c<=r;++c)o[c]=i[l[c]];for(s.lastVisited=n,c=0;c<=r;++c){var h=u[c];if(!(h.lastVisited>=n)){var p=o[c];o[c]=t;var f=this.orient();if(o[c]=p,f<0){s=h;continue t}h.boundary?h.lastVisited=-n:h.lastVisited=n}}return}return s},c.addPeaks=function(t,e){var n=this.vertices.length-1,r=this.dimension,i=this.vertices,l=this.tuple,u=this.interior,c=this.simplices,h=[e];e.lastVisited=n,e.vertices[e.vertices.indexOf(-1)]=n,e.boundary=!1,u.push(e);for(var p=[];h.length>0;){var f=(e=h.pop()).vertices,d=e.adjacent,m=f.indexOf(n);if(!(m<0))for(var v=0;v<=r;++v)if(v!==m){var g=d[v];if(g.boundary&&!(g.lastVisited>=n)){var y=g.vertices;if(g.lastVisited!==-n){for(var _=0,b=0;b<=r;++b)y[b]<0?(_=b,l[b]=t):l[b]=i[y[b]];if(this.orient()>0){y[_]=n,g.boundary=!1,u.push(g),h.push(g),g.lastVisited=n;continue}g.lastVisited=-n}var x=g.adjacent,w=f.slice(),A=d.slice(),C=new o(w,A,!0);c.push(C);var M=x.indexOf(e);if(!(M<0))for(x[M]=C,A[m]=g,w[v]=-1,A[v]=e,d[v]=C,C.flip(),b=0;b<=r;++b){var E=w[b];if(!(E<0||E===n)){for(var T=new Array(r-1),S=0,k=0;k<=r;++k){var O=w[k];O<0||k===b||(T[S++]=O)}p.push(new a(T,C,b))}}}}}for(p.sort(s),v=0;v+1<p.length;v+=2){var I=p[v],L=p[v+1],P=I.index,z=L.index;P<0||z<0||(I.cell.adjacent[I.index]=L.cell,L.cell.adjacent[L.index]=I.cell)}},c.insert=function(t,e){var n=this.vertices;n.push(t);var r=this.walk(t,e);if(r){for(var i=this.dimension,o=this.tuple,a=0;a<=i;++a){var s=r.vertices[a];o[a]=s<0?t:n[s]}var l=this.orient(o);l<0||(0!==l||(r=this.handleBoundaryDegeneracy(r,t)))&&this.addPeaks(t,r)}},c.boundary=function(){for(var t=this.dimension,e=[],n=this.simplices,r=n.length,i=0;i<r;++i){var o=n[i];if(o.boundary){for(var a=new Array(t),s=o.vertices,l=0,u=0,c=0;c<=t;++c)s[c]>=0?a[l++]=s[c]:u=1&c;if(u===(1&t)){var h=a[0];a[0]=a[1],a[1]=h}e.push(a)}}return e}},{\\\"robust-orientation\\\":500,\\\"simplicial-complex\\\":510}],413:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"binary-search-bounds\\\");function i(t,e,n,r,i){this.mid=t,this.left=e,this.right=n,this.leftPoints=r,this.rightPoints=i,this.count=(e?e.count:0)+(n?n.count:0)+r.length}e.exports=function(t){return t&&0!==t.length?new g(v(t)):new g(null)};var o=i.prototype;function a(t,e){t.mid=e.mid,t.left=e.left,t.right=e.right,t.leftPoints=e.leftPoints,t.rightPoints=e.rightPoints,t.count=e.count}function s(t,e){var n=v(e);t.mid=n.mid,t.left=n.left,t.right=n.right,t.leftPoints=n.leftPoints,t.rightPoints=n.rightPoints,t.count=n.count}function l(t,e){var n=t.intervals([]);n.push(e),s(t,n)}function u(t,e){var n=t.intervals([]),r=n.indexOf(e);return r<0?0:(n.splice(r,1),s(t,n),1)}function c(t,e,n){for(var r=0;r<t.length&&t[r][0]<=e;++r){var i=n(t[r]);if(i)return i}}function h(t,e,n){for(var r=t.length-1;r>=0&&t[r][1]>=e;--r){var i=n(t[r]);if(i)return i}}function p(t,e){for(var n=0;n<t.length;++n){var r=e(t[n]);if(r)return r}}function f(t,e){return t-e}function d(t,e){return t[0]-e[0]||t[1]-e[1]}function m(t,e){return t[1]-e[1]||t[0]-e[0]}function v(t){if(0===t.length)return null;for(var e=[],n=0;n<t.length;++n)e.push(t[n][0],t[n][1]);e.sort(f);var r=e[e.length>>1],o=[],a=[],s=[];for(n=0;n<t.length;++n){var l=t[n];l[1]<r?o.push(l):r<l[0]?a.push(l):s.push(l)}var u=s,c=s.slice();return u.sort(d),c.sort(m),new i(r,v(o),v(a),u,c)}function g(t){this.root=t}o.intervals=function(t){return t.push.apply(t,this.leftPoints),this.left&&this.left.intervals(t),this.right&&this.right.intervals(t),t},o.insert=function(t){var e=this.count-this.leftPoints.length;if(this.count+=1,t[1]<this.mid)this.left?4*(this.left.count+1)>3*(e+1)?l(this,t):this.left.insert(t):this.left=v([t]);else if(t[0]>this.mid)this.right?4*(this.right.count+1)>3*(e+1)?l(this,t):this.right.insert(t):this.right=v([t]);else{var n=r.ge(this.leftPoints,t,d),i=r.ge(this.rightPoints,t,m);this.leftPoints.splice(n,0,t),this.rightPoints.splice(i,0,t)}},o.remove=function(t){var e=this.count-this.leftPoints;if(t[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(e-1)?u(this,t):2===(s=this.left.remove(t))?(this.left=null,this.count-=1,1):(1===s&&(this.count-=1),s):0;if(t[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(e-1)?u(this,t):2===(s=this.right.remove(t))?(this.right=null,this.count-=1,1):(1===s&&(this.count-=1),s):0;if(1===this.count)return this.leftPoints[0]===t?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===t){if(this.left&&this.right){for(var n=this,i=this.left;i.right;)n=i,i=i.right;if(n===this)i.right=this.right;else{var o=this.left,s=this.right;n.count-=i.count,n.right=i.left,i.left=o,i.right=s}a(this,i),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?a(this,this.left):a(this,this.right);return 1}for(o=r.ge(this.leftPoints,t,d);o<this.leftPoints.length&&this.leftPoints[o][0]===t[0];++o)if(this.leftPoints[o]===t)for(this.count-=1,this.leftPoints.splice(o,1),s=r.ge(this.rightPoints,t,m);s<this.rightPoints.length&&this.rightPoints[s][1]===t[1];++s)if(this.rightPoints[s]===t)return this.rightPoints.splice(s,1),1;return 0},o.queryPoint=function(t,e){return t<this.mid?this.left&&(n=this.left.queryPoint(t,e))?n:c(this.leftPoints,t,e):t>this.mid?this.right&&(n=this.right.queryPoint(t,e))?n:h(this.rightPoints,t,e):p(this.leftPoints,e);var n},o.queryInterval=function(t,e,n){var r;return t<this.mid&&this.left&&(r=this.left.queryInterval(t,e,n))||e>this.mid&&this.right&&(r=this.right.queryInterval(t,e,n))?r:e<this.mid?c(this.leftPoints,e,n):t>this.mid?h(this.rightPoints,t,n):p(this.leftPoints,n)};var y=g.prototype;y.insert=function(t){this.root?this.root.insert(t):this.root=new i(t[0],null,null,[t],[t])},y.remove=function(t){if(this.root){var e=this.root.remove(t);return 2===e&&(this.root=null),0!==e}return!1},y.queryPoint=function(t,e){if(this.root)return this.root.queryPoint(t,e)},y.queryInterval=function(t,e,n){if(t<=e&&this.root)return this.root.queryInterval(t,e,n)},Object.defineProperty(y,\\\"count\\\",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(y,\\\"intervals\\\",{get:function(){return this.root?this.root.intervals([]):[]}})},{\\\"binary-search-bounds\\\":414}],414:[function(t,e,n){arguments[4][238][0].apply(n,arguments)},{dup:238}],415:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){e=e||new Array(t.length);for(var n=0;n<t.length;++n)e[t[n]]=n;return e}},{}],416:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=new Array(t),n=0;n<t;++n)e[n]=n;return e}},{}],417:[function(t,e,n){e.exports=!0},{}],418:[function(t,e,n){function r(t){return!!t.constructor&&\\\"function\\\"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}e.exports=function(t){return null!=t&&(r(t)||function(t){return\\\"function\\\"==typeof t.readFloatLE&&\\\"function\\\"==typeof t.slice&&r(t.slice(0,0))}(t)||!!t._isBuffer)}},{}],419:[function(t,e,n){\\\"use strict\\\";e.exports=\\\"undefined\\\"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\\\\//.test(navigator.appVersion))},{}],420:[function(t,e,n){\\\"use strict\\\";e.exports=o,e.exports.isMobile=o,e.exports.default=o;var r=/(android|bb\\\\d+|meego).+mobile|avantgo|bada\\\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\\\/|plucker|pocket|psp|series[46]0|symbian|treo|up\\\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,i=/(android|bb\\\\d+|meego).+mobile|avantgo|bada\\\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\\\/|plucker|pocket|psp|series[46]0|symbian|treo|up\\\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function o(t){t||(t={});var e=t.ua;if(e||\\\"undefined\\\"==typeof navigator||(e=navigator.userAgent),e&&e.headers&&\\\"string\\\"==typeof e.headers[\\\"user-agent\\\"]&&(e=e.headers[\\\"user-agent\\\"]),\\\"string\\\"!=typeof e)return!1;var n=t.tablet?i.test(e):r.test(e);return!n&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==e.indexOf(\\\"Macintosh\\\")&&-1!==e.indexOf(\\\"Safari\\\")&&(n=!0),n}},{}],421:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=typeof t;return null!==t&&(\\\"object\\\"===e||\\\"function\\\"===e)}},{}],422:[function(t,e,n){\\\"use strict\\\";var r=Object.prototype.toString;e.exports=function(t){var e;return\\\"[object Object]\\\"===r.call(t)&&(null===(e=Object.getPrototypeOf(t))||e===Object.getPrototypeOf({}))}},{}],423:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e,n=t.length,r=0;r<n;r++)if(((e=t.charCodeAt(r))<9||e>13)&&32!==e&&133!==e&&160!==e&&5760!==e&&6158!==e&&(e<8192||e>8205)&&8232!==e&&8233!==e&&8239!==e&&8287!==e&&8288!==e&&12288!==e&&65279!==e)return!1;return!0}},{}],424:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return\\\"string\\\"==typeof t&&(t=t.trim(),!!(/^[mzlhvcsqta]\\\\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\\\\dz]$/i.test(t)&&t.length>4))}},{}],425:[function(t,e,n){e.exports=function(t,e,n){return t*(1-n)+e*n}},{}],426:[function(t,e,n){var r,i;r=this,i=function(){\\\"use strict\\\";var t,e,n;function r(r,i){if(t)if(e){var o=\\\"var sharedChunk = {}; (\\\"+t+\\\")(sharedChunk); (\\\"+e+\\\")(sharedChunk);\\\",a={};t(a),(n=i(a)).workerUrl=window.URL.createObjectURL(new Blob([o],{type:\\\"text/javascript\\\"}))}else e=i;else t=i}return r(0,(function(t){function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n=r;function r(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=r,this.p2x=n,this.p2y=r}r.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},r.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},r.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},r.prototype.solveCurveX=function(t,e){var n,r,i,o,a;for(void 0===e&&(e=1e-6),i=t,a=0;a<8;a++){if(o=this.sampleCurveX(i)-t,Math.abs(o)<e)return i;var s=this.sampleCurveDerivativeX(i);if(Math.abs(s)<1e-6)break;i-=o/s}if((i=t)<(n=0))return n;if(i>(r=1))return r;for(;n<r;){if(o=this.sampleCurveX(i),Math.abs(o-t)<e)return i;t>o?n=i:r=i,i=.5*(r-n)+n}return i},r.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var i=o;function o(t,e){this.x=t,this.y=e}function a(t,e,r,i){var o=new n(t,e,r,i);return function(t){return o.solve(t)}}o.prototype={clone:function(){return new o(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,n=t.y-this.y;return e*e+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),n=Math.sin(t),r=n*this.x+e*this.y;return this.x=e*this.x-n*this.y,this.y=r,this},_rotateAround:function(t,e){var n=Math.cos(t),r=Math.sin(t),i=e.y+r*(this.x-e.x)+n*(this.y-e.y);return this.x=e.x+n*(this.x-e.x)-r*(this.y-e.y),this.y=i,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},o.convert=function(t){return t instanceof o?t:Array.isArray(t)?new o(t[0],t[1]):t};var s=a(.25,.1,.25,1);function l(t,e,n){return Math.min(n,Math.max(e,t))}function u(t,e,n){var r=n-e,i=((t-e)%r+r)%r+e;return i===e?n:i}function c(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];for(var r=0,i=e;r<i.length;r+=1){var o=i[r];for(var a in o)t[a]=o[a]}return t}var h=1;function p(){return h++}function f(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function d(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function m(t,e){t.forEach((function(t){e[t]&&(e[t]=e[t].bind(e))}))}function v(t,e){return-1!==t.indexOf(e,t.length-e.length)}function g(t,e,n){var r={};for(var i in t)r[i]=e.call(n||this,t[i],i,t);return r}function y(t,e,n){var r={};for(var i in t)e.call(n||this,t[i],i,t)&&(r[i]=t[i]);return r}function _(t){return Array.isArray(t)?t.map(_):\\\"object\\\"==typeof t&&t?g(t,_):t}var b={};function x(t){b[t]||(\\\"undefined\\\"!=typeof console&&console.warn(t),b[t]=!0)}function w(t,e,n){return(n.y-t.y)*(e.x-t.x)>(e.y-t.y)*(n.x-t.x)}function A(t){for(var e=0,n=0,r=t.length,i=r-1,o=void 0,a=void 0;n<r;i=n++)e+=((a=t[i]).x-(o=t[n]).x)*(o.y+a.y);return e}function C(){return\\\"undefined\\\"!=typeof WorkerGlobalScope&&\\\"undefined\\\"!=typeof self&&self instanceof WorkerGlobalScope}function M(t){var e={};if(t.replace(/(?:^|(?:\\\\s*\\\\,\\\\s*))([^\\\\x00-\\\\x20\\\\(\\\\)<>@\\\\,;\\\\:\\\\\\\\\\\"\\\\/\\\\[\\\\]\\\\?\\\\=\\\\{\\\\}\\\\x7F]+)(?:\\\\=(?:([^\\\\x00-\\\\x20\\\\(\\\\)<>@\\\\,;\\\\:\\\\\\\\\\\"\\\\/\\\\[\\\\]\\\\?\\\\=\\\\{\\\\}\\\\x7F]+)|(?:\\\\\\\"((?:[^\\\"\\\\\\\\]|\\\\\\\\.)*)\\\\\\\")))?/g,(function(t,n,r,i){var o=r||i;return e[n]=!o||o.toLowerCase(),\\\"\\\"})),e[\\\"max-age\\\"]){var n=parseInt(e[\\\"max-age\\\"],10);isNaN(n)?delete e[\\\"max-age\\\"]:e[\\\"max-age\\\"]=n}return e}var E=null;function T(t){if(null==E){var e=t.navigator?t.navigator.userAgent:null;E=!!t.safari||!(!e||!(/\\\\b(iPad|iPhone|iPod)\\\\b/.test(e)||e.match(\\\"Safari\\\")&&!e.match(\\\"Chrome\\\")))}return E}function S(t){try{var e=self[t];return e.setItem(\\\"_mapbox_test_\\\",1),e.removeItem(\\\"_mapbox_test_\\\"),!0}catch(t){return!1}}var k,O,I,L,P=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),z=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,R=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,D={now:P,frame:function(t){var e=z(t);return{cancel:function(){return R(e)}}},getImageData:function(t,e){void 0===e&&(e=0);var n=self.document.createElement(\\\"canvas\\\"),r=n.getContext(\\\"2d\\\");if(!r)throw new Error(\\\"failed to create canvas 2d context\\\");return n.width=t.width,n.height=t.height,r.drawImage(t,0,0,t.width,t.height),r.getImageData(-e,-e,t.width+2*e,t.height+2*e)},resolveURL:function(t){return k||(k=self.document.createElement(\\\"a\\\")),k.href=t,k.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(null==O&&(O=self.matchMedia(\\\"(prefers-reduced-motion: reduce)\\\")),O.matches)}},$={API_URL:\\\"https://api.mapbox.com\\\",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf(\\\"https://api.mapbox.cn\\\")?\\\"https://events.mapbox.cn/events/v2\\\":0===this.API_URL.indexOf(\\\"https://api.mapbox.com\\\")?\\\"https://events.mapbox.com/events/v2\\\":null:null},FEEDBACK_URL:\\\"https://apps.mapbox.com/feedback\\\",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},B={supported:!1,testSupport:function(t){!N&&L&&(F?j(t):I=t)}},N=!1,F=!1;function j(t){var e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,L),t.isContextLost())return;B.supported=!0}catch(t){}t.deleteTexture(e),N=!0}self.document&&((L=self.document.createElement(\\\"img\\\")).onload=function(){I&&j(I),I=null,F=!0},L.onerror=function(){N=!0,I=null},L.src=\\\"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=\\\");var U=\\\"01\\\",q=function(t,e){this._transformRequestFn=t,this._customAccessToken=e,this._createSkuToken()};function V(t){return 0===t.indexOf(\\\"mapbox:\\\")}q.prototype._createSkuToken=function(){var t=function(){for(var t=\\\"\\\",e=0;e<10;e++)t+=\\\"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\\\"[Math.floor(62*Math.random())];return{token:[\\\"1\\\",U,t].join(\\\"\\\"),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=t.token,this._skuTokenExpiresAt=t.tokenExpiresAt},q.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},q.prototype.transformRequest=function(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}},q.prototype.normalizeStyleURL=function(t,e){if(!V(t))return t;var n=X(t);return n.path=\\\"/styles/v1\\\"+n.path,this._makeAPIURL(n,this._customAccessToken||e)},q.prototype.normalizeGlyphsURL=function(t,e){if(!V(t))return t;var n=X(t);return n.path=\\\"/fonts/v1\\\"+n.path,this._makeAPIURL(n,this._customAccessToken||e)},q.prototype.normalizeSourceURL=function(t,e){if(!V(t))return t;var n=X(t);return n.path=\\\"/v4/\\\"+n.authority+\\\".json\\\",n.params.push(\\\"secure\\\"),this._makeAPIURL(n,this._customAccessToken||e)},q.prototype.normalizeSpriteURL=function(t,e,n,r){var i=X(t);return V(t)?(i.path=\\\"/styles/v1\\\"+i.path+\\\"/sprite\\\"+e+n,this._makeAPIURL(i,this._customAccessToken||r)):(i.path+=\\\"\\\"+e+n,Y(i))},q.prototype.normalizeTileURL=function(t,e){if(this._isSkuTokenExpired()&&this._createSkuToken(),t&&!V(t))return t;var n=X(t);n.path=n.path.replace(/(\\\\.(png|jpg)\\\\d*)(?=$)/,(D.devicePixelRatio>=2||512===e?\\\"@2x\\\":\\\"\\\")+(B.supported?\\\".webp\\\":\\\"$1\\\")),n.path=n.path.replace(/^.+\\\\/v4\\\\//,\\\"/\\\"),n.path=\\\"/v4\\\"+n.path;var r=this._customAccessToken||function(t){for(var e=0,n=t;e<n.length;e+=1){var r=n[e].match(/^access_token=(.*)$/);if(r)return r[1]}return null}(n.params)||$.ACCESS_TOKEN;return $.REQUIRE_ACCESS_TOKEN&&r&&this._skuToken&&n.params.push(\\\"sku=\\\"+this._skuToken),this._makeAPIURL(n,r)},q.prototype.canonicalizeTileURL=function(t,e){var n=X(t);if(!n.path.match(/(^\\\\/v4\\\\/)/)||!n.path.match(/\\\\.[\\\\w]+$/))return t;var r=\\\"mapbox://tiles/\\\";r+=n.path.replace(\\\"/v4/\\\",\\\"\\\");var i=n.params;return e&&(i=i.filter((function(t){return!t.match(/^access_token=/)}))),i.length&&(r+=\\\"?\\\"+i.join(\\\"&\\\")),r},q.prototype.canonicalizeTileset=function(t,e){for(var n=!!e&&V(e),r=[],i=0,o=t.tiles||[];i<o.length;i+=1){var a=o[i];G(a)?r.push(this.canonicalizeTileURL(a,n)):r.push(a)}return r},q.prototype._makeAPIURL=function(t,e){var n=\\\"See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes\\\",r=X($.API_URL);if(t.protocol=r.protocol,t.authority=r.authority,\\\"/\\\"!==r.path&&(t.path=\\\"\\\"+r.path+t.path),!$.REQUIRE_ACCESS_TOKEN)return Y(t);if(!(e=e||$.ACCESS_TOKEN))throw new Error(\\\"An API access token is required to use Mapbox GL. \\\"+n);if(\\\"s\\\"===e[0])throw new Error(\\\"Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). \\\"+n);return t.params=t.params.filter((function(t){return-1===t.indexOf(\\\"access_token\\\")})),t.params.push(\\\"access_token=\\\"+e),Y(t)};var H=/^((https?:)?\\\\/\\\\/)?([^\\\\/]+\\\\.)?mapbox\\\\.c(n|om)(\\\\/|\\\\?|$)/i;function G(t){return H.test(t)}var W=/^(\\\\w+):\\\\/\\\\/([^/?]*)(\\\\/[^?]+)?\\\\??(.+)?/;function X(t){var e=t.match(W);if(!e)throw new Error(\\\"Unable to parse URL object\\\");return{protocol:e[1],authority:e[2],path:e[3]||\\\"/\\\",params:e[4]?e[4].split(\\\"&\\\"):[]}}function Y(t){var e=t.params.length?\\\"?\\\"+t.params.join(\\\"&\\\"):\\\"\\\";return t.protocol+\\\"://\\\"+t.authority+t.path+e}function Z(t){if(!t)return null;var e=t.split(\\\".\\\");if(!e||3!==e.length)return null;try{return JSON.parse(decodeURIComponent(self.atob(e[1]).split(\\\"\\\").map((function(t){return\\\"%\\\"+(\\\"00\\\"+t.charCodeAt(0).toString(16)).slice(-2)})).join(\\\"\\\")))}catch(t){return null}}var K=function(t){this.type=t,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};K.prototype.getStorageKey=function(t){var e,n=Z($.ACCESS_TOKEN);return e=n&&n.u?self.btoa(encodeURIComponent(n.u).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(Number(\\\"0x\\\"+e))}))):$.ACCESS_TOKEN||\\\"\\\",t?\\\"mapbox.eventData.\\\"+t+\\\":\\\"+e:\\\"mapbox.eventData:\\\"+e},K.prototype.fetchEventData=function(){var t=S(\\\"localStorage\\\"),e=this.getStorageKey(),n=this.getStorageKey(\\\"uuid\\\");if(t)try{var r=self.localStorage.getItem(e);r&&(this.eventData=JSON.parse(r));var i=self.localStorage.getItem(n);i&&(this.anonId=i)}catch(t){x(\\\"Unable to read from LocalStorage\\\")}},K.prototype.saveEventData=function(){var t=S(\\\"localStorage\\\"),e=this.getStorageKey(),n=this.getStorageKey(\\\"uuid\\\");if(t)try{self.localStorage.setItem(n,this.anonId),Object.keys(this.eventData).length>=1&&self.localStorage.setItem(e,JSON.stringify(this.eventData))}catch(t){x(\\\"Unable to write to LocalStorage\\\")}},K.prototype.processRequests=function(t){},K.prototype.postEvent=function(t,e,n,r){var i=this;if($.EVENTS_URL){var o=X($.EVENTS_URL);o.params.push(\\\"access_token=\\\"+(r||$.ACCESS_TOKEN||\\\"\\\"));var a={event:this.type,created:new Date(t).toISOString(),sdkIdentifier:\\\"mapbox-gl-js\\\",sdkVersion:\\\"1.10.1\\\",skuId:U,userId:this.anonId},s=e?c(a,e):a,l={url:Y(o),headers:{\\\"Content-Type\\\":\\\"text/plain\\\"},body:JSON.stringify([s])};this.pendingRequest=_t(l,(function(t){i.pendingRequest=null,n(t),i.saveEventData(),i.processRequests(r)}))}},K.prototype.queueRequest=function(t,e){this.queue.push(t),this.processRequests(e)};var J,Q,tt=function(t){function e(){t.call(this,\\\"map.load\\\"),this.success={},this.skuToken=\\\"\\\"}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.postMapLoadEvent=function(t,e,n,r){this.skuToken=n,($.EVENTS_URL&&r||$.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return V(t)||G(t)})))&&this.queueRequest({id:e,timestamp:Date.now()},r)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){var n=this.queue.shift(),r=n.id,i=n.timestamp;r&&this.success[r]||(this.anonId||this.fetchEventData(),d(this.anonId)||(this.anonId=f()),this.postEvent(i,{skuToken:this.skuToken},(function(t){t||r&&(e.success[r]=!0)}),t))}},e}(K),et=new(function(t){function e(e){t.call(this,\\\"appUserTurnstile\\\"),this._customAccessToken=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.postTurnstileEvent=function(t,e){$.EVENTS_URL&&$.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return V(t)||G(t)}))&&this.queueRequest(Date.now(),e)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var n=Z($.ACCESS_TOKEN),r=n?n.u:$.ACCESS_TOKEN,i=r!==this.eventData.tokenU;d(this.anonId)||(this.anonId=f(),i=!0);var o=this.queue.shift();if(this.eventData.lastSuccess){var a=new Date(this.eventData.lastSuccess),s=new Date(o),l=(o-this.eventData.lastSuccess)/864e5;i=i||l>=1||l<-1||a.getDate()!==s.getDate()}else i=!0;if(!i)return this.processRequests();this.postEvent(o,{\\\"enabled.telemetry\\\":!1},(function(t){t||(e.eventData.lastSuccess=o,e.eventData.tokenU=r)}),t)}},e}(K)),nt=et.postTurnstileEvent.bind(et),rt=new tt,it=rt.postMapLoadEvent.bind(rt),ot=500,at=50;function st(){self.caches&&!J&&(J=self.caches.open(\\\"mapbox-tiles\\\"))}function lt(t){var e=t.indexOf(\\\"?\\\");return e<0?t:t.slice(0,e)}var ut,ct=1/0;function ht(){return null==ut&&(ut=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext(\\\"2d\\\")&&\\\"function\\\"==typeof self.createImageBitmap),ut}var pt={Unknown:\\\"Unknown\\\",Style:\\\"Style\\\",Source:\\\"Source\\\",Tile:\\\"Tile\\\",Glyphs:\\\"Glyphs\\\",SpriteImage:\\\"SpriteImage\\\",SpriteJSON:\\\"SpriteJSON\\\",Image:\\\"Image\\\"};\\\"function\\\"==typeof Object.freeze&&Object.freeze(pt);var ft,dt,mt=function(t){function e(e,n,r){401===n&&G(r)&&(e+=\\\": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes\\\"),t.call(this,e),this.status=n,this.url=r,this.name=this.constructor.name,this.message=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.toString=function(){return this.name+\\\": \\\"+this.message+\\\" (\\\"+this.status+\\\"): \\\"+this.url},e}(Error),vt=C()?function(){return self.worker&&self.worker.referrer}:function(){return(\\\"blob:\\\"===self.location.protocol?self.parent:self).location.href},gt=function(t,e){if(!(/^file:/.test(n=t.url)||/^file:/.test(vt())&&!/^\\\\w+:/.test(n))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty(\\\"signal\\\"))return function(t,e){var n,r=new self.AbortController,i=new self.Request(t.url,{method:t.method||\\\"GET\\\",body:t.body,credentials:t.credentials,headers:t.headers,referrer:vt(),signal:r.signal}),o=!1,a=!1,s=(n=i.url).indexOf(\\\"sku=\\\")>0&&G(n);\\\"json\\\"===t.type&&i.headers.set(\\\"Accept\\\",\\\"application/json\\\");var l=function(n,r,o){if(!a){if(n&&\\\"SecurityError\\\"!==n.message&&x(n),r&&o)return u(r);var l=Date.now();self.fetch(i).then((function(n){if(n.ok){var r=s?n.clone():null;return u(n,r,l)}return e(new mt(n.statusText,n.status,t.url))})).catch((function(t){20!==t.code&&e(new Error(t.message))}))}},u=function(n,r,s){(\\\"arrayBuffer\\\"===t.type?n.arrayBuffer():\\\"json\\\"===t.type?n.json():n.text()).then((function(t){a||(r&&s&&function(t,e,n){if(st(),J){var r={status:e.status,statusText:e.statusText,headers:new self.Headers};e.headers.forEach((function(t,e){return r.headers.set(e,t)}));var i=M(e.headers.get(\\\"Cache-Control\\\")||\\\"\\\");i[\\\"no-store\\\"]||(i[\\\"max-age\\\"]&&r.headers.set(\\\"Expires\\\",new Date(n+1e3*i[\\\"max-age\\\"]).toUTCString()),new Date(r.headers.get(\\\"Expires\\\")).getTime()-n<42e4||function(t,e){if(void 0===Q)try{new Response(new ReadableStream),Q=!0}catch(t){Q=!1}Q?e(t.body):t.blob().then(e)}(e,(function(e){var n=new self.Response(e,r);st(),J&&J.then((function(e){return e.put(lt(t.url),n)})).catch((function(t){return x(t.message)}))})))}}(i,r,s),o=!0,e(null,t,n.headers.get(\\\"Cache-Control\\\"),n.headers.get(\\\"Expires\\\")))})).catch((function(t){a||e(new Error(t.message))}))};return s?function(t,e){if(st(),!J)return e(null);var n=lt(t.url);J.then((function(t){t.match(n).then((function(r){var i=function(t){if(!t)return!1;var e=new Date(t.headers.get(\\\"Expires\\\")||0),n=M(t.headers.get(\\\"Cache-Control\\\")||\\\"\\\");return e>Date.now()&&!n[\\\"no-cache\\\"]}(r);t.delete(n),i&&t.put(n,r.clone()),e(null,r,i)})).catch(e)})).catch(e)}(i,l):l(null,null),{cancel:function(){a=!0,o||r.abort()}}}(t,e);if(C()&&self.worker&&self.worker.actor)return self.worker.actor.send(\\\"getResource\\\",t,e,void 0,!0)}var n;return function(t,e){var n=new self.XMLHttpRequest;for(var r in n.open(t.method||\\\"GET\\\",t.url,!0),\\\"arrayBuffer\\\"===t.type&&(n.responseType=\\\"arraybuffer\\\"),t.headers)n.setRequestHeader(r,t.headers[r]);return\\\"json\\\"===t.type&&(n.responseType=\\\"text\\\",n.setRequestHeader(\\\"Accept\\\",\\\"application/json\\\")),n.withCredentials=\\\"include\\\"===t.credentials,n.onerror=function(){e(new Error(n.statusText))},n.onload=function(){if((n.status>=200&&n.status<300||0===n.status)&&null!==n.response){var r=n.response;if(\\\"json\\\"===t.type)try{r=JSON.parse(n.response)}catch(t){return e(t)}e(null,r,n.getResponseHeader(\\\"Cache-Control\\\"),n.getResponseHeader(\\\"Expires\\\"))}else e(new mt(n.statusText,n.status,t.url))},n.send(t.body),{cancel:function(){return n.abort()}}}(t,e)},yt=function(t,e){return gt(c(t,{type:\\\"arrayBuffer\\\"}),e)},_t=function(t,e){return gt(c(t,{method:\\\"POST\\\"}),e)};ft=[],dt=0;var bt=function(t,e){if(B.supported&&(t.headers||(t.headers={}),t.headers.accept=\\\"image/webp,*/*\\\"),dt>=$.MAX_PARALLEL_IMAGE_REQUESTS){var n={requestParameters:t,callback:e,cancelled:!1,cancel:function(){this.cancelled=!0}};return ft.push(n),n}dt++;var r=!1,i=function(){if(!r)for(r=!0,dt--;ft.length&&dt<$.MAX_PARALLEL_IMAGE_REQUESTS;){var t=ft.shift();t.cancelled||(t.cancel=bt(t.requestParameters,t.callback).cancel)}},o=yt(t,(function(t,n,r,o){i(),t?e(t):n&&(ht()?function(t,e){var n=new self.Blob([new Uint8Array(t)],{type:\\\"image/png\\\"});self.createImageBitmap(n).then((function(t){e(null,t)})).catch((function(t){e(new Error(\\\"Could not load image because of \\\"+t.message+\\\". Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\\\"))}))}(n,e):function(t,e,n,r){var i=new self.Image,o=self.URL;i.onload=function(){e(null,i),o.revokeObjectURL(i.src)},i.onerror=function(){return e(new Error(\\\"Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.\\\"))};var a=new self.Blob([new Uint8Array(t)],{type:\\\"image/png\\\"});i.cacheControl=n,i.expires=r,i.src=t.byteLength?o.createObjectURL(a):\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=\\\"}(n,e,r,o))}));return{cancel:function(){o.cancel(),i()}}};function xt(t,e,n){n[t]&&-1!==n[t].indexOf(e)||(n[t]=n[t]||[],n[t].push(e))}function wt(t,e,n){if(n&&n[t]){var r=n[t].indexOf(e);-1!==r&&n[t].splice(r,1)}}var At=function(t,e){void 0===e&&(e={}),c(this,e),this.type=t},Ct=function(t){function e(e,n){void 0===n&&(n={}),t.call(this,\\\"error\\\",c({error:e},n))}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(At),Mt=function(){};Mt.prototype.on=function(t,e){return this._listeners=this._listeners||{},xt(t,e,this._listeners),this},Mt.prototype.off=function(t,e){return wt(t,e,this._listeners),wt(t,e,this._oneTimeListeners),this},Mt.prototype.once=function(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},xt(t,e,this._oneTimeListeners),this},Mt.prototype.fire=function(t,e){\\\"string\\\"==typeof t&&(t=new At(t,e||{}));var n=t.type;if(this.listens(n)){t.target=this;for(var r=0,i=this._listeners&&this._listeners[n]?this._listeners[n].slice():[];r<i.length;r+=1)i[r].call(this,t);for(var o=0,a=this._oneTimeListeners&&this._oneTimeListeners[n]?this._oneTimeListeners[n].slice():[];o<a.length;o+=1){var s=a[o];wt(n,s,this._oneTimeListeners),s.call(this,t)}var l=this._eventedParent;l&&(c(t,\\\"function\\\"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),l.fire(t))}else t instanceof Ct&&console.error(t.error);return this},Mt.prototype.listens=function(t){return this._listeners&&this._listeners[t]&&this._listeners[t].length>0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)},Mt.prototype.setEventedParent=function(t,e){return this._eventedParent=t,this._eventedParentData=e,this};var Et={$version:8,$root:{version:{required:!0,type:\\\"enum\\\",values:[8]},name:{type:\\\"string\\\"},metadata:{type:\\\"*\\\"},center:{type:\\\"array\\\",value:\\\"number\\\"},zoom:{type:\\\"number\\\"},bearing:{type:\\\"number\\\",default:0,period:360,units:\\\"degrees\\\"},pitch:{type:\\\"number\\\",default:0,units:\\\"degrees\\\"},light:{type:\\\"light\\\"},sources:{required:!0,type:\\\"sources\\\"},sprite:{type:\\\"string\\\"},glyphs:{type:\\\"string\\\"},transition:{type:\\\"transition\\\"},layers:{required:!0,type:\\\"array\\\",value:\\\"layer\\\"}},sources:{\\\"*\\\":{type:\\\"source\\\"}},source:[\\\"source_vector\\\",\\\"source_raster\\\",\\\"source_raster_dem\\\",\\\"source_geojson\\\",\\\"source_video\\\",\\\"source_image\\\"],source_vector:{type:{required:!0,type:\\\"enum\\\",values:{vector:{}}},url:{type:\\\"string\\\"},tiles:{type:\\\"array\\\",value:\\\"string\\\"},bounds:{type:\\\"array\\\",value:\\\"number\\\",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:\\\"enum\\\",values:{xyz:{},tms:{}},default:\\\"xyz\\\"},minzoom:{type:\\\"number\\\",default:0},maxzoom:{type:\\\"number\\\",default:22},attribution:{type:\\\"string\\\"},promoteId:{type:\\\"promoteId\\\"},\\\"*\\\":{type:\\\"*\\\"}},source_raster:{type:{required:!0,type:\\\"enum\\\",values:{raster:{}}},url:{type:\\\"string\\\"},tiles:{type:\\\"array\\\",value:\\\"string\\\"},bounds:{type:\\\"array\\\",value:\\\"number\\\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\\\"number\\\",default:0},maxzoom:{type:\\\"number\\\",default:22},tileSize:{type:\\\"number\\\",default:512,units:\\\"pixels\\\"},scheme:{type:\\\"enum\\\",values:{xyz:{},tms:{}},default:\\\"xyz\\\"},attribution:{type:\\\"string\\\"},\\\"*\\\":{type:\\\"*\\\"}},source_raster_dem:{type:{required:!0,type:\\\"enum\\\",values:{\\\"raster-dem\\\":{}}},url:{type:\\\"string\\\"},tiles:{type:\\\"array\\\",value:\\\"string\\\"},bounds:{type:\\\"array\\\",value:\\\"number\\\",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:\\\"number\\\",default:0},maxzoom:{type:\\\"number\\\",default:22},tileSize:{type:\\\"number\\\",default:512,units:\\\"pixels\\\"},attribution:{type:\\\"string\\\"},encoding:{type:\\\"enum\\\",values:{terrarium:{},mapbox:{}},default:\\\"mapbox\\\"},\\\"*\\\":{type:\\\"*\\\"}},source_geojson:{type:{required:!0,type:\\\"enum\\\",values:{geojson:{}}},data:{type:\\\"*\\\"},maxzoom:{type:\\\"number\\\",default:18},attribution:{type:\\\"string\\\"},buffer:{type:\\\"number\\\",default:128,maximum:512,minimum:0},tolerance:{type:\\\"number\\\",default:.375},cluster:{type:\\\"boolean\\\",default:!1},clusterRadius:{type:\\\"number\\\",default:50,minimum:0},clusterMaxZoom:{type:\\\"number\\\"},clusterProperties:{type:\\\"*\\\"},lineMetrics:{type:\\\"boolean\\\",default:!1},generateId:{type:\\\"boolean\\\",default:!1},promoteId:{type:\\\"promoteId\\\"}},source_video:{type:{required:!0,type:\\\"enum\\\",values:{video:{}}},urls:{required:!0,type:\\\"array\\\",value:\\\"string\\\"},coordinates:{required:!0,type:\\\"array\\\",length:4,value:{type:\\\"array\\\",length:2,value:\\\"number\\\"}}},source_image:{type:{required:!0,type:\\\"enum\\\",values:{image:{}}},url:{required:!0,type:\\\"string\\\"},coordinates:{required:!0,type:\\\"array\\\",length:4,value:{type:\\\"array\\\",length:2,value:\\\"number\\\"}}},layer:{id:{type:\\\"string\\\",required:!0},type:{type:\\\"enum\\\",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},\\\"fill-extrusion\\\":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:\\\"*\\\"},source:{type:\\\"string\\\"},\\\"source-layer\\\":{type:\\\"string\\\"},minzoom:{type:\\\"number\\\",minimum:0,maximum:24},maxzoom:{type:\\\"number\\\",minimum:0,maximum:24},filter:{type:\\\"filter\\\"},layout:{type:\\\"layout\\\"},paint:{type:\\\"paint\\\"}},layout:[\\\"layout_fill\\\",\\\"layout_line\\\",\\\"layout_circle\\\",\\\"layout_heatmap\\\",\\\"layout_fill-extrusion\\\",\\\"layout_symbol\\\",\\\"layout_raster\\\",\\\"layout_hillshade\\\",\\\"layout_background\\\"],layout_background:{visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},layout_fill:{\\\"fill-sort-key\\\":{type:\\\"number\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},layout_circle:{\\\"circle-sort-key\\\":{type:\\\"number\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},layout_heatmap:{visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},\\\"layout_fill-extrusion\\\":{visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},layout_line:{\\\"line-cap\\\":{type:\\\"enum\\\",values:{butt:{},round:{},square:{}},default:\\\"butt\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"line-join\\\":{type:\\\"enum\\\",values:{bevel:{},round:{},miter:{}},default:\\\"miter\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"line-miter-limit\\\":{type:\\\"number\\\",default:2,requires:[{\\\"line-join\\\":\\\"miter\\\"}],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"line-round-limit\\\":{type:\\\"number\\\",default:1.05,requires:[{\\\"line-join\\\":\\\"round\\\"}],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"line-sort-key\\\":{type:\\\"number\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},layout_symbol:{\\\"symbol-placement\\\":{type:\\\"enum\\\",values:{point:{},line:{},\\\"line-center\\\":{}},default:\\\"point\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"symbol-spacing\\\":{type:\\\"number\\\",default:250,minimum:1,units:\\\"pixels\\\",requires:[{\\\"symbol-placement\\\":\\\"line\\\"}],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"symbol-avoid-edges\\\":{type:\\\"boolean\\\",default:!1,expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"symbol-sort-key\\\":{type:\\\"number\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"symbol-z-order\\\":{type:\\\"enum\\\",values:{auto:{},\\\"viewport-y\\\":{},source:{}},default:\\\"auto\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-allow-overlap\\\":{type:\\\"boolean\\\",default:!1,requires:[\\\"icon-image\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-ignore-placement\\\":{type:\\\"boolean\\\",default:!1,requires:[\\\"icon-image\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-optional\\\":{type:\\\"boolean\\\",default:!1,requires:[\\\"icon-image\\\",\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-rotation-alignment\\\":{type:\\\"enum\\\",values:{map:{},viewport:{},auto:{}},default:\\\"auto\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-size\\\":{type:\\\"number\\\",default:1,minimum:0,units:\\\"factor of the original icon size\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-text-fit\\\":{type:\\\"enum\\\",values:{none:{},width:{},height:{},both:{}},default:\\\"none\\\",requires:[\\\"icon-image\\\",\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-text-fit-padding\\\":{type:\\\"array\\\",value:\\\"number\\\",length:4,default:[0,0,0,0],units:\\\"pixels\\\",requires:[\\\"icon-image\\\",\\\"text-field\\\",{\\\"icon-text-fit\\\":[\\\"both\\\",\\\"width\\\",\\\"height\\\"]}],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-image\\\":{type:\\\"resolvedImage\\\",tokens:!0,expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-rotate\\\":{type:\\\"number\\\",default:0,period:360,units:\\\"degrees\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-padding\\\":{type:\\\"number\\\",default:2,minimum:0,units:\\\"pixels\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-keep-upright\\\":{type:\\\"boolean\\\",default:!1,requires:[\\\"icon-image\\\",{\\\"icon-rotation-alignment\\\":\\\"map\\\"},{\\\"symbol-placement\\\":[\\\"line\\\",\\\"line-center\\\"]}],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-offset\\\":{type:\\\"array\\\",value:\\\"number\\\",length:2,default:[0,0],requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-anchor\\\":{type:\\\"enum\\\",values:{center:{},left:{},right:{},top:{},bottom:{},\\\"top-left\\\":{},\\\"top-right\\\":{},\\\"bottom-left\\\":{},\\\"bottom-right\\\":{}},default:\\\"center\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-pitch-alignment\\\":{type:\\\"enum\\\",values:{map:{},viewport:{},auto:{}},default:\\\"auto\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-pitch-alignment\\\":{type:\\\"enum\\\",values:{map:{},viewport:{},auto:{}},default:\\\"auto\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-rotation-alignment\\\":{type:\\\"enum\\\",values:{map:{},viewport:{},auto:{}},default:\\\"auto\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-field\\\":{type:\\\"formatted\\\",default:\\\"\\\",tokens:!0,expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-font\\\":{type:\\\"array\\\",value:\\\"string\\\",default:[\\\"Open Sans Regular\\\",\\\"Arial Unicode MS Regular\\\"],requires:[\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-size\\\":{type:\\\"number\\\",default:16,minimum:0,units:\\\"pixels\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-max-width\\\":{type:\\\"number\\\",default:10,minimum:0,units:\\\"ems\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-line-height\\\":{type:\\\"number\\\",default:1.2,units:\\\"ems\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-letter-spacing\\\":{type:\\\"number\\\",default:0,units:\\\"ems\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-justify\\\":{type:\\\"enum\\\",values:{auto:{},left:{},center:{},right:{}},default:\\\"center\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-radial-offset\\\":{type:\\\"number\\\",units:\\\"ems\\\",default:0,requires:[\\\"text-field\\\"],\\\"property-type\\\":\\\"data-driven\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]}},\\\"text-variable-anchor\\\":{type:\\\"array\\\",value:\\\"enum\\\",values:{center:{},left:{},right:{},top:{},bottom:{},\\\"top-left\\\":{},\\\"top-right\\\":{},\\\"bottom-left\\\":{},\\\"bottom-right\\\":{}},requires:[\\\"text-field\\\",{\\\"symbol-placement\\\":[\\\"point\\\"]}],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-anchor\\\":{type:\\\"enum\\\",values:{center:{},left:{},right:{},top:{},bottom:{},\\\"top-left\\\":{},\\\"top-right\\\":{},\\\"bottom-left\\\":{},\\\"bottom-right\\\":{}},default:\\\"center\\\",requires:[\\\"text-field\\\",{\\\"!\\\":\\\"text-variable-anchor\\\"}],expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-max-angle\\\":{type:\\\"number\\\",default:45,units:\\\"degrees\\\",requires:[\\\"text-field\\\",{\\\"symbol-placement\\\":[\\\"line\\\",\\\"line-center\\\"]}],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-writing-mode\\\":{type:\\\"array\\\",value:\\\"enum\\\",values:{horizontal:{},vertical:{}},requires:[\\\"text-field\\\",{\\\"symbol-placement\\\":[\\\"point\\\"]}],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-rotate\\\":{type:\\\"number\\\",default:0,period:360,units:\\\"degrees\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-padding\\\":{type:\\\"number\\\",default:2,minimum:0,units:\\\"pixels\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-keep-upright\\\":{type:\\\"boolean\\\",default:!0,requires:[\\\"text-field\\\",{\\\"text-rotation-alignment\\\":\\\"map\\\"},{\\\"symbol-placement\\\":[\\\"line\\\",\\\"line-center\\\"]}],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-transform\\\":{type:\\\"enum\\\",values:{none:{},uppercase:{},lowercase:{}},default:\\\"none\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-offset\\\":{type:\\\"array\\\",value:\\\"number\\\",units:\\\"ems\\\",length:2,default:[0,0],requires:[\\\"text-field\\\",{\\\"!\\\":\\\"text-radial-offset\\\"}],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-allow-overlap\\\":{type:\\\"boolean\\\",default:!1,requires:[\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-ignore-placement\\\":{type:\\\"boolean\\\",default:!1,requires:[\\\"text-field\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-optional\\\":{type:\\\"boolean\\\",default:!1,requires:[\\\"text-field\\\",\\\"icon-image\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},layout_raster:{visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},layout_hillshade:{visibility:{type:\\\"enum\\\",values:{visible:{},none:{}},default:\\\"visible\\\",\\\"property-type\\\":\\\"constant\\\"}},filter:{type:\\\"array\\\",value:\\\"*\\\"},filter_operator:{type:\\\"enum\\\",values:{\\\"==\\\":{},\\\"!=\\\":{},\\\">\\\":{},\\\">=\\\":{},\\\"<\\\":{},\\\"<=\\\":{},in:{},\\\"!in\\\":{},all:{},any:{},none:{},has:{},\\\"!has\\\":{},within:{}}},geometry_type:{type:\\\"enum\\\",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:\\\"expression\\\"},stops:{type:\\\"array\\\",value:\\\"function_stop\\\"},base:{type:\\\"number\\\",default:1,minimum:0},property:{type:\\\"string\\\",default:\\\"$zoom\\\"},type:{type:\\\"enum\\\",values:{identity:{},exponential:{},interval:{},categorical:{}},default:\\\"exponential\\\"},colorSpace:{type:\\\"enum\\\",values:{rgb:{},lab:{},hcl:{}},default:\\\"rgb\\\"},default:{type:\\\"*\\\",required:!1}},function_stop:{type:\\\"array\\\",minimum:0,maximum:24,value:[\\\"number\\\",\\\"color\\\"],length:2},expression:{type:\\\"array\\\",value:\\\"*\\\",minimum:1},expression_name:{type:\\\"enum\\\",values:{let:{group:\\\"Variable binding\\\"},var:{group:\\\"Variable binding\\\"},literal:{group:\\\"Types\\\"},array:{group:\\\"Types\\\"},at:{group:\\\"Lookup\\\"},in:{group:\\\"Lookup\\\"},\\\"index-of\\\":{group:\\\"Lookup\\\"},slice:{group:\\\"Lookup\\\"},case:{group:\\\"Decision\\\"},match:{group:\\\"Decision\\\"},coalesce:{group:\\\"Decision\\\"},step:{group:\\\"Ramps, scales, curves\\\"},interpolate:{group:\\\"Ramps, scales, curves\\\"},\\\"interpolate-hcl\\\":{group:\\\"Ramps, scales, curves\\\"},\\\"interpolate-lab\\\":{group:\\\"Ramps, scales, curves\\\"},ln2:{group:\\\"Math\\\"},pi:{group:\\\"Math\\\"},e:{group:\\\"Math\\\"},typeof:{group:\\\"Types\\\"},string:{group:\\\"Types\\\"},number:{group:\\\"Types\\\"},boolean:{group:\\\"Types\\\"},object:{group:\\\"Types\\\"},collator:{group:\\\"Types\\\"},format:{group:\\\"Types\\\"},image:{group:\\\"Types\\\"},\\\"number-format\\\":{group:\\\"Types\\\"},\\\"to-string\\\":{group:\\\"Types\\\"},\\\"to-number\\\":{group:\\\"Types\\\"},\\\"to-boolean\\\":{group:\\\"Types\\\"},\\\"to-rgba\\\":{group:\\\"Color\\\"},\\\"to-color\\\":{group:\\\"Types\\\"},rgb:{group:\\\"Color\\\"},rgba:{group:\\\"Color\\\"},get:{group:\\\"Lookup\\\"},has:{group:\\\"Lookup\\\"},length:{group:\\\"Lookup\\\"},properties:{group:\\\"Feature data\\\"},\\\"feature-state\\\":{group:\\\"Feature data\\\"},\\\"geometry-type\\\":{group:\\\"Feature data\\\"},id:{group:\\\"Feature data\\\"},zoom:{group:\\\"Zoom\\\"},\\\"heatmap-density\\\":{group:\\\"Heatmap\\\"},\\\"line-progress\\\":{group:\\\"Feature data\\\"},accumulated:{group:\\\"Feature data\\\"},\\\"+\\\":{group:\\\"Math\\\"},\\\"*\\\":{group:\\\"Math\\\"},\\\"-\\\":{group:\\\"Math\\\"},\\\"/\\\":{group:\\\"Math\\\"},\\\"%\\\":{group:\\\"Math\\\"},\\\"^\\\":{group:\\\"Math\\\"},sqrt:{group:\\\"Math\\\"},log10:{group:\\\"Math\\\"},ln:{group:\\\"Math\\\"},log2:{group:\\\"Math\\\"},sin:{group:\\\"Math\\\"},cos:{group:\\\"Math\\\"},tan:{group:\\\"Math\\\"},asin:{group:\\\"Math\\\"},acos:{group:\\\"Math\\\"},atan:{group:\\\"Math\\\"},min:{group:\\\"Math\\\"},max:{group:\\\"Math\\\"},round:{group:\\\"Math\\\"},abs:{group:\\\"Math\\\"},ceil:{group:\\\"Math\\\"},floor:{group:\\\"Math\\\"},distance:{group:\\\"Math\\\"},\\\"==\\\":{group:\\\"Decision\\\"},\\\"!=\\\":{group:\\\"Decision\\\"},\\\">\\\":{group:\\\"Decision\\\"},\\\"<\\\":{group:\\\"Decision\\\"},\\\">=\\\":{group:\\\"Decision\\\"},\\\"<=\\\":{group:\\\"Decision\\\"},all:{group:\\\"Decision\\\"},any:{group:\\\"Decision\\\"},\\\"!\\\":{group:\\\"Decision\\\"},within:{group:\\\"Decision\\\"},\\\"is-supported-script\\\":{group:\\\"String\\\"},upcase:{group:\\\"String\\\"},downcase:{group:\\\"String\\\"},concat:{group:\\\"String\\\"},\\\"resolved-locale\\\":{group:\\\"String\\\"}}},light:{anchor:{type:\\\"enum\\\",default:\\\"viewport\\\",values:{map:{},viewport:{}},\\\"property-type\\\":\\\"data-constant\\\",transition:!1,expression:{interpolated:!1,parameters:[\\\"zoom\\\"]}},position:{type:\\\"array\\\",default:[1.15,210,30],length:3,value:\\\"number\\\",\\\"property-type\\\":\\\"data-constant\\\",transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]}},color:{type:\\\"color\\\",\\\"property-type\\\":\\\"data-constant\\\",default:\\\"#ffffff\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},transition:!0},intensity:{type:\\\"number\\\",\\\"property-type\\\":\\\"data-constant\\\",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},transition:!0}},paint:[\\\"paint_fill\\\",\\\"paint_line\\\",\\\"paint_circle\\\",\\\"paint_heatmap\\\",\\\"paint_fill-extrusion\\\",\\\"paint_symbol\\\",\\\"paint_raster\\\",\\\"paint_hillshade\\\",\\\"paint_background\\\"],paint_fill:{\\\"fill-antialias\\\":{type:\\\"boolean\\\",default:!0,expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"fill-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"fill-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,requires:[{\\\"!\\\":\\\"fill-pattern\\\"}],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"fill-outline-color\\\":{type:\\\"color\\\",transition:!0,requires:[{\\\"!\\\":\\\"fill-pattern\\\"},{\\\"fill-antialias\\\":!0}],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"fill-translate\\\":{type:\\\"array\\\",value:\\\"number\\\",length:2,default:[0,0],transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"fill-translate-anchor\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"map\\\",requires:[\\\"fill-translate\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"fill-pattern\\\":{type:\\\"resolvedImage\\\",transition:!0,expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"cross-faded-data-driven\\\"}},\\\"paint_fill-extrusion\\\":{\\\"fill-extrusion-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"fill-extrusion-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,requires:[{\\\"!\\\":\\\"fill-extrusion-pattern\\\"}],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"fill-extrusion-translate\\\":{type:\\\"array\\\",value:\\\"number\\\",length:2,default:[0,0],transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"fill-extrusion-translate-anchor\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"map\\\",requires:[\\\"fill-extrusion-translate\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"fill-extrusion-pattern\\\":{type:\\\"resolvedImage\\\",transition:!0,expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"cross-faded-data-driven\\\"},\\\"fill-extrusion-height\\\":{type:\\\"number\\\",default:0,minimum:0,units:\\\"meters\\\",transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"fill-extrusion-base\\\":{type:\\\"number\\\",default:0,minimum:0,units:\\\"meters\\\",transition:!0,requires:[\\\"fill-extrusion-height\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"fill-extrusion-vertical-gradient\\\":{type:\\\"boolean\\\",default:!0,transition:!1,expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"}},paint_line:{\\\"line-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"line-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,requires:[{\\\"!\\\":\\\"line-pattern\\\"}],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"line-translate\\\":{type:\\\"array\\\",value:\\\"number\\\",length:2,default:[0,0],transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"line-translate-anchor\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"map\\\",requires:[\\\"line-translate\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"line-width\\\":{type:\\\"number\\\",default:1,minimum:0,transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"line-gap-width\\\":{type:\\\"number\\\",default:0,minimum:0,transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"line-offset\\\":{type:\\\"number\\\",default:0,transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"line-blur\\\":{type:\\\"number\\\",default:0,minimum:0,transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"line-dasharray\\\":{type:\\\"array\\\",value:\\\"number\\\",minimum:0,transition:!0,units:\\\"line widths\\\",requires:[{\\\"!\\\":\\\"line-pattern\\\"}],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"cross-faded\\\"},\\\"line-pattern\\\":{type:\\\"resolvedImage\\\",transition:!0,expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]},\\\"property-type\\\":\\\"cross-faded-data-driven\\\"},\\\"line-gradient\\\":{type:\\\"color\\\",transition:!1,requires:[{\\\"!\\\":\\\"line-dasharray\\\"},{\\\"!\\\":\\\"line-pattern\\\"},{source:\\\"geojson\\\",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:[\\\"line-progress\\\"]},\\\"property-type\\\":\\\"color-ramp\\\"}},paint_circle:{\\\"circle-radius\\\":{type:\\\"number\\\",default:5,minimum:0,transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"circle-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"circle-blur\\\":{type:\\\"number\\\",default:0,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"circle-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"circle-translate\\\":{type:\\\"array\\\",value:\\\"number\\\",length:2,default:[0,0],transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"circle-translate-anchor\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"map\\\",requires:[\\\"circle-translate\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"circle-pitch-scale\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"map\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"circle-pitch-alignment\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"viewport\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"circle-stroke-width\\\":{type:\\\"number\\\",default:0,minimum:0,transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"circle-stroke-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"circle-stroke-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"}},paint_heatmap:{\\\"heatmap-radius\\\":{type:\\\"number\\\",default:30,minimum:1,transition:!0,units:\\\"pixels\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"heatmap-weight\\\":{type:\\\"number\\\",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"heatmap-intensity\\\":{type:\\\"number\\\",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"heatmap-color\\\":{type:\\\"color\\\",default:[\\\"interpolate\\\",[\\\"linear\\\"],[\\\"heatmap-density\\\"],0,\\\"rgba(0, 0, 255, 0)\\\",.1,\\\"royalblue\\\",.3,\\\"cyan\\\",.5,\\\"lime\\\",.7,\\\"yellow\\\",1,\\\"red\\\"],transition:!1,expression:{interpolated:!0,parameters:[\\\"heatmap-density\\\"]},\\\"property-type\\\":\\\"color-ramp\\\"},\\\"heatmap-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"}},paint_symbol:{\\\"icon-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-halo-color\\\":{type:\\\"color\\\",default:\\\"rgba(0, 0, 0, 0)\\\",transition:!0,requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-halo-width\\\":{type:\\\"number\\\",default:0,minimum:0,transition:!0,units:\\\"pixels\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-halo-blur\\\":{type:\\\"number\\\",default:0,minimum:0,transition:!0,units:\\\"pixels\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"icon-translate\\\":{type:\\\"array\\\",value:\\\"number\\\",length:2,default:[0,0],transition:!0,units:\\\"pixels\\\",requires:[\\\"icon-image\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"icon-translate-anchor\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"map\\\",requires:[\\\"icon-image\\\",\\\"icon-translate\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,overridable:!0,requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-halo-color\\\":{type:\\\"color\\\",default:\\\"rgba(0, 0, 0, 0)\\\",transition:!0,requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-halo-width\\\":{type:\\\"number\\\",default:0,minimum:0,transition:!0,units:\\\"pixels\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-halo-blur\\\":{type:\\\"number\\\",default:0,minimum:0,transition:!0,units:\\\"pixels\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\",\\\"feature\\\",\\\"feature-state\\\"]},\\\"property-type\\\":\\\"data-driven\\\"},\\\"text-translate\\\":{type:\\\"array\\\",value:\\\"number\\\",length:2,default:[0,0],transition:!0,units:\\\"pixels\\\",requires:[\\\"text-field\\\"],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"text-translate-anchor\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"map\\\",requires:[\\\"text-field\\\",\\\"text-translate\\\"],expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"}},paint_raster:{\\\"raster-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"raster-hue-rotate\\\":{type:\\\"number\\\",default:0,period:360,transition:!0,units:\\\"degrees\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"raster-brightness-min\\\":{type:\\\"number\\\",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"raster-brightness-max\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"raster-saturation\\\":{type:\\\"number\\\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"raster-contrast\\\":{type:\\\"number\\\",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"raster-resampling\\\":{type:\\\"enum\\\",values:{linear:{},nearest:{}},default:\\\"linear\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"raster-fade-duration\\\":{type:\\\"number\\\",default:300,minimum:0,transition:!1,units:\\\"milliseconds\\\",expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"}},paint_hillshade:{\\\"hillshade-illumination-direction\\\":{type:\\\"number\\\",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"hillshade-illumination-anchor\\\":{type:\\\"enum\\\",values:{map:{},viewport:{}},default:\\\"viewport\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"hillshade-exaggeration\\\":{type:\\\"number\\\",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"hillshade-shadow-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"hillshade-highlight-color\\\":{type:\\\"color\\\",default:\\\"#FFFFFF\\\",transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"hillshade-accent-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"}},paint_background:{\\\"background-color\\\":{type:\\\"color\\\",default:\\\"#000000\\\",transition:!0,requires:[{\\\"!\\\":\\\"background-pattern\\\"}],expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"},\\\"background-pattern\\\":{type:\\\"resolvedImage\\\",transition:!0,expression:{interpolated:!1,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"cross-faded\\\"},\\\"background-opacity\\\":{type:\\\"number\\\",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:[\\\"zoom\\\"]},\\\"property-type\\\":\\\"data-constant\\\"}},transition:{duration:{type:\\\"number\\\",default:300,minimum:0,units:\\\"milliseconds\\\"},delay:{type:\\\"number\\\",default:0,minimum:0,units:\\\"milliseconds\\\"}},\\\"property-type\\\":{\\\"data-driven\\\":{type:\\\"property-type\\\"},\\\"cross-faded\\\":{type:\\\"property-type\\\"},\\\"cross-faded-data-driven\\\":{type:\\\"property-type\\\"},\\\"color-ramp\\\":{type:\\\"property-type\\\"},\\\"data-constant\\\":{type:\\\"property-type\\\"},constant:{type:\\\"property-type\\\"}},promoteId:{\\\"*\\\":{type:\\\"string\\\"}}},Tt=function(t,e,n,r){this.message=(t?t+\\\": \\\":\\\"\\\")+n,r&&(this.identifier=r),null!=e&&e.__line__&&(this.line=e.__line__)};function St(t){var e=t.value;return e?[new Tt(t.key,e,\\\"constants have been deprecated as of v8\\\")]:[]}function kt(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];for(var r=0,i=e;r<i.length;r+=1){var o=i[r];for(var a in o)t[a]=o[a]}return t}function Ot(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function It(t){if(Array.isArray(t))return t.map(It);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){var e={};for(var n in t)e[n]=It(t[n]);return e}return Ot(t)}var Lt=function(t){function e(e,n){t.call(this,n),this.message=n,this.key=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Error),Pt=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var n=0,r=e;n<r.length;n+=1){var i=r[n];this.bindings[i[0]]=i[1]}};Pt.prototype.concat=function(t){return new Pt(this,t)},Pt.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+\\\" not found in scope.\\\")},Pt.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var zt={kind:\\\"null\\\"},Rt={kind:\\\"number\\\"},Dt={kind:\\\"string\\\"},$t={kind:\\\"boolean\\\"},Bt={kind:\\\"color\\\"},Nt={kind:\\\"object\\\"},Ft={kind:\\\"value\\\"},jt={kind:\\\"collator\\\"},Ut={kind:\\\"formatted\\\"},qt={kind:\\\"resolvedImage\\\"};function Vt(t,e){return{kind:\\\"array\\\",itemType:t,N:e}}function Ht(t){if(\\\"array\\\"===t.kind){var e=Ht(t.itemType);return\\\"number\\\"==typeof t.N?\\\"array<\\\"+e+\\\", \\\"+t.N+\\\">\\\":\\\"value\\\"===t.itemType.kind?\\\"array\\\":\\\"array<\\\"+e+\\\">\\\"}return t.kind}var Gt=[zt,Rt,Dt,$t,Bt,Ut,Nt,Vt(Ft),qt];function Wt(t,e){if(\\\"error\\\"===e.kind)return null;if(\\\"array\\\"===t.kind){if(\\\"array\\\"===e.kind&&(0===e.N&&\\\"value\\\"===e.itemType.kind||!Wt(t.itemType,e.itemType))&&(\\\"number\\\"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if(\\\"value\\\"===t.kind)for(var n=0,r=Gt;n<r.length;n+=1)if(!Wt(r[n],e))return null}return\\\"Expected \\\"+Ht(t)+\\\" but found \\\"+Ht(e)+\\\" instead.\\\"}function Xt(t,e){return e.some((function(e){return e.kind===t.kind}))}function Yt(t,e){return e.some((function(e){return\\\"null\\\"===e?null===t:\\\"array\\\"===e?Array.isArray(t):\\\"object\\\"===e?t&&!Array.isArray(t)&&\\\"object\\\"==typeof t:e===typeof t}))}var Zt=e((function(t,e){var n={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function r(t){return(t=Math.round(t))<0?0:t>255?255:t}function i(t){return r(\\\"%\\\"===t[t.length-1]?parseFloat(t)/100*255:parseInt(t))}function o(t){return(e=\\\"%\\\"===t[t.length-1]?parseFloat(t)/100:parseFloat(t))<0?0:e>1?1:e;var e}function a(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}try{e.parseCSSColor=function(t){var e,s=t.replace(/ /g,\\\"\\\").toLowerCase();if(s in n)return n[s].slice();if(\\\"#\\\"===s[0])return 4===s.length?(e=parseInt(s.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===s.length&&(e=parseInt(s.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var l=s.indexOf(\\\"(\\\"),u=s.indexOf(\\\")\\\");if(-1!==l&&u+1===s.length){var c=s.substr(0,l),h=s.substr(l+1,u-(l+1)).split(\\\",\\\"),p=1;switch(c){case\\\"rgba\\\":if(4!==h.length)return null;p=o(h.pop());case\\\"rgb\\\":return 3!==h.length?null:[i(h[0]),i(h[1]),i(h[2]),p];case\\\"hsla\\\":if(4!==h.length)return null;p=o(h.pop());case\\\"hsl\\\":if(3!==h.length)return null;var f=(parseFloat(h[0])%360+360)%360/360,d=o(h[1]),m=o(h[2]),v=m<=.5?m*(d+1):m+d-m*d,g=2*m-v;return[r(255*a(g,v,f+1/3)),r(255*a(g,v,f)),r(255*a(g,v,f-1/3)),p];default:return null}}return null}}catch(t){}})).parseCSSColor,Kt=function(t,e,n,r){void 0===r&&(r=1),this.r=t,this.g=e,this.b=n,this.a=r};Kt.parse=function(t){if(t){if(t instanceof Kt)return t;if(\\\"string\\\"==typeof t){var e=Zt(t);if(e)return new Kt(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},Kt.prototype.toString=function(){var t=this.toArray(),e=t[1],n=t[2],r=t[3];return\\\"rgba(\\\"+Math.round(t[0])+\\\",\\\"+Math.round(e)+\\\",\\\"+Math.round(n)+\\\",\\\"+r+\\\")\\\"},Kt.prototype.toArray=function(){var t=this.a;return 0===t?[0,0,0,0]:[255*this.r/t,255*this.g/t,255*this.b/t,t]},Kt.black=new Kt(0,0,0,1),Kt.white=new Kt(1,1,1,1),Kt.transparent=new Kt(0,0,0,0),Kt.red=new Kt(1,0,0,1);var Jt=function(t,e,n){this.sensitivity=t?e?\\\"variant\\\":\\\"case\\\":e?\\\"accent\\\":\\\"base\\\",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:\\\"search\\\"})};Jt.prototype.compare=function(t,e){return this.collator.compare(t,e)},Jt.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var Qt=function(t,e,n,r,i){this.text=t,this.image=e,this.scale=n,this.fontStack=r,this.textColor=i},te=function(t){this.sections=t};te.fromString=function(t){return new te([new Qt(t,null,null,null,null)])},te.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(t){return 0!==t.text.length||t.image&&0!==t.image.name.length}))},te.factory=function(t){return t instanceof te?t:te.fromString(t)},te.prototype.toString=function(){return 0===this.sections.length?\\\"\\\":this.sections.map((function(t){return t.text})).join(\\\"\\\")},te.prototype.serialize=function(){for(var t=[\\\"format\\\"],e=0,n=this.sections;e<n.length;e+=1){var r=n[e];if(r.image)t.push([\\\"image\\\",r.image.name]);else{t.push(r.text);var i={};r.fontStack&&(i[\\\"text-font\\\"]=[\\\"literal\\\",r.fontStack.split(\\\",\\\")]),r.scale&&(i[\\\"font-scale\\\"]=r.scale),r.textColor&&(i[\\\"text-color\\\"]=[\\\"rgba\\\"].concat(r.textColor.toArray())),t.push(i)}}return t};var ee=function(t){this.name=t.name,this.available=t.available};function ne(t,e,n,r){return\\\"number\\\"==typeof t&&t>=0&&t<=255&&\\\"number\\\"==typeof e&&e>=0&&e<=255&&\\\"number\\\"==typeof n&&n>=0&&n<=255?void 0===r||\\\"number\\\"==typeof r&&r>=0&&r<=1?null:\\\"Invalid rgba value [\\\"+[t,e,n,r].join(\\\", \\\")+\\\"]: 'a' must be between 0 and 1.\\\":\\\"Invalid rgba value [\\\"+(\\\"number\\\"==typeof r?[t,e,n,r]:[t,e,n]).join(\\\", \\\")+\\\"]: 'r', 'g', and 'b' must be between 0 and 255.\\\"}function re(t){if(null===t)return!0;if(\\\"string\\\"==typeof t)return!0;if(\\\"boolean\\\"==typeof t)return!0;if(\\\"number\\\"==typeof t)return!0;if(t instanceof Kt)return!0;if(t instanceof Jt)return!0;if(t instanceof te)return!0;if(t instanceof ee)return!0;if(Array.isArray(t)){for(var e=0,n=t;e<n.length;e+=1)if(!re(n[e]))return!1;return!0}if(\\\"object\\\"==typeof t){for(var r in t)if(!re(t[r]))return!1;return!0}return!1}function ie(t){if(null===t)return zt;if(\\\"string\\\"==typeof t)return Dt;if(\\\"boolean\\\"==typeof t)return $t;if(\\\"number\\\"==typeof t)return Rt;if(t instanceof Kt)return Bt;if(t instanceof Jt)return jt;if(t instanceof te)return Ut;if(t instanceof ee)return qt;if(Array.isArray(t)){for(var e,n=t.length,r=0,i=t;r<i.length;r+=1){var o=ie(i[r]);if(e){if(e===o)continue;e=Ft;break}e=o}return Vt(e||Ft,n)}return Nt}function oe(t){var e=typeof t;return null===t?\\\"\\\":\\\"string\\\"===e||\\\"number\\\"===e||\\\"boolean\\\"===e?String(t):t instanceof Kt||t instanceof te||t instanceof ee?t.toString():JSON.stringify(t)}ee.prototype.toString=function(){return this.name},ee.fromString=function(t){return t?new ee({name:t,available:!1}):null},ee.prototype.serialize=function(){return[\\\"image\\\",this.name]};var ae=function(t,e){this.type=t,this.value=e};ae.parse=function(t,e){if(2!==t.length)return e.error(\\\"'literal' expression requires exactly one argument, but found \\\"+(t.length-1)+\\\" instead.\\\");if(!re(t[1]))return e.error(\\\"invalid value\\\");var n=t[1],r=ie(n),i=e.expectedType;return\\\"array\\\"!==r.kind||0!==r.N||!i||\\\"array\\\"!==i.kind||\\\"number\\\"==typeof i.N&&0!==i.N||(r=i),new ae(r,n)},ae.prototype.evaluate=function(){return this.value},ae.prototype.eachChild=function(){},ae.prototype.outputDefined=function(){return!0},ae.prototype.serialize=function(){return\\\"array\\\"===this.type.kind||\\\"object\\\"===this.type.kind?[\\\"literal\\\",this.value]:this.value instanceof Kt?[\\\"rgba\\\"].concat(this.value.toArray()):this.value instanceof te?this.value.serialize():this.value};var se=function(t){this.name=\\\"ExpressionEvaluationError\\\",this.message=t};se.prototype.toJSON=function(){return this.message};var le={string:Dt,number:Rt,boolean:$t,object:Nt},ue=function(t,e){this.type=t,this.args=e};ue.parse=function(t,e){if(t.length<2)return e.error(\\\"Expected at least one argument.\\\");var n,r=1,i=t[0];if(\\\"array\\\"===i){var o,a;if(t.length>2){var s=t[1];if(\\\"string\\\"!=typeof s||!(s in le)||\\\"object\\\"===s)return e.error('The item type argument of \\\"array\\\" must be one of string, number, boolean',1);o=le[s],r++}else o=Ft;if(t.length>3){if(null!==t[2]&&(\\\"number\\\"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to \\\"array\\\" must be a positive integer literal',2);a=t[2],r++}n=Vt(o,a)}else n=le[i];for(var l=[];r<t.length;r++){var u=e.parse(t[r],r,Ft);if(!u)return null;l.push(u)}return new ue(n,l)},ue.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var n=this.args[e].evaluate(t);if(!Wt(this.type,ie(n)))return n;if(e===this.args.length-1)throw new se(\\\"Expected value to be of type \\\"+Ht(this.type)+\\\", but found \\\"+Ht(ie(n))+\\\" instead.\\\")}return null},ue.prototype.eachChild=function(t){this.args.forEach(t)},ue.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},ue.prototype.serialize=function(){var t=this.type,e=[t.kind];if(\\\"array\\\"===t.kind){var n=t.itemType;if(\\\"string\\\"===n.kind||\\\"number\\\"===n.kind||\\\"boolean\\\"===n.kind){e.push(n.kind);var r=t.N;(\\\"number\\\"==typeof r||this.args.length>1)&&e.push(r)}}return e.concat(this.args.map((function(t){return t.serialize()})))};var ce=function(t){this.type=Ut,this.sections=t};ce.parse=function(t,e){if(t.length<2)return e.error(\\\"Expected at least one argument.\\\");var n=t[1];if(!Array.isArray(n)&&\\\"object\\\"==typeof n)return e.error(\\\"First argument must be an image or text section.\\\");for(var r=[],i=!1,o=1;o<=t.length-1;++o){var a=t[o];if(i&&\\\"object\\\"==typeof a&&!Array.isArray(a)){i=!1;var s=null;if(a[\\\"font-scale\\\"]&&!(s=e.parse(a[\\\"font-scale\\\"],1,Rt)))return null;var l=null;if(a[\\\"text-font\\\"]&&!(l=e.parse(a[\\\"text-font\\\"],1,Vt(Dt))))return null;var u=null;if(a[\\\"text-color\\\"]&&!(u=e.parse(a[\\\"text-color\\\"],1,Bt)))return null;var c=r[r.length-1];c.scale=s,c.font=l,c.textColor=u}else{var h=e.parse(t[o],1,Ft);if(!h)return null;var p=h.type.kind;if(\\\"string\\\"!==p&&\\\"value\\\"!==p&&\\\"null\\\"!==p&&\\\"resolvedImage\\\"!==p)return e.error(\\\"Formatted text type must be 'string', 'value', 'image' or 'null'.\\\");i=!0,r.push({content:h,scale:null,font:null,textColor:null})}}return new ce(r)},ce.prototype.evaluate=function(t){return new te(this.sections.map((function(e){var n=e.content.evaluate(t);return ie(n)===qt?new Qt(\\\"\\\",n,null,null,null):new Qt(oe(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(\\\",\\\"):null,e.textColor?e.textColor.evaluate(t):null)})))},ce.prototype.eachChild=function(t){for(var e=0,n=this.sections;e<n.length;e+=1){var r=n[e];t(r.content),r.scale&&t(r.scale),r.font&&t(r.font),r.textColor&&t(r.textColor)}},ce.prototype.outputDefined=function(){return!1},ce.prototype.serialize=function(){for(var t=[\\\"format\\\"],e=0,n=this.sections;e<n.length;e+=1){var r=n[e];t.push(r.content.serialize());var i={};r.scale&&(i[\\\"font-scale\\\"]=r.scale.serialize()),r.font&&(i[\\\"text-font\\\"]=r.font.serialize()),r.textColor&&(i[\\\"text-color\\\"]=r.textColor.serialize()),t.push(i)}return t};var he=function(t){this.type=qt,this.input=t};he.parse=function(t,e){if(2!==t.length)return e.error(\\\"Expected two arguments.\\\");var n=e.parse(t[1],1,Dt);return n?new he(n):e.error(\\\"No image name provided.\\\")},he.prototype.evaluate=function(t){var e=this.input.evaluate(t),n=ee.fromString(e);return n&&t.availableImages&&(n.available=t.availableImages.indexOf(e)>-1),n},he.prototype.eachChild=function(t){t(this.input)},he.prototype.outputDefined=function(){return!1},he.prototype.serialize=function(){return[\\\"image\\\",this.input.serialize()]};var pe={\\\"to-boolean\\\":$t,\\\"to-color\\\":Bt,\\\"to-number\\\":Rt,\\\"to-string\\\":Dt},fe=function(t,e){this.type=t,this.args=e};fe.parse=function(t,e){if(t.length<2)return e.error(\\\"Expected at least one argument.\\\");var n=t[0];if((\\\"to-boolean\\\"===n||\\\"to-string\\\"===n)&&2!==t.length)return e.error(\\\"Expected one argument.\\\");for(var r=pe[n],i=[],o=1;o<t.length;o++){var a=e.parse(t[o],o,Ft);if(!a)return null;i.push(a)}return new fe(r,i)},fe.prototype.evaluate=function(t){if(\\\"boolean\\\"===this.type.kind)return Boolean(this.args[0].evaluate(t));if(\\\"color\\\"===this.type.kind){for(var e,n,r=0,i=this.args;r<i.length;r+=1){if(n=null,(e=i[r].evaluate(t))instanceof Kt)return e;if(\\\"string\\\"==typeof e){var o=t.parseColor(e);if(o)return o}else if(Array.isArray(e)&&!(n=e.length<3||e.length>4?\\\"Invalid rbga value \\\"+JSON.stringify(e)+\\\": expected an array containing either three or four numeric values.\\\":ne(e[0],e[1],e[2],e[3])))return new Kt(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new se(n||\\\"Could not parse color from value '\\\"+(\\\"string\\\"==typeof e?e:String(JSON.stringify(e)))+\\\"'\\\")}if(\\\"number\\\"===this.type.kind){for(var a=null,s=0,l=this.args;s<l.length;s+=1){if(null===(a=l[s].evaluate(t)))return 0;var u=Number(a);if(!isNaN(u))return u}throw new se(\\\"Could not convert \\\"+JSON.stringify(a)+\\\" to number.\\\")}return\\\"formatted\\\"===this.type.kind?te.fromString(oe(this.args[0].evaluate(t))):\\\"resolvedImage\\\"===this.type.kind?ee.fromString(oe(this.args[0].evaluate(t))):oe(this.args[0].evaluate(t))},fe.prototype.eachChild=function(t){this.args.forEach(t)},fe.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},fe.prototype.serialize=function(){if(\\\"formatted\\\"===this.type.kind)return new ce([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if(\\\"resolvedImage\\\"===this.type.kind)return new he(this.args[0]).serialize();var t=[\\\"to-\\\"+this.type.kind];return this.eachChild((function(e){t.push(e.serialize())})),t};var de=[\\\"Unknown\\\",\\\"Point\\\",\\\"LineString\\\",\\\"Polygon\\\"],me=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null};me.prototype.id=function(){return this.feature&&\\\"id\\\"in this.feature?this.feature.id:null},me.prototype.geometryType=function(){return this.feature?\\\"number\\\"==typeof this.feature.type?de[this.feature.type]:this.feature.type:null},me.prototype.geometry=function(){return this.feature&&\\\"geometry\\\"in this.feature?this.feature.geometry:null},me.prototype.canonicalID=function(){return this.canonical},me.prototype.properties=function(){return this.feature&&this.feature.properties||{}},me.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Kt.parse(t)),e};var ve=function(t,e,n,r){this.name=t,this.type=e,this._evaluate=n,this.args=r};ve.prototype.evaluate=function(t){return this._evaluate(t,this.args)},ve.prototype.eachChild=function(t){this.args.forEach(t)},ve.prototype.outputDefined=function(){return!1},ve.prototype.serialize=function(){return[this.name].concat(this.args.map((function(t){return t.serialize()})))},ve.parse=function(t,e){var n,r=t[0],i=ve.definitions[r];if(!i)return e.error('Unknown expression \\\"'+r+'\\\". If you wanted a literal array, use [\\\"literal\\\", [...]].',0);for(var o=Array.isArray(i)?i[0]:i.type,a=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,s=a.filter((function(e){var n=e[0];return!Array.isArray(n)||n.length===t.length-1})),l=null,u=0,c=s;u<c.length;u+=1){var h=c[u],p=h[0],f=h[1];l=new Be(e.registry,e.path,null,e.scope);for(var d=[],m=!1,v=1;v<t.length;v++){var g=t[v],y=Array.isArray(p)?p[v-1]:p.type,_=l.parse(g,1+d.length,y);if(!_){m=!0;break}d.push(_)}if(!m)if(Array.isArray(p)&&p.length!==d.length)l.error(\\\"Expected \\\"+p.length+\\\" arguments, but found \\\"+d.length+\\\" instead.\\\");else{for(var b=0;b<d.length;b++){var x=Array.isArray(p)?p[b]:p.type,w=d[b];l.concat(b+1).checkSubtype(x,w.type)}if(0===l.errors.length)return new ve(r,o,f,d)}}if(1===s.length)(n=e.errors).push.apply(n,l.errors);else{for(var A=(s.length?s:a).map((function(t){var e;return e=t[0],Array.isArray(e)?\\\"(\\\"+e.map(Ht).join(\\\", \\\")+\\\")\\\":\\\"(\\\"+Ht(e.type)+\\\"...)\\\"})).join(\\\" | \\\"),C=[],M=1;M<t.length;M++){var E=e.parse(t[M],1+C.length);if(!E)return null;C.push(Ht(E.type))}e.error(\\\"Expected arguments of type \\\"+A+\\\", but found (\\\"+C.join(\\\", \\\")+\\\") instead.\\\")}return null},ve.register=function(t,e){for(var n in ve.definitions=e,e)t[n]=ve};var ge=function(t,e,n){this.type=jt,this.locale=n,this.caseSensitive=t,this.diacriticSensitive=e};function ye(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1])}function _e(t,e){return!(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function be(t,e){var n=(180+t[0])/360,r=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t[1]*Math.PI/360)))/360,i=Math.pow(2,e.z);return[Math.round(n*i*8192),Math.round(r*i*8192)]}function xe(t,e,n){return e[1]>t[1]!=n[1]>t[1]&&t[0]<(n[0]-e[0])*(t[1]-e[1])/(n[1]-e[1])+e[0]}function we(t,e){for(var n,r,i,o,a,s,l,u=!1,c=0,h=e.length;c<h;c++)for(var p=e[c],f=0,d=p.length;f<d-1;f++){if((o=(n=t)[0]-(r=p[f])[0])*(l=n[1]-(i=p[f+1])[1])-(s=n[0]-i[0])*(a=n[1]-r[1])==0&&o*s<=0&&a*l<=0)return!1;xe(t,p[f],p[f+1])&&(u=!u)}return u}function Ae(t,e){for(var n=0;n<e.length;n++)if(we(t,e[n]))return!0;return!1}function Ce(t,e,n,r){var i=r[0]-n[0],o=r[1]-n[1],a=(t[0]-n[0])*o-i*(t[1]-n[1]),s=(e[0]-n[0])*o-i*(e[1]-n[1]);return a>0&&s<0||a<0&&s>0}function Me(t,e,n){for(var r=0,i=n;r<i.length;r+=1)for(var o=i[r],a=0;a<o.length-1;++a)if(0!=(h=[(c=o[a+1])[0]-(u=o[a])[0],c[1]-u[1]])[0]*(p=[(l=e)[0]-(s=t)[0],l[1]-s[1]])[1]-h[1]*p[0]&&Ce(s,l,u,c)&&Ce(u,c,s,l))return!0;var s,l,u,c,h,p;return!1}function Ee(t,e){for(var n=0;n<t.length;++n)if(!we(t[n],e))return!1;for(var r=0;r<t.length-1;++r)if(Me(t[r],t[r+1],e))return!1;return!0}function Te(t,e){for(var n=0;n<e.length;n++)if(Ee(t,e[n]))return!0;return!1}function Se(t,e,n){for(var r=[],i=0;i<t.length;i++){for(var o=[],a=0;a<t[i].length;a++){var s=be(t[i][a],n);ye(e,s),o.push(s)}r.push(o)}return r}function ke(t,e,n){for(var r=[],i=0;i<t.length;i++){var o=Se(t[i],e,n);r.push(o)}return r}function Oe(t,e,n,r){if(t[0]<n[0]||t[0]>n[2]){var i=.5*r,o=t[0]-n[0]>i?-r:n[0]-t[0]>i?r:0;0===o&&(o=t[0]-n[2]>i?-r:n[2]-t[0]>i?r:0),t[0]+=o}ye(e,t)}function Ie(t,e,n,r){for(var i=8192*Math.pow(2,r.z),o=[8192*r.x,8192*r.y],a=[],s=0,l=t;s<l.length;s+=1)for(var u=0,c=l[s];u<c.length;u+=1){var h=c[u],p=[h.x+o[0],h.y+o[1]];Oe(p,e,n,i),a.push(p)}return a}function Le(t,e,n,r){for(var i,o=8192*Math.pow(2,r.z),a=[8192*r.x,8192*r.y],s=[],l=0,u=t;l<u.length;l+=1){for(var c=[],h=0,p=u[l];h<p.length;h+=1){var f=p[h],d=[f.x+a[0],f.y+a[1]];ye(e,d),c.push(d)}s.push(c)}if(e[2]-e[0]<=o/2){(i=e)[0]=i[1]=1/0,i[2]=i[3]=-1/0;for(var m=0,v=s;m<v.length;m+=1)for(var g=0,y=v[m];g<y.length;g+=1)Oe(y[g],e,n,o)}return s}ge.parse=function(t,e){if(2!==t.length)return e.error(\\\"Expected one argument.\\\");var n=t[1];if(\\\"object\\\"!=typeof n||Array.isArray(n))return e.error(\\\"Collator options argument must be an object.\\\");var r=e.parse(void 0!==n[\\\"case-sensitive\\\"]&&n[\\\"case-sensitive\\\"],1,$t);if(!r)return null;var i=e.parse(void 0!==n[\\\"diacritic-sensitive\\\"]&&n[\\\"diacritic-sensitive\\\"],1,$t);if(!i)return null;var o=null;return n.locale&&!(o=e.parse(n.locale,1,Dt))?null:new ge(r,i,o)},ge.prototype.evaluate=function(t){return new Jt(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},ge.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)},ge.prototype.outputDefined=function(){return!1},ge.prototype.serialize=function(){var t={};return t[\\\"case-sensitive\\\"]=this.caseSensitive.serialize(),t[\\\"diacritic-sensitive\\\"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),[\\\"collator\\\",t]};var Pe=function(t,e){this.type=$t,this.geojson=t,this.geometries=e};function ze(t){if(t instanceof ve){if(\\\"get\\\"===t.name&&1===t.args.length)return!1;if(\\\"feature-state\\\"===t.name)return!1;if(\\\"has\\\"===t.name&&1===t.args.length)return!1;if(\\\"properties\\\"===t.name||\\\"geometry-type\\\"===t.name||\\\"id\\\"===t.name)return!1;if(/^filter-/.test(t.name))return!1}if(t instanceof Pe)return!1;var e=!0;return t.eachChild((function(t){e&&!ze(t)&&(e=!1)})),e}function Re(t){if(t instanceof ve&&\\\"feature-state\\\"===t.name)return!1;var e=!0;return t.eachChild((function(t){e&&!Re(t)&&(e=!1)})),e}function De(t,e){if(t instanceof ve&&e.indexOf(t.name)>=0)return!1;var n=!0;return t.eachChild((function(t){n&&!De(t,e)&&(n=!1)})),n}Pe.parse=function(t,e){if(2!==t.length)return e.error(\\\"'within' expression requires exactly one argument, but found \\\"+(t.length-1)+\\\" instead.\\\");if(re(t[1])){var n=t[1];if(\\\"FeatureCollection\\\"===n.type)for(var r=0;r<n.features.length;++r){var i=n.features[r].geometry.type;if(\\\"Polygon\\\"===i||\\\"MultiPolygon\\\"===i)return new Pe(n,n.features[r].geometry)}else if(\\\"Feature\\\"===n.type){var o=n.geometry.type;if(\\\"Polygon\\\"===o||\\\"MultiPolygon\\\"===o)return new Pe(n,n.geometry)}else if(\\\"Polygon\\\"===n.type||\\\"MultiPolygon\\\"===n.type)return new Pe(n,n)}return e.error(\\\"'within' expression requires valid geojson object that contains polygon geometry type.\\\")},Pe.prototype.evaluate=function(t){if(null!=t.geometry()&&null!=t.canonicalID()){if(\\\"Point\\\"===t.geometryType())return function(t,e){var n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if(\\\"Polygon\\\"===e.type){var o=Se(e.coordinates,r,i),a=Ie(t.geometry(),n,r,i);if(!_e(n,r))return!1;for(var s=0,l=a;s<l.length;s+=1)if(!we(l[s],o))return!1}if(\\\"MultiPolygon\\\"===e.type){var u=ke(e.coordinates,r,i),c=Ie(t.geometry(),n,r,i);if(!_e(n,r))return!1;for(var h=0,p=c;h<p.length;h+=1)if(!Ae(p[h],u))return!1}return!0}(t,this.geometries);if(\\\"LineString\\\"===t.geometryType())return function(t,e){var n=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],i=t.canonicalID();if(\\\"Polygon\\\"===e.type){var o=Se(e.coordinates,r,i),a=Le(t.geometry(),n,r,i);if(!_e(n,r))return!1;for(var s=0,l=a;s<l.length;s+=1)if(!Ee(l[s],o))return!1}if(\\\"MultiPolygon\\\"===e.type){var u=ke(e.coordinates,r,i),c=Le(t.geometry(),n,r,i);if(!_e(n,r))return!1;for(var h=0,p=c;h<p.length;h+=1)if(!Te(p[h],u))return!1}return!0}(t,this.geometries)}return!1},Pe.prototype.eachChild=function(){},Pe.prototype.outputDefined=function(){return!0},Pe.prototype.serialize=function(){return[\\\"within\\\",this.geojson]};var $e=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e};$e.parse=function(t,e){if(2!==t.length||\\\"string\\\"!=typeof t[1])return e.error(\\\"'var' expression requires exactly one string literal argument.\\\");var n=t[1];return e.scope.has(n)?new $e(n,e.scope.get(n)):e.error('Unknown variable \\\"'+n+'\\\". Make sure \\\"'+n+'\\\" has been bound in an enclosing \\\"let\\\" expression before using it.',1)},$e.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},$e.prototype.eachChild=function(){},$e.prototype.outputDefined=function(){return!1},$e.prototype.serialize=function(){return[\\\"var\\\",this.name]};var Be=function(t,e,n,r,i){void 0===e&&(e=[]),void 0===r&&(r=new Pt),void 0===i&&(i=[]),this.registry=t,this.path=e,this.key=e.map((function(t){return\\\"[\\\"+t+\\\"]\\\"})).join(\\\"\\\"),this.scope=r,this.errors=i,this.expectedType=n};function Ne(t,e){for(var n,r=t.length-1,i=0,o=r,a=0;i<=o;)if((n=t[a=Math.floor((i+o)/2)])<=e){if(a===r||e<t[a+1])return a;i=a+1}else{if(!(n>e))throw new se(\\\"Input is not a number.\\\");o=a-1}return 0}Be.prototype.parse=function(t,e,n,r,i){return void 0===i&&(i={}),e?this.concat(e,n,r)._parse(t,i):this._parse(t,i)},Be.prototype._parse=function(t,e){function n(t,e,n){return\\\"assert\\\"===n?new ue(e,[t]):\\\"coerce\\\"===n?new fe(e,[t]):t}if(null!==t&&\\\"string\\\"!=typeof t&&\\\"boolean\\\"!=typeof t&&\\\"number\\\"!=typeof t||(t=[\\\"literal\\\",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use [\\\"literal\\\", []].');var r=t[0];if(\\\"string\\\"!=typeof r)return this.error(\\\"Expression name must be a string, but found \\\"+typeof r+' instead. If you wanted a literal array, use [\\\"literal\\\", [...]].',0),null;var i=this.registry[r];if(i){var o=i.parse(t,this);if(!o)return null;if(this.expectedType){var a=this.expectedType,s=o.type;if(\\\"string\\\"!==a.kind&&\\\"number\\\"!==a.kind&&\\\"boolean\\\"!==a.kind&&\\\"object\\\"!==a.kind&&\\\"array\\\"!==a.kind||\\\"value\\\"!==s.kind)if(\\\"color\\\"!==a.kind&&\\\"formatted\\\"!==a.kind&&\\\"resolvedImage\\\"!==a.kind||\\\"value\\\"!==s.kind&&\\\"string\\\"!==s.kind){if(this.checkSubtype(a,s))return null}else o=n(o,a,e.typeAnnotation||\\\"coerce\\\");else o=n(o,a,e.typeAnnotation||\\\"assert\\\")}if(!(o instanceof ae)&&\\\"resolvedImage\\\"!==o.type.kind&&function t(e){if(e instanceof $e)return t(e.boundExpression);if(e instanceof ve&&\\\"error\\\"===e.name)return!1;if(e instanceof ge)return!1;if(e instanceof Pe)return!1;var n=e instanceof fe||e instanceof ue,r=!0;return e.eachChild((function(e){r=n?r&&t(e):r&&e instanceof ae})),!!r&&ze(e)&&De(e,[\\\"zoom\\\",\\\"heatmap-density\\\",\\\"line-progress\\\",\\\"accumulated\\\",\\\"is-supported-script\\\"])}(o)){var l=new me;try{o=new ae(o.type,o.evaluate(l))}catch(t){return this.error(t.message),null}}return o}return this.error('Unknown expression \\\"'+r+'\\\". If you wanted a literal array, use [\\\"literal\\\", [...]].',0)}return this.error(void 0===t?\\\"'undefined' value invalid. Use null instead.\\\":\\\"object\\\"==typeof t?'Bare objects invalid. Use [\\\"literal\\\", {...}] instead.':\\\"Expected an array, but found \\\"+typeof t+\\\" instead.\\\")},Be.prototype.concat=function(t,e,n){var r=\\\"number\\\"==typeof t?this.path.concat(t):this.path,i=n?this.scope.concat(n):this.scope;return new Be(this.registry,r,e||null,i,this.errors)},Be.prototype.error=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=\\\"\\\"+this.key+e.map((function(t){return\\\"[\\\"+t+\\\"]\\\"})).join(\\\"\\\");this.errors.push(new Lt(r,t))},Be.prototype.checkSubtype=function(t,e){var n=Wt(t,e);return n&&this.error(n),n};var Fe=function(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var r=0,i=n;r<i.length;r+=1){var o=i[r],a=o[1];this.labels.push(o[0]),this.outputs.push(a)}};function je(t,e,n){return t*(1-n)+e*n}Fe.parse=function(t,e){if(t.length-1<4)return e.error(\\\"Expected at least 4 arguments, but found only \\\"+(t.length-1)+\\\".\\\");if((t.length-1)%2!=0)return e.error(\\\"Expected an even number of arguments.\\\");var n=e.parse(t[1],1,Rt);if(!n)return null;var r=[],i=null;e.expectedType&&\\\"value\\\"!==e.expectedType.kind&&(i=e.expectedType);for(var o=1;o<t.length;o+=2){var a=1===o?-1/0:t[o],s=t[o+1],l=o,u=o+1;if(\\\"number\\\"!=typeof a)return e.error('Input/output pairs for \\\"step\\\" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(r.length&&r[r.length-1][0]>=a)return e.error('Input/output pairs for \\\"step\\\" expressions must be arranged with input values in strictly ascending order.',l);var c=e.parse(s,u,i);if(!c)return null;i=i||c.type,r.push([a,c])}return new Fe(i,n,r)},Fe.prototype.evaluate=function(t){var e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);var r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);var i=e.length;return r>=e[i-1]?n[i-1].evaluate(t):n[Ne(e,r)].evaluate(t)},Fe.prototype.eachChild=function(t){t(this.input);for(var e=0,n=this.outputs;e<n.length;e+=1)t(n[e])},Fe.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))},Fe.prototype.serialize=function(){for(var t=[\\\"step\\\",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var Ue=Object.freeze({__proto__:null,number:je,color:function(t,e,n){return new Kt(je(t.r,e.r,n),je(t.g,e.g,n),je(t.b,e.b,n),je(t.a,e.a,n))},array:function(t,e,n){return t.map((function(t,r){return je(t,e[r],n)}))}}),qe=6/29*3*(6/29),Ve=Math.PI/180,He=180/Math.PI;function Ge(t){return t>.008856451679035631?Math.pow(t,1/3):t/qe+4/29}function We(t){return t>6/29?t*t*t:qe*(t-4/29)}function Xe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ye(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ze(t){var e=Ye(t.r),n=Ye(t.g),r=Ye(t.b),i=Ge((.4124564*e+.3575761*n+.1804375*r)/.95047),o=Ge((.2126729*e+.7151522*n+.072175*r)/1);return{l:116*o-16,a:500*(i-o),b:200*(o-Ge((.0193339*e+.119192*n+.9503041*r)/1.08883)),alpha:t.a}}function Ke(t){var e=(t.l+16)/116,n=isNaN(t.a)?e:e+t.a/500,r=isNaN(t.b)?e:e-t.b/200;return e=1*We(e),n=.95047*We(n),r=1.08883*We(r),new Kt(Xe(3.2404542*n-1.5371385*e-.4985314*r),Xe(-.969266*n+1.8760108*e+.041556*r),Xe(.0556434*n-.2040259*e+1.0572252*r),t.alpha)}function Je(t,e,n){var r=e-t;return t+n*(r>180||r<-180?r-360*Math.round(r/360):r)}var Qe={forward:Ze,reverse:Ke,interpolate:function(t,e,n){return{l:je(t.l,e.l,n),a:je(t.a,e.a,n),b:je(t.b,e.b,n),alpha:je(t.alpha,e.alpha,n)}}},tn={forward:function(t){var e=Ze(t),n=e.l,r=e.a,i=e.b,o=Math.atan2(i,r)*He;return{h:o<0?o+360:o,c:Math.sqrt(r*r+i*i),l:n,alpha:t.a}},reverse:function(t){var e=t.h*Ve,n=t.c;return Ke({l:t.l,a:Math.cos(e)*n,b:Math.sin(e)*n,alpha:t.alpha})},interpolate:function(t,e,n){return{h:Je(t.h,e.h,n),c:je(t.c,e.c,n),l:je(t.l,e.l,n),alpha:je(t.alpha,e.alpha,n)}}},en=Object.freeze({__proto__:null,lab:Qe,hcl:tn}),nn=function(t,e,n,r,i){this.type=t,this.operator=e,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(var o=0,a=i;o<a.length;o+=1){var s=a[o],l=s[1];this.labels.push(s[0]),this.outputs.push(l)}};function rn(t,e,n,r){var i=r-n,o=t-n;return 0===i?0:1===e?o/i:(Math.pow(e,o)-1)/(Math.pow(e,i)-1)}nn.interpolationFactor=function(t,e,r,i){var o=0;if(\\\"exponential\\\"===t.name)o=rn(e,t.base,r,i);else if(\\\"linear\\\"===t.name)o=rn(e,1,r,i);else if(\\\"cubic-bezier\\\"===t.name){var a=t.controlPoints;o=new n(a[0],a[1],a[2],a[3]).solve(rn(e,1,r,i))}return o},nn.parse=function(t,e){var n=t[0],r=t[1],i=t[2],o=t.slice(3);if(!Array.isArray(r)||0===r.length)return e.error(\\\"Expected an interpolation type expression.\\\",1);if(\\\"linear\\\"===r[0])r={name:\\\"linear\\\"};else if(\\\"exponential\\\"===r[0]){var a=r[1];if(\\\"number\\\"!=typeof a)return e.error(\\\"Exponential interpolation requires a numeric base.\\\",1,1);r={name:\\\"exponential\\\",base:a}}else{if(\\\"cubic-bezier\\\"!==r[0])return e.error(\\\"Unknown interpolation type \\\"+String(r[0]),1,0);var s=r.slice(1);if(4!==s.length||s.some((function(t){return\\\"number\\\"!=typeof t||t<0||t>1})))return e.error(\\\"Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.\\\",1);r={name:\\\"cubic-bezier\\\",controlPoints:s}}if(t.length-1<4)return e.error(\\\"Expected at least 4 arguments, but found only \\\"+(t.length-1)+\\\".\\\");if((t.length-1)%2!=0)return e.error(\\\"Expected an even number of arguments.\\\");if(!(i=e.parse(i,2,Rt)))return null;var l=[],u=null;\\\"interpolate-hcl\\\"===n||\\\"interpolate-lab\\\"===n?u=Bt:e.expectedType&&\\\"value\\\"!==e.expectedType.kind&&(u=e.expectedType);for(var c=0;c<o.length;c+=2){var h=o[c],p=o[c+1],f=c+3,d=c+4;if(\\\"number\\\"!=typeof h)return e.error('Input/output pairs for \\\"interpolate\\\" expressions must be defined using literal numeric values (not computed expressions) for the input values.',f);if(l.length&&l[l.length-1][0]>=h)return e.error('Input/output pairs for \\\"interpolate\\\" expressions must be arranged with input values in strictly ascending order.',f);var m=e.parse(p,d,u);if(!m)return null;u=u||m.type,l.push([h,m])}return\\\"number\\\"===u.kind||\\\"color\\\"===u.kind||\\\"array\\\"===u.kind&&\\\"number\\\"===u.itemType.kind&&\\\"number\\\"==typeof u.N?new nn(u,n,r,i,l):e.error(\\\"Type \\\"+Ht(u)+\\\" is not interpolatable.\\\")},nn.prototype.evaluate=function(t){var e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);var r=this.input.evaluate(t);if(r<=e[0])return n[0].evaluate(t);var i=e.length;if(r>=e[i-1])return n[i-1].evaluate(t);var o=Ne(e,r),a=nn.interpolationFactor(this.interpolation,r,e[o],e[o+1]),s=n[o].evaluate(t),l=n[o+1].evaluate(t);return\\\"interpolate\\\"===this.operator?Ue[this.type.kind.toLowerCase()](s,l,a):\\\"interpolate-hcl\\\"===this.operator?tn.reverse(tn.interpolate(tn.forward(s),tn.forward(l),a)):Qe.reverse(Qe.interpolate(Qe.forward(s),Qe.forward(l),a))},nn.prototype.eachChild=function(t){t(this.input);for(var e=0,n=this.outputs;e<n.length;e+=1)t(n[e])},nn.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))},nn.prototype.serialize=function(){var t;t=\\\"linear\\\"===this.interpolation.name?[\\\"linear\\\"]:\\\"exponential\\\"===this.interpolation.name?1===this.interpolation.base?[\\\"linear\\\"]:[\\\"exponential\\\",this.interpolation.base]:[\\\"cubic-bezier\\\"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],n=0;n<this.labels.length;n++)e.push(this.labels[n],this.outputs[n].serialize());return e};var on=function(t,e){this.type=t,this.args=e};on.parse=function(t,e){if(t.length<2)return e.error(\\\"Expectected at least one argument.\\\");var n=null,r=e.expectedType;r&&\\\"value\\\"!==r.kind&&(n=r);for(var i=[],o=0,a=t.slice(1);o<a.length;o+=1){var s=e.parse(a[o],1+i.length,n,void 0,{typeAnnotation:\\\"omit\\\"});if(!s)return null;n=n||s.type,i.push(s)}var l=r&&i.some((function(t){return Wt(r,t.type)}));return new on(l?Ft:n,i)},on.prototype.evaluate=function(t){for(var e,n=null,r=0,i=0,o=this.args;i<o.length&&(r++,(n=o[i].evaluate(t))&&n instanceof ee&&!n.available&&(e||(e=n.name),n=null,r===this.args.length&&(n=e)),null===n);i+=1);return n},on.prototype.eachChild=function(t){this.args.forEach(t)},on.prototype.outputDefined=function(){return this.args.every((function(t){return t.outputDefined()}))},on.prototype.serialize=function(){var t=[\\\"coalesce\\\"];return this.eachChild((function(e){t.push(e.serialize())})),t};var an=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e};an.prototype.evaluate=function(t){return this.result.evaluate(t)},an.prototype.eachChild=function(t){for(var e=0,n=this.bindings;e<n.length;e+=1)t(n[e][1]);t(this.result)},an.parse=function(t,e){if(t.length<4)return e.error(\\\"Expected at least 3 arguments, but found \\\"+(t.length-1)+\\\" instead.\\\");for(var n=[],r=1;r<t.length-1;r+=2){var i=t[r];if(\\\"string\\\"!=typeof i)return e.error(\\\"Expected string, but found \\\"+typeof i+\\\" instead.\\\",r);if(/[^a-zA-Z0-9_]/.test(i))return e.error(\\\"Variable names must contain only alphanumeric characters or '_'.\\\",r);var o=e.parse(t[r+1],r+1);if(!o)return null;n.push([i,o])}var a=e.parse(t[t.length-1],t.length-1,e.expectedType,n);return a?new an(n,a):null},an.prototype.outputDefined=function(){return this.result.outputDefined()},an.prototype.serialize=function(){for(var t=[\\\"let\\\"],e=0,n=this.bindings;e<n.length;e+=1){var r=n[e];t.push(r[0],r[1].serialize())}return t.push(this.result.serialize()),t};var sn=function(t,e,n){this.type=t,this.index=e,this.input=n};sn.parse=function(t,e){if(3!==t.length)return e.error(\\\"Expected 2 arguments, but found \\\"+(t.length-1)+\\\" instead.\\\");var n=e.parse(t[1],1,Rt),r=e.parse(t[2],2,Vt(e.expectedType||Ft));return n&&r?new sn(r.type.itemType,n,r):null},sn.prototype.evaluate=function(t){var e=this.index.evaluate(t),n=this.input.evaluate(t);if(e<0)throw new se(\\\"Array index out of bounds: \\\"+e+\\\" < 0.\\\");if(e>=n.length)throw new se(\\\"Array index out of bounds: \\\"+e+\\\" > \\\"+(n.length-1)+\\\".\\\");if(e!==Math.floor(e))throw new se(\\\"Array index must be an integer, but found \\\"+e+\\\" instead.\\\");return n[e]},sn.prototype.eachChild=function(t){t(this.index),t(this.input)},sn.prototype.outputDefined=function(){return!1},sn.prototype.serialize=function(){return[\\\"at\\\",this.index.serialize(),this.input.serialize()]};var ln=function(t,e){this.type=$t,this.needle=t,this.haystack=e};ln.parse=function(t,e){if(3!==t.length)return e.error(\\\"Expected 2 arguments, but found \\\"+(t.length-1)+\\\" instead.\\\");var n=e.parse(t[1],1,Ft),r=e.parse(t[2],2,Ft);return n&&r?Xt(n.type,[$t,Dt,Rt,zt,Ft])?new ln(n,r):e.error(\\\"Expected first argument to be of type boolean, string, number or null, but found \\\"+Ht(n.type)+\\\" instead\\\"):null},ln.prototype.evaluate=function(t){var e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!n)return!1;if(!Yt(e,[\\\"boolean\\\",\\\"string\\\",\\\"number\\\",\\\"null\\\"]))throw new se(\\\"Expected first argument to be of type boolean, string, number or null, but found \\\"+Ht(ie(e))+\\\" instead.\\\");if(!Yt(n,[\\\"string\\\",\\\"array\\\"]))throw new se(\\\"Expected second argument to be of type array or string, but found \\\"+Ht(ie(n))+\\\" instead.\\\");return n.indexOf(e)>=0},ln.prototype.eachChild=function(t){t(this.needle),t(this.haystack)},ln.prototype.outputDefined=function(){return!0},ln.prototype.serialize=function(){return[\\\"in\\\",this.needle.serialize(),this.haystack.serialize()]};var un=function(t,e,n){this.type=Rt,this.needle=t,this.haystack=e,this.fromIndex=n};un.parse=function(t,e){if(t.length<=2||t.length>=5)return e.error(\\\"Expected 3 or 4 arguments, but found \\\"+(t.length-1)+\\\" instead.\\\");var n=e.parse(t[1],1,Ft),r=e.parse(t[2],2,Ft);if(!n||!r)return null;if(!Xt(n.type,[$t,Dt,Rt,zt,Ft]))return e.error(\\\"Expected first argument to be of type boolean, string, number or null, but found \\\"+Ht(n.type)+\\\" instead\\\");if(4===t.length){var i=e.parse(t[3],3,Rt);return i?new un(n,r,i):null}return new un(n,r)},un.prototype.evaluate=function(t){var e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!Yt(e,[\\\"boolean\\\",\\\"string\\\",\\\"number\\\",\\\"null\\\"]))throw new se(\\\"Expected first argument to be of type boolean, string, number or null, but found \\\"+Ht(ie(e))+\\\" instead.\\\");if(!Yt(n,[\\\"string\\\",\\\"array\\\"]))throw new se(\\\"Expected second argument to be of type array or string, but found \\\"+Ht(ie(n))+\\\" instead.\\\");if(this.fromIndex){var r=this.fromIndex.evaluate(t);return n.indexOf(e,r)}return n.indexOf(e)},un.prototype.eachChild=function(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex)},un.prototype.outputDefined=function(){return!1},un.prototype.serialize=function(){if(null!=this.fromIndex&&void 0!==this.fromIndex){var t=this.fromIndex.serialize();return[\\\"index-of\\\",this.needle.serialize(),this.haystack.serialize(),t]}return[\\\"index-of\\\",this.needle.serialize(),this.haystack.serialize()]};var cn=function(t,e,n,r,i,o){this.inputType=t,this.type=e,this.input=n,this.cases=r,this.outputs=i,this.otherwise=o};cn.parse=function(t,e){if(t.length<5)return e.error(\\\"Expected at least 4 arguments, but found only \\\"+(t.length-1)+\\\".\\\");if(t.length%2!=1)return e.error(\\\"Expected an even number of arguments.\\\");var n,r;e.expectedType&&\\\"value\\\"!==e.expectedType.kind&&(r=e.expectedType);for(var i={},o=[],a=2;a<t.length-1;a+=2){var s=t[a],l=t[a+1];Array.isArray(s)||(s=[s]);var u=e.concat(a);if(0===s.length)return u.error(\\\"Expected at least one branch label.\\\");for(var c=0,h=s;c<h.length;c+=1){var p=h[c];if(\\\"number\\\"!=typeof p&&\\\"string\\\"!=typeof p)return u.error(\\\"Branch labels must be numbers or strings.\\\");if(\\\"number\\\"==typeof p&&Math.abs(p)>Number.MAX_SAFE_INTEGER)return u.error(\\\"Branch labels must be integers no larger than \\\"+Number.MAX_SAFE_INTEGER+\\\".\\\");if(\\\"number\\\"==typeof p&&Math.floor(p)!==p)return u.error(\\\"Numeric branch labels must be integer values.\\\");if(n){if(u.checkSubtype(n,ie(p)))return null}else n=ie(p);if(void 0!==i[String(p)])return u.error(\\\"Branch labels must be unique.\\\");i[String(p)]=o.length}var f=e.parse(l,a,r);if(!f)return null;r=r||f.type,o.push(f)}var d=e.parse(t[1],1,Ft);if(!d)return null;var m=e.parse(t[t.length-1],t.length-1,r);return m?\\\"value\\\"!==d.type.kind&&e.concat(1).checkSubtype(n,d.type)?null:new cn(n,r,d,i,o,m):null},cn.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(ie(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},cn.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},cn.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))&&this.otherwise.outputDefined()},cn.prototype.serialize=function(){for(var t=this,e=[\\\"match\\\",this.input.serialize()],n=[],r={},i=0,o=Object.keys(this.cases).sort();i<o.length;i+=1){var a=o[i];void 0===(h=r[this.cases[a]])?(r[this.cases[a]]=n.length,n.push([this.cases[a],[a]])):n[h][1].push(a)}for(var s=function(e){return\\\"number\\\"===t.inputType.kind?Number(e):e},l=0,u=n;l<u.length;l+=1){var c=u[l],h=c[0],p=c[1];e.push(1===p.length?s(p[0]):p.map(s)),e.push(this.outputs[outputIndex$1].serialize())}return e.push(this.otherwise.serialize()),e};var hn=function(t,e,n){this.type=t,this.branches=e,this.otherwise=n};hn.parse=function(t,e){if(t.length<4)return e.error(\\\"Expected at least 3 arguments, but found only \\\"+(t.length-1)+\\\".\\\");if(t.length%2!=0)return e.error(\\\"Expected an odd number of arguments.\\\");var n;e.expectedType&&\\\"value\\\"!==e.expectedType.kind&&(n=e.expectedType);for(var r=[],i=1;i<t.length-1;i+=2){var o=e.parse(t[i],i,$t);if(!o)return null;var a=e.parse(t[i+1],i+1,n);if(!a)return null;r.push([o,a]),n=n||a.type}var s=e.parse(t[t.length-1],t.length-1,n);return s?new hn(n,r,s):null},hn.prototype.evaluate=function(t){for(var e=0,n=this.branches;e<n.length;e+=1){var r=n[e],i=r[1];if(r[0].evaluate(t))return i.evaluate(t)}return this.otherwise.evaluate(t)},hn.prototype.eachChild=function(t){for(var e=0,n=this.branches;e<n.length;e+=1){var r=n[e],i=r[1];t(r[0]),t(i)}t(this.otherwise)},hn.prototype.outputDefined=function(){return this.branches.every((function(t){return t[1].outputDefined()}))&&this.otherwise.outputDefined()},hn.prototype.serialize=function(){var t=[\\\"case\\\"];return this.eachChild((function(e){t.push(e.serialize())})),t};var pn=function(t,e,n,r){this.type=t,this.input=e,this.beginIndex=n,this.endIndex=r};function fn(t,e){return\\\"==\\\"===t||\\\"!=\\\"===t?\\\"boolean\\\"===e.kind||\\\"string\\\"===e.kind||\\\"number\\\"===e.kind||\\\"null\\\"===e.kind||\\\"value\\\"===e.kind:\\\"string\\\"===e.kind||\\\"number\\\"===e.kind||\\\"value\\\"===e.kind}function dn(t,e,n,r){return 0===r.compare(e,n)}function mn(t,e,n){var r=\\\"==\\\"!==t&&\\\"!=\\\"!==t;return function(){function i(t,e,n){this.type=$t,this.lhs=t,this.rhs=e,this.collator=n,this.hasUntypedArgument=\\\"value\\\"===t.type.kind||\\\"value\\\"===e.type.kind}return i.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error(\\\"Expected two or three arguments.\\\");var n=t[0],o=e.parse(t[1],1,Ft);if(!o)return null;if(!fn(n,o.type))return e.concat(1).error('\\\"'+n+\\\"\\\\\\\" comparisons are not supported for type '\\\"+Ht(o.type)+\\\"'.\\\");var a=e.parse(t[2],2,Ft);if(!a)return null;if(!fn(n,a.type))return e.concat(2).error('\\\"'+n+\\\"\\\\\\\" comparisons are not supported for type '\\\"+Ht(a.type)+\\\"'.\\\");if(o.type.kind!==a.type.kind&&\\\"value\\\"!==o.type.kind&&\\\"value\\\"!==a.type.kind)return e.error(\\\"Cannot compare types '\\\"+Ht(o.type)+\\\"' and '\\\"+Ht(a.type)+\\\"'.\\\");r&&(\\\"value\\\"===o.type.kind&&\\\"value\\\"!==a.type.kind?o=new ue(a.type,[o]):\\\"value\\\"!==o.type.kind&&\\\"value\\\"===a.type.kind&&(a=new ue(o.type,[a])));var s=null;if(4===t.length){if(\\\"string\\\"!==o.type.kind&&\\\"string\\\"!==a.type.kind&&\\\"value\\\"!==o.type.kind&&\\\"value\\\"!==a.type.kind)return e.error(\\\"Cannot use collator to compare non-string types.\\\");if(!(s=e.parse(t[3],3,jt)))return null}return new i(o,a,s)},i.prototype.evaluate=function(i){var o=this.lhs.evaluate(i),a=this.rhs.evaluate(i);if(r&&this.hasUntypedArgument){var s=ie(o),l=ie(a);if(s.kind!==l.kind||\\\"string\\\"!==s.kind&&\\\"number\\\"!==s.kind)throw new se('Expected arguments for \\\"'+t+'\\\" to be (string, string) or (number, number), but found ('+s.kind+\\\", \\\"+l.kind+\\\") instead.\\\")}if(this.collator&&!r&&this.hasUntypedArgument){var u=ie(o),c=ie(a);if(\\\"string\\\"!==u.kind||\\\"string\\\"!==c.kind)return e(i,o,a)}return this.collator?n(i,o,a,this.collator.evaluate(i)):e(i,o,a)},i.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)},i.prototype.outputDefined=function(){return!0},i.prototype.serialize=function(){var e=[t];return this.eachChild((function(t){e.push(t.serialize())})),e},i}()}pn.parse=function(t,e){if(t.length<=2||t.length>=5)return e.error(\\\"Expected 3 or 4 arguments, but found \\\"+(t.length-1)+\\\" instead.\\\");var n=e.parse(t[1],1,Ft),r=e.parse(t[2],2,Rt);if(!n||!r)return null;if(!Xt(n.type,[Vt(Ft),Dt,Ft]))return e.error(\\\"Expected first argument to be of type array or string, but found \\\"+Ht(n.type)+\\\" instead\\\");if(4===t.length){var i=e.parse(t[3],3,Rt);return i?new pn(n.type,n,r,i):null}return new pn(n.type,n,r)},pn.prototype.evaluate=function(t){var e=this.input.evaluate(t),n=this.beginIndex.evaluate(t);if(!Yt(e,[\\\"string\\\",\\\"array\\\"]))throw new se(\\\"Expected first argument to be of type array or string, but found \\\"+Ht(ie(e))+\\\" instead.\\\");if(this.endIndex){var r=this.endIndex.evaluate(t);return e.slice(n,r)}return e.slice(n)},pn.prototype.eachChild=function(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex)},pn.prototype.outputDefined=function(){return!1},pn.prototype.serialize=function(){if(null!=this.endIndex&&void 0!==this.endIndex){var t=this.endIndex.serialize();return[\\\"slice\\\",this.input.serialize(),this.beginIndex.serialize(),t]}return[\\\"slice\\\",this.input.serialize(),this.beginIndex.serialize()]};var vn=mn(\\\"==\\\",(function(t,e,n){return e===n}),dn),gn=mn(\\\"!=\\\",(function(t,e,n){return e!==n}),(function(t,e,n,r){return!dn(0,e,n,r)})),yn=mn(\\\"<\\\",(function(t,e,n){return e<n}),(function(t,e,n,r){return r.compare(e,n)<0})),_n=mn(\\\">\\\",(function(t,e,n){return e>n}),(function(t,e,n,r){return r.compare(e,n)>0})),bn=mn(\\\"<=\\\",(function(t,e,n){return e<=n}),(function(t,e,n,r){return r.compare(e,n)<=0})),xn=mn(\\\">=\\\",(function(t,e,n){return e>=n}),(function(t,e,n,r){return r.compare(e,n)>=0})),wn=function(t,e,n,r,i){this.type=Dt,this.number=t,this.locale=e,this.currency=n,this.minFractionDigits=r,this.maxFractionDigits=i};wn.parse=function(t,e){if(3!==t.length)return e.error(\\\"Expected two arguments.\\\");var n=e.parse(t[1],1,Rt);if(!n)return null;var r=t[2];if(\\\"object\\\"!=typeof r||Array.isArray(r))return e.error(\\\"NumberFormat options argument must be an object.\\\");var i=null;if(r.locale&&!(i=e.parse(r.locale,1,Dt)))return null;var o=null;if(r.currency&&!(o=e.parse(r.currency,1,Dt)))return null;var a=null;if(r[\\\"min-fraction-digits\\\"]&&!(a=e.parse(r[\\\"min-fraction-digits\\\"],1,Rt)))return null;var s=null;return r[\\\"max-fraction-digits\\\"]&&!(s=e.parse(r[\\\"max-fraction-digits\\\"],1,Rt))?null:new wn(n,i,o,a,s)},wn.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?\\\"currency\\\":\\\"decimal\\\",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},wn.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)},wn.prototype.outputDefined=function(){return!1},wn.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t[\\\"min-fraction-digits\\\"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t[\\\"max-fraction-digits\\\"]=this.maxFractionDigits.serialize()),[\\\"number-format\\\",this.number.serialize(),t]};var An=function(t){this.type=Rt,this.input=t};An.parse=function(t,e){if(2!==t.length)return e.error(\\\"Expected 1 argument, but found \\\"+(t.length-1)+\\\" instead.\\\");var n=e.parse(t[1],1);return n?\\\"array\\\"!==n.type.kind&&\\\"string\\\"!==n.type.kind&&\\\"value\\\"!==n.type.kind?e.error(\\\"Expected argument of type string or array, but found \\\"+Ht(n.type)+\\\" instead.\\\"):new An(n):null},An.prototype.evaluate=function(t){var e=this.input.evaluate(t);if(\\\"string\\\"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new se(\\\"Expected value to be of type string or array, but found \\\"+Ht(ie(e))+\\\" instead.\\\")},An.prototype.eachChild=function(t){t(this.input)},An.prototype.outputDefined=function(){return!1},An.prototype.serialize=function(){var t=[\\\"length\\\"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Cn={\\\"==\\\":vn,\\\"!=\\\":gn,\\\">\\\":_n,\\\"<\\\":yn,\\\">=\\\":xn,\\\"<=\\\":bn,array:ue,at:sn,boolean:ue,case:hn,coalesce:on,collator:ge,format:ce,image:he,in:ln,\\\"index-of\\\":un,interpolate:nn,\\\"interpolate-hcl\\\":nn,\\\"interpolate-lab\\\":nn,length:An,let:an,literal:ae,match:cn,number:ue,\\\"number-format\\\":wn,object:ue,slice:pn,step:Fe,string:ue,\\\"to-boolean\\\":fe,\\\"to-color\\\":fe,\\\"to-number\\\":fe,\\\"to-string\\\":fe,var:$e,within:Pe};function Mn(t,e){var n=e[0],r=e[1],i=e[2],o=e[3];n=n.evaluate(t),r=r.evaluate(t),i=i.evaluate(t);var a=o?o.evaluate(t):1,s=ne(n,r,i,a);if(s)throw new se(s);return new Kt(n/255*a,r/255*a,i/255*a,a)}function En(t,e){return t in e}function Tn(t,e){var n=e[t];return void 0===n?null:n}function Sn(t){return{type:t}}function kn(t){return{result:\\\"success\\\",value:t}}function On(t){return{result:\\\"error\\\",value:t}}function In(t){return\\\"data-driven\\\"===t[\\\"property-type\\\"]||\\\"cross-faded-data-driven\\\"===t[\\\"property-type\\\"]}function Ln(t){return!!t.expression&&t.expression.parameters.indexOf(\\\"zoom\\\")>-1}function Pn(t){return!!t.expression&&t.expression.interpolated}function zn(t){return t instanceof Number?\\\"number\\\":t instanceof String?\\\"string\\\":t instanceof Boolean?\\\"boolean\\\":Array.isArray(t)?\\\"array\\\":null===t?\\\"null\\\":typeof t}function Rn(t){return\\\"object\\\"==typeof t&&null!==t&&!Array.isArray(t)}function Dn(t){return t}function $n(t,e,n){return void 0!==t?t:void 0!==e?e:void 0!==n?n:void 0}function Bn(t,e,n,r,i){return $n(typeof n===i?r[n]:void 0,t.default,e.default)}function Nn(t,e,n){if(\\\"number\\\"!==zn(n))return $n(t.default,e.default);var r=t.stops.length;if(1===r)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[r-1][0])return t.stops[r-1][1];var i=Ne(t.stops.map((function(t){return t[0]})),n);return t.stops[i][1]}function Fn(t,e,n){var r=void 0!==t.base?t.base:1;if(\\\"number\\\"!==zn(n))return $n(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[i-1][0])return t.stops[i-1][1];var o=Ne(t.stops.map((function(t){return t[0]})),n),a=function(t,e,n,r){var i=r-n,o=t-n;return 0===i?0:1===e?o/i:(Math.pow(e,o)-1)/(Math.pow(e,i)-1)}(n,r,t.stops[o][0],t.stops[o+1][0]),s=t.stops[o][1],l=t.stops[o+1][1],u=Ue[e.type]||Dn;if(t.colorSpace&&\\\"rgb\\\"!==t.colorSpace){var c=en[t.colorSpace];u=function(t,e){return c.reverse(c.interpolate(c.forward(t),c.forward(e),a))}}return\\\"function\\\"==typeof s.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=s.evaluate.apply(void 0,t),r=l.evaluate.apply(void 0,t);if(void 0!==n&&void 0!==r)return u(n,r,a)}}:u(s,l,a)}function jn(t,e,n){return\\\"color\\\"===e.type?n=Kt.parse(n):\\\"formatted\\\"===e.type?n=te.fromString(n.toString()):\\\"resolvedImage\\\"===e.type?n=ee.fromString(n.toString()):zn(n)===e.type||\\\"enum\\\"===e.type&&e.values[n]||(n=void 0),$n(n,t.default,e.default)}ve.register(Cn,{error:[{kind:\\\"error\\\"},[Dt],function(t,e){throw new se(e[0].evaluate(t))}],typeof:[Dt,[Ft],function(t,e){return Ht(ie(e[0].evaluate(t)))}],\\\"to-rgba\\\":[Vt(Rt,4),[Bt],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[Bt,[Rt,Rt,Rt],Mn],rgba:[Bt,[Rt,Rt,Rt,Rt],Mn],has:{type:$t,overloads:[[[Dt],function(t,e){return En(e[0].evaluate(t),t.properties())}],[[Dt,Nt],function(t,e){var n=e[1];return En(e[0].evaluate(t),n.evaluate(t))}]]},get:{type:Ft,overloads:[[[Dt],function(t,e){return Tn(e[0].evaluate(t),t.properties())}],[[Dt,Nt],function(t,e){var n=e[1];return Tn(e[0].evaluate(t),n.evaluate(t))}]]},\\\"feature-state\\\":[Ft,[Dt],function(t,e){return Tn(e[0].evaluate(t),t.featureState||{})}],properties:[Nt,[],function(t){return t.properties()}],\\\"geometry-type\\\":[Dt,[],function(t){return t.geometryType()}],id:[Ft,[],function(t){return t.id()}],zoom:[Rt,[],function(t){return t.globals.zoom}],\\\"heatmap-density\\\":[Rt,[],function(t){return t.globals.heatmapDensity||0}],\\\"line-progress\\\":[Rt,[],function(t){return t.globals.lineProgress||0}],accumulated:[Ft,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],\\\"+\\\":[Rt,Sn(Rt),function(t,e){for(var n=0,r=0,i=e;r<i.length;r+=1)n+=i[r].evaluate(t);return n}],\\\"*\\\":[Rt,Sn(Rt),function(t,e){for(var n=1,r=0,i=e;r<i.length;r+=1)n*=i[r].evaluate(t);return n}],\\\"-\\\":{type:Rt,overloads:[[[Rt,Rt],function(t,e){var n=e[1];return e[0].evaluate(t)-n.evaluate(t)}],[[Rt],function(t,e){return-e[0].evaluate(t)}]]},\\\"/\\\":[Rt,[Rt,Rt],function(t,e){var n=e[1];return e[0].evaluate(t)/n.evaluate(t)}],\\\"%\\\":[Rt,[Rt,Rt],function(t,e){var n=e[1];return e[0].evaluate(t)%n.evaluate(t)}],ln2:[Rt,[],function(){return Math.LN2}],pi:[Rt,[],function(){return Math.PI}],e:[Rt,[],function(){return Math.E}],\\\"^\\\":[Rt,[Rt,Rt],function(t,e){var n=e[1];return Math.pow(e[0].evaluate(t),n.evaluate(t))}],sqrt:[Rt,[Rt],function(t,e){return Math.sqrt(e[0].evaluate(t))}],log10:[Rt,[Rt],function(t,e){return Math.log(e[0].evaluate(t))/Math.LN10}],ln:[Rt,[Rt],function(t,e){return Math.log(e[0].evaluate(t))}],log2:[Rt,[Rt],function(t,e){return Math.log(e[0].evaluate(t))/Math.LN2}],sin:[Rt,[Rt],function(t,e){return Math.sin(e[0].evaluate(t))}],cos:[Rt,[Rt],function(t,e){return Math.cos(e[0].evaluate(t))}],tan:[Rt,[Rt],function(t,e){return Math.tan(e[0].evaluate(t))}],asin:[Rt,[Rt],function(t,e){return Math.asin(e[0].evaluate(t))}],acos:[Rt,[Rt],function(t,e){return Math.acos(e[0].evaluate(t))}],atan:[Rt,[Rt],function(t,e){return Math.atan(e[0].evaluate(t))}],min:[Rt,Sn(Rt),function(t,e){return Math.min.apply(Math,e.map((function(e){return e.evaluate(t)})))}],max:[Rt,Sn(Rt),function(t,e){return Math.max.apply(Math,e.map((function(e){return e.evaluate(t)})))}],abs:[Rt,[Rt],function(t,e){return Math.abs(e[0].evaluate(t))}],round:[Rt,[Rt],function(t,e){var n=e[0].evaluate(t);return n<0?-Math.round(-n):Math.round(n)}],floor:[Rt,[Rt],function(t,e){return Math.floor(e[0].evaluate(t))}],ceil:[Rt,[Rt],function(t,e){return Math.ceil(e[0].evaluate(t))}],\\\"filter-==\\\":[$t,[Dt,Ft],function(t,e){var n=e[0],r=e[1];return t.properties()[n.value]===r.value}],\\\"filter-id-==\\\":[$t,[Ft],function(t,e){var n=e[0];return t.id()===n.value}],\\\"filter-type-==\\\":[$t,[Dt],function(t,e){var n=e[0];return t.geometryType()===n.value}],\\\"filter-<\\\":[$t,[Dt,Ft],function(t,e){var n=e[0],r=e[1],i=t.properties()[n.value],o=r.value;return typeof i==typeof o&&i<o}],\\\"filter-id-<\\\":[$t,[Ft],function(t,e){var n=e[0],r=t.id(),i=n.value;return typeof r==typeof i&&r<i}],\\\"filter->\\\":[$t,[Dt,Ft],function(t,e){var n=e[0],r=e[1],i=t.properties()[n.value],o=r.value;return typeof i==typeof o&&i>o}],\\\"filter-id->\\\":[$t,[Ft],function(t,e){var n=e[0],r=t.id(),i=n.value;return typeof r==typeof i&&r>i}],\\\"filter-<=\\\":[$t,[Dt,Ft],function(t,e){var n=e[0],r=e[1],i=t.properties()[n.value],o=r.value;return typeof i==typeof o&&i<=o}],\\\"filter-id-<=\\\":[$t,[Ft],function(t,e){var n=e[0],r=t.id(),i=n.value;return typeof r==typeof i&&r<=i}],\\\"filter->=\\\":[$t,[Dt,Ft],function(t,e){var n=e[0],r=e[1],i=t.properties()[n.value],o=r.value;return typeof i==typeof o&&i>=o}],\\\"filter-id->=\\\":[$t,[Ft],function(t,e){var n=e[0],r=t.id(),i=n.value;return typeof r==typeof i&&r>=i}],\\\"filter-has\\\":[$t,[Ft],function(t,e){return e[0].value in t.properties()}],\\\"filter-has-id\\\":[$t,[],function(t){return null!==t.id()&&void 0!==t.id()}],\\\"filter-type-in\\\":[$t,[Vt(Dt)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],\\\"filter-id-in\\\":[$t,[Vt(Ft)],function(t,e){return e[0].value.indexOf(t.id())>=0}],\\\"filter-in-small\\\":[$t,[Dt,Vt(Ft)],function(t,e){var n=e[0];return e[1].value.indexOf(t.properties()[n.value])>=0}],\\\"filter-in-large\\\":[$t,[Dt,Vt(Ft)],function(t,e){var n=e[0],r=e[1];return function(t,e,n,r){for(;n<=r;){var i=n+r>>1;if(e[i]===t)return!0;e[i]>t?r=i-1:n=i+1}return!1}(t.properties()[n.value],r.value,0,r.value.length-1)}],all:{type:$t,overloads:[[[$t,$t],function(t,e){var n=e[1];return e[0].evaluate(t)&&n.evaluate(t)}],[Sn($t),function(t,e){for(var n=0,r=e;n<r.length;n+=1)if(!r[n].evaluate(t))return!1;return!0}]]},any:{type:$t,overloads:[[[$t,$t],function(t,e){var n=e[1];return e[0].evaluate(t)||n.evaluate(t)}],[Sn($t),function(t,e){for(var n=0,r=e;n<r.length;n+=1)if(r[n].evaluate(t))return!0;return!1}]]},\\\"!\\\":[$t,[$t],function(t,e){return!e[0].evaluate(t)}],\\\"is-supported-script\\\":[$t,[Dt],function(t,e){var n=t.globals&&t.globals.isSupportedScript;return!n||n(e[0].evaluate(t))}],upcase:[Dt,[Dt],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[Dt,[Dt],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[Dt,Sn(Ft),function(t,e){return e.map((function(e){return oe(e.evaluate(t))})).join(\\\"\\\")}],\\\"resolved-locale\\\":[Dt,[jt],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var Un=function(t,e){this.expression=t,this._warningHistory={},this._evaluator=new me,this._defaultValue=e?function(t){return\\\"color\\\"===t.type&&Rn(t.default)?new Kt(0,0,0,0):\\\"color\\\"===t.type?Kt.parse(t.default)||null:void 0===t.default?null:t.default}(e):null,this._enumValues=e&&\\\"enum\\\"===e.type?e.values:null};function qn(t){return Array.isArray(t)&&t.length>0&&\\\"string\\\"==typeof t[0]&&t[0]in Cn}function Vn(t,e){var n=new Be(Cn,[],e?function(t){var e={color:Bt,string:Dt,number:Rt,enum:Dt,boolean:$t,formatted:Ut,resolvedImage:qt};return\\\"array\\\"===t.type?Vt(e[t.value]||Ft,t.length):e[t.type]}(e):void 0),r=n.parse(t,void 0,void 0,void 0,e&&\\\"string\\\"===e.type?{typeAnnotation:\\\"coerce\\\"}:void 0);return r?kn(new Un(r,e)):On(n.errors)}Un.prototype.evaluateWithoutErrorHandling=function(t,e,n,r,i,o){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o,this.expression.evaluate(this._evaluator)},Un.prototype.evaluate=function(t,e,n,r,i,o){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o||null;try{var a=this.expression.evaluate(this._evaluator);if(null==a||\\\"number\\\"==typeof a&&a!=a)return this._defaultValue;if(this._enumValues&&!(a in this._enumValues))throw new se(\\\"Expected value to be one of \\\"+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(\\\", \\\")+\\\", but found \\\"+JSON.stringify(a)+\\\" instead.\\\");return a}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,\\\"undefined\\\"!=typeof console&&console.warn(t.message)),this._defaultValue}};var Hn=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent=\\\"constant\\\"!==t&&!Re(e.expression)};Hn.prototype.evaluateWithoutErrorHandling=function(t,e,n,r,i,o){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,o)},Hn.prototype.evaluate=function(t,e,n,r,i,o){return this._styleExpression.evaluate(t,e,n,r,i,o)};var Gn=function(t,e,n,r){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent=\\\"camera\\\"!==t&&!Re(e.expression),this.interpolationType=r};function Wn(t,e){if(\\\"error\\\"===(t=Vn(t,e)).result)return t;var n=t.value.expression,r=ze(n);if(!r&&!In(e))return On([new Lt(\\\"\\\",\\\"data expressions not supported\\\")]);var i=De(n,[\\\"zoom\\\"]);if(!i&&!Ln(e))return On([new Lt(\\\"\\\",\\\"zoom expressions not supported\\\")]);var o=function t(e){var n=null;if(e instanceof an)n=t(e.result);else if(e instanceof on)for(var r=0,i=e.args;r<i.length&&!(n=t(i[r]));r+=1);else(e instanceof Fe||e instanceof nn)&&e.input instanceof ve&&\\\"zoom\\\"===e.input.name&&(n=e);return n instanceof Lt||e.eachChild((function(e){var r=t(e);r instanceof Lt?n=r:!n&&r?n=new Lt(\\\"\\\",'\\\"zoom\\\" expression may only be used as input to a top-level \\\"step\\\" or \\\"interpolate\\\" expression.'):n&&r&&n!==r&&(n=new Lt(\\\"\\\",'Only one zoom-based \\\"step\\\" or \\\"interpolate\\\" subexpression may be used in an expression.'))})),n}(n);return o||i?o instanceof Lt?On([o]):o instanceof nn&&!Pn(e)?On([new Lt(\\\"\\\",'\\\"interpolate\\\" expressions cannot be used with this property')]):kn(o?new Gn(r?\\\"camera\\\":\\\"composite\\\",t.value,o.labels,o instanceof nn?o.interpolation:void 0):new Hn(r?\\\"constant\\\":\\\"source\\\",t.value)):On([new Lt(\\\"\\\",'\\\"zoom\\\" expression may only be used as input to a top-level \\\"step\\\" or \\\"interpolate\\\" expression.')])}Gn.prototype.evaluateWithoutErrorHandling=function(t,e,n,r,i,o){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,r,i,o)},Gn.prototype.evaluate=function(t,e,n,r,i,o){return this._styleExpression.evaluate(t,e,n,r,i,o)},Gn.prototype.interpolationFactor=function(t,e,n){return this.interpolationType?nn.interpolationFactor(this.interpolationType,t,e,n):0};var Xn=function(t,e){this._parameters=t,this._specification=e,kt(this,function t(e,n){var r,i,o,a=\\\"color\\\"===n.type,s=e.stops&&\\\"object\\\"==typeof e.stops[0][0],l=s||!(s||void 0!==e.property),u=e.type||(Pn(n)?\\\"exponential\\\":\\\"interval\\\");if(a&&((e=kt({},e)).stops&&(e.stops=e.stops.map((function(t){return[t[0],Kt.parse(t[1])]}))),e.default=Kt.parse(e.default?e.default:n.default)),e.colorSpace&&\\\"rgb\\\"!==e.colorSpace&&!en[e.colorSpace])throw new Error(\\\"Unknown color space: \\\"+e.colorSpace);if(\\\"exponential\\\"===u)r=Fn;else if(\\\"interval\\\"===u)r=Nn;else if(\\\"categorical\\\"===u){r=Bn,i=Object.create(null);for(var c=0,h=e.stops;c<h.length;c+=1){var p=h[c];i[p[0]]=p[1]}o=typeof e.stops[0][0]}else{if(\\\"identity\\\"!==u)throw new Error('Unknown function type \\\"'+u+'\\\"');r=jn}if(s){for(var f={},d=[],m=0;m<e.stops.length;m++){var v=e.stops[m],g=v[0].zoom;void 0===f[g]&&(f[g]={zoom:g,type:e.type,property:e.property,default:e.default,stops:[]},d.push(g)),f[g].stops.push([v[0].value,v[1]])}for(var y=[],_=0,b=d;_<b.length;_+=1){var x=b[_];y.push([f[x].zoom,t(f[x],n)])}var w={name:\\\"linear\\\"};return{kind:\\\"composite\\\",interpolationType:w,interpolationFactor:nn.interpolationFactor.bind(void 0,w),zoomStops:y.map((function(t){return t[0]})),evaluate:function(t,r){var i=t.zoom;return Fn({stops:y,base:e.base},n,i).evaluate(i,r)}}}if(l){var A=\\\"exponential\\\"===u?{name:\\\"exponential\\\",base:void 0!==e.base?e.base:1}:null;return{kind:\\\"camera\\\",interpolationType:A,interpolationFactor:nn.interpolationFactor.bind(void 0,A),zoomStops:e.stops.map((function(t){return t[0]})),evaluate:function(t){return r(e,n,t.zoom,i,o)}}}return{kind:\\\"source\\\",evaluate:function(t,a){var s=a&&a.properties?a.properties[e.property]:void 0;return void 0===s?$n(e.default,n.default):r(e,n,s,i,o)}}}(this._parameters,this._specification))};function Yn(t){var e=t.key,n=t.value,r=t.valueSpec||{},i=t.objectElementValidators||{},o=t.style,a=t.styleSpec,s=[],l=zn(n);if(\\\"object\\\"!==l)return[new Tt(e,n,\\\"object expected, \\\"+l+\\\" found\\\")];for(var u in n){var c=u.split(\\\".\\\")[0],h=r[c]||r[\\\"*\\\"],p=void 0;if(i[c])p=i[c];else if(r[c])p=br;else if(i[\\\"*\\\"])p=i[\\\"*\\\"];else{if(!r[\\\"*\\\"]){s.push(new Tt(e,n[u],'unknown property \\\"'+u+'\\\"'));continue}p=br}s=s.concat(p({key:(e?e+\\\".\\\":e)+u,value:n[u],valueSpec:h,style:o,styleSpec:a,object:n,objectKey:u},n))}for(var f in r)i[f]||r[f].required&&void 0===r[f].default&&void 0===n[f]&&s.push(new Tt(e,n,'missing required property \\\"'+f+'\\\"'));return s}function Zn(t){var e=t.value,n=t.valueSpec,r=t.style,i=t.styleSpec,o=t.key,a=t.arrayElementValidator||br;if(\\\"array\\\"!==zn(e))return[new Tt(o,e,\\\"array expected, \\\"+zn(e)+\\\" found\\\")];if(n.length&&e.length!==n.length)return[new Tt(o,e,\\\"array length \\\"+n.length+\\\" expected, length \\\"+e.length+\\\" found\\\")];if(n[\\\"min-length\\\"]&&e.length<n[\\\"min-length\\\"])return[new Tt(o,e,\\\"array length at least \\\"+n[\\\"min-length\\\"]+\\\" expected, length \\\"+e.length+\\\" found\\\")];var s={type:n.value,values:n.values};i.$version<7&&(s.function=n.function),\\\"object\\\"===zn(n.value)&&(s=n.value);for(var l=[],u=0;u<e.length;u++)l=l.concat(a({array:e,arrayIndex:u,value:e[u],valueSpec:s,style:r,styleSpec:i,key:o+\\\"[\\\"+u+\\\"]\\\"}));return l}function Kn(t){var e=t.key,n=t.value,r=t.valueSpec,i=zn(n);return\\\"number\\\"===i&&n!=n&&(i=\\\"NaN\\\"),\\\"number\\\"!==i?[new Tt(e,n,\\\"number expected, \\\"+i+\\\" found\\\")]:\\\"minimum\\\"in r&&n<r.minimum?[new Tt(e,n,n+\\\" is less than the minimum value \\\"+r.minimum)]:\\\"maximum\\\"in r&&n>r.maximum?[new Tt(e,n,n+\\\" is greater than the maximum value \\\"+r.maximum)]:[]}function Jn(t){var e,n,r,i=t.valueSpec,o=Ot(t.value.type),a={},s=\\\"categorical\\\"!==o&&void 0===t.value.property,l=!s,u=\\\"array\\\"===zn(t.value.stops)&&\\\"array\\\"===zn(t.value.stops[0])&&\\\"object\\\"===zn(t.value.stops[0][0]),c=Yn({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if(\\\"identity\\\"===o)return[new Tt(t.key,t.value,'identity function may not have a \\\"stops\\\" property')];var e=[],n=t.value;return e=e.concat(Zn({key:t.key,value:n,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:h})),\\\"array\\\"===zn(n)&&0===n.length&&e.push(new Tt(t.key,n,\\\"array must have at least one stop\\\")),e},default:function(t){return br({key:t.key,value:t.value,valueSpec:i,style:t.style,styleSpec:t.styleSpec})}}});return\\\"identity\\\"===o&&s&&c.push(new Tt(t.key,t.value,'missing required property \\\"property\\\"')),\\\"identity\\\"===o||t.value.stops||c.push(new Tt(t.key,t.value,'missing required property \\\"stops\\\"')),\\\"exponential\\\"===o&&t.valueSpec.expression&&!Pn(t.valueSpec)&&c.push(new Tt(t.key,t.value,\\\"exponential functions not supported\\\")),t.styleSpec.$version>=8&&(l&&!In(t.valueSpec)?c.push(new Tt(t.key,t.value,\\\"property functions not supported\\\")):s&&!Ln(t.valueSpec)&&c.push(new Tt(t.key,t.value,\\\"zoom functions not supported\\\"))),\\\"categorical\\\"!==o&&!u||void 0!==t.value.property||c.push(new Tt(t.key,t.value,'\\\"property\\\" property is required')),c;function h(t){var e=[],o=t.value,s=t.key;if(\\\"array\\\"!==zn(o))return[new Tt(s,o,\\\"array expected, \\\"+zn(o)+\\\" found\\\")];if(2!==o.length)return[new Tt(s,o,\\\"array length 2 expected, length \\\"+o.length+\\\" found\\\")];if(u){if(\\\"object\\\"!==zn(o[0]))return[new Tt(s,o,\\\"object expected, \\\"+zn(o[0])+\\\" found\\\")];if(void 0===o[0].zoom)return[new Tt(s,o,\\\"object stop key must have zoom\\\")];if(void 0===o[0].value)return[new Tt(s,o,\\\"object stop key must have value\\\")];if(r&&r>Ot(o[0].zoom))return[new Tt(s,o[0].zoom,\\\"stop zoom values must appear in ascending order\\\")];Ot(o[0].zoom)!==r&&(r=Ot(o[0].zoom),n=void 0,a={}),e=e.concat(Yn({key:s+\\\"[0]\\\",value:o[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:Kn,value:p}}))}else e=e.concat(p({key:s+\\\"[0]\\\",value:o[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},o));return qn(It(o[1]))?e.concat([new Tt(s+\\\"[1]\\\",o[1],\\\"expressions are not allowed in function stops.\\\")]):e.concat(br({key:s+\\\"[1]\\\",value:o[1],valueSpec:i,style:t.style,styleSpec:t.styleSpec}))}function p(t,r){var s=zn(t.value),l=Ot(t.value),u=null!==t.value?t.value:r;if(e){if(s!==e)return[new Tt(t.key,u,s+\\\" stop domain type must match previous stop domain type \\\"+e)]}else e=s;if(\\\"number\\\"!==s&&\\\"string\\\"!==s&&\\\"boolean\\\"!==s)return[new Tt(t.key,u,\\\"stop domain value must be a number, string, or boolean\\\")];if(\\\"number\\\"!==s&&\\\"categorical\\\"!==o){var c=\\\"number expected, \\\"+s+\\\" found\\\";return In(i)&&void 0===o&&(c+='\\\\nIf you intended to use a categorical function, specify `\\\"type\\\": \\\"categorical\\\"`.'),[new Tt(t.key,u,c)]}return\\\"categorical\\\"!==o||\\\"number\\\"!==s||isFinite(l)&&Math.floor(l)===l?\\\"categorical\\\"!==o&&\\\"number\\\"===s&&void 0!==n&&l<n?[new Tt(t.key,u,\\\"stop domain values must appear in ascending order\\\")]:(n=l,\\\"categorical\\\"===o&&l in a?[new Tt(t.key,u,\\\"stop domain values must be unique\\\")]:(a[l]=!0,[])):[new Tt(t.key,u,\\\"integer expected, found \\\"+l)]}}function Qn(t){var e=(\\\"property\\\"===t.expressionContext?Wn:Vn)(It(t.value),t.valueSpec);if(\\\"error\\\"===e.result)return e.value.map((function(e){return new Tt(\\\"\\\"+t.key+e.key,t.value,e.message)}));var n=e.value.expression||e.value._styleExpression.expression;if(\\\"property\\\"===t.expressionContext&&\\\"text-font\\\"===t.propertyKey&&!n.outputDefined())return[new Tt(t.key,t.value,'Invalid data expression for \\\"'+t.propertyKey+'\\\". Output values must be contained as literals within the expression.')];if(\\\"property\\\"===t.expressionContext&&\\\"layout\\\"===t.propertyType&&!Re(n))return[new Tt(t.key,t.value,'\\\"feature-state\\\" data expressions are not supported with layout properties.')];if(\\\"filter\\\"===t.expressionContext&&!Re(n))return[new Tt(t.key,t.value,'\\\"feature-state\\\" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf(\\\"cluster\\\")){if(!De(n,[\\\"zoom\\\",\\\"feature-state\\\"]))return[new Tt(t.key,t.value,'\\\"zoom\\\" and \\\"feature-state\\\" expressions are not supported with cluster properties.')];if(\\\"cluster-initial\\\"===t.expressionContext&&!ze(n))return[new Tt(t.key,t.value,\\\"Feature data expressions are not supported with initial expression part of cluster properties.\\\")]}return[]}function tr(t){var e=t.key,n=t.value,r=t.valueSpec,i=[];return Array.isArray(r.values)?-1===r.values.indexOf(Ot(n))&&i.push(new Tt(e,n,\\\"expected one of [\\\"+r.values.join(\\\", \\\")+\\\"], \\\"+JSON.stringify(n)+\\\" found\\\")):-1===Object.keys(r.values).indexOf(Ot(n))&&i.push(new Tt(e,n,\\\"expected one of [\\\"+Object.keys(r.values).join(\\\", \\\")+\\\"], \\\"+JSON.stringify(n)+\\\" found\\\")),i}function er(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case\\\"has\\\":return t.length>=2&&\\\"$id\\\"!==t[1]&&\\\"$type\\\"!==t[1];case\\\"in\\\":return t.length>=3&&(\\\"string\\\"!=typeof t[1]||Array.isArray(t[2]));case\\\"!in\\\":case\\\"!has\\\":case\\\"none\\\":return!1;case\\\"==\\\":case\\\"!=\\\":case\\\">\\\":case\\\">=\\\":case\\\"<\\\":case\\\"<=\\\":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case\\\"any\\\":case\\\"all\\\":for(var e=0,n=t.slice(1);e<n.length;e+=1){var r=n[e];if(!er(r)&&\\\"boolean\\\"!=typeof r)return!1}return!0;default:return!0}}Xn.deserialize=function(t){return new Xn(t._parameters,t._specification)},Xn.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var nr={type:\\\"boolean\\\",default:!1,transition:!1,\\\"property-type\\\":\\\"data-driven\\\",expression:{interpolated:!1,parameters:[\\\"zoom\\\",\\\"feature\\\"]}};function rr(t){if(null==t)return{filter:function(){return!0},needGeometry:!1};er(t)||(t=or(t));var e=Vn(t,nr);if(\\\"error\\\"===e.result)throw new Error(e.value.map((function(t){return t.key+\\\": \\\"+t.message})).join(\\\", \\\"));return{filter:function(t,n,r){return e.value.evaluate(t,n,{},r)},needGeometry:function t(e){if(!Array.isArray(e))return!1;if(\\\"within\\\"===e[0])return!0;for(var n=1;n<e.length;n++)if(t(e[n]))return!0;return!1}(t)}}function ir(t,e){return t<e?-1:t>e?1:0}function or(t){if(!t)return!0;var e,n=t[0];return t.length<=1?\\\"any\\\"!==n:\\\"==\\\"===n?ar(t[1],t[2],\\\"==\\\"):\\\"!=\\\"===n?ur(ar(t[1],t[2],\\\"==\\\")):\\\"<\\\"===n||\\\">\\\"===n||\\\"<=\\\"===n||\\\">=\\\"===n?ar(t[1],t[2],n):\\\"any\\\"===n?(e=t.slice(1),[\\\"any\\\"].concat(e.map(or))):\\\"all\\\"===n?[\\\"all\\\"].concat(t.slice(1).map(or)):\\\"none\\\"===n?[\\\"all\\\"].concat(t.slice(1).map(or).map(ur)):\\\"in\\\"===n?sr(t[1],t.slice(2)):\\\"!in\\\"===n?ur(sr(t[1],t.slice(2))):\\\"has\\\"===n?lr(t[1]):\\\"!has\\\"===n?ur(lr(t[1])):\\\"within\\\"!==n||t}function ar(t,e,n){switch(t){case\\\"$type\\\":return[\\\"filter-type-\\\"+n,e];case\\\"$id\\\":return[\\\"filter-id-\\\"+n,e];default:return[\\\"filter-\\\"+n,t,e]}}function sr(t,e){if(0===e.length)return!1;switch(t){case\\\"$type\\\":return[\\\"filter-type-in\\\",[\\\"literal\\\",e]];case\\\"$id\\\":return[\\\"filter-id-in\\\",[\\\"literal\\\",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?[\\\"filter-in-large\\\",t,[\\\"literal\\\",e.sort(ir)]]:[\\\"filter-in-small\\\",t,[\\\"literal\\\",e]]}}function lr(t){switch(t){case\\\"$type\\\":return!0;case\\\"$id\\\":return[\\\"filter-has-id\\\"];default:return[\\\"filter-has\\\",t]}}function ur(t){return[\\\"!\\\",t]}function cr(t){return er(It(t.value))?Qn(kt({},t,{expressionContext:\\\"filter\\\",valueSpec:{value:\\\"boolean\\\"}})):function t(e){var n=e.value,r=e.key;if(\\\"array\\\"!==zn(n))return[new Tt(r,n,\\\"array expected, \\\"+zn(n)+\\\" found\\\")];var i,o=e.styleSpec,a=[];if(n.length<1)return[new Tt(r,n,\\\"filter array must have at least 1 element\\\")];switch(a=a.concat(tr({key:r+\\\"[0]\\\",value:n[0],valueSpec:o.filter_operator,style:e.style,styleSpec:e.styleSpec})),Ot(n[0])){case\\\"<\\\":case\\\"<=\\\":case\\\">\\\":case\\\">=\\\":n.length>=2&&\\\"$type\\\"===Ot(n[1])&&a.push(new Tt(r,n,'\\\"$type\\\" cannot be use with operator \\\"'+n[0]+'\\\"'));case\\\"==\\\":case\\\"!=\\\":3!==n.length&&a.push(new Tt(r,n,'filter array for operator \\\"'+n[0]+'\\\" must have 3 elements'));case\\\"in\\\":case\\\"!in\\\":n.length>=2&&\\\"string\\\"!==(i=zn(n[1]))&&a.push(new Tt(r+\\\"[1]\\\",n[1],\\\"string expected, \\\"+i+\\\" found\\\"));for(var s=2;s<n.length;s++)i=zn(n[s]),\\\"$type\\\"===Ot(n[1])?a=a.concat(tr({key:r+\\\"[\\\"+s+\\\"]\\\",value:n[s],valueSpec:o.geometry_type,style:e.style,styleSpec:e.styleSpec})):\\\"string\\\"!==i&&\\\"number\\\"!==i&&\\\"boolean\\\"!==i&&a.push(new Tt(r+\\\"[\\\"+s+\\\"]\\\",n[s],\\\"string, number, or boolean expected, \\\"+i+\\\" found\\\"));break;case\\\"any\\\":case\\\"all\\\":case\\\"none\\\":for(var l=1;l<n.length;l++)a=a.concat(t({key:r+\\\"[\\\"+l+\\\"]\\\",value:n[l],style:e.style,styleSpec:e.styleSpec}));break;case\\\"has\\\":case\\\"!has\\\":i=zn(n[1]),2!==n.length?a.push(new Tt(r,n,'filter array for \\\"'+n[0]+'\\\" operator must have 2 elements')):\\\"string\\\"!==i&&a.push(new Tt(r+\\\"[1]\\\",n[1],\\\"string expected, \\\"+i+\\\" found\\\"));break;case\\\"within\\\":i=zn(n[1]),2!==n.length?a.push(new Tt(r,n,'filter array for \\\"'+n[0]+'\\\" operator must have 2 elements')):\\\"object\\\"!==i&&a.push(new Tt(r+\\\"[1]\\\",n[1],\\\"object expected, \\\"+i+\\\" found\\\"))}return a}(t)}function hr(t,e){var n=t.key,r=t.style,i=t.styleSpec,o=t.value,a=t.objectKey,s=i[e+\\\"_\\\"+t.layerType];if(!s)return[];var l=a.match(/^(.*)-transition$/);if(\\\"paint\\\"===e&&l&&s[l[1]]&&s[l[1]].transition)return br({key:n,value:o,valueSpec:i.transition,style:r,styleSpec:i});var u,c=t.valueSpec||s[a];if(!c)return[new Tt(n,o,'unknown property \\\"'+a+'\\\"')];if(\\\"string\\\"===zn(o)&&In(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(o)))return[new Tt(n,o,'\\\"'+a+'\\\" does not support interpolation syntax\\\\nUse an identity property function instead: `{ \\\"type\\\": \\\"identity\\\", \\\"property\\\": '+JSON.stringify(u[1])+\\\" }`.\\\")];var h=[];return\\\"symbol\\\"===t.layerType&&(\\\"text-field\\\"===a&&r&&!r.glyphs&&h.push(new Tt(n,o,'use of \\\"text-field\\\" requires a style \\\"glyphs\\\" property')),\\\"text-font\\\"===a&&Rn(It(o))&&\\\"identity\\\"===Ot(o.type)&&h.push(new Tt(n,o,'\\\"text-font\\\" does not support identity functions'))),h.concat(br({key:t.key,value:o,valueSpec:c,style:r,styleSpec:i,expressionContext:\\\"property\\\",propertyType:e,propertyKey:a}))}function pr(t){return hr(t,\\\"paint\\\")}function fr(t){return hr(t,\\\"layout\\\")}function dr(t){var e=[],n=t.value,r=t.key,i=t.style,o=t.styleSpec;n.type||n.ref||e.push(new Tt(r,n,'either \\\"type\\\" or \\\"ref\\\" is required'));var a,s=Ot(n.type),l=Ot(n.ref);if(n.id)for(var u=Ot(n.id),c=0;c<t.arrayIndex;c++){var h=i.layers[c];Ot(h.id)===u&&e.push(new Tt(r,n.id,'duplicate layer id \\\"'+n.id+'\\\", previously used at line '+h.id.__line__))}if(\\\"ref\\\"in n)[\\\"type\\\",\\\"source\\\",\\\"source-layer\\\",\\\"filter\\\",\\\"layout\\\"].forEach((function(t){t in n&&e.push(new Tt(r,n[t],'\\\"'+t+'\\\" is prohibited for ref layers'))})),i.layers.forEach((function(t){Ot(t.id)===l&&(a=t)})),a?a.ref?e.push(new Tt(r,n.ref,\\\"ref cannot reference another ref layer\\\")):s=Ot(a.type):e.push(new Tt(r,n.ref,'ref layer \\\"'+l+'\\\" not found'));else if(\\\"background\\\"!==s)if(n.source){var p=i.sources&&i.sources[n.source],f=p&&Ot(p.type);p?\\\"vector\\\"===f&&\\\"raster\\\"===s?e.push(new Tt(r,n.source,'layer \\\"'+n.id+'\\\" requires a raster source')):\\\"raster\\\"===f&&\\\"raster\\\"!==s?e.push(new Tt(r,n.source,'layer \\\"'+n.id+'\\\" requires a vector source')):\\\"vector\\\"!==f||n[\\\"source-layer\\\"]?\\\"raster-dem\\\"===f&&\\\"hillshade\\\"!==s?e.push(new Tt(r,n.source,\\\"raster-dem source can only be used with layer type 'hillshade'.\\\")):\\\"line\\\"!==s||!n.paint||!n.paint[\\\"line-gradient\\\"]||\\\"geojson\\\"===f&&p.lineMetrics||e.push(new Tt(r,n,'layer \\\"'+n.id+'\\\" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new Tt(r,n,'layer \\\"'+n.id+'\\\" must specify a \\\"source-layer\\\"')):e.push(new Tt(r,n.source,'source \\\"'+n.source+'\\\" not found'))}else e.push(new Tt(r,n,'missing required property \\\"source\\\"'));return e=e.concat(Yn({key:r,value:n,valueSpec:o.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{\\\"*\\\":function(){return[]},type:function(){return br({key:r+\\\".type\\\",value:n.type,valueSpec:o.layer.type,style:t.style,styleSpec:t.styleSpec,object:n,objectKey:\\\"type\\\"})},filter:cr,layout:function(t){return Yn({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{\\\"*\\\":function(t){return fr(kt({layerType:s},t))}}})},paint:function(t){return Yn({layer:n,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{\\\"*\\\":function(t){return pr(kt({layerType:s},t))}}})}}}))}function mr(t){var e=t.value,n=t.key,r=zn(e);return\\\"string\\\"!==r?[new Tt(n,e,\\\"string expected, \\\"+r+\\\" found\\\")]:[]}var vr={promoteId:function(t){var e=t.key,n=t.value;if(\\\"string\\\"===zn(n))return mr({key:e,value:n});var r=[];for(var i in n)r.push.apply(r,mr({key:e+\\\".\\\"+i,value:n[i]}));return r}};function gr(t){var e=t.value,n=t.key,r=t.styleSpec,i=t.style;if(!e.type)return[new Tt(n,e,'\\\"type\\\" is required')];var o,a=Ot(e.type);switch(a){case\\\"vector\\\":case\\\"raster\\\":case\\\"raster-dem\\\":return Yn({key:n,value:e,valueSpec:r[\\\"source_\\\"+a.replace(\\\"-\\\",\\\"_\\\")],style:t.style,styleSpec:r,objectElementValidators:vr});case\\\"geojson\\\":if(o=Yn({key:n,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,objectElementValidators:vr}),e.cluster)for(var s in e.clusterProperties){var l=e.clusterProperties[s],u=l[0],c=\\\"string\\\"==typeof u?[u,[\\\"accumulated\\\"],[\\\"get\\\",s]]:u;o.push.apply(o,Qn({key:n+\\\".\\\"+s+\\\".map\\\",value:l[1],expressionContext:\\\"cluster-map\\\"})),o.push.apply(o,Qn({key:n+\\\".\\\"+s+\\\".reduce\\\",value:c,expressionContext:\\\"cluster-reduce\\\"}))}return o;case\\\"video\\\":return Yn({key:n,value:e,valueSpec:r.source_video,style:i,styleSpec:r});case\\\"image\\\":return Yn({key:n,value:e,valueSpec:r.source_image,style:i,styleSpec:r});case\\\"canvas\\\":return[new Tt(n,null,\\\"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.\\\",\\\"source.canvas\\\")];default:return tr({key:n+\\\".type\\\",value:e.type,valueSpec:{values:[\\\"vector\\\",\\\"raster\\\",\\\"raster-dem\\\",\\\"geojson\\\",\\\"video\\\",\\\"image\\\"]},style:i,styleSpec:r})}}function yr(t){var e=t.value,n=t.styleSpec,r=n.light,i=t.style,o=[],a=zn(e);if(void 0===e)return o;if(\\\"object\\\"!==a)return o.concat([new Tt(\\\"light\\\",e,\\\"object expected, \\\"+a+\\\" found\\\")]);for(var s in e){var l=s.match(/^(.*)-transition$/);o=o.concat(l&&r[l[1]]&&r[l[1]].transition?br({key:s,value:e[s],valueSpec:n.transition,style:i,styleSpec:n}):r[s]?br({key:s,value:e[s],valueSpec:r[s],style:i,styleSpec:n}):[new Tt(s,e[s],'unknown property \\\"'+s+'\\\"')])}return o}var _r={\\\"*\\\":function(){return[]},array:Zn,boolean:function(t){var e=t.value,n=t.key,r=zn(e);return\\\"boolean\\\"!==r?[new Tt(n,e,\\\"boolean expected, \\\"+r+\\\" found\\\")]:[]},number:Kn,color:function(t){var e=t.key,n=t.value,r=zn(n);return\\\"string\\\"!==r?[new Tt(e,n,\\\"color expected, \\\"+r+\\\" found\\\")]:null===Zt(n)?[new Tt(e,n,'color expected, \\\"'+n+'\\\" found')]:[]},constants:St,enum:tr,filter:cr,function:Jn,layer:dr,object:Yn,source:gr,light:yr,string:mr,formatted:function(t){return 0===mr(t).length?[]:Qn(t)},resolvedImage:function(t){return 0===mr(t).length?[]:Qn(t)}};function br(t){var e=t.value,n=t.valueSpec,r=t.styleSpec;return n.expression&&Rn(Ot(e))?Jn(t):n.expression&&qn(It(e))?Qn(t):n.type&&_r[n.type]?_r[n.type](t):Yn(kt({},t,{valueSpec:n.type?r[n.type]:n}))}function xr(t){var e=t.value,n=t.key,r=mr(t);return r.length||(-1===e.indexOf(\\\"{fontstack}\\\")&&r.push(new Tt(n,e,'\\\"glyphs\\\" url must include a \\\"{fontstack}\\\" token')),-1===e.indexOf(\\\"{range}\\\")&&r.push(new Tt(n,e,'\\\"glyphs\\\" url must include a \\\"{range}\\\" token'))),r}function wr(t,e){void 0===e&&(e=Et);var n=[];return n=n.concat(br({key:\\\"\\\",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:xr,\\\"*\\\":function(){return[]}}})),t.constants&&(n=n.concat(St({key:\\\"constants\\\",value:t.constants,style:t,styleSpec:e}))),Ar(n)}function Ar(t){return[].concat(t).sort((function(t,e){return t.line-e.line}))}function Cr(t){return function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return Ar(t.apply(this,e))}}wr.source=Cr(gr),wr.light=Cr(yr),wr.layer=Cr(dr),wr.filter=Cr(cr),wr.paintProperty=Cr(pr),wr.layoutProperty=Cr(fr);var Mr=wr,Er=Mr.light,Tr=Mr.paintProperty,Sr=Mr.layoutProperty;function kr(t,e){var n=!1;if(e&&e.length)for(var r=0,i=e;r<i.length;r+=1)t.fire(new Ct(new Error(i[r].message))),n=!0;return n}var Or=Ir;function Ir(t,e,n){var r=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;var i=new Int32Array(this.arrayBuffer);t=i[0],this.d=(e=i[1])+2*(n=i[2]);for(var o=0;o<this.d*this.d;o++){var a=i[3+o],s=i[3+o+1];r.push(a===s?null:i.subarray(a,s))}var l=i[3+r.length+1];this.keys=i.subarray(i[3+r.length],l),this.bboxes=i.subarray(l),this.insert=this._insertReadonly}else{this.d=e+2*n;for(var u=0;u<this.d*this.d;u++)r.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=t,this.padding=n,this.scale=e/t,this.uid=0;var c=n/e*t;this.min=-c,this.max=t+c}Ir.prototype.insert=function(t,e,n,r,i){this._forEachCell(e,n,r,i,this._insertCell,this.uid++),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(n),this.bboxes.push(r),this.bboxes.push(i)},Ir.prototype._insertReadonly=function(){throw\\\"Cannot insert into a GridIndex created from an ArrayBuffer.\\\"},Ir.prototype._insertCell=function(t,e,n,r,i,o){this.cells[i].push(o)},Ir.prototype.query=function(t,e,n,r,i){var o=this.min,a=this.max;if(t<=o&&e<=o&&a<=n&&a<=r&&!i)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(t,e,n,r,this._queryCell,s,{},i),s},Ir.prototype._queryCell=function(t,e,n,r,i,o,a,s){var l=this.cells[i];if(null!==l)for(var u=this.keys,c=this.bboxes,h=0;h<l.length;h++){var p=l[h];if(void 0===a[p]){var f=4*p;(s?s(c[f+0],c[f+1],c[f+2],c[f+3]):t<=c[f+2]&&e<=c[f+3]&&n>=c[f+0]&&r>=c[f+1])?(a[p]=!0,o.push(u[p])):a[p]=!1}}},Ir.prototype._forEachCell=function(t,e,n,r,i,o,a,s){for(var l=this._convertToCellCoord(t),u=this._convertToCellCoord(e),c=this._convertToCellCoord(n),h=this._convertToCellCoord(r),p=l;p<=c;p++)for(var f=u;f<=h;f++){var d=this.d*f+p;if((!s||s(this._convertFromCellCoord(p),this._convertFromCellCoord(f),this._convertFromCellCoord(p+1),this._convertFromCellCoord(f+1)))&&i.call(this,t,e,n,r,d,o,a,s))return}},Ir.prototype._convertFromCellCoord=function(t){return(t-this.padding)/this.scale},Ir.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},Ir.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=3+this.cells.length+1+1,n=0,r=0;r<this.cells.length;r++)n+=this.cells[r].length;var i=new Int32Array(e+n+this.keys.length+this.bboxes.length);i[0]=this.extent,i[1]=this.n,i[2]=this.padding;for(var o=e,a=0;a<t.length;a++){var s=t[a];i[3+a]=o,i.set(s,o),o+=s.length}return i[3+t.length]=o,i.set(this.keys,o),i[3+t.length+1]=o+=this.keys.length,i.set(this.bboxes,o),o+=this.bboxes.length,i.buffer};var Lr=self.ImageData,Pr=self.ImageBitmap,zr={};function Rr(t,e,n){void 0===n&&(n={}),Object.defineProperty(e,\\\"_classRegistryKey\\\",{value:t,writeable:!1}),zr[t]={klass:e,omit:n.omit||[],shallow:n.shallow||[]}}for(var Dr in Rr(\\\"Object\\\",Object),Or.serialize=function(t,e){var n=t.toArrayBuffer();return e&&e.push(n),{buffer:n}},Or.deserialize=function(t){return new Or(t.buffer)},Rr(\\\"Grid\\\",Or),Rr(\\\"Color\\\",Kt),Rr(\\\"Error\\\",Error),Rr(\\\"ResolvedImage\\\",ee),Rr(\\\"StylePropertyFunction\\\",Xn),Rr(\\\"StyleExpression\\\",Un,{omit:[\\\"_evaluator\\\"]}),Rr(\\\"ZoomDependentExpression\\\",Gn),Rr(\\\"ZoomConstantExpression\\\",Hn),Rr(\\\"CompoundExpression\\\",ve,{omit:[\\\"_evaluate\\\"]}),Cn)Cn[Dr]._classRegistryKey||Rr(\\\"Expression_\\\"+Dr,Cn[Dr]);function $r(t){return t&&\\\"undefined\\\"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&\\\"ArrayBuffer\\\"===t.constructor.name)}function Br(t){return Pr&&t instanceof Pr}function Nr(t,e){if(null==t||\\\"boolean\\\"==typeof t||\\\"number\\\"==typeof t||\\\"string\\\"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp)return t;if($r(t)||Br(t))return e&&e.push(t),t;if(ArrayBuffer.isView(t)){var n=t;return e&&e.push(n.buffer),n}if(t instanceof Lr)return e&&e.push(t.data.buffer),t;if(Array.isArray(t)){for(var r=[],i=0,o=t;i<o.length;i+=1)r.push(Nr(o[i],e));return r}if(\\\"object\\\"==typeof t){var a=t.constructor,s=a._classRegistryKey;if(!s)throw new Error(\\\"can't serialize object of unregistered class\\\");var l=a.serialize?a.serialize(t,e):{};if(!a.serialize){for(var u in t)if(t.hasOwnProperty(u)&&!(zr[s].omit.indexOf(u)>=0)){var c=t[u];l[u]=zr[s].shallow.indexOf(u)>=0?c:Nr(c,e)}t instanceof Error&&(l.message=t.message)}if(l.$name)throw new Error(\\\"$name property is reserved for worker serialization logic.\\\");return\\\"Object\\\"!==s&&(l.$name=s),l}throw new Error(\\\"can't serialize object of type \\\"+typeof t)}function Fr(t){if(null==t||\\\"boolean\\\"==typeof t||\\\"number\\\"==typeof t||\\\"string\\\"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||$r(t)||Br(t)||ArrayBuffer.isView(t)||t instanceof Lr)return t;if(Array.isArray(t))return t.map(Fr);if(\\\"object\\\"==typeof t){var e=t.$name||\\\"Object\\\",n=zr[e].klass;if(!n)throw new Error(\\\"can't deserialize unregistered class \\\"+e);if(n.deserialize)return n.deserialize(t);for(var r=Object.create(n.prototype),i=0,o=Object.keys(t);i<o.length;i+=1){var a=o[i];if(\\\"$name\\\"!==a){var s=t[a];r[a]=zr[e].shallow.indexOf(a)>=0?s:Fr(s)}}return r}throw new Error(\\\"can't deserialize object of type \\\"+typeof t)}var jr=function(){this.first=!0};jr.prototype.update=function(t,e){var n=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=n,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=n,!0):(this.lastFloorZoom>n?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<n&&(this.lastIntegerZoom=n,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=n,!0))};var Ur={\\\"Latin-1 Supplement\\\":function(t){return t>=128&&t<=255},Arabic:function(t){return t>=1536&&t<=1791},\\\"Arabic Supplement\\\":function(t){return t>=1872&&t<=1919},\\\"Arabic Extended-A\\\":function(t){return t>=2208&&t<=2303},\\\"Hangul Jamo\\\":function(t){return t>=4352&&t<=4607},\\\"Unified Canadian Aboriginal Syllabics\\\":function(t){return t>=5120&&t<=5759},Khmer:function(t){return t>=6016&&t<=6143},\\\"Unified Canadian Aboriginal Syllabics Extended\\\":function(t){return t>=6320&&t<=6399},\\\"General Punctuation\\\":function(t){return t>=8192&&t<=8303},\\\"Letterlike Symbols\\\":function(t){return t>=8448&&t<=8527},\\\"Number Forms\\\":function(t){return t>=8528&&t<=8591},\\\"Miscellaneous Technical\\\":function(t){return t>=8960&&t<=9215},\\\"Control Pictures\\\":function(t){return t>=9216&&t<=9279},\\\"Optical Character Recognition\\\":function(t){return t>=9280&&t<=9311},\\\"Enclosed Alphanumerics\\\":function(t){return t>=9312&&t<=9471},\\\"Geometric Shapes\\\":function(t){return t>=9632&&t<=9727},\\\"Miscellaneous Symbols\\\":function(t){return t>=9728&&t<=9983},\\\"Miscellaneous Symbols and Arrows\\\":function(t){return t>=11008&&t<=11263},\\\"CJK Radicals Supplement\\\":function(t){return t>=11904&&t<=12031},\\\"Kangxi Radicals\\\":function(t){return t>=12032&&t<=12255},\\\"Ideographic Description Characters\\\":function(t){return t>=12272&&t<=12287},\\\"CJK Symbols and Punctuation\\\":function(t){return t>=12288&&t<=12351},Hiragana:function(t){return t>=12352&&t<=12447},Katakana:function(t){return t>=12448&&t<=12543},Bopomofo:function(t){return t>=12544&&t<=12591},\\\"Hangul Compatibility Jamo\\\":function(t){return t>=12592&&t<=12687},Kanbun:function(t){return t>=12688&&t<=12703},\\\"Bopomofo Extended\\\":function(t){return t>=12704&&t<=12735},\\\"CJK Strokes\\\":function(t){return t>=12736&&t<=12783},\\\"Katakana Phonetic Extensions\\\":function(t){return t>=12784&&t<=12799},\\\"Enclosed CJK Letters and Months\\\":function(t){return t>=12800&&t<=13055},\\\"CJK Compatibility\\\":function(t){return t>=13056&&t<=13311},\\\"CJK Unified Ideographs Extension A\\\":function(t){return t>=13312&&t<=19903},\\\"Yijing Hexagram Symbols\\\":function(t){return t>=19904&&t<=19967},\\\"CJK Unified Ideographs\\\":function(t){return t>=19968&&t<=40959},\\\"Yi Syllables\\\":function(t){return t>=40960&&t<=42127},\\\"Yi Radicals\\\":function(t){return t>=42128&&t<=42191},\\\"Hangul Jamo Extended-A\\\":function(t){return t>=43360&&t<=43391},\\\"Hangul Syllables\\\":function(t){return t>=44032&&t<=55215},\\\"Hangul Jamo Extended-B\\\":function(t){return t>=55216&&t<=55295},\\\"Private Use Area\\\":function(t){return t>=57344&&t<=63743},\\\"CJK Compatibility Ideographs\\\":function(t){return t>=63744&&t<=64255},\\\"Arabic Presentation Forms-A\\\":function(t){return t>=64336&&t<=65023},\\\"Vertical Forms\\\":function(t){return t>=65040&&t<=65055},\\\"CJK Compatibility Forms\\\":function(t){return t>=65072&&t<=65103},\\\"Small Form Variants\\\":function(t){return t>=65104&&t<=65135},\\\"Arabic Presentation Forms-B\\\":function(t){return t>=65136&&t<=65279},\\\"Halfwidth and Fullwidth Forms\\\":function(t){return t>=65280&&t<=65519}};function qr(t){for(var e=0,n=t;e<n.length;e+=1)if(Vr(n[e].charCodeAt(0)))return!0;return!1}function Vr(t){return!(746!==t&&747!==t&&(t<4352||!(Ur[\\\"Bopomofo Extended\\\"](t)||Ur.Bopomofo(t)||Ur[\\\"CJK Compatibility Forms\\\"](t)&&!(t>=65097&&t<=65103)||Ur[\\\"CJK Compatibility Ideographs\\\"](t)||Ur[\\\"CJK Compatibility\\\"](t)||Ur[\\\"CJK Radicals Supplement\\\"](t)||Ur[\\\"CJK Strokes\\\"](t)||!(!Ur[\\\"CJK Symbols and Punctuation\\\"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||Ur[\\\"CJK Unified Ideographs Extension A\\\"](t)||Ur[\\\"CJK Unified Ideographs\\\"](t)||Ur[\\\"Enclosed CJK Letters and Months\\\"](t)||Ur[\\\"Hangul Compatibility Jamo\\\"](t)||Ur[\\\"Hangul Jamo Extended-A\\\"](t)||Ur[\\\"Hangul Jamo Extended-B\\\"](t)||Ur[\\\"Hangul Jamo\\\"](t)||Ur[\\\"Hangul Syllables\\\"](t)||Ur.Hiragana(t)||Ur[\\\"Ideographic Description Characters\\\"](t)||Ur.Kanbun(t)||Ur[\\\"Kangxi Radicals\\\"](t)||Ur[\\\"Katakana Phonetic Extensions\\\"](t)||Ur.Katakana(t)&&12540!==t||!(!Ur[\\\"Halfwidth and Fullwidth Forms\\\"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||!(!Ur[\\\"Small Form Variants\\\"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||Ur[\\\"Unified Canadian Aboriginal Syllabics\\\"](t)||Ur[\\\"Unified Canadian Aboriginal Syllabics Extended\\\"](t)||Ur[\\\"Vertical Forms\\\"](t)||Ur[\\\"Yijing Hexagram Symbols\\\"](t)||Ur[\\\"Yi Syllables\\\"](t)||Ur[\\\"Yi Radicals\\\"](t))))}function Hr(t){return!(Vr(t)||function(t){return!!(Ur[\\\"Latin-1 Supplement\\\"](t)&&(167===t||169===t||174===t||177===t||188===t||189===t||190===t||215===t||247===t)||Ur[\\\"General Punctuation\\\"](t)&&(8214===t||8224===t||8225===t||8240===t||8241===t||8251===t||8252===t||8258===t||8263===t||8264===t||8265===t||8273===t)||Ur[\\\"Letterlike Symbols\\\"](t)||Ur[\\\"Number Forms\\\"](t)||Ur[\\\"Miscellaneous Technical\\\"](t)&&(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215)||Ur[\\\"Control Pictures\\\"](t)&&9251!==t||Ur[\\\"Optical Character Recognition\\\"](t)||Ur[\\\"Enclosed Alphanumerics\\\"](t)||Ur[\\\"Geometric Shapes\\\"](t)||Ur[\\\"Miscellaneous Symbols\\\"](t)&&!(t>=9754&&t<=9759)||Ur[\\\"Miscellaneous Symbols and Arrows\\\"](t)&&(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243)||Ur[\\\"CJK Symbols and Punctuation\\\"](t)||Ur.Katakana(t)||Ur[\\\"Private Use Area\\\"](t)||Ur[\\\"CJK Compatibility Forms\\\"](t)||Ur[\\\"Small Form Variants\\\"](t)||Ur[\\\"Halfwidth and Fullwidth Forms\\\"](t)||8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)}(t))}function Gr(t){return t>=1424&&t<=2303||Ur[\\\"Arabic Presentation Forms-A\\\"](t)||Ur[\\\"Arabic Presentation Forms-B\\\"](t)}function Wr(t,e){return!(!e&&Gr(t)||t>=2304&&t<=3583||t>=3840&&t<=4255||Ur.Khmer(t))}function Xr(t){for(var e=0,n=t;e<n.length;e+=1)if(Gr(n[e].charCodeAt(0)))return!0;return!1}var Yr=null,Zr=\\\"unavailable\\\",Kr=null,Jr=function(t){t&&\\\"string\\\"==typeof t&&t.indexOf(\\\"NetworkError\\\")>-1&&(Zr=\\\"error\\\"),Yr&&Yr(t)};function Qr(){ti.fire(new At(\\\"pluginStateChange\\\",{pluginStatus:Zr,pluginURL:Kr}))}var ti=new Mt,ei=function(){return Zr},ni=function(){if(\\\"deferred\\\"!==Zr||!Kr)throw new Error(\\\"rtl-text-plugin cannot be downloaded unless a pluginURL is specified\\\");Zr=\\\"loading\\\",Qr(),Kr&&yt({url:Kr},(function(t){t?Jr(t):(Zr=\\\"loaded\\\",Qr())}))},ri={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return\\\"loaded\\\"===Zr||null!=ri.applyArabicShaping},isLoading:function(){return\\\"loading\\\"===Zr},setState:function(t){Zr=t.pluginStatus,Kr=t.pluginURL},isParsed:function(){return null!=ri.applyArabicShaping&&null!=ri.processBidirectionalText&&null!=ri.processStyledBidirectionalText},getPluginURL:function(){return Kr}},ii=function(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new jr,this.transition={})};ii.prototype.isSupportedScript=function(t){return function(t,e){for(var n=0,r=t;n<r.length;n+=1)if(!Wr(r[n].charCodeAt(0),e))return!1;return!0}(t,ri.isLoaded())},ii.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},ii.prototype.getCrossfadeParameters=function(){var t=this.zoom,e=t-Math.floor(t),n=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*n}:{fromScale:.5,toScale:1,t:1-(1-n)*e}};var oi=function(t,e){this.property=t,this.value=e,this.expression=function(t,e){if(Rn(t))return new Xn(t,e);if(qn(t)){var n=Wn(t,e);if(\\\"error\\\"===n.result)throw new Error(n.value.map((function(t){return t.key+\\\": \\\"+t.message})).join(\\\", \\\"));return n.value}var r=t;return\\\"string\\\"==typeof t&&\\\"color\\\"===e.type&&(r=Kt.parse(t)),{kind:\\\"constant\\\",evaluate:function(){return r}}}(void 0===e?t.specification.default:e,t.specification)};oi.prototype.isDataDriven=function(){return\\\"source\\\"===this.expression.kind||\\\"composite\\\"===this.expression.kind},oi.prototype.possiblyEvaluate=function(t,e,n){return this.property.possiblyEvaluate(this,t,e,n)};var ai=function(t){this.property=t,this.value=new oi(t,void 0)};ai.prototype.transitioned=function(t,e){return new li(this.property,this.value,e,c({},t.transition,this.transition),t.now)},ai.prototype.untransitioned=function(){return new li(this.property,this.value,null,{},0)};var si=function(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)};si.prototype.getValue=function(t){return _(this._values[t].value.value)},si.prototype.setValue=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new ai(this._values[t].property)),this._values[t].value=new oi(this._values[t].property,null===e?void 0:_(e))},si.prototype.getTransition=function(t){return _(this._values[t].transition)},si.prototype.setTransition=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new ai(this._values[t].property)),this._values[t].transition=_(e)||void 0},si.prototype.serialize=function(){for(var t={},e=0,n=Object.keys(this._values);e<n.length;e+=1){var r=n[e],i=this.getValue(r);void 0!==i&&(t[r]=i);var o=this.getTransition(r);void 0!==o&&(t[r+\\\"-transition\\\"]=o)}return t},si.prototype.transitioned=function(t,e){for(var n=new ui(this._properties),r=0,i=Object.keys(this._values);r<i.length;r+=1){var o=i[r];n._values[o]=this._values[o].transitioned(t,e._values[o])}return n},si.prototype.untransitioned=function(){for(var t=new ui(this._properties),e=0,n=Object.keys(this._values);e<n.length;e+=1){var r=n[e];t._values[r]=this._values[r].untransitioned()}return t};var li=function(t,e,n,r,i){this.property=t,this.value=e,this.begin=i+r.delay||0,this.end=this.begin+r.duration||0,t.specification.transition&&(r.delay||r.duration)&&(this.prior=n)};li.prototype.possiblyEvaluate=function(t,e,n){var r=t.now||0,i=this.value.possiblyEvaluate(t,e,n),o=this.prior;if(o){if(r>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(r<this.begin)return o.possiblyEvaluate(t,e,n);var a=(r-this.begin)/(this.end-this.begin);return this.property.interpolate(o.possiblyEvaluate(t,e,n),i,function(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}(a))}return i};var ui=function(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)};ui.prototype.possiblyEvaluate=function(t,e,n){for(var r=new pi(this._properties),i=0,o=Object.keys(this._values);i<o.length;i+=1){var a=o[i];r._values[a]=this._values[a].possiblyEvaluate(t,e,n)}return r},ui.prototype.hasTransition=function(){for(var t=0,e=Object.keys(this._values);t<e.length;t+=1)if(this._values[e[t]].prior)return!0;return!1};var ci=function(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues)};ci.prototype.getValue=function(t){return _(this._values[t].value)},ci.prototype.setValue=function(t,e){this._values[t]=new oi(this._values[t].property,null===e?void 0:_(e))},ci.prototype.serialize=function(){for(var t={},e=0,n=Object.keys(this._values);e<n.length;e+=1){var r=n[e],i=this.getValue(r);void 0!==i&&(t[r]=i)}return t},ci.prototype.possiblyEvaluate=function(t,e,n){for(var r=new pi(this._properties),i=0,o=Object.keys(this._values);i<o.length;i+=1){var a=o[i];r._values[a]=this._values[a].possiblyEvaluate(t,e,n)}return r};var hi=function(t,e,n){this.property=t,this.value=e,this.parameters=n};hi.prototype.isConstant=function(){return\\\"constant\\\"===this.value.kind},hi.prototype.constantOr=function(t){return\\\"constant\\\"===this.value.kind?this.value.value:t},hi.prototype.evaluate=function(t,e,n,r){return this.property.evaluate(this.value,this.parameters,t,e,n,r)};var pi=function(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues)};pi.prototype.get=function(t){return this._values[t]};var fi=function(t){this.specification=t};fi.prototype.possiblyEvaluate=function(t,e){return t.expression.evaluate(e)},fi.prototype.interpolate=function(t,e,n){var r=Ue[this.specification.type];return r?r(t,e,n):t};var di=function(t,e){this.specification=t,this.overrides=e};di.prototype.possiblyEvaluate=function(t,e,n,r){return new hi(this,\\\"constant\\\"===t.expression.kind||\\\"camera\\\"===t.expression.kind?{kind:\\\"constant\\\",value:t.expression.evaluate(e,null,{},n,r)}:t.expression,e)},di.prototype.interpolate=function(t,e,n){if(\\\"constant\\\"!==t.value.kind||\\\"constant\\\"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new hi(this,{kind:\\\"constant\\\",value:void 0},t.parameters);var r=Ue[this.specification.type];return r?new hi(this,{kind:\\\"constant\\\",value:r(t.value.value,e.value.value,n)},t.parameters):t},di.prototype.evaluate=function(t,e,n,r,i,o){return\\\"constant\\\"===t.kind?t.value:t.evaluate(e,n,r,i,o)};var mi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.possiblyEvaluate=function(t,e,n,r){if(void 0===t.value)return new hi(this,{kind:\\\"constant\\\",value:void 0},e);if(\\\"constant\\\"===t.expression.kind){var i=t.expression.evaluate(e,null,{},n,r),o=\\\"resolvedImage\\\"===t.property.specification.type&&\\\"string\\\"!=typeof i?i.name:i,a=this._calculate(o,o,o,e);return new hi(this,{kind:\\\"constant\\\",value:a},e)}if(\\\"camera\\\"===t.expression.kind){var s=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new hi(this,{kind:\\\"constant\\\",value:s},e)}return new hi(this,t.expression,e)},e.prototype.evaluate=function(t,e,n,r,i,o){if(\\\"source\\\"===t.kind){var a=t.evaluate(e,n,r,i,o);return this._calculate(a,a,a,e)}return\\\"composite\\\"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},n,r),t.evaluate({zoom:Math.floor(e.zoom)},n,r),t.evaluate({zoom:Math.floor(e.zoom)+1},n,r),e):t.value},e.prototype._calculate=function(t,e,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}},e.prototype.interpolate=function(t){return t},e}(di),vi=function(t){this.specification=t};vi.prototype.possiblyEvaluate=function(t,e,n,r){if(void 0!==t.value){if(\\\"constant\\\"===t.expression.kind){var i=t.expression.evaluate(e,null,{},n,r);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new ii(Math.floor(e.zoom-1),e)),t.expression.evaluate(new ii(Math.floor(e.zoom),e)),t.expression.evaluate(new ii(Math.floor(e.zoom+1),e)),e)}},vi.prototype._calculate=function(t,e,n,r){return r.zoom>r.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}},vi.prototype.interpolate=function(t){return t};var gi=function(t){this.specification=t};gi.prototype.possiblyEvaluate=function(t,e,n,r){return!!t.expression.evaluate(e,null,{},n,r)},gi.prototype.interpolate=function(){return!1};var yi=function(t){for(var e in this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],t){var n=t[e];n.specification.overridable&&this.overridableProperties.push(e);var r=this.defaultPropertyValues[e]=new oi(n,void 0),i=this.defaultTransitionablePropertyValues[e]=new ai(n);this.defaultTransitioningPropertyValues[e]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=r.possiblyEvaluate({})}};Rr(\\\"DataDrivenProperty\\\",di),Rr(\\\"DataConstantProperty\\\",fi),Rr(\\\"CrossFadedDataDrivenProperty\\\",mi),Rr(\\\"CrossFadedProperty\\\",vi),Rr(\\\"ColorRampProperty\\\",gi);var _i=function(t){function e(e,n){if(t.call(this),this.id=e.id,this.type=e.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},\\\"custom\\\"!==e.type&&(this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,\\\"background\\\"!==e.type&&(this.source=e.source,this.sourceLayer=e[\\\"source-layer\\\"],this.filter=e.filter),n.layout&&(this._unevaluatedLayout=new ci(n.layout)),n.paint)){for(var r in this._transitionablePaint=new si(n.paint),e.paint)this.setPaintProperty(r,e.paint[r],{validate:!1});for(var i in e.layout)this.setLayoutProperty(i,e.layout[i],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new pi(n.paint)}}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(t){return\\\"visibility\\\"===t?this.visibility:this._unevaluatedLayout.getValue(t)},e.prototype.setLayoutProperty=function(t,e,n){void 0===n&&(n={}),null!=e&&this._validate(Sr,\\\"layers.\\\"+this.id+\\\".layout.\\\"+t,t,e,n)||(\\\"visibility\\\"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e)},e.prototype.getPaintProperty=function(t){return v(t,\\\"-transition\\\")?this._transitionablePaint.getTransition(t.slice(0,-\\\"-transition\\\".length)):this._transitionablePaint.getValue(t)},e.prototype.setPaintProperty=function(t,e,n){if(void 0===n&&(n={}),null!=e&&this._validate(Tr,\\\"layers.\\\"+this.id+\\\".paint.\\\"+t,t,e,n))return!1;if(v(t,\\\"-transition\\\"))return this._transitionablePaint.setTransition(t.slice(0,-\\\"-transition\\\".length),e||void 0),!1;var r=this._transitionablePaint._values[t],i=\\\"cross-faded-data-driven\\\"===r.property.specification[\\\"property-type\\\"],o=r.value.isDataDriven(),a=r.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);var s=this._transitionablePaint._values[t].value;return s.isDataDriven()||o||i||this._handleOverridablePaintPropertyUpdate(t,a,s)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){},e.prototype._handleOverridablePaintPropertyUpdate=function(t,e,n){return!1},e.prototype.isHidden=function(t){return!!(this.minzoom&&t<this.minzoom)||!!(this.maxzoom&&t>=this.maxzoom)||\\\"none\\\"===this.visibility},e.prototype.updateTransitions=function(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,void 0,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,void 0,e)},e.prototype.serialize=function(){var t={id:this.id,type:this.type,source:this.source,\\\"source-layer\\\":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),y(t,(function(t,e){return!(void 0===t||\\\"layout\\\"===e&&!Object.keys(t).length||\\\"paint\\\"===e&&!Object.keys(t).length)}))},e.prototype._validate=function(t,e,n,r,i){return void 0===i&&(i={}),(!i||!1!==i.validate)&&kr(this,t.call(Mr,{key:e,layerType:this.type,objectKey:n,value:r,styleSpec:Et,style:{glyphs:!0,sprite:!0}}))},e.prototype.is3D=function(){return!1},e.prototype.isTileClipped=function(){return!1},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var t in this.paint._values){var e=this.paint.get(t);if(e instanceof hi&&In(e.property.specification)&&(\\\"source\\\"===e.value.kind||\\\"composite\\\"===e.value.kind)&&e.value.isStateDependent)return!0}return!1},e}(Mt),bi={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},xi=function(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},wi=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function Ai(t,e){void 0===e&&(e=1);var n=0,r=0;return{members:t.map((function(t){var i=bi[t.type].BYTES_PER_ELEMENT,o=n=Ci(n,Math.max(e,i)),a=t.components||1;return r=Math.max(r,i),n+=i*a,{name:t.name,type:t.type,components:a,offset:o}})),size:Ci(n,Math.max(r,e)),alignment:e}}function Ci(t,e){return Math.ceil(t/e)*e}wi.serialize=function(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}},wi.deserialize=function(t){var e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e},wi.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},wi.prototype.clear=function(){this.length=0},wi.prototype.resize=function(t){this.reserve(t),this.length=t},wi.prototype.reserve=function(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}},wi.prototype._refreshViews=function(){throw new Error(\\\"_refreshViews() must be implemented by each concrete StructArray layout\\\")};var Mi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var n=this.length;return this.resize(n+1),this.emplace(n,t,e)},e.prototype.emplace=function(t,e,n){var r=2*t;return this.int16[r+0]=e,this.int16[r+1]=n,t},e}(wi);Mi.prototype.bytesPerElement=4,Rr(\\\"StructArrayLayout2i4\\\",Mi);var Ei=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)},e.prototype.emplace=function(t,e,n,r,i){var o=4*t;return this.int16[o+0]=e,this.int16[o+1]=n,this.int16[o+2]=r,this.int16[o+3]=i,t},e}(wi);Ei.prototype.bytesPerElement=8,Rr(\\\"StructArrayLayout4i8\\\",Ei);var Ti=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,n,r,i,o)},e.prototype.emplace=function(t,e,n,r,i,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=i,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(wi);Ti.prototype.bytesPerElement=12,Rr(\\\"StructArrayLayout2i4i12\\\",Ti);var Si=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,n,r,i,o)},e.prototype.emplace=function(t,e,n,r,i,o,a){var s=4*t,l=8*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.uint8[l+4]=r,this.uint8[l+5]=i,this.uint8[l+6]=o,this.uint8[l+7]=a,t},e}(wi);Si.prototype.bytesPerElement=8,Rr(\\\"StructArrayLayout2i4ub8\\\",Si);var ki=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i,o,a,s,l,u){var c=this.length;return this.resize(c+1),this.emplace(c,t,e,n,r,i,o,a,s,l,u)},e.prototype.emplace=function(t,e,n,r,i,o,a,s,l,u,c){var h=9*t,p=18*t;return this.uint16[h+0]=e,this.uint16[h+1]=n,this.uint16[h+2]=r,this.uint16[h+3]=i,this.uint16[h+4]=o,this.uint16[h+5]=a,this.uint16[h+6]=s,this.uint16[h+7]=l,this.uint8[p+16]=u,this.uint8[p+17]=c,t},e}(wi);ki.prototype.bytesPerElement=18,Rr(\\\"StructArrayLayout8ui2ub18\\\",ki);var Oi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i,o,a,s,l,u,c,h){var p=this.length;return this.resize(p+1),this.emplace(p,t,e,n,r,i,o,a,s,l,u,c,h)},e.prototype.emplace=function(t,e,n,r,i,o,a,s,l,u,c,h,p){var f=12*t;return this.int16[f+0]=e,this.int16[f+1]=n,this.int16[f+2]=r,this.int16[f+3]=i,this.uint16[f+4]=o,this.uint16[f+5]=a,this.uint16[f+6]=s,this.uint16[f+7]=l,this.int16[f+8]=u,this.int16[f+9]=c,this.int16[f+10]=h,this.int16[f+11]=p,t},e}(wi);Oi.prototype.bytesPerElement=24,Rr(\\\"StructArrayLayout4i4ui4i24\\\",Oi);var Ii=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n){var r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)},e.prototype.emplace=function(t,e,n,r){var i=3*t;return this.float32[i+0]=e,this.float32[i+1]=n,this.float32[i+2]=r,t},e}(wi);Ii.prototype.bytesPerElement=12,Rr(\\\"StructArrayLayout3f12\\\",Ii);var Li=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){return this.uint32[1*t+0]=e,t},e}(wi);Li.prototype.bytesPerElement=4,Rr(\\\"StructArrayLayout1ul4\\\",Li);var Pi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i,o,a,s,l){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,n,r,i,o,a,s,l)},e.prototype.emplace=function(t,e,n,r,i,o,a,s,l,u){var c=10*t,h=5*t;return this.int16[c+0]=e,this.int16[c+1]=n,this.int16[c+2]=r,this.int16[c+3]=i,this.int16[c+4]=o,this.int16[c+5]=a,this.uint32[h+3]=s,this.uint16[c+8]=l,this.uint16[c+9]=u,t},e}(wi);Pi.prototype.bytesPerElement=20,Rr(\\\"StructArrayLayout6i1ul2ui20\\\",Pi);var zi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,n,r,i,o)},e.prototype.emplace=function(t,e,n,r,i,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=r,this.int16[s+3]=i,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(wi);zi.prototype.bytesPerElement=12,Rr(\\\"StructArrayLayout2i2i2i12\\\",zi);var Ri=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i){var o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,r,i)},e.prototype.emplace=function(t,e,n,r,i,o){var a=4*t,s=8*t;return this.float32[a+0]=e,this.float32[a+1]=n,this.float32[a+2]=r,this.int16[s+6]=i,this.int16[s+7]=o,t},e}(wi);Ri.prototype.bytesPerElement=16,Rr(\\\"StructArrayLayout2f1f2i16\\\",Ri);var Di=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)},e.prototype.emplace=function(t,e,n,r,i){var o=12*t,a=3*t;return this.uint8[o+0]=e,this.uint8[o+1]=n,this.float32[a+1]=r,this.float32[a+2]=i,t},e}(wi);Di.prototype.bytesPerElement=12,Rr(\\\"StructArrayLayout2ub2f12\\\",Di);var $i=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n){var r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)},e.prototype.emplace=function(t,e,n,r){var i=3*t;return this.uint16[i+0]=e,this.uint16[i+1]=n,this.uint16[i+2]=r,t},e}(wi);$i.prototype.bytesPerElement=6,Rr(\\\"StructArrayLayout3ui6\\\",$i);var Bi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v){var g=this.length;return this.resize(g+1),this.emplace(g,t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v)},e.prototype.emplace=function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g){var y=24*t,_=12*t,b=48*t;return this.int16[y+0]=e,this.int16[y+1]=n,this.uint16[y+2]=r,this.uint16[y+3]=i,this.uint32[_+2]=o,this.uint32[_+3]=a,this.uint32[_+4]=s,this.uint16[y+10]=l,this.uint16[y+11]=u,this.uint16[y+12]=c,this.float32[_+7]=h,this.float32[_+8]=p,this.uint8[b+36]=f,this.uint8[b+37]=d,this.uint8[b+38]=m,this.uint32[_+10]=v,this.int16[y+22]=g,t},e}(wi);Bi.prototype.bytesPerElement=48,Rr(\\\"StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48\\\",Bi);var Ni=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T){var S=this.length;return this.resize(S+1),this.emplace(S,t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T)},e.prototype.emplace=function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S){var k=34*t,O=17*t;return this.int16[k+0]=e,this.int16[k+1]=n,this.int16[k+2]=r,this.int16[k+3]=i,this.int16[k+4]=o,this.int16[k+5]=a,this.int16[k+6]=s,this.int16[k+7]=l,this.uint16[k+8]=u,this.uint16[k+9]=c,this.uint16[k+10]=h,this.uint16[k+11]=p,this.uint16[k+12]=f,this.uint16[k+13]=d,this.uint16[k+14]=m,this.uint16[k+15]=v,this.uint16[k+16]=g,this.uint16[k+17]=y,this.uint16[k+18]=_,this.uint16[k+19]=b,this.uint16[k+20]=x,this.uint16[k+21]=w,this.uint16[k+22]=A,this.uint32[O+12]=C,this.float32[O+13]=M,this.float32[O+14]=E,this.float32[O+15]=T,this.float32[O+16]=S,t},e}(wi);Ni.prototype.bytesPerElement=68,Rr(\\\"StructArrayLayout8i15ui1ul4f68\\\",Ni);var Fi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){return this.float32[1*t+0]=e,t},e}(wi);Fi.prototype.bytesPerElement=4,Rr(\\\"StructArrayLayout1f4\\\",Fi);var ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n){var r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)},e.prototype.emplace=function(t,e,n,r){var i=3*t;return this.int16[i+0]=e,this.int16[i+1]=n,this.int16[i+2]=r,t},e}(wi);ji.prototype.bytesPerElement=6,Rr(\\\"StructArrayLayout3i6\\\",ji);var Ui=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n){var r=this.length;return this.resize(r+1),this.emplace(r,t,e,n)},e.prototype.emplace=function(t,e,n,r){var i=4*t;return this.uint32[2*t+0]=e,this.uint16[i+2]=n,this.uint16[i+3]=r,t},e}(wi);Ui.prototype.bytesPerElement=8,Rr(\\\"StructArrayLayout1ul2ui8\\\",Ui);var qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var n=this.length;return this.resize(n+1),this.emplace(n,t,e)},e.prototype.emplace=function(t,e,n){var r=2*t;return this.uint16[r+0]=e,this.uint16[r+1]=n,t},e}(wi);qi.prototype.bytesPerElement=4,Rr(\\\"StructArrayLayout2ui4\\\",qi);var Vi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){return this.uint16[1*t+0]=e,t},e}(wi);Vi.prototype.bytesPerElement=2,Rr(\\\"StructArrayLayout1ui2\\\",Vi);var Hi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var n=this.length;return this.resize(n+1),this.emplace(n,t,e)},e.prototype.emplace=function(t,e,n){var r=2*t;return this.float32[r+0]=e,this.float32[r+1]=n,t},e}(wi);Hi.prototype.bytesPerElement=8,Rr(\\\"StructArrayLayout2f8\\\",Hi);var Gi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,n,r)},e.prototype.emplace=function(t,e,n,r,i){var o=4*t;return this.float32[o+0]=e,this.float32[o+1]=n,this.float32[o+2]=r,this.float32[o+3]=i,t},e}(wi);Gi.prototype.bytesPerElement=16,Rr(\\\"StructArrayLayout4f16\\\",Gi);var Wi=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return n.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},n.x1.get=function(){return this._structArray.int16[this._pos2+2]},n.y1.get=function(){return this._structArray.int16[this._pos2+3]},n.x2.get=function(){return this._structArray.int16[this._pos2+4]},n.y2.get=function(){return this._structArray.int16[this._pos2+5]},n.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},n.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},n.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},n.anchorPoint.get=function(){return new i(this.anchorPointX,this.anchorPointY)},Object.defineProperties(e.prototype,n),e}(xi);Wi.prototype.size=20;var Xi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(t){return new Wi(this,t)},e}(Pi);Rr(\\\"CollisionBoxArray\\\",Xi);var Yi=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return n.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},n.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},n.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},n.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},n.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},n.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},n.segment.get=function(){return this._structArray.uint16[this._pos2+10]},n.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},n.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},n.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},n.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},n.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},n.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},n.placedOrientation.set=function(t){this._structArray.uint8[this._pos1+37]=t},n.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},n.hidden.set=function(t){this._structArray.uint8[this._pos1+38]=t},n.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},n.crossTileID.set=function(t){this._structArray.uint32[this._pos4+10]=t},n.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(e.prototype,n),e}(xi);Yi.prototype.size=48;var Zi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(t){return new Yi(this,t)},e}(Bi);Rr(\\\"PlacedSymbolArray\\\",Zi);var Ki=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return n.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},n.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},n.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},n.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},n.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},n.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},n.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},n.key.get=function(){return this._structArray.uint16[this._pos2+8]},n.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},n.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},n.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},n.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},n.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},n.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},n.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},n.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},n.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},n.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},n.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},n.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},n.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},n.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},n.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},n.crossTileID.set=function(t){this._structArray.uint32[this._pos4+12]=t},n.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},n.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},n.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},n.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(e.prototype,n),e}(xi);Ki.prototype.size=68;var Ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(t){return new Ki(this,t)},e}(Ni);Rr(\\\"SymbolInstanceArray\\\",Ji);var Qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getoffsetX=function(t){return this.float32[1*t+0]},e}(Fi);Rr(\\\"GlyphOffsetArray\\\",Qi);var to=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getx=function(t){return this.int16[3*t+0]},e.prototype.gety=function(t){return this.int16[3*t+1]},e.prototype.gettileUnitDistanceFromAnchor=function(t){return this.int16[3*t+2]},e}(ji);Rr(\\\"SymbolLineVertexArray\\\",to);var eo=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return n.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},n.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},n.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(e.prototype,n),e}(xi);eo.prototype.size=8;var no=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.get=function(t){return new eo(this,t)},e}(Ui);Rr(\\\"FeatureIndexArray\\\",no);var ro=Ai([{name:\\\"a_pos\\\",components:2,type:\\\"Int16\\\"}],4).members,io=function(t){void 0===t&&(t=[]),this.segments=t};function oo(t,e){return 256*(t=l(Math.floor(t),0,255))+l(Math.floor(e),0,255)}io.prototype.prepareSegment=function(t,e,n,r){var i=this.segments[this.segments.length-1];return t>io.MAX_VERTEX_ARRAY_LENGTH&&x(\\\"Max vertices per segment is \\\"+io.MAX_VERTEX_ARRAY_LENGTH+\\\": bucket requested \\\"+t),(!i||i.vertexLength+t>io.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==r)&&(i={vertexOffset:e.length,primitiveOffset:n.length,vertexLength:0,primitiveLength:0},void 0!==r&&(i.sortKey=r),this.segments.push(i)),i},io.prototype.get=function(){return this.segments},io.prototype.destroy=function(){for(var t=0,e=this.segments;t<e.length;t+=1){var n=e[t];for(var r in n.vaos)n.vaos[r].destroy()}},io.simpleSegment=function(t,e,n,r){return new io([{vertexOffset:t,primitiveOffset:e,vertexLength:n,primitiveLength:r,vaos:{},sortKey:0}])},io.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,Rr(\\\"SegmentVector\\\",io);var ao=Ai([{name:\\\"a_pattern_from\\\",components:4,type:\\\"Uint16\\\"},{name:\\\"a_pattern_to\\\",components:4,type:\\\"Uint16\\\"},{name:\\\"a_pixel_ratio_from\\\",components:1,type:\\\"Uint8\\\"},{name:\\\"a_pixel_ratio_to\\\",components:1,type:\\\"Uint8\\\"}]),so=e((function(t){t.exports=function(t,e){var n,r,i,o,a,s,l,u;for(r=t.length-(n=3&t.length),i=e,a=3432918353,s=461845907,u=0;u<r;)l=255&t.charCodeAt(u)|(255&t.charCodeAt(++u))<<8|(255&t.charCodeAt(++u))<<16|(255&t.charCodeAt(++u))<<24,++u,i=27492+(65535&(o=5*(65535&(i=(i^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&t.charCodeAt(u+2))<<16;case 2:l^=(255&t.charCodeAt(u+1))<<8;case 1:i^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return i^=t.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}})),lo=e((function(t){t.exports=function(t,e){for(var n,r=t.length,i=e^r,o=0;r>=4;)n=1540483477*(65535&(n=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(n>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:i^=(255&t.charCodeAt(o+2))<<16;case 2:i^=(255&t.charCodeAt(o+1))<<8;case 1:i=1540483477*(65535&(i^=255&t.charCodeAt(o)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0}})),uo=so,co=lo;uo.murmur3=so,uo.murmur2=co;var ho=function(){this.ids=[],this.positions=[],this.indexed=!1};ho.prototype.add=function(t,e,n,r){this.ids.push(fo(t)),this.positions.push(e,n,r)},ho.prototype.getPositions=function(t){for(var e=fo(t),n=0,r=this.ids.length-1;n<r;){var i=n+r>>1;this.ids[i]>=e?r=i:n=i+1}for(var o=[];this.ids[n]===e;)o.push({index:this.positions[3*n],start:this.positions[3*n+1],end:this.positions[3*n+2]}),n++;return o},ho.serialize=function(t,e){var n=new Float64Array(t.ids),r=new Uint32Array(t.positions);return function t(e,n,r,i){for(;r<i;){for(var o=e[r+i>>1],a=r-1,s=i+1;;){do{a++}while(e[a]<o);do{s--}while(e[s]>o);if(a>=s)break;mo(e,a,s),mo(n,3*a,3*s),mo(n,3*a+1,3*s+1),mo(n,3*a+2,3*s+2)}s-r<i-s?(t(e,n,r,s),r=s+1):(t(e,n,s+1,i),i=s)}}(n,r,0,n.length-1),e&&e.push(n.buffer,r.buffer),{ids:n,positions:r}},ho.deserialize=function(t){var e=new ho;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e};var po=Math.pow(2,53)-1;function fo(t){var e=+t;return!isNaN(e)&&e<=po?e:uo(String(t))}function mo(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}Rr(\\\"FeaturePositionMap\\\",ho);var vo=function(t,e){this.gl=t.gl,this.location=e},go=function(t){function e(e,n){t.call(this,e,n),this.current=0}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1i(this.location,t))},e}(vo),yo=function(t){function e(e,n){t.call(this,e,n),this.current=0}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1f(this.location,t))},e}(vo),_o=function(t){function e(e,n){t.call(this,e,n),this.current=[0,0]}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]))},e}(vo),bo=function(t){function e(e,n){t.call(this,e,n),this.current=[0,0,0]}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]))},e}(vo),xo=function(t){function e(e,n){t.call(this,e,n),this.current=[0,0,0,0]}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]&&t[3]===this.current[3]||(this.current=t,this.gl.uniform4f(this.location,t[0],t[1],t[2],t[3]))},e}(vo),wo=function(t){function e(e,n){t.call(this,e,n),this.current=Kt.transparent}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.set=function(t){t.r===this.current.r&&t.g===this.current.g&&t.b===this.current.b&&t.a===this.current.a||(this.current=t,this.gl.uniform4f(this.location,t.r,t.g,t.b,t.a))},e}(vo),Ao=new Float32Array(16),Co=function(t){function e(e,n){t.call(this,e,n),this.current=Ao}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.set=function(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(var e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}},e}(vo);function Mo(t){return[oo(255*t.r,255*t.g),oo(255*t.b,255*t.a)]}var Eo=function(t,e,n){this.value=t,this.uniformNames=e.map((function(t){return\\\"u_\\\"+t})),this.type=n};Eo.prototype.setUniform=function(t,e,n){t.set(n.constantOr(this.value))},Eo.prototype.getBinding=function(t,e,n){return\\\"color\\\"===this.type?new wo(t,e):new yo(t,e)};var To=function(t,e){this.uniformNames=e.map((function(t){return\\\"u_\\\"+t})),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1};To.prototype.setConstantPatternPositions=function(t,e){this.pixelRatioFrom=e.pixelRatio,this.pixelRatioTo=t.pixelRatio,this.patternFrom=e.tlbr,this.patternTo=t.tlbr},To.prototype.setUniform=function(t,e,n,r){var i=\\\"u_pattern_to\\\"===r?this.patternTo:\\\"u_pattern_from\\\"===r?this.patternFrom:\\\"u_pixel_ratio_to\\\"===r?this.pixelRatioTo:\\\"u_pixel_ratio_from\\\"===r?this.pixelRatioFrom:null;i&&t.set(i)},To.prototype.getBinding=function(t,e,n){return\\\"u_pattern\\\"===n.substr(0,9)?new xo(t,e):new yo(t,e)};var So=function(t,e,n,r){this.expression=t,this.type=n,this.maxValue=0,this.paintVertexAttributes=e.map((function(t){return{name:\\\"a_\\\"+t,type:\\\"Float32\\\",components:\\\"color\\\"===n?2:1,offset:0}})),this.paintVertexArray=new r};So.prototype.populatePaintArray=function(t,e,n,r,i){var o=this.paintVertexArray.length,a=this.expression.evaluate(new ii(0),e,{},r,[],i);this.paintVertexArray.resize(t),this._setPaintValue(o,t,a)},So.prototype.updatePaintArray=function(t,e,n,r){var i=this.expression.evaluate({zoom:0},n,r);this._setPaintValue(t,e,i)},So.prototype._setPaintValue=function(t,e,n){if(\\\"color\\\"===this.type)for(var r=Mo(n),i=t;i<e;i++)this.paintVertexArray.emplace(i,r[0],r[1]);else{for(var o=t;o<e;o++)this.paintVertexArray.emplace(o,n);this.maxValue=Math.max(this.maxValue,Math.abs(n))}},So.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},So.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()};var ko=function(t,e,n,r,i,o){this.expression=t,this.uniformNames=e.map((function(t){return\\\"u_\\\"+t+\\\"_t\\\"})),this.type=n,this.useIntegerZoom=r,this.zoom=i,this.maxValue=0,this.paintVertexAttributes=e.map((function(t){return{name:\\\"a_\\\"+t,type:\\\"Float32\\\",components:\\\"color\\\"===n?4:2,offset:0}})),this.paintVertexArray=new o};ko.prototype.populatePaintArray=function(t,e,n,r,i){var o=this.expression.evaluate(new ii(this.zoom),e,{},r,[],i),a=this.expression.evaluate(new ii(this.zoom+1),e,{},r,[],i),s=this.paintVertexArray.length;this.paintVertexArray.resize(t),this._setPaintValue(s,t,o,a)},ko.prototype.updatePaintArray=function(t,e,n,r){var i=this.expression.evaluate({zoom:this.zoom},n,r),o=this.expression.evaluate({zoom:this.zoom+1},n,r);this._setPaintValue(t,e,i,o)},ko.prototype._setPaintValue=function(t,e,n,r){if(\\\"color\\\"===this.type)for(var i=Mo(n),o=Mo(r),a=t;a<e;a++)this.paintVertexArray.emplace(a,i[0],i[1],o[0],o[1]);else{for(var s=t;s<e;s++)this.paintVertexArray.emplace(s,n,r);this.maxValue=Math.max(this.maxValue,Math.abs(n),Math.abs(r))}},ko.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},ko.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},ko.prototype.setUniform=function(t,e){var n=this.useIntegerZoom?Math.floor(e.zoom):e.zoom,r=l(this.expression.interpolationFactor(n,this.zoom,this.zoom+1),0,1);t.set(r)},ko.prototype.getBinding=function(t,e,n){return new yo(t,e)};var Oo=function(t,e,n,r,i,o){this.expression=t,this.type=e,this.useIntegerZoom=n,this.zoom=r,this.layerId=o,this.zoomInPaintVertexArray=new i,this.zoomOutPaintVertexArray=new i};Oo.prototype.populatePaintArray=function(t,e,n){var r=this.zoomInPaintVertexArray.length;this.zoomInPaintVertexArray.resize(t),this.zoomOutPaintVertexArray.resize(t),this._setPaintValues(r,t,e.patterns&&e.patterns[this.layerId],n)},Oo.prototype.updatePaintArray=function(t,e,n,r,i){this._setPaintValues(t,e,n.patterns&&n.patterns[this.layerId],i)},Oo.prototype._setPaintValues=function(t,e,n,r){if(r&&n){var i=r[n.min],o=r[n.mid],a=r[n.max];if(i&&o&&a)for(var s=t;s<e;s++)this.zoomInPaintVertexArray.emplace(s,o.tl[0],o.tl[1],o.br[0],o.br[1],i.tl[0],i.tl[1],i.br[0],i.br[1],o.pixelRatio,i.pixelRatio),this.zoomOutPaintVertexArray.emplace(s,o.tl[0],o.tl[1],o.br[0],o.br[1],a.tl[0],a.tl[1],a.br[0],a.br[1],o.pixelRatio,a.pixelRatio)}},Oo.prototype.upload=function(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,ao.members,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,ao.members,this.expression.isStateDependent))},Oo.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()};var Io=function(t,e,n,r){this.binders={},this.layoutAttributes=r,this._buffers=[];var i=[];for(var o in t.paint._values)if(n(o)){var a=t.paint.get(o);if(a instanceof hi&&In(a.property.specification)){var s=Po(o,t.type),l=a.value,u=a.property.specification.type,c=a.property.useIntegerZoom,h=a.property.specification[\\\"property-type\\\"],p=\\\"cross-faded\\\"===h||\\\"cross-faded-data-driven\\\"===h;if(\\\"constant\\\"===l.kind)this.binders[o]=p?new To(l.value,s):new Eo(l.value,s,u),i.push(\\\"/u_\\\"+o);else if(\\\"source\\\"===l.kind||p){var f=zo(o,u,\\\"source\\\");this.binders[o]=p?new Oo(l,u,c,e,f,t.id):new So(l,s,u,f),i.push(\\\"/a_\\\"+o)}else{var d=zo(o,u,\\\"composite\\\");this.binders[o]=new ko(l,s,u,c,e,d),i.push(\\\"/z_\\\"+o)}}}this.cacheKey=i.sort().join(\\\"\\\")};Io.prototype.getMaxValue=function(t){var e=this.binders[t];return e instanceof So||e instanceof ko?e.maxValue:0},Io.prototype.populatePaintArrays=function(t,e,n,r,i){for(var o in this.binders){var a=this.binders[o];(a instanceof So||a instanceof ko||a instanceof Oo)&&a.populatePaintArray(t,e,n,r,i)}},Io.prototype.setConstantPatternPositions=function(t,e){for(var n in this.binders){var r=this.binders[n];r instanceof To&&r.setConstantPatternPositions(t,e)}},Io.prototype.updatePaintArrays=function(t,e,n,r,i){var o=!1;for(var a in t)for(var s=0,l=e.getPositions(a);s<l.length;s+=1){var u=l[s],c=n.feature(u.index);for(var h in this.binders){var p=this.binders[h];if((p instanceof So||p instanceof ko||p instanceof Oo)&&!0===p.expression.isStateDependent){var f=r.paint.get(h);p.expression=f.value,p.updatePaintArray(u.start,u.end,c,t[a],i),o=!0}}}return o},Io.prototype.defines=function(){var t=[];for(var e in this.binders){var n=this.binders[e];(n instanceof Eo||n instanceof To)&&t.push.apply(t,n.uniformNames.map((function(t){return\\\"#define HAS_UNIFORM_\\\"+t})))}return t},Io.prototype.getPaintVertexBuffers=function(){return this._buffers},Io.prototype.getUniforms=function(t,e){var n=[];for(var r in this.binders){var i=this.binders[r];if(i instanceof Eo||i instanceof To||i instanceof ko)for(var o=0,a=i.uniformNames;o<a.length;o+=1){var s=a[o];if(e[s]){var l=i.getBinding(t,e[s],s);n.push({name:s,property:r,binding:l})}}}return n},Io.prototype.setUniforms=function(t,e,n,r){for(var i=0,o=e;i<o.length;i+=1){var a=o[i],s=a.name,l=a.property;this.binders[l].setUniform(a.binding,r,n.get(l),s)}},Io.prototype.updatePaintBuffers=function(t){for(var e in this._buffers=[],this.binders){var n=this.binders[e];if(t&&n instanceof Oo){var r=2===t.fromScale?n.zoomInPaintVertexBuffer:n.zoomOutPaintVertexBuffer;r&&this._buffers.push(r)}else(n instanceof So||n instanceof ko)&&n.paintVertexBuffer&&this._buffers.push(n.paintVertexBuffer)}},Io.prototype.upload=function(t){for(var e in this.binders){var n=this.binders[e];(n instanceof So||n instanceof ko||n instanceof Oo)&&n.upload(t)}this.updatePaintBuffers()},Io.prototype.destroy=function(){for(var t in this.binders){var e=this.binders[t];(e instanceof So||e instanceof ko||e instanceof Oo)&&e.destroy()}};var Lo=function(t,e,n,r){void 0===r&&(r=function(){return!0}),this.programConfigurations={};for(var i=0,o=e;i<o.length;i+=1){var a=o[i];this.programConfigurations[a.id]=new Io(a,n,r,t)}this.needsUpload=!1,this._featureMap=new ho,this._bufferOffset=0};function Po(t,e){return{\\\"text-opacity\\\":[\\\"opacity\\\"],\\\"icon-opacity\\\":[\\\"opacity\\\"],\\\"text-color\\\":[\\\"fill_color\\\"],\\\"icon-color\\\":[\\\"fill_color\\\"],\\\"text-halo-color\\\":[\\\"halo_color\\\"],\\\"icon-halo-color\\\":[\\\"halo_color\\\"],\\\"text-halo-blur\\\":[\\\"halo_blur\\\"],\\\"icon-halo-blur\\\":[\\\"halo_blur\\\"],\\\"text-halo-width\\\":[\\\"halo_width\\\"],\\\"icon-halo-width\\\":[\\\"halo_width\\\"],\\\"line-gap-width\\\":[\\\"gapwidth\\\"],\\\"line-pattern\\\":[\\\"pattern_to\\\",\\\"pattern_from\\\",\\\"pixel_ratio_to\\\",\\\"pixel_ratio_from\\\"],\\\"fill-pattern\\\":[\\\"pattern_to\\\",\\\"pattern_from\\\",\\\"pixel_ratio_to\\\",\\\"pixel_ratio_from\\\"],\\\"fill-extrusion-pattern\\\":[\\\"pattern_to\\\",\\\"pattern_from\\\",\\\"pixel_ratio_to\\\",\\\"pixel_ratio_from\\\"]}[t]||[t.replace(e+\\\"-\\\",\\\"\\\").replace(/-/g,\\\"_\\\")]}function zo(t,e,n){var r={color:{source:Hi,composite:Gi},number:{source:Fi,composite:Hi}},i=function(t){return{\\\"line-pattern\\\":{source:ki,composite:ki},\\\"fill-pattern\\\":{source:ki,composite:ki},\\\"fill-extrusion-pattern\\\":{source:ki,composite:ki}}[t]}(t);return i&&i[n]||r[e][n]}Lo.prototype.populatePaintArrays=function(t,e,n,r,i,o){for(var a in this.programConfigurations)this.programConfigurations[a].populatePaintArrays(t,e,r,i,o);void 0!==e.id&&this._featureMap.add(e.id,n,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0},Lo.prototype.updatePaintArrays=function(t,e,n,r){for(var i=0,o=n;i<o.length;i+=1){var a=o[i];this.needsUpload=this.programConfigurations[a.id].updatePaintArrays(t,this._featureMap,e,a,r)||this.needsUpload}},Lo.prototype.get=function(t){return this.programConfigurations[t]},Lo.prototype.upload=function(t){if(this.needsUpload){for(var e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1}},Lo.prototype.destroy=function(){for(var t in this.programConfigurations)this.programConfigurations[t].destroy()},Rr(\\\"ConstantBinder\\\",Eo),Rr(\\\"CrossFadedConstantBinder\\\",To),Rr(\\\"SourceExpressionBinder\\\",So),Rr(\\\"CrossFadedCompositeBinder\\\",Oo),Rr(\\\"CompositeExpressionBinder\\\",ko),Rr(\\\"ProgramConfiguration\\\",Io,{omit:[\\\"_buffers\\\"]}),Rr(\\\"ProgramConfigurationSet\\\",Lo);var Ro={min:-1*Math.pow(2,14),max:Math.pow(2,14)-1};function Do(t){for(var e=8192/t.extent,n=t.loadGeometry(),r=0;r<n.length;r++)for(var i=n[r],o=0;o<i.length;o++){var a=i[o];a.x=Math.round(a.x*e),a.y=Math.round(a.y*e),(a.x<Ro.min||a.x>Ro.max||a.y<Ro.min||a.y>Ro.max)&&(x(\\\"Geometry exceeds allowed extent, reduce your vector tile buffer size\\\"),a.x=l(a.x,Ro.min,Ro.max),a.y=l(a.y,Ro.min,Ro.max))}return n}function $o(t,e,n,r,i){t.emplaceBack(2*e+(r+1)/2,2*n+(i+1)/2)}var Bo=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Mi,this.indexArray=new $i,this.segments=new io,this.programConfigurations=new Lo(ro,t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function No(t,e){for(var n=0;n<t.length;n++)if(Xo(e,t[n]))return!0;for(var r=0;r<e.length;r++)if(Xo(t,e[r]))return!0;return!!qo(t,e)}function Fo(t,e,n){return!!Xo(t,e)||!!Ho(e,t,n)}function jo(t,e){if(1===t.length)return Wo(e,t[0]);for(var n=0;n<e.length;n++)for(var r=e[n],i=0;i<r.length;i++)if(Xo(t,r[i]))return!0;for(var o=0;o<t.length;o++)if(Wo(e,t[o]))return!0;for(var a=0;a<e.length;a++)if(qo(t,e[a]))return!0;return!1}function Uo(t,e,n){if(t.length>1){if(qo(t,e))return!0;for(var r=0;r<e.length;r++)if(Ho(e[r],t,n))return!0}for(var i=0;i<t.length;i++)if(Ho(t[i],e,n))return!0;return!1}function qo(t,e){if(0===t.length||0===e.length)return!1;for(var n=0;n<t.length-1;n++)for(var r=t[n],i=t[n+1],o=0;o<e.length-1;o++)if(Vo(r,i,e[o],e[o+1]))return!0;return!1}function Vo(t,e,n,r){return w(t,n,r)!==w(e,n,r)&&w(t,e,n)!==w(t,e,r)}function Ho(t,e,n){var r=n*n;if(1===e.length)return t.distSqr(e[0])<r;for(var i=1;i<e.length;i++)if(Go(t,e[i-1],e[i])<r)return!0;return!1}function Go(t,e,n){var r=e.distSqr(n);if(0===r)return t.distSqr(e);var i=((t.x-e.x)*(n.x-e.x)+(t.y-e.y)*(n.y-e.y))/r;return t.distSqr(i<0?e:i>1?n:n.sub(e)._mult(i)._add(e))}function Wo(t,e){for(var n,r,i,o=!1,a=0;a<t.length;a++)for(var s=0,l=(n=t[a]).length-1;s<n.length;l=s++)(r=n[s]).y>e.y!=(i=n[l]).y>e.y&&e.x<(i.x-r.x)*(e.y-r.y)/(i.y-r.y)+r.x&&(o=!o);return o}function Xo(t,e){for(var n=!1,r=0,i=t.length-1;r<t.length;i=r++){var o=t[r],a=t[i];o.y>e.y!=a.y>e.y&&e.x<(a.x-o.x)*(e.y-o.y)/(a.y-o.y)+o.x&&(n=!n)}return n}function Yo(t,e,n){var r=n[0],i=n[2];if(t.x<r.x&&e.x<r.x||t.x>i.x&&e.x>i.x||t.y<r.y&&e.y<r.y||t.y>i.y&&e.y>i.y)return!1;var o=w(t,e,n[0]);return o!==w(t,e,n[1])||o!==w(t,e,n[2])||o!==w(t,e,n[3])}function Zo(t,e,n){var r=e.paint.get(t).value;return\\\"constant\\\"===r.kind?r.value:n.programConfigurations.get(e.id).getMaxValue(t)}function Ko(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Jo(t,e,n,r,o){if(!e[0]&&!e[1])return t;var a=i.convert(e)._mult(o);\\\"viewport\\\"===n&&a._rotate(-r);for(var s=[],l=0;l<t.length;l++)s.push(t[l].sub(a));return s}Bo.prototype.populate=function(t,e,n){var r=this.layers[0],i=[],o=null;\\\"circle\\\"===r.type&&(o=r.layout.get(\\\"circle-sort-key\\\"));for(var a=0,s=t;a<s.length;a+=1){var l=s[a],u=l.feature,c=l.id,h=l.index,p=l.sourceLayerIndex,f=this.layers[0]._featureFilter.needGeometry,d={type:u.type,id:c,properties:u.properties,geometry:f?Do(u):[]};if(this.layers[0]._featureFilter.filter(new ii(this.zoom),d,n)){f||(d.geometry=Do(u));var m=o?o.evaluate(d,{},n):void 0;i.push({id:c,properties:u.properties,type:u.type,sourceLayerIndex:p,index:h,geometry:d.geometry,patterns:{},sortKey:m})}}o&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var v=0,g=i;v<g.length;v+=1){var y=g[v],_=y.geometry,b=y.index,x=y.sourceLayerIndex,w=t[b].feature;this.addFeature(y,_,b,n),e.featureIndex.insert(w,_,b,x,this.index)}},Bo.prototype.update=function(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,n)},Bo.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Bo.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Bo.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ro),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},Bo.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Bo.prototype.addFeature=function(t,e,n,r){for(var i=0,o=e;i<o.length;i+=1)for(var a=0,s=o[i];a<s.length;a+=1){var l=s[a],u=l.x,c=l.y;if(!(u<0||u>=8192||c<0||c>=8192)){var h=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,t.sortKey),p=h.vertexLength;$o(this.layoutVertexArray,u,c,-1,-1),$o(this.layoutVertexArray,u,c,1,-1),$o(this.layoutVertexArray,u,c,1,1),$o(this.layoutVertexArray,u,c,-1,1),this.indexArray.emplaceBack(p,p+1,p+2),this.indexArray.emplaceBack(p,p+3,p+2),h.vertexLength+=4,h.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{},r)},Rr(\\\"CircleBucket\\\",Bo,{omit:[\\\"layers\\\"]});var Qo=new yi({\\\"circle-sort-key\\\":new di(Et.layout_circle[\\\"circle-sort-key\\\"])}),ta={paint:new yi({\\\"circle-radius\\\":new di(Et.paint_circle[\\\"circle-radius\\\"]),\\\"circle-color\\\":new di(Et.paint_circle[\\\"circle-color\\\"]),\\\"circle-blur\\\":new di(Et.paint_circle[\\\"circle-blur\\\"]),\\\"circle-opacity\\\":new di(Et.paint_circle[\\\"circle-opacity\\\"]),\\\"circle-translate\\\":new fi(Et.paint_circle[\\\"circle-translate\\\"]),\\\"circle-translate-anchor\\\":new fi(Et.paint_circle[\\\"circle-translate-anchor\\\"]),\\\"circle-pitch-scale\\\":new fi(Et.paint_circle[\\\"circle-pitch-scale\\\"]),\\\"circle-pitch-alignment\\\":new fi(Et.paint_circle[\\\"circle-pitch-alignment\\\"]),\\\"circle-stroke-width\\\":new di(Et.paint_circle[\\\"circle-stroke-width\\\"]),\\\"circle-stroke-color\\\":new di(Et.paint_circle[\\\"circle-stroke-color\\\"]),\\\"circle-stroke-opacity\\\":new di(Et.paint_circle[\\\"circle-stroke-opacity\\\"])}),layout:Qo},ea=\\\"undefined\\\"!=typeof Float32Array?Float32Array:Array;function na(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function ra(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],m=e[12],v=e[13],g=e[14],y=e[15],_=n[0],b=n[1],x=n[2],w=n[3];return t[0]=_*r+b*s+x*h+w*m,t[1]=_*i+b*l+x*p+w*v,t[2]=_*o+b*u+x*f+w*g,t[3]=_*a+b*c+x*d+w*y,t[4]=(_=n[4])*r+(b=n[5])*s+(x=n[6])*h+(w=n[7])*m,t[5]=_*i+b*l+x*p+w*v,t[6]=_*o+b*u+x*f+w*g,t[7]=_*a+b*c+x*d+w*y,t[8]=(_=n[8])*r+(b=n[9])*s+(x=n[10])*h+(w=n[11])*m,t[9]=_*i+b*l+x*p+w*v,t[10]=_*o+b*u+x*f+w*g,t[11]=_*a+b*c+x*d+w*y,t[12]=(_=n[12])*r+(b=n[13])*s+(x=n[14])*h+(w=n[15])*m,t[13]=_*i+b*l+x*p+w*v,t[14]=_*o+b*u+x*f+w*g,t[15]=_*a+b*c+x*d+w*y,t}Math.hypot||(Math.hypot=function(){for(var t=arguments,e=0,n=arguments.length;n--;)e+=t[n]*t[n];return Math.sqrt(e)});var ia,oa=ra;function aa(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,t}ia=new ea(3),ea!=Float32Array&&(ia[0]=0,ia[1]=0,ia[2]=0),function(){var t=new ea(4);ea!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0)}();var sa=(function(){var t=new ea(2);ea!=Float32Array&&(t[0]=0,t[1]=0)}(),function(t){function e(e){t.call(this,e,ta)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createBucket=function(t){return new Bo(t)},e.prototype.queryRadius=function(t){var e=t;return Zo(\\\"circle-radius\\\",this,e)+Zo(\\\"circle-stroke-width\\\",this,e)+Ko(this.paint.get(\\\"circle-translate\\\"))},e.prototype.queryIntersectsFeature=function(t,e,n,r,i,o,a,s){for(var l=Jo(t,this.paint.get(\\\"circle-translate\\\"),this.paint.get(\\\"circle-translate-anchor\\\"),o.angle,a),u=this.paint.get(\\\"circle-radius\\\").evaluate(e,n)+this.paint.get(\\\"circle-stroke-width\\\").evaluate(e,n),c=\\\"map\\\"===this.paint.get(\\\"circle-pitch-alignment\\\"),h=c?l:function(t,e){return t.map((function(t){return la(t,e)}))}(l,s),p=c?u*a:u,f=0,d=r;f<d.length;f+=1)for(var m=0,v=d[f];m<v.length;m+=1){var g=v[m],y=c?g:la(g,s),_=p,b=aa([],[g.x,g.y,0,1],s);if(\\\"viewport\\\"===this.paint.get(\\\"circle-pitch-scale\\\")&&\\\"map\\\"===this.paint.get(\\\"circle-pitch-alignment\\\")?_*=b[3]/o.cameraToCenterDistance:\\\"map\\\"===this.paint.get(\\\"circle-pitch-scale\\\")&&\\\"viewport\\\"===this.paint.get(\\\"circle-pitch-alignment\\\")&&(_*=o.cameraToCenterDistance/b[3]),Fo(h,y,_))return!0}return!1},e}(_i));function la(t,e){var n=aa([],[t.x,t.y,0,1],e);return new i(n[0]/n[3],n[1]/n[3])}var ua=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(Bo);function ca(t,e,n,r){var i=e.width,o=e.height;if(r){if(r instanceof Uint8ClampedArray)r=new Uint8Array(r.buffer);else if(r.length!==i*o*n)throw new RangeError(\\\"mismatched image size\\\")}else r=new Uint8Array(i*o*n);return t.width=i,t.height=o,t.data=r,t}function ha(t,e,n){var r=e.width,i=e.height;if(r!==t.width||i!==t.height){var o=ca({},{width:r,height:i},n);pa(t,o,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,r),height:Math.min(t.height,i)},n),t.width=r,t.height=i,t.data=o.data}}function pa(t,e,n,r,i,o){if(0===i.width||0===i.height)return e;if(i.width>t.width||i.height>t.height||n.x>t.width-i.width||n.y>t.height-i.height)throw new RangeError(\\\"out of range source coordinates for image copy\\\");if(i.width>e.width||i.height>e.height||r.x>e.width-i.width||r.y>e.height-i.height)throw new RangeError(\\\"out of range destination coordinates for image copy\\\");for(var a=t.data,s=e.data,l=0;l<i.height;l++)for(var u=((n.y+l)*t.width+n.x)*o,c=((r.y+l)*e.width+r.x)*o,h=0;h<i.width*o;h++)s[c+h]=a[u+h];return e}Rr(\\\"HeatmapBucket\\\",ua,{omit:[\\\"layers\\\"]});var fa=function(t,e){ca(this,t,1,e)};fa.prototype.resize=function(t){ha(this,t,1)},fa.prototype.clone=function(){return new fa({width:this.width,height:this.height},new Uint8Array(this.data))},fa.copy=function(t,e,n,r,i){pa(t,e,n,r,i,1)};var da=function(t,e){ca(this,t,4,e)};da.prototype.resize=function(t){ha(this,t,4)},da.prototype.replace=function(t,e){e?this.data.set(t):this.data=t instanceof Uint8ClampedArray?new Uint8Array(t.buffer):t},da.prototype.clone=function(){return new da({width:this.width,height:this.height},new Uint8Array(this.data))},da.copy=function(t,e,n,r,i){pa(t,e,n,r,i,4)},Rr(\\\"AlphaImage\\\",fa),Rr(\\\"RGBAImage\\\",da);var ma={paint:new yi({\\\"heatmap-radius\\\":new di(Et.paint_heatmap[\\\"heatmap-radius\\\"]),\\\"heatmap-weight\\\":new di(Et.paint_heatmap[\\\"heatmap-weight\\\"]),\\\"heatmap-intensity\\\":new fi(Et.paint_heatmap[\\\"heatmap-intensity\\\"]),\\\"heatmap-color\\\":new gi(Et.paint_heatmap[\\\"heatmap-color\\\"]),\\\"heatmap-opacity\\\":new fi(Et.paint_heatmap[\\\"heatmap-opacity\\\"])})};function va(t,e){for(var n=new Uint8Array(1024),r={},i=0,o=0;i<256;i++,o+=4){r[e]=i/255;var a=t.evaluate(r);n[o+0]=Math.floor(255*a.r/a.a),n[o+1]=Math.floor(255*a.g/a.a),n[o+2]=Math.floor(255*a.b/a.a),n[o+3]=Math.floor(255*a.a)}return new da({width:256,height:1},n)}var ga=function(t){function e(e){t.call(this,e,ma),this._updateColorRamp()}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createBucket=function(t){return new ua(t)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){\\\"heatmap-color\\\"===t&&this._updateColorRamp()},e.prototype._updateColorRamp=function(){this.colorRamp=va(this._transitionablePaint._values[\\\"heatmap-color\\\"].value.expression,\\\"heatmapDensity\\\"),this.colorRampTexture=null},e.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get(\\\"heatmap-opacity\\\")&&\\\"none\\\"!==this.visibility},e}(_i),ya={paint:new yi({\\\"hillshade-illumination-direction\\\":new fi(Et.paint_hillshade[\\\"hillshade-illumination-direction\\\"]),\\\"hillshade-illumination-anchor\\\":new fi(Et.paint_hillshade[\\\"hillshade-illumination-anchor\\\"]),\\\"hillshade-exaggeration\\\":new fi(Et.paint_hillshade[\\\"hillshade-exaggeration\\\"]),\\\"hillshade-shadow-color\\\":new fi(Et.paint_hillshade[\\\"hillshade-shadow-color\\\"]),\\\"hillshade-highlight-color\\\":new fi(Et.paint_hillshade[\\\"hillshade-highlight-color\\\"]),\\\"hillshade-accent-color\\\":new fi(Et.paint_hillshade[\\\"hillshade-accent-color\\\"])})},_a=function(t){function e(e){t.call(this,e,ya)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get(\\\"hillshade-exaggeration\\\")&&\\\"none\\\"!==this.visibility},e}(_i),ba=Ai([{name:\\\"a_pos\\\",components:2,type:\\\"Int16\\\"}],4).members,xa=Aa,wa=Aa;function Aa(t,e,n){n=n||2;var r,i,o,a,s,l,u,c=e&&e.length,h=c?e[0]*n:t.length,p=Ca(t,0,h,n,!0),f=[];if(!p||p.next===p.prev)return f;if(c&&(p=function(t,e,n,r){var i,o,a,s=[];for(i=0,o=e.length;i<o;i++)(a=Ca(t,e[i]*r,i<o-1?e[i+1]*r:t.length,r,!1))===a.next&&(a.steiner=!0),s.push(Ra(a));for(s.sort(Ia),i=0;i<s.length;i++)La(s[i],n),n=Ma(n,n.next);return n}(t,e,p,n)),t.length>80*n){r=o=t[0],i=a=t[1];for(var d=n;d<h;d+=n)(s=t[d])<r&&(r=s),(l=t[d+1])<i&&(i=l),s>o&&(o=s),l>a&&(a=l);u=0!==(u=Math.max(o-r,a-i))?1/u:0}return Ea(p,f,n,r,i,u),f}function Ca(t,e,n,r,i){var o,a;if(i===Xa(t,e,n,r)>0)for(o=e;o<n;o+=r)a=Ha(o,t[o],t[o+1],a);else for(o=n-r;o>=e;o-=r)a=Ha(o,t[o],t[o+1],a);return a&&Na(a,a.next)&&(Ga(a),a=a.next),a}function Ma(t,e){if(!t)return t;e||(e=t);var n,r=t;do{if(n=!1,r.steiner||!Na(r,r.next)&&0!==Ba(r.prev,r,r.next))r=r.next;else{if(Ga(r),(r=e=r.prev)===r.next)break;n=!0}}while(n||r!==e);return e}function Ea(t,e,n,r,i,o,a){if(t){!a&&o&&function(t,e,n,r){var i=t;do{null===i.z&&(i.z=za(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,r,i,o,a,s,l,u=1;do{for(n=t,t=null,o=null,a=0;n;){for(a++,r=n,s=0,e=0;e<u&&(s++,r=r.nextZ);e++);for(l=u;s>0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;n=r}o.nextZ=null,u*=2}while(a>1)}(i)}(t,r,i,o);for(var s,l,u=t;t.prev!==t.next;)if(s=t.prev,l=t.next,o?Sa(t,r,i,o):Ta(t))e.push(s.i/n),e.push(t.i/n),e.push(l.i/n),Ga(t),t=l.next,u=l.next;else if((t=l)===u){a?1===a?Ea(t=ka(Ma(t),e,n),e,n,r,i,o,2):2===a&&Oa(t,e,n,r,i,o):Ea(Ma(t),e,n,r,i,o,1);break}}}function Ta(t){var e=t.prev,n=t,r=t.next;if(Ba(e,n,r)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(Da(e.x,e.y,n.x,n.y,r.x,r.y,i.x,i.y)&&Ba(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function Sa(t,e,n,r){var i=t.prev,o=t,a=t.next;if(Ba(i,o,a)>=0)return!1;for(var s=i.x>o.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,l=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,u=za(i.x<o.x?i.x<a.x?i.x:a.x:o.x<a.x?o.x:a.x,i.y<o.y?i.y<a.y?i.y:a.y:o.y<a.y?o.y:a.y,e,n,r),c=za(s,l,e,n,r),h=t.prevZ,p=t.nextZ;h&&h.z>=u&&p&&p.z<=c;){if(h!==t.prev&&h!==t.next&&Da(i.x,i.y,o.x,o.y,a.x,a.y,h.x,h.y)&&Ba(h.prev,h,h.next)>=0)return!1;if(h=h.prevZ,p!==t.prev&&p!==t.next&&Da(i.x,i.y,o.x,o.y,a.x,a.y,p.x,p.y)&&Ba(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(;h&&h.z>=u;){if(h!==t.prev&&h!==t.next&&Da(i.x,i.y,o.x,o.y,a.x,a.y,h.x,h.y)&&Ba(h.prev,h,h.next)>=0)return!1;h=h.prevZ}for(;p&&p.z<=c;){if(p!==t.prev&&p!==t.next&&Da(i.x,i.y,o.x,o.y,a.x,a.y,p.x,p.y)&&Ba(p.prev,p,p.next)>=0)return!1;p=p.nextZ}return!0}function ka(t,e,n){var r=t;do{var i=r.prev,o=r.next.next;!Na(i,o)&&Fa(i,r,r.next,o)&&qa(i,o)&&qa(o,i)&&(e.push(i.i/n),e.push(r.i/n),e.push(o.i/n),Ga(r),Ga(r.next),r=t=o),r=r.next}while(r!==t);return Ma(r)}function Oa(t,e,n,r,i,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&$a(a,s)){var l=Va(a,s);return a=Ma(a,a.next),l=Ma(l,l.next),Ea(a,e,n,r,i,o),void Ea(l,e,n,r,i,o)}s=s.next}a=a.next}while(a!==t)}function Ia(t,e){return t.x-e.x}function La(t,e){if(e=function(t,e){var n,r=e,i=t.x,o=t.y,a=-1/0;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var s=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(s<=i&&s>a){if(a=s,s===i){if(o===r.y)return r;if(o===r.next.y)return r.next}n=r.x<r.next.x?r:r.next}}r=r.next}while(r!==e);if(!n)return null;if(i===a)return n;var l,u=n,c=n.x,h=n.y,p=1/0;r=n;do{i>=r.x&&r.x>=c&&i!==r.x&&Da(o<h?i:a,o,c,h,o<h?a:i,o,r.x,r.y)&&(l=Math.abs(o-r.y)/(i-r.x),qa(r,t)&&(l<p||l===p&&(r.x>n.x||r.x===n.x&&Pa(n,r)))&&(n=r,p=l)),r=r.next}while(r!==u);return n}(t,e)){var n=Va(e,t);Ma(e,e.next),Ma(n,n.next)}}function Pa(t,e){return Ba(t.prev,t,e.prev)<0&&Ba(e.next,t,t.next)<0}function za(t,e,n,r,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Ra(t){var e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function Da(t,e,n,r,i,o,a,s){return(i-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(r-s)-(n-a)*(e-s)>=0&&(n-a)*(o-s)-(i-a)*(r-s)>=0}function $a(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&Fa(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(qa(t,e)&&qa(e,t)&&function(t,e){var n=t,r=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==t);return r}(t,e)&&(Ba(t.prev,t,e.prev)||Ba(t,e.prev,e))||Na(t,e)&&Ba(t.prev,t,t.next)>0&&Ba(e.prev,e,e.next)>0)}function Ba(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function Na(t,e){return t.x===e.x&&t.y===e.y}function Fa(t,e,n,r){var i=Ua(Ba(t,e,n)),o=Ua(Ba(t,e,r)),a=Ua(Ba(n,r,t)),s=Ua(Ba(n,r,e));return i!==o&&a!==s||!(0!==i||!ja(t,n,e))||!(0!==o||!ja(t,r,e))||!(0!==a||!ja(n,t,r))||!(0!==s||!ja(n,e,r))}function ja(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function Ua(t){return t>0?1:t<0?-1:0}function qa(t,e){return Ba(t.prev,t,t.next)<0?Ba(t,e,t.next)>=0&&Ba(t,t.prev,e)>=0:Ba(t,e,t.prev)<0||Ba(t,t.next,e)<0}function Va(t,e){var n=new Wa(t.i,t.x,t.y),r=new Wa(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function Ha(t,e,n,r){var i=new Wa(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function Ga(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Wa(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function Xa(t,e,n,r){for(var i=0,o=e,a=n-r;o<n;o+=r)i+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return i}function Ya(t,e,n,r,i){!function t(e,n,r,i,o){for(;i>r;){if(i-r>600){var a=i-r+1,s=n-r+1,l=Math.log(a),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(a-u)/a)*(s-a/2<0?-1:1);t(e,n,Math.max(r,Math.floor(n-s*u/a+c)),Math.min(i,Math.floor(n+(a-s)*u/a+c)),o)}var h=e[n],p=r,f=i;for(Za(e,r,n),o(e[i],h)>0&&Za(e,r,i);p<f;){for(Za(e,p,f),p++,f--;o(e[p],h)<0;)p++;for(;o(e[f],h)>0;)f--}0===o(e[r],h)?Za(e,r,f):Za(e,++f,i),f<=n&&(r=f+1),n<=f&&(i=f-1)}}(t,e,n||0,r||t.length-1,i||Ka)}function Za(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function Ka(t,e){return t<e?-1:t>e?1:0}function Ja(t,e){var n=t.length;if(n<=1)return[t];for(var r,i,o=[],a=0;a<n;a++){var s=A(t[a]);0!==s&&(t[a].area=Math.abs(s),void 0===i&&(i=s<0),i===s<0?(r&&o.push(r),r=[t[a]]):r.push(t[a]))}if(r&&o.push(r),e>1)for(var l=0;l<o.length;l++)o[l].length<=e||(Ya(o[l],e,1,o[l].length-1,Qa),o[l]=o[l].slice(0,e));return o}function Qa(t,e){return e.area-t.area}function ts(t,e,n){for(var r=n.patternDependencies,i=!1,o=0,a=e;o<a.length;o+=1){var s=a[o].paint.get(t+\\\"-pattern\\\");s.isConstant()||(i=!0);var l=s.constantOr(null);l&&(i=!0,r[l.to]=!0,r[l.from]=!0)}return i}function es(t,e,n,r,i){for(var o=i.patternDependencies,a=0,s=e;a<s.length;a+=1){var l=s[a],u=l.paint.get(t+\\\"-pattern\\\").value;if(\\\"constant\\\"!==u.kind){var c=u.evaluate({zoom:r-1},n,{},i.availableImages),h=u.evaluate({zoom:r},n,{},i.availableImages),p=u.evaluate({zoom:r+1},n,{},i.availableImages);h=h&&h.name?h.name:h,p=p&&p.name?p.name:p,o[c=c&&c.name?c.name:c]=!0,o[h]=!0,o[p]=!0,n.patterns[l.id]={min:c,mid:h,max:p}}}return n}Aa.deviation=function(t,e,n,r){var i=e&&e.length,o=Math.abs(Xa(t,0,i?e[0]*n:t.length,n));if(i)for(var a=0,s=e.length;a<s;a++)o-=Math.abs(Xa(t,e[a]*n,a<s-1?e[a+1]*n:t.length,n));var l=0;for(a=0;a<r.length;a+=3){var u=r[a]*n,c=r[a+1]*n,h=r[a+2]*n;l+=Math.abs((t[u]-t[h])*(t[c+1]-t[u+1])-(t[u]-t[c])*(t[h+1]-t[u+1]))}return 0===o&&0===l?0:Math.abs((l-o)/o)},Aa.flatten=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},r=0,i=0;i<t.length;i++){for(var o=0;o<t[i].length;o++)for(var a=0;a<e;a++)n.vertices.push(t[i][o][a]);i>0&&n.holes.push(r+=t[i-1].length)}return n},xa.default=wa;var ns=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Mi,this.indexArray=new $i,this.indexArray2=new qi,this.programConfigurations=new Lo(ba,t.layers,t.zoom),this.segments=new io,this.segments2=new io,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};ns.prototype.populate=function(t,e,n){this.hasPattern=ts(\\\"fill\\\",this.layers,e);for(var r=this.layers[0].layout.get(\\\"fill-sort-key\\\"),i=[],o=0,a=t;o<a.length;o+=1){var s=a[o],l=s.feature,u=s.id,c=s.index,h=s.sourceLayerIndex,p=this.layers[0]._featureFilter.needGeometry,f={type:l.type,id:u,properties:l.properties,geometry:p?Do(l):[]};if(this.layers[0]._featureFilter.filter(new ii(this.zoom),f,n)){p||(f.geometry=Do(l));var d=r?r.evaluate(f,{},n,e.availableImages):void 0;i.push({id:u,properties:l.properties,type:l.type,sourceLayerIndex:h,index:c,geometry:f.geometry,patterns:{},sortKey:d})}}r&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var m=0,v=i;m<v.length;m+=1){var g=v[m],y=g.geometry,_=g.index,b=g.sourceLayerIndex;if(this.hasPattern){var x=es(\\\"fill\\\",this.layers,g,this.zoom,e);this.patternFeatures.push(x)}else this.addFeature(g,y,_,n,{});e.featureIndex.insert(t[_].feature,y,_,b,this.index)}},ns.prototype.update=function(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,n)},ns.prototype.addFeatures=function(t,e,n){for(var r=0,i=this.patternFeatures;r<i.length;r+=1){var o=i[r];this.addFeature(o,o.geometry,o.index,e,n)}},ns.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ns.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ns.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ba),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0},ns.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},ns.prototype.addFeature=function(t,e,n,r,i){for(var o=0,a=Ja(e,500);o<a.length;o+=1){for(var s=a[o],l=0,u=0,c=s;u<c.length;u+=1)l+=c[u].length;for(var h=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray),p=h.vertexLength,f=[],d=[],m=0,v=s;m<v.length;m+=1){var g=v[m];if(0!==g.length){g!==s[0]&&d.push(f.length/2);var y=this.segments2.prepareSegment(g.length,this.layoutVertexArray,this.indexArray2),_=y.vertexLength;this.layoutVertexArray.emplaceBack(g[0].x,g[0].y),this.indexArray2.emplaceBack(_+g.length-1,_),f.push(g[0].x),f.push(g[0].y);for(var b=1;b<g.length;b++)this.layoutVertexArray.emplaceBack(g[b].x,g[b].y),this.indexArray2.emplaceBack(_+b-1,_+b),f.push(g[b].x),f.push(g[b].y);y.vertexLength+=g.length,y.primitiveLength+=g.length}}for(var x=xa(f,d),w=0;w<x.length;w+=3)this.indexArray.emplaceBack(p+x[w],p+x[w+1],p+x[w+2]);h.vertexLength+=l,h.primitiveLength+=x.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,i,r)},Rr(\\\"FillBucket\\\",ns,{omit:[\\\"layers\\\",\\\"patternFeatures\\\"]});var rs=new yi({\\\"fill-sort-key\\\":new di(Et.layout_fill[\\\"fill-sort-key\\\"])}),is={paint:new yi({\\\"fill-antialias\\\":new fi(Et.paint_fill[\\\"fill-antialias\\\"]),\\\"fill-opacity\\\":new di(Et.paint_fill[\\\"fill-opacity\\\"]),\\\"fill-color\\\":new di(Et.paint_fill[\\\"fill-color\\\"]),\\\"fill-outline-color\\\":new di(Et.paint_fill[\\\"fill-outline-color\\\"]),\\\"fill-translate\\\":new fi(Et.paint_fill[\\\"fill-translate\\\"]),\\\"fill-translate-anchor\\\":new fi(Et.paint_fill[\\\"fill-translate-anchor\\\"]),\\\"fill-pattern\\\":new mi(Et.paint_fill[\\\"fill-pattern\\\"])}),layout:rs},os=function(t){function e(e){t.call(this,e,is)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.recalculate=function(e,n){t.prototype.recalculate.call(this,e,n);var r=this.paint._values[\\\"fill-outline-color\\\"];\\\"constant\\\"===r.value.kind&&void 0===r.value.value&&(this.paint._values[\\\"fill-outline-color\\\"]=this.paint._values[\\\"fill-color\\\"])},e.prototype.createBucket=function(t){return new ns(t)},e.prototype.queryRadius=function(){return Ko(this.paint.get(\\\"fill-translate\\\"))},e.prototype.queryIntersectsFeature=function(t,e,n,r,i,o,a){return jo(Jo(t,this.paint.get(\\\"fill-translate\\\"),this.paint.get(\\\"fill-translate-anchor\\\"),o.angle,a),r)},e.prototype.isTileClipped=function(){return!0},e}(_i),as=Ai([{name:\\\"a_pos\\\",components:2,type:\\\"Int16\\\"},{name:\\\"a_normal_ed\\\",components:4,type:\\\"Int16\\\"}],4).members,ss=ls;function ls(t,e,n,r,i){this.properties={},this.extent=n,this.type=0,this._pbf=t,this._geometry=-1,this._keys=r,this._values=i,t.readFields(us,this,e)}function us(t,e,n){1==t?e.id=n.readVarint():2==t?function(t,e){for(var n=t.readVarint()+t.pos;t.pos<n;){var r=e._keys[t.readVarint()],i=e._values[t.readVarint()];e.properties[r]=i}}(n,e):3==t?e.type=n.readVarint():4==t&&(e._geometry=n.pos)}function cs(t){for(var e,n,r=0,i=0,o=t.length,a=o-1;i<o;a=i++)r+=((n=t[a]).x-(e=t[i]).x)*(e.y+n.y);return r}ls.types=[\\\"Unknown\\\",\\\"Point\\\",\\\"LineString\\\",\\\"Polygon\\\"],ls.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,n=t.readVarint()+t.pos,r=1,o=0,a=0,s=0,l=[];t.pos<n;){if(o<=0){var u=t.readVarint();r=7&u,o=u>>3}if(o--,1===r||2===r)a+=t.readSVarint(),s+=t.readSVarint(),1===r&&(e&&l.push(e),e=[]),e.push(new i(a,s));else{if(7!==r)throw new Error(\\\"unknown command \\\"+r);e&&e.push(e[0].clone())}}return e&&l.push(e),l},ls.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,n=1,r=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;t.pos<e;){if(r<=0){var c=t.readVarint();n=7&c,r=c>>3}if(r--,1===n||2===n)(i+=t.readSVarint())<a&&(a=i),i>s&&(s=i),(o+=t.readSVarint())<l&&(l=o),o>u&&(u=o);else if(7!==n)throw new Error(\\\"unknown command \\\"+n)}return[a,l,s,u]},ls.prototype.toGeoJSON=function(t,e,n){var r,i,o=this.extent*Math.pow(2,n),a=this.extent*t,s=this.extent*e,l=this.loadGeometry(),u=ls.types[this.type];function c(t){for(var e=0;e<t.length;e++){var n=t[e];t[e]=[360*(n.x+a)/o-180,360/Math.PI*Math.atan(Math.exp((180-360*(n.y+s)/o)*Math.PI/180))-90]}}switch(this.type){case 1:var h=[];for(r=0;r<l.length;r++)h[r]=l[r][0];c(l=h);break;case 2:for(r=0;r<l.length;r++)c(l[r]);break;case 3:for(l=function(t){var e=t.length;if(e<=1)return[t];for(var n,r,i=[],o=0;o<e;o++){var a=cs(t[o]);0!==a&&(void 0===r&&(r=a<0),r===a<0?(n&&i.push(n),n=[t[o]]):n.push(t[o]))}return n&&i.push(n),i}(l),r=0;r<l.length;r++)for(i=0;i<l[r].length;i++)c(l[r][i])}1===l.length?l=l[0]:u=\\\"Multi\\\"+u;var p={type:\\\"Feature\\\",geometry:{type:u,coordinates:l},properties:this.properties};return\\\"id\\\"in this&&(p.id=this.id),p};var hs=ps;function ps(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(fs,this,e),this.length=this._features.length}function fs(t,e,n){15===t?e.version=n.readVarint():1===t?e.name=n.readString():5===t?e.extent=n.readVarint():2===t?e._features.push(n.pos):3===t?e._keys.push(n.readString()):4===t&&e._values.push(function(t){for(var e=null,n=t.readVarint()+t.pos;t.pos<n;){var r=t.readVarint()>>3;e=1===r?t.readString():2===r?t.readFloat():3===r?t.readDouble():4===r?t.readVarint64():5===r?t.readVarint():6===r?t.readSVarint():7===r?t.readBoolean():null}return e}(n))}function ds(t,e,n){if(3===t){var r=new hs(n,n.readVarint()+n.pos);r.length&&(e[r.name]=r)}}ps.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error(\\\"feature index out of bounds\\\");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new ss(this._pbf,e,this.extent,this._keys,this._values)};var ms={VectorTile:function(t,e){this.layers=t.readFields(ds,{},e)},VectorTileFeature:ss,VectorTileLayer:hs},vs=ms.VectorTileFeature.types,gs=Math.pow(2,13);function ys(t,e,n,r,i,o,a,s){t.emplaceBack(e,n,2*Math.floor(r*gs)+a,i*gs*2,o*gs*2,Math.round(s))}var _s=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Ti,this.indexArray=new $i,this.programConfigurations=new Lo(as,t.layers,t.zoom),this.segments=new io,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function bs(t,e){return t.x===e.x&&(t.x<0||t.x>8192)||t.y===e.y&&(t.y<0||t.y>8192)}_s.prototype.populate=function(t,e,n){this.features=[],this.hasPattern=ts(\\\"fill-extrusion\\\",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var o=i[r],a=o.feature,s=o.id,l=o.index,u=o.sourceLayerIndex,c=this.layers[0]._featureFilter.needGeometry,h={type:a.type,id:s,properties:a.properties,geometry:c?Do(a):[]};if(this.layers[0]._featureFilter.filter(new ii(this.zoom),h,n)){var p={id:s,sourceLayerIndex:u,index:l,geometry:c?h.geometry:Do(a),properties:a.properties,type:a.type,patterns:{}};void 0!==a.id&&(p.id=a.id),this.hasPattern?this.features.push(es(\\\"fill-extrusion\\\",this.layers,p,this.zoom,e)):this.addFeature(p,p.geometry,l,n,{}),e.featureIndex.insert(a,p.geometry,l,u,this.index,!0)}}},_s.prototype.addFeatures=function(t,e,n){for(var r=0,i=this.features;r<i.length;r+=1){var o=i[r];this.addFeature(o,o.geometry,o.index,e,n)}},_s.prototype.update=function(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,n)},_s.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},_s.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},_s.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,as),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},_s.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},_s.prototype.addFeature=function(t,e,n,r,i){for(var o=0,a=Ja(e,500);o<a.length;o+=1){for(var s=a[o],l=0,u=0,c=s;u<c.length;u+=1)l+=c[u].length;for(var h=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),p=0,f=s;p<f.length;p+=1){var d=f[p];if(0!==d.length&&!((L=d).every((function(t){return t.x<0}))||L.every((function(t){return t.x>8192}))||L.every((function(t){return t.y<0}))||L.every((function(t){return t.y>8192}))))for(var m=0,v=0;v<d.length;v++){var g=d[v];if(v>=1){var y=d[v-1];if(!bs(g,y)){h.vertexLength+4>io.MAX_VERTEX_ARRAY_LENGTH&&(h=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var _=g.sub(y)._perp()._unit(),b=y.dist(g);m+b>32768&&(m=0),ys(this.layoutVertexArray,g.x,g.y,_.x,_.y,0,0,m),ys(this.layoutVertexArray,g.x,g.y,_.x,_.y,0,1,m),ys(this.layoutVertexArray,y.x,y.y,_.x,_.y,0,0,m+=b),ys(this.layoutVertexArray,y.x,y.y,_.x,_.y,0,1,m);var x=h.vertexLength;this.indexArray.emplaceBack(x,x+2,x+1),this.indexArray.emplaceBack(x+1,x+2,x+3),h.vertexLength+=4,h.primitiveLength+=2}}}}if(h.vertexLength+l>io.MAX_VERTEX_ARRAY_LENGTH&&(h=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray)),\\\"Polygon\\\"===vs[t.type]){for(var w=[],A=[],C=h.vertexLength,M=0,E=s;M<E.length;M+=1){var T=E[M];if(0!==T.length){T!==s[0]&&A.push(w.length/2);for(var S=0;S<T.length;S++){var k=T[S];ys(this.layoutVertexArray,k.x,k.y,0,0,1,1,0),w.push(k.x),w.push(k.y)}}}for(var O=xa(w,A),I=0;I<O.length;I+=3)this.indexArray.emplaceBack(C+O[I],C+O[I+2],C+O[I+1]);h.primitiveLength+=O.length/3,h.vertexLength+=l}}var L;this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,i,r)},Rr(\\\"FillExtrusionBucket\\\",_s,{omit:[\\\"layers\\\",\\\"features\\\"]});var xs={paint:new yi({\\\"fill-extrusion-opacity\\\":new fi(Et[\\\"paint_fill-extrusion\\\"][\\\"fill-extrusion-opacity\\\"]),\\\"fill-extrusion-color\\\":new di(Et[\\\"paint_fill-extrusion\\\"][\\\"fill-extrusion-color\\\"]),\\\"fill-extrusion-translate\\\":new fi(Et[\\\"paint_fill-extrusion\\\"][\\\"fill-extrusion-translate\\\"]),\\\"fill-extrusion-translate-anchor\\\":new fi(Et[\\\"paint_fill-extrusion\\\"][\\\"fill-extrusion-translate-anchor\\\"]),\\\"fill-extrusion-pattern\\\":new mi(Et[\\\"paint_fill-extrusion\\\"][\\\"fill-extrusion-pattern\\\"]),\\\"fill-extrusion-height\\\":new di(Et[\\\"paint_fill-extrusion\\\"][\\\"fill-extrusion-height\\\"]),\\\"fill-extrusion-base\\\":new di(Et[\\\"paint_fill-extrusion\\\"][\\\"fill-extrusion-base\\\"]),\\\"fill-extrusion-vertical-gradient\\\":new fi(Et[\\\"paint_fill-extrusion\\\"][\\\"fill-extrusion-vertical-gradient\\\"])})},ws=function(t){function e(e){t.call(this,e,xs)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.createBucket=function(t){return new _s(t)},e.prototype.queryRadius=function(){return Ko(this.paint.get(\\\"fill-extrusion-translate\\\"))},e.prototype.is3D=function(){return!0},e.prototype.queryIntersectsFeature=function(t,e,n,r,o,a,s,l){var u=Jo(t,this.paint.get(\\\"fill-extrusion-translate\\\"),this.paint.get(\\\"fill-extrusion-translate-anchor\\\"),a.angle,s),c=this.paint.get(\\\"fill-extrusion-height\\\").evaluate(e,n),h=this.paint.get(\\\"fill-extrusion-base\\\").evaluate(e,n),p=function(t,e,n,r){for(var o=[],a=0,s=t;a<s.length;a+=1){var l=s[a],u=[l.x,l.y,0,1];aa(u,u,e),o.push(new i(u[0]/u[3],u[1]/u[3]))}return o}(u,l),f=function(t,e,n,r){for(var o=[],a=[],s=r[8]*e,l=r[9]*e,u=r[10]*e,c=r[11]*e,h=r[8]*n,p=r[9]*n,f=r[10]*n,d=r[11]*n,m=0,v=t;m<v.length;m+=1){for(var g=[],y=[],_=0,b=v[m];_<b.length;_+=1){var x=b[_],w=x.x,A=x.y,C=r[0]*w+r[4]*A+r[12],M=r[1]*w+r[5]*A+r[13],E=r[2]*w+r[6]*A+r[14],T=r[3]*w+r[7]*A+r[15],S=E+u,k=T+c,O=C+h,I=M+p,L=E+f,P=T+d,z=new i((C+s)/k,(M+l)/k);z.z=S/k,g.push(z);var R=new i(O/P,I/P);R.z=L/P,y.push(R)}o.push(g),a.push(y)}return[o,a]}(r,h,c,l);return function(t,e,n){var r=1/0;jo(n,e)&&(r=Cs(n,e[0]));for(var i=0;i<e.length;i++)for(var o=e[i],a=t[i],s=0;s<o.length-1;s++){var l=o[s],u=[l,o[s+1],a[s+1],a[s],l];No(n,u)&&(r=Math.min(r,Cs(n,u)))}return r!==1/0&&r}(f[0],f[1],p)},e}(_i);function As(t,e){return t.x*e.x+t.y*e.y}function Cs(t,e){if(1===t.length){for(var n,r=0,i=e[r++];!n||i.equals(n);)if(!(n=e[r++]))return 1/0;for(;r<e.length;r++){var o=e[r],a=t[0],s=n.sub(i),l=o.sub(i),u=a.sub(i),c=As(s,s),h=As(s,l),p=As(l,l),f=As(u,s),d=As(u,l),m=c*p-h*h,v=(p*f-h*d)/m,g=(c*d-h*f)/m,y=i.z*(1-v-g)+n.z*v+o.z*g;if(isFinite(y))return y}return 1/0}for(var _=1/0,b=0,x=e;b<x.length;b+=1)_=Math.min(_,x[b].z);return _}var Ms=Ai([{name:\\\"a_pos_normal\\\",components:2,type:\\\"Int16\\\"},{name:\\\"a_data\\\",components:4,type:\\\"Uint8\\\"}],4).members,Es=ms.VectorTileFeature.types,Ts=Math.cos(Math.PI/180*37.5),Ss=Math.pow(2,14)/.5,ks=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new Si,this.indexArray=new $i,this.programConfigurations=new Lo(Ms,t.layers,t.zoom),this.segments=new io,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};ks.prototype.populate=function(t,e,n){this.hasPattern=ts(\\\"line\\\",this.layers,e);for(var r=this.layers[0].layout.get(\\\"line-sort-key\\\"),i=[],o=0,a=t;o<a.length;o+=1){var s=a[o],l=s.feature,u=s.id,c=s.index,h=s.sourceLayerIndex,p=this.layers[0]._featureFilter.needGeometry,f={type:l.type,id:u,properties:l.properties,geometry:p?Do(l):[]};if(this.layers[0]._featureFilter.filter(new ii(this.zoom),f,n)){p||(f.geometry=Do(l));var d=r?r.evaluate(f,{},n):void 0;i.push({id:u,properties:l.properties,type:l.type,sourceLayerIndex:h,index:c,geometry:f.geometry,patterns:{},sortKey:d})}}r&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var m=0,v=i;m<v.length;m+=1){var g=v[m],y=g.geometry,_=g.index,b=g.sourceLayerIndex;if(this.hasPattern){var x=es(\\\"line\\\",this.layers,g,this.zoom,e);this.patternFeatures.push(x)}else this.addFeature(g,y,_,n,{});e.featureIndex.insert(t[_].feature,y,_,b,this.index)}},ks.prototype.update=function(t,e,n){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,n)},ks.prototype.addFeatures=function(t,e,n){for(var r=0,i=this.patternFeatures;r<i.length;r+=1){var o=i[r];this.addFeature(o,o.geometry,o.index,e,n)}},ks.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ks.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ks.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ms),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},ks.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},ks.prototype.addFeature=function(t,e,n,r,i){for(var o=this.layers[0].layout,a=o.get(\\\"line-join\\\").evaluate(t,{}),s=o.get(\\\"line-cap\\\"),l=o.get(\\\"line-miter-limit\\\"),u=o.get(\\\"line-round-limit\\\"),c=0,h=e;c<h.length;c+=1)this.addLine(h[c],t,a,s,l,u);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,i,r)},ks.prototype.addLine=function(t,e,n,r,i,o){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,e.properties&&e.properties.hasOwnProperty(\\\"mapbox_clip_start\\\")&&e.properties.hasOwnProperty(\\\"mapbox_clip_end\\\")){this.clipStart=+e.properties.mapbox_clip_start,this.clipEnd=+e.properties.mapbox_clip_end;for(var a=0;a<t.length-1;a++)this.totalDistance+=t[a].dist(t[a+1]);this.updateScaledDistance()}for(var s=\\\"Polygon\\\"===Es[e.type],l=t.length;l>=2&&t[l-1].equals(t[l-2]);)l--;for(var u=0;u<l-1&&t[u].equals(t[u+1]);)u++;if(!(l<(s?3:2))){\\\"bevel\\\"===n&&(i=1.05);var c,h=this.overscaling<=16?122880/(512*this.overscaling):0,p=this.segments.prepareSegment(10*l,this.layoutVertexArray,this.indexArray),f=void 0,d=void 0,m=void 0,v=void 0;this.e1=this.e2=-1,s&&(v=t[u].sub(c=t[l-2])._unit()._perp());for(var g=u;g<l;g++)if(!(d=g===l-1?s?t[u+1]:void 0:t[g+1])||!t[g].equals(d)){v&&(m=v),c&&(f=c),c=t[g],v=d?d.sub(c)._unit()._perp():m;var y=(m=m||v).add(v);0===y.x&&0===y.y||y._unit();var _=m.x*v.x+m.y*v.y,b=y.x*v.x+y.y*v.y,x=0!==b?1/b:1/0,w=2*Math.sqrt(2-2*b),A=b<Ts&&f&&d,C=m.x*v.y-m.y*v.x>0;if(A&&g>u){var M=c.dist(f);if(M>2*h){var E=c.sub(c.sub(f)._mult(h/M)._round());this.updateDistance(f,E),this.addCurrentVertex(E,m,0,0,p),f=E}}var T=f&&d,S=T?n:s?\\\"butt\\\":r;if(T&&\\\"round\\\"===S&&(x<o?S=\\\"miter\\\":x<=2&&(S=\\\"fakeround\\\")),\\\"miter\\\"===S&&x>i&&(S=\\\"bevel\\\"),\\\"bevel\\\"===S&&(x>2&&(S=\\\"flipbevel\\\"),x<i&&(S=\\\"miter\\\")),f&&this.updateDistance(f,c),\\\"miter\\\"===S)y._mult(x),this.addCurrentVertex(c,y,0,0,p);else if(\\\"flipbevel\\\"===S){if(x>100)y=v.mult(-1);else{var k=x*m.add(v).mag()/m.sub(v).mag();y._perp()._mult(k*(C?-1:1))}this.addCurrentVertex(c,y,0,0,p),this.addCurrentVertex(c,y.mult(-1),0,0,p)}else if(\\\"bevel\\\"===S||\\\"fakeround\\\"===S){var O=-Math.sqrt(x*x-1),I=C?O:0,L=C?0:O;if(f&&this.addCurrentVertex(c,m,I,L,p),\\\"fakeround\\\"===S)for(var P=Math.round(180*w/Math.PI/20),z=1;z<P;z++){var R=z/P;if(.5!==R){var D=R-.5;R+=R*D*(R-1)*((1.0904+_*(_*(3.55645-1.43519*_)-3.2452))*D*D+(.848013+_*(.215638*_-1.06021)))}var $=v.sub(m)._mult(R)._add(m)._unit()._mult(C?-1:1);this.addHalfVertex(c,$.x,$.y,!1,C,0,p)}d&&this.addCurrentVertex(c,v,-I,-L,p)}else if(\\\"butt\\\"===S)this.addCurrentVertex(c,y,0,0,p);else if(\\\"square\\\"===S){var B=f?1:-1;this.addCurrentVertex(c,y,B,B,p)}else\\\"round\\\"===S&&(f&&(this.addCurrentVertex(c,m,0,0,p),this.addCurrentVertex(c,m,1,1,p,!0)),d&&(this.addCurrentVertex(c,v,-1,-1,p,!0),this.addCurrentVertex(c,v,0,0,p)));if(A&&g<l-1){var N=c.dist(d);if(N>2*h){var F=c.add(d.sub(c)._mult(h/N)._round());this.updateDistance(c,F),this.addCurrentVertex(F,v,0,0,p),c=F}}}}},ks.prototype.addCurrentVertex=function(t,e,n,r,i,o){void 0===o&&(o=!1);var a=e.y*r-e.x,s=-e.y-e.x*r;this.addHalfVertex(t,e.x+e.y*n,e.y-e.x*n,o,!1,n,i),this.addHalfVertex(t,a,s,o,!0,-r,i),this.distance>Ss/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(t,e,n,r,i,o))},ks.prototype.addHalfVertex=function(t,e,n,r,i,o,a){var s=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((t.x<<1)+(r?1:0),(t.y<<1)+(i?1:0),Math.round(63*e)+128,Math.round(63*n)+128,1+(0===o?0:o<0?-1:1)|(63&s)<<2,s>>6);var l=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,l),a.primitiveLength++),i?this.e2=l:this.e1=l},ks.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Ss-1):this.distance},ks.prototype.updateDistance=function(t,e){this.distance+=t.dist(e),this.updateScaledDistance()},Rr(\\\"LineBucket\\\",ks,{omit:[\\\"layers\\\",\\\"patternFeatures\\\"]});var Os=new yi({\\\"line-cap\\\":new fi(Et.layout_line[\\\"line-cap\\\"]),\\\"line-join\\\":new di(Et.layout_line[\\\"line-join\\\"]),\\\"line-miter-limit\\\":new fi(Et.layout_line[\\\"line-miter-limit\\\"]),\\\"line-round-limit\\\":new fi(Et.layout_line[\\\"line-round-limit\\\"]),\\\"line-sort-key\\\":new di(Et.layout_line[\\\"line-sort-key\\\"])}),Is={paint:new yi({\\\"line-opacity\\\":new di(Et.paint_line[\\\"line-opacity\\\"]),\\\"line-color\\\":new di(Et.paint_line[\\\"line-color\\\"]),\\\"line-translate\\\":new fi(Et.paint_line[\\\"line-translate\\\"]),\\\"line-translate-anchor\\\":new fi(Et.paint_line[\\\"line-translate-anchor\\\"]),\\\"line-width\\\":new di(Et.paint_line[\\\"line-width\\\"]),\\\"line-gap-width\\\":new di(Et.paint_line[\\\"line-gap-width\\\"]),\\\"line-offset\\\":new di(Et.paint_line[\\\"line-offset\\\"]),\\\"line-blur\\\":new di(Et.paint_line[\\\"line-blur\\\"]),\\\"line-dasharray\\\":new vi(Et.paint_line[\\\"line-dasharray\\\"]),\\\"line-pattern\\\":new mi(Et.paint_line[\\\"line-pattern\\\"]),\\\"line-gradient\\\":new gi(Et.paint_line[\\\"line-gradient\\\"])}),layout:Os},Ls=new(function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.possiblyEvaluate=function(e,n){return n=new ii(Math.floor(n.zoom),{now:n.now,fadeDuration:n.fadeDuration,zoomHistory:n.zoomHistory,transition:n.transition}),t.prototype.possiblyEvaluate.call(this,e,n)},e.prototype.evaluate=function(e,n,r,i){return n=c({},n,{zoom:Math.floor(n.zoom)}),t.prototype.evaluate.call(this,e,n,r,i)},e}(di))(Is.paint.properties[\\\"line-width\\\"].specification);Ls.useIntegerZoom=!0;var Ps=function(t){function e(e){t.call(this,e,Is)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(t){\\\"line-gradient\\\"===t&&this._updateGradient()},e.prototype._updateGradient=function(){this.gradient=va(this._transitionablePaint._values[\\\"line-gradient\\\"].value.expression,\\\"lineProgress\\\"),this.gradientTexture=null},e.prototype.recalculate=function(e,n){t.prototype.recalculate.call(this,e,n),this.paint._values[\\\"line-floorwidth\\\"]=Ls.possiblyEvaluate(this._transitioningPaint._values[\\\"line-width\\\"].value,e)},e.prototype.createBucket=function(t){return new ks(t)},e.prototype.queryRadius=function(t){var e=t,n=zs(Zo(\\\"line-width\\\",this,e),Zo(\\\"line-gap-width\\\",this,e)),r=Zo(\\\"line-offset\\\",this,e);return n/2+Math.abs(r)+Ko(this.paint.get(\\\"line-translate\\\"))},e.prototype.queryIntersectsFeature=function(t,e,n,r,o,a,s){var l=Jo(t,this.paint.get(\\\"line-translate\\\"),this.paint.get(\\\"line-translate-anchor\\\"),a.angle,s),u=s/2*zs(this.paint.get(\\\"line-width\\\").evaluate(e,n),this.paint.get(\\\"line-gap-width\\\").evaluate(e,n)),c=this.paint.get(\\\"line-offset\\\").evaluate(e,n);return c&&(r=function(t,e){for(var n=[],r=new i(0,0),o=0;o<t.length;o++){for(var a=t[o],s=[],l=0;l<a.length;l++){var u=a[l],c=a[l+1],h=0===l?r:u.sub(a[l-1])._unit()._perp(),p=l===a.length-1?r:c.sub(u)._unit()._perp(),f=h._add(p)._unit();f._mult(1/(f.x*p.x+f.y*p.y)),s.push(f._mult(e)._add(u))}n.push(s)}return n}(r,c*s)),function(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];if(t.length>=3)for(var o=0;o<i.length;o++)if(Xo(t,i[o]))return!0;if(Uo(t,i,n))return!0}return!1}(l,r,u)},e.prototype.isTileClipped=function(){return!0},e}(_i);function zs(t,e){return e>0?e+2*t:t}var Rs=Ai([{name:\\\"a_pos_offset\\\",components:4,type:\\\"Int16\\\"},{name:\\\"a_data\\\",components:4,type:\\\"Uint16\\\"},{name:\\\"a_pixeloffset\\\",components:4,type:\\\"Int16\\\"}],4),Ds=Ai([{name:\\\"a_projected_pos\\\",components:3,type:\\\"Float32\\\"}],4),$s=(Ai([{name:\\\"a_fade_opacity\\\",components:1,type:\\\"Uint32\\\"}],4),Ai([{name:\\\"a_placed\\\",components:2,type:\\\"Uint8\\\"},{name:\\\"a_shift\\\",components:2,type:\\\"Float32\\\"}])),Bs=(Ai([{type:\\\"Int16\\\",name:\\\"anchorPointX\\\"},{type:\\\"Int16\\\",name:\\\"anchorPointY\\\"},{type:\\\"Int16\\\",name:\\\"x1\\\"},{type:\\\"Int16\\\",name:\\\"y1\\\"},{type:\\\"Int16\\\",name:\\\"x2\\\"},{type:\\\"Int16\\\",name:\\\"y2\\\"},{type:\\\"Uint32\\\",name:\\\"featureIndex\\\"},{type:\\\"Uint16\\\",name:\\\"sourceLayerIndex\\\"},{type:\\\"Uint16\\\",name:\\\"bucketIndex\\\"}]),Ai([{name:\\\"a_pos\\\",components:2,type:\\\"Int16\\\"},{name:\\\"a_anchor_pos\\\",components:2,type:\\\"Int16\\\"},{name:\\\"a_extrude\\\",components:2,type:\\\"Int16\\\"}],4)),Ns=Ai([{name:\\\"a_pos\\\",components:2,type:\\\"Float32\\\"},{name:\\\"a_radius\\\",components:1,type:\\\"Float32\\\"},{name:\\\"a_flags\\\",components:2,type:\\\"Int16\\\"}],4);function Fs(t,e,n){return t.sections.forEach((function(t){t.text=function(t,e,n){var r=e.layout.get(\\\"text-transform\\\").evaluate(n,{});return\\\"uppercase\\\"===r?t=t.toLocaleUpperCase():\\\"lowercase\\\"===r&&(t=t.toLocaleLowerCase()),ri.applyArabicShaping&&(t=ri.applyArabicShaping(t)),t}(t.text,e,n)})),t}Ai([{name:\\\"triangle\\\",components:3,type:\\\"Uint16\\\"}]),Ai([{type:\\\"Int16\\\",name:\\\"anchorX\\\"},{type:\\\"Int16\\\",name:\\\"anchorY\\\"},{type:\\\"Uint16\\\",name:\\\"glyphStartIndex\\\"},{type:\\\"Uint16\\\",name:\\\"numGlyphs\\\"},{type:\\\"Uint32\\\",name:\\\"vertexStartIndex\\\"},{type:\\\"Uint32\\\",name:\\\"lineStartIndex\\\"},{type:\\\"Uint32\\\",name:\\\"lineLength\\\"},{type:\\\"Uint16\\\",name:\\\"segment\\\"},{type:\\\"Uint16\\\",name:\\\"lowerSize\\\"},{type:\\\"Uint16\\\",name:\\\"upperSize\\\"},{type:\\\"Float32\\\",name:\\\"lineOffsetX\\\"},{type:\\\"Float32\\\",name:\\\"lineOffsetY\\\"},{type:\\\"Uint8\\\",name:\\\"writingMode\\\"},{type:\\\"Uint8\\\",name:\\\"placedOrientation\\\"},{type:\\\"Uint8\\\",name:\\\"hidden\\\"},{type:\\\"Uint32\\\",name:\\\"crossTileID\\\"},{type:\\\"Int16\\\",name:\\\"associatedIconIndex\\\"}]),Ai([{type:\\\"Int16\\\",name:\\\"anchorX\\\"},{type:\\\"Int16\\\",name:\\\"anchorY\\\"},{type:\\\"Int16\\\",name:\\\"rightJustifiedTextSymbolIndex\\\"},{type:\\\"Int16\\\",name:\\\"centerJustifiedTextSymbolIndex\\\"},{type:\\\"Int16\\\",name:\\\"leftJustifiedTextSymbolIndex\\\"},{type:\\\"Int16\\\",name:\\\"verticalPlacedTextSymbolIndex\\\"},{type:\\\"Int16\\\",name:\\\"placedIconSymbolIndex\\\"},{type:\\\"Int16\\\",name:\\\"verticalPlacedIconSymbolIndex\\\"},{type:\\\"Uint16\\\",name:\\\"key\\\"},{type:\\\"Uint16\\\",name:\\\"textBoxStartIndex\\\"},{type:\\\"Uint16\\\",name:\\\"textBoxEndIndex\\\"},{type:\\\"Uint16\\\",name:\\\"verticalTextBoxStartIndex\\\"},{type:\\\"Uint16\\\",name:\\\"verticalTextBoxEndIndex\\\"},{type:\\\"Uint16\\\",name:\\\"iconBoxStartIndex\\\"},{type:\\\"Uint16\\\",name:\\\"iconBoxEndIndex\\\"},{type:\\\"Uint16\\\",name:\\\"verticalIconBoxStartIndex\\\"},{type:\\\"Uint16\\\",name:\\\"verticalIconBoxEndIndex\\\"},{type:\\\"Uint16\\\",name:\\\"featureIndex\\\"},{type:\\\"Uint16\\\",name:\\\"numHorizontalGlyphVertices\\\"},{type:\\\"Uint16\\\",name:\\\"numVerticalGlyphVertices\\\"},{type:\\\"Uint16\\\",name:\\\"numIconVertices\\\"},{type:\\\"Uint16\\\",name:\\\"numVerticalIconVertices\\\"},{type:\\\"Uint16\\\",name:\\\"useRuntimeCollisionCircles\\\"},{type:\\\"Uint32\\\",name:\\\"crossTileID\\\"},{type:\\\"Float32\\\",name:\\\"textBoxScale\\\"},{type:\\\"Float32\\\",components:2,name:\\\"textOffset\\\"},{type:\\\"Float32\\\",name:\\\"collisionCircleDiameter\\\"}]),Ai([{type:\\\"Float32\\\",name:\\\"offsetX\\\"}]),Ai([{type:\\\"Int16\\\",name:\\\"x\\\"},{type:\\\"Int16\\\",name:\\\"y\\\"},{type:\\\"Int16\\\",name:\\\"tileUnitDistanceFromAnchor\\\"}]);var js={\\\"!\\\":\\\"︕\\\",\\\"#\\\":\\\"\\\",$:\\\"\\\",\\\"%\\\":\\\"\\\",\\\"&\\\":\\\"\\\",\\\"(\\\":\\\"︵\\\",\\\")\\\":\\\"︶\\\",\\\"*\\\":\\\"\\\",\\\"+\\\":\\\"\\\",\\\",\\\":\\\"︐\\\",\\\"-\\\":\\\"︲\\\",\\\".\\\":\\\"・\\\",\\\"/\\\":\\\"\\\",\\\":\\\":\\\"︓\\\",\\\";\\\":\\\"︔\\\",\\\"<\\\":\\\"︿\\\",\\\"=\\\":\\\"\\\",\\\">\\\":\\\"﹀\\\",\\\"?\\\":\\\"︖\\\",\\\"@\\\":\\\"\\\",\\\"[\\\":\\\"﹇\\\",\\\"\\\\\\\\\\\":\\\"\\\",\\\"]\\\":\\\"﹈\\\",\\\"^\\\":\\\"\\\",_:\\\"︳\\\",\\\"`\\\":\\\"\\\",\\\"{\\\":\\\"︷\\\",\\\"|\\\":\\\"―\\\",\\\"}\\\":\\\"︸\\\",\\\"~\\\":\\\"\\\",\\\"¢\\\":\\\"¢\\\",\\\"£\\\":\\\"£\\\",\\\"¥\\\":\\\"¥\\\",\\\"¦\\\":\\\"¦\\\",\\\"¬\\\":\\\"¬\\\",\\\"¯\\\":\\\" ̄\\\",\\\"\\\":\\\"︲\\\",\\\"—\\\":\\\"︱\\\",\\\"\\\":\\\"﹃\\\",\\\"\\\":\\\"﹄\\\",\\\"“\\\":\\\"﹁\\\",\\\"”\\\":\\\"﹂\\\",\\\"…\\\":\\\"︙\\\",\\\"‧\\\":\\\"・\\\",\\\"₩\\\":\\\"₩\\\",\\\"、\\\":\\\"︑\\\",\\\"。\\\":\\\"︒\\\",\\\"〈\\\":\\\"︿\\\",\\\"〉\\\":\\\"﹀\\\",\\\"《\\\":\\\"︽\\\",\\\"》\\\":\\\"︾\\\",\\\"「\\\":\\\"﹁\\\",\\\"」\\\":\\\"﹂\\\",\\\"『\\\":\\\"﹃\\\",\\\"』\\\":\\\"﹄\\\",\\\"【\\\":\\\"︻\\\",\\\"】\\\":\\\"︼\\\",\\\"\\\":\\\"︹\\\",\\\"\\\":\\\"︺\\\",\\\"〖\\\":\\\"︗\\\",\\\"〗\\\":\\\"︘\\\",\\\"\\\":\\\"︕\\\",\\\"\\\":\\\"︵\\\",\\\"\\\":\\\"︶\\\",\\\"\\\":\\\"︐\\\",\\\"\\\":\\\"︲\\\",\\\"\\\":\\\"・\\\",\\\"\\\":\\\"︓\\\",\\\"\\\":\\\"︔\\\",\\\"\\\":\\\"︿\\\",\\\"\\\":\\\"﹀\\\",\\\"\\\":\\\"︖\\\",\\\"\\\":\\\"﹇\\\",\\\"\\\":\\\"﹈\\\",\\\"_\\\":\\\"︳\\\",\\\"\\\":\\\"︷\\\",\\\"\\\":\\\"―\\\",\\\"\\\":\\\"︸\\\",\\\"⦅\\\":\\\"︵\\\",\\\"⦆\\\":\\\"︶\\\",\\\"。\\\":\\\"︒\\\",\\\"「\\\":\\\"﹁\\\",\\\"」\\\":\\\"﹂\\\"},Us=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?i-1:0,p=n?-1:1,f=t[e+h];for(h+=p,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+h],h+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},qs=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,d=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?p/l:p*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=d,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[n+f]=255&a,f+=d,a/=256,u-=8);t[n+f-d]|=128*m},Vs=Hs;function Hs(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}Hs.Varint=0,Hs.Fixed64=1,Hs.Bytes=2,Hs.Fixed32=5;var Gs=\\\"undefined\\\"==typeof TextDecoder?null:new TextDecoder(\\\"utf8\\\");function Ws(t){return t.type===Hs.Bytes?t.readVarint()+t.pos:t.pos+1}function Xs(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Ys(t,e,n){var r=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(r);for(var i=n.pos-1;i>=t;i--)n.buf[i+r]=n.buf[i]}function Zs(t,e){for(var n=0;n<t.length;n++)e.writeVarint(t[n])}function Ks(t,e){for(var n=0;n<t.length;n++)e.writeSVarint(t[n])}function Js(t,e){for(var n=0;n<t.length;n++)e.writeFloat(t[n])}function Qs(t,e){for(var n=0;n<t.length;n++)e.writeDouble(t[n])}function tl(t,e){for(var n=0;n<t.length;n++)e.writeBoolean(t[n])}function el(t,e){for(var n=0;n<t.length;n++)e.writeFixed32(t[n])}function nl(t,e){for(var n=0;n<t.length;n++)e.writeSFixed32(t[n])}function rl(t,e){for(var n=0;n<t.length;n++)e.writeFixed64(t[n])}function il(t,e){for(var n=0;n<t.length;n++)e.writeSFixed64(t[n])}function ol(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function al(t,e,n){t[n]=e,t[n+1]=e>>>8,t[n+2]=e>>>16,t[n+3]=e>>>24}function sl(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}function ll(t,e,n){1===t&&n.readMessage(ul,e)}function ul(t,e,n){if(3===t){var r=n.readMessage(cl,{}),i=r.width,o=r.height,a=r.left,s=r.top,l=r.advance;e.push({id:r.id,bitmap:new fa({width:i+6,height:o+6},r.bitmap),metrics:{width:i,height:o,left:a,top:s,advance:l}})}}function cl(t,e,n){1===t?e.id=n.readVarint():2===t?e.bitmap=n.readBytes():3===t?e.width=n.readVarint():4===t?e.height=n.readVarint():5===t?e.left=n.readSVarint():6===t?e.top=n.readSVarint():7===t&&(e.advance=n.readVarint())}function hl(t){for(var e=0,n=0,r=0,i=t;r<i.length;r+=1){var o=i[r];e+=o.w*o.h,n=Math.max(n,o.w)}t.sort((function(t,e){return e.h-t.h}));for(var a=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),n),h:1/0}],s=0,l=0,u=0,c=t;u<c.length;u+=1)for(var h=c[u],p=a.length-1;p>=0;p--){var f=a[p];if(!(h.w>f.w||h.h>f.h)){if(h.x=f.x,h.y=f.y,l=Math.max(l,h.y+h.h),s=Math.max(s,h.x+h.w),h.w===f.w&&h.h===f.h){var d=a.pop();p<a.length&&(a[p]=d)}else h.h===f.h?(f.x+=h.w,f.w-=h.w):h.w===f.w?(f.y+=h.h,f.h-=h.h):(a.push({x:f.x+h.w,y:f.y,w:f.w-h.w,h:h.h}),f.y+=h.h,f.h-=h.h);break}}return{w:s,h:l,fill:e/(s*l)||0}}Hs.prototype={destroy:function(){this.buf=null},readFields:function(t,e,n){for(n=n||this.length;this.pos<n;){var r=this.readVarint(),i=r>>3,o=this.pos;this.type=7&r,t(i,e,this),this.pos===o&&this.skip(r)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=ol(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=sl(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=ol(this.buf,this.pos)+4294967296*ol(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=ol(this.buf,this.pos)+4294967296*sl(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=Us(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=Us(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,n,r=this.buf;return e=127&(n=r[this.pos++]),n<128?e:(e|=(127&(n=r[this.pos++]))<<7,n<128?e:(e|=(127&(n=r[this.pos++]))<<14,n<128?e:(e|=(127&(n=r[this.pos++]))<<21,n<128?e:function(t,e,n){var r,i,o=n.buf;if(r=(112&(i=o[n.pos++]))>>4,i<128)return Xs(t,r,e);if(r|=(127&(i=o[n.pos++]))<<3,i<128)return Xs(t,r,e);if(r|=(127&(i=o[n.pos++]))<<10,i<128)return Xs(t,r,e);if(r|=(127&(i=o[n.pos++]))<<17,i<128)return Xs(t,r,e);if(r|=(127&(i=o[n.pos++]))<<24,i<128)return Xs(t,r,e);if(r|=(1&(i=o[n.pos++]))<<31,i<128)return Xs(t,r,e);throw new Error(\\\"Expected varint not more than 10 bytes\\\")}(e|=(15&(n=r[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&Gs?function(t,e,n){return Gs.decode(t.subarray(e,n))}(this.buf,e,t):function(t,e,n){for(var r=\\\"\\\",i=e;i<n;){var o,a,s,l=t[i],u=null,c=l>239?4:l>223?3:l>191?2:1;if(i+c>n)break;1===c?l<128&&(u=l):2===c?128==(192&(o=t[i+1]))&&(u=(31&l)<<6|63&o)<=127&&(u=null):3===c?(a=t[i+2],128==(192&(o=t[i+1]))&&128==(192&a)&&((u=(15&l)<<12|(63&o)<<6|63&a)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(a=t[i+2],s=t[i+3],128==(192&(o=t[i+1]))&&128==(192&a)&&128==(192&s)&&((u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,r+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),r+=String.fromCharCode(u),i+=c}return r}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==Hs.Bytes)return t.push(this.readVarint(e));var n=Ws(this);for(t=t||[];this.pos<n;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==Hs.Bytes)return t.push(this.readSVarint());var e=Ws(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==Hs.Bytes)return t.push(this.readBoolean());var e=Ws(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==Hs.Bytes)return t.push(this.readFloat());var e=Ws(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==Hs.Bytes)return t.push(this.readDouble());var e=Ws(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==Hs.Bytes)return t.push(this.readFixed32());var e=Ws(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==Hs.Bytes)return t.push(this.readSFixed32());var e=Ws(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==Hs.Bytes)return t.push(this.readFixed64());var e=Ws(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==Hs.Bytes)return t.push(this.readSFixed64());var e=Ws(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===Hs.Varint)for(;this.buf[this.pos++]>127;);else if(e===Hs.Bytes)this.pos=this.readVarint()+this.pos;else if(e===Hs.Fixed32)this.pos+=4;else{if(e!==Hs.Fixed64)throw new Error(\\\"Unimplemented type: \\\"+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var n=new Uint8Array(e);n.set(this.buf),this.buf=n,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),al(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),al(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),al(this.buf,-1&t,this.pos),al(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),al(this.buf,-1&t,this.pos),al(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var n,r;if(t>=0?(n=t%4294967296|0,r=t/4294967296|0):(r=~(-t/4294967296),4294967295^(n=~(-t%4294967296))?n=n+1|0:(n=0,r=r+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error(\\\"Given varint doesn't fit into 10 bytes\\\");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,n.buf[n.pos]=127&(t>>>=7)}(n,0,e),function(t,e){var n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(r,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,n){for(var r,i,o=0;o<e.length;o++){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){r>56319||o+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):i=r;continue}if(r<56320){t[n++]=239,t[n++]=191,t[n++]=189,i=r;continue}r=i-55296<<10|r-56320|65536,i=null}else i&&(t[n++]=239,t[n++]=191,t[n++]=189,i=null);r<128?t[n++]=r:(r<2048?t[n++]=r>>6|192:(r<65536?t[n++]=r>>12|224:(t[n++]=r>>18|240,t[n++]=r>>12&63|128),t[n++]=r>>6&63|128),t[n++]=63&r|128)}return n}(this.buf,t,this.pos);var n=this.pos-e;n>=128&&Ys(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n},writeFloat:function(t){this.realloc(4),qs(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),qs(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var n=0;n<e;n++)this.buf[this.pos++]=t[n]},writeRawMessage:function(t,e){this.pos++;var n=this.pos;t(e,this);var r=this.pos-n;r>=128&&Ys(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(t,e,n){this.writeTag(t,Hs.Bytes),this.writeRawMessage(e,n)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,Zs,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,Ks,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,tl,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,Js,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,Qs,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,el,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,nl,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,rl,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,il,e)},writeBytesField:function(t,e){this.writeTag(t,Hs.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,Hs.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,Hs.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,Hs.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,Hs.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,Hs.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,Hs.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,Hs.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,Hs.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,Hs.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};var pl=function(t,e){var n=e.pixelRatio,r=e.version,i=e.stretchX,o=e.stretchY,a=e.content;this.paddedRect=t,this.pixelRatio=n,this.stretchX=i,this.stretchY=o,this.content=a,this.version=r},fl={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};fl.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},fl.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},fl.tlbr.get=function(){return this.tl.concat(this.br)},fl.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(pl.prototype,fl);var dl=function(t,e){var n={},r={};this.haveRenderCallbacks=[];var i=[];this.addImages(t,n,i),this.addImages(e,r,i);var o=hl(i),a=new da({width:o.w||1,height:o.h||1});for(var s in t){var l=t[s],u=n[s].paddedRect;da.copy(l.data,a,{x:0,y:0},{x:u.x+1,y:u.y+1},l.data)}for(var c in e){var h=e[c],p=r[c].paddedRect,f=p.x+1,d=p.y+1,m=h.data.width,v=h.data.height;da.copy(h.data,a,{x:0,y:0},{x:f,y:d},h.data),da.copy(h.data,a,{x:0,y:v-1},{x:f,y:d-1},{width:m,height:1}),da.copy(h.data,a,{x:0,y:0},{x:f,y:d+v},{width:m,height:1}),da.copy(h.data,a,{x:m-1,y:0},{x:f-1,y:d},{width:1,height:v}),da.copy(h.data,a,{x:0,y:0},{x:f+m,y:d},{width:1,height:v})}this.image=a,this.iconPositions=n,this.patternPositions=r};dl.prototype.addImages=function(t,e,n){for(var r in t){var i=t[r],o={x:0,y:0,w:i.data.width+2,h:i.data.height+2};n.push(o),e[r]=new pl(o,i),i.hasRenderCallback&&this.haveRenderCallbacks.push(r)}},dl.prototype.patchUpdatedImages=function(t,e){for(var n in t.dispatchRenderCallbacks(this.haveRenderCallbacks),t.updatedImages)this.patchUpdatedImage(this.iconPositions[n],t.getImage(n),e),this.patchUpdatedImage(this.patternPositions[n],t.getImage(n),e)},dl.prototype.patchUpdatedImage=function(t,e,n){if(t&&e&&t.version!==e.version){t.version=e.version;var r=t.tl;n.update(e.data,void 0,{x:r[0],y:r[1]})}},Rr(\\\"ImagePosition\\\",pl),Rr(\\\"ImageAtlas\\\",dl);var ml={horizontal:1,vertical:2,horizontalOnly:3},vl=function(){this.scale=1,this.fontStack=\\\"\\\",this.imageName=null};vl.forText=function(t,e){var n=new vl;return n.scale=t||1,n.fontStack=e,n},vl.forImage=function(t){var e=new vl;return e.imageName=t,e};var gl=function(){this.text=\\\"\\\",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};function yl(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m){var v,g=gl.fromFeature(t,i);h===ml.vertical&&g.verticalizePunctuation();var y=ri.processBidirectionalText,_=ri.processStyledBidirectionalText;if(y&&1===g.sections.length){v=[];for(var b=0,x=y(g.toString(),Ml(g,u,o,e,r,f,d));b<x.length;b+=1){var w=x[b],A=new gl;A.text=w,A.sections=g.sections;for(var C=0;C<w.length;C++)A.sectionIndex.push(0);v.push(A)}}else if(_){v=[];for(var M=0,E=_(g.text,g.sectionIndex,Ml(g,u,o,e,r,f,d));M<E.length;M+=1){var T=E[M],S=new gl;S.text=T[0],S.sectionIndex=T[1],S.sections=g.sections,v.push(S)}}else v=function(t,e){for(var n=[],r=t.text,i=0,o=0,a=e;o<a.length;o+=1){var s=a[o];n.push(t.substring(i,s)),i=s}return i<r.length&&n.push(t.substring(i,r.length)),n}(g,Ml(g,u,o,e,r,f,d));var k=[],O={positionedLines:k,text:g.toString(),top:c[1],bottom:c[1],left:c[0],right:c[0],writingMode:h,iconsInText:!1,verticalizable:!1};return function(t,e,n,r,i,o,a,s,l,u,c,h){for(var p=0,f=-17,d=0,m=0,v=\\\"right\\\"===s?1:\\\"left\\\"===s?0:.5,g=0,y=0,_=i;y<_.length;y+=1){var b=_[y];b.trim();var x=b.getMaxScale(),w=24*(x-1),A={positionedGlyphs:[],lineOffset:0};t.positionedLines[g]=A;var C=A.positionedGlyphs,M=0;if(b.length()){for(var E=0;E<b.length();E++){var T=b.getSection(E),S=b.getSectionIndex(E),k=b.getCharCode(E),O=0,I=null,L=null,P=null,z=24,R=!(l===ml.horizontal||!c&&!Vr(k)||c&&(_l[k]||(V=k,Ur.Arabic(V)||Ur[\\\"Arabic Supplement\\\"](V)||Ur[\\\"Arabic Extended-A\\\"](V)||Ur[\\\"Arabic Presentation Forms-A\\\"](V)||Ur[\\\"Arabic Presentation Forms-B\\\"](V))));if(T.imageName){var D=r[T.imageName];if(!D)continue;P=T.imageName,t.iconsInText=t.iconsInText||!0,L=D.paddedRect;var $=D.displaySize;T.scale=24*T.scale/h,O=w+(24-$[1]*T.scale),z=(I={width:$[0],height:$[1],left:1,top:-3,advance:R?$[1]:$[0]}).advance;var B=R?$[0]*T.scale-24*x:$[1]*T.scale-24*x;B>0&&B>M&&(M=B)}else{var N=n[T.fontStack],F=N&&N[k];if(F&&F.rect)L=F.rect,I=F.metrics;else{var j=e[T.fontStack],U=j&&j[k];if(!U)continue;I=U.metrics}O=24*(x-T.scale)}R?(t.verticalizable=!0,C.push({glyph:k,imageName:P,x:p,y:f+O,vertical:R,scale:T.scale,fontStack:T.fontStack,sectionIndex:S,metrics:I,rect:L}),p+=z*T.scale+u):(C.push({glyph:k,imageName:P,x:p,y:f+O,vertical:R,scale:T.scale,fontStack:T.fontStack,sectionIndex:S,metrics:I,rect:L}),p+=I.advance*T.scale+u)}0!==C.length&&(d=Math.max(p-u,d),Tl(C,0,C.length-1,v,M)),p=0;var q=o*x+M;A.lineOffset=Math.max(M,w),f+=q,m=Math.max(q,m),++g}else f+=o,++g}var V,H=f- -17,G=El(a),W=G.horizontalAlign,X=G.verticalAlign;(function(t,e,n,r,i,o,a,s,l){var u,c=(e-n)*i;u=o!==a?-s*r- -17:(-r*l+.5)*a;for(var h=0,p=t;h<p.length;h+=1)for(var f=0,d=p[h].positionedGlyphs;f<d.length;f+=1){var m=d[f];m.x+=c,m.y+=u}})(t.positionedLines,v,W,X,d,m,o,H,i.length),t.top+=-X*H,t.bottom=t.top+H,t.left+=-W*d,t.right=t.left+d}(O,e,n,r,v,a,s,l,h,u,p,m),!function(t){for(var e=0,n=t;e<n.length;e+=1)if(0!==n[e].positionedGlyphs.length)return!1;return!0}(k)&&O}gl.fromFeature=function(t,e){for(var n=new gl,r=0;r<t.sections.length;r++){var i=t.sections[r];i.image?n.addImageSection(i):n.addTextSection(i,e)}return n},gl.prototype.length=function(){return this.text.length},gl.prototype.getSection=function(t){return this.sections[this.sectionIndex[t]]},gl.prototype.getSectionIndex=function(t){return this.sectionIndex[t]},gl.prototype.getCharCode=function(t){return this.text.charCodeAt(t)},gl.prototype.verticalizePunctuation=function(){this.text=function(t){for(var e=\\\"\\\",n=0;n<t.length;n++){var r=t.charCodeAt(n+1)||null,i=t.charCodeAt(n-1)||null;e+=r&&Hr(r)&&!js[t[n+1]]||i&&Hr(i)&&!js[t[n-1]]||!js[t[n]]?t[n]:js[t[n]]}return e}(this.text)},gl.prototype.trim=function(){for(var t=0,e=0;e<this.text.length&&_l[this.text.charCodeAt(e)];e++)t++;for(var n=this.text.length,r=this.text.length-1;r>=0&&r>=t&&_l[this.text.charCodeAt(r)];r--)n--;this.text=this.text.substring(t,n),this.sectionIndex=this.sectionIndex.slice(t,n)},gl.prototype.substring=function(t,e){var n=new gl;return n.text=this.text.substring(t,e),n.sectionIndex=this.sectionIndex.slice(t,e),n.sections=this.sections,n},gl.prototype.toString=function(){return this.text},gl.prototype.getMaxScale=function(){var t=this;return this.sectionIndex.reduce((function(e,n){return Math.max(e,t.sections[n].scale)}),0)},gl.prototype.addTextSection=function(t,e){this.text+=t.text,this.sections.push(vl.forText(t.scale,t.fontStack||e));for(var n=this.sections.length-1,r=0;r<t.text.length;++r)this.sectionIndex.push(n)},gl.prototype.addImageSection=function(t){var e=t.image?t.image.name:\\\"\\\";if(0!==e.length){var n=this.getNextImageSectionCharCode();n?(this.text+=String.fromCharCode(n),this.sections.push(vl.forImage(e)),this.sectionIndex.push(this.sections.length-1)):x(\\\"Reached maximum number of images 6401\\\")}else x(\\\"Can't add FormattedSection with an empty image.\\\")},gl.prototype.getNextImageSectionCharCode=function(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var _l={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},bl={};function xl(t,e,n,r,i,o){if(e.imageName){var a=r[e.imageName];return a?a.displaySize[0]*e.scale*24/o+i:0}var s=n[e.fontStack],l=s&&s[t];return l?l.metrics.advance*e.scale+i:0}function wl(t,e,n,r){var i=Math.pow(t-e,2);return r?t<e?i/2:2*i:i+Math.abs(n)*n}function Al(t,e,n){var r=0;return 10===t&&(r-=1e4),n&&(r+=150),40!==t&&65288!==t||(r+=50),41!==e&&65289!==e||(r+=50),r}function Cl(t,e,n,r,i,o){for(var a=null,s=wl(e,n,i,o),l=0,u=r;l<u.length;l+=1){var c=u[l],h=wl(e-c.x,n,i,o)+c.badness;h<=s&&(a=c,s=h)}return{index:t,x:e,priorBreak:a,badness:s}}function Ml(t,e,n,r,i,o,a){if(\\\"point\\\"!==o)return[];if(!t)return[];for(var s,l=[],u=function(t,e,n,r,i,o){for(var a=0,s=0;s<t.length();s++){var l=t.getSection(s);a+=xl(t.getCharCode(s),l,r,i,e,o)}return a/Math.max(1,Math.ceil(a/n))}(t,e,n,r,i,a),c=t.text.indexOf(\\\"\\\")>=0,h=0,p=0;p<t.length();p++){var f=t.getSection(p),d=t.getCharCode(p);if(_l[d]||(h+=xl(d,f,r,i,e,a)),p<t.length()-1){var m=!((s=d)<11904||!(Ur[\\\"Bopomofo Extended\\\"](s)||Ur.Bopomofo(s)||Ur[\\\"CJK Compatibility Forms\\\"](s)||Ur[\\\"CJK Compatibility Ideographs\\\"](s)||Ur[\\\"CJK Compatibility\\\"](s)||Ur[\\\"CJK Radicals Supplement\\\"](s)||Ur[\\\"CJK Strokes\\\"](s)||Ur[\\\"CJK Symbols and Punctuation\\\"](s)||Ur[\\\"CJK Unified Ideographs Extension A\\\"](s)||Ur[\\\"CJK Unified Ideographs\\\"](s)||Ur[\\\"Enclosed CJK Letters and Months\\\"](s)||Ur[\\\"Halfwidth and Fullwidth Forms\\\"](s)||Ur.Hiragana(s)||Ur[\\\"Ideographic Description Characters\\\"](s)||Ur[\\\"Kangxi Radicals\\\"](s)||Ur[\\\"Katakana Phonetic Extensions\\\"](s)||Ur.Katakana(s)||Ur[\\\"Vertical Forms\\\"](s)||Ur[\\\"Yi Radicals\\\"](s)||Ur[\\\"Yi Syllables\\\"](s)));(bl[d]||m||f.imageName)&&l.push(Cl(p+1,h,u,l,Al(d,t.getCharCode(p+1),m&&c),!1))}}return function t(e){return e?t(e.priorBreak).concat(e.index):[]}(Cl(t.length(),h,u,l,0,!0))}function El(t){var e=.5,n=.5;switch(t){case\\\"right\\\":case\\\"top-right\\\":case\\\"bottom-right\\\":e=1;break;case\\\"left\\\":case\\\"top-left\\\":case\\\"bottom-left\\\":e=0}switch(t){case\\\"bottom\\\":case\\\"bottom-right\\\":case\\\"bottom-left\\\":n=1;break;case\\\"top\\\":case\\\"top-right\\\":case\\\"top-left\\\":n=0}return{horizontalAlign:e,verticalAlign:n}}function Tl(t,e,n,r,i){if(r||i)for(var o=t[n],a=(t[n].x+o.metrics.advance*o.scale)*r,s=e;s<=n;s++)t[s].x-=a,t[s].y+=i}function Sl(t,e,n,r,i,o){var a,s=t.image;if(s.content){var l=s.content,u=s.pixelRatio||1;a=[l[0]/u,l[1]/u,s.displaySize[0]-l[2]/u,s.displaySize[1]-l[3]/u]}var c,h,p,f,d=e.left*o,m=e.right*o;\\\"width\\\"===n||\\\"both\\\"===n?(f=i[0]+d-r[3],h=i[0]+m+r[1]):h=(f=i[0]+(d+m-s.displaySize[0])/2)+s.displaySize[0];var v=e.top*o,g=e.bottom*o;return\\\"height\\\"===n||\\\"both\\\"===n?(c=i[1]+v-r[0],p=i[1]+g+r[2]):p=(c=i[1]+(v+g-s.displaySize[1])/2)+s.displaySize[1],{image:s,top:c,right:h,bottom:p,left:f,collisionPadding:a}}bl[10]=!0,bl[32]=!0,bl[38]=!0,bl[40]=!0,bl[41]=!0,bl[43]=!0,bl[45]=!0,bl[47]=!0,bl[173]=!0,bl[183]=!0,bl[8203]=!0,bl[8208]=!0,bl[8211]=!0,bl[8231]=!0;var kl=function(t){function e(e,n,r,i){t.call(this,e,n),this.angle=r,void 0!==i&&(this.segment=i)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.clone=function(){return new e(this.x,this.y,this.angle,this.segment)},e}(i);function Ol(t,e){var n=e.expression;if(\\\"constant\\\"===n.kind)return{kind:\\\"constant\\\",layoutSize:n.evaluate(new ii(t+1))};if(\\\"source\\\"===n.kind)return{kind:\\\"source\\\"};for(var r=n.zoomStops,i=n.interpolationType,o=0;o<r.length&&r[o]<=t;)o++;for(var a=o=Math.max(0,o-1);a<r.length&&r[a]<t+1;)a++;a=Math.min(r.length-1,a);var s=r[o],l=r[a];return\\\"composite\\\"===n.kind?{kind:\\\"composite\\\",minZoom:s,maxZoom:l,interpolationType:i}:{kind:\\\"camera\\\",minZoom:s,maxZoom:l,minSize:n.evaluate(new ii(s)),maxSize:n.evaluate(new ii(l)),interpolationType:i}}function Il(t,e,n){var r=e.uSize,i=n.lowerSize;return\\\"source\\\"===t.kind?i/128:\\\"composite\\\"===t.kind?je(i/128,n.upperSize/128,e.uSizeT):r}function Ll(t,e){var n=0,r=0;if(\\\"constant\\\"===t.kind)r=t.layoutSize;else if(\\\"source\\\"!==t.kind){var i=t.interpolationType,o=i?l(nn.interpolationFactor(i,e,t.minZoom,t.maxZoom),0,1):0;\\\"camera\\\"===t.kind?r=je(t.minSize,t.maxSize,o):n=o}return{uSizeT:n,uSize:r}}Rr(\\\"Anchor\\\",kl);var Pl=Object.freeze({__proto__:null,getSizeData:Ol,evaluateSizeForFeature:Il,evaluateSizeForZoom:Ll,SIZE_PACK_FACTOR:128});function zl(t,e,n,r,i){if(void 0===e.segment)return!0;for(var o=e,a=e.segment+1,s=0;s>-n/2;){if(--a<0)return!1;s-=t[a].dist(o),o=t[a]}s+=t[a].dist(t[a+1]),a++;for(var l=[],u=0;s<n/2;){var c=t[a],h=t[a+1];if(!h)return!1;var p=t[a-1].angleTo(c)-c.angleTo(h);for(p=Math.abs((p+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:p}),u+=p;s-l[0].distance>r;)u-=l.shift().angleDelta;if(u>i)return!1;a++,s+=c.dist(h)}return!0}function Rl(t){for(var e=0,n=0;n<t.length-1;n++)e+=t[n].dist(t[n+1]);return e}function Dl(t,e,n){return t?.6*e*n:0}function $l(t,e){return Math.max(t?t.right-t.left:0,e?e.right-e.left:0)}function Bl(t,e,n,r,i,o){for(var a=Dl(n,i,o),s=$l(n,r)*o,l=0,u=Rl(t)/2,c=0;c<t.length-1;c++){var h=t[c],p=t[c+1],f=h.dist(p);if(l+f>u){var d=(u-l)/f,m=je(h.x,p.x,d),v=je(h.y,p.y,d),g=new kl(m,v,p.angleTo(h),c);return g._round(),!a||zl(t,g,s,a,e)?g:void 0}l+=f}}function Nl(t,e,n,r,i,o,a,s,l){var u=Dl(r,o,a),c=$l(r,i),h=c*a,p=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-h<e/4&&(e=h+e/4),function t(e,n,r,i,o,a,s,l,u){for(var c=a/2,h=Rl(e),p=0,f=n-r,d=[],m=0;m<e.length-1;m++){for(var v=e[m],g=e[m+1],y=v.dist(g),_=g.angleTo(v);f+r<p+y;){var b=((f+=r)-p)/y,x=je(v.x,g.x,b),w=je(v.y,g.y,b);if(x>=0&&x<u&&w>=0&&w<u&&f-c>=0&&f+c<=h){var A=new kl(x,w,_,m);A._round(),i&&!zl(e,A,a,i,o)||d.push(A)}}p+=y}return l||d.length||s||(d=t(e,p/2,r,i,o,a,s,!0,u)),d}(t,p?e/2*s%e:(c/2+2*o)*a*s%e,e,u,n,h,p,!1,l)}function Fl(t,e,n,r,o){for(var a=[],s=0;s<t.length;s++)for(var l=t[s],u=void 0,c=0;c<l.length-1;c++){var h=l[c],p=l[c+1];h.x<e&&p.x<e||(h.x<e?h=new i(e,h.y+(e-h.x)/(p.x-h.x)*(p.y-h.y))._round():p.x<e&&(p=new i(e,h.y+(e-h.x)/(p.x-h.x)*(p.y-h.y))._round()),h.y<n&&p.y<n||(h.y<n?h=new i(h.x+(n-h.y)/(p.y-h.y)*(p.x-h.x),n)._round():p.y<n&&(p=new i(h.x+(n-h.y)/(p.y-h.y)*(p.x-h.x),n)._round()),h.x>=r&&p.x>=r||(h.x>=r?h=new i(r,h.y+(r-h.x)/(p.x-h.x)*(p.y-h.y))._round():p.x>=r&&(p=new i(r,h.y+(r-h.x)/(p.x-h.x)*(p.y-h.y))._round()),h.y>=o&&p.y>=o||(h.y>=o?h=new i(h.x+(o-h.y)/(p.y-h.y)*(p.x-h.x),o)._round():p.y>=o&&(p=new i(h.x+(o-h.y)/(p.y-h.y)*(p.x-h.x),o)._round()),u&&h.equals(u[u.length-1])||a.push(u=[h]),u.push(p)))))}return a}function jl(t,e,n,r){var o=[],a=t.image,s=a.pixelRatio,l=a.paddedRect.w-2,u=a.paddedRect.h-2,c=t.right-t.left,h=t.bottom-t.top,p=a.stretchX||[[0,l]],f=a.stretchY||[[0,u]],d=function(t,e){return t+e[1]-e[0]},m=p.reduce(d,0),v=f.reduce(d,0),g=l-m,y=u-v,_=0,b=m,x=0,w=v,A=0,C=g,M=0,E=y;if(a.content&&r){var T=a.content;_=Ul(p,0,T[0]),x=Ul(f,0,T[1]),b=Ul(p,T[0],T[2]),w=Ul(f,T[1],T[3]),A=T[0]-_,M=T[1]-x,C=T[2]-T[0]-b,E=T[3]-T[1]-w}var S=function(r,o,l,u){var p=Vl(r.stretch-_,b,c,t.left),f=Hl(r.fixed-A,C,r.stretch,m),d=Vl(o.stretch-x,w,h,t.top),g=Hl(o.fixed-M,E,o.stretch,v),y=Vl(l.stretch-_,b,c,t.left),T=Hl(l.fixed-A,C,l.stretch,m),S=Vl(u.stretch-x,w,h,t.top),k=Hl(u.fixed-M,E,u.stretch,v),O=new i(p,d),I=new i(y,d),L=new i(y,S),P=new i(p,S),z=new i(f/s,g/s),R=new i(T/s,k/s),D=e*Math.PI/180;if(D){var $=Math.sin(D),B=Math.cos(D),N=[B,-$,$,B];O._matMult(N),I._matMult(N),P._matMult(N),L._matMult(N)}var F=r.stretch+r.fixed,j=o.stretch+o.fixed;return{tl:O,tr:I,bl:P,br:L,tex:{x:a.paddedRect.x+1+F,y:a.paddedRect.y+1+j,w:l.stretch+l.fixed-F,h:u.stretch+u.fixed-j},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:z,pixelOffsetBR:R,minFontScaleX:C/s/c,minFontScaleY:E/s/h,isSDF:n}};if(r&&(a.stretchX||a.stretchY))for(var k=ql(p,g,m),O=ql(f,y,v),I=0;I<k.length-1;I++)for(var L=k[I],P=k[I+1],z=0;z<O.length-1;z++)o.push(S(L,O[z],P,O[z+1]));else o.push(S({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:l+1},{fixed:0,stretch:u+1}));return o}function Ul(t,e,n){for(var r=0,i=0,o=t;i<o.length;i+=1){var a=o[i];r+=Math.max(e,Math.min(n,a[1]))-Math.max(e,Math.min(n,a[0]))}return r}function ql(t,e,n){for(var r=[{fixed:-1,stretch:0}],i=0,o=t;i<o.length;i+=1){var a=o[i],s=a[0],l=a[1],u=r[r.length-1];r.push({fixed:s-u.stretch,stretch:u.stretch}),r.push({fixed:s-u.stretch,stretch:u.stretch+(l-s)})}return r.push({fixed:e+1,stretch:n}),r}function Vl(t,e,n,r){return t/e*n+r}function Hl(t,e,n,r){return t-e*n/r}var Gl=function(t,e,n,r,o,a,s,l,u,c){if(this.boxStartIndex=t.length,u){var h=a.top,p=a.bottom,f=a.collisionPadding;f&&(h-=f[1],p+=f[3]);var d=p-h;d>0&&(d=Math.max(10,d),this.circleDiameter=d)}else{var m=a.top*s-l,v=a.bottom*s+l,g=a.left*s-l,y=a.right*s+l,_=a.collisionPadding;if(_&&(g-=_[0]*s,m-=_[1]*s,y+=_[2]*s,v+=_[3]*s),c){var b=new i(g,m),x=new i(y,m),w=new i(g,v),A=new i(y,v),C=c*Math.PI/180;b._rotate(C),x._rotate(C),w._rotate(C),A._rotate(C),g=Math.min(b.x,x.x,w.x,A.x),y=Math.max(b.x,x.x,w.x,A.x),m=Math.min(b.y,x.y,w.y,A.y),v=Math.max(b.y,x.y,w.y,A.y)}t.emplaceBack(e.x,e.y,g,m,y,v,n,r,o)}this.boxEndIndex=t.length},Wl=function(t,e){if(void 0===t&&(t=[]),void 0===e&&(e=Xl),this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(var n=(this.length>>1)-1;n>=0;n--)this._down(n)};function Xl(t,e){return t<e?-1:t>e?1:0}function Yl(t,e,n){void 0===e&&(e=1),void 0===n&&(n=!1);for(var r=1/0,o=1/0,a=-1/0,s=-1/0,l=t[0],u=0;u<l.length;u++){var c=l[u];(!u||c.x<r)&&(r=c.x),(!u||c.y<o)&&(o=c.y),(!u||c.x>a)&&(a=c.x),(!u||c.y>s)&&(s=c.y)}var h=Math.min(a-r,s-o),p=h/2,f=new Wl([],Zl);if(0===h)return new i(r,o);for(var d=r;d<a;d+=h)for(var m=o;m<s;m+=h)f.push(new Kl(d+p,m+p,p,t));for(var v=function(t){for(var e=0,n=0,r=0,i=t[0],o=0,a=i.length,s=a-1;o<a;s=o++){var l=i[o],u=i[s],c=l.x*u.y-u.x*l.y;n+=(l.x+u.x)*c,r+=(l.y+u.y)*c,e+=3*c}return new Kl(n/e,r/e,0,t)}(t),g=f.length;f.length;){var y=f.pop();(y.d>v.d||!v.d)&&(v=y,n&&console.log(\\\"found best %d after %d probes\\\",Math.round(1e4*y.d)/1e4,g)),y.max-v.d<=e||(f.push(new Kl(y.p.x-(p=y.h/2),y.p.y-p,p,t)),f.push(new Kl(y.p.x+p,y.p.y-p,p,t)),f.push(new Kl(y.p.x-p,y.p.y+p,p,t)),f.push(new Kl(y.p.x+p,y.p.y+p,p,t)),g+=4)}return n&&(console.log(\\\"num probes: \\\"+g),console.log(\\\"best distance: \\\"+v.d)),v.p}function Zl(t,e){return e.max-t.max}function Kl(t,e,n,r){this.p=new i(t,e),this.h=n,this.d=function(t,e){for(var n=!1,r=1/0,i=0;i<e.length;i++)for(var o=e[i],a=0,s=o.length,l=s-1;a<s;l=a++){var u=o[a],c=o[l];u.y>t.y!=c.y>t.y&&t.x<(c.x-u.x)*(t.y-u.y)/(c.y-u.y)+u.x&&(n=!n),r=Math.min(r,Go(t,u,c))}return(n?1:-1)*Math.sqrt(r)}(this.p,r),this.max=this.d+this.h*Math.SQRT2}Wl.prototype.push=function(t){this.data.push(t),this.length++,this._up(this.length-1)},Wl.prototype.pop=function(){if(0!==this.length){var t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}},Wl.prototype.peek=function(){return this.data[0]},Wl.prototype._up=function(t){for(var e=this.data,n=this.compare,r=e[t];t>0;){var i=t-1>>1,o=e[i];if(n(r,o)>=0)break;e[t]=o,t=i}e[t]=r},Wl.prototype._down=function(t){for(var e=this.data,n=this.compare,r=this.length>>1,i=e[t];t<r;){var o=1+(t<<1),a=e[o],s=o+1;if(s<this.length&&n(e[s],a)<0&&(o=s,a=e[s]),n(a,i)>=0)break;e[t]=a,t=o}e[t]=i};var Jl=Number.POSITIVE_INFINITY;function Ql(t,e){return e[1]!==Jl?function(t,e,n){var r=0,i=0;switch(e=Math.abs(e),n=Math.abs(n),t){case\\\"top-right\\\":case\\\"top-left\\\":case\\\"top\\\":i=n-7;break;case\\\"bottom-right\\\":case\\\"bottom-left\\\":case\\\"bottom\\\":i=7-n}switch(t){case\\\"top-right\\\":case\\\"bottom-right\\\":case\\\"right\\\":r=-e;break;case\\\"top-left\\\":case\\\"bottom-left\\\":case\\\"left\\\":r=e}return[r,i]}(t,e[0],e[1]):function(t,e){var n=0,r=0;e<0&&(e=0);var i=e/Math.sqrt(2);switch(t){case\\\"top-right\\\":case\\\"top-left\\\":r=i-7;break;case\\\"bottom-right\\\":case\\\"bottom-left\\\":r=7-i;break;case\\\"bottom\\\":r=7-e;break;case\\\"top\\\":r=e-7}switch(t){case\\\"top-right\\\":case\\\"bottom-right\\\":n=-i;break;case\\\"top-left\\\":case\\\"bottom-left\\\":n=i;break;case\\\"left\\\":n=e;break;case\\\"right\\\":n=-e}return[n,r]}(t,e[0])}function tu(t){switch(t){case\\\"right\\\":case\\\"top-right\\\":case\\\"bottom-right\\\":return\\\"right\\\";case\\\"left\\\":case\\\"top-left\\\":case\\\"bottom-left\\\":return\\\"left\\\"}return\\\"center\\\"}function eu(t,e,n,r,o,a,s,l,u,c,h,p,f,d,m){var v=function(t,e,n,r,o,a,s,l){for(var u=r.layout.get(\\\"text-rotate\\\").evaluate(a,{})*Math.PI/180,c=[],h=0,p=e.positionedLines;h<p.length;h+=1)for(var f=p[h],d=0,m=f.positionedGlyphs;d<m.length;d+=1){var v=m[d];if(v.rect){var g=v.rect||{},y=4,_=!0,b=1,x=0,w=(o||l)&&v.vertical,A=v.metrics.advance*v.scale/2;if(l&&e.verticalizable&&(x=f.lineOffset/2-(v.imageName?-(24-v.metrics.width*v.scale)/2:24*(v.scale-1))),v.imageName){var C=s[v.imageName];_=C.sdf,y=1/(b=C.pixelRatio)}var M=o?[v.x+A,v.y]:[0,0],E=o?[0,0]:[v.x+A+n[0],v.y+n[1]-x],T=[0,0];w&&(T=E,E=[0,0]);var S=(v.metrics.left-y)*v.scale-A+E[0],k=(-v.metrics.top-y)*v.scale+E[1],O=S+g.w*v.scale/b,I=k+g.h*v.scale/b,L=new i(S,k),P=new i(O,k),z=new i(S,I),R=new i(O,I);if(w){var D=new i(-A,A- -17),$=-Math.PI/2,B=12-A,N=new i(22-B,-(v.imageName?B:0)),F=new(Function.prototype.bind.apply(i,[null].concat(T)));L._rotateAround($,D)._add(N)._add(F),P._rotateAround($,D)._add(N)._add(F),z._rotateAround($,D)._add(N)._add(F),R._rotateAround($,D)._add(N)._add(F)}if(u){var j=Math.sin(u),U=Math.cos(u),q=[U,-j,j,U];L._matMult(q),P._matMult(q),z._matMult(q),R._matMult(q)}var V=new i(0,0),H=new i(0,0);c.push({tl:L,tr:P,bl:z,br:R,tex:g,writingMode:e.writingMode,glyphOffset:M,sectionIndex:v.sectionIndex,isSDF:_,pixelOffsetTL:V,pixelOffsetBR:H,minFontScaleX:0,minFontScaleY:0})}}return c}(0,n,l,o,a,s,r,t.allowVerticalPlacement),g=t.textSizeData,y=null;\\\"source\\\"===g.kind?(y=[128*o.layout.get(\\\"text-size\\\").evaluate(s,{})])[0]>32640&&x(t.layerIds[0]+': Value for \\\"text-size\\\" is >= 255. Reduce your \\\"text-size\\\".'):\\\"composite\\\"===g.kind&&((y=[128*d.compositeTextSizes[0].evaluate(s,{},m),128*d.compositeTextSizes[1].evaluate(s,{},m)])[0]>32640||y[1]>32640)&&x(t.layerIds[0]+': Value for \\\"text-size\\\" is >= 255. Reduce your \\\"text-size\\\".'),t.addSymbols(t.text,v,y,l,a,s,c,e,u.lineStartIndex,u.lineLength,f,m);for(var _=0,b=h;_<b.length;_+=1)p[b[_]]=t.text.placedSymbolArray.length-1;return 4*v.length}function nu(t){for(var e in t)return t[e];return null}function ru(t,e,n,r){var i=t.compareText;if(e in i){for(var o=i[e],a=o.length-1;a>=0;a--)if(r.dist(o[a])<n)return!0}else i[e]=[];return i[e].push(r),!1}var iu=ms.VectorTileFeature.types,ou=[{name:\\\"a_fade_opacity\\\",components:1,type:\\\"Uint8\\\",offset:0}];function au(t,e,n,r,i,o,a,s,l,u,c,h,p){var f=s?Math.min(32640,Math.round(s[0])):0,d=s?Math.min(32640,Math.round(s[1])):0;t.emplaceBack(e,n,Math.round(32*r),Math.round(32*i),o,a,(f<<1)+(l?1:0),d,16*u,16*c,256*h,256*p)}function su(t,e,n){t.emplaceBack(e.x,e.y,n),t.emplaceBack(e.x,e.y,n),t.emplaceBack(e.x,e.y,n),t.emplaceBack(e.x,e.y,n)}function lu(t){for(var e=0,n=t.sections;e<n.length;e+=1)if(Xr(n[e].text))return!0;return!1}var uu=function(t){this.layoutVertexArray=new Oi,this.indexArray=new $i,this.programConfigurations=t,this.segments=new io,this.dynamicLayoutVertexArray=new Ii,this.opacityVertexArray=new Li,this.placedSymbolArray=new Zi};uu.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length&&0===this.indexArray.length&&0===this.dynamicLayoutVertexArray.length&&0===this.opacityVertexArray.length},uu.prototype.upload=function(t,e,n,r){this.isEmpty()||(n&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Rs.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,Ds.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,ou,!0),this.opacityVertexBuffer.itemSize=1),(n||r)&&this.programConfigurations.upload(t))},uu.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},Rr(\\\"SymbolBuffers\\\",uu);var cu=function(t,e,n){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new n,this.segments=new io,this.collisionVertexArray=new Di};cu.prototype.upload=function(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,$s.members,!0)},cu.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},Rr(\\\"CollisionBuffers\\\",cu);var hu=function(t){this.collisionBoxArray=t.collisionBoxArray,this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.pixelRatio=t.pixelRatio,this.sourceLayerIndex=t.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=na([]),this.placementViewportMatrix=na([]);var e=this.layers[0]._unevaluatedLayout._values;this.textSizeData=Ol(this.zoom,e[\\\"text-size\\\"]),this.iconSizeData=Ol(this.zoom,e[\\\"icon-size\\\"]);var n=this.layers[0].layout,r=n.get(\\\"symbol-sort-key\\\"),i=n.get(\\\"symbol-z-order\\\");this.sortFeaturesByKey=\\\"viewport-y\\\"!==i&&void 0!==r.constantOr(1),this.sortFeaturesByY=(\\\"viewport-y\\\"===i||\\\"auto\\\"===i&&!this.sortFeaturesByKey)&&(n.get(\\\"text-allow-overlap\\\")||n.get(\\\"icon-allow-overlap\\\")||n.get(\\\"text-ignore-placement\\\")||n.get(\\\"icon-ignore-placement\\\")),\\\"point\\\"===n.get(\\\"symbol-placement\\\")&&(this.writingModes=n.get(\\\"text-writing-mode\\\").map((function(t){return ml[t]}))),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id})),this.sourceID=t.sourceID};hu.prototype.createArrays=function(){this.text=new uu(new Lo(Rs.members,this.layers,this.zoom,(function(t){return/^text/.test(t)}))),this.icon=new uu(new Lo(Rs.members,this.layers,this.zoom,(function(t){return/^icon/.test(t)}))),this.glyphOffsetArray=new Qi,this.lineVertexArray=new to,this.symbolInstances=new Ji},hu.prototype.calculateGlyphDependencies=function(t,e,n,r,i){for(var o=0;o<t.length;o++)if(e[t.charCodeAt(o)]=!0,(n||r)&&i){var a=js[t.charAt(o)];a&&(e[a.charCodeAt(0)]=!0)}},hu.prototype.populate=function(t,e,n){var r=this.layers[0],i=r.layout,o=i.get(\\\"text-font\\\"),a=i.get(\\\"text-field\\\"),s=i.get(\\\"icon-image\\\"),l=(\\\"constant\\\"!==a.value.kind||a.value.value instanceof te&&!a.value.value.isEmpty()||a.value.value.toString().length>0)&&(\\\"constant\\\"!==o.value.kind||o.value.value.length>0),u=\\\"constant\\\"!==s.value.kind||!!s.value.value||Object.keys(s.parameters).length>0,c=i.get(\\\"symbol-sort-key\\\");if(this.features=[],l||u){for(var h=e.iconDependencies,p=e.glyphDependencies,f=e.availableImages,d=new ii(this.zoom),m=0,v=t;m<v.length;m+=1){var g=v[m],y=g.feature,_=g.id,b=g.index,x=g.sourceLayerIndex,w=r._featureFilter.needGeometry,A={type:y.type,id:_,properties:y.properties,geometry:w?Do(y):[]};if(r._featureFilter.filter(d,A,n)){w||(A.geometry=Do(y));var C=void 0;if(l){var M=r.getValueAndResolveTokens(\\\"text-field\\\",A,n,f),E=te.factory(M);lu(E)&&(this.hasRTLText=!0),(!this.hasRTLText||\\\"unavailable\\\"===ei()||this.hasRTLText&&ri.isParsed())&&(C=Fs(E,r,A))}var T=void 0;if(u){var S=r.getValueAndResolveTokens(\\\"icon-image\\\",A,n,f);T=S instanceof ee?S:ee.fromString(S)}if(C||T){var k=this.sortFeaturesByKey?c.evaluate(A,{},n):void 0,O={id:_,text:C,icon:T,index:b,sourceLayerIndex:x,geometry:Do(y),properties:y.properties,type:iu[y.type],sortKey:k};if(this.features.push(O),T&&(h[T.name]=!0),C){var I=o.evaluate(A,{},n).join(\\\",\\\"),L=\\\"map\\\"===i.get(\\\"text-rotation-alignment\\\")&&\\\"point\\\"!==i.get(\\\"symbol-placement\\\");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(ml.vertical)>=0;for(var P=0,z=C.sections;P<z.length;P+=1){var R=z[P];if(R.image)h[R.image.name]=!0;else{var D=qr(C.toString()),$=R.fontStack||I,B=p[$]=p[$]||{};this.calculateGlyphDependencies(R.text,B,L,this.allowVerticalPlacement,D)}}}}}}\\\"line\\\"===i.get(\\\"symbol-placement\\\")&&(this.features=function(t){var e={},n={},r=[],i=0;function o(e){r.push(t[e]),i++}function a(t,e,i){var o=n[t];return delete n[t],n[e]=o,r[o].geometry[0].pop(),r[o].geometry[0]=r[o].geometry[0].concat(i[0]),o}function s(t,n,i){var o=e[n];return delete e[n],e[t]=o,r[o].geometry[0].shift(),r[o].geometry[0]=i[0].concat(r[o].geometry[0]),o}function l(t,e,n){var r=n?e[0][e[0].length-1]:e[0][0];return t+\\\":\\\"+r.x+\\\":\\\"+r.y}for(var u=0;u<t.length;u++){var c=t[u],h=c.geometry,p=c.text?c.text.toString():null;if(p){var f=l(p,h),d=l(p,h,!0);if(f in n&&d in e&&n[f]!==e[d]){var m=s(f,d,h),v=a(f,d,r[m].geometry);delete e[f],delete n[d],n[l(p,r[v].geometry,!0)]=v,r[m].geometry=null}else f in n?a(f,d,h):d in e?s(f,d,h):(o(u),e[f]=i-1,n[d]=i-1)}else o(u)}return r.filter((function(t){return t.geometry}))}(this.features)),this.sortFeaturesByKey&&this.features.sort((function(t,e){return t.sortKey-e.sortKey}))}},hu.prototype.update=function(t,e,n){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,n),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,n))},hu.prototype.isEmpty=function(){return 0===this.symbolInstances.length&&!this.hasRTLText},hu.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},hu.prototype.upload=function(t){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},hu.prototype.destroyDebugData=function(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()},hu.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()},hu.prototype.addToLineVertexArray=function(t,e){var n=this.lineVertexArray.length;if(void 0!==t.segment){for(var r=t.dist(e[t.segment+1]),i=t.dist(e[t.segment]),o={},a=t.segment+1;a<e.length;a++)o[a]={x:e[a].x,y:e[a].y,tileUnitDistanceFromAnchor:r},a<e.length-1&&(r+=e[a+1].dist(e[a]));for(var s=t.segment||0;s>=0;s--)o[s]={x:e[s].x,y:e[s].y,tileUnitDistanceFromAnchor:i},s>0&&(i+=e[s-1].dist(e[s]));for(var l=0;l<e.length;l++){var u=o[l];this.lineVertexArray.emplaceBack(u.x,u.y,u.tileUnitDistanceFromAnchor)}}return{lineStartIndex:n,lineLength:this.lineVertexArray.length-n}},hu.prototype.addSymbols=function(t,e,n,r,i,o,a,s,l,u,c,h){for(var p=t.indexArray,f=t.layoutVertexArray,d=t.segments.prepareSegment(4*e.length,f,p,o.sortKey),m=this.glyphOffsetArray.length,v=d.vertexLength,g=this.allowVerticalPlacement&&a===ml.vertical?Math.PI/2:0,y=o.text&&o.text.sections,_=0;_<e.length;_++){var b=e[_],x=b.tl,w=b.tr,A=b.bl,C=b.br,M=b.tex,E=b.pixelOffsetTL,T=b.pixelOffsetBR,S=b.minFontScaleX,k=b.minFontScaleY,O=b.glyphOffset,I=b.isSDF,L=b.sectionIndex,P=d.vertexLength,z=O[1];au(f,s.x,s.y,x.x,z+x.y,M.x,M.y,n,I,E.x,E.y,S,k),au(f,s.x,s.y,w.x,z+w.y,M.x+M.w,M.y,n,I,T.x,E.y,S,k),au(f,s.x,s.y,A.x,z+A.y,M.x,M.y+M.h,n,I,E.x,T.y,S,k),au(f,s.x,s.y,C.x,z+C.y,M.x+M.w,M.y+M.h,n,I,T.x,T.y,S,k),su(t.dynamicLayoutVertexArray,s,g),p.emplaceBack(P,P+1,P+2),p.emplaceBack(P+1,P+2,P+3),d.vertexLength+=4,d.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(O[0]),_!==e.length-1&&L===e[_+1].sectionIndex||t.programConfigurations.populatePaintArrays(f.length,o,o.index,{},h,y&&y[L])}t.placedSymbolArray.emplaceBack(s.x,s.y,m,this.glyphOffsetArray.length-m,v,l,u,s.segment,n?n[0]:0,n?n[1]:0,r[0],r[1],a,0,!1,0,c)},hu.prototype._addCollisionDebugVertex=function(t,e,n,r,i,o){return e.emplaceBack(0,0),t.emplaceBack(n.x,n.y,r,i,Math.round(o.x),Math.round(o.y))},hu.prototype.addCollisionDebugVertices=function(t,e,n,r,o,a,s){var l=o.segments.prepareSegment(4,o.layoutVertexArray,o.indexArray),u=l.vertexLength,c=o.layoutVertexArray,h=o.collisionVertexArray,p=s.anchorX,f=s.anchorY;this._addCollisionDebugVertex(c,h,a,p,f,new i(t,e)),this._addCollisionDebugVertex(c,h,a,p,f,new i(n,e)),this._addCollisionDebugVertex(c,h,a,p,f,new i(n,r)),this._addCollisionDebugVertex(c,h,a,p,f,new i(t,r)),l.vertexLength+=4;var d=o.indexArray;d.emplaceBack(u,u+1),d.emplaceBack(u+1,u+2),d.emplaceBack(u+2,u+3),d.emplaceBack(u+3,u),l.primitiveLength+=4},hu.prototype.addDebugCollisionBoxes=function(t,e,n,r){for(var i=t;i<e;i++){var o=this.collisionBoxArray.get(i);this.addCollisionDebugVertices(o.x1,o.y1,o.x2,o.y2,r?this.textCollisionBox:this.iconCollisionBox,o.anchorPoint,n)}},hu.prototype.generateCollisionDebugBuffers=function(){this.hasDebugData()&&this.destroyDebugData(),this.textCollisionBox=new cu(zi,Bs.members,qi),this.iconCollisionBox=new cu(zi,Bs.members,qi);for(var t=0;t<this.symbolInstances.length;t++){var e=this.symbolInstances.get(t);this.addDebugCollisionBoxes(e.textBoxStartIndex,e.textBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.verticalTextBoxStartIndex,e.verticalTextBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.iconBoxStartIndex,e.iconBoxEndIndex,e,!1),this.addDebugCollisionBoxes(e.verticalIconBoxStartIndex,e.verticalIconBoxEndIndex,e,!1)}},hu.prototype._deserializeCollisionBoxesForSymbol=function(t,e,n,r,i,o,a,s,l){for(var u={},c=e;c<n;c++){var h=t.get(c);u.textBox={x1:h.x1,y1:h.y1,x2:h.x2,y2:h.y2,anchorPointX:h.anchorPointX,anchorPointY:h.anchorPointY},u.textFeatureIndex=h.featureIndex;break}for(var p=r;p<i;p++){var f=t.get(p);u.verticalTextBox={x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,anchorPointX:f.anchorPointX,anchorPointY:f.anchorPointY},u.verticalTextFeatureIndex=f.featureIndex;break}for(var d=o;d<a;d++){var m=t.get(d);u.iconBox={x1:m.x1,y1:m.y1,x2:m.x2,y2:m.y2,anchorPointX:m.anchorPointX,anchorPointY:m.anchorPointY},u.iconFeatureIndex=m.featureIndex;break}for(var v=s;v<l;v++){var g=t.get(v);u.verticalIconBox={x1:g.x1,y1:g.y1,x2:g.x2,y2:g.y2,anchorPointX:g.anchorPointX,anchorPointY:g.anchorPointY},u.verticalIconFeatureIndex=g.featureIndex;break}return u},hu.prototype.deserializeCollisionBoxes=function(t){this.collisionArrays=[];for(var e=0;e<this.symbolInstances.length;e++){var n=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,n.textBoxStartIndex,n.textBoxEndIndex,n.verticalTextBoxStartIndex,n.verticalTextBoxEndIndex,n.iconBoxStartIndex,n.iconBoxEndIndex,n.verticalIconBoxStartIndex,n.verticalIconBoxEndIndex))}},hu.prototype.hasTextData=function(){return this.text.segments.get().length>0},hu.prototype.hasIconData=function(){return this.icon.segments.get().length>0},hu.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},hu.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},hu.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},hu.prototype.addIndicesForPlacedSymbol=function(t,e){for(var n=t.placedSymbolArray.get(e),r=n.vertexStartIndex+4*n.numGlyphs,i=n.vertexStartIndex;i<r;i+=4)t.indexArray.emplaceBack(i,i+1,i+2),t.indexArray.emplaceBack(i+1,i+2,i+3)},hu.prototype.getSortedSymbolIndexes=function(t){if(this.sortedAngle===t&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;for(var e=Math.sin(t),n=Math.cos(t),r=[],i=[],o=[],a=0;a<this.symbolInstances.length;++a){o.push(a);var s=this.symbolInstances.get(a);r.push(0|Math.round(e*s.anchorX+n*s.anchorY)),i.push(s.featureIndex)}return o.sort((function(t,e){return r[t]-r[e]||i[e]-i[t]})),o},hu.prototype.addToSortKeyRanges=function(t,e){var n=this.sortKeyRanges[this.sortKeyRanges.length-1];n&&n.sortKey===e?n.symbolInstanceEnd=t+1:this.sortKeyRanges.push({sortKey:e,symbolInstanceStart:t,symbolInstanceEnd:t+1})},hu.prototype.sortFeatures=function(t){var e=this;if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var n=0,r=this.symbolInstanceIndexes;n<r.length;n+=1){var i=this.symbolInstances.get(r[n]);this.featureSortOrder.push(i.featureIndex),[i.rightJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.leftJustifiedTextSymbolIndex].forEach((function(t,n,r){t>=0&&r.indexOf(t)===n&&e.addIndicesForPlacedSymbol(e.text,t)})),i.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,i.verticalPlacedTextSymbolIndex),i.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,i.placedIconSymbolIndex),i.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,i.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Rr(\\\"SymbolBucket\\\",hu,{omit:[\\\"layers\\\",\\\"collisionBoxArray\\\",\\\"features\\\",\\\"compareText\\\"]}),hu.MAX_GLYPHS=65535,hu.addDynamicAttributes=su;var pu=new yi({\\\"symbol-placement\\\":new fi(Et.layout_symbol[\\\"symbol-placement\\\"]),\\\"symbol-spacing\\\":new fi(Et.layout_symbol[\\\"symbol-spacing\\\"]),\\\"symbol-avoid-edges\\\":new fi(Et.layout_symbol[\\\"symbol-avoid-edges\\\"]),\\\"symbol-sort-key\\\":new di(Et.layout_symbol[\\\"symbol-sort-key\\\"]),\\\"symbol-z-order\\\":new fi(Et.layout_symbol[\\\"symbol-z-order\\\"]),\\\"icon-allow-overlap\\\":new fi(Et.layout_symbol[\\\"icon-allow-overlap\\\"]),\\\"icon-ignore-placement\\\":new fi(Et.layout_symbol[\\\"icon-ignore-placement\\\"]),\\\"icon-optional\\\":new fi(Et.layout_symbol[\\\"icon-optional\\\"]),\\\"icon-rotation-alignment\\\":new fi(Et.layout_symbol[\\\"icon-rotation-alignment\\\"]),\\\"icon-size\\\":new di(Et.layout_symbol[\\\"icon-size\\\"]),\\\"icon-text-fit\\\":new fi(Et.layout_symbol[\\\"icon-text-fit\\\"]),\\\"icon-text-fit-padding\\\":new fi(Et.layout_symbol[\\\"icon-text-fit-padding\\\"]),\\\"icon-image\\\":new di(Et.layout_symbol[\\\"icon-image\\\"]),\\\"icon-rotate\\\":new di(Et.layout_symbol[\\\"icon-rotate\\\"]),\\\"icon-padding\\\":new fi(Et.layout_symbol[\\\"icon-padding\\\"]),\\\"icon-keep-upright\\\":new fi(Et.layout_symbol[\\\"icon-keep-upright\\\"]),\\\"icon-offset\\\":new di(Et.layout_symbol[\\\"icon-offset\\\"]),\\\"icon-anchor\\\":new di(Et.layout_symbol[\\\"icon-anchor\\\"]),\\\"icon-pitch-alignment\\\":new fi(Et.layout_symbol[\\\"icon-pitch-alignment\\\"]),\\\"text-pitch-alignment\\\":new fi(Et.layout_symbol[\\\"text-pitch-alignment\\\"]),\\\"text-rotation-alignment\\\":new fi(Et.layout_symbol[\\\"text-rotation-alignment\\\"]),\\\"text-field\\\":new di(Et.layout_symbol[\\\"text-field\\\"]),\\\"text-font\\\":new di(Et.layout_symbol[\\\"text-font\\\"]),\\\"text-size\\\":new di(Et.layout_symbol[\\\"text-size\\\"]),\\\"text-max-width\\\":new di(Et.layout_symbol[\\\"text-max-width\\\"]),\\\"text-line-height\\\":new fi(Et.layout_symbol[\\\"text-line-height\\\"]),\\\"text-letter-spacing\\\":new di(Et.layout_symbol[\\\"text-letter-spacing\\\"]),\\\"text-justify\\\":new di(Et.layout_symbol[\\\"text-justify\\\"]),\\\"text-radial-offset\\\":new di(Et.layout_symbol[\\\"text-radial-offset\\\"]),\\\"text-variable-anchor\\\":new fi(Et.layout_symbol[\\\"text-variable-anchor\\\"]),\\\"text-anchor\\\":new di(Et.layout_symbol[\\\"text-anchor\\\"]),\\\"text-max-angle\\\":new fi(Et.layout_symbol[\\\"text-max-angle\\\"]),\\\"text-writing-mode\\\":new fi(Et.layout_symbol[\\\"text-writing-mode\\\"]),\\\"text-rotate\\\":new di(Et.layout_symbol[\\\"text-rotate\\\"]),\\\"text-padding\\\":new fi(Et.layout_symbol[\\\"text-padding\\\"]),\\\"text-keep-upright\\\":new fi(Et.layout_symbol[\\\"text-keep-upright\\\"]),\\\"text-transform\\\":new di(Et.layout_symbol[\\\"text-transform\\\"]),\\\"text-offset\\\":new di(Et.layout_symbol[\\\"text-offset\\\"]),\\\"text-allow-overlap\\\":new fi(Et.layout_symbol[\\\"text-allow-overlap\\\"]),\\\"text-ignore-placement\\\":new fi(Et.layout_symbol[\\\"text-ignore-placement\\\"]),\\\"text-optional\\\":new fi(Et.layout_symbol[\\\"text-optional\\\"])}),fu={paint:new yi({\\\"icon-opacity\\\":new di(Et.paint_symbol[\\\"icon-opacity\\\"]),\\\"icon-color\\\":new di(Et.paint_symbol[\\\"icon-color\\\"]),\\\"icon-halo-color\\\":new di(Et.paint_symbol[\\\"icon-halo-color\\\"]),\\\"icon-halo-width\\\":new di(Et.paint_symbol[\\\"icon-halo-width\\\"]),\\\"icon-halo-blur\\\":new di(Et.paint_symbol[\\\"icon-halo-blur\\\"]),\\\"icon-translate\\\":new fi(Et.paint_symbol[\\\"icon-translate\\\"]),\\\"icon-translate-anchor\\\":new fi(Et.paint_symbol[\\\"icon-translate-anchor\\\"]),\\\"text-opacity\\\":new di(Et.paint_symbol[\\\"text-opacity\\\"]),\\\"text-color\\\":new di(Et.paint_symbol[\\\"text-color\\\"],{runtimeType:Bt,getOverride:function(t){return t.textColor},hasOverride:function(t){return!!t.textColor}}),\\\"text-halo-color\\\":new di(Et.paint_symbol[\\\"text-halo-color\\\"]),\\\"text-halo-width\\\":new di(Et.paint_symbol[\\\"text-halo-width\\\"]),\\\"text-halo-blur\\\":new di(Et.paint_symbol[\\\"text-halo-blur\\\"]),\\\"text-translate\\\":new fi(Et.paint_symbol[\\\"text-translate\\\"]),\\\"text-translate-anchor\\\":new fi(Et.paint_symbol[\\\"text-translate-anchor\\\"])}),layout:pu},du=function(t){this.type=t.property.overrides?t.property.overrides.runtimeType:zt,this.defaultValue=t};du.prototype.evaluate=function(t){if(t.formattedSection){var e=this.defaultValue.property.overrides;if(e&&e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default},du.prototype.eachChild=function(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression)},du.prototype.outputDefined=function(){return!1},du.prototype.serialize=function(){return null},Rr(\\\"FormatSectionOverride\\\",du,{omit:[\\\"defaultValue\\\"]});var mu=function(t){function e(e){t.call(this,e,fu)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.recalculate=function(e,n){if(t.prototype.recalculate.call(this,e,n),\\\"auto\\\"===this.layout.get(\\\"icon-rotation-alignment\\\")&&(this.layout._values[\\\"icon-rotation-alignment\\\"]=\\\"point\\\"!==this.layout.get(\\\"symbol-placement\\\")?\\\"map\\\":\\\"viewport\\\"),\\\"auto\\\"===this.layout.get(\\\"text-rotation-alignment\\\")&&(this.layout._values[\\\"text-rotation-alignment\\\"]=\\\"point\\\"!==this.layout.get(\\\"symbol-placement\\\")?\\\"map\\\":\\\"viewport\\\"),\\\"auto\\\"===this.layout.get(\\\"text-pitch-alignment\\\")&&(this.layout._values[\\\"text-pitch-alignment\\\"]=this.layout.get(\\\"text-rotation-alignment\\\")),\\\"auto\\\"===this.layout.get(\\\"icon-pitch-alignment\\\")&&(this.layout._values[\\\"icon-pitch-alignment\\\"]=this.layout.get(\\\"icon-rotation-alignment\\\")),\\\"point\\\"===this.layout.get(\\\"symbol-placement\\\")){var r=this.layout.get(\\\"text-writing-mode\\\");if(r){for(var i=[],o=0,a=r;o<a.length;o+=1){var s=a[o];i.indexOf(s)<0&&i.push(s)}this.layout._values[\\\"text-writing-mode\\\"]=i}else this.layout._values[\\\"text-writing-mode\\\"]=[\\\"horizontal\\\"]}this._setPaintOverrides()},e.prototype.getValueAndResolveTokens=function(t,e,n,r){var i=this.layout.get(t).evaluate(e,{},n,r),o=this._unevaluatedLayout._values[t];return o.isDataDriven()||qn(o.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,(function(e,n){return n in t?String(t[n]):\\\"\\\"}))}(e.properties,i)},e.prototype.createBucket=function(t){return new hu(t)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype._setPaintOverrides=function(){for(var t=0,n=fu.paint.overridableProperties;t<n.length;t+=1){var r=n[t];if(e.hasPaintOverride(this.layout,r)){var i,o=this.paint.get(r),a=new du(o),s=new Un(a,o.property.specification);i=\\\"constant\\\"===o.value.kind||\\\"source\\\"===o.value.kind?new Hn(\\\"source\\\",s):new Gn(\\\"composite\\\",s,o.value.zoomStops,o.value._interpolationType),this.paint._values[r]=new hi(o.property,i,o.parameters)}}},e.prototype._handleOverridablePaintPropertyUpdate=function(t,n,r){return!(!this.layout||n.isDataDriven()||r.isDataDriven())&&e.hasPaintOverride(this.layout,t)},e.hasPaintOverride=function(t,e){var n=t.get(\\\"text-field\\\"),r=fu.paint.properties[e],i=!1,o=function(t){for(var e=0,n=t;e<n.length;e+=1)if(r.overrides&&r.overrides.hasOverride(n[e]))return void(i=!0)};if(\\\"constant\\\"===n.value.kind&&n.value.value instanceof te)o(n.value.value.sections);else if(\\\"source\\\"===n.value.kind){var a=function(t){i||(t instanceof ae&&ie(t.value)===Ut?o(t.value.sections):t instanceof ce?o(t.sections):t.eachChild(a))},s=n.value;s._styleExpression&&a(s._styleExpression.expression)}return i},e}(_i),vu={paint:new yi({\\\"background-color\\\":new fi(Et.paint_background[\\\"background-color\\\"]),\\\"background-pattern\\\":new vi(Et.paint_background[\\\"background-pattern\\\"]),\\\"background-opacity\\\":new fi(Et.paint_background[\\\"background-opacity\\\"])})},gu=function(t){function e(e){t.call(this,e,vu)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(_i),yu={paint:new yi({\\\"raster-opacity\\\":new fi(Et.paint_raster[\\\"raster-opacity\\\"]),\\\"raster-hue-rotate\\\":new fi(Et.paint_raster[\\\"raster-hue-rotate\\\"]),\\\"raster-brightness-min\\\":new fi(Et.paint_raster[\\\"raster-brightness-min\\\"]),\\\"raster-brightness-max\\\":new fi(Et.paint_raster[\\\"raster-brightness-max\\\"]),\\\"raster-saturation\\\":new fi(Et.paint_raster[\\\"raster-saturation\\\"]),\\\"raster-contrast\\\":new fi(Et.paint_raster[\\\"raster-contrast\\\"]),\\\"raster-resampling\\\":new fi(Et.paint_raster[\\\"raster-resampling\\\"]),\\\"raster-fade-duration\\\":new fi(Et.paint_raster[\\\"raster-fade-duration\\\"])})},_u=function(t){function e(e){t.call(this,e,yu)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(_i),bu=function(t){function e(e){t.call(this,e,{}),this.implementation=e}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.is3D=function(){return\\\"3d\\\"===this.implementation.renderingMode},e.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},e.prototype.recalculate=function(){},e.prototype.updateTransitions=function(){},e.prototype.hasTransition=function(){},e.prototype.serialize=function(){},e.prototype.onAdd=function(t){this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl)},e.prototype.onRemove=function(t){this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl)},e}(_i),xu={circle:sa,heatmap:ga,hillshade:_a,fill:os,\\\"fill-extrusion\\\":ws,line:Ps,symbol:mu,background:gu,raster:_u},wu=self.HTMLImageElement,Au=self.HTMLCanvasElement,Cu=self.HTMLVideoElement,Mu=self.ImageData,Eu=self.ImageBitmap,Tu=function(t,e,n,r){this.context=t,this.format=n,this.texture=t.gl.createTexture(),this.update(e,r)};Tu.prototype.update=function(t,e,n){var r=t.width,i=t.height,o=!(this.size&&this.size[0]===r&&this.size[1]===i||n),a=this.context,s=a.gl;if(this.useMipmap=Boolean(e&&e.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!e||!1!==e.premultiply)),o)this.size=[r,i],t instanceof wu||t instanceof Au||t instanceof Cu||t instanceof Mu||Eu&&t instanceof Eu?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,t):s.texImage2D(s.TEXTURE_2D,0,this.format,r,i,0,this.format,s.UNSIGNED_BYTE,t.data);else{var l=n||{x:0,y:0},u=l.x,c=l.y;t instanceof wu||t instanceof Au||t instanceof Cu||t instanceof Mu||Eu&&t instanceof Eu?s.texSubImage2D(s.TEXTURE_2D,0,u,c,s.RGBA,s.UNSIGNED_BYTE,t):s.texSubImage2D(s.TEXTURE_2D,0,u,c,r,i,s.RGBA,s.UNSIGNED_BYTE,t.data)}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D)},Tu.prototype.bind=function(t,e,n){var r=this.context.gl;r.bindTexture(r.TEXTURE_2D,this.texture),n!==r.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(n=r.LINEAR),t!==this.filter&&(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,t),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,n||t),this.filter=t),e!==this.wrap&&(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,e),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,e),this.wrap=e)},Tu.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},Tu.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var Su=function(t){var e=this;this._callback=t,this._triggered=!1,\\\"undefined\\\"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){e._triggered=!1,e._callback()})};Su.prototype.trigger=function(){var t=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((function(){t._triggered=!1,t._callback()}),0))},Su.prototype.remove=function(){delete this._channel,this._callback=function(){}};var ku=function(t,e,n){this.target=t,this.parent=e,this.mapId=n,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},m([\\\"receive\\\",\\\"process\\\"],this),this.invoker=new Su(this.process),this.target.addEventListener(\\\"message\\\",this.receive,!1),this.globalScope=C()?t:self};function Ou(t,e,n){var r=2*Math.PI*6378137/256/Math.pow(2,n);return[t*r-2*Math.PI*6378137/2,e*r-2*Math.PI*6378137/2]}ku.prototype.send=function(t,e,n,r,i){var o=this;void 0===i&&(i=!1);var a=Math.round(1e18*Math.random()).toString(36).substring(0,10);n&&(this.callbacks[a]=n);var s=T(this.globalScope)?void 0:[];return this.target.postMessage({id:a,type:t,hasCallback:!!n,targetMapId:r,mustQueue:i,sourceMapId:this.mapId,data:Nr(e,s)},s),{cancel:function(){n&&delete o.callbacks[a],o.target.postMessage({id:a,type:\\\"<cancel>\\\",targetMapId:r,sourceMapId:o.mapId})}}},ku.prototype.receive=function(t){var e=t.data,n=e.id;if(n&&(!e.targetMapId||this.mapId===e.targetMapId))if(\\\"<cancel>\\\"===e.type){delete this.tasks[n];var r=this.cancelCallbacks[n];delete this.cancelCallbacks[n],r&&r()}else C()||e.mustQueue?(this.tasks[n]=e,this.taskQueue.push(n),this.invoker.trigger()):this.processTask(n,e)},ku.prototype.process=function(){if(this.taskQueue.length){var t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length&&this.invoker.trigger(),e&&this.processTask(t,e)}},ku.prototype.processTask=function(t,e){var n=this;if(\\\"<response>\\\"===e.type){var r=this.callbacks[t];delete this.callbacks[t],r&&(e.error?r(Fr(e.error)):r(null,Fr(e.data)))}else{var i=!1,o=T(this.globalScope)?void 0:[],a=e.hasCallback?function(e,r){i=!0,delete n.cancelCallbacks[t],n.target.postMessage({id:t,type:\\\"<response>\\\",sourceMapId:n.mapId,error:e?Nr(e):null,data:Nr(r,o)},o)}:function(t){i=!0},s=null,l=Fr(e.data);if(this.parent[e.type])s=this.parent[e.type](e.sourceMapId,l,a);else if(this.parent.getWorkerSource){var u=e.type.split(\\\".\\\");s=this.parent.getWorkerSource(e.sourceMapId,u[0],l.source)[u[1]](l,a)}else a(new Error(\\\"Could not find function \\\"+e.type));!i&&s&&s.cancel&&(this.cancelCallbacks[t]=s.cancel)}},ku.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener(\\\"message\\\",this.receive,!1)};var Iu=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};Iu.prototype.setNorthEast=function(t){return this._ne=t instanceof Lu?new Lu(t.lng,t.lat):Lu.convert(t),this},Iu.prototype.setSouthWest=function(t){return this._sw=t instanceof Lu?new Lu(t.lng,t.lat):Lu.convert(t),this},Iu.prototype.extend=function(t){var e,n,r=this._sw,i=this._ne;if(t instanceof Lu)e=t,n=t;else{if(!(t instanceof Iu))return Array.isArray(t)?4===t.length||t.every(Array.isArray)?this.extend(Iu.convert(t)):this.extend(Lu.convert(t)):this;if(n=t._ne,!(e=t._sw)||!n)return this}return r||i?(r.lng=Math.min(e.lng,r.lng),r.lat=Math.min(e.lat,r.lat),i.lng=Math.max(n.lng,i.lng),i.lat=Math.max(n.lat,i.lat)):(this._sw=new Lu(e.lng,e.lat),this._ne=new Lu(n.lng,n.lat)),this},Iu.prototype.getCenter=function(){return new Lu((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Iu.prototype.getSouthWest=function(){return this._sw},Iu.prototype.getNorthEast=function(){return this._ne},Iu.prototype.getNorthWest=function(){return new Lu(this.getWest(),this.getNorth())},Iu.prototype.getSouthEast=function(){return new Lu(this.getEast(),this.getSouth())},Iu.prototype.getWest=function(){return this._sw.lng},Iu.prototype.getSouth=function(){return this._sw.lat},Iu.prototype.getEast=function(){return this._ne.lng},Iu.prototype.getNorth=function(){return this._ne.lat},Iu.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Iu.prototype.toString=function(){return\\\"LngLatBounds(\\\"+this._sw.toString()+\\\", \\\"+this._ne.toString()+\\\")\\\"},Iu.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Iu.prototype.contains=function(t){var e=Lu.convert(t),n=e.lng,r=e.lat,i=this._sw.lng<=n&&n<=this._ne.lng;return this._sw.lng>this._ne.lng&&(i=this._sw.lng>=n&&n>=this._ne.lng),this._sw.lat<=r&&r<=this._ne.lat&&i},Iu.convert=function(t){return!t||t instanceof Iu?t:new Iu(t)};var Lu=function(t,e){if(isNaN(t)||isNaN(e))throw new Error(\\\"Invalid LngLat object: (\\\"+t+\\\", \\\"+e+\\\")\\\");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error(\\\"Invalid LngLat latitude value: must be between -90 and 90\\\")};Lu.prototype.wrap=function(){return new Lu(u(this.lng,-180,180),this.lat)},Lu.prototype.toArray=function(){return[this.lng,this.lat]},Lu.prototype.toString=function(){return\\\"LngLat(\\\"+this.lng+\\\", \\\"+this.lat+\\\")\\\"},Lu.prototype.distanceTo=function(t){var e=Math.PI/180,n=this.lat*e,r=t.lat*e,i=Math.sin(n)*Math.sin(r)+Math.cos(n)*Math.cos(r)*Math.cos((t.lng-this.lng)*e);return 6371008.8*Math.acos(Math.min(i,1))},Lu.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return new Iu(new Lu(this.lng-n,this.lat-e),new Lu(this.lng+n,this.lat+e))},Lu.convert=function(t){if(t instanceof Lu)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new Lu(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&\\\"object\\\"==typeof t&&null!==t)return new Lu(Number(\\\"lng\\\"in t?t.lng:t.lon),Number(t.lat));throw new Error(\\\"`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]\\\")};var Pu=2*Math.PI*6371008.8;function zu(t){return Pu*Math.cos(t*Math.PI/180)}function Ru(t){return(180+t)/360}function Du(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function $u(t,e){return t/zu(e)}function Bu(t){return 360/Math.PI*Math.atan(Math.exp((180-360*t)*Math.PI/180))-90}var Nu=function(t,e,n){void 0===n&&(n=0),this.x=+t,this.y=+e,this.z=+n};Nu.fromLngLat=function(t,e){void 0===e&&(e=0);var n=Lu.convert(t);return new Nu(Ru(n.lng),Du(n.lat),$u(e,n.lat))},Nu.prototype.toLngLat=function(){return new Lu(360*this.x-180,Bu(this.y))},Nu.prototype.toAltitude=function(){return this.z*zu(Bu(this.y))},Nu.prototype.meterInMercatorCoordinateUnits=function(){return 1/Pu*(t=Bu(this.y),1/Math.cos(t*Math.PI/180));var t};var Fu=function(t,e,n){this.z=t,this.x=e,this.y=n,this.key=qu(0,t,t,e,n)};Fu.prototype.equals=function(t){return this.z===t.z&&this.x===t.x&&this.y===t.y},Fu.prototype.url=function(t,e){var n,r,i,o,a,s=(r=this.y,i=this.z,o=Ou(256*(n=this.x),256*(r=Math.pow(2,i)-r-1),i),a=Ou(256*(n+1),256*(r+1),i),o[0]+\\\",\\\"+o[1]+\\\",\\\"+a[0]+\\\",\\\"+a[1]),l=function(t,e,n){for(var r,i=\\\"\\\",o=t;o>0;o--)i+=(e&(r=1<<o-1)?1:0)+(n&r?2:0);return i}(this.z,this.x,this.y);return t[(this.x+this.y)%t.length].replace(\\\"{prefix}\\\",(this.x%16).toString(16)+(this.y%16).toString(16)).replace(\\\"{z}\\\",String(this.z)).replace(\\\"{x}\\\",String(this.x)).replace(\\\"{y}\\\",String(\\\"tms\\\"===e?Math.pow(2,this.z)-this.y-1:this.y)).replace(\\\"{quadkey}\\\",l).replace(\\\"{bbox-epsg-3857}\\\",s)},Fu.prototype.getTilePoint=function(t){var e=Math.pow(2,this.z);return new i(8192*(t.x*e-this.x),8192*(t.y*e-this.y))},Fu.prototype.toString=function(){return this.z+\\\"/\\\"+this.x+\\\"/\\\"+this.y};var ju=function(t,e){this.wrap=t,this.canonical=e,this.key=qu(t,e.z,e.z,e.x,e.y)},Uu=function(t,e,n,r,i){this.overscaledZ=t,this.wrap=e,this.canonical=new Fu(n,+r,+i),this.key=qu(e,t,n,r,i)};function qu(t,e,n,r,i){(t*=2)<0&&(t=-1*t-1);var o=1<<n;return(o*o*t+o*i+r).toString(36)+n.toString(36)+e.toString(36)}Uu.prototype.equals=function(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)},Uu.prototype.scaledTo=function(t){var e=this.canonical.z-t;return t>this.canonical.z?new Uu(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Uu(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)},Uu.prototype.calculateScaledKey=function(t,e){var n=this.canonical.z-t;return t>this.canonical.z?qu(this.wrap*+e,t,this.canonical.z,this.canonical.x,this.canonical.y):qu(this.wrap*+e,t,t,this.canonical.x>>n,this.canonical.y>>n)},Uu.prototype.isChildOf=function(t){if(t.wrap!==this.wrap)return!1;var e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ<this.overscaledZ&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e},Uu.prototype.children=function(t){if(this.overscaledZ>=t)return[new Uu(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var e=this.canonical.z+1,n=2*this.canonical.x,r=2*this.canonical.y;return[new Uu(e,this.wrap,e,n,r),new Uu(e,this.wrap,e,n+1,r),new Uu(e,this.wrap,e,n,r+1),new Uu(e,this.wrap,e,n+1,r+1)]},Uu.prototype.isLessThan=function(t){return this.wrap<t.wrap||!(this.wrap>t.wrap)&&(this.overscaledZ<t.overscaledZ||!(this.overscaledZ>t.overscaledZ)&&(this.canonical.x<t.canonical.x||!(this.canonical.x>t.canonical.x)&&this.canonical.y<t.canonical.y))},Uu.prototype.wrapped=function(){return new Uu(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},Uu.prototype.unwrapTo=function(t){return new Uu(this.overscaledZ,t,this.canonical.z,this.canonical.x,this.canonical.y)},Uu.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},Uu.prototype.toUnwrapped=function(){return new ju(this.wrap,this.canonical)},Uu.prototype.toString=function(){return this.overscaledZ+\\\"/\\\"+this.canonical.x+\\\"/\\\"+this.canonical.y},Uu.prototype.getTilePoint=function(t){return this.canonical.getTilePoint(new Nu(t.x-this.wrap,t.y))},Rr(\\\"CanonicalTileID\\\",Fu),Rr(\\\"OverscaledTileID\\\",Uu,{omit:[\\\"posMatrix\\\"]});var Vu=function(t,e,n){if(this.uid=t,e.height!==e.width)throw new RangeError(\\\"DEM tiles must be square\\\");if(n&&\\\"mapbox\\\"!==n&&\\\"terrarium\\\"!==n)return x('\\\"'+n+'\\\" is not a valid encoding type. Valid types include \\\"mapbox\\\" and \\\"terrarium\\\".');this.stride=e.height;var r=this.dim=e.height-2;this.data=new Uint32Array(e.data.buffer),this.encoding=n||\\\"mapbox\\\";for(var i=0;i<r;i++)this.data[this._idx(-1,i)]=this.data[this._idx(0,i)],this.data[this._idx(r,i)]=this.data[this._idx(r-1,i)],this.data[this._idx(i,-1)]=this.data[this._idx(i,0)],this.data[this._idx(i,r)]=this.data[this._idx(i,r-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(r,-1)]=this.data[this._idx(r-1,0)],this.data[this._idx(-1,r)]=this.data[this._idx(0,r-1)],this.data[this._idx(r,r)]=this.data[this._idx(r-1,r-1)]};Vu.prototype.get=function(t,e){var n=new Uint8Array(this.data.buffer),r=4*this._idx(t,e);return(\\\"terrarium\\\"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(n[r],n[r+1],n[r+2])},Vu.prototype.getUnpackVector=function(){return\\\"terrarium\\\"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]},Vu.prototype._idx=function(t,e){if(t<-1||t>=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError(\\\"out of range source coordinates for DEM data\\\");return(e+1)*this.stride+(t+1)},Vu.prototype._unpackMapbox=function(t,e,n){return(256*t*256+256*e+n)/10-1e4},Vu.prototype._unpackTerrarium=function(t,e,n){return 256*t+e+n/256-32768},Vu.prototype.getPixels=function(){return new da({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Vu.prototype.backfillBorder=function(t,e,n){if(this.dim!==t.dim)throw new Error(\\\"dem dimension mismatch\\\");var r=e*this.dim,i=e*this.dim+this.dim,o=n*this.dim,a=n*this.dim+this.dim;switch(e){case-1:r=i-1;break;case 1:i=r+1}switch(n){case-1:o=a-1;break;case 1:a=o+1}for(var s=-e*this.dim,l=-n*this.dim,u=o;u<a;u++)for(var c=r;c<i;c++)this.data[this._idx(c,u)]=t.data[this._idx(c+s,u+l)]},Rr(\\\"DEMData\\\",Vu);var Hu=function(t){this._stringToNumber={},this._numberToString=[];for(var e=0;e<t.length;e++){var n=t[e];this._stringToNumber[n]=e,this._numberToString[e]=n}};Hu.prototype.encode=function(t){return this._stringToNumber[t]},Hu.prototype.decode=function(t){return this._numberToString[t]};var Gu=function(t,e,n,r,i){this.type=\\\"Feature\\\",this._vectorTileFeature=t,t._z=e,t._x=n,t._y=r,this.properties=t.properties,this.id=i},Wu={geometry:{configurable:!0}};Wu.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},Wu.geometry.set=function(t){this._geometry=t},Gu.prototype.toJSON=function(){var t={geometry:this.geometry};for(var e in this)\\\"_geometry\\\"!==e&&\\\"_vectorTileFeature\\\"!==e&&(t[e]=this[e]);return t},Object.defineProperties(Gu.prototype,Wu);var Xu=function(){this.state={},this.stateChanges={},this.deletedStates={}};Xu.prototype.updateState=function(t,e,n){var r=String(e);if(this.stateChanges[t]=this.stateChanges[t]||{},this.stateChanges[t][r]=this.stateChanges[t][r]||{},c(this.stateChanges[t][r],n),null===this.deletedStates[t])for(var i in this.deletedStates[t]={},this.state[t])i!==r&&(this.deletedStates[t][i]=null);else if(this.deletedStates[t]&&null===this.deletedStates[t][r])for(var o in this.deletedStates[t][r]={},this.state[t][r])n[o]||(this.deletedStates[t][r][o]=null);else for(var a in n)this.deletedStates[t]&&this.deletedStates[t][r]&&null===this.deletedStates[t][r][a]&&delete this.deletedStates[t][r][a]},Xu.prototype.removeFeatureState=function(t,e,n){if(null!==this.deletedStates[t]){var r=String(e);if(this.deletedStates[t]=this.deletedStates[t]||{},n&&void 0!==e)null!==this.deletedStates[t][r]&&(this.deletedStates[t][r]=this.deletedStates[t][r]||{},this.deletedStates[t][r][n]=null);else if(void 0!==e)if(this.stateChanges[t]&&this.stateChanges[t][r])for(n in this.deletedStates[t][r]={},this.stateChanges[t][r])this.deletedStates[t][r][n]=null;else this.deletedStates[t][r]=null;else this.deletedStates[t]=null}},Xu.prototype.getState=function(t,e){var n=String(e),r=c({},(this.state[t]||{})[n],(this.stateChanges[t]||{})[n]);if(null===this.deletedStates[t])return{};if(this.deletedStates[t]){var i=this.deletedStates[t][e];if(null===i)return{};for(var o in i)delete r[o]}return r},Xu.prototype.initializeTileState=function(t,e){t.setFeatureState(this.state,e)},Xu.prototype.coalesceChanges=function(t,e){var n={};for(var r in this.stateChanges){this.state[r]=this.state[r]||{};var i={};for(var o in this.stateChanges[r])this.state[r][o]||(this.state[r][o]={}),c(this.state[r][o],this.stateChanges[r][o]),i[o]=this.state[r][o];n[r]=i}for(var a in this.deletedStates){this.state[a]=this.state[a]||{};var s={};if(null===this.deletedStates[a])for(var l in this.state[a])s[l]={},this.state[a][l]={};else for(var u in this.deletedStates[a]){if(null===this.deletedStates[a][u])this.state[a][u]={};else for(var h=0,p=Object.keys(this.deletedStates[a][u]);h<p.length;h+=1)delete this.state[a][u][p[h]];s[u]=this.state[a][u]}n[a]=n[a]||{},c(n[a],s)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(n).length)for(var f in t)t[f].setFeatureState(n,e)};var Yu=function(t,e){this.tileID=t,this.x=t.canonical.x,this.y=t.canonical.y,this.z=t.canonical.z,this.grid=new Or(8192,16,0),this.grid3D=new Or(8192,16,0),this.featureIndexArray=new no,this.promoteId=e};function Zu(t,e,n,r,i){return g(t,(function(t,o){var a=e instanceof pi?e.get(o):null;return a&&a.evaluate?a.evaluate(n,r,i):a}))}function Ku(t){for(var e=1/0,n=1/0,r=-1/0,i=-1/0,o=0,a=t;o<a.length;o+=1){var s=a[o];e=Math.min(e,s.x),n=Math.min(n,s.y),r=Math.max(r,s.x),i=Math.max(i,s.y)}return{minX:e,minY:n,maxX:r,maxY:i}}function Ju(t,e){return e-t}Yu.prototype.insert=function(t,e,n,r,i,o){var a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(n,r,i);for(var s=o?this.grid3D:this.grid,l=0;l<e.length;l++){for(var u=e[l],c=[1/0,1/0,-1/0,-1/0],h=0;h<u.length;h++){var p=u[h];c[0]=Math.min(c[0],p.x),c[1]=Math.min(c[1],p.y),c[2]=Math.max(c[2],p.x),c[3]=Math.max(c[3],p.y)}c[0]<8192&&c[1]<8192&&c[2]>=0&&c[3]>=0&&s.insert(a,c[0],c[1],c[2],c[3])}},Yu.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new ms.VectorTile(new Vs(this.rawTileData)).layers,this.sourceLayerCoder=new Hu(this.vtLayers?Object.keys(this.vtLayers).sort():[\\\"_geojsonTileLayer\\\"])),this.vtLayers},Yu.prototype.query=function(t,e,n,r){var o=this;this.loadVTLayers();for(var a=t.params||{},s=8192/t.tileSize/t.scale,l=rr(a.filter),u=t.queryGeometry,c=t.queryPadding*s,h=Ku(u),p=this.grid.query(h.minX-c,h.minY-c,h.maxX+c,h.maxY+c),f=Ku(t.cameraQueryGeometry),d=this.grid3D.query(f.minX-c,f.minY-c,f.maxX+c,f.maxY+c,(function(e,n,r,o){return function(t,e,n,r,o){for(var a=0,s=t;a<s.length;a+=1){var l=s[a];if(e<=l.x&&n<=l.y&&r>=l.x&&o>=l.y)return!0}var u=[new i(e,n),new i(e,o),new i(r,o),new i(r,n)];if(t.length>2)for(var c=0,h=u;c<h.length;c+=1)if(Xo(t,h[c]))return!0;for(var p=0;p<t.length-1;p++)if(Yo(t[p],t[p+1],u))return!0;return!1}(t.cameraQueryGeometry,e-c,n-c,r+c,o+c)})),m=0,v=d;m<v.length;m+=1)p.push(v[m]);p.sort(Ju);for(var g,y={},_=function(i){var c=p[i];if(c!==g){g=c;var h=o.featureIndexArray.get(c),f=null;o.loadMatchingFeature(y,h.bucketIndex,h.sourceLayerIndex,h.featureIndex,l,a.layers,a.availableImages,e,n,r,(function(e,n,r){return f||(f=Do(e)),n.queryIntersectsFeature(u,e,r,f,o.z,t.transform,s,t.pixelPosMatrix)}))}},b=0;b<p.length;b++)_(b);return y},Yu.prototype.loadMatchingFeature=function(t,e,n,r,i,o,a,s,l,u,c){var h=this.bucketLayerIDs[e];if(!o||function(t,e){for(var n=0;n<t.length;n++)if(e.indexOf(t[n])>=0)return!0;return!1}(o,h)){var p=this.sourceLayerCoder.decode(n),f=this.vtLayers[p].feature(r);if(i.filter(new ii(this.tileID.overscaledZ),f))for(var d=this.getId(f,p),m=0;m<h.length;m++){var v=h[m];if(!(o&&o.indexOf(v)<0)){var g=s[v];if(g){var y={};void 0!==d&&u&&(y=u.getState(g.sourceLayer||\\\"_geojsonTileLayer\\\",d));var _=l[v];_.paint=Zu(_.paint,g.paint,f,y,a),_.layout=Zu(_.layout,g.layout,f,y,a);var b=!c||c(f,g,y);if(b){var x=new Gu(f,this.z,this.x,this.y,d);x.layer=_;var w=t[v];void 0===w&&(w=t[v]=[]),w.push({featureIndex:r,feature:x,intersectionZ:b})}}}}}},Yu.prototype.lookupSymbolFeatures=function(t,e,n,r,i,o,a,s){var l={};this.loadVTLayers();for(var u=rr(i),c=0,h=t;c<h.length;c+=1)this.loadMatchingFeature(l,n,r,h[c],u,o,a,s,e);return l},Yu.prototype.hasLayer=function(t){for(var e=0,n=this.bucketLayerIDs;e<n.length;e+=1)for(var r=0,i=n[e];r<i.length;r+=1)if(t===i[r])return!0;return!1},Yu.prototype.getId=function(t,e){var n=t.id;return this.promoteId&&\\\"boolean\\\"==typeof(n=t.properties[\\\"string\\\"==typeof this.promoteId?this.promoteId:this.promoteId[e]])&&(n=Number(n)),n},Rr(\\\"FeatureIndex\\\",Yu,{omit:[\\\"rawTileData\\\",\\\"sourceLayerCoder\\\"]});var Qu=function(t,e){this.tileID=t,this.uid=p(),this.uses=0,this.tileSize=e,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.expiredRequestCount=0,this.state=\\\"loading\\\"};Qu.prototype.registerFadeDuration=function(t){var e=t+this.timeAdded;e<D.now()||this.fadeEndTime&&e<this.fadeEndTime||(this.fadeEndTime=e)},Qu.prototype.wasRequested=function(){return\\\"errored\\\"===this.state||\\\"loaded\\\"===this.state||\\\"reloading\\\"===this.state},Qu.prototype.loadVectorData=function(t,e,n){if(this.hasData()&&this.unloadVectorData(),this.state=\\\"loaded\\\",t){for(var r in t.featureIndex&&(this.latestFeatureIndex=t.featureIndex,t.rawTileData?(this.latestRawTileData=t.rawTileData,this.latestFeatureIndex.rawTileData=t.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=t.collisionBoxArray,this.buckets=function(t,e){var n={};if(!e)return n;for(var r=function(){var t=o[i],r=t.layerIds.map((function(t){return e.getLayer(t)})).filter(Boolean);if(0!==r.length){t.layers=r,t.stateDependentLayerIds&&(t.stateDependentLayers=t.stateDependentLayerIds.map((function(t){return r.filter((function(e){return e.id===t}))[0]})));for(var a=0,s=r;a<s.length;a+=1)n[s[a].id]=t}},i=0,o=t;i<o.length;i+=1)r();return n}(t.buckets,e.style),this.hasSymbolBuckets=!1,this.buckets){var i=this.buckets[r];if(i instanceof hu){if(this.hasSymbolBuckets=!0,!n)break;i.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(var o in this.buckets){var a=this.buckets[o];if(a instanceof hu&&a.hasRTLText){this.hasRTLText=!0,ri.isLoading()||ri.isLoaded()||\\\"deferred\\\"!==ei()||ni();break}}for(var s in this.queryPadding=0,this.buckets){var l=this.buckets[s];this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(s).queryRadius(l))}t.imageAtlas&&(this.imageAtlas=t.imageAtlas),t.glyphAtlasImage&&(this.glyphAtlasImage=t.glyphAtlasImage)}else this.collisionBoxArray=new Xi},Qu.prototype.unloadVectorData=function(){for(var t in this.buckets)this.buckets[t].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state=\\\"unloaded\\\"},Qu.prototype.getBucket=function(t){return this.buckets[t.id]},Qu.prototype.upload=function(t){for(var e in this.buckets){var n=this.buckets[e];n.uploadPending()&&n.upload(t)}var r=t.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new Tu(t,this.imageAtlas.image,r.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new Tu(t,this.glyphAtlasImage,r.ALPHA),this.glyphAtlasImage=null)},Qu.prototype.prepare=function(t){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(t,this.imageAtlasTexture)},Qu.prototype.queryRenderedFeatures=function(t,e,n,r,i,o,a,s,l,u){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:r,cameraQueryGeometry:i,scale:o,tileSize:this.tileSize,pixelPosMatrix:u,transform:s,params:a,queryPadding:this.queryPadding*l},t,e,n):{}},Qu.prototype.querySourceFeatures=function(t,e){var n=this.latestFeatureIndex;if(n&&n.rawTileData){var r=n.loadVTLayers(),i=e?e.sourceLayer:\\\"\\\",o=r._geojsonTileLayer||r[i];if(o)for(var a=rr(e&&e.filter),s=this.tileID.canonical,l=s.z,u=s.x,c=s.y,h={z:l,x:u,y:c},p=0;p<o.length;p++){var f=o.feature(p);if(a.filter(new ii(this.tileID.overscaledZ),f)){var d=n.getId(f,i),m=new Gu(f,l,u,c,d);m.tile=h,t.push(m)}}}},Qu.prototype.hasData=function(){return\\\"loaded\\\"===this.state||\\\"reloading\\\"===this.state||\\\"expired\\\"===this.state},Qu.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},Qu.prototype.setExpiryData=function(t){var e=this.expirationTime;if(t.cacheControl){var n=M(t.cacheControl);n[\\\"max-age\\\"]&&(this.expirationTime=Date.now()+1e3*n[\\\"max-age\\\"])}else t.expires&&(this.expirationTime=new Date(t.expires).getTime());if(this.expirationTime){var r=Date.now(),i=!1;if(this.expirationTime>r)i=!1;else if(e)if(this.expirationTime<e)i=!0;else{var o=this.expirationTime-e;o?this.expirationTime=r+Math.max(o,3e4):i=!0}else i=!0;i?(this.expiredRequestCount++,this.state=\\\"expired\\\"):this.expiredRequestCount=0}},Qu.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},Qu.prototype.setFeatureState=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(t).length){var n=this.latestFeatureIndex.loadVTLayers();for(var r in this.buckets)if(e.style.hasLayer(r)){var i=this.buckets[r],o=i.layers[0].sourceLayer||\\\"_geojsonTileLayer\\\",a=n[o],s=t[o];if(a&&s&&0!==Object.keys(s).length){i.update(s,a,this.imageAtlas&&this.imageAtlas.patternPositions||{});var l=e&&e.style&&e.style.getLayer(r);l&&(this.queryPadding=Math.max(this.queryPadding,l.queryRadius(i)))}}}},Qu.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},Qu.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<D.now()},Qu.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},Qu.prototype.setHoldDuration=function(t){this.symbolFadeHoldUntil=D.now()+t},Qu.prototype.setDependencies=function(t,e){for(var n={},r=0,i=e;r<i.length;r+=1)n[i[r]]=!0;this.dependencies[t]=n},Qu.prototype.hasDependency=function(t,e){for(var n=0,r=t;n<r.length;n+=1){var i=this.dependencies[r[n]];if(i)for(var o=0,a=e;o<a.length;o+=1)if(i[a[o]])return!0}return!1};var tc=self.performance,ec=function(t){this._marks={start:[t.url,\\\"start\\\"].join(\\\"#\\\"),end:[t.url,\\\"end\\\"].join(\\\"#\\\"),measure:t.url.toString()},tc.mark(this._marks.start)};ec.prototype.finish=function(){tc.mark(this._marks.end);var t=tc.getEntriesByName(this._marks.measure);return 0===t.length&&(tc.measure(this._marks.measure,this._marks.start,this._marks.end),t=tc.getEntriesByName(this._marks.measure),tc.clearMarks(this._marks.start),tc.clearMarks(this._marks.end),tc.clearMeasures(this._marks.measure)),t},t.Actor=ku,t.AlphaImage=fa,t.CanonicalTileID=Fu,t.CollisionBoxArray=Xi,t.Color=Kt,t.DEMData=Vu,t.DataConstantProperty=fi,t.DictionaryCoder=Hu,t.EXTENT=8192,t.ErrorEvent=Ct,t.EvaluationParameters=ii,t.Event=At,t.Evented=Mt,t.FeatureIndex=Yu,t.FillBucket=ns,t.FillExtrusionBucket=_s,t.ImageAtlas=dl,t.ImagePosition=pl,t.LineBucket=ks,t.LngLat=Lu,t.LngLatBounds=Iu,t.MercatorCoordinate=Nu,t.ONE_EM=24,t.OverscaledTileID=Uu,t.Point=i,t.Point$1=i,t.Properties=yi,t.Protobuf=Vs,t.RGBAImage=da,t.RequestManager=q,t.RequestPerformance=ec,t.ResourceType=pt,t.SegmentVector=io,t.SourceFeatureState=Xu,t.StructArrayLayout1ui2=Vi,t.StructArrayLayout2f1f2i16=Ri,t.StructArrayLayout2i4=Mi,t.StructArrayLayout3ui6=$i,t.StructArrayLayout4i8=Ei,t.SymbolBucket=hu,t.Texture=Tu,t.Tile=Qu,t.Transitionable=si,t.Uniform1f=yo,t.Uniform1i=go,t.Uniform2f=_o,t.Uniform3f=bo,t.Uniform4f=xo,t.UniformColor=wo,t.UniformMatrix4f=Co,t.UnwrappedTileID=ju,t.ValidationError=Tt,t.WritingMode=ml,t.ZoomHistory=jr,t.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t},t.addDynamicAttributes=su,t.asyncAll=function(t,e,n){if(!t.length)return n(null,[]);var r=t.length,i=new Array(t.length),o=null;t.forEach((function(t,a){e(t,(function(t,e){t&&(o=t),i[a]=e,0==--r&&n(o,i)}))}))},t.bezier=a,t.bindAll=m,t.browser=D,t.cacheEntryPossiblyAdded=function(t){++ct>at&&(t.getActor().send(\\\"enforceCacheSizeLimit\\\",ot),ct=0)},t.clamp=l,t.clearTileCache=function(t){var e=self.caches.delete(\\\"mapbox-tiles\\\");t&&e.catch(t).then((function(){return t()}))},t.clipLine=Fl,t.clone=function(t){var e=new ea(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.clone$1=_,t.clone$2=function(t){var e=new ea(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},t.collisionCircleLayout=Ns,t.config=$,t.create=function(){var t=new ea(16);return ea!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.create$1=function(){var t=new ea(9);return ea!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t},t.create$2=function(){var t=new ea(4);return ea!=Float32Array&&(t[1]=0,t[2]=0),t[0]=1,t[3]=1,t},t.createCommonjsModule=e,t.createExpression=Vn,t.createLayout=Ai,t.createStyleLayer=function(t){return\\\"custom\\\"===t.type?new bu(t):new xu[t.type](t)},t.cross=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],l=n[2];return t[0]=i*l-o*s,t[1]=o*a-r*l,t[2]=r*s-i*a,t},t.deepEqual=function t(e,n){if(Array.isArray(e)){if(!Array.isArray(n)||e.length!==n.length)return!1;for(var r=0;r<e.length;r++)if(!t(e[r],n[r]))return!1;return!0}if(\\\"object\\\"==typeof e&&null!==e&&null!==n){if(\\\"object\\\"!=typeof n)return!1;if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var i in e)if(!t(e[i],n[i]))return!1;return!0}return e===n},t.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},t.dot$1=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},t.ease=s,t.emitValidationErrors=kr,t.endsWith=v,t.enforceCacheSizeLimit=function(t){st(),J&&J.then((function(e){e.keys().then((function(n){for(var r=0;r<n.length-t;r++)e.delete(n[r])}))}))},t.evaluateSizeForFeature=Il,t.evaluateSizeForZoom=Ll,t.evaluateVariableOffset=Ql,t.evented=ti,t.extend=c,t.featureFilter=rr,t.filterObject=y,t.fromRotation=function(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.getAnchorAlignment=El,t.getAnchorJustification=tu,t.getArrayBuffer=yt,t.getImage=bt,t.getJSON=function(t,e){return gt(c(t,{type:\\\"json\\\"}),e)},t.getRTLTextPluginStatus=ei,t.getReferrer=vt,t.getVideo=function(t,e){var n,r,i=self.document.createElement(\\\"video\\\");i.muted=!0,i.onloadstart=function(){e(null,i)};for(var o=0;o<t.length;o++){var a=self.document.createElement(\\\"source\\\");n=t[o],r=void 0,(r=self.document.createElement(\\\"a\\\")).href=n,(r.protocol!==self.document.location.protocol||r.host!==self.document.location.host)&&(i.crossOrigin=\\\"Anonymous\\\"),a.src=t[o],i.appendChild(a)}return{cancel:function(){}}},t.identity=na,t.invert=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],p=e[10],f=e[11],d=e[12],m=e[13],v=e[14],g=e[15],y=n*s-r*a,_=n*l-i*a,b=n*u-o*a,x=r*l-i*s,w=r*u-o*s,A=i*u-o*l,C=c*m-h*d,M=c*v-p*d,E=c*g-f*d,T=h*v-p*m,S=h*g-f*m,k=p*g-f*v,O=y*k-_*S+b*T+x*E-w*M+A*C;return O?(t[0]=(s*k-l*S+u*T)*(O=1/O),t[1]=(i*S-r*k-o*T)*O,t[2]=(m*A-v*w+g*x)*O,t[3]=(p*w-h*A-f*x)*O,t[4]=(l*E-a*k-u*M)*O,t[5]=(n*k-i*E+o*M)*O,t[6]=(v*b-d*A-g*_)*O,t[7]=(c*A-p*b+f*_)*O,t[8]=(a*S-s*E+u*C)*O,t[9]=(r*E-n*S-o*C)*O,t[10]=(d*w-m*b+g*y)*O,t[11]=(h*b-c*w-f*y)*O,t[12]=(s*M-a*T-l*C)*O,t[13]=(n*T-r*M+i*C)*O,t[14]=(m*_-d*x-v*y)*O,t[15]=(c*x-h*_+p*y)*O,t):null},t.isChar=Ur,t.isMapboxURL=V,t.keysDifference=function(t,e){var n=[];for(var r in t)r in e||n.push(r);return n},t.makeRequest=gt,t.mapObject=g,t.mercatorXfromLng=Ru,t.mercatorYfromLat=Du,t.mercatorZfromAltitude=$u,t.mul=oa,t.multiply=ra,t.mvt=ms,t.normalize=function(t,e){var n=e[0],r=e[1],i=e[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o)),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o,t},t.number=je,t.offscreenCanvasSupported=ht,t.ortho=function(t,e,n,r,i,o,a){var s=1/(e-n),l=1/(r-i),u=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*l,t[14]=(a+o)*u,t[15]=1,t},t.parseGlyphPBF=function(t){return new Vs(t).readFields(ll,[])},t.pbf=Vs,t.performSymbolLayout=function(t,e,n,r,i,o,a){t.createArrays(),t.tilePixelRatio=8192/(512*t.overscaling),t.compareText={},t.iconsNeedLinear=!1;var s=t.layers[0].layout,l=t.layers[0]._unevaluatedLayout._values,u={};if(\\\"composite\\\"===t.textSizeData.kind){var c=t.textSizeData,h=c.maxZoom;u.compositeTextSizes=[l[\\\"text-size\\\"].possiblyEvaluate(new ii(c.minZoom),a),l[\\\"text-size\\\"].possiblyEvaluate(new ii(h),a)]}if(\\\"composite\\\"===t.iconSizeData.kind){var p=t.iconSizeData,f=p.maxZoom;u.compositeIconSizes=[l[\\\"icon-size\\\"].possiblyEvaluate(new ii(p.minZoom),a),l[\\\"icon-size\\\"].possiblyEvaluate(new ii(f),a)]}u.layoutTextSize=l[\\\"text-size\\\"].possiblyEvaluate(new ii(t.zoom+1),a),u.layoutIconSize=l[\\\"icon-size\\\"].possiblyEvaluate(new ii(t.zoom+1),a),u.textMaxSize=l[\\\"text-size\\\"].possiblyEvaluate(new ii(18));for(var d=24*s.get(\\\"text-line-height\\\"),m=\\\"map\\\"===s.get(\\\"text-rotation-alignment\\\")&&\\\"point\\\"!==s.get(\\\"symbol-placement\\\"),v=s.get(\\\"text-keep-upright\\\"),g=s.get(\\\"text-size\\\"),y=function(){var o=b[_],l=s.get(\\\"text-font\\\").evaluate(o,{},a).join(\\\",\\\"),c=g.evaluate(o,{},a),h=u.layoutTextSize.evaluate(o,{},a),p=u.layoutIconSize.evaluate(o,{},a),f={horizontal:{},vertical:void 0},y=o.text,w=[0,0];if(y){var A=y.toString(),C=24*s.get(\\\"text-letter-spacing\\\").evaluate(o,{},a),M=function(t){for(var e=0,n=t;e<n.length;e+=1)if(r=n[e].charCodeAt(0),Ur.Arabic(r)||Ur[\\\"Arabic Supplement\\\"](r)||Ur[\\\"Arabic Extended-A\\\"](r)||Ur[\\\"Arabic Presentation Forms-A\\\"](r)||Ur[\\\"Arabic Presentation Forms-B\\\"](r))return!1;var r;return!0}(A)?C:0,E=s.get(\\\"text-anchor\\\").evaluate(o,{},a),T=s.get(\\\"text-variable-anchor\\\");if(!T){var S=s.get(\\\"text-radial-offset\\\").evaluate(o,{},a);w=S?Ql(E,[24*S,Jl]):s.get(\\\"text-offset\\\").evaluate(o,{},a).map((function(t){return 24*t}))}var k=m?\\\"center\\\":s.get(\\\"text-justify\\\").evaluate(o,{},a),O=s.get(\\\"symbol-placement\\\"),I=\\\"point\\\"===O?24*s.get(\\\"text-max-width\\\").evaluate(o,{},a):0,L=function(){t.allowVerticalPlacement&&qr(A)&&(f.vertical=yl(y,e,n,i,l,I,d,E,\\\"left\\\",M,w,ml.vertical,!0,O,h,c))};if(!m&&T){for(var P=\\\"auto\\\"===k?T.map((function(t){return tu(t)})):[k],z=!1,R=0;R<P.length;R++){var D=P[R];if(!f.horizontal[D])if(z)f.horizontal[D]=f.horizontal[0];else{var $=yl(y,e,n,i,l,I,d,\\\"center\\\",D,M,w,ml.horizontal,!1,O,h,c);$&&(f.horizontal[D]=$,z=1===$.positionedLines.length)}}L()}else{\\\"auto\\\"===k&&(k=tu(E));var B=yl(y,e,n,i,l,I,d,E,k,M,w,ml.horizontal,!1,O,h,c);B&&(f.horizontal[k]=B),L(),qr(A)&&m&&v&&(f.vertical=yl(y,e,n,i,l,I,d,E,k,M,w,ml.vertical,!1,O,h,c))}}var N=void 0,F=!1;if(o.icon&&o.icon.name){var j=r[o.icon.name];j&&(N=function(t,e,n){var r=El(n),i=e[0]-t.displaySize[0]*r.horizontalAlign,o=e[1]-t.displaySize[1]*r.verticalAlign;return{image:t,top:o,bottom:o+t.displaySize[1],left:i,right:i+t.displaySize[0]}}(i[o.icon.name],s.get(\\\"icon-offset\\\").evaluate(o,{},a),s.get(\\\"icon-anchor\\\").evaluate(o,{},a)),F=j.sdf,void 0===t.sdfIcons?t.sdfIcons=j.sdf:t.sdfIcons!==j.sdf&&x(\\\"Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer\\\"),(j.pixelRatio!==t.pixelRatio||0!==s.get(\\\"icon-rotate\\\").constantOr(1))&&(t.iconsNeedLinear=!0))}var U=nu(f.horizontal)||f.vertical;t.iconsInText=!!U&&U.iconsInText,(U||N)&&function(t,e,n,r,i,o,a,s,l,u,c){var h=o.textMaxSize.evaluate(e,{});void 0===h&&(h=a);var p,f=t.layers[0].layout,d=f.get(\\\"icon-offset\\\").evaluate(e,{},c),m=nu(n.horizontal),v=a/24,g=t.tilePixelRatio*v,y=t.tilePixelRatio*h/24,_=t.tilePixelRatio*s,b=t.tilePixelRatio*f.get(\\\"symbol-spacing\\\"),w=f.get(\\\"text-padding\\\")*t.tilePixelRatio,A=f.get(\\\"icon-padding\\\")*t.tilePixelRatio,C=f.get(\\\"text-max-angle\\\")/180*Math.PI,M=\\\"map\\\"===f.get(\\\"text-rotation-alignment\\\")&&\\\"point\\\"!==f.get(\\\"symbol-placement\\\"),E=\\\"map\\\"===f.get(\\\"icon-rotation-alignment\\\")&&\\\"point\\\"!==f.get(\\\"symbol-placement\\\"),T=f.get(\\\"symbol-placement\\\"),S=b/2,k=f.get(\\\"icon-text-fit\\\");r&&\\\"none\\\"!==k&&(t.allowVerticalPlacement&&n.vertical&&(p=Sl(r,n.vertical,k,f.get(\\\"icon-text-fit-padding\\\"),d,v)),m&&(r=Sl(r,m,k,f.get(\\\"icon-text-fit-padding\\\"),d,v)));var O=function(s,h){h.x<0||h.x>=8192||h.y<0||h.y>=8192||function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,w,A,C,M){var E,T,S,k,O,I=t.addToLineVertexArray(e,n),L=0,P=0,z=0,R=0,D=-1,$=-1,B={},N=uo(\\\"\\\"),F=0,j=0;if(void 0===s._unevaluatedLayout.getValue(\\\"text-radial-offset\\\")?(F=(E=s.layout.get(\\\"text-offset\\\").evaluate(b,{},C).map((function(t){return 24*t})))[0],j=E[1]):(F=24*s.layout.get(\\\"text-radial-offset\\\").evaluate(b,{},C),j=Jl),t.allowVerticalPlacement&&r.vertical){var U=s.layout.get(\\\"text-rotate\\\").evaluate(b,{},C)+90;k=new Gl(l,e,u,c,h,r.vertical,p,f,d,U),a&&(O=new Gl(l,e,u,c,h,a,v,g,d,U))}if(i){var q=s.layout.get(\\\"icon-rotate\\\").evaluate(b,{}),V=\\\"none\\\"!==s.layout.get(\\\"icon-text-fit\\\"),H=jl(i,q,A,V),G=a?jl(a,q,A,V):void 0;S=new Gl(l,e,u,c,h,i,v,g,!1,q),L=4*H.length;var W=t.iconSizeData,X=null;\\\"source\\\"===W.kind?(X=[128*s.layout.get(\\\"icon-size\\\").evaluate(b,{})])[0]>32640&&x(t.layerIds[0]+': Value for \\\"icon-size\\\" is >= 255. Reduce your \\\"icon-size\\\".'):\\\"composite\\\"===W.kind&&((X=[128*w.compositeIconSizes[0].evaluate(b,{},C),128*w.compositeIconSizes[1].evaluate(b,{},C)])[0]>32640||X[1]>32640)&&x(t.layerIds[0]+': Value for \\\"icon-size\\\" is >= 255. Reduce your \\\"icon-size\\\".'),t.addSymbols(t.icon,H,X,_,y,b,!1,e,I.lineStartIndex,I.lineLength,-1,C),D=t.icon.placedSymbolArray.length-1,G&&(P=4*G.length,t.addSymbols(t.icon,G,X,_,y,b,ml.vertical,e,I.lineStartIndex,I.lineLength,-1,C),$=t.icon.placedSymbolArray.length-1)}for(var Y in r.horizontal){var Z=r.horizontal[Y];if(!T){N=uo(Z.text);var K=s.layout.get(\\\"text-rotate\\\").evaluate(b,{},C);T=new Gl(l,e,u,c,h,Z,p,f,d,K)}var J=1===Z.positionedLines.length;if(z+=eu(t,e,Z,o,s,d,b,m,I,r.vertical?ml.horizontal:ml.horizontalOnly,J?Object.keys(r.horizontal):[Y],B,D,w,C),J)break}r.vertical&&(R+=eu(t,e,r.vertical,o,s,d,b,m,I,ml.vertical,[\\\"vertical\\\"],B,$,w,C));var Q=T?T.boxStartIndex:t.collisionBoxArray.length,tt=T?T.boxEndIndex:t.collisionBoxArray.length,et=k?k.boxStartIndex:t.collisionBoxArray.length,nt=k?k.boxEndIndex:t.collisionBoxArray.length,rt=S?S.boxStartIndex:t.collisionBoxArray.length,it=S?S.boxEndIndex:t.collisionBoxArray.length,ot=O?O.boxStartIndex:t.collisionBoxArray.length,at=O?O.boxEndIndex:t.collisionBoxArray.length,st=-1,lt=function(t,e){return t&&t.circleDiameter?Math.max(t.circleDiameter,e):e};st=lt(T,st),st=lt(k,st),st=lt(S,st);var ut=(st=lt(O,st))>-1?1:0;ut&&(st*=M/24),t.glyphOffsetArray.length>=hu.MAX_GLYPHS&&x(\\\"Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907\\\"),void 0!==b.sortKey&&t.addToSortKeyRanges(t.symbolInstances.length,b.sortKey),t.symbolInstances.emplaceBack(e.x,e.y,B.right>=0?B.right:-1,B.center>=0?B.center:-1,B.left>=0?B.left:-1,B.vertical||-1,D,$,N,Q,tt,et,nt,rt,it,ot,at,u,z,R,L,P,ut,0,p,F,j,st)}(t,h,s,n,r,i,p,t.layers[0],t.collisionBoxArray,e.index,e.sourceLayerIndex,t.index,g,w,M,l,_,A,E,d,e,o,u,c,a)};if(\\\"line\\\"===T)for(var I=0,L=Fl(e.geometry,0,0,8192,8192);I<L.length;I+=1)for(var P=L[I],z=0,R=Nl(P,b,C,n.vertical||m,r,24,y,t.overscaling,8192);z<R.length;z+=1){var D=R[z];m&&ru(t,m.text,S,D)||O(P,D)}else if(\\\"line-center\\\"===T)for(var $=0,B=e.geometry;$<B.length;$+=1){var N=B[$];if(N.length>1){var F=Bl(N,C,n.vertical||m,r,24,y);F&&O(N,F)}}else if(\\\"Polygon\\\"===e.type)for(var j=0,U=Ja(e.geometry,0);j<U.length;j+=1){var q=U[j],V=Yl(q,16);O(q[0],new kl(V.x,V.y,0))}else if(\\\"LineString\\\"===e.type)for(var H=0,G=e.geometry;H<G.length;H+=1){var W=G[H];O(W,new kl(W[0].x,W[0].y,0))}else if(\\\"Point\\\"===e.type)for(var X=0,Y=e.geometry;X<Y.length;X+=1)for(var Z=0,K=Y[X];Z<K.length;Z+=1){var J=K[Z];O([J],new kl(J.x,J.y,0))}}(t,o,f,N,r,u,h,p,w,F,a)},_=0,b=t.features;_<b.length;_+=1)y();o&&t.generateCollisionDebugBuffers()},t.perspective=function(t,e,n,r,i){var o,a=1/Math.tan(e/2);return t[0]=a/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(t[10]=(i+r)*(o=1/(r-i)),t[14]=2*i*r*o):(t[10]=-1,t[14]=-2*r),t},t.pick=function(t,e){for(var n={},r=0;r<e.length;r++){var i=e[r];i in t&&(n[i]=t[i])}return n},t.plugin=ri,t.polygonIntersectsPolygon=No,t.postMapLoadEvent=it,t.postTurnstileEvent=nt,t.potpack=hl,t.refProperties=[\\\"type\\\",\\\"source\\\",\\\"source-layer\\\",\\\"minzoom\\\",\\\"maxzoom\\\",\\\"filter\\\",\\\"layout\\\"],t.register=Rr,t.registerForPluginStateChange=function(t){return t({pluginStatus:Zr,pluginURL:Kr}),ti.on(\\\"pluginStateChange\\\",t),t},t.rotate=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=r*l+o*s,t[1]=i*l+a*s,t[2]=r*-s+o*l,t[3]=i*-s+a*l,t},t.rotateX=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[4],a=e[5],s=e[6],l=e[7],u=e[8],c=e[9],h=e[10],p=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=o*i+u*r,t[5]=a*i+c*r,t[6]=s*i+h*r,t[7]=l*i+p*r,t[8]=u*i-o*r,t[9]=c*i-a*r,t[10]=h*i-s*r,t[11]=p*i-l*r,t},t.rotateZ=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],u=e[4],c=e[5],h=e[6],p=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*i+u*r,t[1]=a*i+c*r,t[2]=s*i+h*r,t[3]=l*i+p*r,t[4]=u*i-o*r,t[5]=c*i-a*r,t[6]=h*i-s*r,t[7]=p*i-l*r,t},t.scale=function(t,e,n){var r=n[0],i=n[1],o=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.scale$1=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},t.scale$2=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t},t.setCacheLimits=function(t,e){ot=t,at=e},t.setRTLTextPlugin=function(t,e,n){if(void 0===n&&(n=!1),\\\"deferred\\\"===Zr||\\\"loading\\\"===Zr||\\\"loaded\\\"===Zr)throw new Error(\\\"setRTLTextPlugin cannot be called multiple times.\\\");Kr=D.resolveURL(t),Zr=\\\"deferred\\\",Yr=e,Qr(),n||ni()},t.sphericalToCartesian=function(t){var e=t[0],n=t[1],r=t[2];return n+=90,n*=Math.PI/180,r*=Math.PI/180,{x:e*Math.cos(n)*Math.sin(r),y:e*Math.sin(n)*Math.sin(r),z:e*Math.cos(r)}},t.sqrLen=function(t){var e=t[0],n=t[1];return e*e+n*n},t.styleSpec=Et,t.sub=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t},t.symbolSize=Pl,t.transformMat3=function(t,e,n){var r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t},t.transformMat4=aa,t.translate=function(t,e,n){var r,i,o,a,s,l,u,c,h,p,f,d,m=n[0],v=n[1],g=n[2];return e===t?(t[12]=e[0]*m+e[4]*v+e[8]*g+e[12],t[13]=e[1]*m+e[5]*v+e[9]*g+e[13],t[14]=e[2]*m+e[6]*v+e[10]*g+e[14],t[15]=e[3]*m+e[7]*v+e[11]*g+e[15]):(i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],p=e[9],f=e[10],d=e[11],t[0]=r=e[0],t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=h,t[9]=p,t[10]=f,t[11]=d,t[12]=r*m+s*v+h*g+e[12],t[13]=i*m+l*v+p*g+e[13],t[14]=o*m+u*v+f*g+e[14],t[15]=a*m+c*v+d*g+e[15]),t},t.triggerPluginCompletionEvent=Jr,t.uniqueId=p,t.validateCustomStyleLayer=function(t){var e=[],n=t.id;return void 0===n&&e.push({message:\\\"layers.\\\"+n+': missing required property \\\"id\\\"'}),void 0===t.render&&e.push({message:\\\"layers.\\\"+n+': missing required method \\\"render\\\"'}),t.renderingMode&&\\\"2d\\\"!==t.renderingMode&&\\\"3d\\\"!==t.renderingMode&&e.push({message:\\\"layers.\\\"+n+': property \\\"renderingMode\\\" must be either \\\"2d\\\" or \\\"3d\\\"'}),e},t.validateLight=Er,t.validateStyle=Mr,t.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},t.vectorTile=ms,t.version=\\\"1.10.1\\\",t.warnOnce=x,t.webpSupported=B,t.window=self,t.wrap=u})),r(0,(function(t){function e(t){var n=typeof t;if(\\\"number\\\"===n||\\\"boolean\\\"===n||\\\"string\\\"===n||null==t)return JSON.stringify(t);if(Array.isArray(t)){for(var r=\\\"[\\\",i=0,o=t;i<o.length;i+=1)r+=e(o[i])+\\\",\\\";return r+\\\"]\\\"}for(var a=Object.keys(t).sort(),s=\\\"{\\\",l=0;l<a.length;l++)s+=JSON.stringify(a[l])+\\\":\\\"+e(t[a[l]])+\\\",\\\";return s+\\\"}\\\"}function n(n){for(var r=\\\"\\\",i=0,o=t.refProperties;i<o.length;i+=1)r+=\\\"/\\\"+e(n[o[i]]);return r}var r=function(t){this.keyCache={},t&&this.replace(t)};r.prototype.replace=function(t){this._layerConfigs={},this._layers={},this.update(t,[])},r.prototype.update=function(e,r){for(var i=this,o=0,a=e;o<a.length;o+=1){var s=a[o];this._layerConfigs[s.id]=s;var l=this._layers[s.id]=t.createStyleLayer(s);l._featureFilter=t.featureFilter(l.filter),this.keyCache[s.id]&&delete this.keyCache[s.id]}for(var u=0,c=r;u<c.length;u+=1){var h=c[u];delete this.keyCache[h],delete this._layerConfigs[h],delete this._layers[h]}this.familiesBySource={};for(var p=0,f=function(t,e){for(var r={},i=0;i<t.length;i++){var o=e&&e[t[i].id]||n(t[i]);e&&(e[t[i].id]=o);var a=r[o];a||(a=r[o]=[]),a.push(t[i])}var s=[];for(var l in r)s.push(r[l]);return s}(t.values(this._layerConfigs),this.keyCache);p<f.length;p+=1){var d=f[p].map((function(t){return i._layers[t.id]})),m=d[0];if(\\\"none\\\"!==m.visibility){var v=m.source||\\\"\\\",g=this.familiesBySource[v];g||(g=this.familiesBySource[v]={});var y=m.sourceLayer||\\\"_geojsonTileLayer\\\",_=g[y];_||(_=g[y]=[]),_.push(d)}}};var i=function(e){var n={},r=[];for(var i in e){var o=e[i],a=n[i]={};for(var s in o){var l=o[+s];if(l&&0!==l.bitmap.width&&0!==l.bitmap.height){var u={x:0,y:0,w:l.bitmap.width+2,h:l.bitmap.height+2};r.push(u),a[s]={rect:u,metrics:l.metrics}}}}var c=t.potpack(r),h=new t.AlphaImage({width:c.w||1,height:c.h||1});for(var p in e){var f=e[p];for(var d in f){var m=f[+d];if(m&&0!==m.bitmap.width&&0!==m.bitmap.height){var v=n[p][d].rect;t.AlphaImage.copy(m.bitmap,h,{x:0,y:0},{x:v.x+1,y:v.y+1},m.bitmap)}}}this.image=h,this.positions=n};t.register(\\\"GlyphAtlas\\\",i);var o=function(e){this.tileID=new t.OverscaledTileID(e.tileID.overscaledZ,e.tileID.wrap,e.tileID.canonical.z,e.tileID.canonical.x,e.tileID.canonical.y),this.uid=e.uid,this.zoom=e.zoom,this.pixelRatio=e.pixelRatio,this.tileSize=e.tileSize,this.source=e.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=e.showCollisionBoxes,this.collectResourceTiming=!!e.collectResourceTiming,this.returnDependencies=!!e.returnDependencies,this.promoteId=e.promoteId};function a(e,n,r){for(var i=new t.EvaluationParameters(n),o=0,a=e;o<a.length;o+=1)a[o].recalculate(i,r)}function s(e,n){var r=t.getArrayBuffer(e.request,(function(e,r,i,o){e?n(e):r&&n(null,{vectorTile:new t.vectorTile.VectorTile(new t.pbf(r)),rawData:r,cacheControl:i,expires:o})}));return function(){r.cancel(),n()}}o.prototype.parse=function(e,n,r,o,s){var l=this;this.status=\\\"parsing\\\",this.data=e,this.collisionBoxArray=new t.CollisionBoxArray;var u=new t.DictionaryCoder(Object.keys(e.layers).sort()),c=new t.FeatureIndex(this.tileID,this.promoteId);c.bucketLayerIDs=[];var h,p,f,d,m={},v={featureIndex:c,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:r},g=n.familiesBySource[this.source];for(var y in g){var _=e.layers[y];if(_){1===_.version&&t.warnOnce('Vector tile source \\\"'+this.source+'\\\" layer \\\"'+y+'\\\" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var b=u.encode(y),x=[],w=0;w<_.length;w++){var A=_.feature(w),C=c.getId(A,y);x.push({feature:A,id:C,index:w,sourceLayerIndex:b})}for(var M=0,E=g[y];M<E.length;M+=1){var T=E[M],S=T[0];S.minzoom&&this.zoom<Math.floor(S.minzoom)||S.maxzoom&&this.zoom>=S.maxzoom||\\\"none\\\"!==S.visibility&&(a(T,this.zoom,r),(m[S.id]=S.createBucket({index:c.bucketLayerIDs.length,layers:T,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:b,sourceID:this.source})).populate(x,v,this.tileID.canonical),c.bucketLayerIDs.push(T.map((function(t){return t.id}))))}}}var k=t.mapObject(v.glyphDependencies,(function(t){return Object.keys(t).map(Number)}));Object.keys(k).length?o.send(\\\"getGlyphs\\\",{uid:this.uid,stacks:k},(function(t,e){h||(h=t,p=e,L.call(l))})):p={};var O=Object.keys(v.iconDependencies);O.length?o.send(\\\"getImages\\\",{icons:O,source:this.source,tileID:this.tileID,type:\\\"icons\\\"},(function(t,e){h||(h=t,f=e,L.call(l))})):f={};var I=Object.keys(v.patternDependencies);function L(){if(h)return s(h);if(p&&f&&d){var e=new i(p),n=new t.ImageAtlas(f,d);for(var o in m){var l=m[o];l instanceof t.SymbolBucket?(a(l.layers,this.zoom,r),t.performSymbolLayout(l,p,e.positions,f,n.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):l.hasPattern&&(l instanceof t.LineBucket||l instanceof t.FillBucket||l instanceof t.FillExtrusionBucket)&&(a(l.layers,this.zoom,r),l.addFeatures(v,this.tileID.canonical,n.patternPositions))}this.status=\\\"done\\\",s(null,{buckets:t.values(m).filter((function(t){return!t.isEmpty()})),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:e.image,imageAtlas:n,glyphMap:this.returnDependencies?p:null,iconMap:this.returnDependencies?f:null,glyphPositions:this.returnDependencies?e.positions:null})}}I.length?o.send(\\\"getImages\\\",{icons:I,source:this.source,tileID:this.tileID,type:\\\"patterns\\\"},(function(t,e){h||(h=t,d=e,L.call(l))})):d={},L.call(this)};var l=function(t,e,n,r){this.actor=t,this.layerIndex=e,this.availableImages=n,this.loadVectorData=r||s,this.loading={},this.loaded={}};l.prototype.loadTile=function(e,n){var r=this,i=e.uid;this.loading||(this.loading={});var a=!!(e&&e.request&&e.request.collectResourceTiming)&&new t.RequestPerformance(e.request),s=this.loading[i]=new o(e);s.abort=this.loadVectorData(e,(function(e,o){if(delete r.loading[i],e||!o)return s.status=\\\"done\\\",r.loaded[i]=s,n(e);var l=o.rawData,u={};o.expires&&(u.expires=o.expires),o.cacheControl&&(u.cacheControl=o.cacheControl);var c={};if(a){var h=a.finish();h&&(c.resourceTiming=JSON.parse(JSON.stringify(h)))}s.vectorTile=o.vectorTile,s.parse(o.vectorTile,r.layerIndex,r.availableImages,r.actor,(function(e,r){if(e||!r)return n(e);n(null,t.extend({rawTileData:l.slice(0)},r,u,c))})),r.loaded=r.loaded||{},r.loaded[i]=s}))},l.prototype.reloadTile=function(t,e){var n=this,r=this.loaded,i=t.uid,o=this;if(r&&r[i]){var a=r[i];a.showCollisionBoxes=t.showCollisionBoxes;var s=function(t,r){var i=a.reloadCallback;i&&(delete a.reloadCallback,a.parse(a.vectorTile,o.layerIndex,n.availableImages,o.actor,i)),e(t,r)};\\\"parsing\\\"===a.status?a.reloadCallback=s:\\\"done\\\"===a.status&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}},l.prototype.abortTile=function(t,e){var n=this.loading,r=t.uid;n&&n[r]&&n[r].abort&&(n[r].abort(),delete n[r]),e()},l.prototype.removeTile=function(t,e){var n=this.loaded,r=t.uid;n&&n[r]&&delete n[r],e()};var u=t.window.ImageBitmap,c=function(){this.loaded={}};function h(t,e){if(0!==t.length){p(t[0],e);for(var n=1;n<t.length;n++)p(t[n],!e)}}function p(t,e){for(var n=0,r=0,i=t.length,o=i-1;r<i;o=r++)n+=(t[r][0]-t[o][0])*(t[o][1]+t[r][1]);n>=0!=!!e&&t.reverse()}c.prototype.loadTile=function(e,n){var r=e.uid,i=e.encoding,o=e.rawImageData,a=u&&o instanceof u?this.getImageData(o):o,s=new t.DEMData(r,a,i);this.loaded=this.loaded||{},this.loaded[r]=s,n(null,s)},c.prototype.getImageData=function(e){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(e.width,e.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext(\\\"2d\\\")),this.offscreenCanvas.width=e.width,this.offscreenCanvas.height=e.height,this.offscreenCanvasContext.drawImage(e,0,0,e.width,e.height);var n=this.offscreenCanvasContext.getImageData(-1,-1,e.width+2,e.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new t.RGBAImage({width:n.width,height:n.height},n.data)},c.prototype.removeTile=function(t){var e=this.loaded,n=t.uid;e&&e[n]&&delete e[n]};var f=t.vectorTile.VectorTileFeature.prototype.toGeoJSON,d=function(e){this._feature=e,this.extent=t.EXTENT,this.type=e.type,this.properties=e.tags,\\\"id\\\"in e&&!isNaN(e.id)&&(this.id=parseInt(e.id,10))};d.prototype.loadGeometry=function(){if(1===this._feature.type){for(var e=[],n=0,r=this._feature.geometry;n<r.length;n+=1){var i=r[n];e.push([new t.Point$1(i[0],i[1])])}return e}for(var o=[],a=0,s=this._feature.geometry;a<s.length;a+=1){for(var l=[],u=0,c=s[a];u<c.length;u+=1){var h=c[u];l.push(new t.Point$1(h[0],h[1]))}o.push(l)}return o},d.prototype.toGeoJSON=function(t,e,n){return f.call(this,t,e,n)};var m=function(e){this.layers={_geojsonTileLayer:this},this.name=\\\"_geojsonTileLayer\\\",this.extent=t.EXTENT,this.length=e.length,this._features=e};m.prototype.feature=function(t){return new d(this._features[t])};var v=t.vectorTile.VectorTileFeature,g=y;function y(t,e){this.options=e||{},this.features=t,this.length=t.length}function _(t,e){this.id=\\\"number\\\"==typeof t.id?t.id:void 0,this.type=t.type,this.rawGeometry=1===t.type?[t.geometry]:t.geometry,this.properties=t.tags,this.extent=e||4096}y.prototype.feature=function(t){return new _(this.features[t],this.options.extent)},_.prototype.loadGeometry=function(){var e=this.rawGeometry;this.geometry=[];for(var n=0;n<e.length;n++){for(var r=e[n],i=[],o=0;o<r.length;o++)i.push(new t.Point$1(r[o][0],r[o][1]));this.geometry.push(i)}return this.geometry},_.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var t=this.geometry,e=1/0,n=-1/0,r=1/0,i=-1/0,o=0;o<t.length;o++)for(var a=t[o],s=0;s<a.length;s++){var l=a[s];e=Math.min(e,l.x),n=Math.max(n,l.x),r=Math.min(r,l.y),i=Math.max(i,l.y)}return[e,r,n,i]},_.prototype.toGeoJSON=v.prototype.toGeoJSON;var b=w,x=g;function w(e){var n=new t.pbf;return function(t,e){for(var n in t.layers)e.writeMessage(3,A,t.layers[n])}(e,n),n.finish()}function A(t,e){var n;e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||\\\"\\\"),e.writeVarintField(5,t.extent||4096);var r={keys:[],values:[],keycache:{},valuecache:{}};for(n=0;n<t.length;n++)r.feature=t.feature(n),e.writeMessage(2,C,r);var i=r.keys;for(n=0;n<i.length;n++)e.writeStringField(3,i[n]);var o=r.values;for(n=0;n<o.length;n++)e.writeMessage(4,k,o[n])}function C(t,e){var n=t.feature;void 0!==n.id&&e.writeVarintField(1,n.id),e.writeMessage(2,M,t),e.writeVarintField(3,n.type),e.writeMessage(4,S,n)}function M(t,e){var n=t.feature,r=t.keys,i=t.values,o=t.keycache,a=t.valuecache;for(var s in n.properties){var l=o[s];void 0===l&&(r.push(s),o[s]=l=r.length-1),e.writeVarint(l);var u=n.properties[s],c=typeof u;\\\"string\\\"!==c&&\\\"boolean\\\"!==c&&\\\"number\\\"!==c&&(u=JSON.stringify(u));var h=c+\\\":\\\"+u,p=a[h];void 0===p&&(i.push(u),a[h]=p=i.length-1),e.writeVarint(p)}}function E(t,e){return(e<<3)+(7&t)}function T(t){return t<<1^t>>31}function S(t,e){for(var n=t.loadGeometry(),r=t.type,i=0,o=0,a=n.length,s=0;s<a;s++){var l=n[s],u=1;1===r&&(u=l.length),e.writeVarint(E(1,u));for(var c=3===r?l.length-1:l.length,h=0;h<c;h++){1===h&&1!==r&&e.writeVarint(E(2,c-1));var p=l[h].x-i,f=l[h].y-o;e.writeVarint(T(p)),e.writeVarint(T(f)),i+=p,o+=f}3===r&&e.writeVarint(E(7,1))}}function k(t,e){var n=typeof t;\\\"string\\\"===n?e.writeStringField(1,t):\\\"boolean\\\"===n?e.writeBooleanField(7,t):\\\"number\\\"===n&&(t%1!=0?e.writeDoubleField(3,t):t<0?e.writeSVarintField(6,t):e.writeVarintField(5,t))}function O(t,e,n,r){I(t,n,r),I(e,2*n,2*r),I(e,2*n+1,2*r+1)}function I(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function L(t,e,n,r){var i=t-n,o=e-r;return i*i+o*o}b.fromVectorTileJs=w,b.fromGeojsonVt=function(t,e){e=e||{};var n={};for(var r in t)n[r]=new g(t[r].features,e),n[r].name=r,n[r].version=e.version,n[r].extent=e.extent;return w({layers:n})},b.GeoJSONWrapper=x;var P=function(t){return t[0]},z=function(t){return t[1]},R=function(t,e,n,r,i){void 0===e&&(e=P),void 0===n&&(n=z),void 0===r&&(r=64),void 0===i&&(i=Float64Array),this.nodeSize=r,this.points=t;for(var o=t.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(t.length),s=this.coords=new i(2*t.length),l=0;l<t.length;l++)a[l]=l,s[2*l]=e(t[l]),s[2*l+1]=n(t[l]);!function t(e,n,r,i,o,a){if(!(o-i<=r)){var s=i+o>>1;!function t(e,n,r,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=r-i+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1);t(e,n,r,Math.max(i,Math.floor(r-l*c/s+h)),Math.min(o,Math.floor(r+(s-l)*c/s+h)),a)}var p=n[2*r+a],f=i,d=o;for(O(e,n,i,r),n[2*o+a]>p&&O(e,n,i,o);f<d;){for(O(e,n,f,d),f++,d--;n[2*f+a]<p;)f++;for(;n[2*d+a]>p;)d--}n[2*i+a]===p?O(e,n,i,d):O(e,n,++d,o),d<=r&&(i=d+1),r<=d&&(o=d-1)}}(e,n,s,i,o,a%2),t(e,n,r,i,s-1,a+1),t(e,n,r,s+1,o,a+1)}}(a,s,r,0,a.length-1,0)};R.prototype.range=function(t,e,n,r){return function(t,e,n,r,i,o,a){for(var s,l,u=[0,t.length-1,0],c=[];u.length;){var h=u.pop(),p=u.pop(),f=u.pop();if(p-f<=a)for(var d=f;d<=p;d++)l=e[2*d+1],(s=e[2*d])>=n&&s<=i&&l>=r&&l<=o&&c.push(t[d]);else{var m=Math.floor((f+p)/2);l=e[2*m+1],(s=e[2*m])>=n&&s<=i&&l>=r&&l<=o&&c.push(t[m]);var v=(h+1)%2;(0===h?n<=s:r<=l)&&(u.push(f),u.push(m-1),u.push(v)),(0===h?i>=s:o>=l)&&(u.push(m+1),u.push(p),u.push(v))}}return c}(this.ids,this.coords,t,e,n,r,this.nodeSize)},R.prototype.within=function(t,e,n){return function(t,e,n,r,i,o){for(var a=[0,t.length-1,0],s=[],l=i*i;a.length;){var u=a.pop(),c=a.pop(),h=a.pop();if(c-h<=o)for(var p=h;p<=c;p++)L(e[2*p],e[2*p+1],n,r)<=l&&s.push(t[p]);else{var f=Math.floor((h+c)/2),d=e[2*f],m=e[2*f+1];L(d,m,n,r)<=l&&s.push(t[f]);var v=(u+1)%2;(0===u?n-i<=d:r-i<=m)&&(a.push(h),a.push(f-1),a.push(v)),(0===u?n+i>=d:r+i>=m)&&(a.push(f+1),a.push(c),a.push(v))}}return s}(this.ids,this.coords,t,e,n,this.nodeSize)};var D={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(t){return t}},$=function(t){this.options=V(Object.create(D),t),this.trees=new Array(this.options.maxZoom+1)};function B(t,e,n,r,i){return{x:t,y:e,zoom:1/0,id:n,parentId:-1,numPoints:r,properties:i}}function N(t,e){var n=t.geometry.coordinates,r=n[1];return{x:U(n[0]),y:q(r),zoom:1/0,index:e,parentId:-1}}function F(t){return{type:\\\"Feature\\\",id:t.id,properties:j(t),geometry:{type:\\\"Point\\\",coordinates:[(r=t.x,360*(r-.5)),(e=t.y,n=(180-360*e)*Math.PI/180,360*Math.atan(Math.exp(n))/Math.PI-90)]}};var e,n,r}function j(t){var e=t.numPoints,n=e>=1e4?Math.round(e/1e3)+\\\"k\\\":e>=1e3?Math.round(e/100)/10+\\\"k\\\":e;return V(V({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:n})}function U(t){return t/360+.5}function q(t){var e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function V(t,e){for(var n in e)t[n]=e[n];return t}function H(t){return t.x}function G(t){return t.y}function W(t,e,n,r,i,o){var a=i-n,s=o-r;if(0!==a||0!==s){var l=((t-n)*a+(e-r)*s)/(a*a+s*s);l>1?(n=i,r=o):l>0&&(n+=a*l,r+=s*l)}return(a=t-n)*a+(s=e-r)*s}function X(t,e,n,r){var i={id:void 0===t?null:t,type:e,geometry:n,tags:r,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(t){var e=t.geometry,n=t.type;if(\\\"Point\\\"===n||\\\"MultiPoint\\\"===n||\\\"LineString\\\"===n)Y(t,e);else if(\\\"Polygon\\\"===n||\\\"MultiLineString\\\"===n)for(var r=0;r<e.length;r++)Y(t,e[r]);else if(\\\"MultiPolygon\\\"===n)for(r=0;r<e.length;r++)for(var i=0;i<e[r].length;i++)Y(t,e[r][i])}(i),i}function Y(t,e){for(var n=0;n<e.length;n+=3)t.minX=Math.min(t.minX,e[n]),t.minY=Math.min(t.minY,e[n+1]),t.maxX=Math.max(t.maxX,e[n]),t.maxY=Math.max(t.maxY,e[n+1])}function Z(t,e,n,r){if(e.geometry){var i=e.geometry.coordinates,o=e.geometry.type,a=Math.pow(n.tolerance/((1<<n.maxZoom)*n.extent),2),s=[],l=e.id;if(n.promoteId?l=e.properties[n.promoteId]:n.generateId&&(l=r||0),\\\"Point\\\"===o)K(i,s);else if(\\\"MultiPoint\\\"===o)for(var u=0;u<i.length;u++)K(i[u],s);else if(\\\"LineString\\\"===o)J(i,s,a,!1);else if(\\\"MultiLineString\\\"===o){if(n.lineMetrics){for(u=0;u<i.length;u++)J(i[u],s=[],a,!1),t.push(X(l,\\\"LineString\\\",s,e.properties));return}Q(i,s,a,!1)}else if(\\\"Polygon\\\"===o)Q(i,s,a,!0);else{if(\\\"MultiPolygon\\\"!==o){if(\\\"GeometryCollection\\\"===o){for(u=0;u<e.geometry.geometries.length;u++)Z(t,{id:l,geometry:e.geometry.geometries[u],properties:e.properties},n,r);return}throw new Error(\\\"Input data is not a valid GeoJSON object.\\\")}for(u=0;u<i.length;u++){var c=[];Q(i[u],c,a,!0),s.push(c)}}t.push(X(l,o,s,e.properties))}}function K(t,e){e.push(tt(t[0])),e.push(et(t[1])),e.push(0)}function J(t,e,n,r){for(var i,o,a=0,s=0;s<t.length;s++){var l=tt(t[s][0]),u=et(t[s][1]);e.push(l),e.push(u),e.push(0),s>0&&(a+=r?(i*u-l*o)/2:Math.sqrt(Math.pow(l-i,2)+Math.pow(u-o,2))),i=l,o=u}var c=e.length-3;e[2]=1,function t(e,n,r,i){for(var o,a=i,s=r-n>>1,l=r-n,u=e[n],c=e[n+1],h=e[r],p=e[r+1],f=n+3;f<r;f+=3){var d=W(e[f],e[f+1],u,c,h,p);if(d>a)o=f,a=d;else if(d===a){var m=Math.abs(f-s);m<l&&(o=f,l=m)}}a>i&&(o-n>3&&t(e,n,o,i),e[o+2]=a,r-o>3&&t(e,o,r,i))}(e,0,c,n),e[c+2]=1,e.size=Math.abs(a),e.start=0,e.end=e.size}function Q(t,e,n,r){for(var i=0;i<t.length;i++){var o=[];J(t[i],o,n,r),e.push(o)}}function tt(t){return t/360+.5}function et(t){var e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function nt(t,e,n,r,i,o,a,s){if(r/=e,o>=(n/=e)&&a<r)return t;if(a<n||o>=r)return null;for(var l=[],u=0;u<t.length;u++){var c=t[u],h=c.geometry,p=c.type,f=0===i?c.minX:c.minY,d=0===i?c.maxX:c.maxY;if(f>=n&&d<r)l.push(c);else if(!(d<n||f>=r)){var m=[];if(\\\"Point\\\"===p||\\\"MultiPoint\\\"===p)rt(h,m,n,r,i);else if(\\\"LineString\\\"===p)it(h,m,n,r,i,!1,s.lineMetrics);else if(\\\"MultiLineString\\\"===p)at(h,m,n,r,i,!1);else if(\\\"Polygon\\\"===p)at(h,m,n,r,i,!0);else if(\\\"MultiPolygon\\\"===p)for(var v=0;v<h.length;v++){var g=[];at(h[v],g,n,r,i,!0),g.length&&m.push(g)}if(m.length){if(s.lineMetrics&&\\\"LineString\\\"===p){for(v=0;v<m.length;v++)l.push(X(c.id,p,m[v],c.tags));continue}\\\"LineString\\\"!==p&&\\\"MultiLineString\\\"!==p||(1===m.length?(p=\\\"LineString\\\",m=m[0]):p=\\\"MultiLineString\\\"),\\\"Point\\\"!==p&&\\\"MultiPoint\\\"!==p||(p=3===m.length?\\\"Point\\\":\\\"MultiPoint\\\"),l.push(X(c.id,p,m,c.tags))}}}return l.length?l:null}function rt(t,e,n,r,i){for(var o=0;o<t.length;o+=3){var a=t[o+i];a>=n&&a<=r&&(e.push(t[o]),e.push(t[o+1]),e.push(t[o+2]))}}function it(t,e,n,r,i,o,a){for(var s,l,u=ot(t),c=0===i?lt:ut,h=t.start,p=0;p<t.length-3;p+=3){var f=t[p],d=t[p+1],m=t[p+2],v=t[p+3],g=t[p+4],y=0===i?f:d,_=0===i?v:g,b=!1;a&&(s=Math.sqrt(Math.pow(f-v,2)+Math.pow(d-g,2))),y<n?_>n&&(l=c(u,f,d,v,g,n),a&&(u.start=h+s*l)):y>r?_<r&&(l=c(u,f,d,v,g,r),a&&(u.start=h+s*l)):st(u,f,d,m),_<n&&y>=n&&(l=c(u,f,d,v,g,n),b=!0),_>r&&y<=r&&(l=c(u,f,d,v,g,r),b=!0),!o&&b&&(a&&(u.end=h+s*l),e.push(u),u=ot(t)),a&&(h+=s)}var x=t.length-3;f=t[x],d=t[x+1],m=t[x+2],(y=0===i?f:d)>=n&&y<=r&&st(u,f,d,m),x=u.length-3,o&&x>=3&&(u[x]!==u[0]||u[x+1]!==u[1])&&st(u,u[0],u[1],u[2]),u.length&&e.push(u)}function ot(t){var e=[];return e.size=t.size,e.start=t.start,e.end=t.end,e}function at(t,e,n,r,i,o){for(var a=0;a<t.length;a++)it(t[a],e,n,r,i,o,!1)}function st(t,e,n,r){t.push(e),t.push(n),t.push(r)}function lt(t,e,n,r,i,o){var a=(o-e)/(r-e);return t.push(o),t.push(n+(i-n)*a),t.push(1),a}function ut(t,e,n,r,i,o){var a=(o-n)/(i-n);return t.push(e+(r-e)*a),t.push(o),t.push(1),a}function ct(t,e){for(var n=[],r=0;r<t.length;r++){var i,o=t[r],a=o.type;if(\\\"Point\\\"===a||\\\"MultiPoint\\\"===a||\\\"LineString\\\"===a)i=ht(o.geometry,e);else if(\\\"MultiLineString\\\"===a||\\\"Polygon\\\"===a){i=[];for(var s=0;s<o.geometry.length;s++)i.push(ht(o.geometry[s],e))}else if(\\\"MultiPolygon\\\"===a)for(i=[],s=0;s<o.geometry.length;s++){for(var l=[],u=0;u<o.geometry[s].length;u++)l.push(ht(o.geometry[s][u],e));i.push(l)}n.push(X(o.id,a,i,o.tags))}return n}function ht(t,e){var n=[];n.size=t.size,void 0!==t.start&&(n.start=t.start,n.end=t.end);for(var r=0;r<t.length;r+=3)n.push(t[r]+e,t[r+1],t[r+2]);return n}function pt(t,e){if(t.transformed)return t;var n,r,i,o=1<<t.z,a=t.x,s=t.y;for(n=0;n<t.features.length;n++){var l=t.features[n],u=l.geometry,c=l.type;if(l.geometry=[],1===c)for(r=0;r<u.length;r+=2)l.geometry.push(ft(u[r],u[r+1],e,o,a,s));else for(r=0;r<u.length;r++){var h=[];for(i=0;i<u[r].length;i+=2)h.push(ft(u[r][i],u[r][i+1],e,o,a,s));l.geometry.push(h)}}return t.transformed=!0,t}function ft(t,e,n,r,i,o){return[Math.round(n*(t*r-i)),Math.round(n*(e*r-o))]}function dt(t,e,n,r,i){for(var o=e===i.maxZoom?0:i.tolerance/((1<<e)*i.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:n,y:r,z:e,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<t.length;s++){a.numFeatures++,mt(a,t[s],o,i);var l=t[s].minX,u=t[s].minY,c=t[s].maxX,h=t[s].maxY;l<a.minX&&(a.minX=l),u<a.minY&&(a.minY=u),c>a.maxX&&(a.maxX=c),h>a.maxY&&(a.maxY=h)}return a}function mt(t,e,n,r){var i=e.geometry,o=e.type,a=[];if(\\\"Point\\\"===o||\\\"MultiPoint\\\"===o)for(var s=0;s<i.length;s+=3)a.push(i[s]),a.push(i[s+1]),t.numPoints++,t.numSimplified++;else if(\\\"LineString\\\"===o)vt(a,i,t,n,!1,!1);else if(\\\"MultiLineString\\\"===o||\\\"Polygon\\\"===o)for(s=0;s<i.length;s++)vt(a,i[s],t,n,\\\"Polygon\\\"===o,0===s);else if(\\\"MultiPolygon\\\"===o)for(var l=0;l<i.length;l++){var u=i[l];for(s=0;s<u.length;s++)vt(a,u[s],t,n,!0,0===s)}if(a.length){var c=e.tags||null;if(\\\"LineString\\\"===o&&r.lineMetrics){for(var h in c={},e.tags)c[h]=e.tags[h];c.mapbox_clip_start=i.start/i.size,c.mapbox_clip_end=i.end/i.size}var p={geometry:a,type:\\\"Polygon\\\"===o||\\\"MultiPolygon\\\"===o?3:\\\"LineString\\\"===o||\\\"MultiLineString\\\"===o?2:1,tags:c};null!==e.id&&(p.id=e.id),t.features.push(p)}}function vt(t,e,n,r,i,o){var a=r*r;if(r>0&&e.size<(i?a:r))n.numPoints+=e.length/3;else{for(var s=[],l=0;l<e.length;l+=3)(0===r||e[l+2]>a)&&(n.numSimplified++,s.push(e[l]),s.push(e[l+1])),n.numPoints++;i&&function(t,e){for(var n=0,r=0,i=t.length,o=i-2;r<i;o=r,r+=2)n+=(t[r]-t[o])*(t[r+1]+t[o+1]);if(n>0===e)for(r=0,i=t.length;r<i/2;r+=2){var a=t[r],s=t[r+1];t[r]=t[i-2-r],t[r+1]=t[i-1-r],t[i-2-r]=a,t[i-1-r]=s}}(s,o),t.push(s)}}function gt(t,e){var n=(e=this.options=function(t,e){for(var n in e)t[n]=e[n];return t}(Object.create(this.options),e)).debug;if(n&&console.time(\\\"preprocess data\\\"),e.maxZoom<0||e.maxZoom>24)throw new Error(\\\"maxZoom should be in the 0-24 range\\\");if(e.promoteId&&e.generateId)throw new Error(\\\"promoteId and generateId cannot be used together.\\\");var r=function(t,e){var n=[];if(\\\"FeatureCollection\\\"===t.type)for(var r=0;r<t.features.length;r++)Z(n,t.features[r],e,r);else Z(n,\\\"Feature\\\"===t.type?t:{geometry:t},e);return n}(t,e);this.tiles={},this.tileCoords=[],n&&(console.timeEnd(\\\"preprocess data\\\"),console.log(\\\"index: maxZoom: %d, maxPoints: %d\\\",e.indexMaxZoom,e.indexMaxPoints),console.time(\\\"generate tiles\\\"),this.stats={},this.total=0),(r=function(t,e){var n=e.buffer/e.extent,r=t,i=nt(t,1,-1-n,n,0,-1,2,e),o=nt(t,1,1-n,2+n,0,-1,2,e);return(i||o)&&(r=nt(t,1,-n,1+n,0,-1,2,e)||[],i&&(r=ct(i,1).concat(r)),o&&(r=r.concat(ct(o,-1)))),r}(r,e)).length&&this.splitTile(r,0,0,0),n&&(r.length&&console.log(\\\"features: %d, points: %d\\\",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd(\\\"generate tiles\\\"),console.log(\\\"tiles generated:\\\",this.total,JSON.stringify(this.stats)))}function yt(t,e,n){return 32*((1<<t)*n+e)+t}function _t(t,e){var n=t.tileID.canonical;if(!this._geoJSONIndex)return e(null,null);var r=this._geoJSONIndex.getTile(n.z,n.x,n.y);if(!r)return e(null,null);var i=new m(r.features),o=b(i);0===o.byteOffset&&o.byteLength===o.buffer.byteLength||(o=new Uint8Array(o)),e(null,{vectorTile:i,rawData:o.buffer})}$.prototype.load=function(t){var e=this.options,n=e.log,r=e.minZoom,i=e.maxZoom,o=e.nodeSize;n&&console.time(\\\"total time\\\");var a=\\\"prepare \\\"+t.length+\\\" points\\\";n&&console.time(a),this.points=t;for(var s=[],l=0;l<t.length;l++)t[l].geometry&&s.push(N(t[l],l));this.trees[i+1]=new R(s,H,G,o,Float32Array),n&&console.timeEnd(a);for(var u=i;u>=r;u--){var c=+Date.now();s=this._cluster(s,u),this.trees[u]=new R(s,H,G,o,Float32Array),n&&console.log(\\\"z%d: %d clusters in %dms\\\",u,s.length,+Date.now()-c)}return n&&console.timeEnd(\\\"total time\\\"),this},$.prototype.getClusters=function(t,e){var n=((t[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,t[1])),i=180===t[2]?180:((t[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)n=-180,i=180;else if(n>i){var a=this.getClusters([n,r,180,o],e),s=this.getClusters([-180,r,i,o],e);return a.concat(s)}for(var l=this.trees[this._limitZoom(e)],u=[],c=0,h=l.range(U(n),q(o),U(i),q(r));c<h.length;c+=1){var p=l.points[h[c]];u.push(p.numPoints?F(p):this.points[p.index])}return u},$.prototype.getChildren=function(t){var e=this._getOriginId(t),n=this._getOriginZoom(t),r=\\\"No cluster with the specified id.\\\",i=this.trees[n];if(!i)throw new Error(r);var o=i.points[e];if(!o)throw new Error(r);for(var a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=[],l=0,u=i.within(o.x,o.y,a);l<u.length;l+=1){var c=i.points[u[l]];c.parentId===t&&s.push(c.numPoints?F(c):this.points[c.index])}if(0===s.length)throw new Error(r);return s},$.prototype.getLeaves=function(t,e,n){var r=[];return this._appendLeaves(r,t,e=e||10,n=n||0,0),r},$.prototype.getTile=function(t,e,n){var r=this.trees[this._limitZoom(t)],i=Math.pow(2,t),o=this.options,a=o.radius/o.extent,s=(n-a)/i,l=(n+1+a)/i,u={features:[]};return this._addTileFeatures(r.range((e-a)/i,s,(e+1+a)/i,l),r.points,e,n,i,u),0===e&&this._addTileFeatures(r.range(1-a/i,s,1,l),r.points,i,n,i,u),e===i-1&&this._addTileFeatures(r.range(0,s,a/i,l),r.points,-1,n,i,u),u.features.length?u:null},$.prototype.getClusterExpansionZoom=function(t){for(var e=this._getOriginZoom(t)-1;e<=this.options.maxZoom;){var n=this.getChildren(t);if(e++,1!==n.length)break;t=n[0].properties.cluster_id}return e},$.prototype._appendLeaves=function(t,e,n,r,i){for(var o=0,a=this.getChildren(e);o<a.length;o+=1){var s=a[o],l=s.properties;if(l&&l.cluster?i+l.point_count<=r?i+=l.point_count:i=this._appendLeaves(t,l.cluster_id,n,r,i):i<r?i++:t.push(s),t.length===n)break}return i},$.prototype._addTileFeatures=function(t,e,n,r,i,o){for(var a=0,s=t;a<s.length;a+=1){var l=e[s[a]],u=l.numPoints,c={type:1,geometry:[[Math.round(this.options.extent*(l.x*i-n)),Math.round(this.options.extent*(l.y*i-r))]],tags:u?j(l):this.points[l.index].properties},h=void 0;u?h=l.id:this.options.generateId?h=l.index:this.points[l.index].id&&(h=this.points[l.index].id),void 0!==h&&(c.id=h),o.features.push(c)}},$.prototype._limitZoom=function(t){return Math.max(this.options.minZoom,Math.min(t,this.options.maxZoom+1))},$.prototype._cluster=function(t,e){for(var n=[],r=this.options,i=r.reduce,o=r.radius/(r.extent*Math.pow(2,e)),a=0;a<t.length;a++){var s=t[a];if(!(s.zoom<=e)){s.zoom=e;for(var l=this.trees[e+1],u=l.within(s.x,s.y,o),c=s.numPoints||1,h=s.x*c,p=s.y*c,f=i&&c>1?this._map(s,!0):null,d=(a<<5)+(e+1)+this.points.length,m=0,v=u;m<v.length;m+=1){var g=l.points[v[m]];if(!(g.zoom<=e)){g.zoom=e;var y=g.numPoints||1;h+=g.x*y,p+=g.y*y,c+=y,g.parentId=d,i&&(f||(f=this._map(s,!0)),i(f,this._map(g)))}}1===c?n.push(s):(s.parentId=d,n.push(B(h/c,p/c,d,c,f)))}}return n},$.prototype._getOriginId=function(t){return t-this.points.length>>5},$.prototype._getOriginZoom=function(t){return(t-this.points.length)%32},$.prototype._map=function(t,e){if(t.numPoints)return e?V({},t.properties):t.properties;var n=this.points[t.index].properties,r=this.options.map(n);return e&&r===n?V({},r):r},gt.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},gt.prototype.splitTile=function(t,e,n,r,i,o,a){for(var s=[t,e,n,r],l=this.options,u=l.debug;s.length;){r=s.pop(),n=s.pop(),e=s.pop(),t=s.pop();var c=1<<e,h=yt(e,n,r),p=this.tiles[h];if(!p&&(u>1&&console.time(\\\"creation\\\"),p=this.tiles[h]=dt(t,e,n,r,l),this.tileCoords.push({z:e,x:n,y:r}),u)){u>1&&(console.log(\\\"tile z%d-%d-%d (features: %d, points: %d, simplified: %d)\\\",e,n,r,p.numFeatures,p.numPoints,p.numSimplified),console.timeEnd(\\\"creation\\\"));var f=\\\"z\\\"+e;this.stats[f]=(this.stats[f]||0)+1,this.total++}if(p.source=t,i){if(e===l.maxZoom||e===i)continue;var d=1<<i-e;if(n!==Math.floor(o/d)||r!==Math.floor(a/d))continue}else if(e===l.indexMaxZoom||p.numPoints<=l.indexMaxPoints)continue;if(p.source=null,0!==t.length){u>1&&console.time(\\\"clipping\\\");var m,v,g,y,_,b,x=.5*l.buffer/l.extent,w=.5-x,A=.5+x,C=1+x;m=v=g=y=null,_=nt(t,c,n-x,n+A,0,p.minX,p.maxX,l),b=nt(t,c,n+w,n+C,0,p.minX,p.maxX,l),t=null,_&&(m=nt(_,c,r-x,r+A,1,p.minY,p.maxY,l),v=nt(_,c,r+w,r+C,1,p.minY,p.maxY,l),_=null),b&&(g=nt(b,c,r-x,r+A,1,p.minY,p.maxY,l),y=nt(b,c,r+w,r+C,1,p.minY,p.maxY,l),b=null),u>1&&console.timeEnd(\\\"clipping\\\"),s.push(m||[],e+1,2*n,2*r),s.push(v||[],e+1,2*n,2*r+1),s.push(g||[],e+1,2*n+1,2*r),s.push(y||[],e+1,2*n+1,2*r+1)}}},gt.prototype.getTile=function(t,e,n){var r=this.options,i=r.extent,o=r.debug;if(t<0||t>24)return null;var a=1<<t,s=yt(t,e=(e%a+a)%a,n);if(this.tiles[s])return pt(this.tiles[s],i);o>1&&console.log(\\\"drilling down to z%d-%d-%d\\\",t,e,n);for(var l,u=t,c=e,h=n;!l&&u>0;)u--,c=Math.floor(c/2),h=Math.floor(h/2),l=this.tiles[yt(u,c,h)];return l&&l.source?(o>1&&console.log(\\\"found parent tile z%d-%d-%d\\\",u,c,h),o>1&&console.time(\\\"drilling down\\\"),this.splitTile(l.source,u,c,h,t,e,n),o>1&&console.timeEnd(\\\"drilling down\\\"),this.tiles[s]?pt(this.tiles[s],i):null):null};var bt=function(e){function n(t,n,r,i){e.call(this,t,n,r,_t),i&&(this.loadGeoJSON=i)}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.loadData=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=e,this._pendingLoadDataParams=t,this._state&&\\\"Idle\\\"!==this._state?this._state=\\\"NeedsLoadData\\\":(this._state=\\\"Coalescing\\\",this._loadData())},n.prototype._loadData=function(){var e=this;if(this._pendingCallback&&this._pendingLoadDataParams){var n=this._pendingCallback,r=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var i=!!(r&&r.request&&r.request.collectResourceTiming)&&new t.RequestPerformance(r.request);this.loadGeoJSON(r,(function(o,a){if(o||!a)return n(o);if(\\\"object\\\"!=typeof a)return n(new Error(\\\"Input data given to '\\\"+r.source+\\\"' is not a valid GeoJSON object.\\\"));!function t(e,n){var r,i=e&&e.type;if(\\\"FeatureCollection\\\"===i)for(r=0;r<e.features.length;r++)t(e.features[r],n);else if(\\\"GeometryCollection\\\"===i)for(r=0;r<e.geometries.length;r++)t(e.geometries[r],n);else if(\\\"Feature\\\"===i)t(e.geometry,n);else if(\\\"Polygon\\\"===i)h(e.coordinates,n);else if(\\\"MultiPolygon\\\"===i)for(r=0;r<e.coordinates.length;r++)h(e.coordinates[r],n);return e}(a,!0);try{e._geoJSONIndex=r.cluster?new $(function(e){var n=e.superclusterOptions,r=e.clusterProperties;if(!r||!n)return n;for(var i={},o={},a={accumulated:null,zoom:0},s={properties:null},l=Object.keys(r),u=0,c=l;u<c.length;u+=1){var h=c[u],p=r[h],f=p[0],d=t.createExpression(p[1]),m=t.createExpression(\\\"string\\\"==typeof f?[f,[\\\"accumulated\\\"],[\\\"get\\\",h]]:f);i[h]=d.value,o[h]=m.value}return n.map=function(t){s.properties=t;for(var e={},n=0,r=l;n<r.length;n+=1){var o=r[n];e[o]=i[o].evaluate(a,s)}return e},n.reduce=function(t,e){s.properties=e;for(var n=0,r=l;n<r.length;n+=1){var i=r[n];a.accumulated=t[i],t[i]=o[i].evaluate(a,s)}},n}(r)).load(a.features):function(t,e){return new gt(t,e)}(a,r.geojsonVtOptions)}catch(o){return n(o)}e.loaded={};var s={};if(i){var l=i.finish();l&&(s.resourceTiming={},s.resourceTiming[r.source]=JSON.parse(JSON.stringify(l)))}n(null,s)}))}},n.prototype.coalesce=function(){\\\"Coalescing\\\"===this._state?this._state=\\\"Idle\\\":\\\"NeedsLoadData\\\"===this._state&&(this._state=\\\"Coalescing\\\",this._loadData())},n.prototype.reloadTile=function(t,n){var r=this.loaded;return r&&r[t.uid]?e.prototype.reloadTile.call(this,t,n):this.loadTile(t,n)},n.prototype.loadGeoJSON=function(e,n){if(e.request)t.getJSON(e.request,n);else{if(\\\"string\\\"!=typeof e.data)return n(new Error(\\\"Input data given to '\\\"+e.source+\\\"' is not a valid GeoJSON object.\\\"));try{return n(null,JSON.parse(e.data))}catch(t){return n(new Error(\\\"Input data given to '\\\"+e.source+\\\"' is not a valid GeoJSON object.\\\"))}}},n.prototype.removeSource=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),e()},n.prototype.getClusterExpansionZoom=function(t,e){try{e(null,this._geoJSONIndex.getClusterExpansionZoom(t.clusterId))}catch(t){e(t)}},n.prototype.getClusterChildren=function(t,e){try{e(null,this._geoJSONIndex.getChildren(t.clusterId))}catch(t){e(t)}},n.prototype.getClusterLeaves=function(t,e){try{e(null,this._geoJSONIndex.getLeaves(t.clusterId,t.limit,t.offset))}catch(t){e(t)}},n}(l),xt=function(e){var n=this;this.self=e,this.actor=new t.Actor(e,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:l,geojson:bt},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(t,e){if(n.workerSourceTypes[t])throw new Error('Worker source with name \\\"'+t+'\\\" already registered.');n.workerSourceTypes[t]=e},this.self.registerRTLTextPlugin=function(e){if(t.plugin.isParsed())throw new Error(\\\"RTL text plugin already registered.\\\");t.plugin.applyArabicShaping=e.applyArabicShaping,t.plugin.processBidirectionalText=e.processBidirectionalText,t.plugin.processStyledBidirectionalText=e.processStyledBidirectionalText}};return xt.prototype.setReferrer=function(t,e){this.referrer=e},xt.prototype.setImages=function(t,e,n){for(var r in this.availableImages[t]=e,this.workerSources[t]){var i=this.workerSources[t][r];for(var o in i)i[o].availableImages=e}n()},xt.prototype.setLayers=function(t,e,n){this.getLayerIndex(t).replace(e),n()},xt.prototype.updateLayers=function(t,e,n){this.getLayerIndex(t).update(e.layers,e.removedIds),n()},xt.prototype.loadTile=function(t,e,n){this.getWorkerSource(t,e.type,e.source).loadTile(e,n)},xt.prototype.loadDEMTile=function(t,e,n){this.getDEMWorkerSource(t,e.source).loadTile(e,n)},xt.prototype.reloadTile=function(t,e,n){this.getWorkerSource(t,e.type,e.source).reloadTile(e,n)},xt.prototype.abortTile=function(t,e,n){this.getWorkerSource(t,e.type,e.source).abortTile(e,n)},xt.prototype.removeTile=function(t,e,n){this.getWorkerSource(t,e.type,e.source).removeTile(e,n)},xt.prototype.removeDEMTile=function(t,e){this.getDEMWorkerSource(t,e.source).removeTile(e)},xt.prototype.removeSource=function(t,e,n){if(this.workerSources[t]&&this.workerSources[t][e.type]&&this.workerSources[t][e.type][e.source]){var r=this.workerSources[t][e.type][e.source];delete this.workerSources[t][e.type][e.source],void 0!==r.removeSource?r.removeSource(e,n):n()}},xt.prototype.loadWorkerSource=function(t,e,n){try{this.self.importScripts(e.url),n()}catch(t){n(t.toString())}},xt.prototype.syncRTLPluginState=function(e,n,r){try{t.plugin.setState(n);var i=t.plugin.getPluginURL();if(t.plugin.isLoaded()&&!t.plugin.isParsed()&&null!=i){this.self.importScripts(i);var o=t.plugin.isParsed();r(o?void 0:new Error(\\\"RTL Text Plugin failed to import scripts from \\\"+i),o)}}catch(t){r(t.toString())}},xt.prototype.getAvailableImages=function(t){var e=this.availableImages[t];return e||(e=[]),e},xt.prototype.getLayerIndex=function(t){var e=this.layerIndexes[t];return e||(e=this.layerIndexes[t]=new r),e},xt.prototype.getWorkerSource=function(t,e,n){var r=this;return this.workerSources[t]||(this.workerSources[t]={}),this.workerSources[t][e]||(this.workerSources[t][e]={}),this.workerSources[t][e][n]||(this.workerSources[t][e][n]=new this.workerSourceTypes[e]({send:function(e,n,i){r.actor.send(e,n,i,t)}},this.getLayerIndex(t),this.getAvailableImages(t))),this.workerSources[t][e][n]},xt.prototype.getDEMWorkerSource=function(t,e){return this.demWorkerSources[t]||(this.demWorkerSources[t]={}),this.demWorkerSources[t][e]||(this.demWorkerSources[t][e]=new c),this.demWorkerSources[t][e]},xt.prototype.enforceCacheSizeLimit=function(e,n){t.enforceCacheSizeLimit(n)},\\\"undefined\\\"!=typeof WorkerGlobalScope&&void 0!==t.window&&t.window instanceof WorkerGlobalScope&&(t.window.worker=new xt(t.window)),xt})),r(0,(function(t){var e=t.createCommonjsModule((function(t){function e(t){return!n(t)}function n(t){return\\\"undefined\\\"==typeof window||\\\"undefined\\\"==typeof document?\\\"not a browser\\\":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?\\\"JSON\\\"in window&&\\\"parse\\\"in JSON&&\\\"stringify\\\"in JSON?function(){if(!(\\\"Worker\\\"in window&&\\\"Blob\\\"in window&&\\\"URL\\\"in window))return!1;var t,e,n=new Blob([\\\"\\\"],{type:\\\"text/javascript\\\"}),r=URL.createObjectURL(n);try{e=new Worker(r),t=!0}catch(e){t=!1}return e&&e.terminate(),URL.revokeObjectURL(r),t}()?\\\"Uint8ClampedArray\\\"in window?ArrayBuffer.isView?function(){var t=document.createElement(\\\"canvas\\\");t.width=t.height=1;var e=t.getContext(\\\"2d\\\");if(!e)return!1;var n=e.getImageData(0,0,1,1);return n&&n.width===t.width}()?(void 0===r[n=t&&t.failIfMajorPerformanceCaveat]&&(r[n]=function(t){var n=function(t){var n=document.createElement(\\\"canvas\\\"),r=Object.create(e.webGLContextAttributes);return r.failIfMajorPerformanceCaveat=t,n.probablySupportsContext?n.probablySupportsContext(\\\"webgl\\\",r)||n.probablySupportsContext(\\\"experimental-webgl\\\",r):n.supportsContext?n.supportsContext(\\\"webgl\\\",r)||n.supportsContext(\\\"experimental-webgl\\\",r):n.getContext(\\\"webgl\\\",r)||n.getContext(\\\"experimental-webgl\\\",r)}(t);if(!n)return!1;var r=n.createShader(n.VERTEX_SHADER);return!(!r||n.isContextLost())&&(n.shaderSource(r,\\\"void main() {}\\\"),n.compileShader(r),!0===n.getShaderParameter(r,n.COMPILE_STATUS))}(n)),r[n]?void 0:\\\"insufficient WebGL support\\\"):\\\"insufficient Canvas/getImageData support\\\":\\\"insufficient ArrayBuffer support\\\":\\\"insufficient Uint8ClampedArray support\\\":\\\"insufficient worker support\\\":\\\"insufficient JSON support\\\":\\\"insufficient Object support\\\":\\\"insufficient Function support\\\":\\\"insufficent Array support\\\";var n}t.exports?t.exports=e:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=e,window.mapboxgl.notSupportedReason=n);var r={};e.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}})),n={create:function(e,n,r){var i=t.window.document.createElement(e);return void 0!==n&&(i.className=n),r&&r.appendChild(i),i},createNS:function(e,n){return t.window.document.createElementNS(e,n)}},r=t.window.document.documentElement.style;function i(t){if(!r)return t[0];for(var e=0;e<t.length;e++)if(t[e]in r)return t[e];return t[0]}var o,a=i([\\\"userSelect\\\",\\\"MozUserSelect\\\",\\\"WebkitUserSelect\\\",\\\"msUserSelect\\\"]);n.disableDrag=function(){r&&a&&(o=r[a],r[a]=\\\"none\\\")},n.enableDrag=function(){r&&a&&(r[a]=o)};var s=i([\\\"transform\\\",\\\"WebkitTransform\\\"]);n.setTransform=function(t,e){t.style[s]=e};var l=!1;try{var u=Object.defineProperty({},\\\"passive\\\",{get:function(){l=!0}});t.window.addEventListener(\\\"test\\\",u,u),t.window.removeEventListener(\\\"test\\\",u,u)}catch(t){l=!1}n.addEventListener=function(t,e,n,r){void 0===r&&(r={}),t.addEventListener(e,n,\\\"passive\\\"in r&&l?r:r.capture)},n.removeEventListener=function(t,e,n,r){void 0===r&&(r={}),t.removeEventListener(e,n,\\\"passive\\\"in r&&l?r:r.capture)};var c=function(e){e.preventDefault(),e.stopPropagation(),t.window.removeEventListener(\\\"click\\\",c,!0)};function h(t){var e=t.userImage;return!!(e&&e.render&&e.render())&&(t.data.replace(new Uint8Array(e.data.buffer)),!0)}n.suppressClick=function(){t.window.addEventListener(\\\"click\\\",c,!0),t.window.setTimeout((function(){t.window.removeEventListener(\\\"click\\\",c,!0)}),0)},n.mousePos=function(e,n){var r=e.getBoundingClientRect();return new t.Point(n.clientX-r.left-e.clientLeft,n.clientY-r.top-e.clientTop)},n.touchPos=function(e,n){for(var r=e.getBoundingClientRect(),i=[],o=0;o<n.length;o++)i.push(new t.Point(n[o].clientX-r.left-e.clientLeft,n[o].clientY-r.top-e.clientTop));return i},n.mouseButton=function(e){return void 0!==t.window.InstallTrigger&&2===e.button&&e.ctrlKey&&t.window.navigator.platform.toUpperCase().indexOf(\\\"MAC\\\")>=0?0:e.button},n.remove=function(t){t.parentNode&&t.parentNode.removeChild(t)};var p=function(e){function n(){e.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.isLoaded=function(){return this.loaded},n.prototype.setLoaded=function(t){if(this.loaded!==t&&(this.loaded=t,t)){for(var e=0,n=this.requestors;e<n.length;e+=1){var r=n[e];this._notify(r.ids,r.callback)}this.requestors=[]}},n.prototype.getImage=function(t){return this.images[t]},n.prototype.addImage=function(t,e){this._validate(t,e)&&(this.images[t]=e)},n.prototype._validate=function(e,n){var r=!0;return this._validateStretch(n.stretchX,n.data&&n.data.width)||(this.fire(new t.ErrorEvent(new Error('Image \\\"'+e+'\\\" has invalid \\\"stretchX\\\" value'))),r=!1),this._validateStretch(n.stretchY,n.data&&n.data.height)||(this.fire(new t.ErrorEvent(new Error('Image \\\"'+e+'\\\" has invalid \\\"stretchY\\\" value'))),r=!1),this._validateContent(n.content,n)||(this.fire(new t.ErrorEvent(new Error('Image \\\"'+e+'\\\" has invalid \\\"content\\\" value'))),r=!1),r},n.prototype._validateStretch=function(t,e){if(!t)return!0;for(var n=0,r=0,i=t;r<i.length;r+=1){var o=i[r];if(o[0]<n||o[1]<o[0]||e<o[1])return!1;n=o[1]}return!0},n.prototype._validateContent=function(t,e){return!(t&&(4!==t.length||t[0]<0||e.data.width<t[0]||t[1]<0||e.data.height<t[1]||t[2]<0||e.data.width<t[2]||t[3]<0||e.data.height<t[3]||t[2]<t[0]||t[3]<t[1]))},n.prototype.updateImage=function(t,e){e.version=this.images[t].version+1,this.images[t]=e,this.updatedImages[t]=!0},n.prototype.removeImage=function(t){var e=this.images[t];delete this.images[t],delete this.patterns[t],e.userImage&&e.userImage.onRemove&&e.userImage.onRemove()},n.prototype.listImages=function(){return Object.keys(this.images)},n.prototype.getImages=function(t,e){var n=!0;if(!this.isLoaded())for(var r=0,i=t;r<i.length;r+=1)this.images[i[r]]||(n=!1);this.isLoaded()||n?this._notify(t,e):this.requestors.push({ids:t,callback:e})},n.prototype._notify=function(e,n){for(var r={},i=0,o=e;i<o.length;i+=1){var a=o[i];this.images[a]||this.fire(new t.Event(\\\"styleimagemissing\\\",{id:a}));var s=this.images[a];s?r[a]={data:s.data.clone(),pixelRatio:s.pixelRatio,sdf:s.sdf,version:s.version,stretchX:s.stretchX,stretchY:s.stretchY,content:s.content,hasRenderCallback:Boolean(s.userImage&&s.userImage.render)}:t.warnOnce('Image \\\"'+a+'\\\" could not be loaded. Please make sure you have added the image with map.addImage() or a \\\"sprite\\\" property in your style. You can provide missing images by listening for the \\\"styleimagemissing\\\" map event.')}n(null,r)},n.prototype.getPixelSize=function(){var t=this.atlasImage;return{width:t.width,height:t.height}},n.prototype.getPattern=function(e){var n=this.patterns[e],r=this.getImage(e);if(!r)return null;if(n&&n.position.version===r.version)return n.position;if(n)n.position.version=r.version;else{var i={w:r.data.width+2,h:r.data.height+2,x:0,y:0},o=new t.ImagePosition(i,r);this.patterns[e]={bin:i,position:o}}return this._updatePatternAtlas(),this.patterns[e].position},n.prototype.bind=function(e){var n=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.Texture(e,this.atlasImage,n.RGBA),this.atlasTexture.bind(n.LINEAR,n.CLAMP_TO_EDGE)},n.prototype._updatePatternAtlas=function(){var e=[];for(var n in this.patterns)e.push(this.patterns[n].bin);var r=t.potpack(e),i=r.w,o=r.h,a=this.atlasImage;for(var s in a.resize({width:i||1,height:o||1}),this.patterns){var l=this.patterns[s].bin,u=l.x+1,c=l.y+1,h=this.images[s].data,p=h.width,f=h.height;t.RGBAImage.copy(h,a,{x:0,y:0},{x:u,y:c},{width:p,height:f}),t.RGBAImage.copy(h,a,{x:0,y:f-1},{x:u,y:c-1},{width:p,height:1}),t.RGBAImage.copy(h,a,{x:0,y:0},{x:u,y:c+f},{width:p,height:1}),t.RGBAImage.copy(h,a,{x:p-1,y:0},{x:u-1,y:c},{width:1,height:f}),t.RGBAImage.copy(h,a,{x:0,y:0},{x:u+p,y:c},{width:1,height:f})}this.dirty=!0},n.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},n.prototype.dispatchRenderCallbacks=function(t){for(var e=0,n=t;e<n.length;e+=1){var r=n[e];if(!this.callbackDispatchedThisFrame[r]){this.callbackDispatchedThisFrame[r]=!0;var i=this.images[r];h(i)&&this.updateImage(r,i)}}},n}(t.Evented),f=v,d=v,m=1e20;function v(t,e,n,r,i,o){this.fontSize=t||24,this.buffer=void 0===e?3:e,this.cutoff=r||.25,this.fontFamily=i||\\\"sans-serif\\\",this.fontWeight=o||\\\"normal\\\",this.radius=n||8;var a=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement(\\\"canvas\\\"),this.canvas.width=this.canvas.height=a,this.ctx=this.canvas.getContext(\\\"2d\\\"),this.ctx.font=this.fontWeight+\\\" \\\"+this.fontSize+\\\"px \\\"+this.fontFamily,this.ctx.textBaseline=\\\"middle\\\",this.ctx.fillStyle=\\\"black\\\",this.gridOuter=new Float64Array(a*a),this.gridInner=new Float64Array(a*a),this.f=new Float64Array(a),this.d=new Float64Array(a),this.z=new Float64Array(a+1),this.v=new Int16Array(a),this.middle=Math.round(a/2*(navigator.userAgent.indexOf(\\\"Gecko/\\\")>=0?1.2:1))}function g(t,e,n,r,i,o,a){for(var s=0;s<e;s++){for(var l=0;l<n;l++)r[l]=t[l*e+s];for(y(r,i,o,a,n),l=0;l<n;l++)t[l*e+s]=i[l]}for(l=0;l<n;l++){for(s=0;s<e;s++)r[s]=t[l*e+s];for(y(r,i,o,a,e),s=0;s<e;s++)t[l*e+s]=Math.sqrt(i[s])}}function y(t,e,n,r,i){n[0]=0,r[0]=-m,r[1]=+m;for(var o=1,a=0;o<i;o++){for(var s=(t[o]+o*o-(t[n[a]]+n[a]*n[a]))/(2*o-2*n[a]);s<=r[a];)a--,s=(t[o]+o*o-(t[n[a]]+n[a]*n[a]))/(2*o-2*n[a]);n[++a]=o,r[a]=s,r[a+1]=+m}for(o=0,a=0;o<i;o++){for(;r[a+1]<o;)a++;e[o]=(o-n[a])*(o-n[a])+t[n[a]]}}v.prototype.draw=function(t){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(t,this.buffer,this.middle);for(var e=this.ctx.getImageData(0,0,this.size,this.size),n=new Uint8ClampedArray(this.size*this.size),r=0;r<this.size*this.size;r++){var i=e.data[4*r+3]/255;this.gridOuter[r]=1===i?0:0===i?m:Math.pow(Math.max(0,.5-i),2),this.gridInner[r]=1===i?m:0===i?0:Math.pow(Math.max(0,i-.5),2)}for(g(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),g(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),r=0;r<this.size*this.size;r++)n[r]=Math.max(0,Math.min(255,Math.round(255-255*((this.gridOuter[r]-this.gridInner[r])/this.radius+this.cutoff))));return n},f.default=d;var _=function(t,e){this.requestManager=t,this.localIdeographFontFamily=e,this.entries={}};_.prototype.setURL=function(t){this.url=t},_.prototype.getGlyphs=function(e,n){var r=this,i=[];for(var o in e)for(var a=0,s=e[o];a<s.length;a+=1)i.push({stack:o,id:s[a]});t.asyncAll(i,(function(t,e){var n=t.stack,i=t.id,o=r.entries[n];o||(o=r.entries[n]={glyphs:{},requests:{},ranges:{}});var a=o.glyphs[i];if(void 0===a){if(a=r._tinySDF(o,n,i))return o.glyphs[i]=a,void e(null,{stack:n,id:i,glyph:a});var s=Math.floor(i/256);if(256*s>65535)e(new Error(\\\"glyphs > 65535 not supported\\\"));else if(o.ranges[s])e(null,{stack:n,id:i,glyph:a});else{var l=o.requests[s];l||(l=o.requests[s]=[],_.loadGlyphRange(n,s,r.url,r.requestManager,(function(t,e){if(e){for(var n in e)r._doesCharSupportLocalGlyph(+n)||(o.glyphs[+n]=e[+n]);o.ranges[s]=!0}for(var i=0,a=l;i<a.length;i+=1)(0,a[i])(t,e);delete o.requests[s]}))),l.push((function(t,r){t?e(t):r&&e(null,{stack:n,id:i,glyph:r[i]||null})}))}}else e(null,{stack:n,id:i,glyph:a})}),(function(t,e){if(t)n(t);else if(e){for(var r={},i=0,o=e;i<o.length;i+=1){var a=o[i],s=a.stack,l=a.id,u=a.glyph;(r[s]||(r[s]={}))[l]=u&&{id:u.id,bitmap:u.bitmap.clone(),metrics:u.metrics}}n(null,r)}}))},_.prototype._doesCharSupportLocalGlyph=function(e){return!!this.localIdeographFontFamily&&(t.isChar[\\\"CJK Unified Ideographs\\\"](e)||t.isChar[\\\"Hangul Syllables\\\"](e)||t.isChar.Hiragana(e)||t.isChar.Katakana(e))},_.prototype._tinySDF=function(e,n,r){var i=this.localIdeographFontFamily;if(i&&this._doesCharSupportLocalGlyph(r)){var o=e.tinySDF;if(!o){var a=\\\"400\\\";/bold/i.test(n)?a=\\\"900\\\":/medium/i.test(n)?a=\\\"500\\\":/light/i.test(n)&&(a=\\\"200\\\"),o=e.tinySDF=new _.TinySDF(24,3,8,.25,i,a)}return{id:r,bitmap:new t.AlphaImage({width:30,height:30},o.draw(String.fromCharCode(r))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},_.loadGlyphRange=function(e,n,r,i,o){var a=256*n,s=a+255,l=i.transformRequest(i.normalizeGlyphsURL(r).replace(\\\"{fontstack}\\\",e).replace(\\\"{range}\\\",a+\\\"-\\\"+s),t.ResourceType.Glyphs);t.getArrayBuffer(l,(function(e,n){if(e)o(e);else if(n){for(var r={},i=0,a=t.parseGlyphPBF(n);i<a.length;i+=1){var s=a[i];r[s.id]=s}o(null,r)}}))},_.TinySDF=f;var b=function(){this.specification=t.styleSpec.light.position};b.prototype.possiblyEvaluate=function(e,n){return t.sphericalToCartesian(e.expression.evaluate(n))},b.prototype.interpolate=function(e,n,r){return{x:t.number(e.x,n.x,r),y:t.number(e.y,n.y,r),z:t.number(e.z,n.z,r)}};var x=new t.Properties({anchor:new t.DataConstantProperty(t.styleSpec.light.anchor),position:new b,color:new t.DataConstantProperty(t.styleSpec.light.color),intensity:new t.DataConstantProperty(t.styleSpec.light.intensity)}),w=function(e){function n(n){e.call(this),this._transitionable=new t.Transitionable(x),this.setLight(n),this._transitioning=this._transitionable.untransitioned()}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.getLight=function(){return this._transitionable.serialize()},n.prototype.setLight=function(e,n){if(void 0===n&&(n={}),!this._validate(t.validateLight,e,n))for(var r in e){var i=e[r];t.endsWith(r,\\\"-transition\\\")?this._transitionable.setTransition(r.slice(0,-\\\"-transition\\\".length),i):this._transitionable.setValue(r,i)}},n.prototype.updateTransitions=function(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)},n.prototype.hasTransition=function(){return this._transitioning.hasTransition()},n.prototype.recalculate=function(t){this.properties=this._transitioning.possiblyEvaluate(t)},n.prototype._validate=function(e,n,r){return(!r||!1!==r.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:n,style:{glyphs:!0,sprite:!0},styleSpec:t.styleSpec})))},n}(t.Evented),A=function(t,e){this.width=t,this.height=e,this.nextRow=0,this.data=new Uint8Array(this.width*this.height),this.dashEntry={}};A.prototype.getDash=function(t,e){var n=t.join(\\\",\\\")+String(e);return this.dashEntry[n]||(this.dashEntry[n]=this.addDash(t,e)),this.dashEntry[n]},A.prototype.getDashRanges=function(t,e,n){var r=[],i=t.length%2==1?-t[t.length-1]*n:0,o=t[0]*n,a=!0;r.push({left:i,right:o,isDash:a,zeroLength:0===t[0]});for(var s=t[0],l=1;l<t.length;l++){var u=t[l];r.push({left:i=s*n,right:o=(s+=u)*n,isDash:a=!a,zeroLength:0===u})}return r},A.prototype.addRoundDash=function(t,e,n){for(var r=e/2,i=-n;i<=n;i++)for(var o=this.width*(this.nextRow+n+i),a=0,s=t[a],l=0;l<this.width;l++){l/s.right>1&&(s=t[++a]);var u=Math.abs(l-s.left),c=Math.abs(l-s.right),h=Math.min(u,c),p=void 0,f=i/n*(r+1);if(s.isDash){var d=r-Math.abs(f);p=Math.sqrt(h*h+d*d)}else p=r-Math.sqrt(h*h+f*f);this.data[o+l]=Math.max(0,Math.min(255,p+128))}},A.prototype.addRegularDash=function(t){for(var e=t.length-1;e>=0;--e){var n=t[e],r=t[e+1];n.zeroLength?t.splice(e,1):r&&r.isDash===n.isDash&&(r.left=n.left,t.splice(e,1))}var i=t[0],o=t[t.length-1];i.isDash===o.isDash&&(i.left=o.left-this.width,o.right=i.right+this.width);for(var a=this.width*this.nextRow,s=0,l=t[s],u=0;u<this.width;u++){u/l.right>1&&(l=t[++s]);var c=Math.abs(u-l.left),h=Math.abs(u-l.right),p=Math.min(c,h);this.data[a+u]=Math.max(0,Math.min(255,(l.isDash?p:-p)+128))}},A.prototype.addDash=function(e,n){var r=n?7:0,i=2*r+1;if(this.nextRow+i>this.height)return t.warnOnce(\\\"LineAtlas out of space\\\"),null;for(var o=0,a=0;a<e.length;a++)o+=e[a];if(0!==o){var s=this.width/o,l=this.getDashRanges(e,this.width,s);n?this.addRoundDash(l,s,r):this.addRegularDash(l)}var u={y:(this.nextRow+r+.5)/this.height,height:2*r/this.height,width:o};return this.nextRow+=i,this.dirty=!0,u},A.prototype.bind=function(t){var e=t.gl;this.texture?(e.bindTexture(e.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.width,this.height,e.ALPHA,e.UNSIGNED_BYTE,this.data))):(this.texture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texImage2D(e.TEXTURE_2D,0,e.ALPHA,this.width,this.height,0,e.ALPHA,e.UNSIGNED_BYTE,this.data))};var C=function e(n,r){this.workerPool=n,this.actors=[],this.currentActor=0,this.id=t.uniqueId();for(var i=this.workerPool.acquire(this.id),o=0;o<i.length;o++){var a=new e.Actor(i[o],r,this.id);a.name=\\\"Worker \\\"+o,this.actors.push(a)}};function M(e,n,r){var i=function(i,o){if(i)return r(i);if(o){var a=t.pick(t.extend(o,e),[\\\"tiles\\\",\\\"minzoom\\\",\\\"maxzoom\\\",\\\"attribution\\\",\\\"mapbox_logo\\\",\\\"bounds\\\",\\\"scheme\\\",\\\"tileSize\\\",\\\"encoding\\\"]);o.vector_layers&&(a.vectorLayers=o.vector_layers,a.vectorLayerIds=a.vectorLayers.map((function(t){return t.id}))),a.tiles=n.canonicalizeTileset(a,e.url),r(null,a)}};return e.url?t.getJSON(n.transformRequest(n.normalizeSourceURL(e.url),t.ResourceType.Source),i):t.browser.frame((function(){return i(null,e)}))}C.prototype.broadcast=function(e,n,r){t.asyncAll(this.actors,(function(t,r){t.send(e,n,r)}),r=r||function(){})},C.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},C.prototype.remove=function(){this.actors.forEach((function(t){t.remove()})),this.actors=[],this.workerPool.release(this.id)},C.Actor=t.Actor;var E=function(e,n,r){this.bounds=t.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=n||0,this.maxzoom=r||24};E.prototype.validateBounds=function(t){return Array.isArray(t)&&4===t.length?[Math.max(-180,t[0]),Math.max(-90,t[1]),Math.min(180,t[2]),Math.min(90,t[3])]:[-180,-90,180,90]},E.prototype.contains=function(e){var n=Math.pow(2,e.z),r=Math.floor(t.mercatorXfromLng(this.bounds.getWest())*n),i=Math.floor(t.mercatorYfromLat(this.bounds.getNorth())*n),o=Math.ceil(t.mercatorXfromLng(this.bounds.getEast())*n),a=Math.ceil(t.mercatorYfromLat(this.bounds.getSouth())*n);return e.x>=r&&e.x<o&&e.y>=i&&e.y<a};var T=function(e){function n(n,r,i,o){if(e.call(this),this.id=n,this.dispatcher=i,this.type=\\\"vector\\\",this.minzoom=0,this.maxzoom=22,this.scheme=\\\"xyz\\\",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,t.extend(this,t.pick(r,[\\\"url\\\",\\\"scheme\\\",\\\"tileSize\\\",\\\"promoteId\\\"])),this._options=t.extend({type:\\\"vector\\\"},r),this._collectResourceTiming=r.collectResourceTiming,512!==this.tileSize)throw new Error(\\\"vector tile sources must have a tileSize of 512\\\");this.setEventedParent(o)}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event(\\\"dataloading\\\",{dataType:\\\"source\\\"})),this._tileJSONRequest=M(this._options,this.map._requestManager,(function(n,r){e._tileJSONRequest=null,e._loaded=!0,n?e.fire(new t.ErrorEvent(n)):r&&(t.extend(e,r),r.bounds&&(e.tileBounds=new E(r.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(r.tiles,e.map._requestManager._customAccessToken),t.postMapLoadEvent(r.tiles,e.map._getMapId(),e.map._requestManager._skuToken,e.map._requestManager._customAccessToken),e.fire(new t.Event(\\\"data\\\",{dataType:\\\"source\\\",sourceDataType:\\\"metadata\\\"})),e.fire(new t.Event(\\\"data\\\",{dataType:\\\"source\\\",sourceDataType:\\\"content\\\"})))}))},n.prototype.loaded=function(){return this._loaded},n.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},n.prototype.onAdd=function(t){this.map=t,this.load()},n.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},n.prototype.serialize=function(){return t.extend({},this._options)},n.prototype.loadTile=function(e,n){var r=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme)),i={request:this.map._requestManager.transformRequest(r,t.ResourceType.Tile),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};function o(r,i){return delete e.request,e.aborted?n(null):r&&404!==r.status?n(r):(i&&i.resourceTiming&&(e.resourceTiming=i.resourceTiming),this.map._refreshExpiredTiles&&i&&e.setExpiryData(i),e.loadVectorData(i,this.map.painter),t.cacheEntryPossiblyAdded(this.dispatcher),n(null),void(e.reloadCallback&&(this.loadTile(e,e.reloadCallback),e.reloadCallback=null)))}i.request.collectResourceTiming=this._collectResourceTiming,e.actor&&\\\"expired\\\"!==e.state?\\\"loading\\\"===e.state?e.reloadCallback=n:e.request=e.actor.send(\\\"reloadTile\\\",i,o.bind(this)):(e.actor=this.dispatcher.getActor(),e.request=e.actor.send(\\\"loadTile\\\",i,o.bind(this)))},n.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.actor&&t.actor.send(\\\"abortTile\\\",{uid:t.uid,type:this.type,source:this.id},void 0)},n.prototype.unloadTile=function(t){t.unloadVectorData(),t.actor&&t.actor.send(\\\"removeTile\\\",{uid:t.uid,type:this.type,source:this.id},void 0)},n.prototype.hasTransition=function(){return!1},n}(t.Evented),S=function(e){function n(n,r,i,o){e.call(this),this.id=n,this.dispatcher=i,this.setEventedParent(o),this.type=\\\"raster\\\",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme=\\\"xyz\\\",this.tileSize=512,this._loaded=!1,this._options=t.extend({type:\\\"raster\\\"},r),t.extend(this,t.pick(r,[\\\"url\\\",\\\"scheme\\\",\\\"tileSize\\\"]))}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event(\\\"dataloading\\\",{dataType:\\\"source\\\"})),this._tileJSONRequest=M(this._options,this.map._requestManager,(function(n,r){e._tileJSONRequest=null,e._loaded=!0,n?e.fire(new t.ErrorEvent(n)):r&&(t.extend(e,r),r.bounds&&(e.tileBounds=new E(r.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(r.tiles),t.postMapLoadEvent(r.tiles,e.map._getMapId(),e.map._requestManager._skuToken),e.fire(new t.Event(\\\"data\\\",{dataType:\\\"source\\\",sourceDataType:\\\"metadata\\\"})),e.fire(new t.Event(\\\"data\\\",{dataType:\\\"source\\\",sourceDataType:\\\"content\\\"})))}))},n.prototype.loaded=function(){return this._loaded},n.prototype.onAdd=function(t){this.map=t,this.load()},n.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},n.prototype.serialize=function(){return t.extend({},this._options)},n.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},n.prototype.loadTile=function(e,n){var r=this,i=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);e.request=t.getImage(this.map._requestManager.transformRequest(i,t.ResourceType.Tile),(function(i,o){if(delete e.request,e.aborted)e.state=\\\"unloaded\\\",n(null);else if(i)e.state=\\\"errored\\\",n(i);else if(o){r.map._refreshExpiredTiles&&e.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=r.map.painter.context,s=a.gl;e.texture=r.map.painter.getTileTexture(o.width),e.texture?e.texture.update(o,{useMipmap:!0}):(e.texture=new t.Texture(a,o,s.RGBA,{useMipmap:!0}),e.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),a.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,a.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,a.extTextureFilterAnisotropicMax)),e.state=\\\"loaded\\\",t.cacheEntryPossiblyAdded(r.dispatcher),n(null)}}))},n.prototype.abortTile=function(t,e){t.request&&(t.request.cancel(),delete t.request),e()},n.prototype.unloadTile=function(t,e){t.texture&&this.map.painter.saveTileTexture(t.texture),e()},n.prototype.hasTransition=function(){return!1},n}(t.Evented),k=function(e){function n(n,r,i,o){e.call(this,n,r,i,o),this.type=\\\"raster-dem\\\",this.maxzoom=22,this._options=t.extend({type:\\\"raster-dem\\\"},r),this.encoding=r.encoding||\\\"mapbox\\\"}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.serialize=function(){return{type:\\\"raster-dem\\\",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},n.prototype.loadTile=function(e,n){var r=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.tileSize);function i(t,r){t&&(e.state=\\\"errored\\\",n(t)),r&&(e.dem=r,e.needsHillshadePrepare=!0,e.state=\\\"loaded\\\",n(null))}e.request=t.getImage(this.map._requestManager.transformRequest(r,t.ResourceType.Tile),function(r,o){if(delete e.request,e.aborted)e.state=\\\"unloaded\\\",n(null);else if(r)e.state=\\\"errored\\\",n(r);else if(o){this.map._refreshExpiredTiles&&e.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=t.window.ImageBitmap&&o instanceof t.window.ImageBitmap&&t.offscreenCanvasSupported()?o:t.browser.getImageData(o,1),s={uid:e.uid,coord:e.tileID,source:this.id,rawImageData:a,encoding:this.encoding};e.actor&&\\\"expired\\\"!==e.state||(e.actor=this.dispatcher.getActor(),e.actor.send(\\\"loadDEMTile\\\",s,i.bind(this)))}}.bind(this)),e.neighboringTiles=this._getNeighboringTiles(e.tileID)},n.prototype._getNeighboringTiles=function(e){var n=e.canonical,r=Math.pow(2,n.z),i=(n.x-1+r)%r,o=0===n.x?e.wrap-1:e.wrap,a=(n.x+1+r)%r,s=n.x+1===r?e.wrap+1:e.wrap,l={};return l[new t.OverscaledTileID(e.overscaledZ,o,n.z,i,n.y).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,n.z,a,n.y).key]={backfilled:!1},n.y>0&&(l[new t.OverscaledTileID(e.overscaledZ,o,n.z,i,n.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,n.z,n.x,n.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,n.z,a,n.y-1).key]={backfilled:!1}),n.y+1<r&&(l[new t.OverscaledTileID(e.overscaledZ,o,n.z,i,n.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,n.z,n.x,n.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,n.z,a,n.y+1).key]={backfilled:!1}),l},n.prototype.unloadTile=function(t){t.demTexture&&this.map.painter.saveTileTexture(t.demTexture),t.fbo&&(t.fbo.destroy(),delete t.fbo),t.dem&&delete t.dem,delete t.neighboringTiles,t.state=\\\"unloaded\\\",t.actor&&t.actor.send(\\\"removeDEMTile\\\",{uid:t.uid,source:this.id})},n}(S),O=function(e){function n(n,r,i,o){e.call(this),this.id=n,this.type=\\\"geojson\\\",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=i.getActor(),this.setEventedParent(o),this._data=r.data,this._options=t.extend({},r),this._collectResourceTiming=r.collectResourceTiming,this._resourceTiming=[],void 0!==r.maxzoom&&(this.maxzoom=r.maxzoom),r.type&&(this.type=r.type),r.attribution&&(this.attribution=r.attribution),this.promoteId=r.promoteId;var a=t.EXTENT/this.tileSize;this.workerOptions=t.extend({source:this.id,cluster:r.cluster||!1,geojsonVtOptions:{buffer:(void 0!==r.buffer?r.buffer:128)*a,tolerance:(void 0!==r.tolerance?r.tolerance:.375)*a,extent:t.EXTENT,maxZoom:this.maxzoom,lineMetrics:r.lineMetrics||!1,generateId:r.generateId||!1},superclusterOptions:{maxZoom:void 0!==r.clusterMaxZoom?Math.min(r.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,extent:t.EXTENT,radius:(r.clusterRadius||50)*a,log:!1,generateId:r.generateId||!1},clusterProperties:r.clusterProperties},r.workerOptions)}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.load=function(){var e=this;this.fire(new t.Event(\\\"dataloading\\\",{dataType:\\\"source\\\"})),this._updateWorkerData((function(n){if(n)e.fire(new t.ErrorEvent(n));else{var r={dataType:\\\"source\\\",sourceDataType:\\\"metadata\\\"};e._collectResourceTiming&&e._resourceTiming&&e._resourceTiming.length>0&&(r.resourceTiming=e._resourceTiming,e._resourceTiming=[]),e.fire(new t.Event(\\\"data\\\",r))}}))},n.prototype.onAdd=function(t){this.map=t,this.load()},n.prototype.setData=function(e){var n=this;return this._data=e,this.fire(new t.Event(\\\"dataloading\\\",{dataType:\\\"source\\\"})),this._updateWorkerData((function(e){if(e)n.fire(new t.ErrorEvent(e));else{var r={dataType:\\\"source\\\",sourceDataType:\\\"content\\\"};n._collectResourceTiming&&n._resourceTiming&&n._resourceTiming.length>0&&(r.resourceTiming=n._resourceTiming,n._resourceTiming=[]),n.fire(new t.Event(\\\"data\\\",r))}})),this},n.prototype.getClusterExpansionZoom=function(t,e){return this.actor.send(\\\"geojson.getClusterExpansionZoom\\\",{clusterId:t,source:this.id},e),this},n.prototype.getClusterChildren=function(t,e){return this.actor.send(\\\"geojson.getClusterChildren\\\",{clusterId:t,source:this.id},e),this},n.prototype.getClusterLeaves=function(t,e,n,r){return this.actor.send(\\\"geojson.getClusterLeaves\\\",{source:this.id,clusterId:t,limit:e,offset:n},r),this},n.prototype._updateWorkerData=function(e){var n=this;this._loaded=!1;var r=t.extend({},this.workerOptions),i=this._data;\\\"string\\\"==typeof i?(r.request=this.map._requestManager.transformRequest(t.browser.resolveURL(i),t.ResourceType.Source),r.request.collectResourceTiming=this._collectResourceTiming):r.data=JSON.stringify(i),this.actor.send(this.type+\\\".loadData\\\",r,(function(t,i){n._removed||i&&i.abandoned||(n._loaded=!0,i&&i.resourceTiming&&i.resourceTiming[n.id]&&(n._resourceTiming=i.resourceTiming[n.id].slice(0)),n.actor.send(n.type+\\\".coalesce\\\",{source:r.source},null),e(t))}))},n.prototype.loaded=function(){return this._loaded},n.prototype.loadTile=function(e,n){var r=this,i=e.actor?\\\"reloadTile\\\":\\\"loadTile\\\";e.actor=this.actor,e.request=this.actor.send(i,{type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId},(function(t,o){return delete e.request,e.unloadVectorData(),e.aborted?n(null):t?n(t):(e.loadVectorData(o,r.map.painter,\\\"reloadTile\\\"===i),n(null))}))},n.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.aborted=!0},n.prototype.unloadTile=function(t){t.unloadVectorData(),this.actor.send(\\\"removeTile\\\",{uid:t.uid,type:this.type,source:this.id})},n.prototype.onRemove=function(){this._removed=!0,this.actor.send(\\\"removeSource\\\",{type:this.type,source:this.id})},n.prototype.serialize=function(){return t.extend({},this._options,{type:this.type,data:this._data})},n.prototype.hasTransition=function(){return!1},n}(t.Evented),I=t.createLayout([{name:\\\"a_pos\\\",type:\\\"Int16\\\",components:2},{name:\\\"a_texture_pos\\\",type:\\\"Int16\\\",components:2}]),L=function(e){function n(t,n,r,i){e.call(this),this.id=t,this.dispatcher=r,this.coordinates=n.coordinates,this.type=\\\"image\\\",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(i),this.options=n}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.load=function(e,n){var r=this;this._loaded=!1,this.fire(new t.Event(\\\"dataloading\\\",{dataType:\\\"source\\\"})),this.url=this.options.url,t.getImage(this.map._requestManager.transformRequest(this.url,t.ResourceType.Image),(function(i,o){r._loaded=!0,i?r.fire(new t.ErrorEvent(i)):o&&(r.image=o,e&&(r.coordinates=e),n&&n(),r._finishLoading())}))},n.prototype.loaded=function(){return this._loaded},n.prototype.updateImage=function(t){var e=this;return this.image&&t.url?(this.options.url=t.url,this.load(t.coordinates,(function(){e.texture=null})),this):this},n.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event(\\\"data\\\",{dataType:\\\"source\\\",sourceDataType:\\\"metadata\\\"})))},n.prototype.onAdd=function(t){this.map=t,this.load()},n.prototype.setCoordinates=function(e){var n=this;this.coordinates=e;var r=e.map(t.MercatorCoordinate.fromLngLat);this.tileID=function(e){for(var n=1/0,r=1/0,i=-1/0,o=-1/0,a=0,s=e;a<s.length;a+=1){var l=s[a];n=Math.min(n,l.x),r=Math.min(r,l.y),i=Math.max(i,l.x),o=Math.max(o,l.y)}var u=Math.max(i-n,o-r),c=Math.max(0,Math.floor(-Math.log(u)/Math.LN2)),h=Math.pow(2,c);return new t.CanonicalTileID(c,Math.floor((n+i)/2*h),Math.floor((r+o)/2*h))}(r),this.minzoom=this.maxzoom=this.tileID.z;var i=r.map((function(t){return n.tileID.getTilePoint(t)._round()}));return this._boundsArray=new t.StructArrayLayout4i8,this._boundsArray.emplaceBack(i[0].x,i[0].y,0,0),this._boundsArray.emplaceBack(i[1].x,i[1].y,t.EXTENT,0),this._boundsArray.emplaceBack(i[3].x,i[3].y,0,t.EXTENT),this._boundsArray.emplaceBack(i[2].x,i[2].y,t.EXTENT,t.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.Event(\\\"data\\\",{dataType:\\\"source\\\",sourceDataType:\\\"content\\\"})),this},n.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var e=this.map.painter.context,n=e.gl;for(var r in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,I.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new t.Texture(e,this.image,n.RGBA),this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE)),this.tiles){var i=this.tiles[r];\\\"loaded\\\"!==i.state&&(i.state=\\\"loaded\\\",i.texture=this.texture)}}},n.prototype.loadTile=function(t,e){this.tileID&&this.tileID.equals(t.tileID.canonical)?(this.tiles[String(t.tileID.wrap)]=t,t.buckets={},e(null)):(t.state=\\\"errored\\\",e(null))},n.prototype.serialize=function(){return{type:\\\"image\\\",url:this.options.url,coordinates:this.coordinates}},n.prototype.hasTransition=function(){return!1},n}(t.Evented),P=function(e){function n(t,n,r,i){e.call(this,t,n,r,i),this.roundZoom=!0,this.type=\\\"video\\\",this.options=n}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.load=function(){var e=this;this._loaded=!1;var n=this.options;this.urls=[];for(var r=0,i=n.urls;r<i.length;r+=1)this.urls.push(this.map._requestManager.transformRequest(i[r],t.ResourceType.Source).url);t.getVideo(this.urls,(function(n,r){e._loaded=!0,n?e.fire(new t.ErrorEvent(n)):r&&(e.video=r,e.video.loop=!0,e.video.addEventListener(\\\"playing\\\",(function(){e.map.triggerRepaint()})),e.map&&e.video.play(),e._finishLoading())}))},n.prototype.pause=function(){this.video&&this.video.pause()},n.prototype.play=function(){this.video&&this.video.play()},n.prototype.seek=function(e){if(this.video){var n=this.video.seekable;e<n.start(0)||e>n.end(0)?this.fire(new t.ErrorEvent(new t.ValidationError(\\\"sources.\\\"+this.id,null,\\\"Playback for this video can be set only between the \\\"+n.start(0)+\\\" and \\\"+n.end(0)+\\\"-second mark.\\\"))):this.video.currentTime=e}},n.prototype.getVideo=function(){return this.video},n.prototype.onAdd=function(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},n.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var e=this.map.painter.context,n=e.gl;for(var r in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,I.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE),n.texSubImage2D(n.TEXTURE_2D,0,0,0,n.RGBA,n.UNSIGNED_BYTE,this.video)):(this.texture=new t.Texture(e,this.video,n.RGBA),this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE)),this.tiles){var i=this.tiles[r];\\\"loaded\\\"!==i.state&&(i.state=\\\"loaded\\\",i.texture=this.texture)}}},n.prototype.serialize=function(){return{type:\\\"video\\\",urls:this.urls,coordinates:this.coordinates}},n.prototype.hasTransition=function(){return this.video&&!this.video.paused},n}(L),z=function(e){function n(n,r,i,o){e.call(this,n,r,i,o),r.coordinates?Array.isArray(r.coordinates)&&4===r.coordinates.length&&!r.coordinates.some((function(t){return!Array.isArray(t)||2!==t.length||t.some((function(t){return\\\"number\\\"!=typeof t}))}))||this.fire(new t.ErrorEvent(new t.ValidationError(\\\"sources.\\\"+n,null,'\\\"coordinates\\\" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError(\\\"sources.\\\"+n,null,'missing required property \\\"coordinates\\\"'))),r.animate&&\\\"boolean\\\"!=typeof r.animate&&this.fire(new t.ErrorEvent(new t.ValidationError(\\\"sources.\\\"+n,null,'optional \\\"animate\\\" property must be a boolean value'))),r.canvas?\\\"string\\\"==typeof r.canvas||r.canvas instanceof t.window.HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError(\\\"sources.\\\"+n,null,'\\\"canvas\\\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.ErrorEvent(new t.ValidationError(\\\"sources.\\\"+n,null,'missing required property \\\"canvas\\\"'))),this.options=r,this.animate=void 0===r.animate||r.animate}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof t.window.HTMLCanvasElement?this.options.canvas:t.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.ErrorEvent(new Error(\\\"Canvas dimensions cannot be less than or equal to zero.\\\"))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},n.prototype.getCanvas=function(){return this.canvas},n.prototype.onAdd=function(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play()},n.prototype.onRemove=function(){this.pause()},n.prototype.prepare=function(){var e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var n=this.map.painter.context,r=n.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=n.createVertexBuffer(this._boundsArray,I.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new t.Texture(n,this.canvas,r.RGBA,{premultiply:!0}),this.tiles){var o=this.tiles[i];\\\"loaded\\\"!==o.state&&(o.state=\\\"loaded\\\",o.texture=this.texture)}}},n.prototype.serialize=function(){return{type:\\\"canvas\\\",coordinates:this.coordinates}},n.prototype.hasTransition=function(){return this._playing},n.prototype._hasInvalidDimensions=function(){for(var t=0,e=[this.canvas.width,this.canvas.height];t<e.length;t+=1){var n=e[t];if(isNaN(n)||n<=0)return!0}return!1},n}(L),R={vector:T,raster:S,\\\"raster-dem\\\":k,geojson:O,video:P,image:L,canvas:z};function D(e,n){var r=t.identity([]);return t.translate(r,r,[1,1,0]),t.scale(r,r,[.5*e.width,.5*e.height,1]),t.multiply(r,r,e.calculatePosMatrix(n.toUnwrapped()))}function $(t,e,n,r,i,o){var a=function(t,e,n){if(t)for(var r=0,i=t;r<i.length;r+=1){var o=e[i[r]];if(o&&o.source===n&&\\\"fill-extrusion\\\"===o.type)return!0}else for(var a in e){var s=e[a];if(s.source===n&&\\\"fill-extrusion\\\"===s.type)return!0}return!1}(i&&i.layers,e,t.id),s=o.maxPitchScaleFactor(),l=t.tilesIn(r,s,a);l.sort(B);for(var u=[],c=0,h=l;c<h.length;c+=1){var p=h[c];u.push({wrappedTileID:p.tileID.wrapped().key,queryResults:p.tile.queryRenderedFeatures(e,n,t._state,p.queryGeometry,p.cameraQueryGeometry,p.scale,i,o,s,D(t.transform,p.tileID))})}var f=function(t){for(var e={},n={},r=0,i=t;r<i.length;r+=1){var o=i[r],a=o.queryResults,s=o.wrappedTileID,l=n[s]=n[s]||{};for(var u in a)for(var c=a[u],h=l[u]=l[u]||{},p=e[u]=e[u]||[],f=0,d=c;f<d.length;f+=1){var m=d[f];h[m.featureIndex]||(h[m.featureIndex]=!0,p.push(m))}}return e}(u);for(var d in f)f[d].forEach((function(e){var n=e.feature,r=t.getFeatureState(n.layer[\\\"source-layer\\\"],n.id);n.source=n.layer.source,n.layer[\\\"source-layer\\\"]&&(n.sourceLayer=n.layer[\\\"source-layer\\\"]),n.state=r}));return f}function B(t,e){var n=t.tileID,r=e.tileID;return n.overscaledZ-r.overscaledZ||n.canonical.y-r.canonical.y||n.wrap-r.wrap||n.canonical.x-r.canonical.x}var N=function(t,e){this.max=t,this.onRemove=e,this.reset()};N.prototype.reset=function(){for(var t in this.data)for(var e=0,n=this.data[t];e<n.length;e+=1){var r=n[e];r.timeout&&clearTimeout(r.timeout),this.onRemove(r.value)}return this.data={},this.order=[],this},N.prototype.add=function(t,e,n){var r=this,i=t.wrapped().key;void 0===this.data[i]&&(this.data[i]=[]);var o={value:e,timeout:void 0};if(void 0!==n&&(o.timeout=setTimeout((function(){r.remove(t,o)}),n)),this.data[i].push(o),this.order.push(i),this.order.length>this.max){var a=this._getAndRemoveByKey(this.order[0]);a&&this.onRemove(a)}return this},N.prototype.has=function(t){return t.wrapped().key in this.data},N.prototype.getAndRemove=function(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null},N.prototype._getAndRemoveByKey=function(t){var e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value},N.prototype.getByKey=function(t){var e=this.data[t];return e?e[0].value:null},N.prototype.get=function(t){return this.has(t)?this.data[t.wrapped().key][0].value:null},N.prototype.remove=function(t,e){if(!this.has(t))return this;var n=t.wrapped().key,r=void 0===e?0:this.data[n].indexOf(e),i=this.data[n][r];return this.data[n].splice(r,1),i.timeout&&clearTimeout(i.timeout),0===this.data[n].length&&delete this.data[n],this.onRemove(i.value),this.order.splice(this.order.indexOf(n),1),this},N.prototype.setMaxSize=function(t){for(this.max=t;this.order.length>this.max;){var e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e)}return this},N.prototype.filter=function(t){var e=[];for(var n in this.data)for(var r=0,i=this.data[n];r<i.length;r+=1){var o=i[r];t(o.value)||e.push(o)}for(var a=0,s=e;a<s.length;a+=1){var l=s[a];this.remove(l.value.tileID,l)}};var F=function(t,e,n){this.context=t;var r=t.gl;this.buffer=r.createBuffer(),this.dynamicDraw=Boolean(n),this.context.unbindVAO(),t.bindElementBuffer.set(this.buffer),r.bufferData(r.ELEMENT_ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?r.DYNAMIC_DRAW:r.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};F.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},F.prototype.updateData=function(t){var e=this.context.gl;this.context.unbindVAO(),this.bind(),e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,0,t.arrayBuffer)},F.prototype.destroy=function(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)};var j={Int8:\\\"BYTE\\\",Uint8:\\\"UNSIGNED_BYTE\\\",Int16:\\\"SHORT\\\",Uint16:\\\"UNSIGNED_SHORT\\\",Int32:\\\"INT\\\",Uint32:\\\"UNSIGNED_INT\\\",Float32:\\\"FLOAT\\\"},U=function(t,e,n,r){this.length=e.length,this.attributes=n,this.itemSize=e.bytesPerElement,this.dynamicDraw=r,this.context=t;var i=t.gl;this.buffer=i.createBuffer(),t.bindVertexBuffer.set(this.buffer),i.bufferData(i.ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};U.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},U.prototype.updateData=function(t){var e=this.context.gl;this.bind(),e.bufferSubData(e.ARRAY_BUFFER,0,t.arrayBuffer)},U.prototype.enableAttributes=function(t,e){for(var n=0;n<this.attributes.length;n++){var r=e.attributes[this.attributes[n].name];void 0!==r&&t.enableVertexAttribArray(r)}},U.prototype.setVertexAttribPointers=function(t,e,n){for(var r=0;r<this.attributes.length;r++){var i=this.attributes[r],o=e.attributes[i.name];void 0!==o&&t.vertexAttribPointer(o,i.components,t[j[i.type]],!1,this.itemSize,i.offset+this.itemSize*(n||0))}},U.prototype.destroy=function(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)};var q=function(t){this.gl=t.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};q.prototype.get=function(){return this.current},q.prototype.set=function(t){},q.prototype.getDefault=function(){return this.default},q.prototype.setDefault=function(){this.set(this.default)};var V=function(e){function n(){e.apply(this,arguments)}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.getDefault=function(){return t.Color.transparent},n.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.clearColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},n}(q),H=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return 1},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearDepth(t),this.current=t,this.dirty=!1)},e}(q),G=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return 0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearStencil(t),this.current=t,this.dirty=!1)},e}(q),W=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return[!0,!0,!0,!0]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.colorMask(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(q),X=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return!0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthMask(t),this.current=t,this.dirty=!1)},e}(q),Y=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return 255},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.stencilMask(t),this.current=t,this.dirty=!1)},e}(q),Z=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},e.prototype.set=function(t){var e=this.current;(t.func!==e.func||t.ref!==e.ref||t.mask!==e.mask||this.dirty)&&(this.gl.stencilFunc(t.func,t.ref,t.mask),this.current=t,this.dirty=!1)},e}(q),K=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.KEEP,t.KEEP,t.KEEP]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||this.dirty)&&(this.gl.stencilOp(t[0],t[1],t[2]),this.current=t,this.dirty=!1)},e}(q),J=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.STENCIL_TEST):e.disable(e.STENCIL_TEST),this.current=t,this.dirty=!1}},e}(q),Q=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return[0,1]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.depthRange(t[0],t[1]),this.current=t,this.dirty=!1)},e}(q),tt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.DEPTH_TEST):e.disable(e.DEPTH_TEST),this.current=t,this.dirty=!1}},e}(q),et=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return this.gl.LESS},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthFunc(t),this.current=t,this.dirty=!1)},e}(q),nt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.BLEND):e.disable(e.BLEND),this.current=t,this.dirty=!1}},e}(q),rt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.ONE,t.ZERO]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.blendFunc(t[0],t[1]),this.current=t,this.dirty=!1)},e}(q),it=function(e){function n(){e.apply(this,arguments)}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.getDefault=function(){return t.Color.transparent},n.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.blendColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},n}(q),ot=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return this.gl.FUNC_ADD},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.blendEquation(t),this.current=t,this.dirty=!1)},e}(q),at=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.CULL_FACE):e.disable(e.CULL_FACE),this.current=t,this.dirty=!1}},e}(q),st=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return this.gl.BACK},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.cullFace(t),this.current=t,this.dirty=!1)},e}(q),lt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return this.gl.CCW},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.frontFace(t),this.current=t,this.dirty=!1)},e}(q),ut=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.useProgram(t),this.current=t,this.dirty=!1)},e}(q),ct=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return this.gl.TEXTURE0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.activeTexture(t),this.current=t,this.dirty=!1)},e}(q),ht=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[0,0,t.drawingBufferWidth,t.drawingBufferHeight]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.viewport(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(q),pt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,t),this.current=t,this.dirty=!1}},e}(q),ft=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindRenderbuffer(e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(q),dt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindTexture(e.TEXTURE_2D,t),this.current=t,this.dirty=!1}},e}(q),mt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindBuffer(e.ARRAY_BUFFER,t),this.current=t,this.dirty=!1}},e}(q),vt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){var e=this.gl;e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),this.current=t,this.dirty=!1},e}(q),gt=function(t){function e(e){t.call(this,e),this.vao=e.extVertexArrayObject}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){this.vao&&(t!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(t),this.current=t,this.dirty=!1)},e}(q),yt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return 4},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_ALIGNMENT,t),this.current=t,this.dirty=!1}},e}(q),_t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t),this.current=t,this.dirty=!1}},e}(q),bt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,t),this.current=t,this.dirty=!1}},e}(q),xt=function(t){function e(e,n){t.call(this,e),this.context=e,this.parent=n}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.getDefault=function(){return null},e}(q),wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.setDirty=function(){this.dirty=!0},e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0),this.current=t,this.dirty=!1}},e}(xt),At=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(xt),Ct=function(t,e,n,r){this.context=t,this.width=e,this.height=n;var i=this.framebuffer=t.gl.createFramebuffer();this.colorAttachment=new wt(t,i),r&&(this.depthAttachment=new At(t,i))};Ct.prototype.destroy=function(){var t=this.context.gl,e=this.colorAttachment.get();if(e&&t.deleteTexture(e),this.depthAttachment){var n=this.depthAttachment.get();n&&t.deleteRenderbuffer(n)}t.deleteFramebuffer(this.framebuffer)};var Mt=function(t,e,n){this.func=t,this.mask=e,this.range=n};Mt.ReadOnly=!1,Mt.ReadWrite=!0,Mt.disabled=new Mt(519,Mt.ReadOnly,[0,1]);var Et=function(t,e,n,r,i,o){this.test=t,this.ref=e,this.mask=n,this.fail=r,this.depthFail=i,this.pass=o};Et.disabled=new Et({func:519,mask:0},0,0,7680,7680,7680);var Tt=function(t,e,n){this.blendFunction=t,this.blendColor=e,this.mask=n};Tt.disabled=new Tt(Tt.Replace=[1,0],t.Color.transparent,[!1,!1,!1,!1]),Tt.unblended=new Tt(Tt.Replace,t.Color.transparent,[!0,!0,!0,!0]),Tt.alphaBlended=new Tt([1,771],t.Color.transparent,[!0,!0,!0,!0]);var St=function(t,e,n){this.enable=t,this.mode=e,this.frontFace=n};St.disabled=new St(!1,1029,2305),St.backCCW=new St(!0,1029,2305);var kt=function(t){this.gl=t,this.extVertexArrayObject=this.gl.getExtension(\\\"OES_vertex_array_object\\\"),this.clearColor=new V(this),this.clearDepth=new H(this),this.clearStencil=new G(this),this.colorMask=new W(this),this.depthMask=new X(this),this.stencilMask=new Y(this),this.stencilFunc=new Z(this),this.stencilOp=new K(this),this.stencilTest=new J(this),this.depthRange=new Q(this),this.depthTest=new tt(this),this.depthFunc=new et(this),this.blend=new nt(this),this.blendFunc=new rt(this),this.blendColor=new it(this),this.blendEquation=new ot(this),this.cullFace=new at(this),this.cullFaceSide=new st(this),this.frontFace=new lt(this),this.program=new ut(this),this.activeTexture=new ct(this),this.viewport=new ht(this),this.bindFramebuffer=new pt(this),this.bindRenderbuffer=new ft(this),this.bindTexture=new dt(this),this.bindVertexBuffer=new mt(this),this.bindElementBuffer=new vt(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new gt(this),this.pixelStoreUnpack=new yt(this),this.pixelStoreUnpackPremultiplyAlpha=new _t(this),this.pixelStoreUnpackFlipY=new bt(this),this.extTextureFilterAnisotropic=t.getExtension(\\\"EXT_texture_filter_anisotropic\\\")||t.getExtension(\\\"MOZ_EXT_texture_filter_anisotropic\\\")||t.getExtension(\\\"WEBKIT_EXT_texture_filter_anisotropic\\\"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=t.getExtension(\\\"OES_texture_half_float\\\"),this.extTextureHalfFloat&&(t.getExtension(\\\"OES_texture_half_float_linear\\\"),this.extRenderToTextureHalfFloat=t.getExtension(\\\"EXT_color_buffer_half_float\\\")),this.extTimerQuery=t.getExtension(\\\"EXT_disjoint_timer_query\\\")};kt.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()},kt.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},kt.prototype.createIndexBuffer=function(t,e){return new F(this,t,e)},kt.prototype.createVertexBuffer=function(t,e,n){return new U(this,t,e,n)},kt.prototype.createRenderbuffer=function(t,e,n){var r=this.gl,i=r.createRenderbuffer();return this.bindRenderbuffer.set(i),r.renderbufferStorage(r.RENDERBUFFER,t,e,n),this.bindRenderbuffer.set(null),i},kt.prototype.createFramebuffer=function(t,e,n){return new Ct(this,t,e,n)},kt.prototype.clear=function(t){var e=t.color,n=t.depth,r=this.gl,i=0;e&&(i|=r.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==n&&(i|=r.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(n),this.depthMask.set(!0)),r.clear(i)},kt.prototype.setCullFace=function(t){!1===t.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(t.mode),this.frontFace.set(t.frontFace))},kt.prototype.setDepthMode=function(t){t.func!==this.gl.ALWAYS||t.mask?(this.depthTest.set(!0),this.depthFunc.set(t.func),this.depthMask.set(t.mask),this.depthRange.set(t.range)):this.depthTest.set(!1)},kt.prototype.setStencilMode=function(t){t.test.func!==this.gl.ALWAYS||t.mask?(this.stencilTest.set(!0),this.stencilMask.set(t.mask),this.stencilOp.set([t.fail,t.depthFail,t.pass]),this.stencilFunc.set({func:t.test.func,ref:t.ref,mask:t.test.mask})):this.stencilTest.set(!1)},kt.prototype.setColorMode=function(e){t.deepEqual(e.blendFunction,Tt.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask)},kt.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var Ot=function(e){function n(n,r,i){var o=this;e.call(this),this.id=n,this.dispatcher=i,this.on(\\\"data\\\",(function(t){\\\"source\\\"===t.dataType&&\\\"metadata\\\"===t.sourceDataType&&(o._sourceLoaded=!0),o._sourceLoaded&&!o._paused&&\\\"source\\\"===t.dataType&&\\\"content\\\"===t.sourceDataType&&(o.reload(),o.transform&&o.update(o.transform))})),this.on(\\\"error\\\",(function(){o._sourceErrored=!0})),this._source=function(e,n,r,i){var o=new R[n.type](e,n,r,i);if(o.id!==e)throw new Error(\\\"Expected Source id to be \\\"+e+\\\" instead of \\\"+o.id);return t.bindAll([\\\"load\\\",\\\"abort\\\",\\\"unload\\\",\\\"serialize\\\",\\\"prepare\\\"],o),o}(n,r,i,this),this._tiles={},this._cache=new N(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new t.SourceFeatureState}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.onAdd=function(t){this.map=t,this._maxTileCacheSize=t?t._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(t)},n.prototype.onRemove=function(t){this._source&&this._source.onRemove&&this._source.onRemove(t)},n.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(var t in this._tiles){var e=this._tiles[t];if(\\\"loaded\\\"!==e.state&&\\\"errored\\\"!==e.state)return!1}return!0},n.prototype.getSource=function(){return this._source},n.prototype.pause=function(){this._paused=!0},n.prototype.resume=function(){if(this._paused){var t=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,t&&this.reload(),this.transform&&this.update(this.transform)}},n.prototype._loadTile=function(t,e){return this._source.loadTile(t,e)},n.prototype._unloadTile=function(t){if(this._source.unloadTile)return this._source.unloadTile(t,(function(){}))},n.prototype._abortTile=function(t){if(this._source.abortTile)return this._source.abortTile(t,(function(){}))},n.prototype.serialize=function(){return this._source.serialize()},n.prototype.prepare=function(t){for(var e in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var n=this._tiles[e];n.upload(t),n.prepare(this.map.style.imageManager)}},n.prototype.getIds=function(){return t.values(this._tiles).map((function(t){return t.tileID})).sort(It).map((function(t){return t.key}))},n.prototype.getRenderableIds=function(e){var n=this,r=[];for(var i in this._tiles)this._isIdRenderable(i,e)&&r.push(this._tiles[i]);return e?r.sort((function(e,r){var i=e.tileID,o=r.tileID,a=new t.Point(i.canonical.x,i.canonical.y)._rotate(n.transform.angle),s=new t.Point(o.canonical.x,o.canonical.y)._rotate(n.transform.angle);return i.overscaledZ-o.overscaledZ||s.y-a.y||s.x-a.x})).map((function(t){return t.tileID.key})):r.map((function(t){return t.tileID})).sort(It).map((function(t){return t.key}))},n.prototype.hasRenderableParent=function(t){var e=this.findLoadedParent(t,0);return!!e&&this._isIdRenderable(e.tileID.key)},n.prototype._isIdRenderable=function(t,e){return this._tiles[t]&&this._tiles[t].hasData()&&!this._coveredTiles[t]&&(e||!this._tiles[t].holdingForFade())},n.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var t in this._cache.reset(),this._tiles)\\\"errored\\\"!==this._tiles[t].state&&this._reloadTile(t,\\\"reloading\\\")},n.prototype._reloadTile=function(t,e){var n=this._tiles[t];n&&(\\\"loading\\\"!==n.state&&(n.state=e),this._loadTile(n,this._tileLoaded.bind(this,n,t,e)))},n.prototype._tileLoaded=function(e,n,r,i){if(i)return e.state=\\\"errored\\\",void(404!==i.status?this._source.fire(new t.ErrorEvent(i,{tile:e})):this.update(this.transform));e.timeAdded=t.browser.now(),\\\"expired\\\"===r&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(n,e),\\\"raster-dem\\\"===this.getSource().type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),this._source.fire(new t.Event(\\\"data\\\",{dataType:\\\"source\\\",tile:e,coord:e.tileID}))},n.prototype._backfillDEM=function(t){for(var e=this.getRenderableIds(),n=0;n<e.length;n++){var r=e[n];if(t.neighboringTiles&&t.neighboringTiles[r]){var i=this.getTileByID(r);o(t,i),o(i,t)}}function o(t,e){t.needsHillshadePrepare=!0;var n=e.tileID.canonical.x-t.tileID.canonical.x,r=e.tileID.canonical.y-t.tileID.canonical.y,i=Math.pow(2,t.tileID.canonical.z),o=e.tileID.key;0===n&&0===r||Math.abs(r)>1||(Math.abs(n)>1&&(1===Math.abs(n+i)?n+=i:1===Math.abs(n-i)&&(n-=i)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,n,r),t.neighboringTiles&&t.neighboringTiles[o]&&(t.neighboringTiles[o].backfilled=!0)))}},n.prototype.getTile=function(t){return this.getTileByID(t.key)},n.prototype.getTileByID=function(t){return this._tiles[t]},n.prototype._retainLoadedChildren=function(t,e,n,r){for(var i in this._tiles){var o=this._tiles[i];if(!(r[i]||!o.hasData()||o.tileID.overscaledZ<=e||o.tileID.overscaledZ>n)){for(var a=o.tileID;o&&o.tileID.overscaledZ>e+1;){var s=o.tileID.scaledTo(o.tileID.overscaledZ-1);(o=this._tiles[s.key])&&o.hasData()&&(a=s)}for(var l=a;l.overscaledZ>e;)if(t[(l=l.scaledTo(l.overscaledZ-1)).key]){r[a.key]=a;break}}}},n.prototype.findLoadedParent=function(t,e){if(t.key in this._loadedParentTiles){var n=this._loadedParentTiles[t.key];return n&&n.tileID.overscaledZ>=e?n:null}for(var r=t.overscaledZ-1;r>=e;r--){var i=t.scaledTo(r),o=this._getLoadedTile(i);if(o)return o}},n.prototype._getLoadedTile=function(t){var e=this._tiles[t.key];return e&&e.hasData()?e:this._cache.getByKey(t.wrapped().key)},n.prototype.updateCacheSize=function(t){var e=Math.ceil(t.width/this._source.tileSize)+1,n=Math.ceil(t.height/this._source.tileSize)+1,r=Math.floor(e*n*5),i=\\\"number\\\"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,r):r;this._cache.setMaxSize(i)},n.prototype.handleWrapJump=function(t){var e=Math.round((t-(void 0===this._prevLng?t:this._prevLng))/360);if(this._prevLng=t,e){var n={};for(var r in this._tiles){var i=this._tiles[r];i.tileID=i.tileID.unwrapTo(i.tileID.wrap+e),n[i.tileID.key]=i}for(var o in this._tiles=n,this._timers)clearTimeout(this._timers[o]),delete this._timers[o];for(var a in this._tiles)this._setTileReloadTimer(a,this._tiles[a])}},n.prototype.update=function(e){var r=this;if(this.transform=e,this._sourceLoaded&&!this._paused){var i;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?i=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(e){return new t.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)})):(i=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(i=i.filter((function(t){return r._source.hasTile(t)})))):i=[];var o=e.coveringZoomLevel(this._source),a=Math.max(o-n.maxOverzooming,this._source.minzoom),s=Math.max(o+n.maxUnderzooming,this._source.minzoom),l=this._updateRetainedTiles(i,o);if(Lt(this._source.type)){for(var u={},c={},h=0,p=Object.keys(l);h<p.length;h+=1){var f=p[h],d=l[f],m=this._tiles[f];if(m&&!(m.fadeEndTime&&m.fadeEndTime<=t.browser.now())){var v=this.findLoadedParent(d,a);v&&(this._addTile(v.tileID),u[v.tileID.key]=v.tileID),c[f]=d}}for(var g in this._retainLoadedChildren(c,o,s,l),u)l[g]||(this._coveredTiles[g]=!0,l[g]=u[g])}for(var y in l)this._tiles[y].clearFadeHold();for(var _=0,b=t.keysDifference(this._tiles,l);_<b.length;_+=1){var x=b[_],w=this._tiles[x];w.hasSymbolBuckets&&!w.holdingForFade()?w.setHoldDuration(this.map._fadeDuration):w.hasSymbolBuckets&&!w.symbolFadeFinished()||this._removeTile(x)}this._updateLoadedParentTileCache()}},n.prototype.releaseSymbolFadeTiles=function(){for(var t in this._tiles)this._tiles[t].holdingForFade()&&this._removeTile(t)},n.prototype._updateRetainedTiles=function(t,e){for(var r={},i={},o=Math.max(e-n.maxOverzooming,this._source.minzoom),a=Math.max(e+n.maxUnderzooming,this._source.minzoom),s={},l=0,u=t;l<u.length;l+=1){var c=u[l],h=this._addTile(c);r[c.key]=c,h.hasData()||e<this._source.maxzoom&&(s[c.key]=c)}this._retainLoadedChildren(s,e,a,r);for(var p=0,f=t;p<f.length;p+=1){var d=f[p],m=this._tiles[d.key];if(!m.hasData()){if(e+1>this._source.maxzoom){var v=d.children(this._source.maxzoom)[0],g=this.getTile(v);if(g&&g.hasData()){r[v.key]=v;continue}}else{var y=d.children(this._source.maxzoom);if(r[y[0].key]&&r[y[1].key]&&r[y[2].key]&&r[y[3].key])continue}for(var _=m.wasRequested(),b=d.overscaledZ-1;b>=o;--b){var x=d.scaledTo(b);if(i[x.key])break;if(i[x.key]=!0,!(m=this.getTile(x))&&_&&(m=this._addTile(x)),m&&(r[x.key]=x,_=m.wasRequested(),m.hasData()))break}}}return r},n.prototype._updateLoadedParentTileCache=function(){for(var t in this._loadedParentTiles={},this._tiles){for(var e=[],n=void 0,r=this._tiles[t].tileID;r.overscaledZ>0;){if(r.key in this._loadedParentTiles){n=this._loadedParentTiles[r.key];break}e.push(r.key);var i=r.scaledTo(r.overscaledZ-1);if(n=this._getLoadedTile(i))break;r=i}for(var o=0,a=e;o<a.length;o+=1)this._loadedParentTiles[a[o]]=n}},n.prototype._addTile=function(e){var n=this._tiles[e.key];if(n)return n;(n=this._cache.getAndRemove(e))&&(this._setTileReloadTimer(e.key,n),n.tileID=e,this._state.initializeTileState(n,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,n)));var r=Boolean(n);return r||(n=new t.Tile(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(n,this._tileLoaded.bind(this,n,e.key,n.state))),n?(n.uses++,this._tiles[e.key]=n,r||this._source.fire(new t.Event(\\\"dataloading\\\",{tile:n,coord:n.tileID,dataType:\\\"source\\\"})),n):null},n.prototype._setTileReloadTimer=function(t,e){var n=this;t in this._timers&&(clearTimeout(this._timers[t]),delete this._timers[t]);var r=e.getExpiryTimeout();r&&(this._timers[t]=setTimeout((function(){n._reloadTile(t,\\\"expired\\\"),delete n._timers[t]}),r))},n.prototype._removeTile=function(t){var e=this._tiles[t];e&&(e.uses--,delete this._tiles[t],this._timers[t]&&(clearTimeout(this._timers[t]),delete this._timers[t]),e.uses>0||(e.hasData()&&\\\"reloading\\\"!==e.state?this._cache.add(e.tileID,e,e.getExpiryTimeout()):(e.aborted=!0,this._abortTile(e),this._unloadTile(e))))},n.prototype.clearTiles=function(){for(var t in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(t);this._cache.reset()},n.prototype.tilesIn=function(e,n,r){var i=this,o=[],a=this.transform;if(!a)return o;for(var s=r?a.getCameraQueryGeometry(e):e,l=e.map((function(t){return a.pointCoordinate(t)})),u=s.map((function(t){return a.pointCoordinate(t)})),c=this.getIds(),h=1/0,p=1/0,f=-1/0,d=-1/0,m=0,v=u;m<v.length;m+=1){var g=v[m];h=Math.min(h,g.x),p=Math.min(p,g.y),f=Math.max(f,g.x),d=Math.max(d,g.y)}for(var y=function(e){var r=i._tiles[c[e]];if(!r.holdingForFade()){var s=r.tileID,m=Math.pow(2,a.zoom-r.tileID.overscaledZ),v=n*r.queryPadding*t.EXTENT/r.tileSize/m,g=[s.getTilePoint(new t.MercatorCoordinate(h,p)),s.getTilePoint(new t.MercatorCoordinate(f,d))];if(g[0].x-v<t.EXTENT&&g[0].y-v<t.EXTENT&&g[1].x+v>=0&&g[1].y+v>=0){var y=l.map((function(t){return s.getTilePoint(t)})),_=u.map((function(t){return s.getTilePoint(t)}));o.push({tile:r,tileID:s,queryGeometry:y,cameraQueryGeometry:_,scale:m})}}},_=0;_<c.length;_++)y(_);return o},n.prototype.getVisibleCoordinates=function(t){for(var e=this,n=this.getRenderableIds(t).map((function(t){return e._tiles[t].tileID})),r=0,i=n;r<i.length;r+=1){var o=i[r];o.posMatrix=this.transform.calculatePosMatrix(o.toUnwrapped())}return n},n.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(Lt(this._source.type))for(var e in this._tiles){var n=this._tiles[e];if(void 0!==n.fadeEndTime&&n.fadeEndTime>=t.browser.now())return!0}return!1},n.prototype.setFeatureState=function(t,e,n){this._state.updateState(t=t||\\\"_geojsonTileLayer\\\",e,n)},n.prototype.removeFeatureState=function(t,e,n){this._state.removeFeatureState(t=t||\\\"_geojsonTileLayer\\\",e,n)},n.prototype.getFeatureState=function(t,e){return this._state.getState(t=t||\\\"_geojsonTileLayer\\\",e)},n.prototype.setDependencies=function(t,e,n){var r=this._tiles[t];r&&r.setDependencies(e,n)},n.prototype.reloadTilesForDependencies=function(t,e){for(var n in this._tiles)this._tiles[n].hasDependency(t,e)&&this._reloadTile(n,\\\"reloading\\\");this._cache.filter((function(n){return!n.hasDependency(t,e)}))},n}(t.Evented);function It(t,e){var n=Math.abs(2*t.wrap)-+(t.wrap<0),r=Math.abs(2*e.wrap)-+(e.wrap<0);return t.overscaledZ-e.overscaledZ||r-n||e.canonical.y-t.canonical.y||e.canonical.x-t.canonical.x}function Lt(t){return\\\"raster\\\"===t||\\\"image\\\"===t||\\\"video\\\"===t}function Pt(){return new t.window.Worker(Gi.workerUrl)}Ot.maxOverzooming=10,Ot.maxUnderzooming=3;var zt=\\\"mapboxgl_preloaded_worker_pool\\\",Rt=function(){this.active={}};Rt.prototype.acquire=function(t){if(!this.workers)for(this.workers=[];this.workers.length<Rt.workerCount;)this.workers.push(new Pt);return this.active[t]=!0,this.workers.slice()},Rt.prototype.release=function(t){delete this.active[t],0===this.numActive()&&(this.workers.forEach((function(t){t.terminate()})),this.workers=null)},Rt.prototype.isPreloaded=function(){return!!this.active[zt]},Rt.prototype.numActive=function(){return Object.keys(this.active).length};var Dt,$t=Math.floor(t.browser.hardwareConcurrency/2);function Bt(){return Dt||(Dt=new Rt),Dt}function Nt(e,n){var r={};for(var i in e)\\\"ref\\\"!==i&&(r[i]=e[i]);return t.refProperties.forEach((function(t){t in n&&(r[t]=n[t])})),r}function Ft(t){t=t.slice();for(var e=Object.create(null),n=0;n<t.length;n++)e[t[n].id]=t[n];for(var r=0;r<t.length;r++)\\\"ref\\\"in t[r]&&(t[r]=Nt(t[r],e[t[r].ref]));return t}Rt.workerCount=Math.max(Math.min($t,6),1);var jt={setStyle:\\\"setStyle\\\",addLayer:\\\"addLayer\\\",removeLayer:\\\"removeLayer\\\",setPaintProperty:\\\"setPaintProperty\\\",setLayoutProperty:\\\"setLayoutProperty\\\",setFilter:\\\"setFilter\\\",addSource:\\\"addSource\\\",removeSource:\\\"removeSource\\\",setGeoJSONSourceData:\\\"setGeoJSONSourceData\\\",setLayerZoomRange:\\\"setLayerZoomRange\\\",setLayerProperty:\\\"setLayerProperty\\\",setCenter:\\\"setCenter\\\",setZoom:\\\"setZoom\\\",setBearing:\\\"setBearing\\\",setPitch:\\\"setPitch\\\",setSprite:\\\"setSprite\\\",setGlyphs:\\\"setGlyphs\\\",setTransition:\\\"setTransition\\\",setLight:\\\"setLight\\\"};function Ut(t,e,n){n.push({command:jt.addSource,args:[t,e[t]]})}function qt(t,e,n){e.push({command:jt.removeSource,args:[t]}),n[t]=!0}function Vt(t,e,n,r){qt(t,n,r),Ut(t,e,n)}function Ht(e,n,r){var i;for(i in e[r])if(e[r].hasOwnProperty(i)&&\\\"data\\\"!==i&&!t.deepEqual(e[r][i],n[r][i]))return!1;for(i in n[r])if(n[r].hasOwnProperty(i)&&\\\"data\\\"!==i&&!t.deepEqual(e[r][i],n[r][i]))return!1;return!0}function Gt(e,n,r,i,o,a){var s;for(s in n=n||{},e=e||{})e.hasOwnProperty(s)&&(t.deepEqual(e[s],n[s])||r.push({command:a,args:[i,s,n[s],o]}));for(s in n)n.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(t.deepEqual(e[s],n[s])||r.push({command:a,args:[i,s,n[s],o]}))}function Wt(t){return t.id}function Xt(t,e){return t[e.id]=e,t}var Yt=function(t,e){this.reset(t,e)};Yt.prototype.reset=function(t,e){this.points=t||[],this._distances=[0];for(var n=1;n<this.points.length;n++)this._distances[n]=this._distances[n-1]+this.points[n].dist(this.points[n-1]);this.length=this._distances[this._distances.length-1],this.padding=Math.min(e||0,.5*this.length),this.paddedLength=this.length-2*this.padding},Yt.prototype.lerp=function(e){if(1===this.points.length)return this.points[0];e=t.clamp(e,0,1);for(var n=1,r=this._distances[n],i=e*this.paddedLength+this.padding;r<i&&n<this._distances.length;)r=this._distances[++n];var o=n-1,a=this._distances[o],s=r-a,l=s>0?(i-a)/s:0;return this.points[o].mult(1-l).add(this.points[n].mult(l))};var Zt=function(t,e,n){var r=this.boxCells=[],i=this.circleCells=[];this.xCellCount=Math.ceil(t/n),this.yCellCount=Math.ceil(e/n);for(var o=0;o<this.xCellCount*this.yCellCount;o++)r.push([]),i.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=t,this.height=e,this.xScale=this.xCellCount/t,this.yScale=this.yCellCount/e,this.boxUid=0,this.circleUid=0};function Kt(e,n,r,i,o){var a=t.create();return n?(t.scale(a,a,[1/o,1/o,1]),r||t.rotateZ(a,a,i.angle)):t.multiply(a,i.labelPlaneMatrix,e),a}function Jt(e,n,r,i,o){if(n){var a=t.clone(e);return t.scale(a,a,[o,o,1]),r||t.rotateZ(a,a,-i.angle),a}return i.glCoordMatrix}function Qt(e,n){var r=[e.x,e.y,0,1];ce(r,r,n);var i=r[3];return{point:new t.Point(r[0]/i,r[1]/i),signedDistanceFromCamera:i}}function te(t,e){return.5+t/e*.5}function ee(t,e){var n=t[0]/t[3],r=t[1]/t[3];return n>=-e[0]&&n<=e[0]&&r>=-e[1]&&r<=e[1]}function ne(e,n,r,i,o,a,s,l){var u=i?e.textSizeData:e.iconSizeData,c=t.evaluateSizeForZoom(u,r.transform.zoom),h=[256/r.width*2+1,256/r.height*2+1],p=i?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;p.clear();for(var f=e.lineVertexArray,d=i?e.text.placedSymbolArray:e.icon.placedSymbolArray,m=r.transform.width/r.transform.height,v=!1,g=0;g<d.length;g++){var y=d.get(g);if(y.hidden||y.writingMode===t.WritingMode.vertical&&!v)ue(y.numGlyphs,p);else{v=!1;var _=[y.anchorX,y.anchorY,0,1];if(t.transformMat4(_,_,n),ee(_,h)){var b=te(r.transform.cameraToCenterDistance,_[3]),x=t.evaluateSizeForFeature(u,c,y),w=s?x/b:x*b,A=new t.Point(y.anchorX,y.anchorY),C=Qt(A,o).point,M={},E=oe(y,w,!1,l,n,o,a,e.glyphOffsetArray,f,p,C,A,M,m);v=E.useVertical,(E.notEnoughRoom||v||E.needsFlipping&&oe(y,w,!0,l,n,o,a,e.glyphOffsetArray,f,p,C,A,M,m).notEnoughRoom)&&ue(y.numGlyphs,p)}else ue(y.numGlyphs,p)}}i?e.text.dynamicLayoutVertexBuffer.updateData(p):e.icon.dynamicLayoutVertexBuffer.updateData(p)}function re(t,e,n,r,i,o,a,s,l,u,c){var h=s.glyphStartIndex+s.numGlyphs,p=s.lineStartIndex,f=s.lineStartIndex+s.lineLength,d=e.getoffsetX(s.glyphStartIndex),m=e.getoffsetX(h-1),v=se(t*d,n,r,i,o,a,s.segment,p,f,l,u,c);if(!v)return null;var g=se(t*m,n,r,i,o,a,s.segment,p,f,l,u,c);return g?{first:v,last:g}:null}function ie(e,n,r,i){return e===t.WritingMode.horizontal&&Math.abs(r.y-n.y)>Math.abs(r.x-n.x)*i?{useVertical:!0}:(e===t.WritingMode.vertical?n.y<r.y:n.x>r.x)?{needsFlipping:!0}:null}function oe(e,n,r,i,o,a,s,l,u,c,h,p,f,d){var m,v=n/24,g=e.lineOffsetX*v,y=e.lineOffsetY*v;if(e.numGlyphs>1){var _=e.glyphStartIndex+e.numGlyphs,b=e.lineStartIndex,x=e.lineStartIndex+e.lineLength,w=re(v,l,g,y,r,h,p,e,u,a,f);if(!w)return{notEnoughRoom:!0};var A=Qt(w.first.point,s).point,C=Qt(w.last.point,s).point;if(i&&!r){var M=ie(e.writingMode,A,C,d);if(M)return M}m=[w.first];for(var E=e.glyphStartIndex+1;E<_-1;E++)m.push(se(v*l.getoffsetX(E),g,y,r,h,p,e.segment,b,x,u,a,f));m.push(w.last)}else{if(i&&!r){var T=Qt(p,o).point,S=e.lineStartIndex+e.segment+1,k=new t.Point(u.getx(S),u.gety(S)),O=Qt(k,o),I=O.signedDistanceFromCamera>0?O.point:ae(p,k,T,1,o),L=ie(e.writingMode,T,I,d);if(L)return L}var P=se(v*l.getoffsetX(e.glyphStartIndex),g,y,r,h,p,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,u,a,f);if(!P)return{notEnoughRoom:!0};m=[P]}for(var z=0,R=m;z<R.length;z+=1){var D=R[z];t.addDynamicAttributes(c,D.point,D.angle)}return{}}function ae(t,e,n,r,i){var o=Qt(t.add(t.sub(e)._unit()),i).point,a=n.sub(o);return n.add(a._mult(r/a.mag()))}function se(e,n,r,i,o,a,s,l,u,c,h,p){var f=i?e-n:e+n,d=f>0?1:-1,m=0;i&&(d*=-1,m=Math.PI),d<0&&(m+=Math.PI);for(var v=d>0?l+s:l+s+1,g=o,y=o,_=0,b=0,x=Math.abs(f),w=[];_+b<=x;){if((v+=d)<l||v>=u)return null;if(y=g,w.push(g),void 0===(g=p[v])){var A=new t.Point(c.getx(v),c.gety(v)),C=Qt(A,h);if(C.signedDistanceFromCamera>0)g=p[v]=C.point;else{var M=v-d;g=ae(0===_?a:new t.Point(c.getx(M),c.gety(M)),A,y,x-_+1,h)}}_+=b,b=y.dist(g)}var E=(x-_)/b,T=g.sub(y),S=T.mult(E)._add(y);S._add(T._unit()._perp()._mult(r*d));var k=m+Math.atan2(g.y-y.y,g.x-y.x);return w.push(S),{point:S,angle:k,path:w}}Zt.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Zt.prototype.insert=function(t,e,n,r,i){this._forEachCell(e,n,r,i,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(n),this.bboxes.push(r),this.bboxes.push(i)},Zt.prototype.insertCircle=function(t,e,n,r){this._forEachCell(e-r,n-r,e+r,n+r,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(n),this.circles.push(r)},Zt.prototype._insertBoxCell=function(t,e,n,r,i,o){this.boxCells[i].push(o)},Zt.prototype._insertCircleCell=function(t,e,n,r,i,o){this.circleCells[i].push(o)},Zt.prototype._query=function(t,e,n,r,i,o){if(n<0||t>this.width||r<0||e>this.height)return!i&&[];var a=[];if(t<=0&&e<=0&&this.width<=n&&this.height<=r){if(i)return!0;for(var s=0;s<this.boxKeys.length;s++)a.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var l=0;l<this.circleKeys.length;l++){var u=this.circles[3*l],c=this.circles[3*l+1],h=this.circles[3*l+2];a.push({key:this.circleKeys[l],x1:u-h,y1:c-h,x2:u+h,y2:c+h})}return o?a.filter(o):a}return this._forEachCell(t,e,n,r,this._queryCell,a,{hitTest:i,seenUids:{box:{},circle:{}}},o),i?a.length>0:a},Zt.prototype._queryCircle=function(t,e,n,r,i){var o=t-n,a=t+n,s=e-n,l=e+n;if(a<0||o>this.width||l<0||s>this.height)return!r&&[];var u=[];return this._forEachCell(o,s,a,l,this._queryCellCircle,u,{hitTest:r,circle:{x:t,y:e,radius:n},seenUids:{box:{},circle:{}}},i),r?u.length>0:u},Zt.prototype.query=function(t,e,n,r,i){return this._query(t,e,n,r,!1,i)},Zt.prototype.hitTest=function(t,e,n,r,i){return this._query(t,e,n,r,!0,i)},Zt.prototype.hitTestCircle=function(t,e,n,r){return this._queryCircle(t,e,n,!0,r)},Zt.prototype._queryCell=function(t,e,n,r,i,o,a,s){var l=a.seenUids,u=this.boxCells[i];if(null!==u)for(var c=this.bboxes,h=0,p=u;h<p.length;h+=1){var f=p[h];if(!l.box[f]){l.box[f]=!0;var d=4*f;if(t<=c[d+2]&&e<=c[d+3]&&n>=c[d+0]&&r>=c[d+1]&&(!s||s(this.boxKeys[f]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[f],x1:c[d],y1:c[d+1],x2:c[d+2],y2:c[d+3]})}}}var m=this.circleCells[i];if(null!==m)for(var v=this.circles,g=0,y=m;g<y.length;g+=1){var _=y[g];if(!l.circle[_]){l.circle[_]=!0;var b=3*_;if(this._circleAndRectCollide(v[b],v[b+1],v[b+2],t,e,n,r)&&(!s||s(this.circleKeys[_]))){if(a.hitTest)return o.push(!0),!0;var x=v[b],w=v[b+1],A=v[b+2];o.push({key:this.circleKeys[_],x1:x-A,y1:w-A,x2:x+A,y2:w+A})}}}},Zt.prototype._queryCellCircle=function(t,e,n,r,i,o,a,s){var l=a.circle,u=a.seenUids,c=this.boxCells[i];if(null!==c)for(var h=this.bboxes,p=0,f=c;p<f.length;p+=1){var d=f[p];if(!u.box[d]){u.box[d]=!0;var m=4*d;if(this._circleAndRectCollide(l.x,l.y,l.radius,h[m+0],h[m+1],h[m+2],h[m+3])&&(!s||s(this.boxKeys[d])))return o.push(!0),!0}}var v=this.circleCells[i];if(null!==v)for(var g=this.circles,y=0,_=v;y<_.length;y+=1){var b=_[y];if(!u.circle[b]){u.circle[b]=!0;var x=3*b;if(this._circlesCollide(g[x],g[x+1],g[x+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[b])))return o.push(!0),!0}}},Zt.prototype._forEachCell=function(t,e,n,r,i,o,a,s){for(var l=this._convertToXCellCoord(t),u=this._convertToYCellCoord(e),c=this._convertToXCellCoord(n),h=this._convertToYCellCoord(r),p=l;p<=c;p++)for(var f=u;f<=h;f++)if(i.call(this,t,e,n,r,this.xCellCount*f+p,o,a,s))return},Zt.prototype._convertToXCellCoord=function(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))},Zt.prototype._convertToYCellCoord=function(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))},Zt.prototype._circlesCollide=function(t,e,n,r,i,o){var a=r-t,s=i-e,l=n+o;return l*l>a*a+s*s},Zt.prototype._circleAndRectCollide=function(t,e,n,r,i,o,a){var s=(o-r)/2,l=Math.abs(t-(r+s));if(l>s+n)return!1;var u=(a-i)/2,c=Math.abs(e-(i+u));if(c>u+n)return!1;if(l<=s||c<=u)return!0;var h=l-s,p=c-u;return h*h+p*p<=n*n};var le=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function ue(t,e){for(var n=0;n<t;n++){var r=e.length;e.resize(r+4),e.float32.set(le,3*r)}}function ce(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t[3]=n[3]*r+n[7]*i+n[15],t}var he=function(t,e,n){void 0===e&&(e=new Zt(t.width+200,t.height+200,25)),void 0===n&&(n=new Zt(t.width+200,t.height+200,25)),this.transform=t,this.grid=e,this.ignoredGrid=n,this.pitchfactor=Math.cos(t._pitch)*t.cameraToCenterDistance,this.screenRightBoundary=t.width+100,this.screenBottomBoundary=t.height+100,this.gridRightBoundary=t.width+200,this.gridBottomBoundary=t.height+200};function pe(e,n,r){return n*(t.EXTENT/(e.tileSize*Math.pow(2,r-e.tileID.overscaledZ)))}he.prototype.placeCollisionBox=function(t,e,n,r,i){var o=this.projectAndGetPerspectiveRatio(r,t.anchorPointX,t.anchorPointY),a=n*o.perspectiveRatio,s=t.x1*a+o.point.x,l=t.y1*a+o.point.y,u=t.x2*a+o.point.x,c=t.y2*a+o.point.y;return!this.isInsideGrid(s,l,u,c)||!e&&this.grid.hitTest(s,l,u,c,i)?{box:[],offscreen:!1}:{box:[s,l,u,c],offscreen:this.isOffscreen(s,l,u,c)}},he.prototype.placeCollisionCircles=function(e,n,r,i,o,a,s,l,u,c,h,p,f){var d=[],m=new t.Point(n.anchorX,n.anchorY),v=Qt(m,a),g=te(this.transform.cameraToCenterDistance,v.signedDistanceFromCamera),y=(c?o/g:o*g)/t.ONE_EM,_=Qt(m,s).point,b=re(y,i,n.lineOffsetX*y,n.lineOffsetY*y,!1,_,m,n,r,s,{}),x=!1,w=!1,A=!0;if(b){for(var C=.5*p*g+f,M=new t.Point(-100,-100),E=new t.Point(this.screenRightBoundary,this.screenBottomBoundary),T=new Yt,S=b.first,k=b.last,O=[],I=S.path.length-1;I>=1;I--)O.push(S.path[I]);for(var L=1;L<k.path.length;L++)O.push(k.path[L]);var P=2.5*C;if(l){var z=O.map((function(t){return Qt(t,l)}));O=z.some((function(t){return t.signedDistanceFromCamera<=0}))?[]:z.map((function(t){return t.point}))}var R=[];if(O.length>0){for(var D=O[0].clone(),$=O[0].clone(),B=1;B<O.length;B++)D.x=Math.min(D.x,O[B].x),D.y=Math.min(D.y,O[B].y),$.x=Math.max($.x,O[B].x),$.y=Math.max($.y,O[B].y);R=D.x>=M.x&&$.x<=E.x&&D.y>=M.y&&$.y<=E.y?[O]:$.x<M.x||D.x>E.x||$.y<M.y||D.y>E.y?[]:t.clipLine([O],M.x,M.y,E.x,E.y)}for(var N=0,F=R;N<F.length;N+=1){var j;T.reset(F[N],.25*C),j=T.length<=.5*C?1:Math.ceil(T.paddedLength/P)+1;for(var U=0;U<j;U++){var q=U/Math.max(j-1,1),V=T.lerp(q),H=V.x+100,G=V.y+100;d.push(H,G,C,0);var W=H-C,X=G-C,Y=H+C,Z=G+C;if(A=A&&this.isOffscreen(W,X,Y,Z),w=w||this.isInsideGrid(W,X,Y,Z),!e&&this.grid.hitTestCircle(H,G,C,h)&&(x=!0,!u))return{circles:[],offscreen:!1,collisionDetected:x}}}}return{circles:!u&&x||!w?[]:d,offscreen:A,collisionDetected:x}},he.prototype.queryRenderedSymbols=function(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var n=[],r=1/0,i=1/0,o=-1/0,a=-1/0,s=0,l=e;s<l.length;s+=1){var u=l[s],c=new t.Point(u.x+100,u.y+100);r=Math.min(r,c.x),i=Math.min(i,c.y),o=Math.max(o,c.x),a=Math.max(a,c.y),n.push(c)}for(var h={},p={},f=0,d=this.grid.query(r,i,o,a).concat(this.ignoredGrid.query(r,i,o,a));f<d.length;f+=1){var m=d[f],v=m.key;if(void 0===h[v.bucketInstanceId]&&(h[v.bucketInstanceId]={}),!h[v.bucketInstanceId][v.featureIndex]){var g=[new t.Point(m.x1,m.y1),new t.Point(m.x2,m.y1),new t.Point(m.x2,m.y2),new t.Point(m.x1,m.y2)];t.polygonIntersectsPolygon(n,g)&&(h[v.bucketInstanceId][v.featureIndex]=!0,void 0===p[v.bucketInstanceId]&&(p[v.bucketInstanceId]=[]),p[v.bucketInstanceId].push(v.featureIndex))}}return p},he.prototype.insertCollisionBox=function(t,e,n,r,i){(e?this.ignoredGrid:this.grid).insert({bucketInstanceId:n,featureIndex:r,collisionGroupID:i},t[0],t[1],t[2],t[3])},he.prototype.insertCollisionCircles=function(t,e,n,r,i){for(var o=e?this.ignoredGrid:this.grid,a={bucketInstanceId:n,featureIndex:r,collisionGroupID:i},s=0;s<t.length;s+=4)o.insertCircle(a,t[s],t[s+1],t[s+2])},he.prototype.projectAndGetPerspectiveRatio=function(e,n,r){var i=[n,r,0,1];return ce(i,i,e),{point:new t.Point((i[0]/i[3]+1)/2*this.transform.width+100,(-i[1]/i[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/i[3]*.5}},he.prototype.isOffscreen=function(t,e,n,r){return n<100||t>=this.screenRightBoundary||r<100||e>this.screenBottomBoundary},he.prototype.isInsideGrid=function(t,e,n,r){return n>=0&&t<this.gridRightBoundary&&r>=0&&e<this.gridBottomBoundary},he.prototype.getViewportMatrix=function(){var e=t.identity([]);return t.translate(e,e,[-100,-100,0]),e};var fe=function(t,e,n,r){this.opacity=t?Math.max(0,Math.min(1,t.opacity+(t.placed?e:-e))):r&&n?1:0,this.placed=n};fe.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var de=function(t,e,n,r,i){this.text=new fe(t?t.text:null,e,n,i),this.icon=new fe(t?t.icon:null,e,r,i)};de.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var me=function(t,e,n){this.text=t,this.icon=e,this.skipFade=n},ve=function(){this.invProjMatrix=t.create(),this.viewportMatrix=t.create(),this.circles=[]},ge=function(t,e,n,r,i){this.bucketInstanceId=t,this.featureIndex=e,this.sourceLayerIndex=n,this.bucketIndex=r,this.tileID=i},ye=function(t){this.crossSourceCollisions=t,this.maxGroupID=0,this.collisionGroups={}};function _e(e,n,r,i,o){var a=t.getAnchorAlignment(e),s=-(a.horizontalAlign-.5)*n,l=-(a.verticalAlign-.5)*r,u=t.evaluateVariableOffset(e,i);return new t.Point(s+u[0]*o,l+u[1]*o)}function be(e,n,r,i,o,a){var s=e.x1,l=e.x2,u=e.y1,c=e.y2,h=e.anchorPointX,p=e.anchorPointY,f=new t.Point(n,r);return i&&f._rotate(o?a:-a),{x1:s+f.x,y1:u+f.y,x2:l+f.x,y2:c+f.y,anchorPointX:h,anchorPointY:p}}ye.prototype.get=function(t){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[t]){var e=++this.maxGroupID;this.collisionGroups[t]={ID:e,predicate:function(t){return t.collisionGroupID===e}}}return this.collisionGroups[t]};var xe=function(t,e,n,r){this.transform=t.clone(),this.collisionIndex=new he(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=e,this.retainedQueryData={},this.collisionGroups=new ye(n),this.collisionCircleArrays={},this.prevPlacement=r,r&&(r.prevPlacement=void 0),this.placedOrientations={}};function we(t,e,n,r,i){t.emplaceBack(e?1:0,n?1:0,r||0,i||0),t.emplaceBack(e?1:0,n?1:0,r||0,i||0),t.emplaceBack(e?1:0,n?1:0,r||0,i||0),t.emplaceBack(e?1:0,n?1:0,r||0,i||0)}xe.prototype.getBucketParts=function(e,n,r,i){var o=r.getBucket(n),a=r.latestFeatureIndex;if(o&&a&&n.id===o.layerIds[0]){var s=r.collisionBoxArray,l=o.layers[0].layout,u=Math.pow(2,this.transform.zoom-r.tileID.overscaledZ),c=r.tileSize/t.EXTENT,h=this.transform.calculatePosMatrix(r.tileID.toUnwrapped()),p=\\\"map\\\"===l.get(\\\"text-pitch-alignment\\\"),f=\\\"map\\\"===l.get(\\\"text-rotation-alignment\\\"),d=pe(r,1,this.transform.zoom),m=Kt(h,p,f,this.transform,d),v=null;if(p){var g=Jt(h,p,f,this.transform,d);v=t.multiply([],this.transform.labelPlaneMatrix,g)}this.retainedQueryData[o.bucketInstanceId]=new ge(o.bucketInstanceId,a,o.sourceLayerIndex,o.index,r.tileID);var y={bucket:o,layout:l,posMatrix:h,textLabelPlaneMatrix:m,labelToScreenMatrix:v,scale:u,textPixelRatio:c,holdingForFade:r.holdingForFade(),collisionBoxArray:s,partiallyEvaluatedTextSize:t.evaluateSizeForZoom(o.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(o.sourceID)};if(i)for(var _=0,b=o.sortKeyRanges;_<b.length;_+=1){var x=b[_];e.push({sortKey:x.sortKey,symbolInstanceStart:x.symbolInstanceStart,symbolInstanceEnd:x.symbolInstanceEnd,parameters:y})}else e.push({symbolInstanceStart:0,symbolInstanceEnd:o.symbolInstances.length,parameters:y})}},xe.prototype.attemptAnchorPlacement=function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d){var m,v=[h.textOffset0,h.textOffset1],g=_e(t,n,r,v,i),y=this.collisionIndex.placeCollisionBox(be(e,g.x,g.y,o,a,this.transform.angle),c,s,l,u.predicate);if(!d||0!==this.collisionIndex.placeCollisionBox(be(d,g.x,g.y,o,a,this.transform.angle),c,s,l,u.predicate).box.length)return y.box.length>0?(this.prevPlacement&&this.prevPlacement.variableOffsets[h.crossTileID]&&this.prevPlacement.placements[h.crossTileID]&&this.prevPlacement.placements[h.crossTileID].text&&(m=this.prevPlacement.variableOffsets[h.crossTileID].anchor),this.variableOffsets[h.crossTileID]={textOffset:v,width:n,height:r,anchor:t,textBoxScale:i,prevAnchor:m},this.markUsedJustification(p,t,h,f),p.allowVerticalPlacement&&(this.markUsedOrientation(p,f,h),this.placedOrientations[h.crossTileID]=f),{shift:g,placedGlyphBoxes:y}):void 0},xe.prototype.placeLayerBucketPart=function(e,n,r){var i=this,o=e.parameters,a=o.bucket,s=o.layout,l=o.posMatrix,u=o.textLabelPlaneMatrix,c=o.labelToScreenMatrix,h=o.textPixelRatio,p=o.holdingForFade,f=o.collisionBoxArray,d=o.partiallyEvaluatedTextSize,m=o.collisionGroup,v=s.get(\\\"text-optional\\\"),g=s.get(\\\"icon-optional\\\"),y=s.get(\\\"text-allow-overlap\\\"),_=s.get(\\\"icon-allow-overlap\\\"),b=\\\"map\\\"===s.get(\\\"text-rotation-alignment\\\"),x=\\\"map\\\"===s.get(\\\"text-pitch-alignment\\\"),w=\\\"none\\\"!==s.get(\\\"icon-text-fit\\\"),A=\\\"viewport-y\\\"===s.get(\\\"symbol-z-order\\\"),C=y&&(_||!a.hasIconData()||g),M=_&&(y||!a.hasTextData()||v);!a.collisionArrays&&f&&a.deserializeCollisionBoxes(f);var E=function(e,o){if(!n[e.crossTileID])if(p)i.placements[e.crossTileID]=new me(!1,!1,!1);else{var f,A=!1,E=!1,T=!0,S=null,k={box:null,offscreen:null},O={box:null,offscreen:null},I=null,L=null,P=0,z=0,R=0;o.textFeatureIndex?P=o.textFeatureIndex:e.useRuntimeCollisionCircles&&(P=e.featureIndex),o.verticalTextFeatureIndex&&(z=o.verticalTextFeatureIndex);var D=o.textBox;if(D){var $=function(n){var r=t.WritingMode.horizontal;if(a.allowVerticalPlacement&&!n&&i.prevPlacement){var o=i.prevPlacement.placedOrientations[e.crossTileID];o&&(i.placedOrientations[e.crossTileID]=o,i.markUsedOrientation(a,r=o,e))}return r},B=function(n,r){if(a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&o.verticalTextBox)for(var i=0,s=a.writingModes;i<s.length&&(s[i]===t.WritingMode.vertical?(k=r(),O=k):k=n(),!(k&&k.box&&k.box.length));i+=1);else k=n()};if(s.get(\\\"text-variable-anchor\\\")){var N=s.get(\\\"text-variable-anchor\\\");if(i.prevPlacement&&i.prevPlacement.variableOffsets[e.crossTileID]){var F=i.prevPlacement.variableOffsets[e.crossTileID];N.indexOf(F.anchor)>0&&(N=N.filter((function(t){return t!==F.anchor}))).unshift(F.anchor)}var j=function(t,n,r){for(var o=t.x2-t.x1,s=t.y2-t.y1,u=e.textBoxScale,c=w&&!_?n:null,p={box:[],offscreen:!1},f=y?2*N.length:N.length,d=0;d<f;++d){var v=i.attemptAnchorPlacement(N[d%N.length],t,o,s,u,b,x,h,l,m,d>=N.length,e,a,r,c);if(v&&(p=v.placedGlyphBoxes)&&p.box&&p.box.length){A=!0,S=v.shift;break}}return p};B((function(){return j(D,o.iconBox,t.WritingMode.horizontal)}),(function(){var n=o.verticalTextBox;return a.allowVerticalPlacement&&!(k&&k.box&&k.box.length)&&e.numVerticalGlyphVertices>0&&n?j(n,o.verticalIconBox,t.WritingMode.vertical):{box:null,offscreen:null}})),k&&(A=k.box,T=k.offscreen);var U=$(k&&k.box);if(!A&&i.prevPlacement){var q=i.prevPlacement.variableOffsets[e.crossTileID];q&&(i.variableOffsets[e.crossTileID]=q,i.markUsedJustification(a,q.anchor,e,U))}}else{var V=function(t,n){var r=i.collisionIndex.placeCollisionBox(t,y,h,l,m.predicate);return r&&r.box&&r.box.length&&(i.markUsedOrientation(a,n,e),i.placedOrientations[e.crossTileID]=n),r};B((function(){return V(D,t.WritingMode.horizontal)}),(function(){var n=o.verticalTextBox;return a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&n?V(n,t.WritingMode.vertical):{box:null,offscreen:null}})),$(k&&k.box&&k.box.length)}}if(A=(f=k)&&f.box&&f.box.length>0,T=f&&f.offscreen,e.useRuntimeCollisionCircles){var H=a.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex),G=t.evaluateSizeForFeature(a.textSizeData,d,H),W=s.get(\\\"text-padding\\\");I=i.collisionIndex.placeCollisionCircles(y,H,a.lineVertexArray,a.glyphOffsetArray,G,l,u,c,r,x,m.predicate,e.collisionCircleDiameter,W),A=y||I.circles.length>0&&!I.collisionDetected,T=T&&I.offscreen}if(o.iconFeatureIndex&&(R=o.iconFeatureIndex),o.iconBox){var X=function(t){var e=w&&S?be(t,S.x,S.y,b,x,i.transform.angle):t;return i.collisionIndex.placeCollisionBox(e,_,h,l,m.predicate)};E=O&&O.box&&O.box.length&&o.verticalIconBox?(L=X(o.verticalIconBox)).box.length>0:(L=X(o.iconBox)).box.length>0,T=T&&L.offscreen}var Y=v||0===e.numHorizontalGlyphVertices&&0===e.numVerticalGlyphVertices,Z=g||0===e.numIconVertices;if(Y||Z?Z?Y||(E=E&&A):A=E&&A:E=A=E&&A,A&&f&&f.box&&i.collisionIndex.insertCollisionBox(f.box,s.get(\\\"text-ignore-placement\\\"),a.bucketInstanceId,O&&O.box&&z?z:P,m.ID),E&&L&&i.collisionIndex.insertCollisionBox(L.box,s.get(\\\"icon-ignore-placement\\\"),a.bucketInstanceId,R,m.ID),I&&(A&&i.collisionIndex.insertCollisionCircles(I.circles,s.get(\\\"text-ignore-placement\\\"),a.bucketInstanceId,P,m.ID),r)){var K=a.bucketInstanceId,J=i.collisionCircleArrays[K];void 0===J&&(J=i.collisionCircleArrays[K]=new ve);for(var Q=0;Q<I.circles.length;Q+=4)J.circles.push(I.circles[Q+0]),J.circles.push(I.circles[Q+1]),J.circles.push(I.circles[Q+2]),J.circles.push(I.collisionDetected?1:0)}i.placements[e.crossTileID]=new me(A||C,E||M,T||a.justReloaded),n[e.crossTileID]=!0}};if(A)for(var T=a.getSortedSymbolIndexes(this.transform.angle),S=T.length-1;S>=0;--S){var k=T[S];E(a.symbolInstances.get(k),a.collisionArrays[k])}else for(var O=e.symbolInstanceStart;O<e.symbolInstanceEnd;O++)E(a.symbolInstances.get(O),a.collisionArrays[O]);if(r&&a.bucketInstanceId in this.collisionCircleArrays){var I=this.collisionCircleArrays[a.bucketInstanceId];t.invert(I.invProjMatrix,l),I.viewportMatrix=this.collisionIndex.getViewportMatrix()}a.justReloaded=!1},xe.prototype.markUsedJustification=function(e,n,r,i){var o;o=i===t.WritingMode.vertical?r.verticalPlacedTextSymbolIndex:{left:r.leftJustifiedTextSymbolIndex,center:r.centerJustifiedTextSymbolIndex,right:r.rightJustifiedTextSymbolIndex}[t.getAnchorJustification(n)];for(var a=0,s=[r.leftJustifiedTextSymbolIndex,r.centerJustifiedTextSymbolIndex,r.rightJustifiedTextSymbolIndex,r.verticalPlacedTextSymbolIndex];a<s.length;a+=1){var l=s[a];l>=0&&(e.text.placedSymbolArray.get(l).crossTileID=o>=0&&l!==o?0:r.crossTileID)}},xe.prototype.markUsedOrientation=function(e,n,r){for(var i=n===t.WritingMode.horizontal||n===t.WritingMode.horizontalOnly?n:0,o=n===t.WritingMode.vertical?n:0,a=0,s=[r.leftJustifiedTextSymbolIndex,r.centerJustifiedTextSymbolIndex,r.rightJustifiedTextSymbolIndex];a<s.length;a+=1)e.text.placedSymbolArray.get(s[a]).placedOrientation=i;r.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(r.verticalPlacedTextSymbolIndex).placedOrientation=o)},xe.prototype.commit=function(t){this.commitTime=t,this.zoomAtLastRecencyCheck=this.transform.zoom;var e=this.prevPlacement,n=!1;this.prevZoomAdjustment=e?e.zoomAdjustment(this.transform.zoom):0;var r=e?e.symbolFadeChange(t):1,i=e?e.opacities:{},o=e?e.variableOffsets:{},a=e?e.placedOrientations:{};for(var s in this.placements){var l=this.placements[s],u=i[s];u?(this.opacities[s]=new de(u,r,l.text,l.icon),n=n||l.text!==u.text.placed||l.icon!==u.icon.placed):(this.opacities[s]=new de(null,r,l.text,l.icon,l.skipFade),n=n||l.text||l.icon)}for(var c in i){var h=i[c];if(!this.opacities[c]){var p=new de(h,r,!1,!1);p.isHidden()||(this.opacities[c]=p,n=n||h.text.placed||h.icon.placed)}}for(var f in o)this.variableOffsets[f]||!this.opacities[f]||this.opacities[f].isHidden()||(this.variableOffsets[f]=o[f]);for(var d in a)this.placedOrientations[d]||!this.opacities[d]||this.opacities[d].isHidden()||(this.placedOrientations[d]=a[d]);n?this.lastPlacementChangeTime=t:\\\"number\\\"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=e?e.lastPlacementChangeTime:t)},xe.prototype.updateLayerOpacities=function(t,e){for(var n={},r=0,i=e;r<i.length;r+=1){var o=i[r],a=o.getBucket(t);a&&o.latestFeatureIndex&&t.id===a.layerIds[0]&&this.updateBucketOpacities(a,n,o.collisionBoxArray)}},xe.prototype.updateBucketOpacities=function(e,n,r){var i=this;e.hasTextData()&&e.text.opacityVertexArray.clear(),e.hasIconData()&&e.icon.opacityVertexArray.clear(),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear();var o=e.layers[0].layout,a=new de(null,0,!1,!1,!0),s=o.get(\\\"text-allow-overlap\\\"),l=o.get(\\\"icon-allow-overlap\\\"),u=o.get(\\\"text-variable-anchor\\\"),c=\\\"map\\\"===o.get(\\\"text-rotation-alignment\\\"),h=\\\"map\\\"===o.get(\\\"text-pitch-alignment\\\"),p=\\\"none\\\"!==o.get(\\\"icon-text-fit\\\"),f=new de(null,0,s&&(l||!e.hasIconData()||o.get(\\\"icon-optional\\\")),l&&(s||!e.hasTextData()||o.get(\\\"text-optional\\\")),!0);!e.collisionArrays&&r&&(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData())&&e.deserializeCollisionBoxes(r);for(var d=function(t,e,n){for(var r=0;r<e/4;r++)t.opacityVertexArray.emplaceBack(n)},m=function(r){var o=e.symbolInstances.get(r),s=o.numHorizontalGlyphVertices,l=o.numVerticalGlyphVertices,m=o.crossTileID,v=i.opacities[m];n[m]?v=a:v||(i.opacities[m]=v=f),n[m]=!0;var g=o.numIconVertices>0,y=i.placedOrientations[o.crossTileID],_=y===t.WritingMode.vertical,b=y===t.WritingMode.horizontal||y===t.WritingMode.horizontalOnly;if(s>0||l>0){var x=Oe(v.text);d(e.text,s,_?Ie:x),d(e.text,l,b?Ie:x);var w=v.text.isHidden();[o.rightJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.leftJustifiedTextSymbolIndex].forEach((function(t){t>=0&&(e.text.placedSymbolArray.get(t).hidden=w||_?1:0)})),o.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).hidden=w||b?1:0);var A=i.variableOffsets[o.crossTileID];A&&i.markUsedJustification(e,A.anchor,o,y);var C=i.placedOrientations[o.crossTileID];C&&(i.markUsedJustification(e,\\\"left\\\",o,C),i.markUsedOrientation(e,C,o))}if(g){var M=Oe(v.icon),E=!(p&&o.verticalPlacedIconSymbolIndex&&_);o.placedIconSymbolIndex>=0&&(d(e.icon,o.numIconVertices,E?M:Ie),e.icon.placedSymbolArray.get(o.placedIconSymbolIndex).hidden=v.icon.isHidden()),o.verticalPlacedIconSymbolIndex>=0&&(d(e.icon,o.numVerticalIconVertices,E?Ie:M),e.icon.placedSymbolArray.get(o.verticalPlacedIconSymbolIndex).hidden=v.icon.isHidden())}if(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData()){var T=e.collisionArrays[r];if(T){var S=new t.Point(0,0);if(T.textBox||T.verticalTextBox){var k=!0;if(u){var O=i.variableOffsets[m];O?(S=_e(O.anchor,O.width,O.height,O.textOffset,O.textBoxScale),c&&S._rotate(h?i.transform.angle:-i.transform.angle)):k=!1}T.textBox&&we(e.textCollisionBox.collisionVertexArray,v.text.placed,!k||_,S.x,S.y),T.verticalTextBox&&we(e.textCollisionBox.collisionVertexArray,v.text.placed,!k||b,S.x,S.y)}var I=Boolean(!b&&T.verticalIconBox);T.iconBox&&we(e.iconCollisionBox.collisionVertexArray,v.icon.placed,I,p?S.x:0,p?S.y:0),T.verticalIconBox&&we(e.iconCollisionBox.collisionVertexArray,v.icon.placed,!I,p?S.x:0,p?S.y:0)}}},v=0;v<e.symbolInstances.length;v++)m(v);if(e.sortFeatures(this.transform.angle),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.bucketInstanceId in this.collisionCircleArrays){var g=this.collisionCircleArrays[e.bucketInstanceId];e.placementInvProjMatrix=g.invProjMatrix,e.placementViewportMatrix=g.viewportMatrix,e.collisionCircleArray=g.circles,delete this.collisionCircleArrays[e.bucketInstanceId]}},xe.prototype.symbolFadeChange=function(t){return 0===this.fadeDuration?1:(t-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},xe.prototype.zoomAdjustment=function(t){return Math.max(0,(this.transform.zoom-t)/1.5)},xe.prototype.hasTransitions=function(t){return this.stale||t-this.lastPlacementChangeTime<this.fadeDuration},xe.prototype.stillRecent=function(t,e){var n=this.zoomAtLastRecencyCheck===e?1-this.zoomAdjustment(e):1;return this.zoomAtLastRecencyCheck=e,this.commitTime+this.fadeDuration*n>t},xe.prototype.setStale=function(){this.stale=!0};var Ae=Math.pow(2,25),Ce=Math.pow(2,24),Me=Math.pow(2,17),Ee=Math.pow(2,16),Te=Math.pow(2,9),Se=Math.pow(2,8),ke=Math.pow(2,1);function Oe(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;var e=t.placed?1:0,n=Math.floor(127*t.opacity);return n*Ae+e*Ce+n*Me+e*Ee+n*Te+e*Se+n*ke+e}var Ie=0,Le=function(t){this._sortAcrossTiles=\\\"viewport-y\\\"!==t.layout.get(\\\"symbol-z-order\\\")&&void 0!==t.layout.get(\\\"symbol-sort-key\\\").constantOr(1),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Le.prototype.continuePlacement=function(t,e,n,r,i){for(var o=this._bucketParts;this._currentTileIndex<t.length;)if(e.getBucketParts(o,r,t[this._currentTileIndex],this._sortAcrossTiles),this._currentTileIndex++,i())return!0;for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,o.sort((function(t,e){return t.sortKey-e.sortKey})));this._currentPartIndex<o.length;)if(e.placeLayerBucketPart(o[this._currentPartIndex],this._seenCrossTileIDs,n),this._currentPartIndex++,i())return!0;return!1};var Pe=function(t,e,n,r,i,o,a){this.placement=new xe(t,i,o,a),this._currentPlacementIndex=e.length-1,this._forceFullPlacement=n,this._showCollisionBoxes=r,this._done=!1};Pe.prototype.isDone=function(){return this._done},Pe.prototype.continuePlacement=function(e,n,r){for(var i=this,o=t.browser.now(),a=function(){var e=t.browser.now()-o;return!i._forceFullPlacement&&e>2};this._currentPlacementIndex>=0;){var s=n[e[this._currentPlacementIndex]],l=this.placement.collisionIndex.transform.zoom;if(\\\"symbol\\\"===s.type&&(!s.minzoom||s.minzoom<=l)&&(!s.maxzoom||s.maxzoom>l)){if(this._inProgressLayer||(this._inProgressLayer=new Le(s)),this._inProgressLayer.continuePlacement(r[s.source],this.placement,this._showCollisionBoxes,s,a))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},Pe.prototype.commit=function(t){return this.placement.commit(t),this.placement};var ze=512/t.EXTENT/2,Re=function(t,e,n){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=n;for(var r=0;r<e.length;r++){var i=e.get(r),o=i.key;this.indexedSymbolInstances[o]||(this.indexedSymbolInstances[o]=[]),this.indexedSymbolInstances[o].push({crossTileID:i.crossTileID,coord:this.getScaledCoordinates(i,t)})}};Re.prototype.getScaledCoordinates=function(e,n){var r=ze/Math.pow(2,n.canonical.z-this.tileID.canonical.z);return{x:Math.floor((n.canonical.x*t.EXTENT+e.anchorX)*r),y:Math.floor((n.canonical.y*t.EXTENT+e.anchorY)*r)}},Re.prototype.findMatches=function(t,e,n){for(var r=this.tileID.canonical.z<e.canonical.z?1:Math.pow(2,this.tileID.canonical.z-e.canonical.z),i=0;i<t.length;i++){var o=t.get(i);if(!o.crossTileID){var a=this.indexedSymbolInstances[o.key];if(a)for(var s=this.getScaledCoordinates(o,e),l=0,u=a;l<u.length;l+=1){var c=u[l];if(Math.abs(c.coord.x-s.x)<=r&&Math.abs(c.coord.y-s.y)<=r&&!n[c.crossTileID]){n[c.crossTileID]=!0,o.crossTileID=c.crossTileID;break}}}}};var De=function(){this.maxCrossTileID=0};De.prototype.generate=function(){return++this.maxCrossTileID};var $e=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};$e.prototype.handleWrapJump=function(t){var e=Math.round((t-this.lng)/360);if(0!==e)for(var n in this.indexes){var r=this.indexes[n],i={};for(var o in r){var a=r[o];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+e),i[a.tileID.key]=a}this.indexes[n]=i}this.lng=t},$e.prototype.addBucket=function(t,e,n){if(this.indexes[t.overscaledZ]&&this.indexes[t.overscaledZ][t.key]){if(this.indexes[t.overscaledZ][t.key].bucketInstanceId===e.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(t.overscaledZ,this.indexes[t.overscaledZ][t.key])}for(var r=0;r<e.symbolInstances.length;r++)e.symbolInstances.get(r).crossTileID=0;this.usedCrossTileIDs[t.overscaledZ]||(this.usedCrossTileIDs[t.overscaledZ]={});var i=this.usedCrossTileIDs[t.overscaledZ];for(var o in this.indexes){var a=this.indexes[o];if(Number(o)>t.overscaledZ)for(var s in a){var l=a[s];l.tileID.isChildOf(t)&&l.findMatches(e.symbolInstances,t,i)}else{var u=a[t.scaledTo(Number(o)).key];u&&u.findMatches(e.symbolInstances,t,i)}}for(var c=0;c<e.symbolInstances.length;c++){var h=e.symbolInstances.get(c);h.crossTileID||(h.crossTileID=n.generate(),i[h.crossTileID]=!0)}return void 0===this.indexes[t.overscaledZ]&&(this.indexes[t.overscaledZ]={}),this.indexes[t.overscaledZ][t.key]=new Re(t,e.symbolInstances,e.bucketInstanceId),!0},$e.prototype.removeBucketCrossTileIDs=function(t,e){for(var n in e.indexedSymbolInstances)for(var r=0,i=e.indexedSymbolInstances[n];r<i.length;r+=1)delete this.usedCrossTileIDs[t][i[r].crossTileID]},$e.prototype.removeStaleBuckets=function(t){var e=!1;for(var n in this.indexes){var r=this.indexes[n];for(var i in r)t[r[i].bucketInstanceId]||(this.removeBucketCrossTileIDs(n,r[i]),delete r[i],e=!0)}return e};var Be=function(){this.layerIndexes={},this.crossTileIDs=new De,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};Be.prototype.addLayer=function(t,e,n){var r=this.layerIndexes[t.id];void 0===r&&(r=this.layerIndexes[t.id]=new $e);var i=!1,o={};r.handleWrapJump(n);for(var a=0,s=e;a<s.length;a+=1){var l=s[a],u=l.getBucket(t);u&&t.id===u.layerIds[0]&&(u.bucketInstanceId||(u.bucketInstanceId=++this.maxBucketInstanceId),r.addBucket(l.tileID,u,this.crossTileIDs)&&(i=!0),o[u.bucketInstanceId]=!0)}return r.removeStaleBuckets(o)&&(i=!0),i},Be.prototype.pruneUnusedLayers=function(t){var e={};for(var n in t.forEach((function(t){e[t]=!0})),this.layerIndexes)e[n]||delete this.layerIndexes[n]};var Ne=function(e,n){return t.emitValidationErrors(e,n&&n.filter((function(t){return\\\"source.canvas\\\"!==t.identifier})))},Fe=t.pick(jt,[\\\"addLayer\\\",\\\"removeLayer\\\",\\\"setPaintProperty\\\",\\\"setLayoutProperty\\\",\\\"setFilter\\\",\\\"addSource\\\",\\\"removeSource\\\",\\\"setLayerZoomRange\\\",\\\"setLight\\\",\\\"setTransition\\\",\\\"setGeoJSONSourceData\\\"]),je=t.pick(jt,[\\\"setCenter\\\",\\\"setZoom\\\",\\\"setBearing\\\",\\\"setPitch\\\"]),Ue=function(){var e={},n=t.styleSpec.$version;for(var r in t.styleSpec.$root){var i,o=t.styleSpec.$root[r];o.required&&null!=(i=\\\"version\\\"===r?n:\\\"array\\\"===o.type?[]:{})&&(e[r]=i)}return e}(),qe=function(e){function n(r,i){var o=this;void 0===i&&(i={}),e.call(this),this.map=r,this.dispatcher=new C(Bt(),this),this.imageManager=new p,this.imageManager.setEventedParent(this),this.glyphManager=new _(r._requestManager,i.localIdeographFontFamily),this.lineAtlas=new A(256,512),this.crossTileSymbolIndex=new Be,this._layers={},this._serializedLayers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ZoomHistory,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast(\\\"setReferrer\\\",t.getReferrer());var a=this;this._rtlTextPluginCallback=n.registerForPluginStateChange((function(e){a.dispatcher.broadcast(\\\"syncRTLPluginState\\\",{pluginStatus:e.pluginStatus,pluginURL:e.pluginURL},(function(e,n){if(t.triggerPluginCompletionEvent(e),n&&n.every((function(t){return t})))for(var r in a.sourceCaches)a.sourceCaches[r].reload()}))})),this.on(\\\"data\\\",(function(t){if(\\\"source\\\"===t.dataType&&\\\"metadata\\\"===t.sourceDataType){var e=o.sourceCaches[t.sourceId];if(e){var n=e.getSource();if(n&&n.vectorLayerIds)for(var r in o._layers){var i=o._layers[r];i.source===n.id&&o._validateLayer(i)}}}}))}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.loadURL=function(e,n){var r=this;void 0===n&&(n={}),this.fire(new t.Event(\\\"dataloading\\\",{dataType:\\\"style\\\"}));var i=\\\"boolean\\\"==typeof n.validate?n.validate:!t.isMapboxURL(e);e=this.map._requestManager.normalizeStyleURL(e,n.accessToken);var o=this.map._requestManager.transformRequest(e,t.ResourceType.Style);this._request=t.getJSON(o,(function(e,n){r._request=null,e?r.fire(new t.ErrorEvent(e)):n&&r._load(n,i)}))},n.prototype.loadJSON=function(e,n){var r=this;void 0===n&&(n={}),this.fire(new t.Event(\\\"dataloading\\\",{dataType:\\\"style\\\"})),this._request=t.browser.frame((function(){r._request=null,r._load(e,!1!==n.validate)}))},n.prototype.loadEmpty=function(){this.fire(new t.Event(\\\"dataloading\\\",{dataType:\\\"style\\\"})),this._load(Ue,!1)},n.prototype._load=function(e,n){if(!n||!Ne(this,t.validateStyle(e))){for(var r in this._loaded=!0,this.stylesheet=e,e.sources)this.addSource(r,e.sources[r],{validate:!1});e.sprite?this._loadSprite(e.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(e.glyphs);var i=Ft(this.stylesheet.layers);this._order=i.map((function(t){return t.id})),this._layers={},this._serializedLayers={};for(var o=0,a=i;o<a.length;o+=1){var s=a[o];(s=t.createStyleLayer(s)).setEventedParent(this,{layer:{id:s.id}}),this._layers[s.id]=s,this._serializedLayers[s.id]=s.serialize()}this.dispatcher.broadcast(\\\"setLayers\\\",this._serializeLayers(this._order)),this.light=new w(this.stylesheet.light),this.fire(new t.Event(\\\"data\\\",{dataType:\\\"style\\\"})),this.fire(new t.Event(\\\"style.load\\\"))}},n.prototype._loadSprite=function(e){var n=this;this._spriteRequest=function(e,n,r){var i,o,a,s=t.browser.devicePixelRatio>1?\\\"@2x\\\":\\\"\\\",l=t.getJSON(n.transformRequest(n.normalizeSpriteURL(e,s,\\\".json\\\"),t.ResourceType.SpriteJSON),(function(t,e){l=null,a||(a=t,i=e,c())})),u=t.getImage(n.transformRequest(n.normalizeSpriteURL(e,s,\\\".png\\\"),t.ResourceType.SpriteImage),(function(t,e){u=null,a||(a=t,o=e,c())}));function c(){if(a)r(a);else if(i&&o){var e=t.browser.getImageData(o),n={};for(var s in i){var l=i[s],u=l.width,c=l.height,h=l.x,p=l.y,f=l.sdf,d=l.pixelRatio,m=l.stretchX,v=l.stretchY,g=l.content,y=new t.RGBAImage({width:u,height:c});t.RGBAImage.copy(e,y,{x:h,y:p},{x:0,y:0},{width:u,height:c}),n[s]={data:y,pixelRatio:d,sdf:f,stretchX:m,stretchY:v,content:g}}r(null,n)}}return{cancel:function(){l&&(l.cancel(),l=null),u&&(u.cancel(),u=null)}}}(e,this.map._requestManager,(function(e,r){if(n._spriteRequest=null,e)n.fire(new t.ErrorEvent(e));else if(r)for(var i in r)n.imageManager.addImage(i,r[i]);n.imageManager.setLoaded(!0),n._availableImages=n.imageManager.listImages(),n.dispatcher.broadcast(\\\"setImages\\\",n._availableImages),n.fire(new t.Event(\\\"data\\\",{dataType:\\\"style\\\"}))}))},n.prototype._validateLayer=function(e){var n=this.sourceCaches[e.source];if(n){var r=e.sourceLayer;if(r){var i=n.getSource();(\\\"geojson\\\"===i.type||i.vectorLayerIds&&-1===i.vectorLayerIds.indexOf(r))&&this.fire(new t.ErrorEvent(new Error('Source layer \\\"'+r+'\\\" does not exist on source \\\"'+i.id+'\\\" as specified by style layer \\\"'+e.id+'\\\"')))}}},n.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var t in this.sourceCaches)if(!this.sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()},n.prototype._serializeLayers=function(t){for(var e=[],n=0,r=t;n<r.length;n+=1){var i=this._layers[r[n]];\\\"custom\\\"!==i.type&&e.push(i.serialize())}return e},n.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var t in this.sourceCaches)if(this.sourceCaches[t].hasTransition())return!0;for(var e in this._layers)if(this._layers[e].hasTransition())return!0;return!1},n.prototype._checkLoaded=function(){if(!this._loaded)throw new Error(\\\"Style is not done loading\\\")},n.prototype.update=function(e){if(this._loaded){var n=this._changed;if(this._changed){var r=Object.keys(this._updatedLayers),i=Object.keys(this._removedLayers);for(var o in(r.length||i.length)&&this._updateWorkerLayers(r,i),this._updatedSources){var a=this._updatedSources[o];\\\"reload\\\"===a?this._reloadSource(o):\\\"clear\\\"===a&&this._clearSource(o)}for(var s in this._updateTilesForChangedImages(),this._updatedPaintProps)this._layers[s].updateTransitions(e);this.light.updateTransitions(e),this._resetUpdates()}for(var l in this.sourceCaches)this.sourceCaches[l].used=!1;for(var u=0,c=this._order;u<c.length;u+=1){var h=this._layers[c[u]];h.recalculate(e,this._availableImages),!h.isHidden(e.zoom)&&h.source&&(this.sourceCaches[h.source].used=!0)}this.light.recalculate(e),this.z=e.zoom,n&&this.fire(new t.Event(\\\"data\\\",{dataType:\\\"style\\\"}))}},n.prototype._updateTilesForChangedImages=function(){var t=Object.keys(this._changedImages);if(t.length){for(var e in this.sourceCaches)this.sourceCaches[e].reloadTilesForDependencies([\\\"icons\\\",\\\"patterns\\\"],t);this._changedImages={}}},n.prototype._updateWorkerLayers=function(t,e){this.dispatcher.broadcast(\\\"updateLayers\\\",{layers:this._serializeLayers(t),removedIds:e})},n.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}},n.prototype.setState=function(e){var n=this;if(this._checkLoaded(),Ne(this,t.validateStyle(e)))return!1;(e=t.clone$1(e)).layers=Ft(e.layers);var r=function(e,n){if(!e)return[{command:jt.setStyle,args:[n]}];var r=[];try{if(!t.deepEqual(e.version,n.version))return[{command:jt.setStyle,args:[n]}];t.deepEqual(e.center,n.center)||r.push({command:jt.setCenter,args:[n.center]}),t.deepEqual(e.zoom,n.zoom)||r.push({command:jt.setZoom,args:[n.zoom]}),t.deepEqual(e.bearing,n.bearing)||r.push({command:jt.setBearing,args:[n.bearing]}),t.deepEqual(e.pitch,n.pitch)||r.push({command:jt.setPitch,args:[n.pitch]}),t.deepEqual(e.sprite,n.sprite)||r.push({command:jt.setSprite,args:[n.sprite]}),t.deepEqual(e.glyphs,n.glyphs)||r.push({command:jt.setGlyphs,args:[n.glyphs]}),t.deepEqual(e.transition,n.transition)||r.push({command:jt.setTransition,args:[n.transition]}),t.deepEqual(e.light,n.light)||r.push({command:jt.setLight,args:[n.light]});var i={},o=[];!function(e,n,r,i){var o;for(o in n=n||{},e=e||{})e.hasOwnProperty(o)&&(n.hasOwnProperty(o)||qt(o,r,i));for(o in n)n.hasOwnProperty(o)&&(e.hasOwnProperty(o)?t.deepEqual(e[o],n[o])||(\\\"geojson\\\"===e[o].type&&\\\"geojson\\\"===n[o].type&&Ht(e,n,o)?r.push({command:jt.setGeoJSONSourceData,args:[o,n[o].data]}):Vt(o,n,r,i)):Ut(o,n,r))}(e.sources,n.sources,o,i);var a=[];e.layers&&e.layers.forEach((function(t){i[t.source]?r.push({command:jt.removeLayer,args:[t.id]}):a.push(t)})),r=r.concat(o),function(e,n,r){n=n||[];var i,o,a,s,l,u,c,h=(e=e||[]).map(Wt),p=n.map(Wt),f=e.reduce(Xt,{}),d=n.reduce(Xt,{}),m=h.slice(),v=Object.create(null);for(i=0,o=0;i<h.length;i++)d.hasOwnProperty(a=h[i])?o++:(r.push({command:jt.removeLayer,args:[a]}),m.splice(m.indexOf(a,o),1));for(i=0,o=0;i<p.length;i++)m[m.length-1-i]!==(a=p[p.length-1-i])&&(f.hasOwnProperty(a)?(r.push({command:jt.removeLayer,args:[a]}),m.splice(m.lastIndexOf(a,m.length-o),1)):o++,r.push({command:jt.addLayer,args:[d[a],u=m[m.length-i]]}),m.splice(m.length-i,0,a),v[a]=!0);for(i=0;i<p.length;i++)if(s=f[a=p[i]],l=d[a],!v[a]&&!t.deepEqual(s,l))if(t.deepEqual(s.source,l.source)&&t.deepEqual(s[\\\"source-layer\\\"],l[\\\"source-layer\\\"])&&t.deepEqual(s.type,l.type)){for(c in Gt(s.layout,l.layout,r,a,null,jt.setLayoutProperty),Gt(s.paint,l.paint,r,a,null,jt.setPaintProperty),t.deepEqual(s.filter,l.filter)||r.push({command:jt.setFilter,args:[a,l.filter]}),t.deepEqual(s.minzoom,l.minzoom)&&t.deepEqual(s.maxzoom,l.maxzoom)||r.push({command:jt.setLayerZoomRange,args:[a,l.minzoom,l.maxzoom]}),s)s.hasOwnProperty(c)&&\\\"layout\\\"!==c&&\\\"paint\\\"!==c&&\\\"filter\\\"!==c&&\\\"metadata\\\"!==c&&\\\"minzoom\\\"!==c&&\\\"maxzoom\\\"!==c&&(0===c.indexOf(\\\"paint.\\\")?Gt(s[c],l[c],r,a,c.slice(6),jt.setPaintProperty):t.deepEqual(s[c],l[c])||r.push({command:jt.setLayerProperty,args:[a,c,l[c]]}));for(c in l)l.hasOwnProperty(c)&&!s.hasOwnProperty(c)&&\\\"layout\\\"!==c&&\\\"paint\\\"!==c&&\\\"filter\\\"!==c&&\\\"metadata\\\"!==c&&\\\"minzoom\\\"!==c&&\\\"maxzoom\\\"!==c&&(0===c.indexOf(\\\"paint.\\\")?Gt(s[c],l[c],r,a,c.slice(6),jt.setPaintProperty):t.deepEqual(s[c],l[c])||r.push({command:jt.setLayerProperty,args:[a,c,l[c]]}))}else r.push({command:jt.removeLayer,args:[a]}),u=m[m.lastIndexOf(a)+1],r.push({command:jt.addLayer,args:[l,u]})}(a,n.layers,r)}catch(t){console.warn(\\\"Unable to compute style diff:\\\",t),r=[{command:jt.setStyle,args:[n]}]}return r}(this.serialize(),e).filter((function(t){return!(t.command in je)}));if(0===r.length)return!1;var i=r.filter((function(t){return!(t.command in Fe)}));if(i.length>0)throw new Error(\\\"Unimplemented: \\\"+i.map((function(t){return t.command})).join(\\\", \\\")+\\\".\\\");return r.forEach((function(t){\\\"setTransition\\\"!==t.command&&n[t.command].apply(n,t.args)})),this.stylesheet=e,!0},n.prototype.addImage=function(e,n){if(this.getImage(e))return this.fire(new t.ErrorEvent(new Error(\\\"An image with this name already exists.\\\")));this.imageManager.addImage(e,n),this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.fire(new t.Event(\\\"data\\\",{dataType:\\\"style\\\"}))},n.prototype.updateImage=function(t,e){this.imageManager.updateImage(t,e)},n.prototype.getImage=function(t){return this.imageManager.getImage(t)},n.prototype.removeImage=function(e){if(!this.getImage(e))return this.fire(new t.ErrorEvent(new Error(\\\"No image with this name exists.\\\")));this.imageManager.removeImage(e),this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.fire(new t.Event(\\\"data\\\",{dataType:\\\"style\\\"}))},n.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},n.prototype.addSource=function(e,n,r){var i=this;if(void 0===r&&(r={}),this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error(\\\"There is already a source with this ID\\\");if(!n.type)throw new Error(\\\"The type property must be defined, but the only the following properties were given: \\\"+Object.keys(n).join(\\\", \\\")+\\\".\\\");if(!([\\\"vector\\\",\\\"raster\\\",\\\"geojson\\\",\\\"video\\\",\\\"image\\\"].indexOf(n.type)>=0&&this._validate(t.validateStyle.source,\\\"sources.\\\"+e,n,null,r))){this.map&&this.map._collectResourceTiming&&(n.collectResourceTiming=!0);var o=this.sourceCaches[e]=new Ot(e,n,this.dispatcher);o.style=this,o.setEventedParent(this,(function(){return{isSourceLoaded:i.loaded(),source:o.serialize(),sourceId:e}})),o.onAdd(this.map),this._changed=!0}},n.prototype.removeSource=function(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error(\\\"There is no source with this ID\\\");for(var n in this._layers)if(this._layers[n].source===e)return this.fire(new t.ErrorEvent(new Error('Source \\\"'+e+'\\\" cannot be removed while layer \\\"'+n+'\\\" is using it.')));var r=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],r.fire(new t.Event(\\\"data\\\",{sourceDataType:\\\"metadata\\\",dataType:\\\"source\\\",sourceId:e})),r.setEventedParent(null),r.clearTiles(),r.onRemove&&r.onRemove(this.map),this._changed=!0},n.prototype.setGeoJSONSourceData=function(t,e){this._checkLoaded(),this.sourceCaches[t].getSource().setData(e),this._changed=!0},n.prototype.getSource=function(t){return this.sourceCaches[t]&&this.sourceCaches[t].getSource()},n.prototype.addLayer=function(e,n,r){void 0===r&&(r={}),this._checkLoaded();var i=e.id;if(this.getLayer(i))this.fire(new t.ErrorEvent(new Error('Layer with id \\\"'+i+'\\\" already exists on this map')));else{var o;if(\\\"custom\\\"===e.type){if(Ne(this,t.validateCustomStyleLayer(e)))return;o=t.createStyleLayer(e)}else{if(\\\"object\\\"==typeof e.source&&(this.addSource(i,e.source),e=t.clone$1(e),e=t.extend(e,{source:i})),this._validate(t.validateStyle.layer,\\\"layers.\\\"+i,e,{arrayIndex:-1},r))return;o=t.createStyleLayer(e),this._validateLayer(o),o.setEventedParent(this,{layer:{id:i}}),this._serializedLayers[o.id]=o.serialize()}var a=n?this._order.indexOf(n):this._order.length;if(n&&-1===a)this.fire(new t.ErrorEvent(new Error('Layer with id \\\"'+n+'\\\" does not exist on this map.')));else{if(this._order.splice(a,0,i),this._layerOrderChanged=!0,this._layers[i]=o,this._removedLayers[i]&&o.source&&\\\"custom\\\"!==o.type){var s=this._removedLayers[i];delete this._removedLayers[i],s.type!==o.type?this._updatedSources[o.source]=\\\"clear\\\":(this._updatedSources[o.source]=\\\"reload\\\",this.sourceCaches[o.source].pause())}this._updateLayer(o),o.onAdd&&o.onAdd(this.map)}}},n.prototype.moveLayer=function(e,n){if(this._checkLoaded(),this._changed=!0,this._layers[e]){if(e!==n){var r=this._order.indexOf(e);this._order.splice(r,1);var i=n?this._order.indexOf(n):this._order.length;n&&-1===i?this.fire(new t.ErrorEvent(new Error('Layer with id \\\"'+n+'\\\" does not exist on this map.'))):(this._order.splice(i,0,e),this._layerOrderChanged=!0)}}else this.fire(new t.ErrorEvent(new Error(\\\"The layer '\\\"+e+\\\"' does not exist in the map's style and cannot be moved.\\\")))},n.prototype.removeLayer=function(e){this._checkLoaded();var n=this._layers[e];if(n){n.setEventedParent(null);var r=this._order.indexOf(e);this._order.splice(r,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=n,delete this._layers[e],delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],n.onRemove&&n.onRemove(this.map)}else this.fire(new t.ErrorEvent(new Error(\\\"The layer '\\\"+e+\\\"' does not exist in the map's style and cannot be removed.\\\")))},n.prototype.getLayer=function(t){return this._layers[t]},n.prototype.hasLayer=function(t){return t in this._layers},n.prototype.setLayerZoomRange=function(e,n,r){this._checkLoaded();var i=this.getLayer(e);i?i.minzoom===n&&i.maxzoom===r||(null!=n&&(i.minzoom=n),null!=r&&(i.maxzoom=r),this._updateLayer(i)):this.fire(new t.ErrorEvent(new Error(\\\"The layer '\\\"+e+\\\"' does not exist in the map's style and cannot have zoom extent.\\\")))},n.prototype.setFilter=function(e,n,r){void 0===r&&(r={}),this._checkLoaded();var i=this.getLayer(e);if(i){if(!t.deepEqual(i.filter,n))return null==n?(i.filter=void 0,void this._updateLayer(i)):void(this._validate(t.validateStyle.filter,\\\"layers.\\\"+i.id+\\\".filter\\\",n,null,r)||(i.filter=t.clone$1(n),this._updateLayer(i)))}else this.fire(new t.ErrorEvent(new Error(\\\"The layer '\\\"+e+\\\"' does not exist in the map's style and cannot be filtered.\\\")))},n.prototype.getFilter=function(e){return t.clone$1(this.getLayer(e).filter)},n.prototype.setLayoutProperty=function(e,n,r,i){void 0===i&&(i={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getLayoutProperty(n),r)||(o.setLayoutProperty(n,r,i),this._updateLayer(o)):this.fire(new t.ErrorEvent(new Error(\\\"The layer '\\\"+e+\\\"' does not exist in the map's style and cannot be styled.\\\")))},n.prototype.getLayoutProperty=function(e,n){var r=this.getLayer(e);if(r)return r.getLayoutProperty(n);this.fire(new t.ErrorEvent(new Error(\\\"The layer '\\\"+e+\\\"' does not exist in the map's style.\\\")))},n.prototype.setPaintProperty=function(e,n,r,i){void 0===i&&(i={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getPaintProperty(n),r)||(o.setPaintProperty(n,r,i)&&this._updateLayer(o),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new t.ErrorEvent(new Error(\\\"The layer '\\\"+e+\\\"' does not exist in the map's style and cannot be styled.\\\")))},n.prototype.getPaintProperty=function(t,e){return this.getLayer(t).getPaintProperty(e)},n.prototype.setFeatureState=function(e,n){this._checkLoaded();var r=e.source,i=e.sourceLayer,o=this.sourceCaches[r];if(void 0!==o){var a=o.getSource().type;\\\"geojson\\\"===a&&i?this.fire(new t.ErrorEvent(new Error(\\\"GeoJSON sources cannot have a sourceLayer parameter.\\\"))):\\\"vector\\\"!==a||i?(void 0===e.id&&this.fire(new t.ErrorEvent(new Error(\\\"The feature id parameter must be provided.\\\"))),o.setFeatureState(i,e.id,n)):this.fire(new t.ErrorEvent(new Error(\\\"The sourceLayer parameter must be provided for vector source types.\\\")))}else this.fire(new t.ErrorEvent(new Error(\\\"The source '\\\"+r+\\\"' does not exist in the map's style.\\\")))},n.prototype.removeFeatureState=function(e,n){this._checkLoaded();var r=e.source,i=this.sourceCaches[r];if(void 0!==i){var o=i.getSource().type,a=\\\"vector\\\"===o?e.sourceLayer:void 0;\\\"vector\\\"!==o||a?n&&\\\"string\\\"!=typeof e.id&&\\\"number\\\"!=typeof e.id?this.fire(new t.ErrorEvent(new Error(\\\"A feature id is requred to remove its specific state property.\\\"))):i.removeFeatureState(a,e.id,n):this.fire(new t.ErrorEvent(new Error(\\\"The sourceLayer parameter must be provided for vector source types.\\\")))}else this.fire(new t.ErrorEvent(new Error(\\\"The source '\\\"+r+\\\"' does not exist in the map's style.\\\")))},n.prototype.getFeatureState=function(e){this._checkLoaded();var n=e.source,r=e.sourceLayer,i=this.sourceCaches[n];if(void 0!==i){if(\\\"vector\\\"!==i.getSource().type||r)return void 0===e.id&&this.fire(new t.ErrorEvent(new Error(\\\"The feature id parameter must be provided.\\\"))),i.getFeatureState(r,e.id);this.fire(new t.ErrorEvent(new Error(\\\"The sourceLayer parameter must be provided for vector source types.\\\")))}else this.fire(new t.ErrorEvent(new Error(\\\"The source '\\\"+n+\\\"' does not exist in the map's style.\\\")))},n.prototype.getTransition=function(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},n.prototype.serialize=function(){return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:t.mapObject(this.sourceCaches,(function(t){return t.serialize()})),layers:this._serializeLayers(this._order)},(function(t){return void 0!==t}))},n.prototype._updateLayer=function(t){this._updatedLayers[t.id]=!0,t.source&&!this._updatedSources[t.source]&&\\\"raster\\\"!==this.sourceCaches[t.source].getSource().type&&(this._updatedSources[t.source]=\\\"reload\\\",this.sourceCaches[t.source].pause()),this._changed=!0},n.prototype._flattenAndSortRenderedFeatures=function(t){for(var e=this,n=function(t){return\\\"fill-extrusion\\\"===e._layers[t].type},r={},i=[],o=this._order.length-1;o>=0;o--){var a=this._order[o];if(n(a)){r[a]=o;for(var s=0,l=t;s<l.length;s+=1){var u=l[s][a];if(u)for(var c=0,h=u;c<h.length;c+=1)i.push(h[c])}}}i.sort((function(t,e){return e.intersectionZ-t.intersectionZ}));for(var p=[],f=this._order.length-1;f>=0;f--){var d=this._order[f];if(n(d))for(var m=i.length-1;m>=0;m--){var v=i[m].feature;if(r[v.layer.id]<f)break;p.push(v),i.pop()}else for(var g=0,y=t;g<y.length;g+=1){var _=y[g][d];if(_)for(var b=0,x=_;b<x.length;b+=1)p.push(x[b].feature)}}return p},n.prototype.queryRenderedFeatures=function(e,n,r){n&&n.filter&&this._validate(t.validateStyle.filter,\\\"queryRenderedFeatures.filter\\\",n.filter,null,n);var i={};if(n&&n.layers){if(!Array.isArray(n.layers))return this.fire(new t.ErrorEvent(new Error(\\\"parameters.layers must be an Array.\\\"))),[];for(var o=0,a=n.layers;o<a.length;o+=1){var s=a[o],l=this._layers[s];if(!l)return this.fire(new t.ErrorEvent(new Error(\\\"The layer '\\\"+s+\\\"' does not exist in the map's style and cannot be queried for features.\\\"))),[];i[l.source]=!0}}var u=[];for(var c in n.availableImages=this._availableImages,this.sourceCaches)n.layers&&!i[c]||u.push($(this.sourceCaches[c],this._layers,this._serializedLayers,e,n,r));return this.placement&&u.push(function(t,e,n,r,i,o,a){for(var s={},l=o.queryRenderedSymbols(r),u=[],c=0,h=Object.keys(l).map(Number);c<h.length;c+=1)u.push(a[h[c]]);u.sort(B);for(var p=function(){var n=d[f],r=n.featureIndex.lookupSymbolFeatures(l[n.bucketInstanceId],e,n.bucketIndex,n.sourceLayerIndex,i.filter,i.layers,i.availableImages,t);for(var o in r){var a=s[o]=s[o]||[],u=r[o];u.sort((function(t,e){var r=n.featureSortOrder;if(r){var i=r.indexOf(t.featureIndex);return r.indexOf(e.featureIndex)-i}return e.featureIndex-t.featureIndex}));for(var c=0,h=u;c<h.length;c+=1)a.push(h[c])}},f=0,d=u;f<d.length;f+=1)p();var m=function(e){s[e].forEach((function(r){var i=r.feature,o=n[t[e].source].getFeatureState(i.layer[\\\"source-layer\\\"],i.id);i.source=i.layer.source,i.layer[\\\"source-layer\\\"]&&(i.sourceLayer=i.layer[\\\"source-layer\\\"]),i.state=o}))};for(var v in s)m(v);return s}(this._layers,this._serializedLayers,this.sourceCaches,e,n,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(u)},n.prototype.querySourceFeatures=function(e,n){n&&n.filter&&this._validate(t.validateStyle.filter,\\\"querySourceFeatures.filter\\\",n.filter,null,n);var r=this.sourceCaches[e];return r?function(t,e){for(var n=t.getRenderableIds().map((function(e){return t.getTileByID(e)})),r=[],i={},o=0;o<n.length;o++){var a=n[o],s=a.tileID.canonical.key;i[s]||(i[s]=!0,a.querySourceFeatures(r,e))}return r}(r,n):[]},n.prototype.addSourceType=function(t,e,r){return n.getSourceType(t)?r(new Error('A source type called \\\"'+t+'\\\" already exists.')):(n.setSourceType(t,e),e.workerSourceURL?void this.dispatcher.broadcast(\\\"loadWorkerSource\\\",{name:t,url:e.workerSourceURL},r):r(null,null))},n.prototype.getLight=function(){return this.light.getLight()},n.prototype.setLight=function(e,n){void 0===n&&(n={}),this._checkLoaded();var r=this.light.getLight(),i=!1;for(var o in e)if(!t.deepEqual(e[o],r[o])){i=!0;break}if(i){var a={now:t.browser.now(),transition:t.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,n),this.light.updateTransitions(a)}},n.prototype._validate=function(e,n,r,i,o){return void 0===o&&(o={}),(!o||!1!==o.validate)&&Ne(this,e.call(t.validateStyle,t.extend({key:n,style:this.serialize(),value:r,styleSpec:t.styleSpec},i)))},n.prototype._remove=function(){for(var e in this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),t.evented.off(\\\"pluginStateChange\\\",this._rtlTextPluginCallback),this._layers)this._layers[e].setEventedParent(null);for(var n in this.sourceCaches)this.sourceCaches[n].clearTiles(),this.sourceCaches[n].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()},n.prototype._clearSource=function(t){this.sourceCaches[t].clearTiles()},n.prototype._reloadSource=function(t){this.sourceCaches[t].resume(),this.sourceCaches[t].reload()},n.prototype._updateSources=function(t){for(var e in this.sourceCaches)this.sourceCaches[e].update(t)},n.prototype._generateCollisionBoxes=function(){for(var t in this.sourceCaches)this._reloadSource(t)},n.prototype._updatePlacement=function(e,n,r,i,o){void 0===o&&(o=!1);for(var a=!1,s=!1,l={},u=0,c=this._order;u<c.length;u+=1){var h=this._layers[c[u]];if(\\\"symbol\\\"===h.type){if(!l[h.source]){var p=this.sourceCaches[h.source];l[h.source]=p.getRenderableIds(!0).map((function(t){return p.getTileByID(t)})).sort((function(t,e){return e.tileID.overscaledZ-t.tileID.overscaledZ||(t.tileID.isLessThan(e.tileID)?-1:1)}))}var f=this.crossTileSymbolIndex.addLayer(h,l[h.source],e.center.lng);a=a||f}}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((o=o||this._layerOrderChanged||0===r)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(t.browser.now(),e.zoom))&&(this.pauseablePlacement=new Pe(e,this._order,o,n,r,i,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,l),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(t.browser.now()),s=!0),a&&this.pauseablePlacement.placement.setStale()),s||a)for(var d=0,m=this._order;d<m.length;d+=1){var v=this._layers[m[d]];\\\"symbol\\\"===v.type&&this.placement.updateLayerOpacities(v,l[v.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(t.browser.now())},n.prototype._releaseSymbolFadeTiles=function(){for(var t in this.sourceCaches)this.sourceCaches[t].releaseSymbolFadeTiles()},n.prototype.getImages=function(t,e,n){this.imageManager.getImages(e.icons,n),this._updateTilesForChangedImages();var r=this.sourceCaches[e.source];r&&r.setDependencies(e.tileID.key,e.type,e.icons)},n.prototype.getGlyphs=function(t,e,n){this.glyphManager.getGlyphs(e.stacks,n)},n.prototype.getResource=function(e,n,r){return t.makeRequest(n,r)},n}(t.Evented);qe.getSourceType=function(t){return R[t]},qe.setSourceType=function(t,e){R[t]=e},qe.registerForPluginStateChange=t.registerForPluginStateChange;var Ve=t.createLayout([{name:\\\"a_pos\\\",type:\\\"Int16\\\",components:2}]),He=yn(\\\"#ifdef GL_ES\\\\nprecision mediump float;\\\\n#else\\\\n#if !defined(lowp)\\\\n#define lowp\\\\n#endif\\\\n#if !defined(mediump)\\\\n#define mediump\\\\n#endif\\\\n#if !defined(highp)\\\\n#define highp\\\\n#endif\\\\n#endif\\\",\\\"#ifdef GL_ES\\\\nprecision highp float;\\\\n#else\\\\n#if !defined(lowp)\\\\n#define lowp\\\\n#endif\\\\n#if !defined(mediump)\\\\n#define mediump\\\\n#endif\\\\n#if !defined(highp)\\\\n#define highp\\\\n#endif\\\\n#endif\\\\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\\\\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}\\\"),Ge=yn(\\\"uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}\\\"),We=yn(\\\"uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}\\\"),Xe=yn(\\\"varying vec3 v_data;\\\\n#pragma mapbox: define highp vec4 color\\\\n#pragma mapbox: define mediump float radius\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define highp vec4 stroke_color\\\\n#pragma mapbox: define mediump float stroke_width\\\\n#pragma mapbox: define lowp float stroke_opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 color\\\\n#pragma mapbox: initialize mediump float radius\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize highp vec4 stroke_color\\\\n#pragma mapbox: initialize mediump float stroke_width\\\\n#pragma mapbox: initialize lowp float stroke_opacity\\\\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\\\\n#pragma mapbox: define highp vec4 color\\\\n#pragma mapbox: define mediump float radius\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define highp vec4 stroke_color\\\\n#pragma mapbox: define mediump float stroke_width\\\\n#pragma mapbox: define lowp float stroke_opacity\\\\nvoid main(void) {\\\\n#pragma mapbox: initialize highp vec4 color\\\\n#pragma mapbox: initialize mediump float radius\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize highp vec4 stroke_color\\\\n#pragma mapbox: initialize mediump float stroke_width\\\\n#pragma mapbox: initialize lowp float stroke_opacity\\\\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}\\\"),Ye=yn(\\\"void main() {gl_FragColor=vec4(1.0);}\\\",\\\"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}\\\"),Ze=yn(\\\"uniform highp float u_intensity;varying vec2 v_extrude;\\\\n#pragma mapbox: define highp float weight\\\\n#define GAUSS_COEF 0.3989422804014327\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp float weight\\\\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\\\\n#pragma mapbox: define highp float weight\\\\n#pragma mapbox: define mediump float radius\\\\nconst highp float ZERO=1.0/255.0/16.0;\\\\n#define GAUSS_COEF 0.3989422804014327\\\\nvoid main(void) {\\\\n#pragma mapbox: initialize highp float weight\\\\n#pragma mapbox: initialize mediump float radius\\\\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}\\\"),Ke=yn(\\\"uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(0.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}\\\"),Je=yn(\\\"varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}\\\",\\\"attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}\\\"),Qe=yn(\\\"varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}\\\",\\\"attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}\\\"),tn=yn(\\\"uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}\\\",\\\"attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}\\\"),en=yn(\\\"#pragma mapbox: define highp vec4 color\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 color\\\\n#pragma mapbox: initialize lowp float opacity\\\\ngl_FragColor=color*opacity;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"attribute vec2 a_pos;uniform mat4 u_matrix;\\\\n#pragma mapbox: define highp vec4 color\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 color\\\\n#pragma mapbox: initialize lowp float opacity\\\\ngl_Position=u_matrix*vec4(a_pos,0,1);}\\\"),nn=yn(\\\"varying vec2 v_pos;\\\\n#pragma mapbox: define highp vec4 outline_color\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 outline_color\\\\n#pragma mapbox: initialize lowp float opacity\\\\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\\\\n#pragma mapbox: define highp vec4 outline_color\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 outline_color\\\\n#pragma mapbox: initialize lowp float opacity\\\\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}\\\"),rn=yn(\\\"uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp vec4 pattern_from\\\\n#pragma mapbox: define lowp vec4 pattern_to\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize mediump vec4 pattern_from\\\\n#pragma mapbox: initialize mediump vec4 pattern_to\\\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp vec4 pattern_from\\\\n#pragma mapbox: define lowp vec4 pattern_to\\\\n#pragma mapbox: define lowp float pixel_ratio_from\\\\n#pragma mapbox: define lowp float pixel_ratio_to\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize mediump vec4 pattern_from\\\\n#pragma mapbox: initialize mediump vec4 pattern_to\\\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}\\\"),on=yn(\\\"uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp vec4 pattern_from\\\\n#pragma mapbox: define lowp vec4 pattern_to\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize mediump vec4 pattern_from\\\\n#pragma mapbox: initialize mediump vec4 pattern_to\\\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp vec4 pattern_from\\\\n#pragma mapbox: define lowp vec4 pattern_to\\\\n#pragma mapbox: define lowp float pixel_ratio_from\\\\n#pragma mapbox: define lowp float pixel_ratio_to\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize mediump vec4 pattern_from\\\\n#pragma mapbox: initialize mediump vec4 pattern_to\\\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}\\\"),an=yn(\\\"varying vec4 v_color;void main() {gl_FragColor=v_color;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\\\\n#pragma mapbox: define highp float base\\\\n#pragma mapbox: define highp float height\\\\n#pragma mapbox: define highp vec4 color\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp float base\\\\n#pragma mapbox: initialize highp float height\\\\n#pragma mapbox: initialize highp vec4 color\\\\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}\\\"),sn=yn(\\\"uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\\\\n#pragma mapbox: define lowp float base\\\\n#pragma mapbox: define lowp float height\\\\n#pragma mapbox: define lowp vec4 pattern_from\\\\n#pragma mapbox: define lowp vec4 pattern_to\\\\n#pragma mapbox: define lowp float pixel_ratio_from\\\\n#pragma mapbox: define lowp float pixel_ratio_to\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float base\\\\n#pragma mapbox: initialize lowp float height\\\\n#pragma mapbox: initialize mediump vec4 pattern_from\\\\n#pragma mapbox: initialize mediump vec4 pattern_to\\\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\\\\n#pragma mapbox: define lowp float base\\\\n#pragma mapbox: define lowp float height\\\\n#pragma mapbox: define lowp vec4 pattern_from\\\\n#pragma mapbox: define lowp vec4 pattern_to\\\\n#pragma mapbox: define lowp float pixel_ratio_from\\\\n#pragma mapbox: define lowp float pixel_ratio_to\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float base\\\\n#pragma mapbox: initialize lowp float height\\\\n#pragma mapbox: initialize mediump vec4 pattern_from\\\\n#pragma mapbox: initialize mediump vec4 pattern_to\\\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\\\\n? a_pos\\\\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}\\\"),ln=yn(\\\"#ifdef GL_ES\\\\nprecision highp float;\\\\n#endif\\\\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}\\\"),un=yn(\\\"uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\\\\n#define PI 3.141592653589793\\\\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}\\\"),cn=yn(\\\"uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\\\\n#pragma mapbox: define highp vec4 color\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 color\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"\\\\n#define scale 0.015873016\\\\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\\\\n#pragma mapbox: define highp vec4 color\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define mediump float gapwidth\\\\n#pragma mapbox: define lowp float offset\\\\n#pragma mapbox: define mediump float width\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 color\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize mediump float gapwidth\\\\n#pragma mapbox: initialize lowp float offset\\\\n#pragma mapbox: initialize mediump float width\\\\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}\\\"),hn=yn(\\\"uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress;\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"\\\\n#define MAX_LINE_DISTANCE 32767.0\\\\n#define scale 0.015873016\\\\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress;\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define mediump float gapwidth\\\\n#pragma mapbox: define lowp float offset\\\\n#pragma mapbox: define mediump float width\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize mediump float gapwidth\\\\n#pragma mapbox: initialize lowp float offset\\\\n#pragma mapbox: initialize mediump float width\\\\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}\\\"),pn=yn(\\\"uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\\\\n#pragma mapbox: define lowp vec4 pattern_from\\\\n#pragma mapbox: define lowp vec4 pattern_to\\\\n#pragma mapbox: define lowp float pixel_ratio_from\\\\n#pragma mapbox: define lowp float pixel_ratio_to\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize mediump vec4 pattern_from\\\\n#pragma mapbox: initialize mediump vec4 pattern_to\\\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"\\\\n#define scale 0.015873016\\\\n#define LINE_DISTANCE_SCALE 2.0\\\\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp float offset\\\\n#pragma mapbox: define mediump float gapwidth\\\\n#pragma mapbox: define mediump float width\\\\n#pragma mapbox: define lowp float floorwidth\\\\n#pragma mapbox: define lowp vec4 pattern_from\\\\n#pragma mapbox: define lowp vec4 pattern_to\\\\n#pragma mapbox: define lowp float pixel_ratio_from\\\\n#pragma mapbox: define lowp float pixel_ratio_to\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize lowp float offset\\\\n#pragma mapbox: initialize mediump float gapwidth\\\\n#pragma mapbox: initialize mediump float width\\\\n#pragma mapbox: initialize lowp float floorwidth\\\\n#pragma mapbox: initialize mediump vec4 pattern_from\\\\n#pragma mapbox: initialize mediump vec4 pattern_to\\\\n#pragma mapbox: initialize lowp float pixel_ratio_from\\\\n#pragma mapbox: initialize lowp float pixel_ratio_to\\\\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}\\\"),fn=yn(\\\"uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\\\\n#pragma mapbox: define highp vec4 color\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define mediump float width\\\\n#pragma mapbox: define lowp float floorwidth\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 color\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize mediump float width\\\\n#pragma mapbox: initialize lowp float floorwidth\\\\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"\\\\n#define scale 0.015873016\\\\n#define LINE_DISTANCE_SCALE 2.0\\\\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\\\\n#pragma mapbox: define highp vec4 color\\\\n#pragma mapbox: define lowp float blur\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define mediump float gapwidth\\\\n#pragma mapbox: define lowp float offset\\\\n#pragma mapbox: define mediump float width\\\\n#pragma mapbox: define lowp float floorwidth\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 color\\\\n#pragma mapbox: initialize lowp float blur\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize mediump float gapwidth\\\\n#pragma mapbox: initialize lowp float offset\\\\n#pragma mapbox: initialize mediump float width\\\\n#pragma mapbox: initialize lowp float floorwidth\\\\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}\\\"),dn=yn(\\\"uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}\\\"),mn=yn(\\\"uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float opacity\\\\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\\\\n#pragma mapbox: define lowp float opacity\\\\nvoid main() {\\\\n#pragma mapbox: initialize lowp float opacity\\\\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\\\\ncamera_to_anchor_distance/u_camera_to_center_distance :\\\\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}\\\"),vn=yn(\\\"#define SDF_PX 8.0\\\\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\\\\n#pragma mapbox: define highp vec4 fill_color\\\\n#pragma mapbox: define highp vec4 halo_color\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp float halo_width\\\\n#pragma mapbox: define lowp float halo_blur\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 fill_color\\\\n#pragma mapbox: initialize highp vec4 halo_color\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize lowp float halo_width\\\\n#pragma mapbox: initialize lowp float halo_blur\\\\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\\\\n#pragma mapbox: define highp vec4 fill_color\\\\n#pragma mapbox: define highp vec4 halo_color\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp float halo_width\\\\n#pragma mapbox: define lowp float halo_blur\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 fill_color\\\\n#pragma mapbox: initialize highp vec4 halo_color\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize lowp float halo_width\\\\n#pragma mapbox: initialize lowp float halo_blur\\\\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\\\\ncamera_to_anchor_distance/u_camera_to_center_distance :\\\\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}\\\"),gn=yn(\\\"#define SDF_PX 8.0\\\\n#define SDF 1.0\\\\n#define ICON 0.0\\\\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\\\\n#pragma mapbox: define highp vec4 fill_color\\\\n#pragma mapbox: define highp vec4 halo_color\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp float halo_width\\\\n#pragma mapbox: define lowp float halo_blur\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 fill_color\\\\n#pragma mapbox: initialize highp vec4 halo_color\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize lowp float halo_width\\\\n#pragma mapbox: initialize lowp float halo_blur\\\\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\\\\n#ifdef OVERDRAW_INSPECTOR\\\\ngl_FragColor=vec4(1.0);\\\\n#endif\\\\n}\\\",\\\"const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\\\\n#pragma mapbox: define highp vec4 fill_color\\\\n#pragma mapbox: define highp vec4 halo_color\\\\n#pragma mapbox: define lowp float opacity\\\\n#pragma mapbox: define lowp float halo_width\\\\n#pragma mapbox: define lowp float halo_blur\\\\nvoid main() {\\\\n#pragma mapbox: initialize highp vec4 fill_color\\\\n#pragma mapbox: initialize highp vec4 halo_color\\\\n#pragma mapbox: initialize lowp float opacity\\\\n#pragma mapbox: initialize lowp float halo_width\\\\n#pragma mapbox: initialize lowp float halo_blur\\\\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\\\\ncamera_to_anchor_distance/u_camera_to_center_distance :\\\\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}\\\");function yn(t,e){var n=/#pragma mapbox: ([\\\\w]+) ([\\\\w]+) ([\\\\w]+) ([\\\\w]+)/g,r={};return{fragmentSource:t=t.replace(n,(function(t,e,n,i,o){return r[o]=!0,\\\"define\\\"===e?\\\"\\\\n#ifndef HAS_UNIFORM_u_\\\"+o+\\\"\\\\nvarying \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\";\\\\n#else\\\\nuniform \\\"+n+\\\" \\\"+i+\\\" u_\\\"+o+\\\";\\\\n#endif\\\\n\\\":\\\"\\\\n#ifdef HAS_UNIFORM_u_\\\"+o+\\\"\\\\n \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\" = u_\\\"+o+\\\";\\\\n#endif\\\\n\\\"})),vertexSource:e=e.replace(n,(function(t,e,n,i,o){var a=\\\"float\\\"===i?\\\"vec2\\\":\\\"vec4\\\",s=o.match(/color/)?\\\"color\\\":a;return r[o]?\\\"define\\\"===e?\\\"\\\\n#ifndef HAS_UNIFORM_u_\\\"+o+\\\"\\\\nuniform lowp float u_\\\"+o+\\\"_t;\\\\nattribute \\\"+n+\\\" \\\"+a+\\\" a_\\\"+o+\\\";\\\\nvarying \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\";\\\\n#else\\\\nuniform \\\"+n+\\\" \\\"+i+\\\" u_\\\"+o+\\\";\\\\n#endif\\\\n\\\":\\\"vec4\\\"===s?\\\"\\\\n#ifndef HAS_UNIFORM_u_\\\"+o+\\\"\\\\n \\\"+o+\\\" = a_\\\"+o+\\\";\\\\n#else\\\\n \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\" = u_\\\"+o+\\\";\\\\n#endif\\\\n\\\":\\\"\\\\n#ifndef HAS_UNIFORM_u_\\\"+o+\\\"\\\\n \\\"+o+\\\" = unpack_mix_\\\"+s+\\\"(a_\\\"+o+\\\", u_\\\"+o+\\\"_t);\\\\n#else\\\\n \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\" = u_\\\"+o+\\\";\\\\n#endif\\\\n\\\":\\\"define\\\"===e?\\\"\\\\n#ifndef HAS_UNIFORM_u_\\\"+o+\\\"\\\\nuniform lowp float u_\\\"+o+\\\"_t;\\\\nattribute \\\"+n+\\\" \\\"+a+\\\" a_\\\"+o+\\\";\\\\n#else\\\\nuniform \\\"+n+\\\" \\\"+i+\\\" u_\\\"+o+\\\";\\\\n#endif\\\\n\\\":\\\"vec4\\\"===s?\\\"\\\\n#ifndef HAS_UNIFORM_u_\\\"+o+\\\"\\\\n \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\" = a_\\\"+o+\\\";\\\\n#else\\\\n \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\" = u_\\\"+o+\\\";\\\\n#endif\\\\n\\\":\\\"\\\\n#ifndef HAS_UNIFORM_u_\\\"+o+\\\"\\\\n \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\" = unpack_mix_\\\"+s+\\\"(a_\\\"+o+\\\", u_\\\"+o+\\\"_t);\\\\n#else\\\\n \\\"+n+\\\" \\\"+i+\\\" \\\"+o+\\\" = u_\\\"+o+\\\";\\\\n#endif\\\\n\\\"}))}}var _n=Object.freeze({__proto__:null,prelude:He,background:Ge,backgroundPattern:We,circle:Xe,clippingMask:Ye,heatmap:Ze,heatmapTexture:Ke,collisionBox:Je,collisionCircle:Qe,debug:tn,fill:en,fillOutline:nn,fillOutlinePattern:rn,fillPattern:on,fillExtrusion:an,fillExtrusionPattern:sn,hillshadePrepare:ln,hillshade:un,line:cn,lineGradient:hn,linePattern:pn,lineSDF:fn,raster:dn,symbolIcon:mn,symbolSDF:vn,symbolTextAndIcon:gn}),bn=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};bn.prototype.bind=function(t,e,n,r,i,o,a,s){this.context=t;for(var l=this.boundPaintVertexBuffers.length!==r.length,u=0;!l&&u<r.length;u++)this.boundPaintVertexBuffers[u]!==r[u]&&(l=!0);t.extVertexArrayObject&&this.vao&&this.boundProgram===e&&this.boundLayoutVertexBuffer===n&&!l&&this.boundIndexBuffer===i&&this.boundVertexOffset===o&&this.boundDynamicVertexBuffer===a&&this.boundDynamicVertexBuffer2===s?(t.bindVertexArrayOES.set(this.vao),a&&a.bind(),i&&i.dynamicDraw&&i.bind(),s&&s.bind()):this.freshBind(e,n,r,i,o,a,s)},bn.prototype.freshBind=function(t,e,n,r,i,o,a){var s,l=t.numAttributes,u=this.context,c=u.gl;if(u.extVertexArrayObject)this.vao&&this.destroy(),this.vao=u.extVertexArrayObject.createVertexArrayOES(),u.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=t,this.boundLayoutVertexBuffer=e,this.boundPaintVertexBuffers=n,this.boundIndexBuffer=r,this.boundVertexOffset=i,this.boundDynamicVertexBuffer=o,this.boundDynamicVertexBuffer2=a;else{s=u.currentNumAttributes||0;for(var h=l;h<s;h++)c.disableVertexAttribArray(h)}e.enableAttributes(c,t);for(var p=0,f=n;p<f.length;p+=1)f[p].enableAttributes(c,t);o&&o.enableAttributes(c,t),a&&a.enableAttributes(c,t),e.bind(),e.setVertexAttribPointers(c,t,i);for(var d=0,m=n;d<m.length;d+=1){var v=m[d];v.bind(),v.setVertexAttribPointers(c,t,i)}o&&(o.bind(),o.setVertexAttribPointers(c,t,i)),r&&r.bind(),a&&(a.bind(),a.setVertexAttribPointers(c,t,i)),u.currentNumAttributes=l},bn.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};var xn=function(t,e,n,r,i){var o=t.gl;this.program=o.createProgram();var a=n?n.defines():[];i&&a.push(\\\"#define OVERDRAW_INSPECTOR;\\\");var s=a.concat(He.fragmentSource,e.fragmentSource).join(\\\"\\\\n\\\"),l=a.concat(He.vertexSource,e.vertexSource).join(\\\"\\\\n\\\"),u=o.createShader(o.FRAGMENT_SHADER);if(o.isContextLost())this.failedToCreate=!0;else{o.shaderSource(u,s),o.compileShader(u),o.attachShader(this.program,u);var c=o.createShader(o.VERTEX_SHADER);if(o.isContextLost())this.failedToCreate=!0;else{o.shaderSource(c,l),o.compileShader(c),o.attachShader(this.program,c);for(var h=n?n.layoutAttributes:[],p=0;p<h.length;p++)o.bindAttribLocation(this.program,p,h[p].name);o.linkProgram(this.program),o.deleteShader(c),o.deleteShader(u),this.numAttributes=o.getProgramParameter(this.program,o.ACTIVE_ATTRIBUTES),this.attributes={};for(var f={},d=0;d<this.numAttributes;d++){var m=o.getActiveAttrib(this.program,d);m&&(this.attributes[m.name]=o.getAttribLocation(this.program,m.name))}for(var v=o.getProgramParameter(this.program,o.ACTIVE_UNIFORMS),g=0;g<v;g++){var y=o.getActiveUniform(this.program,g);y&&(f[y.name]=o.getUniformLocation(this.program,y.name))}this.fixedUniforms=r(t,f),this.binderUniforms=n?n.getUniforms(t,f):[]}}};function wn(t,e,n){var r=1/pe(n,1,e.transform.tileZoom),i=Math.pow(2,n.tileID.overscaledZ),o=n.tileSize*Math.pow(2,e.transform.tileZoom)/i,a=o*(n.tileID.canonical.x+n.tileID.wrap*i),s=o*n.tileID.canonical.y;return{u_image:0,u_texsize:n.imageAtlasTexture.size,u_scale:[r,t.fromScale,t.toScale],u_fade:t.t,u_pixel_coord_upper:[a>>16,s>>16],u_pixel_coord_lower:[65535&a,65535&s]}}xn.prototype.draw=function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m){var v,g=t.gl;if(!this.failedToCreate){for(var y in t.program.set(this.program),t.setDepthMode(n),t.setStencilMode(r),t.setColorMode(i),t.setCullFace(o),this.fixedUniforms)this.fixedUniforms[y].set(a[y]);f&&f.setUniforms(t,this.binderUniforms,h,{zoom:p});for(var _=(v={},v[g.LINES]=2,v[g.TRIANGLES]=3,v[g.LINE_STRIP]=1,v)[e],b=0,x=c.get();b<x.length;b+=1){var w=x[b],A=w.vaos||(w.vaos={});(A[s]||(A[s]=new bn)).bind(t,this,l,f?f.getPaintVertexBuffers():[],u,w.vertexOffset,d,m),g.drawElements(e,w.primitiveLength*_,g.UNSIGNED_SHORT,w.primitiveOffset*_*2)}}};var An=function(e,n,r,i){var o=n.style.light,a=o.properties.get(\\\"position\\\"),s=[a.x,a.y,a.z],l=t.create$1();\\\"viewport\\\"===o.properties.get(\\\"anchor\\\")&&t.fromRotation(l,-n.transform.angle),t.transformMat3(s,s,l);var u=o.properties.get(\\\"color\\\");return{u_matrix:e,u_lightpos:s,u_lightintensity:o.properties.get(\\\"intensity\\\"),u_lightcolor:[u.r,u.g,u.b],u_vertical_gradient:+r,u_opacity:i}},Cn=function(e,n,r,i,o,a,s){return t.extend(An(e,n,r,i),wn(a,n,s),{u_height_factor:-Math.pow(2,o.overscaledZ)/s.tileSize/8})},Mn=function(t){return{u_matrix:t}},En=function(e,n,r,i){return t.extend(Mn(e),wn(r,n,i))},Tn=function(t,e){return{u_matrix:t,u_world:e}},Sn=function(e,n,r,i,o){return t.extend(En(e,n,r,i),{u_world:o})},kn=function(e,n,r,i){var o,a,s=e.transform;if(\\\"map\\\"===i.paint.get(\\\"circle-pitch-alignment\\\")){var l=pe(r,1,s.zoom);o=!0,a=[l,l]}else o=!1,a=s.pixelsToGLUnits;return{u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+(\\\"map\\\"===i.paint.get(\\\"circle-pitch-scale\\\")),u_matrix:e.translatePosMatrix(n.posMatrix,r,i.paint.get(\\\"circle-translate\\\"),i.paint.get(\\\"circle-translate-anchor\\\")),u_pitch_with_map:+o,u_device_pixel_ratio:t.browser.devicePixelRatio,u_extrude_scale:a}},On=function(t,e,n){var r=pe(n,1,e.zoom),i=Math.pow(2,e.zoom-n.tileID.overscaledZ),o=n.tileID.overscaleFactor();return{u_matrix:t,u_camera_to_center_distance:e.cameraToCenterDistance,u_pixels_to_tile_units:r,u_extrude_scale:[e.pixelsToGLUnits[0]/(r*i),e.pixelsToGLUnits[1]/(r*i)],u_overscale_factor:o}},In=function(t,e,n){return{u_matrix:t,u_inv_matrix:e,u_camera_to_center_distance:n.cameraToCenterDistance,u_viewport_size:[n.width,n.height]}},Ln=function(t,e,n){return void 0===n&&(n=1),{u_matrix:t,u_color:e,u_overlay:0,u_overlay_scale:n}},Pn=function(t){return{u_matrix:t}},zn=function(t,e,n,r){return{u_matrix:t,u_extrude_scale:pe(e,1,n),u_intensity:r}},Rn=function(e,n,r){var i=e.transform;return{u_matrix:Fn(e,n,r),u_ratio:1/pe(n,1,i.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_units_to_pixels:[1/i.pixelsToGLUnits[0],1/i.pixelsToGLUnits[1]]}},Dn=function(e,n,r){return t.extend(Rn(e,n,r),{u_image:0})},$n=function(e,n,r,i){var o=e.transform,a=Nn(n,o);return{u_matrix:Fn(e,n,r),u_texsize:n.imageAtlasTexture.size,u_ratio:1/pe(n,1,o.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_image:0,u_scale:[a,i.fromScale,i.toScale],u_fade:i.t,u_units_to_pixels:[1/o.pixelsToGLUnits[0],1/o.pixelsToGLUnits[1]]}},Bn=function(e,n,r,i,o){var a=e.lineAtlas,s=Nn(n,e.transform),l=\\\"round\\\"===r.layout.get(\\\"line-cap\\\"),u=a.getDash(i.from,l),c=a.getDash(i.to,l),h=u.width*o.fromScale,p=c.width*o.toScale;return t.extend(Rn(e,n,r),{u_patternscale_a:[s/h,-u.height/2],u_patternscale_b:[s/p,-c.height/2],u_sdfgamma:a.width/(256*Math.min(h,p)*t.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:u.y,u_tex_y_b:c.y,u_mix:o.t})};function Nn(t,e){return 1/pe(t,1,e.tileZoom)}function Fn(t,e,n){return t.translatePosMatrix(e.tileID.posMatrix,e,n.paint.get(\\\"line-translate\\\"),n.paint.get(\\\"line-translate-anchor\\\"))}var jn=function(t,e,n,r,i){return{u_matrix:t,u_tl_parent:e,u_scale_parent:n,u_buffer_scale:1,u_fade_t:r.mix,u_opacity:r.opacity*i.paint.get(\\\"raster-opacity\\\"),u_image0:0,u_image1:1,u_brightness_low:i.paint.get(\\\"raster-brightness-min\\\"),u_brightness_high:i.paint.get(\\\"raster-brightness-max\\\"),u_saturation_factor:(a=i.paint.get(\\\"raster-saturation\\\"),a>0?1-1/(1.001-a):-a),u_contrast_factor:(o=i.paint.get(\\\"raster-contrast\\\"),o>0?1/(1-o):1+o),u_spin_weights:Un(i.paint.get(\\\"raster-hue-rotate\\\"))};var o,a};function Un(t){t*=Math.PI/180;var e=Math.sin(t),n=Math.cos(t);return[(2*n+1)/3,(-Math.sqrt(3)*e-n+1)/3,(Math.sqrt(3)*e-n+1)/3]}var qn,Vn=function(t,e,n,r,i,o,a,s,l,u){var c=i.transform;return{u_is_size_zoom_constant:+(\\\"constant\\\"===t||\\\"source\\\"===t),u_is_size_feature_constant:+(\\\"constant\\\"===t||\\\"camera\\\"===t),u_size_t:e?e.uSizeT:0,u_size:e?e.uSize:0,u_camera_to_center_distance:c.cameraToCenterDistance,u_pitch:c.pitch/360*2*Math.PI,u_rotate_symbol:+n,u_aspect_ratio:c.width/c.height,u_fade_change:i.options.fadeDuration?i.symbolFadeChange:1,u_matrix:o,u_label_plane_matrix:a,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+r,u_texsize:u,u_texture:0}},Hn=function(e,n,r,i,o,a,s,l,u,c,h){var p=o.transform;return t.extend(Vn(e,n,r,i,o,a,s,l,u,c),{u_gamma_scale:i?Math.cos(p._pitch)*p.cameraToCenterDistance:1,u_device_pixel_ratio:t.browser.devicePixelRatio,u_is_halo:+h})},Gn=function(e,n,r,i,o,a,s,l,u,c){return t.extend(Hn(e,n,r,i,o,a,s,l,!0,u,!0),{u_texsize_icon:c,u_texture_icon:1})},Wn=function(t,e,n){return{u_matrix:t,u_opacity:e,u_color:n}},Xn=function(e,n,r,i,o,a){return t.extend(function(t,e,n,r){var i=n.imageManager.getPattern(t.from.toString()),o=n.imageManager.getPattern(t.to.toString()),a=n.imageManager.getPixelSize(),s=a.width,l=a.height,u=Math.pow(2,r.tileID.overscaledZ),c=r.tileSize*Math.pow(2,n.transform.tileZoom)/u,h=c*(r.tileID.canonical.x+r.tileID.wrap*u),p=c*r.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:i.tl,u_pattern_br_a:i.br,u_pattern_tl_b:o.tl,u_pattern_br_b:o.br,u_texsize:[s,l],u_mix:e.t,u_pattern_size_a:i.displaySize,u_pattern_size_b:o.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/pe(r,1,n.transform.tileZoom),u_pixel_coord_upper:[h>>16,p>>16],u_pixel_coord_lower:[65535&h,65535&p]}}(i,a,r,o),{u_matrix:e,u_opacity:n})},Yn={fillExtrusion:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_lightpos:new t.Uniform3f(e,n.u_lightpos),u_lightintensity:new t.Uniform1f(e,n.u_lightintensity),u_lightcolor:new t.Uniform3f(e,n.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,n.u_vertical_gradient),u_opacity:new t.Uniform1f(e,n.u_opacity)}},fillExtrusionPattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_lightpos:new t.Uniform3f(e,n.u_lightpos),u_lightintensity:new t.Uniform1f(e,n.u_lightintensity),u_lightcolor:new t.Uniform3f(e,n.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,n.u_vertical_gradient),u_height_factor:new t.Uniform1f(e,n.u_height_factor),u_image:new t.Uniform1i(e,n.u_image),u_texsize:new t.Uniform2f(e,n.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,n.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,n.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,n.u_scale),u_fade:new t.Uniform1f(e,n.u_fade),u_opacity:new t.Uniform1f(e,n.u_opacity)}},fill:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix)}},fillPattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_image:new t.Uniform1i(e,n.u_image),u_texsize:new t.Uniform2f(e,n.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,n.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,n.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,n.u_scale),u_fade:new t.Uniform1f(e,n.u_fade)}},fillOutline:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_world:new t.Uniform2f(e,n.u_world)}},fillOutlinePattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_world:new t.Uniform2f(e,n.u_world),u_image:new t.Uniform1i(e,n.u_image),u_texsize:new t.Uniform2f(e,n.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,n.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,n.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,n.u_scale),u_fade:new t.Uniform1f(e,n.u_fade)}},circle:function(e,n){return{u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_scale_with_map:new t.Uniform1i(e,n.u_scale_with_map),u_pitch_with_map:new t.Uniform1i(e,n.u_pitch_with_map),u_extrude_scale:new t.Uniform2f(e,n.u_extrude_scale),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_matrix:new t.UniformMatrix4f(e,n.u_matrix)}},collisionBox:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_pixels_to_tile_units:new t.Uniform1f(e,n.u_pixels_to_tile_units),u_extrude_scale:new t.Uniform2f(e,n.u_extrude_scale),u_overscale_factor:new t.Uniform1f(e,n.u_overscale_factor)}},collisionCircle:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_inv_matrix:new t.UniformMatrix4f(e,n.u_inv_matrix),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_viewport_size:new t.Uniform2f(e,n.u_viewport_size)}},debug:function(e,n){return{u_color:new t.UniformColor(e,n.u_color),u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_overlay:new t.Uniform1i(e,n.u_overlay),u_overlay_scale:new t.Uniform1f(e,n.u_overlay_scale)}},clippingMask:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix)}},heatmap:function(e,n){return{u_extrude_scale:new t.Uniform1f(e,n.u_extrude_scale),u_intensity:new t.Uniform1f(e,n.u_intensity),u_matrix:new t.UniformMatrix4f(e,n.u_matrix)}},heatmapTexture:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_world:new t.Uniform2f(e,n.u_world),u_image:new t.Uniform1i(e,n.u_image),u_color_ramp:new t.Uniform1i(e,n.u_color_ramp),u_opacity:new t.Uniform1f(e,n.u_opacity)}},hillshade:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_image:new t.Uniform1i(e,n.u_image),u_latrange:new t.Uniform2f(e,n.u_latrange),u_light:new t.Uniform2f(e,n.u_light),u_shadow:new t.UniformColor(e,n.u_shadow),u_highlight:new t.UniformColor(e,n.u_highlight),u_accent:new t.UniformColor(e,n.u_accent)}},hillshadePrepare:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_image:new t.Uniform1i(e,n.u_image),u_dimension:new t.Uniform2f(e,n.u_dimension),u_zoom:new t.Uniform1f(e,n.u_zoom),u_maxzoom:new t.Uniform1f(e,n.u_maxzoom),u_unpack:new t.Uniform4f(e,n.u_unpack)}},line:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_ratio:new t.Uniform1f(e,n.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,n.u_units_to_pixels)}},lineGradient:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_ratio:new t.Uniform1f(e,n.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,n.u_units_to_pixels),u_image:new t.Uniform1i(e,n.u_image)}},linePattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_texsize:new t.Uniform2f(e,n.u_texsize),u_ratio:new t.Uniform1f(e,n.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_image:new t.Uniform1i(e,n.u_image),u_units_to_pixels:new t.Uniform2f(e,n.u_units_to_pixels),u_scale:new t.Uniform3f(e,n.u_scale),u_fade:new t.Uniform1f(e,n.u_fade)}},lineSDF:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_ratio:new t.Uniform1f(e,n.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,n.u_units_to_pixels),u_patternscale_a:new t.Uniform2f(e,n.u_patternscale_a),u_patternscale_b:new t.Uniform2f(e,n.u_patternscale_b),u_sdfgamma:new t.Uniform1f(e,n.u_sdfgamma),u_image:new t.Uniform1i(e,n.u_image),u_tex_y_a:new t.Uniform1f(e,n.u_tex_y_a),u_tex_y_b:new t.Uniform1f(e,n.u_tex_y_b),u_mix:new t.Uniform1f(e,n.u_mix)}},raster:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_tl_parent:new t.Uniform2f(e,n.u_tl_parent),u_scale_parent:new t.Uniform1f(e,n.u_scale_parent),u_buffer_scale:new t.Uniform1f(e,n.u_buffer_scale),u_fade_t:new t.Uniform1f(e,n.u_fade_t),u_opacity:new t.Uniform1f(e,n.u_opacity),u_image0:new t.Uniform1i(e,n.u_image0),u_image1:new t.Uniform1i(e,n.u_image1),u_brightness_low:new t.Uniform1f(e,n.u_brightness_low),u_brightness_high:new t.Uniform1f(e,n.u_brightness_high),u_saturation_factor:new t.Uniform1f(e,n.u_saturation_factor),u_contrast_factor:new t.Uniform1f(e,n.u_contrast_factor),u_spin_weights:new t.Uniform3f(e,n.u_spin_weights)}},symbolIcon:function(e,n){return{u_is_size_zoom_constant:new t.Uniform1i(e,n.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,n.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,n.u_size_t),u_size:new t.Uniform1f(e,n.u_size),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,n.u_pitch),u_rotate_symbol:new t.Uniform1i(e,n.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,n.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,n.u_fade_change),u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,n.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,n.u_coord_matrix),u_is_text:new t.Uniform1i(e,n.u_is_text),u_pitch_with_map:new t.Uniform1i(e,n.u_pitch_with_map),u_texsize:new t.Uniform2f(e,n.u_texsize),u_texture:new t.Uniform1i(e,n.u_texture)}},symbolSDF:function(e,n){return{u_is_size_zoom_constant:new t.Uniform1i(e,n.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,n.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,n.u_size_t),u_size:new t.Uniform1f(e,n.u_size),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,n.u_pitch),u_rotate_symbol:new t.Uniform1i(e,n.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,n.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,n.u_fade_change),u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,n.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,n.u_coord_matrix),u_is_text:new t.Uniform1i(e,n.u_is_text),u_pitch_with_map:new t.Uniform1i(e,n.u_pitch_with_map),u_texsize:new t.Uniform2f(e,n.u_texsize),u_texture:new t.Uniform1i(e,n.u_texture),u_gamma_scale:new t.Uniform1f(e,n.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_is_halo:new t.Uniform1i(e,n.u_is_halo)}},symbolTextAndIcon:function(e,n){return{u_is_size_zoom_constant:new t.Uniform1i(e,n.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,n.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,n.u_size_t),u_size:new t.Uniform1f(e,n.u_size),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,n.u_pitch),u_rotate_symbol:new t.Uniform1i(e,n.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,n.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,n.u_fade_change),u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,n.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,n.u_coord_matrix),u_is_text:new t.Uniform1i(e,n.u_is_text),u_pitch_with_map:new t.Uniform1i(e,n.u_pitch_with_map),u_texsize:new t.Uniform2f(e,n.u_texsize),u_texsize_icon:new t.Uniform2f(e,n.u_texsize_icon),u_texture:new t.Uniform1i(e,n.u_texture),u_texture_icon:new t.Uniform1i(e,n.u_texture_icon),u_gamma_scale:new t.Uniform1f(e,n.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_is_halo:new t.Uniform1i(e,n.u_is_halo)}},background:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_opacity:new t.Uniform1f(e,n.u_opacity),u_color:new t.UniformColor(e,n.u_color)}},backgroundPattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_opacity:new t.Uniform1f(e,n.u_opacity),u_image:new t.Uniform1i(e,n.u_image),u_pattern_tl_a:new t.Uniform2f(e,n.u_pattern_tl_a),u_pattern_br_a:new t.Uniform2f(e,n.u_pattern_br_a),u_pattern_tl_b:new t.Uniform2f(e,n.u_pattern_tl_b),u_pattern_br_b:new t.Uniform2f(e,n.u_pattern_br_b),u_texsize:new t.Uniform2f(e,n.u_texsize),u_mix:new t.Uniform1f(e,n.u_mix),u_pattern_size_a:new t.Uniform2f(e,n.u_pattern_size_a),u_pattern_size_b:new t.Uniform2f(e,n.u_pattern_size_b),u_scale_a:new t.Uniform1f(e,n.u_scale_a),u_scale_b:new t.Uniform1f(e,n.u_scale_b),u_pixel_coord_upper:new t.Uniform2f(e,n.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,n.u_pixel_coord_lower),u_tile_units_to_pixels:new t.Uniform1f(e,n.u_tile_units_to_pixels)}}};function Zn(e,n,r,i,o,a,s){for(var l=e.context,u=l.gl,c=e.useProgram(\\\"collisionBox\\\"),h=[],p=0,f=0,d=0;d<i.length;d++){var m=i[d],v=n.getTile(m),g=v.getBucket(r);if(g){var y=m.posMatrix;0===o[0]&&0===o[1]||(y=e.translatePosMatrix(m.posMatrix,v,o,a));var _=s?g.textCollisionBox:g.iconCollisionBox,b=g.collisionCircleArray;if(b.length>0){var x=t.create(),w=y;t.mul(x,g.placementInvProjMatrix,e.transform.glCoordMatrix),t.mul(x,x,g.placementViewportMatrix),h.push({circleArray:b,circleOffset:f,transform:w,invTransform:x}),f=p+=b.length/4}_&&c.draw(l,u.LINES,Mt.disabled,Et.disabled,e.colorModeForRenderPass(),St.disabled,On(y,e.transform,v),r.id,_.layoutVertexBuffer,_.indexBuffer,_.segments,null,e.transform.zoom,null,null,_.collisionVertexBuffer)}}if(s&&h.length){var A=e.useProgram(\\\"collisionCircle\\\"),C=new t.StructArrayLayout2f1f2i16;C.resize(4*p),C._trim();for(var M=0,E=0,T=h;E<T.length;E+=1)for(var S=T[E],k=0;k<S.circleArray.length/4;k++){var O=4*k,I=S.circleArray[O+0],L=S.circleArray[O+1],P=S.circleArray[O+2],z=S.circleArray[O+3];C.emplace(M++,I,L,P,z,0),C.emplace(M++,I,L,P,z,1),C.emplace(M++,I,L,P,z,2),C.emplace(M++,I,L,P,z,3)}(!qn||qn.length<2*p)&&(qn=function(e){var n=2*e,r=new t.StructArrayLayout3ui6;r.resize(n),r._trim();for(var i=0;i<n;i++){var o=6*i;r.uint16[o+0]=4*i+0,r.uint16[o+1]=4*i+1,r.uint16[o+2]=4*i+2,r.uint16[o+3]=4*i+2,r.uint16[o+4]=4*i+3,r.uint16[o+5]=4*i+0}return r}(p));for(var R=l.createIndexBuffer(qn,!0),D=l.createVertexBuffer(C,t.collisionCircleLayout.members,!0),$=0,B=h;$<B.length;$+=1){var N=B[$],F=In(N.transform,N.invTransform,e.transform);A.draw(l,u.TRIANGLES,Mt.disabled,Et.disabled,e.colorModeForRenderPass(),St.disabled,F,r.id,D,R,t.SegmentVector.simpleSegment(0,2*N.circleOffset,N.circleArray.length,N.circleArray.length/2),null,e.transform.zoom,null,null,null)}D.destroy(),R.destroy()}}var Kn=t.identity(new Float32Array(16));function Jn(e,n,r,i,o,a){var s=t.getAnchorAlignment(e),l=-(s.horizontalAlign-.5)*n,u=-(s.verticalAlign-.5)*r,c=t.evaluateVariableOffset(e,i);return new t.Point((l/o+c[0])*a,(u/o+c[1])*a)}function Qn(e,n,r,i,o,a,s,l,u,c,h){var p=e.text.placedSymbolArray,f=e.text.dynamicLayoutVertexArray,d=e.icon.dynamicLayoutVertexArray,m={};f.clear();for(var v=0;v<p.length;v++){var g=p.get(v),y=g.hidden||!g.crossTileID||e.allowVerticalPlacement&&!g.placedOrientation?null:i[g.crossTileID];if(y){var _=new t.Point(g.anchorX,g.anchorY),b=Qt(_,r?l:s),x=te(a.cameraToCenterDistance,b.signedDistanceFromCamera),w=o.evaluateSizeForFeature(e.textSizeData,c,g)*x/t.ONE_EM;r&&(w*=e.tilePixelRatio/u);for(var A=Jn(y.anchor,y.width,y.height,y.textOffset,y.textBoxScale,w),C=r?Qt(_.add(A),s).point:b.point.add(n?A.rotate(-a.angle):A),M=e.allowVerticalPlacement&&g.placedOrientation===t.WritingMode.vertical?Math.PI/2:0,E=0;E<g.numGlyphs;E++)t.addDynamicAttributes(f,C,M);h&&g.associatedIconIndex>=0&&(m[g.associatedIconIndex]={shiftedAnchor:C,angle:M})}else ue(g.numGlyphs,f)}if(h){d.clear();for(var T=e.icon.placedSymbolArray,S=0;S<T.length;S++){var k=T.get(S);if(k.hidden)ue(k.numGlyphs,d);else{var O=m[S];if(O)for(var I=0;I<k.numGlyphs;I++)t.addDynamicAttributes(d,O.shiftedAnchor,O.angle);else ue(k.numGlyphs,d)}}e.icon.dynamicLayoutVertexBuffer.updateData(d)}e.text.dynamicLayoutVertexBuffer.updateData(f)}function tr(t,e,n){return n.iconsInText&&e?\\\"symbolTextAndIcon\\\":t?\\\"symbolSDF\\\":\\\"symbolIcon\\\"}function er(e,n,r,i,o,a,s,l,u,c,h,p){for(var f=e.context,d=f.gl,m=e.transform,v=\\\"map\\\"===l,g=\\\"map\\\"===u,y=v&&\\\"point\\\"!==r.layout.get(\\\"symbol-placement\\\"),_=v&&!g&&!y,b=void 0!==r.layout.get(\\\"symbol-sort-key\\\").constantOr(1),x=e.depthModeForSublayer(0,Mt.ReadOnly),w=r.layout.get(\\\"text-variable-anchor\\\"),A=[],C=0,M=i;C<M.length;C+=1){var E=M[C],T=n.getTile(E),S=T.getBucket(r);if(S){var k=o?S.text:S.icon;if(k&&k.segments.get().length){var O=k.programConfigurations.get(r.id),I=o||S.sdfIcons,L=o?S.textSizeData:S.iconSizeData,P=g||0!==m.pitch,z=e.useProgram(tr(I,o,S),O),R=t.evaluateSizeForZoom(L,m.zoom),D=void 0,$=[0,0],B=void 0,N=void 0,F=null,j=void 0;if(o)B=T.glyphAtlasTexture,N=d.LINEAR,D=T.glyphAtlasTexture.size,S.iconsInText&&($=T.imageAtlasTexture.size,F=T.imageAtlasTexture,j=P||e.options.rotating||e.options.zooming||\\\"composite\\\"===L.kind||\\\"camera\\\"===L.kind?d.LINEAR:d.NEAREST);else{var U=1!==r.layout.get(\\\"icon-size\\\").constantOr(0)||S.iconsNeedLinear;B=T.imageAtlasTexture,N=I||e.options.rotating||e.options.zooming||U||P?d.LINEAR:d.NEAREST,D=T.imageAtlasTexture.size}var q=pe(T,1,e.transform.zoom),V=Kt(E.posMatrix,g,v,e.transform,q),H=Jt(E.posMatrix,g,v,e.transform,q),G=w&&S.hasTextData(),W=\\\"none\\\"!==r.layout.get(\\\"icon-text-fit\\\")&&G&&S.hasIconData();y&&ne(S,E.posMatrix,e,o,V,H,g,c);var X=e.translatePosMatrix(E.posMatrix,T,a,s),Y=y||o&&w||W?Kn:V,Z=e.translatePosMatrix(H,T,a,s,!0),K=I&&0!==r.paint.get(o?\\\"text-halo-width\\\":\\\"icon-halo-width\\\").constantOr(1),J={program:z,buffers:k,uniformValues:I?S.iconsInText?Gn(L.kind,R,_,g,e,X,Y,Z,D,$):Hn(L.kind,R,_,g,e,X,Y,Z,o,D,!0):Vn(L.kind,R,_,g,e,X,Y,Z,o,D),atlasTexture:B,atlasTextureIcon:F,atlasInterpolation:N,atlasInterpolationIcon:j,isSDF:I,hasHalo:K};if(b)for(var Q=0,tt=k.segments.get();Q<tt.length;Q+=1){var et=tt[Q];A.push({segments:new t.SegmentVector([et]),sortKey:et.sortKey,state:J})}else A.push({segments:k.segments,sortKey:0,state:J})}}}b&&A.sort((function(t,e){return t.sortKey-e.sortKey}));for(var nt=0,rt=A;nt<rt.length;nt+=1){var it=rt[nt],ot=it.state;if(f.activeTexture.set(d.TEXTURE0),ot.atlasTexture.bind(ot.atlasInterpolation,d.CLAMP_TO_EDGE),ot.atlasTextureIcon&&(f.activeTexture.set(d.TEXTURE1),ot.atlasTextureIcon&&ot.atlasTextureIcon.bind(ot.atlasInterpolationIcon,d.CLAMP_TO_EDGE)),ot.isSDF){var at=ot.uniformValues;ot.hasHalo&&(at.u_is_halo=1,nr(ot.buffers,it.segments,r,e,ot.program,x,h,p,at)),at.u_is_halo=0}nr(ot.buffers,it.segments,r,e,ot.program,x,h,p,ot.uniformValues)}}function nr(t,e,n,r,i,o,a,s,l){var u=r.context;i.draw(u,u.gl.TRIANGLES,o,a,s,St.disabled,l,n.id,t.layoutVertexBuffer,t.indexBuffer,e,n.paint,r.transform.zoom,t.programConfigurations.get(n.id),t.dynamicLayoutVertexBuffer,t.opacityVertexBuffer)}function rr(t,e,n,r,i,o,a){var s,l,u,c,h,p=t.context.gl,f=n.paint.get(\\\"fill-pattern\\\"),d=f&&f.constantOr(1),m=n.getCrossfadeParameters();a?(l=d&&!n.getPaintProperty(\\\"fill-outline-color\\\")?\\\"fillOutlinePattern\\\":\\\"fillOutline\\\",s=p.LINES):(l=d?\\\"fillPattern\\\":\\\"fill\\\",s=p.TRIANGLES);for(var v=0,g=r;v<g.length;v+=1){var y=g[v],_=e.getTile(y);if(!d||_.patternsLoaded()){var b=_.getBucket(n);if(b){var x=b.programConfigurations.get(n.id),w=t.useProgram(l,x);d&&(t.context.activeTexture.set(p.TEXTURE0),_.imageAtlasTexture.bind(p.LINEAR,p.CLAMP_TO_EDGE),x.updatePaintBuffers(m));var A=f.constantOr(null);if(A&&_.imageAtlas){var C=_.imageAtlas,M=C.patternPositions[A.to.toString()],E=C.patternPositions[A.from.toString()];M&&E&&x.setConstantPatternPositions(M,E)}var T=t.translatePosMatrix(y.posMatrix,_,n.paint.get(\\\"fill-translate\\\"),n.paint.get(\\\"fill-translate-anchor\\\"));if(a){c=b.indexBuffer2,h=b.segments2;var S=[p.drawingBufferWidth,p.drawingBufferHeight];u=\\\"fillOutlinePattern\\\"===l&&d?Sn(T,t,m,_,S):Tn(T,S)}else c=b.indexBuffer,h=b.segments,u=d?En(T,t,m,_):Mn(T);w.draw(t.context,s,i,t.stencilModeForClipping(y),o,St.disabled,u,n.id,b.layoutVertexBuffer,c,h,n.paint,t.transform.zoom,x)}}}}function ir(t,e,n,r,i,o,a){for(var s=t.context,l=s.gl,u=n.paint.get(\\\"fill-extrusion-pattern\\\"),c=u.constantOr(1),h=n.getCrossfadeParameters(),p=n.paint.get(\\\"fill-extrusion-opacity\\\"),f=0,d=r;f<d.length;f+=1){var m=d[f],v=e.getTile(m),g=v.getBucket(n);if(g){var y=g.programConfigurations.get(n.id),_=t.useProgram(c?\\\"fillExtrusionPattern\\\":\\\"fillExtrusion\\\",y);c&&(t.context.activeTexture.set(l.TEXTURE0),v.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),y.updatePaintBuffers(h));var b=u.constantOr(null);if(b&&v.imageAtlas){var x=v.imageAtlas,w=x.patternPositions[b.to.toString()],A=x.patternPositions[b.from.toString()];w&&A&&y.setConstantPatternPositions(w,A)}var C=t.translatePosMatrix(m.posMatrix,v,n.paint.get(\\\"fill-extrusion-translate\\\"),n.paint.get(\\\"fill-extrusion-translate-anchor\\\")),M=n.paint.get(\\\"fill-extrusion-vertical-gradient\\\"),E=c?Cn(C,t,M,p,m,h,v):An(C,t,M,p);_.draw(s,s.gl.TRIANGLES,i,o,a,St.backCCW,E,n.id,g.layoutVertexBuffer,g.indexBuffer,g.segments,n.paint,t.transform.zoom,y)}}}function or(e,n,r,i,o,a){var s=e.context,l=s.gl,u=n.fbo;if(u){var c=e.useProgram(\\\"hillshade\\\");s.activeTexture.set(l.TEXTURE0),l.bindTexture(l.TEXTURE_2D,u.colorAttachment.get());var h=function(e,n,r){var i=r.paint.get(\\\"hillshade-shadow-color\\\"),o=r.paint.get(\\\"hillshade-highlight-color\\\"),a=r.paint.get(\\\"hillshade-accent-color\\\"),s=r.paint.get(\\\"hillshade-illumination-direction\\\")*(Math.PI/180);\\\"viewport\\\"===r.paint.get(\\\"hillshade-illumination-anchor\\\")&&(s-=e.transform.angle);var l,u,c,h=!e.options.moving;return{u_matrix:e.transform.calculatePosMatrix(n.tileID.toUnwrapped(),h),u_image:0,u_latrange:(l=n.tileID,u=Math.pow(2,l.canonical.z),c=l.canonical.y,[new t.MercatorCoordinate(0,c/u).toLngLat().lat,new t.MercatorCoordinate(0,(c+1)/u).toLngLat().lat]),u_light:[r.paint.get(\\\"hillshade-exaggeration\\\"),s],u_shadow:i,u_highlight:o,u_accent:a}}(e,n,r);c.draw(s,l.TRIANGLES,i,o,a,St.disabled,h,r.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments)}}function ar(e,n,r,i,o,a,s){var l=e.context,u=l.gl,c=n.dem;if(c&&c.data){var h=c.dim,p=c.stride,f=c.getPixels();if(l.activeTexture.set(u.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),n.demTexture=n.demTexture||e.getTileTexture(p),n.demTexture){var d=n.demTexture;d.update(f,{premultiply:!1}),d.bind(u.NEAREST,u.CLAMP_TO_EDGE)}else n.demTexture=new t.Texture(l,f,u.RGBA,{premultiply:!1}),n.demTexture.bind(u.NEAREST,u.CLAMP_TO_EDGE);l.activeTexture.set(u.TEXTURE0);var m=n.fbo;if(!m){var v=new t.Texture(l,{width:h,height:h,data:null},u.RGBA);v.bind(u.LINEAR,u.CLAMP_TO_EDGE),(m=n.fbo=l.createFramebuffer(h,h,!0)).colorAttachment.set(v.texture)}l.bindFramebuffer.set(m.framebuffer),l.viewport.set([0,0,h,h]),e.useProgram(\\\"hillshadePrepare\\\").draw(l,u.TRIANGLES,o,a,s,St.disabled,function(e,n,r){var i=n.stride,o=t.create();return t.ortho(o,0,t.EXTENT,-t.EXTENT,0,0,1),t.translate(o,o,[0,-t.EXTENT,0]),{u_matrix:o,u_image:1,u_dimension:[i,i],u_zoom:e.overscaledZ,u_maxzoom:r,u_unpack:n.getUnpackVector()}}(n.tileID,c,i),r.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),n.needsHillshadePrepare=!1}}function sr(e,n,r,i,o){var a=i.paint.get(\\\"raster-fade-duration\\\");if(a>0){var s=t.browser.now(),l=(s-e.timeAdded)/a,u=n?(s-n.timeAdded)/a:-1,c=r.getSource(),h=o.coveringZoomLevel({tileSize:c.tileSize,roundZoom:c.roundZoom}),p=!n||Math.abs(n.tileID.overscaledZ-h)>Math.abs(e.tileID.overscaledZ-h),f=p&&e.refreshedUponExpiration?1:t.clamp(p?l:1-u,0,1);return e.refreshedUponExpiration&&l>=1&&(e.refreshedUponExpiration=!1),n?{opacity:1,mix:1-f}:{opacity:f,mix:0}}return{opacity:1,mix:0}}var lr=new t.Color(1,0,0,1),ur=new t.Color(0,1,0,1),cr=new t.Color(0,0,1,1),hr=new t.Color(1,0,1,1),pr=new t.Color(0,1,1,1);function fr(t,e,n,r){mr(t,0,e+n/2,t.transform.width,n,r)}function dr(t,e,n,r){mr(t,e-n/2,0,n,t.transform.height,r)}function mr(e,n,r,i,o,a){var s=e.context,l=s.gl;l.enable(l.SCISSOR_TEST),l.scissor(n*t.browser.devicePixelRatio,r*t.browser.devicePixelRatio,i*t.browser.devicePixelRatio,o*t.browser.devicePixelRatio),s.clear({color:a}),l.disable(l.SCISSOR_TEST)}function vr(e,n,r){var i=e.context,o=i.gl,a=r.posMatrix,s=e.useProgram(\\\"debug\\\"),l=Mt.disabled,u=Et.disabled,c=e.colorModeForRenderPass();i.activeTexture.set(o.TEXTURE0),e.emptyTexture.bind(o.LINEAR,o.CLAMP_TO_EDGE),s.draw(i,o.LINE_STRIP,l,u,c,St.disabled,Ln(a,t.Color.red),\\\"$debug\\\",e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);var h=n.getTileByID(r.key).latestRawTileData,p=Math.floor((h&&h.byteLength||0)/1024),f=n.getTile(r).tileSize,d=512/Math.min(f,512)*(r.overscaledZ/e.transform.zoom)*.5,m=r.canonical.toString();r.overscaledZ!==r.canonical.z&&(m+=\\\" => \\\"+r.overscaledZ),function(t,e){t.initDebugOverlayCanvas();var n=t.debugOverlayCanvas,r=t.context.gl,i=t.debugOverlayCanvas.getContext(\\\"2d\\\");i.clearRect(0,0,n.width,n.height),i.shadowColor=\\\"white\\\",i.shadowBlur=2,i.lineWidth=1.5,i.strokeStyle=\\\"white\\\",i.textBaseline=\\\"top\\\",i.font=\\\"bold 36px Open Sans, sans-serif\\\",i.fillText(e,5,5),i.strokeText(e,5,5),t.debugOverlayTexture.update(n),t.debugOverlayTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)}(e,m+\\\" \\\"+p+\\\"kb\\\"),s.draw(i,o.TRIANGLES,l,u,Tt.alphaBlended,St.disabled,Ln(a,t.Color.transparent,d),\\\"$debug\\\",e.debugBuffer,e.quadTriangleIndexBuffer,e.debugSegments)}var gr={symbol:function(e,n,r,i,o){if(\\\"translucent\\\"===e.renderPass){var a=Et.disabled,s=e.colorModeForRenderPass();r.layout.get(\\\"text-variable-anchor\\\")&&function(e,n,r,i,o,a,s){for(var l=n.transform,u=\\\"map\\\"===o,c=\\\"map\\\"===a,h=0,p=e;h<p.length;h+=1){var f=p[h],d=i.getTile(f),m=d.getBucket(r);if(m&&m.text&&m.text.segments.get().length){var v=t.evaluateSizeForZoom(m.textSizeData,l.zoom),g=pe(d,1,n.transform.zoom),y=Kt(f.posMatrix,c,u,n.transform,g),_=\\\"none\\\"!==r.layout.get(\\\"icon-text-fit\\\")&&m.hasIconData();if(v){var b=Math.pow(2,l.zoom-d.tileID.overscaledZ);Qn(m,u,c,s,t.symbolSize,l,y,f.posMatrix,b,v,_)}}}}(i,e,r,n,r.layout.get(\\\"text-rotation-alignment\\\"),r.layout.get(\\\"text-pitch-alignment\\\"),o),0!==r.paint.get(\\\"icon-opacity\\\").constantOr(1)&&er(e,n,r,i,!1,r.paint.get(\\\"icon-translate\\\"),r.paint.get(\\\"icon-translate-anchor\\\"),r.layout.get(\\\"icon-rotation-alignment\\\"),r.layout.get(\\\"icon-pitch-alignment\\\"),r.layout.get(\\\"icon-keep-upright\\\"),a,s),0!==r.paint.get(\\\"text-opacity\\\").constantOr(1)&&er(e,n,r,i,!0,r.paint.get(\\\"text-translate\\\"),r.paint.get(\\\"text-translate-anchor\\\"),r.layout.get(\\\"text-rotation-alignment\\\"),r.layout.get(\\\"text-pitch-alignment\\\"),r.layout.get(\\\"text-keep-upright\\\"),a,s),n.map.showCollisionBoxes&&(Zn(e,n,r,i,r.paint.get(\\\"text-translate\\\"),r.paint.get(\\\"text-translate-anchor\\\"),!0),Zn(e,n,r,i,r.paint.get(\\\"icon-translate\\\"),r.paint.get(\\\"icon-translate-anchor\\\"),!1))}},circle:function(e,n,r,i){if(\\\"translucent\\\"===e.renderPass){var o=r.paint.get(\\\"circle-opacity\\\"),a=r.paint.get(\\\"circle-stroke-width\\\"),s=r.paint.get(\\\"circle-stroke-opacity\\\"),l=void 0!==r.layout.get(\\\"circle-sort-key\\\").constantOr(1);if(0!==o.constantOr(1)||0!==a.constantOr(1)&&0!==s.constantOr(1)){for(var u=e.context,c=u.gl,h=e.depthModeForSublayer(0,Mt.ReadOnly),p=Et.disabled,f=e.colorModeForRenderPass(),d=[],m=0;m<i.length;m++){var v=i[m],g=n.getTile(v),y=g.getBucket(r);if(y){var _=y.programConfigurations.get(r.id),b={programConfiguration:_,program:e.useProgram(\\\"circle\\\",_),layoutVertexBuffer:y.layoutVertexBuffer,indexBuffer:y.indexBuffer,uniformValues:kn(e,v,g,r)};if(l)for(var x=0,w=y.segments.get();x<w.length;x+=1){var A=w[x];d.push({segments:new t.SegmentVector([A]),sortKey:A.sortKey,state:b})}else d.push({segments:y.segments,sortKey:0,state:b})}}l&&d.sort((function(t,e){return t.sortKey-e.sortKey}));for(var C=0,M=d;C<M.length;C+=1){var E=M[C],T=E.state;T.program.draw(u,c.TRIANGLES,h,p,f,St.disabled,T.uniformValues,r.id,T.layoutVertexBuffer,T.indexBuffer,E.segments,r.paint,e.transform.zoom,T.programConfiguration)}}}},heatmap:function(e,n,r,i){if(0!==r.paint.get(\\\"heatmap-opacity\\\"))if(\\\"offscreen\\\"===e.renderPass){var o=e.context,a=o.gl,s=Et.disabled,l=new Tt([a.ONE,a.ONE],t.Color.transparent,[!0,!0,!0,!0]);!function(t,e,n){var r=t.gl;t.activeTexture.set(r.TEXTURE1),t.viewport.set([0,0,e.width/4,e.height/4]);var i=n.heatmapFbo;if(i)r.bindTexture(r.TEXTURE_2D,i.colorAttachment.get()),t.bindFramebuffer.set(i.framebuffer);else{var o=r.createTexture();r.bindTexture(r.TEXTURE_2D,o),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR),i=n.heatmapFbo=t.createFramebuffer(e.width/4,e.height/4,!1),function(t,e,n,r){var i=t.gl;i.texImage2D(i.TEXTURE_2D,0,i.RGBA,e.width/4,e.height/4,0,i.RGBA,t.extRenderToTextureHalfFloat?t.extTextureHalfFloat.HALF_FLOAT_OES:i.UNSIGNED_BYTE,null),r.colorAttachment.set(n)}(t,e,o,i)}}(o,e,r),o.clear({color:t.Color.transparent});for(var u=0;u<i.length;u++){var c=i[u];if(!n.hasRenderableParent(c)){var h=n.getTile(c),p=h.getBucket(r);if(p){var f=p.programConfigurations.get(r.id);e.useProgram(\\\"heatmap\\\",f).draw(o,a.TRIANGLES,Mt.disabled,s,l,St.disabled,zn(c.posMatrix,h,e.transform.zoom,r.paint.get(\\\"heatmap-intensity\\\")),r.id,p.layoutVertexBuffer,p.indexBuffer,p.segments,r.paint,e.transform.zoom,f)}}}o.viewport.set([0,0,e.width,e.height])}else\\\"translucent\\\"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,n){var r=e.context,i=r.gl,o=n.heatmapFbo;if(o){r.activeTexture.set(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,o.colorAttachment.get()),r.activeTexture.set(i.TEXTURE1);var a=n.colorRampTexture;a||(a=n.colorRampTexture=new t.Texture(r,n.colorRamp,i.RGBA)),a.bind(i.LINEAR,i.CLAMP_TO_EDGE),e.useProgram(\\\"heatmapTexture\\\").draw(r,i.TRIANGLES,Mt.disabled,Et.disabled,e.colorModeForRenderPass(),St.disabled,function(e,n,r,i){var o=t.create();t.ortho(o,0,e.width,e.height,0,0,1);var a=e.context.gl;return{u_matrix:o,u_world:[a.drawingBufferWidth,a.drawingBufferHeight],u_image:0,u_color_ramp:1,u_opacity:n.paint.get(\\\"heatmap-opacity\\\")}}(e,n),n.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,n.paint,e.transform.zoom)}}(e,r))},line:function(e,n,r,i){if(\\\"translucent\\\"===e.renderPass){var o=r.paint.get(\\\"line-opacity\\\"),a=r.paint.get(\\\"line-width\\\");if(0!==o.constantOr(1)&&0!==a.constantOr(1)){var s=e.depthModeForSublayer(0,Mt.ReadOnly),l=e.colorModeForRenderPass(),u=r.paint.get(\\\"line-dasharray\\\"),c=r.paint.get(\\\"line-pattern\\\"),h=c.constantOr(1),p=r.paint.get(\\\"line-gradient\\\"),f=r.getCrossfadeParameters(),d=h?\\\"linePattern\\\":u?\\\"lineSDF\\\":p?\\\"lineGradient\\\":\\\"line\\\",m=e.context,v=m.gl,g=!0;if(p){m.activeTexture.set(v.TEXTURE0);var y=r.gradientTexture;if(!r.gradient)return;y||(y=r.gradientTexture=new t.Texture(m,r.gradient,v.RGBA)),y.bind(v.LINEAR,v.CLAMP_TO_EDGE)}for(var _=0,b=i;_<b.length;_+=1){var x=b[_],w=n.getTile(x);if(!h||w.patternsLoaded()){var A=w.getBucket(r);if(A){var C=A.programConfigurations.get(r.id),M=e.context.program.get(),E=e.useProgram(d,C),T=g||E.program!==M,S=c.constantOr(null);if(S&&w.imageAtlas){var k=w.imageAtlas,O=k.patternPositions[S.to.toString()],I=k.patternPositions[S.from.toString()];O&&I&&C.setConstantPatternPositions(O,I)}var L=h?$n(e,w,r,f):u?Bn(e,w,r,u,f):p?Dn(e,w,r):Rn(e,w,r);h?(m.activeTexture.set(v.TEXTURE0),w.imageAtlasTexture.bind(v.LINEAR,v.CLAMP_TO_EDGE),C.updatePaintBuffers(f)):u&&(T||e.lineAtlas.dirty)&&(m.activeTexture.set(v.TEXTURE0),e.lineAtlas.bind(m)),E.draw(m,v.TRIANGLES,s,e.stencilModeForClipping(x),l,St.disabled,L,r.id,A.layoutVertexBuffer,A.indexBuffer,A.segments,r.paint,e.transform.zoom,C),g=!1}}}}}},fill:function(e,n,r,i){var o=r.paint.get(\\\"fill-color\\\"),a=r.paint.get(\\\"fill-opacity\\\");if(0!==a.constantOr(1)){var s=e.colorModeForRenderPass(),l=r.paint.get(\\\"fill-pattern\\\"),u=e.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===o.constantOr(t.Color.transparent).a&&1===a.constantOr(0)?\\\"opaque\\\":\\\"translucent\\\";if(e.renderPass===u){var c=e.depthModeForSublayer(1,\\\"opaque\\\"===e.renderPass?Mt.ReadWrite:Mt.ReadOnly);rr(e,n,r,i,c,s,!1)}if(\\\"translucent\\\"===e.renderPass&&r.paint.get(\\\"fill-antialias\\\")){var h=e.depthModeForSublayer(r.getPaintProperty(\\\"fill-outline-color\\\")?2:0,Mt.ReadOnly);rr(e,n,r,i,h,s,!0)}}},\\\"fill-extrusion\\\":function(t,e,n,r){var i=n.paint.get(\\\"fill-extrusion-opacity\\\");if(0!==i&&\\\"translucent\\\"===t.renderPass){var o=new Mt(t.context.gl.LEQUAL,Mt.ReadWrite,t.depthRangeFor3D);if(1!==i||n.paint.get(\\\"fill-extrusion-pattern\\\").constantOr(1))ir(t,e,n,r,o,Et.disabled,Tt.disabled),ir(t,e,n,r,o,t.stencilModeFor3D(),t.colorModeForRenderPass());else{var a=t.colorModeForRenderPass();ir(t,e,n,r,o,Et.disabled,a)}}},hillshade:function(t,e,n,r){if(\\\"offscreen\\\"===t.renderPass||\\\"translucent\\\"===t.renderPass){for(var i=t.context,o=e.getSource().maxzoom,a=t.depthModeForSublayer(0,Mt.ReadOnly),s=t.colorModeForRenderPass(),l=\\\"translucent\\\"===t.renderPass?t.stencilConfigForOverlap(r):[{},r],u=l[0],c=0,h=l[1];c<h.length;c+=1){var p=h[c],f=e.getTile(p);f.needsHillshadePrepare&&\\\"offscreen\\\"===t.renderPass?ar(t,f,n,o,a,Et.disabled,s):\\\"translucent\\\"===t.renderPass&&or(t,f,n,a,u[p.overscaledZ],s)}i.viewport.set([0,0,t.width,t.height])}},raster:function(t,e,n,r){if(\\\"translucent\\\"===t.renderPass&&0!==n.paint.get(\\\"raster-opacity\\\")&&r.length)for(var i=t.context,o=i.gl,a=e.getSource(),s=t.useProgram(\\\"raster\\\"),l=t.colorModeForRenderPass(),u=a instanceof L?[{},r]:t.stencilConfigForOverlap(r),c=u[0],h=u[1],p=h[h.length-1].overscaledZ,f=!t.options.moving,d=0,m=h;d<m.length;d+=1){var v=m[d],g=t.depthModeForSublayer(v.overscaledZ-p,1===n.paint.get(\\\"raster-opacity\\\")?Mt.ReadWrite:Mt.ReadOnly,o.LESS),y=e.getTile(v),_=t.transform.calculatePosMatrix(v.toUnwrapped(),f);y.registerFadeDuration(n.paint.get(\\\"raster-fade-duration\\\"));var b=e.findLoadedParent(v,0),x=sr(y,b,e,n,t.transform),w=void 0,A=void 0,C=\\\"nearest\\\"===n.paint.get(\\\"raster-resampling\\\")?o.NEAREST:o.LINEAR;i.activeTexture.set(o.TEXTURE0),y.texture.bind(C,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),i.activeTexture.set(o.TEXTURE1),b?(b.texture.bind(C,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),w=Math.pow(2,b.tileID.overscaledZ-y.tileID.overscaledZ),A=[y.tileID.canonical.x*w%1,y.tileID.canonical.y*w%1]):y.texture.bind(C,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST);var M=jn(_,A||[0,0],w||1,x,n);a instanceof L?s.draw(i,o.TRIANGLES,g,Et.disabled,l,St.disabled,M,n.id,a.boundsBuffer,t.quadTriangleIndexBuffer,a.boundsSegments):s.draw(i,o.TRIANGLES,g,c[v.overscaledZ],l,St.disabled,M,n.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}},background:function(t,e,n){var r=n.paint.get(\\\"background-color\\\"),i=n.paint.get(\\\"background-opacity\\\");if(0!==i){var o=t.context,a=o.gl,s=t.transform,l=s.tileSize,u=n.paint.get(\\\"background-pattern\\\");if(!t.isPatternMissing(u)){var c=!u&&1===r.a&&1===i&&t.opaquePassEnabledForLayer()?\\\"opaque\\\":\\\"translucent\\\";if(t.renderPass===c){var h=Et.disabled,p=t.depthModeForSublayer(0,\\\"opaque\\\"===c?Mt.ReadWrite:Mt.ReadOnly),f=t.colorModeForRenderPass(),d=t.useProgram(u?\\\"backgroundPattern\\\":\\\"background\\\"),m=s.coveringTiles({tileSize:l});u&&(o.activeTexture.set(a.TEXTURE0),t.imageManager.bind(t.context));for(var v=n.getCrossfadeParameters(),g=0,y=m;g<y.length;g+=1){var _=y[g],b=t.transform.calculatePosMatrix(_.toUnwrapped()),x=u?Xn(b,i,t,u,{tileID:_,tileSize:l},v):Wn(b,i,r);d.draw(o,a.TRIANGLES,p,h,f,St.disabled,x,n.id,t.tileExtentBuffer,t.quadTriangleIndexBuffer,t.tileExtentSegments)}}}}},debug:function(t,e,n){for(var r=0;r<n.length;r++)vr(t,e,n[r])},custom:function(t,e,n){var r=t.context,i=n.implementation;if(\\\"offscreen\\\"===t.renderPass){var o=i.prerender;o&&(t.setCustomLayerDefaults(),r.setColorMode(t.colorModeForRenderPass()),o.call(i,r.gl,t.transform.customLayerMatrix()),r.setDirty(),t.setBaseState())}else if(\\\"translucent\\\"===t.renderPass){t.setCustomLayerDefaults(),r.setColorMode(t.colorModeForRenderPass()),r.setStencilMode(Et.disabled);var a=\\\"3d\\\"===i.renderingMode?new Mt(t.context.gl.LEQUAL,Mt.ReadWrite,t.depthRangeFor3D):t.depthModeForSublayer(0,Mt.ReadOnly);r.setDepthMode(a),i.render(r.gl,t.transform.customLayerMatrix()),r.setDirty(),t.setBaseState(),r.bindFramebuffer.set(null)}}},yr=function(t,e){this.context=new kt(t),this.transform=e,this._tileTextures={},this.setup(),this.numSublayers=Ot.maxUnderzooming+Ot.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Be,this.gpuTimers={}};yr.prototype.resize=function(e,n){if(this.width=e*t.browser.devicePixelRatio,this.height=n*t.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var r=0,i=this.style._order;r<i.length;r+=1)this.style._layers[i[r]].resize()},yr.prototype.setup=function(){var e=this.context,n=new t.StructArrayLayout2i4;n.emplaceBack(0,0),n.emplaceBack(t.EXTENT,0),n.emplaceBack(0,t.EXTENT),n.emplaceBack(t.EXTENT,t.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(n,Ve.members),this.tileExtentSegments=t.SegmentVector.simpleSegment(0,0,4,2);var r=new t.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(t.EXTENT,0),r.emplaceBack(0,t.EXTENT),r.emplaceBack(t.EXTENT,t.EXTENT),this.debugBuffer=e.createVertexBuffer(r,Ve.members),this.debugSegments=t.SegmentVector.simpleSegment(0,0,4,5);var i=new t.StructArrayLayout4i8;i.emplaceBack(0,0,0,0),i.emplaceBack(t.EXTENT,0,t.EXTENT,0),i.emplaceBack(0,t.EXTENT,0,t.EXTENT),i.emplaceBack(t.EXTENT,t.EXTENT,t.EXTENT,t.EXTENT),this.rasterBoundsBuffer=e.createVertexBuffer(i,I.members),this.rasterBoundsSegments=t.SegmentVector.simpleSegment(0,0,4,2);var o=new t.StructArrayLayout2i4;o.emplaceBack(0,0),o.emplaceBack(1,0),o.emplaceBack(0,1),o.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(o,Ve.members),this.viewportSegments=t.SegmentVector.simpleSegment(0,0,4,2);var a=new t.StructArrayLayout1ui2;a.emplaceBack(0),a.emplaceBack(1),a.emplaceBack(3),a.emplaceBack(2),a.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(a);var s=new t.StructArrayLayout3ui6;s.emplaceBack(0,1,2),s.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(s),this.emptyTexture=new t.Texture(e,{width:1,height:1,data:new Uint8Array([0,0,0,0])},e.gl.RGBA);var l=this.context.gl;this.stencilClearMode=new Et({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO)},yr.prototype.clearStencil=function(){var e=this.context,n=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var r=t.create();t.ortho(r,0,this.width,this.height,0,0,1),t.scale(r,r,[n.drawingBufferWidth,n.drawingBufferHeight,0]),this.useProgram(\\\"clippingMask\\\").draw(e,n.TRIANGLES,Mt.disabled,this.stencilClearMode,Tt.disabled,St.disabled,Pn(r),\\\"$clipping\\\",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},yr.prototype._renderTileClippingMasks=function(t,e){if(this.currentStencilSource!==t.source&&t.isTileClipped()&&e&&e.length){this.currentStencilSource=t.source;var n=this.context,r=n.gl;this.nextStencilID+e.length>256&&this.clearStencil(),n.setColorMode(Tt.disabled),n.setDepthMode(Mt.disabled);var i=this.useProgram(\\\"clippingMask\\\");this._tileClippingMaskIDs={};for(var o=0,a=e;o<a.length;o+=1){var s=a[o],l=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;i.draw(n,r.TRIANGLES,Mt.disabled,new Et({func:r.ALWAYS,mask:0},l,255,r.KEEP,r.KEEP,r.REPLACE),Tt.disabled,St.disabled,Pn(s.posMatrix),\\\"$clipping\\\",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},yr.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var t=this.nextStencilID++,e=this.context.gl;return new Et({func:e.NOTEQUAL,mask:255},t,255,e.KEEP,e.KEEP,e.REPLACE)},yr.prototype.stencilModeForClipping=function(t){var e=this.context.gl;return new Et({func:e.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,e.KEEP,e.KEEP,e.REPLACE)},yr.prototype.stencilConfigForOverlap=function(t){var e,n=this.context.gl,r=t.sort((function(t,e){return e.overscaledZ-t.overscaledZ})),i=r[r.length-1].overscaledZ,o=r[0].overscaledZ-i+1;if(o>1){this.currentStencilSource=void 0,this.nextStencilID+o>256&&this.clearStencil();for(var a={},s=0;s<o;s++)a[s+i]=new Et({func:n.GEQUAL,mask:255},s+this.nextStencilID,255,n.KEEP,n.KEEP,n.REPLACE);return this.nextStencilID+=o,[a,r]}return[(e={},e[i]=Et.disabled,e),r]},yr.prototype.colorModeForRenderPass=function(){var e=this.context.gl;return this._showOverdrawInspector?new Tt([e.CONSTANT_COLOR,e.ONE],new t.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0]):\\\"opaque\\\"===this.renderPass?Tt.unblended:Tt.alphaBlended},yr.prototype.depthModeForSublayer=function(t,e,n){if(!this.opaquePassEnabledForLayer())return Mt.disabled;var r=1-((1+this.currentLayer)*this.numSublayers+t)*this.depthEpsilon;return new Mt(n||this.context.gl.LEQUAL,e,[r,r])},yr.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},yr.prototype.render=function(e,n){var r=this;this.style=e,this.options=n,this.lineAtlas=e.lineAtlas,this.imageManager=e.imageManager,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(t.browser.now()),this.imageManager.beginFrame();var i=this.style._order,o=this.style.sourceCaches;for(var a in o){var s=o[a];s.used&&s.prepare(this.context)}var l,u,c={},h={},p={};for(var f in o){var d=o[f];c[f]=d.getVisibleCoordinates(),h[f]=c[f].slice().reverse(),p[f]=d.getVisibleCoordinates(!0).reverse()}this.opaquePassCutoff=1/0;for(var m=0;m<i.length;m++)if(this.style._layers[i[m]].is3D()){this.opaquePassCutoff=m;break}this.renderPass=\\\"offscreen\\\";for(var v=0,g=i;v<g.length;v+=1){var y=this.style._layers[g[v]];if(y.hasOffscreenPass()&&!y.isHidden(this.transform.zoom)){var _=h[y.source];(\\\"custom\\\"===y.type||_.length)&&this.renderLayer(this,o[y.source],y,_)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:n.showOverdrawInspector?t.Color.black:t.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=n.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass=\\\"opaque\\\",this.currentLayer=i.length-1;this.currentLayer>=0;this.currentLayer--){var b=this.style._layers[i[this.currentLayer]],x=o[b.source],w=c[b.source];this._renderTileClippingMasks(b,w),this.renderLayer(this,x,b,w)}for(this.renderPass=\\\"translucent\\\",this.currentLayer=0;this.currentLayer<i.length;this.currentLayer++){var A=this.style._layers[i[this.currentLayer]],C=o[A.source],M=(\\\"symbol\\\"===A.type?p:h)[A.source];this._renderTileClippingMasks(A,c[A.source]),this.renderLayer(this,C,A,M)}this.options.showTileBoundaries&&(t.values(this.style._layers).forEach((function(t){t.source&&!t.isHidden(r.transform.zoom)&&(t.source!==(u&&u.id)&&(u=r.style.sourceCaches[t.source]),(!l||l.getSource().maxzoom<u.getSource().maxzoom)&&(l=u))})),l&&gr.debug(this,l,l.getVisibleCoordinates())),this.options.showPadding&&function(t){var e=t.transform.padding;fr(t,t.transform.height-(e.top||0),3,lr),fr(t,e.bottom||0,3,ur),dr(t,e.left||0,3,cr),dr(t,t.transform.width-(e.right||0),3,hr);var n=t.transform.centerPoint;!function(t,e,n,r){mr(t,e-1,n-10,2,20,r),mr(t,e-10,n-1,20,2,r)}(t,n.x,t.transform.height-n.y,pr)}(this),this.context.setDefault()},yr.prototype.renderLayer=function(t,e,n,r){n.isHidden(this.transform.zoom)||(\\\"background\\\"===n.type||\\\"custom\\\"===n.type||r.length)&&(this.id=n.id,this.gpuTimingStart(n),gr[n.type](t,e,n,r,this.style.placement.variableOffsets),this.gpuTimingEnd())},yr.prototype.gpuTimingStart=function(t){if(this.options.gpuTiming){var e=this.context.extTimerQuery,n=this.gpuTimers[t.id];n||(n=this.gpuTimers[t.id]={calls:0,cpuTime:0,query:e.createQueryEXT()}),n.calls++,e.beginQueryEXT(e.TIME_ELAPSED_EXT,n.query)}},yr.prototype.gpuTimingEnd=function(){if(this.options.gpuTiming){var t=this.context.extTimerQuery;t.endQueryEXT(t.TIME_ELAPSED_EXT)}},yr.prototype.collectGpuTimers=function(){var t=this.gpuTimers;return this.gpuTimers={},t},yr.prototype.queryGpuTimers=function(t){var e={};for(var n in t){var r=t[n],i=this.context.extTimerQuery,o=i.getQueryObjectEXT(r.query,i.QUERY_RESULT_EXT)/1e6;i.deleteQueryEXT(r.query),e[n]=o}return e},yr.prototype.translatePosMatrix=function(e,n,r,i,o){if(!r[0]&&!r[1])return e;var a=o?\\\"map\\\"===i?this.transform.angle:0:\\\"viewport\\\"===i?-this.transform.angle:0;if(a){var s=Math.sin(a),l=Math.cos(a);r=[r[0]*l-r[1]*s,r[0]*s+r[1]*l]}var u=[o?r[0]:pe(n,r[0],this.transform.zoom),o?r[1]:pe(n,r[1],this.transform.zoom),0],c=new Float32Array(16);return t.translate(c,e,u),c},yr.prototype.saveTileTexture=function(t){var e=this._tileTextures[t.size[0]];e?e.push(t):this._tileTextures[t.size[0]]=[t]},yr.prototype.getTileTexture=function(t){var e=this._tileTextures[t];return e&&e.length>0?e.pop():null},yr.prototype.isPatternMissing=function(t){if(!t)return!1;if(!t.from||!t.to)return!0;var e=this.imageManager.getPattern(t.from.toString()),n=this.imageManager.getPattern(t.to.toString());return!e||!n},yr.prototype.useProgram=function(t,e){this.cache=this.cache||{};var n=\\\"\\\"+t+(e?e.cacheKey:\\\"\\\")+(this._showOverdrawInspector?\\\"/overdraw\\\":\\\"\\\");return this.cache[n]||(this.cache[n]=new xn(this.context,_n[t],e,Yn[t],this._showOverdrawInspector)),this.cache[n]},yr.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},yr.prototype.setBaseState=function(){var t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD)},yr.prototype.initDebugOverlayCanvas=function(){null==this.debugOverlayCanvas&&(this.debugOverlayCanvas=t.window.document.createElement(\\\"canvas\\\"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new t.Texture(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))},yr.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var _r=function(t,e){this.points=t,this.planes=e};_r.fromInvProjectionMatrix=function(e,n,r){var i=Math.pow(2,r),o=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((function(n){return t.transformMat4([],n,e)})).map((function(e){return t.scale$1([],e,1/e[3]/n*i)})),a=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map((function(e){var n=t.sub([],o[e[0]],o[e[1]]),r=t.sub([],o[e[2]],o[e[1]]),i=t.normalize([],t.cross([],n,r)),a=-t.dot(i,o[e[1]]);return i.concat(a)}));return new _r(o,a)};var br=function(e,n){this.min=e,this.max=n,this.center=t.scale$2([],t.add([],this.min,this.max),.5)};br.prototype.quadrant=function(e){for(var n=[e%2==0,e<2],r=t.clone$2(this.min),i=t.clone$2(this.max),o=0;o<n.length;o++)r[o]=n[o]?this.min[o]:this.center[o],i[o]=n[o]?this.center[o]:this.max[o];return i[2]=this.max[2],new br(r,i)},br.prototype.distanceX=function(t){return Math.max(Math.min(this.max[0],t[0]),this.min[0])-t[0]},br.prototype.distanceY=function(t){return Math.max(Math.min(this.max[1],t[1]),this.min[1])-t[1]},br.prototype.intersects=function(e){for(var n=[[this.min[0],this.min[1],0,1],[this.max[0],this.min[1],0,1],[this.max[0],this.max[1],0,1],[this.min[0],this.max[1],0,1]],r=!0,i=0;i<e.planes.length;i++){for(var o=e.planes[i],a=0,s=0;s<n.length;s++)a+=t.dot$1(o,n[s])>=0;if(0===a)return 0;a!==n.length&&(r=!1)}if(r)return 2;for(var l=0;l<3;l++){for(var u=Number.MAX_VALUE,c=-Number.MAX_VALUE,h=0;h<e.points.length;h++){var p=e.points[h][l]-this.min[l];u=Math.min(u,p),c=Math.max(c,p)}if(c<0||u>this.max[l]-this.min[l])return 0}return 1};var xr=function(t,e,n,r){if(void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),isNaN(t)||t<0||isNaN(e)||e<0||isNaN(n)||n<0||isNaN(r)||r<0)throw new Error(\\\"Invalid value for edge-insets, top, bottom, left and right must all be numbers\\\");this.top=t,this.bottom=e,this.left=n,this.right=r};xr.prototype.interpolate=function(e,n,r){return null!=n.top&&null!=e.top&&(this.top=t.number(e.top,n.top,r)),null!=n.bottom&&null!=e.bottom&&(this.bottom=t.number(e.bottom,n.bottom,r)),null!=n.left&&null!=e.left&&(this.left=t.number(e.left,n.left,r)),null!=n.right&&null!=e.right&&(this.right=t.number(e.right,n.right,r)),this},xr.prototype.getCenter=function(e,n){var r=t.clamp((this.left+e-this.right)/2,0,e),i=t.clamp((this.top+n-this.bottom)/2,0,n);return new t.Point(r,i)},xr.prototype.equals=function(t){return this.top===t.top&&this.bottom===t.bottom&&this.left===t.left&&this.right===t.right},xr.prototype.clone=function(){return new xr(this.top,this.bottom,this.left,this.right)},xr.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var wr=function(e,n,r,i,o){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===o||o,this._minZoom=e||0,this._maxZoom=n||22,this._minPitch=null==r?0:r,this._maxPitch=null==i?60:i,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new xr,this._posMatrixCache={},this._alignedPosMatrixCache={}},Ar={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};wr.prototype.clone=function(){var t=new wr(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return t.tileSize=this.tileSize,t.latRange=this.latRange,t.width=this.width,t.height=this.height,t._center=this._center,t.zoom=this.zoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._unmodified=this._unmodified,t._edgeInsets=this._edgeInsets.clone(),t._calcMatrices(),t},Ar.minZoom.get=function(){return this._minZoom},Ar.minZoom.set=function(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t))},Ar.maxZoom.get=function(){return this._maxZoom},Ar.maxZoom.set=function(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t))},Ar.minPitch.get=function(){return this._minPitch},Ar.minPitch.set=function(t){this._minPitch!==t&&(this._minPitch=t,this.pitch=Math.max(this.pitch,t))},Ar.maxPitch.get=function(){return this._maxPitch},Ar.maxPitch.set=function(t){this._maxPitch!==t&&(this._maxPitch=t,this.pitch=Math.min(this.pitch,t))},Ar.renderWorldCopies.get=function(){return this._renderWorldCopies},Ar.renderWorldCopies.set=function(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t},Ar.worldSize.get=function(){return this.tileSize*this.scale},Ar.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Ar.size.get=function(){return new t.Point(this.width,this.height)},Ar.bearing.get=function(){return-this.angle/Math.PI*180},Ar.bearing.set=function(e){var n=-t.wrap(e,-180,180)*Math.PI/180;this.angle!==n&&(this._unmodified=!1,this.angle=n,this._calcMatrices(),this.rotationMatrix=t.create$2(),t.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Ar.pitch.get=function(){return this._pitch/Math.PI*180},Ar.pitch.set=function(e){var n=t.clamp(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==n&&(this._unmodified=!1,this._pitch=n,this._calcMatrices())},Ar.fov.get=function(){return this._fov/Math.PI*180},Ar.fov.set=function(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=t/180*Math.PI,this._calcMatrices())},Ar.zoom.get=function(){return this._zoom},Ar.zoom.set=function(t){var e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom,this._constrain(),this._calcMatrices())},Ar.center.get=function(){return this._center},Ar.center.set=function(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._constrain(),this._calcMatrices())},Ar.padding.get=function(){return this._edgeInsets.toJSON()},Ar.padding.set=function(t){this._edgeInsets.equals(t)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,t,1),this._calcMatrices())},Ar.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},wr.prototype.isPaddingEqual=function(t){return this._edgeInsets.equals(t)},wr.prototype.interpolatePadding=function(t,e,n){this._unmodified=!1,this._edgeInsets.interpolate(t,e,n),this._constrain(),this._calcMatrices()},wr.prototype.coveringZoomLevel=function(t){var e=(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize));return Math.max(0,e)},wr.prototype.getVisibleUnwrappedCoordinates=function(e){var n=[new t.UnwrappedTileID(0,e)];if(this._renderWorldCopies)for(var r=this.pointCoordinate(new t.Point(0,0)),i=this.pointCoordinate(new t.Point(this.width,0)),o=this.pointCoordinate(new t.Point(this.width,this.height)),a=this.pointCoordinate(new t.Point(0,this.height)),s=Math.floor(Math.min(r.x,i.x,o.x,a.x)),l=Math.floor(Math.max(r.x,i.x,o.x,a.x)),u=s-1;u<=l+1;u++)0!==u&&n.push(new t.UnwrappedTileID(u,e));return n},wr.prototype.coveringTiles=function(e){var n=this.coveringZoomLevel(e),r=n;if(void 0!==e.minzoom&&n<e.minzoom)return[];void 0!==e.maxzoom&&n>e.maxzoom&&(n=e.maxzoom);var i=t.MercatorCoordinate.fromLngLat(this.center),o=Math.pow(2,n),a=[o*i.x,o*i.y,0],s=_r.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,n),l=e.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(l=n);var u=function(t){return{aabb:new br([t*o,0,0],[(t+1)*o,o,0]),zoom:0,x:0,y:0,wrap:t,fullyVisible:!1}},c=[],h=[],p=n,f=e.reparseOverscaled?r:n;if(this._renderWorldCopies)for(var d=1;d<=3;d++)c.push(u(-d)),c.push(u(d));for(c.push(u(0));c.length>0;){var m=c.pop(),v=m.x,g=m.y,y=m.fullyVisible;if(!y){var _=m.aabb.intersects(s);if(0===_)continue;y=2===_}var b=m.aabb.distanceX(a),x=m.aabb.distanceY(a),w=Math.max(Math.abs(b),Math.abs(x));if(m.zoom===p||w>3+(1<<p-m.zoom)-2&&m.zoom>=l)h.push({tileID:new t.OverscaledTileID(m.zoom===p?f:m.zoom,m.wrap,m.zoom,v,g),distanceSq:t.sqrLen([a[0]-.5-v,a[1]-.5-g])});else for(var A=0;A<4;A++){var C=(v<<1)+A%2,M=(g<<1)+(A>>1);c.push({aabb:m.aabb.quadrant(A),zoom:m.zoom+1,x:C,y:M,wrap:m.wrap,fullyVisible:y})}}return h.sort((function(t,e){return t.distanceSq-e.distanceSq})).map((function(t){return t.tileID}))},wr.prototype.resize=function(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices()},Ar.unmodified.get=function(){return this._unmodified},wr.prototype.zoomScale=function(t){return Math.pow(2,t)},wr.prototype.scaleZoom=function(t){return Math.log(t)/Math.LN2},wr.prototype.project=function(e){var n=t.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude);return new t.Point(t.mercatorXfromLng(e.lng)*this.worldSize,t.mercatorYfromLat(n)*this.worldSize)},wr.prototype.unproject=function(e){return new t.MercatorCoordinate(e.x/this.worldSize,e.y/this.worldSize).toLngLat()},Ar.point.get=function(){return this.project(this.center)},wr.prototype.setLocationAtPoint=function(e,n){var r=this.pointCoordinate(n),i=this.pointCoordinate(this.centerPoint),o=this.locationCoordinate(e),a=new t.MercatorCoordinate(o.x-(r.x-i.x),o.y-(r.y-i.y));this.center=this.coordinateLocation(a),this._renderWorldCopies&&(this.center=this.center.wrap())},wr.prototype.locationPoint=function(t){return this.coordinatePoint(this.locationCoordinate(t))},wr.prototype.pointLocation=function(t){return this.coordinateLocation(this.pointCoordinate(t))},wr.prototype.locationCoordinate=function(e){return t.MercatorCoordinate.fromLngLat(e)},wr.prototype.coordinateLocation=function(t){return t.toLngLat()},wr.prototype.pointCoordinate=function(e){var n=[e.x,e.y,0,1],r=[e.x,e.y,1,1];t.transformMat4(n,n,this.pixelMatrixInverse),t.transformMat4(r,r,this.pixelMatrixInverse);var i=n[3],o=r[3],a=n[1]/i,s=r[1]/o,l=n[2]/i,u=r[2]/o,c=l===u?0:(0-l)/(u-l);return new t.MercatorCoordinate(t.number(n[0]/i,r[0]/o,c)/this.worldSize,t.number(a,s,c)/this.worldSize)},wr.prototype.coordinatePoint=function(e){var n=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(n,n,this.pixelMatrix),new t.Point(n[0]/n[3],n[1]/n[3])},wr.prototype.getBounds=function(){return(new t.LngLatBounds).extend(this.pointLocation(new t.Point(0,0))).extend(this.pointLocation(new t.Point(this.width,0))).extend(this.pointLocation(new t.Point(this.width,this.height))).extend(this.pointLocation(new t.Point(0,this.height)))},wr.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new t.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},wr.prototype.setMaxBounds=function(t){t?(this.lngRange=[t.getWest(),t.getEast()],this.latRange=[t.getSouth(),t.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},wr.prototype.calculatePosMatrix=function(e,n){void 0===n&&(n=!1);var r=e.key,i=n?this._alignedPosMatrixCache:this._posMatrixCache;if(i[r])return i[r];var o=e.canonical,a=this.worldSize/this.zoomScale(o.z),s=o.x+Math.pow(2,o.z)*e.wrap,l=t.identity(new Float64Array(16));return t.translate(l,l,[s*a,o.y*a,0]),t.scale(l,l,[a/t.EXTENT,a/t.EXTENT,1]),t.multiply(l,n?this.alignedProjMatrix:this.projMatrix,l),i[r]=new Float32Array(l),i[r]},wr.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},wr.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var e,n,r,i,o=-90,a=90,s=-180,l=180,u=this.size,c=this._unmodified;if(this.latRange){var h=this.latRange;o=t.mercatorYfromLat(h[1])*this.worldSize,e=(a=t.mercatorYfromLat(h[0])*this.worldSize)-o<u.y?u.y/(a-o):0}if(this.lngRange){var p=this.lngRange;s=t.mercatorXfromLng(p[0])*this.worldSize,n=(l=t.mercatorXfromLng(p[1])*this.worldSize)-s<u.x?u.x/(l-s):0}var f=this.point,d=Math.max(n||0,e||0);if(d)return this.center=this.unproject(new t.Point(n?(l+s)/2:f.x,e?(a+o)/2:f.y)),this.zoom+=this.scaleZoom(d),this._unmodified=c,void(this._constraining=!1);if(this.latRange){var m=f.y,v=u.y/2;m-v<o&&(i=o+v),m+v>a&&(i=a-v)}if(this.lngRange){var g=f.x,y=u.x/2;g-y<s&&(r=s+y),g+y>l&&(r=l-y)}void 0===r&&void 0===i||(this.center=this.unproject(new t.Point(void 0!==r?r:f.x,void 0!==i?i:f.y))),this._unmodified=c,this._constraining=!1}},wr.prototype._calcMatrices=function(){if(this.height){var e=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var n=Math.PI/2+this._pitch,r=this._fov*(.5+e.y/this.height),i=Math.sin(r)*this.cameraToCenterDistance/Math.sin(t.clamp(Math.PI-n-r,.01,Math.PI-.01)),o=this.point,a=o.x,s=o.y,l=1.01*(Math.cos(Math.PI/2-this._pitch)*i+this.cameraToCenterDistance),u=this.height/50,c=new Float64Array(16);t.perspective(c,this._fov,this.width/this.height,u,l),c[8]=2*-e.x/this.width,c[9]=2*e.y/this.height,t.scale(c,c,[1,-1,1]),t.translate(c,c,[0,0,-this.cameraToCenterDistance]),t.rotateX(c,c,this._pitch),t.rotateZ(c,c,this.angle),t.translate(c,c,[-a,-s,0]),this.mercatorMatrix=t.scale([],c,[this.worldSize,this.worldSize,this.worldSize]),t.scale(c,c,[1,1,t.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=c,this.invProjMatrix=t.invert([],this.projMatrix);var h=this.width%2/2,p=this.height%2/2,f=Math.cos(this.angle),d=Math.sin(this.angle),m=a-Math.round(a)+f*h+d*p,v=s-Math.round(s)+f*p+d*h,g=new Float64Array(c);if(t.translate(g,g,[m>.5?m-1:m,v>.5?v-1:v,0]),this.alignedProjMatrix=g,c=t.create(),t.scale(c,c,[this.width/2,-this.height/2,1]),t.translate(c,c,[1,-1,0]),this.labelPlaneMatrix=c,c=t.create(),t.scale(c,c,[1,-1,1]),t.translate(c,c,[-1,-1,0]),t.scale(c,c,[2/this.width,2/this.height,1]),this.glCoordMatrix=c,this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(c=t.invert(new Float64Array(16),this.pixelMatrix)))throw new Error(\\\"failed to invert matrix\\\");this.pixelMatrixInverse=c,this._posMatrixCache={},this._alignedPosMatrixCache={}}},wr.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var e=this.pointCoordinate(new t.Point(0,0)),n=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(n,n,this.pixelMatrix)[3]/this.cameraToCenterDistance},wr.prototype.getCameraPoint=function(){var e=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.Point(0,e))},wr.prototype.getCameraQueryGeometry=function(e){var n=this.getCameraPoint();if(1===e.length)return[e[0],n];for(var r=n.x,i=n.y,o=n.x,a=n.y,s=0,l=e;s<l.length;s+=1){var u=l[s];r=Math.min(r,u.x),i=Math.min(i,u.y),o=Math.max(o,u.x),a=Math.max(a,u.y)}return[new t.Point(r,i),new t.Point(o,i),new t.Point(o,a),new t.Point(r,a),new t.Point(r,i)]},Object.defineProperties(wr.prototype,Ar);var Cr=function(e){var n,r,i,o;this._hashName=e&&encodeURIComponent(e),t.bindAll([\\\"_getCurrentHash\\\",\\\"_onHashChange\\\",\\\"_updateHash\\\"],this),this._updateHash=(n=this._updateHashUnthrottled.bind(this),r=!1,i=null,o=function(){i=null,r&&(n(),i=setTimeout(o,300),r=!1)},function(){return r=!0,i||o(),i})};Cr.prototype.addTo=function(e){return this._map=e,t.window.addEventListener(\\\"hashchange\\\",this._onHashChange,!1),this._map.on(\\\"moveend\\\",this._updateHash),this},Cr.prototype.remove=function(){return t.window.removeEventListener(\\\"hashchange\\\",this._onHashChange,!1),this._map.off(\\\"moveend\\\",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},Cr.prototype.getHashString=function(e){var n=this._map.getCenter(),r=Math.round(100*this._map.getZoom())/100,i=Math.ceil((r*Math.LN2+Math.log(512/360/.5))/Math.LN10),o=Math.pow(10,i),a=Math.round(n.lng*o)/o,s=Math.round(n.lat*o)/o,l=this._map.getBearing(),u=this._map.getPitch(),c=\\\"\\\";if(c+=e?\\\"/\\\"+a+\\\"/\\\"+s+\\\"/\\\"+r:r+\\\"/\\\"+s+\\\"/\\\"+a,(l||u)&&(c+=\\\"/\\\"+Math.round(10*l)/10),u&&(c+=\\\"/\\\"+Math.round(u)),this._hashName){var h=this._hashName,p=!1,f=t.window.location.hash.slice(1).split(\\\"&\\\").map((function(t){var e=t.split(\\\"=\\\")[0];return e===h?(p=!0,e+\\\"=\\\"+c):t})).filter((function(t){return t}));return p||f.push(h+\\\"=\\\"+c),\\\"#\\\"+f.join(\\\"&\\\")}return\\\"#\\\"+c},Cr.prototype._getCurrentHash=function(){var e,n=this,r=t.window.location.hash.replace(\\\"#\\\",\\\"\\\");return this._hashName?(r.split(\\\"&\\\").map((function(t){return t.split(\\\"=\\\")})).forEach((function(t){t[0]===n._hashName&&(e=t)})),(e&&e[1]||\\\"\\\").split(\\\"/\\\")):r.split(\\\"/\\\")},Cr.prototype._onHashChange=function(){var t=this._getCurrentHash();if(t.length>=3&&!t.some((function(t){return isNaN(t)}))){var e=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(t[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+t[2],+t[1]],zoom:+t[0],bearing:e,pitch:+(t[4]||0)}),!0}return!1},Cr.prototype._updateHashUnthrottled=function(){var e=this.getHashString();try{t.window.history.replaceState(t.window.history.state,\\\"\\\",e)}catch(t){}};var Mr={linearity:.3,easing:t.bezier(0,0,.3,1)},Er=t.extend({deceleration:2500,maxSpeed:1400},Mr),Tr=t.extend({deceleration:20,maxSpeed:1400},Mr),Sr=t.extend({deceleration:1e3,maxSpeed:360},Mr),kr=t.extend({deceleration:1e3,maxSpeed:90},Mr),Or=function(t){this._map=t,this.clear()};function Ir(t,e){(!t.duration||t.duration<e.duration)&&(t.duration=e.duration,t.easing=e.easing)}function Lr(e,n,r){var i=r.maxSpeed,o=r.linearity,a=r.deceleration,s=t.clamp(e*o/(n/1e3),-i,i),l=Math.abs(s)/(a*o);return{easing:r.easing,duration:1e3*l,amount:s*(l/2)}}Or.prototype.clear=function(){this._inertiaBuffer=[]},Or.prototype.record=function(e){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:t.browser.now(),settings:e})},Or.prototype._drainInertiaBuffer=function(){for(var e=this._inertiaBuffer,n=t.browser.now();e.length>0&&n-e[0].time>160;)e.shift()},Or.prototype._onMoveEnd=function(e){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var n={zoom:0,bearing:0,pitch:0,pan:new t.Point(0,0),pinchAround:void 0,around:void 0},r=0,i=this._inertiaBuffer;r<i.length;r+=1){var o=i[r].settings;n.zoom+=o.zoomDelta||0,n.bearing+=o.bearingDelta||0,n.pitch+=o.pitchDelta||0,o.panDelta&&n.pan._add(o.panDelta),o.around&&(n.around=o.around),o.pinchAround&&(n.pinchAround=o.pinchAround)}var a=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,s={};if(n.pan.mag()){var l=Lr(n.pan.mag(),a,t.extend({},Er,e||{}));s.offset=n.pan.mult(l.amount/n.pan.mag()),s.center=this._map.transform.center,Ir(s,l)}if(n.zoom){var u=Lr(n.zoom,a,Tr);s.zoom=this._map.transform.zoom+u.amount,Ir(s,u)}if(n.bearing){var c=Lr(n.bearing,a,Sr);s.bearing=this._map.transform.bearing+t.clamp(c.amount,-179,179),Ir(s,c)}if(n.pitch){var h=Lr(n.pitch,a,kr);s.pitch=this._map.transform.pitch+h.amount,Ir(s,h)}if(s.zoom||s.bearing){var p=void 0===n.pinchAround?n.around:n.pinchAround;s.around=p?this._map.unproject(p):this._map.getCenter()}return this.clear(),t.extend(s,{noMoveStart:!0})}};var Pr=function(e){function r(r,i,o,a){void 0===a&&(a={});var s=n.mousePos(i.getCanvasContainer(),o),l=i.unproject(s);e.call(this,r,t.extend({point:s,lngLat:l,originalEvent:o},a)),this._defaultPrevented=!1,this.target=i}e&&(r.__proto__=e),(r.prototype=Object.create(e&&e.prototype)).constructor=r;var i={defaultPrevented:{configurable:!0}};return r.prototype.preventDefault=function(){this._defaultPrevented=!0},i.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(r.prototype,i),r}(t.Event),zr=function(e){function r(r,i,o){var a=\\\"touchend\\\"===r?o.changedTouches:o.touches,s=n.touchPos(i.getCanvasContainer(),a),l=s.map((function(t){return i.unproject(t)})),u=s.reduce((function(t,e,n,r){return t.add(e.div(r.length))}),new t.Point(0,0)),c=i.unproject(u);e.call(this,r,{points:s,point:u,lngLats:l,lngLat:c,originalEvent:o}),this._defaultPrevented=!1}e&&(r.__proto__=e),(r.prototype=Object.create(e&&e.prototype)).constructor=r;var i={defaultPrevented:{configurable:!0}};return r.prototype.preventDefault=function(){this._defaultPrevented=!0},i.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(r.prototype,i),r}(t.Event),Rr=function(t){function e(e,n,r){t.call(this,e,{originalEvent:r}),this._defaultPrevented=!1}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0},n.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,n),e}(t.Event),Dr=function(t,e){this._map=t,this._clickTolerance=e.clickTolerance};Dr.prototype.reset=function(){delete this._mousedownPos},Dr.prototype.wheel=function(t){return this._firePreventable(new Rr(t.type,this._map,t))},Dr.prototype.mousedown=function(t,e){return this._mousedownPos=e,this._firePreventable(new Pr(t.type,this._map,t))},Dr.prototype.mouseup=function(t){this._map.fire(new Pr(t.type,this._map,t))},Dr.prototype.click=function(t,e){this._mousedownPos&&this._mousedownPos.dist(e)>=this._clickTolerance||this._map.fire(new Pr(t.type,this._map,t))},Dr.prototype.dblclick=function(t){return this._firePreventable(new Pr(t.type,this._map,t))},Dr.prototype.mouseover=function(t){this._map.fire(new Pr(t.type,this._map,t))},Dr.prototype.mouseout=function(t){this._map.fire(new Pr(t.type,this._map,t))},Dr.prototype.touchstart=function(t){return this._firePreventable(new zr(t.type,this._map,t))},Dr.prototype.touchmove=function(t){this._map.fire(new zr(t.type,this._map,t))},Dr.prototype.touchend=function(t){this._map.fire(new zr(t.type,this._map,t))},Dr.prototype.touchcancel=function(t){this._map.fire(new zr(t.type,this._map,t))},Dr.prototype._firePreventable=function(t){if(this._map.fire(t),t.defaultPrevented)return{}},Dr.prototype.isEnabled=function(){return!0},Dr.prototype.isActive=function(){return!1},Dr.prototype.enable=function(){},Dr.prototype.disable=function(){};var $r=function(t){this._map=t};$r.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},$r.prototype.mousemove=function(t){this._map.fire(new Pr(t.type,this._map,t))},$r.prototype.mousedown=function(){this._delayContextMenu=!0},$r.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Pr(\\\"contextmenu\\\",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},$r.prototype.contextmenu=function(t){this._delayContextMenu?this._contextMenuEvent=t:this._map.fire(new Pr(t.type,this._map,t)),this._map.listens(\\\"contextmenu\\\")&&t.preventDefault()},$r.prototype.isEnabled=function(){return!0},$r.prototype.isActive=function(){return!1},$r.prototype.enable=function(){},$r.prototype.disable=function(){};var Br=function(t,e){this._map=t,this._el=t.getCanvasContainer(),this._container=t.getContainer(),this._clickTolerance=e.clickTolerance||1};function Nr(t,e){for(var n={},r=0;r<t.length;r++)n[t[r].identifier]=e[r];return n}Br.prototype.isEnabled=function(){return!!this._enabled},Br.prototype.isActive=function(){return!!this._active},Br.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Br.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Br.prototype.mousedown=function(t,e){this.isEnabled()&&t.shiftKey&&0===t.button&&(n.disableDrag(),this._startPos=this._lastPos=e,this._active=!0)},Br.prototype.mousemoveWindow=function(t,e){if(this._active){var r=e;if(!(this._lastPos.equals(r)||!this._box&&r.dist(this._startPos)<this._clickTolerance)){var i=this._startPos;this._lastPos=r,this._box||(this._box=n.create(\\\"div\\\",\\\"mapboxgl-boxzoom\\\",this._container),this._container.classList.add(\\\"mapboxgl-crosshair\\\"),this._fireEvent(\\\"boxzoomstart\\\",t));var o=Math.min(i.x,r.x),a=Math.max(i.x,r.x),s=Math.min(i.y,r.y),l=Math.max(i.y,r.y);n.setTransform(this._box,\\\"translate(\\\"+o+\\\"px,\\\"+s+\\\"px)\\\"),this._box.style.width=a-o+\\\"px\\\",this._box.style.height=l-s+\\\"px\\\"}}},Br.prototype.mouseupWindow=function(e,r){var i=this;if(this._active&&0===e.button){var o=this._startPos,a=r;if(this.reset(),n.suppressClick(),o.x!==a.x||o.y!==a.y)return this._map.fire(new t.Event(\\\"boxzoomend\\\",{originalEvent:e})),{cameraAnimation:function(t){return t.fitScreenCoordinates(o,a,i._map.getBearing(),{linear:!0})}};this._fireEvent(\\\"boxzoomcancel\\\",e)}},Br.prototype.keydown=function(t){this._active&&27===t.keyCode&&(this.reset(),this._fireEvent(\\\"boxzoomcancel\\\",t))},Br.prototype.reset=function(){this._active=!1,this._container.classList.remove(\\\"mapboxgl-crosshair\\\"),this._box&&(n.remove(this._box),this._box=null),n.enableDrag(),delete this._startPos,delete this._lastPos},Br.prototype._fireEvent=function(e,n){return this._map.fire(new t.Event(e,{originalEvent:n}))};var Fr=function(t){this.reset(),this.numTouches=t.numTouches};Fr.prototype.reset=function(){delete this.centroid,delete this.startTime,delete this.touches,this.aborted=!1},Fr.prototype.touchstart=function(e,n,r){(this.centroid||r.length>this.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=e.timeStamp),r.length===this.numTouches&&(this.centroid=function(e){for(var n=new t.Point(0,0),r=0,i=e;r<i.length;r+=1)n._add(i[r]);return n.div(e.length)}(n),this.touches=Nr(r,n)))},Fr.prototype.touchmove=function(t,e,n){if(!this.aborted&&this.centroid){var r=Nr(n,e);for(var i in this.touches){var o=r[i];(!o||o.dist(this.touches[i])>30)&&(this.aborted=!0)}}},Fr.prototype.touchend=function(t,e,n){if((!this.centroid||t.timeStamp-this.startTime>500)&&(this.aborted=!0),0===n.length){var r=!this.aborted&&this.centroid;if(this.reset(),r)return r}};var jr=function(t){this.singleTap=new Fr(t),this.numTaps=t.numTaps,this.reset()};jr.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},jr.prototype.touchstart=function(t,e,n){this.singleTap.touchstart(t,e,n)},jr.prototype.touchmove=function(t,e,n){this.singleTap.touchmove(t,e,n)},jr.prototype.touchend=function(t,e,n){var r=this.singleTap.touchend(t,e,n);if(r){var i=t.timeStamp-this.lastTime<500,o=!this.lastTap||this.lastTap.dist(r)<30;if(i&&o||this.reset(),this.count++,this.lastTime=t.timeStamp,this.lastTap=r,this.count===this.numTaps)return this.reset(),r}};var Ur=function(){this._zoomIn=new jr({numTouches:1,numTaps:2}),this._zoomOut=new jr({numTouches:2,numTaps:1}),this.reset()};Ur.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},Ur.prototype.touchstart=function(t,e,n){this._zoomIn.touchstart(t,e,n),this._zoomOut.touchstart(t,e,n)},Ur.prototype.touchmove=function(t,e,n){this._zoomIn.touchmove(t,e,n),this._zoomOut.touchmove(t,e,n)},Ur.prototype.touchend=function(t,e,n){var r=this,i=this._zoomIn.touchend(t,e,n),o=this._zoomOut.touchend(t,e,n);return i?(this._active=!0,t.preventDefault(),setTimeout((function(){return r.reset()}),0),{cameraAnimation:function(e){return e.easeTo({duration:300,zoom:e.getZoom()+1,around:e.unproject(i)},{originalEvent:t})}}):o?(this._active=!0,t.preventDefault(),setTimeout((function(){return r.reset()}),0),{cameraAnimation:function(e){return e.easeTo({duration:300,zoom:e.getZoom()-1,around:e.unproject(o)},{originalEvent:t})}}):void 0},Ur.prototype.touchcancel=function(){this.reset()},Ur.prototype.enable=function(){this._enabled=!0},Ur.prototype.disable=function(){this._enabled=!1,this.reset()},Ur.prototype.isEnabled=function(){return this._enabled},Ur.prototype.isActive=function(){return this._active};var qr=function(t){this.reset(),this._clickTolerance=t.clickTolerance||1};qr.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},qr.prototype._correctButton=function(t,e){return!1},qr.prototype._move=function(t,e){return{}},qr.prototype.mousedown=function(t,e){if(!this._lastPoint){var r=n.mouseButton(t);this._correctButton(t,r)&&(this._lastPoint=e,this._eventButton=r)}},qr.prototype.mousemoveWindow=function(t,e){var n=this._lastPoint;if(n&&(t.preventDefault(),this._moved||!(e.dist(n)<this._clickTolerance)))return this._moved=!0,this._lastPoint=e,this._move(n,e)},qr.prototype.mouseupWindow=function(t){n.mouseButton(t)===this._eventButton&&(this._moved&&n.suppressClick(),this.reset())},qr.prototype.enable=function(){this._enabled=!0},qr.prototype.disable=function(){this._enabled=!1,this.reset()},qr.prototype.isEnabled=function(){return this._enabled},qr.prototype.isActive=function(){return this._active};var Vr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.mousedown=function(e,n){t.prototype.mousedown.call(this,e,n),this._lastPoint&&(this._active=!0)},e.prototype._correctButton=function(t,e){return 0===e&&!t.ctrlKey},e.prototype._move=function(t,e){return{around:e,panDelta:e.sub(t)}},e}(qr),Hr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._correctButton=function(t,e){return 0===e&&t.ctrlKey||2===e},e.prototype._move=function(t,e){var n=.8*(e.x-t.x);if(n)return this._active=!0,{bearingDelta:n}},e.prototype.contextmenu=function(t){t.preventDefault()},e}(qr),Gr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype._correctButton=function(t,e){return 0===e&&t.ctrlKey||2===e},e.prototype._move=function(t,e){var n=-.5*(e.y-t.y);if(n)return this._active=!0,{pitchDelta:n}},e.prototype.contextmenu=function(t){t.preventDefault()},e}(qr),Wr=function(t){this._minTouches=1,this._clickTolerance=t.clickTolerance||1,this.reset()};Wr.prototype.reset=function(){this._active=!1,this._touches={},this._sum=new t.Point(0,0)},Wr.prototype.touchstart=function(t,e,n){return this._calculateTransform(t,e,n)},Wr.prototype.touchmove=function(t,e,n){if(this._active)return t.preventDefault(),this._calculateTransform(t,e,n)},Wr.prototype.touchend=function(t,e,n){this._calculateTransform(t,e,n),this._active&&n.length<this._minTouches&&this.reset()},Wr.prototype.touchcancel=function(){this.reset()},Wr.prototype._calculateTransform=function(e,n,r){r.length>0&&(this._active=!0);var i=Nr(r,n),o=new t.Point(0,0),a=new t.Point(0,0),s=0;for(var l in i){var u=i[l],c=this._touches[l];c&&(o._add(u),a._add(u.sub(c)),s++,i[l]=u)}if(this._touches=i,!(s<this._minTouches)&&a.mag()){var h=a.div(s);if(this._sum._add(h),!(this._sum.mag()<this._clickTolerance))return{around:o.div(s),panDelta:h}}},Wr.prototype.enable=function(){this._enabled=!0},Wr.prototype.disable=function(){this._enabled=!1,this.reset()},Wr.prototype.isEnabled=function(){return this._enabled},Wr.prototype.isActive=function(){return this._active};var Xr=function(){this.reset()};function Yr(t,e,n){for(var r=0;r<t.length;r++)if(t[r].identifier===n)return e[r]}function Zr(t,e){return Math.log(t/e)/Math.LN2}Xr.prototype.reset=function(){this._active=!1,delete this._firstTwoTouches},Xr.prototype._start=function(t){},Xr.prototype._move=function(t,e,n){return{}},Xr.prototype.touchstart=function(t,e,n){this._firstTwoTouches||n.length<2||(this._firstTwoTouches=[n[0].identifier,n[1].identifier],this._start([e[0],e[1]]))},Xr.prototype.touchmove=function(t,e,n){if(this._firstTwoTouches){t.preventDefault();var r=this._firstTwoTouches,i=r[1],o=Yr(n,e,r[0]),a=Yr(n,e,i);if(o&&a){var s=this._aroundCenter?null:o.add(a).div(2);return this._move([o,a],s,t)}}},Xr.prototype.touchend=function(t,e,r){if(this._firstTwoTouches){var i=this._firstTwoTouches,o=i[1],a=Yr(r,e,i[0]),s=Yr(r,e,o);a&&s||(this._active&&n.suppressClick(),this.reset())}},Xr.prototype.touchcancel=function(){this.reset()},Xr.prototype.enable=function(t){this._enabled=!0,this._aroundCenter=!!t&&\\\"center\\\"===t.around},Xr.prototype.disable=function(){this._enabled=!1,this.reset()},Xr.prototype.isEnabled=function(){return this._enabled},Xr.prototype.isActive=function(){return this._active};var Kr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.reset=function(){t.prototype.reset.call(this),delete this._distance,delete this._startDistance},e.prototype._start=function(t){this._startDistance=this._distance=t[0].dist(t[1])},e.prototype._move=function(t,e){var n=this._distance;if(this._distance=t[0].dist(t[1]),this._active||!(Math.abs(Zr(this._distance,this._startDistance))<.1))return this._active=!0,{zoomDelta:Zr(this._distance,n),pinchAround:e}},e}(Xr);function Jr(t,e){return 180*t.angleWith(e)/Math.PI}var Qr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.reset=function(){t.prototype.reset.call(this),delete this._minDiameter,delete this._startVector,delete this._vector},e.prototype._start=function(t){this._startVector=this._vector=t[0].sub(t[1]),this._minDiameter=t[0].dist(t[1])},e.prototype._move=function(t,e){var n=this._vector;if(this._vector=t[0].sub(t[1]),this._active||!this._isBelowThreshold(this._vector))return this._active=!0,{bearingDelta:Jr(this._vector,n),pinchAround:e}},e.prototype._isBelowThreshold=function(t){this._minDiameter=Math.min(this._minDiameter,t.mag());var e=25/(Math.PI*this._minDiameter)*360,n=Jr(t,this._startVector);return Math.abs(n)<e},e}(Xr);function ti(t){return Math.abs(t.y)>Math.abs(t.x)}var ei=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.reset=function(){t.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},e.prototype._start=function(t){this._lastPoints=t,ti(t[0].sub(t[1]))&&(this._valid=!1)},e.prototype._move=function(t,e,n){var r=t[0].sub(this._lastPoints[0]),i=t[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(r,i,n.timeStamp),this._valid)return this._lastPoints=t,this._active=!0,{pitchDelta:(r.y+i.y)/2*-.5}},e.prototype.gestureBeginsVertically=function(t,e,n){if(void 0!==this._valid)return this._valid;var r=t.mag()>=2,i=e.mag()>=2;if(r||i){if(!r||!i)return void 0===this._firstMove&&(this._firstMove=n),n-this._firstMove<100&&void 0;var o=t.y>0==e.y>0;return ti(t)&&ti(e)&&o}},e}(Xr),ni={panStep:100,bearingStep:15,pitchStep:10},ri=function(){var t=ni;this._panStep=t.panStep,this._bearingStep=t.bearingStep,this._pitchStep=t.pitchStep};function ii(t){return t*(2-t)}ri.prototype.reset=function(){this._active=!1},ri.prototype.keydown=function(t){var e=this;if(!(t.altKey||t.ctrlKey||t.metaKey)){var n=0,r=0,i=0,o=0,a=0;switch(t.keyCode){case 61:case 107:case 171:case 187:n=1;break;case 189:case 109:case 173:n=-1;break;case 37:t.shiftKey?r=-1:(t.preventDefault(),o=-1);break;case 39:t.shiftKey?r=1:(t.preventDefault(),o=1);break;case 38:t.shiftKey?i=1:(t.preventDefault(),a=-1);break;case 40:t.shiftKey?i=-1:(t.preventDefault(),a=1);break;default:return}return{cameraAnimation:function(s){var l=s.getZoom();s.easeTo({duration:300,easeId:\\\"keyboardHandler\\\",easing:ii,zoom:n?Math.round(l)+n*(t.shiftKey?2:1):l,bearing:s.getBearing()+r*e._bearingStep,pitch:s.getPitch()+i*e._pitchStep,offset:[-o*e._panStep,-a*e._panStep],center:s.getCenter()},{originalEvent:t})}}}},ri.prototype.enable=function(){this._enabled=!0},ri.prototype.disable=function(){this._enabled=!1,this.reset()},ri.prototype.isEnabled=function(){return this._enabled},ri.prototype.isActive=function(){return this._active};var oi=function(e,n){this._map=e,this._el=e.getCanvasContainer(),this._handler=n,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,t.bindAll([\\\"_onWheel\\\",\\\"_onTimeout\\\",\\\"_onScrollFrame\\\",\\\"_onScrollFinished\\\"],this)};oi.prototype.setZoomRate=function(t){this._defaultZoomRate=t},oi.prototype.setWheelZoomRate=function(t){this._wheelZoomRate=t},oi.prototype.isEnabled=function(){return!!this._enabled},oi.prototype.isActive=function(){return!!this._active||void 0!==this._finishTimeout},oi.prototype.isZooming=function(){return!!this._zooming},oi.prototype.enable=function(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=t&&\\\"center\\\"===t.around)},oi.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},oi.prototype.wheel=function(e){if(this.isEnabled()){var n=e.deltaMode===t.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY,r=t.browser.now(),i=r-(this._lastWheelEventTime||0);this._lastWheelEventTime=r,0!==n&&n%4.000244140625==0?this._type=\\\"wheel\\\":0!==n&&Math.abs(n)<4?this._type=\\\"trackpad\\\":i>400?(this._type=null,this._lastValue=n,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(i*n)<200?\\\"trackpad\\\":\\\"wheel\\\",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,n+=this._lastValue)),e.shiftKey&&n&&(n/=4),this._type&&(this._lastWheelEvent=e,this._delta-=n,this._active||this._start(e)),e.preventDefault()}},oi.prototype._onTimeout=function(t){this._type=\\\"wheel\\\",this._delta-=this._lastValue,this._active||this._start(t)},oi.prototype._start=function(e){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var r=n.mousePos(this._el,e);this._around=t.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(r)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},oi.prototype.renderFrame=function(){return this._onScrollFrame()},oi.prototype._onScrollFrame=function(){var e=this;if(this._frameId&&(this._frameId=null,this.isActive())){var n=this._map.transform;if(0!==this._delta){var r=\\\"wheel\\\"===this._type&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,i=2/(1+Math.exp(-Math.abs(this._delta*r)));this._delta<0&&0!==i&&(i=1/i);var o=\\\"number\\\"==typeof this._targetZoom?n.zoomScale(this._targetZoom):n.scale;this._targetZoom=Math.min(n.maxZoom,Math.max(n.minZoom,n.scaleZoom(o*i))),\\\"wheel\\\"===this._type&&(this._startZoom=n.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var a,s=\\\"number\\\"==typeof this._targetZoom?this._targetZoom:n.zoom,l=this._startZoom,u=this._easing,c=!1;if(\\\"wheel\\\"===this._type&&l&&u){var h=Math.min((t.browser.now()-this._lastWheelEventTime)/200,1),p=u(h);a=t.number(l,s,p),h<1?this._frameId||(this._frameId=!0):c=!0}else a=s,c=!0;return this._active=!0,c&&(this._active=!1,this._finishTimeout=setTimeout((function(){e._zooming=!1,e._handler._triggerRenderFrame(),delete e._targetZoom,delete e._finishTimeout}),200)),{noInertia:!0,needsRenderFrame:!c,zoomDelta:a-n.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},oi.prototype._smoothOutEasing=function(e){var n=t.ease;if(this._prevEase){var r=this._prevEase,i=(t.browser.now()-r.start)/r.duration,o=r.easing(i+.01)-r.easing(i),a=.27/Math.sqrt(o*o+1e-4)*.01,s=Math.sqrt(.0729-a*a);n=t.bezier(a,s,.25,1)}return this._prevEase={start:t.browser.now(),duration:e,easing:n},n},oi.prototype.reset=function(){this._active=!1};var ai=function(t,e){this._clickZoom=t,this._tapZoom=e};ai.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},ai.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},ai.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},ai.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var si=function(){this.reset()};si.prototype.reset=function(){this._active=!1},si.prototype.dblclick=function(t,e){return t.preventDefault(),{cameraAnimation:function(n){n.easeTo({duration:300,zoom:n.getZoom()+(t.shiftKey?-1:1),around:n.unproject(e)},{originalEvent:t})}}},si.prototype.enable=function(){this._enabled=!0},si.prototype.disable=function(){this._enabled=!1,this.reset()},si.prototype.isEnabled=function(){return this._enabled},si.prototype.isActive=function(){return this._active};var li=function(){this._tap=new jr({numTouches:1,numTaps:1}),this.reset()};li.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},li.prototype.touchstart=function(t,e,n){this._swipePoint||(this._tapTime&&t.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?n.length>0&&(this._swipePoint=e[0],this._swipeTouch=n[0].identifier):this._tap.touchstart(t,e,n))},li.prototype.touchmove=function(t,e,n){if(this._tapTime){if(this._swipePoint){if(n[0].identifier!==this._swipeTouch)return;var r=e[0],i=r.y-this._swipePoint.y;return this._swipePoint=r,t.preventDefault(),this._active=!0,{zoomDelta:i/128}}}else this._tap.touchmove(t,e,n)},li.prototype.touchend=function(t,e,n){this._tapTime?this._swipePoint&&0===n.length&&this.reset():this._tap.touchend(t,e,n)&&(this._tapTime=t.timeStamp)},li.prototype.touchcancel=function(){this.reset()},li.prototype.enable=function(){this._enabled=!0},li.prototype.disable=function(){this._enabled=!1,this.reset()},li.prototype.isEnabled=function(){return this._enabled},li.prototype.isActive=function(){return this._active};var ui=function(t,e,n){this._el=t,this._mousePan=e,this._touchPan=n};ui.prototype.enable=function(t){this._inertiaOptions=t||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add(\\\"mapboxgl-touch-drag-pan\\\")},ui.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove(\\\"mapboxgl-touch-drag-pan\\\")},ui.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},ui.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var ci=function(t,e,n){this._pitchWithRotate=t.pitchWithRotate,this._mouseRotate=e,this._mousePitch=n};ci.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},ci.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},ci.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},ci.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var hi=function(t,e,n,r){this._el=t,this._touchZoom=e,this._touchRotate=n,this._tapDragZoom=r,this._rotationDisabled=!1,this._enabled=!0};hi.prototype.enable=function(t){this._touchZoom.enable(t),this._rotationDisabled||this._touchRotate.enable(t),this._tapDragZoom.enable(),this._el.classList.add(\\\"mapboxgl-touch-zoom-rotate\\\")},hi.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove(\\\"mapboxgl-touch-zoom-rotate\\\")},hi.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},hi.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},hi.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},hi.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var pi=function(t){return t.zoom||t.drag||t.pitch||t.rotate},fi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e}(t.Event);function di(t){return t.panDelta&&t.panDelta.mag()||t.zoomDelta||t.bearingDelta||t.pitchDelta}var mi=function(e,r){this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new Or(e),this._bearingSnap=r.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(r),t.bindAll([\\\"handleEvent\\\",\\\"handleWindowEvent\\\"],this);var i=this._el;this._listeners=[[i,\\\"touchstart\\\",{passive:!1}],[i,\\\"touchmove\\\",{passive:!1}],[i,\\\"touchend\\\",void 0],[i,\\\"touchcancel\\\",void 0],[i,\\\"mousedown\\\",void 0],[i,\\\"mousemove\\\",void 0],[i,\\\"mouseup\\\",void 0],[t.window.document,\\\"mousemove\\\",{capture:!0}],[t.window.document,\\\"mouseup\\\",void 0],[i,\\\"mouseover\\\",void 0],[i,\\\"mouseout\\\",void 0],[i,\\\"dblclick\\\",void 0],[i,\\\"click\\\",void 0],[i,\\\"keydown\\\",{capture:!1}],[i,\\\"keyup\\\",void 0],[i,\\\"wheel\\\",{passive:!1}],[i,\\\"contextmenu\\\",void 0],[t.window,\\\"blur\\\",void 0]];for(var o=0,a=this._listeners;o<a.length;o+=1){var s=a[o],l=s[0];n.addEventListener(l,s[1],l===t.window.document?this.handleWindowEvent:this.handleEvent,s[2])}};mi.prototype.destroy=function(){for(var e=0,r=this._listeners;e<r.length;e+=1){var i=r[e],o=i[0];n.removeEventListener(o,i[1],o===t.window.document?this.handleWindowEvent:this.handleEvent,i[2])}},mi.prototype._addDefaultHandlers=function(t){var e=this._map,n=e.getCanvasContainer();this._add(\\\"mapEvent\\\",new Dr(e,t));var r=e.boxZoom=new Br(e,t);this._add(\\\"boxZoom\\\",r);var i=new Ur,o=new si;e.doubleClickZoom=new ai(o,i),this._add(\\\"tapZoom\\\",i),this._add(\\\"clickZoom\\\",o);var a=new li;this._add(\\\"tapDragZoom\\\",a);var s=e.touchPitch=new ei;this._add(\\\"touchPitch\\\",s);var l=new Hr(t),u=new Gr(t);e.dragRotate=new ci(t,l,u),this._add(\\\"mouseRotate\\\",l,[\\\"mousePitch\\\"]),this._add(\\\"mousePitch\\\",u,[\\\"mouseRotate\\\"]);var c=new Vr(t),h=new Wr(t);e.dragPan=new ui(n,c,h),this._add(\\\"mousePan\\\",c),this._add(\\\"touchPan\\\",h,[\\\"touchZoom\\\",\\\"touchRotate\\\"]);var p=new Qr,f=new Kr;e.touchZoomRotate=new hi(n,f,p,a),this._add(\\\"touchRotate\\\",p,[\\\"touchPan\\\",\\\"touchZoom\\\"]),this._add(\\\"touchZoom\\\",f,[\\\"touchPan\\\",\\\"touchRotate\\\"]);var d=e.scrollZoom=new oi(e,this);this._add(\\\"scrollZoom\\\",d,[\\\"mousePan\\\"]);var m=e.keyboard=new ri;this._add(\\\"keyboard\\\",m),this._add(\\\"blockableMapEvent\\\",new $r(e));for(var v=0,g=[\\\"boxZoom\\\",\\\"doubleClickZoom\\\",\\\"tapDragZoom\\\",\\\"touchPitch\\\",\\\"dragRotate\\\",\\\"dragPan\\\",\\\"touchZoomRotate\\\",\\\"scrollZoom\\\",\\\"keyboard\\\"];v<g.length;v+=1){var y=g[v];t.interactive&&t[y]&&e[y].enable(t[y])}},mi.prototype._add=function(t,e,n){this._handlers.push({handlerName:t,handler:e,allowed:n}),this._handlersById[t]=e},mi.prototype.stop=function(){if(!this._updatingCamera){for(var t=0,e=this._handlers;t<e.length;t+=1)e[t].handler.reset();this._inertia.clear(),this._fireEvents({},{}),this._changes=[]}},mi.prototype.isActive=function(){for(var t=0,e=this._handlers;t<e.length;t+=1)if(e[t].handler.isActive())return!0;return!1},mi.prototype.isZooming=function(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()},mi.prototype.isRotating=function(){return!!this._eventsInProgress.rotate},mi.prototype.isMoving=function(){return Boolean(pi(this._eventsInProgress))||this.isZooming()},mi.prototype._blockedByActive=function(t,e,n){for(var r in t)if(r!==n&&(!e||e.indexOf(r)<0))return!0;return!1},mi.prototype.handleWindowEvent=function(t){this.handleEvent(t,t.type+\\\"Window\\\")},mi.prototype._getMapTouches=function(t){for(var e=[],n=0,r=t;n<r.length;n+=1){var i=r[n];this._el.contains(i.target)&&e.push(i)}return e},mi.prototype.handleEvent=function(t,e){if(\\\"blur\\\"!==t.type){this._updatingCamera=!0;for(var r=\\\"renderFrame\\\"===t.type?void 0:t,i={needsRenderFrame:!1},o={},a={},s=t.touches?this._getMapTouches(t.touches):void 0,l=s?n.touchPos(this._el,s):n.mousePos(this._el,t),u=0,c=this._handlers;u<c.length;u+=1){var h=c[u],p=h.handlerName,f=h.handler,d=h.allowed;if(f.isEnabled()){var m=void 0;this._blockedByActive(a,d,p)?f.reset():f[e||t.type]&&(m=f[e||t.type](t,l,s),this.mergeHandlerResult(i,o,m,p,r),m&&m.needsRenderFrame&&this._triggerRenderFrame()),(m||f.isActive())&&(a[p]=f)}}var v={};for(var g in this._previousActiveHandlers)a[g]||(v[g]=r);this._previousActiveHandlers=a,(Object.keys(v).length||di(i))&&(this._changes.push([i,o,v]),this._triggerRenderFrame()),(Object.keys(a).length||di(i))&&this._map._stop(!0),this._updatingCamera=!1;var y=i.cameraAnimation;y&&(this._inertia.clear(),this._fireEvents({},{}),this._changes=[],y(this._map))}else this.stop()},mi.prototype.mergeHandlerResult=function(e,n,r,i,o){if(r){t.extend(e,r);var a={handlerName:i,originalEvent:r.originalEvent||o};void 0!==r.zoomDelta&&(n.zoom=a),void 0!==r.panDelta&&(n.drag=a),void 0!==r.pitchDelta&&(n.pitch=a),void 0!==r.bearingDelta&&(n.rotate=a)}},mi.prototype._applyChanges=function(){for(var e={},n={},r={},i=0,o=this._changes;i<o.length;i+=1){var a=o[i],s=a[0],l=a[1],u=a[2];s.panDelta&&(e.panDelta=(e.panDelta||new t.Point(0,0))._add(s.panDelta)),s.zoomDelta&&(e.zoomDelta=(e.zoomDelta||0)+s.zoomDelta),s.bearingDelta&&(e.bearingDelta=(e.bearingDelta||0)+s.bearingDelta),s.pitchDelta&&(e.pitchDelta=(e.pitchDelta||0)+s.pitchDelta),void 0!==s.around&&(e.around=s.around),void 0!==s.pinchAround&&(e.pinchAround=s.pinchAround),s.noInertia&&(e.noInertia=s.noInertia),t.extend(n,l),t.extend(r,u)}this._updateMapTransform(e,n,r),this._changes=[]},mi.prototype._updateMapTransform=function(t,e,n){var r=this._map,i=r.transform;if(!di(t))return this._fireEvents(e,n);var o=t.panDelta,a=t.zoomDelta,s=t.bearingDelta,l=t.pitchDelta,u=t.around,c=t.pinchAround;void 0!==c&&(u=c),r._stop(!0),u=u||r.transform.centerPoint;var h=i.pointLocation(o?u.sub(o):u);s&&(i.bearing+=s),l&&(i.pitch+=l),a&&(i.zoom+=a),i.setLocationAtPoint(h,u),this._map._update(),t.noInertia||this._inertia.record(t),this._fireEvents(e,n)},mi.prototype._fireEvents=function(e,n){var r=this,i=pi(this._eventsInProgress),o=pi(e),a={};for(var s in e)this._eventsInProgress[s]||(a[s+\\\"start\\\"]=e[s].originalEvent),this._eventsInProgress[s]=e[s];for(var l in!i&&o&&this._fireEvent(\\\"movestart\\\",o.originalEvent),a)this._fireEvent(l,a[l]);for(var u in e.rotate&&(this._bearingChanged=!0),o&&this._fireEvent(\\\"move\\\",o.originalEvent),e)this._fireEvent(u,e[u].originalEvent);var c,h={};for(var p in this._eventsInProgress){var f=this._eventsInProgress[p],d=f.handlerName,m=f.originalEvent;this._handlersById[d].isActive()||(delete this._eventsInProgress[p],h[p+\\\"end\\\"]=c=n[d]||m)}for(var v in h)this._fireEvent(v,h[v]);var g=pi(this._eventsInProgress);if((i||o)&&!g){this._updatingCamera=!0;var y=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),_=function(t){return 0!==t&&-r._bearingSnap<t&&t<r._bearingSnap};y?(_(y.bearing||this._map.getBearing())&&(y.bearing=0),this._map.easeTo(y,{originalEvent:c})):(this._map.fire(new t.Event(\\\"moveend\\\",{originalEvent:c})),_(this._map.getBearing())&&this._map.resetNorth()),this._bearingChanged=!1,this._updatingCamera=!1}},mi.prototype._fireEvent=function(e,n){this._map.fire(new t.Event(e,n?{originalEvent:n}:{}))},mi.prototype._triggerRenderFrame=function(){var t=this;void 0===this._frameId&&(this._frameId=this._map._requestRenderFrame((function(e){delete t._frameId,t.handleEvent(new fi(\\\"renderFrame\\\",{timeStamp:e})),t._applyChanges()})))};var vi=function(e){function n(n,r){e.call(this),this._moving=!1,this._zooming=!1,this.transform=n,this._bearingSnap=r.bearingSnap,t.bindAll([\\\"_renderFrameCallback\\\"],this)}return e&&(n.__proto__=e),(n.prototype=Object.create(e&&e.prototype)).constructor=n,n.prototype.getCenter=function(){return new t.LngLat(this.transform.center.lng,this.transform.center.lat)},n.prototype.setCenter=function(t,e){return this.jumpTo({center:t},e)},n.prototype.panBy=function(e,n,r){return e=t.Point.convert(e).mult(-1),this.panTo(this.transform.center,t.extend({offset:e},n),r)},n.prototype.panTo=function(e,n,r){return this.easeTo(t.extend({center:e},n),r)},n.prototype.getZoom=function(){return this.transform.zoom},n.prototype.setZoom=function(t,e){return this.jumpTo({zoom:t},e),this},n.prototype.zoomTo=function(e,n,r){return this.easeTo(t.extend({zoom:e},n),r)},n.prototype.zoomIn=function(t,e){return this.zoomTo(this.getZoom()+1,t,e),this},n.prototype.zoomOut=function(t,e){return this.zoomTo(this.getZoom()-1,t,e),this},n.prototype.getBearing=function(){return this.transform.bearing},n.prototype.setBearing=function(t,e){return this.jumpTo({bearing:t},e),this},n.prototype.getPadding=function(){return this.transform.padding},n.prototype.setPadding=function(t,e){return this.jumpTo({padding:t},e),this},n.prototype.rotateTo=function(e,n,r){return this.easeTo(t.extend({bearing:e},n),r)},n.prototype.resetNorth=function(e,n){return this.rotateTo(0,t.extend({duration:1e3},e),n),this},n.prototype.resetNorthPitch=function(e,n){return this.easeTo(t.extend({bearing:0,pitch:0,duration:1e3},e),n),this},n.prototype.snapToNorth=function(t,e){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(t,e):this},n.prototype.getPitch=function(){return this.transform.pitch},n.prototype.setPitch=function(t,e){return this.jumpTo({pitch:t},e),this},n.prototype.cameraForBounds=function(e,n){return e=t.LngLatBounds.convert(e),this._cameraForBoxAndBearing(e.getNorthWest(),e.getSouthEast(),0,n)},n.prototype._cameraForBoxAndBearing=function(e,n,r,i){var o={top:0,bottom:0,right:0,left:0};if(\\\"number\\\"==typeof(i=t.extend({padding:o,offset:[0,0],maxZoom:this.transform.maxZoom},i)).padding){var a=i.padding;i.padding={top:a,bottom:a,right:a,left:a}}i.padding=t.extend(o,i.padding);var s=this.transform,l=s.padding,u=s.project(t.LngLat.convert(e)),c=s.project(t.LngLat.convert(n)),h=u.rotate(-r*Math.PI/180),p=c.rotate(-r*Math.PI/180),f=new t.Point(Math.max(h.x,p.x),Math.max(h.y,p.y)),d=new t.Point(Math.min(h.x,p.x),Math.min(h.y,p.y)),m=f.sub(d),v=(s.width-(l.left+l.right+i.padding.left+i.padding.right))/m.x,g=(s.height-(l.top+l.bottom+i.padding.top+i.padding.bottom))/m.y;if(!(g<0||v<0)){var y=Math.min(s.scaleZoom(s.scale*Math.min(v,g)),i.maxZoom),_=t.Point.convert(i.offset),b=new t.Point(_.x+(i.padding.left-i.padding.right)/2,_.y+(i.padding.top-i.padding.bottom)/2).mult(s.scale/s.zoomScale(y));return{center:s.unproject(u.add(c).div(2).sub(b)),zoom:y,bearing:r}}t.warnOnce(\\\"Map cannot fit within canvas with the given bounds, padding, and/or offset.\\\")},n.prototype.fitBounds=function(t,e,n){return this._fitInternal(this.cameraForBounds(t,e),e,n)},n.prototype.fitScreenCoordinates=function(e,n,r,i,o){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(t.Point.convert(e)),this.transform.pointLocation(t.Point.convert(n)),r,i),i,o)},n.prototype._fitInternal=function(e,n,r){return e?(delete(n=t.extend(e,n)).padding,n.linear?this.easeTo(n,r):this.flyTo(n,r)):this},n.prototype.jumpTo=function(e,n){this.stop();var r=this.transform,i=!1,o=!1,a=!1;return\\\"zoom\\\"in e&&r.zoom!==+e.zoom&&(i=!0,r.zoom=+e.zoom),void 0!==e.center&&(r.center=t.LngLat.convert(e.center)),\\\"bearing\\\"in e&&r.bearing!==+e.bearing&&(o=!0,r.bearing=+e.bearing),\\\"pitch\\\"in e&&r.pitch!==+e.pitch&&(a=!0,r.pitch=+e.pitch),null==e.padding||r.isPaddingEqual(e.padding)||(r.padding=e.padding),this.fire(new t.Event(\\\"movestart\\\",n)).fire(new t.Event(\\\"move\\\",n)),i&&this.fire(new t.Event(\\\"zoomstart\\\",n)).fire(new t.Event(\\\"zoom\\\",n)).fire(new t.Event(\\\"zoomend\\\",n)),o&&this.fire(new t.Event(\\\"rotatestart\\\",n)).fire(new t.Event(\\\"rotate\\\",n)).fire(new t.Event(\\\"rotateend\\\",n)),a&&this.fire(new t.Event(\\\"pitchstart\\\",n)).fire(new t.Event(\\\"pitch\\\",n)).fire(new t.Event(\\\"pitchend\\\",n)),this.fire(new t.Event(\\\"moveend\\\",n))},n.prototype.easeTo=function(e,n){var r=this;this._stop(!1,e.easeId),(!1===(e=t.extend({offset:[0,0],duration:500,easing:t.ease},e)).animate||!e.essential&&t.browser.prefersReducedMotion)&&(e.duration=0);var i=this.transform,o=this.getZoom(),a=this.getBearing(),s=this.getPitch(),l=this.getPadding(),u=\\\"zoom\\\"in e?+e.zoom:o,c=\\\"bearing\\\"in e?this._normalizeBearing(e.bearing,a):a,h=\\\"pitch\\\"in e?+e.pitch:s,p=\\\"padding\\\"in e?e.padding:i.padding,f=t.Point.convert(e.offset),d=i.centerPoint.add(f),m=i.pointLocation(d),v=t.LngLat.convert(e.center||m);this._normalizeCenter(v);var g,y,_=i.project(m),b=i.project(v).sub(_),x=i.zoomScale(u-o);e.around&&(g=t.LngLat.convert(e.around),y=i.locationPoint(g));var w={moving:this._moving,zooming:this._zooming,rotating:this._rotating,pitching:this._pitching};return this._zooming=this._zooming||u!==o,this._rotating=this._rotating||a!==c,this._pitching=this._pitching||h!==s,this._padding=!i.isPaddingEqual(p),this._easeId=e.easeId,this._prepareEase(n,e.noMoveStart,w),clearTimeout(this._easeEndTimeoutID),this._ease((function(e){if(r._zooming&&(i.zoom=t.number(o,u,e)),r._rotating&&(i.bearing=t.number(a,c,e)),r._pitching&&(i.pitch=t.number(s,h,e)),r._padding&&(i.interpolatePadding(l,p,e),d=i.centerPoint.add(f)),g)i.setLocationAtPoint(g,y);else{var m=i.zoomScale(i.zoom-o),v=u>o?Math.min(2,x):Math.max(.5,x),w=Math.pow(v,1-e),A=i.unproject(_.add(b.mult(e*w)).mult(m));i.setLocationAtPoint(i.renderWorldCopies?A.wrap():A,d)}r._fireMoveEvents(n)}),(function(t){r._afterEase(n,t)}),e),this},n.prototype._prepareEase=function(e,n,r){void 0===r&&(r={}),this._moving=!0,n||r.moving||this.fire(new t.Event(\\\"movestart\\\",e)),this._zooming&&!r.zooming&&this.fire(new t.Event(\\\"zoomstart\\\",e)),this._rotating&&!r.rotating&&this.fire(new t.Event(\\\"rotatestart\\\",e)),this._pitching&&!r.pitching&&this.fire(new t.Event(\\\"pitchstart\\\",e))},n.prototype._fireMoveEvents=function(e){this.fire(new t.Event(\\\"move\\\",e)),this._zooming&&this.fire(new t.Event(\\\"zoom\\\",e)),this._rotating&&this.fire(new t.Event(\\\"rotate\\\",e)),this._pitching&&this.fire(new t.Event(\\\"pitch\\\",e))},n.prototype._afterEase=function(e,n){if(!this._easeId||!n||this._easeId!==n){delete this._easeId;var r=this._zooming,i=this._rotating,o=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,r&&this.fire(new t.Event(\\\"zoomend\\\",e)),i&&this.fire(new t.Event(\\\"rotateend\\\",e)),o&&this.fire(new t.Event(\\\"pitchend\\\",e)),this.fire(new t.Event(\\\"moveend\\\",e))}},n.prototype.flyTo=function(e,n){var r=this;if(!e.essential&&t.browser.prefersReducedMotion){var i=t.pick(e,[\\\"center\\\",\\\"zoom\\\",\\\"bearing\\\",\\\"pitch\\\",\\\"around\\\"]);return this.jumpTo(i,n)}this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);var o=this.transform,a=this.getZoom(),s=this.getBearing(),l=this.getPitch(),u=this.getPadding(),c=\\\"zoom\\\"in e?t.clamp(+e.zoom,o.minZoom,o.maxZoom):a,h=\\\"bearing\\\"in e?this._normalizeBearing(e.bearing,s):s,p=\\\"pitch\\\"in e?+e.pitch:l,f=\\\"padding\\\"in e?e.padding:o.padding,d=o.zoomScale(c-a),m=t.Point.convert(e.offset),v=o.centerPoint.add(m),g=o.pointLocation(v),y=t.LngLat.convert(e.center||g);this._normalizeCenter(y);var _=o.project(g),b=o.project(y).sub(_),x=e.curve,w=Math.max(o.width,o.height),A=w/d,C=b.mag();if(\\\"minZoom\\\"in e){var M=t.clamp(Math.min(e.minZoom,a,c),o.minZoom,o.maxZoom),E=w/o.zoomScale(M-a);x=Math.sqrt(E/C*2)}var T=x*x;function S(t){var e=(A*A-w*w+(t?-1:1)*T*T*C*C)/(2*(t?A:w)*T*C);return Math.log(Math.sqrt(e*e+1)-e)}function k(t){return(Math.exp(t)-Math.exp(-t))/2}function O(t){return(Math.exp(t)+Math.exp(-t))/2}var I=S(0),L=function(t){return O(I)/O(I+x*t)},P=function(t){return w*((O(I)*(k(e=I+x*t)/O(e))-k(I))/T)/C;var e},z=(S(1)-I)/x;if(Math.abs(C)<1e-6||!isFinite(z)){if(Math.abs(w-A)<1e-6)return this.easeTo(e,n);var R=A<w?-1:1;z=Math.abs(Math.log(A/w))/x,P=function(){return 0},L=function(t){return Math.exp(R*x*t)}}return e.duration=\\\"duration\\\"in e?+e.duration:1e3*z/(\\\"screenSpeed\\\"in e?+e.screenSpeed/x:+e.speed),e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=s!==h,this._pitching=p!==l,this._padding=!o.isPaddingEqual(f),this._prepareEase(n,!1),this._ease((function(e){var i=e*z,d=1/L(i);o.zoom=1===e?c:a+o.scaleZoom(d),r._rotating&&(o.bearing=t.number(s,h,e)),r._pitching&&(o.pitch=t.number(l,p,e)),r._padding&&(o.interpolatePadding(u,f,e),v=o.centerPoint.add(m));var g=1===e?y:o.unproject(_.add(b.mult(P(i))).mult(d));o.setLocationAtPoint(o.renderWorldCopies?g.wrap():g,v),r._fireMoveEvents(n)}),(function(){return r._afterEase(n)}),e),this},n.prototype.isEasing=function(){return!!this._easeFrameId},n.prototype.stop=function(){return this._stop()},n.prototype._stop=function(t,e){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var n=this._onEaseEnd;delete this._onEaseEnd,n.call(this,e)}if(!t){var r=this.handlers;r&&r.stop()}return this},n.prototype._ease=function(e,n,r){!1===r.animate||0===r.duration?(e(1),n()):(this._easeStart=t.browser.now(),this._easeOptions=r,this._onEaseFrame=e,this._onEaseEnd=n,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},n.prototype._renderFrameCallback=function(){var e=Math.min((t.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},n.prototype._normalizeBearing=function(e,n){e=t.wrap(e,-180,180);var r=Math.abs(e-n);return Math.abs(e-360-n)<r&&(e-=360),Math.abs(e+360-n)<r&&(e+=360),e},n.prototype._normalizeCenter=function(t){var e=this.transform;if(e.renderWorldCopies&&!e.lngRange){var n=t.lng-e.center.lng;t.lng+=n>180?-360:n<-180?360:0}},n}(t.Evented),gi=function(e){void 0===e&&(e={}),this.options=e,t.bindAll([\\\"_updateEditLink\\\",\\\"_updateData\\\",\\\"_updateCompact\\\"],this)};gi.prototype.getDefaultPosition=function(){return\\\"bottom-right\\\"},gi.prototype.onAdd=function(t){var e=this.options&&this.options.compact;return this._map=t,this._container=n.create(\\\"div\\\",\\\"mapboxgl-ctrl mapboxgl-ctrl-attrib\\\"),this._innerContainer=n.create(\\\"div\\\",\\\"mapboxgl-ctrl-attrib-inner\\\",this._container),e&&this._container.classList.add(\\\"mapboxgl-compact\\\"),this._updateAttributions(),this._updateEditLink(),this._map.on(\\\"styledata\\\",this._updateData),this._map.on(\\\"sourcedata\\\",this._updateData),this._map.on(\\\"moveend\\\",this._updateEditLink),void 0===e&&(this._map.on(\\\"resize\\\",this._updateCompact),this._updateCompact()),this._container},gi.prototype.onRemove=function(){n.remove(this._container),this._map.off(\\\"styledata\\\",this._updateData),this._map.off(\\\"sourcedata\\\",this._updateData),this._map.off(\\\"moveend\\\",this._updateEditLink),this._map.off(\\\"resize\\\",this._updateCompact),this._map=void 0,this._attribHTML=void 0},gi.prototype._updateEditLink=function(){var e=this._editLink;e||(e=this._editLink=this._container.querySelector(\\\".mapbox-improve-map\\\"));var n=[{key:\\\"owner\\\",value:this.styleOwner},{key:\\\"id\\\",value:this.styleId},{key:\\\"access_token\\\",value:this._map._requestManager._customAccessToken||t.config.ACCESS_TOKEN}];if(e){var r=n.reduce((function(t,e,r){return e.value&&(t+=e.key+\\\"=\\\"+e.value+(r<n.length-1?\\\"&\\\":\\\"\\\")),t}),\\\"?\\\");e.href=t.config.FEEDBACK_URL+\\\"/\\\"+r+(this._map._hash?this._map._hash.getHashString(!0):\\\"\\\"),e.rel=\\\"noopener nofollow\\\"}},gi.prototype._updateData=function(t){!t||\\\"metadata\\\"!==t.sourceDataType&&\\\"style\\\"!==t.dataType||(this._updateAttributions(),this._updateEditLink())},gi.prototype._updateAttributions=function(){if(this._map.style){var t=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?t=t.concat(this.options.customAttribution.map((function(t){return\\\"string\\\"!=typeof t?\\\"\\\":t}))):\\\"string\\\"==typeof this.options.customAttribution&&t.push(this.options.customAttribution)),this._map.style.stylesheet){var e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id}var n=this._map.style.sourceCaches;for(var r in n){var i=n[r];if(i.used){var o=i.getSource();o.attribution&&t.indexOf(o.attribution)<0&&t.push(o.attribution)}}t.sort((function(t,e){return t.length-e.length}));var a=(t=t.filter((function(e,n){for(var r=n+1;r<t.length;r++)if(t[r].indexOf(e)>=0)return!1;return!0}))).join(\\\" | \\\");a!==this._attribHTML&&(this._attribHTML=a,t.length?(this._innerContainer.innerHTML=a,this._container.classList.remove(\\\"mapboxgl-attrib-empty\\\")):this._container.classList.add(\\\"mapboxgl-attrib-empty\\\"),this._editLink=null)}},gi.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add(\\\"mapboxgl-compact\\\"):this._container.classList.remove(\\\"mapboxgl-compact\\\")};var yi=function(){t.bindAll([\\\"_updateLogo\\\"],this),t.bindAll([\\\"_updateCompact\\\"],this)};yi.prototype.onAdd=function(t){this._map=t,this._container=n.create(\\\"div\\\",\\\"mapboxgl-ctrl\\\");var e=n.create(\\\"a\\\",\\\"mapboxgl-ctrl-logo\\\");return e.target=\\\"_blank\\\",e.rel=\\\"noopener nofollow\\\",e.href=\\\"https://www.mapbox.com/\\\",e.setAttribute(\\\"aria-label\\\",this._map._getUIString(\\\"LogoControl.Title\\\")),e.setAttribute(\\\"rel\\\",\\\"noopener nofollow\\\"),this._container.appendChild(e),this._container.style.display=\\\"none\\\",this._map.on(\\\"sourcedata\\\",this._updateLogo),this._updateLogo(),this._map.on(\\\"resize\\\",this._updateCompact),this._updateCompact(),this._container},yi.prototype.onRemove=function(){n.remove(this._container),this._map.off(\\\"sourcedata\\\",this._updateLogo),this._map.off(\\\"resize\\\",this._updateCompact)},yi.prototype.getDefaultPosition=function(){return\\\"bottom-left\\\"},yi.prototype._updateLogo=function(t){t&&\\\"metadata\\\"!==t.sourceDataType||(this._container.style.display=this._logoRequired()?\\\"block\\\":\\\"none\\\")},yi.prototype._logoRequired=function(){if(this._map.style){var t=this._map.style.sourceCaches;for(var e in t)if(t[e].getSource().mapbox_logo)return!0;return!1}},yi.prototype._updateCompact=function(){var t=this._container.children;if(t.length){var e=t[0];this._map.getCanvasContainer().offsetWidth<250?e.classList.add(\\\"mapboxgl-compact\\\"):e.classList.remove(\\\"mapboxgl-compact\\\")}};var _i=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};_i.prototype.add=function(t){var e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e},_i.prototype.remove=function(t){for(var e=this._currentlyRunning,n=0,r=e?this._queue.concat(e):this._queue;n<r.length;n+=1){var i=r[n];if(i.id===t)return void(i.cancelled=!0)}},_i.prototype.run=function(t){void 0===t&&(t=0);var e=this._currentlyRunning=this._queue;this._queue=[];for(var n=0,r=e;n<r.length;n+=1){var i=r[n];if(!i.cancelled&&(i.callback(t),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},_i.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var bi={\\\"FullscreenControl.Enter\\\":\\\"Enter fullscreen\\\",\\\"FullscreenControl.Exit\\\":\\\"Exit fullscreen\\\",\\\"GeolocateControl.FindMyLocation\\\":\\\"Find my location\\\",\\\"GeolocateControl.LocationNotAvailable\\\":\\\"Location not available\\\",\\\"LogoControl.Title\\\":\\\"Mapbox logo\\\",\\\"NavigationControl.ResetBearing\\\":\\\"Reset bearing to north\\\",\\\"NavigationControl.ZoomIn\\\":\\\"Zoom in\\\",\\\"NavigationControl.ZoomOut\\\":\\\"Zoom out\\\",\\\"ScaleControl.Feet\\\":\\\"ft\\\",\\\"ScaleControl.Meters\\\":\\\"m\\\",\\\"ScaleControl.Kilometers\\\":\\\"km\\\",\\\"ScaleControl.Miles\\\":\\\"mi\\\",\\\"ScaleControl.NauticalMiles\\\":\\\"nm\\\"},xi=t.window.HTMLImageElement,wi=t.window.HTMLElement,Ai=t.window.ImageBitmap,Ci={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:\\\"sans-serif\\\",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},Mi=function(r){function i(e){var n=this;if(null!=(e=t.extend({},Ci,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error(\\\"maxZoom must be greater than or equal to minZoom\\\");if(null!=e.minPitch&&null!=e.maxPitch&&e.minPitch>e.maxPitch)throw new Error(\\\"maxPitch must be greater than or equal to minPitch\\\");if(null!=e.minPitch&&e.minPitch<0)throw new Error(\\\"minPitch must be greater than or equal to 0\\\");if(null!=e.maxPitch&&e.maxPitch>60)throw new Error(\\\"maxPitch must be less than or equal to 60\\\");var i=new wr(e.minZoom,e.maxZoom,e.minPitch,e.maxPitch,e.renderWorldCopies);if(r.call(this,i,e),this._interactive=e.interactive,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new _i,this._controls=[],this._mapId=t.uniqueId(),this._locale=t.extend({},bi,e.locale),this._requestManager=new t.RequestManager(e.transformRequest,e.accessToken),\\\"string\\\"==typeof e.container){if(this._container=t.window.document.getElementById(e.container),!this._container)throw new Error(\\\"Container '\\\"+e.container+\\\"' not found.\\\")}else{if(!(e.container instanceof wi))throw new Error(\\\"Invalid type: 'container' must be a String or HTMLElement.\\\");this._container=e.container}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),t.bindAll([\\\"_onWindowOnline\\\",\\\"_onWindowResize\\\",\\\"_contextLost\\\",\\\"_contextRestored\\\"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error(\\\"Failed to initialize WebGL.\\\");this.on(\\\"move\\\",(function(){return n._update(!1)})),this.on(\\\"moveend\\\",(function(){return n._update(!1)})),this.on(\\\"zoom\\\",(function(){return n._update(!0)})),void 0!==t.window&&(t.window.addEventListener(\\\"online\\\",this._onWindowOnline,!1),t.window.addEventListener(\\\"resize\\\",this._onWindowResize,!1)),this.handlers=new mi(this,e),this._hash=e.hash&&new Cr(\\\"string\\\"==typeof e.hash&&e.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new gi({customAttribution:e.customAttribution})),this.addControl(new yi,e.logoPosition),this.on(\\\"style.load\\\",(function(){n.transform.unmodified&&n.jumpTo(n.style.stylesheet)})),this.on(\\\"data\\\",(function(e){n._update(\\\"style\\\"===e.dataType),n.fire(new t.Event(e.dataType+\\\"data\\\",e))})),this.on(\\\"dataloading\\\",(function(e){n.fire(new t.Event(e.dataType+\\\"dataloading\\\",e))}))}r&&(i.__proto__=r),(i.prototype=Object.create(r&&r.prototype)).constructor=i;var o={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return i.prototype._getMapId=function(){return this._mapId},i.prototype.addControl=function(e,n){if(void 0===n&&e.getDefaultPosition&&(n=e.getDefaultPosition()),void 0===n&&(n=\\\"top-right\\\"),!e||!e.onAdd)return this.fire(new t.ErrorEvent(new Error(\\\"Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.\\\")));var r=e.onAdd(this);this._controls.push(e);var i=this._controlPositions[n];return-1!==n.indexOf(\\\"bottom\\\")?i.insertBefore(r,i.firstChild):i.appendChild(r),this},i.prototype.removeControl=function(e){if(!e||!e.onRemove)return this.fire(new t.ErrorEvent(new Error(\\\"Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.\\\")));var n=this._controls.indexOf(e);return n>-1&&this._controls.splice(n,1),e.onRemove(this),this},i.prototype.resize=function(e){var n=this._containerDimensions(),r=n[0],i=n[1];this._resizeCanvas(r,i),this.transform.resize(r,i),this.painter.resize(r,i);var o=!this._moving;return o&&(this.stop(),this.fire(new t.Event(\\\"movestart\\\",e)).fire(new t.Event(\\\"move\\\",e))),this.fire(new t.Event(\\\"resize\\\",e)),o&&this.fire(new t.Event(\\\"moveend\\\",e)),this},i.prototype.getBounds=function(){return this.transform.getBounds()},i.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},i.prototype.setMaxBounds=function(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()},i.prototype.setMinZoom=function(t){if((t=null==t?-2:t)>=-2&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t&&this.setZoom(t),this;throw new Error(\\\"minZoom must be between -2 and the current maxZoom, inclusive\\\")},i.prototype.getMinZoom=function(){return this.transform.minZoom},i.prototype.setMaxZoom=function(t){if((t=null==t?22:t)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t&&this.setZoom(t),this;throw new Error(\\\"maxZoom must be greater than the current minZoom\\\")},i.prototype.getMaxZoom=function(){return this.transform.maxZoom},i.prototype.setMinPitch=function(t){if((t=null==t?0:t)<0)throw new Error(\\\"minPitch must be greater than or equal to 0\\\");if(t>=0&&t<=this.transform.maxPitch)return this.transform.minPitch=t,this._update(),this.getPitch()<t&&this.setPitch(t),this;throw new Error(\\\"minPitch must be between 0 and the current maxPitch, inclusive\\\")},i.prototype.getMinPitch=function(){return this.transform.minPitch},i.prototype.setMaxPitch=function(t){if((t=null==t?60:t)>60)throw new Error(\\\"maxPitch must be less than or equal to 60\\\");if(t>=this.transform.minPitch)return this.transform.maxPitch=t,this._update(),this.getPitch()>t&&this.setPitch(t),this;throw new Error(\\\"maxPitch must be greater than the current minPitch\\\")},i.prototype.getMaxPitch=function(){return this.transform.maxPitch},i.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},i.prototype.setRenderWorldCopies=function(t){return this.transform.renderWorldCopies=t,this._update()},i.prototype.project=function(e){return this.transform.locationPoint(t.LngLat.convert(e))},i.prototype.unproject=function(e){return this.transform.pointLocation(t.Point.convert(e))},i.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},i.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},i.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},i.prototype._createDelegatedListener=function(t,e,n){var r,i=this;if(\\\"mouseenter\\\"===t||\\\"mouseover\\\"===t){var o=!1;return{layer:e,listener:n,delegates:{mousemove:function(r){var a=i.getLayer(e)?i.queryRenderedFeatures(r.point,{layers:[e]}):[];a.length?o||(o=!0,n.call(i,new Pr(t,i,r.originalEvent,{features:a}))):o=!1},mouseout:function(){o=!1}}}}if(\\\"mouseleave\\\"===t||\\\"mouseout\\\"===t){var a=!1;return{layer:e,listener:n,delegates:{mousemove:function(r){(i.getLayer(e)?i.queryRenderedFeatures(r.point,{layers:[e]}):[]).length?a=!0:a&&(a=!1,n.call(i,new Pr(t,i,r.originalEvent)))},mouseout:function(e){a&&(a=!1,n.call(i,new Pr(t,i,e.originalEvent)))}}}}return{layer:e,listener:n,delegates:(r={},r[t]=function(t){var r=i.getLayer(e)?i.queryRenderedFeatures(t.point,{layers:[e]}):[];r.length&&(t.features=r,n.call(i,t),delete t.features)},r)}},i.prototype.on=function(t,e,n){if(void 0===n)return r.prototype.on.call(this,t,e);var i=this._createDelegatedListener(t,e,n);for(var o in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(i),i.delegates)this.on(o,i.delegates[o]);return this},i.prototype.once=function(t,e,n){if(void 0===n)return r.prototype.once.call(this,t,e);var i=this._createDelegatedListener(t,e,n);for(var o in i.delegates)this.once(o,i.delegates[o]);return this},i.prototype.off=function(t,e,n){var i=this;return void 0===n?r.prototype.off.call(this,t,e):(this._delegatedListeners&&this._delegatedListeners[t]&&function(r){for(var o=r[t],a=0;a<o.length;a++){var s=o[a];if(s.layer===e&&s.listener===n){for(var l in s.delegates)i.off(l,s.delegates[l]);return o.splice(a,1),i}}}(this._delegatedListeners),this)},i.prototype.queryRenderedFeatures=function(e,n){if(!this.style)return[];var r;if(void 0!==n||void 0===e||e instanceof t.Point||Array.isArray(e)||(n=e,e=void 0),n=n||{},(e=e||[[0,0],[this.transform.width,this.transform.height]])instanceof t.Point||\\\"number\\\"==typeof e[0])r=[t.Point.convert(e)];else{var i=t.Point.convert(e[0]),o=t.Point.convert(e[1]);r=[i,new t.Point(o.x,i.y),o,new t.Point(i.x,o.y),i]}return this.style.queryRenderedFeatures(r,n,this.transform)},i.prototype.querySourceFeatures=function(t,e){return this.style.querySourceFeatures(t,e)},i.prototype.setStyle=function(e,n){return!1!==(n=t.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},n)).diff&&n.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,n),this):(this._localIdeographFontFamily=n.localIdeographFontFamily,this._updateStyle(e,n))},i.prototype._getUIString=function(t){var e=this._locale[t];if(null==e)throw new Error(\\\"Missing UI string '\\\"+t+\\\"'\\\");return e},i.prototype._updateStyle=function(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove()),t?(this.style=new qe(this,e||{}),this.style.setEventedParent(this,{style:this.style}),\\\"string\\\"==typeof t?this.style.loadURL(t):this.style.loadJSON(t),this):(delete this.style,this)},i.prototype._lazyInitEmptyStyle=function(){this.style||(this.style=new qe(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())},i.prototype._diffStyle=function(e,n){var r=this;if(\\\"string\\\"==typeof e){var i=this._requestManager.normalizeStyleURL(e),o=this._requestManager.transformRequest(i,t.ResourceType.Style);t.getJSON(o,(function(e,i){e?r.fire(new t.ErrorEvent(e)):i&&r._updateDiff(i,n)}))}else\\\"object\\\"==typeof e&&this._updateDiff(e,n)},i.prototype._updateDiff=function(e,n){try{this.style.setState(e)&&this._update(!0)}catch(r){t.warnOnce(\\\"Unable to perform style diff: \\\"+(r.message||r.error||r)+\\\". Rebuilding the style from scratch.\\\"),this._updateStyle(e,n)}},i.prototype.getStyle=function(){if(this.style)return this.style.serialize()},i.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():t.warnOnce(\\\"There is no style added to the map.\\\")},i.prototype.addSource=function(t,e){return this._lazyInitEmptyStyle(),this.style.addSource(t,e),this._update(!0)},i.prototype.isSourceLoaded=function(e){var n=this.style&&this.style.sourceCaches[e];if(void 0!==n)return n.loaded();this.fire(new t.ErrorEvent(new Error(\\\"There is no source with ID '\\\"+e+\\\"'\\\")))},i.prototype.areTilesLoaded=function(){var t=this.style&&this.style.sourceCaches;for(var e in t){var n=t[e]._tiles;for(var r in n){var i=n[r];if(\\\"loaded\\\"!==i.state&&\\\"errored\\\"!==i.state)return!1}}return!0},i.prototype.addSourceType=function(t,e,n){return this._lazyInitEmptyStyle(),this.style.addSourceType(t,e,n)},i.prototype.removeSource=function(t){return this.style.removeSource(t),this._update(!0)},i.prototype.getSource=function(t){return this.style.getSource(t)},i.prototype.addImage=function(e,n,r){void 0===r&&(r={});var i=r.pixelRatio;void 0===i&&(i=1);var o=r.sdf;void 0===o&&(o=!1);var a=r.stretchX,s=r.stretchY,l=r.content;if(this._lazyInitEmptyStyle(),n instanceof xi||Ai&&n instanceof Ai){var u=t.browser.getImageData(n);this.style.addImage(e,{data:new t.RGBAImage({width:u.width,height:u.height},u.data),pixelRatio:i,stretchX:a,stretchY:s,content:l,sdf:o,version:0})}else{if(void 0===n.width||void 0===n.height)return this.fire(new t.ErrorEvent(new Error(\\\"Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`\\\")));var c=n;this.style.addImage(e,{data:new t.RGBAImage({width:n.width,height:n.height},new Uint8Array(n.data)),pixelRatio:i,stretchX:a,stretchY:s,content:l,sdf:o,version:0,userImage:c}),c.onAdd&&c.onAdd(this,e)}},i.prototype.updateImage=function(e,n){var r=this.style.getImage(e);if(!r)return this.fire(new t.ErrorEvent(new Error(\\\"The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.\\\")));var i=n instanceof xi||Ai&&n instanceof Ai?t.browser.getImageData(n):n,o=i.width,a=i.height,s=i.data;return void 0===o||void 0===a?this.fire(new t.ErrorEvent(new Error(\\\"Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`\\\"))):o!==r.data.width||a!==r.data.height?this.fire(new t.ErrorEvent(new Error(\\\"The width and height of the updated image must be that same as the previous version of the image\\\"))):(r.data.replace(s,!(n instanceof xi||Ai&&n instanceof Ai)),void this.style.updateImage(e,r))},i.prototype.hasImage=function(e){return e?!!this.style.getImage(e):(this.fire(new t.ErrorEvent(new Error(\\\"Missing required image id\\\"))),!1)},i.prototype.removeImage=function(t){this.style.removeImage(t)},i.prototype.loadImage=function(e,n){t.getImage(this._requestManager.transformRequest(e,t.ResourceType.Image),n)},i.prototype.listImages=function(){return this.style.listImages()},i.prototype.addLayer=function(t,e){return this._lazyInitEmptyStyle(),this.style.addLayer(t,e),this._update(!0)},i.prototype.moveLayer=function(t,e){return this.style.moveLayer(t,e),this._update(!0)},i.prototype.removeLayer=function(t){return this.style.removeLayer(t),this._update(!0)},i.prototype.getLayer=function(t){return this.style.getLayer(t)},i.prototype.setLayerZoomRange=function(t,e,n){return this.style.setLayerZoomRange(t,e,n),this._update(!0)},i.prototype.setFilter=function(t,e,n){return void 0===n&&(n={}),this.style.setFilter(t,e,n),this._update(!0)},i.prototype.getFilter=function(t){return this.style.getFilter(t)},i.prototype.setPaintProperty=function(t,e,n,r){return void 0===r&&(r={}),this.style.setPaintProperty(t,e,n,r),this._update(!0)},i.prototype.getPaintProperty=function(t,e){return this.style.getPaintProperty(t,e)},i.prototype.setLayoutProperty=function(t,e,n,r){return void 0===r&&(r={}),this.style.setLayoutProperty(t,e,n,r),this._update(!0)},i.prototype.getLayoutProperty=function(t,e){return this.style.getLayoutProperty(t,e)},i.prototype.setLight=function(t,e){return void 0===e&&(e={}),this._lazyInitEmptyStyle(),this.style.setLight(t,e),this._update(!0)},i.prototype.getLight=function(){return this.style.getLight()},i.prototype.setFeatureState=function(t,e){return this.style.setFeatureState(t,e),this._update()},i.prototype.removeFeatureState=function(t,e){return this.style.removeFeatureState(t,e),this._update()},i.prototype.getFeatureState=function(t){return this.style.getFeatureState(t)},i.prototype.getContainer=function(){return this._container},i.prototype.getCanvasContainer=function(){return this._canvasContainer},i.prototype.getCanvas=function(){return this._canvas},i.prototype._containerDimensions=function(){var t=0,e=0;return this._container&&(t=this._container.clientWidth||400,e=this._container.clientHeight||300),[t,e]},i.prototype._detectMissingCSS=function(){\\\"rgb(250, 128, 114)\\\"!==t.window.getComputedStyle(this._missingCSSCanary).getPropertyValue(\\\"background-color\\\")&&t.warnOnce(\\\"This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.\\\")},i.prototype._setupContainer=function(){var t=this._container;t.classList.add(\\\"mapboxgl-map\\\"),(this._missingCSSCanary=n.create(\\\"div\\\",\\\"mapboxgl-canary\\\",t)).style.visibility=\\\"hidden\\\",this._detectMissingCSS();var e=this._canvasContainer=n.create(\\\"div\\\",\\\"mapboxgl-canvas-container\\\",t);this._interactive&&e.classList.add(\\\"mapboxgl-interactive\\\"),this._canvas=n.create(\\\"canvas\\\",\\\"mapboxgl-canvas\\\",e),this._canvas.addEventListener(\\\"webglcontextlost\\\",this._contextLost,!1),this._canvas.addEventListener(\\\"webglcontextrestored\\\",this._contextRestored,!1),this._canvas.setAttribute(\\\"tabindex\\\",\\\"0\\\"),this._canvas.setAttribute(\\\"aria-label\\\",\\\"Map\\\");var r=this._containerDimensions();this._resizeCanvas(r[0],r[1]);var i=this._controlContainer=n.create(\\\"div\\\",\\\"mapboxgl-control-container\\\",t),o=this._controlPositions={};[\\\"top-left\\\",\\\"top-right\\\",\\\"bottom-left\\\",\\\"bottom-right\\\"].forEach((function(t){o[t]=n.create(\\\"div\\\",\\\"mapboxgl-ctrl-\\\"+t,i)}))},i.prototype._resizeCanvas=function(e,n){var r=t.browser.devicePixelRatio||1;this._canvas.width=r*e,this._canvas.height=r*n,this._canvas.style.width=e+\\\"px\\\",this._canvas.style.height=n+\\\"px\\\"},i.prototype._setupPainter=function(){var n=t.extend({},e.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),r=this._canvas.getContext(\\\"webgl\\\",n)||this._canvas.getContext(\\\"experimental-webgl\\\",n);r?(this.painter=new yr(r,this.transform),t.webpSupported.testSupport(r)):this.fire(new t.ErrorEvent(new Error(\\\"Failed to initialize WebGL\\\")))},i.prototype._contextLost=function(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new t.Event(\\\"webglcontextlost\\\",{originalEvent:e}))},i.prototype._contextRestored=function(e){this._setupPainter(),this.resize(),this._update(),this.fire(new t.Event(\\\"webglcontextrestored\\\",{originalEvent:e}))},i.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},i.prototype._update=function(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this},i.prototype._requestRenderFrame=function(t){return this._update(),this._renderTaskQueue.add(t)},i.prototype._cancelRenderFrame=function(t){this._renderTaskQueue.remove(t)},i.prototype._render=function(e){var n,r=this,i=0,o=this.painter.context.extTimerQuery;if(this.listens(\\\"gpu-timing-frame\\\")&&(n=o.createQueryEXT(),o.beginQueryEXT(o.TIME_ELAPSED_EXT,n),i=t.browser.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(e),!this._removed){var a=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var s=this.transform.zoom,l=t.browser.now();this.style.zoomHistory.update(s,l);var u=new t.EvaluationParameters(s,{now:l,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),c=u.crossFadingFactor();1===c&&c===this._crossFadingFactor||(a=!0,this._crossFadingFactor=c),this.style.update(u)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration,showPadding:this.showPadding,gpuTiming:!!this.listens(\\\"gpu-timing-layer\\\")}),this.fire(new t.Event(\\\"render\\\")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.Event(\\\"load\\\"))),this.style&&(this.style.hasTransitions()||a)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens(\\\"gpu-timing-frame\\\")){var h=t.browser.now()-i;o.endQueryEXT(o.TIME_ELAPSED_EXT,n),setTimeout((function(){var e=o.getQueryObjectEXT(n,o.QUERY_RESULT_EXT)/1e6;o.deleteQueryEXT(n),r.fire(new t.Event(\\\"gpu-timing-frame\\\",{cpuTime:h,gpuTime:e}))}),50)}if(this.listens(\\\"gpu-timing-layer\\\")){var p=this.painter.collectGpuTimers();setTimeout((function(){var e=r.painter.queryGpuTimers(p);r.fire(new t.Event(\\\"gpu-timing-layer\\\",{layerTimes:e}))}),50)}return this._sourcesDirty||this._styleDirty||this._placementDirty||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&(this._fullyLoaded||(this._fullyLoaded=!0),this.fire(new t.Event(\\\"idle\\\"))),this}},i.prototype.remove=function(){this._hash&&this._hash.remove();for(var e=0,n=this._controls;e<n.length;e+=1)n[e].onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),void 0!==t.window&&(t.window.removeEventListener(\\\"resize\\\",this._onWindowResize,!1),t.window.removeEventListener(\\\"online\\\",this._onWindowOnline,!1));var r=this.painter.context.gl.getExtension(\\\"WEBGL_lose_context\\\");r&&r.loseContext(),Ei(this._canvasContainer),Ei(this._controlContainer),Ei(this._missingCSSCanary),this._container.classList.remove(\\\"mapboxgl-map\\\"),this._removed=!0,this.fire(new t.Event(\\\"remove\\\"))},i.prototype.triggerRepaint=function(){var e=this;this.style&&!this._frame&&(this._frame=t.browser.frame((function(t){e._frame=null,e._render(t)})))},i.prototype._onWindowOnline=function(){this._update()},i.prototype._onWindowResize=function(t){this._trackResize&&this.resize({originalEvent:t})._update()},o.showTileBoundaries.get=function(){return!!this._showTileBoundaries},o.showTileBoundaries.set=function(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())},o.showPadding.get=function(){return!!this._showPadding},o.showPadding.set=function(t){this._showPadding!==t&&(this._showPadding=t,this._update())},o.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},o.showCollisionBoxes.set=function(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())},o.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},o.showOverdrawInspector.set=function(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())},o.repaint.get=function(){return!!this._repaint},o.repaint.set=function(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())},o.vertices.get=function(){return!!this._vertices},o.vertices.set=function(t){this._vertices=t,this._update()},i.prototype._setCacheLimits=function(e,n){t.setCacheLimits(e,n)},o.version.get=function(){return t.version},Object.defineProperties(i.prototype,o),i}(vi);function Ei(t){t.parentNode&&t.parentNode.removeChild(t)}var Ti={showCompass:!0,showZoom:!0,visualizePitch:!1},Si=function(e){var r=this;this.options=t.extend({},Ti,e),this._container=n.create(\\\"div\\\",\\\"mapboxgl-ctrl mapboxgl-ctrl-group\\\"),this._container.addEventListener(\\\"contextmenu\\\",(function(t){return t.preventDefault()})),this.options.showZoom&&(t.bindAll([\\\"_setButtonTitle\\\",\\\"_updateZoomButtons\\\"],this),this._zoomInButton=this._createButton(\\\"mapboxgl-ctrl-zoom-in\\\",(function(t){return r._map.zoomIn({},{originalEvent:t})})),n.create(\\\"span\\\",\\\"mapboxgl-ctrl-icon\\\",this._zoomInButton).setAttribute(\\\"aria-hidden\\\",!0),this._zoomOutButton=this._createButton(\\\"mapboxgl-ctrl-zoom-out\\\",(function(t){return r._map.zoomOut({},{originalEvent:t})})),n.create(\\\"span\\\",\\\"mapboxgl-ctrl-icon\\\",this._zoomOutButton).setAttribute(\\\"aria-hidden\\\",!0)),this.options.showCompass&&(t.bindAll([\\\"_rotateCompassArrow\\\"],this),this._compass=this._createButton(\\\"mapboxgl-ctrl-compass\\\",(function(t){r.options.visualizePitch?r._map.resetNorthPitch({},{originalEvent:t}):r._map.resetNorth({},{originalEvent:t})})),this._compassIcon=n.create(\\\"span\\\",\\\"mapboxgl-ctrl-icon\\\",this._compass),this._compassIcon.setAttribute(\\\"aria-hidden\\\",!0))};Si.prototype._updateZoomButtons=function(){var t=this._map.getZoom();this._zoomInButton.disabled=t===this._map.getMaxZoom(),this._zoomOutButton.disabled=t===this._map.getMinZoom()},Si.prototype._rotateCompassArrow=function(){var t=this.options.visualizePitch?\\\"scale(\\\"+1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)+\\\") rotateX(\\\"+this._map.transform.pitch+\\\"deg) rotateZ(\\\"+this._map.transform.angle*(180/Math.PI)+\\\"deg)\\\":\\\"rotate(\\\"+this._map.transform.angle*(180/Math.PI)+\\\"deg)\\\";this._compassIcon.style.transform=t},Si.prototype.onAdd=function(t){return this._map=t,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,\\\"ZoomIn\\\"),this._setButtonTitle(this._zoomOutButton,\\\"ZoomOut\\\"),this._map.on(\\\"zoom\\\",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,\\\"ResetBearing\\\"),this.options.visualizePitch&&this._map.on(\\\"pitch\\\",this._rotateCompassArrow),this._map.on(\\\"rotate\\\",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new ki(this._map,this._compass,this.options.visualizePitch)),this._container},Si.prototype.onRemove=function(){n.remove(this._container),this.options.showZoom&&this._map.off(\\\"zoom\\\",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off(\\\"pitch\\\",this._rotateCompassArrow),this._map.off(\\\"rotate\\\",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map},Si.prototype._createButton=function(t,e){var r=n.create(\\\"button\\\",t,this._container);return r.type=\\\"button\\\",r.addEventListener(\\\"click\\\",e),r},Si.prototype._setButtonTitle=function(t,e){var n=this._map._getUIString(\\\"NavigationControl.\\\"+e);t.title=n,t.setAttribute(\\\"aria-label\\\",n)};var ki=function(e,r,i){void 0===i&&(i=!1),this._clickTolerance=10,this.element=r,this.mouseRotate=new Hr({clickTolerance:e.dragRotate._mouseRotate._clickTolerance}),this.map=e,i&&(this.mousePitch=new Gr({clickTolerance:e.dragRotate._mousePitch._clickTolerance})),t.bindAll([\\\"mousedown\\\",\\\"mousemove\\\",\\\"mouseup\\\",\\\"touchstart\\\",\\\"touchmove\\\",\\\"touchend\\\",\\\"reset\\\"],this),n.addEventListener(r,\\\"mousedown\\\",this.mousedown),n.addEventListener(r,\\\"touchstart\\\",this.touchstart,{passive:!1}),n.addEventListener(r,\\\"touchmove\\\",this.touchmove),n.addEventListener(r,\\\"touchend\\\",this.touchend),n.addEventListener(r,\\\"touchcancel\\\",this.reset)};function Oi(e,n,r){if(e=new t.LngLat(e.lng,e.lat),n){var i=new t.LngLat(e.lng-360,e.lat),o=new t.LngLat(e.lng+360,e.lat),a=r.locationPoint(e).distSqr(n);r.locationPoint(i).distSqr(n)<a?e=i:r.locationPoint(o).distSqr(n)<a&&(e=o)}for(;Math.abs(e.lng-r.center.lng)>180;){var s=r.locationPoint(e);if(s.x>=0&&s.y>=0&&s.x<=r.width&&s.y<=r.height)break;e.lng>r.center.lng?e.lng-=360:e.lng+=360}return e}ki.prototype.down=function(t,e){this.mouseRotate.mousedown(t,e),this.mousePitch&&this.mousePitch.mousedown(t,e),n.disableDrag()},ki.prototype.move=function(t,e){var n=this.map,r=this.mouseRotate.mousemoveWindow(t,e);if(r&&r.bearingDelta&&n.setBearing(n.getBearing()+r.bearingDelta),this.mousePitch){var i=this.mousePitch.mousemoveWindow(t,e);i&&i.pitchDelta&&n.setPitch(n.getPitch()+i.pitchDelta)}},ki.prototype.off=function(){var t=this.element;n.removeEventListener(t,\\\"mousedown\\\",this.mousedown),n.removeEventListener(t,\\\"touchstart\\\",this.touchstart,{passive:!1}),n.removeEventListener(t,\\\"touchmove\\\",this.touchmove),n.removeEventListener(t,\\\"touchend\\\",this.touchend),n.removeEventListener(t,\\\"touchcancel\\\",this.reset),this.offTemp()},ki.prototype.offTemp=function(){n.enableDrag(),n.removeEventListener(t.window,\\\"mousemove\\\",this.mousemove),n.removeEventListener(t.window,\\\"mouseup\\\",this.mouseup)},ki.prototype.mousedown=function(e){this.down(t.extend({},e,{ctrlKey:!0,preventDefault:function(){return e.preventDefault()}}),n.mousePos(this.element,e)),n.addEventListener(t.window,\\\"mousemove\\\",this.mousemove),n.addEventListener(t.window,\\\"mouseup\\\",this.mouseup)},ki.prototype.mousemove=function(t){this.move(t,n.mousePos(this.element,t))},ki.prototype.mouseup=function(t){this.mouseRotate.mouseupWindow(t),this.mousePitch&&this.mousePitch.mouseupWindow(t),this.offTemp()},ki.prototype.touchstart=function(t){1!==t.targetTouches.length?this.reset():(this._startPos=this._lastPos=n.touchPos(this.element,t.targetTouches)[0],this.down({type:\\\"mousedown\\\",button:0,ctrlKey:!0,preventDefault:function(){return t.preventDefault()}},this._startPos))},ki.prototype.touchmove=function(t){1!==t.targetTouches.length?this.reset():(this._lastPos=n.touchPos(this.element,t.targetTouches)[0],this.move({preventDefault:function(){return t.preventDefault()}},this._lastPos))},ki.prototype.touchend=function(t){0===t.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()},ki.prototype.reset=function(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()};var Ii={center:\\\"translate(-50%,-50%)\\\",top:\\\"translate(-50%,0)\\\",\\\"top-left\\\":\\\"translate(0,0)\\\",\\\"top-right\\\":\\\"translate(-100%,0)\\\",bottom:\\\"translate(-50%,-100%)\\\",\\\"bottom-left\\\":\\\"translate(0,-100%)\\\",\\\"bottom-right\\\":\\\"translate(-100%,-100%)\\\",left:\\\"translate(0,-50%)\\\",right:\\\"translate(-100%,-50%)\\\"};function Li(t,e,n){var r=t.classList;for(var i in Ii)r.remove(\\\"mapboxgl-\\\"+n+\\\"-anchor-\\\"+i);r.add(\\\"mapboxgl-\\\"+n+\\\"-anchor-\\\"+e)}var Pi,zi=function(e){function r(r,i){var o=this;if(e.call(this),(r instanceof t.window.HTMLElement||i)&&(r=t.extend({element:r},i)),t.bindAll([\\\"_update\\\",\\\"_onMove\\\",\\\"_onUp\\\",\\\"_addDragHandler\\\",\\\"_onMapClick\\\",\\\"_onKeyPress\\\"],this),this._anchor=r&&r.anchor||\\\"center\\\",this._color=r&&r.color||\\\"#3FB1CE\\\",this._draggable=r&&r.draggable||!1,this._state=\\\"inactive\\\",this._rotation=r&&r.rotation||0,this._rotationAlignment=r&&r.rotationAlignment||\\\"auto\\\",this._pitchAlignment=r&&r.pitchAlignment&&\\\"auto\\\"!==r.pitchAlignment?r.pitchAlignment:this._rotationAlignment,r&&r.element)this._element=r.element,this._offset=t.Point.convert(r&&r.offset||[0,0]);else{this._defaultMarker=!0,this._element=n.create(\\\"div\\\"),this._element.setAttribute(\\\"aria-label\\\",\\\"Map marker\\\");var a=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"svg\\\");a.setAttributeNS(null,\\\"display\\\",\\\"block\\\"),a.setAttributeNS(null,\\\"height\\\",\\\"41px\\\"),a.setAttributeNS(null,\\\"width\\\",\\\"27px\\\"),a.setAttributeNS(null,\\\"viewBox\\\",\\\"0 0 27 41\\\");var s=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\");s.setAttributeNS(null,\\\"stroke\\\",\\\"none\\\"),s.setAttributeNS(null,\\\"stroke-width\\\",\\\"1\\\"),s.setAttributeNS(null,\\\"fill\\\",\\\"none\\\"),s.setAttributeNS(null,\\\"fill-rule\\\",\\\"evenodd\\\");var l=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\");l.setAttributeNS(null,\\\"fill-rule\\\",\\\"nonzero\\\");var u=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\");u.setAttributeNS(null,\\\"transform\\\",\\\"translate(3.0, 29.0)\\\"),u.setAttributeNS(null,\\\"fill\\\",\\\"#000000\\\");for(var c=0,h=[{rx:\\\"10.5\\\",ry:\\\"5.25002273\\\"},{rx:\\\"10.5\\\",ry:\\\"5.25002273\\\"},{rx:\\\"9.5\\\",ry:\\\"4.77275007\\\"},{rx:\\\"8.5\\\",ry:\\\"4.29549936\\\"},{rx:\\\"7.5\\\",ry:\\\"3.81822308\\\"},{rx:\\\"6.5\\\",ry:\\\"3.34094679\\\"},{rx:\\\"5.5\\\",ry:\\\"2.86367051\\\"},{rx:\\\"4.5\\\",ry:\\\"2.38636864\\\"}];c<h.length;c+=1){var p=h[c],f=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"ellipse\\\");f.setAttributeNS(null,\\\"opacity\\\",\\\"0.04\\\"),f.setAttributeNS(null,\\\"cx\\\",\\\"10.5\\\"),f.setAttributeNS(null,\\\"cy\\\",\\\"5.80029008\\\"),f.setAttributeNS(null,\\\"rx\\\",p.rx),f.setAttributeNS(null,\\\"ry\\\",p.ry),u.appendChild(f)}var d=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\");d.setAttributeNS(null,\\\"fill\\\",this._color);var m=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"path\\\");m.setAttributeNS(null,\\\"d\\\",\\\"M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z\\\"),d.appendChild(m);var v=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\");v.setAttributeNS(null,\\\"opacity\\\",\\\"0.25\\\"),v.setAttributeNS(null,\\\"fill\\\",\\\"#000000\\\");var g=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"path\\\");g.setAttributeNS(null,\\\"d\\\",\\\"M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z\\\"),v.appendChild(g);var y=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\");y.setAttributeNS(null,\\\"transform\\\",\\\"translate(6.0, 7.0)\\\"),y.setAttributeNS(null,\\\"fill\\\",\\\"#FFFFFF\\\");var _=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\");_.setAttributeNS(null,\\\"transform\\\",\\\"translate(8.0, 8.0)\\\");var b=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"circle\\\");b.setAttributeNS(null,\\\"fill\\\",\\\"#000000\\\"),b.setAttributeNS(null,\\\"opacity\\\",\\\"0.25\\\"),b.setAttributeNS(null,\\\"cx\\\",\\\"5.5\\\"),b.setAttributeNS(null,\\\"cy\\\",\\\"5.5\\\"),b.setAttributeNS(null,\\\"r\\\",\\\"5.4999962\\\");var x=n.createNS(\\\"http://www.w3.org/2000/svg\\\",\\\"circle\\\");x.setAttributeNS(null,\\\"fill\\\",\\\"#FFFFFF\\\"),x.setAttributeNS(null,\\\"cx\\\",\\\"5.5\\\"),x.setAttributeNS(null,\\\"cy\\\",\\\"5.5\\\"),x.setAttributeNS(null,\\\"r\\\",\\\"5.4999962\\\"),_.appendChild(b),_.appendChild(x),l.appendChild(u),l.appendChild(d),l.appendChild(v),l.appendChild(y),l.appendChild(_),a.appendChild(l),this._element.appendChild(a),this._offset=t.Point.convert(r&&r.offset||[0,-14])}this._element.classList.add(\\\"mapboxgl-marker\\\"),this._element.addEventListener(\\\"dragstart\\\",(function(t){t.preventDefault()})),this._element.addEventListener(\\\"mousedown\\\",(function(t){t.preventDefault()})),this._element.addEventListener(\\\"focus\\\",(function(){var t=o._map.getContainer();t.scrollTop=0,t.scrollLeft=0})),Li(this._element,this._anchor,\\\"marker\\\"),this._popup=null}return e&&(r.__proto__=e),(r.prototype=Object.create(e&&e.prototype)).constructor=r,r.prototype.addTo=function(t){return this.remove(),this._map=t,t.getCanvasContainer().appendChild(this._element),t.on(\\\"move\\\",this._update),t.on(\\\"moveend\\\",this._update),this.setDraggable(this._draggable),this._update(),this._map.on(\\\"click\\\",this._onMapClick),this},r.prototype.remove=function(){return this._map&&(this._map.off(\\\"click\\\",this._onMapClick),this._map.off(\\\"move\\\",this._update),this._map.off(\\\"moveend\\\",this._update),this._map.off(\\\"mousedown\\\",this._addDragHandler),this._map.off(\\\"touchstart\\\",this._addDragHandler),this._map.off(\\\"mouseup\\\",this._onUp),this._map.off(\\\"touchend\\\",this._onUp),this._map.off(\\\"mousemove\\\",this._onMove),this._map.off(\\\"touchmove\\\",this._onMove),delete this._map),n.remove(this._element),this._popup&&this._popup.remove(),this},r.prototype.getLngLat=function(){return this._lngLat},r.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},r.prototype.getElement=function(){return this._element},r.prototype.setPopup=function(t){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener(\\\"keypress\\\",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute(\\\"tabindex\\\")),t){if(!(\\\"offset\\\"in t.options)){var e=Math.sqrt(Math.pow(13.5,2)/2);t.options.offset=this._defaultMarker?{top:[0,0],\\\"top-left\\\":[0,0],\\\"top-right\\\":[0,0],bottom:[0,-38.1],\\\"bottom-left\\\":[e,-1*(24.6+e)],\\\"bottom-right\\\":[-e,-1*(24.6+e)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset}this._popup=t,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute(\\\"tabindex\\\"),this._originalTabIndex||this._element.setAttribute(\\\"tabindex\\\",\\\"0\\\"),this._element.addEventListener(\\\"keypress\\\",this._onKeyPress)}return this},r.prototype._onKeyPress=function(t){var e=t.code,n=t.charCode||t.keyCode;\\\"Space\\\"!==e&&\\\"Enter\\\"!==e&&32!==n&&13!==n||this.togglePopup()},r.prototype._onMapClick=function(t){var e=t.originalEvent.target,n=this._element;this._popup&&(e===n||n.contains(e))&&this.togglePopup()},r.prototype.getPopup=function(){return this._popup},r.prototype.togglePopup=function(){var t=this._popup;return t?(t.isOpen()?t.remove():t.addTo(this._map),this):this},r.prototype._update=function(t){if(this._map){this._map.transform.renderWorldCopies&&(this._lngLat=Oi(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);var e=\\\"\\\";\\\"viewport\\\"===this._rotationAlignment||\\\"auto\\\"===this._rotationAlignment?e=\\\"rotateZ(\\\"+this._rotation+\\\"deg)\\\":\\\"map\\\"===this._rotationAlignment&&(e=\\\"rotateZ(\\\"+(this._rotation-this._map.getBearing())+\\\"deg)\\\");var r=\\\"\\\";\\\"viewport\\\"===this._pitchAlignment||\\\"auto\\\"===this._pitchAlignment?r=\\\"rotateX(0deg)\\\":\\\"map\\\"===this._pitchAlignment&&(r=\\\"rotateX(\\\"+this._map.getPitch()+\\\"deg)\\\"),t&&\\\"moveend\\\"!==t.type||(this._pos=this._pos.round()),n.setTransform(this._element,Ii[this._anchor]+\\\" translate(\\\"+this._pos.x+\\\"px, \\\"+this._pos.y+\\\"px) \\\"+r+\\\" \\\"+e)}},r.prototype.getOffset=function(){return this._offset},r.prototype.setOffset=function(e){return this._offset=t.Point.convert(e),this._update(),this},r.prototype._onMove=function(e){this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents=\\\"none\\\",\\\"pending\\\"===this._state&&(this._state=\\\"active\\\",this.fire(new t.Event(\\\"dragstart\\\"))),this.fire(new t.Event(\\\"drag\\\"))},r.prototype._onUp=function(){this._element.style.pointerEvents=\\\"auto\\\",this._positionDelta=null,this._map.off(\\\"mousemove\\\",this._onMove),this._map.off(\\\"touchmove\\\",this._onMove),\\\"active\\\"===this._state&&this.fire(new t.Event(\\\"dragend\\\")),this._state=\\\"inactive\\\"},r.prototype._addDragHandler=function(t){this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(this._pos).add(this._offset),this._state=\\\"pending\\\",this._map.on(\\\"mousemove\\\",this._onMove),this._map.on(\\\"touchmove\\\",this._onMove),this._map.once(\\\"mouseup\\\",this._onUp),this._map.once(\\\"touchend\\\",this._onUp))},r.prototype.setDraggable=function(t){return this._draggable=!!t,this._map&&(t?(this._map.on(\\\"mousedown\\\",this._addDragHandler),this._map.on(\\\"touchstart\\\",this._addDragHandler)):(this._map.off(\\\"mousedown\\\",this._addDragHandler),this._map.off(\\\"touchstart\\\",this._addDragHandler))),this},r.prototype.isDraggable=function(){return this._draggable},r.prototype.setRotation=function(t){return this._rotation=t||0,this._update(),this},r.prototype.getRotation=function(){return this._rotation},r.prototype.setRotationAlignment=function(t){return this._rotationAlignment=t||\\\"auto\\\",this._update(),this},r.prototype.getRotationAlignment=function(){return this._rotationAlignment},r.prototype.setPitchAlignment=function(t){return this._pitchAlignment=t&&\\\"auto\\\"!==t?t:this._rotationAlignment,this._update(),this},r.prototype.getPitchAlignment=function(){return this._pitchAlignment},r}(t.Evented),Ri={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0},Di=0,$i=!1,Bi=function(e){function r(n){e.call(this),this.options=t.extend({},Ri,n),t.bindAll([\\\"_onSuccess\\\",\\\"_onError\\\",\\\"_onZoom\\\",\\\"_finish\\\",\\\"_setupUI\\\",\\\"_updateCamera\\\",\\\"_updateMarker\\\"],this)}return e&&(r.__proto__=e),(r.prototype=Object.create(e&&e.prototype)).constructor=r,r.prototype.onAdd=function(e){var r;return this._map=e,this._container=n.create(\\\"div\\\",\\\"mapboxgl-ctrl mapboxgl-ctrl-group\\\"),r=this._setupUI,void 0!==Pi?r(Pi):void 0!==t.window.navigator.permissions?t.window.navigator.permissions.query({name:\\\"geolocation\\\"}).then((function(t){r(Pi=\\\"denied\\\"!==t.state)})):r(Pi=!!t.window.navigator.geolocation),this._container},r.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),n.remove(this._container),this._map.off(\\\"zoom\\\",this._onZoom),this._map=void 0,Di=0,$i=!1},r.prototype._isOutOfMapMaxBounds=function(t){var e=this._map.getMaxBounds(),n=t.coords;return e&&(n.longitude<e.getWest()||n.longitude>e.getEast()||n.latitude<e.getSouth()||n.latitude>e.getNorth())},r.prototype._setErrorState=function(){switch(this._watchState){case\\\"WAITING_ACTIVE\\\":this._watchState=\\\"ACTIVE_ERROR\\\",this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-active\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-active-error\\\");break;case\\\"ACTIVE_LOCK\\\":this._watchState=\\\"ACTIVE_ERROR\\\",this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-active\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-active-error\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-waiting\\\");break;case\\\"BACKGROUND\\\":this._watchState=\\\"BACKGROUND_ERROR\\\",this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-background\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-background-error\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-waiting\\\")}},r.prototype._onSuccess=function(e){if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.Event(\\\"outofmaxbounds\\\",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case\\\"WAITING_ACTIVE\\\":case\\\"ACTIVE_LOCK\\\":case\\\"ACTIVE_ERROR\\\":this._watchState=\\\"ACTIVE_LOCK\\\",this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-active-error\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-active\\\");break;case\\\"BACKGROUND\\\":case\\\"BACKGROUND_ERROR\\\":this._watchState=\\\"BACKGROUND\\\",this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-background-error\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-background\\\")}this.options.showUserLocation&&\\\"OFF\\\"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&\\\"ACTIVE_LOCK\\\"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove(\\\"mapboxgl-user-location-dot-stale\\\"),this.fire(new t.Event(\\\"geolocate\\\",e)),this._finish()}},r.prototype._updateCamera=function(e){var n=new t.LngLat(e.coords.longitude,e.coords.latitude),r=e.coords.accuracy,i=this._map.getBearing(),o=t.extend({bearing:i},this.options.fitBoundsOptions);this._map.fitBounds(n.toBounds(r),o,{geolocateSource:!0})},r.prototype._updateMarker=function(e){if(e){var n=new t.LngLat(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(n).addTo(this._map),this._userLocationDotMarker.setLngLat(n).addTo(this._map),this._accuracy=e.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},r.prototype._updateCircleRadius=function(){var t=this._map._container.clientHeight/2,e=this._map.unproject([0,t]),n=this._map.unproject([1,t]),r=e.distanceTo(n),i=Math.ceil(2*this._accuracy/r);this._circleElement.style.width=i+\\\"px\\\",this._circleElement.style.height=i+\\\"px\\\"},r.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},r.prototype._onError=function(e){if(this._map){if(this.options.trackUserLocation)if(1===e.code){this._watchState=\\\"OFF\\\",this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-active\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-active-error\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-background\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-background-error\\\"),this._geolocateButton.disabled=!0;var n=this._map._getUIString(\\\"GeolocateControl.LocationNotAvailable\\\");this._geolocateButton.title=n,this._geolocateButton.setAttribute(\\\"aria-label\\\",n),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===e.code&&$i)return;this._setErrorState()}\\\"OFF\\\"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add(\\\"mapboxgl-user-location-dot-stale\\\"),this.fire(new t.Event(\\\"error\\\",e)),this._finish()}},r.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},r.prototype._setupUI=function(e){var r=this;if(this._container.addEventListener(\\\"contextmenu\\\",(function(t){return t.preventDefault()})),this._geolocateButton=n.create(\\\"button\\\",\\\"mapboxgl-ctrl-geolocate\\\",this._container),n.create(\\\"span\\\",\\\"mapboxgl-ctrl-icon\\\",this._geolocateButton).setAttribute(\\\"aria-hidden\\\",!0),this._geolocateButton.type=\\\"button\\\",!1===e){t.warnOnce(\\\"Geolocation support is not available so the GeolocateControl will be disabled.\\\");var i=this._map._getUIString(\\\"GeolocateControl.LocationNotAvailable\\\");this._geolocateButton.disabled=!0,this._geolocateButton.title=i,this._geolocateButton.setAttribute(\\\"aria-label\\\",i)}else{var o=this._map._getUIString(\\\"GeolocateControl.FindMyLocation\\\");this._geolocateButton.title=o,this._geolocateButton.setAttribute(\\\"aria-label\\\",o)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute(\\\"aria-pressed\\\",\\\"false\\\"),this._watchState=\\\"OFF\\\"),this.options.showUserLocation&&(this._dotElement=n.create(\\\"div\\\",\\\"mapboxgl-user-location-dot\\\"),this._userLocationDotMarker=new zi(this._dotElement),this._circleElement=n.create(\\\"div\\\",\\\"mapboxgl-user-location-accuracy-circle\\\"),this._accuracyCircleMarker=new zi({element:this._circleElement,pitchAlignment:\\\"map\\\"}),this.options.trackUserLocation&&(this._watchState=\\\"OFF\\\"),this._map.on(\\\"zoom\\\",this._onZoom)),this._geolocateButton.addEventListener(\\\"click\\\",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on(\\\"movestart\\\",(function(e){e.geolocateSource||\\\"ACTIVE_LOCK\\\"!==r._watchState||e.originalEvent&&\\\"resize\\\"===e.originalEvent.type||(r._watchState=\\\"BACKGROUND\\\",r._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-background\\\"),r._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-active\\\"),r.fire(new t.Event(\\\"trackuserlocationend\\\")))}))},r.prototype.trigger=function(){if(!this._setup)return t.warnOnce(\\\"Geolocate control triggered before added to a map\\\"),!1;if(this.options.trackUserLocation){switch(this._watchState){case\\\"OFF\\\":this._watchState=\\\"WAITING_ACTIVE\\\",this.fire(new t.Event(\\\"trackuserlocationstart\\\"));break;case\\\"WAITING_ACTIVE\\\":case\\\"ACTIVE_LOCK\\\":case\\\"ACTIVE_ERROR\\\":case\\\"BACKGROUND_ERROR\\\":Di--,$i=!1,this._watchState=\\\"OFF\\\",this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-active\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-active-error\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-background\\\"),this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-background-error\\\"),this.fire(new t.Event(\\\"trackuserlocationend\\\"));break;case\\\"BACKGROUND\\\":this._watchState=\\\"ACTIVE_LOCK\\\",this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-background\\\"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event(\\\"trackuserlocationstart\\\"))}switch(this._watchState){case\\\"WAITING_ACTIVE\\\":this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-active\\\");break;case\\\"ACTIVE_LOCK\\\":this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-active\\\");break;case\\\"ACTIVE_ERROR\\\":this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-active-error\\\");break;case\\\"BACKGROUND\\\":this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-background\\\");break;case\\\"BACKGROUND_ERROR\\\":this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-background-error\\\")}if(\\\"OFF\\\"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){var e;this._geolocateButton.classList.add(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.setAttribute(\\\"aria-pressed\\\",\\\"true\\\"),++Di>1?(e={maximumAge:6e5,timeout:0},$i=!0):(e=this.options.positionOptions,$i=!1),this._geolocationWatchID=t.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,e)}}else t.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},r.prototype._clearWatch=function(){t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove(\\\"mapboxgl-ctrl-geolocate-waiting\\\"),this._geolocateButton.setAttribute(\\\"aria-pressed\\\",\\\"false\\\"),this.options.showUserLocation&&this._updateMarker(null)},r}(t.Evented),Ni={maxWidth:100,unit:\\\"metric\\\"},Fi=function(e){this.options=t.extend({},Ni,e),t.bindAll([\\\"_onMove\\\",\\\"setUnit\\\"],this)};function ji(t,e,n){var r=n&&n.maxWidth||100,i=t._container.clientHeight/2,o=t.unproject([0,i]),a=t.unproject([r,i]),s=o.distanceTo(a);if(n&&\\\"imperial\\\"===n.unit){var l=3.2808*s;l>5280?Ui(e,r,l/5280,t._getUIString(\\\"ScaleControl.Miles\\\")):Ui(e,r,l,t._getUIString(\\\"ScaleControl.Feet\\\"))}else n&&\\\"nautical\\\"===n.unit?Ui(e,r,s/1852,t._getUIString(\\\"ScaleControl.NauticalMiles\\\")):s>=1e3?Ui(e,r,s/1e3,t._getUIString(\\\"ScaleControl.Kilometers\\\")):Ui(e,r,s,t._getUIString(\\\"ScaleControl.Meters\\\"))}function Ui(t,e,n,r){var i,o,a,s=(i=n,(o=Math.pow(10,(\\\"\\\"+Math.floor(i)).length-1))*(a=(a=i/o)>=10?10:a>=5?5:a>=3?3:a>=2?2:a>=1?1:function(t){var e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(a)));t.style.width=e*(s/n)+\\\"px\\\",t.innerHTML=s+\\\"&nbsp;\\\"+r}Fi.prototype.getDefaultPosition=function(){return\\\"bottom-left\\\"},Fi.prototype._onMove=function(){ji(this._map,this._container,this.options)},Fi.prototype.onAdd=function(t){return this._map=t,this._container=n.create(\\\"div\\\",\\\"mapboxgl-ctrl mapboxgl-ctrl-scale\\\",t.getContainer()),this._map.on(\\\"move\\\",this._onMove),this._onMove(),this._container},Fi.prototype.onRemove=function(){n.remove(this._container),this._map.off(\\\"move\\\",this._onMove),this._map=void 0},Fi.prototype.setUnit=function(t){this.options.unit=t,ji(this._map,this._container,this.options)};var qi=function(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof t.window.HTMLElement?this._container=e.container:t.warnOnce(\\\"Full screen control 'container' must be a DOM element.\\\")),t.bindAll([\\\"_onClickFullscreen\\\",\\\"_changeIcon\\\"],this),\\\"onfullscreenchange\\\"in t.window.document?this._fullscreenchange=\\\"fullscreenchange\\\":\\\"onmozfullscreenchange\\\"in t.window.document?this._fullscreenchange=\\\"mozfullscreenchange\\\":\\\"onwebkitfullscreenchange\\\"in t.window.document?this._fullscreenchange=\\\"webkitfullscreenchange\\\":\\\"onmsfullscreenchange\\\"in t.window.document&&(this._fullscreenchange=\\\"MSFullscreenChange\\\")};qi.prototype.onAdd=function(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=n.create(\\\"div\\\",\\\"mapboxgl-ctrl mapboxgl-ctrl-group\\\"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display=\\\"none\\\",t.warnOnce(\\\"This device does not support fullscreen mode.\\\")),this._controlContainer},qi.prototype.onRemove=function(){n.remove(this._controlContainer),this._map=null,t.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},qi.prototype._checkFullscreenSupport=function(){return!!(t.window.document.fullscreenEnabled||t.window.document.mozFullScreenEnabled||t.window.document.msFullscreenEnabled||t.window.document.webkitFullscreenEnabled)},qi.prototype._setupUI=function(){var e=this._fullscreenButton=n.create(\\\"button\\\",\\\"mapboxgl-ctrl-fullscreen\\\",this._controlContainer);n.create(\\\"span\\\",\\\"mapboxgl-ctrl-icon\\\",e).setAttribute(\\\"aria-hidden\\\",!0),e.type=\\\"button\\\",this._updateTitle(),this._fullscreenButton.addEventListener(\\\"click\\\",this._onClickFullscreen),t.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},qi.prototype._updateTitle=function(){var t=this._getTitle();this._fullscreenButton.setAttribute(\\\"aria-label\\\",t),this._fullscreenButton.title=t},qi.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?\\\"FullscreenControl.Exit\\\":\\\"FullscreenControl.Enter\\\")},qi.prototype._isFullscreen=function(){return this._fullscreen},qi.prototype._changeIcon=function(){(t.window.document.fullscreenElement||t.window.document.mozFullScreenElement||t.window.document.webkitFullscreenElement||t.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle(\\\"mapboxgl-ctrl-shrink\\\"),this._fullscreenButton.classList.toggle(\\\"mapboxgl-ctrl-fullscreen\\\"),this._updateTitle())},qi.prototype._onClickFullscreen=function(){this._isFullscreen()?t.window.document.exitFullscreen?t.window.document.exitFullscreen():t.window.document.mozCancelFullScreen?t.window.document.mozCancelFullScreen():t.window.document.msExitFullscreen?t.window.document.msExitFullscreen():t.window.document.webkitCancelFullScreen&&t.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Vi={closeButton:!0,closeOnClick:!0,className:\\\"\\\",maxWidth:\\\"240px\\\"},Hi=function(e){function r(n){e.call(this),this.options=t.extend(Object.create(Vi),n),t.bindAll([\\\"_update\\\",\\\"_onClose\\\",\\\"remove\\\",\\\"_onMouseMove\\\",\\\"_onMouseUp\\\",\\\"_onDrag\\\"],this)}return e&&(r.__proto__=e),(r.prototype=Object.create(e&&e.prototype)).constructor=r,r.prototype.addTo=function(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&this._map.on(\\\"click\\\",this._onClose),this.options.closeOnMove&&this._map.on(\\\"move\\\",this._onClose),this._map.on(\\\"remove\\\",this.remove),this._update(),this._trackPointer?(this._map.on(\\\"mousemove\\\",this._onMouseMove),this._map.on(\\\"mouseup\\\",this._onMouseUp),this._container&&this._container.classList.add(\\\"mapboxgl-popup-track-pointer\\\"),this._map._canvasContainer.classList.add(\\\"mapboxgl-track-pointer\\\")):this._map.on(\\\"move\\\",this._update),this.fire(new t.Event(\\\"open\\\")),this},r.prototype.isOpen=function(){return!!this._map},r.prototype.remove=function(){return this._content&&n.remove(this._content),this._container&&(n.remove(this._container),delete this._container),this._map&&(this._map.off(\\\"move\\\",this._update),this._map.off(\\\"move\\\",this._onClose),this._map.off(\\\"click\\\",this._onClose),this._map.off(\\\"remove\\\",this.remove),this._map.off(\\\"mousemove\\\",this._onMouseMove),this._map.off(\\\"mouseup\\\",this._onMouseUp),this._map.off(\\\"drag\\\",this._onDrag),delete this._map),this.fire(new t.Event(\\\"close\\\")),this},r.prototype.getLngLat=function(){return this._lngLat},r.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on(\\\"move\\\",this._update),this._map.off(\\\"mousemove\\\",this._onMouseMove),this._container&&this._container.classList.remove(\\\"mapboxgl-popup-track-pointer\\\"),this._map._canvasContainer.classList.remove(\\\"mapboxgl-track-pointer\\\")),this},r.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off(\\\"move\\\",this._update),this._map.on(\\\"mousemove\\\",this._onMouseMove),this._map.on(\\\"drag\\\",this._onDrag),this._container&&this._container.classList.add(\\\"mapboxgl-popup-track-pointer\\\"),this._map._canvasContainer.classList.add(\\\"mapboxgl-track-pointer\\\")),this},r.prototype.getElement=function(){return this._container},r.prototype.setText=function(e){return this.setDOMContent(t.window.document.createTextNode(e))},r.prototype.setHTML=function(e){var n,r=t.window.document.createDocumentFragment(),i=t.window.document.createElement(\\\"body\\\");for(i.innerHTML=e;n=i.firstChild;)r.appendChild(n);return this.setDOMContent(r)},r.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},r.prototype.setMaxWidth=function(t){return this.options.maxWidth=t,this._update(),this},r.prototype.setDOMContent=function(t){return this._createContent(),this._content.appendChild(t),this._update(),this},r.prototype.addClassName=function(t){this._container&&this._container.classList.add(t)},r.prototype.removeClassName=function(t){this._container&&this._container.classList.remove(t)},r.prototype.toggleClassName=function(t){if(this._container)return this._container.classList.toggle(t)},r.prototype._createContent=function(){this._content&&n.remove(this._content),this._content=n.create(\\\"div\\\",\\\"mapboxgl-popup-content\\\",this._container),this.options.closeButton&&(this._closeButton=n.create(\\\"button\\\",\\\"mapboxgl-popup-close-button\\\",this._content),this._closeButton.type=\\\"button\\\",this._closeButton.setAttribute(\\\"aria-label\\\",\\\"Close popup\\\"),this._closeButton.innerHTML=\\\"&#215;\\\",this._closeButton.addEventListener(\\\"click\\\",this._onClose))},r.prototype._onMouseUp=function(t){this._update(t.point)},r.prototype._onMouseMove=function(t){this._update(t.point)},r.prototype._onDrag=function(t){this._update(t.point)},r.prototype._update=function(e){var r=this;if(this._map&&(this._lngLat||this._trackPointer)&&this._content&&(this._container||(this._container=n.create(\\\"div\\\",\\\"mapboxgl-popup\\\",this._map.getContainer()),this._tip=n.create(\\\"div\\\",\\\"mapboxgl-popup-tip\\\",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(\\\" \\\").forEach((function(t){return r._container.classList.add(t)})),this._trackPointer&&this._container.classList.add(\\\"mapboxgl-popup-track-pointer\\\")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Oi(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||e)){var i=this._pos=this._trackPointer&&e?e:this._map.project(this._lngLat),o=this.options.anchor,a=function e(n){if(n){if(\\\"number\\\"==typeof n){var r=Math.round(Math.sqrt(.5*Math.pow(n,2)));return{center:new t.Point(0,0),top:new t.Point(0,n),\\\"top-left\\\":new t.Point(r,r),\\\"top-right\\\":new t.Point(-r,r),bottom:new t.Point(0,-n),\\\"bottom-left\\\":new t.Point(r,-r),\\\"bottom-right\\\":new t.Point(-r,-r),left:new t.Point(n,0),right:new t.Point(-n,0)}}if(n instanceof t.Point||Array.isArray(n)){var i=t.Point.convert(n);return{center:i,top:i,\\\"top-left\\\":i,\\\"top-right\\\":i,bottom:i,\\\"bottom-left\\\":i,\\\"bottom-right\\\":i,left:i,right:i}}return{center:t.Point.convert(n.center||[0,0]),top:t.Point.convert(n.top||[0,0]),\\\"top-left\\\":t.Point.convert(n[\\\"top-left\\\"]||[0,0]),\\\"top-right\\\":t.Point.convert(n[\\\"top-right\\\"]||[0,0]),bottom:t.Point.convert(n.bottom||[0,0]),\\\"bottom-left\\\":t.Point.convert(n[\\\"bottom-left\\\"]||[0,0]),\\\"bottom-right\\\":t.Point.convert(n[\\\"bottom-right\\\"]||[0,0]),left:t.Point.convert(n.left||[0,0]),right:t.Point.convert(n.right||[0,0])}}return e(new t.Point(0,0))}(this.options.offset);if(!o){var s,l=this._container.offsetWidth,u=this._container.offsetHeight;s=i.y+a.bottom.y<u?[\\\"top\\\"]:i.y>this._map.transform.height-u?[\\\"bottom\\\"]:[],i.x<l/2?s.push(\\\"left\\\"):i.x>this._map.transform.width-l/2&&s.push(\\\"right\\\"),o=0===s.length?\\\"bottom\\\":s.join(\\\"-\\\")}var c=i.add(a[o]).round();n.setTransform(this._container,Ii[o]+\\\" translate(\\\"+c.x+\\\"px,\\\"+c.y+\\\"px)\\\"),Li(this._container,o,\\\"popup\\\")}},r.prototype._onClose=function(){this.remove()},r}(t.Evented),Gi={version:t.version,supported:e,setRTLTextPlugin:t.setRTLTextPlugin,getRTLTextPluginStatus:t.getRTLTextPluginStatus,Map:Mi,NavigationControl:Si,GeolocateControl:Bi,AttributionControl:gi,ScaleControl:Fi,FullscreenControl:qi,Popup:Hi,Marker:zi,Style:qe,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.Point,MercatorCoordinate:t.MercatorCoordinate,Evented:t.Evented,config:t.config,prewarm:function(){Bt().acquire(zt)},clearPrewarmedResources:function(){var t=Dt;t&&(t.isPreloaded()&&1===t.numActive()?(t.release(zt),Dt=null):console.warn(\\\"Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()\\\"))},get accessToken(){return t.config.ACCESS_TOKEN},set accessToken(e){t.config.ACCESS_TOKEN=e},get baseApiUrl(){return t.config.API_URL},set baseApiUrl(e){t.config.API_URL=e},get workerCount(){return Rt.workerCount},set workerCount(t){Rt.workerCount=t},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e},clearStorage:function(e){t.clearTileCache(e)},workerUrl:\\\"\\\"};return Gi})),n},\\\"object\\\"==typeof n&&void 0!==e?e.exports=i():(r=r||self).mapboxgl=i()},{}],427:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=1<<t+1,n=new Array(e),r=0;r<e;++r)n[r]=o(t,r);return n};var r=t(\\\"convex-hull\\\");function i(t,e,n){for(var r=new Array(t),i=0;i<t;++i)r[i]=0,i===e&&(r[i]+=.5),i===n&&(r[i]+=.5);return r}function o(t,e){if(0===e||e===(1<<t+1)-1)return[];for(var n=[],o=[],a=0;a<=t;++a)if(e&1<<a){n.push(i(t,a-1,a-1)),o.push(null);for(var s=0;s<=t;++s)~e&1<<s&&(n.push(i(t,a-1,s-1)),o.push([a,s]))}var l=r(n),u=[];t:for(a=0;a<l.length;++a){var c=l[a],h=[];for(s=0;s<c.length;++s){if(!o[c[s]])continue t;h.push(o[c[s]].slice())}u.push(h)}return u}},{\\\"convex-hull\\\":132}],428:[function(t,e,n){var r=t(\\\"./normalize\\\"),i=t(\\\"gl-mat4/create\\\"),o=t(\\\"gl-mat4/clone\\\"),a=t(\\\"gl-mat4/determinant\\\"),s=t(\\\"gl-mat4/invert\\\"),l=t(\\\"gl-mat4/transpose\\\"),u={length:t(\\\"gl-vec3/length\\\"),normalize:t(\\\"gl-vec3/normalize\\\"),dot:t(\\\"gl-vec3/dot\\\"),cross:t(\\\"gl-vec3/cross\\\")},c=i(),h=i(),p=[0,0,0,0],f=[[0,0,0],[0,0,0],[0,0,0]],d=[0,0,0];function m(t,e,n,r,i){t[0]=e[0]*r+n[0]*i,t[1]=e[1]*r+n[1]*i,t[2]=e[2]*r+n[2]*i}e.exports=function(t,e,n,i,v,g){if(e||(e=[0,0,0]),n||(n=[0,0,0]),i||(i=[0,0,0]),v||(v=[0,0,0,1]),g||(g=[0,0,0,1]),!r(c,t))return!1;if(o(h,c),h[3]=0,h[7]=0,h[11]=0,h[15]=1,Math.abs(a(h)<1e-8))return!1;var y,_,b,x,w,A,C,M=c[3],E=c[7],T=c[11],S=c[12],k=c[13],O=c[14],I=c[15];if(0!==M||0!==E||0!==T){if(p[0]=M,p[1]=E,p[2]=T,p[3]=I,!s(h,h))return!1;l(h,h),y=v,b=h,x=(_=p)[0],w=_[1],A=_[2],C=_[3],y[0]=b[0]*x+b[4]*w+b[8]*A+b[12]*C,y[1]=b[1]*x+b[5]*w+b[9]*A+b[13]*C,y[2]=b[2]*x+b[6]*w+b[10]*A+b[14]*C,y[3]=b[3]*x+b[7]*w+b[11]*A+b[15]*C}else v[0]=v[1]=v[2]=0,v[3]=1;if(e[0]=S,e[1]=k,e[2]=O,function(t,e){t[0][0]=e[0],t[0][1]=e[1],t[0][2]=e[2],t[1][0]=e[4],t[1][1]=e[5],t[1][2]=e[6],t[2][0]=e[8],t[2][1]=e[9],t[2][2]=e[10]}(f,c),n[0]=u.length(f[0]),u.normalize(f[0],f[0]),i[0]=u.dot(f[0],f[1]),m(f[1],f[1],f[0],1,-i[0]),n[1]=u.length(f[1]),u.normalize(f[1],f[1]),i[0]/=n[1],i[1]=u.dot(f[0],f[2]),m(f[2],f[2],f[0],1,-i[1]),i[2]=u.dot(f[1],f[2]),m(f[2],f[2],f[1],1,-i[2]),n[2]=u.length(f[2]),u.normalize(f[2],f[2]),i[1]/=n[2],i[2]/=n[2],u.cross(d,f[1],f[2]),u.dot(f[0],d)<0)for(var L=0;L<3;L++)n[L]*=-1,f[L][0]*=-1,f[L][1]*=-1,f[L][2]*=-1;return g[0]=.5*Math.sqrt(Math.max(1+f[0][0]-f[1][1]-f[2][2],0)),g[1]=.5*Math.sqrt(Math.max(1-f[0][0]+f[1][1]-f[2][2],0)),g[2]=.5*Math.sqrt(Math.max(1-f[0][0]-f[1][1]+f[2][2],0)),g[3]=.5*Math.sqrt(Math.max(1+f[0][0]+f[1][1]+f[2][2],0)),f[2][1]>f[1][2]&&(g[0]=-g[0]),f[0][2]>f[2][0]&&(g[1]=-g[1]),f[1][0]>f[0][1]&&(g[2]=-g[2]),!0}},{\\\"./normalize\\\":429,\\\"gl-mat4/clone\\\":267,\\\"gl-mat4/create\\\":268,\\\"gl-mat4/determinant\\\":269,\\\"gl-mat4/invert\\\":273,\\\"gl-mat4/transpose\\\":284,\\\"gl-vec3/cross\\\":334,\\\"gl-vec3/dot\\\":339,\\\"gl-vec3/length\\\":349,\\\"gl-vec3/normalize\\\":356}],429:[function(t,e,n){e.exports=function(t,e){var n=e[15];if(0===n)return!1;for(var r=1/n,i=0;i<16;i++)t[i]=e[i]*r;return!0}},{}],430:[function(t,e,n){var r=t(\\\"gl-vec3/lerp\\\"),i=t(\\\"mat4-recompose\\\"),o=t(\\\"mat4-decompose\\\"),a=t(\\\"gl-mat4/determinant\\\"),s=t(\\\"quat-slerp\\\"),l=h(),u=h(),c=h();function h(){return{translate:p(),scale:p(1),skew:p(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function p(t){return[t||0,t||0,t||0]}e.exports=function(t,e,n,h){if(0===a(e)||0===a(n))return!1;var p=o(e,l.translate,l.scale,l.skew,l.perspective,l.quaternion),f=o(n,u.translate,u.scale,u.skew,u.perspective,u.quaternion);return!(!p||!f||(r(c.translate,l.translate,u.translate,h),r(c.skew,l.skew,u.skew,h),r(c.scale,l.scale,u.scale,h),r(c.perspective,l.perspective,u.perspective,h),s(c.quaternion,l.quaternion,u.quaternion,h),i(t,c.translate,c.scale,c.skew,c.perspective,c.quaternion),0))}},{\\\"gl-mat4/determinant\\\":269,\\\"gl-vec3/lerp\\\":350,\\\"mat4-decompose\\\":428,\\\"mat4-recompose\\\":431,\\\"quat-slerp\\\":481}],431:[function(t,e,n){var r={identity:t(\\\"gl-mat4/identity\\\"),translate:t(\\\"gl-mat4/translate\\\"),multiply:t(\\\"gl-mat4/multiply\\\"),create:t(\\\"gl-mat4/create\\\"),scale:t(\\\"gl-mat4/scale\\\"),fromRotationTranslation:t(\\\"gl-mat4/fromRotationTranslation\\\")},i=(r.create(),r.create());e.exports=function(t,e,n,o,a,s){return r.identity(t),r.fromRotationTranslation(t,s,e),t[3]=a[0],t[7]=a[1],t[11]=a[2],t[15]=a[3],r.identity(i),0!==o[2]&&(i[9]=o[2],r.multiply(t,t,i)),0!==o[1]&&(i[9]=0,i[8]=o[1],r.multiply(t,t,i)),0!==o[0]&&(i[8]=0,i[4]=o[0],r.multiply(t,t,i)),r.scale(t,t,n),t}},{\\\"gl-mat4/create\\\":268,\\\"gl-mat4/fromRotationTranslation\\\":271,\\\"gl-mat4/identity\\\":272,\\\"gl-mat4/multiply\\\":275,\\\"gl-mat4/scale\\\":282,\\\"gl-mat4/translate\\\":283}],432:[function(t,e,n){\\\"use strict\\\";e.exports=Math.log2||function(t){return Math.log(t)*Math.LOG2E}},{}],433:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"binary-search-bounds\\\"),i=t(\\\"mat4-interpolate\\\"),o=t(\\\"gl-mat4/invert\\\"),a=t(\\\"gl-mat4/rotateX\\\"),s=t(\\\"gl-mat4/rotateY\\\"),l=t(\\\"gl-mat4/rotateZ\\\"),u=t(\\\"gl-mat4/lookAt\\\"),c=t(\\\"gl-mat4/translate\\\"),h=(t(\\\"gl-mat4/scale\\\"),t(\\\"gl-vec3/normalize\\\")),p=[0,0,0];function f(t){this._components=t.slice(),this._time=[0],this.prevMatrix=t.slice(),this.nextMatrix=t.slice(),this.computedMatrix=t.slice(),this.computedInverse=t.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}e.exports=function(t){return new f((t=t||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var d=f.prototype;d.recalcMatrix=function(t){var e=this._time,n=r.le(e,t),a=this.computedMatrix;if(!(n<0)){var s=this._components;if(n===e.length-1)for(var l=16*n,u=0;u<16;++u)a[u]=s[l++];else{var c=e[n+1]-e[n],p=(l=16*n,this.prevMatrix),f=!0;for(u=0;u<16;++u)p[u]=s[l++];var d=this.nextMatrix;for(u=0;u<16;++u)d[u]=s[l++],f=f&&p[u]===d[u];if(c<1e-6||f)for(u=0;u<16;++u)a[u]=p[u];else i(a,p,d,(t-e[n])/c)}var m=this.computedUp;m[0]=a[1],m[1]=a[5],m[2]=a[9],h(m,m);var v=this.computedInverse;o(v,a);var g=this.computedEye,y=v[15];g[0]=v[12]/y,g[1]=v[13]/y,g[2]=v[14]/y;var _=this.computedCenter,b=Math.exp(this.computedRadius[0]);for(u=0;u<3;++u)_[u]=g[u]-a[2+4*u]*b}},d.idle=function(t){if(!(t<this.lastT())){for(var e=this._components,n=e.length-16,r=0;r<16;++r)e.push(e[n++]);this._time.push(t)}},d.flush=function(t){var e=r.gt(this._time,t)-2;e<0||(this._time.splice(0,e),this._components.splice(0,16*e))},d.lastT=function(){return this._time[this._time.length-1]},d.lookAt=function(t,e,n,r){this.recalcMatrix(t),e=e||this.computedEye,n=n||p,r=r||this.computedUp,this.setMatrix(t,u(this.computedMatrix,e,n,r));for(var i=0,o=0;o<3;++o)i+=Math.pow(n[o]-e[o],2);i=Math.log(Math.sqrt(i)),this.computedRadius[0]=i},d.rotate=function(t,e,n,r){this.recalcMatrix(t);var i=this.computedInverse;e&&s(i,i,e),n&&a(i,i,n),r&&l(i,i,r),this.setMatrix(t,o(this.computedMatrix,i))};var m=[0,0,0];d.pan=function(t,e,n,r){m[0]=-(e||0),m[1]=-(n||0),m[2]=-(r||0),this.recalcMatrix(t);var i=this.computedInverse;c(i,i,m),this.setMatrix(t,o(i,i))},d.translate=function(t,e,n,r){m[0]=e||0,m[1]=n||0,m[2]=r||0,this.recalcMatrix(t);var i=this.computedMatrix;c(i,i,m),this.setMatrix(t,i)},d.setMatrix=function(t,e){if(!(t<this.lastT())){this._time.push(t);for(var n=0;n<16;++n)this._components.push(e[n])}},d.setDistance=function(t,e){this.computedRadius[0]=e},d.setDistanceLimits=function(t,e){var n=this._limits;n[0]=t,n[1]=e},d.getDistanceLimits=function(t){var e=this._limits;return t?(t[0]=e[0],t[1]=e[1],t):e}},{\\\"binary-search-bounds\\\":434,\\\"gl-mat4/invert\\\":273,\\\"gl-mat4/lookAt\\\":274,\\\"gl-mat4/rotateX\\\":279,\\\"gl-mat4/rotateY\\\":280,\\\"gl-mat4/rotateZ\\\":281,\\\"gl-mat4/scale\\\":282,\\\"gl-mat4/translate\\\":283,\\\"gl-vec3/normalize\\\":356,\\\"mat4-interpolate\\\":430}],434:[function(t,e,n){arguments[4][238][0].apply(n,arguments)},{dup:238}],435:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.length;if(e<3){for(var n=new Array(e),i=0;i<e;++i)n[i]=i;return 2===e&&t[0][0]===t[1][0]&&t[0][1]===t[1][1]?[0]:n}var o=new Array(e);for(i=0;i<e;++i)o[i]=i;o.sort((function(e,n){return t[e][0]-t[n][0]||t[e][1]-t[n][1]}));var a=[o[0],o[1]],s=[o[0],o[1]];for(i=2;i<e;++i){for(var l=o[i],u=t[l],c=a.length;c>1&&r(t[a[c-2]],t[a[c-1]],u)<=0;)c-=1,a.pop();for(a.push(l),c=s.length;c>1&&r(t[s[c-2]],t[s[c-1]],u)>=0;)c-=1,s.pop();s.push(l)}n=new Array(s.length+a.length-2);for(var h=0,p=(i=0,a.length);i<p;++i)n[h++]=a[i];for(var f=s.length-2;f>0;--f)n[h++]=s[f];return n};var r=t(\\\"robust-orientation\\\")[3]},{\\\"robust-orientation\\\":500}],436:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){e||(e=t,t=window);var n=0,i=0,o=0,a={shift:!1,alt:!1,control:!1,meta:!1},s=!1;function l(t){var e=!1;return\\\"altKey\\\"in t&&(e=e||t.altKey!==a.alt,a.alt=!!t.altKey),\\\"shiftKey\\\"in t&&(e=e||t.shiftKey!==a.shift,a.shift=!!t.shiftKey),\\\"ctrlKey\\\"in t&&(e=e||t.ctrlKey!==a.control,a.control=!!t.ctrlKey),\\\"metaKey\\\"in t&&(e=e||t.metaKey!==a.meta,a.meta=!!t.metaKey),e}function u(t,s){var u=r.x(s),c=r.y(s);\\\"buttons\\\"in s&&(t=0|s.buttons),(t!==n||u!==i||c!==o||l(s))&&(n=0|t,i=u||0,o=c||0,e&&e(n,i,o,a))}function c(t){u(0,t)}function h(){(n||i||o||a.shift||a.alt||a.meta||a.control)&&(i=o=0,n=0,a.shift=a.alt=a.control=a.meta=!1,e&&e(0,0,0,a))}function p(t){l(t)&&e&&e(n,i,o,a)}function f(t){0===r.buttons(t)?u(0,t):u(n,t)}function d(t){u(n|r.buttons(t),t)}function m(t){u(n&~r.buttons(t),t)}function v(){s||(s=!0,t.addEventListener(\\\"mousemove\\\",f),t.addEventListener(\\\"mousedown\\\",d),t.addEventListener(\\\"mouseup\\\",m),t.addEventListener(\\\"mouseleave\\\",c),t.addEventListener(\\\"mouseenter\\\",c),t.addEventListener(\\\"mouseout\\\",c),t.addEventListener(\\\"mouseover\\\",c),t.addEventListener(\\\"blur\\\",h),t.addEventListener(\\\"keyup\\\",p),t.addEventListener(\\\"keydown\\\",p),t.addEventListener(\\\"keypress\\\",p),t!==window&&(window.addEventListener(\\\"blur\\\",h),window.addEventListener(\\\"keyup\\\",p),window.addEventListener(\\\"keydown\\\",p),window.addEventListener(\\\"keypress\\\",p)))}v();var g={element:t};return Object.defineProperties(g,{enabled:{get:function(){return s},set:function(e){e?v():s&&(s=!1,t.removeEventListener(\\\"mousemove\\\",f),t.removeEventListener(\\\"mousedown\\\",d),t.removeEventListener(\\\"mouseup\\\",m),t.removeEventListener(\\\"mouseleave\\\",c),t.removeEventListener(\\\"mouseenter\\\",c),t.removeEventListener(\\\"mouseout\\\",c),t.removeEventListener(\\\"mouseover\\\",c),t.removeEventListener(\\\"blur\\\",h),t.removeEventListener(\\\"keyup\\\",p),t.removeEventListener(\\\"keydown\\\",p),t.removeEventListener(\\\"keypress\\\",p),t!==window&&(window.removeEventListener(\\\"blur\\\",h),window.removeEventListener(\\\"keyup\\\",p),window.removeEventListener(\\\"keydown\\\",p),window.removeEventListener(\\\"keypress\\\",p)))},enumerable:!0},buttons:{get:function(){return n},enumerable:!0},x:{get:function(){return i},enumerable:!0},y:{get:function(){return o},enumerable:!0},mods:{get:function(){return a},enumerable:!0}}),g};var r=t(\\\"mouse-event\\\")},{\\\"mouse-event\\\":438}],437:[function(t,e,n){var r={left:0,top:0};e.exports=function(t,e,n){e=e||t.currentTarget||t.srcElement,Array.isArray(n)||(n=[0,0]);var i,o=t.clientX||0,a=t.clientY||0,s=(i=e)===window||i===document||i===document.body?r:i.getBoundingClientRect();return n[0]=o-s.left,n[1]=a-s.top,n}},{}],438:[function(t,e,n){\\\"use strict\\\";function r(t){return t.target||t.srcElement||window}n.buttons=function(t){if(\\\"object\\\"==typeof t){if(\\\"buttons\\\"in t)return t.buttons;if(\\\"which\\\"in t){if(2===(e=t.which))return 4;if(3===e)return 2;if(e>0)return 1<<e-1}else if(\\\"button\\\"in t){var e;if(1===(e=t.button))return 4;if(2===e)return 2;if(e>=0)return 1<<e}}return 0},n.element=r,n.x=function(t){if(\\\"object\\\"==typeof t){if(\\\"offsetX\\\"in t)return t.offsetX;var e=r(t).getBoundingClientRect();return t.clientX-e.left}return 0},n.y=function(t){if(\\\"object\\\"==typeof t){if(\\\"offsetY\\\"in t)return t.offsetY;var e=r(t).getBoundingClientRect();return t.clientY-e.top}return 0}},{}],439:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"to-px\\\");e.exports=function(t,e,n){\\\"function\\\"==typeof t&&(n=!!e,e=t,t=window);var i=r(\\\"ex\\\",t),o=function(t){n&&t.preventDefault();var r=t.deltaX||0,o=t.deltaY||0,a=t.deltaZ||0,s=1;switch(t.deltaMode){case 1:s=i;break;case 2:s=window.innerHeight}if(o*=s,a*=s,(r*=s)||o||a)return e(r,o,a,t)};return t.addEventListener(\\\"wheel\\\",o),o}},{\\\"to-px\\\":530}],440:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"typedarray-pool\\\");function i(t){return\\\"a\\\"+t}function o(t){return\\\"d\\\"+t}function a(t,e){return\\\"c\\\"+t+\\\"_\\\"+e}function s(t){return\\\"s\\\"+t}function l(t,e){return\\\"t\\\"+t+\\\"_\\\"+e}function u(t){return\\\"o\\\"+t}function c(t){return\\\"x\\\"+t}function h(t){return\\\"p\\\"+t}function p(t,e){return\\\"d\\\"+t+\\\"_\\\"+e}function f(t){return\\\"i\\\"+t}function d(t,e){return\\\"u\\\"+t+\\\"_\\\"+e}function m(t){return\\\"b\\\"+t}function v(t){return\\\"y\\\"+t}function g(t){return\\\"e\\\"+t}function y(t){return\\\"v\\\"+t}e.exports=function(t){function e(t){throw new Error(\\\"ndarray-extract-contour: \\\"+t)}\\\"object\\\"!=typeof t&&e(\\\"Must specify arguments\\\");var n=t.order;Array.isArray(n)||e(\\\"Must specify order\\\");var M=t.arrayArguments||1;M<1&&e(\\\"Must have at least one array argument\\\");var E=t.scalarArguments||0;E<0&&e(\\\"Scalar arg count must be > 0\\\"),\\\"function\\\"!=typeof t.vertex&&e(\\\"Must specify vertex creation function\\\"),\\\"function\\\"!=typeof t.cell&&e(\\\"Must specify cell creation function\\\"),\\\"function\\\"!=typeof t.phase&&e(\\\"Must specify phase function\\\");for(var T=t.getters||[],S=new Array(M),k=0;k<M;++k)T.indexOf(k)>=0?S[k]=!0:S[k]=!1;return function(t,e,n,M,E,T){var S=T.length,k=E.length;if(k<2)throw new Error(\\\"ndarray-extract-contour: Dimension must be at least 2\\\");for(var O=\\\"extractContour\\\"+E.join(\\\"_\\\"),I=[],L=[],P=[],z=0;z<S;++z)P.push(i(z));for(z=0;z<M;++z)P.push(c(z));for(z=0;z<k;++z)L.push(s(z)+\\\"=\\\"+i(0)+\\\".shape[\\\"+z+\\\"]|0\\\");for(z=0;z<S;++z){L.push(o(z)+\\\"=\\\"+i(z)+\\\".data\\\",u(z)+\\\"=\\\"+i(z)+\\\".offset|0\\\");for(var R=0;R<k;++R)L.push(l(z,R)+\\\"=\\\"+i(z)+\\\".stride[\\\"+R+\\\"]|0\\\")}for(z=0;z<S;++z)for(L.push(h(z)+\\\"=\\\"+u(z)),L.push(a(z,0)),R=1;R<1<<k;++R){for(var D=[],$=0;$<k;++$)R&1<<$&&D.push(\\\"-\\\"+l(z,$));L.push(p(z,R)+\\\"=(\\\"+D.join(\\\"\\\")+\\\")|0\\\"),L.push(a(z,R)+\\\"=0\\\")}for(z=0;z<S;++z)for(R=0;R<k;++R){var B=[l(z,E[R])];R>0&&B.push(l(z,E[R-1])+\\\"*\\\"+s(E[R-1])),L.push(d(z,E[R])+\\\"=(\\\"+B.join(\\\"-\\\")+\\\")|0\\\")}for(z=0;z<k;++z)L.push(f(z)+\\\"=0\\\");L.push(\\\"N=0\\\");var N=[\\\"2\\\"];for(z=k-2;z>=0;--z)N.push(s(E[z]));for(L.push(\\\"Q=(\\\"+N.join(\\\"*\\\")+\\\")|0\\\",\\\"P=mallocUint32(Q)\\\",\\\"V=mallocUint32(Q)\\\",\\\"X=0\\\"),L.push(m(0)+\\\"=0\\\"),R=1;R<1<<k;++R){var F=[],j=[];for($=0;$<k;++$)R&1<<$&&(0===j.length?F.push(\\\"1\\\"):F.unshift(j.join(\\\"*\\\"))),j.push(s(E[$]));var U=\\\"\\\";F[0].indexOf(s(E[k-2]))<0&&(U=\\\"-\\\");var q=C(k,R,E);L.push(g(q)+\\\"=(-\\\"+F.join(\\\"-\\\")+\\\")|0\\\",v(q)+\\\"=(\\\"+U+F.join(\\\"-\\\")+\\\")|0\\\",m(q)+\\\"=0\\\")}function V(t,e){I.push(\\\"for(\\\",f(E[t]),\\\"=\\\",e,\\\";\\\",f(E[t]),\\\"<\\\",s(E[t]),\\\";\\\",\\\"++\\\",f(E[t]),\\\"){\\\")}function H(t){for(var e=0;e<S;++e)I.push(h(e),\\\"+=\\\",d(e,E[t]),\\\";\\\");I.push(\\\"}\\\")}function G(t){for(var e=t-1;e>=0;--e)V(e,0);var n=[];for(e=0;e<S;++e)T[e]?n.push(o(e)+\\\".get(\\\"+h(e)+\\\")\\\"):n.push(o(e)+\\\"[\\\"+h(e)+\\\"]\\\");for(e=0;e<M;++e)n.push(c(e));for(I.push(b,\\\"[\\\",w,\\\"++]=phase(\\\",n.join(),\\\");\\\"),e=0;e<t;++e)H(e);for(var r=0;r<S;++r)I.push(h(r),\\\"+=\\\",d(r,E[t]),\\\";\\\")}function W(t){for(var e=0;e<S;++e)T[e]?I.push(a(e,0),\\\"=\\\",o(e),\\\".get(\\\",h(e),\\\");\\\"):I.push(a(e,0),\\\"=\\\",o(e),\\\"[\\\",h(e),\\\"];\\\");var n=[];for(e=0;e<S;++e)n.push(a(e,0));for(e=0;e<M;++e)n.push(c(e));I.push(m(0),\\\"=\\\",b,\\\"[\\\",w,\\\"]=phase(\\\",n.join(),\\\");\\\");for(var r=1;r<1<<k;++r)I.push(m(r),\\\"=\\\",b,\\\"[\\\",w,\\\"+\\\",g(r),\\\"];\\\");var i=[];for(r=1;r<1<<k;++r)i.push(\\\"(\\\"+m(0)+\\\"!==\\\"+m(r)+\\\")\\\");I.push(\\\"if(\\\",i.join(\\\"||\\\"),\\\"){\\\");var s=[];for(e=0;e<k;++e)s.push(f(e));for(e=0;e<S;++e)for(s.push(a(e,0)),r=1;r<1<<k;++r)T[e]?I.push(a(e,r),\\\"=\\\",o(e),\\\".get(\\\",h(e),\\\"+\\\",p(e,r),\\\");\\\"):I.push(a(e,r),\\\"=\\\",o(e),\\\"[\\\",h(e),\\\"+\\\",p(e,r),\\\"];\\\"),s.push(a(e,r));for(e=0;e<1<<k;++e)s.push(m(e));for(e=0;e<M;++e)s.push(c(e));I.push(\\\"vertex(\\\",s.join(),\\\");\\\",y(0),\\\"=\\\",_,\\\"[\\\",w,\\\"]=\\\",x,\\\"++;\\\");var l=(1<<k)-1,u=m(l);for(r=0;r<k;++r)if(0==(t&~(1<<r))){for(var d=l^1<<r,v=m(d),A=[],C=d;C>0;C=C-1&d)A.push(\\\"V[X+\\\"+g(C)+\\\"]\\\");for(A.push(y(0)),C=0;C<S;++C)1&r?A.push(a(C,l),a(C,d)):A.push(a(C,d),a(C,l));for(1&r?A.push(u,v):A.push(v,u),C=0;C<M;++C)A.push(c(C));I.push(\\\"if(\\\",u,\\\"!==\\\",v,\\\"){\\\",\\\"face(\\\",A.join(),\\\")}\\\")}I.push(\\\"}\\\",w,\\\"+=1;\\\")}function X(){for(var t=1;t<1<<k;++t)I.push(A,\\\"=\\\",g(t),\\\";\\\",g(t),\\\"=\\\",v(t),\\\";\\\",v(t),\\\"=\\\",A,\\\";\\\")}function Y(t,e){if(t<0)W(e);else{G(t),I.push(\\\"if(\\\",s(E[t]),\\\">0){\\\",f(E[t]),\\\"=1;\\\"),Y(t-1,e|1<<E[t]);for(var n=0;n<S;++n)I.push(h(n),\\\"+=\\\",d(n,E[t]),\\\";\\\");t===k-1&&(I.push(w,\\\"=0;\\\"),X()),V(t,2),Y(t-1,e),t===k-1&&(I.push(\\\"if(\\\",f(E[k-1]),\\\"&1){\\\",w,\\\"=0;}\\\"),X()),H(t),I.push(\\\"}\\\")}}L.push(y(0)+\\\"=0\\\",\\\"T=0\\\"),Y(k-1,0),I.push(\\\"freeUint32(\\\",_,\\\");freeUint32(\\\",b,\\\");\\\");var Z=[\\\"'use strict';\\\",\\\"function \\\",O,\\\"(\\\",P.join(),\\\"){\\\",\\\"var \\\",L.join(),\\\";\\\",I.join(\\\"\\\"),\\\"}\\\",\\\"return \\\",O].join(\\\"\\\");return new Function(\\\"vertex\\\",\\\"face\\\",\\\"phase\\\",\\\"mallocUint32\\\",\\\"freeUint32\\\",Z)(t,e,n,r.mallocUint32,r.freeUint32)}(t.vertex,t.cell,t.phase,E,n,S)};var _=\\\"V\\\",b=\\\"P\\\",x=\\\"N\\\",w=\\\"X\\\",A=\\\"T\\\";function C(t,e,n){for(var r=0,i=0;i<t;++i)e&1<<i&&(r|=1<<n[i]);return r}},{\\\"typedarray-pool\\\":547}],441:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){if(Array.isArray(n)){if(n.length!==e.dimension)throw new Error(\\\"ndarray-gradient: invalid boundary conditions\\\")}else n=r(e.dimension,\\\"string\\\"==typeof n?n:\\\"clamp\\\");if(t.dimension!==e.dimension+1)throw new Error(\\\"ndarray-gradient: output dimension must be +1 input dimension\\\");if(t.shape[e.dimension]!==e.dimension)throw new Error(\\\"ndarray-gradient: output shape must match input shape\\\");for(var i=0;i<e.dimension;++i)if(t.shape[i]!==e.shape[i])throw new Error(\\\"ndarray-gradient: shape mismatch\\\");return 0===e.size?t:e.dimension<=0?(t.set(0),t):function(t){var e=t.join();if(g=a[e])return g;var n=t.length,r=[\\\"function gradient(dst,src){var s=src.shape.slice();\\\"];function i(e){for(var i=n-e.length,o=[],a=[],s=[],l=0;l<n;++l)e.indexOf(l+1)>=0?s.push(\\\"0\\\"):e.indexOf(-(l+1))>=0?s.push(\\\"s[\\\"+l+\\\"]-1\\\"):(s.push(\\\"-1\\\"),o.push(\\\"1\\\"),a.push(\\\"s[\\\"+l+\\\"]-2\\\"));var u=\\\".lo(\\\"+o.join()+\\\").hi(\\\"+a.join()+\\\")\\\";if(0===o.length&&(u=\\\"\\\"),i>0){for(r.push(\\\"if(1\\\"),l=0;l<n;++l)e.indexOf(l+1)>=0||e.indexOf(-(l+1))>=0||r.push(\\\"&&s[\\\",l,\\\"]>2\\\");for(r.push(\\\"){grad\\\",i,\\\"(src.pick(\\\",s.join(),\\\")\\\",u),l=0;l<n;++l)e.indexOf(l+1)>=0||e.indexOf(-(l+1))>=0||r.push(\\\",dst.pick(\\\",s.join(),\\\",\\\",l,\\\")\\\",u);r.push(\\\");\\\")}for(l=0;l<e.length;++l){var c=Math.abs(e[l])-1,h=\\\"dst.pick(\\\"+s.join()+\\\",\\\"+c+\\\")\\\"+u;switch(t[c]){case\\\"clamp\\\":var p=s.slice(),f=s.slice();e[l]<0?p[c]=\\\"s[\\\"+c+\\\"]-2\\\":f[c]=\\\"1\\\",0===i?r.push(\\\"if(s[\\\",c,\\\"]>1){dst.set(\\\",s.join(),\\\",\\\",c,\\\",0.5*(src.get(\\\",p.join(),\\\")-src.get(\\\",f.join(),\\\")))}else{dst.set(\\\",s.join(),\\\",\\\",c,\\\",0)};\\\"):r.push(\\\"if(s[\\\",c,\\\"]>1){diff(\\\",h,\\\",src.pick(\\\",p.join(),\\\")\\\",u,\\\",src.pick(\\\",f.join(),\\\")\\\",u,\\\");}else{zero(\\\",h,\\\");};\\\");break;case\\\"mirror\\\":0===i?r.push(\\\"dst.set(\\\",s.join(),\\\",\\\",c,\\\",0);\\\"):r.push(\\\"zero(\\\",h,\\\");\\\");break;case\\\"wrap\\\":var d=s.slice(),m=s.slice();e[l]<0?(d[c]=\\\"s[\\\"+c+\\\"]-2\\\",m[c]=\\\"0\\\"):(d[c]=\\\"s[\\\"+c+\\\"]-1\\\",m[c]=\\\"1\\\"),0===i?r.push(\\\"if(s[\\\",c,\\\"]>2){dst.set(\\\",s.join(),\\\",\\\",c,\\\",0.5*(src.get(\\\",d.join(),\\\")-src.get(\\\",m.join(),\\\")))}else{dst.set(\\\",s.join(),\\\",\\\",c,\\\",0)};\\\"):r.push(\\\"if(s[\\\",c,\\\"]>2){diff(\\\",h,\\\",src.pick(\\\",d.join(),\\\")\\\",u,\\\",src.pick(\\\",m.join(),\\\")\\\",u,\\\");}else{zero(\\\",h,\\\");};\\\");break;default:throw new Error(\\\"ndarray-gradient: Invalid boundary condition\\\")}}i>0&&r.push(\\\"};\\\")}for(var s=0;s<1<<n;++s){for(var h=[],p=0;p<n;++p)s&1<<p&&h.push(p+1);for(var f=0;f<1<<h.length;++f){var d=h.slice();for(p=0;p<h.length;++p)f&1<<p&&(d[p]=-d[p]);i(d)}}r.push(\\\"return dst;};return gradient\\\");var m=[\\\"diff\\\",\\\"zero\\\"],v=[l,u];for(s=1;s<=n;++s)m.push(\\\"grad\\\"+s),v.push(c(s));m.push(r.join(\\\"\\\"));var g=Function.apply(void 0,m).apply(void 0,v);return o[e]=g,g}(n)(t,e)};var r=t(\\\"dup\\\"),i=t(\\\"cwise-compiler\\\"),o={},a={},s={body:\\\"\\\",args:[],thisVars:[],localVars:[]},l=i({args:[\\\"array\\\",\\\"array\\\",\\\"array\\\"],pre:s,post:s,body:{args:[{name:\\\"out\\\",lvalue:!0,rvalue:!1,count:1},{name:\\\"left\\\",lvalue:!1,rvalue:!0,count:1},{name:\\\"right\\\",lvalue:!1,rvalue:!0,count:1}],body:\\\"out=0.5*(left-right)\\\",thisVars:[],localVars:[]},funcName:\\\"cdiff\\\"}),u=i({args:[\\\"array\\\"],pre:s,post:s,body:{args:[{name:\\\"out\\\",lvalue:!0,rvalue:!1,count:1}],body:\\\"out=0\\\",thisVars:[],localVars:[]},funcName:\\\"zero\\\"});function c(t){if(t in o)return o[t];for(var e=[],n=0;n<t;++n)e.push(\\\"out\\\",n,\\\"s=0.5*(inp\\\",n,\\\"l-inp\\\",n,\\\"r);\\\");var a=[\\\"array\\\"],l=[\\\"junk\\\"];for(n=0;n<t;++n){a.push(\\\"array\\\"),l.push(\\\"out\\\"+n+\\\"s\\\");var u=r(t);u[n]=-1,a.push({array:0,offset:u.slice()}),u[n]=1,a.push({array:0,offset:u.slice()}),l.push(\\\"inp\\\"+n+\\\"l\\\",\\\"inp\\\"+n+\\\"r\\\")}return o[t]=i({args:a,pre:s,post:s,body:{body:e.join(\\\"\\\"),args:l.map((function(t){return{name:t,lvalue:0===t.indexOf(\\\"out\\\"),rvalue:0===t.indexOf(\\\"inp\\\"),count:\\\"junk\\\"!==t|0}})),thisVars:[],localVars:[]},funcName:\\\"fdTemplate\\\"+t})}},{\\\"cwise-compiler\\\":148,dup:171}],442:[function(t,e,n){\\\"use strict\\\";function r(t,e){var n=Math.floor(e),r=e-n,i=0<=n&&n<t.shape[0],o=0<=n+1&&n+1<t.shape[0];return(1-r)*(i?+t.get(n):0)+r*(o?+t.get(n+1):0)}function i(t,e,n){var r=Math.floor(e),i=e-r,o=0<=r&&r<t.shape[0],a=0<=r+1&&r+1<t.shape[0],s=Math.floor(n),l=n-s,u=0<=s&&s<t.shape[1],c=0<=s+1&&s+1<t.shape[1],h=o&&u?t.get(r,s):0,p=o&&c?t.get(r,s+1):0;return(1-l)*((1-i)*h+i*(a&&u?t.get(r+1,s):0))+l*((1-i)*p+i*(a&&c?t.get(r+1,s+1):0))}function o(t,e,n,r){var i=Math.floor(e),o=e-i,a=0<=i&&i<t.shape[0],s=0<=i+1&&i+1<t.shape[0],l=Math.floor(n),u=n-l,c=0<=l&&l<t.shape[1],h=0<=l+1&&l+1<t.shape[1],p=Math.floor(r),f=r-p,d=0<=p&&p<t.shape[2],m=0<=p+1&&p+1<t.shape[2],v=a&&c&&d?t.get(i,l,p):0,g=a&&h&&d?t.get(i,l+1,p):0,y=s&&c&&d?t.get(i+1,l,p):0,_=s&&h&&d?t.get(i+1,l+1,p):0,b=a&&c&&m?t.get(i,l,p+1):0,x=a&&h&&m?t.get(i,l+1,p+1):0;return(1-f)*((1-u)*((1-o)*v+o*y)+u*((1-o)*g+o*_))+f*((1-u)*((1-o)*b+o*(s&&c&&m?t.get(i+1,l,p+1):0))+u*((1-o)*x+o*(s&&h&&m?t.get(i+1,l+1,p+1):0)))}function a(t){var e,n,r=0|t.shape.length,i=new Array(r),o=new Array(r),a=new Array(r),s=new Array(r);for(e=0;e<r;++e)n=+arguments[e+1],i[e]=Math.floor(n),o[e]=n-i[e],a[e]=0<=i[e]&&i[e]<t.shape[e],s[e]=0<=i[e]+1&&i[e]+1<t.shape[e];var l,u,c,h=0;t:for(e=0;e<1<<r;++e){for(u=1,c=t.offset,l=0;l<r;++l)if(e&1<<l){if(!s[l])continue t;u*=o[l],c+=t.stride[l]*(i[l]+1)}else{if(!a[l])continue t;u*=1-o[l],c+=t.stride[l]*i[l]}h+=u*t.data[c]}return h}e.exports=function(t,e,n,s){switch(t.shape.length){case 0:return 0;case 1:return r(t,e);case 2:return i(t,e,n);case 3:return o(t,e,n,s);default:return a.apply(void 0,arguments)}},e.exports.d1=r,e.exports.d2=i,e.exports.d3=o},{}],443:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"cwise-compiler\\\"),i={body:\\\"\\\",args:[],thisVars:[],localVars:[]};function o(t){if(!t)return i;for(var e=0;e<t.args.length;++e){var n=t.args[e];t.args[e]=0===e?{name:n,lvalue:!0,rvalue:!!t.rvalue,count:t.count||1}:{name:n,lvalue:!1,rvalue:!0,count:1}}return t.thisVars||(t.thisVars=[]),t.localVars||(t.localVars=[]),t}function a(t){for(var e=[],n=0;n<t.args.length;++n)e.push(\\\"a\\\"+n);return new Function(\\\"P\\\",[\\\"return function \\\",t.funcName,\\\"_ndarrayops(\\\",e.join(\\\",\\\"),\\\") {P(\\\",e.join(\\\",\\\"),\\\");return a0}\\\"].join(\\\"\\\"))(function(t){return r({args:t.args,pre:o(t.pre),body:o(t.body),post:o(t.proc),funcName:t.funcName})}(t))}var s={add:\\\"+\\\",sub:\\\"-\\\",mul:\\\"*\\\",div:\\\"/\\\",mod:\\\"%\\\",band:\\\"&\\\",bor:\\\"|\\\",bxor:\\\"^\\\",lshift:\\\"<<\\\",rshift:\\\">>\\\",rrshift:\\\">>>\\\"};!function(){for(var t in s){var e=s[t];n[t]=a({args:[\\\"array\\\",\\\"array\\\",\\\"array\\\"],body:{args:[\\\"a\\\",\\\"b\\\",\\\"c\\\"],body:\\\"a=b\\\"+e+\\\"c\\\"},funcName:t}),n[t+\\\"eq\\\"]=a({args:[\\\"array\\\",\\\"array\\\"],body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a\\\"+e+\\\"=b\\\"},rvalue:!0,funcName:t+\\\"eq\\\"}),n[t+\\\"s\\\"]=a({args:[\\\"array\\\",\\\"array\\\",\\\"scalar\\\"],body:{args:[\\\"a\\\",\\\"b\\\",\\\"s\\\"],body:\\\"a=b\\\"+e+\\\"s\\\"},funcName:t+\\\"s\\\"}),n[t+\\\"seq\\\"]=a({args:[\\\"array\\\",\\\"scalar\\\"],body:{args:[\\\"a\\\",\\\"s\\\"],body:\\\"a\\\"+e+\\\"=s\\\"},rvalue:!0,funcName:t+\\\"seq\\\"})}}();var l={not:\\\"!\\\",bnot:\\\"~\\\",neg:\\\"-\\\",recip:\\\"1.0/\\\"};!function(){for(var t in l){var e=l[t];n[t]=a({args:[\\\"array\\\",\\\"array\\\"],body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=\\\"+e+\\\"b\\\"},funcName:t}),n[t+\\\"eq\\\"]=a({args:[\\\"array\\\"],body:{args:[\\\"a\\\"],body:\\\"a=\\\"+e+\\\"a\\\"},rvalue:!0,count:2,funcName:t+\\\"eq\\\"})}}();var u={and:\\\"&&\\\",or:\\\"||\\\",eq:\\\"===\\\",neq:\\\"!==\\\",lt:\\\"<\\\",gt:\\\">\\\",leq:\\\"<=\\\",geq:\\\">=\\\"};!function(){for(var t in u){var e=u[t];n[t]=a({args:[\\\"array\\\",\\\"array\\\",\\\"array\\\"],body:{args:[\\\"a\\\",\\\"b\\\",\\\"c\\\"],body:\\\"a=b\\\"+e+\\\"c\\\"},funcName:t}),n[t+\\\"s\\\"]=a({args:[\\\"array\\\",\\\"array\\\",\\\"scalar\\\"],body:{args:[\\\"a\\\",\\\"b\\\",\\\"s\\\"],body:\\\"a=b\\\"+e+\\\"s\\\"},funcName:t+\\\"s\\\"}),n[t+\\\"eq\\\"]=a({args:[\\\"array\\\",\\\"array\\\"],body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=a\\\"+e+\\\"b\\\"},rvalue:!0,count:2,funcName:t+\\\"eq\\\"}),n[t+\\\"seq\\\"]=a({args:[\\\"array\\\",\\\"scalar\\\"],body:{args:[\\\"a\\\",\\\"s\\\"],body:\\\"a=a\\\"+e+\\\"s\\\"},rvalue:!0,count:2,funcName:t+\\\"seq\\\"})}}();var c=[\\\"abs\\\",\\\"acos\\\",\\\"asin\\\",\\\"atan\\\",\\\"ceil\\\",\\\"cos\\\",\\\"exp\\\",\\\"floor\\\",\\\"log\\\",\\\"round\\\",\\\"sin\\\",\\\"sqrt\\\",\\\"tan\\\"];!function(){for(var t=0;t<c.length;++t){var e=c[t];n[e]=a({args:[\\\"array\\\",\\\"array\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=this_f(b)\\\",thisVars:[\\\"this_f\\\"]},funcName:e}),n[e+\\\"eq\\\"]=a({args:[\\\"array\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\"],body:\\\"a=this_f(a)\\\",thisVars:[\\\"this_f\\\"]},rvalue:!0,count:2,funcName:e+\\\"eq\\\"})}}();var h=[\\\"max\\\",\\\"min\\\",\\\"atan2\\\",\\\"pow\\\"];!function(){for(var t=0;t<h.length;++t){var e=h[t];n[e]=a({args:[\\\"array\\\",\\\"array\\\",\\\"array\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\",\\\"c\\\"],body:\\\"a=this_f(b,c)\\\",thisVars:[\\\"this_f\\\"]},funcName:e}),n[e+\\\"s\\\"]=a({args:[\\\"array\\\",\\\"array\\\",\\\"scalar\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\",\\\"c\\\"],body:\\\"a=this_f(b,c)\\\",thisVars:[\\\"this_f\\\"]},funcName:e+\\\"s\\\"}),n[e+\\\"eq\\\"]=a({args:[\\\"array\\\",\\\"array\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=this_f(a,b)\\\",thisVars:[\\\"this_f\\\"]},rvalue:!0,count:2,funcName:e+\\\"eq\\\"}),n[e+\\\"seq\\\"]=a({args:[\\\"array\\\",\\\"scalar\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=this_f(a,b)\\\",thisVars:[\\\"this_f\\\"]},rvalue:!0,count:2,funcName:e+\\\"seq\\\"})}}();var p=[\\\"atan2\\\",\\\"pow\\\"];!function(){for(var t=0;t<p.length;++t){var e=p[t];n[e+\\\"op\\\"]=a({args:[\\\"array\\\",\\\"array\\\",\\\"array\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\",\\\"c\\\"],body:\\\"a=this_f(c,b)\\\",thisVars:[\\\"this_f\\\"]},funcName:e+\\\"op\\\"}),n[e+\\\"ops\\\"]=a({args:[\\\"array\\\",\\\"array\\\",\\\"scalar\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\",\\\"c\\\"],body:\\\"a=this_f(c,b)\\\",thisVars:[\\\"this_f\\\"]},funcName:e+\\\"ops\\\"}),n[e+\\\"opeq\\\"]=a({args:[\\\"array\\\",\\\"array\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=this_f(b,a)\\\",thisVars:[\\\"this_f\\\"]},rvalue:!0,count:2,funcName:e+\\\"opeq\\\"}),n[e+\\\"opseq\\\"]=a({args:[\\\"array\\\",\\\"scalar\\\"],pre:{args:[],body:\\\"this_f=Math.\\\"+e,thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=this_f(b,a)\\\",thisVars:[\\\"this_f\\\"]},rvalue:!0,count:2,funcName:e+\\\"opseq\\\"})}}(),n.any=r({args:[\\\"array\\\"],pre:i,body:{args:[{name:\\\"a\\\",lvalue:!1,rvalue:!0,count:1}],body:\\\"if(a){return true}\\\",localVars:[],thisVars:[]},post:{args:[],localVars:[],thisVars:[],body:\\\"return false\\\"},funcName:\\\"any\\\"}),n.all=r({args:[\\\"array\\\"],pre:i,body:{args:[{name:\\\"x\\\",lvalue:!1,rvalue:!0,count:1}],body:\\\"if(!x){return false}\\\",localVars:[],thisVars:[]},post:{args:[],localVars:[],thisVars:[],body:\\\"return true\\\"},funcName:\\\"all\\\"}),n.sum=r({args:[\\\"array\\\"],pre:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"this_s=0\\\"},body:{args:[{name:\\\"a\\\",lvalue:!1,rvalue:!0,count:1}],body:\\\"this_s+=a\\\",localVars:[],thisVars:[\\\"this_s\\\"]},post:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"return this_s\\\"},funcName:\\\"sum\\\"}),n.prod=r({args:[\\\"array\\\"],pre:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"this_s=1\\\"},body:{args:[{name:\\\"a\\\",lvalue:!1,rvalue:!0,count:1}],body:\\\"this_s*=a\\\",localVars:[],thisVars:[\\\"this_s\\\"]},post:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"return this_s\\\"},funcName:\\\"prod\\\"}),n.norm2squared=r({args:[\\\"array\\\"],pre:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"this_s=0\\\"},body:{args:[{name:\\\"a\\\",lvalue:!1,rvalue:!0,count:2}],body:\\\"this_s+=a*a\\\",localVars:[],thisVars:[\\\"this_s\\\"]},post:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"return this_s\\\"},funcName:\\\"norm2squared\\\"}),n.norm2=r({args:[\\\"array\\\"],pre:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"this_s=0\\\"},body:{args:[{name:\\\"a\\\",lvalue:!1,rvalue:!0,count:2}],body:\\\"this_s+=a*a\\\",localVars:[],thisVars:[\\\"this_s\\\"]},post:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"return Math.sqrt(this_s)\\\"},funcName:\\\"norm2\\\"}),n.norminf=r({args:[\\\"array\\\"],pre:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"this_s=0\\\"},body:{args:[{name:\\\"a\\\",lvalue:!1,rvalue:!0,count:4}],body:\\\"if(-a>this_s){this_s=-a}else if(a>this_s){this_s=a}\\\",localVars:[],thisVars:[\\\"this_s\\\"]},post:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"return this_s\\\"},funcName:\\\"norminf\\\"}),n.norm1=r({args:[\\\"array\\\"],pre:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"this_s=0\\\"},body:{args:[{name:\\\"a\\\",lvalue:!1,rvalue:!0,count:3}],body:\\\"this_s+=a<0?-a:a\\\",localVars:[],thisVars:[\\\"this_s\\\"]},post:{args:[],localVars:[],thisVars:[\\\"this_s\\\"],body:\\\"return this_s\\\"},funcName:\\\"norm1\\\"}),n.sup=r({args:[\\\"array\\\"],pre:{body:\\\"this_h=-Infinity\\\",args:[],thisVars:[\\\"this_h\\\"],localVars:[]},body:{body:\\\"if(_inline_1_arg0_>this_h)this_h=_inline_1_arg0_\\\",args:[{name:\\\"_inline_1_arg0_\\\",lvalue:!1,rvalue:!0,count:2}],thisVars:[\\\"this_h\\\"],localVars:[]},post:{body:\\\"return this_h\\\",args:[],thisVars:[\\\"this_h\\\"],localVars:[]}}),n.inf=r({args:[\\\"array\\\"],pre:{body:\\\"this_h=Infinity\\\",args:[],thisVars:[\\\"this_h\\\"],localVars:[]},body:{body:\\\"if(_inline_1_arg0_<this_h)this_h=_inline_1_arg0_\\\",args:[{name:\\\"_inline_1_arg0_\\\",lvalue:!1,rvalue:!0,count:2}],thisVars:[\\\"this_h\\\"],localVars:[]},post:{body:\\\"return this_h\\\",args:[],thisVars:[\\\"this_h\\\"],localVars:[]}}),n.argmin=r({args:[\\\"index\\\",\\\"array\\\",\\\"shape\\\"],pre:{body:\\\"{this_v=Infinity;this_i=_inline_0_arg2_.slice(0)}\\\",args:[{name:\\\"_inline_0_arg0_\\\",lvalue:!1,rvalue:!1,count:0},{name:\\\"_inline_0_arg1_\\\",lvalue:!1,rvalue:!1,count:0},{name:\\\"_inline_0_arg2_\\\",lvalue:!1,rvalue:!0,count:1}],thisVars:[\\\"this_i\\\",\\\"this_v\\\"],localVars:[]},body:{body:\\\"{if(_inline_1_arg1_<this_v){this_v=_inline_1_arg1_;for(var _inline_1_k=0;_inline_1_k<_inline_1_arg0_.length;++_inline_1_k){this_i[_inline_1_k]=_inline_1_arg0_[_inline_1_k]}}}\\\",args:[{name:\\\"_inline_1_arg0_\\\",lvalue:!1,rvalue:!0,count:2},{name:\\\"_inline_1_arg1_\\\",lvalue:!1,rvalue:!0,count:2}],thisVars:[\\\"this_i\\\",\\\"this_v\\\"],localVars:[\\\"_inline_1_k\\\"]},post:{body:\\\"{return this_i}\\\",args:[],thisVars:[\\\"this_i\\\"],localVars:[]}}),n.argmax=r({args:[\\\"index\\\",\\\"array\\\",\\\"shape\\\"],pre:{body:\\\"{this_v=-Infinity;this_i=_inline_0_arg2_.slice(0)}\\\",args:[{name:\\\"_inline_0_arg0_\\\",lvalue:!1,rvalue:!1,count:0},{name:\\\"_inline_0_arg1_\\\",lvalue:!1,rvalue:!1,count:0},{name:\\\"_inline_0_arg2_\\\",lvalue:!1,rvalue:!0,count:1}],thisVars:[\\\"this_i\\\",\\\"this_v\\\"],localVars:[]},body:{body:\\\"{if(_inline_1_arg1_>this_v){this_v=_inline_1_arg1_;for(var _inline_1_k=0;_inline_1_k<_inline_1_arg0_.length;++_inline_1_k){this_i[_inline_1_k]=_inline_1_arg0_[_inline_1_k]}}}\\\",args:[{name:\\\"_inline_1_arg0_\\\",lvalue:!1,rvalue:!0,count:2},{name:\\\"_inline_1_arg1_\\\",lvalue:!1,rvalue:!0,count:2}],thisVars:[\\\"this_i\\\",\\\"this_v\\\"],localVars:[\\\"_inline_1_k\\\"]},post:{body:\\\"{return this_i}\\\",args:[],thisVars:[\\\"this_i\\\"],localVars:[]}}),n.random=a({args:[\\\"array\\\"],pre:{args:[],body:\\\"this_f=Math.random\\\",thisVars:[\\\"this_f\\\"]},body:{args:[\\\"a\\\"],body:\\\"a=this_f()\\\",thisVars:[\\\"this_f\\\"]},funcName:\\\"random\\\"}),n.assign=a({args:[\\\"array\\\",\\\"array\\\"],body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=b\\\"},funcName:\\\"assign\\\"}),n.assigns=a({args:[\\\"array\\\",\\\"scalar\\\"],body:{args:[\\\"a\\\",\\\"b\\\"],body:\\\"a=b\\\"},funcName:\\\"assigns\\\"}),n.equals=r({args:[\\\"array\\\",\\\"array\\\"],pre:i,body:{args:[{name:\\\"x\\\",lvalue:!1,rvalue:!0,count:1},{name:\\\"y\\\",lvalue:!1,rvalue:!0,count:1}],body:\\\"if(x!==y){return false}\\\",localVars:[],thisVars:[]},post:{args:[],localVars:[],thisVars:[],body:\\\"return true\\\"},funcName:\\\"equals\\\"})},{\\\"cwise-compiler\\\":148}],444:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"ndarray\\\"),i=t(\\\"./doConvert.js\\\");e.exports=function(t,e){for(var n=[],o=t,a=1;Array.isArray(o);)n.push(o.length),a*=o.length,o=o[0];return 0===n.length?r():(e||(e=r(new Float64Array(a),n)),i(e,t),e)}},{\\\"./doConvert.js\\\":445,ndarray:448}],445:[function(t,e,n){e.exports=t(\\\"cwise-compiler\\\")({args:[\\\"array\\\",\\\"scalar\\\",\\\"index\\\"],pre:{body:\\\"{}\\\",args:[],thisVars:[],localVars:[]},body:{body:\\\"{\\\\nvar _inline_1_v=_inline_1_arg1_,_inline_1_i\\\\nfor(_inline_1_i=0;_inline_1_i<_inline_1_arg2_.length-1;++_inline_1_i) {\\\\n_inline_1_v=_inline_1_v[_inline_1_arg2_[_inline_1_i]]\\\\n}\\\\n_inline_1_arg0_=_inline_1_v[_inline_1_arg2_[_inline_1_arg2_.length-1]]\\\\n}\\\",args:[{name:\\\"_inline_1_arg0_\\\",lvalue:!0,rvalue:!1,count:1},{name:\\\"_inline_1_arg1_\\\",lvalue:!1,rvalue:!0,count:1},{name:\\\"_inline_1_arg2_\\\",lvalue:!1,rvalue:!0,count:4}],thisVars:[],localVars:[\\\"_inline_1_i\\\",\\\"_inline_1_v\\\"]},post:{body:\\\"{}\\\",args:[],thisVars:[],localVars:[]},funcName:\\\"convert\\\",blockSize:64})},{\\\"cwise-compiler\\\":148}],446:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"typedarray-pool\\\"),i=32;function o(t){switch(t){case\\\"uint8\\\":return[r.mallocUint8,r.freeUint8];case\\\"uint16\\\":return[r.mallocUint16,r.freeUint16];case\\\"uint32\\\":return[r.mallocUint32,r.freeUint32];case\\\"int8\\\":return[r.mallocInt8,r.freeInt8];case\\\"int16\\\":return[r.mallocInt16,r.freeInt16];case\\\"int32\\\":return[r.mallocInt32,r.freeInt32];case\\\"float32\\\":return[r.mallocFloat,r.freeFloat];case\\\"float64\\\":return[r.mallocDouble,r.freeDouble];default:return null}}function a(t){for(var e=[],n=0;n<t;++n)e.push(\\\"s\\\"+n);for(n=0;n<t;++n)e.push(\\\"n\\\"+n);for(n=1;n<t;++n)e.push(\\\"d\\\"+n);for(n=1;n<t;++n)e.push(\\\"e\\\"+n);for(n=1;n<t;++n)e.push(\\\"f\\\"+n);return e}e.exports=function(t,e){var n=[\\\"'use strict'\\\"],r=[\\\"ndarraySortWrapper\\\",t.join(\\\"d\\\"),e].join(\\\"\\\");n.push([\\\"function \\\",r,\\\"(\\\",[\\\"array\\\"].join(\\\",\\\"),\\\"){\\\"].join(\\\"\\\"));for(var s=[\\\"data=array.data,offset=array.offset|0,shape=array.shape,stride=array.stride\\\"],l=0;l<t.length;++l)s.push([\\\"s\\\",l,\\\"=stride[\\\",l,\\\"]|0,n\\\",l,\\\"=shape[\\\",l,\\\"]|0\\\"].join(\\\"\\\"));var u=new Array(t.length),c=[];for(l=0;l<t.length;++l)0!==(f=t[l])&&(0===c.length?u[f]=\\\"1\\\":u[f]=c.join(\\\"*\\\"),c.push(\\\"n\\\"+f));var h=-1,p=-1;for(l=0;l<t.length;++l){var f,d=t[l];0!==d&&(h>0?s.push([\\\"d\\\",d,\\\"=s\\\",d,\\\"-d\\\",h,\\\"*n\\\",h].join(\\\"\\\")):s.push([\\\"d\\\",d,\\\"=s\\\",d].join(\\\"\\\")),h=d),0!=(f=t.length-1-l)&&(p>0?s.push([\\\"e\\\",f,\\\"=s\\\",f,\\\"-e\\\",p,\\\"*n\\\",p,\\\",f\\\",f,\\\"=\\\",u[f],\\\"-f\\\",p,\\\"*n\\\",p].join(\\\"\\\")):s.push([\\\"e\\\",f,\\\"=s\\\",f,\\\",f\\\",f,\\\"=\\\",u[f]].join(\\\"\\\")),p=f)}n.push(\\\"var \\\"+s.join(\\\",\\\"));var m=[\\\"0\\\",\\\"n0-1\\\",\\\"data\\\",\\\"offset\\\"].concat(a(t.length));n.push([\\\"if(n0<=\\\",i,\\\"){\\\",\\\"insertionSort(\\\",m.join(\\\",\\\"),\\\")}else{\\\",\\\"quickSort(\\\",m.join(\\\",\\\"),\\\")}\\\"].join(\\\"\\\")),n.push(\\\"}return \\\"+r);var v=new Function(\\\"insertionSort\\\",\\\"quickSort\\\",n.join(\\\"\\\\n\\\")),g=function(t,e){var n=[\\\"'use strict'\\\"],r=[\\\"ndarrayInsertionSort\\\",t.join(\\\"d\\\"),e].join(\\\"\\\"),i=[\\\"left\\\",\\\"right\\\",\\\"data\\\",\\\"offset\\\"].concat(a(t.length)),s=o(e),l=[\\\"i,j,cptr,ptr=left*s0+offset\\\"];if(t.length>1){for(var u=[],c=1;c<t.length;++c)l.push(\\\"i\\\"+c),u.push(\\\"n\\\"+c);s?l.push(\\\"scratch=malloc(\\\"+u.join(\\\"*\\\")+\\\")\\\"):l.push(\\\"scratch=new Array(\\\"+u.join(\\\"*\\\")+\\\")\\\"),l.push(\\\"dptr\\\",\\\"sptr\\\",\\\"a\\\",\\\"b\\\")}else l.push(\\\"scratch\\\");function h(t){return\\\"generic\\\"===e?[\\\"data.get(\\\",t,\\\")\\\"].join(\\\"\\\"):[\\\"data[\\\",t,\\\"]\\\"].join(\\\"\\\")}function p(t,n){return\\\"generic\\\"===e?[\\\"data.set(\\\",t,\\\",\\\",n,\\\")\\\"].join(\\\"\\\"):[\\\"data[\\\",t,\\\"]=\\\",n].join(\\\"\\\")}if(n.push([\\\"function \\\",r,\\\"(\\\",i.join(\\\",\\\"),\\\"){var \\\",l.join(\\\",\\\")].join(\\\"\\\"),\\\"for(i=left+1;i<=right;++i){\\\",\\\"j=i;ptr+=s0\\\",\\\"cptr=ptr\\\"),t.length>1){for(n.push(\\\"dptr=0;sptr=ptr\\\"),c=t.length-1;c>=0;--c)0!==(f=t[c])&&n.push([\\\"for(i\\\",f,\\\"=0;i\\\",f,\\\"<n\\\",f,\\\";++i\\\",f,\\\"){\\\"].join(\\\"\\\"));for(n.push(\\\"scratch[dptr++]=\\\",h(\\\"sptr\\\")),c=0;c<t.length;++c)0!==(f=t[c])&&n.push(\\\"sptr+=d\\\"+f,\\\"}\\\");for(n.push(\\\"__g:while(j--\\\\x3eleft){\\\",\\\"dptr=0\\\",\\\"sptr=cptr-s0\\\"),c=1;c<t.length;++c)1===c&&n.push(\\\"__l:\\\"),n.push([\\\"for(i\\\",c,\\\"=0;i\\\",c,\\\"<n\\\",c,\\\";++i\\\",c,\\\"){\\\"].join(\\\"\\\"));for(n.push([\\\"a=\\\",h(\\\"sptr\\\"),\\\"\\\\nb=scratch[dptr]\\\\nif(a<b){break __g}\\\\nif(a>b){break __l}\\\"].join(\\\"\\\")),c=t.length-1;c>=1;--c)n.push(\\\"sptr+=e\\\"+c,\\\"dptr+=f\\\"+c,\\\"}\\\");for(n.push(\\\"dptr=cptr;sptr=cptr-s0\\\"),c=t.length-1;c>=0;--c)0!==(f=t[c])&&n.push([\\\"for(i\\\",f,\\\"=0;i\\\",f,\\\"<n\\\",f,\\\";++i\\\",f,\\\"){\\\"].join(\\\"\\\"));for(n.push(p(\\\"dptr\\\",h(\\\"sptr\\\"))),c=0;c<t.length;++c)0!==(f=t[c])&&n.push([\\\"dptr+=d\\\",f,\\\";sptr+=d\\\",f].join(\\\"\\\"),\\\"}\\\");for(n.push(\\\"cptr-=s0\\\\n}\\\"),n.push(\\\"dptr=cptr;sptr=0\\\"),c=t.length-1;c>=0;--c)0!==(f=t[c])&&n.push([\\\"for(i\\\",f,\\\"=0;i\\\",f,\\\"<n\\\",f,\\\";++i\\\",f,\\\"){\\\"].join(\\\"\\\"));for(n.push(p(\\\"dptr\\\",\\\"scratch[sptr++]\\\")),c=0;c<t.length;++c){var f;0!==(f=t[c])&&n.push(\\\"dptr+=d\\\"+f,\\\"}\\\")}}else n.push(\\\"scratch=\\\"+h(\\\"ptr\\\"),\\\"while((j--\\\\x3eleft)&&(\\\"+h(\\\"cptr-s0\\\")+\\\">scratch)){\\\",p(\\\"cptr\\\",h(\\\"cptr-s0\\\")),\\\"cptr-=s0\\\",\\\"}\\\",p(\\\"cptr\\\",\\\"scratch\\\"));return n.push(\\\"}\\\"),t.length>1&&s&&n.push(\\\"free(scratch)\\\"),n.push(\\\"} return \\\"+r),s?new Function(\\\"malloc\\\",\\\"free\\\",n.join(\\\"\\\\n\\\"))(s[0],s[1]):new Function(n.join(\\\"\\\\n\\\"))()}(t,e);return v(g,function(t,e,n){var r=[\\\"'use strict'\\\"],s=[\\\"ndarrayQuickSort\\\",t.join(\\\"d\\\"),e].join(\\\"\\\"),l=[\\\"left\\\",\\\"right\\\",\\\"data\\\",\\\"offset\\\"].concat(a(t.length)),u=o(e),c=0;r.push([\\\"function \\\",s,\\\"(\\\",l.join(\\\",\\\"),\\\"){\\\"].join(\\\"\\\"));var h=[\\\"sixth=((right-left+1)/6)|0\\\",\\\"index1=left+sixth\\\",\\\"index5=right-sixth\\\",\\\"index3=(left+right)>>1\\\",\\\"index2=index3-sixth\\\",\\\"index4=index3+sixth\\\",\\\"el1=index1\\\",\\\"el2=index2\\\",\\\"el3=index3\\\",\\\"el4=index4\\\",\\\"el5=index5\\\",\\\"less=left+1\\\",\\\"great=right-1\\\",\\\"pivots_are_equal=true\\\",\\\"tmp\\\",\\\"tmp0\\\",\\\"x\\\",\\\"y\\\",\\\"z\\\",\\\"k\\\",\\\"ptr0\\\",\\\"ptr1\\\",\\\"ptr2\\\",\\\"comp_pivot1=0\\\",\\\"comp_pivot2=0\\\",\\\"comp=0\\\"];if(t.length>1){for(var p=[],f=1;f<t.length;++f)p.push(\\\"n\\\"+f),h.push(\\\"i\\\"+f);for(f=0;f<8;++f)h.push(\\\"b_ptr\\\"+f);h.push(\\\"ptr3\\\",\\\"ptr4\\\",\\\"ptr5\\\",\\\"ptr6\\\",\\\"ptr7\\\",\\\"pivot_ptr\\\",\\\"ptr_shift\\\",\\\"elementSize=\\\"+p.join(\\\"*\\\")),u?h.push(\\\"pivot1=malloc(elementSize)\\\",\\\"pivot2=malloc(elementSize)\\\"):h.push(\\\"pivot1=new Array(elementSize),pivot2=new Array(elementSize)\\\")}else h.push(\\\"pivot1\\\",\\\"pivot2\\\");function d(t){return[\\\"(offset+\\\",t,\\\"*s0)\\\"].join(\\\"\\\")}function m(t){return\\\"generic\\\"===e?[\\\"data.get(\\\",t,\\\")\\\"].join(\\\"\\\"):[\\\"data[\\\",t,\\\"]\\\"].join(\\\"\\\")}function v(t,n){return\\\"generic\\\"===e?[\\\"data.set(\\\",t,\\\",\\\",n,\\\")\\\"].join(\\\"\\\"):[\\\"data[\\\",t,\\\"]=\\\",n].join(\\\"\\\")}function g(e,n,i){if(1===e.length)r.push(\\\"ptr0=\\\"+d(e[0]));else for(var o=0;o<e.length;++o)r.push([\\\"b_ptr\\\",o,\\\"=s0*\\\",e[o]].join(\\\"\\\"));for(n&&r.push(\\\"pivot_ptr=0\\\"),r.push(\\\"ptr_shift=offset\\\"),o=t.length-1;o>=0;--o)0!==(a=t[o])&&r.push([\\\"for(i\\\",a,\\\"=0;i\\\",a,\\\"<n\\\",a,\\\";++i\\\",a,\\\"){\\\"].join(\\\"\\\"));if(e.length>1)for(o=0;o<e.length;++o)r.push([\\\"ptr\\\",o,\\\"=b_ptr\\\",o,\\\"+ptr_shift\\\"].join(\\\"\\\"));for(r.push(i),n&&r.push(\\\"++pivot_ptr\\\"),o=0;o<t.length;++o){var a;0!==(a=t[o])&&(e.length>1?r.push(\\\"ptr_shift+=d\\\"+a):r.push(\\\"ptr0+=d\\\"+a),r.push(\\\"}\\\"))}}function y(e,n,i,o){if(1===n.length)r.push(\\\"ptr0=\\\"+d(n[0]));else{for(var a=0;a<n.length;++a)r.push([\\\"b_ptr\\\",a,\\\"=s0*\\\",n[a]].join(\\\"\\\"));r.push(\\\"ptr_shift=offset\\\")}for(i&&r.push(\\\"pivot_ptr=0\\\"),e&&r.push(e+\\\":\\\"),a=1;a<t.length;++a)r.push([\\\"for(i\\\",a,\\\"=0;i\\\",a,\\\"<n\\\",a,\\\";++i\\\",a,\\\"){\\\"].join(\\\"\\\"));if(n.length>1)for(a=0;a<n.length;++a)r.push([\\\"ptr\\\",a,\\\"=b_ptr\\\",a,\\\"+ptr_shift\\\"].join(\\\"\\\"));for(r.push(o),a=t.length-1;a>=1;--a)i&&r.push(\\\"pivot_ptr+=f\\\"+a),n.length>1?r.push(\\\"ptr_shift+=e\\\"+a):r.push(\\\"ptr0+=e\\\"+a),r.push(\\\"}\\\")}function _(){t.length>1&&u&&r.push(\\\"free(pivot1)\\\",\\\"free(pivot2)\\\")}function b(e,n){var i=\\\"el\\\"+e,o=\\\"el\\\"+n;if(t.length>1){var a=\\\"__l\\\"+ ++c;y(a,[i,o],!1,[\\\"comp=\\\",m(\\\"ptr0\\\"),\\\"-\\\",m(\\\"ptr1\\\"),\\\"\\\\n\\\",\\\"if(comp>0){tmp0=\\\",i,\\\";\\\",i,\\\"=\\\",o,\\\";\\\",o,\\\"=tmp0;break \\\",a,\\\"}\\\\n\\\",\\\"if(comp<0){break \\\",a,\\\"}\\\"].join(\\\"\\\"))}else r.push([\\\"if(\\\",m(d(i)),\\\">\\\",m(d(o)),\\\"){tmp0=\\\",i,\\\";\\\",i,\\\"=\\\",o,\\\";\\\",o,\\\"=tmp0}\\\"].join(\\\"\\\"))}function x(e,n){t.length>1?g([e,n],!1,v(\\\"ptr0\\\",m(\\\"ptr1\\\"))):r.push(v(d(e),m(d(n))))}function w(e,n,i){if(t.length>1){var o=\\\"__l\\\"+ ++c;y(o,[n],!0,[e,\\\"=\\\",m(\\\"ptr0\\\"),\\\"-pivot\\\",i,\\\"[pivot_ptr]\\\\n\\\",\\\"if(\\\",e,\\\"!==0){break \\\",o,\\\"}\\\"].join(\\\"\\\"))}else r.push([e,\\\"=\\\",m(d(n)),\\\"-pivot\\\",i].join(\\\"\\\"))}function A(e,n){t.length>1?g([e,n],!1,[\\\"tmp=\\\",m(\\\"ptr0\\\"),\\\"\\\\n\\\",v(\\\"ptr0\\\",m(\\\"ptr1\\\")),\\\"\\\\n\\\",v(\\\"ptr1\\\",\\\"tmp\\\")].join(\\\"\\\")):r.push([\\\"ptr0=\\\",d(e),\\\"\\\\n\\\",\\\"ptr1=\\\",d(n),\\\"\\\\n\\\",\\\"tmp=\\\",m(\\\"ptr0\\\"),\\\"\\\\n\\\",v(\\\"ptr0\\\",m(\\\"ptr1\\\")),\\\"\\\\n\\\",v(\\\"ptr1\\\",\\\"tmp\\\")].join(\\\"\\\"))}function C(e,n,i){t.length>1?(g([e,n,i],!1,[\\\"tmp=\\\",m(\\\"ptr0\\\"),\\\"\\\\n\\\",v(\\\"ptr0\\\",m(\\\"ptr1\\\")),\\\"\\\\n\\\",v(\\\"ptr1\\\",m(\\\"ptr2\\\")),\\\"\\\\n\\\",v(\\\"ptr2\\\",\\\"tmp\\\")].join(\\\"\\\")),r.push(\\\"++\\\"+n,\\\"--\\\"+i)):r.push([\\\"ptr0=\\\",d(e),\\\"\\\\n\\\",\\\"ptr1=\\\",d(n),\\\"\\\\n\\\",\\\"ptr2=\\\",d(i),\\\"\\\\n\\\",\\\"++\\\",n,\\\"\\\\n\\\",\\\"--\\\",i,\\\"\\\\n\\\",\\\"tmp=\\\",m(\\\"ptr0\\\"),\\\"\\\\n\\\",v(\\\"ptr0\\\",m(\\\"ptr1\\\")),\\\"\\\\n\\\",v(\\\"ptr1\\\",m(\\\"ptr2\\\")),\\\"\\\\n\\\",v(\\\"ptr2\\\",\\\"tmp\\\")].join(\\\"\\\"))}function M(t,e){A(t,e),r.push(\\\"--\\\"+e)}function E(e,n,i){t.length>1?g([e,n],!0,[v(\\\"ptr0\\\",m(\\\"ptr1\\\")),\\\"\\\\n\\\",v(\\\"ptr1\\\",[\\\"pivot\\\",i,\\\"[pivot_ptr]\\\"].join(\\\"\\\"))].join(\\\"\\\")):r.push(v(d(e),m(d(n))),v(d(n),\\\"pivot\\\"+i))}function T(e,n){r.push([\\\"if((\\\",n,\\\"-\\\",e,\\\")<=\\\",i,\\\"){\\\\n\\\",\\\"insertionSort(\\\",e,\\\",\\\",n,\\\",data,offset,\\\",a(t.length).join(\\\",\\\"),\\\")\\\\n\\\",\\\"}else{\\\\n\\\",s,\\\"(\\\",e,\\\",\\\",n,\\\",data,offset,\\\",a(t.length).join(\\\",\\\"),\\\")\\\\n\\\",\\\"}\\\"].join(\\\"\\\"))}function S(e,n,i){t.length>1?(r.push([\\\"__l\\\",++c,\\\":while(true){\\\"].join(\\\"\\\")),g([e],!0,[\\\"if(\\\",m(\\\"ptr0\\\"),\\\"!==pivot\\\",n,\\\"[pivot_ptr]){break __l\\\",c,\\\"}\\\"].join(\\\"\\\")),r.push(i,\\\"}\\\")):r.push([\\\"while(\\\",m(d(e)),\\\"===pivot\\\",n,\\\"){\\\",i,\\\"}\\\"].join(\\\"\\\"))}return r.push(\\\"var \\\"+h.join(\\\",\\\")),b(1,2),b(4,5),b(1,3),b(2,3),b(1,4),b(3,4),b(2,5),b(2,3),b(4,5),t.length>1?g([\\\"el1\\\",\\\"el2\\\",\\\"el3\\\",\\\"el4\\\",\\\"el5\\\",\\\"index1\\\",\\\"index3\\\",\\\"index5\\\"],!0,[\\\"pivot1[pivot_ptr]=\\\",m(\\\"ptr1\\\"),\\\"\\\\n\\\",\\\"pivot2[pivot_ptr]=\\\",m(\\\"ptr3\\\"),\\\"\\\\n\\\",\\\"pivots_are_equal=pivots_are_equal&&(pivot1[pivot_ptr]===pivot2[pivot_ptr])\\\\n\\\",\\\"x=\\\",m(\\\"ptr0\\\"),\\\"\\\\n\\\",\\\"y=\\\",m(\\\"ptr2\\\"),\\\"\\\\n\\\",\\\"z=\\\",m(\\\"ptr4\\\"),\\\"\\\\n\\\",v(\\\"ptr5\\\",\\\"x\\\"),\\\"\\\\n\\\",v(\\\"ptr6\\\",\\\"y\\\"),\\\"\\\\n\\\",v(\\\"ptr7\\\",\\\"z\\\")].join(\\\"\\\")):r.push([\\\"pivot1=\\\",m(d(\\\"el2\\\")),\\\"\\\\n\\\",\\\"pivot2=\\\",m(d(\\\"el4\\\")),\\\"\\\\n\\\",\\\"pivots_are_equal=pivot1===pivot2\\\\n\\\",\\\"x=\\\",m(d(\\\"el1\\\")),\\\"\\\\n\\\",\\\"y=\\\",m(d(\\\"el3\\\")),\\\"\\\\n\\\",\\\"z=\\\",m(d(\\\"el5\\\")),\\\"\\\\n\\\",v(d(\\\"index1\\\"),\\\"x\\\"),\\\"\\\\n\\\",v(d(\\\"index3\\\"),\\\"y\\\"),\\\"\\\\n\\\",v(d(\\\"index5\\\"),\\\"z\\\")].join(\\\"\\\")),x(\\\"index2\\\",\\\"left\\\"),x(\\\"index4\\\",\\\"right\\\"),r.push(\\\"if(pivots_are_equal){\\\"),r.push(\\\"for(k=less;k<=great;++k){\\\"),w(\\\"comp\\\",\\\"k\\\",1),r.push(\\\"if(comp===0){continue}\\\"),r.push(\\\"if(comp<0){\\\"),r.push(\\\"if(k!==less){\\\"),A(\\\"k\\\",\\\"less\\\"),r.push(\\\"}\\\"),r.push(\\\"++less\\\"),r.push(\\\"}else{\\\"),r.push(\\\"while(true){\\\"),w(\\\"comp\\\",\\\"great\\\",1),r.push(\\\"if(comp>0){\\\"),r.push(\\\"great--\\\"),r.push(\\\"}else if(comp<0){\\\"),C(\\\"k\\\",\\\"less\\\",\\\"great\\\"),r.push(\\\"break\\\"),r.push(\\\"}else{\\\"),M(\\\"k\\\",\\\"great\\\"),r.push(\\\"break\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}else{\\\"),r.push(\\\"for(k=less;k<=great;++k){\\\"),w(\\\"comp_pivot1\\\",\\\"k\\\",1),r.push(\\\"if(comp_pivot1<0){\\\"),r.push(\\\"if(k!==less){\\\"),A(\\\"k\\\",\\\"less\\\"),r.push(\\\"}\\\"),r.push(\\\"++less\\\"),r.push(\\\"}else{\\\"),w(\\\"comp_pivot2\\\",\\\"k\\\",2),r.push(\\\"if(comp_pivot2>0){\\\"),r.push(\\\"while(true){\\\"),w(\\\"comp\\\",\\\"great\\\",2),r.push(\\\"if(comp>0){\\\"),r.push(\\\"if(--great<k){break}\\\"),r.push(\\\"continue\\\"),r.push(\\\"}else{\\\"),w(\\\"comp\\\",\\\"great\\\",1),r.push(\\\"if(comp<0){\\\"),C(\\\"k\\\",\\\"less\\\",\\\"great\\\"),r.push(\\\"}else{\\\"),M(\\\"k\\\",\\\"great\\\"),r.push(\\\"}\\\"),r.push(\\\"break\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),E(\\\"left\\\",\\\"(less-1)\\\",1),E(\\\"right\\\",\\\"(great+1)\\\",2),T(\\\"left\\\",\\\"(less-2)\\\"),T(\\\"(great+2)\\\",\\\"right\\\"),r.push(\\\"if(pivots_are_equal){\\\"),_(),r.push(\\\"return\\\"),r.push(\\\"}\\\"),r.push(\\\"if(less<index1&&great>index5){\\\"),S(\\\"less\\\",1,\\\"++less\\\"),S(\\\"great\\\",2,\\\"--great\\\"),r.push(\\\"for(k=less;k<=great;++k){\\\"),w(\\\"comp_pivot1\\\",\\\"k\\\",1),r.push(\\\"if(comp_pivot1===0){\\\"),r.push(\\\"if(k!==less){\\\"),A(\\\"k\\\",\\\"less\\\"),r.push(\\\"}\\\"),r.push(\\\"++less\\\"),r.push(\\\"}else{\\\"),w(\\\"comp_pivot2\\\",\\\"k\\\",2),r.push(\\\"if(comp_pivot2===0){\\\"),r.push(\\\"while(true){\\\"),w(\\\"comp\\\",\\\"great\\\",2),r.push(\\\"if(comp===0){\\\"),r.push(\\\"if(--great<k){break}\\\"),r.push(\\\"continue\\\"),r.push(\\\"}else{\\\"),w(\\\"comp\\\",\\\"great\\\",1),r.push(\\\"if(comp<0){\\\"),C(\\\"k\\\",\\\"less\\\",\\\"great\\\"),r.push(\\\"}else{\\\"),M(\\\"k\\\",\\\"great\\\"),r.push(\\\"}\\\"),r.push(\\\"break\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),r.push(\\\"}\\\"),_(),T(\\\"less\\\",\\\"great\\\"),r.push(\\\"}return \\\"+s),t.length>1&&u?new Function(\\\"insertionSort\\\",\\\"malloc\\\",\\\"free\\\",r.join(\\\"\\\\n\\\"))(n,u[0],u[1]):new Function(\\\"insertionSort\\\",r.join(\\\"\\\\n\\\"))(n)}(t,e,g))}},{\\\"typedarray-pool\\\":547}],447:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/compile_sort.js\\\"),i={};e.exports=function(t){var e=t.order,n=t.dtype,o=[e,n].join(\\\":\\\"),a=i[o];return a||(i[o]=a=r(e,n)),a(t),t}},{\\\"./lib/compile_sort.js\\\":446}],448:[function(t,e,n){var r=t(\\\"iota-array\\\"),i=t(\\\"is-buffer\\\"),o=\\\"undefined\\\"!=typeof Float64Array;function a(t,e){return t[0]-e[0]}function s(){var t,e=this.stride,n=new Array(e.length);for(t=0;t<n.length;++t)n[t]=[Math.abs(e[t]),t];n.sort(a);var r=new Array(n.length);for(t=0;t<r.length;++t)r[t]=n[t][1];return r}function l(t,e){var n=[\\\"View\\\",e,\\\"d\\\",t].join(\\\"\\\");e<0&&(n=\\\"View_Nil\\\"+t);var i=\\\"generic\\\"===t;if(-1===e){var o=\\\"function \\\"+n+\\\"(a){this.data=a;};var proto=\\\"+n+\\\".prototype;proto.dtype='\\\"+t+\\\"';proto.index=function(){return -1};proto.size=0;proto.dimension=-1;proto.shape=proto.stride=proto.order=[];proto.lo=proto.hi=proto.transpose=proto.step=function(){return new \\\"+n+\\\"(this.data);};proto.get=proto.set=function(){};proto.pick=function(){return null};return function construct_\\\"+n+\\\"(a){return new \\\"+n+\\\"(a);}\\\";return new Function(o)()}if(0===e)return o=\\\"function \\\"+n+\\\"(a,d) {this.data = a;this.offset = d};var proto=\\\"+n+\\\".prototype;proto.dtype='\\\"+t+\\\"';proto.index=function(){return this.offset};proto.dimension=0;proto.size=1;proto.shape=proto.stride=proto.order=[];proto.lo=proto.hi=proto.transpose=proto.step=function \\\"+n+\\\"_copy() {return new \\\"+n+\\\"(this.data,this.offset)};proto.pick=function \\\"+n+\\\"_pick(){return TrivialArray(this.data);};proto.valueOf=proto.get=function \\\"+n+\\\"_get(){return \\\"+(i?\\\"this.data.get(this.offset)\\\":\\\"this.data[this.offset]\\\")+\\\"};proto.set=function \\\"+n+\\\"_set(v){return \\\"+(i?\\\"this.data.set(this.offset,v)\\\":\\\"this.data[this.offset]=v\\\")+\\\"};return function construct_\\\"+n+\\\"(a,b,c,d){return new \\\"+n+\\\"(a,d)}\\\",new Function(\\\"TrivialArray\\\",o)(u[t][0]);o=[\\\"'use strict'\\\"];var a=r(e),l=a.map((function(t){return\\\"i\\\"+t})),c=\\\"this.offset+\\\"+a.map((function(t){return\\\"this.stride[\\\"+t+\\\"]*i\\\"+t})).join(\\\"+\\\"),h=a.map((function(t){return\\\"b\\\"+t})).join(\\\",\\\"),p=a.map((function(t){return\\\"c\\\"+t})).join(\\\",\\\");o.push(\\\"function \\\"+n+\\\"(a,\\\"+h+\\\",\\\"+p+\\\",d){this.data=a\\\",\\\"this.shape=[\\\"+h+\\\"]\\\",\\\"this.stride=[\\\"+p+\\\"]\\\",\\\"this.offset=d|0}\\\",\\\"var proto=\\\"+n+\\\".prototype\\\",\\\"proto.dtype='\\\"+t+\\\"'\\\",\\\"proto.dimension=\\\"+e),o.push(\\\"Object.defineProperty(proto,'size',{get:function \\\"+n+\\\"_size(){return \\\"+a.map((function(t){return\\\"this.shape[\\\"+t+\\\"]\\\"})).join(\\\"*\\\"),\\\"}})\\\"),1===e?o.push(\\\"proto.order=[0]\\\"):(o.push(\\\"Object.defineProperty(proto,'order',{get:\\\"),e<4?(o.push(\\\"function \\\"+n+\\\"_order(){\\\"),2===e?o.push(\\\"return (Math.abs(this.stride[0])>Math.abs(this.stride[1]))?[1,0]:[0,1]}})\\\"):3===e&&o.push(\\\"var s0=Math.abs(this.stride[0]),s1=Math.abs(this.stride[1]),s2=Math.abs(this.stride[2]);if(s0>s1){if(s1>s2){return [2,1,0];}else if(s0>s2){return [1,2,0];}else{return [1,0,2];}}else if(s0>s2){return [2,0,1];}else if(s2>s1){return [0,1,2];}else{return [0,2,1];}}})\\\")):o.push(\\\"ORDER})\\\")),o.push(\\\"proto.set=function \\\"+n+\\\"_set(\\\"+l.join(\\\",\\\")+\\\",v){\\\"),i?o.push(\\\"return this.data.set(\\\"+c+\\\",v)}\\\"):o.push(\\\"return this.data[\\\"+c+\\\"]=v}\\\"),o.push(\\\"proto.get=function \\\"+n+\\\"_get(\\\"+l.join(\\\",\\\")+\\\"){\\\"),i?o.push(\\\"return this.data.get(\\\"+c+\\\")}\\\"):o.push(\\\"return this.data[\\\"+c+\\\"]}\\\"),o.push(\\\"proto.index=function \\\"+n+\\\"_index(\\\",l.join(),\\\"){return \\\"+c+\\\"}\\\"),o.push(\\\"proto.hi=function \\\"+n+\\\"_hi(\\\"+l.join(\\\",\\\")+\\\"){return new \\\"+n+\\\"(this.data,\\\"+a.map((function(t){return[\\\"(typeof i\\\",t,\\\"!=='number'||i\\\",t,\\\"<0)?this.shape[\\\",t,\\\"]:i\\\",t,\\\"|0\\\"].join(\\\"\\\")})).join(\\\",\\\")+\\\",\\\"+a.map((function(t){return\\\"this.stride[\\\"+t+\\\"]\\\"})).join(\\\",\\\")+\\\",this.offset)}\\\");var f=a.map((function(t){return\\\"a\\\"+t+\\\"=this.shape[\\\"+t+\\\"]\\\"})),d=a.map((function(t){return\\\"c\\\"+t+\\\"=this.stride[\\\"+t+\\\"]\\\"}));o.push(\\\"proto.lo=function \\\"+n+\\\"_lo(\\\"+l.join(\\\",\\\")+\\\"){var b=this.offset,d=0,\\\"+f.join(\\\",\\\")+\\\",\\\"+d.join(\\\",\\\"));for(var m=0;m<e;++m)o.push(\\\"if(typeof i\\\"+m+\\\"==='number'&&i\\\"+m+\\\">=0){d=i\\\"+m+\\\"|0;b+=c\\\"+m+\\\"*d;a\\\"+m+\\\"-=d}\\\");for(o.push(\\\"return new \\\"+n+\\\"(this.data,\\\"+a.map((function(t){return\\\"a\\\"+t})).join(\\\",\\\")+\\\",\\\"+a.map((function(t){return\\\"c\\\"+t})).join(\\\",\\\")+\\\",b)}\\\"),o.push(\\\"proto.step=function \\\"+n+\\\"_step(\\\"+l.join(\\\",\\\")+\\\"){var \\\"+a.map((function(t){return\\\"a\\\"+t+\\\"=this.shape[\\\"+t+\\\"]\\\"})).join(\\\",\\\")+\\\",\\\"+a.map((function(t){return\\\"b\\\"+t+\\\"=this.stride[\\\"+t+\\\"]\\\"})).join(\\\",\\\")+\\\",c=this.offset,d=0,ceil=Math.ceil\\\"),m=0;m<e;++m)o.push(\\\"if(typeof i\\\"+m+\\\"==='number'){d=i\\\"+m+\\\"|0;if(d<0){c+=b\\\"+m+\\\"*(a\\\"+m+\\\"-1);a\\\"+m+\\\"=ceil(-a\\\"+m+\\\"/d)}else{a\\\"+m+\\\"=ceil(a\\\"+m+\\\"/d)}b\\\"+m+\\\"*=d}\\\");o.push(\\\"return new \\\"+n+\\\"(this.data,\\\"+a.map((function(t){return\\\"a\\\"+t})).join(\\\",\\\")+\\\",\\\"+a.map((function(t){return\\\"b\\\"+t})).join(\\\",\\\")+\\\",c)}\\\");var v=new Array(e),g=new Array(e);for(m=0;m<e;++m)v[m]=\\\"a[i\\\"+m+\\\"]\\\",g[m]=\\\"b[i\\\"+m+\\\"]\\\";for(o.push(\\\"proto.transpose=function \\\"+n+\\\"_transpose(\\\"+l+\\\"){\\\"+l.map((function(t,e){return t+\\\"=(\\\"+t+\\\"===undefined?\\\"+e+\\\":\\\"+t+\\\"|0)\\\"})).join(\\\";\\\"),\\\"var a=this.shape,b=this.stride;return new \\\"+n+\\\"(this.data,\\\"+v.join(\\\",\\\")+\\\",\\\"+g.join(\\\",\\\")+\\\",this.offset)}\\\"),o.push(\\\"proto.pick=function \\\"+n+\\\"_pick(\\\"+l+\\\"){var a=[],b=[],c=this.offset\\\"),m=0;m<e;++m)o.push(\\\"if(typeof i\\\"+m+\\\"==='number'&&i\\\"+m+\\\">=0){c=(c+this.stride[\\\"+m+\\\"]*i\\\"+m+\\\")|0}else{a.push(this.shape[\\\"+m+\\\"]);b.push(this.stride[\\\"+m+\\\"])}\\\");return o.push(\\\"var ctor=CTOR_LIST[a.length+1];return ctor(this.data,a,b,c)}\\\"),o.push(\\\"return function construct_\\\"+n+\\\"(data,shape,stride,offset){return new \\\"+n+\\\"(data,\\\"+a.map((function(t){return\\\"shape[\\\"+t+\\\"]\\\"})).join(\\\",\\\")+\\\",\\\"+a.map((function(t){return\\\"stride[\\\"+t+\\\"]\\\"})).join(\\\",\\\")+\\\",offset)}\\\"),new Function(\\\"CTOR_LIST\\\",\\\"ORDER\\\",o.join(\\\"\\\\n\\\"))(u[t],s)}var u={float32:[],float64:[],int8:[],int16:[],int32:[],uint8:[],uint16:[],uint32:[],array:[],uint8_clamped:[],bigint64:[],biguint64:[],buffer:[],generic:[]};e.exports=function(t,e,n,r){if(void 0===t)return(0,u.array[0])([]);\\\"number\\\"==typeof t&&(t=[t]),void 0===e&&(e=[t.length]);var a=e.length;if(void 0===n){n=new Array(a);for(var s=a-1,c=1;s>=0;--s)n[s]=c,c*=e[s]}if(void 0===r)for(r=0,s=0;s<a;++s)n[s]<0&&(r-=(e[s]-1)*n[s]);for(var h=function(t){if(i(t))return\\\"buffer\\\";if(o)switch(Object.prototype.toString.call(t)){case\\\"[object Float64Array]\\\":return\\\"float64\\\";case\\\"[object Float32Array]\\\":return\\\"float32\\\";case\\\"[object Int8Array]\\\":return\\\"int8\\\";case\\\"[object Int16Array]\\\":return\\\"int16\\\";case\\\"[object Int32Array]\\\":return\\\"int32\\\";case\\\"[object Uint8Array]\\\":return\\\"uint8\\\";case\\\"[object Uint16Array]\\\":return\\\"uint16\\\";case\\\"[object Uint32Array]\\\":return\\\"uint32\\\";case\\\"[object Uint8ClampedArray]\\\":return\\\"uint8_clamped\\\";case\\\"[object BigInt64Array]\\\":return\\\"bigint64\\\";case\\\"[object BigUint64Array]\\\":return\\\"biguint64\\\"}return Array.isArray(t)?\\\"array\\\":\\\"generic\\\"}(t),p=u[h];p.length<=a+1;)p.push(l(h,p.length-1));return(0,p[a+1])(t,e,n,r)}},{\\\"iota-array\\\":416,\\\"is-buffer\\\":418}],449:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"double-bits\\\"),i=Math.pow(2,-1074),o=-1>>>0;e.exports=function(t,e){if(isNaN(t)||isNaN(e))return NaN;if(t===e)return t;if(0===t)return e<0?-i:i;var n=r.hi(t),a=r.lo(t);return e>t==t>0?a===o?(n+=1,a=0):a+=1:0===a?(a=o,n-=1):a-=1,r.pack(a,n)}},{\\\"double-bits\\\":168}],450:[function(t,e,n){var r=Math.PI,i=u(120);function o(t,e,n,r){return[\\\"C\\\",t,e,n,r,n,r]}function a(t,e,n,r,i,o){return[\\\"C\\\",t/3+2/3*n,e/3+2/3*r,i/3+2/3*n,o/3+2/3*r,i,o]}function s(t,e,n,o,a,u,c,h,p,f){if(f)A=f[0],C=f[1],x=f[2],w=f[3];else{var d=l(t,e,-a);t=d.x,e=d.y;var m=(t-(h=(d=l(h,p,-a)).x))/2,v=(e-(p=d.y))/2,g=m*m/(n*n)+v*v/(o*o);g>1&&(n*=g=Math.sqrt(g),o*=g);var y=n*n,_=o*o,b=(u==c?-1:1)*Math.sqrt(Math.abs((y*_-y*v*v-_*m*m)/(y*v*v+_*m*m)));b==1/0&&(b=1);var x=b*n*v/o+(t+h)/2,w=b*-o*m/n+(e+p)/2,A=Math.asin(((e-w)/o).toFixed(9)),C=Math.asin(((p-w)/o).toFixed(9));(A=t<x?r-A:A)<0&&(A=2*r+A),(C=h<x?r-C:C)<0&&(C=2*r+C),c&&A>C&&(A-=2*r),!c&&C>A&&(C-=2*r)}if(Math.abs(C-A)>i){var M=C,E=h,T=p;C=A+i*(c&&C>A?1:-1);var S=s(h=x+n*Math.cos(C),p=w+o*Math.sin(C),n,o,a,0,c,E,T,[C,M,x,w])}var k=Math.tan((C-A)/4),O=4/3*n*k,I=4/3*o*k,L=[2*t-(t+O*Math.sin(A)),2*e-(e-I*Math.cos(A)),h+O*Math.sin(C),p-I*Math.cos(C),h,p];if(f)return L;S&&(L=L.concat(S));for(var P=0;P<L.length;){var z=l(L[P],L[P+1],a);L[P++]=z.x,L[P++]=z.y}return L}function l(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}}function u(t){return t*(r/180)}e.exports=function(t){for(var e,n=[],r=0,i=0,l=0,c=0,h=null,p=null,f=0,d=0,m=0,v=t.length;m<v;m++){var g=t[m],y=g[0];switch(y){case\\\"M\\\":l=g[1],c=g[2];break;case\\\"A\\\":(g=s(f,d,g[1],g[2],u(g[3]),g[4],g[5],g[6],g[7])).unshift(\\\"C\\\"),g.length>7&&(n.push(g.splice(0,7)),g.unshift(\\\"C\\\"));break;case\\\"S\\\":var _=f,b=d;\\\"C\\\"!=e&&\\\"S\\\"!=e||(_+=_-r,b+=b-i),g=[\\\"C\\\",_,b,g[1],g[2],g[3],g[4]];break;case\\\"T\\\":\\\"Q\\\"==e||\\\"T\\\"==e?(h=2*f-h,p=2*d-p):(h=f,p=d),g=a(f,d,h,p,g[1],g[2]);break;case\\\"Q\\\":h=g[1],p=g[2],g=a(f,d,g[1],g[2],g[3],g[4]);break;case\\\"L\\\":g=o(f,d,g[1],g[2]);break;case\\\"H\\\":g=o(f,d,g[1],d);break;case\\\"V\\\":g=o(f,d,f,g[1]);break;case\\\"Z\\\":g=o(f,d,l,c)}e=y,f=g[g.length-2],d=g[g.length-1],g.length>4?(r=g[g.length-4],i=g[g.length-3]):(r=f,i=d),n.push(g)}return n}},{}],451:[function(t,e,n){n.vertexNormals=function(t,e,n){for(var r=e.length,i=new Array(r),o=void 0===n?1e-6:n,a=0;a<r;++a)i[a]=[0,0,0];for(a=0;a<t.length;++a)for(var s=t[a],l=0,u=s[s.length-1],c=s[0],h=0;h<s.length;++h){l=u,u=c,c=s[(h+1)%s.length];for(var p=e[l],f=e[u],d=e[c],m=new Array(3),v=0,g=new Array(3),y=0,_=0;_<3;++_)m[_]=p[_]-f[_],v+=m[_]*m[_],g[_]=d[_]-f[_],y+=g[_]*g[_];if(v*y>o){var b=i[u],x=1/Math.sqrt(v*y);for(_=0;_<3;++_){var w=(_+1)%3,A=(_+2)%3;b[_]+=x*(g[w]*m[A]-g[A]*m[w])}}}for(a=0;a<r;++a){b=i[a];var C=0;for(_=0;_<3;++_)C+=b[_]*b[_];if(C>o)for(x=1/Math.sqrt(C),_=0;_<3;++_)b[_]*=x;else for(_=0;_<3;++_)b[_]=0}return i},n.faceNormals=function(t,e,n){for(var r=t.length,i=new Array(r),o=void 0===n?1e-6:n,a=0;a<r;++a){for(var s=t[a],l=new Array(3),u=0;u<3;++u)l[u]=e[s[u]];var c=new Array(3),h=new Array(3);for(u=0;u<3;++u)c[u]=l[1][u]-l[0][u],h[u]=l[2][u]-l[0][u];var p=new Array(3),f=0;for(u=0;u<3;++u){var d=(u+1)%3,m=(u+2)%3;p[u]=c[d]*h[m]-c[m]*h[d],f+=p[u]*p[u]}for(f=f>o?1/Math.sqrt(f):0,u=0;u<3;++u)p[u]*=f;i[a]=p}return i}},{}],452:[function(t,e,n){\\\"use strict\\\";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null==t)throw new TypeError(\\\"Object.assign cannot be called with null or undefined\\\");return Object(t)}e.exports=function(){try{if(!Object.assign)return!1;var t=new String(\\\"abc\\\");if(t[5]=\\\"de\\\",\\\"5\\\"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e[\\\"_\\\"+String.fromCharCode(n)]=n;if(\\\"0123456789\\\"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(\\\"\\\"))return!1;var r={};return\\\"abcdefghijklmnopqrst\\\".split(\\\"\\\").forEach((function(t){r[t]=t})),\\\"abcdefghijklmnopqrst\\\"===Object.keys(Object.assign({},r)).join(\\\"\\\")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,s,l=a(t),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var h=0;h<s.length;h++)o.call(n,s[h])&&(l[s[h]]=n[s[h]])}}return l}},{}],453:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i,o,a,s,l,u){var c=e+o+u;if(h>0){var h=Math.sqrt(c+1);t[0]=.5*(a-l)/h,t[1]=.5*(s-r)/h,t[2]=.5*(n-o)/h,t[3]=.5*h}else{var p=Math.max(e,o,u);h=Math.sqrt(2*p-c+1),e>=p?(t[0]=.5*h,t[1]=.5*(i+n)/h,t[2]=.5*(s+r)/h,t[3]=.5*(a-l)/h):o>=p?(t[0]=.5*(n+i)/h,t[1]=.5*h,t[2]=.5*(l+a)/h,t[3]=.5*(s-r)/h):(t[0]=.5*(r+s)/h,t[1]=.5*(a+l)/h,t[2]=.5*h,t[3]=.5*(n-i)/h)}return t}},{}],454:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=(t=t||{}).center||[0,0,0],n=t.rotation||[0,0,0,1],r=t.radius||1;e=[].slice.call(e,0,3),c(n=[].slice.call(n,0,4),n);var i=new h(n,e,Math.log(r));return i.setDistanceLimits(t.zoomMin,t.zoomMax),(\\\"eye\\\"in t||\\\"up\\\"in t)&&i.lookAt(0,t.eye,t.center,t.up),i};var r=t(\\\"filtered-vector\\\"),i=t(\\\"gl-mat4/lookAt\\\"),o=t(\\\"gl-mat4/fromQuat\\\"),a=t(\\\"gl-mat4/invert\\\"),s=t(\\\"./lib/quatFromFrame\\\");function l(t,e,n){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2)+Math.pow(n,2))}function u(t,e,n,r){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2)+Math.pow(n,2)+Math.pow(r,2))}function c(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=u(n,r,i,o);a>1e-6?(t[0]=n/a,t[1]=r/a,t[2]=i/a,t[3]=o/a):(t[0]=t[1]=t[2]=0,t[3]=1)}function h(t,e,n){this.radius=r([n]),this.center=r(e),this.rotation=r(t),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var p=h.prototype;p.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},p.recalcMatrix=function(t){this.radius.curve(t),this.center.curve(t),this.rotation.curve(t);var e=this.computedRotation;c(e,e);var n=this.computedMatrix;o(n,e);var r=this.computedCenter,i=this.computedEye,a=this.computedUp,s=Math.exp(this.computedRadius[0]);i[0]=r[0]+s*n[2],i[1]=r[1]+s*n[6],i[2]=r[2]+s*n[10],a[0]=n[1],a[1]=n[5],a[2]=n[9];for(var l=0;l<3;++l){for(var u=0,h=0;h<3;++h)u+=n[l+4*h]*i[h];n[12+l]=-u}},p.getMatrix=function(t,e){this.recalcMatrix(t);var n=this.computedMatrix;if(e){for(var r=0;r<16;++r)e[r]=n[r];return e}return n},p.idle=function(t){this.center.idle(t),this.radius.idle(t),this.rotation.idle(t)},p.flush=function(t){this.center.flush(t),this.radius.flush(t),this.rotation.flush(t)},p.pan=function(t,e,n,r){e=e||0,n=n||0,r=r||0,this.recalcMatrix(t);var i=this.computedMatrix,o=i[1],a=i[5],s=i[9],u=l(o,a,s);o/=u,a/=u,s/=u;var c=i[0],h=i[4],p=i[8],f=c*o+h*a+p*s,d=l(c-=o*f,h-=a*f,p-=s*f);c/=d,h/=d,p/=d;var m=i[2],v=i[6],g=i[10],y=m*o+v*a+g*s,_=m*c+v*h+g*p,b=l(m-=y*o+_*c,v-=y*a+_*h,g-=y*s+_*p);m/=b,v/=b,g/=b;var x=c*e+o*n,w=h*e+a*n,A=p*e+s*n;this.center.move(t,x,w,A);var C=Math.exp(this.computedRadius[0]);C=Math.max(1e-4,C+r),this.radius.set(t,Math.log(C))},p.rotate=function(t,e,n,r){this.recalcMatrix(t),e=e||0,n=n||0;var i=this.computedMatrix,o=i[0],a=i[4],s=i[8],c=i[1],h=i[5],p=i[9],f=i[2],d=i[6],m=i[10],v=e*o+n*c,g=e*a+n*h,y=e*s+n*p,_=-(d*y-m*g),b=-(m*v-f*y),x=-(f*g-d*v),w=Math.sqrt(Math.max(0,1-Math.pow(_,2)-Math.pow(b,2)-Math.pow(x,2))),A=u(_,b,x,w);A>1e-6?(_/=A,b/=A,x/=A,w/=A):(_=b=x=0,w=1);var C=this.computedRotation,M=C[0],E=C[1],T=C[2],S=C[3],k=M*w+S*_+E*x-T*b,O=E*w+S*b+T*_-M*x,I=T*w+S*x+M*b-E*_,L=S*w-M*_-E*b-T*x;if(r){_=f,b=d,x=m;var P=Math.sin(r)/l(_,b,x);_*=P,b*=P,x*=P,L=L*(w=Math.cos(e))-(k=k*w+L*_+O*x-I*b)*_-(O=O*w+L*b+I*_-k*x)*b-(I=I*w+L*x+k*b-O*_)*x}var z=u(k,O,I,L);z>1e-6?(k/=z,O/=z,I/=z,L/=z):(k=O=I=0,L=1),this.rotation.set(t,k,O,I,L)},p.lookAt=function(t,e,n,r){this.recalcMatrix(t),n=n||this.computedCenter,e=e||this.computedEye,r=r||this.computedUp;var o=this.computedMatrix;i(o,e,n,r);var a=this.computedRotation;s(a,o[0],o[1],o[2],o[4],o[5],o[6],o[8],o[9],o[10]),c(a,a),this.rotation.set(t,a[0],a[1],a[2],a[3]);for(var l=0,u=0;u<3;++u)l+=Math.pow(n[u]-e[u],2);this.radius.set(t,.5*Math.log(Math.max(l,1e-6))),this.center.set(t,n[0],n[1],n[2])},p.translate=function(t,e,n,r){this.center.move(t,e||0,n||0,r||0)},p.setMatrix=function(t,e){var n=this.computedRotation;s(n,e[0],e[1],e[2],e[4],e[5],e[6],e[8],e[9],e[10]),c(n,n),this.rotation.set(t,n[0],n[1],n[2],n[3]);var r=this.computedMatrix;a(r,e);var i=r[15];if(Math.abs(i)>1e-6){var o=r[12]/i,l=r[13]/i,u=r[14]/i;this.recalcMatrix(t);var h=Math.exp(this.computedRadius[0]);this.center.set(t,o-r[2]*h,l-r[6]*h,u-r[10]*h),this.radius.idle(t)}else this.center.idle(t),this.radius.idle(t)},p.setDistance=function(t,e){e>0&&this.radius.set(t,Math.log(e))},p.setDistanceLimits=function(t,e){t=t>0?Math.log(t):-1/0,e=e>0?Math.log(e):1/0,e=Math.max(e,t),this.radius.bounds[0][0]=t,this.radius.bounds[1][0]=e},p.getDistanceLimits=function(t){var e=this.radius.bounds;return t?(t[0]=Math.exp(e[0][0]),t[1]=Math.exp(e[1][0]),t):[Math.exp(e[0][0]),Math.exp(e[1][0])]},p.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},p.fromJSON=function(t){var e=this.lastT(),n=t.center;n&&this.center.set(e,n[0],n[1],n[2]);var r=t.rotation;r&&this.rotation.set(e,r[0],r[1],r[2],r[3]);var i=t.distance;i&&i>0&&this.radius.set(e,Math.log(i)),this.setDistanceLimits(t.zoomMin,t.zoomMax)}},{\\\"./lib/quatFromFrame\\\":453,\\\"filtered-vector\\\":237,\\\"gl-mat4/fromQuat\\\":270,\\\"gl-mat4/invert\\\":273,\\\"gl-mat4/lookAt\\\":274}],455:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"repeat-string\\\");e.exports=function(t,e,n){return r(n=void 0!==n?n+\\\"\\\":\\\" \\\",e)+t}},{\\\"repeat-string\\\":493}],456:[function(t,e,n){\\\"use strict\\\";function r(t,e){if(\\\"string\\\"!=typeof t)return[t];var n=[t];\\\"string\\\"==typeof e||Array.isArray(e)?e={brackets:e}:e||(e={});var r=e.brackets?Array.isArray(e.brackets)?e.brackets:[e.brackets]:[\\\"{}\\\",\\\"[]\\\",\\\"()\\\"],i=e.escape||\\\"___\\\",o=!!e.flat;r.forEach((function(t){var e=new RegExp([\\\"\\\\\\\\\\\",t[0],\\\"[^\\\\\\\\\\\",t[0],\\\"\\\\\\\\\\\",t[1],\\\"]*\\\\\\\\\\\",t[1]].join(\\\"\\\")),r=[];function o(e,o,a){var s=n.push(e.slice(t[0].length,-t[1].length))-1;return r.push(s),i+s+i}n.forEach((function(t,r){for(var i,a=0;t!=i;)if(i=t,t=t.replace(e,o),a++>1e4)throw Error(\\\"References have circular dependency. Please, check them.\\\");n[r]=t})),r=r.reverse(),n=n.map((function(e){return r.forEach((function(n){e=e.replace(new RegExp(\\\"(\\\\\\\\\\\"+i+n+\\\"\\\\\\\\\\\"+i+\\\")\\\",\\\"g\\\"),t[0]+\\\"$1\\\"+t[1])})),e}))}));var a=new RegExp(\\\"\\\\\\\\\\\"+i+\\\"([0-9]+)\\\\\\\\\\\"+i);return o?n:function t(e,n,r){for(var i,o=[],s=0;i=a.exec(e);){if(s++>1e4)throw Error(\\\"Circular references in parenthesis\\\");o.push(e.slice(0,i.index)),o.push(t(n[i[1]],n)),e=e.slice(i.index+i[0].length)}return o.push(e),o}(n[0],n)}function i(t,e){if(e&&e.flat){var n,r=e&&e.escape||\\\"___\\\",i=t[0];if(!i)return\\\"\\\";for(var o=new RegExp(\\\"\\\\\\\\\\\"+r+\\\"([0-9]+)\\\\\\\\\\\"+r),a=0;i!=n;){if(a++>1e4)throw Error(\\\"Circular references in \\\"+t);n=i,i=i.replace(o,s)}return i}return t.reduce((function t(e,n){return Array.isArray(n)&&(n=n.reduce(t,\\\"\\\")),e+n}),\\\"\\\");function s(e,n){if(null==t[n])throw Error(\\\"Reference \\\"+n+\\\"is undefined\\\");return t[n]}}function o(t,e){return Array.isArray(t)?i(t,e):r(t,e)}o.parse=r,o.stringify=i,e.exports=o},{}],457:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"pick-by-alias\\\");e.exports=function(t){var e;return arguments.length>1&&(t=arguments),\\\"string\\\"==typeof t?t=t.split(/\\\\s/).map(parseFloat):\\\"number\\\"==typeof t&&(t=[t]),t.length&&\\\"number\\\"==typeof t[0]?e=1===t.length?{width:t[0],height:t[0],x:0,y:0}:2===t.length?{width:t[0],height:t[1],x:0,y:0}:{x:t[0],y:t[1],width:t[2]-t[0]||0,height:t[3]-t[1]||0}:t&&(e={x:(t=r(t,{left:\\\"x l left Left\\\",top:\\\"y t top Top\\\",width:\\\"w width W Width\\\",height:\\\"h height W Width\\\",bottom:\\\"b bottom Bottom\\\",right:\\\"r right Right\\\"})).left||0,y:t.top||0},null==t.width?t.right?e.width=t.right-e.x:e.width=0:e.width=t.width,null==t.height?t.bottom?e.height=t.bottom-e.y:e.height=0:e.height=t.height),e}},{\\\"pick-by-alias\\\":463}],458:[function(t,e,n){e.exports=function(t){var e=[];return t.replace(i,(function(t,n,i){var a=n.toLowerCase();for(i=function(t){var e=t.match(o);return e?e.map(Number):[]}(i),\\\"m\\\"==a&&i.length>2&&(e.push([n].concat(i.splice(0,2))),a=\\\"l\\\",n=\\\"m\\\"==n?\\\"l\\\":\\\"L\\\");;){if(i.length==r[a])return i.unshift(n),e.push(i);if(i.length<r[a])throw new Error(\\\"malformed path data\\\");e.push([n].concat(i.splice(0,r[a])))}})),e};var r={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},i=/([astvzqmhlc])([^astvzqmhlc]*)/gi,o=/-?[0-9]*\\\\.?[0-9]+(?:e[-+]?\\\\d+)?/gi},{}],459:[function(t,e,n){e.exports=function(t,e){e||(e=[0,\\\"\\\"]),t=String(t);var n=parseFloat(t,10);return e[0]=n,e[1]=t.match(/[\\\\d.\\\\-\\\\+]*\\\\s*(.*)/)[1]||\\\"\\\",e}},{}],460:[function(t,e,n){(function(t){(function(){var n,r,i,o,a,s;\\\"undefined\\\"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,o=(n=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,t(\\\"_process\\\"))},{_process:480}],461:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.length;if(e<32){for(var n=1,i=0;i<e;++i)for(var o=0;o<i;++o)if(t[i]<t[o])n=-n;else if(t[i]===t[o])return 0;return n}var a=r.mallocUint8(e);for(i=0;i<e;++i)a[i]=0;for(n=1,i=0;i<e;++i)if(!a[i]){var s=1;for(a[i]=1,o=t[i];o!==i;o=t[o]){if(a[o])return r.freeUint8(a),0;s+=1,a[o]=1}1&s||(n=-n)}return r.freeUint8(a),n};var r=t(\\\"typedarray-pool\\\")},{\\\"typedarray-pool\\\":547}],462:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"typedarray-pool\\\"),i=t(\\\"invert-permutation\\\");n.rank=function(t){var e=t.length;switch(e){case 0:case 1:return 0;case 2:return t[1]}var n,o,a,s=r.mallocUint32(e),l=r.mallocUint32(e),u=0;for(i(t,l),a=0;a<e;++a)s[a]=t[a];for(a=e-1;a>0;--a)o=l[a],n=s[a],s[a]=s[o],s[o]=n,l[a]=l[n],l[n]=o,u=(u+n)*a;return r.freeUint32(l),r.freeUint32(s),u},n.unrank=function(t,e,n){switch(t){case 0:return n||[];case 1:return n?(n[0]=0,n):[0];case 2:return n?(e?(n[0]=0,n[1]=1):(n[0]=1,n[1]=0),n):e?[0,1]:[1,0]}var r,i,o,a=1;for((n=n||new Array(t))[0]=0,o=1;o<t;++o)n[o]=o,a=a*o|0;for(o=t-1;o>0;--o)e=e-(r=e/a|0)*a|0,a=a/o|0,i=0|n[o],n[o]=0|n[r],n[r]=0|i;return n}},{\\\"invert-permutation\\\":415,\\\"typedarray-pool\\\":547}],463:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){var r,o,a={};if(\\\"string\\\"==typeof e&&(e=i(e)),Array.isArray(e)){var s={};for(o=0;o<e.length;o++)s[e[o]]=!0;e=s}for(r in e)e[r]=i(e[r]);var l={};for(r in e){var u=e[r];if(Array.isArray(u))for(o=0;o<u.length;o++){var c=u[o];if(n&&(l[c]=!0),c in t){if(a[r]=t[c],n)for(var h=o;h<u.length;h++)l[u[h]]=!0;break}}else r in t&&(e[r]&&(a[r]=t[r]),n&&(l[r]=!0))}if(n)for(r in t)l[r]||(a[r]=t[r]);return a};var r={};function i(t){return r[t]?r[t]:(\\\"string\\\"==typeof t&&(t=r[t]=t.split(/\\\\s*,\\\\s*|\\\\s+/)),t)}},{}],464:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){for(var n=0|e.length,i=t.length,o=[new Array(n),new Array(n)],a=0;a<n;++a)o[0][a]=[],o[1][a]=[];for(a=0;a<i;++a){var s=t[a];o[0][s[0]].push(s),o[1][s[1]].push(s)}var l=[];for(a=0;a<n;++a)o[0][a].length+o[1][a].length===0&&l.push([a]);function u(t,e){var n=o[e][t[e]];n.splice(n.indexOf(t),1)}function c(t,n,i){for(var a,s,l,c=0;c<2;++c)if(o[c][n].length>0){a=o[c][n][0],l=c;break}s=a[1^l];for(var h=0;h<2;++h)for(var p=o[h][n],f=0;f<p.length;++f){var d=p[f],m=d[1^h];r(e[t],e[n],e[s],e[m])>0&&(a=d,s=m,l=h)}return i||a&&u(a,l),s}function h(t,n){var i=o[n][t][0],a=[t];u(i,n);for(var s=i[1^n];;){for(;s!==t;)a.push(s),s=c(a[a.length-2],s,!1);if(o[0][t].length+o[1][t].length===0)break;var l=a[a.length-1],h=t,p=a[1],f=c(l,h,!0);if(r(e[l],e[h],e[p],e[f])<0)break;a.push(t),s=c(l,h)}return a}function p(t,e){return e[1]===e[e.length-1]}for(a=0;a<n;++a)for(var f=0;f<2;++f){for(var d=[];o[f][a].length>0;){o[0][a].length;var m=h(a,f);p(0,m)?d.push.apply(d,m):(d.length>0&&l.push(d),d=m)}d.length>0&&l.push(d)}return l};var r=t(\\\"compare-angle\\\")},{\\\"compare-angle\\\":129}],465:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){for(var n=r(t,e.length),i=new Array(e.length),o=new Array(e.length),a=[],s=0;s<e.length;++s){var l=n[s].length;o[s]=l,i[s]=!0,l<=1&&a.push(s)}for(;a.length>0;){i[f=a.pop()]=!1;var u=n[f];for(s=0;s<u.length;++s){var c=u[s];0==--o[c]&&a.push(c)}}var h=new Array(e.length),p=[];for(s=0;s<e.length;++s)if(i[s]){var f=p.length;h[s]=f,p.push(e[s])}else h[s]=-1;var d=[];for(s=0;s<t.length;++s){var m=t[s];i[m[0]]&&i[m[1]]&&d.push([h[m[0]],h[m[1]]])}return[d,p]};var r=t(\\\"edges-to-adjacency-list\\\")},{\\\"edges-to-adjacency-list\\\":173}],466:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){t=($=u(t,e))[0];for(var n=(e=$[1]).length,h=(t.length,r(t,e.length)),p=0;p<n;++p)if(h[p].length%2==1)throw new Error(\\\"planar-graph-to-polyline: graph must be manifold\\\");var f=i(t,e),d=(f=f.filter((function(t){for(var n=t.length,r=[0],i=0;i<n;++i){var o=e[t[i]],l=e[t[(i+1)%n]],u=a(-o[0],o[1]),c=a(-o[0],l[1]),h=a(l[0],o[1]),p=a(l[0],l[1]);r=s(r,s(s(u,c),s(h,p)))}return r[r.length-1]>0}))).length,m=new Array(d),v=new Array(d);for(p=0;p<d;++p){m[p]=p;var g=new Array(d),y=f[p].map((function(t){return e[t]})),_=o([y]),b=0;t:for(var x=0;x<d;++x)if(g[x]=0,p!==x){for(var w=(q=f[x]).length,A=0;A<w;++A){var C=_(e[q[A]]);if(0!==C){C<0&&(g[x]=1,b+=1);continue t}}g[x]=1,b+=1}v[p]=[b,p,g]}for(v.sort((function(t,e){return e[0]-t[0]})),p=0;p<d;++p){var M=(g=v[p])[1],E=g[2];for(x=0;x<d;++x)E[x]&&(m[x]=M)}var T=function(t){for(var e=new Array(t),n=0;n<t;++n)e[n]=[];return e}(d);for(p=0;p<d;++p)T[p].push(m[p]),T[m[p]].push(p);var S={},k=c(n,!1);for(p=0;p<d;++p)for(w=(q=f[p]).length,x=0;x<w;++x){var O=q[x],I=q[(x+1)%w],L=Math.min(O,I)+\\\":\\\"+Math.max(O,I);if(L in S){var P=S[L];T[P].push(p),T[p].push(P),k[O]=k[I]=!0}else S[L]=p}function z(t){for(var e=t.length,n=0;n<e;++n)if(!k[t[n]])return!1;return!0}var R=[],D=c(d,-1);for(p=0;p<d;++p)m[p]!==p||z(f[p])?D[p]=-1:(R.push(p),D[p]=0);for(var $=[];R.length>0;){var B=R.pop(),N=T[B];l(N,(function(t,e){return t-e}));var F,j=N.length,U=D[B];for(0===U&&(F=[q=f[B]]),p=0;p<j;++p){var q,V=N[p];D[V]>=0||(D[V]=1^U,R.push(V),0===U&&(z(q=f[V])||(q.reverse(),F.push(q))))}0===U&&$.push(F)}return $};var r=t(\\\"edges-to-adjacency-list\\\"),i=t(\\\"planar-dual\\\"),o=t(\\\"point-in-big-polygon\\\"),a=t(\\\"two-product\\\"),s=t(\\\"robust-sum\\\"),l=t(\\\"uniq\\\"),u=t(\\\"./lib/trim-leaves\\\");function c(t,e){for(var n=new Array(t),r=0;r<t;++r)n[r]=e;return n}},{\\\"./lib/trim-leaves\\\":465,\\\"edges-to-adjacency-list\\\":173,\\\"planar-dual\\\":464,\\\"point-in-big-polygon\\\":470,\\\"robust-sum\\\":505,\\\"two-product\\\":534,uniq:549}],467:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"./quad\\\")},{\\\"./quad\\\":468}],468:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"binary-search-bounds\\\"),i=t(\\\"clamp\\\"),o=t(\\\"parse-rect\\\"),a=t(\\\"array-bounds\\\"),s=t(\\\"pick-by-alias\\\"),l=t(\\\"defined\\\"),u=t(\\\"flatten-vertex-data\\\"),c=t(\\\"is-obj\\\"),h=t(\\\"dtype\\\"),p=t(\\\"math-log2\\\");function f(t,e){for(var n=e[0],r=e[1],o=1/(e[2]-n),a=1/(e[3]-r),s=new Array(t.length),l=0,u=t.length/2;l<u;l++)s[2*l]=i((t[2*l]-n)*o,0,1),s[2*l+1]=i((t[2*l+1]-r)*a,0,1);return s}e.exports=function(t,e){e||(e={}),t=u(t,\\\"float64\\\"),e=s(e,{bounds:\\\"range bounds dataBox databox\\\",maxDepth:\\\"depth maxDepth maxdepth level maxLevel maxlevel levels\\\",dtype:\\\"type dtype format out dst output destination\\\"});var n=l(e.maxDepth,255),i=l(e.bounds,a(t,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;var d,m=f(t,i),v=t.length>>>1;e.dtype||(e.dtype=\\\"array\\\"),\\\"string\\\"==typeof e.dtype?d=new(h(e.dtype))(v):e.dtype&&(d=e.dtype,Array.isArray(d)&&(d.length=v));for(var g=0;g<v;++g)d[g]=g;var y=[],_=[],b=[],x=[];!function t(e,r,i,o,a,s){if(!o.length)return null;var l=y[a]||(y[a]=[]),u=b[a]||(b[a]=[]),c=_[a]||(_[a]=[]),h=l.length;if(++a>n||s>1073741824){for(var p=0;p<o.length;p++)l.push(o[p]),u.push(s),c.push(null,null,null,null);return h}if(l.push(o[0]),u.push(s),o.length<=1)return c.push(null,null,null,null),h;for(var f=.5*i,d=e+f,v=r+f,g=[],x=[],w=[],A=[],C=1,M=o.length;C<M;C++){var E=o[C],T=m[2*E],S=m[2*E+1];T<d?S<v?g.push(E):x.push(E):S<v?w.push(E):A.push(E)}return s<<=2,c.push(t(e,r,f,g,a,s),t(e,v,f,x,a,s+1),t(d,r,f,w,a,s+2),t(d,v,f,A,a,s+3)),h}(0,0,1,d,0,1);for(var w=0,A=0;A<y.length;A++){var C=y[A];if(d.set)d.set(C,w);else for(var M=0,E=C.length;M<E;M++)d[M+w]=C[M];var T=w+y[A].length;x[A]=[w,T],w=T}return d.range=function(){for(var e,n=[],r=arguments.length;r--;)n[r]=arguments[r];if(c(n[n.length-1])){var a=n.pop();n.length||null==a.x&&null==a.l&&null==a.left||(n=[a],e={}),e=s(a,{level:\\\"level maxLevel\\\",d:\\\"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize\\\",lod:\\\"lod details ranges offsets\\\"})}else e={};n.length||(n=i);var u,h=o.apply(void 0,n),d=[Math.min(h.x,h.x+h.width),Math.min(h.y,h.y+h.height),Math.max(h.x,h.x+h.width),Math.max(h.y,h.y+h.height)],m=d[0],v=d[1],g=d[2],b=d[3],x=f([m,v,g,b],i),w=x[0],A=x[1],C=x[2],M=x[3],E=l(e.level,y.length);if(null!=e.d&&(\\\"number\\\"==typeof e.d?u=[e.d,e.d]:e.d.length&&(u=e.d),E=Math.min(Math.max(Math.ceil(-p(Math.abs(u[0])/(i[2]-i[0]))),Math.ceil(-p(Math.abs(u[1])/(i[3]-i[1])))),E)),E=Math.min(E,y.length),e.lod)return S(w,A,C,M,E);var T=[];function k(e,n,r,i,o,a){if(null!==o&&null!==a&&!(w>e+r||A>n+r||C<e||M<n||i>=E||o===a)){var s=y[i];void 0===a&&(a=s.length);for(var l=o;l<a;l++){var u=s[l],c=t[2*u],h=t[2*u+1];c>=m&&c<=g&&h>=v&&h<=b&&T.push(u)}var p=_[i],f=p[4*o+0],d=p[4*o+1],x=p[4*o+2],S=p[4*o+3],I=O(p,o+1),L=.5*r,P=i+1;k(e,n,L,P,f,d||x||S||I),k(e,n+L,L,P,d,x||S||I),k(e+L,n,L,P,x,S||I),k(e+L,n+L,L,P,S,I)}}function O(t,e){for(var n=null,r=0;null===n;)if(n=t[4*e+r],++r>t.length)return null;return n}return k(0,0,1,0,0,1),T},d;function S(t,e,n,i,o){for(var a=[],s=0;s<o;s++){var l=b[s],u=x[s][0],c=k(t,e,s),h=k(n,i,s),p=r.ge(l,c),f=r.gt(l,h,p,l.length-1);a[s]=[p+u,f+u]}return a}function k(t,e,n){for(var r=1,i=.5,o=.5,a=.5,s=0;s<n;s++)r<<=2,r+=t<i?e<o?0:1:e<o?2:3,a*=.5,i+=t<i?-a:a,o+=e<o?-a:a;return r}}},{\\\"array-bounds\\\":68,\\\"binary-search-bounds\\\":94,clamp:117,defined:165,dtype:170,\\\"flatten-vertex-data\\\":239,\\\"is-obj\\\":421,\\\"math-log2\\\":432,\\\"parse-rect\\\":457,\\\"pick-by-alias\\\":463}],469:[function(t,e,n){arguments[4][238][0].apply(n,arguments)},{dup:238}],470:[function(t,e,n){e.exports=function(t){for(var e=t.length,n=[],o=[],s=0;s<e;++s)for(var c=t[s],h=c.length,p=h-1,f=0;f<h;p=f++){var d=c[p],m=c[f];d[0]===m[0]?o.push([d,m]):n.push([d,m])}if(0===n.length)return 0===o.length?u:(v=l(o),function(t){return v(t[0],t[1])?0:1});var v,g=i(n),y=function(t,e){return function(n){var i=a.le(e,n[0]);if(i<0)return 1;var o=t[i];if(!o){if(!(i>0&&e[i]===n[0]))return 1;o=t[i-1]}for(var s=1;o;){var l=o.key,u=r(n,l[0],l[1]);if(l[0][0]<l[1][0])if(u<0)o=o.left;else{if(!(u>0))return 0;s=-1,o=o.right}else if(u>0)o=o.left;else{if(!(u<0))return 0;s=1,o=o.right}}return s}}(g.slabs,g.coordinates);return 0===o.length?y:function(t,e){return function(n){return t(n[0],n[1])?0:e(n)}}(l(o),y)};var r=t(\\\"robust-orientation\\\")[3],i=t(\\\"slab-decomposition\\\"),o=t(\\\"interval-tree-1d\\\"),a=t(\\\"binary-search-bounds\\\");function s(){return!0}function l(t){for(var e={},n=0;n<t.length;++n){var r=t[n],i=r[0][0],a=r[0][1],l=r[1][1],u=[Math.min(a,l),Math.max(a,l)];i in e?e[i].push(u):e[i]=[u]}var c={},h=Object.keys(e);for(n=0;n<h.length;++n){var p=e[h[n]];c[h[n]]=o(p)}return function(t){return function(e,n){var r=t[e];return!!r&&!!r.queryPoint(n,s)}}(c)}function u(t){return 1}},{\\\"binary-search-bounds\\\":469,\\\"interval-tree-1d\\\":413,\\\"robust-orientation\\\":500,\\\"slab-decomposition\\\":517}],471:[function(t,e,n){var r,i=t(\\\"./lib/build-log\\\"),o=t(\\\"./lib/epsilon\\\"),a=t(\\\"./lib/intersecter\\\"),s=t(\\\"./lib/segment-chainer\\\"),l=t(\\\"./lib/segment-selector\\\"),u=t(\\\"./lib/geojson\\\"),c=!1,h=o();function p(t,e,n){var i=r.segments(t),o=r.segments(e),a=n(r.combine(i,o));return r.polygon(a)}r={buildLog:function(t){return!0===t?c=i():!1===t&&(c=!1),!1!==c&&c.list},epsilon:function(t){return h.epsilon(t)},segments:function(t){var e=a(!0,h,c);return t.regions.forEach(e.addRegion),{segments:e.calculate(t.inverted),inverted:t.inverted}},combine:function(t,e){return{combined:a(!1,h,c).calculate(t.segments,t.inverted,e.segments,e.inverted),inverted1:t.inverted,inverted2:e.inverted}},selectUnion:function(t){return{segments:l.union(t.combined,c),inverted:t.inverted1||t.inverted2}},selectIntersect:function(t){return{segments:l.intersect(t.combined,c),inverted:t.inverted1&&t.inverted2}},selectDifference:function(t){return{segments:l.difference(t.combined,c),inverted:t.inverted1&&!t.inverted2}},selectDifferenceRev:function(t){return{segments:l.differenceRev(t.combined,c),inverted:!t.inverted1&&t.inverted2}},selectXor:function(t){return{segments:l.xor(t.combined,c),inverted:t.inverted1!==t.inverted2}},polygon:function(t){return{regions:s(t.segments,h,c),inverted:t.inverted}},polygonFromGeoJSON:function(t){return u.toPolygon(r,t)},polygonToGeoJSON:function(t){return u.fromPolygon(r,h,t)},union:function(t,e){return p(t,e,r.selectUnion)},intersect:function(t,e){return p(t,e,r.selectIntersect)},difference:function(t,e){return p(t,e,r.selectDifference)},differenceRev:function(t,e){return p(t,e,r.selectDifferenceRev)},xor:function(t,e){return p(t,e,r.selectXor)}},\\\"object\\\"==typeof window&&(window.PolyBool=r),e.exports=r},{\\\"./lib/build-log\\\":472,\\\"./lib/epsilon\\\":473,\\\"./lib/geojson\\\":474,\\\"./lib/intersecter\\\":475,\\\"./lib/segment-chainer\\\":477,\\\"./lib/segment-selector\\\":478}],472:[function(t,e,n){e.exports=function(){var t,e=0,n=!1;function r(e,n){return t.list.push({type:e,data:n?JSON.parse(JSON.stringify(n)):void 0}),t}return t={list:[],segmentId:function(){return e++},checkIntersection:function(t,e){return r(\\\"check\\\",{seg1:t,seg2:e})},segmentChop:function(t,e){return r(\\\"div_seg\\\",{seg:t,pt:e}),r(\\\"chop\\\",{seg:t,pt:e})},statusRemove:function(t){return r(\\\"pop_seg\\\",{seg:t})},segmentUpdate:function(t){return r(\\\"seg_update\\\",{seg:t})},segmentNew:function(t,e){return r(\\\"new_seg\\\",{seg:t,primary:e})},segmentRemove:function(t){return r(\\\"rem_seg\\\",{seg:t})},tempStatus:function(t,e,n){return r(\\\"temp_status\\\",{seg:t,above:e,below:n})},rewind:function(t){return r(\\\"rewind\\\",{seg:t})},status:function(t,e,n){return r(\\\"status\\\",{seg:t,above:e,below:n})},vert:function(e){return e===n?t:(n=e,r(\\\"vert\\\",{x:e}))},log:function(t){return\\\"string\\\"!=typeof t&&(t=JSON.stringify(t,!1,\\\" \\\")),r(\\\"log\\\",{txt:t})},reset:function(){return r(\\\"reset\\\")},selected:function(t){return r(\\\"selected\\\",{segs:t})},chainStart:function(t){return r(\\\"chain_start\\\",{seg:t})},chainRemoveHead:function(t,e){return r(\\\"chain_rem_head\\\",{index:t,pt:e})},chainRemoveTail:function(t,e){return r(\\\"chain_rem_tail\\\",{index:t,pt:e})},chainNew:function(t,e){return r(\\\"chain_new\\\",{pt1:t,pt2:e})},chainMatch:function(t){return r(\\\"chain_match\\\",{index:t})},chainClose:function(t){return r(\\\"chain_close\\\",{index:t})},chainAddHead:function(t,e){return r(\\\"chain_add_head\\\",{index:t,pt:e})},chainAddTail:function(t,e){return r(\\\"chain_add_tail\\\",{index:t,pt:e})},chainConnect:function(t,e){return r(\\\"chain_con\\\",{index1:t,index2:e})},chainReverse:function(t){return r(\\\"chain_rev\\\",{index:t})},chainJoin:function(t,e){return r(\\\"chain_join\\\",{index1:t,index2:e})},done:function(){return r(\\\"done\\\")}}}},{}],473:[function(t,e,n){e.exports=function(t){\\\"number\\\"!=typeof t&&(t=1e-10);var e={epsilon:function(e){return\\\"number\\\"==typeof e&&(t=e),t},pointAboveOrOnLine:function(e,n,r){var i=n[0],o=n[1],a=r[0],s=r[1],l=e[0];return(a-i)*(e[1]-o)-(s-o)*(l-i)>=-t},pointBetween:function(e,n,r){var i=e[1]-n[1],o=r[0]-n[0],a=e[0]-n[0],s=r[1]-n[1],l=a*o+i*s;return!(l<t||l-(o*o+s*s)>-t)},pointsSameX:function(e,n){return Math.abs(e[0]-n[0])<t},pointsSameY:function(e,n){return Math.abs(e[1]-n[1])<t},pointsSame:function(t,n){return e.pointsSameX(t,n)&&e.pointsSameY(t,n)},pointsCompare:function(t,n){return e.pointsSameX(t,n)?e.pointsSameY(t,n)?0:t[1]<n[1]?-1:1:t[0]<n[0]?-1:1},pointsCollinear:function(e,n,r){var i=e[0]-n[0],o=e[1]-n[1],a=n[0]-r[0],s=n[1]-r[1];return Math.abs(i*s-a*o)<t},linesIntersect:function(e,n,r,i){var o=n[0]-e[0],a=n[1]-e[1],s=i[0]-r[0],l=i[1]-r[1],u=o*l-a*s;if(Math.abs(u)<t)return!1;var c=e[0]-r[0],h=e[1]-r[1],p=(s*h-l*c)/u,f=(o*h-a*c)/u,d={alongA:0,alongB:0,pt:[e[0]+p*o,e[1]+p*a]};return d.alongA=p<=-t?-2:p<t?-1:p-1<=-t?0:p-1<t?1:2,d.alongB=f<=-t?-2:f<t?-1:f-1<=-t?0:f-1<t?1:2,d},pointInsideRegion:function(e,n){for(var r=e[0],i=e[1],o=n[n.length-1][0],a=n[n.length-1][1],s=!1,l=0;l<n.length;l++){var u=n[l][0],c=n[l][1];c-i>t!=a-i>t&&(o-u)*(i-c)/(a-c)+u-r>t&&(s=!s),o=u,a=c}return s}};return e}},{}],474:[function(t,e,n){var r={toPolygon:function(t,e){function n(e){if(e.length<=0)return t.segments({inverted:!1,regions:[]});function n(e){var n=e.slice(0,e.length-1);return t.segments({inverted:!1,regions:[n]})}for(var r=n(e[0]),i=1;i<e.length;i++)r=t.selectDifference(t.combine(r,n(e[i])));return r}if(\\\"Polygon\\\"===e.type)return t.polygon(n(e.coordinates));if(\\\"MultiPolygon\\\"===e.type){for(var r=t.segments({inverted:!1,regions:[]}),i=0;i<e.coordinates.length;i++)r=t.selectUnion(t.combine(r,n(e.coordinates[i])));return t.polygon(r)}throw new Error(\\\"PolyBool: Cannot convert GeoJSON object to PolyBool polygon\\\")},fromPolygon:function(t,e,n){function r(t,n){return e.pointInsideRegion([.5*(t[0][0]+t[1][0]),.5*(t[0][1]+t[1][1])],n)}function i(t){return{region:t,children:[]}}n=t.polygon(t.segments(n));var o=i(null);function a(t,e){for(var n=0;n<t.children.length;n++)if(r(e,(s=t.children[n]).region))return void a(s,e);var o=i(e);for(n=0;n<t.children.length;n++){var s;r((s=t.children[n]).region,e)&&(o.children.push(s),t.children.splice(n,1),n--)}t.children.push(o)}for(var s=0;s<n.regions.length;s++){var l=n.regions[s];l.length<3||a(o,l)}function u(t,e){for(var n=0,r=t[t.length-1][0],i=t[t.length-1][1],o=[],a=0;a<t.length;a++){var s=t[a][0],l=t[a][1];o.push([s,l]),n+=l*r-s*i,r=s,i=l}return n<0!==e&&o.reverse(),o.push([o[0][0],o[0][1]]),o}var c=[];function h(t){var e=[u(t.region,!1)];c.push(e);for(var n=0;n<t.children.length;n++)e.push(p(t.children[n]))}function p(t){for(var e=0;e<t.children.length;e++)h(t.children[e]);return u(t.region,!0)}for(s=0;s<o.children.length;s++)h(o.children[s]);return c.length<=0?{type:\\\"Polygon\\\",coordinates:[]}:1==c.length?{type:\\\"Polygon\\\",coordinates:c[0]}:{type:\\\"MultiPolygon\\\",coordinates:c}}};e.exports=r},{}],475:[function(t,e,n){var r=t(\\\"./linked-list\\\");e.exports=function(t,e,n){function i(t,e,r){return{id:n?n.segmentId():-1,start:t,end:e,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var o=r.create();function a(t,n){o.insertBefore(t,(function(r){return i=t.isStart,o=t.pt,a=n,s=r.isStart,l=r.pt,u=r.other.pt,(0!==(c=e.pointsCompare(o,l))?c:e.pointsSame(a,u)?0:i!==s?i?1:-1:e.pointAboveOrOnLine(a,s?l:u,s?u:l)?1:-1)<0;var i,o,a,s,l,u,c}))}function s(t,e){var n=function(t,e){var n=r.node({isStart:!0,pt:t.start,seg:t,primary:e,other:null,status:null});return a(n,t.end),n}(t,e);return function(t,e,n){var i=r.node({isStart:!1,pt:e.end,seg:e,primary:n,other:t,status:null});t.other=i,a(i,t.pt)}(n,t,e),n}function l(t,e){var r=i(e,t.seg.end,t.seg);return function(t,e){n&&n.segmentChop(t.seg,e),t.other.remove(),t.seg.end=e,t.other.pt=e,a(t.other,t.pt)}(t,e),s(r,t.primary)}function u(i,a){var s=r.create();function u(t){return s.findTransition((function(n){return r=t,i=n.ev,o=r.seg.start,a=r.seg.end,s=i.seg.start,l=i.seg.end,(e.pointsCollinear(o,s,l)?e.pointsCollinear(a,s,l)||e.pointAboveOrOnLine(a,s,l)?1:-1:e.pointAboveOrOnLine(o,s,l)?1:-1)>0;var r,i,o,a,s,l}))}function c(t,r){var i=t.seg,o=r.seg,a=i.start,s=i.end,u=o.start,c=o.end;n&&n.checkIntersection(i,o);var h=e.linesIntersect(a,s,u,c);if(!1===h){if(!e.pointsCollinear(a,s,u))return!1;if(e.pointsSame(a,c)||e.pointsSame(s,u))return!1;var p=e.pointsSame(a,u),f=e.pointsSame(s,c);if(p&&f)return r;var d=!p&&e.pointBetween(a,u,c),m=!f&&e.pointBetween(s,u,c);if(p)return m?l(r,s):l(t,c),r;d&&(f||(m?l(r,s):l(t,c)),l(r,a))}else 0===h.alongA&&(-1===h.alongB?l(t,u):0===h.alongB?l(t,h.pt):1===h.alongB&&l(t,c)),0===h.alongB&&(-1===h.alongA?l(r,a):0===h.alongA?l(r,h.pt):1===h.alongA&&l(r,s));return!1}for(var h=[];!o.isEmpty();){var p=o.getHead();if(n&&n.vert(p.pt[0]),p.isStart){n&&n.segmentNew(p.seg,p.primary);var f=u(p),d=f.before?f.before.ev:null,m=f.after?f.after.ev:null;function v(){if(d){var t=c(p,d);if(t)return t}return!!m&&c(p,m)}n&&n.tempStatus(p.seg,!!d&&d.seg,!!m&&m.seg);var g,y,_=v();if(_&&(t?(y=null===p.seg.myFill.below||p.seg.myFill.above!==p.seg.myFill.below)&&(_.seg.myFill.above=!_.seg.myFill.above):_.seg.otherFill=p.seg.myFill,n&&n.segmentUpdate(_.seg),p.other.remove(),p.remove()),o.getHead()!==p){n&&n.rewind(p.seg);continue}t?(y=null===p.seg.myFill.below||p.seg.myFill.above!==p.seg.myFill.below,p.seg.myFill.below=m?m.seg.myFill.above:i,p.seg.myFill.above=y?!p.seg.myFill.below:p.seg.myFill.below):null===p.seg.otherFill&&(g=m?p.primary===m.primary?m.seg.otherFill.above:m.seg.myFill.above:p.primary?a:i,p.seg.otherFill={above:g,below:g}),n&&n.status(p.seg,!!d&&d.seg,!!m&&m.seg),p.other.status=f.insert(r.node({ev:p}))}else{var b=p.status;if(null===b)throw new Error(\\\"PolyBool: Zero-length segment detected; your epsilon is probably too small or too large\\\");if(s.exists(b.prev)&&s.exists(b.next)&&c(b.prev.ev,b.next.ev),n&&n.statusRemove(b.ev.seg),b.remove(),!p.primary){var x=p.seg.myFill;p.seg.myFill=p.seg.otherFill,p.seg.otherFill=x}h.push(p.seg)}o.getHead().remove()}return n&&n.done(),h}return t?{addRegion:function(t){for(var r,i=t[t.length-1],o=0;o<t.length;o++){r=i,i=t[o];var a=e.pointsCompare(r,i);0!==a&&s((l=a<0?r:i,u=a<0?i:r,{id:n?n.segmentId():-1,start:l,end:u,myFill:{above:null,below:null},otherFill:null}),!0)}var l,u},calculate:function(t){return u(t,!1)}}:{calculate:function(t,e,n,r){return t.forEach((function(t){s(i(t.start,t.end,t),!0)})),n.forEach((function(t){s(i(t.start,t.end,t),!1)})),u(e,r)}}}},{\\\"./linked-list\\\":476}],476:[function(t,e,n){e.exports={create:function(){var t={root:{root:!0,next:null},exists:function(e){return null!==e&&e!==t.root},isEmpty:function(){return null===t.root.next},getHead:function(){return t.root.next},insertBefore:function(e,n){for(var r=t.root,i=t.root.next;null!==i;){if(n(i))return e.prev=i.prev,e.next=i,i.prev.next=e,void(i.prev=e);r=i,i=i.next}r.next=e,e.prev=r,e.next=null},findTransition:function(e){for(var n=t.root,r=t.root.next;null!==r&&!e(r);)n=r,r=r.next;return{before:n===t.root?null:n,after:r,insert:function(t){return t.prev=n,t.next=r,n.next=t,null!==r&&(r.prev=t),t}}}};return t},node:function(t){return t.prev=null,t.next=null,t.remove=function(){t.prev.next=t.next,t.next&&(t.next.prev=t.prev),t.prev=null,t.next=null},t}}},{}],477:[function(t,e,n){e.exports=function(t,e,n){var r=[],i=[];return t.forEach((function(t){var o=t.start,a=t.end;if(e.pointsSame(o,a))console.warn(\\\"PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large\\\");else{n&&n.chainStart(t);for(var s={index:0,matches_head:!1,matches_pt1:!1},l={index:0,matches_head:!1,matches_pt1:!1},u=s,c=0;c<r.length;c++){var h=(v=r[c])[0],p=(v[1],v[v.length-1]);if(v[v.length-2],e.pointsSame(h,o)){if(C(c,!0,!0))break}else if(e.pointsSame(h,a)){if(C(c,!0,!1))break}else if(e.pointsSame(p,o)){if(C(c,!1,!0))break}else if(e.pointsSame(p,a)&&C(c,!1,!1))break}if(u===s)return r.push([o,a]),void(n&&n.chainNew(o,a));if(u===l){n&&n.chainMatch(s.index);var f=s.index,d=s.matches_pt1?a:o,m=s.matches_head,v=r[f],g=m?v[0]:v[v.length-1],y=m?v[1]:v[v.length-2],_=m?v[v.length-1]:v[0],b=m?v[v.length-2]:v[1];return e.pointsCollinear(y,g,d)&&(m?(n&&n.chainRemoveHead(s.index,d),v.shift()):(n&&n.chainRemoveTail(s.index,d),v.pop()),g=y),e.pointsSame(_,d)?(r.splice(f,1),e.pointsCollinear(b,_,g)&&(m?(n&&n.chainRemoveTail(s.index,g),v.pop()):(n&&n.chainRemoveHead(s.index,g),v.shift())),n&&n.chainClose(s.index),void i.push(v)):void(m?(n&&n.chainAddHead(s.index,d),v.unshift(d)):(n&&n.chainAddTail(s.index,d),v.push(d)))}var x=s.index,w=l.index;n&&n.chainConnect(x,w);var A=r[x].length<r[w].length;s.matches_head?l.matches_head?A?(M(x),E(x,w)):(M(w),E(w,x)):E(w,x):l.matches_head?E(x,w):A?(M(x),E(w,x)):(M(w),E(x,w))}function C(t,e,n){return u.index=t,u.matches_head=e,u.matches_pt1=n,u===s?(u=l,!1):(u=null,!0)}function M(t){n&&n.chainReverse(t),r[t].reverse()}function E(t,i){var o=r[t],a=r[i],s=o[o.length-1],l=o[o.length-2],u=a[0],c=a[1];e.pointsCollinear(l,s,u)&&(n&&n.chainRemoveTail(t,s),o.pop(),s=l),e.pointsCollinear(s,u,c)&&(n&&n.chainRemoveHead(i,u),a.shift()),n&&n.chainJoin(t,i),r[t]=o.concat(a),r.splice(i,1)}})),i}},{}],478:[function(t,e,n){function r(t,e,n){var r=[];return t.forEach((function(t){var i=(t.myFill.above?8:0)+(t.myFill.below?4:0)+(t.otherFill&&t.otherFill.above?2:0)+(t.otherFill&&t.otherFill.below?1:0);0!==e[i]&&r.push({id:n?n.segmentId():-1,start:t.start,end:t.end,myFill:{above:1===e[i],below:2===e[i]},otherFill:null})})),n&&n.selected(r),r}var i={union:function(t,e){return r(t,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],e)},intersect:function(t,e){return r(t,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],e)},difference:function(t,e){return r(t,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],e)},differenceRev:function(t,e){return r(t,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],e)},xor:function(t,e){return r(t,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],e)}};e.exports=i},{}],479:[function(t,e,n){\\\"use strict\\\";var r=new Float64Array(4),i=new Float64Array(4),o=new Float64Array(4);e.exports=function(t,e,n,a,s){r.length<a.length&&(r=new Float64Array(a.length),i=new Float64Array(a.length),o=new Float64Array(a.length));for(var l=0;l<a.length;++l)r[l]=t[l]-a[l],i[l]=e[l]-t[l],o[l]=n[l]-t[l];var u=0,c=0,h=0,p=0,f=0,d=0;for(l=0;l<a.length;++l){var m=i[l],v=o[l],g=r[l];u+=m*m,c+=m*v,h+=v*v,p+=g*m,f+=g*v,d+=g*g}var y,_,b,x,w,A=Math.abs(u*h-c*c),C=c*f-h*p,M=c*p-u*f;if(C+M<=A)if(C<0)M<0&&p<0?(M=0,-p>=u?(C=1,y=u+2*p+d):y=p*(C=-p/u)+d):(C=0,f>=0?(M=0,y=d):-f>=h?(M=1,y=h+2*f+d):y=f*(M=-f/h)+d);else if(M<0)M=0,p>=0?(C=0,y=d):-p>=u?(C=1,y=u+2*p+d):y=p*(C=-p/u)+d;else{var E=1/A;y=(C*=E)*(u*C+c*(M*=E)+2*p)+M*(c*C+h*M+2*f)+d}else C<0?(b=h+f)>(_=c+p)?(x=b-_)>=(w=u-2*c+h)?(C=1,M=0,y=u+2*p+d):y=(C=x/w)*(u*C+c*(M=1-C)+2*p)+M*(c*C+h*M+2*f)+d:(C=0,b<=0?(M=1,y=h+2*f+d):f>=0?(M=0,y=d):y=f*(M=-f/h)+d):M<0?(b=u+p)>(_=c+f)?(x=b-_)>=(w=u-2*c+h)?(M=1,C=0,y=h+2*f+d):y=(C=1-(M=x/w))*(u*C+c*M+2*p)+M*(c*C+h*M+2*f)+d:(M=0,b<=0?(C=1,y=u+2*p+d):p>=0?(C=0,y=d):y=p*(C=-p/u)+d):(x=h+f-c-p)<=0?(C=0,M=1,y=h+2*f+d):x>=(w=u-2*c+h)?(C=1,M=0,y=u+2*p+d):y=(C=x/w)*(u*C+c*(M=1-C)+2*p)+M*(c*C+h*M+2*f)+d;var T=1-C-M;for(l=0;l<a.length;++l)s[l]=T*t[l]+C*e[l]+M*n[l];return y<0?0:y}},{}],480:[function(t,e,n){var r,i,o=e.exports={};function a(){throw new Error(\\\"setTimeout has not been defined\\\")}function s(){throw new Error(\\\"clearTimeout has not been defined\\\")}function l(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r=\\\"function\\\"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{i=\\\"function\\\"==typeof clearTimeout?clearTimeout:s}catch(t){i=s}}();var u,c=[],h=!1,p=-1;function f(){h&&u&&(h=!1,u.length?c=u.concat(c):p=-1,c.length&&d())}function d(){if(!h){var t=l(f);h=!0;for(var e=c.length;e;){for(u=c,c=[];++p<e;)u&&u[p].run();p=-1,e=c.length}u=null,h=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new m(t,e)),1!==c.length||h||l(d)},m.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=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error(\\\"process.binding is not supported\\\")},o.cwd=function(){return\\\"/\\\"},o.chdir=function(t){throw new Error(\\\"process.chdir is not supported\\\")},o.umask=function(){return 0}},{}],481:[function(t,e,n){e.exports=t(\\\"gl-quat/slerp\\\")},{\\\"gl-quat/slerp\\\":299}],482:[function(t,e,r){(function(n){for(var r=t(\\\"performance-now\\\"),i=\\\"undefined\\\"==typeof window?n:window,o=[\\\"moz\\\",\\\"webkit\\\"],a=\\\"AnimationFrame\\\",s=i[\\\"request\\\"+a],l=i[\\\"cancel\\\"+a]||i[\\\"cancelRequest\\\"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+\\\"Request\\\"+a],l=i[o[u]+\\\"Cancel\\\"+a]||i[o[u]+\\\"CancelRequest\\\"+a];if(!s||!l){var c=0,h=0,p=[];s=function(t){if(0===p.length){var e=r(),n=Math.max(0,16.666666666666668-(e-c));c=n+e,setTimeout((function(){var t=p.slice(0);p.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(c)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(n))}return p.push({handle:++h,callback:t,cancelled:!1}),h},l=function(t){for(var e=0;e<p.length;e++)p[e].handle===t&&(p[e].cancelled=!0)}}e.exports=function(t){return s.call(i,t)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=s,t.cancelAnimationFrame=l}}).call(this,void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{\\\"performance-now\\\":460}],483:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"big-rat/add\\\");e.exports=function(t,e){for(var n=t.length,i=new Array(n),o=0;o<n;++o)i[o]=r(t[o],e[o]);return i}},{\\\"big-rat/add\\\":78}],484:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=new Array(t.length),n=0;n<t.length;++n)e[n]=r(t[n]);return e};var r=t(\\\"big-rat\\\")},{\\\"big-rat\\\":81}],485:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"big-rat\\\"),i=t(\\\"big-rat/mul\\\");e.exports=function(t,e){for(var n=r(e),o=t.length,a=new Array(o),s=0;s<o;++s)a[s]=i(t[s],n);return a}},{\\\"big-rat\\\":81,\\\"big-rat/mul\\\":90}],486:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"big-rat/sub\\\");e.exports=function(t,e){for(var n=t.length,i=new Array(n),o=0;o<n;++o)i[o]=r(t[o],e[o]);return i}},{\\\"big-rat/sub\\\":92}],487:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"compare-cell\\\"),i=t(\\\"compare-oriented-cell\\\"),o=t(\\\"cell-orientation\\\");e.exports=function(t){t.sort(i);for(var e=t.length,n=0,a=0;a<e;++a){var s=t[a],l=o(s);if(0!==l){if(n>0){var u=t[n-1];if(0===r(s,u)&&o(u)!==l){n-=1;continue}}t[n++]=s}}return t.length=n,t}},{\\\"cell-orientation\\\":114,\\\"compare-cell\\\":130,\\\"compare-oriented-cell\\\":131}],488:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"array-bounds\\\"),i=t(\\\"color-normalize\\\"),o=t(\\\"update-diff\\\"),a=t(\\\"pick-by-alias\\\"),s=t(\\\"object-assign\\\"),l=t(\\\"flatten-vertex-data\\\"),u=t(\\\"to-float32\\\"),c=u.float32,h=u.fract32;e.exports=function(t,e){if(\\\"function\\\"==typeof t?(e||(e={}),e.regl=t):e=t,e.length&&(e.positions=e),!(t=e.regl).hasExtension(\\\"ANGLE_instanced_arrays\\\"))throw Error(\\\"regl-error2d: `ANGLE_instanced_arrays` extension should be enabled\\\");var n,u,f,d,m,v,g=t._gl,y={color:\\\"black\\\",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},_=[];return d=t.buffer({usage:\\\"dynamic\\\",type:\\\"uint8\\\",data:new Uint8Array(0)}),u=t.buffer({usage:\\\"dynamic\\\",type:\\\"float\\\",data:new Uint8Array(0)}),f=t.buffer({usage:\\\"dynamic\\\",type:\\\"float\\\",data:new Uint8Array(0)}),m=t.buffer({usage:\\\"dynamic\\\",type:\\\"float\\\",data:new Uint8Array(0)}),v=t.buffer({usage:\\\"static\\\",type:\\\"float\\\",data:p}),A(e),n=t({vert:\\\"\\\\n\\\\t\\\\tprecision highp float;\\\\n\\\\n\\\\t\\\\tattribute vec2 position, positionFract;\\\\n\\\\t\\\\tattribute vec4 error;\\\\n\\\\t\\\\tattribute vec4 color;\\\\n\\\\n\\\\t\\\\tattribute vec2 direction, lineOffset, capOffset;\\\\n\\\\n\\\\t\\\\tuniform vec4 viewport;\\\\n\\\\t\\\\tuniform float lineWidth, capSize;\\\\n\\\\t\\\\tuniform vec2 scale, scaleFract, translate, translateFract;\\\\n\\\\n\\\\t\\\\tvarying vec4 fragColor;\\\\n\\\\n\\\\t\\\\tvoid main() {\\\\n\\\\t\\\\t\\\\tfragColor = color / 255.;\\\\n\\\\n\\\\t\\\\t\\\\tvec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;\\\\n\\\\n\\\\t\\\\t\\\\tvec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;\\\\n\\\\n\\\\t\\\\t\\\\tvec2 position = position + dxy;\\\\n\\\\n\\\\t\\\\t\\\\tvec2 pos = (position + translate) * scale\\\\n\\\\t\\\\t\\\\t\\\\t+ (positionFract + translateFract) * scale\\\\n\\\\t\\\\t\\\\t\\\\t+ (position + translate) * scaleFract\\\\n\\\\t\\\\t\\\\t\\\\t+ (positionFract + translateFract) * scaleFract;\\\\n\\\\n\\\\t\\\\t\\\\tpos += pixelOffset / viewport.zw;\\\\n\\\\n\\\\t\\\\t\\\\tgl_Position = vec4(pos * 2. - 1., 0, 1);\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t\\\",frag:\\\"\\\\n\\\\t\\\\tprecision highp float;\\\\n\\\\n\\\\t\\\\tvarying vec4 fragColor;\\\\n\\\\n\\\\t\\\\tuniform float opacity;\\\\n\\\\n\\\\t\\\\tvoid main() {\\\\n\\\\t\\\\t\\\\tgl_FragColor = fragColor;\\\\n\\\\t\\\\t\\\\tgl_FragColor.a *= opacity;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t\\\",uniforms:{range:t.prop(\\\"range\\\"),lineWidth:t.prop(\\\"lineWidth\\\"),capSize:t.prop(\\\"capSize\\\"),opacity:t.prop(\\\"opacity\\\"),scale:t.prop(\\\"scale\\\"),translate:t.prop(\\\"translate\\\"),scaleFract:t.prop(\\\"scaleFract\\\"),translateFract:t.prop(\\\"translateFract\\\"),viewport:function(t,e){return[e.viewport.x,e.viewport.y,t.viewportWidth,t.viewportHeight]}},attributes:{color:{buffer:d,offset:function(t,e){return 4*e.offset},divisor:1},position:{buffer:u,offset:function(t,e){return 8*e.offset},divisor:1},positionFract:{buffer:f,offset:function(t,e){return 8*e.offset},divisor:1},error:{buffer:m,offset:function(t,e){return 16*e.offset},divisor:1},direction:{buffer:v,stride:24,offset:0},lineOffset:{buffer:v,stride:24,offset:8},capOffset:{buffer:v,stride:24,offset:16}},primitive:\\\"triangles\\\",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:\\\"add\\\",alpha:\\\"add\\\"},func:{srcRGB:\\\"src alpha\\\",dstRGB:\\\"one minus src alpha\\\",srcAlpha:\\\"one minus dst alpha\\\",dstAlpha:\\\"one\\\"}},depth:{enable:!1},scissor:{enable:!0,box:t.prop(\\\"viewport\\\")},viewport:t.prop(\\\"viewport\\\"),stencil:!1,instances:t.prop(\\\"count\\\"),count:p.length}),s(b,{update:A,draw:x,destroy:C,regl:t,gl:g,canvas:g.canvas,groups:_}),b;function b(t){t?A(t):null===t&&C(),x()}function x(e){if(\\\"number\\\"==typeof e)return w(e);e&&!Array.isArray(e)&&(e=[e]),t._refresh(),_.forEach((function(t,n){t&&(e&&(e[n]?t.draw=!0:t.draw=!1),t.draw?w(n):t.draw=!0)}))}function w(t){\\\"number\\\"==typeof t&&(t=_[t]),null!=t&&t&&t.count&&t.color&&t.opacity&&t.positions&&t.positions.length>1&&(t.scaleRatio=[t.scale[0]*t.viewport.width,t.scale[1]*t.viewport.height],n(t),t.after&&t.after(t))}function A(t){if(t){null!=t.length?\\\"number\\\"==typeof t[0]&&(t=[{positions:t}]):Array.isArray(t)||(t=[t]);var e=0,n=0;if(b.groups=_=t.map((function(t,u){var c=_[u];return t?(\\\"function\\\"==typeof t?t={after:t}:\\\"number\\\"==typeof t[0]&&(t={positions:t}),t=a(t,{color:\\\"color colors fill\\\",capSize:\\\"capSize cap capsize cap-size\\\",lineWidth:\\\"lineWidth line-width width line thickness\\\",opacity:\\\"opacity alpha\\\",range:\\\"range dataBox\\\",viewport:\\\"viewport viewBox\\\",errors:\\\"errors error\\\",positions:\\\"positions position data points\\\"}),c||(_[u]=c={id:u,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},t=s({},y,t)),o(c,t,[{lineWidth:function(t){return.5*+t},capSize:function(t){return.5*+t},opacity:parseFloat,errors:function(t){return t=l(t),n+=t.length,t},positions:function(t,n){return t=l(t,\\\"float64\\\"),n.count=Math.floor(t.length/2),n.bounds=r(t,2),n.offset=e,e+=n.count,t}},{color:function(t,e){var n=e.count;if(t||(t=\\\"transparent\\\"),!Array.isArray(t)||\\\"number\\\"==typeof t[0]){var r=t;t=Array(n);for(var o=0;o<n;o++)t[o]=r}if(t.length<n)throw Error(\\\"Not enough colors\\\");for(var a=new Uint8Array(4*n),s=0;s<n;s++){var l=i(t[s],\\\"uint8\\\");a.set(l,4*s)}return a},range:function(t,e,n){var r=e.bounds;return t||(t=r),e.scale=[1/(t[2]-t[0]),1/(t[3]-t[1])],e.translate=[-t[0],-t[1]],e.scaleFract=h(e.scale),e.translateFract=h(e.translate),t},viewport:function(t){var e;return Array.isArray(t)?e={x:t[0],y:t[1],width:t[2]-t[0],height:t[3]-t[1]}:t?(e={x:t.x||t.left||0,y:t.y||t.top||0},t.right?e.width=t.right-e.x:e.width=t.w||t.width||0,t.bottom?e.height=t.bottom-e.y:e.height=t.h||t.height||0):e={x:0,y:0,width:g.drawingBufferWidth,height:g.drawingBufferHeight},e}}]),c):c})),e||n){var p=_.reduce((function(t,e,n){return t+(e?e.count:0)}),0),v=new Float64Array(2*p),x=new Uint8Array(4*p),w=new Float32Array(4*p);_.forEach((function(t,e){if(t){var n=t.positions,r=t.count,i=t.offset,o=t.color,a=t.errors;r&&(x.set(o,4*i),w.set(a,4*i),v.set(n,2*i))}})),u(c(v)),f(h(v)),d(x),m(w)}}}function C(){u.destroy(),f.destroy(),d.destroy(),m.destroy(),v.destroy()}};var p=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]]},{\\\"array-bounds\\\":68,\\\"color-normalize\\\":122,\\\"flatten-vertex-data\\\":239,\\\"object-assign\\\":452,\\\"pick-by-alias\\\":463,\\\"to-float32\\\":529,\\\"update-diff\\\":551}],489:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"color-normalize\\\"),i=t(\\\"array-bounds\\\"),o=t(\\\"object-assign\\\"),a=t(\\\"glslify\\\"),s=t(\\\"pick-by-alias\\\"),l=t(\\\"flatten-vertex-data\\\"),u=t(\\\"earcut\\\"),c=t(\\\"array-normalize\\\"),h=t(\\\"to-float32\\\"),p=h.float32,f=h.fract32,d=t(\\\"es6-weak-map\\\"),m=t(\\\"parse-rect\\\");function v(t,e){if(!(this instanceof v))return new v(t,e);if(\\\"function\\\"==typeof t?(e||(e={}),e.regl=t):e=t,e.length&&(e.positions=e),!(t=e.regl).hasExtension(\\\"ANGLE_instanced_arrays\\\"))throw Error(\\\"regl-error2d: `ANGLE_instanced_arrays` extension should be enabled\\\");this.gl=t._gl,this.regl=t,this.passes=[],this.shaders=v.shaders.has(t)?v.shaders.get(t):v.shaders.set(t,v.createShaders(t)).get(t),this.update(e)}e.exports=v,v.dashMult=2,v.maxPatternLength=256,v.precisionThreshold=3e6,v.maxPoints=1e4,v.maxLines=2048,v.shaders=new d,v.createShaders=function(t){var e,n=t.buffer({usage:\\\"static\\\",type:\\\"float\\\",data:[0,1,0,0,1,1,1,0]}),r={primitive:\\\"triangle strip\\\",instances:t.prop(\\\"count\\\"),count:4,offset:0,uniforms:{miterMode:function(t,e){return\\\"round\\\"===e.join?2:1},miterLimit:t.prop(\\\"miterLimit\\\"),scale:t.prop(\\\"scale\\\"),scaleFract:t.prop(\\\"scaleFract\\\"),translateFract:t.prop(\\\"translateFract\\\"),translate:t.prop(\\\"translate\\\"),thickness:t.prop(\\\"thickness\\\"),dashPattern:t.prop(\\\"dashTexture\\\"),opacity:t.prop(\\\"opacity\\\"),pixelRatio:t.context(\\\"pixelRatio\\\"),id:t.prop(\\\"id\\\"),dashSize:t.prop(\\\"dashLength\\\"),viewport:function(t,e){return[e.viewport.x,e.viewport.y,t.viewportWidth,t.viewportHeight]},depth:t.prop(\\\"depth\\\")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:\\\"add\\\",alpha:\\\"add\\\"},func:{srcRGB:\\\"src alpha\\\",dstRGB:\\\"one minus src alpha\\\",srcAlpha:\\\"one minus dst alpha\\\",dstAlpha:\\\"one\\\"}},depth:{enable:function(t,e){return!e.overlay}},stencil:{enable:!1},scissor:{enable:!0,box:t.prop(\\\"viewport\\\")},viewport:t.prop(\\\"viewport\\\")},i=t(o({vert:a([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 aCoord, bCoord, aCoordFract, bCoordFract;\\\\nattribute vec4 color;\\\\nattribute float lineEnd, lineTop;\\\\n\\\\nuniform vec2 scale, scaleFract, translate, translateFract;\\\\nuniform float thickness, pixelRatio, id, depth;\\\\nuniform vec4 viewport;\\\\n\\\\nvarying vec4 fragColor;\\\\nvarying vec2 tangent;\\\\n\\\\nvec2 project(vec2 position, vec2 positionFract, vec2 scale, vec2 scaleFract, vec2 translate, vec2 translateFract) {\\\\n\\\\t// the order is important\\\\n\\\\treturn position * scale + translate\\\\n + positionFract * scale + translateFract\\\\n + position * scaleFract\\\\n + positionFract * scaleFract;\\\\n}\\\\n\\\\nvoid main() {\\\\n\\\\tfloat lineStart = 1. - lineEnd;\\\\n\\\\tfloat lineOffset = lineTop * 2. - 1.;\\\\n\\\\n\\\\tvec2 diff = (bCoord + bCoordFract - aCoord - aCoordFract);\\\\n\\\\ttangent = normalize(diff * scale * viewport.zw);\\\\n\\\\tvec2 normal = vec2(-tangent.y, tangent.x);\\\\n\\\\n\\\\tvec2 position = project(aCoord, aCoordFract, scale, scaleFract, translate, translateFract) * lineStart\\\\n\\\\t\\\\t+ project(bCoord, bCoordFract, scale, scaleFract, translate, translateFract) * lineEnd\\\\n\\\\n\\\\t\\\\t+ thickness * normal * .5 * lineOffset / viewport.zw;\\\\n\\\\n\\\\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\\\\n\\\\n\\\\tfragColor = color / 255.;\\\\n}\\\\n\\\"]),frag:a([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform sampler2D dashPattern;\\\\n\\\\nuniform float dashSize, pixelRatio, thickness, opacity, id;\\\\n\\\\nvarying vec4 fragColor;\\\\nvarying vec2 tangent;\\\\n\\\\nvoid main() {\\\\n\\\\tfloat alpha = 1.;\\\\n\\\\n\\\\tfloat t = fract(dot(tangent, gl_FragCoord.xy) / dashSize) * .5 + .25;\\\\n\\\\tfloat dash = texture2D(dashPattern, vec2(t, .5)).r;\\\\n\\\\n\\\\tgl_FragColor = fragColor;\\\\n\\\\tgl_FragColor.a *= alpha * opacity * dash;\\\\n}\\\\n\\\"]),attributes:{lineEnd:{buffer:n,divisor:0,stride:8,offset:0},lineTop:{buffer:n,divisor:0,stride:8,offset:4},aCoord:{buffer:t.prop(\\\"positionBuffer\\\"),stride:8,offset:8,divisor:1},bCoord:{buffer:t.prop(\\\"positionBuffer\\\"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:t.prop(\\\"positionFractBuffer\\\"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:t.prop(\\\"positionFractBuffer\\\"),stride:8,offset:16,divisor:1},color:{buffer:t.prop(\\\"colorBuffer\\\"),stride:4,offset:0,divisor:1}}},r));try{e=t(o({cull:{enable:!0,face:\\\"back\\\"},vert:a([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 aCoord, bCoord, nextCoord, prevCoord;\\\\nattribute vec4 aColor, bColor;\\\\nattribute float lineEnd, lineTop;\\\\n\\\\nuniform vec2 scale, translate;\\\\nuniform float thickness, pixelRatio, id, depth;\\\\nuniform vec4 viewport;\\\\nuniform float miterLimit, miterMode;\\\\n\\\\nvarying vec4 fragColor;\\\\nvarying vec4 startCutoff, endCutoff;\\\\nvarying vec2 tangent;\\\\nvarying vec2 startCoord, endCoord;\\\\nvarying float enableStartMiter, enableEndMiter;\\\\n\\\\nconst float REVERSE_THRESHOLD = -.875;\\\\nconst float MIN_DIFF = 1e-6;\\\\n\\\\n// TODO: possible optimizations: avoid overcalculating all for vertices and calc just one instead\\\\n// TODO: precalculate dot products, normalize things beforehead etc.\\\\n// TODO: refactor to rectangular algorithm\\\\n\\\\nfloat distToLine(vec2 p, vec2 a, vec2 b) {\\\\n\\\\tvec2 diff = b - a;\\\\n\\\\tvec2 perp = normalize(vec2(-diff.y, diff.x));\\\\n\\\\treturn dot(p - a, perp);\\\\n}\\\\n\\\\nbool isNaN( float val ){\\\\n return ( val < 0.0 || 0.0 < val || val == 0.0 ) ? false : true;\\\\n}\\\\n\\\\nvoid main() {\\\\n\\\\tvec2 aCoord = aCoord, bCoord = bCoord, prevCoord = prevCoord, nextCoord = nextCoord;\\\\n\\\\n vec2 adjustedScale;\\\\n adjustedScale.x = (abs(scale.x) < MIN_DIFF) ? MIN_DIFF : scale.x;\\\\n adjustedScale.y = (abs(scale.y) < MIN_DIFF) ? MIN_DIFF : scale.y;\\\\n\\\\n vec2 scaleRatio = adjustedScale * viewport.zw;\\\\n\\\\tvec2 normalWidth = thickness / scaleRatio;\\\\n\\\\n\\\\tfloat lineStart = 1. - lineEnd;\\\\n\\\\tfloat lineBot = 1. - lineTop;\\\\n\\\\n\\\\tfragColor = (lineStart * aColor + lineEnd * bColor) / 255.;\\\\n\\\\n\\\\tif (isNaN(aCoord.x) || isNaN(aCoord.y) || isNaN(bCoord.x) || isNaN(bCoord.y)) return;\\\\n\\\\n\\\\tif (aCoord == prevCoord) prevCoord = aCoord + normalize(bCoord - aCoord);\\\\n\\\\tif (bCoord == nextCoord) nextCoord = bCoord - normalize(bCoord - aCoord);\\\\n\\\\n\\\\tvec2 prevDiff = aCoord - prevCoord;\\\\n\\\\tvec2 currDiff = bCoord - aCoord;\\\\n\\\\tvec2 nextDiff = nextCoord - bCoord;\\\\n\\\\n\\\\tvec2 prevTangent = normalize(prevDiff * scaleRatio);\\\\n\\\\tvec2 currTangent = normalize(currDiff * scaleRatio);\\\\n\\\\tvec2 nextTangent = normalize(nextDiff * scaleRatio);\\\\n\\\\n\\\\tvec2 prevNormal = vec2(-prevTangent.y, prevTangent.x);\\\\n\\\\tvec2 currNormal = vec2(-currTangent.y, currTangent.x);\\\\n\\\\tvec2 nextNormal = vec2(-nextTangent.y, nextTangent.x);\\\\n\\\\n\\\\tvec2 startJoinDirection = normalize(prevTangent - currTangent);\\\\n\\\\tvec2 endJoinDirection = normalize(currTangent - nextTangent);\\\\n\\\\n\\\\t// collapsed/unidirectional segment cases\\\\n\\\\t// FIXME: there should be more elegant solution\\\\n\\\\tvec2 prevTanDiff = abs(prevTangent - currTangent);\\\\n\\\\tvec2 nextTanDiff = abs(nextTangent - currTangent);\\\\n\\\\tif (max(prevTanDiff.x, prevTanDiff.y) < MIN_DIFF) {\\\\n\\\\t\\\\tstartJoinDirection = currNormal;\\\\n\\\\t}\\\\n\\\\tif (max(nextTanDiff.x, nextTanDiff.y) < MIN_DIFF) {\\\\n\\\\t\\\\tendJoinDirection = currNormal;\\\\n\\\\t}\\\\n\\\\tif (aCoord == bCoord) {\\\\n\\\\t\\\\tendJoinDirection = startJoinDirection;\\\\n\\\\t\\\\tcurrNormal = prevNormal;\\\\n\\\\t\\\\tcurrTangent = prevTangent;\\\\n\\\\t}\\\\n\\\\n\\\\ttangent = currTangent;\\\\n\\\\n\\\\t//calculate join shifts relative to normals\\\\n\\\\tfloat startJoinShift = dot(currNormal, startJoinDirection);\\\\n\\\\tfloat endJoinShift = dot(currNormal, endJoinDirection);\\\\n\\\\n\\\\tfloat startMiterRatio = abs(1. / startJoinShift);\\\\n\\\\tfloat endMiterRatio = abs(1. / endJoinShift);\\\\n\\\\n\\\\tvec2 startJoin = startJoinDirection * startMiterRatio;\\\\n\\\\tvec2 endJoin = endJoinDirection * endMiterRatio;\\\\n\\\\n\\\\tvec2 startTopJoin, startBotJoin, endTopJoin, endBotJoin;\\\\n\\\\tstartTopJoin = sign(startJoinShift) * startJoin * .5;\\\\n\\\\tstartBotJoin = -startTopJoin;\\\\n\\\\n\\\\tendTopJoin = sign(endJoinShift) * endJoin * .5;\\\\n\\\\tendBotJoin = -endTopJoin;\\\\n\\\\n\\\\tvec2 aTopCoord = aCoord + normalWidth * startTopJoin;\\\\n\\\\tvec2 bTopCoord = bCoord + normalWidth * endTopJoin;\\\\n\\\\tvec2 aBotCoord = aCoord + normalWidth * startBotJoin;\\\\n\\\\tvec2 bBotCoord = bCoord + normalWidth * endBotJoin;\\\\n\\\\n\\\\t//miter anti-clipping\\\\n\\\\tfloat baClipping = distToLine(bCoord, aCoord, aBotCoord) / dot(normalize(normalWidth * endBotJoin), normalize(normalWidth.yx * vec2(-startBotJoin.y, startBotJoin.x)));\\\\n\\\\tfloat abClipping = distToLine(aCoord, bCoord, bTopCoord) / dot(normalize(normalWidth * startBotJoin), normalize(normalWidth.yx * vec2(-endBotJoin.y, endBotJoin.x)));\\\\n\\\\n\\\\t//prevent close to reverse direction switch\\\\n\\\\tbool prevReverse = dot(currTangent, prevTangent) <= REVERSE_THRESHOLD && abs(dot(currTangent, prevNormal)) * min(length(prevDiff), length(currDiff)) < length(normalWidth * currNormal);\\\\n\\\\tbool nextReverse = dot(currTangent, nextTangent) <= REVERSE_THRESHOLD && abs(dot(currTangent, nextNormal)) * min(length(nextDiff), length(currDiff)) < length(normalWidth * currNormal);\\\\n\\\\n\\\\tif (prevReverse) {\\\\n\\\\t\\\\t//make join rectangular\\\\n\\\\t\\\\tvec2 miterShift = normalWidth * startJoinDirection * miterLimit * .5;\\\\n\\\\t\\\\tfloat normalAdjust = 1. - min(miterLimit / startMiterRatio, 1.);\\\\n\\\\t\\\\taBotCoord = aCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;\\\\n\\\\t\\\\taTopCoord = aCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;\\\\n\\\\t}\\\\n\\\\telse if (!nextReverse && baClipping > 0. && baClipping < length(normalWidth * endBotJoin)) {\\\\n\\\\t\\\\t//handle miter clipping\\\\n\\\\t\\\\tbTopCoord -= normalWidth * endTopJoin;\\\\n\\\\t\\\\tbTopCoord += normalize(endTopJoin * normalWidth) * baClipping;\\\\n\\\\t}\\\\n\\\\n\\\\tif (nextReverse) {\\\\n\\\\t\\\\t//make join rectangular\\\\n\\\\t\\\\tvec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5;\\\\n\\\\t\\\\tfloat normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.);\\\\n\\\\t\\\\tbBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;\\\\n\\\\t\\\\tbTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;\\\\n\\\\t}\\\\n\\\\telse if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) {\\\\n\\\\t\\\\t//handle miter clipping\\\\n\\\\t\\\\taBotCoord -= normalWidth * startBotJoin;\\\\n\\\\t\\\\taBotCoord += normalize(startBotJoin * normalWidth) * abClipping;\\\\n\\\\t}\\\\n\\\\n\\\\tvec2 aTopPosition = (aTopCoord) * adjustedScale + translate;\\\\n\\\\tvec2 aBotPosition = (aBotCoord) * adjustedScale + translate;\\\\n\\\\n\\\\tvec2 bTopPosition = (bTopCoord) * adjustedScale + translate;\\\\n\\\\tvec2 bBotPosition = (bBotCoord) * adjustedScale + translate;\\\\n\\\\n\\\\t//position is normalized 0..1 coord on the screen\\\\n\\\\tvec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd;\\\\n\\\\n\\\\tstartCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy;\\\\n\\\\tendCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy;\\\\n\\\\n\\\\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\\\\n\\\\n\\\\tenableStartMiter = step(dot(currTangent, prevTangent), .5);\\\\n\\\\tenableEndMiter = step(dot(currTangent, nextTangent), .5);\\\\n\\\\n\\\\t//bevel miter cutoffs\\\\n\\\\tif (miterMode == 1.) {\\\\n\\\\t\\\\tif (enableStartMiter == 1.) {\\\\n\\\\t\\\\t\\\\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5;\\\\n\\\\t\\\\t\\\\tstartCutoff = vec4(aCoord, aCoord);\\\\n\\\\t\\\\t\\\\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\\\\n\\\\t\\\\t\\\\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\\\\n\\\\t\\\\t\\\\tstartCutoff += viewport.xyxy;\\\\n\\\\t\\\\t\\\\tstartCutoff += startMiterWidth.xyxy;\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tif (enableEndMiter == 1.) {\\\\n\\\\t\\\\t\\\\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5;\\\\n\\\\t\\\\t\\\\tendCutoff = vec4(bCoord, bCoord);\\\\n\\\\t\\\\t\\\\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;\\\\n\\\\t\\\\t\\\\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\\\\n\\\\t\\\\t\\\\tendCutoff += viewport.xyxy;\\\\n\\\\t\\\\t\\\\tendCutoff += endMiterWidth.xyxy;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\n\\\\t//round miter cutoffs\\\\n\\\\telse if (miterMode == 2.) {\\\\n\\\\t\\\\tif (enableStartMiter == 1.) {\\\\n\\\\t\\\\t\\\\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5;\\\\n\\\\t\\\\t\\\\tstartCutoff = vec4(aCoord, aCoord);\\\\n\\\\t\\\\t\\\\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\\\\n\\\\t\\\\t\\\\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\\\\n\\\\t\\\\t\\\\tstartCutoff += viewport.xyxy;\\\\n\\\\t\\\\t\\\\tstartCutoff += startMiterWidth.xyxy;\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tif (enableEndMiter == 1.) {\\\\n\\\\t\\\\t\\\\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5;\\\\n\\\\t\\\\t\\\\tendCutoff = vec4(bCoord, bCoord);\\\\n\\\\t\\\\t\\\\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;\\\\n\\\\t\\\\t\\\\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\\\\n\\\\t\\\\t\\\\tendCutoff += viewport.xyxy;\\\\n\\\\t\\\\t\\\\tendCutoff += endMiterWidth.xyxy;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\\\n\\\"]),frag:a([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nuniform sampler2D dashPattern;\\\\nuniform float dashSize, pixelRatio, thickness, opacity, id, miterMode;\\\\n\\\\nvarying vec4 fragColor;\\\\nvarying vec2 tangent;\\\\nvarying vec4 startCutoff, endCutoff;\\\\nvarying vec2 startCoord, endCoord;\\\\nvarying float enableStartMiter, enableEndMiter;\\\\n\\\\nfloat distToLine(vec2 p, vec2 a, vec2 b) {\\\\n\\\\tvec2 diff = b - a;\\\\n\\\\tvec2 perp = normalize(vec2(-diff.y, diff.x));\\\\n\\\\treturn dot(p - a, perp);\\\\n}\\\\n\\\\nvoid main() {\\\\n\\\\tfloat alpha = 1., distToStart, distToEnd;\\\\n\\\\tfloat cutoff = thickness * .5;\\\\n\\\\n\\\\t//bevel miter\\\\n\\\\tif (miterMode == 1.) {\\\\n\\\\t\\\\tif (enableStartMiter == 1.) {\\\\n\\\\t\\\\t\\\\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\\\\n\\\\t\\\\t\\\\tif (distToStart < -1.) {\\\\n\\\\t\\\\t\\\\t\\\\tdiscard;\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\talpha *= min(max(distToStart + 1., 0.), 1.);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tif (enableEndMiter == 1.) {\\\\n\\\\t\\\\t\\\\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\\\\n\\\\t\\\\t\\\\tif (distToEnd < -1.) {\\\\n\\\\t\\\\t\\\\t\\\\tdiscard;\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\talpha *= min(max(distToEnd + 1., 0.), 1.);\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\n\\\\t// round miter\\\\n\\\\telse if (miterMode == 2.) {\\\\n\\\\t\\\\tif (enableStartMiter == 1.) {\\\\n\\\\t\\\\t\\\\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\\\\n\\\\t\\\\t\\\\tif (distToStart < 0.) {\\\\n\\\\t\\\\t\\\\t\\\\tfloat radius = length(gl_FragCoord.xy - startCoord);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif(radius > cutoff + .5) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdiscard;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tif (enableEndMiter == 1.) {\\\\n\\\\t\\\\t\\\\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\\\\n\\\\t\\\\t\\\\tif (distToEnd < 0.) {\\\\n\\\\t\\\\t\\\\t\\\\tfloat radius = length(gl_FragCoord.xy - endCoord);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif(radius > cutoff + .5) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdiscard;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\n\\\\tfloat t = fract(dot(tangent, gl_FragCoord.xy) / dashSize) * .5 + .25;\\\\n\\\\tfloat dash = texture2D(dashPattern, vec2(t, .5)).r;\\\\n\\\\n\\\\tgl_FragColor = fragColor;\\\\n\\\\tgl_FragColor.a *= alpha * opacity * dash;\\\\n}\\\\n\\\"]),attributes:{lineEnd:{buffer:n,divisor:0,stride:8,offset:0},lineTop:{buffer:n,divisor:0,stride:8,offset:4},aColor:{buffer:t.prop(\\\"colorBuffer\\\"),stride:4,offset:0,divisor:1},bColor:{buffer:t.prop(\\\"colorBuffer\\\"),stride:4,offset:4,divisor:1},prevCoord:{buffer:t.prop(\\\"positionBuffer\\\"),stride:8,offset:0,divisor:1},aCoord:{buffer:t.prop(\\\"positionBuffer\\\"),stride:8,offset:8,divisor:1},bCoord:{buffer:t.prop(\\\"positionBuffer\\\"),stride:8,offset:16,divisor:1},nextCoord:{buffer:t.prop(\\\"positionBuffer\\\"),stride:8,offset:24,divisor:1}}},r))}catch(t){e=i}return{fill:t({primitive:\\\"triangle\\\",elements:function(t,e){return e.triangles},offset:0,vert:a([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute vec2 position, positionFract;\\\\n\\\\nuniform vec4 color;\\\\nuniform vec2 scale, scaleFract, translate, translateFract;\\\\nuniform float pixelRatio, id;\\\\nuniform vec4 viewport;\\\\nuniform float opacity;\\\\n\\\\nvarying vec4 fragColor;\\\\n\\\\nconst float MAX_LINES = 256.;\\\\n\\\\nvoid main() {\\\\n\\\\tfloat depth = (MAX_LINES - 4. - id) / (MAX_LINES);\\\\n\\\\n\\\\tvec2 position = position * scale + translate\\\\n + positionFract * scale + translateFract\\\\n + position * scaleFract\\\\n + positionFract * scaleFract;\\\\n\\\\n\\\\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\\\\n\\\\n\\\\tfragColor = color / 255.;\\\\n\\\\tfragColor.a *= opacity;\\\\n}\\\\n\\\"]),frag:a([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvarying vec4 fragColor;\\\\n\\\\nvoid main() {\\\\n\\\\tgl_FragColor = fragColor;\\\\n}\\\\n\\\"]),uniforms:{scale:t.prop(\\\"scale\\\"),color:t.prop(\\\"fill\\\"),scaleFract:t.prop(\\\"scaleFract\\\"),translateFract:t.prop(\\\"translateFract\\\"),translate:t.prop(\\\"translate\\\"),opacity:t.prop(\\\"opacity\\\"),pixelRatio:t.context(\\\"pixelRatio\\\"),id:t.prop(\\\"id\\\"),viewport:function(t,e){return[e.viewport.x,e.viewport.y,t.viewportWidth,t.viewportHeight]}},attributes:{position:{buffer:t.prop(\\\"positionBuffer\\\"),stride:8,offset:8},positionFract:{buffer:t.prop(\\\"positionFractBuffer\\\"),stride:8,offset:8}},blend:r.blend,depth:{enable:!1},scissor:r.scissor,stencil:r.stencil,viewport:r.viewport}),rect:i,miter:e}},v.defaults={dashes:null,join:\\\"miter\\\",miterLimit:1,thickness:10,cap:\\\"square\\\",color:\\\"black\\\",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},v.prototype.render=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];e.length&&(t=this).update.apply(t,e),this.draw()},v.prototype.draw=function(){for(var t=this,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(e.length?e:this.passes).forEach((function(e,n){var r;if(e&&Array.isArray(e))return(r=t).draw.apply(r,e);\\\"number\\\"==typeof e&&(e=t.passes[e]),e&&e.count>1&&e.opacity&&(t.regl._refresh(),e.fill&&e.triangles&&e.triangles.length>2&&t.shaders.fill(e),e.thickness&&(e.scale[0]*e.viewport.width>v.precisionThreshold||e.scale[1]*e.viewport.height>v.precisionThreshold||\\\"rect\\\"===e.join||!e.join&&(e.thickness<=2||e.count>=v.maxPoints)?t.shaders.rect(e):t.shaders.miter(e)))})),this},v.prototype.update=function(t){var e=this;if(t){null!=t.length?\\\"number\\\"==typeof t[0]&&(t=[{positions:t}]):Array.isArray(t)||(t=[t]);var n=this.regl,a=this.gl;if(t.forEach((function(t,h){var d=e.passes[h];if(void 0!==t)if(null!==t){if(\\\"number\\\"==typeof t[0]&&(t={positions:t}),t=s(t,{positions:\\\"positions points data coords\\\",thickness:\\\"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth\\\",join:\\\"lineJoin linejoin join type mode\\\",miterLimit:\\\"miterlimit miterLimit\\\",dashes:\\\"dash dashes dasharray dash-array dashArray\\\",color:\\\"color colour stroke colors colours stroke-color strokeColor\\\",fill:\\\"fill fill-color fillColor\\\",opacity:\\\"alpha opacity\\\",overlay:\\\"overlay crease overlap intersect\\\",close:\\\"closed close closed-path closePath\\\",range:\\\"range dataBox\\\",viewport:\\\"viewport viewBox\\\",hole:\\\"holes hole hollow\\\"}),d||(e.passes[h]=d={id:h,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:n.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:\\\"linear\\\",min:\\\"linear\\\"}),colorBuffer:n.buffer({usage:\\\"dynamic\\\",type:\\\"uint8\\\",data:new Uint8Array}),positionBuffer:n.buffer({usage:\\\"dynamic\\\",type:\\\"float\\\",data:new Uint8Array}),positionFractBuffer:n.buffer({usage:\\\"dynamic\\\",type:\\\"float\\\",data:new Uint8Array})},t=o({},v.defaults,t)),null!=t.thickness&&(d.thickness=parseFloat(t.thickness)),null!=t.opacity&&(d.opacity=parseFloat(t.opacity)),null!=t.miterLimit&&(d.miterLimit=parseFloat(t.miterLimit)),null!=t.overlay&&(d.overlay=!!t.overlay,h<v.maxLines&&(d.depth=2*(v.maxLines-1-h%v.maxLines)/v.maxLines-1)),null!=t.join&&(d.join=t.join),null!=t.hole&&(d.hole=t.hole),null!=t.fill&&(d.fill=t.fill?r(t.fill,\\\"uint8\\\"):null),null!=t.viewport&&(d.viewport=m(t.viewport)),d.viewport||(d.viewport=m([a.drawingBufferWidth,a.drawingBufferHeight])),null!=t.close&&(d.close=t.close),null===t.positions&&(t.positions=[]),t.positions){var g,y;if(t.positions.x&&t.positions.y){var _=t.positions.x,b=t.positions.y;y=d.count=Math.max(_.length,b.length),g=new Float64Array(2*y);for(var x=0;x<y;x++)g[2*x]=_[x],g[2*x+1]=b[x]}else g=l(t.positions,\\\"float64\\\"),y=d.count=Math.floor(g.length/2);var w=d.bounds=i(g,2);if(d.fill){for(var A=[],C={},M=0,E=0,T=0,S=d.count;E<S;E++){var k=g[2*E],O=g[2*E+1];isNaN(k)||isNaN(O)||null==k||null==O?(k=g[2*M],O=g[2*M+1],C[E]=M):M=E,A[T++]=k,A[T++]=O}for(var I=u(A,d.hole||[]),L=0,P=I.length;L<P;L++)null!=C[I[L]]&&(I[L]=C[I[L]]);d.triangles=I}var z=new Float64Array(g);c(z,2,w);var R=new Float64Array(2*y+6);d.close?g[0]===g[2*y-2]&&g[1]===g[2*y-1]?(R[0]=z[2*y-4],R[1]=z[2*y-3]):(R[0]=z[2*y-2],R[1]=z[2*y-1]):(R[0]=z[0],R[1]=z[1]),R.set(z,2),d.close?g[0]===g[2*y-2]&&g[1]===g[2*y-1]?(R[2*y+2]=z[2],R[2*y+3]=z[3],d.count-=1):(R[2*y+2]=z[0],R[2*y+3]=z[1],R[2*y+4]=z[2],R[2*y+5]=z[3]):(R[2*y+2]=z[2*y-2],R[2*y+3]=z[2*y-1],R[2*y+4]=z[2*y-2],R[2*y+5]=z[2*y-1]),d.positionBuffer(p(R)),d.positionFractBuffer(f(R))}if(t.range?d.range=t.range:d.range||(d.range=d.bounds),(t.range||t.positions)&&d.count){var D=d.bounds,$=D[2]-D[0],B=D[3]-D[1],N=d.range[2]-d.range[0],F=d.range[3]-d.range[1];d.scale=[$/N,B/F],d.translate=[-d.range[0]/N+D[0]/N||0,-d.range[1]/F+D[1]/F||0],d.scaleFract=f(d.scale),d.translateFract=f(d.translate)}if(t.dashes){var j,U=0;if(!t.dashes||t.dashes.length<2)U=1,j=new Uint8Array([255,255,255,255,255,255,255,255]);else{U=0;for(var q=0;q<t.dashes.length;++q)U+=t.dashes[q];j=new Uint8Array(U*v.dashMult);for(var V=0,H=255,G=0;G<2;G++)for(var W=0;W<t.dashes.length;++W){for(var X=0,Y=t.dashes[W]*v.dashMult*.5;X<Y;++X)j[V++]=H;H^=255}}d.dashLength=U,d.dashTexture({channels:1,data:j,width:j.length,height:1,mag:\\\"linear\\\",min:\\\"linear\\\"},0,0)}if(t.color){var Z=d.count,K=t.color;K||(K=\\\"transparent\\\");var J=new Uint8Array(4*Z+4);if(Array.isArray(K)&&\\\"number\\\"!=typeof K[0]){for(var Q=0;Q<Z;Q++){var tt=r(K[Q],\\\"uint8\\\");J.set(tt,4*Q)}J.set(r(K[0],\\\"uint8\\\"),4*Z)}else for(var et=r(K,\\\"uint8\\\"),nt=0;nt<Z+1;nt++)J.set(et,4*nt);d.colorBuffer({usage:\\\"dynamic\\\",type:\\\"uint8\\\",data:J})}}else e.passes[h]=null})),t.length<this.passes.length){for(var h=t.length;h<this.passes.length;h++){var d=this.passes[h];d&&(d.colorBuffer.destroy(),d.positionBuffer.destroy(),d.dashTexture.destroy())}this.passes.length=t.length}for(var g=[],y=0;y<this.passes.length;y++)null!==this.passes[y]&&g.push(this.passes[y]);return this.passes=g,this}},v.prototype.destroy=function(){return this.passes.forEach((function(t){t.colorBuffer.destroy(),t.positionBuffer.destroy(),t.dashTexture.destroy()})),this.passes.length=0,this}},{\\\"array-bounds\\\":68,\\\"array-normalize\\\":69,\\\"color-normalize\\\":122,earcut:172,\\\"es6-weak-map\\\":228,\\\"flatten-vertex-data\\\":239,glslify:408,\\\"object-assign\\\":452,\\\"parse-rect\\\":457,\\\"pick-by-alias\\\":463,\\\"to-float32\\\":529}],490:[function(t,e,n){\\\"use strict\\\";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(\\\"undefined\\\"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||o(t,e)||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 i(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if(\\\"undefined\\\"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||o(t)||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 o(t,e){if(t){if(\\\"string\\\"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return\\\"Object\\\"===n&&t.constructor&&(n=t.constructor.name),\\\"Map\\\"===n||\\\"Set\\\"===n?Array.from(n):\\\"Arguments\\\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s=t(\\\"color-normalize\\\"),l=t(\\\"array-bounds\\\"),u=t(\\\"color-id\\\"),c=t(\\\"point-cluster\\\"),h=t(\\\"object-assign\\\"),p=t(\\\"glslify\\\"),f=t(\\\"pick-by-alias\\\"),d=t(\\\"update-diff\\\"),m=t(\\\"flatten-vertex-data\\\"),v=t(\\\"is-iexplorer\\\"),g=t(\\\"to-float32\\\"),y=t(\\\"parse-rect\\\"),_=b;function b(t,e){var n=this;if(!(this instanceof b))return new b(t,e);\\\"function\\\"==typeof t?(e||(e={}),e.regl=t):(e=t,t=null),e&&e.length&&(e.positions=e);var r,i=(t=e.regl)._gl,o=[],a=255;this.tooManyColors=v,r=t.texture({data:new Uint8Array(1020),width:a,height:1,type:\\\"uint8\\\",format:\\\"rgba\\\",wrapS:\\\"clamp\\\",wrapT:\\\"clamp\\\",mag:\\\"nearest\\\",min:\\\"nearest\\\"}),h(this,{regl:t,gl:i,groups:[],markerCache:[null],markerTextures:[null],palette:o,paletteIds:{},paletteTexture:r,maxColors:a,maxSize:100,canvas:i.canvas}),this.update(e);var s={uniforms:{pixelRatio:t.context(\\\"pixelRatio\\\"),palette:r,paletteSize:function(t,e){return[n.tooManyColors?0:a,r.height]},scale:t.prop(\\\"scale\\\"),scaleFract:t.prop(\\\"scaleFract\\\"),translate:t.prop(\\\"translate\\\"),translateFract:t.prop(\\\"translateFract\\\"),opacity:t.prop(\\\"opacity\\\"),marker:t.prop(\\\"markerTexture\\\")},attributes:{x:function(t,e){return e.xAttr||{buffer:e.positionBuffer,stride:8,offset:0}},y:function(t,e){return e.yAttr||{buffer:e.positionBuffer,stride:8,offset:4}},xFract:function(t,e){return e.xAttr?{constant:[0,0]}:{buffer:e.positionFractBuffer,stride:8,offset:0}},yFract:function(t,e){return e.yAttr?{constant:[0,0]}:{buffer:e.positionFractBuffer,stride:8,offset:4}},size:function(t,e){return e.size.length?{buffer:e.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(255*e.size/n.maxSize)]}},borderSize:function(t,e){return e.borderSize.length?{buffer:e.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(255*e.borderSize/n.maxSize)]}},colorId:function(t,e){return e.color.length?{buffer:e.colorBuffer,stride:n.tooManyColors?8:4,offset:0}:{constant:n.tooManyColors?o.slice(4*e.color,4*e.color+4):[e.color]}},borderColorId:function(t,e){return e.borderColor.length?{buffer:e.colorBuffer,stride:n.tooManyColors?8:4,offset:n.tooManyColors?4:2}:{constant:n.tooManyColors?o.slice(4*e.borderColor,4*e.borderColor+4):[e.borderColor]}},isActive:function(t,e){return!0===e.activation?{constant:[1]}:e.activation?e.activation:{constant:[0]}}},blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:\\\"src alpha\\\",dstRGB:\\\"one minus src alpha\\\",srcAlpha:\\\"one minus dst alpha\\\",dstAlpha:\\\"one\\\"}},scissor:{enable:!0,box:t.prop(\\\"viewport\\\")},viewport:t.prop(\\\"viewport\\\"),stencil:{enable:!1},depth:{enable:!1},elements:t.prop(\\\"elements\\\"),count:t.prop(\\\"count\\\"),offset:t.prop(\\\"offset\\\"),primitive:\\\"points\\\"},l=h({},s);l.frag=p([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvarying vec4 fragColor, fragBorderColor;\\\\nvarying float fragWidth, fragBorderColorLevel, fragColorLevel;\\\\n\\\\nuniform sampler2D marker;\\\\nuniform float pixelRatio, opacity;\\\\n\\\\nfloat smoothStep(float x, float y) {\\\\n return 1.0 / (1.0 + exp(50.0*(x - y)));\\\\n}\\\\n\\\\nvoid main() {\\\\n float dist = texture2D(marker, gl_PointCoord).r, delta = fragWidth;\\\\n\\\\n // max-distance alpha\\\\n if (dist < 0.003) discard;\\\\n\\\\n // null-border case\\\\n if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {\\\\n float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);\\\\n gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);\\\\n }\\\\n else {\\\\n float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);\\\\n float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);\\\\n\\\\n vec4 color = fragBorderColor;\\\\n color.a *= borderColorAmt;\\\\n color = mix(color, fragColor, colorAmt);\\\\n color.a *= opacity;\\\\n\\\\n gl_FragColor = color;\\\\n }\\\\n\\\\n}\\\\n\\\"]),l.vert=p([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute float x, y, xFract, yFract;\\\\nattribute float size, borderSize;\\\\nattribute vec4 colorId, borderColorId;\\\\nattribute float isActive;\\\\n\\\\nuniform vec2 scale, scaleFract, translate, translateFract, paletteSize;\\\\nuniform float pixelRatio;\\\\nuniform sampler2D palette;\\\\n\\\\nconst float maxSize = 100.;\\\\nconst float borderLevel = .5;\\\\n\\\\nvarying vec4 fragColor, fragBorderColor;\\\\nvarying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;\\\\n\\\\nbool isDirect = (paletteSize.x < 1.);\\\\n\\\\nvec4 getColor(vec4 id) {\\\\n return isDirect ? id / 255. : texture2D(palette,\\\\n vec2(\\\\n (id.x + .5) / paletteSize.x,\\\\n (id.y + .5) / paletteSize.y\\\\n )\\\\n );\\\\n}\\\\n\\\\nvoid main() {\\\\n if (isActive == 0.) return;\\\\n\\\\n vec2 position = vec2(x, y);\\\\n vec2 positionFract = vec2(xFract, yFract);\\\\n\\\\n vec4 color = getColor(colorId);\\\\n vec4 borderColor = getColor(borderColorId);\\\\n\\\\n float size = size * maxSize / 255.;\\\\n float borderSize = borderSize * maxSize / 255.;\\\\n\\\\n gl_PointSize = 2. * size * pixelRatio;\\\\n fragPointSize = size * pixelRatio;\\\\n\\\\n vec2 pos = (position + translate) * scale\\\\n + (positionFract + translateFract) * scale\\\\n + (position + translate) * scaleFract\\\\n + (positionFract + translateFract) * scaleFract;\\\\n\\\\n gl_Position = vec4(pos * 2. - 1., 0, 1);\\\\n\\\\n fragColor = color;\\\\n fragBorderColor = borderColor;\\\\n fragWidth = 1. / gl_PointSize;\\\\n\\\\n fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);\\\\n fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);\\\\n}\\\"]),this.drawMarker=t(l);var u=h({},s);u.frag=p([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvarying vec4 fragColor, fragBorderColor;\\\\n\\\\nuniform float opacity;\\\\nvarying float fragBorderRadius, fragWidth;\\\\n\\\\nfloat smoothStep(float edge0, float edge1, float x) {\\\\n\\\\tfloat t;\\\\n\\\\tt = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);\\\\n\\\\treturn t * t * (3.0 - 2.0 * t);\\\\n}\\\\n\\\\nvoid main() {\\\\n\\\\tfloat radius, alpha = 1.0, delta = fragWidth;\\\\n\\\\n\\\\tradius = length(2.0 * gl_PointCoord.xy - 1.0);\\\\n\\\\n\\\\tif (radius > 1.0 + delta) {\\\\n\\\\t\\\\tdiscard;\\\\n\\\\t}\\\\n\\\\n\\\\talpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);\\\\n\\\\n\\\\tfloat borderRadius = fragBorderRadius;\\\\n\\\\tfloat ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);\\\\n\\\\tvec4 color = mix(fragColor, fragBorderColor, ratio);\\\\n\\\\tcolor.a *= alpha * opacity;\\\\n\\\\tgl_FragColor = color;\\\\n}\\\\n\\\"]),u.vert=p([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nattribute float x, y, xFract, yFract;\\\\nattribute float size, borderSize;\\\\nattribute vec4 colorId, borderColorId;\\\\nattribute float isActive;\\\\n\\\\nuniform vec2 scale, scaleFract, translate, translateFract;\\\\nuniform float pixelRatio;\\\\nuniform sampler2D palette;\\\\nuniform vec2 paletteSize;\\\\n\\\\nconst float maxSize = 100.;\\\\n\\\\nvarying vec4 fragColor, fragBorderColor;\\\\nvarying float fragBorderRadius, fragWidth;\\\\n\\\\nbool isDirect = (paletteSize.x < 1.);\\\\n\\\\nvec4 getColor(vec4 id) {\\\\n return isDirect ? id / 255. : texture2D(palette,\\\\n vec2(\\\\n (id.x + .5) / paletteSize.x,\\\\n (id.y + .5) / paletteSize.y\\\\n )\\\\n );\\\\n}\\\\n\\\\nvoid main() {\\\\n // ignore inactive points\\\\n if (isActive == 0.) return;\\\\n\\\\n vec2 position = vec2(x, y);\\\\n vec2 positionFract = vec2(xFract, yFract);\\\\n\\\\n vec4 color = getColor(colorId);\\\\n vec4 borderColor = getColor(borderColorId);\\\\n\\\\n float size = size * maxSize / 255.;\\\\n float borderSize = borderSize * maxSize / 255.;\\\\n\\\\n gl_PointSize = (size + borderSize) * pixelRatio;\\\\n\\\\n vec2 pos = (position + translate) * scale\\\\n + (positionFract + translateFract) * scale\\\\n + (position + translate) * scaleFract\\\\n + (positionFract + translateFract) * scaleFract;\\\\n\\\\n gl_Position = vec4(pos * 2. - 1., 0, 1);\\\\n\\\\n fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);\\\\n fragColor = color;\\\\n fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;\\\\n fragWidth = 1. / gl_PointSize;\\\\n}\\\\n\\\"]),v&&(u.frag=u.frag.replace(\\\"smoothstep\\\",\\\"smoothStep\\\"),l.frag=l.frag.replace(\\\"smoothstep\\\",\\\"smoothStep\\\")),this.drawCircle=t(u)}b.defaults={color:\\\"black\\\",borderColor:\\\"transparent\\\",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},b.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},b.prototype.draw=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=this.groups;if(1===n.length&&Array.isArray(n[0])&&(null===n[0][0]||Array.isArray(n[0][0]))&&(n=n[0]),this.regl._refresh(),n.length)for(var o=0;o<n.length;o++)this.drawItem(o,n[o]);else i.forEach((function(e,n){t.drawItem(n)}));return this},b.prototype.drawItem=function(t,e){var n=this.groups,r=n[t];if(\\\"number\\\"==typeof e&&(t=e,r=n[e],e=null),r&&r.count&&r.opacity){r.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,r,e));for(var o=[],a=1;a<r.activation.length;a++)r.activation[a]&&(!0===r.activation[a]||r.activation[a].data.length)&&o.push.apply(o,i(this.getMarkerDrawOptions(a,r,e)));o.length&&this.drawMarker(o)}},b.prototype.getMarkerDrawOptions=function(t,e,n){var i=e.range,o=e.tree,a=e.viewport,s=e.activation,l=e.selectionBuffer,u=e.count;if(this.regl,!o)return n?[h({},e,{markerTexture:this.markerTextures[t],activation:s[t],count:n.length,elements:n,offset:0})]:[h({},e,{markerTexture:this.markerTextures[t],activation:s[t],offset:0})];var c=[],p=o.range(i,{lod:!0,px:[(i[2]-i[0])/a.width,(i[3]-i[1])/a.height]});if(n){for(var f=s[t].data,d=new Uint8Array(u),m=0;m<n.length;m++){var v=n[m];d[v]=f?f[v]:1}l.subdata(d)}for(var g=p.length;g--;){var y=r(p[g],2),_=y[0],b=y[1];c.push(h({},e,{markerTexture:this.markerTextures[t],activation:n?l:s[t],offset:_,count:b-_}))}return c},b.prototype.update=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(n.length){1===n.length&&Array.isArray(n[0])&&(n=n[0]);var i=this.groups,o=this.gl,a=this.regl,s=this.maxSize,u=this.maxColors,p=this.palette;this.groups=i=n.map((function(e,n){var r=i[n];if(void 0===e)return r;null===e?e={positions:null}:\\\"function\\\"==typeof e?e={ondraw:e}:\\\"number\\\"==typeof e[0]&&(e={positions:e}),null===(e=f(e,{positions:\\\"positions data points\\\",snap:\\\"snap cluster lod tree\\\",size:\\\"sizes size radius\\\",borderSize:\\\"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline\\\",color:\\\"colors color fill fill-color fillColor\\\",borderColor:\\\"borderColors borderColor stroke stroke-color strokeColor\\\",marker:\\\"markers marker shape\\\",range:\\\"range dataBox databox\\\",viewport:\\\"viewport viewPort viewBox viewbox\\\",opacity:\\\"opacity alpha transparency\\\",bounds:\\\"bound bounds boundaries limits\\\",tooManyColors:\\\"tooManyColors palette paletteMode optimizePalette enablePalette\\\"})).positions&&(e.positions=[]),null!=e.tooManyColors&&(t.tooManyColors=e.tooManyColors),r||(i[n]=r={id:n,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:a.buffer({data:new Uint8Array(0),usage:\\\"stream\\\",type:\\\"uint8\\\"}),sizeBuffer:a.buffer({data:new Uint8Array(0),usage:\\\"dynamic\\\",type:\\\"uint8\\\"}),colorBuffer:a.buffer({data:new Uint8Array(0),usage:\\\"dynamic\\\",type:\\\"uint8\\\"}),positionBuffer:a.buffer({data:new Uint8Array(0),usage:\\\"dynamic\\\",type:\\\"float\\\"}),positionFractBuffer:a.buffer({data:new Uint8Array(0),usage:\\\"dynamic\\\",type:\\\"float\\\"})},e=h({},b.defaults,e)),e.positions&&!(\\\"marker\\\"in e)&&(e.marker=r.marker,delete r.marker),e.marker&&!(\\\"positions\\\"in e)&&(e.positions=r.positions,delete r.positions);var v=0,_=0;if(d(r,e,[{snap:!0,size:function(t,e){return null==t&&(t=b.defaults.size),v+=t&&t.length?1:0,t},borderSize:function(t,e){return null==t&&(t=b.defaults.borderSize),v+=t&&t.length?1:0,t},opacity:parseFloat,color:function(e,n){return null==e&&(e=b.defaults.color),e=t.updateColor(e),_++,e},borderColor:function(e,n){return null==e&&(e=b.defaults.borderColor),e=t.updateColor(e),_++,e},bounds:function(t,e,n){return\\\"range\\\"in n||(n.range=null),t},positions:function(t,e,n){var r=e.snap,i=e.positionBuffer,o=e.positionFractBuffer,s=e.selectionBuffer;if(t.x||t.y)return t.x.length?e.xAttr={buffer:a.buffer(t.x),offset:0,stride:4,count:t.x.length}:e.xAttr={buffer:t.x.buffer,offset:4*t.x.offset||0,stride:4*(t.x.stride||1),count:t.x.count},t.y.length?e.yAttr={buffer:a.buffer(t.y),offset:0,stride:4,count:t.y.length}:e.yAttr={buffer:t.y.buffer,offset:4*t.y.offset||0,stride:4*(t.y.stride||1),count:t.y.count},e.count=Math.max(e.xAttr.count,e.yAttr.count),t;t=m(t,\\\"float64\\\");var u=e.count=Math.floor(t.length/2),h=e.bounds=u?l(t,2):null;if(n.range||e.range||(delete e.range,n.range=h),n.marker||e.marker||(delete e.marker,n.marker=null),r&&(!0===r||u>r)?e.tree=c(t,{bounds:h}):r&&r.length&&(e.tree=r),e.tree){var p={primitive:\\\"points\\\",usage:\\\"static\\\",data:e.tree,type:\\\"uint32\\\"};e.elements?e.elements(p):e.elements=a.elements(p)}return i({data:g.float(t),usage:\\\"dynamic\\\"}),o({data:g.fract(t),usage:\\\"dynamic\\\"}),s({data:new Uint8Array(u),type:\\\"uint8\\\",usage:\\\"stream\\\"}),t}},{marker:function(e,n,r){var i=n.activation;if(i.forEach((function(t){return t&&t.destroy&&t.destroy()})),i.length=0,e&&\\\"number\\\"!=typeof e[0]){for(var o=[],s=0,l=Math.min(e.length,n.count);s<l;s++){var u=t.addMarker(e[s]);o[u]||(o[u]=new Uint8Array(n.count)),o[u][s]=1}for(var c=0;c<o.length;c++)if(o[c]){var h={data:o[c],type:\\\"uint8\\\",usage:\\\"static\\\"};i[c]?i[c](h):i[c]=a.buffer(h),i[c].data=o[c]}}else i[t.addMarker(e)]=!0;return e},range:function(t,e,n){var r=e.bounds;if(r)return t||(t=r),e.scale=[1/(t[2]-t[0]),1/(t[3]-t[1])],e.translate=[-t[0],-t[1]],e.scaleFract=g.fract(e.scale),e.translateFract=g.fract(e.translate),t},viewport:function(t){return y(t||[o.drawingBufferWidth,o.drawingBufferHeight])}}]),v){var x=r,w=x.count,A=x.size,C=x.borderSize,M=x.sizeBuffer,E=new Uint8Array(2*w);if(A.length||C.length)for(var T=0;T<w;T++)E[2*T]=Math.round(255*(null==A[T]?A:A[T])/s),E[2*T+1]=Math.round(255*(null==C[T]?C:C[T])/s);M({data:E,usage:\\\"dynamic\\\"})}if(_){var S,k=r,O=k.count,I=k.color,L=k.borderColor,P=k.colorBuffer;if(t.tooManyColors){if(I.length||L.length){S=new Uint8Array(8*O);for(var z=0;z<O;z++){var R=I[z];S[8*z]=p[4*R],S[8*z+1]=p[4*R+1],S[8*z+2]=p[4*R+2],S[8*z+3]=p[4*R+3];var D=L[z];S[8*z+4]=p[4*D],S[8*z+5]=p[4*D+1],S[8*z+6]=p[4*D+2],S[8*z+7]=p[4*D+3]}}}else if(I.length||L.length){S=new Uint8Array(4*O+2);for(var $=0;$<O;$++)null!=I[$]&&(S[4*$]=I[$]%u,S[4*$+1]=Math.floor(I[$]/u)),null!=L[$]&&(S[4*$+2]=L[$]%u,S[4*$+3]=Math.floor(L[$]/u))}P({data:S||new Uint8Array(0),type:\\\"uint8\\\",usage:\\\"dynamic\\\"})}return r}))}},b.prototype.addMarker=function(t){var e,n=this.markerTextures,r=this.regl,i=this.markerCache,o=null==t?0:i.indexOf(t);if(o>=0)return o;if(t instanceof Uint8Array||t instanceof Uint8ClampedArray)e=t;else{e=new Uint8Array(t.length);for(var a=0,s=t.length;a<s;a++)e[a]=255*t[a]}var l=Math.floor(Math.sqrt(e.length));return o=n.length,i.push(t),n.push(r.texture({channels:1,data:e,radius:l,mag:\\\"linear\\\",min:\\\"linear\\\"})),o},b.prototype.updateColor=function(t){var e=this.paletteIds,n=this.palette,r=this.maxColors;Array.isArray(t)||(t=[t]);var i=[];if(\\\"number\\\"==typeof t[0]){var o=[];if(Array.isArray(t))for(var a=0;a<t.length;a+=4)o.push(t.slice(a,a+4));else for(var l=0;l<t.length;l+=4)o.push(t.subarray(l,l+4));t=o}for(var c=0;c<t.length;c++){var h=t[c];h=s(h,\\\"uint8\\\");var p=u(h,!1);if(null==e[p]){var f=n.length;e[p]=Math.floor(f/4),n[f]=h[0],n[f+1]=h[1],n[f+2]=h[2],n[f+3]=h[3]}i[c]=e[p]}return!this.tooManyColors&&n.length>4*r&&(this.tooManyColors=!0),this.updatePalette(n),1===i.length?i[0]:i},b.prototype.updatePalette=function(t){if(!this.tooManyColors){var e=this.maxColors,n=this.paletteTexture,r=Math.ceil(.25*t.length/e);if(r>1)for(var i=.25*(t=t.slice()).length%e;i<r*e;i++)t.push(0,0,0,0);n.height<r&&n.resize(e,r),n.subimage({width:Math.min(.25*t.length,e),height:r,data:t},0,0)}},b.prototype.destroy=function(){return this.groups.forEach((function(t){t.sizeBuffer.destroy(),t.positionBuffer.destroy(),t.positionFractBuffer.destroy(),t.colorBuffer.destroy(),t.activation.forEach((function(t){return t&&t.destroy&&t.destroy()})),t.selectionBuffer.destroy(),t.elements&&t.elements.destroy()})),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach((function(t){return t&&t.destroy&&t.destroy()})),this};var x=t(\\\"object-assign\\\");e.exports=function(t,e){var n=new _(t,e),r=n.render.bind(n);return x(r,{render:r,update:n.update.bind(n),draw:n.draw.bind(n),destroy:n.destroy.bind(n),regl:n.regl,gl:n.gl,canvas:n.gl.canvas,groups:n.groups,markers:n.markerCache,palette:n.palette}),r}},{\\\"array-bounds\\\":68,\\\"color-id\\\":120,\\\"color-normalize\\\":122,\\\"flatten-vertex-data\\\":239,glslify:408,\\\"is-iexplorer\\\":419,\\\"object-assign\\\":452,\\\"parse-rect\\\":457,\\\"pick-by-alias\\\":463,\\\"point-cluster\\\":467,\\\"to-float32\\\":529,\\\"update-diff\\\":551}],491:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"regl-scatter2d\\\"),i=t(\\\"pick-by-alias\\\"),o=t(\\\"array-bounds\\\"),a=t(\\\"raf\\\"),s=t(\\\"array-range\\\"),l=t(\\\"parse-rect\\\"),u=t(\\\"flatten-vertex-data\\\");function c(t,e){if(!(this instanceof c))return new c(t,e);this.traces=[],this.passes={},this.regl=t,this.scatter=r(t),this.canvas=this.scatter.canvas}function h(t,e,n){return(null!=t.id?t.id:t)<<16|(255&e)<<8|255&n}function p(t,e,n){var r,i,o,a,s=t[e],l=t[n];return s.length>2?(s[0],s[2],r=s[1],i=s[3]):s.length?(r=s[0],i=s[1]):(s.x,r=s.y,s.x,s.width,i=s.y+s.height),l.length>2?(o=l[0],a=l[2],l[1],l[3]):l.length?(o=l[0],a=l[1]):(o=l.x,l.y,a=l.x+l.width,l.y,l.height),[o,r,a,i]}function f(t){if(\\\"number\\\"==typeof t)return[t,t,t,t];if(2===t.length)return[t[0],t[1],t[0],t[1]];var e=l(t);return[e.x,e.y,e.x+e.width,e.y+e.height]}e.exports=c,c.prototype.render=function(){for(var t,e=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];return n.length&&(t=this).update.apply(t,n),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?null==this.planned&&(this.planned=a((function(){e.draw(),e.dirty=!0,e.planned=null}))):(this.draw(),this.dirty=!0,a((function(){e.dirty=!1}))),this)},c.prototype.update=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];if(e.length){for(var r=0;r<e.length;r++)this.updateItem(r,e[r]);this.traces=this.traces.filter(Boolean);for(var i=[],o=0,a=0;a<this.traces.length;a++){for(var s=this.traces[a],l=this.traces[a].passes,u=0;u<l.length;u++)i.push(this.passes[l[u]]);s.passOffset=o,o+=s.passes.length}return(t=this.scatter).update.apply(t,i),this}},c.prototype.updateItem=function(t,e){var n=this.regl;if(null===e)return this.traces[t]=null,this;if(!e)return this;var r,a=i(e,{data:\\\"data items columns rows values dimensions samples x\\\",snap:\\\"snap cluster\\\",size:\\\"sizes size radius\\\",color:\\\"colors color fill fill-color fillColor\\\",opacity:\\\"opacity alpha transparency opaque\\\",borderSize:\\\"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline\\\",borderColor:\\\"borderColors borderColor bordercolor stroke stroke-color strokeColor\\\",marker:\\\"markers marker shape\\\",range:\\\"range ranges databox dataBox\\\",viewport:\\\"viewport viewBox viewbox\\\",domain:\\\"domain domains area areas\\\",padding:\\\"pad padding paddings pads margin margins\\\",transpose:\\\"transpose transposed\\\",diagonal:\\\"diagonal diag showDiagonal\\\",upper:\\\"upper up top upperhalf upperHalf showupperhalf showUpper showUpperHalf\\\",lower:\\\"lower low bottom lowerhalf lowerHalf showlowerhalf showLowerHalf showLower\\\"}),s=this.traces[t]||(this.traces[t]={id:t,buffer:n.buffer({usage:\\\"dynamic\\\",type:\\\"float\\\",data:new Uint8Array}),color:\\\"black\\\",marker:null,size:12,borderColor:\\\"transparent\\\",borderSize:1,viewport:l([n._gl.drawingBufferWidth,n._gl.drawingBufferHeight]),padding:[0,0,0,0],opacity:1,diagonal:!0,upper:!0,lower:!0});if(null!=a.color&&(s.color=a.color),null!=a.size&&(s.size=a.size),null!=a.marker&&(s.marker=a.marker),null!=a.borderColor&&(s.borderColor=a.borderColor),null!=a.borderSize&&(s.borderSize=a.borderSize),null!=a.opacity&&(s.opacity=a.opacity),a.viewport&&(s.viewport=l(a.viewport)),null!=a.diagonal&&(s.diagonal=a.diagonal),null!=a.upper&&(s.upper=a.upper),null!=a.lower&&(s.lower=a.lower),a.data){s.buffer(u(a.data)),s.columns=a.data.length,s.count=a.data[0].length,s.bounds=[];for(var c=0;c<s.columns;c++)s.bounds[c]=o(a.data[c],1)}a.range&&(s.range=a.range,r=s.range&&\\\"number\\\"!=typeof s.range[0]),a.domain&&(s.domain=a.domain);var d=!1;null!=a.padding&&(Array.isArray(a.padding)&&a.padding.length===s.columns&&\\\"number\\\"==typeof a.padding[a.padding.length-1]?(s.padding=a.padding.map(f),d=!0):s.padding=f(a.padding));var m=s.columns,v=s.count,g=s.viewport.width,y=s.viewport.height,_=s.viewport.x,b=s.viewport.y,x=g/m,w=y/m;s.passes=[];for(var A=0;A<m;A++)for(var C=0;C<m;C++)if((s.diagonal||C!==A)&&(s.upper||!(A>C))&&(s.lower||!(A<C))){var M=h(s.id,A,C),E=this.passes[M]||(this.passes[M]={});if(a.data&&(a.transpose?E.positions={x:{buffer:s.buffer,offset:C,count:v,stride:m},y:{buffer:s.buffer,offset:A,count:v,stride:m}}:E.positions={x:{buffer:s.buffer,offset:C*v,count:v},y:{buffer:s.buffer,offset:A*v,count:v}},E.bounds=p(s.bounds,A,C)),a.domain||a.viewport||a.data){var T=d?p(s.padding,A,C):s.padding;if(s.domain){var S=p(s.domain,A,C),k=S[0],O=S[1],I=S[2],L=S[3];E.viewport=[_+k*g+T[0],b+O*y+T[1],_+I*g-T[2],b+L*y-T[3]]}else E.viewport=[_+C*x+x*T[0],b+A*w+w*T[1],_+(C+1)*x-x*T[2],b+(A+1)*w-w*T[3]]}a.color&&(E.color=s.color),a.size&&(E.size=s.size),a.marker&&(E.marker=s.marker),a.borderSize&&(E.borderSize=s.borderSize),a.borderColor&&(E.borderColor=s.borderColor),a.opacity&&(E.opacity=s.opacity),a.range&&(E.range=r?p(s.range,A,C):s.range||E.bounds),s.passes.push(M)}return this},c.prototype.draw=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];if(e.length){for(var r=[],i=0;i<e.length;i++)if(\\\"number\\\"==typeof e[i]){var o=this.traces[e[i]],a=o.passes,l=o.passOffset;r.push.apply(r,s(l,l+a.length))}else if(e[i].length){var u=e[i],c=this.traces[i],h=c.passes,p=c.passOffset;h=h.map((function(t,e){r[p+e]=u}))}(t=this.scatter).draw.apply(t,r)}else this.scatter.draw();return this},c.prototype.destroy=function(){return this.traces.forEach((function(t){t.buffer&&t.buffer.destroy&&t.buffer.destroy()})),this.traces=null,this.passes=null,this.scatter.destroy(),this}},{\\\"array-bounds\\\":68,\\\"array-range\\\":70,\\\"flatten-vertex-data\\\":239,\\\"parse-rect\\\":457,\\\"pick-by-alias\\\":463,raf:482,\\\"regl-scatter2d\\\":490}],492:[function(t,e,n){var r;r=function(){function t(t,e){this.id=V++,this.type=t,this.data=e}function e(t){if(0===t.length)return[];var n=t.charAt(0),r=t.charAt(t.length-1);if(1<t.length&&n===r&&('\\\"'===n||\\\"'\\\"===n))return['\\\"'+t.substr(1,t.length-2).replace(/\\\\\\\\/g,\\\"\\\\\\\\\\\\\\\\\\\").replace(/\\\"/g,'\\\\\\\\\\\"')+'\\\"'];if(n=/\\\\[(false|true|null|\\\\d+|'[^']*'|\\\"[^\\\"]*\\\")\\\\]/.exec(t))return e(t.substr(0,n.index)).concat(e(n[1])).concat(e(t.substr(n.index+n[0].length)));if(1===(n=t.split(\\\".\\\")).length)return['\\\"'+t.replace(/\\\\\\\\/g,\\\"\\\\\\\\\\\\\\\\\\\").replace(/\\\"/g,'\\\\\\\\\\\"')+'\\\"'];for(t=[],r=0;r<n.length;++r)t=t.concat(e(n[r]));return t}function n(t){return\\\"[\\\"+e(t).join(\\\"][\\\")+\\\"]\\\"}function r(t){return\\\"string\\\"==typeof t?t.split():t}function i(t){return\\\"string\\\"==typeof t?document.querySelector(t):t}function o(t){var e,n,o,a,s=t||{};t={};var l=[],u=[],c=\\\"undefined\\\"==typeof window?1:window.devicePixelRatio,h=!1,p=function(t){},f=function(){};if(\\\"string\\\"==typeof s?e=document.querySelector(s):\\\"object\\\"==typeof s&&(\\\"string\\\"==typeof s.nodeName&&\\\"function\\\"==typeof s.appendChild&&\\\"function\\\"==typeof s.getBoundingClientRect?e=s:\\\"function\\\"==typeof s.drawArrays||\\\"function\\\"==typeof s.drawElements?o=(a=s).canvas:(\\\"gl\\\"in s?a=s.gl:\\\"canvas\\\"in s?o=i(s.canvas):\\\"container\\\"in s&&(n=i(s.container)),\\\"attributes\\\"in s&&(t=s.attributes),\\\"extensions\\\"in s&&(l=r(s.extensions)),\\\"optionalExtensions\\\"in s&&(u=r(s.optionalExtensions)),\\\"onDone\\\"in s&&(p=s.onDone),\\\"profile\\\"in s&&(h=!!s.profile),\\\"pixelRatio\\\"in s&&(c=+s.pixelRatio))),e&&(\\\"canvas\\\"===e.nodeName.toLowerCase()?o=e:n=e),!a){if(!o){if(!(e=function(t,e,n){function r(){var e=window.innerWidth,r=window.innerHeight;t!==document.body&&(e=(r=t.getBoundingClientRect()).right-r.left,r=r.bottom-r.top),o.width=n*e,o.height=n*r,q(o.style,{width:e+\\\"px\\\",height:r+\\\"px\\\"})}var i,o=document.createElement(\\\"canvas\\\");return q(o.style,{border:0,margin:0,padding:0,top:0,left:0}),t.appendChild(o),t===document.body&&(o.style.position=\\\"absolute\\\",q(t.style,{margin:0,padding:0})),t!==document.body&&\\\"function\\\"==typeof ResizeObserver?(i=new ResizeObserver((function(){setTimeout(r)}))).observe(t):window.addEventListener(\\\"resize\\\",r,!1),r(),{canvas:o,onDestroy:function(){i?i.disconnect():window.removeEventListener(\\\"resize\\\",r),t.removeChild(o)}}}(n||document.body,0,c)))return null;o=e.canvas,f=e.onDestroy}void 0===t.premultipliedAlpha&&(t.premultipliedAlpha=!0),a=function(t,e){function n(n){try{return t.getContext(n,e)}catch(t){return null}}return n(\\\"webgl\\\")||n(\\\"experimental-webgl\\\")||n(\\\"webgl-experimental\\\")}(o,t)}return a?{gl:a,canvas:o,container:n,extensions:l,optionalExtensions:u,pixelRatio:c,profile:h,onDone:p,onDestroy:f}:(f(),p(\\\"webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org\\\"),null)}function a(t,e){for(var n=Array(t),r=0;r<t;++r)n[r]=e(r);return n}function s(t){var e,n;return e=(65535<t)<<4,e|=n=(255<(t>>>=e))<<3,(e|=n=(15<(t>>>=n))<<2)|(n=(3<(t>>>=n))<<1)|t>>>n>>1}function l(){function t(t){t:{for(var e=16;268435456>=e;e*=16)if(t<=e){t=e;break t}t=0}return 0<(e=n[s(t)>>2]).length?e.pop():new ArrayBuffer(t)}function e(t){n[s(t.byteLength)>>2].push(t)}var n=a(8,(function(){return[]}));return{alloc:t,free:e,allocType:function(e,n){var r=null;switch(e){case 5120:r=new Int8Array(t(n),0,n);break;case 5121:r=new Uint8Array(t(n),0,n);break;case 5122:r=new Int16Array(t(2*n),0,n);break;case 5123:r=new Uint16Array(t(2*n),0,n);break;case 5124:r=new Int32Array(t(4*n),0,n);break;case 5125:r=new Uint32Array(t(4*n),0,n);break;case 5126:r=new Float32Array(t(4*n),0,n);break;default:return null}return r.length!==n?r.subarray(0,n):r},freeType:function(t){e(t.buffer)}}}function u(t){return!!t&&\\\"object\\\"==typeof t&&Array.isArray(t.shape)&&Array.isArray(t.stride)&&\\\"number\\\"==typeof t.offset&&t.shape.length===t.stride.length&&(Array.isArray(t.data)||Z(t.data))}function c(t,e,n,r,i,o){for(var a=0;a<e;++a)for(var s=t[a],l=0;l<n;++l)for(var u=s[l],c=0;c<r;++c)i[o++]=u[c]}function h(t,e,n,r,i){for(var o=1,a=n+1;a<e.length;++a)o*=e[a];var s=e[n];if(4==e.length-n){var l=e[n+1],u=e[n+2];for(e=e[n+3],a=0;a<s;++a)c(t[a],l,u,e,r,i),i+=o}else for(a=0;a<s;++a)h(t[a],e,n+1,r,i),i+=o}function p(t){return 0|Q[Object.prototype.toString.call(t)]}function f(t,e){for(var n=0;n<e.length;++n)t[n]=e[n]}function d(t,e,n,r,i,o,a){for(var s=0,l=0;l<n;++l)for(var u=0;u<r;++u)t[s++]=e[i*l+o*u+a]}function m(t,e,n,r){function i(e){this.id=l++,this.buffer=t.createBuffer(),this.type=e,this.usage=35044,this.byteLength=0,this.dimension=1,this.dtype=5121,this.persistentData=null,n.profile&&(this.stats={size:0})}function o(e,n,r){e.byteLength=n.byteLength,t.bufferData(e.type,n,r)}function a(t,e,n,r,i,a){if(t.usage=n,Array.isArray(e)){if(t.dtype=r||5126,0<e.length)if(Array.isArray(e[0])){i=rt(e);for(var s=r=1;s<i.length;++s)r*=i[s];t.dimension=r,o(t,e=nt(e,i,t.dtype),n),a?t.persistentData=e:X.freeType(e)}else\\\"number\\\"==typeof e[0]?(t.dimension=i,f(i=X.allocType(t.dtype,e.length),e),o(t,i,n),a?t.persistentData=i:X.freeType(i)):Z(e[0])&&(t.dimension=e[0].length,t.dtype=r||p(e[0])||5126,o(t,e=nt(e,[e.length,e[0].length],t.dtype),n),a?t.persistentData=e:X.freeType(e))}else if(Z(e))t.dtype=r||p(e),t.dimension=i,o(t,e,n),a&&(t.persistentData=new Uint8Array(new Uint8Array(e.buffer)));else if(u(e)){i=e.shape;var l=e.stride,c=(s=e.offset,0),h=0,m=0,v=0;1===i.length?(c=i[0],h=1,m=l[0],v=0):2===i.length&&(c=i[0],h=i[1],m=l[0],v=l[1]),t.dtype=r||p(e.data)||5126,t.dimension=h,d(i=X.allocType(t.dtype,c*h),e.data,c,h,m,v,s),o(t,i,n),a?t.persistentData=i:X.freeType(i)}else e instanceof ArrayBuffer&&(t.dtype=5121,t.dimension=i,o(t,e,n),a&&(t.persistentData=new Uint8Array(new Uint8Array(e))))}function s(n){e.bufferCount--,r(n),t.deleteBuffer(n.buffer),n.buffer=null,delete c[n.id]}var l=0,c={};i.prototype.bind=function(){t.bindBuffer(this.type,this.buffer)},i.prototype.destroy=function(){s(this)};var h=[];return n.profile&&(e.getTotalBufferSize=function(){var t=0;return Object.keys(c).forEach((function(e){t+=c[e].stats.size})),t}),{create:function(r,o,l,h){function m(e){var r=35044,i=null,o=0,s=0,l=1;return Array.isArray(e)||Z(e)||u(e)||e instanceof ArrayBuffer?i=e:\\\"number\\\"==typeof e?o=0|e:e&&(\\\"data\\\"in e&&(i=e.data),\\\"usage\\\"in e&&(r=et[e.usage]),\\\"type\\\"in e&&(s=tt[e.type]),\\\"dimension\\\"in e&&(l=0|e.dimension),\\\"length\\\"in e&&(o=0|e.length)),v.bind(),i?a(v,i,r,s,l,h):(o&&t.bufferData(v.type,o,r),v.dtype=s||5121,v.usage=r,v.dimension=l,v.byteLength=o),n.profile&&(v.stats.size=v.byteLength*it[v.dtype]),m}e.bufferCount++;var v=new i(o);return c[v.id]=v,l||m(r),m._reglType=\\\"buffer\\\",m._buffer=v,m.subdata=function(e,n){var r,i=0|(n||0);if(v.bind(),Z(e)||e instanceof ArrayBuffer)t.bufferSubData(v.type,i,e);else if(Array.isArray(e)){if(0<e.length)if(\\\"number\\\"==typeof e[0]){var o=X.allocType(v.dtype,e.length);f(o,e),t.bufferSubData(v.type,i,o),X.freeType(o)}else(Array.isArray(e[0])||Z(e[0]))&&(r=rt(e),o=nt(e,r,v.dtype),t.bufferSubData(v.type,i,o),X.freeType(o))}else if(u(e)){r=e.shape;var a=e.stride,s=o=0,l=0,c=0;1===r.length?(o=r[0],s=1,l=a[0],c=0):2===r.length&&(o=r[0],s=r[1],l=a[0],c=a[1]),r=Array.isArray(e.data)?v.dtype:p(e.data),d(r=X.allocType(r,o*s),e.data,o,s,l,c,e.offset),t.bufferSubData(v.type,i,r),X.freeType(r)}return m},n.profile&&(m.stats=v.stats),m.destroy=function(){s(v)},m},createStream:function(t,e){var n=h.pop();return n||(n=new i(t)),n.bind(),a(n,e,35040,0,1,!1),n},destroyStream:function(t){h.push(t)},clear:function(){K(c).forEach(s),h.forEach(s)},getBuffer:function(t){return t&&t._buffer instanceof i?t._buffer:null},restore:function(){K(c).forEach((function(e){e.buffer=t.createBuffer(),t.bindBuffer(e.type,e.buffer),t.bufferData(e.type,e.persistentData||e.byteLength,e.usage)}))},_initBuffer:a}}function v(t,e,n,r){function i(t){this.id=l++,s[this.id]=this,this.buffer=t,this.primType=4,this.type=this.vertCount=0}function o(r,i,o,a,s,l,c){var h;if(r.buffer.bind(),i?((h=c)||Z(i)&&(!u(i)||Z(i.data))||(h=e.oes_element_index_uint?5125:5123),n._initBuffer(r.buffer,i,o,h,3)):(t.bufferData(34963,l,o),r.buffer.dtype=h||5121,r.buffer.usage=o,r.buffer.dimension=3,r.buffer.byteLength=l),h=c,!c){switch(r.buffer.dtype){case 5121:case 5120:h=5121;break;case 5123:case 5122:h=5123;break;case 5125:case 5124:h=5125}r.buffer.dtype=h}r.type=h,0>(i=s)&&(i=r.buffer.byteLength,5123===h?i>>=1:5125===h&&(i>>=2)),r.vertCount=i,i=a,0>a&&(i=4,1===(a=r.buffer.dimension)&&(i=0),2===a&&(i=1),3===a&&(i=4)),r.primType=i}function a(t){r.elementsCount--,delete s[t.id],t.buffer.destroy(),t.buffer=null}var s={},l=0,c={uint8:5121,uint16:5123};e.oes_element_index_uint&&(c.uint32=5125),i.prototype.bind=function(){this.buffer.bind()};var h=[];return{create:function(t,e){function s(t){if(t)if(\\\"number\\\"==typeof t)l(t),h.primType=4,h.vertCount=0|t,h.type=5121;else{var e=null,n=35044,r=-1,i=-1,a=0,p=0;Array.isArray(t)||Z(t)||u(t)?e=t:(\\\"data\\\"in t&&(e=t.data),\\\"usage\\\"in t&&(n=et[t.usage]),\\\"primitive\\\"in t&&(r=ot[t.primitive]),\\\"count\\\"in t&&(i=0|t.count),\\\"type\\\"in t&&(p=c[t.type]),\\\"length\\\"in t?a=0|t.length:(a=i,5123===p||5122===p?a*=2:5125!==p&&5124!==p||(a*=4))),o(h,e,n,r,i,a,p)}else l(),h.primType=4,h.vertCount=0,h.type=5121;return s}var l=n.create(null,34963,!0),h=new i(l._buffer);return r.elementsCount++,s(t),s._reglType=\\\"elements\\\",s._elements=h,s.subdata=function(t,e){return l.subdata(t,e),s},s.destroy=function(){a(h)},s},createStream:function(t){var e=h.pop();return e||(e=new i(n.create(null,34963,!0,!1)._buffer)),o(e,t,35040,-1,-1,0,0),e},destroyStream:function(t){h.push(t)},getElements:function(t){return\\\"function\\\"==typeof t&&t._elements instanceof i?t._elements:null},clear:function(){K(s).forEach(a)}}}function g(t){for(var e=X.allocType(5123,t.length),n=0;n<t.length;++n)if(isNaN(t[n]))e[n]=65535;else if(1/0===t[n])e[n]=31744;else if(-1/0===t[n])e[n]=64512;else{at[0]=t[n];var r=(o=st[0])>>>31<<15,i=(o<<1>>>24)-127,o=o>>13&1023;e[n]=-24>i?r:-14>i?r+(o+1024>>-14-i):15<i?r+31744:r+(i+15<<10)+o}return e}function y(t){return Array.isArray(t)||Z(t)}function _(t){return\\\"[object \\\"+t+\\\"]\\\"}function b(t){return Array.isArray(t)&&(0===t.length||\\\"number\\\"==typeof t[0])}function x(t){return!(!Array.isArray(t)||0===t.length||!y(t[0]))}function w(t){return Object.prototype.toString.call(t)}function A(t){if(!t)return!1;var e=w(t);return 0<=gt.indexOf(e)||b(t)||x(t)||u(t)}function C(t,e){36193===t.type?(t.data=g(e),X.freeType(e)):t.data=e}function M(t,e,n,r,i,o){if(t=void 0!==_t[t]?_t[t]:ct[t]*yt[e],o&&(t*=6),i){for(r=0;1<=n;)r+=t*n*n,n/=2;return r}return t*n*r}function E(t,e,n,r,i,o,a){function s(){this.format=this.internalformat=6408,this.type=5121,this.flipY=this.premultiplyAlpha=this.compressed=!1,this.unpackAlignment=1,this.colorSpace=37444,this.channels=this.height=this.width=0}function l(t,e){t.internalformat=e.internalformat,t.format=e.format,t.type=e.type,t.compressed=e.compressed,t.premultiplyAlpha=e.premultiplyAlpha,t.flipY=e.flipY,t.unpackAlignment=e.unpackAlignment,t.colorSpace=e.colorSpace,t.width=e.width,t.height=e.height,t.channels=e.channels}function c(t,e){if(\\\"object\\\"==typeof e&&e){\\\"premultiplyAlpha\\\"in e&&(t.premultiplyAlpha=e.premultiplyAlpha),\\\"flipY\\\"in e&&(t.flipY=e.flipY),\\\"alignment\\\"in e&&(t.unpackAlignment=e.alignment),\\\"colorSpace\\\"in e&&(t.colorSpace=U[e.colorSpace]),\\\"type\\\"in e&&(t.type=V[e.type]);var n=t.width,r=t.height,i=t.channels,o=!1;\\\"shape\\\"in e?(n=e.shape[0],r=e.shape[1],3===e.shape.length&&(i=e.shape[2],o=!0)):(\\\"radius\\\"in e&&(n=r=e.radius),\\\"width\\\"in e&&(n=e.width),\\\"height\\\"in e&&(r=e.height),\\\"channels\\\"in e&&(i=e.channels,o=!0)),t.width=0|n,t.height=0|r,t.channels=0|i,n=!1,\\\"format\\\"in e&&(n=e.format,r=t.internalformat=H[n],t.format=ot[r],n in V&&!(\\\"type\\\"in e)&&(t.type=V[n]),n in G&&(t.compressed=!0),n=!0),!o&&n?t.channels=ct[t.format]:o&&!n&&t.channels!==ut[t.format]&&(t.format=t.internalformat=ut[t.channels])}}function h(e){t.pixelStorei(37440,e.flipY),t.pixelStorei(37441,e.premultiplyAlpha),t.pixelStorei(37443,e.colorSpace),t.pixelStorei(3317,e.unpackAlignment)}function p(){s.call(this),this.yOffset=this.xOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function f(t,e){var n=null;if(A(e)?n=e:e&&(c(t,e),\\\"x\\\"in e&&(t.xOffset=0|e.x),\\\"y\\\"in e&&(t.yOffset=0|e.y),A(e.data)&&(n=e.data)),e.copy){var r=i.viewportWidth,o=i.viewportHeight;t.width=t.width||r-t.xOffset,t.height=t.height||o-t.yOffset,t.needsCopy=!0}else if(n){if(Z(n))t.channels=t.channels||4,t.data=n,\\\"type\\\"in e||5121!==t.type||(t.type=0|Q[Object.prototype.toString.call(n)]);else if(b(n)){switch(t.channels=t.channels||4,o=(r=n).length,t.type){case 5121:case 5123:case 5125:case 5126:(o=X.allocType(t.type,o)).set(r),t.data=o;break;case 36193:t.data=g(r)}t.alignment=1,t.needsFree=!0}else if(u(n)){r=n.data,Array.isArray(r)||5121!==t.type||(t.type=0|Q[Object.prototype.toString.call(r)]),o=n.shape;var a,s,l,h,p=n.stride;3===o.length?(l=o[2],h=p[2]):h=l=1,a=o[0],s=o[1],o=p[0],p=p[1],t.alignment=1,t.width=a,t.height=s,t.channels=l,t.format=t.internalformat=ut[l],t.needsFree=!0,a=h,n=n.offset,l=t.width,h=t.height,s=t.channels;for(var f=X.allocType(36193===t.type?5126:t.type,l*h*s),d=0,m=0;m<h;++m)for(var v=0;v<l;++v)for(var _=0;_<s;++_)f[d++]=r[o*v+p*m+a*_+n];C(t,f)}else if(w(n)===ht||w(n)===pt||w(n)===ft)w(n)===ht||w(n)===pt?t.element=n:t.element=n.canvas,t.width=t.element.width,t.height=t.element.height,t.channels=4;else if(w(n)===dt)t.element=n,t.width=n.width,t.height=n.height,t.channels=4;else if(w(n)===mt)t.element=n,t.width=n.naturalWidth,t.height=n.naturalHeight,t.channels=4;else if(w(n)===vt)t.element=n,t.width=n.videoWidth,t.height=n.videoHeight,t.channels=4;else if(x(n)){for(r=t.width||n[0].length,o=t.height||n.length,p=t.channels,p=y(n[0][0])?p||n[0][0].length:p||1,a=J.shape(n),l=1,h=0;h<a.length;++h)l*=a[h];l=X.allocType(36193===t.type?5126:t.type,l),J.flatten(n,a,\\\"\\\",l),C(t,l),t.alignment=1,t.width=r,t.height=o,t.channels=p,t.format=t.internalformat=ut[p],t.needsFree=!0}}else t.width=t.width||1,t.height=t.height||1,t.channels=t.channels||4}function d(e,n,i,o,a){var s=e.element,l=e.data,u=e.internalformat,c=e.format,p=e.type,f=e.width,d=e.height;h(e),s?t.texSubImage2D(n,a,i,o,c,p,s):e.compressed?t.compressedTexSubImage2D(n,a,i,o,u,f,d,l):e.needsCopy?(r(),t.copyTexSubImage2D(n,a,i,o,e.xOffset,e.yOffset,f,d)):t.texSubImage2D(n,a,i,o,f,d,c,p,l)}function m(){return at.pop()||new p}function v(t){t.needsFree&&X.freeType(t.data),p.call(t),at.push(t)}function _(){s.call(this),this.genMipmaps=!1,this.mipmapHint=4352,this.mipmask=0,this.images=Array(16)}function E(t,e,n){var r=t.images[0]=m();t.mipmask=1,r.width=t.width=e,r.height=t.height=n,r.channels=t.channels=4}function T(t,e){var n=null;if(A(e))l(n=t.images[0]=m(),t),f(n,e),t.mipmask=1;else if(c(t,e),Array.isArray(e.mipmap))for(var r=e.mipmap,i=0;i<r.length;++i)l(n=t.images[i]=m(),t),n.width>>=i,n.height>>=i,f(n,r[i]),t.mipmask|=1<<i;else l(n=t.images[0]=m(),t),f(n,e),t.mipmask=1;l(t,t.images[0])}function S(e,n){for(var i=e.images,o=0;o<i.length&&i[o];++o){var a=i[o],s=n,l=o,u=a.element,c=a.data,p=a.internalformat,f=a.format,d=a.type,m=a.width,v=a.height;h(a),u?t.texImage2D(s,l,f,f,d,u):a.compressed?t.compressedTexImage2D(s,l,p,m,v,0,c):a.needsCopy?(r(),t.copyTexImage2D(s,l,f,a.xOffset,a.yOffset,m,v,0)):t.texImage2D(s,l,f,m,v,0,f,d,c||null)}}function k(){var t=st.pop()||new _;s.call(t);for(var e=t.mipmask=0;16>e;++e)t.images[e]=null;return t}function O(t){for(var e=t.images,n=0;n<e.length;++n)e[n]&&v(e[n]),e[n]=null;st.push(t)}function I(){this.magFilter=this.minFilter=9728,this.wrapT=this.wrapS=33071,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=4352}function L(t,e){\\\"min\\\"in e&&(t.minFilter=j[e.min],0<=lt.indexOf(t.minFilter)&&!(\\\"faces\\\"in e)&&(t.genMipmaps=!0)),\\\"mag\\\"in e&&(t.magFilter=F[e.mag]);var n=t.wrapS,r=t.wrapT;if(\\\"wrap\\\"in e){var i=e.wrap;\\\"string\\\"==typeof i?n=r=N[i]:Array.isArray(i)&&(n=N[i[0]],r=N[i[1]])}else\\\"wrapS\\\"in e&&(n=N[e.wrapS]),\\\"wrapT\\\"in e&&(r=N[e.wrapT]);if(t.wrapS=n,t.wrapT=r,\\\"anisotropic\\\"in e&&(t.anisotropic=e.anisotropic),\\\"mipmap\\\"in e){switch(n=!1,typeof e.mipmap){case\\\"string\\\":t.mipmapHint=B[e.mipmap],n=t.genMipmaps=!0;break;case\\\"boolean\\\":n=t.genMipmaps=e.mipmap;break;case\\\"object\\\":t.genMipmaps=!1,n=!0}!n||\\\"min\\\"in e||(t.minFilter=9984)}}function P(n,r){t.texParameteri(r,10241,n.minFilter),t.texParameteri(r,10240,n.magFilter),t.texParameteri(r,10242,n.wrapS),t.texParameteri(r,10243,n.wrapT),e.ext_texture_filter_anisotropic&&t.texParameteri(r,34046,n.anisotropic),n.genMipmaps&&(t.hint(33170,n.mipmapHint),t.generateMipmap(r))}function z(e){s.call(this),this.mipmask=0,this.internalformat=6408,this.id=gt++,this.refCount=1,this.target=e,this.texture=t.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new I,a.profile&&(this.stats={size:0})}function R(e){t.activeTexture(33984),t.bindTexture(e.target,e.texture)}function D(){var e=bt[0];e?t.bindTexture(e.target,e.texture):t.bindTexture(3553,null)}function $(e){var n=e.texture,r=e.unit,i=e.target;0<=r&&(t.activeTexture(33984+r),t.bindTexture(i,null),bt[r]=null),t.deleteTexture(n),e.texture=null,e.params=null,e.pixels=null,e.refCount=0,delete yt[e.id],o.textureCount--}var B={\\\"don't care\\\":4352,\\\"dont care\\\":4352,nice:4354,fast:4353},N={repeat:10497,clamp:33071,mirror:33648},F={nearest:9728,linear:9729},j=q({mipmap:9987,\\\"nearest mipmap nearest\\\":9984,\\\"linear mipmap nearest\\\":9985,\\\"nearest mipmap linear\\\":9986,\\\"linear mipmap linear\\\":9987},F),U={none:0,browser:37444},V={uint8:5121,rgba4:32819,rgb565:33635,\\\"rgb5 a1\\\":32820},H={alpha:6406,luminance:6409,\\\"luminance alpha\\\":6410,rgb:6407,rgba:6408,rgba4:32854,\\\"rgb5 a1\\\":32855,rgb565:36194},G={};e.ext_srgb&&(H.srgb=35904,H.srgba=35906),e.oes_texture_float&&(V.float32=V.float=5126),e.oes_texture_half_float&&(V.float16=V[\\\"half float\\\"]=36193),e.webgl_depth_texture&&(q(H,{depth:6402,\\\"depth stencil\\\":34041}),q(V,{uint16:5123,uint32:5125,\\\"depth stencil\\\":34042})),e.webgl_compressed_texture_s3tc&&q(G,{\\\"rgb s3tc dxt1\\\":33776,\\\"rgba s3tc dxt1\\\":33777,\\\"rgba s3tc dxt3\\\":33778,\\\"rgba s3tc dxt5\\\":33779}),e.webgl_compressed_texture_atc&&q(G,{\\\"rgb atc\\\":35986,\\\"rgba atc explicit alpha\\\":35987,\\\"rgba atc interpolated alpha\\\":34798}),e.webgl_compressed_texture_pvrtc&&q(G,{\\\"rgb pvrtc 4bppv1\\\":35840,\\\"rgb pvrtc 2bppv1\\\":35841,\\\"rgba pvrtc 4bppv1\\\":35842,\\\"rgba pvrtc 2bppv1\\\":35843}),e.webgl_compressed_texture_etc1&&(G[\\\"rgb etc1\\\"]=36196);var W=Array.prototype.slice.call(t.getParameter(34467));Object.keys(G).forEach((function(t){var e=G[t];0<=W.indexOf(e)&&(H[t]=e)}));var Y=Object.keys(H);n.textureFormats=Y;var tt=[];Object.keys(H).forEach((function(t){tt[H[t]]=t}));var et=[];Object.keys(V).forEach((function(t){et[V[t]]=t}));var nt=[];Object.keys(F).forEach((function(t){nt[F[t]]=t}));var rt=[];Object.keys(j).forEach((function(t){rt[j[t]]=t}));var it=[];Object.keys(N).forEach((function(t){it[N[t]]=t}));var ot=Y.reduce((function(t,n){var r=H[n];return 6409===r||6406===r||6409===r||6410===r||6402===r||34041===r||e.ext_srgb&&(35904===r||35906===r)?t[r]=r:32855===r||0<=n.indexOf(\\\"rgba\\\")?t[r]=6408:t[r]=6407,t}),{}),at=[],st=[],gt=0,yt={},_t=n.maxTextureUnits,bt=Array(_t).map((function(){return null}));return q(z.prototype,{bind:function(){this.bindCount+=1;var e=this.unit;if(0>e){for(var n=0;n<_t;++n){var r=bt[n];if(r){if(0<r.bindCount)continue;r.unit=-1}bt[n]=this,e=n;break}a.profile&&o.maxTextureUnits<e+1&&(o.maxTextureUnits=e+1),this.unit=e,t.activeTexture(33984+e),t.bindTexture(this.target,this.texture)}return e},unbind:function(){--this.bindCount},decRef:function(){0>=--this.refCount&&$(this)}}),a.profile&&(o.getTotalTextureSize=function(){var t=0;return Object.keys(yt).forEach((function(e){t+=yt[e].stats.size})),t}),{create2D:function(e,n){function r(t,e){var n=i.texInfo;I.call(n);var o=k();return\\\"number\\\"==typeof t?E(o,0|t,\\\"number\\\"==typeof e?0|e:0|t):t?(L(n,t),T(o,t)):E(o,1,1),n.genMipmaps&&(o.mipmask=(o.width<<1)-1),i.mipmask=o.mipmask,l(i,o),i.internalformat=o.internalformat,r.width=o.width,r.height=o.height,R(i),S(o,3553),P(n,3553),D(),O(o),a.profile&&(i.stats.size=M(i.internalformat,i.type,o.width,o.height,n.genMipmaps,!1)),r.format=tt[i.internalformat],r.type=et[i.type],r.mag=nt[n.magFilter],r.min=rt[n.minFilter],r.wrapS=it[n.wrapS],r.wrapT=it[n.wrapT],r}var i=new z(3553);return yt[i.id]=i,o.textureCount++,r(e,n),r.subimage=function(t,e,n,o){e|=0,n|=0,o|=0;var a=m();return l(a,i),a.width=0,a.height=0,f(a,t),a.width=a.width||(i.width>>o)-e,a.height=a.height||(i.height>>o)-n,R(i),d(a,3553,e,n,o),D(),v(a),r},r.resize=function(e,n){var o=0|e,s=0|n||o;if(o===i.width&&s===i.height)return r;r.width=i.width=o,r.height=i.height=s,R(i);for(var l=0;i.mipmask>>l;++l){var u=o>>l,c=s>>l;if(!u||!c)break;t.texImage2D(3553,l,i.format,u,c,0,i.format,i.type,null)}return D(),a.profile&&(i.stats.size=M(i.internalformat,i.type,o,s,!1,!1)),r},r._reglType=\\\"texture2d\\\",r._texture=i,a.profile&&(r.stats=i.stats),r.destroy=function(){i.decRef()},r},createCube:function(e,n,r,i,s,u){function h(t,e,n,r,i,o){var s,u=p.texInfo;for(I.call(u),s=0;6>s;++s)g[s]=k();if(\\\"number\\\"!=typeof t&&t){if(\\\"object\\\"==typeof t)if(e)T(g[0],t),T(g[1],e),T(g[2],n),T(g[3],r),T(g[4],i),T(g[5],o);else if(L(u,t),c(p,t),\\\"faces\\\"in t)for(t=t.faces,s=0;6>s;++s)l(g[s],p),T(g[s],t[s]);else for(s=0;6>s;++s)T(g[s],t)}else for(t=0|t||1,s=0;6>s;++s)E(g[s],t,t);for(l(p,g[0]),p.mipmask=u.genMipmaps?(g[0].width<<1)-1:g[0].mipmask,p.internalformat=g[0].internalformat,h.width=g[0].width,h.height=g[0].height,R(p),s=0;6>s;++s)S(g[s],34069+s);for(P(u,34067),D(),a.profile&&(p.stats.size=M(p.internalformat,p.type,h.width,h.height,u.genMipmaps,!0)),h.format=tt[p.internalformat],h.type=et[p.type],h.mag=nt[u.magFilter],h.min=rt[u.minFilter],h.wrapS=it[u.wrapS],h.wrapT=it[u.wrapT],s=0;6>s;++s)O(g[s]);return h}var p=new z(34067);yt[p.id]=p,o.cubeCount++;var g=Array(6);return h(e,n,r,i,s,u),h.subimage=function(t,e,n,r,i){n|=0,r|=0,i|=0;var o=m();return l(o,p),o.width=0,o.height=0,f(o,e),o.width=o.width||(p.width>>i)-n,o.height=o.height||(p.height>>i)-r,R(p),d(o,34069+t,n,r,i),D(),v(o),h},h.resize=function(e){if((e|=0)!==p.width){h.width=p.width=e,h.height=p.height=e,R(p);for(var n=0;6>n;++n)for(var r=0;p.mipmask>>r;++r)t.texImage2D(34069+n,r,p.format,e>>r,e>>r,0,p.format,p.type,null);return D(),a.profile&&(p.stats.size=M(p.internalformat,p.type,h.width,h.height,!1,!0)),h}},h._reglType=\\\"textureCube\\\",h._texture=p,a.profile&&(h.stats=p.stats),h.destroy=function(){p.decRef()},h},clear:function(){for(var e=0;e<_t;++e)t.activeTexture(33984+e),t.bindTexture(3553,null),bt[e]=null;K(yt).forEach($),o.cubeCount=0,o.textureCount=0},getTexture:function(t){return null},restore:function(){for(var e=0;e<_t;++e){var n=bt[e];n&&(n.bindCount=0,n.unit=-1,bt[e]=null)}K(yt).forEach((function(e){e.texture=t.createTexture(),t.bindTexture(e.target,e.texture);for(var n=0;32>n;++n)if(0!=(e.mipmask&1<<n))if(3553===e.target)t.texImage2D(3553,n,e.internalformat,e.width>>n,e.height>>n,0,e.internalformat,e.type,null);else for(var r=0;6>r;++r)t.texImage2D(34069+r,n,e.internalformat,e.width>>n,e.height>>n,0,e.internalformat,e.type,null);P(e.texInfo,e.target)}))}}}function T(t,e,n,r,i,o){function a(t,e,n){this.target=t,this.texture=e,this.renderbuffer=n;var r=t=0;e?(t=e.width,r=e.height):n&&(t=n.width,r=n.height),this.width=t,this.height=r}function s(t){t&&(t.texture&&t.texture._texture.decRef(),t.renderbuffer&&t.renderbuffer._renderbuffer.decRef())}function l(t,e,n){t&&(t.texture?t.texture._texture.refCount+=1:t.renderbuffer._renderbuffer.refCount+=1)}function u(e,n){n&&(n.texture?t.framebufferTexture2D(36160,e,n.target,n.texture._texture.texture,0):t.framebufferRenderbuffer(36160,e,36161,n.renderbuffer._renderbuffer.renderbuffer))}function c(t){var e=3553,n=null,r=null,i=t;return\\\"object\\\"==typeof t&&(i=t.data,\\\"target\\\"in t&&(e=0|t.target)),\\\"texture2d\\\"===(t=i._reglType)||\\\"textureCube\\\"===t?n=i:\\\"renderbuffer\\\"===t&&(r=i,e=36161),new a(e,n,r)}function h(t,e,n,o,s){return n?((t=r.create2D({width:t,height:e,format:o,type:s}))._texture.refCount=0,new a(3553,t,null)):((t=i.create({width:t,height:e,format:o}))._renderbuffer.refCount=0,new a(36161,null,t))}function p(t){return t&&(t.texture||t.renderbuffer)}function f(t,e,n){t&&(t.texture?t.texture.resize(e,n):t.renderbuffer&&t.renderbuffer.resize(e,n),t.width=e,t.height=n)}function d(){this.id=A++,C[this.id]=this,this.framebuffer=t.createFramebuffer(),this.height=this.width=0,this.colorAttachments=[],this.depthStencilAttachment=this.stencilAttachment=this.depthAttachment=null}function m(t){t.colorAttachments.forEach(s),s(t.depthAttachment),s(t.stencilAttachment),s(t.depthStencilAttachment)}function v(e){t.deleteFramebuffer(e.framebuffer),e.framebuffer=null,o.framebufferCount--,delete C[e.id]}function g(e){var r;t.bindFramebuffer(36160,e.framebuffer);var i=e.colorAttachments;for(r=0;r<i.length;++r)u(36064+r,i[r]);for(r=i.length;r<n.maxColorAttachments;++r)t.framebufferTexture2D(36160,36064+r,3553,null,0);t.framebufferTexture2D(36160,33306,3553,null,0),t.framebufferTexture2D(36160,36096,3553,null,0),t.framebufferTexture2D(36160,36128,3553,null,0),u(36096,e.depthAttachment),u(36128,e.stencilAttachment),u(33306,e.depthStencilAttachment),t.checkFramebufferStatus(36160),t.isContextLost(),t.bindFramebuffer(36160,_.next?_.next.framebuffer:null),_.cur=_.next,t.getError()}function y(t,e){function n(t,e){var i,o=0,a=0,s=!0,u=!0;i=null;var f=!0,d=\\\"rgba\\\",v=\\\"uint8\\\",y=1,_=null,w=null,A=null,C=!1;\\\"number\\\"==typeof t?(o=0|t,a=0|e||o):t?(\\\"shape\\\"in t?(o=(a=t.shape)[0],a=a[1]):(\\\"radius\\\"in t&&(o=a=t.radius),\\\"width\\\"in t&&(o=t.width),\\\"height\\\"in t&&(a=t.height)),(\\\"color\\\"in t||\\\"colors\\\"in t)&&(i=t.color||t.colors,Array.isArray(i)),i||(\\\"colorCount\\\"in t&&(y=0|t.colorCount),\\\"colorTexture\\\"in t&&(f=!!t.colorTexture,d=\\\"rgba4\\\"),\\\"colorType\\\"in t&&(v=t.colorType,!f)&&(\\\"half float\\\"===v||\\\"float16\\\"===v?d=\\\"rgba16f\\\":\\\"float\\\"!==v&&\\\"float32\\\"!==v||(d=\\\"rgba32f\\\")),\\\"colorFormat\\\"in t&&(d=t.colorFormat,0<=b.indexOf(d)?f=!0:0<=x.indexOf(d)&&(f=!1))),(\\\"depthTexture\\\"in t||\\\"depthStencilTexture\\\"in t)&&(C=!(!t.depthTexture&&!t.depthStencilTexture)),\\\"depth\\\"in t&&(\\\"boolean\\\"==typeof t.depth?s=t.depth:(_=t.depth,u=!1)),\\\"stencil\\\"in t&&(\\\"boolean\\\"==typeof t.stencil?u=t.stencil:(w=t.stencil,s=!1)),\\\"depthStencil\\\"in t&&(\\\"boolean\\\"==typeof t.depthStencil?s=u=t.depthStencil:(A=t.depthStencil,u=s=!1))):o=a=1;var M=null,E=null,T=null,S=null;if(Array.isArray(i))M=i.map(c);else if(i)M=[c(i)];else for(M=Array(y),i=0;i<y;++i)M[i]=h(o,a,f,d,v);for(o=o||M[0].width,a=a||M[0].height,_?E=c(_):s&&!u&&(E=h(o,a,C,\\\"depth\\\",\\\"uint32\\\")),w?T=c(w):u&&!s&&(T=h(o,a,!1,\\\"stencil\\\",\\\"uint8\\\")),A?S=c(A):!_&&!w&&u&&s&&(S=h(o,a,C,\\\"depth stencil\\\",\\\"depth stencil\\\")),s=null,i=0;i<M.length;++i)l(M[i]),M[i]&&M[i].texture&&(u=wt[M[i].texture._texture.format]*At[M[i].texture._texture.type],null===s&&(s=u));return l(E),l(T),l(S),m(r),r.width=o,r.height=a,r.colorAttachments=M,r.depthAttachment=E,r.stencilAttachment=T,r.depthStencilAttachment=S,n.color=M.map(p),n.depth=p(E),n.stencil=p(T),n.depthStencil=p(S),n.width=r.width,n.height=r.height,g(r),n}var r=new d;return o.framebufferCount++,n(t,e),q(n,{resize:function(t,e){var i=Math.max(0|t,1),o=Math.max(0|e||i,1);if(i===r.width&&o===r.height)return n;for(var a=r.colorAttachments,s=0;s<a.length;++s)f(a[s],i,o);return f(r.depthAttachment,i,o),f(r.stencilAttachment,i,o),f(r.depthStencilAttachment,i,o),r.width=n.width=i,r.height=n.height=o,g(r),n},_reglType:\\\"framebuffer\\\",_framebuffer:r,destroy:function(){v(r),m(r)},use:function(t){_.setFBO({framebuffer:n},t)}})}var _={cur:null,next:null,dirty:!1,setFBO:null},b=[\\\"rgba\\\"],x=[\\\"rgba4\\\",\\\"rgb565\\\",\\\"rgb5 a1\\\"];e.ext_srgb&&x.push(\\\"srgba\\\"),e.ext_color_buffer_half_float&&x.push(\\\"rgba16f\\\",\\\"rgb16f\\\"),e.webgl_color_buffer_float&&x.push(\\\"rgba32f\\\");var w=[\\\"uint8\\\"];e.oes_texture_half_float&&w.push(\\\"half float\\\",\\\"float16\\\"),e.oes_texture_float&&w.push(\\\"float\\\",\\\"float32\\\");var A=0,C={};return q(_,{getFramebuffer:function(t){return\\\"function\\\"==typeof t&&\\\"framebuffer\\\"===t._reglType&&(t=t._framebuffer)instanceof d?t:null},create:y,createCube:function(t){function e(t){var i,o={color:null},a=0,s=null;i=\\\"rgba\\\";var l=\\\"uint8\\\",u=1;if(\\\"number\\\"==typeof t?a=0|t:t?(\\\"shape\\\"in t?a=t.shape[0]:(\\\"radius\\\"in t&&(a=0|t.radius),\\\"width\\\"in t?a=0|t.width:\\\"height\\\"in t&&(a=0|t.height)),(\\\"color\\\"in t||\\\"colors\\\"in t)&&(s=t.color||t.colors,Array.isArray(s)),s||(\\\"colorCount\\\"in t&&(u=0|t.colorCount),\\\"colorType\\\"in t&&(l=t.colorType),\\\"colorFormat\\\"in t&&(i=t.colorFormat)),\\\"depth\\\"in t&&(o.depth=t.depth),\\\"stencil\\\"in t&&(o.stencil=t.stencil),\\\"depthStencil\\\"in t&&(o.depthStencil=t.depthStencil)):a=1,s)if(Array.isArray(s))for(t=[],i=0;i<s.length;++i)t[i]=s[i];else t=[s];else for(t=Array(u),s={radius:a,format:i,type:l},i=0;i<u;++i)t[i]=r.createCube(s);for(o.color=Array(t.length),i=0;i<t.length;++i)u=t[i],a=a||u.width,o.color[i]={target:34069,data:t[i]};for(i=0;6>i;++i){for(u=0;u<t.length;++u)o.color[u].target=34069+i;0<i&&(o.depth=n[0].depth,o.stencil=n[0].stencil,o.depthStencil=n[0].depthStencil),n[i]?n[i](o):n[i]=y(o)}return q(e,{width:a,height:a,color:t})}var n=Array(6);return e(t),q(e,{faces:n,resize:function(t){var r=0|t;if(r===e.width)return e;var i=e.color;for(t=0;t<i.length;++t)i[t].resize(r);for(t=0;6>t;++t)n[t].resize(r);return e.width=e.height=r,e},_reglType:\\\"framebufferCube\\\",destroy:function(){n.forEach((function(t){t.destroy()}))}})},clear:function(){K(C).forEach(v)},restore:function(){_.cur=null,_.next=null,_.dirty=!0,K(C).forEach((function(e){e.framebuffer=t.createFramebuffer(),g(e)}))}})}function S(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function k(t,e,n,r,i){function o(){this.id=++l,this.attributes=[];var t=e.oes_vertex_array_object;this.vao=t?t.createVertexArrayOES():null,c[this.id]=this,this.buffers=[]}var a=n.maxAttributes,s=Array(a);for(n=0;n<a;++n)s[n]=new S;var l=0,c={},h={Record:S,scope:{},state:s,currentVAO:null,targetVAO:null,restore:e.oes_vertex_array_object?function(){e.oes_vertex_array_object&&K(c).forEach((function(t){t.refresh()}))}:function(){},createVAO:function(t){function e(t){for(var r=0;r<n.buffers.length;++r)n.buffers[r].destroy();n.buffers.length=0,(r=n.attributes).length=t.length;for(var o=0;o<t.length;++o){var a=t[o],s=r[o]=new S;Array.isArray(a)||Z(a)||u(a)?(a=i.create(a,34962,!1,!0),s.buffer=i.getBuffer(a),s.size=0|s.buffer.dimension,s.normalized=!1,s.type=s.buffer.dtype,s.offset=0,s.stride=0,s.divisor=0,s.state=1,n.buffers.push(a)):i.getBuffer(a)?(s.buffer=i.getBuffer(a),s.size=0|s.buffer.dimension,s.normalized=!1,s.type=s.buffer.dtype,s.offset=0,s.stride=0,s.divisor=0,s.state=1):i.getBuffer(a.buffer)?(s.buffer=i.getBuffer(a.buffer),s.size=0|(+a.size||s.buffer.dimension),s.normalized=!!a.normalized||!1,s.type=\\\"type\\\"in a?tt[a.type]:s.buffer.dtype,s.offset=0|(a.offset||0),s.stride=0|(a.stride||0),s.divisor=0|(a.divisor||0),s.state=1):\\\"x\\\"in a&&(s.x=+a.x||0,s.y=+a.y||0,s.z=+a.z||0,s.w=+a.w||0,s.state=2)}return n.refresh(),e}var n=new o;return r.vaoCount+=1,e.destroy=function(){n.destroy()},e._vao=n,e._reglType=\\\"vao\\\",e(t)},getVAO:function(t){return\\\"function\\\"==typeof t&&t._vao?t._vao:null},destroyBuffer:function(e){for(var n=0;n<s.length;++n){var r=s[n];r.buffer===e&&(t.disableVertexAttribArray(n),r.buffer=null)}},setVAO:e.oes_vertex_array_object?function(t){if(t!==h.currentVAO){var n=e.oes_vertex_array_object;t?n.bindVertexArrayOES(t.vao):n.bindVertexArrayOES(null),h.currentVAO=t}}:function(n){if(n!==h.currentVAO){if(n)n.bindAttrs();else for(var r=e.angle_instanced_arrays,i=0;i<s.length;++i){var o=s[i];o.buffer?(t.enableVertexAttribArray(i),t.vertexAttribPointer(i,o.size,o.type,o.normalized,o.stride,o.offfset),r&&r.vertexAttribDivisorANGLE(i,o.divisor)):(t.disableVertexAttribArray(i),t.vertexAttrib4f(i,o.x,o.y,o.z,o.w))}h.currentVAO=n}},clear:e.oes_vertex_array_object?function(){K(c).forEach((function(t){t.destroy()}))}:function(){}};return o.prototype.bindAttrs=function(){for(var n=e.angle_instanced_arrays,r=this.attributes,i=0;i<r.length;++i){var o=r[i];o.buffer?(t.enableVertexAttribArray(i),t.bindBuffer(34962,o.buffer.buffer),t.vertexAttribPointer(i,o.size,o.type,o.normalized,o.stride,o.offset),n&&n.vertexAttribDivisorANGLE(i,o.divisor)):(t.disableVertexAttribArray(i),t.vertexAttrib4f(i,o.x,o.y,o.z,o.w))}for(n=r.length;n<a;++n)t.disableVertexAttribArray(n)},o.prototype.refresh=function(){var t=e.oes_vertex_array_object;t&&(t.bindVertexArrayOES(this.vao),this.bindAttrs(),h.currentVAO=this)},o.prototype.destroy=function(){if(this.vao){var t=e.oes_vertex_array_object;this===h.currentVAO&&(h.currentVAO=null,t.bindVertexArrayOES(null)),t.deleteVertexArrayOES(this.vao),this.vao=null}c[this.id]&&(delete c[this.id],--r.vaoCount)},h}function O(t,e,n,r){function i(t,e,n,r){this.name=t,this.id=e,this.location=n,this.info=r}function o(t,e){for(var n=0;n<t.length;++n)if(t[n].id===e.id)return void(t[n].location=e.location);t.push(e)}function a(n,r,i){if(!(a=(i=35632===n?u:c)[r])){var o=e.str(r),a=t.createShader(n);t.shaderSource(a,o),t.compileShader(a),i[r]=a}return a}function s(t,e){this.id=f++,this.fragId=t,this.vertId=e,this.program=null,this.uniforms=[],this.attributes=[],r.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function l(n,s,l){var u;u=a(35632,n.fragId);var c=a(35633,n.vertId);if(s=n.program=t.createProgram(),t.attachShader(s,u),t.attachShader(s,c),l)for(u=0;u<l.length;++u)c=l[u],t.bindAttribLocation(s,c[0],c[1]);t.linkProgram(s),c=t.getProgramParameter(s,35718),r.profile&&(n.stats.uniformsCount=c);var h=n.uniforms;for(u=0;u<c;++u)if(l=t.getActiveUniform(s,u))if(1<l.size)for(var p=0;p<l.size;++p){var f=l.name.replace(\\\"[0]\\\",\\\"[\\\"+p+\\\"]\\\");o(h,new i(f,e.id(f),t.getUniformLocation(s,f),l))}else o(h,new i(l.name,e.id(l.name),t.getUniformLocation(s,l.name),l));for(c=t.getProgramParameter(s,35721),r.profile&&(n.stats.attributesCount=c),n=n.attributes,u=0;u<c;++u)(l=t.getActiveAttrib(s,u))&&o(n,new i(l.name,e.id(l.name),t.getAttribLocation(s,l.name),l))}var u={},c={},h={},p=[],f=0;return r.profile&&(n.getMaxUniformsCount=function(){var t=0;return p.forEach((function(e){e.stats.uniformsCount>t&&(t=e.stats.uniformsCount)})),t},n.getMaxAttributesCount=function(){var t=0;return p.forEach((function(e){e.stats.attributesCount>t&&(t=e.stats.attributesCount)})),t}),{clear:function(){var e=t.deleteShader.bind(t);K(u).forEach(e),u={},K(c).forEach(e),c={},p.forEach((function(e){t.deleteProgram(e.program)})),p.length=0,h={},n.shaderCount=0},program:function(t,e,r,i){var o=h[e];o||(o=h[e]={});var a=o[t];return a&&!i?a:(e=new s(e,t),n.shaderCount++,l(e,r,i),a||(o[t]=e),p.push(e),e)},restore:function(){u={},c={};for(var t=0;t<p.length;++t)l(p[t],null,p[t].attributes.map((function(t){return[t.location,t.name]})))},shader:a,frag:-1,vert:-1}}function I(t,e,n,r,i,o,a){function s(i){var o;o=null===e.next?5121:e.next.colorAttachments[0].texture._texture.type;var a=0,s=0,l=r.framebufferWidth,u=r.framebufferHeight,c=null;return Z(i)?c=i:i&&(a=0|i.x,s=0|i.y,l=0|(i.width||r.framebufferWidth-a),u=0|(i.height||r.framebufferHeight-s),c=i.data||null),n(),i=l*u*4,c||(5121===o?c=new Uint8Array(i):5126===o&&(c=c||new Float32Array(i))),t.pixelStorei(3333,4),t.readPixels(a,s,l,u,6408,o,c),c}return function(t){return t&&\\\"framebuffer\\\"in t?function(t){var n;return e.setFBO({framebuffer:t.framebuffer},(function(){n=s(t)})),n}(t):s(t)}}function L(t){return Array.prototype.slice.call(t)}function P(t){return L(t).join(\\\"\\\")}function z(){function t(){var t=[],e=[];return q((function(){t.push.apply(t,L(arguments))}),{def:function(){var r=\\\"v\\\"+n++;return e.push(r),0<arguments.length&&(t.push(r,\\\"=\\\"),t.push.apply(t,L(arguments)),t.push(\\\";\\\")),r},toString:function(){return P([0<e.length?\\\"var \\\"+e.join(\\\",\\\")+\\\";\\\":\\\"\\\",P(t)])}})}function e(){function e(t,e){r(t,e,\\\"=\\\",n.def(t,e),\\\";\\\")}var n=t(),r=t(),i=n.toString,o=r.toString;return q((function(){n.apply(n,L(arguments))}),{def:n.def,entry:n,exit:r,save:e,set:function(t,r,i){e(t,r),n(t,r,\\\"=\\\",i,\\\";\\\")},toString:function(){return i()+o()}})}var n=0,r=[],i=[],o=t(),a={};return{global:o,link:function(t){for(var e=0;e<i.length;++e)if(i[e]===t)return r[e];return e=\\\"g\\\"+n++,r.push(e),i.push(t),e},block:t,proc:function(t,n){function r(){var t=\\\"a\\\"+i.length;return i.push(t),t}var i=[];n=n||0;for(var o=0;o<n;++o)r();var s=(o=e()).toString;return a[t]=q(o,{arg:r,toString:function(){return P([\\\"function(\\\",i.join(),\\\"){\\\",s(),\\\"}\\\"])}})},scope:e,cond:function(){var t=P(arguments),n=e(),r=e(),i=n.toString,o=r.toString;return q(n,{then:function(){return n.apply(n,L(arguments)),this},else:function(){return r.apply(r,L(arguments)),this},toString:function(){var e=o();return e&&(e=\\\"else{\\\"+e+\\\"}\\\"),P([\\\"if(\\\",t,\\\"){\\\",i(),\\\"}\\\",e])}})},compile:function(){var t=['\\\"use strict\\\";',o,\\\"return {\\\"];Object.keys(a).forEach((function(e){t.push('\\\"',e,'\\\":',a[e].toString(),\\\",\\\")})),t.push(\\\"}\\\");var e=P(t).replace(/;/g,\\\";\\\\n\\\").replace(/}/g,\\\"}\\\\n\\\").replace(/{/g,\\\"{\\\\n\\\");return Function.apply(null,r.concat(e)).apply(null,i)}}}function R(t){return Array.isArray(t)||Z(t)||u(t)}function D(t){return t.sort((function(t,e){return\\\"viewport\\\"===t?-1:\\\"viewport\\\"===e?1:t<e?-1:1}))}function $(t,e,n,r){this.thisDep=t,this.contextDep=e,this.propDep=n,this.append=r}function B(t){return t&&!(t.thisDep||t.contextDep||t.propDep)}function N(t){return new $(!1,!1,!1,t)}function F(t,e){var n=t.type;return 0===n?new $(!0,1<=(n=t.data.length),2<=n,e):4===n?new $((n=t.data).thisDep,n.contextDep,n.propDep,e):new $(3===n,2===n,1===n,e)}function j(t,e,n,r,i,o,s,l,u,c,h,p,f,d,m){function v(t){return t.replace(\\\".\\\",\\\"_\\\")}function g(t,e,n){var r=v(t);nt.push(t),et[r]=Q[r]=!!n,rt[r]=e}function _(t,e,n){var r=v(t);nt.push(t),Array.isArray(n)?(Q[r]=n.slice(),et[r]=n.slice()):Q[r]=et[r]=n,it[r]=e}function b(){var t=z(),n=t.link,r=t.global;t.id=lt++,t.batchId=\\\"0\\\";var i=n(at),o=t.shared={props:\\\"a0\\\"};Object.keys(at).forEach((function(t){o[t]=r.def(i,\\\".\\\",t)}));var a=t.next={},s=t.current={};Object.keys(it).forEach((function(t){Array.isArray(Q[t])&&(a[t]=r.def(o.next,\\\".\\\",t),s[t]=r.def(o.current,\\\".\\\",t))}));var l=t.constants={};Object.keys(st).forEach((function(t){l[t]=r.def(JSON.stringify(st[t]))})),t.invoke=function(e,r){switch(r.type){case 0:var i=[\\\"this\\\",o.context,o.props,t.batchId];return e.def(n(r.data),\\\".call(\\\",i.slice(0,Math.max(r.data.length+1,4)),\\\")\\\");case 1:return e.def(o.props,r.data);case 2:return e.def(o.context,r.data);case 3:return e.def(\\\"this\\\",r.data);case 4:return r.data.append(t,e),r.data.ref}},t.attribCache={};var u={};return t.scopeAttrib=function(t){if((t=e.id(t))in u)return u[t];var r=c.scope[t];return r||(r=c.scope[t]=new Y),u[t]=n(r)},t}function x(t,e){var n=t.static,r=t.dynamic;if(\\\"framebuffer\\\"in n){var i=n.framebuffer;return i?(i=l.getFramebuffer(i),N((function(t,e){var n=t.link(i),r=t.shared;return e.set(r.framebuffer,\\\".next\\\",n),r=r.context,e.set(r,\\\".framebufferWidth\\\",n+\\\".width\\\"),e.set(r,\\\".framebufferHeight\\\",n+\\\".height\\\"),n}))):N((function(t,e){var n=t.shared;return e.set(n.framebuffer,\\\".next\\\",\\\"null\\\"),n=n.context,e.set(n,\\\".framebufferWidth\\\",n+\\\".drawingBufferWidth\\\"),e.set(n,\\\".framebufferHeight\\\",n+\\\".drawingBufferHeight\\\"),\\\"null\\\"}))}if(\\\"framebuffer\\\"in r){var o=r.framebuffer;return F(o,(function(t,e){var n=t.invoke(e,o),r=t.shared,i=r.framebuffer;return n=e.def(i,\\\".getFramebuffer(\\\",n,\\\")\\\"),e.set(i,\\\".next\\\",n),r=r.context,e.set(r,\\\".framebufferWidth\\\",n+\\\"?\\\"+n+\\\".width:\\\"+r+\\\".drawingBufferWidth\\\"),e.set(r,\\\".framebufferHeight\\\",n+\\\"?\\\"+n+\\\".height:\\\"+r+\\\".drawingBufferHeight\\\"),n}))}return null}function w(t,n,r){function i(t){if(t in o){var n=e.id(o[t]);return(t=N((function(){return n}))).id=n,t}if(t in a){var r=a[t];return F(r,(function(t,e){var n=t.invoke(e,r);return e.def(t.shared.strings,\\\".id(\\\",n,\\\")\\\")}))}return null}var o=t.static,a=t.dynamic,s=i(\\\"frag\\\"),l=i(\\\"vert\\\"),u=null;return B(s)&&B(l)?(u=h.program(l.id,s.id,null,r),t=N((function(t,e){return t.link(u)}))):t=new $(s&&s.thisDep||l&&l.thisDep,s&&s.contextDep||l&&l.contextDep,s&&s.propDep||l&&l.propDep,(function(t,e){var n,r,i=t.shared.shader;return n=s?s.append(t,e):e.def(i,\\\".\\\",\\\"frag\\\"),r=l?l.append(t,e):e.def(i,\\\".\\\",\\\"vert\\\"),e.def(i+\\\".program(\\\"+r+\\\",\\\"+n+\\\")\\\")})),{frag:s,vert:l,progVar:t,program:u}}function A(t,e){function n(t,e){if(t in r){var n=0|r[t];return N((function(t,r){return e&&(t.OFFSET=n),n}))}if(t in i){var o=i[t];return F(o,(function(t,n){var r=t.invoke(n,o);return e&&(t.OFFSET=r),r}))}return e&&a?N((function(t,e){return t.OFFSET=\\\"0\\\",0})):null}var r=t.static,i=t.dynamic,a=function(){if(\\\"elements\\\"in r){var t=r.elements;R(t)?t=o.getElements(o.create(t,!0)):t&&(t=o.getElements(t));var e=N((function(e,n){if(t){var r=e.link(t);return e.ELEMENTS=r}return e.ELEMENTS=null}));return e.value=t,e}if(\\\"elements\\\"in i){var n=i.elements;return F(n,(function(t,e){var r=(i=t.shared).isBufferArgs,i=i.elements,o=t.invoke(e,n),a=e.def(\\\"null\\\");return r=e.def(r,\\\"(\\\",o,\\\")\\\"),o=t.cond(r).then(a,\\\"=\\\",i,\\\".createStream(\\\",o,\\\");\\\").else(a,\\\"=\\\",i,\\\".getElements(\\\",o,\\\");\\\"),e.entry(o),e.exit(t.cond(r).then(i,\\\".destroyStream(\\\",a,\\\");\\\")),t.ELEMENTS=a}))}return null}(),s=n(\\\"offset\\\",!0);return{elements:a,primitive:function(){if(\\\"primitive\\\"in r){var t=r.primitive;return N((function(e,n){return ot[t]}))}if(\\\"primitive\\\"in i){var e=i.primitive;return F(e,(function(t,n){var r=t.constants.primTypes,i=t.invoke(n,e);return n.def(r,\\\"[\\\",i,\\\"]\\\")}))}return a?B(a)?a.value?N((function(t,e){return e.def(t.ELEMENTS,\\\".primType\\\")})):N((function(){return 4})):new $(a.thisDep,a.contextDep,a.propDep,(function(t,e){var n=t.ELEMENTS;return e.def(n,\\\"?\\\",n,\\\".primType:\\\",4)})):null}(),count:function(){if(\\\"count\\\"in r){var t=0|r.count;return N((function(){return t}))}if(\\\"count\\\"in i){var e=i.count;return F(e,(function(t,n){return t.invoke(n,e)}))}return a?B(a)?a?s?new $(s.thisDep,s.contextDep,s.propDep,(function(t,e){return e.def(t.ELEMENTS,\\\".vertCount-\\\",t.OFFSET)})):N((function(t,e){return e.def(t.ELEMENTS,\\\".vertCount\\\")})):N((function(){return-1})):new $(a.thisDep||s.thisDep,a.contextDep||s.contextDep,a.propDep||s.propDep,(function(t,e){var n=t.ELEMENTS;return t.OFFSET?e.def(n,\\\"?\\\",n,\\\".vertCount-\\\",t.OFFSET,\\\":-1\\\"):e.def(n,\\\"?\\\",n,\\\".vertCount:-1\\\")})):null}(),instances:n(\\\"instances\\\",!1),offset:s}}function C(t,n){var r=t.static,o=t.dynamic,a={};return Object.keys(r).forEach((function(t){var n=r[t],o=e.id(t),s=new Y;if(R(n))s.state=1,s.buffer=i.getBuffer(i.create(n,34962,!1,!0)),s.type=0;else if(u=i.getBuffer(n))s.state=1,s.buffer=u,s.type=0;else if(\\\"constant\\\"in n){var l=n.constant;s.buffer=\\\"null\\\",s.state=2,\\\"number\\\"==typeof l?s.x=l:Ct.forEach((function(t,e){e<l.length&&(s[t]=l[e])}))}else{var u=R(n.buffer)?i.getBuffer(i.create(n.buffer,34962,!1,!0)):i.getBuffer(n.buffer),c=0|n.offset,h=0|n.stride,p=0|n.size,f=!!n.normalized,d=0;\\\"type\\\"in n&&(d=tt[n.type]),n=0|n.divisor,s.buffer=u,s.state=1,s.size=p,s.normalized=f,s.type=d||u.dtype,s.offset=c,s.stride=h,s.divisor=n}a[t]=N((function(t,e){var n=t.attribCache;if(o in n)return n[o];var r={isStream:!1};return Object.keys(s).forEach((function(t){r[t]=s[t]})),s.buffer&&(r.buffer=t.link(s.buffer),r.type=r.type||r.buffer+\\\".dtype\\\"),n[o]=r}))})),Object.keys(o).forEach((function(t){var e=o[t];a[t]=F(e,(function(t,n){function r(t){n(l[t],\\\"=\\\",i,\\\".\\\",t,\\\"|0;\\\")}var i=t.invoke(n,e),o=t.shared,a=t.constants,s=o.isBufferArgs,l=(o=o.buffer,{isStream:n.def(!1)}),u=new Y;u.state=1,Object.keys(u).forEach((function(t){l[t]=n.def(\\\"\\\"+u[t])}));var c=l.buffer,h=l.type;return n(\\\"if(\\\",s,\\\"(\\\",i,\\\")){\\\",l.isStream,\\\"=true;\\\",c,\\\"=\\\",o,\\\".createStream(\\\",34962,\\\",\\\",i,\\\");\\\",h,\\\"=\\\",c,\\\".dtype;\\\",\\\"}else{\\\",c,\\\"=\\\",o,\\\".getBuffer(\\\",i,\\\");\\\",\\\"if(\\\",c,\\\"){\\\",h,\\\"=\\\",c,\\\".dtype;\\\",'}else if(\\\"constant\\\" in ',i,\\\"){\\\",l.state,\\\"=\\\",2,\\\";\\\",\\\"if(typeof \\\"+i+'.constant === \\\"number\\\"){',l[Ct[0]],\\\"=\\\",i,\\\".constant;\\\",Ct.slice(1).map((function(t){return l[t]})).join(\\\"=\\\"),\\\"=0;\\\",\\\"}else{\\\",Ct.map((function(t,e){return l[t]+\\\"=\\\"+i+\\\".constant.length>\\\"+e+\\\"?\\\"+i+\\\".constant[\\\"+e+\\\"]:0;\\\"})).join(\\\"\\\"),\\\"}}else{\\\",\\\"if(\\\",s,\\\"(\\\",i,\\\".buffer)){\\\",c,\\\"=\\\",o,\\\".createStream(\\\",34962,\\\",\\\",i,\\\".buffer);\\\",\\\"}else{\\\",c,\\\"=\\\",o,\\\".getBuffer(\\\",i,\\\".buffer);\\\",\\\"}\\\",h,'=\\\"type\\\" in ',i,\\\"?\\\",a.glTypes,\\\"[\\\",i,\\\".type]:\\\",c,\\\".dtype;\\\",l.normalized,\\\"=!!\\\",i,\\\".normalized;\\\"),r(\\\"size\\\"),r(\\\"offset\\\"),r(\\\"stride\\\"),r(\\\"divisor\\\"),n(\\\"}}\\\"),n.exit(\\\"if(\\\",l.isStream,\\\"){\\\",o,\\\".destroyStream(\\\",c,\\\");\\\",\\\"}\\\"),l}))})),a}function M(t,e,r,i,o){function s(t){var e=u[t];e&&(p[t]=e)}var l=function(t,e){if(\\\"string\\\"==typeof(n=t.static).frag&&\\\"string\\\"==typeof n.vert){if(0<Object.keys(e.dynamic).length)return null;var n=e.static,r=Object.keys(n);if(0<r.length&&\\\"number\\\"==typeof n[r[0]]){for(var i=[],o=0;o<r.length;++o)i.push([0|n[r[o]],r[o]]);return i}}return null}(t,e),u=function(t,e,n){function r(t){if(t in i){var n=i[t];t=!0;var r,a,s=0|n.x,l=0|n.y;return\\\"width\\\"in n?r=0|n.width:t=!1,\\\"height\\\"in n?a=0|n.height:t=!1,new $(!t&&e&&e.thisDep,!t&&e&&e.contextDep,!t&&e&&e.propDep,(function(t,e){var i=t.shared.context,o=r;\\\"width\\\"in n||(o=e.def(i,\\\".\\\",\\\"framebufferWidth\\\",\\\"-\\\",s));var u=a;return\\\"height\\\"in n||(u=e.def(i,\\\".\\\",\\\"framebufferHeight\\\",\\\"-\\\",l)),[s,l,o,u]}))}if(t in o){var u=o[t];return t=F(u,(function(t,e){var n=t.invoke(e,u),r=t.shared.context,i=e.def(n,\\\".x|0\\\"),o=e.def(n,\\\".y|0\\\");return[i,o,e.def('\\\"width\\\" in ',n,\\\"?\\\",n,\\\".width|0:\\\",\\\"(\\\",r,\\\".\\\",\\\"framebufferWidth\\\",\\\"-\\\",i,\\\")\\\"),n=e.def('\\\"height\\\" in ',n,\\\"?\\\",n,\\\".height|0:\\\",\\\"(\\\",r,\\\".\\\",\\\"framebufferHeight\\\",\\\"-\\\",o,\\\")\\\")]})),e&&(t.thisDep=t.thisDep||e.thisDep,t.contextDep=t.contextDep||e.contextDep,t.propDep=t.propDep||e.propDep),t}return e?new $(e.thisDep,e.contextDep,e.propDep,(function(t,e){var n=t.shared.context;return[0,0,e.def(n,\\\".\\\",\\\"framebufferWidth\\\"),e.def(n,\\\".\\\",\\\"framebufferHeight\\\")]})):null}var i=t.static,o=t.dynamic;if(t=r(\\\"viewport\\\")){var a=t;t=new $(t.thisDep,t.contextDep,t.propDep,(function(t,e){var n=a.append(t,e),r=t.shared.context;return e.set(r,\\\".viewportWidth\\\",n[2]),e.set(r,\\\".viewportHeight\\\",n[3]),n}))}return{viewport:t,scissor_box:r(\\\"scissor.box\\\")}}(t,d=x(t)),h=A(t),p=function(t,e){var n=t.static,r=t.dynamic,i={};return nt.forEach((function(t){function e(e,a){if(t in n){var s=e(n[t]);i[o]=N((function(){return s}))}else if(t in r){var l=r[t];i[o]=F(l,(function(t,e){return a(t,e,t.invoke(e,l))}))}}var o=v(t);switch(t){case\\\"cull.enable\\\":case\\\"blend.enable\\\":case\\\"dither\\\":case\\\"stencil.enable\\\":case\\\"depth.enable\\\":case\\\"scissor.enable\\\":case\\\"polygonOffset.enable\\\":case\\\"sample.alpha\\\":case\\\"sample.enable\\\":case\\\"depth.mask\\\":case\\\"lineWidth\\\":return e((function(t){return t}),(function(t,e,n){return n}));case\\\"depth.func\\\":return e((function(t){return Tt[t]}),(function(t,e,n){return e.def(t.constants.compareFuncs,\\\"[\\\",n,\\\"]\\\")}));case\\\"depth.range\\\":return e((function(t){return t}),(function(t,e,n){return[e.def(\\\"+\\\",n,\\\"[0]\\\"),e=e.def(\\\"+\\\",n,\\\"[1]\\\")]}));case\\\"blend.func\\\":return e((function(t){return[Et[\\\"srcRGB\\\"in t?t.srcRGB:t.src],Et[\\\"dstRGB\\\"in t?t.dstRGB:t.dst],Et[\\\"srcAlpha\\\"in t?t.srcAlpha:t.src],Et[\\\"dstAlpha\\\"in t?t.dstAlpha:t.dst]]}),(function(t,e,n){function r(t,r){return e.def('\\\"',t,r,'\\\" in ',n,\\\"?\\\",n,\\\".\\\",t,r,\\\":\\\",n,\\\".\\\",t)}t=t.constants.blendFuncs;var i=r(\\\"src\\\",\\\"RGB\\\"),o=r(\\\"dst\\\",\\\"RGB\\\"),a=(i=e.def(t,\\\"[\\\",i,\\\"]\\\"),e.def(t,\\\"[\\\",r(\\\"src\\\",\\\"Alpha\\\"),\\\"]\\\"));return[i,o=e.def(t,\\\"[\\\",o,\\\"]\\\"),a,t=e.def(t,\\\"[\\\",r(\\\"dst\\\",\\\"Alpha\\\"),\\\"]\\\")]}));case\\\"blend.equation\\\":return e((function(t){return\\\"string\\\"==typeof t?[Z[t],Z[t]]:\\\"object\\\"==typeof t?[Z[t.rgb],Z[t.alpha]]:void 0}),(function(t,e,n){var r=t.constants.blendEquations,i=e.def(),o=e.def();return(t=t.cond(\\\"typeof \\\",n,'===\\\"string\\\"')).then(i,\\\"=\\\",o,\\\"=\\\",r,\\\"[\\\",n,\\\"];\\\"),t.else(i,\\\"=\\\",r,\\\"[\\\",n,\\\".rgb];\\\",o,\\\"=\\\",r,\\\"[\\\",n,\\\".alpha];\\\"),e(t),[i,o]}));case\\\"blend.color\\\":return e((function(t){return a(4,(function(e){return+t[e]}))}),(function(t,e,n){return a(4,(function(t){return e.def(\\\"+\\\",n,\\\"[\\\",t,\\\"]\\\")}))}));case\\\"stencil.mask\\\":return e((function(t){return 0|t}),(function(t,e,n){return e.def(n,\\\"|0\\\")}));case\\\"stencil.func\\\":return e((function(t){return[Tt[t.cmp||\\\"keep\\\"],t.ref||0,\\\"mask\\\"in t?t.mask:-1]}),(function(t,e,n){return[t=e.def('\\\"cmp\\\" in ',n,\\\"?\\\",t.constants.compareFuncs,\\\"[\\\",n,\\\".cmp]\\\",\\\":\\\",7680),e.def(n,\\\".ref|0\\\"),e=e.def('\\\"mask\\\" in ',n,\\\"?\\\",n,\\\".mask|0:-1\\\")]}));case\\\"stencil.opFront\\\":case\\\"stencil.opBack\\\":return e((function(e){return[\\\"stencil.opBack\\\"===t?1029:1028,St[e.fail||\\\"keep\\\"],St[e.zfail||\\\"keep\\\"],St[e.zpass||\\\"keep\\\"]]}),(function(e,n,r){function i(t){return n.def('\\\"',t,'\\\" in ',r,\\\"?\\\",o,\\\"[\\\",r,\\\".\\\",t,\\\"]:\\\",7680)}var o=e.constants.stencilOps;return[\\\"stencil.opBack\\\"===t?1029:1028,i(\\\"fail\\\"),i(\\\"zfail\\\"),i(\\\"zpass\\\")]}));case\\\"polygonOffset.offset\\\":return e((function(t){return[0|t.factor,0|t.units]}),(function(t,e,n){return[e.def(n,\\\".factor|0\\\"),e=e.def(n,\\\".units|0\\\")]}));case\\\"cull.face\\\":return e((function(t){var e=0;return\\\"front\\\"===t?e=1028:\\\"back\\\"===t&&(e=1029),e}),(function(t,e,n){return e.def(n,'===\\\"front\\\"?',1028,\\\":\\\",1029)}));case\\\"frontFace\\\":return e((function(t){return kt[t]}),(function(t,e,n){return e.def(n+'===\\\"cw\\\"?2304:2305')}));case\\\"colorMask\\\":return e((function(t){return t.map((function(t){return!!t}))}),(function(t,e,n){return a(4,(function(t){return\\\"!!\\\"+n+\\\"[\\\"+t+\\\"]\\\"}))}));case\\\"sample.coverage\\\":return e((function(t){return[\\\"value\\\"in t?t.value:1,!!t.invert]}),(function(t,e,n){return[e.def('\\\"value\\\" in ',n,\\\"?+\\\",n,\\\".value:1\\\"),e=e.def(\\\"!!\\\",n,\\\".invert\\\")]}))}})),i}(t),f=w(t,0,l);s(\\\"viewport\\\"),s(v(\\\"scissor.box\\\"));var d,m=0<Object.keys(p).length;if((d={framebuffer:d,draw:h,shader:f,state:p,dirty:m,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}}).profile=function(t){var e,n=t.static;if(t=t.dynamic,\\\"profile\\\"in n){var r=!!n.profile;(e=N((function(t,e){return r}))).enable=r}else if(\\\"profile\\\"in t){var i=t.profile;e=F(i,(function(t,e){return t.invoke(e,i)}))}return e}(t),d.uniforms=function(t,e){var n=t.static,r=t.dynamic,i={};return Object.keys(n).forEach((function(t){var e,r=n[t];if(\\\"number\\\"==typeof r||\\\"boolean\\\"==typeof r)e=N((function(){return r}));else if(\\\"function\\\"==typeof r){var o=r._reglType;\\\"texture2d\\\"===o||\\\"textureCube\\\"===o?e=N((function(t){return t.link(r)})):\\\"framebuffer\\\"!==o&&\\\"framebufferCube\\\"!==o||(e=N((function(t){return t.link(r.color[0])})))}else y(r)&&(e=N((function(t){return t.global.def(\\\"[\\\",a(r.length,(function(t){return r[t]})),\\\"]\\\")})));e.value=r,i[t]=e})),Object.keys(r).forEach((function(t){var e=r[t];i[t]=F(e,(function(t,n){return t.invoke(n,e)}))})),i}(r),d.drawVAO=d.scopeVAO=function(t,e){var n=t.static,r=t.dynamic;if(\\\"vao\\\"in n){var i=n.vao;return null!==i&&null===c.getVAO(i)&&(i=c.createVAO(i)),N((function(t){return t.link(c.getVAO(i))}))}if(\\\"vao\\\"in r){var o=r.vao;return F(o,(function(t,e){var n=t.invoke(e,o);return e.def(t.shared.vao+\\\".getVAO(\\\"+n+\\\")\\\")}))}return null}(t),!d.drawVAO&&f.program&&!l&&n.angle_instanced_arrays){var g=!0;if(t=f.program.attributes.map((function(t){return t=e.static[t],g=g&&!!t,t})),g&&0<t.length){var _=c.getVAO(c.createVAO(t));d.drawVAO=new $(null,null,null,(function(t,e){return t.link(_)})),d.useVAO=!0}}return l?d.useVAO=!0:d.attributes=C(e),d.context=function(t){var e=t.static,n=t.dynamic,r={};return Object.keys(e).forEach((function(t){var n=e[t];r[t]=N((function(t,e){return\\\"number\\\"==typeof n||\\\"boolean\\\"==typeof n?\\\"\\\"+n:t.link(n)}))})),Object.keys(n).forEach((function(t){var e=n[t];r[t]=F(e,(function(t,n){return t.invoke(n,e)}))})),r}(i),d}function E(t,e,n){var r=t.shared.context,i=t.scope();Object.keys(n).forEach((function(o){e.save(r,\\\".\\\"+o),i(r,\\\".\\\",o,\\\"=\\\",n[o].append(t,e),\\\";\\\")})),e(i)}function T(t,e,n,r){var i,o=(s=t.shared).gl,a=s.framebuffer;J&&(i=e.def(s.extensions,\\\".webgl_draw_buffers\\\"));var s=(l=t.constants).drawBuffer,l=l.backBuffer;t=n?n.append(t,e):e.def(a,\\\".next\\\"),r||e(\\\"if(\\\",t,\\\"!==\\\",a,\\\".cur){\\\"),e(\\\"if(\\\",t,\\\"){\\\",o,\\\".bindFramebuffer(\\\",36160,\\\",\\\",t,\\\".framebuffer);\\\"),J&&e(i,\\\".drawBuffersWEBGL(\\\",s,\\\"[\\\",t,\\\".colorAttachments.length]);\\\"),e(\\\"}else{\\\",o,\\\".bindFramebuffer(\\\",36160,\\\",null);\\\"),J&&e(i,\\\".drawBuffersWEBGL(\\\",l,\\\");\\\"),e(\\\"}\\\",a,\\\".cur=\\\",t,\\\";\\\"),r||e(\\\"}\\\")}function S(t,e,n){var r=t.shared,i=r.gl,o=t.current,s=t.next,l=r.current,u=r.next,c=t.cond(l,\\\".dirty\\\");nt.forEach((function(e){var r,h;if(!((e=v(e))in n.state))if(e in s){r=s[e],h=o[e];var p=a(Q[e].length,(function(t){return c.def(r,\\\"[\\\",t,\\\"]\\\")}));c(t.cond(p.map((function(t,e){return t+\\\"!==\\\"+h+\\\"[\\\"+e+\\\"]\\\"})).join(\\\"||\\\")).then(i,\\\".\\\",it[e],\\\"(\\\",p,\\\");\\\",p.map((function(t,e){return h+\\\"[\\\"+e+\\\"]=\\\"+t})).join(\\\";\\\"),\\\";\\\"))}else r=c.def(u,\\\".\\\",e),p=t.cond(r,\\\"!==\\\",l,\\\".\\\",e),c(p),e in rt?p(t.cond(r).then(i,\\\".enable(\\\",rt[e],\\\");\\\").else(i,\\\".disable(\\\",rt[e],\\\");\\\"),l,\\\".\\\",e,\\\"=\\\",r,\\\";\\\"):p(i,\\\".\\\",it[e],\\\"(\\\",r,\\\");\\\",l,\\\".\\\",e,\\\"=\\\",r,\\\";\\\")})),0===Object.keys(n.state).length&&c(l,\\\".dirty=false;\\\"),e(c)}function k(t,e,n,r){var i=t.shared,o=t.current,a=i.current,s=i.gl;D(Object.keys(n)).forEach((function(i){var l=n[i];if(!r||r(l)){var u=l.append(t,e);if(rt[i]){var c=rt[i];B(l)?e(s,u?\\\".enable(\\\":\\\".disable(\\\",c,\\\");\\\"):e(t.cond(u).then(s,\\\".enable(\\\",c,\\\");\\\").else(s,\\\".disable(\\\",c,\\\");\\\")),e(a,\\\".\\\",i,\\\"=\\\",u,\\\";\\\")}else if(y(u)){var h=o[i];e(s,\\\".\\\",it[i],\\\"(\\\",u,\\\");\\\",u.map((function(t,e){return h+\\\"[\\\"+e+\\\"]=\\\"+t})).join(\\\";\\\"),\\\";\\\")}else e(s,\\\".\\\",it[i],\\\"(\\\",u,\\\");\\\",a,\\\".\\\",i,\\\"=\\\",u,\\\";\\\")}}))}function O(t,e){K&&(t.instancing=e.def(t.shared.extensions,\\\".angle_instanced_arrays\\\"))}function I(t,e,n,r,i){function o(){return\\\"undefined\\\"==typeof performance?\\\"Date.now()\\\":\\\"performance.now()\\\"}function a(t){t(u=e.def(),\\\"=\\\",o(),\\\";\\\"),\\\"string\\\"==typeof i?t(p,\\\".count+=\\\",i,\\\";\\\"):t(p,\\\".count++;\\\"),d&&(r?t(c=e.def(),\\\"=\\\",m,\\\".getNumPendingQueries();\\\"):t(m,\\\".beginQuery(\\\",p,\\\");\\\"))}function s(t){t(p,\\\".cpuTime+=\\\",o(),\\\"-\\\",u,\\\";\\\"),d&&(r?t(m,\\\".pushScopeStats(\\\",c,\\\",\\\",m,\\\".getNumPendingQueries(),\\\",p,\\\");\\\"):t(m,\\\".endQuery();\\\"))}function l(t){var n=e.def(f,\\\".profile\\\");e(f,\\\".profile=\\\",t,\\\";\\\"),e.exit(f,\\\".profile=\\\",n,\\\";\\\")}var u,c,h=t.shared,p=t.stats,f=h.current,m=h.timer;if(n=n.profile){if(B(n))return void(n.enable?(a(e),s(e.exit),l(\\\"true\\\")):l(\\\"false\\\"));l(n=n.append(t,e))}else n=e.def(f,\\\".profile\\\");a(h=t.block()),e(\\\"if(\\\",n,\\\"){\\\",h,\\\"}\\\"),s(t=t.block()),e.exit(\\\"if(\\\",n,\\\"){\\\",t,\\\"}\\\")}function L(t,e,n,r,i){function o(n,r,i){function o(){e(\\\"if(!\\\",c,\\\".buffer){\\\",l,\\\".enableVertexAttribArray(\\\",u,\\\");}\\\");var n,o=i.type;n=i.size?e.def(i.size,\\\"||\\\",r):r,e(\\\"if(\\\",c,\\\".type!==\\\",o,\\\"||\\\",c,\\\".size!==\\\",n,\\\"||\\\",f.map((function(t){return c+\\\".\\\"+t+\\\"!==\\\"+i[t]})).join(\\\"||\\\"),\\\"){\\\",l,\\\".bindBuffer(\\\",34962,\\\",\\\",h,\\\".buffer);\\\",l,\\\".vertexAttribPointer(\\\",[u,n,o,i.normalized,i.stride,i.offset],\\\");\\\",c,\\\".type=\\\",o,\\\";\\\",c,\\\".size=\\\",n,\\\";\\\",f.map((function(t){return c+\\\".\\\"+t+\\\"=\\\"+i[t]+\\\";\\\"})).join(\\\"\\\"),\\\"}\\\"),K&&(o=i.divisor,e(\\\"if(\\\",c,\\\".divisor!==\\\",o,\\\"){\\\",t.instancing,\\\".vertexAttribDivisorANGLE(\\\",[u,o],\\\");\\\",c,\\\".divisor=\\\",o,\\\";}\\\"))}function s(){e(\\\"if(\\\",c,\\\".buffer){\\\",l,\\\".disableVertexAttribArray(\\\",u,\\\");\\\",c,\\\".buffer=null;\\\",\\\"}if(\\\",Ct.map((function(t,e){return c+\\\".\\\"+t+\\\"!==\\\"+p[e]})).join(\\\"||\\\"),\\\"){\\\",l,\\\".vertexAttrib4f(\\\",u,\\\",\\\",p,\\\");\\\",Ct.map((function(t,e){return c+\\\".\\\"+t+\\\"=\\\"+p[e]+\\\";\\\"})).join(\\\"\\\"),\\\"}\\\")}var l=a.gl,u=e.def(n,\\\".location\\\"),c=e.def(a.attributes,\\\"[\\\",u,\\\"]\\\");n=i.state;var h=i.buffer,p=[i.x,i.y,i.z,i.w],f=[\\\"buffer\\\",\\\"normalized\\\",\\\"offset\\\",\\\"stride\\\"];1===n?o():2===n?s():(e(\\\"if(\\\",n,\\\"===\\\",1,\\\"){\\\"),o(),e(\\\"}else{\\\"),s(),e(\\\"}\\\"))}var a=t.shared;r.forEach((function(r){var a,s=r.name,l=n.attributes[s];if(l){if(!i(l))return;a=l.append(t,e)}else{if(!i(Ot))return;var u=t.scopeAttrib(s);a={},Object.keys(new Y).forEach((function(t){a[t]=e.def(u,\\\".\\\",t)}))}o(t.link(r),function(t){switch(t){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(r.info.type),a)}))}function P(t,n,r,i,o){for(var s,l=t.shared,u=l.gl,c=0;c<i.length;++c){var h,p=(m=i[c]).name,f=m.info.type,d=r.uniforms[p],m=t.link(m)+\\\".location\\\";if(d){if(!o(d))continue;if(B(d)){if(p=d.value,35678===f||35680===f)n(u,\\\".uniform1i(\\\",m,\\\",\\\",(f=t.link(p._texture||p.color[0]._texture))+\\\".bind());\\\"),n.exit(f,\\\".unbind();\\\");else if(35674===f||35675===f||35676===f)d=2,35675===f?d=3:35676===f&&(d=4),n(u,\\\".uniformMatrix\\\",d,\\\"fv(\\\",m,\\\",false,\\\",p=t.global.def(\\\"new Float32Array([\\\"+Array.prototype.slice.call(p)+\\\"])\\\"),\\\");\\\");else{switch(f){case 5126:s=\\\"1f\\\";break;case 35664:s=\\\"2f\\\";break;case 35665:s=\\\"3f\\\";break;case 35666:s=\\\"4f\\\";break;case 35670:case 5124:s=\\\"1i\\\";break;case 35671:case 35667:s=\\\"2i\\\";break;case 35672:case 35668:s=\\\"3i\\\";break;case 35673:case 35669:s=\\\"4i\\\"}n(u,\\\".uniform\\\",s,\\\"(\\\",m,\\\",\\\",y(p)?Array.prototype.slice.call(p):p,\\\");\\\")}continue}h=d.append(t,n)}else{if(!o(Ot))continue;h=n.def(l.uniforms,\\\"[\\\",e.id(p),\\\"]\\\")}switch(35678===f?n(\\\"if(\\\",h,\\\"&&\\\",h,'._reglType===\\\"framebuffer\\\"){',h,\\\"=\\\",h,\\\".color[0];\\\",\\\"}\\\"):35680===f&&n(\\\"if(\\\",h,\\\"&&\\\",h,'._reglType===\\\"framebufferCube\\\"){',h,\\\"=\\\",h,\\\".color[0];\\\",\\\"}\\\"),p=1,f){case 35678:case 35680:f=n.def(h,\\\"._texture\\\"),n(u,\\\".uniform1i(\\\",m,\\\",\\\",f,\\\".bind());\\\"),n.exit(f,\\\".unbind();\\\");continue;case 5124:case 35670:s=\\\"1i\\\";break;case 35667:case 35671:s=\\\"2i\\\",p=2;break;case 35668:case 35672:s=\\\"3i\\\",p=3;break;case 35669:case 35673:s=\\\"4i\\\",p=4;break;case 5126:s=\\\"1f\\\";break;case 35664:s=\\\"2f\\\",p=2;break;case 35665:s=\\\"3f\\\",p=3;break;case 35666:s=\\\"4f\\\",p=4;break;case 35674:s=\\\"Matrix2fv\\\";break;case 35675:s=\\\"Matrix3fv\\\";break;case 35676:s=\\\"Matrix4fv\\\"}if(n(u,\\\".uniform\\\",s,\\\"(\\\",m,\\\",\\\"),\\\"M\\\"===s.charAt(0)){m=Math.pow(f-35674+2,2);var v=t.global.def(\\\"new Float32Array(\\\",m,\\\")\\\");n(\\\"false,(Array.isArray(\\\",h,\\\")||\\\",h,\\\" instanceof Float32Array)?\\\",h,\\\":(\\\",a(m,(function(t){return v+\\\"[\\\"+t+\\\"]=\\\"+h+\\\"[\\\"+t+\\\"]\\\"})),\\\",\\\",v,\\\")\\\")}else n(1<p?a(p,(function(t){return h+\\\"[\\\"+t+\\\"]\\\"})):h);n(\\\");\\\")}}function j(t,e,n,r){function i(i){var o=p[i];return o?o.contextDep&&r.contextDynamic||o.propDep?o.append(t,n):o.append(t,e):e.def(h,\\\".\\\",i)}function o(){function t(){n(l,\\\".drawElementsInstancedANGLE(\\\",[d,v,g,m+\\\"<<((\\\"+g+\\\"-5121)>>1)\\\",s],\\\");\\\")}function e(){n(l,\\\".drawArraysInstancedANGLE(\\\",[d,m,v,s],\\\");\\\")}f?y?t():(n(\\\"if(\\\",f,\\\"){\\\"),t(),n(\\\"}else{\\\"),e(),n(\\\"}\\\")):e()}function a(){function t(){n(c+\\\".drawElements(\\\"+[d,v,g,m+\\\"<<((\\\"+g+\\\"-5121)>>1)\\\"]+\\\");\\\")}function e(){n(c+\\\".drawArrays(\\\"+[d,m,v]+\\\");\\\")}f?y?t():(n(\\\"if(\\\",f,\\\"){\\\"),t(),n(\\\"}else{\\\"),e(),n(\\\"}\\\")):e()}var s,l,u=t.shared,c=u.gl,h=u.draw,p=r.draw,f=function(){var i=p.elements,o=e;return i?((i.contextDep&&r.contextDynamic||i.propDep)&&(o=n),i=i.append(t,o)):i=o.def(h,\\\".\\\",\\\"elements\\\"),i&&o(\\\"if(\\\"+i+\\\")\\\"+c+\\\".bindBuffer(34963,\\\"+i+\\\".buffer.buffer);\\\"),i}(),d=i(\\\"primitive\\\"),m=i(\\\"offset\\\"),v=function(){var i=p.count,o=e;return i?((i.contextDep&&r.contextDynamic||i.propDep)&&(o=n),i=i.append(t,o)):i=o.def(h,\\\".\\\",\\\"count\\\"),i}();if(\\\"number\\\"==typeof v){if(0===v)return}else n(\\\"if(\\\",v,\\\"){\\\"),n.exit(\\\"}\\\");K&&(s=i(\\\"instances\\\"),l=t.instancing);var g=f+\\\".type\\\",y=p.elements&&B(p.elements);K&&(\\\"number\\\"!=typeof s||0<=s)?\\\"string\\\"==typeof s?(n(\\\"if(\\\",s,\\\">0){\\\"),o(),n(\\\"}else if(\\\",s,\\\"<0){\\\"),a(),n(\\\"}\\\")):o():a()}function U(t,e,n,r,i){return i=(e=b()).proc(\\\"body\\\",i),K&&(e.instancing=i.def(e.shared.extensions,\\\".angle_instanced_arrays\\\")),t(e,i,n,r),e.compile().body}function q(t,e,n,r){O(t,e),n.useVAO?n.drawVAO?e(t.shared.vao,\\\".setVAO(\\\",n.drawVAO.append(t,e),\\\");\\\"):e(t.shared.vao,\\\".setVAO(\\\",t.shared.vao,\\\".targetVAO);\\\"):(e(t.shared.vao,\\\".setVAO(null);\\\"),L(t,e,n,r.attributes,(function(){return!0}))),P(t,e,n,r.uniforms,(function(){return!0})),j(t,e,e,n)}function V(t,e,n,r){function i(){return!0}t.batchId=\\\"a1\\\",O(t,e),L(t,e,n,r.attributes,i),P(t,e,n,r.uniforms,i),j(t,e,e,n)}function G(t,e,n,r){function i(t){return t.contextDep&&a||t.propDep}function o(t){return!i(t)}O(t,e);var a=n.contextDep,s=e.def(),l=e.def();t.shared.props=l,t.batchId=s;var u=t.scope(),c=t.scope();e(u.entry,\\\"for(\\\",s,\\\"=0;\\\",s,\\\"<\\\",\\\"a1\\\",\\\";++\\\",s,\\\"){\\\",l,\\\"=\\\",\\\"a0\\\",\\\"[\\\",s,\\\"];\\\",c,\\\"}\\\",u.exit),n.needsContext&&E(t,c,n.context),n.needsFramebuffer&&T(t,c,n.framebuffer),k(t,c,n.state,i),n.profile&&i(n.profile)&&I(t,c,n,!1,!0),r?(n.useVAO?n.drawVAO?i(n.drawVAO)?c(t.shared.vao,\\\".setVAO(\\\",n.drawVAO.append(t,c),\\\");\\\"):u(t.shared.vao,\\\".setVAO(\\\",n.drawVAO.append(t,u),\\\");\\\"):u(t.shared.vao,\\\".setVAO(\\\",t.shared.vao,\\\".targetVAO);\\\"):(u(t.shared.vao,\\\".setVAO(null);\\\"),L(t,u,n,r.attributes,o),L(t,c,n,r.attributes,i)),P(t,u,n,r.uniforms,o),P(t,c,n,r.uniforms,i),j(t,u,c,n)):(e=t.global.def(\\\"{}\\\"),r=n.shader.progVar.append(t,c),l=c.def(r,\\\".id\\\"),u=c.def(e,\\\"[\\\",l,\\\"]\\\"),c(t.shared.gl,\\\".useProgram(\\\",r,\\\".program);\\\",\\\"if(!\\\",u,\\\"){\\\",u,\\\"=\\\",e,\\\"[\\\",l,\\\"]=\\\",t.link((function(e){return U(V,t,n,e,2)})),\\\"(\\\",r,\\\");}\\\",u,\\\".call(this,a0[\\\",s,\\\"],\\\",s,\\\");\\\"))}function W(t,n){function r(e){var r=n.shader[e];r&&i.set(o.shader,\\\".\\\"+e,r.append(t,i))}var i=t.proc(\\\"scope\\\",3);t.batchId=\\\"a2\\\";var o=t.shared,a=o.current;E(t,i,n.context),n.framebuffer&&n.framebuffer.append(t,i),D(Object.keys(n.state)).forEach((function(e){var r=n.state[e].append(t,i);y(r)?r.forEach((function(n,r){i.set(t.next[e],\\\"[\\\"+r+\\\"]\\\",n)})):i.set(o.next,\\\".\\\"+e,r)})),I(t,i,n,!0,!0),[\\\"elements\\\",\\\"offset\\\",\\\"count\\\",\\\"instances\\\",\\\"primitive\\\"].forEach((function(e){var r=n.draw[e];r&&i.set(o.draw,\\\".\\\"+e,\\\"\\\"+r.append(t,i))})),Object.keys(n.uniforms).forEach((function(r){i.set(o.uniforms,\\\"[\\\"+e.id(r)+\\\"]\\\",n.uniforms[r].append(t,i))})),Object.keys(n.attributes).forEach((function(e){var r=n.attributes[e].append(t,i),o=t.scopeAttrib(e);Object.keys(new Y).forEach((function(t){i.set(o,\\\".\\\"+t,r[t])}))})),n.scopeVAO&&i.set(o.vao,\\\".targetVAO\\\",n.scopeVAO.append(t,i)),r(\\\"vert\\\"),r(\\\"frag\\\"),0<Object.keys(n.state).length&&(i(a,\\\".dirty=true;\\\"),i.exit(a,\\\".dirty=true;\\\")),i(\\\"a1(\\\",t.shared.context,\\\",a0,\\\",t.batchId,\\\");\\\")}function X(t,e,n){var r=e.static[n];if(r&&function(t){if(\\\"object\\\"==typeof t&&!y(t)){for(var e=Object.keys(t),n=0;n<e.length;++n)if(H.isDynamic(t[e[n]]))return!0;return!1}}(r)){var i=t.global,o=Object.keys(r),a=!1,s=!1,l=!1,u=t.global.def(\\\"{}\\\");o.forEach((function(e){var n=r[e];if(H.isDynamic(n))\\\"function\\\"==typeof n&&(n=r[e]=H.unbox(n)),e=F(n,null),a=a||e.thisDep,l=l||e.propDep,s=s||e.contextDep;else{switch(i(u,\\\".\\\",e,\\\"=\\\"),typeof n){case\\\"number\\\":i(n);break;case\\\"string\\\":i('\\\"',n,'\\\"');break;case\\\"object\\\":Array.isArray(n)&&i(\\\"[\\\",n.join(),\\\"]\\\");break;default:i(t.link(n))}i(\\\";\\\")}})),e.dynamic[n]=new H.DynamicVariable(4,{thisDep:a,contextDep:s,propDep:l,ref:u,append:function(t,e){o.forEach((function(n){var i=r[n];H.isDynamic(i)&&(i=t.invoke(e,i),e(u,\\\".\\\",n,\\\"=\\\",i,\\\";\\\"))}))}}),delete e.static[n]}}var Y=c.Record,Z={add:32774,subtract:32778,\\\"reverse subtract\\\":32779};n.ext_blend_minmax&&(Z.min=32775,Z.max=32776);var K=n.angle_instanced_arrays,J=n.webgl_draw_buffers,Q={dirty:!0,profile:m.profile},et={},nt=[],rt={},it={};g(\\\"dither\\\",3024),g(\\\"blend.enable\\\",3042),_(\\\"blend.color\\\",\\\"blendColor\\\",[0,0,0,0]),_(\\\"blend.equation\\\",\\\"blendEquationSeparate\\\",[32774,32774]),_(\\\"blend.func\\\",\\\"blendFuncSeparate\\\",[1,0,1,0]),g(\\\"depth.enable\\\",2929,!0),_(\\\"depth.func\\\",\\\"depthFunc\\\",513),_(\\\"depth.range\\\",\\\"depthRange\\\",[0,1]),_(\\\"depth.mask\\\",\\\"depthMask\\\",!0),_(\\\"colorMask\\\",\\\"colorMask\\\",[!0,!0,!0,!0]),g(\\\"cull.enable\\\",2884),_(\\\"cull.face\\\",\\\"cullFace\\\",1029),_(\\\"frontFace\\\",\\\"frontFace\\\",2305),_(\\\"lineWidth\\\",\\\"lineWidth\\\",1),g(\\\"polygonOffset.enable\\\",32823),_(\\\"polygonOffset.offset\\\",\\\"polygonOffset\\\",[0,0]),g(\\\"sample.alpha\\\",32926),g(\\\"sample.enable\\\",32928),_(\\\"sample.coverage\\\",\\\"sampleCoverage\\\",[1,!1]),g(\\\"stencil.enable\\\",2960),_(\\\"stencil.mask\\\",\\\"stencilMask\\\",-1),_(\\\"stencil.func\\\",\\\"stencilFunc\\\",[519,0,-1]),_(\\\"stencil.opFront\\\",\\\"stencilOpSeparate\\\",[1028,7680,7680,7680]),_(\\\"stencil.opBack\\\",\\\"stencilOpSeparate\\\",[1029,7680,7680,7680]),g(\\\"scissor.enable\\\",3089),_(\\\"scissor.box\\\",\\\"scissor\\\",[0,0,t.drawingBufferWidth,t.drawingBufferHeight]),_(\\\"viewport\\\",\\\"viewport\\\",[0,0,t.drawingBufferWidth,t.drawingBufferHeight]);var at={gl:t,context:f,strings:e,next:et,current:Q,draw:p,elements:o,buffer:i,shader:h,attributes:c.state,vao:c,uniforms:u,framebuffer:l,extensions:n,timer:d,isBufferArgs:R},st={primTypes:ot,compareFuncs:Tt,blendFuncs:Et,blendEquations:Z,stencilOps:St,glTypes:tt,orientationType:kt};J&&(st.backBuffer=[1029],st.drawBuffer=a(r.maxDrawbuffers,(function(t){return 0===t?[0]:a(t,(function(t){return 36064+t}))})));var lt=0;return{next:et,current:Q,procs:function(){var t=b(),e=t.proc(\\\"poll\\\"),i=t.proc(\\\"refresh\\\"),o=t.block();e(o),i(o);var s,l=t.shared,u=l.gl,c=l.next,h=l.current;o(h,\\\".dirty=false;\\\"),T(t,e),T(t,i,null,!0),K&&(s=t.link(K)),n.oes_vertex_array_object&&i(t.link(n.oes_vertex_array_object),\\\".bindVertexArrayOES(null);\\\");for(var p=0;p<r.maxAttributes;++p){var f=i.def(l.attributes,\\\"[\\\",p,\\\"]\\\"),d=t.cond(f,\\\".buffer\\\");d.then(u,\\\".enableVertexAttribArray(\\\",p,\\\");\\\",u,\\\".bindBuffer(\\\",34962,\\\",\\\",f,\\\".buffer.buffer);\\\",u,\\\".vertexAttribPointer(\\\",p,\\\",\\\",f,\\\".size,\\\",f,\\\".type,\\\",f,\\\".normalized,\\\",f,\\\".stride,\\\",f,\\\".offset);\\\").else(u,\\\".disableVertexAttribArray(\\\",p,\\\");\\\",u,\\\".vertexAttrib4f(\\\",p,\\\",\\\",f,\\\".x,\\\",f,\\\".y,\\\",f,\\\".z,\\\",f,\\\".w);\\\",f,\\\".buffer=null;\\\"),i(d),K&&i(s,\\\".vertexAttribDivisorANGLE(\\\",p,\\\",\\\",f,\\\".divisor);\\\")}return i(t.shared.vao,\\\".currentVAO=null;\\\",t.shared.vao,\\\".setVAO(\\\",t.shared.vao,\\\".targetVAO);\\\"),Object.keys(rt).forEach((function(n){var r=rt[n],a=o.def(c,\\\".\\\",n),s=t.block();s(\\\"if(\\\",a,\\\"){\\\",u,\\\".enable(\\\",r,\\\")}else{\\\",u,\\\".disable(\\\",r,\\\")}\\\",h,\\\".\\\",n,\\\"=\\\",a,\\\";\\\"),i(s),e(\\\"if(\\\",a,\\\"!==\\\",h,\\\".\\\",n,\\\"){\\\",s,\\\"}\\\")})),Object.keys(it).forEach((function(n){var r,s,l=it[n],p=Q[n],f=t.block();f(u,\\\".\\\",l,\\\"(\\\"),y(p)?(l=p.length,r=t.global.def(c,\\\".\\\",n),s=t.global.def(h,\\\".\\\",n),f(a(l,(function(t){return r+\\\"[\\\"+t+\\\"]\\\"})),\\\");\\\",a(l,(function(t){return s+\\\"[\\\"+t+\\\"]=\\\"+r+\\\"[\\\"+t+\\\"];\\\"})).join(\\\"\\\")),e(\\\"if(\\\",a(l,(function(t){return r+\\\"[\\\"+t+\\\"]!==\\\"+s+\\\"[\\\"+t+\\\"]\\\"})).join(\\\"||\\\"),\\\"){\\\",f,\\\"}\\\")):(r=o.def(c,\\\".\\\",n),s=o.def(h,\\\".\\\",n),f(r,\\\");\\\",h,\\\".\\\",n,\\\"=\\\",r,\\\";\\\"),e(\\\"if(\\\",r,\\\"!==\\\",s,\\\"){\\\",f,\\\"}\\\")),i(f)})),t.compile()}(),compile:function(t,e,n,r,i){var o=b();return o.stats=o.link(i),Object.keys(e.static).forEach((function(t){X(o,e,t)})),Mt.forEach((function(e){X(o,t,e)})),n=M(t,e,n,r),function(t,e){var n=t.proc(\\\"draw\\\",1);O(t,n),E(t,n,e.context),T(t,n,e.framebuffer),S(t,n,e),k(t,n,e.state),I(t,n,e,!1,!0);var r=e.shader.progVar.append(t,n);if(n(t.shared.gl,\\\".useProgram(\\\",r,\\\".program);\\\"),e.shader.program)q(t,n,e,e.shader.program);else{n(t.shared.vao,\\\".setVAO(null);\\\");var i=t.global.def(\\\"{}\\\"),o=n.def(r,\\\".id\\\"),a=n.def(i,\\\"[\\\",o,\\\"]\\\");n(t.cond(a).then(a,\\\".call(this,a0);\\\").else(a,\\\"=\\\",i,\\\"[\\\",o,\\\"]=\\\",t.link((function(n){return U(q,t,e,n,1)})),\\\"(\\\",r,\\\");\\\",a,\\\".call(this,a0);\\\"))}0<Object.keys(e.state).length&&n(t.shared.current,\\\".dirty=true;\\\")}(o,n),W(o,n),function(t,e){function n(t){return t.contextDep&&i||t.propDep}var r=t.proc(\\\"batch\\\",2);t.batchId=\\\"0\\\",O(t,r);var i=!1,o=!0;Object.keys(e.context).forEach((function(t){i=i||e.context[t].propDep})),i||(E(t,r,e.context),o=!1);var a=!1;if((s=e.framebuffer)?(s.propDep?i=a=!0:s.contextDep&&i&&(a=!0),a||T(t,r,s)):T(t,r,null),e.state.viewport&&e.state.viewport.propDep&&(i=!0),S(t,r,e),k(t,r,e.state,(function(t){return!n(t)})),e.profile&&n(e.profile)||I(t,r,e,!1,\\\"a1\\\"),e.contextDep=i,e.needsContext=o,e.needsFramebuffer=a,(o=e.shader.progVar).contextDep&&i||o.propDep)G(t,r,e,null);else if(o=o.append(t,r),r(t.shared.gl,\\\".useProgram(\\\",o,\\\".program);\\\"),e.shader.program)G(t,r,e,e.shader.program);else{r(t.shared.vao,\\\".setVAO(null);\\\");var s=t.global.def(\\\"{}\\\"),l=(a=r.def(o,\\\".id\\\"),r.def(s,\\\"[\\\",a,\\\"]\\\"));r(t.cond(l).then(l,\\\".call(this,a0,a1);\\\").else(l,\\\"=\\\",s,\\\"[\\\",a,\\\"]=\\\",t.link((function(n){return U(G,t,e,n,2)})),\\\"(\\\",o,\\\");\\\",l,\\\".call(this,a0,a1);\\\"))}0<Object.keys(e.state).length&&r(t.shared.current,\\\".dirty=true;\\\")}(o,n),o.compile()}}}function U(t,e){for(var n=0;n<t.length;++n)if(t[n]===e)return n;return-1}var q=function(t,e){for(var n=Object.keys(e),r=0;r<n.length;++r)t[n[r]]=e[n[r]];return t},V=0,H={DynamicVariable:t,define:function(e,r){return new t(e,n(r+\\\"\\\"))},isDynamic:function(e){return\\\"function\\\"==typeof e&&!e._reglType||e instanceof t},unbox:function(e,n){return\\\"function\\\"==typeof e?new t(0,e):e},accessor:n},G={next:\\\"function\\\"==typeof requestAnimationFrame?function(t){return requestAnimationFrame(t)}:function(t){return setTimeout(t,16)},cancel:\\\"function\\\"==typeof cancelAnimationFrame?function(t){return cancelAnimationFrame(t)}:clearTimeout},W=\\\"undefined\\\"!=typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date},X=l();X.zero=l();var Y=function(t,e){var n=1;e.ext_texture_filter_anisotropic&&(n=t.getParameter(34047));var r=1,i=1;e.webgl_draw_buffers&&(r=t.getParameter(34852),i=t.getParameter(36063));var o=!!e.oes_texture_float;if(o){o=t.createTexture(),t.bindTexture(3553,o),t.texImage2D(3553,0,6408,1,1,0,6408,5126,null);var a=t.createFramebuffer();if(t.bindFramebuffer(36160,a),t.framebufferTexture2D(36160,36064,3553,o,0),t.bindTexture(3553,null),36053!==t.checkFramebufferStatus(36160))o=!1;else{t.viewport(0,0,1,1),t.clearColor(1,0,0,1),t.clear(16384);var s=X.allocType(5126,4);t.readPixels(0,0,1,1,6408,5126,s),t.getError()?o=!1:(t.deleteFramebuffer(a),t.deleteTexture(o),o=1===s[0]),X.freeType(s)}}return s=!0,\\\"undefined\\\"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\\\\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent))||(s=t.createTexture(),a=X.allocType(5121,36),t.activeTexture(33984),t.bindTexture(34067,s),t.texImage2D(34069,0,6408,3,3,0,6408,5121,a),X.freeType(a),t.bindTexture(34067,null),t.deleteTexture(s),s=!t.getError()),{colorBits:[t.getParameter(3410),t.getParameter(3411),t.getParameter(3412),t.getParameter(3413)],depthBits:t.getParameter(3414),stencilBits:t.getParameter(3415),subpixelBits:t.getParameter(3408),extensions:Object.keys(e).filter((function(t){return!!e[t]})),maxAnisotropic:n,maxDrawbuffers:r,maxColorAttachments:i,pointSizeDims:t.getParameter(33901),lineWidthDims:t.getParameter(33902),maxViewportDims:t.getParameter(3386),maxCombinedTextureUnits:t.getParameter(35661),maxCubeMapSize:t.getParameter(34076),maxRenderbufferSize:t.getParameter(34024),maxTextureUnits:t.getParameter(34930),maxTextureSize:t.getParameter(3379),maxAttributes:t.getParameter(34921),maxVertexUniforms:t.getParameter(36347),maxVertexTextureUnits:t.getParameter(35660),maxVaryingVectors:t.getParameter(36348),maxFragmentUniforms:t.getParameter(36349),glsl:t.getParameter(35724),renderer:t.getParameter(7937),vendor:t.getParameter(7936),version:t.getParameter(7938),readFloat:o,npotTextureCube:s}},Z=function(t){return t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Uint32Array||t instanceof Int8Array||t instanceof Int16Array||t instanceof Int32Array||t instanceof Float32Array||t instanceof Float64Array||t instanceof Uint8ClampedArray},K=function(t){return Object.keys(t).map((function(e){return t[e]}))},J={shape:function(t){for(var e=[];t.length;t=t[0])e.push(t.length);return e},flatten:function(t,e,n,r){var i=1;if(e.length)for(var o=0;o<e.length;++o)i*=e[o];else i=0;switch(n=r||X.allocType(n,i),e.length){case 0:break;case 1:for(r=e[0],e=0;e<r;++e)n[e]=t[e];break;case 2:for(r=e[0],e=e[1],o=i=0;o<r;++o)for(var a=t[o],s=0;s<e;++s)n[i++]=a[s];break;case 3:c(t,e[0],e[1],e[2],n,0);break;default:h(t,e,0,n,0)}return n}},Q={\\\"[object Int8Array]\\\":5120,\\\"[object Int16Array]\\\":5122,\\\"[object Int32Array]\\\":5124,\\\"[object Uint8Array]\\\":5121,\\\"[object Uint8ClampedArray]\\\":5121,\\\"[object Uint16Array]\\\":5123,\\\"[object Uint32Array]\\\":5125,\\\"[object Float32Array]\\\":5126,\\\"[object Float64Array]\\\":5121,\\\"[object ArrayBuffer]\\\":5121},tt={int8:5120,int16:5122,int32:5124,uint8:5121,uint16:5123,uint32:5125,float:5126,float32:5126},et={dynamic:35048,stream:35040,static:35044},nt=J.flatten,rt=J.shape,it=[];it[5120]=1,it[5122]=2,it[5124]=4,it[5121]=1,it[5123]=2,it[5125]=4,it[5126]=4;var ot={points:0,point:0,lines:1,line:1,triangles:4,triangle:4,\\\"line loop\\\":2,\\\"line strip\\\":3,\\\"triangle strip\\\":5,\\\"triangle fan\\\":6},at=new Float32Array(1),st=new Uint32Array(at.buffer),lt=[9984,9986,9985,9987],ut=[0,6409,6410,6407,6408],ct={};ct[6409]=ct[6406]=ct[6402]=1,ct[34041]=ct[6410]=2,ct[6407]=ct[35904]=3,ct[6408]=ct[35906]=4;var ht=_(\\\"HTMLCanvasElement\\\"),pt=_(\\\"OffscreenCanvas\\\"),ft=_(\\\"CanvasRenderingContext2D\\\"),dt=_(\\\"ImageBitmap\\\"),mt=_(\\\"HTMLImageElement\\\"),vt=_(\\\"HTMLVideoElement\\\"),gt=Object.keys(Q).concat([ht,pt,ft,dt,mt,vt]),yt=[];yt[5121]=1,yt[5126]=4,yt[36193]=2,yt[5123]=2,yt[5125]=4;var _t=[];_t[32854]=2,_t[32855]=2,_t[36194]=2,_t[34041]=4,_t[33776]=.5,_t[33777]=.5,_t[33778]=1,_t[33779]=1,_t[35986]=.5,_t[35987]=1,_t[34798]=1,_t[35840]=.5,_t[35841]=.25,_t[35842]=.5,_t[35843]=.25,_t[36196]=.5;var bt=[];bt[32854]=2,bt[32855]=2,bt[36194]=2,bt[33189]=2,bt[36168]=1,bt[34041]=4,bt[35907]=4,bt[34836]=16,bt[34842]=8,bt[34843]=6;var xt=function(t,e,n,r,i){function o(t){this.id=u++,this.refCount=1,this.renderbuffer=t,this.format=32854,this.height=this.width=0,i.profile&&(this.stats={size:0})}function a(e){var n=e.renderbuffer;t.bindRenderbuffer(36161,null),t.deleteRenderbuffer(n),e.renderbuffer=null,e.refCount=0,delete c[e.id],r.renderbufferCount--}var s={rgba4:32854,rgb565:36194,\\\"rgb5 a1\\\":32855,depth:33189,stencil:36168,\\\"depth stencil\\\":34041};e.ext_srgb&&(s.srgba=35907),e.ext_color_buffer_half_float&&(s.rgba16f=34842,s.rgb16f=34843),e.webgl_color_buffer_float&&(s.rgba32f=34836);var l=[];Object.keys(s).forEach((function(t){l[s[t]]=t}));var u=0,c={};return o.prototype.decRef=function(){0>=--this.refCount&&a(this)},i.profile&&(r.getTotalRenderbufferSize=function(){var t=0;return Object.keys(c).forEach((function(e){t+=c[e].stats.size})),t}),{create:function(e,n){function a(e,n){var r=0,o=0,c=32854;if(\\\"object\\\"==typeof e&&e?(\\\"shape\\\"in e?(r=0|(o=e.shape)[0],o=0|o[1]):(\\\"radius\\\"in e&&(r=o=0|e.radius),\\\"width\\\"in e&&(r=0|e.width),\\\"height\\\"in e&&(o=0|e.height)),\\\"format\\\"in e&&(c=s[e.format])):\\\"number\\\"==typeof e?(r=0|e,o=\\\"number\\\"==typeof n?0|n:r):e||(r=o=1),r!==u.width||o!==u.height||c!==u.format)return a.width=u.width=r,a.height=u.height=o,u.format=c,t.bindRenderbuffer(36161,u.renderbuffer),t.renderbufferStorage(36161,c,r,o),i.profile&&(u.stats.size=bt[u.format]*u.width*u.height),a.format=l[u.format],a}var u=new o(t.createRenderbuffer());return c[u.id]=u,r.renderbufferCount++,a(e,n),a.resize=function(e,n){var r=0|e,o=0|n||r;return r===u.width&&o===u.height||(a.width=u.width=r,a.height=u.height=o,t.bindRenderbuffer(36161,u.renderbuffer),t.renderbufferStorage(36161,u.format,r,o),i.profile&&(u.stats.size=bt[u.format]*u.width*u.height)),a},a._reglType=\\\"renderbuffer\\\",a._renderbuffer=u,i.profile&&(a.stats=u.stats),a.destroy=function(){u.decRef()},a},clear:function(){K(c).forEach(a)},restore:function(){K(c).forEach((function(e){e.renderbuffer=t.createRenderbuffer(),t.bindRenderbuffer(36161,e.renderbuffer),t.renderbufferStorage(36161,e.format,e.width,e.height)})),t.bindRenderbuffer(36161,null)}}},wt=[];wt[6408]=4,wt[6407]=3;var At=[];At[5121]=1,At[5126]=4,At[36193]=2;var Ct=[\\\"x\\\",\\\"y\\\",\\\"z\\\",\\\"w\\\"],Mt=\\\"blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset\\\".split(\\\" \\\"),Et={0:0,1:1,zero:0,one:1,\\\"src color\\\":768,\\\"one minus src color\\\":769,\\\"src alpha\\\":770,\\\"one minus src alpha\\\":771,\\\"dst color\\\":774,\\\"one minus dst color\\\":775,\\\"dst alpha\\\":772,\\\"one minus dst alpha\\\":773,\\\"constant color\\\":32769,\\\"one minus constant color\\\":32770,\\\"constant alpha\\\":32771,\\\"one minus constant alpha\\\":32772,\\\"src alpha saturate\\\":776},Tt={never:512,less:513,\\\"<\\\":513,equal:514,\\\"=\\\":514,\\\"==\\\":514,\\\"===\\\":514,lequal:515,\\\"<=\\\":515,greater:516,\\\">\\\":516,notequal:517,\\\"!=\\\":517,\\\"!==\\\":517,gequal:518,\\\">=\\\":518,always:519},St={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,\\\"increment wrap\\\":34055,\\\"decrement wrap\\\":34056,invert:5386},kt={cw:2304,ccw:2305},Ot=new $(!1,!1,!1,(function(){}));return function(t){function e(){if(0===Z.length)w&&w.update(),tt=null;else{tt=G.next(e),h();for(var t=Z.length-1;0<=t;--t){var n=Z[t];n&&n(S,null,0)}d.flush(),w&&w.update()}}function n(){!tt&&0<Z.length&&(tt=G.next(e))}function r(){tt&&(G.cancel(e),tt=null)}function i(t){t.preventDefault(),r(),K.forEach((function(t){t()}))}function a(t){d.getError(),y.restore(),D.restore(),P.restore(),$.restore(),B.restore(),N.restore(),z.restore(),w&&w.restore(),F.procs.refresh(),n(),J.forEach((function(t){t()}))}function s(t){function e(t){var e={},n={};return Object.keys(t).forEach((function(r){var i=t[r];H.isDynamic(i)?n[r]=H.unbox(i,r):e[r]=i})),{dynamic:n,static:e}}var n=e(t.context||{}),r=e(t.uniforms||{}),i=e(t.attributes||{}),o=e(function(t){function e(t){if(t in n){var e=n[t];delete n[t],Object.keys(e).forEach((function(r){n[t+\\\".\\\"+r]=e[r]}))}}var n=q({},t);return delete n.uniforms,delete n.attributes,delete n.context,delete n.vao,\\\"stencil\\\"in n&&n.stencil.op&&(n.stencil.opBack=n.stencil.opFront=n.stencil.op,delete n.stencil.op),e(\\\"blend\\\"),e(\\\"depth\\\"),e(\\\"cull\\\"),e(\\\"stencil\\\"),e(\\\"polygonOffset\\\"),e(\\\"scissor\\\"),e(\\\"sample\\\"),\\\"vao\\\"in t&&(n.vao=t.vao),n}(t));t={gpuTime:0,cpuTime:0,count:0};var a=(n=F.compile(o,i,r,n,t)).draw,s=n.batch,l=n.scope,u=[];return q((function(t,e){var n;if(\\\"function\\\"==typeof t)return l.call(this,null,t,0);if(\\\"function\\\"==typeof e)if(\\\"number\\\"==typeof t)for(n=0;n<t;++n)l.call(this,null,e,n);else{if(!Array.isArray(t))return l.call(this,t,e,0);for(n=0;n<t.length;++n)l.call(this,t[n],e,n)}else if(\\\"number\\\"==typeof t){if(0<t)return s.call(this,function(t){for(;u.length<t;)u.push(null);return u}(0|t),0|t)}else{if(!Array.isArray(t))return a.call(this,t);if(t.length)return s.call(this,t,t.length)}}),{stats:t})}function l(t,e){var n=0;F.procs.poll();var r=e.color;r&&(d.clearColor(+r[0]||0,+r[1]||0,+r[2]||0,+r[3]||0),n|=16384),\\\"depth\\\"in e&&(d.clearDepth(+e.depth),n|=256),\\\"stencil\\\"in e&&(d.clearStencil(0|e.stencil),n|=1024),d.clear(n)}function u(t){return Z.push(t),n(),{cancel:function(){var e=U(Z,t);Z[e]=function t(){var e=U(Z,t);Z[e]=Z[Z.length-1],--Z.length,0>=Z.length&&r()}}}}function c(){var t=V.viewport,e=V.scissor_box;t[0]=t[1]=e[0]=e[1]=0,S.viewportWidth=S.framebufferWidth=S.drawingBufferWidth=t[2]=e[2]=d.drawingBufferWidth,S.viewportHeight=S.framebufferHeight=S.drawingBufferHeight=t[3]=e[3]=d.drawingBufferHeight}function h(){S.tick+=1,S.time=f(),c(),F.procs.poll()}function p(){c(),F.procs.refresh(),w&&w.update()}function f(){return(W()-A)/1e3}if(!(t=o(t)))return null;var d=t.gl,g=d.getContextAttributes();d.isContextLost();var y=function(t,e){function n(e){var n;e=e.toLowerCase();try{n=r[e]=t.getExtension(e)}catch(t){}return!!n}for(var r={},i=0;i<e.extensions.length;++i){var o=e.extensions[i];if(!n(o))return e.onDestroy(),e.onDone('\\\"'+o+'\\\" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return e.optionalExtensions.forEach(n),{extensions:r,restore:function(){Object.keys(r).forEach((function(t){if(r[t]&&!n(t))throw Error(\\\"(regl): error restoring extension \\\"+t)}))}}}(d,t);if(!y)return null;var _=function(){var t={\\\"\\\":0},e=[\\\"\\\"];return{id:function(n){var r=t[n];return r||(r=t[n]=e.length,e.push(n),r)},str:function(t){return e[t]}}}(),b={vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0},x=y.extensions,w=function(t,e){function n(){this.endQueryIndex=this.startQueryIndex=-1,this.sum=0,this.stats=null}function r(t,e,r){var i=a.pop()||new n;i.startQueryIndex=t,i.endQueryIndex=e,i.sum=0,i.stats=r,s.push(i)}if(!e.ext_disjoint_timer_query)return null;var i=[],o=[],a=[],s=[],l=[],u=[];return{beginQuery:function(t){var n=i.pop()||e.ext_disjoint_timer_query.createQueryEXT();e.ext_disjoint_timer_query.beginQueryEXT(35007,n),o.push(n),r(o.length-1,o.length,t)},endQuery:function(){e.ext_disjoint_timer_query.endQueryEXT(35007)},pushScopeStats:r,update:function(){var t,n;if(0!==(t=o.length)){u.length=Math.max(u.length,t+1),l.length=Math.max(l.length,t+1),l[0]=0;var r=u[0]=0;for(n=t=0;n<o.length;++n){var c=o[n];e.ext_disjoint_timer_query.getQueryObjectEXT(c,34919)?(r+=e.ext_disjoint_timer_query.getQueryObjectEXT(c,34918),i.push(c)):o[t++]=c,l[n+1]=r,u[n+1]=t}for(o.length=t,n=t=0;n<s.length;++n){var h=(r=s[n]).startQueryIndex;c=r.endQueryIndex,r.sum+=l[c]-l[h],h=u[h],(c=u[c])===h?(r.stats.gpuTime+=r.sum/1e6,a.push(r)):(r.startQueryIndex=h,r.endQueryIndex=c,s[t++]=r)}s.length=t}},getNumPendingQueries:function(){return o.length},clear:function(){i.push.apply(i,o);for(var t=0;t<i.length;t++)e.ext_disjoint_timer_query.deleteQueryEXT(i[t]);o.length=0,i.length=0},restore:function(){o.length=0,i.length=0}}}(0,x),A=W(),C=d.drawingBufferWidth,M=d.drawingBufferHeight,S={tick:0,time:0,viewportWidth:C,viewportHeight:M,framebufferWidth:C,framebufferHeight:M,drawingBufferWidth:C,drawingBufferHeight:M,pixelRatio:t.pixelRatio},L=Y(d,x),P=m(d,b,t,(function(t){return z.destroyBuffer(t)})),z=k(d,x,L,b,P),R=v(d,x,P,b),D=O(d,_,b,t),$=E(d,x,L,(function(){F.procs.poll()}),S,b,t),B=xt(d,x,0,b,t),N=T(d,x,L,$,B,b),F=j(d,_,x,L,P,R,0,N,{},z,D,{elements:null,primitive:4,count:-1,offset:0,instances:-1},S,w,t),V=(_=I(d,N,F.procs.poll,S),F.next),X=d.canvas,Z=[],K=[],J=[],Q=[t.onDestroy],tt=null;X&&(X.addEventListener(\\\"webglcontextlost\\\",i,!1),X.addEventListener(\\\"webglcontextrestored\\\",a,!1));var et=N.setFBO=s({framebuffer:H.define.call(null,1,\\\"framebuffer\\\")});return p(),g=q(s,{clear:function(t){if(\\\"framebuffer\\\"in t)if(t.framebuffer&&\\\"framebufferCube\\\"===t.framebuffer_reglType)for(var e=0;6>e;++e)et(q({framebuffer:t.framebuffer.faces[e]},t),l);else et(t,l);else l(0,t)},prop:H.define.bind(null,1),context:H.define.bind(null,2),this:H.define.bind(null,3),draw:s({}),buffer:function(t){return P.create(t,34962,!1,!1)},elements:function(t){return R.create(t,!1)},texture:$.create2D,cube:$.createCube,renderbuffer:B.create,framebuffer:N.create,framebufferCube:N.createCube,vao:z.createVAO,attributes:g,frame:u,on:function(t,e){var n;switch(t){case\\\"frame\\\":return u(e);case\\\"lost\\\":n=K;break;case\\\"restore\\\":n=J;break;case\\\"destroy\\\":n=Q}return n.push(e),{cancel:function(){for(var t=0;t<n.length;++t)if(n[t]===e){n[t]=n[n.length-1],n.pop();break}}}},limits:L,hasExtension:function(t){return 0<=L.extensions.indexOf(t.toLowerCase())},read:_,destroy:function(){Z.length=0,r(),X&&(X.removeEventListener(\\\"webglcontextlost\\\",i),X.removeEventListener(\\\"webglcontextrestored\\\",a)),D.clear(),N.clear(),B.clear(),$.clear(),R.clear(),P.clear(),z.clear(),w&&w.clear(),Q.forEach((function(t){t()}))},_gl:d,_refresh:p,poll:function(){h(),w&&w.update()},now:f,stats:b}),t.onDone(null,g),g}},\\\"object\\\"==typeof n&&void 0!==e?e.exports=r():this.createREGL=r()},{}],493:[function(t,e,n){\\\"use strict\\\";var r,i=\\\"\\\";e.exports=function(t,e){if(\\\"string\\\"!=typeof t)throw new TypeError(\\\"expected a string\\\");if(1===e)return t;if(2===e)return t+t;var n=t.length*e;if(r!==t||void 0===r)r=t,i=\\\"\\\";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&e>1;)1&e&&(i+=t),e>>=1,t+=t;return i=(i+=t).substr(0,n)}},{}],494:[function(t,e,r){(function(t){e.exports=t.performance&&t.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}}).call(this,void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{}],495:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=t.length,n=t[t.length-1],r=e,i=e-2;i>=0;--i){var o=n;(l=(s=t[i])-((n=o+s)-o))&&(t[--r]=n,n=l)}var a=0;for(i=r;i<e;++i){var s,l;(l=(s=n)-((n=(o=t[i])+s)-o))&&(t[a++]=l)}return t[a++]=n,t.length=a,t}},{}],496:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"two-product\\\"),i=t(\\\"robust-sum\\\"),o=t(\\\"robust-scale\\\"),a=t(\\\"robust-compress\\\");function s(t,e){for(var n=new Array(t.length-1),r=1;r<t.length;++r)for(var i=n[r-1]=new Array(t.length-1),o=0,a=0;o<t.length;++o)o!==e&&(i[a++]=t[r][o]);return n}function l(t){for(var e=new Array(t),n=0;n<t;++n){e[n]=new Array(t);for(var r=0;r<t;++r)e[n][r]=[\\\"m[\\\",n,\\\"][\\\",r,\\\"]\\\"].join(\\\"\\\")}return e}function u(t){if(1===t.length)return t[0];if(2===t.length)return[\\\"sum(\\\",t[0],\\\",\\\",t[1],\\\")\\\"].join(\\\"\\\");var e=t.length>>1;return[\\\"sum(\\\",u(t.slice(0,e)),\\\",\\\",u(t.slice(e)),\\\")\\\"].join(\\\"\\\")}function c(t){if(2===t.length)return[\\\"sum(prod(\\\",t[0][0],\\\",\\\",t[1][1],\\\"),prod(-\\\",t[0][1],\\\",\\\",t[1][0],\\\"))\\\"].join(\\\"\\\");for(var e=[],n=0;n<t.length;++n)e.push([\\\"scale(\\\",c(s(t,n)),\\\",\\\",(r=n,1&r?\\\"-\\\":\\\"\\\"),t[0][n],\\\")\\\"].join(\\\"\\\"));var r;return u(e)}function h(t){return new Function(\\\"sum\\\",\\\"scale\\\",\\\"prod\\\",\\\"compress\\\",[\\\"function robustDeterminant\\\",t,\\\"(m){return compress(\\\",c(l(t)),\\\")};return robustDeterminant\\\",t].join(\\\"\\\"))(i,o,r,a)}var p=[function(){return[0]},function(t){return[t[0][0]]}];!function(){for(;p.length<6;)p.push(h(p.length));for(var t=[],n=[\\\"function robustDeterminant(m){switch(m.length){\\\"],r=0;r<6;++r)t.push(\\\"det\\\"+r),n.push(\\\"case \\\",r,\\\":return det\\\",r,\\\"(m);\\\");n.push(\\\"}var det=CACHE[m.length];if(!det)det=CACHE[m.length]=gen(m.length);return det(m);}return robustDeterminant\\\"),t.push(\\\"CACHE\\\",\\\"gen\\\",n.join(\\\"\\\"));var i=Function.apply(void 0,t);for(e.exports=i.apply(void 0,p.concat([p,h])),r=0;r<p.length;++r)e.exports[r]=p[r]}()},{\\\"robust-compress\\\":495,\\\"robust-scale\\\":502,\\\"robust-sum\\\":505,\\\"two-product\\\":534}],497:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"two-product\\\"),i=t(\\\"robust-sum\\\");e.exports=function(t,e){for(var n=r(t[0],e[0]),o=1;o<t.length;++o)n=i(n,r(t[o],e[o]));return n}},{\\\"robust-sum\\\":505,\\\"two-product\\\":534}],498:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"two-product\\\"),i=t(\\\"robust-sum\\\"),o=t(\\\"robust-subtract\\\"),a=t(\\\"robust-scale\\\");function s(t,e){for(var n=new Array(t.length-1),r=1;r<t.length;++r)for(var i=n[r-1]=new Array(t.length-1),o=0,a=0;o<t.length;++o)o!==e&&(i[a++]=t[r][o]);return n}function l(t){if(1===t.length)return t[0];if(2===t.length)return[\\\"sum(\\\",t[0],\\\",\\\",t[1],\\\")\\\"].join(\\\"\\\");var e=t.length>>1;return[\\\"sum(\\\",l(t.slice(0,e)),\\\",\\\",l(t.slice(e)),\\\")\\\"].join(\\\"\\\")}function u(t,e){if(\\\"m\\\"===t.charAt(0)){if(\\\"w\\\"===e.charAt(0)){var n=t.split(\\\"[\\\");return[\\\"w\\\",e.substr(1),\\\"m\\\",n[0].substr(1)].join(\\\"\\\")}return[\\\"prod(\\\",t,\\\",\\\",e,\\\")\\\"].join(\\\"\\\")}return u(e,t)}function c(t){if(2===t.length)return[[\\\"diff(\\\",u(t[0][0],t[1][1]),\\\",\\\",u(t[1][0],t[0][1]),\\\")\\\"].join(\\\"\\\")];for(var e=[],n=0;n<t.length;++n)e.push([\\\"scale(\\\",l(c(s(t,n))),\\\",\\\",(r=n,!0&r?\\\"-\\\":\\\"\\\"),t[0][n],\\\")\\\"].join(\\\"\\\"));var r;return e}function h(t,e){for(var n=[],r=0;r<e-2;++r)n.push([\\\"prod(m\\\",t,\\\"[\\\",r,\\\"],m\\\",t,\\\"[\\\",r,\\\"])\\\"].join(\\\"\\\"));return l(n)}function p(t){for(var e=[],n=[],u=function(t){for(var e=new Array(t),n=0;n<t;++n){e[n]=new Array(t);for(var r=0;r<t;++r)e[n][r]=[\\\"m\\\",r,\\\"[\\\",t-n-2,\\\"]\\\"].join(\\\"\\\")}return e}(t),p=0;p<t;++p)u[0][p]=\\\"1\\\",u[t-1][p]=\\\"w\\\"+p;for(p=0;p<t;++p)0==(1&p)?e.push.apply(e,c(s(u,p))):n.push.apply(n,c(s(u,p)));var f=l(e),d=l(n),m=\\\"exactInSphere\\\"+t,v=[];for(p=0;p<t;++p)v.push(\\\"m\\\"+p);var g=[\\\"function \\\",m,\\\"(\\\",v.join(),\\\"){\\\"];for(p=0;p<t;++p){g.push(\\\"var w\\\",p,\\\"=\\\",h(p,t),\\\";\\\");for(var y=0;y<t;++y)y!==p&&g.push(\\\"var w\\\",p,\\\"m\\\",y,\\\"=scale(w\\\",p,\\\",m\\\",y,\\\"[0]);\\\")}return g.push(\\\"var p=\\\",f,\\\",n=\\\",d,\\\",d=diff(p,n);return d[d.length-1];}return \\\",m),new Function(\\\"sum\\\",\\\"diff\\\",\\\"prod\\\",\\\"scale\\\",g.join(\\\"\\\"))(i,o,r,a)}var f=[function(){return 0},function(){return 0},function(){return 0}];function d(t){var e=f[t.length];return e||(e=f[t.length]=p(t.length)),e.apply(void 0,t)}!function(){for(;f.length<=6;)f.push(p(f.length));for(var t=[],n=[\\\"slow\\\"],r=0;r<=6;++r)t.push(\\\"a\\\"+r),n.push(\\\"o\\\"+r);var i=[\\\"function testInSphere(\\\",t.join(),\\\"){switch(arguments.length){case 0:case 1:return 0;\\\"];for(r=2;r<=6;++r)i.push(\\\"case \\\",r,\\\":return o\\\",r,\\\"(\\\",t.slice(0,r).join(),\\\");\\\");i.push(\\\"}var s=new Array(arguments.length);for(var i=0;i<arguments.length;++i){s[i]=arguments[i]};return slow(s);}return testInSphere\\\"),n.push(i.join(\\\"\\\"));var o=Function.apply(void 0,n);for(e.exports=o.apply(void 0,[d].concat(f)),r=0;r<=6;++r)e.exports[r]=f[r]}()},{\\\"robust-scale\\\":502,\\\"robust-subtract\\\":504,\\\"robust-sum\\\":505,\\\"two-product\\\":534}],499:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"robust-determinant\\\");function i(t){for(var e=\\\"robustLinearSolve\\\"+t+\\\"d\\\",n=[\\\"function \\\",e,\\\"(A,b){return [\\\"],i=0;i<t;++i){n.push(\\\"det([\\\");for(var o=0;o<t;++o){o>0&&n.push(\\\",\\\"),n.push(\\\"[\\\");for(var a=0;a<t;++a)a>0&&n.push(\\\",\\\"),a===i?n.push(\\\"+b[\\\",o,\\\"]\\\"):n.push(\\\"+A[\\\",o,\\\"][\\\",a,\\\"]\\\");n.push(\\\"]\\\")}n.push(\\\"]),\\\")}return n.push(\\\"det(A)]}return \\\",e),new Function(\\\"det\\\",n.join(\\\"\\\"))(t<6?r[t]:r)}var o=[function(){return[0]},function(t,e){return[[e[0]],[t[0][0]]]}];!function(){for(;o.length<6;)o.push(i(o.length));for(var t=[],n=[\\\"function dispatchLinearSolve(A,b){switch(A.length){\\\"],r=0;r<6;++r)t.push(\\\"s\\\"+r),n.push(\\\"case \\\",r,\\\":return s\\\",r,\\\"(A,b);\\\");n.push(\\\"}var s=CACHE[A.length];if(!s)s=CACHE[A.length]=g(A.length);return s(A,b)}return dispatchLinearSolve\\\"),t.push(\\\"CACHE\\\",\\\"g\\\",n.join(\\\"\\\"));var a=Function.apply(void 0,t);for(e.exports=a.apply(void 0,o.concat([o,i])),r=0;r<6;++r)e.exports[r]=o[r]}()},{\\\"robust-determinant\\\":496}],500:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"two-product\\\"),i=t(\\\"robust-sum\\\"),o=t(\\\"robust-scale\\\"),a=t(\\\"robust-subtract\\\");function s(t,e){for(var n=new Array(t.length-1),r=1;r<t.length;++r)for(var i=n[r-1]=new Array(t.length-1),o=0,a=0;o<t.length;++o)o!==e&&(i[a++]=t[r][o]);return n}function l(t){if(1===t.length)return t[0];if(2===t.length)return[\\\"sum(\\\",t[0],\\\",\\\",t[1],\\\")\\\"].join(\\\"\\\");var e=t.length>>1;return[\\\"sum(\\\",l(t.slice(0,e)),\\\",\\\",l(t.slice(e)),\\\")\\\"].join(\\\"\\\")}function u(t){if(2===t.length)return[[\\\"sum(prod(\\\",t[0][0],\\\",\\\",t[1][1],\\\"),prod(-\\\",t[0][1],\\\",\\\",t[1][0],\\\"))\\\"].join(\\\"\\\")];for(var e=[],n=0;n<t.length;++n)e.push([\\\"scale(\\\",l(u(s(t,n))),\\\",\\\",(r=n,1&r?\\\"-\\\":\\\"\\\"),t[0][n],\\\")\\\"].join(\\\"\\\"));var r;return e}function c(t){for(var e=[],n=[],c=function(t){for(var e=new Array(t),n=0;n<t;++n){e[n]=new Array(t);for(var r=0;r<t;++r)e[n][r]=[\\\"m\\\",r,\\\"[\\\",t-n-1,\\\"]\\\"].join(\\\"\\\")}return e}(t),h=[],p=0;p<t;++p)0==(1&p)?e.push.apply(e,u(s(c,p))):n.push.apply(n,u(s(c,p))),h.push(\\\"m\\\"+p);var f=l(e),d=l(n),m=\\\"orientation\\\"+t+\\\"Exact\\\",v=[\\\"function \\\",m,\\\"(\\\",h.join(),\\\"){var p=\\\",f,\\\",n=\\\",d,\\\",d=sub(p,n);return d[d.length-1];};return \\\",m].join(\\\"\\\");return new Function(\\\"sum\\\",\\\"prod\\\",\\\"scale\\\",\\\"sub\\\",v)(i,r,o,a)}var h=c(3),p=c(4),f=[function(){return 0},function(){return 0},function(t,e){return e[0]-t[0]},function(t,e,n){var r,i=(t[1]-n[1])*(e[0]-n[0]),o=(t[0]-n[0])*(e[1]-n[1]),a=i-o;if(i>0){if(o<=0)return a;r=i+o}else{if(!(i<0))return a;if(o>=0)return a;r=-(i+o)}var s=33306690738754716e-32*r;return a>=s||a<=-s?a:h(t,e,n)},function(t,e,n,r){var i=t[0]-r[0],o=e[0]-r[0],a=n[0]-r[0],s=t[1]-r[1],l=e[1]-r[1],u=n[1]-r[1],c=t[2]-r[2],h=e[2]-r[2],f=n[2]-r[2],d=o*u,m=a*l,v=a*s,g=i*u,y=i*l,_=o*s,b=c*(d-m)+h*(v-g)+f*(y-_),x=7771561172376103e-31*((Math.abs(d)+Math.abs(m))*Math.abs(c)+(Math.abs(v)+Math.abs(g))*Math.abs(h)+(Math.abs(y)+Math.abs(_))*Math.abs(f));return b>x||-b>x?b:p(t,e,n,r)}];function d(t){var e=f[t.length];return e||(e=f[t.length]=c(t.length)),e.apply(void 0,t)}!function(){for(;f.length<=5;)f.push(c(f.length));for(var t=[],n=[\\\"slow\\\"],r=0;r<=5;++r)t.push(\\\"a\\\"+r),n.push(\\\"o\\\"+r);var i=[\\\"function getOrientation(\\\",t.join(),\\\"){switch(arguments.length){case 0:case 1:return 0;\\\"];for(r=2;r<=5;++r)i.push(\\\"case \\\",r,\\\":return o\\\",r,\\\"(\\\",t.slice(0,r).join(),\\\");\\\");i.push(\\\"}var s=new Array(arguments.length);for(var i=0;i<arguments.length;++i){s[i]=arguments[i]};return slow(s);}return getOrientation\\\"),n.push(i.join(\\\"\\\"));var o=Function.apply(void 0,n);for(e.exports=o.apply(void 0,[d].concat(f)),r=0;r<=5;++r)e.exports[r]=f[r]}()},{\\\"robust-scale\\\":502,\\\"robust-subtract\\\":504,\\\"robust-sum\\\":505,\\\"two-product\\\":534}],501:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"robust-sum\\\"),i=t(\\\"robust-scale\\\");e.exports=function(t,e){if(1===t.length)return i(e,t[0]);if(1===e.length)return i(t,e[0]);if(0===t.length||0===e.length)return[0];var n=[0];if(t.length<e.length)for(var o=0;o<t.length;++o)n=r(n,i(e,t[o]));else for(o=0;o<e.length;++o)n=r(n,i(t,e[o]));return n}},{\\\"robust-scale\\\":502,\\\"robust-sum\\\":505}],502:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"two-product\\\"),i=t(\\\"two-sum\\\");e.exports=function(t,e){var n=t.length;if(1===n){var o=r(t[0],e);return o[0]?o:[o[1]]}var a=new Array(2*n),s=[.1,.1],l=[.1,.1],u=0;r(t[0],e,s),s[0]&&(a[u++]=s[0]);for(var c=1;c<n;++c){r(t[c],e,l);var h=s[1];i(h,l[0],s),s[0]&&(a[u++]=s[0]);var p=l[1],f=s[1],d=p+f,m=f-(d-p);s[1]=d,m&&(a[u++]=m)}return s[1]&&(a[u++]=s[1]),0===u&&(a[u++]=0),a.length=u,a}},{\\\"two-product\\\":534,\\\"two-sum\\\":535}],503:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,i){var o=r(t,n,i),a=r(e,n,i);if(o>0&&a>0||o<0&&a<0)return!1;var s=r(n,t,e),l=r(i,t,e);return!(s>0&&l>0||s<0&&l<0)&&(0!==o||0!==a||0!==s||0!==l||function(t,e,n,r){for(var i=0;i<2;++i){var o=t[i],a=e[i],s=Math.min(o,a),l=Math.max(o,a),u=n[i],c=r[i],h=Math.min(u,c);if(Math.max(u,c)<s||l<h)return!1}return!0}(t,e,n,i))};var r=t(\\\"robust-orientation\\\")[3]},{\\\"robust-orientation\\\":500}],504:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=0|t.length,r=0|e.length;if(1===n&&1===r)return function(t,e){var n=t+e,r=n-t,i=t-(n-r)+(e-r);return i?[i,n]:[n]}(t[0],-e[0]);var i,o,a=new Array(n+r),s=0,l=0,u=0,c=Math.abs,h=t[l],p=c(h),f=-e[u],d=c(f);p<d?(o=h,(l+=1)<n&&(p=c(h=t[l]))):(o=f,(u+=1)<r&&(d=c(f=-e[u]))),l<n&&p<d||u>=r?(i=h,(l+=1)<n&&(p=c(h=t[l]))):(i=f,(u+=1)<r&&(d=c(f=-e[u])));for(var m,v,g=i+o,y=g-i,_=o-y,b=_,x=g;l<n&&u<r;)p<d?(i=h,(l+=1)<n&&(p=c(h=t[l]))):(i=f,(u+=1)<r&&(d=c(f=-e[u]))),(_=(o=b)-(y=(g=i+o)-i))&&(a[s++]=_),b=x-((m=x+g)-(v=m-x))+(g-v),x=m;for(;l<n;)(_=(o=b)-(y=(g=(i=h)+o)-i))&&(a[s++]=_),b=x-((m=x+g)-(v=m-x))+(g-v),x=m,(l+=1)<n&&(h=t[l]);for(;u<r;)(_=(o=b)-(y=(g=(i=f)+o)-i))&&(a[s++]=_),b=x-((m=x+g)-(v=m-x))+(g-v),x=m,(u+=1)<r&&(f=-e[u]);return b&&(a[s++]=b),x&&(a[s++]=x),s||(a[s++]=0),a.length=s,a}},{}],505:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=0|t.length,r=0|e.length;if(1===n&&1===r)return function(t,e){var n=t+e,r=n-t,i=t-(n-r)+(e-r);return i?[i,n]:[n]}(t[0],e[0]);var i,o,a=new Array(n+r),s=0,l=0,u=0,c=Math.abs,h=t[l],p=c(h),f=e[u],d=c(f);p<d?(o=h,(l+=1)<n&&(p=c(h=t[l]))):(o=f,(u+=1)<r&&(d=c(f=e[u]))),l<n&&p<d||u>=r?(i=h,(l+=1)<n&&(p=c(h=t[l]))):(i=f,(u+=1)<r&&(d=c(f=e[u])));for(var m,v,g=i+o,y=g-i,_=o-y,b=_,x=g;l<n&&u<r;)p<d?(i=h,(l+=1)<n&&(p=c(h=t[l]))):(i=f,(u+=1)<r&&(d=c(f=e[u]))),(_=(o=b)-(y=(g=i+o)-i))&&(a[s++]=_),b=x-((m=x+g)-(v=m-x))+(g-v),x=m;for(;l<n;)(_=(o=b)-(y=(g=(i=h)+o)-i))&&(a[s++]=_),b=x-((m=x+g)-(v=m-x))+(g-v),x=m,(l+=1)<n&&(h=t[l]);for(;u<r;)(_=(o=b)-(y=(g=(i=f)+o)-i))&&(a[s++]=_),b=x-((m=x+g)-(v=m-x))+(g-v),x=m,(u+=1)<r&&(f=e[u]);return b&&(a[s++]=b),x&&(a[s++]=x),s||(a[s++]=0),a.length=s,a}},{}],506:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return t<0?-1:t>0?1:0}},{}],507:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return i(r(t))};var r=t(\\\"boundary-cells\\\"),i=t(\\\"reduce-simplicial-complex\\\")},{\\\"boundary-cells\\\":98,\\\"reduce-simplicial-complex\\\":487}],508:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,s){if(n=n||0,void 0===s&&(s=function(t){for(var e=t.length,n=0,r=0;r<e;++r)n=0|Math.max(n,t[r].length);return n-1}(t)),0===t.length||s<1)return{cells:[],vertexIds:[],vertexWeights:[]};var l=function(t,e){for(var n=t.length,r=i.mallocUint8(n),o=0;o<n;++o)r[o]=t[o]<e|0;return r}(e,+n),u=function(t,e){for(var n=t.length,a=e*(e+1)/2*n|0,s=i.mallocUint32(2*a),l=0,u=0;u<n;++u)for(var c=t[u],h=(e=c.length,0);h<e;++h)for(var p=0;p<h;++p){var f=c[p],d=c[h];s[l++]=0|Math.min(f,d),s[l++]=0|Math.max(f,d)}o(r(s,[l/2|0,2]));var m=2;for(u=2;u<l;u+=2)s[u-2]===s[u]&&s[u-1]===s[u+1]||(s[m++]=s[u],s[m++]=s[u+1]);return r(s,[m/2|0,2])}(t,s),c=function(t,e,n,o){for(var a=t.data,s=t.shape[0],l=i.mallocDouble(s),u=0,c=0;c<s;++c){var h=a[2*c],p=a[2*c+1];if(n[h]!==n[p]){var f=e[h],d=e[p];a[2*u]=h,a[2*u+1]=p,l[u++]=(d-o)/(d-f)}}return t.shape[0]=u,r(l,[u])}(u,e,l,+n),h=function(t,e){var n=i.mallocInt32(2*e),r=t.shape[0],o=t.data;n[0]=0;for(var a=0,s=0;s<r;++s){var l=o[2*s];if(l!==a){for(n[2*a+1]=s;++a<l;)n[2*a]=s,n[2*a+1]=s;n[2*a]=s}}for(n[2*a+1]=r;++a<e;)n[2*a]=n[2*a+1]=r;return n}(u,0|e.length),p=a(s)(t,u.data,h,l),f=function(t){for(var e=0|t.shape[0],n=t.data,r=new Array(e),i=0;i<e;++i)r[i]=[n[2*i],n[2*i+1]];return r}(u),d=[].slice.call(c.data,0,c.shape[0]);return i.free(l),i.free(u.data),i.free(c.data),i.free(h),{cells:p,vertexIds:f,vertexWeights:d}};var r=t(\\\"ndarray\\\"),i=t(\\\"typedarray-pool\\\"),o=t(\\\"ndarray-sort\\\"),a=t(\\\"./lib/codegen\\\")},{\\\"./lib/codegen\\\":509,ndarray:448,\\\"ndarray-sort\\\":447,\\\"typedarray-pool\\\":547}],509:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=o[t];return e||(e=o[t]=function(t){var e=0,n=new Array(t+1);n[0]=[[]];for(var o=1;o<=t;++o)for(var a=n[o]=i(o),s=0;s<a.length;++s)e=Math.max(e,a[o].length);var l=[\\\"function B(C,E,i,j){\\\",\\\"var a=Math.min(i,j)|0,b=Math.max(i,j)|0,l=C[2*a],h=C[2*a+1];\\\",\\\"while(l<h){\\\",\\\"var m=(l+h)>>1,v=E[2*m+1];\\\",\\\"if(v===b){return m}\\\",\\\"if(b<v){h=m}else{l=m+1}\\\",\\\"}\\\",\\\"return l;\\\",\\\"};\\\",\\\"function getContour\\\",t,\\\"d(F,E,C,S){\\\",\\\"var n=F.length,R=[];\\\",\\\"for(var i=0;i<n;++i){var c=F[i],l=c.length;\\\"];function u(t){if(!(t.length<=0)){l.push(\\\"R.push(\\\");for(var e=0;e<t.length;++e){var n=t[e];e>0&&l.push(\\\",\\\"),l.push(\\\"[\\\");for(var r=0;r<n.length;++r){var i=n[r];r>0&&l.push(\\\",\\\"),l.push(\\\"B(C,E,c[\\\",i[0],\\\"],c[\\\",i[1],\\\"])\\\")}l.push(\\\"]\\\")}l.push(\\\");\\\")}}for(o=t+1;o>1;--o){o<t+1&&l.push(\\\"else \\\"),l.push(\\\"if(l===\\\",o,\\\"){\\\");var c=[];for(s=0;s<o;++s)c.push(\\\"(S[c[\\\"+s+\\\"]]<<\\\"+s+\\\")\\\");for(l.push(\\\"var M=\\\",c.join(\\\"+\\\"),\\\";if(M===0||M===\\\",(1<<o)-1,\\\"){continue}switch(M){\\\"),a=n[o-1],s=0;s<a.length;++s)l.push(\\\"case \\\",s,\\\":\\\"),u(a[s]),l.push(\\\"break;\\\");l.push(\\\"}}\\\")}return l.push(\\\"}return R;};return getContour\\\",t,\\\"d\\\"),new Function(\\\"pool\\\",l.join(\\\"\\\"))(r)}(t)),e};var r=t(\\\"typedarray-pool\\\"),i=t(\\\"marching-simplex-table\\\"),o={}},{\\\"marching-simplex-table\\\":427,\\\"typedarray-pool\\\":547}],510:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"bit-twiddle\\\"),i=t(\\\"union-find\\\");function o(t,e){var n=t.length,r=t.length-e.length,i=Math.min;if(r)return r;switch(n){case 0:return 0;case 1:return t[0]-e[0];case 2:return(s=t[0]+t[1]-e[0]-e[1])||i(t[0],t[1])-i(e[0],e[1]);case 3:var o=t[0]+t[1],a=e[0]+e[1];if(s=o+t[2]-(a+e[2]))return s;var s,l=i(t[0],t[1]),u=i(e[0],e[1]);return(s=i(l,t[2])-i(u,e[2]))||i(l+t[2],o)-i(u+e[2],a);default:var c=t.slice(0);c.sort();var h=e.slice(0);h.sort();for(var p=0;p<n;++p)if(r=c[p]-h[p])return r;return 0}}function a(t,e){return o(t[0],e[0])}function s(t,e){if(e){for(var n=t.length,r=new Array(n),i=0;i<n;++i)r[i]=[t[i],e[i]];for(r.sort(a),i=0;i<n;++i)t[i]=r[i][0],e[i]=r[i][1];return t}return t.sort(o),t}function l(t){if(0===t.length)return[];for(var e=1,n=t.length,r=1;r<n;++r){var i=t[r];if(o(i,t[r-1])){if(r===e){e++;continue}t[e++]=i}}return t.length=e,t}function u(t,e){for(var n=0,r=t.length-1,i=-1;n<=r;){var a=n+r>>1,s=o(t[a],e);s<=0?(0===s&&(i=a),n=a+1):s>0&&(r=a-1)}return i}function c(t,e){for(var n=new Array(t.length),i=0,a=n.length;i<a;++i)n[i]=[];for(var s=[],l=(i=0,e.length);i<l;++i)for(var c=e[i],h=c.length,p=1,f=1<<h;p<f;++p){s.length=r.popCount(p);for(var d=0,m=0;m<h;++m)p&1<<m&&(s[d++]=c[m]);var v=u(t,s);if(!(v<0))for(;n[v++].push(i),!(v>=t.length||0!==o(t[v],s)););}return n}function h(t,e){if(e<0)return[];for(var n=[],i=(1<<e+1)-1,o=0;o<t.length;++o)for(var a=t[o],l=i;l<1<<a.length;l=r.nextCombination(l)){for(var u=new Array(e+1),c=0,h=0;h<a.length;++h)l&1<<h&&(u[c++]=a[h]);n.push(u)}return s(n)}n.dimension=function(t){for(var e=0,n=Math.max,r=0,i=t.length;r<i;++r)e=n(e,t[r].length);return e-1},n.countVertices=function(t){for(var e=-1,n=Math.max,r=0,i=t.length;r<i;++r)for(var o=t[r],a=0,s=o.length;a<s;++a)e=n(e,o[a]);return e+1},n.cloneCells=function(t){for(var e=new Array(t.length),n=0,r=t.length;n<r;++n)e[n]=t[n].slice(0);return e},n.compareCells=o,n.normalize=s,n.unique=l,n.findCell=u,n.incidence=c,n.dual=function(t,e){if(!e)return c(l(h(t,0)),t);for(var n=new Array(e),r=0;r<e;++r)n[r]=[];r=0;for(var i=t.length;r<i;++r)for(var o=t[r],a=0,s=o.length;a<s;++a)n[o[a]].push(r);return n},n.explode=function(t){for(var e=[],n=0,r=t.length;n<r;++n)for(var i=t[n],o=0|i.length,a=1,l=1<<o;a<l;++a){for(var u=[],c=0;c<o;++c)a>>>c&1&&u.push(i[c]);e.push(u)}return s(e)},n.skeleton=h,n.boundary=function(t){for(var e=[],n=0,r=t.length;n<r;++n)for(var i=t[n],o=0,a=i.length;o<a;++o){for(var l=new Array(i.length-1),u=0,c=0;u<a;++u)u!==o&&(l[c++]=i[u]);e.push(l)}return s(e)},n.connectedComponents=function(t,e){return e?function(t,e){for(var n=new i(e),r=0;r<t.length;++r)for(var o=t[r],a=0;a<o.length;++a)for(var s=a+1;s<o.length;++s)n.link(o[a],o[s]);var l=[],u=n.ranks;for(r=0;r<u.length;++r)u[r]=-1;for(r=0;r<t.length;++r){var c=n.find(t[r][0]);u[c]<0?(u[c]=l.length,l.push([t[r].slice(0)])):l[u[c]].push(t[r].slice(0))}return l}(t,e):function(t){for(var e=l(s(h(t,0))),n=new i(e.length),r=0;r<t.length;++r)for(var o=t[r],a=0;a<o.length;++a)for(var c=u(e,[o[a]]),p=a+1;p<o.length;++p)n.link(c,u(e,[o[p]]));var f=[],d=n.ranks;for(r=0;r<d.length;++r)d[r]=-1;for(r=0;r<t.length;++r){var m=n.find(u(e,[t[r][0]]));d[m]<0?(d[m]=f.length,f.push([t[r].slice(0)])):f[d[m]].push(t[r].slice(0))}return f}(t)}},{\\\"bit-twiddle\\\":95,\\\"union-find\\\":548}],511:[function(t,e,n){arguments[4][95][0].apply(n,arguments)},{dup:95}],512:[function(t,e,n){arguments[4][510][0].apply(n,arguments)},{\\\"bit-twiddle\\\":511,dup:510,\\\"union-find\\\":513}],513:[function(t,e,n){\\\"use strict\\\";function r(t){this.roots=new Array(t),this.ranks=new Array(t);for(var e=0;e<t;++e)this.roots[e]=e,this.ranks[e]=0}e.exports=r,r.prototype.length=function(){return this.roots.length},r.prototype.makeSet=function(){var t=this.roots.length;return this.roots.push(t),this.ranks.push(0),t},r.prototype.find=function(t){for(var e=this.roots;e[t]!==t;){var n=e[t];e[t]=e[n],t=n}return t},r.prototype.link=function(t,e){var n=this.find(t),r=this.find(e);if(n!==r){var i=this.ranks,o=this.roots,a=i[n],s=i[r];a<s?o[n]=r:s<a?o[r]=n:(o[r]=n,++i[n])}}},{}],514:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){for(var o=e.length,a=t.length,s=new Array(o),l=new Array(o),u=new Array(o),c=new Array(o),h=0;h<o;++h)s[h]=l[h]=-1,u[h]=1/0,c[h]=!1;for(h=0;h<a;++h){var p=t[h];if(2!==p.length)throw new Error(\\\"Input must be a graph\\\");var f=p[1],d=p[0];-1!==l[d]?l[d]=-2:l[d]=f,-1!==s[f]?s[f]=-2:s[f]=d}function m(t){if(c[t])return 1/0;var n,i,o,a=s[t],u=l[t];return a<0||u<0?1/0:(n=e[t],i=e[a],o=e[u],Math.abs(r(n,i,o))/Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))}function v(t,e){var n=C[t],r=C[e];C[t]=r,C[e]=n,M[n]=e,M[r]=t}function g(t){return u[C[t]]}function y(t){return 1&t?t-1>>1:(t>>1)-1}function _(t){for(var e=g(t);;){var n=e,r=2*t+1,i=2*(t+1),o=t;if(r<E){var a=g(r);a<n&&(o=r,n=a)}if(i<E&&g(i)<n&&(o=i),o===t)return t;v(t,o),t=o}}function b(t){for(var e=g(t);t>0;){var n=y(t);if(!(n>=0&&e<g(n)))return t;v(t,n),t=n}}function x(){if(E>0){var t=C[0];return v(0,E-1),E-=1,_(0),t}return-1}function w(t,e){var n=C[t];return u[n]===e?t:(u[n]=-1/0,b(t),x(),u[n]=e,b((E+=1)-1))}function A(t){if(!c[t]){c[t]=!0;var e=s[t],n=l[t];s[n]>=0&&(s[n]=e),l[e]>=0&&(l[e]=n),M[e]>=0&&w(M[e],m(e)),M[n]>=0&&w(M[n],m(n))}}var C=[],M=new Array(o);for(h=0;h<o;++h)(u[h]=m(h))<1/0?(M[h]=C.length,C.push(h)):M[h]=-1;var E=C.length;for(h=E>>1;h>=0;--h)_(h);for(;;){var T=x();if(T<0||u[T]>n)break;A(T)}var S=[];for(h=0;h<o;++h)c[h]||(M[h]=S.length,S.push(e[h].slice()));function k(t,e){if(t[e]<0)return e;var n=e,r=e;do{var i=t[r];if(!c[r]||i<0||i===r)break;if(i=t[r=i],!c[r]||i<0||i===r)break;r=i,n=t[n]}while(n!==r);for(var o=e;o!==r;o=t[o])t[o]=r;return r}S.length;var O=[];return t.forEach((function(t){var e=k(s,t[0]),n=k(l,t[1]);if(e>=0&&n>=0&&e!==n){var r=M[e],i=M[n];r!==i&&O.push([r,i])}})),i.unique(i.normalize(O)),{positions:S,edges:O}};var r=t(\\\"robust-orientation\\\"),i=t(\\\"simplicial-complex\\\")},{\\\"robust-orientation\\\":500,\\\"simplicial-complex\\\":512}],515:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n,o,a,s;if(e[0][0]<e[1][0])n=e[0],o=e[1];else{if(!(e[0][0]>e[1][0]))return i(e,t);n=e[1],o=e[0]}if(t[0][0]<t[1][0])a=t[0],s=t[1];else{if(!(t[0][0]>t[1][0]))return-i(t,e);a=t[1],s=t[0]}var l=r(n,o,s),u=r(n,o,a);if(l<0){if(u<=0)return l}else if(l>0){if(u>=0)return l}else if(u)return u;if(l=r(s,a,o),u=r(s,a,n),l<0){if(u<=0)return l}else if(l>0){if(u>=0)return l}else if(u)return u;return o[0]-s[0]};var r=t(\\\"robust-orientation\\\");function i(t,e){var n,i,o,a;if(e[0][0]<e[1][0])n=e[0],i=e[1];else{if(!(e[0][0]>e[1][0])){var s=Math.min(t[0][1],t[1][1]),l=Math.max(t[0][1],t[1][1]),u=Math.min(e[0][1],e[1][1]),c=Math.max(e[0][1],e[1][1]);return l<u?l-u:s>c?s-c:l-c}n=e[1],i=e[0]}t[0][1]<t[1][1]?(o=t[0],a=t[1]):(o=t[1],a=t[0]);var h=r(i,n,o);return h||(h=r(i,n,a))||a-i}},{\\\"robust-orientation\\\":500}],516:[function(t,e,n){arguments[4][238][0].apply(n,arguments)},{dup:238}],517:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=t.length,n=2*e,r=new Array(n),o=0;o<e;++o){var l=t[o],u=l[0][0]<l[1][0];r[2*o]=new h(l[0][0],l,u,o),r[2*o+1]=new h(l[1][0],l,!u,o)}r.sort((function(t,e){var n=t.x-e.x;return n||(n=t.create-e.create)||Math.min(t.segment[0][1],t.segment[1][1])-Math.min(e.segment[0][1],e.segment[1][1])}));var p=i(a),f=[],d=[],m=[];for(o=0;o<n;){for(var v=r[o].x,g=[];o<n;){var y=r[o];if(y.x!==v)break;o+=1,y.segment[0][0]===y.x&&y.segment[1][0]===y.x?y.create&&(y.segment[0][1]<y.segment[1][1]?(g.push(new c(y.segment[0][1],y.index,!0,!0)),g.push(new c(y.segment[1][1],y.index,!1,!1))):(g.push(new c(y.segment[1][1],y.index,!0,!1)),g.push(new c(y.segment[0][1],y.index,!1,!0)))):p=y.create?p.insert(y.segment,y.index):p.remove(y.segment)}f.push(p.root),d.push(v),m.push(g)}return new s(f,d,m)};var r=t(\\\"binary-search-bounds\\\"),i=t(\\\"functional-red-black-tree\\\"),o=t(\\\"robust-orientation\\\"),a=t(\\\"./lib/order-segments\\\");function s(t,e,n){this.slabs=t,this.coordinates=e,this.horizontal=n}function l(t,e){return t.y-e}function u(t,e){for(var n=null;t;){var r,i,a=t.key;a[0][0]<a[1][0]?(r=a[0],i=a[1]):(r=a[1],i=a[0]);var s=o(r,i,e);if(s<0)t=t.left;else if(s>0)if(e[0]!==a[1][0])n=t,t=t.right;else{if(l=u(t.right,e))return l;t=t.left}else{if(e[0]!==a[1][0])return t;var l;if(l=u(t.right,e))return l;t=t.left}}return n}function c(t,e,n,r){this.y=t,this.index=e,this.start=n,this.closed=r}function h(t,e,n,r){this.x=t,this.segment=e,this.create=n,this.index=r}s.prototype.castUp=function(t){var e=r.le(this.coordinates,t[0]);if(e<0)return-1;this.slabs[e];var n=u(this.slabs[e],t),i=-1;if(n&&(i=n.value),this.coordinates[e]===t[0]){var s=null;if(n&&(s=n.key),e>0){var c=u(this.slabs[e-1],t);c&&(s?a(c.key,s)>0&&(s=c.key,i=c.value):(i=c.value,s=c.key))}var h=this.horizontal[e];if(h.length>0){var p=r.ge(h,t[1],l);if(p<h.length){var f=h[p];if(t[1]===f.y){if(f.closed)return f.index;for(;p<h.length-1&&h[p+1].y===t[1];)if((f=h[p+=1]).closed)return f.index;if(f.y===t[1]&&!f.start){if((p+=1)>=h.length)return i;f=h[p]}}if(f.start)if(s){var d=o(s[0],s[1],[t[0],f.y]);s[0][0]>s[1][0]&&(d=-d),d>0&&(i=f.index)}else i=f.index;else f.y!==t[1]&&(i=f.index)}}}return i}},{\\\"./lib/order-segments\\\":515,\\\"binary-search-bounds\\\":516,\\\"functional-red-black-tree\\\":242,\\\"robust-orientation\\\":500}],518:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"robust-dot-product\\\"),i=t(\\\"robust-sum\\\");function o(t,e){var n=i(r(t,e),[e[e.length-1]]);return n[n.length-1]}function a(t,e,n,r){var i=-e/(r-e);i<0?i=0:i>1&&(i=1);for(var o=1-i,a=t.length,s=new Array(a),l=0;l<a;++l)s[l]=i*t[l]+o*n[l];return s}e.exports=function(t,e){for(var n=[],r=[],i=o(t[t.length-1],e),s=t[t.length-1],l=t[0],u=0;u<t.length;++u,s=l){var c=o(l=t[u],e);if(i<0&&c>0||i>0&&c<0){var h=a(s,c,l,i);n.push(h),r.push(h.slice())}c<0?r.push(l.slice()):c>0?n.push(l.slice()):(n.push(l.slice()),r.push(l.slice())),i=c}return{positive:n,negative:r}},e.exports.positive=function(t,e){for(var n=[],r=o(t[t.length-1],e),i=t[t.length-1],s=t[0],l=0;l<t.length;++l,i=s){var u=o(s=t[l],e);(r<0&&u>0||r>0&&u<0)&&n.push(a(i,u,s,r)),u>=0&&n.push(s.slice()),r=u}return n},e.exports.negative=function(t,e){for(var n=[],r=o(t[t.length-1],e),i=t[t.length-1],s=t[0],l=0;l<t.length;++l,i=s){var u=o(s=t[l],e);(r<0&&u>0||r>0&&u<0)&&n.push(a(i,u,s,r)),u<=0&&n.push(s.slice()),r=u}return n}},{\\\"robust-dot-product\\\":497,\\\"robust-sum\\\":505}],519:[function(t,e,n){!function(){\\\"use strict\\\";var t={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\\\\x25]+/,modulo:/^\\\\x25{2}/,placeholder:/^\\\\x25(?:([1-9]\\\\d*)\\\\$|\\\\(([^)]+)\\\\))?(\\\\+)?(0|'[^$])?(-)?(\\\\d+)?(?:\\\\.(\\\\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\\\\d]*)/i,key_access:/^\\\\.([a-z_][a-z_\\\\d]*)/i,index_access:/^\\\\[(\\\\d+)\\\\]/,sign:/^[+-]/};function e(t){return i(a(t),arguments)}function r(t,n){return e.apply(null,[t].concat(n||[]))}function i(n,r){var i,o,a,s,l,u,c,h,p,f=1,d=n.length,m=\\\"\\\";for(o=0;o<d;o++)if(\\\"string\\\"==typeof n[o])m+=n[o];else if(\\\"object\\\"==typeof n[o]){if((s=n[o]).keys)for(i=r[f],a=0;a<s.keys.length;a++){if(null==i)throw new Error(e('[sprintf] Cannot access property \\\"%s\\\" of undefined value \\\"%s\\\"',s.keys[a],s.keys[a-1]));i=i[s.keys[a]]}else i=s.param_no?r[s.param_no]:r[f++];if(t.not_type.test(s.type)&&t.not_primitive.test(s.type)&&i instanceof Function&&(i=i()),t.numeric_arg.test(s.type)&&\\\"number\\\"!=typeof i&&isNaN(i))throw new TypeError(e(\\\"[sprintf] expecting number but found %T\\\",i));switch(t.number.test(s.type)&&(h=i>=0),s.type){case\\\"b\\\":i=parseInt(i,10).toString(2);break;case\\\"c\\\":i=String.fromCharCode(parseInt(i,10));break;case\\\"d\\\":case\\\"i\\\":i=parseInt(i,10);break;case\\\"j\\\":i=JSON.stringify(i,null,s.width?parseInt(s.width):0);break;case\\\"e\\\":i=s.precision?parseFloat(i).toExponential(s.precision):parseFloat(i).toExponential();break;case\\\"f\\\":i=s.precision?parseFloat(i).toFixed(s.precision):parseFloat(i);break;case\\\"g\\\":i=s.precision?String(Number(i.toPrecision(s.precision))):parseFloat(i);break;case\\\"o\\\":i=(parseInt(i,10)>>>0).toString(8);break;case\\\"s\\\":i=String(i),i=s.precision?i.substring(0,s.precision):i;break;case\\\"t\\\":i=String(!!i),i=s.precision?i.substring(0,s.precision):i;break;case\\\"T\\\":i=Object.prototype.toString.call(i).slice(8,-1).toLowerCase(),i=s.precision?i.substring(0,s.precision):i;break;case\\\"u\\\":i=parseInt(i,10)>>>0;break;case\\\"v\\\":i=i.valueOf(),i=s.precision?i.substring(0,s.precision):i;break;case\\\"x\\\":i=(parseInt(i,10)>>>0).toString(16);break;case\\\"X\\\":i=(parseInt(i,10)>>>0).toString(16).toUpperCase()}t.json.test(s.type)?m+=i:(!t.number.test(s.type)||h&&!s.sign?p=\\\"\\\":(p=h?\\\"+\\\":\\\"-\\\",i=i.toString().replace(t.sign,\\\"\\\")),u=s.pad_char?\\\"0\\\"===s.pad_char?\\\"0\\\":s.pad_char.charAt(1):\\\" \\\",c=s.width-(p+i).length,l=s.width&&c>0?u.repeat(c):\\\"\\\",m+=s.align?p+i+l:\\\"0\\\"===u?p+l+i:l+p+i)}return m}var o=Object.create(null);function a(e){if(o[e])return o[e];for(var n,r=e,i=[],a=0;r;){if(null!==(n=t.text.exec(r)))i.push(n[0]);else if(null!==(n=t.modulo.exec(r)))i.push(\\\"%\\\");else{if(null===(n=t.placeholder.exec(r)))throw new SyntaxError(\\\"[sprintf] unexpected placeholder\\\");if(n[2]){a|=1;var s=[],l=n[2],u=[];if(null===(u=t.key.exec(l)))throw new SyntaxError(\\\"[sprintf] failed to parse named argument key\\\");for(s.push(u[1]);\\\"\\\"!==(l=l.substring(u[0].length));)if(null!==(u=t.key_access.exec(l)))s.push(u[1]);else{if(null===(u=t.index_access.exec(l)))throw new SyntaxError(\\\"[sprintf] failed to parse named argument key\\\");s.push(u[1])}n[2]=s}else a|=2;if(3===a)throw new Error(\\\"[sprintf] mixing positional and named placeholders is not (yet) supported\\\");i.push({placeholder:n[0],param_no:n[1],keys:n[2],sign:n[3],pad_char:n[4],align:n[5],width:n[6],precision:n[7],type:n[8]})}r=r.substring(n[0].length)}return o[e]=i}void 0!==n&&(n.sprintf=e,n.vsprintf=r),\\\"undefined\\\"!=typeof window&&(window.sprintf=e,window.vsprintf=r)}()},{}],520:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"parenthesis\\\");e.exports=function(t,e,n){if(null==t)throw Error(\\\"First argument should be a string\\\");if(null==e)throw Error(\\\"Separator should be a string or a RegExp\\\");n?(\\\"string\\\"==typeof n||Array.isArray(n))&&(n={ignore:n}):n={},null==n.escape&&(n.escape=!0),null==n.ignore?n.ignore=[\\\"[]\\\",\\\"()\\\",\\\"{}\\\",\\\"<>\\\",'\\\"\\\"',\\\"''\\\",\\\"``\\\",\\\"“”\\\",\\\"«»\\\"]:(\\\"string\\\"==typeof n.ignore&&(n.ignore=[n.ignore]),n.ignore=n.ignore.map((function(t){return 1===t.length&&(t+=t),t})));var i=r.parse(t,{flat:!0,brackets:n.ignore}),o=i[0].split(e);if(n.escape){for(var a=[],s=0;s<o.length;s++){var l=o[s],u=o[s+1];\\\"\\\\\\\\\\\"===l[l.length-1]&&\\\"\\\\\\\\\\\"!==l[l.length-2]?(a.push(l+e+u),s++):a.push(l)}o=a}for(s=0;s<o.length;s++)i[0]=o[s],o[s]=r.stringify(i,{flat:!0});return o}},{parenthesis:456}],521:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=t.length,n=new Array(e),r=new Array(e),i=new Array(e),o=new Array(e),a=new Array(e),s=new Array(e),l=0;l<e;++l)n[l]=-1,r[l]=0,i[l]=!1,o[l]=0,a[l]=-1,s[l]=[];var u,c=0,h=[],p=[];function f(e){var l=[e],u=[e];for(n[e]=r[e]=c,i[e]=!0,c+=1;u.length>0;){e=u[u.length-1];var f=t[e];if(o[e]<f.length){for(var d=o[e];d<f.length;++d){var m=f[d];if(n[m]<0){n[m]=r[m]=c,i[m]=!0,c+=1,l.push(m),u.push(m);break}i[m]&&(r[e]=0|Math.min(r[e],r[m])),a[m]>=0&&s[e].push(a[m])}o[e]=d}else{if(r[e]===n[e]){var v=[],g=[],y=0;for(d=l.length-1;d>=0;--d){var _=l[d];if(i[_]=!1,v.push(_),g.push(s[_]),y+=s[_].length,a[_]=h.length,_===e){l.length=d;break}}h.push(v);var b=new Array(y);for(d=0;d<g.length;d++)for(var x=0;x<g[d].length;x++)b[--y]=g[d][x];p.push(b)}u.pop()}}}for(l=0;l<e;++l)n[l]<0&&f(l);for(l=0;l<p.length;l++){var d=p[l];if(0!==d.length){d.sort((function(t,e){return t-e})),u=[d[0]];for(var m=1;m<d.length;m++)d[m]!==d[m-1]&&u.push(d[m]);p[l]=u}}return{components:h,adjacencyList:p}}},{}],522:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){if(t.dimension<=0)return{positions:[],cells:[]};if(1===t.dimension)return function(t,e){for(var n=o(t,e),r=n.length,i=new Array(r),a=new Array(r),s=0;s<r;++s)i[s]=[n[s]],a[s]=[s];return{positions:i,cells:a}}(t,e);var n=t.order.join()+\\\"-\\\"+t.dtype,s=a[n];return e=+e||0,s||(s=a[n]=function(t,e){var n=t.length,o=[\\\"'use strict';\\\"],a=\\\"surfaceNets\\\"+t.join(\\\"_\\\")+\\\"d\\\"+e;o.push(\\\"var contour=genContour({\\\",\\\"order:[\\\",t.join(),\\\"],\\\",\\\"scalarArguments: 3,\\\",\\\"phase:function phaseFunc(p,a,b,c) { return (p > c)|0 },\\\"),\\\"generic\\\"===e&&o.push(\\\"getters:[0],\\\");for(var s=[],l=[],u=0;u<n;++u)s.push(\\\"d\\\"+u),l.push(\\\"d\\\"+u);for(u=0;u<1<<n;++u)s.push(\\\"v\\\"+u),l.push(\\\"v\\\"+u);for(u=0;u<1<<n;++u)s.push(\\\"p\\\"+u),l.push(\\\"p\\\"+u);s.push(\\\"a\\\",\\\"b\\\",\\\"c\\\"),l.push(\\\"a\\\",\\\"c\\\"),o.push(\\\"vertex:function vertexFunc(\\\",s.join(),\\\"){\\\");var c=[];for(u=0;u<1<<n;++u)c.push(\\\"(p\\\"+u+\\\"<<\\\"+u+\\\")\\\");o.push(\\\"var m=(\\\",c.join(\\\"+\\\"),\\\")|0;if(m===0||m===\\\",(1<<(1<<n))-1,\\\"){return}\\\");var h=[],p=[];for(1<<(1<<n)<=128?(o.push(\\\"switch(m){\\\"),p=o):o.push(\\\"switch(m>>>7){\\\"),u=0;u<1<<(1<<n);++u){if(1<<(1<<n)>128&&u%128==0){h.length>0&&p.push(\\\"}}\\\");var f=\\\"vExtra\\\"+h.length;o.push(\\\"case \\\",u>>>7,\\\":\\\",f,\\\"(m&0x7f,\\\",l.join(),\\\");break;\\\"),p=[\\\"function \\\",f,\\\"(m,\\\",l.join(),\\\"){switch(m){\\\"],h.push(p)}p.push(\\\"case \\\",127&u,\\\":\\\");for(var d=new Array(n),m=new Array(n),v=new Array(n),g=new Array(n),y=0,_=0;_<n;++_)d[_]=[],m[_]=[],v[_]=0,g[_]=0;for(_=0;_<1<<n;++_)for(var b=0;b<n;++b){var x=_^1<<b;if(!(x>_)&&!(u&1<<x)!=!(u&1<<_)){var w=1;u&1<<x?m[b].push(\\\"v\\\"+x+\\\"-v\\\"+_):(m[b].push(\\\"v\\\"+_+\\\"-v\\\"+x),w=-w),w<0?(d[b].push(\\\"-v\\\"+_+\\\"-v\\\"+x),v[b]+=2):(d[b].push(\\\"v\\\"+_+\\\"+v\\\"+x),v[b]-=2),y+=1;for(var A=0;A<n;++A)A!==b&&(x&1<<A?g[A]+=1:g[A]-=1)}}var C=[];for(b=0;b<n;++b)if(0===d[b].length)C.push(\\\"d\\\"+b+\\\"-0.5\\\");else{var M=\\\"\\\";v[b]<0?M=v[b]+\\\"*c\\\":v[b]>0&&(M=\\\"+\\\"+v[b]+\\\"*c\\\");var E=d[b].length/y*.5,T=.5+g[b]/y*.5;C.push(\\\"d\\\"+b+\\\"-\\\"+T+\\\"-\\\"+E+\\\"*(\\\"+d[b].join(\\\"+\\\")+M+\\\")/(\\\"+m[b].join(\\\"+\\\")+\\\")\\\")}p.push(\\\"a.push([\\\",C.join(),\\\"]);\\\",\\\"break;\\\")}o.push(\\\"}},\\\"),h.length>0&&p.push(\\\"}}\\\");var S=[];for(u=0;u<1<<n-1;++u)S.push(\\\"v\\\"+u);S.push(\\\"c0\\\",\\\"c1\\\",\\\"p0\\\",\\\"p1\\\",\\\"a\\\",\\\"b\\\",\\\"c\\\"),o.push(\\\"cell:function cellFunc(\\\",S.join(),\\\"){\\\");var k=i(n-1);for(o.push(\\\"if(p0){b.push(\\\",k.map((function(t){return\\\"[\\\"+t.map((function(t){return\\\"v\\\"+t}))+\\\"]\\\"})).join(),\\\")}else{b.push(\\\",k.map((function(t){var e=t.slice();return e.reverse(),\\\"[\\\"+e.map((function(t){return\\\"v\\\"+t}))+\\\"]\\\"})).join(),\\\")}}});function \\\",a,\\\"(array,level){var verts=[],cells=[];contour(array,verts,cells,level);return {positions:verts,cells:cells};} return \\\",a,\\\";\\\"),u=0;u<h.length;++u)o.push(h[u].join(\\\"\\\"));return new Function(\\\"genContour\\\",o.join(\\\"\\\"))(r)}(t.order,t.dtype)),s(t,e)};var r=t(\\\"ndarray-extract-contour\\\"),i=t(\\\"triangulate-hypercube\\\"),o=t(\\\"zero-crossings\\\"),a={}},{\\\"ndarray-extract-contour\\\":440,\\\"triangulate-hypercube\\\":532,\\\"zero-crossings\\\":576}],523:[function(t,e,n){\\\"use strict\\\";Object.defineProperty(n,\\\"__esModule\\\",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\\\"Invalid attempt to destructure non-iterable instance\\\")},i=2*Math.PI,o=function(t,e,n,r,i,o,a){var s=t.x,l=t.y;return{x:r*(s*=e)-i*(l*=n)+o,y:i*s+r*l+a}},a=function(t,e){var n=1.5707963267948966===e?.551915024494:-1.5707963267948966===e?-.551915024494:4/3*Math.tan(e/4),r=Math.cos(t),i=Math.sin(t),o=Math.cos(t+e),a=Math.sin(t+e);return[{x:r-i*n,y:i+r*n},{x:o+a*n,y:a-o*n},{x:o,y:a}]},s=function(t,e,n,r){var i=t*n+e*r;return i>1&&(i=1),i<-1&&(i=-1),(t*r-e*n<0?-1:1)*Math.acos(i)};n.default=function(t){var e=t.px,n=t.py,l=t.cx,u=t.cy,c=t.rx,h=t.ry,p=t.xAxisRotation,f=void 0===p?0:p,d=t.largeArcFlag,m=void 0===d?0:d,v=t.sweepFlag,g=void 0===v?0:v,y=[];if(0===c||0===h)return[];var _=Math.sin(f*i/360),b=Math.cos(f*i/360),x=b*(e-l)/2+_*(n-u)/2,w=-_*(e-l)/2+b*(n-u)/2;if(0===x&&0===w)return[];c=Math.abs(c),h=Math.abs(h);var A=Math.pow(x,2)/Math.pow(c,2)+Math.pow(w,2)/Math.pow(h,2);A>1&&(c*=Math.sqrt(A),h*=Math.sqrt(A));var C=function(t,e,n,r,o,a,l,u,c,h,p,f){var d=Math.pow(o,2),m=Math.pow(a,2),v=Math.pow(p,2),g=Math.pow(f,2),y=d*m-d*g-m*v;y<0&&(y=0),y/=d*g+m*v;var _=(y=Math.sqrt(y)*(l===u?-1:1))*o/a*f,b=y*-a/o*p,x=h*_-c*b+(t+n)/2,w=c*_+h*b+(e+r)/2,A=(p-_)/o,C=(f-b)/a,M=(-p-_)/o,E=(-f-b)/a,T=s(1,0,A,C),S=s(A,C,M,E);return 0===u&&S>0&&(S-=i),1===u&&S<0&&(S+=i),[x,w,T,S]}(e,n,l,u,c,h,m,g,_,b,x,w),M=r(C,4),E=M[0],T=M[1],S=M[2],k=M[3],O=Math.abs(k)/(i/4);Math.abs(1-O)<1e-7&&(O=1);var I=Math.max(Math.ceil(O),1);k/=I;for(var L=0;L<I;L++)y.push(a(S,k)),S+=k;return y.map((function(t){var e=o(t[0],c,h,b,_,E,T),n=e.x,r=e.y,i=o(t[1],c,h,b,_,E,T),a=i.x,s=i.y,l=o(t[2],c,h,b,_,E,T);return{x1:n,y1:r,x2:a,y2:s,x:l.x,y:l.y}}))},e.exports=n.default},{}],524:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"parse-svg-path\\\"),i=t(\\\"abs-svg-path\\\"),o=t(\\\"normalize-svg-path\\\"),a=t(\\\"is-svg-path\\\"),s=t(\\\"assert\\\");e.exports=function(t){if(Array.isArray(t)&&1===t.length&&\\\"string\\\"==typeof t[0]&&(t=t[0]),\\\"string\\\"==typeof t&&(s(a(t),\\\"String is not an SVG path.\\\"),t=r(t)),s(Array.isArray(t),\\\"Argument should be a string or an array of path segments.\\\"),t=i(t),!(t=o(t)).length)return[0,0,0,0];for(var e=[1/0,1/0,-1/0,-1/0],n=0,l=t.length;n<l;n++)for(var u=t[n].slice(1),c=0;c<u.length;c+=2)u[c+0]<e[0]&&(e[0]=u[c+0]),u[c+1]<e[1]&&(e[1]=u[c+1]),u[c+0]>e[2]&&(e[2]=u[c+0]),u[c+1]>e[3]&&(e[3]=u[c+1]);return e}},{\\\"abs-svg-path\\\":63,assert:71,\\\"is-svg-path\\\":424,\\\"normalize-svg-path\\\":525,\\\"parse-svg-path\\\":458}],525:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e,n=[],a=0,s=0,l=0,u=0,c=null,h=null,p=0,f=0,d=0,m=t.length;d<m;d++){var v=t[d],g=v[0];switch(g){case\\\"M\\\":l=v[1],u=v[2];break;case\\\"A\\\":var y=r({px:p,py:f,cx:v[6],cy:v[7],rx:v[1],ry:v[2],xAxisRotation:v[3],largeArcFlag:v[4],sweepFlag:v[5]});if(!y.length)continue;for(var _,b=0;b<y.length;b++)v=[\\\"C\\\",(_=y[b]).x1,_.y1,_.x2,_.y2,_.x,_.y],b<y.length-1&&n.push(v);break;case\\\"S\\\":var x=p,w=f;\\\"C\\\"!=e&&\\\"S\\\"!=e||(x+=x-a,w+=w-s),v=[\\\"C\\\",x,w,v[1],v[2],v[3],v[4]];break;case\\\"T\\\":\\\"Q\\\"==e||\\\"T\\\"==e?(c=2*p-c,h=2*f-h):(c=p,h=f),v=o(p,f,c,h,v[1],v[2]);break;case\\\"Q\\\":c=v[1],h=v[2],v=o(p,f,v[1],v[2],v[3],v[4]);break;case\\\"L\\\":v=i(p,f,v[1],v[2]);break;case\\\"H\\\":v=i(p,f,v[1],f);break;case\\\"V\\\":v=i(p,f,p,v[1]);break;case\\\"Z\\\":v=i(p,f,l,u)}e=g,p=v[v.length-2],f=v[v.length-1],v.length>4?(a=v[v.length-4],s=v[v.length-3]):(a=p,s=f),n.push(v)}return n};var r=t(\\\"svg-arc-to-cubic-bezier\\\");function i(t,e,n,r){return[\\\"C\\\",t,e,n,r,n,r]}function o(t,e,n,r,i,o){return[\\\"C\\\",t/3+2/3*n,e/3+2/3*r,i/3+2/3*n,o/3+2/3*r,i,o]}},{\\\"svg-arc-to-cubic-bezier\\\":523}],526:[function(t,e,n){\\\"use strict\\\";var r,i=t(\\\"svg-path-bounds\\\"),o=t(\\\"parse-svg-path\\\"),a=t(\\\"draw-svg-path\\\"),s=t(\\\"is-svg-path\\\"),l=t(\\\"bitmap-sdf\\\"),u=document.createElement(\\\"canvas\\\"),c=u.getContext(\\\"2d\\\");e.exports=function(t,e){if(!s(t))throw Error(\\\"Argument should be valid svg path string\\\");var n,h;e||(e={}),e.shape?(n=e.shape[0],h=e.shape[1]):(n=u.width=e.w||e.width||200,h=u.height=e.h||e.height||200);var p=Math.min(n,h),f=e.stroke||0,d=e.viewbox||e.viewBox||i(t),m=[n/(d[2]-d[0]),h/(d[3]-d[1])],v=Math.min(m[0]||0,m[1]||0)/2;if(c.fillStyle=\\\"black\\\",c.fillRect(0,0,n,h),c.fillStyle=\\\"white\\\",f&&(\\\"number\\\"!=typeof f&&(f=1),c.strokeStyle=f>0?\\\"white\\\":\\\"black\\\",c.lineWidth=Math.abs(f)),c.translate(.5*n,.5*h),c.scale(v,v),function(){if(null!=r)return r;var t=document.createElement(\\\"canvas\\\").getContext(\\\"2d\\\");if(t.canvas.width=t.canvas.height=1,!window.Path2D)return r=!1;var e=new Path2D(\\\"M0,0h1v1h-1v-1Z\\\");t.fillStyle=\\\"black\\\",t.fill(e);var n=t.getImageData(0,0,1,1);return r=n&&n.data&&255===n.data[3]}()){var g=new Path2D(t);c.fill(g),f&&c.stroke(g)}else{var y=o(t);a(c,y),c.fill(),f&&c.stroke()}return c.setTransform(1,0,0,1,0,0),l(c,{cutoff:null!=e.cutoff?e.cutoff:.5,radius:null!=e.radius?e.radius:.5*p})}},{\\\"bitmap-sdf\\\":96,\\\"draw-svg-path\\\":169,\\\"is-svg-path\\\":424,\\\"parse-svg-path\\\":458,\\\"svg-path-bounds\\\":524}],527:[function(t,e,n){(function(n){\\\"use strict\\\";e.exports=function t(e,n,i){i=i||{};var a=o[e];a||(a=o[e]={\\\" \\\":{data:new Float32Array(0),shape:.2}});var s=a[n];if(!s)if(n.length<=1||!/\\\\d/.test(n))s=a[n]=function(t){for(var e=t.cells,n=t.positions,r=new Float32Array(6*e.length),i=0,o=0,a=0;a<e.length;++a)for(var s=e[a],l=0;l<3;++l){var u=n[s[l]];r[i++]=u[0],r[i++]=u[1]+1.4,o=Math.max(u[0],o)}return{data:r,shape:o}}(r(n,{triangles:!0,font:e,textAlign:i.textAlign||\\\"left\\\",textBaseline:\\\"alphabetic\\\",styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0}}));else{for(var l=n.split(/(\\\\d|\\\\s)/),u=new Array(l.length),c=0,h=0,p=0;p<l.length;++p)u[p]=t(e,l[p]),c+=u[p].data.length,h+=u[p].shape,p>0&&(h+=.02);var f=new Float32Array(c),d=0,m=-.5*h;for(p=0;p<u.length;++p){for(var v=u[p].data,g=0;g<v.length;g+=2)f[d++]=v[g]+m,f[d++]=v[g+1];m+=u[p].shape+.02}s=a[n]={data:f,shape:h}}return s};var r=t(\\\"vectorize-text\\\"),i=window||n.global||{},o=i.__TEXT_CACHE||{};i.__TEXT_CACHE={}}).call(this,t(\\\"_process\\\"))},{_process:480,\\\"vectorize-text\\\":552}],528:[function(t,e,n){!function(t){var n=/^\\\\s+/,r=/\\\\s+$/,i=0,o=t.round,a=t.min,s=t.max,l=t.random;function u(e,l){if(l=l||{},(e=e||\\\"\\\")instanceof u)return e;if(!(this instanceof u))return new u(e,l);var c=function(e){var i,o,l,u={r:0,g:0,b:0},c=1,h=null,p=null,f=null,d=!1,m=!1;return\\\"string\\\"==typeof e&&(e=function(t){t=t.replace(n,\\\"\\\").replace(r,\\\"\\\").toLowerCase();var e,i=!1;if(T[t])t=T[t],i=!0;else if(\\\"transparent\\\"==t)return{r:0,g:0,b:0,a:0,format:\\\"name\\\"};return(e=F.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=F.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=F.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=F.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=F.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=F.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=F.hex8.exec(t))?{r:L(e[1]),g:L(e[2]),b:L(e[3]),a:D(e[4]),format:i?\\\"name\\\":\\\"hex8\\\"}:(e=F.hex6.exec(t))?{r:L(e[1]),g:L(e[2]),b:L(e[3]),format:i?\\\"name\\\":\\\"hex\\\"}:(e=F.hex4.exec(t))?{r:L(e[1]+\\\"\\\"+e[1]),g:L(e[2]+\\\"\\\"+e[2]),b:L(e[3]+\\\"\\\"+e[3]),a:D(e[4]+\\\"\\\"+e[4]),format:i?\\\"name\\\":\\\"hex8\\\"}:!!(e=F.hex3.exec(t))&&{r:L(e[1]+\\\"\\\"+e[1]),g:L(e[2]+\\\"\\\"+e[2]),b:L(e[3]+\\\"\\\"+e[3]),format:i?\\\"name\\\":\\\"hex\\\"}}(e)),\\\"object\\\"==typeof e&&(j(e.r)&&j(e.g)&&j(e.b)?(i=e.r,o=e.g,l=e.b,u={r:255*O(i,255),g:255*O(o,255),b:255*O(l,255)},d=!0,m=\\\"%\\\"===String(e.r).substr(-1)?\\\"prgb\\\":\\\"rgb\\\"):j(e.h)&&j(e.s)&&j(e.v)?(h=z(e.s),p=z(e.v),u=function(e,n,r){e=6*O(e,360),n=O(n,100),r=O(r,100);var i=t.floor(e),o=e-i,a=r*(1-n),s=r*(1-o*n),l=r*(1-(1-o)*n),u=i%6;return{r:255*[r,s,a,a,l,r][u],g:255*[l,r,r,s,a,a][u],b:255*[a,a,l,r,r,s][u]}}(e.h,h,p),d=!0,m=\\\"hsv\\\"):j(e.h)&&j(e.s)&&j(e.l)&&(h=z(e.s),f=z(e.l),u=function(t,e,n){var r,i,o;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=O(t,360),e=O(e,100),n=O(n,100),0===e)r=i=o=n;else{var s=n<.5?n*(1+e):n+e-n*e,l=2*n-s;r=a(l,s,t+1/3),i=a(l,s,t),o=a(l,s,t-1/3)}return{r:255*r,g:255*i,b:255*o}}(e.h,h,f),d=!0,m=\\\"hsl\\\"),e.hasOwnProperty(\\\"a\\\")&&(c=e.a)),c=k(c),{ok:d,format:e.format||m,r:a(255,s(u.r,0)),g:a(255,s(u.g,0)),b:a(255,s(u.b,0)),a:c}}(e);this._originalInput=e,this._r=c.r,this._g=c.g,this._b=c.b,this._a=c.a,this._roundA=o(100*this._a)/100,this._format=l.format||c.format,this._gradientType=l.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=c.ok,this._tc_id=i++}function c(t,e,n){t=O(t,255),e=O(e,255),n=O(n,255);var r,i,o=s(t,e,n),l=a(t,e,n),u=(o+l)/2;if(o==l)r=i=0;else{var c=o-l;switch(i=u>.5?c/(2-o-l):c/(o+l),o){case t:r=(e-n)/c+(e<n?6:0);break;case e:r=(n-t)/c+2;break;case n:r=(t-e)/c+4}r/=6}return{h:r,s:i,l:u}}function h(t,e,n){t=O(t,255),e=O(e,255),n=O(n,255);var r,i,o=s(t,e,n),l=a(t,e,n),u=o,c=o-l;if(i=0===o?0:c/o,o==l)r=0;else{switch(o){case t:r=(e-n)/c+(e<n?6:0);break;case e:r=(n-t)/c+2;break;case n:r=(t-e)/c+4}r/=6}return{h:r,s:i,v:u}}function p(t,e,n,r){var i=[P(o(t).toString(16)),P(o(e).toString(16)),P(o(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(\\\"\\\")}function f(t,e,n,r){return[P(R(r)),P(o(t).toString(16)),P(o(e).toString(16)),P(o(n).toString(16))].join(\\\"\\\")}function d(t,e){e=0===e?0:e||10;var n=u(t).toHsl();return n.s-=e/100,n.s=I(n.s),u(n)}function m(t,e){e=0===e?0:e||10;var n=u(t).toHsl();return n.s+=e/100,n.s=I(n.s),u(n)}function v(t){return u(t).desaturate(100)}function g(t,e){e=0===e?0:e||10;var n=u(t).toHsl();return n.l+=e/100,n.l=I(n.l),u(n)}function y(t,e){e=0===e?0:e||10;var n=u(t).toRgb();return n.r=s(0,a(255,n.r-o(-e/100*255))),n.g=s(0,a(255,n.g-o(-e/100*255))),n.b=s(0,a(255,n.b-o(-e/100*255))),u(n)}function _(t,e){e=0===e?0:e||10;var n=u(t).toHsl();return n.l-=e/100,n.l=I(n.l),u(n)}function b(t,e){var n=u(t).toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,u(n)}function x(t){var e=u(t).toHsl();return e.h=(e.h+180)%360,u(e)}function w(t){var e=u(t).toHsl(),n=e.h;return[u(t),u({h:(n+120)%360,s:e.s,l:e.l}),u({h:(n+240)%360,s:e.s,l:e.l})]}function A(t){var e=u(t).toHsl(),n=e.h;return[u(t),u({h:(n+90)%360,s:e.s,l:e.l}),u({h:(n+180)%360,s:e.s,l:e.l}),u({h:(n+270)%360,s:e.s,l:e.l})]}function C(t){var e=u(t).toHsl(),n=e.h;return[u(t),u({h:(n+72)%360,s:e.s,l:e.l}),u({h:(n+216)%360,s:e.s,l:e.l})]}function M(t,e,n){e=e||6,n=n||30;var r=u(t).toHsl(),i=360/n,o=[u(t)];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(u(r));return o}function E(t,e){e=e||6;for(var n=u(t).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/e;e--;)a.push(u({h:r,s:i,v:o})),o=(o+s)%1;return a}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var e,n,r,i=this.toRgb();return e=i.r/255,n=i.g/255,r=i.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=k(t),this._roundA=o(100*this._a)/100,this},toHsv:function(){var t=h(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=h(this._r,this._g,this._b),e=o(360*t.h),n=o(100*t.s),r=o(100*t.v);return 1==this._a?\\\"hsv(\\\"+e+\\\", \\\"+n+\\\"%, \\\"+r+\\\"%)\\\":\\\"hsva(\\\"+e+\\\", \\\"+n+\\\"%, \\\"+r+\\\"%, \\\"+this._roundA+\\\")\\\"},toHsl:function(){var t=c(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=c(this._r,this._g,this._b),e=o(360*t.h),n=o(100*t.s),r=o(100*t.l);return 1==this._a?\\\"hsl(\\\"+e+\\\", \\\"+n+\\\"%, \\\"+r+\\\"%)\\\":\\\"hsla(\\\"+e+\\\", \\\"+n+\\\"%, \\\"+r+\\\"%, \\\"+this._roundA+\\\")\\\"},toHex:function(t){return p(this._r,this._g,this._b,t)},toHexString:function(t){return\\\"#\\\"+this.toHex(t)},toHex8:function(t){return function(t,e,n,r,i){var a=[P(o(t).toString(16)),P(o(e).toString(16)),P(o(n).toString(16)),P(R(r))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join(\\\"\\\")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return\\\"#\\\"+this.toHex8(t)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?\\\"rgb(\\\"+o(this._r)+\\\", \\\"+o(this._g)+\\\", \\\"+o(this._b)+\\\")\\\":\\\"rgba(\\\"+o(this._r)+\\\", \\\"+o(this._g)+\\\", \\\"+o(this._b)+\\\", \\\"+this._roundA+\\\")\\\"},toPercentageRgb:function(){return{r:o(100*O(this._r,255))+\\\"%\\\",g:o(100*O(this._g,255))+\\\"%\\\",b:o(100*O(this._b,255))+\\\"%\\\",a:this._a}},toPercentageRgbString:function(){return 1==this._a?\\\"rgb(\\\"+o(100*O(this._r,255))+\\\"%, \\\"+o(100*O(this._g,255))+\\\"%, \\\"+o(100*O(this._b,255))+\\\"%)\\\":\\\"rgba(\\\"+o(100*O(this._r,255))+\\\"%, \\\"+o(100*O(this._g,255))+\\\"%, \\\"+o(100*O(this._b,255))+\\\"%, \\\"+this._roundA+\\\")\\\"},toName:function(){return 0===this._a?\\\"transparent\\\":!(this._a<1)&&(S[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e=\\\"#\\\"+f(this._r,this._g,this._b,this._a),n=e,r=this._gradientType?\\\"GradientType = 1, \\\":\\\"\\\";if(t){var i=u(t);n=\\\"#\\\"+f(i._r,i._g,i._b,i._a)}return\\\"progid:DXImageTransform.Microsoft.gradient(\\\"+r+\\\"startColorstr=\\\"+e+\\\",endColorstr=\\\"+n+\\\")\\\"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0;return e||!r||\\\"hex\\\"!==t&&\\\"hex6\\\"!==t&&\\\"hex3\\\"!==t&&\\\"hex4\\\"!==t&&\\\"hex8\\\"!==t&&\\\"name\\\"!==t?(\\\"rgb\\\"===t&&(n=this.toRgbString()),\\\"prgb\\\"===t&&(n=this.toPercentageRgbString()),\\\"hex\\\"!==t&&\\\"hex6\\\"!==t||(n=this.toHexString()),\\\"hex3\\\"===t&&(n=this.toHexString(!0)),\\\"hex4\\\"===t&&(n=this.toHex8String(!0)),\\\"hex8\\\"===t&&(n=this.toHex8String()),\\\"name\\\"===t&&(n=this.toName()),\\\"hsl\\\"===t&&(n=this.toHslString()),\\\"hsv\\\"===t&&(n=this.toHsvString()),n||this.toHexString()):\\\"name\\\"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(A,arguments)}},u.fromRatio=function(t,e){if(\\\"object\\\"==typeof t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=\\\"a\\\"===r?t[r]:z(t[r]));t=n}return u(t,e)},u.equals=function(t,e){return!(!t||!e)&&u(t).toRgbString()==u(e).toRgbString()},u.random=function(){return u.fromRatio({r:l(),g:l(),b:l()})},u.mix=function(t,e,n){n=0===n?0:n||50;var r=u(t).toRgb(),i=u(e).toRgb(),o=n/100;return u({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},u.readability=function(e,n){var r=u(e),i=u(n);return(t.max(r.getLuminance(),i.getLuminance())+.05)/(t.min(r.getLuminance(),i.getLuminance())+.05)},u.isReadable=function(t,e,n){var r,i,o,a,s,l=u.readability(t,e);switch(i=!1,(o=n,\\\"AA\\\"!==(a=((o=o||{level:\\\"AA\\\",size:\\\"small\\\"}).level||\\\"AA\\\").toUpperCase())&&\\\"AAA\\\"!==a&&(a=\\\"AA\\\"),\\\"small\\\"!==(s=(o.size||\\\"small\\\").toLowerCase())&&\\\"large\\\"!==s&&(s=\\\"small\\\"),r={level:a,size:s}).level+r.size){case\\\"AAsmall\\\":case\\\"AAAlarge\\\":i=l>=4.5;break;case\\\"AAlarge\\\":i=l>=3;break;case\\\"AAAsmall\\\":i=l>=7}return i},u.mostReadable=function(t,e,n){var r,i,o,a,s=null,l=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var c=0;c<e.length;c++)(r=u.readability(t,e[c]))>l&&(l=r,s=u(e[c]));return u.isReadable(t,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,u.mostReadable(t,[\\\"#fff\\\",\\\"#000\\\"],n))};var T=u.names={aliceblue:\\\"f0f8ff\\\",antiquewhite:\\\"faebd7\\\",aqua:\\\"0ff\\\",aquamarine:\\\"7fffd4\\\",azure:\\\"f0ffff\\\",beige:\\\"f5f5dc\\\",bisque:\\\"ffe4c4\\\",black:\\\"000\\\",blanchedalmond:\\\"ffebcd\\\",blue:\\\"00f\\\",blueviolet:\\\"8a2be2\\\",brown:\\\"a52a2a\\\",burlywood:\\\"deb887\\\",burntsienna:\\\"ea7e5d\\\",cadetblue:\\\"5f9ea0\\\",chartreuse:\\\"7fff00\\\",chocolate:\\\"d2691e\\\",coral:\\\"ff7f50\\\",cornflowerblue:\\\"6495ed\\\",cornsilk:\\\"fff8dc\\\",crimson:\\\"dc143c\\\",cyan:\\\"0ff\\\",darkblue:\\\"00008b\\\",darkcyan:\\\"008b8b\\\",darkgoldenrod:\\\"b8860b\\\",darkgray:\\\"a9a9a9\\\",darkgreen:\\\"006400\\\",darkgrey:\\\"a9a9a9\\\",darkkhaki:\\\"bdb76b\\\",darkmagenta:\\\"8b008b\\\",darkolivegreen:\\\"556b2f\\\",darkorange:\\\"ff8c00\\\",darkorchid:\\\"9932cc\\\",darkred:\\\"8b0000\\\",darksalmon:\\\"e9967a\\\",darkseagreen:\\\"8fbc8f\\\",darkslateblue:\\\"483d8b\\\",darkslategray:\\\"2f4f4f\\\",darkslategrey:\\\"2f4f4f\\\",darkturquoise:\\\"00ced1\\\",darkviolet:\\\"9400d3\\\",deeppink:\\\"ff1493\\\",deepskyblue:\\\"00bfff\\\",dimgray:\\\"696969\\\",dimgrey:\\\"696969\\\",dodgerblue:\\\"1e90ff\\\",firebrick:\\\"b22222\\\",floralwhite:\\\"fffaf0\\\",forestgreen:\\\"228b22\\\",fuchsia:\\\"f0f\\\",gainsboro:\\\"dcdcdc\\\",ghostwhite:\\\"f8f8ff\\\",gold:\\\"ffd700\\\",goldenrod:\\\"daa520\\\",gray:\\\"808080\\\",green:\\\"008000\\\",greenyellow:\\\"adff2f\\\",grey:\\\"808080\\\",honeydew:\\\"f0fff0\\\",hotpink:\\\"ff69b4\\\",indianred:\\\"cd5c5c\\\",indigo:\\\"4b0082\\\",ivory:\\\"fffff0\\\",khaki:\\\"f0e68c\\\",lavender:\\\"e6e6fa\\\",lavenderblush:\\\"fff0f5\\\",lawngreen:\\\"7cfc00\\\",lemonchiffon:\\\"fffacd\\\",lightblue:\\\"add8e6\\\",lightcoral:\\\"f08080\\\",lightcyan:\\\"e0ffff\\\",lightgoldenrodyellow:\\\"fafad2\\\",lightgray:\\\"d3d3d3\\\",lightgreen:\\\"90ee90\\\",lightgrey:\\\"d3d3d3\\\",lightpink:\\\"ffb6c1\\\",lightsalmon:\\\"ffa07a\\\",lightseagreen:\\\"20b2aa\\\",lightskyblue:\\\"87cefa\\\",lightslategray:\\\"789\\\",lightslategrey:\\\"789\\\",lightsteelblue:\\\"b0c4de\\\",lightyellow:\\\"ffffe0\\\",lime:\\\"0f0\\\",limegreen:\\\"32cd32\\\",linen:\\\"faf0e6\\\",magenta:\\\"f0f\\\",maroon:\\\"800000\\\",mediumaquamarine:\\\"66cdaa\\\",mediumblue:\\\"0000cd\\\",mediumorchid:\\\"ba55d3\\\",mediumpurple:\\\"9370db\\\",mediumseagreen:\\\"3cb371\\\",mediumslateblue:\\\"7b68ee\\\",mediumspringgreen:\\\"00fa9a\\\",mediumturquoise:\\\"48d1cc\\\",mediumvioletred:\\\"c71585\\\",midnightblue:\\\"191970\\\",mintcream:\\\"f5fffa\\\",mistyrose:\\\"ffe4e1\\\",moccasin:\\\"ffe4b5\\\",navajowhite:\\\"ffdead\\\",navy:\\\"000080\\\",oldlace:\\\"fdf5e6\\\",olive:\\\"808000\\\",olivedrab:\\\"6b8e23\\\",orange:\\\"ffa500\\\",orangered:\\\"ff4500\\\",orchid:\\\"da70d6\\\",palegoldenrod:\\\"eee8aa\\\",palegreen:\\\"98fb98\\\",paleturquoise:\\\"afeeee\\\",palevioletred:\\\"db7093\\\",papayawhip:\\\"ffefd5\\\",peachpuff:\\\"ffdab9\\\",peru:\\\"cd853f\\\",pink:\\\"ffc0cb\\\",plum:\\\"dda0dd\\\",powderblue:\\\"b0e0e6\\\",purple:\\\"800080\\\",rebeccapurple:\\\"663399\\\",red:\\\"f00\\\",rosybrown:\\\"bc8f8f\\\",royalblue:\\\"4169e1\\\",saddlebrown:\\\"8b4513\\\",salmon:\\\"fa8072\\\",sandybrown:\\\"f4a460\\\",seagreen:\\\"2e8b57\\\",seashell:\\\"fff5ee\\\",sienna:\\\"a0522d\\\",silver:\\\"c0c0c0\\\",skyblue:\\\"87ceeb\\\",slateblue:\\\"6a5acd\\\",slategray:\\\"708090\\\",slategrey:\\\"708090\\\",snow:\\\"fffafa\\\",springgreen:\\\"00ff7f\\\",steelblue:\\\"4682b4\\\",tan:\\\"d2b48c\\\",teal:\\\"008080\\\",thistle:\\\"d8bfd8\\\",tomato:\\\"ff6347\\\",turquoise:\\\"40e0d0\\\",violet:\\\"ee82ee\\\",wheat:\\\"f5deb3\\\",white:\\\"fff\\\",whitesmoke:\\\"f5f5f5\\\",yellow:\\\"ff0\\\",yellowgreen:\\\"9acd32\\\"},S=u.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(T);function k(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function O(e,n){(function(t){return\\\"string\\\"==typeof t&&-1!=t.indexOf(\\\".\\\")&&1===parseFloat(t)})(e)&&(e=\\\"100%\\\");var r=function(t){return\\\"string\\\"==typeof t&&-1!=t.indexOf(\\\"%\\\")}(e);return e=a(n,s(0,parseFloat(e))),r&&(e=parseInt(e*n,10)/100),t.abs(e-n)<1e-6?1:e%n/parseFloat(n)}function I(t){return a(1,s(0,t))}function L(t){return parseInt(t,16)}function P(t){return 1==t.length?\\\"0\\\"+t:\\\"\\\"+t}function z(t){return t<=1&&(t=100*t+\\\"%\\\"),t}function R(e){return t.round(255*parseFloat(e)).toString(16)}function D(t){return L(t)/255}var $,B,N,F=(B=\\\"[\\\\\\\\s|\\\\\\\\(]+(\\\"+($=\\\"(?:[-\\\\\\\\+]?\\\\\\\\d*\\\\\\\\.\\\\\\\\d+%?)|(?:[-\\\\\\\\+]?\\\\\\\\d+%?)\\\")+\\\")[,|\\\\\\\\s]+(\\\"+$+\\\")[,|\\\\\\\\s]+(\\\"+$+\\\")\\\\\\\\s*\\\\\\\\)?\\\",N=\\\"[\\\\\\\\s|\\\\\\\\(]+(\\\"+$+\\\")[,|\\\\\\\\s]+(\\\"+$+\\\")[,|\\\\\\\\s]+(\\\"+$+\\\")[,|\\\\\\\\s]+(\\\"+$+\\\")\\\\\\\\s*\\\\\\\\)?\\\",{CSS_UNIT:new RegExp($),rgb:new RegExp(\\\"rgb\\\"+B),rgba:new RegExp(\\\"rgba\\\"+N),hsl:new RegExp(\\\"hsl\\\"+B),hsla:new RegExp(\\\"hsla\\\"+N),hsv:new RegExp(\\\"hsv\\\"+B),hsva:new RegExp(\\\"hsva\\\"+N),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function j(t){return!!F.CSS_UNIT.exec(t)}void 0!==e&&e.exports?e.exports=u:window.tinycolor=u}(Math)},{}],529:[function(t,e,n){\\\"use strict\\\";e.exports=i,e.exports.float32=e.exports.float=i,e.exports.fract32=e.exports.fract=function(t){if(t.length){for(var e=i(t),n=0,r=e.length;n<r;n++)e[n]=t[n]-e[n];return e}return i(t-i(t))};var r=new Float32Array(1);function i(t){if(t.length){if(t instanceof Float32Array)return t;var e=new Float32Array(t);return e.set(t),e}return r[0]=t,r[0]}},{}],530:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"parse-unit\\\");function i(t,e){var n=r(getComputedStyle(t).getPropertyValue(e));return n[0]*o(n[1],t)}function o(t,e){switch(e=e||document.body,t=(t||\\\"px\\\").trim().toLowerCase(),e!==window&&e!==document||(e=document.body),t){case\\\"%\\\":return e.clientHeight/100;case\\\"ch\\\":case\\\"ex\\\":return function(t,e){var n=document.createElement(\\\"div\\\");n.style[\\\"font-size\\\"]=\\\"128\\\"+t,e.appendChild(n);var r=i(n,\\\"font-size\\\")/128;return e.removeChild(n),r}(t,e);case\\\"em\\\":return i(e,\\\"font-size\\\");case\\\"rem\\\":return i(document.body,\\\"font-size\\\");case\\\"vw\\\":return window.innerWidth/100;case\\\"vh\\\":return window.innerHeight/100;case\\\"vmin\\\":return Math.min(window.innerWidth,window.innerHeight)/100;case\\\"vmax\\\":return Math.max(window.innerWidth,window.innerHeight)/100;case\\\"in\\\":return 96;case\\\"cm\\\":return 96/2.54;case\\\"mm\\\":return 96/25.4;case\\\"pt\\\":return 96/72;case\\\"pc\\\":return 16}return 1}e.exports=o},{\\\"parse-unit\\\":459}],531:[function(t,e,n){var r,i;r=this,i=function(t){\\\"use strict\\\";function e(t){return t}function n(t){if(null==t)return e;var n,r,i=t.scale[0],o=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,e){e||(n=r=0);var l=2,u=t.length,c=new Array(u);for(c[0]=(n+=t[0])*i+a,c[1]=(r+=t[1])*o+s;l<u;)c[l]=t[l],++l;return c}}function r(t){var e,r=n(t.transform),i=1/0,o=i,a=-i,s=-i;function l(t){(t=r(t))[0]<i&&(i=t[0]),t[0]>a&&(a=t[0]),t[1]<o&&(o=t[1]),t[1]>s&&(s=t[1])}function u(t){switch(t.type){case\\\"GeometryCollection\\\":t.geometries.forEach(u);break;case\\\"Point\\\":l(t.coordinates);break;case\\\"MultiPoint\\\":t.coordinates.forEach(l)}}for(e in t.arcs.forEach((function(t){for(var e,n=-1,l=t.length;++n<l;)(e=r(t[n],n))[0]<i&&(i=e[0]),e[0]>a&&(a=e[0]),e[1]<o&&(o=e[1]),e[1]>s&&(s=e[1])})),t.objects)u(t.objects[e]);return[i,o,a,s]}function i(t,e){var n=e.id,r=e.bbox,i=null==e.properties?{}:e.properties,a=o(t,e);return null==n&&null==r?{type:\\\"Feature\\\",properties:i,geometry:a}:null==r?{type:\\\"Feature\\\",id:n,properties:i,geometry:a}:{type:\\\"Feature\\\",id:n,bbox:r,properties:i,geometry:a}}function o(t,e){var r=n(t.transform),i=t.arcs;function o(t,e){e.length&&e.pop();for(var n=i[t<0?~t:t],o=0,a=n.length;o<a;++o)e.push(r(n[o],o));t<0&&function(t,e){for(var n,r=t.length,i=r-e;i<--r;)n=t[i],t[i++]=t[r],t[r]=n}(e,a)}function a(t){return r(t)}function s(t){for(var e=[],n=0,r=t.length;n<r;++n)o(t[n],e);return e.length<2&&e.push(e[0]),e}function l(t){for(var e=s(t);e.length<4;)e.push(e[0]);return e}function u(t){return t.map(l)}return function t(e){var n,r=e.type;switch(r){case\\\"GeometryCollection\\\":return{type:r,geometries:e.geometries.map(t)};case\\\"Point\\\":n=a(e.coordinates);break;case\\\"MultiPoint\\\":n=e.coordinates.map(a);break;case\\\"LineString\\\":n=s(e.arcs);break;case\\\"MultiLineString\\\":n=e.arcs.map(s);break;case\\\"Polygon\\\":n=u(e.arcs);break;case\\\"MultiPolygon\\\":n=e.arcs.map(u);break;default:return null}return{type:r,coordinates:n}}(e)}function a(t,e){var n={},r={},i={},o=[],a=-1;function s(t,e){for(var r in t){var i=t[r];delete e[i.start],delete i.start,delete i.end,i.forEach((function(t){n[t<0?~t:t]=1})),o.push(i)}}return e.forEach((function(n,r){var i,o=t.arcs[n<0?~n:n];o.length<3&&!o[1][0]&&!o[1][1]&&(i=e[++a],e[a]=n,e[r]=i)})),e.forEach((function(e){var n,o,a=function(e){var n,r=t.arcs[e<0?~e:e],i=r[0];return t.transform?(n=[0,0],r.forEach((function(t){n[0]+=t[0],n[1]+=t[1]}))):n=r[r.length-1],e<0?[n,i]:[i,n]}(e),s=a[0],l=a[1];if(n=i[s])if(delete i[n.end],n.push(e),n.end=l,o=r[l]){delete r[o.start];var u=o===n?n:n.concat(o);r[u.start=n.start]=i[u.end=o.end]=u}else r[n.start]=i[n.end]=n;else if(n=r[l])if(delete r[n.start],n.unshift(e),n.start=s,o=i[s]){delete i[o.end];var c=o===n?n:o.concat(n);r[c.start=o.start]=i[c.end=n.end]=c}else r[n.start]=i[n.end]=n;else r[(n=[e]).start=s]=i[n.end=l]=n})),s(i,r),s(r,i),e.forEach((function(t){n[t<0?~t:t]||o.push([t])})),o}function s(t,e,n){var r,i,o;if(arguments.length>1)r=l(0,e,n);else for(i=0,r=new Array(o=t.arcs.length);i<o;++i)r[i]=i;return{type:\\\"MultiLineString\\\",arcs:a(t,r)}}function l(t,e,n){var r,i=[],o=[];function a(t){var e=t<0?~t:t;(o[e]||(o[e]=[])).push({i:t,g:r})}function s(t){t.forEach(a)}function l(t){t.forEach(s)}return function t(e){switch(r=e,e.type){case\\\"GeometryCollection\\\":e.geometries.forEach(t);break;case\\\"LineString\\\":s(e.arcs);break;case\\\"MultiLineString\\\":case\\\"Polygon\\\":l(e.arcs);break;case\\\"MultiPolygon\\\":!function(t){t.forEach(l)}(e.arcs)}}(e),o.forEach(null==n?function(t){i.push(t[0].i)}:function(t){n(t[0].g,t[t.length-1].g)&&i.push(t[0].i)}),i}function u(t,e){var n={},r=[],i=[];function s(t){t.forEach((function(e){e.forEach((function(e){(n[e=e<0?~e:e]||(n[e]=[])).push(t)}))})),r.push(t)}function l(e){return function(t){for(var e,n=-1,r=t.length,i=t[r-1],o=0;++n<r;)e=i,i=t[n],o+=e[0]*i[1]-e[1]*i[0];return Math.abs(o)}(o(t,{type:\\\"Polygon\\\",arcs:[e]}).coordinates[0])}return e.forEach((function t(e){switch(e.type){case\\\"GeometryCollection\\\":e.geometries.forEach(t);break;case\\\"Polygon\\\":s(e.arcs);break;case\\\"MultiPolygon\\\":e.arcs.forEach(s)}})),r.forEach((function(t){if(!t._){var e=[],r=[t];for(t._=1,i.push(e);t=r.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){n[t<0?~t:t].forEach((function(t){t._||(t._=1,r.push(t))}))}))}))}})),r.forEach((function(t){delete t._})),{type:\\\"MultiPolygon\\\",arcs:i.map((function(e){var r,i=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){n[t<0?~t:t].length<2&&i.push(t)}))}))})),(r=(i=a(t,i)).length)>1)for(var o,s,u=1,c=l(i[0]);u<r;++u)(o=l(i[u]))>c&&(s=i[0],i[0]=i[u],i[u]=s,c=o);return i})).filter((function(t){return t.length>0}))}}function c(t,e){for(var n=0,r=t.length;n<r;){var i=n+r>>>1;t[i]<e?n=i+1:r=i}return n}function h(t){if(null==t)return e;var n,r,i=t.scale[0],o=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,e){e||(n=r=0);var l=2,u=t.length,c=new Array(u),h=Math.round((t[0]-a)/i),p=Math.round((t[1]-s)/o);for(c[0]=h-n,n=h,c[1]=p-r,r=p;l<u;)c[l]=t[l],++l;return c}}t.bbox=r,t.feature=function(t,e){return\\\"string\\\"==typeof e&&(e=t.objects[e]),\\\"GeometryCollection\\\"===e.type?{type:\\\"FeatureCollection\\\",features:e.geometries.map((function(e){return i(t,e)}))}:i(t,e)},t.merge=function(t){return o(t,u.apply(this,arguments))},t.mergeArcs=u,t.mesh=function(t){return o(t,s.apply(this,arguments))},t.meshArcs=s,t.neighbors=function(t){var e={},n=t.map((function(){return[]}));function r(t,n){t.forEach((function(t){t<0&&(t=~t);var r=e[t];r?r.push(n):e[t]=[n]}))}function i(t,e){t.forEach((function(t){r(t,e)}))}var o={LineString:r,MultiLineString:i,Polygon:i,MultiPolygon:function(t,e){t.forEach((function(t){i(t,e)}))}};for(var a in t.forEach((function t(e,n){\\\"GeometryCollection\\\"===e.type?e.geometries.forEach((function(e){t(e,n)})):e.type in o&&o[e.type](e.arcs,n)})),e)for(var s=e[a],l=s.length,u=0;u<l;++u)for(var h=u+1;h<l;++h){var p,f=s[u],d=s[h];(p=n[f])[a=c(p,d)]!==d&&p.splice(a,0,d),(p=n[d])[a=c(p,f)]!==f&&p.splice(a,0,f)}return n},t.quantize=function(t,e){if(t.transform)throw new Error(\\\"already quantized\\\");if(e&&e.scale)l=t.bbox;else{if(!((n=Math.floor(e))>=2))throw new Error(\\\"n must be ≥2\\\");var n,i=(l=t.bbox||r(t))[0],o=l[1],a=l[2],s=l[3];e={scale:[a-i?(a-i)/(n-1):1,s-o?(s-o)/(n-1):1],translate:[i,o]}}var l,u,c=h(e),p=t.objects,f={};function d(t){return c(t)}function m(t){var e;switch(t.type){case\\\"GeometryCollection\\\":e={type:\\\"GeometryCollection\\\",geometries:t.geometries.map(m)};break;case\\\"Point\\\":e={type:\\\"Point\\\",coordinates:d(t.coordinates)};break;case\\\"MultiPoint\\\":e={type:\\\"MultiPoint\\\",coordinates:t.coordinates.map(d)};break;default:return t}return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}for(u in p)f[u]=m(p[u]);return{type:\\\"Topology\\\",bbox:l,transform:e,objects:f,arcs:t.arcs.map((function(t){var e,n=0,r=1,i=t.length,o=new Array(i);for(o[0]=c(t[0],0);++n<i;)((e=c(t[n],n))[0]||e[1])&&(o[r++]=e);return 1===r&&(o[r++]=[0,0]),o.length=r,o}))}},t.transform=n,t.untransform=h,Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},i(\\\"object\\\"==typeof n&&void 0!==e?n:(r=r||self).topojson=r.topojson||{})},{}],532:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){if(t<0)return[];if(0===t)return[[0]];for(var e=0|Math.round(o(t+1)),n=[],a=0;a<e;++a){for(var s=r.unrank(t,a),l=[0],u=0,c=0;c<s.length;++c)u+=1<<s[c],l.push(u);i(s)<1&&(l[0]=u,l[t]=0),n.push(l)}return n};var r=t(\\\"permutation-rank\\\"),i=t(\\\"permutation-parity\\\"),o=t(\\\"gamma\\\")},{gamma:243,\\\"permutation-parity\\\":461,\\\"permutation-rank\\\":462}],533:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=(t=t||{}).center||[0,0,0],n=t.up||[0,1,0],r=t.right||h(n),i=t.radius||1,o=t.theta||0,c=t.phi||0;if(e=[].slice.call(e,0,3),n=[].slice.call(n,0,3),s(n,n),r=[].slice.call(r,0,3),s(r,r),\\\"eye\\\"in t){var f=t.eye,d=[f[0]-e[0],f[1]-e[1],f[2]-e[2]];a(r,d,n),u(r[0],r[1],r[2])<1e-6?r=h(n):s(r,r),i=u(d[0],d[1],d[2]);var m=l(n,d)/i,v=l(r,d)/i;c=Math.acos(m),o=Math.acos(v)}return i=Math.log(i),new p(t.zoomMin,t.zoomMax,e,n,r,i,o,c)};var r=t(\\\"filtered-vector\\\"),i=t(\\\"gl-mat4/invert\\\"),o=t(\\\"gl-mat4/rotate\\\"),a=t(\\\"gl-vec3/cross\\\"),s=t(\\\"gl-vec3/normalize\\\"),l=t(\\\"gl-vec3/dot\\\");function u(t,e,n){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2)+Math.pow(n,2))}function c(t){return Math.min(1,Math.max(-1,t))}function h(t){var e=Math.abs(t[0]),n=Math.abs(t[1]),r=Math.abs(t[2]),i=[0,0,0];e>Math.max(n,r)?i[2]=1:n>Math.max(e,r)?i[0]=1:i[1]=1;for(var o=0,a=0,l=0;l<3;++l)o+=t[l]*t[l],a+=i[l]*t[l];for(l=0;l<3;++l)i[l]-=a/o*t[l];return s(i,i),i}function p(t,e,n,i,o,a,s,l){this.center=r(n),this.up=r(i),this.right=r(o),this.radius=r([a]),this.angle=r([s,l]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(t,e),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var u=0;u<16;++u)this.computedMatrix[u]=.5;this.recalcMatrix(0)}var f=p.prototype;f.setDistanceLimits=function(t,e){t=t>0?Math.log(t):-1/0,e=e>0?Math.log(e):1/0,e=Math.max(e,t),this.radius.bounds[0][0]=t,this.radius.bounds[1][0]=e},f.getDistanceLimits=function(t){var e=this.radius.bounds[0];return t?(t[0]=Math.exp(e[0][0]),t[1]=Math.exp(e[1][0]),t):[Math.exp(e[0][0]),Math.exp(e[1][0])]},f.recalcMatrix=function(t){this.center.curve(t),this.up.curve(t),this.right.curve(t),this.radius.curve(t),this.angle.curve(t);for(var e=this.computedUp,n=this.computedRight,r=0,i=0,o=0;o<3;++o)i+=e[o]*n[o],r+=e[o]*e[o];var l=Math.sqrt(r),c=0;for(o=0;o<3;++o)n[o]-=e[o]*i/r,c+=n[o]*n[o],e[o]/=l;var h=Math.sqrt(c);for(o=0;o<3;++o)n[o]/=h;var p=this.computedToward;a(p,e,n),s(p,p);var f=Math.exp(this.computedRadius[0]),d=this.computedAngle[0],m=this.computedAngle[1],v=Math.cos(d),g=Math.sin(d),y=Math.cos(m),_=Math.sin(m),b=this.computedCenter,x=v*y,w=g*y,A=_,C=-v*_,M=-g*_,E=y,T=this.computedEye,S=this.computedMatrix;for(o=0;o<3;++o){var k=x*n[o]+w*p[o]+A*e[o];S[4*o+1]=C*n[o]+M*p[o]+E*e[o],S[4*o+2]=k,S[4*o+3]=0}var O=S[1],I=S[5],L=S[9],P=S[2],z=S[6],R=S[10],D=I*R-L*z,$=L*P-O*R,B=O*z-I*P,N=u(D,$,B);for(D/=N,$/=N,B/=N,S[0]=D,S[4]=$,S[8]=B,o=0;o<3;++o)T[o]=b[o]+S[2+4*o]*f;for(o=0;o<3;++o){c=0;for(var F=0;F<3;++F)c+=S[o+4*F]*T[F];S[12+o]=-c}S[15]=1},f.getMatrix=function(t,e){this.recalcMatrix(t);var n=this.computedMatrix;if(e){for(var r=0;r<16;++r)e[r]=n[r];return e}return n};var d=[0,0,0];f.rotate=function(t,e,n,r){if(this.angle.move(t,e,n),r){this.recalcMatrix(t);var i=this.computedMatrix;d[0]=i[2],d[1]=i[6],d[2]=i[10];for(var a=this.computedUp,s=this.computedRight,l=this.computedToward,u=0;u<3;++u)i[4*u]=a[u],i[4*u+1]=s[u],i[4*u+2]=l[u];for(o(i,i,r,d),u=0;u<3;++u)a[u]=i[4*u],s[u]=i[4*u+1];this.up.set(t,a[0],a[1],a[2]),this.right.set(t,s[0],s[1],s[2])}},f.pan=function(t,e,n,r){e=e||0,n=n||0,r=r||0,this.recalcMatrix(t);var i=this.computedMatrix,o=(Math.exp(this.computedRadius[0]),i[1]),a=i[5],s=i[9],l=u(o,a,s);o/=l,a/=l,s/=l;var c=i[0],h=i[4],p=i[8],f=c*o+h*a+p*s,d=u(c-=o*f,h-=a*f,p-=s*f),m=(c/=d)*e+o*n,v=(h/=d)*e+a*n,g=(p/=d)*e+s*n;this.center.move(t,m,v,g);var y=Math.exp(this.computedRadius[0]);y=Math.max(1e-4,y+r),this.radius.set(t,Math.log(y))},f.translate=function(t,e,n,r){this.center.move(t,e||0,n||0,r||0)},f.setMatrix=function(t,e,n,r){var o=1;\\\"number\\\"==typeof n&&(o=0|n),(o<0||o>3)&&(o=1);var a=(o+2)%3;e||(this.recalcMatrix(t),e=this.computedMatrix);var s=e[o],l=e[o+4],h=e[o+8];if(r){var p=Math.abs(s),f=Math.abs(l),d=Math.abs(h),m=Math.max(p,f,d);p===m?(s=s<0?-1:1,l=h=0):d===m?(h=h<0?-1:1,s=l=0):(l=l<0?-1:1,s=h=0)}else{var v=u(s,l,h);s/=v,l/=v,h/=v}var g,y,_=e[a],b=e[a+4],x=e[a+8],w=_*s+b*l+x*h,A=u(_-=s*w,b-=l*w,x-=h*w),C=l*(x/=A)-h*(b/=A),M=h*(_/=A)-s*x,E=s*b-l*_,T=u(C,M,E);if(C/=T,M/=T,E/=T,this.center.jump(t,V,H,G),this.radius.idle(t),this.up.jump(t,s,l,h),this.right.jump(t,_,b,x),2===o){var S=e[1],k=e[5],O=e[9],I=S*_+k*b+O*x,L=S*C+k*M+O*E;g=D<0?-Math.PI/2:Math.PI/2,y=Math.atan2(L,I)}else{var P=e[2],z=e[6],R=e[10],D=P*s+z*l+R*h,$=P*_+z*b+R*x,B=P*C+z*M+R*E;g=Math.asin(c(D)),y=Math.atan2(B,$)}this.angle.jump(t,y,g),this.recalcMatrix(t);var N=e[2],F=e[6],j=e[10],U=this.computedMatrix;i(U,e);var q=U[15],V=U[12]/q,H=U[13]/q,G=U[14]/q,W=Math.exp(this.computedRadius[0]);this.center.jump(t,V-N*W,H-F*W,G-j*W)},f.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},f.idle=function(t){this.center.idle(t),this.up.idle(t),this.right.idle(t),this.radius.idle(t),this.angle.idle(t)},f.flush=function(t){this.center.flush(t),this.up.flush(t),this.right.flush(t),this.radius.flush(t),this.angle.flush(t)},f.setDistance=function(t,e){e>0&&this.radius.set(t,Math.log(e))},f.lookAt=function(t,e,n,r){this.recalcMatrix(t),e=e||this.computedEye,n=n||this.computedCenter;var i=(r=r||this.computedUp)[0],o=r[1],a=r[2],s=u(i,o,a);if(!(s<1e-6)){i/=s,o/=s,a/=s;var l=e[0]-n[0],h=e[1]-n[1],p=e[2]-n[2],f=u(l,h,p);if(!(f<1e-6)){l/=f,h/=f,p/=f;var d=this.computedRight,m=d[0],v=d[1],g=d[2],y=i*m+o*v+a*g,_=u(m-=y*i,v-=y*o,g-=y*a);if(!(_<.01&&(_=u(m=o*p-a*h,v=a*l-i*p,g=i*h-o*l))<1e-6)){m/=_,v/=_,g/=_,this.up.set(t,i,o,a),this.right.set(t,m,v,g),this.center.set(t,n[0],n[1],n[2]),this.radius.set(t,Math.log(f));var b=o*g-a*v,x=a*m-i*g,w=i*v-o*m,A=u(b,x,w),C=i*l+o*h+a*p,M=m*l+v*h+g*p,E=(b/=A)*l+(x/=A)*h+(w/=A)*p,T=Math.asin(c(C)),S=Math.atan2(E,M),k=this.angle._state,O=k[k.length-1],I=k[k.length-2];O%=2*Math.PI;var L=Math.abs(O+2*Math.PI-S),P=Math.abs(O-S),z=Math.abs(O-2*Math.PI-S);L<P&&(O+=2*Math.PI),z<P&&(O-=2*Math.PI),this.angle.jump(this.angle.lastT(),O,I),this.angle.set(t,S,T)}}}}},{\\\"filtered-vector\\\":237,\\\"gl-mat4/invert\\\":273,\\\"gl-mat4/rotate\\\":278,\\\"gl-vec3/cross\\\":334,\\\"gl-vec3/dot\\\":339,\\\"gl-vec3/normalize\\\":356}],534:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){var i=t*e,o=r*t,a=o-(o-t),s=t-a,l=r*e,u=l-(l-e),c=e-u,h=s*c-(i-a*u-s*u-a*c);return n?(n[0]=h,n[1]=i,n):[h,i]};var r=+(Math.pow(2,27)+1)},{}],535:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){var r=t+e,i=r-t,o=e-i,a=t-(r-i);return n?(n[0]=a+o,n[1]=r,n):[a+o,r]}},{}],536:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../prototype/is\\\");e.exports=function(t){if(\\\"function\\\"!=typeof t)return!1;if(!hasOwnProperty.call(t,\\\"length\\\"))return!1;try{if(\\\"number\\\"!=typeof t.length)return!1;if(\\\"function\\\"!=typeof t.call)return!1;if(\\\"function\\\"!=typeof t.apply)return!1}catch(t){return!1}return!r(t)}},{\\\"../prototype/is\\\":543}],537:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../value/is\\\"),i=t(\\\"../object/is\\\"),o=t(\\\"../string/coerce\\\"),a=t(\\\"./to-short-string\\\"),s=function(t,e){return t.replace(\\\"%v\\\",a(e))};e.exports=function(t,e,n){if(!i(n))throw new TypeError(s(e,t));if(!r(t)){if(\\\"default\\\"in n)return n.default;if(n.isOptional)return null}var a=o(n.errorMessage);throw r(a)||(a=e),new TypeError(s(a,t))}},{\\\"../object/is\\\":540,\\\"../string/coerce\\\":544,\\\"../value/is\\\":546,\\\"./to-short-string\\\":539}],538:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){try{return t.toString()}catch(e){try{return String(t)}catch(t){return null}}}},{}],539:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./safe-to-string\\\"),i=/[\\\\n\\\\r\\\\u2028\\\\u2029]/g;e.exports=function(t){var e=r(t);return null===e?\\\"<Non-coercible to string value>\\\":(e.length>100&&(e=e.slice(0,99)+\\\"…\\\"),e=e.replace(i,(function(t){switch(t){case\\\"\\\\n\\\":return\\\"\\\\\\\\n\\\";case\\\"\\\\r\\\":return\\\"\\\\\\\\r\\\";case\\\"\\\\u2028\\\":return\\\"\\\\\\\\u2028\\\";case\\\"\\\\u2029\\\":return\\\"\\\\\\\\u2029\\\";default:throw new Error(\\\"Unexpected character\\\")}})))}},{\\\"./safe-to-string\\\":538}],540:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../value/is\\\"),i={object:!0,function:!0,undefined:!0};e.exports=function(t){return!!r(t)&&hasOwnProperty.call(i,typeof t)}},{\\\"../value/is\\\":546}],541:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib/resolve-exception\\\"),i=t(\\\"./is\\\");e.exports=function(t){return i(t)?t:r(t,\\\"%v is not a plain function\\\",arguments[1])}},{\\\"../lib/resolve-exception\\\":537,\\\"./is\\\":542}],542:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../function/is\\\"),i=/^\\\\s*class[\\\\s{/}]/,o=Function.prototype.toString;e.exports=function(t){return!!r(t)&&!i.test(o.call(t))}},{\\\"../function/is\\\":536}],543:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../object/is\\\");e.exports=function(t){if(!r(t))return!1;try{return!!t.constructor&&t.constructor.prototype===t}catch(t){return!1}}},{\\\"../object/is\\\":540}],544:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../value/is\\\"),i=t(\\\"../object/is\\\"),o=Object.prototype.toString;e.exports=function(t){if(!r(t))return null;if(i(t)){var e=t.toString;if(\\\"function\\\"!=typeof e)return null;if(e===o)return null}try{return\\\"\\\"+t}catch(t){return null}}},{\\\"../object/is\\\":540,\\\"../value/is\\\":546}],545:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib/resolve-exception\\\"),i=t(\\\"./is\\\");e.exports=function(t){return i(t)?t:r(t,\\\"Cannot use %v\\\",arguments[1])}},{\\\"../lib/resolve-exception\\\":537,\\\"./is\\\":546}],546:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return null!=t}},{}],547:[function(t,e,r){(function(e){\\\"use strict\\\";var n=t(\\\"bit-twiddle\\\"),i=t(\\\"dup\\\"),o=t(\\\"buffer\\\").Buffer;e.__TYPEDARRAY_POOL||(e.__TYPEDARRAY_POOL={UINT8:i([32,0]),UINT16:i([32,0]),UINT32:i([32,0]),BIGUINT64:i([32,0]),INT8:i([32,0]),INT16:i([32,0]),INT32:i([32,0]),BIGINT64:i([32,0]),FLOAT:i([32,0]),DOUBLE:i([32,0]),DATA:i([32,0]),UINT8C:i([32,0]),BUFFER:i([32,0])});var a=\\\"undefined\\\"!=typeof Uint8ClampedArray,s=\\\"undefined\\\"!=typeof BigUint64Array,l=\\\"undefined\\\"!=typeof BigInt64Array,u=e.__TYPEDARRAY_POOL;u.UINT8C||(u.UINT8C=i([32,0])),u.BIGUINT64||(u.BIGUINT64=i([32,0])),u.BIGINT64||(u.BIGINT64=i([32,0])),u.BUFFER||(u.BUFFER=i([32,0]));var c=u.DATA,h=u.BUFFER;function p(t){if(t){var e=t.length||t.byteLength,r=n.log2(e);c[r].push(t)}}function f(t){t=n.nextPow2(t);var e=n.log2(t),r=c[e];return r.length>0?r.pop():new ArrayBuffer(t)}function d(t){return new Uint8Array(f(t),0,t)}function m(t){return new Uint16Array(f(2*t),0,t)}function v(t){return new Uint32Array(f(4*t),0,t)}function g(t){return new Int8Array(f(t),0,t)}function y(t){return new Int16Array(f(2*t),0,t)}function _(t){return new Int32Array(f(4*t),0,t)}function b(t){return new Float32Array(f(4*t),0,t)}function x(t){return new Float64Array(f(8*t),0,t)}function w(t){return a?new Uint8ClampedArray(f(t),0,t):d(t)}function A(t){return s?new BigUint64Array(f(8*t),0,t):null}function C(t){return l?new BigInt64Array(f(8*t),0,t):null}function M(t){return new DataView(f(t),0,t)}function E(t){t=n.nextPow2(t);var e=n.log2(t),r=h[e];return r.length>0?r.pop():new o(t)}r.free=function(t){if(o.isBuffer(t))h[n.log2(t.length)].push(t);else{if(\\\"[object ArrayBuffer]\\\"!==Object.prototype.toString.call(t)&&(t=t.buffer),!t)return;var e=t.length||t.byteLength,r=0|n.log2(e);c[r].push(t)}},r.freeUint8=r.freeUint16=r.freeUint32=r.freeBigUint64=r.freeInt8=r.freeInt16=r.freeInt32=r.freeBigInt64=r.freeFloat32=r.freeFloat=r.freeFloat64=r.freeDouble=r.freeUint8Clamped=r.freeDataView=function(t){p(t.buffer)},r.freeArrayBuffer=p,r.freeBuffer=function(t){h[n.log2(t.length)].push(t)},r.malloc=function(t,e){if(void 0===e||\\\"arraybuffer\\\"===e)return f(t);switch(e){case\\\"uint8\\\":return d(t);case\\\"uint16\\\":return m(t);case\\\"uint32\\\":return v(t);case\\\"int8\\\":return g(t);case\\\"int16\\\":return y(t);case\\\"int32\\\":return _(t);case\\\"float\\\":case\\\"float32\\\":return b(t);case\\\"double\\\":case\\\"float64\\\":return x(t);case\\\"uint8_clamped\\\":return w(t);case\\\"bigint64\\\":return C(t);case\\\"biguint64\\\":return A(t);case\\\"buffer\\\":return E(t);case\\\"data\\\":case\\\"dataview\\\":return M(t);default:return null}return null},r.mallocArrayBuffer=f,r.mallocUint8=d,r.mallocUint16=m,r.mallocUint32=v,r.mallocInt8=g,r.mallocInt16=y,r.mallocInt32=_,r.mallocFloat32=r.mallocFloat=b,r.mallocFloat64=r.mallocDouble=x,r.mallocUint8Clamped=w,r.mallocBigUint64=A,r.mallocBigInt64=C,r.mallocDataView=M,r.mallocBuffer=E,r.clearCache=function(){for(var t=0;t<32;++t)u.UINT8[t].length=0,u.UINT16[t].length=0,u.UINT32[t].length=0,u.INT8[t].length=0,u.INT16[t].length=0,u.INT32[t].length=0,u.FLOAT[t].length=0,u.DOUBLE[t].length=0,u.BIGUINT64[t].length=0,u.BIGINT64[t].length=0,u.UINT8C[t].length=0,c[t].length=0,h[t].length=0}}).call(this,void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{\\\"bit-twiddle\\\":95,buffer:108,dup:171}],548:[function(t,e,n){\\\"use strict\\\";function r(t){this.roots=new Array(t),this.ranks=new Array(t);for(var e=0;e<t;++e)this.roots[e]=e,this.ranks[e]=0}e.exports=r;var i=r.prototype;Object.defineProperty(i,\\\"length\\\",{get:function(){return this.roots.length}}),i.makeSet=function(){var t=this.roots.length;return this.roots.push(t),this.ranks.push(0),t},i.find=function(t){for(var e=t,n=this.roots;n[t]!==t;)t=n[t];for(;n[e]!==t;){var r=n[e];n[e]=t,e=r}return t},i.link=function(t,e){var n=this.find(t),r=this.find(e);if(n!==r){var i=this.ranks,o=this.roots,a=i[n],s=i[r];a<s?o[n]=r:s<a?o[r]=n:(o[r]=n,++i[n])}}},{}],549:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){return 0===t.length?t:e?(n||t.sort(e),function(t,e){for(var n=1,r=t.length,i=t[0],o=t[0],a=1;a<r;++a)if(o=i,e(i=t[a],o)){if(a===n){n++;continue}t[n++]=i}return t.length=n,t}(t,e)):(n||t.sort(),function(t){for(var e=1,n=t.length,r=t[0],i=t[0],o=1;o<n;++o,i=r)if(i=r,(r=t[o])!==i){if(o===e){e++;continue}t[e++]=r}return t.length=e,t}(t))}},{}],550:[function(t,e,n){var r=/[\\\\'\\\\\\\"]/;e.exports=function(t){return t?(r.test(t.charAt(0))&&(t=t.substr(1)),r.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):\\\"\\\"}},{}],551:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){Array.isArray(n)||(n=[].slice.call(arguments,2));for(var r=0,i=n.length;r<i;r++){var o=n[r];for(var a in o)if((void 0===e[a]||Array.isArray(e[a])||t[a]!==e[a])&&a in e){var s;if(!0===o[a])s=e[a];else{if(!1===o[a])continue;if(\\\"function\\\"==typeof o[a]&&void 0===(s=o[a](e[a],t,e)))continue}t[a]=s}}return t}},{}],552:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return\\\"object\\\"==typeof e&&null!==e||(e={}),r(t,e.canvas||i,e.context||o,e)};var r=t(\\\"./lib/vtext\\\"),i=null,o=null;\\\"undefined\\\"!=typeof document&&((i=document.createElement(\\\"canvas\\\")).width=8192,i.height=1024,o=i.getContext(\\\"2d\\\"))},{\\\"./lib/vtext\\\":553}],553:[function(t,e,n){e.exports=function(t,e,n,r){var o=64,a=1.25,s={breaklines:!1,bolds:!1,italics:!1,subscripts:!1,superscripts:!1};return r&&(r.size&&r.size>0&&(o=r.size),r.lineSpacing&&r.lineSpacing>0&&(a=r.lineSpacing),r.styletags&&r.styletags.breaklines&&(s.breaklines=!!r.styletags.breaklines),r.styletags&&r.styletags.bolds&&(s.bolds=!!r.styletags.bolds),r.styletags&&r.styletags.italics&&(s.italics=!!r.styletags.italics),r.styletags&&r.styletags.subscripts&&(s.subscripts=!!r.styletags.subscripts),r.styletags&&r.styletags.superscripts&&(s.superscripts=!!r.styletags.superscripts)),n.font=[r.fontStyle,r.fontVariant,r.fontWeight,o+\\\"px\\\",r.font].filter((function(t){return t})).join(\\\" \\\"),n.textAlign=\\\"start\\\",n.textBaseline=\\\"alphabetic\\\",n.direction=\\\"ltr\\\",v(function(t,e,n,r,o,a){n=n.replace(/\\\\n/g,\\\"\\\"),n=!0===a.breaklines?n.replace(/\\\\<br\\\\>/g,\\\"\\\\n\\\"):n.replace(/\\\\<br\\\\>/g,\\\" \\\");var s=\\\"\\\",l=[];for(g=0;g<n.length;++g)l[g]=s;!0===a.bolds&&(l=f(\\\"b\\\",u,n,l)),!0===a.italics&&(l=f(\\\"i\\\",c,n,l)),!0===a.superscripts&&(l=f(\\\"sup\\\",\\\"+1\\\",n,l)),!0===a.subscripts&&(l=f(\\\"sub\\\",\\\"-1\\\",n,l));var d=[],m=\\\"\\\";for(g=0;g<n.length;++g)null!==l[g]&&(m+=n[g],d.push(l[g]));var v,g,y,_,b,x=m.split(\\\"\\\\n\\\"),w=x.length,A=Math.round(o*r),C=r,M=2*r,E=0,T=w*A+M;t.height<T&&(t.height=T),e.fillStyle=\\\"#000\\\",e.fillRect(0,0,t.width,t.height),e.fillStyle=\\\"#fff\\\";var S=0,k=\\\"\\\";function O(){if(\\\"\\\"!==k){var t=e.measureText(k).width;e.fillText(k,C+y,M+_),y+=t}}function I(){return Math.round(b)+\\\"px \\\"}function L(t,n){var r=\\\"\\\"+e.font;if(!0===a.subscripts){var i=t.indexOf(p),o=n.indexOf(p),s=i>-1?parseInt(t[1+i]):0,l=o>-1?parseInt(n[1+o]):0;s!==l&&(r=r.replace(I(),\\\"?px \\\"),b*=Math.pow(.75,l-s),r=r.replace(\\\"?px \\\",I())),_+=.25*A*(l-s)}if(!0===a.superscripts){var f=t.indexOf(h),d=n.indexOf(h),m=f>-1?parseInt(t[1+f]):0,v=d>-1?parseInt(n[1+d]):0;m!==v&&(r=r.replace(I(),\\\"?px \\\"),b*=Math.pow(.75,v-m),r=r.replace(\\\"?px \\\",I())),_-=.25*A*(v-m)}if(!0===a.bolds){var g=t.indexOf(u)>-1,y=n.indexOf(u)>-1;!g&&y&&(r=x?r.replace(\\\"italic \\\",\\\"italic bold \\\"):\\\"bold \\\"+r),g&&!y&&(r=r.replace(\\\"bold \\\",\\\"\\\"))}if(!0===a.italics){var x=t.indexOf(c)>-1,w=n.indexOf(c)>-1;!x&&w&&(r=\\\"italic \\\"+r),x&&!w&&(r=r.replace(\\\"italic \\\",\\\"\\\"))}e.font=r}for(v=0;v<w;++v){var P=x[v]+\\\"\\\\n\\\";for(y=0,_=v*A,b=r,k=\\\"\\\",g=0;g<P.length;++g){var z=g+S<d.length?d[g+S]:d[d.length-1];s===z?k+=P[g]:(O(),k=P[g],void 0!==z&&(L(s,z),s=z))}O(),S+=P.length;var R=0|Math.round(y+2*C);E<R&&(E=R)}var D=E,$=M+A*w;return i(e.getImageData(0,0,D,$).data,[$,D,4]).pick(-1,-1,0).transpose(1,0)}(e,n,t,o,a,s),r,o)},e.exports.processPixels=v;var r=t(\\\"surface-nets\\\"),i=t(\\\"ndarray\\\"),o=t(\\\"simplify-planar-graph\\\"),a=t(\\\"clean-pslg\\\"),s=t(\\\"cdt2d\\\"),l=t(\\\"planar-graph-to-polyline\\\"),u=\\\"b|\\\",c=\\\"i|\\\",h=\\\"+\\\",p=\\\"-\\\";function f(t,e,n,r){for(var i=\\\"<\\\"+t+\\\">\\\",o=\\\"</\\\"+t+\\\">\\\",a=i.length,s=o.length,l=e[0]===h||e[0]===p,u=0,c=-s;u>-1&&-1!==(u=n.indexOf(i,u))&&-1!==(c=n.indexOf(o,u+a))&&!(c<=u);){for(var f=u;f<c+s;++f)if(f<u+a||f>=c)r[f]=null,n=n.substr(0,f)+\\\" \\\"+n.substr(f+1);else if(null!==r[f]){var d=r[f].indexOf(e[0]);-1===d?r[f]+=e:l&&(r[f]=r[f].substr(0,d+1)+(1+parseInt(r[f][d+1]))+r[f].substr(d+2))}var m=u+a,v=n.substr(m,c-m).indexOf(i);u=-1!==v?v:c+s}return r}function d(t,e){var n=r(t,128);return e?o(n.cells,n.positions,.25):{edges:n.cells,positions:n.positions}}function m(t,e,n,r){var i=d(t,r),o=function(t,e,n){for(var r=e.textAlign||\\\"start\\\",i=e.textBaseline||\\\"alphabetic\\\",o=[1<<30,1<<30],a=[0,0],s=t.length,l=0;l<s;++l)for(var u=t[l],c=0;c<2;++c)o[c]=0|Math.min(o[c],u[c]),a[c]=0|Math.max(a[c],u[c]);var h=0;switch(r){case\\\"center\\\":h=-.5*(o[0]+a[0]);break;case\\\"right\\\":case\\\"end\\\":h=-a[0];break;case\\\"left\\\":case\\\"start\\\":h=-o[0];break;default:throw new Error(\\\"vectorize-text: Unrecognized textAlign: '\\\"+r+\\\"'\\\")}var p=0;switch(i){case\\\"hanging\\\":case\\\"top\\\":p=-o[1];break;case\\\"middle\\\":p=-.5*(o[1]+a[1]);break;case\\\"alphabetic\\\":case\\\"ideographic\\\":p=-3*n;break;case\\\"bottom\\\":p=-a[1];break;default:throw new Error(\\\"vectorize-text: Unrecoginized textBaseline: '\\\"+i+\\\"'\\\")}var f=1/n;return\\\"lineHeight\\\"in e?f*=+e.lineHeight:\\\"width\\\"in e?f=e.width/(a[0]-o[0]):\\\"height\\\"in e&&(f=e.height/(a[1]-o[1])),t.map((function(t){return[f*(t[0]+h),f*(t[1]+p)]}))}(i.positions,e,n),u=i.edges,c=\\\"ccw\\\"===e.orientation;if(a(o,u),e.polygons||e.polygon||e.polyline){for(var h=l(u,o),p=new Array(h.length),f=0;f<h.length;++f){for(var m=h[f],v=new Array(m.length),g=0;g<m.length;++g){for(var y=m[g],_=new Array(y.length),b=0;b<y.length;++b)_[b]=o[y[b]].slice();c&&_.reverse(),v[g]=_}p[f]=v}return p}return e.triangles||e.triangulate||e.triangle?{cells:s(o,u,{delaunay:!1,exterior:!1,interior:!0}),positions:o}:{edges:u,positions:o}}function v(t,e,n){try{return m(t,e,n,!0)}catch(t){}try{return m(t,e,n,!1)}catch(t){}return e.polygons||e.polyline||e.polygon?[]:e.triangles||e.triangulate||e.triangle?{cells:[],positions:[]}:{edges:[],positions:[]}}},{cdt2d:109,\\\"clean-pslg\\\":118,ndarray:448,\\\"planar-graph-to-polyline\\\":466,\\\"simplify-planar-graph\\\":514,\\\"surface-nets\\\":522}],554:[function(t,e,n){!function(){\\\"use strict\\\";if(\\\"undefined\\\"==typeof ses||!ses.ok||ses.ok()){\\\"undefined\\\"!=typeof ses&&(ses.weakMapPermitHostObjects=v);var t=!1;if(\\\"function\\\"==typeof WeakMap){var n=WeakMap;if(\\\"undefined\\\"!=typeof navigator&&/Firefox/.test(navigator.userAgent));else{var r=new n,i=Object.freeze({});if(r.set(i,1),1===r.get(i))return void(e.exports=WeakMap);t=!0}}Object.prototype.hasOwnProperty;var o=Object.getOwnPropertyNames,a=Object.defineProperty,s=Object.isExtensible,l=\\\"weakmap:\\\",u=l+\\\"ident:\\\"+Math.random()+\\\"___\\\";if(\\\"undefined\\\"!=typeof crypto&&\\\"function\\\"==typeof crypto.getRandomValues&&\\\"function\\\"==typeof ArrayBuffer&&\\\"function\\\"==typeof Uint8Array){var c=new ArrayBuffer(25),h=new Uint8Array(c);crypto.getRandomValues(h),u=l+\\\"rand:\\\"+Array.prototype.map.call(h,(function(t){return(t%36).toString(36)})).join(\\\"\\\")+\\\"___\\\"}if(a(Object,\\\"getOwnPropertyNames\\\",{value:function(t){return o(t).filter(g)}}),\\\"getPropertyNames\\\"in Object){var p=Object.getPropertyNames;a(Object,\\\"getPropertyNames\\\",{value:function(t){return p(t).filter(g)}})}!function(){var t=Object.freeze;a(Object,\\\"freeze\\\",{value:function(e){return y(e),t(e)}});var e=Object.seal;a(Object,\\\"seal\\\",{value:function(t){return y(t),e(t)}});var n=Object.preventExtensions;a(Object,\\\"preventExtensions\\\",{value:function(t){return y(t),n(t)}})}();var f=!1,d=0,m=function(){this instanceof m||b();var t=[],e=[],n=d++;return Object.create(m.prototype,{get___:{value:_((function(r,i){var o,a=y(r);return a?n in a?a[n]:i:(o=t.indexOf(r))>=0?e[o]:i}))},has___:{value:_((function(e){var r=y(e);return r?n in r:t.indexOf(e)>=0}))},set___:{value:_((function(r,i){var o,a=y(r);return a?a[n]=i:(o=t.indexOf(r))>=0?e[o]=i:(o=t.length,e[o]=i,t[o]=r),this}))},delete___:{value:_((function(r){var i,o,a=y(r);return a?n in a&&delete a[n]:!((i=t.indexOf(r))<0||(o=t.length-1,t[i]=void 0,e[i]=e[o],t[i]=t[o],t.length=o,e.length=o,0))}))}})};m.prototype=Object.create(Object.prototype,{get:{value:function(t,e){return this.get___(t,e)},writable:!0,configurable:!0},has:{value:function(t){return this.has___(t)},writable:!0,configurable:!0},set:{value:function(t,e){return this.set___(t,e)},writable:!0,configurable:!0},delete:{value:function(t){return this.delete___(t)},writable:!0,configurable:!0}}),\\\"function\\\"==typeof n?function(){function r(){this instanceof m||b();var e,r=new n,i=void 0,o=!1;return e=t?function(t,e){return r.set(t,e),r.has(t)||(i||(i=new m),i.set(t,e)),this}:function(t,e){if(o)try{r.set(t,e)}catch(n){i||(i=new m),i.set___(t,e)}else r.set(t,e);return this},Object.create(m.prototype,{get___:{value:_((function(t,e){return i?r.has(t)?r.get(t):i.get___(t,e):r.get(t,e)}))},has___:{value:_((function(t){return r.has(t)||!!i&&i.has___(t)}))},set___:{value:_(e)},delete___:{value:_((function(t){var e=!!r.delete(t);return i&&i.delete___(t)||e}))},permitHostObjects___:{value:_((function(t){if(t!==v)throw new Error(\\\"bogus call to permitHostObjects___\\\");o=!0}))}})}t&&\\\"undefined\\\"!=typeof Proxy&&(Proxy=void 0),r.prototype=m.prototype,e.exports=r,Object.defineProperty(WeakMap.prototype,\\\"constructor\\\",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(\\\"undefined\\\"!=typeof Proxy&&(Proxy=void 0),e.exports=m)}function v(t){t.permitHostObjects___&&t.permitHostObjects___(v)}function g(t){return!(t.substr(0,l.length)==l&&\\\"___\\\"===t.substr(t.length-3))}function y(t){if(t!==Object(t))throw new TypeError(\\\"Not an object: \\\"+t);var e=t[u];if(e&&e.key===t)return e;if(s(t)){e={key:t};try{return a(t,u,{value:e,writable:!1,enumerable:!1,configurable:!1}),e}catch(t){return}}}function _(t){return t.prototype=null,Object.freeze(t)}function b(){f||\\\"undefined\\\"==typeof console||(f=!0,console.warn(\\\"WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future.\\\"))}}()},{}],555:[function(t,e,n){var r=t(\\\"./hidden-store.js\\\");e.exports=function(){var t={};return function(e){if((\\\"object\\\"!=typeof e||null===e)&&\\\"function\\\"!=typeof e)throw new Error(\\\"Weakmap-shim: Key must be object\\\");var n=e.valueOf(t);return n&&n.identity===t?n:r(e,t)}}},{\\\"./hidden-store.js\\\":556}],556:[function(t,e,n){e.exports=function(t,e){var n={identity:e},r=t.valueOf;return Object.defineProperty(t,\\\"valueOf\\\",{value:function(t){return t!==e?r.apply(this,arguments):n},writable:!0}),n}},{}],557:[function(t,e,n){var r=t(\\\"./create-store.js\\\");e.exports=function(){var t=r();return{get:function(e,n){var r=t(e);return r.hasOwnProperty(\\\"value\\\")?r.value:n},set:function(e,n){return t(e).value=n,this},has:function(e){return\\\"value\\\"in t(e)},delete:function(e){return delete t(e).value}}}},{\\\"./create-store.js\\\":555}],558:[function(t,e,n){var r=t(\\\"get-canvas-context\\\");e.exports=function(t){return r(\\\"webgl\\\",t)}},{\\\"get-canvas-context\\\":244}],559:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\"),o=r.instance();function a(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}a.prototype=new r.baseCalendar,i(a.prototype,{name:\\\"Chinese\\\",jdEpoch:1721425.5,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Chinese\\\",epochs:[\\\"BEC\\\",\\\"EC\\\"],monthNumbers:function(t,e){if(\\\"string\\\"==typeof t){var n=t.match(l);return n?n[0]:\\\"\\\"}var r=this._validateYear(t),i=t.month(),o=\\\"\\\"+this.toChineseMonth(r,i);return e&&o.length<2&&(o=\\\"0\\\"+o),this.isIntercalaryMonth(r,i)&&(o+=\\\"i\\\"),o},monthNames:function(t){if(\\\"string\\\"==typeof t){var e=t.match(u);return e?e[0]:\\\"\\\"}var n=this._validateYear(t),r=t.month(),i=[\\\"一月\\\",\\\"二月\\\",\\\"三月\\\",\\\"四月\\\",\\\"五月\\\",\\\"六月\\\",\\\"七月\\\",\\\"八月\\\",\\\"九月\\\",\\\"十月\\\",\\\"十一月\\\",\\\"十二月\\\"][this.toChineseMonth(n,r)-1];return this.isIntercalaryMonth(n,r)&&(i=\\\"闰\\\"+i),i},monthNamesShort:function(t){if(\\\"string\\\"==typeof t){var e=t.match(c);return e?e[0]:\\\"\\\"}var n=this._validateYear(t),r=t.month(),i=[\\\"一\\\",\\\"二\\\",\\\"三\\\",\\\"四\\\",\\\"五\\\",\\\"六\\\",\\\"七\\\",\\\"八\\\",\\\"九\\\",\\\"十\\\",\\\"十一\\\",\\\"十二\\\"][this.toChineseMonth(n,r)-1];return this.isIntercalaryMonth(n,r)&&(i=\\\"闰\\\"+i),i},parseMonth:function(t,e){t=this._validateYear(t);var n,r=parseInt(e);if(isNaN(r))\\\"闰\\\"===e[0]&&(n=!0,e=e.substring(1)),\\\"月\\\"===e[e.length-1]&&(e=e.substring(0,e.length-1)),r=1+[\\\"一\\\",\\\"二\\\",\\\"三\\\",\\\"四\\\",\\\"五\\\",\\\"六\\\",\\\"七\\\",\\\"八\\\",\\\"九\\\",\\\"十\\\",\\\"十一\\\",\\\"十二\\\"].indexOf(e);else{var i=e[e.length-1];n=\\\"i\\\"===i||\\\"I\\\"===i}return this.toMonthIndex(t,r,n)},dayNames:[\\\"Sunday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],dayNamesShort:[\\\"Sun\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],dayNamesMin:[\\\"Su\\\",\\\"Mo\\\",\\\"Tu\\\",\\\"We\\\",\\\"Th\\\",\\\"Fr\\\",\\\"Sa\\\"],digits:null,dateFormat:\\\"yyyy/mm/dd\\\",firstDay:1,isRTL:!1}},_validateYear:function(t,e){if(t.year&&(t=t.year()),\\\"number\\\"!=typeof t||t<1888||t>2111)throw e.replace(/\\\\{0\\\\}/,this.local.name);return t},toMonthIndex:function(t,e,n){var i=this.intercalaryMonth(t);if(n&&e!==i||e<1||e>12)throw r.local.invalidMonth.replace(/\\\\{0\\\\}/,this.local.name);return i?!n&&e<=i?e-1:e:e-1},toChineseMonth:function(t,e){t.year&&(e=(t=t.year()).month());var n=this.intercalaryMonth(t);if(e<0||e>(n?12:11))throw r.local.invalidMonth.replace(/\\\\{0\\\\}/,this.local.name);return n?e<n?e+1:e:e+1},intercalaryMonth:function(t){return t=this._validateYear(t),h[t-h[0]]>>13},isIntercalaryMonth:function(t,e){t.year&&(e=(t=t.year()).month());var n=this.intercalaryMonth(t);return!!n&&n===e},leapYear:function(t){return 0!==this.intercalaryMonth(t)},weekOfYear:function(t,e,n){var i,a=this._validateYear(t,r.local.invalidyear),s=p[a-p[0]],l=s>>9&4095,u=s>>5&15,c=31&s;(i=o.newDate(l,u,c)).add(4-(i.dayOfWeek()||7),\\\"d\\\");var h=this.toJD(t,e,n)-i.toJD();return 1+Math.floor(h/7)},monthsInYear:function(t){return this.leapYear(t)?13:12},daysInMonth:function(t,e){t.year&&(e=t.month(),t=t.year()),t=this._validateYear(t);var n=h[t-h[0]];if(e>(n>>13?12:11))throw r.local.invalidMonth.replace(/\\\\{0\\\\}/,this.local.name);return n&1<<12-e?30:29},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var i=this._validate(t,s,n,r.local.invalidDate);t=this._validateYear(i.year()),e=i.month(),n=i.day();var a=this.isIntercalaryMonth(t,e),s=this.toChineseMonth(t,e),l=function(t,e,n,r,i){var o,a,s;if(\\\"object\\\"==typeof t)a=t,o=e||{};else{var l;if(!(\\\"number\\\"==typeof t&&t>=1888&&t<=2111))throw new Error(\\\"Lunar year outside range 1888-2111\\\");if(!(\\\"number\\\"==typeof e&&e>=1&&e<=12))throw new Error(\\\"Lunar month outside range 1 - 12\\\");if(!(\\\"number\\\"==typeof n&&n>=1&&n<=30))throw new Error(\\\"Lunar day outside range 1 - 30\\\");\\\"object\\\"==typeof r?(l=!1,o=r):(l=!!r,o=i||{}),a={year:t,month:e,day:n,isIntercalary:l}}s=a.day-1;var u,c=h[a.year-h[0]],f=c>>13;u=f&&(a.month>f||a.isIntercalary)?a.month:a.month-1;for(var d=0;d<u;d++)s+=c&1<<12-d?30:29;var m=p[a.year-p[0]],v=new Date(m>>9&4095,(m>>5&15)-1,(31&m)+s);return o.year=v.getFullYear(),o.month=1+v.getMonth(),o.day=v.getDate(),o}(t,s,n,a);return o.toJD(l.year,l.month,l.day)},fromJD:function(t){var e=o.fromJD(t),n=function(t,e,n,r){var i,o;if(\\\"object\\\"==typeof t)i=t,o=e||{};else{if(!(\\\"number\\\"==typeof t&&t>=1888&&t<=2111))throw new Error(\\\"Solar year outside range 1888-2111\\\");if(!(\\\"number\\\"==typeof e&&e>=1&&e<=12))throw new Error(\\\"Solar month outside range 1 - 12\\\");if(!(\\\"number\\\"==typeof n&&n>=1&&n<=31))throw new Error(\\\"Solar day outside range 1 - 31\\\");i={year:t,month:e,day:n},o=r||{}}var a=p[i.year-p[0]],s=i.year<<9|i.month<<5|i.day;o.year=s>=a?i.year:i.year-1,a=p[o.year-p[0]];var l,u=new Date(a>>9&4095,(a>>5&15)-1,31&a),c=new Date(i.year,i.month-1,i.day);l=Math.round((c-u)/864e5);var f,d=h[o.year-h[0]];for(f=0;f<13;f++){var m=d&1<<12-f?30:29;if(l<m)break;l-=m}var v=d>>13;return!v||f<v?(o.isIntercalary=!1,o.month=1+f):f===v?(o.isIntercalary=!0,o.month=f):(o.isIntercalary=!1,o.month=f),o.day=1+l,o}(e.year(),e.month(),e.day()),r=this.toMonthIndex(n.year,n.month,n.isIntercalary);return this.newDate(n.year,r,n.day)},fromString:function(t){var e=t.match(s),n=this._validateYear(+e[1]),r=+e[2],i=!!e[3],o=this.toMonthIndex(n,r,i),a=+e[4];return this.newDate(n,o,a)},add:function(t,e,n){var r=t.year(),i=t.month(),o=this.isIntercalaryMonth(r,i),s=this.toChineseMonth(r,i),l=Object.getPrototypeOf(a.prototype).add.call(this,t,e,n);if(\\\"y\\\"===n){var u=l.year(),c=l.month(),h=this.isIntercalaryMonth(u,s),p=o&&h?this.toMonthIndex(u,s,!0):this.toMonthIndex(u,s,!1);p!==c&&l.month(p)}return l}});var s=/^\\\\s*(-?\\\\d\\\\d\\\\d\\\\d|\\\\d\\\\d)[-/](\\\\d?\\\\d)([iI]?)[-/](\\\\d?\\\\d)/m,l=/^\\\\d?\\\\d[iI]?/m,u=/^闰?十?[一二三四五六七八九]?月/m,c=/^闰?十?[一二三四五六七八九]?/m;r.calendars.chinese=a;var h=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],p=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904]},{\\\"../main\\\":573,\\\"object-assign\\\":452}],560:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Coptic\\\",jdEpoch:1825029.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Coptic\\\",epochs:[\\\"BAM\\\",\\\"AM\\\"],monthNames:[\\\"Thout\\\",\\\"Paopi\\\",\\\"Hathor\\\",\\\"Koiak\\\",\\\"Tobi\\\",\\\"Meshir\\\",\\\"Paremhat\\\",\\\"Paremoude\\\",\\\"Pashons\\\",\\\"Paoni\\\",\\\"Epip\\\",\\\"Mesori\\\",\\\"Pi Kogi Enavot\\\"],monthNamesShort:[\\\"Tho\\\",\\\"Pao\\\",\\\"Hath\\\",\\\"Koi\\\",\\\"Tob\\\",\\\"Mesh\\\",\\\"Pat\\\",\\\"Pad\\\",\\\"Pash\\\",\\\"Pao\\\",\\\"Epi\\\",\\\"Meso\\\",\\\"PiK\\\"],dayNames:[\\\"Tkyriaka\\\",\\\"Pesnau\\\",\\\"Pshoment\\\",\\\"Peftoou\\\",\\\"Ptiou\\\",\\\"Psoou\\\",\\\"Psabbaton\\\"],dayNamesShort:[\\\"Tky\\\",\\\"Pes\\\",\\\"Psh\\\",\\\"Pef\\\",\\\"Pti\\\",\\\"Pso\\\",\\\"Psa\\\"],dayNamesMin:[\\\"Tk\\\",\\\"Pes\\\",\\\"Psh\\\",\\\"Pef\\\",\\\"Pt\\\",\\\"Pso\\\",\\\"Psa\\\"],digits:null,dateFormat:\\\"dd/mm/yyyy\\\",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return(t=e.year()+(e.year()<0?1:0))%4==3||t%4==-1},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\\\"\\\"].invalidYear),13},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(-r.dayOfWeek(),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(13===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return(t=i.year())<0&&t++,i.day()+30*(i.month()-1)+365*(t-1)+Math.floor(t/4)+this.jdEpoch-1},fromJD:function(t){var e=Math.floor(t)+.5-this.jdEpoch,n=Math.floor((e-Math.floor((e+366)/1461))/365)+1;n<=0&&n--,e=Math.floor(t)+.5-this.newDate(n,1,1).toJD();var r=Math.floor(e/30)+1,i=e-30*(r-1)+1;return this.newDate(n,r,i)}}),r.calendars.coptic=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],561:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Discworld\\\",jdEpoch:1721425.5,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Discworld\\\",epochs:[\\\"BUC\\\",\\\"UC\\\"],monthNames:[\\\"Ick\\\",\\\"Offle\\\",\\\"February\\\",\\\"March\\\",\\\"April\\\",\\\"May\\\",\\\"June\\\",\\\"Grune\\\",\\\"August\\\",\\\"Spune\\\",\\\"Sektober\\\",\\\"Ember\\\",\\\"December\\\"],monthNamesShort:[\\\"Ick\\\",\\\"Off\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Gru\\\",\\\"Aug\\\",\\\"Spu\\\",\\\"Sek\\\",\\\"Emb\\\",\\\"Dec\\\"],dayNames:[\\\"Sunday\\\",\\\"Octeday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],dayNamesShort:[\\\"Sun\\\",\\\"Oct\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],dayNamesMin:[\\\"Su\\\",\\\"Oc\\\",\\\"Mo\\\",\\\"Tu\\\",\\\"We\\\",\\\"Th\\\",\\\"Fr\\\",\\\"Sa\\\"],digits:null,dateFormat:\\\"yyyy/mm/dd\\\",firstDay:2,isRTL:!1}},leapYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear),!1},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear),13},daysInYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear),400},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(-r.dayOfWeek(),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/8)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(t,e,n){return(this._validate(t,e,n,r.local.invalidDate).day()+1)%8},weekDay:function(t,e,n){var r=this.dayOfWeek(t,e,n);return r>=2&&r<=6},extraInfo:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return{century:a[Math.floor((i.year()-1)/100)+1]||\\\"\\\"}},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return t=i.year()+(i.year()<0?1:0),e=i.month(),(n=i.day())+(e>1?16:0)+(e>2?32*(e-2):0)+400*(t-1)+this.jdEpoch-1},fromJD:function(t){t=Math.floor(t+.5)-Math.floor(this.jdEpoch)-1;var e=Math.floor(t/400)+1;t-=400*(e-1),t+=t>15?16:0;var n=Math.floor(t/32)+1,r=t-32*(n-1)+1;return this.newDate(e<=0?e-1:e,n,r)}});var a={20:\\\"Fruitbat\\\",21:\\\"Anchovy\\\"};r.calendars.discworld=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],562:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Ethiopian\\\",jdEpoch:1724220.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Ethiopian\\\",epochs:[\\\"BEE\\\",\\\"EE\\\"],monthNames:[\\\"Meskerem\\\",\\\"Tikemet\\\",\\\"Hidar\\\",\\\"Tahesas\\\",\\\"Tir\\\",\\\"Yekatit\\\",\\\"Megabit\\\",\\\"Miazia\\\",\\\"Genbot\\\",\\\"Sene\\\",\\\"Hamle\\\",\\\"Nehase\\\",\\\"Pagume\\\"],monthNamesShort:[\\\"Mes\\\",\\\"Tik\\\",\\\"Hid\\\",\\\"Tah\\\",\\\"Tir\\\",\\\"Yek\\\",\\\"Meg\\\",\\\"Mia\\\",\\\"Gen\\\",\\\"Sen\\\",\\\"Ham\\\",\\\"Neh\\\",\\\"Pag\\\"],dayNames:[\\\"Ehud\\\",\\\"Segno\\\",\\\"Maksegno\\\",\\\"Irob\\\",\\\"Hamus\\\",\\\"Arb\\\",\\\"Kidame\\\"],dayNamesShort:[\\\"Ehu\\\",\\\"Seg\\\",\\\"Mak\\\",\\\"Iro\\\",\\\"Ham\\\",\\\"Arb\\\",\\\"Kid\\\"],dayNamesMin:[\\\"Eh\\\",\\\"Se\\\",\\\"Ma\\\",\\\"Ir\\\",\\\"Ha\\\",\\\"Ar\\\",\\\"Ki\\\"],digits:null,dateFormat:\\\"dd/mm/yyyy\\\",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return(t=e.year()+(e.year()<0?1:0))%4==3||t%4==-1},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\\\"\\\"].invalidYear),13},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(-r.dayOfWeek(),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(13===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return(t=i.year())<0&&t++,i.day()+30*(i.month()-1)+365*(t-1)+Math.floor(t/4)+this.jdEpoch-1},fromJD:function(t){var e=Math.floor(t)+.5-this.jdEpoch,n=Math.floor((e-Math.floor((e+366)/1461))/365)+1;n<=0&&n--,e=Math.floor(t)+.5-this.newDate(n,1,1).toJD();var r=Math.floor(e/30)+1,i=e-30*(r-1)+1;return this.newDate(n,r,i)}}),r.calendars.ethiopian=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],563:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}function a(t,e){return t-e*Math.floor(t/e)}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Hebrew\\\",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Hebrew\\\",epochs:[\\\"BAM\\\",\\\"AM\\\"],monthNames:[\\\"Nisan\\\",\\\"Iyar\\\",\\\"Sivan\\\",\\\"Tammuz\\\",\\\"Av\\\",\\\"Elul\\\",\\\"Tishrei\\\",\\\"Cheshvan\\\",\\\"Kislev\\\",\\\"Tevet\\\",\\\"Shevat\\\",\\\"Adar\\\",\\\"Adar II\\\"],monthNamesShort:[\\\"Nis\\\",\\\"Iya\\\",\\\"Siv\\\",\\\"Tam\\\",\\\"Av\\\",\\\"Elu\\\",\\\"Tis\\\",\\\"Che\\\",\\\"Kis\\\",\\\"Tev\\\",\\\"She\\\",\\\"Ada\\\",\\\"Ad2\\\"],dayNames:[\\\"Yom Rishon\\\",\\\"Yom Sheni\\\",\\\"Yom Shlishi\\\",\\\"Yom Revi'i\\\",\\\"Yom Chamishi\\\",\\\"Yom Shishi\\\",\\\"Yom Shabbat\\\"],dayNamesShort:[\\\"Ris\\\",\\\"She\\\",\\\"Shl\\\",\\\"Rev\\\",\\\"Cha\\\",\\\"Shi\\\",\\\"Sha\\\"],dayNamesMin:[\\\"Ri\\\",\\\"She\\\",\\\"Shl\\\",\\\"Re\\\",\\\"Ch\\\",\\\"Shi\\\",\\\"Sha\\\"],digits:null,dateFormat:\\\"dd/mm/yyyy\\\",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return this._leapYear(e.year())},_leapYear:function(t){return a(7*(t=t<0?t+1:t)+1,19)<7},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear),this._leapYear(t.year?t.year():t)?13:12},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(-r.dayOfWeek(),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(t){return t=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear).year(),this.toJD(-1===t?1:t+1,7,1)-this.toJD(t,7,1)},daysInMonth:function(t,e){return t.year&&(e=t.month(),t=t.year()),this._validate(t,e,this.minDay,r.local.invalidMonth),12===e&&this.leapYear(t)||8===e&&5===a(this.daysInYear(t),10)?30:9===e&&3===a(this.daysInYear(t),10)?29:this.daysPerMonth[e-1]},weekDay:function(t,e,n){return 6!==this.dayOfWeek(t,e,n)},extraInfo:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return{yearType:(this.leapYear(i)?\\\"embolismic\\\":\\\"common\\\")+\\\" \\\"+[\\\"deficient\\\",\\\"regular\\\",\\\"complete\\\"][this.daysInYear(i)%10-3]}},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);t=i.year(),e=i.month(),n=i.day();var o=t<=0?t+1:t,a=this.jdEpoch+this._delay1(o)+this._delay2(o)+n+1;if(e<7){for(var s=7;s<=this.monthsInYear(t);s++)a+=this.daysInMonth(t,s);for(s=1;s<e;s++)a+=this.daysInMonth(t,s)}else for(s=7;s<e;s++)a+=this.daysInMonth(t,s);return a},_delay1:function(t){var e=Math.floor((235*t-234)/19),n=12084+13753*e,r=29*e+Math.floor(n/25920);return a(3*(r+1),7)<3&&r++,r},_delay2:function(t){var e=this._delay1(t-1),n=this._delay1(t);return this._delay1(t+1)-n==356?2:n-e==382?1:0},fromJD:function(t){t=Math.floor(t)+.5;for(var e=Math.floor(98496*(t-this.jdEpoch)/35975351)-1;t>=this.toJD(-1===e?1:e+1,7,1);)e++;for(var n=t<this.toJD(e,1,1)?7:1;t>this.toJD(e,n,this.daysInMonth(e,n));)n++;var r=t-this.toJD(e,n,1)+1;return this.newDate(e,n,r)}}),r.calendars.hebrew=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],564:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Islamic\\\",jdEpoch:1948439.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Islamic\\\",epochs:[\\\"BH\\\",\\\"AH\\\"],monthNames:[\\\"Muharram\\\",\\\"Safar\\\",\\\"Rabi' al-awwal\\\",\\\"Rabi' al-thani\\\",\\\"Jumada al-awwal\\\",\\\"Jumada al-thani\\\",\\\"Rajab\\\",\\\"Sha'aban\\\",\\\"Ramadan\\\",\\\"Shawwal\\\",\\\"Dhu al-Qi'dah\\\",\\\"Dhu al-Hijjah\\\"],monthNamesShort:[\\\"Muh\\\",\\\"Saf\\\",\\\"Rab1\\\",\\\"Rab2\\\",\\\"Jum1\\\",\\\"Jum2\\\",\\\"Raj\\\",\\\"Sha'\\\",\\\"Ram\\\",\\\"Shaw\\\",\\\"DhuQ\\\",\\\"DhuH\\\"],dayNames:[\\\"Yawm al-ahad\\\",\\\"Yawm al-ithnayn\\\",\\\"Yawm ath-thulaathaa'\\\",\\\"Yawm al-arbi'aa'\\\",\\\"Yawm al-khamīs\\\",\\\"Yawm al-jum'a\\\",\\\"Yawm as-sabt\\\"],dayNamesShort:[\\\"Aha\\\",\\\"Ith\\\",\\\"Thu\\\",\\\"Arb\\\",\\\"Kha\\\",\\\"Jum\\\",\\\"Sab\\\"],dayNamesMin:[\\\"Ah\\\",\\\"It\\\",\\\"Th\\\",\\\"Ar\\\",\\\"Kh\\\",\\\"Ju\\\",\\\"Sa\\\"],digits:null,dateFormat:\\\"yyyy/mm/dd\\\",firstDay:6,isRTL:!1}},leapYear:function(t){return(11*this._validate(t,this.minMonth,this.minDay,r.local.invalidYear).year()+14)%30<11},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(-r.dayOfWeek(),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(t){return this.leapYear(t)?355:354},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return 5!==this.dayOfWeek(t,e,n)},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return t=i.year(),e=i.month(),t=t<=0?t+1:t,(n=i.day())+Math.ceil(29.5*(e-1))+354*(t-1)+Math.floor((3+11*t)/30)+this.jdEpoch-1},fromJD:function(t){t=Math.floor(t)+.5;var e=Math.floor((30*(t-this.jdEpoch)+10646)/10631);e=e<=0?e-1:e;var n=Math.min(12,Math.ceil((t-29-this.toJD(e,1,1))/29.5)+1),r=t-this.toJD(e,n,1)+1;return this.newDate(e,n,r)}}),r.calendars.islamic=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],565:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Julian\\\",jdEpoch:1721423.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Julian\\\",epochs:[\\\"BC\\\",\\\"AD\\\"],monthNames:[\\\"January\\\",\\\"February\\\",\\\"March\\\",\\\"April\\\",\\\"May\\\",\\\"June\\\",\\\"July\\\",\\\"August\\\",\\\"September\\\",\\\"October\\\",\\\"November\\\",\\\"December\\\"],monthNamesShort:[\\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\"],dayNames:[\\\"Sunday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],dayNamesShort:[\\\"Sun\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],dayNamesMin:[\\\"Su\\\",\\\"Mo\\\",\\\"Tu\\\",\\\"We\\\",\\\"Th\\\",\\\"Fr\\\",\\\"Sa\\\"],digits:null,dateFormat:\\\"mm/dd/yyyy\\\",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return(t=e.year()<0?e.year()+1:e.year())%4==0},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(4-(r.dayOfWeek()||7),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return t=i.year(),e=i.month(),n=i.day(),t<0&&t++,e<=2&&(t--,e+=12),Math.floor(365.25*(t+4716))+Math.floor(30.6001*(e+1))+n-1524.5},fromJD:function(t){var e=Math.floor(t+.5)+1524,n=Math.floor((e-122.1)/365.25),r=Math.floor(365.25*n),i=Math.floor((e-r)/30.6001),o=i-Math.floor(i<14?1:13),a=n-Math.floor(o>2?4716:4715),s=e-r-Math.floor(30.6001*i);return a<=0&&a--,this.newDate(a,o,s)}}),r.calendars.julian=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],566:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}function a(t,e){return t-e*Math.floor(t/e)}function s(t,e){return a(t-1,e)+1}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Mayan\\\",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{\\\"\\\":{name:\\\"Mayan\\\",epochs:[\\\"\\\",\\\"\\\"],monthNames:[\\\"0\\\",\\\"1\\\",\\\"2\\\",\\\"3\\\",\\\"4\\\",\\\"5\\\",\\\"6\\\",\\\"7\\\",\\\"8\\\",\\\"9\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\",\\\"13\\\",\\\"14\\\",\\\"15\\\",\\\"16\\\",\\\"17\\\"],monthNamesShort:[\\\"0\\\",\\\"1\\\",\\\"2\\\",\\\"3\\\",\\\"4\\\",\\\"5\\\",\\\"6\\\",\\\"7\\\",\\\"8\\\",\\\"9\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\",\\\"13\\\",\\\"14\\\",\\\"15\\\",\\\"16\\\",\\\"17\\\"],dayNames:[\\\"0\\\",\\\"1\\\",\\\"2\\\",\\\"3\\\",\\\"4\\\",\\\"5\\\",\\\"6\\\",\\\"7\\\",\\\"8\\\",\\\"9\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\",\\\"13\\\",\\\"14\\\",\\\"15\\\",\\\"16\\\",\\\"17\\\",\\\"18\\\",\\\"19\\\"],dayNamesShort:[\\\"0\\\",\\\"1\\\",\\\"2\\\",\\\"3\\\",\\\"4\\\",\\\"5\\\",\\\"6\\\",\\\"7\\\",\\\"8\\\",\\\"9\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\",\\\"13\\\",\\\"14\\\",\\\"15\\\",\\\"16\\\",\\\"17\\\",\\\"18\\\",\\\"19\\\"],dayNamesMin:[\\\"0\\\",\\\"1\\\",\\\"2\\\",\\\"3\\\",\\\"4\\\",\\\"5\\\",\\\"6\\\",\\\"7\\\",\\\"8\\\",\\\"9\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\",\\\"13\\\",\\\"14\\\",\\\"15\\\",\\\"16\\\",\\\"17\\\",\\\"18\\\",\\\"19\\\"],digits:null,dateFormat:\\\"YYYY.m.d\\\",firstDay:0,isRTL:!1,haabMonths:[\\\"Pop\\\",\\\"Uo\\\",\\\"Zip\\\",\\\"Zotz\\\",\\\"Tzec\\\",\\\"Xul\\\",\\\"Yaxkin\\\",\\\"Mol\\\",\\\"Chen\\\",\\\"Yax\\\",\\\"Zac\\\",\\\"Ceh\\\",\\\"Mac\\\",\\\"Kankin\\\",\\\"Muan\\\",\\\"Pax\\\",\\\"Kayab\\\",\\\"Cumku\\\",\\\"Uayeb\\\"],tzolkinMonths:[\\\"Imix\\\",\\\"Ik\\\",\\\"Akbal\\\",\\\"Kan\\\",\\\"Chicchan\\\",\\\"Cimi\\\",\\\"Manik\\\",\\\"Lamat\\\",\\\"Muluc\\\",\\\"Oc\\\",\\\"Chuen\\\",\\\"Eb\\\",\\\"Ben\\\",\\\"Ix\\\",\\\"Men\\\",\\\"Cib\\\",\\\"Caban\\\",\\\"Etznab\\\",\\\"Cauac\\\",\\\"Ahau\\\"]}},leapYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear),!1},formatYear:function(t){t=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear).year();var e=Math.floor(t/400);return t%=400,t+=t<0?400:0,e+\\\".\\\"+Math.floor(t/20)+\\\".\\\"+t%20},forYear:function(t){if((t=t.split(\\\".\\\")).length<3)throw\\\"Invalid Mayan year\\\";for(var e=0,n=0;n<t.length;n++){var r=parseInt(t[n],10);if(Math.abs(r)>19||n>0&&r<0)throw\\\"Invalid Mayan year\\\";e=20*e+r}return e},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear),18},weekOfYear:function(t,e,n){return this._validate(t,e,n,r.local.invalidDate),0},daysInYear:function(t){return this._validate(t,this.minMonth,this.minDay,r.local.invalidYear),360},daysInMonth:function(t,e){return this._validate(t,e,this.minDay,r.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(t,e,n){return this._validate(t,e,n,r.local.invalidDate).day()},weekDay:function(t,e,n){return this._validate(t,e,n,r.local.invalidDate),!0},extraInfo:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate).toJD(),o=this._toHaab(i),a=this._toTzolkin(i);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[a[0]-1],tzolkinDay:a[0],tzolkinTrecena:a[1]}},_toHaab:function(t){var e=a(8+(t-=this.jdEpoch)+340,365);return[Math.floor(e/20)+1,a(e,20)]},_toTzolkin:function(t){return[s(20+(t-=this.jdEpoch),20),s(t+4,13)]},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return i.day()+20*i.month()+360*i.year()+this.jdEpoch},fromJD:function(t){t=Math.floor(t)+.5-this.jdEpoch;var e=Math.floor(t/360);t%=360,t+=t<0?360:0;var n=Math.floor(t/20),r=t%20;return this.newDate(e,n,r)}}),r.calendars.mayan=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],567:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}o.prototype=new r.baseCalendar;var a=r.instance(\\\"gregorian\\\");i(o.prototype,{name:\\\"Nanakshahi\\\",jdEpoch:2257673.5,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Nanakshahi\\\",epochs:[\\\"BN\\\",\\\"AN\\\"],monthNames:[\\\"Chet\\\",\\\"Vaisakh\\\",\\\"Jeth\\\",\\\"Harh\\\",\\\"Sawan\\\",\\\"Bhadon\\\",\\\"Assu\\\",\\\"Katak\\\",\\\"Maghar\\\",\\\"Poh\\\",\\\"Magh\\\",\\\"Phagun\\\"],monthNamesShort:[\\\"Che\\\",\\\"Vai\\\",\\\"Jet\\\",\\\"Har\\\",\\\"Saw\\\",\\\"Bha\\\",\\\"Ass\\\",\\\"Kat\\\",\\\"Mgr\\\",\\\"Poh\\\",\\\"Mgh\\\",\\\"Pha\\\"],dayNames:[\\\"Somvaar\\\",\\\"Mangalvar\\\",\\\"Budhvaar\\\",\\\"Veervaar\\\",\\\"Shukarvaar\\\",\\\"Sanicharvaar\\\",\\\"Etvaar\\\"],dayNamesShort:[\\\"Som\\\",\\\"Mangal\\\",\\\"Budh\\\",\\\"Veer\\\",\\\"Shukar\\\",\\\"Sanichar\\\",\\\"Et\\\"],dayNamesMin:[\\\"So\\\",\\\"Ma\\\",\\\"Bu\\\",\\\"Ve\\\",\\\"Sh\\\",\\\"Sa\\\",\\\"Et\\\"],digits:null,dateFormat:\\\"dd-mm-yyyy\\\",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\\\"\\\"].invalidYear);return a.leapYear(e.year()+(e.year()<1?1:0)+1469)},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(1-(r.dayOfWeek()||7),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidMonth);(t=i.year())<0&&t++;for(var o=i.day(),s=1;s<i.month();s++)o+=this.daysPerMonth[s-1];return o+a.toJD(t+1468,3,13)},fromJD:function(t){t=Math.floor(t+.5);for(var e=Math.floor((t-(this.jdEpoch-1))/366);t>=this.toJD(e+1,1,1);)e++;for(var n=t-Math.floor(this.toJD(e,1,1)+.5)+1,r=1;n>this.daysInMonth(e,r);)n-=this.daysInMonth(e,r),r++;return this.newDate(e,r,n)}}),r.calendars.nanakshahi=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],568:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Nepali\\\",jdEpoch:1700709.5,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{\\\"\\\":{name:\\\"Nepali\\\",epochs:[\\\"BBS\\\",\\\"ABS\\\"],monthNames:[\\\"Baisakh\\\",\\\"Jestha\\\",\\\"Ashadh\\\",\\\"Shrawan\\\",\\\"Bhadra\\\",\\\"Ashwin\\\",\\\"Kartik\\\",\\\"Mangsir\\\",\\\"Paush\\\",\\\"Mangh\\\",\\\"Falgun\\\",\\\"Chaitra\\\"],monthNamesShort:[\\\"Bai\\\",\\\"Je\\\",\\\"As\\\",\\\"Shra\\\",\\\"Bha\\\",\\\"Ash\\\",\\\"Kar\\\",\\\"Mang\\\",\\\"Pau\\\",\\\"Ma\\\",\\\"Fal\\\",\\\"Chai\\\"],dayNames:[\\\"Aaitabaar\\\",\\\"Sombaar\\\",\\\"Manglbaar\\\",\\\"Budhabaar\\\",\\\"Bihibaar\\\",\\\"Shukrabaar\\\",\\\"Shanibaar\\\"],dayNamesShort:[\\\"Aaita\\\",\\\"Som\\\",\\\"Mangl\\\",\\\"Budha\\\",\\\"Bihi\\\",\\\"Shukra\\\",\\\"Shani\\\"],dayNamesMin:[\\\"Aai\\\",\\\"So\\\",\\\"Man\\\",\\\"Bu\\\",\\\"Bi\\\",\\\"Shu\\\",\\\"Sha\\\"],digits:null,dateFormat:\\\"dd/mm/yyyy\\\",firstDay:1,isRTL:!1}},leapYear:function(t){return this.daysInYear(t)!==this.daysPerYear},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(-r.dayOfWeek(),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(t){if(t=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear).year(),void 0===this.NEPALI_CALENDAR_DATA[t])return this.daysPerYear;for(var e=0,n=this.minMonth;n<=12;n++)e+=this.NEPALI_CALENDAR_DATA[t][n];return e},daysInMonth:function(t,e){return t.year&&(e=t.month(),t=t.year()),this._validate(t,e,this.minDay,r.local.invalidMonth),void 0===this.NEPALI_CALENDAR_DATA[t]?this.daysPerMonth[e-1]:this.NEPALI_CALENDAR_DATA[t][e]},weekDay:function(t,e,n){return 6!==this.dayOfWeek(t,e,n)},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);t=i.year(),e=i.month(),n=i.day();var o=r.instance(),a=0,s=e,l=t;this._createMissingCalendarData(t);var u=t-(s>9||9===s&&n>=this.NEPALI_CALENDAR_DATA[l][0]?56:57);for(9!==e&&(a=n,s--);9!==s;)s<=0&&(s=12,l--),a+=this.NEPALI_CALENDAR_DATA[l][s],s--;return 9===e?(a+=n-this.NEPALI_CALENDAR_DATA[l][0])<0&&(a+=o.daysInYear(u)):a+=this.NEPALI_CALENDAR_DATA[l][9]-this.NEPALI_CALENDAR_DATA[l][0],o.newDate(u,1,1).add(a,\\\"d\\\").toJD()},fromJD:function(t){var e=r.instance().fromJD(t),n=e.year(),i=e.dayOfYear(),o=n+56;this._createMissingCalendarData(o);for(var a=9,s=this.NEPALI_CALENDAR_DATA[o][0],l=this.NEPALI_CALENDAR_DATA[o][a]-s+1;i>l;)++a>12&&(a=1,o++),l+=this.NEPALI_CALENDAR_DATA[o][a];var u=this.NEPALI_CALENDAR_DATA[o][a]-(l-i);return this.newDate(o,a,u)},_createMissingCalendarData:function(t){var e=this.daysPerMonth.slice(0);e.unshift(17);for(var n=t-1;n<t+2;n++)void 0===this.NEPALI_CALENDAR_DATA[n]&&(this.NEPALI_CALENDAR_DATA[n]=e)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),r.calendars.nepali=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],569:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}function a(t,e){return t-e*Math.floor(t/e)}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"Persian\\\",jdEpoch:1948320.5,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Persian\\\",epochs:[\\\"BP\\\",\\\"AP\\\"],monthNames:[\\\"Farvardin\\\",\\\"Ordibehesht\\\",\\\"Khordad\\\",\\\"Tir\\\",\\\"Mordad\\\",\\\"Shahrivar\\\",\\\"Mehr\\\",\\\"Aban\\\",\\\"Azar\\\",\\\"Day\\\",\\\"Bahman\\\",\\\"Esfand\\\"],monthNamesShort:[\\\"Far\\\",\\\"Ord\\\",\\\"Kho\\\",\\\"Tir\\\",\\\"Mor\\\",\\\"Sha\\\",\\\"Meh\\\",\\\"Aba\\\",\\\"Aza\\\",\\\"Day\\\",\\\"Bah\\\",\\\"Esf\\\"],dayNames:[\\\"Yekshambe\\\",\\\"Doshambe\\\",\\\"Seshambe\\\",\\\"Chæharshambe\\\",\\\"Panjshambe\\\",\\\"Jom'e\\\",\\\"Shambe\\\"],dayNamesShort:[\\\"Yek\\\",\\\"Do\\\",\\\"Se\\\",\\\"Chæ\\\",\\\"Panj\\\",\\\"Jom\\\",\\\"Sha\\\"],dayNamesMin:[\\\"Ye\\\",\\\"Do\\\",\\\"Se\\\",\\\"Ch\\\",\\\"Pa\\\",\\\"Jo\\\",\\\"Sh\\\"],digits:null,dateFormat:\\\"yyyy/mm/dd\\\",firstDay:6,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return 682*((e.year()-(e.year()>0?474:473))%2820+474+38)%2816<682},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(-(r.dayOfWeek()+1)%7,\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return 5!==this.dayOfWeek(t,e,n)},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);t=i.year(),e=i.month(),n=i.day();var o=t-(t>=0?474:473),s=474+a(o,2820);return n+(e<=7?31*(e-1):30*(e-1)+6)+Math.floor((682*s-110)/2816)+365*(s-1)+1029983*Math.floor(o/2820)+this.jdEpoch-1},fromJD:function(t){var e=(t=Math.floor(t)+.5)-this.toJD(475,1,1),n=Math.floor(e/1029983),r=a(e,1029983),i=2820;if(1029982!==r){var o=Math.floor(r/366),s=a(r,366);i=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var l=i+2820*n+474;l=l<=0?l-1:l;var u=t-this.toJD(l,1,1)+1,c=u<=186?Math.ceil(u/31):Math.ceil((u-6)/30),h=t-this.toJD(l,c,1)+1;return this.newDate(l,c,h)}}),r.calendars.persian=o,r.calendars.jalali=o},{\\\"../main\\\":573,\\\"object-assign\\\":452}],570:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\"),o=r.instance();function a(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}a.prototype=new r.baseCalendar,i(a.prototype,{name:\\\"Taiwan\\\",jdEpoch:2419402.5,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Taiwan\\\",epochs:[\\\"BROC\\\",\\\"ROC\\\"],monthNames:[\\\"January\\\",\\\"February\\\",\\\"March\\\",\\\"April\\\",\\\"May\\\",\\\"June\\\",\\\"July\\\",\\\"August\\\",\\\"September\\\",\\\"October\\\",\\\"November\\\",\\\"December\\\"],monthNamesShort:[\\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\"],dayNames:[\\\"Sunday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],dayNamesShort:[\\\"Sun\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],dayNamesMin:[\\\"Su\\\",\\\"Mo\\\",\\\"Tu\\\",\\\"We\\\",\\\"Th\\\",\\\"Fr\\\",\\\"Sa\\\"],digits:null,dateFormat:\\\"yyyy/mm/dd\\\",firstDay:1,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return t=this._t2gYear(e.year()),o.leapYear(t)},weekOfYear:function(t,e,n){var i=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return t=this._t2gYear(i.year()),o.weekOfYear(t,i.month(),i.day())},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return t=this._t2gYear(i.year()),o.toJD(t,i.month(),i.day())},fromJD:function(t){var e=o.fromJD(t),n=this._g2tYear(e.year());return this.newDate(n,e.month(),e.day())},_t2gYear:function(t){return t+this.yearsOffset+(t>=-this.yearsOffset&&t<=-1?1:0)},_g2tYear:function(t){return t-this.yearsOffset-(t>=1&&t<=this.yearsOffset?1:0)}}),r.calendars.taiwan=a},{\\\"../main\\\":573,\\\"object-assign\\\":452}],571:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\"),o=r.instance();function a(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}a.prototype=new r.baseCalendar,i(a.prototype,{name:\\\"Thai\\\",jdEpoch:1523098.5,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Thai\\\",epochs:[\\\"BBE\\\",\\\"BE\\\"],monthNames:[\\\"January\\\",\\\"February\\\",\\\"March\\\",\\\"April\\\",\\\"May\\\",\\\"June\\\",\\\"July\\\",\\\"August\\\",\\\"September\\\",\\\"October\\\",\\\"November\\\",\\\"December\\\"],monthNamesShort:[\\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\"],dayNames:[\\\"Sunday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],dayNamesShort:[\\\"Sun\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],dayNamesMin:[\\\"Su\\\",\\\"Mo\\\",\\\"Tu\\\",\\\"We\\\",\\\"Th\\\",\\\"Fr\\\",\\\"Sa\\\"],digits:null,dateFormat:\\\"dd/mm/yyyy\\\",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return t=this._t2gYear(e.year()),o.leapYear(t)},weekOfYear:function(t,e,n){var i=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return t=this._t2gYear(i.year()),o.weekOfYear(t,i.month(),i.day())},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate);return t=this._t2gYear(i.year()),o.toJD(t,i.month(),i.day())},fromJD:function(t){var e=o.fromJD(t),n=this._g2tYear(e.year());return this.newDate(n,e.month(),e.day())},_t2gYear:function(t){return t-this.yearsOffset-(t>=1&&t<=this.yearsOffset?1:0)},_g2tYear:function(t){return t+this.yearsOffset+(t>=-this.yearsOffset&&t<=-1?1:0)}}),r.calendars.thai=a},{\\\"../main\\\":573,\\\"object-assign\\\":452}],572:[function(t,e,n){var r=t(\\\"../main\\\"),i=t(\\\"object-assign\\\");function o(t){this.local=this.regionalOptions[t||\\\"\\\"]||this.regionalOptions[\\\"\\\"]}o.prototype=new r.baseCalendar,i(o.prototype,{name:\\\"UmmAlQura\\\",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Umm al-Qura\\\",epochs:[\\\"BH\\\",\\\"AH\\\"],monthNames:[\\\"Al-Muharram\\\",\\\"Safar\\\",\\\"Rabi' al-awwal\\\",\\\"Rabi' Al-Thani\\\",\\\"Jumada Al-Awwal\\\",\\\"Jumada Al-Thani\\\",\\\"Rajab\\\",\\\"Sha'aban\\\",\\\"Ramadan\\\",\\\"Shawwal\\\",\\\"Dhu al-Qi'dah\\\",\\\"Dhu al-Hijjah\\\"],monthNamesShort:[\\\"Muh\\\",\\\"Saf\\\",\\\"Rab1\\\",\\\"Rab2\\\",\\\"Jum1\\\",\\\"Jum2\\\",\\\"Raj\\\",\\\"Sha'\\\",\\\"Ram\\\",\\\"Shaw\\\",\\\"DhuQ\\\",\\\"DhuH\\\"],dayNames:[\\\"Yawm al-Ahad\\\",\\\"Yawm al-Ithnain\\\",\\\"Yawm al-Thalāthā\\\",\\\"Yawm al-Arbaā\\\",\\\"Yawm al-Khamīs\\\",\\\"Yawm al-Juma\\\",\\\"Yawm al-Sabt\\\"],dayNamesMin:[\\\"Ah\\\",\\\"Ith\\\",\\\"Th\\\",\\\"Ar\\\",\\\"Kh\\\",\\\"Ju\\\",\\\"Sa\\\"],digits:null,dateFormat:\\\"yyyy/mm/dd\\\",firstDay:6,isRTL:!0}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,r.local.invalidYear);return 355===this.daysInYear(e.year())},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(-r.dayOfWeek(),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(t){for(var e=0,n=1;n<=12;n++)e+=this.daysInMonth(t,n);return e},daysInMonth:function(t,e){for(var n=this._validate(t,e,this.minDay,r.local.invalidMonth).toJD()-24e5+.5,i=0,o=0;o<a.length;o++){if(a[o]>n)return a[i]-a[i-1];i++}return 30},weekDay:function(t,e,n){return 5!==this.dayOfWeek(t,e,n)},toJD:function(t,e,n){var i=this._validate(t,e,n,r.local.invalidDate),o=12*(i.year()-1)+i.month()-15292;return i.day()+a[o-1]-1+24e5-.5},fromJD:function(t){for(var e=t-24e5+.5,n=0,r=0;r<a.length&&!(a[r]>e);r++)n++;var i=n+15292,o=Math.floor((i-1)/12),s=o+1,l=i-12*o,u=e-a[n-1]+1;return this.newDate(s,l,u)},isValid:function(t,e,n){var i=r.baseCalendar.prototype.isValid.apply(this,arguments);return i&&(i=(t=null!=t.year?t.year:t)>=1276&&t<=1500),i},_validate:function(t,e,n,i){var o=r.baseCalendar.prototype._validate.apply(this,arguments);if(o.year<1276||o.year>1500)throw i.replace(/\\\\{0\\\\}/,this.local.name);return o}}),r.calendars.ummalqura=o;var a=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},{\\\"../main\\\":573,\\\"object-assign\\\":452}],573:[function(t,e,n){var r=t(\\\"object-assign\\\");function i(){this.regionalOptions=[],this.regionalOptions[\\\"\\\"]={invalidCalendar:\\\"Calendar {0} not found\\\",invalidDate:\\\"Invalid {0} date\\\",invalidMonth:\\\"Invalid {0} month\\\",invalidYear:\\\"Invalid {0} year\\\",differentCalendars:\\\"Cannot mix {0} and {1} dates\\\"},this.local=this.regionalOptions[\\\"\\\"],this.calendars={},this._localCals={}}function o(t,e,n,r){if(this._calendar=t,this._year=e,this._month=n,this._day=r,0===this._calendar._validateLevel&&!this._calendar.isValid(this._year,this._month,this._day))throw(u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate).replace(/\\\\{0\\\\}/,this._calendar.local.name)}function a(t,e){return\\\"000000\\\".substring(0,e-(t=\\\"\\\"+t).length)+t}function s(){this.shortYearCutoff=\\\"+10\\\"}function l(t){this.local=this.regionalOptions[t]||this.regionalOptions[\\\"\\\"]}r(i.prototype,{instance:function(t,e){t=(t||\\\"gregorian\\\").toLowerCase(),e=e||\\\"\\\";var n=this._localCals[t+\\\"-\\\"+e];if(!n&&this.calendars[t]&&(n=new this.calendars[t](e),this._localCals[t+\\\"-\\\"+e]=n),!n)throw(this.local.invalidCalendar||this.regionalOptions[\\\"\\\"].invalidCalendar).replace(/\\\\{0\\\\}/,t);return n},newDate:function(t,e,n,r,i){return(r=(null!=t&&t.year?t.calendar():\\\"string\\\"==typeof r?this.instance(r,i):r)||this.instance()).newDate(t,e,n)},substituteDigits:function(t){return function(e){return(e+\\\"\\\").replace(/[0-9]/g,(function(e){return t[e]}))}},substituteChineseDigits:function(t,e){return function(n){for(var r=\\\"\\\",i=0;n>0;){var o=n%10;r=(0===o?\\\"\\\":t[o]+e[i])+r,i++,n=Math.floor(n/10)}return 0===r.indexOf(t[1]+e[1])&&(r=r.substr(1)),r||t[0]}}}),r(o.prototype,{newDate:function(t,e,n){return this._calendar.newDate(null==t?this:t,e,n)},year:function(t){return 0===arguments.length?this._year:this.set(t,\\\"y\\\")},month:function(t){return 0===arguments.length?this._month:this.set(t,\\\"m\\\")},day:function(t){return 0===arguments.length?this._day:this.set(t,\\\"d\\\")},date:function(t,e,n){if(!this._calendar.isValid(t,e,n))throw(u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate).replace(/\\\\{0\\\\}/,this._calendar.local.name);return this._year=t,this._month=e,this._day=n,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(t,e){return this._calendar.add(this,t,e)},set:function(t,e){return this._calendar.set(this,t,e)},compareTo:function(t){if(this._calendar.name!==t._calendar.name)throw(u.local.differentCalendars||u.regionalOptions[\\\"\\\"].differentCalendars).replace(/\\\\{0\\\\}/,this._calendar.local.name).replace(/\\\\{1\\\\}/,t._calendar.local.name);var e=this._year!==t._year?this._year-t._year:this._month!==t._month?this.monthOfYear()-t.monthOfYear():this._day-t._day;return 0===e?0:e<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(t){return this._calendar.fromJD(t)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(t){return this._calendar.fromJSDate(t)},toString:function(){return(this.year()<0?\\\"-\\\":\\\"\\\")+a(Math.abs(this.year()),4)+\\\"-\\\"+a(this.month(),2)+\\\"-\\\"+a(this.day(),2)}}),r(s.prototype,{_validateLevel:0,newDate:function(t,e,n){return null==t?this.today():(t.year&&(this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate),n=t.day(),e=t.month(),t=t.year()),new o(this,t,e,n))},today:function(){return this.fromJSDate(new Date)},epoch:function(t){return this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\\\"\\\"].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\\\"\\\"].invalidYear);return(e.year()<0?\\\"-\\\":\\\"\\\")+a(Math.abs(e.year()),4)},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\\\"\\\"].invalidYear),12},monthOfYear:function(t,e){var n=this._validate(t,e,this.minDay,u.local.invalidMonth||u.regionalOptions[\\\"\\\"].invalidMonth);return(n.month()+this.monthsInYear(n)-this.firstMonth)%this.monthsInYear(n)+this.minMonth},fromMonthOfYear:function(t,e){var n=(e+this.firstMonth-2*this.minMonth)%this.monthsInYear(t)+this.minMonth;return this._validate(t,n,this.minDay,u.local.invalidMonth||u.regionalOptions[\\\"\\\"].invalidMonth),n},daysInYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\\\"\\\"].invalidYear);return this.leapYear(e)?366:365},dayOfYear:function(t,e,n){var r=this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate);return r.toJD()-this.newDate(r.year(),this.fromMonthOfYear(r.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(t,e,n){var r=this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate);return(Math.floor(this.toJD(r))+2)%this.daysInWeek()},extraInfo:function(t,e,n){return this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate),{}},add:function(t,e,n){return this._validate(t,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate),this._correctAdd(t,this._add(t,e,n),e,n)},_add:function(t,e,n){if(this._validateLevel++,\\\"d\\\"===n||\\\"w\\\"===n){var r=t.toJD()+e*(\\\"w\\\"===n?this.daysInWeek():1),i=t.calendar().fromJD(r);return this._validateLevel--,[i.year(),i.month(),i.day()]}try{var o=t.year()+(\\\"y\\\"===n?e:0),a=t.monthOfYear()+(\\\"m\\\"===n?e:0),s=(i=t.day(),function(t){for(;a<t.minMonth;)o--,a+=t.monthsInYear(o);for(var e=t.monthsInYear(o);a>e-1+t.minMonth;)o++,a-=e,e=t.monthsInYear(o)});\\\"y\\\"===n?(t.month()!==this.fromMonthOfYear(o,a)&&(a=this.newDate(o,t.month(),this.minDay).monthOfYear()),a=Math.min(a,this.monthsInYear(o)),i=Math.min(i,this.daysInMonth(o,this.fromMonthOfYear(o,a)))):\\\"m\\\"===n&&(s(this),i=Math.min(i,this.daysInMonth(o,this.fromMonthOfYear(o,a))));var l=[o,this.fromMonthOfYear(o,a),i];return this._validateLevel--,l}catch(t){throw this._validateLevel--,t}},_correctAdd:function(t,e,n,r){if(!(this.hasYearZero||\\\"y\\\"!==r&&\\\"m\\\"!==r||0!==e[0]&&t.year()>0==e[0]>0)){var i={y:[1,1,\\\"y\\\"],m:[1,this.monthsInYear(-1),\\\"m\\\"],w:[this.daysInWeek(),this.daysInYear(-1),\\\"d\\\"],d:[1,this.daysInYear(-1),\\\"d\\\"]}[r],o=n<0?-1:1;e=this._add(t,n*i[0]+o*i[1],i[2])}return t.date(e[0],e[1],e[2])},set:function(t,e,n){this._validate(t,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate);var r=\\\"y\\\"===n?e:t.year(),i=\\\"m\\\"===n?e:t.month(),o=\\\"d\\\"===n?e:t.day();return\\\"y\\\"!==n&&\\\"m\\\"!==n||(o=Math.min(o,this.daysInMonth(r,i))),t.date(r,i,o)},isValid:function(t,e,n){this._validateLevel++;var r=this.hasYearZero||0!==t;if(r){var i=this.newDate(t,e,this.minDay);r=e>=this.minMonth&&e-this.minMonth<this.monthsInYear(i)&&n>=this.minDay&&n-this.minDay<this.daysInMonth(i)}return this._validateLevel--,r},toJSDate:function(t,e,n){var r=this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate);return u.instance().fromJD(this.toJD(r)).toJSDate()},fromJSDate:function(t){return this.fromJD(u.instance().fromJSDate(t).toJD())},_validate:function(t,e,n,r){if(t.year){if(0===this._validateLevel&&this.name!==t.calendar().name)throw(u.local.differentCalendars||u.regionalOptions[\\\"\\\"].differentCalendars).replace(/\\\\{0\\\\}/,this.local.name).replace(/\\\\{1\\\\}/,t.calendar().local.name);return t}try{if(this._validateLevel++,1===this._validateLevel&&!this.isValid(t,e,n))throw r.replace(/\\\\{0\\\\}/,this.local.name);var i=this.newDate(t,e,n);return this._validateLevel--,i}catch(t){throw this._validateLevel--,t}}}),l.prototype=new s,r(l.prototype,{name:\\\"Gregorian\\\",jdEpoch:1721425.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\\\"\\\":{name:\\\"Gregorian\\\",epochs:[\\\"BCE\\\",\\\"CE\\\"],monthNames:[\\\"January\\\",\\\"February\\\",\\\"March\\\",\\\"April\\\",\\\"May\\\",\\\"June\\\",\\\"July\\\",\\\"August\\\",\\\"September\\\",\\\"October\\\",\\\"November\\\",\\\"December\\\"],monthNamesShort:[\\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\"],dayNames:[\\\"Sunday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],dayNamesShort:[\\\"Sun\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],dayNamesMin:[\\\"Su\\\",\\\"Mo\\\",\\\"Tu\\\",\\\"We\\\",\\\"Th\\\",\\\"Fr\\\",\\\"Sa\\\"],digits:null,dateFormat:\\\"mm/dd/yyyy\\\",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\\\"\\\"].invalidYear);return(t=e.year()+(e.year()<0?1:0))%4==0&&(t%100!=0||t%400==0)},weekOfYear:function(t,e,n){var r=this.newDate(t,e,n);return r.add(4-(r.dayOfWeek()||7),\\\"d\\\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,u.local.invalidMonth||u.regionalOptions[\\\"\\\"].invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var r=this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate);t=r.year(),e=r.month(),n=r.day(),t<0&&t++,e<3&&(e+=12,t--);var i=Math.floor(t/100),o=2-i+Math.floor(i/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(e+1))+n+o-1524.5},fromJD:function(t){var e=Math.floor(t+.5),n=Math.floor((e-1867216.25)/36524.25),r=1524+(n=e+1+n-Math.floor(n/4)),i=Math.floor((r-122.1)/365.25),o=Math.floor(365.25*i),a=Math.floor((r-o)/30.6001),s=r-o-Math.floor(30.6001*a),l=a-(a>13.5?13:1),u=i-(l>2.5?4716:4715);return u<=0&&u--,this.newDate(u,l,s)},toJSDate:function(t,e,n){var r=this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[\\\"\\\"].invalidDate),i=new Date(r.year(),r.month()-1,r.day());return i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0),i.setHours(i.getHours()>12?i.getHours()+2:0),i},fromJSDate:function(t){return this.newDate(t.getFullYear(),t.getMonth()+1,t.getDate())}});var u=e.exports=new i;u.cdate=o,u.baseCalendar=s,u.calendars.gregorian=l},{\\\"object-assign\\\":452}],574:[function(t,e,n){var r=t(\\\"object-assign\\\"),i=t(\\\"./main\\\");r(i.regionalOptions[\\\"\\\"],{invalidArguments:\\\"Invalid arguments\\\",invalidFormat:\\\"Cannot format a date from another calendar\\\",missingNumberAt:\\\"Missing number at position {0}\\\",unknownNameAt:\\\"Unknown name at position {0}\\\",unexpectedLiteralAt:\\\"Unexpected literal at position {0}\\\",unexpectedText:\\\"Additional text found at end\\\"}),i.local=i.regionalOptions[\\\"\\\"],r(i.cdate.prototype,{formatDate:function(t,e){return\\\"string\\\"!=typeof t&&(e=t,t=\\\"\\\"),this._calendar.formatDate(t||\\\"\\\",this,e)}}),r(i.baseCalendar.prototype,{UNIX_EPOCH:i.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:i.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:\\\"yyyy-mm-dd\\\",COOKIE:\\\"D, dd M yyyy\\\",FULL:\\\"DD, MM d, yyyy\\\",ISO_8601:\\\"yyyy-mm-dd\\\",JULIAN:\\\"J\\\",RFC_822:\\\"D, d M yy\\\",RFC_850:\\\"DD, dd-M-yy\\\",RFC_1036:\\\"D, d M yy\\\",RFC_1123:\\\"D, d M yyyy\\\",RFC_2822:\\\"D, d M yyyy\\\",RSS:\\\"D, d M yy\\\",TICKS:\\\"!\\\",TIMESTAMP:\\\"@\\\",W3C:\\\"yyyy-mm-dd\\\",formatDate:function(t,e,n){if(\\\"string\\\"!=typeof t&&(n=e,e=t,t=\\\"\\\"),!e)return\\\"\\\";if(e.calendar()!==this)throw i.local.invalidFormat||i.regionalOptions[\\\"\\\"].invalidFormat;t=t||this.local.dateFormat;for(var r=(n=n||{}).dayNamesShort||this.local.dayNamesShort,o=n.dayNames||this.local.dayNames,a=n.monthNumbers||this.local.monthNumbers,s=n.monthNamesShort||this.local.monthNamesShort,l=n.monthNames||this.local.monthNames,u=(n.calculateWeek||this.local.calculateWeek,function(e,n){for(var r=1;y+r<t.length&&t.charAt(y+r)===e;)r++;return y+=r-1,Math.floor(r/(n||1))>1}),c=function(t,e,n,r){var i=\\\"\\\"+e;if(u(t,r))for(;i.length<n;)i=\\\"0\\\"+i;return i},h=this,p=function(t){return\\\"function\\\"==typeof a?a.call(h,t,u(\\\"m\\\")):m(c(\\\"m\\\",t.month(),2))},f=function(t,e){return e?\\\"function\\\"==typeof l?l.call(h,t):l[t.month()-h.minMonth]:\\\"function\\\"==typeof s?s.call(h,t):s[t.month()-h.minMonth]},d=this.local.digits,m=function(t){return n.localNumbers&&d?d(t):t},v=\\\"\\\",g=!1,y=0;y<t.length;y++)if(g)\\\"'\\\"!==t.charAt(y)||u(\\\"'\\\")?v+=t.charAt(y):g=!1;else switch(t.charAt(y)){case\\\"d\\\":v+=m(c(\\\"d\\\",e.day(),2));break;case\\\"D\\\":v+=(_=\\\"D\\\",b=e.dayOfWeek(),x=r,w=o,u(_)?w[b]:x[b]);break;case\\\"o\\\":v+=c(\\\"o\\\",e.dayOfYear(),3);break;case\\\"w\\\":v+=c(\\\"w\\\",e.weekOfYear(),2);break;case\\\"m\\\":v+=p(e);break;case\\\"M\\\":v+=f(e,u(\\\"M\\\"));break;case\\\"y\\\":v+=u(\\\"y\\\",2)?e.year():(e.year()%100<10?\\\"0\\\":\\\"\\\")+e.year()%100;break;case\\\"Y\\\":u(\\\"Y\\\",2),v+=e.formatYear();break;case\\\"J\\\":v+=e.toJD();break;case\\\"@\\\":v+=(e.toJD()-this.UNIX_EPOCH)*this.SECS_PER_DAY;break;case\\\"!\\\":v+=(e.toJD()-this.TICKS_EPOCH)*this.TICKS_PER_DAY;break;case\\\"'\\\":u(\\\"'\\\")?v+=\\\"'\\\":g=!0;break;default:v+=t.charAt(y)}var _,b,x,w;return v},parseDate:function(t,e,n){if(null==e)throw i.local.invalidArguments||i.regionalOptions[\\\"\\\"].invalidArguments;if(\\\"\\\"===(e=\\\"object\\\"==typeof e?e.toString():e+\\\"\\\"))return null;t=t||this.local.dateFormat;var r=(n=n||{}).shortYearCutoff||this.shortYearCutoff;r=\\\"string\\\"!=typeof r?r:this.today().year()%100+parseInt(r,10);for(var o=n.dayNamesShort||this.local.dayNamesShort,a=n.dayNames||this.local.dayNames,s=n.parseMonth||this.local.parseMonth,l=n.monthNumbers||this.local.monthNumbers,u=n.monthNamesShort||this.local.monthNamesShort,c=n.monthNames||this.local.monthNames,h=-1,p=-1,f=-1,d=-1,m=-1,v=!1,g=!1,y=function(e,n){for(var r=1;E+r<t.length&&t.charAt(E+r)===e;)r++;return E+=r-1,Math.floor(r/(n||1))>1},_=function(t,n){var r=y(t,n),o=[2,3,r?4:2,r?4:2,10,11,20][\\\"oyYJ@!\\\".indexOf(t)+1],a=new RegExp(\\\"^-?\\\\\\\\d{1,\\\"+o+\\\"}\\\"),s=e.substring(M).match(a);if(!s)throw(i.local.missingNumberAt||i.regionalOptions[\\\"\\\"].missingNumberAt).replace(/\\\\{0\\\\}/,M);return M+=s[0].length,parseInt(s[0],10)},b=this,x=function(){if(\\\"function\\\"==typeof l){y(\\\"m\\\");var t=l.call(b,e.substring(M));return M+=t.length,t}return _(\\\"m\\\")},w=function(t,n,r,o){for(var a=y(t,o)?r:n,s=0;s<a.length;s++)if(e.substr(M,a[s].length).toLowerCase()===a[s].toLowerCase())return M+=a[s].length,s+b.minMonth;throw(i.local.unknownNameAt||i.regionalOptions[\\\"\\\"].unknownNameAt).replace(/\\\\{0\\\\}/,M)},A=function(){if(\\\"function\\\"==typeof c){var t=y(\\\"M\\\")?c.call(b,e.substring(M)):u.call(b,e.substring(M));return M+=t.length,t}return w(\\\"M\\\",u,c)},C=function(){if(e.charAt(M)!==t.charAt(E))throw(i.local.unexpectedLiteralAt||i.regionalOptions[\\\"\\\"].unexpectedLiteralAt).replace(/\\\\{0\\\\}/,M);M++},M=0,E=0;E<t.length;E++)if(g)\\\"'\\\"!==t.charAt(E)||y(\\\"'\\\")?C():g=!1;else switch(t.charAt(E)){case\\\"d\\\":d=_(\\\"d\\\");break;case\\\"D\\\":w(\\\"D\\\",o,a);break;case\\\"o\\\":m=_(\\\"o\\\");break;case\\\"w\\\":_(\\\"w\\\");break;case\\\"m\\\":f=x();break;case\\\"M\\\":f=A();break;case\\\"y\\\":var T=E;v=!y(\\\"y\\\",2),E=T,p=_(\\\"y\\\",2);break;case\\\"Y\\\":p=_(\\\"Y\\\",2);break;case\\\"J\\\":h=_(\\\"J\\\")+.5,\\\".\\\"===e.charAt(M)&&(M++,_(\\\"J\\\"));break;case\\\"@\\\":h=_(\\\"@\\\")/this.SECS_PER_DAY+this.UNIX_EPOCH;break;case\\\"!\\\":h=_(\\\"!\\\")/this.TICKS_PER_DAY+this.TICKS_EPOCH;break;case\\\"*\\\":M=e.length;break;case\\\"'\\\":y(\\\"'\\\")?C():g=!0;break;default:C()}if(M<e.length)throw i.local.unexpectedText||i.regionalOptions[\\\"\\\"].unexpectedText;if(-1===p?p=this.today().year():p<100&&v&&(p+=-1===r?1900:this.today().year()-this.today().year()%100-(p<=r?0:100)),\\\"string\\\"==typeof f&&(f=s.call(this,p,f)),m>-1){f=1,d=m;for(var S=this.daysInMonth(p,f);d>S;S=this.daysInMonth(p,f))f++,d-=S}return h>-1?this.fromJD(h):this.newDate(p,f,d)},determineDate:function(t,e,n,r,i){n&&\\\"object\\\"!=typeof n&&(i=r,r=n,n=null),\\\"string\\\"!=typeof r&&(i=r,r=\\\"\\\");var o=this;return e=e?e.newDate():null,null==t?e:\\\"string\\\"==typeof t?function(t){try{return o.parseDate(r,t,i)}catch(t){}for(var e=((t=t.toLowerCase()).match(/^c/)&&n?n.newDate():null)||o.today(),a=/([+-]?[0-9]+)\\\\s*(d|w|m|y)?/g,s=a.exec(t);s;)e.add(parseInt(s[1],10),s[2]||\\\"d\\\"),s=a.exec(t);return e}(t):\\\"number\\\"==typeof t?isNaN(t)||t===1/0||t===-1/0?e:o.today().add(t,\\\"d\\\"):o.newDate(t)}})},{\\\"./main\\\":573,\\\"object-assign\\\":452}],575:[function(t,e,n){e.exports=t(\\\"cwise-compiler\\\")({args:[\\\"array\\\",{offset:[1],array:0},\\\"scalar\\\",\\\"scalar\\\",\\\"index\\\"],pre:{body:\\\"{}\\\",args:[],thisVars:[],localVars:[]},post:{body:\\\"{}\\\",args:[],thisVars:[],localVars:[]},body:{body:\\\"{\\\\n var _inline_1_da = _inline_1_arg0_ - _inline_1_arg3_\\\\n var _inline_1_db = _inline_1_arg1_ - _inline_1_arg3_\\\\n if((_inline_1_da >= 0) !== (_inline_1_db >= 0)) {\\\\n _inline_1_arg2_.push(_inline_1_arg4_[0] + 0.5 + 0.5 * (_inline_1_da + _inline_1_db) / (_inline_1_da - _inline_1_db))\\\\n }\\\\n }\\\",args:[{name:\\\"_inline_1_arg0_\\\",lvalue:!1,rvalue:!0,count:1},{name:\\\"_inline_1_arg1_\\\",lvalue:!1,rvalue:!0,count:1},{name:\\\"_inline_1_arg2_\\\",lvalue:!1,rvalue:!0,count:1},{name:\\\"_inline_1_arg3_\\\",lvalue:!1,rvalue:!0,count:2},{name:\\\"_inline_1_arg4_\\\",lvalue:!1,rvalue:!0,count:1}],thisVars:[],localVars:[\\\"_inline_1_da\\\",\\\"_inline_1_db\\\"]},funcName:\\\"zeroCrossings\\\"})},{\\\"cwise-compiler\\\":148}],576:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n=[];return e=+e||0,r(t.hi(t.shape[0]-1),n,e),n};var r=t(\\\"./lib/zc-core\\\")},{\\\"./lib/zc-core\\\":575}],577:[function(t,e,n){\\\"use strict\\\";e.exports=[{path:\\\"\\\",backoff:0},{path:\\\"M-2.4,-3V3L0.6,0Z\\\",backoff:.6},{path:\\\"M-3.7,-2.5V2.5L1.3,0Z\\\",backoff:1.3},{path:\\\"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z\\\",backoff:1.55},{path:\\\"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z\\\",backoff:1.6},{path:\\\"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z\\\",backoff:2},{path:\\\"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z\\\",backoff:0,noRotate:!0},{path:\\\"M2,2V-2H-2V2Z\\\",backoff:0,noRotate:!0}]},{}],578:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./arrow_paths\\\"),i=t(\\\"../../plots/font_attributes\\\"),o=t(\\\"../../plots/cartesian/constants\\\"),a=t(\\\"../../plot_api/plot_template\\\").templatedArray;e.exports=a(\\\"annotation\\\",{visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc+arraydraw\\\"},text:{valType:\\\"string\\\",editType:\\\"calc+arraydraw\\\"},textangle:{valType:\\\"angle\\\",dflt:0,editType:\\\"calc+arraydraw\\\"},font:i({editType:\\\"calc+arraydraw\\\",colorEditType:\\\"arraydraw\\\"}),width:{valType:\\\"number\\\",min:1,dflt:null,editType:\\\"calc+arraydraw\\\"},height:{valType:\\\"number\\\",min:1,dflt:null,editType:\\\"calc+arraydraw\\\"},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1,editType:\\\"arraydraw\\\"},align:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"center\\\",editType:\\\"arraydraw\\\"},valign:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],dflt:\\\"middle\\\",editType:\\\"arraydraw\\\"},bgcolor:{valType:\\\"color\\\",dflt:\\\"rgba(0,0,0,0)\\\",editType:\\\"arraydraw\\\"},bordercolor:{valType:\\\"color\\\",dflt:\\\"rgba(0,0,0,0)\\\",editType:\\\"arraydraw\\\"},borderpad:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"calc+arraydraw\\\"},borderwidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"calc+arraydraw\\\"},showarrow:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc+arraydraw\\\"},arrowcolor:{valType:\\\"color\\\",editType:\\\"arraydraw\\\"},arrowhead:{valType:\\\"integer\\\",min:0,max:r.length,dflt:1,editType:\\\"arraydraw\\\"},startarrowhead:{valType:\\\"integer\\\",min:0,max:r.length,dflt:1,editType:\\\"arraydraw\\\"},arrowside:{valType:\\\"flaglist\\\",flags:[\\\"end\\\",\\\"start\\\"],extras:[\\\"none\\\"],dflt:\\\"end\\\",editType:\\\"arraydraw\\\"},arrowsize:{valType:\\\"number\\\",min:.3,dflt:1,editType:\\\"calc+arraydraw\\\"},startarrowsize:{valType:\\\"number\\\",min:.3,dflt:1,editType:\\\"calc+arraydraw\\\"},arrowwidth:{valType:\\\"number\\\",min:.1,editType:\\\"calc+arraydraw\\\"},standoff:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"calc+arraydraw\\\"},startstandoff:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"calc+arraydraw\\\"},ax:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},ay:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},axref:{valType:\\\"enumerated\\\",dflt:\\\"pixel\\\",values:[\\\"pixel\\\",o.idRegex.x.toString()],editType:\\\"calc\\\"},ayref:{valType:\\\"enumerated\\\",dflt:\\\"pixel\\\",values:[\\\"pixel\\\",o.idRegex.y.toString()],editType:\\\"calc\\\"},xref:{valType:\\\"enumerated\\\",values:[\\\"paper\\\",o.idRegex.x.toString()],editType:\\\"calc\\\"},x:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},xanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"auto\\\",editType:\\\"calc+arraydraw\\\"},xshift:{valType:\\\"number\\\",dflt:0,editType:\\\"calc+arraydraw\\\"},yref:{valType:\\\"enumerated\\\",values:[\\\"paper\\\",o.idRegex.y.toString()],editType:\\\"calc\\\"},y:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},yanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],dflt:\\\"auto\\\",editType:\\\"calc+arraydraw\\\"},yshift:{valType:\\\"number\\\",dflt:0,editType:\\\"calc+arraydraw\\\"},clicktoshow:{valType:\\\"enumerated\\\",values:[!1,\\\"onoff\\\",\\\"onout\\\"],dflt:!1,editType:\\\"arraydraw\\\"},xclick:{valType:\\\"any\\\",editType:\\\"arraydraw\\\"},yclick:{valType:\\\"any\\\",editType:\\\"arraydraw\\\"},hovertext:{valType:\\\"string\\\",editType:\\\"arraydraw\\\"},hoverlabel:{bgcolor:{valType:\\\"color\\\",editType:\\\"arraydraw\\\"},bordercolor:{valType:\\\"color\\\",editType:\\\"arraydraw\\\"},font:i({editType:\\\"arraydraw\\\"}),editType:\\\"arraydraw\\\"},captureevents:{valType:\\\"boolean\\\",editType:\\\"arraydraw\\\"},editType:\\\"calc\\\",_deprecated:{ref:{valType:\\\"string\\\",editType:\\\"calc\\\"}}})},{\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/constants\\\":782,\\\"../../plots/font_attributes\\\":804,\\\"./arrow_paths\\\":577}],579:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"./draw\\\").draw;function a(t){var e=t._fullLayout;r.filterVisible(e.annotations).forEach((function(e){var n=i.getFromId(t,e.xref),r=i.getFromId(t,e.yref);e._extremes={},n&&s(e,n),r&&s(e,r)}))}function s(t,e){var n,r=e._id,o=r.charAt(0),a=t[o],s=t[\\\"a\\\"+o],l=t[o+\\\"ref\\\"],u=t[\\\"a\\\"+o+\\\"ref\\\"],c=t[\\\"_\\\"+o+\\\"padplus\\\"],h=t[\\\"_\\\"+o+\\\"padminus\\\"],p={x:1,y:-1}[o]*t[o+\\\"shift\\\"],f=3*t.arrowsize*t.arrowwidth||0,d=f+p,m=f-p,v=3*t.startarrowsize*t.arrowwidth||0,g=v+p,y=v-p;if(u===l){var _=i.findExtremes(e,[e.r2c(a)],{ppadplus:d,ppadminus:m}),b=i.findExtremes(e,[e.r2c(s)],{ppadplus:Math.max(c,g),ppadminus:Math.max(h,y)});n={min:[_.min[0],b.min[0]],max:[_.max[0],b.max[0]]}}else g=s?g+s:g,y=s?y-s:y,n=i.findExtremes(e,[e.r2c(a)],{ppadplus:Math.max(c,d,g),ppadminus:Math.max(h,m,y)});t._extremes[r]=n}e.exports=function(t){var e=t._fullLayout;if(r.filterVisible(e.annotations).length&&t._fullData.length)return r.syncOrAsync([o,a],t)}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"./draw\\\":584}],580:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../plot_api/plot_template\\\").arrayEditor;function a(t,e){var n,r,i,o,a,l,u,c=t._fullLayout.annotations,h=[],p=[],f=[],d=(e||[]).length;for(n=0;n<c.length;n++)if(o=(i=c[n]).clicktoshow){for(r=0;r<d;r++)if(l=(a=e[r]).xaxis,u=a.yaxis,l._id===i.xref&&u._id===i.yref&&l.d2r(a.x)===s(i._xclick,l)&&u.d2r(a.y)===s(i._yclick,u)){(i.visible?\\\"onout\\\"===o?p:f:h).push(n);break}r===d&&i.visible&&\\\"onout\\\"===o&&p.push(n)}return{on:h,off:p,explicitOff:f}}function s(t,e){return\\\"log\\\"===e.type?e.l2r(t):e.d2r(t)}e.exports={hasClickToShow:function(t,e){var n=a(t,e);return n.on.length>0||n.explicitOff.length>0},onClick:function(t,e){var n,s,l=a(t,e),u=l.on,c=l.off.concat(l.explicitOff),h={},p=t._fullLayout.annotations;if(u.length||c.length){for(n=0;n<u.length;n++)(s=o(t.layout,\\\"annotations\\\",p[u[n]])).modifyItem(\\\"visible\\\",!0),r.extendFlat(h,s.getUpdateObj());for(n=0;n<c.length;n++)(s=o(t.layout,\\\"annotations\\\",p[c[n]])).modifyItem(\\\"visible\\\",!1),r.extendFlat(h,s.getUpdateObj());return i.call(\\\"update\\\",t,{},h)}}}},{\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../registry\\\":859}],581:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../color\\\");e.exports=function(t,e,n,o){o(\\\"opacity\\\");var a=o(\\\"bgcolor\\\"),s=o(\\\"bordercolor\\\"),l=i.opacity(s);o(\\\"borderpad\\\");var u=o(\\\"borderwidth\\\"),c=o(\\\"showarrow\\\");if(o(\\\"text\\\",c?\\\" \\\":n._dfltTitle.annotation),o(\\\"textangle\\\"),r.coerceFont(o,\\\"font\\\",n.font),o(\\\"width\\\"),o(\\\"align\\\"),o(\\\"height\\\")&&o(\\\"valign\\\"),c){var h,p,f=o(\\\"arrowside\\\");-1!==f.indexOf(\\\"end\\\")&&(h=o(\\\"arrowhead\\\"),p=o(\\\"arrowsize\\\")),-1!==f.indexOf(\\\"start\\\")&&(o(\\\"startarrowhead\\\",h),o(\\\"startarrowsize\\\",p)),o(\\\"arrowcolor\\\",l?e.bordercolor:i.defaultLine),o(\\\"arrowwidth\\\",2*(l&&u||1)),o(\\\"standoff\\\"),o(\\\"startstandoff\\\")}var d=o(\\\"hovertext\\\"),m=n.hoverlabel||{};if(d){var v=o(\\\"hoverlabel.bgcolor\\\",m.bgcolor||(i.opacity(a)?i.rgb(a):i.defaultLine)),g=o(\\\"hoverlabel.bordercolor\\\",m.bordercolor||i.contrast(v));r.coerceFont(o,\\\"hoverlabel.font\\\",{family:m.font.family,size:m.font.size,color:m.font.color||g})}o(\\\"captureevents\\\",!!d)}},{\\\"../../lib\\\":728,\\\"../color\\\":595}],582:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib/to_log_range\\\");e.exports=function(t,e,n,o){e=e||{};var a=\\\"log\\\"===n&&\\\"linear\\\"===e.type,s=\\\"linear\\\"===n&&\\\"log\\\"===e.type;if(a||s)for(var l,u,c=t._fullLayout.annotations,h=e._id.charAt(0),p=0;p<c.length;p++)l=c[p],u=\\\"annotations[\\\"+p+\\\"].\\\",l[h+\\\"ref\\\"]===e._id&&f(h),l[\\\"a\\\"+h+\\\"ref\\\"]===e._id&&f(\\\"a\\\"+h);function f(t){var n=l[t],s=null;s=a?i(n,e.range):Math.pow(10,n),r(s)||(s=null),o(u+t,s)}}},{\\\"../../lib/to_log_range\\\":754,\\\"fast-isnumeric\\\":236}],583:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../../plots/array_container_defaults\\\"),a=t(\\\"./common_defaults\\\"),s=t(\\\"./attributes\\\");function l(t,e,n){function o(n,i){return r.coerce(t,e,s,n,i)}var l=o(\\\"visible\\\"),u=o(\\\"clicktoshow\\\");if(l||u){a(t,e,n,o);for(var c=e.showarrow,h=[\\\"x\\\",\\\"y\\\"],p=[-10,-30],f={_fullLayout:n},d=0;d<2;d++){var m=h[d],v=i.coerceRef(t,e,f,m,\\\"\\\",\\\"paper\\\");if(\\\"paper\\\"!==v&&i.getFromId(f,v)._annIndices.push(e._index),i.coercePosition(e,f,o,v,m,.5),c){var g=\\\"a\\\"+m,y=i.coerceRef(t,e,f,g,\\\"pixel\\\");\\\"pixel\\\"!==y&&y!==v&&(y=e[g]=\\\"pixel\\\");var _=\\\"pixel\\\"===y?p[d]:.4;i.coercePosition(e,f,o,y,g,_)}o(m+\\\"anchor\\\"),o(m+\\\"shift\\\")}if(r.noneOrAll(t,e,[\\\"x\\\",\\\"y\\\"]),c&&r.noneOrAll(t,e,[\\\"ax\\\",\\\"ay\\\"]),u){var b=o(\\\"xclick\\\"),x=o(\\\"yclick\\\");e._xclick=void 0===b?e.x:i.cleanPosition(b,f,e.xref),e._yclick=void 0===x?e.y:i.cleanPosition(x,f,e.yref)}}}e.exports=function(t,e){o(t,e,{name:\\\"annotations\\\",handleItemDefaults:l})}},{\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"../../plots/cartesian/axes\\\":776,\\\"./attributes\\\":578,\\\"./common_defaults\\\":581}],584:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../plots/plots\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../plots/cartesian/axes\\\"),l=t(\\\"../color\\\"),u=t(\\\"../drawing\\\"),c=t(\\\"../fx\\\"),h=t(\\\"../../lib/svg_text_utils\\\"),p=t(\\\"../../lib/setcursor\\\"),f=t(\\\"../dragelement\\\"),d=t(\\\"../../plot_api/plot_template\\\").arrayEditor,m=t(\\\"./draw_arrow_head\\\");function v(t,e){var n=t._fullLayout.annotations[e]||{},r=s.getFromId(t,n.xref),i=s.getFromId(t,n.yref);r&&r.setScale(),i&&i.setScale(),g(t,n,e,!1,r,i)}function g(t,e,n,o,s,v){var g,y,_=t._fullLayout,b=t._fullLayout._size,x=t._context.edits;o?(g=\\\"annotation-\\\"+o,y=o+\\\".annotations\\\"):(g=\\\"annotation\\\",y=\\\"annotations\\\");var w=d(t.layout,y,e),A=w.modifyBase,C=w.modifyItem,M=w.getUpdateObj;_._infolayer.selectAll(\\\".\\\"+g+'[data-index=\\\"'+n+'\\\"]').remove();var E=\\\"clip\\\"+_._uid+\\\"_ann\\\"+n;if(e._input&&!1!==e.visible){var T={x:{},y:{}},S=+e.textangle||0,k=_._infolayer.append(\\\"g\\\").classed(g,!0).attr(\\\"data-index\\\",String(n)).style(\\\"opacity\\\",e.opacity),O=k.append(\\\"g\\\").classed(\\\"annotation-text-g\\\",!0),I=x[e.showarrow?\\\"annotationTail\\\":\\\"annotationPosition\\\"],L=e.captureevents||x.annotationText||I,P=O.append(\\\"g\\\").style(\\\"pointer-events\\\",L?\\\"all\\\":null).call(p,\\\"pointer\\\").on(\\\"click\\\",(function(){t._dragging=!1,t.emit(\\\"plotly_clickannotation\\\",q(r.event))}));e.hovertext&&P.on(\\\"mouseover\\\",(function(){var n=e.hoverlabel,r=n.font,i=this.getBoundingClientRect(),o=t.getBoundingClientRect();c.loneHover({x0:i.left-o.left,x1:i.right-o.left,y:(i.top+i.bottom)/2-o.top,text:e.hovertext,color:n.bgcolor,borderColor:n.bordercolor,fontFamily:r.family,fontSize:r.size,fontColor:r.color},{container:_._hoverlayer.node(),outerContainer:_._paper.node(),gd:t})})).on(\\\"mouseout\\\",(function(){c.loneUnhover(_._hoverlayer.node())}));var z=e.borderwidth,R=e.borderpad,D=z+R,$=P.append(\\\"rect\\\").attr(\\\"class\\\",\\\"bg\\\").style(\\\"stroke-width\\\",z+\\\"px\\\").call(l.stroke,e.bordercolor).call(l.fill,e.bgcolor),B=e.width||e.height,N=_._topclips.selectAll(\\\"#\\\"+E).data(B?[0]:[]);N.enter().append(\\\"clipPath\\\").classed(\\\"annclip\\\",!0).attr(\\\"id\\\",E).append(\\\"rect\\\"),N.exit().remove();var F=e.font,j=_._meta?a.templateString(e.text,_._meta):e.text,U=P.append(\\\"text\\\").classed(\\\"annotation-text\\\",!0).text(j);x.annotationText?U.call(h.makeEditable,{delegate:P,gd:t}).call(V).on(\\\"edit\\\",(function(n){e.text=n,this.call(V),C(\\\"text\\\",n),s&&s.autorange&&A(s._name+\\\".autorange\\\",!0),v&&v.autorange&&A(v._name+\\\".autorange\\\",!0),i.call(\\\"_guiRelayout\\\",t,M())})):U.call(V)}else r.selectAll(\\\"#\\\"+E).remove();function q(t){var r={index:n,annotation:e._input,fullAnnotation:e,event:t};return o&&(r.subplotId=o),r}function V(n){return n.call(u.font,F).attr({\\\"text-anchor\\\":{left:\\\"start\\\",right:\\\"end\\\"}[e.align]||\\\"middle\\\"}),h.convertToTspans(n,t,H),n}function H(){var n=U.selectAll(\\\"a\\\");1===n.size()&&n.text()===U.text()&&P.insert(\\\"a\\\",\\\":first-child\\\").attr({\\\"xlink:xlink:href\\\":n.attr(\\\"xlink:href\\\"),\\\"xlink:xlink:show\\\":n.attr(\\\"xlink:show\\\")}).style({cursor:\\\"pointer\\\"}).node().appendChild($.node());var r=P.select(\\\".annotation-text-math-group\\\"),c=!r.empty(),d=u.bBox((c?r:U).node()),g=d.width,y=d.height,w=e.width||g,L=e.height||y,R=Math.round(w+2*D),F=Math.round(L+2*D);function j(t,e){return\\\"auto\\\"===e&&(e=t<1/3?\\\"left\\\":t>2/3?\\\"right\\\":\\\"center\\\"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[e]}for(var V=!1,H=[\\\"x\\\",\\\"y\\\"],G=0;G<H.length;G++){var W,X,Y,Z,K,J=H[G],Q=e[J+\\\"ref\\\"]||J,tt=e[\\\"a\\\"+J+\\\"ref\\\"],et={x:s,y:v}[J],nt=(S+(\\\"x\\\"===J?0:-90))*Math.PI/180,rt=R*Math.cos(nt),it=F*Math.sin(nt),ot=Math.abs(rt)+Math.abs(it),at=e[J+\\\"anchor\\\"],st=e[J+\\\"shift\\\"]*(\\\"x\\\"===J?1:-1),lt=T[J];if(et){var ut=et.r2fraction(e[J]);(ut<0||ut>1)&&(tt===Q?((ut=et.r2fraction(e[\\\"a\\\"+J]))<0||ut>1)&&(V=!0):V=!0),W=et._offset+et.r2p(e[J]),Z=.5}else\\\"x\\\"===J?(Y=e[J],W=b.l+b.w*Y):(Y=1-e[J],W=b.t+b.h*Y),Z=e.showarrow?.5:Y;if(e.showarrow){lt.head=W;var ct=e[\\\"a\\\"+J];K=rt*j(.5,e.xanchor)-it*j(.5,e.yanchor),tt===Q?(lt.tail=et._offset+et.r2p(ct),X=K):(lt.tail=W+ct,X=K+ct),lt.text=lt.tail+K;var ht=_[\\\"x\\\"===J?\\\"width\\\":\\\"height\\\"];if(\\\"paper\\\"===Q&&(lt.head=a.constrain(lt.head,1,ht-1)),\\\"pixel\\\"===tt){var pt=-Math.max(lt.tail-3,lt.text),ft=Math.min(lt.tail+3,lt.text)-ht;pt>0?(lt.tail+=pt,lt.text+=pt):ft>0&&(lt.tail-=ft,lt.text-=ft)}lt.tail+=st,lt.head+=st}else X=K=ot*j(Z,at),lt.text=W+K;lt.text+=st,K+=st,X+=st,e[\\\"_\\\"+J+\\\"padplus\\\"]=ot/2+X,e[\\\"_\\\"+J+\\\"padminus\\\"]=ot/2-X,e[\\\"_\\\"+J+\\\"size\\\"]=ot,e[\\\"_\\\"+J+\\\"shift\\\"]=K}if(V)P.remove();else{var dt=0,mt=0;if(\\\"left\\\"!==e.align&&(dt=(w-g)*(\\\"center\\\"===e.align?.5:1)),\\\"top\\\"!==e.valign&&(mt=(L-y)*(\\\"middle\\\"===e.valign?.5:1)),c)r.select(\\\"svg\\\").attr({x:D+dt-1,y:D+mt}).call(u.setClipUrl,B?E:null,t);else{var vt=D+mt-d.top,gt=D+dt-d.left;U.call(h.positionText,gt,vt).call(u.setClipUrl,B?E:null,t)}N.select(\\\"rect\\\").call(u.setRect,D,D,w,L),$.call(u.setRect,z/2,z/2,R-z,F-z),P.call(u.setTranslate,Math.round(T.x.text-R/2),Math.round(T.y.text-F/2)),O.attr({transform:\\\"rotate(\\\"+S+\\\",\\\"+T.x.text+\\\",\\\"+T.y.text+\\\")\\\"});var yt,_t=function(n,r){k.selectAll(\\\".annotation-arrow-g\\\").remove();var c=T.x.head,h=T.y.head,p=T.x.tail+n,d=T.y.tail+r,g=T.x.text+n,y=T.y.text+r,_=a.rotationXYMatrix(S,g,y),w=a.apply2DTransform(_),E=a.apply2DTransform2(_),I=+$.attr(\\\"width\\\"),L=+$.attr(\\\"height\\\"),z=g-.5*I,R=z+I,D=y-.5*L,B=D+L,N=[[z,D,z,B],[z,B,R,B],[R,B,R,D],[R,D,z,D]].map(E);if(!N.reduce((function(t,e){return t^!!a.segmentsIntersect(c,h,c+1e6,h+1e6,e[0],e[1],e[2],e[3])}),!1)){N.forEach((function(t){var e=a.segmentsIntersect(p,d,c,h,t[0],t[1],t[2],t[3]);e&&(p=e.x,d=e.y)}));var F=e.arrowwidth,j=e.arrowcolor,U=e.arrowside,q=k.append(\\\"g\\\").style({opacity:l.opacity(j)}).classed(\\\"annotation-arrow-g\\\",!0),V=q.append(\\\"path\\\").attr(\\\"d\\\",\\\"M\\\"+p+\\\",\\\"+d+\\\"L\\\"+c+\\\",\\\"+h).style(\\\"stroke-width\\\",F+\\\"px\\\").call(l.stroke,l.rgb(j));if(m(V,U,e),x.annotationPosition&&V.node().parentNode&&!o){var H=c,G=h;if(e.standoff){var W=Math.sqrt(Math.pow(c-p,2)+Math.pow(h-d,2));H+=e.standoff*(p-c)/W,G+=e.standoff*(d-h)/W}var X,Y,Z=q.append(\\\"path\\\").classed(\\\"annotation-arrow\\\",!0).classed(\\\"anndrag\\\",!0).classed(\\\"cursor-move\\\",!0).attr({d:\\\"M3,3H-3V-3H3ZM0,0L\\\"+(p-H)+\\\",\\\"+(d-G),transform:\\\"translate(\\\"+H+\\\",\\\"+G+\\\")\\\"}).style(\\\"stroke-width\\\",F+6+\\\"px\\\").call(l.stroke,\\\"rgba(0,0,0,0)\\\").call(l.fill,\\\"rgba(0,0,0,0)\\\");f.init({element:Z.node(),gd:t,prepFn:function(){var t=u.getTranslate(P);X=t.x,Y=t.y,s&&s.autorange&&A(s._name+\\\".autorange\\\",!0),v&&v.autorange&&A(v._name+\\\".autorange\\\",!0)},moveFn:function(t,n){var r=w(X,Y),i=r[0]+t,o=r[1]+n;P.call(u.setTranslate,i,o),C(\\\"x\\\",s?s.p2r(s.r2p(e.x)+t):e.x+t/b.w),C(\\\"y\\\",v?v.p2r(v.r2p(e.y)+n):e.y-n/b.h),e.axref===e.xref&&C(\\\"ax\\\",s.p2r(s.r2p(e.ax)+t)),e.ayref===e.yref&&C(\\\"ay\\\",v.p2r(v.r2p(e.ay)+n)),q.attr(\\\"transform\\\",\\\"translate(\\\"+t+\\\",\\\"+n+\\\")\\\"),O.attr({transform:\\\"rotate(\\\"+S+\\\",\\\"+i+\\\",\\\"+o+\\\")\\\"})},doneFn:function(){i.call(\\\"_guiRelayout\\\",t,M());var e=document.querySelector(\\\".js-notes-box-panel\\\");e&&e.redraw(e.selectedObj)}})}}};e.showarrow&&_t(0,0),I&&f.init({element:P.node(),gd:t,prepFn:function(){yt=O.attr(\\\"transform\\\")},moveFn:function(t,n){var r=\\\"pointer\\\";if(e.showarrow)e.axref===e.xref?C(\\\"ax\\\",s.p2r(s.r2p(e.ax)+t)):C(\\\"ax\\\",e.ax+t),e.ayref===e.yref?C(\\\"ay\\\",v.p2r(v.r2p(e.ay)+n)):C(\\\"ay\\\",e.ay+n),_t(t,n);else{if(o)return;var i,a;if(s)i=s.p2r(s.r2p(e.x)+t);else{var l=e._xsize/b.w,u=e.x+(e._xshift-e.xshift)/b.w-l/2;i=f.align(u+t/b.w,l,0,1,e.xanchor)}if(v)a=v.p2r(v.r2p(e.y)+n);else{var c=e._ysize/b.h,h=e.y-(e._yshift+e.yshift)/b.h-c/2;a=f.align(h-n/b.h,c,0,1,e.yanchor)}C(\\\"x\\\",i),C(\\\"y\\\",a),s&&v||(r=f.getCursor(s?.5:i,v?.5:a,e.xanchor,e.yanchor))}O.attr({transform:\\\"translate(\\\"+t+\\\",\\\"+n+\\\")\\\"+yt}),p(P,r)},clickFn:function(n,r){e.captureevents&&t.emit(\\\"plotly_clickannotation\\\",q(r))},doneFn:function(){p(P),i.call(\\\"_guiRelayout\\\",t,M());var e=document.querySelector(\\\".js-notes-box-panel\\\");e&&e.redraw(e.selectedObj)}})}}}e.exports={draw:function(t){var e=t._fullLayout;e._infolayer.selectAll(\\\".annotation\\\").remove();for(var n=0;n<e.annotations.length;n++)e.annotations[n].visible&&v(t,n);return o.previousPromises(t)},drawOne:v,drawRaw:g}},{\\\"../../lib\\\":728,\\\"../../lib/setcursor\\\":748,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/plots\\\":839,\\\"../../registry\\\":859,\\\"../color\\\":595,\\\"../dragelement\\\":614,\\\"../drawing\\\":617,\\\"../fx\\\":635,\\\"./draw_arrow_head\\\":585,d3:164}],585:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../color\\\"),o=t(\\\"./arrow_paths\\\");e.exports=function(t,e,n){var a,s,l,u,c=t.node(),h=o[n.arrowhead||0],p=o[n.startarrowhead||0],f=(n.arrowwidth||1)*(n.arrowsize||1),d=(n.arrowwidth||1)*(n.startarrowsize||1),m=e.indexOf(\\\"start\\\")>=0,v=e.indexOf(\\\"end\\\")>=0,g=h.backoff*f+n.standoff,y=p.backoff*d+n.startstandoff;if(\\\"line\\\"===c.nodeName){a={x:+t.attr(\\\"x1\\\"),y:+t.attr(\\\"y1\\\")},s={x:+t.attr(\\\"x2\\\"),y:+t.attr(\\\"y2\\\")};var _=a.x-s.x,b=a.y-s.y;if(u=(l=Math.atan2(b,_))+Math.PI,g&&y&&g+y>Math.sqrt(_*_+b*b))return void I();if(g){if(g*g>_*_+b*b)return void I();var x=g*Math.cos(l),w=g*Math.sin(l);s.x+=x,s.y+=w,t.attr({x2:s.x,y2:s.y})}if(y){if(y*y>_*_+b*b)return void I();var A=y*Math.cos(l),C=y*Math.sin(l);a.x-=A,a.y-=C,t.attr({x1:a.x,y1:a.y})}}else if(\\\"path\\\"===c.nodeName){var M=c.getTotalLength(),E=\\\"\\\";if(M<g+y)return void I();var T=c.getPointAtLength(0),S=c.getPointAtLength(.1);l=Math.atan2(T.y-S.y,T.x-S.x),a=c.getPointAtLength(Math.min(y,M)),E=\\\"0px,\\\"+y+\\\"px,\\\";var k=c.getPointAtLength(M),O=c.getPointAtLength(M-.1);u=Math.atan2(k.y-O.y,k.x-O.x),s=c.getPointAtLength(Math.max(0,M-g)),E+=M-(E?y+g:g)+\\\"px,\\\"+M+\\\"px\\\",t.style(\\\"stroke-dasharray\\\",E)}function I(){t.style(\\\"stroke-dasharray\\\",\\\"0px,100px\\\")}function L(e,o,a,s){e.path&&(e.noRotate&&(a=0),r.select(c.parentNode).append(\\\"path\\\").attr({class:t.attr(\\\"class\\\"),d:e.path,transform:\\\"translate(\\\"+o.x+\\\",\\\"+o.y+\\\")\\\"+(a?\\\"rotate(\\\"+180*a/Math.PI+\\\")\\\":\\\"\\\")+\\\"scale(\\\"+s+\\\")\\\"}).style({fill:i.rgb(n.arrowcolor),\\\"stroke-width\\\":0}))}m&&L(p,a,l,d),v&&L(h,s,u,f)}},{\\\"../color\\\":595,\\\"./arrow_paths\\\":577,d3:164}],586:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./draw\\\"),i=t(\\\"./click\\\");e.exports={moduleType:\\\"component\\\",name:\\\"annotations\\\",layoutAttributes:t(\\\"./attributes\\\"),supplyLayoutDefaults:t(\\\"./defaults\\\"),includeBasePlot:t(\\\"../../plots/cartesian/include_components\\\")(\\\"annotations\\\"),calcAutorange:t(\\\"./calc_autorange\\\"),draw:r.draw,drawOne:r.drawOne,drawRaw:r.drawRaw,hasClickToShow:i.hasClickToShow,onClick:i.onClick,convertCoords:t(\\\"./convert_coords\\\")}},{\\\"../../plots/cartesian/include_components\\\":788,\\\"./attributes\\\":578,\\\"./calc_autorange\\\":579,\\\"./click\\\":580,\\\"./convert_coords\\\":582,\\\"./defaults\\\":583,\\\"./draw\\\":584}],587:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../annotations/attributes\\\"),i=t(\\\"../../plot_api/edit_types\\\").overrideAll,o=t(\\\"../../plot_api/plot_template\\\").templatedArray;e.exports=i(o(\\\"annotation\\\",{visible:r.visible,x:{valType:\\\"any\\\"},y:{valType:\\\"any\\\"},z:{valType:\\\"any\\\"},ax:{valType:\\\"number\\\"},ay:{valType:\\\"number\\\"},xanchor:r.xanchor,xshift:r.xshift,yanchor:r.yanchor,yshift:r.yshift,text:r.text,textangle:r.textangle,font:r.font,width:r.width,height:r.height,opacity:r.opacity,align:r.align,valign:r.valign,bgcolor:r.bgcolor,bordercolor:r.bordercolor,borderpad:r.borderpad,borderwidth:r.borderwidth,showarrow:r.showarrow,arrowcolor:r.arrowcolor,arrowhead:r.arrowhead,startarrowhead:r.startarrowhead,arrowside:r.arrowside,arrowsize:r.arrowsize,startarrowsize:r.startarrowsize,arrowwidth:r.arrowwidth,standoff:r.standoff,startstandoff:r.startstandoff,hovertext:r.hovertext,hoverlabel:r.hoverlabel,captureevents:r.captureevents}),\\\"calc\\\",\\\"from-root\\\")},{\\\"../../plot_api/edit_types\\\":759,\\\"../../plot_api/plot_template\\\":766,\\\"../annotations/attributes\\\":578}],588:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\");function o(t,e){var n=e.fullSceneLayout.domain,o=e.fullLayout._size,a={pdata:null,type:\\\"linear\\\",autorange:!1,range:[-1/0,1/0]};t._xa={},r.extendFlat(t._xa,a),i.setConvert(t._xa),t._xa._offset=o.l+n.x[0]*o.w,t._xa.l2p=function(){return.5*(1+t._pdata[0]/t._pdata[3])*o.w*(n.x[1]-n.x[0])},t._ya={},r.extendFlat(t._ya,a),i.setConvert(t._ya),t._ya._offset=o.t+(1-n.y[1])*o.h,t._ya.l2p=function(){return.5*(1-t._pdata[1]/t._pdata[3])*o.h*(n.y[1]-n.y[0])}}e.exports=function(t){for(var e=t.fullSceneLayout.annotations,n=0;n<e.length;n++)o(e[n],t);t.fullLayout._infolayer.selectAll(\\\".annotation-\\\"+t.id).remove()}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776}],589:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../../plots/array_container_defaults\\\"),a=t(\\\"../annotations/common_defaults\\\"),s=t(\\\"./attributes\\\");function l(t,e,n,o){function l(n,i){return r.coerce(t,e,s,n,i)}function u(t){var r=t+\\\"axis\\\",o={_fullLayout:{}};return o._fullLayout[r]=n[r],i.coercePosition(e,o,l,t,t,.5)}l(\\\"visible\\\")&&(a(t,e,o.fullLayout,l),u(\\\"x\\\"),u(\\\"y\\\"),u(\\\"z\\\"),r.noneOrAll(t,e,[\\\"x\\\",\\\"y\\\",\\\"z\\\"]),e.xref=\\\"x\\\",e.yref=\\\"y\\\",e.zref=\\\"z\\\",l(\\\"xanchor\\\"),l(\\\"yanchor\\\"),l(\\\"xshift\\\"),l(\\\"yshift\\\"),e.showarrow&&(e.axref=\\\"pixel\\\",e.ayref=\\\"pixel\\\",l(\\\"ax\\\",-10),l(\\\"ay\\\",-30),r.noneOrAll(t,e,[\\\"ax\\\",\\\"ay\\\"])))}e.exports=function(t,e,n){o(t,e,{name:\\\"annotations\\\",handleItemDefaults:l,fullLayout:n.fullLayout})}},{\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"../../plots/cartesian/axes\\\":776,\\\"../annotations/common_defaults\\\":581,\\\"./attributes\\\":587}],590:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../annotations/draw\\\").drawRaw,i=t(\\\"../../plots/gl3d/project\\\"),o=[\\\"x\\\",\\\"y\\\",\\\"z\\\"];e.exports=function(t){for(var e=t.fullSceneLayout,n=t.dataScale,a=e.annotations,s=0;s<a.length;s++){for(var l=a[s],u=!1,c=0;c<3;c++){var h=o[c],p=l[h],f=e[h+\\\"axis\\\"].r2fraction(p);if(f<0||f>1){u=!0;break}}u?t.fullLayout._infolayer.select(\\\".annotation-\\\"+t.id+'[data-index=\\\"'+s+'\\\"]').remove():(l._pdata=i(t.glplot.cameraParams,[e.xaxis.r2l(l.x)*n[0],e.yaxis.r2l(l.y)*n[1],e.zaxis.r2l(l.z)*n[2]]),r(t.graphDiv,l,s,t.id,l._xa,l._ya))}}},{\\\"../../plots/gl3d/project\\\":827,\\\"../annotations/draw\\\":584}],591:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\");e.exports={moduleType:\\\"component\\\",name:\\\"annotations3d\\\",schema:{subplots:{scene:{annotations:t(\\\"./attributes\\\")}}},layoutAttributes:t(\\\"./attributes\\\"),handleDefaults:t(\\\"./defaults\\\"),includeBasePlot:function(t,e){var n=r.subplotsRegistry.gl3d;if(n)for(var o=n.attrRegex,a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];o.test(l)&&(t[l].annotations||[]).length&&(i.pushUnique(e._basePlotModules,n),i.pushUnique(e._subplots.gl3d,l))}},convert:t(\\\"./convert\\\"),draw:t(\\\"./draw\\\")}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./attributes\\\":587,\\\"./convert\\\":588,\\\"./defaults\\\":589,\\\"./draw\\\":590}],592:[function(t,e,n){\\\"use strict\\\";e.exports=t(\\\"world-calendars/dist/main\\\"),t(\\\"world-calendars/dist/plus\\\"),t(\\\"world-calendars/dist/calendars/chinese\\\"),t(\\\"world-calendars/dist/calendars/coptic\\\"),t(\\\"world-calendars/dist/calendars/discworld\\\"),t(\\\"world-calendars/dist/calendars/ethiopian\\\"),t(\\\"world-calendars/dist/calendars/hebrew\\\"),t(\\\"world-calendars/dist/calendars/islamic\\\"),t(\\\"world-calendars/dist/calendars/julian\\\"),t(\\\"world-calendars/dist/calendars/mayan\\\"),t(\\\"world-calendars/dist/calendars/nanakshahi\\\"),t(\\\"world-calendars/dist/calendars/nepali\\\"),t(\\\"world-calendars/dist/calendars/persian\\\"),t(\\\"world-calendars/dist/calendars/taiwan\\\"),t(\\\"world-calendars/dist/calendars/thai\\\"),t(\\\"world-calendars/dist/calendars/ummalqura\\\")},{\\\"world-calendars/dist/calendars/chinese\\\":559,\\\"world-calendars/dist/calendars/coptic\\\":560,\\\"world-calendars/dist/calendars/discworld\\\":561,\\\"world-calendars/dist/calendars/ethiopian\\\":562,\\\"world-calendars/dist/calendars/hebrew\\\":563,\\\"world-calendars/dist/calendars/islamic\\\":564,\\\"world-calendars/dist/calendars/julian\\\":565,\\\"world-calendars/dist/calendars/mayan\\\":566,\\\"world-calendars/dist/calendars/nanakshahi\\\":567,\\\"world-calendars/dist/calendars/nepali\\\":568,\\\"world-calendars/dist/calendars/persian\\\":569,\\\"world-calendars/dist/calendars/taiwan\\\":570,\\\"world-calendars/dist/calendars/thai\\\":571,\\\"world-calendars/dist/calendars/ummalqura\\\":572,\\\"world-calendars/dist/main\\\":573,\\\"world-calendars/dist/plus\\\":574}],593:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./calendars\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../constants/numerical\\\"),a=o.EPOCHJD,s=o.ONEDAY,l={valType:\\\"enumerated\\\",values:Object.keys(r.calendars),editType:\\\"calc\\\",dflt:\\\"gregorian\\\"},u=function(t,e,n,r){var o={};return o[n]=l,i.coerce(t,e,o,n,r)},c=\\\"##\\\",h={d:{0:\\\"dd\\\",\\\"-\\\":\\\"d\\\"},e:{0:\\\"d\\\",\\\"-\\\":\\\"d\\\"},a:{0:\\\"D\\\",\\\"-\\\":\\\"D\\\"},A:{0:\\\"DD\\\",\\\"-\\\":\\\"DD\\\"},j:{0:\\\"oo\\\",\\\"-\\\":\\\"o\\\"},W:{0:\\\"ww\\\",\\\"-\\\":\\\"w\\\"},m:{0:\\\"mm\\\",\\\"-\\\":\\\"m\\\"},b:{0:\\\"M\\\",\\\"-\\\":\\\"M\\\"},B:{0:\\\"MM\\\",\\\"-\\\":\\\"MM\\\"},y:{0:\\\"yy\\\",\\\"-\\\":\\\"yy\\\"},Y:{0:\\\"yyyy\\\",\\\"-\\\":\\\"yyyy\\\"},U:c,w:c,c:{0:\\\"D M d %X yyyy\\\",\\\"-\\\":\\\"D M d %X yyyy\\\"},x:{0:\\\"mm/dd/yyyy\\\",\\\"-\\\":\\\"mm/dd/yyyy\\\"}},p={};function f(t){var e=p[t];return e||(p[t]=r.instance(t))}function d(t){return i.extendFlat({},l,{description:t})}function m(t){return\\\"Sets the calendar system to use with `\\\"+t+\\\"` date data.\\\"}var v={xcalendar:d(m(\\\"x\\\"))},g=i.extendFlat({},v,{ycalendar:d(m(\\\"y\\\"))}),y=i.extendFlat({},g,{zcalendar:d(m(\\\"z\\\"))}),_=d([\\\"Sets the calendar system to use for `range` and `tick0`\\\",\\\"if this is a date axis. This does not set the calendar for\\\",\\\"interpreting data on this axis, that's specified in the trace\\\",\\\"or via the global `layout.calendar`\\\"].join(\\\" \\\"));e.exports={moduleType:\\\"component\\\",name:\\\"calendars\\\",schema:{traces:{scatter:g,bar:g,box:g,heatmap:g,contour:g,histogram:g,histogram2d:g,histogram2dcontour:g,scatter3d:y,surface:y,mesh3d:y,scattergl:g,ohlc:v,candlestick:v},layout:{calendar:d([\\\"Sets the default calendar system to use for interpreting and\\\",\\\"displaying dates throughout the plot.\\\"].join(\\\" \\\"))},subplots:{xaxis:{calendar:_},yaxis:{calendar:_},scene:{xaxis:{calendar:_},yaxis:{calendar:_},zaxis:{calendar:_}},polar:{radialaxis:{calendar:_}}},transforms:{filter:{valuecalendar:d([\\\"Sets the calendar system to use for `value`, if it is a date.\\\"].join(\\\" \\\")),targetcalendar:d([\\\"Sets the calendar system to use for `target`, if it is an\\\",\\\"array of dates. If `target` is a string (eg *x*) we use the\\\",\\\"corresponding trace attribute (eg `xcalendar`) if it exists,\\\",\\\"even if `targetcalendar` is provided.\\\"].join(\\\" \\\"))}}},layoutAttributes:l,handleDefaults:u,handleTraceDefaults:function(t,e,n,r){for(var i=0;i<n.length;i++)u(t,e,n[i]+\\\"calendar\\\",r.calendar)},CANONICAL_SUNDAY:{chinese:\\\"2000-01-02\\\",coptic:\\\"2000-01-03\\\",discworld:\\\"2000-01-03\\\",ethiopian:\\\"2000-01-05\\\",hebrew:\\\"5000-01-01\\\",islamic:\\\"1000-01-02\\\",julian:\\\"2000-01-03\\\",mayan:\\\"5000-01-01\\\",nanakshahi:\\\"1000-01-05\\\",nepali:\\\"2000-01-05\\\",persian:\\\"1000-01-01\\\",jalali:\\\"1000-01-01\\\",taiwan:\\\"1000-01-04\\\",thai:\\\"2000-01-04\\\",ummalqura:\\\"1400-01-06\\\"},CANONICAL_TICK:{chinese:\\\"2000-01-01\\\",coptic:\\\"2000-01-01\\\",discworld:\\\"2000-01-01\\\",ethiopian:\\\"2000-01-01\\\",hebrew:\\\"5000-01-01\\\",islamic:\\\"1000-01-01\\\",julian:\\\"2000-01-01\\\",mayan:\\\"5000-01-01\\\",nanakshahi:\\\"1000-01-01\\\",nepali:\\\"2000-01-01\\\",persian:\\\"1000-01-01\\\",jalali:\\\"1000-01-01\\\",taiwan:\\\"1000-01-01\\\",thai:\\\"2000-01-01\\\",ummalqura:\\\"1400-01-01\\\"},DFLTRANGE:{chinese:[\\\"2000-01-01\\\",\\\"2001-01-01\\\"],coptic:[\\\"1700-01-01\\\",\\\"1701-01-01\\\"],discworld:[\\\"1800-01-01\\\",\\\"1801-01-01\\\"],ethiopian:[\\\"2000-01-01\\\",\\\"2001-01-01\\\"],hebrew:[\\\"5700-01-01\\\",\\\"5701-01-01\\\"],islamic:[\\\"1400-01-01\\\",\\\"1401-01-01\\\"],julian:[\\\"2000-01-01\\\",\\\"2001-01-01\\\"],mayan:[\\\"5200-01-01\\\",\\\"5201-01-01\\\"],nanakshahi:[\\\"0500-01-01\\\",\\\"0501-01-01\\\"],nepali:[\\\"2000-01-01\\\",\\\"2001-01-01\\\"],persian:[\\\"1400-01-01\\\",\\\"1401-01-01\\\"],jalali:[\\\"1400-01-01\\\",\\\"1401-01-01\\\"],taiwan:[\\\"0100-01-01\\\",\\\"0101-01-01\\\"],thai:[\\\"2500-01-01\\\",\\\"2501-01-01\\\"],ummalqura:[\\\"1400-01-01\\\",\\\"1401-01-01\\\"]},getCal:f,worldCalFmt:function(t,e,n){for(var r,i,o,l,u,p=Math.floor((e+.05)/s)+a,d=f(n).fromJD(p),m=0;-1!==(m=t.indexOf(\\\"%\\\",m));)\\\"0\\\"===(r=t.charAt(m+1))||\\\"-\\\"===r||\\\"_\\\"===r?(o=3,i=t.charAt(m+2),\\\"_\\\"===r&&(r=\\\"-\\\")):(i=r,r=\\\"0\\\",o=2),(l=h[i])?(u=l===c?c:d.formatDate(l[r]),t=t.substr(0,m)+u+t.substr(m+o),m+=u.length):m+=o;return t}}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"./calendars\\\":592}],594:[function(t,e,n){\\\"use strict\\\";n.defaults=[\\\"#1f77b4\\\",\\\"#ff7f0e\\\",\\\"#2ca02c\\\",\\\"#d62728\\\",\\\"#9467bd\\\",\\\"#8c564b\\\",\\\"#e377c2\\\",\\\"#7f7f7f\\\",\\\"#bcbd22\\\",\\\"#17becf\\\"],n.defaultLine=\\\"#444\\\",n.lightLine=\\\"#eee\\\",n.background=\\\"#fff\\\",n.borderLine=\\\"#BEC8D9\\\",n.lightFraction=1e3/11},{}],595:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"tinycolor2\\\"),i=t(\\\"fast-isnumeric\\\"),o=e.exports={},a=t(\\\"./attributes\\\");o.defaults=a.defaults;var s=o.defaultLine=a.defaultLine;o.lightLine=a.lightLine;var l=o.background=a.background;function u(t){if(i(t)||\\\"string\\\"!=typeof t)return t;var e=t.trim();if(\\\"rgb\\\"!==e.substr(0,3))return t;var n=e.match(/^rgba?\\\\s*\\\\(([^()]*)\\\\)$/);if(!n)return t;var r=n[1].trim().split(/\\\\s*[\\\\s,]\\\\s*/),o=\\\"a\\\"===e.charAt(3)&&4===r.length;if(!o&&3!==r.length)return t;for(var a=0;a<r.length;a++){if(!r[a].length)return t;if(r[a]=Number(r[a]),!(r[a]>=0))return t;if(3===a)r[a]>1&&(r[a]=1);else if(r[a]>=1)return t}var s=Math.round(255*r[0])+\\\", \\\"+Math.round(255*r[1])+\\\", \\\"+Math.round(255*r[2]);return o?\\\"rgba(\\\"+s+\\\", \\\"+r[3]+\\\")\\\":\\\"rgb(\\\"+s+\\\")\\\"}o.tinyRGB=function(t){var e=t.toRgb();return\\\"rgb(\\\"+Math.round(e.r)+\\\", \\\"+Math.round(e.g)+\\\", \\\"+Math.round(e.b)+\\\")\\\"},o.rgb=function(t){return o.tinyRGB(r(t))},o.opacity=function(t){return t?r(t).getAlpha():0},o.addOpacity=function(t,e){var n=r(t).toRgb();return\\\"rgba(\\\"+Math.round(n.r)+\\\", \\\"+Math.round(n.g)+\\\", \\\"+Math.round(n.b)+\\\", \\\"+e+\\\")\\\"},o.combine=function(t,e){var n=r(t).toRgb();if(1===n.a)return r(t).toRgbString();var i=r(e||l).toRgb(),o=1===i.a?i:{r:255*(1-i.a)+i.r*i.a,g:255*(1-i.a)+i.g*i.a,b:255*(1-i.a)+i.b*i.a},a={r:o.r*(1-n.a)+n.r*n.a,g:o.g*(1-n.a)+n.g*n.a,b:o.b*(1-n.a)+n.b*n.a};return r(a).toRgbString()},o.contrast=function(t,e,n){var i=r(t);return 1!==i.getAlpha()&&(i=r(o.combine(t,l))),(i.isDark()?e?i.lighten(e):l:n?i.darken(n):s).toString()},o.stroke=function(t,e){var n=r(e);t.style({stroke:o.tinyRGB(n),\\\"stroke-opacity\\\":n.getAlpha()})},o.fill=function(t,e){var n=r(e);t.style({fill:o.tinyRGB(n),\\\"fill-opacity\\\":n.getAlpha()})},o.clean=function(t){if(t&&\\\"object\\\"==typeof t){var e,n,r,i,a=Object.keys(t);for(e=0;e<a.length;e++)if(i=t[r=a[e]],\\\"color\\\"===r.substr(r.length-5))if(Array.isArray(i))for(n=0;n<i.length;n++)i[n]=u(i[n]);else t[r]=u(i);else if(\\\"colorscale\\\"===r.substr(r.length-10)&&Array.isArray(i))for(n=0;n<i.length;n++)Array.isArray(i[n])&&(i[n][1]=u(i[n][1]));else if(Array.isArray(i)){var s=i[0];if(!Array.isArray(s)&&s&&\\\"object\\\"==typeof s)for(n=0;n<i.length;n++)o.clean(i[n])}else i&&\\\"object\\\"==typeof i&&o.clean(i)}}},{\\\"./attributes\\\":594,\\\"fast-isnumeric\\\":236,tinycolor2:528}],596:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/layout_attributes\\\"),i=t(\\\"../../plots/font_attributes\\\"),o=t(\\\"../../lib/extend\\\").extendFlat,a=t(\\\"../../plot_api/edit_types\\\").overrideAll;e.exports=a({thicknessmode:{valType:\\\"enumerated\\\",values:[\\\"fraction\\\",\\\"pixels\\\"],dflt:\\\"pixels\\\"},thickness:{valType:\\\"number\\\",min:0,dflt:30},lenmode:{valType:\\\"enumerated\\\",values:[\\\"fraction\\\",\\\"pixels\\\"],dflt:\\\"fraction\\\"},len:{valType:\\\"number\\\",min:0,dflt:1},x:{valType:\\\"number\\\",dflt:1.02,min:-2,max:3},xanchor:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"left\\\"},xpad:{valType:\\\"number\\\",min:0,dflt:10},y:{valType:\\\"number\\\",dflt:.5,min:-2,max:3},yanchor:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],dflt:\\\"middle\\\"},ypad:{valType:\\\"number\\\",min:0,dflt:10},outlinecolor:r.linecolor,outlinewidth:r.linewidth,bordercolor:r.linecolor,borderwidth:{valType:\\\"number\\\",min:0,dflt:0},bgcolor:{valType:\\\"color\\\",dflt:\\\"rgba(0,0,0,0)\\\"},tickmode:r.tickmode,nticks:r.nticks,tick0:r.tick0,dtick:r.dtick,tickvals:r.tickvals,ticktext:r.ticktext,ticks:o({},r.ticks,{dflt:\\\"\\\"}),ticklen:r.ticklen,tickwidth:r.tickwidth,tickcolor:r.tickcolor,showticklabels:r.showticklabels,tickfont:i({}),tickangle:r.tickangle,tickformat:r.tickformat,tickformatstops:r.tickformatstops,tickprefix:r.tickprefix,showtickprefix:r.showtickprefix,ticksuffix:r.ticksuffix,showticksuffix:r.showticksuffix,separatethousands:r.separatethousands,exponentformat:r.exponentformat,showexponent:r.showexponent,title:{text:{valType:\\\"string\\\"},font:i({}),side:{valType:\\\"enumerated\\\",values:[\\\"right\\\",\\\"top\\\",\\\"bottom\\\"],dflt:\\\"top\\\"}},_deprecated:{title:{valType:\\\"string\\\"},titlefont:i({}),titleside:{valType:\\\"enumerated\\\",values:[\\\"right\\\",\\\"top\\\",\\\"bottom\\\"],dflt:\\\"top\\\"}}},\\\"colorbars\\\",\\\"from-root\\\")},{\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/cartesian/layout_attributes\\\":790,\\\"../../plots/font_attributes\\\":804}],597:[function(t,e,n){\\\"use strict\\\";e.exports={cn:{colorbar:\\\"colorbar\\\",cbbg:\\\"cbbg\\\",cbfill:\\\"cbfill\\\",cbfills:\\\"cbfills\\\",cbline:\\\"cbline\\\",cblines:\\\"cblines\\\",cbaxis:\\\"cbaxis\\\",cbtitleunshift:\\\"cbtitleunshift\\\",cbtitle:\\\"cbtitle\\\",cboutline:\\\"cboutline\\\",crisp:\\\"crisp\\\",jsPlaceholder:\\\"js-placeholder\\\"}}},{}],598:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plot_api/plot_template\\\"),o=t(\\\"../../plots/cartesian/tick_value_defaults\\\"),a=t(\\\"../../plots/cartesian/tick_mark_defaults\\\"),s=t(\\\"../../plots/cartesian/tick_label_defaults\\\"),l=t(\\\"./attributes\\\");e.exports=function(t,e,n){var u=i.newContainer(e,\\\"colorbar\\\"),c=t.colorbar||{};function h(t,e){return r.coerce(c,u,l,t,e)}var p=h(\\\"thicknessmode\\\");h(\\\"thickness\\\",\\\"fraction\\\"===p?30/(n.width-n.margin.l-n.margin.r):30);var f=h(\\\"lenmode\\\");h(\\\"len\\\",\\\"fraction\\\"===f?1:n.height-n.margin.t-n.margin.b),h(\\\"x\\\"),h(\\\"xanchor\\\"),h(\\\"xpad\\\"),h(\\\"y\\\"),h(\\\"yanchor\\\"),h(\\\"ypad\\\"),r.noneOrAll(c,u,[\\\"x\\\",\\\"y\\\"]),h(\\\"outlinecolor\\\"),h(\\\"outlinewidth\\\"),h(\\\"bordercolor\\\"),h(\\\"borderwidth\\\"),h(\\\"bgcolor\\\"),o(c,u,h,\\\"linear\\\");var d={outerTicks:!1,font:n.font};s(c,u,h,\\\"linear\\\",d),a(c,u,h,\\\"linear\\\",d),h(\\\"title.text\\\",n._dfltTitle.colorbar),r.coerceFont(h,\\\"title.font\\\",n.font),h(\\\"title.side\\\")}},{\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/tick_label_defaults\\\":797,\\\"../../plots/cartesian/tick_mark_defaults\\\":798,\\\"../../plots/cartesian/tick_value_defaults\\\":799,\\\"./attributes\\\":596}],599:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"../../plots/plots\\\"),a=t(\\\"../../registry\\\"),s=t(\\\"../../plots/cartesian/axes\\\"),l=t(\\\"../dragelement\\\"),u=t(\\\"../../lib\\\"),c=t(\\\"../../lib/extend\\\").extendFlat,h=t(\\\"../../lib/setcursor\\\"),p=t(\\\"../drawing\\\"),f=t(\\\"../color\\\"),d=t(\\\"../titles\\\"),m=t(\\\"../../lib/svg_text_utils\\\"),v=t(\\\"../colorscale/helpers\\\").flipScale,g=t(\\\"../../plots/cartesian/axis_defaults\\\"),y=t(\\\"../../plots/cartesian/position_defaults\\\"),_=t(\\\"../../plots/cartesian/layout_attributes\\\"),b=t(\\\"../../constants/alignment\\\"),x=b.LINE_SPACING,w=b.FROM_TL,A=b.FROM_BR,C=t(\\\"./constants\\\").cn;e.exports={draw:function(t){var e=t._fullLayout._infolayer.selectAll(\\\"g.\\\"+C.colorbar).data(function(t){var e,n,r,i,o=t._fullLayout,a=t.calcdata,s=[];function l(t){return c(t,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function u(){\\\"function\\\"==typeof i.calc?i.calc(t,r,e):(e._fillgradient=n.reversescale?v(n.colorscale):n.colorscale,e._zrange=[n[i.min],n[i.max]])}for(var h=0;h<a.length;h++){var p=a[h],f=(r=p[0].trace)._module.colorbar;if(!0===r.visible&&f)for(var d=Array.isArray(f),m=d?f:[f],g=0;g<m.length;g++){var y=(i=m[g]).container;(n=y?r[y]:r)&&n.showscale&&((e=l(n.colorbar))._id=\\\"cb\\\"+r.uid+(d&&y?\\\"-\\\"+y:\\\"\\\"),e._traceIndex=r.index,e._propPrefix=(y?y+\\\".\\\":\\\"\\\")+\\\"colorbar.\\\",e._meta=r._meta,u(),s.push(e))}}for(var _ in o._colorAxes)if((n=o[_]).showscale){var b=o._colorAxes[_];(e=l(n.colorbar))._id=\\\"cb\\\"+_,e._propPrefix=_+\\\".colorbar.\\\",e._meta=o._meta,i={min:\\\"cmin\\\",max:\\\"cmax\\\"},\\\"heatmap\\\"!==b[0]&&(r=b[1],i.calc=r._module.colorbar.calc),u(),s.push(e)}return s}(t),(function(t){return t._id}));e.enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return t._id})).classed(C.colorbar,!0),e.each((function(e){var n=r.select(this);u.ensureSingle(n,\\\"rect\\\",C.cbbg),u.ensureSingle(n,\\\"g\\\",C.cbfills),u.ensureSingle(n,\\\"g\\\",C.cblines),u.ensureSingle(n,\\\"g\\\",C.cbaxis,(function(t){t.classed(C.crisp,!0)})),u.ensureSingle(n,\\\"g\\\",C.cbtitleunshift,(function(t){t.append(\\\"g\\\").classed(C.cbtitle,!0)})),u.ensureSingle(n,\\\"rect\\\",C.cboutline);var v=function(t,e,n){var a=n._fullLayout,l=a._size,h=e._fillcolor,v=e._line,b=e.title,M=b.side,E=e._zrange||r.extent((\\\"function\\\"==typeof h?h:v.color).domain()),T=\\\"function\\\"==typeof v.color?v.color:function(){return v.color},S=\\\"function\\\"==typeof h?h:function(){return h},k=e._levels,O=function(t,e,n){var r,i,o=e._levels,a=[],s=[],l=o.end+o.size/100,u=o.size,c=1.001*n[0]-.001*n[1],h=1.001*n[1]-.001*n[0];for(i=0;i<1e5&&(r=o.start+i*u,!(u>0?r>=l:r<=l));i++)r>c&&r<h&&a.push(r);if(e._fillgradient)s=[0];else if(\\\"function\\\"==typeof e._fillcolor){var p=e._filllevels;if(p)for(l=p.end+p.size/100,u=p.size,i=0;i<1e5&&(r=p.start+i*u,!(u>0?r>=l:r<=l));i++)r>n[0]&&r<n[1]&&s.push(r);else(s=a.map((function(t){return t-o.size/2}))).push(s[s.length-1]+o.size)}else e._fillcolor&&\\\"string\\\"==typeof e._fillcolor&&(s=[0]);return o.size<0&&(a.reverse(),s.reverse()),{line:a,fill:s}}(0,e,E),I=O.fill,L=O.line,P=Math.round(e.thickness*(\\\"fraction\\\"===e.thicknessmode?l.w:1)),z=P/l.w,R=Math.round(e.len*(\\\"fraction\\\"===e.lenmode?l.h:1)),D=R/l.h,$=e.xpad/l.w,B=(e.borderwidth+e.outlinewidth)/2,N=e.ypad/l.h,F=Math.round(e.x*l.w+e.xpad),j=e.x-z*({middle:.5,right:1}[e.xanchor]||0),U=e.y+D*(({top:-.5,bottom:.5}[e.yanchor]||0)-.5),q=Math.round(l.h*(1-U)),V=q-R;e._lenFrac=D,e._thickFrac=z,e._xLeftFrac=j,e._yBottomFrac=U;var H=e._axis=function(t,e,n){var r=t._fullLayout,i={type:\\\"linear\\\",range:n,tickmode:e.tickmode,nticks:e.nticks,tick0:e.tick0,dtick:e.dtick,tickvals:e.tickvals,ticktext:e.ticktext,ticks:e.ticks,ticklen:e.ticklen,tickwidth:e.tickwidth,tickcolor:e.tickcolor,showticklabels:e.showticklabels,tickfont:e.tickfont,tickangle:e.tickangle,tickformat:e.tickformat,exponentformat:e.exponentformat,separatethousands:e.separatethousands,showexponent:e.showexponent,showtickprefix:e.showtickprefix,tickprefix:e.tickprefix,showticksuffix:e.showticksuffix,ticksuffix:e.ticksuffix,title:e.title,showline:!0,anchor:\\\"free\\\",side:\\\"right\\\",position:1},o={type:\\\"linear\\\",_id:\\\"y\\\"+e._id},a={letter:\\\"y\\\",font:r.font,noHover:!0,noTickson:!0,calendar:r.calendar};function s(t,e){return u.coerce(i,o,_,t,e)}return g(i,o,s,a,r),y(i,o,s,a),o}(n,e,E);if(H.position=e.x+$+z,-1!==[\\\"top\\\",\\\"bottom\\\"].indexOf(M)&&(H.title.side=M,H.titlex=e.x+$,H.titley=U+(\\\"top\\\"===b.side?D-N:N)),v.color&&\\\"auto\\\"===e.tickmode){H.tickmode=\\\"linear\\\",H.tick0=k.start;var G=k.size,W=u.constrain((q-V)/50,4,15)+1,X=(E[1]-E[0])/((e.nticks||W)*G);if(X>1){var Y=Math.pow(10,Math.floor(Math.log(X)/Math.LN10));G*=Y*u.roundUp(X/Y,[2,5,10]),(Math.abs(k.start)/k.size+1e-6)%1<2e-6&&(H.tick0=0)}H.dtick=G}H.domain=[U+N,U+D-N],H.setScale(),t.attr(\\\"transform\\\",\\\"translate(\\\"+Math.round(l.l)+\\\",\\\"+Math.round(l.t)+\\\")\\\");var Z,K=t.select(\\\".\\\"+C.cbtitleunshift).attr(\\\"transform\\\",\\\"translate(-\\\"+Math.round(l.l)+\\\",-\\\"+Math.round(l.t)+\\\")\\\"),J=t.select(\\\".\\\"+C.cbaxis),Q=0;function tt(r,i){var o={propContainer:H,propName:e._propPrefix+\\\"title\\\",traceIndex:e._traceIndex,_meta:e._meta,placeholder:a._dfltTitle.colorbar,containerGroup:t.select(\\\".\\\"+C.cbtitle)},s=\\\"h\\\"===r.charAt(0)?r.substr(1):\\\"h\\\"+r;t.selectAll(\\\".\\\"+s+\\\",.\\\"+s+\\\"-math-group\\\").remove(),d.draw(n,r,c(o,i||{}))}function et(){if(-1!==[\\\"top\\\",\\\"bottom\\\"].indexOf(M)){var t,n=l.l+(e.x+$)*l.w,r=H.title.font.size;t=\\\"top\\\"===M?(1-(U+D-N))*l.h+l.t+3+.75*r:(1-(U+N))*l.h+l.t-3-.25*r,tt(H._id+\\\"title\\\",{attributes:{x:n,y:t,\\\"text-anchor\\\":\\\"start\\\"}})}}function nt(){if(-1===[\\\"top\\\",\\\"bottom\\\"].indexOf(M)){var t=H.title.font.size,e=H._offset+H._length/2,i=l.l+(H.position||0)*l.w+(\\\"right\\\"===H.side?10+t*(H.showticklabels?1:.5):-10-t*(H.showticklabels?.5:0));tt(\\\"h\\\"+H._id+\\\"title\\\",{avoid:{selection:r.select(n).selectAll(\\\"g.\\\"+H._id+\\\"tick\\\"),side:M,offsetLeft:l.l,offsetTop:0,maxShift:a.width},attributes:{x:i,y:e,\\\"text-anchor\\\":\\\"middle\\\"},transform:{rotate:\\\"-90\\\",offset:0}})}}function rt(){if(-1!==[\\\"top\\\",\\\"bottom\\\"].indexOf(M)){var o=t.select(\\\".\\\"+C.cbtitle),a=o.select(\\\"text\\\"),c=[-e.outlinewidth/2,e.outlinewidth/2],h=o.select(\\\".h\\\"+H._id+\\\"title-math-group\\\").node(),f=15.6;if(a.node()&&(f=parseInt(a.node().style.fontSize,10)*x),h?(Q=p.bBox(h).height)>f&&(c[1]-=(Q-f)/2):a.node()&&!a.classed(C.jsPlaceholder)&&(Q=p.bBox(a.node()).height),Q){if(Q+=5,\\\"top\\\"===M)H.domain[1]-=Q/l.h,c[1]*=-1;else{H.domain[0]+=Q/l.h;var d=m.lineCount(a);c[1]+=(1-d)*f}o.attr(\\\"transform\\\",\\\"translate(\\\"+c+\\\")\\\"),H.setScale()}}t.selectAll(\\\".\\\"+C.cbfills+\\\",.\\\"+C.cblines).attr(\\\"transform\\\",\\\"translate(0,\\\"+Math.round(l.h*(1-H.domain[1]))+\\\")\\\"),J.attr(\\\"transform\\\",\\\"translate(0,\\\"+Math.round(-l.t)+\\\")\\\");var g=t.select(\\\".\\\"+C.cbfills).selectAll(\\\"rect.\\\"+C.cbfill).data(I);g.enter().append(\\\"rect\\\").classed(C.cbfill,!0).style(\\\"stroke\\\",\\\"none\\\"),g.exit().remove();var y=E.map(H.c2p).map(Math.round).sort((function(t,e){return t-e}));g.each((function(t,o){var a=[0===o?E[0]:(I[o]+I[o-1])/2,o===I.length-1?E[1]:(I[o]+I[o+1])/2].map(H.c2p).map(Math.round);a[1]=u.constrain(a[1]+(a[1]>a[0])?1:-1,y[0],y[1]);var s=r.select(this).attr({x:F,width:Math.max(P,2),y:r.min(a),height:Math.max(r.max(a)-r.min(a),2)});if(e._fillgradient)p.gradient(s,n,e._id,\\\"vertical\\\",e._fillgradient,\\\"fill\\\");else{var l=S(t).replace(\\\"e-\\\",\\\"\\\");s.attr(\\\"fill\\\",i(l).toHexString())}}));var _=t.select(\\\".\\\"+C.cblines).selectAll(\\\"path.\\\"+C.cbline).data(v.color&&v.width?L:[]);_.enter().append(\\\"path\\\").classed(C.cbline,!0),_.exit().remove(),_.each((function(t){r.select(this).attr(\\\"d\\\",\\\"M\\\"+F+\\\",\\\"+(Math.round(H.c2p(t))+v.width/2%1)+\\\"h\\\"+P).call(p.lineGroupStyle,v.width,T(t),v.dash)})),J.selectAll(\\\"g.\\\"+H._id+\\\"tick,path\\\").remove();var b=F+P+(e.outlinewidth||0)/2-(\\\"outside\\\"===e.ticks?1:0),w=s.calcTicks(H),A=s.makeTransFn(H),k=s.getTickSigns(H)[2];return s.drawTicks(n,H,{vals:\\\"inside\\\"===H.ticks?s.clipEnds(H,w):w,layer:J,path:s.makeTickPath(H,b,k),transFn:A}),s.drawLabels(n,H,{vals:w,layer:J,transFn:A,labelFns:s.makeLabelFns(H,b)})}function it(){var r=P+e.outlinewidth/2+p.bBox(J.node()).width;if((Z=K.select(\\\"text\\\")).node()&&!Z.classed(C.jsPlaceholder)){var i,a=K.select(\\\".h\\\"+H._id+\\\"title-math-group\\\").node();i=a&&-1!==[\\\"top\\\",\\\"bottom\\\"].indexOf(M)?p.bBox(a).width:p.bBox(K.node()).right-F-l.l,r=Math.max(r,i)}var s=2*e.xpad+r+e.borderwidth+e.outlinewidth/2,u=q-V;t.select(\\\".\\\"+C.cbbg).attr({x:F-e.xpad-(e.borderwidth+e.outlinewidth)/2,y:V-B,width:Math.max(s,2),height:Math.max(u+2*B,2)}).call(f.fill,e.bgcolor).call(f.stroke,e.bordercolor).style(\\\"stroke-width\\\",e.borderwidth),t.selectAll(\\\".\\\"+C.cboutline).attr({x:F,y:V+e.ypad+(\\\"top\\\"===M?Q:0),width:Math.max(P,2),height:Math.max(u-2*e.ypad-Q,2)}).call(f.stroke,e.outlinecolor).style({fill:\\\"none\\\",\\\"stroke-width\\\":e.outlinewidth});var c=({center:.5,right:1}[e.xanchor]||0)*s;t.attr(\\\"transform\\\",\\\"translate(\\\"+(l.l-c)+\\\",\\\"+l.t+\\\")\\\");var h={},d=w[e.yanchor],m=A[e.yanchor];\\\"pixels\\\"===e.lenmode?(h.y=e.y,h.t=u*d,h.b=u*m):(h.t=h.b=0,h.yt=e.y+e.len*d,h.yb=e.y-e.len*m);var v=w[e.xanchor],g=A[e.xanchor];if(\\\"pixels\\\"===e.thicknessmode)h.x=e.x,h.l=s*v,h.r=s*g;else{var y=s-P;h.l=y*v,h.r=y*g,h.xl=e.x-e.thickness*v,h.xr=e.x+e.thickness*g}o.autoMargin(n,e._id,h)}return u.syncOrAsync([o.previousPromises,et,rt,nt,o.previousPromises,it],n)}(n,e,t);v&&v.then&&(t._promises||[]).push(v),t._context.edits.colorbarPosition&&function(t,e,n){var r,i,o,s=n._fullLayout._size;l.init({element:t.node(),gd:n,prepFn:function(){r=t.attr(\\\"transform\\\"),h(t)},moveFn:function(n,a){t.attr(\\\"transform\\\",r+\\\" translate(\\\"+n+\\\",\\\"+a+\\\")\\\"),i=l.align(e._xLeftFrac+n/s.w,e._thickFrac,0,1,e.xanchor),o=l.align(e._yBottomFrac-a/s.h,e._lenFrac,0,1,e.yanchor);var u=l.getCursor(i,o,e.xanchor,e.yanchor);h(t,u)},doneFn:function(){if(h(t),void 0!==i&&void 0!==o){var r={};r[e._propPrefix+\\\"x\\\"]=i,r[e._propPrefix+\\\"y\\\"]=o,void 0!==e._traceIndex?a.call(\\\"_guiRestyle\\\",n,r,e._traceIndex):a.call(\\\"_guiRelayout\\\",n,r)}}})}(n,e,t)})),e.exit().each((function(e){o.autoMargin(t,e._id)})).remove(),e.order()}}},{\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/extend\\\":719,\\\"../../lib/setcursor\\\":748,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/cartesian/axis_defaults\\\":778,\\\"../../plots/cartesian/layout_attributes\\\":790,\\\"../../plots/cartesian/position_defaults\\\":793,\\\"../../plots/plots\\\":839,\\\"../../registry\\\":859,\\\"../color\\\":595,\\\"../colorscale/helpers\\\":606,\\\"../dragelement\\\":614,\\\"../drawing\\\":617,\\\"../titles\\\":690,\\\"./constants\\\":597,d3:164,tinycolor2:528}],600:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t){return r.isPlainObject(t.colorbar)}},{\\\"../../lib\\\":728}],601:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"component\\\",name:\\\"colorbar\\\",attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),draw:t(\\\"./draw\\\").draw,hasColorbar:t(\\\"./has_colorbar\\\")}},{\\\"./attributes\\\":596,\\\"./defaults\\\":598,\\\"./draw\\\":599,\\\"./has_colorbar\\\":600}],602:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../colorbar/attributes\\\"),i=t(\\\"../../lib/regex\\\").counter,o=t(\\\"./scales.js\\\").scales;function a(t){return\\\"`\\\"+t+\\\"`\\\"}Object.keys(o),e.exports=function(t,e){t=t||\\\"\\\";var n,s=(e=e||{}).cLetter||\\\"c\\\",l=(\\\"onlyIfNumerical\\\"in e?e.onlyIfNumerical:Boolean(t),\\\"noScale\\\"in e?e.noScale:\\\"marker.line\\\"===t),u=\\\"showScaleDflt\\\"in e?e.showScaleDflt:\\\"z\\\"===s,c=\\\"string\\\"==typeof e.colorscaleDflt?o[e.colorscaleDflt]:null,h=e.editTypeOverride||\\\"\\\",p=t?t+\\\".\\\":\\\"\\\";\\\"colorAttr\\\"in e?(n=e.colorAttr,e.colorAttr):a(p+(n={z:\\\"z\\\",c:\\\"color\\\"}[s]));var f=s+\\\"auto\\\",d=s+\\\"min\\\",m=s+\\\"max\\\",v=s+\\\"mid\\\",g=(a(p+f),a(p+d),a(p+m),{});g[d]=g[m]=void 0;var y={};y[f]=!1;var _={};return\\\"color\\\"===n&&(_.color={valType:\\\"color\\\",arrayOk:!0,editType:h||\\\"style\\\"},e.anim&&(_.color.anim=!0)),_[f]={valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\",impliedEdits:g},_[d]={valType:\\\"number\\\",dflt:null,editType:h||\\\"plot\\\",impliedEdits:y},_[m]={valType:\\\"number\\\",dflt:null,editType:h||\\\"plot\\\",impliedEdits:y},_[v]={valType:\\\"number\\\",dflt:null,editType:\\\"calc\\\",impliedEdits:g},_.colorscale={valType:\\\"colorscale\\\",editType:\\\"calc\\\",dflt:c,impliedEdits:{autocolorscale:!1}},_.autocolorscale={valType:\\\"boolean\\\",dflt:!1!==e.autoColorDflt,editType:\\\"calc\\\",impliedEdits:{colorscale:void 0}},_.reversescale={valType:\\\"boolean\\\",dflt:!1,editType:\\\"plot\\\"},l||(_.showscale={valType:\\\"boolean\\\",dflt:u,editType:\\\"calc\\\"},_.colorbar=r),e.noColorAxis||(_.coloraxis={valType:\\\"subplotid\\\",regex:i(\\\"coloraxis\\\"),dflt:null,editType:\\\"calc\\\"}),_}},{\\\"../../lib/regex\\\":744,\\\"../colorbar/attributes\\\":596,\\\"./scales.js\\\":610}],603:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"./helpers\\\").extractOpts;e.exports=function(t,e,n){var a,s=t._fullLayout,l=n.vals,u=n.containerStr,c=u?i.nestedProperty(e,u).get():e,h=o(c),p=!1!==h.auto,f=h.min,d=h.max,m=h.mid,v=function(){return i.aggNums(Math.min,null,l)},g=function(){return i.aggNums(Math.max,null,l)};void 0===f?f=v():p&&(f=c._colorAx&&r(f)?Math.min(f,v()):v()),void 0===d?d=g():p&&(d=c._colorAx&&r(d)?Math.max(d,g()):g()),p&&void 0!==m&&(d-m>m-f?f=m-(d-m):d-m<m-f&&(d=m+(m-f))),f===d&&(f-=.5,d+=.5),h._sync(\\\"min\\\",f),h._sync(\\\"max\\\",d),h.autocolorscale&&(a=f*d<0?s.colorscale.diverging:f>=0?s.colorscale.sequential:s.colorscale.sequentialminus,h._sync(\\\"colorscale\\\",a))}},{\\\"../../lib\\\":728,\\\"./helpers\\\":606,\\\"fast-isnumeric\\\":236}],604:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./helpers\\\").hasColorscale,o=t(\\\"./helpers\\\").extractOpts;e.exports=function(t,e){function n(t,e){var n=t[\\\"_\\\"+e];void 0!==n&&(t[e]=n)}function a(t,i){var a=i.container?r.nestedProperty(t,i.container).get():t;if(a)if(a.coloraxis)a._colorAx=e[a.coloraxis];else{var s=o(a),l=s.auto;(l||void 0===s.min)&&n(a,i.min),(l||void 0===s.max)&&n(a,i.max),s.autocolorscale&&n(a,\\\"colorscale\\\")}}for(var s=0;s<t.length;s++){var l=t[s],u=l._module.colorbar;if(u)if(Array.isArray(u))for(var c=0;c<u.length;c++)a(l,u[c]);else a(l,u);i(l,\\\"marker.line\\\")&&a(l,{container:\\\"marker.line\\\",min:\\\"cmin\\\",max:\\\"cmax\\\"})}for(var h in e._colorAxes)a(e[h],{min:\\\"cmin\\\",max:\\\"cmax\\\"})}},{\\\"../../lib\\\":728,\\\"./helpers\\\":606}],605:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../colorbar/has_colorbar\\\"),a=t(\\\"../colorbar/defaults\\\"),s=t(\\\"./scales\\\").isValid,l=t(\\\"../../registry\\\").traceIs;function u(t,e){var n=e.slice(0,e.length-1);return e?i.nestedProperty(t,n).get()||{}:t}e.exports=function t(e,n,c,h,p){var f=p.prefix,d=p.cLetter,m=\\\"_module\\\"in n,v=u(e,f),g=u(n,f),y=u(n._template||{},f)||{},_=function(){return delete e.coloraxis,delete n.coloraxis,t(e,n,c,h,p)};if(m){var b=c._colorAxes||{},x=h(f+\\\"coloraxis\\\");if(x){var w=l(n,\\\"contour\\\")&&i.nestedProperty(n,\\\"contours.coloring\\\").get()||\\\"heatmap\\\",A=b[x];return void(A?(A[2].push(_),A[0]!==w&&(A[0]=!1,i.warn([\\\"Ignoring coloraxis:\\\",x,\\\"setting\\\",\\\"as it is linked to incompatible colorscales.\\\"].join(\\\" \\\")))):b[x]=[w,n,[_]])}}var C=v[d+\\\"min\\\"],M=v[d+\\\"max\\\"],E=r(C)&&r(M)&&C<M;h(f+d+\\\"auto\\\",!E)?h(f+d+\\\"mid\\\"):(h(f+d+\\\"min\\\"),h(f+d+\\\"max\\\"));var T,S,k=v.colorscale,O=y.colorscale;void 0!==k&&(T=!s(k)),void 0!==O&&(T=!s(O)),h(f+\\\"autocolorscale\\\",T),h(f+\\\"colorscale\\\"),h(f+\\\"reversescale\\\"),\\\"marker.line.\\\"!==f&&(f&&m&&(S=o(v)),h(f+\\\"showscale\\\",S)&&(f&&y&&(g._template=y),a(v,g,c)))}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../colorbar/defaults\\\":598,\\\"../colorbar/has_colorbar\\\":600,\\\"./scales\\\":610,\\\"fast-isnumeric\\\":236}],606:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"fast-isnumeric\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../color\\\"),l=t(\\\"./scales\\\").isValid,u=[\\\"showscale\\\",\\\"autocolorscale\\\",\\\"colorscale\\\",\\\"reversescale\\\",\\\"colorbar\\\"],c=[\\\"min\\\",\\\"max\\\",\\\"mid\\\",\\\"auto\\\"];function h(t){var e,n,r,i=t._colorAx,o=i||t,a={};for(n=0;n<u.length;n++)a[r=u[n]]=o[r];if(i)for(e=\\\"c\\\",n=0;n<c.length;n++)a[r=c[n]]=o[\\\"c\\\"+r];else{var s;for(n=0;n<c.length;n++)((s=\\\"c\\\"+(r=c[n]))in o||(s=\\\"z\\\"+r)in o)&&(a[r]=o[s]);e=s.charAt(0)}return a._sync=function(t,n){var r=-1!==c.indexOf(t)?e+t:t;o[r]=o[\\\"_\\\"+r]=n},a}function p(t){for(var e=h(t),n=e.min,r=e.max,i=e.reversescale?f(e.colorscale):e.colorscale,o=i.length,a=new Array(o),s=new Array(o),l=0;l<o;l++){var u=i[l];a[l]=n+u[0]*(r-n),s[l]=u[1]}return{domain:a,range:s}}function f(t){for(var e=t.length,n=new Array(e),r=e-1,i=0;r>=0;r--,i++){var o=t[r];n[i]=[1-o[0],o[1]]}return n}function d(t,e){e=e||{};for(var n=t.domain,a=t.range,l=a.length,u=new Array(l),c=0;c<l;c++){var h=i(a[c]).toRgb();u[c]=[h.r,h.g,h.b,h.a]}var p,f=r.scale.linear().domain(n).range(u).clamp(!0),d=e.noNumericCheck,v=e.returnArray;return(p=d&&v?f:d?function(t){return m(f(t))}:v?function(t){return o(t)?f(t):i(t).isValid()?t:s.defaultLine}:function(t){return o(t)?m(f(t)):i(t).isValid()?t:s.defaultLine}).domain=f.domain,p.range=function(){return a},p}function m(t){var e={r:t[0],g:t[1],b:t[2],a:t[3]};return i(e).toRgbString()}e.exports={hasColorscale:function(t,e,n){var r=e?a.nestedProperty(t,e).get()||{}:t,i=r[n||\\\"color\\\"],s=!1;if(a.isArrayOrTypedArray(i))for(var u=0;u<i.length;u++)if(o(i[u])){s=!0;break}return a.isPlainObject(r)&&(s||!0===r.showscale||o(r.cmin)&&o(r.cmax)||l(r.colorscale)||a.isPlainObject(r.colorbar))},extractOpts:h,extractScale:p,flipScale:f,makeColorScaleFunc:d,makeColorScaleFuncFromTrace:function(t,e){return d(p(t),e)}}},{\\\"../../lib\\\":728,\\\"../color\\\":595,\\\"./scales\\\":610,d3:164,\\\"fast-isnumeric\\\":236,tinycolor2:528}],607:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./scales\\\"),i=t(\\\"./helpers\\\");e.exports={moduleType:\\\"component\\\",name:\\\"colorscale\\\",attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),handleDefaults:t(\\\"./defaults\\\"),crossTraceDefaults:t(\\\"./cross_trace_defaults\\\"),calc:t(\\\"./calc\\\"),scales:r.scales,defaultScale:r.defaultScale,getScale:r.get,isValidScale:r.isValid,hasColorscale:i.hasColorscale,extractOpts:i.extractOpts,extractScale:i.extractScale,flipScale:i.flipScale,makeColorScaleFunc:i.makeColorScaleFunc,makeColorScaleFuncFromTrace:i.makeColorScaleFuncFromTrace}},{\\\"./attributes\\\":602,\\\"./calc\\\":603,\\\"./cross_trace_defaults\\\":604,\\\"./defaults\\\":605,\\\"./helpers\\\":606,\\\"./layout_attributes\\\":608,\\\"./layout_defaults\\\":609,\\\"./scales\\\":610}],608:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib/extend\\\").extendFlat,i=t(\\\"./attributes\\\"),o=t(\\\"./scales\\\").scales;e.exports={editType:\\\"calc\\\",colorscale:{editType:\\\"calc\\\",sequential:{valType:\\\"colorscale\\\",dflt:o.Reds,editType:\\\"calc\\\"},sequentialminus:{valType:\\\"colorscale\\\",dflt:o.Blues,editType:\\\"calc\\\"},diverging:{valType:\\\"colorscale\\\",dflt:o.RdBu,editType:\\\"calc\\\"}},coloraxis:r({_isSubplotObj:!0,editType:\\\"calc\\\"},i(\\\"\\\",{colorAttr:\\\"corresponding trace color array(s)\\\",noColorAxis:!0,showScaleDflt:!0}))}},{\\\"../../lib/extend\\\":719,\\\"./attributes\\\":602,\\\"./scales\\\":610}],609:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plot_api/plot_template\\\"),o=t(\\\"./layout_attributes\\\"),a=t(\\\"./defaults\\\");e.exports=function(t,e){function n(n,i){return r.coerce(t,e,o,n,i)}n(\\\"colorscale.sequential\\\"),n(\\\"colorscale.sequentialminus\\\"),n(\\\"colorscale.diverging\\\");var s,l,u=e._colorAxes;function c(t,e){return r.coerce(s,l,o.coloraxis,t,e)}for(var h in u){var p=u[h];if(p[0])s=t[h]||{},(l=i.newContainer(e,h,\\\"coloraxis\\\"))._name=h,a(s,l,e,c,{prefix:\\\"\\\",cLetter:\\\"c\\\"});else{for(var f=0;f<p[2].length;f++)p[2][f]();delete e._colorAxes[h]}}}},{\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"./defaults\\\":605,\\\"./layout_attributes\\\":608}],610:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"tinycolor2\\\"),i={Greys:[[0,\\\"rgb(0,0,0)\\\"],[1,\\\"rgb(255,255,255)\\\"]],YlGnBu:[[0,\\\"rgb(8,29,88)\\\"],[.125,\\\"rgb(37,52,148)\\\"],[.25,\\\"rgb(34,94,168)\\\"],[.375,\\\"rgb(29,145,192)\\\"],[.5,\\\"rgb(65,182,196)\\\"],[.625,\\\"rgb(127,205,187)\\\"],[.75,\\\"rgb(199,233,180)\\\"],[.875,\\\"rgb(237,248,217)\\\"],[1,\\\"rgb(255,255,217)\\\"]],Greens:[[0,\\\"rgb(0,68,27)\\\"],[.125,\\\"rgb(0,109,44)\\\"],[.25,\\\"rgb(35,139,69)\\\"],[.375,\\\"rgb(65,171,93)\\\"],[.5,\\\"rgb(116,196,118)\\\"],[.625,\\\"rgb(161,217,155)\\\"],[.75,\\\"rgb(199,233,192)\\\"],[.875,\\\"rgb(229,245,224)\\\"],[1,\\\"rgb(247,252,245)\\\"]],YlOrRd:[[0,\\\"rgb(128,0,38)\\\"],[.125,\\\"rgb(189,0,38)\\\"],[.25,\\\"rgb(227,26,28)\\\"],[.375,\\\"rgb(252,78,42)\\\"],[.5,\\\"rgb(253,141,60)\\\"],[.625,\\\"rgb(254,178,76)\\\"],[.75,\\\"rgb(254,217,118)\\\"],[.875,\\\"rgb(255,237,160)\\\"],[1,\\\"rgb(255,255,204)\\\"]],Bluered:[[0,\\\"rgb(0,0,255)\\\"],[1,\\\"rgb(255,0,0)\\\"]],RdBu:[[0,\\\"rgb(5,10,172)\\\"],[.35,\\\"rgb(106,137,247)\\\"],[.5,\\\"rgb(190,190,190)\\\"],[.6,\\\"rgb(220,170,132)\\\"],[.7,\\\"rgb(230,145,90)\\\"],[1,\\\"rgb(178,10,28)\\\"]],Reds:[[0,\\\"rgb(220,220,220)\\\"],[.2,\\\"rgb(245,195,157)\\\"],[.4,\\\"rgb(245,160,105)\\\"],[1,\\\"rgb(178,10,28)\\\"]],Blues:[[0,\\\"rgb(5,10,172)\\\"],[.35,\\\"rgb(40,60,190)\\\"],[.5,\\\"rgb(70,100,245)\\\"],[.6,\\\"rgb(90,120,245)\\\"],[.7,\\\"rgb(106,137,247)\\\"],[1,\\\"rgb(220,220,220)\\\"]],Picnic:[[0,\\\"rgb(0,0,255)\\\"],[.1,\\\"rgb(51,153,255)\\\"],[.2,\\\"rgb(102,204,255)\\\"],[.3,\\\"rgb(153,204,255)\\\"],[.4,\\\"rgb(204,204,255)\\\"],[.5,\\\"rgb(255,255,255)\\\"],[.6,\\\"rgb(255,204,255)\\\"],[.7,\\\"rgb(255,153,255)\\\"],[.8,\\\"rgb(255,102,204)\\\"],[.9,\\\"rgb(255,102,102)\\\"],[1,\\\"rgb(255,0,0)\\\"]],Rainbow:[[0,\\\"rgb(150,0,90)\\\"],[.125,\\\"rgb(0,0,200)\\\"],[.25,\\\"rgb(0,25,255)\\\"],[.375,\\\"rgb(0,152,255)\\\"],[.5,\\\"rgb(44,255,150)\\\"],[.625,\\\"rgb(151,255,0)\\\"],[.75,\\\"rgb(255,234,0)\\\"],[.875,\\\"rgb(255,111,0)\\\"],[1,\\\"rgb(255,0,0)\\\"]],Portland:[[0,\\\"rgb(12,51,131)\\\"],[.25,\\\"rgb(10,136,186)\\\"],[.5,\\\"rgb(242,211,56)\\\"],[.75,\\\"rgb(242,143,56)\\\"],[1,\\\"rgb(217,30,30)\\\"]],Jet:[[0,\\\"rgb(0,0,131)\\\"],[.125,\\\"rgb(0,60,170)\\\"],[.375,\\\"rgb(5,255,255)\\\"],[.625,\\\"rgb(255,255,0)\\\"],[.875,\\\"rgb(250,0,0)\\\"],[1,\\\"rgb(128,0,0)\\\"]],Hot:[[0,\\\"rgb(0,0,0)\\\"],[.3,\\\"rgb(230,0,0)\\\"],[.6,\\\"rgb(255,210,0)\\\"],[1,\\\"rgb(255,255,255)\\\"]],Blackbody:[[0,\\\"rgb(0,0,0)\\\"],[.2,\\\"rgb(230,0,0)\\\"],[.4,\\\"rgb(230,210,0)\\\"],[.7,\\\"rgb(255,255,255)\\\"],[1,\\\"rgb(160,200,255)\\\"]],Earth:[[0,\\\"rgb(0,0,130)\\\"],[.1,\\\"rgb(0,180,180)\\\"],[.2,\\\"rgb(40,210,40)\\\"],[.4,\\\"rgb(230,230,50)\\\"],[.6,\\\"rgb(120,70,20)\\\"],[1,\\\"rgb(255,255,255)\\\"]],Electric:[[0,\\\"rgb(0,0,0)\\\"],[.15,\\\"rgb(30,0,100)\\\"],[.4,\\\"rgb(120,0,100)\\\"],[.6,\\\"rgb(160,90,0)\\\"],[.8,\\\"rgb(230,200,0)\\\"],[1,\\\"rgb(255,250,220)\\\"]],Viridis:[[0,\\\"#440154\\\"],[.06274509803921569,\\\"#48186a\\\"],[.12549019607843137,\\\"#472d7b\\\"],[.18823529411764706,\\\"#424086\\\"],[.25098039215686274,\\\"#3b528b\\\"],[.3137254901960784,\\\"#33638d\\\"],[.3764705882352941,\\\"#2c728e\\\"],[.4392156862745098,\\\"#26828e\\\"],[.5019607843137255,\\\"#21918c\\\"],[.5647058823529412,\\\"#1fa088\\\"],[.6274509803921569,\\\"#28ae80\\\"],[.6901960784313725,\\\"#3fbc73\\\"],[.7529411764705882,\\\"#5ec962\\\"],[.8156862745098039,\\\"#84d44b\\\"],[.8784313725490196,\\\"#addc30\\\"],[.9411764705882353,\\\"#d8e219\\\"],[1,\\\"#fde725\\\"]],Cividis:[[0,\\\"rgb(0,32,76)\\\"],[.058824,\\\"rgb(0,42,102)\\\"],[.117647,\\\"rgb(0,52,110)\\\"],[.176471,\\\"rgb(39,63,108)\\\"],[.235294,\\\"rgb(60,74,107)\\\"],[.294118,\\\"rgb(76,85,107)\\\"],[.352941,\\\"rgb(91,95,109)\\\"],[.411765,\\\"rgb(104,106,112)\\\"],[.470588,\\\"rgb(117,117,117)\\\"],[.529412,\\\"rgb(131,129,120)\\\"],[.588235,\\\"rgb(146,140,120)\\\"],[.647059,\\\"rgb(161,152,118)\\\"],[.705882,\\\"rgb(176,165,114)\\\"],[.764706,\\\"rgb(192,177,109)\\\"],[.823529,\\\"rgb(209,191,102)\\\"],[.882353,\\\"rgb(225,204,92)\\\"],[.941176,\\\"rgb(243,219,79)\\\"],[1,\\\"rgb(255,233,69)\\\"]]},o=i.RdBu;function a(t){var e=0;if(!Array.isArray(t)||t.length<2)return!1;if(!t[0]||!t[t.length-1])return!1;if(0!=+t[0][0]||1!=+t[t.length-1][0])return!1;for(var n=0;n<t.length;n++){var i=t[n];if(2!==i.length||+i[0]<e||!r(i[1]).isValid())return!1;e=+i[0]}return!0}e.exports={scales:i,defaultScale:o,get:function(t,e){if(e||(e=o),!t)return e;function n(){try{t=i[t]||JSON.parse(t)}catch(n){t=e}}return\\\"string\\\"==typeof t&&(n(),\\\"string\\\"==typeof t&&n()),a(t)?t:e},isValid:function(t){return void 0!==i[t]||a(t)}}},{tinycolor2:528}],611:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i){var o=(t-n)/(r-n),a=o+e/(r-n),s=(o+a)/2;return\\\"left\\\"===i||\\\"bottom\\\"===i?o:\\\"center\\\"===i||\\\"middle\\\"===i?s:\\\"right\\\"===i||\\\"top\\\"===i?a:o<2/3-s?o:a>4/3-s?a:s}},{}],612:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=[[\\\"sw-resize\\\",\\\"s-resize\\\",\\\"se-resize\\\"],[\\\"w-resize\\\",\\\"move\\\",\\\"e-resize\\\"],[\\\"nw-resize\\\",\\\"n-resize\\\",\\\"ne-resize\\\"]];e.exports=function(t,e,n,o){return t=\\\"left\\\"===n?0:\\\"center\\\"===n?1:\\\"right\\\"===n?2:r.constrain(Math.floor(3*t),0,2),e=\\\"bottom\\\"===o?0:\\\"middle\\\"===o?1:\\\"top\\\"===o?2:r.constrain(Math.floor(3*e),0,2),i[e][t]}},{\\\"../../lib\\\":728}],613:[function(t,e,n){\\\"use strict\\\";n.selectMode=function(t){return\\\"lasso\\\"===t||\\\"select\\\"===t},n.drawMode=function(t){return\\\"drawclosedpath\\\"===t||\\\"drawopenpath\\\"===t||\\\"drawline\\\"===t||\\\"drawrect\\\"===t||\\\"drawcircle\\\"===t},n.openMode=function(t){return\\\"drawline\\\"===t||\\\"drawopenpath\\\"===t},n.rectMode=function(t){return\\\"select\\\"===t||\\\"drawline\\\"===t||\\\"drawrect\\\"===t||\\\"drawcircle\\\"===t},n.freeMode=function(t){return\\\"lasso\\\"===t||\\\"drawclosedpath\\\"===t||\\\"drawopenpath\\\"===t},n.selectingOrDrawing=function(t){return n.freeMode(t)||n.rectMode(t)}},{}],614:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"mouse-event-offset\\\"),i=t(\\\"has-hover\\\"),o=t(\\\"has-passive-events\\\"),a=t(\\\"../../lib\\\").removeElement,s=t(\\\"../../plots/cartesian/constants\\\"),l=e.exports={};l.align=t(\\\"./align\\\"),l.getCursor=t(\\\"./cursor\\\");var u=t(\\\"./unhover\\\");function c(){var t=document.createElement(\\\"div\\\");t.className=\\\"dragcover\\\";var e=t.style;return e.position=\\\"fixed\\\",e.left=0,e.right=0,e.top=0,e.bottom=0,e.zIndex=999999999,e.background=\\\"none\\\",document.body.appendChild(t),t}function h(t){return r(t.changedTouches?t.changedTouches[0]:t,document.body)}l.unhover=u.wrapped,l.unhoverRaw=u.raw,l.init=function(t){var e,n,r,u,p,f,d,m,v=t.gd,g=1,y=v._context.doubleClickDelay,_=t.element;v._mouseDownTime||(v._mouseDownTime=0),_.style.pointerEvents=\\\"all\\\",_.onmousedown=x,o?(_._ontouchstart&&_.removeEventListener(\\\"touchstart\\\",_._ontouchstart),_._ontouchstart=x,_.addEventListener(\\\"touchstart\\\",x,{passive:!1})):_.ontouchstart=x;var b=t.clampFn||function(t,e,n){return Math.abs(t)<n&&(t=0),Math.abs(e)<n&&(e=0),[t,e]};function x(o){v._dragged=!1,v._dragging=!0;var a=h(o);e=a[0],n=a[1],d=o.target,f=o,m=2===o.buttons||o.ctrlKey,void 0===o.clientX&&void 0===o.clientY&&(o.clientX=e,o.clientY=n),(r=(new Date).getTime())-v._mouseDownTime<y?g+=1:(g=1,v._mouseDownTime=r),t.prepFn&&t.prepFn(o,e,n),i&&!m?(p=c()).style.cursor=window.getComputedStyle(_).cursor:i||(p=document,u=window.getComputedStyle(document.documentElement).cursor,document.documentElement.style.cursor=window.getComputedStyle(_).cursor),document.addEventListener(\\\"mouseup\\\",A),document.addEventListener(\\\"touchend\\\",A),!1!==t.dragmode&&(o.preventDefault(),document.addEventListener(\\\"mousemove\\\",w),document.addEventListener(\\\"touchmove\\\",w,{passive:!1}))}function w(r){r.preventDefault();var i=h(r),o=t.minDrag||s.MINDRAG,a=b(i[0]-e,i[1]-n,o),u=a[0],c=a[1];(u||c)&&(v._dragged=!0,l.unhover(v)),v._dragged&&t.moveFn&&!m&&(v._dragdata={element:_,dx:u,dy:c},t.moveFn(u,c))}function A(e){if(delete v._dragdata,!1!==t.dragmode&&(e.preventDefault(),document.removeEventListener(\\\"mousemove\\\",w),document.removeEventListener(\\\"touchmove\\\",w)),document.removeEventListener(\\\"mouseup\\\",A),document.removeEventListener(\\\"touchend\\\",A),i?a(p):u&&(p.documentElement.style.cursor=u,u=null),v._dragging){if(v._dragging=!1,(new Date).getTime()-v._mouseDownTime>y&&(g=Math.max(g-1,1)),v._dragged)t.doneFn&&t.doneFn();else if(t.clickFn&&t.clickFn(g,f),!m){var n;try{n=new MouseEvent(\\\"click\\\",e)}catch(t){var r=h(e);(n=document.createEvent(\\\"MouseEvents\\\")).initMouseEvent(\\\"click\\\",e.bubbles,e.cancelable,e.view,e.detail,e.screenX,e.screenY,r[0],r[1],e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget)}d.dispatchEvent(n)}v._dragging=!1,v._dragged=!1}else v._dragged=!1}},l.coverSlip=c},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/constants\\\":782,\\\"./align\\\":611,\\\"./cursor\\\":612,\\\"./unhover\\\":615,\\\"has-hover\\\":409,\\\"has-passive-events\\\":410,\\\"mouse-event-offset\\\":437}],615:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib/events\\\"),i=t(\\\"../../lib/throttle\\\"),o=t(\\\"../../lib/dom\\\").getGraphDiv,a=t(\\\"../fx/constants\\\"),s=e.exports={};s.wrapped=function(t,e,n){(t=o(t))._fullLayout&&i.clear(t._fullLayout._uid+a.HOVERID),s.raw(t,e,n)},s.raw=function(t,e){var n=t._fullLayout,i=t._hoverdata;e||(e={}),e.target&&!1===r.triggerHandler(t,\\\"plotly_beforehover\\\",e)||(n._hoverlayer.selectAll(\\\"g\\\").remove(),n._hoverlayer.selectAll(\\\"line\\\").remove(),n._hoverlayer.selectAll(\\\"circle\\\").remove(),t._hoverdata=void 0,e.target&&i&&t.emit(\\\"plotly_unhover\\\",{event:e,points:i}))}},{\\\"../../lib/dom\\\":717,\\\"../../lib/events\\\":718,\\\"../../lib/throttle\\\":753,\\\"../fx/constants\\\":629}],616:[function(t,e,n){\\\"use strict\\\";n.dash={valType:\\\"string\\\",values:[\\\"solid\\\",\\\"dot\\\",\\\"dash\\\",\\\"longdash\\\",\\\"dashdot\\\",\\\"longdashdot\\\"],dflt:\\\"solid\\\",editType:\\\"style\\\"}},{}],617:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"tinycolor2\\\"),a=t(\\\"../../registry\\\"),s=t(\\\"../color\\\"),l=t(\\\"../colorscale\\\"),u=t(\\\"../../lib\\\"),c=t(\\\"../../lib/svg_text_utils\\\"),h=t(\\\"../../constants/xmlns_namespaces\\\"),p=t(\\\"../../constants/alignment\\\").LINE_SPACING,f=t(\\\"../../constants/interactions\\\").DESELECTDIM,d=t(\\\"../../traces/scatter/subtypes\\\"),m=t(\\\"../../traces/scatter/make_bubble_size_func\\\"),v=t(\\\"../../components/fx/helpers\\\").appendArrayPointValue,g=e.exports={};g.font=function(t,e,n,r){u.isPlainObject(e)&&(r=e.color,n=e.size,e=e.family),e&&t.style(\\\"font-family\\\",e),n+1&&t.style(\\\"font-size\\\",n+\\\"px\\\"),r&&t.call(s.fill,r)},g.setPosition=function(t,e,n){t.attr(\\\"x\\\",e).attr(\\\"y\\\",n)},g.setSize=function(t,e,n){t.attr(\\\"width\\\",e).attr(\\\"height\\\",n)},g.setRect=function(t,e,n,r,i){t.call(g.setPosition,e,n).call(g.setSize,r,i)},g.translatePoint=function(t,e,n,r){var o=n.c2p(t.x),a=r.c2p(t.y);return!!(i(o)&&i(a)&&e.node())&&(\\\"text\\\"===e.node().nodeName?e.attr(\\\"x\\\",o).attr(\\\"y\\\",a):e.attr(\\\"transform\\\",\\\"translate(\\\"+o+\\\",\\\"+a+\\\")\\\"),!0)},g.translatePoints=function(t,e,n){t.each((function(t){var i=r.select(this);g.translatePoint(t,i,e,n)}))},g.hideOutsideRangePoint=function(t,e,n,r,i,o){e.attr(\\\"display\\\",n.isPtWithinRange(t,i)&&r.isPtWithinRange(t,o)?null:\\\"none\\\")},g.hideOutsideRangePoints=function(t,e){if(e._hasClipOnAxisFalse){var n=e.xaxis,i=e.yaxis;t.each((function(e){var o=e[0].trace,s=o.xcalendar,l=o.ycalendar,u=a.traceIs(o,\\\"bar-like\\\")?\\\".bartext\\\":\\\".point,.textpoint\\\";t.selectAll(u).each((function(t){g.hideOutsideRangePoint(t,r.select(this),n,i,s,l)}))}))}},g.crispRound=function(t,e,n){return e&&i(e)?t._context.staticPlot?e:e<1?1:Math.round(e):n||0},g.singleLineStyle=function(t,e,n,r,i){e.style(\\\"fill\\\",\\\"none\\\");var o=(((t||[])[0]||{}).trace||{}).line||{},a=n||o.width||0,l=i||o.dash||\\\"\\\";s.stroke(e,r||o.color),g.dashLine(e,l,a)},g.lineGroupStyle=function(t,e,n,i){t.style(\\\"fill\\\",\\\"none\\\").each((function(t){var o=(((t||[])[0]||{}).trace||{}).line||{},a=e||o.width||0,l=i||o.dash||\\\"\\\";r.select(this).call(s.stroke,n||o.color).call(g.dashLine,l,a)}))},g.dashLine=function(t,e,n){n=+n||0,e=g.dashStyle(e,n),t.style({\\\"stroke-dasharray\\\":e,\\\"stroke-width\\\":n+\\\"px\\\"})},g.dashStyle=function(t,e){e=+e||1;var n=Math.max(e,3);return\\\"solid\\\"===t?t=\\\"\\\":\\\"dot\\\"===t?t=n+\\\"px,\\\"+n+\\\"px\\\":\\\"dash\\\"===t?t=3*n+\\\"px,\\\"+3*n+\\\"px\\\":\\\"longdash\\\"===t?t=5*n+\\\"px,\\\"+5*n+\\\"px\\\":\\\"dashdot\\\"===t?t=3*n+\\\"px,\\\"+n+\\\"px,\\\"+n+\\\"px,\\\"+n+\\\"px\\\":\\\"longdashdot\\\"===t&&(t=5*n+\\\"px,\\\"+2*n+\\\"px,\\\"+n+\\\"px,\\\"+2*n+\\\"px\\\"),t},g.singleFillStyle=function(t){var e=(((r.select(t.node()).data()[0]||[])[0]||{}).trace||{}).fillcolor;e&&t.call(s.fill,e)},g.fillGroupStyle=function(t){t.style(\\\"stroke-width\\\",0).each((function(t){var e=r.select(this);t[0].trace&&e.call(s.fill,t[0].trace.fillcolor)}))};var y=t(\\\"./symbol_defs\\\");g.symbolNames=[],g.symbolFuncs=[],g.symbolNeedLines={},g.symbolNoDot={},g.symbolNoFill={},g.symbolList=[],Object.keys(y).forEach((function(t){var e=y[t],n=e.n;g.symbolList.push(n,t,n+100,t+\\\"-open\\\"),g.symbolNames[n]=t,g.symbolFuncs[n]=e.f,e.needLine&&(g.symbolNeedLines[n]=!0),e.noDot?g.symbolNoDot[n]=!0:g.symbolList.push(n+200,t+\\\"-dot\\\",n+300,t+\\\"-open-dot\\\"),e.noFill&&(g.symbolNoFill[n]=!0)}));var _=g.symbolNames.length;function b(t,e){var n=t%100;return g.symbolFuncs[n](e)+(t>=200?\\\"M0,0.5L0.5,0L0,-0.5L-0.5,0Z\\\":\\\"\\\")}g.symbolNumber=function(t){if(\\\"string\\\"==typeof t){var e=0;t.indexOf(\\\"-open\\\")>0&&(e=100,t=t.replace(\\\"-open\\\",\\\"\\\")),t.indexOf(\\\"-dot\\\")>0&&(e+=200,t=t.replace(\\\"-dot\\\",\\\"\\\")),(t=g.symbolNames.indexOf(t))>=0&&(t+=e)}return t%100>=_||t>=400?0:Math.floor(Math.max(t,0))};var x={x1:1,x2:0,y1:0,y2:0},w={x1:0,x2:0,y1:1,y2:0},A=r.format(\\\"~.1f\\\"),C={radial:{node:\\\"radialGradient\\\"},radialreversed:{node:\\\"radialGradient\\\",reversed:!0},horizontal:{node:\\\"linearGradient\\\",attrs:x},horizontalreversed:{node:\\\"linearGradient\\\",attrs:x,reversed:!0},vertical:{node:\\\"linearGradient\\\",attrs:w},verticalreversed:{node:\\\"linearGradient\\\",attrs:w,reversed:!0}};g.gradient=function(t,e,n,i,a,l){for(var c=a.length,h=C[i],p=new Array(c),f=0;f<c;f++)h.reversed?p[c-1-f]=[A(100*(1-a[f][0])),a[f][1]]:p[f]=[A(100*a[f][0]),a[f][1]];var d=e._fullLayout,m=\\\"g\\\"+d._uid+\\\"-\\\"+n,v=d._defs.select(\\\".gradients\\\").selectAll(\\\"#\\\"+m).data([i+p.join(\\\";\\\")],u.identity);v.exit().remove(),v.enter().append(h.node).each((function(){var t=r.select(this);h.attrs&&t.attr(h.attrs),t.attr(\\\"id\\\",m);var e=t.selectAll(\\\"stop\\\").data(p);e.exit().remove(),e.enter().append(\\\"stop\\\"),e.each((function(t){var e=o(t[1]);r.select(this).attr({offset:t[0]+\\\"%\\\",\\\"stop-color\\\":s.tinyRGB(e),\\\"stop-opacity\\\":e.getAlpha()})}))})),t.style(l,P(m,e)).style(l+\\\"-opacity\\\",null);var g=function(t){return\\\".\\\"+t.attr(\\\"class\\\").replace(/\\\\s/g,\\\".\\\")},y=g(r.select(t.node().parentNode))+\\\">\\\"+g(t);d._gradientUrlQueryParts[y]=1},g.initGradients=function(t){var e=t._fullLayout;u.ensureSingle(e._defs,\\\"g\\\",\\\"gradients\\\").selectAll(\\\"linearGradient,radialGradient\\\").remove(),e._gradientUrlQueryParts={}},g.pointStyle=function(t,e,n){if(t.size()){var i=g.makePointStyleFns(e);t.each((function(t){g.singlePointStyle(t,r.select(this),e,i,n)}))}},g.singlePointStyle=function(t,e,n,r,i){var o=n.marker,a=o.line;if(e.style(\\\"opacity\\\",r.selectedOpacityFn?r.selectedOpacityFn(t):void 0===t.mo?o.opacity:t.mo),r.ms2mrc){var l;l=\\\"various\\\"===t.ms||\\\"various\\\"===o.size?3:r.ms2mrc(t.ms),t.mrc=l,r.selectedSizeFn&&(l=t.mrc=r.selectedSizeFn(t));var c=g.symbolNumber(t.mx||o.symbol)||0;t.om=c%200>=100,e.attr(\\\"d\\\",b(c,l))}var h,p,f,d=!1;if(t.so)f=a.outlierwidth,p=a.outliercolor,h=o.outliercolor;else{var m=(a||{}).width;f=(t.mlw+1||m+1||(t.trace?(t.trace.marker.line||{}).width:0)+1)-1||0,p=\\\"mlc\\\"in t?t.mlcc=r.lineScale(t.mlc):u.isArrayOrTypedArray(a.color)?s.defaultLine:a.color,u.isArrayOrTypedArray(o.color)&&(h=s.defaultLine,d=!0),h=\\\"mc\\\"in t?t.mcc=r.markerScale(t.mc):o.color||\\\"rgba(0,0,0,0)\\\",r.selectedColorFn&&(h=r.selectedColorFn(t))}if(t.om)e.call(s.stroke,h).style({\\\"stroke-width\\\":(f||1)+\\\"px\\\",fill:\\\"none\\\"});else{e.style(\\\"stroke-width\\\",(t.isBlank?0:f)+\\\"px\\\");var v=o.gradient,y=t.mgt;if(y?d=!0:y=v&&v.type,Array.isArray(y)&&(y=y[0],C[y]||(y=0)),y&&\\\"none\\\"!==y){var _=t.mgc;_?d=!0:_=v.color;var x=n.uid;d&&(x+=\\\"-\\\"+t.i),g.gradient(e,i,x,y,[[0,_],[1,h]],\\\"fill\\\")}else s.fill(e,h);f&&s.stroke(e,p)}},g.makePointStyleFns=function(t){var e={},n=t.marker;return e.markerScale=g.tryColorscale(n,\\\"\\\"),e.lineScale=g.tryColorscale(n,\\\"line\\\"),a.traceIs(t,\\\"symbols\\\")&&(e.ms2mrc=d.isBubble(t)?m(t):function(){return(n.size||6)/2}),t.selectedpoints&&u.extendFlat(e,g.makeSelectedPointStyleFns(t)),e},g.makeSelectedPointStyleFns=function(t){var e={},n=t.selected||{},r=t.unselected||{},i=t.marker||{},o=n.marker||{},s=r.marker||{},l=i.opacity,c=o.opacity,h=s.opacity,p=void 0!==c,d=void 0!==h;(u.isArrayOrTypedArray(l)||p||d)&&(e.selectedOpacityFn=function(t){var e=void 0===t.mo?i.opacity:t.mo;return t.selected?p?c:e:d?h:f*e});var m=i.color,v=o.color,g=s.color;(v||g)&&(e.selectedColorFn=function(t){var e=t.mcc||m;return t.selected?v||e:g||e});var y=i.size,_=o.size,b=s.size,x=void 0!==_,w=void 0!==b;return a.traceIs(t,\\\"symbols\\\")&&(x||w)&&(e.selectedSizeFn=function(t){var e=t.mrc||y/2;return t.selected?x?_/2:e:w?b/2:e}),e},g.makeSelectedTextStyleFns=function(t){var e={},n=t.selected||{},r=t.unselected||{},i=t.textfont||{},o=n.textfont||{},a=r.textfont||{},l=i.color,u=o.color,c=a.color;return e.selectedTextColorFn=function(t){var e=t.tc||l;return t.selected?u||e:c||(u?e:s.addOpacity(e,f))},e},g.selectedPointStyle=function(t,e){if(t.size()&&e.selectedpoints){var n=g.makeSelectedPointStyleFns(e),i=e.marker||{},o=[];n.selectedOpacityFn&&o.push((function(t,e){t.style(\\\"opacity\\\",n.selectedOpacityFn(e))})),n.selectedColorFn&&o.push((function(t,e){s.fill(t,n.selectedColorFn(e))})),n.selectedSizeFn&&o.push((function(t,e){var r=e.mx||i.symbol||0,o=n.selectedSizeFn(e);t.attr(\\\"d\\\",b(g.symbolNumber(r),o)),e.mrc2=o})),o.length&&t.each((function(t){for(var e=r.select(this),n=0;n<o.length;n++)o[n](e,t)}))}},g.tryColorscale=function(t,e){var n=e?u.nestedProperty(t,e).get():t;if(n){var r=n.color;if((n.colorscale||n._colorAx)&&u.isArrayOrTypedArray(r))return l.makeColorScaleFuncFromTrace(n)}return u.identity};var M={start:1,end:-1,middle:0,bottom:1,top:-1};function E(t,e,n,i){var o=r.select(t.node().parentNode),a=-1!==e.indexOf(\\\"top\\\")?\\\"top\\\":-1!==e.indexOf(\\\"bottom\\\")?\\\"bottom\\\":\\\"middle\\\",s=-1!==e.indexOf(\\\"left\\\")?\\\"end\\\":-1!==e.indexOf(\\\"right\\\")?\\\"start\\\":\\\"middle\\\",l=i?i/.8+1:0,u=(c.lineCount(t)-1)*p+1,h=M[s]*l,f=.75*n+M[a]*l+(M[a]-1)*u*n/2;t.attr(\\\"text-anchor\\\",s),o.attr(\\\"transform\\\",\\\"translate(\\\"+h+\\\",\\\"+f+\\\")\\\")}function T(t,e){var n=t.ts||e.textfont.size;return i(n)&&n>0?n:0}function S(t,e,n,i){var o=t[0]-e[0],a=t[1]-e[1],s=n[0]-e[0],l=n[1]-e[1],u=Math.pow(o*o+a*a,.25),c=Math.pow(s*s+l*l,.25),h=(c*c*o-u*u*s)*i,p=(c*c*a-u*u*l)*i,f=3*c*(u+c),d=3*u*(u+c);return[[r.round(e[0]+(f&&h/f),2),r.round(e[1]+(f&&p/f),2)],[r.round(e[0]-(d&&h/d),2),r.round(e[1]-(d&&p/d),2)]]}g.textPointStyle=function(t,e,n){if(t.size()){var i;if(e.selectedpoints){var o=g.makeSelectedTextStyleFns(e);i=o.selectedTextColorFn}var a=e.texttemplate,s=n._fullLayout;t.each((function(t){var o=r.select(this),l=a?u.extractOption(t,e,\\\"txt\\\",\\\"texttemplate\\\"):u.extractOption(t,e,\\\"tx\\\",\\\"text\\\");if(l||0===l){if(a){var h=e._module.formatLabels?e._module.formatLabels(t,e,s):{},p={};v(p,e,t.i);var f=e._meta||{};l=u.texttemplateString(l,h,s._d3locale,p,t,f)}var d=t.tp||e.textposition,m=T(t,e),y=i?i(t):t.tc||e.textfont.color;o.call(g.font,t.tf||e.textfont.family,m,y).text(l).call(c.convertToTspans,n).call(E,d,m,t.mrc)}else o.remove()}))}},g.selectedTextStyle=function(t,e){if(t.size()&&e.selectedpoints){var n=g.makeSelectedTextStyleFns(e);t.each((function(t){var i=r.select(this),o=n.selectedTextColorFn(t),a=t.tp||e.textposition,l=T(t,e);s.fill(i,o),E(i,a,l,t.mrc2||t.mrc)}))}},g.smoothopen=function(t,e){if(t.length<3)return\\\"M\\\"+t.join(\\\"L\\\");var n,r=\\\"M\\\"+t[0],i=[];for(n=1;n<t.length-1;n++)i.push(S(t[n-1],t[n],t[n+1],e));for(r+=\\\"Q\\\"+i[0][0]+\\\" \\\"+t[1],n=2;n<t.length-1;n++)r+=\\\"C\\\"+i[n-2][1]+\\\" \\\"+i[n-1][0]+\\\" \\\"+t[n];return r+\\\"Q\\\"+i[t.length-3][1]+\\\" \\\"+t[t.length-1]},g.smoothclosed=function(t,e){if(t.length<3)return\\\"M\\\"+t.join(\\\"L\\\")+\\\"Z\\\";var n,r=\\\"M\\\"+t[0],i=t.length-1,o=[S(t[i],t[0],t[1],e)];for(n=1;n<i;n++)o.push(S(t[n-1],t[n],t[n+1],e));for(o.push(S(t[i-1],t[i],t[0],e)),n=1;n<=i;n++)r+=\\\"C\\\"+o[n-1][1]+\\\" \\\"+o[n][0]+\\\" \\\"+t[n];return r+\\\"C\\\"+o[i][1]+\\\" \\\"+o[0][0]+\\\" \\\"+t[0]+\\\"Z\\\"};var k={hv:function(t,e){return\\\"H\\\"+r.round(e[0],2)+\\\"V\\\"+r.round(e[1],2)},vh:function(t,e){return\\\"V\\\"+r.round(e[1],2)+\\\"H\\\"+r.round(e[0],2)},hvh:function(t,e){return\\\"H\\\"+r.round((t[0]+e[0])/2,2)+\\\"V\\\"+r.round(e[1],2)+\\\"H\\\"+r.round(e[0],2)},vhv:function(t,e){return\\\"V\\\"+r.round((t[1]+e[1])/2,2)+\\\"H\\\"+r.round(e[0],2)+\\\"V\\\"+r.round(e[1],2)}},O=function(t,e){return\\\"L\\\"+r.round(e[0],2)+\\\",\\\"+r.round(e[1],2)};g.steps=function(t){var e=k[t]||O;return function(t){for(var n=\\\"M\\\"+r.round(t[0][0],2)+\\\",\\\"+r.round(t[0][1],2),i=1;i<t.length;i++)n+=e(t[i-1],t[i]);return n}},g.makeTester=function(){var t=u.ensureSingleById(r.select(\\\"body\\\"),\\\"svg\\\",\\\"js-plotly-tester\\\",(function(t){t.attr(h.svgAttrs).style({position:\\\"absolute\\\",left:\\\"-10000px\\\",top:\\\"-10000px\\\",width:\\\"9000px\\\",height:\\\"9000px\\\",\\\"z-index\\\":\\\"1\\\"})})),e=u.ensureSingle(t,\\\"path\\\",\\\"js-reference-point\\\",(function(t){t.attr(\\\"d\\\",\\\"M0,0H1V1H0Z\\\").style({\\\"stroke-width\\\":0,fill:\\\"black\\\"})}));g.tester=t,g.testref=e},g.savedBBoxes={};var I=0;function L(t){var e=t.getAttribute(\\\"data-unformatted\\\");if(null!==e)return e+t.getAttribute(\\\"data-math\\\")+t.getAttribute(\\\"text-anchor\\\")+t.getAttribute(\\\"style\\\")}function P(t,e){if(!t)return null;var n=e._context;return\\\"url('\\\"+(n._exportedPlot?\\\"\\\":n._baseUrl||\\\"\\\")+\\\"#\\\"+t+\\\"')\\\"}g.bBox=function(t,e,n){var i,o,a;if(n||(n=L(t)),n){if(i=g.savedBBoxes[n])return u.extendFlat({},i)}else if(1===t.childNodes.length){var s=t.childNodes[0];if(n=L(s)){var l=+s.getAttribute(\\\"x\\\")||0,h=+s.getAttribute(\\\"y\\\")||0,p=s.getAttribute(\\\"transform\\\");if(!p){var f=g.bBox(s,!1,n);return l&&(f.left+=l,f.right+=l),h&&(f.top+=h,f.bottom+=h),f}if(n+=\\\"~\\\"+l+\\\"~\\\"+h+\\\"~\\\"+p,i=g.savedBBoxes[n])return u.extendFlat({},i)}}e?o=t:(a=g.tester.node(),o=t.cloneNode(!0),a.appendChild(o)),r.select(o).attr(\\\"transform\\\",null).call(c.positionText,0,0);var d=o.getBoundingClientRect(),m=g.testref.node().getBoundingClientRect();e||a.removeChild(o);var v={height:d.height,width:d.width,left:d.left-m.left,top:d.top-m.top,right:d.right-m.left,bottom:d.bottom-m.top};return I>=1e4&&(g.savedBBoxes={},I=0),n&&(g.savedBBoxes[n]=v),I++,u.extendFlat({},v)},g.setClipUrl=function(t,e,n){t.attr(\\\"clip-path\\\",P(e,n))},g.getTranslate=function(t){var e=(t[t.attr?\\\"attr\\\":\\\"getAttribute\\\"](\\\"transform\\\")||\\\"\\\").replace(/.*\\\\btranslate\\\\((-?\\\\d*\\\\.?\\\\d*)[^-\\\\d]*(-?\\\\d*\\\\.?\\\\d*)[^\\\\d].*/,(function(t,e,n){return[e,n].join(\\\" \\\")})).split(\\\" \\\");return{x:+e[0]||0,y:+e[1]||0}},g.setTranslate=function(t,e,n){var r=t.attr?\\\"attr\\\":\\\"getAttribute\\\",i=t.attr?\\\"attr\\\":\\\"setAttribute\\\",o=t[r](\\\"transform\\\")||\\\"\\\";return e=e||0,n=n||0,o=o.replace(/(\\\\btranslate\\\\(.*?\\\\);?)/,\\\"\\\").trim(),o=(o+=\\\" translate(\\\"+e+\\\", \\\"+n+\\\")\\\").trim(),t[i](\\\"transform\\\",o),o},g.getScale=function(t){var e=(t[t.attr?\\\"attr\\\":\\\"getAttribute\\\"](\\\"transform\\\")||\\\"\\\").replace(/.*\\\\bscale\\\\((\\\\d*\\\\.?\\\\d*)[^\\\\d]*(\\\\d*\\\\.?\\\\d*)[^\\\\d].*/,(function(t,e,n){return[e,n].join(\\\" \\\")})).split(\\\" \\\");return{x:+e[0]||1,y:+e[1]||1}},g.setScale=function(t,e,n){var r=t.attr?\\\"attr\\\":\\\"getAttribute\\\",i=t.attr?\\\"attr\\\":\\\"setAttribute\\\",o=t[r](\\\"transform\\\")||\\\"\\\";return e=e||1,n=n||1,o=o.replace(/(\\\\bscale\\\\(.*?\\\\);?)/,\\\"\\\").trim(),o=(o+=\\\" scale(\\\"+e+\\\", \\\"+n+\\\")\\\").trim(),t[i](\\\"transform\\\",o),o};var z=/\\\\s*sc.*/;g.setPointGroupScale=function(t,e,n){if(e=e||1,n=n||1,t){var r=1===e&&1===n?\\\"\\\":\\\" scale(\\\"+e+\\\",\\\"+n+\\\")\\\";t.each((function(){var t=(this.getAttribute(\\\"transform\\\")||\\\"\\\").replace(z,\\\"\\\");t=(t+=r).trim(),this.setAttribute(\\\"transform\\\",t)}))}};var R=/translate\\\\([^)]*\\\\)\\\\s*$/;g.setTextPointsScale=function(t,e,n){t&&t.each((function(){var t,i=r.select(this),o=i.select(\\\"text\\\");if(o.node()){var a=parseFloat(o.attr(\\\"x\\\")||0),s=parseFloat(o.attr(\\\"y\\\")||0),l=(i.attr(\\\"transform\\\")||\\\"\\\").match(R);t=1===e&&1===n?[]:[\\\"translate(\\\"+a+\\\",\\\"+s+\\\")\\\",\\\"scale(\\\"+e+\\\",\\\"+n+\\\")\\\",\\\"translate(\\\"+-a+\\\",\\\"+-s+\\\")\\\"],l&&t.push(l),i.attr(\\\"transform\\\",t.join(\\\" \\\"))}}))}},{\\\"../../components/fx/helpers\\\":631,\\\"../../constants/alignment\\\":697,\\\"../../constants/interactions\\\":703,\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../registry\\\":859,\\\"../../traces/scatter/make_bubble_size_func\\\":1151,\\\"../../traces/scatter/subtypes\\\":1158,\\\"../color\\\":595,\\\"../colorscale\\\":607,\\\"./symbol_defs\\\":618,d3:164,\\\"fast-isnumeric\\\":236,tinycolor2:528}],618:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\");e.exports={circle:{n:0,f:function(t){var e=r.round(t,2);return\\\"M\\\"+e+\\\",0A\\\"+e+\\\",\\\"+e+\\\" 0 1,1 0,-\\\"+e+\\\"A\\\"+e+\\\",\\\"+e+\\\" 0 0,1 \\\"+e+\\\",0Z\\\"}},square:{n:1,f:function(t){var e=r.round(t,2);return\\\"M\\\"+e+\\\",\\\"+e+\\\"H-\\\"+e+\\\"V-\\\"+e+\\\"H\\\"+e+\\\"Z\\\"}},diamond:{n:2,f:function(t){var e=r.round(1.3*t,2);return\\\"M\\\"+e+\\\",0L0,\\\"+e+\\\"L-\\\"+e+\\\",0L0,-\\\"+e+\\\"Z\\\"}},cross:{n:3,f:function(t){var e=r.round(.4*t,2),n=r.round(1.2*t,2);return\\\"M\\\"+n+\\\",\\\"+e+\\\"H\\\"+e+\\\"V\\\"+n+\\\"H-\\\"+e+\\\"V\\\"+e+\\\"H-\\\"+n+\\\"V-\\\"+e+\\\"H-\\\"+e+\\\"V-\\\"+n+\\\"H\\\"+e+\\\"V-\\\"+e+\\\"H\\\"+n+\\\"Z\\\"}},x:{n:4,f:function(t){var e=r.round(.8*t/Math.sqrt(2),2),n=\\\"l\\\"+e+\\\",\\\"+e,i=\\\"l\\\"+e+\\\",-\\\"+e,o=\\\"l-\\\"+e+\\\",-\\\"+e,a=\\\"l-\\\"+e+\\\",\\\"+e;return\\\"M0,\\\"+e+n+i+o+i+o+a+o+a+n+a+n+\\\"Z\\\"}},\\\"triangle-up\\\":{n:5,f:function(t){var e=r.round(2*t/Math.sqrt(3),2);return\\\"M-\\\"+e+\\\",\\\"+r.round(t/2,2)+\\\"H\\\"+e+\\\"L0,-\\\"+r.round(t,2)+\\\"Z\\\"}},\\\"triangle-down\\\":{n:6,f:function(t){var e=r.round(2*t/Math.sqrt(3),2);return\\\"M-\\\"+e+\\\",-\\\"+r.round(t/2,2)+\\\"H\\\"+e+\\\"L0,\\\"+r.round(t,2)+\\\"Z\\\"}},\\\"triangle-left\\\":{n:7,f:function(t){var e=r.round(2*t/Math.sqrt(3),2);return\\\"M\\\"+r.round(t/2,2)+\\\",-\\\"+e+\\\"V\\\"+e+\\\"L-\\\"+r.round(t,2)+\\\",0Z\\\"}},\\\"triangle-right\\\":{n:8,f:function(t){var e=r.round(2*t/Math.sqrt(3),2);return\\\"M-\\\"+r.round(t/2,2)+\\\",-\\\"+e+\\\"V\\\"+e+\\\"L\\\"+r.round(t,2)+\\\",0Z\\\"}},\\\"triangle-ne\\\":{n:9,f:function(t){var e=r.round(.6*t,2),n=r.round(1.2*t,2);return\\\"M-\\\"+n+\\\",-\\\"+e+\\\"H\\\"+e+\\\"V\\\"+n+\\\"Z\\\"}},\\\"triangle-se\\\":{n:10,f:function(t){var e=r.round(.6*t,2),n=r.round(1.2*t,2);return\\\"M\\\"+e+\\\",-\\\"+n+\\\"V\\\"+e+\\\"H-\\\"+n+\\\"Z\\\"}},\\\"triangle-sw\\\":{n:11,f:function(t){var e=r.round(.6*t,2),n=r.round(1.2*t,2);return\\\"M\\\"+n+\\\",\\\"+e+\\\"H-\\\"+e+\\\"V-\\\"+n+\\\"Z\\\"}},\\\"triangle-nw\\\":{n:12,f:function(t){var e=r.round(.6*t,2),n=r.round(1.2*t,2);return\\\"M-\\\"+e+\\\",\\\"+n+\\\"V-\\\"+e+\\\"H\\\"+n+\\\"Z\\\"}},pentagon:{n:13,f:function(t){var e=r.round(.951*t,2),n=r.round(.588*t,2),i=r.round(-t,2),o=r.round(-.309*t,2);return\\\"M\\\"+e+\\\",\\\"+o+\\\"L\\\"+n+\\\",\\\"+r.round(.809*t,2)+\\\"H-\\\"+n+\\\"L-\\\"+e+\\\",\\\"+o+\\\"L0,\\\"+i+\\\"Z\\\"}},hexagon:{n:14,f:function(t){var e=r.round(t,2),n=r.round(t/2,2),i=r.round(t*Math.sqrt(3)/2,2);return\\\"M\\\"+i+\\\",-\\\"+n+\\\"V\\\"+n+\\\"L0,\\\"+e+\\\"L-\\\"+i+\\\",\\\"+n+\\\"V-\\\"+n+\\\"L0,-\\\"+e+\\\"Z\\\"}},hexagon2:{n:15,f:function(t){var e=r.round(t,2),n=r.round(t/2,2),i=r.round(t*Math.sqrt(3)/2,2);return\\\"M-\\\"+n+\\\",\\\"+i+\\\"H\\\"+n+\\\"L\\\"+e+\\\",0L\\\"+n+\\\",-\\\"+i+\\\"H-\\\"+n+\\\"L-\\\"+e+\\\",0Z\\\"}},octagon:{n:16,f:function(t){var e=r.round(.924*t,2),n=r.round(.383*t,2);return\\\"M-\\\"+n+\\\",-\\\"+e+\\\"H\\\"+n+\\\"L\\\"+e+\\\",-\\\"+n+\\\"V\\\"+n+\\\"L\\\"+n+\\\",\\\"+e+\\\"H-\\\"+n+\\\"L-\\\"+e+\\\",\\\"+n+\\\"V-\\\"+n+\\\"Z\\\"}},star:{n:17,f:function(t){var e=1.4*t,n=r.round(.225*e,2),i=r.round(.951*e,2),o=r.round(.363*e,2),a=r.round(.588*e,2),s=r.round(-e,2),l=r.round(-.309*e,2),u=r.round(.118*e,2),c=r.round(.809*e,2);return\\\"M\\\"+n+\\\",\\\"+l+\\\"H\\\"+i+\\\"L\\\"+o+\\\",\\\"+u+\\\"L\\\"+a+\\\",\\\"+c+\\\"L0,\\\"+r.round(.382*e,2)+\\\"L-\\\"+a+\\\",\\\"+c+\\\"L-\\\"+o+\\\",\\\"+u+\\\"L-\\\"+i+\\\",\\\"+l+\\\"H-\\\"+n+\\\"L0,\\\"+s+\\\"Z\\\"}},hexagram:{n:18,f:function(t){var e=r.round(.66*t,2),n=r.round(.38*t,2),i=r.round(.76*t,2);return\\\"M-\\\"+i+\\\",0l-\\\"+n+\\\",-\\\"+e+\\\"h\\\"+i+\\\"l\\\"+n+\\\",-\\\"+e+\\\"l\\\"+n+\\\",\\\"+e+\\\"h\\\"+i+\\\"l-\\\"+n+\\\",\\\"+e+\\\"l\\\"+n+\\\",\\\"+e+\\\"h-\\\"+i+\\\"l-\\\"+n+\\\",\\\"+e+\\\"l-\\\"+n+\\\",-\\\"+e+\\\"h-\\\"+i+\\\"Z\\\"}},\\\"star-triangle-up\\\":{n:19,f:function(t){var e=r.round(t*Math.sqrt(3)*.8,2),n=r.round(.8*t,2),i=r.round(1.6*t,2),o=r.round(4*t,2),a=\\\"A \\\"+o+\\\",\\\"+o+\\\" 0 0 1 \\\";return\\\"M-\\\"+e+\\\",\\\"+n+a+e+\\\",\\\"+n+a+\\\"0,-\\\"+i+a+\\\"-\\\"+e+\\\",\\\"+n+\\\"Z\\\"}},\\\"star-triangle-down\\\":{n:20,f:function(t){var e=r.round(t*Math.sqrt(3)*.8,2),n=r.round(.8*t,2),i=r.round(1.6*t,2),o=r.round(4*t,2),a=\\\"A \\\"+o+\\\",\\\"+o+\\\" 0 0 1 \\\";return\\\"M\\\"+e+\\\",-\\\"+n+a+\\\"-\\\"+e+\\\",-\\\"+n+a+\\\"0,\\\"+i+a+e+\\\",-\\\"+n+\\\"Z\\\"}},\\\"star-square\\\":{n:21,f:function(t){var e=r.round(1.1*t,2),n=r.round(2*t,2),i=\\\"A \\\"+n+\\\",\\\"+n+\\\" 0 0 1 \\\";return\\\"M-\\\"+e+\\\",-\\\"+e+i+\\\"-\\\"+e+\\\",\\\"+e+i+e+\\\",\\\"+e+i+e+\\\",-\\\"+e+i+\\\"-\\\"+e+\\\",-\\\"+e+\\\"Z\\\"}},\\\"star-diamond\\\":{n:22,f:function(t){var e=r.round(1.4*t,2),n=r.round(1.9*t,2),i=\\\"A \\\"+n+\\\",\\\"+n+\\\" 0 0 1 \\\";return\\\"M-\\\"+e+\\\",0\\\"+i+\\\"0,\\\"+e+i+e+\\\",0\\\"+i+\\\"0,-\\\"+e+i+\\\"-\\\"+e+\\\",0Z\\\"}},\\\"diamond-tall\\\":{n:23,f:function(t){var e=r.round(.7*t,2),n=r.round(1.4*t,2);return\\\"M0,\\\"+n+\\\"L\\\"+e+\\\",0L0,-\\\"+n+\\\"L-\\\"+e+\\\",0Z\\\"}},\\\"diamond-wide\\\":{n:24,f:function(t){var e=r.round(1.4*t,2),n=r.round(.7*t,2);return\\\"M0,\\\"+n+\\\"L\\\"+e+\\\",0L0,-\\\"+n+\\\"L-\\\"+e+\\\",0Z\\\"}},hourglass:{n:25,f:function(t){var e=r.round(t,2);return\\\"M\\\"+e+\\\",\\\"+e+\\\"H-\\\"+e+\\\"L\\\"+e+\\\",-\\\"+e+\\\"H-\\\"+e+\\\"Z\\\"},noDot:!0},bowtie:{n:26,f:function(t){var e=r.round(t,2);return\\\"M\\\"+e+\\\",\\\"+e+\\\"V-\\\"+e+\\\"L-\\\"+e+\\\",\\\"+e+\\\"V-\\\"+e+\\\"Z\\\"},noDot:!0},\\\"circle-cross\\\":{n:27,f:function(t){var e=r.round(t,2);return\\\"M0,\\\"+e+\\\"V-\\\"+e+\\\"M\\\"+e+\\\",0H-\\\"+e+\\\"M\\\"+e+\\\",0A\\\"+e+\\\",\\\"+e+\\\" 0 1,1 0,-\\\"+e+\\\"A\\\"+e+\\\",\\\"+e+\\\" 0 0,1 \\\"+e+\\\",0Z\\\"},needLine:!0,noDot:!0},\\\"circle-x\\\":{n:28,f:function(t){var e=r.round(t,2),n=r.round(t/Math.sqrt(2),2);return\\\"M\\\"+n+\\\",\\\"+n+\\\"L-\\\"+n+\\\",-\\\"+n+\\\"M\\\"+n+\\\",-\\\"+n+\\\"L-\\\"+n+\\\",\\\"+n+\\\"M\\\"+e+\\\",0A\\\"+e+\\\",\\\"+e+\\\" 0 1,1 0,-\\\"+e+\\\"A\\\"+e+\\\",\\\"+e+\\\" 0 0,1 \\\"+e+\\\",0Z\\\"},needLine:!0,noDot:!0},\\\"square-cross\\\":{n:29,f:function(t){var e=r.round(t,2);return\\\"M0,\\\"+e+\\\"V-\\\"+e+\\\"M\\\"+e+\\\",0H-\\\"+e+\\\"M\\\"+e+\\\",\\\"+e+\\\"H-\\\"+e+\\\"V-\\\"+e+\\\"H\\\"+e+\\\"Z\\\"},needLine:!0,noDot:!0},\\\"square-x\\\":{n:30,f:function(t){var e=r.round(t,2);return\\\"M\\\"+e+\\\",\\\"+e+\\\"L-\\\"+e+\\\",-\\\"+e+\\\"M\\\"+e+\\\",-\\\"+e+\\\"L-\\\"+e+\\\",\\\"+e+\\\"M\\\"+e+\\\",\\\"+e+\\\"H-\\\"+e+\\\"V-\\\"+e+\\\"H\\\"+e+\\\"Z\\\"},needLine:!0,noDot:!0},\\\"diamond-cross\\\":{n:31,f:function(t){var e=r.round(1.3*t,2);return\\\"M\\\"+e+\\\",0L0,\\\"+e+\\\"L-\\\"+e+\\\",0L0,-\\\"+e+\\\"ZM0,-\\\"+e+\\\"V\\\"+e+\\\"M-\\\"+e+\\\",0H\\\"+e},needLine:!0,noDot:!0},\\\"diamond-x\\\":{n:32,f:function(t){var e=r.round(1.3*t,2),n=r.round(.65*t,2);return\\\"M\\\"+e+\\\",0L0,\\\"+e+\\\"L-\\\"+e+\\\",0L0,-\\\"+e+\\\"ZM-\\\"+n+\\\",-\\\"+n+\\\"L\\\"+n+\\\",\\\"+n+\\\"M-\\\"+n+\\\",\\\"+n+\\\"L\\\"+n+\\\",-\\\"+n},needLine:!0,noDot:!0},\\\"cross-thin\\\":{n:33,f:function(t){var e=r.round(1.4*t,2);return\\\"M0,\\\"+e+\\\"V-\\\"+e+\\\"M\\\"+e+\\\",0H-\\\"+e},needLine:!0,noDot:!0,noFill:!0},\\\"x-thin\\\":{n:34,f:function(t){var e=r.round(t,2);return\\\"M\\\"+e+\\\",\\\"+e+\\\"L-\\\"+e+\\\",-\\\"+e+\\\"M\\\"+e+\\\",-\\\"+e+\\\"L-\\\"+e+\\\",\\\"+e},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(t){var e=r.round(1.2*t,2),n=r.round(.85*t,2);return\\\"M0,\\\"+e+\\\"V-\\\"+e+\\\"M\\\"+e+\\\",0H-\\\"+e+\\\"M\\\"+n+\\\",\\\"+n+\\\"L-\\\"+n+\\\",-\\\"+n+\\\"M\\\"+n+\\\",-\\\"+n+\\\"L-\\\"+n+\\\",\\\"+n},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(t){var e=r.round(t/2,2),n=r.round(t,2);return\\\"M\\\"+e+\\\",\\\"+n+\\\"V-\\\"+n+\\\"m-\\\"+n+\\\",0V\\\"+n+\\\"M\\\"+n+\\\",\\\"+e+\\\"H-\\\"+n+\\\"m0,-\\\"+n+\\\"H\\\"+n},needLine:!0,noFill:!0},\\\"y-up\\\":{n:37,f:function(t){var e=r.round(1.2*t,2),n=r.round(1.6*t,2),i=r.round(.8*t,2);return\\\"M-\\\"+e+\\\",\\\"+i+\\\"L0,0M\\\"+e+\\\",\\\"+i+\\\"L0,0M0,-\\\"+n+\\\"L0,0\\\"},needLine:!0,noDot:!0,noFill:!0},\\\"y-down\\\":{n:38,f:function(t){var e=r.round(1.2*t,2),n=r.round(1.6*t,2),i=r.round(.8*t,2);return\\\"M-\\\"+e+\\\",-\\\"+i+\\\"L0,0M\\\"+e+\\\",-\\\"+i+\\\"L0,0M0,\\\"+n+\\\"L0,0\\\"},needLine:!0,noDot:!0,noFill:!0},\\\"y-left\\\":{n:39,f:function(t){var e=r.round(1.2*t,2),n=r.round(1.6*t,2),i=r.round(.8*t,2);return\\\"M\\\"+i+\\\",\\\"+e+\\\"L0,0M\\\"+i+\\\",-\\\"+e+\\\"L0,0M-\\\"+n+\\\",0L0,0\\\"},needLine:!0,noDot:!0,noFill:!0},\\\"y-right\\\":{n:40,f:function(t){var e=r.round(1.2*t,2),n=r.round(1.6*t,2),i=r.round(.8*t,2);return\\\"M-\\\"+i+\\\",\\\"+e+\\\"L0,0M-\\\"+i+\\\",-\\\"+e+\\\"L0,0M\\\"+n+\\\",0L0,0\\\"},needLine:!0,noDot:!0,noFill:!0},\\\"line-ew\\\":{n:41,f:function(t){var e=r.round(1.4*t,2);return\\\"M\\\"+e+\\\",0H-\\\"+e},needLine:!0,noDot:!0,noFill:!0},\\\"line-ns\\\":{n:42,f:function(t){var e=r.round(1.4*t,2);return\\\"M0,\\\"+e+\\\"V-\\\"+e},needLine:!0,noDot:!0,noFill:!0},\\\"line-ne\\\":{n:43,f:function(t){var e=r.round(t,2);return\\\"M\\\"+e+\\\",-\\\"+e+\\\"L-\\\"+e+\\\",\\\"+e},needLine:!0,noDot:!0,noFill:!0},\\\"line-nw\\\":{n:44,f:function(t){var e=r.round(t,2);return\\\"M\\\"+e+\\\",\\\"+e+\\\"L-\\\"+e+\\\",-\\\"+e},needLine:!0,noDot:!0,noFill:!0}}},{d3:164}],619:[function(t,e,n){\\\"use strict\\\";e.exports={visible:{valType:\\\"boolean\\\",editType:\\\"calc\\\"},type:{valType:\\\"enumerated\\\",values:[\\\"percent\\\",\\\"constant\\\",\\\"sqrt\\\",\\\"data\\\"],editType:\\\"calc\\\"},symmetric:{valType:\\\"boolean\\\",editType:\\\"calc\\\"},array:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},arrayminus:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},value:{valType:\\\"number\\\",min:0,dflt:10,editType:\\\"calc\\\"},valueminus:{valType:\\\"number\\\",min:0,dflt:10,editType:\\\"calc\\\"},traceref:{valType:\\\"integer\\\",min:0,dflt:0,editType:\\\"style\\\"},tracerefminus:{valType:\\\"integer\\\",min:0,dflt:0,editType:\\\"style\\\"},copy_ystyle:{valType:\\\"boolean\\\",editType:\\\"plot\\\"},copy_zstyle:{valType:\\\"boolean\\\",editType:\\\"style\\\"},color:{valType:\\\"color\\\",editType:\\\"style\\\"},thickness:{valType:\\\"number\\\",min:0,dflt:2,editType:\\\"style\\\"},width:{valType:\\\"number\\\",min:0,editType:\\\"plot\\\"},editType:\\\"calc\\\",_deprecated:{opacity:{valType:\\\"number\\\",editType:\\\"style\\\"}}}},{}],620:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"./compute_error\\\");function l(t,e,n,i){var l=e[\\\"error_\\\"+i]||{},u=[];if(l.visible&&-1!==[\\\"linear\\\",\\\"log\\\"].indexOf(n.type)){for(var c=s(l),h=0;h<t.length;h++){var p=t[h],f=p.i;if(void 0===f)f=h;else if(null===f)continue;var d=p[i];if(r(n.c2l(d))){var m=c(d,f);if(r(m[0])&&r(m[1])){var v=p[i+\\\"s\\\"]=d-m[0],g=p[i+\\\"h\\\"]=d+m[1];u.push(v,g)}}}var y=n._id,_=e._extremes[y],b=o.findExtremes(n,u,a.extendFlat({tozero:_.opts.tozero},{padded:!0}));_.min=_.min.concat(b.min),_.max=_.max.concat(b.max)}}e.exports=function(t){for(var e=t.calcdata,n=0;n<e.length;n++){var r=e[n],a=r[0].trace;if(!0===a.visible&&i.traceIs(a,\\\"errorBarsOK\\\")){var s=o.getFromId(t,a.xaxis),u=o.getFromId(t,a.yaxis);l(r,a,s,\\\"x\\\"),l(r,a,u,\\\"y\\\")}}}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"./compute_error\\\":621,\\\"fast-isnumeric\\\":236}],621:[function(t,e,n){\\\"use strict\\\";function r(t,e){return\\\"percent\\\"===t?function(t){return Math.abs(t*e/100)}:\\\"constant\\\"===t?function(){return Math.abs(e)}:\\\"sqrt\\\"===t?function(t){return Math.sqrt(Math.abs(t))}:void 0}e.exports=function(t){var e=t.type,n=t.symmetric;if(\\\"data\\\"===e){var i=t.array||[];if(n)return function(t,e){var n=+i[e];return[n,n]};var o=t.arrayminus||[];return function(t,e){var n=+i[e],r=+o[e];return isNaN(n)&&isNaN(r)?[NaN,NaN]:[r||0,n||0]}}var a=r(e,t.value),s=r(e,t.valueminus);return n||void 0===t.valueminus?function(t){var e=a(t);return[e,e]}:function(t){return[s(t),a(t)]}}},{}],622:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../plot_api/plot_template\\\"),s=t(\\\"./attributes\\\");e.exports=function(t,e,n,l){var u=\\\"error_\\\"+l.axis,c=a.newContainer(e,u),h=t[u]||{};function p(t,e){return o.coerce(h,c,s,t,e)}if(!1!==p(\\\"visible\\\",void 0!==h.array||void 0!==h.value||\\\"sqrt\\\"===h.type)){var f=p(\\\"type\\\",\\\"array\\\"in h?\\\"data\\\":\\\"percent\\\"),d=!0;\\\"sqrt\\\"!==f&&(d=p(\\\"symmetric\\\",!((\\\"data\\\"===f?\\\"arrayminus\\\":\\\"valueminus\\\")in h))),\\\"data\\\"===f?(p(\\\"array\\\"),p(\\\"traceref\\\"),d||(p(\\\"arrayminus\\\"),p(\\\"tracerefminus\\\"))):\\\"percent\\\"!==f&&\\\"constant\\\"!==f||(p(\\\"value\\\"),d||p(\\\"valueminus\\\"));var m=\\\"copy_\\\"+l.inherit+\\\"style\\\";l.inherit&&(e[\\\"error_\\\"+l.inherit]||{}).visible&&p(m,!(h.color||r(h.thickness)||r(h.width))),l.inherit&&c[m]||(p(\\\"color\\\",n),p(\\\"thickness\\\"),p(\\\"width\\\",i.traceIs(e,\\\"gl3d\\\")?0:4))}}},{\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../registry\\\":859,\\\"./attributes\\\":619,\\\"fast-isnumeric\\\":236}],623:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plot_api/edit_types\\\").overrideAll,o=t(\\\"./attributes\\\"),a={error_x:r.extendFlat({},o),error_y:r.extendFlat({},o)};delete a.error_x.copy_zstyle,delete a.error_y.copy_zstyle,delete a.error_y.copy_ystyle;var s={error_x:r.extendFlat({},o),error_y:r.extendFlat({},o),error_z:r.extendFlat({},o)};delete s.error_x.copy_ystyle,delete s.error_y.copy_ystyle,delete s.error_z.copy_ystyle,delete s.error_z.copy_zstyle,e.exports={moduleType:\\\"component\\\",name:\\\"errorbars\\\",schema:{traces:{scatter:a,bar:a,histogram:a,scatter3d:i(s,\\\"calc\\\",\\\"nested\\\"),scattergl:i(a,\\\"calc\\\",\\\"nested\\\")}},supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),makeComputeError:t(\\\"./compute_error\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"./style\\\"),hoverInfo:function(t,e,n){(e.error_y||{}).visible&&(n.yerr=t.yh-t.y,e.error_y.symmetric||(n.yerrneg=t.y-t.ys)),(e.error_x||{}).visible&&(n.xerr=t.xh-t.x,e.error_x.symmetric||(n.xerrneg=t.x-t.xs))}}},{\\\"../../lib\\\":728,\\\"../../plot_api/edit_types\\\":759,\\\"./attributes\\\":619,\\\"./calc\\\":620,\\\"./compute_error\\\":621,\\\"./defaults\\\":622,\\\"./plot\\\":624,\\\"./style\\\":625}],624:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../drawing\\\"),a=t(\\\"../../traces/scatter/subtypes\\\");e.exports=function(t,e,n,s){var l=n.xaxis,u=n.yaxis,c=s&&s.duration>0;e.each((function(e){var h,p=e[0].trace,f=p.error_x||{},d=p.error_y||{};p.ids&&(h=function(t){return t.id});var m=a.hasMarkers(p)&&p.marker.maxdisplayed>0;d.visible||f.visible||(e=[]);var v=r.select(this).selectAll(\\\"g.errorbar\\\").data(e,h);if(v.exit().remove(),e.length){f.visible||v.selectAll(\\\"path.xerror\\\").remove(),d.visible||v.selectAll(\\\"path.yerror\\\").remove(),v.style(\\\"opacity\\\",1);var g=v.enter().append(\\\"g\\\").classed(\\\"errorbar\\\",!0);c&&g.style(\\\"opacity\\\",0).transition().duration(s.duration).style(\\\"opacity\\\",1),o.setClipUrl(v,n.layerClipId,t),v.each((function(t){var e=r.select(this),n=function(t,e,n){var r={x:e.c2p(t.x),y:n.c2p(t.y)};return void 0!==t.yh&&(r.yh=n.c2p(t.yh),r.ys=n.c2p(t.ys),i(r.ys)||(r.noYS=!0,r.ys=n.c2p(t.ys,!0))),void 0!==t.xh&&(r.xh=e.c2p(t.xh),r.xs=e.c2p(t.xs),i(r.xs)||(r.noXS=!0,r.xs=e.c2p(t.xs,!0))),r}(t,l,u);if(!m||t.vis){var o,a=e.select(\\\"path.yerror\\\");if(d.visible&&i(n.x)&&i(n.yh)&&i(n.ys)){var h=d.width;o=\\\"M\\\"+(n.x-h)+\\\",\\\"+n.yh+\\\"h\\\"+2*h+\\\"m-\\\"+h+\\\",0V\\\"+n.ys,n.noYS||(o+=\\\"m-\\\"+h+\\\",0h\\\"+2*h),a.size()?c&&(a=a.transition().duration(s.duration).ease(s.easing)):a=e.append(\\\"path\\\").style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\").classed(\\\"yerror\\\",!0),a.attr(\\\"d\\\",o)}else a.remove();var p=e.select(\\\"path.xerror\\\");if(f.visible&&i(n.y)&&i(n.xh)&&i(n.xs)){var v=(f.copy_ystyle?d:f).width;o=\\\"M\\\"+n.xh+\\\",\\\"+(n.y-v)+\\\"v\\\"+2*v+\\\"m0,-\\\"+v+\\\"H\\\"+n.xs,n.noXS||(o+=\\\"m0,-\\\"+v+\\\"v\\\"+2*v),p.size()?c&&(p=p.transition().duration(s.duration).ease(s.easing)):p=e.append(\\\"path\\\").style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\").classed(\\\"xerror\\\",!0),p.attr(\\\"d\\\",o)}else p.remove()}}))}}))}},{\\\"../../traces/scatter/subtypes\\\":1158,\\\"../drawing\\\":617,d3:164,\\\"fast-isnumeric\\\":236}],625:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../color\\\");e.exports=function(t){t.each((function(t){var e=t[0].trace,n=e.error_y||{},o=e.error_x||{},a=r.select(this);a.selectAll(\\\"path.yerror\\\").style(\\\"stroke-width\\\",n.thickness+\\\"px\\\").call(i.stroke,n.color),o.copy_ystyle&&(o=n),a.selectAll(\\\"path.xerror\\\").style(\\\"stroke-width\\\",o.thickness+\\\"px\\\").call(i.stroke,o.color)}))}},{\\\"../color\\\":595,d3:164}],626:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/font_attributes\\\"),i=t(\\\"./layout_attributes\\\").hoverlabel,o=t(\\\"../../lib/extend\\\").extendFlat;e.exports={hoverlabel:{bgcolor:o({},i.bgcolor,{arrayOk:!0}),bordercolor:o({},i.bordercolor,{arrayOk:!0}),font:r({arrayOk:!0,editType:\\\"none\\\"}),align:o({},i.align,{arrayOk:!0}),namelength:o({},i.namelength,{arrayOk:!0}),editType:\\\"none\\\"}}},{\\\"../../lib/extend\\\":719,\\\"../../plots/font_attributes\\\":804,\\\"./layout_attributes\\\":636}],627:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../registry\\\");function o(t,e,n,i){i=i||r.identity,Array.isArray(t)&&(e[0][n]=i(t))}e.exports=function(t){var e=t.calcdata,n=t._fullLayout;function a(t){return function(e){return r.coerceHoverinfo({hoverinfo:e},{_module:t._module},n)}}for(var s=0;s<e.length;s++){var l=e[s],u=l[0].trace;if(!i.traceIs(u,\\\"pie-like\\\")){var c=i.traceIs(u,\\\"2dMap\\\")?o:r.fillArray;c(u.hoverinfo,l,\\\"hi\\\",a(u)),u.hovertemplate&&c(u.hovertemplate,l,\\\"ht\\\"),u.hoverlabel&&(c(u.hoverlabel.bgcolor,l,\\\"hbg\\\"),c(u.hoverlabel.bordercolor,l,\\\"hbc\\\"),c(u.hoverlabel.font.size,l,\\\"hts\\\"),c(u.hoverlabel.font.color,l,\\\"htc\\\"),c(u.hoverlabel.font.family,l,\\\"htf\\\"),c(u.hoverlabel.namelength,l,\\\"hnl\\\"),c(u.hoverlabel.align,l,\\\"hta\\\"))}}}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859}],628:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"./hover\\\").hover;e.exports=function(t,e,n){var o=r.getComponentMethod(\\\"annotations\\\",\\\"onClick\\\")(t,t._hoverdata);function a(){t.emit(\\\"plotly_click\\\",{points:t._hoverdata,event:e})}void 0!==n&&i(t,e,n,!0),t._hoverdata&&e&&e.target&&(o&&o.then?o.then(a):a(),e.stopImmediatePropagation&&e.stopImmediatePropagation())}},{\\\"../../registry\\\":859,\\\"./hover\\\":632}],629:[function(t,e,n){\\\"use strict\\\";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:\\\"Arial, sans-serif\\\",HOVERMINTIME:50,HOVERID:\\\"-hover\\\"}},{}],630:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"./hoverlabel_defaults\\\");e.exports=function(t,e,n,a){var s=r.extendFlat({},a.hoverlabel);e.hovertemplate&&(s.namelength=-1),o(t,e,(function(n,o){return r.coerce(t,e,i,n,o)}),s)}},{\\\"../../lib\\\":728,\\\"./attributes\\\":626,\\\"./hoverlabel_defaults\\\":633}],631:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");n.getSubplot=function(t){return t.subplot||t.xaxis+t.yaxis||t.geo},n.isTraceInSubplots=function(t,e){if(\\\"splom\\\"===t.type){for(var r=t.xaxes||[],i=t.yaxes||[],o=0;o<r.length;o++)for(var a=0;a<i.length;a++)if(-1!==e.indexOf(r[o]+i[a]))return!0;return!1}return-1!==e.indexOf(n.getSubplot(t))},n.flat=function(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e;return n},n.p2c=function(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r].p2c(e);return n},n.getDistanceFunction=function(t,e,r,i){return\\\"closest\\\"===t?i||n.quadrature(e,r):\\\"x\\\"===t.charAt(0)?e:r},n.getClosest=function(t,e,n){if(!1!==n.index)n.index>=0&&n.index<t.length?n.distance=0:n.index=!1;else for(var r=0;r<t.length;r++){var i=e(t[r]);i<=n.distance&&(n.index=r,n.distance=i)}return n},n.inbox=function(t,e,n){return t*e<0||0===t?n:1/0},n.quadrature=function(t,e){return function(n){var r=t(n),i=e(n);return Math.sqrt(r*r+i*i)}},n.makeEventData=function(t,e,r){var i=\\\"index\\\"in t?t.index:t.pointNumber,o={data:e._input,fullData:e,curveNumber:e.index,pointNumber:i};if(e._indexToPoints){var a=e._indexToPoints[i];1===a.length?o.pointIndex=a[0]:o.pointIndices=a}else o.pointIndex=i;return e._module.eventData?o=e._module.eventData(o,t,e,r,i):(\\\"xVal\\\"in t?o.x=t.xVal:\\\"x\\\"in t&&(o.x=t.x),\\\"yVal\\\"in t?o.y=t.yVal:\\\"y\\\"in t&&(o.y=t.y),t.xa&&(o.xaxis=t.xa),t.ya&&(o.yaxis=t.ya),void 0!==t.zLabelVal&&(o.z=t.zLabelVal)),n.appendArrayPointValue(o,e,i),o},n.appendArrayPointValue=function(t,e,n){var i=e._arrayAttrs;if(i)for(var s=0;s<i.length;s++){var l=i[s],u=o(l);if(void 0===t[u]){var c=a(r.nestedProperty(e,l).get(),n);void 0!==c&&(t[u]=c)}}},n.appendArrayMultiPointValues=function(t,e,n){var i=e._arrayAttrs;if(i)for(var s=0;s<i.length;s++){var l=i[s],u=o(l);if(void 0===t[u]){for(var c=r.nestedProperty(e,l).get(),h=new Array(n.length),p=0;p<n.length;p++)h[p]=a(c,n[p]);t[u]=h}}};var i={ids:\\\"id\\\",locations:\\\"location\\\",labels:\\\"label\\\",values:\\\"value\\\",\\\"marker.colors\\\":\\\"color\\\",parents:\\\"parent\\\"};function o(t){return i[t]||t}function a(t,e){return Array.isArray(e)?Array.isArray(t)&&Array.isArray(t[e[0]])?t[e[0]][e[1]]:void 0:t[e]}var s={x:!0,y:!0},l={\\\"x unified\\\":!0,\\\"y unified\\\":!0};n.isUnifiedHover=function(t){return\\\"string\\\"==typeof t&&!!l[t]},n.isXYhover=function(t){return\\\"string\\\"==typeof t&&!!s[t]}},{\\\"../../lib\\\":728}],632:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"tinycolor2\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../lib/events\\\"),l=t(\\\"../../lib/svg_text_utils\\\"),u=t(\\\"../../lib/override_cursor\\\"),c=t(\\\"../drawing\\\"),h=t(\\\"../color\\\"),p=t(\\\"../dragelement\\\"),f=t(\\\"../../plots/cartesian/axes\\\"),d=t(\\\"../../registry\\\"),m=t(\\\"./helpers\\\"),v=t(\\\"./constants\\\"),g=t(\\\"../legend/defaults\\\"),y=t(\\\"../legend/draw\\\"),_=v.YANGLE,b=Math.PI*_/180,x=1/Math.sin(b),w=Math.cos(b),A=Math.sin(b),C=v.HOVERARROWSIZE,M=v.HOVERTEXTPAD;function E(t,e,n,o){n||(n=\\\"xy\\\");var l=Array.isArray(n)?n:[n],c=t._fullLayout,f=c._plots||[],v=f[n],g=c._has(\\\"cartesian\\\");if(v){var y=v.overlays.map((function(t){return t.id}));l=l.concat(y)}for(var _=l.length,b=new Array(_),w=new Array(_),A=!1,C=0;C<_;C++){var M=l[C];if(f[M])A=!0,b[C]=f[M].xaxis,w[C]=f[M].yaxis;else{if(!c[M]||!c[M]._subplot)return void a.warn(\\\"Unrecognized subplot: \\\"+M);var E=c[M]._subplot;b[C]=E.xaxis,w[C]=E.yaxis}}var S=e.hovermode||c.hovermode;if(S&&!A&&(S=\\\"closest\\\"),-1===[\\\"x\\\",\\\"y\\\",\\\"closest\\\",\\\"x unified\\\",\\\"y unified\\\"].indexOf(S)||!t.calcdata||t.querySelector(\\\".zoombox\\\")||t._dragging)return p.unhoverRaw(t,e);var O,R,D,$,B,N,F,j,U,q,V,H,G,W=-1===c.hoverdistance?1/0:c.hoverdistance,X=-1===c.spikedistance?1/0:c.spikedistance,Y=[],Z=[],K={hLinePoint:null,vLinePoint:null},J=!1;if(Array.isArray(e))for(S=\\\"array\\\",D=0;D<e.length;D++)(B=t.calcdata[e[D].curveNumber||0])&&(N=B[0].trace,\\\"skip\\\"!==B[0].trace.hoverinfo&&(Z.push(B),\\\"h\\\"===N.orientation&&(J=!0)));else{for($=0;$<t.calcdata.length;$++)B=t.calcdata[$],\\\"skip\\\"!==(N=B[0].trace).hoverinfo&&m.isTraceInSubplots(N,l)&&(Z.push(B),\\\"h\\\"===N.orientation&&(J=!0));var Q,tt;if(e.target){if(!1===s.triggerHandler(t,\\\"plotly_beforehover\\\",e))return;var et=e.target.getBoundingClientRect();if(Q=e.clientX-et.left,tt=e.clientY-et.top,Q<0||Q>b[0]._length||tt<0||tt>w[0]._length)return p.unhoverRaw(t,e)}else Q=\\\"xpx\\\"in e?e.xpx:b[0]._length/2,tt=\\\"ypx\\\"in e?e.ypx:w[0]._length/2;if(e.pointerX=Q+b[0]._offset,e.pointerY=tt+w[0]._offset,O=\\\"xval\\\"in e?m.flat(l,e.xval):m.p2c(b,Q),R=\\\"yval\\\"in e?m.flat(l,e.yval):m.p2c(w,tt),!i(O[0])||!i(R[0]))return a.warn(\\\"Fx.hover failed\\\",e,t),p.unhoverRaw(t,e)}var nt=1/0;function rt(t,n){for($=0;$<Z.length;$++)if((B=Z[$])&&B[0]&&B[0].trace&&!0===(N=B[0].trace).visible&&0!==N._length&&-1===[\\\"carpet\\\",\\\"contourcarpet\\\"].indexOf(N._module.name)){if(\\\"splom\\\"===N.type?F=l[j=0]:(F=m.getSubplot(N),j=l.indexOf(F)),U=S,m.isUnifiedHover(U)&&(U=U.charAt(0)),H={cd:B,trace:N,xa:b[j],ya:w[j],maxHoverDistance:W,maxSpikeDistance:X,index:!1,distance:Math.min(nt,W),spikeDistance:1/0,xSpike:void 0,ySpike:void 0,color:h.defaultLine,name:N.name,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},c[F]&&(H.subplot=c[F]._subplot),c._splomScenes&&c._splomScenes[N.uid]&&(H.scene=c._splomScenes[N.uid]),G=Y.length,\\\"array\\\"===U){var r=e[$];\\\"pointNumber\\\"in r?(H.index=r.pointNumber,U=\\\"closest\\\"):(U=\\\"\\\",\\\"xval\\\"in r&&(q=r.xval,U=\\\"x\\\"),\\\"yval\\\"in r&&(V=r.yval,U=U?\\\"closest\\\":\\\"y\\\"))}else void 0!==t&&void 0!==n?(q=t,V=n):(q=O[j],V=R[j]);if(0!==W)if(N._module&&N._module.hoverPoints){var o=N._module.hoverPoints(H,q,V,U,c._hoverlayer);if(o)for(var s,u=0;u<o.length;u++)s=o[u],i(s.x0)&&i(s.y0)&&Y.push(L(s,S))}else a.log(\\\"Unrecognized trace type in hover:\\\",N);if(\\\"closest\\\"===S&&Y.length>G&&(Y.splice(0,G),nt=Y[0].distance),g&&0!==X&&0===Y.length){H.distance=X,H.index=!1;var p=N._module.hoverPoints(H,q,V,\\\"closest\\\",c._hoverlayer);if(p&&(p=p.filter((function(t){return t.spikeDistance<=X}))),p&&p.length){var f,d=p.filter((function(t){return t.xa.showspikes&&\\\"hovered data\\\"!==t.xa.spikesnap}));if(d.length){var v=d[0];i(v.x0)&&i(v.y0)&&(f=ot(v),(!K.vLinePoint||K.vLinePoint.spikeDistance>f.spikeDistance)&&(K.vLinePoint=f))}var y=p.filter((function(t){return t.ya.showspikes&&\\\"hovered data\\\"!==t.ya.spikesnap}));if(y.length){var _=y[0];i(_.x0)&&i(_.y0)&&(f=ot(_),(!K.hLinePoint||K.hLinePoint.spikeDistance>f.spikeDistance)&&(K.hLinePoint=f))}}}}}function it(t,e){for(var n,r=null,i=1/0,o=0;o<t.length;o++)(n=t[o].spikeDistance)<=i&&n<=e&&(r=t[o],i=n);return r}function ot(t){return t?{xa:t.xa,ya:t.ya,x:void 0!==t.xSpike?t.xSpike:(t.x0+t.x1)/2,y:void 0!==t.ySpike?t.ySpike:(t.y0+t.y1)/2,distance:t.distance,spikeDistance:t.spikeDistance,curveNumber:t.trace.index,color:t.color,pointNumber:t.index}:null}rt();var at={fullLayout:c,container:c._hoverlayer,outerContainer:c._paperdiv,event:e},st=t._spikepoints,lt={vLinePoint:K.vLinePoint,hLinePoint:K.hLinePoint};if(t._spikepoints=lt,g&&0!==X&&0!==Y.length){var ut=it(Y.filter((function(t){return t.ya.showspikes})),X);K.hLinePoint=ot(ut);var ct=it(Y.filter((function(t){return t.xa.showspikes})),X);K.vLinePoint=ot(ct)}if(0===Y.length){var ht=p.unhoverRaw(t,e);return!g||null===K.hLinePoint&&null===K.vLinePoint||z(st)&&P(t,K,at),ht}if(g&&z(st)&&P(t,K,at),Y.sort((function(t,e){return t.distance-e.distance})),m.isXYhover(U)&&0!==Y[0].length&&\\\"splom\\\"!==Y[0].trace.type){var pt=Y[0],ft=pt.cd[pt.index],dt=\\\"group\\\"===c.boxmode||\\\"group\\\"===c.violinmode,mt=pt.xVal,vt=pt.xa;\\\"category\\\"===vt.type&&(mt=vt._categoriesMap[mt]),\\\"date\\\"===vt.type&&(mt=vt.d2c(mt)),ft&&ft.t&&ft.t.posLetter===vt._id&&dt&&(mt+=ft.t.dPos);var gt=pt.yVal;\\\"category\\\"===(vt=pt.ya).type&&(gt=vt._categoriesMap[gt]),\\\"date\\\"===vt.type&&(gt=vt.d2c(gt)),ft&&ft.t&&ft.t.posLetter===vt._id&&dt&&(gt+=ft.t.dPos),rt(mt,gt);var yt={};Y=Y.filter((function(t){var e=T(t);if(!yt[e])return yt[e]=!0,yt[e]}))}var _t=t._hoverdata,bt=[];for(D=0;D<Y.length;D++){var xt=Y[D],wt=m.makeEventData(xt,xt.trace,xt.cd);if(!1!==xt.hovertemplate){var At=!1;xt.cd[xt.index]&&xt.cd[xt.index].ht&&(At=xt.cd[xt.index].ht),xt.hovertemplate=At||xt.trace.hovertemplate||!1}xt.eventData=[wt],bt.push(wt)}t._hoverdata=bt;var Ct=\\\"y\\\"===S&&(Z.length>1||Y.length>1)||\\\"closest\\\"===S&&J&&Y.length>1,Mt=h.combine(c.plot_bgcolor||h.background,c.paper_bgcolor),Et={hovermode:S,rotateLabels:Ct,bgColor:Mt,container:c._hoverlayer,outerContainer:c._paperdiv,commonLabelOpts:c.hoverlabel,hoverdistance:c.hoverdistance},Tt=k(Y,Et,t);if(m.isUnifiedHover(S)||(function(t,e,n){var r,i,o,a,s,l,u,c=0,h=1,p=t.size(),f=new Array(p),d=0;function m(t){var e=t[0],n=t[t.length-1];if(i=e.pmin-e.pos-e.dp+e.size,o=n.pos+n.dp+n.size-e.pmax,i>.01){for(s=t.length-1;s>=0;s--)t[s].dp+=i;r=!1}if(!(o<.01)){if(i<-.01){for(s=t.length-1;s>=0;s--)t[s].dp-=o;r=!1}if(r){var u=0;for(a=0;a<t.length;a++)(l=t[a]).pos+l.dp+l.size>e.pmax&&u++;for(a=t.length-1;a>=0&&!(u<=0);a--)(l=t[a]).pos>e.pmax-1&&(l.del=!0,u--);for(a=0;a<t.length&&!(u<=0);a++)if((l=t[a]).pos<e.pmin+1)for(l.del=!0,u--,o=2*l.size,s=t.length-1;s>=0;s--)t[s].dp-=o;for(a=t.length-1;a>=0&&!(u<=0);a--)(l=t[a]).pos+l.dp+l.size>e.pmax&&(l.del=!0,u--)}}}for(t.each((function(t){var r=t[e],i=\\\"x\\\"===r._id.charAt(0),o=r.range;0===d&&o&&o[0]>o[1]!==i&&(h=-1),f[d++]=[{datum:t,traceIndex:t.trace.index,dp:0,pos:t.pos,posref:t.posref,size:t.by*(i?x:1)/2,pmin:0,pmax:i?n.width:n.height}]})),f.sort((function(t,e){return t[0].posref-e[0].posref||h*(e[0].traceIndex-t[0].traceIndex)}));!r&&c<=p;){for(c++,r=!0,a=0;a<f.length-1;){var v=f[a],g=f[a+1],y=v[v.length-1],_=g[0];if((i=y.pos+y.dp+y.size-_.pos-_.dp+_.size)>.01&&y.pmin===_.pmin&&y.pmax===_.pmax){for(s=g.length-1;s>=0;s--)g[s].dp+=i;for(v.push.apply(v,g),f.splice(a+1,1),u=0,s=v.length-1;s>=0;s--)u+=v[s].dp;for(o=u/v.length,s=v.length-1;s>=0;s--)v[s].dp-=o;r=!1}else a++}f.forEach(m)}for(a=f.length-1;a>=0;a--){var b=f[a];for(s=b.length-1;s>=0;s--){var w=b[s],A=w.datum;A.offset=w.dp,A.del=w.del}}}(Tt,Ct?\\\"xa\\\":\\\"ya\\\",c),I(Tt,Ct)),e.target&&e.target.tagName){var St=d.getComponentMethod(\\\"annotations\\\",\\\"hasClickToShow\\\")(t,bt);u(r.select(e.target),St?\\\"pointer\\\":\\\"\\\")}e.target&&!o&&function(t,e,n){if(!n||n.length!==t._hoverdata.length)return!0;for(var r=n.length-1;r>=0;r--){var i=n[r],o=t._hoverdata[r];if(i.curveNumber!==o.curveNumber||String(i.pointNumber)!==String(o.pointNumber)||String(i.pointNumbers)!==String(o.pointNumbers))return!0}return!1}(t,0,_t)&&(_t&&t.emit(\\\"plotly_unhover\\\",{event:e,points:_t}),t.emit(\\\"plotly_hover\\\",{event:e,points:t._hoverdata,xaxes:b,yaxes:w,xvals:O,yvals:R}))}function T(t){return[t.trace.index,t.index,t.x0,t.y0,t.name,t.attr,t.xa,t.ya||\\\"\\\"].join(\\\",\\\")}n.hover=function(t,e,n,r){t=a.getGraphDiv(t),a.throttle(t._fullLayout._uid+v.HOVERID,v.HOVERMINTIME,(function(){E(t,e,n,r)}))},n.loneHover=function(t,e){var n=!0;Array.isArray(t)||(n=!1,t=[t]);var i=t.map((function(t){return{color:t.color||h.defaultLine,x0:t.x0||t.x||0,x1:t.x1||t.x||0,y0:t.y0||t.y||0,y1:t.y1||t.y||0,xLabel:t.xLabel,yLabel:t.yLabel,zLabel:t.zLabel,text:t.text,name:t.name,idealAlign:t.idealAlign,borderColor:t.borderColor,fontFamily:t.fontFamily,fontSize:t.fontSize,fontColor:t.fontColor,nameLength:t.nameLength,textAlign:t.textAlign,trace:t.trace||{index:0,hoverinfo:\\\"\\\"},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:t.hovertemplate||!1,eventData:t.eventData||!1,hovertemplateLabels:t.hovertemplateLabels||!1}})),o=r.select(e.container),a=e.outerContainer?r.select(e.outerContainer):o,s={hovermode:\\\"closest\\\",rotateLabels:!1,bgColor:e.bgColor||h.background,container:o,outerContainer:a},l=k(i,s,e.gd),u=0,c=0;return l.sort((function(t,e){return t.y0-e.y0})).each((function(t,n){var r=t.y0-t.by/2;t.offset=r-5<u?u-r+5:0,u=r+t.by+t.offset,n===e.anchorIndex&&(c=t.offset)})).each((function(t){t.offset-=c})),I(l,s.rotateLabels),n?l:l.node()};var S=/<extra>([\\\\s\\\\S]*)<\\\\/extra>/;function k(t,e,n){var i=n._fullLayout,o=e.hovermode,s=e.rotateLabels,u=e.bgColor,p=e.container,f=e.outerContainer,d=e.commonLabelOpts||{},b=e.fontFamily||v.HOVERFONT,x=e.fontSize||v.HOVERFONTSIZE,w=t[0],A=w.xa,E=w.ya,S=\\\"y\\\"===o.charAt(0)?\\\"yLabel\\\":\\\"xLabel\\\",k=w[S],I=(String(k)||\\\"\\\").split(\\\" \\\")[0],L=f.node().getBoundingClientRect(),P=L.top,z=L.width,R=L.height,D=void 0!==k&&w.distance<=e.hoverdistance&&(\\\"x\\\"===o||\\\"y\\\"===o);if(D){var $,B,N=!0;for($=0;$<t.length;$++)if(N&&void 0===t[$].zLabel&&(N=!1),B=t[$].hoverinfo||t[$].trace.hoverinfo){var F=Array.isArray(B)?B:B.split(\\\"+\\\");if(-1===F.indexOf(\\\"all\\\")&&-1===F.indexOf(o)){D=!1;break}}N&&(D=!1)}var j=p.selectAll(\\\"g.axistext\\\").data(D?[0]:[]);function U(t){return t.filter((function(t){return void 0!==t.zLabelVal||(t[S]||\\\"\\\").split(\\\" \\\")[0]===I}))}if(j.enter().append(\\\"g\\\").classed(\\\"axistext\\\",!0),j.exit().remove(),j.each((function(){var e=r.select(this),s=a.ensureSingle(e,\\\"path\\\",\\\"\\\",(function(t){t.style({\\\"stroke-width\\\":\\\"1px\\\"})})),u=a.ensureSingle(e,\\\"text\\\",\\\"\\\",(function(t){t.attr(\\\"data-notex\\\",1)})),p=d.bgcolor||h.defaultLine,f=d.bordercolor||h.contrast(p),m=h.contrast(p),v={family:d.font.family||b,size:d.font.size||x,color:d.font.color||m};s.style({fill:p,stroke:f}),u.text(k).call(c.font,v).call(l.positionText,0,0).call(l.convertToTspans,n),e.attr(\\\"transform\\\",\\\"\\\");var g,y,_=u.node().getBoundingClientRect();if(\\\"x\\\"===o){var T=\\\"top\\\"===A.side?\\\"-\\\":\\\"\\\";u.attr(\\\"text-anchor\\\",\\\"middle\\\").call(l.positionText,0,\\\"top\\\"===A.side?P-_.bottom-C-M:P-_.top+C+M),g=A._offset+(w.x0+w.x1)/2,y=E._offset+(\\\"top\\\"===A.side?0:E._length);var S=_.width/2+M;g<S?(g=S,s.attr(\\\"d\\\",\\\"M-\\\"+(S-C)+\\\",0L-\\\"+(S-2*C)+\\\",\\\"+T+C+\\\"H\\\"+(M+_.width/2)+\\\"v\\\"+T+(2*M+_.height)+\\\"H-\\\"+S+\\\"V\\\"+T+C+\\\"Z\\\")):g>i.width-S?(g=i.width-S,s.attr(\\\"d\\\",\\\"M\\\"+(S-C)+\\\",0L\\\"+S+\\\",\\\"+T+C+\\\"v\\\"+T+(2*M+_.height)+\\\"H-\\\"+S+\\\"V\\\"+T+C+\\\"H\\\"+(S-2*C)+\\\"Z\\\")):s.attr(\\\"d\\\",\\\"M0,0L\\\"+C+\\\",\\\"+T+C+\\\"H\\\"+(M+_.width/2)+\\\"v\\\"+T+(2*M+_.height)+\\\"H-\\\"+(M+_.width/2)+\\\"V\\\"+T+C+\\\"H-\\\"+C+\\\"Z\\\")}else{var O,I,L;\\\"right\\\"===E.side?(O=\\\"start\\\",I=1,L=\\\"\\\",g=A._offset+A._length):(O=\\\"end\\\",I=-1,L=\\\"-\\\",g=A._offset),y=E._offset+(w.y0+w.y1)/2,u.attr(\\\"text-anchor\\\",O),s.attr(\\\"d\\\",\\\"M0,0L\\\"+L+C+\\\",\\\"+C+\\\"V\\\"+(M+_.height/2)+\\\"h\\\"+L+(2*M+_.width)+\\\"V-\\\"+(M+_.height/2)+\\\"H\\\"+L+C+\\\"V-\\\"+C+\\\"Z\\\");var z,R=_.height/2,D=P-_.top-R,$=\\\"clip\\\"+i._uid+\\\"commonlabel\\\"+E._id;if(g<_.width+2*M+C){z=\\\"M-\\\"+(C+M)+\\\"-\\\"+R+\\\"h-\\\"+(_.width-M)+\\\"V\\\"+R+\\\"h\\\"+(_.width-M)+\\\"Z\\\";var B=_.width-g+M;l.positionText(u,B,D),\\\"end\\\"===O&&u.selectAll(\\\"tspan\\\").each((function(){var t=r.select(this),e=c.tester.append(\\\"text\\\").text(t.text()).call(c.font,v),n=e.node().getBoundingClientRect();Math.round(n.width)<Math.round(_.width)&&t.attr(\\\"x\\\",B-n.width),e.remove()}))}else l.positionText(u,I*(M+C),D),z=null;var N=i._topclips.selectAll(\\\"#\\\"+$).data(z?[0]:[]);N.enter().append(\\\"clipPath\\\").attr(\\\"id\\\",$).append(\\\"path\\\"),N.exit().remove(),N.select(\\\"path\\\").attr(\\\"d\\\",z),c.setClipUrl(u,z?$:null,n)}e.attr(\\\"transform\\\",\\\"translate(\\\"+g+\\\",\\\"+y+\\\")\\\"),t=U(t)})),m.isUnifiedHover(o)){if(p.selectAll(\\\"g.hovertext\\\").remove(),void 0!==k&&w.distance<=e.hoverdistance&&(t=U(t)),0===t.length)return;var q={showlegend:!0,legend:{title:{text:k,font:i.hoverlabel.font},font:i.hoverlabel.font,bgcolor:i.hoverlabel.bgcolor,bordercolor:i.hoverlabel.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:i.legend?i.legend.traceorder:void 0,orientation:\\\"v\\\"}},V={};g(q,V,n._fullData);var H=V.legend;H.entries=[];for(var G=0;G<t.length;G++){var W=O(t[G],!0,o,i,k),X=W[0],Y=W[1],Z=t[G];Z.name=Y,Z.text=\\\"\\\"!==Y?Y+\\\" : \\\"+X:X;var K=Z.cd[Z.index];K&&(K.mc&&(Z.mc=K.mc),K.mcc&&(Z.mc=K.mcc),K.mlc&&(Z.mlc=K.mlc),K.mlcc&&(Z.mlc=K.mlcc),K.mlw&&(Z.mlw=K.mlw),K.mrc&&(Z.mrc=K.mrc),K.dir&&(Z.dir=K.dir)),Z._distinct=!0,H.entries.push([Z])}H.entries.sort((function(t,e){return t[0].trace.index-e[0].trace.index})),H.layer=p,y(n,H);var J=a.mean(t.map((function(t){return(t.y0+t.y1)/2}))),Q=a.mean(t.map((function(t){return(t.x0+t.x1)/2}))),tt=p.select(\\\"g.legend\\\"),et=tt.node().getBoundingClientRect();Q+=A._offset,J+=E._offset-et.height/2;var nt=et.width+2*M;!(Q+nt<=z)&&Q-nt>=0?Q-=nt:Q+=2*M;var rt=et.height+2*M,it=J+rt>=R;return rt<=R&&(J<=P?J=E._offset+2*M:it&&(J=R-rt)),tt.attr(\\\"transform\\\",\\\"translate(\\\"+Q+\\\",\\\"+J+\\\")\\\"),tt}var ot=p.selectAll(\\\"g.hovertext\\\").data(t,(function(t){return T(t)}));return ot.enter().append(\\\"g\\\").classed(\\\"hovertext\\\",!0).each((function(){var t=r.select(this);t.append(\\\"rect\\\").call(h.fill,h.addOpacity(u,.8)),t.append(\\\"text\\\").classed(\\\"name\\\",!0),t.append(\\\"path\\\").style(\\\"stroke-width\\\",\\\"1px\\\"),t.append(\\\"text\\\").classed(\\\"nums\\\",!0).call(c.font,b,x)})),ot.exit().remove(),ot.each((function(t){var e=r.select(this).attr(\\\"transform\\\",\\\"\\\"),a=t.bgcolor||t.color,p=h.combine(h.opacity(a)?a:h.defaultLine,u),f=h.combine(h.opacity(t.color)?t.color:h.defaultLine,u),d=t.borderColor||h.contrast(p),m=O(t,D,o,i,k,e),v=m[0],g=m[1],y=e.select(\\\"text.nums\\\").call(c.font,t.fontFamily||b,t.fontSize||x,t.fontColor||d).text(v).attr(\\\"data-notex\\\",1).call(l.positionText,0,0).call(l.convertToTspans,n),w=e.select(\\\"text.name\\\"),A=0,E=0;if(g&&g!==v){w.call(c.font,t.fontFamily||b,t.fontSize||x,f).text(g).attr(\\\"data-notex\\\",1).call(l.positionText,0,0).call(l.convertToTspans,n);var T=w.node().getBoundingClientRect();A=T.width+2*M,E=T.height+2*M}else w.remove(),e.select(\\\"rect\\\").remove();e.select(\\\"path\\\").style({fill:p,stroke:d});var S,I,L=y.node().getBoundingClientRect(),$=t.xa._offset+(t.x0+t.x1)/2,B=t.ya._offset+(t.y0+t.y1)/2,N=Math.abs(t.x1-t.x0),F=Math.abs(t.y1-t.y0),j=L.width+C+M+A;if(t.ty0=P-L.top,t.bx=L.width+2*M,t.by=Math.max(L.height+2*M,E),t.anchor=\\\"start\\\",t.txwidth=L.width,t.tx2width=A,t.offset=0,s)t.pos=$,S=B+F/2+j<=R,I=B-F/2-j>=0,\\\"top\\\"!==t.idealAlign&&S||!I?S?(B+=F/2,t.anchor=\\\"start\\\"):t.anchor=\\\"middle\\\":(B-=F/2,t.anchor=\\\"end\\\");else if(t.pos=B,S=$+N/2+j<=z,I=$-N/2-j>=0,\\\"left\\\"!==t.idealAlign&&S||!I)if(S)$+=N/2,t.anchor=\\\"start\\\";else{t.anchor=\\\"middle\\\";var U=j/2,q=$+U-z,V=$-U;q>0&&($-=q),V<0&&($+=-V)}else $-=N/2,t.anchor=\\\"end\\\";y.attr(\\\"text-anchor\\\",t.anchor),A&&w.attr(\\\"text-anchor\\\",t.anchor),e.attr(\\\"transform\\\",\\\"translate(\\\"+$+\\\",\\\"+B+\\\")\\\"+(s?\\\"rotate(\\\"+_+\\\")\\\":\\\"\\\"))})),ot}function O(t,e,n,r,i,o){var s=\\\"\\\",l=\\\"\\\";void 0!==t.nameOverride&&(t.name=t.nameOverride),t.name&&(t.trace._meta&&(t.name=a.templateString(t.name,t.trace._meta)),s=R(t.name,t.nameLength)),void 0!==t.zLabel?(void 0!==t.xLabel&&(l+=\\\"x: \\\"+t.xLabel+\\\"<br>\\\"),void 0!==t.yLabel&&(l+=\\\"y: \\\"+t.yLabel+\\\"<br>\\\"),\\\"choropleth\\\"!==t.trace.type&&\\\"choroplethmapbox\\\"!==t.trace.type&&(l+=(l?\\\"z: \\\":\\\"\\\")+t.zLabel)):e&&t[n.charAt(0)+\\\"Label\\\"]===i?l=t[(\\\"x\\\"===n.charAt(0)?\\\"y\\\":\\\"x\\\")+\\\"Label\\\"]||\\\"\\\":void 0===t.xLabel?void 0!==t.yLabel&&\\\"scattercarpet\\\"!==t.trace.type&&(l=t.yLabel):l=void 0===t.yLabel?t.xLabel:\\\"(\\\"+t.xLabel+\\\", \\\"+t.yLabel+\\\")\\\",!t.text&&0!==t.text||Array.isArray(t.text)||(l+=(l?\\\"<br>\\\":\\\"\\\")+t.text),void 0!==t.extraText&&(l+=(l?\\\"<br>\\\":\\\"\\\")+t.extraText),o&&\\\"\\\"===l&&!t.hovertemplate&&(\\\"\\\"===s&&o.remove(),l=s);var u=r._d3locale,c=t.hovertemplate||!1,h=t.hovertemplateLabels||t,p=t.eventData[0]||{};return c&&(l=(l=a.hovertemplateString(c,h,u,p,t.trace._meta)).replace(S,(function(e,n){return s=R(n,t.nameLength),\\\"\\\"}))),[l,s]}function I(t,e){t.each((function(t){var n=r.select(this);if(t.del)return n.remove();var i=n.select(\\\"text.nums\\\"),o=t.anchor,a=\\\"end\\\"===o?-1:1,s={start:1,end:-1,middle:0}[o],u=s*(C+M),h=u+s*(t.txwidth+M),p=0,f=t.offset;\\\"middle\\\"===o&&(u-=t.tx2width/2,h+=t.txwidth/2+M),e&&(f*=-A,p=t.offset*w),n.select(\\\"path\\\").attr(\\\"d\\\",\\\"middle\\\"===o?\\\"M-\\\"+(t.bx/2+t.tx2width/2)+\\\",\\\"+(f-t.by/2)+\\\"h\\\"+t.bx+\\\"v\\\"+t.by+\\\"h-\\\"+t.bx+\\\"Z\\\":\\\"M0,0L\\\"+(a*C+p)+\\\",\\\"+(C+f)+\\\"v\\\"+(t.by/2-C)+\\\"h\\\"+a*t.bx+\\\"v-\\\"+t.by+\\\"H\\\"+(a*C+p)+\\\"V\\\"+(f-C)+\\\"Z\\\");var d=u+p,m=f+t.ty0-t.by/2+M,v=t.textAlign||\\\"auto\\\";\\\"auto\\\"!==v&&(\\\"left\\\"===v&&\\\"start\\\"!==o?(i.attr(\\\"text-anchor\\\",\\\"start\\\"),d=\\\"middle\\\"===o?-t.bx/2-t.tx2width/2+M:-t.bx-M):\\\"right\\\"===v&&\\\"end\\\"!==o&&(i.attr(\\\"text-anchor\\\",\\\"end\\\"),d=\\\"middle\\\"===o?t.bx/2-t.tx2width/2-M:t.bx+M)),i.call(l.positionText,d,m),t.tx2width&&(n.select(\\\"text.name\\\").call(l.positionText,h+s*M+p,f+t.ty0-t.by/2+M),n.select(\\\"rect\\\").call(c.setRect,h+(s-1)*t.tx2width/2+p,f-t.by/2-1,t.tx2width,t.by+2))}))}function L(t,e){var n=t.index,r=t.trace||{},o=t.cd[0],s=t.cd[n]||{};function l(t){return t||i(t)&&0===t}var u=Array.isArray(n)?function(t,e){var i=a.castOption(o,n,t);return l(i)?i:a.extractOption({},r,\\\"\\\",e)}:function(t,e){return a.extractOption(s,r,t,e)};function c(e,n,r){var i=u(n,r);l(i)&&(t[e]=i)}if(c(\\\"hoverinfo\\\",\\\"hi\\\",\\\"hoverinfo\\\"),c(\\\"bgcolor\\\",\\\"hbg\\\",\\\"hoverlabel.bgcolor\\\"),c(\\\"borderColor\\\",\\\"hbc\\\",\\\"hoverlabel.bordercolor\\\"),c(\\\"fontFamily\\\",\\\"htf\\\",\\\"hoverlabel.font.family\\\"),c(\\\"fontSize\\\",\\\"hts\\\",\\\"hoverlabel.font.size\\\"),c(\\\"fontColor\\\",\\\"htc\\\",\\\"hoverlabel.font.color\\\"),c(\\\"nameLength\\\",\\\"hnl\\\",\\\"hoverlabel.namelength\\\"),c(\\\"textAlign\\\",\\\"hta\\\",\\\"hoverlabel.align\\\"),t.posref=\\\"y\\\"===e||\\\"closest\\\"===e&&\\\"h\\\"===r.orientation?t.xa._offset+(t.x0+t.x1)/2:t.ya._offset+(t.y0+t.y1)/2,t.x0=a.constrain(t.x0,0,t.xa._length),t.x1=a.constrain(t.x1,0,t.xa._length),t.y0=a.constrain(t.y0,0,t.ya._length),t.y1=a.constrain(t.y1,0,t.ya._length),void 0!==t.xLabelVal&&(t.xLabel=\\\"xLabel\\\"in t?t.xLabel:f.hoverLabelText(t.xa,t.xLabelVal),t.xVal=t.xa.c2d(t.xLabelVal)),void 0!==t.yLabelVal&&(t.yLabel=\\\"yLabel\\\"in t?t.yLabel:f.hoverLabelText(t.ya,t.yLabelVal),t.yVal=t.ya.c2d(t.yLabelVal)),void 0!==t.zLabelVal&&void 0===t.zLabel&&(t.zLabel=String(t.zLabelVal)),!(isNaN(t.xerr)||\\\"log\\\"===t.xa.type&&t.xerr<=0)){var h=f.tickText(t.xa,t.xa.c2l(t.xerr),\\\"hover\\\").text;void 0!==t.xerrneg?t.xLabel+=\\\" +\\\"+h+\\\" / -\\\"+f.tickText(t.xa,t.xa.c2l(t.xerrneg),\\\"hover\\\").text:t.xLabel+=\\\" ± \\\"+h,\\\"x\\\"===e&&(t.distance+=1)}if(!(isNaN(t.yerr)||\\\"log\\\"===t.ya.type&&t.yerr<=0)){var p=f.tickText(t.ya,t.ya.c2l(t.yerr),\\\"hover\\\").text;void 0!==t.yerrneg?t.yLabel+=\\\" +\\\"+p+\\\" / -\\\"+f.tickText(t.ya,t.ya.c2l(t.yerrneg),\\\"hover\\\").text:t.yLabel+=\\\" ± \\\"+p,\\\"y\\\"===e&&(t.distance+=1)}var d=t.hoverinfo||t.trace.hoverinfo;return d&&\\\"all\\\"!==d&&(-1===(d=Array.isArray(d)?d:d.split(\\\"+\\\")).indexOf(\\\"x\\\")&&(t.xLabel=void 0),-1===d.indexOf(\\\"y\\\")&&(t.yLabel=void 0),-1===d.indexOf(\\\"z\\\")&&(t.zLabel=void 0),-1===d.indexOf(\\\"text\\\")&&(t.text=void 0),-1===d.indexOf(\\\"name\\\")&&(t.name=void 0)),t}function P(t,e,n){var r,i,a=n.container,s=n.fullLayout,l=s._size,u=n.event,p=!!e.hLinePoint,d=!!e.vLinePoint;if(a.selectAll(\\\".spikeline\\\").remove(),d||p){var m=h.combine(s.plot_bgcolor,s.paper_bgcolor);if(p){var v,g,y=e.hLinePoint;r=y&&y.xa,\\\"cursor\\\"===(i=y&&y.ya).spikesnap?(v=u.pointerX,g=u.pointerY):(v=r._offset+y.x,g=i._offset+y.y);var _,b,x=o.readability(y.color,m)<1.5?h.contrast(m):y.color,w=i.spikemode,A=i.spikethickness,C=i.spikecolor||x,M=f.getPxPosition(t,i);if(-1!==w.indexOf(\\\"toaxis\\\")||-1!==w.indexOf(\\\"across\\\")){if(-1!==w.indexOf(\\\"toaxis\\\")&&(_=M,b=v),-1!==w.indexOf(\\\"across\\\")){var E=i._counterDomainMin,T=i._counterDomainMax;\\\"free\\\"===i.anchor&&(E=Math.min(E,i.position),T=Math.max(T,i.position)),_=l.l+E*l.w,b=l.l+T*l.w}a.insert(\\\"line\\\",\\\":first-child\\\").attr({x1:_,x2:b,y1:g,y2:g,\\\"stroke-width\\\":A,stroke:C,\\\"stroke-dasharray\\\":c.dashStyle(i.spikedash,A)}).classed(\\\"spikeline\\\",!0).classed(\\\"crisp\\\",!0),a.insert(\\\"line\\\",\\\":first-child\\\").attr({x1:_,x2:b,y1:g,y2:g,\\\"stroke-width\\\":A+2,stroke:m}).classed(\\\"spikeline\\\",!0).classed(\\\"crisp\\\",!0)}-1!==w.indexOf(\\\"marker\\\")&&a.insert(\\\"circle\\\",\\\":first-child\\\").attr({cx:M+(\\\"right\\\"!==i.side?A:-A),cy:g,r:A,fill:C}).classed(\\\"spikeline\\\",!0)}if(d){var S,k,O=e.vLinePoint;r=O&&O.xa,i=O&&O.ya,\\\"cursor\\\"===r.spikesnap?(S=u.pointerX,k=u.pointerY):(S=r._offset+O.x,k=i._offset+O.y);var I,L,P=o.readability(O.color,m)<1.5?h.contrast(m):O.color,z=r.spikemode,R=r.spikethickness,D=r.spikecolor||P,$=f.getPxPosition(t,r);if(-1!==z.indexOf(\\\"toaxis\\\")||-1!==z.indexOf(\\\"across\\\")){if(-1!==z.indexOf(\\\"toaxis\\\")&&(I=$,L=k),-1!==z.indexOf(\\\"across\\\")){var B=r._counterDomainMin,N=r._counterDomainMax;\\\"free\\\"===r.anchor&&(B=Math.min(B,r.position),N=Math.max(N,r.position)),I=l.t+(1-N)*l.h,L=l.t+(1-B)*l.h}a.insert(\\\"line\\\",\\\":first-child\\\").attr({x1:S,x2:S,y1:I,y2:L,\\\"stroke-width\\\":R,stroke:D,\\\"stroke-dasharray\\\":c.dashStyle(r.spikedash,R)}).classed(\\\"spikeline\\\",!0).classed(\\\"crisp\\\",!0),a.insert(\\\"line\\\",\\\":first-child\\\").attr({x1:S,x2:S,y1:I,y2:L,\\\"stroke-width\\\":R+2,stroke:m}).classed(\\\"spikeline\\\",!0).classed(\\\"crisp\\\",!0)}-1!==z.indexOf(\\\"marker\\\")&&a.insert(\\\"circle\\\",\\\":first-child\\\").attr({cx:S,cy:$-(\\\"top\\\"!==r.side?R:-R),r:R,fill:D}).classed(\\\"spikeline\\\",!0)}}}function z(t,e){return!e||e.vLinePoint!==t._spikepoints.vLinePoint||e.hLinePoint!==t._spikepoints.hLinePoint}function R(t,e){return l.plainText(t||\\\"\\\",{len:e,allowedTags:[\\\"br\\\",\\\"sub\\\",\\\"sup\\\",\\\"b\\\",\\\"i\\\",\\\"em\\\"]})}},{\\\"../../lib\\\":728,\\\"../../lib/events\\\":718,\\\"../../lib/override_cursor\\\":739,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"../color\\\":595,\\\"../dragelement\\\":614,\\\"../drawing\\\":617,\\\"../legend/defaults\\\":647,\\\"../legend/draw\\\":648,\\\"./constants\\\":629,\\\"./helpers\\\":631,d3:164,\\\"fast-isnumeric\\\":236,tinycolor2:528}],633:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../color\\\"),o=t(\\\"./helpers\\\").isUnifiedHover;e.exports=function(t,e,n,a){function s(t){a.font[t]||(a.font[t]=e.legend?e.legend.font[t]:e.font[t])}a=a||{},e&&o(e.hovermode)&&(a.font||(a.font={}),s(\\\"size\\\"),s(\\\"family\\\"),s(\\\"color\\\"),e.legend?(a.bgcolor||(a.bgcolor=i.combine(e.legend.bgcolor,e.paper_bgcolor)),a.bordercolor||(a.bordercolor=e.legend.bordercolor)):a.bgcolor||(a.bgcolor=e.paper_bgcolor)),n(\\\"hoverlabel.bgcolor\\\",a.bgcolor),n(\\\"hoverlabel.bordercolor\\\",a.bordercolor),n(\\\"hoverlabel.namelength\\\",a.namelength),r.coerceFont(n,\\\"hoverlabel.font\\\",a.font),n(\\\"hoverlabel.align\\\",a.align)}},{\\\"../../lib\\\":728,\\\"../color\\\":595,\\\"./helpers\\\":631}],634:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e,n){function o(n,o){return void 0!==e[n]?e[n]:r.coerce(t,e,i,n,o)}var a,s=o(\\\"clickmode\\\");return e._has(\\\"cartesian\\\")?s.indexOf(\\\"select\\\")>-1?a=\\\"closest\\\":(e._isHoriz=function(t,e){for(var n=e._scatterStackOpts||{},r=0;r<t.length;r++){var i=t[r],o=(n[i.xaxis+i.yaxis]||{})[i.stackgroup]||{};if(\\\"h\\\"!==i.orientation&&\\\"h\\\"!==o.orientation)return!1}return!0}(n,e),a=e._isHoriz?\\\"y\\\":\\\"x\\\"):a=\\\"closest\\\",o(\\\"hovermode\\\",a)}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":636}],635:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../dragelement\\\"),a=t(\\\"./helpers\\\"),s=t(\\\"./layout_attributes\\\"),l=t(\\\"./hover\\\");e.exports={moduleType:\\\"component\\\",name:\\\"fx\\\",constants:t(\\\"./constants\\\"),schema:{layout:s},attributes:t(\\\"./attributes\\\"),layoutAttributes:s,supplyLayoutGlobalDefaults:t(\\\"./layout_global_defaults\\\"),supplyDefaults:t(\\\"./defaults\\\"),supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\"),getDistanceFunction:a.getDistanceFunction,getClosest:a.getClosest,inbox:a.inbox,quadrature:a.quadrature,appendArrayPointValue:a.appendArrayPointValue,castHoverOption:function(t,e,n){return i.castOption(t,e,\\\"hoverlabel.\\\"+n)},castHoverinfo:function(t,e,n){return i.castOption(t,n,\\\"hoverinfo\\\",(function(n){return i.coerceHoverinfo({hoverinfo:n},{_module:t._module},e)}))},hover:l.hover,unhover:o.unhover,loneHover:l.loneHover,loneUnhover:function(t){var e=i.isD3Selection(t)?t:r.select(t);e.selectAll(\\\"g.hovertext\\\").remove(),e.selectAll(\\\".spikeline\\\").remove()},click:t(\\\"./click\\\")}},{\\\"../../lib\\\":728,\\\"../dragelement\\\":614,\\\"./attributes\\\":626,\\\"./calc\\\":627,\\\"./click\\\":628,\\\"./constants\\\":629,\\\"./defaults\\\":630,\\\"./helpers\\\":631,\\\"./hover\\\":632,\\\"./layout_attributes\\\":636,\\\"./layout_defaults\\\":637,\\\"./layout_global_defaults\\\":638,d3:164}],636:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\"),i=t(\\\"../../plots/font_attributes\\\")({editType:\\\"none\\\"});i.family.dflt=r.HOVERFONT,i.size.dflt=r.HOVERFONTSIZE,e.exports={clickmode:{valType:\\\"flaglist\\\",flags:[\\\"event\\\",\\\"select\\\"],dflt:\\\"event\\\",editType:\\\"plot\\\",extras:[\\\"none\\\"]},dragmode:{valType:\\\"enumerated\\\",values:[\\\"zoom\\\",\\\"pan\\\",\\\"select\\\",\\\"lasso\\\",\\\"drawclosedpath\\\",\\\"drawopenpath\\\",\\\"drawline\\\",\\\"drawrect\\\",\\\"drawcircle\\\",\\\"orbit\\\",\\\"turntable\\\",!1],dflt:\\\"zoom\\\",editType:\\\"modebar\\\"},hovermode:{valType:\\\"enumerated\\\",values:[\\\"x\\\",\\\"y\\\",\\\"closest\\\",!1,\\\"x unified\\\",\\\"y unified\\\"],editType:\\\"modebar\\\"},hoverdistance:{valType:\\\"integer\\\",min:-1,dflt:20,editType:\\\"none\\\"},spikedistance:{valType:\\\"integer\\\",min:-1,dflt:20,editType:\\\"none\\\"},hoverlabel:{bgcolor:{valType:\\\"color\\\",editType:\\\"none\\\"},bordercolor:{valType:\\\"color\\\",editType:\\\"none\\\"},font:i,align:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"right\\\",\\\"auto\\\"],dflt:\\\"auto\\\",editType:\\\"none\\\"},namelength:{valType:\\\"integer\\\",min:-1,dflt:15,editType:\\\"none\\\"},editType:\\\"none\\\"},selectdirection:{valType:\\\"enumerated\\\",values:[\\\"h\\\",\\\"v\\\",\\\"d\\\",\\\"any\\\"],dflt:\\\"any\\\",editType:\\\"none\\\"}}},{\\\"../../plots/font_attributes\\\":804,\\\"./constants\\\":629}],637:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./helpers\\\").isUnifiedHover,o=t(\\\"./layout_attributes\\\"),a=t(\\\"./hovermode_defaults\\\"),s=t(\\\"./hoverlabel_defaults\\\");e.exports=function(t,e,n){function l(n,i){return r.coerce(t,e,o,n,i)}var u=a(t,e,n);u&&(l(\\\"hoverdistance\\\"),l(\\\"spikedistance\\\",i(u)?-1:void 0)),\\\"select\\\"===l(\\\"dragmode\\\")&&l(\\\"selectdirection\\\");var c=e._has(\\\"mapbox\\\"),h=e._has(\\\"geo\\\"),p=e._basePlotModules.length;\\\"zoom\\\"===e.dragmode&&((c||h)&&1===p||c&&h&&2===p)&&(e.dragmode=\\\"pan\\\"),s(t,e,l)}},{\\\"../../lib\\\":728,\\\"./helpers\\\":631,\\\"./hoverlabel_defaults\\\":633,\\\"./hovermode_defaults\\\":634,\\\"./layout_attributes\\\":636}],638:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./hoverlabel_defaults\\\"),o=t(\\\"./layout_attributes\\\");e.exports=function(t,e){i(t,e,(function(n,i){return r.coerce(t,e,o,n,i)}))}},{\\\"../../lib\\\":728,\\\"./hoverlabel_defaults\\\":633,\\\"./layout_attributes\\\":636}],639:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../lib/regex\\\").counter,o=t(\\\"../../plots/domain\\\").attributes,a=t(\\\"../../plots/cartesian/constants\\\").idRegex,s=t(\\\"../../plot_api/plot_template\\\"),l={rows:{valType:\\\"integer\\\",min:1,editType:\\\"plot\\\"},roworder:{valType:\\\"enumerated\\\",values:[\\\"top to bottom\\\",\\\"bottom to top\\\"],dflt:\\\"top to bottom\\\",editType:\\\"plot\\\"},columns:{valType:\\\"integer\\\",min:1,editType:\\\"plot\\\"},subplots:{valType:\\\"info_array\\\",freeLength:!0,dimensions:2,items:{valType:\\\"enumerated\\\",values:[i(\\\"xy\\\").toString(),\\\"\\\"],editType:\\\"plot\\\"},editType:\\\"plot\\\"},xaxes:{valType:\\\"info_array\\\",freeLength:!0,items:{valType:\\\"enumerated\\\",values:[a.x.toString(),\\\"\\\"],editType:\\\"plot\\\"},editType:\\\"plot\\\"},yaxes:{valType:\\\"info_array\\\",freeLength:!0,items:{valType:\\\"enumerated\\\",values:[a.y.toString(),\\\"\\\"],editType:\\\"plot\\\"},editType:\\\"plot\\\"},pattern:{valType:\\\"enumerated\\\",values:[\\\"independent\\\",\\\"coupled\\\"],dflt:\\\"coupled\\\",editType:\\\"plot\\\"},xgap:{valType:\\\"number\\\",min:0,max:1,editType:\\\"plot\\\"},ygap:{valType:\\\"number\\\",min:0,max:1,editType:\\\"plot\\\"},domain:o({name:\\\"grid\\\",editType:\\\"plot\\\",noGridCell:!0},{}),xside:{valType:\\\"enumerated\\\",values:[\\\"bottom\\\",\\\"bottom plot\\\",\\\"top plot\\\",\\\"top\\\"],dflt:\\\"bottom plot\\\",editType:\\\"plot\\\"},yside:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"left plot\\\",\\\"right plot\\\",\\\"right\\\"],dflt:\\\"left plot\\\",editType:\\\"plot\\\"},editType:\\\"plot\\\"};function u(t,e,n){var r=e[n+\\\"axes\\\"],i=Object.keys((t._splomAxes||{})[n]||{});return Array.isArray(r)?r:i.length?i:void 0}function c(t,e,n,r,i,o){var a=e(t+\\\"gap\\\",n),s=e(\\\"domain.\\\"+t);e(t+\\\"side\\\",r);for(var l=new Array(i),u=s[0],c=(s[1]-u)/(i-a),h=c*(1-a),p=0;p<i;p++){var f=u+c*p;l[o?i-1-p:p]=[f,f+h]}return l}function h(t,e,n,r,i){var o,a=new Array(n);function s(t,n){-1!==e.indexOf(n)&&void 0===r[n]?(a[t]=n,r[n]=t):a[t]=\\\"\\\"}if(Array.isArray(t))for(o=0;o<n;o++)s(o,t[o]);else for(s(0,i),o=1;o<n;o++)s(o,i+(o+1));return a}e.exports={moduleType:\\\"component\\\",name:\\\"grid\\\",schema:{layout:{grid:l}},layoutAttributes:l,sizeDefaults:function(t,e){var n=t.grid||{},i=u(e,n,\\\"x\\\"),o=u(e,n,\\\"y\\\");if(t.grid||i||o){var a,h,p=Array.isArray(n.subplots)&&Array.isArray(n.subplots[0]),f=Array.isArray(i),d=Array.isArray(o),m=f&&i!==n.xaxes&&d&&o!==n.yaxes;p?(a=n.subplots.length,h=n.subplots[0].length):(d&&(a=o.length),f&&(h=i.length));var v=s.newContainer(e,\\\"grid\\\"),g=C(\\\"rows\\\",a),y=C(\\\"columns\\\",h);if(g*y>1){p||f||d||\\\"independent\\\"===C(\\\"pattern\\\")&&(p=!0),v._hasSubplotGrid=p;var _,b,x=\\\"top to bottom\\\"===C(\\\"roworder\\\"),w=p?.2:.1,A=p?.3:.1;m&&e._splomGridDflt&&(_=e._splomGridDflt.xside,b=e._splomGridDflt.yside),v._domains={x:c(\\\"x\\\",C,w,_,y),y:c(\\\"y\\\",C,A,b,g,x)}}else delete e.grid}function C(t,e){return r.coerce(n,v,l,t,e)}},contentDefaults:function(t,e){var n=e.grid;if(n&&n._domains){var r,i,o,a,s,l,c,p=t.grid||{},f=e._subplots,d=n._hasSubplotGrid,m=n.rows,v=n.columns,g=\\\"independent\\\"===n.pattern,y=n._axisMap={};if(d){var _=p.subplots||[];l=n.subplots=new Array(m);var b=1;for(r=0;r<m;r++){var x=l[r]=new Array(v),w=_[r]||[];for(i=0;i<v;i++)if(g?(s=1===b?\\\"xy\\\":\\\"x\\\"+b+\\\"y\\\"+b,b++):s=w[i],x[i]=\\\"\\\",-1!==f.cartesian.indexOf(s)){if(c=s.indexOf(\\\"y\\\"),o=s.slice(0,c),a=s.slice(c),void 0!==y[o]&&y[o]!==i||void 0!==y[a]&&y[a]!==r)continue;x[i]=s,y[o]=i,y[a]=r}}}else{var A=u(e,p,\\\"x\\\"),C=u(e,p,\\\"y\\\");n.xaxes=h(A,f.xaxis,v,y,\\\"x\\\"),n.yaxes=h(C,f.yaxis,m,y,\\\"y\\\")}var M=n._anchors={},E=\\\"top to bottom\\\"===n.roworder;for(var T in y){var S,k,O,I=T.charAt(0),L=n[I+\\\"side\\\"];if(L.length<8)M[T]=\\\"free\\\";else if(\\\"x\\\"===I){if(\\\"t\\\"===L.charAt(0)===E?(S=0,k=1,O=m):(S=m-1,k=-1,O=-1),d){var P=y[T];for(r=S;r!==O;r+=k)if((s=l[r][P])&&(c=s.indexOf(\\\"y\\\"),s.slice(0,c)===T)){M[T]=s.slice(c);break}}else for(r=S;r!==O;r+=k)if(a=n.yaxes[r],-1!==f.cartesian.indexOf(T+a)){M[T]=a;break}}else if(\\\"l\\\"===L.charAt(0)?(S=0,k=1,O=v):(S=v-1,k=-1,O=-1),d){var z=y[T];for(r=S;r!==O;r+=k)if((s=l[z][r])&&(c=s.indexOf(\\\"y\\\"),s.slice(c)===T)){M[T]=s.slice(0,c);break}}else for(r=S;r!==O;r+=k)if(o=n.xaxes[r],-1!==f.cartesian.indexOf(o+T)){M[T]=o;break}}}}}},{\\\"../../lib\\\":728,\\\"../../lib/regex\\\":744,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/constants\\\":782,\\\"../../plots/domain\\\":803}],640:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/constants\\\"),i=t(\\\"../../plot_api/plot_template\\\").templatedArray;e.exports=i(\\\"image\\\",{visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"arraydraw\\\"},source:{valType:\\\"string\\\",editType:\\\"arraydraw\\\"},layer:{valType:\\\"enumerated\\\",values:[\\\"below\\\",\\\"above\\\"],dflt:\\\"above\\\",editType:\\\"arraydraw\\\"},sizex:{valType:\\\"number\\\",dflt:0,editType:\\\"arraydraw\\\"},sizey:{valType:\\\"number\\\",dflt:0,editType:\\\"arraydraw\\\"},sizing:{valType:\\\"enumerated\\\",values:[\\\"fill\\\",\\\"contain\\\",\\\"stretch\\\"],dflt:\\\"contain\\\",editType:\\\"arraydraw\\\"},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1,editType:\\\"arraydraw\\\"},x:{valType:\\\"any\\\",dflt:0,editType:\\\"arraydraw\\\"},y:{valType:\\\"any\\\",dflt:0,editType:\\\"arraydraw\\\"},xanchor:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"left\\\",editType:\\\"arraydraw\\\"},yanchor:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],dflt:\\\"top\\\",editType:\\\"arraydraw\\\"},xref:{valType:\\\"enumerated\\\",values:[\\\"paper\\\",r.idRegex.x.toString()],dflt:\\\"paper\\\",editType:\\\"arraydraw\\\"},yref:{valType:\\\"enumerated\\\",values:[\\\"paper\\\",r.idRegex.y.toString()],dflt:\\\"paper\\\",editType:\\\"arraydraw\\\"},editType:\\\"arraydraw\\\"})},{\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/constants\\\":782}],641:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib/to_log_range\\\");e.exports=function(t,e,n,o){e=e||{};var a=\\\"log\\\"===n&&\\\"linear\\\"===e.type,s=\\\"linear\\\"===n&&\\\"log\\\"===e.type;if(a||s)for(var l,u,c=t._fullLayout.images,h=e._id.charAt(0),p=0;p<c.length;p++)if(u=\\\"images[\\\"+p+\\\"].\\\",(l=c[p])[h+\\\"ref\\\"]===e._id){var f=l[h],d=l[\\\"size\\\"+h],m=null,v=null;if(a){m=i(f,e.range);var g=d/Math.pow(10,m)/2;v=2*Math.log(g+Math.sqrt(1+g*g))/Math.LN10}else v=(m=Math.pow(10,f))*(Math.pow(10,d/2)-Math.pow(10,-d/2));r(m)?r(v)||(v=null):(m=null,v=null),o(u+h,m),o(u+\\\"size\\\"+h,v)}}},{\\\"../../lib/to_log_range\\\":754,\\\"fast-isnumeric\\\":236}],642:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../../plots/array_container_defaults\\\"),a=t(\\\"./attributes\\\");function s(t,e,n){function o(n,i){return r.coerce(t,e,a,n,i)}var s=o(\\\"source\\\");if(!o(\\\"visible\\\",!!s))return e;o(\\\"layer\\\"),o(\\\"xanchor\\\"),o(\\\"yanchor\\\"),o(\\\"sizex\\\"),o(\\\"sizey\\\"),o(\\\"sizing\\\"),o(\\\"opacity\\\");for(var l={_fullLayout:n},u=[\\\"x\\\",\\\"y\\\"],c=0;c<2;c++){var h=u[c],p=i.coerceRef(t,e,l,h,\\\"paper\\\");\\\"paper\\\"!==p&&i.getFromId(l,p)._imgIndices.push(e._index),i.coercePosition(e,l,o,p,h,0)}return e}e.exports=function(t,e){o(t,e,{name:\\\"images\\\",handleItemDefaults:s})}},{\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"../../plots/cartesian/axes\\\":776,\\\"./attributes\\\":640}],643:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../drawing\\\"),o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"../../constants/xmlns_namespaces\\\");e.exports=function(t){var e,n,s=t._fullLayout,l=[],u={},c=[];for(n=0;n<s.images.length;n++){var h=s.images[n];if(h.visible)if(\\\"below\\\"===h.layer&&\\\"paper\\\"!==h.xref&&\\\"paper\\\"!==h.yref){e=h.xref+h.yref;var p=s._plots[e];if(!p){c.push(h);continue}p.mainplot&&(e=p.mainplot.id),u[e]||(u[e]=[]),u[e].push(h)}else\\\"above\\\"===h.layer?l.push(h):c.push(h)}var f={left:{sizing:\\\"xMin\\\",offset:0},center:{sizing:\\\"xMid\\\",offset:-.5},right:{sizing:\\\"xMax\\\",offset:-1}},d={top:{sizing:\\\"YMin\\\",offset:0},middle:{sizing:\\\"YMid\\\",offset:-.5},bottom:{sizing:\\\"YMax\\\",offset:-1}};function m(e){var n=r.select(this);if(this._imgSrc!==e.source)if(n.attr(\\\"xmlns\\\",a.svg),e.source&&\\\"data:\\\"===e.source.slice(0,5))n.attr(\\\"xlink:href\\\",e.source),this._imgSrc=e.source;else{var i=new Promise(function(t){var r=new Image;function i(){n.remove(),t()}this.img=r,r.setAttribute(\\\"crossOrigin\\\",\\\"anonymous\\\"),r.onerror=i,r.onload=function(){var e=document.createElement(\\\"canvas\\\");e.width=this.width,e.height=this.height,e.getContext(\\\"2d\\\").drawImage(this,0,0);var r=e.toDataURL(\\\"image/png\\\");n.attr(\\\"xlink:href\\\",r),t()},n.on(\\\"error\\\",i),r.src=e.source,this._imgSrc=e.source}.bind(this));t._promises.push(i)}}function v(e){var n=r.select(this),a=o.getFromId(t,e.xref),l=o.getFromId(t,e.yref),u=s._size,c=a?Math.abs(a.l2p(e.sizex)-a.l2p(0)):e.sizex*u.w,h=l?Math.abs(l.l2p(e.sizey)-l.l2p(0)):e.sizey*u.h,p=c*f[e.xanchor].offset,m=h*d[e.yanchor].offset,v=f[e.xanchor].sizing+d[e.yanchor].sizing,g=(a?a.r2p(e.x)+a._offset:e.x*u.w+u.l)+p,y=(l?l.r2p(e.y)+l._offset:u.h-e.y*u.h+u.t)+m;switch(e.sizing){case\\\"fill\\\":v+=\\\" slice\\\";break;case\\\"stretch\\\":v=\\\"none\\\"}n.attr({x:g,y,width:c,height:h,preserveAspectRatio:v,opacity:e.opacity});var _=(a?a._id:\\\"\\\")+(l?l._id:\\\"\\\");i.setClipUrl(n,_?\\\"clip\\\"+s._uid+_:null,t)}var g=s._imageLowerLayer.selectAll(\\\"image\\\").data(c),y=s._imageUpperLayer.selectAll(\\\"image\\\").data(l);g.enter().append(\\\"image\\\"),y.enter().append(\\\"image\\\"),g.exit().remove(),y.exit().remove(),g.each((function(t){m.bind(this)(t),v.bind(this)(t)})),y.each((function(t){m.bind(this)(t),v.bind(this)(t)}));var _=Object.keys(s._plots);for(n=0;n<_.length;n++){e=_[n];var b=s._plots[e];if(b.imagelayer){var x=b.imagelayer.selectAll(\\\"image\\\").data(u[e]||[]);x.enter().append(\\\"image\\\"),x.exit().remove(),x.each((function(t){m.bind(this)(t),v.bind(this)(t)}))}}}},{\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../plots/cartesian/axes\\\":776,\\\"../drawing\\\":617,d3:164}],644:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"component\\\",name:\\\"images\\\",layoutAttributes:t(\\\"./attributes\\\"),supplyLayoutDefaults:t(\\\"./defaults\\\"),includeBasePlot:t(\\\"../../plots/cartesian/include_components\\\")(\\\"images\\\"),draw:t(\\\"./draw\\\"),convertCoords:t(\\\"./convert_coords\\\")}},{\\\"../../plots/cartesian/include_components\\\":788,\\\"./attributes\\\":640,\\\"./convert_coords\\\":641,\\\"./defaults\\\":642,\\\"./draw\\\":643}],645:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/font_attributes\\\"),i=t(\\\"../color/attributes\\\");e.exports={bgcolor:{valType:\\\"color\\\",editType:\\\"legend\\\"},bordercolor:{valType:\\\"color\\\",dflt:i.defaultLine,editType:\\\"legend\\\"},borderwidth:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"legend\\\"},font:r({editType:\\\"legend\\\"}),orientation:{valType:\\\"enumerated\\\",values:[\\\"v\\\",\\\"h\\\"],dflt:\\\"v\\\",editType:\\\"legend\\\"},traceorder:{valType:\\\"flaglist\\\",flags:[\\\"reversed\\\",\\\"grouped\\\"],extras:[\\\"normal\\\"],editType:\\\"legend\\\"},tracegroupgap:{valType:\\\"number\\\",min:0,dflt:10,editType:\\\"legend\\\"},itemsizing:{valType:\\\"enumerated\\\",values:[\\\"trace\\\",\\\"constant\\\"],dflt:\\\"trace\\\",editType:\\\"legend\\\"},itemclick:{valType:\\\"enumerated\\\",values:[\\\"toggle\\\",\\\"toggleothers\\\",!1],dflt:\\\"toggle\\\",editType:\\\"legend\\\"},itemdoubleclick:{valType:\\\"enumerated\\\",values:[\\\"toggle\\\",\\\"toggleothers\\\",!1],dflt:\\\"toggleothers\\\",editType:\\\"legend\\\"},x:{valType:\\\"number\\\",min:-2,max:3,editType:\\\"legend\\\"},xanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"left\\\",editType:\\\"legend\\\"},y:{valType:\\\"number\\\",min:-2,max:3,editType:\\\"legend\\\"},yanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],editType:\\\"legend\\\"},uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"},valign:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],dflt:\\\"middle\\\",editType:\\\"legend\\\"},title:{text:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"legend\\\"},font:r({editType:\\\"legend\\\"}),side:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"left\\\",\\\"top left\\\"],editType:\\\"legend\\\"},editType:\\\"legend\\\"},editType:\\\"legend\\\"}},{\\\"../../plots/font_attributes\\\":804,\\\"../color/attributes\\\":594}],646:[function(t,e,n){\\\"use strict\\\";e.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:\\\"#808BA4\\\",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,textGap:40,itemGap:5}},{}],647:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plot_api/plot_template\\\"),a=t(\\\"./attributes\\\"),s=t(\\\"../../plots/layout_attributes\\\"),l=t(\\\"./helpers\\\");e.exports=function(t,e,n){for(var u=t.legend||{},c=0,h=!1,p=\\\"normal\\\",f=0;f<n.length;f++){var d=n[f];d.visible&&((d.showlegend||d._dfltShowLegend&&!(d._module&&d._module.attributes&&d._module.attributes.showlegend&&!1===d._module.attributes.showlegend.dflt))&&(c++,d.showlegend&&(h=!0,(r.traceIs(d,\\\"pie-like\\\")||!0===d._input.showlegend)&&c++)),(r.traceIs(d,\\\"bar\\\")&&\\\"stack\\\"===e.barmode||-1!==[\\\"tonextx\\\",\\\"tonexty\\\"].indexOf(d.fill))&&(p=l.isGrouped({traceorder:p})?\\\"grouped+reversed\\\":\\\"reversed\\\"),void 0!==d.legendgroup&&\\\"\\\"!==d.legendgroup&&(p=l.isReversed({traceorder:p})?\\\"reversed+grouped\\\":\\\"grouped\\\"))}var m=i.coerce(t,e,s,\\\"showlegend\\\",h&&c>1);if(!1!==m||u.uirevision){var v=o.newContainer(e,\\\"legend\\\");if(x(\\\"uirevision\\\",e.uirevision),!1!==m){x(\\\"bgcolor\\\",e.paper_bgcolor),x(\\\"bordercolor\\\"),x(\\\"borderwidth\\\"),i.coerceFont(x,\\\"font\\\",e.font);var g,y,_,b=x(\\\"orientation\\\");\\\"h\\\"===b?(g=0,r.getComponentMethod(\\\"rangeslider\\\",\\\"isVisible\\\")(t.xaxis)?(y=1.1,_=\\\"bottom\\\"):(y=-.1,_=\\\"top\\\")):(g=1.02,y=1,_=\\\"auto\\\"),x(\\\"traceorder\\\",p),l.isGrouped(e.legend)&&x(\\\"tracegroupgap\\\"),x(\\\"itemsizing\\\"),x(\\\"itemclick\\\"),x(\\\"itemdoubleclick\\\"),x(\\\"x\\\",g),x(\\\"xanchor\\\"),x(\\\"y\\\",y),x(\\\"yanchor\\\",_),x(\\\"valign\\\"),i.noneOrAll(u,v,[\\\"x\\\",\\\"y\\\"]),x(\\\"title.text\\\")&&(x(\\\"title.side\\\",\\\"h\\\"===b?\\\"left\\\":\\\"top\\\"),i.coerceFont(x,\\\"title.font\\\",e.font))}}function x(t,e){return i.coerce(u,v,a,t,e)}}},{\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/layout_attributes\\\":830,\\\"../../registry\\\":859,\\\"./attributes\\\":645,\\\"./helpers\\\":651}],648:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/plots\\\"),a=t(\\\"../../registry\\\"),s=t(\\\"../../lib/events\\\"),l=t(\\\"../dragelement\\\"),u=t(\\\"../drawing\\\"),c=t(\\\"../color\\\"),h=t(\\\"../../lib/svg_text_utils\\\"),p=t(\\\"./handle_click\\\"),f=t(\\\"./constants\\\"),d=t(\\\"../../constants/alignment\\\"),m=d.LINE_SPACING,v=d.FROM_TL,g=d.FROM_BR,y=t(\\\"./get_legend_data\\\"),_=t(\\\"./style\\\"),b=t(\\\"./helpers\\\");function x(t,e,n,r,i){var o=n.data()[0][0].trace,l={event:i,node:n.node(),curveNumber:o.index,expandedIndex:o._expandedIndex,data:t.data,layout:t.layout,frames:t._transitionData._frames,config:t._context,fullData:t._fullData,fullLayout:t._fullLayout};o._group&&(l.group=o._group),a.traceIs(o,\\\"pie-like\\\")&&(l.label=n.datum()[0].label),!1!==s.triggerHandler(t,\\\"plotly_legendclick\\\",l)&&(1===r?e._clickTimeout=setTimeout((function(){p(n,t,r)}),t._context.doubleClickDelay):2===r&&(e._clickTimeout&&clearTimeout(e._clickTimeout),t._legendMouseDownTime=0,!1!==s.triggerHandler(t,\\\"plotly_legenddoubleclick\\\",l)&&p(n,t,r)))}function w(t,e,n){var r,o=t.data()[0][0],s=o.trace,l=a.traceIs(s,\\\"pie-like\\\"),c=s.index,p=n._main&&e._context.edits.legendText&&!l,d=n._maxNameLength;n.entries?r=o.text:(r=l?o.label:s.name,s._meta&&(r=i.templateString(r,s._meta)));var m=i.ensureSingle(t,\\\"text\\\",\\\"legendtext\\\");m.attr(\\\"text-anchor\\\",\\\"start\\\").classed(\\\"user-select-none\\\",!0).call(u.font,n.font).text(p?A(r,d):r),h.positionText(m,f.textGap,0),p?m.call(h.makeEditable,{gd:e,text:r}).call(M,t,e,n).on(\\\"edit\\\",(function(r){this.text(A(r,d)).call(M,t,e,n);var s=o.trace._fullInput||{},l={};if(a.hasTransform(s,\\\"groupby\\\")){var u=a.getTransformIndices(s,\\\"groupby\\\"),h=u[u.length-1],p=i.keyedContainer(s,\\\"transforms[\\\"+h+\\\"].styles\\\",\\\"target\\\",\\\"value.name\\\");p.set(o.trace._group,r),l=p.constructUpdate()}else l.name=r;return a.call(\\\"_guiRestyle\\\",e,l,c)})):M(m,t,e,n)}function A(t,e){var n=Math.max(4,e);if(t&&t.trim().length>=n/2)return t;for(var r=n-(t=t||\\\"\\\").length;r>0;r--)t+=\\\" \\\";return t}function C(t,e){var n,o=e._context.doubleClickDelay,a=1,s=i.ensureSingle(t,\\\"rect\\\",\\\"legendtoggle\\\",(function(t){t.style(\\\"cursor\\\",\\\"pointer\\\").attr(\\\"pointer-events\\\",\\\"all\\\").call(c.fill,\\\"rgba(0,0,0,0)\\\")}));s.on(\\\"mousedown\\\",(function(){(n=(new Date).getTime())-e._legendMouseDownTime<o?a+=1:(a=1,e._legendMouseDownTime=n)})),s.on(\\\"mouseup\\\",(function(){if(!e._dragged&&!e._editing){var n=e._fullLayout.legend;(new Date).getTime()-e._legendMouseDownTime>o&&(a=Math.max(a-1,1)),x(e,n,t,a,r.event)}}))}function M(t,e,n,r){r._main||t.attr(\\\"data-notex\\\",!0),h.convertToTspans(t,n,(function(){!function(t,e,n){var r=t.data()[0][0];if(n._main&&r&&!r.trace.showlegend)t.remove();else{var i=t.select(\\\"g[class*=math-group]\\\"),o=i.node();n||(n=e._fullLayout.legend);var a,s,l=n.borderwidth,c=(r?n:n.title).font.size*m;if(o){var p=u.bBox(o);a=p.height,s=p.width,r?u.setTranslate(i,0,.25*a):u.setTranslate(i,l,.75*a+l)}else{var d=t.select(r?\\\".legendtext\\\":\\\".legendtitletext\\\"),v=h.lineCount(d),g=d.node();a=c*v,s=g?u.bBox(g).width:0;var y=c*((v-1)/2-.3);r?h.positionText(d,f.textGap,-y):h.positionText(d,f.titlePad+l,c+l)}r?(r.lineHeight=c,r.height=Math.max(a,16)+3,r.width=s):(n._titleWidth=s,n._titleHeight=a)}}(e,n,r)}))}function E(t){return i.isRightAnchor(t)?\\\"right\\\":i.isCenterAnchor(t)?\\\"center\\\":\\\"left\\\"}function T(t){return i.isBottomAnchor(t)?\\\"bottom\\\":i.isMiddleAnchor(t)?\\\"middle\\\":\\\"top\\\"}e.exports=function(t,e){var n,s=t._fullLayout,h=\\\"legend\\\"+s._uid;if(e?(n=e.layer,h+=\\\"-hover\\\"):((e=s.legend||{})._main=!0,n=s._infolayer),n){var p;if(t._legendMouseDownTime||(t._legendMouseDownTime=0),e._main){if(!t.calcdata)return;p=s.showlegend&&y(t.calcdata,e)}else{if(!e.entries)return;p=y(e.entries,e)}var d=s.hiddenlabels||[];if(e._main&&(!s.showlegend||!p.length))return n.selectAll(\\\".legend\\\").remove(),s._topdefs.select(\\\"#\\\"+h).remove(),o.autoMargin(t,\\\"legend\\\");var m=i.ensureSingle(n,\\\"g\\\",\\\"legend\\\",(function(t){e._main&&t.attr(\\\"pointer-events\\\",\\\"all\\\")})),A=i.ensureSingleById(s._topdefs,\\\"clipPath\\\",h,(function(t){t.append(\\\"rect\\\")})),S=i.ensureSingle(m,\\\"rect\\\",\\\"bg\\\",(function(t){t.attr(\\\"shape-rendering\\\",\\\"crispEdges\\\")}));S.call(c.stroke,e.bordercolor).call(c.fill,e.bgcolor).style(\\\"stroke-width\\\",e.borderwidth+\\\"px\\\");var k=i.ensureSingle(m,\\\"g\\\",\\\"scrollbox\\\"),O=e.title;if(e._titleWidth=0,e._titleHeight=0,O.text){var I=i.ensureSingle(k,\\\"text\\\",\\\"legendtitletext\\\");I.attr(\\\"text-anchor\\\",\\\"start\\\").classed(\\\"user-select-none\\\",!0).call(u.font,O.font).text(O.text),M(I,k,t,e)}else k.selectAll(\\\".legendtitletext\\\").remove();var L=i.ensureSingle(m,\\\"rect\\\",\\\"scrollbar\\\",(function(t){t.attr(f.scrollBarEnterAttrs).call(c.fill,f.scrollBarColor)})),P=k.selectAll(\\\"g.groups\\\").data(p);P.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"groups\\\"),P.exit().remove();var z=P.selectAll(\\\"g.traces\\\").data(i.identity);z.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"traces\\\"),z.exit().remove(),z.style(\\\"opacity\\\",(function(t){var e=t[0].trace;return a.traceIs(e,\\\"pie-like\\\")?-1!==d.indexOf(t[0].label)?.5:1:\\\"legendonly\\\"===e.visible?.5:1})).each((function(){r.select(this).call(w,t,e)})).call(_,t,e).each((function(){e._main&&r.select(this).call(C,t)})),i.syncOrAsync([o.previousPromises,function(){return function(t,e,n,i){var o=t._fullLayout;i||(i=o.legend);var a=o._size,s=b.isVertical(i),l=b.isGrouped(i),c=i.borderwidth,h=2*c,p=f.textGap,d=f.itemGap,m=2*(c+d),v=T(i),g=i.y<0||0===i.y&&\\\"top\\\"===v,y=i.y>1||1===i.y&&\\\"bottom\\\"===v;i._maxHeight=Math.max(g||y?o.height/2:a.h,30);var _=0;i._width=0,i._height=0;var x=function(t){var e=0,n=0,r=t.title.side;return r&&(-1!==r.indexOf(\\\"left\\\")&&(e=t._titleWidth),-1!==r.indexOf(\\\"top\\\")&&(n=t._titleHeight)),[e,n]}(i);if(s)n.each((function(t){var e=t[0].height;u.setTranslate(this,c+x[0],c+x[1]+i._height+e/2+d),i._height+=e,i._width=Math.max(i._width,t[0].width)})),_=p+i._width,i._width+=d+p+h,i._height+=m,l&&(e.each((function(t,e){u.setTranslate(this,0,e*i.tracegroupgap)})),i._height+=(i._lgroupsLength-1)*i.tracegroupgap);else{var w=E(i),A=i.x<0||0===i.x&&\\\"right\\\"===w,C=i.x>1||1===i.x&&\\\"left\\\"===w,M=y||g,S=o.width/2;i._maxWidth=Math.max(A?M&&\\\"left\\\"===w?a.l+a.w:S:C?M&&\\\"right\\\"===w?a.r+a.w:S:a.w,2*p);var k=0,O=0;n.each((function(t){var e=t[0].width+p;k=Math.max(k,e),O+=e})),_=null;var I=0;if(l){var L=0,P=0,z=0;e.each((function(){var t=0,e=0;r.select(this).selectAll(\\\"g.traces\\\").each((function(n){var r=n[0].height;u.setTranslate(this,x[0],x[1]+c+d+r/2+e),e+=r,t=Math.max(t,p+n[0].width)})),L=Math.max(L,e);var n=t+d;n+c+P>i._maxWidth&&(I=Math.max(I,P),P=0,z+=L+i.tracegroupgap,L=e),u.setTranslate(this,P,z),P+=n})),i._width=Math.max(I,P)+c,i._height=z+L+m}else{var R=n.size(),D=O+h+(R-1)*d<i._maxWidth,$=0,B=0,N=0,F=0;n.each((function(t){var e=t[0].height,n=p+t[0].width,r=(D?n:k)+d;r+c+B>i._maxWidth&&(I=Math.max(I,F),B=0,N+=$,i._height+=$,$=0),u.setTranslate(this,x[0]+c+B,x[1]+c+N+e/2+d),F=B+n+d,B+=r,$=Math.max($,e)})),D?(i._width=B+h,i._height=$+m):(i._width=Math.max(I,F)+h,i._height+=$+m)}}i._width=Math.ceil(Math.max(i._width+x[0],i._titleWidth+2*(c+f.titlePad))),i._height=Math.ceil(Math.max(i._height+x[1],i._titleHeight+2*(c+f.itemGap))),i._effHeight=Math.min(i._height,i._maxHeight);var j=t._context.edits,U=j.legendText||j.legendPosition;n.each((function(t){var e=r.select(this).select(\\\".legendtoggle\\\"),n=t[0].height,i=U?p:_||p+t[0].width;s||(i+=d/2),u.setRect(e,0,-n/2,i,n)}))}(t,P,z,e)},function(){if(!e._main||!function(t){var e=t._fullLayout.legend,n=E(e),r=T(e);return o.autoMargin(t,\\\"legend\\\",{x:e.x,y:e.y,l:e._width*v[n],r:e._width*g[n],b:e._effHeight*g[r],t:e._effHeight*v[r]})}(t)){var c,p,d,y,_=s._size,b=e.borderwidth,w=_.l+_.w*e.x-v[E(e)]*e._width,C=_.t+_.h*(1-e.y)-v[T(e)]*e._effHeight;if(e._main&&s.margin.autoexpand){var M=w,O=C;w=i.constrain(w,0,s.width-e._width),C=i.constrain(C,0,s.height-e._effHeight),w!==M&&i.log(\\\"Constrain legend.x to make legend fit inside graph\\\"),C!==O&&i.log(\\\"Constrain legend.y to make legend fit inside graph\\\")}if(e._main&&u.setTranslate(m,w,C),L.on(\\\".drag\\\",null),m.on(\\\"wheel\\\",null),!e._main||e._height<=e._maxHeight||t._context.staticPlot){var I=e._effHeight;e._main||(I=e._height),S.attr({width:e._width-b,height:I-b,x:b/2,y:b/2}),u.setTranslate(k,0,0),A.select(\\\"rect\\\").attr({width:e._width-2*b,height:I-2*b,x:b,y:b}),u.setClipUrl(k,h,t),u.setRect(L,0,0,0,0),delete e._scrollY}else{var P,z,R,D=Math.max(f.scrollBarMinHeight,e._effHeight*e._effHeight/e._height),$=e._effHeight-D-2*f.scrollBarMargin,B=e._height-e._effHeight,N=$/B,F=Math.min(e._scrollY||0,B);S.attr({width:e._width-2*b+f.scrollBarWidth+f.scrollBarMargin,height:e._effHeight-b,x:b/2,y:b/2}),A.select(\\\"rect\\\").attr({width:e._width-2*b+f.scrollBarWidth+f.scrollBarMargin,height:e._effHeight-2*b,x:b,y:b+F}),u.setClipUrl(k,h,t),q(F,D,N),m.on(\\\"wheel\\\",(function(){q(F=i.constrain(e._scrollY+r.event.deltaY/$*B,0,B),D,N),0!==F&&F!==B&&r.event.preventDefault()}));var j=r.behavior.drag().on(\\\"dragstart\\\",(function(){var t=r.event.sourceEvent;P=\\\"touchstart\\\"===t.type?t.changedTouches[0].clientY:t.clientY,R=F})).on(\\\"drag\\\",(function(){var t=r.event.sourceEvent;2===t.buttons||t.ctrlKey||(z=\\\"touchmove\\\"===t.type?t.changedTouches[0].clientY:t.clientY,q(F=function(t,e,n){var r=(n-e)/N+t;return i.constrain(r,0,B)}(R,P,z),D,N))}));L.call(j);var U=r.behavior.drag().on(\\\"dragstart\\\",(function(){var t=r.event.sourceEvent;\\\"touchstart\\\"===t.type&&(P=t.changedTouches[0].clientY,R=F)})).on(\\\"drag\\\",(function(){var t=r.event.sourceEvent;\\\"touchmove\\\"===t.type&&(z=t.changedTouches[0].clientY,q(F=function(t,e,n){var r=(e-n)/N+t;return i.constrain(r,0,B)}(R,P,z),D,N))}));k.call(U)}t._context.edits.legendPosition&&(m.classed(\\\"cursor-move\\\",!0),l.init({element:m.node(),gd:t,prepFn:function(){var t=u.getTranslate(m);d=t.x,y=t.y},moveFn:function(t,n){var r=d+t,i=y+n;u.setTranslate(m,r,i),c=l.align(r,0,_.l,_.l+_.w,e.xanchor),p=l.align(i,0,_.t+_.h,_.t,e.yanchor)},doneFn:function(){void 0!==c&&void 0!==p&&a.call(\\\"_guiRelayout\\\",t,{\\\"legend.x\\\":c,\\\"legend.y\\\":p})},clickFn:function(e,r){var i=n.selectAll(\\\"g.traces\\\").filter((function(){var t=this.getBoundingClientRect();return r.clientX>=t.left&&r.clientX<=t.right&&r.clientY>=t.top&&r.clientY<=t.bottom}));i.size()>0&&x(t,m,i,e,r)}}))}function q(n,r,i){e._scrollY=t._fullLayout.legend._scrollY=n,u.setTranslate(k,0,-n),u.setRect(L,e._width,f.scrollBarMargin+n*i,f.scrollBarWidth,r),A.select(\\\"rect\\\").attr(\\\"y\\\",b+n)}}],t)}}},{\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/events\\\":718,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/plots\\\":839,\\\"../../registry\\\":859,\\\"../color\\\":595,\\\"../dragelement\\\":614,\\\"../drawing\\\":617,\\\"./constants\\\":646,\\\"./get_legend_data\\\":649,\\\"./handle_click\\\":650,\\\"./helpers\\\":651,\\\"./style\\\":653,d3:164}],649:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"./helpers\\\");e.exports=function(t,e){var n,o,a={},s=[],l=!1,u={},c=0,h=0,p=e._main;function f(t,n){if(\\\"\\\"!==t&&i.isGrouped(e))-1===s.indexOf(t)?(s.push(t),l=!0,a[t]=[[n]]):a[t].push([n]);else{var r=\\\"~~i\\\"+c;s.push(r),a[r]=[[n]],c++}}for(n=0;n<t.length;n++){var d=t[n],m=d[0],v=m.trace,g=v.legendgroup;if(!p||v.visible&&v.showlegend)if(r.traceIs(v,\\\"pie-like\\\"))for(u[g]||(u[g]={}),o=0;o<d.length;o++){var y=d[o].label;u[g][y]||(f(g,{label:y,color:d[o].color,i:d[o].i,trace:v,pts:d[o].pts}),u[g][y]=!0,h=Math.max(h,(y||\\\"\\\").length))}else f(g,m),h=Math.max(h,(v.name||\\\"\\\").length)}if(!s.length)return[];var _,b,x=s.length;if(l&&i.isGrouped(e))for(b=new Array(x),n=0;n<x;n++)_=a[s[n]],b[n]=i.isReversed(e)?_.reverse():_;else{for(b=[new Array(x)],n=0;n<x;n++)_=a[s[n]][0],b[0][i.isReversed(e)?x-n-1:n]=_;x=1}return e._lgroupsLength=x,e._maxNameLength=h,b}},{\\\"../../registry\\\":859,\\\"./helpers\\\":651}],650:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../registry\\\"),o=!0;e.exports=function(t,e,n){var a=e._fullLayout;if(!e._dragged&&!e._editing){var s,l=a.legend.itemclick,u=a.legend.itemdoubleclick;if(1===n&&\\\"toggle\\\"===l&&\\\"toggleothers\\\"===u&&o&&e.data&&e._context.showTips?(r.notifier(r._(e,\\\"Double-click on legend to isolate one trace\\\"),\\\"long\\\"),o=!1):o=!1,1===n?s=l:2===n&&(s=u),s){var c,h,p,f,d,m=a.hiddenlabels?a.hiddenlabels.slice():[],v=t.data()[0][0],g=e._fullData,y=v.trace,_=y.legendgroup,b={},x=[],w=[],A=[];if(i.traceIs(y,\\\"pie-like\\\")){var C=v.label,M=m.indexOf(C);\\\"toggle\\\"===s?-1===M?m.push(C):m.splice(M,1):\\\"toggleothers\\\"===s&&(m=[],e.calcdata[0].forEach((function(t){C!==t.label&&m.push(t.label)})),e._fullLayout.hiddenlabels&&e._fullLayout.hiddenlabels.length===m.length&&-1===M&&(m=[])),i.call(\\\"_guiRelayout\\\",e,\\\"hiddenlabels\\\",m)}else{var E,T=_&&_.length,S=[];if(T)for(c=0;c<g.length;c++)(E=g[c]).visible&&E.legendgroup===_&&S.push(c);if(\\\"toggle\\\"===s){var k;switch(y.visible){case!0:k=\\\"legendonly\\\";break;case!1:k=!1;break;case\\\"legendonly\\\":k=!0}if(T)for(c=0;c<g.length;c++)!1!==g[c].visible&&g[c].legendgroup===_&&B(g[c],k);else B(y,k)}else if(\\\"toggleothers\\\"===s){var O,I,L,P,z=!0;for(c=0;c<g.length;c++)if(O=g[c]===y,L=!0!==g[c].showlegend,!(O||L||(I=T&&g[c].legendgroup===_)||!0!==g[c].visible||i.traceIs(g[c],\\\"notLegendIsolatable\\\"))){z=!1;break}for(c=0;c<g.length;c++)if(!1!==g[c].visible&&!i.traceIs(g[c],\\\"notLegendIsolatable\\\"))switch(y.visible){case\\\"legendonly\\\":B(g[c],!0);break;case!0:P=!!z||\\\"legendonly\\\",O=g[c]===y,L=!0!==g[c].showlegend&&!g[c].legendgroup,I=O||T&&g[c].legendgroup===_,B(g[c],!(!I&&!L)||P)}}for(c=0;c<w.length;c++)if(p=w[c]){var R=p.constructUpdate(),D=Object.keys(R);for(h=0;h<D.length;h++)f=D[h],(b[f]=b[f]||[])[A[c]]=R[f]}for(d=Object.keys(b),c=0;c<d.length;c++)for(f=d[c],h=0;h<x.length;h++)b[f].hasOwnProperty(h)||(b[f][h]=void 0);i.call(\\\"_guiRestyle\\\",e,b,x)}}}function $(t,e,n){var r=x.indexOf(t),i=b[e];return i||(i=b[e]=[]),-1===x.indexOf(t)&&(x.push(t),r=x.length-1),i[r]=n,r}function B(t,e){var n=t._fullInput;if(i.hasTransform(n,\\\"groupby\\\")){var o=w[n.index];if(!o){var a=i.getTransformIndices(n,\\\"groupby\\\"),s=a[a.length-1];o=r.keyedContainer(n,\\\"transforms[\\\"+s+\\\"].styles\\\",\\\"target\\\",\\\"value.visible\\\"),w[n.index]=o}var l=o.get(t._group);void 0===l&&(l=!0),!1!==l&&o.set(t._group,e),A[n.index]=$(n.index,\\\"visible\\\",!1!==n.visible)}else{var u=!1!==n.visible&&e;$(n.index,\\\"visible\\\",u)}}}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859}],651:[function(t,e,n){\\\"use strict\\\";n.isGrouped=function(t){return-1!==(t.traceorder||\\\"\\\").indexOf(\\\"grouped\\\")},n.isVertical=function(t){return\\\"h\\\"!==t.orientation},n.isReversed=function(t){return-1!==(t.traceorder||\\\"\\\").indexOf(\\\"reversed\\\")}},{}],652:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"component\\\",name:\\\"legend\\\",layoutAttributes:t(\\\"./attributes\\\"),supplyLayoutDefaults:t(\\\"./defaults\\\"),draw:t(\\\"./draw\\\"),style:t(\\\"./style\\\")}},{\\\"./attributes\\\":645,\\\"./defaults\\\":647,\\\"./draw\\\":648,\\\"./style\\\":653}],653:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../drawing\\\"),s=t(\\\"../color\\\"),l=t(\\\"../colorscale/helpers\\\").extractOpts,u=t(\\\"../../traces/scatter/subtypes\\\"),c=t(\\\"../../traces/pie/style_one\\\"),h=t(\\\"../../traces/pie/helpers\\\").castOption;function p(t,e){return(e?\\\"radial\\\":\\\"horizontal\\\")+(t?\\\"\\\":\\\"reversed\\\")}e.exports=function(t,e,n){var f=e._fullLayout;n||(n=f.legend);var d=\\\"constant\\\"===n.itemsizing,m=function(t,e,n,r){var i;if(t+1)i=t;else{if(!(e&&e.width>0))return 0;i=e.width}return d?r:Math.min(i,n)};function v(t,e,n){var o=t[0].trace,a=o.marker||{},l=a.line||{},u=n?o.visible&&o.type===n:i.traceIs(o,\\\"bar\\\"),c=r.select(e).select(\\\"g.legendpoints\\\").selectAll(\\\"path.legend\\\"+n).data(u?[t]:[]);c.enter().append(\\\"path\\\").classed(\\\"legend\\\"+n,!0).attr(\\\"d\\\",\\\"M6,6H-6V-6H6Z\\\").attr(\\\"transform\\\",\\\"translate(20,0)\\\"),c.exit().remove(),c.each((function(t){var e=r.select(this),n=t[0],i=m(n.mlw,a.line,5,2);e.style(\\\"stroke-width\\\",i+\\\"px\\\").call(s.fill,n.mc||a.color),i&&s.stroke(e,n.mlc||l.color)}))}function g(t,e,n){var a=t[0],s=a.trace,l=n?s.visible&&s.type===n:i.traceIs(s,n),u=r.select(e).select(\\\"g.legendpoints\\\").selectAll(\\\"path.legend\\\"+n).data(l?[t]:[]);if(u.enter().append(\\\"path\\\").classed(\\\"legend\\\"+n,!0).attr(\\\"d\\\",\\\"M6,6H-6V-6H6Z\\\").attr(\\\"transform\\\",\\\"translate(20,0)\\\"),u.exit().remove(),u.size()){var p=(s.marker||{}).line,f=m(h(p.width,a.pts),p,5,2),d=o.minExtend(s,{marker:{line:{width:f}}});d.marker.line.color=p.color;var v=o.minExtend(a,{trace:d});c(u,v,d)}}t.each((function(t){var e=r.select(this),i=o.ensureSingle(e,\\\"g\\\",\\\"layers\\\");i.style(\\\"opacity\\\",t[0].trace.opacity);var a=n.valign,s=t[0].lineHeight,l=t[0].height;if(\\\"middle\\\"!==a&&s&&l){var u={top:1,bottom:-1}[a]*(.5*(s-l+3));i.attr(\\\"transform\\\",\\\"translate(0,\\\"+u+\\\")\\\")}else i.attr(\\\"transform\\\",null);i.selectAll(\\\"g.legendfill\\\").data([t]).enter().append(\\\"g\\\").classed(\\\"legendfill\\\",!0),i.selectAll(\\\"g.legendlines\\\").data([t]).enter().append(\\\"g\\\").classed(\\\"legendlines\\\",!0);var c=i.selectAll(\\\"g.legendsymbols\\\").data([t]);c.enter().append(\\\"g\\\").classed(\\\"legendsymbols\\\",!0),c.selectAll(\\\"g.legendpoints\\\").data([t]).enter().append(\\\"g\\\").classed(\\\"legendpoints\\\",!0)})).each((function(t){var n,i=t[0].trace,u=[];if(i.visible)switch(i.type){case\\\"histogram2d\\\":case\\\"heatmap\\\":u=[[\\\"M-15,-2V4H15V-2Z\\\"]],n=!0;break;case\\\"choropleth\\\":case\\\"choroplethmapbox\\\":u=[[\\\"M-6,-6V6H6V-6Z\\\"]],n=!0;break;case\\\"densitymapbox\\\":u=[[\\\"M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0\\\"]],n=\\\"radial\\\";break;case\\\"cone\\\":u=[[\\\"M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z\\\"],[\\\"M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z\\\"],[\\\"M-6,-2 A2,2 0 0,0 -6,2 L6,0Z\\\"]],n=!1;break;case\\\"streamtube\\\":u=[[\\\"M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z\\\"],[\\\"M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z\\\"],[\\\"M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z\\\"]],n=!1;break;case\\\"surface\\\":u=[[\\\"M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z\\\"],[\\\"M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z\\\"]],n=!0;break;case\\\"mesh3d\\\":u=[[\\\"M-6,6H0L-6,-6Z\\\"],[\\\"M6,6H0L6,-6Z\\\"],[\\\"M-6,-6H6L0,6Z\\\"]],n=!1;break;case\\\"volume\\\":u=[[\\\"M-6,6H0L-6,-6Z\\\"],[\\\"M6,6H0L6,-6Z\\\"],[\\\"M-6,-6H6L0,6Z\\\"]],n=!0;break;case\\\"isosurface\\\":u=[[\\\"M-6,6H0L-6,-6Z\\\"],[\\\"M6,6H0L6,-6Z\\\"],[\\\"M-6,-6 A12,24 0 0,0 6,-6 L0,6Z\\\"]],n=!1}var c=r.select(this).select(\\\"g.legendpoints\\\").selectAll(\\\"path.legend3dandfriends\\\").data(u);c.enter().append(\\\"path\\\").classed(\\\"legend3dandfriends\\\",!0).attr(\\\"transform\\\",\\\"translate(20,0)\\\").style(\\\"stroke-miterlimit\\\",1),c.exit().remove(),c.each((function(t,u){var c,h=r.select(this),f=l(i),d=f.colorscale,m=f.reversescale;if(d){if(!n){var v=d.length;c=0===u?d[m?v-1:0][1]:1===u?d[m?0:v-1][1]:d[Math.floor((v-1)/2)][1]}}else{var g=i.vertexcolor||i.facecolor||i.color;c=o.isArrayOrTypedArray(g)?g[u]||g[0]:g}h.attr(\\\"d\\\",t[0]),c?h.call(s.fill,c):h.call((function(t){if(t.size()){var r=\\\"legendfill-\\\"+i.uid;a.gradient(t,e,r,p(m,\\\"radial\\\"===n),d,\\\"fill\\\")}}))}))})).each((function(t){var e=t[0].trace,n=\\\"waterfall\\\"===e.type;if(t[0]._distinct&&n){var i=t[0].trace[t[0].dir].marker;return t[0].mc=i.color,t[0].mlw=i.line.width,t[0].mlc=i.line.color,v(t,this,\\\"waterfall\\\")}var o=[];e.visible&&n&&(o=t[0].hasTotals?[[\\\"increasing\\\",\\\"M-6,-6V6H0Z\\\"],[\\\"totals\\\",\\\"M6,6H0L-6,-6H-0Z\\\"],[\\\"decreasing\\\",\\\"M6,6V-6H0Z\\\"]]:[[\\\"increasing\\\",\\\"M-6,-6V6H6Z\\\"],[\\\"decreasing\\\",\\\"M6,6V-6H-6Z\\\"]]);var a=r.select(this).select(\\\"g.legendpoints\\\").selectAll(\\\"path.legendwaterfall\\\").data(o);a.enter().append(\\\"path\\\").classed(\\\"legendwaterfall\\\",!0).attr(\\\"transform\\\",\\\"translate(20,0)\\\").style(\\\"stroke-miterlimit\\\",1),a.exit().remove(),a.each((function(t){var n=r.select(this),i=e[t[0]].marker,o=m(void 0,i.line,5,2);n.attr(\\\"d\\\",t[1]).style(\\\"stroke-width\\\",o+\\\"px\\\").call(s.fill,i.color),o&&n.call(s.stroke,i.line.color)}))})).each((function(t){v(t,this,\\\"funnel\\\")})).each((function(t){v(t,this)})).each((function(t){var n=t[0].trace,l=r.select(this).select(\\\"g.legendpoints\\\").selectAll(\\\"path.legendbox\\\").data(n.visible&&i.traceIs(n,\\\"box-violin\\\")?[t]:[]);l.enter().append(\\\"path\\\").classed(\\\"legendbox\\\",!0).attr(\\\"d\\\",\\\"M6,6H-6V-6H6Z\\\").attr(\\\"transform\\\",\\\"translate(20,0)\\\"),l.exit().remove(),l.each((function(){var t=r.select(this);if(\\\"all\\\"!==n.boxpoints&&\\\"all\\\"!==n.points||0!==s.opacity(n.fillcolor)||0!==s.opacity((n.line||{}).color)){var i=m(void 0,n.line,5,2);t.style(\\\"stroke-width\\\",i+\\\"px\\\").call(s.fill,n.fillcolor),i&&s.stroke(t,n.line.color)}else{var u=o.minExtend(n,{marker:{size:d?12:o.constrain(n.marker.size,2,16),sizeref:1,sizemin:1,sizemode:\\\"diameter\\\"}});l.call(a.pointStyle,u,e)}}))})).each((function(t){g(t,this,\\\"funnelarea\\\")})).each((function(t){g(t,this,\\\"pie\\\")})).each((function(t){var n,i,s=t[0],c=s.trace,h=c.visible&&c.fill&&\\\"none\\\"!==c.fill,f=u.hasLines(c),d=c.contours,v=!1,g=!1,y=l(c),_=y.colorscale,b=y.reversescale;if(d){var x=d.coloring;\\\"lines\\\"===x?v=!0:f=\\\"none\\\"===x||\\\"heatmap\\\"===x||d.showlines,\\\"constraint\\\"===d.type?h=\\\"=\\\"!==d._operation:\\\"fill\\\"!==x&&\\\"heatmap\\\"!==x||(g=!0)}var w=u.hasMarkers(c)||u.hasText(c)||!h&&!g?\\\"M5,0\\\":f||v?\\\"M5,-2\\\":\\\"M5,-3\\\",A=r.select(this),C=A.select(\\\".legendfill\\\").selectAll(\\\"path\\\").data(h||g?[t]:[]);if(C.enter().append(\\\"path\\\").classed(\\\"js-fill\\\",!0),C.exit().remove(),C.attr(\\\"d\\\",w+\\\"h30v6h-30z\\\").call(h?a.fillGroupStyle:function(t){if(t.size()){var n=\\\"legendfill-\\\"+c.uid;a.gradient(t,e,n,p(b),_,\\\"fill\\\")}}),f||v){var M=m(void 0,c.line,10,5);i=o.minExtend(c,{line:{width:M}}),n=[o.minExtend(s,{trace:i})]}var E=A.select(\\\".legendlines\\\").selectAll(\\\"path\\\").data(f||v?[n]:[]);E.enter().append(\\\"path\\\").classed(\\\"js-line\\\",!0),E.exit().remove(),E.attr(\\\"d\\\",w+(v?\\\"l30,0.0001\\\":\\\"h30\\\")).call(f?a.lineGroupStyle:function(t){if(t.size()){var n=\\\"legendline-\\\"+c.uid;a.lineGroupStyle(t),a.gradient(t,e,n,p(b),_,\\\"stroke\\\")}})})).each((function(t){var n,i,s=t[0],l=s.trace,c=u.hasMarkers(l),h=u.hasText(l),p=u.hasLines(l);function f(t,e,n,r){var i=o.nestedProperty(l,t).get(),a=o.isArrayOrTypedArray(i)&&e?e(i):i;if(d&&a&&void 0!==r&&(a=r),n){if(a<n[0])return n[0];if(a>n[1])return n[1]}return a}function m(t){return s._distinct&&s.index&&t[s.index]?t[s.index]:t[0]}if(c||h||p){var v={},g={};if(c){v.mc=f(\\\"marker.color\\\",m),v.mx=f(\\\"marker.symbol\\\",m),v.mo=f(\\\"marker.opacity\\\",o.mean,[.2,1]),v.mlc=f(\\\"marker.line.color\\\",m),v.mlw=f(\\\"marker.line.width\\\",o.mean,[0,5],2),g.marker={sizeref:1,sizemin:1,sizemode:\\\"diameter\\\"};var y=f(\\\"marker.size\\\",o.mean,[2,16],12);v.ms=y,g.marker.size=y}p&&(g.line={width:f(\\\"line.width\\\",m,[0,10],5)}),h&&(v.tx=\\\"Aa\\\",v.tp=f(\\\"textposition\\\",m),v.ts=10,v.tc=f(\\\"textfont.color\\\",m),v.tf=f(\\\"textfont.family\\\",m)),n=[o.minExtend(s,v)],(i=o.minExtend(l,g)).selectedpoints=null,i.texttemplate=null}var _=r.select(this).select(\\\"g.legendpoints\\\"),b=_.selectAll(\\\"path.scatterpts\\\").data(c?n:[]);b.enter().insert(\\\"path\\\",\\\":first-child\\\").classed(\\\"scatterpts\\\",!0).attr(\\\"transform\\\",\\\"translate(20,0)\\\"),b.exit().remove(),b.call(a.pointStyle,i,e),c&&(n[0].mrc=3);var x=_.selectAll(\\\"g.pointtext\\\").data(h?n:[]);x.enter().append(\\\"g\\\").classed(\\\"pointtext\\\",!0).append(\\\"text\\\").attr(\\\"transform\\\",\\\"translate(20,0)\\\"),x.exit().remove(),x.selectAll(\\\"text\\\").call(a.textPointStyle,i,e)})).each((function(t){var e=t[0].trace,n=r.select(this).select(\\\"g.legendpoints\\\").selectAll(\\\"path.legendcandle\\\").data(e.visible&&\\\"candlestick\\\"===e.type?[t,t]:[]);n.enter().append(\\\"path\\\").classed(\\\"legendcandle\\\",!0).attr(\\\"d\\\",(function(t,e){return e?\\\"M-15,0H-8M-8,6V-6H8Z\\\":\\\"M15,0H8M8,-6V6H-8Z\\\"})).attr(\\\"transform\\\",\\\"translate(20,0)\\\").style(\\\"stroke-miterlimit\\\",1),n.exit().remove(),n.each((function(t,n){var i=r.select(this),o=e[n?\\\"increasing\\\":\\\"decreasing\\\"],a=m(void 0,o.line,5,2);i.style(\\\"stroke-width\\\",a+\\\"px\\\").call(s.fill,o.fillcolor),a&&s.stroke(i,o.line.color)}))})).each((function(t){var e=t[0].trace,n=r.select(this).select(\\\"g.legendpoints\\\").selectAll(\\\"path.legendohlc\\\").data(e.visible&&\\\"ohlc\\\"===e.type?[t,t]:[]);n.enter().append(\\\"path\\\").classed(\\\"legendohlc\\\",!0).attr(\\\"d\\\",(function(t,e){return e?\\\"M-15,0H0M-8,-6V0\\\":\\\"M15,0H0M8,6V0\\\"})).attr(\\\"transform\\\",\\\"translate(20,0)\\\").style(\\\"stroke-miterlimit\\\",1),n.exit().remove(),n.each((function(t,n){var i=r.select(this),o=e[n?\\\"increasing\\\":\\\"decreasing\\\"],l=m(void 0,o.line,5,2);i.style(\\\"fill\\\",\\\"none\\\").call(a.dashLine,o.line.dash,l),l&&s.stroke(i,o.line.color)}))}))}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../../traces/pie/helpers\\\":1113,\\\"../../traces/pie/style_one\\\":1119,\\\"../../traces/scatter/subtypes\\\":1158,\\\"../color\\\":595,\\\"../colorscale/helpers\\\":606,\\\"../drawing\\\":617,d3:164}],654:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../plots/plots\\\"),o=t(\\\"../../plots/cartesian/axis_ids\\\"),a=t(\\\"../../fonts/ploticon\\\"),s=t(\\\"../shapes/draw\\\").eraseActiveShape,l=t(\\\"../../lib\\\"),u=l._,c=e.exports={};function h(t,e){var n,i,a=e.currentTarget,s=a.getAttribute(\\\"data-attr\\\"),l=a.getAttribute(\\\"data-val\\\")||!0,u=t._fullLayout,c={},h=o.list(t,null,!0),p=u._cartesianSpikesEnabled;if(\\\"zoom\\\"===s){var f,d=\\\"in\\\"===l?.5:2,m=(1+d)/2,v=(1-d)/2;for(i=0;i<h.length;i++)if(!(n=h[i]).fixedrange)if(f=n._name,\\\"auto\\\"===l)c[f+\\\".autorange\\\"]=!0;else if(\\\"reset\\\"===l){if(void 0===n._rangeInitial)c[f+\\\".autorange\\\"]=!0;else{var g=n._rangeInitial.slice();c[f+\\\".range[0]\\\"]=g[0],c[f+\\\".range[1]\\\"]=g[1]}void 0!==n._showSpikeInitial&&(c[f+\\\".showspikes\\\"]=n._showSpikeInitial,\\\"on\\\"!==p||n._showSpikeInitial||(p=\\\"off\\\"))}else{var y=[n.r2l(n.range[0]),n.r2l(n.range[1])],_=[m*y[0]+v*y[1],m*y[1]+v*y[0]];c[f+\\\".range[0]\\\"]=n.l2r(_[0]),c[f+\\\".range[1]\\\"]=n.l2r(_[1])}}else\\\"hovermode\\\"!==s||\\\"x\\\"!==l&&\\\"y\\\"!==l||(l=u._isHoriz?\\\"y\\\":\\\"x\\\",a.setAttribute(\\\"data-val\\\",l)),c[s]=l;u._cartesianSpikesEnabled=p,r.call(\\\"_guiRelayout\\\",t,c)}function p(t,e){for(var n=e.currentTarget,i=n.getAttribute(\\\"data-attr\\\"),o=n.getAttribute(\\\"data-val\\\")||!0,a=t._fullLayout._subplots.gl3d||[],s={},l=i.split(\\\".\\\"),u=0;u<a.length;u++)s[a[u]+\\\".\\\"+l[1]]=o;var c=\\\"pan\\\"===o?o:\\\"zoom\\\";s.dragmode=c,r.call(\\\"_guiRelayout\\\",t,s)}function f(t,e){for(var n=e.currentTarget.getAttribute(\\\"data-attr\\\"),i=t._fullLayout,o=i._subplots.gl3d||[],a={},s=0;s<o.length;s++){var l,u=o[s],c=u+\\\".camera\\\",h=u+\\\".aspectratio\\\",p=u+\\\".aspectmode\\\",f=i[u]._scene;\\\"resetLastSave\\\"===n?(a[c+\\\".up\\\"]=f.viewInitial.up,a[c+\\\".eye\\\"]=f.viewInitial.eye,a[c+\\\".center\\\"]=f.viewInitial.center,l=!0):\\\"resetDefault\\\"===n&&(a[c+\\\".up\\\"]=null,a[c+\\\".eye\\\"]=null,a[c+\\\".center\\\"]=null,l=!0),l&&(a[h+\\\".x\\\"]=f.viewInitial.aspectratio.x,a[h+\\\".y\\\"]=f.viewInitial.aspectratio.y,a[h+\\\".z\\\"]=f.viewInitial.aspectratio.z,a[p]=f.viewInitial.aspectmode)}r.call(\\\"_guiRelayout\\\",t,a)}function d(t,e){var n=e.currentTarget,r=n._previousVal,i=t._fullLayout,o=i._subplots.gl3d||[],a=[\\\"xaxis\\\",\\\"yaxis\\\",\\\"zaxis\\\"],s={},l={};if(r)l=r,n._previousVal=null;else{for(var u=0;u<o.length;u++){var c=o[u],h=i[c],p=c+\\\".hovermode\\\";s[p]=h.hovermode,l[p]=!1;for(var f=0;f<3;f++){var d=a[f],m=c+\\\".\\\"+d+\\\".showspikes\\\";l[m]=!1,s[m]=h[d].showspikes}}n._previousVal=s}return l}function m(t,e){for(var n=e.currentTarget,i=n.getAttribute(\\\"data-attr\\\"),o=n.getAttribute(\\\"data-val\\\")||!0,a=t._fullLayout,s=a._subplots.geo||[],l=0;l<s.length;l++){var u=s[l],c=a[u];if(\\\"zoom\\\"===i){var h=c.projection.scale,p=\\\"in\\\"===o?2*h:.5*h;r.call(\\\"_guiRelayout\\\",t,u+\\\".projection.scale\\\",p)}}\\\"reset\\\"===i&&_(t,\\\"geo\\\")}function v(t){var e=t._fullLayout;return!e.hovermode&&(e._has(\\\"cartesian\\\")?e._isHoriz?\\\"y\\\":\\\"x\\\":\\\"closest\\\")}function g(t){var e=v(t);r.call(\\\"_guiRelayout\\\",t,\\\"hovermode\\\",e)}function y(t,e){for(var n=e.currentTarget.getAttribute(\\\"data-val\\\"),i=t._fullLayout,o=i._subplots.mapbox||[],a={},s=0;s<o.length;s++){var l=o[s],u=i[l].zoom,c=\\\"in\\\"===n?1.05*u:u/1.05;a[l+\\\".zoom\\\"]=c}r.call(\\\"_guiRelayout\\\",t,a)}function _(t,e){for(var n=t._fullLayout,i=n._subplots[e]||[],o={},a=0;a<i.length;a++)for(var s=i[a],l=n[s]._subplot.viewInitial,u=Object.keys(l),c=0;c<u.length;c++){var h=u[c];o[s+\\\".\\\"+h]=l[h]}r.call(\\\"_guiRelayout\\\",t,o)}c.toImage={name:\\\"toImage\\\",title:function(t){var e=(t._context.toImageButtonOptions||{}).format||\\\"png\\\";return u(t,\\\"png\\\"===e?\\\"Download plot as a png\\\":\\\"Download plot\\\")},icon:a.camera,click:function(t){var e=t._context.toImageButtonOptions,n={format:e.format||\\\"png\\\"};l.notifier(u(t,\\\"Taking snapshot - this may take a few seconds\\\"),\\\"long\\\"),\\\"svg\\\"!==n.format&&l.isIE()&&(l.notifier(u(t,\\\"IE only supports svg. Changing format to svg.\\\"),\\\"long\\\"),n.format=\\\"svg\\\"),[\\\"filename\\\",\\\"width\\\",\\\"height\\\",\\\"scale\\\"].forEach((function(t){t in e&&(n[t]=e[t])})),r.call(\\\"downloadImage\\\",t,n).then((function(e){l.notifier(u(t,\\\"Snapshot succeeded\\\")+\\\" - \\\"+e,\\\"long\\\")})).catch((function(){l.notifier(u(t,\\\"Sorry, there was a problem downloading your snapshot!\\\"),\\\"long\\\")}))}},c.sendDataToCloud={name:\\\"sendDataToCloud\\\",title:function(t){return u(t,\\\"Edit in Chart Studio\\\")},icon:a.disk,click:function(t){i.sendDataToCloud(t)}},c.editInChartStudio={name:\\\"editInChartStudio\\\",title:function(t){return u(t,\\\"Edit in Chart Studio\\\")},icon:a.pencil,click:function(t){i.sendDataToCloud(t)}},c.zoom2d={name:\\\"zoom2d\\\",title:function(t){return u(t,\\\"Zoom\\\")},attr:\\\"dragmode\\\",val:\\\"zoom\\\",icon:a.zoombox,click:h},c.pan2d={name:\\\"pan2d\\\",title:function(t){return u(t,\\\"Pan\\\")},attr:\\\"dragmode\\\",val:\\\"pan\\\",icon:a.pan,click:h},c.select2d={name:\\\"select2d\\\",title:function(t){return u(t,\\\"Box Select\\\")},attr:\\\"dragmode\\\",val:\\\"select\\\",icon:a.selectbox,click:h},c.lasso2d={name:\\\"lasso2d\\\",title:function(t){return u(t,\\\"Lasso Select\\\")},attr:\\\"dragmode\\\",val:\\\"lasso\\\",icon:a.lasso,click:h},c.drawclosedpath={name:\\\"drawclosedpath\\\",title:function(t){return u(t,\\\"Draw closed freeform\\\")},attr:\\\"dragmode\\\",val:\\\"drawclosedpath\\\",icon:a.drawclosedpath,click:h},c.drawopenpath={name:\\\"drawopenpath\\\",title:function(t){return u(t,\\\"Draw open freeform\\\")},attr:\\\"dragmode\\\",val:\\\"drawopenpath\\\",icon:a.drawopenpath,click:h},c.drawline={name:\\\"drawline\\\",title:function(t){return u(t,\\\"Draw line\\\")},attr:\\\"dragmode\\\",val:\\\"drawline\\\",icon:a.drawline,click:h},c.drawrect={name:\\\"drawrect\\\",title:function(t){return u(t,\\\"Draw rectangle\\\")},attr:\\\"dragmode\\\",val:\\\"drawrect\\\",icon:a.drawrect,click:h},c.drawcircle={name:\\\"drawcircle\\\",title:function(t){return u(t,\\\"Draw circle\\\")},attr:\\\"dragmode\\\",val:\\\"drawcircle\\\",icon:a.drawcircle,click:h},c.eraseshape={name:\\\"eraseshape\\\",title:function(t){return u(t,\\\"Erase active shape\\\")},icon:a.eraseshape,click:s},c.zoomIn2d={name:\\\"zoomIn2d\\\",title:function(t){return u(t,\\\"Zoom in\\\")},attr:\\\"zoom\\\",val:\\\"in\\\",icon:a.zoom_plus,click:h},c.zoomOut2d={name:\\\"zoomOut2d\\\",title:function(t){return u(t,\\\"Zoom out\\\")},attr:\\\"zoom\\\",val:\\\"out\\\",icon:a.zoom_minus,click:h},c.autoScale2d={name:\\\"autoScale2d\\\",title:function(t){return u(t,\\\"Autoscale\\\")},attr:\\\"zoom\\\",val:\\\"auto\\\",icon:a.autoscale,click:h},c.resetScale2d={name:\\\"resetScale2d\\\",title:function(t){return u(t,\\\"Reset axes\\\")},attr:\\\"zoom\\\",val:\\\"reset\\\",icon:a.home,click:h},c.hoverClosestCartesian={name:\\\"hoverClosestCartesian\\\",title:function(t){return u(t,\\\"Show closest data on hover\\\")},attr:\\\"hovermode\\\",val:\\\"closest\\\",icon:a.tooltip_basic,gravity:\\\"ne\\\",click:h},c.hoverCompareCartesian={name:\\\"hoverCompareCartesian\\\",title:function(t){return u(t,\\\"Compare data on hover\\\")},attr:\\\"hovermode\\\",val:function(t){return t._fullLayout._isHoriz?\\\"y\\\":\\\"x\\\"},icon:a.tooltip_compare,gravity:\\\"ne\\\",click:h},c.zoom3d={name:\\\"zoom3d\\\",title:function(t){return u(t,\\\"Zoom\\\")},attr:\\\"scene.dragmode\\\",val:\\\"zoom\\\",icon:a.zoombox,click:p},c.pan3d={name:\\\"pan3d\\\",title:function(t){return u(t,\\\"Pan\\\")},attr:\\\"scene.dragmode\\\",val:\\\"pan\\\",icon:a.pan,click:p},c.orbitRotation={name:\\\"orbitRotation\\\",title:function(t){return u(t,\\\"Orbital rotation\\\")},attr:\\\"scene.dragmode\\\",val:\\\"orbit\\\",icon:a[\\\"3d_rotate\\\"],click:p},c.tableRotation={name:\\\"tableRotation\\\",title:function(t){return u(t,\\\"Turntable rotation\\\")},attr:\\\"scene.dragmode\\\",val:\\\"turntable\\\",icon:a[\\\"z-axis\\\"],click:p},c.resetCameraDefault3d={name:\\\"resetCameraDefault3d\\\",title:function(t){return u(t,\\\"Reset camera to default\\\")},attr:\\\"resetDefault\\\",icon:a.home,click:f},c.resetCameraLastSave3d={name:\\\"resetCameraLastSave3d\\\",title:function(t){return u(t,\\\"Reset camera to last save\\\")},attr:\\\"resetLastSave\\\",icon:a.movie,click:f},c.hoverClosest3d={name:\\\"hoverClosest3d\\\",title:function(t){return u(t,\\\"Toggle show closest data on hover\\\")},attr:\\\"hovermode\\\",val:null,toggle:!0,icon:a.tooltip_basic,gravity:\\\"ne\\\",click:function(t,e){var n=d(t,e);r.call(\\\"_guiRelayout\\\",t,n)}},c.zoomInGeo={name:\\\"zoomInGeo\\\",title:function(t){return u(t,\\\"Zoom in\\\")},attr:\\\"zoom\\\",val:\\\"in\\\",icon:a.zoom_plus,click:m},c.zoomOutGeo={name:\\\"zoomOutGeo\\\",title:function(t){return u(t,\\\"Zoom out\\\")},attr:\\\"zoom\\\",val:\\\"out\\\",icon:a.zoom_minus,click:m},c.resetGeo={name:\\\"resetGeo\\\",title:function(t){return u(t,\\\"Reset\\\")},attr:\\\"reset\\\",val:null,icon:a.autoscale,click:m},c.hoverClosestGeo={name:\\\"hoverClosestGeo\\\",title:function(t){return u(t,\\\"Toggle show closest data on hover\\\")},attr:\\\"hovermode\\\",val:null,toggle:!0,icon:a.tooltip_basic,gravity:\\\"ne\\\",click:g},c.hoverClosestGl2d={name:\\\"hoverClosestGl2d\\\",title:function(t){return u(t,\\\"Toggle show closest data on hover\\\")},attr:\\\"hovermode\\\",val:null,toggle:!0,icon:a.tooltip_basic,gravity:\\\"ne\\\",click:g},c.hoverClosestPie={name:\\\"hoverClosestPie\\\",title:function(t){return u(t,\\\"Toggle show closest data on hover\\\")},attr:\\\"hovermode\\\",val:\\\"closest\\\",icon:a.tooltip_basic,gravity:\\\"ne\\\",click:g},c.resetViewSankey={name:\\\"resetSankeyGroup\\\",title:function(t){return u(t,\\\"Reset view\\\")},icon:a.home,click:function(t){for(var e={\\\"node.groups\\\":[],\\\"node.x\\\":[],\\\"node.y\\\":[]},n=0;n<t._fullData.length;n++){var i=t._fullData[n]._viewInitial;e[\\\"node.groups\\\"].push(i.node.groups.slice()),e[\\\"node.x\\\"].push(i.node.x.slice()),e[\\\"node.y\\\"].push(i.node.y.slice())}r.call(\\\"restyle\\\",t,e)}},c.toggleHover={name:\\\"toggleHover\\\",title:function(t){return u(t,\\\"Toggle show closest data on hover\\\")},attr:\\\"hovermode\\\",val:null,toggle:!0,icon:a.tooltip_basic,gravity:\\\"ne\\\",click:function(t,e){var n=d(t,e);n.hovermode=v(t),r.call(\\\"_guiRelayout\\\",t,n)}},c.resetViews={name:\\\"resetViews\\\",title:function(t){return u(t,\\\"Reset views\\\")},icon:a.home,click:function(t,e){var n=e.currentTarget;n.setAttribute(\\\"data-attr\\\",\\\"zoom\\\"),n.setAttribute(\\\"data-val\\\",\\\"reset\\\"),h(t,e),n.setAttribute(\\\"data-attr\\\",\\\"resetLastSave\\\"),f(t,e),_(t,\\\"geo\\\"),_(t,\\\"mapbox\\\")}},c.toggleSpikelines={name:\\\"toggleSpikelines\\\",title:function(t){return u(t,\\\"Toggle Spike Lines\\\")},icon:a.spikeline,attr:\\\"_cartesianSpikesEnabled\\\",val:\\\"on\\\",click:function(t){var e=t._fullLayout,n=e._cartesianSpikesEnabled;e._cartesianSpikesEnabled=\\\"on\\\"===n?\\\"off\\\":\\\"on\\\",r.call(\\\"_guiRelayout\\\",t,function(t){for(var e=\\\"on\\\"===t._fullLayout._cartesianSpikesEnabled,n=o.list(t,null,!0),r={},i=0;i<n.length;i++){var a=n[i];r[a._name+\\\".showspikes\\\"]=!!e||a._showSpikeInitial}return r}(t))}},c.resetViewMapbox={name:\\\"resetViewMapbox\\\",title:function(t){return u(t,\\\"Reset view\\\")},attr:\\\"reset\\\",icon:a.home,click:function(t){_(t,\\\"mapbox\\\")}},c.zoomInMapbox={name:\\\"zoomInMapbox\\\",title:function(t){return u(t,\\\"Zoom in\\\")},attr:\\\"zoom\\\",val:\\\"in\\\",icon:a.zoom_plus,click:y},c.zoomOutMapbox={name:\\\"zoomOutMapbox\\\",title:function(t){return u(t,\\\"Zoom out\\\")},attr:\\\"zoom\\\",val:\\\"out\\\",icon:a.zoom_minus,click:y}},{\\\"../../fonts/ploticon\\\":708,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../plots/plots\\\":839,\\\"../../registry\\\":859,\\\"../shapes/draw\\\":676}],655:[function(t,e,n){\\\"use strict\\\";n.manage=t(\\\"./manage\\\")},{\\\"./manage\\\":656}],656:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axis_ids\\\"),i=t(\\\"../../traces/scatter/subtypes\\\"),o=t(\\\"../../registry\\\"),a=t(\\\"../fx/helpers\\\").isUnifiedHover,s=t(\\\"./modebar\\\"),l=t(\\\"./buttons\\\");e.exports=function(t){var e=t._fullLayout,n=t._context,c=e._modeBar;if(n.displayModeBar||n.watermark){if(!Array.isArray(n.modeBarButtonsToRemove))throw new Error([\\\"*modeBarButtonsToRemove* configuration options\\\",\\\"must be an array.\\\"].join(\\\" \\\"));if(!Array.isArray(n.modeBarButtonsToAdd))throw new Error([\\\"*modeBarButtonsToAdd* configuration options\\\",\\\"must be an array.\\\"].join(\\\" \\\"));var h,p=n.modeBarButtons;h=Array.isArray(p)&&p.length?function(t){for(var e=0;e<t.length;e++)for(var n=t[e],r=0;r<n.length;r++){var i=n[r];if(\\\"string\\\"==typeof i){if(void 0===l[i])throw new Error([\\\"*modeBarButtons* configuration options\\\",\\\"invalid button name\\\"].join(\\\" \\\"));t[e][r]=l[i]}}return t}(p):!n.displayModeBar&&n.watermark?[]:function(t){var e=t._fullLayout,n=t._fullData,s=t._context,c=s.modeBarButtonsToRemove,h=s.modeBarButtonsToAdd,p=e._has(\\\"cartesian\\\"),f=e._has(\\\"gl3d\\\"),d=e._has(\\\"geo\\\"),m=e._has(\\\"pie\\\"),v=e._has(\\\"funnelarea\\\"),g=e._has(\\\"gl2d\\\"),y=e._has(\\\"ternary\\\"),_=e._has(\\\"mapbox\\\"),b=e._has(\\\"polar\\\"),x=e._has(\\\"sankey\\\"),w=function(t){for(var e=r.list({_fullLayout:t},null,!0),n=0;n<e.length;n++)if(!e[n].fixedrange)return!1;return!0}(e),A=a(e.hovermode),C=[];function M(t){if(t.length){for(var e=[],n=0;n<t.length;n++){var r=t[n];-1===c.indexOf(r)&&e.push(l[r])}C.push(e)}}var E=[\\\"toImage\\\"];s.showEditInChartStudio?E.push(\\\"editInChartStudio\\\"):s.showSendToCloud&&E.push(\\\"sendDataToCloud\\\"),M(E);var T=[],S=[],k=[],O=[];if((p||g||m||v||y)+d+f+_+b>1?(S=[\\\"toggleHover\\\"],k=[\\\"resetViews\\\"]):d?(T=[\\\"zoomInGeo\\\",\\\"zoomOutGeo\\\"],S=[\\\"hoverClosestGeo\\\"],k=[\\\"resetGeo\\\"]):f?(S=[\\\"hoverClosest3d\\\"],k=[\\\"resetCameraDefault3d\\\",\\\"resetCameraLastSave3d\\\"]):_?(T=[\\\"zoomInMapbox\\\",\\\"zoomOutMapbox\\\"],S=[\\\"toggleHover\\\"],k=[\\\"resetViewMapbox\\\"]):g?S=[\\\"hoverClosestGl2d\\\"]:m?S=[\\\"hoverClosestPie\\\"]:x?(S=[\\\"hoverClosestCartesian\\\",\\\"hoverCompareCartesian\\\"],k=[\\\"resetViewSankey\\\"]):S=[\\\"toggleHover\\\"],p&&(S=[\\\"toggleSpikelines\\\",\\\"hoverClosestCartesian\\\",\\\"hoverCompareCartesian\\\"]),(function(t){for(var e=0;e<t.length;e++)if(!o.traceIs(t[e],\\\"noHover\\\"))return!1;return!0}(n)||A)&&(S=[]),!p&&!g||w||(T=[\\\"zoomIn2d\\\",\\\"zoomOut2d\\\",\\\"autoScale2d\\\"],\\\"resetViews\\\"!==k[0]&&(k=[\\\"resetScale2d\\\"])),f?O=[\\\"zoom3d\\\",\\\"pan3d\\\",\\\"orbitRotation\\\",\\\"tableRotation\\\"]:(p||g)&&!w||y?O=[\\\"zoom2d\\\",\\\"pan2d\\\"]:_||d?O=[\\\"pan2d\\\"]:b&&(O=[\\\"zoom2d\\\"]),function(t){for(var e=!1,n=0;n<t.length&&!e;n++){var r=t[n];r._module&&r._module.selectPoints&&(o.traceIs(r,\\\"scatter-like\\\")?(i.hasMarkers(r)||i.hasText(r))&&(e=!0):o.traceIs(r,\\\"box-violin\\\")&&\\\"all\\\"!==r.boxpoints&&\\\"all\\\"!==r.points||(e=!0))}return e}(n)&&O.push(\\\"select2d\\\",\\\"lasso2d\\\"),Array.isArray(h)){for(var I=[],L=0;L<h.length;L++){var P=h[L];\\\"string\\\"==typeof P?-1!==u.indexOf(P)&&(e._has(\\\"mapbox\\\")||e._has(\\\"cartesian\\\"))&&O.push(P):I.push(P)}h=I}return M(O),M(T.concat(k)),M(S),function(t,e){if(e.length)if(Array.isArray(e[0]))for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t}(C,h)}(t),c?c.update(t,h):e._modeBar=s(t,h)}else c&&(c.destroy(),delete e._modeBar)};var u=[\\\"drawline\\\",\\\"drawopenpath\\\",\\\"drawclosedpath\\\",\\\"drawcircle\\\",\\\"drawrect\\\",\\\"eraseshape\\\"]},{\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../registry\\\":859,\\\"../../traces/scatter/subtypes\\\":1158,\\\"../fx/helpers\\\":631,\\\"./buttons\\\":654,\\\"./modebar\\\":657}],657:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../fonts/ploticon\\\"),s=new DOMParser;function l(t){this.container=t.container,this.element=document.createElement(\\\"div\\\"),this.update(t.graphInfo,t.buttons),this.container.appendChild(this.element)}var u=l.prototype;u.update=function(t,e){this.graphInfo=t;var n=this.graphInfo._context,r=this.graphInfo._fullLayout,i=\\\"modebar-\\\"+r._uid;this.element.setAttribute(\\\"id\\\",i),this._uid=i,this.element.className=\\\"modebar\\\",\\\"hover\\\"===n.displayModeBar&&(this.element.className+=\\\" modebar--hover ease-bg\\\"),\\\"v\\\"===r.modebar.orientation&&(this.element.className+=\\\" vertical\\\",e=e.reverse());var a=r.modebar,s=\\\"hover\\\"===n.displayModeBar?\\\".js-plotly-plot .plotly:hover \\\":\\\"\\\";o.deleteRelatedStyleRule(i),o.addRelatedStyleRule(i,s+\\\"#\\\"+i+\\\" .modebar-group\\\",\\\"background-color: \\\"+a.bgcolor),o.addRelatedStyleRule(i,\\\"#\\\"+i+\\\" .modebar-btn .icon path\\\",\\\"fill: \\\"+a.color),o.addRelatedStyleRule(i,\\\"#\\\"+i+\\\" .modebar-btn:hover .icon path\\\",\\\"fill: \\\"+a.activecolor),o.addRelatedStyleRule(i,\\\"#\\\"+i+\\\" .modebar-btn.active .icon path\\\",\\\"fill: \\\"+a.activecolor);var l=!this.hasButtons(e),u=this.hasLogo!==n.displaylogo,c=this.locale!==n.locale;if(this.locale=n.locale,(l||u||c)&&(this.removeAllButtons(),this.updateButtons(e),n.watermark||n.displaylogo)){var h=this.getLogo();n.watermark&&(h.className=h.className+\\\" watermark\\\"),\\\"v\\\"===r.modebar.orientation?this.element.insertBefore(h,this.element.childNodes[0]):this.element.appendChild(h),this.hasLogo=!0}this.updateActiveButton()},u.updateButtons=function(t){var e=this;this.buttons=t,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach((function(t){var n=e.createGroup();t.forEach((function(t){var r=t.name;if(!r)throw new Error(\\\"must provide button 'name' in button config\\\");if(-1!==e.buttonsNames.indexOf(r))throw new Error(\\\"button name '\\\"+r+\\\"' is taken\\\");e.buttonsNames.push(r);var i=e.createButton(t);e.buttonElements.push(i),n.appendChild(i)})),e.element.appendChild(n)}))},u.createGroup=function(){var t=document.createElement(\\\"div\\\");return t.className=\\\"modebar-group\\\",t},u.createButton=function(t){var e=this,n=document.createElement(\\\"a\\\");n.setAttribute(\\\"rel\\\",\\\"tooltip\\\"),n.className=\\\"modebar-btn\\\";var i=t.title;void 0===i?i=t.name:\\\"function\\\"==typeof i&&(i=i(this.graphInfo)),(i||0===i)&&n.setAttribute(\\\"data-title\\\",i),void 0!==t.attr&&n.setAttribute(\\\"data-attr\\\",t.attr);var o=t.val;if(void 0!==o&&(\\\"function\\\"==typeof o&&(o=o(this.graphInfo)),n.setAttribute(\\\"data-val\\\",o)),\\\"function\\\"!=typeof t.click)throw new Error(\\\"must provide button 'click' function in button config\\\");n.addEventListener(\\\"click\\\",(function(n){t.click(e.graphInfo,n),e.updateActiveButton(n.currentTarget)})),n.setAttribute(\\\"data-toggle\\\",t.toggle||!1),t.toggle&&r.select(n).classed(\\\"active\\\",!0);var s=t.icon;return\\\"function\\\"==typeof s?n.appendChild(s()):n.appendChild(this.createIcon(s||a.question)),n.setAttribute(\\\"data-gravity\\\",t.gravity||\\\"n\\\"),n},u.createIcon=function(t){var e,n=i(t.height)?Number(t.height):t.ascent-t.descent,r=\\\"http://www.w3.org/2000/svg\\\";if(t.path){(e=document.createElementNS(r,\\\"svg\\\")).setAttribute(\\\"viewBox\\\",[0,0,t.width,n].join(\\\" \\\")),e.setAttribute(\\\"class\\\",\\\"icon\\\");var o=document.createElementNS(r,\\\"path\\\");o.setAttribute(\\\"d\\\",t.path),t.transform?o.setAttribute(\\\"transform\\\",t.transform):void 0!==t.ascent&&o.setAttribute(\\\"transform\\\",\\\"matrix(1 0 0 -1 0 \\\"+t.ascent+\\\")\\\"),e.appendChild(o)}return t.svg&&(e=s.parseFromString(t.svg,\\\"application/xml\\\").childNodes[0]),e.setAttribute(\\\"height\\\",\\\"1em\\\"),e.setAttribute(\\\"width\\\",\\\"1em\\\"),e},u.updateActiveButton=function(t){var e=this.graphInfo._fullLayout,n=void 0!==t?t.getAttribute(\\\"data-attr\\\"):null;this.buttonElements.forEach((function(t){var i=t.getAttribute(\\\"data-val\\\")||!0,a=t.getAttribute(\\\"data-attr\\\"),s=\\\"true\\\"===t.getAttribute(\\\"data-toggle\\\"),l=r.select(t);if(s)a===n&&l.classed(\\\"active\\\",!l.classed(\\\"active\\\"));else{var u=null===a?a:o.nestedProperty(e,a).get();l.classed(\\\"active\\\",u===i)}}))},u.hasButtons=function(t){var e=this.buttons;if(!e)return!1;if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n){if(t[n].length!==e[n].length)return!1;for(var r=0;r<t[n].length;r++)if(t[n][r].name!==e[n][r].name)return!1}return!0},u.getLogo=function(){var t=this.createGroup(),e=document.createElement(\\\"a\\\");return e.href=\\\"https://plotly.com/\\\",e.target=\\\"_blank\\\",e.setAttribute(\\\"data-title\\\",o._(this.graphInfo,\\\"Produced with Plotly\\\")),e.className=\\\"modebar-btn plotlyjsicon modebar-btn--logo\\\",e.appendChild(this.createIcon(a.newplotlylogo)),t.appendChild(e),t},u.removeAllButtons=function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.hasLogo=!1},u.destroy=function(){o.removeElement(this.container.querySelector(\\\".modebar\\\")),o.deleteRelatedStyleRule(this._uid)},e.exports=function(t,e){var n=t._fullLayout,i=new l({graphInfo:t,container:n._modebardiv.node(),buttons:e});return n._privateplot&&r.select(i.element).append(\\\"span\\\").classed(\\\"badge-private float--left\\\",!0).text(\\\"PRIVATE\\\"),i}},{\\\"../../fonts/ploticon\\\":708,\\\"../../lib\\\":728,d3:164,\\\"fast-isnumeric\\\":236}],658:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/font_attributes\\\"),i=t(\\\"../color/attributes\\\"),o=(0,t(\\\"../../plot_api/plot_template\\\").templatedArray)(\\\"button\\\",{visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},step:{valType:\\\"enumerated\\\",values:[\\\"month\\\",\\\"year\\\",\\\"day\\\",\\\"hour\\\",\\\"minute\\\",\\\"second\\\",\\\"all\\\"],dflt:\\\"month\\\",editType:\\\"plot\\\"},stepmode:{valType:\\\"enumerated\\\",values:[\\\"backward\\\",\\\"todate\\\"],dflt:\\\"backward\\\",editType:\\\"plot\\\"},count:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"plot\\\"},label:{valType:\\\"string\\\",editType:\\\"plot\\\"},editType:\\\"plot\\\"});e.exports={visible:{valType:\\\"boolean\\\",editType:\\\"plot\\\"},buttons:o,x:{valType:\\\"number\\\",min:-2,max:3,editType:\\\"plot\\\"},xanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"left\\\",editType:\\\"plot\\\"},y:{valType:\\\"number\\\",min:-2,max:3,editType:\\\"plot\\\"},yanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],dflt:\\\"bottom\\\",editType:\\\"plot\\\"},font:r({editType:\\\"plot\\\"}),bgcolor:{valType:\\\"color\\\",dflt:i.lightLine,editType:\\\"plot\\\"},activecolor:{valType:\\\"color\\\",editType:\\\"plot\\\"},bordercolor:{valType:\\\"color\\\",dflt:i.defaultLine,editType:\\\"plot\\\"},borderwidth:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"plot\\\"},editType:\\\"plot\\\"}},{\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/font_attributes\\\":804,\\\"../color/attributes\\\":594}],659:[function(t,e,n){\\\"use strict\\\";e.exports={yPad:.02,minButtonWidth:30,rx:3,ry:3,lightAmount:25,darkAmount:10}},{}],660:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../color\\\"),o=t(\\\"../../plot_api/plot_template\\\"),a=t(\\\"../../plots/array_container_defaults\\\"),s=t(\\\"./attributes\\\"),l=t(\\\"./constants\\\");function u(t,e,n,i){var o=i.calendar;function a(n,i){return r.coerce(t,e,s.buttons,n,i)}if(a(\\\"visible\\\")){var l=a(\\\"step\\\");\\\"all\\\"!==l&&(!o||\\\"gregorian\\\"===o||\\\"month\\\"!==l&&\\\"year\\\"!==l?a(\\\"stepmode\\\"):e.stepmode=\\\"backward\\\",a(\\\"count\\\")),a(\\\"label\\\")}}e.exports=function(t,e,n,c,h){var p=t.rangeselector||{},f=o.newContainer(e,\\\"rangeselector\\\");function d(t,e){return r.coerce(p,f,s,t,e)}if(d(\\\"visible\\\",a(p,f,{name:\\\"buttons\\\",handleItemDefaults:u,calendar:h}).length>0)){var m=function(t,e,n){for(var r=n.filter((function(n){return e[n].anchor===t._id})),i=0,o=0;o<r.length;o++){var a=e[r[o]].domain;a&&(i=Math.max(a[1],i))}return[t.domain[0],i+l.yPad]}(e,n,c);d(\\\"x\\\",m[0]),d(\\\"y\\\",m[1]),r.noneOrAll(t,e,[\\\"x\\\",\\\"y\\\"]),d(\\\"xanchor\\\"),d(\\\"yanchor\\\"),r.coerceFont(d,\\\"font\\\",n.font);var v=d(\\\"bgcolor\\\");d(\\\"activecolor\\\",i.contrast(v,l.lightAmount,l.darkAmount)),d(\\\"bordercolor\\\"),d(\\\"borderwidth\\\")}}},{\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/array_container_defaults\\\":772,\\\"../color\\\":595,\\\"./attributes\\\":658,\\\"./constants\\\":659}],661:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../plots/plots\\\"),a=t(\\\"../color\\\"),s=t(\\\"../drawing\\\"),l=t(\\\"../../lib\\\"),u=t(\\\"../../lib/svg_text_utils\\\"),c=t(\\\"../../plots/cartesian/axis_ids\\\"),h=t(\\\"../../constants/alignment\\\"),p=h.LINE_SPACING,f=h.FROM_TL,d=h.FROM_BR,m=t(\\\"./constants\\\"),v=t(\\\"./get_update_object\\\");function g(t){return t._id}function y(t,e,n){var r=l.ensureSingle(t,\\\"rect\\\",\\\"selector-rect\\\",(function(t){t.attr(\\\"shape-rendering\\\",\\\"crispEdges\\\")}));r.attr({rx:m.rx,ry:m.ry}),r.call(a.stroke,e.bordercolor).call(a.fill,function(t,e){return e._isActive||e._isHovered?t.activecolor:t.bgcolor}(e,n)).style(\\\"stroke-width\\\",e.borderwidth+\\\"px\\\")}function _(t,e,n,r){var i,o;l.ensureSingle(t,\\\"text\\\",\\\"selector-text\\\",(function(t){t.classed(\\\"user-select-none\\\",!0).attr(\\\"text-anchor\\\",\\\"middle\\\")})).call(s.font,e.font).text((i=n,o=r._fullLayout._meta,i.label?o?l.templateString(i.label,o):i.label:\\\"all\\\"===i.step?\\\"all\\\":i.count+i.step.charAt(0))).call((function(t){u.convertToTspans(t,r)}))}e.exports=function(t){var e=t._fullLayout._infolayer.selectAll(\\\".rangeselector\\\").data(function(t){for(var e=c.list(t,\\\"x\\\",!0),n=[],r=0;r<e.length;r++){var i=e[r];i.rangeselector&&i.rangeselector.visible&&n.push(i)}return n}(t),g);e.enter().append(\\\"g\\\").classed(\\\"rangeselector\\\",!0),e.exit().remove(),e.style({cursor:\\\"pointer\\\",\\\"pointer-events\\\":\\\"all\\\"}),e.each((function(e){var n=r.select(this),a=e,c=a.rangeselector,h=n.selectAll(\\\"g.button\\\").data(l.filterVisible(c.buttons));h.enter().append(\\\"g\\\").classed(\\\"button\\\",!0),h.exit().remove(),h.each((function(e){var n=r.select(this),o=v(a,e);e._isActive=function(t,e,n){if(\\\"all\\\"===e.step)return!0===t.autorange;var r=Object.keys(n);return t.range[0]===n[r[0]]&&t.range[1]===n[r[1]]}(a,e,o),n.call(y,c,e),n.call(_,c,e,t),n.on(\\\"click\\\",(function(){t._dragged||i.call(\\\"_guiRelayout\\\",t,o)})),n.on(\\\"mouseover\\\",(function(){e._isHovered=!0,n.call(y,c,e)})),n.on(\\\"mouseout\\\",(function(){e._isHovered=!1,n.call(y,c,e)}))})),function(t,e,n,i,a){var c=0,h=0,v=n.borderwidth;e.each((function(){var t=r.select(this).select(\\\".selector-text\\\"),e=n.font.size*p,i=Math.max(e*u.lineCount(t),16)+3;h=Math.max(h,i)})),e.each((function(){var t=r.select(this),e=t.select(\\\".selector-rect\\\"),i=t.select(\\\".selector-text\\\"),o=i.node()&&s.bBox(i.node()).width,a=n.font.size*p,l=u.lineCount(i),f=Math.max(o+10,m.minButtonWidth);t.attr(\\\"transform\\\",\\\"translate(\\\"+(v+c)+\\\",\\\"+v+\\\")\\\"),e.attr({x:0,y:0,width:f,height:h}),u.positionText(i,f/2,h/2-(l-1)*a/2+3),c+=f+5}));var g=t._fullLayout._size,y=g.l+g.w*n.x,_=g.t+g.h*(1-n.y),b=\\\"left\\\";l.isRightAnchor(n)&&(y-=c,b=\\\"right\\\"),l.isCenterAnchor(n)&&(y-=c/2,b=\\\"center\\\");var x=\\\"top\\\";l.isBottomAnchor(n)&&(_-=h,x=\\\"bottom\\\"),l.isMiddleAnchor(n)&&(_-=h/2,x=\\\"middle\\\"),c=Math.ceil(c),h=Math.ceil(h),y=Math.round(y),_=Math.round(_),o.autoMargin(t,i+\\\"-range-selector\\\",{x:n.x,y:n.y,l:c*f[b],r:c*d[b],b:h*d[x],t:h*f[x]}),a.attr(\\\"transform\\\",\\\"translate(\\\"+y+\\\",\\\"+_+\\\")\\\")}(t,h,c,a._name,n)}))}},{\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../plots/plots\\\":839,\\\"../../registry\\\":859,\\\"../color\\\":595,\\\"../drawing\\\":617,\\\"./constants\\\":659,\\\"./get_update_object\\\":662,d3:164}],662:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\");e.exports=function(t,e){var n=t._name,i={};if(\\\"all\\\"===e.step)i[n+\\\".autorange\\\"]=!0;else{var o=function(t,e){var n,i=t.range,o=new Date(t.r2l(i[1])),a=e.step,s=e.count;switch(e.stepmode){case\\\"backward\\\":n=t.l2r(+r.time[a].utc.offset(o,-s));break;case\\\"todate\\\":var l=r.time[a].utc.offset(o,-s);n=t.l2r(+r.time[a].utc.ceil(l))}return[n,i[1]]}(t,e);i[n+\\\".range[0]\\\"]=o[0],i[n+\\\".range[1]\\\"]=o[1]}return i}},{d3:164}],663:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"component\\\",name:\\\"rangeselector\\\",schema:{subplots:{xaxis:{rangeselector:t(\\\"./attributes\\\")}}},layoutAttributes:t(\\\"./attributes\\\"),handleDefaults:t(\\\"./defaults\\\"),draw:t(\\\"./draw\\\")}},{\\\"./attributes\\\":658,\\\"./defaults\\\":660,\\\"./draw\\\":661}],664:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../color/attributes\\\");e.exports={bgcolor:{valType:\\\"color\\\",dflt:r.background,editType:\\\"plot\\\"},bordercolor:{valType:\\\"color\\\",dflt:r.defaultLine,editType:\\\"plot\\\"},borderwidth:{valType:\\\"integer\\\",dflt:0,min:0,editType:\\\"plot\\\"},autorange:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\",impliedEdits:{\\\"range[0]\\\":void 0,\\\"range[1]\\\":void 0}},range:{valType:\\\"info_array\\\",items:[{valType:\\\"any\\\",editType:\\\"calc\\\",impliedEdits:{\\\"^autorange\\\":!1}},{valType:\\\"any\\\",editType:\\\"calc\\\",impliedEdits:{\\\"^autorange\\\":!1}}],editType:\\\"calc\\\",impliedEdits:{autorange:!1}},thickness:{valType:\\\"number\\\",dflt:.15,min:0,max:1,editType:\\\"plot\\\"},visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},editType:\\\"calc\\\"}},{\\\"../color/attributes\\\":594}],665:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axis_ids\\\").list,i=t(\\\"../../plots/cartesian/autorange\\\").getAutoRange,o=t(\\\"./constants\\\");e.exports=function(t){for(var e=r(t,\\\"x\\\",!0),n=0;n<e.length;n++){var a=e[n],s=a[o.name];s&&s.visible&&s.autorange&&(s._input.autorange=!0,s._input.range=s.range=i(t,a))}}},{\\\"../../plots/cartesian/autorange\\\":775,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"./constants\\\":666}],666:[function(t,e,n){\\\"use strict\\\";e.exports={name:\\\"rangeslider\\\",containerClassName:\\\"rangeslider-container\\\",bgClassName:\\\"rangeslider-bg\\\",rangePlotClassName:\\\"rangeslider-rangeplot\\\",maskMinClassName:\\\"rangeslider-mask-min\\\",maskMaxClassName:\\\"rangeslider-mask-max\\\",slideBoxClassName:\\\"rangeslider-slidebox\\\",grabberMinClassName:\\\"rangeslider-grabber-min\\\",grabAreaMinClassName:\\\"rangeslider-grabarea-min\\\",handleMinClassName:\\\"rangeslider-handle-min\\\",grabberMaxClassName:\\\"rangeslider-grabber-max\\\",grabAreaMaxClassName:\\\"rangeslider-grabarea-max\\\",handleMaxClassName:\\\"rangeslider-handle-max\\\",maskMinOppAxisClassName:\\\"rangeslider-mask-min-opp-axis\\\",maskMaxOppAxisClassName:\\\"rangeslider-mask-max-opp-axis\\\",maskColor:\\\"rgba(0,0,0,0.4)\\\",maskOppAxisColor:\\\"rgba(0,0,0,0.2)\\\",slideBoxFill:\\\"transparent\\\",slideBoxCursor:\\\"ew-resize\\\",grabAreaFill:\\\"transparent\\\",grabAreaCursor:\\\"col-resize\\\",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}},{}],667:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plot_api/plot_template\\\"),o=t(\\\"../../plots/cartesian/axis_ids\\\"),a=t(\\\"./attributes\\\"),s=t(\\\"./oppaxis_attributes\\\");e.exports=function(t,e,n){var l=t[n],u=e[n];if(l.rangeslider||e._requestRangeslider[u._id]){r.isPlainObject(l.rangeslider)||(l.rangeslider={});var c,h,p=l.rangeslider,f=i.newContainer(u,\\\"rangeslider\\\");if(x(\\\"visible\\\")){x(\\\"bgcolor\\\",e.plot_bgcolor),x(\\\"bordercolor\\\"),x(\\\"borderwidth\\\"),x(\\\"thickness\\\"),x(\\\"autorange\\\",!u.isValidRange(p.range)),x(\\\"range\\\");var d=e._subplots;if(d)for(var m=d.cartesian.filter((function(t){return t.substr(0,t.indexOf(\\\"y\\\"))===o.name2id(n)})).map((function(t){return t.substr(t.indexOf(\\\"y\\\"),t.length)})),v=r.simpleMap(m,o.id2name),g=0;g<v.length;g++){var y=v[g];c=p[y]||{},h=i.newContainer(f,y,\\\"yaxis\\\");var _,b=e[y];c.range&&b.isValidRange(c.range)&&(_=\\\"fixed\\\"),\\\"match\\\"!==w(\\\"rangemode\\\",_)&&w(\\\"range\\\",b.range.slice())}f._input=p}}function x(t,e){return r.coerce(p,f,a,t,e)}function w(t,e){return r.coerce(c,h,s,t,e)}}},{\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"./attributes\\\":664,\\\"./oppaxis_attributes\\\":671}],668:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../plots/plots\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../drawing\\\"),l=t(\\\"../color\\\"),u=t(\\\"../titles\\\"),c=t(\\\"../../plots/cartesian\\\"),h=t(\\\"../../plots/cartesian/axis_ids\\\"),p=t(\\\"../dragelement\\\"),f=t(\\\"../../lib/setcursor\\\"),d=t(\\\"./constants\\\");function m(t,e,n,o){var s=t.select(\\\"rect.\\\"+d.slideBoxClassName).node(),l=t.select(\\\"rect.\\\"+d.grabAreaMinClassName).node(),u=t.select(\\\"rect.\\\"+d.grabAreaMaxClassName).node();t.on(\\\"mousedown\\\",(function(){var c=r.event,h=c.target,d=c.clientX,m=d-t.node().getBoundingClientRect().left,v=o.d2p(n._rl[0]),g=o.d2p(n._rl[1]),y=p.coverSlip();function _(t){var c,p,_,b=+t.clientX-d;switch(h){case s:_=\\\"ew-resize\\\",c=v+b,p=g+b;break;case l:_=\\\"col-resize\\\",c=v+b,p=g;break;case u:_=\\\"col-resize\\\",c=v,p=g+b;break;default:_=\\\"ew-resize\\\",c=m,p=m+b}if(p<c){var x=p;p=c,c=x}o._pixelMin=c,o._pixelMax=p,f(r.select(y),_),function(t,e,n,r){function o(t){return n.l2r(a.constrain(t,r._rl[0],r._rl[1]))}var s=o(r.p2d(r._pixelMin)),l=o(r.p2d(r._pixelMax));window.requestAnimationFrame((function(){i.call(\\\"_guiRelayout\\\",e,n._name+\\\".range\\\",[s,l])}))}(0,e,n,o)}y.addEventListener(\\\"mousemove\\\",_),y.addEventListener(\\\"mouseup\\\",(function t(){y.removeEventListener(\\\"mousemove\\\",_),y.removeEventListener(\\\"mouseup\\\",t),a.removeElement(y)}))}))}function v(t,e,n,r){var i=a.ensureSingle(t,\\\"rect\\\",d.bgClassName,(function(t){t.attr({x:0,y:0,\\\"shape-rendering\\\":\\\"crispEdges\\\"})})),o=r.borderwidth%2==0?r.borderwidth:r.borderwidth-1,l=-r._offsetShift,u=s.crispRound(e,r.borderwidth);i.attr({width:r._width+o,height:r._height+o,transform:\\\"translate(\\\"+l+\\\",\\\"+l+\\\")\\\",fill:r.bgcolor,stroke:r.bordercolor,\\\"stroke-width\\\":u})}function g(t,e,n,r){var i=e._fullLayout;a.ensureSingleById(i._topdefs,\\\"clipPath\\\",r._clipId,(function(t){t.append(\\\"rect\\\").attr({x:0,y:0})})).select(\\\"rect\\\").attr({width:r._width,height:r._height})}function y(t,e,n,i){var l,u=e.calcdata,p=t.selectAll(\\\"g.\\\"+d.rangePlotClassName).data(n._subplotsWith,a.identity);p.enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return d.rangePlotClassName+\\\" \\\"+t})).call(s.setClipUrl,i._clipId,e),p.order(),p.exit().remove(),p.each((function(t,a){var s=r.select(this),p=0===a,f=h.getFromId(e,t,\\\"y\\\"),d=f._name,m=i[d],v={data:[],layout:{xaxis:{type:n.type,domain:[0,1],range:i.range.slice(),calendar:n.calendar},width:i._width,height:i._height,margin:{t:0,b:0,l:0,r:0}},_context:e._context};n.rangebreaks&&(v.layout.xaxis.rangebreaks=n.rangebreaks),v.layout[d]={type:f.type,domain:[0,1],range:\\\"match\\\"!==m.rangemode?m.range.slice():f.range.slice(),calendar:f.calendar},f.rangebreaks&&(v.layout[d].rangebreaks=f.rangebreaks),o.supplyDefaults(v);var g=v._fullLayout.xaxis,y=v._fullLayout[d];g.clearCalc(),g.setScale(),y.clearCalc(),y.setScale();var _={id:t,plotgroup:s,xaxis:g,yaxis:y,isRangePlot:!0};p?l=_:(_.mainplot=\\\"xy\\\",_.mainplotinfo=l),c.rangePlot(e,_,function(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r],o=i[0].trace;o.xaxis+o.yaxis===e&&n.push(i)}return n}(u,t))}))}function _(t,e,n,r,i){a.ensureSingle(t,\\\"rect\\\",d.maskMinClassName,(function(t){t.attr({x:0,y:0,\\\"shape-rendering\\\":\\\"crispEdges\\\"})})).attr(\\\"height\\\",r._height).call(l.fill,d.maskColor),a.ensureSingle(t,\\\"rect\\\",d.maskMaxClassName,(function(t){t.attr({y:0,\\\"shape-rendering\\\":\\\"crispEdges\\\"})})).attr(\\\"height\\\",r._height).call(l.fill,d.maskColor),\\\"match\\\"!==i.rangemode&&(a.ensureSingle(t,\\\"rect\\\",d.maskMinOppAxisClassName,(function(t){t.attr({y:0,\\\"shape-rendering\\\":\\\"crispEdges\\\"})})).attr(\\\"width\\\",r._width).call(l.fill,d.maskOppAxisColor),a.ensureSingle(t,\\\"rect\\\",d.maskMaxOppAxisClassName,(function(t){t.attr({y:0,\\\"shape-rendering\\\":\\\"crispEdges\\\"})})).attr(\\\"width\\\",r._width).style(\\\"border-top\\\",d.maskOppBorder).call(l.fill,d.maskOppAxisColor))}function b(t,e,n,r){e._context.staticPlot||a.ensureSingle(t,\\\"rect\\\",d.slideBoxClassName,(function(t){t.attr({y:0,cursor:d.slideBoxCursor,\\\"shape-rendering\\\":\\\"crispEdges\\\"})})).attr({height:r._height,fill:d.slideBoxFill})}function x(t,e,n,r){var i=a.ensureSingle(t,\\\"g\\\",d.grabberMinClassName),o=a.ensureSingle(t,\\\"g\\\",d.grabberMaxClassName),s={x:0,width:d.handleWidth,rx:d.handleRadius,fill:l.background,stroke:l.defaultLine,\\\"stroke-width\\\":d.handleStrokeWidth,\\\"shape-rendering\\\":\\\"crispEdges\\\"},u={y:Math.round(r._height/4),height:Math.round(r._height/2)};if(a.ensureSingle(i,\\\"rect\\\",d.handleMinClassName,(function(t){t.attr(s)})).attr(u),a.ensureSingle(o,\\\"rect\\\",d.handleMaxClassName,(function(t){t.attr(s)})).attr(u),!e._context.staticPlot){var c={width:d.grabAreaWidth,x:0,y:0,fill:d.grabAreaFill,cursor:d.grabAreaCursor};a.ensureSingle(i,\\\"rect\\\",d.grabAreaMinClassName,(function(t){t.attr(c)})).attr(\\\"height\\\",r._height),a.ensureSingle(o,\\\"rect\\\",d.grabAreaMaxClassName,(function(t){t.attr(c)})).attr(\\\"height\\\",r._height)}}e.exports=function(t){for(var e=t._fullLayout,n=e._rangeSliderData,i=0;i<n.length;i++){var o=n[i][d.name];o._clipId=o._id+\\\"-\\\"+e._uid}var s=e._infolayer.selectAll(\\\"g.\\\"+d.containerClassName).data(n,(function(t){return t._name}));s.exit().each((function(t){var n=t[d.name];e._topdefs.select(\\\"#\\\"+n._clipId).remove()})).remove(),0!==n.length&&(s.enter().append(\\\"g\\\").classed(d.containerClassName,!0).attr(\\\"pointer-events\\\",\\\"all\\\"),s.each((function(n){var i=r.select(this),o=n[d.name],s=e[h.id2name(n.anchor)],l=o[h.id2name(n.anchor)];if(o.range){var c,p=a.simpleMap(o.range,n.r2l),f=a.simpleMap(n.range,n.r2l);c=f[0]<f[1]?[Math.min(p[0],f[0]),Math.max(p[1],f[1])]:[Math.max(p[0],f[0]),Math.min(p[1],f[1])],o.range=o._input.range=a.simpleMap(c,n.l2r)}n.cleanRange(\\\"rangeslider.range\\\");var w=e._size,A=n.domain;o._width=w.w*(A[1]-A[0]);var C=Math.round(w.l+w.w*A[0]),M=Math.round(w.t+w.h*(1-n._counterDomainMin)+(\\\"bottom\\\"===n.side?n._depth:0)+o._offsetShift+d.extraPad);i.attr(\\\"transform\\\",\\\"translate(\\\"+C+\\\",\\\"+M+\\\")\\\"),o._rl=a.simpleMap(o.range,n.r2l);var E=o._rl[0],T=o._rl[1],S=T-E;if(o.p2d=function(t){return t/o._width*S+E},o.d2p=function(t){return(t-E)/S*o._width},n.rangebreaks){var k=n.locateBreaks(E,T);if(k.length){var O,I,L=0;for(O=0;O<k.length;O++)L+=(I=k[O]).max-I.min;var P=o._width/(T-E-L),z=[-P*E];for(O=0;O<k.length;O++)I=k[O],z.push(z[z.length-1]-P*(I.max-I.min));for(o.d2p=function(t){for(var e=z[0],n=0;n<k.length;n++){var r=k[n];if(t>=r.max)e=z[n+1];else if(t<r.min)break}return e+P*t},O=0;O<k.length;O++)(I=k[O]).pmin=o.d2p(I.min),I.pmax=o.d2p(I.max);o.p2d=function(t){for(var e=z[0],n=0;n<k.length;n++){var r=k[n];if(t>=r.pmax)e=z[n+1];else if(t<r.pmin)break}return(t-e)/P}}}if(\\\"match\\\"!==l.rangemode){var R=s.r2l(l.range[0]),D=s.r2l(l.range[1])-R;o.d2pOppAxis=function(t){return(t-R)/D*o._height}}i.call(v,t,n,o).call(g,t,n,o).call(y,t,n,o).call(_,t,n,o,l).call(b,t,n,o).call(x,t,n,o),m(i,t,n,o),function(t,e,n,r,i,o){var s=d.handleWidth/2;function l(t){return a.constrain(t,0,r._width)}function u(t){return a.constrain(t,0,r._height)}function c(t){return a.constrain(t,-s,r._width+s)}var h=l(r.d2p(n._rl[0])),p=l(r.d2p(n._rl[1]));if(t.select(\\\"rect.\\\"+d.slideBoxClassName).attr(\\\"x\\\",h).attr(\\\"width\\\",p-h),t.select(\\\"rect.\\\"+d.maskMinClassName).attr(\\\"width\\\",h),t.select(\\\"rect.\\\"+d.maskMaxClassName).attr(\\\"x\\\",p).attr(\\\"width\\\",r._width-p),\\\"match\\\"!==o.rangemode){var f=r._height-u(r.d2pOppAxis(i._rl[1])),m=r._height-u(r.d2pOppAxis(i._rl[0]));t.select(\\\"rect.\\\"+d.maskMinOppAxisClassName).attr(\\\"x\\\",h).attr(\\\"height\\\",f).attr(\\\"width\\\",p-h),t.select(\\\"rect.\\\"+d.maskMaxOppAxisClassName).attr(\\\"x\\\",h).attr(\\\"y\\\",m).attr(\\\"height\\\",r._height-m).attr(\\\"width\\\",p-h),t.select(\\\"rect.\\\"+d.slideBoxClassName).attr(\\\"y\\\",f).attr(\\\"height\\\",m-f)}var v=.5,g=Math.round(c(h-s))-v,y=Math.round(c(p-s))+v;t.select(\\\"g.\\\"+d.grabberMinClassName).attr(\\\"transform\\\",\\\"translate(\\\"+g+\\\",0.5)\\\"),t.select(\\\"g.\\\"+d.grabberMaxClassName).attr(\\\"transform\\\",\\\"translate(\\\"+y+\\\",0.5)\\\")}(i,0,n,o,s,l),\\\"bottom\\\"===n.side&&u.draw(t,n._id+\\\"title\\\",{propContainer:n,propName:n._name+\\\".title\\\",placeholder:e._dfltTitle.x,attributes:{x:n._offset+n._length/2,y:M+o._height+o._offsetShift+10+1.5*n.title.font.size,\\\"text-anchor\\\":\\\"middle\\\"}})})))}},{\\\"../../lib\\\":728,\\\"../../lib/setcursor\\\":748,\\\"../../plots/cartesian\\\":789,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../plots/plots\\\":839,\\\"../../registry\\\":859,\\\"../color\\\":595,\\\"../dragelement\\\":614,\\\"../drawing\\\":617,\\\"../titles\\\":690,\\\"./constants\\\":666,d3:164}],669:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axis_ids\\\"),i=t(\\\"../../lib/svg_text_utils\\\"),o=t(\\\"./constants\\\"),a=t(\\\"../../constants/alignment\\\").LINE_SPACING,s=o.name;function l(t){var e=t&&t[s];return e&&e.visible}n.isVisible=l,n.makeData=function(t){var e=r.list({_fullLayout:t},\\\"x\\\",!0),n=t.margin,i=[];if(!t._has(\\\"gl2d\\\"))for(var o=0;o<e.length;o++){var a=e[o];if(l(a)){i.push(a);var u=a[s];u._id=s+a._id,u._height=(t.height-n.b-n.t)*u.thickness,u._offsetShift=Math.floor(u.borderwidth/2)}}t._rangeSliderData=i},n.autoMarginOpts=function(t,e){var n=t._fullLayout,r=e[s],l=e._id.charAt(0),u=0,c=0;return\\\"bottom\\\"===e.side&&(u=e._depth,e.title.text!==n._dfltTitle[l]&&(c=1.5*e.title.font.size+10+r._offsetShift,c+=(e.title.text.match(i.BR_TAG_ALL)||[]).length*e.title.font.size*a)),{x:0,y:e._counterDomainMin,l:0,r:0,t:0,b:r._height+u+Math.max(n.margin.b,c),pad:o.extraPad+2*r._offsetShift}}},{\\\"../../constants/alignment\\\":697,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"./constants\\\":666}],670:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"./oppaxis_attributes\\\"),a=t(\\\"./helpers\\\");e.exports={moduleType:\\\"component\\\",name:\\\"rangeslider\\\",schema:{subplots:{xaxis:{rangeslider:r.extendFlat({},i,{yaxis:o})}}},layoutAttributes:t(\\\"./attributes\\\"),handleDefaults:t(\\\"./defaults\\\"),calcAutorange:t(\\\"./calc_autorange\\\"),draw:t(\\\"./draw\\\"),isVisible:a.isVisible,makeData:a.makeData,autoMarginOpts:a.autoMarginOpts}},{\\\"../../lib\\\":728,\\\"./attributes\\\":664,\\\"./calc_autorange\\\":665,\\\"./defaults\\\":667,\\\"./draw\\\":668,\\\"./helpers\\\":669,\\\"./oppaxis_attributes\\\":671}],671:[function(t,e,n){\\\"use strict\\\";e.exports={_isSubplotObj:!0,rangemode:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"fixed\\\",\\\"match\\\"],dflt:\\\"match\\\",editType:\\\"calc\\\"},range:{valType:\\\"info_array\\\",items:[{valType:\\\"any\\\",editType:\\\"plot\\\"},{valType:\\\"any\\\",editType:\\\"plot\\\"}],editType:\\\"plot\\\"},editType:\\\"calc\\\"}},{}],672:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../annotations/attributes\\\"),i=t(\\\"../../traces/scatter/attributes\\\").line,o=t(\\\"../drawing/attributes\\\").dash,a=t(\\\"../../lib/extend\\\").extendFlat,s=t(\\\"../../plot_api/plot_template\\\").templatedArray;e.exports=s(\\\"shape\\\",{visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc+arraydraw\\\"},type:{valType:\\\"enumerated\\\",values:[\\\"circle\\\",\\\"rect\\\",\\\"path\\\",\\\"line\\\"],editType:\\\"calc+arraydraw\\\"},layer:{valType:\\\"enumerated\\\",values:[\\\"below\\\",\\\"above\\\"],dflt:\\\"above\\\",editType:\\\"arraydraw\\\"},xref:a({},r.xref,{}),xsizemode:{valType:\\\"enumerated\\\",values:[\\\"scaled\\\",\\\"pixel\\\"],dflt:\\\"scaled\\\",editType:\\\"calc+arraydraw\\\"},xanchor:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},x0:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},x1:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},yref:a({},r.yref,{}),ysizemode:{valType:\\\"enumerated\\\",values:[\\\"scaled\\\",\\\"pixel\\\"],dflt:\\\"scaled\\\",editType:\\\"calc+arraydraw\\\"},yanchor:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},y0:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},y1:{valType:\\\"any\\\",editType:\\\"calc+arraydraw\\\"},path:{valType:\\\"string\\\",editType:\\\"calc+arraydraw\\\"},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1,editType:\\\"arraydraw\\\"},line:{color:a({},i.color,{editType:\\\"arraydraw\\\"}),width:a({},i.width,{editType:\\\"calc+arraydraw\\\"}),dash:a({},o,{editType:\\\"arraydraw\\\"}),editType:\\\"calc+arraydraw\\\"},fillcolor:{valType:\\\"color\\\",dflt:\\\"rgba(0,0,0,0)\\\",editType:\\\"arraydraw\\\"},fillrule:{valType:\\\"enumerated\\\",values:[\\\"evenodd\\\",\\\"nonzero\\\"],dflt:\\\"evenodd\\\",editType:\\\"arraydraw\\\"},editable:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc+arraydraw\\\"},editType:\\\"arraydraw\\\"})},{\\\"../../lib/extend\\\":719,\\\"../../plot_api/plot_template\\\":766,\\\"../../traces/scatter/attributes\\\":1134,\\\"../annotations/attributes\\\":578,\\\"../drawing/attributes\\\":616}],673:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"./constants\\\"),a=t(\\\"./helpers\\\");function s(t){return u(t.line.width,t.xsizemode,t.x0,t.x1,t.path,!1)}function l(t){return u(t.line.width,t.ysizemode,t.y0,t.y1,t.path,!0)}function u(t,e,n,i,s,l){var u=t/2,c=l;if(\\\"pixel\\\"===e){var h=s?a.extractPathCoords(s,l?o.paramIsY:o.paramIsX):[n,i],p=r.aggNums(Math.max,null,h),f=r.aggNums(Math.min,null,h),d=f<0?Math.abs(f)+u:u,m=p>0?p+u:u;return{ppad:u,ppadplus:c?d:m,ppadminus:c?m:d}}return{ppad:u}}function c(t,e,n,r,i){var s=\\\"category\\\"===t.type||\\\"multicategory\\\"===t.type?t.r2c:t.d2c;if(void 0!==e)return[s(e),s(n)];if(r){var l,u,c,h,p=1/0,f=-1/0,d=r.match(o.segmentRE);for(\\\"date\\\"===t.type&&(s=a.decodeDate(s)),l=0;l<d.length;l++)void 0!==(u=i[d[l].charAt(0)].drawn)&&(!(c=d[l].substr(1).match(o.paramRE))||c.length<u||((h=s(c[u]))<p&&(p=h),h>f&&(f=h)));return f>=p?[p,f]:void 0}}e.exports=function(t){var e=t._fullLayout,n=r.filterVisible(e.shapes);if(n.length&&t._fullData.length)for(var a=0;a<n.length;a++){var u,h,p=n[a];if(p._extremes={},\\\"paper\\\"!==p.xref){var f=\\\"pixel\\\"===p.xsizemode?p.xanchor:p.x0,d=\\\"pixel\\\"===p.xsizemode?p.xanchor:p.x1;(h=c(u=i.getFromId(t,p.xref),f,d,p.path,o.paramIsX))&&(p._extremes[u._id]=i.findExtremes(u,h,s(p)))}if(\\\"paper\\\"!==p.yref){var m=\\\"pixel\\\"===p.ysizemode?p.yanchor:p.y0,v=\\\"pixel\\\"===p.ysizemode?p.yanchor:p.y1;(h=c(u=i.getFromId(t,p.yref),m,v,p.path,o.paramIsY))&&(p._extremes[u._id]=i.findExtremes(u,h,l(p)))}}}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"./constants\\\":674,\\\"./helpers\\\":683}],674:[function(t,e,n){\\\"use strict\\\";e.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\\\\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},{}],675:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../../plots/array_container_defaults\\\"),a=t(\\\"./attributes\\\"),s=t(\\\"./helpers\\\");function l(t,e,n){function o(n,i){return r.coerce(t,e,a,n,i)}if(o(\\\"visible\\\")){var l=o(\\\"path\\\"),u=o(\\\"type\\\",l?\\\"path\\\":\\\"rect\\\");\\\"path\\\"!==e.type&&delete e.path,o(\\\"editable\\\"),o(\\\"layer\\\"),o(\\\"opacity\\\"),o(\\\"fillcolor\\\"),o(\\\"fillrule\\\"),o(\\\"line.width\\\")&&(o(\\\"line.color\\\"),o(\\\"line.dash\\\"));for(var c=o(\\\"xsizemode\\\"),h=o(\\\"ysizemode\\\"),p=[\\\"x\\\",\\\"y\\\"],f=0;f<2;f++){var d,m,v,g=p[f],y=g+\\\"anchor\\\",_=\\\"x\\\"===g?c:h,b={_fullLayout:n},x=i.coerceRef(t,e,b,g,\\\"\\\",\\\"paper\\\");if(\\\"paper\\\"!==x?((d=i.getFromId(b,x))._shapeIndices.push(e._index),v=s.rangeToShapePosition(d),m=s.shapePositionToRange(d)):m=v=r.identity,\\\"path\\\"!==u){var w=g+\\\"0\\\",A=g+\\\"1\\\",C=t[w],M=t[A];t[w]=m(t[w],!0),t[A]=m(t[A],!0),\\\"pixel\\\"===_?(o(w,0),o(A,10)):(i.coercePosition(e,b,o,x,w,.25),i.coercePosition(e,b,o,x,A,.75)),e[w]=v(e[w]),e[A]=v(e[A]),t[w]=C,t[A]=M}if(\\\"pixel\\\"===_){var E=t[y];t[y]=m(t[y],!0),i.coercePosition(e,b,o,x,y,.25),e[y]=v(e[y]),t[y]=E}}\\\"path\\\"===u?o(\\\"path\\\"):r.noneOrAll(t,e,[\\\"x0\\\",\\\"x1\\\",\\\"y0\\\",\\\"y1\\\"])}}e.exports=function(t,e){o(t,e,{name:\\\"shapes\\\",handleItemDefaults:l})}},{\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"../../plots/cartesian/axes\\\":776,\\\"./attributes\\\":672,\\\"./helpers\\\":683}],676:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"./draw_newshape/helpers\\\").readPaths,s=t(\\\"./draw_newshape/display_outlines\\\"),l=t(\\\"../../plots/cartesian/handle_outline\\\").clearOutlineControllers,u=t(\\\"../color\\\"),c=t(\\\"../drawing\\\"),h=t(\\\"../../plot_api/plot_template\\\").arrayEditor,p=t(\\\"../dragelement\\\"),f=t(\\\"../../lib/setcursor\\\"),d=t(\\\"./constants\\\"),m=t(\\\"./helpers\\\");function v(t){var e=t._fullLayout;for(var n in e._shapeUpperLayer.selectAll(\\\"path\\\").remove(),e._shapeLowerLayer.selectAll(\\\"path\\\").remove(),e._plots){var r=e._plots[n].shapelayer;r&&r.selectAll(\\\"path\\\").remove()}for(var i=0;i<e.shapes.length;i++)e.shapes[i].visible&&_(t,i)}function g(t){return!!t._fullLayout._drawing}function y(t){return!t._context.edits.shapePosition}function _(t,e){t._fullLayout._paperdiv.selectAll('.shapelayer [data-index=\\\"'+e+'\\\"]').remove();var n=m.makeOptionsAndPlotinfo(t,e),l=n.options,_=n.plotinfo;function C(n){var C=x(t,l),M={\\\"data-index\\\":e,\\\"fill-rule\\\":l.fillrule,d:C},E=l.opacity,T=l.fillcolor,S=l.line.width?l.line.color:\\\"rgba(0,0,0,0)\\\",k=l.line.width,O=l.line.dash;k||!0!==l.editable||(k=5,O=\\\"solid\\\");var I=\\\"Z\\\"!==C[C.length-1],L=y(t)&&l.editable&&t._fullLayout._activeShapeIndex===e;L&&(T=I?\\\"rgba(0,0,0,0)\\\":t._fullLayout.activeshape.fillcolor,E=t._fullLayout.activeshape.opacity);var P,z=n.append(\\\"path\\\").attr(M).style(\\\"opacity\\\",E).call(u.stroke,S).call(u.fill,T).call(c.dashLine,O,k);if(b(z,t,l),(L||t._context.edits.shapePosition)&&(P=h(t.layout,\\\"shapes\\\",l)),L){z.style({cursor:\\\"move\\\"});var R={element:z.node(),plotinfo:_,gd:t,editHelpers:P,isActiveShape:!0},D=a(C,t);s(D,z,R)}else t._context.edits.shapePosition?function(t,e,n,a,s,l){var u,h,v,y,_,A,C,M,E,T,S,k,O,I,L,P,z=10,R=10,D=\\\"pixel\\\"===n.xsizemode,$=\\\"pixel\\\"===n.ysizemode,B=\\\"line\\\"===n.type,N=\\\"path\\\"===n.type,F=l.modifyItem,j=o.getFromId(t,n.xref),U=o.getFromId(t,n.yref),q=m.getDataToPixel(t,j),V=m.getDataToPixel(t,U,!0),H=m.getPixelToData(t,j),G=m.getPixelToData(t,U,!0),W=Y(),X={element:W.node(),gd:t,prepFn:J,doneFn:Q,clickFn:tt};function Y(){return B?Z():e}function Z(){var t=10,r=Math.max(n.line.width,t),i=s.append(\\\"g\\\").attr(\\\"data-index\\\",a);i.append(\\\"path\\\").attr(\\\"d\\\",e.attr(\\\"d\\\")).style({cursor:\\\"move\\\",\\\"stroke-width\\\":r,\\\"stroke-opacity\\\":\\\"0\\\"});var o={\\\"fill-opacity\\\":\\\"0\\\"},l=Math.max(r/2,t);return i.append(\\\"circle\\\").attr({\\\"data-line-point\\\":\\\"start-point\\\",cx:D?q(n.xanchor)+n.x0:q(n.x0),cy:$?V(n.yanchor)-n.y0:V(n.y0),r:l}).style(o).classed(\\\"cursor-grab\\\",!0),i.append(\\\"circle\\\").attr({\\\"data-line-point\\\":\\\"end-point\\\",cx:D?q(n.xanchor)+n.x1:q(n.x1),cy:$?V(n.yanchor)-n.y1:V(n.y1),r:l}).style(o).classed(\\\"cursor-grab\\\",!0),i}function K(n){if(g(t))P=null;else if(B)P=\\\"path\\\"===n.target.tagName?\\\"move\\\":\\\"start-point\\\"===n.target.attributes[\\\"data-line-point\\\"].value?\\\"resize-over-start-point\\\":\\\"resize-over-end-point\\\";else{var r=X.element.getBoundingClientRect(),i=r.right-r.left,o=r.bottom-r.top,a=n.clientX-r.left,s=n.clientY-r.top,l=!N&&i>z&&o>R&&!n.shiftKey?p.getCursor(a/i,1-s/o):\\\"move\\\";f(e,l),P=l.split(\\\"-\\\")[0]}}function J(r){g(t)||(D&&(_=q(n.xanchor)),$&&(A=V(n.yanchor)),\\\"path\\\"===n.type?L=n.path:(u=D?n.x0:q(n.x0),h=$?n.y0:V(n.y0),v=D?n.x1:q(n.x1),y=$?n.y1:V(n.y1)),u<v?(E=u,O=\\\"x0\\\",T=v,I=\\\"x1\\\"):(E=v,O=\\\"x1\\\",T=u,I=\\\"x0\\\"),!$&&h<y||$&&h>y?(C=h,S=\\\"y0\\\",M=y,k=\\\"y1\\\"):(C=y,S=\\\"y1\\\",M=h,k=\\\"y0\\\"),K(r),rt(s,n),ot(e,n,t),X.moveFn=\\\"move\\\"===P?et:nt,X.altKey=r.altKey)}function Q(){g(t)||(f(e),it(s),b(e,t,n),r.call(\\\"_guiRelayout\\\",t,l.getUpdateObj()))}function tt(){g(t)||it(s)}function et(r,i){if(\\\"path\\\"===n.type){var o=function(t){return t},a=o,l=o;D?F(\\\"xanchor\\\",n.xanchor=H(_+r)):(a=function(t){return H(q(t)+r)},j&&\\\"date\\\"===j.type&&(a=m.encodeDate(a))),$?F(\\\"yanchor\\\",n.yanchor=G(A+i)):(l=function(t){return G(V(t)+i)},U&&\\\"date\\\"===U.type&&(l=m.encodeDate(l))),F(\\\"path\\\",n.path=w(L,a,l))}else D?F(\\\"xanchor\\\",n.xanchor=H(_+r)):(F(\\\"x0\\\",n.x0=H(u+r)),F(\\\"x1\\\",n.x1=H(v+r))),$?F(\\\"yanchor\\\",n.yanchor=G(A+i)):(F(\\\"y0\\\",n.y0=G(h+i)),F(\\\"y1\\\",n.y1=G(y+i)));e.attr(\\\"d\\\",x(t,n)),rt(s,n)}function nt(r,i){if(N){var o=function(t){return t},a=o,l=o;D?F(\\\"xanchor\\\",n.xanchor=H(_+r)):(a=function(t){return H(q(t)+r)},j&&\\\"date\\\"===j.type&&(a=m.encodeDate(a))),$?F(\\\"yanchor\\\",n.yanchor=G(A+i)):(l=function(t){return G(V(t)+i)},U&&\\\"date\\\"===U.type&&(l=m.encodeDate(l))),F(\\\"path\\\",n.path=w(L,a,l))}else if(B){if(\\\"resize-over-start-point\\\"===P){var c=u+r,p=$?h-i:h+i;F(\\\"x0\\\",n.x0=D?c:H(c)),F(\\\"y0\\\",n.y0=$?p:G(p))}else if(\\\"resize-over-end-point\\\"===P){var f=v+r,d=$?y-i:y+i;F(\\\"x1\\\",n.x1=D?f:H(f)),F(\\\"y1\\\",n.y1=$?d:G(d))}}else{var g=function(t){return-1!==P.indexOf(t)},b=g(\\\"n\\\"),W=g(\\\"s\\\"),X=g(\\\"w\\\"),Y=g(\\\"e\\\"),Z=b?C+i:C,K=W?M+i:M,J=X?E+r:E,Q=Y?T+r:T;$&&(b&&(Z=C-i),W&&(K=M-i)),(!$&&K-Z>R||$&&Z-K>R)&&(F(S,n[S]=$?Z:G(Z)),F(k,n[k]=$?K:G(K))),Q-J>z&&(F(O,n[O]=D?J:H(J)),F(I,n[I]=D?Q:H(Q)))}e.attr(\\\"d\\\",x(t,n)),rt(s,n)}function rt(t,e){function n(){var n=\\\"path\\\"!==e.type,r=t.selectAll(\\\".visual-cue\\\").data([0]),o=1;r.enter().append(\\\"path\\\").attr({fill:\\\"#fff\\\",\\\"fill-rule\\\":\\\"evenodd\\\",stroke:\\\"#000\\\",\\\"stroke-width\\\":o}).classed(\\\"visual-cue\\\",!0);var a=q(D?e.xanchor:i.midRange(n?[e.x0,e.x1]:m.extractPathCoords(e.path,d.paramIsX))),s=V($?e.yanchor:i.midRange(n?[e.y0,e.y1]:m.extractPathCoords(e.path,d.paramIsY)));if(a=m.roundPositionForSharpStrokeRendering(a,o),s=m.roundPositionForSharpStrokeRendering(s,o),D&&$){var l=\\\"M\\\"+(a-1-o)+\\\",\\\"+(s-1-o)+\\\"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z\\\";r.attr(\\\"d\\\",l)}else if(D){var u=\\\"M\\\"+(a-1-o)+\\\",\\\"+(s-9-o)+\\\"v18 h2 v-18 Z\\\";r.attr(\\\"d\\\",u)}else{var c=\\\"M\\\"+(a-9-o)+\\\",\\\"+(s-1-o)+\\\"h18 v2 h-18 Z\\\";r.attr(\\\"d\\\",c)}}(D||$)&&n()}function it(t){t.selectAll(\\\".visual-cue\\\").remove()}function ot(t,e,n){var r=e.xref,i=e.yref,a=o.getFromId(n,r),s=o.getFromId(n,i),l=\\\"\\\";\\\"paper\\\"===r||a.autorange||(l+=r),\\\"paper\\\"===i||s.autorange||(l+=i),c.setClipUrl(t,l?\\\"clip\\\"+n._fullLayout._uid+l:null,n)}p.init(X),W.node().onmousemove=K}(t,z,l,e,n,P):!0===l.editable&&z.style(\\\"pointer-events\\\",I||u.opacity(T)*E<=.5?\\\"stroke\\\":\\\"all\\\");z.node().addEventListener(\\\"click\\\",(function(){return function(t,e){if(y(t)){var n=+e.node().getAttribute(\\\"data-index\\\");if(n>=0){if(n===t._fullLayout._activeShapeIndex)return void A(t);t._fullLayout._activeShapeIndex=n,t._fullLayout._deactivateShape=A,v(t)}}}(t,z)}))}l._input&&!1!==l.visible&&(\\\"below\\\"!==l.layer?C(t._fullLayout._shapeUpperLayer):\\\"paper\\\"===l.xref||\\\"paper\\\"===l.yref?C(t._fullLayout._shapeLowerLayer):_._hadPlotinfo?C((_.mainplotinfo||_).shapelayer):C(t._fullLayout._shapeLowerLayer))}function b(t,e,n){var r=(n.xref+n.yref).replace(/paper/g,\\\"\\\");c.setClipUrl(t,r?\\\"clip\\\"+e._fullLayout._uid+r:null,e)}function x(t,e){var n,r,a,s,l,u,c,h,p=e.type,f=o.getFromId(t,e.xref),v=o.getFromId(t,e.yref),g=t._fullLayout._size;if(f?(n=m.shapePositionToRange(f),r=function(t){return f._offset+f.r2p(n(t,!0))}):r=function(t){return g.l+g.w*t},v?(a=m.shapePositionToRange(v),s=function(t){return v._offset+v.r2p(a(t,!0))}):s=function(t){return g.t+g.h*(1-t)},\\\"path\\\"===p)return f&&\\\"date\\\"===f.type&&(r=m.decodeDate(r)),v&&\\\"date\\\"===v.type&&(s=m.decodeDate(s)),function(t,e,n){var r=t.path,o=t.xsizemode,a=t.ysizemode,s=t.xanchor,l=t.yanchor;return r.replace(d.segmentRE,(function(t){var r=0,u=t.charAt(0),c=d.paramIsX[u],h=d.paramIsY[u],p=d.numParams[u],f=t.substr(1).replace(d.paramRE,(function(t){return c[r]?t=\\\"pixel\\\"===o?e(s)+Number(t):e(t):h[r]&&(t=\\\"pixel\\\"===a?n(l)-Number(t):n(t)),++r>p&&(t=\\\"X\\\"),t}));return r>p&&(f=f.replace(/[\\\\s,]*X.*/,\\\"\\\"),i.log(\\\"Ignoring extra params in segment \\\"+t)),u+f}))}(e,r,s);if(\\\"pixel\\\"===e.xsizemode){var y=r(e.xanchor);l=y+e.x0,u=y+e.x1}else l=r(e.x0),u=r(e.x1);if(\\\"pixel\\\"===e.ysizemode){var _=s(e.yanchor);c=_-e.y0,h=_-e.y1}else c=s(e.y0),h=s(e.y1);if(\\\"line\\\"===p)return\\\"M\\\"+l+\\\",\\\"+c+\\\"L\\\"+u+\\\",\\\"+h;if(\\\"rect\\\"===p)return\\\"M\\\"+l+\\\",\\\"+c+\\\"H\\\"+u+\\\"V\\\"+h+\\\"H\\\"+l+\\\"Z\\\";var b=(l+u)/2,x=(c+h)/2,w=Math.abs(b-l),A=Math.abs(x-c),C=\\\"A\\\"+w+\\\",\\\"+A,M=b+w+\\\",\\\"+x;return\\\"M\\\"+M+C+\\\" 0 1,1 \\\"+b+\\\",\\\"+(x-A)+C+\\\" 0 0,1 \\\"+M+\\\"Z\\\"}function w(t,e,n){return t.replace(d.segmentRE,(function(t){var r=0,i=t.charAt(0),o=d.paramIsX[i],a=d.paramIsY[i],s=d.numParams[i];return i+t.substr(1).replace(d.paramRE,(function(t){return r>=s||(o[r]?t=e(t):a[r]&&(t=n(t)),r++),t}))}))}function A(t){y(t)&&t._fullLayout._activeShapeIndex>=0&&(l(t),delete t._fullLayout._activeShapeIndex,v(t))}e.exports={draw:v,drawOne:_,eraseActiveShape:function(t){if(y(t)){l(t);var e=t._fullLayout._activeShapeIndex,n=(t.layout||{}).shapes||[];if(e<n.length){for(var i=[],o=0;o<n.length;o++)o!==e&&i.push(n[o]);delete t._fullLayout._activeShapeIndex,r.call(\\\"_guiRelayout\\\",t,{shapes:i})}}}}},{\\\"../../lib\\\":728,\\\"../../lib/setcursor\\\":748,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/cartesian/handle_outline\\\":786,\\\"../../registry\\\":859,\\\"../color\\\":595,\\\"../dragelement\\\":614,\\\"../drawing\\\":617,\\\"./constants\\\":674,\\\"./draw_newshape/display_outlines\\\":680,\\\"./draw_newshape/helpers\\\":681,\\\"./helpers\\\":683}],677:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../drawing/attributes\\\").dash,i=t(\\\"../../../lib/extend\\\").extendFlat;e.exports={newshape:{line:{color:{valType:\\\"color\\\",editType:\\\"none\\\"},width:{valType:\\\"number\\\",min:0,dflt:4,editType:\\\"none\\\"},dash:i({},r,{dflt:\\\"solid\\\",editType:\\\"none\\\"}),editType:\\\"none\\\"},fillcolor:{valType:\\\"color\\\",dflt:\\\"rgba(0,0,0,0)\\\",editType:\\\"none\\\"},fillrule:{valType:\\\"enumerated\\\",values:[\\\"evenodd\\\",\\\"nonzero\\\"],dflt:\\\"evenodd\\\",editType:\\\"none\\\"},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1,editType:\\\"none\\\"},layer:{valType:\\\"enumerated\\\",values:[\\\"below\\\",\\\"above\\\"],dflt:\\\"above\\\",editType:\\\"none\\\"},drawdirection:{valType:\\\"enumerated\\\",values:[\\\"ortho\\\",\\\"horizontal\\\",\\\"vertical\\\",\\\"diagonal\\\"],dflt:\\\"diagonal\\\",editType:\\\"none\\\"},editType:\\\"none\\\"},activeshape:{fillcolor:{valType:\\\"color\\\",dflt:\\\"rgb(255,0,255)\\\",editType:\\\"none\\\"},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:.5,editType:\\\"none\\\"},editType:\\\"none\\\"}}},{\\\"../../../lib/extend\\\":719,\\\"../../drawing/attributes\\\":616}],678:[function(t,e,n){\\\"use strict\\\";e.exports={CIRCLE_SIDES:32,i000:0,i090:8,i180:16,i270:24,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}},{}],679:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../color\\\");e.exports=function(t,e,n){if(n(\\\"newshape.drawdirection\\\"),n(\\\"newshape.layer\\\"),n(\\\"newshape.fillcolor\\\"),n(\\\"newshape.fillrule\\\"),n(\\\"newshape.opacity\\\"),n(\\\"newshape.line.width\\\")){var i=(t||{}).plot_bgcolor||\\\"#FFF\\\";n(\\\"newshape.line.color\\\",r.contrast(i)),n(\\\"newshape.line.dash\\\")}n(\\\"activeshape.fillcolor\\\"),n(\\\"activeshape.opacity\\\")}},{\\\"../../color\\\":595}],680:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../dragelement\\\"),i=t(\\\"../../dragelement/helpers\\\").drawMode,o=t(\\\"../../../registry\\\"),a=t(\\\"./constants\\\"),s=a.i000,l=a.i090,u=a.i180,c=a.i270,h=t(\\\"../../../plots/cartesian/handle_outline\\\").clearOutlineControllers,p=t(\\\"./helpers\\\"),f=p.pointsShapeRectangle,d=p.pointsShapeEllipse,m=p.writePaths,v=t(\\\"./newshapes\\\");e.exports=function t(e,n,a,p){p||(p=0);var g=a.gd;function y(){t(e,n,a,p++),d(e[0])&&_({redrawing:!0})}function _(t){a.isActiveShape=!1;var e=v(n,a);Object.keys(e).length&&o.call((t||{}).redrawing?\\\"relayout\\\":\\\"_guiRelayout\\\",g,e)}var b,x,w,A,C,M=a.isActiveShape,E=g._fullLayout._zoomlayer,T=a.dragmode;function S(t){w=+t.srcElement.getAttribute(\\\"data-i\\\"),A=+t.srcElement.getAttribute(\\\"data-j\\\"),b[w][A].moveFn=k}function k(t,n){if(e.length){var r=C[w][A][1],i=C[w][A][2],o=e[w],a=o.length;if(f(o)){for(var s=0;s<a;s++)if(s!==A){var l=o[s];l[1]===o[A][1]&&(l[1]=r+t),l[2]===o[A][2]&&(l[2]=i+n)}if(o[A][1]=r+t,o[A][2]=i+n,!f(o))for(var u=0;u<a;u++)for(var c=0;c<o[u].length;c++)o[u][c]=C[w][u][c]}else o[A][1]=r+t,o[A][2]=i+n;y()}}function O(){_()}function I(t,n){if(2===t){w=+n.srcElement.getAttribute(\\\"data-i\\\"),A=+n.srcElement.getAttribute(\\\"data-j\\\");var r=e[w];f(r)||d(r)||function(){if(e.length&&e[w]&&e[w].length){for(var t=[],n=0;n<e[w].length;n++)n!==A&&t.push(e[w][n]);t.length>1&&(2!==t.length||\\\"Z\\\"!==t[1][0])&&(0===A&&(t[0][0]=\\\"M\\\"),e[w]=t,y(),_())}}()}}function L(t,n){(function(t,n){if(e.length)for(var r=0;r<e.length;r++)for(var i=0;i<e[r].length;i++)for(var o=0;o+2<e[r][i].length;o+=2)e[r][i][o+1]=C[r][i][o+1]+t,e[r][i][o+2]=C[r][i][o+2]+n})(t,n),y()}function P(t){(w=+t.srcElement.getAttribute(\\\"data-i\\\"))||(w=0),x[w].moveFn=L}function z(){_()}i(T)?g._fullLayout._drawing=!0:g._fullLayout._activeShapeIndex>=0&&h(g),n.attr(\\\"d\\\",m(e)),M&&!p&&(C=function(t,e){for(var n=0;n<e.length;n++){var r=e[n];t[n]=[];for(var i=0;i<r.length;i++){t[n][i]=[];for(var o=0;o<r[i].length;o++)t[n][i][o]=r[i][o]}}return t}([],e),function(t){b=[];for(var n=0;n<e.length;n++){var i=e[n],o=!f(i)&&d(i);b[n]=[];for(var a=0;a<i.length;a++)if(\\\"Z\\\"!==i[a][0]&&(!o||a===s||a===l||a===u||a===c)){var h=i[a][1],p=i[a][2],m=t.append(\\\"circle\\\").classed(\\\"cursor-grab\\\",!0).attr(\\\"data-i\\\",n).attr(\\\"data-j\\\",a).attr(\\\"cx\\\",h).attr(\\\"cy\\\",p).attr(\\\"r\\\",4).style({\\\"mix-blend-mode\\\":\\\"luminosity\\\",fill:\\\"black\\\",stroke:\\\"white\\\",\\\"stroke-width\\\":1});b[n][a]={element:m.node(),gd:g,prepFn:S,doneFn:O,clickFn:I},r.init(b[n][a])}}}(E.append(\\\"g\\\").attr(\\\"class\\\",\\\"outline-controllers\\\")),x=[],e.length&&(x[0]={element:n[0][0],gd:g,prepFn:P,doneFn:z},r.init(x[0])))}},{\\\"../../../plots/cartesian/handle_outline\\\":786,\\\"../../../registry\\\":859,\\\"../../dragelement\\\":614,\\\"../../dragelement/helpers\\\":613,\\\"./constants\\\":678,\\\"./helpers\\\":681,\\\"./newshapes\\\":682}],681:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"parse-svg-path\\\"),i=t(\\\"./constants\\\"),o=i.CIRCLE_SIDES,a=i.SQRT2,s=t(\\\"../../../plots/cartesian/helpers\\\"),l=s.p2r,u=s.r2p,c=[0,3,4,5,6,1,2],h=[0,3,4,1,2];function p(t,e){return Math.abs(t-e)<=1e-6}function f(t,e){var n=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(n*n+r*r)}n.writePaths=function(t){var e=t.length;if(!e)return\\\"M0,0Z\\\";for(var n=\\\"\\\",r=0;r<e;r++)for(var i=t[r].length,o=0;o<i;o++){var a=t[r][o][0];if(\\\"Z\\\"===a)n+=\\\"Z\\\";else for(var s=t[r][o].length,l=0;l<s;l++){var u=l;\\\"Q\\\"===a||\\\"S\\\"===a?u=h[l]:\\\"C\\\"===a&&(u=c[l]),n+=t[r][o][u],l>0&&l<s-1&&(n+=\\\",\\\")}}return n},n.readPaths=function(t,e,n,i){var a,s,c,h=r(t),p=[],f=-1,d=0,m=0,v=function(){s=d,c=m};v();for(var g=0;g<h.length;g++){var y,_,b,x,w=[],A=h[g][0],C=A;switch(A){case\\\"M\\\":f++,p[f]=[],d=+h[g][1],m=+h[g][2],w.push([C,d,m]),v();break;case\\\"Q\\\":case\\\"S\\\":y=+h[g][1],b=+h[g][2],d=+h[g][3],m=+h[g][4],w.push([C,d,m,y,b]);break;case\\\"C\\\":y=+h[g][1],b=+h[g][2],_=+h[g][3],x=+h[g][4],d=+h[g][5],m=+h[g][6],w.push([C,d,m,y,b,_,x]);break;case\\\"T\\\":case\\\"L\\\":d=+h[g][1],m=+h[g][2],w.push([C,d,m]);break;case\\\"H\\\":C=\\\"L\\\",d=+h[g][1],w.push([C,d,m]);break;case\\\"V\\\":C=\\\"L\\\",m=+h[g][1],w.push([C,d,m]);break;case\\\"A\\\":C=\\\"L\\\";var M=+h[g][1],E=+h[g][2];+h[g][4]||(M=-M,E=-E);var T=d-M,S=m;for(a=1;a<=o/2;a++){var k=2*Math.PI*a/o;w.push([C,T+M*Math.cos(k),S+E*Math.sin(k)])}break;case\\\"Z\\\":d===s&&m===c||(d=s,m=c,w.push([C,d,m]))}for(var O=(n||{}).domain,I=e._fullLayout._size,L=n&&\\\"pixel\\\"===n.xsizemode,P=n&&\\\"pixel\\\"===n.ysizemode,z=!1===i,R=0;R<w.length;R++){for(a=0;a+2<7;a+=2){var D=w[R][a+1],$=w[R][a+2];void 0!==D&&void 0!==$&&(d=D,m=$,n&&(n.xaxis&&n.xaxis.p2r?(z&&(D-=n.xaxis._offset),D=L?u(n.xaxis,n.xanchor)+D:l(n.xaxis,D)):(z&&(D-=I.l),O?D=O.x[0]+D/I.w:D/=I.w),n.yaxis&&n.yaxis.p2r?(z&&($-=n.yaxis._offset),$=P?u(n.yaxis,n.yanchor)-$:l(n.yaxis,$)):(z&&($-=I.t),$=O?O.y[1]-$/I.h:1-$/I.h)),w[R][a+1]=D,w[R][a+2]=$)}p[f].push(w[R].slice())}}return p},n.pointsShapeRectangle=function(t){if(5!==t.length)return!1;for(var e=1;e<3;e++){if(!p(t[0][e]-t[1][e],t[3][e]-t[2][e]))return!1;if(!p(t[0][e]-t[3][e],t[1][e]-t[2][e]))return!1}return!(!p(t[0][1],t[1][1])&&!p(t[0][1],t[3][1])||!(f(t[0],t[1])*f(t[0],t[3])))},n.pointsShapeEllipse=function(t){var e=t.length;if(e!==o+1)return!1;e=o;for(var n=0;n<e;n++){var r=(2*e-n)%e,i=(e/2+r)%e,a=(e/2+n)%e;if(!p(f(t[n],t[a]),f(t[r],t[i])))return!1}return!0},n.handleEllipse=function(t,e,r){if(!t)return[e,r];var i=n.ellipseOver({x0:e[0],y0:e[1],x1:r[0],y1:r[1]}),s=(i.x1+i.x0)/2,l=(i.y1+i.y0)/2,u=(i.x1-i.x0)/2,c=(i.y1-i.y0)/2;u||(u=c/=a),c||(c=u/=a);for(var h=[],p=0;p<o;p++){var f=2*p*Math.PI/o;h.push([s+u*Math.cos(f),l+c*Math.sin(f)])}return h},n.ellipseOver=function(t){var e=t.x0,n=t.y0,r=t.x1,i=t.y1,o=r-e,s=i-n,l=((e-=o)+r)/2,u=((n-=s)+i)/2;return{x0:l-(o*=a),y0:u-(s*=a),x1:l+o,y1:u+s}}},{\\\"../../../plots/cartesian/helpers\\\":787,\\\"./constants\\\":678,\\\"parse-svg-path\\\":458}],682:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../dragelement/helpers\\\"),i=r.drawMode,o=r.openMode,a=t(\\\"./constants\\\"),s=a.i000,l=a.i090,u=a.i180,c=a.i270,h=a.cos45,p=a.sin45,f=t(\\\"../../../plots/cartesian/helpers\\\"),d=f.p2r,m=f.r2p,v=t(\\\"../../../plots/cartesian/handle_outline\\\").clearSelect,g=t(\\\"./helpers\\\"),y=g.readPaths,_=g.writePaths,b=g.ellipseOver;e.exports=function(t,e){if(t.length){var n=t[0][0];if(n){var r=n.getAttribute(\\\"d\\\"),a=e.gd,f=a._fullLayout.newshape,g=e.plotinfo,x=g.xaxis,w=g.yaxis,A=!!g.domain||!g.xaxis,C=!!g.domain||!g.yaxis,M=e.isActiveShape,E=e.dragmode,T=(a.layout||{}).shapes||[];if(!i(E)&&void 0!==M){var S=a._fullLayout._activeShapeIndex;if(S<T.length)switch(a._fullLayout.shapes[S].type){case\\\"rect\\\":E=\\\"drawrect\\\";break;case\\\"circle\\\":E=\\\"drawcircle\\\";break;case\\\"line\\\":E=\\\"drawline\\\";break;case\\\"path\\\":var k=T[S].path||\\\"\\\";E=\\\"Z\\\"===k[k.length-1]?\\\"drawclosedpath\\\":\\\"drawopenpath\\\"}}var O,I=o(E),L=y(r,a,g,M),P={editable:!0,xref:A?\\\"paper\\\":x._id,yref:C?\\\"paper\\\":w._id,layer:f.layer,opacity:f.opacity,line:{color:f.line.color,width:f.line.width,dash:f.line.dash}};if(I||(P.fillcolor=f.fillcolor,P.fillrule=f.fillrule),1===L.length&&(O=L[0]),O&&\\\"drawrect\\\"===E)P.type=\\\"rect\\\",P.x0=O[0][1],P.y0=O[0][2],P.x1=O[2][1],P.y1=O[2][2];else if(O&&\\\"drawline\\\"===E)P.type=\\\"line\\\",P.x0=O[0][1],P.y0=O[0][2],P.x1=O[1][1],P.y1=O[1][2];else if(O&&\\\"drawcircle\\\"===E){P.type=\\\"circle\\\";var z=O[s][1],R=O[l][1],D=O[u][1],$=O[c][1],B=O[s][2],N=O[l][2],F=O[u][2],j=O[c][2],U=g.xaxis&&(\\\"date\\\"===g.xaxis.type||\\\"log\\\"===g.xaxis.type),q=g.yaxis&&(\\\"date\\\"===g.yaxis.type||\\\"log\\\"===g.yaxis.type);U&&(z=m(g.xaxis,z),R=m(g.xaxis,R),D=m(g.xaxis,D),$=m(g.xaxis,$)),q&&(B=m(g.yaxis,B),N=m(g.yaxis,N),F=m(g.yaxis,F),j=m(g.yaxis,j));var V=(R+$)/2,H=(B+F)/2,G=b({x0:V,y0:H,x1:V+($-R+D-z)/2*h,y1:H+(j-N+F-B)/2*p});U&&(G.x0=d(g.xaxis,G.x0),G.x1=d(g.xaxis,G.x1)),q&&(G.y0=d(g.yaxis,G.y0),G.y1=d(g.yaxis,G.y1)),P.x0=G.x0,P.y0=G.y0,P.x1=G.x1,P.y1=G.y1}else P.type=\\\"path\\\",x&&w&&function(t,e,n){var r=\\\"date\\\"===e.type,i=\\\"date\\\"===n.type;if(!r&&!i)return t;for(var o=0;o<t.length;o++)for(var a=0;a<t[o].length;a++)for(var s=0;s+2<t[o][a].length;s+=2)r&&(t[o][a][s+1]=t[o][a][s+1].replace(\\\" \\\",\\\"_\\\")),i&&(t[o][a][s+2]=t[o][a][s+2].replace(\\\" \\\",\\\"_\\\"))}(L,x,w),P.path=_(L),O=null;v(a);for(var W=e.editHelpers,X=(W||{}).modifyItem,Y=[],Z=0;Z<T.length;Z++){var K=a._fullLayout.shapes[Z];if(Y[Z]=K._input,void 0!==M&&Z===a._fullLayout._activeShapeIndex){var J=P;switch(K.type){case\\\"line\\\":case\\\"rect\\\":case\\\"circle\\\":X(\\\"x0\\\",J.x0),X(\\\"x1\\\",J.x1),X(\\\"y0\\\",J.y0),X(\\\"y1\\\",J.y1);break;case\\\"path\\\":X(\\\"path\\\",J.path)}}}return void 0===M?(Y.push(P),Y):W?W.getUpdateObj():{}}}}},{\\\"../../../plots/cartesian/handle_outline\\\":786,\\\"../../../plots/cartesian/helpers\\\":787,\\\"../../dragelement/helpers\\\":613,\\\"./constants\\\":678,\\\"./helpers\\\":681}],683:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\"),i=t(\\\"../../lib\\\");n.rangeToShapePosition=function(t){return\\\"log\\\"===t.type?t.r2d:function(t){return t}},n.shapePositionToRange=function(t){return\\\"log\\\"===t.type?t.d2r:function(t){return t}},n.decodeDate=function(t){return function(e){return e.replace&&(e=e.replace(\\\"_\\\",\\\" \\\")),t(e)}},n.encodeDate=function(t){return function(e){return t(e).replace(\\\" \\\",\\\"_\\\")}},n.extractPathCoords=function(t,e){var n=[];return t.match(r.segmentRE).forEach((function(t){var o=e[t.charAt(0)].drawn;if(void 0!==o){var a=t.substr(1).match(r.paramRE);!a||a.length<o||n.push(i.cleanNumber(a[o]))}})),n},n.getDataToPixel=function(t,e,r){var i,o=t._fullLayout._size;if(e){var a=n.shapePositionToRange(e);i=function(t){return e._offset+e.r2p(a(t,!0))},\\\"date\\\"===e.type&&(i=n.decodeDate(i))}else i=r?function(t){return o.t+o.h*(1-t)}:function(t){return o.l+o.w*t};return i},n.getPixelToData=function(t,e,r){var i,o=t._fullLayout._size;if(e){var a=n.rangeToShapePosition(e);i=function(t){return a(e.p2r(t-e._offset))}}else i=r?function(t){return 1-(t-o.t)/o.h}:function(t){return(t-o.l)/o.w};return i},n.roundPositionForSharpStrokeRendering=function(t,e){var n=1===Math.round(e%2),r=Math.round(t);return n?r+.5:r},n.makeOptionsAndPlotinfo=function(t,e){var n=t._fullLayout.shapes[e]||{},r=t._fullLayout._plots[n.xref+n.yref];return r?r._hadPlotinfo=!0:(r={},n.xref&&\\\"paper\\\"!==n.xref&&(r.xaxis=t._fullLayout[n.xref+\\\"axis\\\"]),n.yref&&\\\"paper\\\"!==n.yref&&(r.yaxis=t._fullLayout[n.yref+\\\"axis\\\"])),r.xsizemode=n.xsizemode,r.ysizemode=n.ysizemode,r.xanchor=n.xanchor,r.yanchor=n.yanchor,{options:n,plotinfo:r}}},{\\\"../../lib\\\":728,\\\"./constants\\\":674}],684:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./draw\\\");e.exports={moduleType:\\\"component\\\",name:\\\"shapes\\\",layoutAttributes:t(\\\"./attributes\\\"),supplyLayoutDefaults:t(\\\"./defaults\\\"),supplyDrawNewShapeDefaults:t(\\\"./draw_newshape/defaults\\\"),includeBasePlot:t(\\\"../../plots/cartesian/include_components\\\")(\\\"shapes\\\"),calcAutorange:t(\\\"./calc_autorange\\\"),draw:r.draw,drawOne:r.drawOne}},{\\\"../../plots/cartesian/include_components\\\":788,\\\"./attributes\\\":672,\\\"./calc_autorange\\\":673,\\\"./defaults\\\":675,\\\"./draw\\\":676,\\\"./draw_newshape/defaults\\\":679}],685:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/font_attributes\\\"),i=t(\\\"../../plots/pad_attributes\\\"),o=t(\\\"../../lib/extend\\\").extendDeepAll,a=t(\\\"../../plot_api/edit_types\\\").overrideAll,s=t(\\\"../../plots/animation_attributes\\\"),l=t(\\\"../../plot_api/plot_template\\\").templatedArray,u=t(\\\"./constants\\\"),c=l(\\\"step\\\",{visible:{valType:\\\"boolean\\\",dflt:!0},method:{valType:\\\"enumerated\\\",values:[\\\"restyle\\\",\\\"relayout\\\",\\\"animate\\\",\\\"update\\\",\\\"skip\\\"],dflt:\\\"restyle\\\"},args:{valType:\\\"info_array\\\",freeLength:!0,items:[{valType:\\\"any\\\"},{valType:\\\"any\\\"},{valType:\\\"any\\\"}]},label:{valType:\\\"string\\\"},value:{valType:\\\"string\\\"},execute:{valType:\\\"boolean\\\",dflt:!0}});e.exports=a(l(\\\"slider\\\",{visible:{valType:\\\"boolean\\\",dflt:!0},active:{valType:\\\"number\\\",min:0,dflt:0},steps:c,lenmode:{valType:\\\"enumerated\\\",values:[\\\"fraction\\\",\\\"pixels\\\"],dflt:\\\"fraction\\\"},len:{valType:\\\"number\\\",min:0,dflt:1},x:{valType:\\\"number\\\",min:-2,max:3,dflt:0},pad:o(i({editType:\\\"arraydraw\\\"}),{},{t:{dflt:20}}),xanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"left\\\"},y:{valType:\\\"number\\\",min:-2,max:3,dflt:0},yanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],dflt:\\\"top\\\"},transition:{duration:{valType:\\\"number\\\",min:0,dflt:150},easing:{valType:\\\"enumerated\\\",values:s.transition.easing.values,dflt:\\\"cubic-in-out\\\"}},currentvalue:{visible:{valType:\\\"boolean\\\",dflt:!0},xanchor:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"left\\\"},offset:{valType:\\\"number\\\",dflt:10},prefix:{valType:\\\"string\\\"},suffix:{valType:\\\"string\\\"},font:r({})},font:r({}),activebgcolor:{valType:\\\"color\\\",dflt:u.gripBgActiveColor},bgcolor:{valType:\\\"color\\\",dflt:u.railBgColor},bordercolor:{valType:\\\"color\\\",dflt:u.railBorderColor},borderwidth:{valType:\\\"number\\\",min:0,dflt:u.railBorderWidth},ticklen:{valType:\\\"number\\\",min:0,dflt:u.tickLength},tickcolor:{valType:\\\"color\\\",dflt:u.tickColor},tickwidth:{valType:\\\"number\\\",min:0,dflt:1},minorticklen:{valType:\\\"number\\\",min:0,dflt:u.minorTickLength}}),\\\"arraydraw\\\",\\\"from-root\\\")},{\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/animation_attributes\\\":771,\\\"../../plots/font_attributes\\\":804,\\\"../../plots/pad_attributes\\\":838,\\\"./constants\\\":686}],686:[function(t,e,n){\\\"use strict\\\";e.exports={name:\\\"sliders\\\",containerClassName:\\\"slider-container\\\",groupClassName:\\\"slider-group\\\",inputAreaClass:\\\"slider-input-area\\\",railRectClass:\\\"slider-rail-rect\\\",railTouchRectClass:\\\"slider-rail-touch-rect\\\",gripRectClass:\\\"slider-grip-rect\\\",tickRectClass:\\\"slider-tick-rect\\\",inputProxyClass:\\\"slider-input-proxy\\\",labelsClass:\\\"slider-labels\\\",labelGroupClass:\\\"slider-label-group\\\",labelClass:\\\"slider-label\\\",currentValueClass:\\\"slider-current-value\\\",railHeight:5,menuIndexAttrName:\\\"slider-active-index\\\",autoMarginIdRoot:\\\"slider-\\\",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:\\\"#bec8d9\\\",railBgColor:\\\"#f8fafc\\\",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:\\\"#bec8d9\\\",gripBgColor:\\\"#f6f8fa\\\",gripBgActiveColor:\\\"#dbdde0\\\",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:\\\"#333\\\",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:\\\"#333\\\",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},{}],687:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/array_container_defaults\\\"),o=t(\\\"./attributes\\\"),a=t(\\\"./constants\\\").name,s=o.steps;function l(t,e,n){function a(n,i){return r.coerce(t,e,o,n,i)}for(var s=i(t,e,{name:\\\"steps\\\",handleItemDefaults:u}),l=0,c=0;c<s.length;c++)s[c].visible&&l++;if(l<2?e.visible=!1:a(\\\"visible\\\")){e._stepCount=l;var h=e._visibleSteps=r.filterVisible(s);(s[a(\\\"active\\\")]||{}).visible||(e.active=h[0]._index),a(\\\"x\\\"),a(\\\"y\\\"),r.noneOrAll(t,e,[\\\"x\\\",\\\"y\\\"]),a(\\\"xanchor\\\"),a(\\\"yanchor\\\"),a(\\\"len\\\"),a(\\\"lenmode\\\"),a(\\\"pad.t\\\"),a(\\\"pad.r\\\"),a(\\\"pad.b\\\"),a(\\\"pad.l\\\"),r.coerceFont(a,\\\"font\\\",n.font),a(\\\"currentvalue.visible\\\")&&(a(\\\"currentvalue.xanchor\\\"),a(\\\"currentvalue.prefix\\\"),a(\\\"currentvalue.suffix\\\"),a(\\\"currentvalue.offset\\\"),r.coerceFont(a,\\\"currentvalue.font\\\",e.font)),a(\\\"transition.duration\\\"),a(\\\"transition.easing\\\"),a(\\\"bgcolor\\\"),a(\\\"activebgcolor\\\"),a(\\\"bordercolor\\\"),a(\\\"borderwidth\\\"),a(\\\"ticklen\\\"),a(\\\"tickwidth\\\"),a(\\\"tickcolor\\\"),a(\\\"minorticklen\\\")}}function u(t,e){function n(n,i){return r.coerce(t,e,s,n,i)}if(\\\"skip\\\"===t.method||Array.isArray(t.args)?n(\\\"visible\\\"):e.visible=!1){n(\\\"method\\\"),n(\\\"args\\\");var i=n(\\\"label\\\",\\\"step-\\\"+e._index);n(\\\"value\\\",i),n(\\\"execute\\\")}}e.exports=function(t,e){i(t,e,{name:a,handleItemDefaults:l})}},{\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"./attributes\\\":685,\\\"./constants\\\":686}],688:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../plots/plots\\\"),o=t(\\\"../color\\\"),a=t(\\\"../drawing\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../../lib/svg_text_utils\\\"),u=t(\\\"../../plot_api/plot_template\\\").arrayEditor,c=t(\\\"./constants\\\"),h=t(\\\"../../constants/alignment\\\"),p=h.LINE_SPACING,f=h.FROM_TL,d=h.FROM_BR;function m(t){return c.autoMarginIdRoot+t._index}function v(t){return t._index}function g(t,e){var n=a.tester.selectAll(\\\"g.\\\"+c.labelGroupClass).data(e._visibleSteps);n.enter().append(\\\"g\\\").classed(c.labelGroupClass,!0);var o=0,u=0;n.each((function(t){var n=b(r.select(this),{step:t},e).node();if(n){var i=a.bBox(n);u=Math.max(u,i.height),o=Math.max(o,i.width)}})),n.remove();var h=e._dims={};h.inputAreaWidth=Math.max(c.railWidth,c.gripHeight);var p=t._fullLayout._size;h.lx=p.l+p.w*e.x,h.ly=p.t+p.h*(1-e.y),\\\"fraction\\\"===e.lenmode?h.outerLength=Math.round(p.w*e.len):h.outerLength=e.len,h.inputAreaStart=0,h.inputAreaLength=Math.round(h.outerLength-e.pad.l-e.pad.r);var v=(h.inputAreaLength-2*c.stepInset)/(e._stepCount-1),g=o+c.labelPadding;if(h.labelStride=Math.max(1,Math.ceil(g/v)),h.labelHeight=u,h.currentValueMaxWidth=0,h.currentValueHeight=0,h.currentValueTotalHeight=0,h.currentValueMaxLines=1,e.currentvalue.visible){var _=a.tester.append(\\\"g\\\");n.each((function(t){var n=y(_,e,t.label),r=n.node()&&a.bBox(n.node())||{width:0,height:0},i=l.lineCount(n);h.currentValueMaxWidth=Math.max(h.currentValueMaxWidth,Math.ceil(r.width)),h.currentValueHeight=Math.max(h.currentValueHeight,Math.ceil(r.height)),h.currentValueMaxLines=Math.max(h.currentValueMaxLines,i)})),h.currentValueTotalHeight=h.currentValueHeight+e.currentvalue.offset,_.remove()}h.height=h.currentValueTotalHeight+c.tickOffset+e.ticklen+c.labelOffset+h.labelHeight+e.pad.t+e.pad.b;var x=\\\"left\\\";s.isRightAnchor(e)&&(h.lx-=h.outerLength,x=\\\"right\\\"),s.isCenterAnchor(e)&&(h.lx-=h.outerLength/2,x=\\\"center\\\");var w=\\\"top\\\";s.isBottomAnchor(e)&&(h.ly-=h.height,w=\\\"bottom\\\"),s.isMiddleAnchor(e)&&(h.ly-=h.height/2,w=\\\"middle\\\"),h.outerLength=Math.ceil(h.outerLength),h.height=Math.ceil(h.height),h.lx=Math.round(h.lx),h.ly=Math.round(h.ly);var A={y:e.y,b:h.height*d[w],t:h.height*f[w]};\\\"fraction\\\"===e.lenmode?(A.l=0,A.xl=e.x-e.len*f[x],A.r=0,A.xr=e.x+e.len*d[x]):(A.x=e.x,A.l=h.outerLength*f[x],A.r=h.outerLength*d[x]),i.autoMargin(t,m(e),A)}function y(t,e,n){if(e.currentvalue.visible){var r,i,o=e._dims;switch(e.currentvalue.xanchor){case\\\"right\\\":r=o.inputAreaLength-c.currentValueInset-o.currentValueMaxWidth,i=\\\"left\\\";break;case\\\"center\\\":r=.5*o.inputAreaLength,i=\\\"middle\\\";break;default:r=c.currentValueInset,i=\\\"left\\\"}var u=s.ensureSingle(t,\\\"text\\\",c.labelClass,(function(t){t.classed(\\\"user-select-none\\\",!0).attr({\\\"text-anchor\\\":i,\\\"data-notex\\\":1})})),h=e.currentvalue.prefix?e.currentvalue.prefix:\\\"\\\";if(\\\"string\\\"==typeof n)h+=n;else{var f=e.steps[e.active].label,d=e._gd._fullLayout._meta;d&&(f=s.templateString(f,d)),h+=f}e.currentvalue.suffix&&(h+=e.currentvalue.suffix),u.call(a.font,e.currentvalue.font).text(h).call(l.convertToTspans,e._gd);var m=l.lineCount(u),v=(o.currentValueMaxLines+1-m)*e.currentvalue.font.size*p;return l.positionText(u,r,v),u}}function _(t,e,n){s.ensureSingle(t,\\\"rect\\\",c.gripRectClass,(function(r){r.call(C,e,t,n).style(\\\"pointer-events\\\",\\\"all\\\")})).attr({width:c.gripWidth,height:c.gripHeight,rx:c.gripRadius,ry:c.gripRadius}).call(o.stroke,n.bordercolor).call(o.fill,n.bgcolor).style(\\\"stroke-width\\\",n.borderwidth+\\\"px\\\")}function b(t,e,n){var r=s.ensureSingle(t,\\\"text\\\",c.labelClass,(function(t){t.classed(\\\"user-select-none\\\",!0).attr({\\\"text-anchor\\\":\\\"middle\\\",\\\"data-notex\\\":1})})),i=e.step.label,o=n._gd._fullLayout._meta;return o&&(i=s.templateString(i,o)),r.call(a.font,n.font).text(i).call(l.convertToTspans,n._gd),r}function x(t,e){var n=s.ensureSingle(t,\\\"g\\\",c.labelsClass),i=e._dims,o=n.selectAll(\\\"g.\\\"+c.labelGroupClass).data(i.labelSteps);o.enter().append(\\\"g\\\").classed(c.labelGroupClass,!0),o.exit().remove(),o.each((function(t){var n=r.select(this);n.call(b,t,e),a.setTranslate(n,T(e,t.fraction),c.tickOffset+e.ticklen+e.font.size*p+c.labelOffset+i.currentValueTotalHeight)}))}function w(t,e,n,r,i){var o=Math.round(r*(n._stepCount-1)),a=n._visibleSteps[o]._index;a!==n.active&&A(t,e,n,a,!0,i)}function A(t,e,n,r,o,a){var s=n.active;n.active=r,u(t.layout,c.name,n).applyUpdate(\\\"active\\\",r);var l=n.steps[n.active];e.call(E,n,a),e.call(y,n),t.emit(\\\"plotly_sliderchange\\\",{slider:n,step:n.steps[n.active],interaction:o,previousActive:s}),l&&l.method&&o&&(e._nextMethod?(e._nextMethod.step=l,e._nextMethod.doCallback=o,e._nextMethod.doTransition=a):(e._nextMethod={step:l,doCallback:o,doTransition:a},e._nextMethodRaf=window.requestAnimationFrame((function(){var n=e._nextMethod.step;n.method&&(n.execute&&i.executeAPICommand(t,n.method,n.args),e._nextMethod=null,e._nextMethodRaf=null)}))))}function C(t,e,n){var i=n.node(),a=r.select(e);function s(){return n.data()[0]}t.on(\\\"mousedown\\\",(function(){var t=s();e.emit(\\\"plotly_sliderstart\\\",{slider:t});var l=n.select(\\\".\\\"+c.gripRectClass);r.event.stopPropagation(),r.event.preventDefault(),l.call(o.fill,t.activebgcolor);var u=S(t,r.mouse(i)[0]);w(e,n,t,u,!0),t._dragging=!0,a.on(\\\"mousemove\\\",(function(){var t=s(),o=S(t,r.mouse(i)[0]);w(e,n,t,o,!1)})),a.on(\\\"mouseup\\\",(function(){var t=s();t._dragging=!1,l.call(o.fill,t.bgcolor),a.on(\\\"mouseup\\\",null),a.on(\\\"mousemove\\\",null),e.emit(\\\"plotly_sliderend\\\",{slider:t,step:t.steps[t.active]})}))}))}function M(t,e){var n=t.selectAll(\\\"rect.\\\"+c.tickRectClass).data(e._visibleSteps),i=e._dims;n.enter().append(\\\"rect\\\").classed(c.tickRectClass,!0),n.exit().remove(),n.attr({width:e.tickwidth+\\\"px\\\",\\\"shape-rendering\\\":\\\"crispEdges\\\"}),n.each((function(t,n){var s=n%i.labelStride==0,l=r.select(this);l.attr({height:s?e.ticklen:e.minorticklen}).call(o.fill,e.tickcolor),a.setTranslate(l,T(e,n/(e._stepCount-1))-.5*e.tickwidth,(s?c.tickOffset:c.minorTickOffset)+i.currentValueTotalHeight)}))}function E(t,e,n){for(var r=t.select(\\\"rect.\\\"+c.gripRectClass),i=0,o=0;o<e._stepCount;o++)if(e._visibleSteps[o]._index===e.active){i=o;break}var a=T(e,i/(e._stepCount-1));if(!e._invokingCommand){var s=r;n&&e.transition.duration>0&&(s=s.transition().duration(e.transition.duration).ease(e.transition.easing)),s.attr(\\\"transform\\\",\\\"translate(\\\"+(a-.5*c.gripWidth)+\\\",\\\"+e._dims.currentValueTotalHeight+\\\")\\\")}}function T(t,e){var n=t._dims;return n.inputAreaStart+c.stepInset+(n.inputAreaLength-2*c.stepInset)*Math.min(1,Math.max(0,e))}function S(t,e){var n=t._dims;return Math.min(1,Math.max(0,(e-c.stepInset-n.inputAreaStart)/(n.inputAreaLength-2*c.stepInset-2*n.inputAreaStart)))}function k(t,e,n){var r=n._dims,i=s.ensureSingle(t,\\\"rect\\\",c.railTouchRectClass,(function(r){r.call(C,e,t,n).style(\\\"pointer-events\\\",\\\"all\\\")}));i.attr({width:r.inputAreaLength,height:Math.max(r.inputAreaWidth,c.tickOffset+n.ticklen+r.labelHeight)}).call(o.fill,n.bgcolor).attr(\\\"opacity\\\",0),a.setTranslate(i,0,r.currentValueTotalHeight)}function O(t,e){var n=e._dims,r=n.inputAreaLength-2*c.railInset,i=s.ensureSingle(t,\\\"rect\\\",c.railRectClass);i.attr({width:r,height:c.railWidth,rx:c.railRadius,ry:c.railRadius,\\\"shape-rendering\\\":\\\"crispEdges\\\"}).call(o.stroke,e.bordercolor).call(o.fill,e.bgcolor).style(\\\"stroke-width\\\",e.borderwidth+\\\"px\\\"),a.setTranslate(i,c.railInset,.5*(n.inputAreaWidth-c.railWidth)+n.currentValueTotalHeight)}e.exports=function(t){var e=t._fullLayout,n=function(t,e){for(var n=t[c.name],r=[],i=0;i<n.length;i++){var o=n[i];o.visible&&(o._gd=e,r.push(o))}return r}(e,t),o=e._infolayer.selectAll(\\\"g.\\\"+c.containerClassName).data(n.length>0?[0]:[]);function s(e){e._commandObserver&&(e._commandObserver.remove(),delete e._commandObserver),i.autoMargin(t,m(e))}if(o.enter().append(\\\"g\\\").classed(c.containerClassName,!0).style(\\\"cursor\\\",\\\"ew-resize\\\"),o.exit().each((function(){r.select(this).selectAll(\\\"g.\\\"+c.groupClassName).each(s)})).remove(),0!==n.length){var l=o.selectAll(\\\"g.\\\"+c.groupClassName).data(n,v);l.enter().append(\\\"g\\\").classed(c.groupClassName,!0),l.exit().each(s).remove();for(var u=0;u<n.length;u++){var h=n[u];g(t,h)}l.each((function(e){var n=r.select(this);(function(t){var e=t._dims;e.labelSteps=[];for(var n=t._stepCount,r=0;r<n;r+=e.labelStride)e.labelSteps.push({fraction:r/(n-1),step:t._visibleSteps[r]})})(e),i.manageCommandObserver(t,e,e._visibleSteps,(function(e){var r=n.data()[0];r.active!==e.index&&(r._dragging||A(t,n,r,e.index,!1,!0))})),function(t,e,n){(n.steps[n.active]||{}).visible||(n.active=n._visibleSteps[0]._index),e.call(y,n).call(O,n).call(x,n).call(M,n).call(k,t,n).call(_,t,n);var r=n._dims;a.setTranslate(e,r.lx+n.pad.l,r.ly+n.pad.t),e.call(E,n,!1),e.call(y,n)}(t,r.select(this),e)}))}}},{\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/plots\\\":839,\\\"../color\\\":595,\\\"../drawing\\\":617,\\\"./constants\\\":686,d3:164}],689:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\");e.exports={moduleType:\\\"component\\\",name:r.name,layoutAttributes:t(\\\"./attributes\\\"),supplyLayoutDefaults:t(\\\"./defaults\\\"),draw:t(\\\"./draw\\\")}},{\\\"./attributes\\\":685,\\\"./constants\\\":686,\\\"./defaults\\\":687,\\\"./draw\\\":688}],690:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../../plots/plots\\\"),a=t(\\\"../../registry\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../drawing\\\"),u=t(\\\"../color\\\"),c=t(\\\"../../lib/svg_text_utils\\\"),h=t(\\\"../../constants/interactions\\\"),p=t(\\\"../../constants/alignment\\\").OPPOSITE_SIDE,f=/ [XY][0-9]* /;e.exports={draw:function(t,e,n){var d,m=n.propContainer,v=n.propName,g=n.placeholder,y=n.traceIndex,_=n.avoid||{},b=n.attributes,x=n.transform,w=n.containerGroup,A=t._fullLayout,C=1,M=!1,E=m.title,T=(E&&E.text?E.text:\\\"\\\").trim(),S=E&&E.font?E.font:{},k=S.family,O=S.size,I=S.color;\\\"title.text\\\"===v?d=\\\"titleText\\\":-1!==v.indexOf(\\\"axis\\\")?d=\\\"axisTitleText\\\":v.indexOf(!0)&&(d=\\\"colorbarTitleText\\\");var L=t._context.edits[d];\\\"\\\"===T?C=0:T.replace(f,\\\" % \\\")===g.replace(f,\\\" % \\\")&&(C=.2,M=!0,L||(T=\\\"\\\")),n._meta?T=s.templateString(T,n._meta):A._meta&&(T=s.templateString(T,A._meta));var P=T||L;w||(w=s.ensureSingle(A._infolayer,\\\"g\\\",\\\"g-\\\"+e));var z=w.selectAll(\\\"text\\\").data(P?[0]:[]);if(z.enter().append(\\\"text\\\"),z.text(T).attr(\\\"class\\\",e),z.exit().remove(),!P)return w;function R(t){s.syncOrAsync([D,$],t)}function D(e){var n;return x?(n=\\\"\\\",x.rotate&&(n+=\\\"rotate(\\\"+[x.rotate,b.x,b.y]+\\\")\\\"),x.offset&&(n+=\\\"translate(0, \\\"+x.offset+\\\")\\\")):n=null,e.attr(\\\"transform\\\",n),e.style({\\\"font-family\\\":k,\\\"font-size\\\":r.round(O,2)+\\\"px\\\",fill:u.rgb(I),opacity:C*u.opacity(I),\\\"font-weight\\\":o.fontWeight}).attr(b).call(c.convertToTspans,t),o.previousPromises(t)}function $(t){var e=r.select(t.node().parentNode);if(_&&_.selection&&_.side&&T){e.attr(\\\"transform\\\",null);var n=p[_.side],o=\\\"left\\\"===_.side||\\\"top\\\"===_.side?-1:1,a=i(_.pad)?_.pad:2,u=l.bBox(e.node()),c={left:0,top:0,right:A.width,bottom:A.height},h=_.maxShift||o*(c[_.side]-u[_.side]),f=0;if(h<0)f=h;else{var d=_.offsetLeft||0,m=_.offsetTop||0;u.left-=d,u.right-=d,u.top-=m,u.bottom-=m,_.selection.each((function(){var t=l.bBox(this);s.bBoxIntersect(u,t,a)&&(f=Math.max(f,o*(t[_.side]-u[n])+a))})),f=Math.min(h,f)}if(f>0||h<0){var v={left:[-f,0],right:[f,0],top:[0,-f],bottom:[0,f]}[_.side];e.attr(\\\"transform\\\",\\\"translate(\\\"+v+\\\")\\\")}}}return z.call(R),L&&(T?z.on(\\\".opacity\\\",null):(C=0,M=!0,z.text(g).on(\\\"mouseover.opacity\\\",(function(){r.select(this).transition().duration(h.SHOW_PLACEHOLDER).style(\\\"opacity\\\",1)})).on(\\\"mouseout.opacity\\\",(function(){r.select(this).transition().duration(h.HIDE_PLACEHOLDER).style(\\\"opacity\\\",0)}))),z.call(c.makeEditable,{gd:t}).on(\\\"edit\\\",(function(e){void 0!==y?a.call(\\\"_guiRestyle\\\",t,v,e,y):a.call(\\\"_guiRelayout\\\",t,v,e)})).on(\\\"cancel\\\",(function(){this.text(this.attr(\\\"data-unformatted\\\")).call(R)})).on(\\\"input\\\",(function(t){this.text(t||\\\" \\\").call(c.positionText,b.x,b.y)}))),z.classed(\\\"js-placeholder\\\",M),w}}},{\\\"../../constants/alignment\\\":697,\\\"../../constants/interactions\\\":703,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/plots\\\":839,\\\"../../registry\\\":859,\\\"../color\\\":595,\\\"../drawing\\\":617,d3:164,\\\"fast-isnumeric\\\":236}],691:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/font_attributes\\\"),i=t(\\\"../color/attributes\\\"),o=t(\\\"../../lib/extend\\\").extendFlat,a=t(\\\"../../plot_api/edit_types\\\").overrideAll,s=t(\\\"../../plots/pad_attributes\\\"),l=t(\\\"../../plot_api/plot_template\\\").templatedArray,u=l(\\\"button\\\",{visible:{valType:\\\"boolean\\\"},method:{valType:\\\"enumerated\\\",values:[\\\"restyle\\\",\\\"relayout\\\",\\\"animate\\\",\\\"update\\\",\\\"skip\\\"],dflt:\\\"restyle\\\"},args:{valType:\\\"info_array\\\",freeLength:!0,items:[{valType:\\\"any\\\"},{valType:\\\"any\\\"},{valType:\\\"any\\\"}]},args2:{valType:\\\"info_array\\\",freeLength:!0,items:[{valType:\\\"any\\\"},{valType:\\\"any\\\"},{valType:\\\"any\\\"}]},label:{valType:\\\"string\\\",dflt:\\\"\\\"},execute:{valType:\\\"boolean\\\",dflt:!0}});e.exports=a(l(\\\"updatemenu\\\",{_arrayAttrRegexps:[/^updatemenus\\\\[(0|[1-9][0-9]+)\\\\]\\\\.buttons/],visible:{valType:\\\"boolean\\\"},type:{valType:\\\"enumerated\\\",values:[\\\"dropdown\\\",\\\"buttons\\\"],dflt:\\\"dropdown\\\"},direction:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"right\\\",\\\"up\\\",\\\"down\\\"],dflt:\\\"down\\\"},active:{valType:\\\"integer\\\",min:-1,dflt:0},showactive:{valType:\\\"boolean\\\",dflt:!0},buttons:u,x:{valType:\\\"number\\\",min:-2,max:3,dflt:-.05},xanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"left\\\",\\\"center\\\",\\\"right\\\"],dflt:\\\"right\\\"},y:{valType:\\\"number\\\",min:-2,max:3,dflt:1},yanchor:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],dflt:\\\"top\\\"},pad:o(s({editType:\\\"arraydraw\\\"}),{}),font:r({}),bgcolor:{valType:\\\"color\\\"},bordercolor:{valType:\\\"color\\\",dflt:i.borderLine},borderwidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"arraydraw\\\"}}),\\\"arraydraw\\\",\\\"from-root\\\")},{\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/font_attributes\\\":804,\\\"../../plots/pad_attributes\\\":838,\\\"../color/attributes\\\":594}],692:[function(t,e,n){\\\"use strict\\\";e.exports={name:\\\"updatemenus\\\",containerClassName:\\\"updatemenu-container\\\",headerGroupClassName:\\\"updatemenu-header-group\\\",headerClassName:\\\"updatemenu-header\\\",headerArrowClassName:\\\"updatemenu-header-arrow\\\",dropdownButtonGroupClassName:\\\"updatemenu-dropdown-button-group\\\",dropdownButtonClassName:\\\"updatemenu-dropdown-button\\\",buttonClassName:\\\"updatemenu-button\\\",itemRectClassName:\\\"updatemenu-item-rect\\\",itemTextClassName:\\\"updatemenu-item-text\\\",menuIndexAttrName:\\\"updatemenu-active-index\\\",autoMarginIdRoot:\\\"updatemenu-\\\",blankHeaderOpts:{label:\\\" \\\"},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:\\\"#F4FAFF\\\",hoverColor:\\\"#F4FAFF\\\",arrowSymbol:{left:\\\"◄\\\",right:\\\"►\\\",up:\\\"▲\\\",down:\\\"▼\\\"}}},{}],693:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/array_container_defaults\\\"),o=t(\\\"./attributes\\\"),a=t(\\\"./constants\\\").name,s=o.buttons;function l(t,e,n){function a(n,i){return r.coerce(t,e,o,n,i)}a(\\\"visible\\\",i(t,e,{name:\\\"buttons\\\",handleItemDefaults:u}).length>0)&&(a(\\\"active\\\"),a(\\\"direction\\\"),a(\\\"type\\\"),a(\\\"showactive\\\"),a(\\\"x\\\"),a(\\\"y\\\"),r.noneOrAll(t,e,[\\\"x\\\",\\\"y\\\"]),a(\\\"xanchor\\\"),a(\\\"yanchor\\\"),a(\\\"pad.t\\\"),a(\\\"pad.r\\\"),a(\\\"pad.b\\\"),a(\\\"pad.l\\\"),r.coerceFont(a,\\\"font\\\",n.font),a(\\\"bgcolor\\\",n.paper_bgcolor),a(\\\"bordercolor\\\"),a(\\\"borderwidth\\\"))}function u(t,e){function n(n,i){return r.coerce(t,e,s,n,i)}n(\\\"visible\\\",\\\"skip\\\"===t.method||Array.isArray(t.args))&&(n(\\\"method\\\"),n(\\\"args\\\"),n(\\\"args2\\\"),n(\\\"label\\\"),n(\\\"execute\\\"))}e.exports=function(t,e){i(t,e,{name:a,handleItemDefaults:l})}},{\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"./attributes\\\":691,\\\"./constants\\\":692}],694:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../plots/plots\\\"),o=t(\\\"../color\\\"),a=t(\\\"../drawing\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../../lib/svg_text_utils\\\"),u=t(\\\"../../plot_api/plot_template\\\").arrayEditor,c=t(\\\"../../constants/alignment\\\").LINE_SPACING,h=t(\\\"./constants\\\"),p=t(\\\"./scrollbox\\\");function f(t){return t._index}function d(t,e){return+t.attr(h.menuIndexAttrName)===e._index}function m(t,e,n,r,i,o,a,s){e.active=a,u(t.layout,h.name,e).applyUpdate(\\\"active\\\",a),\\\"buttons\\\"===e.type?g(t,r,null,null,e):\\\"dropdown\\\"===e.type&&(i.attr(h.menuIndexAttrName,\\\"-1\\\"),v(t,r,i,o,e),s||g(t,r,i,o,e))}function v(t,e,n,r,i){var o=s.ensureSingle(e,\\\"g\\\",h.headerClassName,(function(t){t.style(\\\"pointer-events\\\",\\\"all\\\")})),l=i._dims,u=i.active,c=i.buttons[u]||h.blankHeaderOpts,p={y:i.pad.t,yPad:0,x:i.pad.l,xPad:0,index:0},f={width:l.headerWidth,height:l.headerHeight};o.call(y,i,c,t).call(E,i,p,f),s.ensureSingle(e,\\\"text\\\",h.headerArrowClassName,(function(t){t.classed(\\\"user-select-none\\\",!0).attr(\\\"text-anchor\\\",\\\"end\\\").call(a.font,i.font).text(h.arrowSymbol[i.direction])})).attr({x:l.headerWidth-h.arrowOffsetX+i.pad.l,y:l.headerHeight/2+h.textOffsetY+i.pad.t}),o.on(\\\"click\\\",(function(){n.call(T,String(d(n,i)?-1:i._index)),g(t,e,n,r,i)})),o.on(\\\"mouseover\\\",(function(){o.call(w)})),o.on(\\\"mouseout\\\",(function(){o.call(A,i)})),a.setTranslate(e,l.lx,l.ly)}function g(t,e,n,o,a){n||(n=e).attr(\\\"pointer-events\\\",\\\"all\\\");var l=function(t){return-1==+t.attr(h.menuIndexAttrName)}(n)&&\\\"buttons\\\"!==a.type?[]:a.buttons,u=\\\"dropdown\\\"===a.type?h.dropdownButtonClassName:h.buttonClassName,c=n.selectAll(\\\"g.\\\"+u).data(s.filterVisible(l)),p=c.enter().append(\\\"g\\\").classed(u,!0),f=c.exit();\\\"dropdown\\\"===a.type?(p.attr(\\\"opacity\\\",\\\"0\\\").transition().attr(\\\"opacity\\\",\\\"1\\\"),f.transition().attr(\\\"opacity\\\",\\\"0\\\").remove()):f.remove();var d=0,v=0,g=a._dims,_=-1!==[\\\"up\\\",\\\"down\\\"].indexOf(a.direction);\\\"dropdown\\\"===a.type&&(_?v=g.headerHeight+h.gapButtonHeader:d=g.headerWidth+h.gapButtonHeader),\\\"dropdown\\\"===a.type&&\\\"up\\\"===a.direction&&(v=-h.gapButtonHeader+h.gapButton-g.openHeight),\\\"dropdown\\\"===a.type&&\\\"left\\\"===a.direction&&(d=-h.gapButtonHeader+h.gapButton-g.openWidth);var b={x:g.lx+d+a.pad.l,y:g.ly+v+a.pad.t,yPad:h.gapButton,xPad:h.gapButton,index:0},C={l:b.x+a.borderwidth,t:b.y+a.borderwidth};c.each((function(s,l){var u=r.select(this);u.call(y,a,s,t).call(E,a,b),u.on(\\\"click\\\",(function(){r.event.defaultPrevented||(s.execute&&(s.args2&&a.active===l?(m(t,a,0,e,n,o,-1),i.executeAPICommand(t,s.method,s.args2)):(m(t,a,0,e,n,o,l),i.executeAPICommand(t,s.method,s.args))),t.emit(\\\"plotly_buttonclicked\\\",{menu:a,button:s,active:a.active}))})),u.on(\\\"mouseover\\\",(function(){u.call(w)})),u.on(\\\"mouseout\\\",(function(){u.call(A,a),c.call(x,a)}))})),c.call(x,a),_?(C.w=Math.max(g.openWidth,g.headerWidth),C.h=b.y-C.t):(C.w=b.x-C.l,C.h=Math.max(g.openHeight,g.headerHeight)),C.direction=a.direction,o&&(c.size()?function(t,e,n,r,i,o){var a,s,l,u=i.direction,c=\\\"up\\\"===u||\\\"down\\\"===u,p=i._dims,f=i.active;if(c)for(s=0,l=0;l<f;l++)s+=p.heights[l]+h.gapButton;else for(a=0,l=0;l<f;l++)a+=p.widths[l]+h.gapButton;r.enable(o,a,s),r.hbar&&r.hbar.attr(\\\"opacity\\\",\\\"0\\\").transition().attr(\\\"opacity\\\",\\\"1\\\"),r.vbar&&r.vbar.attr(\\\"opacity\\\",\\\"0\\\").transition().attr(\\\"opacity\\\",\\\"1\\\")}(0,0,0,o,a,C):function(t){var e=!!t.hbar,n=!!t.vbar;e&&t.hbar.transition().attr(\\\"opacity\\\",\\\"0\\\").each(\\\"end\\\",(function(){e=!1,n||t.disable()})),n&&t.vbar.transition().attr(\\\"opacity\\\",\\\"0\\\").each(\\\"end\\\",(function(){n=!1,e||t.disable()}))}(o))}function y(t,e,n,r){t.call(_,e).call(b,e,n,r)}function _(t,e){s.ensureSingle(t,\\\"rect\\\",h.itemRectClassName,(function(t){t.attr({rx:h.rx,ry:h.ry,\\\"shape-rendering\\\":\\\"crispEdges\\\"})})).call(o.stroke,e.bordercolor).call(o.fill,e.bgcolor).style(\\\"stroke-width\\\",e.borderwidth+\\\"px\\\")}function b(t,e,n,r){var i=s.ensureSingle(t,\\\"text\\\",h.itemTextClassName,(function(t){t.classed(\\\"user-select-none\\\",!0).attr({\\\"text-anchor\\\":\\\"start\\\",\\\"data-notex\\\":1})})),o=n.label,u=r._fullLayout._meta;u&&(o=s.templateString(o,u)),i.call(a.font,e.font).text(o).call(l.convertToTspans,r)}function x(t,e){var n=e.active;t.each((function(t,i){var a=r.select(this);i===n&&e.showactive&&a.select(\\\"rect.\\\"+h.itemRectClassName).call(o.fill,h.activeColor)}))}function w(t){t.select(\\\"rect.\\\"+h.itemRectClassName).call(o.fill,h.hoverColor)}function A(t,e){t.select(\\\"rect.\\\"+h.itemRectClassName).call(o.fill,e.bgcolor)}function C(t,e){var n=e._dims={width1:0,height1:0,heights:[],widths:[],totalWidth:0,totalHeight:0,openWidth:0,openHeight:0,lx:0,ly:0},o=a.tester.selectAll(\\\"g.\\\"+h.dropdownButtonClassName).data(s.filterVisible(e.buttons));o.enter().append(\\\"g\\\").classed(h.dropdownButtonClassName,!0);var u=-1!==[\\\"up\\\",\\\"down\\\"].indexOf(e.direction);o.each((function(i,o){var s=r.select(this);s.call(y,e,i,t);var p=s.select(\\\".\\\"+h.itemTextClassName),f=p.node()&&a.bBox(p.node()).width,d=Math.max(f+h.textPadX,h.minWidth),m=e.font.size*c,v=l.lineCount(p),g=Math.max(m*v,h.minHeight)+h.textOffsetY;g=Math.ceil(g),d=Math.ceil(d),n.widths[o]=d,n.heights[o]=g,n.height1=Math.max(n.height1,g),n.width1=Math.max(n.width1,d),u?(n.totalWidth=Math.max(n.totalWidth,d),n.openWidth=n.totalWidth,n.totalHeight+=g+h.gapButton,n.openHeight+=g+h.gapButton):(n.totalWidth+=d+h.gapButton,n.openWidth+=d+h.gapButton,n.totalHeight=Math.max(n.totalHeight,g),n.openHeight=n.totalHeight)})),u?n.totalHeight-=h.gapButton:n.totalWidth-=h.gapButton,n.headerWidth=n.width1+h.arrowPadX,n.headerHeight=n.height1,\\\"dropdown\\\"===e.type&&(u?(n.width1+=h.arrowPadX,n.totalHeight=n.height1):n.totalWidth=n.width1,n.totalWidth+=h.arrowPadX),o.remove();var p=n.totalWidth+e.pad.l+e.pad.r,f=n.totalHeight+e.pad.t+e.pad.b,d=t._fullLayout._size;n.lx=d.l+d.w*e.x,n.ly=d.t+d.h*(1-e.y);var m=\\\"left\\\";s.isRightAnchor(e)&&(n.lx-=p,m=\\\"right\\\"),s.isCenterAnchor(e)&&(n.lx-=p/2,m=\\\"center\\\");var v=\\\"top\\\";s.isBottomAnchor(e)&&(n.ly-=f,v=\\\"bottom\\\"),s.isMiddleAnchor(e)&&(n.ly-=f/2,v=\\\"middle\\\"),n.totalWidth=Math.ceil(n.totalWidth),n.totalHeight=Math.ceil(n.totalHeight),n.lx=Math.round(n.lx),n.ly=Math.round(n.ly),i.autoMargin(t,M(e),{x:e.x,y:e.y,l:p*({right:1,center:.5}[m]||0),r:p*({left:1,center:.5}[m]||0),b:f*({top:1,middle:.5}[v]||0),t:f*({bottom:1,middle:.5}[v]||0)})}function M(t){return h.autoMarginIdRoot+t._index}function E(t,e,n,r){r=r||{};var i=t.select(\\\".\\\"+h.itemRectClassName),o=t.select(\\\".\\\"+h.itemTextClassName),s=e.borderwidth,u=n.index,p=e._dims;a.setTranslate(t,s+n.x,s+n.y);var f=-1!==[\\\"up\\\",\\\"down\\\"].indexOf(e.direction),d=r.height||(f?p.heights[u]:p.height1);i.attr({x:0,y:0,width:r.width||(f?p.width1:p.widths[u]),height:d});var m=e.font.size*c,v=(l.lineCount(o)-1)*m/2;l.positionText(o,h.textOffsetX,d/2-v+h.textOffsetY),f?n.y+=p.heights[u]+n.yPad:n.x+=p.widths[u]+n.xPad,n.index++}function T(t,e){t.attr(h.menuIndexAttrName,e||\\\"-1\\\").selectAll(\\\"g.\\\"+h.dropdownButtonClassName).remove()}e.exports=function(t){var e=t._fullLayout,n=s.filterVisible(e[h.name]);function o(e){i.autoMargin(t,M(e))}var a=e._menulayer.selectAll(\\\"g.\\\"+h.containerClassName).data(n.length>0?[0]:[]);if(a.enter().append(\\\"g\\\").classed(h.containerClassName,!0).style(\\\"cursor\\\",\\\"pointer\\\"),a.exit().each((function(){r.select(this).selectAll(\\\"g.\\\"+h.headerGroupClassName).each(o)})).remove(),0!==n.length){var l=a.selectAll(\\\"g.\\\"+h.headerGroupClassName).data(n,f);l.enter().append(\\\"g\\\").classed(h.headerGroupClassName,!0);for(var u=s.ensureSingle(a,\\\"g\\\",h.dropdownButtonGroupClassName,(function(t){t.style(\\\"pointer-events\\\",\\\"all\\\")})),c=0;c<n.length;c++){var y=n[c];C(t,y)}var _=\\\"updatemenus\\\"+e._uid,b=new p(t,u,_);l.enter().size()&&(u.node().parentNode.appendChild(u.node()),u.call(T)),l.exit().each((function(t){u.call(T),o(t)})).remove(),l.each((function(e){var n=r.select(this),o=\\\"dropdown\\\"===e.type?u:null;i.manageCommandObserver(t,e,e.buttons,(function(r){m(t,e,e.buttons[r.index],n,o,b,r.index,!0)})),\\\"dropdown\\\"===e.type?(v(t,n,u,b,e),d(u,e)&&g(t,n,u,b,e)):g(t,n,null,null,e)}))}}},{\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/plots\\\":839,\\\"../color\\\":595,\\\"../drawing\\\":617,\\\"./constants\\\":692,\\\"./scrollbox\\\":696,d3:164}],695:[function(t,e,n){arguments[4][689][0].apply(n,arguments)},{\\\"./attributes\\\":691,\\\"./constants\\\":692,\\\"./defaults\\\":693,\\\"./draw\\\":694,dup:689}],696:[function(t,e,n){\\\"use strict\\\";e.exports=s;var r=t(\\\"d3\\\"),i=t(\\\"../color\\\"),o=t(\\\"../drawing\\\"),a=t(\\\"../../lib\\\");function s(t,e,n){this.gd=t,this.container=e,this.id=n,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll(\\\"rect.scrollbox-bg\\\").data([0]),this.bg.exit().on(\\\".drag\\\",null).on(\\\"wheel\\\",null).remove(),this.bg.enter().append(\\\"rect\\\").classed(\\\"scrollbox-bg\\\",!0).style(\\\"pointer-events\\\",\\\"all\\\").attr({opacity:0,x:0,y:0,width:0,height:0})}s.barWidth=2,s.barLength=20,s.barRadius=2,s.barPad=1,s.barColor=\\\"#808BA4\\\",s.prototype.enable=function(t,e,n){var a=this.gd._fullLayout,l=a.width,u=a.height;this.position=t;var c,h,p,f,d=this.position.l,m=this.position.w,v=this.position.t,g=this.position.h,y=this.position.direction,_=\\\"down\\\"===y,b=\\\"left\\\"===y,x=\\\"up\\\"===y,w=m,A=g;_||b||\\\"right\\\"===y||x||(this.position.direction=\\\"down\\\",_=!0),_||x?(h=(c=d)+w,_?(p=v,A=(f=Math.min(p+A,u))-p):A=(f=v+A)-(p=Math.max(f-A,0))):(f=(p=v)+A,b?w=(h=d+w)-(c=Math.max(h-w,0)):(c=d,w=(h=Math.min(c+w,l))-c)),this._box={l:c,t:p,w,h:A};var C=m>w,M=s.barLength+2*s.barPad,E=s.barWidth+2*s.barPad,T=d,S=v+g;S+E>u&&(S=u-E);var k=this.container.selectAll(\\\"rect.scrollbar-horizontal\\\").data(C?[0]:[]);k.exit().on(\\\".drag\\\",null).remove(),k.enter().append(\\\"rect\\\").classed(\\\"scrollbar-horizontal\\\",!0).call(i.fill,s.barColor),C?(this.hbar=k.attr({rx:s.barRadius,ry:s.barRadius,x:T,y:S,width:M,height:E}),this._hbarXMin=T+M/2,this._hbarTranslateMax=w-M):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var O=g>A,I=s.barWidth+2*s.barPad,L=s.barLength+2*s.barPad,P=d+m,z=v;P+I>l&&(P=l-I);var R=this.container.selectAll(\\\"rect.scrollbar-vertical\\\").data(O?[0]:[]);R.exit().on(\\\".drag\\\",null).remove(),R.enter().append(\\\"rect\\\").classed(\\\"scrollbar-vertical\\\",!0).call(i.fill,s.barColor),O?(this.vbar=R.attr({rx:s.barRadius,ry:s.barRadius,x:P,y:z,width:I,height:L}),this._vbarYMin=z+L/2,this._vbarTranslateMax=A-L):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var D=this.id,$=c-.5,B=O?h+I+.5:h+.5,N=p-.5,F=C?f+E+.5:f+.5,j=a._topdefs.selectAll(\\\"#\\\"+D).data(C||O?[0]:[]);if(j.exit().remove(),j.enter().append(\\\"clipPath\\\").attr(\\\"id\\\",D).append(\\\"rect\\\"),C||O?(this._clipRect=j.select(\\\"rect\\\").attr({x:Math.floor($),y:Math.floor(N),width:Math.ceil(B)-Math.floor($),height:Math.ceil(F)-Math.floor(N)}),this.container.call(o.setClipUrl,D,this.gd),this.bg.attr({x:d,y:v,width:m,height:g})):(this.bg.attr({width:0,height:0}),this.container.on(\\\"wheel\\\",null).on(\\\".drag\\\",null).call(o.setClipUrl,null),delete this._clipRect),C||O){var U=r.behavior.drag().on(\\\"dragstart\\\",(function(){r.event.sourceEvent.preventDefault()})).on(\\\"drag\\\",this._onBoxDrag.bind(this));this.container.on(\\\"wheel\\\",null).on(\\\"wheel\\\",this._onBoxWheel.bind(this)).on(\\\".drag\\\",null).call(U);var q=r.behavior.drag().on(\\\"dragstart\\\",(function(){r.event.sourceEvent.preventDefault(),r.event.sourceEvent.stopPropagation()})).on(\\\"drag\\\",this._onBarDrag.bind(this));C&&this.hbar.on(\\\".drag\\\",null).call(q),O&&this.vbar.on(\\\".drag\\\",null).call(q)}this.setTranslate(e,n)},s.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on(\\\"wheel\\\",null).on(\\\".drag\\\",null).call(o.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(\\\".drag\\\",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(\\\".drag\\\",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},s.prototype._onBoxDrag=function(){var t=this.translateX,e=this.translateY;this.hbar&&(t-=r.event.dx),this.vbar&&(e-=r.event.dy),this.setTranslate(t,e)},s.prototype._onBoxWheel=function(){var t=this.translateX,e=this.translateY;this.hbar&&(t+=r.event.deltaY),this.vbar&&(e+=r.event.deltaY),this.setTranslate(t,e)},s.prototype._onBarDrag=function(){var t=this.translateX,e=this.translateY;if(this.hbar){var n=t+this._hbarXMin,i=n+this._hbarTranslateMax;t=(a.constrain(r.event.x,n,i)-n)/(i-n)*(this.position.w-this._box.w)}if(this.vbar){var o=e+this._vbarYMin,s=o+this._vbarTranslateMax;e=(a.constrain(r.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(t,e)},s.prototype.setTranslate=function(t,e){var n=this.position.w-this._box.w,r=this.position.h-this._box.h;if(t=a.constrain(t||0,0,n),e=a.constrain(e||0,0,r),this.translateX=t,this.translateY=e,this.container.call(o.setTranslate,this._box.l-this.position.l-t,this._box.t-this.position.t-e),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+t-.5),y:Math.floor(this.position.t+e-.5)}),this.hbar){var i=t/n;this.hbar.call(o.setTranslate,t+i*this._hbarTranslateMax,e)}if(this.vbar){var s=e/r;this.vbar.call(o.setTranslate,t,e+s*this._vbarTranslateMax)}}},{\\\"../../lib\\\":728,\\\"../color\\\":595,\\\"../drawing\\\":617,d3:164}],697:[function(t,e,n){\\\"use strict\\\";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:\\\"right\\\",right:\\\"left\\\",top:\\\"bottom\\\",bottom:\\\"top\\\"}}},{}],698:[function(t,e,n){\\\"use strict\\\";e.exports={INCREASING:{COLOR:\\\"#3D9970\\\",SYMBOL:\\\"▲\\\"},DECREASING:{COLOR:\\\"#FF4136\\\",SYMBOL:\\\"▼\\\"}}},{}],699:[function(t,e,n){\\\"use strict\\\";e.exports={FORMAT_LINK:\\\"https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format\\\",DATE_FORMAT_LINK:\\\"https://github.com/d3/d3-3.x-api-reference/blob/master/Time-Formatting.md#format\\\"}},{}],700:[function(t,e,n){\\\"use strict\\\";e.exports={COMPARISON_OPS:[\\\"=\\\",\\\"!=\\\",\\\"<\\\",\\\">=\\\",\\\">\\\",\\\"<=\\\"],COMPARISON_OPS2:[\\\"=\\\",\\\"<\\\",\\\">=\\\",\\\">\\\",\\\"<=\\\"],INTERVAL_OPS:[\\\"[]\\\",\\\"()\\\",\\\"[)\\\",\\\"(]\\\",\\\"][\\\",\\\")(\\\",\\\"](\\\",\\\")[\\\"],SET_OPS:[\\\"{}\\\",\\\"}{\\\"],CONSTRAINT_REDUCTION:{\\\"=\\\":\\\"=\\\",\\\"<\\\":\\\"<\\\",\\\"<=\\\":\\\"<\\\",\\\">\\\":\\\">\\\",\\\">=\\\":\\\">\\\",\\\"[]\\\":\\\"[]\\\",\\\"()\\\":\\\"[]\\\",\\\"[)\\\":\\\"[]\\\",\\\"(]\\\":\\\"[]\\\",\\\"][\\\":\\\"][\\\",\\\")(\\\":\\\"][\\\",\\\"](\\\":\\\"][\\\",\\\")[\\\":\\\"][\\\"}}},{}],701:[function(t,e,n){\\\"use strict\\\";e.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},{}],702:[function(t,e,n){\\\"use strict\\\";e.exports={circle:\\\"●\\\",\\\"circle-open\\\":\\\"○\\\",square:\\\"■\\\",\\\"square-open\\\":\\\"□\\\",diamond:\\\"◆\\\",\\\"diamond-open\\\":\\\"◇\\\",cross:\\\"+\\\",x:\\\"❌\\\"}},{}],703:[function(t,e,n){\\\"use strict\\\";e.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},{}],704:[function(t,e,n){\\\"use strict\\\";e.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEAVGYEAR:315576e5,ONEAVGMONTH:26298e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:\\\"\\\"}},{}],705:[function(t,e,n){\\\"use strict\\\";n.xmlns=\\\"http://www.w3.org/2000/xmlns/\\\",n.svg=\\\"http://www.w3.org/2000/svg\\\",n.xlink=\\\"http://www.w3.org/1999/xlink\\\",n.svgAttrs={xmlns:n.svg,\\\"xmlns:xlink\\\":n.xlink}},{}],706:[function(t,e,n){\\\"use strict\\\";n.version=t(\\\"./version\\\").version,t(\\\"es6-promise\\\").polyfill(),t(\\\"../build/plotcss\\\"),t(\\\"./fonts/mathjax_config\\\")();for(var r=t(\\\"./registry\\\"),i=n.register=r.register,o=t(\\\"./plot_api\\\"),a=Object.keys(o),s=0;s<a.length;s++){var l=a[s];\\\"_\\\"!==l.charAt(0)&&(n[l]=o[l]),i({moduleType:\\\"apiMethod\\\",name:l,fn:o[l]})}i(t(\\\"./traces/scatter\\\")),i([t(\\\"./components/legend\\\"),t(\\\"./components/fx\\\"),t(\\\"./components/annotations\\\"),t(\\\"./components/annotations3d\\\"),t(\\\"./components/shapes\\\"),t(\\\"./components/images\\\"),t(\\\"./components/updatemenus\\\"),t(\\\"./components/sliders\\\"),t(\\\"./components/rangeslider\\\"),t(\\\"./components/rangeselector\\\"),t(\\\"./components/grid\\\"),t(\\\"./components/errorbars\\\"),t(\\\"./components/colorscale\\\"),t(\\\"./components/colorbar\\\")]),i([t(\\\"./locale-en\\\"),t(\\\"./locale-en-us\\\")]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(i(window.PlotlyLocales),delete window.PlotlyLocales),n.Icons=t(\\\"./fonts/ploticon\\\"),n.Plots=t(\\\"./plots/plots\\\"),n.Fx=t(\\\"./components/fx\\\"),n.Snapshot=t(\\\"./snapshot\\\"),n.PlotSchema=t(\\\"./plot_api/plot_schema\\\"),n.Queue=t(\\\"./lib/queue\\\"),n.d3=t(\\\"d3\\\")},{\\\"../build/plotcss\\\":1,\\\"./components/annotations\\\":586,\\\"./components/annotations3d\\\":591,\\\"./components/colorbar\\\":601,\\\"./components/colorscale\\\":607,\\\"./components/errorbars\\\":623,\\\"./components/fx\\\":635,\\\"./components/grid\\\":639,\\\"./components/images\\\":644,\\\"./components/legend\\\":652,\\\"./components/rangeselector\\\":663,\\\"./components/rangeslider\\\":670,\\\"./components/shapes\\\":684,\\\"./components/sliders\\\":689,\\\"./components/updatemenus\\\":695,\\\"./fonts/mathjax_config\\\":707,\\\"./fonts/ploticon\\\":708,\\\"./lib/queue\\\":743,\\\"./locale-en\\\":757,\\\"./locale-en-us\\\":756,\\\"./plot_api\\\":761,\\\"./plot_api/plot_schema\\\":765,\\\"./plots/plots\\\":839,\\\"./registry\\\":859,\\\"./snapshot\\\":864,\\\"./traces/scatter\\\":1146,\\\"./version\\\":1316,d3:164,\\\"es6-promise\\\":219}],707:[function(t,e,n){\\\"use strict\\\";e.exports=function(){\\\"undefined\\\"!=typeof MathJax&&\\\"local\\\"!==(window.PlotlyConfig||{}).MathJaxConfig&&(MathJax.Hub.Config({messageStyle:\\\"none\\\",skipStartupTypeset:!0,displayAlign:\\\"left\\\",tex2jax:{inlineMath:[[\\\"$\\\",\\\"$\\\"],[\\\"\\\\\\\\(\\\",\\\"\\\\\\\\)\\\"]]}}),MathJax.Hub.Configured())}},{}],708:[function(t,e,n){\\\"use strict\\\";e.exports={undo:{width:857.1,height:1e3,path:\\\"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},home:{width:928.6,height:1e3,path:\\\"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},\\\"camera-retro\\\":{width:1e3,height:1e3,path:\\\"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},zoombox:{width:1e3,height:1e3,path:\\\"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},pan:{width:1e3,height:1e3,path:\\\"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},zoom_plus:{width:875,height:1e3,path:\\\"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},zoom_minus:{width:875,height:1e3,path:\\\"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},autoscale:{width:1e3,height:1e3,path:\\\"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},tooltip_basic:{width:1500,height:1e3,path:\\\"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},tooltip_compare:{width:1125,height:1e3,path:\\\"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},plotlylogo:{width:1542,height:1e3,path:\\\"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},\\\"z-axis\\\":{width:1e3,height:1e3,path:\\\"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},\\\"3d_rotate\\\":{width:1e3,height:1e3,path:\\\"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},camera:{width:1e3,height:1e3,path:\\\"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},movie:{width:1e3,height:1e3,path:\\\"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},question:{width:857.1,height:1e3,path:\\\"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},disk:{width:857.1,height:1e3,path:\\\"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},drawopenpath:{width:70,height:70,path:\\\"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z\\\",transform:\\\"matrix(1 0 0 1 -15 -15)\\\"},drawclosedpath:{width:90,height:90,path:\\\"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z\\\",transform:\\\"matrix(1 0 0 1 -5 -5)\\\"},lasso:{width:1031,height:1e3,path:\\\"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},selectbox:{width:1e3,height:1e3,path:\\\"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z\\\",transform:\\\"matrix(1 0 0 -1 0 850)\\\"},drawline:{width:70,height:70,path:\\\"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z\\\",transform:\\\"matrix(1 0 0 1 -15 -15)\\\"},drawrect:{width:80,height:80,path:\\\"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z\\\",transform:\\\"matrix(1 0 0 1 -10 -10)\\\"},drawcircle:{width:80,height:80,path:\\\"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z\\\",transform:\\\"matrix(1 0 0 1 -10 -10)\\\"},eraseshape:{width:80,height:80,path:\\\"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z\\\",transform:\\\"matrix(1 0 0 1 -10 -10)\\\"},spikeline:{width:1e3,height:1e3,path:\\\"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z\\\",transform:\\\"matrix(1.5 0 0 -1.5 0 850)\\\"},pencil:{width:1792,height:1792,path:\\\"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z\\\",transform:\\\"matrix(1 0 0 1 0 1)\\\"},newplotlylogo:{name:\\\"newplotlylogo\\\",svg:\\\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'><defs><style>.cls-1 {fill: #3f4f75;} .cls-2 {fill: #80cfbe;} .cls-3 {fill: #fff;}</style></defs><title>plotly-logomark</title><g id='symbol'><rect class='cls-1' width='132' height='132' rx='6' ry='6'/><circle class='cls-2' cx='78' cy='54' r='6'/><circle class='cls-2' cx='102' cy='30' r='6'/><circle class='cls-2' cx='78' cy='30' r='6'/><circle class='cls-2' cx='54' cy='30' r='6'/><circle class='cls-2' cx='30' cy='30' r='6'/><circle class='cls-2' cx='30' cy='54' r='6'/><path class='cls-3' d='M30,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,30,72Z'/><path class='cls-3' d='M78,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,78,72Z'/><path class='cls-3' d='M54,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,54,48Z'/><path class='cls-3' d='M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z'/></g></svg>\\\"}}},{}],709:[function(t,e,n){\\\"use strict\\\";n.isLeftAnchor=function(t){return\\\"left\\\"===t.xanchor||\\\"auto\\\"===t.xanchor&&t.x<=1/3},n.isCenterAnchor=function(t){return\\\"center\\\"===t.xanchor||\\\"auto\\\"===t.xanchor&&t.x>1/3&&t.x<2/3},n.isRightAnchor=function(t){return\\\"right\\\"===t.xanchor||\\\"auto\\\"===t.xanchor&&t.x>=2/3},n.isTopAnchor=function(t){return\\\"top\\\"===t.yanchor||\\\"auto\\\"===t.yanchor&&t.y>=2/3},n.isMiddleAnchor=function(t){return\\\"middle\\\"===t.yanchor||\\\"auto\\\"===t.yanchor&&t.y>1/3&&t.y<2/3},n.isBottomAnchor=function(t){return\\\"bottom\\\"===t.yanchor||\\\"auto\\\"===t.yanchor&&t.y<=1/3}},{}],710:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./mod\\\"),i=r.mod,o=r.modHalf,a=Math.PI,s=2*a;function l(t){return Math.abs(t[1]-t[0])>s-1e-14}function u(t,e){return o(e-t,s)}function c(t,e){if(l(e))return!0;var n,r;e[0]<e[1]?(n=e[0],r=e[1]):(n=e[1],r=e[0]),(n=i(n,s))>(r=i(r,s))&&(r+=s);var o=i(t,s),a=o+s;return o>=n&&o<=r||a>=n&&a<=r}function h(t,e,n,r,i,o,u){i=i||0,o=o||0;var c,h,p,f,d,m=l([n,r]);function v(t,e){return[t*Math.cos(e)+i,o-t*Math.sin(e)]}m?(c=0,h=a,p=s):n<r?(c=n,p=r):(c=r,p=n),t<e?(f=t,d=e):(f=e,d=t);var g,y=Math.abs(p-c)<=a?0:1;function _(t,e,n){return\\\"A\\\"+[t,t]+\\\" \\\"+[0,y,n]+\\\" \\\"+v(t,e)}return m?g=null===f?\\\"M\\\"+v(d,c)+_(d,h,0)+_(d,p,0)+\\\"Z\\\":\\\"M\\\"+v(f,c)+_(f,h,0)+_(f,p,0)+\\\"ZM\\\"+v(d,c)+_(d,h,1)+_(d,p,1)+\\\"Z\\\":null===f?(g=\\\"M\\\"+v(d,c)+_(d,p,0),u&&(g+=\\\"L0,0Z\\\")):g=\\\"M\\\"+v(f,c)+\\\"L\\\"+v(d,c)+_(d,p,0)+\\\"L\\\"+v(f,p)+_(f,c,1)+\\\"Z\\\",g}e.exports={deg2rad:function(t){return t/180*a},rad2deg:function(t){return t/a*180},angleDelta:u,angleDist:function(t,e){return Math.abs(u(t,e))},isFullCircle:l,isAngleInsideSector:c,isPtInsideSector:function(t,e,n,r){return!!c(e,r)&&(n[0]<n[1]?(i=n[0],o=n[1]):(i=n[1],o=n[0]),t>=i&&t<=o);var i,o},pathArc:function(t,e,n,r,i){return h(null,t,e,n,r,i,0)},pathSector:function(t,e,n,r,i){return h(null,t,e,n,r,i,1)},pathAnnulus:function(t,e,n,r,i,o){return h(t,e,n,r,i,o,1)}}},{\\\"./mod\\\":735}],711:[function(t,e,n){\\\"use strict\\\";var r=Array.isArray,i=\\\"undefined\\\"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},o=\\\"undefined\\\"==typeof DataView?function(){}:DataView;function a(t){return i.isView(t)&&!(t instanceof o)}function s(t){return r(t)||a(t)}function l(t,e,n){if(s(t)){if(s(t[0])){for(var r=n,i=0;i<t.length;i++)r=e(r,t[i].length);return r}return t.length}return 0}n.isTypedArray=a,n.isArrayOrTypedArray=s,n.isArray1D=function(t){return!s(t[0])},n.ensureArray=function(t,e){return r(t)||(t=[]),t.length=e,t},n.concat=function(){var t,e,n,i,o,a,s,l,u=[],c=!0,h=0;for(n=0;n<arguments.length;n++)(a=(i=arguments[n]).length)&&(e?u.push(i):(e=i,o=a),r(i)?t=!1:(c=!1,h?t!==i.constructor&&(t=!1):t=i.constructor),h+=a);if(!h)return[];if(!u.length)return e;if(c)return e.concat.apply(e,u);if(t){for((s=new t(h)).set(e),n=0;n<u.length;n++)i=u[n],s.set(i,o),o+=i.length;return s}for(s=new Array(h),l=0;l<e.length;l++)s[l]=e[l];for(n=0;n<u.length;n++){for(i=u[n],l=0;l<i.length;l++)s[o+l]=i[l];o+=l}return s},n.maxRowLength=function(t){return l(t,Math.max,0)},n.minRowLength=function(t){return l(t,Math.min,1/0)}},{}],712:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../constants/numerical\\\").BADNUM,o=/^['\\\"%,$#\\\\s']+|[, ]|['\\\"%,$#\\\\s']+$/g;e.exports=function(t){return\\\"string\\\"==typeof t&&(t=t.replace(o,\\\"\\\")),r(t)?Number(t):i}},{\\\"../constants/numerical\\\":704,\\\"fast-isnumeric\\\":236}],713:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t._fullLayout;e._glcanvas&&e._glcanvas.size()&&e._glcanvas.each((function(t){t.regl&&t.regl.clear({color:!0,depth:!0})}))}},{}],714:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){t._responsiveChartHandler&&(window.removeEventListener(\\\"resize\\\",t._responsiveChartHandler),delete t._responsiveChartHandler)}},{}],715:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"../plots/attributes\\\"),a=t(\\\"../components/colorscale/scales\\\"),s=t(\\\"../constants/interactions\\\").DESELECTDIM,l=t(\\\"./nested_property\\\"),u=t(\\\"./regex\\\").counter,c=t(\\\"./mod\\\").modHalf,h=t(\\\"./array\\\").isArrayOrTypedArray;function p(t,e,r,i,o,a){var s=(a||{}).shouldValidate,u=l(r,i).get();void 0===o&&(o=u.dflt);var c=!1,p=l(t,i),d=l(e,i),m=p.get(),v=e._template;if(void 0===m&&v&&(c=void 0!==(m=l(v,i).get()),v=0),u.arrayOk&&h(m))return d.set(m),{inp:m,val:m,src:!0};var g=n.valObjectMeta[u.valType].coerceFunction;g(m,d,o,u);var y=d.get();return c=void 0!==y&&s&&f(m,u),v&&y===o&&!f(m,u)&&(g(m=l(v,i).get(),d,o,u),c=void 0!==(y=d.get())&&s&&f(m,u)),{inp:m,val:y,src:c}}function f(t,e){var r=n.valObjectMeta[e.valType];if(e.arrayOk&&h(t))return!0;if(r.validateFunction)return r.validateFunction(t,e);var i={},o=i,a={set:function(t){o=t}};return r.coerceFunction(t,a,i,e),o!==i}n.valObjectMeta={data_array:{coerceFunction:function(t,e,n){h(t)?e.set(t):void 0!==n&&e.set(n)}},enumerated:{coerceFunction:function(t,e,n,r){r.coerceNumber&&(t=+t),-1===r.values.indexOf(t)?e.set(n):e.set(t)},validateFunction:function(t,e){e.coerceNumber&&(t=+t);for(var n=e.values,r=0;r<n.length;r++){var i=String(n[r]);if(\\\"/\\\"===i.charAt(0)&&\\\"/\\\"===i.charAt(i.length-1)){if(new RegExp(i.substr(1,i.length-2)).test(t))return!0}else if(t===n[r])return!0}return!1}},boolean:{coerceFunction:function(t,e,n){!0===t||!1===t?e.set(t):e.set(n)}},number:{coerceFunction:function(t,e,n,i){!r(t)||void 0!==i.min&&t<i.min||void 0!==i.max&&t>i.max?e.set(n):e.set(+t)}},integer:{coerceFunction:function(t,e,n,i){t%1||!r(t)||void 0!==i.min&&t<i.min||void 0!==i.max&&t>i.max?e.set(n):e.set(+t)}},string:{coerceFunction:function(t,e,n,r){if(\\\"string\\\"!=typeof t){var i=\\\"number\\\"==typeof t;!0!==r.strict&&i?e.set(String(t)):e.set(n)}else r.noBlank&&!t?e.set(n):e.set(t)}},color:{coerceFunction:function(t,e,n){i(t).isValid()?e.set(t):e.set(n)}},colorlist:{coerceFunction:function(t,e,n){Array.isArray(t)&&t.length&&t.every((function(t){return i(t).isValid()}))?e.set(t):e.set(n)}},colorscale:{coerceFunction:function(t,e,n){e.set(a.get(t,n))}},angle:{coerceFunction:function(t,e,n){\\\"auto\\\"===t?e.set(\\\"auto\\\"):r(t)?e.set(c(+t,360)):e.set(n)}},subplotid:{coerceFunction:function(t,e,n,r){var i=r.regex||u(n);\\\"string\\\"==typeof t&&i.test(t)?e.set(t):e.set(n)},validateFunction:function(t,e){var n=e.dflt;return t===n||\\\"string\\\"==typeof t&&!!u(n).test(t)}},flaglist:{coerceFunction:function(t,e,n,r){if(\\\"string\\\"==typeof t)if(-1===(r.extras||[]).indexOf(t)){for(var i=t.split(\\\"+\\\"),o=0;o<i.length;){var a=i[o];-1===r.flags.indexOf(a)||i.indexOf(a)<o?i.splice(o,1):o++}i.length?e.set(i.join(\\\"+\\\")):e.set(n)}else e.set(t);else e.set(n)}},any:{coerceFunction:function(t,e,n){void 0===t?e.set(n):e.set(t)}},info_array:{coerceFunction:function(t,e,r,i){function o(t,e,r){var i,o={set:function(t){i=t}};return void 0===r&&(r=e.dflt),n.valObjectMeta[e.valType].coerceFunction(t,o,r,e),i}var a=2===i.dimensions||\\\"1-2\\\"===i.dimensions&&Array.isArray(t)&&Array.isArray(t[0]);if(Array.isArray(t)){var s,l,u,c,h,p,f=i.items,d=[],m=Array.isArray(f),v=m&&a&&Array.isArray(f[0]),g=a&&m&&!v,y=m&&!g?f.length:t.length;if(r=Array.isArray(r)?r:[],a)for(s=0;s<y;s++)for(d[s]=[],u=Array.isArray(t[s])?t[s]:[],h=g?f.length:m?f[s].length:u.length,l=0;l<h;l++)c=g?f[l]:m?f[s][l]:f,void 0!==(p=o(u[l],c,(r[s]||[])[l]))&&(d[s][l]=p);else for(s=0;s<y;s++)void 0!==(p=o(t[s],m?f[s]:f,r[s]))&&(d[s]=p);e.set(d)}else e.set(r)},validateFunction:function(t,e){if(!Array.isArray(t))return!1;var n=e.items,r=Array.isArray(n),i=2===e.dimensions;if(!e.freeLength&&t.length!==n.length)return!1;for(var o=0;o<t.length;o++)if(i){if(!Array.isArray(t[o])||!e.freeLength&&t[o].length!==n[o].length)return!1;for(var a=0;a<t[o].length;a++)if(!f(t[o][a],r?n[o][a]:n))return!1}else if(!f(t[o],r?n[o]:n))return!1;return!0}}},n.coerce=function(t,e,n,r,i){return p(t,e,n,r,i).val},n.coerce2=function(t,e,n,r,i){var o=p(t,e,n,r,i,{shouldValidate:!0});return!(!o.src||void 0===o.inp)&&o.val},n.coerceFont=function(t,e,n){var r={};return n=n||{},r.family=t(e+\\\".family\\\",n.family),r.size=t(e+\\\".size\\\",n.size),r.color=t(e+\\\".color\\\",n.color),r},n.coerceHoverinfo=function(t,e,r){var i,a=e._module.attributes,s=a.hoverinfo?a:o,l=s.hoverinfo;if(1===r._dataLength){var u=\\\"all\\\"===l.dflt?l.flags.slice():l.dflt.split(\\\"+\\\");u.splice(u.indexOf(\\\"name\\\"),1),i=u.join(\\\"+\\\")}return n.coerce(t,e,s,\\\"hoverinfo\\\",i)},n.coerceSelectionMarkerOpacity=function(t,e){if(t.marker){var n,r,i=t.marker.opacity;void 0!==i&&(h(i)||t.selected||t.unselected||(n=i,r=s*i),e(\\\"selected.marker.opacity\\\",n),e(\\\"unselected.marker.opacity\\\",r))}},n.validate=f},{\\\"../components/colorscale/scales\\\":610,\\\"../constants/interactions\\\":703,\\\"../plots/attributes\\\":773,\\\"./array\\\":711,\\\"./mod\\\":735,\\\"./nested_property\\\":736,\\\"./regex\\\":744,\\\"fast-isnumeric\\\":236,tinycolor2:528}],716:[function(t,e,n){\\\"use strict\\\";var r,i,o=t(\\\"d3\\\"),a=t(\\\"fast-isnumeric\\\"),s=t(\\\"./loggers\\\"),l=t(\\\"./mod\\\").mod,u=t(\\\"../constants/numerical\\\"),c=u.BADNUM,h=u.ONEDAY,p=u.ONEHOUR,f=u.ONEMIN,d=u.ONESEC,m=u.EPOCHJD,v=t(\\\"../registry\\\"),g=o.time.format.utc,y=/^\\\\s*(-?\\\\d\\\\d\\\\d\\\\d|\\\\d\\\\d)(-(\\\\d?\\\\d)(-(\\\\d?\\\\d)([ Tt]([01]?\\\\d|2[0-3])(:([0-5]\\\\d)(:([0-5]\\\\d(\\\\.\\\\d+)?))?(Z|z|[+\\\\-]\\\\d\\\\d:?\\\\d\\\\d)?)?)?)?)?\\\\s*$/m,_=/^\\\\s*(-?\\\\d\\\\d\\\\d\\\\d|\\\\d\\\\d)(-(\\\\d?\\\\di?)(-(\\\\d?\\\\d)([ Tt]([01]?\\\\d|2[0-3])(:([0-5]\\\\d)(:([0-5]\\\\d(\\\\.\\\\d+)?))?(Z|z|[+\\\\-]\\\\d\\\\d:?\\\\d\\\\d)?)?)?)?)?\\\\s*$/m,b=(new Date).getFullYear()-70;function x(t){return t&&v.componentsRegistry.calendars&&\\\"string\\\"==typeof t&&\\\"gregorian\\\"!==t}function w(t,e){return String(t+Math.pow(10,e)).substr(1)}n.dateTick0=function(t,e){return x(t)?e?v.getComponentMethod(\\\"calendars\\\",\\\"CANONICAL_SUNDAY\\\")[t]:v.getComponentMethod(\\\"calendars\\\",\\\"CANONICAL_TICK\\\")[t]:e?\\\"2000-01-02\\\":\\\"2000-01-01\\\"},n.dfltRange=function(t){return x(t)?v.getComponentMethod(\\\"calendars\\\",\\\"DFLTRANGE\\\")[t]:[\\\"2000-01-01\\\",\\\"2001-01-01\\\"]},n.isJSDate=function(t){return\\\"object\\\"==typeof t&&null!==t&&\\\"function\\\"==typeof t.getTime},n.dateTime2ms=function(t,e){if(n.isJSDate(t)){var o=t.getTimezoneOffset()*f,a=(t.getUTCMinutes()-t.getMinutes())*f+(t.getUTCSeconds()-t.getSeconds())*d+(t.getUTCMilliseconds()-t.getMilliseconds());if(a){var s=3*f;o=o-s/2+l(a-o+s/2,s)}return(t=Number(t)-o)>=r&&t<=i?t:c}if(\\\"string\\\"!=typeof t&&\\\"number\\\"!=typeof t)return c;t=String(t);var u=x(e),g=t.charAt(0);!u||\\\"G\\\"!==g&&\\\"g\\\"!==g||(t=t.substr(1),e=\\\"\\\");var w=u&&\\\"chinese\\\"===e.substr(0,7),A=t.match(w?_:y);if(!A)return c;var C=A[1],M=A[3]||\\\"1\\\",E=Number(A[5]||1),T=Number(A[7]||0),S=Number(A[9]||0),k=Number(A[11]||0);if(u){if(2===C.length)return c;var O;C=Number(C);try{var I=v.getComponentMethod(\\\"calendars\\\",\\\"getCal\\\")(e);if(w){var L=\\\"i\\\"===M.charAt(M.length-1);M=parseInt(M,10),O=I.newDate(C,I.toMonthIndex(C,M,L),E)}else O=I.newDate(C,Number(M),E)}catch(t){return c}return O?(O.toJD()-m)*h+T*p+S*f+k*d:c}C=2===C.length?(Number(C)+2e3-b)%100+b:Number(C),M-=1;var P=new Date(Date.UTC(2e3,M,E,T,S));return P.setUTCFullYear(C),P.getUTCMonth()!==M||P.getUTCDate()!==E?c:P.getTime()+k*d},r=n.MIN_MS=n.dateTime2ms(\\\"-9999\\\"),i=n.MAX_MS=n.dateTime2ms(\\\"9999-12-31 23:59:59.9999\\\"),n.isDateTime=function(t,e){return n.dateTime2ms(t,e)!==c};var A=90*h,C=3*p,M=5*f;function E(t,e,n,r,i){if((e||n||r||i)&&(t+=\\\" \\\"+w(e,2)+\\\":\\\"+w(n,2),(r||i)&&(t+=\\\":\\\"+w(r,2),i))){for(var o=4;i%10==0;)o-=1,i/=10;t+=\\\".\\\"+w(i,o)}return t}n.ms2DateTime=function(t,e,n){if(\\\"number\\\"!=typeof t||!(t>=r&&t<=i))return c;e||(e=0);var o,a,s,u,y,_,b=Math.floor(10*l(t+.05,1)),w=Math.round(t-b/10);if(x(n)){var T=Math.floor(w/h)+m,S=Math.floor(l(t,h));try{o=v.getComponentMethod(\\\"calendars\\\",\\\"getCal\\\")(n).fromJD(T).formatDate(\\\"yyyy-mm-dd\\\")}catch(t){o=g(\\\"G%Y-%m-%d\\\")(new Date(w))}if(\\\"-\\\"===o.charAt(0))for(;o.length<11;)o=\\\"-0\\\"+o.substr(1);else for(;o.length<10;)o=\\\"0\\\"+o;a=e<A?Math.floor(S/p):0,s=e<A?Math.floor(S%p/f):0,u=e<C?Math.floor(S%f/d):0,y=e<M?S%d*10+b:0}else _=new Date(w),o=g(\\\"%Y-%m-%d\\\")(_),a=e<A?_.getUTCHours():0,s=e<A?_.getUTCMinutes():0,u=e<C?_.getUTCSeconds():0,y=e<M?10*_.getUTCMilliseconds()+b:0;return E(o,a,s,u,y)},n.ms2DateTimeLocal=function(t){if(!(t>=r+h&&t<=i-h))return c;var e=Math.floor(10*l(t+.05,1)),n=new Date(Math.round(t-e/10));return E(o.time.format(\\\"%Y-%m-%d\\\")(n),n.getHours(),n.getMinutes(),n.getSeconds(),10*n.getUTCMilliseconds()+e)},n.cleanDate=function(t,e,r){if(t===c)return e;if(n.isJSDate(t)||\\\"number\\\"==typeof t&&isFinite(t)){if(x(r))return s.error(\\\"JS Dates and milliseconds are incompatible with world calendars\\\",t),e;if(!(t=n.ms2DateTimeLocal(+t))&&void 0!==e)return e}else if(!n.isDateTime(t,r))return s.error(\\\"unrecognized date\\\",t),e;return t};var T=/%\\\\d?f/g;function S(t,e,n,r){t=t.replace(T,(function(t){var n=Math.min(+t.charAt(1)||6,6);return(e/1e3%1+2).toFixed(n).substr(2).replace(/0+$/,\\\"\\\")||\\\"0\\\"}));var i=new Date(Math.floor(e+.05));if(x(r))try{t=v.getComponentMethod(\\\"calendars\\\",\\\"worldCalFmt\\\")(t,e,r)}catch(t){return\\\"Invalid\\\"}return n(t)(i)}var k=[59,59.9,59.99,59.999,59.9999];n.formatDate=function(t,e,n,r,i,o){if(i=x(i)&&i,!e)if(\\\"y\\\"===n)e=o.year;else if(\\\"m\\\"===n)e=o.month;else{if(\\\"d\\\"!==n)return function(t,e){var n=l(t+.05,h),r=w(Math.floor(n/p),2)+\\\":\\\"+w(l(Math.floor(n/f),60),2);if(\\\"M\\\"!==e){a(e)||(e=0);var i=(100+Math.min(l(t/d,60),k[e])).toFixed(e).substr(1);e>0&&(i=i.replace(/0+$/,\\\"\\\").replace(/[\\\\.]$/,\\\"\\\")),r+=\\\":\\\"+i}return r}(t,n)+\\\"\\\\n\\\"+S(o.dayMonthYear,t,r,i);e=o.dayMonth+\\\"\\\\n\\\"+o.year}return S(e,t,r,i)};var O=3*h;n.incrementMonth=function(t,e,n){n=x(n)&&n;var r=l(t,h);if(t=Math.round(t-r),n)try{var i=Math.round(t/h)+m,o=v.getComponentMethod(\\\"calendars\\\",\\\"getCal\\\")(n),a=o.fromJD(i);return e%12?o.add(a,e,\\\"m\\\"):o.add(a,e/12,\\\"y\\\"),(a.toJD()-m)*h+r}catch(e){s.error(\\\"invalid ms \\\"+t+\\\" in calendar \\\"+n)}var u=new Date(t+O);return u.setUTCMonth(u.getUTCMonth()+e)+r-O},n.findExactDates=function(t,e){for(var n,r,i=0,o=0,s=0,l=0,u=x(e)&&v.getComponentMethod(\\\"calendars\\\",\\\"getCal\\\")(e),c=0;c<t.length;c++)if(r=t[c],a(r)){if(!(r%h))if(u)try{1===(n=u.fromJD(r/h+m)).day()?1===n.month()?i++:o++:s++}catch(t){}else 1===(n=new Date(r)).getUTCDate()?0===n.getUTCMonth()?i++:o++:s++}else l++;s+=o+=i;var p=t.length-l;return{exactYears:i/p,exactMonths:o/p,exactDays:s/p}}},{\\\"../constants/numerical\\\":704,\\\"../registry\\\":859,\\\"./loggers\\\":732,\\\"./mod\\\":735,d3:164,\\\"fast-isnumeric\\\":236}],717:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"./loggers\\\");function o(t){var e=t&&t.parentNode;e&&e.removeChild(t)}function a(t,e,n){var r=\\\"plotly.js-style-\\\"+t,o=document.getElementById(r);o||((o=document.createElement(\\\"style\\\")).setAttribute(\\\"id\\\",r),o.appendChild(document.createTextNode(\\\"\\\")),document.head.appendChild(o));var a=o.sheet;a.insertRule?a.insertRule(e+\\\"{\\\"+n+\\\"}\\\",0):a.addRule?a.addRule(e,n,0):i.warn(\\\"addStyleRule failed\\\")}e.exports={getGraphDiv:function(t){var e;if(\\\"string\\\"==typeof t){if(null===(e=document.getElementById(t)))throw new Error(\\\"No DOM element with id '\\\"+t+\\\"' exists on the page.\\\");return e}if(null==t)throw new Error(\\\"DOM element provided is null or undefined\\\");return t},isPlotDiv:function(t){var e=r.select(t);return e.node()instanceof HTMLElement&&e.size()&&e.classed(\\\"js-plotly-plot\\\")},removeElement:o,addStyleRule:function(t,e){a(\\\"global\\\",t,e)},addRelatedStyleRule:a,deleteRelatedStyleRule:function(t){var e=\\\"plotly.js-style-\\\"+t,n=document.getElementById(e);n&&o(n)}}},{\\\"./loggers\\\":732,d3:164}],718:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"events\\\").EventEmitter,i={init:function(t){if(t._ev instanceof r)return t;var e=new r,n=new r;return t._ev=e,t._internalEv=n,t.on=e.on.bind(e),t.once=e.once.bind(e),t.removeListener=e.removeListener.bind(e),t.removeAllListeners=e.removeAllListeners.bind(e),t._internalOn=n.on.bind(n),t._internalOnce=n.once.bind(n),t._removeInternalListener=n.removeListener.bind(n),t._removeAllInternalListeners=n.removeAllListeners.bind(n),t.emit=function(r,i){\\\"undefined\\\"!=typeof jQuery&&jQuery(t).trigger(r,i),e.emit(r,i),n.emit(r,i)},t},triggerHandler:function(t,e,n){var r,i;\\\"undefined\\\"!=typeof jQuery&&(r=jQuery(t).triggerHandler(e,n));var o=t._ev;if(!o)return r;var a,s=o._events[e];if(!s)return r;function l(t){return t.listener?(o.removeListener(e,t.listener),t.fired?void 0:(t.fired=!0,t.listener.apply(o,[n]))):t.apply(o,[n])}for(s=Array.isArray(s)?s:[s],a=0;a<s.length-1;a++)l(s[a]);return i=l(s[a]),void 0!==r?r:i},purge:function(t){return delete t._ev,delete t.on,delete t.once,delete t.removeListener,delete t.removeAllListeners,delete t.emit,delete t._ev,delete t._internalEv,delete t._internalOn,delete t._internalOnce,delete t._removeInternalListener,delete t._removeAllInternalListeners,t}};e.exports=i},{events:107}],719:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./is_plain_object.js\\\"),i=Array.isArray;function o(t,e,n,a){var s,l,u,c,h,p,f=t[0],d=t.length;if(2===d&&i(f)&&i(t[1])&&0===f.length){if(function(t,e){var n,r;for(n=0;n<t.length;n++){if(null!==(r=t[n])&&\\\"object\\\"==typeof r)return!1;void 0!==r&&(e[n]=r)}return!0}(t[1],f))return f;f.splice(0,f.length)}for(var m=1;m<d;m++)for(l in s=t[m])u=f[l],c=s[l],a&&i(c)?f[l]=c:e&&c&&(r(c)||(h=i(c)))?(h?(h=!1,p=u&&i(u)?u:[]):p=u&&r(u)?u:{},f[l]=o([p,c],e,n,a)):(void 0!==c||n)&&(f[l]=c);return f}n.extendFlat=function(){return o(arguments,!1,!1,!1)},n.extendDeep=function(){return o(arguments,!0,!1,!1)},n.extendDeepAll=function(){return o(arguments,!0,!0,!1)},n.extendDeepNoArrays=function(){return o(arguments,!0,!1,!0)}},{\\\"./is_plain_object.js\\\":729}],720:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e={},n=[],r=0,i=0;i<t.length;i++){var o=t[i];1!==e[o]&&(e[o]=1,n[r++]=o)}return n}},{}],721:[function(t,e,n){\\\"use strict\\\";function r(t){return!0===t.visible}function i(t){var e=t[0].trace;return!0===e.visible&&0!==e._length}e.exports=function(t){for(var e=(s=t,Array.isArray(s)&&Array.isArray(s[0])&&s[0][0]&&s[0][0].trace?i:r),n=[],o=0;o<t.length;o++){var a=t[o];e(a)&&n.push(a)}var s;return n}},{}],722:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"country-regex\\\"),o=t(\\\"@turf/area\\\"),a=t(\\\"@turf/centroid\\\"),s=t(\\\"@turf/bbox\\\"),l=t(\\\"./identity\\\"),u=t(\\\"./loggers\\\"),c=t(\\\"./is_plain_object\\\"),h=t(\\\"./nested_property\\\"),p=t(\\\"./polygon\\\"),f=Object.keys(i),d={\\\"ISO-3\\\":l,\\\"USA-states\\\":l,\\\"country names\\\":function(t){for(var e=0;e<f.length;e++){var n=f[e];if(new RegExp(i[n]).test(t.trim().toLowerCase()))return n}return u.log(\\\"Unrecognized country name: \\\"+t+\\\".\\\"),!1}};function m(t){var e=t.geojson,n=window.PlotlyGeoAssets||{},r=\\\"string\\\"==typeof e?n[e]:e;return c(r)?r:(u.error(\\\"Oops ... something went wrong when fetching \\\"+e),!1)}e.exports={locationToFeature:function(t,e,n){if(!e||\\\"string\\\"!=typeof e)return!1;var r,i,o,a=d[t](e);if(a){if(\\\"USA-states\\\"===t)for(r=[],o=0;o<n.length;o++)(i=n[o]).properties&&i.properties.gu&&\\\"USA\\\"===i.properties.gu&&r.push(i);else r=n;for(o=0;o<r.length;o++)if((i=r[o]).id===a)return i;u.log([\\\"Location with id\\\",a,\\\"does not have a matching topojson feature at this resolution.\\\"].join(\\\" \\\"))}return!1},feature2polygons:function(t){var e,n,r,i,o=t.geometry,a=o.coordinates,s=t.id,l=[];function u(t){for(var e=0;e<t.length-1;e++)if(t[e][0]>0&&t[e+1][0]<0)return e;return null}switch(e=\\\"RUS\\\"===s||\\\"FJI\\\"===s?function(t){var e;if(null===u(t))e=t;else for(e=new Array(t.length),i=0;i<t.length;i++)e[i]=[t[i][0]<0?t[i][0]+360:t[i][0],t[i][1]];l.push(p.tester(e))}:\\\"ATA\\\"===s?function(t){var e=u(t);if(null===e)return l.push(p.tester(t));var n=new Array(t.length+1),r=0;for(i=0;i<t.length;i++)i>e?n[r++]=[t[i][0]+360,t[i][1]]:i===e?(n[r++]=t[i],n[r++]=[t[i][0],-90]):n[r++]=t[i];var o=p.tester(n);o.pts.pop(),l.push(o)}:function(t){l.push(p.tester(t))},o.type){case\\\"MultiPolygon\\\":for(n=0;n<a.length;n++)for(r=0;r<a[n].length;r++)e(a[n][r]);break;case\\\"Polygon\\\":for(n=0;n<a.length;n++)e(a[n])}return l},getTraceGeojson:m,extractTraceFeature:function(t){var e=t[0].trace,n=m(e);if(!n)return!1;var r,i={},s=[];for(r=0;r<e._length;r++){var l=t[r];(l.loc||0===l.loc)&&(i[l.loc]=l)}function c(t){var n=h(t,e.featureidkey||\\\"id\\\").get(),r=i[n];if(r){var l=t.geometry;if(\\\"Polygon\\\"===l.type||\\\"MultiPolygon\\\"===l.type){var c={type:\\\"Feature\\\",id:n,geometry:l,properties:{}};c.properties.ct=function(t){var e,n=t.geometry;if(\\\"MultiPolygon\\\"===n.type)for(var r=n.coordinates,i=0,s=0;s<r.length;s++){var l={type:\\\"Polygon\\\",coordinates:r[s]},u=o.default(l);u>i&&(i=u,e=l)}else e=n;return a.default(e).geometry.coordinates}(c),r.fIn=t,r.fOut=c,s.push(c)}else u.log([\\\"Location\\\",r.loc,\\\"does not have a valid GeoJSON geometry.\\\",\\\"Traces with locationmode *geojson-id* only support\\\",\\\"*Polygon* and *MultiPolygon* geometries.\\\"].join(\\\" \\\"))}delete i[n]}switch(n.type){case\\\"FeatureCollection\\\":var p=n.features;for(r=0;r<p.length;r++)c(p[r]);break;case\\\"Feature\\\":c(n);break;default:return u.warn([\\\"Invalid GeoJSON type\\\",(n.type||\\\"none\\\")+\\\".\\\",\\\"Traces with locationmode *geojson-id* only support\\\",\\\"*FeatureCollection* and *Feature* types.\\\"].join(\\\" \\\")),!1}for(var f in i)u.log([\\\"Location *\\\"+f+\\\"*\\\",\\\"does not have a matching feature with id-key\\\",\\\"*\\\"+e.featureidkey+\\\"*.\\\"].join(\\\" \\\"));return s},fetchTraceGeoData:function(t){var e=window.PlotlyGeoAssets||{},n=[];function i(t){return new Promise((function(n,i){r.json(t,(function(r,o){if(r){delete e[t];var a=404===r.status?'GeoJSON at URL \\\"'+t+'\\\" does not exist.':\\\"Unexpected error while fetching from \\\"+t;return i(new Error(a))}return e[t]=o,n(o)}))}))}function o(t){return new Promise((function(n,r){var i=0,o=setInterval((function(){return e[t]&&\\\"pending\\\"!==e[t]?(clearInterval(o),n(e[t])):i>100?(clearInterval(o),r(\\\"Unexpected error while fetching from \\\"+t)):void i++}),50)}))}for(var a=0;a<t.length;a++){var s=t[a][0].trace.geojson;\\\"string\\\"==typeof s&&(e[s]?\\\"pending\\\"===e[s]&&n.push(o(s)):(e[s]=\\\"pending\\\",n.push(i(s))))}return n},computeBbox:function(t){return s.default(t)}}},{\\\"./identity\\\":727,\\\"./is_plain_object\\\":729,\\\"./loggers\\\":732,\\\"./nested_property\\\":736,\\\"./polygon\\\":740,\\\"@turf/area\\\":57,\\\"@turf/bbox\\\":58,\\\"@turf/centroid\\\":59,\\\"country-regex\\\":136,d3:164}],723:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../constants/numerical\\\").BADNUM;n.calcTraceToLineCoords=function(t){for(var e=t[0].trace.connectgaps,n=[],i=[],o=0;o<t.length;o++){var a=t[o].lonlat;a[0]!==r?i.push(a):!e&&i.length>0&&(n.push(i),i=[])}return i.length>0&&n.push(i),n},n.makeLine=function(t){return 1===t.length?{type:\\\"LineString\\\",coordinates:t[0]}:{type:\\\"MultiLineString\\\",coordinates:t}},n.makePolygon=function(t){if(1===t.length)return{type:\\\"Polygon\\\",coordinates:t};for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=[t[n]];return{type:\\\"MultiPolygon\\\",coordinates:e}},n.makeBlank=function(){return{type:\\\"Point\\\",coordinates:[]}}},{\\\"../constants/numerical\\\":704}],724:[function(t,e,n){\\\"use strict\\\";var r,i,o,a=t(\\\"./mod\\\").mod;function s(t,e,n,r,i,o,a,s){var l=n-t,u=i-t,c=a-i,h=r-e,p=o-e,f=s-o,d=l*f-c*h;if(0===d)return null;var m=(u*f-c*p)/d,v=(u*h-l*p)/d;return v<0||v>1||m<0||m>1?null:{x:t+l*m,y:e+h*m}}function l(t,e,n,r,i){var o=r*t+i*e;if(o<0)return r*r+i*i;if(o>n){var a=r-t,s=i-e;return a*a+s*s}var l=r*e-i*t;return l*l/n}n.segmentsIntersect=s,n.segmentDistance=function(t,e,n,r,i,o,a,u){if(s(t,e,n,r,i,o,a,u))return 0;var c=n-t,h=r-e,p=a-i,f=u-o,d=c*c+h*h,m=p*p+f*f,v=Math.min(l(c,h,d,i-t,o-e),l(c,h,d,a-t,u-e),l(p,f,m,t-i,e-o),l(p,f,m,n-i,r-o));return Math.sqrt(v)},n.getTextLocation=function(t,e,n,s){if(t===i&&s===o||(r={},i=t,o=s),r[n])return r[n];var l=t.getPointAtLength(a(n-s/2,e)),u=t.getPointAtLength(a(n+s/2,e)),c=Math.atan((u.y-l.y)/(u.x-l.x)),h=t.getPointAtLength(a(n,e)),p={x:(4*h.x+l.x+u.x)/6,y:(4*h.y+l.y+u.y)/6,theta:c};return r[n]=p,p},n.clearLocationCache=function(){i=null},n.getVisibleSegment=function(t,e,n){var r,i,o=e.left,a=e.right,s=e.top,l=e.bottom,u=0,c=t.getTotalLength(),h=c;function p(e){var n=t.getPointAtLength(e);0===e?r=n:e===c&&(i=n);var u=n.x<o?o-n.x:n.x>a?n.x-a:0,h=n.y<s?s-n.y:n.y>l?n.y-l:0;return Math.sqrt(u*u+h*h)}for(var f=p(u);f;){if((u+=f+n)>h)return;f=p(u)}for(f=p(h);f;){if(u>(h-=f+n))return;f=p(h)}return{min:u,max:h,len:h-u,total:c,isClosed:0===u&&h===c&&Math.abs(r.x-i.x)<.1&&Math.abs(r.y-i.y)<.1}},n.findPointOnPath=function(t,e,n,r){for(var i,o,a,s=(r=r||{}).pathLength||t.getTotalLength(),l=r.tolerance||.001,u=r.iterationLimit||30,c=t.getPointAtLength(0)[n]>t.getPointAtLength(s)[n]?-1:1,h=0,p=0,f=s;h<u;){if(i=(p+f)/2,a=(o=t.getPointAtLength(i))[n]-e,Math.abs(a)<l)return o;c*a>0?f=i:p=i,h++}return o}},{\\\"./mod\\\":735}],725:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"color-normalize\\\"),a=t(\\\"../components/colorscale\\\"),s=t(\\\"../components/color/attributes\\\").defaultLine,l=t(\\\"./array\\\").isArrayOrTypedArray,u=o(s);function c(t,e){var n=t;return n[3]*=e,n}function h(t){if(r(t))return u;var e=o(t);return e.length?e:u}function p(t){return r(t)?t:1}e.exports={formatColor:function(t,e,n){var r,i,s,f,d,m=t.color,v=l(m),g=l(e),y=a.extractOpts(t),_=[];if(r=void 0!==y.colorscale?a.makeColorScaleFuncFromTrace(t):h,i=v?function(t,e){return void 0===t[e]?u:o(r(t[e]))}:h,s=g?function(t,e){return void 0===t[e]?1:p(t[e])}:p,v||g)for(var b=0;b<n;b++)f=i(m,b),d=s(e,b),_[b]=c(f,d);else _=c(o(m),e);return _},parseColorScale:function(t,e){void 0===e&&(e=1);var n=a.extractOpts(t);return(n.reversescale?a.flipScale(n.colorscale):n.colorscale).map((function(t){var n=t[0],r=i(t[1]).toRgb();return{index:n,rgb:[r.r,r.g,r.b,e]}}))}}},{\\\"../components/color/attributes\\\":594,\\\"../components/colorscale\\\":607,\\\"./array\\\":711,\\\"color-normalize\\\":122,\\\"fast-isnumeric\\\":236,tinycolor2:528}],726:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./identity\\\");function i(t){return[t]}e.exports={keyFun:function(t){return t.key},repeat:i,descend:r,wrap:i,unwrap:function(t){return t[0]}}},{\\\"./identity\\\":727}],727:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return t}},{}],728:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../constants/numerical\\\"),a=o.FP_SAFE,s=o.BADNUM,l=e.exports={};l.nestedProperty=t(\\\"./nested_property\\\"),l.keyedContainer=t(\\\"./keyed_container\\\"),l.relativeAttr=t(\\\"./relative_attr\\\"),l.isPlainObject=t(\\\"./is_plain_object\\\"),l.toLogRange=t(\\\"./to_log_range\\\"),l.relinkPrivateKeys=t(\\\"./relink_private\\\");var u=t(\\\"./array\\\");l.isTypedArray=u.isTypedArray,l.isArrayOrTypedArray=u.isArrayOrTypedArray,l.isArray1D=u.isArray1D,l.ensureArray=u.ensureArray,l.concat=u.concat,l.maxRowLength=u.maxRowLength,l.minRowLength=u.minRowLength;var c=t(\\\"./mod\\\");l.mod=c.mod,l.modHalf=c.modHalf;var h=t(\\\"./coerce\\\");l.valObjectMeta=h.valObjectMeta,l.coerce=h.coerce,l.coerce2=h.coerce2,l.coerceFont=h.coerceFont,l.coerceHoverinfo=h.coerceHoverinfo,l.coerceSelectionMarkerOpacity=h.coerceSelectionMarkerOpacity,l.validate=h.validate;var p=t(\\\"./dates\\\");l.dateTime2ms=p.dateTime2ms,l.isDateTime=p.isDateTime,l.ms2DateTime=p.ms2DateTime,l.ms2DateTimeLocal=p.ms2DateTimeLocal,l.cleanDate=p.cleanDate,l.isJSDate=p.isJSDate,l.formatDate=p.formatDate,l.incrementMonth=p.incrementMonth,l.dateTick0=p.dateTick0,l.dfltRange=p.dfltRange,l.findExactDates=p.findExactDates,l.MIN_MS=p.MIN_MS,l.MAX_MS=p.MAX_MS;var f=t(\\\"./search\\\");l.findBin=f.findBin,l.sorterAsc=f.sorterAsc,l.sorterDes=f.sorterDes,l.distinctVals=f.distinctVals,l.roundUp=f.roundUp,l.sort=f.sort,l.findIndexOfMin=f.findIndexOfMin;var d=t(\\\"./stats\\\");l.aggNums=d.aggNums,l.len=d.len,l.mean=d.mean,l.median=d.median,l.midRange=d.midRange,l.variance=d.variance,l.stdev=d.stdev,l.interp=d.interp;var m=t(\\\"./matrix\\\");l.init2dArray=m.init2dArray,l.transposeRagged=m.transposeRagged,l.dot=m.dot,l.translationMatrix=m.translationMatrix,l.rotationMatrix=m.rotationMatrix,l.rotationXYMatrix=m.rotationXYMatrix,l.apply2DTransform=m.apply2DTransform,l.apply2DTransform2=m.apply2DTransform2;var v=t(\\\"./angles\\\");l.deg2rad=v.deg2rad,l.rad2deg=v.rad2deg,l.angleDelta=v.angleDelta,l.angleDist=v.angleDist,l.isFullCircle=v.isFullCircle,l.isAngleInsideSector=v.isAngleInsideSector,l.isPtInsideSector=v.isPtInsideSector,l.pathArc=v.pathArc,l.pathSector=v.pathSector,l.pathAnnulus=v.pathAnnulus;var g=t(\\\"./anchor_utils\\\");l.isLeftAnchor=g.isLeftAnchor,l.isCenterAnchor=g.isCenterAnchor,l.isRightAnchor=g.isRightAnchor,l.isTopAnchor=g.isTopAnchor,l.isMiddleAnchor=g.isMiddleAnchor,l.isBottomAnchor=g.isBottomAnchor;var y=t(\\\"./geometry2d\\\");l.segmentsIntersect=y.segmentsIntersect,l.segmentDistance=y.segmentDistance,l.getTextLocation=y.getTextLocation,l.clearLocationCache=y.clearLocationCache,l.getVisibleSegment=y.getVisibleSegment,l.findPointOnPath=y.findPointOnPath;var _=t(\\\"./extend\\\");l.extendFlat=_.extendFlat,l.extendDeep=_.extendDeep,l.extendDeepAll=_.extendDeepAll,l.extendDeepNoArrays=_.extendDeepNoArrays;var b=t(\\\"./loggers\\\");l.log=b.log,l.warn=b.warn,l.error=b.error;var x=t(\\\"./regex\\\");l.counterRegex=x.counter;var w=t(\\\"./throttle\\\");l.throttle=w.throttle,l.throttleDone=w.done,l.clearThrottle=w.clear;var A=t(\\\"./dom\\\");function C(t){var e={};for(var n in t)for(var r=t[n],i=0;i<r.length;i++)e[r[i]]=+n;return e}l.getGraphDiv=A.getGraphDiv,l.isPlotDiv=A.isPlotDiv,l.removeElement=A.removeElement,l.addStyleRule=A.addStyleRule,l.addRelatedStyleRule=A.addRelatedStyleRule,l.deleteRelatedStyleRule=A.deleteRelatedStyleRule,l.clearResponsive=t(\\\"./clear_responsive\\\"),l.makeTraceGroups=t(\\\"./make_trace_groups\\\"),l._=t(\\\"./localize\\\"),l.notifier=t(\\\"./notifier\\\"),l.filterUnique=t(\\\"./filter_unique\\\"),l.filterVisible=t(\\\"./filter_visible\\\"),l.pushUnique=t(\\\"./push_unique\\\"),l.cleanNumber=t(\\\"./clean_number\\\"),l.ensureNumber=function(t){return i(t)?(t=Number(t))<-a||t>a?s:i(t)?Number(t):s:s},l.isIndex=function(t,e){return!(void 0!==e&&t>=e)&&i(t)&&t>=0&&t%1==0},l.noop=t(\\\"./noop\\\"),l.identity=t(\\\"./identity\\\"),l.repeat=function(t,e){for(var n=new Array(e),r=0;r<e;r++)n[r]=t;return n},l.swapAttrs=function(t,e,n,r){n||(n=\\\"x\\\"),r||(r=\\\"y\\\");for(var i=0;i<e.length;i++){var o=e[i],a=l.nestedProperty(t,o.replace(\\\"?\\\",n)),s=l.nestedProperty(t,o.replace(\\\"?\\\",r)),u=a.get();a.set(s.get()),s.set(u)}},l.raiseToTop=function(t){t.parentNode.appendChild(t)},l.cancelTransition=function(t){return t.transition().duration(0)},l.constrain=function(t,e,n){return e>n?Math.max(n,Math.min(e,t)):Math.max(e,Math.min(n,t))},l.bBoxIntersect=function(t,e,n){return n=n||0,t.left<=e.right+n&&e.left<=t.right+n&&t.top<=e.bottom+n&&e.top<=t.bottom+n},l.simpleMap=function(t,e,n,r,i){for(var o=t.length,a=new Array(o),s=0;s<o;s++)a[s]=e(t[s],n,r,i);return a},l.randstr=function t(e,n,r,i){if(r||(r=16),void 0===n&&(n=24),n<=0)return\\\"0\\\";var o,a,s=Math.log(Math.pow(2,n))/Math.log(r),u=\\\"\\\";for(o=2;s===1/0;o*=2)s=Math.log(Math.pow(2,n/o))/Math.log(r)*o;var c=s-Math.floor(s);for(o=0;o<Math.floor(s);o++)u=Math.floor(Math.random()*r).toString(r)+u;c&&(a=Math.pow(r,c),u=Math.floor(Math.random()*a).toString(r)+u);var h=parseInt(u,r);return e&&e[u]||h!==1/0&&h>=Math.pow(2,n)?i>10?(l.warn(\\\"randstr failed uniqueness\\\"),u):t(e,n,r,(i||0)+1):u},l.OptionControl=function(t,e){t||(t={}),e||(e=\\\"opt\\\");var n={optionList:[],_newoption:function(r){r[e]=t,n[r.name]=r,n.optionList.push(r)}};return n[\\\"_\\\"+e]=t,n},l.smooth=function(t,e){if((e=Math.round(e)||0)<2)return t;var n,r,i,o,a=t.length,s=2*a,l=2*e-1,u=new Array(l),c=new Array(a);for(n=0;n<l;n++)u[n]=(1-Math.cos(Math.PI*(n+1)/e))/(2*e);for(n=0;n<a;n++){for(o=0,r=0;r<l;r++)(i=n+r+1-e)<-a?i-=s*Math.round(i/s):i>=s&&(i-=s*Math.floor(i/s)),i<0?i=-1-i:i>=a&&(i=s-1-i),o+=t[i]*u[r];c[n]=o}return c},l.syncOrAsync=function(t,e,n){var r;function i(){return l.syncOrAsync(t,e,n)}for(;t.length;)if((r=(0,t.splice(0,1)[0])(e))&&r.then)return r.then(i).then(void 0,l.promiseError);return n&&n(e)},l.stripTrailingSlash=function(t){return\\\"/\\\"===t.substr(-1)?t.substr(0,t.length-1):t},l.noneOrAll=function(t,e,n){if(t){var r,i=!1,o=!0;for(r=0;r<n.length;r++)null!=t[n[r]]?i=!0:o=!1;if(i&&!o)for(r=0;r<n.length;r++)t[n[r]]=e[n[r]]}},l.mergeArray=function(t,e,n,r){var i=\\\"function\\\"==typeof r;if(l.isArrayOrTypedArray(t))for(var o=Math.min(t.length,e.length),a=0;a<o;a++){var s=t[a];e[a][n]=i?r(s):s}},l.mergeArrayCastPositive=function(t,e,n){return l.mergeArray(t,e,n,(function(t){var e=+t;return isFinite(e)&&e>0?e:0}))},l.fillArray=function(t,e,n,r){if(r=r||l.identity,l.isArrayOrTypedArray(t))for(var i=0;i<e.length;i++)e[i][n]=r(t[i])},l.castOption=function(t,e,n,r){r=r||l.identity;var i=l.nestedProperty(t,n).get();return l.isArrayOrTypedArray(i)?Array.isArray(e)&&l.isArrayOrTypedArray(i[e[0]])?r(i[e[0]][e[1]]):r(i[e]):i},l.extractOption=function(t,e,n,r){if(n in t)return t[n];var i=l.nestedProperty(e,r).get();return Array.isArray(i)?void 0:i},l.tagSelected=function(t,e,n){var r,i,o=e.selectedpoints,a=e._indexToPoints;a&&(r=C(a));for(var s=0;s<o.length;s++){var u=o[s];if(l.isIndex(u)||l.isArrayOrTypedArray(u)&&l.isIndex(u[0])&&l.isIndex(u[1])){var c=r?r[u]:u,h=n?n[c]:c;void 0!==(i=h)&&i<t.length&&(t[h].selected=1)}}},l.selIndices2selPoints=function(t){var e=t.selectedpoints,n=t._indexToPoints;if(n){for(var r=C(n),i=[],o=0;o<e.length;o++){var a=e[o];if(l.isIndex(a)){var s=r[a];l.isIndex(s)&&i.push(s)}}return i}return e},l.getTargetArray=function(t,e){var n=e.target;if(\\\"string\\\"==typeof n&&n){var r=l.nestedProperty(t,n).get();return!!Array.isArray(r)&&r}return!!Array.isArray(n)&&n},l.minExtend=function(t,e){var n={};\\\"object\\\"!=typeof e&&(e={});var r,i,o,a=Object.keys(t);for(r=0;r<a.length;r++)o=t[i=a[r]],\\\"_\\\"!==i.charAt(0)&&\\\"function\\\"!=typeof o&&(\\\"module\\\"===i?n[i]=o:Array.isArray(o)?n[i]=\\\"colorscale\\\"===i?o.slice():o.slice(0,3):l.isTypedArray(o)?n[i]=o.subarray(0,3):n[i]=o&&\\\"object\\\"==typeof o?l.minExtend(t[i],e[i]):o);for(a=Object.keys(e),r=0;r<a.length;r++)\\\"object\\\"==typeof(o=e[i=a[r]])&&i in n&&\\\"object\\\"==typeof n[i]||(n[i]=o);return n},l.titleCase=function(t){return t.charAt(0).toUpperCase()+t.substr(1)},l.containsAny=function(t,e){for(var n=0;n<e.length;n++)if(-1!==t.indexOf(e[n]))return!0;return!1},l.isIE=function(){return void 0!==window.navigator.msSaveBlob};var M=/MSIE [1-9]\\\\./;l.isIE9orBelow=function(){return l.isIE()&&M.test(window.navigator.userAgent)};var E=/Version\\\\/[\\\\d\\\\.]+.*Safari/;l.isSafari=function(){return E.test(window.navigator.userAgent)},l.isD3Selection=function(t){return t&&\\\"function\\\"==typeof t.classed},l.ensureSingle=function(t,e,n,r){var i=t.select(e+(n?\\\".\\\"+n:\\\"\\\"));if(i.size())return i;var o=t.append(e);return n&&o.classed(n,!0),r&&o.call(r),o},l.ensureSingleById=function(t,e,n,r){var i=t.select(e+\\\"#\\\"+n);if(i.size())return i;var o=t.append(e).attr(\\\"id\\\",n);return r&&o.call(r),o},l.objectFromPath=function(t,e){for(var n,r=t.split(\\\".\\\"),i=n={},o=0;o<r.length;o++){var a=r[o],s=null,l=r[o].match(/(.*)\\\\[([0-9]+)\\\\]/);l?(a=l[1],s=l[2],n=n[a]=[],o===r.length-1?n[s]=e:n[s]={},n=n[s]):(o===r.length-1?n[a]=e:n[a]={},n=n[a])}return i};var T=/^([^\\\\[\\\\.]+)\\\\.(.+)?/,S=/^([^\\\\.]+)\\\\[([0-9]+)\\\\](\\\\.)?(.+)?/;l.expandObjectPaths=function(t){var e,n,r,i,o,a,s;if(\\\"object\\\"==typeof t&&!Array.isArray(t))for(n in t)t.hasOwnProperty(n)&&((e=n.match(T))?(i=t[n],r=e[1],delete t[n],t[r]=l.extendDeepNoArrays(t[r]||{},l.objectFromPath(n,l.expandObjectPaths(i))[r])):(e=n.match(S))?(i=t[n],r=e[1],o=parseInt(e[2]),delete t[n],t[r]=t[r]||[],\\\".\\\"===e[3]?(s=e[4],a=t[r][o]=t[r][o]||{},l.extendDeepNoArrays(a,l.objectFromPath(s,l.expandObjectPaths(i)))):t[r][o]=l.expandObjectPaths(i)):t[n]=l.expandObjectPaths(t[n]));return t},l.numSeparate=function(t,e,n){if(n||(n=!1),\\\"string\\\"!=typeof e||0===e.length)throw new Error(\\\"Separator string required for formatting!\\\");\\\"number\\\"==typeof t&&(t=String(t));var r=/(\\\\d+)(\\\\d{3})/,i=e.charAt(0),o=e.charAt(1),a=t.split(\\\".\\\"),s=a[0],l=a.length>1?i+a[1]:\\\"\\\";if(o&&(a.length>1||s.length>4||n))for(;r.test(s);)s=s.replace(r,\\\"$1\\\"+o+\\\"$2\\\");return s+l},l.TEMPLATE_STRING_REGEX=/%{([^\\\\s%{}:]*)([:|\\\\|][^}]*)?}/g;var k=/^\\\\w*$/;l.templateString=function(t,e){var n={};return t.replace(l.TEMPLATE_STRING_REGEX,(function(t,r){var i;return k.test(r)?i=e[r]:(n[r]=n[r]||l.nestedProperty(e,r).get,i=n[r]()),l.isValidTextValue(i)?i:\\\"\\\"}))};var O={max:10,count:0,name:\\\"hovertemplate\\\"};l.hovertemplateString=function(){return P.apply(O,arguments)};var I={max:10,count:0,name:\\\"texttemplate\\\"};l.texttemplateString=function(){return P.apply(I,arguments)};var L=/^[:|\\\\|]/;function P(t,e,n){var i=this,o=arguments;e||(e={});var a={};return t.replace(l.TEMPLATE_STRING_REGEX,(function(t,s,u){var c,h,p,f;for(p=3;p<o.length;p++)if(c=o[p]){if(c.hasOwnProperty(s)){h=c[s];break}if(k.test(s)||(h=a[s]||l.nestedProperty(c,s).get())&&(a[s]=h),void 0!==h)break}if(void 0===h&&i)return i.count<i.max&&(l.warn(\\\"Variable '\\\"+s+\\\"' in \\\"+i.name+\\\" could not be found!\\\"),h=t),i.count===i.max&&l.warn(\\\"Too many \\\"+i.name+\\\" warnings - additional warnings will be suppressed\\\"),i.count++,t;if(u){if(\\\":\\\"===u[0]&&(h=(f=n?n.numberFormat:r.format)(u.replace(L,\\\"\\\"))(h)),\\\"|\\\"===u[0]){f=n?n.timeFormat.utc:r.time.format.utc;var d=l.dateTime2ms(h);h=l.formatDate(d,u.replace(L,\\\"\\\"),!1,f)}}else e.hasOwnProperty(s+\\\"Label\\\")&&(h=e[s+\\\"Label\\\"]);return h}))}l.subplotSort=function(t,e){for(var n=Math.min(t.length,e.length)+1,r=0,i=0,o=0;o<n;o++){var a=t.charCodeAt(o)||0,s=e.charCodeAt(o)||0,l=a>=48&&a<=57,u=s>=48&&s<=57;if(l&&(r=10*r+a-48),u&&(i=10*i+s-48),!l||!u){if(r!==i)return r-i;if(a!==s)return a-s}}return i-r};var z=2e9;l.seedPseudoRandom=function(){z=2e9},l.pseudoRandom=function(){var t=z;return z=(69069*z+1)%4294967296,Math.abs(z-t)<429496729?l.pseudoRandom():z/4294967296},l.fillText=function(t,e,n){var r=Array.isArray(n)?function(t){n.push(t)}:function(t){n.text=t},i=l.extractOption(t,e,\\\"htx\\\",\\\"hovertext\\\");if(l.isValidTextValue(i))return r(i);var o=l.extractOption(t,e,\\\"tx\\\",\\\"text\\\");return l.isValidTextValue(o)?r(o):void 0},l.isValidTextValue=function(t){return t||0===t},l.formatPercent=function(t,e){e=e||0;for(var n=(Math.round(100*t*Math.pow(10,e))*Math.pow(.1,e)).toFixed(e)+\\\"%\\\",r=0;r<e;r++)-1!==n.indexOf(\\\".\\\")&&(n=(n=n.replace(\\\"0%\\\",\\\"%\\\")).replace(\\\".%\\\",\\\"%\\\"));return n},l.isHidden=function(t){var e=window.getComputedStyle(t).display;return!e||\\\"none\\\"===e},l.getTextTransform=function(t){var e=t.noCenter,n=t.textX,r=t.textY,i=t.targetX,o=t.targetY,a=t.anchorX||0,s=t.anchorY||0,l=t.rotate,u=t.scale;return u?u>1&&(u=1):u=0,\\\"translate(\\\"+(i-u*(n+a))+\\\",\\\"+(o-u*(r+s))+\\\")\\\"+(u<1?\\\"scale(\\\"+u+\\\")\\\":\\\"\\\")+(l?\\\"rotate(\\\"+l+(e?\\\"\\\":\\\" \\\"+n+\\\" \\\"+r)+\\\")\\\":\\\"\\\")},l.ensureUniformFontSize=function(t,e){var n=l.extendFlat({},e);return n.size=Math.max(e.size,t._fullLayout.uniformtext.minsize||0),n}},{\\\"../constants/numerical\\\":704,\\\"./anchor_utils\\\":709,\\\"./angles\\\":710,\\\"./array\\\":711,\\\"./clean_number\\\":712,\\\"./clear_responsive\\\":714,\\\"./coerce\\\":715,\\\"./dates\\\":716,\\\"./dom\\\":717,\\\"./extend\\\":719,\\\"./filter_unique\\\":720,\\\"./filter_visible\\\":721,\\\"./geometry2d\\\":724,\\\"./identity\\\":727,\\\"./is_plain_object\\\":729,\\\"./keyed_container\\\":730,\\\"./localize\\\":731,\\\"./loggers\\\":732,\\\"./make_trace_groups\\\":733,\\\"./matrix\\\":734,\\\"./mod\\\":735,\\\"./nested_property\\\":736,\\\"./noop\\\":737,\\\"./notifier\\\":738,\\\"./push_unique\\\":742,\\\"./regex\\\":744,\\\"./relative_attr\\\":745,\\\"./relink_private\\\":746,\\\"./search\\\":747,\\\"./stats\\\":750,\\\"./throttle\\\":753,\\\"./to_log_range\\\":754,d3:164,\\\"fast-isnumeric\\\":236}],729:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return window&&window.process&&window.process.versions?\\\"[object Object]\\\"===Object.prototype.toString.call(t):\\\"[object Object]\\\"===Object.prototype.toString.call(t)&&Object.getPrototypeOf(t)===Object.prototype}},{}],730:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./nested_property\\\"),i=/^\\\\w*$/;e.exports=function(t,e,n,o){var a,s,l;n=n||\\\"name\\\",o=o||\\\"value\\\";var u={};e&&e.length?(l=r(t,e),s=l.get()):s=t,e=e||\\\"\\\";var c={};if(s)for(a=0;a<s.length;a++)c[s[a][n]]=a;var h=i.test(o),p={set:function(t,e){var i=null===e?4:0;if(!s){if(!l||4===i)return;s=[],l.set(s)}var a=c[t];if(void 0===a){if(4===i)return;i|=3,a=s.length,c[t]=a}else e!==(h?s[a][o]:r(s[a],o).get())&&(i|=2);var f=s[a]=s[a]||{};return f[n]=t,h?f[o]=e:r(f,o).set(e),null!==e&&(i&=-5),u[a]=u[a]|i,p},get:function(t){if(s){var e=c[t];return void 0===e?void 0:h?s[e][o]:r(s[e],o).get()}},rename:function(t,e){var r=c[t];return void 0===r||(u[r]=1|u[r],c[e]=r,delete c[t],s[r][n]=e),p},remove:function(t){var e=c[t];if(void 0===e)return p;var i=s[e];if(Object.keys(i).length>2)return u[e]=2|u[e],p.set(t,null);if(h){for(a=e;a<s.length;a++)u[a]=3|u[a];for(a=e;a<s.length;a++)c[s[a][n]]--;s.splice(e,1),delete c[t]}else r(i,o).set(null),u[e]=6|u[e];return p},constructUpdate:function(){for(var t,i,a={},l=Object.keys(u),c=0;c<l.length;c++)i=l[c],t=e+\\\"[\\\"+i+\\\"]\\\",s[i]?(1&u[i]&&(a[t+\\\".\\\"+n]=s[i][n]),2&u[i]&&(a[t+\\\".\\\"+o]=h?4&u[i]?null:s[i][o]:4&u[i]?null:r(s[i],o).get())):a[t]=null;return a}};return p}},{\\\"./nested_property\\\":736}],731:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../registry\\\");e.exports=function(t,e){for(var n=t._context.locale,i=0;i<2;i++){for(var o=t._context.locales,a=0;a<2;a++){var s=(o[n]||{}).dictionary;if(s){var l=s[e];if(l)return l}o=r.localeRegistry}var u=n.split(\\\"-\\\")[0];if(u===n)break;n=u}return e}},{\\\"../registry\\\":859}],732:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../plot_api/plot_config\\\").dfltConfig,i=t(\\\"./notifier\\\"),o=e.exports={};function a(t,e){if(t&&t.apply)try{return void t.apply(console,e)}catch(t){}for(var n=0;n<e.length;n++)try{t(e[n])}catch(t){console.log(e[n])}}o.log=function(){var t;if(r.logging>1){var e=[\\\"LOG:\\\"];for(t=0;t<arguments.length;t++)e.push(arguments[t]);a(console.trace||console.log,e)}if(r.notifyOnLogging>1){var n=[];for(t=0;t<arguments.length;t++)n.push(arguments[t]);i(n.join(\\\"<br>\\\"),\\\"long\\\")}},o.warn=function(){var t;if(r.logging>0){var e=[\\\"WARN:\\\"];for(t=0;t<arguments.length;t++)e.push(arguments[t]);a(console.trace||console.log,e)}if(r.notifyOnLogging>0){var n=[];for(t=0;t<arguments.length;t++)n.push(arguments[t]);i(n.join(\\\"<br>\\\"),\\\"stick\\\")}},o.error=function(){var t;if(r.logging>0){var e=[\\\"ERROR:\\\"];for(t=0;t<arguments.length;t++)e.push(arguments[t]);a(console.error,e)}if(r.notifyOnLogging>0){var n=[];for(t=0;t<arguments.length;t++)n.push(arguments[t]);i(n.join(\\\"<br>\\\"),\\\"stick\\\")}}},{\\\"../plot_api/plot_config\\\":764,\\\"./notifier\\\":738}],733:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\");e.exports=function(t,e,n){var i=t.selectAll(\\\"g.\\\"+n.replace(/\\\\s/g,\\\".\\\")).data(e,(function(t){return t[0].trace.uid}));i.exit().remove(),i.enter().append(\\\"g\\\").attr(\\\"class\\\",n),i.order();var o=t.classed(\\\"rangeplot\\\")?\\\"nodeRangePlot3\\\":\\\"node3\\\";return i.each((function(t){t[0][o]=r.select(this)})),i}},{d3:164}],734:[function(t,e,n){\\\"use strict\\\";n.init2dArray=function(t,e){for(var n=new Array(t),r=0;r<t;r++)n[r]=new Array(e);return n},n.transposeRagged=function(t){var e,n,r=0,i=t.length;for(e=0;e<i;e++)r=Math.max(r,t[e].length);var o=new Array(r);for(e=0;e<r;e++)for(o[e]=new Array(i),n=0;n<i;n++)o[e][n]=t[n][e];return o},n.dot=function(t,e){if(!t.length||!e.length||t.length!==e.length)return null;var r,i,o=t.length;if(t[0].length)for(r=new Array(o),i=0;i<o;i++)r[i]=n.dot(t[i],e);else if(e[0].length){var a=n.transposeRagged(e);for(r=new Array(a.length),i=0;i<a.length;i++)r[i]=n.dot(t,a[i])}else for(r=0,i=0;i<o;i++)r+=t[i]*e[i];return r},n.translationMatrix=function(t,e){return[[1,0,t],[0,1,e],[0,0,1]]},n.rotationMatrix=function(t){var e=t*Math.PI/180;return[[Math.cos(e),-Math.sin(e),0],[Math.sin(e),Math.cos(e),0],[0,0,1]]},n.rotationXYMatrix=function(t,e,r){return n.dot(n.dot(n.translationMatrix(e,r),n.rotationMatrix(t)),n.translationMatrix(-e,-r))},n.apply2DTransform=function(t){return function(){var e=arguments;3===e.length&&(e=e[0]);var r=1===arguments.length?e[0]:[e[0],e[1]];return n.dot(t,[r[0],r[1],1]).slice(0,2)}},n.apply2DTransform2=function(t){var e=n.apply2DTransform(t);return function(t){return e(t.slice(0,2)).concat(e(t.slice(2,4)))}}},{}],735:[function(t,e,n){\\\"use strict\\\";e.exports={mod:function(t,e){var n=t%e;return n<0?n+e:n},modHalf:function(t,e){return Math.abs(t)>e/2?t-Math.round(t/e)*e:t}}},{}],736:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"./array\\\").isArrayOrTypedArray;function o(t,e){return function(){var n,r,a,s,l,u=t;for(s=0;s<e.length-1;s++){if(-1===(n=e[s])){for(r=!0,a=[],l=0;l<u.length;l++)a[l]=o(u[l],e.slice(s+1))(),a[l]!==a[0]&&(r=!1);return r?a[0]:a}if(\\\"number\\\"==typeof n&&!i(u))return;if(\\\"object\\\"!=typeof(u=u[n])||null===u)return}if(\\\"object\\\"==typeof u&&null!==u&&null!==(a=u[e[s]]))return a}}e.exports=function(t,e){if(r(e))e=String(e);else if(\\\"string\\\"!=typeof e||\\\"[-1]\\\"===e.substr(e.length-4))throw\\\"bad property string\\\";for(var n,i,a,s=0,u=e.split(\\\".\\\");s<u.length;){if(n=String(u[s]).match(/^([^\\\\[\\\\]]*)((\\\\[\\\\-?[0-9]*\\\\])+)$/)){if(n[1])u[s]=n[1];else{if(0!==s)throw\\\"bad property string\\\";u.splice(0,1)}for(i=n[2].substr(1,n[2].length-2).split(\\\"][\\\"),a=0;a<i.length;a++)s++,u.splice(s,0,Number(i[a]))}s++}return\\\"object\\\"!=typeof t?function(t,e,n){return{set:function(){throw\\\"bad container\\\"},get:function(){},astr:e,parts:n,obj:t}}(t,e,u):{set:l(t,u,e),get:o(t,u),astr:e,parts:u,obj:t}};var a=/(^|\\\\.)args\\\\[/;function s(t,e){return void 0===t||null===t&&!e.match(a)}function l(t,e,n){return function(r){var o,a,l=t,p=\\\"\\\",f=[[t,p]],d=s(r,n);for(a=0;a<e.length-1;a++){if(\\\"number\\\"==typeof(o=e[a])&&!i(l))throw\\\"array index but container is not an array\\\";if(-1===o){if(d=!c(l,e.slice(a+1),r,n))break;return}if(!h(l,o,e[a+1],d))break;if(\\\"object\\\"!=typeof(l=l[o])||null===l)throw\\\"container is not an object\\\";p=u(p,o),f.push([l,p])}if(d){if(a===e.length-1&&(delete l[e[a]],Array.isArray(l)&&+e[a]==l.length-1))for(;l.length&&void 0===l[l.length-1];)l.pop()}else l[e[a]]=r}}function u(t,e){var n=e;return r(e)?n=\\\"[\\\"+e+\\\"]\\\":t&&(n=\\\".\\\"+e),t+n}function c(t,e,n,r){var o,a=i(n),u=!0,c=n,p=r.replace(\\\"-1\\\",0),f=!a&&s(n,p),d=e[0];for(o=0;o<t.length;o++)p=r.replace(\\\"-1\\\",o),a&&(f=s(c=n[o%n.length],p)),f&&(u=!1),h(t,o,d,f)&&l(t[o],e,r.replace(\\\"-1\\\",o))(c);return u}function h(t,e,n,r){if(void 0===t[e]){if(r)return!1;t[e]=\\\"number\\\"==typeof n?[]:{}}return!0}},{\\\"./array\\\":711,\\\"fast-isnumeric\\\":236}],737:[function(t,e,n){\\\"use strict\\\";e.exports=function(){}},{}],738:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=[];e.exports=function(t,e){if(-1===o.indexOf(t)){o.push(t);var n=1e3;i(e)?n=e:\\\"long\\\"===e&&(n=3e3);var a=r.select(\\\"body\\\").selectAll(\\\".plotly-notifier\\\").data([0]);a.enter().append(\\\"div\\\").classed(\\\"plotly-notifier\\\",!0),a.selectAll(\\\".notifier-note\\\").data(o).enter().append(\\\"div\\\").classed(\\\"notifier-note\\\",!0).style(\\\"opacity\\\",0).each((function(t){var i=r.select(this);i.append(\\\"button\\\").classed(\\\"notifier-close\\\",!0).html(\\\"&times;\\\").on(\\\"click\\\",(function(){i.transition().call(s)}));for(var o=i.append(\\\"p\\\"),a=t.split(/<br\\\\s*\\\\/?>/g),l=0;l<a.length;l++)l&&o.append(\\\"br\\\"),o.append(\\\"span\\\").text(a[l]);\\\"stick\\\"===e?i.transition().duration(350).style(\\\"opacity\\\",1):i.transition().duration(700).style(\\\"opacity\\\",1).transition().delay(n).call(s)}))}function s(t){t.duration(700).style(\\\"opacity\\\",0).each(\\\"end\\\",(function(t){var e=o.indexOf(t);-1!==e&&o.splice(e,1),r.select(this).remove()}))}}},{d3:164,\\\"fast-isnumeric\\\":236}],739:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./setcursor\\\"),i=\\\"data-savedcursor\\\";e.exports=function(t,e){var n=t.attr(i);if(e){if(!n){for(var o=(t.attr(\\\"class\\\")||\\\"\\\").split(\\\" \\\"),a=0;a<o.length;a++){var s=o[a];0===s.indexOf(\\\"cursor-\\\")&&t.attr(i,s.substr(7)).classed(s,!1)}t.attr(i)||t.attr(i,\\\"!!\\\")}r(t,e)}else n&&(t.attr(i,null),\\\"!!\\\"===n?r(t):r(t,n))}},{\\\"./setcursor\\\":748}],740:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./matrix\\\").dot,i=t(\\\"../constants/numerical\\\").BADNUM,o=e.exports={};o.tester=function(t){var e,n=t.slice(),r=n[0][0],o=r,a=n[0][1],s=a;for(n.push(n[0]),e=1;e<n.length;e++)r=Math.min(r,n[e][0]),o=Math.max(o,n[e][0]),a=Math.min(a,n[e][1]),s=Math.max(s,n[e][1]);var l,u=!1;5===n.length&&(n[0][0]===n[1][0]?n[2][0]===n[3][0]&&n[0][1]===n[3][1]&&n[1][1]===n[2][1]&&(u=!0,l=function(t){return t[0]===n[0][0]}):n[0][1]===n[1][1]&&n[2][1]===n[3][1]&&n[0][0]===n[3][0]&&n[1][0]===n[2][0]&&(u=!0,l=function(t){return t[1]===n[0][1]}));var c=!0,h=n[0];for(e=1;e<n.length;e++)if(h[0]!==n[e][0]||h[1]!==n[e][1]){c=!1;break}return{xmin:r,xmax:o,ymin:a,ymax:s,pts:n,contains:u?function(t,e){var n=t[0],u=t[1];return!(n===i||n<r||n>o||u===i||u<a||u>s||e&&l(t))}:function(t,e){var l=t[0],u=t[1];if(l===i||l<r||l>o||u===i||u<a||u>s)return!1;var c,h,p,f,d,m=n.length,v=n[0][0],g=n[0][1],y=0;for(c=1;c<m;c++)if(h=v,p=g,v=n[c][0],g=n[c][1],!(l<(f=Math.min(h,v))||l>Math.max(h,v)||u>Math.max(p,g)))if(u<Math.min(p,g))l!==f&&y++;else{if(u===(d=v===h?u:p+(l-h)*(g-p)/(v-h)))return 1!==c||!e;u<=d&&l!==f&&y++}return y%2==1},isRect:u,degenerate:c}},o.isSegmentBent=function(t,e,n,i){var o,a,s,l=t[e],u=[t[n][0]-l[0],t[n][1]-l[1]],c=r(u,u),h=Math.sqrt(c),p=[-u[1]/h,u[0]/h];for(o=e+1;o<n;o++)if(a=[t[o][0]-l[0],t[o][1]-l[1]],(s=r(a,u))<0||s>c||Math.abs(r(a,p))>i)return!0;return!1},o.filter=function(t,e){var n=[t[0]],r=0,i=0;function a(a){t.push(a);var s=n.length,l=r;n.splice(i+1);for(var u=l+1;u<t.length;u++)(u===t.length-1||o.isSegmentBent(t,l,u+1,e))&&(n.push(t[u]),n.length<s-2&&(r=u,i=n.length-1),l=u)}return t.length>1&&a(t.pop()),{addPt:a,raw:t,filtered:n}}},{\\\"../constants/numerical\\\":704,\\\"./matrix\\\":734}],741:[function(t,e,r){(function(n){\\\"use strict\\\";var r=t(\\\"./show_no_webgl_msg\\\"),i=t(\\\"regl\\\");e.exports=function(t,e){var o=t._fullLayout,a=!0;return o._glcanvas.each((function(r){if(!r.regl&&(!r.pick||o._has(\\\"parcoords\\\"))){try{r.regl=i({canvas:this,attributes:{antialias:!r.pick,preserveDrawingBuffer:!0},pixelRatio:t._context.plotGlPixelRatio||n.devicePixelRatio,extensions:e||[]})}catch(t){a=!1}r.regl||(a=!1),a&&this.addEventListener(\\\"webglcontextlost\\\",(function(e){t&&t.emit&&t.emit(\\\"plotly_webglcontextlost\\\",{event:e,layer:r.key})}),!1)}})),a||r({container:o._glcontainer.node()}),a}}).call(this,void 0!==n.g?n.g:\\\"undefined\\\"!=typeof self?self:\\\"undefined\\\"!=typeof window?window:{})},{\\\"./show_no_webgl_msg\\\":749,regl:492}],742:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){if(e instanceof RegExp){for(var n=e.toString(),r=0;r<t.length;r++)if(t[r]instanceof RegExp&&t[r].toString()===n)return t;t.push(e)}else!e&&0!==e||-1!==t.indexOf(e)||t.push(e);return t}},{}],743:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../plot_api/plot_config\\\").dfltConfig,o={add:function(t,e,n,r,o){var a,s;t.undoQueue=t.undoQueue||{index:0,queue:[],sequence:!1},s=t.undoQueue.index,t.autoplay?t.undoQueue.inSequence||(t.autoplay=!1):(!t.undoQueue.sequence||t.undoQueue.beginSequence?(a={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},t.undoQueue.queue.splice(s,t.undoQueue.queue.length-s,a),t.undoQueue.index+=1):a=t.undoQueue.queue[s-1],t.undoQueue.beginSequence=!1,a&&(a.undo.calls.unshift(e),a.undo.args.unshift(n),a.redo.calls.push(r),a.redo.args.push(o)),t.undoQueue.queue.length>i.queueLength&&(t.undoQueue.queue.shift(),t.undoQueue.index--))},startSequence:function(t){t.undoQueue=t.undoQueue||{index:0,queue:[],sequence:!1},t.undoQueue.sequence=!0,t.undoQueue.beginSequence=!0},stopSequence:function(t){t.undoQueue=t.undoQueue||{index:0,queue:[],sequence:!1},t.undoQueue.sequence=!1,t.undoQueue.beginSequence=!1},undo:function(t){var e,n;if(t.framework&&t.framework.isPolar)t.framework.undo();else if(!(void 0===t.undoQueue||isNaN(t.undoQueue.index)||t.undoQueue.index<=0)){for(t.undoQueue.index--,e=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,n=0;n<e.undo.calls.length;n++)o.plotDo(t,e.undo.calls[n],e.undo.args[n]);t.undoQueue.inSequence=!1,t.autoplay=!1}},redo:function(t){var e,n;if(t.framework&&t.framework.isPolar)t.framework.redo();else if(!(void 0===t.undoQueue||isNaN(t.undoQueue.index)||t.undoQueue.index>=t.undoQueue.queue.length)){for(e=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,n=0;n<e.redo.calls.length;n++)o.plotDo(t,e.redo.calls[n],e.redo.args[n]);t.undoQueue.inSequence=!1,t.autoplay=!1,t.undoQueue.index++}},plotDo:function(t,e,n){t.autoplay=!0,n=function(t,e){for(var n,i=[],o=0;o<e.length;o++)n=e[o],i[o]=n===t?n:\\\"object\\\"==typeof n?Array.isArray(n)?r.extendDeep([],n):r.extendDeepAll({},n):n;return i}(t,n),e.apply(null,n)}};e.exports=o},{\\\"../lib\\\":728,\\\"../plot_api/plot_config\\\":764}],744:[function(t,e,n){\\\"use strict\\\";n.counter=function(t,e,n,r){var i=(e||\\\"\\\")+(n?\\\"\\\":\\\"$\\\"),o=!1===r?\\\"\\\":\\\"^\\\";return\\\"xy\\\"===t?new RegExp(o+\\\"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?\\\"+i):new RegExp(o+t+\\\"([2-9]|[1-9][0-9]+)?\\\"+i)}},{}],745:[function(t,e,n){\\\"use strict\\\";var r=/^(.*)(\\\\.[^\\\\.\\\\[\\\\]]+|\\\\[\\\\d\\\\])$/,i=/^[^\\\\.\\\\[\\\\]]+$/;e.exports=function(t,e){for(;e;){var n=t.match(r);if(n)t=n[1];else{if(!t.match(i))throw new Error(\\\"bad relativeAttr call:\\\"+[t,e]);t=\\\"\\\"}if(\\\"^\\\"!==e.charAt(0))break;e=e.slice(1)}return t&&\\\"[\\\"!==e.charAt(0)?t+\\\".\\\"+e:t+e}},{}],746:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./array\\\").isArrayOrTypedArray,i=t(\\\"./is_plain_object\\\");e.exports=function t(e,n){for(var o in n){var a=n[o],s=e[o];if(s!==a)if(\\\"_\\\"===o.charAt(0)||\\\"function\\\"==typeof a){if(o in e)continue;e[o]=a}else if(r(a)&&r(s)&&i(a[0])){if(\\\"customdata\\\"===o||\\\"ids\\\"===o)continue;for(var l=Math.min(a.length,s.length),u=0;u<l;u++)s[u]!==a[u]&&i(a[u])&&i(s[u])&&t(s[u],a[u])}else i(a)&&i(s)&&(t(s,a),Object.keys(s).length||delete e[o])}}},{\\\"./array\\\":711,\\\"./is_plain_object\\\":729}],747:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"./loggers\\\"),o=t(\\\"./identity\\\"),a=t(\\\"../constants/numerical\\\").BADNUM,s=1e-9;function l(t,e){return t<e}function u(t,e){return t<=e}function c(t,e){return t>e}function h(t,e){return t>=e}n.findBin=function(t,e,n){if(r(e.start))return n?Math.ceil((t-e.start)/e.size-s)-1:Math.floor((t-e.start)/e.size+s);var o,a,p=0,f=e.length,d=0,m=f>1?(e[f-1]-e[0])/(f-1):1;for(a=m>=0?n?l:u:n?h:c,t+=m*s*(n?-1:1)*(m>=0?1:-1);p<f&&d++<100;)a(e[o=Math.floor((p+f)/2)],t)?p=o+1:f=o;return d>90&&i.log(\\\"Long binary search...\\\"),p-1},n.sorterAsc=function(t,e){return t-e},n.sorterDes=function(t,e){return e-t},n.distinctVals=function(t){var e,r=t.slice();for(r.sort(n.sorterAsc),e=r.length-1;e>-1&&r[e]===a;e--);for(var i,o=r[e]-r[0]||1,s=o/(e||1)/1e4,l=[],u=0;u<=e;u++){var c=r[u],h=c-i;void 0===i?(l.push(c),i=c):h>s&&(o=Math.min(o,h),l.push(c),i=c)}return{vals:l,minDiff:o}},n.roundUp=function(t,e,n){for(var r,i=0,o=e.length-1,a=0,s=n?0:1,l=n?1:0,u=n?Math.ceil:Math.floor;i<o&&a++<100;)e[r=u((i+o)/2)]<=t?i=r+s:o=r-l;return e[i]},n.sort=function(t,e){for(var n=0,r=0,i=1;i<t.length;i++){var o=e(t[i],t[i-1]);if(o<0?n=1:o>0&&(r=1),n&&r)return t.sort(e)}return r?t:t.reverse()},n.findIndexOfMin=function(t,e){e=e||o;for(var n,r=1/0,i=0;i<t.length;i++){var a=e(t[i]);a<r&&(r=a,n=i)}return n}},{\\\"../constants/numerical\\\":704,\\\"./identity\\\":727,\\\"./loggers\\\":732,\\\"fast-isnumeric\\\":236}],748:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){(t.attr(\\\"class\\\")||\\\"\\\").split(\\\" \\\").forEach((function(e){0===e.indexOf(\\\"cursor-\\\")&&t.classed(e,!1)})),e&&t.classed(\\\"cursor-\\\"+e,!0)}},{}],749:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../components/color\\\"),i=function(){};e.exports=function(t){for(var e in t)\\\"function\\\"==typeof t[e]&&(t[e]=i);t.destroy=function(){t.container.parentNode.removeChild(t.container)};var n=document.createElement(\\\"div\\\");n.className=\\\"no-webgl\\\",n.style.cursor=\\\"pointer\\\",n.style.fontSize=\\\"24px\\\",n.style.color=r.defaults[0],n.style.position=\\\"absolute\\\",n.style.left=n.style.top=\\\"0px\\\",n.style.width=n.style.height=\\\"100%\\\",n.style[\\\"background-color\\\"]=r.lightLine,n.style[\\\"z-index\\\"]=30;var o=document.createElement(\\\"p\\\");return o.textContent=\\\"WebGL is not supported by your browser - visit https://get.webgl.org for more info\\\",o.style.position=\\\"relative\\\",o.style.top=\\\"50%\\\",o.style.left=\\\"50%\\\",o.style.height=\\\"30%\\\",o.style.width=\\\"50%\\\",o.style.margin=\\\"-15% 0 0 -25%\\\",n.appendChild(o),t.container.appendChild(n),t.container.style.background=\\\"#FFFFFF\\\",t.container.onclick=function(){window.open(\\\"https://get.webgl.org\\\")},!1}},{\\\"../components/color\\\":595}],750:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"./array\\\").isArrayOrTypedArray;n.aggNums=function(t,e,o,a){var s,l;if((!a||a>o.length)&&(a=o.length),r(e)||(e=!1),i(o[0])){for(l=new Array(a),s=0;s<a;s++)l[s]=n.aggNums(t,e,o[s]);o=l}for(s=0;s<a;s++)r(e)?r(o[s])&&(e=t(+e,+o[s])):e=o[s];return e},n.len=function(t){return n.aggNums((function(t){return t+1}),0,t)},n.mean=function(t,e){return e||(e=n.len(t)),n.aggNums((function(t,e){return t+e}),0,t)/e},n.midRange=function(t){if(void 0!==t&&0!==t.length)return(n.aggNums(Math.max,null,t)+n.aggNums(Math.min,null,t))/2},n.variance=function(t,e,i){return e||(e=n.len(t)),r(i)||(i=n.mean(t,e)),n.aggNums((function(t,e){return t+Math.pow(e-i,2)}),0,t)/e},n.stdev=function(t,e,r){return Math.sqrt(n.variance(t,e,r))},n.median=function(t){var e=t.slice().sort();return n.interp(e,.5)},n.interp=function(t,e){if(!r(e))throw\\\"n should be a finite number\\\";if((e=e*t.length-.5)<0)return t[0];if(e>t.length-1)return t[t.length-1];var n=e%1;return n*t[Math.ceil(e)]+(1-n)*t[Math.floor(e)]}},{\\\"./array\\\":711,\\\"fast-isnumeric\\\":236}],751:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"color-normalize\\\");e.exports=function(t){return t?r(t):[0,0,0,1]}},{\\\"color-normalize\\\":122}],752:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../lib\\\"),o=t(\\\"../constants/xmlns_namespaces\\\"),a=t(\\\"../constants/alignment\\\").LINE_SPACING;function s(t,e){return t.node().getBoundingClientRect()[e]}var l=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;n.convertToTspans=function(t,e,E){var T=t.text(),k=!t.attr(\\\"data-notex\\\")&&\\\"undefined\\\"!=typeof MathJax&&T.match(l),O=r.select(t.node().parentNode);if(!O.empty()){var I=t.attr(\\\"class\\\")?t.attr(\\\"class\\\").split(\\\" \\\")[0]:\\\"text\\\";return I+=\\\"-math\\\",O.selectAll(\\\"svg.\\\"+I).remove(),O.selectAll(\\\"g.\\\"+I+\\\"-group\\\").remove(),t.style(\\\"display\\\",null).attr({\\\"data-unformatted\\\":T,\\\"data-math\\\":\\\"N\\\"}),k?(e&&e._promises||[]).push(new Promise((function(e){t.style(\\\"display\\\",\\\"none\\\");var n=parseInt(t.node().style.fontSize,10),o={fontSize:n};!function(t,e,n){var o,a,s,l;MathJax.Hub.Queue((function(){return a=i.extendDeepAll({},MathJax.Hub.config),s=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:\\\"none\\\",tex2jax:{inlineMath:[[\\\"$\\\",\\\"$\\\"],[\\\"\\\\\\\\(\\\",\\\"\\\\\\\\)\\\"]]},displayAlign:\\\"left\\\"})}),(function(){if(\\\"SVG\\\"!==(o=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer(\\\"SVG\\\")}),(function(){var n=\\\"math-output-\\\"+i.randstr({},64);return l=r.select(\\\"body\\\").append(\\\"div\\\").attr({id:n}).style({visibility:\\\"hidden\\\",position:\\\"absolute\\\"}).style({\\\"font-size\\\":e.fontSize+\\\"px\\\"}).text(t.replace(u,\\\"\\\\\\\\lt \\\").replace(c,\\\"\\\\\\\\gt \\\")),MathJax.Hub.Typeset(l.node())}),(function(){var e=r.select(\\\"body\\\").select(\\\"#MathJax_SVG_glyphs\\\");if(l.select(\\\".MathJax_SVG\\\").empty()||!l.select(\\\"svg\\\").node())i.log(\\\"There was an error in the tex syntax.\\\",t),n();else{var a=l.select(\\\"svg\\\").node().getBoundingClientRect();n(l.select(\\\".MathJax_SVG\\\"),e,a)}if(l.remove(),\\\"SVG\\\"!==o)return MathJax.Hub.setRenderer(o)}),(function(){return void 0!==s&&(MathJax.Hub.processSectionDelay=s),MathJax.Hub.Config(a)}))}(k[2],o,(function(r,i,o){O.selectAll(\\\"svg.\\\"+I).remove(),O.selectAll(\\\"g.\\\"+I+\\\"-group\\\").remove();var a=r&&r.select(\\\"svg\\\");if(!a||!a.node())return L(),void e();var l=O.append(\\\"g\\\").classed(I+\\\"-group\\\",!0).attr({\\\"pointer-events\\\":\\\"none\\\",\\\"data-unformatted\\\":T,\\\"data-math\\\":\\\"Y\\\"});l.node().appendChild(a.node()),i&&i.node()&&a.node().insertBefore(i.node().cloneNode(!0),a.node().firstChild),a.attr({class:I,height:o.height,preserveAspectRatio:\\\"xMinYMin meet\\\"}).style({overflow:\\\"visible\\\",\\\"pointer-events\\\":\\\"none\\\"});var u=t.node().style.fill||\\\"black\\\",c=a.select(\\\"g\\\");c.attr({fill:u,stroke:u});var h=s(c,\\\"width\\\"),p=s(c,\\\"height\\\"),f=+t.attr(\\\"x\\\")-h*{start:0,middle:.5,end:1}[t.attr(\\\"text-anchor\\\")||\\\"start\\\"],d=-(n||s(t,\\\"height\\\"))/4;\\\"y\\\"===I[0]?(l.attr({transform:\\\"rotate(\\\"+[-90,+t.attr(\\\"x\\\"),+t.attr(\\\"y\\\")]+\\\") translate(\\\"+[-h/2,d-p/2]+\\\")\\\"}),a.attr({x:+t.attr(\\\"x\\\"),y:+t.attr(\\\"y\\\")})):\\\"l\\\"===I[0]?a.attr({x:t.attr(\\\"x\\\"),y:d-p/2}):\\\"a\\\"===I[0]&&0!==I.indexOf(\\\"atitle\\\")?a.attr({x:0,y:d}):a.attr({x:f,y:+t.attr(\\\"y\\\")+d-p/2}),E&&E.call(t,l),e(l)}))}))):L(),t}function L(){O.empty()||(I=t.attr(\\\"class\\\")+\\\"-math\\\",O.select(\\\"svg.\\\"+I).remove()),t.text(\\\"\\\").style(\\\"white-space\\\",\\\"pre\\\"),function(t,e){e=e.replace(v,\\\" \\\");var n,s=!1,l=[],u=-1;function c(){u++;var e=document.createElementNS(o.svg,\\\"tspan\\\");r.select(e).attr({class:\\\"line\\\",dy:u*a+\\\"em\\\"}),t.appendChild(e),n=e;var i=l;if(l=[{node:e}],i.length>1)for(var s=1;s<i.length;s++)E(i[s])}function E(t){var e,i=t.type,a={};if(\\\"a\\\"===i){e=\\\"a\\\";var s=t.target,u=t.href,c=t.popup;u&&(a={\\\"xlink:xlink:show\\\":\\\"_blank\\\"===s||\\\"_\\\"!==s.charAt(0)?\\\"new\\\":\\\"replace\\\",target:s,\\\"xlink:xlink:href\\\":u},c&&(a.onclick='window.open(this.href.baseVal,this.target.baseVal,\\\"'+c+'\\\");return false;'))}else e=\\\"tspan\\\";t.style&&(a.style=t.style);var h=document.createElementNS(o.svg,e);if(\\\"sup\\\"===i||\\\"sub\\\"===i){T(n,d),n.appendChild(h);var m=document.createElementNS(o.svg,\\\"tspan\\\");T(m,d),r.select(m).attr(\\\"dy\\\",f[i]),a.dy=p[i],n.appendChild(h),n.appendChild(m)}else n.appendChild(h);r.select(h).attr(a),n=t.node=h,l.push(t)}function T(t,e){t.appendChild(document.createTextNode(e))}function k(t){if(1!==l.length){var r=l.pop();t!==r.type&&i.log(\\\"Start tag <\\\"+r.type+\\\"> doesnt match end tag <\\\"+t+\\\">. Pretending it did match.\\\",e),n=l[l.length-1].node}else i.log(\\\"Ignoring unexpected end tag </\\\"+t+\\\">.\\\",e)}_.test(e)?c():(n=t,l=[{node:t}]);for(var O=e.split(g),I=0;I<O.length;I++){var L=O[I],P=L.match(y),z=P&&P[2].toLowerCase(),R=h[z];if(\\\"br\\\"===z)c();else if(void 0===R)T(n,S(L));else if(P[1])k(z);else{var D=P[4],$={type:z},B=C(D,b);if(B?(B=B.replace(M,\\\"$1 fill:\\\"),R&&(B+=\\\";\\\"+R)):R&&(B=R),B&&($.style=B),\\\"a\\\"===z){s=!0;var N=C(D,x);if(N){var F=document.createElement(\\\"a\\\");F.href=N,-1!==m.indexOf(F.protocol)&&($.href=encodeURI(decodeURI(N)),$.target=C(D,w)||\\\"_blank\\\",$.popup=C(D,A))}}E($)}}return s}(t.node(),T)&&t.style(\\\"pointer-events\\\",\\\"all\\\"),n.positionText(t),E&&E.call(t)}};var u=/(<|&lt;|&#60;)/g,c=/(>|&gt;|&#62;)/g,h={sup:\\\"font-size:70%\\\",sub:\\\"font-size:70%\\\",b:\\\"font-weight:bold\\\",i:\\\"font-style:italic\\\",a:\\\"cursor:pointer\\\",span:\\\"\\\",em:\\\"font-style:italic;font-weight:bold\\\"},p={sub:\\\"0.3em\\\",sup:\\\"-0.6em\\\"},f={sub:\\\"-0.21em\\\",sup:\\\"0.42em\\\"},d=\\\"\\\",m=[\\\"http:\\\",\\\"https:\\\",\\\"mailto:\\\",\\\"\\\",void 0,\\\":\\\"],v=n.NEWLINES=/(\\\\r\\\\n?|\\\\n)/g,g=/(<[^<>]*>)/,y=/<(\\\\/?)([^ >]*)(\\\\s+(.*))?>/i,_=/<br(\\\\s+.*)?>/i;n.BR_TAG_ALL=/<br(\\\\s+.*)?>/gi;var b=/(^|[\\\\s\\\"'])style\\\\s*=\\\\s*(\\\"([^\\\"]*);?\\\"|'([^']*);?')/i,x=/(^|[\\\\s\\\"'])href\\\\s*=\\\\s*(\\\"([^\\\"]*)\\\"|'([^']*)')/i,w=/(^|[\\\\s\\\"'])target\\\\s*=\\\\s*(\\\"([^\\\"\\\\s]*)\\\"|'([^'\\\\s]*)')/i,A=/(^|[\\\\s\\\"'])popup\\\\s*=\\\\s*(\\\"([\\\\w=,]*)\\\"|'([\\\\w=,]*)')/i;function C(t,e){if(!t)return null;var n=t.match(e),r=n&&(n[3]||n[4]);return r&&S(r)}var M=/(^|;)\\\\s*color:/;n.plainText=function(t,e){for(var n=void 0!==(e=e||{}).len&&-1!==e.len?e.len:1/0,r=void 0!==e.allowedTags?e.allowedTags:[\\\"br\\\"],i=\\\"...\\\".length,o=t.split(g),a=[],s=\\\"\\\",l=0,u=0;u<o.length;u++){var c=o[u],h=c.match(y),p=h&&h[2].toLowerCase();if(p)-1!==r.indexOf(p)&&(a.push(c),s=p);else{var f=c.length;if(l+f<n)a.push(c),l+=f;else if(l<n){var d=n-l;s&&(\\\"br\\\"!==s||d<=i||f<=i)&&a.pop(),n>i?a.push(c.substr(0,d-i)+\\\"...\\\"):a.push(c.substr(0,d));break}s=\\\"\\\"}}return a.join(\\\"\\\")};var E={mu:\\\"μ\\\",amp:\\\"&\\\",lt:\\\"<\\\",gt:\\\">\\\",nbsp:\\\" \\\",times:\\\"×\\\",plusmn:\\\"±\\\",deg:\\\"°\\\"},T=/&(#\\\\d+|#x[\\\\da-fA-F]+|[a-z]+);/g;function S(t){return t.replace(T,(function(t,e){return(\\\"#\\\"===e.charAt(0)?function(t){if(!(t>1114111)){var e=String.fromCodePoint;if(e)return e(t);var n=String.fromCharCode;return t<=65535?n(t):n(55232+(t>>10),t%1024+56320)}}(\\\"x\\\"===e.charAt(1)?parseInt(e.substr(2),16):parseInt(e.substr(1),10)):E[e])||t}))}function k(t,e,n){var r,i,o,a=n.horizontalAlign,s=n.verticalAlign||\\\"top\\\",l=t.node().getBoundingClientRect(),u=e.node().getBoundingClientRect();return i=\\\"bottom\\\"===s?function(){return l.bottom-r.height}:\\\"middle\\\"===s?function(){return l.top+(l.height-r.height)/2}:function(){return l.top},o=\\\"right\\\"===a?function(){return l.right-r.width}:\\\"center\\\"===a?function(){return l.left+(l.width-r.width)/2}:function(){return l.left},function(){return r=this.node().getBoundingClientRect(),this.style({top:i()-u.top+\\\"px\\\",left:o()-u.left+\\\"px\\\",\\\"z-index\\\":1e3}),this}}n.convertEntities=S,n.sanitizeHTML=function(t){t=t.replace(v,\\\" \\\");for(var e=document.createElement(\\\"p\\\"),n=e,i=[],o=t.split(g),a=0;a<o.length;a++){var s=o[a],l=s.match(y),u=l&&l[2].toLowerCase();if(u in h)if(l[1])i.length&&(n=i.pop());else{var c=l[4],p=C(c,b),f=p?{style:p}:{};if(\\\"a\\\"===u){var d=C(c,x);if(d){var _=document.createElement(\\\"a\\\");if(_.href=d,-1!==m.indexOf(_.protocol)){f.href=encodeURI(decodeURI(d));var A=C(c,w);A&&(f.target=A)}}}var M=document.createElement(u);n.appendChild(M),r.select(M).attr(f),n=M,i.push(M)}else n.appendChild(document.createTextNode(S(s)))}return e.innerHTML},n.lineCount=function(t){return t.selectAll(\\\"tspan.line\\\").size()||1},n.positionText=function(t,e,n){return t.each((function(){var t=r.select(this);function i(e,n){return void 0===n?null===(n=t.attr(e))&&(t.attr(e,0),n=0):t.attr(e,n),n}var o=i(\\\"x\\\",e),a=i(\\\"y\\\",n);\\\"text\\\"===this.nodeName&&t.selectAll(\\\"tspan.line\\\").attr({x:o,y:a})}))},n.makeEditable=function(t,e){var n=e.gd,i=e.delegate,o=r.dispatch(\\\"edit\\\",\\\"input\\\",\\\"cancel\\\"),a=i||t;if(t.style({\\\"pointer-events\\\":i?\\\"none\\\":\\\"all\\\"}),1!==t.size())throw new Error(\\\"boo\\\");function s(){var i,s,u,c,h;i=r.select(n).select(\\\".svg-container\\\"),s=i.append(\\\"div\\\"),u=t.node().style,c=parseFloat(u.fontSize||12),void 0===(h=e.text)&&(h=t.attr(\\\"data-unformatted\\\")),s.classed(\\\"plugin-editable editable\\\",!0).style({position:\\\"absolute\\\",\\\"font-family\\\":u.fontFamily||\\\"Arial\\\",\\\"font-size\\\":c,color:e.fill||u.fill||\\\"black\\\",opacity:1,\\\"background-color\\\":e.background||\\\"transparent\\\",outline:\\\"#ffffff33 1px solid\\\",margin:[-c/8+1,0,0,-1].join(\\\"px \\\")+\\\"px\\\",padding:\\\"0\\\",\\\"box-sizing\\\":\\\"border-box\\\"}).attr({contenteditable:!0}).text(h).call(k(t,i,e)).on(\\\"blur\\\",(function(){n._editing=!1,t.text(this.textContent).style({opacity:1});var e,i=r.select(this).attr(\\\"class\\\");(e=i?\\\".\\\"+i.split(\\\" \\\")[0]+\\\"-math-group\\\":\\\"[class*=-math-group]\\\")&&r.select(t.node().parentNode).select(e).style({opacity:0});var a=this.textContent;r.select(this).transition().duration(0).remove(),r.select(document).on(\\\"mouseup\\\",null),o.edit.call(t,a)})).on(\\\"focus\\\",(function(){var t=this;n._editing=!0,r.select(document).on(\\\"mouseup\\\",(function(){if(r.event.target===t)return!1;document.activeElement===s.node()&&s.node().blur()}))})).on(\\\"keyup\\\",(function(){27===r.event.which?(n._editing=!1,t.style({opacity:1}),r.select(this).style({opacity:0}).on(\\\"blur\\\",(function(){return!1})).transition().remove(),o.cancel.call(t,this.textContent)):(o.input.call(t,this.textContent),r.select(this).call(k(t,i,e)))})).on(\\\"keydown\\\",(function(){13===r.event.which&&this.blur()})).call(l),t.style({opacity:0});var p,f=a.attr(\\\"class\\\");(p=f?\\\".\\\"+f.split(\\\" \\\")[0]+\\\"-math-group\\\":\\\"[class*=-math-group]\\\")&&r.select(t.node().parentNode).select(p).style({opacity:0})}function l(t){var e=t.node(),n=document.createRange();n.selectNodeContents(e);var r=window.getSelection();r.removeAllRanges(),r.addRange(n),e.focus()}return e.immediate?s():a.on(\\\"click\\\",s),r.rebind(t,o,\\\"on\\\")}},{\\\"../constants/alignment\\\":697,\\\"../constants/xmlns_namespaces\\\":705,\\\"../lib\\\":728,d3:164}],753:[function(t,e,n){\\\"use strict\\\";var r={};function i(t){t&&null!==t.timer&&(clearTimeout(t.timer),t.timer=null)}n.throttle=function(t,e,n){var o=r[t],a=Date.now();if(!o){for(var s in r)r[s].ts<a-6e4&&delete r[s];o=r[t]={ts:0,timer:null}}function l(){n(),o.ts=Date.now(),o.onDone&&(o.onDone(),o.onDone=null)}i(o),a>o.ts+e?l():o.timer=setTimeout((function(){l(),o.timer=null}),e)},n.done=function(t){var e=r[t];return e&&e.timer?new Promise((function(t){var n=e.onDone;e.onDone=function(){n&&n(),t(),e.onDone=null}})):Promise.resolve()},n.clear=function(t){if(t)i(r[t]),delete r[t];else for(var e in r)n.clear(e)}},{}],754:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\");e.exports=function(t,e){if(t>0)return Math.log(t)/Math.LN10;var n=Math.log(Math.min(e[0],e[1]))/Math.LN10;return r(n)||(n=Math.log(Math.max(e[0],e[1]))/Math.LN10-6),n}},{\\\"fast-isnumeric\\\":236}],755:[function(t,e,n){\\\"use strict\\\";var r=e.exports={},i=t(\\\"../plots/geo/constants\\\").locationmodeToLayer,o=t(\\\"topojson-client\\\").feature;r.getTopojsonName=function(t){return[t.scope.replace(/ /g,\\\"-\\\"),\\\"_\\\",t.resolution.toString(),\\\"m\\\"].join(\\\"\\\")},r.getTopojsonPath=function(t,e){return t+e+\\\".json\\\"},r.getTopojsonFeatures=function(t,e){var n=i[t.locationmode],r=e.objects[n];return o(e,r).features}},{\\\"../plots/geo/constants\\\":806,\\\"topojson-client\\\":531}],756:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"locale\\\",name:\\\"en-US\\\",dictionary:{\\\"Click to enter Colorscale title\\\":\\\"Click to enter Colorscale title\\\"},format:{date:\\\"%m/%d/%Y\\\"}}},{}],757:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"locale\\\",name:\\\"en\\\",dictionary:{\\\"Click to enter Colorscale title\\\":\\\"Click to enter Colourscale title\\\"},format:{days:[\\\"Sunday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],shortDays:[\\\"Sun\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],months:[\\\"January\\\",\\\"February\\\",\\\"March\\\",\\\"April\\\",\\\"May\\\",\\\"June\\\",\\\"July\\\",\\\"August\\\",\\\"September\\\",\\\"October\\\",\\\"November\\\",\\\"December\\\"],shortMonths:[\\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\"],periods:[\\\"AM\\\",\\\"PM\\\"],dateTime:\\\"%a %b %e %X %Y\\\",date:\\\"%d/%m/%Y\\\",time:\\\"%H:%M:%S\\\",decimal:\\\".\\\",thousands:\\\",\\\",grouping:[3],currency:[\\\"$\\\",\\\"\\\"],year:\\\"%Y\\\",month:\\\"%b %Y\\\",dayMonth:\\\"%b %-d\\\",dayMonthYear:\\\"%b %-d, %Y\\\"}}},{}],758:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../registry\\\");e.exports=function(t){for(var e,n,i=r.layoutArrayContainers,o=r.layoutArrayRegexes,a=t.split(\\\"[\\\")[0],s=0;s<o.length;s++)if((n=t.match(o[s]))&&0===n.index){e=n[0];break}if(e||(e=i[i.indexOf(a)]),!e)return!1;var l=t.substr(e.length);return l?!!(n=l.match(/^\\\\[(0|[1-9][0-9]*)\\\\](\\\\.(.+))?$/))&&{array:e,index:Number(n[1]),property:n[3]||\\\"\\\"}:{array:e,index:\\\"\\\",property:\\\"\\\"}}},{\\\"../registry\\\":859}],759:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=r.extendFlat,o=r.isPlainObject,a={valType:\\\"flaglist\\\",extras:[\\\"none\\\"],flags:[\\\"calc\\\",\\\"clearAxisTypes\\\",\\\"plot\\\",\\\"style\\\",\\\"markerSize\\\",\\\"colorbars\\\"]},s={valType:\\\"flaglist\\\",extras:[\\\"none\\\"],flags:[\\\"calc\\\",\\\"plot\\\",\\\"legend\\\",\\\"ticks\\\",\\\"axrange\\\",\\\"layoutstyle\\\",\\\"modebar\\\",\\\"camera\\\",\\\"arraydraw\\\",\\\"colorbars\\\"]},l=a.flags.slice().concat([\\\"fullReplot\\\"]),u=s.flags.slice().concat(\\\"layoutReplot\\\");function c(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!1;return e}function h(t,e,n){var r=i({},t);for(var a in r){var s=r[a];o(s)&&(r[a]=p(s,e,0,a))}return\\\"from-root\\\"===n&&(r.editType=e),r}function p(t,e,n,r){if(t.valType){var o=i({},t);if(o.editType=e,Array.isArray(t.items)){o.items=new Array(t.items.length);for(var a=0;a<t.items.length;a++)o.items[a]=p(t.items[a],e)}return o}return h(t,e,\\\"_\\\"===r.charAt(0)?\\\"nested\\\":\\\"from-root\\\")}e.exports={traces:a,layout:s,traceFlags:function(){return c(l)},layoutFlags:function(){return c(u)},update:function(t,e){var n=e.editType;if(n&&\\\"none\\\"!==n)for(var r=n.split(\\\"+\\\"),i=0;i<r.length;i++)t[r[i]]=!0},overrideAll:h}},{\\\"../lib\\\":728}],760:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"gl-mat4/fromQuat\\\"),o=t(\\\"../registry\\\"),a=t(\\\"../lib\\\"),s=t(\\\"../plots/plots\\\"),l=t(\\\"../plots/cartesian/axis_ids\\\"),u=t(\\\"../components/color\\\"),c=l.cleanId,h=l.getFromTrace,p=o.traceIs;function f(t,e){var n=t[e],r=e.charAt(0);n&&\\\"paper\\\"!==n&&(t[e]=c(n,r))}function d(t){function e(e,n){var r=t[e],i=t.title&&t.title[n];r&&!i&&(t.title||(t.title={}),t.title[n]=t[e],delete t[e])}t&&(\\\"string\\\"!=typeof t.title&&\\\"number\\\"!=typeof t.title||(t.title={text:t.title}),e(\\\"titlefont\\\",\\\"font\\\"),e(\\\"titleposition\\\",\\\"position\\\"),e(\\\"titleside\\\",\\\"side\\\"),e(\\\"titleoffset\\\",\\\"offset\\\"))}function m(t){if(!a.isPlainObject(t))return!1;var e=t.name;return delete t.name,delete t.showlegend,(\\\"string\\\"==typeof e||\\\"number\\\"==typeof e)&&String(e)}function v(t,e,n,r){if(n&&!r)return t;if(r&&!n)return e;if(!t.trim())return e;if(!e.trim())return t;var i,o=Math.min(t.length,e.length);for(i=0;i<o&&t.charAt(i)===e.charAt(i);i++);return t.substr(0,i).trim()}function g(t){var e=\\\"middle\\\",n=\\\"center\\\";return\\\"string\\\"==typeof t&&(-1!==t.indexOf(\\\"top\\\")?e=\\\"top\\\":-1!==t.indexOf(\\\"bottom\\\")&&(e=\\\"bottom\\\"),-1!==t.indexOf(\\\"left\\\")?n=\\\"left\\\":-1!==t.indexOf(\\\"right\\\")&&(n=\\\"right\\\")),e+\\\" \\\"+n}function y(t,e){return e in t&&\\\"object\\\"==typeof t[e]&&0===Object.keys(t[e]).length}n.clearPromiseQueue=function(t){Array.isArray(t._promises)&&t._promises.length>0&&a.log(\\\"Clearing previous rejected promises from queue.\\\"),t._promises=[]},n.cleanLayout=function(t){var e,r;t||(t={}),t.xaxis1&&(t.xaxis||(t.xaxis=t.xaxis1),delete t.xaxis1),t.yaxis1&&(t.yaxis||(t.yaxis=t.yaxis1),delete t.yaxis1),t.scene1&&(t.scene||(t.scene=t.scene1),delete t.scene1);var o=(s.subplotsRegistry.cartesian||{}).attrRegex,l=(s.subplotsRegistry.polar||{}).attrRegex,h=(s.subplotsRegistry.ternary||{}).attrRegex,p=(s.subplotsRegistry.gl3d||{}).attrRegex,m=Object.keys(t);for(e=0;e<m.length;e++){var v=m[e];if(o&&o.test(v)){var g=t[v];g.anchor&&\\\"free\\\"!==g.anchor&&(g.anchor=c(g.anchor)),g.overlaying&&(g.overlaying=c(g.overlaying)),g.type||(g.isdate?g.type=\\\"date\\\":g.islog?g.type=\\\"log\\\":!1===g.isdate&&!1===g.islog&&(g.type=\\\"linear\\\")),\\\"withzero\\\"!==g.autorange&&\\\"tozero\\\"!==g.autorange||(g.autorange=!0,g.rangemode=\\\"tozero\\\"),delete g.islog,delete g.isdate,delete g.categories,y(g,\\\"domain\\\")&&delete g.domain,void 0!==g.autotick&&(void 0===g.tickmode&&(g.tickmode=g.autotick?\\\"auto\\\":\\\"linear\\\"),delete g.autotick),d(g)}else if(l&&l.test(v))d(t[v].radialaxis);else if(h&&h.test(v)){var _=t[v];d(_.aaxis),d(_.baxis),d(_.caxis)}else if(p&&p.test(v)){var b=t[v],x=b.cameraposition;if(Array.isArray(x)&&4===x[0].length){var w=x[0],A=x[1],C=x[2],M=i([],w),E=[];for(r=0;r<3;++r)E[r]=A[r]+C*M[2+4*r];b.camera={eye:{x:E[0],y:E[1],z:E[2]},center:{x:A[0],y:A[1],z:A[2]},up:{x:0,y:0,z:1}},delete b.cameraposition}d(b.xaxis),d(b.yaxis),d(b.zaxis)}}var T=Array.isArray(t.annotations)?t.annotations.length:0;for(e=0;e<T;e++){var S=t.annotations[e];a.isPlainObject(S)&&(S.ref&&(\\\"paper\\\"===S.ref?(S.xref=\\\"paper\\\",S.yref=\\\"paper\\\"):\\\"data\\\"===S.ref&&(S.xref=\\\"x\\\",S.yref=\\\"y\\\"),delete S.ref),f(S,\\\"xref\\\"),f(S,\\\"yref\\\"))}var k=Array.isArray(t.shapes)?t.shapes.length:0;for(e=0;e<k;e++){var O=t.shapes[e];a.isPlainObject(O)&&(f(O,\\\"xref\\\"),f(O,\\\"yref\\\"))}var I=t.legend;return I&&(I.x>3?(I.x=1.02,I.xanchor=\\\"left\\\"):I.x<-2&&(I.x=-.02,I.xanchor=\\\"right\\\"),I.y>3?(I.y=1.02,I.yanchor=\\\"bottom\\\"):I.y<-2&&(I.y=-.02,I.yanchor=\\\"top\\\")),d(t),\\\"rotate\\\"===t.dragmode&&(t.dragmode=\\\"orbit\\\"),u.clean(t),t.template&&t.template.layout&&n.cleanLayout(t.template.layout),t},n.cleanData=function(t){for(var e=0;e<t.length;e++){var r,i=t[e];if(\\\"histogramy\\\"===i.type&&\\\"xbins\\\"in i&&!(\\\"ybins\\\"in i)&&(i.ybins=i.xbins,delete i.xbins),i.error_y&&\\\"opacity\\\"in i.error_y){var l=u.defaults,h=i.error_y.color||(p(i,\\\"bar\\\")?u.defaultLine:l[e%l.length]);i.error_y.color=u.addOpacity(u.rgb(h),u.opacity(h)*i.error_y.opacity),delete i.error_y.opacity}if(\\\"bardir\\\"in i&&(\\\"h\\\"!==i.bardir||!p(i,\\\"bar\\\")&&\\\"histogram\\\"!==i.type.substr(0,9)||(i.orientation=\\\"h\\\",n.swapXYData(i)),delete i.bardir),\\\"histogramy\\\"===i.type&&n.swapXYData(i),\\\"histogramx\\\"!==i.type&&\\\"histogramy\\\"!==i.type||(i.type=\\\"histogram\\\"),\\\"scl\\\"in i&&!(\\\"colorscale\\\"in i)&&(i.colorscale=i.scl,delete i.scl),\\\"reversescl\\\"in i&&!(\\\"reversescale\\\"in i)&&(i.reversescale=i.reversescl,delete i.reversescl),i.xaxis&&(i.xaxis=c(i.xaxis,\\\"x\\\")),i.yaxis&&(i.yaxis=c(i.yaxis,\\\"y\\\")),p(i,\\\"gl3d\\\")&&i.scene&&(i.scene=s.subplotsRegistry.gl3d.cleanId(i.scene)),!p(i,\\\"pie-like\\\")&&!p(i,\\\"bar-like\\\"))if(Array.isArray(i.textposition))for(r=0;r<i.textposition.length;r++)i.textposition[r]=g(i.textposition[r]);else i.textposition&&(i.textposition=g(i.textposition));var f=o.getModule(i);if(f&&f.colorbar){var _=f.colorbar.container,b=_?i[_]:i;b&&b.colorscale&&(\\\"YIGnBu\\\"===b.colorscale&&(b.colorscale=\\\"YlGnBu\\\"),\\\"YIOrRd\\\"===b.colorscale&&(b.colorscale=\\\"YlOrRd\\\"))}if(\\\"surface\\\"===i.type&&a.isPlainObject(i.contours)){var x=[\\\"x\\\",\\\"y\\\",\\\"z\\\"];for(r=0;r<x.length;r++){var w=i.contours[x[r]];a.isPlainObject(w)&&(w.highlightColor&&(w.highlightcolor=w.highlightColor,delete w.highlightColor),w.highlightWidth&&(w.highlightwidth=w.highlightWidth,delete w.highlightWidth))}}if(\\\"candlestick\\\"===i.type||\\\"ohlc\\\"===i.type){var A=!1!==(i.increasing||{}).showlegend,C=!1!==(i.decreasing||{}).showlegend,M=m(i.increasing),E=m(i.decreasing);if(!1!==M&&!1!==E){var T=v(M,E,A,C);T&&(i.name=T)}else!M&&!E||i.name||(i.name=M||E)}if(Array.isArray(i.transforms)){var S=i.transforms;for(r=0;r<S.length;r++){var k=S[r];if(a.isPlainObject(k))switch(k.type){case\\\"filter\\\":k.filtersrc&&(k.target=k.filtersrc,delete k.filtersrc),k.calendar&&(k.valuecalendar||(k.valuecalendar=k.calendar),delete k.calendar);break;case\\\"groupby\\\":if(k.styles=k.styles||k.style,k.styles&&!Array.isArray(k.styles)){var O=k.styles,I=Object.keys(O);k.styles=[];for(var L=0;L<I.length;L++)k.styles.push({target:I[L],value:O[I[L]]})}}}}y(i,\\\"line\\\")&&delete i.line,\\\"marker\\\"in i&&(y(i.marker,\\\"line\\\")&&delete i.marker.line,y(i,\\\"marker\\\")&&delete i.marker),u.clean(i),i.autobinx&&(delete i.autobinx,delete i.xbins),i.autobiny&&(delete i.autobiny,delete i.ybins),d(i),i.colorbar&&d(i.colorbar),i.marker&&i.marker.colorbar&&d(i.marker.colorbar),i.line&&i.line.colorbar&&d(i.line.colorbar),i.aaxis&&d(i.aaxis),i.baxis&&d(i.baxis)}},n.swapXYData=function(t){var e;if(a.swapAttrs(t,[\\\"?\\\",\\\"?0\\\",\\\"d?\\\",\\\"?bins\\\",\\\"nbins?\\\",\\\"autobin?\\\",\\\"?src\\\",\\\"error_?\\\"]),Array.isArray(t.z)&&Array.isArray(t.z[0])&&(t.transpose?delete t.transpose:t.transpose=!0),t.error_x&&t.error_y){var n=t.error_y,r=\\\"copy_ystyle\\\"in n?n.copy_ystyle:!(n.color||n.thickness||n.width);a.swapAttrs(t,[\\\"error_?.copy_ystyle\\\"]),r&&a.swapAttrs(t,[\\\"error_?.color\\\",\\\"error_?.thickness\\\",\\\"error_?.width\\\"])}if(\\\"string\\\"==typeof t.hoverinfo){var i=t.hoverinfo.split(\\\"+\\\");for(e=0;e<i.length;e++)\\\"x\\\"===i[e]?i[e]=\\\"y\\\":\\\"y\\\"===i[e]&&(i[e]=\\\"x\\\");t.hoverinfo=i.join(\\\"+\\\")}},n.coerceTraceIndices=function(t,e){if(r(e))return[e];if(!Array.isArray(e)||!e.length)return t.data.map((function(t,e){return e}));if(Array.isArray(e)){for(var n=[],i=0;i<e.length;i++)a.isIndex(e[i],t.data.length)?n.push(e[i]):a.warn(\\\"trace index (\\\",e[i],\\\") is not a number or is out of bounds\\\");return n}return e},n.manageArrayContainers=function(t,e,n){var i=t.obj,o=t.parts,s=o.length,l=o[s-1],u=r(l);if(u&&null===e){var c=o.slice(0,s-1).join(\\\".\\\");a.nestedProperty(i,c).get().splice(l,1)}else u&&void 0===t.get()?(void 0===t.get()&&(n[t.astr]=null),t.set(e)):t.set(e)};var _=/(\\\\.[^\\\\[\\\\]\\\\.]+|\\\\[[^\\\\[\\\\]\\\\.]+\\\\])$/;function b(t){var e=t.search(_);if(e>0)return t.substr(0,e)}n.hasParent=function(t,e){for(var n=b(e);n;){if(n in t)return!0;n=b(n)}return!1};var x=[\\\"x\\\",\\\"y\\\",\\\"z\\\"];n.clearAxisTypes=function(t,e,n){for(var r=0;r<e.length;r++)for(var i=t._fullData[r],o=0;o<3;o++){var s=h(t,i,x[o]);if(s&&\\\"log\\\"!==s.type){var l=s._name,u=s._id.substr(1);if(\\\"scene\\\"===u.substr(0,5)){if(void 0!==n[u])continue;l=u+\\\".\\\"+l}var c=l+\\\".type\\\";void 0===n[l]&&void 0===n[c]&&a.nestedProperty(t.layout,c).set(null)}}}},{\\\"../components/color\\\":595,\\\"../lib\\\":728,\\\"../plots/cartesian/axis_ids\\\":779,\\\"../plots/plots\\\":839,\\\"../registry\\\":859,\\\"fast-isnumeric\\\":236,\\\"gl-mat4/fromQuat\\\":270}],761:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./plot_api\\\");n.plot=r.plot,n.newPlot=r.newPlot,n.restyle=r.restyle,n.relayout=r.relayout,n.redraw=r.redraw,n.update=r.update,n._guiRestyle=r._guiRestyle,n._guiRelayout=r._guiRelayout,n._guiUpdate=r._guiUpdate,n._storeDirectGUIEdit=r._storeDirectGUIEdit,n.react=r.react,n.extendTraces=r.extendTraces,n.prependTraces=r.prependTraces,n.addTraces=r.addTraces,n.deleteTraces=r.deleteTraces,n.moveTraces=r.moveTraces,n.purge=r.purge,n.addFrames=r.addFrames,n.deleteFrames=r.deleteFrames,n.animate=r.animate,n.setPlotConfig=r.setPlotConfig,n.toImage=t(\\\"./to_image\\\"),n.validate=t(\\\"./validate\\\"),n.downloadImage=t(\\\"../snapshot/download\\\");var i=t(\\\"./template_api\\\");n.makeTemplate=i.makeTemplate,n.validateTemplate=i.validateTemplate},{\\\"../snapshot/download\\\":861,\\\"./plot_api\\\":763,\\\"./template_api\\\":768,\\\"./to_image\\\":769,\\\"./validate\\\":770}],762:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib/is_plain_object\\\"),i=t(\\\"../lib/noop\\\"),o=t(\\\"../lib/loggers\\\"),a=t(\\\"../lib/search\\\").sorterAsc,s=t(\\\"../registry\\\");n.containerArrayMatch=t(\\\"./container_array_match\\\");var l=n.isAddVal=function(t){return\\\"add\\\"===t||r(t)},u=n.isRemoveVal=function(t){return null===t||\\\"remove\\\"===t};n.applyContainerArrayChanges=function(t,e,n,r,c){var h=e.astr,p=s.getComponentMethod(h,\\\"supplyLayoutDefaults\\\"),f=s.getComponentMethod(h,\\\"draw\\\"),d=s.getComponentMethod(h,\\\"drawOne\\\"),m=r.replot||r.recalc||p===i||f===i,v=t.layout,g=t._fullLayout;if(n[\\\"\\\"]){Object.keys(n).length>1&&o.warn(\\\"Full array edits are incompatible with other edits\\\",h);var y=n[\\\"\\\"][\\\"\\\"];if(u(y))e.set(null);else{if(!Array.isArray(y))return o.warn(\\\"Unrecognized full array edit value\\\",h,y),!0;e.set(y)}return!m&&(p(v,g),f(t),!0)}var _,b,x,w,A,C,M,E,T=Object.keys(n).map(Number).sort(a),S=e.get(),k=S||[],O=c(g,h).get(),I=[],L=-1,P=k.length;for(_=0;_<T.length;_++)if(w=n[x=T[_]],A=Object.keys(w),C=w[\\\"\\\"],M=l(C),x<0||x>k.length-(M?0:1))o.warn(\\\"index out of range\\\",h,x);else if(void 0!==C)A.length>1&&o.warn(\\\"Insertion & removal are incompatible with edits to the same index.\\\",h,x),u(C)?I.push(x):M?(\\\"add\\\"===C&&(C={}),k.splice(x,0,C),O&&O.splice(x,0,{})):o.warn(\\\"Unrecognized full object edit value\\\",h,x,C),-1===L&&(L=x);else for(b=0;b<A.length;b++)E=h+\\\"[\\\"+x+\\\"].\\\",c(k[x],A[b],E).set(w[A[b]]);for(_=I.length-1;_>=0;_--)k.splice(I[_],1),O&&O.splice(I[_],1);if(k.length?S||e.set(k):e.set(null),m)return!1;if(p(v,g),d!==i){var z;if(-1===L)z=T;else{for(P=Math.max(k.length,P),z=[],_=0;_<T.length&&!((x=T[_])>=L);_++)z.push(x);for(_=L;_<P;_++)z.push(_)}for(_=0;_<z.length;_++)d(t,z[_])}else f(t);return!0}},{\\\"../lib/is_plain_object\\\":729,\\\"../lib/loggers\\\":732,\\\"../lib/noop\\\":737,\\\"../lib/search\\\":747,\\\"../registry\\\":859,\\\"./container_array_match\\\":758}],763:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"has-hover\\\"),a=t(\\\"../lib\\\"),s=a.nestedProperty,l=t(\\\"../lib/events\\\"),u=t(\\\"../lib/queue\\\"),c=t(\\\"../registry\\\"),h=t(\\\"./plot_schema\\\"),p=t(\\\"../plots/plots\\\"),f=t(\\\"../plots/polar/legacy\\\"),d=t(\\\"../plots/cartesian/axes\\\"),m=t(\\\"../components/drawing\\\"),v=t(\\\"../components/color\\\"),g=t(\\\"../plots/cartesian/graph_interact\\\").initInteractions,y=t(\\\"../constants/xmlns_namespaces\\\"),_=t(\\\"../lib/svg_text_utils\\\"),b=t(\\\"../plots/cartesian/select\\\").clearSelect,x=t(\\\"./plot_config\\\").dfltConfig,w=t(\\\"./manage_arrays\\\"),A=t(\\\"./helpers\\\"),C=t(\\\"./subroutines\\\"),M=t(\\\"./edit_types\\\"),E=t(\\\"../plots/cartesian/constants\\\").AX_NAME_PATTERN,T=0;function S(t){var e=t._fullLayout;e._redrawFromAutoMarginCount?e._redrawFromAutoMarginCount--:t.emit(\\\"plotly_afterplot\\\")}function k(t,e){try{t._fullLayout._paper.style(\\\"background\\\",e)}catch(t){a.error(t)}}function O(t,e){k(t,v.combine(e,\\\"white\\\"))}function I(t,e){if(!t._context){t._context=a.extendDeep({},x);var n=r.select(\\\"base\\\");t._context._baseUrl=n.size()&&n.attr(\\\"href\\\")?window.location.href.split(\\\"#\\\")[0]:\\\"\\\"}var i,s,l,u=t._context;if(e){for(s=Object.keys(e),i=0;i<s.length;i++)\\\"editable\\\"!==(l=s[i])&&\\\"edits\\\"!==l&&l in u&&(\\\"setBackground\\\"===l&&\\\"opaque\\\"===e[l]?u[l]=O:u[l]=e[l]);e.plot3dPixelRatio&&!u.plotGlPixelRatio&&(u.plotGlPixelRatio=u.plot3dPixelRatio);var c=e.editable;if(void 0!==c)for(u.editable=c,s=Object.keys(u.edits),i=0;i<s.length;i++)u.edits[s[i]]=c;if(e.edits)for(s=Object.keys(e.edits),i=0;i<s.length;i++)(l=s[i])in u.edits&&(u.edits[l]=e.edits[l]);u._exportedPlot=e._exportedPlot}u.staticPlot&&(u.editable=!1,u.edits={},u.autosizable=!1,u.scrollZoom=!1,u.doubleClick=!1,u.showTips=!1,u.showLink=!1,u.displayModeBar=!1),\\\"hover\\\"!==u.displayModeBar||o||(u.displayModeBar=!0),\\\"transparent\\\"!==u.setBackground&&\\\"function\\\"==typeof u.setBackground||(u.setBackground=k),u._hasZeroHeight=u._hasZeroHeight||0===t.clientHeight,u._hasZeroWidth=u._hasZeroWidth||0===t.clientWidth;var h=u.scrollZoom,p=u._scrollZoom={};if(!0===h)p.cartesian=1,p.gl3d=1,p.geo=1,p.mapbox=1;else if(\\\"string\\\"==typeof h){var f=h.split(\\\"+\\\");for(i=0;i<f.length;i++)p[f[i]]=1}else!1!==h&&(p.gl3d=1,p.geo=1,p.mapbox=1)}function L(t,e){var n,r,i=e+1,o=[];for(n=0;n<t.length;n++)(r=t[n])<0?o.push(i+r):o.push(r);return o}function P(t,e,n){var r,i;for(r=0;r<e.length;r++){if((i=e[r])!==parseInt(i,10))throw new Error(\\\"all values in \\\"+n+\\\" must be integers\\\");if(i>=t.data.length||i<-t.data.length)throw new Error(n+\\\" must be valid indices for gd.data.\\\");if(e.indexOf(i,r+1)>-1||i>=0&&e.indexOf(-t.data.length+i)>-1||i<0&&e.indexOf(t.data.length+i)>-1)throw new Error(\\\"each index in \\\"+n+\\\" must be unique.\\\")}}function z(t,e,n){if(!Array.isArray(t.data))throw new Error(\\\"gd.data must be an array.\\\");if(void 0===e)throw new Error(\\\"currentIndices is a required argument.\\\");if(Array.isArray(e)||(e=[e]),P(t,e,\\\"currentIndices\\\"),void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&P(t,n,\\\"newIndices\\\"),void 0!==n&&e.length!==n.length)throw new Error(\\\"current and new indices must be of equal length.\\\")}function R(t,e,n,r,o){!function(t,e,n,r){var i=a.isPlainObject(r);if(!Array.isArray(t.data))throw new Error(\\\"gd.data must be an array\\\");if(!a.isPlainObject(e))throw new Error(\\\"update must be a key:value object\\\");if(void 0===n)throw new Error(\\\"indices must be an integer or array of integers\\\");for(var o in P(t,n,\\\"indices\\\"),e){if(!Array.isArray(e[o])||e[o].length!==n.length)throw new Error(\\\"attribute \\\"+o+\\\" must be an array of length equal to indices array length\\\");if(i&&(!(o in r)||!Array.isArray(r[o])||r[o].length!==e[o].length))throw new Error(\\\"when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object\\\")}}(t,e,n,r);for(var l=function(t,e,n,r){var o,l,u,c,h,p=a.isPlainObject(r),f=[];for(var d in Array.isArray(n)||(n=[n]),n=L(n,t.data.length-1),e)for(var m=0;m<n.length;m++){if(o=t.data[n[m]],l=(u=s(o,d)).get(),c=e[d][m],!a.isArrayOrTypedArray(c))throw new Error(\\\"attribute: \\\"+d+\\\" index: \\\"+m+\\\" must be an array\\\");if(!a.isArrayOrTypedArray(l))throw new Error(\\\"cannot extend missing or non-array attribute: \\\"+d);if(l.constructor!==c.constructor)throw new Error(\\\"cannot extend array with an array of a different type: \\\"+d);h=p?r[d][m]:r,i(h)||(h=-1),f.push({prop:u,target:l,insert:c,maxp:Math.floor(h)})}return f}(t,e,n,r),u={},c={},h=0;h<l.length;h++){var p=l[h].prop,f=l[h].maxp,d=o(l[h].target,l[h].insert,f);p.set(d[0]),Array.isArray(u[p.astr])||(u[p.astr]=[]),u[p.astr].push(d[1]),Array.isArray(c[p.astr])||(c[p.astr]=[]),c[p.astr].push(l[h].target.length)}return{update:u,maxPoints:c}}function D(t,e){var n=new t.constructor(t.length+e.length);return n.set(t),n.set(e,t.length),n}function $(t,e,r,i){t=a.getGraphDiv(t),A.clearPromiseQueue(t);var o={};if(\\\"string\\\"==typeof e)o[e]=r;else{if(!a.isPlainObject(e))return a.warn(\\\"Restyle fail.\\\",e,r,i),Promise.reject();o=a.extendFlat({},e),void 0===i&&(i=r)}Object.keys(o).length&&(t.changed=!0);var s=A.coerceTraceIndices(t,i),l=j(t,o,s),c=l.flags;c.calc&&(t.calcdata=void 0),c.clearAxisTypes&&A.clearAxisTypes(t,s,{});var h=[];c.fullReplot?h.push(n.plot):(h.push(p.previousPromises),p.supplyDefaults(t),c.markerSize&&(p.doCalcdata(t),H(h)),c.style&&h.push(C.doTraceStyle),c.colorbars&&h.push(C.doColorBars),h.push(S)),h.push(p.rehover,p.redrag),u.add(t,$,[t,l.undoit,l.traces],$,[t,l.redoit,l.traces]);var f=a.syncOrAsync(h,t);return f&&f.then||(f=Promise.resolve()),f.then((function(){return t.emit(\\\"plotly_restyle\\\",l.eventData),t}))}function B(t){return void 0===t?null:t}function N(t,e){return e?function(e,n,r){var i=s(e,n),o=i.set;return i.set=function(e){F((r||\\\"\\\")+n,i.get(),e,t),o(e)},i}:s}function F(t,e,n,r){if(Array.isArray(e)||Array.isArray(n))for(var i=Array.isArray(e)?e:[],o=Array.isArray(n)?n:[],s=Math.max(i.length,o.length),l=0;l<s;l++)F(t+\\\"[\\\"+l+\\\"]\\\",i[l],o[l],r);else if(a.isPlainObject(e)||a.isPlainObject(n)){var u=a.isPlainObject(e)?e:{},c=a.isPlainObject(n)?n:{},h=a.extendFlat({},u,c);for(var p in h)F(t+\\\".\\\"+p,u[p],c[p],r)}else void 0===r[t]&&(r[t]=B(e))}function j(t,e,n){var r,i=t._fullLayout,o=t._fullData,l=t.data,u=i._guiEditing,f=N(i._preGUI,u),m=a.extendDeepAll({},e);U(e);var v,g=M.traceFlags(),y={},_={};function b(){return n.map((function(){}))}function x(t){var e=d.id2name(t);-1===v.indexOf(e)&&v.push(e)}function w(t){return\\\"LAYOUT\\\"+t+\\\".autorange\\\"}function C(t){return\\\"LAYOUT\\\"+t+\\\".range\\\"}function E(t){for(var e=t;e<o.length;e++)if(o[e]._input===l[t])return o[e]}function T(r,o,a){if(Array.isArray(r))r.forEach((function(t){T(t,o,a)}));else if(!(r in e)&&!A.hasParent(e,r)){var s;if(\\\"LAYOUT\\\"===r.substr(0,6))s=f(t.layout,r.replace(\\\"LAYOUT\\\",\\\"\\\"));else{var c=n[a];s=N(i._tracePreGUI[E(c)._fullInput.uid],u)(l[c],r)}r in _||(_[r]=b()),void 0===_[r][a]&&(_[r][a]=B(s.get())),void 0!==o&&s.set(o)}}function S(t){return function(e){return o[e][t]}}function k(t){return function(e,r){return!1===e?o[n[r]][t]:null}}for(var O in e){if(A.hasParent(e,O))throw new Error(\\\"cannot set \\\"+O+\\\" and a parent attribute simultaneously\\\");var I,L,P,z,R,D,$=e[O];if(\\\"autobinx\\\"!==O&&\\\"autobiny\\\"!==O||(O=O.charAt(O.length-1)+\\\"bins\\\",$=Array.isArray($)?$.map(k(O)):!1===$?n.map(S(O)):null),y[O]=$,\\\"LAYOUT\\\"!==O.substr(0,6)){for(_[O]=b(),r=0;r<n.length;r++)if(I=l[n[r]],L=E(n[r]),z=(P=N(i._tracePreGUI[L._fullInput.uid],u)(I,O)).get(),void 0!==(R=Array.isArray($)?$[r%$.length]:$)){var F=P.parts[P.parts.length-1],j=O.substr(0,O.length-F.length-1),q=j?j+\\\".\\\":\\\"\\\",V=j?s(L,j).get():L;if((D=h.getTraceValObject(L,P.parts))&&D.impliedEdits&&null!==R)for(var H in D.impliedEdits)T(a.relativeAttr(O,H),D.impliedEdits[H],r);else if(\\\"thicknessmode\\\"!==F&&\\\"lenmode\\\"!==F||z===R||\\\"fraction\\\"!==R&&\\\"pixels\\\"!==R||!V){if(\\\"type\\\"===O&&(\\\"pie\\\"===R!=(\\\"pie\\\"===z)||\\\"funnelarea\\\"===R!=(\\\"funnelarea\\\"===z))){var G=\\\"x\\\",W=\\\"y\\\";\\\"bar\\\"!==R&&\\\"bar\\\"!==z||\\\"h\\\"!==I.orientation||(G=\\\"y\\\",W=\\\"x\\\"),a.swapAttrs(I,[\\\"?\\\",\\\"?src\\\"],\\\"labels\\\",G),a.swapAttrs(I,[\\\"d?\\\",\\\"?0\\\"],\\\"label\\\",G),a.swapAttrs(I,[\\\"?\\\",\\\"?src\\\"],\\\"values\\\",W),\\\"pie\\\"===z||\\\"funnelarea\\\"===z?(s(I,\\\"marker.color\\\").set(s(I,\\\"marker.colors\\\").get()),i._pielayer.selectAll(\\\"g.trace\\\").remove()):c.traceIs(I,\\\"cartesian\\\")&&s(I,\\\"marker.colors\\\").set(s(I,\\\"marker.color\\\").get())}}else{var X=i._size,Y=V.orient,Z=\\\"top\\\"===Y||\\\"bottom\\\"===Y;if(\\\"thicknessmode\\\"===F){var K=Z?X.h:X.w;T(q+\\\"thickness\\\",V.thickness*(\\\"fraction\\\"===R?1/K:K),r)}else{var J=Z?X.w:X.h;T(q+\\\"len\\\",V.len*(\\\"fraction\\\"===R?1/J:J),r)}}if(_[O][r]=B(z),-1!==[\\\"swapxy\\\",\\\"swapxyaxes\\\",\\\"orientation\\\",\\\"orientationaxes\\\"].indexOf(O)){if(\\\"orientation\\\"===O){P.set(R);var Q=I.x&&!I.y?\\\"h\\\":\\\"v\\\";if((P.get()||Q)===L.orientation)continue}else\\\"orientationaxes\\\"===O&&(I.orientation={v:\\\"h\\\",h:\\\"v\\\"}[L.orientation]);A.swapXYData(I),g.calc=g.clearAxisTypes=!0}else-1!==p.dataArrayContainers.indexOf(P.parts[0])?(A.manageArrayContainers(P,R,_),g.calc=!0):(D?D.arrayOk&&!c.traceIs(L,\\\"regl\\\")&&(a.isArrayOrTypedArray(R)||a.isArrayOrTypedArray(z))?g.calc=!0:M.update(g,D):g.calc=!0,P.set(R))}if(-1!==[\\\"swapxyaxes\\\",\\\"orientationaxes\\\"].indexOf(O)&&d.swap(t,n),\\\"orientationaxes\\\"===O){var tt=s(t.layout,\\\"hovermode\\\");\\\"x\\\"===tt.get()?tt.set(\\\"y\\\"):\\\"y\\\"===tt.get()?tt.set(\\\"x\\\"):\\\"x unified\\\"===tt.get()?tt.set(\\\"y unified\\\"):\\\"y unified\\\"===tt.get()&&tt.set(\\\"x unified\\\")}if(-1!==[\\\"orientation\\\",\\\"type\\\"].indexOf(O)){for(v=[],r=0;r<n.length;r++){var et=l[n[r]];c.traceIs(et,\\\"cartesian\\\")&&(x(et.xaxis||\\\"x\\\"),x(et.yaxis||\\\"y\\\"))}T(v.map(w),!0,0),T(v.map(C),[0,1],0)}}else P=f(t.layout,O.replace(\\\"LAYOUT\\\",\\\"\\\")),_[O]=[B(P.get())],P.set(Array.isArray($)?$[0]:$),g.calc=!0}return(g.calc||g.plot)&&(g.fullReplot=!0),{flags:g,undoit:_,redoit:y,traces:n,eventData:a.extendDeepNoArrays([],[m,n])}}function U(t){var e,n,r,i=a.counterRegex(\\\"axis\\\",\\\".title\\\",!1,!1),o=/colorbar\\\\.title$/,s=Object.keys(t);for(e=0;e<s.length;e++)n=s[e],r=t[n],\\\"title\\\"!==n&&!i.test(n)&&!o.test(n)||\\\"string\\\"!=typeof r&&\\\"number\\\"!=typeof r?n.indexOf(\\\"titlefont\\\")>-1?l(n,n.replace(\\\"titlefont\\\",\\\"title.font\\\")):n.indexOf(\\\"titleposition\\\")>-1?l(n,n.replace(\\\"titleposition\\\",\\\"title.position\\\")):n.indexOf(\\\"titleside\\\")>-1?l(n,n.replace(\\\"titleside\\\",\\\"title.side\\\")):n.indexOf(\\\"titleoffset\\\")>-1&&l(n,n.replace(\\\"titleoffset\\\",\\\"title.offset\\\")):l(n,n.replace(\\\"title\\\",\\\"title.text\\\"));function l(e,n){t[n]=t[e],delete t[e]}}function q(t,e,n){if(t=a.getGraphDiv(t),A.clearPromiseQueue(t),t.framework&&t.framework.isPolar)return Promise.resolve(t);var r={};if(\\\"string\\\"==typeof e)r[e]=n;else{if(!a.isPlainObject(e))return a.warn(\\\"Relayout fail.\\\",e,n),Promise.reject();r=a.extendFlat({},e)}Object.keys(r).length&&(t.changed=!0);var i=Y(t,r),o=i.flags;o.calc&&(t.calcdata=void 0);var s=[p.previousPromises];o.layoutReplot?s.push(C.layoutReplot):Object.keys(r).length&&(V(t,o,i)||p.supplyDefaults(t),o.legend&&s.push(C.doLegend),o.layoutstyle&&s.push(C.layoutStyles),o.axrange&&H(s,i.rangesAltered),o.ticks&&s.push(C.doTicksRelayout),o.modebar&&s.push(C.doModeBar),o.camera&&s.push(C.doCamera),o.colorbars&&s.push(C.doColorBars),s.push(S)),s.push(p.rehover,p.redrag),u.add(t,q,[t,i.undoit],q,[t,i.redoit]);var l=a.syncOrAsync(s,t);return l&&l.then||(l=Promise.resolve(t)),l.then((function(){return t.emit(\\\"plotly_relayout\\\",i.eventData),t}))}function V(t,e,n){var r=t._fullLayout;if(!e.axrange)return!1;for(var i in e)if(\\\"axrange\\\"!==i&&e[i])return!1;for(var o in n.rangesAltered){var a=d.id2name(o),s=t.layout[a],l=r[a];if(l.autorange=s.autorange,l.range=s.range.slice(),l.cleanRange(),l._matchGroup)for(var u in l._matchGroup)if(u!==o){var c=r[d.id2name(u)];c.autorange=l.autorange,c.range=l.range.slice(),c._input.range=l.range.slice()}}return!0}function H(t,e){var n=e?function(t){var n=[],r=!0;for(var i in e){var o=d.getFromId(t,i);if(n.push(i),o._matchGroup)for(var a in o._matchGroup)e[a]||n.push(a);o.automargin&&(r=!1)}return d.draw(t,n,{skipTitle:r})}:function(t){return d.draw(t,\\\"redraw\\\")};t.push(b,C.doAutoRangeAndConstraints,n,C.drawData,C.finalDraw)}var G=/^[xyz]axis[0-9]*\\\\.range(\\\\[[0|1]\\\\])?$/,W=/^[xyz]axis[0-9]*\\\\.autorange$/,X=/^[xyz]axis[0-9]*\\\\.domain(\\\\[[0|1]\\\\])?$/;function Y(t,e){var n,r,i,o=t.layout,l=t._fullLayout,u=l._guiEditing,p=N(l._preGUI,u),f=Object.keys(e),m=d.list(t),v=a.extendDeepAll({},e),g={};for(U(e),f=Object.keys(e),r=0;r<f.length;r++)if(0===f[r].indexOf(\\\"allaxes\\\")){for(i=0;i<m.length;i++){var y=m[i]._id.substr(1),_=-1!==y.indexOf(\\\"scene\\\")?y+\\\".\\\":\\\"\\\",b=f[r].replace(\\\"allaxes\\\",_+m[i]._name);e[b]||(e[b]=e[f[r]])}delete e[f[r]]}var x=M.layoutFlags(),C={},T={};function S(t,n){if(Array.isArray(t))t.forEach((function(t){S(t,n)}));else if(!(t in e)&&!A.hasParent(e,t)){var r=p(o,t);t in T||(T[t]=B(r.get())),void 0!==n&&r.set(n)}}var k,O={};function I(t){var e=d.name2id(t.split(\\\".\\\")[0]);return O[e]=1,e}for(var L in e){if(A.hasParent(e,L))throw new Error(\\\"cannot set \\\"+L+\\\" and a parent attribute simultaneously\\\");for(var P=p(o,L),z=e[L],R=P.parts.length-1;R>0&&\\\"string\\\"!=typeof P.parts[R];)R--;var D=P.parts[R],$=P.parts[R-1]+\\\".\\\"+D,F=P.parts.slice(0,R).join(\\\".\\\"),j=s(t.layout,F).get(),q=s(l,F).get(),V=P.get();if(void 0!==z){C[L]=z,T[L]=\\\"reverse\\\"===D?z:B(V);var H=h.getLayoutValObject(l,P.parts);if(H&&H.impliedEdits&&null!==z)for(var Y in H.impliedEdits)S(a.relativeAttr(L,Y),H.impliedEdits[Y]);if(-1!==[\\\"width\\\",\\\"height\\\"].indexOf(L))if(z){S(\\\"autosize\\\",null);var K=\\\"height\\\"===L?\\\"width\\\":\\\"height\\\";S(K,l[K])}else l[L]=t._initialAutoSize[L];else if(\\\"autosize\\\"===L)S(\\\"width\\\",z?null:l.width),S(\\\"height\\\",z?null:l.height);else if($.match(G))I($),s(l,F+\\\"._inputRange\\\").set(null);else if($.match(W)){I($),s(l,F+\\\"._inputRange\\\").set(null);var J=s(l,F).get();J._inputDomain&&(J._input.domain=J._inputDomain.slice())}else $.match(X)&&s(l,F+\\\"._inputDomain\\\").set(null);if(\\\"type\\\"===D){var Q=j,tt=\\\"linear\\\"===q.type&&\\\"log\\\"===z,et=\\\"log\\\"===q.type&&\\\"linear\\\"===z;if(tt||et){if(Q&&Q.range)if(q.autorange)tt&&(Q.range=Q.range[1]>Q.range[0]?[1,2]:[2,1]);else{var nt=Q.range[0],rt=Q.range[1];tt?(nt<=0&&rt<=0&&S(F+\\\".autorange\\\",!0),nt<=0?nt=rt/1e6:rt<=0&&(rt=nt/1e6),S(F+\\\".range[0]\\\",Math.log(nt)/Math.LN10),S(F+\\\".range[1]\\\",Math.log(rt)/Math.LN10)):(S(F+\\\".range[0]\\\",Math.pow(10,nt)),S(F+\\\".range[1]\\\",Math.pow(10,rt)))}else S(F+\\\".autorange\\\",!0);Array.isArray(l._subplots.polar)&&l._subplots.polar.length&&l[P.parts[0]]&&\\\"radialaxis\\\"===P.parts[1]&&delete l[P.parts[0]]._subplot.viewInitial[\\\"radialaxis.range\\\"],c.getComponentMethod(\\\"annotations\\\",\\\"convertCoords\\\")(t,q,z,S),c.getComponentMethod(\\\"images\\\",\\\"convertCoords\\\")(t,q,z,S)}else S(F+\\\".autorange\\\",!0),S(F+\\\".range\\\",null);s(l,F+\\\"._inputRange\\\").set(null)}else if(D.match(E)){var it=s(l,L).get(),ot=(z||{}).type;ot&&\\\"-\\\"!==ot||(ot=\\\"linear\\\"),c.getComponentMethod(\\\"annotations\\\",\\\"convertCoords\\\")(t,it,ot,S),c.getComponentMethod(\\\"images\\\",\\\"convertCoords\\\")(t,it,ot,S)}var at=w.containerArrayMatch(L);if(at){n=at.array,r=at.index;var st=at.property,lt=H||{editType:\\\"calc\\\"};\\\"\\\"!==r&&\\\"\\\"===st&&(w.isAddVal(z)?T[L]=null:w.isRemoveVal(z)?T[L]=(s(o,n).get()||[])[r]:a.warn(\\\"unrecognized full object value\\\",e)),M.update(x,lt),g[n]||(g[n]={});var ut=g[n][r];ut||(ut=g[n][r]={}),ut[st]=z,delete e[L]}else\\\"reverse\\\"===D?(j.range?j.range.reverse():(S(F+\\\".autorange\\\",!0),j.range=[1,0]),q.autorange?x.calc=!0:x.plot=!0):(l._has(\\\"scatter-like\\\")&&l._has(\\\"regl\\\")&&\\\"dragmode\\\"===L&&(\\\"lasso\\\"===z||\\\"select\\\"===z)&&\\\"lasso\\\"!==V&&\\\"select\\\"!==V||l._has(\\\"gl2d\\\")?x.plot=!0:H?M.update(x,H):x.calc=!0,P.set(z))}}for(n in g)w.applyContainerArrayChanges(t,p(o,n),g[n],x,p)||(x.plot=!0);var ct=l._axisConstraintGroups||[];for(k in O)for(r=0;r<ct.length;r++){var ht=ct[r];if(ht[k])for(var pt in x.calc=!0,ht)O[pt]||(d.getFromId(t,pt)._constraintShrinkable=!0)}return(Z(t)||e.height||e.width)&&(x.plot=!0),(x.plot||x.calc)&&(x.layoutReplot=!0),{flags:x,rangesAltered:O,undoit:T,redoit:C,eventData:v}}function Z(t){var e=t._fullLayout,n=e.width,r=e.height;return t.layout.autosize&&p.plotAutoSize(t,t.layout,e),e.width!==n||e.height!==r}function K(t,e,r,i){if(t=a.getGraphDiv(t),A.clearPromiseQueue(t),t.framework&&t.framework.isPolar)return Promise.resolve(t);a.isPlainObject(e)||(e={}),a.isPlainObject(r)||(r={}),Object.keys(e).length&&(t.changed=!0),Object.keys(r).length&&(t.changed=!0);var o=A.coerceTraceIndices(t,i),s=j(t,a.extendFlat({},e),o),l=s.flags,c=Y(t,a.extendFlat({},r)),h=c.flags;(l.calc||h.calc)&&(t.calcdata=void 0),l.clearAxisTypes&&A.clearAxisTypes(t,o,r);var f=[];h.layoutReplot?f.push(C.layoutReplot):l.fullReplot?f.push(n.plot):(f.push(p.previousPromises),V(t,h,c)||p.supplyDefaults(t),l.style&&f.push(C.doTraceStyle),(l.colorbars||h.colorbars)&&f.push(C.doColorBars),h.legend&&f.push(C.doLegend),h.layoutstyle&&f.push(C.layoutStyles),h.axrange&&H(f,c.rangesAltered),h.ticks&&f.push(C.doTicksRelayout),h.modebar&&f.push(C.doModeBar),h.camera&&f.push(C.doCamera),f.push(S)),f.push(p.rehover,p.redrag),u.add(t,K,[t,s.undoit,c.undoit,s.traces],K,[t,s.redoit,c.redoit,s.traces]);var d=a.syncOrAsync(f,t);return d&&d.then||(d=Promise.resolve(t)),d.then((function(){return t.emit(\\\"plotly_update\\\",{data:s.eventData,layout:c.eventData}),t}))}function J(t){return function(e){e._fullLayout._guiEditing=!0;var n=t.apply(null,arguments);return e._fullLayout._guiEditing=!1,n}}var Q=[{pattern:/^hiddenlabels/,attr:\\\"legend.uirevision\\\"},{pattern:/^((x|y)axis\\\\d*)\\\\.((auto)?range|title\\\\.text)/},{pattern:/axis\\\\d*\\\\.showspikes$/,attr:\\\"modebar.uirevision\\\"},{pattern:/(hover|drag)mode$/,attr:\\\"modebar.uirevision\\\"},{pattern:/^(scene\\\\d*)\\\\.camera/},{pattern:/^(geo\\\\d*)\\\\.(projection|center|fitbounds)/},{pattern:/^(ternary\\\\d*\\\\.[abc]axis)\\\\.(min|title\\\\.text)$/},{pattern:/^(polar\\\\d*\\\\.radialaxis)\\\\.((auto)?range|angle|title\\\\.text)/},{pattern:/^(polar\\\\d*\\\\.angularaxis)\\\\.rotation/},{pattern:/^(mapbox\\\\d*)\\\\.(center|zoom|bearing|pitch)/},{pattern:/^legend\\\\.(x|y)$/,attr:\\\"editrevision\\\"},{pattern:/^(shapes|annotations)/,attr:\\\"editrevision\\\"},{pattern:/^title\\\\.text$/,attr:\\\"editrevision\\\"}],tt=[{pattern:/^selectedpoints$/,attr:\\\"selectionrevision\\\"},{pattern:/(^|value\\\\.)visible$/,attr:\\\"legend.uirevision\\\"},{pattern:/^dimensions\\\\[\\\\d+\\\\]\\\\.constraintrange/},{pattern:/^node\\\\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\\\\.)name$/},{pattern:/colorbar\\\\.title\\\\.text$/},{pattern:/colorbar\\\\.(x|y)$/,attr:\\\"editrevision\\\"}];function et(t,e){for(var n=0;n<e.length;n++){var r=e[n],i=t.match(r.pattern);if(i)return{head:i[1],attr:r.attr}}}function nt(t,e){var n=s(e,t).get();if(void 0!==n)return n;var r=t.split(\\\".\\\");for(r.pop();r.length>1;)if(r.pop(),void 0!==(n=s(e,r.join(\\\".\\\")+\\\".uirevision\\\").get()))return n;return e.uirevision}function rt(t,e){for(var n=0;n<e.length;n++)if(e[n]._fullInput.uid===t)return n;return-1}function it(t,e,n){for(var r=0;r<e.length;r++)if(e[r].uid===t)return r;return!e[n]||e[n].uid?-1:n}function ot(t,e){var n=a.isPlainObject(t),r=Array.isArray(t);return n||r?(n&&a.isPlainObject(e)||r&&Array.isArray(e))&&JSON.stringify(t)===JSON.stringify(e):t===e}function at(t,e,n,r){var i,o,l,u=r.getValObject,c=r.flags,h=r.immutable,p=r.inArray,f=r.arrayIndex;function d(){var t=i.editType;p&&-1!==t.indexOf(\\\"arraydraw\\\")?a.pushUnique(c.arrays[p],f):(M.update(c,i),\\\"none\\\"!==t&&c.nChanges++,r.transition&&i.anim&&c.nChangesAnim++,(G.test(l)||W.test(l))&&(c.rangesAltered[n[0]]=1),X.test(l)&&s(e,\\\"_inputDomain\\\").set(null),\\\"datarevision\\\"===o&&(c.newDataRevision=1))}function m(t){return\\\"data_array\\\"===t.valType||t.arrayOk}for(o in t){if(c.calc&&!r.transition)return;var v=t[o],g=e[o],y=n.concat(o);if(l=y.join(\\\".\\\"),\\\"_\\\"!==o.charAt(0)&&\\\"function\\\"!=typeof v&&v!==g){if((\\\"tick0\\\"===o||\\\"dtick\\\"===o)&&\\\"geo\\\"!==n[0]){var _=e.tickmode;if(\\\"auto\\\"===_||\\\"array\\\"===_||!_)continue}if((\\\"range\\\"!==o||!e.autorange)&&(\\\"zmin\\\"!==o&&\\\"zmax\\\"!==o||\\\"contourcarpet\\\"!==e.type)&&(i=u(y))&&(!i._compareAsJSON||JSON.stringify(v)!==JSON.stringify(g))){var b,x=i.valType,w=m(i),A=Array.isArray(v),C=Array.isArray(g);if(A&&C){var E=\\\"_input_\\\"+o,T=t[E],S=e[E];if(Array.isArray(T)&&T===S)continue}if(void 0===g)w&&A?c.calc=!0:d();else if(i._isLinkedToArray){var k=[],O=!1;p||(c.arrays[o]=k);var I=Math.min(v.length,g.length),L=Math.max(v.length,g.length);if(I!==L){if(\\\"arraydraw\\\"!==i.editType){d();continue}O=!0}for(b=0;b<I;b++)at(v[b],g[b],y.concat(b),a.extendFlat({inArray:o,arrayIndex:b},r));if(O)for(b=I;b<L;b++)k.push(b)}else!x&&a.isPlainObject(v)?at(v,g,y,r):w?A&&C?(h&&(c.calc=!0),(h||r.newDataRevision)&&d()):A!==C?c.calc=!0:d():A&&C&&v.length===g.length&&String(v)===String(g)||d()}}}for(o in e)if(!(o in t)&&\\\"_\\\"!==o.charAt(0)&&\\\"function\\\"!=typeof e[o]){if(m(i=u(n.concat(o)))&&Array.isArray(e[o]))return void(c.calc=!0);d()}}function st(t,e){var n;for(n in t)if(\\\"_\\\"!==n.charAt(0)){var r=t[n],i=e[n];if(r!==i)if(a.isPlainObject(r)&&a.isPlainObject(i)){if(st(r,i))return!0}else{if(!Array.isArray(r)||!Array.isArray(i))return!0;if(r.length!==i.length)return!0;for(var o=0;o<r.length;o++)if(r[o]!==i[o]){if(!a.isPlainObject(r[o])||!a.isPlainObject(i[o]))return!0;if(st(r[o],i[o]))return!0}}}}function lt(t){var e=r.select(t),n=t._fullLayout;if(n._container=e.selectAll(\\\".plot-container\\\").data([0]),n._container.enter().insert(\\\"div\\\",\\\":first-child\\\").classed(\\\"plot-container\\\",!0).classed(\\\"plotly\\\",!0),n._paperdiv=n._container.selectAll(\\\".svg-container\\\").data([0]),n._paperdiv.enter().append(\\\"div\\\").classed(\\\"svg-container\\\",!0).style(\\\"position\\\",\\\"relative\\\"),n._glcontainer=n._paperdiv.selectAll(\\\".gl-container\\\").data([{}]),n._glcontainer.enter().append(\\\"div\\\").classed(\\\"gl-container\\\",!0),n._paperdiv.selectAll(\\\".main-svg\\\").remove(),n._paperdiv.select(\\\".modebar-container\\\").remove(),n._paper=n._paperdiv.insert(\\\"svg\\\",\\\":first-child\\\").classed(\\\"main-svg\\\",!0),n._toppaper=n._paperdiv.append(\\\"svg\\\").classed(\\\"main-svg\\\",!0),n._modebardiv=n._paperdiv.append(\\\"div\\\"),n._hoverpaper=n._paperdiv.append(\\\"svg\\\").classed(\\\"main-svg\\\",!0),!n._uid){var i={};r.selectAll(\\\"defs\\\").each((function(){this.id&&(i[this.id.split(\\\"-\\\")[1]]=1)})),n._uid=a.randstr(i)}n._paperdiv.selectAll(\\\".main-svg\\\").attr(y.svgAttrs),n._defs=n._paper.append(\\\"defs\\\").attr(\\\"id\\\",\\\"defs-\\\"+n._uid),n._clips=n._defs.append(\\\"g\\\").classed(\\\"clips\\\",!0),n._topdefs=n._toppaper.append(\\\"defs\\\").attr(\\\"id\\\",\\\"topdefs-\\\"+n._uid),n._topclips=n._topdefs.append(\\\"g\\\").classed(\\\"clips\\\",!0),n._bgLayer=n._paper.append(\\\"g\\\").classed(\\\"bglayer\\\",!0),n._draggers=n._paper.append(\\\"g\\\").classed(\\\"draglayer\\\",!0);var o=n._paper.append(\\\"g\\\").classed(\\\"layer-below\\\",!0);n._imageLowerLayer=o.append(\\\"g\\\").classed(\\\"imagelayer\\\",!0),n._shapeLowerLayer=o.append(\\\"g\\\").classed(\\\"shapelayer\\\",!0),n._cartesianlayer=n._paper.append(\\\"g\\\").classed(\\\"cartesianlayer\\\",!0),n._polarlayer=n._paper.append(\\\"g\\\").classed(\\\"polarlayer\\\",!0),n._ternarylayer=n._paper.append(\\\"g\\\").classed(\\\"ternarylayer\\\",!0),n._geolayer=n._paper.append(\\\"g\\\").classed(\\\"geolayer\\\",!0),n._funnelarealayer=n._paper.append(\\\"g\\\").classed(\\\"funnelarealayer\\\",!0),n._pielayer=n._paper.append(\\\"g\\\").classed(\\\"pielayer\\\",!0),n._treemaplayer=n._paper.append(\\\"g\\\").classed(\\\"treemaplayer\\\",!0),n._sunburstlayer=n._paper.append(\\\"g\\\").classed(\\\"sunburstlayer\\\",!0),n._indicatorlayer=n._toppaper.append(\\\"g\\\").classed(\\\"indicatorlayer\\\",!0),n._glimages=n._paper.append(\\\"g\\\").classed(\\\"glimages\\\",!0);var s=n._toppaper.append(\\\"g\\\").classed(\\\"layer-above\\\",!0);n._imageUpperLayer=s.append(\\\"g\\\").classed(\\\"imagelayer\\\",!0),n._shapeUpperLayer=s.append(\\\"g\\\").classed(\\\"shapelayer\\\",!0),n._infolayer=n._toppaper.append(\\\"g\\\").classed(\\\"infolayer\\\",!0),n._menulayer=n._toppaper.append(\\\"g\\\").classed(\\\"menulayer\\\",!0),n._zoomlayer=n._toppaper.append(\\\"g\\\").classed(\\\"zoomlayer\\\",!0),n._hoverlayer=n._hoverpaper.append(\\\"g\\\").classed(\\\"hoverlayer\\\",!0),n._modebardiv.classed(\\\"modebar-container\\\",!0).style(\\\"position\\\",\\\"absolute\\\").style(\\\"top\\\",\\\"0px\\\").style(\\\"right\\\",\\\"0px\\\"),t.emit(\\\"plotly_framework\\\")}n.animate=function(t,e,n){if(t=a.getGraphDiv(t),!a.isPlotDiv(t))throw new Error(\\\"This element is not a Plotly plot: \\\"+t+\\\". It's likely that you've failed to create a plot before animating it. For more details, see https://plotly.com/javascript/animations/\\\");var r=t._transitionData;r._frameQueue||(r._frameQueue=[]);var i=(n=p.supplyAnimationDefaults(n)).transition,o=n.frame;function s(t){return Array.isArray(i)?t>=i.length?i[0]:i[t]:i}function l(t){return Array.isArray(o)?t>=o.length?o[0]:o[t]:o}function u(t,e){var n=0;return function(){if(t&&++n===e)return t()}}return void 0===r._frameWaitingCnt&&(r._frameWaitingCnt=0),new Promise((function(o,c){function h(){r._currentFrame&&r._currentFrame.onComplete&&r._currentFrame.onComplete();var e=r._currentFrame=r._frameQueue.shift();if(e){var n=e.name?e.name.toString():null;t._fullLayout._currentFrame=n,r._lastFrameAt=Date.now(),r._timeToNext=e.frameOpts.duration,p.transition(t,e.frame.data,e.frame.layout,A.coerceTraceIndices(t,e.frame.traces),e.frameOpts,e.transitionOpts).then((function(){e.onComplete&&e.onComplete()})),t.emit(\\\"plotly_animatingframe\\\",{name:n,frame:e.frame,animation:{frame:e.frameOpts,transition:e.transitionOpts}})}else t.emit(\\\"plotly_animated\\\"),window.cancelAnimationFrame(r._animationRaf),r._animationRaf=null}function f(){t.emit(\\\"plotly_animating\\\"),r._lastFrameAt=-1/0,r._timeToNext=0,r._runningTransitions=0,r._currentFrame=null;var e=function(){r._animationRaf=window.requestAnimationFrame(e),Date.now()-r._lastFrameAt>r._timeToNext&&h()};e()}var d,m,v=0;function g(t){return Array.isArray(i)?v>=i.length?t.transitionOpts=i[v]:t.transitionOpts=i[0]:t.transitionOpts=i,v++,t}var y=[],_=null==e,b=Array.isArray(e);if(_||b||!a.isPlainObject(e)){if(_||-1!==[\\\"string\\\",\\\"number\\\"].indexOf(typeof e))for(d=0;d<r._frames.length;d++)(m=r._frames[d])&&(_||String(m.group)===String(e))&&y.push({type:\\\"byname\\\",name:String(m.name),data:g({name:m.name})});else if(b)for(d=0;d<e.length;d++){var x=e[d];-1!==[\\\"number\\\",\\\"string\\\"].indexOf(typeof x)?(x=String(x),y.push({type:\\\"byname\\\",name:x,data:g({name:x})})):a.isPlainObject(x)&&y.push({type:\\\"object\\\",data:g(a.extendFlat({},x))})}}else y.push({type:\\\"object\\\",data:g(a.extendFlat({},e))});for(d=0;d<y.length;d++)if(\\\"byname\\\"===(m=y[d]).type&&!r._frameHash[m.data.name])return a.warn('animate failure: frame not found: \\\"'+m.data.name+'\\\"'),void c();-1!==[\\\"next\\\",\\\"immediate\\\"].indexOf(n.mode)&&function(){if(0!==r._frameQueue.length){for(;r._frameQueue.length;){var e=r._frameQueue.pop();e.onInterrupt&&e.onInterrupt()}t.emit(\\\"plotly_animationinterrupted\\\",[])}}(),\\\"reverse\\\"===n.direction&&y.reverse();var w=t._fullLayout._currentFrame;if(w&&n.fromcurrent){var C=-1;for(d=0;d<y.length;d++)if(\\\"byname\\\"===(m=y[d]).type&&m.name===w){C=d;break}if(C>0&&C<y.length-1){var M=[];for(d=0;d<y.length;d++)m=y[d],(\\\"byname\\\"!==y[d].type||d>C)&&M.push(m);y=M}}y.length>0?function(e){if(0!==e.length){for(var i=0;i<e.length;i++){var a;a=\\\"byname\\\"===e[i].type?p.computeFrame(t,e[i].name):e[i].data;var h=l(i),d=s(i);d.duration=Math.min(d.duration,h.duration);var m={frame:a,name:e[i].name,frameOpts:h,transitionOpts:d};i===e.length-1&&(m.onComplete=u(o,2),m.onInterrupt=c),r._frameQueue.push(m)}\\\"immediate\\\"===n.mode&&(r._lastFrameAt=-1/0),r._animationRaf||f()}}(y):(t.emit(\\\"plotly_animated\\\"),o())}))},n.addFrames=function(t,e,n){if(t=a.getGraphDiv(t),null==e)return Promise.resolve();if(!a.isPlotDiv(t))throw new Error(\\\"This element is not a Plotly plot: \\\"+t+\\\". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/\\\");var r,i,o,s,l=t._transitionData._frames,c=t._transitionData._frameHash;if(!Array.isArray(e))throw new Error(\\\"addFrames failure: frameList must be an Array of frame definitions\\\"+e);var h=l.length+2*e.length,f=[],d={};for(r=e.length-1;r>=0;r--)if(a.isPlainObject(e[r])){var m=e[r].name,v=(c[m]||d[m]||{}).name,g=e[r].name,y=c[v]||d[v];v&&g&&\\\"number\\\"==typeof g&&y&&T<5&&(T++,a.warn('addFrames: overwriting frame \\\"'+(c[v]||d[v]).name+'\\\" with a frame whose name of type \\\"number\\\" also equates to \\\"'+v+'\\\". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===T&&a.warn(\\\"addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.\\\")),d[m]={name:m},f.push({frame:p.supplyFrameDefaults(e[r]),index:n&&void 0!==n[r]&&null!==n[r]?n[r]:h+r})}f.sort((function(t,e){return t.index>e.index?-1:t.index<e.index?1:0}));var _=[],b=[],x=l.length;for(r=f.length-1;r>=0;r--){if(\\\"number\\\"==typeof(i=f[r].frame).name&&a.warn(\\\"Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings\\\"),!i.name)for(;c[i.name=\\\"frame \\\"+t._transitionData._counter++];);if(c[i.name]){for(o=0;o<l.length&&(l[o]||{}).name!==i.name;o++);_.push({type:\\\"replace\\\",index:o,value:i}),b.unshift({type:\\\"replace\\\",index:o,value:l[o]})}else s=Math.max(0,Math.min(f[r].index,x)),_.push({type:\\\"insert\\\",index:s,value:i}),b.unshift({type:\\\"delete\\\",index:s}),x++}var w=p.modifyFrames,A=p.modifyFrames,C=[t,b],M=[t,_];return u&&u.add(t,w,C,A,M),p.modifyFrames(t,_)},n.deleteFrames=function(t,e){if(t=a.getGraphDiv(t),!a.isPlotDiv(t))throw new Error(\\\"This element is not a Plotly plot: \\\"+t);var n,r,i=t._transitionData._frames,o=[],s=[];if(!e)for(e=[],n=0;n<i.length;n++)e.push(n);for((e=e.slice()).sort(),n=e.length-1;n>=0;n--)r=e[n],o.push({type:\\\"delete\\\",index:r}),s.unshift({type:\\\"insert\\\",index:r,value:i[r]});var l=p.modifyFrames,c=p.modifyFrames,h=[t,s],f=[t,o];return u&&u.add(t,l,h,c,f),p.modifyFrames(t,o)},n.addTraces=function t(e,r,i){e=a.getGraphDiv(e);var o,s,l=[],c=n.deleteTraces,h=t,p=[e,l],f=[e,r];for(function(t,e,n){var r,i;if(!Array.isArray(t.data))throw new Error(\\\"gd.data must be an array.\\\");if(void 0===e)throw new Error(\\\"traces must be defined.\\\");for(Array.isArray(e)||(e=[e]),r=0;r<e.length;r++)if(\\\"object\\\"!=typeof(i=e[r])||Array.isArray(i)||null===i)throw new Error(\\\"all values in traces array must be non-array objects\\\");if(void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&n.length!==e.length)throw new Error(\\\"if indices is specified, traces.length must equal indices.length\\\")}(e,r,i),Array.isArray(r)||(r=[r]),r=r.map((function(t){return a.extendFlat({},t)})),A.cleanData(r),o=0;o<r.length;o++)e.data.push(r[o]);for(o=0;o<r.length;o++)l.push(-r.length+o);if(void 0===i)return s=n.redraw(e),u.add(e,c,p,h,f),s;Array.isArray(i)||(i=[i]);try{z(e,l,i)}catch(t){throw e.data.splice(e.data.length-r.length,r.length),t}return u.startSequence(e),u.add(e,c,p,h,f),s=n.moveTraces(e,l,i),u.stopSequence(e),s},n.deleteTraces=function t(e,r){e=a.getGraphDiv(e);var i,o,s=[],l=n.addTraces,c=t,h=[e,s,r],p=[e,r];if(void 0===r)throw new Error(\\\"indices must be an integer or array of integers.\\\");for(Array.isArray(r)||(r=[r]),P(e,r,\\\"indices\\\"),(r=L(r,e.data.length-1)).sort(a.sorterDes),i=0;i<r.length;i+=1)o=e.data.splice(r[i],1)[0],s.push(o);var f=n.redraw(e);return u.add(e,l,h,c,p),f},n.extendTraces=function t(e,r,i,o){function s(t,e,n){var r,i;if(a.isTypedArray(t))if(n<0){var o=new t.constructor(0),s=D(t,e);n<0?(r=s,i=o):(r=o,i=s)}else if(r=new t.constructor(n),i=new t.constructor(t.length+e.length-n),n===e.length)r.set(e),i.set(t);else if(n<e.length){var l=e.length-n;r.set(e.subarray(l)),i.set(t),i.set(e.subarray(0,l),t.length)}else{var u=n-e.length,c=t.length-u;r.set(t.subarray(c)),r.set(e,u),i.set(t.subarray(0,c))}else r=t.concat(e),i=n>=0&&n<r.length?r.splice(0,r.length-n):[];return[r,i]}var l=R(e=a.getGraphDiv(e),r,i,o,s),c=n.redraw(e),h=[e,l.update,i,l.maxPoints];return u.add(e,n.prependTraces,h,t,arguments),c},n.moveTraces=function t(e,r,i){var o,s=[],l=[],c=t,h=t,p=[e=a.getGraphDiv(e),i,r],f=[e,r,i];if(z(e,r,i),r=Array.isArray(r)?r:[r],void 0===i)for(i=[],o=0;o<r.length;o++)i.push(-r.length+o);for(i=Array.isArray(i)?i:[i],r=L(r,e.data.length-1),i=L(i,e.data.length-1),o=0;o<e.data.length;o++)-1===r.indexOf(o)&&s.push(e.data[o]);for(o=0;o<r.length;o++)l.push({newIndex:i[o],trace:e.data[r[o]]});for(l.sort((function(t,e){return t.newIndex-e.newIndex})),o=0;o<l.length;o+=1)s.splice(l[o].newIndex,0,l[o].trace);e.data=s;var d=n.redraw(e);return u.add(e,c,p,h,f),d},n.prependTraces=function t(e,r,i,o){function s(t,e,n){var r,i;if(a.isTypedArray(t))if(n<=0){var o=new t.constructor(0),s=D(e,t);n<0?(r=s,i=o):(r=o,i=s)}else if(r=new t.constructor(n),i=new t.constructor(t.length+e.length-n),n===e.length)r.set(e),i.set(t);else if(n<e.length){var l=e.length-n;r.set(e.subarray(0,l)),i.set(e.subarray(l)),i.set(t,l)}else{var u=n-e.length;r.set(e),r.set(t.subarray(0,u),e.length),i.set(t.subarray(u))}else r=e.concat(t),i=n>=0&&n<r.length?r.splice(n,r.length):[];return[r,i]}var l=R(e=a.getGraphDiv(e),r,i,o,s),c=n.redraw(e),h=[e,l.update,i,l.maxPoints];return u.add(e,n.extendTraces,h,t,arguments),c},n.newPlot=function(t,e,r,i){return t=a.getGraphDiv(t),p.cleanPlot([],{},t._fullData||[],t._fullLayout||{}),p.purge(t),n.plot(t,e,r,i)},n.plot=function(t,e,i,o){var s;if(t=a.getGraphDiv(t),l.init(t),a.isPlainObject(e)){var u=e;e=u.data,i=u.layout,o=u.config,s=u.frames}if(!1===l.triggerHandler(t,\\\"plotly_beforeplot\\\",[e,i,o]))return Promise.reject();e||i||a.isPlotDiv(t)||a.warn(\\\"Calling Plotly.plot as if redrawing but this container doesn't yet have a plot.\\\",t),I(t,o),i||(i={}),r.select(t).classed(\\\"js-plotly-plot\\\",!0),m.makeTester(),Array.isArray(t._promises)||(t._promises=[]);var h=0===(t.data||[]).length&&Array.isArray(e);Array.isArray(e)&&(A.cleanData(e),h?t.data=e:t.data.push.apply(t.data,e),t.empty=!1),t.layout&&!h||(t.layout=A.cleanLayout(i)),p.supplyDefaults(t);var v=t._fullLayout,y=v._has(\\\"cartesian\\\");if(!v._has(\\\"polar\\\")&&e&&e[0]&&e[0].r)return a.log(\\\"Legacy polar charts are deprecated!\\\"),function(t,e,n){var i=r.select(t).selectAll(\\\".plot-container\\\").data([0]);i.enter().insert(\\\"div\\\",\\\":first-child\\\").classed(\\\"plot-container plotly\\\",!0);var o=i.selectAll(\\\".svg-container\\\").data([0]);o.enter().append(\\\"div\\\").classed(\\\"svg-container\\\",!0).style(\\\"position\\\",\\\"relative\\\"),o.html(\\\"\\\"),e&&(t.data=e),n&&(t.layout=n),f.manager.fillLayout(t),o.style({width:t._fullLayout.width+\\\"px\\\",height:t._fullLayout.height+\\\"px\\\"}),t.framework=f.manager.framework(t),t.framework({data:t.data,layout:t.layout},o.node()),t.framework.setUndoPoint();var s=t.framework.svg(),l=1,u=t._fullLayout.title?t._fullLayout.title.text:\\\"\\\";\\\"\\\"!==u&&u||(l=0);var c=function(){this.call(_.convertToTspans,t)},h=s.select(\\\".title-group text\\\").call(c);if(t._context.edits.titleText){var d=a._(t,\\\"Click to enter Plot title\\\");u&&u!==d||(l=.2,h.attr({\\\"data-unformatted\\\":d}).text(d).style({opacity:l}).on(\\\"mouseover.opacity\\\",(function(){r.select(this).transition().duration(100).style(\\\"opacity\\\",1)})).on(\\\"mouseout.opacity\\\",(function(){r.select(this).transition().duration(1e3).style(\\\"opacity\\\",0)})));var m=function(){this.call(_.makeEditable,{gd:t}).on(\\\"edit\\\",(function(e){t.framework({layout:{title:{text:e}}}),this.text(e).call(c),this.call(m)})).on(\\\"cancel\\\",(function(){var t=this.attr(\\\"data-unformatted\\\");this.text(t).call(c)}))};h.call(m)}return t._context.setBackground(t,t._fullLayout.paper_bgcolor),p.addLinks(t),Promise.resolve()}(t,e,i);v._replotting=!0,(h||v._shouldCreateBgLayer)&&(lt(t),v._shouldCreateBgLayer&&delete v._shouldCreateBgLayer),t.framework!==lt&&(t.framework=lt,lt(t)),m.initGradients(t),h&&d.saveShowSpikeInitial(t);var b=!t.calcdata||t.calcdata.length!==(t._fullData||[]).length;b&&p.doCalcdata(t);for(var x=0;x<t.calcdata.length;x++)t.calcdata[x][0].trace=t._fullData[x];t._context.responsive?t._responsiveChartHandler||(t._responsiveChartHandler=function(){a.isHidden(t)||p.resize(t)},window.addEventListener(\\\"resize\\\",t._responsiveChartHandler)):a.clearResponsive(t);var w=a.extendFlat({},v._size),M=0;function E(){if(p.clearAutoMarginIds(t),C.drawMarginPushers(t),d.allowAutoMargin(t),v._has(\\\"pie\\\"))for(var e=t._fullData,n=0;n<e.length;n++){var r=e[n];\\\"pie\\\"===r.type&&r.automargin&&p.allowAutoMargin(t,\\\"pie.\\\"+r.uid+\\\".automargin\\\")}return p.doAutoMargin(t),p.previousPromises(t)}function T(){t._transitioning||(C.doAutoRangeAndConstraints(t),h&&d.saveRangeInitial(t),c.getComponentMethod(\\\"rangeslider\\\",\\\"calcAutorange\\\")(t))}var k=[p.previousPromises,function(){if(s)return n.addFrames(t,s)},function e(){for(var n=v._basePlotModules,r=0;r<n.length;r++)n[r].drawFramework&&n[r].drawFramework(t);if(!v._glcanvas&&v._has(\\\"gl\\\")&&(v._glcanvas=v._glcontainer.selectAll(\\\".gl-canvas\\\").data([{key:\\\"contextLayer\\\",context:!0,pick:!1},{key:\\\"focusLayer\\\",context:!1,pick:!1},{key:\\\"pickLayer\\\",context:!1,pick:!0}],(function(t){return t.key})),v._glcanvas.enter().append(\\\"canvas\\\").attr(\\\"class\\\",(function(t){return\\\"gl-canvas gl-canvas-\\\"+t.key.replace(\\\"Layer\\\",\\\"\\\")})).style({position:\\\"absolute\\\",top:0,left:0,overflow:\\\"visible\\\",\\\"pointer-events\\\":\\\"none\\\"})),v._glcanvas){v._glcanvas.attr(\\\"width\\\",v.width).attr(\\\"height\\\",v.height);var i=v._glcanvas.data()[0].regl;if(i&&(Math.floor(v.width)!==i._gl.drawingBufferWidth||Math.floor(v.height)!==i._gl.drawingBufferHeight)){var o=\\\"WebGL context buffer and canvas dimensions do not match due to browser/WebGL bug.\\\";if(!M)return a.log(o+\\\" Clearing graph and plotting again.\\\"),p.cleanPlot([],{},t._fullData,v),p.supplyDefaults(t),v=t._fullLayout,p.doCalcdata(t),M++,e();a.error(o)}}return\\\"h\\\"===v.modebar.orientation?v._modebardiv.style(\\\"height\\\",null).style(\\\"width\\\",\\\"100%\\\"):v._modebardiv.style(\\\"width\\\",null).style(\\\"height\\\",v.height+\\\"px\\\"),p.previousPromises(t)},E,function(){if(p.didMarginChange(w,v._size))return a.syncOrAsync([E,C.layoutStyles],t)}];y&&k.push((function(){if(b)return a.syncOrAsync([c.getComponentMethod(\\\"shapes\\\",\\\"calcAutorange\\\"),c.getComponentMethod(\\\"annotations\\\",\\\"calcAutorange\\\"),T],t);T()})),k.push(C.layoutStyles),y&&k.push((function(){return d.draw(t,h?\\\"\\\":\\\"redraw\\\")})),k.push(C.drawData,C.finalDraw,g,p.addLinks,p.rehover,p.redrag,p.doAutoMargin,p.previousPromises);var O=a.syncOrAsync(k,t);return O&&O.then||(O=Promise.resolve()),O.then((function(){return S(t),t}))},n.purge=function(t){var e=(t=a.getGraphDiv(t))._fullLayout||{},n=t._fullData||[];return p.cleanPlot([],{},n,e),p.purge(t),l.purge(t),e._container&&e._container.remove(),delete t._context,t},n.react=function(t,e,r,i){var o,l;t=a.getGraphDiv(t),A.clearPromiseQueue(t);var u=t._fullData,f=t._fullLayout;if(a.isPlotDiv(t)&&u&&f){if(a.isPlainObject(e)){var d=e;e=d.data,r=d.layout,i=d.config,o=d.frames}var m=!1;if(i){var v=a.extendDeep({},t._context);t._context=void 0,I(t,i),m=st(v,t._context)}t.data=e||[],A.cleanData(t.data),t.layout=r||{},A.cleanLayout(t.layout),function(t,e,n,r){var i,o,l,u,c,h,p,f,d=r._preGUI,m=[],v={};for(i in d){if(c=et(i,Q)){if(o=c.attr||c.head+\\\".uirevision\\\",(u=(l=s(r,o).get())&&nt(o,e))&&u===l&&(null===(h=d[i])&&(h=void 0),ot(f=(p=s(e,i)).get(),h))){void 0===f&&\\\"autorange\\\"===i.substr(i.length-9)&&m.push(i.substr(0,i.length-10)),p.set(B(s(r,i).get()));continue}}else a.warn(\\\"unrecognized GUI edit: \\\"+i);delete d[i],\\\"range[\\\"===i.substr(i.length-8,6)&&(v[i.substr(0,i.length-9)]=1)}for(var g=0;g<m.length;g++){var y=m[g];if(v[y]){var _=s(e,y).get();_&&delete _.autorange}}var b=r._tracePreGUI;for(var x in b){var w,A=b[x],C=null;for(i in A){if(!C){var M=rt(x,n);if(M<0){delete b[x];break}var E=it(x,t,(w=n[M]._fullInput).index);if(E<0){delete b[x];break}C=t[E]}if(c=et(i,tt)){if(c.attr?u=(l=s(r,c.attr).get())&&nt(c.attr,e):(l=w.uirevision,void 0===(u=C.uirevision)&&(u=e.uirevision)),u&&u===l&&(null===(h=A[i])&&(h=void 0),ot(f=(p=s(C,i)).get(),h))){p.set(B(s(w,i).get()));continue}}else a.warn(\\\"unrecognized GUI edit: \\\"+i+\\\" in trace uid \\\"+x);delete A[i]}}}(t.data,t.layout,u,f);for(var g=Object.getOwnPropertyNames(f),y=0;y<g.length;y++){var _=g[y],b=_.substring(0,5);if(\\\"xaxis\\\"===b||\\\"yaxis\\\"===b){var x=f[_]._emptyCategories;x&&x()}}p.supplyDefaults(t,{skipUpdateCalc:!0});var w=t._fullData,E=t._fullLayout,T=void 0===E.datarevision,k=E.transition,O=function(t,e,n,r,i){var o=M.layoutFlags();function a(t){return h.getLayoutValObject(n,t)}return o.arrays={},o.rangesAltered={},o.nChanges=0,o.nChangesAnim=0,at(e,n,[],{getValObject:a,flags:o,immutable:r,transition:i,gd:t}),(o.plot||o.calc)&&(o.layoutReplot=!0),i&&o.nChanges&&o.nChangesAnim&&(o.anim=o.nChanges===o.nChangesAnim?\\\"all\\\":\\\"some\\\"),o}(t,f,E,T,k),L=O.newDataRevision,P=function(t,e,n,r,i,o){var a=e.length===n.length;if(!i&&!a)return{fullReplot:!0,calc:!0};var s,l,u=M.traceFlags();function c(t){var e=h.getTraceValObject(l,t);return!l._module.animatable&&e.anim&&(e.anim=!1),e}u.arrays={},u.nChanges=0,u.nChangesAnim=0;var f={getValObject:c,flags:u,immutable:r,transition:i,newDataRevision:o,gd:t},d={};for(s=0;s<e.length;s++)if(n[s]){if(l=n[s]._fullInput,p.hasMakesDataTransform(l)&&(l=n[s]),d[l.uid])continue;d[l.uid]=1,at(e[s]._fullInput,l,[],f)}return(u.calc||u.plot)&&(u.fullReplot=!0),i&&u.nChanges&&u.nChangesAnim&&(u.anim=u.nChanges===u.nChangesAnim&&a?\\\"all\\\":\\\"some\\\"),u}(t,u,w,T,k,L);Z(t)&&(O.layoutReplot=!0),P.calc||O.calc?t.calcdata=void 0:p.supplyDefaultsUpdateCalc(t.calcdata,w);var z=[];if(o&&(t._transitionData={},p.createTransitionData(t),z.push((function(){return n.addFrames(t,o)}))),E.transition&&!m&&(P.anim||O.anim))p.doCalcdata(t),C.doAutoRangeAndConstraints(t),z.push((function(){return p.transitionFromReact(t,P,O,f)}));else if(P.fullReplot||O.layoutReplot||m)t._fullLayout._skipDefaults=!0,z.push(n.plot);else{for(var R in O.arrays){var D=O.arrays[R];if(D.length){var $=c.getComponentMethod(R,\\\"drawOne\\\");if($!==a.noop)for(var N=0;N<D.length;N++)$(t,D[N]);else{var F=c.getComponentMethod(R,\\\"draw\\\");if(F===a.noop)throw new Error(\\\"cannot draw components: \\\"+R);F(t)}}}z.push(p.previousPromises),P.style&&z.push(C.doTraceStyle),(P.colorbars||O.colorbars)&&z.push(C.doColorBars),O.legend&&z.push(C.doLegend),O.layoutstyle&&z.push(C.layoutStyles),O.axrange&&H(z),O.ticks&&z.push(C.doTicksRelayout),O.modebar&&z.push(C.doModeBar),O.camera&&z.push(C.doCamera),z.push(S)}z.push(p.rehover,p.redrag),(l=a.syncOrAsync(z,t))&&l.then||(l=Promise.resolve(t))}else l=n.newPlot(t,e,r,i);return l.then((function(){return t.emit(\\\"plotly_react\\\",{data:e,layout:r}),t}))},n.redraw=function(t){if(t=a.getGraphDiv(t),!a.isPlotDiv(t))throw new Error(\\\"This element is not a Plotly plot: \\\"+t);return A.cleanData(t.data),A.cleanLayout(t.layout),t.calcdata=void 0,n.plot(t).then((function(){return t.emit(\\\"plotly_redraw\\\"),t}))},n.relayout=q,n.restyle=$,n.setPlotConfig=function(t){return a.extendFlat(x,t)},n.update=K,n._guiRelayout=J(q),n._guiRestyle=J($),n._guiUpdate=J(K),n._storeDirectGUIEdit=function(t,e,n){for(var r in n)F(r,s(t,r).get(),n[r],e)}},{\\\"../components/color\\\":595,\\\"../components/drawing\\\":617,\\\"../constants/xmlns_namespaces\\\":705,\\\"../lib\\\":728,\\\"../lib/events\\\":718,\\\"../lib/queue\\\":743,\\\"../lib/svg_text_utils\\\":752,\\\"../plots/cartesian/axes\\\":776,\\\"../plots/cartesian/constants\\\":782,\\\"../plots/cartesian/graph_interact\\\":785,\\\"../plots/cartesian/select\\\":795,\\\"../plots/plots\\\":839,\\\"../plots/polar/legacy\\\":847,\\\"../registry\\\":859,\\\"./edit_types\\\":759,\\\"./helpers\\\":760,\\\"./manage_arrays\\\":762,\\\"./plot_config\\\":764,\\\"./plot_schema\\\":765,\\\"./subroutines\\\":767,d3:164,\\\"fast-isnumeric\\\":236,\\\"has-hover\\\":409}],764:[function(t,e,n){\\\"use strict\\\";var r={staticPlot:{valType:\\\"boolean\\\",dflt:!1},plotlyServerURL:{valType:\\\"string\\\",dflt:\\\"\\\"},editable:{valType:\\\"boolean\\\",dflt:!1},edits:{annotationPosition:{valType:\\\"boolean\\\",dflt:!1},annotationTail:{valType:\\\"boolean\\\",dflt:!1},annotationText:{valType:\\\"boolean\\\",dflt:!1},axisTitleText:{valType:\\\"boolean\\\",dflt:!1},colorbarPosition:{valType:\\\"boolean\\\",dflt:!1},colorbarTitleText:{valType:\\\"boolean\\\",dflt:!1},legendPosition:{valType:\\\"boolean\\\",dflt:!1},legendText:{valType:\\\"boolean\\\",dflt:!1},shapePosition:{valType:\\\"boolean\\\",dflt:!1},titleText:{valType:\\\"boolean\\\",dflt:!1}},autosizable:{valType:\\\"boolean\\\",dflt:!1},responsive:{valType:\\\"boolean\\\",dflt:!1},fillFrame:{valType:\\\"boolean\\\",dflt:!1},frameMargins:{valType:\\\"number\\\",dflt:0,min:0,max:.5},scrollZoom:{valType:\\\"flaglist\\\",flags:[\\\"cartesian\\\",\\\"gl3d\\\",\\\"geo\\\",\\\"mapbox\\\"],extras:[!0,!1],dflt:\\\"gl3d+geo+mapbox\\\"},doubleClick:{valType:\\\"enumerated\\\",values:[!1,\\\"reset\\\",\\\"autosize\\\",\\\"reset+autosize\\\"],dflt:\\\"reset+autosize\\\"},doubleClickDelay:{valType:\\\"number\\\",dflt:300,min:0},showAxisDragHandles:{valType:\\\"boolean\\\",dflt:!0},showAxisRangeEntryBoxes:{valType:\\\"boolean\\\",dflt:!0},showTips:{valType:\\\"boolean\\\",dflt:!0},showLink:{valType:\\\"boolean\\\",dflt:!1},linkText:{valType:\\\"string\\\",dflt:\\\"Edit chart\\\",noBlank:!0},sendData:{valType:\\\"boolean\\\",dflt:!0},showSources:{valType:\\\"any\\\",dflt:!1},displayModeBar:{valType:\\\"enumerated\\\",values:[\\\"hover\\\",!0,!1],dflt:\\\"hover\\\"},showSendToCloud:{valType:\\\"boolean\\\",dflt:!1},showEditInChartStudio:{valType:\\\"boolean\\\",dflt:!1},modeBarButtonsToRemove:{valType:\\\"any\\\",dflt:[]},modeBarButtonsToAdd:{valType:\\\"any\\\",dflt:[]},modeBarButtons:{valType:\\\"any\\\",dflt:!1},toImageButtonOptions:{valType:\\\"any\\\",dflt:{}},displaylogo:{valType:\\\"boolean\\\",dflt:!0},watermark:{valType:\\\"boolean\\\",dflt:!1},plotGlPixelRatio:{valType:\\\"number\\\",dflt:2,min:1,max:4},setBackground:{valType:\\\"any\\\",dflt:\\\"transparent\\\"},topojsonURL:{valType:\\\"string\\\",noBlank:!0,dflt:\\\"https://cdn.plot.ly/\\\"},mapboxAccessToken:{valType:\\\"string\\\",dflt:null},logging:{valType:\\\"integer\\\",min:0,max:2,dflt:1},notifyOnLogging:{valType:\\\"integer\\\",min:0,max:2,dflt:0},queueLength:{valType:\\\"integer\\\",min:0,dflt:0},globalTransforms:{valType:\\\"any\\\",dflt:[]},locale:{valType:\\\"string\\\",dflt:\\\"en-US\\\"},locales:{valType:\\\"any\\\",dflt:{}}},i={};(function t(e,n){for(var r in e){var i=e[r];i.valType?n[r]=i.dflt:(n[r]||(n[r]={}),t(i,n[r]))}})(r,i),e.exports={configAttributes:r,dfltConfig:i}},{}],765:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../registry\\\"),i=t(\\\"../lib\\\"),o=t(\\\"../plots/attributes\\\"),a=t(\\\"../plots/layout_attributes\\\"),s=t(\\\"../plots/frame_attributes\\\"),l=t(\\\"../plots/animation_attributes\\\"),u=t(\\\"./plot_config\\\").configAttributes,c=t(\\\"../plots/polar/legacy/area_attributes\\\"),h=t(\\\"../plots/polar/legacy/axis_attributes\\\"),p=t(\\\"./edit_types\\\"),f=i.extendFlat,d=i.extendDeepAll,m=i.isPlainObject,v=i.isArrayOrTypedArray,g=i.nestedProperty,y=i.valObjectMeta,_=\\\"_isSubplotObj\\\",b=\\\"_isLinkedToArray\\\",x=\\\"_deprecated\\\",w=[_,b,\\\"_arrayAttrRegexps\\\",x];function A(t,e,n){if(!t)return!1;if(t._isLinkedToArray)if(C(e[n]))n++;else if(n<e.length)return!1;for(;n<e.length;n++){var r=t[e[n]];if(!m(r))break;if(t=r,n===e.length-1)break;if(t._isLinkedToArray){if(!C(e[++n]))return!1}else if(\\\"info_array\\\"===t.valType){var i=e[++n];if(!C(i))return!1;var o=t.items;if(Array.isArray(o)){if(i>=o.length)return!1;if(2===t.dimensions){if(n++,e.length===n)return t;var a=e[n];if(!C(a))return!1;t=o[i][a]}else t=o[i]}else t=o}}return t}function C(t){return t===Math.round(t)&&t>=0}function M(){var t,e,n={};for(t in d(n,a),r.subplotsRegistry)if((e=r.subplotsRegistry[t]).layoutAttributes)if(Array.isArray(e.attr))for(var i=0;i<e.attr.length;i++)T(n,e,e.attr[i]);else T(n,e,\\\"subplot\\\"===e.attr?e.name:e.attr);for(t in n=function(t){return f(t,{radialaxis:h.radialaxis,angularaxis:h.angularaxis}),f(t,h.layout),t}(n),r.componentsRegistry){var o=(e=r.componentsRegistry[t]).schema;if(o&&(o.subplots||o.layout)){var s=o.subplots;if(s&&s.xaxis&&!s.yaxis)for(var l in s.xaxis)delete n.yaxis[l]}else\\\"colorscale\\\"===e.name?d(n,e.layoutAttributes):e.layoutAttributes&&S(n,e.layoutAttributes,e.name)}return{layoutAttributes:E(n)}}function E(t){return function(t){function e(t){return{valType:\\\"string\\\",editType:\\\"none\\\"}}function r(t,r,i){n.isValObject(t)?\\\"data_array\\\"===t.valType?(t.role=\\\"data\\\",i[r+\\\"src\\\"]=e(r)):!0===t.arrayOk&&(i[r+\\\"src\\\"]=e(r)):m(t)&&(t.role=\\\"object\\\")}n.crawl(t,r)}(t),function(t){function e(t,e,n){if(t){var r=t._isLinkedToArray;r&&(delete t._isLinkedToArray,n[e]={items:{}},n[e].items[r]=t,n[e].role=\\\"object\\\")}}n.crawl(t,e)}(t),function(t){function e(t){for(var n in t)if(m(t[n]))e(t[n]);else if(Array.isArray(t[n]))for(var r=0;r<t[n].length;r++)e(t[n][r]);else t[n]instanceof RegExp&&(t[n]=t[n].toString())}e(t)}(t),t}function T(t,e,n){var r=g(t,n),i=d({},e.layoutAttributes);i._isSubplotObj=!0,r.set(i)}function S(t,e,n){var r=g(t,n);r.set(d(r.get()||{},e))}n.IS_SUBPLOT_OBJ=_,n.IS_LINKED_TO_ARRAY=b,n.DEPRECATED=x,n.UNDERSCORE_ATTRS=w,n.get=function(){var t={};r.allTypes.concat(\\\"area\\\").forEach((function(e){t[e]=function(t){var e,i;\\\"area\\\"===t?(e={attributes:c},i={}):i=(e=r.modules[t]._module).basePlotModule;var a={type:null},s=d({},o),l=d({},e.attributes);n.crawl(l,(function(t,e,n,r,i){g(s,i).set(void 0),void 0===t&&g(l,i).set(void 0)})),d(a,s),r.traceIs(t,\\\"noOpacity\\\")&&delete a.opacity,r.traceIs(t,\\\"showLegend\\\")||(delete a.showlegend,delete a.legendgroup),r.traceIs(t,\\\"noHover\\\")&&(delete a.hoverinfo,delete a.hoverlabel),e.selectPoints||delete a.selectedpoints,d(a,l),i.attributes&&d(a,i.attributes),a.type=t;var u={meta:e.meta||{},categories:e.categories||{},animatable:Boolean(e.animatable),type:t,attributes:E(a)};if(e.layoutAttributes){var h={};d(h,e.layoutAttributes),u.layoutAttributes=E(h)}return e.animatable||n.crawl(u,(function(t){n.isValObject(t)&&\\\"anim\\\"in t&&delete t.anim})),u}(e)}));var e,i={};return Object.keys(r.transformsRegistry).forEach((function(t){i[t]=function(t){var e=r.transformsRegistry[t],n=d({},e.attributes);return Object.keys(r.componentsRegistry).forEach((function(e){var i=r.componentsRegistry[e];i.schema&&i.schema.transforms&&i.schema.transforms[t]&&Object.keys(i.schema.transforms[t]).forEach((function(e){S(n,i.schema.transforms[t][e],e)}))})),{attributes:E(n)}}(t)})),{defs:{valObjects:y,metaKeys:w.concat([\\\"description\\\",\\\"role\\\",\\\"editType\\\",\\\"impliedEdits\\\"]),editType:{traces:p.traces,layout:p.layout},impliedEdits:{}},traces:t,layout:M(),transforms:i,frames:(e={frames:d({},s)},E(e),e.frames),animation:E(l),config:E(u)}},n.crawl=function(t,e,r,i){var o=r||0;i=i||\\\"\\\",Object.keys(t).forEach((function(r){var a=t[r];if(-1===w.indexOf(r)){var s=(i?i+\\\".\\\":\\\"\\\")+r;e(a,r,t,o,s),n.isValObject(a)||m(a)&&\\\"impliedEdits\\\"!==r&&n.crawl(a,e,o+1,s)}}))},n.isValObject=function(t){return t&&void 0!==t.valType},n.findArrayAttributes=function(t){var e,r,i=[],a=[],s=[];function l(t,n,r,i){a=a.slice(0,i).concat([n]),s=s.slice(0,i).concat([t&&t._isLinkedToArray]),t&&(\\\"data_array\\\"===t.valType||!0===t.arrayOk)&&(\\\"colorbar\\\"!==a[i-1]||\\\"ticktext\\\"!==n&&\\\"tickvals\\\"!==n)&&u(e,0,\\\"\\\")}function u(t,e,n){var o=t[a[e]],l=n+a[e];if(e===a.length-1)v(o)&&i.push(r+l);else if(s[e]){if(Array.isArray(o))for(var c=0;c<o.length;c++)m(o[c])&&u(o[c],e+1,l+\\\"[\\\"+c+\\\"].\\\")}else m(o)&&u(o,e+1,l+\\\".\\\")}e=t,r=\\\"\\\",n.crawl(o,l),t._module&&t._module.attributes&&n.crawl(t._module.attributes,l);var c=t.transforms;if(c)for(var h=0;h<c.length;h++){var p=c[h],f=p._module;f&&(r=\\\"transforms[\\\"+h+\\\"].\\\",e=p,n.crawl(f.attributes,l))}return i},n.getTraceValObject=function(t,e){var n,i,a=e[0],s=1;if(\\\"transforms\\\"===a){if(1===e.length)return o.transforms;var l=t.transforms;if(!Array.isArray(l)||!l.length)return!1;var u=e[1];if(!C(u)||u>=l.length)return!1;i=(n=(r.transformsRegistry[l[u].type]||{}).attributes)&&n[e[2]],s=3}else if(\\\"area\\\"===t.type)i=c[a];else{var h=t._module;if(h||(h=(r.modules[t.type||o.type.dflt]||{})._module),!h)return!1;if(!(i=(n=h.attributes)&&n[a])){var p=h.basePlotModule;p&&p.attributes&&(i=p.attributes[a])}i||(i=o[a])}return A(i,e,s)},n.getLayoutValObject=function(t,e){return A(function(t,e){var n,i,o,s,l=t._basePlotModules;if(l){var u;for(n=0;n<l.length;n++){if((o=l[n]).attrRegex&&o.attrRegex.test(e)){if(o.layoutAttrOverrides)return o.layoutAttrOverrides;!u&&o.layoutAttributes&&(u=o.layoutAttributes)}var c=o.baseLayoutAttrOverrides;if(c&&e in c)return c[e]}if(u)return u}var p=t._modules;if(p)for(n=0;n<p.length;n++)if((s=p[n].layoutAttributes)&&e in s)return s[e];for(i in r.componentsRegistry){if(\\\"colorscale\\\"===(o=r.componentsRegistry[i]).name&&0===e.indexOf(\\\"coloraxis\\\"))return o.layoutAttributes[e];if(!o.schema&&e===o.name)return o.layoutAttributes}return e in a?a[e]:\\\"radialaxis\\\"===e||\\\"angularaxis\\\"===e?h[e]:h.layout[e]||!1}(t,e[0]),e,1)}},{\\\"../lib\\\":728,\\\"../plots/animation_attributes\\\":771,\\\"../plots/attributes\\\":773,\\\"../plots/frame_attributes\\\":805,\\\"../plots/layout_attributes\\\":830,\\\"../plots/polar/legacy/area_attributes\\\":845,\\\"../plots/polar/legacy/axis_attributes\\\":846,\\\"../registry\\\":859,\\\"./edit_types\\\":759,\\\"./plot_config\\\":764}],766:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../plots/attributes\\\"),o={name:{valType:\\\"string\\\",editType:\\\"none\\\"}};function a(t){return t&&\\\"string\\\"==typeof t}function s(t){var e=t.length-1;return\\\"s\\\"!==t.charAt(e)&&r.warn(\\\"bad argument to arrayDefaultKey: \\\"+t),t.substr(0,t.length-1)+\\\"defaults\\\"}o.templateitemname={valType:\\\"string\\\",editType:\\\"calc\\\"},n.templatedArray=function(t,e){return e._isLinkedToArray=t,e.name=o.name,e.templateitemname=o.templateitemname,e},n.traceTemplater=function(t){var e,n,o={};for(e in t)n=t[e],Array.isArray(n)&&n.length&&(o[e]=0);return{newTrace:function(a){var s={type:e=r.coerce(a,{},i,\\\"type\\\"),_template:null};if(e in o){n=t[e];var l=o[e]%n.length;o[e]++,s._template=n[l]}return s}}},n.newContainer=function(t,e,n){var i=t._template,o=i&&(i[e]||n&&i[n]);return r.isPlainObject(o)||(o=null),t[e]={_template:o}},n.arrayTemplater=function(t,e,n){var r=t._template,i=r&&r[s(e)],o=r&&r[e];Array.isArray(o)&&o.length||(o=[]);var l={};return{newItem:function(t){var e={name:t.name,_input:t},r=e.templateitemname=t.templateitemname;if(!a(r))return e._template=i,e;for(var s=0;s<o.length;s++){var u=o[s];if(u.name===r)return l[r]=1,e._template=u,e}return e[n]=t[n]||!1,e._template=!1,e},defaultItems:function(){for(var t=[],e=0;e<o.length;e++){var n=o[e],r=n.name;if(a(r)&&!l[r]){var i={_template:n,name:r,_input:{_templateitemname:r}};i.templateitemname=n.templateitemname,t.push(i),l[r]=1}}return t}}},n.arrayDefaultKey=s,n.arrayEditor=function(t,e,n){var i=(r.nestedProperty(t,e).get()||[]).length,o=n._index,a=o>=i&&(n._input||{})._templateitemname;a&&(o=i);var s,l=e+\\\"[\\\"+o+\\\"]\\\";function u(){s={},a&&(s[l]={},s[l].templateitemname=a)}function c(t,e){a?r.nestedProperty(s[l],t).set(e):s[l+\\\".\\\"+t]=e}function h(){var t=s;return u(),t}return u(),{modifyBase:function(t,e){s[t]=e},modifyItem:c,getUpdateObj:h,applyUpdate:function(e,n){e&&c(e,n);var i=h();for(var o in i)r.nestedProperty(t,o).set(i[o])}}}},{\\\"../lib\\\":728,\\\"../plots/attributes\\\":773}],767:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../registry\\\"),o=t(\\\"../plots/plots\\\"),a=t(\\\"../lib\\\"),s=t(\\\"../lib/clear_gl_canvases\\\"),l=t(\\\"../components/color\\\"),u=t(\\\"../components/drawing\\\"),c=t(\\\"../components/titles\\\"),h=t(\\\"../components/modebar\\\"),p=t(\\\"../plots/cartesian/axes\\\"),f=t(\\\"../constants/alignment\\\"),d=t(\\\"../plots/cartesian/constraints\\\"),m=d.enforce,v=d.clean,g=t(\\\"../plots/cartesian/autorange\\\").doAutoRange,y=\\\"start\\\";function _(t,e,n){for(var r=0;r<n.length;r++){var i=n[r][0],o=n[r][1];if(!(i[0]>=t[1]||i[1]<=t[0])&&o[0]<e[1]&&o[1]>e[0])return!0}return!1}function b(t){var e,i,s,c,d,m,v=t._fullLayout,g=v._size,y=g.p,b=p.list(t,\\\"\\\",!0);if(v._paperdiv.style({width:t._context.responsive&&v.autosize&&!t._context._hasZeroWidth&&!t.layout.width?\\\"100%\\\":v.width+\\\"px\\\",height:t._context.responsive&&v.autosize&&!t._context._hasZeroHeight&&!t.layout.height?\\\"100%\\\":v.height+\\\"px\\\"}).selectAll(\\\".main-svg\\\").call(u.setSize,v.width,v.height),t._context.setBackground(t,v.paper_bgcolor),n.drawMainTitle(t),h.manage(t),!v._has(\\\"cartesian\\\"))return o.previousPromises(t);function w(t,e,n){var r=t._lw/2;return\\\"x\\\"===t._id.charAt(0)?e?\\\"top\\\"===n?e._offset-y-r:e._offset+e._length+y+r:g.t+g.h*(1-(t.position||0))+r%1:e?\\\"right\\\"===n?e._offset+e._length+y+r:e._offset-y-r:g.l+g.w*(t.position||0)+r%1}for(e=0;e<b.length;e++){var C=(c=b[e])._anchorAxis;c._linepositions={},c._lw=u.crispRound(t,c.linewidth,1),c._mainLinePosition=w(c,C,c.side),c._mainMirrorPosition=c.mirror&&C?w(c,C,f.OPPOSITE_SIDE[c.side]):null}var M=[],E=[],T=[],S=1===l.opacity(v.paper_bgcolor)&&1===l.opacity(v.plot_bgcolor)&&v.paper_bgcolor===v.plot_bgcolor;for(i in v._plots)if((s=v._plots[i]).mainplot)s.bg&&s.bg.remove(),s.bg=void 0;else{var k=s.xaxis.domain,O=s.yaxis.domain,I=s.plotgroup;if(_(k,O,T)){var L=I.node(),P=s.bg=a.ensureSingle(I,\\\"rect\\\",\\\"bg\\\");L.insertBefore(P.node(),L.childNodes[0]),E.push(i)}else I.select(\\\"rect.bg\\\").remove(),T.push([k,O]),S||(M.push(i),E.push(i))}var z,R,D,$,B,N,F,j,U,q,V,H,G,W=v._bgLayer.selectAll(\\\".bg\\\").data(M);for(W.enter().append(\\\"rect\\\").classed(\\\"bg\\\",!0),W.exit().remove(),W.each((function(t){v._plots[t].bg=r.select(this)})),e=0;e<E.length;e++)s=v._plots[E[e]],d=s.xaxis,m=s.yaxis,s.bg&&s.bg.call(u.setRect,d._offset-y,m._offset-y,d._length+2*y,m._length+2*y).call(l.fill,v.plot_bgcolor).style(\\\"stroke-width\\\",0);if(!v._hasOnlyLargeSploms)for(i in v._plots){s=v._plots[i],d=s.xaxis,m=s.yaxis;var X,Y,Z=s.clipId=\\\"clip\\\"+v._uid+i+\\\"plot\\\",K=a.ensureSingleById(v._clips,\\\"clipPath\\\",Z,(function(t){t.classed(\\\"plotclip\\\",!0).append(\\\"rect\\\")}));s.clipRect=K.select(\\\"rect\\\").attr({width:d._length,height:m._length}),u.setTranslate(s.plot,d._offset,m._offset),s._hasClipOnAxisFalse?(X=null,Y=Z):(X=Z,Y=null),u.setClipUrl(s.plot,X,t),s.layerClipId=Y}function J(t){return\\\"M\\\"+z+\\\",\\\"+t+\\\"H\\\"+R}function Q(t){return\\\"M\\\"+d._offset+\\\",\\\"+t+\\\"h\\\"+d._length}function tt(t){return\\\"M\\\"+t+\\\",\\\"+j+\\\"V\\\"+F}function et(t){return\\\"M\\\"+t+\\\",\\\"+m._offset+\\\"v\\\"+m._length}function nt(t,e,n){if(!t.showline||i!==t._mainSubplot)return\\\"\\\";if(!t._anchorAxis)return n(t._mainLinePosition);var r=e(t._mainLinePosition);return t.mirror&&(r+=e(t._mainMirrorPosition)),r}for(i in v._plots){s=v._plots[i],d=s.xaxis,m=s.yaxis;var rt=\\\"M0,0\\\";x(d,i)&&(B=A(d,\\\"left\\\",m,b),z=d._offset-(B?y+B:0),N=A(d,\\\"right\\\",m,b),R=d._offset+d._length+(N?y+N:0),D=w(d,m,\\\"bottom\\\"),$=w(d,m,\\\"top\\\"),!(G=!d._anchorAxis||i!==d._mainSubplot)||\\\"allticks\\\"!==d.mirror&&\\\"all\\\"!==d.mirror||(d._linepositions[i]=[D,$]),rt=nt(d,J,Q),G&&d.showline&&(\\\"all\\\"===d.mirror||\\\"allticks\\\"===d.mirror)&&(rt+=J(D)+J($)),s.xlines.style(\\\"stroke-width\\\",d._lw+\\\"px\\\").call(l.stroke,d.showline?d.linecolor:\\\"rgba(0,0,0,0)\\\")),s.xlines.attr(\\\"d\\\",rt);var it=\\\"M0,0\\\";x(m,i)&&(V=A(m,\\\"bottom\\\",d,b),F=m._offset+m._length+(V?y:0),H=A(m,\\\"top\\\",d,b),j=m._offset-(H?y:0),U=w(m,d,\\\"left\\\"),q=w(m,d,\\\"right\\\"),!(G=!m._anchorAxis||i!==m._mainSubplot)||\\\"allticks\\\"!==m.mirror&&\\\"all\\\"!==m.mirror||(m._linepositions[i]=[U,q]),it=nt(m,tt,et),G&&m.showline&&(\\\"all\\\"===m.mirror||\\\"allticks\\\"===m.mirror)&&(it+=tt(U)+tt(q)),s.ylines.style(\\\"stroke-width\\\",m._lw+\\\"px\\\").call(l.stroke,m.showline?m.linecolor:\\\"rgba(0,0,0,0)\\\")),s.ylines.attr(\\\"d\\\",it)}return p.makeClipPaths(t),o.previousPromises(t)}function x(t,e){return(t.ticks||t.showline)&&(e===t._mainSubplot||\\\"all\\\"===t.mirror||\\\"allticks\\\"===t.mirror)}function w(t,e,n){if(!n.showline||!n._lw)return!1;if(\\\"all\\\"===n.mirror||\\\"allticks\\\"===n.mirror)return!0;var r=n._anchorAxis;if(!r)return!1;var i=f.FROM_BL[e];return n.side===e?r.domain[i]===t.domain[i]:n.mirror&&r.domain[1-i]===t.domain[1-i]}function A(t,e,n,r){if(w(t,e,n))return n._lw;for(var i=0;i<r.length;i++){var o=r[i];if(o._mainAxis===n._mainAxis&&w(t,e,o))return o._lw}return 0}function C(t,e){var n=t.title,r=t._size,i=0;return e===y?i=n.pad.l:\\\"end\\\"===e&&(i=-n.pad.r),\\\"paper\\\"===n.xref?r.l+r.w*n.x+i:t.width*n.x+i}function M(t,e){var n=t.title,r=t._size,i=0;return\\\"0em\\\"!==e&&e?e===f.CAP_SHIFT+\\\"em\\\"&&(i=n.pad.t):i=-n.pad.b,\\\"auto\\\"===n.y?r.t/2:\\\"paper\\\"===n.yref?r.t+r.h-r.h*n.y+i:t.height-t.height*n.y+i}n.layoutStyles=function(t){return a.syncOrAsync([o.doAutoMargin,b],t)},n.drawMainTitle=function(t){var e=t._fullLayout,n=function(t){var e=t.title,n=\\\"middle\\\";return a.isRightAnchor(e)?n=\\\"end\\\":a.isLeftAnchor(e)&&(n=y),n}(e),r=function(t){var e=t.title,n=\\\"0em\\\";return a.isTopAnchor(e)?n=f.CAP_SHIFT+\\\"em\\\":a.isMiddleAnchor(e)&&(n=f.MID_SHIFT+\\\"em\\\"),n}(e);c.draw(t,\\\"gtitle\\\",{propContainer:e,propName:\\\"title.text\\\",placeholder:e._dfltTitle.plot,attributes:{x:C(e,n),y:M(e,r),\\\"text-anchor\\\":n,dy:r}})},n.doTraceStyle=function(t){var e,r=t.calcdata,a=[];for(e=0;e<r.length;e++){var l=r[e],u=l[0]||{},c=u.trace||{},h=c._module||{},p=h.arraysToCalcdata;p&&p(l,c);var f=h.editStyle;f&&a.push({fn:f,cd0:u})}if(a.length){for(e=0;e<a.length;e++){var d=a[e];d.fn(t,d.cd0)}s(t),n.redrawReglTraces(t)}return o.style(t),i.getComponentMethod(\\\"legend\\\",\\\"draw\\\")(t),o.previousPromises(t)},n.doColorBars=function(t){return i.getComponentMethod(\\\"colorbar\\\",\\\"draw\\\")(t),o.previousPromises(t)},n.layoutReplot=function(t){var e=t.layout;return t.layout=void 0,i.call(\\\"plot\\\",t,\\\"\\\",e)},n.doLegend=function(t){return i.getComponentMethod(\\\"legend\\\",\\\"draw\\\")(t),o.previousPromises(t)},n.doTicksRelayout=function(t){return p.draw(t,\\\"redraw\\\"),t._fullLayout._hasOnlyLargeSploms&&(i.subplotsRegistry.splom.updateGrid(t),s(t),n.redrawReglTraces(t)),n.drawMainTitle(t),o.previousPromises(t)},n.doModeBar=function(t){var e=t._fullLayout;h.manage(t);for(var n=0;n<e._basePlotModules.length;n++){var r=e._basePlotModules[n].updateFx;r&&r(t)}return o.previousPromises(t)},n.doCamera=function(t){for(var e=t._fullLayout,n=e._subplots.gl3d,r=0;r<n.length;r++){var i=e[n[r]];i._scene.setViewport(i)}},n.drawData=function(t){var e=t._fullLayout;s(t);for(var r=e._basePlotModules,a=0;a<r.length;a++)r[a].plot(t);return n.redrawReglTraces(t),o.style(t),i.getComponentMethod(\\\"shapes\\\",\\\"draw\\\")(t),i.getComponentMethod(\\\"annotations\\\",\\\"draw\\\")(t),i.getComponentMethod(\\\"images\\\",\\\"draw\\\")(t),e._replotting=!1,o.previousPromises(t)},n.redrawReglTraces=function(t){var e=t._fullLayout;if(e._has(\\\"regl\\\")){var n,r,i=t._fullData,o=[],s=[];for(e._hasOnlyLargeSploms&&e._splomGrid.draw(),n=0;n<i.length;n++){var l=i[n];!0===l.visible&&0!==l._length&&(\\\"splom\\\"===l.type?e._splomScenes[l.uid].draw():\\\"scattergl\\\"===l.type?a.pushUnique(o,l.xaxis+l.yaxis):\\\"scatterpolargl\\\"===l.type&&a.pushUnique(s,l.subplot))}for(n=0;n<o.length;n++)(r=e._plots[o[n]])._scene&&r._scene.draw();for(n=0;n<s.length;n++)(r=e[s[n]]._subplot)._scene&&r._scene.draw()}},n.doAutoRangeAndConstraints=function(t){for(var e,n,r=t._fullLayout,i=p.list(t,\\\"\\\",!0),o=r._axisMatchGroups||[],s={},l=0;l<i.length;l++)e=i[l],v(t,e),g(t,e),s[e._id]=1;m(t);t:for(var u=0;u<o.length;u++){var c,h=o[u],f=null;for(c in h)if(s[(e=p.getFromId(t,c))._id]){if(!1===e.autorange)continue t;n=a.simpleMap(e.range,e.r2l),f?f[0]<f[1]?(f[0]=Math.min(f[0],n[0]),f[1]=Math.max(f[1],n[1])):(f[0]=Math.max(f[0],n[0]),f[1]=Math.min(f[1],n[1])):f=n}for(c in h)(e=p.getFromId(t,c)).range=a.simpleMap(f,e.l2r),e._input.range=e.range.slice(),e.setScale()}},n.finalDraw=function(t){i.getComponentMethod(\\\"rangeslider\\\",\\\"draw\\\")(t),i.getComponentMethod(\\\"rangeselector\\\",\\\"draw\\\")(t)},n.drawMarginPushers=function(t){i.getComponentMethod(\\\"legend\\\",\\\"draw\\\")(t),i.getComponentMethod(\\\"rangeselector\\\",\\\"draw\\\")(t),i.getComponentMethod(\\\"sliders\\\",\\\"draw\\\")(t),i.getComponentMethod(\\\"updatemenus\\\",\\\"draw\\\")(t),i.getComponentMethod(\\\"colorbar\\\",\\\"draw\\\")(t)}},{\\\"../components/color\\\":595,\\\"../components/drawing\\\":617,\\\"../components/modebar\\\":655,\\\"../components/titles\\\":690,\\\"../constants/alignment\\\":697,\\\"../lib\\\":728,\\\"../lib/clear_gl_canvases\\\":713,\\\"../plots/cartesian/autorange\\\":775,\\\"../plots/cartesian/axes\\\":776,\\\"../plots/cartesian/constraints\\\":783,\\\"../plots/plots\\\":839,\\\"../registry\\\":859,d3:164}],768:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=r.isPlainObject,o=t(\\\"./plot_schema\\\"),a=t(\\\"../plots/plots\\\"),s=t(\\\"../plots/attributes\\\"),l=t(\\\"./plot_template\\\"),u=t(\\\"./plot_config\\\").dfltConfig;function c(t,e){t=r.extendDeep({},t);var n,o,a=Object.keys(t).sort();function s(e,n,r){if(i(n)&&i(e))c(e,n);else if(Array.isArray(n)&&Array.isArray(e)){var a=l.arrayTemplater({_template:t},r);for(o=0;o<n.length;o++){var s=n[o],u=a.newItem(s)._template;u&&c(u,s)}var h=a.defaultItems();for(o=0;o<h.length;o++)n.push(h[o]._template);for(o=0;o<n.length;o++)delete n[o].templateitemname}}for(n=0;n<a.length;n++){var u=a[n],p=t[u];if(u in e?s(p,e[u],u):e[u]=p,h(u)===u)for(var f in e){var d=h(f);f===d||d!==u||f in t||s(p,e[f],u)}}}function h(t){return t.replace(/[0-9]+$/,\\\"\\\")}function p(t,e,n,o,a){var s=a&&n(a);for(var u in t){var c=t[u],f=m(t,u,o),d=m(t,u,a),v=n(d);if(!v){var g=h(u);g!==u&&(v=n(d=m(t,g,a)))}if(!(s&&s===v||!v||v._noTemplating||\\\"data_array\\\"===v.valType||v.arrayOk&&Array.isArray(c)))if(!v.valType&&i(c))p(c,e,n,f,d);else if(v._isLinkedToArray&&Array.isArray(c))for(var y=!1,_=0,b={},x=0;x<c.length;x++){var w=c[x];if(i(w)){var A=w.name;if(A)b[A]||(p(w,e,n,m(c,_,f),m(c,_,d)),_++,b[A]=1);else if(!y){var C=m(t,l.arrayDefaultKey(u),o),M=m(c,_,f);p(w,e,n,M,m(c,_,d));var E=r.nestedProperty(e,M);r.nestedProperty(e,C).set(E.get()),E.set(null),y=!0}}}else r.nestedProperty(e,f).set(c)}}function f(t,e){return o.getLayoutValObject(t,r.nestedProperty({},e).parts)}function d(t,e){return o.getTraceValObject(t,r.nestedProperty({},e).parts)}function m(t,e,n){return n?Array.isArray(t)?n+\\\"[\\\"+e+\\\"]\\\":n+\\\".\\\"+e:e}function v(t){for(var e=0;e<t.length;e++)if(i(t[e]))return!0}function g(t){var e;switch(t.code){case\\\"data\\\":e=\\\"The template has no key data.\\\";break;case\\\"layout\\\":e=\\\"The template has no key layout.\\\";break;case\\\"missing\\\":e=t.path?\\\"There are no templates for item \\\"+t.path+\\\" with name \\\"+t.templateitemname:\\\"There are no templates for trace \\\"+t.index+\\\", of type \\\"+t.traceType+\\\".\\\";break;case\\\"unused\\\":e=t.path?\\\"The template item at \\\"+t.path+\\\" was not used in constructing the plot.\\\":t.dataCount?\\\"Some of the templates of type \\\"+t.traceType+\\\" were not used. The template has \\\"+t.templateCount+\\\" traces, the data only has \\\"+t.dataCount+\\\" of this type.\\\":\\\"The template has \\\"+t.templateCount+\\\" traces of type \\\"+t.traceType+\\\" but there are none in the data.\\\";break;case\\\"reused\\\":e=\\\"Some of the templates of type \\\"+t.traceType+\\\" were used more than once. The template has \\\"+t.templateCount+\\\" traces, the data has \\\"+t.dataCount+\\\" of this type.\\\"}return t.msg=e,t}n.makeTemplate=function(t){t=r.isPlainObject(t)?t:r.getGraphDiv(t),t=r.extendDeep({_context:u},{data:t.data,layout:t.layout}),a.supplyDefaults(t);var e=t.data||[],n=t.layout||{};n._basePlotModules=t._fullLayout._basePlotModules,n._modules=t._fullLayout._modules;var o={data:{},layout:{}};e.forEach((function(t){var e={};p(t,e,d.bind(null,t));var n=r.coerce(t,{},s,\\\"type\\\"),i=o.data[n];i||(i=o.data[n]=[]),i.push(e)})),p(n,o.layout,f.bind(null,n)),delete o.layout.template;var l=n.template;if(i(l)){var h,m,v,g,y,_,b=l.layout;i(b)&&c(b,o.layout);var x=l.data;if(i(x)){for(m in o.data)if(v=x[m],Array.isArray(v)){for(_=(y=o.data[m]).length,g=v.length,h=0;h<_;h++)c(v[h%g],y[h]);for(h=_;h<g;h++)y.push(r.extendDeep({},v[h]))}for(m in x)m in o.data||(o.data[m]=r.extendDeep([],x[m]))}}return o},n.validateTemplate=function(t,e){var n=r.extendDeep({},{_context:u,data:t.data,layout:t.layout}),o=n.layout||{};i(e)||(e=o.template||{});var s=e.layout,l=e.data,c=[];n.layout=o,n.layout.template=e,a.supplyDefaults(n);var p=n._fullLayout,f=n._fullData,d={};if(i(s)?(function t(e,n){for(var r in e)if(\\\"_\\\"!==r.charAt(0)&&i(e[r])){var o,a=h(r),s=[];for(o=0;o<n.length;o++)s.push(m(e,r,n[o])),a!==r&&s.push(m(e,a,n[o]));for(o=0;o<s.length;o++)d[s[o]]=1;t(e[r],s)}}(p,[\\\"layout\\\"]),function t(e,n){for(var r in e)if(-1===r.indexOf(\\\"defaults\\\")&&i(e[r])){var o=m(e,r,n);d[o]?t(e[r],o):c.push({code:\\\"unused\\\",path:o})}}(s,\\\"layout\\\")):c.push({code:\\\"layout\\\"}),i(l)){for(var y,_={},b=0;b<f.length;b++){var x=f[b];_[y=x.type]=(_[y]||0)+1,x._fullInput._template||c.push({code:\\\"missing\\\",index:x._fullInput.index,traceType:y})}for(y in l){var w=l[y].length,A=_[y]||0;w>A?c.push({code:\\\"unused\\\",traceType:y,templateCount:w,dataCount:A}):A>w&&c.push({code:\\\"reused\\\",traceType:y,templateCount:w,dataCount:A})}}else c.push({code:\\\"data\\\"});if(function t(e,n){for(var r in e)if(\\\"_\\\"!==r.charAt(0)){var o=e[r],a=m(e,r,n);i(o)?(Array.isArray(e)&&!1===o._template&&o.templateitemname&&c.push({code:\\\"missing\\\",path:a,templateitemname:o.templateitemname}),t(o,a)):Array.isArray(o)&&v(o)&&t(o,a)}}({data:f,layout:p},\\\"\\\"),c.length)return c.map(g)}},{\\\"../lib\\\":728,\\\"../plots/attributes\\\":773,\\\"../plots/plots\\\":839,\\\"./plot_config\\\":764,\\\"./plot_schema\\\":765,\\\"./plot_template\\\":766}],769:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"./plot_api\\\"),o=t(\\\"../plots/plots\\\"),a=t(\\\"../lib\\\"),s=t(\\\"../snapshot/helpers\\\"),l=t(\\\"../snapshot/tosvg\\\"),u=t(\\\"../snapshot/svgtoimg\\\"),c=t(\\\"../version\\\").version,h={format:{valType:\\\"enumerated\\\",values:[\\\"png\\\",\\\"jpeg\\\",\\\"webp\\\",\\\"svg\\\",\\\"full-json\\\"],dflt:\\\"png\\\"},width:{valType:\\\"number\\\",min:1},height:{valType:\\\"number\\\",min:1},scale:{valType:\\\"number\\\",min:0,dflt:1},setBackground:{valType:\\\"any\\\",dflt:!1},imageDataOnly:{valType:\\\"boolean\\\",dflt:!1}};e.exports=function(t,e){var n,p,f,d;function m(t){return!(t in e)||a.validate(e[t],h[t])}if(e=e||{},a.isPlainObject(t)?(n=t.data||[],p=t.layout||{},f=t.config||{},d={}):(t=a.getGraphDiv(t),n=a.extendDeep([],t.data),p=a.extendDeep({},t.layout),f=t._context,d=t._fullLayout||{}),!m(\\\"width\\\")&&null!==e.width||!m(\\\"height\\\")&&null!==e.height)throw new Error(\\\"Height and width should be pixel values.\\\");if(!m(\\\"format\\\"))throw new Error(\\\"Image format is not jpeg, png, svg or webp.\\\");var v={};function g(t,n){return a.coerce(e,v,h,t,n)}var y=g(\\\"format\\\"),_=g(\\\"width\\\"),b=g(\\\"height\\\"),x=g(\\\"scale\\\"),w=g(\\\"setBackground\\\"),A=g(\\\"imageDataOnly\\\"),C=document.createElement(\\\"div\\\");C.style.position=\\\"absolute\\\",C.style.left=\\\"-5000px\\\",document.body.appendChild(C);var M=a.extendFlat({},p);_?M.width=_:null===e.width&&r(d.width)&&(M.width=d.width),b?M.height=b:null===e.height&&r(d.height)&&(M.height=d.height);var E=a.extendFlat({},f,{_exportedPlot:!0,staticPlot:!0,setBackground:w}),T=s.getRedrawFunc(C);function S(){return new Promise((function(t){setTimeout(t,s.getDelay(C._fullLayout))}))}function k(){return new Promise((function(t,e){var n=l(C,y,x),r=C._fullLayout.width,h=C._fullLayout.height;function p(){i.purge(C),document.body.removeChild(C)}if(\\\"full-json\\\"===y){var f=o.graphJson(C,!1,\\\"keepdata\\\",\\\"object\\\",!0,!0);return f.version=c,f=JSON.stringify(f),p(),t(A?f:s.encodeJSON(f))}if(p(),\\\"svg\\\"===y)return t(A?n:s.encodeSVG(n));var d=document.createElement(\\\"canvas\\\");d.id=a.randstr(),u({format:y,width:r,height:h,scale:x,canvas:d,svg:n,promise:!0}).then(t).catch(e)}))}return new Promise((function(t,e){i.plot(C,n,M,E).then(T).then(S).then(k).then((function(e){t(function(t){return A?t.replace(s.IMAGE_URL_PREFIX,\\\"\\\"):t}(e))})).catch((function(t){e(t)}))}))}},{\\\"../lib\\\":728,\\\"../plots/plots\\\":839,\\\"../snapshot/helpers\\\":863,\\\"../snapshot/svgtoimg\\\":865,\\\"../snapshot/tosvg\\\":867,\\\"../version\\\":1316,\\\"./plot_api\\\":763,\\\"fast-isnumeric\\\":236}],770:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../plots/plots\\\"),o=t(\\\"./plot_schema\\\"),a=t(\\\"./plot_config\\\").dfltConfig,s=r.isPlainObject,l=Array.isArray,u=r.isArrayOrTypedArray;function c(t,e,n,i,o,a){a=a||[];for(var h=Object.keys(t),p=0;p<h.length;p++){var f=h[p];if(\\\"transforms\\\"!==f){var g=a.slice();g.push(f);var y=t[f],_=e[f],b=v(n,f),x=(b||{}).valType,w=\\\"info_array\\\"===x,A=\\\"colorscale\\\"===x,C=(b||{}).items;if(m(n,f))if(s(y)&&s(_)&&\\\"any\\\"!==x)c(y,_,b,i,o,g);else if(w&&l(y)){y.length>_.length&&i.push(d(\\\"unused\\\",o,g.concat(_.length)));var M,E,T,S,k,O=_.length,I=Array.isArray(C);if(I&&(O=Math.min(O,C.length)),2===b.dimensions)for(E=0;E<O;E++)if(l(y[E])){y[E].length>_[E].length&&i.push(d(\\\"unused\\\",o,g.concat(E,_[E].length)));var L=_[E].length;for(M=0;M<(I?Math.min(L,C[E].length):L);M++)T=I?C[E][M]:C,S=y[E][M],k=_[E][M],r.validate(S,T)?k!==S&&k!==+S&&i.push(d(\\\"dynamic\\\",o,g.concat(E,M),S,k)):i.push(d(\\\"value\\\",o,g.concat(E,M),S))}else i.push(d(\\\"array\\\",o,g.concat(E),y[E]));else for(E=0;E<O;E++)T=I?C[E]:C,S=y[E],k=_[E],r.validate(S,T)?k!==S&&k!==+S&&i.push(d(\\\"dynamic\\\",o,g.concat(E),S,k)):i.push(d(\\\"value\\\",o,g.concat(E),S))}else if(b.items&&!w&&l(y)){var P,z,R=C[Object.keys(C)[0]],D=[];for(P=0;P<_.length;P++){var $=_[P]._index||P;if((z=g.slice()).push($),s(y[$])&&s(_[P])){D.push($);var B=y[$],N=_[P];s(B)&&!1!==B.visible&&!1===N.visible?i.push(d(\\\"invisible\\\",o,z)):c(B,N,R,i,o,z)}}for(P=0;P<y.length;P++)(z=g.slice()).push(P),s(y[P])?-1===D.indexOf(P)&&i.push(d(\\\"unused\\\",o,z)):i.push(d(\\\"object\\\",o,z,y[P]))}else!s(y)&&s(_)?i.push(d(\\\"object\\\",o,g,y)):u(y)||!u(_)||w||A?f in e?r.validate(y,b)?\\\"enumerated\\\"===b.valType&&(b.coerceNumber&&y!==+_||y!==_)&&i.push(d(\\\"dynamic\\\",o,g,y,_)):i.push(d(\\\"value\\\",o,g,y)):i.push(d(\\\"unused\\\",o,g,y)):i.push(d(\\\"array\\\",o,g,y));else i.push(d(\\\"schema\\\",o,g))}}return i}function h(t,e){for(var n=t.layout.layoutAttributes,i=0;i<e.length;i++){var o=e[i],a=t.traces[o.type],s=a.layoutAttributes;s&&(o.subplot?r.extendFlat(n[a.attributes.subplot.dflt],s):r.extendFlat(n,s))}return n}e.exports=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={});var n,u,p=o.get(),f=[],m={_context:r.extendFlat({},a)};l(t)?(m.data=r.extendDeep([],t),n=t):(m.data=[],n=[],f.push(d(\\\"array\\\",\\\"data\\\"))),s(e)?(m.layout=r.extendDeep({},e),u=e):(m.layout={},u={},arguments.length>1&&f.push(d(\\\"object\\\",\\\"layout\\\"))),i.supplyDefaults(m);for(var v=m._fullData,g=n.length,y=0;y<g;y++){var _=n[y],b=[\\\"data\\\",y];if(s(_)){var x=v[y],w=x.type,A=p.traces[w].attributes;A.type={valType:\\\"enumerated\\\",values:[w]},!1===x.visible&&!1!==_.visible&&f.push(d(\\\"invisible\\\",b)),c(_,x,A,f,b);var C=_.transforms,M=x.transforms;if(C){l(C)||f.push(d(\\\"array\\\",b,[\\\"transforms\\\"])),b.push(\\\"transforms\\\");for(var E=0;E<C.length;E++){var T=[\\\"transforms\\\",E],S=C[E].type;if(s(C[E])){var k=p.transforms[S]?p.transforms[S].attributes:{};k.type={valType:\\\"enumerated\\\",values:Object.keys(p.transforms)},c(C[E],M[E],k,f,b,T)}else f.push(d(\\\"object\\\",b,T))}}}else f.push(d(\\\"object\\\",b))}return c(u,m._fullLayout,h(p,v),f,\\\"layout\\\"),0===f.length?void 0:f};var p={object:function(t,e){return(\\\"layout\\\"===t&&\\\"\\\"===e?\\\"The layout argument\\\":\\\"data\\\"===t[0]&&\\\"\\\"===e?\\\"Trace \\\"+t[1]+\\\" in the data argument\\\":f(t)+\\\"key \\\"+e)+\\\" must be linked to an object container\\\"},array:function(t,e){return(\\\"data\\\"===t?\\\"The data argument\\\":f(t)+\\\"key \\\"+e)+\\\" must be linked to an array container\\\"},schema:function(t,e){return f(t)+\\\"key \\\"+e+\\\" is not part of the schema\\\"},unused:function(t,e,n){var r=s(n)?\\\"container\\\":\\\"key\\\";return f(t)+r+\\\" \\\"+e+\\\" did not get coerced\\\"},dynamic:function(t,e,n,r){return[f(t)+\\\"key\\\",e,\\\"(set to '\\\"+n+\\\"')\\\",\\\"got reset to\\\",\\\"'\\\"+r+\\\"'\\\",\\\"during defaults.\\\"].join(\\\" \\\")},invisible:function(t,e){return(e?f(t)+\\\"item \\\"+e:\\\"Trace \\\"+t[1])+\\\" got defaulted to be not visible\\\"},value:function(t,e,n){return[f(t)+\\\"key \\\"+e,\\\"is set to an invalid value (\\\"+n+\\\")\\\"].join(\\\" \\\")}};function f(t){return l(t)?\\\"In data trace \\\"+t[1]+\\\", \\\":\\\"In \\\"+t+\\\", \\\"}function d(t,e,n,i,o){var a,s;n=n||\\\"\\\",l(e)?(a=e[0],s=e[1]):(a=e,s=null);var u=function(t){if(!l(t))return String(t);for(var e=\\\"\\\",n=0;n<t.length;n++){var r=t[n];\\\"number\\\"==typeof r?e=e.substr(0,e.length-1)+\\\"[\\\"+r+\\\"]\\\":e+=r,n<t.length-1&&(e+=\\\".\\\")}return e}(n),c=p[t](e,u,i,o);return r.log(c),{code:t,container:a,trace:s,path:n,astr:u,msg:c}}function m(t,e){var n=y(e),r=n.keyMinusId,i=n.id;return!!(r in t&&t[r]._isSubplotObj&&i)||e in t}function v(t,e){return e in t?t[e]:t[y(e).keyMinusId]}var g=r.counterRegex(\\\"([a-z]+)\\\");function y(t){var e=t.match(g);return{keyMinusId:e&&e[1],id:e&&e[2]}}},{\\\"../lib\\\":728,\\\"../plots/plots\\\":839,\\\"./plot_config\\\":764,\\\"./plot_schema\\\":765}],771:[function(t,e,n){\\\"use strict\\\";e.exports={mode:{valType:\\\"enumerated\\\",dflt:\\\"afterall\\\",values:[\\\"immediate\\\",\\\"next\\\",\\\"afterall\\\"]},direction:{valType:\\\"enumerated\\\",values:[\\\"forward\\\",\\\"reverse\\\"],dflt:\\\"forward\\\"},fromcurrent:{valType:\\\"boolean\\\",dflt:!1},frame:{duration:{valType:\\\"number\\\",min:0,dflt:500},redraw:{valType:\\\"boolean\\\",dflt:!0}},transition:{duration:{valType:\\\"number\\\",min:0,dflt:500,editType:\\\"none\\\"},easing:{valType:\\\"enumerated\\\",dflt:\\\"cubic-in-out\\\",values:[\\\"linear\\\",\\\"quad\\\",\\\"cubic\\\",\\\"sin\\\",\\\"exp\\\",\\\"circle\\\",\\\"elastic\\\",\\\"back\\\",\\\"bounce\\\",\\\"linear-in\\\",\\\"quad-in\\\",\\\"cubic-in\\\",\\\"sin-in\\\",\\\"exp-in\\\",\\\"circle-in\\\",\\\"elastic-in\\\",\\\"back-in\\\",\\\"bounce-in\\\",\\\"linear-out\\\",\\\"quad-out\\\",\\\"cubic-out\\\",\\\"sin-out\\\",\\\"exp-out\\\",\\\"circle-out\\\",\\\"elastic-out\\\",\\\"back-out\\\",\\\"bounce-out\\\",\\\"linear-in-out\\\",\\\"quad-in-out\\\",\\\"cubic-in-out\\\",\\\"sin-in-out\\\",\\\"exp-in-out\\\",\\\"circle-in-out\\\",\\\"elastic-in-out\\\",\\\"back-in-out\\\",\\\"bounce-in-out\\\"],editType:\\\"none\\\"},ordering:{valType:\\\"enumerated\\\",values:[\\\"layout first\\\",\\\"traces first\\\"],dflt:\\\"layout first\\\",editType:\\\"none\\\"}}}},{}],772:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../plot_api/plot_template\\\");e.exports=function(t,e,n){var o,a,s=n.name,l=n.inclusionAttr||\\\"visible\\\",u=e[s],c=r.isArrayOrTypedArray(t[s])?t[s]:[],h=e[s]=[],p=i.arrayTemplater(e,s,l);for(o=0;o<c.length;o++){var f=c[o];r.isPlainObject(f)?a=p.newItem(f):(a=p.newItem({}))[l]=!1,a._index=o,!1!==a[l]&&n.handleItemDefaults(f,a,e,n),h.push(a)}var d=p.defaultItems();for(o=0;o<d.length;o++)(a=d[o])._index=h.length,n.handleItemDefaults({},a,e,n,{}),h.push(a);if(r.isArrayOrTypedArray(u)){var m=Math.min(u.length,h.length);for(o=0;o<m;o++)r.relinkPrivateKeys(h[o],u[o])}return h}},{\\\"../lib\\\":728,\\\"../plot_api/plot_template\\\":766}],773:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../components/fx/attributes\\\");e.exports={type:{valType:\\\"enumerated\\\",values:[],dflt:\\\"scatter\\\",editType:\\\"calc+clearAxisTypes\\\",_noTemplating:!0},visible:{valType:\\\"enumerated\\\",values:[!0,!1,\\\"legendonly\\\"],dflt:!0,editType:\\\"calc\\\"},showlegend:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"style\\\"},legendgroup:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"style\\\"},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1,editType:\\\"style\\\"},name:{valType:\\\"string\\\",editType:\\\"style\\\"},uid:{valType:\\\"string\\\",editType:\\\"plot\\\",anim:!0},ids:{valType:\\\"data_array\\\",editType:\\\"calc\\\",anim:!0},customdata:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},meta:{valType:\\\"any\\\",arrayOk:!0,editType:\\\"plot\\\"},selectedpoints:{valType:\\\"any\\\",editType:\\\"calc\\\"},hoverinfo:{valType:\\\"flaglist\\\",flags:[\\\"x\\\",\\\"y\\\",\\\"z\\\",\\\"text\\\",\\\"name\\\"],extras:[\\\"all\\\",\\\"none\\\",\\\"skip\\\"],arrayOk:!0,dflt:\\\"all\\\",editType:\\\"none\\\"},hoverlabel:r.hoverlabel,stream:{token:{valType:\\\"string\\\",noBlank:!0,strict:!0,editType:\\\"calc\\\"},maxpoints:{valType:\\\"number\\\",min:0,max:1e4,dflt:500,editType:\\\"calc\\\"},editType:\\\"calc\\\"},transforms:{_isLinkedToArray:\\\"transform\\\",editType:\\\"calc\\\"},uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"}}},{\\\"../components/fx/attributes\\\":626}],774:[function(t,e,n){\\\"use strict\\\";e.exports={xaxis:{valType:\\\"subplotid\\\",dflt:\\\"x\\\",editType:\\\"calc+clearAxisTypes\\\"},yaxis:{valType:\\\"subplotid\\\",dflt:\\\"y\\\",editType:\\\"calc+clearAxisTypes\\\"}}},{}],775:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../constants/numerical\\\").FP_SAFE,a=t(\\\"../../registry\\\");function s(t,e){var n,r,o=[],a=l(e),s=u(t,e),c=s.min,h=s.max;if(0===c.length||0===h.length)return i.simpleMap(e.range,e.r2l);var p=c[0].val,f=h[0].val;for(n=1;n<c.length&&p===f;n++)p=Math.min(p,c[n].val);for(n=1;n<h.length&&p===f;n++)f=Math.max(f,h[n].val);var d=!1;if(e.range){var m=i.simpleMap(e.range,e.r2l);d=m[1]<m[0]}\\\"reversed\\\"===e.autorange&&(d=!0,e.autorange=!0);var v,g,y,_,b,x,w=e.rangemode,A=\\\"tozero\\\"===w,C=\\\"nonnegative\\\"===w,M=e._length,E=M/10,T=function(t,n){var r=0;if(e.rangebreaks)for(var i=e.locateBreaks(t,n),o=0;o<i.length;o++){var a=i[o];r+=a.max-a.min}return r},S=0;for(n=0;n<c.length;n++)for(v=c[n],r=0;r<h.length;r++)(x=(g=h[r]).val-v.val-T(v.val,g.val))>0&&((b=M-a(v)-a(g))>E?x/b>S&&(y=v,_=g,S=x/b):x/M>S&&(y={val:v.val,pad:0},_={val:g.val,pad:0},S=x/M));if(p===f){var k=p-1,O=p+1;if(A)if(0===p)o=[0,1];else{var I=(p>0?h:c).reduce((function(t,e){return Math.max(t,a(e))}),0),L=p/(1-Math.min(.5,I/M));o=p>0?[0,L]:[L,0]}else o=C?[Math.max(0,k),Math.max(1,O)]:[k,O]}else A?(y.val>=0&&(y={val:0,pad:0}),_.val<=0&&(_={val:0,pad:0})):C&&(y.val-S*a(y)<0&&(y={val:0,pad:0}),_.val<=0&&(_={val:1,pad:0})),S=(_.val-y.val-T(v.val,g.val))/(M-a(y)-a(_)),o=[y.val-S*a(y),_.val+S*a(_)];return d&&o.reverse(),i.simpleMap(o,e.l2r||Number)}function l(t){var e=t._length/20;return\\\"domain\\\"===t.constrain&&t._inputDomain&&(e*=(t._inputDomain[1]-t._inputDomain[0])/(t.domain[1]-t.domain[0])),function(t){return t.pad+(t.extrapad?e:0)}}function u(t,e){var n,r,i,o=e._id,a=t._fullData,s=t._fullLayout,l=[],u=[];function p(t,e){for(n=0;n<e.length;n++){var a=t[e[n]],s=(a._extremes||{})[o];if(!0===a.visible&&s){for(r=0;r<s.min.length;r++)i=s.min[r],c(l,i.val,i.pad,{extrapad:i.extrapad});for(r=0;r<s.max.length;r++)i=s.max[r],h(u,i.val,i.pad,{extrapad:i.extrapad})}}}return p(a,e._traceIndices),p(s.annotations||[],e._annIndices||[]),p(s.shapes||[],e._shapeIndices||[]),{min:l,max:u}}function c(t,e,n,r){p(t,e,n,r,d)}function h(t,e,n,r){p(t,e,n,r,m)}function p(t,e,n,r,i){for(var o=r.tozero,a=r.extrapad,s=!0,l=0;l<t.length&&s;l++){var u=t[l];if(i(u.val,e)&&u.pad>=n&&(u.extrapad||!a)){s=!1;break}i(e,u.val)&&u.pad<=n&&(a||!u.extrapad)&&(t.splice(l,1),l--)}if(s){var c=o&&0===e;t.push({val:e,pad:c?0:n,extrapad:!c&&a})}}function f(t){return r(t)&&Math.abs(t)<o}function d(t,e){return t<=e}function m(t,e){return t>=e}e.exports={getAutoRange:s,makePadFn:l,doAutoRange:function(t,e){if(e.setScale(),e.autorange){e.range=s(t,e),e._r=e.range.slice(),e._rl=i.simpleMap(e._r,e.r2l);var n=e._input,r={};r[e._attr+\\\".range\\\"]=e.range,r[e._attr+\\\".autorange\\\"]=e.autorange,a.call(\\\"_storeDirectGUIEdit\\\",t.layout,t._fullLayout._preGUI,r),n.range=e.range.slice(),n.autorange=e.autorange}var o=e._anchorAxis;if(o&&o.rangeslider){var l=o.rangeslider[e._name];l&&\\\"auto\\\"===l.rangemode&&(l.range=s(t,e)),o._input.rangeslider[e._name]=i.extendFlat({},l)}},findExtremes:function(t,e,n){n||(n={}),t._m||t.setScale();var i,a,s,l,u,p,d,m,v,g=[],y=[],_=e.length,b=n.padded||!1,x=n.tozero&&(\\\"linear\\\"===t.type||\\\"-\\\"===t.type),w=\\\"log\\\"===t.type,A=!1,C=n.vpadLinearized||!1;function M(t){if(Array.isArray(t))return A=!0,function(e){return Math.max(Number(t[e]||0),0)};var e=Math.max(Number(t||0),0);return function(){return e}}var E=M((t._m>0?n.ppadplus:n.ppadminus)||n.ppad||0),T=M((t._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),S=M(n.vpadplus||n.vpad),k=M(n.vpadminus||n.vpad);if(!A){if(m=1/0,v=-1/0,w)for(i=0;i<_;i++)(a=e[i])<m&&a>0&&(m=a),a>v&&a<o&&(v=a);else for(i=0;i<_;i++)(a=e[i])<m&&a>-o&&(m=a),a>v&&a<o&&(v=a);e=[m,v],_=2}var O={tozero:x,extrapad:b};function I(n){s=e[n],r(s)&&(p=E(n),d=T(n),C?(l=t.c2l(s)-k(n),u=t.c2l(s)+S(n)):(m=s-k(n),v=s+S(n),w&&m<v/10&&(m=v/10),l=t.c2l(m),u=t.c2l(v)),x&&(l=Math.min(0,l),u=Math.max(0,u)),f(l)&&c(g,l,d,O),f(u)&&h(y,u,p,O))}var L=Math.min(6,_);for(i=0;i<L;i++)I(i);for(i=_-1;i>=L;i--)I(i);return{min:g,max:y,opts:n}},concatExtremes:u}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"fast-isnumeric\\\":236}],776:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../../plots/plots\\\"),a=t(\\\"../../registry\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../../lib/svg_text_utils\\\"),u=t(\\\"../../components/titles\\\"),c=t(\\\"../../components/color\\\"),h=t(\\\"../../components/drawing\\\"),p=t(\\\"./layout_attributes\\\"),f=t(\\\"./clean_ticks\\\"),d=t(\\\"../../constants/numerical\\\"),m=d.ONEAVGYEAR,v=d.ONEAVGMONTH,g=d.ONEDAY,y=d.ONEHOUR,_=d.ONEMIN,b=d.ONESEC,x=d.MINUS_SIGN,w=d.BADNUM,A=t(\\\"../../constants/alignment\\\"),C=A.MID_SHIFT,M=A.CAP_SHIFT,E=A.LINE_SPACING,T=A.OPPOSITE_SIDE,S=e.exports={};S.setConvert=t(\\\"./set_convert\\\");var k=t(\\\"./axis_autotype\\\"),O=t(\\\"./axis_ids\\\");S.id2name=O.id2name,S.name2id=O.name2id,S.cleanId=O.cleanId,S.list=O.list,S.listIds=O.listIds,S.getFromId=O.getFromId,S.getFromTrace=O.getFromTrace;var I=t(\\\"./autorange\\\");function L(t){var e=1e-4*(t[1]-t[0]);return[t[0]-e,t[1]+e]}S.getAutoRange=I.getAutoRange,S.findExtremes=I.findExtremes,S.coerceRef=function(t,e,n,r,i,o){var a=r.charAt(r.length-1),l=n._fullLayout._subplots[a+\\\"axis\\\"],u=r+\\\"ref\\\",c={};return i||(i=l[0]||o),o||(o=i),c[u]={valType:\\\"enumerated\\\",values:l.concat(o?[o]:[]),dflt:i},s.coerce(t,e,c,u)},S.coercePosition=function(t,e,n,r,i,o){var a,l;if(\\\"paper\\\"===r||\\\"pixel\\\"===r)a=s.ensureNumber,l=n(i,o);else{var u=S.getFromId(e,r);l=n(i,o=u.fraction2r(o)),a=u.cleanPos}t[i]=a(l)},S.cleanPosition=function(t,e,n){return(\\\"paper\\\"===n||\\\"pixel\\\"===n?s.ensureNumber:S.getFromId(e,n).cleanPos)(t)},S.redrawComponents=function(t,e){e=e||S.listIds(t);var n=t._fullLayout;function r(r,i,o,s){for(var l=a.getComponentMethod(r,i),u={},c=0;c<e.length;c++)for(var h=n[S.id2name(e[c])][o],p=0;p<h.length;p++){var f=h[p];if(!u[f]&&(l(t,f),u[f]=1,s))return}}r(\\\"annotations\\\",\\\"drawOne\\\",\\\"_annIndices\\\"),r(\\\"shapes\\\",\\\"drawOne\\\",\\\"_shapeIndices\\\"),r(\\\"images\\\",\\\"draw\\\",\\\"_imgIndices\\\",!0)};var P=S.getDataConversions=function(t,e,n,r){var i,o=\\\"x\\\"===n||\\\"y\\\"===n||\\\"z\\\"===n?n:r;if(Array.isArray(o)){if(i={type:k(r),_categories:[]},S.setConvert(i),\\\"category\\\"===i.type)for(var a=0;a<r.length;a++)i.d2c(r[a])}else i=S.getFromTrace(t,e,o);return i?{d2c:i.d2c,c2d:i.c2d}:\\\"ids\\\"===o?{d2c:R,c2d:R}:{d2c:z,c2d:z}};function z(t){return+t}function R(t){return String(t)}S.getDataToCoordFunc=function(t,e,n,r){return P(t,e,n,r).d2c},S.counterLetter=function(t){var e=t.charAt(0);return\\\"x\\\"===e?\\\"y\\\":\\\"y\\\"===e?\\\"x\\\":void 0},S.minDtick=function(t,e,n,r){-1===[\\\"log\\\",\\\"category\\\",\\\"multicategory\\\"].indexOf(t.type)&&r?void 0===t._minDtick?(t._minDtick=e,t._forceTick0=n):t._minDtick&&((t._minDtick/e+1e-6)%1<2e-6&&((n-t._forceTick0)/e%1+1.000001)%1<2e-6?(t._minDtick=e,t._forceTick0=n):((e/t._minDtick+1e-6)%1>2e-6||((n-t._forceTick0)/t._minDtick%1+1.000001)%1>2e-6)&&(t._minDtick=0)):t._minDtick=0},S.saveRangeInitial=function(t,e){for(var n=S.list(t,\\\"\\\",!0),r=!1,i=0;i<n.length;i++){var o=n[i],a=void 0===o._rangeInitial,s=a||!(o.range[0]===o._rangeInitial[0]&&o.range[1]===o._rangeInitial[1]);(a&&!1===o.autorange||e&&s)&&(o._rangeInitial=o.range.slice(),r=!0)}return r},S.saveShowSpikeInitial=function(t,e){for(var n=S.list(t,\\\"\\\",!0),r=!1,i=\\\"on\\\",o=0;o<n.length;o++){var a=n[o],s=void 0===a._showSpikeInitial,l=s||!(a.showspikes===a._showspikes);(s||e&&l)&&(a._showSpikeInitial=a.showspikes,r=!0),\\\"on\\\"!==i||a.showspikes||(i=\\\"off\\\")}return t._fullLayout._cartesianSpikesEnabled=i,r},S.autoBin=function(t,e,n,r,o,a){var l,u=s.aggNums(Math.min,null,t),c=s.aggNums(Math.max,null,t);if(\\\"category\\\"===e.type||\\\"multicategory\\\"===e.type)return{start:u-.5,end:c+.5,size:Math.max(1,Math.round(a)||1),_dataSpan:c-u};if(o||(o=e.calendar),l=\\\"log\\\"===e.type?{type:\\\"linear\\\",range:[u,c]}:{type:e.type,range:s.simpleMap([u,c],e.c2r,0,o),calendar:o},S.setConvert(l),a=a&&f.dtick(a,l.type))l.dtick=a,l.tick0=f.tick0(void 0,l.type,o);else{var h;if(n)h=(c-u)/n;else{var p=s.distinctVals(t),d=Math.pow(10,Math.floor(Math.log(p.minDiff)/Math.LN10)),m=d*s.roundUp(p.minDiff/d,[.9,1.9,4.9,9.9],!0);h=Math.max(m,2*s.stdev(t)/Math.pow(t.length,r?.25:.4)),i(h)||(h=1)}S.autoTicks(l,h)}var v,y=l.dtick,_=S.tickIncrement(S.tickFirst(l),y,\\\"reverse\\\",o);if(\\\"number\\\"==typeof y)v=(_=function(t,e,n,r,o){var a=0,s=0,l=0,u=0;function c(e){return(1+100*(e-t)/n.dtick)%100<2}for(var h=0;h<e.length;h++)e[h]%1==0?l++:i(e[h])||u++,c(e[h])&&a++,c(e[h]+n.dtick/2)&&s++;var p=e.length-u;if(l===p&&\\\"date\\\"!==n.type)n.dtick<1?t=r-.5*n.dtick:(t-=.5)+n.dtick<r&&(t+=n.dtick);else if(s<.1*p&&(a>.3*p||c(r)||c(o))){var f=n.dtick/2;t+=t+f<r?f:-f}return t}(_,t,l,u,c))+(1+Math.floor((c-_)/y))*y;else for(\\\"M\\\"===l.dtick.charAt(0)&&(_=function(t,e,n,r,i){var o=s.findExactDates(e,i);if(o.exactDays>.8){var a=Number(n.substr(1));o.exactYears>.8&&a%12==0?t=S.tickIncrement(t,\\\"M6\\\",\\\"reverse\\\")+1.5*g:o.exactMonths>.8?t=S.tickIncrement(t,\\\"M1\\\",\\\"reverse\\\")+15.5*g:t-=g/2;var l=S.tickIncrement(t,n);if(l<=r)return l}return t}(_,t,y,u,o)),v=_;v<=c;)v=S.tickIncrement(v,y,!1,o);return{start:e.c2r(_,0,o),end:e.c2r(v,0,o),size:y,_dataSpan:c-u}},S.prepTicks=function(t,e){var n=s.simpleMap(t.range,t.r2l,void 0,void 0,e);if(\\\"auto\\\"===t.tickmode||!t.dtick){var r,i=t.nticks;i||(\\\"category\\\"===t.type||\\\"multicategory\\\"===t.type?(r=t.tickfont?1.2*(t.tickfont.size||12):15,i=t._length/r):(r=\\\"y\\\"===t._id.charAt(0)?40:80,i=s.constrain(t._length/r,4,9)+1),\\\"radialaxis\\\"===t._name&&(i*=2)),\\\"array\\\"===t.tickmode&&(i*=100),t._roughDTick=(Math.abs(n[1]-n[0])-(t._lBreaks||0))/i,S.autoTicks(t,t._roughDTick),t._minDtick>0&&t.dtick<2*t._minDtick&&(t.dtick=t._minDtick,t.tick0=t.l2r(t._forceTick0))}t.tick0||(t.tick0=\\\"date\\\"===t.type?\\\"2000-01-01\\\":0),\\\"date\\\"===t.type&&t.dtick<.1&&(t.dtick=.1),V(t)},S.calcTicks=function(t,e){S.prepTicks(t,e);var n=s.simpleMap(t.range,t.r2l,void 0,void 0,e);if(\\\"array\\\"===t.tickmode)return function(t){var e=t.tickvals,n=t.ticktext,r=new Array(e.length),i=L(s.simpleMap(t.range,t.r2l)),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]),l=0;Array.isArray(n)||(n=[]);var u=\\\"category\\\"===t.type?t.d2l_noadd:t.d2l;\\\"log\\\"===t.type&&\\\"L\\\"!==String(t.dtick).charAt(0)&&(t.dtick=\\\"L\\\"+Math.pow(10,Math.floor(Math.min(t.range[0],t.range[1]))-1));for(var c=0;c<e.length;c++){var h=u(e[c]);h>o&&h<a&&(void 0===n[c]?r[l]=S.tickText(t,h):r[l]=H(t,h,String(n[c])),l++)}return l<e.length&&r.splice(l,e.length-l),t.rangebreaks&&(r=r.filter((function(e){return t.maskBreaks(e.x)!==w}))),r}(t);t._tmin=S.tickFirst(t,e);var r=L(n),o=r[0],a=r[1],l=n[1]<n[0];if(t._tmin<o!==l)return[];\\\"category\\\"!==t.type&&\\\"multicategory\\\"!==t.type||(a=l?Math.max(-.5,a):Math.min(t._categories.length-.5,a));var u,c=\\\"log\\\"===t.type&&!(i(t.dtick)||\\\"L\\\"===t.dtick.charAt(0));if(function(){var e=null,n=Math.max(1e3,t._length||0);u=[];for(var r=t._tmin;(l?r>=a:r<=a)&&!(u.length>n||r===e);r=S.tickIncrement(r,t.dtick,l,t.calendar)){e=r;var i=!1;c&&r!==(0|r)&&(i=!0),u.push({minor:i,value:r})}}(),t.rangebreaks){var h=u.length;if(h){var p=0;\\\"auto\\\"===t.tickmode&&(p=(\\\"y\\\"===t._id.charAt(0)?2:6)*(t.tickfont?t.tickfont.size:12));for(var f,d=[],m=l?1:-1,v=l?h-1:0,g=l?0:h-1;m*g<=m*v;g+=m){var y=u[g];if(t.maskBreaks(y.value)!==w||(y.value=ut(y.value,t),!t._rl||t._rl[0]!==y.value&&t._rl[1]!==y.value)){var _=t.c2p(y.value);_===f?d[d.length-1].value<y.value&&(d[d.length-1]=y):(void 0===f||Math.abs(_-f)>p)&&(f=_,d.push(y))}}u=d.reverse()}}lt(t)&&360===Math.abs(n[1]-n[0])&&u.pop(),t._tmax=(u[u.length-1]||{}).value,t._prevDateHead=\\\"\\\",t._inCalcTicks=!0;for(var b=new Array(u.length),x=0;x<u.length;x++){var A=u[x].minor,C=u[x].value;b[x]=S.tickText(t,C,!1,A)}return t._inCalcTicks=!1,b};var D=[2,5,10],$=[1,2,3,6,12],B=[1,2,5,10,15,30],N=[1,2,3,7,14],F=[-.046,0,.301,.477,.602,.699,.778,.845,.903,.954,1],j=[-.301,0,.301,.699,1],U=[15,30,45,90,180];function q(t,e,n){return e*s.roundUp(t/e,n)}function V(t){var e=t.dtick;if(t._tickexponent=0,i(e)||\\\"string\\\"==typeof e||(e=1),\\\"category\\\"!==t.type&&\\\"multicategory\\\"!==t.type||(t._tickround=null),\\\"date\\\"===t.type){var n=t.r2l(t.tick0),r=t.l2r(n).replace(/(^-|i)/g,\\\"\\\"),o=r.length;if(\\\"M\\\"===String(e).charAt(0))o>10||\\\"01-01\\\"!==r.substr(5)?t._tickround=\\\"d\\\":t._tickround=+e.substr(1)%12==0?\\\"y\\\":\\\"m\\\";else if(e>=g&&o<=10||e>=15*g)t._tickround=\\\"d\\\";else if(e>=_&&o<=16||e>=y)t._tickround=\\\"M\\\";else if(e>=b&&o<=19||e>=_)t._tickround=\\\"S\\\";else{var a=t.l2r(n+e).replace(/^-/,\\\"\\\").length;t._tickround=Math.max(o,a)-20,t._tickround<0&&(t._tickround=4)}}else if(i(e)||\\\"L\\\"===e.charAt(0)){var s=t.range.map(t.r2d||Number);i(e)||(e=Number(e.substr(1))),t._tickround=2-Math.floor(Math.log(e)/Math.LN10+.01);var l=Math.max(Math.abs(s[0]),Math.abs(s[1])),u=Math.floor(Math.log(l)/Math.LN10+.01);Math.abs(u)>3&&(X(t.exponentformat)&&!Y(u)?t._tickexponent=3*Math.round((u-1)/3):t._tickexponent=u)}else t._tickround=null}function H(t,e,n){var r=t.tickfont||{};return{x:e,dx:0,dy:0,text:n||\\\"\\\",fontSize:r.size,font:r.family,fontColor:r.color}}function G(t,e,n,r,i){if(\\\"radians\\\"!==t.thetaunit||n)e.text=Z(e.x,t,i,r);else{var o=e.x/180;if(0===o)e.text=\\\"0\\\";else{var a=function(t){function e(t,e){return Math.abs(t-e)<=1e-6}function n(t,r){return e(r,0)?t:n(r,t%r)}function r(t){for(var n=1;!e(Math.round(t*n)/n,t);)n*=10;return n}var i=r(t),o=t*i,a=Math.abs(n(o,i));return[Math.round(o/a),Math.round(i/a)]}(o);if(a[1]>=100)e.text=Z(s.deg2rad(e.x),t,i,r);else{var l=e.x<0;1===a[1]?1===a[0]?e.text=\\\"π\\\":e.text=a[0]+\\\"π\\\":e.text=[\\\"<sup>\\\",a[0],\\\"</sup>\\\",\\\"\\\",\\\"<sub>\\\",a[1],\\\"</sub>\\\",\\\"π\\\"].join(\\\"\\\"),l&&(e.text=x+e.text)}}}}S.autoTicks=function(t,e){var n;function r(t){return Math.pow(t,Math.floor(Math.log(e)/Math.LN10))}if(\\\"date\\\"===t.type){t.tick0=s.dateTick0(t.calendar);var o=2*e;o>m?(e/=m,n=r(10),t.dtick=\\\"M\\\"+12*q(e,n,D)):o>v?(e/=v,t.dtick=\\\"M\\\"+q(e,1,$)):o>g?(t.dtick=q(e,g,t._hasDayOfWeekBreaks?[1,2,7,14]:N),t.tick0=s.dateTick0(t.calendar,!0)):o>y?t.dtick=q(e,y,$):o>_?t.dtick=q(e,_,B):o>b?t.dtick=q(e,b,B):(n=r(10),t.dtick=q(e,n,D))}else if(\\\"log\\\"===t.type){t.tick0=0;var a=s.simpleMap(t.range,t.r2l);if(e>.7)t.dtick=Math.ceil(e);else if(Math.abs(a[1]-a[0])<1){var l=1.5*Math.abs((a[1]-a[0])/e);e=Math.abs(Math.pow(10,a[1])-Math.pow(10,a[0]))/l,n=r(10),t.dtick=\\\"L\\\"+q(e,n,D)}else t.dtick=e>.3?\\\"D2\\\":\\\"D1\\\"}else\\\"category\\\"===t.type||\\\"multicategory\\\"===t.type?(t.tick0=0,t.dtick=Math.ceil(Math.max(e,1))):lt(t)?(t.tick0=0,n=1,t.dtick=q(e,n,U)):(t.tick0=0,n=r(10),t.dtick=q(e,n,D));if(0===t.dtick&&(t.dtick=1),!i(t.dtick)&&\\\"string\\\"!=typeof t.dtick){var u=t.dtick;throw t.dtick=1,\\\"ax.dtick error: \\\"+String(u)}},S.tickIncrement=function(t,e,n,o){var a=n?-1:1;if(i(e))return t+a*e;var l=e.charAt(0),u=a*Number(e.substr(1));if(\\\"M\\\"===l)return s.incrementMonth(t,u,o);if(\\\"L\\\"===l)return Math.log(Math.pow(10,t)+u)/Math.LN10;if(\\\"D\\\"===l){var c=\\\"D2\\\"===e?j:F,h=t+.01*a,p=s.roundUp(s.mod(h,1),c,n);return Math.floor(h)+Math.log(r.round(Math.pow(10,p),1))/Math.LN10}throw\\\"unrecognized dtick \\\"+String(e)},S.tickFirst=function(t,e){var n=t.r2l||Number,o=s.simpleMap(t.range,n,void 0,void 0,e),a=o[1]<o[0],l=a?Math.floor:Math.ceil,u=L(o)[0],c=t.dtick,h=n(t.tick0);if(i(c)){var p=l((u-h)/c)*c+h;return\\\"category\\\"!==t.type&&\\\"multicategory\\\"!==t.type||(p=s.constrain(p,0,t._categories.length-1)),p}var f=c.charAt(0),d=Number(c.substr(1));if(\\\"M\\\"===f){for(var m,v,g,y=0,_=h;y<10;){if(((m=S.tickIncrement(_,c,a,t.calendar))-u)*(_-u)<=0)return a?Math.min(_,m):Math.max(_,m);v=(u-(_+m)/2)/(m-_),g=f+(Math.abs(Math.round(v))||1)*d,_=S.tickIncrement(_,g,v<0?!a:a,t.calendar),y++}return s.error(\\\"tickFirst did not converge\\\",t),_}if(\\\"L\\\"===f)return Math.log(l((Math.pow(10,u)-h)/d)*d+h)/Math.LN10;if(\\\"D\\\"===f){var b=\\\"D2\\\"===c?j:F,x=s.roundUp(s.mod(u,1),b,a);return Math.floor(u)+Math.log(r.round(Math.pow(10,x),1))/Math.LN10}throw\\\"unrecognized dtick \\\"+String(c)},S.tickText=function(t,e,n,r){var o,a=H(t,e),l=\\\"array\\\"===t.tickmode,u=n||l,c=t.type,h=\\\"category\\\"===c?t.d2l_noadd:t.d2l;if(l&&Array.isArray(t.ticktext)){var p=s.simpleMap(t.range,t.r2l),f=(Math.abs(p[1]-p[0])-(t._lBreaks||0))/1e4;for(o=0;o<t.ticktext.length&&!(Math.abs(e-h(t.tickvals[o]))<f);o++);if(o<t.ticktext.length)return a.text=String(t.ticktext[o]),a}function d(r){if(void 0===r)return!0;if(n)return\\\"none\\\"===r;var i={first:t._tmin,last:t._tmax}[r];return\\\"all\\\"!==r&&e!==i}var m=n?\\\"never\\\":\\\"none\\\"!==t.exponentformat&&d(t.showexponent)?\\\"hide\\\":\\\"\\\";if(\\\"date\\\"===c?function(t,e,n,r){var o=t._tickround,a=n&&t.hoverformat||S.getTickFormat(t);r&&(o=i(o)?4:{y:\\\"m\\\",m:\\\"d\\\",d:\\\"M\\\",M:\\\"S\\\",S:4}[o]);var l,u=s.formatDate(e.x,a,o,t._dateFormat,t.calendar,t._extraFormat),c=u.indexOf(\\\"\\\\n\\\");-1!==c&&(l=u.substr(c+1),u=u.substr(0,c)),r&&(\\\"00:00:00\\\"===u||\\\"00:00\\\"===u?(u=l,l=\\\"\\\"):8===u.length&&(u=u.replace(/:00$/,\\\"\\\"))),l&&(n?\\\"d\\\"===o?u+=\\\", \\\"+l:u=l+(u?\\\", \\\"+u:\\\"\\\"):t._inCalcTicks&&l===t._prevDateHead||(u+=\\\"<br>\\\"+l,t._prevDateHead=l)),e.text=u}(t,a,n,u):\\\"log\\\"===c?function(t,e,n,r,o){var a=t.dtick,l=e.x,u=t.tickformat,c=\\\"string\\\"==typeof a&&a.charAt(0);if(\\\"never\\\"===o&&(o=\\\"\\\"),r&&\\\"L\\\"!==c&&(a=\\\"L3\\\",c=\\\"L\\\"),u||\\\"L\\\"===c)e.text=Z(Math.pow(10,l),t,o,r);else if(i(a)||\\\"D\\\"===c&&s.mod(l+.01,1)<.1){var h=Math.round(l),p=Math.abs(h),f=t.exponentformat;\\\"power\\\"===f||X(f)&&Y(h)?(e.text=0===h?1:1===h?\\\"10\\\":\\\"10<sup>\\\"+(h>1?\\\"\\\":x)+p+\\\"</sup>\\\",e.fontSize*=1.25):(\\\"e\\\"===f||\\\"E\\\"===f)&&p>2?e.text=\\\"1\\\"+f+(h>0?\\\"+\\\":x)+p:(e.text=Z(Math.pow(10,l),t,\\\"\\\",\\\"fakehover\\\"),\\\"D1\\\"===a&&\\\"y\\\"===t._id.charAt(0)&&(e.dy-=e.fontSize/6))}else{if(\\\"D\\\"!==c)throw\\\"unrecognized dtick \\\"+String(a);e.text=String(Math.round(Math.pow(10,s.mod(l,1)))),e.fontSize*=.75}if(\\\"D1\\\"===t.dtick){var d=String(e.text).charAt(0);\\\"0\\\"!==d&&\\\"1\\\"!==d||(\\\"y\\\"===t._id.charAt(0)?e.dx-=e.fontSize/4:(e.dy+=e.fontSize/2,e.dx+=(t.range[1]>t.range[0]?1:-1)*e.fontSize*(l<0?.5:.25)))}}(t,a,0,u,m):\\\"category\\\"===c?function(t,e){var n=t._categories[Math.round(e.x)];void 0===n&&(n=\\\"\\\"),e.text=String(n)}(t,a):\\\"multicategory\\\"===c?function(t,e,n){var r=Math.round(e.x),i=t._categories[r]||[],o=void 0===i[1]?\\\"\\\":String(i[1]),a=void 0===i[0]?\\\"\\\":String(i[0]);n?e.text=a+\\\" - \\\"+o:(e.text=o,e.text2=a)}(t,a,n):lt(t)?G(t,a,n,u,m):function(t,e,n,r,i){\\\"never\\\"===i?i=\\\"\\\":\\\"all\\\"===t.showexponent&&Math.abs(e.x/t.dtick)<1e-6&&(i=\\\"hide\\\"),e.text=Z(e.x,t,i,r)}(t,a,0,u,m),r||(t.tickprefix&&!d(t.showtickprefix)&&(a.text=t.tickprefix+a.text),t.ticksuffix&&!d(t.showticksuffix)&&(a.text+=t.ticksuffix)),\\\"boundaries\\\"===t.tickson||t.showdividers){var v=function(e){var n=t.l2p(e);return n>=0&&n<=t._length?e:null};a.xbnd=[v(a.x-.5),v(a.x+t.dtick-.5)]}return a},S.hoverLabelText=function(t,e,n){if(n!==w&&n!==e)return S.hoverLabelText(t,e)+\\\" - \\\"+S.hoverLabelText(t,n);var r=\\\"log\\\"===t.type&&e<=0,i=S.tickText(t,t.c2l(r?-e:e),\\\"hover\\\").text;return r?0===e?\\\"0\\\":x+i:i};var W=[\\\"f\\\",\\\"p\\\",\\\"n\\\",\\\"μ\\\",\\\"m\\\",\\\"\\\",\\\"k\\\",\\\"M\\\",\\\"G\\\",\\\"T\\\"];function X(t){return\\\"SI\\\"===t||\\\"B\\\"===t}function Y(t){return t>14||t<-15}function Z(t,e,n,r){var o=t<0,a=e._tickround,l=n||e.exponentformat||\\\"B\\\",u=e._tickexponent,c=S.getTickFormat(e),h=e.separatethousands;if(r){var p={exponentformat:l,dtick:\\\"none\\\"===e.showexponent?e.dtick:i(t)&&Math.abs(t)||1,range:\\\"none\\\"===e.showexponent?e.range.map(e.r2d):[0,t||1]};V(p),a=(Number(p._tickround)||0)+4,u=p._tickexponent,e.hoverformat&&(c=e.hoverformat)}if(c)return e._numFormat(c)(t).replace(/-/g,x);var f,d=Math.pow(10,-a)/2;if(\\\"none\\\"===l&&(u=0),(t=Math.abs(t))<d)t=\\\"0\\\",o=!1;else{if(t+=d,u&&(t*=Math.pow(10,-u),a+=u),0===a)t=String(Math.floor(t));else if(a<0){t=(t=String(Math.round(t))).substr(0,t.length+a);for(var m=a;m<0;m++)t+=\\\"0\\\"}else{var v=(t=String(t)).indexOf(\\\".\\\")+1;v&&(t=t.substr(0,v+a).replace(/\\\\.?0+$/,\\\"\\\"))}t=s.numSeparate(t,e._separators,h)}return u&&\\\"hide\\\"!==l&&(X(l)&&Y(u)&&(l=\\\"power\\\"),f=u<0?x+-u:\\\"power\\\"!==l?\\\"+\\\"+u:String(u),\\\"e\\\"===l||\\\"E\\\"===l?t+=l+f:\\\"power\\\"===l?t+=\\\"×10<sup>\\\"+f+\\\"</sup>\\\":\\\"B\\\"===l&&9===u?t+=\\\"B\\\":X(l)&&(t+=W[u/3+5])),o?x+t:t}function K(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i];r[o.text2]?r[o.text2].push(o.x):r[o.text2]=[o.x]}for(var a in r)n.push(H(t,s.interp(r[a],.5),a));return n}function J(t){return[t.text,t.x,t.axInfo,t.font,t.fontSize,t.fontColor].join(\\\"_\\\")}function Q(t){var e=t.title.font.size,n=(t.title.text.match(l.BR_TAG_ALL)||[]).length;return t.title.hasOwnProperty(\\\"standoff\\\")?n?e*(M+n*E):e*M:n?e*(n+1)*E:e}function tt(t,e){var n=t.l2p(e);return n>1&&n<t._length-1}function et(t){var e=r.select(t),n=e.select(\\\".text-math-group\\\");return n.empty()?e.select(\\\"text\\\"):n}function nt(t){return t._id+\\\".automargin\\\"}function rt(t){return nt(t)+\\\".mirror\\\"}function it(t){return t._id+\\\".rangeslider\\\"}function ot(t,e){for(var n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n])}function at(t,e,n){var r,i,o=[],a=[],l=t.layout;for(r=0;r<e.length;r++)o.push(S.getFromId(t,e[r]));for(r=0;r<n.length;r++)a.push(S.getFromId(t,n[r]));var u=Object.keys(p),c=[\\\"anchor\\\",\\\"domain\\\",\\\"overlaying\\\",\\\"position\\\",\\\"side\\\",\\\"tickangle\\\",\\\"editType\\\"],h=[\\\"linear\\\",\\\"log\\\"];for(r=0;r<u.length;r++){var f=u[r],d=o[0][f],m=a[0][f],v=!0,g=!1,y=!1;if(\\\"_\\\"!==f.charAt(0)&&\\\"function\\\"!=typeof d&&-1===c.indexOf(f)){for(i=1;i<o.length&&v;i++){var _=o[i][f];\\\"type\\\"===f&&-1!==h.indexOf(d)&&-1!==h.indexOf(_)&&d!==_?g=!0:_!==d&&(v=!1)}for(i=1;i<a.length&&v;i++){var b=a[i][f];\\\"type\\\"===f&&-1!==h.indexOf(m)&&-1!==h.indexOf(b)&&m!==b?y=!0:a[i][f]!==m&&(v=!1)}v&&(g&&(l[o[0]._name].type=\\\"linear\\\"),y&&(l[a[0]._name].type=\\\"linear\\\"),st(l,f,o,a,t._fullLayout._dfltTitle))}}for(r=0;r<t._fullLayout.annotations.length;r++){var x=t._fullLayout.annotations[r];-1!==e.indexOf(x.xref)&&-1!==n.indexOf(x.yref)&&s.swapAttrs(l.annotations[r],[\\\"?\\\"])}}function st(t,e,n,r,i){var o,a=s.nestedProperty,l=a(t[n[0]._name],e).get(),u=a(t[r[0]._name],e).get();for(\\\"title\\\"===e&&(l&&l.text===i.x&&(l.text=i.y),u&&u.text===i.y&&(u.text=i.x)),o=0;o<n.length;o++)a(t,n[o]._name+\\\".\\\"+e).set(u);for(o=0;o<r.length;o++)a(t,r[o]._name+\\\".\\\"+e).set(l)}function lt(t){return\\\"angularaxis\\\"===t._id}function ut(t,e){for(var n=e._rangebreaks.length,r=0;r<n;r++){var i=e._rangebreaks[r];if(t>=i.min&&t<i.max)return i.max}return t}S.getTickFormat=function(t){var e,n,r,i,o,a,s,l;function u(t){return\\\"string\\\"!=typeof t?t:Number(t.replace(\\\"M\\\",\\\"\\\"))*v}function c(t,e){var n=[\\\"L\\\",\\\"D\\\"];if(typeof t==typeof e){if(\\\"number\\\"==typeof t)return t-e;var r=n.indexOf(t.charAt(0)),i=n.indexOf(e.charAt(0));return r===i?Number(t.replace(/(L|D)/g,\\\"\\\"))-Number(e.replace(/(L|D)/g,\\\"\\\")):r-i}return\\\"number\\\"==typeof t?1:-1}function h(t,e){var n=null===e[0],r=null===e[1],i=c(t,e[0])>=0,o=c(t,e[1])<=0;return(n||i)&&(r||o)}if(t.tickformatstops&&t.tickformatstops.length>0)switch(t.type){case\\\"date\\\":case\\\"linear\\\":for(e=0;e<t.tickformatstops.length;e++)if((r=t.tickformatstops[e]).enabled&&(i=t.dtick,o=r.dtickrange,a=void 0,s=void 0,l=void 0,a=u||function(t){return t},s=o[0],l=o[1],(!s&&\\\"number\\\"!=typeof s||a(s)<=a(i))&&(!l&&\\\"number\\\"!=typeof l||a(l)>=a(i)))){n=r;break}break;case\\\"log\\\":for(e=0;e<t.tickformatstops.length;e++)if((r=t.tickformatstops[e]).enabled&&h(t.dtick,r.dtickrange)){n=r;break}}return n?n.value:t.tickformat},S.getSubplots=function(t,e){var n=t._fullLayout._subplots,r=n.cartesian.concat(n.gl2d||[]),i=e?S.findSubplotsWithAxis(r,e):r;return i.sort((function(t,e){var n=t.substr(1).split(\\\"y\\\"),r=e.substr(1).split(\\\"y\\\");return n[0]===r[0]?+n[1]-+r[1]:+n[0]-+r[0]})),i},S.findSubplotsWithAxis=function(t,e){for(var n=new RegExp(\\\"x\\\"===e._id.charAt(0)?\\\"^\\\"+e._id+\\\"y\\\":e._id+\\\"$\\\"),r=[],i=0;i<t.length;i++){var o=t[i];n.test(o)&&r.push(o)}return r},S.makeClipPaths=function(t){var e=t._fullLayout;if(!e._hasOnlyLargeSploms){var n,i,o={_offset:0,_length:e.width,_id:\\\"\\\"},a={_offset:0,_length:e.height,_id:\\\"\\\"},s=S.list(t,\\\"x\\\",!0),l=S.list(t,\\\"y\\\",!0),u=[];for(n=0;n<s.length;n++)for(u.push({x:s[n],y:a}),i=0;i<l.length;i++)0===n&&u.push({x:o,y:l[i]}),u.push({x:s[n],y:l[i]});var c=e._clips.selectAll(\\\".axesclip\\\").data(u,(function(t){return t.x._id+t.y._id}));c.enter().append(\\\"clipPath\\\").classed(\\\"axesclip\\\",!0).attr(\\\"id\\\",(function(t){return\\\"clip\\\"+e._uid+t.x._id+t.y._id})).append(\\\"rect\\\"),c.exit().remove(),c.each((function(t){r.select(this).select(\\\"rect\\\").attr({x:t.x._offset||0,y:t.y._offset||0,width:t.x._length||1,height:t.y._length||1})}))}},S.draw=function(t,e,n){var r=t._fullLayout;\\\"redraw\\\"===e&&r._paper.selectAll(\\\"g.subplot\\\").each((function(t){var e=t[0],n=r._plots[e],i=n.xaxis,o=n.yaxis;n.xaxislayer.selectAll(\\\".\\\"+i._id+\\\"tick\\\").remove(),n.yaxislayer.selectAll(\\\".\\\"+o._id+\\\"tick\\\").remove(),n.xaxislayer.selectAll(\\\".\\\"+i._id+\\\"tick2\\\").remove(),n.yaxislayer.selectAll(\\\".\\\"+o._id+\\\"tick2\\\").remove(),n.xaxislayer.selectAll(\\\".\\\"+i._id+\\\"divider\\\").remove(),n.yaxislayer.selectAll(\\\".\\\"+o._id+\\\"divider\\\").remove(),n.gridlayer&&n.gridlayer.selectAll(\\\"path\\\").remove(),n.zerolinelayer&&n.zerolinelayer.selectAll(\\\"path\\\").remove(),r._infolayer.select(\\\".g-\\\"+i._id+\\\"title\\\").remove(),r._infolayer.select(\\\".g-\\\"+o._id+\\\"title\\\").remove()}));var i=e&&\\\"redraw\\\"!==e?e:S.listIds(t);return s.syncOrAsync(i.map((function(e){return function(){if(e){var r=S.getFromId(t,e),i=S.drawOne(t,r,n);return r._r=r.range.slice(),r._rl=s.simpleMap(r._r,r.r2l),i}}})))},S.drawOne=function(t,e,n){var r,i,l;n=n||{},e.setScale();var p=t._fullLayout,f=e._id,d=f.charAt(0),m=S.counterLetter(f),v=p._plots[e._mainSubplot];if(v){var g=v[d+\\\"axislayer\\\"],y=e._mainLinePosition,_=e._mainMirrorPosition,b=e._vals=S.calcTicks(e),x=[e.mirror,y,_].join(\\\"_\\\");for(r=0;r<b.length;r++)b[r].axInfo=x;e._selections={},e._tickAngles&&(e._prevTickAngles=e._tickAngles),e._tickAngles={},e._depth=null;var w={};if(e.visible){var A,C,M=S.makeTransFn(e);if(\\\"boundaries\\\"===e.tickson){var k=function(t,e){var n,r=[],i=function(t,e){var n=t.xbnd[e];null!==n&&r.push(s.extendFlat({},t,{x:n}))};if(e.length){for(n=0;n<e.length;n++)i(e[n],0);i(e[n-1],1)}return r}(0,b);C=S.clipEnds(e,k),A=\\\"inside\\\"===e.ticks?C:k}else C=S.clipEnds(e,b),A=\\\"inside\\\"===e.ticks?C:b;var O=e._gridVals=C,I=function(t,e){var n,r,i=[],o=e.length&&e[e.length-1].x<e[0].x,a=function(t,e){var n=t.xbnd[e];null!==n&&i.push(s.extendFlat({},t,{x:n}))};if(t.showdividers&&e.length){for(n=0;n<e.length;n++){var l=e[n];l.text2!==r&&a(l,o?1:0),r=l.text2}a(e[n-1],o?0:1)}return i}(e,b);if(!p._hasOnlyLargeSploms){var L=e._subplotsWith,P={};for(r=0;r<L.length;r++){i=L[r];var z=(l=p._plots[i])[m+\\\"axis\\\"],R=z._mainAxis._id;if(!P[R]){P[R]=1;var D=\\\"x\\\"===d?\\\"M0,\\\"+z._offset+\\\"v\\\"+z._length:\\\"M\\\"+z._offset+\\\",0h\\\"+z._length;S.drawGrid(t,e,{vals:O,counterAxis:z,layer:l.gridlayer.select(\\\".\\\"+f),path:D,transFn:M}),S.drawZeroLine(t,e,{counterAxis:z,layer:l.zerolinelayer,path:D,transFn:M})}}}var $=S.getTickSigns(e),B=[];if(e.ticks){var N,F,j,U=S.makeTickPath(e,y,$[2]);if(e._anchorAxis&&e.mirror&&!0!==e.mirror?(N=S.makeTickPath(e,_,$[3]),F=U+N):(N=\\\"\\\",F=U),e.showdividers&&\\\"outside\\\"===e.ticks&&\\\"boundaries\\\"===e.tickson){var q={};for(r=0;r<I.length;r++)q[I[r].x]=1;j=function(t){return q[t.x]?N:F}}else j=F;S.drawTicks(t,e,{vals:A,layer:g,path:j,transFn:M}),\\\"allticks\\\"===e.mirror&&(B=Object.keys(e._linepositions||{}))}for(r=0;r<B.length;r++){i=B[r],l=p._plots[i];var V=e._linepositions[i]||[],H=S.makeTickPath(e,V[0],$[0])+S.makeTickPath(e,V[1],$[1]);S.drawTicks(t,e,{vals:A,layer:l[d+\\\"axislayer\\\"],path:H,transFn:M})}var G=[];if(G.push((function(){return S.drawLabels(t,e,{vals:b,layer:g,transFn:M,labelFns:S.makeLabelFns(e,y)})})),\\\"multicategory\\\"===e.type){var W={x:2,y:10}[d];G.push((function(){var n={x:\\\"height\\\",y:\\\"width\\\"}[d],r=Y()[n]+W+(e._tickAngles[f+\\\"tick\\\"]?e.tickfont.size*E:0);return S.drawLabels(t,e,{vals:K(e,b),layer:g,cls:f+\\\"tick2\\\",repositionOnUpdate:!0,secondary:!0,transFn:M,labelFns:S.makeLabelFns(e,y+r*$[4])})})),G.push((function(){return e._depth=$[4]*(Y(\\\"tick2\\\")[e.side]-y),function(t,e,n){var r=e._id+\\\"divider\\\",i=n.vals,o=n.layer.selectAll(\\\"path.\\\"+r).data(i,J);o.exit().remove(),o.enter().insert(\\\"path\\\",\\\":first-child\\\").classed(r,1).classed(\\\"crisp\\\",1).call(c.stroke,e.dividercolor).style(\\\"stroke-width\\\",h.crispRound(t,e.dividerwidth,1)+\\\"px\\\"),o.attr(\\\"transform\\\",n.transFn).attr(\\\"d\\\",n.path)}(t,e,{vals:I,layer:g,path:S.makeTickPath(e,y,$[4],e._depth),transFn:M})}))}else e.title.hasOwnProperty(\\\"standoff\\\")&&G.push((function(){e._depth=$[4]*(Y()[e.side]-y)}));var X=a.getComponentMethod(\\\"rangeslider\\\",\\\"isVisible\\\")(e);return G.push((function(){var n,r,i,s,l=e.side.charAt(0),u=T[e.side].charAt(0),c=S.getPxPosition(t,e),h=\\\"outside\\\"===e.ticks?e.ticklen:0;if((e.automargin||X)&&(\\\"multicategory\\\"===e.type?n=Y(\\\"tick2\\\"):(n=Y(),\\\"x\\\"===d&&\\\"b\\\"===l&&(e._depth=Math.max(n.width>0?n.bottom-c:0,h)))),e.automargin){r={x:0,y:0,r:0,l:0,t:0,b:0};var f=[0,1];if(\\\"x\\\"===d){if(\\\"b\\\"===l?r[l]=e._depth:(r[l]=e._depth=Math.max(n.width>0?c-n.top:0,h),f.reverse()),n.width>0){var v=n.right-(e._offset+e._length);v>0&&(r.xr=1,r.r=v);var g=e._offset-n.left;g>0&&(r.xl=0,r.l=g)}}else if(\\\"l\\\"===l?r[l]=e._depth=Math.max(n.height>0?c-n.left:0,h):(r[l]=e._depth=Math.max(n.height>0?n.right-c:0,h),f.reverse()),n.height>0){var y=n.bottom-(e._offset+e._length);y>0&&(r.yb=0,r.b=y);var _=e._offset-n.top;_>0&&(r.yt=1,r.t=_)}r[m]=\\\"free\\\"===e.anchor?e.position:e._anchorAxis.domain[f[0]],e.title.text!==p._dfltTitle[d]&&(r[l]+=Q(e)+(e.title.standoff||0)),e.mirror&&\\\"free\\\"!==e.anchor&&((i={x:0,y:0,r:0,l:0,t:0,b:0})[u]=e.linewidth,e.mirror&&!0!==e.mirror&&(i[u]+=h),!0===e.mirror||\\\"ticks\\\"===e.mirror?i[m]=e._anchorAxis.domain[f[1]]:\\\"all\\\"!==e.mirror&&\\\"allticks\\\"!==e.mirror||(i[m]=[e._counterDomainMin,e._counterDomainMax][f[1]]))}X&&(s=a.getComponentMethod(\\\"rangeslider\\\",\\\"autoMarginOpts\\\")(t,e)),o.autoMargin(t,nt(e),r),o.autoMargin(t,rt(e),i),o.autoMargin(t,it(e),s)})),n.skipTitle||X&&\\\"bottom\\\"===e.side||G.push((function(){return function(t,e){var n,r=t._fullLayout,i=e._id,o=i.charAt(0),a=e.title.font.size;e.title.hasOwnProperty(\\\"standoff\\\")?n=e._depth+e.title.standoff+Q(e):(n=\\\"multicategory\\\"===e.type?e._depth:10+1.5*a+(e.linewidth?e.linewidth-1:0),n+=\\\"x\\\"===o?\\\"top\\\"===e.side?a*(e.showticklabels?1:0):a*(e.showticklabels?1.5:.5):\\\"right\\\"===e.side?a*(e.showticklabels?1:.5):a*(e.showticklabels?.5:0));var s,l,c,p,f=S.getPxPosition(t,e);if(\\\"x\\\"===o?(l=e._offset+e._length/2,c=\\\"top\\\"===e.side?f-n:f+n):(c=e._offset+e._length/2,l=\\\"right\\\"===e.side?f+n:f-n,s={rotate:\\\"-90\\\",offset:0}),\\\"multicategory\\\"!==e.type){var d=e._selections[e._id+\\\"tick\\\"];if(p={selection:d,side:e.side},d&&d.node()&&d.node().parentNode){var m=h.getTranslate(d.node().parentNode);p.offsetLeft=m.x,p.offsetTop=m.y}e.title.hasOwnProperty(\\\"standoff\\\")&&(p.pad=0)}return u.draw(t,i+\\\"title\\\",{propContainer:e,propName:e._name+\\\".title.text\\\",placeholder:r._dfltTitle[o],avoid:p,transform:s,attributes:{x:l,y:c,\\\"text-anchor\\\":\\\"middle\\\"}})}(t,e)})),s.syncOrAsync(G)}}function Y(t){var n=f+(t||\\\"tick\\\");return w[n]||(w[n]=function(t,e){var n,r,i,o;return t._selections[e].size()?(n=1/0,r=-1/0,i=1/0,o=-1/0,t._selections[e].each((function(){var t=et(this),e=h.bBox(t.node().parentNode);n=Math.min(n,e.top),r=Math.max(r,e.bottom),i=Math.min(i,e.left),o=Math.max(o,e.right)}))):(n=0,r=0,i=0,o=0),{top:n,bottom:r,left:i,right:o,height:r-n,width:o-i}}(e,n)),w[n]}},S.getTickSigns=function(t){var e=t._id.charAt(0),n={x:\\\"top\\\",y:\\\"right\\\"}[e],r=t.side===n?1:-1,i=[-1,1,r,-r];return\\\"inside\\\"!==t.ticks==(\\\"x\\\"===e)&&(i=i.map((function(t){return-t}))),t.side&&i.push({l:-1,t:-1,r:1,b:1}[t.side.charAt(0)]),i},S.makeTransFn=function(t){var e=t._id.charAt(0),n=t._offset;return\\\"x\\\"===e?function(e){return\\\"translate(\\\"+(n+t.l2p(e.x))+\\\",0)\\\"}:function(e){return\\\"translate(0,\\\"+(n+t.l2p(e.x))+\\\")\\\"}},S.makeTickPath=function(t,e,n,r){r=void 0!==r?r:t.ticklen;var i=t._id.charAt(0),o=(t.linewidth||1)/2;return\\\"x\\\"===i?\\\"M0,\\\"+(e+o*n)+\\\"v\\\"+r*n:\\\"M\\\"+(e+o*n)+\\\",0h\\\"+r*n},S.makeLabelFns=function(t,e,n){var r=t._id.charAt(0),o=\\\"boundaries\\\"!==t.tickson&&\\\"outside\\\"===t.ticks,a=0,l=0;if(o&&(a+=t.ticklen),n&&\\\"outside\\\"===t.ticks){var u=s.deg2rad(n);a=t.ticklen*Math.cos(u)+1,l=t.ticklen*Math.sin(u)}t.showticklabels&&(o||t.showline)&&(a+=.2*t.tickfont.size);var c,h,p,f,d={labelStandoff:a+=(t.linewidth||1)/2,labelShift:l};return\\\"x\\\"===r?(f=\\\"bottom\\\"===t.side?1:-1,c=l*f,h=e+a*f,p=\\\"bottom\\\"===t.side?1:-.2,d.xFn=function(t){return t.dx+c},d.yFn=function(t){return t.dy+h+t.fontSize*p},d.anchorFn=function(t,e){return i(e)&&0!==e&&180!==e?e*f<0?\\\"end\\\":\\\"start\\\":\\\"middle\\\"},d.heightFn=function(e,n,r){return n<-60||n>60?-.5*r:\\\"top\\\"===t.side?-r:0}):\\\"y\\\"===r&&(f=\\\"right\\\"===t.side?1:-1,c=a,h=-l*f,p=90===Math.abs(t.tickangle)?.5:0,d.xFn=function(t){return t.dx+e+(c+t.fontSize*p)*f},d.yFn=function(t){return t.dy+h+t.fontSize*C},d.anchorFn=function(e,n){return i(n)&&90===Math.abs(n)?\\\"middle\\\":\\\"right\\\"===t.side?\\\"start\\\":\\\"end\\\"},d.heightFn=function(e,n,r){return(n*=\\\"left\\\"===t.side?1:-1)<-30?-r:n<30?-.5*r:0}),d},S.drawTicks=function(t,e,n){n=n||{};var r=e._id+\\\"tick\\\",i=n.layer.selectAll(\\\"path.\\\"+r).data(e.ticks?n.vals:[],J);i.exit().remove(),i.enter().append(\\\"path\\\").classed(r,1).classed(\\\"ticks\\\",1).classed(\\\"crisp\\\",!1!==n.crisp).call(c.stroke,e.tickcolor).style(\\\"stroke-width\\\",h.crispRound(t,e.tickwidth,1)+\\\"px\\\").attr(\\\"d\\\",n.path),i.attr(\\\"transform\\\",n.transFn)},S.drawGrid=function(t,e,n){n=n||{};var r=e._id+\\\"grid\\\",i=n.vals,o=n.counterAxis;if(!1===e.showgrid)i=[];else if(o&&S.shouldShowZeroLine(t,e,o))for(var a=\\\"array\\\"===e.tickmode,s=0;s<i.length;s++){var l=i[s].x;if(a?!l:Math.abs(l)<e.dtick/100){if(i=i.slice(0,s).concat(i.slice(s+1)),!a)break;s--}}var u=n.layer.selectAll(\\\"path.\\\"+r).data(i,J);u.exit().remove(),u.enter().append(\\\"path\\\").classed(r,1).classed(\\\"crisp\\\",!1!==n.crisp),e._gw=h.crispRound(t,e.gridwidth,1),u.attr(\\\"transform\\\",n.transFn).attr(\\\"d\\\",n.path).call(c.stroke,e.gridcolor||\\\"#ddd\\\").style(\\\"stroke-width\\\",e._gw+\\\"px\\\"),\\\"function\\\"==typeof n.path&&u.attr(\\\"d\\\",n.path)},S.drawZeroLine=function(t,e,n){n=n||n;var r=e._id+\\\"zl\\\",i=S.shouldShowZeroLine(t,e,n.counterAxis),o=n.layer.selectAll(\\\"path.\\\"+r).data(i?[{x:0,id:e._id}]:[]);o.exit().remove(),o.enter().append(\\\"path\\\").classed(r,1).classed(\\\"zl\\\",1).classed(\\\"crisp\\\",!1!==n.crisp).each((function(){n.layer.selectAll(\\\"path\\\").sort((function(t,e){return O.idSort(t.id,e.id)}))})),o.attr(\\\"transform\\\",n.transFn).attr(\\\"d\\\",n.path).call(c.stroke,e.zerolinecolor||c.defaultLine).style(\\\"stroke-width\\\",h.crispRound(t,e.zerolinewidth,e._gw||1)+\\\"px\\\")},S.drawLabels=function(t,e,n){n=n||{};var o=t._fullLayout,a=e._id,u=a.charAt(0),c=n.cls||a+\\\"tick\\\",p=n.vals,f=n.labelFns,d=n.secondary?0:e.tickangle,m=(e._prevTickAngles||{})[c],v=n.layer.selectAll(\\\"g.\\\"+c).data(e.showticklabels?p:[],J),g=[];function y(t,e){t.each((function(t){var o=r.select(this),a=o.select(\\\".text-math-group\\\"),s=f.anchorFn(t,e),u=n.transFn.call(o.node(),t)+(i(e)&&0!=+e?\\\" rotate(\\\"+e+\\\",\\\"+f.xFn(t)+\\\",\\\"+(f.yFn(t)-t.fontSize/2)+\\\")\\\":\\\"\\\"),c=l.lineCount(o),p=E*t.fontSize,d=f.heightFn(t,i(e)?+e:0,(c-1)*p);if(d&&(u+=\\\" translate(0, \\\"+d+\\\")\\\"),a.empty())o.select(\\\"text\\\").attr({transform:u,\\\"text-anchor\\\":s});else{var m=h.bBox(a.node()).width*{end:-.5,start:.5}[s];a.attr(\\\"transform\\\",u+(m?\\\"translate(\\\"+m+\\\",0)\\\":\\\"\\\"))}}))}v.enter().append(\\\"g\\\").classed(c,1).append(\\\"text\\\").attr(\\\"text-anchor\\\",\\\"middle\\\").each((function(e){var n=r.select(this),i=t._promises.length;n.call(l.positionText,f.xFn(e),f.yFn(e)).call(h.font,e.font,e.fontSize,e.fontColor).text(e.text).call(l.convertToTspans,t),t._promises[i]?g.push(t._promises.pop().then((function(){y(n,d)}))):y(n,d)})),v.exit().remove(),n.repositionOnUpdate&&v.each((function(t){r.select(this).select(\\\"text\\\").call(l.positionText,f.xFn(t),f.yFn(t))})),y(v,m+1?m:d);var _=null;e._selections&&(e._selections[c]=v);var b=[function(){return g.length&&Promise.all(g)}];e.automargin&&o._redrawFromAutoMarginCount&&90===m?(_=90,b.push((function(){y(v,m)}))):b.push((function(){if(y(v,d),p.length&&\\\"x\\\"===u&&!i(d)&&(\\\"log\\\"!==e.type||\\\"D\\\"!==String(e.dtick).charAt(0))){_=0;var t,r=0,o=[];if(v.each((function(t){r=Math.max(r,t.fontSize);var n=e.l2p(t.x),i=et(this),a=h.bBox(i.node());o.push({top:0,bottom:10,height:10,left:n-a.width/2,right:n+a.width/2+2,width:a.width+2})})),\\\"boundaries\\\"!==e.tickson&&!e.showdividers||n.secondary){var a=p.length,l=Math.abs((p[a-1].x-p[0].x)*e._m)/(a-1)<2.5*r||\\\"multicategory\\\"===e.type;for(t=0;t<o.length-1;t++)if(s.bBoxIntersect(o[t],o[t+1])){_=l?90:30;break}}else{var c=2;for(e.ticks&&(c+=e.tickwidth/2),t=0;t<o.length;t++){var f=p[t].xbnd,m=o[t];if(null!==f[0]&&m.left-e.l2p(f[0])<c||null!==f[1]&&e.l2p(f[1])-m.right<c){_=90;break}}}_&&y(v,_)}})),e._tickAngles&&b.push((function(){e._tickAngles[c]=null===_?i(d)?d:0:_}));var x=s.syncOrAsync(b);return x&&x.then&&t._promises.push(x),x},S.getPxPosition=function(t,e){var n,r=t._fullLayout._size,i=e._id.charAt(0),o=e.side;return\\\"free\\\"!==e.anchor?n=e._anchorAxis:\\\"x\\\"===i?n={_offset:r.t+(1-(e.position||0))*r.h,_length:0}:\\\"y\\\"===i&&(n={_offset:r.l+(e.position||0)*r.w,_length:0}),\\\"top\\\"===o||\\\"left\\\"===o?n._offset:\\\"bottom\\\"===o||\\\"right\\\"===o?n._offset+n._length:void 0},S.shouldShowZeroLine=function(t,e,n){var r=s.simpleMap(e.range,e.r2l);return r[0]*r[1]<=0&&e.zeroline&&(\\\"linear\\\"===e.type||\\\"-\\\"===e.type)&&!(e.rangebreaks&&e.maskBreaks(0)===w)&&(tt(e,0)||!function(t,e,n,r){var i=n._mainAxis;if(i){var o=t._fullLayout,a=e._id.charAt(0),s=S.counterLetter(e._id),l=e._offset+(Math.abs(r[0])<Math.abs(r[1])==(\\\"x\\\"===a)?0:e._length),u=o._plots[n._mainSubplot];if(!(u.mainplotinfo||u).overlays.length)return f(n);for(var c=S.list(t,s),h=0;h<c.length;h++){var p=c[h];if(p._mainAxis===i&&f(p))return!0}}function f(t){if(!t.showline||!t.linewidth)return!1;var n=Math.max((t.linewidth+e.zerolinewidth)/2,1);function r(t){return\\\"number\\\"==typeof t&&Math.abs(t-l)<n}if(r(t._mainLinePosition)||r(t._mainMirrorPosition))return!0;var i=t._linepositions||{};for(var o in i)if(r(i[o][0])||r(i[o][1]))return!0}}(t,e,n,r)||function(t,e){for(var n=t._fullData,r=e._mainSubplot,i=e._id.charAt(0),o=0;o<n.length;o++){var s=n[o];if(!0===s.visible&&s.xaxis+s.yaxis===r){if(a.traceIs(s,\\\"bar-like\\\")&&s.orientation==={x:\\\"h\\\",y:\\\"v\\\"}[i])return!0;if(s.fill&&s.fill.charAt(s.fill.length-1)===i)return!0}}return!1}(t,e))},S.clipEnds=function(t,e){return e.filter((function(e){return tt(t,e.x)}))},S.allowAutoMargin=function(t){for(var e=S.list(t,\\\"\\\",!0),n=0;n<e.length;n++){var r=e[n];r.automargin&&(o.allowAutoMargin(t,nt(r)),r.mirror&&o.allowAutoMargin(t,rt(r))),a.getComponentMethod(\\\"rangeslider\\\",\\\"isVisible\\\")(r)&&o.allowAutoMargin(t,it(r))}},S.swap=function(t,e){for(var n=function(t,e){var n,r,i=[];for(n=0;n<e.length;n++){var o=[],a=t._fullData[e[n]].xaxis,s=t._fullData[e[n]].yaxis;if(a&&s){for(r=0;r<i.length;r++)-1===i[r].x.indexOf(a)&&-1===i[r].y.indexOf(s)||o.push(r);if(o.length){var l,u=i[o[0]];if(o.length>1)for(r=1;r<o.length;r++)l=i[o[r]],ot(u.x,l.x),ot(u.y,l.y);ot(u.x,[a]),ot(u.y,[s])}else i.push({x:[a],y:[s]})}}return i}(t,e),r=0;r<n.length;r++)at(t,n[r].x,n[r].y)}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../components/titles\\\":690,\\\"../../constants/alignment\\\":697,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/plots\\\":839,\\\"../../registry\\\":859,\\\"./autorange\\\":775,\\\"./axis_autotype\\\":777,\\\"./axis_ids\\\":779,\\\"./clean_ticks\\\":781,\\\"./layout_attributes\\\":790,\\\"./set_convert\\\":796,d3:164,\\\"fast-isnumeric\\\":236}],777:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../constants/numerical\\\").BADNUM;e.exports=function(t,e,n){return!(n=n||{}).noMultiCategory&&(a=t,i.isArrayOrTypedArray(a[0])&&i.isArrayOrTypedArray(a[1]))?\\\"multicategory\\\":function(t,e){for(var n=Math.max(1,(t.length-1)/1e3),o=0,a=0,s={},l=0;l<t.length;l+=n){var u=t[Math.round(l)],c=String(u);s[c]||(s[c]=1,i.isDateTime(u,e)&&(o+=1),r(u)&&(a+=1))}return o>2*a}(t,e)?\\\"date\\\":function(t){for(var e=Math.max(1,(t.length-1)/1e3),n=0,r=0,a={},s=0;s<t.length;s+=e){var l=t[Math.round(s)],u=String(l);a[u]||(a[u]=1,\\\"boolean\\\"==typeof l?r++:i.cleanNumber(l)!==o?n++:\\\"string\\\"==typeof l&&r++)}return r>2*n}(t)?\\\"category\\\":function(t){if(!t)return!1;for(var e=0;e<t.length;e++)if(r(t[e]))return!0;return!1}(t)?\\\"linear\\\":\\\"-\\\";var a}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"fast-isnumeric\\\":236}],778:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../array_container_defaults\\\"),s=t(\\\"./layout_attributes\\\"),l=t(\\\"./tick_value_defaults\\\"),u=t(\\\"./tick_mark_defaults\\\"),c=t(\\\"./tick_label_defaults\\\"),h=t(\\\"./category_order_defaults\\\"),p=t(\\\"./line_grid_defaults\\\"),f=t(\\\"./set_convert\\\"),d=t(\\\"./constants\\\").WEEKDAY_PATTERN,m=t(\\\"./constants\\\").HOUR_PATTERN;function v(t,e,n){function i(n,r){return o.coerce(t,e,s.rangebreaks,n,r)}if(i(\\\"enabled\\\")){var a=i(\\\"bounds\\\");if(a&&a.length>=2){var l,u,c=\\\"\\\";if(2===a.length)for(l=0;l<2;l++)if(u=y(a[l])){c=d;break}var h=i(\\\"pattern\\\",c);if(h===d)for(l=0;l<2;l++)(u=y(a[l]))&&(e.bounds[l]=a[l]=u-1);if(h)for(l=0;l<2;l++)switch(u=a[l],h){case d:if(!r(u))return void(e.enabled=!1);if((u=+u)!==Math.floor(u)||u<0||u>=7)return void(e.enabled=!1);e.bounds[l]=a[l]=u;break;case m:if(!r(u))return void(e.enabled=!1);if((u=+u)<0||u>24)return void(e.enabled=!1);e.bounds[l]=a[l]=u}if(!1===n.autorange){var p=n.range;if(p[0]<p[1]){if(a[0]<p[0]&&a[1]>p[1])return void(e.enabled=!1)}else if(a[0]>p[0]&&a[1]<p[1])return void(e.enabled=!1)}}else{var f=i(\\\"values\\\");if(!f||!f.length)return void(e.enabled=!1);i(\\\"dvalue\\\")}}}e.exports=function(t,e,n,r,m){var g=r.letter,y=r.font||{},_=r.splomStash||{},b=n(\\\"visible\\\",!r.visibleDflt),x=e._template||{},w=e.type||x.type||\\\"-\\\";\\\"date\\\"===w&&i.getComponentMethod(\\\"calendars\\\",\\\"handleDefaults\\\")(t,e,\\\"calendar\\\",r.calendar),f(e,m);var A=!e.isValidRange(t.range);A&&r.reverseDflt&&(A=\\\"reversed\\\"),!n(\\\"autorange\\\",A)||\\\"linear\\\"!==w&&\\\"-\\\"!==w||n(\\\"rangemode\\\"),n(\\\"range\\\"),e.cleanRange(),h(t,e,n,r),\\\"category\\\"===w||r.noHover||n(\\\"hoverformat\\\");var C=n(\\\"color\\\"),M=C!==s.color.dflt?C:y.color,E=_.label||m._dfltTitle[g];if(c(t,e,n,w,r,{pass:1}),!b)return e;n(\\\"title.text\\\",E),o.coerceFont(n,\\\"title.font\\\",{family:y.family,size:Math.round(1.2*y.size),color:M}),l(t,e,n,w),c(t,e,n,w,r,{pass:2}),u(t,e,n,r),p(t,e,n,{dfltColor:C,bgColor:r.bgColor,showGrid:r.showGrid,attributes:s}),(e.showline||e.ticks)&&n(\\\"mirror\\\"),r.automargin&&n(\\\"automargin\\\");var T,S=\\\"multicategory\\\"===w;if(r.noTickson||\\\"category\\\"!==w&&!S||!e.ticks&&!e.showgrid||(S&&(T=\\\"boundaries\\\"),n(\\\"tickson\\\",T)),S&&n(\\\"showdividers\\\")&&(n(\\\"dividercolor\\\"),n(\\\"dividerwidth\\\")),\\\"date\\\"===w)if(a(t,e,{name:\\\"rangebreaks\\\",inclusionAttr:\\\"enabled\\\",handleItemDefaults:v}),e.rangebreaks.length){for(var k=0;k<e.rangebreaks.length;k++)if(e.rangebreaks[k].pattern===d){e._hasDayOfWeekBreaks=!0;break}if(f(e,m),m._has(\\\"scattergl\\\")||m._has(\\\"splom\\\"))for(var O=0;O<r.data.length;O++){var I=r.data[O];\\\"scattergl\\\"!==I.type&&\\\"splom\\\"!==I.type||(I.visible=!1,o.warn(I.type+\\\" traces do not work on axes with rangebreaks. Setting trace \\\"+I.index+\\\" to `visible: false`.\\\"))}}else delete e.rangebreaks;return e};var g={sun:1,mon:2,tue:3,wed:4,thu:5,fri:6,sat:7};function y(t){if(\\\"string\\\"==typeof t)return g[t.substr(0,3).toLowerCase()]}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../array_container_defaults\\\":772,\\\"./category_order_defaults\\\":780,\\\"./constants\\\":782,\\\"./layout_attributes\\\":790,\\\"./line_grid_defaults\\\":792,\\\"./set_convert\\\":796,\\\"./tick_label_defaults\\\":797,\\\"./tick_mark_defaults\\\":798,\\\"./tick_value_defaults\\\":799,\\\"fast-isnumeric\\\":236}],779:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"./constants\\\");n.id2name=function(t){if(\\\"string\\\"==typeof t&&t.match(i.AX_ID_PATTERN)){var e=t.substr(1);return\\\"1\\\"===e&&(e=\\\"\\\"),t.charAt(0)+\\\"axis\\\"+e}},n.name2id=function(t){if(t.match(i.AX_NAME_PATTERN)){var e=t.substr(5);return\\\"1\\\"===e&&(e=\\\"\\\"),t.charAt(0)+e}},n.cleanId=function(t,e){if(\\\"string\\\"==typeof t&&t.match(i.AX_ID_PATTERN)&&(!e||t.charAt(0)===e)){var n=t.substr(1).replace(/^0+/,\\\"\\\");return\\\"1\\\"===n&&(n=\\\"\\\"),t.charAt(0)+n}},n.list=function(t,e,r){var i=t._fullLayout;if(!i)return[];var o,a=n.listIds(t,e),s=new Array(a.length);for(o=0;o<a.length;o++){var l=a[o];s[o]=i[l.charAt(0)+\\\"axis\\\"+l.substr(1)]}if(!r){var u=i._subplots.gl3d||[];for(o=0;o<u.length;o++){var c=i[u[o]];e?s.push(c[e+\\\"axis\\\"]):s.push(c.xaxis,c.yaxis,c.zaxis)}}return s},n.listIds=function(t,e){var n=t._fullLayout;if(!n)return[];var r=n._subplots;return e?r[e+\\\"axis\\\"]:r.xaxis.concat(r.yaxis)},n.getFromId=function(t,e,r){var i=t._fullLayout;return\\\"x\\\"===r?e=e.replace(/y[0-9]*/,\\\"\\\"):\\\"y\\\"===r&&(e=e.replace(/x[0-9]*/,\\\"\\\")),i[n.id2name(e)]},n.getFromTrace=function(t,e,i){var o=t._fullLayout,a=null;if(r.traceIs(e,\\\"gl3d\\\")){var s=e.scene;\\\"scene\\\"===s.substr(0,5)&&(a=o[s][i+\\\"axis\\\"])}else a=n.getFromId(t,e[i+\\\"axis\\\"]||i);return a},n.idSort=function(t,e){var n=t.charAt(0),r=e.charAt(0);return n!==r?n>r?1:-1:+(t.substr(1)||1)-+(e.substr(1)||1)},n.getAxisGroup=function(t,e){for(var n=t._axisMatchGroups,r=0;r<n.length;r++)if(n[r][e])return\\\"g\\\"+r;return e}},{\\\"../../registry\\\":859,\\\"./constants\\\":782}],780:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r){if(\\\"category\\\"===e.type){var i,o=t.categoryarray,a=Array.isArray(o)&&o.length>0;a&&(i=\\\"array\\\");var s,l=n(\\\"categoryorder\\\",i);\\\"array\\\"===l&&(s=n(\\\"categoryarray\\\")),a||\\\"array\\\"!==l||(l=e.categoryorder=\\\"trace\\\"),\\\"trace\\\"===l?e._initialCategories=[]:\\\"array\\\"===l?e._initialCategories=s.slice():(s=function(t,e){var n,r,i,o=e.dataAttr||t._id.charAt(0),a={};if(e.axData)n=e.axData;else for(n=[],r=0;r<e.data.length;r++){var s=e.data[r];s[o+\\\"axis\\\"]===t._id&&n.push(s)}for(r=0;r<n.length;r++){var l=n[r][o];for(i=0;i<l.length;i++){var u=l[i];null!=u&&(a[u]=1)}}return Object.keys(a)}(e,r).sort(),\\\"category ascending\\\"===l?e._initialCategories=s:\\\"category descending\\\"===l&&(e._initialCategories=s.reverse()))}}},{}],781:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../constants/numerical\\\").ONEDAY;n.dtick=function(t,e){var n=\\\"log\\\"===e,i=\\\"date\\\"===e,a=\\\"category\\\"===e,s=i?o:1;if(!t)return s;if(r(t))return(t=Number(t))<=0?s:a?Math.max(1,Math.round(t)):i?Math.max(.1,t):t;if(\\\"string\\\"!=typeof t||!i&&!n)return s;var l=t.charAt(0),u=t.substr(1);return(u=r(u)?Number(u):0)<=0||!(i&&\\\"M\\\"===l&&u===Math.round(u)||n&&\\\"L\\\"===l||n&&\\\"D\\\"===l&&(1===u||2===u))?s:t},n.tick0=function(t,e,n,o){return\\\"date\\\"===e?i.cleanDate(t,i.dateTick0(n)):\\\"D1\\\"!==o&&\\\"D2\\\"!==o?r(t)?Number(t):0:void 0}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"fast-isnumeric\\\":236}],782:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib/regex\\\").counter;e.exports={idRegex:{x:r(\\\"x\\\"),y:r(\\\"y\\\")},attrRegex:r(\\\"[xy]axis\\\"),xAxisMatch:r(\\\"xaxis\\\"),yAxisMatch:r(\\\"yaxis\\\"),AX_ID_PATTERN:/^[xyz][0-9]*$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:\\\"hour\\\",WEEKDAY_PATTERN:\\\"day of week\\\",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:\\\"-select\\\",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:[\\\"imagelayer\\\",\\\"heatmaplayer\\\",\\\"contourcarpetlayer\\\",\\\"contourlayer\\\",\\\"funnellayer\\\",\\\"waterfalllayer\\\",\\\"barlayer\\\",\\\"carpetlayer\\\",\\\"violinlayer\\\",\\\"boxlayer\\\",\\\"ohlclayer\\\",\\\"scattercarpetlayer\\\",\\\"scatterlayer\\\"],clipOnAxisFalseQuery:[\\\".scatterlayer\\\",\\\".barlayer\\\",\\\".funnellayer\\\",\\\".waterfalllayer\\\"],layerValue2layerClass:{\\\"above traces\\\":\\\"above\\\",\\\"below traces\\\":\\\"below\\\"}}},{\\\"../../lib/regex\\\":744}],783:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./axis_ids\\\").id2name,o=t(\\\"./scale_zoom\\\"),a=t(\\\"./autorange\\\").makePadFn,s=t(\\\"./autorange\\\").concatExtremes,l=t(\\\"../../constants/numerical\\\").ALMOST_EQUAL,u=t(\\\"../../constants/alignment\\\").FROM_BL;function c(t,e,n,r,o){var a,s,l,u,c=\\\"range\\\"!==o,h=r[i(e)].type,p=[];for(s=0;s<n.length;s++)(l=n[s])!==e&&(u=r[i(l)]).type===h&&(u.fixedrange?c&&u.anchor&&r[i(u.anchor)].fixedrange&&p.push(l):p.push(l));for(a=0;a<t.length;a++)if(t[a][e]){var f=t[a],d=[];for(s=0;s<p.length;s++)f[l=p[s]]||d.push(l);return{linkableAxes:d,thisGroup:f}}return{linkableAxes:p,thisGroup:null}}function h(t,e,n,r,i){var o,a,s,l,u;null===e?((e={})[n]=1,u=t.length,t.push(e)):u=t.indexOf(e);var c=Object.keys(e);for(o=0;o<t.length;o++)if(s=t[o],o!==u&&s[r]){var h=s[r];for(a=0;a<c.length;a++)s[l=c[a]]=h*i*e[l];return void t.splice(u,1)}if(1!==i)for(a=0;a<c.length;a++)e[c[a]]*=i;e[r]=1}function p(t,e){var n=t._inputDomain,r=u[t.constraintoward],i=n[0]+(n[1]-n[0])*r;t.domain=t._input.domain=[i+(n[0]-i)/e,i+(n[1]-i)/e],t.setScale()}n.handleConstraintDefaults=function(t,e,n,i){var o,a,s,l,u=i.allAxisIds,p=i.layoutOut,f=i.scaleanchorDflt,d=i.constrainDflt,m=p._axisConstraintGroups,v=p._axisMatchGroups,g=e._id,y=g.charAt(0),_=((p._splomAxes||{})[y]||{})[g]||{},b=e._id,x=b.charAt(0),w=n(\\\"constrain\\\",d);if(r.coerce(t,e,{constraintoward:{valType:\\\"enumerated\\\",values:\\\"x\\\"===x?[\\\"left\\\",\\\"center\\\",\\\"right\\\"]:[\\\"bottom\\\",\\\"middle\\\",\\\"top\\\"],dflt:\\\"x\\\"===x?\\\"center\\\":\\\"middle\\\"}},\\\"constraintoward\\\"),!t.matches&&!_.matches||e.fixedrange||(a=c(v,b,u,p),o=r.coerce(t,e,{matches:{valType:\\\"enumerated\\\",values:a.linkableAxes||[],dflt:_.matches}},\\\"matches\\\")),o||e.fixedrange&&\\\"domain\\\"!==w||!t.scaleanchor&&!f||(l=c(m,b,u,p,w),s=r.coerce(t,e,{scaleanchor:{valType:\\\"enumerated\\\",values:l.linkableAxes||[]}},\\\"scaleanchor\\\",f)),o?(delete e.constrain,h(v,a.thisGroup,b,o,1)):-1!==u.indexOf(t.matches)&&r.warn(\\\"ignored \\\"+e._name+'.matches: \\\"'+t.matches+'\\\" to avoid either an infinite loop or because the target axis has fixed range.'),s){var A=n(\\\"scaleratio\\\");A||(A=e.scaleratio=1),h(m,l.thisGroup,b,s,A)}else-1!==u.indexOf(t.scaleanchor)&&r.warn(\\\"ignored \\\"+e._name+'.scaleanchor: \\\"'+t.scaleanchor+'\\\" to avoid either an infinite loop and possibly inconsistent scaleratios, or because the target axis has fixed range or this axis declares a *matches* constraint.')},n.enforce=function(t){var e,n,r,u,c,h,f,d=t._fullLayout,m=d._axisConstraintGroups||[];for(e=0;e<m.length;e++){var v=m[e],g=Object.keys(v),y=1/0,_=0,b=1/0,x={},w={},A=!1;for(n=0;n<g.length;n++)w[r=g[n]]=u=d[i(r)],u._inputDomain?u.domain=u._inputDomain.slice():u._inputDomain=u.domain.slice(),u._inputRange||(u._inputRange=u.range.slice()),u.setScale(),x[r]=c=Math.abs(u._m)/v[r],y=Math.min(y,c),\\\"domain\\\"!==u.constrain&&u._constraintShrinkable||(b=Math.min(b,c)),delete u._constraintShrinkable,_=Math.max(_,c),\\\"domain\\\"===u.constrain&&(A=!0);if(!(y>l*_)||A)for(n=0;n<g.length;n++)if(c=x[r=g[n]],h=(u=w[r]).constrain,c!==b||\\\"domain\\\"===h)if(f=c/b,\\\"range\\\"===h)o(u,f);else{var C=u._inputDomain,M=(u.domain[1]-u.domain[0])/(C[1]-C[0]),E=(u.r2l(u.range[1])-u.r2l(u.range[0]))/(u.r2l(u._inputRange[1])-u.r2l(u._inputRange[0]));if((f/=M)*E<1){u.domain=u._input.domain=C.slice(),o(u,f);continue}if(E<1&&(u.range=u._input.range=u._inputRange.slice(),f*=E),u.autorange){var T=u.r2l(u.range[0]),S=u.r2l(u.range[1]),k=(T+S)/2,O=k,I=k,L=Math.abs(S-k),P=k-L*f*1.0001,z=k+L*f*1.0001,R=a(u);p(u,f);var D,$,B=Math.abs(u._m),N=s(t,u),F=N.min,j=N.max;for($=0;$<F.length;$++)(D=F[$].val-R(F[$])/B)>P&&D<O&&(O=D);for($=0;$<j.length;$++)(D=j[$].val+R(j[$])/B)<z&&D>I&&(I=D);f/=(I-O)/(2*L),O=u.l2r(O),I=u.l2r(I),u.range=u._input.range=T<S?[O,I]:[I,O]}p(u,f)}}},n.clean=function(t,e){if(e._inputDomain){for(var n=!1,r=e._id,i=t._fullLayout._axisConstraintGroups,o=0;o<i.length;o++)if(i[o][r]){n=!0;break}n&&\\\"domain\\\"===e.constrain||(e._input.domain=e.domain=e._inputDomain,delete e._inputDomain)}}},{\\\"../../constants/alignment\\\":697,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"./autorange\\\":775,\\\"./axis_ids\\\":779,\\\"./scale_zoom\\\":794}],784:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"has-passive-events\\\"),a=t(\\\"../../registry\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../../lib/svg_text_utils\\\"),u=t(\\\"../../components/color\\\"),c=t(\\\"../../components/drawing\\\"),h=t(\\\"../../components/fx\\\"),p=t(\\\"./axes\\\"),f=t(\\\"../../lib/setcursor\\\"),d=t(\\\"../../components/dragelement\\\"),m=t(\\\"../../components/dragelement/helpers\\\"),v=m.selectingOrDrawing,g=m.freeMode,y=t(\\\"../../constants/alignment\\\").FROM_TL,_=t(\\\"../../lib/clear_gl_canvases\\\"),b=t(\\\"../../plot_api/subroutines\\\").redrawReglTraces,x=t(\\\"../plots\\\"),w=t(\\\"./axis_ids\\\").getFromId,A=t(\\\"./select\\\").prepSelect,C=t(\\\"./select\\\").clearSelect,M=t(\\\"./select\\\").selectOnClick,E=t(\\\"./scale_zoom\\\"),T=t(\\\"./constants\\\"),S=T.MINDRAG,k=T.MINZOOM,O=!0;function I(t,e,n,r){var i=s.ensureSingle(t.draglayer,e,n,(function(e){e.classed(\\\"drag\\\",!0).style({fill:\\\"transparent\\\",\\\"stroke-width\\\":0}).attr(\\\"data-subplot\\\",t.id)}));return i.call(f,r),i.node()}function L(t,e,n,i,o,a,s){var l=I(t,\\\"rect\\\",e,n);return r.select(l).call(c.setRect,i,o,a,s),l}function P(t,e){for(var n=0;n<t.length;n++)if(!t[n].fixedrange)return e;return\\\"\\\"}function z(t,e,n,r,i){for(var o=0;o<t.length;o++){var a=t[o];if(!a.fixedrange)if(a.rangebreaks){var s=\\\"y\\\"===a._id.charAt(0),l=s?1-e:e,u=s?1-n:n;r[a._name+\\\".range[0]\\\"]=a.l2r(a.p2l(l*a._length)),r[a._name+\\\".range[1]\\\"]=a.l2r(a.p2l(u*a._length))}else{var c=a._rl[0],h=a._rl[1]-c;r[a._name+\\\".range[0]\\\"]=a.l2r(c+h*e),r[a._name+\\\".range[1]\\\"]=a.l2r(c+h*n)}}if(i&&i.length){var p=(e+(1-n))/2;z(i,p,1-p,r,[])}}function R(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(!r.fixedrange)if(r.rangebreaks){var i=r._length,o=(r.p2l(0+e)-r.p2l(0)+(r.p2l(i+e)-r.p2l(i)))/2;r.range=[r.l2r(r._rl[0]-o),r.l2r(r._rl[1]-o)]}else r.range=[r.l2r(r._rl[0]-e/r._m),r.l2r(r._rl[1]-e/r._m)]}}function D(t){return 1-(t>=0?Math.min(t,.9):1/(1/Math.max(t,-.3)+3.222))}function $(t,e,n,r,i){return t.append(\\\"path\\\").attr(\\\"class\\\",\\\"zoombox\\\").style({fill:e>.2?\\\"rgba(0,0,0,0)\\\":\\\"rgba(255,255,255,0)\\\",\\\"stroke-width\\\":0}).attr(\\\"transform\\\",\\\"translate(\\\"+n+\\\", \\\"+r+\\\")\\\").attr(\\\"d\\\",i+\\\"Z\\\")}function B(t,e,n){return t.append(\\\"path\\\").attr(\\\"class\\\",\\\"zoombox-corners\\\").style({fill:u.background,stroke:u.defaultLine,\\\"stroke-width\\\":1,opacity:0}).attr(\\\"transform\\\",\\\"translate(\\\"+e+\\\", \\\"+n+\\\")\\\").attr(\\\"d\\\",\\\"M0,0Z\\\")}function N(t,e,n,r,i,o){t.attr(\\\"d\\\",r+\\\"M\\\"+n.l+\\\",\\\"+n.t+\\\"v\\\"+n.h+\\\"h\\\"+n.w+\\\"v-\\\"+n.h+\\\"h-\\\"+n.w+\\\"Z\\\"),F(t,e,i,o)}function F(t,e,n,r){n||(t.transition().style(\\\"fill\\\",r>.2?\\\"rgba(0,0,0,0.4)\\\":\\\"rgba(255,255,255,0.3)\\\").duration(200),e.transition().style(\\\"opacity\\\",1).duration(200))}function j(t){r.select(t).selectAll(\\\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\\\").remove()}function U(t){O&&t.data&&t._context.showTips&&(s.notifier(s._(t,\\\"Double-click to zoom back out\\\"),\\\"long\\\"),O=!1)}function q(t){var e=Math.floor(Math.min(t.b-t.t,t.r-t.l,k)/2);return\\\"M\\\"+(t.l-3.5)+\\\",\\\"+(t.t-.5+e)+\\\"h3v\\\"+-e+\\\"h\\\"+e+\\\"v-3h-\\\"+(e+3)+\\\"ZM\\\"+(t.r+3.5)+\\\",\\\"+(t.t-.5+e)+\\\"h-3v\\\"+-e+\\\"h\\\"+-e+\\\"v-3h\\\"+(e+3)+\\\"ZM\\\"+(t.r+3.5)+\\\",\\\"+(t.b+.5-e)+\\\"h-3v\\\"+e+\\\"h\\\"+-e+\\\"v3h\\\"+(e+3)+\\\"ZM\\\"+(t.l-3.5)+\\\",\\\"+(t.b+.5-e)+\\\"h3v\\\"+e+\\\"h\\\"+e+\\\"v3h-\\\"+(e+3)+\\\"Z\\\"}function V(t,e,n,r){for(var i,o,a,l,u=!1,c={},h={},p=0;p<e.length;p++){var f=e[p];for(i in n)if(f[i]){for(a in f)(\\\"x\\\"===a.charAt(0)?n:r)[a]||(c[a]=i);for(o in r)f[o]&&(u=!0)}for(o in r)if(f[o])for(l in f)(\\\"x\\\"===l.charAt(0)?n:r)[l]||(h[l]=o)}u&&(s.extendFlat(c,h),h={});var d={},m=[];for(a in c){var v=w(t,a);m.push(v),d[v._id]=v}var g={},y=[];for(l in h){var _=w(t,l);y.push(_),g[_._id]=_}return{xaHash:d,yaHash:g,xaxes:m,yaxes:y,xLinks:c,yLinks:h,isSubplotConstrained:u}}function H(t,e){if(o){var n=void 0!==t.onwheel?\\\"wheel\\\":\\\"mousewheel\\\";t._onwheel&&t.removeEventListener(n,t._onwheel),t._onwheel=e,t.addEventListener(n,e,{passive:!1})}else void 0!==t.onwheel?t.onwheel=e:void 0!==t.onmousewheel?t.onmousewheel=e:t.isAddedWheelEvent||(t.isAddedWheelEvent=!0,t.addEventListener(\\\"wheel\\\",e,{passive:!1}))}function G(t){var e=[];for(var n in t)e.push(t[n]);return e}e.exports={makeDragBox:function(t,e,n,o,u,f,m,O){var I,F,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ut,ct,ht,pt=t._fullLayout._zoomlayer,ft=m+O===\\\"nsew\\\",dt=1===(m+O).length;function mt(){if(I=e.xaxis,F=e.yaxis,Q=I._length,tt=F._length,K=I._offset,J=F._offset,(W={})[I._id]=I,(X={})[F._id]=F,m&&O)for(var n=e.overlays,r=0;r<n.length;r++){var i=n[r].xaxis;W[i._id]=i;var o=n[r].yaxis;X[o._id]=o}Y=G(W),Z=G(X),rt=P(Y,O),it=P(Z,m),ot=!it&&!rt,et=V(t,t._fullLayout._axisConstraintGroups,W,X),nt=V(t,t._fullLayout._axisMatchGroups,W,X),at=O||et.isSubplotConstrained||nt.isSubplotConstrained,st=m||et.isSubplotConstrained||nt.isSubplotConstrained;var a=t._fullLayout;lt=a._has(\\\"scattergl\\\"),ut=a._has(\\\"splom\\\"),ct=a._has(\\\"svg\\\")}mt();var vt=function(t,e,n){return t?\\\"nsew\\\"===t?n?\\\"\\\":\\\"pan\\\"===e?\\\"move\\\":\\\"crosshair\\\":t.toLowerCase()+\\\"-resize\\\":\\\"pointer\\\"}(it+rt,t._fullLayout.dragmode,ft),gt=L(e,m+O+\\\"drag\\\",vt,n,o,u,f);if(ot&&!ft)return gt.onmousedown=null,gt.style.pointerEvents=\\\"none\\\",gt;var yt,_t,bt,xt,wt,At,Ct,Mt,Et,Tt,St={element:gt,gd:t,plotinfo:e};function kt(){St.plotinfo.selection=!1,C(t)}function Ot(t,n){var i=St.gd;if(i._fullLayout._activeShapeIndex>=0)i._fullLayout._deactivateShape(i);else{var o=i._fullLayout.clickmode;if(j(i),2!==t||dt||jt(),ft)o.indexOf(\\\"select\\\")>-1&&M(n,i,Y,Z,e.id,St),o.indexOf(\\\"event\\\")>-1&&h.click(i,n,e.id);else if(1===t&&dt){var s=m?F:I,u=\\\"s\\\"===m||\\\"w\\\"===O?0:1,c=s._name+\\\".range[\\\"+u+\\\"]\\\",p=function(t,e){var n,i=t.range[e],o=Math.abs(i-t.range[1-e]);return\\\"date\\\"===t.type?i:\\\"log\\\"===t.type?(n=Math.ceil(Math.max(0,-Math.log(o)/Math.LN10))+3,r.format(\\\".\\\"+n+\\\"g\\\")(Math.pow(10,i))):(n=Math.floor(Math.log(Math.abs(i))/Math.LN10)-Math.floor(Math.log(o)/Math.LN10)+4,r.format(\\\".\\\"+String(n)+\\\"g\\\")(i))}(s,u),f=\\\"left\\\",d=\\\"middle\\\";if(s.fixedrange)return;m?(d=\\\"n\\\"===m?\\\"top\\\":\\\"bottom\\\",\\\"right\\\"===s.side&&(f=\\\"right\\\")):\\\"e\\\"===O&&(f=\\\"right\\\"),i._context.showAxisRangeEntryBoxes&&r.select(gt).call(l.makeEditable,{gd:i,immediate:!0,background:i._fullLayout.paper_bgcolor,text:String(p),fill:s.tickfont?s.tickfont.color:\\\"#444\\\",horizontalAlign:f,verticalAlign:d}).on(\\\"edit\\\",(function(t){var e=s.d2r(t);void 0!==e&&a.call(\\\"_guiRelayout\\\",i,c,e)}))}}}function It(e,n){if(t._transitioningWithDuration)return!1;var r=Math.max(0,Math.min(Q,e+yt)),i=Math.max(0,Math.min(tt,n+_t)),o=Math.abs(r-yt),a=Math.abs(i-_t);function s(){Ct=\\\"\\\",bt.r=bt.l,bt.t=bt.b,Et.attr(\\\"d\\\",\\\"M0,0Z\\\")}if(bt.l=Math.min(yt,r),bt.r=Math.max(yt,r),bt.t=Math.min(_t,i),bt.b=Math.max(_t,i),et.isSubplotConstrained)o>k||a>k?(Ct=\\\"xy\\\",o/Q>a/tt?(a=o*tt/Q,_t>i?bt.t=_t-a:bt.b=_t+a):(o=a*Q/tt,yt>r?bt.l=yt-o:bt.r=yt+o),Et.attr(\\\"d\\\",q(bt))):s();else if(nt.isSubplotConstrained)if(o>k||a>k){Ct=\\\"xy\\\";var l=Math.min(bt.l/Q,(tt-bt.b)/tt),u=Math.max(bt.r/Q,(tt-bt.t)/tt);bt.l=l*Q,bt.r=u*Q,bt.b=(1-l)*tt,bt.t=(1-u)*tt,Et.attr(\\\"d\\\",q(bt))}else s();else!it||a<Math.min(Math.max(.6*o,S),k)?o<S||!rt?s():(bt.t=0,bt.b=tt,Ct=\\\"x\\\",Et.attr(\\\"d\\\",function(t,e){return\\\"M\\\"+(t.l-.5)+\\\",\\\"+(e-k-.5)+\\\"h-3v\\\"+(2*k+1)+\\\"h3ZM\\\"+(t.r+.5)+\\\",\\\"+(e-k-.5)+\\\"h3v\\\"+(2*k+1)+\\\"h-3Z\\\"}(bt,_t))):!rt||o<Math.min(.6*a,k)?(bt.l=0,bt.r=Q,Ct=\\\"y\\\",Et.attr(\\\"d\\\",function(t,e){return\\\"M\\\"+(e-k-.5)+\\\",\\\"+(t.t-.5)+\\\"v-3h\\\"+(2*k+1)+\\\"v3ZM\\\"+(e-k-.5)+\\\",\\\"+(t.b+.5)+\\\"v3h\\\"+(2*k+1)+\\\"v-3Z\\\"}(bt,yt))):(Ct=\\\"xy\\\",Et.attr(\\\"d\\\",q(bt)));bt.w=bt.r-bt.l,bt.h=bt.b-bt.t,Ct&&(Tt=!0),t._dragged=Tt,N(Mt,Et,bt,wt,At,xt),Lt(),t.emit(\\\"plotly_relayouting\\\",ht),At=!0}function Lt(){ht={},\\\"xy\\\"!==Ct&&\\\"x\\\"!==Ct||(z(Y,bt.l/Q,bt.r/Q,ht,et.xaxes),Nt(\\\"x\\\",ht)),\\\"xy\\\"!==Ct&&\\\"y\\\"!==Ct||(z(Z,(tt-bt.b)/tt,(tt-bt.t)/tt,ht,et.yaxes),Nt(\\\"y\\\",ht))}function Pt(){Lt(),j(t),Ut(),U(t)}St.prepFn=function(e,n,r){var o=St.dragmode,a=t._fullLayout.dragmode;a!==o&&(St.dragmode=a),mt(),ot||(ft?e.shiftKey?\\\"pan\\\"===a?a=\\\"zoom\\\":v(a)||(a=\\\"pan\\\"):e.ctrlKey&&(a=\\\"pan\\\"):a=\\\"pan\\\"),g(a)?St.minDrag=1:St.minDrag=void 0,v(a)?(St.xaxes=Y,St.yaxes=Z,A(e,n,r,St,a)):(St.clickFn=Ot,v(o)&&kt(),ot||(\\\"zoom\\\"===a?(St.moveFn=It,St.doneFn=Pt,St.minDrag=1,function(e,n,r){var o=gt.getBoundingClientRect();yt=n-o.left,_t=r-o.top,bt={l:yt,r:yt,w:0,t:_t,b:_t,h:0},xt=t._hmpixcount?t._hmlumcount/t._hmpixcount:i(t._fullLayout.plot_bgcolor).getLuminance(),At=!1,Ct=\\\"xy\\\",Tt=!1,Mt=$(pt,xt,K,J,wt=\\\"M0,0H\\\"+Q+\\\"V\\\"+tt+\\\"H0V0\\\"),Et=B(pt,K,J)}(0,n,r)):\\\"pan\\\"===a&&(St.moveFn=Bt,St.doneFn=Ut))),t._fullLayout._redrag=function(){var e=t._dragdata;if(e&&e.element===gt){var n=t._fullLayout.dragmode;v(n)||(mt(),qt([0,0,Q,tt]),St.moveFn(e.dx,e.dy))}}},d.init(St);var zt=[0,0,Q,tt],Rt=null,Dt=T.REDRAWDELAY,$t=e.mainplot?t._fullLayout._plots[e.mainplot]:e;function Bt(e,n){if(!t._transitioningWithDuration){if(t._fullLayout._replotting=!0,\\\"ew\\\"===rt||\\\"ns\\\"===it)return rt&&(R(Y,e),Nt(\\\"x\\\")),it&&(R(Z,n),Nt(\\\"y\\\")),qt([rt?-e:0,it?-n:0,Q,tt]),Ft(),void t.emit(\\\"plotly_relayouting\\\",ht);if(et.isSubplotConstrained&&rt&&it){var r=\\\"w\\\"===rt==(\\\"n\\\"===it)?1:-1,i=(e/Q+r*n/tt)/2;e=i*Q,n=r*i*tt}\\\"w\\\"===rt?e=l(Y,0,e):\\\"e\\\"===rt?e=l(Y,1,-e):rt||(e=0),\\\"n\\\"===it?n=l(Z,1,n):\\\"s\\\"===it?n=l(Z,0,-n):it||(n=0);var o=\\\"w\\\"===rt?e:0,a=\\\"n\\\"===it?n:0;if(et.isSubplotConstrained){var s;if(!rt&&1===it.length){for(s=0;s<Y.length;s++)Y[s].range=Y[s]._r.slice(),E(Y[s],1-n/tt);o=(e=n*Q/tt)/2}if(!it&&1===rt.length){for(s=0;s<Z.length;s++)Z[s].range=Z[s]._r.slice(),E(Z[s],1-e/Q);a=(n=e*tt/Q)/2}}Nt(\\\"x\\\"),Nt(\\\"y\\\"),qt([o,a,Q-e,tt-n]),Ft(),t.emit(\\\"plotly_relayouting\\\",ht)}function l(t,e,n){for(var r,i,o=1-e,a=0;a<t.length;a++){var s=t[a];if(!s.fixedrange){r=s,i=s._rl[o]+(s._rl[e]-s._rl[o])/D(n/s._length);var l=s.l2r(i);!1!==l&&void 0!==l&&(s.range[e]=l)}}return r._length*(r._rl[e]-i)/(r._rl[e]-r._rl[o])}}function Nt(t,e){for(var n=nt.isSubplotConstrained?{x:Z,y:Y}[t]:nt[t+\\\"axes\\\"],r=nt.isSubplotConstrained?{x:Y,y:Z}[t]:[],i=0;i<n.length;i++){var o=n[i],a=o._id,s=nt.xLinks[a]||nt.yLinks[a],l=r[0]||W[s]||X[s];l&&(e?(e[o._name+\\\".range[0]\\\"]=e[l._name+\\\".range[0]\\\"],e[o._name+\\\".range[1]\\\"]=e[l._name+\\\".range[1]\\\"]):o.range=l.range.slice())}}function Ft(){var e,n=[];function r(t){for(e=0;e<t.length;e++)t[e].fixedrange||n.push(t[e]._id)}for(at&&(r(Y),r(et.xaxes),r(nt.xaxes)),st&&(r(Z),r(et.yaxes),r(nt.yaxes)),ht={},e=0;e<n.length;e++){var i=n[e],o=w(t,i);p.drawOne(t,o,{skipTitle:!0}),ht[o._name+\\\".range[0]\\\"]=o.range[0],ht[o._name+\\\".range[1]\\\"]=o.range[1]}p.redrawComponents(t,n)}function jt(){if(!t._transitioningWithDuration){var e=t._context.doubleClick,n=[];rt&&(n=n.concat(Y)),it&&(n=n.concat(Z)),nt.xaxes&&(n=n.concat(nt.xaxes)),nt.yaxes&&(n=n.concat(nt.yaxes));var r,i,o,s={};if(\\\"reset+autosize\\\"===e)for(e=\\\"autosize\\\",i=0;i<n.length;i++)if((r=n[i])._rangeInitial&&(r.range[0]!==r._rangeInitial[0]||r.range[1]!==r._rangeInitial[1])||!r._rangeInitial&&!r.autorange){e=\\\"reset\\\";break}if(\\\"autosize\\\"===e)for(i=0;i<n.length;i++)(r=n[i]).fixedrange||(s[r._name+\\\".autorange\\\"]=!0);else if(\\\"reset\\\"===e)for((rt||et.isSubplotConstrained)&&(n=n.concat(et.xaxes)),it&&!et.isSubplotConstrained&&(n=n.concat(et.yaxes)),et.isSubplotConstrained&&(rt?it||(n=n.concat(Z)):n=n.concat(Y)),i=0;i<n.length;i++)(r=n[i]).fixedrange||(r._rangeInitial?(o=r._rangeInitial,s[r._name+\\\".range[0]\\\"]=o[0],s[r._name+\\\".range[1]\\\"]=o[1]):s[r._name+\\\".autorange\\\"]=!0);t.emit(\\\"plotly_doubleclick\\\",null),a.call(\\\"_guiRelayout\\\",t,s)}}function Ut(){qt([0,0,Q,tt]),s.syncOrAsync([x.previousPromises,function(){t._fullLayout._replotting=!1,a.call(\\\"_guiRelayout\\\",t,ht)}],t)}function qt(e){var n,r,i,o,l=t._fullLayout,u=l._plots,h=l._subplots.cartesian;if(ut&&a.subplotsRegistry.splom.drag(t),lt)for(n=0;n<h.length;n++)if(i=(r=u[h[n]]).xaxis,o=r.yaxis,r._scene){var p=s.simpleMap(i.range,i.r2l),f=s.simpleMap(o.range,o.r2l);r._scene.update({range:[p[0],f[0],p[1],f[1]]})}if((ut||lt)&&(_(t),b(t)),ct){var d=e[2]/I._length,v=e[3]/F._length;for(n=0;n<h.length;n++){i=(r=u[h[n]]).xaxis,o=r.yaxis;var g,y,x,w,A=at&&!i.fixedrange&&W[i._id],C=st&&!o.fixedrange&&X[o._id];if(A?(g=d,x=O?e[0]:Gt(i,g)):nt.xaHash[i._id]?(g=d,x=e[0]*i._length/I._length):nt.yaHash[i._id]?(g=v,x=\\\"ns\\\"===it?-e[1]*i._length/F._length:Gt(i,g,{n:\\\"top\\\",s:\\\"bottom\\\"}[it])):x=Ht(i,g=Vt(i,d,v)),C?(y=v,w=m?e[1]:Gt(o,y)):nt.yaHash[o._id]?(y=v,w=e[1]*o._length/F._length):nt.xaHash[o._id]?(y=d,w=\\\"ew\\\"===rt?-e[0]*o._length/I._length:Gt(o,y,{e:\\\"right\\\",w:\\\"left\\\"}[rt])):w=Ht(o,y=Vt(o,d,v)),g||y){g||(g=1),y||(y=1);var M=i._offset-x/g,E=o._offset-w/y;r.clipRect.call(c.setTranslate,x,w).call(c.setScale,g,y),r.plot.call(c.setTranslate,M,E).call(c.setScale,1/g,1/y),g===r.xScaleFactor&&y===r.yScaleFactor||(c.setPointGroupScale(r.zoomScalePts,g,y),c.setTextPointsScale(r.zoomScaleTxt,g,y)),c.hideOutsideRangePoints(r.clipOnAxisFalseTraces,r),r.xScaleFactor=g,r.yScaleFactor=y}}}}function Vt(t,e,n){return t.fixedrange?0:at&&et.xaHash[t._id]?e:st&&(et.isSubplotConstrained?et.xaHash:et.yaHash)[t._id]?n:0}function Ht(t,e){return e?(t.range=t._r.slice(),E(t,e),Gt(t,e)):0}function Gt(t,e,n){return t._length*(1-e)*y[n||t.constraintoward||\\\"middle\\\"]}return m.length*O.length!=1&&H(gt,(function(e){if(t._context._scrollZoom.cartesian||t._fullLayout._enablescrollzoom){if(kt(),t._transitioningWithDuration)return e.preventDefault(),void e.stopPropagation();mt(),clearTimeout(Rt);var n=-e.deltaY;if(isFinite(n)||(n=e.wheelDelta/10),isFinite(n)){var r,i=Math.exp(-Math.min(Math.max(n,-20),20)/200),o=$t.draglayer.select(\\\".nsewdrag\\\").node().getBoundingClientRect(),a=(e.clientX-o.left)/o.width,l=(o.bottom-e.clientY)/o.height;if(at){for(O||(a=.5),r=0;r<Y.length;r++)u(Y[r],a,i);Nt(\\\"x\\\"),zt[2]*=i,zt[0]+=zt[2]*a*(1/i-1)}if(st){for(m||(l=.5),r=0;r<Z.length;r++)u(Z[r],l,i);Nt(\\\"y\\\"),zt[3]*=i,zt[1]+=zt[3]*(1-l)*(1/i-1)}qt(zt),Ft(),t.emit(\\\"plotly_relayouting\\\",ht),Rt=setTimeout((function(){zt=[0,0,Q,tt],Ut()}),Dt),e.preventDefault()}else s.log(\\\"Did not find wheel motion attributes: \\\",e)}function u(t,e,n){if(!t.fixedrange){var r=s.simpleMap(t.range,t.r2l),i=r[0]+(r[1]-r[0])*e;t.range=r.map((function(e){return t.l2r(i+(e-i)*n)}))}}})),gt},makeDragger:I,makeRectDragger:L,makeZoombox:$,makeCorners:B,updateZoombox:N,xyCorners:q,transitionZoombox:F,removeZoombox:j,showDoubleClickNotifier:U,attachWheelEventHandler:H}},{\\\"../../components/color\\\":595,\\\"../../components/dragelement\\\":614,\\\"../../components/dragelement/helpers\\\":613,\\\"../../components/drawing\\\":617,\\\"../../components/fx\\\":635,\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/clear_gl_canvases\\\":713,\\\"../../lib/setcursor\\\":748,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plot_api/subroutines\\\":767,\\\"../../registry\\\":859,\\\"../plots\\\":839,\\\"./axes\\\":776,\\\"./axis_ids\\\":779,\\\"./constants\\\":782,\\\"./scale_zoom\\\":794,\\\"./select\\\":795,d3:164,\\\"has-passive-events\\\":410,tinycolor2:528}],785:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/fx\\\"),o=t(\\\"../../components/dragelement\\\"),a=t(\\\"../../lib/setcursor\\\"),s=t(\\\"./dragbox\\\").makeDragBox,l=t(\\\"./constants\\\").DRAGGERSIZE;n.initInteractions=function(t){var e=t._fullLayout;if(t._context.staticPlot)r.select(t).selectAll(\\\".drag\\\").remove();else if(e._has(\\\"cartesian\\\")||e._has(\\\"splom\\\")){Object.keys(e._plots||{}).sort((function(t,n){if((e._plots[t].mainplot&&!0)===(e._plots[n].mainplot&&!0)){var r=t.split(\\\"y\\\"),i=n.split(\\\"y\\\");return r[0]===i[0]?Number(r[1]||1)-Number(i[1]||1):Number(r[0]||1)-Number(i[0]||1)}return e._plots[t].mainplot?1:-1})).forEach((function(n){var r=e._plots[n],a=r.xaxis,u=r.yaxis;if(!r.mainplot){var c=s(t,r,a._offset,u._offset,a._length,u._length,\\\"ns\\\",\\\"ew\\\");c.onmousemove=function(e){t._fullLayout._rehover=function(){t._fullLayout._hoversubplot===n&&t._fullLayout._plots[n]&&i.hover(t,e,n)},i.hover(t,e,n),t._fullLayout._lasthover=c,t._fullLayout._hoversubplot=n},c.onmouseout=function(e){t._dragging||(t._fullLayout._hoversubplot=null,o.unhover(t,e))},t._context.showAxisDragHandles&&(s(t,r,a._offset-l,u._offset-l,l,l,\\\"n\\\",\\\"w\\\"),s(t,r,a._offset+a._length,u._offset-l,l,l,\\\"n\\\",\\\"e\\\"),s(t,r,a._offset-l,u._offset+u._length,l,l,\\\"s\\\",\\\"w\\\"),s(t,r,a._offset+a._length,u._offset+u._length,l,l,\\\"s\\\",\\\"e\\\"))}if(t._context.showAxisDragHandles){if(n===a._mainSubplot){var h=a._mainLinePosition;\\\"top\\\"===a.side&&(h-=l),s(t,r,a._offset+.1*a._length,h,.8*a._length,l,\\\"\\\",\\\"ew\\\"),s(t,r,a._offset,h,.1*a._length,l,\\\"\\\",\\\"w\\\"),s(t,r,a._offset+.9*a._length,h,.1*a._length,l,\\\"\\\",\\\"e\\\")}if(n===u._mainSubplot){var p=u._mainLinePosition;\\\"right\\\"!==u.side&&(p-=l),s(t,r,p,u._offset+.1*u._length,l,.8*u._length,\\\"ns\\\",\\\"\\\"),s(t,r,p,u._offset+.9*u._length,l,.1*u._length,\\\"s\\\",\\\"\\\"),s(t,r,p,u._offset,l,.1*u._length,\\\"n\\\",\\\"\\\")}}}));var a=e._hoverlayer.node();a.onmousemove=function(n){n.target=t._fullLayout._lasthover,i.hover(t,n,e._hoversubplot)},a.onclick=function(e){e.target=t._fullLayout._lasthover,i.click(t,e)},a.onmousedown=function(e){t._fullLayout._lasthover.onmousedown(e)},n.updateFx(t)}},n.updateFx=function(t){var e=t._fullLayout,n=\\\"pan\\\"===e.dragmode?\\\"move\\\":\\\"crosshair\\\";a(e._draggers,n)}},{\\\"../../components/dragelement\\\":614,\\\"../../components/fx\\\":635,\\\"../../lib/setcursor\\\":748,\\\"./constants\\\":782,\\\"./dragbox\\\":784,d3:164}],786:[function(t,e,n){\\\"use strict\\\";e.exports={clearOutlineControllers:function(t){var e=t._fullLayout._zoomlayer;e&&e.selectAll(\\\".outline-controllers\\\").remove()},clearSelect:function(t){var e=t._fullLayout._zoomlayer;e&&e.selectAll(\\\".select-outline\\\").remove(),t._fullLayout._drawing=!1}}},{}],787:[function(t,e,n){\\\"use strict\\\";function r(t,e){switch(t.type){case\\\"log\\\":return t.p2d(e);case\\\"date\\\":return t.p2r(e,0,t.calendar);default:return t.p2r(e)}}e.exports={p2r:r,r2p:function(t,e){switch(t.type){case\\\"log\\\":return t.d2p(e);case\\\"date\\\":return t.r2p(e,0,t.calendar);default:return t.r2p(e)}},axValue:function(t){var e=\\\"y\\\"===t._id.charAt(0)?1:0;return function(n){return r(t,n[e])}},getTransform:function(t){return\\\"translate(\\\"+t.xaxis._offset+\\\",\\\"+t.yaxis._offset+\\\")\\\"}}},{}],788:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\");e.exports=function(t){return function(e,n){var o=e[t];if(Array.isArray(o))for(var a=r.subplotsRegistry.cartesian,s=a.idRegex,l=n._subplots,u=l.xaxis,c=l.yaxis,h=l.cartesian,p=n._has(\\\"cartesian\\\")||n._has(\\\"gl2d\\\"),f=0;f<o.length;f++){var d=o[f];if(i.isPlainObject(d)){var m=d.xref,v=d.yref,g=s.x.test(m),y=s.y.test(v);if(g||y){p||i.pushUnique(n._basePlotModules,a);var _=!1;g&&-1===u.indexOf(m)&&(u.push(m),_=!0),y&&-1===c.indexOf(v)&&(c.push(v),_=!0),_&&g&&y&&h.push(m+v)}}}}}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859}],789:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../plots\\\"),s=t(\\\"../../components/drawing\\\"),l=t(\\\"../get_data\\\").getModuleCalcData,u=t(\\\"./axis_ids\\\"),c=t(\\\"./constants\\\"),h=t(\\\"../../constants/xmlns_namespaces\\\"),p=o.ensureSingle;function f(t,e,n){return o.ensureSingle(t,e,n,(function(t){t.datum(n)}))}function d(t,e,n,o,a){for(var u,h,p,f=c.traceLayerClasses,d=t._fullLayout,m=d._modules,v=[],g=[],y=0;y<m.length;y++){var _=(u=m[y]).name,b=i.modules[_].categories;if(b.svg){var x=u.layerName||_+\\\"layer\\\",w=u.plot;p=(h=l(n,w))[0],n=h[1],p.length&&v.push({i:f.indexOf(x),className:x,plotMethod:w,cdModule:p}),b.zoomScale&&g.push(\\\".\\\"+x)}}v.sort((function(t,e){return t.i-e.i}));var A=e.plot.selectAll(\\\"g.mlayer\\\").data(v,(function(t){return t.className}));if(A.enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return t.className})).classed(\\\"mlayer\\\",!0).classed(\\\"rangeplot\\\",e.isRangePlot),A.exit().remove(),A.order(),A.each((function(n){var i=r.select(this),l=n.className;n.plotMethod(t,e,n.cdModule,i,o,a),-1===c.clipOnAxisFalseQuery.indexOf(\\\".\\\"+l)&&s.setClipUrl(i,e.layerClipId,t)})),d._has(\\\"scattergl\\\")&&(u=i.getModule(\\\"scattergl\\\"),p=l(n,u)[0],u.plot(t,e,p)),!t._context.staticPlot&&(e._hasClipOnAxisFalse&&(e.clipOnAxisFalseTraces=e.plot.selectAll(c.clipOnAxisFalseQuery.join(\\\",\\\")).selectAll(\\\".trace\\\")),g.length)){var C=e.plot.selectAll(g.join(\\\",\\\")).selectAll(\\\".trace\\\");e.zoomScalePts=C.selectAll(\\\"path.point\\\"),e.zoomScaleTxt=C.selectAll(\\\".textpoint\\\")}}function m(t,e){var n=e.plotgroup,r=e.id,i=c.layerValue2layerClass[e.xaxis.layer],o=c.layerValue2layerClass[e.yaxis.layer],a=t._fullLayout._hasOnlyLargeSploms;if(e.mainplot){var s=e.mainplotinfo,l=s.plotgroup,h=r+\\\"-x\\\",d=r+\\\"-y\\\";e.gridlayer=s.gridlayer,e.zerolinelayer=s.zerolinelayer,p(s.overlinesBelow,\\\"path\\\",h),p(s.overlinesBelow,\\\"path\\\",d),p(s.overaxesBelow,\\\"g\\\",h),p(s.overaxesBelow,\\\"g\\\",d),e.plot=p(s.overplot,\\\"g\\\",r),p(s.overlinesAbove,\\\"path\\\",h),p(s.overlinesAbove,\\\"path\\\",d),p(s.overaxesAbove,\\\"g\\\",h),p(s.overaxesAbove,\\\"g\\\",d),e.xlines=l.select(\\\".overlines-\\\"+i).select(\\\".\\\"+h),e.ylines=l.select(\\\".overlines-\\\"+o).select(\\\".\\\"+d),e.xaxislayer=l.select(\\\".overaxes-\\\"+i).select(\\\".\\\"+h),e.yaxislayer=l.select(\\\".overaxes-\\\"+o).select(\\\".\\\"+d)}else if(a)e.xlines=p(n,\\\"path\\\",\\\"xlines-above\\\"),e.ylines=p(n,\\\"path\\\",\\\"ylines-above\\\"),e.xaxislayer=p(n,\\\"g\\\",\\\"xaxislayer-above\\\"),e.yaxislayer=p(n,\\\"g\\\",\\\"yaxislayer-above\\\");else{var m=p(n,\\\"g\\\",\\\"layer-subplot\\\");e.shapelayer=p(m,\\\"g\\\",\\\"shapelayer\\\"),e.imagelayer=p(m,\\\"g\\\",\\\"imagelayer\\\"),e.gridlayer=p(n,\\\"g\\\",\\\"gridlayer\\\"),e.zerolinelayer=p(n,\\\"g\\\",\\\"zerolinelayer\\\"),p(n,\\\"path\\\",\\\"xlines-below\\\"),p(n,\\\"path\\\",\\\"ylines-below\\\"),e.overlinesBelow=p(n,\\\"g\\\",\\\"overlines-below\\\"),p(n,\\\"g\\\",\\\"xaxislayer-below\\\"),p(n,\\\"g\\\",\\\"yaxislayer-below\\\"),e.overaxesBelow=p(n,\\\"g\\\",\\\"overaxes-below\\\"),e.plot=p(n,\\\"g\\\",\\\"plot\\\"),e.overplot=p(n,\\\"g\\\",\\\"overplot\\\"),e.xlines=p(n,\\\"path\\\",\\\"xlines-above\\\"),e.ylines=p(n,\\\"path\\\",\\\"ylines-above\\\"),e.overlinesAbove=p(n,\\\"g\\\",\\\"overlines-above\\\"),p(n,\\\"g\\\",\\\"xaxislayer-above\\\"),p(n,\\\"g\\\",\\\"yaxislayer-above\\\"),e.overaxesAbove=p(n,\\\"g\\\",\\\"overaxes-above\\\"),e.xlines=n.select(\\\".xlines-\\\"+i),e.ylines=n.select(\\\".ylines-\\\"+o),e.xaxislayer=n.select(\\\".xaxislayer-\\\"+i),e.yaxislayer=n.select(\\\".yaxislayer-\\\"+o)}a||(f(e.gridlayer,\\\"g\\\",e.xaxis._id),f(e.gridlayer,\\\"g\\\",e.yaxis._id),e.gridlayer.selectAll(\\\"g\\\").map((function(t){return t[0]})).sort(u.idSort)),e.xlines.style(\\\"fill\\\",\\\"none\\\").classed(\\\"crisp\\\",!0),e.ylines.style(\\\"fill\\\",\\\"none\\\").classed(\\\"crisp\\\",!0)}function v(t,e){if(t){var n={};for(var i in t.each((function(t){var i=t[0];r.select(this).remove(),g(i,e),n[i]=!0})),e._plots)for(var o=e._plots[i].overlays||[],a=0;a<o.length;a++){var s=o[a];n[s.id]&&s.plot.selectAll(\\\".trace\\\").remove()}}}function g(t,e){e._draggers.selectAll(\\\"g.\\\"+t).remove(),e._defs.select(\\\"#clip\\\"+e._uid+t+\\\"plot\\\").remove()}n.name=\\\"cartesian\\\",n.attr=[\\\"xaxis\\\",\\\"yaxis\\\"],n.idRoot=[\\\"x\\\",\\\"y\\\"],n.idRegex=c.idRegex,n.attrRegex=c.attrRegex,n.attributes=t(\\\"./attributes\\\"),n.layoutAttributes=t(\\\"./layout_attributes\\\"),n.supplyLayoutDefaults=t(\\\"./layout_defaults\\\"),n.transitionAxes=t(\\\"./transition_axes\\\"),n.finalizeSubplots=function(t,e){var n,r,i,a=e._subplots,s=a.xaxis,l=a.yaxis,h=a.cartesian,p=h.concat(a.gl2d||[]),f={},d={};for(n=0;n<p.length;n++){var m=p[n].split(\\\"y\\\");f[m[0]]=1,d[\\\"y\\\"+m[1]]=1}for(n=0;n<s.length;n++)f[r=s[n]]||(i=(t[u.id2name(r)]||{}).anchor,c.idRegex.y.test(i)||(i=\\\"y\\\"),h.push(r+i),p.push(r+i),d[i]||(d[i]=1,o.pushUnique(l,i)));for(n=0;n<l.length;n++)d[i=l[n]]||(r=(t[u.id2name(i)]||{}).anchor,c.idRegex.x.test(r)||(r=\\\"x\\\"),h.push(r+i),p.push(r+i),f[r]||(f[r]=1,o.pushUnique(s,r)));if(!p.length){for(var v in r=\\\"\\\",i=\\\"\\\",t)c.attrRegex.test(v)&&(\\\"x\\\"===v.charAt(0)?(!r||+v.substr(5)<+r.substr(5))&&(r=v):(!i||+v.substr(5)<+i.substr(5))&&(i=v));r=r?u.name2id(r):\\\"x\\\",i=i?u.name2id(i):\\\"y\\\",s.push(r),l.push(i),h.push(r+i)}},n.plot=function(t,e,n,r){var i,o=t._fullLayout,a=o._subplots.cartesian,s=t.calcdata;if(!Array.isArray(e))for(e=[],i=0;i<s.length;i++)e.push(i);for(i=0;i<a.length;i++){for(var l,u=a[i],c=o._plots[u],h=[],p=0;p<s.length;p++){var f=s[p],m=f[0].trace;m.xaxis+m.yaxis===u&&((-1!==e.indexOf(m.index)||m.carpet)&&(l&&l[0].trace.xaxis+l[0].trace.yaxis===u&&-1!==[\\\"tonextx\\\",\\\"tonexty\\\",\\\"tonext\\\"].indexOf(m.fill)&&-1===h.indexOf(l)&&h.push(l),h.push(f)),l=f)}d(t,c,h,n,r)}},n.clean=function(t,e,n,r){var i,o,a,s=r._plots||{},l=e._plots||{},c=r._subplots||{};if(r._hasOnlyLargeSploms&&!e._hasOnlyLargeSploms)for(a in s)(i=s[a]).plotgroup&&i.plotgroup.remove();var h=r._has&&r._has(\\\"gl\\\"),p=e._has&&e._has(\\\"gl\\\");if(h&&!p)for(a in s)(i=s[a])._scene&&i._scene.destroy();if(c.xaxis&&c.yaxis){var f=u.listIds({_fullLayout:r});for(o=0;o<f.length;o++){var d=f[o];e[u.id2name(d)]||r._infolayer.selectAll(\\\".g-\\\"+d+\\\"title\\\").remove()}}var m=r._has&&r._has(\\\"cartesian\\\"),y=e._has&&e._has(\\\"cartesian\\\");if(m&&!y)v(r._cartesianlayer.selectAll(\\\".subplot\\\"),r),r._defs.selectAll(\\\".axesclip\\\").remove(),delete r._axisConstraintGroups;else if(c.cartesian)for(o=0;o<c.cartesian.length;o++){var _=c.cartesian[o];if(!l[_]){var b=\\\".\\\"+_+\\\",.\\\"+_+\\\"-x,.\\\"+_+\\\"-y\\\";r._cartesianlayer.selectAll(b).remove(),g(_,r)}}},n.drawFramework=function(t){var e=t._fullLayout,n=function(t){var e,n,r,i,o,a,s=t._fullLayout,l=s._subplots.cartesian,u=l.length,c=[],h=[];for(e=0;e<u;e++){r=l[e],o=(i=s._plots[r]).xaxis,a=i.yaxis;var p=o._mainAxis,f=a._mainAxis,d=p._id+f._id,m=s._plots[d];i.overlays=[],d!==r&&m?(i.mainplot=d,i.mainplotinfo=m,h.push(r)):(i.mainplot=void 0,i.mainPlotinfo=void 0,c.push(r))}for(e=0;e<h.length;e++)r=h[e],(i=s._plots[r]).mainplotinfo.overlays.push(i);var v=c.concat(h),g=new Array(u);for(e=0;e<u;e++){r=v[e],o=(i=s._plots[r]).xaxis,a=i.yaxis;var y=[r,o.layer,a.layer,o.overlaying||\\\"\\\",a.overlaying||\\\"\\\"];for(n=0;n<i.overlays.length;n++)y.push(i.overlays[n].id);g[e]=y}return g}(t),i=e._cartesianlayer.selectAll(\\\".subplot\\\").data(n,String);i.enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return\\\"subplot \\\"+t[0]})),i.order(),i.exit().call(v,e),i.each((function(n){var i=n[0],o=e._plots[i];o.plotgroup=r.select(this),m(t,o),o.draglayer=p(e._draggers,\\\"g\\\",i)}))},n.rangePlot=function(t,e,n){m(t,e),d(t,e,n),a.style(t)},n.toSVG=function(t){var e=t._fullLayout._glimages,n=r.select(t).selectAll(\\\".svg-container\\\");n.filter((function(t,e){return e===n.size()-1})).selectAll(\\\".gl-canvas-context, .gl-canvas-focus\\\").each((function(){var t=this,n=t.toDataURL(\\\"image/png\\\");e.append(\\\"svg:image\\\").attr({xmlns:h.svg,\\\"xlink:href\\\":n,preserveAspectRatio:\\\"none\\\",x:0,y:0,width:t.width,height:t.height})}))},n.updateFx=t(\\\"./graph_interact\\\").updateFx},{\\\"../../components/drawing\\\":617,\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../get_data\\\":813,\\\"../plots\\\":839,\\\"./attributes\\\":774,\\\"./axis_ids\\\":779,\\\"./constants\\\":782,\\\"./graph_interact\\\":785,\\\"./layout_attributes\\\":790,\\\"./layout_defaults\\\":791,\\\"./transition_axes\\\":800,d3:164}],790:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../font_attributes\\\"),i=t(\\\"../../components/color/attributes\\\"),o=t(\\\"../../components/drawing/attributes\\\").dash,a=t(\\\"../../lib/extend\\\").extendFlat,s=t(\\\"../../plot_api/plot_template\\\").templatedArray,l=(t(\\\"../../constants/docs\\\").FORMAT_LINK,t(\\\"../../constants/docs\\\").DATE_FORMAT_LINK,t(\\\"../../constants/numerical\\\").ONEDAY),u=t(\\\"./constants\\\"),c=u.HOUR_PATTERN,h=u.WEEKDAY_PATTERN;e.exports={visible:{valType:\\\"boolean\\\",editType:\\\"plot\\\"},color:{valType:\\\"color\\\",dflt:i.defaultLine,editType:\\\"ticks\\\"},title:{text:{valType:\\\"string\\\",editType:\\\"ticks\\\"},font:r({editType:\\\"ticks\\\"}),standoff:{valType:\\\"number\\\",min:0,editType:\\\"ticks\\\"},editType:\\\"ticks\\\"},type:{valType:\\\"enumerated\\\",values:[\\\"-\\\",\\\"linear\\\",\\\"log\\\",\\\"date\\\",\\\"category\\\",\\\"multicategory\\\"],dflt:\\\"-\\\",editType:\\\"calc\\\",_noTemplating:!0},autorange:{valType:\\\"enumerated\\\",values:[!0,!1,\\\"reversed\\\"],dflt:!0,editType:\\\"axrange\\\",impliedEdits:{\\\"range[0]\\\":void 0,\\\"range[1]\\\":void 0}},rangemode:{valType:\\\"enumerated\\\",values:[\\\"normal\\\",\\\"tozero\\\",\\\"nonnegative\\\"],dflt:\\\"normal\\\",editType:\\\"plot\\\"},range:{valType:\\\"info_array\\\",items:[{valType:\\\"any\\\",editType:\\\"axrange\\\",impliedEdits:{\\\"^autorange\\\":!1},anim:!0},{valType:\\\"any\\\",editType:\\\"axrange\\\",impliedEdits:{\\\"^autorange\\\":!1},anim:!0}],editType:\\\"axrange\\\",impliedEdits:{autorange:!1},anim:!0},fixedrange:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},scaleanchor:{valType:\\\"enumerated\\\",values:[u.idRegex.x.toString(),u.idRegex.y.toString()],editType:\\\"plot\\\"},scaleratio:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"plot\\\"},constrain:{valType:\\\"enumerated\\\",values:[\\\"range\\\",\\\"domain\\\"],dflt:\\\"range\\\",editType:\\\"plot\\\"},constraintoward:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"center\\\",\\\"right\\\",\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],editType:\\\"plot\\\"},matches:{valType:\\\"enumerated\\\",values:[u.idRegex.x.toString(),u.idRegex.y.toString()],editType:\\\"calc\\\"},rangebreaks:s(\\\"rangebreak\\\",{enabled:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},bounds:{valType:\\\"info_array\\\",items:[{valType:\\\"any\\\",editType:\\\"calc\\\"},{valType:\\\"any\\\",editType:\\\"calc\\\"}],editType:\\\"calc\\\"},pattern:{valType:\\\"enumerated\\\",values:[h,c,\\\"\\\"],editType:\\\"calc\\\"},values:{valType:\\\"info_array\\\",freeLength:!0,editType:\\\"calc\\\",items:{valType:\\\"any\\\",editType:\\\"calc\\\"}},dvalue:{valType:\\\"number\\\",editType:\\\"calc\\\",min:0,dflt:l},editType:\\\"calc\\\"}),tickmode:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"linear\\\",\\\"array\\\"],editType:\\\"ticks\\\",impliedEdits:{tick0:void 0,dtick:void 0}},nticks:{valType:\\\"integer\\\",min:0,dflt:0,editType:\\\"ticks\\\"},tick0:{valType:\\\"any\\\",editType:\\\"ticks\\\",impliedEdits:{tickmode:\\\"linear\\\"}},dtick:{valType:\\\"any\\\",editType:\\\"ticks\\\",impliedEdits:{tickmode:\\\"linear\\\"}},tickvals:{valType:\\\"data_array\\\",editType:\\\"ticks\\\"},ticktext:{valType:\\\"data_array\\\",editType:\\\"ticks\\\"},ticks:{valType:\\\"enumerated\\\",values:[\\\"outside\\\",\\\"inside\\\",\\\"\\\"],editType:\\\"ticks\\\"},tickson:{valType:\\\"enumerated\\\",values:[\\\"labels\\\",\\\"boundaries\\\"],dflt:\\\"labels\\\",editType:\\\"ticks\\\"},mirror:{valType:\\\"enumerated\\\",values:[!0,\\\"ticks\\\",!1,\\\"all\\\",\\\"allticks\\\"],dflt:!1,editType:\\\"ticks+layoutstyle\\\"},ticklen:{valType:\\\"number\\\",min:0,dflt:5,editType:\\\"ticks\\\"},tickwidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"ticks\\\"},tickcolor:{valType:\\\"color\\\",dflt:i.defaultLine,editType:\\\"ticks\\\"},showticklabels:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"ticks\\\"},automargin:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"ticks\\\"},showspikes:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"modebar\\\"},spikecolor:{valType:\\\"color\\\",dflt:null,editType:\\\"none\\\"},spikethickness:{valType:\\\"number\\\",dflt:3,editType:\\\"none\\\"},spikedash:a({},o,{dflt:\\\"dash\\\",editType:\\\"none\\\"}),spikemode:{valType:\\\"flaglist\\\",flags:[\\\"toaxis\\\",\\\"across\\\",\\\"marker\\\"],dflt:\\\"toaxis\\\",editType:\\\"none\\\"},spikesnap:{valType:\\\"enumerated\\\",values:[\\\"data\\\",\\\"cursor\\\",\\\"hovered data\\\"],dflt:\\\"data\\\",editType:\\\"none\\\"},tickfont:r({editType:\\\"ticks\\\"}),tickangle:{valType:\\\"angle\\\",dflt:\\\"auto\\\",editType:\\\"ticks\\\"},tickprefix:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"ticks\\\"},showtickprefix:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"first\\\",\\\"last\\\",\\\"none\\\"],dflt:\\\"all\\\",editType:\\\"ticks\\\"},ticksuffix:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"ticks\\\"},showticksuffix:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"first\\\",\\\"last\\\",\\\"none\\\"],dflt:\\\"all\\\",editType:\\\"ticks\\\"},showexponent:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"first\\\",\\\"last\\\",\\\"none\\\"],dflt:\\\"all\\\",editType:\\\"ticks\\\"},exponentformat:{valType:\\\"enumerated\\\",values:[\\\"none\\\",\\\"e\\\",\\\"E\\\",\\\"power\\\",\\\"SI\\\",\\\"B\\\"],dflt:\\\"B\\\",editType:\\\"ticks\\\"},separatethousands:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"ticks\\\"},tickformat:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"ticks\\\"},tickformatstops:s(\\\"tickformatstop\\\",{enabled:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"ticks\\\"},dtickrange:{valType:\\\"info_array\\\",items:[{valType:\\\"any\\\",editType:\\\"ticks\\\"},{valType:\\\"any\\\",editType:\\\"ticks\\\"}],editType:\\\"ticks\\\"},value:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"ticks\\\"},editType:\\\"ticks\\\"}),hoverformat:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"none\\\"},showline:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"ticks+layoutstyle\\\"},linecolor:{valType:\\\"color\\\",dflt:i.defaultLine,editType:\\\"layoutstyle\\\"},linewidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"ticks+layoutstyle\\\"},showgrid:{valType:\\\"boolean\\\",editType:\\\"ticks\\\"},gridcolor:{valType:\\\"color\\\",dflt:i.lightLine,editType:\\\"ticks\\\"},gridwidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"ticks\\\"},zeroline:{valType:\\\"boolean\\\",editType:\\\"ticks\\\"},zerolinecolor:{valType:\\\"color\\\",dflt:i.defaultLine,editType:\\\"ticks\\\"},zerolinewidth:{valType:\\\"number\\\",dflt:1,editType:\\\"ticks\\\"},showdividers:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"ticks\\\"},dividercolor:{valType:\\\"color\\\",dflt:i.defaultLine,editType:\\\"ticks\\\"},dividerwidth:{valType:\\\"number\\\",dflt:1,editType:\\\"ticks\\\"},anchor:{valType:\\\"enumerated\\\",values:[\\\"free\\\",u.idRegex.x.toString(),u.idRegex.y.toString()],editType:\\\"plot\\\"},side:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"bottom\\\",\\\"left\\\",\\\"right\\\"],editType:\\\"plot\\\"},overlaying:{valType:\\\"enumerated\\\",values:[\\\"free\\\",u.idRegex.x.toString(),u.idRegex.y.toString()],editType:\\\"plot\\\"},layer:{valType:\\\"enumerated\\\",values:[\\\"above traces\\\",\\\"below traces\\\"],dflt:\\\"above traces\\\",editType:\\\"plot\\\"},domain:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\",min:0,max:1,editType:\\\"plot\\\"},{valType:\\\"number\\\",min:0,max:1,editType:\\\"plot\\\"}],dflt:[0,1],editType:\\\"plot\\\"},position:{valType:\\\"number\\\",min:0,max:1,dflt:0,editType:\\\"plot\\\"},categoryorder:{valType:\\\"enumerated\\\",values:[\\\"trace\\\",\\\"category ascending\\\",\\\"category descending\\\",\\\"array\\\",\\\"total ascending\\\",\\\"total descending\\\",\\\"min ascending\\\",\\\"min descending\\\",\\\"max ascending\\\",\\\"max descending\\\",\\\"sum ascending\\\",\\\"sum descending\\\",\\\"mean ascending\\\",\\\"mean descending\\\",\\\"median ascending\\\",\\\"median descending\\\"],dflt:\\\"trace\\\",editType:\\\"calc\\\"},categoryarray:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"},editType:\\\"calc\\\",_deprecated:{autotick:{valType:\\\"boolean\\\",editType:\\\"ticks\\\"},title:{valType:\\\"string\\\",editType:\\\"ticks\\\"},titlefont:r({editType:\\\"ticks\\\"})}}},{\\\"../../components/color/attributes\\\":594,\\\"../../components/drawing/attributes\\\":616,\\\"../../constants/docs\\\":699,\\\"../../constants/numerical\\\":704,\\\"../../lib/extend\\\":719,\\\"../../plot_api/plot_template\\\":766,\\\"../font_attributes\\\":804,\\\"./constants\\\":782}],791:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../components/fx/helpers\\\").isUnifiedHover,a=t(\\\"../../components/fx/hovermode_defaults\\\"),s=t(\\\"../../plot_api/plot_template\\\"),l=t(\\\"../layout_attributes\\\"),u=t(\\\"./layout_attributes\\\"),c=t(\\\"./type_defaults\\\"),h=t(\\\"./axis_defaults\\\"),p=t(\\\"./constraints\\\").handleConstraintDefaults,f=t(\\\"./position_defaults\\\"),d=t(\\\"./axis_ids\\\"),m=d.id2name,v=d.name2id,g=t(\\\"./constants\\\").AX_ID_PATTERN,y=t(\\\"../../registry\\\"),_=y.traceIs,b=y.getComponentMethod;function x(t,e,n){Array.isArray(t[e])?t[e].push(n):t[e]=[n]}e.exports=function(t,e,n){var d,y,w={},A={},C={},M={},E={},T={},S={},k={},O={},I={};for(d=0;d<n.length;d++){var L=n[d];if(_(L,\\\"cartesian\\\")||_(L,\\\"gl2d\\\")){var P,z;if(L.xaxis)P=m(L.xaxis),x(w,P,L);else if(L.xaxes)for(y=0;y<L.xaxes.length;y++)x(w,m(L.xaxes[y]),L);if(L.yaxis)z=m(L.yaxis),x(w,z,L);else if(L.yaxes)for(y=0;y<L.yaxes.length;y++)x(w,m(L.yaxes[y]),L);\\\"funnel\\\"===L.type?\\\"h\\\"===L.orientation?(P&&(A[P]=!0),z&&(S[z]=!0)):z&&(C[z]=!0):\\\"image\\\"===L.type?(z&&(k[z]=!0),P&&(k[P]=!0)):(z&&(E[z]=!0,T[z]=!0),_(L,\\\"carpet\\\")&&(\\\"carpet\\\"!==L.type||L._cheater)||P&&(M[P]=!0)),\\\"carpet\\\"===L.type&&L._cheater&&P&&(A[P]=!0),_(L,\\\"2dMap\\\")&&(O[P]=!0,O[z]=!0),_(L,\\\"oriented\\\")&&(I[\\\"h\\\"===L.orientation?z:P]=!0)}}var R=e._subplots,D=R.xaxis,$=R.yaxis,B=r.simpleMap(D,m),N=r.simpleMap($,m),F=B.concat(N),j=i.background;D.length&&$.length&&(j=r.coerce(t,e,l,\\\"plot_bgcolor\\\"));var U,q,V,H,G,W=i.combine(j,e.paper_bgcolor);function X(){var t=w[U]||[];G._traceIndices=t.map((function(t){return t._expandedIndex})),G._annIndices=[],G._shapeIndices=[],G._imgIndices=[],G._subplotsWith=[],G._counterAxes=[],G._name=G._attr=U,G._id=q}function Y(t,e){return r.coerce(H,G,u,t,e)}function Z(t,e){return r.coerce2(H,G,u,t,e)}function K(t){return\\\"x\\\"===t?$:D}function J(e,n){for(var r=\\\"x\\\"===e?B:N,i=[],o=0;o<r.length;o++){var a=r[o];a===n||(t[a]||{}).overlaying||i.push(v(a))}return i}var Q={x:K(\\\"x\\\"),y:K(\\\"y\\\")},tt=Q.x.concat(Q.y),et={},nt=[];function rt(){var t=H.matches;g.test(t)&&-1===tt.indexOf(t)&&(et[t]=H.type,nt=Object.keys(et))}var it=a(t,e,n),ot=o(it);for(d=0;d<F.length;d++){U=F[d],q=v(U),V=U.charAt(0),r.isPlainObject(t[U])||(t[U]={}),H=t[U],G=s.newContainer(e,U,V+\\\"axis\\\"),X();var at=\\\"x\\\"===V&&!M[U]&&A[U]||\\\"y\\\"===V&&!E[U]&&C[U],st=\\\"y\\\"===V&&(!T[U]&&S[U]||k[U]),lt={letter:V,font:e.font,outerTicks:O[U],showGrid:!I[U],data:w[U]||[],bgColor:W,calendar:e.calendar,automargin:!0,visibleDflt:at,reverseDflt:st,splomStash:((e._splomAxes||{})[V]||{})[q]};Y(\\\"uirevision\\\",e.uirevision),c(H,G,Y,lt),h(H,G,Y,lt,e);var ut=ot&&V===it.charAt(0),ct=Z(\\\"spikecolor\\\",ot?G.color:void 0),ht=Z(\\\"spikethickness\\\",ot?1.5:void 0),pt=Z(\\\"spikedash\\\",ot?\\\"dot\\\":void 0),ft=Z(\\\"spikemode\\\",ot?\\\"across\\\":void 0),dt=Z(\\\"spikesnap\\\",ot?\\\"hovered data\\\":void 0);Y(\\\"showspikes\\\",!!(ut||ct||ht||pt||ft||dt))||(delete G.spikecolor,delete G.spikethickness,delete G.spikedash,delete G.spikemode,delete G.spikesnap),f(H,G,Y,{letter:V,counterAxes:Q[V],overlayableAxes:J(V,U),grid:e.grid}),Y(\\\"title.standoff\\\"),rt(),G._input=H}for(d=0;d<nt.length;){q=nt[d++],V=(U=m(q)).charAt(0),r.isPlainObject(t[U])||(t[U]={}),H=t[U],G=s.newContainer(e,U,V+\\\"axis\\\"),X();var mt={letter:V,font:e.font,outerTicks:O[U],showGrid:!I[U],data:[],bgColor:W,calendar:e.calendar,automargin:!0,visibleDflt:!1,reverseDflt:!1,splomStash:((e._splomAxes||{})[V]||{})[q]};Y(\\\"uirevision\\\",e.uirevision),G.type=et[q]||\\\"linear\\\",h(H,G,Y,mt,e),f(H,G,Y,{letter:V,counterAxes:Q[V],overlayableAxes:J(V,U),grid:e.grid}),Y(\\\"fixedrange\\\"),rt(),G._input=H}var vt=b(\\\"rangeslider\\\",\\\"handleDefaults\\\"),gt=b(\\\"rangeselector\\\",\\\"handleDefaults\\\");for(d=0;d<B.length;d++)U=B[d],H=t[U],G=e[U],vt(t,e,U),\\\"date\\\"===G.type&&gt(H,G,e,N,G.calendar),Y(\\\"fixedrange\\\");for(d=0;d<N.length;d++){U=N[d],H=t[U],G=e[U];var yt=e[m(G.anchor)];Y(\\\"fixedrange\\\",b(\\\"rangeslider\\\",\\\"isVisible\\\")(yt))}var _t=e._axisConstraintGroups=[],bt=e._axisMatchGroups=[],xt=tt.concat(nt),wt=F.concat(r.simpleMap(nt,m));for(d=0;d<wt.length;d++){var At,Ct;V=(U=wt[d]).charAt(0),H=t[U],G=e[U],At=\\\"y\\\"===V&&!H.hasOwnProperty(\\\"scaleanchor\\\")&&k[U]?G.anchor:void 0,Ct=!H.hasOwnProperty(\\\"constrain\\\")&&k[U]?\\\"domain\\\":void 0,p(H,G,Y,{allAxisIds:xt,layoutOut:e,scaleanchorDflt:At,constrainDflt:Ct})}for(d=0;d<bt.length;d++){var Mt=bt[d],Et=null,Tt=null;for(q in Mt)(G=e[m(q)]).matches||(Et=G.range,Tt=G.autorange);if(null===Et||null===Tt)for(q in Mt){Et=(G=e[m(q)]).range,Tt=G.autorange;break}for(q in Mt)(G=e[m(q)]).matches&&(G.range=Et.slice(),G.autorange=Tt),G._matchGroup=Mt;if(_t.length)for(q in Mt)for(y=0;y<_t.length;y++){var St=_t[y];for(var kt in St)q===kt&&(r.warn(\\\"Axis \\\"+kt+\\\" is set with both a *scaleanchor* and *matches* constraint; ignoring the scale constraint.\\\"),delete St[kt],Object.keys(St).length<2&&_t.splice(y,1))}}}},{\\\"../../components/color\\\":595,\\\"../../components/fx/helpers\\\":631,\\\"../../components/fx/hovermode_defaults\\\":634,\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../registry\\\":859,\\\"../layout_attributes\\\":830,\\\"./axis_defaults\\\":778,\\\"./axis_ids\\\":779,\\\"./constants\\\":782,\\\"./constraints\\\":783,\\\"./layout_attributes\\\":790,\\\"./position_defaults\\\":793,\\\"./type_defaults\\\":801}],792:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"tinycolor2\\\").mix,i=t(\\\"../../components/color/attributes\\\").lightFraction,o=t(\\\"../../lib\\\");e.exports=function(t,e,n,a){var s=(a=a||{}).dfltColor;function l(n,r){return o.coerce2(t,e,a.attributes,n,r)}var u=l(\\\"linecolor\\\",s),c=l(\\\"linewidth\\\");n(\\\"showline\\\",a.showLine||!!u||!!c)||(delete e.linecolor,delete e.linewidth);var h=l(\\\"gridcolor\\\",r(s,a.bgColor,a.blend||i).toRgbString()),p=l(\\\"gridwidth\\\");if(n(\\\"showgrid\\\",a.showGrid||!!h||!!p)||(delete e.gridcolor,delete e.gridwidth),!a.noZeroLine){var f=l(\\\"zerolinecolor\\\",s),d=l(\\\"zerolinewidth\\\");n(\\\"zeroline\\\",a.showGrid||!!f||!!d)||(delete e.zerolinecolor,delete e.zerolinewidth)}}},{\\\"../../components/color/attributes\\\":594,\\\"../../lib\\\":728,tinycolor2:528}],793:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\");e.exports=function(t,e,n,o){var a,s,l,u,c=o.counterAxes||[],h=o.overlayableAxes||[],p=o.letter,f=o.grid;f&&(s=f._domains[p][f._axisMap[e._id]],a=f._anchors[e._id],s&&(l=f[p+\\\"side\\\"].split(\\\" \\\")[0],u=f.domain[p][\\\"right\\\"===l||\\\"top\\\"===l?1:0])),s=s||[0,1],a=a||(r(t.position)?\\\"free\\\":c[0]||\\\"free\\\"),l=l||(\\\"x\\\"===p?\\\"bottom\\\":\\\"left\\\"),u=u||0,\\\"free\\\"===i.coerce(t,e,{anchor:{valType:\\\"enumerated\\\",values:[\\\"free\\\"].concat(c),dflt:a}},\\\"anchor\\\")&&n(\\\"position\\\",u),i.coerce(t,e,{side:{valType:\\\"enumerated\\\",values:\\\"x\\\"===p?[\\\"bottom\\\",\\\"top\\\"]:[\\\"left\\\",\\\"right\\\"],dflt:l}},\\\"side\\\");var d=!1;if(h.length&&(d=i.coerce(t,e,{overlaying:{valType:\\\"enumerated\\\",values:[!1].concat(h),dflt:!1}},\\\"overlaying\\\")),!d){var m=n(\\\"domain\\\",s);m[0]>m[1]-1/4096&&(e.domain=s),i.noneOrAll(t.domain,e.domain,s)}return n(\\\"layer\\\"),e}},{\\\"../../lib\\\":728,\\\"fast-isnumeric\\\":236}],794:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../constants/alignment\\\").FROM_BL;e.exports=function(t,e,n){void 0===n&&(n=r[t.constraintoward||\\\"center\\\"]);var i=[t.r2l(t.range[0]),t.r2l(t.range[1])],o=i[0]+(i[1]-i[0])*n;t.range=t._input.range=[t.l2r(o+(i[0]-o)*e),t.l2r(o+(i[1]-o)*e)]}},{\\\"../../constants/alignment\\\":697}],795:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"polybooljs\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../components/drawing\\\").dashStyle,a=t(\\\"../../components/color\\\"),s=t(\\\"../../components/fx\\\"),l=t(\\\"../../components/fx/helpers\\\").makeEventData,u=t(\\\"../../components/dragelement/helpers\\\"),c=u.freeMode,h=u.rectMode,p=u.drawMode,f=u.openMode,d=u.selectMode,m=t(\\\"../../components/shapes/draw_newshape/display_outlines\\\"),v=t(\\\"../../components/shapes/draw_newshape/helpers\\\").handleEllipse,g=t(\\\"../../components/shapes/draw_newshape/newshapes\\\"),y=t(\\\"../../lib\\\"),_=t(\\\"../../lib/polygon\\\"),b=t(\\\"../../lib/throttle\\\"),x=t(\\\"./axis_ids\\\").getFromId,w=t(\\\"../../lib/clear_gl_canvases\\\"),A=t(\\\"../../plot_api/subroutines\\\").redrawReglTraces,C=t(\\\"./constants\\\"),M=C.MINSELECT,E=_.filter,T=_.tester,S=t(\\\"./handle_outline\\\").clearSelect,k=t(\\\"./helpers\\\"),O=k.p2r,I=k.axValue,L=k.getTransform;function P(t,e,n,r,i,o,a){var s,l,u,c,h,p,d,v,g,y=e._hoverdata,_=e._fullLayout.clickmode.indexOf(\\\"event\\\")>-1,b=[];if(function(t){return t&&Array.isArray(t)&&!0!==t[0].hoverOnBox}(y)){$(t,e,o);var x=function(t,e){var n,r,i=t[0],o=-1,a=[];for(r=0;r<e.length;r++)if(n=e[r],i.fullData._expandedIndex===n.cd[0].trace._expandedIndex){if(!0===i.hoverOnBox)break;void 0!==i.pointNumber?o=i.pointNumber:void 0!==i.binNumber&&(o=i.binNumber,a=i.pointNumbers);break}return{pointNumber:o,pointNumbers:a,searchInfo:n}}(y,s=N(e,n,r,i));if(x.pointNumbers.length>0?function(t,e){var n,r,i,o=[];for(i=0;i<t.length;i++)(n=t[i]).cd[0].trace.selectedpoints&&n.cd[0].trace.selectedpoints.length>0&&o.push(n);if(1===o.length&&o[0]===e.searchInfo&&(r=e.searchInfo.cd[0].trace).selectedpoints.length===e.pointNumbers.length){for(i=0;i<e.pointNumbers.length;i++)if(r.selectedpoints.indexOf(e.pointNumbers[i])<0)return!1;return!0}return!1}(s,x):function(t){var e,n,r=0;for(n=0;n<t.length;n++)if((e=t[n].cd[0].trace).selectedpoints){if(e.selectedpoints.length>1)return!1;if((r+=e.selectedpoints.length)>1)return!1}return 1===r}(s)&&(p=F(x))){for(a&&a.remove(),g=0;g<s.length;g++)(l=s[g])._module.selectPoints(l,!1);j(e,s),B(o),_&&e.emit(\\\"plotly_deselect\\\",null)}else{for(d=t.shiftKey&&(void 0!==p?p:F(x)),u=function(t,e,n){return{pointNumber:t,searchInfo:e,subtract:n}}(x.pointNumber,x.searchInfo,d),c=D(o.selectionDefs.concat([u])),g=0;g<s.length;g++)if(h=U(s[g]._module.selectPoints(s[g],c),s[g]),b.length)for(var w=0;w<h.length;w++)b.push(h[w]);else b=h;if(j(e,s,v={points:b}),u&&o&&o.selectionDefs.push(u),a){var A=o.mergedPolygons,C=f(o.dragmode);m(q(A,C),a,o)}_&&e.emit(\\\"plotly_selected\\\",v)}}}function z(t){return\\\"pointNumber\\\"in t&&\\\"searchInfo\\\"in t}function R(t){return{xmin:0,xmax:0,ymin:0,ymax:0,pts:[],contains:function(e,n,r,i){var o=t.searchInfo.cd[0].trace._expandedIndex;return i.cd[0].trace._expandedIndex===o&&r===t.pointNumber},isRect:!1,degenerate:!1,subtract:t.subtract}}function D(t){for(var e=[],n=z(t[0])?0:t[0][0][0],r=n,i=z(t[0])?0:t[0][0][1],o=i,a=0;a<t.length;a++)if(z(t[a]))e.push(R(t[a]));else{var s=_.tester(t[a]);s.subtract=t[a].subtract,e.push(s),n=Math.min(n,s.xmin),r=Math.max(r,s.xmax),i=Math.min(i,s.ymin),o=Math.max(o,s.ymax)}return{xmin:n,xmax:r,ymin:i,ymax:o,pts:[],contains:function(t,n,r,i){for(var o=!1,a=0;a<e.length;a++)e[a].contains(t,n,r,i)&&(o=!1===e[a].subtract);return o},isRect:!1,degenerate:!1}}function $(t,e,n){e._fullLayout._drawing=!1;var r=e._fullLayout,i=n.plotinfo,o=n.dragmode,a=r._lastSelectedSubplot&&r._lastSelectedSubplot===i.id,s=(t.shiftKey||t.altKey)&&!(p(o)&&f(o));a&&s&&i.selection&&i.selection.selectionDefs&&!n.selectionDefs?(n.selectionDefs=i.selection.selectionDefs,n.mergedPolygons=i.selection.mergedPolygons):s&&i.selection||B(n),a||(S(e),r._lastSelectedSubplot=i.id)}function B(t){var e=t.dragmode,n=t.plotinfo,r=t.gd;if(r._fullLayout._activeShapeIndex>=0&&r._fullLayout._deactivateShape(r),p(e)){var o=r._fullLayout._zoomlayer.selectAll(\\\".select-outline-\\\"+n.id);if(o&&r._fullLayout._drawing){var a=g(o,t);a&&i.call(\\\"_guiRelayout\\\",r,{shapes:a}),r._fullLayout._drawing=!1}}n.selection={},n.selection.selectionDefs=t.selectionDefs=[],n.selection.mergedPolygons=t.mergedPolygons=[]}function N(t,e,n,r){var i,o,a,s=[],l=e.map((function(t){return t._id})),u=n.map((function(t){return t._id}));for(a=0;a<t.calcdata.length;a++)if(!0===(o=(i=t.calcdata[a])[0].trace).visible&&o._module&&o._module.selectPoints)if(!r||o.subplot!==r&&o.geo!==r)if(\\\"splom\\\"===o.type&&o._xaxes[l[0]]&&o._yaxes[u[0]]){var c=p(o._module,i,e[0],n[0]);c.scene=t._fullLayout._splomScenes[o.uid],s.push(c)}else if(\\\"sankey\\\"===o.type){var h=p(o._module,i,e[0],n[0]);s.push(h)}else{if(-1===l.indexOf(o.xaxis))continue;if(-1===u.indexOf(o.yaxis))continue;s.push(p(o._module,i,x(t,o.xaxis),x(t,o.yaxis)))}else s.push(p(o._module,i,e[0],n[0]));return s;function p(t,e,n,r){return{_module:t,cd:e,xaxis:n,yaxis:r}}}function F(t){var e=t.searchInfo.cd[0].trace,n=t.pointNumber,r=t.pointNumbers,i=r.length>0?r[0]:n;return!!e.selectedpoints&&e.selectedpoints.indexOf(i)>-1}function j(t,e,n){var r,o,a,s;for(r=0;r<e.length;r++){var l=e[r].cd[0].trace._fullInput,u=t._fullLayout._tracePreGUI[l.uid]||{};void 0===u.selectedpoints&&(u.selectedpoints=l._input.selectedpoints||null)}if(n){var c=n.points||[];for(r=0;r<e.length;r++)(s=e[r].cd[0].trace)._input.selectedpoints=s._fullInput.selectedpoints=[],s._fullInput!==s&&(s.selectedpoints=[]);for(r=0;r<c.length;r++){var h=c[r],p=h.data,f=h.fullData;h.pointIndices?([].push.apply(p.selectedpoints,h.pointIndices),s._fullInput!==s&&[].push.apply(f.selectedpoints,h.pointIndices)):(p.selectedpoints.push(h.pointIndex),s._fullInput!==s&&f.selectedpoints.push(h.pointIndex))}}else for(r=0;r<e.length;r++)delete(s=e[r].cd[0].trace).selectedpoints,delete s._input.selectedpoints,s._fullInput!==s&&delete s._fullInput.selectedpoints;var d=!1;for(r=0;r<e.length;r++){s=(a=(o=e[r]).cd)[0].trace,i.traceIs(s,\\\"regl\\\")&&(d=!0);var m=o._module,v=m.styleOnSelect||m.style;v&&(v(t,a,a[0].node3),a[0].nodeRangePlot3&&v(t,a,a[0].nodeRangePlot3))}d&&(w(t),A(t))}function U(t,e){if(Array.isArray(t))for(var n=e.cd,r=e.cd[0].trace,i=0;i<t.length;i++)t[i]=l(t[i],r,n);return t}function q(t,e){for(var n=[],r=0;r<t.length;r++){n[r]=[];for(var i=0;i<t[r].length;i++){n[r][i]=[],n[r][i][0]=i?\\\"L\\\":\\\"M\\\";for(var o=0;o<t[r][i].length;o++)n[r][i].push(t[r][i][o])}e||n[r].push([\\\"Z\\\",n[r][0][1],n[r][0][2]])}return n}e.exports={prepSelect:function(t,e,n,i,l){var u,g,_,x,w,A,S,k=c(l),z=h(l),R=f(l),F=p(l),V=d(l),H=\\\"drawcircle\\\"===l,G=\\\"drawline\\\"===l||H,W=i.gd,X=W._fullLayout,Y=X._zoomlayer,Z=i.element.getBoundingClientRect(),K=i.plotinfo,J=L(K),Q=e-Z.left,tt=n-Z.top,et=Q,nt=tt,rt=\\\"M\\\"+Q+\\\",\\\"+tt,it=i.xaxes[0]._length,ot=i.yaxes[0]._length,at=i.xaxes.concat(i.yaxes),st=t.altKey&&!(p(l)&&R);$(t,W,i),k&&(u=E([[Q,tt]],C.BENDPX));var lt=Y.selectAll(\\\"path.select-outline-\\\"+K.id).data(F?[0]:[1,2]),ut=X.newshape;lt.enter().append(\\\"path\\\").attr(\\\"class\\\",(function(t){return\\\"select-outline select-outline-\\\"+t+\\\" select-outline-\\\"+K.id})).style(F?{opacity:ut.opacity/2,fill:R?void 0:ut.fillcolor,stroke:ut.line.color,\\\"stroke-dasharray\\\":o(ut.line.dash,ut.line.width),\\\"stroke-width\\\":ut.line.width+\\\"px\\\"}:{}).attr(\\\"fill-rule\\\",ut.fillrule).classed(\\\"cursor-move\\\",!!F).attr(\\\"transform\\\",J).attr(\\\"d\\\",rt+\\\"Z\\\");var ct,ht=Y.append(\\\"path\\\").attr(\\\"class\\\",\\\"zoombox-corners\\\").style({fill:a.background,stroke:a.defaultLine,\\\"stroke-width\\\":1}).attr(\\\"transform\\\",J).attr(\\\"d\\\",\\\"M0,0Z\\\"),pt=X._uid+C.SELECTID,ft=[],dt=N(W,i.xaxes,i.yaxes,i.subplot);function mt(t,e){return t-e}ct=K.fillRangeItems?K.fillRangeItems:z?function(t,e){var n=t.range={};for(w=0;w<at.length;w++){var r=at[w],i=r._id.charAt(0);n[r._id]=[O(r,e[i+\\\"min\\\"]),O(r,e[i+\\\"max\\\"])].sort(mt)}}:function(t,e,n){var r=t.lassoPoints={};for(w=0;w<at.length;w++){var i=at[w];r[i._id]=n.filtered.map(I(i))}},i.moveFn=function(t,e){et=Math.max(0,Math.min(it,t+Q)),nt=Math.max(0,Math.min(ot,e+tt));var n=Math.abs(et-Q),o=Math.abs(nt-tt);if(z){var a,s,l;if(V){var c=X.selectdirection;switch(a=\\\"any\\\"===c?o<Math.min(.6*n,M)?\\\"h\\\":n<Math.min(.6*o,M)?\\\"v\\\":\\\"d\\\":c){case\\\"h\\\":s=H?ot/2:0,l=ot;break;case\\\"v\\\":s=H?it/2:0,l=it}}if(F)switch(X.newshape.drawdirection){case\\\"vertical\\\":a=\\\"h\\\",s=H?ot/2:0,l=ot;break;case\\\"horizontal\\\":a=\\\"v\\\",s=H?it/2:0,l=it;break;case\\\"ortho\\\":n<o?(a=\\\"h\\\",s=tt,l=nt):(a=\\\"v\\\",s=Q,l=et);break;default:a=\\\"d\\\"}\\\"h\\\"===a?((x=G?v(H,[et,s],[et,l]):[[Q,s],[Q,l],[et,l],[et,s]]).xmin=G?et:Math.min(Q,et),x.xmax=G?et:Math.max(Q,et),x.ymin=Math.min(s,l),x.ymax=Math.max(s,l),ht.attr(\\\"d\\\",\\\"M\\\"+x.xmin+\\\",\\\"+(tt-M)+\\\"h-4v\\\"+2*M+\\\"h4ZM\\\"+(x.xmax-1)+\\\",\\\"+(tt-M)+\\\"h4v\\\"+2*M+\\\"h-4Z\\\")):\\\"v\\\"===a?((x=G?v(H,[s,nt],[l,nt]):[[s,tt],[s,nt],[l,nt],[l,tt]]).xmin=Math.min(s,l),x.xmax=Math.max(s,l),x.ymin=G?nt:Math.min(tt,nt),x.ymax=G?nt:Math.max(tt,nt),ht.attr(\\\"d\\\",\\\"M\\\"+(Q-M)+\\\",\\\"+x.ymin+\\\"v-4h\\\"+2*M+\\\"v4ZM\\\"+(Q-M)+\\\",\\\"+(x.ymax-1)+\\\"v4h\\\"+2*M+\\\"v-4Z\\\")):\\\"d\\\"===a&&((x=G?v(H,[Q,tt],[et,nt]):[[Q,tt],[Q,nt],[et,nt],[et,tt]]).xmin=Math.min(Q,et),x.xmax=Math.max(Q,et),x.ymin=Math.min(tt,nt),x.ymax=Math.max(tt,nt),ht.attr(\\\"d\\\",\\\"M0,0Z\\\"))}else k&&(u.addPt([et,nt]),x=u.filtered);i.selectionDefs&&i.selectionDefs.length?(_=function(t,e,n){return n?r.difference({regions:t,inverted:!1},{regions:[e],inverted:!1}).regions:r.union({regions:t,inverted:!1},{regions:[e],inverted:!1}).regions}(i.mergedPolygons,x,st),x.subtract=st,g=D(i.selectionDefs.concat([x]))):(_=[x],g=T(x)),m(q(_,R),lt,i),V&&b.throttle(pt,C.SELECTDELAY,(function(){var t;ft=[];var e,n=[];for(w=0;w<dt.length;w++)if(e=(A=dt[w])._module.selectPoints(A,g),n.push(e),t=U(e,A),ft.length)for(var r=0;r<t.length;r++)ft.push(t[r]);else ft=t;j(W,dt,S={points:ft}),ct(S,x,u),i.gd.emit(\\\"plotly_selecting\\\",S)}))},i.clickFn=function(t,e){if(ht.remove(),W._fullLayout._activeShapeIndex>=0)W._fullLayout._deactivateShape(W);else if(!F){var n=X.clickmode;b.done(pt).then((function(){if(b.clear(pt),2===t){for(lt.remove(),w=0;w<dt.length;w++)(A=dt[w])._module.selectPoints(A,!1);j(W,dt),B(i),W.emit(\\\"plotly_deselect\\\",null)}else n.indexOf(\\\"select\\\")>-1&&P(e,W,i.xaxes,i.yaxes,i.subplot,i,lt),\\\"event\\\"===n&&W.emit(\\\"plotly_selected\\\",void 0);s.click(W,e)})).catch(y.error)}},i.doneFn=function(){ht.remove(),b.done(pt).then((function(){b.clear(pt),i.gd.emit(\\\"plotly_selected\\\",S),x&&i.selectionDefs&&(x.subtract=st,i.selectionDefs.push(x),i.mergedPolygons.length=0,[].push.apply(i.mergedPolygons,_)),i.doneFnCompleted&&i.doneFnCompleted(ft)})).catch(y.error),F&&B(i)}},clearSelect:S,clearSelectionsCache:B,selectOnClick:P}},{\\\"../../components/color\\\":595,\\\"../../components/dragelement/helpers\\\":613,\\\"../../components/drawing\\\":617,\\\"../../components/fx\\\":635,\\\"../../components/fx/helpers\\\":631,\\\"../../components/shapes/draw_newshape/display_outlines\\\":680,\\\"../../components/shapes/draw_newshape/helpers\\\":681,\\\"../../components/shapes/draw_newshape/newshapes\\\":682,\\\"../../lib\\\":728,\\\"../../lib/clear_gl_canvases\\\":713,\\\"../../lib/polygon\\\":740,\\\"../../lib/throttle\\\":753,\\\"../../plot_api/subroutines\\\":767,\\\"../../registry\\\":859,\\\"./axis_ids\\\":779,\\\"./constants\\\":782,\\\"./handle_outline\\\":786,\\\"./helpers\\\":787,polybooljs:471}],796:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../../lib\\\"),a=o.cleanNumber,s=o.ms2DateTime,l=o.dateTime2ms,u=o.ensureNumber,c=o.isArrayOrTypedArray,h=t(\\\"../../constants/numerical\\\"),p=h.FP_SAFE,f=h.BADNUM,d=h.LOG_CLIP,m=h.ONEDAY,v=h.ONEHOUR,g=h.ONEMIN,y=h.ONESEC,_=t(\\\"./axis_ids\\\"),b=t(\\\"./constants\\\"),x=b.HOUR_PATTERN,w=b.WEEKDAY_PATTERN;function A(t){return Math.pow(10,t)}function C(t){return null!=t}e.exports=function(t,e){e=e||{};var n=t._id||\\\"x\\\",h=n.charAt(0);function M(e,n){if(e>0)return Math.log(e)/Math.LN10;if(e<=0&&n&&t.range&&2===t.range.length){var r=t.range[0],i=t.range[1];return.5*(r+i-2*d*Math.abs(r-i))}return f}function E(e,n,r,a){var s=l(e,r||t.calendar);if(s===f){if(!i(e))return f;if(e=+e,(a||{}).msUTC)return e;var u=Math.floor(10*o.mod(e+.05,1)),c=Math.round(e-u/10);s=l(new Date(c))+u/10}return s}function T(e,n,r){return s(e,n,r||t.calendar)}function S(e){return t._categories[Math.round(e)]}function k(e){if(C(e)){if(void 0===t._categoriesMap&&(t._categoriesMap={}),void 0!==t._categoriesMap[e])return t._categoriesMap[e];t._categories.push(\\\"number\\\"==typeof e?String(e):e);var n=t._categories.length-1;return t._categoriesMap[e]=n,n}return f}function O(e){if(t._categoriesMap)return t._categoriesMap[e]}function I(t){var e=O(t);return void 0!==e?e:i(t)?+t:void 0}function L(t,e,n){return r.round(n+e*t,2)}function P(t,e,n){return(t-n)/e}var z=function(e){return i(e)?L(e,t._m,t._b):f},R=function(e){return P(e,t._m,t._b)};if(t.rangebreaks){var D=\\\"y\\\"===h;z=function(e){if(!i(e))return f;var n=t._rangebreaks.length;if(!n)return L(e,t._m,t._b);var r=D;t.range[0]>t.range[1]&&(r=!r);for(var o=r?-1:1,a=o*e,s=0,l=0;l<n;l++){var u=o*t._rangebreaks[l].min,c=o*t._rangebreaks[l].max;if(a<u)break;if(!(a>c)){s=a<(u+c)/2?l:l+1;break}s=l+1}var h=t._B[s]||0;return isFinite(h)?L(e,t._m2,h):0},R=function(e){var n=t._rangebreaks.length;if(!n)return P(e,t._m,t._b);for(var r=0,i=0;i<n&&!(e<t._rangebreaks[i].pmin);i++)e>t._rangebreaks[i].pmax&&(r=i+1);return P(e,t._m2,t._B[r])}}t.c2l=\\\"log\\\"===t.type?M:u,t.l2c=\\\"log\\\"===t.type?A:u,t.l2p=z,t.p2l=R,t.c2p=\\\"log\\\"===t.type?function(t,e){return z(M(t,e))}:z,t.p2c=\\\"log\\\"===t.type?function(t){return A(R(t))}:R,-1!==[\\\"linear\\\",\\\"-\\\"].indexOf(t.type)?(t.d2r=t.r2d=t.d2c=t.r2c=t.d2l=t.r2l=a,t.c2d=t.c2r=t.l2d=t.l2r=u,t.d2p=t.r2p=function(e){return t.l2p(a(e))},t.p2d=t.p2r=R,t.cleanPos=u):\\\"log\\\"===t.type?(t.d2r=t.d2l=function(t,e){return M(a(t),e)},t.r2d=t.r2c=function(t){return A(a(t))},t.d2c=t.r2l=a,t.c2d=t.l2r=u,t.c2r=M,t.l2d=A,t.d2p=function(e,n){return t.l2p(t.d2r(e,n))},t.p2d=function(t){return A(R(t))},t.r2p=function(e){return t.l2p(a(e))},t.p2r=R,t.cleanPos=u):\\\"date\\\"===t.type?(t.d2r=t.r2d=o.identity,t.d2c=t.r2c=t.d2l=t.r2l=E,t.c2d=t.c2r=t.l2d=t.l2r=T,t.d2p=t.r2p=function(e,n,r){return t.l2p(E(e,0,r))},t.p2d=t.p2r=function(t,e,n){return T(R(t),e,n)},t.cleanPos=function(e){return o.cleanDate(e,f,t.calendar)}):\\\"category\\\"===t.type?(t.d2c=t.d2l=k,t.r2d=t.c2d=t.l2d=S,t.d2r=t.d2l_noadd=I,t.r2c=function(e){var n=I(e);return void 0!==n?n:t.fraction2r(.5)},t.l2r=t.c2r=u,t.r2l=I,t.d2p=function(e){return t.l2p(t.r2c(e))},t.p2d=function(t){return S(R(t))},t.r2p=t.d2p,t.p2r=R,t.cleanPos=function(t){return\\\"string\\\"==typeof t&&\\\"\\\"!==t?t:u(t)}):\\\"multicategory\\\"===t.type&&(t.r2d=t.c2d=t.l2d=S,t.d2r=t.d2l_noadd=I,t.r2c=function(e){var n=I(e);return void 0!==n?n:t.fraction2r(.5)},t.r2c_just_indices=O,t.l2r=t.c2r=u,t.r2l=I,t.d2p=function(e){return t.l2p(t.r2c(e))},t.p2d=function(t){return S(R(t))},t.r2p=t.d2p,t.p2r=R,t.cleanPos=function(t){return Array.isArray(t)||\\\"string\\\"==typeof t&&\\\"\\\"!==t?t:u(t)},t.setupMultiCategory=function(r){var i,a,s=t._traceIndices,l=e._axisMatchGroups;if(l&&l.length&&0===t._categories.length)for(i=0;i<l.length;i++){var u=l[i];if(u[n])for(var p in u)if(p!==n){var f=e[_.id2name(p)];s=s.concat(f._traceIndices)}}var d=[[0,{}],[0,{}]],m=[];for(i=0;i<s.length;i++){var v=r[s[i]];if(h in v){var g=v[h],y=v._length||o.minRowLength(g);if(c(g[0])&&c(g[1]))for(a=0;a<y;a++){var b=g[0][a],x=g[1][a];C(b)&&C(x)&&(m.push([b,x]),b in d[0][1]||(d[0][1][b]=d[0][0]++),x in d[1][1]||(d[1][1][x]=d[1][0]++))}}}for(m.sort((function(t,e){var n=d[0][1],r=n[t[0]]-n[e[0]];if(r)return r;var i=d[1][1];return i[t[1]]-i[e[1]]})),i=0;i<m.length;i++)k(m[i])}),t.fraction2r=function(e){var n=t.r2l(t.range[0]),r=t.r2l(t.range[1]);return t.l2r(n+e*(r-n))},t.r2fraction=function(e){var n=t.r2l(t.range[0]),r=t.r2l(t.range[1]);return(t.r2l(e)-n)/(r-n)},t.cleanRange=function(e,n){n||(n={}),e||(e=\\\"range\\\");var r,a,s=o.nestedProperty(t,e).get();if(a=(a=\\\"date\\\"===t.type?o.dfltRange(t.calendar):\\\"y\\\"===h?b.DFLTRANGEY:n.dfltRange||b.DFLTRANGEX).slice(),\\\"tozero\\\"!==t.rangemode&&\\\"nonnegative\\\"!==t.rangemode||(a[0]=0),s&&2===s.length)for(\\\"date\\\"!==t.type||t.autorange||(s[0]=o.cleanDate(s[0],f,t.calendar),s[1]=o.cleanDate(s[1],f,t.calendar)),r=0;r<2;r++)if(\\\"date\\\"===t.type){if(!o.isDateTime(s[r],t.calendar)){t[e]=a;break}if(t.r2l(s[0])===t.r2l(s[1])){var l=o.constrain(t.r2l(s[0]),o.MIN_MS+1e3,o.MAX_MS-1e3);s[0]=t.l2r(l-1e3),s[1]=t.l2r(l+1e3);break}}else{if(!i(s[r])){if(!i(s[1-r])){t[e]=a;break}s[r]=s[1-r]*(r?10:.1)}if(s[r]<-p?s[r]=-p:s[r]>p&&(s[r]=p),s[0]===s[1]){var u=Math.max(1,Math.abs(1e-6*s[0]));s[0]-=u,s[1]+=u}}else o.nestedProperty(t,e).set(a)},t.setScale=function(n){var r=e._size;if(t.overlaying){var i=_.getFromId({_fullLayout:e},t.overlaying);t.domain=i.domain}var o=n&&t._r?\\\"_r\\\":\\\"range\\\",a=t.calendar;t.cleanRange(o);var s,l,u=t.r2l(t[o][0],a),c=t.r2l(t[o][1],a),p=\\\"y\\\"===h;if(p?(t._offset=r.t+(1-t.domain[1])*r.h,t._length=r.h*(t.domain[1]-t.domain[0]),t._m=t._length/(u-c),t._b=-t._m*c):(t._offset=r.l+t.domain[0]*r.w,t._length=r.w*(t.domain[1]-t.domain[0]),t._m=t._length/(c-u),t._b=-t._m*u),t._rangebreaks=[],t._lBreaks=0,t._m2=0,t._B=[],t.rangebreaks&&(t._rangebreaks=t.locateBreaks(Math.min(u,c),Math.max(u,c)),t._rangebreaks.length)){for(s=0;s<t._rangebreaks.length;s++)l=t._rangebreaks[s],t._lBreaks+=Math.abs(l.max-l.min);var f=p;u>c&&(f=!f),f&&t._rangebreaks.reverse();var d=f?-1:1;for(t._m2=d*t._length/(Math.abs(c-u)-t._lBreaks),t._B.push(-t._m2*(p?c:u)),s=0;s<t._rangebreaks.length;s++)l=t._rangebreaks[s],t._B.push(t._B[t._B.length-1]-d*t._m2*(l.max-l.min));for(s=0;s<t._rangebreaks.length;s++)(l=t._rangebreaks[s]).pmin=z(l.min),l.pmax=z(l.max)}if(!isFinite(t._m)||!isFinite(t._b)||t._length<0)throw e._replotting=!1,new Error(\\\"Something went wrong with axis scaling\\\")},t.maskBreaks=function(e){for(var n,r,i,s,l,u=t.rangebreaks||[],c=0;c<u.length;c++){var h=u[c];if(h.enabled)if(h.bounds){var p=h.pattern;switch(r=(n=o.simpleMap(h.bounds,p?a:t.d2c))[0],i=n[1],p){case w:s=(l=new Date(e)).getUTCDay(),r>i&&(i+=7,s<r&&(s+=7));break;case x:s=(l=new Date(e)).getUTCHours()+(l.getUTCMinutes()/60+l.getUTCSeconds()/3600+l.getUTCMilliseconds()/36e5),r>i&&(i+=24,s<r&&(s+=24));break;case\\\"\\\":s=e}if(s>=r&&s<i)return f}else for(var d=o.simpleMap(h.values,t.d2c).sort(o.sorterAsc),m=0;m<d.length;m++)if(i=(r=d[m])+h.dvalue,e>=r&&e<i)return f}return e},t.locateBreaks=function(e,n){var r,i,s,l,u=[];if(!t.rangebreaks)return u;var c=t.rangebreaks.slice().sort((function(t,e){return t.pattern===w&&e.pattern===x?-1:e.pattern===w&&t.pattern===x?1:0})),h=function(t,r){if((t=o.constrain(t,e,n))!==(r=o.constrain(r,e,n))){for(var i=!0,a=0;a<u.length;a++){var s=u[a];t<s.max&&r>=s.min&&(t<s.min&&(s.min=t),r>s.max&&(s.max=r),i=!1)}i&&u.push({min:t,max:r})}};for(r=0;r<c.length;r++){var p=c[r];if(p.enabled)if(p.bounds){var f=e,d=n;p.pattern&&(f=Math.floor(f)),s=(i=o.simpleMap(p.bounds,p.pattern?a:t.r2l))[0],l=i[1];var _,b,A=new Date(f);switch(p.pattern){case w:b=7*m,_=(l-s+(l<s?7:0))*m,f+=s*m-(A.getUTCDay()*m+A.getUTCHours()*v+A.getUTCMinutes()*g+A.getUTCSeconds()*y+A.getUTCMilliseconds());break;case x:b=m,_=(l-s+(l<s?24:0))*v,f+=s*v-(A.getUTCHours()*v+A.getUTCMinutes()*g+A.getUTCSeconds()*y+A.getUTCMilliseconds());break;default:f=Math.min(i[0],i[1]),_=b=(d=Math.max(i[0],i[1]))-f}for(var C=f;C<d;C+=b)h(C,C+_)}else for(var M=o.simpleMap(p.values,t.d2c),E=0;E<M.length;E++)h(s=M[E],l=s+p.dvalue)}return u.sort((function(t,e){return t.min-e.min})),u},t.makeCalcdata=function(e,n,r){var i,a,s,l,u=t.type,c=\\\"date\\\"===u&&e[n+\\\"calendar\\\"];if(n in e){if(i=e[n],l=e._length||o.minRowLength(i),o.isTypedArray(i)&&(\\\"linear\\\"===u||\\\"log\\\"===u)){if(l===i.length)return i;if(i.subarray)return i.subarray(0,l)}if(\\\"multicategory\\\"===u)return function(t,e){for(var n=new Array(e),r=0;r<e;r++){var i=(t[0]||[])[r],o=(t[1]||[])[r];n[r]=O([i,o])}return n}(i,l);for(a=new Array(l),s=0;s<l;s++)a[s]=t.d2c(i[s],0,c,r)}else{var h=n+\\\"0\\\"in e?t.d2c(e[n+\\\"0\\\"],0,c):0,p=e[\\\"d\\\"+n]?Number(e[\\\"d\\\"+n]):1;for(i=e[{x:\\\"y\\\",y:\\\"x\\\"}[n]],l=e._length||i.length,a=new Array(l),s=0;s<l;s++)a[s]=h+s*p}if(t.rangebreaks)for(s=0;s<l;s++)a[s]=t.maskBreaks(a[s]);return a},t.isValidRange=function(e){return Array.isArray(e)&&2===e.length&&i(t.r2l(e[0]))&&i(t.r2l(e[1]))},t.isPtWithinRange=function(e,n){var r=t.c2l(e[h],null,n),i=t.r2l(t.range[0]),o=t.r2l(t.range[1]);return i<o?i<=r&&r<=o:o<=r&&r<=i},t._emptyCategories=function(){t._categories=[],t._categoriesMap={}},t.clearCalc=function(){var r=e._axisMatchGroups;if(r&&r.length){for(var i=!1,o=0;o<r.length;o++){var a=r[o];if(a[n]){i=!0;var s=null,l=null;for(var u in a){var c=e[_.id2name(u)];if(c._categories){s=c._categories,l=c._categoriesMap;break}}s&&l?(t._categories=s,t._categoriesMap=l):t._emptyCategories();break}}i||t._emptyCategories()}else t._emptyCategories();if(t._initialCategories)for(var h=0;h<t._initialCategories.length;h++)k(t._initialCategories[h])},t.sortByInitialCategories=function(){var r=[];if(t._emptyCategories(),t._initialCategories)for(var i=0;i<t._initialCategories.length;i++)k(t._initialCategories[i]);r=r.concat(t._traceIndices);var o=t._matchGroup;for(var a in o)if(n!==a){var s=e[_.id2name(a)];s._categories=t._categories,s._categoriesMap=t._categoriesMap,r=r.concat(s._traceIndices)}return r};var $=e._d3locale;\\\"date\\\"===t.type&&(t._dateFormat=$?$.timeFormat.utc:r.time.format.utc,t._extraFormat=e._extraFormat),t._separators=e.separators,t._numFormat=$?$.numberFormat:r.format,delete t._minDtick,delete t._forceTick0}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"./axis_ids\\\":779,\\\"./constants\\\":782,d3:164,\\\"fast-isnumeric\\\":236}],797:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\"),o=t(\\\"../array_container_defaults\\\");function a(t){var e=[\\\"showexponent\\\",\\\"showtickprefix\\\",\\\"showticksuffix\\\"].filter((function(e){return void 0!==t[e]}));if(e.every((function(n){return t[n]===t[e[0]]}))||1===e.length)return t[e[0]]}function s(t,e){function n(n,o){return r.coerce(t,e,i.tickformatstops,n,o)}n(\\\"enabled\\\")&&(n(\\\"dtickrange\\\"),n(\\\"value\\\"))}e.exports=function(t,e,n,l,u,c){c&&1!==c.pass||function(t,e,n,r,i){var o=a(t);n(\\\"tickprefix\\\")&&n(\\\"showtickprefix\\\",o),n(\\\"ticksuffix\\\",i.tickSuffixDflt)&&n(\\\"showticksuffix\\\",o)}(t,0,n,0,u),c&&2!==c.pass||function(t,e,n,l,u){var c=a(t);if(n(\\\"tickprefix\\\")&&n(\\\"showtickprefix\\\",c),n(\\\"ticksuffix\\\",u.tickSuffixDflt)&&n(\\\"showticksuffix\\\",c),n(\\\"showticklabels\\\")){var h=u.font||{},p=e.color,f=p&&p!==i.color.dflt?p:h.color;if(r.coerceFont(n,\\\"tickfont\\\",{family:h.family,size:h.size,color:f}),n(\\\"tickangle\\\"),\\\"category\\\"!==l){var d=n(\\\"tickformat\\\");o(t,e,{name:\\\"tickformatstops\\\",inclusionAttr:\\\"enabled\\\",handleItemDefaults:s}),e.tickformatstops.length||delete e.tickformatstops,d||\\\"date\\\"===l||(n(\\\"showexponent\\\",c),n(\\\"exponentformat\\\"),n(\\\"separatethousands\\\"))}}}(t,e,n,l,u)}},{\\\"../../lib\\\":728,\\\"../array_container_defaults\\\":772,\\\"./layout_attributes\\\":790}],798:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e,n,o){var a=r.coerce2(t,e,i,\\\"ticklen\\\"),s=r.coerce2(t,e,i,\\\"tickwidth\\\"),l=r.coerce2(t,e,i,\\\"tickcolor\\\",e.color);n(\\\"ticks\\\",o.outerTicks||a||s||l?\\\"outside\\\":\\\"\\\")||(delete e.ticklen,delete e.tickwidth,delete e.tickcolor)}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":790}],799:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./clean_ticks\\\"),i=t(\\\"../../lib\\\").isArrayOrTypedArray;e.exports=function(t,e,n,o){function a(n){var r=t[n];return void 0!==r?r:(e._template||{})[n]}var s=a(\\\"tick0\\\"),l=a(\\\"dtick\\\"),u=a(\\\"tickvals\\\"),c=n(\\\"tickmode\\\",i(u)?\\\"array\\\":l?\\\"linear\\\":\\\"auto\\\");if(\\\"auto\\\"===c)n(\\\"nticks\\\");else if(\\\"linear\\\"===c){var h=e.dtick=r.dtick(l,o);e.tick0=r.tick0(s,o,e.calendar,h)}else\\\"multicategory\\\"!==o&&(void 0===n(\\\"tickvals\\\")?e.tickmode=\\\"auto\\\":n(\\\"ticktext\\\"))}},{\\\"../../lib\\\":728,\\\"./clean_ticks\\\":781}],800:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../components/drawing\\\"),s=t(\\\"./axes\\\");e.exports=function(t,e,n,l){var u=t._fullLayout;if(0!==e.length){var c,h,p,f;l&&(c=l());var d=r.ease(n.easing);return t._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(f),f=null,function(){for(var n={},r=0;r<e.length;r++){var o=e[r],a=o.plotinfo.xaxis,s=o.plotinfo.yaxis;o.xr0&&(n[a._name+\\\".range\\\"]=o.xr0.slice()),o.yr0&&(n[s._name+\\\".range\\\"]=o.yr0.slice())}return i.call(\\\"relayout\\\",t,n).then((function(){for(var t=0;t<e.length;t++)m(e[t].plotinfo)}))}()})),h=Date.now(),f=window.requestAnimationFrame((function r(){p=Date.now();for(var o=Math.min(1,(p-h)/n.duration),a=d(o),s=0;s<e.length;s++)v(e[s],a);p-h>n.duration?(function(){for(var n={},r=0;r<e.length;r++){var o=e[r],a=o.plotinfo.xaxis,s=o.plotinfo.yaxis;o.xr1&&(n[a._name+\\\".range\\\"]=o.xr1.slice()),o.yr1&&(n[s._name+\\\".range\\\"]=o.yr1.slice())}c&&c(),i.call(\\\"relayout\\\",t,n).then((function(){for(var t=0;t<e.length;t++)m(e[t].plotinfo)}))}(),f=window.cancelAnimationFrame(r)):f=window.requestAnimationFrame(r)})),Promise.resolve()}function m(t){var e=t.xaxis,n=t.yaxis;u._defs.select(\\\"#\\\"+t.clipId+\\\"> rect\\\").call(a.setTranslate,0,0).call(a.setScale,1,1),t.plot.call(a.setTranslate,e._offset,n._offset).call(a.setScale,1,1);var r=t.plot.selectAll(\\\".scatterlayer .trace\\\");r.selectAll(\\\".point\\\").call(a.setPointGroupScale,1,1),r.selectAll(\\\".textpoint\\\").call(a.setTextPointsScale,1,1),r.call(a.hideOutsideRangePoints,t)}function v(e,n){var r=e.plotinfo,i=r.xaxis,l=r.yaxis,u=i._length,c=l._length,h=!!e.xr1,p=!!e.yr1,f=[];if(h){var d=o.simpleMap(e.xr0,i.r2l),m=o.simpleMap(e.xr1,i.r2l),v=d[1]-d[0],g=m[1]-m[0];f[0]=(d[0]*(1-n)+n*m[0]-d[0])/(d[1]-d[0])*u,f[2]=u*(1-n+n*g/v),i.range[0]=i.l2r(d[0]*(1-n)+n*m[0]),i.range[1]=i.l2r(d[1]*(1-n)+n*m[1])}else f[0]=0,f[2]=u;if(p){var y=o.simpleMap(e.yr0,l.r2l),_=o.simpleMap(e.yr1,l.r2l),b=y[1]-y[0],x=_[1]-_[0];f[1]=(y[1]*(1-n)+n*_[1]-y[1])/(y[0]-y[1])*c,f[3]=c*(1-n+n*x/b),l.range[0]=i.l2r(y[0]*(1-n)+n*_[0]),l.range[1]=l.l2r(y[1]*(1-n)+n*_[1])}else f[1]=0,f[3]=c;s.drawOne(t,i,{skipTitle:!0}),s.drawOne(t,l,{skipTitle:!0}),s.redrawComponents(t,[i._id,l._id]);var w=h?u/f[2]:1,A=p?c/f[3]:1,C=h?f[0]:0,M=p?f[1]:0,E=h?f[0]/f[2]*u:0,T=p?f[1]/f[3]*c:0,S=i._offset-E,k=l._offset-T;r.clipRect.call(a.setTranslate,C,M).call(a.setScale,1/w,1/A),r.plot.call(a.setTranslate,S,k).call(a.setScale,w,A),a.setPointGroupScale(r.zoomScalePts,1/w,1/A),a.setTextPointsScale(r.zoomScaleTxt,1/w,1/A)}s.redrawComponents(t)}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./axes\\\":776,d3:164}],801:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\").traceIs,i=t(\\\"./axis_autotype\\\");function o(t,e){if(\\\"-\\\"===t.type){var n,o=t._id,l=o.charAt(0);-1!==o.indexOf(\\\"scene\\\")&&(o=l);var u=function(t,e,n){for(var r=0;r<t.length;r++){var i=t[r];if(\\\"splom\\\"===i.type&&i._length>0&&(i[\\\"_\\\"+n+\\\"axes\\\"]||{})[e])return i;if((i[n+\\\"axis\\\"]||n)===e){if(s(i,n))return i;if((i[n]||[]).length||i[n+\\\"0\\\"])return i}}}(e,o,l);if(u)if(\\\"histogram\\\"!==u.type||l!=={v:\\\"y\\\",h:\\\"x\\\"}[u.orientation||\\\"v\\\"]){var c=l+\\\"calendar\\\",h=u[c],p={noMultiCategory:!r(u,\\\"cartesian\\\")||r(u,\\\"noMultiCategory\\\")};if(\\\"box\\\"===u.type&&u._hasPreCompStats&&l==={h:\\\"x\\\",v:\\\"y\\\"}[u.orientation||\\\"v\\\"]&&(p.noMultiCategory=!0),s(u,l)){var f=a(u),d=[];for(n=0;n<e.length;n++){var m=e[n];r(m,\\\"box-violin\\\")&&(m[l+\\\"axis\\\"]||l)===o&&(void 0!==m[f]?d.push(m[f][0]):void 0!==m.name?d.push(m.name):d.push(\\\"text\\\"),m[c]!==h&&(h=void 0))}t.type=i(d,h,p)}else if(\\\"splom\\\"===u.type){var v=u.dimensions[u._axesDim[o]];v.visible&&(t.type=i(v.values,h,p))}else t.type=i(u[l]||[u[l+\\\"0\\\"]],h,p)}else t.type=\\\"linear\\\"}}function a(t){return{v:\\\"x\\\",h:\\\"y\\\"}[t.orientation||\\\"v\\\"]}function s(t,e){var n=a(t),i=r(t,\\\"box-violin\\\"),o=r(t._fullInput||{},\\\"candlestick\\\");return i&&!o&&e===n&&void 0===t[n]&&void 0===t[n+\\\"0\\\"]}e.exports=function(t,e,n,r){\\\"-\\\"===n(\\\"type\\\",(r.splomStash||{}).type)&&(o(e,r.data),\\\"-\\\"===e.type?e.type=\\\"linear\\\":t.type=e.type)}},{\\\"../../registry\\\":859,\\\"./axis_autotype\\\":777}],802:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../registry\\\"),i=t(\\\"../lib\\\");function o(t,e,n){var r,o,a,s=!1;if(\\\"data\\\"===e.type)r=t._fullData[null!==e.traces?e.traces[0]:0];else{if(\\\"layout\\\"!==e.type)return!1;r=t._fullLayout}return o=i.nestedProperty(r,e.prop).get(),(a=n[e.type]=n[e.type]||{}).hasOwnProperty(e.prop)&&a[e.prop]!==o&&(s=!0),a[e.prop]=o,{changed:s,value:o}}function a(t,e){var n=[],r=e[0],o={};if(\\\"string\\\"==typeof r)o[r]=e[1];else{if(!i.isPlainObject(r))return n;o=r}return l(o,(function(t,e,r){n.push({type:\\\"layout\\\",prop:t,value:r})}),\\\"\\\",0),n}function s(t,e){var n,r,o,a,s=[];if(r=e[0],o=e[1],n=e[2],a={},\\\"string\\\"==typeof r)a[r]=o;else{if(!i.isPlainObject(r))return s;a=r,void 0===n&&(n=o)}return void 0===n&&(n=null),l(a,(function(e,r,i){var o,a;if(Array.isArray(i)){a=i.slice();var l=Math.min(a.length,t.data.length);n&&(l=Math.min(l,n.length)),o=[];for(var u=0;u<l;u++)o[u]=n?n[u]:u}else a=i,o=n?n.slice():null;if(null===o)Array.isArray(a)&&(a=a[0]);else if(Array.isArray(o)){if(!Array.isArray(a)){var c=a;a=[];for(var h=0;h<o.length;h++)a[h]=c}a.length=Math.min(o.length,a.length)}s.push({type:\\\"data\\\",prop:e,traces:o,value:a})}),\\\"\\\",0),s}function l(t,e,n,r){Object.keys(t).forEach((function(o){var a=t[o];if(\\\"_\\\"!==o[0]){var s=n+(r>0?\\\".\\\":\\\"\\\")+o;i.isPlainObject(a)?l(a,e,s,r+1):e(s,o,a)}}))}n.manageCommandObserver=function(t,e,r,a){var s={},l=!0;e&&e._commandObserver&&(s=e._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var u=n.hasSimpleAPICommandBindings(t,r,s.lookupTable);if(e&&e._commandObserver){if(u)return s;if(e._commandObserver.remove)return e._commandObserver.remove(),e._commandObserver=null,s}if(u){o(t,u,s.cache),s.check=function(){if(l){var e=o(t,u,s.cache);return e.changed&&a&&void 0!==s.lookupTable[e.value]&&(s.disable(),Promise.resolve(a({value:e.value,type:u.type,prop:u.prop,traces:u.traces,index:s.lookupTable[e.value]})).then(s.enable,s.enable)),e.changed}};for(var c=[\\\"plotly_relayout\\\",\\\"plotly_redraw\\\",\\\"plotly_restyle\\\",\\\"plotly_update\\\",\\\"plotly_animatingframe\\\",\\\"plotly_afterplot\\\"],h=0;h<c.length;h++)t._internalOn(c[h],s.check);s.remove=function(){for(var e=0;e<c.length;e++)t._removeInternalListener(c[e],s.check)}}else i.log(\\\"Unable to automatically bind plot updates to API command\\\"),s.lookupTable={},s.remove=function(){};return s.disable=function(){l=!1},s.enable=function(){l=!0},e&&(e._commandObserver=s),s},n.hasSimpleAPICommandBindings=function(t,e,r){var i,o,a=e.length;for(i=0;i<a;i++){var s,l=e[i],u=l.method,c=l.args;if(Array.isArray(c)||(c=[]),!u)return!1;var h=n.computeAPICommandBindings(t,u,c);if(1!==h.length)return!1;if(o){if((s=h[0]).type!==o.type)return!1;if(s.prop!==o.prop)return!1;if(Array.isArray(o.traces)){if(!Array.isArray(s.traces))return!1;s.traces.sort();for(var p=0;p<o.traces.length;p++)if(o.traces[p]!==s.traces[p])return!1}else if(s.prop!==o.prop)return!1}else o=h[0],Array.isArray(o.traces)&&o.traces.sort();var f=(s=h[0]).value;if(Array.isArray(f)){if(1!==f.length)return!1;f=f[0]}r&&(r[f]=i)}return o},n.executeAPICommand=function(t,e,n){if(\\\"skip\\\"===e)return Promise.resolve();var o=r.apiMethodRegistry[e],a=[t];Array.isArray(n)||(n=[]);for(var s=0;s<n.length;s++)a.push(n[s]);return o.apply(null,a).catch((function(t){return i.warn(\\\"API call to Plotly.\\\"+e+\\\" rejected.\\\",t),Promise.reject(t)}))},n.computeAPICommandBindings=function(t,e,n){var r;switch(Array.isArray(n)||(n=[]),e){case\\\"restyle\\\":r=s(t,n);break;case\\\"relayout\\\":r=a(0,n);break;case\\\"update\\\":r=s(t,[n[0],n[2]]).concat(a(0,[n[1]]));break;case\\\"animate\\\":r=function(t,e){return Array.isArray(e[0])&&1===e[0].length&&-1!==[\\\"string\\\",\\\"number\\\"].indexOf(typeof e[0][0])?[{type:\\\"layout\\\",prop:\\\"_currentFrame\\\",value:e[0][0].toString()}]:[]}(0,n);break;default:r=[]}return r}},{\\\"../lib\\\":728,\\\"../registry\\\":859}],803:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib/extend\\\").extendFlat;n.attributes=function(t,e){e=e||{};var n={valType:\\\"info_array\\\",editType:(t=t||{}).editType,items:[{valType:\\\"number\\\",min:0,max:1,editType:t.editType},{valType:\\\"number\\\",min:0,max:1,editType:t.editType}],dflt:[0,1]},i=(t.name&&t.name,t.trace,e.description&&e.description,{x:r({},n,{}),y:r({},n,{}),editType:t.editType});return t.noGridCell||(i.row={valType:\\\"integer\\\",min:0,dflt:0,editType:t.editType},i.column={valType:\\\"integer\\\",min:0,dflt:0,editType:t.editType}),i},n.defaults=function(t,e,n,r){var i=r&&r.x||[0,1],o=r&&r.y||[0,1],a=e.grid;if(a){var s=n(\\\"domain.column\\\");void 0!==s&&(s<a.columns?i=a._domains.x[s]:delete t.domain.column);var l=n(\\\"domain.row\\\");void 0!==l&&(l<a.rows?o=a._domains.y[l]:delete t.domain.row)}var u=n(\\\"domain.x\\\",i),c=n(\\\"domain.y\\\",o);u[0]<u[1]||(t.domain.x=i.slice()),c[0]<c[1]||(t.domain.y=o.slice())}},{\\\"../lib/extend\\\":719}],804:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.editType,n=t.colorEditType;void 0===n&&(n=e);var r={family:{valType:\\\"string\\\",noBlank:!0,strict:!0,editType:e},size:{valType:\\\"number\\\",min:1,editType:e},color:{valType:\\\"color\\\",editType:n},editType:e};return t.arrayOk&&(r.family.arrayOk=!0,r.size.arrayOk=!0,r.color.arrayOk=!0),r}},{}],805:[function(t,e,n){\\\"use strict\\\";e.exports={_isLinkedToArray:\\\"frames_entry\\\",group:{valType:\\\"string\\\"},name:{valType:\\\"string\\\"},traces:{valType:\\\"any\\\"},baseframe:{valType:\\\"string\\\"},data:{valType:\\\"any\\\"},layout:{valType:\\\"any\\\"}}},{}],806:[function(t,e,n){\\\"use strict\\\";n.projNames={equirectangular:\\\"equirectangular\\\",mercator:\\\"mercator\\\",orthographic:\\\"orthographic\\\",\\\"natural earth\\\":\\\"naturalEarth\\\",kavrayskiy7:\\\"kavrayskiy7\\\",miller:\\\"miller\\\",robinson:\\\"robinson\\\",eckert4:\\\"eckert4\\\",\\\"azimuthal equal area\\\":\\\"azimuthalEqualArea\\\",\\\"azimuthal equidistant\\\":\\\"azimuthalEquidistant\\\",\\\"conic equal area\\\":\\\"conicEqualArea\\\",\\\"conic conformal\\\":\\\"conicConformal\\\",\\\"conic equidistant\\\":\\\"conicEquidistant\\\",gnomonic:\\\"gnomonic\\\",stereographic:\\\"stereographic\\\",mollweide:\\\"mollweide\\\",hammer:\\\"hammer\\\",\\\"transverse mercator\\\":\\\"transverseMercator\\\",\\\"albers usa\\\":\\\"albersUsa\\\",\\\"winkel tripel\\\":\\\"winkel3\\\",aitoff:\\\"aitoff\\\",sinusoidal:\\\"sinusoidal\\\"},n.axesNames=[\\\"lonaxis\\\",\\\"lataxis\\\"],n.lonaxisSpan={orthographic:180,\\\"azimuthal equal area\\\":360,\\\"azimuthal equidistant\\\":360,\\\"conic conformal\\\":180,gnomonic:160,stereographic:180,\\\"transverse mercator\\\":180,\\\"*\\\":360},n.lataxisSpan={\\\"conic conformal\\\":150,stereographic:179.5,\\\"*\\\":180},n.scopeDefaults={world:{lonaxisRange:[-180,180],lataxisRange:[-90,90],projType:\\\"equirectangular\\\",projRotate:[0,0,0]},usa:{lonaxisRange:[-180,-50],lataxisRange:[15,80],projType:\\\"albers usa\\\"},europe:{lonaxisRange:[-30,60],lataxisRange:[30,85],projType:\\\"conic conformal\\\",projRotate:[15,0,0],projParallels:[0,60]},asia:{lonaxisRange:[22,160],lataxisRange:[-15,55],projType:\\\"mercator\\\",projRotate:[0,0,0]},africa:{lonaxisRange:[-30,60],lataxisRange:[-40,40],projType:\\\"mercator\\\",projRotate:[0,0,0]},\\\"north america\\\":{lonaxisRange:[-180,-45],lataxisRange:[5,85],projType:\\\"conic conformal\\\",projRotate:[-100,0,0],projParallels:[29.5,45.5]},\\\"south america\\\":{lonaxisRange:[-100,-30],lataxisRange:[-60,15],projType:\\\"mercator\\\",projRotate:[0,0,0]}},n.clipPad=.001,n.precision=.1,n.landColor=\\\"#F0DC82\\\",n.waterColor=\\\"#3399FF\\\",n.locationmodeToLayer={\\\"ISO-3\\\":\\\"countries\\\",\\\"USA-states\\\":\\\"subunits\\\",\\\"country names\\\":\\\"countries\\\"},n.sphereSVG={type:\\\"Sphere\\\"},n.fillLayers={ocean:1,land:1,lakes:1},n.lineLayers={subunits:1,countries:1,coastlines:1,rivers:1,frame:1},n.layers=[\\\"bg\\\",\\\"ocean\\\",\\\"land\\\",\\\"lakes\\\",\\\"subunits\\\",\\\"countries\\\",\\\"coastlines\\\",\\\"rivers\\\",\\\"lataxis\\\",\\\"lonaxis\\\",\\\"frame\\\",\\\"backplot\\\",\\\"frontplot\\\"],n.layersForChoropleth=[\\\"bg\\\",\\\"ocean\\\",\\\"land\\\",\\\"subunits\\\",\\\"countries\\\",\\\"coastlines\\\",\\\"lataxis\\\",\\\"lonaxis\\\",\\\"frame\\\",\\\"backplot\\\",\\\"rivers\\\",\\\"lakes\\\",\\\"frontplot\\\"],n.layerNameToAdjective={ocean:\\\"ocean\\\",land:\\\"land\\\",lakes:\\\"lake\\\",subunits:\\\"subunit\\\",countries:\\\"country\\\",coastlines:\\\"coastline\\\",rivers:\\\"river\\\",frame:\\\"frame\\\"}},{}],807:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../components/color\\\"),s=t(\\\"../../components/drawing\\\"),l=t(\\\"../../components/fx\\\"),u=t(\\\"../plots\\\"),c=t(\\\"../cartesian/axes\\\"),h=t(\\\"../cartesian/autorange\\\").getAutoRange,p=t(\\\"../../components/dragelement\\\"),f=t(\\\"../cartesian/select\\\").prepSelect,d=t(\\\"../cartesian/select\\\").clearSelect,m=t(\\\"../cartesian/select\\\").selectOnClick,v=t(\\\"./zoom\\\"),g=t(\\\"./constants\\\"),y=t(\\\"../../lib/geo_location_utils\\\"),_=t(\\\"../../lib/topojson_utils\\\"),b=t(\\\"topojson-client\\\").feature;function x(t){this.id=t.id,this.graphDiv=t.graphDiv,this.container=t.container,this.topojsonURL=t.topojsonURL,this.isStatic=t.staticPlot,this.topojsonName=null,this.topojson=null,this.projection=null,this.scope=null,this.viewInitial=null,this.fitScale=null,this.bounds=null,this.midPt=null,this.hasChoropleth=!1,this.traceHash={},this.layers={},this.basePaths={},this.dataPaths={},this.dataPoints={},this.clipDef=null,this.clipRect=null,this.bgRect=null,this.makeFramework()}t(\\\"./projections\\\")(r);var w=x.prototype;function A(t,e){var n=g.clipPad,r=t[0]+n,i=t[1]-n,o=e[0]+n,a=e[1]-n;r>0&&i<0&&(i+=360);var s=(i-r)/4;return{type:\\\"Polygon\\\",coordinates:[[[r,o],[r,a],[r+s,a],[r+2*s,a],[r+3*s,a],[i,a],[i,o],[i-s,o],[i-2*s,o],[i-3*s,o],[r,o]]]}}e.exports=function(t){return new x(t)},w.plot=function(t,e,n){var r=this,i=e[this.id],o=[],a=!1;for(var s in g.layerNameToAdjective)if(\\\"frame\\\"!==s&&i[\\\"show\\\"+s]){a=!0;break}for(var l=0;l<t.length;l++)if(t[0][0].trace.locationmode){a=!0;break}if(a){var u=_.getTopojsonName(i);null!==r.topojson&&u===r.topojsonName||(r.topojsonName=u,void 0===PlotlyGeoAssets.topojson[r.topojsonName]&&o.push(r.fetchTopojson()))}o=o.concat(y.fetchTraceGeoData(t)),n.push(new Promise((function(n,i){Promise.all(o).then((function(){r.topojson=PlotlyGeoAssets.topojson[r.topojsonName],r.update(t,e),n()})).catch(i)})))},w.fetchTopojson=function(){var t=this,e=_.getTopojsonPath(t.topojsonURL,t.topojsonName);return new Promise((function(n,i){r.json(e,(function(r,o){if(r)return 404===r.status?i(new Error([\\\"plotly.js could not find topojson file at\\\",e,\\\".\\\",\\\"Make sure the *topojsonURL* plot config option\\\",\\\"is set properly.\\\"].join(\\\" \\\"))):i(new Error([\\\"unexpected error while fetching topojson file at\\\",e].join(\\\" \\\")));PlotlyGeoAssets.topojson[t.topojsonName]=o,n()}))}))},w.update=function(t,e){var n=e[this.id];this.hasChoropleth=!1;for(var r=0;r<t.length;r++){var i=t[r],o=i[0].trace;\\\"choropleth\\\"===o.type&&(this.hasChoropleth=!0),!0===o.visible&&o._length>0&&o._module.calcGeoJSON(i,e)}if(!this.updateProjection(t,e)){this.viewInitial&&this.scope===n.scope||this.saveViewInitial(n),this.scope=n.scope,this.updateBaseLayers(e,n),this.updateDims(e,n),this.updateFx(e,n),u.generalUpdatePerTraceModule(this.graphDiv,this,t,n);var a=this.layers.frontplot.select(\\\".scatterlayer\\\");this.dataPoints.point=a.selectAll(\\\".point\\\"),this.dataPoints.text=a.selectAll(\\\"text\\\"),this.dataPaths.line=a.selectAll(\\\".js-line\\\");var s=this.layers.backplot.select(\\\".choroplethlayer\\\");this.dataPaths.choropleth=s.selectAll(\\\"path\\\"),this.render()}},w.updateProjection=function(t,e){var n=this.graphDiv,a=e[this.id],s=e._size,l=a.domain,u=a.projection,c=a.lonaxis,p=a.lataxis,f=c._ax,d=p._ax,m=this.projection=function(t){for(var e=t.projection.type,n=r.geo[g.projNames[e]](),i=t._isClipped?g.lonaxisSpan[e]/2:null,o=[\\\"center\\\",\\\"rotate\\\",\\\"parallels\\\",\\\"clipExtent\\\"],a=function(t){return t?n:[]},s=0;s<o.length;s++){var l=o[s];\\\"function\\\"!=typeof n[l]&&(n[l]=a)}return n.isLonLatOverEdges=function(t){if(null===n(t))return!0;if(i){var e=n.rotate();return r.geo.distance(t,[-e[0],-e[1]])>i*Math.PI/180}return!1},n.getPath=function(){return r.geo.path().projection(n)},n.getBounds=function(t){return n.getPath().bounds(t)},n.fitExtent=function(t,e){var r=t[1][0]-t[0][0],i=t[1][1]-t[0][1],o=n.clipExtent&&n.clipExtent();n.scale(150).translate([0,0]),o&&n.clipExtent(null);var a=n.getBounds(e),s=Math.min(r/(a[1][0]-a[0][0]),i/(a[1][1]-a[0][1])),l=+t[0][0]+(r-s*(a[1][0]+a[0][0]))/2,u=+t[0][1]+(i-s*(a[1][1]+a[0][1]))/2;return o&&n.clipExtent(o),n.scale(150*s).translate([l,u])},n.precision(g.precision),i&&n.clipAngle(i-g.clipPad),n}(a),v=[[s.l+s.w*l.x[0],s.t+s.h*(1-l.y[1])],[s.l+s.w*l.x[1],s.t+s.h*(1-l.y[0])]],y=a.center||{},_=u.rotation||{},b=c.range||[],x=p.range||[];if(a.fitbounds){f._length=v[1][0]-v[0][0],d._length=v[1][1]-v[0][1],f.range=h(n,f),d.range=h(n,d);var w=(f.range[0]+f.range[1])/2,C=(d.range[0]+d.range[1])/2;if(a._isScoped)y={lon:w,lat:C};else if(a._isClipped){y={lon:w,lat:C},_={lon:w,lat:C,roll:_.roll};var M=u.type,E=g.lonaxisSpan[M]/2||180,T=g.lataxisSpan[M]/2||180;b=[w-E,w+E],x=[C-T,C+T]}else y={lon:w,lat:C},_={lon:w,lat:_.lat,roll:_.roll}}m.center([y.lon-_.lon,y.lat-_.lat]).rotate([-_.lon,-_.lat,_.roll]).parallels(u.parallels);var S=A(b,x);m.fitExtent(v,S);var k=this.bounds=m.getBounds(S),O=this.fitScale=m.scale(),I=m.translate();if(!isFinite(k[0][0])||!isFinite(k[0][1])||!isFinite(k[1][0])||!isFinite(k[1][1])||isNaN(I[0])||isNaN(I[0])){for(var L=[\\\"fitbounds\\\",\\\"projection.rotation\\\",\\\"center\\\",\\\"lonaxis.range\\\",\\\"lataxis.range\\\"],P=\\\"Invalid geo settings, relayout'ing to default view.\\\",z={},R=0;R<L.length;R++)z[this.id+\\\".\\\"+L[R]]=null;return this.viewInitial=null,o.warn(P),n._promises.push(i.call(\\\"relayout\\\",n,z)),P}if(a.fitbounds){var D=m.getBounds(A(f.range,d.range)),$=Math.min((k[1][0]-k[0][0])/(D[1][0]-D[0][0]),(k[1][1]-k[0][1])/(D[1][1]-D[0][1]));isFinite($)?m.scale($*O):o.warn(\\\"Something went wrong during\\\"+this.id+\\\"fitbounds computations.\\\")}else m.scale(u.scale*O);var B=this.midPt=[(k[0][0]+k[1][0])/2,(k[0][1]+k[1][1])/2];if(m.translate([I[0]+(B[0]-I[0]),I[1]+(B[1]-I[1])]).clipExtent(k),a._isAlbersUsa){var N=m([y.lon,y.lat]),F=m.translate();m.translate([F[0]-(N[0]-F[0]),F[1]-(N[1]-F[1])])}},w.updateBaseLayers=function(t,e){var n=this,i=n.topojson,o=n.layers,l=n.basePaths;function u(t){return\\\"lonaxis\\\"===t||\\\"lataxis\\\"===t}function h(t){return Boolean(g.lineLayers[t])}function p(t){return Boolean(g.fillLayers[t])}var f=(this.hasChoropleth?g.layersForChoropleth:g.layers).filter((function(t){return h(t)||p(t)?e[\\\"show\\\"+t]:!u(t)||e[t].showgrid})),d=n.framework.selectAll(\\\".layer\\\").data(f,String);d.exit().each((function(t){delete o[t],delete l[t],r.select(this).remove()})),d.enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return\\\"layer \\\"+t})).each((function(t){var e=o[t]=r.select(this);\\\"bg\\\"===t?n.bgRect=e.append(\\\"rect\\\").style(\\\"pointer-events\\\",\\\"all\\\"):u(t)?l[t]=e.append(\\\"path\\\").style(\\\"fill\\\",\\\"none\\\"):\\\"backplot\\\"===t?e.append(\\\"g\\\").classed(\\\"choroplethlayer\\\",!0):\\\"frontplot\\\"===t?e.append(\\\"g\\\").classed(\\\"scatterlayer\\\",!0):h(t)?l[t]=e.append(\\\"path\\\").style(\\\"fill\\\",\\\"none\\\").style(\\\"stroke-miterlimit\\\",2):p(t)&&(l[t]=e.append(\\\"path\\\").style(\\\"stroke\\\",\\\"none\\\"))})),d.order(),d.each((function(n){var r=l[n],o=g.layerNameToAdjective[n];\\\"frame\\\"===n?r.datum(g.sphereSVG):h(n)||p(n)?r.datum(b(i,i.objects[n])):u(n)&&r.datum(function(t,e,n){var r,i,o,a=e[t],s=g.scopeDefaults[e.scope];\\\"lonaxis\\\"===t?(r=s.lonaxisRange,i=s.lataxisRange,o=function(t,e){return[t,e]}):\\\"lataxis\\\"===t&&(r=s.lataxisRange,i=s.lonaxisRange,o=function(t,e){return[e,t]});var l={type:\\\"linear\\\",range:[r[0],r[1]-1e-6],tick0:a.tick0,dtick:a.dtick};c.setConvert(l,n);var u=c.calcTicks(l);e.isScoped||\\\"lonaxis\\\"!==t||u.pop();for(var h=u.length,p=new Array(h),f=0;f<h;f++)for(var d=u[f].x,m=p[f]=[],v=i[0];v<i[1]+2.5;v+=2.5)m.push(o(d,v));return{type:\\\"MultiLineString\\\",coordinates:p}}(n,e,t)).call(a.stroke,e[n].gridcolor).call(s.dashLine,\\\"\\\",e[n].gridwidth),h(n)?r.call(a.stroke,e[o+\\\"color\\\"]).call(s.dashLine,\\\"\\\",e[o+\\\"width\\\"]):p(n)&&r.call(a.fill,e[o+\\\"color\\\"])}))},w.updateDims=function(t,e){var n=this.bounds,r=(e.framewidth||0)/2,i=n[0][0]-r,o=n[0][1]-r,l=n[1][0]-i+r,u=n[1][1]-o+r;s.setRect(this.clipRect,i,o,l,u),this.bgRect.call(s.setRect,i,o,l,u).call(a.fill,e.bgcolor),this.xaxis._offset=i,this.xaxis._length=l,this.yaxis._offset=o,this.yaxis._length=u},w.updateFx=function(t,e){var n=this,o=n.graphDiv,a=n.bgRect,s=t.dragmode,u=t.clickmode;if(!n.isStatic){var c;\\\"select\\\"===s?c=function(t,e){(t.range={})[n.id]=[g([e.xmin,e.ymin]),g([e.xmax,e.ymax])]}:\\\"lasso\\\"===s&&(c=function(t,e,r){(t.lassoPoints={})[n.id]=r.filtered.map(g)});var h={element:n.bgRect.node(),gd:o,plotinfo:{id:n.id,xaxis:n.xaxis,yaxis:n.yaxis,fillRangeItems:c},xaxes:[n.xaxis],yaxes:[n.yaxis],subplot:n.id,clickFn:function(t){2===t&&d(o)}};\\\"pan\\\"===s?(a.node().onmousedown=null,a.call(v(n,e)),a.on(\\\"dblclick.zoom\\\",(function(){var t=n.viewInitial,e={};for(var r in t)e[n.id+\\\".\\\"+r]=t[r];i.call(\\\"_guiRelayout\\\",o,e),o.emit(\\\"plotly_doubleclick\\\",null)})),o._context._scrollZoom.geo||a.on(\\\"wheel.zoom\\\",null)):\\\"select\\\"!==s&&\\\"lasso\\\"!==s||(a.on(\\\".zoom\\\",null),h.prepFn=function(t,e,n){f(t,e,n,h,s)},p.init(h)),a.on(\\\"mousemove\\\",(function(){var t=n.projection.invert(r.mouse(this));if(!t||isNaN(t[0])||isNaN(t[1]))return p.unhover(o,r.event);n.xaxis.p2c=function(){return t[0]},n.yaxis.p2c=function(){return t[1]},l.hover(o,r.event,n.id)})),a.on(\\\"mouseout\\\",(function(){o._dragging||p.unhover(o,r.event)})),a.on(\\\"click\\\",(function(){\\\"select\\\"!==s&&\\\"lasso\\\"!==s&&(u.indexOf(\\\"select\\\")>-1&&m(r.event,o,[n.xaxis],[n.yaxis],n.id,h),u.indexOf(\\\"event\\\")>-1&&l.click(o,r.event))}))}function g(t){return n.projection.invert([t[0]+n.xaxis._offset,t[1]+n.yaxis._offset])}},w.makeFramework=function(){var t=this,e=t.graphDiv,n=e._fullLayout,i=\\\"clip\\\"+n._uid+t.id;t.clipDef=n._clips.append(\\\"clipPath\\\").attr(\\\"id\\\",i),t.clipRect=t.clipDef.append(\\\"rect\\\"),t.framework=r.select(t.container).append(\\\"g\\\").attr(\\\"class\\\",\\\"geo \\\"+t.id).call(s.setClipUrl,i,e),t.project=function(e){var n=t.projection(e);return n?[n[0]-t.xaxis._offset,n[1]-t.yaxis._offset]:[null,null]},t.xaxis={_id:\\\"x\\\",c2p:function(e){return t.project(e)[0]}},t.yaxis={_id:\\\"y\\\",c2p:function(e){return t.project(e)[1]}},t.mockAxis={type:\\\"linear\\\",showexponent:\\\"all\\\",exponentformat:\\\"B\\\"},c.setConvert(t.mockAxis,n)},w.saveViewInitial=function(t){var e,n=t.center||{},r=t.projection,i=r.rotation||{};this.viewInitial={fitbounds:t.fitbounds,\\\"projection.scale\\\":r.scale},e=t._isScoped?{\\\"center.lon\\\":n.lon,\\\"center.lat\\\":n.lat}:t._isClipped?{\\\"projection.rotation.lon\\\":i.lon,\\\"projection.rotation.lat\\\":i.lat}:{\\\"center.lon\\\":n.lon,\\\"center.lat\\\":n.lat,\\\"projection.rotation.lon\\\":i.lon},o.extendFlat(this.viewInitial,e)},w.render=function(){var t,e=this.projection,n=e.getPath();function r(t){var n=e(t.lonlat);return n?\\\"translate(\\\"+n[0]+\\\",\\\"+n[1]+\\\")\\\":null}function i(t){return e.isLonLatOverEdges(t.lonlat)?\\\"none\\\":null}for(t in this.basePaths)this.basePaths[t].attr(\\\"d\\\",n);for(t in this.dataPaths)this.dataPaths[t].attr(\\\"d\\\",(function(t){return n(t.geojson)}));for(t in this.dataPoints)this.dataPoints[t].attr(\\\"display\\\",i).attr(\\\"transform\\\",r)}},{\\\"../../components/color\\\":595,\\\"../../components/dragelement\\\":614,\\\"../../components/drawing\\\":617,\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../lib/geo_location_utils\\\":722,\\\"../../lib/topojson_utils\\\":755,\\\"../../registry\\\":859,\\\"../cartesian/autorange\\\":775,\\\"../cartesian/axes\\\":776,\\\"../cartesian/select\\\":795,\\\"../plots\\\":839,\\\"./constants\\\":806,\\\"./projections\\\":811,\\\"./zoom\\\":812,d3:164,\\\"topojson-client\\\":531}],808:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/get_data\\\").getSubplotCalcData,i=t(\\\"../../lib\\\").counterRegex,o=t(\\\"./geo\\\"),a=\\\"geo\\\",s=i(a),l={};l.geo={valType:\\\"subplotid\\\",dflt:a,editType:\\\"calc\\\"},e.exports={attr:a,name:a,idRoot:a,idRegex:s,attrRegex:s,attributes:l,layoutAttributes:t(\\\"./layout_attributes\\\"),supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),plot:function(t){for(var e=t._fullLayout,n=t.calcdata,i=e._subplots.geo,s=0;s<i.length;s++){var l=i[s],u=r(n,a,l),c=e[l]._subplot;c||(c=o({id:l,graphDiv:t,container:e._geolayer.node(),topojsonURL:t._context.topojsonURL,staticPlot:t._context.staticPlot}),e[l]._subplot=c),c.plot(u,e,t._promises)}},updateFx:function(t){for(var e=t._fullLayout,n=e._subplots.geo,r=0;r<n.length;r++){var i=e[n[r]];i._subplot.updateFx(e,i)}},clean:function(t,e,n,r){for(var i=r._subplots.geo||[],o=0;o<i.length;o++){var a=i[o],s=r[a]._subplot;!e[a]&&s&&(s.framework.remove(),s.clipDef.remove())}}}},{\\\"../../lib\\\":728,\\\"../../plots/get_data\\\":813,\\\"./geo\\\":807,\\\"./layout_attributes\\\":809,\\\"./layout_defaults\\\":810}],809:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color/attributes\\\"),i=t(\\\"../domain\\\").attributes,o=t(\\\"./constants\\\"),a=t(\\\"../../plot_api/edit_types\\\").overrideAll,s={range:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\"},{valType:\\\"number\\\"}]},showgrid:{valType:\\\"boolean\\\",dflt:!1},tick0:{valType:\\\"number\\\",dflt:0},dtick:{valType:\\\"number\\\"},gridcolor:{valType:\\\"color\\\",dflt:r.lightLine},gridwidth:{valType:\\\"number\\\",min:0,dflt:1}};(e.exports=a({domain:i({name:\\\"geo\\\"},{}),fitbounds:{valType:\\\"enumerated\\\",values:[!1,\\\"locations\\\",\\\"geojson\\\"],dflt:!1,editType:\\\"plot\\\"},resolution:{valType:\\\"enumerated\\\",values:[110,50],dflt:110,coerceNumber:!0},scope:{valType:\\\"enumerated\\\",values:Object.keys(o.scopeDefaults),dflt:\\\"world\\\"},projection:{type:{valType:\\\"enumerated\\\",values:Object.keys(o.projNames)},rotation:{lon:{valType:\\\"number\\\"},lat:{valType:\\\"number\\\"},roll:{valType:\\\"number\\\"}},parallels:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\"},{valType:\\\"number\\\"}]},scale:{valType:\\\"number\\\",min:0,dflt:1}},center:{lon:{valType:\\\"number\\\"},lat:{valType:\\\"number\\\"}},visible:{valType:\\\"boolean\\\",dflt:!0},showcoastlines:{valType:\\\"boolean\\\"},coastlinecolor:{valType:\\\"color\\\",dflt:r.defaultLine},coastlinewidth:{valType:\\\"number\\\",min:0,dflt:1},showland:{valType:\\\"boolean\\\",dflt:!1},landcolor:{valType:\\\"color\\\",dflt:o.landColor},showocean:{valType:\\\"boolean\\\",dflt:!1},oceancolor:{valType:\\\"color\\\",dflt:o.waterColor},showlakes:{valType:\\\"boolean\\\",dflt:!1},lakecolor:{valType:\\\"color\\\",dflt:o.waterColor},showrivers:{valType:\\\"boolean\\\",dflt:!1},rivercolor:{valType:\\\"color\\\",dflt:o.waterColor},riverwidth:{valType:\\\"number\\\",min:0,dflt:1},showcountries:{valType:\\\"boolean\\\"},countrycolor:{valType:\\\"color\\\",dflt:r.defaultLine},countrywidth:{valType:\\\"number\\\",min:0,dflt:1},showsubunits:{valType:\\\"boolean\\\"},subunitcolor:{valType:\\\"color\\\",dflt:r.defaultLine},subunitwidth:{valType:\\\"number\\\",min:0,dflt:1},showframe:{valType:\\\"boolean\\\"},framecolor:{valType:\\\"color\\\",dflt:r.defaultLine},framewidth:{valType:\\\"number\\\",min:0,dflt:1},bgcolor:{valType:\\\"color\\\",dflt:r.background},lonaxis:s,lataxis:s},\\\"plot\\\",\\\"from-root\\\")).uirevision={valType:\\\"any\\\",editType:\\\"none\\\"}},{\\\"../../components/color/attributes\\\":594,\\\"../../plot_api/edit_types\\\":759,\\\"../domain\\\":803,\\\"./constants\\\":806}],810:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../subplot_defaults\\\"),o=t(\\\"../get_data\\\").getSubplotData,a=t(\\\"./constants\\\"),s=t(\\\"./layout_attributes\\\"),l=a.axesNames;function u(t,e,n,i){var s=o(i.fullData,\\\"geo\\\",i.id).map((function(t){return t._expandedIndex})),u=n(\\\"resolution\\\"),c=n(\\\"scope\\\"),h=a.scopeDefaults[c],p=n(\\\"projection.type\\\",h.projType),f=e._isAlbersUsa=\\\"albers usa\\\"===p;f&&(c=e.scope=\\\"usa\\\");var d=e._isScoped=\\\"world\\\"!==c,m=e._isConic=-1!==p.indexOf(\\\"conic\\\"),v=e._isClipped=!!a.lonaxisSpan[p];if(!1===t.visible){var g=r.extendDeep({},e._template);g.showcoastlines=!1,g.showcountries=!1,g.showframe=!1,g.showlakes=!1,g.showland=!1,g.showocean=!1,g.showrivers=!1,g.showsubunits=!1,g.lonaxis&&(g.lonaxis.showgrid=!1),g.lataxis&&(g.lataxis.showgrid=!1),e._template=g}for(var y=n(\\\"visible\\\"),_=0;_<l.length;_++){var b,x=l[_],w=[30,10][_];if(d)b=h[x+\\\"Range\\\"];else{var A=a[x+\\\"Span\\\"],C=(A[p]||A[\\\"*\\\"])/2,M=n(\\\"projection.rotation.\\\"+x.substr(0,3),h.projRotate[_]);b=[M-C,M+C]}var E=n(x+\\\".range\\\",b);n(x+\\\".tick0\\\"),n(x+\\\".dtick\\\",w),n(x+\\\".showgrid\\\",!!y&&void 0)&&(n(x+\\\".gridcolor\\\"),n(x+\\\".gridwidth\\\")),e[x]._ax={type:\\\"linear\\\",_id:x.slice(0,3),_traceIndices:s,setScale:r.identity,c2l:r.identity,r2l:r.identity,autorange:!0,range:E.slice(),_m:1,_input:{}}}var T=e.lonaxis.range,S=e.lataxis.range,k=T[0],O=T[1];k>0&&O<0&&(O+=360);var I,L,P,z=(k+O)/2;if(!f){var R=d?h.projRotate:[z,0,0];I=n(\\\"projection.rotation.lon\\\",R[0]),n(\\\"projection.rotation.lat\\\",R[1]),n(\\\"projection.rotation.roll\\\",R[2]),n(\\\"showcoastlines\\\",!d&&y)&&(n(\\\"coastlinecolor\\\"),n(\\\"coastlinewidth\\\")),n(\\\"showocean\\\",!!y&&void 0)&&n(\\\"oceancolor\\\")}f?(L=-96.6,P=38.7):(L=d?z:I,P=(S[0]+S[1])/2),n(\\\"center.lon\\\",L),n(\\\"center.lat\\\",P),m&&n(\\\"projection.parallels\\\",h.projParallels||[0,60]),n(\\\"projection.scale\\\"),n(\\\"showland\\\",!!y&&void 0)&&n(\\\"landcolor\\\"),n(\\\"showlakes\\\",!!y&&void 0)&&n(\\\"lakecolor\\\"),n(\\\"showrivers\\\",!!y&&void 0)&&(n(\\\"rivercolor\\\"),n(\\\"riverwidth\\\")),n(\\\"showcountries\\\",d&&\\\"usa\\\"!==c&&y)&&(n(\\\"countrycolor\\\"),n(\\\"countrywidth\\\")),(\\\"usa\\\"===c||\\\"north america\\\"===c&&50===u)&&(n(\\\"showsubunits\\\",y),n(\\\"subunitcolor\\\"),n(\\\"subunitwidth\\\")),d||n(\\\"showframe\\\",y)&&(n(\\\"framecolor\\\"),n(\\\"framewidth\\\")),n(\\\"bgcolor\\\"),n(\\\"fitbounds\\\")&&(delete e.projection.scale,d?(delete e.center.lon,delete e.center.lat):v?(delete e.center.lon,delete e.center.lat,delete e.projection.rotation.lon,delete e.projection.rotation.lat,delete e.lonaxis.range,delete e.lataxis.range):(delete e.center.lon,delete e.center.lat,delete e.projection.rotation.lon))}e.exports=function(t,e,n){i(t,e,n,{type:\\\"geo\\\",attributes:s,handleDefaults:u,fullData:n,partition:\\\"y\\\"})}},{\\\"../../lib\\\":728,\\\"../get_data\\\":813,\\\"../subplot_defaults\\\":853,\\\"./constants\\\":806,\\\"./layout_attributes\\\":809}],811:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){function e(t,e){return{type:\\\"Feature\\\",id:t.id,properties:t.properties,geometry:n(t.geometry,e)}}function n(e,r){if(!e)return null;if(\\\"GeometryCollection\\\"===e.type)return{type:\\\"GeometryCollection\\\",geometries:object.geometries.map((function(t){return n(t,r)}))};if(!u.hasOwnProperty(e.type))return null;var i=u[e.type];return t.geo.stream(e,r(i)),i.result()}t.geo.project=function(t,e){var i=e.stream;if(!i)throw new Error(\\\"not yet supported\\\");return(t&&r.hasOwnProperty(t.type)?r[t.type]:n)(t,i)};var r={Feature:e,FeatureCollection:function(t,n){return{type:\\\"FeatureCollection\\\",features:t.features.map((function(t){return e(t,n)}))}}},i=[],o=[],a={point:function(t,e){i.push([t,e])},result:function(){var t=i.length?i.length<2?{type:\\\"Point\\\",coordinates:i[0]}:{type:\\\"MultiPoint\\\",coordinates:i}:null;return i=[],t}},s={lineStart:c,point:function(t,e){i.push([t,e])},lineEnd:function(){i.length&&(o.push(i),i=[])},result:function(){var t=o.length?o.length<2?{type:\\\"LineString\\\",coordinates:o[0]}:{type:\\\"MultiLineString\\\",coordinates:o}:null;return o=[],t}},l={polygonStart:c,lineStart:c,point:function(t,e){i.push([t,e])},lineEnd:function(){var t=i.length;if(t){do{i.push(i[0].slice())}while(++t<4);o.push(i),i=[]}},polygonEnd:c,result:function(){if(!o.length)return null;var t=[],e=[];return o.forEach((function(n){!function(t){if((e=t.length)<4)return!1;for(var e,n=0,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n<e;)r+=t[n-1][1]*t[n][0]-t[n-1][0]*t[n][1];return r<=0}(n)?e.push(n):t.push([n])})),e.forEach((function(e){var n=e[0];t.some((function(t){if(function(t,e){for(var n=e[0],r=e[1],i=!1,o=0,a=t.length,s=a-1;o<a;s=o++){var l=t[o],u=l[0],c=l[1],h=t[s],p=h[0],f=h[1];c>r^f>r&&n<(p-u)*(r-c)/(f-c)+u&&(i=!i)}return i}(t[0],n))return t.push(e),!0}))||t.push([e])})),o=[],t.length?t.length>1?{type:\\\"MultiPolygon\\\",coordinates:t}:{type:\\\"Polygon\\\",coordinates:t[0]}:null}},u={Point:a,MultiPoint:a,LineString:s,MultiLineString:s,Polygon:l,MultiPolygon:l,Sphere:l};function c(){}var h=1e-6,p=Math.PI,f=p/2,d=(Math.sqrt(p),p/180),m=180/p;function v(t){return t>1?f:t<-1?-f:Math.asin(t)}function g(t){return t>1?0:t<-1?p:Math.acos(t)}var y=t.geo.projection,_=t.geo.projectionMutator;function b(t,e){var n=(2+f)*Math.sin(e);e/=2;for(var r=0,i=1/0;r<10&&Math.abs(i)>h;r++){var o=Math.cos(e);e-=i=(e+Math.sin(e)*(o+2)-n)/(2*o*(1+o))}return[2/Math.sqrt(p*(4+p))*t*(1+Math.cos(e)),2*Math.sqrt(p/(4+p))*Math.sin(e)]}t.geo.interrupt=function(e){var n,r=[[[[-p,0],[0,f],[p,0]]],[[[-p,0],[0,-f],[p,0]]]];function i(t,n){for(var i=n<0?-1:1,o=r[+(n<0)],a=0,s=o.length-1;a<s&&t>o[a][2][0];++a);var l=e(t-o[a][1][0],n);return l[0]+=e(o[a][1][0],i*n>i*o[a][0][1]?o[a][0][1]:n)[0],l}function o(){n=r.map((function(t){return t.map((function(t){var n,r=e(t[0][0],t[0][1])[0],i=e(t[2][0],t[2][1])[0],o=e(t[1][0],t[0][1])[1],a=e(t[1][0],t[1][1])[1];return o>a&&(n=o,o=a,a=n),[[r,o],[i,a]]}))}))}e.invert&&(i.invert=function(t,o){for(var a=n[+(o<0)],s=r[+(o<0)],l=0,c=a.length;l<c;++l){var h=a[l];if(h[0][0]<=t&&t<h[1][0]&&h[0][1]<=o&&o<h[1][1]){var p=e.invert(t-e(s[l][1][0],0)[0],o);return p[0]+=s[l][1][0],u(i(p[0],p[1]),[t,o])?p:null}}});var a=t.geo.projection(i),s=a.stream;function l(t,e){for(var n,r,i,o=-1,a=t.length,s=t[0],l=[];++o<a;){r=((n=t[o])[0]-s[0])/e,i=(n[1]-s[1])/e;for(var u=0;u<e;++u)l.push([s[0]+u*r,s[1]+u*i]);s=n}return l.push(n),l}function u(t,e){return Math.abs(t[0]-e[0])<h&&Math.abs(t[1]-e[1])<h}return a.stream=function(e){var n=a.rotate(),i=s(e),o=(a.rotate([0,0]),s(e));return a.rotate(n),i.sphere=function(){t.geo.stream(function(){for(var e=1e-6,n=[],i=0,o=r[0].length;i<o;++i){var a=180*(f=r[0][i])[0][0]/p,s=180*f[0][1]/p,u=180*f[1][1]/p,c=180*f[2][0]/p,h=180*f[2][1]/p;n.push(l([[a+e,s+e],[a+e,u-e],[c-e,u-e],[c-e,h+e]],30))}for(i=r[1].length-1;i>=0;--i){var f;a=180*(f=r[1][i])[0][0]/p,s=180*f[0][1]/p,u=180*f[1][1]/p,c=180*f[2][0]/p,h=180*f[2][1]/p,n.push(l([[c-e,h-e],[c-e,u+e],[a+e,u+e],[a+e,s-e]],30))}return{type:\\\"Polygon\\\",coordinates:[t.merge(n)]}}(),o)},i},a.lobes=function(t){return arguments.length?(r=t.map((function(t){return t.map((function(t){return[[t[0][0]*p/180,t[0][1]*p/180],[t[1][0]*p/180,t[1][1]*p/180],[t[2][0]*p/180,t[2][1]*p/180]]}))})),o(),a):r.map((function(t){return t.map((function(t){return[[180*t[0][0]/p,180*t[0][1]/p],[180*t[1][0]/p,180*t[1][1]/p],[180*t[2][0]/p,180*t[2][1]/p]]}))}))},a},b.invert=function(t,e){var n=.5*e*Math.sqrt((4+p)/p),r=v(n),i=Math.cos(r);return[t/(2/Math.sqrt(p*(4+p))*(1+i)),v((r+n*(i+2))/(2+f))]},(t.geo.eckert4=function(){return y(b)}).raw=b;var x=t.geo.azimuthalEqualArea.raw;function w(t,e){if(arguments.length<2&&(e=t),1===e)return x;if(e===1/0)return A;function n(n,r){var i=x(n/e,r);return i[0]*=t,i}return n.invert=function(n,r){var i=x.invert(n/t,r);return i[0]*=e,i},n}function A(t,e){return[t*Math.cos(e)/Math.cos(e/=2),2*Math.sin(e)]}function C(t,e){return[3*t/(2*p)*Math.sqrt(p*p/3-e*e),e]}function M(t,e){return[t,1.25*Math.log(Math.tan(p/4+.4*e))]}function E(t){return function(e){var n,r=t*Math.sin(e),i=30;do{e-=n=(e+Math.sin(e)-r)/(1+Math.cos(e))}while(Math.abs(n)>h&&--i>0);return e/2}}A.invert=function(t,e){var n=2*v(e/2);return[t*Math.cos(n/2)/Math.cos(n),n]},(t.geo.hammer=function(){var t=2,e=_(w),n=e(t);return n.coefficient=function(n){return arguments.length?e(t=+n):t},n}).raw=w,C.invert=function(t,e){return[2/3*p*t/Math.sqrt(p*p/3-e*e),e]},(t.geo.kavrayskiy7=function(){return y(C)}).raw=C,M.invert=function(t,e){return[t,2.5*Math.atan(Math.exp(.8*e))-.625*p]},(t.geo.miller=function(){return y(M)}).raw=M,E(p);var T=function(t,e,n){var r=E(n);function i(n,i){return[t*n*Math.cos(i=r(i)),e*Math.sin(i)]}return i.invert=function(r,i){var o=v(i/e);return[r/(t*Math.cos(o)),v((2*o+Math.sin(2*o))/n)]},i}(Math.SQRT2/f,Math.SQRT2,p);function S(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}(t.geo.mollweide=function(){return y(T)}).raw=T,S.invert=function(t,e){var n,r=e,i=25;do{var o=r*r,a=o*o;r-=n=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(Math.abs(n)>h&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},(t.geo.naturalEarth=function(){return y(S)}).raw=S;var k=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function O(t,e){var n,r=Math.min(18,36*Math.abs(e)/p),i=Math.floor(r),o=r-i,a=(n=k[i])[0],s=n[1],l=(n=k[++i])[0],u=n[1],c=(n=k[Math.min(19,++i)])[0],h=n[1];return[t*(l+o*(c-a)/2+o*o*(c-2*l+a)/2),(e>0?f:-f)*(u+o*(h-s)/2+o*o*(h-2*u+s)/2)]}function I(t,e){return[t*Math.cos(e),e]}function L(t,e){var n,r=Math.cos(e),i=(n=g(r*Math.cos(t/=2)))?n/Math.sin(n):1;return[2*r*Math.sin(t)*i,Math.sin(e)*i]}function P(t,e){var n=L(t,e);return[(n[0]+t/f)/2,(n[1]+e)/2]}k.forEach((function(t){t[1]*=1.0144})),O.invert=function(t,e){var n=e/f,r=90*n,i=Math.min(18,Math.abs(r/5)),o=Math.max(0,Math.floor(i));do{var a=k[o][1],s=k[o+1][1],l=k[Math.min(19,o+2)][1],u=l-a,c=l-2*s+a,h=2*(Math.abs(n)-s)/u,p=c/u,v=h*(1-p*h*(1-2*p*h));if(v>=0||1===o){r=(e>=0?5:-5)*(v+i);var g,y=50;do{v=(i=Math.min(18,Math.abs(r)/5))-(o=Math.floor(i)),a=k[o][1],s=k[o+1][1],l=k[Math.min(19,o+2)][1],r-=(g=(e>=0?f:-f)*(s+v*(l-a)/2+v*v*(l-2*s+a)/2)-e)*m}while(Math.abs(g)>1e-12&&--y>0);break}}while(--o>=0);var _=k[o][0],b=k[o+1][0],x=k[Math.min(19,o+2)][0];return[t/(b+v*(x-_)/2+v*v*(x-2*b+_)/2),r*d]},(t.geo.robinson=function(){return y(O)}).raw=O,I.invert=function(t,e){return[t/Math.cos(e),e]},(t.geo.sinusoidal=function(){return y(I)}).raw=I,L.invert=function(t,e){if(!(t*t+4*e*e>p*p+h)){var n=t,r=e,i=25;do{var o,a=Math.sin(n),s=Math.sin(n/2),l=Math.cos(n/2),u=Math.sin(r),c=Math.cos(r),f=Math.sin(2*r),d=u*u,m=c*c,v=s*s,y=1-m*l*l,_=y?g(c*l)*Math.sqrt(o=1/y):o=0,b=2*_*c*s-t,x=_*u-e,w=o*(m*v+_*c*l*d),A=o*(.5*a*f-2*_*u*s),C=.25*o*(f*s-_*u*m*a),M=o*(d*l+_*v*c),E=A*C-M*w;if(!E)break;var T=(x*A-b*M)/E,S=(b*C-x*w)/E;n-=T,r-=S}while((Math.abs(T)>h||Math.abs(S)>h)&&--i>0);return[n,r]}},(t.geo.aitoff=function(){return y(L)}).raw=L,P.invert=function(t,e){var n=t,r=e,i=25;do{var o,a=Math.cos(r),s=Math.sin(r),l=Math.sin(2*r),u=s*s,c=a*a,p=Math.sin(n),d=Math.cos(n/2),m=Math.sin(n/2),v=m*m,y=1-c*d*d,_=y?g(a*d)*Math.sqrt(o=1/y):o=0,b=.5*(2*_*a*m+n/f)-t,x=.5*(_*s+r)-e,w=.5*o*(c*v+_*a*d*u)+.5/f,A=o*(p*l/4-_*s*m),C=.125*o*(l*m-_*s*c*p),M=.5*o*(u*d+_*v*a)+.5,E=A*C-M*w,T=(x*A-b*M)/E,S=(b*C-x*w)/E;n-=T,r-=S}while((Math.abs(T)>h||Math.abs(S)>h)&&--i>0);return[n,r]},(t.geo.winkel3=function(){return y(P)}).raw=P}},{}],812:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../registry\\\"),a=Math.PI/180,s=180/Math.PI,l={cursor:\\\"pointer\\\"},u={cursor:\\\"auto\\\"};function c(t,e){return r.behavior.zoom().translate(e.translate()).scale(e.scale())}function h(t,e,n){var r=t.id,a=t.graphDiv,s=a.layout,l=s[r],u=a._fullLayout,c=u[r],h={},p={};function f(t,e){h[r+\\\".\\\"+t]=i.nestedProperty(l,t).get(),o.call(\\\"_storeDirectGUIEdit\\\",s,u._preGUI,h);var n=i.nestedProperty(c,t);n.get()!==e&&(n.set(e),i.nestedProperty(l,t).set(e),p[r+\\\".\\\"+t]=e)}n(f),f(\\\"projection.scale\\\",e.scale()/t.fitScale),f(\\\"fitbounds\\\",!1),a.emit(\\\"plotly_relayout\\\",p)}function p(t,e){var n=c(0,e);function i(n){var r=e.invert(t.midPt);n(\\\"center.lon\\\",r[0]),n(\\\"center.lat\\\",r[1])}return n.on(\\\"zoomstart\\\",(function(){r.select(this).style(l)})).on(\\\"zoom\\\",(function(){e.scale(r.event.scale).translate(r.event.translate),t.render();var n=e.invert(t.midPt);t.graphDiv.emit(\\\"plotly_relayouting\\\",{\\\"geo.projection.scale\\\":e.scale()/t.fitScale,\\\"geo.center.lon\\\":n[0],\\\"geo.center.lat\\\":n[1]})})).on(\\\"zoomend\\\",(function(){r.select(this).style(u),h(t,e,i)})),n}function f(t,e){var n,i,o,a,s,p,f,d,m,v=c(0,e);function g(t){return e.invert(t)}function y(n){var r=e.rotate(),i=e.invert(t.midPt);n(\\\"projection.rotation.lon\\\",-r[0]),n(\\\"center.lon\\\",i[0]),n(\\\"center.lat\\\",i[1])}return v.on(\\\"zoomstart\\\",(function(){r.select(this).style(l),n=r.mouse(this),i=e.rotate(),o=e.translate(),a=i,s=g(n)})).on(\\\"zoom\\\",(function(){if(p=r.mouse(this),function(t){var n=g(t);if(!n)return!0;var r=e(n);return Math.abs(r[0]-t[0])>2||Math.abs(r[1]-t[1])>2}(n))return v.scale(e.scale()),void v.translate(e.translate());e.scale(r.event.scale),e.translate([o[0],r.event.translate[1]]),s?g(p)&&(d=g(p),f=[a[0]+(d[0]-s[0]),i[1],i[2]],e.rotate(f),a=f):s=g(n=p),m=!0,t.render();var l=e.rotate(),u=e.invert(t.midPt);t.graphDiv.emit(\\\"plotly_relayouting\\\",{\\\"geo.projection.scale\\\":e.scale()/t.fitScale,\\\"geo.center.lon\\\":u[0],\\\"geo.center.lat\\\":u[1],\\\"geo.projection.rotation.lon\\\":-l[0]})})).on(\\\"zoomend\\\",(function(){r.select(this).style(u),m&&h(t,e,y)})),v}function d(t,e){var n,i={r:e.rotate(),k:e.scale()},o=c(0,e),a=function(t){for(var e=0,n=arguments.length,i=[];++e<n;)i.push(arguments[e]);var o=r.dispatch.apply(null,i);return o.of=function(e,n){return function(i){var a;try{a=i.sourceEvent=r.event,i.target=t,r.event=i,o[i.type].apply(e,n)}finally{r.event=a}}},o}(o,\\\"zoomstart\\\",\\\"zoom\\\",\\\"zoomend\\\"),s=0,p=o.on;function f(t){s++||t({type:\\\"zoomstart\\\"})}function d(t){t({type:\\\"zoom\\\"})}function b(t){--s||t({type:\\\"zoomend\\\"})}function x(t){var n=e.rotate();t(\\\"projection.rotation.lon\\\",-n[0]),t(\\\"projection.rotation.lat\\\",-n[1])}return o.on(\\\"zoomstart\\\",(function(){r.select(this).style(l);var t=r.mouse(this),s=e.rotate(),u=s,c=e.translate(),h=v(s);n=m(e,t),p.call(o,\\\"zoom\\\",(function(){var o=r.mouse(this);if(e.scale(i.k=r.event.scale),n){if(m(e,o)){e.rotate(s).translate(c);var l=m(e,o),p=y(n,l),f=A(g(h,p)),v=i.r=_(f,n,u);isFinite(v[0])&&isFinite(v[1])&&isFinite(v[2])||(v=u),e.rotate(v),u=v}}else n=m(e,t=o);d(a.of(this,arguments))})),f(a.of(this,arguments))})).on(\\\"zoomend\\\",(function(){r.select(this).style(u),p.call(o,\\\"zoom\\\",null),b(a.of(this,arguments)),h(t,e,x)})).on(\\\"zoom.redraw\\\",(function(){t.render();var n=e.rotate();t.graphDiv.emit(\\\"plotly_relayouting\\\",{\\\"geo.projection.scale\\\":e.scale()/t.fitScale,\\\"geo.projection.rotation.lon\\\":-n[0],\\\"geo.projection.rotation.lat\\\":-n[1]})})),r.rebind(o,a,\\\"on\\\")}function m(t,e){var n=t.invert(e);return n&&isFinite(n[0])&&isFinite(n[1])&&function(t){var e=t[0]*a,n=t[1]*a,r=Math.cos(n);return[r*Math.cos(e),r*Math.sin(e),Math.sin(n)]}(n)}function v(t){var e=.5*t[0]*a,n=.5*t[1]*a,r=.5*t[2]*a,i=Math.sin(e),o=Math.cos(e),s=Math.sin(n),l=Math.cos(n),u=Math.sin(r),c=Math.cos(r);return[o*l*c+i*s*u,i*l*c-o*s*u,o*s*c+i*l*u,o*l*u-i*s*c]}function g(t,e){var n=t[0],r=t[1],i=t[2],o=t[3],a=e[0],s=e[1],l=e[2],u=e[3];return[n*a-r*s-i*l-o*u,n*s+r*a+i*u-o*l,n*l-r*u+i*a+o*s,n*u+r*l-i*s+o*a]}function y(t,e){if(t&&e){var n=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}(t,e),r=Math.sqrt(C(n,n)),i=.5*Math.acos(Math.max(-1,Math.min(1,C(t,e)))),o=Math.sin(i)/r;return r&&[Math.cos(i),n[2]*o,-n[1]*o,n[0]*o]}}function _(t,e,n){var r=w(e,2,t[0]);r=w(r,1,t[1]),r=w(r,0,t[2]-n[2]);var i,o,a=e[0],l=e[1],u=e[2],c=r[0],h=r[1],p=r[2],f=Math.atan2(l,a)*s,d=Math.sqrt(a*a+l*l);Math.abs(h)>d?(o=(h>0?90:-90)-f,i=0):(o=Math.asin(h/d)*s-f,i=Math.sqrt(d*d-h*h));var m=180-o-2*f,v=(Math.atan2(p,c)-Math.atan2(u,i))*s,g=(Math.atan2(p,c)-Math.atan2(u,-i))*s;return b(n[0],n[1],o,v)<=b(n[0],n[1],m,g)?[o,v,n[2]]:[m,g,n[2]]}function b(t,e,n,r){var i=x(n-t),o=x(r-e);return Math.sqrt(i*i+o*o)}function x(t){return(t%360+540)%360-180}function w(t,e,n){var r=n*a,i=t.slice(),o=0===e?1:0,s=2===e?1:2,l=Math.cos(r),u=Math.sin(r);return i[o]=t[o]*l-t[s]*u,i[s]=t[s]*l+t[o]*u,i}function A(t){return[Math.atan2(2*(t[0]*t[1]+t[2]*t[3]),1-2*(t[1]*t[1]+t[2]*t[2]))*s,Math.asin(Math.max(-1,Math.min(1,2*(t[0]*t[2]-t[3]*t[1]))))*s,Math.atan2(2*(t[0]*t[3]+t[1]*t[2]),1-2*(t[2]*t[2]+t[3]*t[3]))*s]}function C(t,e){for(var n=0,r=0,i=t.length;r<i;++r)n+=t[r]*e[r];return n}e.exports=function(t,e){var n=t.projection;return(e._isScoped?p:e._isClipped?d:f)(t,n)}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,d3:164}],813:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../registry\\\"),i=t(\\\"./cartesian/constants\\\").SUBPLOT_PATTERN;n.getSubplotCalcData=function(t,e,n){var i=r.subplotsRegistry[e];if(!i)return[];for(var o=i.attr,a=[],s=0;s<t.length;s++){var l=t[s];l[0].trace[o]===n&&a.push(l)}return a},n.getModuleCalcData=function(t,e){var n,i=[],o=[];if(!(n=\\\"string\\\"==typeof e?r.getModule(e).plot:\\\"function\\\"==typeof e?e:e.plot))return[i,t];for(var a=0;a<t.length;a++){var s=t[a],l=s[0].trace;!0===l.visible&&0!==l._length&&(l._module.plot===n?i.push(s):o.push(s))}return[i,o]},n.getSubplotData=function(t,e,n){if(!r.subplotsRegistry[e])return[];var o,a,s,l=r.subplotsRegistry[e].attr,u=[];if(\\\"gl2d\\\"===e){var c=n.match(i);a=\\\"x\\\"+c[1],s=\\\"y\\\"+c[2]}for(var h=0;h<t.length;h++)o=t[h],\\\"gl2d\\\"===e&&r.traceIs(o,\\\"gl2d\\\")?o[l[0]]===a&&o[l[1]]===s&&u.push(o):o[l]===n&&u.push(o);return u}},{\\\"../registry\\\":859,\\\"./cartesian/constants\\\":782}],814:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"mouse-change\\\"),i=t(\\\"mouse-wheel\\\"),o=t(\\\"mouse-event-offset\\\"),a=t(\\\"../cartesian/constants\\\"),s=t(\\\"has-passive-events\\\");function l(t,e){this.element=t,this.plot=e,this.mouseListener=null,this.wheelListener=null,this.lastInputTime=Date.now(),this.lastPos=[0,0],this.boxEnabled=!1,this.boxInited=!1,this.boxStart=[0,0],this.boxEnd=[0,0],this.dragStart=[0,0]}e.exports=function(t){var e=t.mouseContainer,n=t.glplot,u=new l(e,n);function c(){t.xaxis.autorange=!1,t.yaxis.autorange=!1}function h(e,r,i){var o,s,l=t.calcDataBox(),h=n.viewBox,p=u.lastPos[0],f=u.lastPos[1],d=a.MINDRAG*n.pixelRatio,m=a.MINZOOM*n.pixelRatio;function v(e,n,r){var i=Math.min(n,r),o=Math.max(n,r);i!==o?(l[e]=i,l[e+2]=o,u.dataBox=l,t.setRanges(l)):(t.selectBox.selectBox=[0,0,1,1],t.glplot.setDirty())}switch(r*=n.pixelRatio,i*=n.pixelRatio,i=h[3]-h[1]-i,t.fullLayout.dragmode){case\\\"zoom\\\":if(e){var g=r/(h[2]-h[0])*(l[2]-l[0])+l[0],y=i/(h[3]-h[1])*(l[3]-l[1])+l[1];u.boxInited||(u.boxStart[0]=g,u.boxStart[1]=y,u.dragStart[0]=r,u.dragStart[1]=i),u.boxEnd[0]=g,u.boxEnd[1]=y,u.boxInited=!0,u.boxEnabled||u.boxStart[0]===u.boxEnd[0]&&u.boxStart[1]===u.boxEnd[1]||(u.boxEnabled=!0);var _=Math.abs(u.dragStart[0]-r)<m,b=Math.abs(u.dragStart[1]-i)<m;if(!function(){for(var e=t.graphDiv._fullLayout._axisConstraintGroups,n=t.xaxis._id,r=t.yaxis._id,i=0;i<e.length;i++)if(-1!==e[i][n]){if(-1!==e[i][r])return!0;break}return!1}()||_&&b)_&&(u.boxEnd[0]=u.boxStart[0]),b&&(u.boxEnd[1]=u.boxStart[1]);else{o=u.boxEnd[0]-u.boxStart[0],s=u.boxEnd[1]-u.boxStart[1];var x=(l[3]-l[1])/(l[2]-l[0]);Math.abs(o*x)>Math.abs(s)?(u.boxEnd[1]=u.boxStart[1]+Math.abs(o)*x*(s>=0?1:-1),u.boxEnd[1]<l[1]?(u.boxEnd[1]=l[1],u.boxEnd[0]=u.boxStart[0]+(l[1]-u.boxStart[1])/Math.abs(x)):u.boxEnd[1]>l[3]&&(u.boxEnd[1]=l[3],u.boxEnd[0]=u.boxStart[0]+(l[3]-u.boxStart[1])/Math.abs(x))):(u.boxEnd[0]=u.boxStart[0]+Math.abs(s)/x*(o>=0?1:-1),u.boxEnd[0]<l[0]?(u.boxEnd[0]=l[0],u.boxEnd[1]=u.boxStart[1]+(l[0]-u.boxStart[0])*Math.abs(x)):u.boxEnd[0]>l[2]&&(u.boxEnd[0]=l[2],u.boxEnd[1]=u.boxStart[1]+(l[2]-u.boxStart[0])*Math.abs(x)))}}else u.boxEnabled?(o=u.boxStart[0]!==u.boxEnd[0],s=u.boxStart[1]!==u.boxEnd[1],o||s?(o&&(v(0,u.boxStart[0],u.boxEnd[0]),t.xaxis.autorange=!1),s&&(v(1,u.boxStart[1],u.boxEnd[1]),t.yaxis.autorange=!1),t.relayoutCallback()):t.glplot.setDirty(),u.boxEnabled=!1,u.boxInited=!1):u.boxInited&&(u.boxInited=!1);break;case\\\"pan\\\":u.boxEnabled=!1,u.boxInited=!1,e?(u.panning||(u.dragStart[0]=r,u.dragStart[1]=i),Math.abs(u.dragStart[0]-r)<d&&(r=u.dragStart[0]),Math.abs(u.dragStart[1]-i)<d&&(i=u.dragStart[1]),o=(p-r)*(l[2]-l[0])/(n.viewBox[2]-n.viewBox[0]),s=(f-i)*(l[3]-l[1])/(n.viewBox[3]-n.viewBox[1]),l[0]+=o,l[2]+=o,l[1]+=s,l[3]+=s,t.setRanges(l),u.panning=!0,u.lastInputTime=Date.now(),c(),t.cameraChanged(),t.handleAnnotations()):u.panning&&(u.panning=!1,t.relayoutCallback())}u.lastPos[0]=r,u.lastPos[1]=i}return u.mouseListener=r(e,h),e.addEventListener(\\\"touchstart\\\",(function(t){var n=o(t.changedTouches[0],e);h(0,n[0],n[1]),h(1,n[0],n[1]),t.preventDefault()}),!!s&&{passive:!1}),e.addEventListener(\\\"touchmove\\\",(function(t){t.preventDefault();var n=o(t.changedTouches[0],e);h(1,n[0],n[1]),t.preventDefault()}),!!s&&{passive:!1}),e.addEventListener(\\\"touchend\\\",(function(t){h(0,u.lastPos[0],u.lastPos[1]),t.preventDefault()}),!!s&&{passive:!1}),u.wheelListener=i(e,(function(e,r){if(!t.scrollZoom)return!1;var i=t.calcDataBox(),o=n.viewBox,a=u.lastPos[0],s=u.lastPos[1],l=Math.exp(5*r/(o[3]-o[1])),h=a/(o[2]-o[0])*(i[2]-i[0])+i[0],p=s/(o[3]-o[1])*(i[3]-i[1])+i[1];return i[0]=(i[0]-h)*l+h,i[2]=(i[2]-h)*l+h,i[1]=(i[1]-p)*l+p,i[3]=(i[3]-p)*l+p,t.setRanges(i),u.lastInputTime=Date.now(),c(),t.cameraChanged(),t.handleAnnotations(),t.relayoutCallback(),!0}),!0),u}},{\\\"../cartesian/constants\\\":782,\\\"has-passive-events\\\":410,\\\"mouse-change\\\":436,\\\"mouse-event-offset\\\":437,\\\"mouse-wheel\\\":439}],815:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../cartesian/axes\\\"),i=t(\\\"../../lib/str2rgbarray\\\");function o(t){this.scene=t,this.gl=t.gl,this.pixelRatio=t.pixelRatio,this.screenBox=[0,0,1,1],this.viewBox=[0,0,1,1],this.dataBox=[-1,-1,1,1],this.borderLineEnable=[!1,!1,!1,!1],this.borderLineWidth=[1,1,1,1],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.ticks=[[],[]],this.tickEnable=[!0,!0,!1,!1],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labels=[\\\"x\\\",\\\"y\\\"],this.labelEnable=[!0,!0,!1,!1],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelPad=[15,15,15,15],this.labelSize=[12,12],this.labelFont=[\\\"sans-serif\\\",\\\"sans-serif\\\"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.title=\\\"\\\",this.titleEnable=!0,this.titleCenter=[0,0,0,0],this.titleAngle=0,this.titleColor=[0,0,0,1],this.titleFont=\\\"sans-serif\\\",this.titleSize=18,this.gridLineEnable=[!0,!0],this.gridLineColor=[[0,0,0,.5],[0,0,0,.5]],this.gridLineWidth=[1,1],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[1,1],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.static=this.scene.staticPlot}var a=o.prototype,s=[\\\"xaxis\\\",\\\"yaxis\\\"];a.merge=function(t){var e,n,r,o,a,l,u,c,h,p,f;for(this.titleEnable=!1,this.backgroundColor=i(t.plot_bgcolor),p=0;p<2;++p){var d=(e=s[p]).charAt(0);for(r=(n=t[this.scene[e]._name]).title.text===this.scene.fullLayout._dfltTitle[d]?\\\"\\\":n.title.text,f=0;f<=2;f+=2)this.labelEnable[p+f]=!1,this.labels[p+f]=r,this.labelColor[p+f]=i(n.title.font.color),this.labelFont[p+f]=n.title.font.family,this.labelSize[p+f]=n.title.font.size,this.labelPad[p+f]=this.getLabelPad(e,n),this.tickEnable[p+f]=!1,this.tickColor[p+f]=i((n.tickfont||{}).color),this.tickAngle[p+f]=\\\"auto\\\"===n.tickangle?0:Math.PI*-n.tickangle/180,this.tickPad[p+f]=this.getTickPad(n),this.tickMarkLength[p+f]=0,this.tickMarkWidth[p+f]=n.tickwidth||0,this.tickMarkColor[p+f]=i(n.tickcolor),this.borderLineEnable[p+f]=!1,this.borderLineColor[p+f]=i(n.linecolor),this.borderLineWidth[p+f]=n.linewidth||0;u=this.hasSharedAxis(n),a=this.hasAxisInDfltPos(e,n)&&!u,l=this.hasAxisInAltrPos(e,n)&&!u,o=n.mirror||!1,c=u?-1!==String(o).indexOf(\\\"all\\\"):!!o,h=u?\\\"allticks\\\"===o:-1!==String(o).indexOf(\\\"ticks\\\"),a?this.labelEnable[p]=!0:l&&(this.labelEnable[p+2]=!0),a?this.tickEnable[p]=n.showticklabels:l&&(this.tickEnable[p+2]=n.showticklabels),(a||c)&&(this.borderLineEnable[p]=n.showline),(l||c)&&(this.borderLineEnable[p+2]=n.showline),(a||h)&&(this.tickMarkLength[p]=this.getTickMarkLength(n)),(l||h)&&(this.tickMarkLength[p+2]=this.getTickMarkLength(n)),this.gridLineEnable[p]=n.showgrid,this.gridLineColor[p]=i(n.gridcolor),this.gridLineWidth[p]=n.gridwidth,this.zeroLineEnable[p]=n.zeroline,this.zeroLineColor[p]=i(n.zerolinecolor),this.zeroLineWidth[p]=n.zerolinewidth}},a.hasSharedAxis=function(t){var e=this.scene,n=e.fullLayout._subplots.gl2d;return 0!==r.findSubplotsWithAxis(n,t).indexOf(e.id)},a.hasAxisInDfltPos=function(t,e){var n=e.side;return\\\"xaxis\\\"===t?\\\"bottom\\\"===n:\\\"yaxis\\\"===t?\\\"left\\\"===n:void 0},a.hasAxisInAltrPos=function(t,e){var n=e.side;return\\\"xaxis\\\"===t?\\\"top\\\"===n:\\\"yaxis\\\"===t?\\\"right\\\"===n:void 0},a.getLabelPad=function(t,e){var n=1.5,r=e.title.font.size,i=e.showticklabels;return\\\"xaxis\\\"===t?\\\"top\\\"===e.side?r*(n+(i?1:0))-10:r*(n+(i?.5:0))-10:\\\"yaxis\\\"===t?\\\"right\\\"===e.side?10+r*(n+(i?1:.5)):10+r*(n+(i?.5:0)):void 0},a.getTickPad=function(t){return\\\"outside\\\"===t.ticks?10+t.ticklen:15},a.getTickMarkLength=function(t){if(!t.ticks)return 0;var e=t.ticklen;return\\\"inside\\\"===t.ticks?-e:e},e.exports=function(t){return new o(t)}},{\\\"../../lib/str2rgbarray\\\":751,\\\"../cartesian/axes\\\":776}],816:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plot_api/edit_types\\\").overrideAll,i=t(\\\"./scene2d\\\"),o=t(\\\"../layout_attributes\\\"),a=t(\\\"../../constants/xmlns_namespaces\\\"),s=t(\\\"../cartesian/constants\\\"),l=t(\\\"../cartesian\\\"),u=t(\\\"../../components/fx/layout_attributes\\\"),c=t(\\\"../get_data\\\").getSubplotData;n.name=\\\"gl2d\\\",n.attr=[\\\"xaxis\\\",\\\"yaxis\\\"],n.idRoot=[\\\"x\\\",\\\"y\\\"],n.idRegex=s.idRegex,n.attrRegex=s.attrRegex,n.attributes=t(\\\"../cartesian/attributes\\\"),n.supplyLayoutDefaults=function(t,e,n){e._has(\\\"cartesian\\\")||l.supplyLayoutDefaults(t,e,n)},n.layoutAttrOverrides=r(l.layoutAttributes,\\\"plot\\\",\\\"from-root\\\"),n.baseLayoutAttrOverrides=r({plot_bgcolor:o.plot_bgcolor,hoverlabel:u.hoverlabel},\\\"plot\\\",\\\"nested\\\"),n.plot=function(t){for(var e=t._fullLayout,n=t._fullData,r=e._subplots.gl2d,o=0;o<r.length;o++){var a=r[o],s=e._plots[a],l=c(n,\\\"gl2d\\\",a),u=s._scene2d;void 0===u&&(u=new i({id:a,graphDiv:t,container:t.querySelector(\\\".gl-container\\\"),staticPlot:t._context.staticPlot,plotGlPixelRatio:t._context.plotGlPixelRatio},e),s._scene2d=u),u.plot(l,t.calcdata,e,t.layout)}},n.clean=function(t,e,n,r){for(var i=r._subplots.gl2d||[],o=0;o<i.length;o++){var a=i[o],s=r._plots[a];s._scene2d&&0===c(t,\\\"gl2d\\\",a).length&&(s._scene2d.destroy(),delete r._plots[a])}l.clean.apply(this,arguments)},n.drawFramework=function(t){t._context.staticPlot||l.drawFramework(t)},n.toSVG=function(t){for(var e=t._fullLayout,n=e._subplots.gl2d,r=0;r<n.length;r++){var i=e._plots[n[r]]._scene2d,o=i.toImage(\\\"png\\\");e._glimages.append(\\\"svg:image\\\").attr({xmlns:a.svg,\\\"xlink:href\\\":o,x:0,y:0,width:\\\"100%\\\",height:\\\"100%\\\",preserveAspectRatio:\\\"none\\\"}),i.destroy()}},n.updateFx=function(t){for(var e=t._fullLayout,n=e._subplots.gl2d,r=0;r<n.length;r++)e._plots[n[r]]._scene2d.updateFx(e.dragmode)}},{\\\"../../components/fx/layout_attributes\\\":636,\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../plot_api/edit_types\\\":759,\\\"../cartesian\\\":789,\\\"../cartesian/attributes\\\":774,\\\"../cartesian/constants\\\":782,\\\"../get_data\\\":813,\\\"../layout_attributes\\\":830,\\\"./scene2d\\\":817}],817:[function(t,e,n){\\\"use strict\\\";var r,i,o=t(\\\"../../registry\\\"),a=t(\\\"../../plots/cartesian/axes\\\"),s=t(\\\"../../components/fx\\\"),l=t(\\\"gl-plot2d\\\"),u=t(\\\"gl-spikes2d\\\"),c=t(\\\"gl-select-box\\\"),h=t(\\\"webgl-context\\\"),p=t(\\\"./convert\\\"),f=t(\\\"./camera\\\"),d=t(\\\"../../lib/show_no_webgl_msg\\\"),m=t(\\\"../cartesian/constraints\\\"),v=m.enforce,g=m.clean,y=t(\\\"../cartesian/autorange\\\").doAutoRange,_=t(\\\"../../components/dragelement/helpers\\\"),b=_.drawMode,x=_.selectMode,w=[\\\"xaxis\\\",\\\"yaxis\\\"],A=t(\\\"../cartesian/constants\\\").SUBPLOT_PATTERN;function C(t,e){this.container=t.container,this.graphDiv=t.graphDiv,this.pixelRatio=t.plotGlPixelRatio||window.devicePixelRatio,this.id=t.id,this.staticPlot=!!t.staticPlot,this.scrollZoom=this.graphDiv._context._scrollZoom.cartesian,this.fullData=null,this.updateRefs(e),this.makeFramework(),this.stopped||(this.glplotOptions=p(this),this.glplotOptions.merge(e),this.glplot=l(this.glplotOptions),this.camera=f(this),this.traces={},this.spikes=u(this.glplot),this.selectBox=c(this.glplot,{innerFill:!1,outerFill:!0}),this.lastButtonState=0,this.pickResult=null,this.isMouseOver=!0,this.stopped=!1,this.redraw=this.draw.bind(this),this.redraw())}e.exports=C;var M=C.prototype;M.makeFramework=function(){if(this.staticPlot){if(!(i||(r=document.createElement(\\\"canvas\\\"),i=h({canvas:r,preserveDrawingBuffer:!1,premultipliedAlpha:!0,antialias:!0}))))throw new Error(\\\"Error creating static canvas/context for image server\\\");this.canvas=r,this.gl=i}else{var t=this.container.querySelector(\\\".gl-canvas-focus\\\"),e=h({canvas:t,preserveDrawingBuffer:!0,premultipliedAlpha:!0});if(!e)return d(this),void(this.stopped=!0);this.canvas=t,this.gl=e}var n=this.canvas;n.style.width=\\\"100%\\\",n.style.height=\\\"100%\\\",n.style.position=\\\"absolute\\\",n.style.top=\\\"0px\\\",n.style.left=\\\"0px\\\",n.style[\\\"pointer-events\\\"]=\\\"none\\\",this.updateSize(n),n.className+=\\\" user-select-none\\\";var o=this.svgContainer=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"svg\\\");o.style.position=\\\"absolute\\\",o.style.top=o.style.left=\\\"0px\\\",o.style.width=o.style.height=\\\"100%\\\",o.style[\\\"z-index\\\"]=20,o.style[\\\"pointer-events\\\"]=\\\"none\\\";var a=this.mouseContainer=document.createElement(\\\"div\\\");a.style.position=\\\"absolute\\\",a.style[\\\"pointer-events\\\"]=\\\"auto\\\",this.pickCanvas=this.container.querySelector(\\\".gl-canvas-pick\\\");var s=this.container;s.appendChild(o),s.appendChild(a);var l=this;a.addEventListener(\\\"mouseout\\\",(function(){l.isMouseOver=!1,l.unhover()})),a.addEventListener(\\\"mouseover\\\",(function(){l.isMouseOver=!0}))},M.toImage=function(t){t||(t=\\\"png\\\"),this.stopped=!0,this.staticPlot&&this.container.appendChild(r),this.updateSize(this.canvas);var e=this.glplot.gl,n=e.drawingBufferWidth,i=e.drawingBufferHeight;e.clearColor(1,1,1,0),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),this.glplot.setDirty(),this.glplot.draw(),e.bindFramebuffer(e.FRAMEBUFFER,null);var o=new Uint8Array(n*i*4);e.readPixels(0,0,n,i,e.RGBA,e.UNSIGNED_BYTE,o);for(var a=0,s=i-1;a<s;++a,--s)for(var l=0;l<n;++l)for(var u=0;u<4;++u){var c=o[4*(n*a+l)+u];o[4*(n*a+l)+u]=o[4*(n*s+l)+u],o[4*(n*s+l)+u]=c}var h=document.createElement(\\\"canvas\\\");h.width=n,h.height=i;var p,f=h.getContext(\\\"2d\\\"),d=f.createImageData(n,i);switch(d.data.set(o),f.putImageData(d,0,0),t){case\\\"jpeg\\\":p=h.toDataURL(\\\"image/jpeg\\\");break;case\\\"webp\\\":p=h.toDataURL(\\\"image/webp\\\");break;default:p=h.toDataURL(\\\"image/png\\\")}return this.staticPlot&&this.container.removeChild(r),p},M.updateSize=function(t){t||(t=this.canvas);var e=this.pixelRatio,n=this.fullLayout,r=n.width,i=n.height,o=0|Math.ceil(e*r),a=0|Math.ceil(e*i);return t.width===o&&t.height===a||(t.width=o,t.height=a),t},M.computeTickMarks=function(){this.xaxis.setScale(),this.yaxis.setScale();for(var t=[a.calcTicks(this.xaxis),a.calcTicks(this.yaxis)],e=0;e<2;++e)for(var n=0;n<t[e].length;++n)t[e][n].text=t[e][n].text+\\\"\\\";return t},M.updateRefs=function(t){this.fullLayout=t;var e=this.id.match(A),n=\\\"xaxis\\\"+e[1],r=\\\"yaxis\\\"+e[2];this.xaxis=this.fullLayout[n],this.yaxis=this.fullLayout[r]},M.relayoutCallback=function(){var t=this.graphDiv,e=this.xaxis,n=this.yaxis,r=t.layout,i={},a=i[e._name+\\\".range\\\"]=e.range.slice(),s=i[n._name+\\\".range\\\"]=n.range.slice();i[e._name+\\\".autorange\\\"]=e.autorange,i[n._name+\\\".autorange\\\"]=n.autorange,o.call(\\\"_storeDirectGUIEdit\\\",t.layout,t._fullLayout._preGUI,i);var l=r[e._name];l.range=a,l.autorange=e.autorange;var u=r[n._name];u.range=s,u.autorange=n.autorange,i.lastInputTime=this.camera.lastInputTime,t.emit(\\\"plotly_relayout\\\",i)},M.cameraChanged=function(){var t=this.camera;this.glplot.setDataBox(this.calcDataBox());var e=this.computeTickMarks();(function(t,e){for(var n=0;n<2;++n){var r=t[n],i=e[n];if(r.length!==i.length)return!0;for(var o=0;o<r.length;++o)if(r[o].x!==i[o].x)return!0}return!1})(e,this.glplotOptions.ticks)&&(this.glplotOptions.ticks=e,this.glplotOptions.dataBox=t.dataBox,this.glplot.update(this.glplotOptions),this.handleAnnotations())},M.handleAnnotations=function(){for(var t=this.graphDiv,e=this.fullLayout.annotations,n=0;n<e.length;n++){var r=e[n];r.xref===this.xaxis._id&&r.yref===this.yaxis._id&&o.getComponentMethod(\\\"annotations\\\",\\\"drawOne\\\")(t,n)}},M.destroy=function(){if(this.glplot){var t=this.traces;t&&Object.keys(t).map((function(e){t[e].dispose(),delete t[e]})),this.glplot.dispose(),this.container.removeChild(this.svgContainer),this.container.removeChild(this.mouseContainer),this.fullData=null,this.glplot=null,this.stopped=!0,this.camera.mouseListener.enabled=!1,this.mouseContainer.removeEventListener(\\\"wheel\\\",this.camera.wheelListener),this.camera=null}},M.plot=function(t,e,n){var r=this.glplot;this.updateRefs(n),this.xaxis.clearCalc(),this.yaxis.clearCalc(),this.updateTraces(t,e),this.updateFx(n.dragmode);var i=n.width,o=n.height;this.updateSize(this.canvas);var a=this.glplotOptions;a.merge(n),a.screenBox=[0,0,i,o];var s={_fullLayout:{_axisConstraintGroups:this.graphDiv._fullLayout._axisConstraintGroups,xaxis:this.xaxis,yaxis:this.yaxis}};g(s,this.xaxis),g(s,this.yaxis);var l,u,c=n._size,h=this.xaxis.domain,p=this.yaxis.domain;for(a.viewBox=[c.l+h[0]*c.w,c.b+p[0]*c.h,i-c.r-(1-h[1])*c.w,o-c.t-(1-p[1])*c.h],this.mouseContainer.style.width=c.w*(h[1]-h[0])+\\\"px\\\",this.mouseContainer.style.height=c.h*(p[1]-p[0])+\\\"px\\\",this.mouseContainer.height=c.h*(p[1]-p[0]),this.mouseContainer.style.left=c.l+h[0]*c.w+\\\"px\\\",this.mouseContainer.style.top=c.t+(1-p[1])*c.h+\\\"px\\\",u=0;u<2;++u)(l=this[w[u]])._length=a.viewBox[u+2]-a.viewBox[u],y(this.graphDiv,l),l.setScale();v(s),a.ticks=this.computeTickMarks(),a.dataBox=this.calcDataBox(),a.merge(n),r.update(a),this.glplot.draw()},M.calcDataBox=function(){var t=this.xaxis,e=this.yaxis,n=t.range,r=e.range,i=t.r2l,o=e.r2l;return[i(n[0]),o(r[0]),i(n[1]),o(r[1])]},M.setRanges=function(t){var e=this.xaxis,n=this.yaxis,r=e.l2r,i=n.l2r;e.range=[r(t[0]),r(t[2])],n.range=[i(t[1]),i(t[3])]},M.updateTraces=function(t,e){var n,r,i,o=Object.keys(this.traces);this.fullData=t;t:for(n=0;n<o.length;n++){var a=o[n],s=this.traces[a];for(r=0;r<t.length;r++)if((i=t[r]).uid===a&&i.type===s.type)continue t;s.dispose(),delete this.traces[a]}for(n=0;n<t.length;n++){i=t[n];var l=e[n],u=this.traces[i.uid];u?u.update(i,l):(u=i._module.plot(this,i,l),this.traces[i.uid]=u)}this.glplot.objects.sort((function(t,e){return t._trace.index-e._trace.index}))},M.updateFx=function(t){x(t)||b(t)?(this.pickCanvas.style[\\\"pointer-events\\\"]=\\\"none\\\",this.mouseContainer.style[\\\"pointer-events\\\"]=\\\"none\\\"):(this.pickCanvas.style[\\\"pointer-events\\\"]=\\\"auto\\\",this.mouseContainer.style[\\\"pointer-events\\\"]=\\\"auto\\\"),this.mouseContainer.style.cursor=\\\"pan\\\"===t?\\\"move\\\":\\\"zoom\\\"===t?\\\"crosshair\\\":null},M.emitPointAction=function(t,e){for(var n,r=t.trace.uid,i=t.pointIndex,o=0;o<this.fullData.length;o++)this.fullData[o].uid===r&&(n=this.fullData[o]);var a={x:t.traceCoord[0],y:t.traceCoord[1],curveNumber:n.index,pointNumber:i,data:n._input,fullData:this.fullData,xaxis:this.xaxis,yaxis:this.yaxis};s.appendArrayPointValue(a,n,i),this.graphDiv.emit(e,{points:[a]})},M.draw=function(){if(!this.stopped){requestAnimationFrame(this.redraw);var t=this.glplot,e=this.camera,n=e.mouseListener,r=1===this.lastButtonState&&0===n.buttons,i=this.fullLayout;this.lastButtonState=n.buttons,this.cameraChanged();var o,a=n.x*t.pixelRatio,l=this.canvas.height-t.pixelRatio*n.y;if(e.boxEnabled&&\\\"zoom\\\"===i.dragmode){this.selectBox.enabled=!0;for(var u=this.selectBox.selectBox=[Math.min(e.boxStart[0],e.boxEnd[0]),Math.min(e.boxStart[1],e.boxEnd[1]),Math.max(e.boxStart[0],e.boxEnd[0]),Math.max(e.boxStart[1],e.boxEnd[1])],c=0;c<2;c++)e.boxStart[c]===e.boxEnd[c]&&(u[c]=t.dataBox[c],u[c+2]=t.dataBox[c+2]);t.setDirty()}else if(!e.panning&&this.isMouseOver){this.selectBox.enabled=!1;var h=i._size,p=this.xaxis.domain,f=this.yaxis.domain,d=(o=t.pick(a/t.pixelRatio+h.l+p[0]*h.w,l/t.pixelRatio-(h.t+(1-f[1])*h.h)))&&o.object._trace.handlePick(o);if(d&&r&&this.emitPointAction(d,\\\"plotly_click\\\"),o&&\\\"skip\\\"!==o.object._trace.hoverinfo&&i.hovermode&&d&&(!this.lastPickResult||this.lastPickResult.traceUid!==d.trace.uid||this.lastPickResult.dataCoord[0]!==d.dataCoord[0]||this.lastPickResult.dataCoord[1]!==d.dataCoord[1])){var m=d;this.lastPickResult={traceUid:d.trace?d.trace.uid:null,dataCoord:d.dataCoord.slice()},this.spikes.update({center:o.dataCoord}),m.screenCoord=[((t.viewBox[2]-t.viewBox[0])*(o.dataCoord[0]-t.dataBox[0])/(t.dataBox[2]-t.dataBox[0])+t.viewBox[0])/t.pixelRatio,(this.canvas.height-(t.viewBox[3]-t.viewBox[1])*(o.dataCoord[1]-t.dataBox[1])/(t.dataBox[3]-t.dataBox[1])-t.viewBox[1])/t.pixelRatio],this.emitPointAction(d,\\\"plotly_hover\\\");var v=this.fullData[m.trace.index]||{},g=m.pointIndex,y=s.castHoverinfo(v,i,g);if(y&&\\\"all\\\"!==y){var _=y.split(\\\"+\\\");-1===_.indexOf(\\\"x\\\")&&(m.traceCoord[0]=void 0),-1===_.indexOf(\\\"y\\\")&&(m.traceCoord[1]=void 0),-1===_.indexOf(\\\"z\\\")&&(m.traceCoord[2]=void 0),-1===_.indexOf(\\\"text\\\")&&(m.textLabel=void 0),-1===_.indexOf(\\\"name\\\")&&(m.name=void 0)}s.loneHover({x:m.screenCoord[0],y:m.screenCoord[1],xLabel:this.hoverFormatter(\\\"xaxis\\\",m.traceCoord[0]),yLabel:this.hoverFormatter(\\\"yaxis\\\",m.traceCoord[1]),zLabel:m.traceCoord[2],text:m.textLabel,name:m.name,color:s.castHoverOption(v,g,\\\"bgcolor\\\")||m.color,borderColor:s.castHoverOption(v,g,\\\"bordercolor\\\"),fontFamily:s.castHoverOption(v,g,\\\"font.family\\\"),fontSize:s.castHoverOption(v,g,\\\"font.size\\\"),fontColor:s.castHoverOption(v,g,\\\"font.color\\\"),nameLength:s.castHoverOption(v,g,\\\"namelength\\\"),textAlign:s.castHoverOption(v,g,\\\"align\\\")},{container:this.svgContainer,gd:this.graphDiv})}}o||this.unhover(),t.draw()}},M.unhover=function(){this.lastPickResult&&(this.spikes.update({}),this.lastPickResult=null,this.graphDiv.emit(\\\"plotly_unhover\\\"),s.loneUnhover(this.svgContainer))},M.hoverFormatter=function(t,e){if(void 0!==e){var n=this[t];return a.tickText(n,n.c2l(e),\\\"hover\\\").text}}},{\\\"../../components/dragelement/helpers\\\":613,\\\"../../components/fx\\\":635,\\\"../../lib/show_no_webgl_msg\\\":749,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"../cartesian/autorange\\\":775,\\\"../cartesian/constants\\\":782,\\\"../cartesian/constraints\\\":783,\\\"./camera\\\":814,\\\"./convert\\\":815,\\\"gl-plot2d\\\":293,\\\"gl-select-box\\\":305,\\\"gl-spikes2d\\\":314,\\\"webgl-context\\\":558}],818:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plot_api/edit_types\\\").overrideAll,i=t(\\\"../../components/fx/layout_attributes\\\"),o=t(\\\"./scene\\\"),a=t(\\\"../get_data\\\").getSubplotData,s=t(\\\"../../lib\\\"),l=t(\\\"../../constants/xmlns_namespaces\\\"),u=\\\"gl3d\\\",c=\\\"scene\\\";n.name=u,n.attr=c,n.idRoot=c,n.idRegex=n.attrRegex=s.counterRegex(\\\"scene\\\"),n.attributes=t(\\\"./layout/attributes\\\"),n.layoutAttributes=t(\\\"./layout/layout_attributes\\\"),n.baseLayoutAttrOverrides=r({hoverlabel:i.hoverlabel},\\\"plot\\\",\\\"nested\\\"),n.supplyLayoutDefaults=t(\\\"./layout/defaults\\\"),n.plot=function(t){for(var e=t._fullLayout,n=t._fullData,r=e._subplots.gl3d,i=0;i<r.length;i++){var s=r[i],l=a(n,u,s),c=e[s],h=c.camera,p=c._scene;p||(p=new o({id:s,graphDiv:t,container:t.querySelector(\\\".gl-container\\\"),staticPlot:t._context.staticPlot,plotGlPixelRatio:t._context.plotGlPixelRatio,camera:h},e),c._scene=p),p.viewInitial||(p.viewInitial={up:{x:h.up.x,y:h.up.y,z:h.up.z},eye:{x:h.eye.x,y:h.eye.y,z:h.eye.z},center:{x:h.center.x,y:h.center.y,z:h.center.z}}),p.plot(l,e,t.layout)}},n.clean=function(t,e,n,r){for(var i=r._subplots.gl3d||[],o=0;o<i.length;o++){var a=i[o];!e[a]&&r[a]._scene&&(r[a]._scene.destroy(),r._infolayer&&r._infolayer.selectAll(\\\".annotation-\\\"+a).remove())}},n.toSVG=function(t){for(var e=t._fullLayout,n=e._subplots.gl3d,r=e._size,i=0;i<n.length;i++){var o=e[n[i]],a=o.domain,s=o._scene,u=s.toImage(\\\"png\\\");e._glimages.append(\\\"svg:image\\\").attr({xmlns:l.svg,\\\"xlink:href\\\":u,x:r.l+r.w*a.x[0],y:r.t+r.h*(1-a.y[1]),width:r.w*(a.x[1]-a.x[0]),height:r.h*(a.y[1]-a.y[0]),preserveAspectRatio:\\\"none\\\"}),s.destroy()}},n.cleanId=function(t){if(t.match(/^scene[0-9]*$/)){var e=t.substr(5);return\\\"1\\\"===e&&(e=\\\"\\\"),c+e}},n.updateFx=function(t){for(var e=t._fullLayout,n=e._subplots.gl3d,r=0;r<n.length;r++)e[n[r]]._scene.updateFx(e.dragmode,e.hovermode)}},{\\\"../../components/fx/layout_attributes\\\":636,\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../lib\\\":728,\\\"../../plot_api/edit_types\\\":759,\\\"../get_data\\\":813,\\\"./layout/attributes\\\":819,\\\"./layout/defaults\\\":823,\\\"./layout/layout_attributes\\\":824,\\\"./scene\\\":828}],819:[function(t,e,n){\\\"use strict\\\";e.exports={scene:{valType:\\\"subplotid\\\",dflt:\\\"scene\\\",editType:\\\"calc+clearAxisTypes\\\"}}},{}],820:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../../components/color\\\"),i=t(\\\"../../cartesian/layout_attributes\\\"),o=t(\\\"../../../lib/extend\\\").extendFlat,a=t(\\\"../../../plot_api/edit_types\\\").overrideAll;e.exports=a({visible:i.visible,showspikes:{valType:\\\"boolean\\\",dflt:!0},spikesides:{valType:\\\"boolean\\\",dflt:!0},spikethickness:{valType:\\\"number\\\",min:0,dflt:2},spikecolor:{valType:\\\"color\\\",dflt:r.defaultLine},showbackground:{valType:\\\"boolean\\\",dflt:!1},backgroundcolor:{valType:\\\"color\\\",dflt:\\\"rgba(204, 204, 204, 0.5)\\\"},showaxeslabels:{valType:\\\"boolean\\\",dflt:!0},color:i.color,categoryorder:i.categoryorder,categoryarray:i.categoryarray,title:{text:i.title.text,font:i.title.font},type:o({},i.type,{values:[\\\"-\\\",\\\"linear\\\",\\\"log\\\",\\\"date\\\",\\\"category\\\"]}),autorange:i.autorange,rangemode:i.rangemode,range:o({},i.range,{items:[{valType:\\\"any\\\",editType:\\\"plot\\\",impliedEdits:{\\\"^autorange\\\":!1}},{valType:\\\"any\\\",editType:\\\"plot\\\",impliedEdits:{\\\"^autorange\\\":!1}}],anim:!1}),tickmode:i.tickmode,nticks:i.nticks,tick0:i.tick0,dtick:i.dtick,tickvals:i.tickvals,ticktext:i.ticktext,ticks:i.ticks,mirror:i.mirror,ticklen:i.ticklen,tickwidth:i.tickwidth,tickcolor:i.tickcolor,showticklabels:i.showticklabels,tickfont:i.tickfont,tickangle:i.tickangle,tickprefix:i.tickprefix,showtickprefix:i.showtickprefix,ticksuffix:i.ticksuffix,showticksuffix:i.showticksuffix,showexponent:i.showexponent,exponentformat:i.exponentformat,separatethousands:i.separatethousands,tickformat:i.tickformat,tickformatstops:i.tickformatstops,hoverformat:i.hoverformat,showline:i.showline,linecolor:i.linecolor,linewidth:i.linewidth,showgrid:i.showgrid,gridcolor:o({},i.gridcolor,{dflt:\\\"rgb(204, 204, 204)\\\"}),gridwidth:i.gridwidth,zeroline:i.zeroline,zerolinecolor:i.zerolinecolor,zerolinewidth:i.zerolinewidth,_deprecated:{title:i._deprecated.title,titlefont:i._deprecated.titlefont}},\\\"plot\\\",\\\"from-root\\\")},{\\\"../../../components/color\\\":595,\\\"../../../lib/extend\\\":719,\\\"../../../plot_api/edit_types\\\":759,\\\"../../cartesian/layout_attributes\\\":790}],821:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"tinycolor2\\\").mix,i=t(\\\"../../../lib\\\"),o=t(\\\"../../../plot_api/plot_template\\\"),a=t(\\\"./axis_attributes\\\"),s=t(\\\"../../cartesian/type_defaults\\\"),l=t(\\\"../../cartesian/axis_defaults\\\"),u=[\\\"xaxis\\\",\\\"yaxis\\\",\\\"zaxis\\\"];e.exports=function(t,e,n){var c,h;function p(t,e){return i.coerce(c,h,a,t,e)}for(var f=0;f<u.length;f++){var d=u[f];c=t[d]||{},(h=o.newContainer(e,d))._id=d[0]+n.scene,h._name=d,s(c,h,p,n),l(c,h,p,{font:n.font,letter:d[0],data:n.data,showGrid:!0,noTickson:!0,bgColor:n.bgColor,calendar:n.calendar},n.fullLayout),p(\\\"gridcolor\\\",r(h.color,n.bgColor,72.72727272727273).toRgbString()),p(\\\"title.text\\\",d[0]),h.setScale=i.noop,p(\\\"showspikes\\\")&&(p(\\\"spikesides\\\"),p(\\\"spikethickness\\\"),p(\\\"spikecolor\\\",h.color)),p(\\\"showaxeslabels\\\"),p(\\\"showbackground\\\")&&p(\\\"backgroundcolor\\\")}}},{\\\"../../../lib\\\":728,\\\"../../../plot_api/plot_template\\\":766,\\\"../../cartesian/axis_defaults\\\":778,\\\"../../cartesian/type_defaults\\\":801,\\\"./axis_attributes\\\":820,tinycolor2:528}],822:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../../lib/str2rgbarray\\\"),i=t(\\\"../../../lib\\\"),o=[\\\"xaxis\\\",\\\"yaxis\\\",\\\"zaxis\\\"];function a(){this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.tickEnable=[!0,!0,!0],this.tickFont=[\\\"sans-serif\\\",\\\"sans-serif\\\",\\\"sans-serif\\\"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[18,18,18],this.labels=[\\\"x\\\",\\\"y\\\",\\\"z\\\"],this.labelEnable=[!0,!0,!0],this.labelFont=[\\\"Open Sans\\\",\\\"Open Sans\\\",\\\"Open Sans\\\"],this.labelSize=[20,20,20],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[30,30,30],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[10,10,10],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!0,!0,!0],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._defaultTickPad=this.tickPad.slice(),this._defaultLabelPad=this.labelPad.slice(),this._defaultLineTickLength=this.lineTickLength.slice()}a.prototype.merge=function(t,e){for(var n=this,a=0;a<3;++a){var s=e[o[a]];s.visible?(n.labels[a]=t._meta?i.templateString(s.title.text,t._meta):s.title.text,\\\"font\\\"in s.title&&(s.title.font.color&&(n.labelColor[a]=r(s.title.font.color)),s.title.font.family&&(n.labelFont[a]=s.title.font.family),s.title.font.size&&(n.labelSize[a]=s.title.font.size)),\\\"showline\\\"in s&&(n.lineEnable[a]=s.showline),\\\"linecolor\\\"in s&&(n.lineColor[a]=r(s.linecolor)),\\\"linewidth\\\"in s&&(n.lineWidth[a]=s.linewidth),\\\"showgrid\\\"in s&&(n.gridEnable[a]=s.showgrid),\\\"gridcolor\\\"in s&&(n.gridColor[a]=r(s.gridcolor)),\\\"gridwidth\\\"in s&&(n.gridWidth[a]=s.gridwidth),\\\"log\\\"===s.type?n.zeroEnable[a]=!1:\\\"zeroline\\\"in s&&(n.zeroEnable[a]=s.zeroline),\\\"zerolinecolor\\\"in s&&(n.zeroLineColor[a]=r(s.zerolinecolor)),\\\"zerolinewidth\\\"in s&&(n.zeroLineWidth[a]=s.zerolinewidth),\\\"ticks\\\"in s&&s.ticks?n.lineTickEnable[a]=!0:n.lineTickEnable[a]=!1,\\\"ticklen\\\"in s&&(n.lineTickLength[a]=n._defaultLineTickLength[a]=s.ticklen),\\\"tickcolor\\\"in s&&(n.lineTickColor[a]=r(s.tickcolor)),\\\"tickwidth\\\"in s&&(n.lineTickWidth[a]=s.tickwidth),\\\"tickangle\\\"in s&&(n.tickAngle[a]=\\\"auto\\\"===s.tickangle?-3600:Math.PI*-s.tickangle/180),\\\"showticklabels\\\"in s&&(n.tickEnable[a]=s.showticklabels),\\\"tickfont\\\"in s&&(s.tickfont.color&&(n.tickColor[a]=r(s.tickfont.color)),s.tickfont.family&&(n.tickFont[a]=s.tickfont.family),s.tickfont.size&&(n.tickSize[a]=s.tickfont.size)),\\\"mirror\\\"in s?-1!==[\\\"ticks\\\",\\\"all\\\",\\\"allticks\\\"].indexOf(s.mirror)?(n.lineTickMirror[a]=!0,n.lineMirror[a]=!0):!0===s.mirror?(n.lineTickMirror[a]=!1,n.lineMirror[a]=!0):(n.lineTickMirror[a]=!1,n.lineMirror[a]=!1):n.lineMirror[a]=!1,\\\"showbackground\\\"in s&&!1!==s.showbackground?(n.backgroundEnable[a]=!0,n.backgroundColor[a]=r(s.backgroundcolor)):n.backgroundEnable[a]=!1):(n.tickEnable[a]=!1,n.labelEnable[a]=!1,n.lineEnable[a]=!1,n.lineTickEnable[a]=!1,n.gridEnable[a]=!1,n.zeroEnable[a]=!1,n.backgroundEnable[a]=!1)}},e.exports=function(t,e){var n=new a;return n.merge(t,e),n}},{\\\"../../../lib\\\":728,\\\"../../../lib/str2rgbarray\\\":751}],823:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../../lib\\\"),i=t(\\\"../../../components/color\\\"),o=t(\\\"../../../registry\\\"),a=t(\\\"../../subplot_defaults\\\"),s=t(\\\"./axis_defaults\\\"),l=t(\\\"./layout_attributes\\\"),u=t(\\\"../../get_data\\\").getSubplotData,c=\\\"gl3d\\\";function h(t,e,n,r){for(var a=n(\\\"bgcolor\\\"),l=i.combine(a,r.paper_bgcolor),h=[\\\"up\\\",\\\"center\\\",\\\"eye\\\"],p=0;p<h.length;p++)n(\\\"camera.\\\"+h[p]+\\\".x\\\"),n(\\\"camera.\\\"+h[p]+\\\".y\\\"),n(\\\"camera.\\\"+h[p]+\\\".z\\\");n(\\\"camera.projection.type\\\");var f=!!n(\\\"aspectratio.x\\\")&&!!n(\\\"aspectratio.y\\\")&&!!n(\\\"aspectratio.z\\\"),d=n(\\\"aspectmode\\\",f?\\\"manual\\\":\\\"auto\\\");f||(t.aspectratio=e.aspectratio={x:1,y:1,z:1},\\\"manual\\\"===d&&(e.aspectmode=\\\"auto\\\"),t.aspectmode=e.aspectmode);var m=u(r.fullData,c,r.id);s(t,e,{font:r.font,scene:r.id,data:m,bgColor:l,calendar:r.calendar,fullLayout:r.fullLayout}),o.getComponentMethod(\\\"annotations3d\\\",\\\"handleDefaults\\\")(t,e,r);var v=r.getDfltFromLayout(\\\"dragmode\\\");if(!1!==v&&!v)if(v=\\\"orbit\\\",t.camera&&t.camera.up){var g=t.camera.up.x,y=t.camera.up.y,_=t.camera.up.z;0!==_&&(g&&y&&_?_/Math.sqrt(g*g+y*y+_*_)>.999&&(v=\\\"turntable\\\"):v=\\\"turntable\\\")}else v=\\\"turntable\\\";n(\\\"dragmode\\\",v),n(\\\"hovermode\\\",r.getDfltFromLayout(\\\"hovermode\\\"))}e.exports=function(t,e,n){var i=e._basePlotModules.length>1;a(t,e,n,{type:c,attributes:l,handleDefaults:h,fullLayout:e,font:e.font,fullData:n,getDfltFromLayout:function(e){if(!i)return r.validate(t[e],l[e])?t[e]:void 0},paper_bgcolor:e.paper_bgcolor,calendar:e.calendar})}},{\\\"../../../components/color\\\":595,\\\"../../../lib\\\":728,\\\"../../../registry\\\":859,\\\"../../get_data\\\":813,\\\"../../subplot_defaults\\\":853,\\\"./axis_defaults\\\":821,\\\"./layout_attributes\\\":824}],824:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./axis_attributes\\\"),i=t(\\\"../../domain\\\").attributes,o=t(\\\"../../../lib/extend\\\").extendFlat,a=t(\\\"../../../lib\\\").counterRegex;function s(t,e,n){return{x:{valType:\\\"number\\\",dflt:t,editType:\\\"camera\\\"},y:{valType:\\\"number\\\",dflt:e,editType:\\\"camera\\\"},z:{valType:\\\"number\\\",dflt:n,editType:\\\"camera\\\"},editType:\\\"camera\\\"}}e.exports={_arrayAttrRegexps:[a(\\\"scene\\\",\\\".annotations\\\",!0)],bgcolor:{valType:\\\"color\\\",dflt:\\\"rgba(0,0,0,0)\\\",editType:\\\"plot\\\"},camera:{up:o(s(0,0,1),{}),center:o(s(0,0,0),{}),eye:o(s(1.25,1.25,1.25),{}),projection:{type:{valType:\\\"enumerated\\\",values:[\\\"perspective\\\",\\\"orthographic\\\"],dflt:\\\"perspective\\\",editType:\\\"calc\\\"},editType:\\\"calc\\\"},editType:\\\"camera\\\"},domain:i({name:\\\"scene\\\",editType:\\\"plot\\\"}),aspectmode:{valType:\\\"enumerated\\\",values:[\\\"auto\\\",\\\"cube\\\",\\\"data\\\",\\\"manual\\\"],dflt:\\\"auto\\\",editType:\\\"plot\\\",impliedEdits:{\\\"aspectratio.x\\\":void 0,\\\"aspectratio.y\\\":void 0,\\\"aspectratio.z\\\":void 0}},aspectratio:{x:{valType:\\\"number\\\",min:0,editType:\\\"plot\\\",impliedEdits:{\\\"^aspectmode\\\":\\\"manual\\\"}},y:{valType:\\\"number\\\",min:0,editType:\\\"plot\\\",impliedEdits:{\\\"^aspectmode\\\":\\\"manual\\\"}},z:{valType:\\\"number\\\",min:0,editType:\\\"plot\\\",impliedEdits:{\\\"^aspectmode\\\":\\\"manual\\\"}},editType:\\\"plot\\\",impliedEdits:{aspectmode:\\\"manual\\\"}},xaxis:r,yaxis:r,zaxis:r,dragmode:{valType:\\\"enumerated\\\",values:[\\\"orbit\\\",\\\"turntable\\\",\\\"zoom\\\",\\\"pan\\\",!1],editType:\\\"plot\\\"},hovermode:{valType:\\\"enumerated\\\",values:[\\\"closest\\\",!1],dflt:\\\"closest\\\",editType:\\\"modebar\\\"},uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"},editType:\\\"plot\\\",_deprecated:{cameraposition:{valType:\\\"info_array\\\",editType:\\\"camera\\\"}}}},{\\\"../../../lib\\\":728,\\\"../../../lib/extend\\\":719,\\\"../../domain\\\":803,\\\"./axis_attributes\\\":820}],825:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../../lib/str2rgbarray\\\"),i=[\\\"xaxis\\\",\\\"yaxis\\\",\\\"zaxis\\\"];function o(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}o.prototype.merge=function(t){for(var e=0;e<3;++e){var n=t[i[e]];n.visible?(this.enabled[e]=n.showspikes,this.colors[e]=r(n.spikecolor),this.drawSides[e]=n.spikesides,this.lineWidth[e]=n.spikethickness):(this.enabled[e]=!1,this.drawSides[e]=!1)}},e.exports=function(t){var e=new o;return e.merge(t),e}},{\\\"../../../lib/str2rgbarray\\\":751}],826:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=t.axesOptions,n=t.glplot.axesPixels,s=t.fullSceneLayout,l=[[],[],[]],u=0;u<3;++u){var c=s[o[u]];if(c._length=(n[u].hi-n[u].lo)*n[u].pixelsPerDataUnit/t.dataScale[u],Math.abs(c._length)===1/0||isNaN(c._length))l[u]=[];else{c._input_range=c.range.slice(),c.range[0]=n[u].lo/t.dataScale[u],c.range[1]=n[u].hi/t.dataScale[u],c._m=1/(t.dataScale[u]*n[u].pixelsPerDataUnit),c.range[0]===c.range[1]&&(c.range[0]-=1,c.range[1]+=1);var h=c.tickmode;if(\\\"auto\\\"===c.tickmode){c.tickmode=\\\"linear\\\";var p=c.nticks||i.constrain(c._length/40,4,9);r.autoTicks(c,Math.abs(c.range[1]-c.range[0])/p)}for(var f=r.calcTicks(c,{msUTC:!0}),d=0;d<f.length;++d)f[d].x=f[d].x*t.dataScale[u],\\\"date\\\"===c.type&&(f[d].text=f[d].text.replace(/\\\\<br\\\\>/g,\\\" \\\"));l[u]=f,c.tickmode=h}}for(e.ticks=l,u=0;u<3;++u)for(a[u]=.5*(t.glplot.bounds[0][u]+t.glplot.bounds[1][u]),d=0;d<2;++d)e.bounds[d][u]=t.glplot.bounds[d][u];t.contourLevels=function(t){for(var e=new Array(3),n=0;n<3;++n){for(var r=t[n],i=new Array(r.length),o=0;o<r.length;++o)i[o]=r[o].x;e[n]=i}return e}(l)};var r=t(\\\"../../cartesian/axes\\\"),i=t(\\\"../../../lib\\\"),o=[\\\"xaxis\\\",\\\"yaxis\\\",\\\"zaxis\\\"],a=[0,0,0]},{\\\"../../../lib\\\":728,\\\"../../cartesian/axes\\\":776}],827:[function(t,e,n){\\\"use strict\\\";function r(t,e){var n,r,i=[0,0,0,0];for(n=0;n<4;++n)for(r=0;r<4;++r)i[r]+=t[4*n+r]*e[n];return i}e.exports=function(t,e){return r(t.projection,r(t.view,r(t.model,[e[0],e[1],e[2],1])))}},{}],828:[function(t,e,n){\\\"use strict\\\";var r,i,o=t(\\\"gl-plot3d\\\"),a=o.createCamera,s=o.createScene,l=t(\\\"webgl-context\\\"),u=t(\\\"has-passive-events\\\"),c=t(\\\"../../registry\\\"),h=t(\\\"../../lib\\\"),p=t(\\\"../../plots/cartesian/axes\\\"),f=t(\\\"../../components/fx\\\"),d=t(\\\"../../lib/str2rgbarray\\\"),m=t(\\\"../../lib/show_no_webgl_msg\\\"),v=t(\\\"./project\\\"),g=t(\\\"./layout/convert\\\"),y=t(\\\"./layout/spikes\\\"),_=t(\\\"./layout/tick_marks\\\"),b=t(\\\"is-mobile\\\")({tablet:!0,featureDetect:!0});function x(t,e){var n=document.createElement(\\\"div\\\"),r=t.container;this.graphDiv=t.graphDiv;var i=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"svg\\\");i.style.position=\\\"absolute\\\",i.style.top=i.style.left=\\\"0px\\\",i.style.width=i.style.height=\\\"100%\\\",i.style[\\\"z-index\\\"]=20,i.style[\\\"pointer-events\\\"]=\\\"none\\\",n.appendChild(i),this.svgContainer=i,n.id=t.id,n.style.position=\\\"absolute\\\",n.style.top=n.style.left=\\\"0px\\\",n.style.width=n.style.height=\\\"100%\\\",r.appendChild(n),this.fullLayout=e,this.id=t.id||\\\"scene\\\",this.fullSceneLayout=e[this.id],this.plotArgs=[[],{},{}],this.axesOptions=g(e,e[this.id]),this.spikeOptions=y(e[this.id]),this.container=n,this.staticMode=!!t.staticPlot,this.pixelRatio=this.pixelRatio||t.plotGlPixelRatio||2,this.dataScale=[1,1,1],this.contourLevels=[[],[],[]],this.convertAnnotations=c.getComponentMethod(\\\"annotations3d\\\",\\\"convert\\\"),this.drawAnnotations=c.getComponentMethod(\\\"annotations3d\\\",\\\"draw\\\"),this.initializeGLPlot()}var w=x.prototype;w.prepareOptions=function(){var t=this,e={canvas:t.canvas,gl:t.gl,glOptions:{preserveDrawingBuffer:b,premultipliedAlpha:!0,antialias:!0},container:t.container,axes:t.axesOptions,spikes:t.spikeOptions,pickRadius:10,snapToData:!0,autoScale:!0,autoBounds:!1,cameraObject:t.camera,pixelRatio:t.pixelRatio};if(t.staticMode){if(!(i||(r=document.createElement(\\\"canvas\\\"),i=l({canvas:r,preserveDrawingBuffer:!0,premultipliedAlpha:!0,antialias:!0}))))throw new Error(\\\"error creating static canvas/context for image server\\\");e.gl=i,e.canvas=r}return e},w.tryCreatePlot=function(){var t=this,e=t.prepareOptions(),n=!0;try{t.glplot=s(e)}catch(r){if(t.staticMode)n=!1;else try{h.warn([\\\"webgl setup failed possibly due to\\\",b?\\\"disabling\\\":\\\"enabling\\\",\\\"preserveDrawingBuffer config.\\\",\\\"The device may not be supported by is-mobile module!\\\",\\\"Inverting preserveDrawingBuffer option in second attempt to create webgl scene.\\\"].join(\\\" \\\")),b=e.glOptions.preserveDrawingBuffer=!e.glOptions.preserveDrawingBuffer,t.glplot=s(e)}catch(t){n=!1}}return n},w.initializeGLCamera=function(){var t=this,e=t.fullSceneLayout.camera,n=\\\"orthographic\\\"===e.projection.type;t.camera=a(t.container,{center:[e.center.x,e.center.y,e.center.z],eye:[e.eye.x,e.eye.y,e.eye.z],up:[e.up.x,e.up.y,e.up.z],_ortho:n,zoomMin:.01,zoomMax:100,mode:\\\"orbit\\\"})},w.initializeGLPlot=function(){var t=this;if(t.initializeGLCamera(),!t.tryCreatePlot())return m(t);t.traces={},t.make4thDimension();var e=t.graphDiv,n=e.layout,r=function(){var e={};return t.isCameraChanged(n)&&(e[t.id+\\\".camera\\\"]=t.getCamera()),t.isAspectChanged(n)&&(e[t.id+\\\".aspectratio\\\"]=t.glplot.getAspectratio(),\\\"manual\\\"!==n[t.id].aspectmode&&(t.fullSceneLayout.aspectmode=n[t.id].aspectmode=e[t.id+\\\".aspectmode\\\"]=\\\"manual\\\")),e},i=function(t){if(!1!==t.fullSceneLayout.dragmode){var e=r();t.saveLayout(n),t.graphDiv.emit(\\\"plotly_relayout\\\",e)}};return t.glplot.canvas.addEventListener(\\\"mouseup\\\",(function(){i(t)})),t.glplot.canvas.addEventListener(\\\"wheel\\\",(function(n){if(e._context._scrollZoom.gl3d){if(t.camera._ortho){var r=n.deltaX>n.deltaY?1.1:1/1.1,o=t.glplot.getAspectratio();t.glplot.setAspectratio({x:r*o.x,y:r*o.y,z:r*o.z})}i(t)}}),!!u&&{passive:!1}),t.glplot.canvas.addEventListener(\\\"mousemove\\\",(function(){if(!1!==t.fullSceneLayout.dragmode&&0!==t.camera.mouseListener.buttons){var e=r();t.graphDiv.emit(\\\"plotly_relayouting\\\",e)}})),t.staticMode||t.glplot.canvas.addEventListener(\\\"webglcontextlost\\\",(function(n){e&&e.emit&&e.emit(\\\"plotly_webglcontextlost\\\",{event:n,layer:t.id})}),!1),t.glplot.oncontextloss=function(){t.recoverContext()},t.glplot.onrender=function(){t.render()},!0},w.render=function(){var t,e=this,n=e.graphDiv,r=e.svgContainer,i=e.container.getBoundingClientRect(),o=i.width,a=i.height;r.setAttributeNS(null,\\\"viewBox\\\",\\\"0 0 \\\"+o+\\\" \\\"+a),r.setAttributeNS(null,\\\"width\\\",o),r.setAttributeNS(null,\\\"height\\\",a),_(e),e.glplot.axes.update(e.axesOptions);for(var s,l=Object.keys(e.traces),u=null,c=e.glplot.selection,d=0;d<l.length;++d)\\\"skip\\\"!==(t=e.traces[l[d]]).data.hoverinfo&&t.handlePick(c)&&(u=t),t.setContourLevels&&t.setContourLevels();function m(t,n){var r=e.fullSceneLayout[t];return p.tickText(r,r.d2l(n),\\\"hover\\\").text}if(null!==u){var g=v(e.glplot.cameraParams,c.dataCoordinate);t=u.data;var y,b=n._fullData[t.index],x=c.index,w={xLabel:m(\\\"xaxis\\\",c.traceCoordinate[0]),yLabel:m(\\\"yaxis\\\",c.traceCoordinate[1]),zLabel:m(\\\"zaxis\\\",c.traceCoordinate[2])},A=f.castHoverinfo(b,e.fullLayout,x),C=(A||\\\"\\\").split(\\\"+\\\"),M=A&&\\\"all\\\"===A;b.hovertemplate||M||(-1===C.indexOf(\\\"x\\\")&&(w.xLabel=void 0),-1===C.indexOf(\\\"y\\\")&&(w.yLabel=void 0),-1===C.indexOf(\\\"z\\\")&&(w.zLabel=void 0),-1===C.indexOf(\\\"text\\\")&&(c.textLabel=void 0),-1===C.indexOf(\\\"name\\\")&&(u.name=void 0));var E=[];\\\"cone\\\"===t.type||\\\"streamtube\\\"===t.type?(w.uLabel=m(\\\"xaxis\\\",c.traceCoordinate[3]),(M||-1!==C.indexOf(\\\"u\\\"))&&E.push(\\\"u: \\\"+w.uLabel),w.vLabel=m(\\\"yaxis\\\",c.traceCoordinate[4]),(M||-1!==C.indexOf(\\\"v\\\"))&&E.push(\\\"v: \\\"+w.vLabel),w.wLabel=m(\\\"zaxis\\\",c.traceCoordinate[5]),(M||-1!==C.indexOf(\\\"w\\\"))&&E.push(\\\"w: \\\"+w.wLabel),w.normLabel=c.traceCoordinate[6].toPrecision(3),(M||-1!==C.indexOf(\\\"norm\\\"))&&E.push(\\\"norm: \\\"+w.normLabel),\\\"streamtube\\\"===t.type&&(w.divergenceLabel=c.traceCoordinate[7].toPrecision(3),(M||-1!==C.indexOf(\\\"divergence\\\"))&&E.push(\\\"divergence: \\\"+w.divergenceLabel)),c.textLabel&&E.push(c.textLabel),y=E.join(\\\"<br>\\\")):\\\"isosurface\\\"===t.type||\\\"volume\\\"===t.type?(w.valueLabel=p.tickText(e._mockAxis,e._mockAxis.d2l(c.traceCoordinate[3]),\\\"hover\\\").text,E.push(\\\"value: \\\"+w.valueLabel),c.textLabel&&E.push(c.textLabel),y=E.join(\\\"<br>\\\")):y=c.textLabel;var T={x:c.traceCoordinate[0],y:c.traceCoordinate[1],z:c.traceCoordinate[2],data:b._input,fullData:b,curveNumber:b.index,pointNumber:x};f.appendArrayPointValue(T,b,x),t._module.eventData&&(T=b._module.eventData(T,c,b,{},x));var S={points:[T]};e.fullSceneLayout.hovermode&&f.loneHover({trace:b,x:(.5+.5*g[0]/g[3])*o,y:(.5-.5*g[1]/g[3])*a,xLabel:w.xLabel,yLabel:w.yLabel,zLabel:w.zLabel,text:y,name:u.name,color:f.castHoverOption(b,x,\\\"bgcolor\\\")||u.color,borderColor:f.castHoverOption(b,x,\\\"bordercolor\\\"),fontFamily:f.castHoverOption(b,x,\\\"font.family\\\"),fontSize:f.castHoverOption(b,x,\\\"font.size\\\"),fontColor:f.castHoverOption(b,x,\\\"font.color\\\"),nameLength:f.castHoverOption(b,x,\\\"namelength\\\"),textAlign:f.castHoverOption(b,x,\\\"align\\\"),hovertemplate:h.castOption(b,x,\\\"hovertemplate\\\"),hovertemplateLabels:h.extendFlat({},T,w),eventData:[T]},{container:r,gd:n}),c.buttons&&c.distance<5?n.emit(\\\"plotly_click\\\",S):n.emit(\\\"plotly_hover\\\",S),s=S}else f.loneUnhover(r),n.emit(\\\"plotly_unhover\\\",s);e.drawAnnotations(e)},w.recoverContext=function(){var t=this;t.glplot.dispose();var e=function(){t.glplot.gl.isContextLost()?requestAnimationFrame(e):t.initializeGLPlot()?t.plot.apply(t,t.plotArgs):h.error(\\\"Catastrophic and unrecoverable WebGL error. Context lost.\\\")};requestAnimationFrame(e)};var A=[\\\"xaxis\\\",\\\"yaxis\\\",\\\"zaxis\\\"];function C(t,e,n){for(var r=t.fullSceneLayout,i=0;i<3;i++){var o=A[i],a=o.charAt(0),s=r[o],l=e[a],u=e[a+\\\"calendar\\\"],c=e[\\\"_\\\"+a+\\\"length\\\"];if(h.isArrayOrTypedArray(l))for(var p,f=0;f<(c||l.length);f++)if(h.isArrayOrTypedArray(l[f]))for(var d=0;d<l[f].length;++d)p=s.d2l(l[f][d],0,u),!isNaN(p)&&isFinite(p)&&(n[0][i]=Math.min(n[0][i],p),n[1][i]=Math.max(n[1][i],p));else p=s.d2l(l[f],0,u),!isNaN(p)&&isFinite(p)&&(n[0][i]=Math.min(n[0][i],p),n[1][i]=Math.max(n[1][i],p));else n[0][i]=Math.min(n[0][i],0),n[1][i]=Math.max(n[1][i],c-1)}}w.plot=function(t,e,n){var r=this;if(r.plotArgs=[t,e,n],!r.glplot.contextLost){var i,o,a,s,l,u,c=e[r.id],h=n[r.id];r.fullLayout=e,r.fullSceneLayout=c,r.axesOptions.merge(e,c),r.spikeOptions.merge(c),r.setViewport(c),r.updateFx(c.dragmode,c.hovermode),r.camera.enableWheel=r.graphDiv._context._scrollZoom.gl3d,r.glplot.setClearColor(d(c.bgcolor)),r.setConvert(l),t?Array.isArray(t)||(t=[t]):t=[];var p=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]];for(a=0;a<t.length;++a)!0===(i=t[a]).visible&&0!==i._length&&C(this,i,p);!function(t,e){for(var n=t.fullSceneLayout,r=n.annotations||[],i=0;i<3;i++)for(var o=A[i],a=o.charAt(0),s=n[o],l=0;l<r.length;l++){var u=r[l];if(u.visible){var c=s.r2l(u[a]);!isNaN(c)&&isFinite(c)&&(e[0][i]=Math.min(e[0][i],c),e[1][i]=Math.max(e[1][i],c))}}}(this,p);var f=[1,1,1];for(s=0;s<3;++s)p[1][s]===p[0][s]?f[s]=1:f[s]=1/(p[1][s]-p[0][s]);for(r.dataScale=f,r.convertAnnotations(this),a=0;a<t.length;++a)!0===(i=t[a]).visible&&0!==i._length&&((o=r.traces[i.uid])?o.data.type===i.type?o.update(i):(o.dispose(),o=i._module.plot(this,i),r.traces[i.uid]=o):(o=i._module.plot(this,i),r.traces[i.uid]=o),o.name=i.name);var m=Object.keys(r.traces);t:for(a=0;a<m.length;++a){for(s=0;s<t.length;++s)if(t[s].uid===m[a]&&!0===t[s].visible&&0!==t[s]._length)continue t;(o=r.traces[m[a]]).dispose(),delete r.traces[m[a]]}r.glplot.objects.sort((function(t,e){return t._trace.data.index-e._trace.data.index}));var v,g=[[0,0,0],[0,0,0]],y=[],_={};for(a=0;a<3;++a){if((u=(l=c[A[a]]).type)in _?(_[u].acc*=f[a],_[u].count+=1):_[u]={acc:f[a],count:1},l.autorange){g[0][a]=1/0,g[1][a]=-1/0;var b=r.glplot.objects,x=r.fullSceneLayout.annotations||[],w=l._name.charAt(0);for(s=0;s<b.length;s++){var M=b[s],E=M.bounds,T=M._trace.data._pad||0;\\\"ErrorBars\\\"===M.constructor.name&&l._lowerLogErrorBound?g[0][a]=Math.min(g[0][a],l._lowerLogErrorBound):g[0][a]=Math.min(g[0][a],E[0][a]/f[a]-T),g[1][a]=Math.max(g[1][a],E[1][a]/f[a]+T)}for(s=0;s<x.length;s++){var S=x[s];if(S.visible){var k=l.r2l(S[w]);g[0][a]=Math.min(g[0][a],k),g[1][a]=Math.max(g[1][a],k)}}if(\\\"rangemode\\\"in l&&\\\"tozero\\\"===l.rangemode&&(g[0][a]=Math.min(g[0][a],0),g[1][a]=Math.max(g[1][a],0)),g[0][a]>g[1][a])g[0][a]=-1,g[1][a]=1;else{var O=g[1][a]-g[0][a];g[0][a]-=O/32,g[1][a]+=O/32}if(\\\"reversed\\\"===l.autorange){var I=g[0][a];g[0][a]=g[1][a],g[1][a]=I}}else{var L=l.range;g[0][a]=l.r2l(L[0]),g[1][a]=l.r2l(L[1])}g[0][a]===g[1][a]&&(g[0][a]-=1,g[1][a]+=1),y[a]=g[1][a]-g[0][a],r.glplot.setBounds(a,{min:g[0][a]*f[a],max:g[1][a]*f[a]})}var P=c.aspectmode;if(\\\"cube\\\"===P)v=[1,1,1];else if(\\\"manual\\\"===P){var z=c.aspectratio;v=[z.x,z.y,z.z]}else{if(\\\"auto\\\"!==P&&\\\"data\\\"!==P)throw new Error(\\\"scene.js aspectRatio was not one of the enumerated types\\\");var R=[1,1,1];for(a=0;a<3;++a){var D=_[u=(l=c[A[a]]).type];R[a]=Math.pow(D.acc,1/D.count)/f[a]}v=\\\"data\\\"===P||Math.max.apply(null,R)/Math.min.apply(null,R)<=4?R:[1,1,1]}c.aspectratio.x=h.aspectratio.x=v[0],c.aspectratio.y=h.aspectratio.y=v[1],c.aspectratio.z=h.aspectratio.z=v[2],r.glplot.setAspectratio(c.aspectratio),r.viewInitial.aspectratio||(r.viewInitial.aspectratio={x:c.aspectratio.x,y:c.aspectratio.y,z:c.aspectratio.z}),r.viewInitial.aspectmode||(r.viewInitial.aspectmode=c.aspectmode);var $=c.domain||null,B=e._size||null;if($&&B){var N=r.container.style;N.position=\\\"absolute\\\",N.left=B.l+$.x[0]*B.w+\\\"px\\\",N.top=B.t+(1-$.y[1])*B.h+\\\"px\\\",N.width=B.w*($.x[1]-$.x[0])+\\\"px\\\",N.height=B.h*($.y[1]-$.y[0])+\\\"px\\\"}r.glplot.redraw()}},w.destroy=function(){var t=this;t.glplot&&(t.camera.mouseListener.enabled=!1,t.container.removeEventListener(\\\"wheel\\\",t.camera.wheelListener),t.camera=null,t.glplot.dispose(),t.container.parentNode.removeChild(t.container),t.glplot=null)},w.getCamera=function(){var t,e=this;return e.camera.view.recalcMatrix(e.camera.view.lastT()),{up:{x:(t=e.camera).up[0],y:t.up[1],z:t.up[2]},center:{x:t.center[0],y:t.center[1],z:t.center[2]},eye:{x:t.eye[0],y:t.eye[1],z:t.eye[2]},projection:{type:!0===t._ortho?\\\"orthographic\\\":\\\"perspective\\\"}}},w.setViewport=function(t){var e,n=this,r=t.camera;n.camera.lookAt.apply(this,[[(e=r).eye.x,e.eye.y,e.eye.z],[e.center.x,e.center.y,e.center.z],[e.up.x,e.up.y,e.up.z]]),n.glplot.setAspectratio(t.aspectratio),\\\"orthographic\\\"===r.projection.type!==n.camera._ortho&&(n.glplot.redraw(),n.glplot.clearRGBA(),n.glplot.dispose(),n.initializeGLPlot())},w.isCameraChanged=function(t){var e=this.getCamera(),n=h.nestedProperty(t,this.id+\\\".camera\\\").get();function r(t,e,n,r){var i=[\\\"up\\\",\\\"center\\\",\\\"eye\\\"],o=[\\\"x\\\",\\\"y\\\",\\\"z\\\"];return e[i[n]]&&t[i[n]][o[r]]===e[i[n]][o[r]]}var i=!1;if(void 0===n)i=!0;else{for(var o=0;o<3;o++)for(var a=0;a<3;a++)if(!r(e,n,o,a)){i=!0;break}(!n.projection||e.projection&&e.projection.type!==n.projection.type)&&(i=!0)}return i},w.isAspectChanged=function(t){var e=this.glplot.getAspectratio(),n=h.nestedProperty(t,this.id+\\\".aspectratio\\\").get();return void 0===n||n.x!==e.x||n.y!==e.y||n.z!==e.z},w.saveLayout=function(t){var e,n,r,i,o,a,s=this,l=s.fullLayout,u=s.isCameraChanged(t),p=s.isAspectChanged(t),f=u||p;if(f){var d={};u&&(e=s.getCamera(),r=(n=h.nestedProperty(t,s.id+\\\".camera\\\")).get(),d[s.id+\\\".camera\\\"]=r),p&&(i=s.glplot.getAspectratio(),a=(o=h.nestedProperty(t,s.id+\\\".aspectratio\\\")).get(),d[s.id+\\\".aspectratio\\\"]=a),c.call(\\\"_storeDirectGUIEdit\\\",t,l._preGUI,d),u&&(n.set(e),h.nestedProperty(l,s.id+\\\".camera\\\").set(e)),p&&(o.set(i),h.nestedProperty(l,s.id+\\\".aspectratio\\\").set(i),s.glplot.redraw())}return f},w.updateFx=function(t,e){var n=this,r=n.camera;if(r)if(\\\"orbit\\\"===t)r.mode=\\\"orbit\\\",r.keyBindingMode=\\\"rotate\\\";else if(\\\"turntable\\\"===t){r.up=[0,0,1],r.mode=\\\"turntable\\\",r.keyBindingMode=\\\"rotate\\\";var i=n.graphDiv,o=i._fullLayout,a=n.fullSceneLayout.camera,s=a.up.x,l=a.up.y,u=a.up.z;if(u/Math.sqrt(s*s+l*l+u*u)<.999){var p=n.id+\\\".camera.up\\\",f={x:0,y:0,z:1},d={};d[p]=f;var m=i.layout;c.call(\\\"_storeDirectGUIEdit\\\",m,o._preGUI,d),a.up=f,h.nestedProperty(m,p).set(f)}}else r.keyBindingMode=t;n.fullSceneLayout.hovermode=e},w.toImage=function(t){var e=this;t||(t=\\\"png\\\"),e.staticMode&&e.container.appendChild(r),e.glplot.redraw();var n=e.glplot.gl,i=n.drawingBufferWidth,o=n.drawingBufferHeight;n.bindFramebuffer(n.FRAMEBUFFER,null);var a=new Uint8Array(i*o*4);n.readPixels(0,0,i,o,n.RGBA,n.UNSIGNED_BYTE,a),function(t,e,n){for(var r=0,i=n-1;r<i;++r,--i)for(var o=0;o<e;++o)for(var a=0;a<4;++a){var s=4*(e*r+o)+a,l=4*(e*i+o)+a,u=t[s];t[s]=t[l],t[l]=u}}(a,i,o),function(t,e,n){for(var r=0;r<n;++r)for(var i=0;i<e;++i){var o=4*(e*r+i),a=t[o+3];if(a>0)for(var s=255/a,l=0;l<3;++l)t[o+l]=Math.min(s*t[o+l],255)}}(a,i,o);var s=document.createElement(\\\"canvas\\\");s.width=i,s.height=o;var l,u=s.getContext(\\\"2d\\\"),c=u.createImageData(i,o);switch(c.data.set(a),u.putImageData(c,0,0),t){case\\\"jpeg\\\":l=s.toDataURL(\\\"image/jpeg\\\");break;case\\\"webp\\\":l=s.toDataURL(\\\"image/webp\\\");break;default:l=s.toDataURL(\\\"image/png\\\")}return e.staticMode&&e.container.removeChild(r),l},w.setConvert=function(){for(var t=0;t<3;t++){var e=this.fullSceneLayout[A[t]];p.setConvert(e,this.fullLayout),e.setScale=h.noop}},w.make4thDimension=function(){var t=this,e=t.graphDiv._fullLayout;t._mockAxis={type:\\\"linear\\\",showexponent:\\\"all\\\",exponentformat:\\\"B\\\"},p.setConvert(t._mockAxis,e)},e.exports=x},{\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../lib/show_no_webgl_msg\\\":749,\\\"../../lib/str2rgbarray\\\":751,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"./layout/convert\\\":822,\\\"./layout/spikes\\\":825,\\\"./layout/tick_marks\\\":826,\\\"./project\\\":827,\\\"gl-plot3d\\\":296,\\\"has-passive-events\\\":410,\\\"is-mobile\\\":420,\\\"webgl-context\\\":558}],829:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r){r=r||t.length;for(var i=new Array(r),o=0;o<r;o++)i[o]=[t[o],e[o],n[o]];return i}},{}],830:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./font_attributes\\\"),i=t(\\\"./animation_attributes\\\"),o=t(\\\"../components/color/attributes\\\"),a=t(\\\"../components/shapes/draw_newshape/attributes\\\"),s=t(\\\"./pad_attributes\\\"),l=t(\\\"../lib/extend\\\").extendFlat,u=r({editType:\\\"calc\\\"});u.family.dflt='\\\"Open Sans\\\", verdana, arial, sans-serif',u.size.dflt=12,u.color.dflt=o.defaultLine,e.exports={font:u,title:{text:{valType:\\\"string\\\",editType:\\\"layoutstyle\\\"},font:r({editType:\\\"layoutstyle\\\"}),xref:{valType:\\\"enumerated\\\",dflt:\\\"container\\\",values:[\\\"container\\\",\\\"paper\\\"],editType:\\\"layoutstyle\\\"},yref:{valType:\\\"enumerated\\\",dflt:\\\"container\\\",values:[\\\"container\\\",\\\"paper\\\"],editType:\\\"layoutstyle\\\"},x:{valType:\\\"number\\\",min:0,max:1,dflt:.5,editType:\\\"layoutstyle\\\"},y:{valType:\\\"number\\\",min:0,max:1,dflt:\\\"auto\\\",editType:\\\"layoutstyle\\\"},xanchor:{valType:\\\"enumerated\\\",dflt:\\\"auto\\\",values:[\\\"auto\\\",\\\"left\\\",\\\"center\\\",\\\"right\\\"],editType:\\\"layoutstyle\\\"},yanchor:{valType:\\\"enumerated\\\",dflt:\\\"auto\\\",values:[\\\"auto\\\",\\\"top\\\",\\\"middle\\\",\\\"bottom\\\"],editType:\\\"layoutstyle\\\"},pad:l(s({editType:\\\"layoutstyle\\\"}),{}),editType:\\\"layoutstyle\\\"},uniformtext:{mode:{valType:\\\"enumerated\\\",values:[!1,\\\"hide\\\",\\\"show\\\"],dflt:!1,editType:\\\"plot\\\"},minsize:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"plot\\\"},editType:\\\"plot\\\"},autosize:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"none\\\"},width:{valType:\\\"number\\\",min:10,dflt:700,editType:\\\"plot\\\"},height:{valType:\\\"number\\\",min:10,dflt:450,editType:\\\"plot\\\"},margin:{l:{valType:\\\"number\\\",min:0,dflt:80,editType:\\\"plot\\\"},r:{valType:\\\"number\\\",min:0,dflt:80,editType:\\\"plot\\\"},t:{valType:\\\"number\\\",min:0,dflt:100,editType:\\\"plot\\\"},b:{valType:\\\"number\\\",min:0,dflt:80,editType:\\\"plot\\\"},pad:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"plot\\\"},autoexpand:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},editType:\\\"plot\\\"},paper_bgcolor:{valType:\\\"color\\\",dflt:o.background,editType:\\\"plot\\\"},plot_bgcolor:{valType:\\\"color\\\",dflt:o.background,editType:\\\"layoutstyle\\\"},separators:{valType:\\\"string\\\",editType:\\\"plot\\\"},hidesources:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"plot\\\"},showlegend:{valType:\\\"boolean\\\",editType:\\\"legend\\\"},colorway:{valType:\\\"colorlist\\\",dflt:o.defaults,editType:\\\"calc\\\"},datarevision:{valType:\\\"any\\\",editType:\\\"calc\\\"},uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"},editrevision:{valType:\\\"any\\\",editType:\\\"none\\\"},selectionrevision:{valType:\\\"any\\\",editType:\\\"none\\\"},template:{valType:\\\"any\\\",editType:\\\"calc\\\"},modebar:{orientation:{valType:\\\"enumerated\\\",values:[\\\"v\\\",\\\"h\\\"],dflt:\\\"h\\\",editType:\\\"modebar\\\"},bgcolor:{valType:\\\"color\\\",editType:\\\"modebar\\\"},color:{valType:\\\"color\\\",editType:\\\"modebar\\\"},activecolor:{valType:\\\"color\\\",editType:\\\"modebar\\\"},uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"},editType:\\\"modebar\\\"},newshape:a.newshape,activeshape:a.activeshape,meta:{valType:\\\"any\\\",arrayOk:!0,editType:\\\"plot\\\"},transition:l({},i.transition,{editType:\\\"none\\\"}),_deprecated:{title:{valType:\\\"string\\\",editType:\\\"layoutstyle\\\"},titlefont:r({editType:\\\"layoutstyle\\\"})}}},{\\\"../components/color/attributes\\\":594,\\\"../components/shapes/draw_newshape/attributes\\\":677,\\\"../lib/extend\\\":719,\\\"./animation_attributes\\\":771,\\\"./font_attributes\\\":804,\\\"./pad_attributes\\\":838}],831:[function(t,e,n){\\\"use strict\\\";var r=\\\"1.10.1\\\",i={\\\"open-street-map\\\":{id:\\\"osm\\\",version:8,sources:{\\\"plotly-osm-tiles\\\":{type:\\\"raster\\\",attribution:'<a href=\\\"http://www.openstreetmap.org/about/\\\" target=\\\"_blank\\\">© OpenStreetMap</a>',tiles:[\\\"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png\\\",\\\"https://b.tile.openstreetmap.org/{z}/{x}/{y}.png\\\"],tileSize:256}},layers:[{id:\\\"plotly-osm-tiles\\\",type:\\\"raster\\\",source:\\\"plotly-osm-tiles\\\",minzoom:0,maxzoom:22}]},\\\"white-bg\\\":{id:\\\"white-bg\\\",version:8,sources:{},layers:[{id:\\\"white-bg\\\",type:\\\"background\\\",paint:{\\\"background-color\\\":\\\"#FFFFFF\\\"},minzoom:0,maxzoom:22}]},\\\"carto-positron\\\":{id:\\\"carto-positron\\\",version:8,sources:{\\\"plotly-carto-positron\\\":{type:\\\"raster\\\",attribution:'<a href=\\\"https://carto.com/\\\" target=\\\"_blank\\\">© CARTO</a>',tiles:[\\\"https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png\\\"],tileSize:256}},layers:[{id:\\\"plotly-carto-positron\\\",type:\\\"raster\\\",source:\\\"plotly-carto-positron\\\",minzoom:0,maxzoom:22}]},\\\"carto-darkmatter\\\":{id:\\\"carto-darkmatter\\\",version:8,sources:{\\\"plotly-carto-darkmatter\\\":{type:\\\"raster\\\",attribution:'<a href=\\\"https://carto.com/\\\" target=\\\"_blank\\\">© CARTO</a>',tiles:[\\\"https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png\\\"],tileSize:256}},layers:[{id:\\\"plotly-carto-darkmatter\\\",type:\\\"raster\\\",source:\\\"plotly-carto-darkmatter\\\",minzoom:0,maxzoom:22}]},\\\"stamen-terrain\\\":{id:\\\"stamen-terrain\\\",version:8,sources:{\\\"plotly-stamen-terrain\\\":{type:\\\"raster\\\",attribution:'Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a> | Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.',tiles:[\\\"https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png\\\"],tileSize:256}},layers:[{id:\\\"plotly-stamen-terrain\\\",type:\\\"raster\\\",source:\\\"plotly-stamen-terrain\\\",minzoom:0,maxzoom:22}]},\\\"stamen-toner\\\":{id:\\\"stamen-toner\\\",version:8,sources:{\\\"plotly-stamen-toner\\\":{type:\\\"raster\\\",attribution:'Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a> | Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.',tiles:[\\\"https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png\\\"],tileSize:256}},layers:[{id:\\\"plotly-stamen-toner\\\",type:\\\"raster\\\",source:\\\"plotly-stamen-toner\\\",minzoom:0,maxzoom:22}]},\\\"stamen-watercolor\\\":{id:\\\"stamen-watercolor\\\",version:8,sources:{\\\"plotly-stamen-watercolor\\\":{type:\\\"raster\\\",attribution:'Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a> | Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://creativecommons.org/licenses/by-sa/3.0\\\">CC BY SA</a>.',tiles:[\\\"https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png\\\"],tileSize:256}},layers:[{id:\\\"plotly-stamen-watercolor\\\",type:\\\"raster\\\",source:\\\"plotly-stamen-watercolor\\\",minzoom:0,maxzoom:22}]}},o=Object.keys(i);e.exports={requiredVersion:r,styleUrlPrefix:\\\"mapbox://styles/mapbox/\\\",styleUrlSuffix:\\\"v9\\\",styleValuesMapbox:[\\\"basic\\\",\\\"streets\\\",\\\"outdoors\\\",\\\"light\\\",\\\"dark\\\",\\\"satellite\\\",\\\"satellite-streets\\\"],styleValueDflt:\\\"basic\\\",stylesNonMapbox:i,styleValuesNonMapbox:o,traceLayerPrefix:\\\"plotly-trace-layer-\\\",layoutLayerPrefix:\\\"plotly-layout-layer-\\\",wrongVersionErrorMsg:[\\\"Your custom plotly.js bundle is not using the correct mapbox-gl version\\\",\\\"Please install mapbox-gl@1.10.1.\\\"].join(\\\"\\\\n\\\"),noAccessTokenErrorMsg:[\\\"Missing Mapbox access token.\\\",\\\"Mapbox trace type require a Mapbox access token to be registered.\\\",\\\"For example:\\\",\\\" Plotly.plot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });\\\",\\\"More info here: https://www.mapbox.com/help/define-access-token/\\\"].join(\\\"\\\\n\\\"),missingStyleErrorMsg:[\\\"No valid mapbox style found, please set `mapbox.style` to one of:\\\",o.join(\\\", \\\"),\\\"or register a Mapbox access token to use a Mapbox-served style.\\\"].join(\\\"\\\\n\\\"),multipleTokensErrorMsg:[\\\"Set multiple mapbox access token across different mapbox subplot,\\\",\\\"using first token found as mapbox-gl does not allow multipleaccess tokens on the same page.\\\"].join(\\\"\\\\n\\\"),mapOnErrorMsg:\\\"Mapbox error.\\\",mapboxLogo:{path0:\\\"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z\\\",path1:\\\"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z\\\",path2:\\\"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z\\\",polygon:\\\"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34\\\"},styleRules:{map:\\\"overflow:hidden;position:relative;\\\",\\\"missing-css\\\":\\\"display:none;\\\",canary:\\\"background-color:salmon;\\\",\\\"ctrl-bottom-left\\\":\\\"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;\\\",\\\"ctrl-bottom-right\\\":\\\"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;\\\",ctrl:\\\"clear: both; pointer-events: auto; transform: translate(0, 0);\\\",\\\"ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner\\\":\\\"display: none;\\\",\\\"ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner\\\":\\\"display: block; margin-top:2px\\\",\\\"ctrl-attrib.mapboxgl-compact:hover\\\":\\\"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;\\\",\\\"ctrl-attrib.mapboxgl-compact::after\\\":'content: \\\"\\\"; cursor: pointer; position: absolute; background-image: url(\\\\'data:image/svg+xml;charset=utf-8,%3Csvg viewBox=\\\"0 0 20 20\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"%3E %3Cpath fill=\\\"%23333333\\\" fill-rule=\\\"evenodd\\\" d=\\\"M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0\\\"/%3E %3C/svg%3E\\\\'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;',\\\"ctrl-attrib.mapboxgl-compact\\\":\\\"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;\\\",\\\"ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after\\\":\\\"bottom: 0; right: 0\\\",\\\"ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after\\\":\\\"bottom: 0; left: 0\\\",\\\"ctrl-bottom-left .mapboxgl-ctrl\\\":\\\"margin: 0 0 10px 10px; float: left;\\\",\\\"ctrl-bottom-right .mapboxgl-ctrl\\\":\\\"margin: 0 10px 10px 0; float: right;\\\",\\\"ctrl-attrib\\\":\\\"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px\\\",\\\"ctrl-attrib a\\\":\\\"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px\\\",\\\"ctrl-attrib a:hover\\\":\\\"color: inherit; text-decoration: underline;\\\",\\\"ctrl-attrib .mapbox-improve-map\\\":\\\"font-weight: bold; margin-left: 2px;\\\",\\\"attrib-empty\\\":\\\"display: none;\\\",\\\"ctrl-logo\\\":'display:block; width: 21px; height: 21px; background-image: url(\\\\'data:image/svg+xml;charset=utf-8,%3C?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\"?%3E %3Csvg version=\\\"1.1\\\" id=\\\"Layer_1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" x=\\\"0px\\\" y=\\\"0px\\\" viewBox=\\\"0 0 21 21\\\" style=\\\"enable-background:new 0 0 21 21;\\\" xml:space=\\\"preserve\\\"%3E%3Cg transform=\\\"translate(0,0.01)\\\"%3E%3Cpath d=\\\"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z\\\" style=\\\"opacity:0.9;fill:%23ffffff;enable-background:new\\\" class=\\\"st0\\\"/%3E%3Cpath d=\\\"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z\\\" style=\\\"opacity:0.35;enable-background:new\\\" class=\\\"st1\\\"/%3E%3Cpath d=\\\"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z\\\" style=\\\"opacity:0.35;enable-background:new\\\" class=\\\"st1\\\"/%3E%3Cpolygon points=\\\"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 \\\" style=\\\"opacity:0.9;fill:%23ffffff;enable-background:new\\\" class=\\\"st0\\\"/%3E%3C/g%3E%3C/svg%3E\\\\')'}}},{}],832:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e){var n=t.split(\\\" \\\"),i=n[0],o=n[1],a=r.isArrayOrTypedArray(e)?r.mean(e):e,s=.5+a/100,l=1.5+a/100,u=[\\\"\\\",\\\"\\\"],c=[0,0];switch(i){case\\\"top\\\":u[0]=\\\"top\\\",c[1]=-l;break;case\\\"bottom\\\":u[0]=\\\"bottom\\\",c[1]=l}switch(o){case\\\"left\\\":u[1]=\\\"right\\\",c[0]=-s;break;case\\\"right\\\":u[1]=\\\"left\\\",c[0]=s}return{anchor:u[0]&&u[1]?u.join(\\\"-\\\"):u[0]?u[0]:u[1]?u[1]:\\\"center\\\",offset:c}}},{\\\"../../lib\\\":728}],833:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"mapbox-gl\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/get_data\\\").getSubplotCalcData,a=t(\\\"../../constants/xmlns_namespaces\\\"),s=t(\\\"d3\\\"),l=t(\\\"../../components/drawing\\\"),u=t(\\\"../../lib/svg_text_utils\\\"),c=t(\\\"./mapbox\\\"),h=\\\"mapbox\\\",p=n.constants=t(\\\"./constants\\\");function f(t){return\\\"string\\\"==typeof t&&(-1!==p.styleValuesMapbox.indexOf(t)||0===t.indexOf(\\\"mapbox://\\\"))}n.name=h,n.attr=\\\"subplot\\\",n.idRoot=h,n.idRegex=n.attrRegex=i.counterRegex(h),n.attributes={subplot:{valType:\\\"subplotid\\\",dflt:\\\"mapbox\\\",editType:\\\"calc\\\"}},n.layoutAttributes=t(\\\"./layout_attributes\\\"),n.supplyLayoutDefaults=t(\\\"./layout_defaults\\\"),n.plot=function(t){var e=t._fullLayout,n=t.calcdata,a=e._subplots.mapbox;if(r.version!==p.requiredVersion)throw new Error(p.wrongVersionErrorMsg);var s=function(t,e){var n=t._fullLayout;if(\\\"\\\"===t._context.mapboxAccessToken)return\\\"\\\";for(var r=[],o=[],a=!1,s=!1,l=0;l<e.length;l++){var u=n[e[l]],c=u.accesstoken;f(u.style)&&(c?i.pushUnique(r,c):(f(u._input.style)&&(i.error(\\\"Uses Mapbox map style, but did not set an access token.\\\"),a=!0),s=!0)),c&&i.pushUnique(o,c)}if(s){var h=a?p.noAccessTokenErrorMsg:p.missingStyleErrorMsg;throw i.error(h),new Error(h)}return r.length?(r.length>1&&i.warn(p.multipleTokensErrorMsg),r[0]):(o.length&&i.log([\\\"Listed mapbox access token(s)\\\",o.join(\\\",\\\"),\\\"but did not use a Mapbox map style, ignoring token(s).\\\"].join(\\\" \\\")),\\\"\\\")}(t,a);r.accessToken=s;for(var l=0;l<a.length;l++){var u=a[l],d=o(n,h,u),m=e[u],v=m._subplot;v||(v=new c(t,u),e[u]._subplot=v),v.viewInitial||(v.viewInitial={center:i.extendFlat({},m.center),zoom:m.zoom,bearing:m.bearing,pitch:m.pitch}),v.plot(d,e,t._promises)}},n.clean=function(t,e,n,r){for(var i=r._subplots.mapbox||[],o=0;o<i.length;o++){var a=i[o];!e[a]&&r[a]._subplot&&r[a]._subplot.destroy()}},n.toSVG=function(t){for(var e=t._fullLayout,n=e._subplots.mapbox,r=e._size,i=0;i<n.length;i++){var o=e[n[i]],c=o.domain,h=o._subplot.toImage(\\\"png\\\");e._glimages.append(\\\"svg:image\\\").attr({xmlns:a.svg,\\\"xlink:href\\\":h,x:r.l+r.w*c.x[0],y:r.t+r.h*(1-c.y[1]),width:r.w*(c.x[1]-c.x[0]),height:r.h*(c.y[1]-c.y[0]),preserveAspectRatio:\\\"none\\\"});var f=s.select(o._subplot.div);if(null!==f.select(\\\".mapboxgl-ctrl-logo\\\").node().offsetParent){var d=e._glimages.append(\\\"g\\\");d.attr(\\\"transform\\\",\\\"translate(\\\"+(r.l+r.w*c.x[0]+10)+\\\", \\\"+(r.t+r.h*(1-c.y[0])-31)+\\\")\\\"),d.append(\\\"path\\\").attr(\\\"d\\\",p.mapboxLogo.path0).style({opacity:.9,fill:\\\"#ffffff\\\",\\\"enable-background\\\":\\\"new\\\"}),d.append(\\\"path\\\").attr(\\\"d\\\",p.mapboxLogo.path1).style(\\\"opacity\\\",.35).style(\\\"enable-background\\\",\\\"new\\\"),d.append(\\\"path\\\").attr(\\\"d\\\",p.mapboxLogo.path2).style(\\\"opacity\\\",.35).style(\\\"enable-background\\\",\\\"new\\\"),d.append(\\\"polygon\\\").attr(\\\"points\\\",p.mapboxLogo.polygon).style({opacity:.9,fill:\\\"#ffffff\\\",\\\"enable-background\\\":\\\"new\\\"})}var m=f.select(\\\".mapboxgl-ctrl-attrib\\\").text().replace(\\\"Improve this map\\\",\\\"\\\"),v=e._glimages.append(\\\"g\\\"),g=v.append(\\\"text\\\");g.text(m).classed(\\\"static-attribution\\\",!0).attr({\\\"font-size\\\":12,\\\"font-family\\\":\\\"Arial\\\",color:\\\"rgba(0, 0, 0, 0.75)\\\",\\\"text-anchor\\\":\\\"end\\\",\\\"data-unformatted\\\":m});var y=l.bBox(g.node()),_=r.w*(c.x[1]-c.x[0]);if(y.width>_/2){var b=m.split(\\\"|\\\").join(\\\"<br>\\\");g.text(b).attr(\\\"data-unformatted\\\",b).call(u.convertToTspans,t),y=l.bBox(g.node())}g.attr(\\\"transform\\\",\\\"translate(-3, \\\"+(8-y.height)+\\\")\\\"),v.insert(\\\"rect\\\",\\\".static-attribution\\\").attr({x:-y.width-6,y:-y.height-3,width:y.width+6,height:y.height+3,fill:\\\"rgba(255, 255, 255, 0.75)\\\"});var x=1;y.width+6>_&&(x=_/(y.width+6));var w=[r.l+r.w*c.x[1],r.t+r.h*(1-c.y[0])];v.attr(\\\"transform\\\",\\\"translate(\\\"+w[0]+\\\",\\\"+w[1]+\\\") scale(\\\"+x+\\\")\\\")}},n.updateFx=function(t){for(var e=t._fullLayout,n=e._subplots.mapbox,r=0;r<n.length;r++)e[n[r]]._subplot.updateFx(e)}},{\\\"../../components/drawing\\\":617,\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/get_data\\\":813,\\\"./constants\\\":831,\\\"./layout_attributes\\\":835,\\\"./layout_defaults\\\":836,\\\"./mapbox\\\":837,d3:164,\\\"mapbox-gl\\\":426}],834:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../lib/svg_text_utils\\\").sanitizeHTML,o=t(\\\"./convert_text_opts\\\"),a=t(\\\"./constants\\\");function s(t,e){this.subplot=t,this.uid=t.uid+\\\"-\\\"+e,this.index=e,this.idSource=\\\"source-\\\"+this.uid,this.idLayer=a.layoutLayerPrefix+this.uid,this.sourceType=null,this.source=null,this.layerType=null,this.below=null,this.visible=!1}var l=s.prototype;function u(t){if(!t.visible)return!1;var e=t.source;if(Array.isArray(e)&&e.length>0){for(var n=0;n<e.length;n++)if(\\\"string\\\"!=typeof e[n]||0===e[n].length)return!1;return!0}return r.isPlainObject(e)||\\\"string\\\"==typeof e&&e.length>0}function c(t){var e={},n={};switch(t.type){case\\\"circle\\\":r.extendFlat(n,{\\\"circle-radius\\\":t.circle.radius,\\\"circle-color\\\":t.color,\\\"circle-opacity\\\":t.opacity});break;case\\\"line\\\":r.extendFlat(n,{\\\"line-width\\\":t.line.width,\\\"line-color\\\":t.color,\\\"line-opacity\\\":t.opacity,\\\"line-dasharray\\\":t.line.dash});break;case\\\"fill\\\":r.extendFlat(n,{\\\"fill-color\\\":t.color,\\\"fill-outline-color\\\":t.fill.outlinecolor,\\\"fill-opacity\\\":t.opacity});break;case\\\"symbol\\\":var i=t.symbol,a=o(i.textposition,i.iconsize);r.extendFlat(e,{\\\"icon-image\\\":i.icon+\\\"-15\\\",\\\"icon-size\\\":i.iconsize/10,\\\"text-field\\\":i.text,\\\"text-size\\\":i.textfont.size,\\\"text-anchor\\\":a.anchor,\\\"text-offset\\\":a.offset,\\\"symbol-placement\\\":i.placement}),r.extendFlat(n,{\\\"icon-color\\\":t.color,\\\"text-color\\\":i.textfont.color,\\\"text-opacity\\\":t.opacity});break;case\\\"raster\\\":r.extendFlat(n,{\\\"raster-fade-duration\\\":0,\\\"raster-opacity\\\":t.opacity})}return{layout:e,paint:n}}l.update=function(t){this.visible?this.needsNewImage(t)?this.updateImage(t):this.needsNewSource(t)?(this.removeLayer(),this.updateSource(t),this.updateLayer(t)):this.needsNewLayer(t)?this.updateLayer(t):this.updateStyle(t):(this.updateSource(t),this.updateLayer(t)),this.visible=u(t)},l.needsNewImage=function(t){return this.subplot.map.getSource(this.idSource)&&\\\"image\\\"===this.sourceType&&\\\"image\\\"===t.sourcetype&&(this.source!==t.source||JSON.stringify(this.coordinates)!==JSON.stringify(t.coordinates))},l.needsNewSource=function(t){return this.sourceType!==t.sourcetype||this.source!==t.source||this.layerType!==t.type},l.needsNewLayer=function(t){return this.layerType!==t.type||this.below!==this.subplot.belowLookup[\\\"layout-\\\"+this.index]},l.updateImage=function(t){this.subplot.map.getSource(this.idSource).updateImage({url:t.source,coordinates:t.coordinates})},l.updateSource=function(t){var e=this.subplot.map;if(e.getSource(this.idSource)&&e.removeSource(this.idSource),this.sourceType=t.sourcetype,this.source=t.source,u(t)){var n=function(t){var e,n=t.sourcetype,r=t.source,o={type:n};return\\\"geojson\\\"===n?e=\\\"data\\\":\\\"vector\\\"===n?e=\\\"string\\\"==typeof r?\\\"url\\\":\\\"tiles\\\":\\\"raster\\\"===n?(e=\\\"tiles\\\",o.tileSize=256):\\\"image\\\"===n&&(e=\\\"url\\\",o.coordinates=t.coordinates),o[e]=r,t.sourceattribution&&(o.attribution=i(t.sourceattribution)),o}(t);e.addSource(this.idSource,n)}},l.updateLayer=function(t){var e,n=this.subplot,r=c(t),i=this.subplot.belowLookup[\\\"layout-\\\"+this.index];if(\\\"traces\\\"===i)for(var o=n.getMapLayers(),s=0;s<o.length;s++){var l=o[s].id;if(\\\"string\\\"==typeof l&&0===l.indexOf(a.traceLayerPrefix)){e=l;break}}else e=i;this.removeLayer(),u(t)&&n.addLayer({id:this.idLayer,source:this.idSource,\\\"source-layer\\\":t.sourcelayer||\\\"\\\",type:t.type,minzoom:t.minzoom,maxzoom:t.maxzoom,layout:r.layout,paint:r.paint},e),this.layerType=t.type,this.below=i},l.updateStyle=function(t){if(u(t)){var e=c(t);this.subplot.setOptions(this.idLayer,\\\"setLayoutProperty\\\",e.layout),this.subplot.setOptions(this.idLayer,\\\"setPaintProperty\\\",e.paint)}},l.removeLayer=function(){var t=this.subplot.map;t.getLayer(this.idLayer)&&t.removeLayer(this.idLayer)},l.dispose=function(){var t=this.subplot.map;t.getLayer(this.idLayer)&&t.removeLayer(this.idLayer),t.getSource(this.idSource)&&t.removeSource(this.idSource)},e.exports=function(t,e,n){var r=new s(t,e);return r.update(n),r}},{\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"./constants\\\":831,\\\"./convert_text_opts\\\":832}],835:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/color\\\").defaultLine,o=t(\\\"../domain\\\").attributes,a=t(\\\"../font_attributes\\\"),s=t(\\\"../../traces/scatter/attributes\\\").textposition,l=t(\\\"../../plot_api/edit_types\\\").overrideAll,u=t(\\\"../../plot_api/plot_template\\\").templatedArray,c=t(\\\"./constants\\\"),h=a({});h.family.dflt=\\\"Open Sans Regular, Arial Unicode MS Regular\\\",(e.exports=l({_arrayAttrRegexps:[r.counterRegex(\\\"mapbox\\\",\\\".layers\\\",!0)],domain:o({name:\\\"mapbox\\\"}),accesstoken:{valType:\\\"string\\\",noBlank:!0,strict:!0},style:{valType:\\\"any\\\",values:c.styleValuesMapbox.concat(c.styleValuesNonMapbox),dflt:c.styleValueDflt},center:{lon:{valType:\\\"number\\\",dflt:0},lat:{valType:\\\"number\\\",dflt:0}},zoom:{valType:\\\"number\\\",dflt:1},bearing:{valType:\\\"number\\\",dflt:0},pitch:{valType:\\\"number\\\",dflt:0},layers:u(\\\"layer\\\",{visible:{valType:\\\"boolean\\\",dflt:!0},sourcetype:{valType:\\\"enumerated\\\",values:[\\\"geojson\\\",\\\"vector\\\",\\\"raster\\\",\\\"image\\\"],dflt:\\\"geojson\\\"},source:{valType:\\\"any\\\"},sourcelayer:{valType:\\\"string\\\",dflt:\\\"\\\"},sourceattribution:{valType:\\\"string\\\"},type:{valType:\\\"enumerated\\\",values:[\\\"circle\\\",\\\"line\\\",\\\"fill\\\",\\\"symbol\\\",\\\"raster\\\"],dflt:\\\"circle\\\"},coordinates:{valType:\\\"any\\\"},below:{valType:\\\"string\\\"},color:{valType:\\\"color\\\",dflt:i},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1},minzoom:{valType:\\\"number\\\",min:0,max:24,dflt:0},maxzoom:{valType:\\\"number\\\",min:0,max:24,dflt:24},circle:{radius:{valType:\\\"number\\\",dflt:15}},line:{width:{valType:\\\"number\\\",dflt:2},dash:{valType:\\\"data_array\\\"}},fill:{outlinecolor:{valType:\\\"color\\\",dflt:i}},symbol:{icon:{valType:\\\"string\\\",dflt:\\\"marker\\\"},iconsize:{valType:\\\"number\\\",dflt:10},text:{valType:\\\"string\\\",dflt:\\\"\\\"},placement:{valType:\\\"enumerated\\\",values:[\\\"point\\\",\\\"line\\\",\\\"line-center\\\"],dflt:\\\"point\\\"},textfont:h,textposition:r.extendFlat({},s,{arrayOk:!1})}})},\\\"plot\\\",\\\"from-root\\\")).uirevision={valType:\\\"any\\\",editType:\\\"none\\\"}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../../plot_api/edit_types\\\":759,\\\"../../plot_api/plot_template\\\":766,\\\"../../traces/scatter/attributes\\\":1134,\\\"../domain\\\":803,\\\"../font_attributes\\\":804,\\\"./constants\\\":831}],836:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../subplot_defaults\\\"),o=t(\\\"../array_container_defaults\\\"),a=t(\\\"./layout_attributes\\\");function s(t,e,n,r){n(\\\"accesstoken\\\",r.accessToken),n(\\\"style\\\"),n(\\\"center.lon\\\"),n(\\\"center.lat\\\"),n(\\\"zoom\\\"),n(\\\"bearing\\\"),n(\\\"pitch\\\"),o(t,e,{name:\\\"layers\\\",handleItemDefaults:l}),e._input=t}function l(t,e){function n(n,i){return r.coerce(t,e,a.layers,n,i)}if(n(\\\"visible\\\")){var i,o=n(\\\"sourcetype\\\"),s=\\\"raster\\\"===o||\\\"image\\\"===o;n(\\\"source\\\"),n(\\\"sourceattribution\\\"),\\\"vector\\\"===o&&n(\\\"sourcelayer\\\"),\\\"image\\\"===o&&n(\\\"coordinates\\\"),s&&(i=\\\"raster\\\");var l=n(\\\"type\\\",i);s&&\\\"raster\\\"!==l&&(l=e.type=\\\"raster\\\",r.log(\\\"Source types *raster* and *image* must drawn *raster* layer type.\\\")),n(\\\"below\\\"),n(\\\"color\\\"),n(\\\"opacity\\\"),n(\\\"minzoom\\\"),n(\\\"maxzoom\\\"),\\\"circle\\\"===l&&n(\\\"circle.radius\\\"),\\\"line\\\"===l&&(n(\\\"line.width\\\"),n(\\\"line.dash\\\")),\\\"fill\\\"===l&&n(\\\"fill.outlinecolor\\\"),\\\"symbol\\\"===l&&(n(\\\"symbol.icon\\\"),n(\\\"symbol.iconsize\\\"),n(\\\"symbol.text\\\"),r.coerceFont(n,\\\"symbol.textfont\\\"),n(\\\"symbol.textposition\\\"),n(\\\"symbol.placement\\\"))}}e.exports=function(t,e,n){i(t,e,n,{type:\\\"mapbox\\\",attributes:a,handleDefaults:s,partition:\\\"y\\\",accessToken:e._mapboxAccessToken})}},{\\\"../../lib\\\":728,\\\"../array_container_defaults\\\":772,\\\"../subplot_defaults\\\":853,\\\"./layout_attributes\\\":835}],837:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"mapbox-gl\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../lib/geo_location_utils\\\"),a=t(\\\"../../registry\\\"),s=t(\\\"../cartesian/axes\\\"),l=t(\\\"../../components/dragelement\\\"),u=t(\\\"../../components/fx\\\"),c=t(\\\"../../components/dragelement/helpers\\\"),h=c.rectMode,p=c.drawMode,f=c.selectMode,d=t(\\\"../cartesian/select\\\").prepSelect,m=t(\\\"../cartesian/select\\\").clearSelect,v=t(\\\"../cartesian/select\\\").clearSelectionsCache,g=t(\\\"../cartesian/select\\\").selectOnClick,y=t(\\\"./constants\\\"),_=t(\\\"./layers\\\");function b(t,e){this.id=e,this.gd=t;var n=t._fullLayout,r=t._context;this.container=n._glcontainer.node(),this.isStatic=r.staticPlot,this.uid=n._uid+\\\"-\\\"+this.id,this.div=null,this.xaxis=null,this.yaxis=null,this.createFramework(n),this.map=null,this.accessToken=null,this.styleObj=null,this.traceHash={},this.layerList=[],this.belowLookup={},this.dragging=!1,this.wheeling=!1}var x=b.prototype;x.plot=function(t,e,n){var r,i=this,o=e[i.id];i.map&&o.accesstoken!==i.accessToken&&(i.map.remove(),i.map=null,i.styleObj=null,i.traceHash={},i.layerList=[]),r=i.map?new Promise((function(n,r){i.updateMap(t,e,n,r)})):new Promise((function(n,r){i.createMap(t,e,n,r)})),n.push(r)},x.createMap=function(t,e,n,i){var a=this,s=e[a.id],l=a.styleObj=A(s.style);a.accessToken=s.accesstoken;var u=a.map=new r.Map({container:a.div,style:l.style,center:M(s.center),zoom:s.zoom,bearing:s.bearing,pitch:s.pitch,interactive:!a.isStatic,preserveDrawingBuffer:a.isStatic,doubleClickZoom:!1,boxZoom:!1,attributionControl:!1}).addControl(new r.AttributionControl({compact:!0}));u._canvas.style.left=\\\"0px\\\",u._canvas.style.top=\\\"0px\\\",a.rejectOnError(i),a.isStatic||a.initFx(t,e);var c=[];c.push(new Promise((function(t){u.once(\\\"load\\\",t)}))),c=c.concat(o.fetchTraceGeoData(t)),Promise.all(c).then((function(){a.fillBelowLookup(t,e),a.updateData(t),a.updateLayout(e),a.resolveOnRender(n)})).catch(i)},x.updateMap=function(t,e,n,r){var i=this,a=i.map,s=e[this.id];i.rejectOnError(r);var l=[],u=A(s.style);JSON.stringify(i.styleObj)!==JSON.stringify(u)&&(i.styleObj=u,a.setStyle(u.style),i.traceHash={},l.push(new Promise((function(t){a.once(\\\"styledata\\\",t)})))),l=l.concat(o.fetchTraceGeoData(t)),Promise.all(l).then((function(){i.fillBelowLookup(t,e),i.updateData(t),i.updateLayout(e),i.resolveOnRender(n)})).catch(r)},x.fillBelowLookup=function(t,e){var n,r,i=e[this.id].layers,o=this.belowLookup={},a=!1;for(n=0;n<t.length;n++){var s=t[n][0].trace,l=s._module;\\\"string\\\"==typeof s.below?r=s.below:l.getBelow&&(r=l.getBelow(s,this)),\\\"\\\"===r&&(a=!0),o[\\\"trace-\\\"+s.uid]=r||\\\"\\\"}for(n=0;n<i.length;n++){var u=i[n];r=\\\"string\\\"==typeof u.below?u.below:a?\\\"traces\\\":\\\"\\\",o[\\\"layout-\\\"+n]=r}var c,h,p={};for(c in o)p[r=o[c]]?p[r].push(c):p[r]=[c];for(r in p){var f=p[r];if(f.length>1)for(n=0;n<f.length;n++)0===(c=f[n]).indexOf(\\\"trace-\\\")?(h=c.split(\\\"trace-\\\")[1],this.traceHash[h]&&(this.traceHash[h].below=null)):0===c.indexOf(\\\"layout-\\\")&&(h=c.split(\\\"layout-\\\")[1],this.layerList[h]&&(this.layerList[h].below=null))}};var w={choroplethmapbox:0,densitymapbox:1,scattermapbox:2};function A(t){var e={};return i.isPlainObject(t)?(e.id=t.id,e.style=t):\\\"string\\\"==typeof t?(e.id=t,-1!==y.styleValuesMapbox.indexOf(t)?e.style=C(t):y.stylesNonMapbox[t]?e.style=y.stylesNonMapbox[t]:e.style=t):(e.id=y.styleValueDflt,e.style=C(y.styleValueDflt)),e.transition={duration:0,delay:0},e}function C(t){return y.styleUrlPrefix+t+\\\"-\\\"+y.styleUrlSuffix}function M(t){return[t.lon,t.lat]}x.updateData=function(t){var e,n,r,i,o=this.traceHash,a=t.slice().sort((function(t,e){return w[t[0].trace.type]-w[e[0].trace.type]}));for(r=0;r<a.length;r++){var s=a[r],l=!1;(e=o[(n=s[0].trace).uid])&&(e.type===n.type?(e.update(s),l=!0):e.dispose()),!l&&n._module&&(o[n.uid]=n._module.plot(this,s))}var u=Object.keys(o);t:for(r=0;r<u.length;r++){var c=u[r];for(i=0;i<t.length;i++)if(c===(n=t[i][0].trace).uid)continue t;(e=o[c]).dispose(),delete o[c]}},x.updateLayout=function(t){var e=this.map,n=t[this.id];this.dragging||this.wheeling||(e.setCenter(M(n.center)),e.setZoom(n.zoom),e.setBearing(n.bearing),e.setPitch(n.pitch)),this.updateLayers(t),this.updateFramework(t),this.updateFx(t),this.map.resize(),this.gd._context._scrollZoom.mapbox?e.scrollZoom.enable():e.scrollZoom.disable()},x.resolveOnRender=function(t){var e=this.map;e.on(\\\"render\\\",(function n(){e.loaded()&&(e.off(\\\"render\\\",n),setTimeout(t,10))}))},x.rejectOnError=function(t){var e=this.map;function n(){t(new Error(y.mapOnErrorMsg))}e.once(\\\"error\\\",n),e.once(\\\"style.error\\\",n),e.once(\\\"source.error\\\",n),e.once(\\\"tile.error\\\",n),e.once(\\\"layer.error\\\",n)},x.createFramework=function(t){var e=this,n=e.div=document.createElement(\\\"div\\\");n.id=e.uid,n.style.position=\\\"absolute\\\",e.container.appendChild(n),e.xaxis={_id:\\\"x\\\",c2p:function(t){return e.project(t).x}},e.yaxis={_id:\\\"y\\\",c2p:function(t){return e.project(t).y}},e.updateFramework(t),e.mockAxis={type:\\\"linear\\\",showexponent:\\\"all\\\",exponentformat:\\\"B\\\"},s.setConvert(e.mockAxis,t)},x.initFx=function(t,e){var n=this,r=n.gd,i=n.map;function o(){u.loneUnhover(e._hoverlayer)}function s(){var t=n.getView();r.emit(\\\"plotly_relayouting\\\",n.getViewEditsWithDerived(t))}i.on(\\\"moveend\\\",(function(t){if(n.map){var e=r._fullLayout;if(t.originalEvent||n.wheeling){var i=e[n.id];a.call(\\\"_storeDirectGUIEdit\\\",r.layout,e._preGUI,n.getViewEdits(i));var o=n.getView();i._input.center=i.center=o.center,i._input.zoom=i.zoom=o.zoom,i._input.bearing=i.bearing=o.bearing,i._input.pitch=i.pitch=o.pitch,r.emit(\\\"plotly_relayout\\\",n.getViewEditsWithDerived(o))}t.originalEvent&&\\\"mouseup\\\"===t.originalEvent.type?n.dragging=!1:n.wheeling&&(n.wheeling=!1),e._rehover&&e._rehover()}})),i.on(\\\"wheel\\\",(function(){n.wheeling=!0})),i.on(\\\"mousemove\\\",(function(t){var e=n.div.getBoundingClientRect();t.clientX=t.point.x+e.left,t.clientY=t.point.y+e.top,t.target.getBoundingClientRect=function(){return e},n.xaxis.p2c=function(){return t.lngLat.lng},n.yaxis.p2c=function(){return t.lngLat.lat},r._fullLayout._rehover=function(){r._fullLayout._hoversubplot===n.id&&r._fullLayout[n.id]&&u.hover(r,t,n.id)},u.hover(r,t,n.id),r._fullLayout._hoversubplot=n.id})),i.on(\\\"dragstart\\\",(function(){n.dragging=!0,o()})),i.on(\\\"zoomstart\\\",o),i.on(\\\"mouseout\\\",(function(){r._fullLayout._hoversubplot=null})),i.on(\\\"drag\\\",s),i.on(\\\"zoom\\\",s),i.on(\\\"dblclick\\\",(function(){var t=r._fullLayout[n.id];a.call(\\\"_storeDirectGUIEdit\\\",r.layout,r._fullLayout._preGUI,n.getViewEdits(t));var e=n.viewInitial;i.setCenter(M(e.center)),i.setZoom(e.zoom),i.setBearing(e.bearing),i.setPitch(e.pitch);var o=n.getView();t._input.center=t.center=o.center,t._input.zoom=t.zoom=o.zoom,t._input.bearing=t.bearing=o.bearing,t._input.pitch=t.pitch=o.pitch,r.emit(\\\"plotly_doubleclick\\\",null),r.emit(\\\"plotly_relayout\\\",n.getViewEditsWithDerived(o))})),n.clearSelect=function(){v(n.dragOptions),m(n.dragOptions.gd)},n.onClickInPanFn=function(t){return function(e){var i=r._fullLayout.clickmode;i.indexOf(\\\"select\\\")>-1&&g(e.originalEvent,r,[n.xaxis],[n.yaxis],n.id,t),i.indexOf(\\\"event\\\")>-1&&u.click(r,e.originalEvent)}}},x.updateFx=function(t){var e=this,n=e.map,r=e.gd;if(!e.isStatic){var o,a=t.dragmode;o=h(a)?function(t,n){(t.range={})[e.id]=[u([n.xmin,n.ymin]),u([n.xmax,n.ymax])]}:function(t,n,r){(t.lassoPoints={})[e.id]=r.filtered.map(u)};var s=e.dragOptions;e.dragOptions=i.extendDeep(s||{},{dragmode:t.dragmode,element:e.div,gd:r,plotinfo:{id:e.id,domain:t[e.id].domain,xaxis:e.xaxis,yaxis:e.yaxis,fillRangeItems:o},xaxes:[e.xaxis],yaxes:[e.yaxis],subplot:e.id}),n.off(\\\"click\\\",e.onClickInPanHandler),f(a)||p(a)?(n.dragPan.disable(),n.on(\\\"zoomstart\\\",e.clearSelect),e.dragOptions.prepFn=function(t,n,r){d(t,n,r,e.dragOptions,a)},l.init(e.dragOptions)):(n.dragPan.enable(),n.off(\\\"zoomstart\\\",e.clearSelect),e.div.onmousedown=null,e.onClickInPanHandler=e.onClickInPanFn(e.dragOptions),n.on(\\\"click\\\",e.onClickInPanHandler))}function u(t){var n=e.map.unproject(t);return[n.lng,n.lat]}},x.updateFramework=function(t){var e=t[this.id].domain,n=t._size,r=this.div.style;r.width=n.w*(e.x[1]-e.x[0])+\\\"px\\\",r.height=n.h*(e.y[1]-e.y[0])+\\\"px\\\",r.left=n.l+e.x[0]*n.w+\\\"px\\\",r.top=n.t+(1-e.y[1])*n.h+\\\"px\\\",this.xaxis._offset=n.l+e.x[0]*n.w,this.xaxis._length=n.w*(e.x[1]-e.x[0]),this.yaxis._offset=n.t+(1-e.y[1])*n.h,this.yaxis._length=n.h*(e.y[1]-e.y[0])},x.updateLayers=function(t){var e,n=t[this.id].layers,r=this.layerList;if(n.length!==r.length){for(e=0;e<r.length;e++)r[e].dispose();for(r=this.layerList=[],e=0;e<n.length;e++)r.push(_(this,e,n[e]))}else for(e=0;e<n.length;e++)r[e].update(n[e])},x.destroy=function(){this.map&&(this.map.remove(),this.map=null,this.container.removeChild(this.div))},x.toImage=function(){return this.map.stop(),this.map.getCanvas().toDataURL()},x.setOptions=function(t,e,n){for(var r in n)this.map[e](t,r,n[r])},x.getMapLayers=function(){return this.map.getStyle().layers},x.addLayer=function(t,e){var n=this.map;if(\\\"string\\\"==typeof e){if(\\\"\\\"===e)return void n.addLayer(t,e);for(var r=this.getMapLayers(),o=0;o<r.length;o++)if(e===r[o].id)return void n.addLayer(t,e);i.warn([\\\"Trying to add layer with *below* value\\\",e,\\\"referencing a layer that does not exist\\\",\\\"or that does not yet exist.\\\"].join(\\\" \\\"))}n.addLayer(t)},x.project=function(t){return this.map.project(new r.LngLat(t[0],t[1]))},x.getView=function(){var t=this.map,e=t.getCenter(),n={lon:e.lng,lat:e.lat},r=t.getCanvas(),i=r.width,o=r.height;return{center:n,zoom:t.getZoom(),bearing:t.getBearing(),pitch:t.getPitch(),_derived:{coordinates:[t.unproject([0,0]).toArray(),t.unproject([i,0]).toArray(),t.unproject([i,o]).toArray(),t.unproject([0,o]).toArray()]}}},x.getViewEdits=function(t){for(var e=this.id,n=[\\\"center\\\",\\\"zoom\\\",\\\"bearing\\\",\\\"pitch\\\"],r={},i=0;i<n.length;i++){var o=n[i];r[e+\\\".\\\"+o]=t[o]}return r},x.getViewEditsWithDerived=function(t){var e=this.id,n=this.getViewEdits(t);return n[e+\\\"._derived\\\"]=t._derived,n},e.exports=b},{\\\"../../components/dragelement\\\":614,\\\"../../components/dragelement/helpers\\\":613,\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../lib/geo_location_utils\\\":722,\\\"../../registry\\\":859,\\\"../cartesian/axes\\\":776,\\\"../cartesian/select\\\":795,\\\"./constants\\\":831,\\\"./layers\\\":834,\\\"mapbox-gl\\\":426}],838:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){var e=t.editType;return{t:{valType:\\\"number\\\",dflt:0,editType:e},r:{valType:\\\"number\\\",dflt:0,editType:e},b:{valType:\\\"number\\\",dflt:0,editType:e},l:{valType:\\\"number\\\",dflt:0,editType:e},editType:e}}},{}],839:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../registry\\\"),a=t(\\\"../plot_api/plot_schema\\\"),s=t(\\\"../plot_api/plot_template\\\"),l=t(\\\"../lib\\\"),u=t(\\\"../components/color\\\"),c=t(\\\"../constants/numerical\\\").BADNUM,h=t(\\\"./cartesian/axis_ids\\\"),p=t(\\\"./cartesian/handle_outline\\\").clearSelect,f=t(\\\"./animation_attributes\\\"),d=t(\\\"./frame_attributes\\\"),m=t(\\\"../plots/get_data\\\").getModuleCalcData,v=l.relinkPrivateKeys,g=l._,y=e.exports={};l.extendFlat(y,o),y.attributes=t(\\\"./attributes\\\"),y.attributes.type.values=y.allTypes,y.fontAttrs=t(\\\"./font_attributes\\\"),y.layoutAttributes=t(\\\"./layout_attributes\\\"),y.fontWeight=\\\"normal\\\";var _=y.transformsRegistry,b=t(\\\"./command\\\");y.executeAPICommand=b.executeAPICommand,y.computeAPICommandBindings=b.computeAPICommandBindings,y.manageCommandObserver=b.manageCommandObserver,y.hasSimpleAPICommandBindings=b.hasSimpleAPICommandBindings,y.redrawText=function(t){var e=(t=l.getGraphDiv(t))._fullLayout||{};if(e._has&&e._has(\\\"polar\\\")||!t.data||!t.data[0]||!t.data[0].r)return new Promise((function(e){setTimeout((function(){o.getComponentMethod(\\\"annotations\\\",\\\"draw\\\")(t),o.getComponentMethod(\\\"legend\\\",\\\"draw\\\")(t),o.getComponentMethod(\\\"colorbar\\\",\\\"draw\\\")(t),e(y.previousPromises(t))}),300)}))},y.resize=function(t){var e;t=l.getGraphDiv(t);var n=new Promise((function(n,r){t&&!l.isHidden(t)||r(new Error(\\\"Resize must be passed a displayed plot div element.\\\")),t._redrawTimer&&clearTimeout(t._redrawTimer),t._resolveResize&&(e=t._resolveResize),t._resolveResize=n,t._redrawTimer=setTimeout((function(){if(!t.layout||t.layout.width&&t.layout.height||l.isHidden(t))n(t);else{delete t.layout.width,delete t.layout.height;var e=t.changed;t.autoplay=!0,o.call(\\\"relayout\\\",t,{autosize:!0}).then((function(){t.changed=e,t._resolveResize===n&&(delete t._resolveResize,n(t))}))}}),100)}));return e&&e(n),n},y.previousPromises=function(t){if((t._promises||[]).length)return Promise.all(t._promises).then((function(){t._promises=[]}))},y.addLinks=function(t){if(t._context.showLink||t._context.showSources){var e=t._fullLayout,n=l.ensureSingle(e._paper,\\\"text\\\",\\\"js-plot-link-container\\\",(function(t){t.style({\\\"font-family\\\":'\\\"Open Sans\\\", Arial, sans-serif',\\\"font-size\\\":\\\"12px\\\",fill:u.defaultLine,\\\"pointer-events\\\":\\\"all\\\"}).each((function(){var t=r.select(this);t.append(\\\"tspan\\\").classed(\\\"js-link-to-tool\\\",!0),t.append(\\\"tspan\\\").classed(\\\"js-link-spacer\\\",!0),t.append(\\\"tspan\\\").classed(\\\"js-sourcelinks\\\",!0)}))})),i=n.node(),o={y:e._paper.attr(\\\"height\\\")-9};document.body.contains(i)&&i.getComputedTextLength()>=e.width-20?(o[\\\"text-anchor\\\"]=\\\"start\\\",o.x=5):(o[\\\"text-anchor\\\"]=\\\"end\\\",o.x=e._paper.attr(\\\"width\\\")-7),n.attr(o);var a=n.select(\\\".js-link-to-tool\\\"),s=n.select(\\\".js-link-spacer\\\"),c=n.select(\\\".js-sourcelinks\\\");t._context.showSources&&t._context.showSources(t),t._context.showLink&&function(t,e){e.text(\\\"\\\");var n=e.append(\\\"a\\\").attr({\\\"xlink:xlink:href\\\":\\\"#\\\",class:\\\"link--impt link--embedview\\\",\\\"font-weight\\\":\\\"bold\\\"}).text(t._context.linkText+\\\" \\\"+String.fromCharCode(187));if(t._context.sendData)n.on(\\\"click\\\",(function(){y.sendDataToCloud(t)}));else{var r=window.location.pathname.split(\\\"/\\\"),i=window.location.search;n.attr({\\\"xlink:xlink:show\\\":\\\"new\\\",\\\"xlink:xlink:href\\\":\\\"/\\\"+r[2].split(\\\".\\\")[0]+\\\"/\\\"+r[1]+i})}}(t,a),s.text(a.text()&&c.text()?\\\" - \\\":\\\"\\\")}},y.sendDataToCloud=function(t){var e=(window.PLOTLYENV||{}).BASE_URL||t._context.plotlyServerURL;if(e){t.emit(\\\"plotly_beforeexport\\\");var n=r.select(t).append(\\\"div\\\").attr(\\\"id\\\",\\\"hiddenform\\\").style(\\\"display\\\",\\\"none\\\"),i=n.append(\\\"form\\\").attr({action:e+\\\"/external\\\",method:\\\"post\\\",target:\\\"_blank\\\"});return i.append(\\\"input\\\").attr({type:\\\"text\\\",name:\\\"data\\\"}).node().value=y.graphJson(t,!1,\\\"keepdata\\\"),i.node().submit(),n.remove(),t.emit(\\\"plotly_afterexport\\\"),!1}};var x=[\\\"days\\\",\\\"shortDays\\\",\\\"months\\\",\\\"shortMonths\\\",\\\"periods\\\",\\\"dateTime\\\",\\\"date\\\",\\\"time\\\",\\\"decimal\\\",\\\"thousands\\\",\\\"grouping\\\",\\\"currency\\\"],w=[\\\"year\\\",\\\"month\\\",\\\"dayMonth\\\",\\\"dayMonthYear\\\"];function A(t,e){var n=t._context.locale,r=!1,i={};function a(t){for(var n=!0,o=0;o<e.length;o++){var a=e[o];i[a]||(t[a]?i[a]=t[a]:n=!1)}n&&(r=!0)}for(var s=0;s<2;s++){for(var l=t._context.locales,u=0;u<2;u++){var c=(l[n]||{}).format;if(c&&(a(c),r))break;l=o.localeRegistry}var h=n.split(\\\"-\\\")[0];if(r||h===n)break;n=h}return r||a(o.localeRegistry.en.format),i}function C(t,e){var n={_fullLayout:e},r=\\\"x\\\"===t._id.charAt(0),i=t._mainAxis._anchorAxis,o=\\\"\\\",a=\\\"\\\",s=\\\"\\\";if(i&&(s=i._mainAxis._id,o=r?t._id+s:s+t._id),!o||!e._plots[o]){o=\\\"\\\";for(var l=t._counterAxes,u=0;u<l.length;u++){var c=l[u],p=r?t._id+c:c+t._id;a||(a=p);var f=h.getFromId(n,c);if(s&&f.overlaying===s){o=p;break}}}return o||a}function M(t){var e=t.transforms;if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n++){var r=e[n],i=r._module||_[r.type];if(i&&i.makesData)return!0}return!1}function E(t,e,n,r){for(var i=t.transforms,o=[t],a=0;a<i.length;a++){var s=i[a],l=_[s.type];l&&l.transform&&(o=l.transform(o,{transform:s,fullTrace:t,fullData:e,layout:n,fullLayout:r,transformIndex:a}))}return o}function T(t){return\\\"string\\\"==typeof t&&\\\"px\\\"===t.substr(t.length-2)&&parseFloat(t)}function S(t){var e=t.margin;if(!t._size){var n=t._size={l:Math.round(e.l),r:Math.round(e.r),t:Math.round(e.t),b:Math.round(e.b),p:Math.round(e.pad)};n.w=Math.round(t.width)-n.l-n.r,n.h=Math.round(t.height)-n.t-n.b}t._pushmargin||(t._pushmargin={}),t._pushmarginIds||(t._pushmarginIds={})}y.supplyDefaults=function(t,e){var n=e&&e.skipUpdateCalc,i=t._fullLayout||{};if(i._skipDefaults)delete i._skipDefaults;else{var a,s=t._fullLayout={},u=t.layout||{},c=t._fullData||[],h=t._fullData=[],f=t.data||[],d=t.calcdata||[],m=t._context||{};t._transitionData||y.createTransitionData(t),s._dfltTitle={plot:g(t,\\\"Click to enter Plot title\\\"),x:g(t,\\\"Click to enter X axis title\\\"),y:g(t,\\\"Click to enter Y axis title\\\"),colorbar:g(t,\\\"Click to enter Colorscale title\\\"),annotation:g(t,\\\"new text\\\")},s._traceWord=g(t,\\\"trace\\\");var _=A(t,x);if(s._mapboxAccessToken=m.mapboxAccessToken,i._initialAutoSizeIsDone){var b=i.width,C=i.height;y.supplyLayoutGlobalDefaults(u,s,_),u.width||(s.width=b),u.height||(s.height=C),y.sanitizeMargins(s)}else{y.supplyLayoutGlobalDefaults(u,s,_);var M=!u.width||!u.height,E=s.autosize,T=m.autosizable;M&&(E||T)?y.plotAutoSize(t,u,s):M&&y.sanitizeMargins(s),!E&&M&&(u.width=s.width,u.height=s.height)}s._d3locale=function(t,e){return t.decimal=e.charAt(0),t.thousands=e.charAt(1),r.locale(t)}(_,s.separators),s._extraFormat=A(t,w),s._initialAutoSizeIsDone=!0,s._dataLength=f.length,s._modules=[],s._visibleModules=[],s._basePlotModules=[];var k=s._subplots=function(){var t,e,n=o.collectableSubplotTypes,r={};if(!n){n=[];var i=o.subplotsRegistry;for(var a in i){var s=i[a].attr;if(s&&(n.push(a),Array.isArray(s)))for(e=0;e<s.length;e++)l.pushUnique(n,s[e])}}for(t=0;t<n.length;t++)r[n[t]]=[];return r}(),O=s._splomAxes={x:{},y:{}},I=s._splomSubplots={};s._splomGridDflt={},s._scatterStackOpts={},s._firstScatter={},s._alignmentOpts={},s._colorAxes={},s._requestRangeslider={},s._traceUids=function(t,e){var n,r,i=e.length,o=[];for(n=0;n<t.length;n++){var a=t[n]._fullInput;a!==r&&o.push(a),r=a}var s=o.length,u=new Array(i),c={};function h(t,e){u[e]=t,c[t]=1}function p(t,e){if(t&&\\\"string\\\"==typeof t&&!c[t])return h(t,e),!0}for(n=0;n<i;n++){var f=e[n].uid;\\\"number\\\"==typeof f&&(f=String(f)),p(f,n)||n<s&&p(o[n].uid,n)||h(l.randstr(c),n)}return u}(c,f),s._globalTransforms=(t._context||{}).globalTransforms,y.supplyDataDefaults(f,h,u,s);var L=Object.keys(O.x),P=Object.keys(O.y);if(L.length>1&&P.length>1){for(o.getComponentMethod(\\\"grid\\\",\\\"sizeDefaults\\\")(u,s),a=0;a<L.length;a++)l.pushUnique(k.xaxis,L[a]);for(a=0;a<P.length;a++)l.pushUnique(k.yaxis,P[a]);for(var z in I)l.pushUnique(k.cartesian,z)}if(s._has=y._hasPlotType.bind(s),c.length===h.length)for(a=0;a<h.length;a++)v(h[a],c[a]);y.supplyLayoutModuleDefaults(u,s,h,t._transitionData);var R=s._visibleModules,D=[];for(a=0;a<R.length;a++){var $=R[a].crossTraceDefaults;$&&l.pushUnique(D,$)}for(a=0;a<D.length;a++)D[a](h,s);s._hasOnlyLargeSploms=1===s._basePlotModules.length&&\\\"splom\\\"===s._basePlotModules[0].name&&L.length>15&&P.length>15&&0===s.shapes.length&&0===s.images.length,s._hasCartesian=s._has(\\\"cartesian\\\"),s._hasGeo=s._has(\\\"geo\\\"),s._hasGL3D=s._has(\\\"gl3d\\\"),s._hasGL2D=s._has(\\\"gl2d\\\"),s._hasTernary=s._has(\\\"ternary\\\"),s._hasPie=s._has(\\\"pie\\\"),y.linkSubplots(h,s,c,i),y.cleanPlot(h,s,c,i);var B=!(!i._has||!i._has(\\\"gl2d\\\")),N=!(!s._has||!s._has(\\\"gl2d\\\")),F=!(!i._has||!i._has(\\\"cartesian\\\"))||B,j=!(!s._has||!s._has(\\\"cartesian\\\"))||N;F&&!j?i._bgLayer.remove():j&&!F&&(s._shouldCreateBgLayer=!0),i._zoomlayer&&!t._dragging&&p({_fullLayout:i}),function(t,e){var n,r=[];e.meta&&(n=e._meta={meta:e.meta,layout:{meta:e.meta}});for(var i=0;i<t.length;i++){var o=t[i];o.meta?r[o.index]=o._meta={meta:o.meta}:e.meta&&(o._meta={meta:e.meta}),e.meta&&(o._meta.layout={meta:e.meta})}r.length&&(n||(n=e._meta={}),n.data=r)}(h,s),v(s,i),o.getComponentMethod(\\\"colorscale\\\",\\\"crossTraceDefaults\\\")(h,s),s._preGUI||(s._preGUI={}),s._tracePreGUI||(s._tracePreGUI={});var U,q=s._tracePreGUI,V={};for(U in q)V[U]=\\\"old\\\";for(a=0;a<h.length;a++)V[U=h[a]._fullInput.uid]||(q[U]={}),V[U]=\\\"new\\\";for(U in V)\\\"old\\\"===V[U]&&delete q[U];S(s),o.getComponentMethod(\\\"rangeslider\\\",\\\"makeData\\\")(s),n||d.length!==h.length||y.supplyDefaultsUpdateCalc(d,h)}},y.supplyDefaultsUpdateCalc=function(t,e){for(var n=0;n<e.length;n++){var r=e[n],i=(t[n]||[])[0];if(i&&i.trace){var o=i.trace;if(o._hasCalcTransform){var a,s,u,c=o._arrayAttrs;for(a=0;a<c.length;a++)s=c[a],u=l.nestedProperty(o,s).get().slice(),l.nestedProperty(r,s).set(u)}i.trace=r}}},y.createTransitionData=function(t){t._transitionData||(t._transitionData={}),t._transitionData._frames||(t._transitionData._frames=[]),t._transitionData._frameHash||(t._transitionData._frameHash={}),t._transitionData._counter||(t._transitionData._counter=0),t._transitionData._interruptCallbacks||(t._transitionData._interruptCallbacks=[])},y._hasPlotType=function(t){var e,n=this._basePlotModules||[];for(e=0;e<n.length;e++)if(n[e].name===t)return!0;var r=this._modules||[];for(e=0;e<r.length;e++){var i=r[e].name;if(i===t)return!0;var a=o.modules[i];if(a&&a.categories[t])return!0}return!1},y.cleanPlot=function(t,e,n,r){var i,o,a=r._basePlotModules||[];for(i=0;i<a.length;i++){var s=a[i];s.clean&&s.clean(t,e,n,r)}var l=r._has&&r._has(\\\"gl\\\"),u=e._has&&e._has(\\\"gl\\\");l&&!u&&void 0!==r._glcontainer&&(r._glcontainer.selectAll(\\\".gl-canvas\\\").remove(),r._glcontainer.selectAll(\\\".no-webgl\\\").remove(),r._glcanvas=null);var c=!!r._infolayer;t:for(i=0;i<n.length;i++){var h=n[i].uid;for(o=0;o<t.length;o++)if(h===t[o].uid)continue t;c&&r._infolayer.select(\\\".cb\\\"+h).remove()}},y.linkSubplots=function(t,e,n,r){var i,a,s=r._plots||{},u=e._plots={},c=e._subplots,p={_fullData:t,_fullLayout:e},f=c.cartesian.concat(c.gl2d||[]);for(i=0;i<f.length;i++){var d,m=f[i],v=s[m],g=h.getFromId(p,m,\\\"x\\\"),y=h.getFromId(p,m,\\\"y\\\");for(v?d=u[m]=v:(d=u[m]={}).id=m,g._counterAxes.push(y._id),y._counterAxes.push(g._id),g._subplotsWith.push(m),y._subplotsWith.push(m),d.xaxis=g,d.yaxis=y,d._hasClipOnAxisFalse=!1,a=0;a<t.length;a++){var _=t[a];if(_.xaxis===d.xaxis._id&&_.yaxis===d.yaxis._id&&!1===_.cliponaxis){d._hasClipOnAxisFalse=!0;break}}}var b,x=h.list(p,null,!0);for(i=0;i<x.length;i++){var w=null;(b=x[i]).overlaying&&(w=h.getFromId(p,b.overlaying))&&w.overlaying&&(b.overlaying=!1,w=null),b._mainAxis=w||b,w&&(b.domain=w.domain.slice()),b._anchorAxis=\\\"free\\\"===b.anchor?null:h.getFromId(p,b.anchor)}for(i=0;i<x.length;i++)if((b=x[i])._counterAxes.sort(h.idSort),b._subplotsWith.sort(l.subplotSort),b._mainSubplot=C(b,e),b._counterAxes.length&&(b.spikemode&&-1!==b.spikemode.indexOf(\\\"across\\\")||b.automargin&&b.mirror&&\\\"free\\\"!==b.anchor||o.getComponentMethod(\\\"rangeslider\\\",\\\"isVisible\\\")(b))){var A=1,M=0;for(a=0;a<b._counterAxes.length;a++){var E=h.getFromId(p,b._counterAxes[a]);A=Math.min(A,E.domain[0]),M=Math.max(M,E.domain[1])}A<M&&(b._counterDomainMin=A,b._counterDomainMax=M)}},y.clearExpandedTraceDefaultColors=function(t){var e,n,r;for(n=[],(e=t._module._colorAttrs)||(t._module._colorAttrs=e=[],a.crawl(t._module.attributes,(function(t,r,i,o){n[o]=r,n.length=o+1,\\\"color\\\"===t.valType&&void 0===t.dflt&&e.push(n.join(\\\".\\\"))}))),r=0;r<e.length;r++)l.nestedProperty(t,\\\"_input.\\\"+e[r]).get()||l.nestedProperty(t,e[r]).set(null)},y.supplyDataDefaults=function(t,e,n,r){var i,a,u,c=r._modules,h=r._visibleModules,p=r._basePlotModules,f=0,d=0;function m(t){e.push(t);var n=t._module;n&&(l.pushUnique(c,n),!0===t.visible&&l.pushUnique(h,n),l.pushUnique(p,t._module.basePlotModule),f++,!1!==t._input.visible&&d++)}r._transformModules=[];var g={},_=[],b=(n.template||{}).data||{},x=s.traceTemplater(b);for(i=0;i<t.length;i++){if(u=t[i],(a=x.newTrace(u)).uid=r._traceUids[i],y.supplyTraceDefaults(u,a,d,r,i),a.index=i,a._input=u,a._expandedIndex=f,a.transforms&&a.transforms.length)for(var w=!1!==u.visible&&!1===a.visible,A=E(a,e,n,r),C=0;C<A.length;C++){var M=A[C],T={_template:a._template,type:a.type,uid:a.uid+C};w&&!1===M.visible&&delete M.visible,y.supplyTraceDefaults(M,T,f,r,i),v(T,M),T.index=i,T._input=u,T._fullInput=a,T._expandedIndex=f,T._expandedInput=M,m(T)}else a._fullInput=a,a._expandedInput=a,m(a);o.traceIs(a,\\\"carpetAxis\\\")&&(g[a.carpet]=a),o.traceIs(a,\\\"carpetDependent\\\")&&_.push(i)}for(i=0;i<_.length;i++)if((a=e[_[i]]).visible){var S=g[a.carpet];a._carpet=S,S&&S.visible?(a.xaxis=S.xaxis,a.yaxis=S.yaxis):a.visible=!1}},y.supplyAnimationDefaults=function(t){var e;t=t||{};var n={};function r(e,r){return l.coerce(t||{},n,f,e,r)}if(r(\\\"mode\\\"),r(\\\"direction\\\"),r(\\\"fromcurrent\\\"),Array.isArray(t.frame))for(n.frame=[],e=0;e<t.frame.length;e++)n.frame[e]=y.supplyAnimationFrameDefaults(t.frame[e]||{});else n.frame=y.supplyAnimationFrameDefaults(t.frame||{});if(Array.isArray(t.transition))for(n.transition=[],e=0;e<t.transition.length;e++)n.transition[e]=y.supplyAnimationTransitionDefaults(t.transition[e]||{});else n.transition=y.supplyAnimationTransitionDefaults(t.transition||{});return n},y.supplyAnimationFrameDefaults=function(t){var e={};function n(n,r){return l.coerce(t||{},e,f.frame,n,r)}return n(\\\"duration\\\"),n(\\\"redraw\\\"),e},y.supplyAnimationTransitionDefaults=function(t){var e={};function n(n,r){return l.coerce(t||{},e,f.transition,n,r)}return n(\\\"duration\\\"),n(\\\"easing\\\"),e},y.supplyFrameDefaults=function(t){var e={};function n(n,r){return l.coerce(t,e,d,n,r)}return n(\\\"group\\\"),n(\\\"name\\\"),n(\\\"traces\\\"),n(\\\"baseframe\\\"),n(\\\"data\\\"),n(\\\"layout\\\"),e},y.supplyTraceDefaults=function(t,e,n,r,i){var a,s=r.colorway||u.defaults,c=s[n%s.length];function h(n,r){return l.coerce(t,e,y.attributes,n,r)}var p=h(\\\"visible\\\");h(\\\"type\\\"),h(\\\"name\\\",r._traceWord+\\\" \\\"+i),h(\\\"uirevision\\\",r.uirevision);var f=y.getModule(e);if(e._module=f,f){var d=f.basePlotModule,m=d.attr,v=d.attributes;if(m&&v){var g=r._subplots,_=\\\"\\\";if(p||\\\"gl2d\\\"!==d.name){if(Array.isArray(m))for(a=0;a<m.length;a++){var b=m[a],x=l.coerce(t,e,v,b);g[b]&&l.pushUnique(g[b],x),_+=x}else _=l.coerce(t,e,v,m);g[d.name]&&l.pushUnique(g[d.name],_)}}}return p&&(h(\\\"customdata\\\"),h(\\\"ids\\\"),h(\\\"meta\\\"),o.traceIs(e,\\\"showLegend\\\")?(l.coerce(t,e,f.attributes.showlegend?f.attributes:y.attributes,\\\"showlegend\\\"),h(\\\"legendgroup\\\"),e._dfltShowLegend=!0):e._dfltShowLegend=!1,f&&f.supplyDefaults(t,e,c,r),o.traceIs(e,\\\"noOpacity\\\")||h(\\\"opacity\\\"),o.traceIs(e,\\\"notLegendIsolatable\\\")&&(e.visible=!!e.visible),o.traceIs(e,\\\"noHover\\\")||(e.hovertemplate||l.coerceHoverinfo(t,e,r),\\\"parcats\\\"!==e.type&&o.getComponentMethod(\\\"fx\\\",\\\"supplyDefaults\\\")(t,e,c,r)),f&&f.selectPoints&&h(\\\"selectedpoints\\\"),y.supplyTransformDefaults(t,e,r)),e},y.hasMakesDataTransform=M,y.supplyTransformDefaults=function(t,e,n){if(e._length||M(t)){var r=n._globalTransforms||[],i=n._transformModules||[];if(Array.isArray(t.transforms)||0!==r.length)for(var o=t.transforms||[],a=r.concat(o),s=e.transforms=[],u=0;u<a.length;u++){var c,h=a[u],p=h.type,f=_[p],d=!(h._module&&h._module===f),m=f&&\\\"function\\\"==typeof f.transform;f||l.warn(\\\"Unrecognized transform type \\\"+p+\\\".\\\"),f&&f.supplyDefaults&&(d||m)?((c=f.supplyDefaults(h,e,n,t)).type=p,c._module=f,l.pushUnique(i,f)):c=l.extendFlat({},h),s.push(c)}}},y.supplyLayoutGlobalDefaults=function(t,e,n){function r(n,r){return l.coerce(t,e,y.layoutAttributes,n,r)}var i=t.template;l.isPlainObject(i)&&(e.template=i,e._template=i.layout,e._dataTemplate=i.data);var a=l.coerceFont(r,\\\"font\\\");r(\\\"title.text\\\",e._dfltTitle.plot),l.coerceFont(r,\\\"title.font\\\",{family:a.family,size:Math.round(1.4*a.size),color:a.color}),r(\\\"title.xref\\\"),r(\\\"title.yref\\\"),r(\\\"title.x\\\"),r(\\\"title.y\\\"),r(\\\"title.xanchor\\\"),r(\\\"title.yanchor\\\"),r(\\\"title.pad.t\\\"),r(\\\"title.pad.r\\\"),r(\\\"title.pad.b\\\"),r(\\\"title.pad.l\\\"),r(\\\"uniformtext.mode\\\")&&r(\\\"uniformtext.minsize\\\"),r(\\\"autosize\\\",!(t.width&&t.height)),r(\\\"width\\\"),r(\\\"height\\\"),r(\\\"margin.l\\\"),r(\\\"margin.r\\\"),r(\\\"margin.t\\\"),r(\\\"margin.b\\\"),r(\\\"margin.pad\\\"),r(\\\"margin.autoexpand\\\"),t.width&&t.height&&y.sanitizeMargins(e),o.getComponentMethod(\\\"grid\\\",\\\"sizeDefaults\\\")(t,e),r(\\\"paper_bgcolor\\\"),r(\\\"separators\\\",n.decimal+n.thousands),r(\\\"hidesources\\\"),r(\\\"colorway\\\"),r(\\\"datarevision\\\");var s=r(\\\"uirevision\\\");r(\\\"editrevision\\\",s),r(\\\"selectionrevision\\\",s),r(\\\"modebar.orientation\\\"),r(\\\"modebar.bgcolor\\\",u.addOpacity(e.paper_bgcolor,.5));var c=u.contrast(u.rgb(e.modebar.bgcolor));r(\\\"modebar.color\\\",u.addOpacity(c,.3)),r(\\\"modebar.activecolor\\\",u.addOpacity(c,.7)),r(\\\"modebar.uirevision\\\",s),o.getComponentMethod(\\\"shapes\\\",\\\"supplyDrawNewShapeDefaults\\\")(t,e,r),r(\\\"meta\\\"),l.isPlainObject(t.transition)&&(r(\\\"transition.duration\\\"),r(\\\"transition.easing\\\"),r(\\\"transition.ordering\\\")),o.getComponentMethod(\\\"calendars\\\",\\\"handleDefaults\\\")(t,e,\\\"calendar\\\"),o.getComponentMethod(\\\"fx\\\",\\\"supplyLayoutGlobalDefaults\\\")(t,e,r)},y.plotAutoSize=function(t,e,n){var r,o,a=t._context||{},s=a.frameMargins,u=l.isPlotDiv(t);if(u&&t.emit(\\\"plotly_autosize\\\"),a.fillFrame)r=window.innerWidth,o=window.innerHeight,document.body.style.overflow=\\\"hidden\\\";else{var c=u?window.getComputedStyle(t):{};if(r=T(c.width)||T(c.maxWidth)||n.width,o=T(c.height)||T(c.maxHeight)||n.height,i(s)&&s>0){var h=1-2*s;r=Math.round(h*r),o=Math.round(h*o)}}var p=y.layoutAttributes.width.min,f=y.layoutAttributes.height.min;r<p&&(r=p),o<f&&(o=f);var d=!e.width&&Math.abs(n.width-r)>1,m=!e.height&&Math.abs(n.height-o)>1;(m||d)&&(d&&(n.width=r),m&&(n.height=o)),t._initialAutoSize||(t._initialAutoSize={width:r,height:o}),y.sanitizeMargins(n)},y.supplyLayoutModuleDefaults=function(t,e,n,r){var i,a,s,u=o.componentsRegistry,c=e._basePlotModules,h=o.subplotsRegistry.cartesian;for(i in u)(s=u[i]).includeBasePlot&&s.includeBasePlot(t,e);for(var p in c.length||c.push(h),e._has(\\\"cartesian\\\")&&(o.getComponentMethod(\\\"grid\\\",\\\"contentDefaults\\\")(t,e),h.finalizeSubplots(t,e)),e._subplots)e._subplots[p].sort(l.subplotSort);for(a=0;a<c.length;a++)(s=c[a]).supplyLayoutDefaults&&s.supplyLayoutDefaults(t,e,n);var f=e._modules;for(a=0;a<f.length;a++)(s=f[a]).supplyLayoutDefaults&&s.supplyLayoutDefaults(t,e,n);var d=e._transformModules;for(a=0;a<d.length;a++)(s=d[a]).supplyLayoutDefaults&&s.supplyLayoutDefaults(t,e,n,r);for(i in u)(s=u[i]).supplyLayoutDefaults&&s.supplyLayoutDefaults(t,e,n)},y.purge=function(t){var e=t._fullLayout||{};void 0!==e._glcontainer&&(e._glcontainer.selectAll(\\\".gl-canvas\\\").remove(),e._glcontainer.remove(),e._glcanvas=null),e._modeBar&&e._modeBar.destroy(),t._transitionData&&(t._transitionData._interruptCallbacks&&(t._transitionData._interruptCallbacks.length=0),t._transitionData._animationRaf&&window.cancelAnimationFrame(t._transitionData._animationRaf)),l.clearThrottle(),l.clearResponsive(t),delete t.data,delete t.layout,delete t._fullData,delete t._fullLayout,delete t.calcdata,delete t.framework,delete t.empty,delete t.fid,delete t.undoqueue,delete t.undonum,delete t.autoplay,delete t.changed,delete t._promises,delete t._redrawTimer,delete t._hmlumcount,delete t._hmpixcount,delete t._transitionData,delete t._transitioning,delete t._initialAutoSize,delete t._transitioningWithDuration,delete t._dragging,delete t._dragged,delete t._dragdata,delete t._hoverdata,delete t._snapshotInProgress,delete t._editing,delete t._mouseDownTime,delete t._legendMouseDownTime,t.removeAllListeners&&t.removeAllListeners()},y.style=function(t){var e,n=t._fullLayout._visibleModules,r=[];for(e=0;e<n.length;e++){var i=n[e];i.style&&l.pushUnique(r,i.style)}for(e=0;e<r.length;e++)r[e](t)},y.sanitizeMargins=function(t){if(t&&t.margin){var e,n=t.width,r=t.height,i=t.margin,o=n-(i.l+i.r),a=r-(i.t+i.b);o<0&&(e=(n-1)/(i.l+i.r),i.l=Math.floor(e*i.l),i.r=Math.floor(e*i.r)),a<0&&(e=(r-1)/(i.t+i.b),i.t=Math.floor(e*i.t),i.b=Math.floor(e*i.b))}},y.clearAutoMarginIds=function(t){t._fullLayout._pushmarginIds={}},y.allowAutoMargin=function(t,e){t._fullLayout._pushmarginIds[e]=1},y.autoMargin=function(t,e,n){var r=t._fullLayout,i=r._pushmargin,o=r._pushmarginIds;if(!1!==r.margin.autoexpand){if(n){var a=n.pad;if(void 0===a){var s=r.margin;a=Math.min(12,s.l,s.r,s.t,s.b)}n.l+n.r>.5*r.width&&(l.log(\\\"Margin push\\\",e,\\\"is too big in x, dropping\\\"),n.l=n.r=0),n.b+n.t>.5*r.height&&(l.log(\\\"Margin push\\\",e,\\\"is too big in y, dropping\\\"),n.b=n.t=0);var u=void 0!==n.xl?n.xl:n.x,c=void 0!==n.xr?n.xr:n.x,h=void 0!==n.yt?n.yt:n.y,p=void 0!==n.yb?n.yb:n.y;i[e]={l:{val:u,size:n.l+a},r:{val:c,size:n.r+a},b:{val:p,size:n.b+a},t:{val:h,size:n.t+a}},o[e]=1}else delete i[e],delete o[e];if(!r._replotting)return y.doAutoMargin(t)}},y.doAutoMargin=function(t){var e=t._fullLayout;e._size||(e._size={}),S(e);var n=e._size,r=e.margin,a=l.extendFlat({},n),s=r.l,u=r.r,c=r.t,h=r.b,p=e.width,f=e.height,d=e._pushmargin,m=e._pushmarginIds;if(!1!==e.margin.autoexpand){for(var v in d)m[v]||delete d[v];for(var g in d.base={l:{val:0,size:s},r:{val:1,size:u},t:{val:1,size:c},b:{val:0,size:h}},d){var _=d[g].l||{},b=d[g].b||{},x=_.val,w=_.size,A=b.val,C=b.size;for(var M in d){if(i(w)&&d[M].r){var E=d[M].r.val,T=d[M].r.size;if(E>x){var k=(w*E+(T-p)*x)/(E-x),O=(T*(1-x)+(w-p)*(1-E))/(E-x);k>=0&&O>=0&&p-(k+O)>0&&k+O>s+u&&(s=k,u=O)}}if(i(C)&&d[M].t){var I=d[M].t.val,L=d[M].t.size;if(I>A){var P=(C*I+(L-f)*A)/(I-A),z=(L*(1-A)+(C-f)*(1-I))/(I-A);P>=0&&z>=0&&f-(z+P)>0&&P+z>h+c&&(h=P,c=z)}}}}}if(n.l=Math.round(s),n.r=Math.round(u),n.t=Math.round(c),n.b=Math.round(h),n.p=Math.round(r.pad),n.w=Math.round(p)-n.l-n.r,n.h=Math.round(f)-n.t-n.b,!e._replotting&&y.didMarginChange(a,n)){\\\"_redrawFromAutoMarginCount\\\"in e?e._redrawFromAutoMarginCount++:e._redrawFromAutoMarginCount=1;var R=3*(1+Object.keys(m).length);if(e._redrawFromAutoMarginCount<R)return o.call(\\\"plot\\\",t);l.warn(\\\"Too many auto-margin redraws.\\\")}};var k=[\\\"l\\\",\\\"r\\\",\\\"t\\\",\\\"b\\\",\\\"p\\\",\\\"w\\\",\\\"h\\\"];function O(t,e,n){var r=!1,i=[y.previousPromises,function(){if(t._transitionData)return t._transitioning=!1,function(t){var e=Promise.resolve();if(!t)return e;for(;t.length;)e=e.then(t.shift());return e}(t._transitionData._interruptCallbacks)},n.prepareFn,y.rehover,function(){return t.emit(\\\"plotly_transitioning\\\",[]),new Promise((function(i){t._transitioning=!0,e.duration>0&&(t._transitioningWithDuration=!0),t._transitionData._interruptCallbacks.push((function(){r=!0})),n.redraw&&t._transitionData._interruptCallbacks.push((function(){return o.call(\\\"redraw\\\",t)})),t._transitionData._interruptCallbacks.push((function(){t.emit(\\\"plotly_transitioninterrupted\\\",[])}));var a=0,s=0;function l(){return a++,function(){var e;s++,r||s!==a||(e=i,t._transitionData&&(function(t){if(t)for(;t.length;)t.shift()}(t._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(n.redraw)return o.call(\\\"redraw\\\",t)})).then((function(){t._transitioning=!1,t._transitioningWithDuration=!1,t.emit(\\\"plotly_transitioned\\\",[])})).then(e)))}}n.runFn(l),setTimeout(l())}))}],a=l.syncOrAsync(i,t);return a&&a.then||(a=Promise.resolve()),a.then((function(){return t}))}y.didMarginChange=function(t,e){for(var n=0;n<k.length;n++){var r=k[n],o=t[r],a=e[r];if(!i(o)||Math.abs(a-o)>1)return!0}return!1},y.graphJson=function(t,e,n,r,i,o){(i&&e&&!t._fullData||i&&!e&&!t._fullLayout)&&y.supplyDefaults(t);var a=i?t._fullData:t.data,s=i?t._fullLayout:t.layout,u=(t._transitionData||{})._frames;function c(t,e){if(\\\"function\\\"==typeof t)return e?\\\"_function_\\\":null;if(l.isPlainObject(t)){var r,i={};return Object.keys(t).sort().forEach((function(o){if(-1===[\\\"_\\\",\\\"[\\\"].indexOf(o.charAt(0)))if(\\\"function\\\"!=typeof t[o]){if(\\\"keepdata\\\"===n){if(\\\"src\\\"===o.substr(o.length-3))return}else if(\\\"keepstream\\\"===n){if(\\\"string\\\"==typeof(r=t[o+\\\"src\\\"])&&r.indexOf(\\\":\\\")>0&&!l.isPlainObject(t.stream))return}else if(\\\"keepall\\\"!==n&&\\\"string\\\"==typeof(r=t[o+\\\"src\\\"])&&r.indexOf(\\\":\\\")>0)return;i[o]=c(t[o],e)}else e&&(i[o]=\\\"_function\\\")})),i}return Array.isArray(t)?t.map((function(t){return c(t,e)})):l.isTypedArray(t)?l.simpleMap(t,l.identity):l.isJSDate(t)?l.ms2DateTimeLocal(+t):t}var h={data:(a||[]).map((function(t){var n=c(t);return e&&delete n.fit,n}))};return e||(h.layout=c(s)),t.framework&&t.framework.isPolar&&(h=t.framework.getConfig()),u&&(h.frames=c(u)),o&&(h.config=c(t._context,!0)),\\\"object\\\"===r?h:JSON.stringify(h)},y.modifyFrames=function(t,e){var n,r,i,o=t._transitionData._frames,a=t._transitionData._frameHash;for(n=0;n<e.length;n++)switch((r=e[n]).type){case\\\"replace\\\":i=r.value;var s=(o[r.index]||{}).name,l=i.name;o[r.index]=a[l]=i,l!==s&&(delete a[s],a[l]=i);break;case\\\"insert\\\":a[(i=r.value).name]=i,o.splice(r.index,0,i);break;case\\\"delete\\\":delete a[(i=o[r.index]).name],o.splice(r.index,1)}return Promise.resolve()},y.computeFrame=function(t,e){var n,r,i,o,a=t._transitionData._frameHash;if(!e)throw new Error(\\\"computeFrame must be given a string frame name\\\");var s=a[e.toString()];if(!s)return!1;for(var l=[s],u=[s.name];s.baseframe&&(s=a[s.baseframe.toString()])&&-1===u.indexOf(s.name);)l.push(s),u.push(s.name);for(var c={};s=l.pop();)if(s.layout&&(c.layout=y.extendLayout(c.layout,s.layout)),s.data){if(c.data||(c.data=[]),!(r=s.traces))for(r=[],n=0;n<s.data.length;n++)r[n]=n;for(c.traces||(c.traces=[]),n=0;n<s.data.length;n++)null!=(i=r[n])&&(-1===(o=c.traces.indexOf(i))&&(o=c.data.length,c.traces[o]=i),c.data[o]=y.extendTrace(c.data[o],s.data[n]))}return c},y.recomputeFrameHash=function(t){for(var e=t._transitionData._frameHash={},n=t._transitionData._frames,r=0;r<n.length;r++){var i=n[r];i&&i.name&&(e[i.name]=i)}},y.extendObjectWithContainers=function(t,e,n){var r,i,o,a,s,u,c,h=l.extendDeepNoArrays({},e||{}),p=l.expandObjectPaths(h),f={};if(n&&n.length)for(o=0;o<n.length;o++)void 0===(i=(r=l.nestedProperty(p,n[o])).get())?l.nestedProperty(f,n[o]).set(null):(r.set(null),l.nestedProperty(f,n[o]).set(i));if(t=l.extendDeepNoArrays(t||{},p),n&&n.length)for(o=0;o<n.length;o++)if(u=l.nestedProperty(f,n[o]).get()){for(c=(s=l.nestedProperty(t,n[o])).get(),Array.isArray(c)||(c=[],s.set(c)),a=0;a<u.length;a++){var d=u[a];c[a]=null===d?null:y.extendObjectWithContainers(c[a],d)}s.set(c)}return t},y.dataArrayContainers=[\\\"transforms\\\",\\\"dimensions\\\"],y.layoutArrayContainers=o.layoutArrayContainers,y.extendTrace=function(t,e){return y.extendObjectWithContainers(t,e,y.dataArrayContainers)},y.extendLayout=function(t,e){return y.extendObjectWithContainers(t,e,y.layoutArrayContainers)},y.transition=function(t,e,n,r,i,o){var a={redraw:i.redraw},s={},u=[];return a.prepareFn=function(){for(var i=Array.isArray(e)?e.length:0,o=r.slice(0,i),a=0;a<o.length;a++){var c=o[a],h=t._fullData[c]._module;if(h){if(h.animatable){var p=h.basePlotModule.name;s[p]||(s[p]=[]),s[p].push(c)}t.data[o[a]]=y.extendTrace(t.data[o[a]],e[a])}}var f=l.expandObjectPaths(l.extendDeepNoArrays({},n)),d=/^[xy]axis[0-9]*$/;for(var m in f)d.test(m)&&delete f[m].range;y.extendLayout(t.layout,f),delete t.calcdata,y.supplyDefaults(t),y.doCalcdata(t);var v=l.expandObjectPaths(n);if(v){var g=t._fullLayout._plots;for(var _ in g){var b=g[_],x=b.xaxis,w=b.yaxis,A=x.range.slice(),C=w.range.slice(),M=null,E=null,T=null,S=null;Array.isArray(v[x._name+\\\".range\\\"])?M=v[x._name+\\\".range\\\"].slice():Array.isArray((v[x._name]||{}).range)&&(M=v[x._name].range.slice()),Array.isArray(v[w._name+\\\".range\\\"])?E=v[w._name+\\\".range\\\"].slice():Array.isArray((v[w._name]||{}).range)&&(E=v[w._name].range.slice()),A&&M&&(x.r2l(A[0])!==x.r2l(M[0])||x.r2l(A[1])!==x.r2l(M[1]))&&(T={xr0:A,xr1:M}),C&&E&&(w.r2l(C[0])!==w.r2l(E[0])||w.r2l(C[1])!==w.r2l(E[1]))&&(S={yr0:C,yr1:E}),(T||S)&&u.push(l.extendFlat({plotinfo:b},T,S))}}return Promise.resolve()},a.runFn=function(e){var r,i,a=t._fullLayout._basePlotModules,c=u.length;if(n)for(i=0;i<a.length;i++)a[i].transitionAxes&&a[i].transitionAxes(t,u,o,e);for(var h in c?((r=l.extendFlat({},o)).duration=0,delete s.cartesian):r=o,s){var p=s[h];t._fullData[p[0]]._module.basePlotModule.plot(t,p,r,e)}},O(t,o,a)},y.transitionFromReact=function(t,e,n,r){var i=t._fullLayout,o=i.transition,a={},s=[];return a.prepareFn=function(){var t=i._plots;for(var o in a.redraw=!1,\\\"some\\\"===e.anim&&(a.redraw=!0),\\\"some\\\"===n.anim&&(a.redraw=!0),t){var u=t[o],c=u.xaxis,h=u.yaxis,p=r[c._name].range.slice(),f=r[h._name].range.slice(),d=c.range.slice(),m=h.range.slice();c.setScale(),h.setScale();var v=null,g=null;c.r2l(p[0])===c.r2l(d[0])&&c.r2l(p[1])===c.r2l(d[1])||(v={xr0:p,xr1:d}),h.r2l(f[0])===h.r2l(m[0])&&h.r2l(f[1])===h.r2l(m[1])||(g={yr0:f,yr1:m}),(v||g)&&s.push(l.extendFlat({plotinfo:u},v,g))}return Promise.resolve()},a.runFn=function(n){for(var r,i,a,u=t._fullData,c=t._fullLayout._basePlotModules,h=[],p=0;p<u.length;p++)h.push(p);function f(){for(var e=0;e<c.length;e++)c[e].transitionAxes&&c[e].transitionAxes(t,s,r,n)}function d(){for(var e=0;e<c.length;e++)c[e].plot(t,a,i,n)}s.length&&e.anim?\\\"traces first\\\"===o.ordering?(r=l.extendFlat({},o,{duration:0}),a=h,i=o,setTimeout(f,o.duration),d()):(r=o,a=null,i=l.extendFlat({},o,{duration:0}),setTimeout(d,r.duration),f()):s.length?(r=o,f()):e.anim&&(a=h,i=o,d())},O(t,o,a)},y.doCalcdata=function(t,e){var n,r,i,s,u=h.list(t),p=t._fullData,f=t._fullLayout,d=new Array(p.length),m=(t.calcdata||[]).slice();for(t.calcdata=d,f._numBoxes=0,f._numViolins=0,f._violinScaleGroupStats={},t._hmpixcount=0,t._hmlumcount=0,f._piecolormap={},f._sunburstcolormap={},f._treemapcolormap={},f._funnelareacolormap={},i=0;i<p.length;i++)Array.isArray(e)&&-1===e.indexOf(i)&&(d[i]=m[i]);for(i=0;i<p.length;i++)(n=p[i])._arrayAttrs=a.findArrayAttributes(n),n._extremes={};var v=f._subplots.polar||[];for(i=0;i<v.length;i++)u.push(f[v[i]].radialaxis,f[v[i]].angularaxis);for(var g in f._colorAxes){var y=f[g];!1!==y.cauto&&(delete y.cmin,delete y.cmax)}var b=!1;function x(e){if(n=p[e],r=n._module,!0===n.visible&&n.transforms){if(r&&r.calc){var i=r.calc(t,n);i[0]&&i[0].t&&i[0].t._scene&&delete i[0].t._scene.dirty}for(s=0;s<n.transforms.length;s++){var o=n.transforms[s];(r=_[o.type])&&r.calcTransform&&(n._hasCalcTransform=!0,b=!0,r.calcTransform(t,n,o))}}}function w(e,i){if(n=p[e],!!(r=n._module).isContainer===i){var o=[];if(!0===n.visible&&0!==n._length){delete n._indexToPoints;var a=n.transforms||[];for(s=a.length-1;s>=0;s--)if(a[s].enabled){n._indexToPoints=a[s]._indexToPoints;break}r&&r.calc&&(o=r.calc(t,n))}Array.isArray(o)&&o[0]||(o=[{x:c,y:c}]),o[0].t||(o[0].t={}),o[0].trace=n,d[e]=o}}for(L(u,p,f),i=0;i<p.length;i++)w(i,!0);for(i=0;i<p.length;i++)x(i);for(b&&L(u,p,f),i=0;i<p.length;i++)w(i,!0);for(i=0;i<p.length;i++)w(i,!1);P(t);var A=function(t,e){var n,r,i,a,s,u=[];function c(t,n,r){var i=n._id.charAt(0);if(\\\"histogram2dcontour\\\"===t){var o=n._counterAxes[0],a=h.getFromId(e,o),s=\\\"x\\\"===i||\\\"x\\\"===o&&\\\"category\\\"===a.type,l=\\\"y\\\"===i||\\\"y\\\"===o&&\\\"category\\\"===a.type;return function(t,e){return 0===t||0===e||s&&t===r[e].length-1||l&&e===r.length-1?-1:(\\\"y\\\"===i?e:t)-1}}return function(t,e){return\\\"y\\\"===i?e:t}}var p={min:function(t){return l.aggNums(Math.min,null,t)},max:function(t){return l.aggNums(Math.max,null,t)},sum:function(t){return l.aggNums((function(t,e){return t+e}),null,t)},total:function(t){return l.aggNums((function(t,e){return t+e}),null,t)},mean:function(t){return l.mean(t)},median:function(t){return l.median(t)}};for(n=0;n<t.length;n++){var f=t[n];if(\\\"category\\\"===f.type){var d=f.categoryorder.match(I);if(d){var m=d[1],v=d[2],g=[];for(r=0;r<f._categories.length;r++)g.push([f._categories[r],[]]);for(r=0;r<f._traceIndices.length;r++){var y=f._traceIndices[r],_=e._fullData[y],b=f._id.charAt(0);if(!0===_.visible){var x=_.type;o.traceIs(_,\\\"histogram\\\")&&(delete _._xautoBinFinished,delete _._yautoBinFinished);var w=e.calcdata[y];for(i=0;i<w.length;i++){var A,C,M,E=w[i];if(\\\"splom\\\"===x){var T=_._axesDim[f._id];if(\\\"y\\\"===b){var S=_._diag[T][0];S&&(f=e._fullLayout[h.id2name(S)])}var k=E.trace.dimensions[T].values;for(a=0;a<k.length;a++)for(A=k[a],C=f._categoriesMap[A],s=0;s<E.trace.dimensions.length;s++)if(s!==T){var O=E.trace.dimensions[s];g[C][1].push(O.values[a])}}else if(\\\"scattergl\\\"===x){for(a=0;a<E.t.x.length;a++)\\\"x\\\"===b&&(C=A=E.t.x[a],M=E.t.y[a]),\\\"y\\\"===b&&(C=A=E.t.y[a],M=E.t.x[a]),g[C][1].push(M);E.t&&E.t._scene&&delete E.t._scene.dirty}else if(E.hasOwnProperty(\\\"z\\\")){M=E.z;var L=c(_.type,f,M);for(a=0;a<M.length;a++)for(s=0;s<M[a].length;s++)(C=L(s,a))+1&&g[C][1].push(M[a][s])}else for(\\\"x\\\"===b?(A=E.p+1?E.p:E.x,M=E.s||E.v||E.y):\\\"y\\\"===b&&(A=E.p+1?E.p:E.y,M=E.s||E.v||E.x),Array.isArray(M)||(M=[M]),a=0;a<M.length;a++)g[A][1].push(M[a])}}}f._categoriesValue=g;var P=[];for(r=0;r<g.length;r++)P.push([g[r][0],p[m](g[r][1])]);P.sort((function(t,e){return t[1]-e[1]})),f._categoriesAggregatedValue=P,f._initialCategories=P.map((function(t){return t[0]})),\\\"descending\\\"===v&&f._initialCategories.reverse(),u=u.concat(f.sortByInitialCategories())}}}return u}(u,t);if(A.length){for(f._numBoxes=0,f._numViolins=0,i=0;i<A.length;i++)w(A[i],!0);for(i=0;i<A.length;i++)w(A[i],!1);P(t)}o.getComponentMethod(\\\"fx\\\",\\\"calc\\\")(t),o.getComponentMethod(\\\"errorbars\\\",\\\"calc\\\")(t)};var I=/(total|sum|min|max|mean|median) (ascending|descending)/;function L(t,e,n){var r,i,o,a={};for(r=0;r<t.length;r++)o=(i=t[r])._id,i.clearCalc(),\\\"multicategory\\\"===i.type&&i.setupMultiCategory(e),a[i._id]=1;var s=n._axisMatchGroups||[];for(r=0;r<s.length;r++)for(o in s[r])a[o]||(i=n[h.id2name(o)]).clearCalc()}function P(t){var e,n,r,i=t._fullLayout,o=i._visibleModules,a={};for(n=0;n<o.length;n++){var s=o[n],u=s.crossTraceCalc;if(u){var c=s.basePlotModule.name;a[c]?l.pushUnique(a[c],u):a[c]=[u]}}for(r in a){var h=a[r],p=i._subplots[r];if(Array.isArray(p))for(e=0;e<p.length;e++){var f=p[e],d=\\\"cartesian\\\"===r?i._plots[f]:i[f];for(n=0;n<h.length;n++)h[n](t,d,f)}else for(n=0;n<h.length;n++)h[n](t)}}y.rehover=function(t){t._fullLayout._rehover&&t._fullLayout._rehover()},y.redrag=function(t){t._fullLayout._redrag&&t._fullLayout._redrag()},y.generalUpdatePerTraceModule=function(t,e,n,r){var i,o=e.traceHash,a={};for(i=0;i<n.length;i++){var s=n[i],u=s[0].trace;u.visible&&(a[u.type]=a[u.type]||[],a[u.type].push(s))}for(var c in o)if(!a[c]){var h=o[c][0];h[0].trace.visible=!1,a[c]=[h]}for(var p in a){var f=a[p];f[0][0].trace._module.plot(t,e,l.filterVisible(f),r)}e.traceHash=a},y.plotBasePlot=function(t,e,n,r,i){var a=o.getModule(t),s=m(e.calcdata,a)[0];a.plot(e,s,r,i)},y.cleanBasePlot=function(t,e,n,r,i){var o=i._has&&i._has(t),a=n._has&&n._has(t);o&&!a&&i[\\\"_\\\"+t+\\\"layer\\\"].selectAll(\\\"g.trace\\\").remove()}},{\\\"../components/color\\\":595,\\\"../constants/numerical\\\":704,\\\"../lib\\\":728,\\\"../plot_api/plot_schema\\\":765,\\\"../plot_api/plot_template\\\":766,\\\"../plots/get_data\\\":813,\\\"../registry\\\":859,\\\"./animation_attributes\\\":771,\\\"./attributes\\\":773,\\\"./cartesian/axis_ids\\\":779,\\\"./cartesian/handle_outline\\\":786,\\\"./command\\\":802,\\\"./font_attributes\\\":804,\\\"./frame_attributes\\\":805,\\\"./layout_attributes\\\":830,d3:164,\\\"fast-isnumeric\\\":236}],840:[function(t,e,n){\\\"use strict\\\";e.exports={attr:\\\"subplot\\\",name:\\\"polar\\\",axisNames:[\\\"angularaxis\\\",\\\"radialaxis\\\"],axisName2dataArray:{angularaxis:\\\"theta\\\",radialaxis:\\\"r\\\"},layerNames:[\\\"draglayer\\\",\\\"plotbg\\\",\\\"backplot\\\",\\\"angular-grid\\\",\\\"radial-grid\\\",\\\"frontplot\\\",\\\"angular-line\\\",\\\"radial-line\\\",\\\"angular-axis\\\",\\\"radial-axis\\\"],radialDragBoxSize:50,angularDragBoxSize:30,cornerLen:25,cornerHalfWidth:2,MINDRAG:8,MINZOOM:20,OFFEDGE:20}},{}],841:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../lib/polygon\\\").tester,o=r.findIndexOfMin,a=r.isAngleInsideSector,s=r.angleDelta,l=r.angleDist;function u(t,e,n,r){var i,o,a=r[0],s=r[1],l=h(Math.sin(e)-Math.sin(t)),u=h(Math.cos(e)-Math.cos(t)),c=Math.tan(n),p=h(1/c),f=l/u,d=s-f*a;return p?l&&u?o=c*(i=d/(c-f)):u?(i=s*p,o=s):(i=a,o=a*c):l&&u?(i=0,o=d):u?(i=0,o=s):i=o=NaN,[i,o]}function c(t,e,n,i){return r.isFullCircle([e,n])?function(t,e){var n,r=e.length,i=new Array(r+1);for(n=0;n<r;n++){var o=e[n];i[n]=[t*Math.cos(o),t*Math.sin(o)]}return i[n]=i[0].slice(),i}(t,i):function(t,e,n,i){var s,c,h=i.length,p=[];function f(e){return[t*Math.cos(e),t*Math.sin(e)]}function d(t,e,n){return u(t,e,n,f(t))}function m(t){return r.mod(t,h)}function v(t){return a(t,[e,n])}var g=o(i,(function(t){return v(t)?l(t,e):1/0})),y=d(i[g],i[m(g-1)],e);for(p.push(y),s=g,c=0;c<h;s++,c++){var _=i[m(s)];if(!v(_))break;p.push(f(_))}var b=o(i,(function(t){return v(t)?l(t,n):1/0})),x=d(i[b],i[m(b+1)],n);return p.push(x),p.push([0,0]),p.push(p[0].slice()),p}(t,e,n,i)}function h(t){return Math.abs(t)>1e-10?t:0}function p(t,e,n){e=e||0,n=n||0;for(var r=t.length,i=new Array(r),o=0;o<r;o++){var a=t[o];i[o]=[e+a[0],n-a[1]]}return i}e.exports={isPtInsidePolygon:function(t,e,n,r,o){if(!a(e,r))return!1;var s,l;n[0]<n[1]?(s=n[0],l=n[1]):(s=n[1],l=n[0]);var u=i(c(s,r[0],r[1],o)),h=i(c(l,r[0],r[1],o)),p=[t*Math.cos(e),t*Math.sin(e)];return h.contains(p)&&!u.contains(p)},findPolygonOffset:function(t,e,n,r){for(var i=1/0,o=1/0,a=c(t,e,n,r),s=0;s<a.length;s++){var l=a[s];i=Math.min(i,l[0]),o=Math.min(o,-l[1])}return[i,o]},findEnclosingVertexAngles:function(t,e){var n=o(e,(function(e){var n=s(e,t);return n>0?n:1/0})),i=r.mod(n+1,e.length);return[e[n],e[i]]},findIntersectionXY:u,findXYatLength:function(t,e,n,r){var i=-e*n,o=e*e+1,a=2*(e*i-n),s=i*i+n*n-t*t,l=Math.sqrt(a*a-4*o*s),u=(-a+l)/(2*o),c=(-a-l)/(2*o);return[[u,e*u+i+r],[c,e*c+i+r]]},clampTiny:h,pathPolygon:function(t,e,n,r,i,o){return\\\"M\\\"+p(c(t,e,n,r),i,o).join(\\\"L\\\")},pathPolygonAnnulus:function(t,e,n,r,i,o,a){var s,l;t<e?(s=t,l=e):(s=e,l=t);var u=p(c(s,n,r,i),o,a);return\\\"M\\\"+p(c(l,n,r,i),o,a).reverse().join(\\\"L\\\")+\\\"M\\\"+u.join(\\\"L\\\")}}},{\\\"../../lib\\\":728,\\\"../../lib/polygon\\\":740}],842:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../get_data\\\").getSubplotCalcData,i=t(\\\"../../lib\\\").counterRegex,o=t(\\\"./polar\\\"),a=t(\\\"./constants\\\"),s=a.attr,l=a.name,u=i(l),c={};c[s]={valType:\\\"subplotid\\\",dflt:l,editType:\\\"calc\\\"},e.exports={attr:s,name:l,idRoot:l,idRegex:u,attrRegex:u,attributes:c,layoutAttributes:t(\\\"./layout_attributes\\\"),supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),plot:function(t){for(var e=t._fullLayout,n=t.calcdata,i=e._subplots[l],a=0;a<i.length;a++){var s=i[a],u=r(n,l,s),c=e[s]._subplot;c||(c=o(t,s),e[s]._subplot=c),c.plot(u,e,t._promises)}},clean:function(t,e,n,r){for(var i=r._subplots[l]||[],o=r._has&&r._has(\\\"gl\\\"),a=e._has&&e._has(\\\"gl\\\"),s=o&&!a,u=0;u<i.length;u++){var c=i[u],h=r[c]._subplot;if(!e[c]&&h)for(var p in h.framework.remove(),h.layers[\\\"radial-axis-title\\\"].remove(),h.clipPaths)h.clipPaths[p].remove();s&&h._scene&&(h._scene.destroy(),h._scene=null)}},toSVG:t(\\\"../cartesian\\\").toSVG}},{\\\"../../lib\\\":728,\\\"../cartesian\\\":789,\\\"../get_data\\\":813,\\\"./constants\\\":840,\\\"./layout_attributes\\\":843,\\\"./layout_defaults\\\":844,\\\"./polar\\\":851}],843:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color/attributes\\\"),i=t(\\\"../cartesian/layout_attributes\\\"),o=t(\\\"../domain\\\").attributes,a=t(\\\"../../lib\\\").extendFlat,s=t(\\\"../../plot_api/edit_types\\\").overrideAll,l=s({color:i.color,showline:a({},i.showline,{dflt:!0}),linecolor:i.linecolor,linewidth:i.linewidth,showgrid:a({},i.showgrid,{dflt:!0}),gridcolor:i.gridcolor,gridwidth:i.gridwidth},\\\"plot\\\",\\\"from-root\\\"),u=s({tickmode:i.tickmode,nticks:i.nticks,tick0:i.tick0,dtick:i.dtick,tickvals:i.tickvals,ticktext:i.ticktext,ticks:i.ticks,ticklen:i.ticklen,tickwidth:i.tickwidth,tickcolor:i.tickcolor,showticklabels:i.showticklabels,showtickprefix:i.showtickprefix,tickprefix:i.tickprefix,showticksuffix:i.showticksuffix,ticksuffix:i.ticksuffix,showexponent:i.showexponent,exponentformat:i.exponentformat,separatethousands:i.separatethousands,tickfont:i.tickfont,tickangle:i.tickangle,tickformat:i.tickformat,tickformatstops:i.tickformatstops,layer:i.layer},\\\"plot\\\",\\\"from-root\\\"),c={visible:a({},i.visible,{dflt:!0}),type:a({},i.type,{values:[\\\"-\\\",\\\"linear\\\",\\\"log\\\",\\\"date\\\",\\\"category\\\"]}),autorange:a({},i.autorange,{editType:\\\"plot\\\"}),rangemode:{valType:\\\"enumerated\\\",values:[\\\"tozero\\\",\\\"nonnegative\\\",\\\"normal\\\"],dflt:\\\"tozero\\\",editType:\\\"calc\\\"},range:a({},i.range,{items:[{valType:\\\"any\\\",editType:\\\"plot\\\",impliedEdits:{\\\"^autorange\\\":!1}},{valType:\\\"any\\\",editType:\\\"plot\\\",impliedEdits:{\\\"^autorange\\\":!1}}],editType:\\\"plot\\\"}),categoryorder:i.categoryorder,categoryarray:i.categoryarray,angle:{valType:\\\"angle\\\",editType:\\\"plot\\\"},side:{valType:\\\"enumerated\\\",values:[\\\"clockwise\\\",\\\"counterclockwise\\\"],dflt:\\\"clockwise\\\",editType:\\\"plot\\\"},title:{text:a({},i.title.text,{editType:\\\"plot\\\",dflt:\\\"\\\"}),font:a({},i.title.font,{editType:\\\"plot\\\"}),editType:\\\"plot\\\"},hoverformat:i.hoverformat,uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"},editType:\\\"calc\\\",_deprecated:{title:i._deprecated.title,titlefont:i._deprecated.titlefont}};a(c,l,u);var h={visible:a({},i.visible,{dflt:!0}),type:{valType:\\\"enumerated\\\",values:[\\\"-\\\",\\\"linear\\\",\\\"category\\\"],dflt:\\\"-\\\",editType:\\\"calc\\\",_noTemplating:!0},categoryorder:i.categoryorder,categoryarray:i.categoryarray,thetaunit:{valType:\\\"enumerated\\\",values:[\\\"radians\\\",\\\"degrees\\\"],dflt:\\\"degrees\\\",editType:\\\"calc\\\"},period:{valType:\\\"number\\\",editType:\\\"calc\\\",min:0},direction:{valType:\\\"enumerated\\\",values:[\\\"counterclockwise\\\",\\\"clockwise\\\"],dflt:\\\"counterclockwise\\\",editType:\\\"calc\\\"},rotation:{valType:\\\"angle\\\",editType:\\\"calc\\\"},hoverformat:i.hoverformat,uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"},editType:\\\"calc\\\"};a(h,l,u),e.exports={domain:o({name:\\\"polar\\\",editType:\\\"plot\\\"}),sector:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\",editType:\\\"plot\\\"},{valType:\\\"number\\\",editType:\\\"plot\\\"}],dflt:[0,360],editType:\\\"plot\\\"},hole:{valType:\\\"number\\\",min:0,max:1,dflt:0,editType:\\\"plot\\\"},bgcolor:{valType:\\\"color\\\",editType:\\\"plot\\\",dflt:r.background},radialaxis:c,angularaxis:h,gridshape:{valType:\\\"enumerated\\\",values:[\\\"circular\\\",\\\"linear\\\"],dflt:\\\"circular\\\",editType:\\\"plot\\\"},uirevision:{valType:\\\"any\\\",editType:\\\"none\\\"},editType:\\\"calc\\\"}},{\\\"../../components/color/attributes\\\":594,\\\"../../lib\\\":728,\\\"../../plot_api/edit_types\\\":759,\\\"../cartesian/layout_attributes\\\":790,\\\"../domain\\\":803}],844:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../plot_api/plot_template\\\"),a=t(\\\"../subplot_defaults\\\"),s=t(\\\"../get_data\\\").getSubplotData,l=t(\\\"../cartesian/tick_value_defaults\\\"),u=t(\\\"../cartesian/tick_mark_defaults\\\"),c=t(\\\"../cartesian/tick_label_defaults\\\"),h=t(\\\"../cartesian/category_order_defaults\\\"),p=t(\\\"../cartesian/line_grid_defaults\\\"),f=t(\\\"../cartesian/axis_autotype\\\"),d=t(\\\"./layout_attributes\\\"),m=t(\\\"./set_convert\\\"),v=t(\\\"./constants\\\"),g=v.axisNames;function y(t,e,n,a){var f=n(\\\"bgcolor\\\");a.bgColor=i.combine(f,a.paper_bgcolor);var y=n(\\\"sector\\\");n(\\\"hole\\\");var b,x=s(a.fullData,v.name,a.id),w=a.layoutOut;function A(t,e){return n(b+\\\".\\\"+t,e)}for(var C=0;C<g.length;C++){b=g[C],r.isPlainObject(t[b])||(t[b]={});var M=t[b],E=o.newContainer(e,b);E._id=E._name=b,E._attr=a.id+\\\".\\\"+b,E._traceIndices=x.map((function(t){return t._expandedIndex}));var T=v.axisName2dataArray[b],S=_(M,E,A,x,T);h(M,E,A,{axData:x,dataAttr:T});var k,O,I=A(\\\"visible\\\");switch(m(E,e,w),A(\\\"uirevision\\\",e.uirevision),I&&(O=(k=A(\\\"color\\\"))===M.color?k:a.font.color),E._m=1,b){case\\\"radialaxis\\\":var L=A(\\\"autorange\\\",!E.isValidRange(M.range));M.autorange=L,!L||\\\"linear\\\"!==S&&\\\"-\\\"!==S||A(\\\"rangemode\\\"),\\\"reversed\\\"===L&&(E._m=-1),A(\\\"range\\\"),E.cleanRange(\\\"range\\\",{dfltRange:[0,1]}),I&&(A(\\\"side\\\"),A(\\\"angle\\\",y[0]),A(\\\"title.text\\\"),r.coerceFont(A,\\\"title.font\\\",{family:a.font.family,size:Math.round(1.2*a.font.size),color:O}));break;case\\\"angularaxis\\\":if(\\\"date\\\"===S){r.log(\\\"Polar plots do not support date angular axes yet.\\\");for(var P=0;P<x.length;P++)x[P].visible=!1;S=M.type=E.type=\\\"linear\\\"}A(\\\"linear\\\"===S?\\\"thetaunit\\\":\\\"period\\\");var z=A(\\\"direction\\\");A(\\\"rotation\\\",{counterclockwise:0,clockwise:90}[z])}I&&(l(M,E,A,E.type),c(M,E,A,E.type,{tickSuffixDflt:\\\"degrees\\\"===E.thetaunit?\\\"°\\\":void 0}),u(M,E,A,{outerTicks:!0}),A(\\\"showticklabels\\\")&&(r.coerceFont(A,\\\"tickfont\\\",{family:a.font.family,size:a.font.size,color:O}),A(\\\"tickangle\\\"),A(\\\"tickformat\\\")),p(M,E,A,{dfltColor:k,bgColor:a.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:d[b]}),A(\\\"layer\\\")),\\\"category\\\"!==S&&A(\\\"hoverformat\\\"),E._input=M}\\\"category\\\"===e.angularaxis.type&&n(\\\"gridshape\\\")}function _(t,e,n,r,i){if(\\\"-\\\"===n(\\\"type\\\")){for(var o,a=0;a<r.length;a++)if(r[a].visible){o=r[a];break}o&&o[i]&&(e.type=f(o[i],\\\"gregorian\\\")),\\\"-\\\"===e.type?e.type=\\\"linear\\\":t.type=e.type}return e.type}e.exports=function(t,e,n){a(t,e,n,{type:v.name,attributes:d,handleDefaults:y,font:e.font,paper_bgcolor:e.paper_bgcolor,fullData:n,layoutOut:e})}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../cartesian/axis_autotype\\\":777,\\\"../cartesian/category_order_defaults\\\":780,\\\"../cartesian/line_grid_defaults\\\":792,\\\"../cartesian/tick_label_defaults\\\":797,\\\"../cartesian/tick_mark_defaults\\\":798,\\\"../cartesian/tick_value_defaults\\\":799,\\\"../get_data\\\":813,\\\"../subplot_defaults\\\":853,\\\"./constants\\\":840,\\\"./layout_attributes\\\":843,\\\"./set_convert\\\":852}],845:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../../traces/scatter/attributes\\\"),i=r.marker,o=t(\\\"../../../lib/extend\\\").extendFlat;[\\\"Area traces are deprecated!\\\",\\\"Please switch to the *barpolar* trace type.\\\"].join(\\\" \\\"),e.exports={r:o({},r.r,{}),t:o({},r.t,{}),marker:{color:o({},i.color,{}),size:o({},i.size,{}),symbol:o({},i.symbol,{}),opacity:o({},i.opacity,{}),editType:\\\"calc\\\"}}},{\\\"../../../lib/extend\\\":719,\\\"../../../traces/scatter/attributes\\\":1134}],846:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../cartesian/layout_attributes\\\"),i=t(\\\"../../../lib/extend\\\").extendFlat,o=t(\\\"../../../plot_api/edit_types\\\").overrideAll,a=[\\\"Legacy polar charts are deprecated!\\\",\\\"Please switch to *polar* subplots.\\\"].join(\\\" \\\"),s=i({},r.domain,{});function l(t,e){return i({},e,{showline:{valType:\\\"boolean\\\"},showticklabels:{valType:\\\"boolean\\\"},tickorientation:{valType:\\\"enumerated\\\",values:[\\\"horizontal\\\",\\\"vertical\\\"]},ticklen:{valType:\\\"number\\\",min:0},tickcolor:{valType:\\\"color\\\"},ticksuffix:{valType:\\\"string\\\"},endpadding:{valType:\\\"number\\\",description:a},visible:{valType:\\\"boolean\\\"}})}e.exports=o({radialaxis:l(0,{range:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\"},{valType:\\\"number\\\"}]},domain:s,orientation:{valType:\\\"number\\\"}}),angularaxis:l(0,{range:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\",dflt:0},{valType:\\\"number\\\",dflt:360}]},domain:s}),layout:{direction:{valType:\\\"enumerated\\\",values:[\\\"clockwise\\\",\\\"counterclockwise\\\"]},orientation:{valType:\\\"angle\\\"}}},\\\"plot\\\",\\\"nested\\\")},{\\\"../../../lib/extend\\\":719,\\\"../../../plot_api/edit_types\\\":759,\\\"../../cartesian/layout_attributes\\\":790}],847:[function(t,e,n){\\\"use strict\\\";(e.exports=t(\\\"./micropolar\\\")).manager=t(\\\"./micropolar_manager\\\")},{\\\"./micropolar\\\":848,\\\"./micropolar_manager\\\":849}],848:[function(t,e,n){var r=t(\\\"d3\\\"),i=t(\\\"../../../lib\\\").extendDeepAll,o=t(\\\"../../../constants/alignment\\\").MID_SHIFT,a=e.exports={version:\\\"0.2.2\\\"};a.Axis=function(){var t,e,n,s,l={data:[],layout:{}},u={},c={},h=r.dispatch(\\\"hover\\\"),p={render:function(u){return function(u){e=u||e;var h=l.data,p=l.layout;(\\\"string\\\"==typeof e||e.nodeName)&&(e=r.select(e)),e.datum(h).each((function(e,l){var u=e.slice();c={data:a.util.cloneJson(u),layout:a.util.cloneJson(p)};var h=0;u.forEach((function(t,e){t.color||(t.color=p.defaultColorRange[h],h=(h+1)%p.defaultColorRange.length),t.strokeColor||(t.strokeColor=\\\"LinePlot\\\"===t.geometry?t.color:r.rgb(t.color).darker().toString()),c.data[e].color=t.color,c.data[e].strokeColor=t.strokeColor,c.data[e].strokeDash=t.strokeDash,c.data[e].strokeSize=t.strokeSize}));var f=u.filter((function(t,e){var n=t.visible;return void 0===n||!0===n})),d=!1,m=f.map((function(t,e){return d=d||void 0!==t.groupId,t}));if(d){var v=r.nest().key((function(t,e){return void 0!==t.groupId?t.groupId:\\\"unstacked\\\"})).entries(m),g=[],y=v.map((function(t,e){if(\\\"unstacked\\\"===t.key)return t.values;var n=t.values[0].r.map((function(t,e){return 0}));return t.values.forEach((function(t,e,r){t.yStack=[n],g.push(n),n=a.util.sumArrays(t.r,n)})),t.values}));f=r.merge(y)}f.forEach((function(t,e){t.t=Array.isArray(t.t[0])?t.t:[t.t],t.r=Array.isArray(t.r[0])?t.r:[t.r]}));var _=Math.min(p.width-p.margin.left-p.margin.right,p.height-p.margin.top-p.margin.bottom)/2;_=Math.max(10,_);var b,x=[p.margin.left+_,p.margin.top+_];b=d?[0,r.max(a.util.sumArrays(a.util.arrayLast(f).r[0],a.util.arrayLast(g)))]:r.extent(a.util.flattenArray(f.map((function(t,e){return t.r})))),p.radialAxis.domain!=a.DATAEXTENT&&(b[0]=0),n=r.scale.linear().domain(p.radialAxis.domain!=a.DATAEXTENT&&p.radialAxis.domain?p.radialAxis.domain:b).range([0,_]),c.layout.radialAxis.domain=n.domain();var w,A=a.util.flattenArray(f.map((function(t,e){return t.t}))),C=\\\"string\\\"==typeof A[0];C&&(A=a.util.deduplicate(A),w=A.slice(),A=r.range(A.length),f=f.map((function(t,e){var n=t;return t.t=[A],d&&(n.yStack=t.yStack),n})));var M=f.filter((function(t,e){return\\\"LinePlot\\\"===t.geometry||\\\"DotPlot\\\"===t.geometry})).length===f.length,E=null===p.needsEndSpacing?C||!M:p.needsEndSpacing,T=p.angularAxis.domain&&p.angularAxis.domain!=a.DATAEXTENT&&!C&&p.angularAxis.domain[0]>=0?p.angularAxis.domain:r.extent(A),S=Math.abs(A[1]-A[0]);M&&!C&&(S=0);var k=T.slice();E&&C&&(k[1]+=S);var O=p.angularAxis.ticksCount||4;O>8&&(O=O/(O/8)+O%8),p.angularAxis.ticksStep&&(O=(k[1]-k[0])/O);var I=p.angularAxis.ticksStep||(k[1]-k[0])/(O*(p.minorTicks+1));w&&(I=Math.max(Math.round(I),1)),k[2]||(k[2]=I);var L=r.range.apply(this,k);if(L=L.map((function(t,e){return parseFloat(t.toPrecision(12))})),s=r.scale.linear().domain(k.slice(0,2)).range(\\\"clockwise\\\"===p.direction?[0,360]:[360,0]),c.layout.angularAxis.domain=s.domain(),c.layout.angularAxis.endPadding=E?S:0,void 0===(t=r.select(this).select(\\\"svg.chart-root\\\"))||t.empty()){var P=(new DOMParser).parseFromString(\\\"<svg xmlns='http://www.w3.org/2000/svg' class='chart-root'>' + '<g class='outer-group'>' + '<g class='chart-group'>' + '<circle class='background-circle'></circle>' + '<g class='geometry-group'></g>' + '<g class='radial axis-group'>' + '<circle class='outside-circle'></circle>' + '</g>' + '<g class='angular axis-group'></g>' + '<g class='guides-group'><line></line><circle r='0'></circle></g>' + '</g>' + '<g class='legend-group'></g>' + '<g class='tooltips-group'></g>' + '<g class='title-group'><text></text></g>' + '</g>' + '</svg>\\\",\\\"application/xml\\\"),z=this.appendChild(this.ownerDocument.importNode(P.documentElement,!0));t=r.select(z)}t.select(\\\".guides-group\\\").style({\\\"pointer-events\\\":\\\"none\\\"}),t.select(\\\".angular.axis-group\\\").style({\\\"pointer-events\\\":\\\"none\\\"}),t.select(\\\".radial.axis-group\\\").style({\\\"pointer-events\\\":\\\"none\\\"});var R,D=t.select(\\\".chart-group\\\"),$={fill:\\\"none\\\",stroke:p.tickColor},B={\\\"font-size\\\":p.font.size,\\\"font-family\\\":p.font.family,fill:p.font.color,\\\"text-shadow\\\":[\\\"-1px 0px\\\",\\\"1px -1px\\\",\\\"-1px 1px\\\",\\\"1px 1px\\\"].map((function(t,e){return\\\" \\\"+t+\\\" 0 \\\"+p.font.outlineColor})).join(\\\",\\\")};if(p.showLegend){R=t.select(\\\".legend-group\\\").attr({transform:\\\"translate(\\\"+[_,p.margin.top]+\\\")\\\"}).style({display:\\\"block\\\"});var N=f.map((function(t,e){var n=a.util.cloneJson(t);return n.symbol=\\\"DotPlot\\\"===t.geometry?t.dotType||\\\"circle\\\":\\\"LinePlot\\\"!=t.geometry?\\\"square\\\":\\\"line\\\",n.visibleInLegend=void 0===t.visibleInLegend||t.visibleInLegend,n.color=\\\"LinePlot\\\"===t.geometry?t.strokeColor:t.color,n}));a.Legend().config({data:f.map((function(t,e){return t.name||\\\"Element\\\"+e})),legendConfig:i({},a.Legend.defaultConfig().legendConfig,{container:R,elements:N,reverseOrder:p.legend.reverseOrder})})();var F=R.node().getBBox();_=Math.min(p.width-F.width-p.margin.left-p.margin.right,p.height-p.margin.top-p.margin.bottom)/2,_=Math.max(10,_),x=[p.margin.left+_,p.margin.top+_],n.range([0,_]),c.layout.radialAxis.domain=n.domain(),R.attr(\\\"transform\\\",\\\"translate(\\\"+[x[0]+_,x[1]-_]+\\\")\\\")}else R=t.select(\\\".legend-group\\\").style({display:\\\"none\\\"});t.attr({width:p.width,height:p.height}).style({opacity:p.opacity}),D.attr(\\\"transform\\\",\\\"translate(\\\"+x+\\\")\\\").style({cursor:\\\"crosshair\\\"});var j=[(p.width-(p.margin.left+p.margin.right+2*_+(F?F.width:0)))/2,(p.height-(p.margin.top+p.margin.bottom+2*_))/2];if(j[0]=Math.max(0,j[0]),j[1]=Math.max(0,j[1]),t.select(\\\".outer-group\\\").attr(\\\"transform\\\",\\\"translate(\\\"+j+\\\")\\\"),p.title&&p.title.text){var U=t.select(\\\"g.title-group text\\\").style(B).text(p.title.text),q=U.node().getBBox();U.attr({x:x[0]-q.width/2,y:x[1]-_-20})}var V=t.select(\\\".radial.axis-group\\\");if(p.radialAxis.gridLinesVisible){var H=V.selectAll(\\\"circle.grid-circle\\\").data(n.ticks(5));H.enter().append(\\\"circle\\\").attr({class:\\\"grid-circle\\\"}).style($),H.attr(\\\"r\\\",n),H.exit().remove()}V.select(\\\"circle.outside-circle\\\").attr({r:_}).style($);var G=t.select(\\\"circle.background-circle\\\").attr({r:_}).style({fill:p.backgroundColor,stroke:p.stroke});function W(t,e){return s(t)%360+p.orientation}if(p.radialAxis.visible){var X=r.svg.axis().scale(n).ticks(5).tickSize(5);V.call(X).attr({transform:\\\"rotate(\\\"+p.radialAxis.orientation+\\\")\\\"}),V.selectAll(\\\".domain\\\").style($),V.selectAll(\\\"g>text\\\").text((function(t,e){return this.textContent+p.radialAxis.ticksSuffix})).style(B).style({\\\"text-anchor\\\":\\\"start\\\"}).attr({x:0,y:0,dx:0,dy:0,transform:function(t,e){return\\\"horizontal\\\"===p.radialAxis.tickOrientation?\\\"rotate(\\\"+-p.radialAxis.orientation+\\\") translate(\\\"+[0,B[\\\"font-size\\\"]]+\\\")\\\":\\\"translate(\\\"+[0,B[\\\"font-size\\\"]]+\\\")\\\"}}),V.selectAll(\\\"g>line\\\").style({stroke:\\\"black\\\"})}var Y=t.select(\\\".angular.axis-group\\\").selectAll(\\\"g.angular-tick\\\").data(L),Z=Y.enter().append(\\\"g\\\").classed(\\\"angular-tick\\\",!0);Y.attr({transform:function(t,e){return\\\"rotate(\\\"+W(t)+\\\")\\\"}}).style({display:p.angularAxis.visible?\\\"block\\\":\\\"none\\\"}),Y.exit().remove(),Z.append(\\\"line\\\").classed(\\\"grid-line\\\",!0).classed(\\\"major\\\",(function(t,e){return e%(p.minorTicks+1)==0})).classed(\\\"minor\\\",(function(t,e){return!(e%(p.minorTicks+1)==0)})).style($),Z.selectAll(\\\".minor\\\").style({stroke:p.minorTickColor}),Y.select(\\\"line.grid-line\\\").attr({x1:p.tickLength?_-p.tickLength:0,x2:_}).style({display:p.angularAxis.gridLinesVisible?\\\"block\\\":\\\"none\\\"}),Z.append(\\\"text\\\").classed(\\\"axis-text\\\",!0).style(B);var K=Y.select(\\\"text.axis-text\\\").attr({x:_+p.labelOffset,dy:o+\\\"em\\\",transform:function(t,e){var n=W(t),r=_+p.labelOffset,i=p.angularAxis.tickOrientation;return\\\"horizontal\\\"==i?\\\"rotate(\\\"+-n+\\\" \\\"+r+\\\" 0)\\\":\\\"radial\\\"==i?n<270&&n>90?\\\"rotate(180 \\\"+r+\\\" 0)\\\":null:\\\"rotate(\\\"+(n<=180&&n>0?-90:90)+\\\" \\\"+r+\\\" 0)\\\"}}).style({\\\"text-anchor\\\":\\\"middle\\\",display:p.angularAxis.labelsVisible?\\\"block\\\":\\\"none\\\"}).text((function(t,e){return e%(p.minorTicks+1)!=0?\\\"\\\":w?w[t]+p.angularAxis.ticksSuffix:t+p.angularAxis.ticksSuffix})).style(B);p.angularAxis.rewriteTicks&&K.text((function(t,e){return e%(p.minorTicks+1)!=0?\\\"\\\":p.angularAxis.rewriteTicks(this.textContent,e)}));var J=r.max(D.selectAll(\\\".angular-tick text\\\")[0].map((function(t,e){return t.getCTM().e+t.getBBox().width})));R.attr({transform:\\\"translate(\\\"+[_+J,p.margin.top]+\\\")\\\"});var Q=t.select(\\\"g.geometry-group\\\").selectAll(\\\"g\\\").size()>0,tt=t.select(\\\"g.geometry-group\\\").selectAll(\\\"g.geometry\\\").data(f);if(tt.enter().append(\\\"g\\\").attr({class:function(t,e){return\\\"geometry geometry\\\"+e}}),tt.exit().remove(),f[0]||Q){var et=[];f.forEach((function(t,e){var r={};r.radialScale=n,r.angularScale=s,r.container=tt.filter((function(t,n){return n==e})),r.geometry=t.geometry,r.orientation=p.orientation,r.direction=p.direction,r.index=e,et.push({data:t,geometryConfig:r})}));var nt=r.nest().key((function(t,e){return void 0!==t.data.groupId||\\\"unstacked\\\"})).entries(et),rt=[];nt.forEach((function(t,e){\\\"unstacked\\\"===t.key?rt=rt.concat(t.values.map((function(t,e){return[t]}))):rt.push(t.values)})),rt.forEach((function(t,e){var n;n=Array.isArray(t)?t[0].geometryConfig.geometry:t.geometryConfig.geometry;var r=t.map((function(t,e){return i(a[n].defaultConfig(),t)}));a[n]().config(r)()}))}var it,ot,at=t.select(\\\".guides-group\\\"),st=t.select(\\\".tooltips-group\\\"),lt=a.tooltipPanel().config({container:st,fontSize:8})(),ut=a.tooltipPanel().config({container:st,fontSize:8})(),ct=a.tooltipPanel().config({container:st,hasTick:!0})();if(!C){var ht=at.select(\\\"line\\\").attr({x1:0,y1:0,y2:0}).style({stroke:\\\"grey\\\",\\\"pointer-events\\\":\\\"none\\\"});D.on(\\\"mousemove.angular-guide\\\",(function(t,e){var n=a.util.getMousePos(G).angle;ht.attr({x2:-_,transform:\\\"rotate(\\\"+n+\\\")\\\"}).style({opacity:.5});var r=(n+180+360-p.orientation)%360;it=s.invert(r);var i=a.util.convertToCartesian(_+12,n+180);lt.text(a.util.round(it)).move([i[0]+x[0],i[1]+x[1]])})).on(\\\"mouseout.angular-guide\\\",(function(t,e){at.select(\\\"line\\\").style({opacity:0})}))}var pt=at.select(\\\"circle\\\").style({stroke:\\\"grey\\\",fill:\\\"none\\\"});D.on(\\\"mousemove.radial-guide\\\",(function(t,e){var r=a.util.getMousePos(G).radius;pt.attr({r}).style({opacity:.5}),ot=n.invert(a.util.getMousePos(G).radius);var i=a.util.convertToCartesian(r,p.radialAxis.orientation);ut.text(a.util.round(ot)).move([i[0]+x[0],i[1]+x[1]])})).on(\\\"mouseout.radial-guide\\\",(function(t,e){pt.style({opacity:0}),ct.hide(),lt.hide(),ut.hide()})),t.selectAll(\\\".geometry-group .mark\\\").on(\\\"mouseover.tooltip\\\",(function(e,n){var i=r.select(this),o=this.style.fill,s=\\\"black\\\",l=this.style.opacity||1;if(i.attr({\\\"data-opacity\\\":l}),o&&\\\"none\\\"!==o){i.attr({\\\"data-fill\\\":o}),s=r.hsl(o).darker().toString(),i.style({fill:s,opacity:1});var u={t:a.util.round(e[0]),r:a.util.round(e[1])};C&&(u.t=w[e[0]]);var c=\\\"t: \\\"+u.t+\\\", r: \\\"+u.r,h=this.getBoundingClientRect(),p=t.node().getBoundingClientRect(),f=[h.left+h.width/2-j[0]-p.left,h.top+h.height/2-j[1]-p.top];ct.config({color:s}).text(c),ct.move(f)}else o=this.style.stroke||\\\"black\\\",i.attr({\\\"data-stroke\\\":o}),s=r.hsl(o).darker().toString(),i.style({stroke:s,opacity:1})})).on(\\\"mousemove.tooltip\\\",(function(t,e){if(0!=r.event.which)return!1;r.select(this).attr(\\\"data-fill\\\")&&ct.show()})).on(\\\"mouseout.tooltip\\\",(function(t,e){ct.hide();var n=r.select(this),i=n.attr(\\\"data-fill\\\");i?n.style({fill:i,opacity:n.attr(\\\"data-opacity\\\")}):n.style({stroke:n.attr(\\\"data-stroke\\\"),opacity:n.attr(\\\"data-opacity\\\")})}))}))}(u),this},config:function(t){if(!arguments.length)return l;var e=a.util.cloneJson(t);return e.data.forEach((function(t,e){l.data[e]||(l.data[e]={}),i(l.data[e],a.Axis.defaultConfig().data[0]),i(l.data[e],t)})),i(l.layout,a.Axis.defaultConfig().layout),i(l.layout,e.layout),this},getLiveConfig:function(){return c},getinputConfig:function(){return u},radialScale:function(t){return n},angularScale:function(t){return s},svg:function(){return t}};return r.rebind(p,h,\\\"on\\\"),p},a.Axis.defaultConfig=function(t,e){return{data:[{t:[1,2,3,4],r:[10,11,12,13],name:\\\"Line1\\\",geometry:\\\"LinePlot\\\",color:null,strokeDash:\\\"solid\\\",strokeColor:null,strokeSize:\\\"1\\\",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:r.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:\\\"gray\\\",outlineColor:\\\"white\\\",family:\\\"Tahoma, sans-serif\\\"},direction:\\\"clockwise\\\",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:\\\"\\\",visible:!0,gridLinesVisible:!0,tickOrientation:\\\"horizontal\\\",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:\\\"\\\",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:\\\"horizontal\\\",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:\\\"silver\\\",minorTickColor:\\\"#eee\\\",backgroundColor:\\\"none\\\",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}}},a.util={},a.DATAEXTENT=\\\"dataExtent\\\",a.AREA=\\\"AreaChart\\\",a.LINE=\\\"LinePlot\\\",a.DOT=\\\"DotPlot\\\",a.BAR=\\\"BarChart\\\",a.util._override=function(t,e){for(var n in t)n in e&&(e[n]=t[n])},a.util._extend=function(t,e){for(var n in t)e[n]=t[n]},a.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},a.util.dataFromEquation2=function(t,e){var n=e||6;return r.range(0,360+n,n).map((function(e,n){var r=e*Math.PI/180;return[e,t(r)]}))},a.util.dataFromEquation=function(t,e,n){var i=e||6,o=[],a=[];r.range(0,360+i,i).forEach((function(e,n){var r=e*Math.PI/180,i=t(r);o.push(e),a.push(i)}));var s={t:o,r:a};return n&&(s.name=n),s},a.util.ensureArray=function(t,e){if(void 0===t)return null;var n=[].concat(t);return r.range(e).map((function(t,e){return n[e]||n[0]}))},a.util.fillArrays=function(t,e,n){return e.forEach((function(e,r){t[e]=a.util.ensureArray(t[e],n)})),t},a.util.cloneJson=function(t){return JSON.parse(JSON.stringify(t))},a.util.validateKeys=function(t,e){\\\"string\\\"==typeof e&&(e=e.split(\\\".\\\"));var n=e.shift();return t[n]&&(!e.length||objHasKeys(t[n],e))},a.util.sumArrays=function(t,e){return r.zip(t,e).map((function(t,e){return r.sum(t)}))},a.util.arrayLast=function(t){return t[t.length-1]},a.util.arrayEqual=function(t,e){for(var n=Math.max(t.length,e.length,1);n-- >=0&&t[n]===e[n];);return-2===n},a.util.flattenArray=function(t){for(var e=[];!a.util.arrayEqual(e,t);)e=t,t=[].concat.apply([],t);return t},a.util.deduplicate=function(t){return t.filter((function(t,e,n){return n.indexOf(t)==e}))},a.util.convertToCartesian=function(t,e){var n=e*Math.PI/180;return[t*Math.cos(n),t*Math.sin(n)]},a.util.round=function(t,e){var n=e||2,r=Math.pow(10,n);return Math.round(t*r)/r},a.util.getMousePos=function(t){var e=r.mouse(t.node()),n=e[0],i=e[1],o={};return o.x=n,o.y=i,o.pos=e,o.angle=180*(Math.atan2(i,n)+Math.PI)/Math.PI,o.radius=Math.sqrt(n*n+i*i),o},a.util.duplicatesCount=function(t){for(var e,n={},r={},i=0,o=t.length;i<o;i++)(e=t[i])in n?(n[e]++,r[e]=n[e]):n[e]=1;return r},a.util.duplicates=function(t){return Object.keys(a.util.duplicatesCount(t))},a.util.translator=function(t,e,n,r){if(r){var i=n.slice();n=e,e=i}var o=e.reduce((function(t,e){if(void 0!==t)return t[e]}),t);void 0!==o&&(e.reduce((function(t,n,r){if(void 0!==t)return r===e.length-1&&delete t[n],t[n]}),t),n.reduce((function(t,e,r){return void 0===t[e]&&(t[e]={}),r===n.length-1&&(t[e]=o),t[e]}),t))},a.PolyChart=function(){var t=[a.PolyChart.defaultConfig()],e=r.dispatch(\\\"hover\\\"),n={solid:\\\"none\\\",dash:[5,2],dot:[2,5]};function o(){var e=t[0].geometryConfig,i=e.container;\\\"string\\\"==typeof i&&(i=r.select(i)),i.datum(t).each((function(t,i){var o=!!t[0].data.yStack,a=t.map((function(t,e){return o?r.zip(t.data.t[0],t.data.r[0],t.data.yStack[0]):r.zip(t.data.t[0],t.data.r[0])})),s=e.angularScale,l=e.radialScale.domain()[0],u={bar:function(n,i,o){var a=t[o].data,l=e.radialScale(n[1])-e.radialScale(0),u=e.radialScale(n[2]||0),c=a.barWidth;r.select(this).attr({class:\\\"mark bar\\\",d:\\\"M\\\"+[[l+u,-c/2],[l+u,c/2],[u,c/2],[u,-c/2]].join(\\\"L\\\")+\\\"Z\\\",transform:function(t,n){return\\\"rotate(\\\"+(e.orientation+s(t[0]))+\\\")\\\"}})},dot:function(n,i,o){var a=n[2]?[n[0],n[1]+n[2]]:n,s=r.svg.symbol().size(t[o].data.dotSize).type(t[o].data.dotType)(n,i);r.select(this).attr({class:\\\"mark dot\\\",d:s,transform:function(t,n){var r,i=(r=function(t,n){return{r:e.radialScale(t[1]),t:(e.angularScale(t[0])+e.orientation)*Math.PI/180}}(a),{x:r.r*Math.cos(r.t),y:r.r*Math.sin(r.t)});return\\\"translate(\\\"+[i.x,i.y]+\\\")\\\"}})}},c=r.svg.line.radial().interpolate(t[0].data.lineInterpolation).radius((function(t){return e.radialScale(t[1])})).angle((function(t){return e.angularScale(t[0])*Math.PI/180}));u.line=function(n,i,o){var s=n[2]?a[o].map((function(t,e){return[t[0],t[1]+t[2]]})):a[o];if(r.select(this).each(u.dot).style({opacity:function(e,n){return+t[o].data.dotVisible},fill:d.stroke(n,i,o)}).attr({class:\\\"mark dot\\\"}),!(i>0)){var l=r.select(this.parentNode).selectAll(\\\"path.line\\\").data([0]);l.enter().insert(\\\"path\\\"),l.attr({class:\\\"line\\\",d:c(s),transform:function(t,n){return\\\"rotate(\\\"+(e.orientation+90)+\\\")\\\"},\\\"pointer-events\\\":\\\"none\\\"}).style({fill:function(t,e){return d.fill(n,i,o)},\\\"fill-opacity\\\":0,stroke:function(t,e){return d.stroke(n,i,o)},\\\"stroke-width\\\":function(t,e){return d[\\\"stroke-width\\\"](n,i,o)},\\\"stroke-dasharray\\\":function(t,e){return d[\\\"stroke-dasharray\\\"](n,i,o)},opacity:function(t,e){return d.opacity(n,i,o)},display:function(t,e){return d.display(n,i,o)}})}};var h=e.angularScale.range(),p=Math.abs(h[1]-h[0])/a[0].length*Math.PI/180,f=r.svg.arc().startAngle((function(t){return-p/2})).endAngle((function(t){return p/2})).innerRadius((function(t){return e.radialScale(l+(t[2]||0))})).outerRadius((function(t){return e.radialScale(l+(t[2]||0))+e.radialScale(t[1])}));u.arc=function(t,n,i){r.select(this).attr({class:\\\"mark arc\\\",d:f,transform:function(t,n){return\\\"rotate(\\\"+(e.orientation+s(t[0])+90)+\\\")\\\"}})};var d={fill:function(e,n,r){return t[r].data.color},stroke:function(e,n,r){return t[r].data.strokeColor},\\\"stroke-width\\\":function(e,n,r){return t[r].data.strokeSize+\\\"px\\\"},\\\"stroke-dasharray\\\":function(e,r,i){return n[t[i].data.strokeDash]},opacity:function(e,n,r){return t[r].data.opacity},display:function(e,n,r){return void 0===t[r].data.visible||t[r].data.visible?\\\"block\\\":\\\"none\\\"}},m=r.select(this).selectAll(\\\"g.layer\\\").data(a);m.enter().append(\\\"g\\\").attr({class:\\\"layer\\\"});var v=m.selectAll(\\\"path.mark\\\").data((function(t,e){return t}));v.enter().append(\\\"path\\\").attr({class:\\\"mark\\\"}),v.style(d).each(u[e.geometryType]),v.exit().remove(),m.exit().remove()}))}return o.config=function(e){return arguments.length?(e.forEach((function(e,n){t[n]||(t[n]={}),i(t[n],a.PolyChart.defaultConfig()),i(t[n],e)})),this):t},o.getColorScale=function(){},r.rebind(o,e,\\\"on\\\"),o},a.PolyChart.defaultConfig=function(){return{data:{name:\\\"geom1\\\",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:\\\"circle\\\",dotSize:64,dotVisible:!1,barWidth:20,color:\\\"#ffa500\\\",strokeSize:1,strokeColor:\\\"silver\\\",strokeDash:\\\"solid\\\",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:\\\"LinePlot\\\",geometryType:\\\"arc\\\",direction:\\\"clockwise\\\",orientation:0,container:\\\"body\\\",radialScale:null,angularScale:null,colorScale:r.scale.category20()}}},a.BarChart=function(){return a.PolyChart()},a.BarChart.defaultConfig=function(){return{geometryConfig:{geometryType:\\\"bar\\\"}}},a.AreaChart=function(){return a.PolyChart()},a.AreaChart.defaultConfig=function(){return{geometryConfig:{geometryType:\\\"arc\\\"}}},a.DotPlot=function(){return a.PolyChart()},a.DotPlot.defaultConfig=function(){return{geometryConfig:{geometryType:\\\"dot\\\",dotType:\\\"circle\\\"}}},a.LinePlot=function(){return a.PolyChart()},a.LinePlot.defaultConfig=function(){return{geometryConfig:{geometryType:\\\"line\\\"}}},a.Legend=function(){var t=a.Legend.defaultConfig(),e=r.dispatch(\\\"hover\\\");function n(){var e=t.legendConfig,o=t.data.map((function(t,n){return[].concat(t).map((function(t,r){var o=i({},e.elements[n]);return o.name=t,o.color=[].concat(e.elements[n].color)[r],o}))})),a=r.merge(o);a=a.filter((function(t,n){return e.elements[n]&&(e.elements[n].visibleInLegend||void 0===e.elements[n].visibleInLegend)})),e.reverseOrder&&(a=a.reverse());var s=e.container;(\\\"string\\\"==typeof s||s.nodeName)&&(s=r.select(s));var l=a.map((function(t,e){return t.color})),u=e.fontSize,c=null==e.isContinuous?\\\"number\\\"==typeof a[0]:e.isContinuous,h=c?e.height:u*a.length,p=s.classed(\\\"legend-group\\\",!0).selectAll(\\\"svg\\\").data([0]),f=p.enter().append(\\\"svg\\\").attr({width:300,height:h+u,xmlns:\\\"http://www.w3.org/2000/svg\\\",\\\"xmlns:xlink\\\":\\\"http://www.w3.org/1999/xlink\\\",version:\\\"1.1\\\"});f.append(\\\"g\\\").classed(\\\"legend-axis\\\",!0),f.append(\\\"g\\\").classed(\\\"legend-marks\\\",!0);var d=r.range(a.length),m=r.scale[c?\\\"linear\\\":\\\"ordinal\\\"]().domain(d).range(l),v=r.scale[c?\\\"linear\\\":\\\"ordinal\\\"]().domain(d)[c?\\\"range\\\":\\\"rangePoints\\\"]([0,h]);if(c){var g=p.select(\\\".legend-marks\\\").append(\\\"defs\\\").append(\\\"linearGradient\\\").attr({id:\\\"grad1\\\",x1:\\\"0%\\\",y1:\\\"0%\\\",x2:\\\"0%\\\",y2:\\\"100%\\\"}).selectAll(\\\"stop\\\").data(l);g.enter().append(\\\"stop\\\"),g.attr({offset:function(t,e){return e/(l.length-1)*100+\\\"%\\\"}}).style({\\\"stop-color\\\":function(t,e){return t}}),p.append(\\\"rect\\\").classed(\\\"legend-mark\\\",!0).attr({height:e.height,width:e.colorBandWidth,fill:\\\"url(#grad1)\\\"})}else{var y=p.select(\\\".legend-marks\\\").selectAll(\\\"path.legend-mark\\\").data(a);y.enter().append(\\\"path\\\").classed(\\\"legend-mark\\\",!0),y.attr({transform:function(t,e){return\\\"translate(\\\"+[u/2,v(e)+u/2]+\\\")\\\"},d:function(t,e){var n,i,o,a=t.symbol;return o=3*(i=u),\\\"line\\\"===(n=a)?\\\"M\\\"+[[-i/2,-i/12],[i/2,-i/12],[i/2,i/12],[-i/2,i/12]]+\\\"Z\\\":-1!=r.svg.symbolTypes.indexOf(n)?r.svg.symbol().type(n).size(o)():r.svg.symbol().type(\\\"square\\\").size(o)()},fill:function(t,e){return m(e)}}),y.exit().remove()}var _=r.svg.axis().scale(v).orient(\\\"right\\\"),b=p.select(\\\"g.legend-axis\\\").attr({transform:\\\"translate(\\\"+[c?e.colorBandWidth:u,u/2]+\\\")\\\"}).call(_);return b.selectAll(\\\".domain\\\").style({fill:\\\"none\\\",stroke:\\\"none\\\"}),b.selectAll(\\\"line\\\").style({fill:\\\"none\\\",stroke:c?e.textColor:\\\"none\\\"}),b.selectAll(\\\"text\\\").style({fill:e.textColor,\\\"font-size\\\":e.fontSize}).text((function(t,e){return a[e].name})),n}return n.config=function(e){return arguments.length?(i(t,e),this):t},r.rebind(n,e,\\\"on\\\"),n},a.Legend.defaultConfig=function(t,e){return{data:[\\\"a\\\",\\\"b\\\",\\\"c\\\"],legendConfig:{elements:[{symbol:\\\"line\\\",color:\\\"red\\\"},{symbol:\\\"square\\\",color:\\\"yellow\\\"},{symbol:\\\"diamond\\\",color:\\\"limegreen\\\"}],height:150,colorBandWidth:30,fontSize:12,container:\\\"body\\\",isContinuous:null,textColor:\\\"grey\\\",reverseOrder:!1}}},a.tooltipPanel=function(){var t,e,n,o={container:null,hasTick:!1,fontSize:12,color:\\\"white\\\",padding:5},s=\\\"tooltip-\\\"+a.tooltipPanel.uid++,l=10,u=function(){var r=(t=o.container.selectAll(\\\"g.\\\"+s).data([0])).enter().append(\\\"g\\\").classed(s,!0).style({\\\"pointer-events\\\":\\\"none\\\",display:\\\"none\\\"});return n=r.append(\\\"path\\\").style({fill:\\\"white\\\",\\\"fill-opacity\\\":.9}).attr({d:\\\"M0 0\\\"}),e=r.append(\\\"text\\\").attr({dx:o.padding+l,dy:.3*+o.fontSize}),u};return u.text=function(i){var a=r.hsl(o.color).l,s=a>=.5?\\\"#aaa\\\":\\\"white\\\",c=a>=.5?\\\"black\\\":\\\"white\\\",h=i||\\\"\\\";e.style({fill:c,\\\"font-size\\\":o.fontSize+\\\"px\\\"}).text(h);var p=o.padding,f=e.node().getBBox(),d={fill:o.color,stroke:s,\\\"stroke-width\\\":\\\"2px\\\"},m=f.width+2*p+l,v=f.height+2*p;return n.attr({d:\\\"M\\\"+[[l,-v/2],[l,-v/4],[o.hasTick?0:l,0],[l,v/4],[l,v/2],[m,v/2],[m,-v/2]].join(\\\"L\\\")+\\\"Z\\\"}).style(d),t.attr({transform:\\\"translate(\\\"+[l,-v/2+2*p]+\\\")\\\"}),t.style({display:\\\"block\\\"}),u},u.move=function(e){if(t)return t.attr({transform:\\\"translate(\\\"+[e[0],e[1]]+\\\")\\\"}).style({display:\\\"block\\\"}),u},u.hide=function(){if(t)return t.style({display:\\\"none\\\"}),u},u.show=function(){if(t)return t.style({display:\\\"block\\\"}),u},u.config=function(t){return i(o,t),u},u},a.tooltipPanel.uid=1,a.adapter={},a.adapter.plotly=function(){return{convert:function(t,e){var n={};if(t.data&&(n.data=t.data.map((function(t,n){var r=i({},t);return[[r,[\\\"marker\\\",\\\"color\\\"],[\\\"color\\\"]],[r,[\\\"marker\\\",\\\"opacity\\\"],[\\\"opacity\\\"]],[r,[\\\"marker\\\",\\\"line\\\",\\\"color\\\"],[\\\"strokeColor\\\"]],[r,[\\\"marker\\\",\\\"line\\\",\\\"dash\\\"],[\\\"strokeDash\\\"]],[r,[\\\"marker\\\",\\\"line\\\",\\\"width\\\"],[\\\"strokeSize\\\"]],[r,[\\\"marker\\\",\\\"symbol\\\"],[\\\"dotType\\\"]],[r,[\\\"marker\\\",\\\"size\\\"],[\\\"dotSize\\\"]],[r,[\\\"marker\\\",\\\"barWidth\\\"],[\\\"barWidth\\\"]],[r,[\\\"line\\\",\\\"interpolation\\\"],[\\\"lineInterpolation\\\"]],[r,[\\\"showlegend\\\"],[\\\"visibleInLegend\\\"]]].forEach((function(t,n){a.util.translator.apply(null,t.concat(e))})),e||delete r.marker,e&&delete r.groupId,e?(\\\"LinePlot\\\"===r.geometry?(r.type=\\\"scatter\\\",!0===r.dotVisible?(delete r.dotVisible,r.mode=\\\"lines+markers\\\"):r.mode=\\\"lines\\\"):\\\"DotPlot\\\"===r.geometry?(r.type=\\\"scatter\\\",r.mode=\\\"markers\\\"):\\\"AreaChart\\\"===r.geometry?r.type=\\\"area\\\":\\\"BarChart\\\"===r.geometry&&(r.type=\\\"bar\\\"),delete r.geometry):(\\\"scatter\\\"===r.type?\\\"lines\\\"===r.mode?r.geometry=\\\"LinePlot\\\":\\\"markers\\\"===r.mode?r.geometry=\\\"DotPlot\\\":\\\"lines+markers\\\"===r.mode&&(r.geometry=\\\"LinePlot\\\",r.dotVisible=!0):\\\"area\\\"===r.type?r.geometry=\\\"AreaChart\\\":\\\"bar\\\"===r.type&&(r.geometry=\\\"BarChart\\\"),delete r.mode,delete r.type),r})),!e&&t.layout&&\\\"stack\\\"===t.layout.barmode)){var o=a.util.duplicates(n.data.map((function(t,e){return t.geometry})));n.data.forEach((function(t,e){var r=o.indexOf(t.geometry);-1!=r&&(n.data[e].groupId=r)}))}if(t.layout){var s=i({},t.layout);if([[s,[\\\"plot_bgcolor\\\"],[\\\"backgroundColor\\\"]],[s,[\\\"showlegend\\\"],[\\\"showLegend\\\"]],[s,[\\\"radialaxis\\\"],[\\\"radialAxis\\\"]],[s,[\\\"angularaxis\\\"],[\\\"angularAxis\\\"]],[s.angularaxis,[\\\"showline\\\"],[\\\"gridLinesVisible\\\"]],[s.angularaxis,[\\\"showticklabels\\\"],[\\\"labelsVisible\\\"]],[s.angularaxis,[\\\"nticks\\\"],[\\\"ticksCount\\\"]],[s.angularaxis,[\\\"tickorientation\\\"],[\\\"tickOrientation\\\"]],[s.angularaxis,[\\\"ticksuffix\\\"],[\\\"ticksSuffix\\\"]],[s.angularaxis,[\\\"range\\\"],[\\\"domain\\\"]],[s.angularaxis,[\\\"endpadding\\\"],[\\\"endPadding\\\"]],[s.radialaxis,[\\\"showline\\\"],[\\\"gridLinesVisible\\\"]],[s.radialaxis,[\\\"tickorientation\\\"],[\\\"tickOrientation\\\"]],[s.radialaxis,[\\\"ticksuffix\\\"],[\\\"ticksSuffix\\\"]],[s.radialaxis,[\\\"range\\\"],[\\\"domain\\\"]],[s.angularAxis,[\\\"showline\\\"],[\\\"gridLinesVisible\\\"]],[s.angularAxis,[\\\"showticklabels\\\"],[\\\"labelsVisible\\\"]],[s.angularAxis,[\\\"nticks\\\"],[\\\"ticksCount\\\"]],[s.angularAxis,[\\\"tickorientation\\\"],[\\\"tickOrientation\\\"]],[s.angularAxis,[\\\"ticksuffix\\\"],[\\\"ticksSuffix\\\"]],[s.angularAxis,[\\\"range\\\"],[\\\"domain\\\"]],[s.angularAxis,[\\\"endpadding\\\"],[\\\"endPadding\\\"]],[s.radialAxis,[\\\"showline\\\"],[\\\"gridLinesVisible\\\"]],[s.radialAxis,[\\\"tickorientation\\\"],[\\\"tickOrientation\\\"]],[s.radialAxis,[\\\"ticksuffix\\\"],[\\\"ticksSuffix\\\"]],[s.radialAxis,[\\\"range\\\"],[\\\"domain\\\"]],[s.font,[\\\"outlinecolor\\\"],[\\\"outlineColor\\\"]],[s.legend,[\\\"traceorder\\\"],[\\\"reverseOrder\\\"]],[s,[\\\"labeloffset\\\"],[\\\"labelOffset\\\"]],[s,[\\\"defaultcolorrange\\\"],[\\\"defaultColorRange\\\"]]].forEach((function(t,n){a.util.translator.apply(null,t.concat(e))})),e?(void 0!==s.tickLength&&(s.angularaxis.ticklen=s.tickLength,delete s.tickLength),s.tickColor&&(s.angularaxis.tickcolor=s.tickColor,delete s.tickColor)):(s.angularAxis&&void 0!==s.angularAxis.ticklen&&(s.tickLength=s.angularAxis.ticklen),s.angularAxis&&void 0!==s.angularAxis.tickcolor&&(s.tickColor=s.angularAxis.tickcolor)),s.legend&&\\\"boolean\\\"!=typeof s.legend.reverseOrder&&(s.legend.reverseOrder=\\\"normal\\\"!=s.legend.reverseOrder),s.legend&&\\\"boolean\\\"==typeof s.legend.traceorder&&(s.legend.traceorder=s.legend.traceorder?\\\"reversed\\\":\\\"normal\\\",delete s.legend.reverseOrder),s.margin&&void 0!==s.margin.t){var l=[\\\"t\\\",\\\"r\\\",\\\"b\\\",\\\"l\\\",\\\"pad\\\"],u=[\\\"top\\\",\\\"right\\\",\\\"bottom\\\",\\\"left\\\",\\\"pad\\\"],c={};r.entries(s.margin).forEach((function(t,e){c[u[l.indexOf(t.key)]]=t.value})),s.margin=c}e&&(delete s.needsEndSpacing,delete s.minorTickColor,delete s.minorTicks,delete s.angularaxis.ticksCount,delete s.angularaxis.ticksCount,delete s.angularaxis.ticksStep,delete s.angularaxis.rewriteTicks,delete s.angularaxis.nticks,delete s.radialaxis.ticksCount,delete s.radialaxis.ticksCount,delete s.radialaxis.ticksStep,delete s.radialaxis.rewriteTicks,delete s.radialaxis.nticks),n.layout=s}return n}}}},{\\\"../../../constants/alignment\\\":697,\\\"../../../lib\\\":728,d3:164}],849:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../../lib\\\"),o=t(\\\"../../../components/color\\\"),a=t(\\\"./micropolar\\\"),s=t(\\\"./undo_manager\\\"),l=i.extendDeepAll,u=e.exports={};u.framework=function(t){var e,n,i,o,c,h=new s;function p(n,s){return s&&(c=s),r.select(r.select(c).node().parentNode).selectAll(\\\".svg-container>*:not(.chart-root)\\\").remove(),e=e?l(e,n):n,i||(i=a.Axis()),o=a.adapter.plotly().convert(e),i.config(o).render(c),t.data=e.data,t.layout=e.layout,u.fillLayout(t),e}return p.isPolar=!0,p.svg=function(){return i.svg()},p.getConfig=function(){return e},p.getLiveConfig=function(){return a.adapter.plotly().convert(i.getLiveConfig(),!0)},p.getLiveScales=function(){return{t:i.angularScale(),r:i.radialScale()}},p.setUndoPoint=function(){var t,r,i=this,o=a.util.cloneJson(e);t=o,r=n,h.add({undo:function(){r&&i(r)},redo:function(){i(t)}}),n=a.util.cloneJson(o)},p.undo=function(){h.undo()},p.redo=function(){h.redo()},p},u.fillLayout=function(t){var e=r.select(t).selectAll(\\\".plot-container\\\"),n=e.selectAll(\\\".svg-container\\\"),i=t.framework&&t.framework.svg&&t.framework.svg(),a={width:800,height:600,paper_bgcolor:o.background,_container:e,_paperdiv:n,_paper:i};t._fullLayout=l(a,t.layout)}},{\\\"../../../components/color\\\":595,\\\"../../../lib\\\":728,\\\"./micropolar\\\":848,\\\"./undo_manager\\\":850,d3:164}],850:[function(t,e,n){\\\"use strict\\\";e.exports=function(){var t,e=[],n=-1,r=!1;function i(t,e){return t?(r=!0,t[e](),r=!1,this):this}return{add:function(t){return r||(e.splice(n+1,e.length-n),e.push(t),n=e.length-1),this},setCallback:function(e){t=e},undo:function(){var r=e[n];return r?(i(r,\\\"undo\\\"),n-=1,t&&t(r.undo),this):this},redo:function(){var r=e[n+1];return r?(i(r,\\\"redo\\\"),n+=1,t&&t(r.redo),this):this},clear:function(){e=[],n=-1},hasUndo:function(){return-1!==n},hasRedo:function(){return n<e.length-1},getCommands:function(){return e},getPreviousCommand:function(){return e[n-1]},getIndex:function(){return n}}}},{}],851:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"../../registry\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../components/color\\\"),l=t(\\\"../../components/drawing\\\"),u=t(\\\"../plots\\\"),c=t(\\\"../../plots/cartesian/axes\\\"),h=t(\\\"../cartesian/set_convert\\\"),p=t(\\\"./set_convert\\\"),f=t(\\\"../cartesian/autorange\\\").doAutoRange,d=t(\\\"../cartesian/dragbox\\\"),m=t(\\\"../../components/dragelement\\\"),v=t(\\\"../../components/fx\\\"),g=t(\\\"../../components/titles\\\"),y=t(\\\"../cartesian/select\\\").prepSelect,_=t(\\\"../cartesian/select\\\").selectOnClick,b=t(\\\"../cartesian/select\\\").clearSelect,x=t(\\\"../../lib/setcursor\\\"),w=t(\\\"../../lib/clear_gl_canvases\\\"),A=t(\\\"../../plot_api/subroutines\\\").redrawReglTraces,C=t(\\\"../../constants/alignment\\\").MID_SHIFT,M=t(\\\"./constants\\\"),E=t(\\\"./helpers\\\"),T=a._,S=a.mod,k=a.deg2rad,O=a.rad2deg;function I(t,e){this.id=e,this.gd=t,this._hasClipOnAxisFalse=null,this.vangles=null,this.radialAxisAngle=null,this.traceHash={},this.layers={},this.clipPaths={},this.clipIds={},this.viewInitial={};var n=t._fullLayout,r=\\\"clip\\\"+n._uid+e;this.clipIds.forTraces=r+\\\"-for-traces\\\",this.clipPaths.forTraces=n._clips.append(\\\"clipPath\\\").attr(\\\"id\\\",this.clipIds.forTraces),this.clipPaths.forTraces.append(\\\"path\\\"),this.framework=n._polarlayer.append(\\\"g\\\").attr(\\\"class\\\",e),this.radialTickLayout=null,this.angularTickLayout=null}var L=I.prototype;function P(t){var e=t.ticks+String(t.ticklen)+String(t.showticklabels);return\\\"side\\\"in t&&(e+=t.side),e}function z(t,e){return e[a.findIndexOfMin(e,(function(e){return a.angleDist(t,e)}))]}function R(t,e,n){return e?(t.attr(\\\"display\\\",null),t.attr(n)):t&&t.attr(\\\"display\\\",\\\"none\\\"),t}function D(t,e){return\\\"translate(\\\"+t+\\\",\\\"+e+\\\")\\\"}function $(t){return\\\"rotate(\\\"+t+\\\")\\\"}e.exports=function(t,e){return new I(t,e)},L.plot=function(t,e){var n=this,r=e[n.id];n._hasClipOnAxisFalse=!1;for(var i=0;i<t.length;i++)if(!1===t[i][0].trace.cliponaxis){n._hasClipOnAxisFalse=!0;break}n.updateLayers(e,r),n.updateLayout(e,r),u.generalUpdatePerTraceModule(n.gd,n,t,r),n.updateFx(e,r)},L.updateLayers=function(t,e){var n=this.layers,i=e.radialaxis,o=e.angularaxis,a=M.layerNames,s=a.indexOf(\\\"frontplot\\\"),l=a.slice(0,s),u=\\\"below traces\\\"===o.layer,c=\\\"below traces\\\"===i.layer;u&&l.push(\\\"angular-line\\\"),c&&l.push(\\\"radial-line\\\"),u&&l.push(\\\"angular-axis\\\"),c&&l.push(\\\"radial-axis\\\"),l.push(\\\"frontplot\\\"),u||l.push(\\\"angular-line\\\"),c||l.push(\\\"radial-line\\\"),u||l.push(\\\"angular-axis\\\"),c||l.push(\\\"radial-axis\\\");var h=this.framework.selectAll(\\\".polarsublayer\\\").data(l,String);h.enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return\\\"polarsublayer \\\"+t})).each((function(t){var e=n[t]=r.select(this);switch(t){case\\\"frontplot\\\":e.append(\\\"g\\\").classed(\\\"barlayer\\\",!0),e.append(\\\"g\\\").classed(\\\"scatterlayer\\\",!0);break;case\\\"backplot\\\":e.append(\\\"g\\\").classed(\\\"maplayer\\\",!0);break;case\\\"plotbg\\\":n.bg=e.append(\\\"path\\\");break;case\\\"radial-grid\\\":case\\\"angular-grid\\\":e.style(\\\"fill\\\",\\\"none\\\");break;case\\\"radial-line\\\":e.append(\\\"line\\\").style(\\\"fill\\\",\\\"none\\\");break;case\\\"angular-line\\\":e.append(\\\"path\\\").style(\\\"fill\\\",\\\"none\\\")}})),h.order()},L.updateLayout=function(t,e){var n=this,r=n.layers,i=t._size,o=e.radialaxis,a=e.angularaxis,u=e.domain.x,c=e.domain.y;n.xOffset=i.l+i.w*u[0],n.yOffset=i.t+i.h*(1-c[1]);var h=n.xLength=i.w*(u[1]-u[0]),p=n.yLength=i.h*(c[1]-c[0]),f=e.sector;n.sectorInRad=f.map(k);var d,m,v,g,y,_=n.sectorBBox=function(t){var e,n=t[0],r=t[1]-n,i=S(n,360),o=i+r,a=Math.cos(k(i)),s=Math.sin(k(i)),l=Math.cos(k(o)),u=Math.sin(k(o));return e=i<=90&&o>=90||i>90&&o>=450?1:s<=0&&u<=0?0:Math.max(s,u),[i<=180&&o>=180||i>180&&o>=540?-1:a>=0&&l>=0?0:Math.min(a,l),i<=270&&o>=270||i>270&&o>=630?-1:s>=0&&u>=0?0:Math.min(s,u),o>=360?1:a<=0&&l<=0?0:Math.max(a,l),e]}(f),b=_[2]-_[0],x=_[3]-_[1],w=p/h,A=Math.abs(x/b);w>A?(d=h,y=(p-(m=h*A))/i.h/2,v=[u[0],u[1]],g=[c[0]+y,c[1]-y]):(m=p,y=(h-(d=p/A))/i.w/2,v=[u[0]+y,u[1]-y],g=[c[0],c[1]]),n.xLength2=d,n.yLength2=m,n.xDomain2=v,n.yDomain2=g;var C=n.xOffset2=i.l+i.w*v[0],M=n.yOffset2=i.t+i.h*(1-g[1]),E=n.radius=d/b,T=n.innerRadius=e.hole*E,O=n.cx=C-E*_[0],I=n.cy=M+E*_[3],L=n.cxx=O-C,P=n.cyy=I-M;n.radialAxis=n.mockAxis(t,e,o,{_id:\\\"x\\\",side:{counterclockwise:\\\"top\\\",clockwise:\\\"bottom\\\"}[o.side],domain:[T/i.w,E/i.w]}),n.angularAxis=n.mockAxis(t,e,a,{side:\\\"right\\\",domain:[0,Math.PI],autorange:!1}),n.doAutoRange(t,e),n.updateAngularAxis(t,e),n.updateRadialAxis(t,e),n.updateRadialAxisTitle(t,e),n.xaxis=n.mockCartesianAxis(t,e,{_id:\\\"x\\\",domain:v}),n.yaxis=n.mockCartesianAxis(t,e,{_id:\\\"y\\\",domain:g});var z=n.pathSubplot();n.clipPaths.forTraces.select(\\\"path\\\").attr(\\\"d\\\",z).attr(\\\"transform\\\",D(L,P)),r.frontplot.attr(\\\"transform\\\",D(C,M)).call(l.setClipUrl,n._hasClipOnAxisFalse?null:n.clipIds.forTraces,n.gd),r.bg.attr(\\\"d\\\",z).attr(\\\"transform\\\",D(O,I)).call(s.fill,e.bgcolor)},L.mockAxis=function(t,e,n,r){var i=a.extendFlat({},n,r);return p(i,e,t),i},L.mockCartesianAxis=function(t,e,n){var r=this,i=n._id,o=a.extendFlat({type:\\\"linear\\\"},n);h(o,t);var s={x:[0,2],y:[1,3]};return o.setRange=function(){var t=r.sectorBBox,n=s[i],a=r.radialAxis._rl,l=(a[1]-a[0])/(1-e.hole);o.range=[t[n[0]]*l,t[n[1]]*l]},o.isPtWithinRange=\\\"x\\\"===i?function(t){return r.isPtInside(t)}:function(){return!0},o.setRange(),o.setScale(),o},L.doAutoRange=function(t,e){var n=this.gd,r=this.radialAxis,i=e.radialaxis;r.setScale(),f(n,r);var o=r.range;i.range=o.slice(),i._input.range=o.slice(),r._rl=[r.r2l(o[0],null,\\\"gregorian\\\"),r.r2l(o[1],null,\\\"gregorian\\\")]},L.updateRadialAxis=function(t,e){var n=this,r=n.gd,i=n.layers,o=n.radius,l=n.innerRadius,u=n.cx,h=n.cy,p=e.radialaxis,f=S(e.sector[0],360),d=n.radialAxis,m=l<o;n.fillViewInitialKey(\\\"radialaxis.angle\\\",p.angle),n.fillViewInitialKey(\\\"radialaxis.range\\\",d.range.slice()),d.setGeometry(),\\\"auto\\\"===d.tickangle&&f>90&&f<=270&&(d.tickangle=180);var v=function(t){return\\\"translate(\\\"+(d.l2p(t.x)+l)+\\\",0)\\\"},g=P(p);if(n.radialTickLayout!==g&&(i[\\\"radial-axis\\\"].selectAll(\\\".xtick\\\").remove(),n.radialTickLayout=g),m){d.setScale();var y=c.calcTicks(d),_=c.clipEnds(d,y),b=c.getTickSigns(d)[2];c.drawTicks(r,d,{vals:y,layer:i[\\\"radial-axis\\\"],path:c.makeTickPath(d,0,b),transFn:v,crisp:!1}),c.drawGrid(r,d,{vals:_,layer:i[\\\"radial-grid\\\"],path:function(t){return n.pathArc(d.r2p(t.x)+l)},transFn:a.noop,crisp:!1}),c.drawLabels(r,d,{vals:y,layer:i[\\\"radial-axis\\\"],transFn:v,labelFns:c.makeLabelFns(d,0)})}var x=n.radialAxisAngle=n.vangles?O(z(k(p.angle),n.vangles)):p.angle,w=D(u,h),A=w+$(-x);R(i[\\\"radial-axis\\\"],m&&(p.showticklabels||p.ticks),{transform:A}),R(i[\\\"radial-grid\\\"],m&&p.showgrid,{transform:w}),R(i[\\\"radial-line\\\"].select(\\\"line\\\"),m&&p.showline,{x1:l,y1:0,x2:o,y2:0,transform:A}).attr(\\\"stroke-width\\\",p.linewidth).call(s.stroke,p.linecolor)},L.updateRadialAxisTitle=function(t,e,n){var r=this,i=r.gd,o=r.radius,a=r.cx,s=r.cy,u=e.radialaxis,c=r.id+\\\"title\\\",h=void 0!==n?n:r.radialAxisAngle,p=k(h),f=Math.cos(p),d=Math.sin(p),m=0;if(u.title){var v=l.bBox(r.layers[\\\"radial-axis\\\"].node()).height,y=u.title.font.size;m=\\\"counterclockwise\\\"===u.side?-v-.4*y:v+.8*y}r.layers[\\\"radial-axis-title\\\"]=g.draw(i,c,{propContainer:u,propName:r.id+\\\".radialaxis.title\\\",placeholder:T(i,\\\"Click to enter radial axis title\\\"),attributes:{x:a+o/2*f+m*d,y:s-o/2*d+m*f,\\\"text-anchor\\\":\\\"middle\\\"},transform:{rotate:-h}})},L.updateAngularAxis=function(t,e){var n=this,r=n.gd,i=n.layers,o=n.radius,l=n.innerRadius,u=n.cx,h=n.cy,p=e.angularaxis,f=n.angularAxis;n.fillViewInitialKey(\\\"angularaxis.rotation\\\",p.rotation),f.setGeometry(),f.setScale();var d=function(t){return f.t2g(t.x)};\\\"linear\\\"===f.type&&\\\"radians\\\"===f.thetaunit&&(f.tick0=O(f.tick0),f.dtick=O(f.dtick));var m=function(t){return D(u+o*Math.cos(t),h-o*Math.sin(t))},v=c.makeLabelFns(f,0).labelStandoff,g={xFn:function(t){var e=d(t);return Math.cos(e)*v},yFn:function(t){var e=d(t),n=Math.sin(e)>0?.2:1;return-Math.sin(e)*(v+t.fontSize*n)+Math.abs(Math.cos(e))*(t.fontSize*C)},anchorFn:function(t){var e=d(t),n=Math.cos(e);return Math.abs(n)<.1?\\\"middle\\\":n>0?\\\"start\\\":\\\"end\\\"},heightFn:function(t,e,n){var r=d(t);return-.5*(1+Math.sin(r))*n}},y=P(p);n.angularTickLayout!==y&&(i[\\\"angular-axis\\\"].selectAll(\\\".\\\"+f._id+\\\"tick\\\").remove(),n.angularTickLayout=y);var _,b=c.calcTicks(f);if(\\\"linear\\\"===e.gridshape?(_=b.map(d),a.angleDelta(_[0],_[1])<0&&(_=_.slice().reverse())):_=null,n.vangles=_,\\\"category\\\"===f.type&&(b=b.filter((function(t){return a.isAngleInsideSector(d(t),n.sectorInRad)}))),f.visible){var x=\\\"inside\\\"===f.ticks?-1:1,w=(f.linewidth||1)/2;c.drawTicks(r,f,{vals:b,layer:i[\\\"angular-axis\\\"],path:\\\"M\\\"+x*w+\\\",0h\\\"+x*f.ticklen,transFn:function(t){var e=d(t);return m(e)+$(-O(e))},crisp:!1}),c.drawGrid(r,f,{vals:b,layer:i[\\\"angular-grid\\\"],path:function(t){var e=d(t),n=Math.cos(e),r=Math.sin(e);return\\\"M\\\"+[u+l*n,h-l*r]+\\\"L\\\"+[u+o*n,h-o*r]},transFn:a.noop,crisp:!1}),c.drawLabels(r,f,{vals:b,layer:i[\\\"angular-axis\\\"],repositionOnUpdate:!0,transFn:function(t){return m(d(t))},labelFns:g})}R(i[\\\"angular-line\\\"].select(\\\"path\\\"),p.showline,{d:n.pathSubplot(),transform:D(u,h)}).attr(\\\"stroke-width\\\",p.linewidth).call(s.stroke,p.linecolor)},L.updateFx=function(t,e){this.gd._context.staticPlot||(this.updateAngularDrag(t),this.updateRadialDrag(t,e,0),this.updateRadialDrag(t,e,1),this.updateMainDrag(t))},L.updateMainDrag=function(t){var e=this,n=e.gd,a=e.layers,s=t._zoomlayer,l=M.MINZOOM,u=M.OFFEDGE,c=e.radius,h=e.innerRadius,p=e.cx,f=e.cy,g=e.cxx,x=e.cyy,w=e.sectorInRad,A=e.vangles,C=e.radialAxis,T=E.clampTiny,S=E.findXYatLength,k=E.findEnclosingVertexAngles,O=M.cornerHalfWidth,I=M.cornerLen/2,L=d.makeDragger(a,\\\"path\\\",\\\"maindrag\\\",\\\"crosshair\\\");r.select(L).attr(\\\"d\\\",e.pathSubplot()).attr(\\\"transform\\\",D(p,f));var P,z,R,$,B,N,F,j,U,q={element:L,gd:n,subplot:e.id,plotinfo:{id:e.id,xaxis:e.xaxis,yaxis:e.yaxis},xaxes:[e.xaxis],yaxes:[e.yaxis]};function V(t,e){return Math.sqrt(t*t+e*e)}function H(t,e){return V(t-g,e-x)}function G(t,e){return Math.atan2(x-e,t-g)}function W(t,e){return[t*Math.cos(e),t*Math.sin(-e)]}function X(t,n){if(0===t)return e.pathSector(2*O);var r=I/t,i=n-r,o=n+r,a=Math.max(0,Math.min(t,c)),s=a-O,l=a+O;return\\\"M\\\"+W(s,i)+\\\"A\\\"+[s,s]+\\\" 0,0,0 \\\"+W(s,o)+\\\"L\\\"+W(l,o)+\\\"A\\\"+[l,l]+\\\" 0,0,1 \\\"+W(l,i)+\\\"Z\\\"}function Y(t,n,r){if(0===t)return e.pathSector(2*O);var i,o,a=W(t,n),s=W(t,r),l=T((a[0]+s[0])/2),u=T((a[1]+s[1])/2);if(l&&u){var c=u/l,h=-1/c,p=S(O,c,l,u);i=S(I,h,p[0][0],p[0][1]),o=S(I,h,p[1][0],p[1][1])}else{var f,d;u?(f=I,d=O):(f=O,d=I),i=[[l-f,u-d],[l+f,u-d]],o=[[l-f,u+d],[l+f,u+d]]}return\\\"M\\\"+i.join(\\\"L\\\")+\\\"L\\\"+o.reverse().join(\\\"L\\\")+\\\"Z\\\"}function Z(t,e){return e=Math.max(Math.min(e,c),h),t<u?t=0:c-t<u?t=c:e<u?e=0:c-e<u&&(e=c),Math.abs(e-t)>l?(t<e?(R=t,$=e):(R=e,$=t),!0):(R=null,$=null,!1)}function K(t,e){t=t||B,e=e||\\\"M0,0Z\\\",j.attr(\\\"d\\\",t),U.attr(\\\"d\\\",e),d.transitionZoombox(j,U,N,F),N=!0;var r={};nt(r),n.emit(\\\"plotly_relayouting\\\",r)}function J(t,n){var r,i,o=P+t,a=z+n,s=H(P,z),l=Math.min(H(o,a),c),u=G(P,z);Z(s,l)&&(r=B+e.pathSector($),R&&(r+=e.pathSector(R)),i=X(R,u)+X($,u)),K(r,i)}function Q(t,e,n,r){var i=E.findIntersectionXY(n,r,n,[t-g,x-e]);return V(i[0],i[1])}function tt(t,n){var r,i,o=P+t,a=z+n,s=G(P,z),l=G(o,a),u=k(s,A),h=k(l,A);Z(Q(P,z,u[0],u[1]),Math.min(Q(o,a,h[0],h[1]),c))&&(r=B+e.pathSector($),R&&(r+=e.pathSector(R)),i=[Y(R,u[0],u[1]),Y($,u[0],u[1])].join(\\\" \\\")),K(r,i)}function et(){if(d.removeZoombox(n),null!==R&&null!==$){var t={};nt(t),d.showDoubleClickNotifier(n),o.call(\\\"_guiRelayout\\\",n,t)}}function nt(t){var n=C._rl,r=(n[1]-n[0])/(1-h/c)/c,i=[n[0]+(R-h)*r,n[0]+($-h)*r];t[e.id+\\\".radialaxis.range\\\"]=i}function rt(t,r){var i=n._fullLayout.clickmode;if(d.removeZoombox(n),2===t){var a={};for(var s in e.viewInitial)a[e.id+\\\".\\\"+s]=e.viewInitial[s];n.emit(\\\"plotly_doubleclick\\\",null),o.call(\\\"_guiRelayout\\\",n,a)}i.indexOf(\\\"select\\\")>-1&&1===t&&_(r,n,[e.xaxis],[e.yaxis],e.id,q),i.indexOf(\\\"event\\\")>-1&&v.click(n,r,e.id)}q.prepFn=function(t,r,o){var a=n._fullLayout.dragmode,l=L.getBoundingClientRect();if(P=r-l.left,z=o-l.top,A){var u=E.findPolygonOffset(c,w[0],w[1],A);P+=g+u[0],z+=x+u[1]}switch(a){case\\\"zoom\\\":q.moveFn=A?tt:J,q.clickFn=rt,q.doneFn=et,function(){R=null,$=null,B=e.pathSubplot(),N=!1;var t=n._fullLayout[e.id];F=i(t.bgcolor).getLuminance(),(j=d.makeZoombox(s,F,p,f,B)).attr(\\\"fill-rule\\\",\\\"evenodd\\\"),U=d.makeCorners(s,p,f),b(n)}();break;case\\\"select\\\":case\\\"lasso\\\":y(t,r,o,q,a)}},L.onmousemove=function(t){v.hover(n,t,e.id),n._fullLayout._lasthover=L,n._fullLayout._hoversubplot=e.id},L.onmouseout=function(t){n._dragging||m.unhover(n,t)},m.init(q)},L.updateRadialDrag=function(t,e,n){var i=this,s=i.gd,l=i.layers,u=i.radius,c=i.innerRadius,h=i.cx,p=i.cy,f=i.radialAxis,v=M.radialDragBoxSize,g=v/2;if(f.visible){var y,_,x,C=k(i.radialAxisAngle),E=f._rl,T=E[0],S=E[1],I=E[n],L=.75*(E[1]-E[0])/(1-e.hole)/u;n?(y=h+(u+g)*Math.cos(C),_=p-(u+g)*Math.sin(C),x=\\\"radialdrag\\\"):(y=h+(c-g)*Math.cos(C),_=p-(c-g)*Math.sin(C),x=\\\"radialdrag-inner\\\");var P,B,N,F=d.makeRectDragger(l,x,\\\"crosshair\\\",-g,-g,v,v),j={element:F,gd:s};R(r.select(F),f.visible&&c<u,{transform:D(y,_)}),j.prepFn=function(){P=null,B=null,N=null,j.moveFn=U,j.doneFn=q,b(s)},j.clampFn=function(t,e){return Math.sqrt(t*t+e*e)<M.MINDRAG&&(t=0,e=0),[t,e]},m.init(j)}function U(t,e){if(P)P(t,e);else{var r=[t,-e],o=[Math.cos(C),Math.sin(C)],l=Math.abs(a.dot(r,o)/Math.sqrt(a.dot(r,r)));isNaN(l)||(P=l<.5?V:H)}var u={};(function(t){null!==B?t[i.id+\\\".radialaxis.angle\\\"]=B:null!==N&&(t[i.id+\\\".radialaxis.range[\\\"+n+\\\"]\\\"]=N)})(u),s.emit(\\\"plotly_relayouting\\\",u)}function q(){null!==B?o.call(\\\"_guiRelayout\\\",s,i.id+\\\".radialaxis.angle\\\",B):null!==N&&o.call(\\\"_guiRelayout\\\",s,i.id+\\\".radialaxis.range[\\\"+n+\\\"]\\\",N)}function V(t,e){if(0!==n){var r=y+t,o=_+e;B=Math.atan2(p-o,r-h),i.vangles&&(B=z(B,i.vangles)),B=O(B);var a=D(h,p)+$(-B);l[\\\"radial-axis\\\"].attr(\\\"transform\\\",a),l[\\\"radial-line\\\"].select(\\\"line\\\").attr(\\\"transform\\\",a);var s=i.gd._fullLayout,u=s[i.id];i.updateRadialAxisTitle(s,u,B)}}function H(t,e){var r=a.dot([t,-e],[Math.cos(C),Math.sin(C)]);if(N=I-L*r,L>0==(n?N>T:N<S)){var l=s._fullLayout,u=l[i.id];f.range[n]=N,f._rl[n]=N,i.updateRadialAxis(l,u),i.xaxis.setRange(),i.xaxis.setScale(),i.yaxis.setRange(),i.yaxis.setScale();var c=!1;for(var h in i.traceHash){var p=i.traceHash[h],d=a.filterVisible(p);p[0][0].trace._module.plot(s,i,d,u),o.traceIs(h,\\\"gl\\\")&&d.length&&(c=!0)}c&&(w(s),A(s))}else N=null}},L.updateAngularDrag=function(t){var e=this,n=e.gd,i=e.layers,s=e.radius,u=e.angularAxis,c=e.cx,h=e.cy,p=e.cxx,f=e.cyy,v=M.angularDragBoxSize,g=d.makeDragger(i,\\\"path\\\",\\\"angulardrag\\\",\\\"move\\\"),y={element:g,gd:n};function _(t,e){return Math.atan2(f+v-e,t-p-v)}r.select(g).attr(\\\"d\\\",e.pathAnnulus(s,s+v)).attr(\\\"transform\\\",D(c,h)).call(x,\\\"move\\\");var C,E,T,S,k,I,L=i.frontplot.select(\\\".scatterlayer\\\").selectAll(\\\".trace\\\"),P=L.selectAll(\\\".point\\\"),z=L.selectAll(\\\".textpoint\\\");function R(t,s){var d=e.gd._fullLayout,m=d[e.id],v=_(C+t,E+s),g=O(v-I);if(S=T+g,i.frontplot.attr(\\\"transform\\\",D(e.xOffset2,e.yOffset2)+$([-g,p,f])),e.vangles){k=e.radialAxisAngle+g;var y=D(c,h)+$(-g),b=D(c,h)+$(-k);i.bg.attr(\\\"transform\\\",y),i[\\\"radial-grid\\\"].attr(\\\"transform\\\",y),i[\\\"radial-axis\\\"].attr(\\\"transform\\\",b),i[\\\"radial-line\\\"].select(\\\"line\\\").attr(\\\"transform\\\",b),e.updateRadialAxisTitle(d,m,k)}else e.clipPaths.forTraces.select(\\\"path\\\").attr(\\\"transform\\\",D(p,f)+$(g));P.each((function(){var t=r.select(this),e=l.getTranslate(t);t.attr(\\\"transform\\\",D(e.x,e.y)+$([g]))})),z.each((function(){var t=r.select(this),e=t.select(\\\"text\\\"),n=l.getTranslate(t);t.attr(\\\"transform\\\",$([g,e.attr(\\\"x\\\"),e.attr(\\\"y\\\")])+D(n.x,n.y))})),u.rotation=a.modHalf(S,360),e.updateAngularAxis(d,m),e._hasClipOnAxisFalse&&!a.isFullCircle(e.sectorInRad)&&L.call(l.hideOutsideRangePoints,e);var x=!1;for(var M in e.traceHash)if(o.traceIs(M,\\\"gl\\\")){var R=e.traceHash[M],N=a.filterVisible(R);R[0][0].trace._module.plot(n,e,N,m),N.length&&(x=!0)}x&&(w(n),A(n));var F={};B(F),n.emit(\\\"plotly_relayouting\\\",F)}function B(t){t[e.id+\\\".angularaxis.rotation\\\"]=S,e.vangles&&(t[e.id+\\\".radialaxis.angle\\\"]=k)}function N(){z.select(\\\"text\\\").attr(\\\"transform\\\",null);var t={};B(t),o.call(\\\"_guiRelayout\\\",n,t)}y.prepFn=function(r,i,o){var a=t[e.id];T=a.angularaxis.rotation;var s=g.getBoundingClientRect();C=i-s.left,E=o-s.top,I=_(C,E),y.moveFn=R,y.doneFn=N,b(n)},e.vangles&&!a.isFullCircle(e.sectorInRad)&&(y.prepFn=a.noop,x(r.select(g),null)),m.init(y)},L.isPtInside=function(t){var e=this.sectorInRad,n=this.vangles,r=this.angularAxis.c2g(t.theta),i=this.radialAxis,o=i.c2l(t.r),s=i._rl;return(n?E.isPtInsidePolygon:a.isPtInsideSector)(o,r,s,e,n)},L.pathArc=function(t){var e=this.sectorInRad,n=this.vangles;return(n?E.pathPolygon:a.pathArc)(t,e[0],e[1],n)},L.pathSector=function(t){var e=this.sectorInRad,n=this.vangles;return(n?E.pathPolygon:a.pathSector)(t,e[0],e[1],n)},L.pathAnnulus=function(t,e){var n=this.sectorInRad,r=this.vangles;return(r?E.pathPolygonAnnulus:a.pathAnnulus)(t,e,n[0],n[1],r)},L.pathSubplot=function(){var t=this.innerRadius,e=this.radius;return t?this.pathAnnulus(t,e):this.pathSector(e)},L.fillViewInitialKey=function(t,e){t in this.viewInitial||(this.viewInitial[t]=e)}},{\\\"../../components/color\\\":595,\\\"../../components/dragelement\\\":614,\\\"../../components/drawing\\\":617,\\\"../../components/fx\\\":635,\\\"../../components/titles\\\":690,\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/clear_gl_canvases\\\":713,\\\"../../lib/setcursor\\\":748,\\\"../../plot_api/subroutines\\\":767,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"../cartesian/autorange\\\":775,\\\"../cartesian/dragbox\\\":784,\\\"../cartesian/select\\\":795,\\\"../cartesian/set_convert\\\":796,\\\"../plots\\\":839,\\\"./constants\\\":840,\\\"./helpers\\\":841,\\\"./set_convert\\\":852,d3:164,tinycolor2:528}],852:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../cartesian/set_convert\\\"),o=r.deg2rad,a=r.rad2deg;function s(t,e){var n=t.type;if(\\\"linear\\\"===n){var i=t.d2c,s=t.c2d;t.d2c=function(t,e){return function(t,e){return\\\"degrees\\\"===e?o(t):t}(i(t),e)},t.c2d=function(t,e){return s(function(t,e){return\\\"degrees\\\"===e?a(t):t}(t,e))}}t.makeCalcdata=function(e,i){var o,a,s=e[i],l=e._length,u=function(n){return t.d2c(n,e.thetaunit)};if(s){if(r.isTypedArray(s)&&\\\"linear\\\"===n){if(l===s.length)return s;if(s.subarray)return s.subarray(0,l)}for(o=new Array(l),a=0;a<l;a++)o[a]=u(s[a])}else{var c=i+\\\"0\\\",h=\\\"d\\\"+i,p=c in e?u(e[c]):0,f=e[h]?u(e[h]):(t.period||2*Math.PI)/l;for(o=new Array(l),a=0;a<l;a++)o[a]=p+a*f}return o},t.setGeometry=function(){var i,s,l,u,c=e.sector,h=c.map(o),p={clockwise:-1,counterclockwise:1}[t.direction],f=o(t.rotation),d=function(t){return p*t+f},m=function(t){return(t-f)/p};switch(n){case\\\"linear\\\":s=i=r.identity,u=o,l=a,t.range=r.isFullCircle(h)?[c[0],c[0]+360]:h.map(m).map(a);break;case\\\"category\\\":var v=t._categories.length,g=t.period?Math.max(t.period,v):v;0===g&&(g=1),s=u=function(t){return 2*t*Math.PI/g},i=l=function(t){return t*g/Math.PI/2},t.range=[0,g]}t.c2g=function(t){return d(s(t))},t.g2c=function(t){return i(m(t))},t.t2g=function(t){return d(u(t))},t.g2t=function(t){return l(m(t))}}}e.exports=function(t,e,n){switch(i(t,n),t._id){case\\\"x\\\":case\\\"radialaxis\\\":!function(t,e){var n=e._subplot;t.setGeometry=function(){var e=t._rl[0],r=t._rl[1],i=n.innerRadius,o=(n.radius-i)/(r-e),a=i/o,s=e>r?function(t){return t<=0}:function(t){return t>=0};t.c2g=function(n){var r=t.c2l(n)-e;return(s(r)?r:0)+a},t.g2c=function(n){return t.l2c(n+e-a)},t.g2p=function(t){return t*o},t.c2p=function(e){return t.g2p(t.c2g(e))}}}(t,e);break;case\\\"angularaxis\\\":s(t,e)}}},{\\\"../../lib\\\":728,\\\"../cartesian/set_convert\\\":796}],853:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../plot_api/plot_template\\\"),o=t(\\\"./domain\\\").defaults;e.exports=function(t,e,n,a){var s,l,u=a.type,c=a.attributes,h=a.handleDefaults,p=a.partition||\\\"x\\\",f=e._subplots[u],d=f.length,m=d&&f[0].replace(/\\\\d+$/,\\\"\\\");function v(t,e){return r.coerce(s,l,c,t,e)}for(var g=0;g<d;g++){var y=f[g];s=t[y]?t[y]:t[y]={},l=i.newContainer(e,y,m),v(\\\"uirevision\\\",e.uirevision);var _={};_[p]=[g/d,(g+1)/d],o(l,e,v,_),a.id=y,h(s,l,v,a)}}},{\\\"../lib\\\":728,\\\"../plot_api/plot_template\\\":766,\\\"./domain\\\":803}],854:[function(t,e,n){\\\"use strict\\\";function r(t){var e=t.description?\\\" \\\"+t.description:\\\"\\\",n=t.keys||[];if(n.length>0){for(var r=[],i=0;i<n.length;i++)r[i]=\\\"`\\\"+n[i]+\\\"`\\\";e+=\\\"Finally, the template string has access to \\\",e=1===n.length?\\\"variable \\\"+r[0]:\\\"variables \\\"+r.slice(0,-1).join(\\\", \\\")+\\\" and \\\"+r.slice(-1)+\\\".\\\"}return e}['Variables are inserted using %{variable}, for example \\\"y: %{y}\\\".','Numbers are formatted using d3-format\\\\'s syntax %{variable:d3-format}, for example \\\"Price: %{y:$.2f}\\\".',t(\\\"../constants/docs\\\").FORMAT_LINK,\\\"for details on the formatting syntax.\\\",'Dates are formatted using d3-time-format\\\\'s syntax %{variable|d3-time-format}, for example \\\"Day: %{2019-01-01|%A}\\\".',t(\\\"../constants/docs\\\").DATE_FORMAT_LINK,\\\"for details on the date formatting syntax.\\\"].join(\\\" \\\"),n.hovertemplateAttrs=function(t,e){t=t||{},r(e=e||{});var n={valType:\\\"string\\\",dflt:\\\"\\\",editType:t.editType||\\\"none\\\"};return!1!==t.arrayOk&&(n.arrayOk=!0),n},n.texttemplateAttrs=function(t,e){t=t||{},r(e=e||{});var n={valType:\\\"string\\\",dflt:\\\"\\\",editType:t.editType||\\\"calc\\\"};return!1!==t.arrayOk&&(n.arrayOk=!0),n}},{\\\"../constants/docs\\\":699}],855:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./ternary\\\"),i=t(\\\"../../plots/get_data\\\").getSubplotCalcData,o=t(\\\"../../lib\\\").counterRegex,a=\\\"ternary\\\";n.name=a;var s=n.attr=\\\"subplot\\\";n.idRoot=a,n.idRegex=n.attrRegex=o(a),(n.attributes={})[s]={valType:\\\"subplotid\\\",dflt:\\\"ternary\\\",editType:\\\"calc\\\"},n.layoutAttributes=t(\\\"./layout_attributes\\\"),n.supplyLayoutDefaults=t(\\\"./layout_defaults\\\"),n.plot=function(t){for(var e=t._fullLayout,n=t.calcdata,o=e._subplots.ternary,s=0;s<o.length;s++){var l=o[s],u=i(n,a,l),c=e[l]._subplot;c||(c=new r({id:l,graphDiv:t,container:e._ternarylayer.node()},e),e[l]._subplot=c),c.plot(u,e,t._promises)}},n.clean=function(t,e,n,r){for(var i=r._subplots.ternary||[],o=0;o<i.length;o++){var a=i[o],s=r[a]._subplot;!e[a]&&s&&(s.plotContainer.remove(),s.clipDef.remove(),s.clipDefRelative.remove(),s.layers[\\\"a-title\\\"].remove(),s.layers[\\\"b-title\\\"].remove(),s.layers[\\\"c-title\\\"].remove())}}},{\\\"../../lib\\\":728,\\\"../../plots/get_data\\\":813,\\\"./layout_attributes\\\":856,\\\"./layout_defaults\\\":857,\\\"./ternary\\\":858}],856:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color/attributes\\\"),i=t(\\\"../domain\\\").attributes,o=t(\\\"../cartesian/layout_attributes\\\"),a=t(\\\"../../plot_api/edit_types\\\").overrideAll,s=t(\\\"../../lib/extend\\\").extendFlat,l={title:{text:o.title.text,font:o.title.font},color:o.color,tickmode:o.tickmode,nticks:s({},o.nticks,{dflt:6,min:1}),tick0:o.tick0,dtick:o.dtick,tickvals:o.tickvals,ticktext:o.ticktext,ticks:o.ticks,ticklen:o.ticklen,tickwidth:o.tickwidth,tickcolor:o.tickcolor,showticklabels:o.showticklabels,showtickprefix:o.showtickprefix,tickprefix:o.tickprefix,showticksuffix:o.showticksuffix,ticksuffix:o.ticksuffix,showexponent:o.showexponent,exponentformat:o.exponentformat,separatethousands:o.separatethousands,tickfont:o.tickfont,tickangle:o.tickangle,tickformat:o.tickformat,tickformatstops:o.tickformatstops,hoverformat:o.hoverformat,showline:s({},o.showline,{dflt:!0}),linecolor:o.linecolor,linewidth:o.linewidth,showgrid:s({},o.showgrid,{dflt:!0}),gridcolor:o.gridcolor,gridwidth:o.gridwidth,layer:o.layer,min:{valType:\\\"number\\\",dflt:0,min:0},_deprecated:{title:o._deprecated.title,titlefont:o._deprecated.titlefont}},u=e.exports=a({domain:i({name:\\\"ternary\\\"}),bgcolor:{valType:\\\"color\\\",dflt:r.background},sum:{valType:\\\"number\\\",dflt:1,min:0},aaxis:l,baxis:l,caxis:l},\\\"plot\\\",\\\"from-root\\\");u.uirevision={valType:\\\"any\\\",editType:\\\"none\\\"},u.aaxis.uirevision=u.baxis.uirevision=u.caxis.uirevision={valType:\\\"any\\\",editType:\\\"none\\\"}},{\\\"../../components/color/attributes\\\":594,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../cartesian/layout_attributes\\\":790,\\\"../domain\\\":803}],857:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\"),i=t(\\\"../../plot_api/plot_template\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../subplot_defaults\\\"),s=t(\\\"../cartesian/tick_label_defaults\\\"),l=t(\\\"../cartesian/tick_mark_defaults\\\"),u=t(\\\"../cartesian/tick_value_defaults\\\"),c=t(\\\"../cartesian/line_grid_defaults\\\"),h=t(\\\"./layout_attributes\\\"),p=[\\\"aaxis\\\",\\\"baxis\\\",\\\"caxis\\\"];function f(t,e,n,o){var a,s,l,u=n(\\\"bgcolor\\\"),c=n(\\\"sum\\\");o.bgColor=r.combine(u,o.paper_bgcolor);for(var h=0;h<p.length;h++)s=t[a=p[h]]||{},(l=i.newContainer(e,a))._name=a,d(s,l,o,e);var f=e.aaxis,m=e.baxis,v=e.caxis;f.min+m.min+v.min>=c&&(f.min=0,m.min=0,v.min=0,t.aaxis&&delete t.aaxis.min,t.baxis&&delete t.baxis.min,t.caxis&&delete t.caxis.min)}function d(t,e,n,r){var i=h[e._name];function a(n,r){return o.coerce(t,e,i,n,r)}a(\\\"uirevision\\\",r.uirevision),e.type=\\\"linear\\\";var p=a(\\\"color\\\"),f=p!==i.color.dflt?p:n.font.color,d=e._name.charAt(0).toUpperCase(),m=\\\"Component \\\"+d,v=a(\\\"title.text\\\",m);e._hovertitle=v===m?v:d,o.coerceFont(a,\\\"title.font\\\",{family:n.font.family,size:Math.round(1.2*n.font.size),color:f}),a(\\\"min\\\"),u(t,e,a,\\\"linear\\\"),s(t,e,a,\\\"linear\\\",{}),l(t,e,a,{outerTicks:!0}),a(\\\"showticklabels\\\")&&(o.coerceFont(a,\\\"tickfont\\\",{family:n.font.family,size:n.font.size,color:f}),a(\\\"tickangle\\\"),a(\\\"tickformat\\\")),c(t,e,a,{dfltColor:p,bgColor:n.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:i}),a(\\\"hoverformat\\\"),a(\\\"layer\\\")}e.exports=function(t,e,n){a(t,e,n,{type:\\\"ternary\\\",attributes:h,handleDefaults:f,font:e.font,paper_bgcolor:e.paper_bgcolor})}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../cartesian/line_grid_defaults\\\":792,\\\"../cartesian/tick_label_defaults\\\":797,\\\"../cartesian/tick_mark_defaults\\\":798,\\\"../cartesian/tick_value_defaults\\\":799,\\\"../subplot_defaults\\\":853,\\\"./layout_attributes\\\":856}],858:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"../../registry\\\"),a=t(\\\"../../lib\\\"),s=a._,l=t(\\\"../../components/color\\\"),u=t(\\\"../../components/drawing\\\"),c=t(\\\"../cartesian/set_convert\\\"),h=t(\\\"../../lib/extend\\\").extendFlat,p=t(\\\"../plots\\\"),f=t(\\\"../cartesian/axes\\\"),d=t(\\\"../../components/dragelement\\\"),m=t(\\\"../../components/fx\\\"),v=t(\\\"../../components/dragelement/helpers\\\"),g=v.freeMode,y=v.rectMode,_=t(\\\"../../components/titles\\\"),b=t(\\\"../cartesian/select\\\").prepSelect,x=t(\\\"../cartesian/select\\\").selectOnClick,w=t(\\\"../cartesian/select\\\").clearSelect,A=t(\\\"../cartesian/select\\\").clearSelectionsCache,C=t(\\\"../cartesian/constants\\\");function M(t,e){this.id=t.id,this.graphDiv=t.graphDiv,this.init(e),this.makeFramework(e),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}e.exports=M;var E=M.prototype;E.init=function(t){this.container=t._ternarylayer,this.defs=t._defs,this.layoutId=t._uid,this.traceHash={},this.layers={}},E.plot=function(t,e){var n=this,r=e[n.id],i=e._size;n._hasClipOnAxisFalse=!1;for(var o=0;o<t.length;o++)if(!1===t[o][0].trace.cliponaxis){n._hasClipOnAxisFalse=!0;break}n.updateLayers(r),n.adjustLayout(r,i),p.generalUpdatePerTraceModule(n.graphDiv,n,t,r),n.layers.plotbg.select(\\\"path\\\").call(l.fill,r.bgcolor)},E.makeFramework=function(t){var e=this,n=e.graphDiv,r=t[e.id],i=e.clipId=\\\"clip\\\"+e.layoutId+e.id,o=e.clipIdRelative=\\\"clip-relative\\\"+e.layoutId+e.id;e.clipDef=a.ensureSingleById(t._clips,\\\"clipPath\\\",i,(function(t){t.append(\\\"path\\\").attr(\\\"d\\\",\\\"M0,0Z\\\")})),e.clipDefRelative=a.ensureSingleById(t._clips,\\\"clipPath\\\",o,(function(t){t.append(\\\"path\\\").attr(\\\"d\\\",\\\"M0,0Z\\\")})),e.plotContainer=a.ensureSingle(e.container,\\\"g\\\",e.id),e.updateLayers(r),u.setClipUrl(e.layers.backplot,i,n),u.setClipUrl(e.layers.grids,i,n)},E.updateLayers=function(t){var e=this.layers,n=[\\\"draglayer\\\",\\\"plotbg\\\",\\\"backplot\\\",\\\"grids\\\"];\\\"below traces\\\"===t.aaxis.layer&&n.push(\\\"aaxis\\\",\\\"aline\\\"),\\\"below traces\\\"===t.baxis.layer&&n.push(\\\"baxis\\\",\\\"bline\\\"),\\\"below traces\\\"===t.caxis.layer&&n.push(\\\"caxis\\\",\\\"cline\\\"),n.push(\\\"frontplot\\\"),\\\"above traces\\\"===t.aaxis.layer&&n.push(\\\"aaxis\\\",\\\"aline\\\"),\\\"above traces\\\"===t.baxis.layer&&n.push(\\\"baxis\\\",\\\"bline\\\"),\\\"above traces\\\"===t.caxis.layer&&n.push(\\\"caxis\\\",\\\"cline\\\");var i=this.plotContainer.selectAll(\\\"g.toplevel\\\").data(n,String),o=[\\\"agrid\\\",\\\"bgrid\\\",\\\"cgrid\\\"];i.enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return\\\"toplevel \\\"+t})).each((function(t){var n=r.select(this);e[t]=n,\\\"frontplot\\\"===t?n.append(\\\"g\\\").classed(\\\"scatterlayer\\\",!0):\\\"backplot\\\"===t?n.append(\\\"g\\\").classed(\\\"maplayer\\\",!0):\\\"plotbg\\\"===t?n.append(\\\"path\\\").attr(\\\"d\\\",\\\"M0,0Z\\\"):\\\"aline\\\"===t||\\\"bline\\\"===t||\\\"cline\\\"===t?n.append(\\\"path\\\"):\\\"grids\\\"===t&&o.forEach((function(t){e[t]=n.append(\\\"g\\\").classed(\\\"grid \\\"+t,!0)}))})),i.order()};var T=Math.sqrt(4/3);E.adjustLayout=function(t,e){var n,r,i,o,a,s,p=this,f=t.domain,d=(f.x[0]+f.x[1])/2,m=(f.y[0]+f.y[1])/2,v=f.x[1]-f.x[0],g=f.y[1]-f.y[0],y=v*e.w,_=g*e.h,b=t.sum,x=t.aaxis.min,w=t.baxis.min,A=t.caxis.min;y>T*_?i=(o=_)*T:o=(i=y)/T,a=v*i/y,s=g*o/_,n=e.l+e.w*d-i/2,r=e.t+e.h*(1-m)-o/2,p.x0=n,p.y0=r,p.w=i,p.h=o,p.sum=b,p.xaxis={type:\\\"linear\\\",range:[x+2*A-b,b-x-2*w],domain:[d-a/2,d+a/2],_id:\\\"x\\\"},c(p.xaxis,p.graphDiv._fullLayout),p.xaxis.setScale(),p.xaxis.isPtWithinRange=function(t){return t.a>=p.aaxis.range[0]&&t.a<=p.aaxis.range[1]&&t.b>=p.baxis.range[1]&&t.b<=p.baxis.range[0]&&t.c>=p.caxis.range[1]&&t.c<=p.caxis.range[0]},p.yaxis={type:\\\"linear\\\",range:[x,b-w-A],domain:[m-s/2,m+s/2],_id:\\\"y\\\"},c(p.yaxis,p.graphDiv._fullLayout),p.yaxis.setScale(),p.yaxis.isPtWithinRange=function(){return!0};var C=p.yaxis.domain[0],M=p.aaxis=h({},t.aaxis,{range:[x,b-w-A],side:\\\"left\\\",tickangle:(+t.aaxis.tickangle||0)-30,domain:[C,C+s*T],anchor:\\\"free\\\",position:0,_id:\\\"y\\\",_length:i});c(M,p.graphDiv._fullLayout),M.setScale();var E=p.baxis=h({},t.baxis,{range:[b-x-A,w],side:\\\"bottom\\\",domain:p.xaxis.domain,anchor:\\\"free\\\",position:0,_id:\\\"x\\\",_length:i});c(E,p.graphDiv._fullLayout),E.setScale();var S=p.caxis=h({},t.caxis,{range:[b-x-w,A],side:\\\"right\\\",tickangle:(+t.caxis.tickangle||0)+30,domain:[C,C+s*T],anchor:\\\"free\\\",position:0,_id:\\\"y\\\",_length:i});c(S,p.graphDiv._fullLayout),S.setScale();var k=\\\"M\\\"+n+\\\",\\\"+(r+o)+\\\"h\\\"+i+\\\"l-\\\"+i/2+\\\",-\\\"+o+\\\"Z\\\";p.clipDef.select(\\\"path\\\").attr(\\\"d\\\",k),p.layers.plotbg.select(\\\"path\\\").attr(\\\"d\\\",k);var O=\\\"M0,\\\"+o+\\\"h\\\"+i+\\\"l-\\\"+i/2+\\\",-\\\"+o+\\\"Z\\\";p.clipDefRelative.select(\\\"path\\\").attr(\\\"d\\\",O);var I=\\\"translate(\\\"+n+\\\",\\\"+r+\\\")\\\";p.plotContainer.selectAll(\\\".scatterlayer,.maplayer\\\").attr(\\\"transform\\\",I),p.clipDefRelative.select(\\\"path\\\").attr(\\\"transform\\\",null);var L=\\\"translate(\\\"+(n-E._offset)+\\\",\\\"+(r+o)+\\\")\\\";p.layers.baxis.attr(\\\"transform\\\",L),p.layers.bgrid.attr(\\\"transform\\\",L);var P=\\\"translate(\\\"+(n+i/2)+\\\",\\\"+r+\\\")rotate(30)translate(0,\\\"+-M._offset+\\\")\\\";p.layers.aaxis.attr(\\\"transform\\\",P),p.layers.agrid.attr(\\\"transform\\\",P);var z=\\\"translate(\\\"+(n+i/2)+\\\",\\\"+r+\\\")rotate(-30)translate(0,\\\"+-S._offset+\\\")\\\";p.layers.caxis.attr(\\\"transform\\\",z),p.layers.cgrid.attr(\\\"transform\\\",z),p.drawAxes(!0),p.layers.aline.select(\\\"path\\\").attr(\\\"d\\\",M.showline?\\\"M\\\"+n+\\\",\\\"+(r+o)+\\\"l\\\"+i/2+\\\",-\\\"+o:\\\"M0,0\\\").call(l.stroke,M.linecolor||\\\"#000\\\").style(\\\"stroke-width\\\",(M.linewidth||0)+\\\"px\\\"),p.layers.bline.select(\\\"path\\\").attr(\\\"d\\\",E.showline?\\\"M\\\"+n+\\\",\\\"+(r+o)+\\\"h\\\"+i:\\\"M0,0\\\").call(l.stroke,E.linecolor||\\\"#000\\\").style(\\\"stroke-width\\\",(E.linewidth||0)+\\\"px\\\"),p.layers.cline.select(\\\"path\\\").attr(\\\"d\\\",S.showline?\\\"M\\\"+(n+i/2)+\\\",\\\"+r+\\\"l\\\"+i/2+\\\",\\\"+o:\\\"M0,0\\\").call(l.stroke,S.linecolor||\\\"#000\\\").style(\\\"stroke-width\\\",(S.linewidth||0)+\\\"px\\\"),p.graphDiv._context.staticPlot||p.initInteractions(),u.setClipUrl(p.layers.frontplot,p._hasClipOnAxisFalse?null:p.clipId,p.graphDiv)},E.drawAxes=function(t){var e=this,n=e.graphDiv,r=e.id.substr(7)+\\\"title\\\",i=e.layers,o=e.aaxis,a=e.baxis,l=e.caxis;if(e.drawAx(o),e.drawAx(a),e.drawAx(l),t){var u=Math.max(o.showticklabels?o.tickfont.size/2:0,(l.showticklabels?.75*l.tickfont.size:0)+(\\\"outside\\\"===l.ticks?.87*l.ticklen:0)),c=(a.showticklabels?a.tickfont.size:0)+(\\\"outside\\\"===a.ticks?a.ticklen:0)+3;i[\\\"a-title\\\"]=_.draw(n,\\\"a\\\"+r,{propContainer:o,propName:e.id+\\\".aaxis.title\\\",placeholder:s(n,\\\"Click to enter Component A title\\\"),attributes:{x:e.x0+e.w/2,y:e.y0-o.title.font.size/3-u,\\\"text-anchor\\\":\\\"middle\\\"}}),i[\\\"b-title\\\"]=_.draw(n,\\\"b\\\"+r,{propContainer:a,propName:e.id+\\\".baxis.title\\\",placeholder:s(n,\\\"Click to enter Component B title\\\"),attributes:{x:e.x0-c,y:e.y0+e.h+.83*a.title.font.size+c,\\\"text-anchor\\\":\\\"middle\\\"}}),i[\\\"c-title\\\"]=_.draw(n,\\\"c\\\"+r,{propContainer:l,propName:e.id+\\\".caxis.title\\\",placeholder:s(n,\\\"Click to enter Component C title\\\"),attributes:{x:e.x0+e.w+c,y:e.y0+e.h+.83*l.title.font.size+c,\\\"text-anchor\\\":\\\"middle\\\"}})}},E.drawAx=function(t){var e,n=this,r=n.graphDiv,i=t._name,o=i.charAt(0),s=t._id,l=n.layers[i],u=o+\\\"tickLayout\\\",c=(e=t).ticks+String(e.ticklen)+String(e.showticklabels);n[u]!==c&&(l.selectAll(\\\".\\\"+s+\\\"tick\\\").remove(),n[u]=c),t.setScale();var h=f.calcTicks(t),p=f.clipEnds(t,h),d=f.makeTransFn(t),m=f.getTickSigns(t)[2],v=a.deg2rad(30),g=m*(t.linewidth||1)/2,y=m*t.ticklen,_=n.w,b=n.h,x=\\\"b\\\"===o?\\\"M0,\\\"+g+\\\"l\\\"+Math.sin(v)*y+\\\",\\\"+Math.cos(v)*y:\\\"M\\\"+g+\\\",0l\\\"+Math.cos(v)*y+\\\",\\\"+-Math.sin(v)*y,w={a:\\\"M0,0l\\\"+b+\\\",-\\\"+_/2,b:\\\"M0,0l-\\\"+_/2+\\\",-\\\"+b,c:\\\"M0,0l-\\\"+b+\\\",\\\"+_/2}[o];f.drawTicks(r,t,{vals:\\\"inside\\\"===t.ticks?p:h,layer:l,path:x,transFn:d,crisp:!1}),f.drawGrid(r,t,{vals:p,layer:n.layers[o+\\\"grid\\\"],path:w,transFn:d,crisp:!1}),f.drawLabels(r,t,{vals:h,layer:l,transFn:d,labelFns:f.makeLabelFns(t,0,30)})};var S=C.MINZOOM/2+.87,k=\\\"m-0.87,.5h\\\"+S+\\\"v3h-\\\"+(S+5.2)+\\\"l\\\"+(S/2+2.6)+\\\",-\\\"+(.87*S+4.5)+\\\"l2.6,1.5l-\\\"+S/2+\\\",\\\"+.87*S+\\\"Z\\\",O=\\\"m0.87,.5h-\\\"+S+\\\"v3h\\\"+(S+5.2)+\\\"l-\\\"+(S/2+2.6)+\\\",-\\\"+(.87*S+4.5)+\\\"l-2.6,1.5l\\\"+S/2+\\\",\\\"+.87*S+\\\"Z\\\",I=\\\"m0,1l\\\"+S/2+\\\",\\\"+.87*S+\\\"l2.6,-1.5l-\\\"+(S/2+2.6)+\\\",-\\\"+(.87*S+4.5)+\\\"l-\\\"+(S/2+2.6)+\\\",\\\"+(.87*S+4.5)+\\\"l2.6,1.5l\\\"+S/2+\\\",-\\\"+.87*S+\\\"Z\\\",L=!0;function P(t){r.select(t).selectAll(\\\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\\\").remove()}E.clearSelect=function(){A(this.dragOptions),w(this.dragOptions.gd)},E.initInteractions=function(){var t,e,n,r,c,h,p,f,v,_,w=this,A=w.layers.plotbg.select(\\\"path\\\").node(),M=w.graphDiv,E=M._fullLayout._zoomlayer;function S(t){var e={};return e[w.id+\\\".aaxis.min\\\"]=t.a,e[w.id+\\\".baxis.min\\\"]=t.b,e[w.id+\\\".caxis.min\\\"]=t.c,e}function z(t,e){var n=M._fullLayout.clickmode;P(M),2===t&&(M.emit(\\\"plotly_doubleclick\\\",null),o.call(\\\"_guiRelayout\\\",M,S({a:0,b:0,c:0}))),n.indexOf(\\\"select\\\")>-1&&1===t&&x(e,M,[w.xaxis],[w.yaxis],w.id,w.dragOptions),n.indexOf(\\\"event\\\")>-1&&m.click(M,e,w.id)}function R(t,e){return 1-e/w.h}function D(t,e){return 1-(t+(w.h-e)/Math.sqrt(3))/w.w}function $(t,e){return(t-(w.h-e)/Math.sqrt(3))/w.w}function B(i,o){var a=t+i,s=e+o,l=Math.max(0,Math.min(1,R(0,e),R(0,s))),u=Math.max(0,Math.min(1,D(t,e),D(a,s))),d=Math.max(0,Math.min(1,$(t,e),$(a,s))),m=(l/2+d)*w.w,g=(1-l/2-u)*w.w,y=(m+g)/2,b=g-m,x=(1-l)*w.h,A=x-b/T;b<C.MINZOOM?(c=n,v.attr(\\\"d\\\",p),_.attr(\\\"d\\\",\\\"M0,0Z\\\")):(c={a:n.a+l*r,b:n.b+u*r,c:n.c+d*r},v.attr(\\\"d\\\",p+\\\"M\\\"+m+\\\",\\\"+x+\\\"H\\\"+g+\\\"L\\\"+y+\\\",\\\"+A+\\\"L\\\"+m+\\\",\\\"+x+\\\"Z\\\"),_.attr(\\\"d\\\",\\\"M\\\"+t+\\\",\\\"+e+\\\"m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2ZM\\\"+m+\\\",\\\"+x+k+\\\"M\\\"+g+\\\",\\\"+x+O+\\\"M\\\"+y+\\\",\\\"+A+I)),f||(v.transition().style(\\\"fill\\\",h>.2?\\\"rgba(0,0,0,0.4)\\\":\\\"rgba(255,255,255,0.3)\\\").duration(200),_.transition().style(\\\"opacity\\\",1).duration(200),f=!0),M.emit(\\\"plotly_relayouting\\\",S(c))}function N(){P(M),c!==n&&(o.call(\\\"_guiRelayout\\\",M,S(c)),L&&M.data&&M._context.showTips&&(a.notifier(s(M,\\\"Double-click to zoom back out\\\"),\\\"long\\\"),L=!1))}function F(t,e){var r=t/w.xaxis._m,i=e/w.yaxis._m,o=[(c={a:n.a-i,b:n.b+(r+i)/2,c:n.c-(r-i)/2}).a,c.b,c.c].sort(a.sorterAsc),s=o.indexOf(c.a),l=o.indexOf(c.b),h=o.indexOf(c.c);o[0]<0&&(o[1]+o[0]/2<0?(o[2]+=o[0]+o[1],o[0]=o[1]=0):(o[2]+=o[0]/2,o[1]+=o[0]/2,o[0]=0),c={a:o[s],b:o[l],c:o[h]},e=(n.a-c.a)*w.yaxis._m,t=(n.c-c.c-n.b+c.b)*w.xaxis._m);var p=\\\"translate(\\\"+(w.x0+t)+\\\",\\\"+(w.y0+e)+\\\")\\\";w.plotContainer.selectAll(\\\".scatterlayer,.maplayer\\\").attr(\\\"transform\\\",p);var f=\\\"translate(\\\"+-t+\\\",\\\"+-e+\\\")\\\";w.clipDefRelative.select(\\\"path\\\").attr(\\\"transform\\\",f),w.aaxis.range=[c.a,w.sum-c.b-c.c],w.baxis.range=[w.sum-c.a-c.c,c.b],w.caxis.range=[w.sum-c.a-c.b,c.c],w.drawAxes(!1),w._hasClipOnAxisFalse&&w.plotContainer.select(\\\".scatterlayer\\\").selectAll(\\\".trace\\\").call(u.hideOutsideRangePoints,w),M.emit(\\\"plotly_relayouting\\\",S(c))}function j(){o.call(\\\"_guiRelayout\\\",M,S(c))}this.dragOptions={element:A,gd:M,plotinfo:{id:w.id,domain:M._fullLayout[w.id].domain,xaxis:w.xaxis,yaxis:w.yaxis},subplot:w.id,prepFn:function(o,a,s){w.dragOptions.xaxes=[w.xaxis],w.dragOptions.yaxes=[w.yaxis];var u=w.dragOptions.dragmode=M._fullLayout.dragmode;g(u)?w.dragOptions.minDrag=1:w.dragOptions.minDrag=void 0,\\\"zoom\\\"===u?(w.dragOptions.moveFn=B,w.dragOptions.clickFn=z,w.dragOptions.doneFn=N,function(o,a,s){var u=A.getBoundingClientRect();t=a-u.left,e=s-u.top,n={a:w.aaxis.range[0],b:w.baxis.range[1],c:w.caxis.range[1]},c=n,r=w.aaxis.range[1]-n.a,h=i(w.graphDiv._fullLayout[w.id].bgcolor).getLuminance(),p=\\\"M0,\\\"+w.h+\\\"L\\\"+w.w/2+\\\", 0L\\\"+w.w+\\\",\\\"+w.h+\\\"Z\\\",f=!1,v=E.append(\\\"path\\\").attr(\\\"class\\\",\\\"zoombox\\\").attr(\\\"transform\\\",\\\"translate(\\\"+w.x0+\\\", \\\"+w.y0+\\\")\\\").style({fill:h>.2?\\\"rgba(0,0,0,0)\\\":\\\"rgba(255,255,255,0)\\\",\\\"stroke-width\\\":0}).attr(\\\"d\\\",p),_=E.append(\\\"path\\\").attr(\\\"class\\\",\\\"zoombox-corners\\\").attr(\\\"transform\\\",\\\"translate(\\\"+w.x0+\\\", \\\"+w.y0+\\\")\\\").style({fill:l.background,stroke:l.defaultLine,\\\"stroke-width\\\":1,opacity:0}).attr(\\\"d\\\",\\\"M0,0Z\\\"),w.clearSelect(M)}(0,a,s)):\\\"pan\\\"===u?(w.dragOptions.moveFn=F,w.dragOptions.clickFn=z,w.dragOptions.doneFn=j,n={a:w.aaxis.range[0],b:w.baxis.range[1],c:w.caxis.range[1]},c=n,w.clearSelect(M)):(y(u)||g(u))&&b(o,a,s,w.dragOptions,u)}},A.onmousemove=function(t){m.hover(M,t,w.id),M._fullLayout._lasthover=A,M._fullLayout._hoversubplot=w.id},A.onmouseout=function(t){M._dragging||d.unhover(M,t)},d.init(this.dragOptions)}},{\\\"../../components/color\\\":595,\\\"../../components/dragelement\\\":614,\\\"../../components/dragelement/helpers\\\":613,\\\"../../components/drawing\\\":617,\\\"../../components/fx\\\":635,\\\"../../components/titles\\\":690,\\\"../../lib\\\":728,\\\"../../lib/extend\\\":719,\\\"../../registry\\\":859,\\\"../cartesian/axes\\\":776,\\\"../cartesian/constants\\\":782,\\\"../cartesian/select\\\":795,\\\"../cartesian/set_convert\\\":796,\\\"../plots\\\":839,d3:164,tinycolor2:528}],859:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./lib/loggers\\\"),i=t(\\\"./lib/noop\\\"),o=t(\\\"./lib/push_unique\\\"),a=t(\\\"./lib/is_plain_object\\\"),s=t(\\\"./lib/dom\\\").addStyleRule,l=t(\\\"./lib/extend\\\"),u=t(\\\"./plots/attributes\\\"),c=t(\\\"./plots/layout_attributes\\\"),h=l.extendFlat,p=l.extendDeepAll;function f(t){var e=t.name,i=t.categories,o=t.meta;if(n.modules[e])r.log(\\\"Type \\\"+e+\\\" already registered\\\");else{n.subplotsRegistry[t.basePlotModule.name]||function(t){var e=t.name;if(n.subplotsRegistry[e])r.log(\\\"Plot type \\\"+e+\\\" already registered.\\\");else for(var i in g(t),n.subplotsRegistry[e]=t,n.componentsRegistry)b(i,t.name)}(t.basePlotModule);for(var a={},l=0;l<i.length;l++)a[i[l]]=!0,n.allCategories[i[l]]=!0;for(var u in n.modules[e]={_module:t,categories:a},o&&Object.keys(o).length&&(n.modules[e].meta=o),n.allTypes.push(e),n.componentsRegistry)y(u,e);t.layoutAttributes&&h(n.traceLayoutAttributes,t.layoutAttributes);var c=t.basePlotModule,p=c.name;if(\\\"mapbox\\\"===p){var f=c.constants.styleRules;for(var d in f)s(\\\".js-plotly-plot .plotly .mapboxgl-\\\"+d,f[d])}\\\"geo\\\"!==p&&\\\"mapbox\\\"!==p||void 0===typeof window||void 0!==window.PlotlyGeoAssets||(window.PlotlyGeoAssets={topojson:{}})}}function d(t){if(\\\"string\\\"!=typeof t.name)throw new Error(\\\"Component module *name* must be a string.\\\");var e=t.name;for(var r in n.componentsRegistry[e]=t,t.layoutAttributes&&(t.layoutAttributes._isLinkedToArray&&o(n.layoutArrayContainers,e),g(t)),n.modules)y(e,r);for(var i in n.subplotsRegistry)b(e,i);for(var a in n.transformsRegistry)_(e,a);t.schema&&t.schema.layout&&p(c,t.schema.layout)}function m(t){if(\\\"string\\\"!=typeof t.name)throw new Error(\\\"Transform module *name* must be a string.\\\");var e=\\\"Transform module \\\"+t.name,i=\\\"function\\\"==typeof t.transform,o=\\\"function\\\"==typeof t.calcTransform;if(!i&&!o)throw new Error(e+\\\" is missing a *transform* or *calcTransform* method.\\\");for(var s in i&&o&&r.log([e+\\\" has both a *transform* and *calcTransform* methods.\\\",\\\"Please note that all *transform* methods are executed\\\",\\\"before all *calcTransform* methods.\\\"].join(\\\" \\\")),a(t.attributes)||r.log(e+\\\" registered without an *attributes* object.\\\"),\\\"function\\\"!=typeof t.supplyDefaults&&r.log(e+\\\" registered without a *supplyDefaults* method.\\\"),n.transformsRegistry[t.name]=t,n.componentsRegistry)_(s,t.name)}function v(t){var e=t.name,r=e.split(\\\"-\\\")[0],i=t.dictionary,o=t.format,a=i&&Object.keys(i).length,s=o&&Object.keys(o).length,l=n.localeRegistry,u=l[e];if(u||(l[e]=u={}),r!==e){var c=l[r];c||(l[r]=c={}),a&&c.dictionary===u.dictionary&&(c.dictionary=i),s&&c.format===u.format&&(c.format=o)}a&&(u.dictionary=i),s&&(u.format=o)}function g(t){if(t.layoutAttributes){var e=t.layoutAttributes._arrayAttrRegexps;if(e)for(var r=0;r<e.length;r++)o(n.layoutArrayRegexes,e[r])}}function y(t,e){var r=n.componentsRegistry[t].schema;if(r&&r.traces){var i=r.traces[e];i&&p(n.modules[e]._module.attributes,i)}}function _(t,e){var r=n.componentsRegistry[t].schema;if(r&&r.transforms){var i=r.transforms[e];i&&p(n.transformsRegistry[e].attributes,i)}}function b(t,e){var r=n.componentsRegistry[t].schema;if(r&&r.subplots){var i=n.subplotsRegistry[e],o=i.layoutAttributes,a=\\\"subplot\\\"===i.attr?i.name:i.attr;Array.isArray(a)&&(a=a[0]);var s=r.subplots[a];o&&s&&p(o,s)}}function x(t){return\\\"object\\\"==typeof t&&(t=t.type),t}n.modules={},n.allCategories={},n.allTypes=[],n.subplotsRegistry={},n.transformsRegistry={},n.componentsRegistry={},n.layoutArrayContainers=[],n.layoutArrayRegexes=[],n.traceLayoutAttributes={},n.localeRegistry={},n.apiMethodRegistry={},n.collectableSubplotTypes=null,n.register=function(t){if(n.collectableSubplotTypes=null,!t)throw new Error(\\\"No argument passed to Plotly.register.\\\");t&&!Array.isArray(t)&&(t=[t]);for(var e=0;e<t.length;e++){var r=t[e];if(!r)throw new Error(\\\"Invalid module was attempted to be registered!\\\");switch(r.moduleType){case\\\"trace\\\":f(r);break;case\\\"transform\\\":m(r);break;case\\\"component\\\":d(r);break;case\\\"locale\\\":v(r);break;case\\\"apiMethod\\\":var i=r.name;n.apiMethodRegistry[i]=r.fn;break;default:throw new Error(\\\"Invalid module was attempted to be registered!\\\")}}},n.getModule=function(t){var e=n.modules[x(t)];return!!e&&e._module},n.traceIs=function(t,e){if(\\\"various\\\"===(t=x(t)))return!1;var i=n.modules[t];return i||(t&&\\\"area\\\"!==t&&r.log(\\\"Unrecognized trace type \\\"+t+\\\".\\\"),i=n.modules[u.type.dflt]),!!i.categories[e]},n.getTransformIndices=function(t,e){for(var n=[],r=t.transforms||[],i=0;i<r.length;i++)r[i].type===e&&n.push(i);return n},n.hasTransform=function(t,e){for(var n=t.transforms||[],r=0;r<n.length;r++)if(n[r].type===e)return!0;return!1},n.getComponentMethod=function(t,e){var r=n.componentsRegistry[t];return r&&r[e]||i},n.call=function(){var t=arguments[0],e=[].slice.call(arguments,1);return n.apiMethodRegistry[t].apply(null,e)}},{\\\"./lib/dom\\\":717,\\\"./lib/extend\\\":719,\\\"./lib/is_plain_object\\\":729,\\\"./lib/loggers\\\":732,\\\"./lib/noop\\\":737,\\\"./lib/push_unique\\\":742,\\\"./plots/attributes\\\":773,\\\"./plots/layout_attributes\\\":830}],860:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../registry\\\"),i=t(\\\"../lib\\\"),o=i.extendFlat,a=i.extendDeep;function s(t){var e;switch(t){case\\\"themes__thumb\\\":e={autosize:!0,width:150,height:150,title:{text:\\\"\\\"},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case\\\"thumbnail\\\":e={title:{text:\\\"\\\"},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:\\\"\\\",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:e={}}return e}e.exports=function(t,e){var n;t.framework&&t.framework.isPolar&&(t=t.framework.getConfig());var i,l=t.data,u=t.layout,c=a([],l),h=a({},u,s(e.tileClass)),p=t._context||{};if(e.width&&(h.width=e.width),e.height&&(h.height=e.height),\\\"thumbnail\\\"===e.tileClass||\\\"themes__thumb\\\"===e.tileClass){h.annotations=[];var f=Object.keys(h);for(n=0;n<f.length;n++)i=f[n],[\\\"xaxis\\\",\\\"yaxis\\\",\\\"zaxis\\\"].indexOf(i.slice(0,5))>-1&&(h[f[n]].title={text:\\\"\\\"});for(n=0;n<c.length;n++){var d=c[n];d.showscale=!1,d.marker&&(d.marker.showscale=!1),r.traceIs(d,\\\"pie-like\\\")&&(d.textposition=\\\"none\\\")}}if(Array.isArray(e.annotations))for(n=0;n<e.annotations.length;n++)h.annotations.push(e.annotations[n]);var m=Object.keys(h).filter((function(t){return t.match(/^scene\\\\d*$/)}));if(m.length){var v={};for(\\\"thumbnail\\\"===e.tileClass&&(v={title:{text:\\\"\\\"},showaxeslabels:!1,showticklabels:!1,linetickenable:!1}),n=0;n<m.length;n++){var g=h[m[n]];g.xaxis||(g.xaxis={}),g.yaxis||(g.yaxis={}),g.zaxis||(g.zaxis={}),o(g.xaxis,v),o(g.yaxis,v),o(g.zaxis,v),g._scene=null}}var y=document.createElement(\\\"div\\\");e.tileClass&&(y.className=e.tileClass);var _={gd:y,td:y,layout:h,data:c,config:{staticPlot:void 0===e.staticPlot||e.staticPlot,plotGlPixelRatio:void 0===e.plotGlPixelRatio?2:e.plotGlPixelRatio,displaylogo:e.displaylogo||!1,showLink:e.showLink||!1,showTips:e.showTips||!1,mapboxAccessToken:p.mapboxAccessToken}};return\\\"transparent\\\"!==e.setBackground&&(_.config.setBackground=e.setBackground||\\\"opaque\\\"),_.gd.defaultLayout=s(e.tileClass),_}},{\\\"../lib\\\":728,\\\"../registry\\\":859}],861:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../plot_api/to_image\\\"),o=t(\\\"./filesaver\\\"),a=t(\\\"./helpers\\\");e.exports=function(t,e){var n;return r.isPlainObject(t)||(n=r.getGraphDiv(t)),(e=e||{}).format=e.format||\\\"png\\\",e.imageDataOnly=!0,new Promise((function(s,l){n&&n._snapshotInProgress&&l(new Error(\\\"Snapshotting already in progress.\\\")),r.isIE()&&\\\"svg\\\"!==e.format&&l(new Error(a.MSG_IE_BAD_FORMAT)),n&&(n._snapshotInProgress=!0);var u=i(t,e),c=e.filename||t.fn||\\\"newplot\\\";c+=\\\".\\\"+e.format.replace(\\\"-\\\",\\\".\\\"),u.then((function(t){return n&&(n._snapshotInProgress=!1),o(t,c,e.format)})).then((function(t){s(t)})).catch((function(t){n&&(n._snapshotInProgress=!1),l(t)}))}))}},{\\\"../lib\\\":728,\\\"../plot_api/to_image\\\":769,\\\"./filesaver\\\":862,\\\"./helpers\\\":863}],862:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"./helpers\\\");e.exports=function(t,e,n){var o=document.createElement(\\\"a\\\"),a=\\\"download\\\"in o;return new Promise((function(s,l){var u,c;if(r.isIE9orBelow()&&l(new Error(\\\"IE < 10 unsupported\\\")),r.isSafari()){var h=\\\"svg\\\"===n?\\\",\\\":\\\";base64,\\\";return i.octetStream(h+encodeURIComponent(t)),s(e)}return r.isIE()?(u=i.createBlob(t,\\\"svg\\\"),window.navigator.msSaveBlob(u,e),u=null,s(e)):a?(u=i.createBlob(t,n),c=i.createObjectURL(u),o.href=c,o.download=e,document.body.appendChild(o),o.click(),document.body.removeChild(o),i.revokeObjectURL(c),u=null,s(e)):void l(new Error(\\\"download error\\\"))}))}},{\\\"../lib\\\":728,\\\"./helpers\\\":863}],863:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../registry\\\");n.getDelay=function(t){return t._has&&(t._has(\\\"gl3d\\\")||t._has(\\\"gl2d\\\")||t._has(\\\"mapbox\\\"))?500:0},n.getRedrawFunc=function(t){return function(){var e=t._fullLayout||{};(!e._has||!e._has(\\\"polar\\\"))&&t.data&&t.data[0]&&t.data[0].r||r.getComponentMethod(\\\"colorbar\\\",\\\"draw\\\")(t)}},n.encodeSVG=function(t){return\\\"data:image/svg+xml,\\\"+encodeURIComponent(t)},n.encodeJSON=function(t){return\\\"data:application/json,\\\"+encodeURIComponent(t)};var i=window.URL||window.webkitURL;n.createObjectURL=function(t){return i.createObjectURL(t)},n.revokeObjectURL=function(t){return i.revokeObjectURL(t)},n.createBlob=function(t,e){if(\\\"svg\\\"===e)return new window.Blob([t],{type:\\\"image/svg+xml;charset=utf-8\\\"});if(\\\"full-json\\\"===e)return new window.Blob([t],{type:\\\"application/json;charset=utf-8\\\"});var n=function(t){for(var e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n),i=0;i<e;i++)r[i]=t.charCodeAt(i);return n}(window.atob(t));return new window.Blob([n],{type:\\\"image/\\\"+e})},n.octetStream=function(t){document.location.href=\\\"data:application/octet-stream\\\"+t},n.IMAGE_URL_PREFIX=/^data:image\\\\/\\\\w+;base64,/,n.MSG_IE_BAD_FORMAT=\\\"Sorry IE does not support downloading from canvas. Try {format:'svg'} instead.\\\"},{\\\"../registry\\\":859}],864:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./helpers\\\"),i={getDelay:r.getDelay,getRedrawFunc:r.getRedrawFunc,clone:t(\\\"./cloneplot\\\"),toSVG:t(\\\"./tosvg\\\"),svgToImg:t(\\\"./svgtoimg\\\"),toImage:t(\\\"./toimage\\\"),downloadImage:t(\\\"./download\\\")};e.exports=i},{\\\"./cloneplot\\\":860,\\\"./download\\\":861,\\\"./helpers\\\":863,\\\"./svgtoimg\\\":865,\\\"./toimage\\\":866,\\\"./tosvg\\\":867}],865:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"events\\\").EventEmitter,o=t(\\\"./helpers\\\");e.exports=function(t){var e=t.emitter||new i,n=new Promise((function(i,a){var s=window.Image,l=t.svg,u=t.format||\\\"png\\\";if(r.isIE()&&\\\"svg\\\"!==u){var c=new Error(o.MSG_IE_BAD_FORMAT);return a(c),t.promise?n:e.emit(\\\"error\\\",c)}var h,p,f=t.canvas,d=t.scale||1,m=t.width||300,v=t.height||150,g=d*m,y=d*v,_=f.getContext(\\\"2d\\\"),b=new s;\\\"svg\\\"===u||r.isIE9orBelow()||r.isSafari()?p=o.encodeSVG(l):(h=o.createBlob(l,\\\"svg\\\"),p=o.createObjectURL(h)),f.width=g,f.height=y,b.onload=function(){var n;switch(h=null,o.revokeObjectURL(p),\\\"svg\\\"!==u&&_.drawImage(b,0,0,g,y),u){case\\\"jpeg\\\":n=f.toDataURL(\\\"image/jpeg\\\");break;case\\\"png\\\":n=f.toDataURL(\\\"image/png\\\");break;case\\\"webp\\\":n=f.toDataURL(\\\"image/webp\\\");break;case\\\"svg\\\":n=p;break;default:var r=\\\"Image format is not jpeg, png, svg or webp.\\\";if(a(new Error(r)),!t.promise)return e.emit(\\\"error\\\",r)}i(n),t.promise||e.emit(\\\"success\\\",n)},b.onerror=function(n){if(h=null,o.revokeObjectURL(p),a(n),!t.promise)return e.emit(\\\"error\\\",n)},b.src=p}));return t.promise?n:e}},{\\\"../lib\\\":728,\\\"./helpers\\\":863,events:107}],866:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"events\\\").EventEmitter,i=t(\\\"../registry\\\"),o=t(\\\"../lib\\\"),a=t(\\\"./helpers\\\"),s=t(\\\"./cloneplot\\\"),l=t(\\\"./tosvg\\\"),u=t(\\\"./svgtoimg\\\");e.exports=function(t,e){var n=new r,c=s(t,{format:\\\"png\\\"}),h=c.gd;h.style.position=\\\"absolute\\\",h.style.left=\\\"-5000px\\\",document.body.appendChild(h);var p=a.getRedrawFunc(h);return i.call(\\\"plot\\\",h,c.data,c.layout,c.config).then(p).then((function(){var t=a.getDelay(h._fullLayout);setTimeout((function(){var t=l(h),r=document.createElement(\\\"canvas\\\");r.id=o.randstr(),(n=u({format:e.format,width:h._fullLayout.width,height:h._fullLayout.height,canvas:r,emitter:n,svg:t})).clean=function(){h&&document.body.removeChild(h)}}),t)})).catch((function(t){n.emit(\\\"error\\\",t)})),n}},{\\\"../lib\\\":728,\\\"../registry\\\":859,\\\"./cloneplot\\\":860,\\\"./helpers\\\":863,\\\"./svgtoimg\\\":865,\\\"./tosvg\\\":867,events:107}],867:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../lib\\\"),o=t(\\\"../components/drawing\\\"),a=t(\\\"../components/color\\\"),s=t(\\\"../constants/xmlns_namespaces\\\"),l=/\\\"/g,u=\\\"TOBESTRIPPED\\\",c=new RegExp('(\\\"TOBESTRIPPED)|(TOBESTRIPPED\\\")',\\\"g\\\");e.exports=function(t,e,n){var h,p=t._fullLayout,f=p._paper,d=p._toppaper,m=p.width,v=p.height;f.insert(\\\"rect\\\",\\\":first-child\\\").call(o.setRect,0,0,m,v).call(a.fill,p.paper_bgcolor);var g=p._basePlotModules||[];for(h=0;h<g.length;h++){var y=g[h];y.toSVG&&y.toSVG(t)}if(d){var _=d.node().childNodes,b=Array.prototype.slice.call(_);for(h=0;h<b.length;h++){var x=b[h];x.childNodes.length&&f.node().appendChild(x)}}if(p._draggers&&p._draggers.remove(),f.node().style.background=\\\"\\\",f.selectAll(\\\"text\\\").attr({\\\"data-unformatted\\\":null,\\\"data-math\\\":null}).each((function(){var t=r.select(this);if(\\\"hidden\\\"!==this.style.visibility&&\\\"none\\\"!==this.style.display){t.style({visibility:null,display:null});var e=this.style.fontFamily;e&&-1!==e.indexOf('\\\"')&&t.style(\\\"font-family\\\",e.replace(l,u))}else t.remove()})),p._gradientUrlQueryParts){var w=[];for(var A in p._gradientUrlQueryParts)w.push(A);w.length&&f.selectAll(w.join(\\\",\\\")).each((function(){var t=r.select(this),e=this.style.fill;e&&-1!==e.indexOf(\\\"url(\\\")&&t.style(\\\"fill\\\",e.replace(l,u));var n=this.style.stroke;n&&-1!==n.indexOf(\\\"url(\\\")&&t.style(\\\"stroke\\\",n.replace(l,u))}))}\\\"pdf\\\"!==e&&\\\"eps\\\"!==e||f.selectAll(\\\"#MathJax_SVG_glyphs path\\\").attr(\\\"stroke-width\\\",0),f.node().setAttributeNS(s.xmlns,\\\"xmlns\\\",s.svg),f.node().setAttributeNS(s.xmlns,\\\"xmlns:xlink\\\",s.xlink),\\\"svg\\\"===e&&n&&(f.attr(\\\"width\\\",n*m),f.attr(\\\"height\\\",n*v),f.attr(\\\"viewBox\\\",\\\"0 0 \\\"+m+\\\" \\\"+v));var C,M=(new window.XMLSerializer).serializeToString(f.node());return M=(C=M=function(t){var e=r.select(\\\"body\\\").append(\\\"div\\\").style({display:\\\"none\\\"}).html(\\\"\\\"),n=t.replace(/(&[^;]*;)/gi,(function(t){return\\\"&lt;\\\"===t?\\\"&#60;\\\":\\\"&rt;\\\"===t?\\\"&#62;\\\":-1!==t.indexOf(\\\"<\\\")||-1!==t.indexOf(\\\">\\\")?\\\"\\\":e.html(t).text()}));return e.remove(),n}(M),M=C.replace(/&(?!\\\\w+;|\\\\#[0-9]+;| \\\\#x[0-9A-F]+;)/g,\\\"&amp;\\\")).replace(c,\\\"'\\\"),i.isIE()&&(M=(M=(M=M.replace(/\\\"/gi,\\\"'\\\")).replace(/(\\\\('#)([^']*)('\\\\))/gi,'(\\\"#$2\\\")')).replace(/(\\\\\\\\')/gi,'\\\"')),M}},{\\\"../components/color\\\":595,\\\"../components/drawing\\\":617,\\\"../constants/xmlns_namespaces\\\":705,\\\"../lib\\\":728,d3:164}],868:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e){for(var n=0;n<t.length;n++)t[n].i=n;r.mergeArray(e.text,t,\\\"tx\\\"),r.mergeArray(e.hovertext,t,\\\"htx\\\");var i=e.marker;if(i){r.mergeArray(i.opacity,t,\\\"mo\\\",!0),r.mergeArray(i.color,t,\\\"mc\\\");var o=i.line;o&&(r.mergeArray(o.color,t,\\\"mlc\\\"),r.mergeArrayCastPositive(o.width,t,\\\"mlw\\\"))}}},{\\\"../../lib\\\":728}],869:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,a=t(\\\"../../components/colorscale/attributes\\\"),s=t(\\\"../../plots/font_attributes\\\"),l=t(\\\"./constants\\\"),u=t(\\\"../../lib/extend\\\").extendFlat,c=s({editType:\\\"calc\\\",arrayOk:!0,colorEditType:\\\"style\\\"}),h=u({},r.marker.line.width,{dflt:0}),p=u({width:h,editType:\\\"calc\\\"},a(\\\"marker.line\\\")),f=u({line:p,editType:\\\"calc\\\"},a(\\\"marker\\\"),{opacity:{valType:\\\"number\\\",arrayOk:!0,dflt:1,min:0,max:1,editType:\\\"style\\\"}});e.exports={x:r.x,x0:r.x0,dx:r.dx,y:r.y,y0:r.y0,dy:r.dy,text:r.text,texttemplate:o({editType:\\\"plot\\\"},{keys:l.eventDataKeys}),hovertext:r.hovertext,hovertemplate:i({},{keys:l.eventDataKeys}),textposition:{valType:\\\"enumerated\\\",values:[\\\"inside\\\",\\\"outside\\\",\\\"auto\\\",\\\"none\\\"],dflt:\\\"none\\\",arrayOk:!0,editType:\\\"calc\\\"},insidetextanchor:{valType:\\\"enumerated\\\",values:[\\\"end\\\",\\\"middle\\\",\\\"start\\\"],dflt:\\\"end\\\",editType:\\\"plot\\\"},textangle:{valType:\\\"angle\\\",dflt:\\\"auto\\\",editType:\\\"plot\\\"},textfont:u({},c,{}),insidetextfont:u({},c,{}),outsidetextfont:u({},c,{}),constraintext:{valType:\\\"enumerated\\\",values:[\\\"inside\\\",\\\"outside\\\",\\\"both\\\",\\\"none\\\"],dflt:\\\"both\\\",editType:\\\"calc\\\"},cliponaxis:u({},r.cliponaxis,{}),orientation:{valType:\\\"enumerated\\\",values:[\\\"v\\\",\\\"h\\\"],editType:\\\"calc+clearAxisTypes\\\"},base:{valType:\\\"any\\\",dflt:null,arrayOk:!0,editType:\\\"calc\\\"},offset:{valType:\\\"number\\\",dflt:null,arrayOk:!0,editType:\\\"calc\\\"},width:{valType:\\\"number\\\",dflt:null,min:0,arrayOk:!0,editType:\\\"calc\\\"},marker:f,offsetgroup:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},alignmentgroup:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},selected:{marker:{opacity:r.selected.marker.opacity,color:r.selected.marker.color,editType:\\\"style\\\"},textfont:r.selected.textfont,editType:\\\"style\\\"},unselected:{marker:{opacity:r.unselected.marker.opacity,color:r.unselected.marker.color,editType:\\\"style\\\"},textfont:r.unselected.textfont,editType:\\\"style\\\"},r:r.r,t:r.t,_deprecated:{bardir:{valType:\\\"enumerated\\\",editType:\\\"calc\\\",values:[\\\"v\\\",\\\"h\\\"]}}}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/font_attributes\\\":804,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134,\\\"./constants\\\":871}],870:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,o=t(\\\"../../components/colorscale/calc\\\"),a=t(\\\"./arrays_to_calcdata\\\"),s=t(\\\"../scatter/calc_selection\\\");e.exports=function(t,e){var n,l,u=r.getFromId(t,e.xaxis||\\\"x\\\"),c=r.getFromId(t,e.yaxis||\\\"y\\\"),h={msUTC:!(!e.base&&0!==e.base)};\\\"h\\\"===e.orientation?(n=u.makeCalcdata(e,\\\"x\\\",h),l=c.makeCalcdata(e,\\\"y\\\")):(n=c.makeCalcdata(e,\\\"y\\\",h),l=u.makeCalcdata(e,\\\"x\\\"));for(var p=Math.min(l.length,n.length),f=new Array(p),d=0;d<p;d++)f[d]={p:l[d],s:n[d]},e.ids&&(f[d].id=String(e.ids[d]));return i(e,\\\"marker\\\")&&o(t,e,{vals:e.marker.color,containerStr:\\\"marker\\\",cLetter:\\\"c\\\"}),i(e,\\\"marker.line\\\")&&o(t,e,{vals:e.marker.line.color,containerStr:\\\"marker.line\\\",cLetter:\\\"c\\\"}),a(f,e),s(f,e),f}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../components/colorscale/helpers\\\":606,\\\"../../plots/cartesian/axes\\\":776,\\\"../scatter/calc_selection\\\":1136,\\\"./arrays_to_calcdata\\\":868}],871:[function(t,e,n){\\\"use strict\\\";e.exports={TEXTPAD:3,eventDataKeys:[\\\"value\\\",\\\"label\\\"]}},{}],872:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\").isArrayOrTypedArray,o=t(\\\"../../constants/numerical\\\").BADNUM,a=t(\\\"../../registry\\\"),s=t(\\\"../../plots/cartesian/axes\\\"),l=t(\\\"../../plots/cartesian/axis_ids\\\").getAxisGroup,u=t(\\\"./sieve.js\\\");function c(t,e,n,a,c){if(a.length){var b,x,w,A;switch(function(t,e){var n,o;for(n=0;n<e.length;n++){var a,s=e[n],l=s[0].trace,u=\\\"funnel\\\"===l.type?l._base:l.base,c=\\\"h\\\"===l.orientation?l.xcalendar:l.ycalendar,h=\\\"category\\\"===t.type||\\\"multicategory\\\"===t.type?function(){return null}:t.d2c;if(i(u)){for(o=0;o<Math.min(u.length,s.length);o++)a=h(u[o],0,c),r(a)?(s[o].b=+a,s[o].hasB=1):s[o].b=0;for(;o<s.length;o++)s[o].b=0}else{a=h(u,0,c);var p=r(a);for(a=p?a:0,o=0;o<s.length;o++)s[o].b=a,p&&(s[o].hasB=1)}}}(n,a),c.mode){case\\\"overlay\\\":h(e,n,a,c);break;case\\\"group\\\":for(b=[],x=[],w=0;w<a.length;w++)void 0===(A=a[w])[0].trace.offset?x.push(A):b.push(A);x.length&&function(t,e,n,r,i){var a=new u(r,{sepNegVal:!1,overlapNoMerge:!i.norm});(function(t,e,n,r){for(var i=t._fullLayout,o=n.positions,a=n.distinctPositions,s=n.minDiff,u=n.traces,c=u.length,h=o.length!==a.length,p=s*(1-r.gap),v=l(i,e._id)+u[0][0].trace.orientation,g=i._alignmentOpts[v]||{},y=0;y<c;y++){var _,b,x=u[y],w=x[0].trace,A=g[w.alignmentgroup]||{},C=Object.keys(A.offsetGroups||{}).length,M=(_=C?p/C:h?p/c:p)*(1-(r.groupgap||0));b=C?((2*w._offsetIndex+1-C)*_-M)/2:h?((2*y+1-c)*_-M)/2:-M/2;var E=x[0].t;E.barwidth=M,E.poffset=b,E.bargroupwidth=p,E.bardelta=s}n.binWidth=u[0][0].t.barwidth/100,f(n),d(e,n),m(e,n,h)})(t,e,a,i),function(t){for(var e=t.traces,n=0;n<e.length;n++){var r=e[n];if(void 0===r[0].trace.base)for(var i=new u([r],{sepNegVal:!0,overlapNoMerge:!0}),a=0;a<r.length;a++){var s=r[a];if(s.p!==o){var l=i.put(s.p,s.b+s.s);l&&(s.b=l)}}}}(a),i.norm?(g(a),y(n,a,i)):v(n,a)}(t,e,n,x,c),b.length&&h(e,n,b,c);break;case\\\"stack\\\":case\\\"relative\\\":for(b=[],x=[],w=0;w<a.length;w++)void 0===(A=a[w])[0].trace.base?x.push(A):b.push(A);x.length&&function(t,e,n,r,i){var a=new u(r,{sepNegVal:\\\"relative\\\"===i.mode,overlapNoMerge:!(i.norm||\\\"stack\\\"===i.mode||\\\"relative\\\"===i.mode)});p(e,a,i),function(t,e,n){var r,i,a,l,u,c,h=_(t),p=e.traces;for(l=0;l<p.length;l++)if(\\\"funnel\\\"===(i=(r=p[l])[0].trace).type)for(u=0;u<r.length;u++)(c=r[u]).s!==o&&e.put(c.p,-.5*c.s);for(l=0;l<p.length;l++){a=\\\"funnel\\\"===(i=(r=p[l])[0].trace).type;var f=[];for(u=0;u<r.length;u++)if((c=r[u]).s!==o){var d;d=a?c.s:c.s+c.b;var m=e.put(c.p,d),v=m+d;c.b=m,c[h]=v,n.norm||(f.push(v),c.hasB&&f.push(m))}n.norm||(i._extremes[t._id]=s.findExtremes(t,f,{tozero:!0,padded:!0}))}}(n,a,i);for(var l=0;l<r.length;l++)for(var c=r[l],h=0;h<c.length;h++){var f=c[h];f.s!==o&&f.b+f.s===a.get(f.p,f.s)&&(f._outmost=!0)}i.norm&&y(n,a,i)}(0,e,n,x,c),b.length&&h(e,n,b,c)}!function(t,e){var n,i,o,a=_(e),s={},l=1/0,u=-1/0;for(n=0;n<t.length;n++)for(o=t[n],i=0;i<o.length;i++){var c=o[i].p;r(c)&&(l=Math.min(l,c),u=Math.max(u,c))}var h=1e4/(u-l),p=s.round=function(t){return String(Math.round(h*(t-l)))};for(n=0;n<t.length;n++){(o=t[n])[0].t.extents=s;var f=o[0].t.poffset,d=Array.isArray(f);for(i=0;i<o.length;i++){var m=o[i],v=m[a]-m.w/2;if(r(v)){var g=m[a]+m.w/2,y=p(m.p);s[y]?s[y]=[Math.min(v,s[y][0]),Math.max(g,s[y][1])]:s[y]=[v,g]}m.p0=m.p+(d?f[i]:f),m.p1=m.p0+m.w,m.s0=m.b,m.s1=m.s0+m.s}}}(a,e)}}function h(t,e,n,r){for(var i=0;i<n.length;i++){var o=n[i],a=new u([o],{sepNegVal:!1,overlapNoMerge:!r.norm});p(t,a,r),r.norm?(g(a),y(e,a,r)):v(e,a)}}function p(t,e,n){for(var r=e.minDiff,i=e.traces,o=r*(1-n.gap),a=o*(1-(n.groupgap||0)),s=-a/2,l=0;l<i.length;l++){var u=i[l][0].t;u.barwidth=a,u.poffset=s,u.bargroupwidth=o,u.bardelta=r}e.binWidth=i[0][0].t.barwidth/100,f(e),d(t,e),m(t,e)}function f(t){var e,n,o=t.traces;for(e=0;e<o.length;e++){var a,s=o[e],l=s[0],u=l.trace,c=l.t,h=u._offset||u.offset,p=c.poffset;if(i(h)){for(a=Array.prototype.slice.call(h,0,s.length),n=0;n<a.length;n++)r(a[n])||(a[n]=p);for(n=a.length;n<s.length;n++)a.push(p);c.poffset=a}else void 0!==h&&(c.poffset=h);var f=u._width||u.width,d=c.barwidth;if(i(f)){var m=Array.prototype.slice.call(f,0,s.length);for(n=0;n<m.length;n++)r(m[n])||(m[n]=d);for(n=m.length;n<s.length;n++)m.push(d);if(c.barwidth=m,void 0===h){for(a=[],n=0;n<s.length;n++)a.push(p+(d-m[n])/2);c.poffset=a}}else void 0!==f&&(c.barwidth=f,void 0===h&&(c.poffset=p+(d-f)/2))}}function d(t,e){for(var n=e.traces,r=_(t),i=0;i<n.length;i++)for(var o=n[i],a=o[0].t,s=a.poffset,l=Array.isArray(s),u=a.barwidth,c=Array.isArray(u),h=0;h<o.length;h++){var p=o[h],f=p.w=c?u[h]:u;p[r]=p.p+(l?s[h]:s)+f/2}}function m(t,e,n){var r=e.traces,i=e.minDiff/2;s.minDtick(t,e.minDiff,e.distinctPositions[0],n);for(var o=0;o<r.length;o++){var a,l,u,c,h=r[o],p=h[0],f=p.trace,d=[];for(c=0;c<h.length;c++)l=(a=h[c]).p-i,u=a.p+i,d.push(l,u);if(f.width||f.offset){var m=p.t,v=m.poffset,g=m.barwidth,y=Array.isArray(v),_=Array.isArray(g);for(c=0;c<h.length;c++){a=h[c];var b=y?v[c]:v,x=_?g[c]:g;u=(l=a.p+b)+x,d.push(l,u)}}f._extremes[t._id]=s.findExtremes(t,d,{padded:!1})}}function v(t,e){for(var n=e.traces,r=_(t),i=0;i<n.length;i++){for(var o=n[i],a=o[0].trace,l=[],u=!1,c=0;c<o.length;c++){var h=o[c],p=h.b,f=p+h.s;h[r]=f,l.push(f),h.hasB&&l.push(p),h.hasB&&h.b||(u=!0)}a._extremes[t._id]=s.findExtremes(t,l,{tozero:u,padded:!0})}}function g(t){for(var e=t.traces,n=0;n<e.length;n++)for(var r=e[n],i=0;i<r.length;i++){var a=r[i];a.s!==o&&t.put(a.p,a.b+a.s)}}function y(t,e,n){var i=e.traces,a=_(t),l=\\\"fraction\\\"===n.norm?1:100,u=l/1e9,c=t.l2c(t.c2l(0)),h=\\\"stack\\\"===n.mode?l:c;function p(e){return r(t.c2l(e))&&(e<c-u||e>h+u||!r(c))}for(var f=0;f<i.length;f++){for(var d=i[f],m=d[0].trace,v=[],g=!1,y=!1,b=0;b<d.length;b++){var x=d[b];if(x.s!==o){var w=Math.abs(l/e.get(x.p,x.s));x.b*=w,x.s*=w;var A=x.b,C=A+x.s;x[a]=C,v.push(C),y=y||p(C),x.hasB&&(v.push(A),y=y||p(A)),x.hasB&&x.b||(g=!0)}}m._extremes[t._id]=s.findExtremes(t,v,{tozero:g,padded:y})}}function _(t){return t._id.charAt(0)}e.exports={crossTraceCalc:function(t,e){for(var n=e.xaxis,r=e.yaxis,i=t._fullLayout,o=t._fullData,s=t.calcdata,l=[],u=[],h=0;h<o.length;h++){var p=o[h];if(!0===p.visible&&a.traceIs(p,\\\"bar\\\")&&p.xaxis===n._id&&p.yaxis===r._id&&(\\\"h\\\"===p.orientation?l.push(s[h]):u.push(s[h]),p._computePh))for(var f=t.calcdata[h],d=0;d<f.length;d++)\\\"function\\\"==typeof f[d].ph0&&(f[d].ph0=f[d].ph0()),\\\"function\\\"==typeof f[d].ph1&&(f[d].ph1=f[d].ph1())}var m={mode:i.barmode,norm:i.barnorm,gap:i.bargap,groupgap:i.bargroupgap};c(t,n,r,u,m),c(t,r,n,l,m)},setGroupPositions:c}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../registry\\\":859,\\\"./sieve.js\\\":882,\\\"fast-isnumeric\\\":236}],873:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../registry\\\"),a=t(\\\"../scatter/xy_defaults\\\"),s=t(\\\"./style_defaults\\\"),l=t(\\\"../../plots/cartesian/axis_ids\\\").getAxisGroup,u=t(\\\"./attributes\\\"),c=r.coerceFont;function h(t,e,n,r){var i=e.orientation,o=e[{v:\\\"x\\\",h:\\\"y\\\"}[i]+\\\"axis\\\"],a=l(n,o)+i,s=n._alignmentOpts||{},u=r(\\\"alignmentgroup\\\"),c=s[a];c||(c=s[a]={});var h=c[u];h?h.traces.push(e):h=c[u]={traces:[e],alignmentIndex:Object.keys(c).length,offsetGroups:{}};var p=r(\\\"offsetgroup\\\"),f=h.offsetGroups,d=f[p];p&&(d||(d=f[p]={offsetIndex:Object.keys(f).length}),e._offsetIndex=d.offsetIndex)}function p(t,e,n,i,o,a){var s=!(!1===(a=a||{}).moduleHasSelected),l=!(!1===a.moduleHasUnselected),u=!(!1===a.moduleHasConstrain),h=!(!1===a.moduleHasCliponaxis),p=!(!1===a.moduleHasTextangle),f=!(!1===a.moduleHasInsideanchor),d=!!a.hasPathbar,m=Array.isArray(o)||\\\"auto\\\"===o,v=m||\\\"inside\\\"===o,g=m||\\\"outside\\\"===o;if(v||g){var y=c(i,\\\"textfont\\\",n.font),_=r.extendFlat({},y),b=!(t.textfont&&t.textfont.color);if(b&&delete _.color,c(i,\\\"insidetextfont\\\",_),d){var x=r.extendFlat({},y);b&&delete x.color,c(i,\\\"pathbar.textfont\\\",x)}g&&c(i,\\\"outsidetextfont\\\",y),s&&i(\\\"selected.textfont.color\\\"),l&&i(\\\"unselected.textfont.color\\\"),u&&i(\\\"constraintext\\\"),h&&i(\\\"cliponaxis\\\"),p&&i(\\\"textangle\\\"),i(\\\"texttemplate\\\")}v&&f&&i(\\\"insidetextanchor\\\")}e.exports={supplyDefaults:function(t,e,n,l){function c(n,i){return r.coerce(t,e,u,n,i)}if(a(t,e,l,c)){c(\\\"orientation\\\",e.x&&!e.y?\\\"h\\\":\\\"v\\\"),c(\\\"base\\\"),c(\\\"offset\\\"),c(\\\"width\\\"),c(\\\"text\\\"),c(\\\"hovertext\\\"),c(\\\"hovertemplate\\\");var h=c(\\\"textposition\\\");p(t,0,l,c,h,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),s(t,e,c,n,l);var f=(e.marker.line||{}).color,d=o.getComponentMethod(\\\"errorbars\\\",\\\"supplyDefaults\\\");d(t,e,f||i.defaultLine,{axis:\\\"y\\\"}),d(t,e,f||i.defaultLine,{axis:\\\"x\\\",inherit:\\\"y\\\"}),r.coerceSelectionMarkerOpacity(e,c)}else e.visible=!1},crossTraceDefaults:function(t,e){var n;function i(t){return r.coerce(n._input,n,u,t)}if(\\\"group\\\"===e.barmode)for(var o=0;o<t.length;o++)\\\"bar\\\"===(n=t[o]).type&&h(n._input,n,e,i)},handleGroupingDefaults:h,handleText:p}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../registry\\\":859,\\\"../scatter/xy_defaults\\\":1160,\\\"./attributes\\\":869,\\\"./style_defaults\\\":884}],874:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){return t.x=\\\"xVal\\\"in e?e.xVal:e.x,t.y=\\\"yVal\\\"in e?e.yVal:e.y,e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),\\\"h\\\"===n.orientation?(t.label=t.y,t.value=t.x):(t.label=t.x,t.value=t.y),t}},{}],875:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"../../lib\\\").isArrayOrTypedArray;n.coerceString=function(t,e,n){if(\\\"string\\\"==typeof e){if(e||!t.noBlank)return e}else if((\\\"number\\\"==typeof e||!0===e)&&!t.strict)return String(e);return void 0!==n?n:t.dflt},n.coerceNumber=function(t,e,n){if(r(e)){e=+e;var i=t.min,o=t.max;if(!(void 0!==i&&e<i||void 0!==o&&e>o))return e}return void 0!==n?n:t.dflt},n.coerceColor=function(t,e,n){return i(e).isValid()?e:void 0!==n?n:t.dflt},n.coerceEnumerated=function(t,e,n){return t.coerceNumber&&(e=+e),-1!==t.values.indexOf(e)?e:void 0!==n?n:t.dflt},n.getValue=function(t,e){var n;return Array.isArray(t)?e<t.length&&(n=t[e]):n=t,n},n.getLineWidth=function(t,e){return 0<e.mlw?e.mlw:o(t.marker.line.width)?0:t.marker.line.width}},{\\\"../../lib\\\":728,\\\"fast-isnumeric\\\":236,tinycolor2:528}],876:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/fx\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"../../lib\\\").fillText,s=t(\\\"./helpers\\\").getLineWidth,l=t(\\\"../../plots/cartesian/axes\\\").hoverLabelText,u=t(\\\"../../constants/numerical\\\").BADNUM;function c(t,e,n,i){var o,s,c,h,p,f,d,m=t.cd,v=m[0].trace,g=m[0].t,y=\\\"closest\\\"===i,_=\\\"waterfall\\\"===v.type,b=t.maxHoverDistance;function x(t){return t[c]-t.w/2}function w(t){return t[c]+t.w/2}var A=y?x:function(t){return Math.min(x(t),t.p-g.bardelta/2)},C=y?w:function(t){return Math.max(w(t),t.p+g.bardelta/2)};function M(t,e){return r.inbox(t-o,e-o,b+Math.min(1,Math.abs(e-t)/d)-1)}function E(t){return M(A(t),C(t))}function T(t){var e=s,n=t.b,i=t[h];if(_){var o=Math.abs(t.rawS)||0;e>0?i+=o:e<0&&(i-=o)}return r.inbox(n-e,i-e,b+(i-e)/(i-n)-1)}\\\"h\\\"===v.orientation?(o=n,s=e,c=\\\"y\\\",h=\\\"x\\\",p=T,f=E):(o=e,s=n,c=\\\"x\\\",h=\\\"y\\\",f=T,p=E);var S=t[c+\\\"a\\\"],k=t[h+\\\"a\\\"];d=Math.abs(S.r2c(S.range[1])-S.r2c(S.range[0]));var O=r.getDistanceFunction(i,p,f,(function(t){return(p(t)+f(t))/2}));if(r.getClosest(m,O,t),!1!==t.index&&m[t.index].p!==u){y||(A=function(t){return Math.min(x(t),t.p-g.bargroupwidth/2)},C=function(t){return Math.max(w(t),t.p+g.bargroupwidth/2)});var I=m[t.index],L=v.base?I.b+I.s:I.s;t[h+\\\"0\\\"]=t[h+\\\"1\\\"]=k.c2p(I[h],!0),t[h+\\\"LabelVal\\\"]=L;var P=g.extents[g.extents.round(I.p)];return t[c+\\\"0\\\"]=S.c2p(y?A(I):P[0],!0),t[c+\\\"1\\\"]=S.c2p(y?C(I):P[1],!0),t[c+\\\"LabelVal\\\"]=I.p,t.labelLabel=l(S,t[c+\\\"LabelVal\\\"]),t.valueLabel=l(k,t[h+\\\"LabelVal\\\"]),t.spikeDistance=(T(I)+function(t){return M(x(t),w(t))}(I))/2-b,t[c+\\\"Spike\\\"]=S.c2p(I.p,!0),a(I,v,t),t.hovertemplate=v.hovertemplate,t}}function h(t,e){var n=e.mcc||t.marker.color,r=e.mlcc||t.marker.line.color,i=s(t,e);return o.opacity(n)?n:o.opacity(r)&&i?r:void 0}e.exports={hoverPoints:function(t,e,n,r){var o=c(t,e,n,r);if(o){var a=o.cd,s=a[0].trace,l=a[o.index];return o.color=h(s,l),i.getComponentMethod(\\\"errorbars\\\",\\\"hoverInfo\\\")(l,s,o),[o]}},hoverOnBars:c,getTraceColor:h}},{\\\"../../components/color\\\":595,\\\"../../components/fx\\\":635,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"./helpers\\\":875}],877:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,crossTraceDefaults:t(\\\"./defaults\\\").crossTraceDefaults,supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\"),crossTraceCalc:t(\\\"./cross_trace_calc\\\").crossTraceCalc,colorbar:t(\\\"../scatter/marker_colorbar\\\"),arraysToCalcdata:t(\\\"./arrays_to_calcdata\\\"),plot:t(\\\"./plot\\\").plot,style:t(\\\"./style\\\").style,styleOnSelect:t(\\\"./style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\").hoverPoints,eventData:t(\\\"./event_data\\\"),selectPoints:t(\\\"./select\\\"),moduleType:\\\"trace\\\",name:\\\"bar\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"bar-like\\\",\\\"cartesian\\\",\\\"svg\\\",\\\"bar\\\",\\\"oriented\\\",\\\"errorBarsOK\\\",\\\"showLegend\\\",\\\"zoomScale\\\"],animatable:!0,meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../scatter/marker_colorbar\\\":1152,\\\"./arrays_to_calcdata\\\":868,\\\"./attributes\\\":869,\\\"./calc\\\":870,\\\"./cross_trace_calc\\\":872,\\\"./defaults\\\":873,\\\"./event_data\\\":874,\\\"./hover\\\":876,\\\"./layout_attributes\\\":878,\\\"./layout_defaults\\\":879,\\\"./plot\\\":880,\\\"./select\\\":881,\\\"./style\\\":883}],878:[function(t,e,n){\\\"use strict\\\";e.exports={barmode:{valType:\\\"enumerated\\\",values:[\\\"stack\\\",\\\"group\\\",\\\"overlay\\\",\\\"relative\\\"],dflt:\\\"group\\\",editType:\\\"calc\\\"},barnorm:{valType:\\\"enumerated\\\",values:[\\\"\\\",\\\"fraction\\\",\\\"percent\\\"],dflt:\\\"\\\",editType:\\\"calc\\\"},bargap:{valType:\\\"number\\\",min:0,max:1,editType:\\\"calc\\\"},bargroupgap:{valType:\\\"number\\\",min:0,max:1,dflt:0,editType:\\\"calc\\\"}}},{}],879:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"./layout_attributes\\\");e.exports=function(t,e,n){function s(n,r){return o.coerce(t,e,a,n,r)}for(var l=!1,u=!1,c=!1,h={},p=s(\\\"barmode\\\"),f=0;f<n.length;f++){var d=n[f];if(r.traceIs(d,\\\"bar\\\")&&d.visible){if(l=!0,\\\"group\\\"===p){var m=d.xaxis+d.yaxis;h[m]&&(c=!0),h[m]=!0}d.visible&&\\\"histogram\\\"===d.type&&\\\"category\\\"!==i.getFromId({_fullLayout:e},d[\\\"v\\\"===d.orientation?\\\"xaxis\\\":\\\"yaxis\\\"]).type&&(u=!0)}}l?(\\\"overlay\\\"!==p&&s(\\\"barnorm\\\"),s(\\\"bargap\\\",u&&!c?0:.2),s(\\\"bargroupgap\\\")):delete e.barmode}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"./layout_attributes\\\":878}],880:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../lib/svg_text_utils\\\"),s=t(\\\"../../components/color\\\"),l=t(\\\"../../components/drawing\\\"),u=t(\\\"../../registry\\\"),c=t(\\\"../../plots/cartesian/axes\\\").tickText,h=t(\\\"./uniform_text\\\"),p=h.recordMinTextSize,f=h.clearMinTextSize,d=t(\\\"./style\\\"),m=t(\\\"./helpers\\\"),v=t(\\\"./constants\\\"),g=t(\\\"./attributes\\\"),y=g.text,_=g.textposition,b=t(\\\"../../components/fx/helpers\\\").appendArrayPointValue,x=v.TEXTPAD;function w(t){return t.id}function A(t){if(t.ids)return w}function C(t,e){return t<e?1:-1}function M(t,e,n,r){var i;return!e.uniformtext.mode&&E(n)?(r&&(i=r()),t.transition().duration(n.duration).ease(n.easing).each(\\\"end\\\",(function(){i&&i()})).each(\\\"interrupt\\\",(function(){i&&i()}))):t}function E(t){return t&&t.duration>0}function T(t){return\\\"auto\\\"===t?0:t}function S(t,e){var n=Math.PI/180*e,r=Math.abs(Math.sin(n)),i=Math.abs(Math.cos(n));return{x:t.width*i+t.height*r,y:t.width*r+t.height*i}}function k(t,e,n,r,i,o){var a=!!o.isHorizontal,s=!!o.constrained,l=o.angle||0,u=o.anchor||\\\"end\\\",c=\\\"end\\\"===u,h=\\\"start\\\"===u,p=((o.leftToRight||0)+1)/2,f=1-p,d=i.width,m=i.height,v=Math.abs(e-t),g=Math.abs(r-n),y=v>2*x&&g>2*x?x:0;v-=2*y,g-=2*y;var _=T(l);\\\"auto\\\"!==l||d<=v&&m<=g||!(d>v||m>g)||(d>g||m>v)&&d<m==v<g||(_+=90);var b=S(i,_),w=1;s&&(w=Math.min(1,v/b.x,g/b.y));var A=i.left*f+i.right*p,M=(i.top+i.bottom)/2,E=(t+x)*f+(e-x)*p,k=(n+r)/2,O=0,I=0;if(h||c){var L=(a?b.x:b.y)/2,P=a?C(t,e):C(n,r);a?h?(E=t+P*y,O=-P*L):(E=e-P*y,O=P*L):h?(k=n+P*y,I=-P*L):(k=r-P*y,I=P*L)}return{textX:A,textY:M,targetX:E,targetY:k,anchorX:O,anchorY:I,scale:w,rotate:_}}e.exports={plot:function(t,e,n,h,v,g){var w=e.xaxis,O=e.yaxis,I=t._fullLayout;v||(v={mode:I.barmode,norm:I.barmode,gap:I.bargap,groupgap:I.bargroupgap},f(\\\"bar\\\",I));var L=o.makeTraceGroups(h,n,\\\"trace bars\\\").each((function(n){var u=r.select(this),h=n[0].trace,f=\\\"waterfall\\\"===h.type,L=\\\"funnel\\\"===h.type,P=\\\"bar\\\"===h.type||L,z=0;f&&h.connector.visible&&\\\"between\\\"===h.connector.mode&&(z=h.connector.line.width/2);var R=\\\"h\\\"===h.orientation,D=E(v),$=o.ensureSingle(u,\\\"g\\\",\\\"points\\\"),B=A(h),N=$.selectAll(\\\"g.point\\\").data(o.identity,B);N.enter().append(\\\"g\\\").classed(\\\"point\\\",!0),N.exit().remove(),N.each((function(u,f){var A,E,L=r.select(this),$=function(t,e,n,r){var i=[],o=[],a=r?e:n,s=r?n:e;return i[0]=a.c2p(t.s0,!0),o[0]=s.c2p(t.p0,!0),i[1]=a.c2p(t.s1,!0),o[1]=s.c2p(t.p1,!0),r?[i,o]:[o,i]}(u,w,O,R),B=$[0][0],N=$[0][1],F=$[1][0],j=$[1][1],U=0==(R?N-B:j-F);if(U&&P&&m.getLineWidth(h,u)&&(U=!1),U||(U=!(i(B)&&i(N)&&i(F)&&i(j))),u.isBlank=U,U&&(R?N=B:j=F),z&&!U&&(R?(B-=C(B,N)*z,N+=C(B,N)*z):(F-=C(F,j)*z,j+=C(F,j)*z)),\\\"waterfall\\\"===h.type){if(!U){var q=h[u.dir].marker;A=q.line.width,E=q.color}}else A=m.getLineWidth(h,u),E=u.mc||h.marker.color;function V(t){var e=r.round(A/2%1,2);return 0===v.gap&&0===v.groupgap?r.round(Math.round(t)-e,2):t}if(!t._context.staticPlot){var H=s.opacity(E)<1||A>.01?V:function(t,e,n){return n&&t===e?t:Math.abs(t-e)>=2?V(t):t>e?Math.ceil(t):Math.floor(t)};B=H(B,N,R),N=H(N,B,R),F=H(F,j,!R),j=H(j,F,!R)}var G=M(o.ensureSingle(L,\\\"path\\\"),I,v,g);if(G.style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\").attr(\\\"d\\\",isNaN((N-B)*(j-F))?\\\"M0,0Z\\\":\\\"M\\\"+B+\\\",\\\"+F+\\\"V\\\"+j+\\\"H\\\"+N+\\\"V\\\"+F+\\\"Z\\\").call(l.setClipUrl,e.layerClipId,t),!I.uniformtext.mode&&D){var W=l.makePointStyleFns(h);l.singlePointStyle(u,G,h,W,t)}(function(t,e,n,r,i,s,u,h,f,v,g){var w,A=e.xaxis,E=e.yaxis,O=t._fullLayout;function I(e,n,r){return o.ensureSingle(e,\\\"text\\\").text(n).attr({class:\\\"bartext bartext-\\\"+w,\\\"text-anchor\\\":\\\"middle\\\",\\\"data-notex\\\":1}).call(l.font,r).call(a.convertToTspans,t)}var L=r[0].trace,P=\\\"h\\\"===L.orientation,z=function(t,e,n,r,i){var a,s=e[0].trace;return a=s.texttemplate?function(t,e,n,r,i){var a=e[0].trace,s=o.castOption(a,n,\\\"texttemplate\\\");if(!s)return\\\"\\\";var l,u,h,p,f=\\\"waterfall\\\"===a.type,d=\\\"funnel\\\"===a.type;function m(t){return c(u,t,!0).text}function v(t){return c(p,+t,!0).text}\\\"h\\\"===a.orientation?(l=\\\"y\\\",u=i,h=\\\"x\\\",p=r):(l=\\\"x\\\",u=r,h=\\\"y\\\",p=i);var g=e[n],y={};y.label=g.p,y.labelLabel=y[l+\\\"Label\\\"]=m(g.p);var _=o.castOption(a,g.i,\\\"text\\\");(0===_||_)&&(y.text=_),y.value=g.s,y.valueLabel=y[h+\\\"Label\\\"]=v(g.s);var x={};b(x,a,g.i),f&&(y.delta=+g.rawS||g.s,y.deltaLabel=v(y.delta),y.final=g.v,y.finalLabel=v(y.final),y.initial=y.final-y.delta,y.initialLabel=v(y.initial)),d&&(y.value=g.s,y.valueLabel=v(y.value),y.percentInitial=g.begR,y.percentInitialLabel=o.formatPercent(g.begR),y.percentPrevious=g.difR,y.percentPreviousLabel=o.formatPercent(g.difR),y.percentTotal=g.sumR,y.percenTotalLabel=o.formatPercent(g.sumR));var w=o.castOption(a,g.i,\\\"customdata\\\");return w&&(y.customdata=w),o.texttemplateString(s,y,t._d3locale,x,y,a._meta||{})}(t,e,n,r,i):s.textinfo?function(t,e,n,r){var i=t[0].trace,a=\\\"h\\\"===i.orientation,s=\\\"waterfall\\\"===i.type,l=\\\"funnel\\\"===i.type;function u(t){return c(a?r:n,t,!0).text}function h(t){return c(a?n:r,+t,!0).text}var p,f=i.textinfo,d=t[e],m=f.split(\\\"+\\\"),v=[],g=function(t){return-1!==m.indexOf(t)};if(g(\\\"label\\\")&&v.push(u(t[e].p)),g(\\\"text\\\")&&(0===(p=o.castOption(i,d.i,\\\"text\\\"))||p)&&v.push(p),s){var y=+d.rawS||d.s,_=d.v,b=_-y;g(\\\"initial\\\")&&v.push(h(b)),g(\\\"delta\\\")&&v.push(h(y)),g(\\\"final\\\")&&v.push(h(_))}if(l){g(\\\"value\\\")&&v.push(h(d.s));var x=0;g(\\\"percent initial\\\")&&x++,g(\\\"percent previous\\\")&&x++,g(\\\"percent total\\\")&&x++;var w=x>1;g(\\\"percent initial\\\")&&(p=o.formatPercent(d.begR),w&&(p+=\\\" of initial\\\"),v.push(p)),g(\\\"percent previous\\\")&&(p=o.formatPercent(d.difR),w&&(p+=\\\" of previous\\\"),v.push(p)),g(\\\"percent total\\\")&&(p=o.formatPercent(d.sumR),w&&(p+=\\\" of total\\\"),v.push(p))}return v.join(\\\"<br>\\\")}(e,n,r,i):m.getValue(s.text,n),m.coerceString(y,a)}(O,r,i,A,E);w=function(t,e){var n=m.getValue(t.textposition,e);return m.coerceEnumerated(_,n)}(L,i);var R=\\\"stack\\\"===v.mode||\\\"relative\\\"===v.mode,D=r[i],$=!R||D._outmost;if(z&&\\\"none\\\"!==w&&(!D.isBlank&&s!==u&&h!==f||\\\"auto\\\"!==w&&\\\"inside\\\"!==w)){var B=O.font,N=d.getBarColor(r[i],L),F=d.getInsideTextFont(L,i,B,N),j=d.getOutsideTextFont(L,i,B),U=n.datum();P?\\\"log\\\"===A.type&&U.s0<=0&&(s=A.range[0]<A.range[1]?0:A._length):\\\"log\\\"===E.type&&U.s0<=0&&(h=E.range[0]<E.range[1]?E._length:0);var q,V,H,G,W,X=Math.abs(u-s)-2*x,Y=Math.abs(f-h)-2*x;if(\\\"outside\\\"===w&&($||D.hasB||(w=\\\"inside\\\")),\\\"auto\\\"===w&&($?(w=\\\"inside\\\",q=I(n,z,W=o.ensureUniformFontSize(t,F)),H=(V=l.bBox(q.node())).width,G=V.height,H>0&&G>0&&(H<=X&&G<=Y||H<=Y&&G<=X||(P?X>=H*(Y/G):Y>=G*(X/H)))?w=\\\"inside\\\":(w=\\\"outside\\\",q.remove(),q=null)):w=\\\"inside\\\"),!q){var Z=(q=I(n,z,W=o.ensureUniformFontSize(t,\\\"outside\\\"===w?j:F))).attr(\\\"transform\\\");if(q.attr(\\\"transform\\\",\\\"\\\"),H=(V=l.bBox(q.node())).width,G=V.height,q.attr(\\\"transform\\\",Z),H<=0||G<=0)return void q.remove()}var K,J=L.textangle;(K=\\\"outside\\\"===w?function(t,e,n,r,i,o){var a,s=!!o.isHorizontal,l=!!o.constrained,u=o.angle||0,c=i.width,h=i.height,p=Math.abs(e-t),f=Math.abs(r-n);a=s?f>2*x?x:0:p>2*x?x:0;var d=1;l&&(d=s?Math.min(1,f/h):Math.min(1,p/c));var m=T(u),v=S(i,m),g=(s?v.x:v.y)/2,y=(i.left+i.right)/2,_=(i.top+i.bottom)/2,b=(t+e)/2,w=(n+r)/2,A=0,M=0,E=s?C(e,t):C(n,r);return s?(b=e-E*a,A=E*g):(w=r+E*a,M=-E*g),{textX:y,textY:_,targetX:b,targetY:w,anchorX:A,anchorY:M,scale:d,rotate:m}}(s,u,h,f,V,{isHorizontal:P,constrained:\\\"both\\\"===L.constraintext||\\\"outside\\\"===L.constraintext,angle:J}):k(s,u,h,f,V,{isHorizontal:P,constrained:\\\"both\\\"===L.constraintext||\\\"inside\\\"===L.constraintext,angle:J,anchor:L.insidetextanchor})).fontSize=W.size,p(L.type,K,O),D.transform=K,M(q,O,v,g).attr(\\\"transform\\\",o.getTextTransform(K))}else n.select(\\\"text\\\").remove()})(t,e,L,n,f,B,N,F,j,v,g),e.layerClipId&&l.hideOutsideRangePoint(u,L.select(\\\"text\\\"),w,O,h.xcalendar,h.ycalendar)}));var F=!1===h.cliponaxis;l.setClipUrl(u,F?null:e.layerClipId,t)}));u.getComponentMethod(\\\"errorbars\\\",\\\"plot\\\")(t,L,e,v)},toMoveInsideBar:k}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../components/fx/helpers\\\":631,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"./attributes\\\":869,\\\"./constants\\\":871,\\\"./helpers\\\":875,\\\"./style\\\":883,\\\"./uniform_text\\\":885,d3:164,\\\"fast-isnumeric\\\":236}],881:[function(t,e,n){\\\"use strict\\\";function r(t,e,n,r,i){var o=e.c2p(r?t.s0:t.p0,!0),a=e.c2p(r?t.s1:t.p1,!0),s=n.c2p(r?t.p0:t.s0,!0),l=n.c2p(r?t.p1:t.s1,!0);return i?[(o+a)/2,(s+l)/2]:r?[a,(s+l)/2]:[(o+a)/2,l]}e.exports=function(t,e){var n,i=t.cd,o=t.xaxis,a=t.yaxis,s=i[0].trace,l=\\\"funnel\\\"===s.type,u=\\\"h\\\"===s.orientation,c=[];if(!1===e)for(n=0;n<i.length;n++)i[n].selected=0;else for(n=0;n<i.length;n++){var h=i[n],p=\\\"ct\\\"in h?h.ct:r(h,o,a,u,l);e.contains(p,!1,n,t)?(c.push({pointNumber:n,x:o.c2d(h.x),y:a.c2d(h.y)}),h.selected=1):h.selected=0}return c}},{}],882:[function(t,e,n){\\\"use strict\\\";e.exports=o;var r=t(\\\"../../lib\\\").distinctVals,i=t(\\\"../../constants/numerical\\\").BADNUM;function o(t,e){this.traces=t,this.sepNegVal=e.sepNegVal,this.overlapNoMerge=e.overlapNoMerge;for(var n=1/0,o=[],a=0;a<t.length;a++){for(var s=t[a],l=0;l<s.length;l++){var u=s[l];u.p!==i&&o.push(u.p)}s[0]&&s[0].width1&&(n=Math.min(s[0].width1,n))}this.positions=o;var c=r(o);this.distinctPositions=c.vals,1===c.vals.length&&n!==1/0?this.minDiff=n:this.minDiff=Math.min(c.minDiff,n),this.binWidth=this.minDiff,this.bins={}}o.prototype.put=function(t,e){var n=this.getLabel(t,e),r=this.bins[n]||0;return this.bins[n]=r+e,r},o.prototype.get=function(t,e){var n=this.getLabel(t,e);return this.bins[n]||0},o.prototype.getLabel=function(t,e){return(e<0&&this.sepNegVal?\\\"v\\\":\\\"^\\\")+(this.overlapNoMerge?t:Math.round(t/this.binWidth))}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728}],883:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../registry\\\"),l=t(\\\"./uniform_text\\\").resizeText,u=t(\\\"./attributes\\\"),c=u.textfont,h=u.insidetextfont,p=u.outsidetextfont,f=t(\\\"./helpers\\\");function d(t,e,n){o.pointStyle(t.selectAll(\\\"path\\\"),e,n),m(t,e,n)}function m(t,e,n){t.selectAll(\\\"text\\\").each((function(t){var i=r.select(this),s=a.ensureUniformFontSize(n,v(i,t,e,n));o.font(i,s)}))}function v(t,e,n,r){var i=r._fullLayout.font,o=n.textfont;if(t.classed(\\\"bartext-inside\\\")){var a=x(e,n);o=y(n,e.i,i,a)}else t.classed(\\\"bartext-outside\\\")&&(o=_(n,e.i,i));return o}function g(t,e,n){return b(c,t.textfont,e,n)}function y(t,e,n,r){var o=g(t,e,n);return(void 0===t._input.textfont||void 0===t._input.textfont.color||Array.isArray(t.textfont.color)&&void 0===t.textfont.color[e])&&(o={color:i.contrast(r),family:o.family,size:o.size}),b(h,t.insidetextfont,e,o)}function _(t,e,n){var r=g(t,e,n);return b(p,t.outsidetextfont,e,r)}function b(t,e,n,r){e=e||{};var i=f.getValue(e.family,n),o=f.getValue(e.size,n),a=f.getValue(e.color,n);return{family:f.coerceString(t.family,i,r.family),size:f.coerceNumber(t.size,o,r.size),color:f.coerceColor(t.color,a,r.color)}}function x(t,e){return\\\"waterfall\\\"===e.type?e[t.dir].marker.color:t.mc||e.marker.color}e.exports={style:function(t){var e=r.select(t).selectAll(\\\"g.barlayer\\\").selectAll(\\\"g.trace\\\");l(t,e,\\\"bar\\\");var n=e.size(),i=t._fullLayout;e.style(\\\"opacity\\\",(function(t){return t[0].trace.opacity})).each((function(t){(\\\"stack\\\"===i.barmode&&n>1||0===i.bargap&&0===i.bargroupgap&&!t[0].trace.marker.line.width)&&r.select(this).attr(\\\"shape-rendering\\\",\\\"crispEdges\\\")})),e.selectAll(\\\"g.points\\\").each((function(e){d(r.select(this),e[0].trace,t)})),s.getComponentMethod(\\\"errorbars\\\",\\\"style\\\")(e)},styleTextPoints:m,styleOnSelect:function(t,e,n){var i=e[0].trace;i.selectedpoints?function(t,e,n){o.selectedPointStyle(t.selectAll(\\\"path\\\"),e),function(t,e,n){t.each((function(t){var i,s=r.select(this);if(t.selected){i=a.ensureUniformFontSize(n,v(s,t,e,n));var l=e.selected.textfont&&e.selected.textfont.color;l&&(i.color=l),o.font(s,i)}else o.selectedTextStyle(s,e)}))}(t.selectAll(\\\"text\\\"),e,n)}(n,i,t):(d(n,i,t),s.getComponentMethod(\\\"errorbars\\\",\\\"style\\\")(n))},getInsideTextFont:y,getOutsideTextFont:_,getBarColor:x,resizeText:l}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./attributes\\\":869,\\\"./helpers\\\":875,\\\"./uniform_text\\\":885,d3:164}],884:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\"),i=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,o=t(\\\"../../components/colorscale/defaults\\\");e.exports=function(t,e,n,a,s){n(\\\"marker.color\\\",a),i(t,\\\"marker\\\")&&o(t,e,s,n,{prefix:\\\"marker.\\\",cLetter:\\\"c\\\"}),n(\\\"marker.line.color\\\",r.defaultLine),i(t,\\\"marker.line\\\")&&o(t,e,s,n,{prefix:\\\"marker.line.\\\",cLetter:\\\"c\\\"}),n(\\\"marker.line.width\\\"),n(\\\"marker.opacity\\\"),n(\\\"selected.marker.color\\\"),n(\\\"unselected.marker.color\\\")}},{\\\"../../components/color\\\":595,\\\"../../components/colorscale/defaults\\\":605,\\\"../../components/colorscale/helpers\\\":606}],885:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\");function o(t){return\\\"_\\\"+t+\\\"Text_minsize\\\"}e.exports={recordMinTextSize:function(t,e,n){if(n.uniformtext.mode){var r=o(t),i=n.uniformtext.minsize,a=e.scale*e.fontSize;e.hide=a<i,n[r]=n[r]||1/0,e.hide||(n[r]=Math.min(n[r],Math.max(a,i)))}},clearMinTextSize:function(t,e){e[o(t)]=void 0},resizeText:function(t,e,n){var o=t._fullLayout,a=o[\\\"_\\\"+n+\\\"Text_minsize\\\"];if(a){var s,l=\\\"hide\\\"===o.uniformtext.mode;switch(n){case\\\"funnelarea\\\":case\\\"pie\\\":case\\\"sunburst\\\":s=\\\"g.slice\\\";break;case\\\"treemap\\\":s=\\\"g.slice, g.pathbar\\\";break;default:s=\\\"g.points > g.point\\\"}e.selectAll(s).each((function(t){var e=t.transform;e&&(e.scale=l&&e.hide?0:a/e.fontSize,r.select(this).select(\\\"text\\\").attr(\\\"transform\\\",i.getTextTransform(e)))}))}}}},{\\\"../../lib\\\":728,d3:164}],886:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,i=t(\\\"../../lib/extend\\\").extendFlat,o=t(\\\"../scatterpolar/attributes\\\"),a=t(\\\"../bar/attributes\\\");e.exports={r:o.r,theta:o.theta,r0:o.r0,dr:o.dr,theta0:o.theta0,dtheta:o.dtheta,thetaunit:o.thetaunit,base:i({},a.base,{}),offset:i({},a.offset,{}),width:i({},a.width,{}),text:i({},a.text,{}),hovertext:i({},a.hovertext,{}),marker:a.marker,hoverinfo:o.hoverinfo,hovertemplate:r(),selected:a.selected,unselected:a.unselected}},{\\\"../../lib/extend\\\":719,\\\"../../plots/template_attributes\\\":854,\\\"../bar/attributes\\\":869,\\\"../scatterpolar/attributes\\\":1207}],887:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,i=t(\\\"../../components/colorscale/calc\\\"),o=t(\\\"../bar/arrays_to_calcdata\\\"),a=t(\\\"../bar/cross_trace_calc\\\").setGroupPositions,s=t(\\\"../scatter/calc_selection\\\"),l=t(\\\"../../registry\\\").traceIs,u=t(\\\"../../lib\\\").extendFlat;e.exports={calc:function(t,e){for(var n=t._fullLayout,a=e.subplot,l=n[a].radialaxis,u=n[a].angularaxis,c=l.makeCalcdata(e,\\\"r\\\"),h=u.makeCalcdata(e,\\\"theta\\\"),p=e._length,f=new Array(p),d=c,m=h,v=0;v<p;v++)f[v]={p:m[v],s:d[v]};function g(t){var n=e[t];void 0!==n&&(e[\\\"_\\\"+t]=Array.isArray(n)?u.makeCalcdata(e,t):u.d2c(n,e.thetaunit))}return\\\"linear\\\"===u.type&&(g(\\\"width\\\"),g(\\\"offset\\\")),r(e,\\\"marker\\\")&&i(t,e,{vals:e.marker.color,containerStr:\\\"marker\\\",cLetter:\\\"c\\\"}),r(e,\\\"marker.line\\\")&&i(t,e,{vals:e.marker.line.color,containerStr:\\\"marker.line\\\",cLetter:\\\"c\\\"}),o(f,e),s(f,e),f},crossTraceCalc:function(t,e,n){for(var r=t.calcdata,i=[],o=0;o<r.length;o++){var s=r[o],c=s[0].trace;!0===c.visible&&l(c,\\\"bar\\\")&&c.subplot===n&&i.push(s)}var h=u({},e.radialaxis,{_id:\\\"x\\\"}),p=e.angularaxis;a(t,p,h,i,{mode:e.barmode,norm:e.barnorm,gap:e.bargap,groupgap:e.bargroupgap})}}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../components/colorscale/helpers\\\":606,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../bar/arrays_to_calcdata\\\":868,\\\"../bar/cross_trace_calc\\\":872,\\\"../scatter/calc_selection\\\":1136}],888:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatterpolar/defaults\\\").handleRThetaDefaults,o=t(\\\"../bar/style_defaults\\\"),a=t(\\\"./attributes\\\");e.exports=function(t,e,n,s){function l(n,i){return r.coerce(t,e,a,n,i)}i(t,e,s,l)?(l(\\\"thetaunit\\\"),l(\\\"base\\\"),l(\\\"offset\\\"),l(\\\"width\\\"),l(\\\"text\\\"),l(\\\"hovertext\\\"),l(\\\"hovertemplate\\\"),o(t,e,l,n,s),r.coerceSelectionMarkerOpacity(e,l)):e.visible=!1}},{\\\"../../lib\\\":728,\\\"../bar/style_defaults\\\":884,\\\"../scatterpolar/defaults\\\":1209,\\\"./attributes\\\":886}],889:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/fx\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../bar/hover\\\").getTraceColor,a=i.fillText,s=t(\\\"../scatterpolar/hover\\\").makeHoverPointText,l=t(\\\"../../plots/polar/helpers\\\").isPtInsidePolygon;e.exports=function(t,e,n){var u=t.cd,c=u[0].trace,h=t.subplot,p=h.radialAxis,f=h.angularAxis,d=h.vangles,m=d?l:i.isPtInsideSector,v=t.maxHoverDistance,g=f._period||2*Math.PI,y=Math.abs(p.g2p(Math.sqrt(e*e+n*n))),_=Math.atan2(n,e);if(p.range[0]>p.range[1]&&(_+=Math.PI),r.getClosest(u,(function(t){return m(y,_,[t.rp0,t.rp1],[t.thetag0,t.thetag1],d)?v+Math.min(1,Math.abs(t.thetag1-t.thetag0)/g)-1+(t.rp1-y)/(t.rp1-t.rp0)-1:1/0}),t),!1!==t.index){var b=u[t.index];t.x0=t.x1=b.ct[0],t.y0=t.y1=b.ct[1];var x=i.extendFlat({},b,{r:b.s,theta:b.p});return a(b,c,t),s(x,c,h,t),t.hovertemplate=c.hovertemplate,t.color=o(c,b),t.xLabelVal=t.yLabelVal=void 0,b.s<0&&(t.idealAlign=\\\"left\\\"),[t]}}},{\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../plots/polar/helpers\\\":841,\\\"../bar/hover\\\":876,\\\"../scatterpolar/hover\\\":1211}],890:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"barpolar\\\",basePlotModule:t(\\\"../../plots/polar\\\"),categories:[\\\"polar\\\",\\\"bar\\\",\\\"showLegend\\\"],attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\").calc,crossTraceCalc:t(\\\"./calc\\\").crossTraceCalc,plot:t(\\\"./plot\\\"),colorbar:t(\\\"../scatter/marker_colorbar\\\"),formatLabels:t(\\\"../scatterpolar/format_labels\\\"),style:t(\\\"../bar/style\\\").style,styleOnSelect:t(\\\"../bar/style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\"),selectPoints:t(\\\"../bar/select\\\"),meta:{}}},{\\\"../../plots/polar\\\":842,\\\"../bar/select\\\":881,\\\"../bar/style\\\":883,\\\"../scatter/marker_colorbar\\\":1152,\\\"../scatterpolar/format_labels\\\":1210,\\\"./attributes\\\":886,\\\"./calc\\\":887,\\\"./defaults\\\":888,\\\"./hover\\\":889,\\\"./layout_attributes\\\":891,\\\"./layout_defaults\\\":892,\\\"./plot\\\":893}],891:[function(t,e,n){\\\"use strict\\\";e.exports={barmode:{valType:\\\"enumerated\\\",values:[\\\"stack\\\",\\\"overlay\\\"],dflt:\\\"stack\\\",editType:\\\"calc\\\"},bargap:{valType:\\\"number\\\",dflt:.1,min:0,max:1,editType:\\\"calc\\\"}}},{}],892:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e,n){var o,a={};function s(n,a){return r.coerce(t[o]||{},e[o],i,n,a)}for(var l=0;l<n.length;l++){var u=n[l];\\\"barpolar\\\"===u.type&&!0===u.visible&&(a[o=u.subplot]||(s(\\\"barmode\\\"),s(\\\"bargap\\\"),a[o]=1))}}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":891}],893:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../components/drawing\\\"),s=t(\\\"../../plots/polar/helpers\\\");e.exports=function(t,e,n){var l=e.xaxis,u=e.yaxis,c=e.radialAxis,h=e.angularAxis,p=function(t){var e=t.cxx,n=t.cyy;return t.vangles?function(r,i,a,l){var u,c;o.angleDelta(a,l)>0?(u=a,c=l):(u=l,c=a);var h=[s.findEnclosingVertexAngles(u,t.vangles)[0],(u+c)/2,s.findEnclosingVertexAngles(c,t.vangles)[1]];return s.pathPolygonAnnulus(r,i,u,c,h,e,n)}:function(t,r,i,a){return o.pathAnnulus(t,r,i,a,e,n)}}(e),f=e.layers.frontplot.select(\\\"g.barlayer\\\");o.makeTraceGroups(f,n,\\\"trace bars\\\").each((function(){var n=r.select(this),s=o.ensureSingle(n,\\\"g\\\",\\\"points\\\").selectAll(\\\"g.point\\\").data(o.identity);s.enter().append(\\\"g\\\").style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\").style(\\\"stroke-miterlimit\\\",2).classed(\\\"point\\\",!0),s.exit().remove(),s.each((function(t){var e,n=r.select(this),a=t.rp0=c.c2p(t.s0),s=t.rp1=c.c2p(t.s1),f=t.thetag0=h.c2g(t.p0),d=t.thetag1=h.c2g(t.p1);if(i(a)&&i(s)&&i(f)&&i(d)&&a!==s&&f!==d){var m=c.c2g(t.s1),v=(f+d)/2;t.ct=[l.c2p(m*Math.cos(v)),u.c2p(m*Math.sin(v))],e=p(a,s,f,d)}else e=\\\"M0,0Z\\\";o.ensureSingle(n,\\\"path\\\").attr(\\\"d\\\",e)})),a.setClipUrl(n,e._hasClipOnAxisFalse?e.clipIds.forTraces:null,t)}))}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../plots/polar/helpers\\\":841,d3:164,\\\"fast-isnumeric\\\":236}],894:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/attributes\\\"),i=t(\\\"../bar/attributes\\\"),o=t(\\\"../../components/color/attributes\\\"),a=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,s=t(\\\"../../lib/extend\\\").extendFlat,l=r.marker,u=l.line;e.exports={y:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},x:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},x0:{valType:\\\"any\\\",editType:\\\"calc+clearAxisTypes\\\"},y0:{valType:\\\"any\\\",editType:\\\"calc+clearAxisTypes\\\"},dx:{valType:\\\"number\\\",editType:\\\"calc\\\"},dy:{valType:\\\"number\\\",editType:\\\"calc\\\"},name:{valType:\\\"string\\\",editType:\\\"calc+clearAxisTypes\\\"},q1:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},median:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},q3:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},lowerfence:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},upperfence:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},notched:{valType:\\\"boolean\\\",editType:\\\"calc\\\"},notchwidth:{valType:\\\"number\\\",min:0,max:.5,dflt:.25,editType:\\\"calc\\\"},notchspan:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},boxpoints:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"outliers\\\",\\\"suspectedoutliers\\\",!1],editType:\\\"calc\\\"},jitter:{valType:\\\"number\\\",min:0,max:1,editType:\\\"calc\\\"},pointpos:{valType:\\\"number\\\",min:-2,max:2,editType:\\\"calc\\\"},boxmean:{valType:\\\"enumerated\\\",values:[!0,\\\"sd\\\",!1],editType:\\\"calc\\\"},mean:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},sd:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},orientation:{valType:\\\"enumerated\\\",values:[\\\"v\\\",\\\"h\\\"],editType:\\\"calc+clearAxisTypes\\\"},quartilemethod:{valType:\\\"enumerated\\\",values:[\\\"linear\\\",\\\"exclusive\\\",\\\"inclusive\\\"],dflt:\\\"linear\\\",editType:\\\"calc\\\"},width:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"calc\\\"},marker:{outliercolor:{valType:\\\"color\\\",dflt:\\\"rgba(0, 0, 0, 0)\\\",editType:\\\"style\\\"},symbol:s({},l.symbol,{arrayOk:!1,editType:\\\"plot\\\"}),opacity:s({},l.opacity,{arrayOk:!1,dflt:1,editType:\\\"style\\\"}),size:s({},l.size,{arrayOk:!1,editType:\\\"calc\\\"}),color:s({},l.color,{arrayOk:!1,editType:\\\"style\\\"}),line:{color:s({},u.color,{arrayOk:!1,dflt:o.defaultLine,editType:\\\"style\\\"}),width:s({},u.width,{arrayOk:!1,dflt:0,editType:\\\"style\\\"}),outliercolor:{valType:\\\"color\\\",editType:\\\"style\\\"},outlierwidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"style\\\"},editType:\\\"style\\\"},editType:\\\"plot\\\"},line:{color:{valType:\\\"color\\\",editType:\\\"style\\\"},width:{valType:\\\"number\\\",min:0,dflt:2,editType:\\\"style\\\"},editType:\\\"plot\\\"},fillcolor:r.fillcolor,whiskerwidth:{valType:\\\"number\\\",min:0,max:1,dflt:.5,editType:\\\"calc\\\"},offsetgroup:i.offsetgroup,alignmentgroup:i.alignmentgroup,selected:{marker:r.selected.marker,editType:\\\"style\\\"},unselected:{marker:r.unselected.marker,editType:\\\"style\\\"},text:s({},r.text,{}),hovertext:s({},r.hovertext,{}),hovertemplate:a({}),hoveron:{valType:\\\"flaglist\\\",flags:[\\\"boxes\\\",\\\"points\\\"],dflt:\\\"boxes+points\\\",editType:\\\"style\\\"}}},{\\\"../../components/color/attributes\\\":594,\\\"../../lib/extend\\\":719,\\\"../../plots/template_attributes\\\":854,\\\"../bar/attributes\\\":869,\\\"../scatter/attributes\\\":1134}],895:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../constants/numerical\\\").BADNUM,s=o._;e.exports=function(t,e){var n,l,g,y,_,b,x=t._fullLayout,w=i.getFromId(t,e.xaxis||\\\"x\\\"),A=i.getFromId(t,e.yaxis||\\\"y\\\"),C=[],M=\\\"violin\\\"===e.type?\\\"_numViolins\\\":\\\"_numBoxes\\\";\\\"h\\\"===e.orientation?(g=w,y=\\\"x\\\",_=A,b=\\\"y\\\"):(g=A,y=\\\"y\\\",_=w,b=\\\"x\\\");var E,T,S,k,O,I,L=function(t,e,n,i){var a,s=e+\\\"0\\\"in t;if(e in t||s&&\\\"d\\\"+e in t)return n.makeCalcdata(t,e);a=s?t[e+\\\"0\\\"]:\\\"name\\\"in t&&(\\\"category\\\"===n.type||r(t.name)&&-1!==[\\\"linear\\\",\\\"log\\\"].indexOf(n.type)||o.isDateTime(t.name)&&\\\"date\\\"===n.type)?t.name:i;for(var l=\\\"multicategory\\\"===n.type?n.r2c_just_indices(a):n.d2c(a,0,t[e+\\\"calendar\\\"]),u=t._length,c=new Array(u),h=0;h<u;h++)c[h]=l;return c}(e,b,_,x[M]),P=o.distinctVals(L),z=P.vals,R=P.minDiff/2,D=\\\"all\\\"===(e.boxpoints||e.points)?o.identity:function(t){return t.v<E.lf||t.v>E.uf};if(e._hasPreCompStats){var $=e[y],B=function(t){return g.d2c((e[t]||[])[n])},N=1/0,F=-1/0;for(n=0;n<e._length;n++){var j=L[n];if(r(j)){if((E={}).pos=E[b]=j,E.q1=B(\\\"q1\\\"),E.med=B(\\\"median\\\"),E.q3=B(\\\"q3\\\"),T=[],$&&o.isArrayOrTypedArray($[n]))for(l=0;l<$[n].length;l++)(I=g.d2c($[n][l]))!==a&&(u(O={v:I,i:[n,l]},e,[n,l]),T.push(O));if(E.pts=T.sort(c),k=(S=E[y]=T.map(h)).length,E.med!==a&&E.q1!==a&&E.q3!==a&&E.med>=E.q1&&E.q3>=E.med){var U=B(\\\"lowerfence\\\");E.lf=U!==a&&U<=E.q1?U:p(E,S,k);var q=B(\\\"upperfence\\\");E.uf=q!==a&&q>=E.q3?q:f(E,S,k);var V=B(\\\"mean\\\");E.mean=V!==a?V:k?o.mean(S,k):(E.q1+E.q3)/2;var H=B(\\\"sd\\\");E.sd=V!==a&&H>=0?H:k?o.stdev(S,k,E.mean):E.q3-E.q1,E.lo=d(E),E.uo=m(E);var G=B(\\\"notchspan\\\");G=G!==a&&G>0?G:v(E,k),E.ln=E.med-G,E.un=E.med+G;var W=E.lf,X=E.uf;e.boxpoints&&S.length&&(W=Math.min(W,S[0]),X=Math.max(X,S[k-1])),e.notched&&(W=Math.min(W,E.ln),X=Math.max(X,E.un)),E.min=W,E.max=X}else{var Y;o.warn([\\\"Invalid input - make sure that q1 <= median <= q3\\\",\\\"q1 = \\\"+E.q1,\\\"median = \\\"+E.med,\\\"q3 = \\\"+E.q3].join(\\\"\\\\n\\\")),Y=E.med!==a?E.med:E.q1!==a?E.q3!==a?(E.q1+E.q3)/2:E.q1:E.q3!==a?E.q3:0,E.med=Y,E.q1=E.q3=Y,E.lf=E.uf=Y,E.mean=E.sd=Y,E.ln=E.un=Y,E.min=E.max=Y}N=Math.min(N,E.min),F=Math.max(F,E.max),E.pts2=T.filter(D),C.push(E)}}e._extremes[g._id]=i.findExtremes(g,[N,F],{padded:!0})}else{var Z=g.makeCalcdata(e,y),K=function(t,e){for(var n=t.length,r=new Array(n+1),i=0;i<n;i++)r[i]=t[i]-e;return r[n]=t[n-1]+e,r}(z,R),J=z.length,Q=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=[];return e}(J);for(n=0;n<e._length;n++)if(I=Z[n],r(I)){var tt=o.findBin(L[n],K);tt>=0&&tt<J&&(u(O={v:I,i:n},e,n),Q[tt].push(O))}var et=1/0,nt=-1/0,rt=e.quartilemethod,it=\\\"exclusive\\\"===rt,ot=\\\"inclusive\\\"===rt;for(n=0;n<J;n++)if(Q[n].length>0){var at,st;(E={}).pos=E[b]=z[n],T=E.pts=Q[n].sort(c),k=(S=E[y]=T.map(h)).length,E.min=S[0],E.max=S[k-1],E.mean=o.mean(S,k),E.sd=o.stdev(S,k,E.mean),E.med=o.interp(S,.5),k%2&&(it||ot)?(it?(at=S.slice(0,k/2),st=S.slice(k/2+1)):ot&&(at=S.slice(0,k/2+1),st=S.slice(k/2)),E.q1=o.interp(at,.5),E.q3=o.interp(st,.5)):(E.q1=o.interp(S,.25),E.q3=o.interp(S,.75)),E.lf=p(E,S,k),E.uf=f(E,S,k),E.lo=d(E),E.uo=m(E);var lt=v(E,k);E.ln=E.med-lt,E.un=E.med+lt,et=Math.min(et,E.ln),nt=Math.max(nt,E.un),E.pts2=T.filter(D),C.push(E)}e._extremes[g._id]=i.findExtremes(g,e.notched?Z.concat([et,nt]):Z,{padded:!0})}return function(t,e){if(o.isArrayOrTypedArray(e.selectedpoints))for(var n=0;n<t.length;n++){for(var r=t[n].pts||[],i={},a=0;a<r.length;a++)i[r[a].i]=a;o.tagSelected(r,e,i)}}(C,e),C.length>0?(C[0].t={num:x[M],dPos:R,posLetter:b,valLetter:y,labels:{med:s(t,\\\"median:\\\"),min:s(t,\\\"min:\\\"),q1:s(t,\\\"q1:\\\"),q3:s(t,\\\"q3:\\\"),max:s(t,\\\"max:\\\"),mean:\\\"sd\\\"===e.boxmean?s(t,\\\"mean ± σ:\\\"):s(t,\\\"mean:\\\"),lf:s(t,\\\"lower fence:\\\"),uf:s(t,\\\"upper fence:\\\")}},x[M]++,C):[{t:{empty:!0}}]};var l={text:\\\"tx\\\",hovertext:\\\"htx\\\"};function u(t,e,n){for(var r in l)o.isArrayOrTypedArray(e[r])&&(Array.isArray(n)?o.isArrayOrTypedArray(e[r][n[0]])&&(t[l[r]]=e[r][n[0]][n[1]]):t[l[r]]=e[r][n])}function c(t,e){return t.v-e.v}function h(t){return t.v}function p(t,e,n){return 0===n?t.q1:Math.min(t.q1,e[Math.min(o.findBin(2.5*t.q1-1.5*t.q3,e,!0)+1,n-1)])}function f(t,e,n){return 0===n?t.q3:Math.max(t.q3,e[Math.max(o.findBin(2.5*t.q3-1.5*t.q1,e),0)])}function d(t){return 4*t.q1-3*t.q3}function m(t){return 4*t.q3-3*t.q1}function v(t,e){return 0===e?0:1.57*(t.q3-t.q1)/Math.sqrt(e)}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"fast-isnumeric\\\":236}],896:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/cartesian/axis_ids\\\").getAxisGroup,a=[\\\"v\\\",\\\"h\\\"];function s(t,e,n,a){var s,l,u,c=e.calcdata,h=e._fullLayout,p=a._id,f=p.charAt(0),d=[],m=0;for(s=0;s<n.length;s++)for(u=c[n[s]],l=0;l<u.length;l++)d.push(a.c2l(u[l].pos,!0)),m+=(u[l].pts2||[]).length;if(d.length){var v=i.distinctVals(d),g=v.minDiff/2;r.minDtick(a,v.minDiff,v.vals[0],!0);var y=h[\\\"violin\\\"===t?\\\"_numViolins\\\":\\\"_numBoxes\\\"],_=\\\"group\\\"===h[t+\\\"mode\\\"]&&y>1,b=1-h[t+\\\"gap\\\"],x=1-h[t+\\\"groupgap\\\"];for(s=0;s<n.length;s++){var w,A,C,M,E,T,S=(u=c[n[s]])[0].trace,k=u[0].t,O=S.width,I=S.side;if(O)w=A=M=O/2,C=0;else if(w=g,_){var L=o(h,a._id)+S.orientation,P=(h._alignmentOpts[L]||{})[S.alignmentgroup]||{},z=Object.keys(P.offsetGroups||{}).length,R=z||y;A=w*b*x/R,C=2*w*(((z?S._offsetIndex:k.num)+.5)/R-.5)*b,M=w*b/R}else A=w*b*x,C=0,M=w;k.dPos=w,k.bPos=C,k.bdPos=A,k.wHover=M;var D,$,B,N,F,j,U=C+A,q=Boolean(O);if(\\\"positive\\\"===I?(E=w*(O?1:.5),D=U,T=D=C):\\\"negative\\\"===I?(E=D=C,T=w*(O?1:.5),$=U):(E=T=w,D=$=U),(S.boxpoints||S.points)&&m>0){var V=S.pointpos,H=S.jitter,G=S.marker.size/2,W=0;V+H>=0&&((W=U*(V+H))>E?(q=!0,F=G,B=W):W>D&&(F=G,B=E)),W<=E&&(B=E);var X=0;V-H<=0&&((X=-U*(V-H))>T?(q=!0,j=G,N=X):X>$&&(j=G,N=T)),X<=T&&(N=T)}else B=E,N=T;var Y=new Array(u.length);for(l=0;l<u.length;l++)Y[l]=u[l].pos;S._extremes[p]=r.findExtremes(a,Y,{padded:q,vpadminus:N,vpadplus:B,vpadLinearized:!0,ppadminus:{x:j,y:F}[f],ppadplus:{x:F,y:j}[f]})}}}e.exports={crossTraceCalc:function(t,e){for(var n=t.calcdata,r=e.xaxis,i=e.yaxis,o=0;o<a.length;o++){for(var l=a[o],u=\\\"h\\\"===l?i:r,c=[],h=0;h<n.length;h++){var p=n[h],f=p[0].t,d=p[0].trace;!0!==d.visible||\\\"box\\\"!==d.type&&\\\"candlestick\\\"!==d.type||f.empty||(d.orientation||\\\"v\\\")!==l||d.xaxis!==r._id||d.yaxis!==i._id||c.push(h)}s(\\\"box\\\",t,c,u)}},setPositionOffset:s}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/cartesian/axis_ids\\\":779}],897:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"../bar/defaults\\\").handleGroupingDefaults,s=t(\\\"../../plots/cartesian/axis_autotype\\\"),l=t(\\\"./attributes\\\");function u(t,e,n,o){function a(t){var e=0;return t&&t.length&&(e+=1,r.isArrayOrTypedArray(t[0])&&t[0].length&&(e+=1)),e}function u(e){return r.validate(t[e],l[e])}var c,h=n(\\\"y\\\"),p=n(\\\"x\\\");if(\\\"box\\\"===e.type){var f=n(\\\"q1\\\"),d=n(\\\"median\\\"),m=n(\\\"q3\\\");e._hasPreCompStats=f&&f.length&&d&&d.length&&m&&m.length,c=Math.min(r.minRowLength(f),r.minRowLength(d),r.minRowLength(m))}var v,g,y=a(h),_=a(p),b=y&&r.minRowLength(h),x=_&&r.minRowLength(p);if(e._hasPreCompStats)switch(String(_)+String(y)){case\\\"00\\\":var w=u(\\\"x0\\\")||u(\\\"dx\\\");v=!u(\\\"y0\\\")&&!u(\\\"dy\\\")||w?\\\"v\\\":\\\"h\\\",g=c;break;case\\\"10\\\":v=\\\"v\\\",g=Math.min(c,x);break;case\\\"20\\\":v=\\\"h\\\",g=Math.min(c,p.length);break;case\\\"01\\\":v=\\\"h\\\",g=Math.min(c,b);break;case\\\"02\\\":v=\\\"v\\\",g=Math.min(c,h.length);break;case\\\"12\\\":v=\\\"v\\\",g=Math.min(c,x,h.length);break;case\\\"21\\\":v=\\\"h\\\",g=Math.min(c,p.length,b);break;case\\\"11\\\":g=0;break;case\\\"22\\\":var A,C=!1;for(A=0;A<p.length;A++)if(\\\"category\\\"===s(p[A])){C=!0;break}if(C)v=\\\"v\\\",g=Math.min(c,x,h.length);else{for(A=0;A<h.length;A++)if(\\\"category\\\"===s(h[A])){C=!0;break}C?(v=\\\"h\\\",g=Math.min(c,p.length,b)):(v=\\\"v\\\",g=Math.min(c,x,h.length))}}else y>0?(v=\\\"v\\\",g=_>0?Math.min(x,b):Math.min(b)):_>0?(v=\\\"h\\\",g=Math.min(x)):g=0;if(g){e._length=g;var M=n(\\\"orientation\\\",v);e._hasPreCompStats?\\\"v\\\"===M&&0===_?(n(\\\"x0\\\",0),n(\\\"dx\\\",1)):\\\"h\\\"===M&&0===y&&(n(\\\"y0\\\",0),n(\\\"dy\\\",1)):\\\"v\\\"===M&&0===_?n(\\\"x0\\\"):\\\"h\\\"===M&&0===y&&n(\\\"y0\\\"),i.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\",\\\"y\\\"],o)}else e.visible=!1}function c(t,e,n,i){var o=i.prefix,a=r.coerce2(t,e,l,\\\"marker.outliercolor\\\"),s=n(\\\"marker.line.outliercolor\\\"),u=\\\"outliers\\\";e._hasPreCompStats?u=\\\"all\\\":(a||s)&&(u=\\\"suspectedoutliers\\\");var c=n(o+\\\"points\\\",u);c?(n(\\\"jitter\\\",\\\"all\\\"===c?.3:0),n(\\\"pointpos\\\",\\\"all\\\"===c?-1.5:0),n(\\\"marker.symbol\\\"),n(\\\"marker.opacity\\\"),n(\\\"marker.size\\\"),n(\\\"marker.color\\\",e.line.color),n(\\\"marker.line.color\\\"),n(\\\"marker.line.width\\\"),\\\"suspectedoutliers\\\"===c&&(n(\\\"marker.line.outliercolor\\\",e.marker.color),n(\\\"marker.line.outlierwidth\\\")),n(\\\"selected.marker.color\\\"),n(\\\"unselected.marker.color\\\"),n(\\\"selected.marker.size\\\"),n(\\\"unselected.marker.size\\\"),n(\\\"text\\\"),n(\\\"hovertext\\\")):delete e.marker;var h=n(\\\"hoveron\\\");\\\"all\\\"!==h&&-1===h.indexOf(\\\"points\\\")||n(\\\"hovertemplate\\\"),r.coerceSelectionMarkerOpacity(e,n)}e.exports={supplyDefaults:function(t,e,n,i){function a(n,i){return r.coerce(t,e,l,n,i)}if(u(t,e,a,i),!1!==e.visible){var s=e._hasPreCompStats;s&&(a(\\\"lowerfence\\\"),a(\\\"upperfence\\\")),a(\\\"line.color\\\",(t.marker||{}).color||n),a(\\\"line.width\\\"),a(\\\"fillcolor\\\",o.addOpacity(e.line.color,.5));var h=!1;if(s){var p=a(\\\"mean\\\"),f=a(\\\"sd\\\");p&&p.length&&(h=!0,f&&f.length&&(h=\\\"sd\\\"))}a(\\\"boxmean\\\",h),a(\\\"whiskerwidth\\\"),a(\\\"width\\\"),a(\\\"quartilemethod\\\");var d=!1;if(s){var m=a(\\\"notchspan\\\");m&&m.length&&(d=!0)}else r.validate(t.notchwidth,l.notchwidth)&&(d=!0);a(\\\"notched\\\",d)&&a(\\\"notchwidth\\\"),c(t,e,a,{prefix:\\\"box\\\"})}},crossTraceDefaults:function(t,e){var n,i;function o(t){return r.coerce(i._input,i,l,t)}for(var s=0;s<t.length;s++){var u=(i=t[s]).type;\\\"box\\\"!==u&&\\\"violin\\\"!==u||(n=i._input,\\\"group\\\"===e[u+\\\"mode\\\"]&&a(n,i,e,o))}},handleSampleDefaults:u,handlePointsDefaults:c}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axis_autotype\\\":777,\\\"../../registry\\\":859,\\\"../bar/defaults\\\":873,\\\"./attributes\\\":894}],898:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return e.hoverOnBox&&(t.hoverOnBox=e.hoverOnBox),\\\"xVal\\\"in e&&(t.x=e.xVal),\\\"yVal\\\"in e&&(t.y=e.yVal),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),t}},{}],899:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/fx\\\"),a=t(\\\"../../components/color\\\"),s=i.fillText;function l(t,e,n,s){var l,u,c,h,p,f,d,m,v,g,y,_,b,x,w=t.cd,A=t.xa,C=t.ya,M=w[0].trace,E=w[0].t,T=\\\"violin\\\"===M.type,S=[],k=E.bdPos,O=E.wHover,I=function(t){return c.c2l(t.pos)+E.bPos-c.c2l(f)};T&&\\\"both\\\"!==M.side?(\\\"positive\\\"===M.side&&(v=function(t){var e=I(t);return o.inbox(e,e+O,g)},_=k,b=0),\\\"negative\\\"===M.side&&(v=function(t){var e=I(t);return o.inbox(e-O,e,g)},_=0,b=k)):(v=function(t){var e=I(t);return o.inbox(e-O,e+O,g)},_=b=k),x=T?function(t){return o.inbox(t.span[0]-p,t.span[1]-p,g)}:function(t){return o.inbox(t.min-p,t.max-p,g)},\\\"h\\\"===M.orientation?(p=e,f=n,d=x,m=v,l=\\\"y\\\",c=C,u=\\\"x\\\",h=A):(p=n,f=e,d=v,m=x,l=\\\"x\\\",c=A,u=\\\"y\\\",h=C);var L=Math.min(1,k/Math.abs(c.r2c(c.range[1])-c.r2c(c.range[0])));function P(t){return(d(t)+m(t))/2}g=t.maxHoverDistance-L,y=t.maxSpikeDistance-L;var z=o.getDistanceFunction(s,d,m,P);if(o.getClosest(w,z,t),!1===t.index)return[];var R=w[t.index],D=M.line.color,$=(M.marker||{}).color;a.opacity(D)&&M.line.width?t.color=D:a.opacity($)&&M.boxpoints?t.color=$:t.color=M.fillcolor,t[l+\\\"0\\\"]=c.c2p(R.pos+E.bPos-b,!0),t[l+\\\"1\\\"]=c.c2p(R.pos+E.bPos+_,!0),t[l+\\\"LabelVal\\\"]=R.pos;var B=l+\\\"Spike\\\";t.spikeDistance=P(R)*y/g,t[B]=c.c2p(R.pos,!0);var N={},F=[\\\"med\\\",\\\"q1\\\",\\\"q3\\\",\\\"min\\\",\\\"max\\\"];(M.boxmean||(M.meanline||{}).visible)&&F.push(\\\"mean\\\"),(M.boxpoints||M.points)&&F.push(\\\"lf\\\",\\\"uf\\\");for(var j=0;j<F.length;j++){var U=F[j];if(U in R&&!(R[U]in N)){N[R[U]]=!0;var q=R[U],V=h.c2p(q,!0),H=i.extendFlat({},t);H.attr=U,H[u+\\\"0\\\"]=H[u+\\\"1\\\"]=V,H[u+\\\"LabelVal\\\"]=q,H[u+\\\"Label\\\"]=(E.labels?E.labels[U]+\\\" \\\":\\\"\\\")+r.hoverLabelText(h,q),H.hoverOnBox=!0,\\\"mean\\\"===U&&\\\"sd\\\"in R&&\\\"sd\\\"===M.boxmean&&(H[u+\\\"err\\\"]=R.sd),t.name=\\\"\\\",t.spikeDistance=void 0,t[B]=void 0,H.hovertemplate=!1,S.push(H)}}return S}function u(t,e,n){for(var r,a,l,u=t.cd,c=t.xa,h=t.ya,p=u[0].trace,f=c.c2p(e),d=h.c2p(n),m=o.quadrature((function(t){var e=Math.max(3,t.mrc||0);return Math.max(Math.abs(c.c2p(t.x)-f)-e,1-3/e)}),(function(t){var e=Math.max(3,t.mrc||0);return Math.max(Math.abs(h.c2p(t.y)-d)-e,1-3/e)})),v=!1,g=0;g<u.length;g++){a=u[g];for(var y=0;y<(a.pts||[]).length;y++){var _=m(l=a.pts[y]);_<=t.distance&&(t.distance=_,v=[g,y])}}if(!v)return!1;l=(a=u[v[0]]).pts[v[1]];var b,x=c.c2p(l.x,!0),w=h.c2p(l.y,!0),A=l.mrc||1;return r=i.extendFlat({},t,{index:l.i,color:(p.marker||{}).color,name:p.name,x0:x-A,x1:x+A,y0:w-A,y1:w+A,spikeDistance:t.distance,hovertemplate:p.hovertemplate}),\\\"h\\\"===p.orientation?(b=h,r.xLabelVal=l.x,r.yLabelVal=a.pos):(b=c,r.xLabelVal=a.pos,r.yLabelVal=l.y),r[b._id.charAt(0)+\\\"Spike\\\"]=b.c2p(a.pos,!0),s(l,p,r),r}e.exports={hoverPoints:function(t,e,n,r){var i,o=t.cd[0].trace.hoveron,a=[];return-1!==o.indexOf(\\\"boxes\\\")&&(a=a.concat(l(t,e,n,r))),-1!==o.indexOf(\\\"points\\\")&&(i=u(t,e,n)),\\\"closest\\\"===r?i?[i]:a:i?(a.push(i),a):a},hoverOnBoxes:l,hoverOnPoints:u}},{\\\"../../components/color\\\":595,\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776}],900:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,crossTraceDefaults:t(\\\"./defaults\\\").crossTraceDefaults,supplyLayoutDefaults:t(\\\"./layout_defaults\\\").supplyLayoutDefaults,calc:t(\\\"./calc\\\"),crossTraceCalc:t(\\\"./cross_trace_calc\\\").crossTraceCalc,plot:t(\\\"./plot\\\").plot,style:t(\\\"./style\\\").style,styleOnSelect:t(\\\"./style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\").hoverPoints,eventData:t(\\\"./event_data\\\"),selectPoints:t(\\\"./select\\\"),moduleType:\\\"trace\\\",name:\\\"box\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"symbols\\\",\\\"oriented\\\",\\\"box-violin\\\",\\\"showLegend\\\",\\\"boxLayout\\\",\\\"zoomScale\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"./attributes\\\":894,\\\"./calc\\\":895,\\\"./cross_trace_calc\\\":896,\\\"./defaults\\\":897,\\\"./event_data\\\":898,\\\"./hover\\\":899,\\\"./layout_attributes\\\":901,\\\"./layout_defaults\\\":902,\\\"./plot\\\":903,\\\"./select\\\":904,\\\"./style\\\":905}],901:[function(t,e,n){\\\"use strict\\\";e.exports={boxmode:{valType:\\\"enumerated\\\",values:[\\\"group\\\",\\\"overlay\\\"],dflt:\\\"overlay\\\",editType:\\\"calc\\\"},boxgap:{valType:\\\"number\\\",min:0,max:1,dflt:.3,editType:\\\"calc\\\"},boxgroupgap:{valType:\\\"number\\\",min:0,max:1,dflt:.3,editType:\\\"calc\\\"}}},{}],902:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"./layout_attributes\\\");function a(t,e,n,i,o){for(var a=o+\\\"Layout\\\",s=!1,l=0;l<n.length;l++){var u=n[l];if(r.traceIs(u,a)){s=!0;break}}s&&(i(o+\\\"mode\\\"),i(o+\\\"gap\\\"),i(o+\\\"groupgap\\\"))}e.exports={supplyLayoutDefaults:function(t,e,n){a(0,0,n,(function(n,r){return i.coerce(t,e,o,n,r)}),\\\"box\\\")},_supply:a}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./layout_attributes\\\":901}],903:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/drawing\\\");function a(t,e,n,o){var a,s,l=\\\"h\\\"===n.orientation,u=e.val,c=e.pos,h=!!c.rangebreaks,p=o.bPos,f=o.wdPos||0,d=o.bPosPxOffset||0,m=n.whiskerwidth||0,v=n.notched||!1,g=v?1-2*n.notchwidth:1;Array.isArray(o.bdPos)?(a=o.bdPos[0],s=o.bdPos[1]):(a=o.bdPos,s=o.bdPos);var y=t.selectAll(\\\"path.box\\\").data(\\\"violin\\\"!==n.type||n.box.visible?i.identity:[]);y.enter().append(\\\"path\\\").style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\").attr(\\\"class\\\",\\\"box\\\"),y.exit().remove(),y.each((function(t){if(t.empty)return\\\"M0,0Z\\\";var e=c.c2l(t.pos+p,!0),o=c.l2p(e-a)+d,y=c.l2p(e+s)+d,_=h?(o+y)/2:c.l2p(e)+d,b=n.whiskerwidth,x=h?o*b+(1-b)*_:c.l2p(e-f)+d,w=h?y*b+(1-b)*_:c.l2p(e+f)+d,A=c.l2p(e-a*g)+d,C=c.l2p(e+s*g)+d,M=u.c2p(t.q1,!0),E=u.c2p(t.q3,!0),T=i.constrain(u.c2p(t.med,!0),Math.min(M,E)+1,Math.max(M,E)-1),S=void 0===t.lf||!1===n.boxpoints,k=u.c2p(S?t.min:t.lf,!0),O=u.c2p(S?t.max:t.uf,!0),I=u.c2p(t.ln,!0),L=u.c2p(t.un,!0);l?r.select(this).attr(\\\"d\\\",\\\"M\\\"+T+\\\",\\\"+A+\\\"V\\\"+C+\\\"M\\\"+M+\\\",\\\"+o+\\\"V\\\"+y+(v?\\\"H\\\"+I+\\\"L\\\"+T+\\\",\\\"+C+\\\"L\\\"+L+\\\",\\\"+y:\\\"\\\")+\\\"H\\\"+E+\\\"V\\\"+o+(v?\\\"H\\\"+L+\\\"L\\\"+T+\\\",\\\"+A+\\\"L\\\"+I+\\\",\\\"+o:\\\"\\\")+\\\"ZM\\\"+M+\\\",\\\"+_+\\\"H\\\"+k+\\\"M\\\"+E+\\\",\\\"+_+\\\"H\\\"+O+(0===m?\\\"\\\":\\\"M\\\"+k+\\\",\\\"+x+\\\"V\\\"+w+\\\"M\\\"+O+\\\",\\\"+x+\\\"V\\\"+w)):r.select(this).attr(\\\"d\\\",\\\"M\\\"+A+\\\",\\\"+T+\\\"H\\\"+C+\\\"M\\\"+o+\\\",\\\"+M+\\\"H\\\"+y+(v?\\\"V\\\"+I+\\\"L\\\"+C+\\\",\\\"+T+\\\"L\\\"+y+\\\",\\\"+L:\\\"\\\")+\\\"V\\\"+E+\\\"H\\\"+o+(v?\\\"V\\\"+L+\\\"L\\\"+A+\\\",\\\"+T+\\\"L\\\"+o+\\\",\\\"+I:\\\"\\\")+\\\"ZM\\\"+_+\\\",\\\"+M+\\\"V\\\"+k+\\\"M\\\"+_+\\\",\\\"+E+\\\"V\\\"+O+(0===m?\\\"\\\":\\\"M\\\"+x+\\\",\\\"+k+\\\"H\\\"+w+\\\"M\\\"+x+\\\",\\\"+O+\\\"H\\\"+w))}))}function s(t,e,n,r){var a=e.x,s=e.y,l=r.bdPos,u=r.bPos,c=n.boxpoints||n.points;i.seedPseudoRandom();var h=t.selectAll(\\\"g.points\\\").data(c?function(t){return t.forEach((function(t){t.t=r,t.trace=n})),t}:[]);h.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"points\\\"),h.exit().remove();var p=h.selectAll(\\\"path\\\").data((function(t){var e,r,o=t.pts2,a=Math.max((t.max-t.min)/10,t.q3-t.q1),s=1e-9*a,h=.01*a,p=[],f=0;if(n.jitter){if(0===a)for(f=1,p=new Array(o.length),e=0;e<o.length;e++)p[e]=1;else for(e=0;e<o.length;e++){var d=Math.max(0,e-5),m=o[d].v,v=Math.min(o.length-1,e+5),g=o[v].v;\\\"all\\\"!==c&&(o[e].v<t.lf?g=Math.min(g,t.lf):m=Math.max(m,t.uf));var y=Math.sqrt(h*(v-d)/(g-m+s))||0;y=i.constrain(Math.abs(y),0,1),p.push(y),f=Math.max(y,f)}r=2*n.jitter/(f||1)}for(e=0;e<o.length;e++){var _=o[e],b=_.v,x=n.jitter?r*p[e]*(i.pseudoRandom()-.5):0,w=t.pos+u+l*(n.pointpos+x);\\\"h\\\"===n.orientation?(_.y=w,_.x=b):(_.x=w,_.y=b),\\\"suspectedoutliers\\\"===c&&b<t.uo&&b>t.lo&&(_.so=!0)}return o}));p.enter().append(\\\"path\\\").classed(\\\"point\\\",!0),p.exit().remove(),p.call(o.translatePoints,a,s)}function l(t,e,n,o){var a,s,l=e.val,u=e.pos,c=!!u.rangebreaks,h=o.bPos,p=o.bPosPxOffset||0,f=n.boxmean||(n.meanline||{}).visible;Array.isArray(o.bdPos)?(a=o.bdPos[0],s=o.bdPos[1]):(a=o.bdPos,s=o.bdPos);var d=t.selectAll(\\\"path.mean\\\").data(\\\"box\\\"===n.type&&n.boxmean||\\\"violin\\\"===n.type&&n.box.visible&&n.meanline.visible?i.identity:[]);d.enter().append(\\\"path\\\").attr(\\\"class\\\",\\\"mean\\\").style({fill:\\\"none\\\",\\\"vector-effect\\\":\\\"non-scaling-stroke\\\"}),d.exit().remove(),d.each((function(t){var e=u.c2l(t.pos+h,!0),i=u.l2p(e-a)+p,o=u.l2p(e+s)+p,d=c?(i+o)/2:u.l2p(e)+p,m=l.c2p(t.mean,!0),v=l.c2p(t.mean-t.sd,!0),g=l.c2p(t.mean+t.sd,!0);\\\"h\\\"===n.orientation?r.select(this).attr(\\\"d\\\",\\\"M\\\"+m+\\\",\\\"+i+\\\"V\\\"+o+(\\\"sd\\\"===f?\\\"m0,0L\\\"+v+\\\",\\\"+d+\\\"L\\\"+m+\\\",\\\"+i+\\\"L\\\"+g+\\\",\\\"+d+\\\"Z\\\":\\\"\\\")):r.select(this).attr(\\\"d\\\",\\\"M\\\"+i+\\\",\\\"+m+\\\"H\\\"+o+(\\\"sd\\\"===f?\\\"m0,0L\\\"+d+\\\",\\\"+v+\\\"L\\\"+i+\\\",\\\"+m+\\\"L\\\"+d+\\\",\\\"+g+\\\"Z\\\":\\\"\\\"))}))}e.exports={plot:function(t,e,n,o){var u=e.xaxis,c=e.yaxis;i.makeTraceGroups(o,n,\\\"trace boxes\\\").each((function(t){var e,n,i=r.select(this),o=t[0],h=o.t,p=o.trace;h.wdPos=h.bdPos*p.whiskerwidth,!0!==p.visible||h.empty?i.remove():(\\\"h\\\"===p.orientation?(e=c,n=u):(e=u,n=c),a(i,{pos:e,val:n},p,h),s(i,{x:u,y:c},p,h),l(i,{pos:e,val:n},p,h))}))},plotBoxAndWhiskers:a,plotPoints:s,plotBoxMean:l}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,d3:164}],904:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n,r,i=t.cd,o=t.xaxis,a=t.yaxis,s=[];if(!1===e)for(n=0;n<i.length;n++)for(r=0;r<(i[n].pts||[]).length;r++)i[n].pts[r].selected=0;else for(n=0;n<i.length;n++)for(r=0;r<(i[n].pts||[]).length;r++){var l=i[n].pts[r],u=o.c2p(l.x),c=a.c2p(l.y);e.contains([u,c],null,l.i,t)?(s.push({pointNumber:l.i,x:o.c2d(l.x),y:a.c2d(l.y)}),l.selected=1):l.selected=0}return s}},{}],905:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../components/drawing\\\");e.exports={style:function(t,e,n){var a=n||r.select(t).selectAll(\\\"g.trace.boxes\\\");a.style(\\\"opacity\\\",(function(t){return t[0].trace.opacity})),a.each((function(e){var n=r.select(this),a=e[0].trace,s=a.line.width;function l(t,e,n,r){t.style(\\\"stroke-width\\\",e+\\\"px\\\").call(i.stroke,n).call(i.fill,r)}var u=n.selectAll(\\\"path.box\\\");if(\\\"candlestick\\\"===a.type)u.each((function(t){if(!t.empty){var e=r.select(this),n=a[t.dir];l(e,n.line.width,n.line.color,n.fillcolor),e.style(\\\"opacity\\\",a.selectedpoints&&!t.selected?.3:1)}}));else{l(u,s,a.line.color,a.fillcolor),n.selectAll(\\\"path.mean\\\").style({\\\"stroke-width\\\":s,\\\"stroke-dasharray\\\":2*s+\\\"px,\\\"+s+\\\"px\\\"}).call(i.stroke,a.line.color);var c=n.selectAll(\\\"path.point\\\");o.pointStyle(c,a,t)}}))},styleOnSelect:function(t,e,n){var r=e[0].trace,i=n.selectAll(\\\"path.point\\\");r.selectedpoints?o.selectedPointStyle(i,r):o.pointStyle(i,r,t)}}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,d3:164}],906:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").extendFlat,i=t(\\\"../ohlc/attributes\\\"),o=t(\\\"../box/attributes\\\");function a(t){return{line:{color:r({},o.line.color,{dflt:t}),width:o.line.width,editType:\\\"style\\\"},fillcolor:o.fillcolor,editType:\\\"style\\\"}}e.exports={x:i.x,open:i.open,high:i.high,low:i.low,close:i.close,line:{width:r({},o.line.width,{}),editType:\\\"style\\\"},increasing:a(i.increasing.line.color.dflt),decreasing:a(i.decreasing.line.color.dflt),text:i.text,hovertext:i.hovertext,whiskerwidth:r({},o.whiskerwidth,{dflt:0}),hoverlabel:i.hoverlabel}},{\\\"../../lib\\\":728,\\\"../box/attributes\\\":894,\\\"../ohlc/attributes\\\":1080}],907:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../ohlc/calc\\\").calcCommon;function a(t,e,n,r){return{min:n,q1:Math.min(t,r),med:r,q3:Math.max(t,r),max:e}}e.exports=function(t,e){var n=t._fullLayout,s=i.getFromId(t,e.xaxis),l=i.getFromId(t,e.yaxis),u=s.makeCalcdata(e,\\\"x\\\"),c=o(t,e,u,l,a);return c.length?(r.extendFlat(c[0].t,{num:n._numBoxes,dPos:r.distinctVals(u).minDiff/2,posLetter:\\\"x\\\",valLetter:\\\"y\\\"}),n._numBoxes++,c):[{t:{empty:!0}}]}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../ohlc/calc\\\":1081}],908:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../ohlc/ohlc_defaults\\\"),a=t(\\\"./attributes\\\");function s(t,e,n,r){var o=n(r+\\\".line.color\\\");n(r+\\\".line.width\\\",e.line.width),n(r+\\\".fillcolor\\\",i.addOpacity(o,.5))}e.exports=function(t,e,n,i){function l(n,i){return r.coerce(t,e,a,n,i)}o(t,e,l,i)?(l(\\\"line.width\\\"),s(0,e,l,\\\"increasing\\\"),s(0,e,l,\\\"decreasing\\\"),l(\\\"text\\\"),l(\\\"hovertext\\\"),l(\\\"whiskerwidth\\\"),i._requestRangeslider[e.xaxis]=!0):e.visible=!1}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../ohlc/ohlc_defaults\\\":1085,\\\"./attributes\\\":906}],909:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"candlestick\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"showLegend\\\",\\\"candlestick\\\",\\\"boxLayout\\\"],meta:{},attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"../box/layout_attributes\\\"),supplyLayoutDefaults:t(\\\"../box/layout_defaults\\\").supplyLayoutDefaults,crossTraceCalc:t(\\\"../box/cross_trace_calc\\\").crossTraceCalc,supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"../box/plot\\\").plot,layerName:\\\"boxlayer\\\",style:t(\\\"../box/style\\\").style,hoverPoints:t(\\\"../ohlc/hover\\\").hoverPoints,selectPoints:t(\\\"../ohlc/select\\\")}},{\\\"../../plots/cartesian\\\":789,\\\"../box/cross_trace_calc\\\":896,\\\"../box/layout_attributes\\\":901,\\\"../box/layout_defaults\\\":902,\\\"../box/plot\\\":903,\\\"../box/style\\\":905,\\\"../ohlc/hover\\\":1083,\\\"../ohlc/select\\\":1087,\\\"./attributes\\\":906,\\\"./calc\\\":907,\\\"./defaults\\\":908}],910:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./axis_defaults\\\"),i=t(\\\"../../plot_api/plot_template\\\");e.exports=function(t,e,n,o,a){o(\\\"a\\\")||(o(\\\"da\\\"),o(\\\"a0\\\")),o(\\\"b\\\")||(o(\\\"db\\\"),o(\\\"b0\\\")),function(t,e,n,o){[\\\"aaxis\\\",\\\"baxis\\\"].forEach((function(a){var s=a.charAt(0),l=t[a]||{},u=i.newContainer(e,a),c={tickfont:\\\"x\\\",id:s+\\\"axis\\\",letter:s,font:e.font,name:a,data:t[s],calendar:e.calendar,dfltColor:o,bgColor:n.paper_bgcolor,fullLayout:n};r(l,u,c),u._categories=u._categories||[],t[a]||\\\"-\\\"===l.type||(t[a]={type:l.type})}))}(t,e,n,a)}},{\\\"../../plot_api/plot_template\\\":766,\\\"./axis_defaults\\\":915}],911:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").isArrayOrTypedArray;function i(t,e){if(!r(t)||e>=10)return null;for(var n=1/0,o=-1/0,a=t.length,s=0;s<a;s++){var l=t[s];if(r(l)){var u=i(l,e+1);u&&(n=Math.min(u[0],n),o=Math.max(u[1],o))}else n=Math.min(l,n),o=Math.max(l,o)}return[n,o]}e.exports=function(t){return i(t,0)}},{\\\"../../lib\\\":728}],912:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/font_attributes\\\"),i=t(\\\"./axis_attributes\\\"),o=t(\\\"../../components/color/attributes\\\"),a=r({editType:\\\"calc\\\"});a.family.dflt='\\\"Open Sans\\\", verdana, arial, sans-serif',a.size.dflt=12,a.color.dflt=o.defaultLine,e.exports={carpet:{valType:\\\"string\\\",editType:\\\"calc\\\"},x:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},y:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},a:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},a0:{valType:\\\"number\\\",dflt:0,editType:\\\"calc\\\"},da:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},b:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},b0:{valType:\\\"number\\\",dflt:0,editType:\\\"calc\\\"},db:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},cheaterslope:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},aaxis:i,baxis:i,font:a,color:{valType:\\\"color\\\",dflt:o.defaultLine,editType:\\\"plot\\\"},transforms:void 0}},{\\\"../../components/color/attributes\\\":594,\\\"../../plots/font_attributes\\\":804,\\\"./axis_attributes\\\":914}],913:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").isArrayOrTypedArray;e.exports=function(t,e,n,i){var o,a,s,l,u,c,h,p,f,d,m,v,g,y=r(n)?\\\"a\\\":\\\"b\\\",_=(\\\"a\\\"===y?t.aaxis:t.baxis).smoothing,b=\\\"a\\\"===y?t.a2i:t.b2j,x=\\\"a\\\"===y?n:i,w=\\\"a\\\"===y?i:n,A=\\\"a\\\"===y?e.a.length:e.b.length,C=\\\"a\\\"===y?e.b.length:e.a.length,M=Math.floor(\\\"a\\\"===y?t.b2j(w):t.a2i(w)),E=\\\"a\\\"===y?function(e){return t.evalxy([],e,M)}:function(e){return t.evalxy([],M,e)};_&&(s=Math.max(0,Math.min(C-2,M)),l=M-s,a=\\\"a\\\"===y?function(e,n){return t.dxydi([],e,s,n,l)}:function(e,n){return t.dxydj([],s,e,l,n)});var T=b(x[0]),S=b(x[1]),k=T<S?1:-1,O=1e-8*(S-T),I=k>0?Math.floor:Math.ceil,L=k>0?Math.ceil:Math.floor,P=k>0?Math.min:Math.max,z=k>0?Math.max:Math.min,R=I(T+O),D=L(S-O),$=[[h=E(T)]];for(o=R;o*k<D*k;o+=k)u=[],m=z(T,o),g=(v=P(S,o+k))-m,c=Math.max(0,Math.min(A-2,Math.floor(.5*(m+v)))),p=E(v),_&&(f=a(c,m-c),d=a(c,v-c),u.push([h[0]+f[0]/3*g,h[1]+f[1]/3*g]),u.push([p[0]-d[0]/3*g,p[1]-d[1]/3*g])),u.push(p),$.push(u),h=p;return $}},{\\\"../../lib\\\":728}],914:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/font_attributes\\\"),i=t(\\\"../../components/color/attributes\\\"),o=t(\\\"../../plots/cartesian/layout_attributes\\\"),a=t(\\\"../../plot_api/edit_types\\\").overrideAll;t(\\\"../../constants/docs\\\").FORMAT_LINK,t(\\\"../../constants/docs\\\").TIME_FORMAT_LINK,e.exports={color:{valType:\\\"color\\\",editType:\\\"calc\\\"},smoothing:{valType:\\\"number\\\",dflt:1,min:0,max:1.3,editType:\\\"calc\\\"},title:{text:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},font:r({editType:\\\"calc\\\"}),offset:{valType:\\\"number\\\",dflt:10,editType:\\\"calc\\\"},editType:\\\"calc\\\"},type:{valType:\\\"enumerated\\\",values:[\\\"-\\\",\\\"linear\\\",\\\"date\\\",\\\"category\\\"],dflt:\\\"-\\\",editType:\\\"calc\\\"},autorange:{valType:\\\"enumerated\\\",values:[!0,!1,\\\"reversed\\\"],dflt:!0,editType:\\\"calc\\\"},rangemode:{valType:\\\"enumerated\\\",values:[\\\"normal\\\",\\\"tozero\\\",\\\"nonnegative\\\"],dflt:\\\"normal\\\",editType:\\\"calc\\\"},range:{valType:\\\"info_array\\\",editType:\\\"calc\\\",items:[{valType:\\\"any\\\",editType:\\\"calc\\\"},{valType:\\\"any\\\",editType:\\\"calc\\\"}]},fixedrange:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},cheatertype:{valType:\\\"enumerated\\\",values:[\\\"index\\\",\\\"value\\\"],dflt:\\\"value\\\",editType:\\\"calc\\\"},tickmode:{valType:\\\"enumerated\\\",values:[\\\"linear\\\",\\\"array\\\"],dflt:\\\"array\\\",editType:\\\"calc\\\"},nticks:{valType:\\\"integer\\\",min:0,dflt:0,editType:\\\"calc\\\"},tickvals:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},ticktext:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},showticklabels:{valType:\\\"enumerated\\\",values:[\\\"start\\\",\\\"end\\\",\\\"both\\\",\\\"none\\\"],dflt:\\\"start\\\",editType:\\\"calc\\\"},tickfont:r({editType:\\\"calc\\\"}),tickangle:{valType:\\\"angle\\\",dflt:\\\"auto\\\",editType:\\\"calc\\\"},tickprefix:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},showtickprefix:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"first\\\",\\\"last\\\",\\\"none\\\"],dflt:\\\"all\\\",editType:\\\"calc\\\"},ticksuffix:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},showticksuffix:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"first\\\",\\\"last\\\",\\\"none\\\"],dflt:\\\"all\\\",editType:\\\"calc\\\"},showexponent:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"first\\\",\\\"last\\\",\\\"none\\\"],dflt:\\\"all\\\",editType:\\\"calc\\\"},exponentformat:{valType:\\\"enumerated\\\",values:[\\\"none\\\",\\\"e\\\",\\\"E\\\",\\\"power\\\",\\\"SI\\\",\\\"B\\\"],dflt:\\\"B\\\",editType:\\\"calc\\\"},separatethousands:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},tickformat:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},tickformatstops:a(o.tickformatstops,\\\"calc\\\",\\\"from-root\\\"),categoryorder:{valType:\\\"enumerated\\\",values:[\\\"trace\\\",\\\"category ascending\\\",\\\"category descending\\\",\\\"array\\\"],dflt:\\\"trace\\\",editType:\\\"calc\\\"},categoryarray:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},labelpadding:{valType:\\\"integer\\\",dflt:10,editType:\\\"calc\\\"},labelprefix:{valType:\\\"string\\\",editType:\\\"calc\\\"},labelsuffix:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},showline:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},linecolor:{valType:\\\"color\\\",dflt:i.defaultLine,editType:\\\"calc\\\"},linewidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"calc\\\"},gridcolor:{valType:\\\"color\\\",editType:\\\"calc\\\"},gridwidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"calc\\\"},showgrid:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},minorgridcount:{valType:\\\"integer\\\",min:0,dflt:0,editType:\\\"calc\\\"},minorgridwidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"calc\\\"},minorgridcolor:{valType:\\\"color\\\",dflt:i.lightLine,editType:\\\"calc\\\"},startline:{valType:\\\"boolean\\\",editType:\\\"calc\\\"},startlinecolor:{valType:\\\"color\\\",editType:\\\"calc\\\"},startlinewidth:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},endline:{valType:\\\"boolean\\\",editType:\\\"calc\\\"},endlinewidth:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},endlinecolor:{valType:\\\"color\\\",editType:\\\"calc\\\"},tick0:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"calc\\\"},dtick:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"calc\\\"},arraytick0:{valType:\\\"integer\\\",min:0,dflt:0,editType:\\\"calc\\\"},arraydtick:{valType:\\\"integer\\\",min:1,dflt:1,editType:\\\"calc\\\"},_deprecated:{title:{valType:\\\"string\\\",editType:\\\"calc\\\"},titlefont:r({editType:\\\"calc\\\"}),titleoffset:{valType:\\\"number\\\",dflt:10,editType:\\\"calc\\\"}},editType:\\\"calc\\\"}},{\\\"../../components/color/attributes\\\":594,\\\"../../constants/docs\\\":699,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/cartesian/layout_attributes\\\":790,\\\"../../plots/font_attributes\\\":804}],915:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./attributes\\\"),i=t(\\\"../../components/color\\\").addOpacity,o=t(\\\"../../registry\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../plots/cartesian/tick_value_defaults\\\"),l=t(\\\"../../plots/cartesian/tick_label_defaults\\\"),u=t(\\\"../../plots/cartesian/category_order_defaults\\\"),c=t(\\\"../../plots/cartesian/set_convert\\\"),h=t(\\\"../../plots/cartesian/axis_autotype\\\");e.exports=function(t,e,n){var p=n.letter,f=n.font||{},d=r[p+\\\"axis\\\"];function m(n,r){return a.coerce(t,e,d,n,r)}function v(n,r){return a.coerce2(t,e,d,n,r)}n.name&&(e._name=n.name,e._id=n.name);var g=m(\\\"type\\\");\\\"-\\\"===g&&(n.data&&function(t,e){if(\\\"-\\\"===t.type){var n=t[t._id.charAt(0)+\\\"calendar\\\"];t.type=h(e,n)}}(e,n.data),\\\"-\\\"===e.type?e.type=\\\"linear\\\":g=t.type=e.type),m(\\\"smoothing\\\"),m(\\\"cheatertype\\\"),m(\\\"showticklabels\\\"),m(\\\"labelprefix\\\",p+\\\" = \\\"),m(\\\"labelsuffix\\\"),m(\\\"showtickprefix\\\"),m(\\\"showticksuffix\\\"),m(\\\"separatethousands\\\"),m(\\\"tickformat\\\"),m(\\\"exponentformat\\\"),m(\\\"showexponent\\\"),m(\\\"categoryorder\\\"),m(\\\"tickmode\\\"),m(\\\"tickvals\\\"),m(\\\"ticktext\\\"),m(\\\"tick0\\\"),m(\\\"dtick\\\"),\\\"array\\\"===e.tickmode&&(m(\\\"arraytick0\\\"),m(\\\"arraydtick\\\")),m(\\\"labelpadding\\\"),e._hovertitle=p,\\\"date\\\"===g&&o.getComponentMethod(\\\"calendars\\\",\\\"handleDefaults\\\")(t,e,\\\"calendar\\\",n.calendar),c(e,n.fullLayout),e.c2p=a.identity;var y=m(\\\"color\\\",n.dfltColor),_=y===t.color?y:f.color;m(\\\"title.text\\\")&&(a.coerceFont(m,\\\"title.font\\\",{family:f.family,size:Math.round(1.2*f.size),color:_}),m(\\\"title.offset\\\")),m(\\\"tickangle\\\"),m(\\\"autorange\\\",!e.isValidRange(t.range))&&m(\\\"rangemode\\\"),m(\\\"range\\\"),e.cleanRange(),m(\\\"fixedrange\\\"),s(t,e,m,g),l(t,e,m,g,n),u(t,e,m,{data:n.data,dataAttr:p});var b=v(\\\"gridcolor\\\",i(y,.3)),x=v(\\\"gridwidth\\\"),w=m(\\\"showgrid\\\");w||(delete e.gridcolor,delete e.gridwidth);var A=v(\\\"startlinecolor\\\",y),C=v(\\\"startlinewidth\\\",x);m(\\\"startline\\\",e.showgrid||!!A||!!C)||(delete e.startlinecolor,delete e.startlinewidth);var M=v(\\\"endlinecolor\\\",y),E=v(\\\"endlinewidth\\\",x);return m(\\\"endline\\\",e.showgrid||!!M||!!E)||(delete e.endlinecolor,delete e.endlinewidth),w?(m(\\\"minorgridcount\\\"),m(\\\"minorgridwidth\\\",x),m(\\\"minorgridcolor\\\",i(b,.06)),e.minorgridcount||(delete e.minorgridwidth,delete e.minorgridcolor)):(delete e.gridcolor,delete e.gridWidth),\\\"none\\\"===e.showticklabels&&(delete e.tickfont,delete e.tickangle,delete e.showexponent,delete e.exponentformat,delete e.tickformat,delete e.showticksuffix,delete e.showtickprefix),e.showticksuffix||delete e.ticksuffix,e.showtickprefix||delete e.tickprefix,m(\\\"tickmode\\\"),e}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axis_autotype\\\":777,\\\"../../plots/cartesian/category_order_defaults\\\":780,\\\"../../plots/cartesian/set_convert\\\":796,\\\"../../plots/cartesian/tick_label_defaults\\\":797,\\\"../../plots/cartesian/tick_value_defaults\\\":799,\\\"../../registry\\\":859,\\\"./attributes\\\":912}],916:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../lib\\\").isArray1D,o=t(\\\"./cheater_basis\\\"),a=t(\\\"./array_minmax\\\"),s=t(\\\"./calc_gridlines\\\"),l=t(\\\"./calc_labels\\\"),u=t(\\\"./calc_clippath\\\"),c=t(\\\"../heatmap/clean_2d_array\\\"),h=t(\\\"./smooth_fill_2d_array\\\"),p=t(\\\"../heatmap/convert_column_xyz\\\"),f=t(\\\"./set_convert\\\");e.exports=function(t,e){var n=r.getFromId(t,e.xaxis),d=r.getFromId(t,e.yaxis),m=e.aaxis,v=e.baxis,g=e.x,y=e.y,_=[];g&&i(g)&&_.push(\\\"x\\\"),y&&i(y)&&_.push(\\\"y\\\"),_.length&&p(e,m,v,\\\"a\\\",\\\"b\\\",_);var b=e._a=e._a||e.a,x=e._b=e._b||e.b;g=e._x||e.x,y=e._y||e.y;var w={};if(e._cheater){var A=\\\"index\\\"===m.cheatertype?b.length:b,C=\\\"index\\\"===v.cheatertype?x.length:x;g=o(A,C,e.cheaterslope)}e._x=g=c(g),e._y=y=c(y),h(g,b,x),h(y,b,x),f(e),e.setScale();var M=a(g),E=a(y),T=.5*(M[1]-M[0]),S=.5*(M[1]+M[0]),k=.5*(E[1]-E[0]),O=.5*(E[1]+E[0]),I=1.3;return M=[S-T*I,S+T*I],E=[O-k*I,O+k*I],e._extremes[n._id]=r.findExtremes(n,M,{padded:!0}),e._extremes[d._id]=r.findExtremes(d,E,{padded:!0}),s(e,\\\"a\\\",\\\"b\\\"),s(e,\\\"b\\\",\\\"a\\\"),l(e,m),l(e,v),w.clipsegments=u(e._xctrl,e._yctrl,m,v),w.x=g,w.y=y,w.a=b,w.b=x,[w]}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../heatmap/clean_2d_array\\\":1015,\\\"../heatmap/convert_column_xyz\\\":1017,\\\"./array_minmax\\\":911,\\\"./calc_clippath\\\":917,\\\"./calc_gridlines\\\":918,\\\"./calc_labels\\\":919,\\\"./cheater_basis\\\":921,\\\"./set_convert\\\":934,\\\"./smooth_fill_2d_array\\\":935}],917:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r){var i,o,a,s=[],l=!!n.smoothing,u=!!r.smoothing,c=t[0].length-1,h=t.length-1;for(i=0,o=[],a=[];i<=c;i++)o[i]=t[0][i],a[i]=e[0][i];for(s.push({x:o,y:a,bicubic:l}),i=0,o=[],a=[];i<=h;i++)o[i]=t[i][c],a[i]=e[i][c];for(s.push({x:o,y:a,bicubic:u}),i=c,o=[],a=[];i>=0;i--)o[c-i]=t[h][i],a[c-i]=e[h][i];for(s.push({x:o,y:a,bicubic:l}),i=h,o=[],a=[];i>=0;i--)o[h-i]=t[i][0],a[h-i]=e[i][0];return s.push({x:o,y:a,bicubic:u}),s}},{}],918:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../lib/extend\\\").extendFlat;e.exports=function(t,e,n){var o,a,s,l,u,c,h,p,f,d,m,v,g,y,_=t[\\\"_\\\"+e],b=t[e+\\\"axis\\\"],x=b._gridlines=[],w=b._minorgridlines=[],A=b._boundarylines=[],C=t[\\\"_\\\"+n],M=t[n+\\\"axis\\\"];\\\"array\\\"===b.tickmode&&(b.tickvals=_.slice());var E=t._xctrl,T=t._yctrl,S=E[0].length,k=E.length,O=t._a.length,I=t._b.length;r.prepTicks(b),\\\"array\\\"===b.tickmode&&delete b.tickvals;var L=b.smoothing?3:1;function P(r){var i,o,a,s,l,u,c,h,f,d,m,v,g=[],y=[],_={};if(\\\"b\\\"===e)for(o=t.b2j(r),a=Math.floor(Math.max(0,Math.min(I-2,o))),s=o-a,_.length=I,_.crossLength=O,_.xy=function(e){return t.evalxy([],e,o)},_.dxy=function(e,n){return t.dxydi([],e,a,n,s)},i=0;i<O;i++)u=Math.min(O-2,i),c=i-u,h=t.evalxy([],i,o),M.smoothing&&i>0&&(f=t.dxydi([],i-1,a,0,s),g.push(l[0]+f[0]/3),y.push(l[1]+f[1]/3),d=t.dxydi([],i-1,a,1,s),g.push(h[0]-d[0]/3),y.push(h[1]-d[1]/3)),g.push(h[0]),y.push(h[1]),l=h;else for(i=t.a2i(r),u=Math.floor(Math.max(0,Math.min(O-2,i))),c=i-u,_.length=O,_.crossLength=I,_.xy=function(e){return t.evalxy([],i,e)},_.dxy=function(e,n){return t.dxydj([],u,e,c,n)},o=0;o<I;o++)a=Math.min(I-2,o),s=o-a,h=t.evalxy([],i,o),M.smoothing&&o>0&&(m=t.dxydj([],u,o-1,c,0),g.push(l[0]+m[0]/3),y.push(l[1]+m[1]/3),v=t.dxydj([],u,o-1,c,1),g.push(h[0]-v[0]/3),y.push(h[1]-v[1]/3)),g.push(h[0]),y.push(h[1]),l=h;return _.axisLetter=e,_.axis=b,_.crossAxis=M,_.value=r,_.constvar=n,_.index=p,_.x=g,_.y=y,_.smoothing=M.smoothing,_}function z(r){var i,o,a,s,l,u=[],c=[],h={};if(h.length=_.length,h.crossLength=C.length,\\\"b\\\"===e)for(a=Math.max(0,Math.min(I-2,r)),l=Math.min(1,Math.max(0,r-a)),h.xy=function(e){return t.evalxy([],e,r)},h.dxy=function(e,n){return t.dxydi([],e,a,n,l)},i=0;i<S;i++)u[i]=E[r*L][i],c[i]=T[r*L][i];else for(o=Math.max(0,Math.min(O-2,r)),s=Math.min(1,Math.max(0,r-o)),h.xy=function(e){return t.evalxy([],r,e)},h.dxy=function(e,n){return t.dxydj([],o,e,s,n)},i=0;i<k;i++)u[i]=E[i][r*L],c[i]=T[i][r*L];return h.axisLetter=e,h.axis=b,h.crossAxis=M,h.value=_[r],h.constvar=n,h.index=r,h.x=u,h.y=c,h.smoothing=M.smoothing,h}if(\\\"array\\\"===b.tickmode){for(l=5e-15,c=(u=[Math.floor((_.length-1-b.arraytick0)/b.arraydtick*(1+l)),Math.ceil(-b.arraytick0/b.arraydtick/(1+l))].sort((function(t,e){return t-e})))[0]-1,h=u[1]+1,p=c;p<h;p++)(a=b.arraytick0+b.arraydtick*p)<0||a>_.length-1||x.push(i(z(a),{color:b.gridcolor,width:b.gridwidth}));for(p=c;p<h;p++)if(s=b.arraytick0+b.arraydtick*p,m=Math.min(s+b.arraydtick,_.length-1),!(s<0||s>_.length-1||m<0||m>_.length-1))for(v=_[s],g=_[m],o=0;o<b.minorgridcount;o++)(y=m-s)<=0||(d=v+(g-v)*(o+1)/(b.minorgridcount+1)*(b.arraydtick/y))<_[0]||d>_[_.length-1]||w.push(i(P(d),{color:b.minorgridcolor,width:b.minorgridwidth}));b.startline&&A.push(i(z(0),{color:b.startlinecolor,width:b.startlinewidth})),b.endline&&A.push(i(z(_.length-1),{color:b.endlinecolor,width:b.endlinewidth}))}else{for(l=5e-15,c=(u=[Math.floor((_[_.length-1]-b.tick0)/b.dtick*(1+l)),Math.ceil((_[0]-b.tick0)/b.dtick/(1+l))].sort((function(t,e){return t-e})))[0],h=u[1],p=c;p<=h;p++)f=b.tick0+b.dtick*p,x.push(i(P(f),{color:b.gridcolor,width:b.gridwidth}));for(p=c-1;p<h+1;p++)for(f=b.tick0+b.dtick*p,o=0;o<b.minorgridcount;o++)(d=f+b.dtick*(o+1)/(b.minorgridcount+1))<_[0]||d>_[_.length-1]||w.push(i(P(d),{color:b.minorgridcolor,width:b.minorgridwidth}));b.startline&&A.push(i(P(_[0]),{color:b.startlinecolor,width:b.startlinewidth})),b.endline&&A.push(i(P(_[_.length-1]),{color:b.endlinecolor,width:b.endlinewidth}))}}},{\\\"../../lib/extend\\\":719,\\\"../../plots/cartesian/axes\\\":776}],919:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../lib/extend\\\").extendFlat;e.exports=function(t,e){var n,o,a,s=e._labels=[],l=e._gridlines;for(n=0;n<l.length;n++)a=l[n],-1!==[\\\"start\\\",\\\"both\\\"].indexOf(e.showticklabels)&&(o=r.tickText(e,a.value),i(o,{prefix:void 0,suffix:void 0,endAnchor:!0,xy:a.xy(0),dxy:a.dxy(0,0),axis:a.axis,length:a.crossAxis.length,font:a.axis.tickfont,isFirst:0===n,isLast:n===l.length-1}),s.push(o)),-1!==[\\\"end\\\",\\\"both\\\"].indexOf(e.showticklabels)&&(o=r.tickText(e,a.value),i(o,{endAnchor:!1,xy:a.xy(a.crossLength-1),dxy:a.dxy(a.crossLength-2,1),axis:a.axis,length:a.crossAxis.length,font:a.axis.tickfont,isFirst:0===n,isLast:n===l.length-1}),s.push(o))}},{\\\"../../lib/extend\\\":719,\\\"../../plots/cartesian/axes\\\":776}],920:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r){var i=t[0]-e[0],o=t[1]-e[1],a=n[0]-e[0],s=n[1]-e[1],l=Math.pow(i*i+o*o,.25),u=Math.pow(a*a+s*s,.25),c=(u*u*i-l*l*a)*r,h=(u*u*o-l*l*s)*r,p=u*(l+u)*3,f=l*(l+u)*3;return[[e[0]+(p&&c/p),e[1]+(p&&h/p)],[e[0]-(f&&c/f),e[1]-(f&&h/f)]]}},{}],921:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").isArrayOrTypedArray;e.exports=function(t,e,n){var i,o,a,s,l,u,c=[],h=r(t)?t.length:t,p=r(e)?e.length:e,f=r(t)?t:null,d=r(e)?e:null;f&&(a=(f.length-1)/(f[f.length-1]-f[0])/(h-1)),d&&(s=(d.length-1)/(d[d.length-1]-d[0])/(p-1));var m=1/0,v=-1/0;for(o=0;o<p;o++)for(c[o]=[],l=d?(d[o]-d[0])*s:o/(p-1),i=0;i<h;i++)u=(f?(f[i]-f[0])*a:i/(h-1))-l*n,m=Math.min(u,m),v=Math.max(u,v),c[o][i]=u;var g=1/(v-m),y=-m*g;for(o=0;o<p;o++)for(i=0;i<h;i++)c[o][i]=g*c[o][i]+y;return c}},{\\\"../../lib\\\":728}],922:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./catmull_rom\\\"),i=t(\\\"../../lib\\\").ensureArray;function o(t,e,n){var r=-.5*n[0]+1.5*e[0],i=-.5*n[1]+1.5*e[1];return[(2*r+t[0])/3,(2*i+t[1])/3]}e.exports=function(t,e,n,a,s,l){var u,c,h,p,f,d,m,v,g,y,_=n[0].length,b=n.length,x=s?3*_-2:_,w=l?3*b-2:b;for(t=i(t,w),e=i(e,w),h=0;h<w;h++)t[h]=i(t[h],x),e[h]=i(e[h],x);for(c=0,p=0;c<b;c++,p+=l?3:1)for(f=t[p],d=e[p],m=n[c],v=a[c],u=0,h=0;u<_;u++,h+=s?3:1)f[h]=m[u],d[h]=v[u];if(s)for(c=0,p=0;c<b;c++,p+=l?3:1){for(u=1,h=3;u<_-1;u++,h+=3)g=r([n[c][u-1],a[c][u-1]],[n[c][u],a[c][u]],[n[c][u+1],a[c][u+1]],s),t[p][h-1]=g[0][0],e[p][h-1]=g[0][1],t[p][h+1]=g[1][0],e[p][h+1]=g[1][1];y=o([t[p][0],e[p][0]],[t[p][2],e[p][2]],[t[p][3],e[p][3]]),t[p][1]=y[0],e[p][1]=y[1],y=o([t[p][x-1],e[p][x-1]],[t[p][x-3],e[p][x-3]],[t[p][x-4],e[p][x-4]]),t[p][x-2]=y[0],e[p][x-2]=y[1]}if(l)for(h=0;h<x;h++){for(p=3;p<w-3;p+=3)g=r([t[p-3][h],e[p-3][h]],[t[p][h],e[p][h]],[t[p+3][h],e[p+3][h]],l),t[p-1][h]=g[0][0],e[p-1][h]=g[0][1],t[p+1][h]=g[1][0],e[p+1][h]=g[1][1];y=o([t[0][h],e[0][h]],[t[2][h],e[2][h]],[t[3][h],e[3][h]]),t[1][h]=y[0],e[1][h]=y[1],y=o([t[w-1][h],e[w-1][h]],[t[w-3][h],e[w-3][h]],[t[w-4][h],e[w-4][h]]),t[w-2][h]=y[0],e[w-2][h]=y[1]}if(s&&l)for(p=1;p<w;p+=(p+1)%3==0?2:1){for(h=3;h<x-3;h+=3)g=r([t[p][h-3],e[p][h-3]],[t[p][h],e[p][h]],[t[p][h+3],e[p][h+3]],s),t[p][h-1]=.5*(t[p][h-1]+g[0][0]),e[p][h-1]=.5*(e[p][h-1]+g[0][1]),t[p][h+1]=.5*(t[p][h+1]+g[1][0]),e[p][h+1]=.5*(e[p][h+1]+g[1][1]);y=o([t[p][0],e[p][0]],[t[p][2],e[p][2]],[t[p][3],e[p][3]]),t[p][1]=.5*(t[p][1]+y[0]),e[p][1]=.5*(e[p][1]+y[1]),y=o([t[p][x-1],e[p][x-1]],[t[p][x-3],e[p][x-3]],[t[p][x-4],e[p][x-4]]),t[p][x-2]=.5*(t[p][x-2]+y[0]),e[p][x-2]=.5*(e[p][x-2]+y[1])}return[t,e]}},{\\\"../../lib\\\":728,\\\"./catmull_rom\\\":920}],923:[function(t,e,n){\\\"use strict\\\";e.exports={RELATIVE_CULL_TOLERANCE:1e-6}},{}],924:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){return e&&n?function(e,n,r,i,o){var a,s,l,u,c,h;e||(e=[]),n*=3,r*=3;var p=i*i,f=1-i,d=f*f,m=f*i*2,v=-3*d,g=3*(d-m),y=3*(m-p),_=3*p,b=o*o,x=b*o,w=1-o,A=w*w,C=A*w;for(h=0;h<t.length;h++)a=v*(c=t[h])[r][n]+g*c[r][n+1]+y*c[r][n+2]+_*c[r][n+3],s=v*c[r+1][n]+g*c[r+1][n+1]+y*c[r+1][n+2]+_*c[r+1][n+3],l=v*c[r+2][n]+g*c[r+2][n+1]+y*c[r+2][n+2]+_*c[r+2][n+3],u=v*c[r+3][n]+g*c[r+3][n+1]+y*c[r+3][n+2]+_*c[r+3][n+3],e[h]=C*a+3*(A*o*s+w*b*l)+x*u;return e}:e?function(e,n,r,i,o){var a,s,l,u;e||(e=[]),n*=3;var c=i*i,h=1-i,p=h*h,f=h*i*2,d=-3*p,m=3*(p-f),v=3*(f-c),g=3*c,y=1-o;for(l=0;l<t.length;l++)a=d*(u=t[l])[r][n]+m*u[r][n+1]+v*u[r][n+2]+g*u[r][n+3],s=d*u[r+1][n]+m*u[r+1][n+1]+v*u[r+1][n+2]+g*u[r+1][n+3],e[l]=y*a+o*s;return e}:n?function(e,n,r,i,o){var a,s,l,u,c,h;e||(e=[]),r*=3;var p=o*o,f=p*o,d=1-o,m=d*d,v=m*d;for(c=0;c<t.length;c++)a=(h=t[c])[r][n+1]-h[r][n],s=h[r+1][n+1]-h[r+1][n],l=h[r+2][n+1]-h[r+2][n],u=h[r+3][n+1]-h[r+3][n],e[c]=v*a+3*(m*o*s+d*p*l)+f*u;return e}:function(e,n,r,i,o){var a,s,l,u;e||(e=[]);var c=1-o;for(l=0;l<t.length;l++)a=(u=t[l])[r][n+1]-u[r][n],s=u[r+1][n+1]-u[r+1][n],e[l]=c*a+o*s;return e}}},{}],925:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){return e&&n?function(e,n,r,i,o){var a,s,l,u,c,h;e||(e=[]),n*=3,r*=3;var p=i*i,f=p*i,d=1-i,m=d*d,v=m*d,g=o*o,y=1-o,_=y*y,b=y*o*2,x=-3*_,w=3*(_-b),A=3*(b-g),C=3*g;for(h=0;h<t.length;h++)a=x*(c=t[h])[r][n]+w*c[r+1][n]+A*c[r+2][n]+C*c[r+3][n],s=x*c[r][n+1]+w*c[r+1][n+1]+A*c[r+2][n+1]+C*c[r+3][n+1],l=x*c[r][n+2]+w*c[r+1][n+2]+A*c[r+2][n+2]+C*c[r+3][n+2],u=x*c[r][n+3]+w*c[r+1][n+3]+A*c[r+2][n+3]+C*c[r+3][n+3],e[h]=v*a+3*(m*i*s+d*p*l)+f*u;return e}:e?function(e,n,r,i,o){var a,s,l,u,c,h;e||(e=[]),n*=3;var p=o*o,f=p*o,d=1-o,m=d*d,v=m*d;for(c=0;c<t.length;c++)a=(h=t[c])[r+1][n]-h[r][n],s=h[r+1][n+1]-h[r][n+1],l=h[r+1][n+2]-h[r][n+2],u=h[r+1][n+3]-h[r][n+3],e[c]=v*a+3*(m*o*s+d*p*l)+f*u;return e}:n?function(e,n,r,i,o){var a,s,l,u;e||(e=[]),r*=3;var c=1-i,h=o*o,p=1-o,f=p*p,d=p*o*2,m=-3*f,v=3*(f-d),g=3*(d-h),y=3*h;for(l=0;l<t.length;l++)a=m*(u=t[l])[r][n]+v*u[r+1][n]+g*u[r+2][n]+y*u[r+3][n],s=m*u[r][n+1]+v*u[r+1][n+1]+g*u[r+2][n+1]+y*u[r+3][n+1],e[l]=c*a+i*s;return e}:function(e,n,r,i,o){var a,s,l,u;e||(e=[]);var c=1-i;for(l=0;l<t.length;l++)a=(u=t[l])[r+1][n]-u[r][n],s=u[r+1][n+1]-u[r][n+1],e[l]=c*a+i*s;return e}}},{}],926:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i){var o=e-2,a=n-2;return r&&i?function(e,n,r){var i,s,l,u,c,h;e||(e=[]);var p=Math.max(0,Math.min(Math.floor(n),o)),f=Math.max(0,Math.min(Math.floor(r),a)),d=Math.max(0,Math.min(1,n-p)),m=Math.max(0,Math.min(1,r-f));p*=3,f*=3;var v=d*d,g=v*d,y=1-d,_=y*y,b=_*y,x=m*m,w=x*m,A=1-m,C=A*A,M=C*A;for(h=0;h<t.length;h++)i=b*(c=t[h])[f][p]+3*(_*d*c[f][p+1]+y*v*c[f][p+2])+g*c[f][p+3],s=b*c[f+1][p]+3*(_*d*c[f+1][p+1]+y*v*c[f+1][p+2])+g*c[f+1][p+3],l=b*c[f+2][p]+3*(_*d*c[f+2][p+1]+y*v*c[f+2][p+2])+g*c[f+2][p+3],u=b*c[f+3][p]+3*(_*d*c[f+3][p+1]+y*v*c[f+3][p+2])+g*c[f+3][p+3],e[h]=M*i+3*(C*m*s+A*x*l)+w*u;return e}:r?function(e,n,r){e||(e=[]);var i,s,l,u,c,h,p=Math.max(0,Math.min(Math.floor(n),o)),f=Math.max(0,Math.min(Math.floor(r),a)),d=Math.max(0,Math.min(1,n-p)),m=Math.max(0,Math.min(1,r-f));p*=3;var v=d*d,g=v*d,y=1-d,_=y*y,b=_*y,x=1-m;for(c=0;c<t.length;c++)i=x*(h=t[c])[f][p]+m*h[f+1][p],s=x*h[f][p+1]+m*h[f+1][p+1],l=x*h[f][p+2]+m*h[f+1][p+1],u=x*h[f][p+3]+m*h[f+1][p+1],e[c]=b*i+3*(_*d*s+y*v*l)+g*u;return e}:i?function(e,n,r){e||(e=[]);var i,s,l,u,c,h,p=Math.max(0,Math.min(Math.floor(n),o)),f=Math.max(0,Math.min(Math.floor(r),a)),d=Math.max(0,Math.min(1,n-p)),m=Math.max(0,Math.min(1,r-f));f*=3;var v=m*m,g=v*m,y=1-m,_=y*y,b=_*y,x=1-d;for(c=0;c<t.length;c++)i=x*(h=t[c])[f][p]+d*h[f][p+1],s=x*h[f+1][p]+d*h[f+1][p+1],l=x*h[f+2][p]+d*h[f+2][p+1],u=x*h[f+3][p]+d*h[f+3][p+1],e[c]=b*i+3*(_*m*s+y*v*l)+g*u;return e}:function(e,n,r){e||(e=[]);var i,s,l,u,c=Math.max(0,Math.min(Math.floor(n),o)),h=Math.max(0,Math.min(Math.floor(r),a)),p=Math.max(0,Math.min(1,n-c)),f=Math.max(0,Math.min(1,r-h)),d=1-f,m=1-p;for(l=0;l<t.length;l++)i=m*(u=t[l])[h][c]+p*u[h][c+1],s=m*u[h+1][c]+p*u[h+1][c+1],e[l]=d*i+f*s;return e}}},{}],927:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./xy_defaults\\\"),o=t(\\\"./ab_defaults\\\"),a=t(\\\"./attributes\\\"),s=t(\\\"../../components/color/attributes\\\");e.exports=function(t,e,n,l){function u(n,i){return r.coerce(t,e,a,n,i)}e._clipPathId=\\\"clip\\\"+e.uid+\\\"carpet\\\";var c=u(\\\"color\\\",s.defaultLine);r.coerceFont(u,\\\"font\\\"),u(\\\"carpet\\\"),o(t,e,l,u,c),e.a&&e.b?(e.a.length<3&&(e.aaxis.smoothing=0),e.b.length<3&&(e.baxis.smoothing=0),i(t,e,u)||(e.visible=!1),e._cheater&&u(\\\"cheaterslope\\\")):e.visible=!1}},{\\\"../../components/color/attributes\\\":594,\\\"../../lib\\\":728,\\\"./ab_defaults\\\":910,\\\"./attributes\\\":912,\\\"./xy_defaults\\\":936}],928:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),plot:t(\\\"./plot\\\"),calc:t(\\\"./calc\\\"),animatable:!0,isContainer:!0,moduleType:\\\"trace\\\",name:\\\"carpet\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"carpet\\\",\\\"carpetAxis\\\",\\\"notLegendIsolatable\\\",\\\"noMultiCategory\\\",\\\"noHover\\\",\\\"noSortingByValue\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"./attributes\\\":912,\\\"./calc\\\":916,\\\"./defaults\\\":927,\\\"./plot\\\":933}],929:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){for(var n,r=t._fullData.length,i=0;i<r;i++){var o=t._fullData[i];if(o.index!==e.index&&\\\"carpet\\\"===o.type&&(n||(n=o),o.carpet===e.carpet))return o}return n}},{}],930:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){if(0===t.length)return\\\"\\\";var r,i=[],o=n?3:1;for(r=0;r<t.length;r+=o)i.push(t[r]+\\\",\\\"+e[r]),n&&r<t.length-o&&(i.push(\\\"C\\\"),i.push([t[r+1]+\\\",\\\"+e[r+1],t[r+2]+\\\",\\\"+e[r+2]+\\\" \\\"].join(\\\" \\\")));return i.join(n?\\\"\\\":\\\"L\\\")}},{}],931:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").isArrayOrTypedArray;e.exports=function(t,e,n){var i;for(r(t)?t.length>e.length&&(t=t.slice(0,e.length)):t=[],i=0;i<e.length;i++)t[i]=n(e[i]);return t}},{\\\"../../lib\\\":728}],932:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i,o){var a=i[0]*t.dpdx(e),s=i[1]*t.dpdy(n),l=1,u=1;if(o){var c=Math.sqrt(i[0]*i[0]+i[1]*i[1]),h=Math.sqrt(o[0]*o[0]+o[1]*o[1]),p=(i[0]*o[0]+i[1]*o[1])/c/h;u=Math.max(0,p)}var f=180*Math.atan2(s,a)/Math.PI;return f<-90?(f+=180,l=-l):f>90&&(f-=180,l=-l),{angle:f,flip:l,p:t.c2p(r,e,n),offsetMultplier:u}}},{}],933:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/drawing\\\"),o=t(\\\"./map_1d_array\\\"),a=t(\\\"./makepath\\\"),s=t(\\\"./orient_text\\\"),l=t(\\\"../../lib/svg_text_utils\\\"),u=t(\\\"../../lib\\\"),c=t(\\\"../../constants/alignment\\\");function h(t,e,n,i,s,l){var u=\\\"const-\\\"+s+\\\"-lines\\\",c=n.selectAll(\\\".\\\"+u).data(l);c.enter().append(\\\"path\\\").classed(u,!0).style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\"),c.each((function(n){var i=n,s=i.x,l=i.y,u=o([],s,t.c2p),c=o([],l,e.c2p),h=\\\"M\\\"+a(u,c,i.smoothing);r.select(this).attr(\\\"d\\\",h).style(\\\"stroke-width\\\",i.width).style(\\\"stroke\\\",i.color).style(\\\"fill\\\",\\\"none\\\")})),c.exit().remove()}function p(t,e,n,o,a,u,c,h){var p=u.selectAll(\\\"text.\\\"+h).data(c);p.enter().append(\\\"text\\\").classed(h,!0);var f=0,d={};return p.each((function(a,u){var c;if(\\\"auto\\\"===a.axis.tickangle)c=s(o,e,n,a.xy,a.dxy);else{var h=(a.axis.tickangle+180)*Math.PI/180;c=s(o,e,n,a.xy,[Math.cos(h),Math.sin(h)])}u||(d={angle:c.angle,flip:c.flip});var p=(a.endAnchor?-1:1)*c.flip,m=r.select(this).attr({\\\"text-anchor\\\":p>0?\\\"start\\\":\\\"end\\\",\\\"data-notex\\\":1}).call(i.font,a.font).text(a.text).call(l.convertToTspans,t),v=i.bBox(this);m.attr(\\\"transform\\\",\\\"translate(\\\"+c.p[0]+\\\",\\\"+c.p[1]+\\\") rotate(\\\"+c.angle+\\\")translate(\\\"+a.axis.labelpadding*p+\\\",\\\"+.3*v.height+\\\")\\\"),f=Math.max(f,v.width+a.axis.labelpadding)})),p.exit().remove(),d.maxExtent=f,d}e.exports=function(t,e,n,i){var l=e.xaxis,c=e.yaxis,f=t._fullLayout._clips;u.makeTraceGroups(i,n,\\\"trace\\\").each((function(e){var n=r.select(this),i=e[0],d=i.trace,v=d.aaxis,g=d.baxis,y=u.ensureSingle(n,\\\"g\\\",\\\"minorlayer\\\"),_=u.ensureSingle(n,\\\"g\\\",\\\"majorlayer\\\"),b=u.ensureSingle(n,\\\"g\\\",\\\"boundarylayer\\\"),x=u.ensureSingle(n,\\\"g\\\",\\\"labellayer\\\");n.style(\\\"opacity\\\",d.opacity),h(l,c,_,0,\\\"a\\\",v._gridlines),h(l,c,_,0,\\\"b\\\",g._gridlines),h(l,c,y,0,\\\"a\\\",v._minorgridlines),h(l,c,y,0,\\\"b\\\",g._minorgridlines),h(l,c,b,0,\\\"a-boundary\\\",v._boundarylines),h(l,c,b,0,\\\"b-boundary\\\",g._boundarylines);var w=p(t,l,c,d,0,x,v._labels,\\\"a-label\\\"),A=p(t,l,c,d,0,x,g._labels,\\\"b-label\\\");(function(t,e,n,r,i,o,a,l){var c,h,p,f,d=u.aggNums(Math.min,null,n.a),v=u.aggNums(Math.max,null,n.a),g=u.aggNums(Math.min,null,n.b),y=u.aggNums(Math.max,null,n.b);c=.5*(d+v),h=g,p=n.ab2xy(c,h,!0),f=n.dxyda_rough(c,h),void 0===a.angle&&u.extendFlat(a,s(n,i,o,p,n.dxydb_rough(c,h))),m(t,e,n,0,p,f,n.aaxis,i,o,a,\\\"a-title\\\"),c=d,h=.5*(g+y),p=n.ab2xy(c,h,!0),f=n.dxydb_rough(c,h),void 0===l.angle&&u.extendFlat(l,s(n,i,o,p,n.dxyda_rough(c,h))),m(t,e,n,0,p,f,n.baxis,i,o,l,\\\"b-title\\\")})(t,x,d,0,l,c,w,A),function(t,e,n,r,i){var s,l,c,h,p=n.select(\\\"#\\\"+t._clipPathId);p.size()||(p=n.append(\\\"clipPath\\\").classed(\\\"carpetclip\\\",!0));var f=u.ensureSingle(p,\\\"path\\\",\\\"carpetboundary\\\"),d=e.clipsegments,m=[];for(h=0;h<d.length;h++)s=d[h],l=o([],s.x,r.c2p),c=o([],s.y,i.c2p),m.push(a(l,c,s.bicubic));var v=\\\"M\\\"+m.join(\\\"L\\\")+\\\"Z\\\";p.attr(\\\"id\\\",t._clipPathId),f.attr(\\\"d\\\",v)}(d,i,f,l,c)}))};var f=c.LINE_SPACING,d=(1-c.MID_SHIFT)/f+1;function m(t,e,n,o,a,u,c,h,p,m,v){var g=[];c.title.text&&g.push(c.title.text);var y=e.selectAll(\\\"text.\\\"+v).data(g),_=m.maxExtent;y.enter().append(\\\"text\\\").classed(v,!0),y.each((function(){var e=s(n,h,p,a,u);-1===[\\\"start\\\",\\\"both\\\"].indexOf(c.showticklabels)&&(_=0);var o=c.title.font.size;_+=o+c.title.offset;var v=(m.angle+(m.flip<0?180:0)-e.angle+450)%360,g=v>90&&v<270,y=r.select(this);y.text(c.title.text).call(l.convertToTspans,t),g&&(_=(-l.lineCount(y)+d)*f*o-_),y.attr(\\\"transform\\\",\\\"translate(\\\"+e.p[0]+\\\",\\\"+e.p[1]+\\\") rotate(\\\"+e.angle+\\\") translate(0,\\\"+_+\\\")\\\").classed(\\\"user-select-none\\\",!0).attr(\\\"text-anchor\\\",\\\"middle\\\").call(i.font,c.title.font)})),y.exit().remove()}},{\\\"../../components/drawing\\\":617,\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"./makepath\\\":930,\\\"./map_1d_array\\\":931,\\\"./orient_text\\\":932,d3:164}],934:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\"),i=t(\\\"../../lib/search\\\").findBin,o=t(\\\"./compute_control_points\\\"),a=t(\\\"./create_spline_evaluator\\\"),s=t(\\\"./create_i_derivative_evaluator\\\"),l=t(\\\"./create_j_derivative_evaluator\\\");e.exports=function(t){var e=t._a,n=t._b,u=e.length,c=n.length,h=t.aaxis,p=t.baxis,f=e[0],d=e[u-1],m=n[0],v=n[c-1],g=e[e.length-1]-e[0],y=n[n.length-1]-n[0],_=g*r.RELATIVE_CULL_TOLERANCE,b=y*r.RELATIVE_CULL_TOLERANCE;f-=_,d+=_,m-=b,v+=b,t.isVisible=function(t,e){return t>f&&t<d&&e>m&&e<v},t.isOccluded=function(t,e){return t<f||t>d||e<m||e>v},t.setScale=function(){var e=t._x,n=t._y,r=o(t._xctrl,t._yctrl,e,n,h.smoothing,p.smoothing);t._xctrl=r[0],t._yctrl=r[1],t.evalxy=a([t._xctrl,t._yctrl],u,c,h.smoothing,p.smoothing),t.dxydi=s([t._xctrl,t._yctrl],h.smoothing,p.smoothing),t.dxydj=l([t._xctrl,t._yctrl],h.smoothing,p.smoothing)},t.i2a=function(t){var n=Math.max(0,Math.floor(t[0]),u-2),r=t[0]-n;return(1-r)*e[n]+r*e[n+1]},t.j2b=function(t){var e=Math.max(0,Math.floor(t[1]),u-2),r=t[1]-e;return(1-r)*n[e]+r*n[e+1]},t.ij2ab=function(e){return[t.i2a(e[0]),t.j2b(e[1])]},t.a2i=function(t){var n=Math.max(0,Math.min(i(t,e),u-2)),r=e[n],o=e[n+1];return Math.max(0,Math.min(u-1,n+(t-r)/(o-r)))},t.b2j=function(t){var e=Math.max(0,Math.min(i(t,n),c-2)),r=n[e],o=n[e+1];return Math.max(0,Math.min(c-1,e+(t-r)/(o-r)))},t.ab2ij=function(e){return[t.a2i(e[0]),t.b2j(e[1])]},t.i2c=function(e,n){return t.evalxy([],e,n)},t.ab2xy=function(r,i,o){if(!o&&(r<e[0]||r>e[u-1]|i<n[0]||i>n[c-1]))return[!1,!1];var a=t.a2i(r),s=t.b2j(i),l=t.evalxy([],a,s);if(o){var h,p,f,d,m=0,v=0,g=[];r<e[0]?(h=0,p=0,m=(r-e[0])/(e[1]-e[0])):r>e[u-1]?(h=u-2,p=1,m=(r-e[u-1])/(e[u-1]-e[u-2])):p=a-(h=Math.max(0,Math.min(u-2,Math.floor(a)))),i<n[0]?(f=0,d=0,v=(i-n[0])/(n[1]-n[0])):i>n[c-1]?(f=c-2,d=1,v=(i-n[c-1])/(n[c-1]-n[c-2])):d=s-(f=Math.max(0,Math.min(c-2,Math.floor(s)))),m&&(t.dxydi(g,h,f,p,d),l[0]+=g[0]*m,l[1]+=g[1]*m),v&&(t.dxydj(g,h,f,p,d),l[0]+=g[0]*v,l[1]+=g[1]*v)}return l},t.c2p=function(t,e,n){return[e.c2p(t[0]),n.c2p(t[1])]},t.p2x=function(t,e,n){return[e.p2c(t[0]),n.p2c(t[1])]},t.dadi=function(t){var n=Math.max(0,Math.min(e.length-2,t));return e[n+1]-e[n]},t.dbdj=function(t){var e=Math.max(0,Math.min(n.length-2,t));return n[e+1]-n[e]},t.dxyda=function(e,n,r,i){var o=t.dxydi(null,e,n,r,i),a=t.dadi(e,r);return[o[0]/a,o[1]/a]},t.dxydb=function(e,n,r,i){var o=t.dxydj(null,e,n,r,i),a=t.dbdj(n,i);return[o[0]/a,o[1]/a]},t.dxyda_rough=function(e,n,r){var i=g*(r||.1),o=t.ab2xy(e+i,n,!0),a=t.ab2xy(e-i,n,!0);return[.5*(o[0]-a[0])/i,.5*(o[1]-a[1])/i]},t.dxydb_rough=function(e,n,r){var i=y*(r||.1),o=t.ab2xy(e,n+i,!0),a=t.ab2xy(e,n-i,!0);return[.5*(o[0]-a[0])/i,.5*(o[1]-a[1])/i]},t.dpdx=function(t){return t._m},t.dpdy=function(t){return t._m}}},{\\\"../../lib/search\\\":747,\\\"./compute_control_points\\\":922,\\\"./constants\\\":923,\\\"./create_i_derivative_evaluator\\\":924,\\\"./create_j_derivative_evaluator\\\":925,\\\"./create_spline_evaluator\\\":926}],935:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e,n){var i,o,a,s=[],l=[],u=t[0].length,c=t.length;function h(e,n){var r,i=0,o=0;return e>0&&void 0!==(r=t[n][e-1])&&(o++,i+=r),e<u-1&&void 0!==(r=t[n][e+1])&&(o++,i+=r),n>0&&void 0!==(r=t[n-1][e])&&(o++,i+=r),n<c-1&&void 0!==(r=t[n+1][e])&&(o++,i+=r),i/Math.max(1,o)}var p,f,d,m,v,g,y,_,b,x,w,A=0;for(i=0;i<u;i++)for(o=0;o<c;o++)void 0===t[o][i]&&(s.push(i),l.push(o),t[o][i]=h(i,o)),A=Math.max(A,Math.abs(t[o][i]));if(!s.length)return t;var C=0,M=0,E=s.length;do{for(C=0,a=0;a<E;a++){i=s[a],o=l[a];var T,S,k,O,I,L,P=0,z=0;0===i?(k=e[I=Math.min(u-1,2)],O=e[1],T=t[o][I],z+=(S=t[o][1])+(S-T)*(e[0]-O)/(O-k),P++):i===u-1&&(k=e[I=Math.max(0,u-3)],O=e[u-2],T=t[o][I],z+=(S=t[o][u-2])+(S-T)*(e[u-1]-O)/(O-k),P++),(0===i||i===u-1)&&o>0&&o<c-1&&(p=n[o+1]-n[o],z+=((f=n[o]-n[o-1])*t[o+1][i]+p*t[o-1][i])/(f+p),P++),0===o?(k=n[L=Math.min(c-1,2)],O=n[1],T=t[L][i],z+=(S=t[1][i])+(S-T)*(n[0]-O)/(O-k),P++):o===c-1&&(k=n[L=Math.max(0,c-3)],O=n[c-2],T=t[L][i],z+=(S=t[c-2][i])+(S-T)*(n[c-1]-O)/(O-k),P++),(0===o||o===c-1)&&i>0&&i<u-1&&(p=e[i+1]-e[i],z+=((f=e[i]-e[i-1])*t[o][i+1]+p*t[o][i-1])/(f+p),P++),P?z/=P:(d=e[i+1]-e[i],m=e[i]-e[i-1],_=(v=n[o+1]-n[o])*(g=n[o]-n[o-1])*(v+g),z=((y=d*m*(d+m))*(g*t[o+1][i]+v*t[o-1][i])+_*(m*t[o][i+1]+d*t[o][i-1]))/(_*(m+d)+y*(g+v))),C+=(x=(b=z-t[o][i])/A)*x,w=P?0:.85,t[o][i]+=b*(1+w)}C=Math.sqrt(C)}while(M++<100&&C>1e-5);return r.log(\\\"Smoother converged to\\\",C,\\\"after\\\",M,\\\"iterations\\\"),t}},{\\\"../../lib\\\":728}],936:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").isArray1D;e.exports=function(t,e,n){var i=n(\\\"x\\\"),o=i&&i.length,a=n(\\\"y\\\"),s=a&&a.length;if(!o&&!s)return!1;if(e._cheater=!i,o&&!r(i)||s&&!r(a))e._length=null;else{var l=o?i.length:1/0;s&&(l=Math.min(l,a.length)),e.a&&e.a.length&&(l=Math.min(l,e.a.length)),e.b&&e.b.length&&(l=Math.min(l,e.b.length)),e._length=l}return!0}},{\\\"../../lib\\\":728}],937:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,i=t(\\\"../scattergeo/attributes\\\"),o=t(\\\"../../components/colorscale/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../components/color/attributes\\\").defaultLine,l=t(\\\"../../lib/extend\\\").extendFlat,u=i.marker.line;e.exports=l({locations:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},locationmode:i.locationmode,z:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},geojson:l({},i.geojson,{}),featureidkey:i.featureidkey,text:l({},i.text,{}),hovertext:l({},i.hovertext,{}),marker:{line:{color:l({},u.color,{dflt:s}),width:l({},u.width,{dflt:1}),editType:\\\"calc\\\"},opacity:{valType:\\\"number\\\",arrayOk:!0,min:0,max:1,dflt:1,editType:\\\"style\\\"},editType:\\\"calc\\\"},selected:{marker:{opacity:i.selected.marker.opacity,editType:\\\"plot\\\"},editType:\\\"plot\\\"},unselected:{marker:{opacity:i.unselected.marker.opacity,editType:\\\"plot\\\"},editType:\\\"plot\\\"},hoverinfo:l({},a.hoverinfo,{editType:\\\"calc\\\",flags:[\\\"location\\\",\\\"z\\\",\\\"text\\\",\\\"name\\\"]}),hovertemplate:r(),showlegend:l({},a.showlegend,{dflt:!1})},o(\\\"\\\",{cLetter:\\\"z\\\",editTypeOverride:\\\"calc\\\"}))},{\\\"../../components/color/attributes\\\":594,\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../scattergeo/attributes\\\":1175}],938:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../constants/numerical\\\").BADNUM,o=t(\\\"../../components/colorscale/calc\\\"),a=t(\\\"../scatter/arrays_to_calcdata\\\"),s=t(\\\"../scatter/calc_selection\\\");function l(t){return t&&\\\"string\\\"==typeof t}e.exports=function(t,e){var n,u=e._length,c=new Array(u);n=e.geojson?function(t){return l(t)||r(t)}:l;for(var h=0;h<u;h++){var p=c[h]={},f=e.locations[h],d=e.z[h];n(f)&&r(d)?(p.loc=f,p.z=d):(p.loc=null,p.z=i),p.index=h}return a(c,e),o(t,e,{vals:e.z,containerStr:\\\"\\\",cLetter:\\\"z\\\"}),s(c,e),c}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../constants/numerical\\\":704,\\\"../scatter/arrays_to_calcdata\\\":1133,\\\"../scatter/calc_selection\\\":1136,\\\"fast-isnumeric\\\":236}],939:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/colorscale/defaults\\\"),o=t(\\\"./attributes\\\");e.exports=function(t,e,n,a){function s(n,i){return r.coerce(t,e,o,n,i)}var l=s(\\\"locations\\\"),u=s(\\\"z\\\");if(l&&l.length&&r.isArrayOrTypedArray(u)&&u.length){e._length=Math.min(l.length,u.length);var c,h=s(\\\"geojson\\\");(\\\"string\\\"==typeof h&&\\\"\\\"!==h||r.isPlainObject(h))&&(c=\\\"geojson-id\\\"),\\\"geojson-id\\\"===s(\\\"locationmode\\\",c)&&s(\\\"featureidkey\\\"),s(\\\"text\\\"),s(\\\"hovertext\\\"),s(\\\"hovertemplate\\\"),s(\\\"marker.line.width\\\")&&s(\\\"marker.line.color\\\"),s(\\\"marker.opacity\\\"),i(t,e,a,s,{prefix:\\\"\\\",cLetter:\\\"z\\\"}),r.coerceSelectionMarkerOpacity(e,s)}else e.visible=!1}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"./attributes\\\":937}],940:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i){t.location=e.location,t.z=e.z;var o=r[i];return o.fIn&&o.fIn.properties&&(t.properties=o.fIn.properties),t.ct=o.ct,t}},{}],941:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"../../lib\\\").fillText;e.exports=function(t,e,n){var a,s,l,u,c=t.cd,h=c[0].trace,p=t.subplot;for(s=0;s<c.length;s++)if(u=!1,(a=c[s])._polygons){for(l=0;l<a._polygons.length;l++)a._polygons[l].contains([e,n])&&(u=!u),a._polygons[l].contains([e+360,n])&&(u=!u);if(u)break}if(u&&a)return t.x0=t.x1=t.xa.c2p(a.ct),t.y0=t.y1=t.ya.c2p(a.ct),t.index=a.index,t.location=a.loc,t.z=a.z,t.zLabel=r.tickText(p.mockAxis,p.mockAxis.c2l(a.z),\\\"hover\\\").text,t.hovertemplate=a.hovertemplate,function(t,e,n){if(!e.hovertemplate){var r=n.hi||e.hoverinfo,a=String(n.loc),s=\\\"all\\\"===r?i.hoverinfo.flags:r.split(\\\"+\\\"),l=-1!==s.indexOf(\\\"name\\\"),u=-1!==s.indexOf(\\\"location\\\"),c=-1!==s.indexOf(\\\"z\\\"),h=-1!==s.indexOf(\\\"text\\\"),p=[];!l&&u?t.nameOverride=a:(l&&(t.nameOverride=e.name),u&&p.push(a)),c&&p.push(t.zLabel),h&&o(n,e,p),t.extraText=p.join(\\\"<br>\\\")}}(t,h,a,p.mockAxis),[t]}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"./attributes\\\":937}],942:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../heatmap/colorbar\\\"),calc:t(\\\"./calc\\\"),calcGeoJSON:t(\\\"./plot\\\").calcGeoJSON,plot:t(\\\"./plot\\\").plot,style:t(\\\"./style\\\").style,styleOnSelect:t(\\\"./style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\"),eventData:t(\\\"./event_data\\\"),selectPoints:t(\\\"./select\\\"),moduleType:\\\"trace\\\",name:\\\"choropleth\\\",basePlotModule:t(\\\"../../plots/geo\\\"),categories:[\\\"geo\\\",\\\"noOpacity\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/geo\\\":808,\\\"../heatmap/colorbar\\\":1016,\\\"./attributes\\\":937,\\\"./calc\\\":938,\\\"./defaults\\\":939,\\\"./event_data\\\":940,\\\"./hover\\\":941,\\\"./plot\\\":943,\\\"./select\\\":944,\\\"./style\\\":945}],943:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../lib/geo_location_utils\\\"),a=t(\\\"../../lib/topojson_utils\\\").getTopojsonFeatures,s=t(\\\"../../plots/cartesian/autorange\\\").findExtremes,l=t(\\\"./style\\\").style;e.exports={calcGeoJSON:function(t,e){for(var n=t[0].trace,r=e[n.geo],i=r._subplot,l=n.locationmode,u=n._length,c=\\\"geojson-id\\\"===l?o.extractTraceFeature(t):a(n,i.topojson),h=[],p=[],f=0;f<u;f++){var d=t[f],m=\\\"geojson-id\\\"===l?d.fOut:o.locationToFeature(l,d.loc,c);if(m){d.geojson=m,d.ct=m.properties.ct,d._polygons=o.feature2polygons(m);var v=o.computeBbox(m);h.push(v[0],v[2]),p.push(v[1],v[3])}else d.geojson=null}if(\\\"geojson\\\"===r.fitbounds&&\\\"geojson-id\\\"===l){var g=o.computeBbox(o.getTraceGeojson(n));h=[g[0],g[2]],p=[g[1],g[3]]}var y={padded:!0};n._extremes.lon=s(r.lonaxis._ax,h,y),n._extremes.lat=s(r.lataxis._ax,p,y)},plot:function(t,e,n){var o=e.layers.backplot.select(\\\".choroplethlayer\\\");i.makeTraceGroups(o,n,\\\"trace choropleth\\\").each((function(e){var n=r.select(this).selectAll(\\\"path.choroplethlocation\\\").data(i.identity);n.enter().append(\\\"path\\\").classed(\\\"choroplethlocation\\\",!0),n.exit().remove(),l(t,e)}))}}},{\\\"../../lib\\\":728,\\\"../../lib/geo_location_utils\\\":722,\\\"../../lib/topojson_utils\\\":755,\\\"../../plots/cartesian/autorange\\\":775,\\\"./style\\\":945,d3:164}],944:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n,r,i,o,a,s=t.cd,l=t.xaxis,u=t.yaxis,c=[];if(!1===e)for(n=0;n<s.length;n++)s[n].selected=0;else for(n=0;n<s.length;n++)(i=(r=s[n]).ct)&&(o=l.c2p(i),a=u.c2p(i),e.contains([o,a],null,n,t)?(c.push({pointNumber:n,lon:i[0],lat:i[1]}),r.selected=1):r.selected=0);return c}},{}],945:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../../components/colorscale\\\");function s(t,e){var n=e[0].trace,s=e[0].node3.selectAll(\\\".choroplethlocation\\\"),l=n.marker||{},u=l.line||{},c=a.makeColorScaleFuncFromTrace(n);s.each((function(t){r.select(this).attr(\\\"fill\\\",c(t.z)).call(i.stroke,t.mlc||u.color).call(o.dashLine,\\\"\\\",t.mlw||u.width||0).style(\\\"opacity\\\",l.opacity)})),o.selectedPointStyle(s,n,t)}e.exports={style:function(t,e){e&&s(t,e)},styleOnSelect:function(t,e){var n=e[0].node3,r=e[0].trace;r.selectedpoints?o.selectedPointStyle(n.selectAll(\\\".choroplethlocation\\\"),r,t):s(t,e)}}},{\\\"../../components/color\\\":595,\\\"../../components/colorscale\\\":607,\\\"../../components/drawing\\\":617,d3:164}],946:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../choropleth/attributes\\\"),i=t(\\\"../../components/colorscale/attributes\\\"),o=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../lib/extend\\\").extendFlat;e.exports=s({locations:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},z:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},geojson:{valType:\\\"any\\\",editType:\\\"calc\\\"},featureidkey:s({},r.featureidkey,{}),below:{valType:\\\"string\\\",editType:\\\"plot\\\"},text:r.text,hovertext:r.hovertext,marker:{line:{color:s({},r.marker.line.color,{editType:\\\"plot\\\"}),width:s({},r.marker.line.width,{editType:\\\"plot\\\"}),editType:\\\"calc\\\"},opacity:s({},r.marker.opacity,{editType:\\\"plot\\\"}),editType:\\\"calc\\\"},selected:{marker:{opacity:s({},r.selected.marker.opacity,{editType:\\\"plot\\\"}),editType:\\\"plot\\\"},editType:\\\"plot\\\"},unselected:{marker:{opacity:s({},r.unselected.marker.opacity,{editType:\\\"plot\\\"}),editType:\\\"plot\\\"},editType:\\\"plot\\\"},hoverinfo:r.hoverinfo,hovertemplate:o({},{keys:[\\\"properties\\\"]}),showlegend:s({},a.showlegend,{dflt:!1})},i(\\\"\\\",{cLetter:\\\"z\\\",editTypeOverride:\\\"calc\\\"}))},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../choropleth/attributes\\\":937}],947:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/colorscale\\\"),a=t(\\\"../../components/drawing\\\"),s=t(\\\"../../lib/geojson_utils\\\").makeBlank,l=t(\\\"../../lib/geo_location_utils\\\");function u(t){var e,n=t[0].trace,r=n._opts;if(n.selectedpoints){for(var o=a.makeSelectedPointStyleFns(n),s=0;s<t.length;s++){var l=t[s];l.fOut&&(l.fOut.properties.mo2=o.selectedOpacityFn(l))}e={type:\\\"identity\\\",property:\\\"mo2\\\"}}else e=i.isArrayOrTypedArray(n.marker.opacity)?{type:\\\"identity\\\",property:\\\"mo\\\"}:n.marker.opacity;return i.extendFlat(r.fill.paint,{\\\"fill-opacity\\\":e}),i.extendFlat(r.line.paint,{\\\"line-opacity\\\":e}),r}e.exports={convert:function(t){var e=t[0].trace,n=!0===e.visible&&0!==e._length,a={layout:{visibility:\\\"none\\\"},paint:{}},c={layout:{visibility:\\\"none\\\"},paint:{}},h=e._opts={fill:a,line:c,geojson:s()};if(!n)return h;var p=l.extractTraceFeature(t);if(!p)return h;var f,d,m,v=o.makeColorScaleFuncFromTrace(e),g=e.marker,y=g.line||{};i.isArrayOrTypedArray(g.opacity)&&(f=function(t){var e=t.mo;return r(e)?+i.constrain(e,0,1):0}),i.isArrayOrTypedArray(y.color)&&(d=function(t){return t.mlc}),i.isArrayOrTypedArray(y.width)&&(m=function(t){return t.mlw});for(var _=0;_<t.length;_++){var b=t[_],x=b.fOut;if(x){var w=x.properties;w.fc=v(b.z),f&&(w.mo=f(b)),d&&(w.mlc=d(b)),m&&(w.mlw=m(b)),b.ct=w.ct,b._polygons=l.feature2polygons(x)}}var A=f?{type:\\\"identity\\\",property:\\\"mo\\\"}:g.opacity;return i.extendFlat(a.paint,{\\\"fill-color\\\":{type:\\\"identity\\\",property:\\\"fc\\\"},\\\"fill-opacity\\\":A}),i.extendFlat(c.paint,{\\\"line-color\\\":d?{type:\\\"identity\\\",property:\\\"mlc\\\"}:y.color,\\\"line-width\\\":m?{type:\\\"identity\\\",property:\\\"mlw\\\"}:y.width,\\\"line-opacity\\\":A}),a.layout.visibility=\\\"visible\\\",c.layout.visibility=\\\"visible\\\",h.geojson={type:\\\"FeatureCollection\\\",features:p},u(t),h},convertOnSelect:u}},{\\\"../../components/colorscale\\\":607,\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/geo_location_utils\\\":722,\\\"../../lib/geojson_utils\\\":723,\\\"fast-isnumeric\\\":236}],948:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/colorscale/defaults\\\"),o=t(\\\"./attributes\\\");e.exports=function(t,e,n,a){function s(n,i){return r.coerce(t,e,o,n,i)}var l=s(\\\"locations\\\"),u=s(\\\"z\\\"),c=s(\\\"geojson\\\");r.isArrayOrTypedArray(l)&&l.length&&r.isArrayOrTypedArray(u)&&u.length&&(\\\"string\\\"==typeof c&&\\\"\\\"!==c||r.isPlainObject(c))?(s(\\\"featureidkey\\\"),e._length=Math.min(l.length,u.length),s(\\\"below\\\"),s(\\\"text\\\"),s(\\\"hovertext\\\"),s(\\\"hovertemplate\\\"),s(\\\"marker.line.width\\\")&&s(\\\"marker.line.color\\\"),s(\\\"marker.opacity\\\"),i(t,e,a,s,{prefix:\\\"\\\",cLetter:\\\"z\\\"}),r.coerceSelectionMarkerOpacity(e,s)):e.visible=!1}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"./attributes\\\":946}],949:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../heatmap/colorbar\\\"),calc:t(\\\"../choropleth/calc\\\"),plot:t(\\\"./plot\\\"),hoverPoints:t(\\\"../choropleth/hover\\\"),eventData:t(\\\"../choropleth/event_data\\\"),selectPoints:t(\\\"../choropleth/select\\\"),styleOnSelect:function(t,e){e&&e[0].trace._glTrace.updateOnSelect(e)},getBelow:function(t,e){for(var n=e.getMapLayers(),r=n.length-2;r>=0;r--){var i=n[r].id;if(\\\"string\\\"==typeof i&&0===i.indexOf(\\\"water\\\"))for(var o=r+1;o<n.length;o++)if(\\\"string\\\"==typeof(i=n[o].id)&&-1===i.indexOf(\\\"plotly-\\\"))return i}},moduleType:\\\"trace\\\",name:\\\"choroplethmapbox\\\",basePlotModule:t(\\\"../../plots/mapbox\\\"),categories:[\\\"mapbox\\\",\\\"gl\\\",\\\"noOpacity\\\",\\\"showLegend\\\"],meta:{hr_name:\\\"choropleth_mapbox\\\"}}},{\\\"../../plots/mapbox\\\":833,\\\"../choropleth/calc\\\":938,\\\"../choropleth/event_data\\\":940,\\\"../choropleth/hover\\\":941,\\\"../choropleth/select\\\":944,\\\"../heatmap/colorbar\\\":1016,\\\"./attributes\\\":946,\\\"./defaults\\\":948,\\\"./plot\\\":950}],950:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./convert\\\").convert,i=t(\\\"./convert\\\").convertOnSelect,o=t(\\\"../../plots/mapbox/constants\\\").traceLayerPrefix;function a(t,e){this.type=\\\"choroplethmapbox\\\",this.subplot=t,this.uid=e,this.sourceId=\\\"source-\\\"+e,this.layerList=[[\\\"fill\\\",o+e+\\\"-fill\\\"],[\\\"line\\\",o+e+\\\"-line\\\"]],this.below=null}var s=a.prototype;s.update=function(t){this._update(r(t))},s.updateOnSelect=function(t){this._update(i(t))},s._update=function(t){var e=this.subplot,n=this.layerList,r=e.belowLookup[\\\"trace-\\\"+this.uid];e.map.getSource(this.sourceId).setData(t.geojson),r!==this.below&&(this._removeLayers(),this._addLayers(t,r),this.below=r);for(var i=0;i<n.length;i++){var o=n[i],a=o[0],s=o[1],l=t[a];e.setOptions(s,\\\"setLayoutProperty\\\",l.layout),\\\"visible\\\"===l.layout.visibility&&e.setOptions(s,\\\"setPaintProperty\\\",l.paint)}},s._addLayers=function(t,e){for(var n=this.subplot,r=this.layerList,i=this.sourceId,o=0;o<r.length;o++){var a=r[o],s=a[0],l=t[s];n.addLayer({type:s,id:a[1],source:i,layout:l.layout,paint:l.paint},e)}},s._removeLayers=function(){for(var t=this.subplot.map,e=this.layerList,n=e.length-1;n>=0;n--)t.removeLayer(e[n][1])},s.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},e.exports=function(t,e){var n=e[0].trace,i=new a(t,n.uid),o=i.sourceId,s=r(e),l=i.below=t.belowLookup[\\\"trace-\\\"+n.uid];return t.map.addSource(o,{type:\\\"geojson\\\",data:s.geojson}),i._addLayers(s,l),e[0].trace._glTrace=i,i}},{\\\"../../plots/mapbox/constants\\\":831,\\\"./convert\\\":947}],951:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../mesh3d/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../lib/extend\\\").extendFlat,l={x:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},y:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},z:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},u:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},v:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},w:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},sizemode:{valType:\\\"enumerated\\\",values:[\\\"scaled\\\",\\\"absolute\\\"],editType:\\\"calc\\\",dflt:\\\"scaled\\\"},sizeref:{valType:\\\"number\\\",editType:\\\"calc\\\",min:0},anchor:{valType:\\\"enumerated\\\",editType:\\\"calc\\\",values:[\\\"tip\\\",\\\"tail\\\",\\\"cm\\\",\\\"center\\\"],dflt:\\\"cm\\\"},text:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"calc\\\"},hovertext:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"calc\\\"},hovertemplate:i({editType:\\\"calc\\\"},{keys:[\\\"norm\\\"]}),showlegend:s({},a.showlegend,{dflt:!1})};s(l,r(\\\"\\\",{colorAttr:\\\"u/v/w norm\\\",showScaleDflt:!0,editTypeOverride:\\\"calc\\\"})),[\\\"opacity\\\",\\\"lightposition\\\",\\\"lighting\\\"].forEach((function(t){l[t]=o[t]})),l.hoverinfo=s({},a.hoverinfo,{editType:\\\"calc\\\",flags:[\\\"x\\\",\\\"y\\\",\\\"z\\\",\\\"u\\\",\\\"v\\\",\\\"w\\\",\\\"norm\\\",\\\"text\\\",\\\"name\\\"],dflt:\\\"x+y+z+norm+text+name\\\"}),l.transforms=void 0,e.exports=l},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../mesh3d/attributes\\\":1075}],952:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/calc\\\");e.exports=function(t,e){for(var n=e.u,i=e.v,o=e.w,a=Math.min(e.x.length,e.y.length,e.z.length,n.length,i.length,o.length),s=-1/0,l=1/0,u=0;u<a;u++){var c=n[u],h=i[u],p=o[u],f=Math.sqrt(c*c+h*h+p*p);s=Math.max(s,f),l=Math.min(l,f)}e._len=a,e._normMax=s,r(t,e,{vals:[l,s],containerStr:\\\"\\\",cLetter:\\\"c\\\"})}},{\\\"../../components/colorscale/calc\\\":603}],953:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-cone3d\\\"),i=t(\\\"gl-cone3d\\\").createConeMesh,o=t(\\\"../../lib\\\").simpleMap,a=t(\\\"../../lib/gl_format_color\\\").parseColorScale,s=t(\\\"../../components/colorscale\\\").extractOpts,l=t(\\\"../../plots/gl3d/zip3\\\");function u(t,e){this.scene=t,this.uid=e,this.mesh=null,this.data=null}var c=u.prototype;c.handlePick=function(t){if(t.object===this.mesh){var e=t.index=t.data.index,n=this.data.x[e],r=this.data.y[e],i=this.data.z[e],o=this.data.u[e],a=this.data.v[e],s=this.data.w[e];t.traceCoordinate=[n,r,i,o,a,s,Math.sqrt(o*o+a*a+s*s)];var l=this.data.hovertext||this.data.text;return Array.isArray(l)&&void 0!==l[e]?t.textLabel=l[e]:l&&(t.textLabel=l),!0}};var h={xaxis:0,yaxis:1,zaxis:2},p={tip:1,tail:0,cm:.25,center:.5},f={tip:1,tail:1,cm:.75,center:.5};function d(t,e){var n=t.fullSceneLayout,i=t.dataScale,u={};function c(t,e){var r=n[e],a=i[h[e]];return o(t,(function(t){return r.d2l(t)*a}))}u.vectors=l(c(e.u,\\\"xaxis\\\"),c(e.v,\\\"yaxis\\\"),c(e.w,\\\"zaxis\\\"),e._len),u.positions=l(c(e.x,\\\"xaxis\\\"),c(e.y,\\\"yaxis\\\"),c(e.z,\\\"zaxis\\\"),e._len);var d=s(e);u.colormap=a(e),u.vertexIntensityBounds=[d.min/e._normMax,d.max/e._normMax],u.coneOffset=p[e.anchor],\\\"scaled\\\"===e.sizemode?u.coneSize=e.sizeref||.5:u.coneSize=e.sizeref&&e._normMax?e.sizeref/e._normMax:.5;var m=r(u),v=e.lightposition;return m.lightPosition=[v.x,v.y,v.z],m.ambient=e.lighting.ambient,m.diffuse=e.lighting.diffuse,m.specular=e.lighting.specular,m.roughness=e.lighting.roughness,m.fresnel=e.lighting.fresnel,m.opacity=e.opacity,e._pad=f[e.anchor]*m.vectorScale*m.coneScale*e._normMax,m}c.update=function(t){this.data=t;var e=d(this.scene,t);this.mesh.update(e)},c.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(t,e){var n=t.glplot.gl,r=d(t,e),o=i(n,r),a=new u(t,e.uid);return a.mesh=o,a.data=e,o._trace=a,t.glplot.add(o),a}},{\\\"../../components/colorscale\\\":607,\\\"../../lib\\\":728,\\\"../../lib/gl_format_color\\\":725,\\\"../../plots/gl3d/zip3\\\":829,\\\"gl-cone3d\\\":254}],954:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/colorscale/defaults\\\"),o=t(\\\"./attributes\\\");e.exports=function(t,e,n,a){function s(n,i){return r.coerce(t,e,o,n,i)}var l=s(\\\"u\\\"),u=s(\\\"v\\\"),c=s(\\\"w\\\"),h=s(\\\"x\\\"),p=s(\\\"y\\\"),f=s(\\\"z\\\");l&&l.length&&u&&u.length&&c&&c.length&&h&&h.length&&p&&p.length&&f&&f.length?(s(\\\"sizeref\\\"),s(\\\"sizemode\\\"),s(\\\"anchor\\\"),s(\\\"lighting.ambient\\\"),s(\\\"lighting.diffuse\\\"),s(\\\"lighting.specular\\\"),s(\\\"lighting.roughness\\\"),s(\\\"lighting.fresnel\\\"),s(\\\"lightposition.x\\\"),s(\\\"lightposition.y\\\"),s(\\\"lightposition.z\\\"),i(t,e,a,s,{prefix:\\\"\\\",cLetter:\\\"c\\\"}),s(\\\"text\\\"),s(\\\"hovertext\\\"),s(\\\"hovertemplate\\\"),e._length=null):e.visible=!1}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"./attributes\\\":951}],955:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"cone\\\",basePlotModule:t(\\\"../../plots/gl3d\\\"),categories:[\\\"gl3d\\\",\\\"showLegend\\\"],attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:{min:\\\"cmin\\\",max:\\\"cmax\\\"},calc:t(\\\"./calc\\\"),plot:t(\\\"./convert\\\"),eventData:function(t,e){return t.norm=e.traceCoordinate[6],t},meta:{}}},{\\\"../../plots/gl3d\\\":818,\\\"./attributes\\\":951,\\\"./calc\\\":952,\\\"./convert\\\":953,\\\"./defaults\\\":954}],956:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../heatmap/attributes\\\"),i=t(\\\"../scatter/attributes\\\"),o=t(\\\"../../components/colorscale/attributes\\\"),a=t(\\\"../../components/drawing/attributes\\\").dash,s=t(\\\"../../plots/font_attributes\\\"),l=t(\\\"../../lib/extend\\\").extendFlat,u=t(\\\"../../constants/filter_ops\\\"),c=u.COMPARISON_OPS2,h=u.INTERVAL_OPS,p=(t(\\\"../../constants/docs\\\").FORMAT_LINK,i.line);e.exports=l({z:r.z,x:r.x,x0:r.x0,dx:r.dx,y:r.y,y0:r.y0,dy:r.dy,text:r.text,hovertext:r.hovertext,transpose:r.transpose,xtype:r.xtype,ytype:r.ytype,zhoverformat:r.zhoverformat,hovertemplate:r.hovertemplate,hoverongaps:r.hoverongaps,connectgaps:l({},r.connectgaps,{}),fillcolor:{valType:\\\"color\\\",editType:\\\"calc\\\"},autocontour:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\",impliedEdits:{\\\"contours.start\\\":void 0,\\\"contours.end\\\":void 0,\\\"contours.size\\\":void 0}},ncontours:{valType:\\\"integer\\\",dflt:15,min:1,editType:\\\"calc\\\"},contours:{type:{valType:\\\"enumerated\\\",values:[\\\"levels\\\",\\\"constraint\\\"],dflt:\\\"levels\\\",editType:\\\"calc\\\"},start:{valType:\\\"number\\\",dflt:null,editType:\\\"plot\\\",impliedEdits:{\\\"^autocontour\\\":!1}},end:{valType:\\\"number\\\",dflt:null,editType:\\\"plot\\\",impliedEdits:{\\\"^autocontour\\\":!1}},size:{valType:\\\"number\\\",dflt:null,min:0,editType:\\\"plot\\\",impliedEdits:{\\\"^autocontour\\\":!1}},coloring:{valType:\\\"enumerated\\\",values:[\\\"fill\\\",\\\"heatmap\\\",\\\"lines\\\",\\\"none\\\"],dflt:\\\"fill\\\",editType:\\\"calc\\\"},showlines:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},showlabels:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"plot\\\"},labelfont:s({editType:\\\"plot\\\",colorEditType:\\\"style\\\"}),labelformat:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"plot\\\"},operation:{valType:\\\"enumerated\\\",values:[].concat(c).concat(h),dflt:\\\"=\\\",editType:\\\"calc\\\"},value:{valType:\\\"any\\\",dflt:0,editType:\\\"calc\\\"},editType:\\\"calc\\\",impliedEdits:{autocontour:!1}},line:{color:l({},p.color,{editType:\\\"style+colorbars\\\"}),width:{valType:\\\"number\\\",min:0,editType:\\\"style+colorbars\\\"},dash:a,smoothing:l({},p.smoothing,{}),editType:\\\"plot\\\"}},o(\\\"\\\",{cLetter:\\\"z\\\",autoColorDflt:!1,editTypeOverride:\\\"calc\\\"}))},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../components/drawing/attributes\\\":616,\\\"../../constants/docs\\\":699,\\\"../../constants/filter_ops\\\":700,\\\"../../lib/extend\\\":719,\\\"../../plots/font_attributes\\\":804,\\\"../heatmap/attributes\\\":1013,\\\"../scatter/attributes\\\":1134}],957:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale\\\"),i=t(\\\"../heatmap/calc\\\"),o=t(\\\"./set_contours\\\"),a=t(\\\"./end_plus\\\");e.exports=function(t,e){var n=i(t,e),s=n[0].z;o(e,s);var l,u=e.contours,c=r.extractOpts(e);if(\\\"heatmap\\\"===u.coloring&&c.auto&&!1===e.autocontour){var h=u.start,p=a(u),f=u.size||1,d=Math.floor((p-h)/f)+1;isFinite(f)||(f=1,d=1);var m=h-f/2;l=[m,m+d*f]}else l=s;return r.calc(t,e,{vals:l,cLetter:\\\"z\\\"}),n}},{\\\"../../components/colorscale\\\":607,\\\"../heatmap/calc\\\":1014,\\\"./end_plus\\\":967,\\\"./set_contours\\\":975}],958:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n,r=t[0],i=r.z;switch(e.type){case\\\"levels\\\":var o=Math.min(i[0][0],i[0][1]);for(n=0;n<t.length;n++){var a=t[n];a.prefixBoundary=!a.edgepaths.length&&(o>a.level||a.starts.length&&o===a.level)}break;case\\\"constraint\\\":if(r.prefixBoundary=!1,r.edgepaths.length)return;var s=r.x.length,l=r.y.length,u=-1/0,c=1/0;for(n=0;n<l;n++)c=Math.min(c,i[n][0]),c=Math.min(c,i[n][s-1]),u=Math.max(u,i[n][0]),u=Math.max(u,i[n][s-1]);for(n=1;n<s-1;n++)c=Math.min(c,i[0][n]),c=Math.min(c,i[l-1][n]),u=Math.max(u,i[0][n]),u=Math.max(u,i[l-1][n]);var h,p,f=e.value;switch(e._operation){case\\\">\\\":f>u&&(r.prefixBoundary=!0);break;case\\\"<\\\":(f<c||r.starts.length&&f===c)&&(r.prefixBoundary=!0);break;case\\\"[]\\\":h=Math.min(f[0],f[1]),((p=Math.max(f[0],f[1]))<c||h>u||r.starts.length&&p===c)&&(r.prefixBoundary=!0);break;case\\\"][\\\":h=Math.min(f[0],f[1]),p=Math.max(f[0],f[1]),h<c&&p>u&&(r.prefixBoundary=!0)}}}},{}],959:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale\\\"),i=t(\\\"./make_color_map\\\"),o=t(\\\"./end_plus\\\");e.exports={min:\\\"zmin\\\",max:\\\"zmax\\\",calc:function(t,e,n){var a=e.contours,s=e.line,l=a.size||1,u=a.coloring,c=i(e,{isColorbar:!0});if(\\\"heatmap\\\"===u){var h=r.extractOpts(e);n._fillgradient=h.reversescale?r.flipScale(h.colorscale):h.colorscale,n._zrange=[h.min,h.max]}else\\\"fill\\\"===u&&(n._fillcolor=c);n._line={color:\\\"lines\\\"===u?c:s.color,width:!1!==a.showlines?s.width:0,dash:s.dash},n._levels={start:a.start,end:o(a),size:l}}}},{\\\"../../components/colorscale\\\":607,\\\"./end_plus\\\":967,\\\"./make_color_map\\\":972}],960:[function(t,e,n){\\\"use strict\\\";e.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},{}],961:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"./label_defaults\\\"),o=t(\\\"../../components/color\\\"),a=o.addOpacity,s=o.opacity,l=t(\\\"../../constants/filter_ops\\\"),u=l.CONSTRAINT_REDUCTION,c=l.COMPARISON_OPS2;e.exports=function(t,e,n,o,l,h){var p,f,d,m=e.contours,v=n(\\\"contours.operation\\\");m._operation=u[v],function(t,e){var n;-1===c.indexOf(e.operation)?(t(\\\"contours.value\\\",[0,1]),Array.isArray(e.value)?e.value.length>2?e.value=e.value.slice(2):0===e.length?e.value=[0,1]:e.length<2?(n=parseFloat(e.value[0]),e.value=[n,n+1]):e.value=[parseFloat(e.value[0]),parseFloat(e.value[1])]:r(e.value)&&(n=parseFloat(e.value),e.value=[n,n+1])):(t(\\\"contours.value\\\",0),r(e.value)||(Array.isArray(e.value)?e.value=parseFloat(e.value[0]):e.value=0))}(n,m),\\\"=\\\"===v?p=m.showlines=!0:(p=n(\\\"contours.showlines\\\"),d=n(\\\"fillcolor\\\",a((t.line||{}).color||l,.5))),p&&(f=n(\\\"line.color\\\",d&&s(d)?a(e.fillcolor,1):l),n(\\\"line.width\\\",2),n(\\\"line.dash\\\")),n(\\\"line.smoothing\\\"),i(n,o,f,h)}},{\\\"../../components/color\\\":595,\\\"../../constants/filter_ops\\\":700,\\\"./label_defaults\\\":971,\\\"fast-isnumeric\\\":236}],962:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../constants/filter_ops\\\"),i=t(\\\"fast-isnumeric\\\");function o(t,e){var n,o=Array.isArray(e);function a(t){return i(t)?+t:null}return-1!==r.COMPARISON_OPS2.indexOf(t)?n=a(o?e[0]:e):-1!==r.INTERVAL_OPS.indexOf(t)?n=o?[a(e[0]),a(e[1])]:[a(e),a(e)]:-1!==r.SET_OPS.indexOf(t)&&(n=o?e.map(a):[a(e)]),n}function a(t){return function(e){e=o(t,e);var n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]);return{start:n,end:r,size:r-n}}}function s(t){return function(e){return{start:e=o(t,e),end:1/0,size:1/0}}}e.exports={\\\"[]\\\":a(\\\"[]\\\"),\\\"][\\\":a(\\\"][\\\"),\\\">\\\":s(\\\">\\\"),\\\"<\\\":s(\\\"<\\\"),\\\"=\\\":s(\\\"=\\\")}},{\\\"../../constants/filter_ops\\\":700,\\\"fast-isnumeric\\\":236}],963:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r){var i=r(\\\"contours.start\\\"),o=r(\\\"contours.end\\\"),a=!1===i||!1===o,s=n(\\\"contours.size\\\");!(a?e.autocontour=!0:n(\\\"autocontour\\\",!1))&&s||n(\\\"ncontours\\\")}},{}],964:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");function i(t){return r.extendFlat({},t,{edgepaths:r.extendDeep([],t.edgepaths),paths:r.extendDeep([],t.paths),starts:r.extendDeep([],t.starts)})}e.exports=function(t,e){var n,o,a,s=function(t){return t.reverse()},l=function(t){return t};switch(e){case\\\"=\\\":case\\\"<\\\":return t;case\\\">\\\":for(1!==t.length&&r.warn(\\\"Contour data invalid for the specified inequality operation.\\\"),o=t[0],n=0;n<o.edgepaths.length;n++)o.edgepaths[n]=s(o.edgepaths[n]);for(n=0;n<o.paths.length;n++)o.paths[n]=s(o.paths[n]);for(n=0;n<o.starts.length;n++)o.starts[n]=s(o.starts[n]);return t;case\\\"][\\\":var u=s;s=l,l=u;case\\\"[]\\\":for(2!==t.length&&r.warn(\\\"Contour data invalid for the specified inequality range operation.\\\"),o=i(t[0]),a=i(t[1]),n=0;n<o.edgepaths.length;n++)o.edgepaths[n]=s(o.edgepaths[n]);for(n=0;n<o.paths.length;n++)o.paths[n]=s(o.paths[n]);for(n=0;n<o.starts.length;n++)o.starts[n]=s(o.starts[n]);for(;a.edgepaths.length;)o.edgepaths.push(l(a.edgepaths.shift()));for(;a.paths.length;)o.paths.push(l(a.paths.shift()));for(;a.starts.length;)o.starts.push(l(a.starts.shift()));return[o]}}},{\\\"../../lib\\\":728}],965:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../heatmap/xyz_defaults\\\"),o=t(\\\"./constraint_defaults\\\"),a=t(\\\"./contours_defaults\\\"),s=t(\\\"./style_defaults\\\"),l=t(\\\"./attributes\\\");e.exports=function(t,e,n,u){function c(n,i){return r.coerce(t,e,l,n,i)}if(i(t,e,c,u)){c(\\\"text\\\"),c(\\\"hovertext\\\"),c(\\\"hovertemplate\\\"),c(\\\"hoverongaps\\\");var h=\\\"constraint\\\"===c(\\\"contours.type\\\");c(\\\"connectgaps\\\",r.isArray1D(e.z)),h?o(t,e,c,u,n):(a(t,e,c,(function(n){return r.coerce2(t,e,l,n)})),s(t,e,c,u))}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"../heatmap/xyz_defaults\\\":1027,\\\"./attributes\\\":956,\\\"./constraint_defaults\\\":961,\\\"./contours_defaults\\\":963,\\\"./style_defaults\\\":977}],966:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./constraint_mapping\\\"),o=t(\\\"./end_plus\\\");e.exports=function(t,e,n){for(var a=\\\"constraint\\\"===t.type?i[t._operation](t.value):t,s=a.size,l=[],u=o(a),c=n.trace._carpetTrace,h=c?{xaxis:c.aaxis,yaxis:c.baxis,x:n.a,y:n.b}:{xaxis:e.xaxis,yaxis:e.yaxis,x:n.x,y:n.y},p=a.start;p<u;p+=s)if(l.push(r.extendFlat({level:p,crossings:{},starts:[],edgepaths:[],paths:[],z:n.z,smoothing:n.trace.line.smoothing},h)),l.length>1e3){r.warn(\\\"Too many contours, clipping at 1000\\\",t);break}return l}},{\\\"../../lib\\\":728,\\\"./constraint_mapping\\\":962,\\\"./end_plus\\\":967}],967:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){return t.end+t.size/1e6}},{}],968:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./constants\\\");function o(t,e,n,r){return Math.abs(t[0]-e[0])<n&&Math.abs(t[1]-e[1])<r}function a(t,e,n,a,l){var u,c=e.join(\\\",\\\"),h=t.crossings[c],p=function(t,e,n){var r=0,o=0;return t>20&&e?208===t||1114===t?r=0===n[0]?1:-1:o=0===n[1]?1:-1:-1!==i.BOTTOMSTART.indexOf(t)?o=1:-1!==i.LEFTSTART.indexOf(t)?r=1:-1!==i.TOPSTART.indexOf(t)?o=-1:r=-1,[r,o]}(h,n,e),f=[s(t,e,[-p[0],-p[1]])],d=t.z.length,m=t.z[0].length,v=e.slice(),g=p.slice();for(u=0;u<1e4;u++){if(h>20?(h=i.CHOOSESADDLE[h][(p[0]||p[1])<0?0:1],t.crossings[c]=i.SADDLEREMAINDER[h]):delete t.crossings[c],!(p=i.NEWDELTA[h])){r.log(\\\"Found bad marching index:\\\",h,e,t.level);break}f.push(s(t,e,p)),e[0]+=p[0],e[1]+=p[1],c=e.join(\\\",\\\"),o(f[f.length-1],f[f.length-2],a,l)&&f.pop();var y=p[0]&&(e[0]<0||e[0]>m-2)||p[1]&&(e[1]<0||e[1]>d-2);if(e[0]===v[0]&&e[1]===v[1]&&p[0]===g[0]&&p[1]===g[1]||n&&y)break;h=t.crossings[c]}1e4===u&&r.log(\\\"Infinite loop in contour?\\\");var _,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z=o(f[0],f[f.length-1],a,l),R=0,D=.2*t.smoothing,$=[],B=0;for(u=1;u<f.length;u++)R+=(O=f[u],I=f[u-1],L=void 0,P=void 0,L=O[2]-I[2],P=O[3]-I[3],M=Math.sqrt(L*L+P*P)),$.push(M);var N=R/$.length*D;function F(t){return f[t%f.length]}for(u=f.length-2;u>=B;u--)if((_=$[u])<N){for(x=0,b=u-1;b>=B&&_+$[b]<N;b--)_+=$[b];if(z&&u===f.length-2)for(x=0;x<b&&_+$[x]<N;x++)_+=$[x];A=u-b+x+1,C=Math.floor((u+b+x+2)/2),w=z||u!==f.length-2?z||-1!==b?A%2?F(C):[(F(C)[0]+F(C+1)[0])/2,(F(C)[1]+F(C+1)[1])/2]:f[0]:f[f.length-1],f.splice(b+1,u-b+1,w),u=b+1,x&&(B=x),z&&(u===f.length-2?f[x]=f[f.length-1]:0===u&&(f[f.length-1]=f[0]))}for(f.splice(0,B),u=0;u<f.length;u++)f[u].length=2;if(!(f.length<2))if(z)f.pop(),t.paths.push(f);else{n||r.log(\\\"Unclosed interior contour?\\\",t.level,v.join(\\\",\\\"),f.join(\\\"L\\\"));var j=!1;for(E=0;E<t.edgepaths.length;E++)if(S=t.edgepaths[E],!j&&o(S[0],f[f.length-1],a,l)){f.pop(),j=!0;var U=!1;for(T=0;T<t.edgepaths.length;T++)if(o((k=t.edgepaths[T])[k.length-1],f[0],a,l)){U=!0,f.shift(),t.edgepaths.splice(E,1),T===E?t.paths.push(f.concat(k)):(T>E&&T--,t.edgepaths[T]=k.concat(f,S));break}U||(t.edgepaths[E]=f.concat(S))}for(E=0;E<t.edgepaths.length&&!j;E++)o((S=t.edgepaths[E])[S.length-1],f[0],a,l)&&(f.shift(),t.edgepaths[E]=S.concat(f),j=!0);j||t.edgepaths.push(f)}}function s(t,e,n){var r=e[0]+Math.max(n[0],0),i=e[1]+Math.max(n[1],0),o=t.z[i][r],a=t.xaxis,s=t.yaxis;if(n[1]){var l=(t.level-o)/(t.z[i][r+1]-o);return[a.c2p((1-l)*t.x[r]+l*t.x[r+1],!0),s.c2p(t.y[i],!0),r+l,i]}var u=(t.level-o)/(t.z[i+1][r]-o);return[a.c2p(t.x[r],!0),s.c2p((1-u)*t.y[i]+u*t.y[i+1],!0),r,i+u]}e.exports=function(t,e,n){var i,o,s,l;for(e=e||.01,n=n||.01,o=0;o<t.length;o++){for(s=t[o],l=0;l<s.starts.length;l++)a(s,s.starts[l],\\\"edge\\\",e,n);for(i=0;Object.keys(s.crossings).length&&i<1e4;)i++,a(s,Object.keys(s.crossings)[0].split(\\\",\\\").map(Number),void 0,e,n);1e4===i&&r.log(\\\"Infinite loop in contour?\\\")}}},{\\\"../../lib\\\":728,\\\"./constants\\\":960}],969:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\"),i=t(\\\"../heatmap/hover\\\");e.exports=function(t,e,n,o,a){var s=i(t,e,n,o,a,!0);return s&&s.forEach((function(t){var e=t.trace;\\\"constraint\\\"===e.contours.type&&(e.fillcolor&&r.opacity(e.fillcolor)?t.color=r.addOpacity(e.fillcolor,1):e.contours.showlines&&r.opacity(e.line.color)&&(t.color=r.addOpacity(e.line.color,1)))})),s}},{\\\"../../components/color\\\":595,\\\"../heatmap/hover\\\":1020}],970:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\").plot,style:t(\\\"./style\\\"),colorbar:t(\\\"./colorbar\\\"),hoverPoints:t(\\\"./hover\\\"),moduleType:\\\"trace\\\",name:\\\"contour\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"2dMap\\\",\\\"contour\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"./attributes\\\":956,\\\"./calc\\\":957,\\\"./colorbar\\\":959,\\\"./defaults\\\":965,\\\"./hover\\\":969,\\\"./plot\\\":974,\\\"./style\\\":976}],971:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e,n,i){if(i||(i={}),t(\\\"contours.showlabels\\\")){var o=e.font;r.coerceFont(t,\\\"contours.labelfont\\\",{family:o.family,size:o.size,color:n}),t(\\\"contours.labelformat\\\")}!1!==i.hasHover&&t(\\\"zhoverformat\\\")}},{\\\"../../lib\\\":728}],972:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/colorscale\\\"),o=t(\\\"./end_plus\\\");e.exports=function(t){var e=t.contours,n=e.start,a=o(e),s=e.size||1,l=Math.floor((a-n)/s)+1,u=\\\"lines\\\"===e.coloring?0:1,c=i.extractOpts(t);isFinite(s)||(s=1,l=1);var h,p,f=c.reversescale?i.flipScale(c.colorscale):c.colorscale,d=f.length,m=new Array(d),v=new Array(d);if(\\\"heatmap\\\"===e.coloring){var g=c.min,y=c.max;for(p=0;p<d;p++)h=f[p],m[p]=h[0]*(y-g)+g,v[p]=h[1];var _=r.extent([g,y,e.start,e.start+s*(l-1)]),b=_[g<y?0:1],x=_[g<y?1:0];b!==g&&(m.splice(0,0,b),v.splice(0,0,v[0])),x!==y&&(m.push(x),v.push(v[v.length-1]))}else for(p=0;p<d;p++)h=f[p],m[p]=(h[0]*(l+u-1)-u/2)*s+n,v[p]=h[1];return i.makeColorScaleFunc({domain:m,range:v},{noNumericCheck:!0})}},{\\\"../../components/colorscale\\\":607,\\\"./end_plus\\\":967,d3:164}],973:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\");function i(t,e){var n=(e[0][0]>t?0:1)+(e[0][1]>t?0:2)+(e[1][1]>t?0:4)+(e[1][0]>t?0:8);return 5===n||10===n?t>(e[0][0]+e[0][1]+e[1][0]+e[1][1])/4?5===n?713:1114:5===n?104:208:15===n?0:n}e.exports=function(t){var e,n,o,a,s,l,u,c,h,p=t[0].z,f=p.length,d=p[0].length,m=2===f||2===d;for(n=0;n<f-1;n++)for(a=[],0===n&&(a=a.concat(r.BOTTOMSTART)),n===f-2&&(a=a.concat(r.TOPSTART)),e=0;e<d-1;e++)for(o=a.slice(),0===e&&(o=o.concat(r.LEFTSTART)),e===d-2&&(o=o.concat(r.RIGHTSTART)),s=e+\\\",\\\"+n,l=[[p[n][e],p[n][e+1]],[p[n+1][e],p[n+1][e+1]]],h=0;h<t.length;h++)(u=i((c=t[h]).level,l))&&(c.crossings[s]=u,-1!==o.indexOf(u)&&(c.starts.push([e,n]),m&&-1!==o.indexOf(u,o.indexOf(u)+1)&&c.starts.push([e,n])))}},{\\\"./constants\\\":960}],974:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../../components/colorscale\\\"),s=t(\\\"../../lib/svg_text_utils\\\"),l=t(\\\"../../plots/cartesian/axes\\\"),u=t(\\\"../../plots/cartesian/set_convert\\\"),c=t(\\\"../heatmap/plot\\\"),h=t(\\\"./make_crossings\\\"),p=t(\\\"./find_all_paths\\\"),f=t(\\\"./empty_pathinfo\\\"),d=t(\\\"./convert_to_constraints\\\"),m=t(\\\"./close_boundaries\\\"),v=t(\\\"./constants\\\"),g=v.LABELOPTIMIZER;function y(t,e){var n,r,a,s,l,u,c,h=\\\"\\\",p=0,f=t.edgepaths.map((function(t,e){return e})),d=!0;function m(t){return Math.abs(t[1]-e[2][1])<.01}function v(t){return Math.abs(t[0]-e[0][0])<.01}function g(t){return Math.abs(t[0]-e[2][0])<.01}for(;f.length;){for(u=o.smoothopen(t.edgepaths[p],t.smoothing),h+=d?u:u.replace(/^M/,\\\"L\\\"),f.splice(f.indexOf(p),1),n=t.edgepaths[p][t.edgepaths[p].length-1],s=-1,a=0;a<4;a++){if(!n){i.log(\\\"Missing end?\\\",p,t);break}for(c=n,Math.abs(c[1]-e[0][1])<.01&&!g(n)?r=e[1]:v(n)?r=e[0]:m(n)?r=e[3]:g(n)&&(r=e[2]),l=0;l<t.edgepaths.length;l++){var y=t.edgepaths[l][0];Math.abs(n[0]-r[0])<.01?Math.abs(n[0]-y[0])<.01&&(y[1]-n[1])*(r[1]-y[1])>=0&&(r=y,s=l):Math.abs(n[1]-r[1])<.01?Math.abs(n[1]-y[1])<.01&&(y[0]-n[0])*(r[0]-y[0])>=0&&(r=y,s=l):i.log(\\\"endpt to newendpt is not vert. or horz.\\\",n,r,y)}if(n=r,s>=0)break;h+=\\\"L\\\"+r}if(s===t.edgepaths.length){i.log(\\\"unclosed perimeter path\\\");break}p=s,(d=-1===f.indexOf(p))&&(p=f[0],h+=\\\"Z\\\")}for(p=0;p<t.paths.length;p++)h+=o.smoothclosed(t.paths[p],t.smoothing);return h}function _(t,e,n,r){var o=e.width/2,a=e.height/2,s=t.x,l=t.y,u=t.theta,c=Math.cos(u)*o,h=Math.sin(u)*o,p=(s>r.center?r.right-s:s-r.left)/(c+Math.abs(Math.sin(u)*a)),f=(l>r.middle?r.bottom-l:l-r.top)/(Math.abs(h)+Math.cos(u)*a);if(p<1||f<1)return 1/0;var d=g.EDGECOST*(1/(p-1)+1/(f-1));d+=g.ANGLECOST*u*u;for(var m=s-c,v=l-h,y=s+c,_=l+h,b=0;b<n.length;b++){var x=n[b],w=Math.cos(x.theta)*x.width/2,A=Math.sin(x.theta)*x.width/2,C=2*i.segmentDistance(m,v,y,_,x.x-w,x.y-A,x.x+w,x.y+A)/(e.height+x.height),M=x.level===e.level,E=M?g.SAMELEVELDISTANCE:1;if(C<=E)return 1/0;d+=g.NEIGHBORCOST*(M?g.SAMELEVELFACTOR:1)/(C-E)}return d}function b(t){var e,n,r=t.trace._emptypoints,i=[],o=t.z.length,a=t.z[0].length,s=[];for(e=0;e<a;e++)s.push(1);for(e=0;e<o;e++)i.push(s.slice());for(e=0;e<r.length;e++)i[(n=r[e])[0]][n[1]]=0;return t.zmask=i,i}n.plot=function(t,e,a,s){var l=e.xaxis,u=e.yaxis;i.makeTraceGroups(s,a,\\\"contour\\\").each((function(a){var s=r.select(this),g=a[0],_=g.trace,x=g.x,w=g.y,A=_.contours,C=f(A,e,g),M=i.ensureSingle(s,\\\"g\\\",\\\"heatmapcoloring\\\"),E=[];\\\"heatmap\\\"===A.coloring&&(E=[a]),c(t,e,E,M),h(C),p(C);var T=l.c2p(x[0],!0),S=l.c2p(x[x.length-1],!0),k=u.c2p(w[0],!0),O=u.c2p(w[w.length-1],!0),I=[[T,O],[S,O],[S,k],[T,k]],L=C;\\\"constraint\\\"===A.type&&(L=d(C,A._operation)),function(t,e,n){var r=i.ensureSingle(t,\\\"g\\\",\\\"contourbg\\\").selectAll(\\\"path\\\").data(\\\"fill\\\"===n.coloring?[0]:[]);r.enter().append(\\\"path\\\"),r.exit().remove(),r.attr(\\\"d\\\",\\\"M\\\"+e.join(\\\"L\\\")+\\\"Z\\\").style(\\\"stroke\\\",\\\"none\\\")}(s,I,A),function(t,e,n,o){var a=\\\"fill\\\"===o.coloring||\\\"constraint\\\"===o.type&&\\\"=\\\"!==o._operation,s=\\\"M\\\"+n.join(\\\"L\\\")+\\\"Z\\\";a&&m(e,o);var l=i.ensureSingle(t,\\\"g\\\",\\\"contourfill\\\").selectAll(\\\"path\\\").data(a?e:[]);l.enter().append(\\\"path\\\"),l.exit().remove(),l.each((function(t){var e=(t.prefixBoundary?s:\\\"\\\")+y(t,n);e?r.select(this).attr(\\\"d\\\",e).style(\\\"stroke\\\",\\\"none\\\"):r.select(this).remove()}))}(s,L,I,A),function(t,e,a,s,l){var u=i.ensureSingle(t,\\\"g\\\",\\\"contourlines\\\"),c=!1!==l.showlines,h=l.showlabels,p=c&&h,f=n.createLines(u,c||h,e),d=n.createLineClip(u,p,a,s.trace.uid),m=t.selectAll(\\\"g.contourlabels\\\").data(h?[0]:[]);if(m.exit().remove(),m.enter().append(\\\"g\\\").classed(\\\"contourlabels\\\",!0),h){var g=[],y=[];i.clearLocationCache();var _=n.labelFormatter(a,s),b=o.tester.append(\\\"text\\\").attr(\\\"data-notex\\\",1).call(o.font,l.labelfont),x=e[0].xaxis,w=e[0].yaxis,A=x._length,C=w._length,M=x.range,E=w.range,T=i.aggNums(Math.min,null,s.x),S=i.aggNums(Math.max,null,s.x),k=i.aggNums(Math.min,null,s.y),O=i.aggNums(Math.max,null,s.y),I=Math.max(x.c2p(T,!0),0),L=Math.min(x.c2p(S,!0),A),P=Math.max(w.c2p(O,!0),0),z=Math.min(w.c2p(k,!0),C),R={};M[0]<M[1]?(R.left=I,R.right=L):(R.left=L,R.right=I),E[0]<E[1]?(R.top=P,R.bottom=z):(R.top=z,R.bottom=P),R.middle=(R.top+R.bottom)/2,R.center=(R.left+R.right)/2,g.push([[R.left,R.top],[R.right,R.top],[R.right,R.bottom],[R.left,R.bottom]]);var D=Math.sqrt(A*A+C*C),$=v.LABELDISTANCE*D/Math.max(1,e.length/v.LABELINCREASE);f.each((function(t){var e=n.calcTextOpts(t.level,_,b,a);r.select(this).selectAll(\\\"path\\\").each((function(){var t=i.getVisibleSegment(this,R,e.height/2);if(t&&!(t.len<(e.width+e.height)*v.LABELMIN))for(var r=Math.min(Math.ceil(t.len/$),v.LABELMAX),o=0;o<r;o++){var a=n.findBestTextLocation(this,t,e,y,R);if(!a)break;n.addLabelData(a,e,y,g)}}))})),b.remove(),n.drawLabels(m,y,a,d,p?g:null)}h&&!c&&f.remove()}(s,C,t,g,A),function(t,e,n,r,a){var s=r.trace,l=n._fullLayout._clips,u=\\\"clip\\\"+s.uid,c=l.selectAll(\\\"#\\\"+u).data(s.connectgaps?[]:[0]);if(c.enter().append(\\\"clipPath\\\").classed(\\\"contourclip\\\",!0).attr(\\\"id\\\",u),c.exit().remove(),!1===s.connectgaps){var f={level:.9,crossings:{},starts:[],edgepaths:[],paths:[],xaxis:e.xaxis,yaxis:e.yaxis,x:r.x,y:r.y,z:b(r),smoothing:0};h([f]),p([f]),m([f],{type:\\\"levels\\\"}),i.ensureSingle(c,\\\"path\\\",\\\"\\\").attr(\\\"d\\\",(f.prefixBoundary?\\\"M\\\"+a.join(\\\"L\\\")+\\\"Z\\\":\\\"\\\")+y(f,a))}else u=null;o.setClipUrl(t,u,n)}(s,e,t,g,I)}))},n.createLines=function(t,e,n){var r=n[0].smoothing,i=t.selectAll(\\\"g.contourlevel\\\").data(e?n:[]);if(i.exit().remove(),i.enter().append(\\\"g\\\").classed(\\\"contourlevel\\\",!0),e){var a=i.selectAll(\\\"path.openline\\\").data((function(t){return t.pedgepaths||t.edgepaths}));a.exit().remove(),a.enter().append(\\\"path\\\").classed(\\\"openline\\\",!0),a.attr(\\\"d\\\",(function(t){return o.smoothopen(t,r)})).style(\\\"stroke-miterlimit\\\",1).style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\");var s=i.selectAll(\\\"path.closedline\\\").data((function(t){return t.ppaths||t.paths}));s.exit().remove(),s.enter().append(\\\"path\\\").classed(\\\"closedline\\\",!0),s.attr(\\\"d\\\",(function(t){return o.smoothclosed(t,r)})).style(\\\"stroke-miterlimit\\\",1).style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\")}return i},n.createLineClip=function(t,e,n,r){var i=e?\\\"clipline\\\"+r:null,a=n._fullLayout._clips.selectAll(\\\"#\\\"+i).data(e?[0]:[]);return a.exit().remove(),a.enter().append(\\\"clipPath\\\").classed(\\\"contourlineclip\\\",!0).attr(\\\"id\\\",i),o.setClipUrl(t,i,n),a},n.labelFormatter=function(t,e){var n=t._fullLayout,r=e.trace,i=r.contours,o={type:\\\"linear\\\",_id:\\\"ycontour\\\",showexponent:\\\"all\\\",exponentformat:\\\"B\\\"};if(i.labelformat)o.tickformat=i.labelformat,u(o,n);else{var s=a.extractOpts(r);if(s&&s.colorbar&&s.colorbar._axis)o=s.colorbar._axis;else{if(\\\"constraint\\\"===i.type){var c=i.value;Array.isArray(c)?o.range=[c[0],c[c.length-1]]:o.range=[c,c]}else o.range=[i.start,i.end],o.nticks=(i.end-i.start)/i.size;o.range[0]===o.range[1]&&(o.range[1]+=o.range[0]||1),o.nticks||(o.nticks=1e3),u(o,n),l.prepTicks(o),o._tmin=null,o._tmax=null}}return function(t){return l.tickText(o,t).text}},n.calcTextOpts=function(t,e,n,r){var i=e(t);n.text(i).call(s.convertToTspans,r);var a=n.node(),l=o.bBox(a,!0);return{text:i,width:l.width,height:l.height,fontSize:+a.style[\\\"font-size\\\"].replace(\\\"px\\\",\\\"\\\"),level:t,dy:(l.top+l.bottom)/2}},n.findBestTextLocation=function(t,e,n,r,o){var a,s,l,u,c,h=n.width;e.isClosed?(s=e.len/g.INITIALSEARCHPOINTS,a=e.min+s/2,l=e.max):(s=(e.len-h)/(g.INITIALSEARCHPOINTS+1),a=e.min+s+h/2,l=e.max-(s+h)/2);for(var p=1/0,f=0;f<g.ITERATIONS;f++){for(var d=a;d<l;d+=s){var m=i.getTextLocation(t,e.total,d,h),v=_(m,n,r,o);v<p&&(p=v,c=m,u=d)}if(p>2*g.MAXCOST)break;f&&(s/=2),l=(a=u-s/2)+1.5*s}if(p<=g.MAXCOST)return c},n.addLabelData=function(t,e,n,r){var i=e.fontSize,o=e.width+i/3,a=Math.max(0,e.height-i/3),s=t.x,l=t.y,u=t.theta,c=Math.sin(u),h=Math.cos(u),p=function(t,e){return[s+t*h-e*c,l+t*c+e*h]},f=[p(-o/2,-a/2),p(-o/2,a/2),p(o/2,a/2),p(o/2,-a/2)];n.push({text:e.text,x:s,y:l,dy:e.dy,theta:u,level:e.level,width:o,height:a}),r.push(f)},n.drawLabels=function(t,e,n,o,a){var l=t.selectAll(\\\"text\\\").data(e,(function(t){return t.text+\\\",\\\"+t.x+\\\",\\\"+t.y+\\\",\\\"+t.theta}));if(l.exit().remove(),l.enter().append(\\\"text\\\").attr({\\\"data-notex\\\":1,\\\"text-anchor\\\":\\\"middle\\\"}).each((function(t){var e=t.x+Math.sin(t.theta)*t.dy,i=t.y-Math.cos(t.theta)*t.dy;r.select(this).text(t.text).attr({x:e,y:i,transform:\\\"rotate(\\\"+180*t.theta/Math.PI+\\\" \\\"+e+\\\" \\\"+i+\\\")\\\"}).call(s.convertToTspans,n)})),a){for(var u=\\\"\\\",c=0;c<a.length;c++)u+=\\\"M\\\"+a[c].join(\\\"L\\\")+\\\"Z\\\";i.ensureSingle(o,\\\"path\\\",\\\"\\\").attr(\\\"d\\\",u)}}},{\\\"../../components/colorscale\\\":607,\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/cartesian/set_convert\\\":796,\\\"../heatmap/plot\\\":1024,\\\"./close_boundaries\\\":958,\\\"./constants\\\":960,\\\"./convert_to_constraints\\\":964,\\\"./empty_pathinfo\\\":966,\\\"./find_all_paths\\\":968,\\\"./make_crossings\\\":973,d3:164}],975:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../lib\\\");function o(t,e,n){var i={type:\\\"linear\\\",range:[t,e]};return r.autoTicks(i,(e-t)/(n||15)),i}e.exports=function(t,e){var n=t.contours;if(t.autocontour){var a=t.zmin,s=t.zmax;(t.zauto||void 0===a)&&(a=i.aggNums(Math.min,null,e)),(t.zauto||void 0===s)&&(s=i.aggNums(Math.max,null,e));var l=o(a,s,t.ncontours);n.size=l.dtick,n.start=r.tickFirst(l),l.range.reverse(),n.end=r.tickFirst(l),n.start===a&&(n.start+=n.size),n.end===s&&(n.end-=n.size),n.start>n.end&&(n.start=n.end=(n.start+n.end)/2),t._input.contours||(t._input.contours={}),i.extendFlat(t._input.contours,{start:n.start,end:n.end,size:n.size}),t._input.autocontour=!0}else if(\\\"constraint\\\"!==n.type){var u,c=n.start,h=n.end,p=t._input.contours;c>h&&(n.start=p.start=h,h=n.end=p.end=c,c=n.start),n.size>0||(u=c===h?1:o(c,h,t.ncontours).dtick,p.size=n.size=u)}}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776}],976:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/drawing\\\"),o=t(\\\"../heatmap/style\\\"),a=t(\\\"./make_color_map\\\");e.exports=function(t){var e=r.select(t).selectAll(\\\"g.contour\\\");e.style(\\\"opacity\\\",(function(t){return t[0].trace.opacity})),e.each((function(t){var e=r.select(this),n=t[0].trace,o=n.contours,s=n.line,l=o.size||1,u=o.start,c=\\\"constraint\\\"===o.type,h=!c&&\\\"lines\\\"===o.coloring,p=!c&&\\\"fill\\\"===o.coloring,f=h||p?a(n):null;e.selectAll(\\\"g.contourlevel\\\").each((function(t){r.select(this).selectAll(\\\"path\\\").call(i.lineGroupStyle,s.width,h?f(t.level):s.color,s.dash)}));var d=o.labelfont;if(e.selectAll(\\\"g.contourlabels text\\\").each((function(t){i.font(r.select(this),{family:d.family,size:d.size,color:d.color||(h?f(t.level):s.color)})})),c)e.selectAll(\\\"g.contourfill path\\\").style(\\\"fill\\\",n.fillcolor);else if(p){var m;e.selectAll(\\\"g.contourfill path\\\").style(\\\"fill\\\",(function(t){return void 0===m&&(m=t.level),f(t.level+.5*l)})),void 0===m&&(m=u),e.selectAll(\\\"g.contourbg path\\\").style(\\\"fill\\\",f(m-.5*l))}})),o(t)}},{\\\"../../components/drawing\\\":617,\\\"../heatmap/style\\\":1025,\\\"./make_color_map\\\":972,d3:164}],977:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/defaults\\\"),i=t(\\\"./label_defaults\\\");e.exports=function(t,e,n,o,a){var s,l=n(\\\"contours.coloring\\\"),u=\\\"\\\";\\\"fill\\\"===l&&(s=n(\\\"contours.showlines\\\")),!1!==s&&(\\\"lines\\\"!==l&&(u=n(\\\"line.color\\\",\\\"#000\\\")),n(\\\"line.width\\\",.5),n(\\\"line.dash\\\")),\\\"none\\\"!==l&&(!0!==t.showlegend&&(e.showlegend=!1),e._dfltShowLegend=!1,r(t,e,o,n,{prefix:\\\"\\\",cLetter:\\\"z\\\"})),n(\\\"line.smoothing\\\"),i(n,o,u,a)}},{\\\"../../components/colorscale/defaults\\\":605,\\\"./label_defaults\\\":971}],978:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../heatmap/attributes\\\"),i=t(\\\"../contour/attributes\\\"),o=t(\\\"../../components/colorscale/attributes\\\"),a=t(\\\"../../lib/extend\\\").extendFlat,s=i.contours;e.exports=a({carpet:{valType:\\\"string\\\",editType:\\\"calc\\\"},z:r.z,a:r.x,a0:r.x0,da:r.dx,b:r.y,b0:r.y0,db:r.dy,text:r.text,hovertext:r.hovertext,transpose:r.transpose,atype:r.xtype,btype:r.ytype,fillcolor:i.fillcolor,autocontour:i.autocontour,ncontours:i.ncontours,contours:{type:s.type,start:s.start,end:s.end,size:s.size,coloring:{valType:\\\"enumerated\\\",values:[\\\"fill\\\",\\\"lines\\\",\\\"none\\\"],dflt:\\\"fill\\\",editType:\\\"calc\\\"},showlines:s.showlines,showlabels:s.showlabels,labelfont:s.labelfont,labelformat:s.labelformat,operation:s.operation,value:s.value,editType:\\\"calc\\\",impliedEdits:{autocontour:!1}},line:{color:i.line.color,width:i.line.width,dash:i.line.dash,smoothing:i.line.smoothing,editType:\\\"plot\\\"},transforms:void 0},o(\\\"\\\",{cLetter:\\\"z\\\",autoColorDflt:!1}))},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../contour/attributes\\\":956,\\\"../heatmap/attributes\\\":1013}],979:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/calc\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../heatmap/convert_column_xyz\\\"),a=t(\\\"../heatmap/clean_2d_array\\\"),s=t(\\\"../heatmap/interp2d\\\"),l=t(\\\"../heatmap/find_empties\\\"),u=t(\\\"../heatmap/make_bound_array\\\"),c=t(\\\"./defaults\\\"),h=t(\\\"../carpet/lookup_carpetid\\\"),p=t(\\\"../contour/set_contours\\\");e.exports=function(t,e){var n=e._carpetTrace=h(t,e);if(n&&n.visible&&\\\"legendonly\\\"!==n.visible){if(!e.a||!e.b){var f=t.data[n.index],d=t.data[e.index];d.a||(d.a=f.a),d.b||(d.b=f.b),c(d,e,e._defaultColor,t._fullLayout)}var m=function(t,e){var n,c,h,p,f,d,m,v=e._carpetTrace,g=v.aaxis,y=v.baxis;g._minDtick=0,y._minDtick=0,i.isArray1D(e.z)&&o(e,g,y,\\\"a\\\",\\\"b\\\",[\\\"z\\\"]),n=e._a=e._a||e.a,p=e._b=e._b||e.b,n=n?g.makeCalcdata(e,\\\"_a\\\"):[],p=p?y.makeCalcdata(e,\\\"_b\\\"):[],c=e.a0||0,h=e.da||1,f=e.b0||0,d=e.db||1,m=e._z=a(e._z||e.z,e.transpose),e._emptypoints=l(m),s(m,e._emptypoints);var _=i.maxRowLength(m),b=\\\"scaled\\\"===e.xtype?\\\"\\\":n,x=u(e,b,c,h,_,g),w=\\\"scaled\\\"===e.ytype?\\\"\\\":p,A={a:x,b:u(e,w,f,d,m.length,y),z:m};return\\\"levels\\\"===e.contours.type&&\\\"none\\\"!==e.contours.coloring&&r(t,e,{vals:m,containerStr:\\\"\\\",cLetter:\\\"z\\\"}),[A]}(t,e);return p(e,e._z),m}}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../lib\\\":728,\\\"../carpet/lookup_carpetid\\\":929,\\\"../contour/set_contours\\\":975,\\\"../heatmap/clean_2d_array\\\":1015,\\\"../heatmap/convert_column_xyz\\\":1017,\\\"../heatmap/find_empties\\\":1019,\\\"../heatmap/interp2d\\\":1022,\\\"../heatmap/make_bound_array\\\":1023,\\\"./defaults\\\":980}],980:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../heatmap/xyz_defaults\\\"),o=t(\\\"./attributes\\\"),a=t(\\\"../contour/constraint_defaults\\\"),s=t(\\\"../contour/contours_defaults\\\"),l=t(\\\"../contour/style_defaults\\\");e.exports=function(t,e,n,u){function c(n,i){return r.coerce(t,e,o,n,i)}if(c(\\\"carpet\\\"),t.a&&t.b){if(!i(t,e,c,u,\\\"a\\\",\\\"b\\\"))return void(e.visible=!1);c(\\\"text\\\"),\\\"constraint\\\"===c(\\\"contours.type\\\")?a(t,e,c,u,n,{hasHover:!1}):(s(t,e,c,(function(n){return r.coerce2(t,e,o,n)})),l(t,e,c,u,{hasHover:!1}))}else e._defaultColor=n,e._length=null}},{\\\"../../lib\\\":728,\\\"../contour/constraint_defaults\\\":961,\\\"../contour/contours_defaults\\\":963,\\\"../contour/style_defaults\\\":977,\\\"../heatmap/xyz_defaults\\\":1027,\\\"./attributes\\\":978}],981:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../contour/colorbar\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"../contour/style\\\"),moduleType:\\\"trace\\\",name:\\\"contourcarpet\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"carpet\\\",\\\"contour\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"hasLines\\\",\\\"carpetDependent\\\",\\\"noHover\\\",\\\"noSortingByValue\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../contour/colorbar\\\":959,\\\"../contour/style\\\":976,\\\"./attributes\\\":978,\\\"./calc\\\":979,\\\"./defaults\\\":980,\\\"./plot\\\":982}],982:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../carpet/map_1d_array\\\"),o=t(\\\"../carpet/makepath\\\"),a=t(\\\"../../components/drawing\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../contour/make_crossings\\\"),u=t(\\\"../contour/find_all_paths\\\"),c=t(\\\"../contour/plot\\\"),h=t(\\\"../contour/constants\\\"),p=t(\\\"../contour/convert_to_constraints\\\"),f=t(\\\"../contour/empty_pathinfo\\\"),d=t(\\\"../contour/close_boundaries\\\"),m=t(\\\"../carpet/lookup_carpetid\\\"),v=t(\\\"../carpet/axis_aligned_line\\\");function g(t,e,n,i,o,l,u){var p=s.ensureSingle(t,\\\"g\\\",\\\"contourlines\\\"),f=!1!==o.showlines,d=o.showlabels,m=f&&d,v=c.createLines(p,f||d,e),g=c.createLineClip(p,m,n,i.trace.uid),x=t.selectAll(\\\"g.contourlabels\\\").data(d?[0]:[]);if(x.exit().remove(),x.enter().append(\\\"g\\\").classed(\\\"contourlabels\\\",!0),d){var w=l.xaxis,A=l.yaxis,C=w._length,M=A._length,E=[[[0,0],[C,0],[C,M],[0,M]]],T=[];s.clearLocationCache();var S=c.labelFormatter(n,i),k=a.tester.append(\\\"text\\\").attr(\\\"data-notex\\\",1).call(a.font,o.labelfont),O={left:0,right:C,center:C/2,top:0,bottom:M,middle:M/2},I=Math.sqrt(C*C+M*M),L=h.LABELDISTANCE*I/Math.max(1,e.length/h.LABELINCREASE);v.each((function(t){var e=c.calcTextOpts(t.level,S,k,n);r.select(this).selectAll(\\\"path\\\").each((function(n){var r=this,i=s.getVisibleSegment(r,O,e.height/2);if(i&&(function(t,e,n,r,i,o){for(var a,s=0;s<n.pedgepaths.length;s++)e===n.pedgepaths[s]&&(a=n.edgepaths[s]);if(a){var l=i.a[0],u=i.a[i.a.length-1],c=i.b[0],h=i.b[i.b.length-1],p=y(t,0,1),f=y(t,r.total,r.total-1),d=v(a[0],p),m=r.total-v(a[a.length-1],f);r.min<d&&(r.min=d),r.max>m&&(r.max=m),r.len=r.max-r.min}function v(t,e){var n,r=0,a=.1;return(Math.abs(t[0]-l)<a||Math.abs(t[0]-u)<a)&&(n=_(i.dxydb_rough(t[0],t[1],a)),r=Math.max(r,o*b(e,n)/2)),(Math.abs(t[1]-c)<a||Math.abs(t[1]-h)<a)&&(n=_(i.dxyda_rough(t[0],t[1],a)),r=Math.max(r,o*b(e,n)/2)),r}}(r,n,t,i,u,e.height),!(i.len<(e.width+e.height)*h.LABELMIN)))for(var o=Math.min(Math.ceil(i.len/L),h.LABELMAX),a=0;a<o;a++){var l=c.findBestTextLocation(r,i,e,T,O);if(!l)break;c.addLabelData(l,e,T,E)}}))})),k.remove(),c.drawLabels(x,T,n,g,m?E:null)}d&&!f&&v.remove()}function y(t,e,n){var r=t.getPointAtLength(e),i=t.getPointAtLength(n),o=i.x-r.x,a=i.y-r.y,s=Math.sqrt(o*o+a*a);return[o/s,a/s]}function _(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}function b(t,e){var n=Math.abs(t[0]*e[0]+t[1]*e[1]);return Math.sqrt(1-n*n)/n}function x(t,e,n,i,o,l,u,c,h,p,f){var m=\\\"fill\\\"===p;m&&d(o,t.contours);var g=s.ensureSingle(e,\\\"g\\\",\\\"contourfill\\\").selectAll(\\\"path\\\").data(m?o:[]);g.enter().append(\\\"path\\\"),g.exit().remove(),g.each((function(t){var e=(t.prefixBoundary?f:\\\"\\\")+function(t,e,n,r,i,o,l,u){var c,h,p,f,d,m,g,y=\\\"\\\",_=e.edgepaths.map((function(t,e){return e})),b=!0,x=1e-4*Math.abs(n[0][0]-n[2][0]),w=1e-4*Math.abs(n[0][1]-n[2][1]);function A(t){return Math.abs(t[1]-n[0][1])<w}function C(t){return Math.abs(t[1]-n[2][1])<w}function M(t){return Math.abs(t[0]-n[0][0])<x}function E(t){return Math.abs(t[0]-n[2][0])<x}function T(t,e){var n,r,a,s,c=\\\"\\\";for(A(t)&&!E(t)||C(t)&&!M(t)?(s=i.aaxis,a=v(i,o,[t[0],e[0]],.5*(t[1]+e[1]))):(s=i.baxis,a=v(i,o,.5*(t[0]+e[0]),[t[1],e[1]])),n=1;n<a.length;n++)for(c+=s.smoothing?\\\"C\\\":\\\"L\\\",r=0;r<a[n].length;r++){var h=a[n][r];c+=[l.c2p(h[0]),u.c2p(h[1])]+\\\" \\\"}return c}for(c=0,h=null;_.length;){var S=e.edgepaths[c][0];for(h&&(y+=T(h,S)),g=a.smoothopen(e.edgepaths[c].map(r),e.smoothing),y+=b?g:g.replace(/^M/,\\\"L\\\"),_.splice(_.indexOf(c),1),h=e.edgepaths[c][e.edgepaths[c].length-1],d=-1,f=0;f<4;f++){if(!h){s.log(\\\"Missing end?\\\",c,e);break}for(A(h)&&!E(h)?p=n[1]:M(h)?p=n[0]:C(h)?p=n[3]:E(h)&&(p=n[2]),m=0;m<e.edgepaths.length;m++){var k=e.edgepaths[m][0];Math.abs(h[0]-p[0])<x?Math.abs(h[0]-k[0])<x&&(k[1]-h[1])*(p[1]-k[1])>=0&&(p=k,d=m):Math.abs(h[1]-p[1])<w?Math.abs(h[1]-k[1])<w&&(k[0]-h[0])*(p[0]-k[0])>=0&&(p=k,d=m):s.log(\\\"endpt to newendpt is not vert. or horz.\\\",h,p,k)}if(d>=0)break;y+=T(h,p),h=p}if(d===e.edgepaths.length){s.log(\\\"unclosed perimeter path\\\");break}c=d,(b=-1===_.indexOf(c))&&(c=_[0],y+=T(h,p)+\\\"Z\\\",h=null)}for(c=0;c<e.paths.length;c++)y+=a.smoothclosed(e.paths[c].map(r),e.smoothing);return y}(0,t,l,u,c,h,n,i);e?r.select(this).attr(\\\"d\\\",e).style(\\\"stroke\\\",\\\"none\\\"):r.select(this).remove()}))}e.exports=function(t,e,n,c){var h=e.xaxis,d=e.yaxis;s.makeTraceGroups(c,n,\\\"contour\\\").each((function(n){var c=r.select(this),v=n[0],y=v.trace,_=y._carpetTrace=m(t,y),b=t.calcdata[_.index][0];if(_.visible&&\\\"legendonly\\\"!==_.visible){var w=v.a,A=v.b,C=y.contours,M=f(C,e,v),E=\\\"constraint\\\"===C.type,T=C._operation,S=E?\\\"=\\\"===T?\\\"lines\\\":\\\"fill\\\":C.coloring,k=[[w[0],A[A.length-1]],[w[w.length-1],A[A.length-1]],[w[w.length-1],A[0]],[w[0],A[0]]];l(M);var O=1e-8*(w[w.length-1]-w[0]),I=1e-8*(A[A.length-1]-A[0]);u(M,O,I);var L,P,z,R,D=M;\\\"constraint\\\"===C.type&&(D=p(M,T)),function(t,e){var n,r,i,o,a,s,l,u,c;for(n=0;n<t.length;n++){for(a=(o=t[n]).pedgepaths=[],s=o.ppaths=[],r=0;r<o.edgepaths.length;r++){for(c=o.edgepaths[r],l=[],i=0;i<c.length;i++)l[i]=e(c[i]);a.push(l)}for(r=0;r<o.paths.length;r++){for(c=o.paths[r],u=[],i=0;i<c.length;i++)u[i]=e(c[i]);s.push(u)}}}(M,N);var $=[];for(R=b.clipsegments.length-1;R>=0;R--)L=b.clipsegments[R],P=i([],L.x,h.c2p),z=i([],L.y,d.c2p),P.reverse(),z.reverse(),$.push(o(P,z,L.bicubic));var B=\\\"M\\\"+$.join(\\\"L\\\")+\\\"Z\\\";(function(t,e,n,r,a,l){var u,c,h,p,f=s.ensureSingle(t,\\\"g\\\",\\\"contourbg\\\").selectAll(\\\"path\\\").data(\\\"fill\\\"!==l||a?[]:[0]);f.enter().append(\\\"path\\\"),f.exit().remove();var d=[];for(p=0;p<e.length;p++)u=e[p],c=i([],u.x,n.c2p),h=i([],u.y,r.c2p),d.push(o(c,h,u.bicubic));f.attr(\\\"d\\\",\\\"M\\\"+d.join(\\\"L\\\")+\\\"Z\\\").style(\\\"stroke\\\",\\\"none\\\")})(c,b.clipsegments,h,d,E,S),x(y,c,h,d,D,k,N,_,b,S,B),g(c,M,t,v,C,e,_),a.setClipUrl(c,_._clipPathId,t)}function N(t){var e=_.ab2xy(t[0],t[1],!0);return[h.c2p(e[0]),d.c2p(e[1])]}}))}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../carpet/axis_aligned_line\\\":913,\\\"../carpet/lookup_carpetid\\\":929,\\\"../carpet/makepath\\\":930,\\\"../carpet/map_1d_array\\\":931,\\\"../contour/close_boundaries\\\":958,\\\"../contour/constants\\\":960,\\\"../contour/convert_to_constraints\\\":964,\\\"../contour/empty_pathinfo\\\":966,\\\"../contour/find_all_paths\\\":968,\\\"../contour/make_crossings\\\":973,\\\"../contour/plot\\\":974,d3:164}],983:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../../plots/attributes\\\"),a=t(\\\"../scattermapbox/attributes\\\"),s=t(\\\"../../lib/extend\\\").extendFlat;e.exports=s({lon:a.lon,lat:a.lat,z:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},radius:{valType:\\\"number\\\",editType:\\\"plot\\\",arrayOk:!0,min:1,dflt:30},below:{valType:\\\"string\\\",editType:\\\"plot\\\"},text:a.text,hovertext:a.hovertext,hoverinfo:s({},o.hoverinfo,{flags:[\\\"lon\\\",\\\"lat\\\",\\\"z\\\",\\\"text\\\",\\\"name\\\"]}),hovertemplate:i(),showlegend:s({},o.showlegend,{dflt:!1})},r(\\\"\\\",{cLetter:\\\"z\\\",editTypeOverride:\\\"calc\\\"}))},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../scattermapbox/attributes\\\":1198}],984:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\").isArrayOrTypedArray,o=t(\\\"../../constants/numerical\\\").BADNUM,a=t(\\\"../../components/colorscale/calc\\\"),s=t(\\\"../../lib\\\")._;e.exports=function(t,e){for(var n=e._length,l=new Array(n),u=e.z,c=i(u)&&u.length,h=0;h<n;h++){var p=l[h]={},f=e.lon[h],d=e.lat[h];if(p.lonlat=r(f)&&r(d)?[+f,+d]:[o,o],c){var m=u[h];p.z=r(m)?m:o}}return a(t,e,{vals:c?u:[0,1],containerStr:\\\"\\\",cLetter:\\\"z\\\"}),n&&(l[0].t={labels:{lat:s(t,\\\"lat:\\\")+\\\" \\\",lon:s(t,\\\"lon:\\\")+\\\" \\\"}}),l}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"fast-isnumeric\\\":236}],985:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"../../components/colorscale\\\"),s=t(\\\"../../constants/numerical\\\").BADNUM,l=t(\\\"../../lib/geojson_utils\\\").makeBlank;e.exports=function(t){var e=t[0].trace,n=!0===e.visible&&0!==e._length,u=e._opts={heatmap:{layout:{visibility:\\\"none\\\"},paint:{}},geojson:l()};if(!n)return u;var c,h=[],p=e.z,f=e.radius,d=i.isArrayOrTypedArray(p)&&p.length,m=i.isArrayOrTypedArray(f);for(c=0;c<t.length;c++){var v=t[c],g=v.lonlat;if(g[0]!==s){var y={};if(d){var _=v.z;y.z=_!==s?_:0}m&&(y.r=r(f[c])&&f[c]>0?+f[c]:0),h.push({type:\\\"Feature\\\",geometry:{type:\\\"Point\\\",coordinates:g},properties:y})}}var b=a.extractOpts(e),x=b.reversescale?a.flipScale(b.colorscale):b.colorscale,w=x[0][1],A=[\\\"interpolate\\\",[\\\"linear\\\"],[\\\"heatmap-density\\\"],0,o.opacity(w)<1?w:o.addOpacity(w,0)];for(c=1;c<x.length;c++)A.push(x[c][0],x[c][1]);var C=[\\\"interpolate\\\",[\\\"linear\\\"],[\\\"get\\\",\\\"z\\\"],b.min,0,b.max,1];return i.extendFlat(u.heatmap.paint,{\\\"heatmap-weight\\\":d?C:1/(b.max-b.min),\\\"heatmap-color\\\":A,\\\"heatmap-radius\\\":m?{type:\\\"identity\\\",property:\\\"r\\\"}:e.radius,\\\"heatmap-opacity\\\":e.opacity}),u.geojson={type:\\\"FeatureCollection\\\",features:h},u.heatmap.layout.visibility=\\\"visible\\\",u}},{\\\"../../components/color\\\":595,\\\"../../components/colorscale\\\":607,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../lib/geojson_utils\\\":723,\\\"fast-isnumeric\\\":236}],986:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/colorscale/defaults\\\"),o=t(\\\"./attributes\\\");e.exports=function(t,e,n,a){function s(n,i){return r.coerce(t,e,o,n,i)}var l=s(\\\"lon\\\")||[],u=s(\\\"lat\\\")||[],c=Math.min(l.length,u.length);c?(e._length=c,s(\\\"z\\\"),s(\\\"radius\\\"),s(\\\"below\\\"),s(\\\"text\\\"),s(\\\"hovertext\\\"),s(\\\"hovertemplate\\\"),i(t,e,a,s,{prefix:\\\"\\\",cLetter:\\\"z\\\"})):e.visible=!1}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"./attributes\\\":983}],987:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return t.lon=e.lon,t.lat=e.lat,t.z=e.z,t}},{}],988:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../scattermapbox/hover\\\");e.exports=function(t,e,n){var a=o(t,e,n);if(a){var s=a[0],l=s.cd,u=l[0].trace,c=l[s.index];if(delete s.color,\\\"z\\\"in c){var h=s.subplot.mockAxis;s.z=c.z,s.zLabel=i.tickText(h,h.c2l(c.z),\\\"hover\\\").text}return s.extraText=function(t,e,n){if(!t.hovertemplate){var i=(e.hi||t.hoverinfo).split(\\\"+\\\"),o=-1!==i.indexOf(\\\"all\\\"),a=-1!==i.indexOf(\\\"lon\\\"),s=-1!==i.indexOf(\\\"lat\\\"),l=e.lonlat,u=[];return o||a&&s?u.push(\\\"(\\\"+c(l[0])+\\\", \\\"+c(l[1])+\\\")\\\"):a?u.push(n.lon+c(l[0])):s&&u.push(n.lat+c(l[1])),(o||-1!==i.indexOf(\\\"text\\\"))&&r.fillText(e,t,u),u.join(\\\"<br>\\\")}function c(t){return t+\\\"°\\\"}}(u,c,l[0].t.labels),[s]}}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../scattermapbox/hover\\\":1203}],989:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../heatmap/colorbar\\\"),formatLabels:t(\\\"../scattermapbox/format_labels\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),hoverPoints:t(\\\"./hover\\\"),eventData:t(\\\"./event_data\\\"),getBelow:function(t,e){for(var n=e.getMapLayers(),r=0;r<n.length;r++){var i=n[r],o=i.id;if(\\\"symbol\\\"===i.type&&\\\"string\\\"==typeof o&&-1===o.indexOf(\\\"plotly-\\\"))return o}},moduleType:\\\"trace\\\",name:\\\"densitymapbox\\\",basePlotModule:t(\\\"../../plots/mapbox\\\"),categories:[\\\"mapbox\\\",\\\"gl\\\",\\\"showLegend\\\"],meta:{hr_name:\\\"density_mapbox\\\"}}},{\\\"../../plots/mapbox\\\":833,\\\"../heatmap/colorbar\\\":1016,\\\"../scattermapbox/format_labels\\\":1202,\\\"./attributes\\\":983,\\\"./calc\\\":984,\\\"./defaults\\\":986,\\\"./event_data\\\":987,\\\"./hover\\\":988,\\\"./plot\\\":990}],990:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./convert\\\"),i=t(\\\"../../plots/mapbox/constants\\\").traceLayerPrefix;function o(t,e){this.type=\\\"densitymapbox\\\",this.subplot=t,this.uid=e,this.sourceId=\\\"source-\\\"+e,this.layerList=[[\\\"heatmap\\\",i+e+\\\"-heatmap\\\"]],this.below=null}var a=o.prototype;a.update=function(t){var e=this.subplot,n=this.layerList,i=r(t),o=e.belowLookup[\\\"trace-\\\"+this.uid];e.map.getSource(this.sourceId).setData(i.geojson),o!==this.below&&(this._removeLayers(),this._addLayers(i,o),this.below=o);for(var a=0;a<n.length;a++){var s=n[a],l=s[0],u=s[1],c=i[l];e.setOptions(u,\\\"setLayoutProperty\\\",c.layout),\\\"visible\\\"===c.layout.visibility&&e.setOptions(u,\\\"setPaintProperty\\\",c.paint)}},a._addLayers=function(t,e){for(var n=this.subplot,r=this.layerList,i=this.sourceId,o=0;o<r.length;o++){var a=r[o],s=a[0],l=t[s];n.addLayer({type:s,id:a[1],source:i,layout:l.layout,paint:l.paint},e)}},a._removeLayers=function(){for(var t=this.subplot.map,e=this.layerList,n=e.length-1;n>=0;n--)t.removeLayer(e[n][1])},a.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},e.exports=function(t,e){var n=e[0].trace,i=new o(t,n.uid),a=i.sourceId,s=r(e),l=i.below=t.belowLookup[\\\"trace-\\\"+n.uid];return t.map.addSource(a,{type:\\\"geojson\\\",data:s.geojson}),i._addLayers(s,l),i}},{\\\"../../plots/mapbox/constants\\\":831,\\\"./convert\\\":985}],991:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e){for(var n=0;n<t.length;n++)t[n].i=n;r.mergeArray(e.text,t,\\\"tx\\\"),r.mergeArray(e.hovertext,t,\\\"htx\\\");var i=e.marker;if(i){r.mergeArray(i.opacity,t,\\\"mo\\\"),r.mergeArray(i.color,t,\\\"mc\\\");var o=i.line;o&&(r.mergeArray(o.color,t,\\\"mlc\\\"),r.mergeArrayCastPositive(o.width,t,\\\"mlw\\\"))}}},{\\\"../../lib\\\":728}],992:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../bar/attributes\\\"),i=t(\\\"../scatter/attributes\\\").line,o=t(\\\"../../plots/attributes\\\"),a=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,s=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,l=t(\\\"./constants\\\"),u=t(\\\"../../lib/extend\\\").extendFlat,c=t(\\\"../../components/color\\\");e.exports={x:r.x,x0:r.x0,dx:r.dx,y:r.y,y0:r.y0,dy:r.dy,hovertext:r.hovertext,hovertemplate:a({},{keys:l.eventDataKeys}),hoverinfo:u({},o.hoverinfo,{flags:[\\\"name\\\",\\\"x\\\",\\\"y\\\",\\\"text\\\",\\\"percent initial\\\",\\\"percent previous\\\",\\\"percent total\\\"]}),textinfo:{valType:\\\"flaglist\\\",flags:[\\\"label\\\",\\\"text\\\",\\\"percent initial\\\",\\\"percent previous\\\",\\\"percent total\\\",\\\"value\\\"],extras:[\\\"none\\\"],editType:\\\"plot\\\",arrayOk:!1},texttemplate:s({editType:\\\"plot\\\"},{keys:l.eventDataKeys.concat([\\\"label\\\",\\\"value\\\"])}),text:r.text,textposition:u({},r.textposition,{dflt:\\\"auto\\\"}),insidetextanchor:u({},r.insidetextanchor,{dflt:\\\"middle\\\"}),textangle:u({},r.textangle,{dflt:0}),textfont:r.textfont,insidetextfont:r.insidetextfont,outsidetextfont:r.outsidetextfont,constraintext:r.constraintext,cliponaxis:r.cliponaxis,orientation:u({},r.orientation,{}),offset:u({},r.offset,{arrayOk:!1}),width:u({},r.width,{arrayOk:!1}),marker:r.marker,connector:{fillcolor:{valType:\\\"color\\\",editType:\\\"style\\\"},line:{color:u({},i.color,{dflt:c.defaultLine}),width:u({},i.width,{dflt:0,editType:\\\"plot\\\"}),dash:i.dash,editType:\\\"style\\\"},visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},editType:\\\"plot\\\"},offsetgroup:r.offsetgroup,alignmentgroup:r.alignmentgroup}},{\\\"../../components/color\\\":595,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../bar/attributes\\\":869,\\\"../scatter/attributes\\\":1134,\\\"./constants\\\":994}],993:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"./arrays_to_calcdata\\\"),o=t(\\\"../scatter/calc_selection\\\"),a=t(\\\"../../constants/numerical\\\").BADNUM;function s(t){return t===a?0:t}e.exports=function(t,e){var n,l,u,c,h=r.getFromId(t,e.xaxis||\\\"x\\\"),p=r.getFromId(t,e.yaxis||\\\"y\\\");\\\"h\\\"===e.orientation?(n=h.makeCalcdata(e,\\\"x\\\"),l=p.makeCalcdata(e,\\\"y\\\")):(n=p.makeCalcdata(e,\\\"y\\\"),l=h.makeCalcdata(e,\\\"x\\\"));var f,d=Math.min(l.length,n.length),m=new Array(d);for(e._base=[],u=0;u<d;u++){n[u]<0&&(n[u]=a);var v=!1;n[u]!==a&&u+1<d&&n[u+1]!==a&&(v=!0),c=m[u]={p:l[u],s:n[u],cNext:v},e._base[u]=-.5*c.s,e.ids&&(c.id=String(e.ids[u])),0===u&&(m[0].vTotal=0),m[0].vTotal+=s(c.s),c.begR=s(c.s)/s(m[0].s)}for(u=0;u<d;u++)(c=m[u]).s!==a&&(c.sumR=c.s/m[0].vTotal,c.difR=void 0!==f?c.s/f:1,f=c.s);return i(m,e),o(m,e),m}},{\\\"../../constants/numerical\\\":704,\\\"../../plots/cartesian/axes\\\":776,\\\"../scatter/calc_selection\\\":1136,\\\"./arrays_to_calcdata\\\":991}],994:[function(t,e,n){\\\"use strict\\\";e.exports={eventDataKeys:[\\\"percentInitial\\\",\\\"percentPrevious\\\",\\\"percentTotal\\\"]}},{}],995:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../bar/cross_trace_calc\\\").setGroupPositions;e.exports=function(t,e){var n,i,o=t._fullLayout,a=t._fullData,s=t.calcdata,l=e.xaxis,u=e.yaxis,c=[],h=[],p=[];for(i=0;i<a.length;i++){var f=a[i],d=\\\"h\\\"===f.orientation;!0===f.visible&&f.xaxis===l._id&&f.yaxis===u._id&&\\\"funnel\\\"===f.type&&(n=s[i],d?p.push(n):h.push(n),c.push(n))}var m={mode:o.funnelmode,norm:o.funnelnorm,gap:o.funnelgap,groupgap:o.funnelgroupgap};for(r(t,l,u,h,m),r(t,u,l,p,m),i=0;i<c.length;i++){n=c[i];for(var v=0;v<n.length;v++)v+1<n.length&&(n[v].nextP0=n[v+1].p0,n[v].nextS0=n[v+1].s0,n[v].nextP1=n[v+1].p1,n[v].nextS1=n[v+1].s1)}}},{\\\"../bar/cross_trace_calc\\\":872}],996:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../bar/defaults\\\").handleGroupingDefaults,o=t(\\\"../bar/defaults\\\").handleText,a=t(\\\"../scatter/xy_defaults\\\"),s=t(\\\"./attributes\\\"),l=t(\\\"../../components/color\\\");e.exports={supplyDefaults:function(t,e,n,i){function u(n,i){return r.coerce(t,e,s,n,i)}if(a(t,e,i,u)){u(\\\"orientation\\\",e.y&&!e.x?\\\"v\\\":\\\"h\\\"),u(\\\"offset\\\"),u(\\\"width\\\");var c=u(\\\"text\\\");u(\\\"hovertext\\\"),u(\\\"hovertemplate\\\");var h=u(\\\"textposition\\\");o(t,e,i,u,h,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),\\\"none\\\"===e.textposition||e.texttemplate||u(\\\"textinfo\\\",Array.isArray(c)?\\\"text+value\\\":\\\"value\\\");var p=u(\\\"marker.color\\\",n);u(\\\"marker.line.color\\\",l.defaultLine),u(\\\"marker.line.width\\\"),u(\\\"connector.visible\\\")&&(u(\\\"connector.fillcolor\\\",function(t){var e=r.isArrayOrTypedArray(t)?\\\"#000\\\":t;return l.addOpacity(e,.5*l.opacity(e))}(p)),u(\\\"connector.line.width\\\")&&(u(\\\"connector.line.color\\\"),u(\\\"connector.line.dash\\\")))}else e.visible=!1},crossTraceDefaults:function(t,e){var n,o;function a(t){return r.coerce(o._input,o,s,t)}if(\\\"group\\\"===e.funnelmode)for(var l=0;l<t.length;l++)n=(o=t[l])._input,i(n,o,e,a)}}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../bar/defaults\\\":873,\\\"../scatter/xy_defaults\\\":1160,\\\"./attributes\\\":992}],997:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return t.x=\\\"xVal\\\"in e?e.xVal:e.x,t.y=\\\"yVal\\\"in e?e.yVal:e.y,\\\"percentInitial\\\"in e&&(t.percentInitial=e.percentInitial),\\\"percentPrevious\\\"in e&&(t.percentPrevious=e.percentPrevious),\\\"percentTotal\\\"in e&&(t.percentTotal=e.percentTotal),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),t}},{}],998:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\").opacity,i=t(\\\"../bar/hover\\\").hoverOnBars,o=t(\\\"../../lib\\\").formatPercent;e.exports=function(t,e,n,a){var s=i(t,e,n,a);if(s){var l=s.cd,u=l[0].trace,c=\\\"h\\\"===u.orientation,h=l[s.index];s[(c?\\\"x\\\":\\\"y\\\")+\\\"LabelVal\\\"]=h.s,s.percentInitial=h.begR,s.percentInitialLabel=o(h.begR,1),s.percentPrevious=h.difR,s.percentPreviousLabel=o(h.difR,1),s.percentTotal=h.sumR,s.percentTotalLabel=o(h.sumR,1);var p=h.hi||u.hoverinfo,f=[];if(p&&\\\"none\\\"!==p&&\\\"skip\\\"!==p){var d=\\\"all\\\"===p,m=p.split(\\\"+\\\"),v=function(t){return d||-1!==m.indexOf(t)};v(\\\"percent initial\\\")&&f.push(s.percentInitialLabel+\\\" of initial\\\"),v(\\\"percent previous\\\")&&f.push(s.percentPreviousLabel+\\\" of previous\\\"),v(\\\"percent total\\\")&&f.push(s.percentTotalLabel+\\\" of total\\\")}return s.extraText=f.join(\\\"<br>\\\"),s.color=function(t,e){var n=t.marker,i=e.mc||n.color,o=e.mlc||n.line.color,a=e.mlw||n.line.width;return r(i)?i:r(o)&&a?o:void 0}(u,h),[s]}}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../bar/hover\\\":876}],999:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,crossTraceDefaults:t(\\\"./defaults\\\").crossTraceDefaults,supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\"),crossTraceCalc:t(\\\"./cross_trace_calc\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"./style\\\").style,hoverPoints:t(\\\"./hover\\\"),eventData:t(\\\"./event_data\\\"),selectPoints:t(\\\"../bar/select\\\"),moduleType:\\\"trace\\\",name:\\\"funnel\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"bar-like\\\",\\\"cartesian\\\",\\\"svg\\\",\\\"oriented\\\",\\\"showLegend\\\",\\\"zoomScale\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../bar/select\\\":881,\\\"./attributes\\\":992,\\\"./calc\\\":993,\\\"./cross_trace_calc\\\":995,\\\"./defaults\\\":996,\\\"./event_data\\\":997,\\\"./hover\\\":998,\\\"./layout_attributes\\\":1e3,\\\"./layout_defaults\\\":1001,\\\"./plot\\\":1002,\\\"./style\\\":1003}],1e3:[function(t,e,n){\\\"use strict\\\";e.exports={funnelmode:{valType:\\\"enumerated\\\",values:[\\\"stack\\\",\\\"group\\\",\\\"overlay\\\"],dflt:\\\"stack\\\",editType:\\\"calc\\\"},funnelgap:{valType:\\\"number\\\",min:0,max:1,editType:\\\"calc\\\"},funnelgroupgap:{valType:\\\"number\\\",min:0,max:1,dflt:0,editType:\\\"calc\\\"}}},{}],1001:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e,n){var o=!1;function a(n,o){return r.coerce(t,e,i,n,o)}for(var s=0;s<n.length;s++){var l=n[s];if(l.visible&&\\\"funnel\\\"===l.type){o=!0;break}}o&&(a(\\\"funnelmode\\\"),a(\\\"funnelgap\\\",.2),a(\\\"funnelgroupgap\\\"))}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":1e3}],1002:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../../constants/numerical\\\").BADNUM,s=t(\\\"../bar/plot\\\"),l=t(\\\"../bar/uniform_text\\\").clearMinTextSize;function u(t,e,n,r){var i=[],o=[],a=r?e:n,s=r?n:e;return i[0]=a.c2p(t.s0,!0),o[0]=s.c2p(t.p0,!0),i[1]=a.c2p(t.s1,!0),o[1]=s.c2p(t.p1,!0),i[2]=a.c2p(t.nextS0,!0),o[2]=s.c2p(t.nextP0,!0),i[3]=a.c2p(t.nextS1,!0),o[3]=s.c2p(t.nextP1,!0),r?[i,o]:[o,i]}e.exports=function(t,e,n,c){var h=t._fullLayout;l(\\\"funnel\\\",h),function(t,e,n,s){var l=e.xaxis,c=e.yaxis;i.makeTraceGroups(s,n,\\\"trace bars\\\").each((function(n){var s=r.select(this),h=n[0].trace,p=i.ensureSingle(s,\\\"g\\\",\\\"regions\\\");if(h.connector&&h.connector.visible){var f=\\\"h\\\"===h.orientation,d=p.selectAll(\\\"g.region\\\").data(i.identity);d.enter().append(\\\"g\\\").classed(\\\"region\\\",!0),d.exit().remove();var m=d.size();d.each((function(n,s){if(s===m-1||n.cNext){var h=u(n,l,c,f),p=h[0],d=h[1],v=\\\"\\\";p[0]!==a&&d[0]!==a&&p[1]!==a&&d[1]!==a&&p[2]!==a&&d[2]!==a&&p[3]!==a&&d[3]!==a&&(v+=f?\\\"M\\\"+p[0]+\\\",\\\"+d[1]+\\\"L\\\"+p[2]+\\\",\\\"+d[2]+\\\"H\\\"+p[3]+\\\"L\\\"+p[1]+\\\",\\\"+d[1]+\\\"Z\\\":\\\"M\\\"+p[1]+\\\",\\\"+d[1]+\\\"L\\\"+p[2]+\\\",\\\"+d[3]+\\\"V\\\"+d[2]+\\\"L\\\"+p[1]+\\\",\\\"+d[0]+\\\"Z\\\"),\\\"\\\"===v&&(v=\\\"M0,0Z\\\"),i.ensureSingle(r.select(this),\\\"path\\\").attr(\\\"d\\\",v).call(o.setClipUrl,e.layerClipId,t)}}))}else p.remove()}))}(t,e,n,c),function(t,e,n,a){var s=e.xaxis,l=e.yaxis;i.makeTraceGroups(a,n,\\\"trace bars\\\").each((function(n){var a=r.select(this),c=n[0].trace,h=i.ensureSingle(a,\\\"g\\\",\\\"lines\\\");if(c.connector&&c.connector.visible&&c.connector.line.width){var p=\\\"h\\\"===c.orientation,f=h.selectAll(\\\"g.line\\\").data(i.identity);f.enter().append(\\\"g\\\").classed(\\\"line\\\",!0),f.exit().remove();var d=f.size();f.each((function(n,a){if(a===d-1||n.cNext){var c=u(n,s,l,p),h=c[0],f=c[1],m=\\\"\\\";void 0!==h[3]&&void 0!==f[3]&&(p?(m+=\\\"M\\\"+h[0]+\\\",\\\"+f[1]+\\\"L\\\"+h[2]+\\\",\\\"+f[2],m+=\\\"M\\\"+h[1]+\\\",\\\"+f[1]+\\\"L\\\"+h[3]+\\\",\\\"+f[2]):(m+=\\\"M\\\"+h[1]+\\\",\\\"+f[1]+\\\"L\\\"+h[2]+\\\",\\\"+f[3],m+=\\\"M\\\"+h[1]+\\\",\\\"+f[0]+\\\"L\\\"+h[2]+\\\",\\\"+f[2])),\\\"\\\"===m&&(m=\\\"M0,0Z\\\"),i.ensureSingle(r.select(this),\\\"path\\\").attr(\\\"d\\\",m).call(o.setClipUrl,e.layerClipId,t)}}))}else h.remove()}))}(t,e,n,c),s.plot(t,e,n,c,{mode:h.funnelmode,norm:h.funnelmode,gap:h.funnelgap,groupgap:h.funnelgroupgap})}},{\\\"../../components/drawing\\\":617,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../bar/plot\\\":880,\\\"../bar/uniform_text\\\":885,d3:164}],1003:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/drawing\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"../../constants/interactions\\\").DESELECTDIM,s=t(\\\"../bar/style\\\"),l=t(\\\"../bar/uniform_text\\\").resizeText,u=s.styleTextPoints;e.exports={style:function(t,e,n){var s=n||r.select(t).selectAll(\\\"g.funnellayer\\\").selectAll(\\\"g.trace\\\");l(t,s,\\\"funnel\\\"),s.style(\\\"opacity\\\",(function(t){return t[0].trace.opacity})),s.each((function(e){var n=r.select(this),s=e[0].trace;n.selectAll(\\\".point > path\\\").each((function(t){if(!t.isBlank){var e=s.marker;r.select(this).call(o.fill,t.mc||e.color).call(o.stroke,t.mlc||e.line.color).call(i.dashLine,e.line.dash,t.mlw||e.line.width).style(\\\"opacity\\\",s.selectedpoints&&!t.selected?a:1)}})),u(n,s,t),n.selectAll(\\\".regions\\\").each((function(){r.select(this).selectAll(\\\"path\\\").style(\\\"stroke-width\\\",0).call(o.fill,s.connector.fillcolor)})),n.selectAll(\\\".lines\\\").each((function(){var t=s.connector.line;i.lineGroupStyle(r.select(this).selectAll(\\\"path\\\"),t.width,t.color,t.dash)}))}))}}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../constants/interactions\\\":703,\\\"../bar/style\\\":883,\\\"../bar/uniform_text\\\":885,d3:164}],1004:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../pie/attributes\\\"),i=t(\\\"../../plots/attributes\\\"),o=t(\\\"../../plots/domain\\\").attributes,a=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,s=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,l=t(\\\"../../lib/extend\\\").extendFlat;e.exports={labels:r.labels,label0:r.label0,dlabel:r.dlabel,values:r.values,marker:{colors:r.marker.colors,line:{color:l({},r.marker.line.color,{dflt:null}),width:l({},r.marker.line.width,{dflt:1}),editType:\\\"calc\\\"},editType:\\\"calc\\\"},text:r.text,hovertext:r.hovertext,scalegroup:l({},r.scalegroup,{}),textinfo:l({},r.textinfo,{flags:[\\\"label\\\",\\\"text\\\",\\\"value\\\",\\\"percent\\\"]}),texttemplate:s({editType:\\\"plot\\\"},{keys:[\\\"label\\\",\\\"color\\\",\\\"value\\\",\\\"text\\\",\\\"percent\\\"]}),hoverinfo:l({},i.hoverinfo,{flags:[\\\"label\\\",\\\"text\\\",\\\"value\\\",\\\"percent\\\",\\\"name\\\"]}),hovertemplate:a({},{keys:[\\\"label\\\",\\\"color\\\",\\\"value\\\",\\\"text\\\",\\\"percent\\\"]}),textposition:l({},r.textposition,{values:[\\\"inside\\\",\\\"none\\\"],dflt:\\\"inside\\\"}),textfont:r.textfont,insidetextfont:r.insidetextfont,title:{text:r.title.text,font:r.title.font,position:l({},r.title.position,{values:[\\\"top left\\\",\\\"top center\\\",\\\"top right\\\"],dflt:\\\"top center\\\"}),editType:\\\"plot\\\"},domain:o({name:\\\"funnelarea\\\",trace:!0,editType:\\\"calc\\\"}),aspectratio:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"plot\\\"},baseratio:{valType:\\\"number\\\",min:0,max:1,dflt:.333,editType:\\\"plot\\\"}}},{\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/domain\\\":803,\\\"../../plots/template_attributes\\\":854,\\\"../pie/attributes\\\":1108}],1005:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/plots\\\");n.name=\\\"funnelarea\\\",n.plot=function(t,e,i,o){r.plotBasePlot(n.name,t,e,i,o)},n.clean=function(t,e,i,o){r.cleanBasePlot(n.name,t,e,i,o)}},{\\\"../../plots/plots\\\":839}],1006:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../pie/calc\\\");e.exports={calc:function(t,e){return r.calc(t,e)},crossTraceCalc:function(t){r.crossTraceCalc(t,{type:\\\"funnelarea\\\"})}}},{\\\"../pie/calc\\\":1110}],1007:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"../../plots/domain\\\").defaults,a=t(\\\"../bar/defaults\\\").handleText,s=t(\\\"../pie/defaults\\\").handleLabelsAndValues;e.exports=function(t,e,n,l){function u(n,o){return r.coerce(t,e,i,n,o)}var c=u(\\\"labels\\\"),h=u(\\\"values\\\"),p=s(c,h),f=p.len;if(e._hasLabels=p.hasLabels,e._hasValues=p.hasValues,!e._hasLabels&&e._hasValues&&(u(\\\"label0\\\"),u(\\\"dlabel\\\")),f){e._length=f,u(\\\"marker.line.width\\\")&&u(\\\"marker.line.color\\\",l.paper_bgcolor),u(\\\"marker.colors\\\"),u(\\\"scalegroup\\\");var d,m=u(\\\"text\\\"),v=u(\\\"texttemplate\\\");if(v||(d=u(\\\"textinfo\\\",Array.isArray(m)?\\\"text+percent\\\":\\\"percent\\\")),u(\\\"hovertext\\\"),u(\\\"hovertemplate\\\"),v||d&&\\\"none\\\"!==d){var g=u(\\\"textposition\\\");a(t,e,l,u,g,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}o(e,l,u),u(\\\"title.text\\\")&&(u(\\\"title.position\\\"),r.coerceFont(u,\\\"title.font\\\",l.font)),u(\\\"aspectratio\\\"),u(\\\"baseratio\\\")}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"../../plots/domain\\\":803,\\\"../bar/defaults\\\":873,\\\"../pie/defaults\\\":1111,\\\"./attributes\\\":1004}],1008:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"funnelarea\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[\\\"pie-like\\\",\\\"funnelarea\\\",\\\"showLegend\\\"],attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\").calc,crossTraceCalc:t(\\\"./calc\\\").crossTraceCalc,plot:t(\\\"./plot\\\"),style:t(\\\"./style\\\"),styleOne:t(\\\"../pie/style_one\\\"),meta:{}}},{\\\"../pie/style_one\\\":1119,\\\"./attributes\\\":1004,\\\"./base_plot\\\":1005,\\\"./calc\\\":1006,\\\"./defaults\\\":1007,\\\"./layout_attributes\\\":1009,\\\"./layout_defaults\\\":1010,\\\"./plot\\\":1011,\\\"./style\\\":1012}],1009:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../pie/layout_attributes\\\").hiddenlabels;e.exports={hiddenlabels:r,funnelareacolorway:{valType:\\\"colorlist\\\",editType:\\\"calc\\\"},extendfunnelareacolors:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"}}},{\\\"../pie/layout_attributes\\\":1115}],1010:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e){function n(n,o){return r.coerce(t,e,i,n,o)}n(\\\"hiddenlabels\\\"),n(\\\"funnelareacolorway\\\",e.colorway),n(\\\"extendfunnelareacolors\\\")}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":1009}],1011:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/drawing\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../lib/svg_text_utils\\\"),s=t(\\\"../bar/plot\\\").toMoveInsideBar,l=t(\\\"../bar/uniform_text\\\"),u=l.recordMinTextSize,c=l.clearMinTextSize,h=t(\\\"../pie/helpers\\\"),p=t(\\\"../pie/plot\\\"),f=p.attachFxHandlers,d=p.determineInsideTextFont,m=p.layoutAreas,v=p.prerenderTitles,g=p.positionTitleOutside,y=p.formatSliceLabel;function _(t,e){return\\\"l\\\"+(e[0]-t[0])+\\\",\\\"+(e[1]-t[1])}function b(t){if(t.length){var e=t[0],n=e.trace,r=n.aspectratio,i=n.baseratio;i>.999&&(i=.999);var o,a,s,l=Math.pow(i,2),u=e.vTotal,c=u,h=u*l/(1-l)/u,p=[];for(p.push(S()),a=t.length-1;a>-1;a--)if(!(s=t[a]).hidden){var f=s.v/c;h+=f,p.push(S())}var d=1/0,m=-1/0;for(a=0;a<p.length;a++)o=p[a],d=Math.min(d,o[1]),m=Math.max(m,o[1]);for(a=0;a<p.length;a++)p[a][1]-=(m+d)/2;var v=p[p.length-1][0],g=e.r,y=(m-d)/2,_=g/v,b=g/y*r;for(e.r=b*y,a=0;a<p.length;a++)p[a][0]*=_,p[a][1]*=b;var x=[-(o=p[0])[0],o[1]],w=[o[0],o[1]],A=0;for(a=t.length-1;a>-1;a--)if(!(s=t[a]).hidden){var C=p[A+=1][0],M=p[A][1];s.TL=[-C,M],s.TR=[C,M],s.BL=x,s.BR=w,s.pxmid=(E=s.TR,T=s.BR,[.5*(E[0]+T[0]),.5*(E[1]+T[1])]),x=s.TL,w=s.TR}}var E,T;function S(){var t,e={x:t=Math.sqrt(h),y:-t};return[e.x,e.y]}}e.exports=function(t,e){var n=t._fullLayout;c(\\\"funnelarea\\\",n),v(e,t),m(e,n._size),o.makeTraceGroups(n._funnelarealayer,e,\\\"trace\\\").each((function(e){var l=r.select(this),c=e[0],p=c.trace;b(e),l.each((function(){var l=r.select(this).selectAll(\\\"g.slice\\\").data(e);l.enter().append(\\\"g\\\").classed(\\\"slice\\\",!0),l.exit().remove(),l.each((function(l,m){if(l.hidden)r.select(this).selectAll(\\\"path,g\\\").remove();else{l.pointNumber=l.i,l.curveNumber=p.index;var v=c.cx,g=c.cy,b=r.select(this),x=b.selectAll(\\\"path.surface\\\").data([l]);x.enter().append(\\\"path\\\").classed(\\\"surface\\\",!0).style({\\\"pointer-events\\\":\\\"all\\\"}),b.call(f,t,e);var w=\\\"M\\\"+(v+l.TR[0])+\\\",\\\"+(g+l.TR[1])+_(l.TR,l.BR)+_(l.BR,l.BL)+_(l.BL,l.TL)+\\\"Z\\\";x.attr(\\\"d\\\",w),y(t,l,c);var A=h.castOption(p.textposition,l.pts),C=b.selectAll(\\\"g.slicetext\\\").data(l.text&&\\\"none\\\"!==A?[0]:[]);C.enter().append(\\\"g\\\").classed(\\\"slicetext\\\",!0),C.exit().remove(),C.each((function(){var c=o.ensureSingle(r.select(this),\\\"text\\\",\\\"\\\",(function(t){t.attr(\\\"data-notex\\\",1)})),h=o.ensureUniformFontSize(t,d(p,l,n.font));c.text(l.text).attr({class:\\\"slicetext\\\",transform:\\\"\\\",\\\"text-anchor\\\":\\\"middle\\\"}).call(i.font,h).call(a.convertToTspans,t);var f,y,_,b=i.bBox(c.node()),x=Math.min(l.BL[1],l.BR[1])+g,w=Math.max(l.TL[1],l.TR[1])+g;y=Math.max(l.TL[0],l.BL[0])+v,_=Math.min(l.TR[0],l.BR[0])+v,(f=s(y,_,x,w,b,{isHorizontal:!0,constrained:!0,angle:0,anchor:\\\"middle\\\"})).fontSize=h.size,u(p.type,f,n),e[m].transform=f,c.attr(\\\"transform\\\",o.getTextTransform(f))}))}}));var m=r.select(this).selectAll(\\\"g.titletext\\\").data(p.title.text?[0]:[]);m.enter().append(\\\"g\\\").classed(\\\"titletext\\\",!0),m.exit().remove(),m.each((function(){var e=o.ensureSingle(r.select(this),\\\"text\\\",\\\"\\\",(function(t){t.attr(\\\"data-notex\\\",1)})),s=p.title.text;p._meta&&(s=o.templateString(s,p._meta)),e.text(s).attr({class:\\\"titletext\\\",transform:\\\"\\\",\\\"text-anchor\\\":\\\"middle\\\"}).call(i.font,p.title.font).call(a.convertToTspans,t);var l=g(c,n._size);e.attr(\\\"transform\\\",\\\"translate(\\\"+l.x+\\\",\\\"+l.y+\\\")\\\"+(l.scale<1?\\\"scale(\\\"+l.scale+\\\")\\\":\\\"\\\")+\\\"translate(\\\"+l.tx+\\\",\\\"+l.ty+\\\")\\\")}))}))}))}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../bar/plot\\\":880,\\\"../bar/uniform_text\\\":885,\\\"../pie/helpers\\\":1113,\\\"../pie/plot\\\":1117,d3:164}],1012:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../pie/style_one\\\"),o=t(\\\"../bar/uniform_text\\\").resizeText;e.exports=function(t){var e=t._fullLayout._funnelarealayer.selectAll(\\\".trace\\\");o(t,e,\\\"funnelarea\\\"),e.each((function(t){var e=t[0].trace,n=r.select(this);n.style({opacity:e.opacity}),n.selectAll(\\\"path.surface\\\").each((function(t){r.select(this).call(i,t,e)}))}))}},{\\\"../bar/uniform_text\\\":885,\\\"../pie/style_one\\\":1119,d3:164}],1013:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/attributes\\\"),i=t(\\\"../../plots/attributes\\\"),o=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,a=t(\\\"../../components/colorscale/attributes\\\"),s=(t(\\\"../../constants/docs\\\").FORMAT_LINK,t(\\\"../../lib/extend\\\").extendFlat);e.exports=s({z:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},x:s({},r.x,{impliedEdits:{xtype:\\\"array\\\"}}),x0:s({},r.x0,{impliedEdits:{xtype:\\\"scaled\\\"}}),dx:s({},r.dx,{impliedEdits:{xtype:\\\"scaled\\\"}}),y:s({},r.y,{impliedEdits:{ytype:\\\"array\\\"}}),y0:s({},r.y0,{impliedEdits:{ytype:\\\"scaled\\\"}}),dy:s({},r.dy,{impliedEdits:{ytype:\\\"scaled\\\"}}),text:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},hovertext:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},transpose:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},xtype:{valType:\\\"enumerated\\\",values:[\\\"array\\\",\\\"scaled\\\"],editType:\\\"calc+clearAxisTypes\\\"},ytype:{valType:\\\"enumerated\\\",values:[\\\"array\\\",\\\"scaled\\\"],editType:\\\"calc+clearAxisTypes\\\"},zsmooth:{valType:\\\"enumerated\\\",values:[\\\"fast\\\",\\\"best\\\",!1],dflt:!1,editType:\\\"calc\\\"},hoverongaps:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"none\\\"},connectgaps:{valType:\\\"boolean\\\",editType:\\\"calc\\\"},xgap:{valType:\\\"number\\\",dflt:0,min:0,editType:\\\"plot\\\"},ygap:{valType:\\\"number\\\",dflt:0,min:0,editType:\\\"plot\\\"},zhoverformat:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"none\\\"},hovertemplate:o(),showlegend:s({},i.showlegend,{dflt:!1})},{transforms:void 0},a(\\\"\\\",{cLetter:\\\"z\\\",autoColorDflt:!1}))},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../constants/docs\\\":699,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134}],1014:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"../histogram2d/calc\\\"),s=t(\\\"../../components/colorscale/calc\\\"),l=t(\\\"./convert_column_xyz\\\"),u=t(\\\"./clean_2d_array\\\"),c=t(\\\"./interp2d\\\"),h=t(\\\"./find_empties\\\"),p=t(\\\"./make_bound_array\\\"),f=t(\\\"../../constants/numerical\\\").BADNUM;function d(t){for(var e=[],n=t.length,r=0;r<n;r++){var i=t[r];i!==f&&e.push(i)}return e}e.exports=function(t,e){var n,m,v,g,y,_,b,x,w,A=o.getFromId(t,e.xaxis||\\\"x\\\"),C=o.getFromId(t,e.yaxis||\\\"y\\\"),M=r.traceIs(e,\\\"contour\\\"),E=r.traceIs(e,\\\"histogram\\\"),T=r.traceIs(e,\\\"gl2d\\\"),S=M?\\\"best\\\":e.zsmooth;if(A._minDtick=0,C._minDtick=0,E)n=(w=a(t,e)).x,m=w.x0,v=w.dx,g=w.y,y=w.y0,_=w.dy,b=w.z;else{var k=e.z;i.isArray1D(k)?(l(e,A,C,\\\"x\\\",\\\"y\\\",[\\\"z\\\"]),n=e._x,g=e._y,k=e._z):(n=e._x=e.x?A.makeCalcdata(e,\\\"x\\\"):[],g=e._y=e.y?C.makeCalcdata(e,\\\"y\\\"):[]),m=e.x0,v=e.dx,y=e.y0,_=e.dy,b=u(k,e,A,C)}function O(t){S=e._input.zsmooth=e.zsmooth=!1,i.warn('cannot use zsmooth: \\\"fast\\\": '+t)}if((A.rangebreaks||C.rangebreaks)&&(b=function(t,e,n){for(var r=[],i=-1,o=0;o<n.length;o++)if(e[o]!==f){r[++i]=[];for(var a=0;a<n[o].length;a++)t[a]!==f&&r[i].push(n[o][a])}return r}(n,g,b),E||(n=d(n),g=d(g),e._x=n,e._y=g)),E||!M&&!e.connectgaps||(e._emptypoints=h(b),c(b,e._emptypoints)),\\\"fast\\\"===S)if(\\\"log\\\"===A.type||\\\"log\\\"===C.type)O(\\\"log axis found\\\");else if(!E){if(n.length){var I=(n[n.length-1]-n[0])/(n.length-1),L=Math.abs(I/100);for(x=0;x<n.length-1;x++)if(Math.abs(n[x+1]-n[x]-I)>L){O(\\\"x scale is not linear\\\");break}}if(g.length&&\\\"fast\\\"===S){var P=(g[g.length-1]-g[0])/(g.length-1),z=Math.abs(P/100);for(x=0;x<g.length-1;x++)if(Math.abs(g[x+1]-g[x]-P)>z){O(\\\"y scale is not linear\\\");break}}}var R=i.maxRowLength(b),D=\\\"scaled\\\"===e.xtype?\\\"\\\":n,$=p(e,D,m,v,R,A),B=\\\"scaled\\\"===e.ytype?\\\"\\\":g,N=p(e,B,y,_,b.length,C);T||(e._extremes[A._id]=o.findExtremes(A,$),e._extremes[C._id]=o.findExtremes(C,N));var F={x:$,y:N,z:b,text:e._text||e.text,hovertext:e._hovertext||e.hovertext};if(D&&D.length===$.length-1&&(F.xCenter=D),B&&B.length===N.length-1&&(F.yCenter=B),E&&(F.xRanges=w.xRanges,F.yRanges=w.yRanges,F.pts=w.pts),M||s(t,e,{vals:b,cLetter:\\\"z\\\"}),M&&e.contours&&\\\"heatmap\\\"===e.contours.coloring){var j={type:\\\"contour\\\"===e.type?\\\"heatmap\\\":\\\"histogram2d\\\",xcalendar:e.xcalendar,ycalendar:e.ycalendar};F.xfill=p(j,D,m,v,R,A),F.yfill=p(j,B,y,_,b.length,C)}return[F]}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"../histogram2d/calc\\\":1046,\\\"./clean_2d_array\\\":1015,\\\"./convert_column_xyz\\\":1017,\\\"./find_empties\\\":1019,\\\"./interp2d\\\":1022,\\\"./make_bound_array\\\":1023}],1015:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../constants/numerical\\\").BADNUM;e.exports=function(t,e,n,a){var s,l,u,c,h,p;function f(t){if(r(t))return+t}if(e&&e.transpose){for(s=0,h=0;h<t.length;h++)s=Math.max(s,t[h].length);if(0===s)return!1;u=function(t){return t.length},c=function(t,e,n){return(t[n]||[])[e]}}else s=t.length,u=function(t,e){return t[e].length},c=function(t,e,n){return(t[e]||[])[n]};var d=function(t,e,n){return e===o||n===o?o:c(t,e,n)};function m(t){if(e&&\\\"carpet\\\"!==e.type&&\\\"contourcarpet\\\"!==e.type&&t&&\\\"category\\\"===t.type&&e[\\\"_\\\"+t._id.charAt(0)].length){var n=t._id.charAt(0),r={},a=e[\\\"_\\\"+n+\\\"CategoryMap\\\"]||e[n];for(h=0;h<a.length;h++)r[a[h]]=h;return function(e){var n=r[t._categories[e]];return n+1?n:o}}return i.identity}var v=m(n),g=m(a);a&&\\\"category\\\"===a.type&&(s=a._categories.length);var y=new Array(s);for(h=0;h<s;h++)for(l=n&&\\\"category\\\"===n.type?n._categories.length:u(t,h),y[h]=new Array(l),p=0;p<l;p++)y[h][p]=f(d(t,g(h),v(p)));return y}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"fast-isnumeric\\\":236}],1016:[function(t,e,n){\\\"use strict\\\";e.exports={min:\\\"zmin\\\",max:\\\"zmax\\\"}},{}],1017:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../constants/numerical\\\").BADNUM;e.exports=function(t,e,n,o,a,s){var l,u,c,h,p=t._length,f=e.makeCalcdata(t,o),d=n.makeCalcdata(t,a),m=t.text,v=void 0!==m&&r.isArray1D(m),g=t.hovertext,y=void 0!==g&&r.isArray1D(g),_=r.distinctVals(f),b=_.vals,x=r.distinctVals(d),w=x.vals,A=[],C=w.length,M=b.length;for(l=0;l<s.length;l++)A[l]=r.init2dArray(C,M);v&&(c=r.init2dArray(C,M)),y&&(h=r.init2dArray(C,M));var E=r.init2dArray(C,M);for(l=0;l<p;l++)if(f[l]!==i&&d[l]!==i){var T=r.findBin(f[l]+_.minDiff/2,b),S=r.findBin(d[l]+x.minDiff/2,w);for(u=0;u<s.length;u++){var k=t[s[u]];A[u][S][T]=k[l],E[S][T]=l}v&&(c[S][T]=m[l]),y&&(h[S][T]=g[l])}for(t[\\\"_\\\"+o]=b,t[\\\"_\\\"+a]=w,u=0;u<s.length;u++)t[\\\"_\\\"+s[u]]=A[u];v&&(t._text=c),y&&(t._hovertext=h),e&&\\\"category\\\"===e.type&&(t[\\\"_\\\"+o+\\\"CategoryMap\\\"]=b.map((function(t){return e._categories[t]}))),n&&\\\"category\\\"===n.type&&(t[\\\"_\\\"+a+\\\"CategoryMap\\\"]=w.map((function(t){return n._categories[t]}))),t._after2before=E}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728}],1018:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./xyz_defaults\\\"),o=t(\\\"./style_defaults\\\"),a=t(\\\"../../components/colorscale/defaults\\\"),s=t(\\\"./attributes\\\");e.exports=function(t,e,n,l){function u(n,i){return r.coerce(t,e,s,n,i)}i(t,e,u,l)?(u(\\\"text\\\"),u(\\\"hovertext\\\"),u(\\\"hovertemplate\\\"),o(t,e,u,l),u(\\\"hoverongaps\\\"),u(\\\"connectgaps\\\",r.isArray1D(e.z)&&!1!==e.zsmooth),a(t,e,l,u,{prefix:\\\"\\\",cLetter:\\\"z\\\"})):e.visible=!1}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"./attributes\\\":1013,\\\"./style_defaults\\\":1026,\\\"./xyz_defaults\\\":1027}],1019:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").maxRowLength;e.exports=function(t){var e,n,i,o,a,s,l,u,c=[],h={},p=[],f=t[0],d=[],m=[0,0,0],v=r(t);for(n=0;n<t.length;n++)for(e=d,d=f,f=t[n+1]||[],i=0;i<v;i++)void 0===d[i]&&((s=(void 0!==d[i-1]?1:0)+(void 0!==d[i+1]?1:0)+(void 0!==e[i]?1:0)+(void 0!==f[i]?1:0))?(0===n&&s++,0===i&&s++,n===t.length-1&&s++,i===d.length-1&&s++,s<4&&(h[[n,i]]=[n,i,s]),c.push([n,i,s])):p.push([n,i]));for(;p.length;){for(l={},u=!1,a=p.length-1;a>=0;a--)(s=((h[[(n=(o=p[a])[0])-1,i=o[1]]]||m)[2]+(h[[n+1,i]]||m)[2]+(h[[n,i-1]]||m)[2]+(h[[n,i+1]]||m)[2])/20)&&(l[o]=[n,i,s],p.splice(a,1),u=!0);if(!u)throw\\\"findEmpties iterated with no new neighbors\\\";for(o in l)h[o]=l[o],c.push(l[o])}return c.sort((function(t,e){return e[2]-t[2]}))}},{\\\"../../lib\\\":728}],1020:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/fx\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"../../components/colorscale\\\").extractOpts;e.exports=function(t,e,n,s,l,u){var c,h,p,f,d=t.cd[0],m=d.trace,v=t.xa,g=t.ya,y=d.x,_=d.y,b=d.z,x=d.xCenter,w=d.yCenter,A=d.zmask,C=m.zhoverformat,M=y,E=_;if(!1!==t.index){try{p=Math.round(t.index[1]),f=Math.round(t.index[0])}catch(e){return void i.error(\\\"Error hovering on heatmap, pointNumber must be [row,col], found:\\\",t.index)}if(p<0||p>=b[0].length||f<0||f>b.length)return}else{if(r.inbox(e-y[0],e-y[y.length-1],0)>0||r.inbox(n-_[0],n-_[_.length-1],0)>0)return;if(u){var T;for(M=[2*y[0]-y[1]],T=1;T<y.length;T++)M.push((y[T]+y[T-1])/2);for(M.push([2*y[y.length-1]-y[y.length-2]]),E=[2*_[0]-_[1]],T=1;T<_.length;T++)E.push((_[T]+_[T-1])/2);E.push([2*_[_.length-1]-_[_.length-2]])}p=Math.max(0,Math.min(M.length-2,i.findBin(e,M))),f=Math.max(0,Math.min(E.length-2,i.findBin(n,E)))}var S=v.c2p(y[p]),k=v.c2p(y[p+1]),O=g.c2p(_[f]),I=g.c2p(_[f+1]);u?(k=S,c=y[p],I=O,h=_[f]):(c=x?x[p]:(y[p]+y[p+1])/2,h=w?w[f]:(_[f]+_[f+1])/2,v&&\\\"category\\\"===v.type&&(c=y[p]),g&&\\\"category\\\"===g.type&&(h=_[f]),m.zsmooth&&(S=k=v.c2p(c),O=I=g.c2p(h)));var L=b[f][p];if(A&&!A[f][p]&&(L=void 0),void 0!==L||m.hoverongaps){var P;Array.isArray(d.hovertext)&&Array.isArray(d.hovertext[f])?P=d.hovertext[f][p]:Array.isArray(d.text)&&Array.isArray(d.text[f])&&(P=d.text[f][p]);var z=a(m),R={type:\\\"linear\\\",range:[z.min,z.max],hoverformat:C,_separators:v._separators,_numFormat:v._numFormat},D=o.tickText(R,L,\\\"hover\\\").text;return[i.extendFlat(t,{index:m._after2before?m._after2before[f][p]:[f,p],distance:t.maxHoverDistance,spikeDistance:t.maxSpikeDistance,x0:S,x1:k,y0:O,y1:I,xLabelVal:c,yLabelVal:h,zLabelVal:L,zLabel:D,text:P})]}}},{\\\"../../components/colorscale\\\":607,\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776}],1021:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),colorbar:t(\\\"./colorbar\\\"),style:t(\\\"./style\\\"),hoverPoints:t(\\\"./hover\\\"),moduleType:\\\"trace\\\",name:\\\"heatmap\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"2dMap\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"./attributes\\\":1013,\\\"./calc\\\":1014,\\\"./colorbar\\\":1016,\\\"./defaults\\\":1018,\\\"./hover\\\":1020,\\\"./plot\\\":1024,\\\"./style\\\":1025}],1022:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=[[-1,0],[1,0],[0,-1],[0,1]];function o(t){return.5-.25*Math.min(1,.5*t)}function a(t,e,n){var r,o,a,s,l,u,c,h,p,f,d,m,v,g=0;for(s=0;s<e.length;s++){for(o=(r=e[s])[0],a=r[1],d=t[o][a],f=0,p=0,l=0;l<4;l++)(c=t[o+(u=i[l])[0]])&&void 0!==(h=c[a+u[1]])&&(0===f?m=v=h:(m=Math.min(m,h),v=Math.max(v,h)),p++,f+=h);if(0===p)throw\\\"iterateInterp2d order is wrong: no defined neighbors\\\";t[o][a]=f/p,void 0===d?p<4&&(g=1):(t[o][a]=(1+n)*t[o][a]-n*d,v>m&&(g=Math.max(g,Math.abs(t[o][a]-d)/(v-m))))}return g}e.exports=function(t,e){var n,i=1;for(a(t,e),n=0;n<e.length&&!(e[n][2]<4);n++);for(e=e.slice(n),n=0;n<100&&i>.01;n++)i=a(t,e,o(i));return i>.01&&r.log(\\\"interp2d didn't converge quickly\\\",i),t}},{\\\"../../lib\\\":728}],1023:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\").isArrayOrTypedArray;e.exports=function(t,e,n,o,a,s){var l,u,c,h=[],p=r.traceIs(t,\\\"contour\\\"),f=r.traceIs(t,\\\"histogram\\\"),d=r.traceIs(t,\\\"gl2d\\\");if(i(e)&&e.length>1&&!f&&\\\"category\\\"!==s.type){var m=e.length;if(!(m<=a))return p?e.slice(0,a):e.slice(0,a+1);if(p||d)h=e.slice(0,a);else if(1===a)h=[e[0]-.5,e[0]+.5];else{for(h=[1.5*e[0]-.5*e[1]],c=1;c<m;c++)h.push(.5*(e[c-1]+e[c]));h.push(1.5*e[m-1]-.5*e[m-2])}if(m<a){var v=h[h.length-1],g=v-h[h.length-2];for(c=m;c<a;c++)v+=g,h.push(v)}}else{var y=t[s._id.charAt(0)+\\\"calendar\\\"];for(l=f?s.r2c(n,0,y):i(e)&&1===e.length?e[0]:void 0===n?0:(\\\"log\\\"===s.type?s.d2c:s.r2c)(n,0,y),u=o||1,c=p||d?0:-.5;c<a;c++)h.push(l+u*c)}return h}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859}],1024:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"../../registry\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../components/colorscale\\\").makeColorScaleFuncFromTrace,l=t(\\\"../../constants/xmlns_namespaces\\\");function u(t,e){var n=e.length-2,r=a.constrain(a.findBin(t,e),0,n),i=e[r],o=e[r+1],s=a.constrain(r+(t-i)/(o-i)-.5,0,n),l=Math.round(s),u=Math.abs(s-l);return s&&s!==n&&u?{bin0:l,frac:u,bin1:Math.round(l+u/(s-l))}:{bin0:l,bin1:l,frac:0}}function c(t,e){var n=e.length-1,r=a.constrain(a.findBin(t,e),0,n),i=e[r],o=(t-i)/(e[r+1]-i)||0;return o<=0?{bin0:r,bin1:r,frac:0}:o<.5?{bin0:r,bin1:r+1,frac:o}:{bin0:r+1,bin1:r,frac:1-o}}function h(t,e,n){t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=Math.round(255*n[3])}e.exports=function(t,e,n,p){var f=e.xaxis,d=e.yaxis;a.makeTraceGroups(p,n,\\\"hm\\\").each((function(e){var n,p,m,v,g,y,_=r.select(this),b=e[0],x=b.trace,w=b.z,A=b.x,C=b.y,M=b.xCenter,E=b.yCenter,T=o.traceIs(x,\\\"contour\\\"),S=T?\\\"best\\\":x.zsmooth,k=w.length,O=a.maxRowLength(w),I=!1,L=!1;for(y=0;void 0===n&&y<A.length-1;)n=f.c2p(A[y]),y++;for(y=A.length-1;void 0===p&&y>0;)p=f.c2p(A[y]),y--;for(p<n&&(m=p,p=n,n=m,I=!0),y=0;void 0===v&&y<C.length-1;)v=d.c2p(C[y]),y++;for(y=C.length-1;void 0===g&&y>0;)g=d.c2p(C[y]),y--;if(g<v&&(m=v,v=g,g=m,L=!0),T&&(M=A,E=C,A=b.xfill,C=b.yfill),\\\"fast\\\"!==S){var P=\\\"best\\\"===S?0:.5;n=Math.max(-P*f._length,n),p=Math.min((1+P)*f._length,p),v=Math.max(-P*d._length,v),g=Math.min((1+P)*d._length,g)}var z=Math.round(p-n),R=Math.round(g-v);if(z<=0||R<=0)_.selectAll(\\\"image\\\").data([]).exit().remove();else{var D,$;\\\"fast\\\"===S?(D=O,$=k):(D=z,$=R);var B=document.createElement(\\\"canvas\\\");B.width=D,B.height=$;var N,F,j=B.getContext(\\\"2d\\\"),U=s(x,{noNumericCheck:!0,returnArray:!0});\\\"fast\\\"===S?(N=I?function(t){return O-1-t}:a.identity,F=L?function(t){return k-1-t}:a.identity):(N=function(t){return a.constrain(Math.round(f.c2p(A[t])-n),0,z)},F=function(t){return a.constrain(Math.round(d.c2p(C[t])-v),0,R)});var q,V,H,G,W,X=F(0),Y=[X,X],Z=I?0:1,K=L?0:1,J=0,Q=0,tt=0,et=0;if(S){var nt,rt=0;try{nt=new Uint8Array(z*R*4)}catch(t){nt=new Array(z*R*4)}if(\\\"best\\\"===S){var it,ot,at,st=M||A,lt=E||C,ut=new Array(st.length),ct=new Array(lt.length),ht=new Array(z),pt=M?c:u,ft=E?c:u;for(y=0;y<st.length;y++)ut[y]=Math.round(f.c2p(st[y])-n);for(y=0;y<lt.length;y++)ct[y]=Math.round(d.c2p(lt[y])-v);for(y=0;y<z;y++)ht[y]=pt(y,ut);for(V=0;V<R;V++)for(ot=w[(it=ft(V,ct)).bin0],at=w[it.bin1],y=0;y<z;y++,rt+=4)h(nt,rt,W=Ct(ot,at,ht[y],it))}else for(V=0;V<k;V++)for(G=w[V],Y=F(V),y=0;y<z;y++)W=At(G[y],1),h(nt,rt=4*(Y*z+N(y)),W);var dt=j.createImageData(z,R);try{dt.data.set(nt)}catch(t){var mt=dt.data,vt=mt.length;for(V=0;V<vt;V++)mt[V]=nt[V]}j.putImageData(dt,0,0)}else{var gt=x.xgap,yt=x.ygap,_t=Math.floor(gt/2),bt=Math.floor(yt/2);for(V=0;V<k;V++)if(G=w[V],Y.reverse(),Y[K]=F(V+1),Y[0]!==Y[1]&&void 0!==Y[0]&&void 0!==Y[1])for(q=[H=N(0),H],y=0;y<O;y++)q.reverse(),q[Z]=N(y+1),q[0]!==q[1]&&void 0!==q[0]&&void 0!==q[1]&&(W=At(G[y],(q[1]-q[0])*(Y[1]-Y[0])),j.fillStyle=\\\"rgba(\\\"+W.join(\\\",\\\")+\\\")\\\",j.fillRect(q[0]+_t,Y[0]+bt,q[1]-q[0]-gt,Y[1]-Y[0]-yt))}Q=Math.round(Q/J),tt=Math.round(tt/J),et=Math.round(et/J);var xt=i(\\\"rgb(\\\"+Q+\\\",\\\"+tt+\\\",\\\"+et+\\\")\\\");t._hmpixcount=(t._hmpixcount||0)+J,t._hmlumcount=(t._hmlumcount||0)+J*xt.getLuminance();var wt=_.selectAll(\\\"image\\\").data(e);wt.enter().append(\\\"svg:image\\\").attr({xmlns:l.svg,preserveAspectRatio:\\\"none\\\"}),wt.attr({height:R,width:z,x:n,y:v,\\\"xlink:href\\\":B.toDataURL(\\\"image/png\\\")})}function At(t,e){if(void 0!==t){var n=U(t);return n[0]=Math.round(n[0]),n[1]=Math.round(n[1]),n[2]=Math.round(n[2]),J+=e,Q+=n[0]*e,tt+=n[1]*e,et+=n[2]*e,n}return[0,0,0,0]}function Ct(t,e,n,r){var i=t[n.bin0];if(void 0===i)return At(void 0,1);var o,a=t[n.bin1],s=e[n.bin0],l=e[n.bin1],u=a-i||0,c=s-i||0;return o=void 0===a?void 0===l?0:void 0===s?2*(l-i):2*(2*l-s-i)/3:void 0===l?void 0===s?0:2*(2*i-a-s)/3:void 0===s?2*(2*l-a-i)/3:l+i-a-s,At(i+n.frac*u+r.frac*(c+n.frac*o))}}))}},{\\\"../../components/colorscale\\\":607,\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../lib\\\":728,\\\"../../registry\\\":859,d3:164,tinycolor2:528}],1025:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\");e.exports=function(t){r.select(t).selectAll(\\\".hm image\\\").style(\\\"opacity\\\",(function(t){return t.trace.opacity}))}},{d3:164}],1026:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){!1===n(\\\"zsmooth\\\")&&(n(\\\"xgap\\\"),n(\\\"ygap\\\")),n(\\\"zhoverformat\\\")}},{}],1027:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../registry\\\");function a(t,e){var n=e(t);return\\\"scaled\\\"===(n?e(t+\\\"type\\\",\\\"array\\\"):\\\"scaled\\\")&&(e(t+\\\"0\\\"),e(\\\"d\\\"+t)),n}e.exports=function(t,e,n,s,l,u){var c,h,p=n(\\\"z\\\");if(l=l||\\\"x\\\",u=u||\\\"y\\\",void 0===p||!p.length)return 0;if(i.isArray1D(t.z)){c=n(l),h=n(u);var f=i.minRowLength(c),d=i.minRowLength(h);if(0===f||0===d)return 0;e._length=Math.min(f,d,p.length)}else{if(c=a(l,n),h=a(u,n),!function(t){for(var e,n=!0,o=!1,a=!1,s=0;s<t.length;s++){if(e=t[s],!i.isArrayOrTypedArray(e)){n=!1;break}e.length>0&&(o=!0);for(var l=0;l<e.length;l++)if(r(e[l])){a=!0;break}}return n&&o&&a}(p))return 0;n(\\\"transpose\\\"),e._length=null}return\\\"heatmapgl\\\"===t.type||\\\"contourgl\\\"===t.type||o.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[l,u],s),!0}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"fast-isnumeric\\\":236}],1028:[function(t,e,n){\\\"use strict\\\";for(var r=t(\\\"../heatmap/attributes\\\"),i=t(\\\"../../components/colorscale/attributes\\\"),o=t(\\\"../../lib/extend\\\").extendFlat,a=t(\\\"../../plot_api/edit_types\\\").overrideAll,s=[\\\"z\\\",\\\"x\\\",\\\"x0\\\",\\\"dx\\\",\\\"y\\\",\\\"y0\\\",\\\"dy\\\",\\\"text\\\",\\\"transpose\\\",\\\"xtype\\\",\\\"ytype\\\"],l={},u=0;u<s.length;u++){var c=s[u];l[c]=r[c]}o(l,i(\\\"\\\",{cLetter:\\\"z\\\",autoColorDflt:!1})),e.exports=a(l,\\\"calc\\\",\\\"nested\\\")},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../heatmap/attributes\\\":1013}],1029:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-heatmap2d\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../../lib/str2rgbarray\\\");function a(t,e){this.scene=t,this.uid=e,this.type=\\\"heatmapgl\\\",this.name=\\\"\\\",this.hoverinfo=\\\"all\\\",this.xData=[],this.yData=[],this.zData=[],this.textLabels=[],this.idToIndex=[],this.bounds=[0,0,0,0],this.options={z:[],x:[],y:[],shape:[0,0],colorLevels:[0],colorValues:[0,0,0,1]},this.heatmap=r(t.glplot,this.options),this.heatmap._trace=this}var s=a.prototype;s.handlePick=function(t){var e=this.options,n=e.shape,r=t.pointId,i=r%n[0],o=Math.floor(r/n[0]),a=r;return{trace:this,dataCoord:t.dataCoord,traceCoord:[e.x[i],e.y[o],e.z[a]],textLabel:this.textLabels[r],name:this.name,pointIndex:[o,i],hoverinfo:this.hoverinfo}},s.update=function(t,e){var n=e[0];this.index=t.index,this.name=t.name,this.hoverinfo=t.hoverinfo;var r=n.z;this.options.z=[].concat.apply([],r);var a=r[0].length,s=r.length;this.options.shape=[a,s],this.options.x=n.x,this.options.y=n.y;var l=function(t){for(var e=t.colorscale,n=t.zmin,r=t.zmax,i=e.length,a=new Array(i),s=new Array(4*i),l=0;l<i;l++){var u=e[l],c=o(u[1]);a[l]=n+u[0]*(r-n);for(var h=0;h<4;h++)s[4*l+h]=c[h]}return{colorLevels:a,colorValues:s}}(t);this.options.colorLevels=l.colorLevels,this.options.colorValues=l.colorValues,this.textLabels=[].concat.apply([],t.text),this.heatmap.update(this.options);var u=this.scene.xaxis,c=this.scene.yaxis;t._extremes[u._id]=i.findExtremes(u,n.x),t._extremes[c._id]=i.findExtremes(c,n.y)},s.dispose=function(){this.heatmap.dispose()},e.exports=function(t,e,n){var r=new a(t,e.uid);return r.update(e,n),r}},{\\\"../../lib/str2rgbarray\\\":751,\\\"../../plots/cartesian/axes\\\":776,\\\"gl-heatmap2d\\\":263}],1030:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../heatmap/xyz_defaults\\\"),o=t(\\\"../../components/colorscale/defaults\\\"),a=t(\\\"./attributes\\\");e.exports=function(t,e,n,s){function l(n,i){return r.coerce(t,e,a,n,i)}i(t,e,l,s)?(l(\\\"text\\\"),o(t,e,s,l,{prefix:\\\"\\\",cLetter:\\\"z\\\"})):e.visible=!1}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"../heatmap/xyz_defaults\\\":1027,\\\"./attributes\\\":1028}],1031:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../heatmap/colorbar\\\"),calc:t(\\\"../heatmap/calc\\\"),plot:t(\\\"./convert\\\"),moduleType:\\\"trace\\\",name:\\\"heatmapgl\\\",basePlotModule:t(\\\"../../plots/gl2d\\\"),categories:[\\\"gl\\\",\\\"gl2d\\\",\\\"2dMap\\\"],meta:{}}},{\\\"../../plots/gl2d\\\":816,\\\"../heatmap/calc\\\":1014,\\\"../heatmap/colorbar\\\":1016,\\\"./attributes\\\":1028,\\\"./convert\\\":1029,\\\"./defaults\\\":1030}],1032:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../bar/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"./bin_attributes\\\"),a=t(\\\"./constants\\\"),s=t(\\\"../../lib/extend\\\").extendFlat;e.exports={x:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},y:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},text:s({},r.text,{}),hovertext:s({},r.hovertext,{}),orientation:r.orientation,histfunc:{valType:\\\"enumerated\\\",values:[\\\"count\\\",\\\"sum\\\",\\\"avg\\\",\\\"min\\\",\\\"max\\\"],dflt:\\\"count\\\",editType:\\\"calc\\\"},histnorm:{valType:\\\"enumerated\\\",values:[\\\"\\\",\\\"percent\\\",\\\"probability\\\",\\\"density\\\",\\\"probability density\\\"],dflt:\\\"\\\",editType:\\\"calc\\\"},cumulative:{enabled:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},direction:{valType:\\\"enumerated\\\",values:[\\\"increasing\\\",\\\"decreasing\\\"],dflt:\\\"increasing\\\",editType:\\\"calc\\\"},currentbin:{valType:\\\"enumerated\\\",values:[\\\"include\\\",\\\"exclude\\\",\\\"half\\\"],dflt:\\\"include\\\",editType:\\\"calc\\\"},editType:\\\"calc\\\"},nbinsx:{valType:\\\"integer\\\",min:0,dflt:0,editType:\\\"calc\\\"},xbins:o(\\\"x\\\",!0),nbinsy:{valType:\\\"integer\\\",min:0,dflt:0,editType:\\\"calc\\\"},ybins:o(\\\"y\\\",!0),autobinx:{valType:\\\"boolean\\\",dflt:null,editType:\\\"calc\\\"},autobiny:{valType:\\\"boolean\\\",dflt:null,editType:\\\"calc\\\"},bingroup:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},hovertemplate:i({},{keys:a.eventDataKeys}),marker:r.marker,offsetgroup:r.offsetgroup,alignmentgroup:r.alignmentgroup,selected:r.selected,unselected:r.unselected,_deprecated:{bardir:r._deprecated.bardir}}},{\\\"../../lib/extend\\\":719,\\\"../../plots/template_attributes\\\":854,\\\"../bar/attributes\\\":869,\\\"./bin_attributes\\\":1034,\\\"./constants\\\":1038}],1033:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){for(var n=t.length,r=0,i=0;i<n;i++)e[i]?(t[i]/=e[i],r+=t[i]):t[i]=null;return r}},{}],1034:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return{start:{valType:\\\"any\\\",editType:\\\"calc\\\"},end:{valType:\\\"any\\\",editType:\\\"calc\\\"},size:{valType:\\\"any\\\",editType:\\\"calc\\\"},editType:\\\"calc\\\"}}},{}],1035:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\");e.exports={count:function(t,e,n){return n[t]++,1},sum:function(t,e,n,i){var o=i[e];return r(o)?(o=Number(o),n[t]+=o,o):0},avg:function(t,e,n,i,o){var a=i[e];return r(a)&&(a=Number(a),n[t]+=a,o[t]++),0},min:function(t,e,n,i){var o=i[e];if(r(o)){if(o=Number(o),!r(n[t]))return n[t]=o,o;if(n[t]>o){var a=o-n[t];return n[t]=o,a}}return 0},max:function(t,e,n,i){var o=i[e];if(r(o)){if(o=Number(o),!r(n[t]))return n[t]=o,o;if(n[t]<o){var a=o-n[t];return n[t]=o,a}}return 0}}},{\\\"fast-isnumeric\\\":236}],1036:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../constants/numerical\\\"),i=r.ONEAVGYEAR,o=r.ONEAVGMONTH,a=r.ONEDAY,s=r.ONEHOUR,l=r.ONEMIN,u=r.ONESEC,c=t(\\\"../../plots/cartesian/axes\\\").tickIncrement;function h(t,e,n,r){if(t*e<=0)return 1/0;for(var i=Math.abs(e-t),o=\\\"date\\\"===n.type,a=p(i,o),s=0;s<10;s++){var l=p(80*a,o);if(a===l)break;if(!f(l,t,e,o,n,r))break;a=l}return a}function p(t,e){return e&&t>u?t>a?t>1.1*i?i:t>1.1*o?o:a:t>s?s:t>l?l:u:Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function f(t,e,n,r,o,s){if(r&&t>a){var l=d(e,o,s),u=d(n,o,s),c=t===i?0:1;return l[c]!==u[c]}return Math.floor(n/t)-Math.floor(e/t)>.1}function d(t,e,n){var r=e.c2d(t,i,n).split(\\\"-\\\");return\\\"\\\"===r[0]&&(r.unshift(),r[0]=\\\"-\\\"+r[0]),r}e.exports=function(t,e,n,r,o){var s,l,u=-1.1*e,p=-.1*e,f=t-p,d=n[0],m=n[1],v=Math.min(h(d+p,d+f,r,o),h(m+p,m+f,r,o)),g=Math.min(h(d+u,d+p,r,o),h(m+u,m+p,r,o));if(v>g&&g<Math.abs(m-d)/4e3?(s=v,l=!1):(s=Math.min(v,g),l=!0),\\\"date\\\"===r.type&&s>a){var y=s===i?1:6,_=s===i?\\\"M12\\\":\\\"M1\\\";return function(e,n){var a=r.c2d(e,i,o),s=a.indexOf(\\\"-\\\",y);s>0&&(a=a.substr(0,s));var u=r.d2c(a,0,o);if(u<e){var h=c(u,_,!1,o);(u+h)/2<e+t&&(u=h)}return n&&l?c(u,_,!0,o):u}}return function(e,n){var r=s*Math.round(e/s);return r+s/10<e&&r+.9*s<e+t&&(r+=s),n&&l&&(r-=s),r}}},{\\\"../../constants/numerical\\\":704,\\\"../../plots/cartesian/axes\\\":776}],1037:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../registry\\\"),a=t(\\\"../../plots/cartesian/axes\\\"),s=t(\\\"../bar/arrays_to_calcdata\\\"),l=t(\\\"./bin_functions\\\"),u=t(\\\"./norm_functions\\\"),c=t(\\\"./average\\\"),h=t(\\\"./bin_label_vals\\\");function p(t,e,n,s,l){var u,c,h,f,d,m,v,g=s+\\\"bins\\\",y=t._fullLayout,_=e[\\\"_\\\"+s+\\\"bingroup\\\"],b=y._histogramBinOpts[_],x=\\\"overlay\\\"===y.barmode,w=function(t){return n.r2c(t,0,f)},A=function(t){return n.c2r(t,0,f)},C=\\\"date\\\"===n.type?function(t){return t||0===t?i.cleanDate(t,null,f):null}:function(t){return r(t)?Number(t):null};function M(t,e,n){e[t+\\\"Found\\\"]?(e[t]=C(e[t]),null===e[t]&&(e[t]=n[t])):(m[t]=e[t]=n[t],i.nestedProperty(c[0],g+\\\".\\\"+t).set(n[t]))}if(e[\\\"_\\\"+s+\\\"autoBinFinished\\\"])delete e[\\\"_\\\"+s+\\\"autoBinFinished\\\"];else{c=b.traces;var E=[],T=!0,S=!1,k=!1;for(u=0;u<c.length;u++)if((h=c[u]).visible){var O=b.dirs[u];d=h[\\\"_\\\"+O+\\\"pos0\\\"]=n.makeCalcdata(h,O),E=i.concat(E,d),delete h[\\\"_\\\"+s+\\\"autoBinFinished\\\"],!0===e.visible&&(T?T=!1:(delete h._autoBin,h[\\\"_\\\"+s+\\\"autoBinFinished\\\"]=1),o.traceIs(h,\\\"2dMap\\\")&&(S=!0),\\\"histogram2dcontour\\\"===h.type&&(k=!0))}f=c[0][s+\\\"calendar\\\"];var I=a.autoBin(E,n,b.nbins,S,f,b.sizeFound&&b.size),L=c[0]._autoBin={};if(m=L[b.dirs[0]]={},k&&(b.size||(I.start=A(a.tickIncrement(w(I.start),I.size,!0,f))),void 0===b.end&&(I.end=A(a.tickIncrement(w(I.end),I.size,!1,f)))),x&&!o.traceIs(e,\\\"2dMap\\\")&&0===I._dataSpan&&\\\"category\\\"!==n.type&&\\\"multicategory\\\"!==n.type){if(l)return[I,d,!0];I=function(t,e,n,r,o){var a,s,l,u=t._fullLayout,c=function(t,e){for(var n=e.xaxis,r=e.yaxis,i=e.orientation,o=[],a=t._fullData,s=0;s<a.length;s++){var l=a[s];\\\"histogram\\\"===l.type&&!0===l.visible&&l.orientation===i&&l.xaxis===n&&l.yaxis===r&&o.push(l)}return o}(t,e),h=!1,f=1/0,d=[e];for(a=0;a<c.length;a++)if((s=c[a])===e)h=!0;else if(h){var m=p(t,s,n,r,!0),v=m[0],g=m[2];s[\\\"_\\\"+r+\\\"autoBinFinished\\\"]=1,s[\\\"_\\\"+r+\\\"pos0\\\"]=m[1],g?d.push(s):f=Math.min(f,v.size)}else l=u._histogramBinOpts[s[\\\"_\\\"+r+\\\"bingroup\\\"]],f=Math.min(f,l.size||s[o].size);var y=new Array(d.length);for(a=0;a<d.length;a++)for(var _=d[a][\\\"_\\\"+r+\\\"pos0\\\"],b=0;b<_.length;b++)if(void 0!==_[b]){y[a]=_[b];break}for(isFinite(f)||(f=i.distinctVals(y).minDiff),a=0;a<d.length;a++){var x=(s=d[a])[r+\\\"calendar\\\"],w={start:n.c2r(y[a]-f/2,0,x),end:n.c2r(y[a]+f/2,0,x),size:f};s._input[o]=s[o]=w,(l=u._histogramBinOpts[s[\\\"_\\\"+r+\\\"bingroup\\\"]])&&i.extendFlat(l,w)}return e[o]}(t,e,n,s,g)}(v=h.cumulative||{}).enabled&&\\\"include\\\"!==v.currentbin&&(\\\"decreasing\\\"===v.direction?I.start=A(a.tickIncrement(w(I.start),I.size,!0,f)):I.end=A(a.tickIncrement(w(I.end),I.size,!1,f))),b.size=I.size,b.sizeFound||(m.size=I.size,i.nestedProperty(c[0],g+\\\".size\\\").set(I.size)),M(\\\"start\\\",b,I),M(\\\"end\\\",b,I)}d=e[\\\"_\\\"+s+\\\"pos0\\\"],delete e[\\\"_\\\"+s+\\\"pos0\\\"];var P=e._input[g]||{},z=i.extendFlat({},b),R=b.start,D=n.r2l(P.start),$=void 0!==D;if((b.startFound||$)&&D!==n.r2l(R)){var B=$?D:i.aggNums(Math.min,null,d),N={type:\\\"category\\\"===n.type||\\\"multicategory\\\"===n.type?\\\"linear\\\":n.type,r2l:n.r2l,dtick:b.size,tick0:R,calendar:f,range:[B,a.tickIncrement(B,b.size,!1,f)].map(n.l2r)},F=a.tickFirst(N);F>n.r2l(B)&&(F=a.tickIncrement(F,b.size,!0,f)),z.start=n.l2r(F),$||i.nestedProperty(e,g+\\\".start\\\").set(z.start)}var j=b.end,U=n.r2l(P.end),q=void 0!==U;if((b.endFound||q)&&U!==n.r2l(j)){var V=q?U:i.aggNums(Math.max,null,d);z.end=n.l2r(V),q||i.nestedProperty(e,g+\\\".start\\\").set(z.end)}var H=\\\"autobin\\\"+s;return!1===e._input[H]&&(e._input[g]=i.extendFlat({},e[g]||{}),delete e._input[H],delete e[H]),[z,d]}e.exports={calc:function(t,e){var n,o,f,d,m=[],v=[],g=a.getFromId(t,\\\"h\\\"===e.orientation?e.yaxis:e.xaxis),y=\\\"h\\\"===e.orientation?\\\"y\\\":\\\"x\\\",_={x:\\\"y\\\",y:\\\"x\\\"}[y],b=e[y+\\\"calendar\\\"],x=e.cumulative,w=p(t,e,g,y),A=w[0],C=w[1],M=\\\"string\\\"==typeof A.size,E=[],T=M?E:A,S=[],k=[],O=[],I=0,L=e.histnorm,P=e.histfunc,z=-1!==L.indexOf(\\\"density\\\");x.enabled&&z&&(L=L.replace(/ ?density$/,\\\"\\\"),z=!1);var R,D=\\\"max\\\"===P||\\\"min\\\"===P?null:0,$=l.count,B=u[L],N=!1,F=function(t){return g.r2c(t,0,b)};for(i.isArrayOrTypedArray(e[_])&&\\\"count\\\"!==P&&(R=e[_],N=\\\"avg\\\"===P,$=l[P]),n=F(A.start),f=F(A.end)+(n-a.tickIncrement(n,A.size,!1,b))/1e6;n<f&&m.length<1e6&&(o=a.tickIncrement(n,A.size,!1,b),m.push((n+o)/2),v.push(D),O.push([]),E.push(n),z&&S.push(1/(o-n)),N&&k.push(0),!(o<=n));)n=o;E.push(n),M||\\\"date\\\"!==g.type||(T={start:F(T.start),end:F(T.end),size:T.size}),t._fullLayout._roundFnOpts||(t._fullLayout._roundFnOpts={});var j=e[\\\"_\\\"+y+\\\"bingroup\\\"],U={leftGap:1/0,rightGap:1/0};j&&(t._fullLayout._roundFnOpts[j]||(t._fullLayout._roundFnOpts[j]=U),U=t._fullLayout._roundFnOpts[j]);var q,V=v.length,H=!0,G=U.leftGap,W=U.rightGap,X={};for(n=0;n<C.length;n++){var Y=C[n];(d=i.findBin(Y,T))>=0&&d<V&&(I+=$(d,n,v,R,k),H&&O[d].length&&Y!==C[O[d][0]]&&(H=!1),O[d].push(n),X[n]=d,G=Math.min(G,Y-E[d]),W=Math.min(W,E[d+1]-Y))}U.leftGap=G,U.rightGap=W,H||(q=function(e,n){return function(){var r=t._fullLayout._roundFnOpts[j];return h(r.leftGap,r.rightGap,E,g,b)(e,n)}}),N&&(I=c(v,k)),B&&B(v,I,S),x.enabled&&function(t,e,n){var r,i,o;function a(e){o=t[e],t[e]/=2}function s(e){i=t[e],t[e]=o+i/2,o+=i}if(\\\"half\\\"===n)if(\\\"increasing\\\"===e)for(a(0),r=1;r<t.length;r++)s(r);else for(a(t.length-1),r=t.length-2;r>=0;r--)s(r);else if(\\\"increasing\\\"===e){for(r=1;r<t.length;r++)t[r]+=t[r-1];\\\"exclude\\\"===n&&(t.unshift(0),t.pop())}else{for(r=t.length-2;r>=0;r--)t[r]+=t[r+1];\\\"exclude\\\"===n&&(t.push(0),t.shift())}}(v,x.direction,x.currentbin);var Z=Math.min(m.length,v.length),K=[],J=0,Q=Z-1;for(n=0;n<Z;n++)if(v[n]){J=n;break}for(n=Z-1;n>=J;n--)if(v[n]){Q=n;break}for(n=J;n<=Q;n++)if(r(m[n])&&r(v[n])){var tt={p:m[n],s:v[n],b:0};x.enabled||(tt.pts=O[n],H?tt.ph0=tt.ph1=O[n].length?C[O[n][0]]:m[n]:(e._computePh=!0,tt.ph0=q(E[n]),tt.ph1=q(E[n+1],!0))),K.push(tt)}return 1===K.length&&(K[0].width1=a.tickIncrement(K[0].p,A.size,!1,b)-K[0].p),s(K,e),i.isArrayOrTypedArray(e.selectedpoints)&&i.tagSelected(K,e,X),K},calcAllAutoBins:p}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../../registry\\\":859,\\\"../bar/arrays_to_calcdata\\\":868,\\\"./average\\\":1033,\\\"./bin_functions\\\":1035,\\\"./bin_label_vals\\\":1036,\\\"./norm_functions\\\":1044,\\\"fast-isnumeric\\\":236}],1038:[function(t,e,n){\\\"use strict\\\";e.exports={eventDataKeys:[\\\"binNumber\\\"]}},{}],1039:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axis_ids\\\"),o=t(\\\"../../registry\\\").traceIs,a=t(\\\"../bar/defaults\\\").handleGroupingDefaults,s=r.nestedProperty,l=i.getAxisGroup,u=[{aStr:{x:\\\"xbins.start\\\",y:\\\"ybins.start\\\"},name:\\\"start\\\"},{aStr:{x:\\\"xbins.end\\\",y:\\\"ybins.end\\\"},name:\\\"end\\\"},{aStr:{x:\\\"xbins.size\\\",y:\\\"ybins.size\\\"},name:\\\"size\\\"},{aStr:{x:\\\"nbinsx\\\",y:\\\"nbinsy\\\"},name:\\\"nbins\\\"}],c=[\\\"x\\\",\\\"y\\\"];e.exports=function(t,e){var n,h,p,f,d,m,v,g=e._histogramBinOpts={},y=[],_={},b=[];function x(t,e){return r.coerce(n._input,n,n._module.attributes,t,e)}function w(t){return\\\"v\\\"===t.orientation?\\\"x\\\":\\\"y\\\"}function A(t,n,o){var a=t.uid+\\\"__\\\"+o;n||(n=a);var s=function(t,n){return i.getFromTrace({_fullLayout:e},t,n).type}(t,o),l=t[o+\\\"calendar\\\"]||\\\"\\\",u=g[n],c=!0;u&&(s===u.axType&&l===u.calendar?(c=!1,u.traces.push(t),u.dirs.push(o)):(n=a,s!==u.axType&&r.warn([\\\"Attempted to group the bins of trace\\\",t.index,\\\"set on a\\\",\\\"type:\\\"+s,\\\"axis\\\",\\\"with bins on\\\",\\\"type:\\\"+u.axType,\\\"axis.\\\"].join(\\\" \\\")),l!==u.calendar&&r.warn([\\\"Attempted to group the bins of trace\\\",t.index,\\\"set with a\\\",l,\\\"calendar\\\",\\\"with bins\\\",u.calendar?\\\"on a \\\"+u.calendar+\\\" calendar\\\":\\\"w/o a set calendar\\\"].join(\\\" \\\")))),c&&(g[n]={traces:[t],dirs:[o],axType:s,calendar:t[o+\\\"calendar\\\"]||\\\"\\\"}),t[\\\"_\\\"+o+\\\"bingroup\\\"]=n}for(d=0;d<t.length;d++)n=t[d],o(n,\\\"histogram\\\")&&(y.push(n),delete n._xautoBinFinished,delete n._yautoBinFinished,o(n,\\\"2dMap\\\")||a(n._input,n,e,x));var C=e._alignmentOpts||{};for(d=0;d<y.length;d++){if(n=y[d],p=\\\"\\\",!o(n,\\\"2dMap\\\")){if(f=w(n),\\\"group\\\"===e.barmode&&n.alignmentgroup){var M=n[f+\\\"axis\\\"],E=l(e,M)+n.orientation;(C[E]||{})[n.alignmentgroup]&&(p=E)}p||\\\"overlay\\\"===e.barmode||(p=l(e,n.xaxis)+l(e,n.yaxis)+w(n))}p?(_[p]||(_[p]=[]),_[p].push(n)):b.push(n)}for(p in _)if(1!==(h=_[p]).length){var T=!1;for(d=0;d<h.length;d++){n=h[d],T=x(\\\"bingroup\\\");break}for(p=T||p,d=0;d<h.length;d++){var S=(n=h[d])._input.bingroup;S&&S!==p&&r.warn([\\\"Trace\\\",n.index,\\\"must match\\\",\\\"within bingroup\\\",p+\\\".\\\",\\\"Ignoring its bingroup:\\\",S,\\\"setting.\\\"].join(\\\" \\\")),n.bingroup=p,A(n,p,w(n))}}else b.push(h[0]);for(d=0;d<b.length;d++){n=b[d];var k=x(\\\"bingroup\\\");if(o(n,\\\"2dMap\\\"))for(v=0;v<2;v++){var O=x((f=c[v])+\\\"bingroup\\\",k?k+\\\"__\\\"+f:null);A(n,O,f)}else A(n,k,w(n))}for(p in g){var I=g[p];for(h=I.traces,m=0;m<u.length;m++){var L,P,z=u[m],R=z.name;if(\\\"nbins\\\"!==R||!I.sizeFound){for(d=0;d<h.length;d++){if(n=h[d],f=I.dirs[d],L=z.aStr[f],void 0!==s(n._input,L).get()){I[R]=x(L),I[R+\\\"Found\\\"]=!0;break}(P=(n._autoBin||{})[f]||{})[R]&&s(n,L).set(P[R])}if(\\\"start\\\"===R||\\\"end\\\"===R)for(;d<h.length;d++)(n=h[d])[\\\"_\\\"+f+\\\"bingroup\\\"]&&x(L,(P=(n._autoBin||{})[f]||{})[R]);\\\"nbins\\\"!==R||I.sizeFound||I.nbinsFound||(n=h[0],I[R]=x(L))}}}}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../registry\\\":859,\\\"../bar/defaults\\\":873}],1040:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"../bar/style_defaults\\\"),s=t(\\\"./attributes\\\");e.exports=function(t,e,n,l){function u(n,r){return i.coerce(t,e,s,n,r)}var c=u(\\\"x\\\"),h=u(\\\"y\\\");u(\\\"cumulative.enabled\\\")&&(u(\\\"cumulative.direction\\\"),u(\\\"cumulative.currentbin\\\")),u(\\\"text\\\"),u(\\\"hovertext\\\"),u(\\\"hovertemplate\\\");var p=u(\\\"orientation\\\",h&&!c?\\\"h\\\":\\\"v\\\"),f=\\\"v\\\"===p?\\\"x\\\":\\\"y\\\",d=\\\"v\\\"===p?\\\"y\\\":\\\"x\\\",m=c&&h?Math.min(i.minRowLength(c)&&i.minRowLength(h)):i.minRowLength(e[f]||[]);if(m){e._length=m,r.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\",\\\"y\\\"],l),e[d]&&u(\\\"histfunc\\\"),u(\\\"histnorm\\\"),u(\\\"autobin\\\"+f),a(t,e,u,n,l),i.coerceSelectionMarkerOpacity(e,u);var v=(e.marker.line||{}).color,g=r.getComponentMethod(\\\"errorbars\\\",\\\"supplyDefaults\\\");g(t,e,v||o.defaultLine,{axis:\\\"y\\\"}),g(t,e,v||o.defaultLine,{axis:\\\"x\\\",inherit:\\\"y\\\"})}else e.visible=!1}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../bar/style_defaults\\\":884,\\\"./attributes\\\":1032}],1041:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i){if(t.x=\\\"xVal\\\"in e?e.xVal:e.x,t.y=\\\"yVal\\\"in e?e.yVal:e.y,\\\"zLabelVal\\\"in e&&(t.z=e.zLabelVal),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),!(n.cumulative||{}).enabled){var o,a=Array.isArray(i)?r[0].pts[i[0]][i[1]]:r[i].pts;if(t.pointNumbers=a,t.binNumber=t.pointNumber,delete t.pointNumber,delete t.pointIndex,n._indexToPoints){o=[];for(var s=0;s<a.length;s++)o=o.concat(n._indexToPoints[a[s]])}else o=a;t.pointIndices=o}return t}},{}],1042:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../bar/hover\\\").hoverPoints,i=t(\\\"../../plots/cartesian/axes\\\").hoverLabelText;e.exports=function(t,e,n,o){var a=r(t,e,n,o);if(a){var s=(t=a[0]).cd[t.index],l=t.cd[0].trace;if(!l.cumulative.enabled){var u=\\\"h\\\"===l.orientation?\\\"y\\\":\\\"x\\\";t[u+\\\"Label\\\"]=i(t[u+\\\"a\\\"],s.ph0,s.ph1)}return a}}},{\\\"../../plots/cartesian/axes\\\":776,\\\"../bar/hover\\\":876}],1043:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"../bar/layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),crossTraceDefaults:t(\\\"./cross_trace_defaults\\\"),supplyLayoutDefaults:t(\\\"../bar/layout_defaults\\\"),calc:t(\\\"./calc\\\").calc,crossTraceCalc:t(\\\"../bar/cross_trace_calc\\\").crossTraceCalc,plot:t(\\\"../bar/plot\\\").plot,layerName:\\\"barlayer\\\",style:t(\\\"../bar/style\\\").style,styleOnSelect:t(\\\"../bar/style\\\").styleOnSelect,colorbar:t(\\\"../scatter/marker_colorbar\\\"),hoverPoints:t(\\\"./hover\\\"),selectPoints:t(\\\"../bar/select\\\"),eventData:t(\\\"./event_data\\\"),moduleType:\\\"trace\\\",name:\\\"histogram\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"bar-like\\\",\\\"cartesian\\\",\\\"svg\\\",\\\"bar\\\",\\\"histogram\\\",\\\"oriented\\\",\\\"errorBarsOK\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../bar/cross_trace_calc\\\":872,\\\"../bar/layout_attributes\\\":878,\\\"../bar/layout_defaults\\\":879,\\\"../bar/plot\\\":880,\\\"../bar/select\\\":881,\\\"../bar/style\\\":883,\\\"../scatter/marker_colorbar\\\":1152,\\\"./attributes\\\":1032,\\\"./calc\\\":1037,\\\"./cross_trace_defaults\\\":1039,\\\"./defaults\\\":1040,\\\"./event_data\\\":1041,\\\"./hover\\\":1042}],1044:[function(t,e,n){\\\"use strict\\\";e.exports={percent:function(t,e){for(var n=t.length,r=100/e,i=0;i<n;i++)t[i]*=r},probability:function(t,e){for(var n=t.length,r=0;r<n;r++)t[r]/=e},density:function(t,e,n,r){var i=t.length;r=r||1;for(var o=0;o<i;o++)t[o]*=n[o]*r},\\\"probability density\\\":function(t,e,n,r){var i=t.length;r&&(e/=r);for(var o=0;o<i;o++)t[o]*=n[o]/e}}},{}],1045:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../histogram/attributes\\\"),i=t(\\\"../histogram/bin_attributes\\\"),o=t(\\\"../heatmap/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,l=t(\\\"../../components/colorscale/attributes\\\"),u=t(\\\"../../lib/extend\\\").extendFlat;e.exports=u({x:r.x,y:r.y,z:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},marker:{color:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},editType:\\\"calc\\\"},histnorm:r.histnorm,histfunc:r.histfunc,nbinsx:r.nbinsx,xbins:i(\\\"x\\\"),nbinsy:r.nbinsy,ybins:i(\\\"y\\\"),autobinx:r.autobinx,autobiny:r.autobiny,bingroup:u({},r.bingroup,{}),xbingroup:u({},r.bingroup,{}),ybingroup:u({},r.bingroup,{}),xgap:o.xgap,ygap:o.ygap,zsmooth:o.zsmooth,zhoverformat:o.zhoverformat,hovertemplate:s({},{keys:\\\"z\\\"}),showlegend:u({},a.showlegend,{dflt:!1})},l(\\\"\\\",{cLetter:\\\"z\\\",autoColorDflt:!1}))},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../heatmap/attributes\\\":1013,\\\"../histogram/attributes\\\":1032,\\\"../histogram/bin_attributes\\\":1034}],1046:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../histogram/bin_functions\\\"),a=t(\\\"../histogram/norm_functions\\\"),s=t(\\\"../histogram/average\\\"),l=t(\\\"../histogram/bin_label_vals\\\"),u=t(\\\"../histogram/calc\\\").calcAllAutoBins;function c(t,e,n,r){var i,o=new Array(t);if(r)for(i=0;i<t;i++)o[i]=1/(e[i+1]-e[i]);else{var a=1/n;for(i=0;i<t;i++)o[i]=a}return o}function h(t,e){return{start:t(e.start),end:t(e.end),size:e.size}}function p(t,e,n,r,i,o){var a,s=t.length-1,u=new Array(s),c=l(n,r,t,i,o);for(a=0;a<s;a++){var h=(e||[])[a];u[a]=void 0===h?[c(t[a]),c(t[a+1],!0)]:[h,h]}return u}e.exports=function(t,e){var n,l,f,d,m=i.getFromId(t,e.xaxis),v=i.getFromId(t,e.yaxis),g=e.xcalendar,y=e.ycalendar,_=function(t){return m.r2c(t,0,g)},b=function(t){return v.r2c(t,0,y)},x=u(t,e,m,\\\"x\\\"),w=x[0],A=x[1],C=u(t,e,v,\\\"y\\\"),M=C[0],E=C[1],T=e._length;A.length>T&&A.splice(T,A.length-T),E.length>T&&E.splice(T,E.length-T);var S=[],k=[],O=[],I=\\\"string\\\"==typeof w.size,L=\\\"string\\\"==typeof M.size,P=[],z=[],R=I?P:w,D=L?z:M,$=0,B=[],N=[],F=e.histnorm,j=e.histfunc,U=-1!==F.indexOf(\\\"density\\\"),q=\\\"max\\\"===j||\\\"min\\\"===j?null:0,V=o.count,H=a[F],G=!1,W=[],X=[],Y=\\\"z\\\"in e?e.z:\\\"marker\\\"in e&&Array.isArray(e.marker.color)?e.marker.color:\\\"\\\";Y&&\\\"count\\\"!==j&&(G=\\\"avg\\\"===j,V=o[j]);var Z=w.size,K=_(w.start),J=_(w.end)+(K-i.tickIncrement(K,Z,!1,g))/1e6;for(n=K;n<J;n=i.tickIncrement(n,Z,!1,g))k.push(q),P.push(n),G&&O.push(0);P.push(n);var Q,tt=k.length,et=(n-K)/tt,nt=(Q=K+et/2,m.c2r(Q,0,g)),rt=M.size,it=b(M.start),ot=b(M.end)+(it-i.tickIncrement(it,rt,!1,y))/1e6;for(n=it;n<ot;n=i.tickIncrement(n,rt,!1,y)){S.push(k.slice()),z.push(n);var at=new Array(tt);for(l=0;l<tt;l++)at[l]=[];N.push(at),G&&B.push(O.slice())}z.push(n);var st=S.length,lt=(n-it)/st,ut=function(t){return v.c2r(t,0,y)}(it+lt/2);U&&(W=c(k.length,R,et,I),X=c(S.length,D,lt,L)),I||\\\"date\\\"!==m.type||(R=h(_,R)),L||\\\"date\\\"!==v.type||(D=h(b,D));var ct=!0,ht=!0,pt=new Array(tt),ft=new Array(st),dt=1/0,mt=1/0,vt=1/0,gt=1/0;for(n=0;n<T;n++){var yt=A[n],_t=E[n];f=r.findBin(yt,R),d=r.findBin(_t,D),f>=0&&f<tt&&d>=0&&d<st&&($+=V(f,n,S[d],Y,B[d]),N[d][f].push(n),ct&&(void 0===pt[f]?pt[f]=yt:pt[f]!==yt&&(ct=!1)),ht&&(void 0===ft[d]?ft[d]=_t:ft[d]!==_t&&(ht=!1)),dt=Math.min(dt,yt-P[f]),mt=Math.min(mt,P[f+1]-yt),vt=Math.min(vt,_t-z[d]),gt=Math.min(gt,z[d+1]-_t))}if(G)for(d=0;d<st;d++)$+=s(S[d],B[d]);if(H)for(d=0;d<st;d++)H(S[d],$,W,X[d]);return{x:A,xRanges:p(P,ct&&pt,dt,mt,m,g),x0:nt,dx:et,y:E,yRanges:p(z,ht&&ft,vt,gt,v,y),y0:ut,dy:lt,z:S,pts:N}}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../histogram/average\\\":1033,\\\"../histogram/bin_functions\\\":1035,\\\"../histogram/bin_label_vals\\\":1036,\\\"../histogram/calc\\\":1037,\\\"../histogram/norm_functions\\\":1044}],1047:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./sample_defaults\\\"),o=t(\\\"../heatmap/style_defaults\\\"),a=t(\\\"../../components/colorscale/defaults\\\"),s=t(\\\"./attributes\\\");e.exports=function(t,e,n,l){function u(n,i){return r.coerce(t,e,s,n,i)}i(t,e,u,l),!1!==e.visible&&(o(t,e,u,l),a(t,e,l,u,{prefix:\\\"\\\",cLetter:\\\"z\\\"}),u(\\\"hovertemplate\\\"))}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"../heatmap/style_defaults\\\":1026,\\\"./attributes\\\":1045,\\\"./sample_defaults\\\":1050}],1048:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../heatmap/hover\\\"),i=t(\\\"../../plots/cartesian/axes\\\").hoverLabelText;e.exports=function(t,e,n,o,a,s){var l=r(t,e,n,o,a,s);if(l){var u=(t=l[0]).index,c=u[0],h=u[1],p=t.cd[0],f=p.xRanges[h],d=p.yRanges[c];return t.xLabel=i(t.xa,f[0],f[1]),t.yLabel=i(t.ya,d[0],d[1]),l}}},{\\\"../../plots/cartesian/axes\\\":776,\\\"../heatmap/hover\\\":1020}],1049:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),crossTraceDefaults:t(\\\"../histogram/cross_trace_defaults\\\"),calc:t(\\\"../heatmap/calc\\\"),plot:t(\\\"../heatmap/plot\\\"),layerName:\\\"heatmaplayer\\\",colorbar:t(\\\"../heatmap/colorbar\\\"),style:t(\\\"../heatmap/style\\\"),hoverPoints:t(\\\"./hover\\\"),eventData:t(\\\"../histogram/event_data\\\"),moduleType:\\\"trace\\\",name:\\\"histogram2d\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"2dMap\\\",\\\"histogram\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../heatmap/calc\\\":1014,\\\"../heatmap/colorbar\\\":1016,\\\"../heatmap/plot\\\":1024,\\\"../heatmap/style\\\":1025,\\\"../histogram/cross_trace_defaults\\\":1039,\\\"../histogram/event_data\\\":1041,\\\"./attributes\\\":1045,\\\"./defaults\\\":1047,\\\"./hover\\\":1048}],1050:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\");e.exports=function(t,e,n,o){var a=n(\\\"x\\\"),s=n(\\\"y\\\"),l=i.minRowLength(a),u=i.minRowLength(s);l&&u?(e._length=Math.min(l,u),r.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\",\\\"y\\\"],o),(n(\\\"z\\\")||n(\\\"marker.color\\\"))&&n(\\\"histfunc\\\"),n(\\\"histnorm\\\"),n(\\\"autobinx\\\"),n(\\\"autobiny\\\")):e.visible=!1}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859}],1051:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../histogram2d/attributes\\\"),i=t(\\\"../contour/attributes\\\"),o=t(\\\"../../components/colorscale/attributes\\\"),a=t(\\\"../../lib/extend\\\").extendFlat;e.exports=a({x:r.x,y:r.y,z:r.z,marker:r.marker,histnorm:r.histnorm,histfunc:r.histfunc,nbinsx:r.nbinsx,xbins:r.xbins,nbinsy:r.nbinsy,ybins:r.ybins,autobinx:r.autobinx,autobiny:r.autobiny,bingroup:r.bingroup,xbingroup:r.xbingroup,ybingroup:r.ybingroup,autocontour:i.autocontour,ncontours:i.ncontours,contours:i.contours,line:{color:i.line.color,width:a({},i.line.width,{dflt:.5}),dash:i.line.dash,smoothing:i.line.smoothing,editType:\\\"plot\\\"},zhoverformat:r.zhoverformat,hovertemplate:r.hovertemplate},o(\\\"\\\",{cLetter:\\\"z\\\",editTypeOverride:\\\"calc\\\"}))},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../contour/attributes\\\":956,\\\"../histogram2d/attributes\\\":1045}],1052:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../histogram2d/sample_defaults\\\"),o=t(\\\"../contour/contours_defaults\\\"),a=t(\\\"../contour/style_defaults\\\"),s=t(\\\"./attributes\\\");e.exports=function(t,e,n,l){function u(n,i){return r.coerce(t,e,s,n,i)}i(t,e,u,l),!1!==e.visible&&(o(t,e,u,(function(n){return r.coerce2(t,e,s,n)})),a(t,e,u,l),u(\\\"hovertemplate\\\"))}},{\\\"../../lib\\\":728,\\\"../contour/contours_defaults\\\":963,\\\"../contour/style_defaults\\\":977,\\\"../histogram2d/sample_defaults\\\":1050,\\\"./attributes\\\":1051}],1053:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),crossTraceDefaults:t(\\\"../histogram/cross_trace_defaults\\\"),calc:t(\\\"../contour/calc\\\"),plot:t(\\\"../contour/plot\\\").plot,layerName:\\\"contourlayer\\\",style:t(\\\"../contour/style\\\"),colorbar:t(\\\"../contour/colorbar\\\"),hoverPoints:t(\\\"../contour/hover\\\"),moduleType:\\\"trace\\\",name:\\\"histogram2dcontour\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"2dMap\\\",\\\"contour\\\",\\\"histogram\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../contour/calc\\\":957,\\\"../contour/colorbar\\\":959,\\\"../contour/hover\\\":969,\\\"../contour/plot\\\":974,\\\"../contour/style\\\":976,\\\"../histogram/cross_trace_defaults\\\":1039,\\\"./attributes\\\":1051,\\\"./defaults\\\":1052}],1054:[function(t,e,n){\\\"use strict\\\";for(var r=t(\\\"../../plots/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../../lib/extend\\\").extendFlat,a=t(\\\"./constants\\\").colormodel,s=[\\\"rgb\\\",\\\"rgba\\\",\\\"hsl\\\",\\\"hsla\\\"],l=[],u=[],c=0;c<s.length;c++)l.push(\\\"For the `\\\"+s[c]+\\\"` colormodel, it is [\\\"+a[s[c]].min.join(\\\", \\\")+\\\"].\\\"),u.push(\\\"For the `\\\"+s[c]+\\\"` colormodel, it is [\\\"+a[s[c]].max.join(\\\", \\\")+\\\"].\\\");e.exports=o({z:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},colormodel:{valType:\\\"enumerated\\\",values:s,dflt:\\\"rgb\\\",editType:\\\"calc\\\"},zmin:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\",editType:\\\"calc\\\"},{valType:\\\"number\\\",editType:\\\"calc\\\"},{valType:\\\"number\\\",editType:\\\"calc\\\"},{valType:\\\"number\\\",editType:\\\"calc\\\"}],editType:\\\"calc\\\"},zmax:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\",editType:\\\"calc\\\"},{valType:\\\"number\\\",editType:\\\"calc\\\"},{valType:\\\"number\\\",editType:\\\"calc\\\"},{valType:\\\"number\\\",editType:\\\"calc\\\"}],editType:\\\"calc\\\"},x0:{valType:\\\"any\\\",dflt:0,editType:\\\"calc+clearAxisTypes\\\"},y0:{valType:\\\"any\\\",dflt:0,editType:\\\"calc+clearAxisTypes\\\"},dx:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},dy:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},text:{valType:\\\"data_array\\\",editType:\\\"plot\\\"},hovertext:{valType:\\\"data_array\\\",editType:\\\"plot\\\"},hoverinfo:o({},r.hoverinfo,{flags:[\\\"x\\\",\\\"y\\\",\\\"z\\\",\\\"color\\\",\\\"name\\\",\\\"text\\\"],dflt:\\\"x+y+z+text+name\\\"}),hovertemplate:i({},{keys:[\\\"z\\\",\\\"color\\\",\\\"colormodel\\\"]}),transforms:void 0})},{\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"./constants\\\":1056}],1055:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./constants\\\"),o=t(\\\"fast-isnumeric\\\"),a=t(\\\"../../plots/cartesian/axes\\\"),s=t(\\\"../../lib\\\").maxRowLength;function l(t,e,n,i){return function(o){return r.constrain((o-t)*e,n,i)}}function u(t,e){return function(n){return r.constrain(n,t,e)}}e.exports=function(t,e){var n,r=a.getFromId(t,e.xaxis||\\\"x\\\"),c=a.getFromId(t,e.yaxis||\\\"y\\\"),h=r.d2c(e.x0)-e.dx/2,p=c.d2c(e.y0)-e.dy/2,f=e.z.length,d=s(e.z),m=[h,h+d*e.dx],v=[p,p+f*e.dy];if(r&&\\\"log\\\"===r.type)for(n=0;n<d;n++)m.push(h+n*e.dx);if(c&&\\\"log\\\"===c.type)for(n=0;n<f;n++)v.push(p+n*e.dy);return e._extremes[r._id]=a.findExtremes(r,m),e._extremes[c._id]=a.findExtremes(c,v),e._scaler=function(t){var e=t.colormodel,n=e.length,r=i.colormodel[e];t._sArray=[];for(var a=0;a<n;a++)r.min[a]!==t.zmin[a]||r.max[a]!==t.zmax[a]?t._sArray.push(l(t.zmin[a],(r.max[a]-r.min[a])/(t.zmax[a]-t.zmin[a]),r.min[a],r.max[a])):t._sArray.push(u(r.min[a],r.max[a]));return function(e){for(var r=e.slice(0,n),i=0;i<n;i++){var a=r[i];if(!o(a))return!1;r[i]=t._sArray[i](a)}return r}}(e),[{x0:h,y0:p,z:e.z,w:d,h:f}]}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"./constants\\\":1056,\\\"fast-isnumeric\\\":236}],1056:[function(t,e,n){\\\"use strict\\\";e.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(t){return t.slice(0,3)},suffix:[\\\"\\\",\\\"\\\",\\\"\\\"]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(t){return t.slice(0,4)},suffix:[\\\"\\\",\\\"\\\",\\\"\\\",\\\"\\\"]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(t){var e=t.slice(0,3);return e[1]=e[1]+\\\"%\\\",e[2]=e[2]+\\\"%\\\",e},suffix:[\\\"°\\\",\\\"%\\\",\\\"%\\\"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(t){var e=t.slice(0,4);return e[1]=e[1]+\\\"%\\\",e[2]=e[2]+\\\"%\\\",e},suffix:[\\\"°\\\",\\\"%\\\",\\\"%\\\",\\\"\\\"]}}}},{}],1057:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"./constants\\\");e.exports=function(t,e){function n(n,o){return r.coerce(t,e,i,n,o)}var a=n(\\\"z\\\");if(void 0!==a&&a.length&&a[0]&&a[0].length){n(\\\"x0\\\"),n(\\\"y0\\\"),n(\\\"dx\\\"),n(\\\"dy\\\");var s=n(\\\"colormodel\\\");n(\\\"zmin\\\",o.colormodel[s].min),n(\\\"zmax\\\",o.colormodel[s].max),n(\\\"text\\\"),n(\\\"hovertext\\\"),n(\\\"hovertemplate\\\"),e._length=null}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"./attributes\\\":1054,\\\"./constants\\\":1056}],1058:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return\\\"xVal\\\"in e&&(t.x=e.xVal),\\\"yVal\\\"in e&&(t.y=e.yVal),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),t.color=e.color,t.colormodel=e.trace.colormodel,t}},{}],1059:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/fx\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"./constants\\\");e.exports=function(t,e,n){var a=t.cd[0],s=a.trace,l=t.xa,u=t.ya;if(!(r.inbox(e-a.x0,e-(a.x0+a.w*s.dx),0)>0||r.inbox(n-a.y0,n-(a.y0+a.h*s.dy),0)>0)){var c=Math.floor((e-a.x0)/s.dx),h=Math.floor(Math.abs(n-a.y0)/s.dy);if(a.z[h][c]){var p,f=a.hi||s.hoverinfo;if(f){var d=f.split(\\\"+\\\");-1!==d.indexOf(\\\"all\\\")&&(d=[\\\"color\\\"]),-1!==d.indexOf(\\\"color\\\")&&(p=!0)}var m,v=s.colormodel,g=v.length,y=s._scaler(a.z[h][c]),_=o.colormodel[v].suffix,b=[];(s.hovertemplate||p)&&(b.push(\\\"[\\\"+[y[0]+_[0],y[1]+_[1],y[2]+_[2]].join(\\\", \\\")),4===g&&b.push(\\\", \\\"+y[3]+_[3]),b.push(\\\"]\\\"),b=b.join(\\\"\\\"),t.extraText=v.toUpperCase()+\\\": \\\"+b),Array.isArray(s.hovertext)&&Array.isArray(s.hovertext[h])?m=s.hovertext[h][c]:Array.isArray(s.text)&&Array.isArray(s.text[h])&&(m=s.text[h][c]);var x=u.c2p(a.y0+(h+.5)*s.dy),w=a.x0+(c+.5)*s.dx,A=a.y0+(h+.5)*s.dy,C=\\\"[\\\"+a.z[h][c].slice(0,s.colormodel.length).join(\\\", \\\")+\\\"]\\\";return[i.extendFlat(t,{index:[h,c],x0:l.c2p(a.x0+c*s.dx),x1:l.c2p(a.x0+(c+1)*s.dx),y0:x,y1:x,color:y,xVal:w,xLabelVal:w,yVal:A,yLabelVal:A,zLabelVal:C,text:m,hovertemplateLabels:{zLabel:C,colorLabel:b,\\\"color[0]Label\\\":y[0]+_[0],\\\"color[1]Label\\\":y[1]+_[1],\\\"color[2]Label\\\":y[2]+_[2],\\\"color[3]Label\\\":y[3]+_[3]}})]}}}},{\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"./constants\\\":1056}],1060:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"./style\\\"),hoverPoints:t(\\\"./hover\\\"),eventData:t(\\\"./event_data\\\"),moduleType:\\\"trace\\\",name:\\\"image\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"2dMap\\\",\\\"noSortingByValue\\\"],animatable:!1,meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"./attributes\\\":1054,\\\"./calc\\\":1055,\\\"./defaults\\\":1057,\\\"./event_data\\\":1058,\\\"./hover\\\":1059,\\\"./plot\\\":1061,\\\"./style\\\":1062}],1061:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../constants/xmlns_namespaces\\\"),a=t(\\\"./constants\\\");e.exports=function(t,e,n,s){var l=e.xaxis,u=e.yaxis;i.makeTraceGroups(s,n,\\\"im\\\").each((function(t){var e,n,s,c,h,p,f=r.select(this),d=t[0],m=d.trace,v=d.z,g=d.x0,y=d.y0,_=d.w,b=d.h,x=m.dx,w=m.dy;for(p=0;void 0===e&&p<_;)e=l.c2p(g+p*x),p++;for(p=_;void 0===n&&p>0;)n=l.c2p(g+p*x),p--;for(p=0;void 0===c&&p<b;)c=u.c2p(y+p*w),p++;for(p=b;void 0===h&&p>0;)h=u.c2p(y+p*w),p--;n<e&&(s=n,n=e,e=s),h<c&&(s=c,c=h,h=s),e=Math.max(-.5*l._length,e),n=Math.min(1.5*l._length,n),c=Math.max(-.5*u._length,c),h=Math.min(1.5*u._length,h);var A=Math.round(n-e),C=Math.round(h-c);if(A<=0||C<=0)f.selectAll(\\\"image\\\").data([]).exit().remove();else{var M=document.createElement(\\\"canvas\\\");M.width=A,M.height=C;var E,T=M.getContext(\\\"2d\\\"),S=function(t){return i.constrain(Math.round(l.c2p(g+t*x)-e),0,A)},k=function(t){return i.constrain(Math.round(u.c2p(y+t*w)-c),0,C)},O=a.colormodel[m.colormodel].fmt;for(p=0;p<d.w;p++){var I=S(p),L=S(p+1);if(L!==I&&!isNaN(L)&&!isNaN(I))for(var P=0;P<d.h;P++){var z=k(P),R=k(P+1);R===z||isNaN(R)||isNaN(z)||!v[P][p]||(E=m._scaler(v[P][p]),T.fillStyle=E?m.colormodel+\\\"(\\\"+O(E).join(\\\",\\\")+\\\")\\\":\\\"rgba(0,0,0,0)\\\",T.fillRect(I,z,L-I,R-z))}}var D=f.selectAll(\\\"image\\\").data(t);D.enter().append(\\\"svg:image\\\").attr({xmlns:o.svg,preserveAspectRatio:\\\"none\\\"}),D.attr({height:C,width:A,x:e,y:c,\\\"xlink:href\\\":M.toDataURL(\\\"image/png\\\")})}}))}},{\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../lib\\\":728,\\\"./constants\\\":1056,d3:164}],1062:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\");e.exports=function(t){r.select(t).selectAll(\\\".im image\\\").style(\\\"opacity\\\",(function(t){return t.trace.opacity}))}},{d3:164}],1063:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib/extend\\\").extendFlat,i=t(\\\"../../lib/extend\\\").extendDeep,o=t(\\\"../../plot_api/edit_types\\\").overrideAll,a=t(\\\"../../plots/font_attributes\\\"),s=t(\\\"../../components/color/attributes\\\"),l=t(\\\"../../plots/domain\\\").attributes,u=t(\\\"../../plots/cartesian/layout_attributes\\\"),c=t(\\\"../../plot_api/plot_template\\\").templatedArray,h=t(\\\"../../constants/delta.js\\\"),p=(t(\\\"../../constants/docs\\\").FORMAT_LINK,a({editType:\\\"plot\\\",colorEditType:\\\"plot\\\"})),f={color:{valType:\\\"color\\\",editType:\\\"plot\\\"},line:{color:{valType:\\\"color\\\",dflt:s.defaultLine,editType:\\\"plot\\\"},width:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"plot\\\"},editType:\\\"calc\\\"},thickness:{valType:\\\"number\\\",min:0,max:1,dflt:1,editType:\\\"plot\\\"},editType:\\\"calc\\\"},d={valType:\\\"info_array\\\",items:[{valType:\\\"number\\\",editType:\\\"plot\\\"},{valType:\\\"number\\\",editType:\\\"plot\\\"}],editType:\\\"plot\\\"},m=c(\\\"step\\\",i({},f,{range:d}));e.exports={mode:{valType:\\\"flaglist\\\",editType:\\\"calc\\\",flags:[\\\"number\\\",\\\"delta\\\",\\\"gauge\\\"],dflt:\\\"number\\\"},value:{valType:\\\"number\\\",editType:\\\"calc\\\",anim:!0},align:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"center\\\",\\\"right\\\"],editType:\\\"plot\\\"},domain:l({name:\\\"indicator\\\",trace:!0,editType:\\\"calc\\\"}),title:{text:{valType:\\\"string\\\",editType:\\\"plot\\\"},align:{valType:\\\"enumerated\\\",values:[\\\"left\\\",\\\"center\\\",\\\"right\\\"],editType:\\\"plot\\\"},font:r({},p,{}),editType:\\\"plot\\\"},number:{valueformat:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"plot\\\"},font:r({},p,{}),prefix:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"plot\\\"},suffix:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"plot\\\"},editType:\\\"plot\\\"},delta:{reference:{valType:\\\"number\\\",editType:\\\"calc\\\"},position:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"bottom\\\",\\\"left\\\",\\\"right\\\"],dflt:\\\"bottom\\\",editType:\\\"plot\\\"},relative:{valType:\\\"boolean\\\",editType:\\\"plot\\\",dflt:!1},valueformat:{valType:\\\"string\\\",editType:\\\"plot\\\"},increasing:{symbol:{valType:\\\"string\\\",dflt:h.INCREASING.SYMBOL,editType:\\\"plot\\\"},color:{valType:\\\"color\\\",dflt:h.INCREASING.COLOR,editType:\\\"plot\\\"},editType:\\\"plot\\\"},decreasing:{symbol:{valType:\\\"string\\\",dflt:h.DECREASING.SYMBOL,editType:\\\"plot\\\"},color:{valType:\\\"color\\\",dflt:h.DECREASING.COLOR,editType:\\\"plot\\\"},editType:\\\"plot\\\"},font:r({},p,{}),editType:\\\"calc\\\"},gauge:{shape:{valType:\\\"enumerated\\\",editType:\\\"plot\\\",dflt:\\\"angular\\\",values:[\\\"angular\\\",\\\"bullet\\\"]},bar:i({},f,{color:{dflt:\\\"green\\\"}}),bgcolor:{valType:\\\"color\\\",editType:\\\"plot\\\"},bordercolor:{valType:\\\"color\\\",dflt:s.defaultLine,editType:\\\"plot\\\"},borderwidth:{valType:\\\"number\\\",min:0,dflt:1,editType:\\\"plot\\\"},axis:o({range:d,visible:r({},u.visible,{dflt:!0}),tickmode:u.tickmode,nticks:u.nticks,tick0:u.tick0,dtick:u.dtick,tickvals:u.tickvals,ticktext:u.ticktext,ticks:r({},u.ticks,{dflt:\\\"outside\\\"}),ticklen:u.ticklen,tickwidth:u.tickwidth,tickcolor:u.tickcolor,showticklabels:u.showticklabels,tickfont:a({}),tickangle:u.tickangle,tickformat:u.tickformat,tickformatstops:u.tickformatstops,tickprefix:u.tickprefix,showtickprefix:u.showtickprefix,ticksuffix:u.ticksuffix,showticksuffix:u.showticksuffix,separatethousands:u.separatethousands,exponentformat:u.exponentformat,showexponent:u.showexponent,editType:\\\"plot\\\"},\\\"plot\\\"),steps:m,threshold:{line:{color:r({},f.line.color,{}),width:r({},f.line.width,{dflt:1}),editType:\\\"plot\\\"},thickness:r({},f.thickness,{dflt:.85}),value:{valType:\\\"number\\\",editType:\\\"calc\\\",dflt:!1},editType:\\\"plot\\\"},editType:\\\"plot\\\"}}},{\\\"../../components/color/attributes\\\":594,\\\"../../constants/delta.js\\\":698,\\\"../../constants/docs\\\":699,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/layout_attributes\\\":790,\\\"../../plots/domain\\\":803,\\\"../../plots/font_attributes\\\":804}],1064:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/plots\\\");n.name=\\\"indicator\\\",n.plot=function(t,e,i,o){r.plotBasePlot(n.name,t,e,i,o)},n.clean=function(t,e,i,o){r.cleanBasePlot(n.name,t,e,i,o)}},{\\\"../../plots/plots\\\":839}],1065:[function(t,e,n){\\\"use strict\\\";e.exports={calc:function(t,e){var n=[],r=e.value;\\\"number\\\"!=typeof e._lastValue&&(e._lastValue=e.value);var i=e._lastValue,o=i;return e._hasDelta&&\\\"number\\\"==typeof e.delta.reference&&(o=e.delta.reference),n[0]={y:r,lastY:i,delta:r-o,relativeDelta:(r-o)/o},n}}},{}],1066:[function(t,e,n){\\\"use strict\\\";e.exports={defaultNumberFontSize:80,bulletNumberDomainSize:.25,bulletPadding:.025,innerRadius:.75,valueThickness:.5,titlePadding:5,horizontalPadding:10}},{}],1067:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"../../plots/domain\\\").defaults,a=t(\\\"../../plot_api/plot_template\\\"),s=t(\\\"../../plots/array_container_defaults\\\"),l=t(\\\"./constants.js\\\"),u=t(\\\"../../plots/cartesian/tick_value_defaults\\\"),c=t(\\\"../../plots/cartesian/tick_mark_defaults\\\"),h=t(\\\"../../plots/cartesian/tick_label_defaults\\\");function p(t,e){function n(n,o){return r.coerce(t,e,i.gauge.steps,n,o)}n(\\\"color\\\"),n(\\\"line.color\\\"),n(\\\"line.width\\\"),n(\\\"range\\\"),n(\\\"thickness\\\")}e.exports={supplyDefaults:function(t,e,n,f){function d(n,o){return r.coerce(t,e,i,n,o)}o(e,f,d),d(\\\"mode\\\"),e._hasNumber=-1!==e.mode.indexOf(\\\"number\\\"),e._hasDelta=-1!==e.mode.indexOf(\\\"delta\\\"),e._hasGauge=-1!==e.mode.indexOf(\\\"gauge\\\");var m=d(\\\"value\\\");e._range=[0,\\\"number\\\"==typeof m?1.5*m:1];var v,g,y,_,b,x,w=new Array(2);function A(t,e){return r.coerce(y,_,i.gauge,t,e)}function C(t,e){return r.coerce(b,x,i.gauge.axis,t,e)}if(e._hasNumber&&(d(\\\"number.valueformat\\\"),d(\\\"number.font.color\\\",f.font.color),d(\\\"number.font.family\\\",f.font.family),d(\\\"number.font.size\\\"),void 0===e.number.font.size&&(e.number.font.size=l.defaultNumberFontSize,w[0]=!0),d(\\\"number.prefix\\\"),d(\\\"number.suffix\\\"),v=e.number.font.size),e._hasDelta&&(d(\\\"delta.font.color\\\",f.font.color),d(\\\"delta.font.family\\\",f.font.family),d(\\\"delta.font.size\\\"),void 0===e.delta.font.size&&(e.delta.font.size=(e._hasNumber?.5:1)*(v||l.defaultNumberFontSize),w[1]=!0),d(\\\"delta.reference\\\",e.value),d(\\\"delta.relative\\\"),d(\\\"delta.valueformat\\\",e.delta.relative?\\\"2%\\\":\\\"\\\"),d(\\\"delta.increasing.symbol\\\"),d(\\\"delta.increasing.color\\\"),d(\\\"delta.decreasing.symbol\\\"),d(\\\"delta.decreasing.color\\\"),d(\\\"delta.position\\\"),g=e.delta.font.size),e._scaleNumbers=(!e._hasNumber||w[0])&&(!e._hasDelta||w[1])||!1,d(\\\"title.font.color\\\",f.font.color),d(\\\"title.font.family\\\",f.font.family),d(\\\"title.font.size\\\",.25*(v||g||l.defaultNumberFontSize)),d(\\\"title.text\\\"),e._hasGauge){(y=t.gauge)||(y={}),_=a.newContainer(e,\\\"gauge\\\"),A(\\\"shape\\\"),(e._isBullet=\\\"bullet\\\"===e.gauge.shape)||d(\\\"title.align\\\",\\\"center\\\"),(e._isAngular=\\\"angular\\\"===e.gauge.shape)||d(\\\"align\\\",\\\"center\\\"),A(\\\"bgcolor\\\",f.paper_bgcolor),A(\\\"borderwidth\\\"),A(\\\"bordercolor\\\"),A(\\\"bar.color\\\"),A(\\\"bar.line.color\\\"),A(\\\"bar.line.width\\\"),A(\\\"bar.thickness\\\",l.valueThickness*(\\\"bullet\\\"===e.gauge.shape?.5:1)),s(y,_,{name:\\\"steps\\\",handleItemDefaults:p}),A(\\\"threshold.value\\\"),A(\\\"threshold.thickness\\\"),A(\\\"threshold.line.width\\\"),A(\\\"threshold.line.color\\\"),b={},y&&(b=y.axis||{}),x=a.newContainer(_,\\\"axis\\\"),C(\\\"visible\\\"),e._range=C(\\\"range\\\",e._range);var M={outerTicks:!0};u(b,x,C,\\\"linear\\\"),h(b,x,C,\\\"linear\\\",M),c(b,x,C,M)}else d(\\\"title.align\\\",\\\"center\\\"),d(\\\"align\\\",\\\"center\\\"),e._isAngular=e._isBullet=!1;e._length=null}}},{\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/array_container_defaults\\\":772,\\\"../../plots/cartesian/tick_label_defaults\\\":797,\\\"../../plots/cartesian/tick_mark_defaults\\\":798,\\\"../../plots/cartesian/tick_value_defaults\\\":799,\\\"../../plots/domain\\\":803,\\\"./attributes\\\":1063,\\\"./constants.js\\\":1066}],1068:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"indicator\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[\\\"svg\\\",\\\"noOpacity\\\",\\\"noHover\\\"],animatable:!0,attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,calc:t(\\\"./calc\\\").calc,plot:t(\\\"./plot\\\"),meta:{}}},{\\\"./attributes\\\":1063,\\\"./base_plot\\\":1064,\\\"./calc\\\":1065,\\\"./defaults\\\":1067,\\\"./plot\\\":1069}],1069:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=i.rad2deg,a=t(\\\"../../constants/alignment\\\").MID_SHIFT,s=t(\\\"../../components/drawing\\\"),l=t(\\\"./constants\\\"),u=t(\\\"../../lib/svg_text_utils\\\"),c=t(\\\"../../plots/cartesian/axes\\\"),h=t(\\\"../../plots/cartesian/axis_defaults\\\"),p=t(\\\"../../plots/cartesian/position_defaults\\\"),f=t(\\\"../../plots/cartesian/layout_attributes\\\"),d=t(\\\"../../components/color\\\"),m={left:\\\"start\\\",center:\\\"middle\\\",right:\\\"end\\\"},v={left:0,center:.5,right:1},g=/[yzafpnµmkMGTPEZY]/;function y(t){return t&&t.duration>0}function _(t,e,n,i){var s,l,u,h,p=n[0].trace,f=i.size,d=i.radius,m=i.innerRadius,v=i.gaugeBg,g=i.gaugeOutline,_=[f.l+f.w/2,f.t+f.h/2+d/2],A=i.gauge,C=i.layer,M=i.transitionOpts,E=i.onComplete,T=Math.PI/2;function S(t){var e=p.gauge.axis.range[0],n=(t-e)/(p.gauge.axis.range[1]-e)*Math.PI-T;return n<-T?-T:n>T?T:n}function k(t){return r.svg.arc().innerRadius((m+d)/2-t/2*(d-m)).outerRadius((m+d)/2+t/2*(d-m)).startAngle(-T)}function O(t){t.attr(\\\"d\\\",(function(t){return k(t.thickness).startAngle(S(t.range[0])).endAngle(S(t.range[1]))()}))}A.enter().append(\\\"g\\\").classed(\\\"angular\\\",!0),A.attr(\\\"transform\\\",w(_[0],_[1])),C.enter().append(\\\"g\\\").classed(\\\"angularaxis\\\",!0).classed(\\\"crisp\\\",!0),C.selectAll(\\\"g.xangularaxistick,path,text\\\").remove(),(s=x(t,p.gauge.axis)).type=\\\"linear\\\",s.range=p.gauge.axis.range,s._id=\\\"xangularaxis\\\",s.setScale();var I=function(t){return(s.range[0]-t.x)/(s.range[1]-s.range[0])*Math.PI+Math.PI},L={},P=c.makeLabelFns(s,0).labelStandoff;L.xFn=function(t){var e=I(t);return Math.cos(e)*P},L.yFn=function(t){var e=I(t),n=Math.sin(e)>0?.2:1;return-Math.sin(e)*(P+t.fontSize*n)+Math.abs(Math.cos(e))*(t.fontSize*a)},L.anchorFn=function(t){var e=I(t),n=Math.cos(e);return Math.abs(n)<.1?\\\"middle\\\":n>0?\\\"start\\\":\\\"end\\\"},L.heightFn=function(t,e,n){var r=I(t);return-.5*(1+Math.sin(r))*n};var z=function(t){return w(_[0]+d*Math.cos(t),_[1]-d*Math.sin(t))};if(u=function(t){return z(I(t))},l=c.calcTicks(s),h=c.getTickSigns(s)[2],s.visible){h=\\\"inside\\\"===s.ticks?-1:1;var R=(s.linewidth||1)/2;c.drawTicks(t,s,{vals:l,layer:C,path:\\\"M\\\"+h*R+\\\",0h\\\"+h*s.ticklen,transFn:function(t){var e=I(t);return z(e)+\\\"rotate(\\\"+-o(e)+\\\")\\\"}}),c.drawLabels(t,s,{vals:l,layer:C,transFn:u,labelFns:L})}var D=[v].concat(p.gauge.steps),$=A.selectAll(\\\"g.bg-arc\\\").data(D);$.enter().append(\\\"g\\\").classed(\\\"bg-arc\\\",!0).append(\\\"path\\\"),$.select(\\\"path\\\").call(O).call(b),$.exit().remove();var B=k(p.gauge.bar.thickness),N=A.selectAll(\\\"g.value-arc\\\").data([p.gauge.bar]);N.enter().append(\\\"g\\\").classed(\\\"value-arc\\\",!0).append(\\\"path\\\");var F,j,U,q=N.select(\\\"path\\\");y(M)?(q.transition().duration(M.duration).ease(M.easing).each(\\\"end\\\",(function(){E&&E()})).each(\\\"interrupt\\\",(function(){E&&E()})).attrTween(\\\"d\\\",(F=B,j=S(n[0].lastY),U=S(n[0].y),function(){var t=r.interpolate(j,U);return function(e){return F.endAngle(t(e))()}})),p._lastValue=n[0].y):q.attr(\\\"d\\\",\\\"number\\\"==typeof n[0].y?B.endAngle(S(n[0].y)):\\\"M0,0Z\\\"),q.call(b),N.exit().remove(),D=[];var V=p.gauge.threshold.value;V&&D.push({range:[V,V],color:p.gauge.threshold.color,line:{color:p.gauge.threshold.line.color,width:p.gauge.threshold.line.width},thickness:p.gauge.threshold.thickness});var H=A.selectAll(\\\"g.threshold-arc\\\").data(D);H.enter().append(\\\"g\\\").classed(\\\"threshold-arc\\\",!0).append(\\\"path\\\"),H.select(\\\"path\\\").call(O).call(b),H.exit().remove();var G=A.selectAll(\\\"g.gauge-outline\\\").data([g]);G.enter().append(\\\"g\\\").classed(\\\"gauge-outline\\\",!0).append(\\\"path\\\"),G.select(\\\"path\\\").call(O).call(b),G.exit().remove()}function b(t){t.each((function(t){d.stroke(r.select(this),t.line.color)})).each((function(t){d.fill(r.select(this),t.color)})).style(\\\"stroke-width\\\",(function(t){return t.line.width}))}function x(t,e,n){var r=t._fullLayout,o=i.extendFlat({type:\\\"linear\\\",ticks:\\\"outside\\\",range:n,showline:!0},e),a={type:\\\"linear\\\",_id:\\\"x\\\"+e._id},s={letter:\\\"x\\\",font:r.font,noHover:!0,noTickson:!0};function l(t,e){return i.coerce(o,a,f,t,e)}return h(o,a,l,s,r),p(o,a,l,s),a}function w(t,e){return\\\"translate(\\\"+t+\\\",\\\"+e+\\\")\\\"}function A(t,e,n){return[Math.min(e/t.width,n/t.height),t,e+\\\"x\\\"+n]}function C(t,e,n,i){var o=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"text\\\"),a=r.select(o);return a.text(t).attr(\\\"x\\\",0).attr(\\\"y\\\",0).attr(\\\"text-anchor\\\",n).attr(\\\"data-unformatted\\\",t).call(u.convertToTspans,i).call(s.font,e),s.bBox(a.node())}function M(t,e,n,r,o,a){var s=\\\"_cache\\\"+e;t[s]&&t[s].key===o||(t[s]={key:o,value:n});var l=i.aggNums(a,null,[t[s].value,r],2);return t[s].value=l,l}e.exports=function(t,e,n,o){var a,h=t._fullLayout;y(n)&&o&&(a=o()),i.makeTraceGroups(h._indicatorlayer,e,\\\"trace\\\").each((function(e){var o,p,f,E,T,S=e[0].trace,k=r.select(this),O=S._hasGauge,I=S._isAngular,L=S._isBullet,P=S.domain,z={w:h._size.w*(P.x[1]-P.x[0]),h:h._size.h*(P.y[1]-P.y[0]),l:h._size.l+h._size.w*P.x[0],r:h._size.r+h._size.w*(1-P.x[1]),t:h._size.t+h._size.h*(1-P.y[1]),b:h._size.b+h._size.h*P.y[0]},R=z.l+z.w/2,D=z.t+z.h/2,$=Math.min(z.w/2,z.h),B=l.innerRadius*$,N=S.align||\\\"center\\\";if(p=D,O){if(I&&(o=R,p=D+$/2,f=function(t){return function(t,e){return[e/Math.sqrt(t.width/2*(t.width/2)+t.height*t.height),t,e]}(t,.9*B)}),L){var F=l.bulletPadding,j=1-l.bulletNumberDomainSize+F;o=z.l+(j+(1-j)*v[N])*z.w,f=function(t){return A(t,(l.bulletNumberDomainSize-F)*z.w,z.h)}}}else o=z.l+v[N]*z.w,f=function(t){return A(t,z.w,z.h)};(function(t,e,n,o){var a,l,h,p=n[0].trace,f=o.numbersX,_=o.numbersY,b=p.align||\\\"center\\\",A=m[b],E=o.transitionOpts,T=o.onComplete,S=i.ensureSingle(e,\\\"g\\\",\\\"numbers\\\"),k=[];p._hasNumber&&k.push(\\\"number\\\"),p._hasDelta&&(k.push(\\\"delta\\\"),\\\"left\\\"===p.delta.position&&k.reverse());var O=S.selectAll(\\\"text\\\").data(k);function I(e,n,r,i){if(!e.match(\\\"s\\\")||r>=0==i>=0||n(r).slice(-1).match(g)||n(i).slice(-1).match(g))return n;var o=e.slice().replace(\\\"s\\\",\\\"f\\\").replace(/\\\\d+/,(function(t){return parseInt(t)-1})),a=x(t,{tickformat:o});return function(t){return Math.abs(t)<1?c.tickText(a,t).text:n(t)}}O.enter().append(\\\"text\\\"),O.attr(\\\"text-anchor\\\",(function(){return A})).attr(\\\"class\\\",(function(t){return t})).attr(\\\"x\\\",null).attr(\\\"y\\\",null).attr(\\\"dx\\\",null).attr(\\\"dy\\\",null),O.exit().remove();var L,P=p.mode+p.align;if(p._hasDelta&&(L=function(){var e=x(t,{tickformat:p.delta.valueformat},p._range);e.setScale(),c.prepTicks(e);var i=function(t){return c.tickText(e,t).text},o=function(t){return p.delta.relative?t.relativeDelta:t.delta},a=function(t,e){return 0===t||\\\"number\\\"!=typeof t||isNaN(t)?\\\"-\\\":(t>0?p.delta.increasing.symbol:p.delta.decreasing.symbol)+e(t)},h=function(t){return t.delta>=0?p.delta.increasing.color:p.delta.decreasing.color};void 0===p._deltaLastValue&&(p._deltaLastValue=o(n[0]));var f=S.select(\\\"text.delta\\\");function m(){f.text(a(o(n[0]),i)).call(d.fill,h(n[0])).call(u.convertToTspans,t)}return f.call(s.font,p.delta.font).call(d.fill,h({delta:p._deltaLastValue})),y(E)?f.transition().duration(E.duration).ease(E.easing).tween(\\\"text\\\",(function(){var t=r.select(this),e=o(n[0]),s=p._deltaLastValue,l=I(p.delta.valueformat,i,s,e),u=r.interpolateNumber(s,e);return p._deltaLastValue=e,function(e){t.text(a(u(e),l)),t.call(d.fill,h({delta:u(e)}))}})).each(\\\"end\\\",(function(){m(),T&&T()})).each(\\\"interrupt\\\",(function(){m(),T&&T()})):m(),l=C(a(o(n[0]),i),p.delta.font,A,t),f}(),P+=p.delta.position+p.delta.font.size+p.delta.font.family+p.delta.valueformat,P+=p.delta.increasing.symbol+p.delta.decreasing.symbol,h=l),p._hasNumber&&(function(){var e=x(t,{tickformat:p.number.valueformat},p._range);e.setScale(),c.prepTicks(e);var i=function(t){return c.tickText(e,t).text},o=p.number.suffix,l=p.number.prefix,h=S.select(\\\"text.number\\\");function f(){var e=\\\"number\\\"==typeof n[0].y?l+i(n[0].y)+o:\\\"-\\\";h.text(e).call(s.font,p.number.font).call(u.convertToTspans,t)}y(E)?h.transition().duration(E.duration).ease(E.easing).each(\\\"end\\\",(function(){f(),T&&T()})).each(\\\"interrupt\\\",(function(){f(),T&&T()})).attrTween(\\\"text\\\",(function(){var t=r.select(this),e=r.interpolateNumber(n[0].lastY,n[0].y);p._lastValue=n[0].y;var a=I(p.number.valueformat,i,n[0].lastY,n[0].y);return function(n){t.text(l+a(e(n))+o)}})):f(),a=C(l+i(n[0].y)+o,p.number.font,A,t)}(),P+=p.number.font.size+p.number.font.family+p.number.valueformat+p.number.suffix+p.number.prefix,h=a),p._hasDelta&&p._hasNumber){var z,R,D=[(a.left+a.right)/2,(a.top+a.bottom)/2],$=[(l.left+l.right)/2,(l.top+l.bottom)/2],B=.75*p.delta.font.size;\\\"left\\\"===p.delta.position&&(z=M(p,\\\"deltaPos\\\",0,-1*(a.width*v[p.align]+l.width*(1-v[p.align])+B),P,Math.min),R=D[1]-$[1],h={width:a.width+l.width+B,height:Math.max(a.height,l.height),left:l.left+z,right:a.right,top:Math.min(a.top,l.top+R),bottom:Math.max(a.bottom,l.bottom+R)}),\\\"right\\\"===p.delta.position&&(z=M(p,\\\"deltaPos\\\",0,a.width*(1-v[p.align])+l.width*v[p.align]+B,P,Math.max),R=D[1]-$[1],h={width:a.width+l.width+B,height:Math.max(a.height,l.height),left:a.left,right:l.right+z,top:Math.min(a.top,l.top+R),bottom:Math.max(a.bottom,l.bottom+R)}),\\\"bottom\\\"===p.delta.position&&(z=null,R=l.height,h={width:Math.max(a.width,l.width),height:a.height+l.height,left:Math.min(a.left,l.left),right:Math.max(a.right,l.right),top:a.bottom-a.height,bottom:a.bottom+l.height}),\\\"top\\\"===p.delta.position&&(z=null,R=a.top,h={width:Math.max(a.width,l.width),height:a.height+l.height,left:Math.min(a.left,l.left),right:Math.max(a.right,l.right),top:a.bottom-a.height-l.height,bottom:a.bottom}),L.attr({dx:z,dy:R})}(p._hasNumber||p._hasDelta)&&S.attr(\\\"transform\\\",(function(){var t=o.numbersScaler(h);P+=t[2];var e,n=M(p,\\\"numbersScale\\\",1,t[0],P,Math.min);p._scaleNumbers||(n=1),e=p._isAngular?_-n*h.bottom:_-n*(h.top+h.bottom)/2,p._numbersTop=n*h.top+e;var r=h[b];\\\"center\\\"===b&&(r=(h.left+h.right)/2);var i=f-n*r;return w(i=M(p,\\\"numbersTranslate\\\",0,i,P,Math.max),e)+\\\" scale(\\\"+n+\\\")\\\"}))})(t,k,e,{numbersX:o,numbersY:p,numbersScaler:f,transitionOpts:n,onComplete:a}),O&&(E={range:S.gauge.axis.range,color:S.gauge.bgcolor,line:{color:S.gauge.bordercolor,width:0},thickness:1},T={range:S.gauge.axis.range,color:\\\"rgba(0, 0, 0, 0)\\\",line:{color:S.gauge.bordercolor,width:S.gauge.borderwidth},thickness:1});var U=k.selectAll(\\\"g.angular\\\").data(I?e:[]);U.exit().remove();var q=k.selectAll(\\\"g.angularaxis\\\").data(I?e:[]);q.exit().remove(),I&&_(t,0,e,{radius:$,innerRadius:B,gauge:U,layer:q,size:z,gaugeBg:E,gaugeOutline:T,transitionOpts:n,onComplete:a});var V=k.selectAll(\\\"g.bullet\\\").data(L?e:[]);V.exit().remove();var H=k.selectAll(\\\"g.bulletaxis\\\").data(L?e:[]);H.exit().remove(),L&&function(t,e,n,r){var i,o,a,s,u,h=n[0].trace,p=r.gauge,f=r.layer,m=r.gaugeBg,v=r.gaugeOutline,g=r.size,_=h.domain,w=r.transitionOpts,A=r.onComplete;p.enter().append(\\\"g\\\").classed(\\\"bullet\\\",!0),p.attr(\\\"transform\\\",\\\"translate(\\\"+g.l+\\\", \\\"+g.t+\\\")\\\"),f.enter().append(\\\"g\\\").classed(\\\"bulletaxis\\\",!0).classed(\\\"crisp\\\",!0),f.selectAll(\\\"g.xbulletaxistick,path,text\\\").remove();var C=g.h,M=h.gauge.bar.thickness*C,E=_.x[0],T=_.x[0]+(_.x[1]-_.x[0])*(h._hasNumber||h._hasDelta?1-l.bulletNumberDomainSize:1);function S(t){t.attr(\\\"width\\\",(function(t){return Math.max(0,i.c2p(t.range[1])-i.c2p(t.range[0]))})).attr(\\\"x\\\",(function(t){return i.c2p(t.range[0])})).attr(\\\"y\\\",(function(t){return.5*(1-t.thickness)*C})).attr(\\\"height\\\",(function(t){return t.thickness*C}))}(i=x(t,h.gauge.axis))._id=\\\"xbulletaxis\\\",i.domain=[E,T],i.setScale(),o=c.calcTicks(i),a=c.makeTransFn(i),s=c.getTickSigns(i)[2],u=g.t+g.h,i.visible&&(c.drawTicks(t,i,{vals:\\\"inside\\\"===i.ticks?c.clipEnds(i,o):o,layer:f,path:c.makeTickPath(i,u,s),transFn:a}),c.drawLabels(t,i,{vals:o,layer:f,transFn:a,labelFns:c.makeLabelFns(i,u)}));var k=[m].concat(h.gauge.steps),O=p.selectAll(\\\"g.bg-bullet\\\").data(k);O.enter().append(\\\"g\\\").classed(\\\"bg-bullet\\\",!0).append(\\\"rect\\\"),O.select(\\\"rect\\\").call(S).call(b),O.exit().remove();var I=p.selectAll(\\\"g.value-bullet\\\").data([h.gauge.bar]);I.enter().append(\\\"g\\\").classed(\\\"value-bullet\\\",!0).append(\\\"rect\\\"),I.select(\\\"rect\\\").attr(\\\"height\\\",M).attr(\\\"y\\\",(C-M)/2).call(b),y(w)?I.select(\\\"rect\\\").transition().duration(w.duration).ease(w.easing).each(\\\"end\\\",(function(){A&&A()})).each(\\\"interrupt\\\",(function(){A&&A()})).attr(\\\"width\\\",Math.max(0,i.c2p(Math.min(h.gauge.axis.range[1],n[0].y)))):I.select(\\\"rect\\\").attr(\\\"width\\\",\\\"number\\\"==typeof n[0].y?Math.max(0,i.c2p(Math.min(h.gauge.axis.range[1],n[0].y))):0),I.exit().remove();var L=n.filter((function(){return h.gauge.threshold.value})),P=p.selectAll(\\\"g.threshold-bullet\\\").data(L);P.enter().append(\\\"g\\\").classed(\\\"threshold-bullet\\\",!0).append(\\\"line\\\"),P.select(\\\"line\\\").attr(\\\"x1\\\",i.c2p(h.gauge.threshold.value)).attr(\\\"x2\\\",i.c2p(h.gauge.threshold.value)).attr(\\\"y1\\\",(1-h.gauge.threshold.thickness)/2*C).attr(\\\"y2\\\",(1-(1-h.gauge.threshold.thickness)/2)*C).call(d.stroke,h.gauge.threshold.line.color).style(\\\"stroke-width\\\",h.gauge.threshold.line.width),P.exit().remove();var z=p.selectAll(\\\"g.gauge-outline\\\").data([v]);z.enter().append(\\\"g\\\").classed(\\\"gauge-outline\\\",!0).append(\\\"rect\\\"),z.select(\\\"rect\\\").call(S).call(b),z.exit().remove()}(t,0,e,{gauge:V,layer:H,size:z,gaugeBg:E,gaugeOutline:T,transitionOpts:n,onComplete:a});var G=k.selectAll(\\\"text.title\\\").data(e);G.exit().remove(),G.enter().append(\\\"text\\\").classed(\\\"title\\\",!0),G.attr(\\\"text-anchor\\\",(function(){return L?m.right:m[S.title.align]})).text(S.title.text).call(s.font,S.title.font).call(u.convertToTspans,t),G.attr(\\\"transform\\\",(function(){var t,e=z.l+z.w*v[S.title.align],n=l.titlePadding,r=s.bBox(G.node());return O?(I&&(t=S.gauge.axis.visible?s.bBox(q.node()).top-n-r.bottom:z.t+z.h/2-$/2-r.bottom-n),L&&(t=p-(r.top+r.bottom)/2,e=z.l-l.bulletPadding*z.w)):t=S._numbersTop-n-r.bottom,w(e,t)}))}))}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../constants/alignment\\\":697,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/cartesian/axis_defaults\\\":778,\\\"../../plots/cartesian/layout_attributes\\\":790,\\\"../../plots/cartesian/position_defaults\\\":793,\\\"./constants\\\":1066,d3:164}],1070:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../mesh3d/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../lib/extend\\\").extendFlat,l=t(\\\"../../plot_api/edit_types\\\").overrideAll,u=e.exports=l(s({x:{valType:\\\"data_array\\\"},y:{valType:\\\"data_array\\\"},z:{valType:\\\"data_array\\\"},value:{valType:\\\"data_array\\\"},isomin:{valType:\\\"number\\\"},isomax:{valType:\\\"number\\\"},surface:{show:{valType:\\\"boolean\\\",dflt:!0},count:{valType:\\\"integer\\\",dflt:2,min:1},fill:{valType:\\\"number\\\",min:0,max:1,dflt:1},pattern:{valType:\\\"flaglist\\\",flags:[\\\"A\\\",\\\"B\\\",\\\"C\\\",\\\"D\\\",\\\"E\\\"],extras:[\\\"all\\\",\\\"odd\\\",\\\"even\\\"],dflt:\\\"all\\\"}},spaceframe:{show:{valType:\\\"boolean\\\",dflt:!1},fill:{valType:\\\"number\\\",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:\\\"boolean\\\",dflt:!1},locations:{valType:\\\"data_array\\\",dflt:[]},fill:{valType:\\\"number\\\",min:0,max:1,dflt:1}},y:{show:{valType:\\\"boolean\\\",dflt:!1},locations:{valType:\\\"data_array\\\",dflt:[]},fill:{valType:\\\"number\\\",min:0,max:1,dflt:1}},z:{show:{valType:\\\"boolean\\\",dflt:!1},locations:{valType:\\\"data_array\\\",dflt:[]},fill:{valType:\\\"number\\\",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:\\\"boolean\\\",dflt:!0},fill:{valType:\\\"number\\\",min:0,max:1,dflt:1}},y:{show:{valType:\\\"boolean\\\",dflt:!0},fill:{valType:\\\"number\\\",min:0,max:1,dflt:1}},z:{show:{valType:\\\"boolean\\\",dflt:!0},fill:{valType:\\\"number\\\",min:0,max:1,dflt:1}}},text:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0},hovertext:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0},hovertemplate:i(),showlegend:s({},a.showlegend,{dflt:!1})},r(\\\"\\\",{colorAttr:\\\"`value`\\\",showScaleDflt:!0,editTypeOverride:\\\"calc\\\"}),{opacity:o.opacity,lightposition:o.lightposition,lighting:o.lighting,flatshading:o.flatshading,contour:o.contour,hoverinfo:s({},a.hoverinfo)}),\\\"calc\\\",\\\"nested\\\");u.flatshading.dflt=!0,u.lighting.facenormalsepsilon.dflt=0,u.x.editType=u.y.editType=u.z.editType=u.value.editType=\\\"calc+clearAxisTypes\\\",u.transforms=void 0},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../mesh3d/attributes\\\":1075}],1071:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/calc\\\"),i=t(\\\"../streamtube/calc\\\").processGrid,o=t(\\\"../streamtube/calc\\\").filter;e.exports=function(t,e){e._len=Math.min(e.x.length,e.y.length,e.z.length,e.value.length),e._x=o(e.x,e._len),e._y=o(e.y,e._len),e._z=o(e.z,e._len),e._value=o(e.value,e._len);var n=i(e);e._gridFill=n.fill,e._Xs=n.Xs,e._Ys=n.Ys,e._Zs=n.Zs,e._len=n.len;for(var a=1/0,s=-1/0,l=0;l<e._len;l++){var u=e._value[l];a=Math.min(a,u),s=Math.max(s,u)}e._minValues=a,e._maxValues=s,e._vMin=void 0===e.isomin||null===e.isomin?a:e.isomin,e._vMax=void 0===e.isomax||null===e.isomin?s:e.isomax,r(t,e,{vals:[e._vMin,e._vMax],containerStr:\\\"\\\",cLetter:\\\"c\\\"})}},{\\\"../../components/colorscale/calc\\\":603,\\\"../streamtube/calc\\\":1241}],1072:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-mesh3d\\\"),i=t(\\\"../../lib/gl_format_color\\\").parseColorScale,o=t(\\\"../../lib/str2rgbarray\\\"),a=t(\\\"../../components/colorscale\\\").extractOpts,s=t(\\\"../../plots/gl3d/zip3\\\"),l=function(t,e){for(var n=e.length-1;n>0;n--){var r=Math.min(e[n],e[n-1]),i=Math.max(e[n],e[n-1]);if(i>r&&r<t&&t<=i)return{id:n,distRatio:(i-t)/(i-r)}}return{id:0,distRatio:0}};function u(t,e,n){this.scene=t,this.uid=n,this.mesh=e,this.name=\\\"\\\",this.data=null,this.showContour=!1}var c=u.prototype;c.handlePick=function(t){if(t.object===this.mesh){var e=t.data.index,n=this.data._meshX[e],r=this.data._meshY[e],i=this.data._meshZ[e],o=this.data._Ys.length,a=this.data._Zs.length,s=l(n,this.data._Xs).id,u=l(r,this.data._Ys).id,c=l(i,this.data._Zs).id,h=t.index=c+a*u+a*o*s;t.traceCoordinate=[this.data._meshX[h],this.data._meshY[h],this.data._meshZ[h],this.data._value[h]];var p=this.data.hovertext||this.data.text;return Array.isArray(p)&&void 0!==p[h]?t.textLabel=p[h]:p&&(t.textLabel=p),!0}},c.update=function(t){var e=this.scene,n=e.fullSceneLayout;function r(t,e,n,r){return e.map((function(e){return t.d2l(e,0,r)*n}))}this.data=p(t);var l={positions:s(r(n.xaxis,t._meshX,e.dataScale[0],t.xcalendar),r(n.yaxis,t._meshY,e.dataScale[1],t.ycalendar),r(n.zaxis,t._meshZ,e.dataScale[2],t.zcalendar)),cells:s(t._meshI,t._meshJ,t._meshK),lightPosition:[t.lightposition.x,t.lightposition.y,t.lightposition.z],ambient:t.lighting.ambient,diffuse:t.lighting.diffuse,specular:t.lighting.specular,roughness:t.lighting.roughness,fresnel:t.lighting.fresnel,vertexNormalsEpsilon:t.lighting.vertexnormalsepsilon,faceNormalsEpsilon:t.lighting.facenormalsepsilon,opacity:t.opacity,contourEnable:t.contour.show,contourColor:o(t.contour.color).slice(0,3),contourWidth:t.contour.width,useFacetNormals:t.flatshading},u=a(t);l.vertexIntensity=t._meshIntensity,l.vertexIntensityBounds=[u.min,u.max],l.colormap=i(t),this.mesh.update(l)},c.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()};var h=[\\\"xyz\\\",\\\"xzy\\\",\\\"yxz\\\",\\\"yzx\\\",\\\"zxy\\\",\\\"zyx\\\"];function p(t){t._meshI=[],t._meshJ=[],t._meshK=[];var e,n,r,i,o,a,s,u=t.surface.show,c=t.spaceframe.show,p=t.surface.fill,f=t.spaceframe.fill,d=!1,m=!1,v=0,g=t._Xs,y=t._Ys,_=t._Zs,b=g.length,x=y.length,w=_.length,A=h.indexOf(t._gridFill.replace(/-/g,\\\"\\\").replace(/\\\\+/g,\\\"\\\")),C=function(t,e,n){switch(A){case 5:return n+w*e+w*x*t;case 4:return n+w*t+w*b*e;case 3:return e+x*n+x*w*t;case 2:return e+x*t+x*b*n;case 1:return t+b*n+b*w*e;default:return t+b*e+b*x*n}},M=t._minValues,E=t._maxValues,T=t._vMin,S=t._vMax;function k(t,e,s){for(var l=a.length,u=n;u<l;u++)if(t===r[u]&&e===i[u]&&s===o[u])return u;return-1}function O(){n=e}function I(){r=[],i=[],o=[],a=[],e=0,O()}function L(t,n,s,l){return r.push(t),i.push(n),o.push(s),a.push(l),++e-1}function P(t,e,n){for(var r=[],i=0;i<t.length;i++)r[i]=t[i]*(1-n)+n*e[i];return r}function z(t){s=t}function R(t,e){return\\\"all\\\"===t||null===t||t.indexOf(e)>-1}function D(t,e){return null===t?e:t}function $(e,n,r){O();var i,o,a,l=[n],u=[r];if(s>=1)l=[n],u=[r];else if(s>0){var c=function(t,e){var n=t[0],r=t[1],i=t[2],o=function(t,e,n){for(var r=[],i=0;i<t.length;i++)r[i]=(t[i]+e[i]+n[i])/3;return r}(n,r,i),a=Math.sqrt(1-s),l=P(o,n,a),u=P(o,r,a),c=P(o,i,a),h=e[0],p=e[1],f=e[2];return{xyzv:[[n,r,u],[u,l,n],[r,i,c],[c,u,r],[i,n,l],[l,c,i]],abc:[[h,p,-1],[-1,-1,h],[p,f,-1],[-1,-1,p],[f,h,-1],[-1,-1,f]]}}(n,r);l=c.xyzv,u=c.abc}for(var h=0;h<l.length;h++){n=l[h],r=u[h];for(var p=[],f=0;f<3;f++){var d=n[f][0],m=n[f][1],g=n[f][2],y=n[f][3],_=r[f]>-1?r[f]:k(d,m,g);p[f]=_>-1?_:L(d,m,g,D(e,y))}i=p[0],o=p[1],a=p[2],t._meshI.push(i),t._meshJ.push(o),t._meshK.push(a),++v}}function B(t,e,n,r){var i=t[3];i<n&&(i=n),i>r&&(i=r);for(var o=(t[3]-i)/(t[3]-e[3]+1e-9),a=[],s=0;s<4;s++)a[s]=(1-o)*t[s]+o*e[s];return a}function N(t,e,n){return t>=e&&t<=n}function F(t){var e=.001*(S-T);return t>=T-e&&t<=S+e}function j(e){for(var n=[],r=0;r<4;r++){var i=e[r];n.push([t._x[i],t._y[i],t._z[i],t._value[i]])}return n}function U(t,e,n,r,i,o){o||(o=1),n=[-1,-1,-1];var a=!1,s=[N(e[0][3],r,i),N(e[1][3],r,i),N(e[2][3],r,i)];if(!s[0]&&!s[1]&&!s[2])return!1;var l=function(t,e,n){return F(e[0][3])&&F(e[1][3])&&F(e[2][3])?($(t,e,n),!0):o<3&&U(t,e,n,T,S,++o)};if(s[0]&&s[1]&&s[2])return l(t,e,n)||a;var u=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach((function(o){if(s[o[0]]&&s[o[1]]&&!s[o[2]]){var c=e[o[0]],h=e[o[1]],p=e[o[2]],f=B(p,c,r,i),d=B(p,h,r,i);a=l(t,[d,f,c],[-1,-1,n[o[0]]])||a,a=l(t,[c,h,d],[n[o[0]],n[o[1]],-1])||a,u=!0}})),u||[[0,1,2],[1,2,0],[2,0,1]].forEach((function(o){if(s[o[0]]&&!s[o[1]]&&!s[o[2]]){var c=e[o[0]],h=e[o[1]],p=e[o[2]],f=B(h,c,r,i),d=B(p,c,r,i);a=l(t,[d,f,c],[-1,-1,n[o[0]]])||a,u=!0}})),a}function q(t,e,n,r){var i=!1,o=j(e),a=[N(o[0][3],n,r),N(o[1][3],n,r),N(o[2][3],n,r),N(o[3][3],n,r)];if(!(a[0]||a[1]||a[2]||a[3]))return i;if(a[0]&&a[1]&&a[2]&&a[3])return m&&(i=function(t,e,n){var r=function(r,i,o){$(t,[e[r],e[i],e[o]],[n[r],n[i],n[o]])};r(0,1,2),r(3,0,1),r(2,3,0),r(1,2,3)}(t,o,e)||i),i;var s=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach((function(l){if(a[l[0]]&&a[l[1]]&&a[l[2]]&&!a[l[3]]){var u=o[l[0]],c=o[l[1]],h=o[l[2]],p=o[l[3]];if(m)i=$(t,[u,c,h],[e[l[0]],e[l[1]],e[l[2]]])||i;else{var f=B(p,u,n,r),d=B(p,c,n,r),v=B(p,h,n,r);i=$(null,[f,d,v],[-1,-1,-1])||i}s=!0}})),s||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach((function(l){if(a[l[0]]&&a[l[1]]&&!a[l[2]]&&!a[l[3]]){var u=o[l[0]],c=o[l[1]],h=o[l[2]],p=o[l[3]],f=B(h,u,n,r),d=B(h,c,n,r),v=B(p,c,n,r),g=B(p,u,n,r);m?(i=$(t,[u,g,f],[e[l[0]],-1,-1])||i,i=$(t,[c,d,v],[e[l[1]],-1,-1])||i):i=function(t,e,n){var r=function(r,i,o){$(t,[e[r],e[i],e[o]],[n[r],n[i],n[o]])};r(0,1,2),r(2,3,0)}(null,[f,d,v,g],[-1,-1,-1,-1])||i,s=!0}})),s||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach((function(l){if(a[l[0]]&&!a[l[1]]&&!a[l[2]]&&!a[l[3]]){var u=o[l[0]],c=o[l[1]],h=o[l[2]],p=o[l[3]],f=B(c,u,n,r),d=B(h,u,n,r),v=B(p,u,n,r);m?(i=$(t,[u,f,d],[e[l[0]],-1,-1])||i,i=$(t,[u,d,v],[e[l[0]],-1,-1])||i,i=$(t,[u,v,f],[e[l[0]],-1,-1])||i):i=$(null,[f,d,v],[-1,-1,-1])||i,s=!0}}))),i}function V(t,e,n,r,i,o,a,s,l,u,c){var h=!1;return d&&(R(t,\\\"A\\\")&&(h=q(null,[e,n,r,o],u,c)||h),R(t,\\\"B\\\")&&(h=q(null,[n,r,i,l],u,c)||h),R(t,\\\"C\\\")&&(h=q(null,[n,o,a,l],u,c)||h),R(t,\\\"D\\\")&&(h=q(null,[r,o,s,l],u,c)||h),R(t,\\\"E\\\")&&(h=q(null,[n,r,o,l],u,c)||h)),m&&(h=q(t,[n,r,o,l],u,c)||h),h}function H(t,e,n,r,i,o,a,s){return[!0===s[0]||U(t,j([e,n,r]),[e,n,r],o,a),!0===s[1]||U(t,j([r,i,e]),[r,i,e],o,a)]}function G(t,e,n,r,i,o,a,s,l){return s?H(t,e,n,i,r,o,a,l):H(t,n,i,r,e,o,a,l)}function W(t,e,n,r,i,o,a){var s,l,u,c,h=!1,p=function(){h=U(t,[s,l,u],[-1,-1,-1],i,o)||h,h=U(t,[u,c,s],[-1,-1,-1],i,o)||h},f=a[0],d=a[1],m=a[2];return f&&(s=P(j([C(e,n-0,r-0)])[0],j([C(e-1,n-0,r-0)])[0],f),l=P(j([C(e,n-0,r-1)])[0],j([C(e-1,n-0,r-1)])[0],f),u=P(j([C(e,n-1,r-1)])[0],j([C(e-1,n-1,r-1)])[0],f),c=P(j([C(e,n-1,r-0)])[0],j([C(e-1,n-1,r-0)])[0],f),p()),d&&(s=P(j([C(e-0,n,r-0)])[0],j([C(e-0,n-1,r-0)])[0],d),l=P(j([C(e-0,n,r-1)])[0],j([C(e-0,n-1,r-1)])[0],d),u=P(j([C(e-1,n,r-1)])[0],j([C(e-1,n-1,r-1)])[0],d),c=P(j([C(e-1,n,r-0)])[0],j([C(e-1,n-1,r-0)])[0],d),p()),m&&(s=P(j([C(e-0,n-0,r)])[0],j([C(e-0,n-0,r-1)])[0],m),l=P(j([C(e-0,n-1,r)])[0],j([C(e-0,n-1,r-1)])[0],m),u=P(j([C(e-1,n-1,r)])[0],j([C(e-1,n-1,r-1)])[0],m),c=P(j([C(e-1,n-0,r)])[0],j([C(e-1,n-0,r-1)])[0],m),p()),h}function X(t,e,n,r,i,o,a,s,l,u,c,h){var p=t;return h?(d&&\\\"even\\\"===t&&(p=null),V(p,e,n,r,i,o,a,s,l,u,c)):(d&&\\\"odd\\\"===t&&(p=null),V(p,l,s,a,o,i,r,n,e,u,c))}function Y(t,e,n,r,i){for(var o=[],a=0,s=0;s<e.length;s++)for(var l=e[s],u=1;u<w;u++)for(var c=1;c<x;c++)o.push(G(t,C(l,c-1,u-1),C(l,c-1,u),C(l,c,u-1),C(l,c,u),n,r,(l+c+u)%2,i&&i[a]?i[a]:[])),a++;return o}function Z(t,e,n,r,i){for(var o=[],a=0,s=0;s<e.length;s++)for(var l=e[s],u=1;u<b;u++)for(var c=1;c<w;c++)o.push(G(t,C(u-1,l,c-1),C(u,l,c-1),C(u-1,l,c),C(u,l,c),n,r,(u+l+c)%2,i&&i[a]?i[a]:[])),a++;return o}function K(t,e,n,r,i){for(var o=[],a=0,s=0;s<e.length;s++)for(var l=e[s],u=1;u<x;u++)for(var c=1;c<b;c++)o.push(G(t,C(c-1,u-1,l),C(c-1,u,l),C(c,u-1,l),C(c,u,l),n,r,(c+u+l)%2,i&&i[a]?i[a]:[])),a++;return o}function J(t,e,n){for(var r=1;r<w;r++)for(var i=1;i<x;i++)for(var o=1;o<b;o++)X(t,C(o-1,i-1,r-1),C(o-1,i-1,r),C(o-1,i,r-1),C(o-1,i,r),C(o,i-1,r-1),C(o,i-1,r),C(o,i,r-1),C(o,i,r),e,n,(o+i+r)%2)}function Q(t,e,n){d=!0,J(t,e,n),d=!1}function tt(t,e,n,r,i,o){for(var a=[],s=0,l=0;l<e.length;l++)for(var u=e[l],c=1;c<w;c++)for(var h=1;h<x;h++)a.push(W(t,u,h,c,n,r,i[l],o&&o[s]&&o[s])),s++;return a}function et(t,e,n,r,i,o){for(var a=[],s=0,l=0;l<e.length;l++)for(var u=e[l],c=1;c<b;c++)for(var h=1;h<w;h++)a.push(W(t,c,u,h,n,r,i[l],o&&o[s]&&o[s])),s++;return a}function nt(t,e,n,r,i,o){for(var a=[],s=0,l=0;l<e.length;l++)for(var u=e[l],c=1;c<x;c++)for(var h=1;h<b;h++)a.push(W(t,h,c,u,n,r,i[l],o&&o[s]&&o[s])),s++;return a}function rt(t,e){for(var n=[],r=t;r<e;r++)n.push(r);return n}return function(){I(),function(){for(var e=0;e<b;e++)for(var n=0;n<x;n++)for(var r=0;r<w;r++){var i=C(e,n,r);L(t._x[i],t._y[i],t._z[i],t._value[i])}}();var e=null;if(c&&f&&(z(f),m=!0,J(e,T,S),m=!1),u&&p){z(p);for(var n=t.surface.pattern,s=t.surface.count,h=0;h<s;h++){var d=1===s?.5:h/(s-1),A=(1-d)*T+d*S,k=Math.abs(A-M)>Math.abs(A-E)?[M,A]:[A,E];Q(n,k[0],k[1])}}var O=[[Math.min(T,E),Math.max(T,E)],[Math.min(M,S),Math.max(M,S)]];[\\\"x\\\",\\\"y\\\",\\\"z\\\"].forEach((function(n){for(var r=[],i=0;i<O.length;i++){var o=0,a=O[i][0],s=O[i][1],u=t.slices[n];if(u.show&&u.fill){z(u.fill);var c=[],h=[],p=[];if(u.locations.length)for(var f=0;f<u.locations.length;f++){var d=l(u.locations[f],\\\"x\\\"===n?g:\\\"y\\\"===n?y:_);0===d.distRatio?c.push(d.id):d.id>0&&(h.push(d.id),\\\"x\\\"===n?p.push([d.distRatio,0,0]):\\\"y\\\"===n?p.push([0,d.distRatio,0]):p.push([0,0,d.distRatio]))}else c=rt(1,\\\"x\\\"===n?b-1:\\\"y\\\"===n?x-1:w-1);h.length>0&&(r[o]=\\\"x\\\"===n?tt(e,h,a,s,p,r[o]):\\\"y\\\"===n?et(e,h,a,s,p,r[o]):nt(e,h,a,s,p,r[o]),o++),c.length>0&&(r[o]=\\\"x\\\"===n?Y(e,c,a,s,r[o]):\\\"y\\\"===n?Z(e,c,a,s,r[o]):K(e,c,a,s,r[o]),o++)}var m=t.caps[n];m.show&&m.fill&&(z(m.fill),r[o]=\\\"x\\\"===n?Y(e,[0,b-1],a,s,r[o]):\\\"y\\\"===n?Z(e,[0,x-1],a,s,r[o]):K(e,[0,w-1],a,s,r[o]),o++)}})),0===v&&I(),t._meshX=r,t._meshY=i,t._meshZ=o,t._meshIntensity=a,t._Xs=g,t._Ys=y,t._Zs=_}(),t}e.exports={findNearestOnAxis:l,generateIsoMeshes:p,createIsosurfaceTrace:function(t,e){var n=t.glplot.gl,i=r({gl:n}),o=new u(t,i,e.uid);return i._trace=o,o.update(e),t.glplot.add(i),o}}},{\\\"../../components/colorscale\\\":607,\\\"../../lib/gl_format_color\\\":725,\\\"../../lib/str2rgbarray\\\":751,\\\"../../plots/gl3d/zip3\\\":829,\\\"gl-mesh3d\\\":287}],1073:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"./attributes\\\"),a=t(\\\"../../components/colorscale/defaults\\\");function s(t,e,n,r,o){var s=o(\\\"isomin\\\"),l=o(\\\"isomax\\\");null!=l&&null!=s&&s>l&&(e.isomin=null,e.isomax=null);var u=o(\\\"x\\\"),c=o(\\\"y\\\"),h=o(\\\"z\\\"),p=o(\\\"value\\\");u&&u.length&&c&&c.length&&h&&h.length&&p&&p.length?(i.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\",\\\"y\\\",\\\"z\\\"],r),[\\\"x\\\",\\\"y\\\",\\\"z\\\"].forEach((function(t){var e=\\\"caps.\\\"+t;o(e+\\\".show\\\")&&o(e+\\\".fill\\\");var n=\\\"slices.\\\"+t;o(n+\\\".show\\\")&&(o(n+\\\".fill\\\"),o(n+\\\".locations\\\"))})),o(\\\"spaceframe.show\\\")&&o(\\\"spaceframe.fill\\\"),o(\\\"surface.show\\\")&&(o(\\\"surface.count\\\"),o(\\\"surface.fill\\\"),o(\\\"surface.pattern\\\")),o(\\\"contour.show\\\")&&(o(\\\"contour.color\\\"),o(\\\"contour.width\\\")),[\\\"text\\\",\\\"hovertext\\\",\\\"hovertemplate\\\",\\\"lighting.ambient\\\",\\\"lighting.diffuse\\\",\\\"lighting.specular\\\",\\\"lighting.roughness\\\",\\\"lighting.fresnel\\\",\\\"lighting.vertexnormalsepsilon\\\",\\\"lighting.facenormalsepsilon\\\",\\\"lightposition.x\\\",\\\"lightposition.y\\\",\\\"lightposition.z\\\",\\\"flatshading\\\",\\\"opacity\\\"].forEach((function(t){o(t)})),a(t,e,r,o,{prefix:\\\"\\\",cLetter:\\\"c\\\"}),e._length=null):e.visible=!1}e.exports={supplyDefaults:function(t,e,n,i){s(t,e,0,i,(function(n,i){return r.coerce(t,e,o,n,i)}))},supplyIsoDefaults:s}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./attributes\\\":1070}],1074:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,calc:t(\\\"./calc\\\"),colorbar:{min:\\\"cmin\\\",max:\\\"cmax\\\"},plot:t(\\\"./convert\\\").createIsosurfaceTrace,moduleType:\\\"trace\\\",name:\\\"isosurface\\\",basePlotModule:t(\\\"../../plots/gl3d\\\"),categories:[\\\"gl3d\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/gl3d\\\":818,\\\"./attributes\\\":1070,\\\"./calc\\\":1071,\\\"./convert\\\":1072,\\\"./defaults\\\":1073}],1075:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../surface/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../lib/extend\\\").extendFlat;e.exports=s({x:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},y:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},z:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},i:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},j:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},k:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},text:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"calc\\\"},hovertext:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"calc\\\"},hovertemplate:i({editType:\\\"calc\\\"}),delaunayaxis:{valType:\\\"enumerated\\\",values:[\\\"x\\\",\\\"y\\\",\\\"z\\\"],dflt:\\\"z\\\",editType:\\\"calc\\\"},alphahull:{valType:\\\"number\\\",dflt:-1,editType:\\\"calc\\\"},intensity:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},intensitymode:{valType:\\\"enumerated\\\",values:[\\\"vertex\\\",\\\"cell\\\"],dflt:\\\"vertex\\\",editType:\\\"calc\\\"},color:{valType:\\\"color\\\",editType:\\\"calc\\\"},vertexcolor:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},facecolor:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},transforms:void 0},r(\\\"\\\",{colorAttr:\\\"`intensity`\\\",showScaleDflt:!0,editTypeOverride:\\\"calc\\\"}),{opacity:o.opacity,flatshading:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},contour:{show:s({},o.contours.x.show,{}),color:o.contours.x.color,width:o.contours.x.width,editType:\\\"calc\\\"},lightposition:{x:s({},o.lightposition.x,{dflt:1e5}),y:s({},o.lightposition.y,{dflt:1e5}),z:s({},o.lightposition.z,{dflt:0}),editType:\\\"calc\\\"},lighting:s({vertexnormalsepsilon:{valType:\\\"number\\\",min:0,max:1,dflt:1e-12,editType:\\\"calc\\\"},facenormalsepsilon:{valType:\\\"number\\\",min:0,max:1,dflt:1e-6,editType:\\\"calc\\\"},editType:\\\"calc\\\"},o.lighting),hoverinfo:s({},a.hoverinfo,{editType:\\\"calc\\\"}),showlegend:s({},a.showlegend,{dflt:!1})})},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../surface/attributes\\\":1257}],1076:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/calc\\\");e.exports=function(t,e){e.intensity&&r(t,e,{vals:e.intensity,containerStr:\\\"\\\",cLetter:\\\"c\\\"})}},{\\\"../../components/colorscale/calc\\\":603}],1077:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-mesh3d\\\"),i=t(\\\"delaunay-triangulate\\\"),o=t(\\\"alpha-shape\\\"),a=t(\\\"convex-hull\\\"),s=t(\\\"../../lib/gl_format_color\\\").parseColorScale,l=t(\\\"../../lib/str2rgbarray\\\"),u=t(\\\"../../components/colorscale\\\").extractOpts,c=t(\\\"../../plots/gl3d/zip3\\\");function h(t,e,n){this.scene=t,this.uid=n,this.mesh=e,this.name=\\\"\\\",this.color=\\\"#fff\\\",this.data=null,this.showContour=!1}var p=h.prototype;function f(t){for(var e=[],n=t.length,r=0;r<n;r++)e[r]=l(t[r]);return e}function d(t,e,n,r){for(var i=[],o=e.length,a=0;a<o;a++)i[a]=t.d2l(e[a],0,r)*n;return i}function m(t){for(var e=[],n=t.length,r=0;r<n;r++)e[r]=Math.round(t[r]);return e}function v(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]<=-.5||t[r]>=e-.5)return!1;return!0}p.handlePick=function(t){if(t.object===this.mesh){var e=t.index=t.data.index;t.data._cellCenter?t.traceCoordinate=t.data.dataCoordinate:t.traceCoordinate=[this.data.x[e],this.data.y[e],this.data.z[e]];var n=this.data.hovertext||this.data.text;return Array.isArray(n)&&void 0!==n[e]?t.textLabel=n[e]:n&&(t.textLabel=n),!0}},p.update=function(t){var e=this.scene,n=e.fullSceneLayout;this.data=t;var r,h=t.x.length,p=c(d(n.xaxis,t.x,e.dataScale[0],t.xcalendar),d(n.yaxis,t.y,e.dataScale[1],t.ycalendar),d(n.zaxis,t.z,e.dataScale[2],t.zcalendar));if(t.i&&t.j&&t.k){if(t.i.length!==t.j.length||t.j.length!==t.k.length||!v(t.i,h)||!v(t.j,h)||!v(t.k,h))return;r=c(m(t.i),m(t.j),m(t.k))}else r=0===t.alphahull?a(p):t.alphahull>0?o(t.alphahull,p):function(t,e){for(var n=[\\\"x\\\",\\\"y\\\",\\\"z\\\"].indexOf(t),r=[],o=e.length,a=0;a<o;a++)r[a]=[e[a][(n+1)%3],e[a][(n+2)%3]];return i(r)}(t.delaunayaxis,p);var g={positions:p,cells:r,lightPosition:[t.lightposition.x,t.lightposition.y,t.lightposition.z],ambient:t.lighting.ambient,diffuse:t.lighting.diffuse,specular:t.lighting.specular,roughness:t.lighting.roughness,fresnel:t.lighting.fresnel,vertexNormalsEpsilon:t.lighting.vertexnormalsepsilon,faceNormalsEpsilon:t.lighting.facenormalsepsilon,opacity:t.opacity,contourEnable:t.contour.show,contourColor:l(t.contour.color).slice(0,3),contourWidth:t.contour.width,useFacetNormals:t.flatshading};if(t.intensity){var y=u(t);this.color=\\\"#fff\\\";var _=t.intensitymode;g[_+\\\"Intensity\\\"]=t.intensity,g[_+\\\"IntensityBounds\\\"]=[y.min,y.max],g.colormap=s(t)}else t.vertexcolor?(this.color=t.vertexcolor[0],g.vertexColors=f(t.vertexcolor)):t.facecolor?(this.color=t.facecolor[0],g.cellColors=f(t.facecolor)):(this.color=t.color,g.meshColor=l(t.color));this.mesh.update(g)},p.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(t,e){var n=t.glplot.gl,i=r({gl:n}),o=new h(t,i,e.uid);return i._trace=o,o.update(e),t.glplot.add(i),o}},{\\\"../../components/colorscale\\\":607,\\\"../../lib/gl_format_color\\\":725,\\\"../../lib/str2rgbarray\\\":751,\\\"../../plots/gl3d/zip3\\\":829,\\\"alpha-shape\\\":67,\\\"convex-hull\\\":132,\\\"delaunay-triangulate\\\":166,\\\"gl-mesh3d\\\":287}],1078:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/colorscale/defaults\\\"),a=t(\\\"./attributes\\\");e.exports=function(t,e,n,s){function l(n,r){return i.coerce(t,e,a,n,r)}function u(t){var e=t.map((function(t){var e=l(t);return e&&i.isArrayOrTypedArray(e)?e:null}));return e.every((function(t){return t&&t.length===e[0].length}))&&e}u([\\\"x\\\",\\\"y\\\",\\\"z\\\"])?(u([\\\"i\\\",\\\"j\\\",\\\"k\\\"]),(!e.i||e.j&&e.k)&&(!e.j||e.k&&e.i)&&(!e.k||e.i&&e.j)?(r.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\",\\\"y\\\",\\\"z\\\"],s),[\\\"lighting.ambient\\\",\\\"lighting.diffuse\\\",\\\"lighting.specular\\\",\\\"lighting.roughness\\\",\\\"lighting.fresnel\\\",\\\"lighting.vertexnormalsepsilon\\\",\\\"lighting.facenormalsepsilon\\\",\\\"lightposition.x\\\",\\\"lightposition.y\\\",\\\"lightposition.z\\\",\\\"flatshading\\\",\\\"alphahull\\\",\\\"delaunayaxis\\\",\\\"opacity\\\"].forEach((function(t){l(t)})),l(\\\"contour.show\\\")&&(l(\\\"contour.color\\\"),l(\\\"contour.width\\\")),\\\"intensity\\\"in t?(l(\\\"intensity\\\"),l(\\\"intensitymode\\\"),o(t,e,s,l,{prefix:\\\"\\\",cLetter:\\\"c\\\"})):(e.showscale=!1,\\\"facecolor\\\"in t?l(\\\"facecolor\\\"):\\\"vertexcolor\\\"in t?l(\\\"vertexcolor\\\"):l(\\\"color\\\",n)),l(\\\"text\\\"),l(\\\"hovertext\\\"),l(\\\"hovertemplate\\\"),e._length=null):e.visible=!1):e.visible=!1}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./attributes\\\":1075}],1079:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),colorbar:{min:\\\"cmin\\\",max:\\\"cmax\\\"},plot:t(\\\"./convert\\\"),moduleType:\\\"trace\\\",name:\\\"mesh3d\\\",basePlotModule:t(\\\"../../plots/gl3d\\\"),categories:[\\\"gl3d\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/gl3d\\\":818,\\\"./attributes\\\":1075,\\\"./calc\\\":1076,\\\"./convert\\\":1077,\\\"./defaults\\\":1078}],1080:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").extendFlat,i=t(\\\"../scatter/attributes\\\"),o=t(\\\"../../components/drawing/attributes\\\").dash,a=t(\\\"../../components/fx/attributes\\\"),s=t(\\\"../../constants/delta.js\\\"),l=s.INCREASING.COLOR,u=s.DECREASING.COLOR,c=i.line;function h(t){return{line:{color:r({},c.color,{dflt:t}),width:c.width,dash:o,editType:\\\"style\\\"},editType:\\\"style\\\"}}e.exports={x:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},open:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},high:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},low:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},close:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},line:{width:r({},c.width,{}),dash:r({},o,{}),editType:\\\"style\\\"},increasing:h(l),decreasing:h(u),text:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"calc\\\"},hovertext:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"calc\\\"},tickwidth:{valType:\\\"number\\\",min:0,max:.5,dflt:.3,editType:\\\"calc\\\"},hoverlabel:r({},a.hoverlabel,{split:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"style\\\"}})}},{\\\"../../components/drawing/attributes\\\":616,\\\"../../components/fx/attributes\\\":626,\\\"../../constants/delta.js\\\":698,\\\"../../lib\\\":728,\\\"../scatter/attributes\\\":1134}],1081:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=r._,o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"../../constants/numerical\\\").BADNUM;function s(t,e,n,r){return{o:t,h:e,l:n,c:r}}function l(t,e,n,s,l){for(var u=s.makeCalcdata(e,\\\"open\\\"),c=s.makeCalcdata(e,\\\"high\\\"),h=s.makeCalcdata(e,\\\"low\\\"),p=s.makeCalcdata(e,\\\"close\\\"),f=Array.isArray(e.text),d=Array.isArray(e.hovertext),m=!0,v=null,g=[],y=0;y<n.length;y++){var _=n[y],b=u[y],x=c[y],w=h[y],A=p[y];if(_!==a&&b!==a&&x!==a&&w!==a&&A!==a){A===b?null!==v&&A!==v&&(m=A>v):m=A>b,v=A;var C=l(b,x,w,A);C.pos=_,C.yc=(b+A)/2,C.i=y,C.dir=m?\\\"increasing\\\":\\\"decreasing\\\",C.x=C.pos,C.y=[w,x],f&&(C.tx=e.text[y]),d&&(C.htx=e.hovertext[y]),g.push(C)}else g.push({pos:_,empty:!0})}return e._extremes[s._id]=o.findExtremes(s,r.concat(h,c),{padded:!0}),g.length&&(g[0].t={labels:{open:i(t,\\\"open:\\\")+\\\" \\\",high:i(t,\\\"high:\\\")+\\\" \\\",low:i(t,\\\"low:\\\")+\\\" \\\",close:i(t,\\\"close:\\\")+\\\" \\\"}}),g}e.exports={calc:function(t,e){var n=o.getFromId(t,e.xaxis),i=o.getFromId(t,e.yaxis),a=function(t,e,n){var i=n._minDiff;if(!i){var o,a=t._fullData,s=[];for(i=1/0,o=0;o<a.length;o++){var l=a[o];if(\\\"ohlc\\\"===l.type&&!0===l.visible&&l.xaxis===e._id){s.push(l);var u=e.makeCalcdata(l,\\\"x\\\");l._xcalc=u;var c=r.distinctVals(u).minDiff;c&&isFinite(c)&&(i=Math.min(i,c))}}for(i===1/0&&(i=1),o=0;o<s.length;o++)s[o]._minDiff=i}return i*n.tickwidth}(t,n,e),u=e._minDiff;e._minDiff=null;var c=e._xcalc;e._xcalc=null;var h=l(t,e,c,i,s);return e._extremes[n._id]=o.findExtremes(n,c,{vpad:u/2}),h.length?(r.extendFlat(h[0].t,{wHover:u/2,tickLen:a}),h):[{t:{empty:!0}}]},calcCommon:l}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776}],1082:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./ohlc_defaults\\\"),o=t(\\\"./attributes\\\");function a(t,e,n,r){n(r+\\\".line.color\\\"),n(r+\\\".line.width\\\",e.line.width),n(r+\\\".line.dash\\\",e.line.dash)}e.exports=function(t,e,n,s){function l(n,i){return r.coerce(t,e,o,n,i)}i(t,e,l,s)?(l(\\\"line.width\\\"),l(\\\"line.dash\\\"),a(0,e,l,\\\"increasing\\\"),a(0,e,l,\\\"decreasing\\\"),l(\\\"text\\\"),l(\\\"hovertext\\\"),l(\\\"tickwidth\\\"),s._requestRangeslider[e.xaxis]=!0):e.visible=!1}},{\\\"../../lib\\\":728,\\\"./attributes\\\":1080,\\\"./ohlc_defaults\\\":1085}],1083:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/fx\\\"),a=t(\\\"../../components/color\\\"),s=t(\\\"../../lib\\\").fillText,l=t(\\\"../../constants/delta.js\\\"),u={increasing:l.INCREASING.SYMBOL,decreasing:l.DECREASING.SYMBOL};function c(t,e,n,r){var i,s,l=t.cd,u=t.xa,c=l[0].trace,h=l[0].t,p=c.type,f=\\\"ohlc\\\"===p?\\\"l\\\":\\\"min\\\",d=\\\"ohlc\\\"===p?\\\"h\\\":\\\"max\\\",m=h.bPos||0,v=h.bdPos||h.tickLen,g=h.wHover,y=Math.min(1,v/Math.abs(u.r2c(u.range[1])-u.r2c(u.range[0])));function _(t){var n=function(t){return t.pos+m-e}(t);return o.inbox(n-g,n+g,i)}function b(t){var e=t[f],r=t[d];return e===r||o.inbox(e-n,r-n,i)}function x(t){return(_(t)+b(t))/2}i=t.maxHoverDistance-y,s=t.maxSpikeDistance-y;var w=o.getDistanceFunction(r,_,b,x);if(o.getClosest(l,w,t),!1===t.index)return null;var A=l[t.index];if(A.empty)return null;var C=c[A.dir],M=C.line.color;return a.opacity(M)&&C.line.width?t.color=M:t.color=C.fillcolor,t.x0=u.c2p(A.pos+m-v,!0),t.x1=u.c2p(A.pos+m+v,!0),t.xLabelVal=A.pos,t.spikeDistance=x(A)*s/i,t.xSpike=u.c2p(A.pos,!0),t}function h(t,e,n,o){var a=t.cd,s=t.ya,l=a[0].trace,u=a[0].t,h=[],p=c(t,e,n,o);if(!p)return[];var f=a[p.index].hi||l.hoverinfo,d=f.split(\\\"+\\\");if(\\\"all\\\"!==f&&-1===d.indexOf(\\\"y\\\"))return[];for(var m=[\\\"high\\\",\\\"open\\\",\\\"close\\\",\\\"low\\\"],v={},g=0;g<m.length;g++){var y,_=m[g],b=l[_][p.index],x=s.c2p(b,!0);b in v?(y=v[b]).yLabel+=\\\"<br>\\\"+u.labels[_]+r.hoverLabelText(s,b):((y=i.extendFlat({},p)).y0=y.y1=x,y.yLabelVal=b,y.yLabel=u.labels[_]+r.hoverLabelText(s,b),y.name=\\\"\\\",h.push(y),v[b]=y)}return h}function p(t,e,n,i){var o=t.cd,a=t.ya,l=o[0].trace,h=o[0].t,p=c(t,e,n,i);if(!p)return[];var f=o[p.index],d=p.index=f.i,m=f.dir;function v(t){return h.labels[t]+r.hoverLabelText(a,l[t][d])}var g=f.hi||l.hoverinfo,y=g.split(\\\"+\\\"),_=\\\"all\\\"===g,b=_||-1!==y.indexOf(\\\"y\\\"),x=_||-1!==y.indexOf(\\\"text\\\"),w=b?[v(\\\"open\\\"),v(\\\"high\\\"),v(\\\"low\\\"),v(\\\"close\\\")+\\\" \\\"+u[m]]:[];return x&&s(f,l,w),p.extraText=w.join(\\\"<br>\\\"),p.y0=p.y1=a.c2p(f.yc,!0),[p]}e.exports={hoverPoints:function(t,e,n,r){return t.cd[0].trace.hoverlabel.split?h(t,e,n,r):p(t,e,n,r)},hoverSplit:h,hoverOnPoints:p}},{\\\"../../components/color\\\":595,\\\"../../components/fx\\\":635,\\\"../../constants/delta.js\\\":698,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776}],1084:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"ohlc\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"showLegend\\\"],meta:{},attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\").calc,plot:t(\\\"./plot\\\"),style:t(\\\"./style\\\"),hoverPoints:t(\\\"./hover\\\").hoverPoints,selectPoints:t(\\\"./select\\\")}},{\\\"../../plots/cartesian\\\":789,\\\"./attributes\\\":1080,\\\"./calc\\\":1081,\\\"./defaults\\\":1082,\\\"./hover\\\":1083,\\\"./plot\\\":1086,\\\"./select\\\":1087,\\\"./style\\\":1088}],1085:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\");e.exports=function(t,e,n,o){var a=n(\\\"x\\\"),s=n(\\\"open\\\"),l=n(\\\"high\\\"),u=n(\\\"low\\\"),c=n(\\\"close\\\");if(n(\\\"hoverlabel.split\\\"),r.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\"],o),s&&l&&u&&c){var h=Math.min(s.length,l.length,u.length,c.length);return a&&(h=Math.min(h,i.minRowLength(a))),e._length=h,h}}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859}],1086:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\");e.exports=function(t,e,n,o){var a=e.yaxis,s=e.xaxis,l=!!s.rangebreaks;i.makeTraceGroups(o,n,\\\"trace ohlc\\\").each((function(t){var e=r.select(this),n=t[0],o=n.t;if(!0!==n.trace.visible||o.empty)e.remove();else{var u=o.tickLen,c=e.selectAll(\\\"path\\\").data(i.identity);c.enter().append(\\\"path\\\"),c.exit().remove(),c.attr(\\\"d\\\",(function(t){if(t.empty)return\\\"M0,0Z\\\";var e=s.c2p(t.pos-u,!0),n=s.c2p(t.pos+u,!0),r=l?(e+n)/2:s.c2p(t.pos,!0);return\\\"M\\\"+e+\\\",\\\"+a.c2p(t.o,!0)+\\\"H\\\"+r+\\\"M\\\"+r+\\\",\\\"+a.c2p(t.h,!0)+\\\"V\\\"+a.c2p(t.l,!0)+\\\"M\\\"+n+\\\",\\\"+a.c2p(t.c,!0)+\\\"H\\\"+r}))}}))}},{\\\"../../lib\\\":728,d3:164}],1087:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n,r=t.cd,i=t.xaxis,o=t.yaxis,a=[],s=r[0].t.bPos||0;if(!1===e)for(n=0;n<r.length;n++)r[n].selected=0;else for(n=0;n<r.length;n++){var l=r[n];e.contains([i.c2p(l.pos+s),o.c2p(l.yc)],null,l.i,t)?(a.push({pointNumber:l.i,x:i.c2d(l.pos),y:o.c2d(l.yc)}),l.selected=1):l.selected=0}return a}},{}],1088:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/drawing\\\"),o=t(\\\"../../components/color\\\");e.exports=function(t,e,n){var a=n||r.select(t).selectAll(\\\"g.ohlclayer\\\").selectAll(\\\"g.trace\\\");a.style(\\\"opacity\\\",(function(t){return t[0].trace.opacity})),a.each((function(t){var e=t[0].trace;r.select(this).selectAll(\\\"path\\\").each((function(t){if(!t.empty){var n=e[t.dir].line;r.select(this).style(\\\"fill\\\",\\\"none\\\").call(o.stroke,n.color).call(i.dashLine,n.dash,n.width).style(\\\"opacity\\\",e.selectedpoints&&!t.selected?.3:1)}}))}))}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,d3:164}],1089:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib/extend\\\").extendFlat,i=t(\\\"../../plots/attributes\\\"),o=t(\\\"../../plots/font_attributes\\\"),a=t(\\\"../../components/colorscale/attributes\\\"),s=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,l=t(\\\"../../plots/domain\\\").attributes,u=r({editType:\\\"calc\\\"},a(\\\"line\\\",{editTypeOverride:\\\"calc\\\"}),{shape:{valType:\\\"enumerated\\\",values:[\\\"linear\\\",\\\"hspline\\\"],dflt:\\\"linear\\\",editType:\\\"plot\\\"},hovertemplate:s({editType:\\\"plot\\\",arrayOk:!1},{keys:[\\\"count\\\",\\\"probability\\\"]})});e.exports={domain:l({name:\\\"parcats\\\",trace:!0,editType:\\\"calc\\\"}),hoverinfo:r({},i.hoverinfo,{flags:[\\\"count\\\",\\\"probability\\\"],editType:\\\"plot\\\",arrayOk:!1}),hoveron:{valType:\\\"enumerated\\\",values:[\\\"category\\\",\\\"color\\\",\\\"dimension\\\"],dflt:\\\"category\\\",editType:\\\"plot\\\"},hovertemplate:s({editType:\\\"plot\\\",arrayOk:!1},{keys:[\\\"count\\\",\\\"probability\\\",\\\"category\\\",\\\"categorycount\\\",\\\"colorcount\\\",\\\"bandcolorcount\\\"]}),arrangement:{valType:\\\"enumerated\\\",values:[\\\"perpendicular\\\",\\\"freeform\\\",\\\"fixed\\\"],dflt:\\\"perpendicular\\\",editType:\\\"plot\\\"},bundlecolors:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},sortpaths:{valType:\\\"enumerated\\\",values:[\\\"forward\\\",\\\"backward\\\"],dflt:\\\"forward\\\",editType:\\\"plot\\\"},labelfont:o({editType:\\\"calc\\\"}),tickfont:o({editType:\\\"calc\\\"}),dimensions:{_isLinkedToArray:\\\"dimension\\\",label:{valType:\\\"string\\\",editType:\\\"calc\\\"},categoryorder:{valType:\\\"enumerated\\\",values:[\\\"trace\\\",\\\"category ascending\\\",\\\"category descending\\\",\\\"array\\\"],dflt:\\\"trace\\\",editType:\\\"calc\\\"},categoryarray:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},ticktext:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},values:{valType:\\\"data_array\\\",dflt:[],editType:\\\"calc\\\"},displayindex:{valType:\\\"integer\\\",editType:\\\"calc\\\"},editType:\\\"calc\\\",visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"}},line:u,counts:{valType:\\\"number\\\",min:0,dflt:1,arrayOk:!0,editType:\\\"calc\\\"},customdata:void 0,hoverlabel:void 0,ids:void 0,legendgroup:void 0,opacity:void 0,selectedpoints:void 0,showlegend:void 0}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/domain\\\":803,\\\"../../plots/font_attributes\\\":804,\\\"../../plots/template_attributes\\\":854}],1090:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/get_data\\\").getModuleCalcData,i=t(\\\"./plot\\\"),o=\\\"parcats\\\";n.name=o,n.plot=function(t,e,n,a){var s=r(t.calcdata,o);if(s.length){var l=s[0];i(t,l,n,a)}},n.clean=function(t,e,n,r){var i=r._has&&r._has(\\\"parcats\\\"),o=e._has&&e._has(\\\"parcats\\\");i&&!o&&r._paperdiv.selectAll(\\\".parcats\\\").remove()}},{\\\"../../plots/get_data\\\":813,\\\"./plot\\\":1095}],1091:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib/gup\\\").wrap,i=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,o=t(\\\"../../components/colorscale/calc\\\"),a=t(\\\"../../lib/filter_unique.js\\\"),s=t(\\\"../../components/drawing\\\"),l=t(\\\"../../lib\\\"),u=t(\\\"fast-isnumeric\\\");function c(t,e,n){t.valueInds.push(e),t.count+=n}function h(t,e,n){return{categoryInds:t,color:e,rawColor:n,valueInds:[],count:0}}function p(t,e,n){t.valueInds.push(e),t.count+=n}function f(t){var e;if(function(t){for(var e=new Array(t.length),n=0;n<t.length;n++){if(t[n]<0||t[n]>=t.length)return!1;if(void 0!==e[t[n]])return!1;e[t[n]]=!0}return!0}(t.map((function(t){return t.displayindex}))))for(e=0;e<t.length;e++)t[e]._displayindex=t[e].displayindex;else for(e=0;e<t.length;e++)t[e]._displayindex=e}e.exports=function(t,e){var n=l.filterVisible(e.dimensions);if(0===n.length)return[];var d,m,v,g=n.map((function(t){var e;if(\\\"trace\\\"===t.categoryorder)e=null;else if(\\\"array\\\"===t.categoryorder)e=t.categoryarray;else{e=a(t.values);for(var n=!0,r=0;r<e.length;r++)if(!u(e[r])){n=!1;break}e.sort(n?l.sorterAsc:void 0),\\\"category descending\\\"===t.categoryorder&&(e=e.reverse())}return function(t,e){e=null==e?[]:e.map((function(t){return t}));var n={},r={},i=[];e.forEach((function(t,e){n[t]=0,r[t]=e}));for(var o=0;o<t.length;o++){var a,s=t[o];void 0===n[s]?(n[s]=1,a=e.push(s)-1,r[s]=a):(n[s]++,a=r[s]),i.push(a)}var l=e.map((function(t){return n[t]}));return{uniqueValues:e,uniqueCounts:l,inds:i}}(t.values,e)}));d=l.isArrayOrTypedArray(e.counts)?e.counts:[e.counts],f(n),n.forEach((function(t,e){!function(t,e){t._categoryarray=e.uniqueValues,null===t.ticktext||void 0===t.ticktext?t._ticktext=[]:t._ticktext=t.ticktext.slice();for(var n=t._ticktext.length;n<e.uniqueValues.length;n++)t._ticktext.push(e.uniqueValues[n])}(t,g[e])}));var y,_=e.line;_?(i(e,\\\"line\\\")&&o(t,e,{vals:e.line.color,containerStr:\\\"line\\\",cLetter:\\\"c\\\"}),y=s.tryColorscale(_)):y=l.identity;var b,x,w,A,C,M=n[0].values.length,E={},T=g.map((function(t){return t.inds}));for(v=0,b=0;b<M;b++){var S=[];for(x=0;x<T.length;x++)S.push(T[x][b]);m=d[b%d.length],v+=m;var k=(w=b,A=void 0,C=void 0,l.isArrayOrTypedArray(_.color)?C=A=_.color[w%_.color.length]:A=_.color,{color:y(A),rawColor:C}),O=S+\\\"-\\\"+k.rawColor;void 0===E[O]&&(E[O]=h(S,k.color,k.rawColor)),p(E[O],b,m)}var I,L=n.map((function(t,e){return function(t,e,n,r,i){return{dimensionInd:t,containerInd:e,displayInd:n,dimensionLabel:r,count:i,categories:[],dragX:null}}(e,t._index,t._displayindex,t.label,v)}));for(b=0;b<M;b++)for(m=d[b%d.length],x=0;x<L.length;x++){var P=L[x].containerInd,z=g[x].inds[b],R=L[x].categories;if(void 0===R[z]){var D=e.dimensions[P]._categoryarray[z],$=e.dimensions[P]._ticktext[z];R[z]={dimensionInd:x,categoryInd:I=z,categoryValue:D,displayInd:I,categoryLabel:$,valueInds:[],count:0,dragY:null}}c(R[z],b,m)}return r(function(t,e,n){var r=t.map((function(t){return t.categories.length})).reduce((function(t,e){return Math.max(t,e)}));return{dimensions:t,paths:e,trace:void 0,maxCats:r,count:n}}(L,E,v))}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../components/colorscale/helpers\\\":606,\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/filter_unique.js\\\":720,\\\"../../lib/gup\\\":726,\\\"fast-isnumeric\\\":236}],1092:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,o=t(\\\"../../components/colorscale/defaults\\\"),a=t(\\\"../../plots/domain\\\").defaults,s=t(\\\"../../plots/array_container_defaults\\\"),l=t(\\\"./attributes\\\"),u=t(\\\"../parcoords/merge_length\\\");function c(t,e){function n(n,i){return r.coerce(t,e,l.dimensions,n,i)}var i=n(\\\"values\\\"),o=n(\\\"visible\\\");if(i&&i.length||(o=e.visible=!1),o){n(\\\"label\\\"),n(\\\"displayindex\\\",e._index);var a,s=t.categoryarray,u=Array.isArray(s)&&s.length>0;u&&(a=\\\"array\\\");var c=n(\\\"categoryorder\\\",a);\\\"array\\\"===c?(n(\\\"categoryarray\\\"),n(\\\"ticktext\\\")):(delete t.categoryarray,delete t.ticktext),u||\\\"array\\\"!==c||(e.categoryorder=\\\"trace\\\")}}e.exports=function(t,e,n,h){function p(n,i){return r.coerce(t,e,l,n,i)}var f=s(t,e,{name:\\\"dimensions\\\",handleItemDefaults:c}),d=function(t,e,n,a,s){s(\\\"line.shape\\\"),s(\\\"line.hovertemplate\\\");var l=s(\\\"line.color\\\",a.colorway[0]);if(i(t,\\\"line\\\")&&r.isArrayOrTypedArray(l)){if(l.length)return s(\\\"line.colorscale\\\"),o(t,e,a,s,{prefix:\\\"line.\\\",cLetter:\\\"c\\\"}),l.length;e.line.color=n}return 1/0}(t,e,n,h,p);a(e,h,p),Array.isArray(f)&&f.length||(e.visible=!1),u(e,f,\\\"values\\\",d),p(\\\"hoveron\\\"),p(\\\"hovertemplate\\\"),p(\\\"arrangement\\\"),p(\\\"bundlecolors\\\"),p(\\\"sortpaths\\\"),p(\\\"counts\\\");var m={family:h.font.family,size:Math.round(h.font.size),color:h.font.color};r.coerceFont(p,\\\"labelfont\\\",m);var v={family:h.font.family,size:Math.round(h.font.size/1.2),color:h.font.color};r.coerceFont(p,\\\"tickfont\\\",v)}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../components/colorscale/helpers\\\":606,\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"../../plots/domain\\\":803,\\\"../parcoords/merge_length\\\":1105,\\\"./attributes\\\":1089}],1093:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),colorbar:{container:\\\"line\\\",min:\\\"cmin\\\",max:\\\"cmax\\\"},moduleType:\\\"trace\\\",name:\\\"parcats\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[\\\"noOpacity\\\"],meta:{}}},{\\\"./attributes\\\":1089,\\\"./base_plot\\\":1090,\\\"./calc\\\":1091,\\\"./defaults\\\":1092,\\\"./plot\\\":1095}],1094:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../plot_api/plot_api\\\"),o=t(\\\"../../components/fx\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../components/drawing\\\"),l=t(\\\"tinycolor2\\\"),u=t(\\\"../../lib/svg_text_utils\\\");function c(t,e,n,i){var o=t.map(R.bind(0,e,n)),l=i.selectAll(\\\"g.parcatslayer\\\").data([null]);l.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"parcatslayer\\\").style(\\\"pointer-events\\\",\\\"all\\\");var c=l.selectAll(\\\"g.trace.parcats\\\").data(o,h),v=c.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"trace parcats\\\");c.attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.x+\\\", \\\"+t.y+\\\")\\\"})),v.append(\\\"g\\\").attr(\\\"class\\\",\\\"paths\\\");var g=c.select(\\\"g.paths\\\").selectAll(\\\"path.path\\\").data((function(t){return t.paths}),h);g.attr(\\\"fill\\\",(function(t){return t.model.color}));var b=g.enter().append(\\\"path\\\").attr(\\\"class\\\",\\\"path\\\").attr(\\\"stroke-opacity\\\",0).attr(\\\"fill\\\",(function(t){return t.model.color})).attr(\\\"fill-opacity\\\",0);_(b),g.attr(\\\"d\\\",(function(t){return t.svgD})),b.empty()||g.sort(f),g.exit().remove(),g.on(\\\"mouseover\\\",d).on(\\\"mouseout\\\",m).on(\\\"click\\\",y),v.append(\\\"g\\\").attr(\\\"class\\\",\\\"dimensions\\\");var A=c.select(\\\"g.dimensions\\\").selectAll(\\\"g.dimension\\\").data((function(t){return t.dimensions}),h);A.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"dimension\\\"),A.attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.x+\\\", 0)\\\"})),A.exit().remove();var C=A.selectAll(\\\"g.category\\\").data((function(t){return t.categories}),h),M=C.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"category\\\");C.attr(\\\"transform\\\",(function(t){return\\\"translate(0, \\\"+t.y+\\\")\\\"})),M.append(\\\"rect\\\").attr(\\\"class\\\",\\\"catrect\\\").attr(\\\"pointer-events\\\",\\\"none\\\"),C.select(\\\"rect.catrect\\\").attr(\\\"fill\\\",\\\"none\\\").attr(\\\"width\\\",(function(t){return t.width})).attr(\\\"height\\\",(function(t){return t.height})),x(M);var E=C.selectAll(\\\"rect.bandrect\\\").data((function(t){return t.bands}),h);E.each((function(){a.raiseToTop(this)})),E.attr(\\\"fill\\\",(function(t){return t.color}));var L=E.enter().append(\\\"rect\\\").attr(\\\"class\\\",\\\"bandrect\\\").attr(\\\"stroke-opacity\\\",0).attr(\\\"fill\\\",(function(t){return t.color})).attr(\\\"fill-opacity\\\",0);E.attr(\\\"fill\\\",(function(t){return t.color})).attr(\\\"width\\\",(function(t){return t.width})).attr(\\\"height\\\",(function(t){return t.height})).attr(\\\"y\\\",(function(t){return t.y})).attr(\\\"cursor\\\",(function(t){return\\\"fixed\\\"===t.parcatsViewModel.arrangement?\\\"default\\\":\\\"perpendicular\\\"===t.parcatsViewModel.arrangement?\\\"ns-resize\\\":\\\"move\\\"})),w(L),E.exit().remove(),M.append(\\\"text\\\").attr(\\\"class\\\",\\\"catlabel\\\").attr(\\\"pointer-events\\\",\\\"none\\\");var P=e._fullLayout.paper_bgcolor;C.select(\\\"text.catlabel\\\").attr(\\\"text-anchor\\\",(function(t){return p(t)?\\\"start\\\":\\\"end\\\"})).attr(\\\"alignment-baseline\\\",\\\"middle\\\").style(\\\"text-shadow\\\",P+\\\" -1px 1px 2px, \\\"+P+\\\" 1px 1px 2px, \\\"+P+\\\" 1px -1px 2px, \\\"+P+\\\" -1px -1px 2px\\\").style(\\\"fill\\\",\\\"rgb(0, 0, 0)\\\").attr(\\\"x\\\",(function(t){return p(t)?t.width+5:-5})).attr(\\\"y\\\",(function(t){return t.height/2})).text((function(t){return t.model.categoryLabel})).each((function(t){s.font(r.select(this),t.parcatsViewModel.categorylabelfont),u.convertToTspans(r.select(this),e)})),M.append(\\\"text\\\").attr(\\\"class\\\",\\\"dimlabel\\\"),C.select(\\\"text.dimlabel\\\").attr(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"alignment-baseline\\\",\\\"baseline\\\").attr(\\\"cursor\\\",(function(t){return\\\"fixed\\\"===t.parcatsViewModel.arrangement?\\\"default\\\":\\\"ew-resize\\\"})).attr(\\\"x\\\",(function(t){return t.width/2})).attr(\\\"y\\\",-5).text((function(t,e){return 0===e?t.parcatsViewModel.model.dimensions[t.model.dimensionInd].dimensionLabel:null})).each((function(t){s.font(r.select(this),t.parcatsViewModel.labelfont)})),C.selectAll(\\\"rect.bandrect\\\").on(\\\"mouseover\\\",T).on(\\\"mouseout\\\",S),C.exit().remove(),A.call(r.behavior.drag().origin((function(t){return{x:t.x,y:0}})).on(\\\"dragstart\\\",k).on(\\\"drag\\\",O).on(\\\"dragend\\\",I)),c.each((function(t){t.traceSelection=r.select(this),t.pathSelection=r.select(this).selectAll(\\\"g.paths\\\").selectAll(\\\"path.path\\\"),t.dimensionSelection=r.select(this).selectAll(\\\"g.dimensions\\\").selectAll(\\\"g.dimension\\\")})),c.exit().remove()}function h(t){return t.key}function p(t){var e=t.parcatsViewModel.dimensions.length,n=t.parcatsViewModel.dimensions[e-1].model.dimensionInd;return t.model.dimensionInd===n}function f(t,e){return t.model.rawColor>e.model.rawColor?1:t.model.rawColor<e.model.rawColor?-1:0}function d(t){if(!t.parcatsViewModel.dragDimension&&-1===t.parcatsViewModel.hoverinfoItems.indexOf(\\\"skip\\\")){a.raiseToTop(this),b(r.select(this));var e=v(t),n=g(t);if(t.parcatsViewModel.graphDiv.emit(\\\"plotly_hover\\\",{points:e,event:r.event,constraints:n}),-1===t.parcatsViewModel.hoverinfoItems.indexOf(\\\"none\\\")){var i,s,u,c=r.mouse(this)[0],h=t.parcatsViewModel.graphDiv,p=t.parcatsViewModel.trace,f=h._fullLayout,d=f._paperdiv.node().getBoundingClientRect(),m=t.parcatsViewModel.graphDiv.getBoundingClientRect();for(u=0;u<t.leftXs.length-1;u++)if(t.leftXs[u]+t.dimWidths[u]-2<=c&&c<=t.leftXs[u+1]+2){var y=t.parcatsViewModel.dimensions[u],_=t.parcatsViewModel.dimensions[u+1];i=(y.x+y.width+_.x)/2,s=(t.topYs[u]+t.topYs[u+1]+t.height)/2;break}var x=t.parcatsViewModel.x+i,w=t.parcatsViewModel.y+s,A=l.mostReadable(t.model.color,[\\\"black\\\",\\\"white\\\"]),C=t.model.count,M=C/t.parcatsViewModel.model.count,E={countLabel:C,probabilityLabel:M.toFixed(3)},T=[];-1!==t.parcatsViewModel.hoverinfoItems.indexOf(\\\"count\\\")&&T.push([\\\"Count:\\\",E.countLabel].join(\\\" \\\")),-1!==t.parcatsViewModel.hoverinfoItems.indexOf(\\\"probability\\\")&&T.push([\\\"P:\\\",E.probabilityLabel].join(\\\" \\\"));var S=T.join(\\\"<br>\\\"),k=r.mouse(h)[0];o.loneHover({trace:p,x:x-d.left+m.left,y:w-d.top+m.top,text:S,color:t.model.color,borderColor:\\\"black\\\",fontFamily:'Monaco, \\\"Courier New\\\", monospace',fontSize:10,fontColor:A,idealAlign:k<x?\\\"right\\\":\\\"left\\\",hovertemplate:(p.line||{}).hovertemplate,hovertemplateLabels:E,eventData:[{data:p._input,fullData:p,count:C,probability:M}]},{container:f._hoverlayer.node(),outerContainer:f._paper.node(),gd:h})}}}function m(t){if(!t.parcatsViewModel.dragDimension&&(_(r.select(this)),o.loneUnhover(t.parcatsViewModel.graphDiv._fullLayout._hoverlayer.node()),t.parcatsViewModel.pathSelection.sort(f),-1===t.parcatsViewModel.hoverinfoItems.indexOf(\\\"skip\\\"))){var e=v(t),n=g(t);t.parcatsViewModel.graphDiv.emit(\\\"plotly_unhover\\\",{points:e,event:r.event,constraints:n})}}function v(t){for(var e=[],n=L(t.parcatsViewModel),r=0;r<t.model.valueInds.length;r++){var i=t.model.valueInds[r];e.push({curveNumber:n,pointNumber:i})}return e}function g(t){for(var e={},n=t.parcatsViewModel.model.dimensions,r=0;r<n.length;r++){var i=n[r],o=i.categories[t.model.categoryInds[r]];e[i.containerInd]=o.categoryValue}return void 0!==t.model.rawColor&&(e.color=t.model.rawColor),e}function y(t){if(-1===t.parcatsViewModel.hoverinfoItems.indexOf(\\\"skip\\\")){var e=v(t),n=g(t);t.parcatsViewModel.graphDiv.emit(\\\"plotly_click\\\",{points:e,event:r.event,constraints:n})}}function _(t){t.attr(\\\"fill\\\",(function(t){return t.model.color})).attr(\\\"fill-opacity\\\",.6).attr(\\\"stroke\\\",\\\"lightgray\\\").attr(\\\"stroke-width\\\",.2).attr(\\\"stroke-opacity\\\",1)}function b(t){t.attr(\\\"fill-opacity\\\",.8).attr(\\\"stroke\\\",(function(t){return l.mostReadable(t.model.color,[\\\"black\\\",\\\"white\\\"])})).attr(\\\"stroke-width\\\",.3)}function x(t){t.select(\\\"rect.catrect\\\").attr(\\\"stroke\\\",\\\"black\\\").attr(\\\"stroke-width\\\",1).attr(\\\"stroke-opacity\\\",1)}function w(t){t.attr(\\\"stroke\\\",\\\"black\\\").attr(\\\"stroke-width\\\",.2).attr(\\\"stroke-opacity\\\",1).attr(\\\"fill-opacity\\\",1)}function A(t){var e=t.parcatsViewModel.pathSelection,n=t.categoryViewModel.model.dimensionInd,r=t.categoryViewModel.model.categoryInd;return e.filter((function(e){return e.model.categoryInds[n]===r&&e.model.color===t.color}))}function C(t,e,n){var i=r.select(t).datum(),o=i.categoryViewModel.model,a=i.parcatsViewModel.graphDiv,s=r.select(t.parentNode).selectAll(\\\"rect.bandrect\\\"),l=[];s.each((function(t){A(t).each((function(t){Array.prototype.push.apply(l,v(t))}))}));var u={};u[o.dimensionInd]=o.categoryValue,a.emit(e,{points:l,event:n,constraints:u})}function M(t,e,n){var i=r.select(t).datum(),o=i.categoryViewModel.model,a=i.parcatsViewModel.graphDiv,s=A(i),l=[];s.each((function(t){Array.prototype.push.apply(l,v(t))}));var u={};u[o.dimensionInd]=o.categoryValue,void 0!==i.rawColor&&(u.color=i.rawColor),a.emit(e,{points:l,event:n,constraints:u})}function E(t,e){var n,i,o=r.select(e.parentNode).select(\\\"rect.catrect\\\"),a=o.node().getBoundingClientRect(),s=o.datum(),l=s.parcatsViewModel,u=l.model.dimensions[s.model.dimensionInd],c=l.trace,h=a.top+a.height/2;l.dimensions.length>1&&u.displayInd===l.dimensions.length-1?(n=a.left,i=\\\"left\\\"):(n=a.left+a.width,i=\\\"right\\\");var p=s.model.count,f=s.model.categoryLabel,d=p/s.parcatsViewModel.model.count,m={countLabel:p,categoryLabel:f,probabilityLabel:d.toFixed(3)},v=[];-1!==s.parcatsViewModel.hoverinfoItems.indexOf(\\\"count\\\")&&v.push([\\\"Count:\\\",m.countLabel].join(\\\" \\\")),-1!==s.parcatsViewModel.hoverinfoItems.indexOf(\\\"probability\\\")&&v.push([\\\"P(\\\"+m.categoryLabel+\\\"):\\\",m.probabilityLabel].join(\\\" \\\"));var g=v.join(\\\"<br>\\\");return{trace:c,x:n-t.left,y:h-t.top,text:g,color:\\\"lightgray\\\",borderColor:\\\"black\\\",fontFamily:'Monaco, \\\"Courier New\\\", monospace',fontSize:12,fontColor:\\\"black\\\",idealAlign:i,hovertemplate:c.hovertemplate,hovertemplateLabels:m,eventData:[{data:c._input,fullData:c,count:p,category:f,probability:d}]}}function T(t){if(!t.parcatsViewModel.dragDimension&&-1===t.parcatsViewModel.hoverinfoItems.indexOf(\\\"skip\\\")){if(r.mouse(this)[1]<-1)return;var e,n=t.parcatsViewModel.graphDiv,i=n._fullLayout,s=i._paperdiv.node().getBoundingClientRect(),u=t.parcatsViewModel.hoveron,c=this;\\\"color\\\"===u?(function(t){var e=r.select(t).datum(),n=A(e);b(n),n.each((function(){a.raiseToTop(this)})),r.select(t.parentNode).selectAll(\\\"rect.bandrect\\\").filter((function(t){return t.color===e.color})).each((function(){a.raiseToTop(this),r.select(this).attr(\\\"stroke\\\",\\\"black\\\").attr(\\\"stroke-width\\\",1.5)}))}(c),M(c,\\\"plotly_hover\\\",r.event)):(function(t){r.select(t.parentNode).selectAll(\\\"rect.bandrect\\\").each((function(t){var e=A(t);b(e),e.each((function(){a.raiseToTop(this)}))})),r.select(t.parentNode).select(\\\"rect.catrect\\\").attr(\\\"stroke\\\",\\\"black\\\").attr(\\\"stroke-width\\\",2.5)}(c),C(c,\\\"plotly_hover\\\",r.event)),-1===t.parcatsViewModel.hoverinfoItems.indexOf(\\\"none\\\")&&(\\\"category\\\"===u?e=E(s,c):\\\"color\\\"===u?e=function(t,e){var n,i,o=e.getBoundingClientRect(),a=r.select(e).datum(),s=a.categoryViewModel,u=s.parcatsViewModel,c=u.model.dimensions[s.model.dimensionInd],h=u.trace,p=o.y+o.height/2;u.dimensions.length>1&&c.displayInd===u.dimensions.length-1?(n=o.left,i=\\\"left\\\"):(n=o.left+o.width,i=\\\"right\\\");var f=s.model.categoryLabel,d=a.parcatsViewModel.model.count,m=0;a.categoryViewModel.bands.forEach((function(t){t.color===a.color&&(m+=t.count)}));var v=s.model.count,g=0;u.pathSelection.each((function(t){t.model.color===a.color&&(g+=t.model.count)}));var y=m/d,_=m/g,b=m/v,x={countLabel:d,categoryLabel:f,probabilityLabel:y.toFixed(3)},w=[];-1!==s.parcatsViewModel.hoverinfoItems.indexOf(\\\"count\\\")&&w.push([\\\"Count:\\\",x.countLabel].join(\\\" \\\")),-1!==s.parcatsViewModel.hoverinfoItems.indexOf(\\\"probability\\\")&&(w.push(\\\"P(color ∩ \\\"+f+\\\"): \\\"+x.probabilityLabel),w.push(\\\"P(\\\"+f+\\\" | color): \\\"+_.toFixed(3)),w.push(\\\"P(color | \\\"+f+\\\"): \\\"+b.toFixed(3)));var A=w.join(\\\"<br>\\\"),C=l.mostReadable(a.color,[\\\"black\\\",\\\"white\\\"]);return{trace:h,x:n-t.left,y:p-t.top,text:A,color:a.color,borderColor:\\\"black\\\",fontFamily:'Monaco, \\\"Courier New\\\", monospace',fontColor:C,fontSize:10,idealAlign:i,hovertemplate:h.hovertemplate,hovertemplateLabels:x,eventData:[{data:h._input,fullData:h,category:f,count:d,probability:y,categorycount:v,colorcount:g,bandcolorcount:m}]}}(s,c):\\\"dimension\\\"===u&&(e=function(t,e){var n=[];return r.select(e.parentNode.parentNode).selectAll(\\\"g.category\\\").select(\\\"rect.catrect\\\").each((function(){n.push(E(t,this))})),n}(s,c)),e&&o.loneHover(e,{container:i._hoverlayer.node(),outerContainer:i._paper.node(),gd:n}))}}function S(t){var e=t.parcatsViewModel;e.dragDimension||(_(e.pathSelection),x(e.dimensionSelection.selectAll(\\\"g.category\\\")),w(e.dimensionSelection.selectAll(\\\"g.category\\\").selectAll(\\\"rect.bandrect\\\")),o.loneUnhover(e.graphDiv._fullLayout._hoverlayer.node()),e.pathSelection.sort(f),-1!==e.hoverinfoItems.indexOf(\\\"skip\\\"))||(\\\"color\\\"===t.parcatsViewModel.hoveron?M(this,\\\"plotly_unhover\\\",r.event):C(this,\\\"plotly_unhover\\\",r.event))}function k(t){\\\"fixed\\\"!==t.parcatsViewModel.arrangement&&(t.dragDimensionDisplayInd=t.model.displayInd,t.initialDragDimensionDisplayInds=t.parcatsViewModel.model.dimensions.map((function(t){return t.displayInd})),t.dragHasMoved=!1,t.dragCategoryDisplayInd=null,r.select(this).selectAll(\\\"g.category\\\").select(\\\"rect.catrect\\\").each((function(e){var n=r.mouse(this)[0],i=r.mouse(this)[1];-2<=n&&n<=e.width+2&&-2<=i&&i<=e.height+2&&(t.dragCategoryDisplayInd=e.model.displayInd,t.initialDragCategoryDisplayInds=t.model.categories.map((function(t){return t.displayInd})),e.model.dragY=e.y,a.raiseToTop(this.parentNode),r.select(this.parentNode).selectAll(\\\"rect.bandrect\\\").each((function(e){e.y<i&&i<=e.y+e.height&&(t.potentialClickBand=this)})))})),t.parcatsViewModel.dragDimension=t,o.loneUnhover(t.parcatsViewModel.graphDiv._fullLayout._hoverlayer.node()))}function O(t){if(\\\"fixed\\\"!==t.parcatsViewModel.arrangement&&(t.dragHasMoved=!0,null!==t.dragDimensionDisplayInd)){var e=t.dragDimensionDisplayInd,n=e-1,i=e+1,o=t.parcatsViewModel.dimensions[e];if(null!==t.dragCategoryDisplayInd){var a=o.categories[t.dragCategoryDisplayInd];a.model.dragY+=r.event.dy;var s=a.model.dragY,l=a.model.displayInd,u=o.categories,c=u[l-1],h=u[l+1];void 0!==c&&s<c.y+c.height/2&&(a.model.displayInd=c.model.displayInd,c.model.displayInd=l),void 0!==h&&s+a.height>h.y+h.height/2&&(a.model.displayInd=h.model.displayInd,h.model.displayInd=l),t.dragCategoryDisplayInd=a.model.displayInd}if(null===t.dragCategoryDisplayInd||\\\"freeform\\\"===t.parcatsViewModel.arrangement){o.model.dragX=r.event.x;var p=t.parcatsViewModel.dimensions[n],f=t.parcatsViewModel.dimensions[i];void 0!==p&&o.model.dragX<p.x+p.width&&(o.model.displayInd=p.model.displayInd,p.model.displayInd=e),void 0!==f&&o.model.dragX+o.width>f.x&&(o.model.displayInd=f.model.displayInd,f.model.displayInd=t.dragDimensionDisplayInd),t.dragDimensionDisplayInd=o.model.displayInd}B(t.parcatsViewModel),$(t.parcatsViewModel),z(t.parcatsViewModel),P(t.parcatsViewModel)}}function I(t){if(\\\"fixed\\\"!==t.parcatsViewModel.arrangement&&null!==t.dragDimensionDisplayInd){r.select(this).selectAll(\\\"text\\\").attr(\\\"font-weight\\\",\\\"normal\\\");var e={},n=L(t.parcatsViewModel),o=t.parcatsViewModel.model.dimensions.map((function(t){return t.displayInd})),a=t.initialDragDimensionDisplayInds.some((function(t,e){return t!==o[e]}));a&&o.forEach((function(n,r){var i=t.parcatsViewModel.model.dimensions[r].containerInd;e[\\\"dimensions[\\\"+i+\\\"].displayindex\\\"]=n}));var s=!1;if(null!==t.dragCategoryDisplayInd){var l=t.model.categories.map((function(t){return t.displayInd}));if(s=t.initialDragCategoryDisplayInds.some((function(t,e){return t!==l[e]}))){var u=t.model.categories.slice().sort((function(t,e){return t.displayInd-e.displayInd})),c=u.map((function(t){return t.categoryValue})),h=u.map((function(t){return t.categoryLabel}));e[\\\"dimensions[\\\"+t.model.containerInd+\\\"].categoryarray\\\"]=[c],e[\\\"dimensions[\\\"+t.model.containerInd+\\\"].ticktext\\\"]=[h],e[\\\"dimensions[\\\"+t.model.containerInd+\\\"].categoryorder\\\"]=\\\"array\\\"}}-1===t.parcatsViewModel.hoverinfoItems.indexOf(\\\"skip\\\")&&!t.dragHasMoved&&t.potentialClickBand&&(\\\"color\\\"===t.parcatsViewModel.hoveron?M(t.potentialClickBand,\\\"plotly_click\\\",r.event.sourceEvent):C(t.potentialClickBand,\\\"plotly_click\\\",r.event.sourceEvent)),t.model.dragX=null,null!==t.dragCategoryDisplayInd&&(t.parcatsViewModel.dimensions[t.dragDimensionDisplayInd].categories[t.dragCategoryDisplayInd].model.dragY=null,t.dragCategoryDisplayInd=null),t.dragDimensionDisplayInd=null,t.parcatsViewModel.dragDimension=null,t.dragHasMoved=null,t.potentialClickBand=null,B(t.parcatsViewModel),$(t.parcatsViewModel),r.transition().duration(300).ease(\\\"cubic-in-out\\\").each((function(){z(t.parcatsViewModel,!0),P(t.parcatsViewModel,!0)})).each(\\\"end\\\",(function(){(a||s)&&i.restyle(t.parcatsViewModel.graphDiv,e,[n])}))}}function L(t){for(var e,n=t.graphDiv._fullData,r=0;r<n.length;r++)if(t.key===n[r].uid){e=r;break}return e}function P(t,e){var n;void 0===e&&(e=!1),t.pathSelection.data((function(t){return t.paths}),h),(n=t.pathSelection,e?n.transition():n).attr(\\\"d\\\",(function(t){return t.svgD}))}function z(t,e){function n(t){return e?t.transition():t}void 0===e&&(e=!1),t.dimensionSelection.data((function(t){return t.dimensions}),h);var i=t.dimensionSelection.selectAll(\\\"g.category\\\").data((function(t){return t.categories}),h);n(t.dimensionSelection).attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.x+\\\", 0)\\\"})),n(i).attr(\\\"transform\\\",(function(t){return\\\"translate(0, \\\"+t.y+\\\")\\\"})),i.select(\\\".dimlabel\\\").text((function(t,e){return 0===e?t.parcatsViewModel.model.dimensions[t.model.dimensionInd].dimensionLabel:null})),i.select(\\\".catlabel\\\").attr(\\\"text-anchor\\\",(function(t){return p(t)?\\\"start\\\":\\\"end\\\"})).attr(\\\"x\\\",(function(t){return p(t)?t.width+5:-5})).each((function(t){var e,n;p(t)?(e=t.width+5,n=\\\"start\\\"):(e=-5,n=\\\"end\\\"),r.select(this).selectAll(\\\"tspan\\\").attr(\\\"x\\\",e).attr(\\\"text-anchor\\\",n)}));var o=i.selectAll(\\\"rect.bandrect\\\").data((function(t){return t.bands}),h),s=o.enter().append(\\\"rect\\\").attr(\\\"class\\\",\\\"bandrect\\\").attr(\\\"cursor\\\",\\\"move\\\").attr(\\\"stroke-opacity\\\",0).attr(\\\"fill\\\",(function(t){return t.color})).attr(\\\"fill-opacity\\\",0);o.attr(\\\"fill\\\",(function(t){return t.color})).attr(\\\"width\\\",(function(t){return t.width})).attr(\\\"height\\\",(function(t){return t.height})).attr(\\\"y\\\",(function(t){return t.y})),w(s),o.each((function(){a.raiseToTop(this)})),o.exit().remove()}function R(t,e,n){var r,i=n[0],o=e.margin||{l:80,r:80,t:100,b:80},a=i.trace,s=a.domain,l=e.width,u=e.height,c=Math.floor(l*(s.x[1]-s.x[0])),h=Math.floor(u*(s.y[1]-s.y[0])),p=s.x[0]*l+o.l,f=e.height-s.y[1]*e.height+o.t,d=a.line.shape;r=\\\"all\\\"===a.hoverinfo?[\\\"count\\\",\\\"probability\\\"]:(a.hoverinfo||\\\"\\\").split(\\\"+\\\");var m={trace:a,key:a.uid,model:i,x:p,y:f,width:c,height:h,hoveron:a.hoveron,hoverinfoItems:r,arrangement:a.arrangement,bundlecolors:a.bundlecolors,sortpaths:a.sortpaths,labelfont:a.labelfont,categorylabelfont:a.tickfont,pathShape:d,dragDimension:null,margin:o,paths:[],dimensions:[],graphDiv:t,traceSelection:null,pathSelection:null,dimensionSelection:null};return i.dimensions&&(B(m),$(m)),m}function D(t,e,n,i,o){var a,s,l=[],u=[];for(s=0;s<n.length-1;s++)a=r.interpolateNumber(n[s]+t[s],t[s+1]),l.push(a(o)),u.push(a(1-o));var c=\\\"M \\\"+t[0]+\\\",\\\"+e[0];for(c+=\\\"l\\\"+n[0]+\\\",0 \\\",s=1;s<n.length;s++)c+=\\\"C\\\"+l[s-1]+\\\",\\\"+e[s-1]+\\\" \\\"+u[s-1]+\\\",\\\"+e[s]+\\\" \\\"+t[s]+\\\",\\\"+e[s],c+=\\\"l\\\"+n[s]+\\\",0 \\\";for(c+=\\\"l0,\\\"+i+\\\" \\\",c+=\\\"l -\\\"+n[n.length-1]+\\\",0 \\\",s=n.length-2;s>=0;s--)c+=\\\"C\\\"+u[s]+\\\",\\\"+(e[s+1]+i)+\\\" \\\"+l[s]+\\\",\\\"+(e[s]+i)+\\\" \\\"+(t[s]+n[s])+\\\",\\\"+(e[s]+i),c+=\\\"l-\\\"+n[s]+\\\",0 \\\";return c+\\\"Z\\\"}function $(t){var e=t.dimensions,n=t.model,r=e.map((function(t){return t.categories.map((function(t){return t.y}))})),i=t.model.dimensions.map((function(t){return t.categories.map((function(t){return t.displayInd}))})),o=t.model.dimensions.map((function(t){return t.displayInd})),a=t.dimensions.map((function(t){return t.model.dimensionInd})),s=e.map((function(t){return t.x})),l=e.map((function(t){return t.width})),u=[];for(var c in n.paths)n.paths.hasOwnProperty(c)&&u.push(n.paths[c]);function h(t){var e=t.categoryInds.map((function(t,e){return i[e][t]}));return a.map((function(t){return e[t]}))}u.sort((function(e,n){var r=h(e),i=h(n);return\\\"backward\\\"===t.sortpaths&&(r.reverse(),i.reverse()),r.push(e.valueInds[0]),i.push(n.valueInds[0]),t.bundlecolors&&(r.unshift(e.rawColor),i.unshift(n.rawColor)),r<i?-1:r>i?1:0}));for(var p=new Array(u.length),f=e[0].model.count,d=e[0].categories.map((function(t){return t.height})).reduce((function(t,e){return t+e})),m=0;m<u.length;m++){var v,g=u[m];v=f>0?d*(g.count/f):0;for(var y,_=new Array(r.length),b=0;b<g.categoryInds.length;b++){var x=g.categoryInds[b],w=i[b][x],A=o[b];_[A]=r[A][w],r[A][w]+=v;var C=t.dimensions[A].categories[w],M=C.bands.length,E=C.bands[M-1];if(void 0===E||g.rawColor!==E.rawColor){var T=void 0===E?0:E.y+E.height;C.bands.push({key:T,color:g.color,rawColor:g.rawColor,height:v,width:C.width,count:g.count,y:T,categoryViewModel:C,parcatsViewModel:t})}else{var S=C.bands[M-1];S.height+=v,S.count+=g.count}}y=\\\"hspline\\\"===t.pathShape?D(s,_,l,v,.5):D(s,_,l,v,0),p[m]={key:g.valueInds[0],model:g,height:v,leftXs:s,topYs:_,dimWidths:l,svgD:y,parcatsViewModel:t}}t.paths=p}function B(t){var e=t.model.dimensions.map((function(t){return{displayInd:t.displayInd,dimensionInd:t.dimensionInd}}));e.sort((function(t,e){return t.displayInd-e.displayInd}));var n=[];for(var r in e){var i=e[r].dimensionInd,o=t.model.dimensions[i];n.push(N(t,o))}t.dimensions=n}function N(t,e){var n,r=t.model.dimensions.length,i=e.displayInd;n=40+(r>1?(t.width-80-16)/(r-1):0)*i;var o,a,s,l,u,c=[],h=t.model.maxCats,p=e.categories.length,f=e.count,d=t.height-8*(h-1),m=8*(h-p)/2,v=e.categories.map((function(t){return{displayInd:t.displayInd,categoryInd:t.categoryInd}}));for(v.sort((function(t,e){return t.displayInd-e.displayInd})),u=0;u<p;u++)l=v[u].categoryInd,a=e.categories[l],o=f>0?a.count/f*d:0,s={key:a.valueInds[0],model:a,width:16,height:o,y:null!==a.dragY?a.dragY:m,bands:[],parcatsViewModel:t},m=m+o+8,c.push(s);return{key:e.dimensionInd,x:null!==e.dragX?e.dragX:n,y:0,width:16,model:e,categories:c,parcatsViewModel:t,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}e.exports=function(t,e,n,r){c(n,t,r,e)}},{\\\"../../components/drawing\\\":617,\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plot_api/plot_api\\\":763,d3:164,tinycolor2:528}],1095:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./parcats\\\");e.exports=function(t,e,n,i){var o=t._fullLayout,a=o._paper,s=o._size;r(t,a,e,{width:s.w,height:s.h,margin:{t:s.t,r:s.r,b:s.b,l:s.l}},n,i)}},{\\\"./parcats\\\":1094}],1096:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/attributes\\\"),i=t(\\\"../../plots/cartesian/layout_attributes\\\"),o=t(\\\"../../plots/font_attributes\\\"),a=t(\\\"../../plots/domain\\\").attributes,s=t(\\\"../../lib/extend\\\").extendFlat,l=t(\\\"../../plot_api/plot_template\\\").templatedArray;e.exports={domain:a({name:\\\"parcoords\\\",trace:!0,editType:\\\"plot\\\"}),labelangle:{valType:\\\"angle\\\",dflt:0,editType:\\\"plot\\\"},labelside:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"bottom\\\"],dflt:\\\"top\\\",editType:\\\"plot\\\"},labelfont:o({editType:\\\"plot\\\"}),tickfont:o({editType:\\\"plot\\\"}),rangefont:o({editType:\\\"plot\\\"}),dimensions:l(\\\"dimension\\\",{label:{valType:\\\"string\\\",editType:\\\"plot\\\"},tickvals:s({},i.tickvals,{editType:\\\"plot\\\"}),ticktext:s({},i.ticktext,{editType:\\\"plot\\\"}),tickformat:s({},i.tickformat,{editType:\\\"plot\\\"}),visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},range:{valType:\\\"info_array\\\",items:[{valType:\\\"number\\\",editType:\\\"plot\\\"},{valType:\\\"number\\\",editType:\\\"plot\\\"}],editType:\\\"plot\\\"},constraintrange:{valType:\\\"info_array\\\",freeLength:!0,dimensions:\\\"1-2\\\",items:[{valType:\\\"number\\\",editType:\\\"plot\\\"},{valType:\\\"number\\\",editType:\\\"plot\\\"}],editType:\\\"plot\\\"},multiselect:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},values:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},editType:\\\"calc\\\"}),line:s({editType:\\\"calc\\\"},r(\\\"line\\\",{colorscaleDflt:\\\"Viridis\\\",autoColorDflt:!1,editTypeOverride:\\\"calc\\\"}))}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/layout_attributes\\\":790,\\\"../../plots/domain\\\":803,\\\"../../plots/font_attributes\\\":804}],1097:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\"),i=t(\\\"d3\\\"),o=t(\\\"../../lib/gup\\\").keyFun,a=t(\\\"../../lib/gup\\\").repeat,s=t(\\\"../../lib\\\").sorterAsc,l=r.bar.snapRatio;function u(t,e){return t*(1-l)+e*l}var c=r.bar.snapClose;function h(t,e){return t*(1-c)+e*c}function p(t,e,n,r){if(function(t,e){for(var n=0;n<e.length;n++)if(t>=e[n][0]&&t<=e[n][1])return!0;return!1}(n,r))return n;var i=t?-1:1,o=0,a=e.length-1;if(i<0){var s=o;o=a,a=s}for(var l=e[o],c=l,p=o;i*p<i*a;p+=i){var f=p+i,d=e[f];if(i*n<i*h(l,d))return u(l,c);if(i*n<i*d||f===a)return u(d,l);c=l,l=d}}function f(t){t.attr(\\\"x\\\",-r.bar.captureWidth/2).attr(\\\"width\\\",r.bar.captureWidth)}function d(t){t.attr(\\\"visibility\\\",\\\"visible\\\").style(\\\"visibility\\\",\\\"visible\\\").attr(\\\"fill\\\",\\\"yellow\\\").attr(\\\"opacity\\\",0)}function m(t){if(!t.brush.filterSpecified)return\\\"0,\\\"+t.height;for(var e,n,r,i=v(t.brush.filter.getConsolidated(),t.height),o=[0],a=i.length?i[0][0]:null,s=0;s<i.length;s++)n=(e=i[s])[1]-e[0],o.push(a),o.push(n),(r=s+1)<i.length&&(a=i[r][0]-e[1]);return o.push(t.height),o}function v(t,e){return t.map((function(t){return t.map((function(t){return Math.max(0,t*e)})).sort(s)}))}function g(){i.select(document.body).style(\\\"cursor\\\",null)}function y(t){t.attr(\\\"stroke-dasharray\\\",m)}function _(t,e){var n=i.select(t).selectAll(\\\".highlight, .highlight-shadow\\\");y(e?n.transition().duration(r.bar.snapDuration).each(\\\"end\\\",e):n)}function b(t,e){var n,i=t.brush,o=NaN,a={};if(i.filterSpecified){var s=t.height,l=i.filter.getConsolidated(),u=v(l,s),c=NaN,h=NaN,p=NaN;for(n=0;n<=u.length;n++){var f=u[n];if(f&&f[0]<=e&&e<=f[1]){c=n;break}if(h=n?n-1:NaN,f&&f[0]>e){p=n;break}}if(o=c,isNaN(o)&&(o=isNaN(h)||isNaN(p)?isNaN(h)?p:h:e-u[h][1]<u[p][0]-e?h:p),!isNaN(o)){var d=u[o],m=function(t,e){var n=r.bar.handleHeight;if(!(e>t[1]+n||e<t[0]-n))return e>=.9*t[1]+.1*t[0]?\\\"n\\\":e<=.9*t[0]+.1*t[1]?\\\"s\\\":\\\"ns\\\"}(d,e);m&&(a.interval=l[o],a.intervalPix=d,a.region=m)}}if(t.ordinal&&!a.region){var g=t.unitTickvals,y=t.unitToPaddedPx.invert(e);for(n=0;n<g.length;n++){var _=[.25*g[Math.max(n-1,0)]+.75*g[n],.25*g[Math.min(n+1,g.length-1)]+.75*g[n]];if(y>=_[0]&&y<=_[1]){a.clickableOrdinalRange=_;break}}}return a}function x(t,e){i.event.sourceEvent.stopPropagation();var n=e.height-i.mouse(t)[1]-2*r.verticalPadding,o=e.brush.svgBrush;o.wasDragged=!0,o._dragging=!0,o.grabbingBar?o.newExtent=[n-o.grabPoint,n+o.barLength-o.grabPoint].map(e.unitToPaddedPx.invert):o.newExtent=[o.startExtent,e.unitToPaddedPx.invert(n)].sort(s),e.brush.filterSpecified=!0,o.extent=o.stayingIntervals.concat([o.newExtent]),o.brushCallback(e),_(t.parentNode)}function w(t,e){var n=b(e,e.height-i.mouse(t)[1]-2*r.verticalPadding),o=\\\"crosshair\\\";n.clickableOrdinalRange?o=\\\"pointer\\\":n.region&&(o=n.region+\\\"-resize\\\"),i.select(document.body).style(\\\"cursor\\\",o)}function A(t){t.on(\\\"mousemove\\\",(function(t){i.event.preventDefault(),t.parent.inBrushDrag||w(this,t)})).on(\\\"mouseleave\\\",(function(t){t.parent.inBrushDrag||g()})).call(i.behavior.drag().on(\\\"dragstart\\\",(function(t){!function(t,e){i.event.sourceEvent.stopPropagation();var n=e.height-i.mouse(t)[1]-2*r.verticalPadding,o=e.unitToPaddedPx.invert(n),a=e.brush,s=b(e,n),l=s.interval,u=a.svgBrush;if(u.wasDragged=!1,u.grabbingBar=\\\"ns\\\"===s.region,u.grabbingBar){var c=l.map(e.unitToPaddedPx);u.grabPoint=n-c[0]-r.verticalPadding,u.barLength=c[1]-c[0]}u.clickableOrdinalRange=s.clickableOrdinalRange,u.stayingIntervals=e.multiselect&&a.filterSpecified?a.filter.getConsolidated():[],l&&(u.stayingIntervals=u.stayingIntervals.filter((function(t){return t[0]!==l[0]&&t[1]!==l[1]}))),u.startExtent=s.region?l[\\\"s\\\"===s.region?1:0]:o,e.parent.inBrushDrag=!0,u.brushStartCallback()}(this,t)})).on(\\\"drag\\\",(function(t){x(this,t)})).on(\\\"dragend\\\",(function(t){!function(t,e){var n=e.brush,r=n.filter,o=n.svgBrush;o._dragging||(w(t,e),x(t,e),e.brush.svgBrush.wasDragged=!1),o._dragging=!1,i.event.sourceEvent.stopPropagation();var a=o.grabbingBar;if(o.grabbingBar=!1,o.grabLocation=void 0,e.parent.inBrushDrag=!1,g(),!o.wasDragged)return o.wasDragged=void 0,o.clickableOrdinalRange?n.filterSpecified&&e.multiselect?o.extent.push(o.clickableOrdinalRange):(o.extent=[o.clickableOrdinalRange],n.filterSpecified=!0):a?(o.extent=o.stayingIntervals,0===o.extent.length&&M(n)):M(n),o.brushCallback(e),_(t.parentNode),void o.brushEndCallback(n.filterSpecified?r.getConsolidated():[]);var s=function(){r.set(r.getConsolidated())};if(e.ordinal){var l=e.unitTickvals;l[l.length-1]<l[0]&&l.reverse(),o.newExtent=[p(0,l,o.newExtent[0],o.stayingIntervals),p(1,l,o.newExtent[1],o.stayingIntervals)];var u=o.newExtent[1]>o.newExtent[0];o.extent=o.stayingIntervals.concat(u?[o.newExtent]:[]),o.extent.length||M(n),o.brushCallback(e),u?_(t.parentNode,s):(s(),_(t.parentNode))}else s();o.brushEndCallback(n.filterSpecified?r.getConsolidated():[])}(this,t)})))}function C(t,e){return t[0]-e[0]}function M(t){t.filterSpecified=!1,t.svgBrush.extent=[[-1/0,1/0]]}function E(t){for(var e,n=t.slice(),r=[],i=n.shift();i;){for(e=i.slice();(i=n.shift())&&i[0]<=e[1];)e[1]=Math.max(e[1],i[1]);r.push(e)}return 1===r.length&&r[0][0]>r[0][1]&&(r=[]),r}e.exports={makeBrush:function(t,e,n,r,i,o){var a,l=function(){var t,e,n=[];return{set:function(r){1===(n=r.map((function(t){return t.slice().sort(s)})).sort(C)).length&&n[0][0]===-1/0&&n[0][1]===1/0&&(n=[[0,-1]]),t=E(n),e=n.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0])},get:function(){return n.slice()},getConsolidated:function(){return t},getBounds:function(){return e}}}();return l.set(n),{filter:l,filterSpecified:e,svgBrush:{extent:[],brushStartCallback:r,brushCallback:(a=i,function(t){var e=t.brush,n=function(t){return t.svgBrush.extent.map((function(t){return t.slice()}))}(e).slice();e.filter.set(n),a()}),brushEndCallback:o}}},ensureAxisBrush:function(t){var e=t.selectAll(\\\".\\\"+r.cn.axisBrush).data(a,o);e.enter().append(\\\"g\\\").classed(r.cn.axisBrush,!0),function(t){var e=t.selectAll(\\\".background\\\").data(a);e.enter().append(\\\"rect\\\").classed(\\\"background\\\",!0).call(f).call(d).style(\\\"pointer-events\\\",\\\"auto\\\").attr(\\\"transform\\\",\\\"translate(0 \\\"+r.verticalPadding+\\\")\\\"),e.call(A).attr(\\\"height\\\",(function(t){return t.height-r.verticalPadding}));var n=t.selectAll(\\\".highlight-shadow\\\").data(a);n.enter().append(\\\"line\\\").classed(\\\"highlight-shadow\\\",!0).attr(\\\"x\\\",-r.bar.width/2).attr(\\\"stroke-width\\\",r.bar.width+r.bar.strokeWidth).attr(\\\"stroke\\\",r.bar.strokeColor).attr(\\\"opacity\\\",r.bar.strokeOpacity).attr(\\\"stroke-linecap\\\",\\\"butt\\\"),n.attr(\\\"y1\\\",(function(t){return t.height})).call(y);var i=t.selectAll(\\\".highlight\\\").data(a);i.enter().append(\\\"line\\\").classed(\\\"highlight\\\",!0).attr(\\\"x\\\",-r.bar.width/2).attr(\\\"stroke-width\\\",r.bar.width-r.bar.strokeWidth).attr(\\\"stroke\\\",r.bar.fillColor).attr(\\\"opacity\\\",r.bar.fillOpacity).attr(\\\"stroke-linecap\\\",\\\"butt\\\"),i.attr(\\\"y1\\\",(function(t){return t.height})).call(y)}(e)},cleanRanges:function(t,e){if(Array.isArray(t[0])?(t=t.map((function(t){return t.sort(s)})),t=e.multiselect?E(t.sort(C)):[t[0]]):t=[t.sort(s)],e.tickvals){var n=e.tickvals.slice().sort(s);if(!(t=t.map((function(t){var e=[p(0,n,t[0],[]),p(1,n,t[1],[])];if(e[1]>e[0])return e})).filter((function(t){return t}))).length)return}return t.length>1?t:t[0]}}},{\\\"../../lib\\\":728,\\\"../../lib/gup\\\":726,\\\"./constants\\\":1100,d3:164}],1098:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../plots/get_data\\\").getModuleCalcData,o=t(\\\"./plot\\\"),a=t(\\\"../../constants/xmlns_namespaces\\\");n.name=\\\"parcoords\\\",n.plot=function(t){var e=i(t.calcdata,\\\"parcoords\\\")[0];e.length&&o(t,e)},n.clean=function(t,e,n,r){var i=r._has&&r._has(\\\"parcoords\\\"),o=e._has&&e._has(\\\"parcoords\\\");i&&!o&&(r._paperdiv.selectAll(\\\".parcoords\\\").remove(),r._glimages.selectAll(\\\"*\\\").remove())},n.toSVG=function(t){var e=t._fullLayout._glimages,n=r.select(t).selectAll(\\\".svg-container\\\");n.filter((function(t,e){return e===n.size()-1})).selectAll(\\\".gl-canvas-context, .gl-canvas-focus\\\").each((function(){var t=this,n=t.toDataURL(\\\"image/png\\\");e.append(\\\"svg:image\\\").attr({xmlns:a.svg,\\\"xlink:href\\\":n,preserveAspectRatio:\\\"none\\\",x:0,y:0,width:t.width,height:t.height})})),window.setTimeout((function(){r.selectAll(\\\"#filterBarPattern\\\").attr(\\\"id\\\",\\\"filterBarPattern\\\")}),60)}},{\\\"../../constants/xmlns_namespaces\\\":705,\\\"../../plots/get_data\\\":813,\\\"./plot\\\":1107,d3:164}],1099:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").isArrayOrTypedArray,i=t(\\\"../../components/colorscale\\\"),o=t(\\\"../../lib/gup\\\").wrap;e.exports=function(t,e){var n,a;return i.hasColorscale(e,\\\"line\\\")&&r(e.line.color)?(n=e.line.color,a=i.extractOpts(e.line).colorscale,i.calc(t,e,{vals:n,containerStr:\\\"line\\\",cLetter:\\\"c\\\"})):(n=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=.5;return e}(e._length),a=[[0,e.line.color],[1,e.line.color]]),o({lineColor:n,cscale:a})}},{\\\"../../components/colorscale\\\":607,\\\"../../lib\\\":728,\\\"../../lib/gup\\\":726}],1100:[function(t,e,n){\\\"use strict\\\";e.exports={maxDimensionCount:60,overdrag:45,verticalPadding:2,tickDistance:50,canvasPixelRatio:1,blockLineCount:5e3,layers:[\\\"contextLineLayer\\\",\\\"focusLineLayer\\\",\\\"pickLineLayer\\\"],axisTitleOffset:28,axisExtentOffset:10,deselectedLineColor:\\\"#777\\\",bar:{width:4,captureWidth:10,fillColor:\\\"magenta\\\",fillOpacity:1,snapDuration:150,snapRatio:.25,snapClose:.01,strokeColor:\\\"white\\\",strokeOpacity:1,strokeWidth:1,handleHeight:8,handleOpacity:1,handleOverlap:0},cn:{axisExtentText:\\\"axis-extent-text\\\",parcoordsLineLayers:\\\"parcoords-line-layers\\\",parcoordsLineLayer:\\\"parcoords-lines\\\",parcoords:\\\"parcoords\\\",parcoordsControlView:\\\"parcoords-control-view\\\",yAxis:\\\"y-axis\\\",axisOverlays:\\\"axis-overlays\\\",axis:\\\"axis\\\",axisHeading:\\\"axis-heading\\\",axisTitle:\\\"axis-title\\\",axisExtent:\\\"axis-extent\\\",axisExtentTop:\\\"axis-extent-top\\\",axisExtentTopText:\\\"axis-extent-top-text\\\",axisExtentBottom:\\\"axis-extent-bottom\\\",axisExtentBottomText:\\\"axis-extent-bottom-text\\\",axisBrush:\\\"axis-brush\\\"},id:{filterBarPattern:\\\"filter-bar-pattern\\\"}}},{}],1101:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,o=t(\\\"../../components/colorscale/defaults\\\"),a=t(\\\"../../plots/domain\\\").defaults,s=t(\\\"../../plots/array_container_defaults\\\"),l=t(\\\"../../plots/cartesian/axes\\\"),u=t(\\\"./attributes\\\"),c=t(\\\"./axisbrush\\\"),h=t(\\\"./constants\\\").maxDimensionCount,p=t(\\\"./merge_length\\\");function f(t,e,n,i){function o(n,i){return r.coerce(t,e,u.dimensions,n,i)}var a=o(\\\"values\\\"),s=o(\\\"visible\\\");if(a&&a.length||(s=e.visible=!1),s){o(\\\"label\\\"),o(\\\"tickvals\\\"),o(\\\"ticktext\\\"),o(\\\"tickformat\\\");var h=o(\\\"range\\\");e._ax={_id:\\\"y\\\",type:\\\"linear\\\",showexponent:\\\"all\\\",exponentformat:\\\"B\\\",range:h},l.setConvert(e._ax,i.layout),o(\\\"multiselect\\\");var p=o(\\\"constraintrange\\\");p&&(e.constraintrange=c.cleanRanges(p,e))}}e.exports=function(t,e,n,l){function c(n,i){return r.coerce(t,e,u,n,i)}var d=t.dimensions;Array.isArray(d)&&d.length>h&&(r.log(\\\"parcoords traces support up to \\\"+h+\\\" dimensions at the moment\\\"),d.splice(h));var m=s(t,e,{name:\\\"dimensions\\\",layout:l,handleItemDefaults:f}),v=function(t,e,n,a,s){var l=s(\\\"line.color\\\",n);if(i(t,\\\"line\\\")&&r.isArrayOrTypedArray(l)){if(l.length)return s(\\\"line.colorscale\\\"),o(t,e,a,s,{prefix:\\\"line.\\\",cLetter:\\\"c\\\"}),l.length;e.line.color=n}return 1/0}(t,e,n,l,c);a(e,l,c),Array.isArray(m)&&m.length||(e.visible=!1),p(e,m,\\\"values\\\",v);var g={family:l.font.family,size:Math.round(l.font.size/1.2),color:l.font.color};r.coerceFont(c,\\\"labelfont\\\",g),r.coerceFont(c,\\\"tickfont\\\",g),r.coerceFont(c,\\\"rangefont\\\",g),c(\\\"labelangle\\\"),c(\\\"labelside\\\")}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../components/colorscale/helpers\\\":606,\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/domain\\\":803,\\\"./attributes\\\":1096,\\\"./axisbrush\\\":1097,\\\"./constants\\\":1100,\\\"./merge_length\\\":1105}],1102:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").isTypedArray;n.convertTypedArray=function(t){return r(t)?Array.prototype.slice.call(t):t},n.isOrdinal=function(t){return!!t.tickvals},n.isVisible=function(t){return t.visible||!(\\\"visible\\\"in t)}},{\\\"../../lib\\\":728}],1103:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),colorbar:{container:\\\"line\\\",min:\\\"cmin\\\",max:\\\"cmax\\\"},moduleType:\\\"trace\\\",name:\\\"parcoords\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[\\\"gl\\\",\\\"regl\\\",\\\"noOpacity\\\",\\\"noHover\\\"],meta:{}}},{\\\"./attributes\\\":1096,\\\"./base_plot\\\":1098,\\\"./calc\\\":1099,\\\"./defaults\\\":1101,\\\"./plot\\\":1107}],1104:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"glslify\\\"),i=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvarying vec4 fragColor;\\\\n\\\\nattribute vec4 p01_04, p05_08, p09_12, p13_16,\\\\n p17_20, p21_24, p25_28, p29_32,\\\\n p33_36, p37_40, p41_44, p45_48,\\\\n p49_52, p53_56, p57_60, colors;\\\\n\\\\nuniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D,\\\\n loA, hiA, loB, hiB, loC, hiC, loD, hiD;\\\\n\\\\nuniform vec2 resolution, viewBoxPos, viewBoxSize;\\\\nuniform sampler2D mask, palette;\\\\nuniform float maskHeight;\\\\nuniform float drwLayer; // 0: context, 1: focus, 2: pick\\\\nuniform vec4 contextColor;\\\\n\\\\nbool isPick = (drwLayer > 1.5);\\\\nbool isContext = (drwLayer < 0.5);\\\\n\\\\nconst vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0);\\\\nconst vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0);\\\\n\\\\nfloat val(mat4 p, mat4 v) {\\\\n return dot(matrixCompMult(p, v) * UNITS, UNITS);\\\\n}\\\\n\\\\nfloat axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) {\\\\n float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D);\\\\n float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D);\\\\n return y1 * (1.0 - ratio) + y2 * ratio;\\\\n}\\\\n\\\\nint iMod(int a, int b) {\\\\n return a - b * (a / b);\\\\n}\\\\n\\\\nbool fOutside(float p, float lo, float hi) {\\\\n return (lo < hi) && (lo > p || p > hi);\\\\n}\\\\n\\\\nbool vOutside(vec4 p, vec4 lo, vec4 hi) {\\\\n return (\\\\n fOutside(p[0], lo[0], hi[0]) ||\\\\n fOutside(p[1], lo[1], hi[1]) ||\\\\n fOutside(p[2], lo[2], hi[2]) ||\\\\n fOutside(p[3], lo[3], hi[3])\\\\n );\\\\n}\\\\n\\\\nbool mOutside(mat4 p, mat4 lo, mat4 hi) {\\\\n return (\\\\n vOutside(p[0], lo[0], hi[0]) ||\\\\n vOutside(p[1], lo[1], hi[1]) ||\\\\n vOutside(p[2], lo[2], hi[2]) ||\\\\n vOutside(p[3], lo[3], hi[3])\\\\n );\\\\n}\\\\n\\\\nbool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) {\\\\n return mOutside(A, loA, hiA) ||\\\\n mOutside(B, loB, hiB) ||\\\\n mOutside(C, loC, hiC) ||\\\\n mOutside(D, loD, hiD);\\\\n}\\\\n\\\\nbool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) {\\\\n mat4 pnts[4];\\\\n pnts[0] = A;\\\\n pnts[1] = B;\\\\n pnts[2] = C;\\\\n pnts[3] = D;\\\\n\\\\n for(int i = 0; i < 4; ++i) {\\\\n for(int j = 0; j < 4; ++j) {\\\\n for(int k = 0; k < 4; ++k) {\\\\n if(0 == iMod(\\\\n int(255.0 * texture2D(mask,\\\\n vec2(\\\\n (float(i * 2 + j / 2) + 0.5) / 8.0,\\\\n (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight\\\\n ))[3]\\\\n ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))),\\\\n 2\\\\n )) return true;\\\\n }\\\\n }\\\\n }\\\\n return false;\\\\n}\\\\n\\\\nvec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) {\\\\n float x = 0.5 * sign(v) + 0.5;\\\\n float y = axisY(x, A, B, C, D);\\\\n float z = 1.0 - abs(v);\\\\n\\\\n z += isContext ? 0.0 : 2.0 * float(\\\\n outsideBoundingBox(A, B, C, D) ||\\\\n outsideRasterMask(A, B, C, D)\\\\n );\\\\n\\\\n return vec4(\\\\n 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0,\\\\n z,\\\\n 1.0\\\\n );\\\\n}\\\\n\\\\nvoid main() {\\\\n mat4 A = mat4(p01_04, p05_08, p09_12, p13_16);\\\\n mat4 B = mat4(p17_20, p21_24, p25_28, p29_32);\\\\n mat4 C = mat4(p33_36, p37_40, p41_44, p45_48);\\\\n mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS);\\\\n\\\\n float v = colors[3];\\\\n\\\\n gl_Position = position(isContext, v, A, B, C, D);\\\\n\\\\n fragColor =\\\\n isContext ? vec4(contextColor) :\\\\n isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5));\\\\n}\\\\n\\\"]),o=r([\\\"precision highp float;\\\\n#define GLSLIFY 1\\\\n\\\\nvarying vec4 fragColor;\\\\n\\\\nvoid main() {\\\\n gl_FragColor = fragColor;\\\\n}\\\\n\\\"]),a=t(\\\"./constants\\\").maxDimensionCount,s=t(\\\"../../lib\\\"),l=1e-6,u=2048,c=new Uint8Array(4),h=new Uint8Array(4),p={shape:[256,1],format:\\\"rgba\\\",type:\\\"uint8\\\",mag:\\\"nearest\\\",min:\\\"nearest\\\"};function f(t,e,n,r,i){var o=t._gl;o.enable(o.SCISSOR_TEST),o.scissor(e,n,r,i),t.clear({color:[0,0,0,0],depth:1})}function d(t,e,n,r,i,o){var a=o.key;n.drawCompleted||(function(t){t.read({x:0,y:0,width:1,height:1,data:c})}(t),n.drawCompleted=!0),function s(l){var u=Math.min(r,i-l*r);0===l&&(window.cancelAnimationFrame(n.currentRafs[a]),delete n.currentRafs[a],f(t,o.scissorX,o.scissorY,o.scissorWidth,o.viewBoxSize[1])),n.clearOnly||(o.count=2*u,o.offset=2*l*r,e(o),l*r+u<i&&(n.currentRafs[a]=window.requestAnimationFrame((function(){s(l+1)}))),n.drawCompleted=!1)}(0)}function m(t,e){for(var n=new Array(256),r=0;r<256;r++)n[r]=t(r/255).concat(e);return n}function v(t,e){return(t>>>8*e)%256/255}function g(t,e,n){for(var r=new Array(8*e),i=0,o=0;o<e;o++)for(var a=0;a<2;a++)for(var s=0;s<4;s++){var l=4*t+s,u=n[64*o+l];63===l&&0===a&&(u*=-1),r[i++]=u}return r}function y(t){var e=\\\"0\\\"+t;return e.substr(e.length-2)}function _(t){return t<a?\\\"p\\\"+y(t+1)+\\\"_\\\"+y(t+4):\\\"colors\\\"}function b(t,e,n,r,i,o,a,l,u,c,h,p,f){for(var d=[[],[]],m=0;m<64;m++)d[0][m]=m===i?1:0,d[1][m]=m===o?1:0;var v=t.lines.canvasOverdrag,g=t.domain,y=t.canvasWidth,_=t.canvasHeight,b=t.deselectedLines.color;return s.extendFlat({key:h,resolution:[y,_],viewBoxPos:[a+v,l],viewBoxSize:[u,c],i0:i,i1:o,dim0A:d[0].slice(0,16),dim0B:d[0].slice(16,32),dim0C:d[0].slice(32,48),dim0D:d[0].slice(48,64),dim1A:d[1].slice(0,16),dim1B:d[1].slice(16,32),dim1C:d[1].slice(32,48),dim1D:d[1].slice(48,64),drwLayer:p,contextColor:[b[0]/255,b[1]/255,b[2]/255,b[3]<1?b[3]:Math.max(1/255,Math.pow(1/t.lines.color.length,1/3))],scissorX:(r===e?0:a+v)+(t.pad.l-v)+t.layoutWidth*g.x[0],scissorWidth:(r===n?y-a+v:u+.5)+(r===e?a+v:0),scissorY:l+t.pad.b+t.layoutHeight*g.y[0],scissorHeight:c,viewportX:t.pad.l-v+t.layoutWidth*g.x[0],viewportY:t.pad.b+t.layoutHeight*g.y[0],viewportWidth:y,viewportHeight:_},f)}function x(t){var e=2047,n=Math.max(0,Math.floor(t[0]*e),0),r=Math.min(e,Math.ceil(t[1]*e),e);return[Math.min(n,r),Math.max(n,r)]}e.exports=function(t,e){var n,r,c,y,w,A=e.context,C=e.pick,M=e.regl,E={currentRafs:{},drawCompleted:!0,clearOnly:!1},T=function(t){for(var e={},n=0;n<=a;n+=4)e[_(n)]=t.buffer({usage:\\\"dynamic\\\",type:\\\"float\\\",data:new Uint8Array(0)});return e}(M),S=M.texture(p),k=[];I(e);var O=M({profile:!1,blend:{enable:A,func:{srcRGB:\\\"src alpha\\\",dstRGB:\\\"one minus src alpha\\\",srcAlpha:1,dstAlpha:1},equation:{rgb:\\\"add\\\",alpha:\\\"add\\\"},color:[0,0,0,0]},depth:{enable:!A,mask:!0,func:\\\"less\\\",range:[0,1]},cull:{enable:!0,face:\\\"back\\\"},scissor:{enable:!0,box:{x:M.prop(\\\"scissorX\\\"),y:M.prop(\\\"scissorY\\\"),width:M.prop(\\\"scissorWidth\\\"),height:M.prop(\\\"scissorHeight\\\")}},viewport:{x:M.prop(\\\"viewportX\\\"),y:M.prop(\\\"viewportY\\\"),width:M.prop(\\\"viewportWidth\\\"),height:M.prop(\\\"viewportHeight\\\")},dither:!1,vert:i,frag:o,primitive:\\\"lines\\\",lineWidth:1,attributes:T,uniforms:{resolution:M.prop(\\\"resolution\\\"),viewBoxPos:M.prop(\\\"viewBoxPos\\\"),viewBoxSize:M.prop(\\\"viewBoxSize\\\"),dim0A:M.prop(\\\"dim0A\\\"),dim1A:M.prop(\\\"dim1A\\\"),dim0B:M.prop(\\\"dim0B\\\"),dim1B:M.prop(\\\"dim1B\\\"),dim0C:M.prop(\\\"dim0C\\\"),dim1C:M.prop(\\\"dim1C\\\"),dim0D:M.prop(\\\"dim0D\\\"),dim1D:M.prop(\\\"dim1D\\\"),loA:M.prop(\\\"loA\\\"),hiA:M.prop(\\\"hiA\\\"),loB:M.prop(\\\"loB\\\"),hiB:M.prop(\\\"hiB\\\"),loC:M.prop(\\\"loC\\\"),hiC:M.prop(\\\"hiC\\\"),loD:M.prop(\\\"loD\\\"),hiD:M.prop(\\\"hiD\\\"),palette:S,contextColor:M.prop(\\\"contextColor\\\"),mask:M.prop(\\\"maskTexture\\\"),drwLayer:M.prop(\\\"drwLayer\\\"),maskHeight:M.prop(\\\"maskHeight\\\")},offset:M.prop(\\\"offset\\\"),count:M.prop(\\\"count\\\")});function I(t){n=t.model,r=t.viewModel,c=r.dimensions.slice(),y=c[0]?c[0].values.length:0;var e=n.lines,i=C?e.color.map((function(t,n){return n/e.color.length})):e.color,o=function(t,e,n){for(var r=new Array(t*(a+4)),i=0,o=0;o<t;o++){for(var s=0;s<a;s++)r[i++]=s<e.length?e[s].paddedUnitValues[o]:.5;r[i++]=v(o,2),r[i++]=v(o,1),r[i++]=v(o,0),r[i++]=(u=n[o],Math.max(l,Math.min(.999999,u)))}var u;return r}(y,c,i);(function(t,e,n){for(var r=0;r<=a;r+=4)t[_(r)](g(r/4,e,n))})(T,y,o),A||C||(S=M.texture(s.extendFlat({data:m(n.unitToColor,255)},p)))}return{render:function(t,e,r){var i,o,a,s=t.length,l=1/0,h=-1/0;for(i=0;i<s;i++)t[i].dim0.canvasX<l&&(l=t[i].dim0.canvasX,o=i),t[i].dim1.canvasX>h&&(h=t[i].dim1.canvasX,a=i);0===s&&f(M,0,0,n.canvasWidth,n.canvasHeight);var p=function(t){var e,n,r,i=[[],[]];for(r=0;r<64;r++){var o=!t&&r<c.length?c[r].brush.filter.getBounds():[-1/0,1/0];i[0][r]=o[0],i[1][r]=o[1]}var a=new Array(16384);for(e=0;e<16384;e++)a[e]=255;if(!t)for(e=0;e<c.length;e++){var s=e%8,l=(e-s)/8,h=Math.pow(2,s),p=c[e].brush.filter.get();if(!(p.length<2)){var f=x(p[0])[1];for(n=1;n<p.length;n++){var d=x(p[n]);for(r=f+1;r<d[0];r++)a[8*r+l]&=~h;f=Math.max(f,d[1])}}}var m={shape:[8,u],format:\\\"alpha\\\",type:\\\"uint8\\\",mag:\\\"nearest\\\",min:\\\"nearest\\\",data:a};return w?w(m):w=M.texture(m),{maskTexture:w,maskHeight:u,loA:i[0].slice(0,16),loB:i[0].slice(16,32),loC:i[0].slice(32,48),loD:i[0].slice(48,64),hiA:i[1].slice(0,16),hiB:i[1].slice(16,32),hiC:i[1].slice(32,48),hiD:i[1].slice(48,64)}}(A);for(i=0;i<s;i++){var m=t[i],v=m.dim0.crossfilterDimensionIndex,g=m.dim1.crossfilterDimensionIndex,_=m.canvasX,T=m.canvasY,S=_+m.panelSizeX;if(e||!k[v]||k[v][0]!==_||k[v][1]!==S){k[v]=[_,S];var I=b(n,o,a,i,v,g,_,T,m.panelSizeX,m.panelSizeY,m.dim0.crossfilterDimensionIndex,A?0:C?2:1,p);E.clearOnly=r;var L=e?n.lines.blockLineCount:y;d(M,O,E,L,y,I)}}},readPixel:function(t,e){return M.read({x:t,y:e,width:1,height:1,data:h}),h},readPixels:function(t,e,n,r){var i=new Uint8Array(4*n*r);return M.read({x:t,y:e,width:n,height:r,data:i}),i},destroy:function(){for(var e in t.style[\\\"pointer-events\\\"]=\\\"none\\\",S.destroy(),w&&w.destroy(),T)T[e].destroy()},update:I}}},{\\\"../../lib\\\":728,\\\"./constants\\\":1100,glslify:408}],1105:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r){var i,o;for(r||(r=1/0),i=0;i<e.length;i++)(o=e[i]).visible&&(r=Math.min(r,o[n].length));for(r===1/0&&(r=0),t._length=r,i=0;i<e.length;i++)(o=e[i]).visible&&(o._length=r);return r}},{}],1106:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"color-rgba\\\"),o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../lib/svg_text_utils\\\"),l=t(\\\"../../components/drawing\\\"),u=t(\\\"../../components/colorscale\\\"),c=t(\\\"../../lib/gup\\\"),h=c.keyFun,p=c.repeat,f=c.unwrap,d=t(\\\"./helpers\\\"),m=t(\\\"./constants\\\"),v=t(\\\"./axisbrush\\\"),g=t(\\\"./lines\\\");function y(t,e,n){return a.aggNums(t,null,e,n)}function _(t,e){return x(y(Math.min,t,e),y(Math.max,t,e))}function b(t){var e=t.range;return e?x(e[0],e[1]):_(t.values,t._length)}function x(t,e){return!isNaN(t)&&isFinite(t)||(t=0),!isNaN(e)&&isFinite(e)||(e=0),t===e&&(0===t?(t-=1,e+=1):(t*=.9,e*=1.1)),[t,e]}function w(t,e,n,i,o){var a,s,l=b(n);return i?r.scale.ordinal().domain(i.map((a=r.format(n.tickformat),s=o,s?function(t,e){var n=s[e];return null==n?a(t):n}:a))).range(i.map((function(n){var r=(n-l[0])/(l[1]-l[0]);return t-e+r*(2*e-t)}))):r.scale.linear().domain(l).range([t-e,e])}function A(t){if(t.tickvals){var e=b(t);return r.scale.ordinal().domain(t.tickvals).range(t.tickvals.map((function(t){return(t-e[0])/(e[1]-e[0])})))}}function C(t){var e=t.map((function(t){return t[0]})),n=t.map((function(t){var e=i(t[1]);return r.rgb(\\\"rgb(\\\"+e[0]+\\\",\\\"+e[1]+\\\",\\\"+e[2]+\\\")\\\")})),o=\\\"rgb\\\".split(\\\"\\\").map((function(t){return r.scale.linear().clamp(!0).domain(e).range(n.map((i=t,function(t){return t[i]})));var i}));return function(t){return o.map((function(e){return e(t)}))}}function M(t){return t.dimensions.some((function(t){return t.brush.filterSpecified}))}function E(t,e,n){var o=f(e),s=o.trace,l=d.convertTypedArray(o.lineColor),c=s.line,h={color:i(m.deselectedLineColor)},p=u.extractOpts(c),v=p.reversescale?u.flipScale(o.cscale):o.cscale,g=s.domain,y=s.dimensions,_=t.width,x=s.labelangle,w=s.labelside,A=s.labelfont,M=s.tickfont,E=s.rangefont,T=a.extendDeepNoArrays({},c,{color:l.map(r.scale.linear().domain(b({values:l,range:[p.min,p.max],_length:s._length}))),blockLineCount:m.blockLineCount,canvasOverdrag:m.overdrag*m.canvasPixelRatio}),S=Math.floor(_*(g.x[1]-g.x[0])),k=Math.floor(t.height*(g.y[1]-g.y[0])),O=t.margin||{l:80,r:80,t:100,b:80},I=S,L=k;return{key:n,colCount:y.filter(d.isVisible).length,dimensions:y,tickDistance:m.tickDistance,unitToColor:C(v),lines:T,deselectedLines:h,labelAngle:x,labelSide:w,labelFont:A,tickFont:M,rangeFont:E,layoutWidth:_,layoutHeight:t.height,domain:g,translateX:g.x[0]*_,translateY:t.height-g.y[1]*t.height,pad:O,canvasWidth:I*m.canvasPixelRatio+2*T.canvasOverdrag,canvasHeight:L*m.canvasPixelRatio,width:I,height:L,canvasPixelRatio:m.canvasPixelRatio}}function T(t,e,n){var i=n.width,o=n.height,s=n.dimensions,l=n.canvasPixelRatio,u=function(t){return i*t/Math.max(1,n.colCount-1)},c=m.verticalPadding/o,h=function(t,e){return r.scale.linear().range([e,t-e])}(o,m.verticalPadding),p={key:n.key,xScale:u,model:n,inBrushDrag:!1},f={};return p.dimensions=s.filter(d.isVisible).map((function(i,s){var g=function(t,e){return r.scale.linear().domain(b(t)).range([e,1-e])}(i,c),y=f[i.label];f[i.label]=(y||0)+1;var _=i.label+(y?\\\"__\\\"+y:\\\"\\\"),x=i.constraintrange,C=x&&x.length;C&&!Array.isArray(x[0])&&(x=[x]);var E=C?x.map((function(t){return t.map(g)})):[[-1/0,1/0]],T=i.values;T.length>i._length&&(T=T.slice(0,i._length));var S,k=i.tickvals;function O(t,e){return{val:t,text:S[e]}}function I(t,e){return t.val-e.val}if(Array.isArray(k)&&k.length){S=i.ticktext,Array.isArray(S)&&S.length?S.length>k.length?S=S.slice(0,k.length):k.length>S.length&&(k=k.slice(0,S.length)):S=k.map(r.format(i.tickformat));for(var L=1;L<k.length;L++)if(k[L]<k[L-1]){for(var P=k.map(O).sort(I),z=0;z<k.length;z++)k[z]=P[z].val,S[z]=P[z].text;break}}else k=void 0;return T=d.convertTypedArray(T),{key:_,label:i.label,tickFormat:i.tickformat,tickvals:k,ticktext:S,ordinal:d.isOrdinal(i),multiselect:i.multiselect,xIndex:s,crossfilterDimensionIndex:s,visibleIndex:i._index,height:o,values:T,paddedUnitValues:T.map(g),unitTickvals:k&&k.map(g),xScale:u,x:u(s),canvasX:u(s)*l,unitToPaddedPx:h,domainScale:w(o,m.verticalPadding,i,k,S),ordinalScale:A(i),parent:p,model:n,brush:v.makeBrush(t,C,E,(function(){t.linePickActive(!1)}),(function(){var e=p;e.focusLayer&&e.focusLayer.render(e.panels,!0);var n=M(e);!t.contextShown()&&n?(e.contextLayer&&e.contextLayer.render(e.panels,!0),t.contextShown(!0)):t.contextShown()&&!n&&(e.contextLayer&&e.contextLayer.render(e.panels,!0,!0),t.contextShown(!1))}),(function(n){if(p.focusLayer.render(p.panels,!0),p.pickLayer&&p.pickLayer.render(p.panels,!0),t.linePickActive(!0),e&&e.filterChanged){var r=g.invert,o=n.map((function(t){return t.map(r).sort(a.sorterAsc)})).sort((function(t,e){return t[0]-e[0]}));e.filterChanged(p.key,i._index,o)}}))}})),p}function S(t){t.classed(m.cn.axisExtentText,!0).attr(\\\"text-anchor\\\",\\\"middle\\\").style(\\\"cursor\\\",\\\"default\\\").style(\\\"user-select\\\",\\\"none\\\")}function k(t,e){var n=\\\"top\\\"===e?1:-1,r=t*Math.PI/180;return{dir:n,dx:Math.sin(r),dy:Math.cos(r),degrees:t}}function O(t,e){for(var n=e.panels||(e.panels=[]),r=t.data(),i=0;i<r.length-1;i++){var o=n[i]||(n[i]={}),a=r[i],s=r[i+1];o.dim0=a,o.dim1=s,o.canvasX=a.canvasX,o.panelSizeX=s.canvasX-a.canvasX,o.panelSizeY=e.model.canvasHeight,o.y=0,o.canvasY=0}}function I(t,e){return o.tickText(t._ax,e,!1).text}function L(t,e){if(t.ordinal)return\\\"\\\";var n=t.domainScale.domain(),r=n[e?n.length-1:0];return I(t.model.dimensions[t.visibleIndex],r)}e.exports=function(t,e,n,i){var u=t._fullLayout,c=u._toppaper,y=u._glcontainer;!function(t){for(var e=0;e<t.length;e++)for(var n=0;n<t[e].length;n++)for(var r=t[e][n].trace,i=r.dimensions,a=0;a<i.length;a++){var s=i[a].values,l=i[a]._ax;l&&(l.range?l.range=x(l.range[0],l.range[1]):l.range=_(s,r._length),l.dtick||(l.dtick=.01*(Math.abs(l.range[1]-l.range[0])||1)),l.tickformat=i[a].tickformat,o.calcTicks(l),l.cleanRange())}}(e);var b,w,A=(b=!0,w=!1,{linePickActive:function(t){return arguments.length?b=!!t:b},contextShown:function(t){return arguments.length?w=!!t:w}}),C=e.filter((function(t){return f(t).trace.visible})).map(E.bind(0,n)).map(T.bind(0,A,i));y.each((function(t,e){return a.extendFlat(t,C[e])}));var P=y.selectAll(\\\".gl-canvas\\\").each((function(t){t.viewModel=C[0],t.model=t.viewModel?t.viewModel.model:null})),z=null;P.filter((function(t){return t.pick})).style(\\\"pointer-events\\\",\\\"auto\\\").on(\\\"mousemove\\\",(function(t){if(A.linePickActive()&&t.lineLayer&&i&&i.hover){var e=r.event,n=this.width,o=this.height,a=r.mouse(this),s=a[0],l=a[1];if(s<0||l<0||s>=n||l>=o)return;var u=t.lineLayer.readPixel(s,o-1-l),c=0!==u[3],h=c?u[2]+256*(u[1]+256*u[0]):null,p={x:s,y:l,clientX:e.clientX,clientY:e.clientY,dataIndex:t.model.key,curveNumber:h};h!==z&&(c?i.hover(p):i.unhover&&i.unhover(p),z=h)}})),P.style(\\\"opacity\\\",(function(t){return t.pick?0:1})),c.style(\\\"background\\\",\\\"rgba(255, 255, 255, 0)\\\");var R=c.selectAll(\\\".\\\"+m.cn.parcoords).data(C,h);R.exit().remove(),R.enter().append(\\\"g\\\").classed(m.cn.parcoords,!0).style(\\\"shape-rendering\\\",\\\"crispEdges\\\").style(\\\"pointer-events\\\",\\\"none\\\"),R.attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.model.translateX+\\\",\\\"+t.model.translateY+\\\")\\\"}));var D=R.selectAll(\\\".\\\"+m.cn.parcoordsControlView).data(p,h);D.enter().append(\\\"g\\\").classed(m.cn.parcoordsControlView,!0),D.attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.model.pad.l+\\\",\\\"+t.model.pad.t+\\\")\\\"}));var $=D.selectAll(\\\".\\\"+m.cn.yAxis).data((function(t){return t.dimensions}),h);$.enter().append(\\\"g\\\").classed(m.cn.yAxis,!0),D.each((function(t){O($,t)})),P.each((function(t){if(t.viewModel){!t.lineLayer||i?t.lineLayer=g(this,t):t.lineLayer.update(t),(t.key||0===t.key)&&(t.viewModel[t.key]=t.lineLayer);var e=!t.context||i;t.lineLayer.render(t.viewModel.panels,e)}})),$.attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.xScale(t.xIndex)+\\\", 0)\\\"})),$.call(r.behavior.drag().origin((function(t){return t})).on(\\\"drag\\\",(function(t){var e=t.parent;A.linePickActive(!1),t.x=Math.max(-m.overdrag,Math.min(t.model.width+m.overdrag,r.event.x)),t.canvasX=t.x*t.model.canvasPixelRatio,$.sort((function(t,e){return t.x-e.x})).each((function(e,n){e.xIndex=n,e.x=t===e?e.x:e.xScale(e.xIndex),e.canvasX=e.x*e.model.canvasPixelRatio})),O($,e),$.filter((function(e){return 0!==Math.abs(t.xIndex-e.xIndex)})).attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.xScale(t.xIndex)+\\\", 0)\\\"})),r.select(this).attr(\\\"transform\\\",\\\"translate(\\\"+t.x+\\\", 0)\\\"),$.each((function(n,r,i){i===t.parent.key&&(e.dimensions[r]=n)})),e.contextLayer&&e.contextLayer.render(e.panels,!1,!M(e)),e.focusLayer.render&&e.focusLayer.render(e.panels)})).on(\\\"dragend\\\",(function(t){var e=t.parent;t.x=t.xScale(t.xIndex),t.canvasX=t.x*t.model.canvasPixelRatio,O($,e),r.select(this).attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.x+\\\", 0)\\\"})),e.contextLayer&&e.contextLayer.render(e.panels,!1,!M(e)),e.focusLayer&&e.focusLayer.render(e.panels),e.pickLayer&&e.pickLayer.render(e.panels,!0),A.linePickActive(!0),i&&i.axesMoved&&i.axesMoved(e.key,e.dimensions.map((function(t){return t.crossfilterDimensionIndex})))}))),$.exit().remove();var B=$.selectAll(\\\".\\\"+m.cn.axisOverlays).data(p,h);B.enter().append(\\\"g\\\").classed(m.cn.axisOverlays,!0),B.selectAll(\\\".\\\"+m.cn.axis).remove();var N=B.selectAll(\\\".\\\"+m.cn.axis).data(p,h);N.enter().append(\\\"g\\\").classed(m.cn.axis,!0),N.each((function(t){var e=t.model.height/t.model.tickDistance,n=t.domainScale,i=n.domain();r.select(this).call(r.svg.axis().orient(\\\"left\\\").tickSize(4).outerTickSize(2).ticks(e,t.tickFormat).tickValues(t.ordinal?i:null).tickFormat((function(e){return d.isOrdinal(t)?e:I(t.model.dimensions[t.visibleIndex],e)})).scale(n)),l.font(N.selectAll(\\\"text\\\"),t.model.tickFont)})),N.selectAll(\\\".domain, .tick>line\\\").attr(\\\"fill\\\",\\\"none\\\").attr(\\\"stroke\\\",\\\"black\\\").attr(\\\"stroke-opacity\\\",.25).attr(\\\"stroke-width\\\",\\\"1px\\\"),N.selectAll(\\\"text\\\").style(\\\"text-shadow\\\",\\\"1px 1px 1px #fff, -1px -1px 1px #fff, 1px -1px 1px #fff, -1px 1px 1px #fff\\\").style(\\\"cursor\\\",\\\"default\\\").style(\\\"user-select\\\",\\\"none\\\");var F=B.selectAll(\\\".\\\"+m.cn.axisHeading).data(p,h);F.enter().append(\\\"g\\\").classed(m.cn.axisHeading,!0);var j=F.selectAll(\\\".\\\"+m.cn.axisTitle).data(p,h);j.enter().append(\\\"text\\\").classed(m.cn.axisTitle,!0).attr(\\\"text-anchor\\\",\\\"middle\\\").style(\\\"cursor\\\",\\\"ew-resize\\\").style(\\\"user-select\\\",\\\"none\\\").style(\\\"pointer-events\\\",\\\"auto\\\"),j.text((function(t){return t.label})).each((function(e){var n=r.select(this);l.font(n,e.model.labelFont),s.convertToTspans(n,t)})).attr(\\\"transform\\\",(function(t){var e=k(t.model.labelAngle,t.model.labelSide),n=m.axisTitleOffset;return(e.dir>0?\\\"\\\":\\\"translate(0,\\\"+(2*n+t.model.height)+\\\")\\\")+\\\"rotate(\\\"+e.degrees+\\\")translate(\\\"+-n*e.dx+\\\",\\\"+-n*e.dy+\\\")\\\"})).attr(\\\"text-anchor\\\",(function(t){var e=k(t.model.labelAngle,t.model.labelSide);return 2*Math.abs(e.dx)>Math.abs(e.dy)?e.dir*e.dx<0?\\\"start\\\":\\\"end\\\":\\\"middle\\\"}));var U=B.selectAll(\\\".\\\"+m.cn.axisExtent).data(p,h);U.enter().append(\\\"g\\\").classed(m.cn.axisExtent,!0);var q=U.selectAll(\\\".\\\"+m.cn.axisExtentTop).data(p,h);q.enter().append(\\\"g\\\").classed(m.cn.axisExtentTop,!0),q.attr(\\\"transform\\\",\\\"translate(0,\\\"+-m.axisExtentOffset+\\\")\\\");var V=q.selectAll(\\\".\\\"+m.cn.axisExtentTopText).data(p,h);V.enter().append(\\\"text\\\").classed(m.cn.axisExtentTopText,!0).call(S),V.text((function(t){return L(t,!0)})).each((function(t){l.font(r.select(this),t.model.rangeFont)}));var H=U.selectAll(\\\".\\\"+m.cn.axisExtentBottom).data(p,h);H.enter().append(\\\"g\\\").classed(m.cn.axisExtentBottom,!0),H.attr(\\\"transform\\\",(function(t){return\\\"translate(0,\\\"+(t.model.height+m.axisExtentOffset)+\\\")\\\"}));var G=H.selectAll(\\\".\\\"+m.cn.axisExtentBottomText).data(p,h);G.enter().append(\\\"text\\\").classed(m.cn.axisExtentBottomText,!0).attr(\\\"dy\\\",\\\"0.75em\\\").call(S),G.text((function(t){return L(t,!1)})).each((function(t){l.font(r.select(this),t.model.rangeFont)})),v.ensureAxisBrush(B)}},{\\\"../../components/colorscale\\\":607,\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/gup\\\":726,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/cartesian/axes\\\":776,\\\"./axisbrush\\\":1097,\\\"./constants\\\":1100,\\\"./helpers\\\":1102,\\\"./lines\\\":1104,\\\"color-rgba\\\":124,d3:164}],1107:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./parcoords\\\"),i=t(\\\"../../lib/prepare_regl\\\"),o=t(\\\"./helpers\\\").isVisible;function a(t,e,n){var r=e.indexOf(n),i=t.indexOf(r);return-1===i&&(i+=e.length),i}e.exports=function(t,e){var n=t._fullLayout;if(i(t)){var s={},l={},u={},c={},h=n._size;e.forEach((function(e,n){var r=e[0].trace;u[n]=r.index;var i=c[n]=r._fullInput.index;s[n]=t.data[i].dimensions,l[n]=t.data[i].dimensions.slice()})),r(t,e,{width:h.w,height:h.h,margin:{t:h.t,r:h.r,b:h.b,l:h.l}},{filterChanged:function(e,r,i){var o=l[e][r],a=i.map((function(t){return t.slice()})),s=\\\"dimensions[\\\"+r+\\\"].constraintrange\\\",h=n._tracePreGUI[t._fullData[u[e]]._fullInput.uid];if(void 0===h[s]){var p=o.constraintrange;h[s]=p||null}var f=t._fullData[u[e]].dimensions[r];a.length?(1===a.length&&(a=a[0]),o.constraintrange=a,f.constraintrange=a.slice(),a=[a]):(delete o.constraintrange,delete f.constraintrange,a=null);var d={};d[s]=a,t.emit(\\\"plotly_restyle\\\",[d,[c[e]]])},hover:function(e){t.emit(\\\"plotly_hover\\\",e)},unhover:function(e){t.emit(\\\"plotly_unhover\\\",e)},axesMoved:function(e,n){var r=function(t,e){return function(n,r){return a(t,e,n)-a(t,e,r)}}(n,l[e].filter(o));s[e].sort(r),l[e].filter((function(t){return!o(t)})).sort((function(t){return l[e].indexOf(t)})).forEach((function(t){s[e].splice(s[e].indexOf(t),1),s[e].splice(l[e].indexOf(t),0,t)})),t.emit(\\\"plotly_restyle\\\",[{dimensions:[s[e]]},[c[e]]])}})}}},{\\\"../../lib/prepare_regl\\\":741,\\\"./helpers\\\":1102,\\\"./parcoords\\\":1106}],1108:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/attributes\\\"),i=t(\\\"../../plots/domain\\\").attributes,o=t(\\\"../../plots/font_attributes\\\"),a=t(\\\"../../components/color/attributes\\\"),s=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,l=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,u=t(\\\"../../lib/extend\\\").extendFlat,c=o({editType:\\\"plot\\\",arrayOk:!0,colorEditType:\\\"plot\\\"});e.exports={labels:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},label0:{valType:\\\"number\\\",dflt:0,editType:\\\"calc\\\"},dlabel:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},values:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},marker:{colors:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},line:{color:{valType:\\\"color\\\",dflt:a.defaultLine,arrayOk:!0,editType:\\\"style\\\"},width:{valType:\\\"number\\\",min:0,dflt:0,arrayOk:!0,editType:\\\"style\\\"},editType:\\\"calc\\\"},editType:\\\"calc\\\"},text:{valType:\\\"data_array\\\",editType:\\\"plot\\\"},hovertext:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"style\\\"},scalegroup:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},textinfo:{valType:\\\"flaglist\\\",flags:[\\\"label\\\",\\\"text\\\",\\\"value\\\",\\\"percent\\\"],extras:[\\\"none\\\"],editType:\\\"calc\\\"},hoverinfo:u({},r.hoverinfo,{flags:[\\\"label\\\",\\\"text\\\",\\\"value\\\",\\\"percent\\\",\\\"name\\\"]}),hovertemplate:s({},{keys:[\\\"label\\\",\\\"color\\\",\\\"value\\\",\\\"percent\\\",\\\"text\\\"]}),texttemplate:l({editType:\\\"plot\\\"},{keys:[\\\"label\\\",\\\"color\\\",\\\"value\\\",\\\"percent\\\",\\\"text\\\"]}),textposition:{valType:\\\"enumerated\\\",values:[\\\"inside\\\",\\\"outside\\\",\\\"auto\\\",\\\"none\\\"],dflt:\\\"auto\\\",arrayOk:!0,editType:\\\"plot\\\"},textfont:u({},c,{}),insidetextorientation:{valType:\\\"enumerated\\\",values:[\\\"horizontal\\\",\\\"radial\\\",\\\"tangential\\\",\\\"auto\\\"],dflt:\\\"auto\\\",editType:\\\"plot\\\"},insidetextfont:u({},c,{}),outsidetextfont:u({},c,{}),automargin:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"plot\\\"},title:{text:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"plot\\\"},font:u({},c,{}),position:{valType:\\\"enumerated\\\",values:[\\\"top left\\\",\\\"top center\\\",\\\"top right\\\",\\\"middle center\\\",\\\"bottom left\\\",\\\"bottom center\\\",\\\"bottom right\\\"],editType:\\\"plot\\\"},editType:\\\"plot\\\"},domain:i({name:\\\"pie\\\",trace:!0,editType:\\\"calc\\\"}),hole:{valType:\\\"number\\\",min:0,max:1,dflt:0,editType:\\\"calc\\\"},sort:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},direction:{valType:\\\"enumerated\\\",values:[\\\"clockwise\\\",\\\"counterclockwise\\\"],dflt:\\\"counterclockwise\\\",editType:\\\"calc\\\"},rotation:{valType:\\\"number\\\",min:-360,max:360,dflt:0,editType:\\\"calc\\\"},pull:{valType:\\\"number\\\",min:0,max:1,dflt:0,arrayOk:!0,editType:\\\"calc\\\"},_deprecated:{title:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},titlefont:u({},c,{}),titleposition:{valType:\\\"enumerated\\\",values:[\\\"top left\\\",\\\"top center\\\",\\\"top right\\\",\\\"middle center\\\",\\\"bottom left\\\",\\\"bottom center\\\",\\\"bottom right\\\"],editType:\\\"calc\\\"}}}},{\\\"../../components/color/attributes\\\":594,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/domain\\\":803,\\\"../../plots/font_attributes\\\":804,\\\"../../plots/template_attributes\\\":854}],1109:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/plots\\\");n.name=\\\"pie\\\",n.plot=function(t,e,i,o){r.plotBasePlot(n.name,t,e,i,o)},n.clean=function(t,e,i,o){r.cleanBasePlot(n.name,t,e,i,o)}},{\\\"../../plots/plots\\\":839}],1110:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"tinycolor2\\\"),o=t(\\\"../../components/color\\\"),a={};function s(t){return function(e,n){return!!e&&!!(e=i(e)).isValid()&&(e=o.addOpacity(e,e.getAlpha()),t[n]||(t[n]=e),e)}}function l(t,e){var n,r=JSON.stringify(t),o=e[r];if(!o){for(o=t.slice(),n=0;n<t.length;n++)o.push(i(t[n]).lighten(20).toHexString());for(n=0;n<t.length;n++)o.push(i(t[n]).darken(20).toHexString());e[r]=o}return o}e.exports={calc:function(t,e){var n,i,o=[],a=t._fullLayout,l=a.hiddenlabels||[],u=e.labels,c=e.marker.colors||[],h=e.values,p=e._length,f=e._hasValues&&p;if(e.dlabel)for(u=new Array(p),n=0;n<p;n++)u[n]=String(e.label0+n*e.dlabel);var d={},m=s(a[\\\"_\\\"+e.type+\\\"colormap\\\"]),v=0,g=!1;for(n=0;n<p;n++){var y,_,b;if(f){if(y=h[n],!r(y))continue;if((y=+y)<0)continue}else y=1;void 0!==(_=u[n])&&\\\"\\\"!==_||(_=n);var x=d[_=String(_)];void 0===x?(d[_]=o.length,(b=-1!==l.indexOf(_))||(v+=y),o.push({v:y,label:_,color:m(c[n],_),i:n,pts:[n],hidden:b})):(g=!0,(i=o[x]).v+=y,i.pts.push(n),i.hidden||(v+=y),!1===i.color&&c[n]&&(i.color=m(c[n],_)))}return(\\\"funnelarea\\\"===e.type?g:e.sort)&&o.sort((function(t,e){return e.v-t.v})),o[0]&&(o[0].vTotal=v),o},crossTraceCalc:function(t,e){var n=(e||{}).type;n||(n=\\\"pie\\\");var r=t._fullLayout,i=t.calcdata,o=r[n+\\\"colorway\\\"],s=r[\\\"_\\\"+n+\\\"colormap\\\"];r[\\\"extend\\\"+n+\\\"colors\\\"]&&(o=l(o,a));for(var u=0,c=0;c<i.length;c++){var h=i[c];if(h[0].trace.type===n)for(var p=0;p<h.length;p++){var f=h[p];!1===f.color&&(s[f.label]?f.color=s[f.label]:(s[f.label]=f.color=o[u%o.length],u++))}}},makePullColorFn:s,generateExtendedColors:l}},{\\\"../../components/color\\\":595,\\\"fast-isnumeric\\\":236,tinycolor2:528}],1111:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"./attributes\\\"),a=t(\\\"../../plots/domain\\\").defaults,s=t(\\\"../bar/defaults\\\").handleText;function l(t,e){var n=Array.isArray(t),o=i.isArrayOrTypedArray(e),a=Math.min(n?t.length:1/0,o?e.length:1/0);if(isFinite(a)||(a=0),a&&o){for(var s,l=0;l<a;l++){var u=e[l];if(r(u)&&u>0){s=!0;break}}s||(a=0)}return{hasLabels:n,hasValues:o,len:a}}e.exports={handleLabelsAndValues:l,supplyDefaults:function(t,e,n,r){function u(n,r){return i.coerce(t,e,o,n,r)}var c=l(u(\\\"labels\\\"),u(\\\"values\\\")),h=c.len;if(e._hasLabels=c.hasLabels,e._hasValues=c.hasValues,!e._hasLabels&&e._hasValues&&(u(\\\"label0\\\"),u(\\\"dlabel\\\")),h){e._length=h,u(\\\"marker.line.width\\\")&&u(\\\"marker.line.color\\\"),u(\\\"marker.colors\\\"),u(\\\"scalegroup\\\");var p,f=u(\\\"text\\\"),d=u(\\\"texttemplate\\\");if(d||(p=u(\\\"textinfo\\\",Array.isArray(f)?\\\"text+percent\\\":\\\"percent\\\")),u(\\\"hovertext\\\"),u(\\\"hovertemplate\\\"),d||p&&\\\"none\\\"!==p){var m=u(\\\"textposition\\\");s(t,e,r,u,m,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(m)||\\\"auto\\\"===m||\\\"outside\\\"===m)&&u(\\\"automargin\\\"),(\\\"inside\\\"===m||\\\"auto\\\"===m||Array.isArray(m))&&u(\\\"insidetextorientation\\\")}a(e,r,u);var v=u(\\\"hole\\\");if(u(\\\"title.text\\\")){var g=u(\\\"title.position\\\",v?\\\"middle center\\\":\\\"top center\\\");v||\\\"middle center\\\"!==g||(e.title.position=\\\"top center\\\"),i.coerceFont(u,\\\"title.font\\\",r.font)}u(\\\"sort\\\"),u(\\\"direction\\\"),u(\\\"rotation\\\"),u(\\\"pull\\\")}else e.visible=!1}}},{\\\"../../lib\\\":728,\\\"../../plots/domain\\\":803,\\\"../bar/defaults\\\":873,\\\"./attributes\\\":1108,\\\"fast-isnumeric\\\":236}],1112:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/fx/helpers\\\").appendArrayMultiPointValues;e.exports=function(t,e){var n={curveNumber:e.index,pointNumbers:t.pts,data:e._input,fullData:e,label:t.label,color:t.color,value:t.v,percent:t.percent,text:t.text,v:t.v};return 1===t.pts.length&&(n.pointNumber=n.i=t.pts[0]),r(n,e,t.pts),\\\"funnelarea\\\"===e.type&&(delete n.v,delete n.i),n}},{\\\"../../components/fx/helpers\\\":631}],1113:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");n.formatPiePercent=function(t,e){var n=(100*t).toPrecision(3);return-1!==n.lastIndexOf(\\\".\\\")&&(n=n.replace(/[.]?0+$/,\\\"\\\")),r.numSeparate(n,e)+\\\"%\\\"},n.formatPieValue=function(t,e){var n=t.toPrecision(10);return-1!==n.lastIndexOf(\\\".\\\")&&(n=n.replace(/[.]?0+$/,\\\"\\\")),r.numSeparate(n,e)},n.getFirstFilled=function(t,e){if(Array.isArray(t))for(var n=0;n<e.length;n++){var r=t[e[n]];if(r||0===r||\\\"\\\"===r)return r}},n.castOption=function(t,e){return Array.isArray(t)?n.getFirstFilled(t,e):t||void 0}},{\\\"../../lib\\\":728}],1114:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),calc:t(\\\"./calc\\\").calc,crossTraceCalc:t(\\\"./calc\\\").crossTraceCalc,plot:t(\\\"./plot\\\").plot,style:t(\\\"./style\\\"),styleOne:t(\\\"./style_one\\\"),moduleType:\\\"trace\\\",name:\\\"pie\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[\\\"pie-like\\\",\\\"pie\\\",\\\"showLegend\\\"],meta:{}}},{\\\"./attributes\\\":1108,\\\"./base_plot\\\":1109,\\\"./calc\\\":1110,\\\"./defaults\\\":1111,\\\"./layout_attributes\\\":1115,\\\"./layout_defaults\\\":1116,\\\"./plot\\\":1117,\\\"./style\\\":1118,\\\"./style_one\\\":1119}],1115:[function(t,e,n){\\\"use strict\\\";e.exports={hiddenlabels:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},piecolorway:{valType:\\\"colorlist\\\",editType:\\\"calc\\\"},extendpiecolors:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"}}},{}],1116:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e){function n(n,o){return r.coerce(t,e,i,n,o)}n(\\\"hiddenlabels\\\"),n(\\\"piecolorway\\\",e.colorway),n(\\\"extendpiecolors\\\")}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":1115}],1117:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../plots/plots\\\"),o=t(\\\"../../components/fx\\\"),a=t(\\\"../../components/color\\\"),s=t(\\\"../../components/drawing\\\"),l=t(\\\"../../lib\\\"),u=t(\\\"../../lib/svg_text_utils\\\"),c=t(\\\"../bar/uniform_text\\\"),h=c.recordMinTextSize,p=c.clearMinTextSize,f=t(\\\"../bar/constants\\\").TEXTPAD,d=t(\\\"./helpers\\\"),m=t(\\\"./event_data\\\"),v=t(\\\"../../lib\\\").isValidTextValue;function g(t,e,n){var i=n[0],a=i.trace,s=i.cx,u=i.cy;\\\"_hasHoverLabel\\\"in a||(a._hasHoverLabel=!1),\\\"_hasHoverEvent\\\"in a||(a._hasHoverEvent=!1),t.on(\\\"mouseover\\\",(function(t){var n=e._fullLayout,c=e._fullData[a.index];if(!e._dragging&&!1!==n.hovermode){var h=c.hoverinfo;if(Array.isArray(h)&&(h=o.castHoverinfo({hoverinfo:[d.castOption(h,t.pts)],_module:a._module},n,0)),\\\"all\\\"===h&&(h=\\\"label+text+value+percent+name\\\"),c.hovertemplate||\\\"none\\\"!==h&&\\\"skip\\\"!==h&&h){var p=t.rInscribed||0,f=s+t.pxmid[0]*(1-p),v=u+t.pxmid[1]*(1-p),g=n.separators,y=[];if(h&&-1!==h.indexOf(\\\"label\\\")&&y.push(t.label),t.text=d.castOption(c.hovertext||c.text,t.pts),h&&-1!==h.indexOf(\\\"text\\\")){var _=t.text;l.isValidTextValue(_)&&y.push(_)}t.value=t.v,t.valueLabel=d.formatPieValue(t.v,g),h&&-1!==h.indexOf(\\\"value\\\")&&y.push(t.valueLabel),t.percent=t.v/i.vTotal,t.percentLabel=d.formatPiePercent(t.percent,g),h&&-1!==h.indexOf(\\\"percent\\\")&&y.push(t.percentLabel);var b=c.hoverlabel,x=b.font;o.loneHover({trace:a,x0:f-p*i.r,x1:f+p*i.r,y:v,text:y.join(\\\"<br>\\\"),name:c.hovertemplate||-1!==h.indexOf(\\\"name\\\")?c.name:void 0,idealAlign:t.pxmid[0]<0?\\\"left\\\":\\\"right\\\",color:d.castOption(b.bgcolor,t.pts)||t.color,borderColor:d.castOption(b.bordercolor,t.pts),fontFamily:d.castOption(x.family,t.pts),fontSize:d.castOption(x.size,t.pts),fontColor:d.castOption(x.color,t.pts),nameLength:d.castOption(b.namelength,t.pts),textAlign:d.castOption(b.align,t.pts),hovertemplate:d.castOption(c.hovertemplate,t.pts),hovertemplateLabels:t,eventData:[m(t,c)]},{container:n._hoverlayer.node(),outerContainer:n._paper.node(),gd:e}),a._hasHoverLabel=!0}a._hasHoverEvent=!0,e.emit(\\\"plotly_hover\\\",{points:[m(t,c)],event:r.event})}})),t.on(\\\"mouseout\\\",(function(t){var n=e._fullLayout,i=e._fullData[a.index],s=r.select(this).datum();a._hasHoverEvent&&(t.originalEvent=r.event,e.emit(\\\"plotly_unhover\\\",{points:[m(s,i)],event:r.event}),a._hasHoverEvent=!1),a._hasHoverLabel&&(o.loneUnhover(n._hoverlayer.node()),a._hasHoverLabel=!1)})),t.on(\\\"click\\\",(function(t){var n=e._fullLayout,i=e._fullData[a.index];e._dragging||!1===n.hovermode||(e._hoverdata=[m(t,i)],o.click(e,r.event))}))}function y(t,e,n){var r=d.castOption(t.insidetextfont.color,e.pts);!r&&t._input.textfont&&(r=d.castOption(t._input.textfont.color,e.pts));var i=d.castOption(t.insidetextfont.family,e.pts)||d.castOption(t.textfont.family,e.pts)||n.family,o=d.castOption(t.insidetextfont.size,e.pts)||d.castOption(t.textfont.size,e.pts)||n.size;return{color:r||a.contrast(e.color),family:i,size:o}}function _(t,e){for(var n,r,i=0;i<t.length;i++)if((r=(n=t[i][0]).trace).title.text){var o=r.title.text;r._meta&&(o=l.templateString(o,r._meta));var a=s.tester.append(\\\"text\\\").attr(\\\"data-notex\\\",1).text(o).call(s.font,r.title.font).call(u.convertToTspans,e),c=s.bBox(a.node(),!0);n.titleBox={width:c.width,height:c.height},a.remove()}}function b(t,e,n){var r=n.r||e.rpx1,i=e.rInscribed;if(e.startangle===e.stopangle)return{rCenter:1-i,scale:0,rotate:0,textPosAngle:0};var o,a=e.ring,s=1===a&&Math.abs(e.startangle-e.stopangle)===2*Math.PI,l=e.halfangle,u=e.midangle,c=n.trace.insidetextorientation,h=\\\"horizontal\\\"===c,p=\\\"tangential\\\"===c,f=\\\"radial\\\"===c,d=\\\"auto\\\"===c,m=[];if(!d){var v,g=function(n,i){if(function(t,e){var n=t.startangle,r=t.stopangle;return n>e&&e>r||n<e&&e<r}(e,n)){var s=Math.abs(n-e.startangle),l=Math.abs(n-e.stopangle),u=s<l?s:l;(o=\\\"tan\\\"===i?w(t,r,a,u,0):x(t,r,a,u,Math.PI/2)).textPosAngle=n,m.push(o)}};if(h||p){for(v=4;v>=-4;v-=2)g(Math.PI*v,\\\"tan\\\");for(v=4;v>=-4;v-=2)g(Math.PI*(v+1),\\\"tan\\\")}if(h||f){for(v=4;v>=-4;v-=2)g(Math.PI*(v+1.5),\\\"rad\\\");for(v=4;v>=-4;v-=2)g(Math.PI*(v+.5),\\\"rad\\\")}}if(s||d||h){var y=Math.sqrt(t.width*t.width+t.height*t.height);if((o={scale:i*r*2/y,rCenter:1-i,rotate:0}).textPosAngle=(e.startangle+e.stopangle)/2,o.scale>=1)return o;m.push(o)}(d||f)&&((o=x(t,r,a,l,u)).textPosAngle=(e.startangle+e.stopangle)/2,m.push(o)),(d||p)&&((o=w(t,r,a,l,u)).textPosAngle=(e.startangle+e.stopangle)/2,m.push(o));for(var _=0,b=0,A=0;A<m.length;A++){var C=m[A].scale;if(b<C&&(b=C,_=A),!d&&b>=1)break}return m[_]}function x(t,e,n,r,i){e=Math.max(0,e-2*f);var o=t.width/t.height,a=M(o,r,e,n);return{scale:2*a/t.height,rCenter:A(o,a/e),rotate:C(i)}}function w(t,e,n,r,i){e=Math.max(0,e-2*f);var o=t.height/t.width,a=M(o,r,e,n);return{scale:2*a/t.width,rCenter:A(o,a/e),rotate:C(i+Math.PI/2)}}function A(t,e){return Math.cos(e)-t*e}function C(t){return(180/Math.PI*t+720)%180-90}function M(t,e,n,r){var i=t+1/(2*Math.tan(e));return n*Math.min(1/(Math.sqrt(i*i+.5)+i),r/(Math.sqrt(t*t+r/2)+t))}function E(t,e){return t.v!==e.vTotal||e.trace.hole?Math.min(1/(1+1/Math.sin(t.halfangle)),t.ring/2):1}function T(t,e){var n=e.pxmid[0],r=e.pxmid[1],i=t.width/2,o=t.height/2;return n<0&&(i*=-1),r<0&&(o*=-1),{scale:1,rCenter:1,rotate:0,x:i+Math.abs(o)*(i>0?1:-1)/2,y:o/(1+n*n/(r*r)),outside:!0}}function S(t,e){var n,r,i,o=t.trace,a={x:t.cx,y:t.cy},s={tx:0,ty:0};s.ty+=o.title.font.size,n=O(o),-1!==o.title.position.indexOf(\\\"top\\\")?(a.y-=(1+n)*t.r,s.ty-=t.titleBox.height):-1!==o.title.position.indexOf(\\\"bottom\\\")&&(a.y+=(1+n)*t.r);var l,u,c=(l=t.r,u=t.trace.aspectratio,l/(void 0===u?1:u)),h=e.w*(o.domain.x[1]-o.domain.x[0])/2;return-1!==o.title.position.indexOf(\\\"left\\\")?(h+=c,a.x-=(1+n)*c,s.tx+=t.titleBox.width/2):-1!==o.title.position.indexOf(\\\"center\\\")?h*=2:-1!==o.title.position.indexOf(\\\"right\\\")&&(h+=c,a.x+=(1+n)*c,s.tx-=t.titleBox.width/2),r=h/t.titleBox.width,i=k(t,e)/t.titleBox.height,{x:a.x,y:a.y,scale:Math.min(r,i),tx:s.tx,ty:s.ty}}function k(t,e){var n=t.trace,r=e.h*(n.domain.y[1]-n.domain.y[0]);return Math.min(t.titleBox.height,r/2)}function O(t){var e,n=t.pull;if(!n)return 0;if(Array.isArray(n))for(n=0,e=0;e<t.pull.length;e++)t.pull[e]>n&&(n=t.pull[e]);return n}function I(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r][0],o=i.trace,a=o.domain,s=e.w*(a.x[1]-a.x[0]),l=e.h*(a.y[1]-a.y[0]);o.title.text&&\\\"middle center\\\"!==o.title.position&&(l-=k(i,e));var u=s/2,c=l/2;\\\"funnelarea\\\"!==o.type||o.scalegroup||(c/=o.aspectratio),i.r=Math.min(u,c)/(1+O(o)),i.cx=e.l+e.w*(o.domain.x[1]+o.domain.x[0])/2,i.cy=e.t+e.h*(1-o.domain.y[0])-l/2,o.title.text&&-1!==o.title.position.indexOf(\\\"bottom\\\")&&(i.cy-=k(i,e)),o.scalegroup&&-1===n.indexOf(o.scalegroup)&&n.push(o.scalegroup)}!function(t,e){for(var n,r,i,o=0;o<e.length;o++){var a=1/0,s=e[o];for(r=0;r<t.length;r++)if((i=(n=t[r][0]).trace).scalegroup===s){var l;if(\\\"pie\\\"===i.type)l=n.r*n.r;else if(\\\"funnelarea\\\"===i.type){var u,c;i.aspectratio>1?c=(u=n.r)/i.aspectratio:u=(c=n.r)*i.aspectratio,l=(u*=(1+i.baseratio)/2)*c}a=Math.min(a,l/n.vTotal)}for(r=0;r<t.length;r++)if((i=(n=t[r][0]).trace).scalegroup===s){var h=a*n.vTotal;\\\"funnelarea\\\"===i.type&&(h/=(1+i.baseratio)/2,h/=i.aspectratio),n.r=Math.sqrt(h)}}}(t,n)}function L(t,e){return[t*Math.sin(e),-t*Math.cos(e)]}function P(t,e,n){var r=t._fullLayout,i=n.trace,o=i.texttemplate,a=i.textinfo;if(!o&&a&&\\\"none\\\"!==a){var s,u=a.split(\\\"+\\\"),c=function(t){return-1!==u.indexOf(t)},h=c(\\\"label\\\"),p=c(\\\"text\\\"),f=c(\\\"value\\\"),m=c(\\\"percent\\\"),g=r.separators;if(s=h?[e.label]:[],p){var y=d.getFirstFilled(i.text,e.pts);v(y)&&s.push(y)}f&&s.push(d.formatPieValue(e.v,g)),m&&s.push(d.formatPiePercent(e.v/n.vTotal,g)),e.text=s.join(\\\"<br>\\\")}if(o){var _=l.castOption(i,e.i,\\\"texttemplate\\\");if(_){var b=function(t){return{label:t.label,value:t.v,valueLabel:d.formatPieValue(t.v,r.separators),percent:t.v/n.vTotal,percentLabel:d.formatPiePercent(t.v/n.vTotal,r.separators),color:t.color,text:t.text,customdata:l.castOption(i,t.i,\\\"customdata\\\")}}(e),x=d.getFirstFilled(i.text,e.pts);(v(x)||\\\"\\\"===x)&&(b.text=x),e.text=l.texttemplateString(_,b,t._fullLayout._d3locale,b,i._meta||{})}else e.text=\\\"\\\"}}function z(t,e){var n=t.rotate*Math.PI/180,r=Math.cos(n),i=Math.sin(n),o=(e.left+e.right)/2,a=(e.top+e.bottom)/2;t.textX=o*r-a*i,t.textY=o*i+a*r,t.noCenter=!0}e.exports={plot:function(t,e){var n=t._fullLayout,o=n._size;p(\\\"pie\\\",n),_(e,t),I(e,o);var c=l.makeTraceGroups(n._pielayer,e,\\\"trace\\\").each((function(e){var c=r.select(this),p=e[0],f=p.trace;(function(t){var e,n,r,i=t[0],o=i.r,a=i.trace,s=a.rotation*Math.PI/180,l=2*Math.PI/i.vTotal,u=\\\"px0\\\",c=\\\"px1\\\";if(\\\"counterclockwise\\\"===a.direction){for(e=0;e<t.length&&t[e].hidden;e++);if(e===t.length)return;s+=l*t[e].v,l*=-1,u=\\\"px1\\\",c=\\\"px0\\\"}for(r=L(o,s),e=0;e<t.length;e++)(n=t[e]).hidden||(n[u]=r,n.startangle=s,s+=l*n.v/2,n.pxmid=L(o,s),n.midangle=s,r=L(o,s+=l*n.v/2),n.stopangle=s,n[c]=r,n.largeArc=n.v>i.vTotal/2?1:0,n.halfangle=Math.PI*Math.min(n.v/i.vTotal,.5),n.ring=1-a.hole,n.rInscribed=E(n,i))})(e),c.attr(\\\"stroke-linejoin\\\",\\\"round\\\"),c.each((function(){var m=r.select(this).selectAll(\\\"g.slice\\\").data(e);m.enter().append(\\\"g\\\").classed(\\\"slice\\\",!0),m.exit().remove();var v=[[[],[]],[[],[]]],_=!1;m.each((function(i,o){if(i.hidden)r.select(this).selectAll(\\\"path,g\\\").remove();else{i.pointNumber=i.i,i.curveNumber=f.index,v[i.pxmid[1]<0?0:1][i.pxmid[0]<0?0:1].push(i);var a=p.cx,c=p.cy,m=r.select(this),x=m.selectAll(\\\"path.surface\\\").data([i]);if(x.enter().append(\\\"path\\\").classed(\\\"surface\\\",!0).style({\\\"pointer-events\\\":\\\"all\\\"}),m.call(g,t,e),f.pull){var w=+d.castOption(f.pull,i.pts)||0;w>0&&(a+=w*i.pxmid[0],c+=w*i.pxmid[1])}i.cxFinal=a,i.cyFinal=c;var A=f.hole;if(i.v===p.vTotal){var C=\\\"M\\\"+(a+i.px0[0])+\\\",\\\"+(c+i.px0[1])+O(i.px0,i.pxmid,!0,1)+O(i.pxmid,i.px0,!0,1)+\\\"Z\\\";A?x.attr(\\\"d\\\",\\\"M\\\"+(a+A*i.px0[0])+\\\",\\\"+(c+A*i.px0[1])+O(i.px0,i.pxmid,!1,A)+O(i.pxmid,i.px0,!1,A)+\\\"Z\\\"+C):x.attr(\\\"d\\\",C)}else{var M=O(i.px0,i.px1,!0,1);if(A){var E=1-A;x.attr(\\\"d\\\",\\\"M\\\"+(a+A*i.px1[0])+\\\",\\\"+(c+A*i.px1[1])+O(i.px1,i.px0,!1,A)+\\\"l\\\"+E*i.px0[0]+\\\",\\\"+E*i.px0[1]+M+\\\"Z\\\")}else x.attr(\\\"d\\\",\\\"M\\\"+a+\\\",\\\"+c+\\\"l\\\"+i.px0[0]+\\\",\\\"+i.px0[1]+M+\\\"Z\\\")}P(t,i,p);var S=d.castOption(f.textposition,i.pts),k=m.selectAll(\\\"g.slicetext\\\").data(i.text&&\\\"none\\\"!==S?[0]:[]);k.enter().append(\\\"g\\\").classed(\\\"slicetext\\\",!0),k.exit().remove(),k.each((function(){var m=l.ensureSingle(r.select(this),\\\"text\\\",\\\"\\\",(function(t){t.attr(\\\"data-notex\\\",1)})),v=l.ensureUniformFontSize(t,\\\"outside\\\"===S?function(t,e,n){return{color:d.castOption(t.outsidetextfont.color,e.pts)||d.castOption(t.textfont.color,e.pts)||n.color,family:d.castOption(t.outsidetextfont.family,e.pts)||d.castOption(t.textfont.family,e.pts)||n.family,size:d.castOption(t.outsidetextfont.size,e.pts)||d.castOption(t.textfont.size,e.pts)||n.size}}(f,i,n.font):y(f,i,n.font));m.text(i.text).attr({class:\\\"slicetext\\\",transform:\\\"\\\",\\\"text-anchor\\\":\\\"middle\\\"}).call(s.font,v).call(u.convertToTspans,t);var g,x=s.bBox(m.node());if(\\\"outside\\\"===S)g=T(x,i);else if(g=b(x,i,p),\\\"auto\\\"===S&&g.scale<1){var w=l.ensureUniformFontSize(t,f.outsidetextfont);m.call(s.font,w),g=T(x=s.bBox(m.node()),i)}var A=g.textPosAngle,C=void 0===A?i.pxmid:L(p.r,A);if(g.targetX=a+C[0]*g.rCenter+(g.x||0),g.targetY=c+C[1]*g.rCenter+(g.y||0),z(g,x),g.outside){var M=g.targetY;i.yLabelMin=M-x.height/2,i.yLabelMid=M,i.yLabelMax=M+x.height/2,i.labelExtraX=0,i.labelExtraY=0,_=!0}g.fontSize=v.size,h(f.type,g,n),e[o].transform=g,m.attr(\\\"transform\\\",l.getTextTransform(g))}))}function O(t,e,n,r){var o=r*(e[0]-t[0]),a=r*(e[1]-t[1]);return\\\"a\\\"+r*p.r+\\\",\\\"+r*p.r+\\\" 0 \\\"+i.largeArc+(n?\\\" 1 \\\":\\\" 0 \\\")+o+\\\",\\\"+a}}));var x=r.select(this).selectAll(\\\"g.titletext\\\").data(f.title.text?[0]:[]);if(x.enter().append(\\\"g\\\").classed(\\\"titletext\\\",!0),x.exit().remove(),x.each((function(){var e,n=l.ensureSingle(r.select(this),\\\"text\\\",\\\"\\\",(function(t){t.attr(\\\"data-notex\\\",1)})),i=f.title.text;f._meta&&(i=l.templateString(i,f._meta)),n.text(i).attr({class:\\\"titletext\\\",transform:\\\"\\\",\\\"text-anchor\\\":\\\"middle\\\"}).call(s.font,f.title.font).call(u.convertToTspans,t),e=\\\"middle center\\\"===f.title.position?function(t){var e=Math.sqrt(t.titleBox.width*t.titleBox.width+t.titleBox.height*t.titleBox.height);return{x:t.cx,y:t.cy,scale:t.trace.hole*t.r*2/e,tx:0,ty:-t.titleBox.height/2+t.trace.title.font.size}}(p):S(p,o),n.attr(\\\"transform\\\",\\\"translate(\\\"+e.x+\\\",\\\"+e.y+\\\")\\\"+(e.scale<1?\\\"scale(\\\"+e.scale+\\\")\\\":\\\"\\\")+\\\"translate(\\\"+e.tx+\\\",\\\"+e.ty+\\\")\\\")})),_&&function(t,e){var n,r,i,o,a,s,l,u,c,h,p,f,m;function v(t,e){return t.pxmid[1]-e.pxmid[1]}function g(t,e){return e.pxmid[1]-t.pxmid[1]}function y(t,n){n||(n={});var i,u,c,p,f=n.labelExtraY+(r?n.yLabelMax:n.yLabelMin),m=r?t.yLabelMin:t.yLabelMax,v=r?t.yLabelMax:t.yLabelMin,g=t.cyFinal+a(t.px0[1],t.px1[1]),y=f-m;if(y*l>0&&(t.labelExtraY=y),Array.isArray(e.pull))for(u=0;u<h.length;u++)(c=h[u])===t||(d.castOption(e.pull,t.pts)||0)>=(d.castOption(e.pull,c.pts)||0)||((t.pxmid[1]-c.pxmid[1])*l>0?(y=c.cyFinal+a(c.px0[1],c.px1[1])-m-t.labelExtraY)*l>0&&(t.labelExtraY+=y):(v+t.labelExtraY-g)*l>0&&(i=3*s*Math.abs(u-h.indexOf(t)),(p=c.cxFinal+o(c.px0[0],c.px1[0])+i-(t.cxFinal+t.pxmid[0])-t.labelExtraX)*s>0&&(t.labelExtraX+=p)))}for(r=0;r<2;r++)for(i=r?v:g,a=r?Math.max:Math.min,l=r?1:-1,n=0;n<2;n++){for(o=n?Math.max:Math.min,s=n?1:-1,(u=t[r][n]).sort(i),c=t[1-r][n],h=c.concat(u),f=[],p=0;p<u.length;p++)void 0!==u[p].yLabelMid&&f.push(u[p]);for(m=!1,p=0;r&&p<c.length;p++)if(void 0!==c[p].yLabelMid){m=c[p];break}for(p=0;p<f.length;p++){var _=p&&f[p-1];m&&!p&&(_=m),y(f[p],_)}}}(v,f),function(t,e){t.each((function(t){var n=r.select(this);if(t.labelExtraX||t.labelExtraY){var i=n.select(\\\"g.slicetext text\\\");t.transform.targetX+=t.labelExtraX,t.transform.targetY+=t.labelExtraY,i.attr(\\\"transform\\\",l.getTextTransform(t.transform));var o=t.cxFinal+t.pxmid[0],s=\\\"M\\\"+o+\\\",\\\"+(t.cyFinal+t.pxmid[1]),u=(t.yLabelMax-t.yLabelMin)*(t.pxmid[0]<0?-1:1)/4;if(t.labelExtraX){var c=t.labelExtraX*t.pxmid[1]/t.pxmid[0],h=t.yLabelMid+t.labelExtraY-(t.cyFinal+t.pxmid[1]);Math.abs(c)>Math.abs(h)?s+=\\\"l\\\"+h*t.pxmid[0]/t.pxmid[1]+\\\",\\\"+h+\\\"H\\\"+(o+t.labelExtraX+u):s+=\\\"l\\\"+t.labelExtraX+\\\",\\\"+c+\\\"v\\\"+(h-c)+\\\"h\\\"+u}else s+=\\\"V\\\"+(t.yLabelMid+t.labelExtraY)+\\\"h\\\"+u;l.ensureSingle(n,\\\"path\\\",\\\"textline\\\").call(a.stroke,e.outsidetextfont.color).attr({\\\"stroke-width\\\":Math.min(2,e.outsidetextfont.size/8),d:s,fill:\\\"none\\\"})}else n.select(\\\"path.textline\\\").remove()}))}(m,f),_&&f.automargin){var w=s.bBox(c.node()),A=f.domain,C=o.w*(A.x[1]-A.x[0]),M=o.h*(A.y[1]-A.y[0]),E=(.5*C-p.r)/o.w,k=(.5*M-p.r)/o.h;i.autoMargin(t,\\\"pie.\\\"+f.uid+\\\".automargin\\\",{xl:A.x[0]-E,xr:A.x[1]+E,yb:A.y[0]-k,yt:A.y[1]+k,l:Math.max(p.cx-p.r-w.left,0),r:Math.max(w.right-(p.cx+p.r),0),b:Math.max(w.bottom-(p.cy+p.r),0),t:Math.max(p.cy-p.r-w.top,0),pad:5})}}))}));setTimeout((function(){c.selectAll(\\\"tspan\\\").each((function(){var t=r.select(this);t.attr(\\\"dy\\\")&&t.attr(\\\"dy\\\",t.attr(\\\"dy\\\"))}))}),0)},formatSliceLabel:P,transformInsideText:b,determineInsideTextFont:y,positionTitleOutside:S,prerenderTitles:_,layoutAreas:I,attachFxHandlers:g,computeTransform:z}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/plots\\\":839,\\\"../bar/constants\\\":871,\\\"../bar/uniform_text\\\":885,\\\"./event_data\\\":1112,\\\"./helpers\\\":1113,d3:164}],1118:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"./style_one\\\"),o=t(\\\"../bar/uniform_text\\\").resizeText;e.exports=function(t){var e=t._fullLayout._pielayer.selectAll(\\\".trace\\\");o(t,e,\\\"pie\\\"),e.each((function(t){var e=t[0].trace,n=r.select(this);n.style({opacity:e.opacity}),n.selectAll(\\\"path.surface\\\").each((function(t){r.select(this).call(i,t,e)}))}))}},{\\\"../bar/uniform_text\\\":885,\\\"./style_one\\\":1119,d3:164}],1119:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\"),i=t(\\\"./helpers\\\").castOption;e.exports=function(t,e,n){var o=n.marker.line,a=i(o.color,e.pts)||r.defaultLine,s=i(o.width,e.pts)||0;t.style(\\\"stroke-width\\\",s).call(r.fill,e.color).call(r.stroke,a)}},{\\\"../../components/color\\\":595,\\\"./helpers\\\":1113}],1120:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/attributes\\\");e.exports={x:r.x,y:r.y,xy:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},indices:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},xbounds:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},ybounds:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},text:r.text,marker:{color:{valType:\\\"color\\\",arrayOk:!1,editType:\\\"calc\\\"},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1,arrayOk:!1,editType:\\\"calc\\\"},blend:{valType:\\\"boolean\\\",dflt:null,editType:\\\"calc\\\"},sizemin:{valType:\\\"number\\\",min:.1,max:2,dflt:.5,editType:\\\"calc\\\"},sizemax:{valType:\\\"number\\\",min:.1,dflt:20,editType:\\\"calc\\\"},border:{color:{valType:\\\"color\\\",arrayOk:!1,editType:\\\"calc\\\"},arearatio:{valType:\\\"number\\\",min:0,max:1,dflt:0,editType:\\\"calc\\\"},editType:\\\"calc\\\"},editType:\\\"calc\\\"},transforms:void 0}},{\\\"../scatter/attributes\\\":1134}],1121:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-pointcloud2d\\\"),i=t(\\\"../../lib/str2rgbarray\\\"),o=t(\\\"../../plots/cartesian/autorange\\\").findExtremes,a=t(\\\"../scatter/get_trace_color\\\");function s(t,e){this.scene=t,this.uid=e,this.type=\\\"pointcloud\\\",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color=\\\"rgb(0, 0, 0)\\\",this.name=\\\"\\\",this.hoverinfo=\\\"all\\\",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=r(t.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var l=s.prototype;l.handlePick=function(t){var e=this.idToIndex[t.pointId];return{trace:this,dataCoord:t.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*e],this.pickXYData[2*e+1]]:[this.pickXData[e],this.pickYData[e]],textLabel:Array.isArray(this.textLabels)?this.textLabels[e]:this.textLabels,color:this.color,name:this.name,pointIndex:e,hoverinfo:this.hoverinfo}},l.update=function(t){this.index=t.index,this.textLabels=t.text,this.name=t.name,this.hoverinfo=t.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(t),this.color=a(t,{})},l.updateFast=function(t){var e,n,r,a,s,l,u=this.xData=this.pickXData=t.x,c=this.yData=this.pickYData=t.y,h=this.pickXYData=t.xy,p=t.xbounds&&t.ybounds,f=t.indices,d=this.bounds;if(h){if(r=h,e=h.length>>>1,p)d[0]=t.xbounds[0],d[2]=t.xbounds[1],d[1]=t.ybounds[0],d[3]=t.ybounds[1];else for(l=0;l<e;l++)a=r[2*l],s=r[2*l+1],a<d[0]&&(d[0]=a),a>d[2]&&(d[2]=a),s<d[1]&&(d[1]=s),s>d[3]&&(d[3]=s);if(f)n=f;else for(n=new Int32Array(e),l=0;l<e;l++)n[l]=l}else for(e=u.length,r=new Float32Array(2*e),n=new Int32Array(e),l=0;l<e;l++)a=u[l],s=c[l],n[l]=l,r[2*l]=a,r[2*l+1]=s,a<d[0]&&(d[0]=a),a>d[2]&&(d[2]=a),s<d[1]&&(d[1]=s),s>d[3]&&(d[3]=s);this.idToIndex=n,this.pointcloudOptions.idToIndex=n,this.pointcloudOptions.positions=r;var m=i(t.marker.color),v=i(t.marker.border.color),g=t.opacity*t.marker.opacity;m[3]*=g,this.pointcloudOptions.color=m;var y=t.marker.blend;null===y&&(y=u.length<100||c.length<100),this.pointcloudOptions.blend=y,v[3]*=g,this.pointcloudOptions.borderColor=v;var _=t.marker.sizemin,b=Math.max(t.marker.sizemax,t.marker.sizemin);this.pointcloudOptions.sizeMin=_,this.pointcloudOptions.sizeMax=b,this.pointcloudOptions.areaRatio=t.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var x=this.scene.xaxis,w=this.scene.yaxis,A=b/2||.5;t._extremes[x._id]=o(x,[d[0],d[2]],{ppad:A}),t._extremes[w._id]=o(w,[d[1],d[3]],{ppad:A})},l.dispose=function(){this.pointcloud.dispose()},e.exports=function(t,e){var n=new s(t,e.uid);return n.update(e),n}},{\\\"../../lib/str2rgbarray\\\":751,\\\"../../plots/cartesian/autorange\\\":775,\\\"../scatter/get_trace_color\\\":1144,\\\"gl-pointcloud2d\\\":298}],1122:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\");e.exports=function(t,e,n){function o(n,o){return r.coerce(t,e,i,n,o)}o(\\\"x\\\"),o(\\\"y\\\"),o(\\\"xbounds\\\"),o(\\\"ybounds\\\"),t.xy&&t.xy instanceof Float32Array&&(e.xy=t.xy),t.indices&&t.indices instanceof Int32Array&&(e.indices=t.indices),o(\\\"text\\\"),o(\\\"marker.color\\\",n),o(\\\"marker.opacity\\\"),o(\\\"marker.blend\\\"),o(\\\"marker.sizemin\\\"),o(\\\"marker.sizemax\\\"),o(\\\"marker.border.color\\\",n),o(\\\"marker.border.arearatio\\\"),e._length=null}},{\\\"../../lib\\\":728,\\\"./attributes\\\":1120}],1123:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"../scatter3d/calc\\\"),plot:t(\\\"./convert\\\"),moduleType:\\\"trace\\\",name:\\\"pointcloud\\\",basePlotModule:t(\\\"../../plots/gl2d\\\"),categories:[\\\"gl\\\",\\\"gl2d\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/gl2d\\\":816,\\\"../scatter3d/calc\\\":1162,\\\"./attributes\\\":1120,\\\"./convert\\\":1121,\\\"./defaults\\\":1122}],1124:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/font_attributes\\\"),i=t(\\\"../../plots/attributes\\\"),o=t(\\\"../../components/color/attributes\\\"),a=t(\\\"../../components/fx/attributes\\\"),s=t(\\\"../../plots/domain\\\").attributes,l=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,u=t(\\\"../../components/colorscale/attributes\\\"),c=t(\\\"../../plot_api/plot_template\\\").templatedArray,h=t(\\\"../../lib/extend\\\").extendFlat,p=t(\\\"../../plot_api/edit_types\\\").overrideAll;t(\\\"../../constants/docs\\\").FORMAT_LINK,(e.exports=p({hoverinfo:h({},i.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:a.hoverlabel,domain:s({name:\\\"sankey\\\",trace:!0}),orientation:{valType:\\\"enumerated\\\",values:[\\\"v\\\",\\\"h\\\"],dflt:\\\"h\\\"},valueformat:{valType:\\\"string\\\",dflt:\\\".3s\\\"},valuesuffix:{valType:\\\"string\\\",dflt:\\\"\\\"},arrangement:{valType:\\\"enumerated\\\",values:[\\\"snap\\\",\\\"perpendicular\\\",\\\"freeform\\\",\\\"fixed\\\"],dflt:\\\"snap\\\"},textfont:r({}),customdata:void 0,node:{label:{valType:\\\"data_array\\\",dflt:[]},groups:{valType:\\\"info_array\\\",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:\\\"number\\\",editType:\\\"calc\\\"}},x:{valType:\\\"data_array\\\",dflt:[]},y:{valType:\\\"data_array\\\",dflt:[]},color:{valType:\\\"color\\\",arrayOk:!0},customdata:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},line:{color:{valType:\\\"color\\\",dflt:o.defaultLine,arrayOk:!0},width:{valType:\\\"number\\\",min:0,dflt:.5,arrayOk:!0}},pad:{valType:\\\"number\\\",arrayOk:!1,min:0,dflt:20},thickness:{valType:\\\"number\\\",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"none\\\",\\\"skip\\\"],dflt:\\\"all\\\"},hoverlabel:a.hoverlabel,hovertemplate:l({},{keys:[\\\"value\\\",\\\"label\\\"]})},link:{label:{valType:\\\"data_array\\\",dflt:[]},color:{valType:\\\"color\\\",arrayOk:!0},customdata:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},line:{color:{valType:\\\"color\\\",dflt:o.defaultLine,arrayOk:!0},width:{valType:\\\"number\\\",min:0,dflt:0,arrayOk:!0}},source:{valType:\\\"data_array\\\",dflt:[]},target:{valType:\\\"data_array\\\",dflt:[]},value:{valType:\\\"data_array\\\",dflt:[]},hoverinfo:{valType:\\\"enumerated\\\",values:[\\\"all\\\",\\\"none\\\",\\\"skip\\\"],dflt:\\\"all\\\"},hoverlabel:a.hoverlabel,hovertemplate:l({},{keys:[\\\"value\\\",\\\"label\\\"]}),colorscales:c(\\\"concentrationscales\\\",{editType:\\\"calc\\\",label:{valType:\\\"string\\\",editType:\\\"calc\\\",dflt:\\\"\\\"},cmax:{valType:\\\"number\\\",editType:\\\"calc\\\",dflt:1},cmin:{valType:\\\"number\\\",editType:\\\"calc\\\",dflt:0},colorscale:h(u().colorscale,{dflt:[[0,\\\"white\\\"],[1,\\\"black\\\"]]})})}},\\\"calc\\\",\\\"nested\\\")).transforms=void 0},{\\\"../../components/color/attributes\\\":594,\\\"../../components/colorscale/attributes\\\":602,\\\"../../components/fx/attributes\\\":626,\\\"../../constants/docs\\\":699,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/attributes\\\":773,\\\"../../plots/domain\\\":803,\\\"../../plots/font_attributes\\\":804,\\\"../../plots/template_attributes\\\":854}],1125:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plot_api/edit_types\\\").overrideAll,i=t(\\\"../../plots/get_data\\\").getModuleCalcData,o=t(\\\"./plot\\\"),a=t(\\\"../../components/fx/layout_attributes\\\"),s=t(\\\"../../lib/setcursor\\\"),l=t(\\\"../../components/dragelement\\\"),u=t(\\\"../../plots/cartesian/select\\\").prepSelect,c=t(\\\"../../lib\\\"),h=t(\\\"../../registry\\\"),p=\\\"sankey\\\";function f(t,e){var n=t._fullData[e],r=t._fullLayout,i=r.dragmode,o=\\\"pan\\\"===r.dragmode?\\\"move\\\":\\\"crosshair\\\",a=n._bgRect;if(\\\"pan\\\"!==i&&\\\"zoom\\\"!==i){s(a,o);var p={_id:\\\"x\\\",c2p:c.identity,_offset:n._sankey.translateX,_length:n._sankey.width},f={_id:\\\"y\\\",c2p:c.identity,_offset:n._sankey.translateY,_length:n._sankey.height},d={gd:t,element:a.node(),plotinfo:{id:e,xaxis:p,yaxis:f,fillRangeItems:c.noop},subplot:e,xaxes:[p],yaxes:[f],doneFnCompleted:function(n){var r,i=t._fullData[e],o=i.node.groups.slice(),a=[];function s(t){for(var e=i._sankey.graph.nodes,n=0;n<e.length;n++)if(e[n].pointNumber===t)return e[n]}for(var l=0;l<n.length;l++){var u=s(n[l].pointNumber);if(u)if(u.group){for(var c=0;c<u.childrenNodes.length;c++)a.push(u.childrenNodes[c].pointNumber);o[u.pointNumber-i.node._count]=!1}else a.push(u.pointNumber)}r=o.filter(Boolean).concat([a]),h.call(\\\"_guiRestyle\\\",t,{\\\"node.groups\\\":[r]},e)},prepFn:function(t,e,n){u(t,e,n,d,i)}};l.init(d)}}n.name=p,n.baseLayoutAttrOverrides=r({hoverlabel:a.hoverlabel},\\\"plot\\\",\\\"nested\\\"),n.plot=function(t){var e=i(t.calcdata,p)[0];o(t,e),n.updateFx(t)},n.clean=function(t,e,n,r){var i=r._has&&r._has(p),o=e._has&&e._has(p);i&&!o&&(r._paperdiv.selectAll(\\\".sankey\\\").remove(),r._paperdiv.selectAll(\\\".bgsankey\\\").remove())},n.updateFx=function(t){for(var e=0;e<t._fullData.length;e++)f(t,e)}},{\\\"../../components/dragelement\\\":614,\\\"../../components/fx/layout_attributes\\\":636,\\\"../../lib\\\":728,\\\"../../lib/setcursor\\\":748,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/cartesian/select\\\":795,\\\"../../plots/get_data\\\":813,\\\"../../registry\\\":859,\\\"./plot\\\":1130}],1126:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"strongly-connected-components\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../lib/gup\\\").wrap,a=i.isArrayOrTypedArray,s=i.isIndex,l=t(\\\"../../components/colorscale\\\");function u(t){var e,n=t.node,o=t.link,u=[],c=a(o.color),h=a(o.customdata),p={},f={},d=o.colorscales.length;for(e=0;e<d;e++){var m=o.colorscales[e],v=l.extractScale(m,{cLetter:\\\"c\\\"}),g=l.makeColorScaleFunc(v);f[m.label]=g}var y=0;for(e=0;e<o.value.length;e++)o.source[e]>y&&(y=o.source[e]),o.target[e]>y&&(y=o.target[e]);var _,b=y+1;t.node._count=b;var x=t.node.groups,w={};for(e=0;e<x.length;e++){var A=x[e];for(_=0;_<A.length;_++){var C=A[_],M=b+e;w.hasOwnProperty(C)?i.warn(\\\"Node \\\"+C+\\\" is already part of a group.\\\"):w[C]=M}}var E={source:[],target:[]};for(e=0;e<o.value.length;e++){var T=o.value[e],S=o.source[e],k=o.target[e];if(T>0&&s(S,b)&&s(k,b)&&(!w.hasOwnProperty(S)||!w.hasOwnProperty(k)||w[S]!==w[k])){w.hasOwnProperty(k)&&(k=w[k]),w.hasOwnProperty(S)&&(S=w[S]),k=+k,p[S=+S]=p[k]=!0;var O=\\\"\\\";o.label&&o.label[e]&&(O=o.label[e]);var I=null;O&&f.hasOwnProperty(O)&&(I=f[O]),u.push({pointNumber:e,label:O,color:c?o.color[e]:o.color,customdata:h?o.customdata[e]:o.customdata,concentrationscale:I,source:S,target:k,value:+T}),E.source.push(S),E.target.push(k)}}var L=b+x.length,P=a(n.color),z=a(n.customdata),R=[];for(e=0;e<L;e++)if(p[e]){var D=n.label[e];R.push({group:e>b-1,childrenNodes:[],pointNumber:e,label:D,color:P?n.color[e]:n.color,customdata:z?n.customdata[e]:n.customdata})}var $=!1;return function(t,e,n){for(var o=i.init2dArray(t,0),a=0;a<Math.min(e.length,n.length);a++)if(i.isIndex(e[a],t)&&i.isIndex(n[a],t)){if(e[a]===n[a])return!0;o[e[a]].push(n[a])}return r(o).components.some((function(t){return t.length>1}))}(L,E.source,E.target)&&($=!0),{circular:$,links:u,nodes:R,groups:x,groupLookup:w}}e.exports=function(t,e){var n=u(e);return o({circular:n.circular,_nodes:n.nodes,_links:n.links,_groups:n.groups,_groupLookup:n.groupLookup})}},{\\\"../../components/colorscale\\\":607,\\\"../../lib\\\":728,\\\"../../lib/gup\\\":726,\\\"strongly-connected-components\\\":521}],1127:[function(t,e,n){\\\"use strict\\\";e.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:\\\"linear\\\",cn:{sankey:\\\"sankey\\\",sankeyLinks:\\\"sankey-links\\\",sankeyLink:\\\"sankey-link\\\",sankeyNodeSet:\\\"sankey-node-set\\\",sankeyNode:\\\"sankey-node\\\",nodeRect:\\\"node-rect\\\",nodeCapture:\\\"node-capture\\\",nodeCentered:\\\"node-entered\\\",nodeLabelGuide:\\\"node-label-guide\\\",nodeLabel:\\\"node-label\\\",nodeLabelTextPath:\\\"node-label-text-path\\\"}}},{}],1128:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"tinycolor2\\\"),s=t(\\\"../../plots/domain\\\").defaults,l=t(\\\"../../components/fx/hoverlabel_defaults\\\"),u=t(\\\"../../plot_api/plot_template\\\"),c=t(\\\"../../plots/array_container_defaults\\\");function h(t,e){function n(n,o){return r.coerce(t,e,i.link.colorscales,n,o)}n(\\\"label\\\"),n(\\\"cmin\\\"),n(\\\"cmax\\\"),n(\\\"colorscale\\\")}e.exports=function(t,e,n,p){function f(n,o){return r.coerce(t,e,i,n,o)}var d=r.extendDeep(p.hoverlabel,t.hoverlabel),m=t.node,v=u.newContainer(e,\\\"node\\\");function g(t,e){return r.coerce(m,v,i.node,t,e)}g(\\\"label\\\"),g(\\\"groups\\\"),g(\\\"x\\\"),g(\\\"y\\\"),g(\\\"pad\\\"),g(\\\"thickness\\\"),g(\\\"line.color\\\"),g(\\\"line.width\\\"),g(\\\"hoverinfo\\\",t.hoverinfo),l(m,v,g,d),g(\\\"hovertemplate\\\");var y=p.colorway;g(\\\"color\\\",v.label.map((function(t,e){return o.addOpacity(function(t){return y[t%y.length]}(e),.8)}))),g(\\\"customdata\\\");var _=t.link||{},b=u.newContainer(e,\\\"link\\\");function x(t,e){return r.coerce(_,b,i.link,t,e)}x(\\\"label\\\"),x(\\\"source\\\"),x(\\\"target\\\"),x(\\\"value\\\"),x(\\\"line.color\\\"),x(\\\"line.width\\\"),x(\\\"hoverinfo\\\",t.hoverinfo),l(_,b,x,d),x(\\\"hovertemplate\\\");var w,A=a(p.paper_bgcolor).getLuminance()<.333?\\\"rgba(255, 255, 255, 0.6)\\\":\\\"rgba(0, 0, 0, 0.2)\\\";x(\\\"color\\\",r.repeat(A,b.value.length)),x(\\\"customdata\\\"),c(_,b,{name:\\\"colorscales\\\",handleItemDefaults:h}),s(e,p,f),f(\\\"orientation\\\"),f(\\\"valueformat\\\"),f(\\\"valuesuffix\\\"),v.x.length&&v.y.length&&(w=\\\"freeform\\\"),f(\\\"arrangement\\\",w),r.coerceFont(f,\\\"textfont\\\",r.extendFlat({},p.font)),e._length=null}},{\\\"../../components/color\\\":595,\\\"../../components/fx/hoverlabel_defaults\\\":633,\\\"../../lib\\\":728,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/array_container_defaults\\\":772,\\\"../../plots/domain\\\":803,\\\"./attributes\\\":1124,tinycolor2:528}],1129:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),moduleType:\\\"trace\\\",name:\\\"sankey\\\",basePlotModule:t(\\\"./base_plot\\\"),selectPoints:t(\\\"./select.js\\\"),categories:[\\\"noOpacity\\\"],meta:{}}},{\\\"./attributes\\\":1124,\\\"./base_plot\\\":1125,\\\"./calc\\\":1126,\\\"./defaults\\\":1128,\\\"./plot\\\":1130,\\\"./select.js\\\":1132}],1130:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"./render\\\"),o=t(\\\"../../components/fx\\\"),a=t(\\\"../../components/color\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"./constants\\\").cn,u=s._;function c(t){return\\\"\\\"!==t}function h(t,e){return t.filter((function(t){return t.key===e.traceId}))}function p(t,e){r.select(t).select(\\\"path\\\").style(\\\"fill-opacity\\\",e),r.select(t).select(\\\"rect\\\").style(\\\"fill-opacity\\\",e)}function f(t){r.select(t).select(\\\"text.name\\\").style(\\\"fill\\\",\\\"black\\\")}function d(t){return function(e){return-1!==t.node.sourceLinks.indexOf(e.link)||-1!==t.node.targetLinks.indexOf(e.link)}}function m(t){return function(e){return-1!==e.node.sourceLinks.indexOf(t.link)||-1!==e.node.targetLinks.indexOf(t.link)}}function v(t,e,n){e&&n&&h(n,e).selectAll(\\\".\\\"+l.sankeyLink).filter(d(e)).call(y.bind(0,e,n,!1))}function g(t,e,n){e&&n&&h(n,e).selectAll(\\\".\\\"+l.sankeyLink).filter(d(e)).call(_.bind(0,e,n,!1))}function y(t,e,n,r){var i=r.datum().link.label;r.style(\\\"fill-opacity\\\",(function(t){if(!t.link.concentrationscale)return.4})),i&&h(e,t).selectAll(\\\".\\\"+l.sankeyLink).filter((function(t){return t.link.label===i})).style(\\\"fill-opacity\\\",(function(t){if(!t.link.concentrationscale)return.4})),n&&h(e,t).selectAll(\\\".\\\"+l.sankeyNode).filter(m(t)).call(v)}function _(t,e,n,r){var i=r.datum().link.label;r.style(\\\"fill-opacity\\\",(function(t){return t.tinyColorAlpha})),i&&h(e,t).selectAll(\\\".\\\"+l.sankeyLink).filter((function(t){return t.link.label===i})).style(\\\"fill-opacity\\\",(function(t){return t.tinyColorAlpha})),n&&h(e,t).selectAll(l.sankeyNode).filter(m(t)).call(g)}function b(t,e){var n=t.hoverlabel||{},r=s.nestedProperty(n,e).get();return!Array.isArray(r)&&r}e.exports=function(t,e){for(var n=t._fullLayout,s=n._paper,h=n._size,d=0;d<t._fullData.length;d++)if(t._fullData[d].visible&&t._fullData[d].type===l.sankey&&!t._fullData[d]._viewInitial){var m=t._fullData[d].node;t._fullData[d]._viewInitial={node:{groups:m.groups.slice(),x:m.x.slice(),y:m.y.slice()}}}var x=u(t,\\\"source:\\\")+\\\" \\\",w=u(t,\\\"target:\\\")+\\\" \\\",A=u(t,\\\"concentration:\\\")+\\\" \\\",C=u(t,\\\"incoming flow count:\\\")+\\\" \\\",M=u(t,\\\"outgoing flow count:\\\")+\\\" \\\";i(t,s,e,{width:h.w,height:h.h,margin:{t:h.t,r:h.r,b:h.b,l:h.l}},{linkEvents:{hover:function(e,n,i){!1!==t._fullLayout.hovermode&&(r.select(e).call(y.bind(0,n,i,!0)),\\\"skip\\\"!==n.link.trace.link.hoverinfo&&(n.link.fullData=n.link.trace,t.emit(\\\"plotly_hover\\\",{event:r.event,points:[n.link]})))},follow:function(e,i){if(!1!==t._fullLayout.hovermode){var s=i.link.trace.link;if(\\\"none\\\"!==s.hoverinfo&&\\\"skip\\\"!==s.hoverinfo){for(var l=[],u=0,h=0;h<i.flow.links.length;h++){var d=i.flow.links[h];if(\\\"closest\\\"!==t._fullLayout.hovermode||i.link.pointNumber===d.pointNumber){i.link.pointNumber===d.pointNumber&&(u=h),d.fullData=d.trace,s=i.link.trace.link;var m=g(d),v={valueLabel:r.format(i.valueFormat)(d.value)+i.valueSuffix};l.push({x:m[0],y:m[1],name:v.valueLabel,text:[d.label||\\\"\\\",x+d.source.label,w+d.target.label,d.concentrationscale?A+r.format(\\\"%0.2f\\\")(d.flow.labelConcentration):\\\"\\\"].filter(c).join(\\\"<br>\\\"),color:b(s,\\\"bgcolor\\\")||a.addOpacity(d.color,1),borderColor:b(s,\\\"bordercolor\\\"),fontFamily:b(s,\\\"font.family\\\"),fontSize:b(s,\\\"font.size\\\"),fontColor:b(s,\\\"font.color\\\"),nameLength:b(s,\\\"namelength\\\"),textAlign:b(s,\\\"align\\\"),idealAlign:r.event.x<m[0]?\\\"right\\\":\\\"left\\\",hovertemplate:s.hovertemplate,hovertemplateLabels:v,eventData:[d]})}}o.loneHover(l,{container:n._hoverlayer.node(),outerContainer:n._paper.node(),gd:t,anchorIndex:u}).each((function(){i.link.concentrationscale||p(this,.65),f(this)}))}}function g(t){var e,n;t.circular?(e=(t.circularPathData.leftInnerExtent+t.circularPathData.rightInnerExtent)/2,n=t.circularPathData.verticalFullExtent):(e=(t.source.x1+t.target.x0)/2,n=(t.y0+t.y1)/2);var r=[e,n];return\\\"v\\\"===t.trace.orientation&&r.reverse(),r[0]+=i.parent.translateX,r[1]+=i.parent.translateY,r}},unhover:function(e,i,a){!1!==t._fullLayout.hovermode&&(r.select(e).call(_.bind(0,i,a,!0)),\\\"skip\\\"!==i.link.trace.link.hoverinfo&&(i.link.fullData=i.link.trace,t.emit(\\\"plotly_unhover\\\",{event:r.event,points:[i.link]})),o.loneUnhover(n._hoverlayer.node()))},select:function(e,n){var i=n.link;i.originalEvent=r.event,t._hoverdata=[i],o.click(t,{target:!0})}},nodeEvents:{hover:function(e,n,i){!1!==t._fullLayout.hovermode&&(r.select(e).call(v,n,i),\\\"skip\\\"!==n.node.trace.node.hoverinfo&&(n.node.fullData=n.node.trace,t.emit(\\\"plotly_hover\\\",{event:r.event,points:[n.node]})))},follow:function(e,i){if(!1!==t._fullLayout.hovermode){var a=i.node.trace.node;if(\\\"none\\\"!==a.hoverinfo&&\\\"skip\\\"!==a.hoverinfo){var s=r.select(e).select(\\\".\\\"+l.nodeRect),u=t._fullLayout._paperdiv.node().getBoundingClientRect(),h=s.node().getBoundingClientRect(),d=h.left-2-u.left,m=h.right+2-u.left,v=h.top+h.height/4-u.top,g={valueLabel:r.format(i.valueFormat)(i.node.value)+i.valueSuffix};i.node.fullData=i.node.trace;var y=o.loneHover({x0:d,x1:m,y:v,name:r.format(i.valueFormat)(i.node.value)+i.valueSuffix,text:[i.node.label,C+i.node.targetLinks.length,M+i.node.sourceLinks.length].filter(c).join(\\\"<br>\\\"),color:b(a,\\\"bgcolor\\\")||i.tinyColorHue,borderColor:b(a,\\\"bordercolor\\\"),fontFamily:b(a,\\\"font.family\\\"),fontSize:b(a,\\\"font.size\\\"),fontColor:b(a,\\\"font.color\\\"),nameLength:b(a,\\\"namelength\\\"),textAlign:b(a,\\\"align\\\"),idealAlign:\\\"left\\\",hovertemplate:a.hovertemplate,hovertemplateLabels:g,eventData:[i.node]},{container:n._hoverlayer.node(),outerContainer:n._paper.node(),gd:t});p(y,.85),f(y)}}},unhover:function(e,i,a){!1!==t._fullLayout.hovermode&&(r.select(e).call(g,i,a),\\\"skip\\\"!==i.node.trace.node.hoverinfo&&(i.node.fullData=i.node.trace,t.emit(\\\"plotly_unhover\\\",{event:r.event,points:[i.node]})),o.loneUnhover(n._hoverlayer.node()))},select:function(e,n,i){var a=n.node;a.originalEvent=r.event,t._hoverdata=[a],r.select(e).call(g,n,i),o.click(t,{target:!0})}}})}},{\\\"../../components/color\\\":595,\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"./constants\\\":1127,\\\"./render\\\":1131,d3:164}],1131:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\"),i=t(\\\"d3\\\"),o=t(\\\"tinycolor2\\\"),a=t(\\\"../../components/color\\\"),s=t(\\\"../../components/drawing\\\"),l=t(\\\"@plotly/d3-sankey\\\"),u=t(\\\"@plotly/d3-sankey-circular\\\"),c=t(\\\"d3-force\\\"),h=t(\\\"../../lib\\\"),p=t(\\\"../../lib/gup\\\"),f=p.keyFun,d=p.repeat,m=p.unwrap,v=t(\\\"d3-interpolate\\\").interpolateNumber,g=t(\\\"../../registry\\\");function y(t,e,n){var i,a=m(e),s=a.trace,c=s.domain,p=\\\"h\\\"===s.orientation,f=s.node.pad,d=s.node.thickness,v=t.width*(c.x[1]-c.x[0]),g=t.height*(c.y[1]-c.y[0]),y=a._nodes,_=a._links,b=a.circular;(i=b?u.sankeyCircular().circularLinkGap(0):l.sankey()).iterations(r.sankeyIterations).size(p?[v,g]:[g,v]).nodeWidth(d).nodePadding(f).nodeId((function(t){return t.pointNumber})).nodes(y).links(_);var x,w,A,C=i();for(var M in i.nodePadding()<f&&h.warn(\\\"node.pad was reduced to \\\",i.nodePadding(),\\\" to fit within the figure.\\\"),a._groupLookup){var E,T=parseInt(a._groupLookup[M]);for(x=0;x<C.nodes.length;x++)if(C.nodes[x].pointNumber===T){E=C.nodes[x];break}if(E){var S={pointNumber:parseInt(M),x0:E.x0,x1:E.x1,y0:E.y0,y1:E.y1,partOfGroup:!0,sourceLinks:[],targetLinks:[]};C.nodes.unshift(S),E.childrenNodes.unshift(S)}}if(function(){for(x=0;x<C.nodes.length;x++){var t,e,n=C.nodes[x],r={};for(w=0;w<n.targetLinks.length;w++)t=(e=n.targetLinks[w]).source.pointNumber+\\\":\\\"+e.target.pointNumber,r.hasOwnProperty(t)||(r[t]=[]),r[t].push(e);var i=Object.keys(r);for(w=0;w<i.length;w++){var a=r[t=i[w]],s=0,l={};for(A=0;A<a.length;A++)l[(e=a[A]).label]||(l[e.label]=0),l[e.label]+=e.value,s+=e.value;for(A=0;A<a.length;A++)(e=a[A]).flow={value:s,labelConcentration:l[e.label]/s,concentration:e.value/s,links:a},e.concentrationscale&&(e.color=o(e.concentrationscale(e.flow.labelConcentration)))}var u=0;for(w=0;w<n.sourceLinks.length;w++)u+=n.sourceLinks[w].value;for(w=0;w<n.sourceLinks.length;w++)(e=n.sourceLinks[w]).concentrationOut=e.value/u;var c=0;for(w=0;w<n.targetLinks.length;w++)c+=n.targetLinks[w].value;for(w=0;w<n.targetLinks.length;w++)(e=n.targetLinks[w]).concenrationIn=e.value/c}}(),s.node.x.length&&s.node.y.length){for(x=0;x<Math.min(s.node.x.length,s.node.y.length,C.nodes.length);x++)if(s.node.x[x]&&s.node.y[x]){var k=[s.node.x[x]*v,s.node.y[x]*g];C.nodes[x].x0=k[0]-d/2,C.nodes[x].x1=k[0]+d/2;var O=C.nodes[x].y1-C.nodes[x].y0;C.nodes[x].y0=k[1]-O/2,C.nodes[x].y1=k[1]+O/2}\\\"snap\\\"===s.arrangement&&function(t){var e,n,r=t.map((function(t,e){return{x0:t.x0,index:e}})).sort((function(t,e){return t.x0-e.x0})),i=[],o=-1,a=-1/0;for(x=0;x<r.length;x++){var s=t[r[x].index];s.x0>a+d&&(o+=1,e=s.x0),a=s.x0,i[o]||(i[o]=[]),i[o].push(s),n=e-s.x0,s.x0+=n,s.x1+=n}return i}(y=C.nodes).forEach((function(t){var e,n,r,i=0,o=t.length;for(t.sort((function(t,e){return t.y0-e.y0})),r=0;r<o;++r)(e=t[r]).y0>=i||(n=i-e.y0)>1e-6&&(e.y0+=n,e.y1+=n),i=e.y1+f})),i.update(C)}return{circular:b,key:n,trace:s,guid:h.randstr(),horizontal:p,width:v,height:g,nodePad:s.node.pad,nodeLineColor:s.node.line.color,nodeLineWidth:s.node.line.width,linkLineColor:s.link.line.color,linkLineWidth:s.link.line.width,valueFormat:s.valueformat,valueSuffix:s.valuesuffix,textFont:s.textfont,translateX:c.x[0]*t.width+t.margin.l,translateY:t.height-c.y[1]*t.height+t.margin.t,dragParallel:p?g:v,dragPerpendicular:p?v:g,arrangement:s.arrangement,sankey:i,graph:C,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function _(t,e,n){var r=o(e.color),i=e.source.label+\\\"|\\\"+e.target.label+\\\"__\\\"+n;return e.trace=t.trace,e.curveNumber=t.trace.index,{circular:t.circular,key:i,traceId:t.key,pointNumber:e.pointNumber,link:e,tinyColorHue:a.tinyRGB(r),tinyColorAlpha:r.getAlpha(),linkPath:b,linkLineColor:t.linkLineColor,linkLineWidth:t.linkLineWidth,valueFormat:t.valueFormat,valueSuffix:t.valueSuffix,sankey:t.sankey,parent:t,interactionState:t.interactionState,flow:e.flow}}function b(){return function(t){if(t.link.circular)return e=t.link,n=e.width/2,r=e.circularPathData,\\\"top\\\"===e.circularLinkType?\\\"M \\\"+r.targetX+\\\" \\\"+(r.targetY+n)+\\\" L\\\"+r.rightInnerExtent+\\\" \\\"+(r.targetY+n)+\\\"A\\\"+(r.rightLargeArcRadius+n)+\\\" \\\"+(r.rightSmallArcRadius+n)+\\\" 0 0 1 \\\"+(r.rightFullExtent-n)+\\\" \\\"+(r.targetY-r.rightSmallArcRadius)+\\\"L\\\"+(r.rightFullExtent-n)+\\\" \\\"+r.verticalRightInnerExtent+\\\"A\\\"+(r.rightLargeArcRadius+n)+\\\" \\\"+(r.rightLargeArcRadius+n)+\\\" 0 0 1 \\\"+r.rightInnerExtent+\\\" \\\"+(r.verticalFullExtent-n)+\\\"L\\\"+r.leftInnerExtent+\\\" \\\"+(r.verticalFullExtent-n)+\\\"A\\\"+(r.leftLargeArcRadius+n)+\\\" \\\"+(r.leftLargeArcRadius+n)+\\\" 0 0 1 \\\"+(r.leftFullExtent+n)+\\\" \\\"+r.verticalLeftInnerExtent+\\\"L\\\"+(r.leftFullExtent+n)+\\\" \\\"+(r.sourceY-r.leftSmallArcRadius)+\\\"A\\\"+(r.leftLargeArcRadius+n)+\\\" \\\"+(r.leftSmallArcRadius+n)+\\\" 0 0 1 \\\"+r.leftInnerExtent+\\\" \\\"+(r.sourceY+n)+\\\"L\\\"+r.sourceX+\\\" \\\"+(r.sourceY+n)+\\\"L\\\"+r.sourceX+\\\" \\\"+(r.sourceY-n)+\\\"L\\\"+r.leftInnerExtent+\\\" \\\"+(r.sourceY-n)+\\\"A\\\"+(r.leftLargeArcRadius-n)+\\\" \\\"+(r.leftSmallArcRadius-n)+\\\" 0 0 0 \\\"+(r.leftFullExtent-n)+\\\" \\\"+(r.sourceY-r.leftSmallArcRadius)+\\\"L\\\"+(r.leftFullExtent-n)+\\\" \\\"+r.verticalLeftInnerExtent+\\\"A\\\"+(r.leftLargeArcRadius-n)+\\\" \\\"+(r.leftLargeArcRadius-n)+\\\" 0 0 0 \\\"+r.leftInnerExtent+\\\" \\\"+(r.verticalFullExtent+n)+\\\"L\\\"+r.rightInnerExtent+\\\" \\\"+(r.verticalFullExtent+n)+\\\"A\\\"+(r.rightLargeArcRadius-n)+\\\" \\\"+(r.rightLargeArcRadius-n)+\\\" 0 0 0 \\\"+(r.rightFullExtent+n)+\\\" \\\"+r.verticalRightInnerExtent+\\\"L\\\"+(r.rightFullExtent+n)+\\\" \\\"+(r.targetY-r.rightSmallArcRadius)+\\\"A\\\"+(r.rightLargeArcRadius-n)+\\\" \\\"+(r.rightSmallArcRadius-n)+\\\" 0 0 0 \\\"+r.rightInnerExtent+\\\" \\\"+(r.targetY-n)+\\\"L\\\"+r.targetX+\\\" \\\"+(r.targetY-n)+\\\"Z\\\":\\\"M \\\"+r.targetX+\\\" \\\"+(r.targetY-n)+\\\" L\\\"+r.rightInnerExtent+\\\" \\\"+(r.targetY-n)+\\\"A\\\"+(r.rightLargeArcRadius+n)+\\\" \\\"+(r.rightSmallArcRadius+n)+\\\" 0 0 0 \\\"+(r.rightFullExtent-n)+\\\" \\\"+(r.targetY+r.rightSmallArcRadius)+\\\"L\\\"+(r.rightFullExtent-n)+\\\" \\\"+r.verticalRightInnerExtent+\\\"A\\\"+(r.rightLargeArcRadius+n)+\\\" \\\"+(r.rightLargeArcRadius+n)+\\\" 0 0 0 \\\"+r.rightInnerExtent+\\\" \\\"+(r.verticalFullExtent+n)+\\\"L\\\"+r.leftInnerExtent+\\\" \\\"+(r.verticalFullExtent+n)+\\\"A\\\"+(r.leftLargeArcRadius+n)+\\\" \\\"+(r.leftLargeArcRadius+n)+\\\" 0 0 0 \\\"+(r.leftFullExtent+n)+\\\" \\\"+r.verticalLeftInnerExtent+\\\"L\\\"+(r.leftFullExtent+n)+\\\" \\\"+(r.sourceY+r.leftSmallArcRadius)+\\\"A\\\"+(r.leftLargeArcRadius+n)+\\\" \\\"+(r.leftSmallArcRadius+n)+\\\" 0 0 0 \\\"+r.leftInnerExtent+\\\" \\\"+(r.sourceY-n)+\\\"L\\\"+r.sourceX+\\\" \\\"+(r.sourceY-n)+\\\"L\\\"+r.sourceX+\\\" \\\"+(r.sourceY+n)+\\\"L\\\"+r.leftInnerExtent+\\\" \\\"+(r.sourceY+n)+\\\"A\\\"+(r.leftLargeArcRadius-n)+\\\" \\\"+(r.leftSmallArcRadius-n)+\\\" 0 0 1 \\\"+(r.leftFullExtent-n)+\\\" \\\"+(r.sourceY+r.leftSmallArcRadius)+\\\"L\\\"+(r.leftFullExtent-n)+\\\" \\\"+r.verticalLeftInnerExtent+\\\"A\\\"+(r.leftLargeArcRadius-n)+\\\" \\\"+(r.leftLargeArcRadius-n)+\\\" 0 0 1 \\\"+r.leftInnerExtent+\\\" \\\"+(r.verticalFullExtent-n)+\\\"L\\\"+r.rightInnerExtent+\\\" \\\"+(r.verticalFullExtent-n)+\\\"A\\\"+(r.rightLargeArcRadius-n)+\\\" \\\"+(r.rightLargeArcRadius-n)+\\\" 0 0 1 \\\"+(r.rightFullExtent+n)+\\\" \\\"+r.verticalRightInnerExtent+\\\"L\\\"+(r.rightFullExtent+n)+\\\" \\\"+(r.targetY+r.rightSmallArcRadius)+\\\"A\\\"+(r.rightLargeArcRadius-n)+\\\" \\\"+(r.rightSmallArcRadius-n)+\\\" 0 0 1 \\\"+r.rightInnerExtent+\\\" \\\"+(r.targetY+n)+\\\"L\\\"+r.targetX+\\\" \\\"+(r.targetY+n)+\\\"Z\\\";var e,n,r,i=t.link.source.x1,o=t.link.target.x0,a=v(i,o),s=a(.5),l=a(.5),u=t.link.y0-t.link.width/2,c=t.link.y0+t.link.width/2,h=t.link.y1-t.link.width/2,p=t.link.y1+t.link.width/2;return\\\"M\\\"+i+\\\",\\\"+u+\\\"C\\\"+s+\\\",\\\"+u+\\\" \\\"+l+\\\",\\\"+h+\\\" \\\"+o+\\\",\\\"+h+\\\"L\\\"+o+\\\",\\\"+p+\\\"C\\\"+l+\\\",\\\"+p+\\\" \\\"+s+\\\",\\\"+c+\\\" \\\"+i+\\\",\\\"+c+\\\"Z\\\"}}function x(t,e){var n=o(e.color),i=r.nodePadAcross,s=t.nodePad/2;e.dx=e.x1-e.x0,e.dy=e.y1-e.y0;var l=e.dx,u=Math.max(.5,e.dy),c=\\\"node_\\\"+e.pointNumber;return e.group&&(c=h.randstr()),e.trace=t.trace,e.curveNumber=t.trace.index,{index:e.pointNumber,key:c,partOfGroup:e.partOfGroup||!1,group:e.group,traceId:t.key,trace:t.trace,node:e,nodePad:t.nodePad,nodeLineColor:t.nodeLineColor,nodeLineWidth:t.nodeLineWidth,textFont:t.textFont,size:t.horizontal?t.height:t.width,visibleWidth:Math.ceil(l),visibleHeight:u,zoneX:-i,zoneY:-s,zoneWidth:l+2*i,zoneHeight:u+2*s,labelY:t.horizontal?e.dy/2+1:e.dx/2+1,left:1===e.originalLayer,sizeAcross:t.width,forceLayouts:t.forceLayouts,horizontal:t.horizontal,darkBackground:n.getBrightness()<=128,tinyColorHue:a.tinyRGB(n),tinyColorAlpha:n.getAlpha(),valueFormat:t.valueFormat,valueSuffix:t.valueSuffix,sankey:t.sankey,graph:t.graph,arrangement:t.arrangement,uniqueNodeLabelPathId:[t.guid,t.key,c].join(\\\"_\\\"),interactionState:t.interactionState,figure:t}}function w(t){t.attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.node.x0.toFixed(3)+\\\", \\\"+t.node.y0.toFixed(3)+\\\")\\\"}))}function A(t){t.call(w)}function C(t,e){t.call(A),e.attr(\\\"d\\\",b())}function M(t){t.attr(\\\"width\\\",(function(t){return t.node.x1-t.node.x0})).attr(\\\"height\\\",(function(t){return t.visibleHeight}))}function E(t){return t.link.width>1||t.linkLineWidth>0}function T(t){return\\\"translate(\\\"+t.translateX+\\\",\\\"+t.translateY+\\\")\\\"+(t.horizontal?\\\"matrix(1 0 0 1 0 0)\\\":\\\"matrix(0 1 1 0 0 0)\\\")}function S(t){return\\\"translate(\\\"+(t.horizontal?0:t.labelY)+\\\" \\\"+(t.horizontal?t.labelY:0)+\\\")\\\"}function k(t){return i.svg.line()([[t.horizontal?t.left?-t.sizeAcross:t.visibleWidth+r.nodeTextOffsetHorizontal:r.nodeTextOffsetHorizontal,0],[t.horizontal?t.left?-r.nodeTextOffsetHorizontal:t.sizeAcross:t.visibleHeight-r.nodeTextOffsetHorizontal,0]])}function O(t){return t.horizontal?\\\"matrix(1 0 0 1 0 0)\\\":\\\"matrix(0 1 1 0 0 0)\\\"}function I(t){return t.horizontal?\\\"scale(1 1)\\\":\\\"scale(-1 1)\\\"}function L(t){return t.darkBackground&&!t.horizontal?\\\"rgb(255,255,255)\\\":\\\"rgb(0,0,0)\\\"}function P(t){return t.horizontal&&t.left?\\\"100%\\\":\\\"0%\\\"}function z(t,e,n){t.on(\\\".basic\\\",null).on(\\\"mouseover.basic\\\",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(n.hover(this,t,e),t.interactionState.hovered=[this,t])})).on(\\\"mousemove.basic\\\",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(n.follow(this,t),t.interactionState.hovered=[this,t])})).on(\\\"mouseout.basic\\\",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(n.unhover(this,t,e),t.interactionState.hovered=!1)})).on(\\\"click.basic\\\",(function(t){t.interactionState.hovered&&(n.unhover(this,t,e),t.interactionState.hovered=!1),t.interactionState.dragInProgress||t.partOfGroup||n.select(this,t,e)}))}function R(t,e,n,o){var a=i.behavior.drag().origin((function(t){return{x:t.node.x0+t.visibleWidth/2,y:t.node.y0+t.visibleHeight/2}})).on(\\\"dragstart\\\",(function(i){if(\\\"fixed\\\"!==i.arrangement&&(h.ensureSingle(o._fullLayout._infolayer,\\\"g\\\",\\\"dragcover\\\",(function(t){o._fullLayout._dragCover=t})),h.raiseToTop(this),i.interactionState.dragInProgress=i.node,$(i.node),i.interactionState.hovered&&(n.nodeEvents.unhover.apply(0,i.interactionState.hovered),i.interactionState.hovered=!1),\\\"snap\\\"===i.arrangement)){var a=i.traceId+\\\"|\\\"+i.key;i.forceLayouts[a]?i.forceLayouts[a].alpha(1):function(t,e,n,i){!function(t){for(var e=0;e<t.length;e++)t[e].y=(t[e].y0+t[e].y1)/2,t[e].x=(t[e].x0+t[e].x1)/2}(n.graph.nodes);var o=n.graph.nodes.filter((function(t){return t.originalX===n.node.originalX})).filter((function(t){return!t.partOfGroup}));n.forceLayouts[e]=c.forceSimulation(o).alphaDecay(0).force(\\\"collide\\\",c.forceCollide().radius((function(t){return t.dy/2+n.nodePad/2})).strength(1).iterations(r.forceIterations)).force(\\\"constrain\\\",function(t,e,n,i){return function(){for(var t=0,o=0;o<n.length;o++){var a=n[o];a===i.interactionState.dragInProgress?(a.x=a.lastDraggedX,a.y=a.lastDraggedY):(a.vx=(a.originalX-a.x)/r.forceTicksPerFrame,a.y=Math.min(i.size-a.dy/2,Math.max(a.dy/2,a.y))),t=Math.max(t,Math.abs(a.vx),Math.abs(a.vy))}!i.interactionState.dragInProgress&&t<.1&&i.forceLayouts[e].alpha()>0&&i.forceLayouts[e].alpha(0)}}(0,e,o,n)).stop()}(0,a,i),function(t,e,n,i,o){window.requestAnimationFrame((function a(){var s;for(s=0;s<r.forceTicksPerFrame;s++)n.forceLayouts[i].tick();if(function(t){for(var e=0;e<t.length;e++)t[e].y0=t[e].y-t[e].dy/2,t[e].y1=t[e].y0+t[e].dy,t[e].x0=t[e].x-t[e].dx/2,t[e].x1=t[e].x0+t[e].dx}(n.graph.nodes),n.sankey.update(n.graph),C(t.filter(B(n)),e),n.forceLayouts[i].alpha()>0)window.requestAnimationFrame(a);else{var l=n.node.originalX;n.node.x0=l-n.visibleWidth/2,n.node.x1=l+n.visibleWidth/2,D(n,o)}}))}(t,e,i,a,o)}})).on(\\\"drag\\\",(function(n){if(\\\"fixed\\\"!==n.arrangement){var r=i.event.x,o=i.event.y;\\\"snap\\\"===n.arrangement?(n.node.x0=r-n.visibleWidth/2,n.node.x1=r+n.visibleWidth/2,n.node.y0=o-n.visibleHeight/2,n.node.y1=o+n.visibleHeight/2):(\\\"freeform\\\"===n.arrangement&&(n.node.x0=r-n.visibleWidth/2,n.node.x1=r+n.visibleWidth/2),o=Math.max(0,Math.min(n.size-n.visibleHeight/2,o)),n.node.y0=o-n.visibleHeight/2,n.node.y1=o+n.visibleHeight/2),$(n.node),\\\"snap\\\"!==n.arrangement&&(n.sankey.update(n.graph),C(t.filter(B(n)),e))}})).on(\\\"dragend\\\",(function(t){if(\\\"fixed\\\"!==t.arrangement){t.interactionState.dragInProgress=!1;for(var e=0;e<t.node.childrenNodes.length;e++)t.node.childrenNodes[e].x=t.node.x,t.node.childrenNodes[e].y=t.node.y;\\\"snap\\\"!==t.arrangement&&D(t,o)}}));t.on(\\\".drag\\\",null).call(a)}function D(t,e){for(var n=[],r=[],i=0;i<t.graph.nodes.length;i++){var o=(t.graph.nodes[i].x0+t.graph.nodes[i].x1)/2,a=(t.graph.nodes[i].y0+t.graph.nodes[i].y1)/2;n.push(o/t.figure.width),r.push(a/t.figure.height)}g.call(\\\"_guiRestyle\\\",e,{\\\"node.x\\\":[n],\\\"node.y\\\":[r]},t.trace.index).then((function(){e._fullLayout._dragCover&&e._fullLayout._dragCover.remove()}))}function $(t){t.lastDraggedX=t.x0+t.dx/2,t.lastDraggedY=t.y0+t.dy/2}function B(t){return function(e){return e.node.originalX===t.node.originalX}}e.exports=function(t,e,n,l,u){var c=!1;h.ensureSingle(t._fullLayout._infolayer,\\\"g\\\",\\\"first-render\\\",(function(){c=!0}));var p=t._fullLayout._dragCover,v=n.filter((function(t){return m(t).trace.visible})).map(y.bind(null,l)),g=e.selectAll(\\\".\\\"+r.cn.sankey).data(v,f);g.exit().remove(),g.enter().append(\\\"g\\\").classed(r.cn.sankey,!0).style(\\\"box-sizing\\\",\\\"content-box\\\").style(\\\"position\\\",\\\"absolute\\\").style(\\\"left\\\",0).style(\\\"shape-rendering\\\",\\\"geometricPrecision\\\").style(\\\"pointer-events\\\",\\\"auto\\\").attr(\\\"transform\\\",T),g.each((function(e,n){t._fullData[n]._sankey=e;var r=\\\"bgsankey-\\\"+e.trace.uid+\\\"-\\\"+n;h.ensureSingle(t._fullLayout._draggers,\\\"rect\\\",r),t._fullData[n]._bgRect=i.select(\\\".\\\"+r),t._fullData[n]._bgRect.style(\\\"pointer-events\\\",\\\"all\\\").attr(\\\"width\\\",e.width).attr(\\\"height\\\",e.height).attr(\\\"x\\\",e.translateX).attr(\\\"y\\\",e.translateY).classed(\\\"bgsankey\\\",!0).style({fill:\\\"transparent\\\",\\\"stroke-width\\\":0})})),g.transition().ease(r.ease).duration(r.duration).attr(\\\"transform\\\",T);var A=g.selectAll(\\\".\\\"+r.cn.sankeyLinks).data(d,f);A.enter().append(\\\"g\\\").classed(r.cn.sankeyLinks,!0).style(\\\"fill\\\",\\\"none\\\");var C=A.selectAll(\\\".\\\"+r.cn.sankeyLink).data((function(t){return t.graph.links.filter((function(t){return t.value})).map(_.bind(null,t))}),f);C.enter().append(\\\"path\\\").classed(r.cn.sankeyLink,!0).call(z,g,u.linkEvents),C.style(\\\"stroke\\\",(function(t){return E(t)?a.tinyRGB(o(t.linkLineColor)):t.tinyColorHue})).style(\\\"stroke-opacity\\\",(function(t){return E(t)?a.opacity(t.linkLineColor):t.tinyColorAlpha})).style(\\\"fill\\\",(function(t){return t.tinyColorHue})).style(\\\"fill-opacity\\\",(function(t){return t.tinyColorAlpha})).style(\\\"stroke-width\\\",(function(t){return E(t)?t.linkLineWidth:1})).attr(\\\"d\\\",b()),C.style(\\\"opacity\\\",(function(){return t._context.staticPlot||c||p?1:0})).transition().ease(r.ease).duration(r.duration).style(\\\"opacity\\\",1),C.exit().transition().ease(r.ease).duration(r.duration).style(\\\"opacity\\\",0).remove();var D=g.selectAll(\\\".\\\"+r.cn.sankeyNodeSet).data(d,f);D.enter().append(\\\"g\\\").classed(r.cn.sankeyNodeSet,!0),D.style(\\\"cursor\\\",(function(t){switch(t.arrangement){case\\\"fixed\\\":return\\\"default\\\";case\\\"perpendicular\\\":return\\\"ns-resize\\\";default:return\\\"move\\\"}}));var $=D.selectAll(\\\".\\\"+r.cn.sankeyNode).data((function(t){var e=t.graph.nodes;return function(t){var e,n=[];for(e=0;e<t.length;e++)t[e].originalX=(t[e].x0+t[e].x1)/2,t[e].originalY=(t[e].y0+t[e].y1)/2,-1===n.indexOf(t[e].originalX)&&n.push(t[e].originalX);for(n.sort((function(t,e){return t-e})),e=0;e<t.length;e++)t[e].originalLayerIndex=n.indexOf(t[e].originalX),t[e].originalLayer=t[e].originalLayerIndex/(n.length-1)}(e),e.map(x.bind(null,t))}),f);$.enter().append(\\\"g\\\").classed(r.cn.sankeyNode,!0).call(w).style(\\\"opacity\\\",(function(e){return!t._context.staticPlot&&!c||e.partOfGroup?0:1})),$.call(z,g,u.nodeEvents).call(R,C,u,t),$.transition().ease(r.ease).duration(r.duration).call(w).style(\\\"opacity\\\",(function(t){return t.partOfGroup?0:1})),$.exit().transition().ease(r.ease).duration(r.duration).style(\\\"opacity\\\",0).remove();var B=$.selectAll(\\\".\\\"+r.cn.nodeRect).data(d);B.enter().append(\\\"rect\\\").classed(r.cn.nodeRect,!0).call(M),B.style(\\\"stroke-width\\\",(function(t){return t.nodeLineWidth})).style(\\\"stroke\\\",(function(t){return a.tinyRGB(o(t.nodeLineColor))})).style(\\\"stroke-opacity\\\",(function(t){return a.opacity(t.nodeLineColor)})).style(\\\"fill\\\",(function(t){return t.tinyColorHue})).style(\\\"fill-opacity\\\",(function(t){return t.tinyColorAlpha})),B.transition().ease(r.ease).duration(r.duration).call(M);var N=$.selectAll(\\\".\\\"+r.cn.nodeCapture).data(d);N.enter().append(\\\"rect\\\").classed(r.cn.nodeCapture,!0).style(\\\"fill-opacity\\\",0),N.attr(\\\"x\\\",(function(t){return t.zoneX})).attr(\\\"y\\\",(function(t){return t.zoneY})).attr(\\\"width\\\",(function(t){return t.zoneWidth})).attr(\\\"height\\\",(function(t){return t.zoneHeight}));var F=$.selectAll(\\\".\\\"+r.cn.nodeCentered).data(d);F.enter().append(\\\"g\\\").classed(r.cn.nodeCentered,!0).attr(\\\"transform\\\",S),F.transition().ease(r.ease).duration(r.duration).attr(\\\"transform\\\",S);var j=F.selectAll(\\\".\\\"+r.cn.nodeLabelGuide).data(d);j.enter().append(\\\"path\\\").classed(r.cn.nodeLabelGuide,!0).attr(\\\"id\\\",(function(t){return t.uniqueNodeLabelPathId})).attr(\\\"d\\\",k).attr(\\\"transform\\\",O),j.transition().ease(r.ease).duration(r.duration).attr(\\\"d\\\",k).attr(\\\"transform\\\",O);var U=F.selectAll(\\\".\\\"+r.cn.nodeLabel).data(d);U.enter().append(\\\"text\\\").classed(r.cn.nodeLabel,!0).attr(\\\"transform\\\",I).style(\\\"user-select\\\",\\\"none\\\").style(\\\"cursor\\\",\\\"default\\\").style(\\\"fill\\\",\\\"black\\\"),U.style(\\\"text-shadow\\\",(function(t){return t.horizontal?\\\"-1px 1px 1px #fff, 1px 1px 1px #fff, 1px -1px 1px #fff, -1px -1px 1px #fff\\\":\\\"none\\\"})).each((function(t){s.font(U,t.textFont)})),U.transition().ease(r.ease).duration(r.duration).attr(\\\"transform\\\",I);var q=U.selectAll(\\\".\\\"+r.cn.nodeLabelTextPath).data(d);q.enter().append(\\\"textPath\\\").classed(r.cn.nodeLabelTextPath,!0).attr(\\\"alignment-baseline\\\",\\\"middle\\\").attr(\\\"xlink:href\\\",(function(t){return\\\"#\\\"+t.uniqueNodeLabelPathId})).attr(\\\"startOffset\\\",P).style(\\\"fill\\\",L),q.text((function(t){return t.horizontal||t.node.dy>5?t.node.label:\\\"\\\"})).attr(\\\"text-anchor\\\",(function(t){return t.horizontal&&t.left?\\\"end\\\":\\\"start\\\"})),q.transition().ease(r.ease).duration(r.duration).attr(\\\"startOffset\\\",P).style(\\\"fill\\\",L)}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/gup\\\":726,\\\"../../registry\\\":859,\\\"./constants\\\":1127,\\\"@plotly/d3-sankey\\\":56,\\\"@plotly/d3-sankey-circular\\\":55,d3:164,\\\"d3-force\\\":157,\\\"d3-interpolate\\\":159,tinycolor2:528}],1132:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){for(var n=[],r=t.cd[0].trace,i=r._sankey.graph.nodes,o=0;o<i.length;o++){var a=i[o];if(!a.partOfGroup){var s=[(a.x0+a.x1)/2,(a.y0+a.y1)/2];\\\"v\\\"===r.orientation&&s.reverse(),e&&e.contains(s,!1,o,t)&&n.push({pointNumber:a.pointNumber})}}return n}},{}],1133:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e){for(var n=0;n<t.length;n++)t[n].i=n;r.mergeArray(e.text,t,\\\"tx\\\"),r.mergeArray(e.texttemplate,t,\\\"txt\\\"),r.mergeArray(e.hovertext,t,\\\"htx\\\"),r.mergeArray(e.customdata,t,\\\"data\\\"),r.mergeArray(e.textposition,t,\\\"tp\\\"),e.textfont&&(r.mergeArrayCastPositive(e.textfont.size,t,\\\"ts\\\"),r.mergeArray(e.textfont.color,t,\\\"tc\\\"),r.mergeArray(e.textfont.family,t,\\\"tf\\\"));var i=e.marker;if(i){r.mergeArrayCastPositive(i.size,t,\\\"ms\\\"),r.mergeArrayCastPositive(i.opacity,t,\\\"mo\\\"),r.mergeArray(i.symbol,t,\\\"mx\\\"),r.mergeArray(i.color,t,\\\"mc\\\");var o=i.line;i.line&&(r.mergeArray(o.color,t,\\\"mlc\\\"),r.mergeArrayCastPositive(o.width,t,\\\"mlw\\\"));var a=i.gradient;a&&\\\"none\\\"!==a.type&&(r.mergeArray(a.type,t,\\\"mgt\\\"),r.mergeArray(a.color,t,\\\"mgc\\\"))}}},{\\\"../../lib\\\":728}],1134:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../../components/colorscale/attributes\\\"),a=t(\\\"../../plots/font_attributes\\\"),s=t(\\\"../../components/drawing/attributes\\\").dash,l=t(\\\"../../components/drawing\\\"),u=t(\\\"./constants\\\"),c=t(\\\"../../lib/extend\\\").extendFlat;e.exports={x:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\",anim:!0},x0:{valType:\\\"any\\\",dflt:0,editType:\\\"calc+clearAxisTypes\\\",anim:!0},dx:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\",anim:!0},y:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\",anim:!0},y0:{valType:\\\"any\\\",dflt:0,editType:\\\"calc+clearAxisTypes\\\",anim:!0},dy:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\",anim:!0},stackgroup:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},orientation:{valType:\\\"enumerated\\\",values:[\\\"v\\\",\\\"h\\\"],editType:\\\"calc\\\"},groupnorm:{valType:\\\"enumerated\\\",values:[\\\"\\\",\\\"fraction\\\",\\\"percent\\\"],dflt:\\\"\\\",editType:\\\"calc\\\"},stackgaps:{valType:\\\"enumerated\\\",values:[\\\"infer zero\\\",\\\"interpolate\\\"],dflt:\\\"infer zero\\\",editType:\\\"calc\\\"},text:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"calc\\\"},texttemplate:r({},{}),hovertext:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0,editType:\\\"style\\\"},mode:{valType:\\\"flaglist\\\",flags:[\\\"lines\\\",\\\"markers\\\",\\\"text\\\"],extras:[\\\"none\\\"],editType:\\\"calc\\\"},hoveron:{valType:\\\"flaglist\\\",flags:[\\\"points\\\",\\\"fills\\\"],editType:\\\"style\\\"},hovertemplate:i({},{keys:u.eventDataKeys}),line:{color:{valType:\\\"color\\\",editType:\\\"style\\\",anim:!0},width:{valType:\\\"number\\\",min:0,dflt:2,editType:\\\"style\\\",anim:!0},shape:{valType:\\\"enumerated\\\",values:[\\\"linear\\\",\\\"spline\\\",\\\"hv\\\",\\\"vh\\\",\\\"hvh\\\",\\\"vhv\\\"],dflt:\\\"linear\\\",editType:\\\"plot\\\"},smoothing:{valType:\\\"number\\\",min:0,max:1.3,dflt:1,editType:\\\"plot\\\"},dash:c({},s,{editType:\\\"style\\\"}),simplify:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},editType:\\\"plot\\\"},connectgaps:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},cliponaxis:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},fill:{valType:\\\"enumerated\\\",values:[\\\"none\\\",\\\"tozeroy\\\",\\\"tozerox\\\",\\\"tonexty\\\",\\\"tonextx\\\",\\\"toself\\\",\\\"tonext\\\"],editType:\\\"calc\\\"},fillcolor:{valType:\\\"color\\\",editType:\\\"style\\\",anim:!0},marker:c({symbol:{valType:\\\"enumerated\\\",values:l.symbolList,dflt:\\\"circle\\\",arrayOk:!0,editType:\\\"style\\\"},opacity:{valType:\\\"number\\\",min:0,max:1,arrayOk:!0,editType:\\\"style\\\",anim:!0},size:{valType:\\\"number\\\",min:0,dflt:6,arrayOk:!0,editType:\\\"calc\\\",anim:!0},maxdisplayed:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"plot\\\"},sizeref:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},sizemin:{valType:\\\"number\\\",min:0,dflt:0,editType:\\\"calc\\\"},sizemode:{valType:\\\"enumerated\\\",values:[\\\"diameter\\\",\\\"area\\\"],dflt:\\\"diameter\\\",editType:\\\"calc\\\"},line:c({width:{valType:\\\"number\\\",min:0,arrayOk:!0,editType:\\\"style\\\",anim:!0},editType:\\\"calc\\\"},o(\\\"marker.line\\\",{anim:!0})),gradient:{type:{valType:\\\"enumerated\\\",values:[\\\"radial\\\",\\\"horizontal\\\",\\\"vertical\\\",\\\"none\\\"],arrayOk:!0,dflt:\\\"none\\\",editType:\\\"calc\\\"},color:{valType:\\\"color\\\",arrayOk:!0,editType:\\\"calc\\\"},editType:\\\"calc\\\"},editType:\\\"calc\\\"},o(\\\"marker\\\",{anim:!0})),selected:{marker:{opacity:{valType:\\\"number\\\",min:0,max:1,editType:\\\"style\\\"},color:{valType:\\\"color\\\",editType:\\\"style\\\"},size:{valType:\\\"number\\\",min:0,editType:\\\"style\\\"},editType:\\\"style\\\"},textfont:{color:{valType:\\\"color\\\",editType:\\\"style\\\"},editType:\\\"style\\\"},editType:\\\"style\\\"},unselected:{marker:{opacity:{valType:\\\"number\\\",min:0,max:1,editType:\\\"style\\\"},color:{valType:\\\"color\\\",editType:\\\"style\\\"},size:{valType:\\\"number\\\",min:0,editType:\\\"style\\\"},editType:\\\"style\\\"},textfont:{color:{valType:\\\"color\\\",editType:\\\"style\\\"},editType:\\\"style\\\"},editType:\\\"style\\\"},textposition:{valType:\\\"enumerated\\\",values:[\\\"top left\\\",\\\"top center\\\",\\\"top right\\\",\\\"middle left\\\",\\\"middle center\\\",\\\"middle right\\\",\\\"bottom left\\\",\\\"bottom center\\\",\\\"bottom right\\\"],dflt:\\\"middle center\\\",arrayOk:!0,editType:\\\"calc\\\"},textfont:a({editType:\\\"calc\\\",colorEditType:\\\"style\\\",arrayOk:!0}),r:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},t:{valType:\\\"data_array\\\",editType:\\\"calc\\\"}}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../components/drawing\\\":617,\\\"../../components/drawing/attributes\\\":616,\\\"../../lib/extend\\\":719,\\\"../../plots/font_attributes\\\":804,\\\"../../plots/template_attributes\\\":854,\\\"./constants\\\":1138}],1135:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"../../constants/numerical\\\").BADNUM,s=t(\\\"./subtypes\\\"),l=t(\\\"./colorscale_calc\\\"),u=t(\\\"./arrays_to_calcdata\\\"),c=t(\\\"./calc_selection\\\");function h(t,e,n,r,i,a,l){var u=e._length,c=t._fullLayout,h=n._id,p=r._id,f=c._firstScatter[d(e)]===e.uid,v=(m(e,c,n,r)||{}).orientation,g=e.fill;n._minDtick=0,r._minDtick=0;var y={padded:!0},_={padded:!0};l&&(y.ppad=_.ppad=l);var b=u<2||i[0]!==i[u-1]||a[0]!==a[u-1];b&&(\\\"tozerox\\\"===g||\\\"tonextx\\\"===g&&(f||\\\"h\\\"===v))?y.tozero=!0:(e.error_y||{}).visible||\\\"tonexty\\\"!==g&&\\\"tozeroy\\\"!==g&&(s.hasMarkers(e)||s.hasText(e))||(y.padded=!1,y.ppad=0),b&&(\\\"tozeroy\\\"===g||\\\"tonexty\\\"===g&&(f||\\\"v\\\"===v))?_.tozero=!0:\\\"tonextx\\\"!==g&&\\\"tozerox\\\"!==g||(_.padded=!1),h&&(e._extremes[h]=o.findExtremes(n,i,y)),p&&(e._extremes[p]=o.findExtremes(r,a,_))}function p(t,e){if(s.hasMarkers(t)){var n,r=t.marker,a=1.6*(t.marker.sizeref||1);if(n=\\\"area\\\"===t.marker.sizemode?function(t){return Math.max(Math.sqrt((t||0)/a),3)}:function(t){return Math.max((t||0)/a,3)},i.isArrayOrTypedArray(r.size)){var l={type:\\\"linear\\\"};o.setConvert(l);for(var u=l.makeCalcdata(t.marker,\\\"size\\\"),c=new Array(e),h=0;h<e;h++)c[h]=n(u[h]);return c}return n(r.size)}}function f(t,e){var n=d(e),r=t._firstScatter;r[n]||(r[n]=e.uid)}function d(t){var e=t.stackgroup;return t.xaxis+t.yaxis+t.type+(e?\\\"-\\\"+e:\\\"\\\")}function m(t,e,n,r){var i=t.stackgroup;if(i){var o=e._scatterStackOpts[n._id+r._id][i],a=\\\"v\\\"===o.orientation?r:n;return\\\"linear\\\"===a.type||\\\"log\\\"===a.type?o:void 0}}e.exports={calc:function(t,e){var n,s,d,v,g,y,_=t._fullLayout,b=o.getFromId(t,e.xaxis||\\\"x\\\"),x=o.getFromId(t,e.yaxis||\\\"y\\\"),w=b.makeCalcdata(e,\\\"x\\\"),A=x.makeCalcdata(e,\\\"y\\\"),C=e._length,M=new Array(C),E=e.ids,T=m(e,_,b,x),S=!1;f(_,e);var k,O=\\\"x\\\",I=\\\"y\\\";for(T?(i.pushUnique(T.traceIndices,e._expandedIndex),(n=\\\"v\\\"===T.orientation)?(I=\\\"s\\\",k=\\\"x\\\"):(O=\\\"s\\\",k=\\\"y\\\"),g=\\\"interpolate\\\"===T.stackgaps):h(t,e,b,x,w,A,p(e,C)),s=0;s<C;s++){var L=M[s]={},P=r(w[s]),z=r(A[s]);P&&z?(L[O]=w[s],L[I]=A[s]):T&&(n?P:z)?(L[k]=n?w[s]:A[s],L.gap=!0,g?(L.s=a,S=!0):L.s=0):L[O]=L[I]=a,E&&(L.id=String(E[s]))}if(u(M,e),l(t,e),c(M,e),T){for(s=0;s<M.length;)M[s][k]===a?M.splice(s,1):s++;if(i.sort(M,(function(t,e){return t[k]-e[k]||t.i-e.i})),S){for(s=0;s<M.length-1&&M[s].gap;)s++;for((y=M[s].s)||(y=M[s].s=0),d=0;d<s;d++)M[d].s=y;for(v=M.length-1;v>s&&M[v].gap;)v--;for(y=M[v].s,d=M.length-1;d>v;d--)M[d].s=y;for(;s<v;)if(M[++s].gap){for(d=s+1;M[d].gap;)d++;for(var R=M[s-1][k],D=M[s-1].s,$=(M[d].s-D)/(M[d][k]-R);s<d;)M[s].s=D+(M[s][k]-R)*$,s++}}}return M},calcMarkerSize:p,calcAxisExpansion:h,setFirstScatter:f,getStackOpts:m}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"./arrays_to_calcdata\\\":1133,\\\"./calc_selection\\\":1136,\\\"./colorscale_calc\\\":1137,\\\"./subtypes\\\":1158,\\\"fast-isnumeric\\\":236}],1136:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e){r.isArrayOrTypedArray(e.selectedpoints)&&r.tagSelected(t,e)}},{\\\"../../lib\\\":728}],1137:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,i=t(\\\"../../components/colorscale/calc\\\"),o=t(\\\"./subtypes\\\");e.exports=function(t,e){o.hasLines(e)&&r(e,\\\"line\\\")&&i(t,e,{vals:e.line.color,containerStr:\\\"line\\\",cLetter:\\\"c\\\"}),o.hasMarkers(e)&&(r(e,\\\"marker\\\")&&i(t,e,{vals:e.marker.color,containerStr:\\\"marker\\\",cLetter:\\\"c\\\"}),r(e,\\\"marker.line\\\")&&i(t,e,{vals:e.marker.line.color,containerStr:\\\"marker.line\\\",cLetter:\\\"c\\\"}))}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../components/colorscale/helpers\\\":606,\\\"./subtypes\\\":1158}],1138:[function(t,e,n){\\\"use strict\\\";e.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}},{}],1139:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./calc\\\");function i(t,e,n,r,i,o,a){i[r]=!0;var s={i:null,gap:!0,s:0};if(s[a]=n,t.splice(e,0,s),e&&n===t[e-1][a]){var l=t[e-1];s.s=l.s,s.i=l.i,s.gap=l.gap}else o&&(s.s=function(t,e,n,r){var i=t[e-1],o=t[e+1];return o?i?i.s+(o.s-i.s)*(n-i[r])/(o[r]-i[r]):o.s:i.s}(t,e,n,a));e||(t[0].t=t[1].t,t[0].trace=t[1].trace,delete t[1].t,delete t[1].trace)}e.exports=function(t,e){var n=e.xaxis,o=e.yaxis,a=n._id+o._id,s=t._fullLayout._scatterStackOpts[a];if(s){var l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A=t.calcdata;for(var C in s){var M=(g=s[C]).traceIndices;if(M.length){for(y=\\\"interpolate\\\"===g.stackgaps,_=g.groupnorm,\\\"v\\\"===g.orientation?(b=\\\"x\\\",x=\\\"y\\\"):(b=\\\"y\\\",x=\\\"x\\\"),w=new Array(M.length),l=0;l<w.length;l++)w[l]=!1;f=A[M[0]];var E=new Array(f.length);for(l=0;l<f.length;l++)E[l]=f[l][b];for(l=1;l<M.length;l++){for(p=A[M[l]],u=c=0;u<p.length;u++){for(d=p[u][b];d>E[c]&&c<E.length;c++)i(p,u,E[c],l,w,y,b),u++;if(d!==E[c]){for(h=0;h<l;h++)i(A[M[h]],c,d,h,w,y,b);E.splice(c,0,d)}c++}for(;c<E.length;c++)i(p,u,E[c],l,w,y,b),u++}var T=E.length;for(u=0;u<f.length;u++){for(m=f[u][x]=f[u].s,l=1;l<M.length;l++)(p=A[M[l]])[0].trace._rawLength=p[0].trace._length,p[0].trace._length=T,m+=p[u].s,p[u][x]=m;if(_)for(v=(\\\"fraction\\\"===_?m:m/100)||1,l=0;l<M.length;l++){var S=A[M[l]][u];S[x]/=v,S.sNorm=S.s/v}}for(l=0;l<M.length;l++){var k=(p=A[M[l]])[0].trace,O=r.calcMarkerSize(k,k._rawLength),I=Array.isArray(O);if(O&&w[l]||I){var L=O;for(O=new Array(T),u=0;u<T;u++)O[u]=p[u].gap?0:I?L[p[u].i]:L}var P=new Array(T),z=new Array(T);for(u=0;u<T;u++)P[u]=p[u].x,z[u]=p[u].y;r.calcAxisExpansion(t,k,n,o,P,z,O),p[0].t.orientation=g.orientation}}}}}},{\\\"./calc\\\":1135}],1140:[function(t,e,n){\\\"use strict\\\";e.exports=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(\\\"scatter\\\"===n.type){var r=n.fill;if(\\\"none\\\"!==r&&\\\"toself\\\"!==r&&(n.opacity=void 0,\\\"tonexty\\\"===r||\\\"tonextx\\\"===r))for(var i=e-1;i>=0;i--){var o=t[i];if(\\\"scatter\\\"===o.type&&o.xaxis===n.xaxis&&o.yaxis===n.yaxis){o.opacity=void 0;break}}}}}},{}],1141:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"./attributes\\\"),a=t(\\\"./constants\\\"),s=t(\\\"./subtypes\\\"),l=t(\\\"./xy_defaults\\\"),u=t(\\\"./stack_defaults\\\"),c=t(\\\"./marker_defaults\\\"),h=t(\\\"./line_defaults\\\"),p=t(\\\"./line_shape_defaults\\\"),f=t(\\\"./text_defaults\\\"),d=t(\\\"./fillcolor_defaults\\\");e.exports=function(t,e,n,m){function v(n,i){return r.coerce(t,e,o,n,i)}var g=l(t,e,m,v);if(g||(e.visible=!1),e.visible){var y=u(t,e,m,v),_=!y&&g<a.PTS_LINESONLY?\\\"lines+markers\\\":\\\"lines\\\";v(\\\"text\\\"),v(\\\"hovertext\\\"),v(\\\"mode\\\",_),s.hasLines(e)&&(h(t,e,n,m,v),p(t,e,v),v(\\\"connectgaps\\\"),v(\\\"line.simplify\\\")),s.hasMarkers(e)&&c(t,e,n,m,v,{gradient:!0}),s.hasText(e)&&(v(\\\"texttemplate\\\"),f(t,e,m,v));var b=[];(s.hasMarkers(e)||s.hasText(e))&&(v(\\\"cliponaxis\\\"),v(\\\"marker.maxdisplayed\\\"),b.push(\\\"points\\\")),v(\\\"fill\\\",y?y.fillDflt:\\\"none\\\"),\\\"none\\\"!==e.fill&&(d(t,e,n,v),s.hasLines(e)||p(t,e,v));var x=(e.line||{}).color,w=(e.marker||{}).color;\\\"tonext\\\"!==e.fill&&\\\"toself\\\"!==e.fill||b.push(\\\"fills\\\"),v(\\\"hoveron\\\",b.join(\\\"+\\\")||\\\"points\\\"),\\\"fills\\\"!==e.hoveron&&v(\\\"hovertemplate\\\");var A=i.getComponentMethod(\\\"errorbars\\\",\\\"supplyDefaults\\\");A(t,e,x||w||n,{axis:\\\"y\\\"}),A(t,e,x||w||n,{axis:\\\"x\\\",inherit:\\\"y\\\"}),r.coerceSelectionMarkerOpacity(e,v)}}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./attributes\\\":1134,\\\"./constants\\\":1138,\\\"./fillcolor_defaults\\\":1142,\\\"./line_defaults\\\":1147,\\\"./line_shape_defaults\\\":1149,\\\"./marker_defaults\\\":1153,\\\"./stack_defaults\\\":1156,\\\"./subtypes\\\":1158,\\\"./text_defaults\\\":1159,\\\"./xy_defaults\\\":1160}],1142:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\"),i=t(\\\"../../lib\\\").isArrayOrTypedArray;e.exports=function(t,e,n,o){var a=!1;if(e.marker){var s=e.marker.color,l=(e.marker.line||{}).color;s&&!i(s)?a=s:l&&!i(l)&&(a=l)}o(\\\"fillcolor\\\",r.addOpacity((e.line||{}).color||a||n,.5))}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728}],1143:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\");e.exports=function(t,e,n){var i={},o={_fullLayout:n},a=r.getFromTrace(o,e,\\\"x\\\"),s=r.getFromTrace(o,e,\\\"y\\\");return i.xLabel=r.tickText(a,t.x,!0).text,i.yLabel=r.tickText(s,t.y,!0).text,i}},{\\\"../../plots/cartesian/axes\\\":776}],1144:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\"),i=t(\\\"./subtypes\\\");e.exports=function(t,e){var n,o;if(\\\"lines\\\"===t.mode)return(n=t.line.color)&&r.opacity(n)?n:t.fillcolor;if(\\\"none\\\"===t.mode)return t.fill?t.fillcolor:\\\"\\\";var a=e.mcc||(t.marker||{}).color,s=e.mlcc||((t.marker||{}).line||{}).color;return(o=a&&r.opacity(a)?a:s&&r.opacity(s)&&(e.mlw||((t.marker||{}).line||{}).width)?s:\\\"\\\")?r.opacity(o)<.3?r.addOpacity(o,.3):o:(n=(t.line||{}).color)&&r.opacity(n)&&i.hasLines(t)&&t.line.width?n:t.fillcolor}},{\\\"../../components/color\\\":595,\\\"./subtypes\\\":1158}],1145:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/fx\\\"),o=t(\\\"../../registry\\\"),a=t(\\\"./get_trace_color\\\"),s=t(\\\"../../components/color\\\"),l=r.fillText;e.exports=function(t,e,n,u){var c=t.cd,h=c[0].trace,p=t.xa,f=t.ya,d=p.c2p(e),m=f.c2p(n),v=[d,m],g=h.hoveron||\\\"\\\",y=-1!==h.mode.indexOf(\\\"markers\\\")?3:.5;if(-1!==g.indexOf(\\\"points\\\")){var _=function(t){var e=Math.max(y,t.mrc||0),n=p.c2p(t.x)-d,r=f.c2p(t.y)-m;return Math.max(Math.sqrt(n*n+r*r)-e,1-y/e)},b=i.getDistanceFunction(u,(function(t){var e=Math.max(3,t.mrc||0),n=1-1/e,r=Math.abs(p.c2p(t.x)-d);return r<e?n*r/e:r-e+n}),(function(t){var e=Math.max(3,t.mrc||0),n=1-1/e,r=Math.abs(f.c2p(t.y)-m);return r<e?n*r/e:r-e+n}),_);if(i.getClosest(c,b,t),!1!==t.index){var x=c[t.index],w=p.c2p(x.x,!0),A=f.c2p(x.y,!0),C=x.mrc||1;t.index=x.i;var M=c[0].t.orientation,E=M&&(x.sNorm||x.s),T=\\\"h\\\"===M?E:x.x,S=\\\"v\\\"===M?E:x.y;return r.extendFlat(t,{color:a(h,x),x0:w-C,x1:w+C,xLabelVal:T,y0:A-C,y1:A+C,yLabelVal:S,spikeDistance:_(x),hovertemplate:h.hovertemplate}),l(x,h,t),o.getComponentMethod(\\\"errorbars\\\",\\\"hoverInfo\\\")(x,h,t),[t]}}if(-1!==g.indexOf(\\\"fills\\\")&&h._polygons){var k,O,I,L,P,z,R,D,$,B=h._polygons,N=[],F=!1,j=1/0,U=-1/0,q=1/0,V=-1/0;for(k=0;k<B.length;k++)(I=B[k]).contains(v)&&(F=!F,N.push(I),q=Math.min(q,I.ymin),V=Math.max(V,I.ymax));if(F){var H=((q=Math.max(q,0))+(V=Math.min(V,f._length)))/2;for(k=0;k<N.length;k++)for(L=N[k].pts,O=1;O<L.length;O++)(D=L[O-1][1])>H!=($=L[O][1])>=H&&(z=L[O-1][0],R=L[O][0],$-D&&(P=z+(R-z)*(H-D)/($-D),j=Math.min(j,P),U=Math.max(U,P)));j=Math.max(j,0),U=Math.min(U,p._length);var G=s.defaultLine;return s.opacity(h.fillcolor)?G=h.fillcolor:s.opacity((h.line||{}).color)&&(G=h.line.color),r.extendFlat(t,{distance:t.maxHoverDistance,x0:j,x1:U,y0:H,y1:H,color:G,hovertemplate:!1}),delete t.index,h.text&&!Array.isArray(h.text)?t.text=String(h.text):t.text=h.name,[t]}}}},{\\\"../../components/color\\\":595,\\\"../../components/fx\\\":635,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./get_trace_color\\\":1144}],1146:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./subtypes\\\");e.exports={hasLines:r.hasLines,hasMarkers:r.hasMarkers,hasText:r.hasText,isBubble:r.isBubble,attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),crossTraceDefaults:t(\\\"./cross_trace_defaults\\\"),calc:t(\\\"./calc\\\").calc,crossTraceCalc:t(\\\"./cross_trace_calc\\\"),arraysToCalcdata:t(\\\"./arrays_to_calcdata\\\"),plot:t(\\\"./plot\\\"),colorbar:t(\\\"./marker_colorbar\\\"),formatLabels:t(\\\"./format_labels\\\"),style:t(\\\"./style\\\").style,styleOnSelect:t(\\\"./style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\"),selectPoints:t(\\\"./select\\\"),animatable:!0,moduleType:\\\"trace\\\",name:\\\"scatter\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"symbols\\\",\\\"errorBarsOK\\\",\\\"showLegend\\\",\\\"scatter-like\\\",\\\"zoomScale\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"./arrays_to_calcdata\\\":1133,\\\"./attributes\\\":1134,\\\"./calc\\\":1135,\\\"./cross_trace_calc\\\":1139,\\\"./cross_trace_defaults\\\":1140,\\\"./defaults\\\":1141,\\\"./format_labels\\\":1143,\\\"./hover\\\":1145,\\\"./marker_colorbar\\\":1152,\\\"./plot\\\":1154,\\\"./select\\\":1155,\\\"./style\\\":1157,\\\"./subtypes\\\":1158}],1147:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\").isArrayOrTypedArray,i=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,o=t(\\\"../../components/colorscale/defaults\\\");e.exports=function(t,e,n,a,s,l){var u=(t.marker||{}).color;s(\\\"line.color\\\",n),i(t,\\\"line\\\")?o(t,e,a,s,{prefix:\\\"line.\\\",cLetter:\\\"c\\\"}):s(\\\"line.color\\\",!r(u)&&u||n),s(\\\"line.width\\\"),(l||{}).noDash||s(\\\"line.dash\\\")}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../components/colorscale/helpers\\\":606,\\\"../../lib\\\":728}],1148:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../constants/numerical\\\"),i=r.BADNUM,o=r.LOG_CLIP,a=o+.5,s=o-.5,l=t(\\\"../../lib\\\"),u=l.segmentsIntersect,c=l.constrain,h=t(\\\"./constants\\\");e.exports=function(t,e){var n,r,o,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T=e.xaxis,S=e.yaxis,k=\\\"log\\\"===T.type,O=\\\"log\\\"===S.type,I=T._length,L=S._length,P=e.connectGaps,z=e.baseTolerance,R=e.shape,D=\\\"linear\\\"===R,$=e.fill&&\\\"none\\\"!==e.fill,B=[],N=h.minTolerance,F=t.length,j=new Array(F),U=0;function q(n){var r=t[n];if(!r)return!1;var o=e.linearized?T.l2p(r.x):T.c2p(r.x),l=e.linearized?S.l2p(r.y):S.c2p(r.y);if(o===i){if(k&&(o=T.c2p(r.x,!0)),o===i)return!1;O&&l===i&&(o*=Math.abs(T._m*L*(T._m>0?a:s)/(S._m*I*(S._m>0?a:s)))),o*=1e3}if(l===i){if(O&&(l=S.c2p(r.y,!0)),l===i)return!1;l*=1e3}return[o,l]}function V(t,e,n,r){var i=n-t,o=r-e,a=.5-t,s=.5-e,l=i*i+o*o,u=i*a+o*s;if(u>0&&u<l){var c=a*o-s*i;if(c*c<l)return!0}}function H(t,e){var n=t[0]/I,r=t[1]/L,i=Math.max(0,-n,n-1,-r,r-1);return i&&void 0!==M&&V(n,r,M,E)&&(i=0),i&&e&&V(n,r,e[0]/I,e[1]/L)&&(i=0),(1+h.toleranceGrowth*i)*z}function G(t,e){var n=t[0]-e[0],r=t[1]-e[1];return Math.sqrt(n*n+r*r)}var W,X,Y,Z,K,J,Q,tt=h.maxScreensAway,et=-I*tt,nt=I*(1+tt),rt=-L*tt,it=L*(1+tt),ot=[[et,rt,nt,rt],[nt,rt,nt,it],[nt,it,et,it],[et,it,et,rt]];function at(t){if(t[0]<et||t[0]>nt||t[1]<rt||t[1]>it)return[c(t[0],et,nt),c(t[1],rt,it)]}function st(t,e){return t[0]===e[0]&&(t[0]===et||t[0]===nt)||t[1]===e[1]&&(t[1]===rt||t[1]===it)||void 0}function lt(t,e,n){return function(r,i){var o=at(r),a=at(i),s=[];if(o&&a&&st(o,a))return s;o&&s.push(o),a&&s.push(a);var u=2*l.constrain((r[t]+i[t])/2,e,n)-((o||r)[t]+(a||i)[t]);return u&&((o&&a?u>0==o[t]>a[t]?o:a:o||a)[t]+=u),s}}function ut(t){var e=t[0],n=t[1],r=e===j[U-1][0],i=n===j[U-1][1];if(!r||!i)if(U>1){var o=e===j[U-2][0],a=n===j[U-2][1];r&&(e===et||e===nt)&&o?a?U--:j[U-1]=t:i&&(n===rt||n===it)&&a?o?U--:j[U-1]=t:j[U++]=t}else j[U++]=t}function ct(t){j[U-1][0]!==t[0]&&j[U-1][1]!==t[1]&&ut([Y,Z]),ut(t),K=null,Y=Z=0}function ht(t){if(M=t[0]/I,E=t[1]/L,W=t[0]<et?et:t[0]>nt?nt:0,X=t[1]<rt?rt:t[1]>it?it:0,W||X){if(U)if(K){var e=Q(K,t);e.length>1&&(ct(e[0]),j[U++]=e[1])}else J=Q(j[U-1],t)[0],j[U++]=J;else j[U++]=[W||t[0],X||t[1]];var n=j[U-1];W&&X&&(n[0]!==W||n[1]!==X)?(K&&(Y!==W&&Z!==X?ut(Y&&Z?(r=K,o=(i=t)[0]-r[0],a=(i[1]-r[1])/o,(r[1]*i[0]-i[1]*r[0])/o>0?[a>0?et:nt,it]:[a>0?nt:et,rt]):[Y||W,Z||X]):Y&&Z&&ut([Y,Z])),ut([W,X])):Y-W&&Z-X&&ut([W||Y,X||Z]),K=t,Y=W,Z=X}else K&&ct(Q(K,t)[0]),j[U++]=t;var r,i,o,a}for(\\\"linear\\\"===R||\\\"spline\\\"===R?Q=function(t,e){for(var n=[],r=0,i=0;i<4;i++){var o=ot[i],a=u(t[0],t[1],e[0],e[1],o[0],o[1],o[2],o[3]);a&&(!r||Math.abs(a.x-n[0][0])>1||Math.abs(a.y-n[0][1])>1)&&(a=[a.x,a.y],r&&G(a,t)<G(n[0],t)?n.unshift(a):n.push(a),r++)}return n}:\\\"hv\\\"===R||\\\"vh\\\"===R?Q=function(t,e){var n=[],r=at(t),i=at(e);return r&&i&&st(r,i)||(r&&n.push(r),i&&n.push(i)),n}:\\\"hvh\\\"===R?Q=lt(0,et,nt):\\\"vhv\\\"===R&&(Q=lt(1,rt,it)),n=0;n<F;n++)if(r=q(n)){for(U=0,K=null,ht(r),n++;n<F;n++){if(!(p=q(n))){if(P)continue;break}if(D&&e.simplify){var pt=q(n+1);if(y=G(p,r),$&&(0===U||U===F-1)||!(y<H(p,pt)*N)){for(v=[(p[0]-r[0])/y,(p[1]-r[1])/y],f=r,_=y,b=w=A=0,m=!1,o=p,n++;n<t.length;n++){if(d=pt,pt=q(n+1),!d){if(P)continue;break}if(C=(g=[d[0]-r[0],d[1]-r[1]])[0]*v[1]-g[1]*v[0],w=Math.min(w,C),(A=Math.max(A,C))-w>H(d,pt))break;o=d,(x=g[0]*v[0]+g[1]*v[1])>_?(_=x,p=d,m=!1):x<b&&(b=x,f=d,m=!0)}if(m?(ht(p),o!==f&&ht(f)):(f!==r&&ht(f),o!==p&&ht(p)),ht(o),n>=t.length||!d)break;ht(d),r=d}}else ht(p)}K&&ut([Y||K[0],Z||K[1]]),B.push(j.slice(0,U))}return B}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"./constants\\\":1138}],1149:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n){\\\"spline\\\"===n(\\\"line.shape\\\")&&n(\\\"line.smoothing\\\")}},{}],1150:[function(t,e,n){\\\"use strict\\\";var r={tonextx:1,tonexty:1,tonext:1};e.exports=function(t,e,n){var i,o,a,s,l,u={},c=!1,h=-1,p=0,f=-1;for(o=0;o<n.length;o++)(a=(i=n[o][0].trace).stackgroup||\\\"\\\")?a in u?l=u[a]:(l=u[a]=p,p++):i.fill in r&&f>=0?l=f:(l=f=p,p++),l<h&&(c=!0),i._groupIndex=h=l;var d=n.slice();c&&d.sort((function(t,e){var n=t[0].trace,r=e[0].trace;return n._groupIndex-r._groupIndex||n.index-r.index}));var m={};for(o=0;o<d.length;o++)a=(i=d[o][0].trace).stackgroup||\\\"\\\",!0===i.visible?(i._nexttrace=null,i.fill in r&&(s=m[a],i._prevtrace=s||null,s&&(s._nexttrace=i)),i._ownfill=i.fill&&(\\\"tozero\\\"===i.fill.substr(0,6)||\\\"toself\\\"===i.fill||\\\"to\\\"===i.fill.substr(0,2)&&!i._prevtrace),m[a]=i):i._prevtrace=i._nexttrace=i._ownfill=null;return d}},{}],1151:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\");e.exports=function(t){var e=t.marker,n=e.sizeref||1,i=e.sizemin||0,o=\\\"area\\\"===e.sizemode?function(t){return Math.sqrt(t/n)}:function(t){return t/n};return function(t){var e=o(t/2);return r(e)&&e>0?Math.max(e,i):0}}},{\\\"fast-isnumeric\\\":236}],1152:[function(t,e,n){\\\"use strict\\\";e.exports={container:\\\"marker\\\",min:\\\"cmin\\\",max:\\\"cmax\\\"}},{}],1153:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\"),i=t(\\\"../../components/colorscale/helpers\\\").hasColorscale,o=t(\\\"../../components/colorscale/defaults\\\"),a=t(\\\"./subtypes\\\");e.exports=function(t,e,n,s,l,u){var c=a.isBubble(t),h=(t.line||{}).color;u=u||{},h&&(n=h),l(\\\"marker.symbol\\\"),l(\\\"marker.opacity\\\",c?.7:1),l(\\\"marker.size\\\"),l(\\\"marker.color\\\",n),i(t,\\\"marker\\\")&&o(t,e,s,l,{prefix:\\\"marker.\\\",cLetter:\\\"c\\\"}),u.noSelect||(l(\\\"selected.marker.color\\\"),l(\\\"unselected.marker.color\\\"),l(\\\"selected.marker.size\\\"),l(\\\"unselected.marker.size\\\")),u.noLine||(l(\\\"marker.line.color\\\",h&&!Array.isArray(h)&&e.marker.color!==h?h:c?r.background:r.defaultLine),i(t,\\\"marker.line\\\")&&o(t,e,s,l,{prefix:\\\"marker.line.\\\",cLetter:\\\"c\\\"}),l(\\\"marker.line.width\\\",c?1:0)),c&&(l(\\\"marker.sizeref\\\"),l(\\\"marker.sizemin\\\"),l(\\\"marker.sizemode\\\")),u.gradient&&\\\"none\\\"!==l(\\\"marker.gradient.type\\\")&&l(\\\"marker.gradient.color\\\")}},{\\\"../../components/color\\\":595,\\\"../../components/colorscale/defaults\\\":605,\\\"../../components/colorscale/helpers\\\":606,\\\"./subtypes\\\":1158}],1154:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../lib\\\"),a=o.ensureSingle,s=o.identity,l=t(\\\"../../components/drawing\\\"),u=t(\\\"./subtypes\\\"),c=t(\\\"./line_points\\\"),h=t(\\\"./link_traces\\\"),p=t(\\\"../../lib/polygon\\\").tester;function f(t,e,n,h,f,d,m){var v;!function(t,e,n,i,a){var s=n.xaxis,l=n.yaxis,c=r.extent(o.simpleMap(s.range,s.r2c)),h=r.extent(o.simpleMap(l.range,l.r2c)),p=i[0].trace;if(u.hasMarkers(p)){var f=p.marker.maxdisplayed;if(0!==f){var d=i.filter((function(t){return t.x>=c[0]&&t.x<=c[1]&&t.y>=h[0]&&t.y<=h[1]})),m=Math.ceil(d.length/f),v=0;a.forEach((function(t,n){var r=t[0].trace;u.hasMarkers(r)&&r.marker.maxdisplayed>0&&n<e&&v++}));var g=Math.round(v*m/3+Math.floor(v/3)*m/7.1);i.forEach((function(t){delete t.vis})),d.forEach((function(t,e){0===Math.round((e+g)%m)&&(t.vis=!0)}))}}}(0,e,n,h,f);var g=!!m&&m.duration>0;function y(t){return g?t.transition():t}var _=n.xaxis,b=n.yaxis,x=h[0].trace,w=x.line,A=r.select(d),C=a(A,\\\"g\\\",\\\"errorbars\\\"),M=a(A,\\\"g\\\",\\\"lines\\\"),E=a(A,\\\"g\\\",\\\"points\\\"),T=a(A,\\\"g\\\",\\\"text\\\");if(i.getComponentMethod(\\\"errorbars\\\",\\\"plot\\\")(t,C,n,m),!0===x.visible){var S,k;y(A).style(\\\"opacity\\\",x.opacity);var O=x.fill.charAt(x.fill.length-1);\\\"x\\\"!==O&&\\\"y\\\"!==O&&(O=\\\"\\\"),h[0][n.isRangePlot?\\\"nodeRangePlot3\\\":\\\"node3\\\"]=A;var I,L,P=\\\"\\\",z=[],R=x._prevtrace;R&&(P=R._prevRevpath||\\\"\\\",k=R._nextFill,z=R._polygons);var D,$,B,N,F,j,U,q=\\\"\\\",V=\\\"\\\",H=[],G=o.noop;if(S=x._ownFill,u.hasLines(x)||\\\"none\\\"!==x.fill){for(k&&k.datum(h),-1!==[\\\"hv\\\",\\\"vh\\\",\\\"hvh\\\",\\\"vhv\\\"].indexOf(w.shape)?(D=l.steps(w.shape),$=l.steps(w.shape.split(\\\"\\\").reverse().join(\\\"\\\"))):D=$=\\\"spline\\\"===w.shape?function(t){var e=t[t.length-1];return t.length>1&&t[0][0]===e[0]&&t[0][1]===e[1]?l.smoothclosed(t.slice(1),w.smoothing):l.smoothopen(t,w.smoothing)}:function(t){return\\\"M\\\"+t.join(\\\"L\\\")},B=function(t){return $(t.reverse())},H=c(h,{xaxis:_,yaxis:b,connectGaps:x.connectgaps,baseTolerance:Math.max(w.width||1,3)/4,shape:w.shape,simplify:w.simplify,fill:x.fill}),U=x._polygons=new Array(H.length),v=0;v<H.length;v++)x._polygons[v]=p(H[v]);H.length&&(N=H[0][0],j=(F=H[H.length-1])[F.length-1]),G=function(t){return function(e){if(I=D(e),L=B(e),q?O?(q+=\\\"L\\\"+I.substr(1),V=L+\\\"L\\\"+V.substr(1)):(q+=\\\"Z\\\"+I,V=L+\\\"Z\\\"+V):(q=I,V=L),u.hasLines(x)&&e.length>1){var n=r.select(this);if(n.datum(h),t)y(n.style(\\\"opacity\\\",0).attr(\\\"d\\\",I).call(l.lineGroupStyle)).style(\\\"opacity\\\",1);else{var i=y(n);i.attr(\\\"d\\\",I),l.singleLineStyle(h,i)}}}}}var W=M.selectAll(\\\".js-line\\\").data(H);y(W.exit()).style(\\\"opacity\\\",0).remove(),W.each(G(!1)),W.enter().append(\\\"path\\\").classed(\\\"js-line\\\",!0).style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\").call(l.lineGroupStyle).each(G(!0)),l.setClipUrl(W,n.layerClipId,t),H.length?(S?(S.datum(h),N&&j&&(O?(\\\"y\\\"===O?N[1]=j[1]=b.c2p(0,!0):\\\"x\\\"===O&&(N[0]=j[0]=_.c2p(0,!0)),y(S).attr(\\\"d\\\",\\\"M\\\"+j+\\\"L\\\"+N+\\\"L\\\"+q.substr(1)).call(l.singleFillStyle)):y(S).attr(\\\"d\\\",q+\\\"Z\\\").call(l.singleFillStyle))):k&&(\\\"tonext\\\"===x.fill.substr(0,6)&&q&&P?(\\\"tonext\\\"===x.fill?y(k).attr(\\\"d\\\",q+\\\"Z\\\"+P+\\\"Z\\\").call(l.singleFillStyle):y(k).attr(\\\"d\\\",q+\\\"L\\\"+P.substr(1)+\\\"Z\\\").call(l.singleFillStyle),x._polygons=x._polygons.concat(z)):(Y(k),x._polygons=null)),x._prevRevpath=V,x._prevPolygons=U):(S?Y(S):k&&Y(k),x._polygons=x._prevRevpath=x._prevPolygons=null),E.datum(h),T.datum(h),function(e,i,o){var a,c=o[0].trace,h=u.hasMarkers(c),p=u.hasText(c),f=tt(c),d=et,m=et;if(h||p){var v=s,x=c.stackgroup,w=x&&\\\"infer zero\\\"===t._fullLayout._scatterStackOpts[_._id+b._id][x].stackgaps;c.marker.maxdisplayed||c._needsCull?v=w?K:Z:x&&!w&&(v=J),h&&(d=v),p&&(m=v)}var A,C=(a=e.selectAll(\\\"path.point\\\").data(d,f)).enter().append(\\\"path\\\").classed(\\\"point\\\",!0);g&&C.call(l.pointStyle,c,t).call(l.translatePoints,_,b).style(\\\"opacity\\\",0).transition().style(\\\"opacity\\\",1),a.order(),h&&(A=l.makePointStyleFns(c)),a.each((function(e){var i=r.select(this),o=y(i);l.translatePoint(e,o,_,b)?(l.singlePointStyle(e,o,c,A,t),n.layerClipId&&l.hideOutsideRangePoint(e,o,_,b,c.xcalendar,c.ycalendar),c.customdata&&i.classed(\\\"plotly-customdata\\\",null!==e.data&&void 0!==e.data)):o.remove()})),g?a.exit().transition().style(\\\"opacity\\\",0).remove():a.exit().remove(),(a=i.selectAll(\\\"g\\\").data(m,f)).enter().append(\\\"g\\\").classed(\\\"textpoint\\\",!0).append(\\\"text\\\"),a.order(),a.each((function(t){var e=r.select(this),i=y(e.select(\\\"text\\\"));l.translatePoint(t,i,_,b)?n.layerClipId&&l.hideOutsideRangePoint(t,e,_,b,c.xcalendar,c.ycalendar):e.remove()})),a.selectAll(\\\"text\\\").call(l.textPointStyle,c,t).each((function(t){var e=_.c2p(t.x),n=b.c2p(t.y);r.select(this).selectAll(\\\"tspan.line\\\").each((function(){y(r.select(this)).attr({x:e,y:n})}))})),a.exit().remove()}(E,T,h);var X=!1===x.cliponaxis?null:n.layerClipId;l.setClipUrl(E,X,t),l.setClipUrl(T,X,t)}function Y(t){y(t).attr(\\\"d\\\",\\\"M0,0Z\\\")}function Z(t){return t.filter((function(t){return!t.gap&&t.vis}))}function K(t){return t.filter((function(t){return t.vis}))}function J(t){return t.filter((function(t){return!t.gap}))}function Q(t){return t.id}function tt(t){if(t.ids)return Q}function et(){return!1}}e.exports=function(t,e,n,i,o,u){var c,p,d=!o,m=!!o&&o.duration>0,v=h(t,e,n);(c=i.selectAll(\\\"g.trace\\\").data(v,(function(t){return t[0].trace.uid}))).enter().append(\\\"g\\\").attr(\\\"class\\\",(function(t){return\\\"trace scatter trace\\\"+t[0].trace.uid})).style(\\\"stroke-miterlimit\\\",2),c.order(),function(t,e,n){e.each((function(e){var i=a(r.select(this),\\\"g\\\",\\\"fills\\\");l.setClipUrl(i,n.layerClipId,t);var o=e[0].trace,u=[];o._ownfill&&u.push(\\\"_ownFill\\\"),o._nexttrace&&u.push(\\\"_nextFill\\\");var c=i.selectAll(\\\"g\\\").data(u,s);c.enter().append(\\\"g\\\"),c.exit().each((function(t){o[t]=null})).remove(),c.order().each((function(t){o[t]=a(r.select(this),\\\"path\\\",\\\"js-fill\\\")}))}))}(t,c,e),m?(u&&(p=u()),r.transition().duration(o.duration).ease(o.easing).each(\\\"end\\\",(function(){p&&p()})).each(\\\"interrupt\\\",(function(){p&&p()})).each((function(){i.selectAll(\\\"g.trace\\\").each((function(n,r){f(t,r,e,n,v,this,o)}))}))):c.each((function(n,r){f(t,r,e,n,v,this,o)})),d&&c.exit().remove(),i.selectAll(\\\"path:not([d])\\\").remove()}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/polygon\\\":740,\\\"../../registry\\\":859,\\\"./line_points\\\":1148,\\\"./link_traces\\\":1150,\\\"./subtypes\\\":1158,d3:164}],1155:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./subtypes\\\");e.exports=function(t,e){var n,i,o,a,s=t.cd,l=t.xaxis,u=t.yaxis,c=[],h=s[0].trace;if(!r.hasMarkers(h)&&!r.hasText(h))return[];if(!1===e)for(n=0;n<s.length;n++)s[n].selected=0;else for(n=0;n<s.length;n++)i=s[n],o=l.c2p(i.x),a=u.c2p(i.y),null!==i.i&&e.contains([o,a],!1,n,t)?(c.push({pointNumber:i.i,x:l.c2d(i.x),y:u.c2d(i.y)}),i.selected=1):i.selected=0;return c}},{\\\"./subtypes\\\":1158}],1156:[function(t,e,n){\\\"use strict\\\";var r=[\\\"orientation\\\",\\\"groupnorm\\\",\\\"stackgaps\\\"];e.exports=function(t,e,n,i){var o=n._scatterStackOpts,a=i(\\\"stackgroup\\\");if(a){var s=e.xaxis+e.yaxis,l=o[s];l||(l=o[s]={});var u=l[a],c=!1;u?u.traces.push(e):(u=l[a]={traceIndices:[],traces:[e]},c=!0);for(var h={orientation:e.x&&!e.y?\\\"h\\\":\\\"v\\\"},p=0;p<r.length;p++){var f=r[p],d=f+\\\"Found\\\";if(!u[d]){var m=void 0!==t[f],v=\\\"orientation\\\"===f;if((m||c)&&(u[f]=i(f,h[f]),v&&(u.fillDflt=\\\"h\\\"===u[f]?\\\"tonextx\\\":\\\"tonexty\\\"),m&&(u[d]=!0,!c&&(delete u.traces[0][f],v))))for(var g=0;g<u.traces.length-1;g++){var y=u.traces[g];y._input.fill!==y.fill&&(y.fill=u.fillDflt)}}}return u}}},{}],1157:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/drawing\\\"),o=t(\\\"../../registry\\\");function a(t,e,n){i.pointStyle(t.selectAll(\\\"path.point\\\"),e,n)}function s(t,e,n){i.textPointStyle(t.selectAll(\\\"text\\\"),e,n)}e.exports={style:function(t){var e=r.select(t).selectAll(\\\"g.trace.scatter\\\");e.style(\\\"opacity\\\",(function(t){return t[0].trace.opacity})),e.selectAll(\\\"g.points\\\").each((function(e){a(r.select(this),e.trace||e[0].trace,t)})),e.selectAll(\\\"g.text\\\").each((function(e){s(r.select(this),e.trace||e[0].trace,t)})),e.selectAll(\\\"g.trace path.js-line\\\").call(i.lineGroupStyle),e.selectAll(\\\"g.trace path.js-fill\\\").call(i.fillGroupStyle),o.getComponentMethod(\\\"errorbars\\\",\\\"style\\\")(e)},stylePoints:a,styleText:s,styleOnSelect:function(t,e,n){var r=e[0].trace;r.selectedpoints?(i.selectedPointStyle(n.selectAll(\\\"path.point\\\"),r),i.selectedTextStyle(n.selectAll(\\\"text\\\"),r)):(a(n,r,t),s(n,r,t))}}},{\\\"../../components/drawing\\\":617,\\\"../../registry\\\":859,d3:164}],1158:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports={hasLines:function(t){return t.visible&&t.mode&&-1!==t.mode.indexOf(\\\"lines\\\")},hasMarkers:function(t){return t.visible&&(t.mode&&-1!==t.mode.indexOf(\\\"markers\\\")||\\\"splom\\\"===t.type)},hasText:function(t){return t.visible&&t.mode&&-1!==t.mode.indexOf(\\\"text\\\")},isBubble:function(t){return r.isPlainObject(t.marker)&&r.isArrayOrTypedArray(t.marker.size)}}},{\\\"../../lib\\\":728}],1159:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e,n,i,o){o=o||{},i(\\\"textposition\\\"),r.coerceFont(i,\\\"textfont\\\",n.font),o.noSelect||(i(\\\"selected.textfont.color\\\"),i(\\\"unselected.textfont.color\\\"))}},{\\\"../../lib\\\":728}],1160:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../registry\\\");e.exports=function(t,e,n,o){var a,s=o(\\\"x\\\"),l=o(\\\"y\\\");if(i.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\",\\\"y\\\"],n),s){var u=r.minRowLength(s);l?a=Math.min(u,r.minRowLength(l)):(a=u,o(\\\"y0\\\"),o(\\\"dy\\\"))}else{if(!l)return 0;a=r.minRowLength(l),o(\\\"x0\\\"),o(\\\"dx\\\")}return e._length=a,a}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859}],1161:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/attributes\\\"),i=t(\\\"../../components/colorscale/attributes\\\"),o=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,a=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,s=t(\\\"../../plots/attributes\\\"),l=t(\\\"../../constants/gl3d_dashes\\\"),u=t(\\\"../../constants/gl3d_markers\\\"),c=t(\\\"../../lib/extend\\\").extendFlat,h=t(\\\"../../plot_api/edit_types\\\").overrideAll,p=r.line,f=r.marker,d=f.line,m=c({width:p.width,dash:{valType:\\\"enumerated\\\",values:Object.keys(l),dflt:\\\"solid\\\"}},i(\\\"line\\\")),v=e.exports=h({x:r.x,y:r.y,z:{valType:\\\"data_array\\\"},text:c({},r.text,{}),texttemplate:a({},{}),hovertext:c({},r.hovertext,{}),hovertemplate:o(),mode:c({},r.mode,{dflt:\\\"lines+markers\\\"}),surfaceaxis:{valType:\\\"enumerated\\\",values:[-1,0,1,2],dflt:-1},surfacecolor:{valType:\\\"color\\\"},projection:{x:{show:{valType:\\\"boolean\\\",dflt:!1},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1},scale:{valType:\\\"number\\\",min:0,max:10,dflt:2/3}},y:{show:{valType:\\\"boolean\\\",dflt:!1},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1},scale:{valType:\\\"number\\\",min:0,max:10,dflt:2/3}},z:{show:{valType:\\\"boolean\\\",dflt:!1},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1},scale:{valType:\\\"number\\\",min:0,max:10,dflt:2/3}}},connectgaps:r.connectgaps,line:m,marker:c({symbol:{valType:\\\"enumerated\\\",values:Object.keys(u),dflt:\\\"circle\\\",arrayOk:!0},size:c({},f.size,{dflt:8}),sizeref:f.sizeref,sizemin:f.sizemin,sizemode:f.sizemode,opacity:c({},f.opacity,{arrayOk:!1}),colorbar:f.colorbar,line:c({width:c({},d.width,{arrayOk:!1})},i(\\\"marker.line\\\"))},i(\\\"marker\\\")),textposition:c({},r.textposition,{dflt:\\\"top center\\\"}),textfont:{color:r.textfont.color,size:r.textfont.size,family:c({},r.textfont.family,{arrayOk:!1})},hoverinfo:c({},s.hoverinfo)},\\\"calc\\\",\\\"nested\\\");v.x.editType=v.y.editType=v.z.editType=\\\"calc+clearAxisTypes\\\"},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../constants/gl3d_dashes\\\":701,\\\"../../constants/gl3d_markers\\\":702,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134}],1162:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/arrays_to_calcdata\\\"),i=t(\\\"../scatter/colorscale_calc\\\");e.exports=function(t,e){var n=[{x:!1,y:!1,trace:e,t:{}}];return r(n,e),i(t,e),n}},{\\\"../scatter/arrays_to_calcdata\\\":1133,\\\"../scatter/colorscale_calc\\\":1137}],1163:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\");function i(t,e,n,i){if(!e||!e.visible)return null;for(var o=r.getComponentMethod(\\\"errorbars\\\",\\\"makeComputeError\\\")(e),a=new Array(t.length),s=0;s<t.length;s++){var l=o(+t[s],s);if(\\\"log\\\"===i.type){var u=i.c2l(t[s]),c=t[s]-l[0],h=t[s]+l[1];if(a[s]=[(i.c2l(c,!0)-u)*n,(i.c2l(h,!0)-u)*n],c>0){var p=i.c2l(c);i._lowerLogErrorBound||(i._lowerLogErrorBound=p),i._lowerErrorBound=Math.min(i._lowerLogErrorBound,p)}}else a[s]=[-l[0]*n,l[1]*n]}return a}e.exports=function(t,e,n){var r=[i(t.x,t.error_x,e[0],n.xaxis),i(t.y,t.error_y,e[1],n.yaxis),i(t.z,t.error_z,e[2],n.zaxis)],o=function(t){for(var e=0;e<t.length;e++)if(t[e])return t[e].length;return 0}(r);if(0===o)return null;for(var a=new Array(o),s=0;s<o;s++){for(var l=[[0,0,0],[0,0,0]],u=0;u<3;u++)if(r[u])for(var c=0;c<2;c++)l[c][u]=r[u][s][c];a[s]=l}return a}},{\\\"../../registry\\\":859}],1164:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-line3d\\\"),i=t(\\\"gl-scatter3d\\\"),o=t(\\\"gl-error3d\\\"),a=t(\\\"gl-mesh3d\\\"),s=t(\\\"delaunay-triangulate\\\"),l=t(\\\"../../lib\\\"),u=t(\\\"../../lib/str2rgbarray\\\"),c=t(\\\"../../lib/gl_format_color\\\").formatColor,h=t(\\\"../scatter/make_bubble_size_func\\\"),p=t(\\\"../../constants/gl3d_dashes\\\"),f=t(\\\"../../constants/gl3d_markers\\\"),d=t(\\\"../../plots/cartesian/axes\\\"),m=t(\\\"../../components/fx/helpers\\\").appendArrayPointValue,v=t(\\\"./calc_errors\\\");function g(t,e){this.scene=t,this.uid=e,this.linePlot=null,this.scatterPlot=null,this.errorBars=null,this.textMarkers=null,this.delaunayMesh=null,this.color=null,this.mode=\\\"\\\",this.dataPoints=[],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.textLabels=null,this.data=null}var y=g.prototype;function _(t){return null==t?0:t.indexOf(\\\"left\\\")>-1?-1:t.indexOf(\\\"right\\\")>-1?1:0}function b(t){return null==t?0:t.indexOf(\\\"top\\\")>-1?-1:t.indexOf(\\\"bottom\\\")>-1?1:0}function x(t,e){return e(4*t)}function w(t){return f[t]}function A(t,e,n,r,i){var o=null;if(l.isArrayOrTypedArray(t)){o=[];for(var a=0;a<e;a++)void 0===t[a]?o[a]=r:o[a]=n(t[a],i)}else o=n(t,l.identity);return o}function C(t,e){var n,r,i,o,a,s,p=[],f=t.fullSceneLayout,g=t.dataScale,y=f.xaxis,C=f.yaxis,M=f.zaxis,E=e.marker,T=e.line,S=e.x||[],k=e.y||[],O=e.z||[],I=S.length,L=e.xcalendar,P=e.ycalendar,z=e.zcalendar;for(a=0;a<I;a++)n=y.d2l(S[a],0,L)*g[0],r=C.d2l(k[a],0,P)*g[1],i=M.d2l(O[a],0,z)*g[2],p[a]=[n,r,i];if(Array.isArray(e.text))s=e.text;else if(void 0!==e.text)for(s=new Array(I),a=0;a<I;a++)s[a]=e.text;function R(t,e){var n=f[t];return d.tickText(n,n.d2l(e),!0).text}var D=e.texttemplate;if(D){var $=t.fullLayout._d3locale,B=Array.isArray(D),N=B?Math.min(D.length,I):I,F=B?function(t){return D[t]}:function(){return D};for(s=new Array(N),a=0;a<N;a++){var j={x:S[a],y:k[a],z:O[a]},U={xLabel:R(\\\"xaxis\\\",S[a]),yLabel:R(\\\"yaxis\\\",k[a]),zLabel:R(\\\"zaxis\\\",O[a])},q={};m(q,e,a);var V=e._meta||{};s[a]=l.texttemplateString(F(a),U,$,q,j,V)}}if(o={position:p,mode:e.mode,text:s},\\\"line\\\"in e&&(o.lineColor=c(T,1,I),o.lineWidth=T.width,o.lineDashes=T.dash),\\\"marker\\\"in e){var H=h(e);o.scatterColor=c(E,1,I),o.scatterSize=A(E.size,I,x,20,H),o.scatterMarker=A(E.symbol,I,w,\\\"●\\\"),o.scatterLineWidth=E.line.width,o.scatterLineColor=c(E.line,1,I),o.scatterAngle=0}\\\"textposition\\\"in e&&(o.textOffset=function(t){var e=[0,0];if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=[0,0],t[n]&&(e[n][0]=_(t[n]),e[n][1]=b(t[n]));else e[0]=_(t),e[1]=b(t);return e}(e.textposition),o.textColor=c(e.textfont,1,I),o.textSize=A(e.textfont.size,I,l.identity,12),o.textFont=e.textfont.family,o.textAngle=0);var G=[\\\"x\\\",\\\"y\\\",\\\"z\\\"];for(o.project=[!1,!1,!1],o.projectScale=[1,1,1],o.projectOpacity=[1,1,1],a=0;a<3;++a){var W=e.projection[G[a]];(o.project[a]=W.show)&&(o.projectOpacity[a]=W.opacity,o.projectScale[a]=W.scale)}o.errorBounds=v(e,g,f);var X=function(t){for(var e=[0,0,0],n=[[0,0,0],[0,0,0],[0,0,0]],r=[1,1,1],i=0;i<3;i++){var o=t[i];o&&!1!==o.copy_zstyle&&!1!==t[2].visible&&(o=t[2]),o&&o.visible&&(e[i]=o.width/2,n[i]=u(o.color),r[i]=o.thickness)}return{capSize:e,color:n,lineWidth:r}}([e.error_x,e.error_y,e.error_z]);return o.errorColor=X.color,o.errorLineWidth=X.lineWidth,o.errorCapSize=X.capSize,o.delaunayAxis=e.surfaceaxis,o.delaunayColor=u(e.surfacecolor),o}function M(t){if(Array.isArray(t)){var e=t[0];return Array.isArray(e)&&(t=e),\\\"rgb(\\\"+t.slice(0,3).map((function(t){return Math.round(255*t)}))+\\\")\\\"}return null}y.handlePick=function(t){if(t.object&&(t.object===this.linePlot||t.object===this.delaunayMesh||t.object===this.textMarkers||t.object===this.scatterPlot)){var e=t.index=t.data.index;return t.object.highlight&&t.object.highlight(null),this.scatterPlot&&(t.object=this.scatterPlot,this.scatterPlot.highlight(t.data)),t.textLabel=\\\"\\\",this.textLabels&&(Array.isArray(this.textLabels)?(this.textLabels[e]||0===this.textLabels[e])&&(t.textLabel=this.textLabels[e]):t.textLabel=this.textLabels),t.traceCoordinate=[this.data.x[e],this.data.y[e],this.data.z[e]],!0}},y.update=function(t){var e,n,l,u,c=this.scene.glplot.gl,h=p.solid;this.data=t;var f=C(this.scene,t);\\\"mode\\\"in f&&(this.mode=f.mode),\\\"lineDashes\\\"in f&&f.lineDashes in p&&(h=p[f.lineDashes]),this.color=M(f.scatterColor)||M(f.lineColor),this.dataPoints=f.position,e={gl:this.scene.glplot.gl,position:f.position,color:f.lineColor,lineWidth:f.lineWidth||1,dashes:h[0],dashScale:h[1],opacity:t.opacity,connectGaps:t.connectgaps},-1!==this.mode.indexOf(\\\"lines\\\")?this.linePlot?this.linePlot.update(e):(this.linePlot=r(e),this.linePlot._trace=this,this.scene.glplot.add(this.linePlot)):this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose(),this.linePlot=null);var d=t.opacity;if(t.marker&&t.marker.opacity&&(d*=t.marker.opacity),n={gl:this.scene.glplot.gl,position:f.position,color:f.scatterColor,size:f.scatterSize,glyph:f.scatterMarker,opacity:d,orthographic:!0,lineWidth:f.scatterLineWidth,lineColor:f.scatterLineColor,project:f.project,projectScale:f.projectScale,projectOpacity:f.projectOpacity},-1!==this.mode.indexOf(\\\"markers\\\")?this.scatterPlot?this.scatterPlot.update(n):(this.scatterPlot=i(n),this.scatterPlot._trace=this,this.scatterPlot.highlightScale=1,this.scene.glplot.add(this.scatterPlot)):this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose(),this.scatterPlot=null),u={gl:this.scene.glplot.gl,position:f.position,glyph:f.text,color:f.textColor,size:f.textSize,angle:f.textAngle,alignment:f.textOffset,font:f.textFont,orthographic:!0,lineWidth:0,project:!1,opacity:t.opacity},this.textLabels=t.hovertext||t.text,-1!==this.mode.indexOf(\\\"text\\\")?this.textMarkers?this.textMarkers.update(u):(this.textMarkers=i(u),this.textMarkers._trace=this,this.textMarkers.highlightScale=1,this.scene.glplot.add(this.textMarkers)):this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose(),this.textMarkers=null),l={gl:this.scene.glplot.gl,position:f.position,color:f.errorColor,error:f.errorBounds,lineWidth:f.errorLineWidth,capSize:f.errorCapSize,opacity:t.opacity},this.errorBars?f.errorBounds?this.errorBars.update(l):(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose(),this.errorBars=null):f.errorBounds&&(this.errorBars=o(l),this.errorBars._trace=this,this.scene.glplot.add(this.errorBars)),f.delaunayAxis>=0){var m=function(t,e,n){var r,i=(n+1)%3,o=(n+2)%3,a=[],l=[];for(r=0;r<t.length;++r){var u=t[r];!isNaN(u[i])&&isFinite(u[i])&&!isNaN(u[o])&&isFinite(u[o])&&(a.push([u[i],u[o]]),l.push(r))}var c=s(a);for(r=0;r<c.length;++r)for(var h=c[r],p=0;p<h.length;++p)h[p]=l[h[p]];return{positions:t,cells:c,meshColor:e}}(f.position,f.delaunayColor,f.delaunayAxis);m.opacity=t.opacity,this.delaunayMesh?this.delaunayMesh.update(m):(m.gl=c,this.delaunayMesh=a(m),this.delaunayMesh._trace=this,this.scene.glplot.add(this.delaunayMesh))}else this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose(),this.delaunayMesh=null)},y.dispose=function(){this.linePlot&&(this.scene.glplot.remove(this.linePlot),this.linePlot.dispose()),this.scatterPlot&&(this.scene.glplot.remove(this.scatterPlot),this.scatterPlot.dispose()),this.errorBars&&(this.scene.glplot.remove(this.errorBars),this.errorBars.dispose()),this.textMarkers&&(this.scene.glplot.remove(this.textMarkers),this.textMarkers.dispose()),this.delaunayMesh&&(this.scene.glplot.remove(this.delaunayMesh),this.delaunayMesh.dispose())},e.exports=function(t,e){var n=new g(t,e.uid);return n.update(e),n}},{\\\"../../components/fx/helpers\\\":631,\\\"../../constants/gl3d_dashes\\\":701,\\\"../../constants/gl3d_markers\\\":702,\\\"../../lib\\\":728,\\\"../../lib/gl_format_color\\\":725,\\\"../../lib/str2rgbarray\\\":751,\\\"../../plots/cartesian/axes\\\":776,\\\"../scatter/make_bubble_size_func\\\":1151,\\\"./calc_errors\\\":1163,\\\"delaunay-triangulate\\\":166,\\\"gl-error3d\\\":259,\\\"gl-line3d\\\":266,\\\"gl-mesh3d\\\":287,\\\"gl-scatter3d\\\":303}],1165:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../scatter/subtypes\\\"),a=t(\\\"../scatter/marker_defaults\\\"),s=t(\\\"../scatter/line_defaults\\\"),l=t(\\\"../scatter/text_defaults\\\"),u=t(\\\"./attributes\\\");e.exports=function(t,e,n,c){function h(n,r){return i.coerce(t,e,u,n,r)}if(function(t,e,n,i){var o=0,a=n(\\\"x\\\"),s=n(\\\"y\\\"),l=n(\\\"z\\\");return r.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\",\\\"y\\\",\\\"z\\\"],i),a&&s&&l&&(o=Math.min(a.length,s.length,l.length),e._length=e._xlength=e._ylength=e._zlength=o),o}(t,e,h,c)){h(\\\"text\\\"),h(\\\"hovertext\\\"),h(\\\"hovertemplate\\\"),h(\\\"mode\\\"),o.hasLines(e)&&(h(\\\"connectgaps\\\"),s(t,e,n,c,h)),o.hasMarkers(e)&&a(t,e,n,c,h,{noSelect:!0}),o.hasText(e)&&(h(\\\"texttemplate\\\"),l(t,e,c,h,{noSelect:!0}));var p=(e.line||{}).color,f=(e.marker||{}).color;h(\\\"surfaceaxis\\\")>=0&&h(\\\"surfacecolor\\\",p||f);for(var d=[\\\"x\\\",\\\"y\\\",\\\"z\\\"],m=0;m<3;++m){var v=\\\"projection.\\\"+d[m];h(v+\\\".show\\\")&&(h(v+\\\".opacity\\\"),h(v+\\\".scale\\\"))}var g=r.getComponentMethod(\\\"errorbars\\\",\\\"supplyDefaults\\\");g(t,e,p||f||n,{axis:\\\"z\\\"}),g(t,e,p||f||n,{axis:\\\"y\\\",inherit:\\\"z\\\"}),g(t,e,p||f||n,{axis:\\\"x\\\",inherit:\\\"z\\\"})}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../scatter/line_defaults\\\":1147,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scatter/text_defaults\\\":1159,\\\"./attributes\\\":1161}],1166:[function(t,e,n){\\\"use strict\\\";e.exports={plot:t(\\\"./convert\\\"),attributes:t(\\\"./attributes\\\"),markerSymbols:t(\\\"../../constants/gl3d_markers\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:[{container:\\\"marker\\\",min:\\\"cmin\\\",max:\\\"cmax\\\"},{container:\\\"line\\\",min:\\\"cmin\\\",max:\\\"cmax\\\"}],calc:t(\\\"./calc\\\"),moduleType:\\\"trace\\\",name:\\\"scatter3d\\\",basePlotModule:t(\\\"../../plots/gl3d\\\"),categories:[\\\"gl3d\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"scatter-like\\\"],meta:{}}},{\\\"../../constants/gl3d_markers\\\":702,\\\"../../plots/gl3d\\\":818,\\\"./attributes\\\":1161,\\\"./calc\\\":1162,\\\"./convert\\\":1164,\\\"./defaults\\\":1165}],1167:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/attributes\\\"),i=t(\\\"../../plots/attributes\\\"),o=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,a=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,s=t(\\\"../../components/colorscale/attributes\\\"),l=t(\\\"../../lib/extend\\\").extendFlat,u=r.marker,c=r.line,h=u.line;e.exports={carpet:{valType:\\\"string\\\",editType:\\\"calc\\\"},a:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},b:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},mode:l({},r.mode,{dflt:\\\"markers\\\"}),text:l({},r.text,{}),texttemplate:a({editType:\\\"plot\\\"},{keys:[\\\"a\\\",\\\"b\\\",\\\"text\\\"]}),hovertext:l({},r.hovertext,{}),line:{color:c.color,width:c.width,dash:c.dash,shape:l({},c.shape,{values:[\\\"linear\\\",\\\"spline\\\"]}),smoothing:c.smoothing,editType:\\\"calc\\\"},connectgaps:r.connectgaps,fill:l({},r.fill,{values:[\\\"none\\\",\\\"toself\\\",\\\"tonext\\\"],dflt:\\\"none\\\"}),fillcolor:r.fillcolor,marker:l({symbol:u.symbol,opacity:u.opacity,maxdisplayed:u.maxdisplayed,size:u.size,sizeref:u.sizeref,sizemin:u.sizemin,sizemode:u.sizemode,line:l({width:h.width,editType:\\\"calc\\\"},s(\\\"marker.line\\\")),gradient:u.gradient,editType:\\\"calc\\\"},s(\\\"marker\\\")),textfont:r.textfont,textposition:r.textposition,selected:r.selected,unselected:r.unselected,hoverinfo:l({},i.hoverinfo,{flags:[\\\"a\\\",\\\"b\\\",\\\"text\\\",\\\"name\\\"]}),hoveron:r.hoveron,hovertemplate:o()}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134}],1168:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../scatter/colorscale_calc\\\"),o=t(\\\"../scatter/arrays_to_calcdata\\\"),a=t(\\\"../scatter/calc_selection\\\"),s=t(\\\"../scatter/calc\\\").calcMarkerSize,l=t(\\\"../carpet/lookup_carpetid\\\");e.exports=function(t,e){var n=e._carpetTrace=l(t,e);if(n&&n.visible&&\\\"legendonly\\\"!==n.visible){var u;e.xaxis=n.xaxis,e.yaxis=n.yaxis;var c,h,p=e._length,f=new Array(p),d=!1;for(u=0;u<p;u++)if(c=e.a[u],h=e.b[u],r(c)&&r(h)){var m=n.ab2xy(+c,+h,!0),v=n.isVisible(+c,+h);v||(d=!0),f[u]={x:m[0],y:m[1],a:c,b:h,vis:v}}else f[u]={x:!1,y:!1};return e._needsCull=d,f[0].carpet=n,f[0].trace=e,s(e,p),i(t,e),o(f,e),a(f,e),f}}},{\\\"../carpet/lookup_carpetid\\\":929,\\\"../scatter/arrays_to_calcdata\\\":1133,\\\"../scatter/calc\\\":1135,\\\"../scatter/calc_selection\\\":1136,\\\"../scatter/colorscale_calc\\\":1137,\\\"fast-isnumeric\\\":236}],1169:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/constants\\\"),o=t(\\\"../scatter/subtypes\\\"),a=t(\\\"../scatter/marker_defaults\\\"),s=t(\\\"../scatter/line_defaults\\\"),l=t(\\\"../scatter/line_shape_defaults\\\"),u=t(\\\"../scatter/text_defaults\\\"),c=t(\\\"../scatter/fillcolor_defaults\\\"),h=t(\\\"./attributes\\\");e.exports=function(t,e,n,p){function f(n,i){return r.coerce(t,e,h,n,i)}f(\\\"carpet\\\"),e.xaxis=\\\"x\\\",e.yaxis=\\\"y\\\";var d=f(\\\"a\\\"),m=f(\\\"b\\\"),v=Math.min(d.length,m.length);if(v){e._length=v,f(\\\"text\\\"),f(\\\"texttemplate\\\"),f(\\\"hovertext\\\"),f(\\\"mode\\\",v<i.PTS_LINESONLY?\\\"lines+markers\\\":\\\"lines\\\"),o.hasLines(e)&&(s(t,e,n,p,f),l(t,e,f),f(\\\"connectgaps\\\")),o.hasMarkers(e)&&a(t,e,n,p,f,{gradient:!0}),o.hasText(e)&&u(t,e,p,f);var g=[];(o.hasMarkers(e)||o.hasText(e))&&(f(\\\"marker.maxdisplayed\\\"),g.push(\\\"points\\\")),f(\\\"fill\\\"),\\\"none\\\"!==e.fill&&(c(t,e,n,f),o.hasLines(e)||l(t,e,f)),\\\"tonext\\\"!==e.fill&&\\\"toself\\\"!==e.fill||g.push(\\\"fills\\\"),\\\"fills\\\"!==f(\\\"hoveron\\\",g.join(\\\"+\\\")||\\\"points\\\")&&f(\\\"hovertemplate\\\"),r.coerceSelectionMarkerOpacity(e,f)}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"../scatter/constants\\\":1138,\\\"../scatter/fillcolor_defaults\\\":1142,\\\"../scatter/line_defaults\\\":1147,\\\"../scatter/line_shape_defaults\\\":1149,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scatter/text_defaults\\\":1159,\\\"./attributes\\\":1167}],1170:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i){var o=r[i];return t.a=o.a,t.b=o.b,t.y=o.y,t}},{}],1171:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){var n={},r=e._carpet,i=r.ab2ij([t.a,t.b]),o=Math.floor(i[0]),a=i[0]-o,s=Math.floor(i[1]),l=i[1]-s,u=r.evalxy([],o,s,a,l);return n.yLabel=u[1].toFixed(3),n}},{}],1172:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/hover\\\"),i=t(\\\"../../lib\\\").fillText;e.exports=function(t,e,n,o){var a=r(t,e,n,o);if(a&&!1!==a[0].index){var s=a[0];if(void 0===s.index){var l=1-s.y0/t.ya._length,u=t.xa._length,c=u*l/2,h=u-c;return s.x0=Math.max(Math.min(s.x0,h),c),s.x1=Math.max(Math.min(s.x1,h),c),a}var p=s.cd[s.index];s.a=p.a,s.b=p.b,s.xLabelVal=void 0,s.yLabelVal=void 0;var f=s.trace,d=f._carpet,m=f._module.formatLabels(p,f);s.yLabel=m.yLabel,delete s.text;var v=[];if(!f.hovertemplate){var g=(p.hi||f.hoverinfo).split(\\\"+\\\");-1!==g.indexOf(\\\"all\\\")&&(g=[\\\"a\\\",\\\"b\\\",\\\"text\\\"]),-1!==g.indexOf(\\\"a\\\")&&y(d.aaxis,p.a),-1!==g.indexOf(\\\"b\\\")&&y(d.baxis,p.b),v.push(\\\"y: \\\"+s.yLabel),-1!==g.indexOf(\\\"text\\\")&&i(p,f,v),s.extraText=v.join(\\\"<br>\\\")}return a}function y(t,e){var n;n=t.labelprefix&&t.labelprefix.length>0?t.labelprefix.replace(/ = $/,\\\"\\\"):t._hovertitle,v.push(n+\\\": \\\"+e.toFixed(3)+t.labelsuffix)}}},{\\\"../../lib\\\":728,\\\"../scatter/hover\\\":1145}],1173:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../scatter/marker_colorbar\\\"),formatLabels:t(\\\"./format_labels\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"../scatter/style\\\").style,styleOnSelect:t(\\\"../scatter/style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\"),selectPoints:t(\\\"../scatter/select\\\"),eventData:t(\\\"./event_data\\\"),moduleType:\\\"trace\\\",name:\\\"scattercarpet\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"svg\\\",\\\"carpet\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"carpetDependent\\\",\\\"zoomScale\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../scatter/marker_colorbar\\\":1152,\\\"../scatter/select\\\":1155,\\\"../scatter/style\\\":1157,\\\"./attributes\\\":1167,\\\"./calc\\\":1168,\\\"./defaults\\\":1169,\\\"./event_data\\\":1170,\\\"./format_labels\\\":1171,\\\"./hover\\\":1172,\\\"./plot\\\":1174}],1174:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/plot\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../../components/drawing\\\");e.exports=function(t,e,n,a){var s,l,u,c=n[0][0].carpet,h={xaxis:i.getFromId(t,c.xaxis||\\\"x\\\"),yaxis:i.getFromId(t,c.yaxis||\\\"y\\\"),plot:e.plot};for(r(t,h,n,a),s=0;s<n.length;s++)l=n[s][0].trace,u=a.selectAll(\\\"g.trace\\\"+l.uid+\\\" .js-line\\\"),o.setClipUrl(u,n[s][0].carpet._clipPathId,t)}},{\\\"../../components/drawing\\\":617,\\\"../../plots/cartesian/axes\\\":776,\\\"../scatter/plot\\\":1154}],1175:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,i=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,o=t(\\\"../scatter/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../components/colorscale/attributes\\\"),l=t(\\\"../../components/drawing/attributes\\\").dash,u=t(\\\"../../lib/extend\\\").extendFlat,c=t(\\\"../../plot_api/edit_types\\\").overrideAll,h=o.marker,p=o.line,f=h.line;e.exports=c({lon:{valType:\\\"data_array\\\"},lat:{valType:\\\"data_array\\\"},locations:{valType:\\\"data_array\\\"},locationmode:{valType:\\\"enumerated\\\",values:[\\\"ISO-3\\\",\\\"USA-states\\\",\\\"country names\\\",\\\"geojson-id\\\"],dflt:\\\"ISO-3\\\"},geojson:{valType:\\\"any\\\",editType:\\\"calc\\\"},featureidkey:{valType:\\\"string\\\",editType:\\\"calc\\\",dflt:\\\"id\\\"},mode:u({},o.mode,{dflt:\\\"markers\\\"}),text:u({},o.text,{}),texttemplate:i({editType:\\\"plot\\\"},{keys:[\\\"lat\\\",\\\"lon\\\",\\\"location\\\",\\\"text\\\"]}),hovertext:u({},o.hovertext,{}),textfont:o.textfont,textposition:o.textposition,line:{color:p.color,width:p.width,dash:l},connectgaps:o.connectgaps,marker:u({symbol:h.symbol,opacity:h.opacity,size:h.size,sizeref:h.sizeref,sizemin:h.sizemin,sizemode:h.sizemode,colorbar:h.colorbar,line:u({width:f.width},s(\\\"marker.line\\\")),gradient:h.gradient},s(\\\"marker\\\")),fill:{valType:\\\"enumerated\\\",values:[\\\"none\\\",\\\"toself\\\"],dflt:\\\"none\\\"},fillcolor:o.fillcolor,selected:o.selected,unselected:o.unselected,hoverinfo:u({},a.hoverinfo,{flags:[\\\"lon\\\",\\\"lat\\\",\\\"location\\\",\\\"text\\\",\\\"name\\\"]}),hovertemplate:r()},\\\"calc\\\",\\\"nested\\\")},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../components/drawing/attributes\\\":616,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134}],1176:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../constants/numerical\\\").BADNUM,o=t(\\\"../scatter/colorscale_calc\\\"),a=t(\\\"../scatter/arrays_to_calcdata\\\"),s=t(\\\"../scatter/calc_selection\\\"),l=t(\\\"../../lib\\\")._;function u(t){return t&&\\\"string\\\"==typeof t}e.exports=function(t,e){var n,c=Array.isArray(e.locations),h=c?e.locations.length:e._length,p=new Array(h);n=e.geojson?function(t){return u(t)||r(t)}:u;for(var f=0;f<h;f++){var d=p[f]={};if(c){var m=e.locations[f];d.loc=n(m)?m:null}else{var v=e.lon[f],g=e.lat[f];r(v)&&r(g)?d.lonlat=[+v,+g]:d.lonlat=[i,i]}}return a(p,e),o(t,e),s(p,e),h&&(p[0].t={labels:{lat:l(t,\\\"lat:\\\")+\\\" \\\",lon:l(t,\\\"lon:\\\")+\\\" \\\"}}),p}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../scatter/arrays_to_calcdata\\\":1133,\\\"../scatter/calc_selection\\\":1136,\\\"../scatter/colorscale_calc\\\":1137,\\\"fast-isnumeric\\\":236}],1177:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/subtypes\\\"),o=t(\\\"../scatter/marker_defaults\\\"),a=t(\\\"../scatter/line_defaults\\\"),s=t(\\\"../scatter/text_defaults\\\"),l=t(\\\"../scatter/fillcolor_defaults\\\"),u=t(\\\"./attributes\\\");e.exports=function(t,e,n,c){function h(n,i){return r.coerce(t,e,u,n,i)}var p,f=h(\\\"locations\\\");if(f&&f.length){var d,m=h(\\\"geojson\\\");(\\\"string\\\"==typeof m&&\\\"\\\"!==m||r.isPlainObject(m))&&(d=\\\"geojson-id\\\"),\\\"geojson-id\\\"===h(\\\"locationmode\\\",d)&&h(\\\"featureidkey\\\"),p=f.length}else{var v=h(\\\"lon\\\")||[],g=h(\\\"lat\\\")||[];p=Math.min(v.length,g.length)}p?(e._length=p,h(\\\"text\\\"),h(\\\"hovertext\\\"),h(\\\"hovertemplate\\\"),h(\\\"mode\\\"),i.hasLines(e)&&(a(t,e,n,c,h),h(\\\"connectgaps\\\")),i.hasMarkers(e)&&o(t,e,n,c,h,{gradient:!0}),i.hasText(e)&&(h(\\\"texttemplate\\\"),s(t,e,c,h)),h(\\\"fill\\\"),\\\"none\\\"!==e.fill&&l(t,e,n,h),r.coerceSelectionMarkerOpacity(e,h)):e.visible=!1}},{\\\"../../lib\\\":728,\\\"../scatter/fillcolor_defaults\\\":1142,\\\"../scatter/line_defaults\\\":1147,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scatter/text_defaults\\\":1159,\\\"./attributes\\\":1175}],1178:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i){t.lon=e.lon,t.lat=e.lat,t.location=e.loc?e.loc:null;var o=r[i];return o.fIn&&o.fIn.properties&&(t.properties=o.fIn.properties),t}},{}],1179:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\");e.exports=function(t,e,n){var i={},o=n[e.geo]._subplot.mockAxis,a=t.lonlat;return i.lonLabel=r.tickText(o,o.c2l(a[0]),!0).text,i.latLabel=r.tickText(o,o.c2l(a[1]),!0).text,i}},{\\\"../../plots/cartesian/axes\\\":776}],1180:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/fx\\\"),i=t(\\\"../../constants/numerical\\\").BADNUM,o=t(\\\"../scatter/get_trace_color\\\"),a=t(\\\"../../lib\\\").fillText,s=t(\\\"./attributes\\\");e.exports=function(t,e,n){var l=t.cd,u=l[0].trace,c=t.xa,h=t.ya,p=t.subplot,f=p.projection.isLonLatOverEdges,d=p.project;if(r.getClosest(l,(function(t){var r=t.lonlat;if(r[0]===i)return 1/0;if(f(r))return 1/0;var o=d(r),a=d([e,n]),s=Math.abs(o[0]-a[0]),l=Math.abs(o[1]-a[1]),u=Math.max(3,t.mrc||0);return Math.max(Math.sqrt(s*s+l*l)-u,1-3/u)}),t),!1!==t.index){var m=l[t.index],v=m.lonlat,g=[c.c2p(v),h.c2p(v)],y=m.mrc||1;t.x0=g[0]-y,t.x1=g[0]+y,t.y0=g[1]-y,t.y1=g[1]+y,t.loc=m.loc,t.lon=v[0],t.lat=v[1];var _={};_[u.geo]={_subplot:p};var b=u._module.formatLabels(m,u,_);return t.lonLabel=b.lonLabel,t.latLabel=b.latLabel,t.color=o(u,m),t.extraText=function(t,e,n,r){if(!t.hovertemplate){var i=e.hi||t.hoverinfo,o=\\\"all\\\"===i?s.hoverinfo.flags:i.split(\\\"+\\\"),l=-1!==o.indexOf(\\\"location\\\")&&Array.isArray(t.locations),u=-1!==o.indexOf(\\\"lon\\\"),c=-1!==o.indexOf(\\\"lat\\\"),h=-1!==o.indexOf(\\\"text\\\"),p=[];return l?p.push(e.loc):u&&c?p.push(\\\"(\\\"+f(n.lonLabel)+\\\", \\\"+f(n.latLabel)+\\\")\\\"):u?p.push(r.lon+f(n.lonLabel)):c&&p.push(r.lat+f(n.latLabel)),h&&a(e,t,p),p.join(\\\"<br>\\\")}function f(t){return t+\\\"°\\\"}}(u,m,t,l[0].t.labels),t.hovertemplate=u.hovertemplate,[t]}}},{\\\"../../components/fx\\\":635,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../scatter/get_trace_color\\\":1144,\\\"./attributes\\\":1175}],1181:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../scatter/marker_colorbar\\\"),formatLabels:t(\\\"./format_labels\\\"),calc:t(\\\"./calc\\\"),calcGeoJSON:t(\\\"./plot\\\").calcGeoJSON,plot:t(\\\"./plot\\\").plot,style:t(\\\"./style\\\"),styleOnSelect:t(\\\"../scatter/style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\"),eventData:t(\\\"./event_data\\\"),selectPoints:t(\\\"./select\\\"),moduleType:\\\"trace\\\",name:\\\"scattergeo\\\",basePlotModule:t(\\\"../../plots/geo\\\"),categories:[\\\"geo\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"scatter-like\\\"],meta:{}}},{\\\"../../plots/geo\\\":808,\\\"../scatter/marker_colorbar\\\":1152,\\\"../scatter/style\\\":1157,\\\"./attributes\\\":1175,\\\"./calc\\\":1176,\\\"./defaults\\\":1177,\\\"./event_data\\\":1178,\\\"./format_labels\\\":1179,\\\"./hover\\\":1180,\\\"./plot\\\":1182,\\\"./select\\\":1183,\\\"./style\\\":1184}],1182:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../lib/topojson_utils\\\").getTopojsonFeatures,a=t(\\\"../../lib/geojson_utils\\\"),s=t(\\\"../../lib/geo_location_utils\\\"),l=t(\\\"../../plots/cartesian/autorange\\\").findExtremes,u=t(\\\"../../constants/numerical\\\").BADNUM,c=t(\\\"../scatter/calc\\\").calcMarkerSize,h=t(\\\"../scatter/subtypes\\\"),p=t(\\\"./style\\\");e.exports={calcGeoJSON:function(t,e){var n,r,i=t[0].trace,a=e[i.geo],h=a._subplot,p=i._length;if(Array.isArray(i.locations)){var f=i.locationmode,d=\\\"geojson-id\\\"===f?s.extractTraceFeature(t):o(i,h.topojson);for(n=0;n<p;n++){r=t[n];var m=\\\"geojson-id\\\"===f?r.fOut:s.locationToFeature(f,r.loc,d);r.lonlat=m?m.properties.ct:[u,u]}}var v,g,y={padded:!0};if(\\\"geojson\\\"===a.fitbounds&&\\\"geojson-id\\\"===i.locationmode){var _=s.computeBbox(s.getTraceGeojson(i));v=[_[0],_[2]],g=[_[1],_[3]]}else{for(v=new Array(p),g=new Array(p),n=0;n<p;n++)r=t[n],v[n]=r.lonlat[0],g[n]=r.lonlat[1];y.ppad=c(i,p)}i._extremes.lon=l(a.lonaxis._ax,v,y),i._extremes.lat=l(a.lataxis._ax,g,y)},plot:function(t,e,n){var o=e.layers.frontplot.select(\\\".scatterlayer\\\"),s=i.makeTraceGroups(o,n,\\\"trace scattergeo\\\");function l(t,e){t.lonlat[0]===u&&r.select(e).remove()}s.selectAll(\\\"*\\\").remove(),s.each((function(e){var n=r.select(this),o=e[0].trace;if(h.hasLines(o)||\\\"none\\\"!==o.fill){var s=a.calcTraceToLineCoords(e),u=\\\"none\\\"!==o.fill?a.makePolygon(s):a.makeLine(s);n.selectAll(\\\"path.js-line\\\").data([{geojson:u,trace:o}]).enter().append(\\\"path\\\").classed(\\\"js-line\\\",!0).style(\\\"stroke-miterlimit\\\",2)}h.hasMarkers(o)&&n.selectAll(\\\"path.point\\\").data(i.identity).enter().append(\\\"path\\\").classed(\\\"point\\\",!0).each((function(t){l(t,this)})),h.hasText(o)&&n.selectAll(\\\"g\\\").data(i.identity).enter().append(\\\"g\\\").append(\\\"text\\\").each((function(t){l(t,this)})),p(t,e)}))}}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../lib/geo_location_utils\\\":722,\\\"../../lib/geojson_utils\\\":723,\\\"../../lib/topojson_utils\\\":755,\\\"../../plots/cartesian/autorange\\\":775,\\\"../scatter/calc\\\":1135,\\\"../scatter/subtypes\\\":1158,\\\"./style\\\":1184,d3:164}],1183:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/subtypes\\\"),i=t(\\\"../../constants/numerical\\\").BADNUM;e.exports=function(t,e){var n,o,a,s,l,u=t.cd,c=t.xaxis,h=t.yaxis,p=[],f=u[0].trace;if(!r.hasMarkers(f)&&!r.hasText(f))return[];if(!1===e)for(l=0;l<u.length;l++)u[l].selected=0;else for(l=0;l<u.length;l++)(o=(n=u[l]).lonlat)[0]!==i&&(a=c.c2p(o),s=h.c2p(o),e.contains([a,s],null,l,t)?(p.push({pointNumber:l,lon:o[0],lat:o[1]}),n.selected=1):n.selected=0);return p}},{\\\"../../constants/numerical\\\":704,\\\"../scatter/subtypes\\\":1158}],1184:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/drawing\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"../scatter/style\\\"),s=a.stylePoints,l=a.styleText;e.exports=function(t,e){e&&function(t,e){var n=e[0].trace,a=e[0].node3;a.style(\\\"opacity\\\",e[0].trace.opacity),s(a,n,t),l(a,n,t),a.selectAll(\\\"path.js-line\\\").style(\\\"fill\\\",\\\"none\\\").each((function(t){var e=r.select(this),n=t.trace,a=n.line||{};e.call(o.stroke,a.color).call(i.dashLine,a.dash||\\\"\\\",a.width||0),\\\"none\\\"!==n.fill&&e.call(o.fill,n.fillcolor)}))}(t,e)}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../scatter/style\\\":1157,d3:164}],1185:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/attributes\\\"),i=t(\\\"../scatter/attributes\\\"),o=t(\\\"../../components/colorscale/attributes\\\"),a=t(\\\"../../lib/extend\\\").extendFlat,s=t(\\\"../../plot_api/edit_types\\\").overrideAll,l=t(\\\"./constants\\\").DASHES,u=i.line,c=i.marker,h=c.line,p=e.exports=s({x:i.x,x0:i.x0,dx:i.dx,y:i.y,y0:i.y0,dy:i.dy,text:i.text,hovertext:i.hovertext,textposition:i.textposition,textfont:i.textfont,mode:{valType:\\\"flaglist\\\",flags:[\\\"lines\\\",\\\"markers\\\",\\\"text\\\"],extras:[\\\"none\\\"]},line:{color:u.color,width:u.width,shape:{valType:\\\"enumerated\\\",values:[\\\"linear\\\",\\\"hv\\\",\\\"vh\\\",\\\"hvh\\\",\\\"vhv\\\"],dflt:\\\"linear\\\",editType:\\\"plot\\\"},dash:{valType:\\\"enumerated\\\",values:Object.keys(l),dflt:\\\"solid\\\"}},marker:a({},o(\\\"marker\\\"),{symbol:c.symbol,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,opacity:c.opacity,colorbar:c.colorbar,line:a({},o(\\\"marker.line\\\"),{width:h.width})}),connectgaps:i.connectgaps,fill:a({},i.fill,{dflt:\\\"none\\\"}),fillcolor:i.fillcolor,selected:{marker:i.selected.marker,textfont:i.selected.textfont},unselected:{marker:i.unselected.marker,textfont:i.unselected.textfont},opacity:r.opacity},\\\"calc\\\",\\\"nested\\\");p.x.editType=p.y.editType=p.x0.editType=p.y0.editType=\\\"calc+clearAxisTypes\\\",p.hovertemplate=i.hovertemplate,p.texttemplate=i.texttemplate},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/attributes\\\":773,\\\"../scatter/attributes\\\":1134,\\\"./constants\\\":1187}],1186:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"point-cluster\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/cartesian/axis_ids\\\"),a=t(\\\"../../plots/cartesian/autorange\\\").findExtremes,s=t(\\\"../scatter/calc\\\"),l=s.calcMarkerSize,u=s.calcAxisExpansion,c=s.setFirstScatter,h=t(\\\"../scatter/colorscale_calc\\\"),p=t(\\\"./convert\\\"),f=t(\\\"./scene_update\\\"),d=t(\\\"../../constants/numerical\\\").BADNUM,m=t(\\\"./constants\\\").TOO_MANY_POINTS;function v(t,e,n){var r=t._extremes[e._id],i=a(e,n._bnds,{padded:!0});r.min=r.min.concat(i.min),r.max=r.max.concat(i.max)}e.exports=function(t,e){var n,a,s,g=t._fullLayout,y=o.getFromId(t,e.xaxis),_=o.getFromId(t,e.yaxis),b=g._plots[e.xaxis+e.yaxis],x=e._length,w=x>=m,A=2*x,C={},M=e._x=y.makeCalcdata(e,\\\"x\\\"),E=e._y=_.makeCalcdata(e,\\\"y\\\"),T=new Array(A);for(n=0;n<x;n++)a=M[n],s=E[n],T[2*n]=a===d?NaN:a,T[2*n+1]=s===d?NaN:s;if(\\\"log\\\"===y.type)for(n=0;n<A;n+=2)T[n]=y.c2l(T[n]);if(\\\"log\\\"===_.type)for(n=1;n<A;n+=2)T[n]=_.c2l(T[n]);if(w&&\\\"log\\\"!==y.type&&\\\"log\\\"!==_.type)C.tree=r(T);else{var S=C.ids=new Array(x);for(n=0;n<x;n++)S[n]=n}h(t,e);var k,O=function(t,e,n,r,o,a){var s=p.style(t,n);if(s.marker&&(s.marker.positions=r),s.line&&r.length>1&&i.extendFlat(s.line,p.linePositions(t,n,r)),s.errorX||s.errorY){var l=p.errorBarPositions(t,n,r,o,a);s.errorX&&i.extendFlat(s.errorX,l.x),s.errorY&&i.extendFlat(s.errorY,l.y)}return s.text&&(i.extendFlat(s.text,{positions:r},p.textPosition(t,n,s.text,s.marker)),i.extendFlat(s.textSel,{positions:r},p.textPosition(t,n,s.text,s.markerSel)),i.extendFlat(s.textUnsel,{positions:r},p.textPosition(t,n,s.text,s.markerUnsel))),s}(t,0,e,T,M,E),I=f(t,b);return c(g,e),w?O.marker&&(k=2*(O.marker.sizeAvg||Math.max(O.marker.size,3))):k=l(e,x),u(t,e,y,_,M,E,k),O.errorX&&v(e,y,O.errorX),O.errorY&&v(e,_,O.errorY),O.fill&&!I.fill2d&&(I.fill2d=!0),O.marker&&!I.scatter2d&&(I.scatter2d=!0),O.line&&!I.line2d&&(I.line2d=!0),!O.errorX&&!O.errorY||I.error2d||(I.error2d=!0),O.text&&!I.glText&&(I.glText=!0),O.marker&&(O.marker.snap=x),I.lineOptions.push(O.line),I.errorXOptions.push(O.errorX),I.errorYOptions.push(O.errorY),I.fillOptions.push(O.fill),I.markerOptions.push(O.marker),I.markerSelectedOptions.push(O.markerSel),I.markerUnselectedOptions.push(O.markerUnsel),I.textOptions.push(O.text),I.textSelectedOptions.push(O.textSel),I.textUnselectedOptions.push(O.textUnsel),I.selectBatch.push([]),I.unselectBatch.push([]),C._scene=I,C.index=I.count,C.x=M,C.y=E,C.positions=T,I.count++,[{x:!1,y:!1,t:C,trace:e}]}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/autorange\\\":775,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../scatter/calc\\\":1135,\\\"../scatter/colorscale_calc\\\":1137,\\\"./constants\\\":1187,\\\"./convert\\\":1188,\\\"./scene_update\\\":1196,\\\"point-cluster\\\":467}],1187:[function(t,e,n){\\\"use strict\\\";e.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},{}],1188:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"svg-path-sdf\\\"),o=t(\\\"color-normalize\\\"),a=t(\\\"../../registry\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../../components/drawing\\\"),u=t(\\\"../../plots/cartesian/axis_ids\\\"),c=t(\\\"../../lib/gl_format_color\\\").formatColor,h=t(\\\"../scatter/subtypes\\\"),p=t(\\\"../scatter/make_bubble_size_func\\\"),f=t(\\\"./helpers\\\"),d=t(\\\"./constants\\\"),m=t(\\\"../../constants/interactions\\\").DESELECTDIM,v={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},g=t(\\\"../../components/fx/helpers\\\").appendArrayPointValue;function y(t,e){var n,i=t._fullLayout,o=e._length,a=e.textfont,l=e.textposition,u=Array.isArray(l)?l:[l],c=a.color,h=a.size,p=a.family,f={},d=e.texttemplate;if(d){f.text=[];var m=i._d3locale,v=Array.isArray(d),y=v?Math.min(d.length,o):o,_=v?function(t){return d[t]}:function(){return d};for(n=0;n<y;n++){var b={i:n},x=e._module.formatLabels(b,e,i),w={};g(w,e,n);var A=e._meta||{};f.text.push(s.texttemplateString(_(n),x,m,w,b,A))}}else Array.isArray(e.text)&&e.text.length<o?f.text=e.text.slice():f.text=e.text;if(Array.isArray(f.text))for(n=f.text.length;n<o;n++)f.text[n]=\\\"\\\";for(f.opacity=e.opacity,f.font={},f.align=[],f.baseline=[],n=0;n<u.length;n++){var C=u[n].split(/\\\\s+/);switch(C[1]){case\\\"left\\\":f.align.push(\\\"right\\\");break;case\\\"right\\\":f.align.push(\\\"left\\\");break;default:f.align.push(C[1])}switch(C[0]){case\\\"top\\\":f.baseline.push(\\\"bottom\\\");break;case\\\"bottom\\\":f.baseline.push(\\\"top\\\");break;default:f.baseline.push(C[0])}}if(Array.isArray(c))for(f.color=new Array(o),n=0;n<o;n++)f.color[n]=c[n];else f.color=c;if(s.isArrayOrTypedArray(h)||Array.isArray(p))for(f.font=new Array(o),n=0;n<o;n++){var M=f.font[n]={};M.size=s.isTypedArray(h)?h[n]:Array.isArray(h)?r(h[n])?h[n]:0:h,M.family=Array.isArray(p)?p[n]:p}else f.font={size:h,family:p};return f}function _(t){var e,n,r=t._length,i=t.marker,a={},l=s.isArrayOrTypedArray(i.symbol),u=s.isArrayOrTypedArray(i.color),h=s.isArrayOrTypedArray(i.line.color),d=s.isArrayOrTypedArray(i.opacity),m=s.isArrayOrTypedArray(i.size),v=s.isArrayOrTypedArray(i.line.width);if(l||(n=f.isOpenSymbol(i.symbol)),l||u||h||d){a.colors=new Array(r),a.borderColors=new Array(r);var g=c(i,i.opacity,r),y=c(i.line,i.opacity,r);if(!Array.isArray(y[0])){var _=y;for(y=Array(r),e=0;e<r;e++)y[e]=_}if(!Array.isArray(g[0])){var b=g;for(g=Array(r),e=0;e<r;e++)g[e]=b}for(a.colors=g,a.borderColors=y,e=0;e<r;e++){if(l){var x=i.symbol[e];n=f.isOpenSymbol(x)}n&&(y[e]=g[e].slice(),g[e]=g[e].slice(),g[e][3]=0)}a.opacity=t.opacity}else n?(a.color=o(i.color,\\\"uint8\\\"),a.color[3]=0,a.borderColor=o(i.color,\\\"uint8\\\")):(a.color=o(i.color,\\\"uint8\\\"),a.borderColor=o(i.line.color,\\\"uint8\\\")),a.opacity=t.opacity*i.opacity;if(l)for(a.markers=new Array(r),e=0;e<r;e++)a.markers[e]=S(i.symbol[e]);else a.marker=S(i.symbol);var w,A=p(t);if(m||v){var C,M=a.sizes=new Array(r),E=a.borderSizes=new Array(r),T=0;if(m){for(e=0;e<r;e++)M[e]=A(i.size[e]),T+=M[e];C=T/r}else for(w=A(i.size),e=0;e<r;e++)M[e]=w;if(v)for(e=0;e<r;e++)E[e]=i.line.width[e]/2;else for(w=i.line.width/2,e=0;e<r;e++)E[e]=w;a.sizeAvg=C}else a.size=A(i&&i.size||10),a.borderSizes=A(i.line.width);return a}function b(t,e){var n=t.marker,r={};return e?(e.marker&&e.marker.symbol?r=_(s.extendFlat({},n,e.marker)):e.marker&&(e.marker.size&&(r.size=e.marker.size/2),e.marker.color&&(r.colors=e.marker.color),void 0!==e.marker.opacity&&(r.opacity=e.marker.opacity)),r):r}function x(t,e,n){var r={};if(!n)return r;if(n.textfont){var i={opacity:1,text:e.text,texttemplate:e.texttemplate,textposition:e.textposition,textfont:s.extendFlat({},e.textfont)};n.textfont&&s.extendFlat(i.textfont,n.textfont),r=y(t,i)}return r}function w(t,e){var n={capSize:2*e.width,lineWidth:e.thickness,color:e.color};return e.copy_ystyle&&(n=t.error_y),n}var A=d.SYMBOL_SDF_SIZE,C=d.SYMBOL_SIZE,M=d.SYMBOL_STROKE,E={},T=l.symbolFuncs[0](.05*C);function S(t){if(\\\"circle\\\"===t)return null;var e,n,r=l.symbolNumber(t),o=l.symbolFuncs[r%100],a=!!l.symbolNoDot[r%100],s=!!l.symbolNoFill[r%100],u=f.isDotSymbol(t);return E[t]?E[t]:(e=u&&!a?o(1.1*C)+T:o(C),n=i(e,{w:A,h:A,viewBox:[-C,-C,C,C],stroke:s?M:-M}),E[t]=n,n||null)}e.exports={style:function(t,e){var n,r={marker:void 0,markerSel:void 0,markerUnsel:void 0,line:void 0,fill:void 0,errorX:void 0,errorY:void 0,text:void 0,textSel:void 0,textUnsel:void 0};if(!0!==e.visible)return r;if(h.hasText(e)&&(r.text=y(t,e),r.textSel=x(t,e,e.selected),r.textUnsel=x(t,e,e.unselected)),h.hasMarkers(e)&&(r.marker=_(e),r.markerSel=b(e,e.selected),r.markerUnsel=b(e,e.unselected),!e.unselected&&s.isArrayOrTypedArray(e.marker.opacity))){var i=e.marker.opacity;for(r.markerUnsel.opacity=new Array(i.length),n=0;n<i.length;n++)r.markerUnsel.opacity[n]=m*i[n]}if(h.hasLines(e)){r.line={overlay:!0,thickness:e.line.width,color:e.line.color,opacity:e.opacity};var o=(d.DASHES[e.line.dash]||[1]).slice();for(n=0;n<o.length;++n)o[n]*=e.line.width;r.line.dashes=o}return e.error_x&&e.error_x.visible&&(r.errorX=w(e,e.error_x)),e.error_y&&e.error_y.visible&&(r.errorY=w(e,e.error_y)),e.fill&&\\\"none\\\"!==e.fill&&(r.fill={closed:!0,fill:e.fillcolor,thickness:0}),r},markerStyle:_,markerSelection:b,linePositions:function(t,e,n){var r,i,o=n.length,a=o/2;if(h.hasLines(e)&&a)if(\\\"hv\\\"===e.line.shape){for(r=[],i=0;i<a-1;i++)isNaN(n[2*i])||isNaN(n[2*i+1])?r.push(NaN,NaN,NaN,NaN):(r.push(n[2*i],n[2*i+1]),isNaN(n[2*i+2])||isNaN(n[2*i+3])?r.push(NaN,NaN):r.push(n[2*i+2],n[2*i+1]));r.push(n[o-2],n[o-1])}else if(\\\"hvh\\\"===e.line.shape){for(r=[],i=0;i<a-1;i++)if(isNaN(n[2*i])||isNaN(n[2*i+1])||isNaN(n[2*i+2])||isNaN(n[2*i+3]))isNaN(n[2*i])||isNaN(n[2*i+1])?r.push(NaN,NaN):r.push(n[2*i],n[2*i+1]),r.push(NaN,NaN);else{var s=(n[2*i]+n[2*i+2])/2;r.push(n[2*i],n[2*i+1],s,n[2*i+1],s,n[2*i+3])}r.push(n[o-2],n[o-1])}else if(\\\"vhv\\\"===e.line.shape){for(r=[],i=0;i<a-1;i++)if(isNaN(n[2*i])||isNaN(n[2*i+1])||isNaN(n[2*i+2])||isNaN(n[2*i+3]))isNaN(n[2*i])||isNaN(n[2*i+1])?r.push(NaN,NaN):r.push(n[2*i],n[2*i+1]),r.push(NaN,NaN);else{var l=(n[2*i+1]+n[2*i+3])/2;r.push(n[2*i],n[2*i+1],n[2*i],l,n[2*i+2],l)}r.push(n[o-2],n[o-1])}else if(\\\"vh\\\"===e.line.shape){for(r=[],i=0;i<a-1;i++)isNaN(n[2*i])||isNaN(n[2*i+1])?r.push(NaN,NaN,NaN,NaN):(r.push(n[2*i],n[2*i+1]),isNaN(n[2*i+2])||isNaN(n[2*i+3])?r.push(NaN,NaN):r.push(n[2*i],n[2*i+3]));r.push(n[o-2],n[o-1])}else r=n;var u=!1;for(i=0;i<r.length;i++)if(isNaN(r[i])){u=!0;break}var c=u||r.length>d.TOO_MANY_POINTS||h.hasMarkers(e)?\\\"rect\\\":\\\"round\\\";if(u&&e.connectgaps){var p=r[0],f=r[1];for(i=0;i<r.length;i+=2)isNaN(r[i])||isNaN(r[i+1])?(r[i]=p,r[i+1]=f):(p=r[i],f=r[i+1])}return{join:c,positions:r}},errorBarPositions:function(t,e,n,i,o){var s=a.getComponentMethod(\\\"errorbars\\\",\\\"makeComputeError\\\"),l=u.getFromId(t,e.xaxis),c=u.getFromId(t,e.yaxis),h=n.length/2,p={};function f(t,i){var o=i._id.charAt(0),a=e[\\\"error_\\\"+o];if(a&&a.visible&&(\\\"linear\\\"===i.type||\\\"log\\\"===i.type)){for(var l=s(a),u={x:0,y:1}[o],c={x:[0,1,2,3],y:[2,3,0,1]}[o],f=new Float64Array(4*h),d=1/0,m=-1/0,v=0,g=0;v<h;v++,g+=4){var y=t[v];if(r(y)){var _=n[2*v+u],b=l(y,v),x=b[0],w=b[1];if(r(x)&&r(w)){var A=y-x,C=y+w;f[g+c[0]]=_-i.c2l(A),f[g+c[1]]=i.c2l(C)-_,f[g+c[2]]=0,f[g+c[3]]=0,d=Math.min(d,y-x),m=Math.max(m,y+w)}}}p[o]={positions:n,errors:f,_bnds:[d,m]}}}return f(i,l),f(o,c),p},textPosition:function(t,e,n,r){var i,o=e._length,a={};if(h.hasMarkers(e)){var s=n.font,l=n.align,u=n.baseline;for(a.offset=new Array(o),i=0;i<o;i++){var c=r.sizes?r.sizes[i]:r.size,p=Array.isArray(s)?s[i].size:s.size,f=Array.isArray(l)?l.length>1?l[i]:l[0]:l,d=Array.isArray(u)?u.length>1?u[i]:u[0]:u,m=v[f],g=v[d],y=c?c/.8+1:0,_=-g*y-.5*g;a.offset[i]=[m*y/p,_/p]}}return a}}},{\\\"../../components/drawing\\\":617,\\\"../../components/fx/helpers\\\":631,\\\"../../constants/interactions\\\":703,\\\"../../lib\\\":728,\\\"../../lib/gl_format_color\\\":725,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../registry\\\":859,\\\"../scatter/make_bubble_size_func\\\":1151,\\\"../scatter/subtypes\\\":1158,\\\"./constants\\\":1187,\\\"./helpers\\\":1192,\\\"color-normalize\\\":122,\\\"fast-isnumeric\\\":236,\\\"svg-path-sdf\\\":526}],1189:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"./helpers\\\"),a=t(\\\"./attributes\\\"),s=t(\\\"../scatter/constants\\\"),l=t(\\\"../scatter/subtypes\\\"),u=t(\\\"../scatter/xy_defaults\\\"),c=t(\\\"../scatter/marker_defaults\\\"),h=t(\\\"../scatter/line_defaults\\\"),p=t(\\\"../scatter/fillcolor_defaults\\\"),f=t(\\\"../scatter/text_defaults\\\");e.exports=function(t,e,n,d){function m(n,i){return r.coerce(t,e,a,n,i)}var v=!!t.marker&&o.isOpenSymbol(t.marker.symbol),g=l.isBubble(t),y=u(t,e,d,m);if(y){var _=y<s.PTS_LINESONLY?\\\"lines+markers\\\":\\\"lines\\\";m(\\\"text\\\"),m(\\\"hovertext\\\"),m(\\\"hovertemplate\\\"),m(\\\"mode\\\",_),l.hasLines(e)&&(m(\\\"connectgaps\\\"),h(t,e,n,d,m),m(\\\"line.shape\\\")),l.hasMarkers(e)&&(c(t,e,n,d,m),m(\\\"marker.line.width\\\",v||g?1:0)),l.hasText(e)&&(m(\\\"texttemplate\\\"),f(t,e,d,m));var b=(e.line||{}).color,x=(e.marker||{}).color;m(\\\"fill\\\"),\\\"none\\\"!==e.fill&&p(t,e,n,m);var w=i.getComponentMethod(\\\"errorbars\\\",\\\"supplyDefaults\\\");w(t,e,b||x||n,{axis:\\\"y\\\"}),w(t,e,b||x||n,{axis:\\\"x\\\",inherit:\\\"y\\\"}),r.coerceSelectionMarkerOpacity(e,m)}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../scatter/constants\\\":1138,\\\"../scatter/fillcolor_defaults\\\":1142,\\\"../scatter/line_defaults\\\":1147,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scatter/text_defaults\\\":1159,\\\"../scatter/xy_defaults\\\":1160,\\\"./attributes\\\":1185,\\\"./helpers\\\":1192}],1190:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../constants/interactions\\\").DESELECTDIM;e.exports={styleTextSelection:function(t){var e,n,a=t[0],s=a.trace,l=a.t,u=l._scene,c=l.index,h=u.selectBatch[c],p=u.unselectBatch[c],f=u.textOptions[c],d=u.textSelectedOptions[c]||{},m=u.textUnselectedOptions[c]||{},v=r.extendFlat({},f);if(h.length||p.length){var g=d.color,y=m.color,_=f.color,b=Array.isArray(_);for(v.color=new Array(s._length),e=0;e<h.length;e++)n=h[e],v.color[n]=g||(b?_[n]:_);for(e=0;e<p.length;e++){n=p[e];var x=b?_[n]:_;v.color[n]=y||(g?x:i.addOpacity(x,o))}}u.glText[c].update(v)}}},{\\\"../../components/color\\\":595,\\\"../../constants/interactions\\\":703,\\\"../../lib\\\":728}],1191:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/format_labels\\\");e.exports=function(t,e,n){var i=t.i;return\\\"x\\\"in t||(t.x=e._x[i]),\\\"y\\\"in t||(t.y=e._y[i]),r(t,e,n)}},{\\\"../scatter/format_labels\\\":1143}],1192:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\");n.isOpenSymbol=function(t){return\\\"string\\\"==typeof t?r.OPEN_RE.test(t):t%200>100},n.isDotSymbol=function(t){return\\\"string\\\"==typeof t?r.DOT_RE.test(t):t>200}},{\\\"./constants\\\":1187}],1193:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../scatter/get_trace_color\\\");function a(t,e,n,a){var s=t.xa,l=t.ya,u=t.distance,c=t.dxy,h=t.index,p={pointNumber:h,x:e[h],y:n[h]};p.tx=Array.isArray(a.text)?a.text[h]:a.text,p.htx=Array.isArray(a.hovertext)?a.hovertext[h]:a.hovertext,p.data=Array.isArray(a.customdata)?a.customdata[h]:a.customdata,p.tp=Array.isArray(a.textposition)?a.textposition[h]:a.textposition;var f=a.textfont;f&&(p.ts=i.isArrayOrTypedArray(f.size)?f.size[h]:f.size,p.tc=Array.isArray(f.color)?f.color[h]:f.color,p.tf=Array.isArray(f.family)?f.family[h]:f.family);var d=a.marker;d&&(p.ms=i.isArrayOrTypedArray(d.size)?d.size[h]:d.size,p.mo=i.isArrayOrTypedArray(d.opacity)?d.opacity[h]:d.opacity,p.mx=i.isArrayOrTypedArray(d.symbol)?d.symbol[h]:d.symbol,p.mc=i.isArrayOrTypedArray(d.color)?d.color[h]:d.color);var m=d&&d.line;m&&(p.mlc=Array.isArray(m.color)?m.color[h]:m.color,p.mlw=i.isArrayOrTypedArray(m.width)?m.width[h]:m.width);var v=d&&d.gradient;v&&\\\"none\\\"!==v.type&&(p.mgt=Array.isArray(v.type)?v.type[h]:v.type,p.mgc=Array.isArray(v.color)?v.color[h]:v.color);var g=s.c2p(p.x,!0),y=l.c2p(p.y,!0),_=p.mrc||1,b=a.hoverlabel;b&&(p.hbg=Array.isArray(b.bgcolor)?b.bgcolor[h]:b.bgcolor,p.hbc=Array.isArray(b.bordercolor)?b.bordercolor[h]:b.bordercolor,p.hts=i.isArrayOrTypedArray(b.font.size)?b.font.size[h]:b.font.size,p.htc=Array.isArray(b.font.color)?b.font.color[h]:b.font.color,p.htf=Array.isArray(b.font.family)?b.font.family[h]:b.font.family,p.hnl=i.isArrayOrTypedArray(b.namelength)?b.namelength[h]:b.namelength);var x=a.hoverinfo;x&&(p.hi=Array.isArray(x)?x[h]:x);var w=a.hovertemplate;w&&(p.ht=Array.isArray(w)?w[h]:w);var A={};A[t.index]=p;var C=i.extendFlat({},t,{color:o(a,p),x0:g-_,x1:g+_,xLabelVal:p.x,y0:y-_,y1:y+_,yLabelVal:p.y,cd:A,distance:u,spikeDistance:c,hovertemplate:p.ht});return p.htx?C.text=p.htx:p.tx?C.text=p.tx:a.text&&(C.text=a.text),i.fillText(p,a,C),r.getComponentMethod(\\\"errorbars\\\",\\\"hoverInfo\\\")(p,a,C),C}e.exports={hoverPoints:function(t,e,n,r){var i,o,s,l,u,c,h,p,f,d=t.cd,m=d[0].t,v=d[0].trace,g=t.xa,y=t.ya,_=m.x,b=m.y,x=g.c2p(e),w=y.c2p(n),A=t.distance;if(m.tree){var C=g.p2c(x-A),M=g.p2c(x+A),E=y.p2c(w-A),T=y.p2c(w+A);i=\\\"x\\\"===r?m.tree.range(Math.min(C,M),Math.min(y._rl[0],y._rl[1]),Math.max(C,M),Math.max(y._rl[0],y._rl[1])):m.tree.range(Math.min(C,M),Math.min(E,T),Math.max(C,M),Math.max(E,T))}else i=m.ids;var S=A;if(\\\"x\\\"===r)for(u=0;u<i.length;u++)s=_[i[u]],(c=Math.abs(g.c2p(s)-x))<S&&(S=c,h=y.c2p(b[i[u]])-w,f=Math.sqrt(c*c+h*h),o=i[u]);else for(u=i.length-1;u>-1;u--)s=_[i[u]],l=b[i[u]],c=g.c2p(s)-x,h=y.c2p(l)-w,(p=Math.sqrt(c*c+h*h))<S&&(S=f=p,o=i[u]);return t.index=o,t.distance=S,t.dxy=f,void 0===o?[t]:[a(t,_,b,v)]},calcHover:a}},{\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"../scatter/get_trace_color\\\":1144}],1194:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./hover\\\");e.exports={moduleType:\\\"trace\\\",name:\\\"scattergl\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"gl\\\",\\\"regl\\\",\\\"cartesian\\\",\\\"symbols\\\",\\\"errorBarsOK\\\",\\\"showLegend\\\",\\\"scatter-like\\\"],attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),crossTraceDefaults:t(\\\"../scatter/cross_trace_defaults\\\"),colorbar:t(\\\"../scatter/marker_colorbar\\\"),formatLabels:t(\\\"./format_labels\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),hoverPoints:r.hoverPoints,selectPoints:t(\\\"./select\\\"),meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../scatter/cross_trace_defaults\\\":1140,\\\"../scatter/marker_colorbar\\\":1152,\\\"./attributes\\\":1185,\\\"./calc\\\":1186,\\\"./defaults\\\":1189,\\\"./format_labels\\\":1191,\\\"./hover\\\":1193,\\\"./plot\\\":1195,\\\"./select\\\":1197}],1195:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"regl-scatter2d\\\"),i=t(\\\"regl-line2d\\\"),o=t(\\\"regl-error2d\\\"),a=t(\\\"gl-text\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../../components/dragelement/helpers\\\").selectMode,u=t(\\\"../../lib/prepare_regl\\\"),c=t(\\\"../scatter/subtypes\\\"),h=t(\\\"../scatter/link_traces\\\"),p=t(\\\"./edit_style\\\").styleTextSelection;function f(t,e,n){var r=t._size,i=t.width,o=t.height;return[r.l+e.domain[0]*r.w,r.b+n.domain[0]*r.h,i-r.r-(1-e.domain[1])*r.w,o-r.t-(1-n.domain[1])*r.h]}e.exports=function(t,e,n){if(n.length){var d,m,v=t._fullLayout,g=e._scene,y=e.xaxis,_=e.yaxis;if(g)if(u(t,[\\\"ANGLE_instanced_arrays\\\",\\\"OES_element_index_uint\\\"])){var b=g.count,x=v._glcanvas.data()[0].regl;if(h(t,e,n),g.dirty){if(!0===g.error2d&&(g.error2d=o(x)),!0===g.line2d&&(g.line2d=i(x)),!0===g.scatter2d&&(g.scatter2d=r(x)),!0===g.fill2d&&(g.fill2d=i(x)),!0===g.glText)for(g.glText=new Array(b),d=0;d<b;d++)g.glText[d]=new a(x);if(g.glText){if(b>g.glText.length){var w=b-g.glText.length;for(d=0;d<w;d++)g.glText.push(new a(x))}else if(b<g.glText.length){var A=g.glText.length-b;g.glText.splice(b,A).forEach((function(t){t.destroy()}))}for(d=0;d<b;d++)g.glText[d].update(g.textOptions[d])}if(g.line2d&&(g.line2d.update(g.lineOptions),g.lineOptions=g.lineOptions.map((function(t){if(t&&t.positions){for(var e=t.positions,n=0;n<e.length&&(isNaN(e[n])||isNaN(e[n+1]));)n+=2;for(var r=e.length-2;r>n&&(isNaN(e[r])||isNaN(e[r+1]));)r-=2;t.positions=e.slice(n,r+2)}return t})),g.line2d.update(g.lineOptions)),g.error2d){var C=(g.errorXOptions||[]).concat(g.errorYOptions||[]);g.error2d.update(C)}g.scatter2d&&g.scatter2d.update(g.markerOptions),g.fillOrder=s.repeat(null,b),g.fill2d&&(g.fillOptions=g.fillOptions.map((function(t,e){var r=n[e];if(t&&r&&r[0]&&r[0].trace){var i,o,a=r[0],s=a.trace,l=a.t,u=g.lineOptions[e],c=[];s._ownfill&&c.push(e),s._nexttrace&&c.push(e+1),c.length&&(g.fillOrder[e]=c);var h,p,f=[],d=u&&u.positions||l.positions;if(\\\"tozeroy\\\"===s.fill){for(h=0;h<d.length&&isNaN(d[h+1]);)h+=2;for(p=d.length-2;p>h&&isNaN(d[p+1]);)p-=2;0!==d[h+1]&&(f=[d[h],0]),f=f.concat(d.slice(h,p+2)),0!==d[p+1]&&(f=f.concat([d[p],0]))}else if(\\\"tozerox\\\"===s.fill){for(h=0;h<d.length&&isNaN(d[h]);)h+=2;for(p=d.length-2;p>h&&isNaN(d[p]);)p-=2;0!==d[h]&&(f=[0,d[h+1]]),f=f.concat(d.slice(h,p+2)),0!==d[p]&&(f=f.concat([0,d[p+1]]))}else if(\\\"toself\\\"===s.fill||\\\"tonext\\\"===s.fill){for(f=[],i=0,o=0;o<d.length;o+=2)(isNaN(d[o])||isNaN(d[o+1]))&&((f=f.concat(d.slice(i,o))).push(d[i],d[i+1]),i=o+2);f=f.concat(d.slice(i)),i&&f.push(d[i],d[i+1])}else{var m=s._nexttrace;if(m){var v=g.lineOptions[e+1];if(v){var y=v.positions;if(\\\"tonexty\\\"===s.fill){for(f=d.slice(),e=Math.floor(y.length/2);e--;){var _=y[2*e],b=y[2*e+1];isNaN(_)||isNaN(b)||f.push(_,b)}t.fill=m.fillcolor}}}}if(s._prevtrace&&\\\"tonext\\\"===s._prevtrace.fill){var x=g.lineOptions[e-1].positions,w=f.length/2,A=[i=w];for(o=0;o<x.length;o+=2)(isNaN(x[o])||isNaN(x[o+1]))&&(A.push(o/2+w+1),i=o+2);f=f.concat(x),t.hole=A}return t.fillmode=s.fill,t.opacity=s.opacity,t.positions=f,t}})),g.fill2d.update(g.fillOptions))}var M=v.dragmode,E=l(M),T=v.clickmode.indexOf(\\\"select\\\")>-1;for(d=0;d<b;d++){var S=n[d][0],k=S.trace,O=S.t,I=O.index,L=k._length,P=O.x,z=O.y;if(k.selectedpoints||E||T){if(E||(E=!0),k.selectedpoints){var R=g.selectBatch[I]=s.selIndices2selPoints(k),D={};for(m=0;m<R.length;m++)D[R[m]]=1;var $=[];for(m=0;m<L;m++)D[m]||$.push(m);g.unselectBatch[I]=$}var B=O.xpx=new Array(L),N=O.ypx=new Array(L);for(m=0;m<L;m++)B[m]=y.c2p(P[m]),N[m]=_.c2p(z[m])}else O.xpx=O.ypx=null}if(E){if(g.select2d||(g.select2d=r(v._glcanvas.data()[1].regl)),g.scatter2d){var F=new Array(b);for(d=0;d<b;d++)F[d]=g.selectBatch[d].length||g.unselectBatch[d].length?g.markerUnselectedOptions[d]:{};g.scatter2d.update(F)}g.select2d&&(g.select2d.update(g.markerOptions),g.select2d.update(g.markerSelectedOptions)),g.glText&&n.forEach((function(t){var e=((t||[])[0]||{}).trace||{};c.hasText(e)&&p(t)}))}else g.scatter2d&&g.scatter2d.update(g.markerOptions);var j={viewport:f(v,y,_),range:[(y._rl||y.range)[0],(_._rl||_.range)[0],(y._rl||y.range)[1],(_._rl||_.range)[1]]},U=s.repeat(j,g.count);g.fill2d&&g.fill2d.update(U),g.line2d&&g.line2d.update(U),g.error2d&&g.error2d.update(U.concat(U)),g.scatter2d&&g.scatter2d.update(U),g.select2d&&g.select2d.update(U),g.glText&&g.glText.forEach((function(t){t.update(j)}))}else g.init()}}},{\\\"../../components/dragelement/helpers\\\":613,\\\"../../lib\\\":728,\\\"../../lib/prepare_regl\\\":741,\\\"../scatter/link_traces\\\":1150,\\\"../scatter/subtypes\\\":1158,\\\"./edit_style\\\":1190,\\\"gl-text\\\":321,\\\"regl-error2d\\\":488,\\\"regl-line2d\\\":489,\\\"regl-scatter2d\\\":490}],1196:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e){var n=e._scene,i={count:0,dirty:!0,lineOptions:[],fillOptions:[],markerOptions:[],markerSelectedOptions:[],markerUnselectedOptions:[],errorXOptions:[],errorYOptions:[],textOptions:[],textSelectedOptions:[],textUnselectedOptions:[],selectBatch:[],unselectBatch:[]},o={fill2d:!1,scatter2d:!1,error2d:!1,line2d:!1,glText:!1,select2d:!1};return e._scene||((n=e._scene={}).init=function(){r.extendFlat(n,o,i)},n.init(),n.update=function(t){var e=r.repeat(t,n.count);if(n.fill2d&&n.fill2d.update(e),n.scatter2d&&n.scatter2d.update(e),n.line2d&&n.line2d.update(e),n.error2d&&n.error2d.update(e.concat(e)),n.select2d&&n.select2d.update(e),n.glText)for(var i=0;i<n.count;i++)n.glText[i].update(t)},n.draw=function(){for(var t=n.count,e=n.fill2d,i=n.error2d,o=n.line2d,a=n.scatter2d,s=n.glText,l=n.select2d,u=n.selectBatch,c=n.unselectBatch,h=0;h<t;h++){if(e&&n.fillOrder[h]&&e.draw(n.fillOrder[h]),o&&n.lineOptions[h]&&o.draw(h),i&&(n.errorXOptions[h]&&i.draw(h),n.errorYOptions[h]&&i.draw(h+t)),a&&n.markerOptions[h])if(c[h].length){var p=r.repeat([],n.count);p[h]=c[h],a.draw(p)}else u[h].length||a.draw(h);s[h]&&n.textOptions[h]&&s[h].render()}l&&l.draw(u),n.dirty=!1},n.destroy=function(){n.fill2d&&n.fill2d.destroy&&n.fill2d.destroy(),n.scatter2d&&n.scatter2d.destroy&&n.scatter2d.destroy(),n.error2d&&n.error2d.destroy&&n.error2d.destroy(),n.line2d&&n.line2d.destroy&&n.line2d.destroy(),n.select2d&&n.select2d.destroy&&n.select2d.destroy(),n.glText&&n.glText.forEach((function(t){t.destroy&&t.destroy()})),n.lineOptions=null,n.fillOptions=null,n.markerOptions=null,n.markerSelectedOptions=null,n.markerUnselectedOptions=null,n.errorXOptions=null,n.errorYOptions=null,n.textOptions=null,n.textSelectedOptions=null,n.textUnselectedOptions=null,n.selectBatch=null,n.unselectBatch=null,e._scene=null}),n.dirty||r.extendFlat(n,i),n}},{\\\"../../lib\\\":728}],1197:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/subtypes\\\"),i=t(\\\"./edit_style\\\").styleTextSelection;e.exports=function(t,e){var n=t.cd,o=[],a=n[0].trace,s=n[0].t,l=a._length,u=s.x,c=s.y,h=s._scene,p=s.index;if(!h)return o;var f=r.hasText(a),d=r.hasMarkers(a),m=!d&&!f;if(!0!==a.visible||m)return o;var v=[],g=[];if(!1!==e&&!e.degenerate)for(var y=0;y<l;y++)e.contains([s.xpx[y],s.ypx[y]],!1,y,t)?(v.push(y),o.push({pointNumber:y,x:u[y],y:c[y]})):g.push(y);if(d){var _=h.scatter2d;if(v.length||g.length){if(!h.selectBatch[p].length&&!h.unselectBatch[p].length){var b=new Array(h.count);b[p]=h.markerUnselectedOptions[p],_.update.apply(_,b)}}else{var x=new Array(h.count);x[p]=h.markerOptions[p],_.update.apply(_,x)}}return h.selectBatch[p]=v,h.unselectBatch[p]=g,f&&i(n),o}},{\\\"../scatter/subtypes\\\":1158,\\\"./edit_style\\\":1190}],1198:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,i=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,o=t(\\\"../scattergeo/attributes\\\"),a=t(\\\"../scatter/attributes\\\"),s=t(\\\"../../plots/mapbox/layout_attributes\\\"),l=t(\\\"../../plots/attributes\\\"),u=t(\\\"../../components/colorscale/attributes\\\"),c=t(\\\"../../lib/extend\\\").extendFlat,h=t(\\\"../../plot_api/edit_types\\\").overrideAll,p=o.line,f=o.marker;e.exports=h({lon:o.lon,lat:o.lat,mode:c({},a.mode,{dflt:\\\"markers\\\"}),text:c({},a.text,{}),texttemplate:i({editType:\\\"plot\\\"},{keys:[\\\"lat\\\",\\\"lon\\\",\\\"text\\\"]}),hovertext:c({},a.hovertext,{}),line:{color:p.color,width:p.width},connectgaps:a.connectgaps,marker:c({symbol:{valType:\\\"string\\\",dflt:\\\"circle\\\",arrayOk:!0},angle:{valType:\\\"number\\\",dflt:\\\"auto\\\",arrayOk:!0},allowoverlap:{valType:\\\"boolean\\\",dflt:!1},opacity:f.opacity,size:f.size,sizeref:f.sizeref,sizemin:f.sizemin,sizemode:f.sizemode},u(\\\"marker\\\")),fill:o.fill,fillcolor:a.fillcolor,textfont:s.layers.symbol.textfont,textposition:s.layers.symbol.textposition,below:{valType:\\\"string\\\"},selected:{marker:a.selected.marker},unselected:{marker:a.unselected.marker},hoverinfo:c({},l.hoverinfo,{flags:[\\\"lon\\\",\\\"lat\\\",\\\"text\\\",\\\"name\\\"]}),hovertemplate:r()},\\\"calc\\\",\\\"nested\\\")},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/attributes\\\":773,\\\"../../plots/mapbox/layout_attributes\\\":835,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134,\\\"../scattergeo/attributes\\\":1175}],1199:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../constants/numerical\\\").BADNUM,a=t(\\\"../../lib/geojson_utils\\\"),s=t(\\\"../../components/colorscale\\\"),l=t(\\\"../../components/drawing\\\"),u=t(\\\"../scatter/make_bubble_size_func\\\"),c=t(\\\"../scatter/subtypes\\\"),h=t(\\\"../../plots/mapbox/convert_text_opts\\\"),p=t(\\\"../../components/fx/helpers\\\").appendArrayPointValue,f=t(\\\"../../lib/svg_text_utils\\\").NEWLINES,d=t(\\\"../../lib/svg_text_utils\\\").BR_TAG_ALL;function m(){return{geojson:a.makeBlank(),layout:{visibility:\\\"none\\\"},paint:{}}}function v(t,e){return i.isArrayOrTypedArray(t)?e?function(e){return r(t[e])?+t[e]:0}:function(e){return t[e]}:t?function(){return t}:g}function g(){return\\\"\\\"}function y(t){return t[0]===o}e.exports=function(t,e){var n,o=e[0].trace,_=!0===o.visible&&0!==o._length,b=\\\"none\\\"!==o.fill,x=c.hasLines(o),w=c.hasMarkers(o),A=c.hasText(o),C=w&&\\\"circle\\\"===o.marker.symbol,M=w&&\\\"circle\\\"!==o.marker.symbol,E=m(),T=m(),S=m(),k=m(),O={fill:E,line:T,circle:S,symbol:k};if(!_)return O;if((b||x)&&(n=a.calcTraceToLineCoords(e)),b&&(E.geojson=a.makePolygon(n),E.layout.visibility=\\\"visible\\\",i.extendFlat(E.paint,{\\\"fill-color\\\":o.fillcolor})),x&&(T.geojson=a.makeLine(n),T.layout.visibility=\\\"visible\\\",i.extendFlat(T.paint,{\\\"line-width\\\":o.line.width,\\\"line-color\\\":o.line.color,\\\"line-opacity\\\":o.opacity})),C){var I=function(t){var e,n,o,a,c=t[0].trace,h=c.marker,p=c.selectedpoints,f=i.isArrayOrTypedArray(h.color),d=i.isArrayOrTypedArray(h.size),m=i.isArrayOrTypedArray(h.opacity);function v(t){return c.opacity*t}f&&(n=s.hasColorscale(c,\\\"marker\\\")?s.makeColorScaleFuncFromTrace(h):i.identity),d&&(o=u(c)),m&&(a=function(t){return v(r(t)?+i.constrain(t,0,1):0)});var g,_,b=[];for(e=0;e<t.length;e++){var x=t[e],w=x.lonlat;if(!y(w)){var A={};n&&(A.mcc=x.mcc=n(x.mc)),o&&(A.mrc=x.mrc=o(x.ms)),a&&(A.mo=a(x.mo)),p&&(A.selected=x.selected||0),b.push({type:\\\"Feature\\\",geometry:{type:\\\"Point\\\",coordinates:w},properties:A})}}if(p)for(g=l.makeSelectedPointStyleFns(c),e=0;e<b.length;e++){var C=b[e].properties;g.selectedOpacityFn&&(C.mo=v(g.selectedOpacityFn(C))),g.selectedColorFn&&(C.mcc=g.selectedColorFn(C)),g.selectedSizeFn&&(C.mrc=g.selectedSizeFn(C))}return{geojson:{type:\\\"FeatureCollection\\\",features:b},mcc:f||g&&g.selectedColorFn?{type:\\\"identity\\\",property:\\\"mcc\\\"}:h.color,mrc:d||g&&g.selectedSizeFn?{type:\\\"identity\\\",property:\\\"mrc\\\"}:(_=h.size,_/2),mo:m||g&&g.selectedOpacityFn?{type:\\\"identity\\\",property:\\\"mo\\\"}:v(h.opacity)}}(e);S.geojson=I.geojson,S.layout.visibility=\\\"visible\\\",i.extendFlat(S.paint,{\\\"circle-color\\\":I.mcc,\\\"circle-radius\\\":I.mrc,\\\"circle-opacity\\\":I.mo})}if((M||A)&&(k.geojson=function(t,e){for(var n=e._fullLayout,r=t[0].trace,o=r.marker||{},a=o.symbol,s=o.angle,l=\\\"circle\\\"!==a?v(a):g,u=\\\"auto\\\"!==s?v(s,!0):g,h=c.hasText(r)?v(r.text):g,m=[],_=0;_<t.length;_++){var b=t[_];if(!y(b.lonlat)){var x,w=r.texttemplate;if(w){var A=Array.isArray(w)?w[_]||\\\"\\\":w,C=r._module.formatLabels(b,r,n),M={};p(M,r,b.i);var E=r._meta||{};x=i.texttemplateString(A,C,n._d3locale,M,b,E)}else x=h(_);x&&(x=x.replace(f,\\\"\\\").replace(d,\\\"\\\\n\\\")),m.push({type:\\\"Feature\\\",geometry:{type:\\\"Point\\\",coordinates:b.lonlat},properties:{symbol:l(_),angle:u(_),text:x}})}}return{type:\\\"FeatureCollection\\\",features:m}}(e,t),i.extendFlat(k.layout,{visibility:\\\"visible\\\",\\\"icon-image\\\":\\\"{symbol}-15\\\",\\\"text-field\\\":\\\"{text}\\\"}),M&&(i.extendFlat(k.layout,{\\\"icon-size\\\":o.marker.size/10}),\\\"angle\\\"in o.marker&&\\\"auto\\\"!==o.marker.angle&&i.extendFlat(k.layout,{\\\"icon-rotate\\\":{type:\\\"identity\\\",property:\\\"angle\\\"},\\\"icon-rotation-alignment\\\":\\\"map\\\"}),k.layout[\\\"icon-allow-overlap\\\"]=o.marker.allowoverlap,i.extendFlat(k.paint,{\\\"icon-opacity\\\":o.opacity*o.marker.opacity,\\\"icon-color\\\":o.marker.color})),A)){var L=(o.marker||{}).size,P=h(o.textposition,L);i.extendFlat(k.layout,{\\\"text-size\\\":o.textfont.size,\\\"text-anchor\\\":P.anchor,\\\"text-offset\\\":P.offset}),i.extendFlat(k.paint,{\\\"text-color\\\":o.textfont.color,\\\"text-opacity\\\":o.opacity})}return O}},{\\\"../../components/colorscale\\\":607,\\\"../../components/drawing\\\":617,\\\"../../components/fx/helpers\\\":631,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../lib/geojson_utils\\\":723,\\\"../../lib/svg_text_utils\\\":752,\\\"../../plots/mapbox/convert_text_opts\\\":832,\\\"../scatter/make_bubble_size_func\\\":1151,\\\"../scatter/subtypes\\\":1158,\\\"fast-isnumeric\\\":236}],1200:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/subtypes\\\"),o=t(\\\"../scatter/marker_defaults\\\"),a=t(\\\"../scatter/line_defaults\\\"),s=t(\\\"../scatter/text_defaults\\\"),l=t(\\\"../scatter/fillcolor_defaults\\\"),u=t(\\\"./attributes\\\");e.exports=function(t,e,n,c){function h(n,i){return r.coerce(t,e,u,n,i)}if(function(t,e,n){var r=n(\\\"lon\\\")||[],i=n(\\\"lat\\\")||[],o=Math.min(r.length,i.length);return e._length=o,o}(0,e,h)){if(h(\\\"text\\\"),h(\\\"texttemplate\\\"),h(\\\"hovertext\\\"),h(\\\"hovertemplate\\\"),h(\\\"mode\\\"),h(\\\"below\\\"),i.hasLines(e)&&(a(t,e,n,c,h,{noDash:!0}),h(\\\"connectgaps\\\")),i.hasMarkers(e)){o(t,e,n,c,h,{noLine:!0}),h(\\\"marker.allowoverlap\\\"),h(\\\"marker.angle\\\");var p=e.marker;\\\"circle\\\"!==p.symbol&&(r.isArrayOrTypedArray(p.size)&&(p.size=p.size[0]),r.isArrayOrTypedArray(p.color)&&(p.color=p.color[0]))}i.hasText(e)&&s(t,e,c,h,{noSelect:!0}),h(\\\"fill\\\"),\\\"none\\\"!==e.fill&&l(t,e,n,h),r.coerceSelectionMarkerOpacity(e,h)}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"../scatter/fillcolor_defaults\\\":1142,\\\"../scatter/line_defaults\\\":1147,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scatter/text_defaults\\\":1159,\\\"./attributes\\\":1198}],1201:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return t.lon=e.lon,t.lat=e.lat,t}},{}],1202:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\");e.exports=function(t,e,n){var i={},o=n[e.subplot]._subplot.mockAxis,a=t.lonlat;return i.lonLabel=r.tickText(o,o.c2l(a[0]),!0).text,i.latLabel=r.tickText(o,o.c2l(a[1]),!0).text,i}},{\\\"../../plots/cartesian/axes\\\":776}],1203:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/fx\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../scatter/get_trace_color\\\"),a=i.fillText,s=t(\\\"../../constants/numerical\\\").BADNUM;e.exports=function(t,e,n){var l=t.cd,u=l[0].trace,c=t.xa,h=t.ya,p=t.subplot,f=360*(e>=0?Math.floor((e+180)/360):Math.ceil((e-180)/360)),d=e-f;if(r.getClosest(l,(function(t){var e=t.lonlat;if(e[0]===s)return 1/0;var r=i.modHalf(e[0],360),o=e[1],a=p.project([r,o]),l=a.x-c.c2p([d,o]),u=a.y-h.c2p([r,n]),f=Math.max(3,t.mrc||0);return Math.max(Math.sqrt(l*l+u*u)-f,1-3/f)}),t),!1!==t.index){var m=l[t.index],v=m.lonlat,g=[i.modHalf(v[0],360)+f,v[1]],y=c.c2p(g),_=h.c2p(g),b=m.mrc||1;t.x0=y-b,t.x1=y+b,t.y0=_-b,t.y1=_+b;var x={};x[u.subplot]={_subplot:p};var w=u._module.formatLabels(m,u,x);return t.lonLabel=w.lonLabel,t.latLabel=w.latLabel,t.color=o(u,m),t.extraText=function(t,e,n){if(!t.hovertemplate){var r=(e.hi||t.hoverinfo).split(\\\"+\\\"),i=-1!==r.indexOf(\\\"all\\\"),o=-1!==r.indexOf(\\\"lon\\\"),s=-1!==r.indexOf(\\\"lat\\\"),l=e.lonlat,u=[];return i||o&&s?u.push(\\\"(\\\"+c(l[0])+\\\", \\\"+c(l[1])+\\\")\\\"):o?u.push(n.lon+c(l[0])):s&&u.push(n.lat+c(l[1])),(i||-1!==r.indexOf(\\\"text\\\"))&&a(e,t,u),u.join(\\\"<br>\\\")}function c(t){return t+\\\"°\\\"}}(u,m,l[0].t.labels),t.hovertemplate=u.hovertemplate,[t]}}},{\\\"../../components/fx\\\":635,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../scatter/get_trace_color\\\":1144}],1204:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../scatter/marker_colorbar\\\"),formatLabels:t(\\\"./format_labels\\\"),calc:t(\\\"../scattergeo/calc\\\"),plot:t(\\\"./plot\\\"),hoverPoints:t(\\\"./hover\\\"),eventData:t(\\\"./event_data\\\"),selectPoints:t(\\\"./select\\\"),styleOnSelect:function(t,e){e&&e[0].trace._glTrace.update(e)},moduleType:\\\"trace\\\",name:\\\"scattermapbox\\\",basePlotModule:t(\\\"../../plots/mapbox\\\"),categories:[\\\"mapbox\\\",\\\"gl\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"scatter-like\\\"],meta:{}}},{\\\"../../plots/mapbox\\\":833,\\\"../scatter/marker_colorbar\\\":1152,\\\"../scattergeo/calc\\\":1176,\\\"./attributes\\\":1198,\\\"./defaults\\\":1200,\\\"./event_data\\\":1201,\\\"./format_labels\\\":1202,\\\"./hover\\\":1203,\\\"./plot\\\":1205,\\\"./select\\\":1206}],1205:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./convert\\\"),i=t(\\\"../../plots/mapbox/constants\\\").traceLayerPrefix,o=[\\\"fill\\\",\\\"line\\\",\\\"circle\\\",\\\"symbol\\\"];function a(t,e){this.type=\\\"scattermapbox\\\",this.subplot=t,this.uid=e,this.sourceIds={fill:\\\"source-\\\"+e+\\\"-fill\\\",line:\\\"source-\\\"+e+\\\"-line\\\",circle:\\\"source-\\\"+e+\\\"-circle\\\",symbol:\\\"source-\\\"+e+\\\"-symbol\\\"},this.layerIds={fill:i+e+\\\"-fill\\\",line:i+e+\\\"-line\\\",circle:i+e+\\\"-circle\\\",symbol:i+e+\\\"-symbol\\\"},this.below=null}var s=a.prototype;s.addSource=function(t,e){this.subplot.map.addSource(this.sourceIds[t],{type:\\\"geojson\\\",data:e.geojson})},s.setSourceData=function(t,e){this.subplot.map.getSource(this.sourceIds[t]).setData(e.geojson)},s.addLayer=function(t,e,n){this.subplot.addLayer({type:t,id:this.layerIds[t],source:this.sourceIds[t],layout:e.layout,paint:e.paint},n)},s.update=function(t){var e,n,i,a=this.subplot,s=a.map,l=r(a.gd,t),u=a.belowLookup[\\\"trace-\\\"+this.uid];if(u!==this.below){for(e=o.length-1;e>=0;e--)n=o[e],s.removeLayer(this.layerIds[n]);for(e=0;e<o.length;e++)i=l[n=o[e]],this.addLayer(n,i,u);this.below=u}for(e=0;e<o.length;e++)i=l[n=o[e]],a.setOptions(this.layerIds[n],\\\"setLayoutProperty\\\",i.layout),\\\"visible\\\"===i.layout.visibility&&(this.setSourceData(n,i),a.setOptions(this.layerIds[n],\\\"setPaintProperty\\\",i.paint));t[0].trace._glTrace=this},s.dispose=function(){for(var t=this.subplot.map,e=o.length-1;e>=0;e--){var n=o[e];t.removeLayer(this.layerIds[n]),t.removeSource(this.sourceIds[n])}},e.exports=function(t,e){for(var n=e[0].trace,i=new a(t,n.uid),s=r(t.gd,e),l=i.below=t.belowLookup[\\\"trace-\\\"+n.uid],u=0;u<o.length;u++){var c=o[u],h=s[c];i.addSource(c,h),i.addLayer(c,h,l)}return e[0].trace._glTrace=i,i}},{\\\"../../plots/mapbox/constants\\\":831,\\\"./convert\\\":1199}],1206:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/subtypes\\\"),o=t(\\\"../../constants/numerical\\\").BADNUM;e.exports=function(t,e){var n,a=t.cd,s=t.xaxis,l=t.yaxis,u=[],c=a[0].trace;if(!i.hasMarkers(c))return[];if(!1===e)for(n=0;n<a.length;n++)a[n].selected=0;else for(n=0;n<a.length;n++){var h=a[n],p=h.lonlat;if(p[0]!==o){var f=[r.modHalf(p[0],360),p[1]],d=[s.c2p(f),l.c2p(f)];e.contains(d,null,n,t)?(u.push({pointNumber:n,lon:p[0],lat:p[1]}),h.selected=1):h.selected=0}}return u}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../scatter/subtypes\\\":1158}],1207:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,i=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,o=t(\\\"../../lib/extend\\\").extendFlat,a=t(\\\"../scatter/attributes\\\"),s=t(\\\"../../plots/attributes\\\"),l=a.line;e.exports={mode:a.mode,r:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},theta:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},r0:{valType:\\\"any\\\",dflt:0,editType:\\\"calc+clearAxisTypes\\\"},dr:{valType:\\\"number\\\",dflt:1,editType:\\\"calc\\\"},theta0:{valType:\\\"any\\\",dflt:0,editType:\\\"calc+clearAxisTypes\\\"},dtheta:{valType:\\\"number\\\",editType:\\\"calc\\\"},thetaunit:{valType:\\\"enumerated\\\",values:[\\\"radians\\\",\\\"degrees\\\",\\\"gradians\\\"],dflt:\\\"degrees\\\",editType:\\\"calc+clearAxisTypes\\\"},text:a.text,texttemplate:i({editType:\\\"plot\\\"},{keys:[\\\"r\\\",\\\"theta\\\",\\\"text\\\"]}),hovertext:a.hovertext,line:{color:l.color,width:l.width,dash:l.dash,shape:o({},l.shape,{values:[\\\"linear\\\",\\\"spline\\\"]}),smoothing:l.smoothing,editType:\\\"calc\\\"},connectgaps:a.connectgaps,marker:a.marker,cliponaxis:o({},a.cliponaxis,{dflt:!1}),textposition:a.textposition,textfont:a.textfont,fill:o({},a.fill,{values:[\\\"none\\\",\\\"toself\\\",\\\"tonext\\\"],dflt:\\\"none\\\"}),fillcolor:a.fillcolor,hoverinfo:o({},s.hoverinfo,{flags:[\\\"r\\\",\\\"theta\\\",\\\"text\\\",\\\"name\\\"]}),hoveron:a.hoveron,hovertemplate:r(),selected:a.selected,unselected:a.unselected}},{\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134}],1208:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../../constants/numerical\\\").BADNUM,o=t(\\\"../../plots/cartesian/axes\\\"),a=t(\\\"../scatter/colorscale_calc\\\"),s=t(\\\"../scatter/arrays_to_calcdata\\\"),l=t(\\\"../scatter/calc_selection\\\"),u=t(\\\"../scatter/calc\\\").calcMarkerSize;e.exports=function(t,e){for(var n=t._fullLayout,c=e.subplot,h=n[c].radialaxis,p=n[c].angularaxis,f=h.makeCalcdata(e,\\\"r\\\"),d=p.makeCalcdata(e,\\\"theta\\\"),m=e._length,v=new Array(m),g=0;g<m;g++){var y=f[g],_=d[g],b=v[g]={};r(y)&&r(_)?(b.r=y,b.theta=_):b.r=i}var x=u(e,m);return e._extremes.x=o.findExtremes(h,f,{ppad:x}),a(t,e),s(v,e),l(v,e),v}},{\\\"../../constants/numerical\\\":704,\\\"../../plots/cartesian/axes\\\":776,\\\"../scatter/arrays_to_calcdata\\\":1133,\\\"../scatter/calc\\\":1135,\\\"../scatter/calc_selection\\\":1136,\\\"../scatter/colorscale_calc\\\":1137,\\\"fast-isnumeric\\\":236}],1209:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/subtypes\\\"),o=t(\\\"../scatter/marker_defaults\\\"),a=t(\\\"../scatter/line_defaults\\\"),s=t(\\\"../scatter/line_shape_defaults\\\"),l=t(\\\"../scatter/text_defaults\\\"),u=t(\\\"../scatter/fillcolor_defaults\\\"),c=t(\\\"../scatter/constants\\\").PTS_LINESONLY,h=t(\\\"./attributes\\\");function p(t,e,n,r){var i,o=r(\\\"r\\\"),a=r(\\\"theta\\\");if(o)a?i=Math.min(o.length,a.length):(i=o.length,r(\\\"theta0\\\"),r(\\\"dtheta\\\"));else{if(!a)return 0;i=e.theta.length,r(\\\"r0\\\"),r(\\\"dr\\\")}return e._length=i,i}e.exports={handleRThetaDefaults:p,supplyDefaults:function(t,e,n,f){function d(n,i){return r.coerce(t,e,h,n,i)}var m=p(0,e,0,d);if(m){d(\\\"thetaunit\\\"),d(\\\"mode\\\",m<c?\\\"lines+markers\\\":\\\"lines\\\"),d(\\\"text\\\"),d(\\\"hovertext\\\"),\\\"fills\\\"!==e.hoveron&&d(\\\"hovertemplate\\\"),i.hasLines(e)&&(a(t,e,n,f,d),s(t,e,d),d(\\\"connectgaps\\\")),i.hasMarkers(e)&&o(t,e,n,f,d,{gradient:!0}),i.hasText(e)&&(d(\\\"texttemplate\\\"),l(t,e,f,d));var v=[];(i.hasMarkers(e)||i.hasText(e))&&(d(\\\"cliponaxis\\\"),d(\\\"marker.maxdisplayed\\\"),v.push(\\\"points\\\")),d(\\\"fill\\\"),\\\"none\\\"!==e.fill&&(u(t,e,n,d),i.hasLines(e)||s(t,e,d)),\\\"tonext\\\"!==e.fill&&\\\"toself\\\"!==e.fill||v.push(\\\"fills\\\"),d(\\\"hoveron\\\",v.join(\\\"+\\\")||\\\"points\\\"),r.coerceSelectionMarkerOpacity(e,d)}else e.visible=!1}}},{\\\"../../lib\\\":728,\\\"../scatter/constants\\\":1138,\\\"../scatter/fillcolor_defaults\\\":1142,\\\"../scatter/line_defaults\\\":1147,\\\"../scatter/line_shape_defaults\\\":1149,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scatter/text_defaults\\\":1159,\\\"./attributes\\\":1207}],1210:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\");e.exports=function(t,e,n){var o,a,s={},l=n[e.subplot]._subplot;l?(o=l.radialAxis,a=l.angularAxis):(o=(l=n[e.subplot]).radialaxis,a=l.angularaxis);var u=o.c2l(t.r);s.rLabel=i.tickText(o,u,!0).text;var c=\\\"degrees\\\"===a.thetaunit?r.rad2deg(t.theta):t.theta;return s.thetaLabel=i.tickText(a,c,!0).text,s}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776}],1211:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/hover\\\");function i(t,e,n,r){var i=n.radialAxis,o=n.angularAxis;i._hovertitle=\\\"r\\\",o._hovertitle=\\\"θ\\\";var a={};a[e.subplot]={_subplot:n};var s=e._module.formatLabels(t,e,a);r.rLabel=s.rLabel,r.thetaLabel=s.thetaLabel;var l=t.hi||e.hoverinfo,u=[];function c(t,e){u.push(t._hovertitle+\\\": \\\"+e)}if(!e.hovertemplate){var h=l.split(\\\"+\\\");-1!==h.indexOf(\\\"all\\\")&&(h=[\\\"r\\\",\\\"theta\\\",\\\"text\\\"]),-1!==h.indexOf(\\\"r\\\")&&c(i,r.rLabel),-1!==h.indexOf(\\\"theta\\\")&&c(o,r.thetaLabel),-1!==h.indexOf(\\\"text\\\")&&r.text&&(u.push(r.text),delete r.text),r.extraText=u.join(\\\"<br>\\\")}}e.exports={hoverPoints:function(t,e,n,o){var a=r(t,e,n,o);if(a&&!1!==a[0].index){var s=a[0];if(void 0===s.index)return a;var l=t.subplot,u=s.cd[s.index],c=s.trace;if(l.isPtInside(u))return s.xLabelVal=void 0,s.yLabelVal=void 0,i(u,c,l,s),s.hovertemplate=c.hovertemplate,a}},makeHoverPointText:i}},{\\\"../scatter/hover\\\":1145}],1212:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"scatterpolar\\\",basePlotModule:t(\\\"../../plots/polar\\\"),categories:[\\\"polar\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"scatter-like\\\"],attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,colorbar:t(\\\"../scatter/marker_colorbar\\\"),formatLabels:t(\\\"./format_labels\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"../scatter/style\\\").style,styleOnSelect:t(\\\"../scatter/style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\").hoverPoints,selectPoints:t(\\\"../scatter/select\\\"),meta:{}}},{\\\"../../plots/polar\\\":842,\\\"../scatter/marker_colorbar\\\":1152,\\\"../scatter/select\\\":1155,\\\"../scatter/style\\\":1157,\\\"./attributes\\\":1207,\\\"./calc\\\":1208,\\\"./defaults\\\":1209,\\\"./format_labels\\\":1210,\\\"./hover\\\":1211,\\\"./plot\\\":1213}],1213:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/plot\\\"),i=t(\\\"../../constants/numerical\\\").BADNUM;e.exports=function(t,e,n){for(var o=e.layers.frontplot.select(\\\"g.scatterlayer\\\"),a={xaxis:e.xaxis,yaxis:e.yaxis,plot:e.framework,layerClipId:e._hasClipOnAxisFalse?e.clipIds.forTraces:null},s=e.radialAxis,l=e.angularAxis,u=0;u<n.length;u++)for(var c=n[u],h=0;h<c.length;h++){var p=c[h],f=p.r;if(f===i)p.x=p.y=i;else{var d=s.c2g(f),m=l.c2g(p.theta);p.x=d*Math.cos(m),p.y=d*Math.sin(m)}}r(t,a,n,o)}},{\\\"../../constants/numerical\\\":704,\\\"../scatter/plot\\\":1154}],1214:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatterpolar/attributes\\\"),i=t(\\\"../scattergl/attributes\\\"),o=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs;e.exports={mode:r.mode,r:r.r,theta:r.theta,r0:r.r0,dr:r.dr,theta0:r.theta0,dtheta:r.dtheta,thetaunit:r.thetaunit,text:r.text,texttemplate:o({editType:\\\"plot\\\"},{keys:[\\\"r\\\",\\\"theta\\\",\\\"text\\\"]}),hovertext:r.hovertext,hovertemplate:r.hovertemplate,line:i.line,connectgaps:i.connectgaps,marker:i.marker,fill:i.fill,fillcolor:i.fillcolor,textposition:i.textposition,textfont:i.textfont,hoverinfo:r.hoverinfo,selected:r.selected,unselected:r.unselected}},{\\\"../../plots/template_attributes\\\":854,\\\"../scattergl/attributes\\\":1185,\\\"../scatterpolar/attributes\\\":1207}],1215:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/colorscale_calc\\\"),i=t(\\\"../scatter/calc\\\").calcMarkerSize,o=t(\\\"../scattergl/convert\\\"),a=t(\\\"../../plots/cartesian/axes\\\"),s=t(\\\"../scattergl/constants\\\").TOO_MANY_POINTS;e.exports=function(t,e){var n=t._fullLayout,l=e.subplot,u=n[l].radialaxis,c=n[l].angularaxis,h=e._r=u.makeCalcdata(e,\\\"r\\\"),p=e._theta=c.makeCalcdata(e,\\\"theta\\\"),f=e._length,d={};f<h.length&&(h=h.slice(0,f)),f<p.length&&(p=p.slice(0,f)),d.r=h,d.theta=p,r(t,e);var m,v=d.opts=o.style(t,e);return f<s?m=i(e,f):v.marker&&(m=2*(v.marker.sizeAvg||Math.max(v.marker.size,3))),e._extremes.x=a.findExtremes(u,h,{ppad:m}),[{x:!1,y:!1,t:d,trace:e}]}},{\\\"../../plots/cartesian/axes\\\":776,\\\"../scatter/calc\\\":1135,\\\"../scatter/colorscale_calc\\\":1137,\\\"../scattergl/constants\\\":1187,\\\"../scattergl/convert\\\":1188}],1216:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/subtypes\\\"),o=t(\\\"../scatterpolar/defaults\\\").handleRThetaDefaults,a=t(\\\"../scatter/marker_defaults\\\"),s=t(\\\"../scatter/line_defaults\\\"),l=t(\\\"../scatter/text_defaults\\\"),u=t(\\\"../scatter/fillcolor_defaults\\\"),c=t(\\\"../scatter/constants\\\").PTS_LINESONLY,h=t(\\\"./attributes\\\");e.exports=function(t,e,n,p){function f(n,i){return r.coerce(t,e,h,n,i)}var d=o(t,e,p,f);d?(f(\\\"thetaunit\\\"),f(\\\"mode\\\",d<c?\\\"lines+markers\\\":\\\"lines\\\"),f(\\\"text\\\"),f(\\\"hovertext\\\"),\\\"fills\\\"!==e.hoveron&&f(\\\"hovertemplate\\\"),i.hasLines(e)&&(s(t,e,n,p,f),f(\\\"connectgaps\\\")),i.hasMarkers(e)&&a(t,e,n,p,f),i.hasText(e)&&(f(\\\"texttemplate\\\"),l(t,e,p,f)),f(\\\"fill\\\"),\\\"none\\\"!==e.fill&&u(t,e,n,f),r.coerceSelectionMarkerOpacity(e,f)):e.visible=!1}},{\\\"../../lib\\\":728,\\\"../scatter/constants\\\":1138,\\\"../scatter/fillcolor_defaults\\\":1142,\\\"../scatter/line_defaults\\\":1147,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scatter/text_defaults\\\":1159,\\\"../scatterpolar/defaults\\\":1209,\\\"./attributes\\\":1214}],1217:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatterpolar/format_labels\\\");e.exports=function(t,e,n){var i=t.i;return\\\"r\\\"in t||(t.r=e._r[i]),\\\"theta\\\"in t||(t.theta=e._theta[i]),r(t,e,n)}},{\\\"../scatterpolar/format_labels\\\":1210}],1218:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scattergl/hover\\\"),i=t(\\\"../scatterpolar/hover\\\").makeHoverPointText;e.exports={hoverPoints:function(t,e,n,o){var a=t.cd[0].t,s=a.r,l=a.theta,u=r.hoverPoints(t,e,n,o);if(u&&!1!==u[0].index){var c=u[0];if(void 0===c.index)return u;var h=t.subplot,p=c.cd[c.index],f=c.trace;if(p.r=s[c.index],p.theta=l[c.index],h.isPtInside(p))return c.xLabelVal=void 0,c.yLabelVal=void 0,i(p,f,h,c),u}}}},{\\\"../scattergl/hover\\\":1193,\\\"../scatterpolar/hover\\\":1211}],1219:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"scatterpolargl\\\",basePlotModule:t(\\\"../../plots/polar\\\"),categories:[\\\"gl\\\",\\\"regl\\\",\\\"polar\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"scatter-like\\\"],attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../scatter/marker_colorbar\\\"),formatLabels:t(\\\"./format_labels\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),hoverPoints:t(\\\"./hover\\\").hoverPoints,selectPoints:t(\\\"../scattergl/select\\\"),meta:{}}},{\\\"../../plots/polar\\\":842,\\\"../scatter/marker_colorbar\\\":1152,\\\"../scattergl/select\\\":1197,\\\"./attributes\\\":1214,\\\"./calc\\\":1215,\\\"./defaults\\\":1216,\\\"./format_labels\\\":1217,\\\"./hover\\\":1218,\\\"./plot\\\":1220}],1220:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"point-cluster\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../scattergl/plot\\\"),a=t(\\\"../scattergl/scene_update\\\"),s=t(\\\"../scattergl/convert\\\"),l=t(\\\"../../lib\\\"),u=t(\\\"../scattergl/constants\\\").TOO_MANY_POINTS;e.exports=function(t,e,n){if(n.length){var c=e.radialAxis,h=e.angularAxis,p=a(t,e);return n.forEach((function(n){if(n&&n[0]&&n[0].trace){var o,a=n[0],f=a.trace,d=a.t,m=f._length,v=d.r,g=d.theta,y=d.opts,_=v.slice(),b=g.slice();for(o=0;o<v.length;o++)e.isPtInside({r:v[o],theta:g[o]})||(_[o]=NaN,b[o]=NaN);var x=new Array(2*m),w=Array(m),A=Array(m);for(o=0;o<m;o++){var C,M,E=_[o];if(i(E)){var T=c.c2g(E),S=h.c2g(b[o],f.thetaunit);C=T*Math.cos(S),M=T*Math.sin(S)}else C=M=NaN;w[o]=x[2*o]=C,A[o]=x[2*o+1]=M}d.tree=r(x),y.marker&&m>=u&&(y.marker.cluster=d.tree),y.marker&&(y.markerSel.positions=y.markerUnsel.positions=y.marker.positions=x),y.line&&x.length>1&&l.extendFlat(y.line,s.linePositions(t,f,x)),y.text&&(l.extendFlat(y.text,{positions:x},s.textPosition(t,f,y.text,y.marker)),l.extendFlat(y.textSel,{positions:x},s.textPosition(t,f,y.text,y.markerSel)),l.extendFlat(y.textUnsel,{positions:x},s.textPosition(t,f,y.text,y.markerUnsel))),y.fill&&!p.fill2d&&(p.fill2d=!0),y.marker&&!p.scatter2d&&(p.scatter2d=!0),y.line&&!p.line2d&&(p.line2d=!0),y.text&&!p.glText&&(p.glText=!0),p.lineOptions.push(y.line),p.fillOptions.push(y.fill),p.markerOptions.push(y.marker),p.markerSelectedOptions.push(y.markerSel),p.markerUnselectedOptions.push(y.markerUnsel),p.textOptions.push(y.text),p.textSelectedOptions.push(y.textSel),p.textUnselectedOptions.push(y.textUnsel),p.selectBatch.push([]),p.unselectBatch.push([]),d.x=w,d.y=A,d.rawx=w,d.rawy=A,d.r=v,d.theta=g,d.positions=x,d._scene=p,d.index=p.count,p.count++}})),o(t,e,n)}}},{\\\"../../lib\\\":728,\\\"../scattergl/constants\\\":1187,\\\"../scattergl/convert\\\":1188,\\\"../scattergl/plot\\\":1195,\\\"../scattergl/scene_update\\\":1196,\\\"fast-isnumeric\\\":236,\\\"point-cluster\\\":467}],1221:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,i=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,o=t(\\\"../scatter/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../components/colorscale/attributes\\\"),l=t(\\\"../../components/drawing/attributes\\\").dash,u=t(\\\"../../lib/extend\\\").extendFlat,c=o.marker,h=o.line,p=c.line;e.exports={a:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},b:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},c:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},sum:{valType:\\\"number\\\",dflt:0,min:0,editType:\\\"calc\\\"},mode:u({},o.mode,{dflt:\\\"markers\\\"}),text:u({},o.text,{}),texttemplate:i({editType:\\\"plot\\\"},{keys:[\\\"a\\\",\\\"b\\\",\\\"c\\\",\\\"text\\\"]}),hovertext:u({},o.hovertext,{}),line:{color:h.color,width:h.width,dash:l,shape:u({},h.shape,{values:[\\\"linear\\\",\\\"spline\\\"]}),smoothing:h.smoothing,editType:\\\"calc\\\"},connectgaps:o.connectgaps,cliponaxis:o.cliponaxis,fill:u({},o.fill,{values:[\\\"none\\\",\\\"toself\\\",\\\"tonext\\\"],dflt:\\\"none\\\"}),fillcolor:o.fillcolor,marker:u({symbol:c.symbol,opacity:c.opacity,maxdisplayed:c.maxdisplayed,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,line:u({width:p.width,editType:\\\"calc\\\"},s(\\\"marker.line\\\")),gradient:c.gradient,editType:\\\"calc\\\"},s(\\\"marker\\\")),textfont:o.textfont,textposition:o.textposition,selected:o.selected,unselected:o.unselected,hoverinfo:u({},a.hoverinfo,{flags:[\\\"a\\\",\\\"b\\\",\\\"c\\\",\\\"text\\\",\\\"name\\\"]}),hoveron:o.hoveron,hovertemplate:r()}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../components/drawing/attributes\\\":616,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134}],1222:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"fast-isnumeric\\\"),i=t(\\\"../scatter/colorscale_calc\\\"),o=t(\\\"../scatter/arrays_to_calcdata\\\"),a=t(\\\"../scatter/calc_selection\\\"),s=t(\\\"../scatter/calc\\\").calcMarkerSize,l=[\\\"a\\\",\\\"b\\\",\\\"c\\\"],u={a:[\\\"b\\\",\\\"c\\\"],b:[\\\"a\\\",\\\"c\\\"],c:[\\\"a\\\",\\\"b\\\"]};e.exports=function(t,e){var n,c,h,p,f,d,m=t._fullLayout[e.subplot].sum,v=e.sum||m,g={a:e.a,b:e.b,c:e.c};for(n=0;n<l.length;n++)if(!g[h=l[n]]){for(f=g[u[h][0]],d=g[u[h][1]],p=new Array(f.length),c=0;c<f.length;c++)p[c]=v-f[c]-d[c];g[h]=p}var y,_,b,x,w,A,C=e._length,M=new Array(C);for(n=0;n<C;n++)y=g.a[n],_=g.b[n],b=g.c[n],r(y)&&r(_)&&r(b)?(1!=(x=m/((y=+y)+(_=+_)+(b=+b)))&&(y*=x,_*=x,b*=x),A=y,w=b-_,M[n]={x:w,y:A,a:y,b:_,c:b}):M[n]={x:!1,y:!1};return s(e,C),i(t,e),o(M,e),a(M,e),M}},{\\\"../scatter/arrays_to_calcdata\\\":1133,\\\"../scatter/calc\\\":1135,\\\"../scatter/calc_selection\\\":1136,\\\"../scatter/colorscale_calc\\\":1137,\\\"fast-isnumeric\\\":236}],1223:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/constants\\\"),o=t(\\\"../scatter/subtypes\\\"),a=t(\\\"../scatter/marker_defaults\\\"),s=t(\\\"../scatter/line_defaults\\\"),l=t(\\\"../scatter/line_shape_defaults\\\"),u=t(\\\"../scatter/text_defaults\\\"),c=t(\\\"../scatter/fillcolor_defaults\\\"),h=t(\\\"./attributes\\\");e.exports=function(t,e,n,p){function f(n,i){return r.coerce(t,e,h,n,i)}var d,m=f(\\\"a\\\"),v=f(\\\"b\\\"),g=f(\\\"c\\\");if(m?(d=m.length,v?(d=Math.min(d,v.length),g&&(d=Math.min(d,g.length))):d=g?Math.min(d,g.length):0):v&&g&&(d=Math.min(v.length,g.length)),d){e._length=d,f(\\\"sum\\\"),f(\\\"text\\\"),f(\\\"hovertext\\\"),\\\"fills\\\"!==e.hoveron&&f(\\\"hovertemplate\\\"),f(\\\"mode\\\",d<i.PTS_LINESONLY?\\\"lines+markers\\\":\\\"lines\\\"),o.hasLines(e)&&(s(t,e,n,p,f),l(t,e,f),f(\\\"connectgaps\\\")),o.hasMarkers(e)&&a(t,e,n,p,f,{gradient:!0}),o.hasText(e)&&(f(\\\"texttemplate\\\"),u(t,e,p,f));var y=[];(o.hasMarkers(e)||o.hasText(e))&&(f(\\\"cliponaxis\\\"),f(\\\"marker.maxdisplayed\\\"),y.push(\\\"points\\\")),f(\\\"fill\\\"),\\\"none\\\"!==e.fill&&(c(t,e,n,f),o.hasLines(e)||l(t,e,f)),\\\"tonext\\\"!==e.fill&&\\\"toself\\\"!==e.fill||y.push(\\\"fills\\\"),f(\\\"hoveron\\\",y.join(\\\"+\\\")||\\\"points\\\"),r.coerceSelectionMarkerOpacity(e,f)}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"../scatter/constants\\\":1138,\\\"../scatter/fillcolor_defaults\\\":1142,\\\"../scatter/line_defaults\\\":1147,\\\"../scatter/line_shape_defaults\\\":1149,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scatter/text_defaults\\\":1159,\\\"./attributes\\\":1221}],1224:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e,n,r,i){if(e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),r[i]){var o=r[i];t.a=o.a,t.b=o.b,t.c=o.c}else t.a=e.a,t.b=e.b,t.c=e.c;return t}},{}],1225:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\");e.exports=function(t,e,n){var i={},o=n[e.subplot]._subplot;return i.aLabel=r.tickText(o.aaxis,t.a,!0).text,i.bLabel=r.tickText(o.baxis,t.b,!0).text,i.cLabel=r.tickText(o.caxis,t.c,!0).text,i}},{\\\"../../plots/cartesian/axes\\\":776}],1226:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/hover\\\");e.exports=function(t,e,n,i){var o=r(t,e,n,i);if(o&&!1!==o[0].index){var a=o[0];if(void 0===a.index){var s=1-a.y0/t.ya._length,l=t.xa._length,u=l*s/2,c=l-u;return a.x0=Math.max(Math.min(a.x0,c),u),a.x1=Math.max(Math.min(a.x1,c),u),o}var h=a.cd[a.index],p=a.trace,f=a.subplot;a.a=h.a,a.b=h.b,a.c=h.c,a.xLabelVal=void 0,a.yLabelVal=void 0;var d={};d[p.subplot]={_subplot:f};var m=p._module.formatLabels(h,p,d);a.aLabel=m.aLabel,a.bLabel=m.bLabel,a.cLabel=m.cLabel;var v=h.hi||p.hoverinfo,g=[];if(!p.hovertemplate){var y=v.split(\\\"+\\\");-1!==y.indexOf(\\\"all\\\")&&(y=[\\\"a\\\",\\\"b\\\",\\\"c\\\"]),-1!==y.indexOf(\\\"a\\\")&&_(f.aaxis,a.aLabel),-1!==y.indexOf(\\\"b\\\")&&_(f.baxis,a.bLabel),-1!==y.indexOf(\\\"c\\\")&&_(f.caxis,a.cLabel)}return a.extraText=g.join(\\\"<br>\\\"),a.hovertemplate=p.hovertemplate,o}function _(t,e){g.push(t._hovertitle+\\\": \\\"+e)}}},{\\\"../scatter/hover\\\":1145}],1227:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../scatter/marker_colorbar\\\"),formatLabels:t(\\\"./format_labels\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"../scatter/style\\\").style,styleOnSelect:t(\\\"../scatter/style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\"),selectPoints:t(\\\"../scatter/select\\\"),eventData:t(\\\"./event_data\\\"),moduleType:\\\"trace\\\",name:\\\"scatterternary\\\",basePlotModule:t(\\\"../../plots/ternary\\\"),categories:[\\\"ternary\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"scatter-like\\\"],meta:{}}},{\\\"../../plots/ternary\\\":855,\\\"../scatter/marker_colorbar\\\":1152,\\\"../scatter/select\\\":1155,\\\"../scatter/style\\\":1157,\\\"./attributes\\\":1221,\\\"./calc\\\":1222,\\\"./defaults\\\":1223,\\\"./event_data\\\":1224,\\\"./format_labels\\\":1225,\\\"./hover\\\":1226,\\\"./plot\\\":1228}],1228:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/plot\\\");e.exports=function(t,e,n){var i=e.plotContainer;i.select(\\\".scatterlayer\\\").selectAll(\\\"*\\\").remove();var o={xaxis:e.xaxis,yaxis:e.yaxis,plot:i,layerClipId:e._hasClipOnAxisFalse?e.clipIdRelative:null},a=e.layers.frontplot.select(\\\"g.scatterlayer\\\");r(t,o,n,a)}},{\\\"../scatter/plot\\\":1154}],1229:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../scatter/attributes\\\"),i=t(\\\"../../components/colorscale/attributes\\\"),o=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,a=t(\\\"../scattergl/attributes\\\"),s=t(\\\"../../plots/cartesian/constants\\\").idRegex,l=t(\\\"../../plot_api/plot_template\\\").templatedArray,u=t(\\\"../../lib/extend\\\").extendFlat,c=r.marker,h=c.line,p=u(i(\\\"marker.line\\\",{editTypeOverride:\\\"calc\\\"}),{width:u({},h.width,{editType:\\\"calc\\\"}),editType:\\\"calc\\\"}),f=u(i(\\\"marker\\\"),{symbol:c.symbol,size:u({},c.size,{editType:\\\"markerSize\\\"}),sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,opacity:c.opacity,colorbar:c.colorbar,line:p,editType:\\\"calc\\\"});function d(t){return{valType:\\\"info_array\\\",freeLength:!0,editType:\\\"calc\\\",items:{valType:\\\"subplotid\\\",regex:s[t],editType:\\\"plot\\\"}}}f.color.editType=f.cmin.editType=f.cmax.editType=\\\"style\\\",e.exports={dimensions:l(\\\"dimension\\\",{visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},label:{valType:\\\"string\\\",editType:\\\"calc\\\"},values:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},axis:{type:{valType:\\\"enumerated\\\",values:[\\\"linear\\\",\\\"log\\\",\\\"date\\\",\\\"category\\\"],editType:\\\"calc+clearAxisTypes\\\"},matches:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},editType:\\\"calc+clearAxisTypes\\\"},editType:\\\"calc+clearAxisTypes\\\"}),text:u({},a.text,{}),hovertext:u({},a.hovertext,{}),hovertemplate:o(),marker:f,xaxes:d(\\\"x\\\"),yaxes:d(\\\"y\\\"),diagonal:{visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},editType:\\\"calc\\\"},showupperhalf:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},showlowerhalf:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},selected:{marker:a.selected.marker,editType:\\\"calc\\\"},unselected:{marker:a.unselected.marker,editType:\\\"calc\\\"},opacity:a.opacity}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plot_api/plot_template\\\":766,\\\"../../plots/cartesian/constants\\\":782,\\\"../../plots/template_attributes\\\":854,\\\"../scatter/attributes\\\":1134,\\\"../scattergl/attributes\\\":1185}],1230:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"regl-line2d\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../lib/prepare_regl\\\"),a=t(\\\"../../plots/get_data\\\").getModuleCalcData,s=t(\\\"../../plots/cartesian\\\"),l=t(\\\"../../plots/cartesian/axis_ids\\\").getFromId,u=t(\\\"../../plots/cartesian/axes\\\").shouldShowZeroLine,c=\\\"splom\\\";function h(t,e,n){for(var r=n.matrixOptions.data.length,i=e._visibleDims,o=n.viewOpts.ranges=new Array(r),a=0;a<i.length;a++){var s=i[a],u=o[a]=new Array(4),c=l(t,e._diag[s][0]);c&&(u[0]=c.r2l(c.range[0]),u[2]=c.r2l(c.range[1]));var h=l(t,e._diag[s][1]);h&&(u[1]=h.r2l(h.range[0]),u[3]=h.r2l(h.range[1]))}n.selectBatch.length||n.unselectBatch.length?n.matrix.update({ranges:o},{ranges:o}):n.matrix.update({ranges:o})}function p(t){var e=t._fullLayout,n=e._glcanvas.data()[0].regl,i=e._splomGrid;i||(i=e._splomGrid=r(n)),i.update(function(t){var e,n=t._fullLayout,r=n._size,i=[0,0,n.width,n.height],o={};function a(t,e,n,r,a,s){var l=e[t+\\\"color\\\"],u=e[t+\\\"width\\\"],c=String(l+u);c in o?o[c].data.push(NaN,NaN,n,r,a,s):o[c]={data:[n,r,a,s],join:\\\"rect\\\",thickness:u,color:l,viewport:i,range:i,overlay:!1}}for(e in n._splomSubplots){var s,l,c=n._plots[e],h=c.xaxis,p=c.yaxis,f=h._gridVals,d=p._gridVals,m=r.b+p.domain[0]*r.h,v=-p._m,g=-v*p.r2l(p.range[0],p.calendar);if(h.showgrid)for(e=0;e<f.length;e++)s=h._offset+h.l2p(f[e].x),a(\\\"grid\\\",h,s,m,s,m+p._length);if(p.showgrid)for(e=0;e<d.length;e++)l=m+g+v*d[e].x,a(\\\"grid\\\",p,h._offset,l,h._offset+h._length,l);u(t,h,p)&&(s=h._offset+h.l2p(0),a(\\\"zeroline\\\",h,s,m,s,m+p._length)),u(t,p,h)&&(l=m+g+0,a(\\\"zeroline\\\",p,h._offset,l,h._offset+h._length,l))}var y=[];for(e in o)y.push(o[e]);return y}(t))}e.exports={name:c,attr:s.attr,attrRegex:s.attrRegex,layoutAttributes:s.layoutAttributes,supplyLayoutDefaults:s.supplyLayoutDefaults,drawFramework:s.drawFramework,plot:function(t){var e=t._fullLayout,n=i.getModule(c),r=a(t.calcdata,n)[0];o(t,[\\\"ANGLE_instanced_arrays\\\",\\\"OES_element_index_uint\\\"])&&(e._hasOnlyLargeSploms&&p(t),n.plot(t,{},r))},drag:function(t){var e=t.calcdata,n=t._fullLayout;n._hasOnlyLargeSploms&&p(t);for(var r=0;r<e.length;r++){var i=e[r][0].trace,o=n._splomScenes[i.uid];\\\"splom\\\"===i.type&&o&&o.matrix&&h(t,i,o)}},updateGrid:p,clean:function(t,e,n,r){var i,o={};if(r._splomScenes){for(i=0;i<t.length;i++){var a=t[i];\\\"splom\\\"===a.type&&(o[a.uid]=1)}for(i=0;i<n.length;i++){var l=n[i];if(!o[l.uid]){var u=r._splomScenes[l.uid];u&&u.destroy&&u.destroy(),r._splomScenes[l.uid]=null,delete r._splomScenes[l.uid]}}}0===Object.keys(r._splomScenes||{}).length&&delete r._splomScenes,r._splomGrid&&!e._hasOnlyLargeSploms&&r._hasOnlyLargeSploms&&(r._splomGrid.destroy(),r._splomGrid=null,delete r._splomGrid),s.clean(t,e,n,r)},updateFx:s.updateFx,toSVG:s.toSVG}},{\\\"../../lib/prepare_regl\\\":741,\\\"../../plots/cartesian\\\":789,\\\"../../plots/cartesian/axes\\\":776,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../../plots/get_data\\\":813,\\\"../../registry\\\":859,\\\"regl-line2d\\\":489}],1231:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axis_ids\\\"),o=t(\\\"../scatter/calc\\\").calcMarkerSize,a=t(\\\"../scatter/calc\\\").calcAxisExpansion,s=t(\\\"../scatter/colorscale_calc\\\"),l=t(\\\"../scattergl/convert\\\").markerSelection,u=t(\\\"../scattergl/convert\\\").markerStyle,c=t(\\\"./scene_update\\\"),h=t(\\\"../../constants/numerical\\\").BADNUM,p=t(\\\"../scattergl/constants\\\").TOO_MANY_POINTS;e.exports=function(t,e){var n,f,d,m,v,g,y=e.dimensions,_=e._length,b={},x=b.cdata=[],w=b.data=[],A=e._visibleDims=[];function C(t,n){for(var i=t.makeCalcdata({v:n.values,vcalendar:e.calendar},\\\"v\\\"),o=0;o<i.length;o++)i[o]=i[o]===h?NaN:i[o];x.push(i),w.push(\\\"log\\\"===t.type?r.simpleMap(i,t.c2l):i)}for(n=0;n<y.length;n++)if((d=y[n]).visible){if(m=i.getFromId(t,e._diag[n][0]),v=i.getFromId(t,e._diag[n][1]),m&&v&&m.type!==v.type){r.log(\\\"Skipping splom dimension \\\"+n+\\\" with conflicting axis types\\\");continue}m?(C(m,d),v&&\\\"category\\\"===v.type&&(v._categories=m._categories.slice())):C(v,d),A.push(n)}for(s(t,e),r.extendFlat(b,u(e)),g=x.length*_>p?2*(b.sizeAvg||Math.max(b.size,3)):o(e,_),f=0;f<A.length;f++)d=y[n=A[f]],m=i.getFromId(t,e._diag[n][0])||{},v=i.getFromId(t,e._diag[n][1])||{},a(t,e,m,v,x[f],x[f],g);var M=c(t,e);return M.matrix||(M.matrix=!0),M.matrixOptions=b,M.selectedOptions=l(e,e.selected),M.unselectedOptions=l(e,e.unselected),[{x:!1,y:!1,t:{},trace:e}]}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"../scatter/calc\\\":1135,\\\"../scatter/colorscale_calc\\\":1137,\\\"../scattergl/constants\\\":1187,\\\"../scattergl/convert\\\":1188,\\\"./scene_update\\\":1238}],1232:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/array_container_defaults\\\"),o=t(\\\"./attributes\\\"),a=t(\\\"../scatter/subtypes\\\"),s=t(\\\"../scatter/marker_defaults\\\"),l=t(\\\"../parcoords/merge_length\\\"),u=t(\\\"../scattergl/helpers\\\").isOpenSymbol;function c(t,e){function n(n,i){return r.coerce(t,e,o.dimensions,n,i)}n(\\\"label\\\");var i=n(\\\"values\\\");i&&i.length?n(\\\"visible\\\"):e.visible=!1,n(\\\"axis.type\\\"),n(\\\"axis.matches\\\")}e.exports=function(t,e,n,h){function p(n,i){return r.coerce(t,e,o,n,i)}var f=i(t,e,{name:\\\"dimensions\\\",handleItemDefaults:c}),d=p(\\\"diagonal.visible\\\"),m=p(\\\"showupperhalf\\\"),v=p(\\\"showlowerhalf\\\");if(l(e,f,\\\"values\\\")&&(d||m||v)){p(\\\"text\\\"),p(\\\"hovertext\\\"),p(\\\"hovertemplate\\\"),s(t,e,n,h,p);var g=u(e.marker.symbol),y=a.isBubble(e);p(\\\"marker.line.width\\\",g||y?1:0),function(t,e,n,r){var i,o,a=e.dimensions,s=a.length,l=e.showupperhalf,u=e.showlowerhalf,c=e.diagonal.visible,h=new Array(s),p=new Array(s);for(i=0;i<s;i++){var f=i?i+1:\\\"\\\";h[i]=\\\"x\\\"+f,p[i]=\\\"y\\\"+f}var d=r(\\\"xaxes\\\",h),m=r(\\\"yaxes\\\",p),v=e._diag=new Array(s);e._xaxes={},e._yaxes={};var g=[],y=[];function _(t,r,i,o){if(t){var a=t.charAt(0),s=n._splomAxes[a];if(e[\\\"_\\\"+a+\\\"axes\\\"][t]=1,o.push(t),!(t in s)){var l=s[t]={};i&&(l.label=i.label||\\\"\\\",i.visible&&i.axis&&(i.axis.type&&(l.type=i.axis.type),i.axis.matches&&(l.matches=r)))}}}var b=!c&&!u,x=!c&&!l;for(e._axesDim={},i=0;i<s;i++){var w=a[i],A=0===i,C=i===s-1,M=A&&b||C&&x?void 0:d[i],E=A&&x||C&&b?void 0:m[i];_(M,E,w,g),_(E,M,w,y),v[i]=[M,E],e._axesDim[M]=i,e._axesDim[E]=i}for(i=0;i<g.length;i++)for(o=0;o<y.length;o++){var T=g[i]+y[o];i>o&&l||i<o&&u?n._splomSubplots[T]=1:i!==o||!c&&u&&l||(n._splomSubplots[T]=1)}(!u||!c&&l&&u)&&(n._splomGridDflt.xside=\\\"bottom\\\",n._splomGridDflt.yside=\\\"left\\\")}(0,e,h,p),r.coerceSelectionMarkerOpacity(e,p)}else e.visible=!1}},{\\\"../../lib\\\":728,\\\"../../plots/array_container_defaults\\\":772,\\\"../parcoords/merge_length\\\":1105,\\\"../scatter/marker_defaults\\\":1153,\\\"../scatter/subtypes\\\":1158,\\\"../scattergl/helpers\\\":1192,\\\"./attributes\\\":1229}],1233:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/colorscale_calc\\\"),o=t(\\\"../scattergl/convert\\\").markerStyle;e.exports=function(t,e){var n=e.trace,a=t._fullLayout._splomScenes[n.uid];if(a){i(t,n),r.extendFlat(a.matrixOptions,o(n));var s=r.extendFlat({},a.matrixOptions,a.viewOpts);a.matrix.update(s,null)}}},{\\\"../../lib\\\":728,\\\"../scatter/colorscale_calc\\\":1137,\\\"../scattergl/convert\\\":1188}],1234:[function(t,e,n){\\\"use strict\\\";n.getDimIndex=function(t,e){for(var n=e._id,r={x:0,y:1}[n.charAt(0)],i=t._visibleDims,o=0;o<i.length;o++){var a=i[o];if(t._diag[a][r]===n)return o}return!1}},{}],1235:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./helpers\\\"),i=t(\\\"../scattergl/hover\\\").calcHover;e.exports={hoverPoints:function(t,e,n){var o=t.cd[0].trace,a=t.scene.matrixOptions.cdata,s=t.xa,l=t.ya,u=s.c2p(e),c=l.c2p(n),h=t.distance,p=r.getDimIndex(o,s),f=r.getDimIndex(o,l);if(!1===p||!1===f)return[t];for(var d,m,v=a[p],g=a[f],y=h,_=0;_<v.length;_++){var b=v[_],x=g[_],w=s.c2p(b)-u,A=l.c2p(x)-c,C=Math.sqrt(w*w+A*A);C<y&&(y=m=C,d=_)}return t.index=d,t.distance=y,t.dxy=m,void 0===d?[t]:[i(t,v,g,o)]}}},{\\\"../scattergl/hover\\\":1193,\\\"./helpers\\\":1234}],1236:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../components/grid\\\");e.exports={moduleType:\\\"trace\\\",name:\\\"splom\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[\\\"gl\\\",\\\"regl\\\",\\\"cartesian\\\",\\\"symbols\\\",\\\"showLegend\\\",\\\"scatter-like\\\"],attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:t(\\\"../scatter/marker_colorbar\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),hoverPoints:t(\\\"./hover\\\").hoverPoints,selectPoints:t(\\\"./select\\\"),editStyle:t(\\\"./edit_style\\\"),meta:{}},r.register(i)},{\\\"../../components/grid\\\":639,\\\"../../registry\\\":859,\\\"../scatter/marker_colorbar\\\":1152,\\\"./attributes\\\":1229,\\\"./base_plot\\\":1230,\\\"./calc\\\":1231,\\\"./defaults\\\":1232,\\\"./edit_style\\\":1233,\\\"./hover\\\":1235,\\\"./plot\\\":1237,\\\"./select\\\":1239}],1237:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"regl-splom\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../plots/cartesian/axis_ids\\\"),a=t(\\\"../../components/dragelement/helpers\\\").selectMode;function s(t,e){var n,s,l,u,c,h=t._fullLayout,p=h._size,f=e.trace,d=e.t,m=h._splomScenes[f.uid],v=m.matrixOptions,g=v.cdata,y=h._glcanvas.data()[0].regl,_=h.dragmode;if(0!==g.length){v.lower=f.showupperhalf,v.upper=f.showlowerhalf,v.diagonal=f.diagonal.visible;var b=f._visibleDims,x=g.length,w=m.viewOpts={};for(w.ranges=new Array(x),w.domains=new Array(x),c=0;c<b.length;c++){l=b[c];var A=w.ranges[c]=new Array(4),C=w.domains[c]=new Array(4);(n=o.getFromId(t,f._diag[l][0]))&&(A[0]=n._rl[0],A[2]=n._rl[1],C[0]=n.domain[0],C[2]=n.domain[1]),(s=o.getFromId(t,f._diag[l][1]))&&(A[1]=s._rl[0],A[3]=s._rl[1],C[1]=s.domain[0],C[3]=s.domain[1])}w.viewport=[p.l,p.b,p.w+p.l,p.h+p.b],!0===m.matrix&&(m.matrix=r(y));var M=h.clickmode.indexOf(\\\"select\\\")>-1,E=!0;if(a(_)||f.selectedpoints||M){var T=f._length;if(f.selectedpoints){m.selectBatch=f.selectedpoints;var S=f.selectedpoints,k={};for(l=0;l<S.length;l++)k[S[l]]=!0;var O=[];for(l=0;l<T;l++)k[l]||O.push(l);m.unselectBatch=O}var I=d.xpx=new Array(x),L=d.ypx=new Array(x);for(c=0;c<b.length;c++){if(l=b[c],n=o.getFromId(t,f._diag[l][0]))for(I[c]=new Array(T),u=0;u<T;u++)I[c][u]=n.c2p(g[c][u]);if(s=o.getFromId(t,f._diag[l][1]))for(L[c]=new Array(T),u=0;u<T;u++)L[c][u]=s.c2p(g[c][u])}if(m.selectBatch.length||m.unselectBatch.length){var P=i.extendFlat({},v,m.unselectedOptions,w),z=i.extendFlat({},v,m.selectedOptions,w);m.matrix.update(P,z),E=!1}}else d.xpx=d.ypx=null;if(E){var R=i.extendFlat({},v,w);m.matrix.update(R,null)}}}e.exports=function(t,e,n){if(n.length)for(var r=0;r<n.length;r++)s(t,n[r][0])}},{\\\"../../components/dragelement/helpers\\\":613,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axis_ids\\\":779,\\\"regl-splom\\\":491}],1238:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\");e.exports=function(t,e){var n=t._fullLayout,i=e.uid,o=n._splomScenes;o||(o=n._splomScenes={});var a={dirty:!0,selectBatch:[],unselectBatch:[]},s=o[e.uid];return s||((s=o[i]=r.extendFlat({},a,{matrix:!1,selectBatch:[],unselectBatch:[]})).draw=function(){s.matrix&&s.matrix.draw&&(s.selectBatch.length||s.unselectBatch.length?s.matrix.draw(s.unselectBatch,s.selectBatch):s.matrix.draw()),s.dirty=!1},s.destroy=function(){s.matrix&&s.matrix.destroy&&s.matrix.destroy(),s.matrixOptions=null,s.selectBatch=null,s.unselectBatch=null,s=null}),s.dirty||r.extendFlat(s,a),s}},{\\\"../../lib\\\":728}],1239:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../scatter/subtypes\\\"),o=t(\\\"./helpers\\\");e.exports=function(t,e){var n=t.cd,a=n[0].trace,s=n[0].t,l=t.scene,u=l.matrixOptions.cdata,c=t.xaxis,h=t.yaxis,p=[];if(!l)return p;var f=!i.hasMarkers(a)&&!i.hasText(a);if(!0!==a.visible||f)return p;var d=o.getDimIndex(a,c),m=o.getDimIndex(a,h);if(!1===d||!1===m)return p;var v=s.xpx[d],g=s.ypx[m],y=u[d],_=u[m],b=[],x=[];if(!1!==e&&!e.degenerate)for(var w=0;w<y.length;w++)e.contains([v[w],g[w]],null,w,t)?(b.push(w),p.push({pointNumber:w,x:y[w],y:_[w]})):x.push(w);var A=l.matrixOptions;return b.length||x.length?l.selectBatch.length||l.unselectBatch.length||l.matrix.update(l.unselectedOptions,r.extendFlat({},A,l.selectedOptions,l.viewOpts)):l.matrix.update(A,null),l.selectBatch=b,l.unselectBatch=x,p}},{\\\"../../lib\\\":728,\\\"../scatter/subtypes\\\":1158,\\\"./helpers\\\":1234}],1240:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../mesh3d/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../lib/extend\\\").extendFlat,l={x:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},y:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},z:{valType:\\\"data_array\\\",editType:\\\"calc+clearAxisTypes\\\"},u:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},v:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},w:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},starts:{x:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},y:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},z:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},editType:\\\"calc\\\"},maxdisplayed:{valType:\\\"integer\\\",min:0,dflt:1e3,editType:\\\"calc\\\"},sizeref:{valType:\\\"number\\\",editType:\\\"calc\\\",min:0,dflt:1},text:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},hovertext:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},hovertemplate:i({editType:\\\"calc\\\"},{keys:[\\\"tubex\\\",\\\"tubey\\\",\\\"tubez\\\",\\\"tubeu\\\",\\\"tubev\\\",\\\"tubew\\\",\\\"norm\\\",\\\"divergence\\\"]}),showlegend:s({},a.showlegend,{dflt:!1})};s(l,r(\\\"\\\",{colorAttr:\\\"u/v/w norm\\\",showScaleDflt:!0,editTypeOverride:\\\"calc\\\"})),[\\\"opacity\\\",\\\"lightposition\\\",\\\"lighting\\\"].forEach((function(t){l[t]=o[t]})),l.hoverinfo=s({},a.hoverinfo,{editType:\\\"calc\\\",flags:[\\\"x\\\",\\\"y\\\",\\\"z\\\",\\\"u\\\",\\\"v\\\",\\\"w\\\",\\\"norm\\\",\\\"divergence\\\",\\\"text\\\",\\\"name\\\"],dflt:\\\"x+y+z+norm+text+name\\\"}),l.transforms=void 0,e.exports=l},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../mesh3d/attributes\\\":1075}],1241:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/colorscale/calc\\\");function o(t){var e,n,i,o,s,l,u,c,h,p,f,d,m=t._x,v=t._y,g=t._z,y=t._len,_=-1/0,b=1/0,x=-1/0,w=1/0,A=-1/0,C=1/0,M=\\\"\\\";for(y&&(u=m[0],h=v[0],f=g[0]),y>1&&(c=m[y-1],p=v[y-1],d=g[y-1]),e=0;e<y;e++)_=Math.max(_,m[e]),b=Math.min(b,m[e]),x=Math.max(x,v[e]),w=Math.min(w,v[e]),A=Math.max(A,g[e]),C=Math.min(C,g[e]),o||m[e]===u||(o=!0,M+=\\\"x\\\"),s||v[e]===h||(s=!0,M+=\\\"y\\\"),l||g[e]===f||(l=!0,M+=\\\"z\\\");o||(M+=\\\"x\\\"),s||(M+=\\\"y\\\"),l||(M+=\\\"z\\\");var E=a(t._x),T=a(t._y),S=a(t._z);M=(M=(M=M.replace(\\\"x\\\",(u>c?\\\"-\\\":\\\"+\\\")+\\\"x\\\")).replace(\\\"y\\\",(h>p?\\\"-\\\":\\\"+\\\")+\\\"y\\\")).replace(\\\"z\\\",(f>d?\\\"-\\\":\\\"+\\\")+\\\"z\\\");var k=function(){y=0,E=[],T=[],S=[]};(!y||y<E.length*T.length*S.length)&&k();var O=function(t){return\\\"x\\\"===t?m:\\\"y\\\"===t?v:g},I=function(t){return\\\"x\\\"===t?E:\\\"y\\\"===t?T:S},L=function(t){return t[y-1]<t[0]?-1:1},P=O(M[1]),z=O(M[3]),R=O(M[5]),D=I(M[1]).length,$=I(M[3]).length,B=I(M[5]).length,N=!1,F=function(t,e,n){return D*($*t+e)+n},j=L(O(M[1])),U=L(O(M[3])),q=L(O(M[5]));for(e=0;e<B-1;e++){for(n=0;n<$-1;n++){for(i=0;i<D-1;i++){var V=F(e,n,i),H=F(e,n,i+1),G=F(e,n+1,i),W=F(e+1,n,i);if(P[V]*j<P[H]*j&&z[V]*U<z[G]*U&&R[V]*q<R[W]*q||(N=!0),N)break}if(N)break}if(N)break}return N&&(r.warn(\\\"Encountered arbitrary coordinates! Unable to input data grid.\\\"),k()),{xMin:b,yMin:w,zMin:C,xMax:_,yMax:x,zMax:A,Xs:E,Ys:T,Zs:S,len:y,fill:M}}function a(t){return r.distinctVals(t).vals}function s(t,e){if(void 0===e&&(e=t.length),r.isTypedArray(t))return t.subarray(0,e);for(var n=[],i=0;i<e;i++)n[i]=+t[i];return n}e.exports={calc:function(t,e){e._len=Math.min(e.u.length,e.v.length,e.w.length,e.x.length,e.y.length,e.z.length),e._u=s(e.u,e._len),e._v=s(e.v,e._len),e._w=s(e.w,e._len),e._x=s(e.x,e._len),e._y=s(e.y,e._len),e._z=s(e.z,e._len);var n=o(e);e._gridFill=n.fill,e._Xs=n.Xs,e._Ys=n.Ys,e._Zs=n.Zs,e._len=n.len;var r,a,l,u=0;e.starts&&(r=s(e.starts.x||[]),a=s(e.starts.y||[]),l=s(e.starts.z||[]),u=Math.min(r.length,a.length,l.length)),e._startsX=r||[],e._startsY=a||[],e._startsZ=l||[];var c,h=0,p=1/0;for(c=0;c<e._len;c++){var f=e._u[c],d=e._v[c],m=e._w[c],v=Math.sqrt(f*f+d*d+m*m);h=Math.max(h,v),p=Math.min(p,v)}for(i(t,e,{vals:[p,h],containerStr:\\\"\\\",cLetter:\\\"c\\\"}),c=0;c<u;c++){var g=r[c];n.xMax=Math.max(n.xMax,g),n.xMin=Math.min(n.xMin,g);var y=a[c];n.yMax=Math.max(n.yMax,y),n.yMin=Math.min(n.yMin,y);var _=l[c];n.zMax=Math.max(n.zMax,_),n.zMin=Math.min(n.zMin,_)}e._slen=u,e._normMax=h,e._xbnds=[n.xMin,n.xMax],e._ybnds=[n.yMin,n.yMax],e._zbnds=[n.zMin,n.zMax]},filter:s,processGrid:o}},{\\\"../../components/colorscale/calc\\\":603,\\\"../../lib\\\":728}],1242:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-streamtube3d\\\"),i=r.createTubeMesh,o=t(\\\"../../lib\\\"),a=t(\\\"../../lib/gl_format_color\\\").parseColorScale,s=t(\\\"../../components/colorscale\\\").extractOpts,l=t(\\\"../../plots/gl3d/zip3\\\"),u={xaxis:0,yaxis:1,zaxis:2};function c(t,e){this.scene=t,this.uid=e,this.mesh=null,this.data=null}var h=c.prototype;function p(t){var e=t.length;return e>2?t.slice(1,e-1):2===e?[(t[0]+t[1])/2]:t}function f(t){var e=t.length;return 1===e?[.5,.5]:[t[1]-t[0],t[e-1]-t[e-2]]}function d(t,e){var n=t.fullSceneLayout,i=t.dataScale,c=e._len,h={};function d(t,e){var r=n[e],a=i[u[e]];return o.simpleMap(t,(function(t){return r.d2l(t)*a}))}if(h.vectors=l(d(e._u,\\\"xaxis\\\"),d(e._v,\\\"yaxis\\\"),d(e._w,\\\"zaxis\\\"),c),!c)return{positions:[],cells:[]};var m=d(e._Xs,\\\"xaxis\\\"),v=d(e._Ys,\\\"yaxis\\\"),g=d(e._Zs,\\\"zaxis\\\");if(h.meshgrid=[m,v,g],h.gridFill=e._gridFill,e._slen)h.startingPositions=l(d(e._startsX,\\\"xaxis\\\"),d(e._startsY,\\\"yaxis\\\"),d(e._startsZ,\\\"zaxis\\\"));else{for(var y=v[0],_=p(m),b=p(g),x=new Array(_.length*b.length),w=0,A=0;A<_.length;A++)for(var C=0;C<b.length;C++)x[w++]=[_[A],y,b[C]];h.startingPositions=x}h.colormap=a(e),h.tubeSize=e.sizeref,h.maxLength=e.maxdisplayed;var M=d(e._xbnds,\\\"xaxis\\\"),E=d(e._ybnds,\\\"yaxis\\\"),T=d(e._zbnds,\\\"zaxis\\\"),S=f(m),k=f(v),O=f(g),I=[[M[0]-S[0],E[0]-k[0],T[0]-O[0]],[M[1]+S[1],E[1]+k[1],T[1]+O[1]]],L=r(h,I),P=s(e);L.vertexIntensityBounds=[P.min/e._normMax,P.max/e._normMax];var z=e.lightposition;return L.lightPosition=[z.x,z.y,z.z],L.ambient=e.lighting.ambient,L.diffuse=e.lighting.diffuse,L.specular=e.lighting.specular,L.roughness=e.lighting.roughness,L.fresnel=e.lighting.fresnel,L.opacity=e.opacity,e._pad=L.tubeScale*e.sizeref*2,L}h.handlePick=function(t){var e=this.scene.fullSceneLayout,n=this.scene.dataScale;function r(t,r){var i=e[r],o=n[u[r]];return i.l2c(t)/o}if(t.object===this.mesh){var i=t.data.position,o=t.data.velocity;return t.traceCoordinate=[r(i[0],\\\"xaxis\\\"),r(i[1],\\\"yaxis\\\"),r(i[2],\\\"zaxis\\\"),r(o[0],\\\"xaxis\\\"),r(o[1],\\\"yaxis\\\"),r(o[2],\\\"zaxis\\\"),t.data.intensity*this.data._normMax,t.data.divergence],t.textLabel=this.data.hovertext||this.data.text,!0}},h.update=function(t){this.data=t;var e=d(this.scene,t);this.mesh.update(e)},h.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(t,e){var n=t.glplot.gl,r=d(t,e),o=i(n,r),a=new c(t,e.uid);return a.mesh=o,a.data=e,o._trace=a,t.glplot.add(o),a}},{\\\"../../components/colorscale\\\":607,\\\"../../lib\\\":728,\\\"../../lib/gl_format_color\\\":725,\\\"../../plots/gl3d/zip3\\\":829,\\\"gl-streamtube3d\\\":318}],1243:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/colorscale/defaults\\\"),o=t(\\\"./attributes\\\");e.exports=function(t,e,n,a){function s(n,i){return r.coerce(t,e,o,n,i)}var l=s(\\\"u\\\"),u=s(\\\"v\\\"),c=s(\\\"w\\\"),h=s(\\\"x\\\"),p=s(\\\"y\\\"),f=s(\\\"z\\\");l&&l.length&&u&&u.length&&c&&c.length&&h&&h.length&&p&&p.length&&f&&f.length?(s(\\\"starts.x\\\"),s(\\\"starts.y\\\"),s(\\\"starts.z\\\"),s(\\\"maxdisplayed\\\"),s(\\\"sizeref\\\"),s(\\\"lighting.ambient\\\"),s(\\\"lighting.diffuse\\\"),s(\\\"lighting.specular\\\"),s(\\\"lighting.roughness\\\"),s(\\\"lighting.fresnel\\\"),s(\\\"lightposition.x\\\"),s(\\\"lightposition.y\\\"),s(\\\"lightposition.z\\\"),i(t,e,a,s,{prefix:\\\"\\\",cLetter:\\\"c\\\"}),s(\\\"text\\\"),s(\\\"hovertext\\\"),s(\\\"hovertemplate\\\"),e._length=null):e.visible=!1}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"./attributes\\\":1240}],1244:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"streamtube\\\",basePlotModule:t(\\\"../../plots/gl3d\\\"),categories:[\\\"gl3d\\\",\\\"showLegend\\\"],attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),colorbar:{min:\\\"cmin\\\",max:\\\"cmax\\\"},calc:t(\\\"./calc\\\").calc,plot:t(\\\"./convert\\\"),eventData:function(t,e){return t.tubex=t.x,t.tubey=t.y,t.tubez=t.z,t.tubeu=e.traceCoordinate[3],t.tubev=e.traceCoordinate[4],t.tubew=e.traceCoordinate[5],t.norm=e.traceCoordinate[6],t.divergence=e.traceCoordinate[7],delete t.x,delete t.y,delete t.z,t},meta:{}}},{\\\"../../plots/gl3d\\\":818,\\\"./attributes\\\":1240,\\\"./calc\\\":1241,\\\"./convert\\\":1242,\\\"./defaults\\\":1243}],1245:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/attributes\\\"),i=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,o=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,a=t(\\\"../../components/colorscale/attributes\\\"),s=t(\\\"../../plots/domain\\\").attributes,l=t(\\\"../pie/attributes\\\"),u=t(\\\"./constants\\\"),c=t(\\\"../../lib/extend\\\").extendFlat;e.exports={labels:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},parents:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},values:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},branchvalues:{valType:\\\"enumerated\\\",values:[\\\"remainder\\\",\\\"total\\\"],dflt:\\\"remainder\\\",editType:\\\"calc\\\"},count:{valType:\\\"flaglist\\\",flags:[\\\"branches\\\",\\\"leaves\\\"],dflt:\\\"leaves\\\",editType:\\\"calc\\\"},level:{valType:\\\"any\\\",editType:\\\"plot\\\",anim:!0},maxdepth:{valType:\\\"integer\\\",editType:\\\"plot\\\",dflt:-1},marker:c({colors:{valType:\\\"data_array\\\",editType:\\\"calc\\\"},line:{color:c({},l.marker.line.color,{dflt:null}),width:c({},l.marker.line.width,{dflt:1}),editType:\\\"calc\\\"},editType:\\\"calc\\\"},a(\\\"marker\\\",{colorAttr:\\\"colors\\\",anim:!1})),leaf:{opacity:{valType:\\\"number\\\",editType:\\\"style\\\",min:0,max:1},editType:\\\"plot\\\"},text:l.text,textinfo:{valType:\\\"flaglist\\\",flags:[\\\"label\\\",\\\"text\\\",\\\"value\\\",\\\"current path\\\",\\\"percent root\\\",\\\"percent entry\\\",\\\"percent parent\\\"],extras:[\\\"none\\\"],editType:\\\"plot\\\"},texttemplate:o({editType:\\\"plot\\\"},{keys:u.eventDataKeys.concat([\\\"label\\\",\\\"value\\\"])}),hovertext:l.hovertext,hoverinfo:c({},r.hoverinfo,{flags:[\\\"label\\\",\\\"text\\\",\\\"value\\\",\\\"name\\\",\\\"current path\\\",\\\"percent root\\\",\\\"percent entry\\\",\\\"percent parent\\\"],dflt:\\\"label+text+value+name\\\"}),hovertemplate:i({},{keys:u.eventDataKeys}),textfont:l.textfont,insidetextorientation:l.insidetextorientation,insidetextfont:l.insidetextfont,outsidetextfont:c({},l.outsidetextfont,{}),domain:s({name:\\\"sunburst\\\",trace:!0,editType:\\\"calc\\\"})}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/domain\\\":803,\\\"../../plots/template_attributes\\\":854,\\\"../pie/attributes\\\":1108,\\\"./constants\\\":1248}],1246:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/plots\\\");n.name=\\\"sunburst\\\",n.plot=function(t,e,i,o){r.plotBasePlot(n.name,t,e,i,o)},n.clean=function(t,e,i,o){r.cleanBasePlot(n.name,t,e,i,o)}},{\\\"../../plots/plots\\\":839}],1247:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3-hierarchy\\\"),i=t(\\\"fast-isnumeric\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../../components/colorscale\\\").makeColorScaleFuncFromTrace,s=t(\\\"../pie/calc\\\").makePullColorFn,l=t(\\\"../pie/calc\\\").generateExtendedColors,u=t(\\\"../../components/colorscale\\\").calc,c=t(\\\"../../constants/numerical\\\").ALMOST_EQUAL,h={},p={};function f(t,e,n){var r=0,i=t.children;if(i){for(var o=i.length,a=0;a<o;a++)r+=f(i[a],e,n);n.branches&&r++}else n.leaves&&r++;return t.value=t.data.data.value=r,e._values||(e._values=[]),e._values[t.data.data.i]=r,r}n.calc=function(t,e){var n,l,h,p,d,m,v=t._fullLayout,g=e.ids,y=o.isArrayOrTypedArray(g),_=e.labels,b=e.parents,x=e.values,w=o.isArrayOrTypedArray(x),A=[],C={},M={},E=function(t){return t||\\\"number\\\"==typeof t},T=function(t){return!w||i(x[t])&&x[t]>=0};y?(n=Math.min(g.length,b.length),l=function(t){return E(g[t])&&T(t)},h=function(t){return String(g[t])}):(n=Math.min(_.length,b.length),l=function(t){return E(_[t])&&T(t)},h=function(t){return String(_[t])}),w&&(n=Math.min(n,x.length));for(var S=0;S<n;S++)if(l(S)){var k=h(S),O=E(b[S])?String(b[S]):\\\"\\\",I={i:S,id:k,pid:O,label:E(_[S])?String(_[S]):\\\"\\\"};w&&(I.v=+x[S]),A.push(I),m=k,C[d=O]?C[d].push(m):C[d]=[m],M[m]=1}if(C[\\\"\\\"]){if(C[\\\"\\\"].length>1){for(var L=o.randstr(),P=0;P<A.length;P++)\\\"\\\"===A[P].pid&&(A[P].pid=L);A.unshift({hasMultipleRoots:!0,id:L,pid:\\\"\\\",label:\\\"\\\"})}}else{var z,R=[];for(z in C)M[z]||R.push(z);if(1!==R.length)return o.warn(\\\"Multiple implied roots, cannot build \\\"+e.type+\\\" hierarchy.\\\");z=R[0],A.unshift({hasImpliedRoot:!0,id:z,pid:\\\"\\\",label:z})}try{p=r.stratify().id((function(t){return t.id})).parentId((function(t){return t.pid}))(A)}catch(t){return o.warn(\\\"Failed to build \\\"+e.type+\\\" hierarchy. Error: \\\"+t.message)}var D=r.hierarchy(p),$=!1;if(w)switch(e.branchvalues){case\\\"remainder\\\":D.sum((function(t){return t.data.v}));break;case\\\"total\\\":D.each((function(t){var e=t.data.data,n=e.v;if(t.children){var r=t.children.reduce((function(t,e){return t+e.data.data.v}),0);if((e.hasImpliedRoot||e.hasMultipleRoots)&&(n=r),n<r*c)return $=!0,o.warn([\\\"Total value for node\\\",t.data.data.id,\\\"is smaller than the sum of its children.\\\",\\\"\\\\nparent value =\\\",n,\\\"\\\\nchildren sum =\\\",r].join(\\\" \\\"))}t.value=n}))}else f(D,e,{branches:-1!==e.count.indexOf(\\\"branches\\\"),leaves:-1!==e.count.indexOf(\\\"leaves\\\")});if(!$){var B,N;D.sort((function(t,e){return e.value-t.value}));var F=e.marker.colors||[],j=!!F.length;return e._hasColorscale?(j||(F=w?e.values:e._values),u(t,e,{vals:F,containerStr:\\\"marker\\\",cLetter:\\\"c\\\"}),N=a(e.marker)):B=s(v[\\\"_\\\"+e.type+\\\"colormap\\\"]),D.each((function(t){var n=t.data.data;n.color=e._hasColorscale?N(F[n.i]):B(F[n.i],n.id)})),A[0].hierarchy=D,A}},n._runCrossTraceCalc=function(t,e){var n=e._fullLayout,r=e.calcdata,i=n[t+\\\"colorway\\\"],o=n[\\\"_\\\"+t+\\\"colormap\\\"];n[\\\"extend\\\"+t+\\\"colors\\\"]&&(i=l(i,\\\"treemap\\\"===t?p:h));var a=0;function s(t){var e=t.data.data,n=e.id;!1===e.color&&(o[n]?e.color=o[n]:t.parent?t.parent.parent?e.color=t.parent.data.data.color:(o[n]=e.color=i[a%i.length],a++):e.color=\\\"rgba(0,0,0,0)\\\")}for(var u=0;u<r.length;u++){var c=r[u][0];c.trace.type===t&&c.hierarchy&&c.hierarchy.each(s)}},n.crossTraceCalc=function(t){return n._runCrossTraceCalc(\\\"sunburst\\\",t)}},{\\\"../../components/colorscale\\\":607,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../pie/calc\\\":1110,\\\"d3-hierarchy\\\":158,\\\"fast-isnumeric\\\":236}],1248:[function(t,e,n){\\\"use strict\\\";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:\\\"linear\\\",eventDataKeys:[\\\"currentPath\\\",\\\"root\\\",\\\"entry\\\",\\\"percentRoot\\\",\\\"percentEntry\\\",\\\"percentParent\\\"]}},{}],1249:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"../../plots/domain\\\").defaults,a=t(\\\"../bar/defaults\\\").handleText,s=t(\\\"../../components/colorscale\\\"),l=s.hasColorscale,u=s.handleDefaults;e.exports=function(t,e,n,s){function c(n,o){return r.coerce(t,e,i,n,o)}var h=c(\\\"labels\\\"),p=c(\\\"parents\\\");if(h&&h.length&&p&&p.length){var f=c(\\\"values\\\");f&&f.length?c(\\\"branchvalues\\\"):c(\\\"count\\\"),c(\\\"level\\\"),c(\\\"maxdepth\\\"),c(\\\"marker.line.width\\\")&&c(\\\"marker.line.color\\\",s.paper_bgcolor),c(\\\"marker.colors\\\");var d=e._hasColorscale=l(t,\\\"marker\\\",\\\"colors\\\")||(t.marker||{}).coloraxis;d&&u(t,e,s,c,{prefix:\\\"marker.\\\",cLetter:\\\"c\\\"}),c(\\\"leaf.opacity\\\",d?1:.7);var m=c(\\\"text\\\");c(\\\"texttemplate\\\"),e.texttemplate||c(\\\"textinfo\\\",Array.isArray(m)?\\\"text+label\\\":\\\"label\\\"),c(\\\"hovertext\\\"),c(\\\"hovertemplate\\\"),a(t,e,s,c,\\\"auto\\\",{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),c(\\\"insidetextorientation\\\"),o(e,s,c),e._length=null}else e.visible=!1}},{\\\"../../components/colorscale\\\":607,\\\"../../lib\\\":728,\\\"../../plots/domain\\\":803,\\\"../bar/defaults\\\":873,\\\"./attributes\\\":1245}],1250:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../registry\\\"),o=t(\\\"../../components/fx/helpers\\\").appendArrayPointValue,a=t(\\\"../../components/fx\\\"),s=t(\\\"../../lib\\\"),l=t(\\\"../../lib/events\\\"),u=t(\\\"./helpers\\\"),c=t(\\\"../pie/helpers\\\").formatPieValue;function h(t,e,n){for(var r=t.data.data,i={curveNumber:e.index,pointNumber:r.i,data:e._input,fullData:e},a=0;a<n.length;a++){var s=n[a];s in t&&(i[s]=t[s])}return\\\"parentString\\\"in t&&!u.isHierarchyRoot(t)&&(i.parent=t.parentString),o(i,e,r.i),i}e.exports=function(t,e,n,o,p){var f=o[0],d=f.trace,m=f.hierarchy,v=\\\"sunburst\\\"===d.type,g=\\\"treemap\\\"===d.type;\\\"_hasHoverLabel\\\"in d||(d._hasHoverLabel=!1),\\\"_hasHoverEvent\\\"in d||(d._hasHoverEvent=!1),t.on(\\\"mouseover\\\",(function(i){var o=n._fullLayout;if(!n._dragging&&!1!==o.hovermode){var l=n._fullData[d.index],y=i.data.data,_=y.i,b=u.isHierarchyRoot(i),x=u.getParent(m,i),w=u.getValue(i),A=function(t){return s.castOption(l,_,t)},C=A(\\\"hovertemplate\\\"),M=a.castHoverinfo(l,o,_),E=o.separators;if(C||M&&\\\"none\\\"!==M&&\\\"skip\\\"!==M){var T,S;v&&(T=f.cx+i.pxmid[0]*(1-i.rInscribed),S=f.cy+i.pxmid[1]*(1-i.rInscribed)),g&&(T=i._hoverX,S=i._hoverY);var k,O={},I=[],L=[],P=function(t){return-1!==I.indexOf(t)};M&&(I=\\\"all\\\"===M?l._module.attributes.hoverinfo.flags:M.split(\\\"+\\\")),O.label=y.label,P(\\\"label\\\")&&O.label&&L.push(O.label),y.hasOwnProperty(\\\"v\\\")&&(O.value=y.v,O.valueLabel=c(O.value,E),P(\\\"value\\\")&&L.push(O.valueLabel)),O.currentPath=i.currentPath=u.getPath(i.data),P(\\\"current path\\\")&&!b&&L.push(O.currentPath);var z=[],R=function(){-1===z.indexOf(k)&&(L.push(k),z.push(k))};O.percentParent=i.percentParent=w/u.getValue(x),O.parent=i.parentString=u.getPtLabel(x),P(\\\"percent parent\\\")&&(k=u.formatPercent(O.percentParent,E)+\\\" of \\\"+O.parent,R()),O.percentEntry=i.percentEntry=w/u.getValue(e),O.entry=i.entry=u.getPtLabel(e),!P(\\\"percent entry\\\")||b||i.onPathbar||(k=u.formatPercent(O.percentEntry,E)+\\\" of \\\"+O.entry,R()),O.percentRoot=i.percentRoot=w/u.getValue(m),O.root=i.root=u.getPtLabel(m),P(\\\"percent root\\\")&&!b&&(k=u.formatPercent(O.percentRoot,E)+\\\" of \\\"+O.root,R()),O.text=A(\\\"hovertext\\\")||A(\\\"text\\\"),P(\\\"text\\\")&&(k=O.text,s.isValidTextValue(k)&&L.push(k));var D={trace:l,y:S,text:L.join(\\\"<br>\\\"),name:C||P(\\\"name\\\")?l.name:void 0,color:A(\\\"hoverlabel.bgcolor\\\")||y.color,borderColor:A(\\\"hoverlabel.bordercolor\\\"),fontFamily:A(\\\"hoverlabel.font.family\\\"),fontSize:A(\\\"hoverlabel.font.size\\\"),fontColor:A(\\\"hoverlabel.font.color\\\"),nameLength:A(\\\"hoverlabel.namelength\\\"),textAlign:A(\\\"hoverlabel.align\\\"),hovertemplate:C,hovertemplateLabels:O,eventData:[h(i,l,p.eventDataKeys)]};v&&(D.x0=T-i.rInscribed*i.rpx1,D.x1=T+i.rInscribed*i.rpx1,D.idealAlign=i.pxmid[0]<0?\\\"left\\\":\\\"right\\\"),g&&(D.x=T,D.idealAlign=T<0?\\\"left\\\":\\\"right\\\"),a.loneHover(D,{container:o._hoverlayer.node(),outerContainer:o._paper.node(),gd:n}),d._hasHoverLabel=!0}if(g){var $=t.select(\\\"path.surface\\\");p.styleOne($,i,l,{hovered:!0})}d._hasHoverEvent=!0,n.emit(\\\"plotly_hover\\\",{points:[h(i,l,p.eventDataKeys)],event:r.event})}})),t.on(\\\"mouseout\\\",(function(e){var i=n._fullLayout,o=n._fullData[d.index],s=r.select(this).datum();if(d._hasHoverEvent&&(e.originalEvent=r.event,n.emit(\\\"plotly_unhover\\\",{points:[h(s,o,p.eventDataKeys)],event:r.event}),d._hasHoverEvent=!1),d._hasHoverLabel&&(a.loneUnhover(i._hoverlayer.node()),d._hasHoverLabel=!1),g){var l=t.select(\\\"path.surface\\\");p.styleOne(l,s,o,{hovered:!1})}})),t.on(\\\"click\\\",(function(t){var e=n._fullLayout,o=n._fullData[d.index],s=v&&(u.isHierarchyRoot(t)||u.isLeaf(t)),c=u.getPtId(t),f=u.isEntry(t)?u.findEntryWithChild(m,c):u.findEntryWithLevel(m,c),g=u.getPtId(f),y={points:[h(t,o,p.eventDataKeys)],event:r.event};s||(y.nextLevel=g);var _=l.triggerHandler(n,\\\"plotly_\\\"+d.type+\\\"click\\\",y);if(!1!==_&&e.hovermode&&(n._hoverdata=[h(t,o,p.eventDataKeys)],a.click(n,r.event)),!s&&!1!==_&&!n._dragging&&!n._transitioning){i.call(\\\"_storeDirectGUIEdit\\\",o,e._tracePreGUI[o.uid],{level:o.level});var b={data:[{level:g}],traces:[d.index]},x={frame:{redraw:!1,duration:p.transitionTime},transition:{duration:p.transitionTime,easing:p.transitionEasing},mode:\\\"immediate\\\",fromcurrent:!0};a.loneUnhover(e._hoverlayer.node()),i.call(\\\"animate\\\",n,b,x)}}))}},{\\\"../../components/fx\\\":635,\\\"../../components/fx/helpers\\\":631,\\\"../../lib\\\":728,\\\"../../lib/events\\\":718,\\\"../../registry\\\":859,\\\"../pie/helpers\\\":1113,\\\"./helpers\\\":1251,d3:164}],1251:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../lib/setcursor\\\"),a=t(\\\"../pie/helpers\\\");function s(t){return t.data.data.pid}n.findEntryWithLevel=function(t,e){var r;return e&&t.eachAfter((function(t){if(n.getPtId(t)===e)return r=t.copy()})),r||t},n.findEntryWithChild=function(t,e){var r;return t.eachAfter((function(t){for(var i=t.children||[],o=0;o<i.length;o++){var a=i[o];if(n.getPtId(a)===e)return r=t.copy()}})),r||t},n.isEntry=function(t){return!t.parent},n.isLeaf=function(t){return!t.children},n.getPtId=function(t){return t.data.data.id},n.getPtLabel=function(t){return t.data.data.label},n.getValue=function(t){return t.value},n.isHierarchyRoot=function(t){return\\\"\\\"===s(t)},n.setSliceCursor=function(t,e,r){var i=r.isTransitioning;if(!i){var a=t.datum();i=r.hideOnRoot&&n.isHierarchyRoot(a)||r.hideOnLeaves&&n.isLeaf(a)}o(t,i?null:\\\"pointer\\\")},n.getInsideTextFontKey=function(t,e,n,i,o){var a=(o||{}).onPathbar?\\\"pathbar.textfont\\\":\\\"insidetextfont\\\",s=n.data.data.i;return r.castOption(e,s,a+\\\".\\\"+t)||r.castOption(e,s,\\\"textfont.\\\"+t)||i.size},n.getOutsideTextFontKey=function(t,e,n,i){var o=n.data.data.i;return r.castOption(e,o,\\\"outsidetextfont.\\\"+t)||r.castOption(e,o,\\\"textfont.\\\"+t)||i.size},n.isOutsideText=function(t,e){return!t._hasColorscale&&n.isHierarchyRoot(e)},n.determineTextFont=function(t,e,o,a){return n.isOutsideText(t,e)?function(t,e,r){return{color:n.getOutsideTextFontKey(\\\"color\\\",t,e,r),family:n.getOutsideTextFontKey(\\\"family\\\",t,e,r),size:n.getOutsideTextFontKey(\\\"size\\\",t,e,r)}}(t,e,o):function(t,e,o,a){var s=(a||{}).onPathbar,l=e.data.data,u=l.i,c=r.castOption(t,u,(s?\\\"pathbar.textfont\\\":\\\"insidetextfont\\\")+\\\".color\\\");return!c&&t._input.textfont&&(c=r.castOption(t._input,u,\\\"textfont.color\\\")),{color:c||i.contrast(l.color),family:n.getInsideTextFontKey(\\\"family\\\",t,e,o,a),size:n.getInsideTextFontKey(\\\"size\\\",t,e,o,a)}}(t,e,o,a)},n.hasTransition=function(t){return!!(t&&t.duration>0)},n.getMaxDepth=function(t){return t.maxdepth>=0?t.maxdepth:1/0},n.isHeader=function(t,e){return!(n.isLeaf(t)||t.depth===e._maxDepth-1)},n.getParent=function(t,e){return n.findEntryWithLevel(t,s(e))},n.listPath=function(t,e){var r=t.parent;if(!r)return[];var i=e?[r.data[e]]:[r];return n.listPath(r,e).concat(i)},n.getPath=function(t){return n.listPath(t,\\\"label\\\").join(\\\"/\\\")+\\\"/\\\"},n.formatValue=a.formatPieValue,n.formatPercent=function(t,e){var n=r.formatPercent(t,0);return\\\"0%\\\"===n&&(n=a.formatPiePercent(t,e)),n}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../../lib/setcursor\\\":748,\\\"../pie/helpers\\\":1113}],1252:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"sunburst\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[],animatable:!0,attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\").calc,crossTraceCalc:t(\\\"./calc\\\").crossTraceCalc,plot:t(\\\"./plot\\\").plot,style:t(\\\"./style\\\").style,colorbar:t(\\\"../scatter/marker_colorbar\\\"),meta:{}}},{\\\"../scatter/marker_colorbar\\\":1152,\\\"./attributes\\\":1245,\\\"./base_plot\\\":1246,\\\"./calc\\\":1247,\\\"./defaults\\\":1249,\\\"./layout_attributes\\\":1253,\\\"./layout_defaults\\\":1254,\\\"./plot\\\":1255,\\\"./style\\\":1256}],1253:[function(t,e,n){\\\"use strict\\\";e.exports={sunburstcolorway:{valType:\\\"colorlist\\\",editType:\\\"calc\\\"},extendsunburstcolors:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"}}},{}],1254:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e){function n(n,o){return r.coerce(t,e,i,n,o)}n(\\\"sunburstcolorway\\\",e.colorway),n(\\\"extendsunburstcolors\\\")}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":1253}],1255:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"d3-hierarchy\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../../lib\\\"),s=t(\\\"../../lib/svg_text_utils\\\"),l=t(\\\"../bar/uniform_text\\\"),u=l.recordMinTextSize,c=l.clearMinTextSize,h=t(\\\"../pie/plot\\\"),p=h.computeTransform,f=h.transformInsideText,d=t(\\\"./style\\\").styleOne,m=t(\\\"../bar/style\\\").resizeText,v=t(\\\"./fx\\\"),g=t(\\\"./constants\\\"),y=t(\\\"./helpers\\\");function _(t,e,l,c){var h=t._fullLayout,m=!h.uniformtext.mode&&y.hasTransition(c),_=r.select(l).selectAll(\\\"g.slice\\\"),x=e[0],w=x.trace,A=x.hierarchy,C=y.findEntryWithLevel(A,w.level),M=y.getMaxDepth(w),E=h._size,T=w.domain,S=E.w*(T.x[1]-T.x[0]),k=E.h*(T.y[1]-T.y[0]),O=.5*Math.min(S,k),I=x.cx=E.l+E.w*(T.x[1]+T.x[0])/2,L=x.cy=E.t+E.h*(1-T.y[0])-k/2;if(!C)return _.remove();var P=null,z={};m&&_.each((function(t){z[y.getPtId(t)]={rpx0:t.rpx0,rpx1:t.rpx1,x0:t.x0,x1:t.x1,transform:t.transform},!P&&y.isEntry(t)&&(P=t)}));var R=function(t){return i.partition().size([2*Math.PI,t.height+1])(t)}(C).descendants(),D=C.height+1,$=0,B=M;x.hasMultipleRoots&&y.isHierarchyRoot(C)&&(R=R.slice(1),D-=1,$=1,B+=1),R=R.filter((function(t){return t.y1<=B}));var N=Math.min(D,M),F=function(t){return(t-$)/N*O},j=function(t,e){return[t*Math.cos(e),-t*Math.sin(e)]},U=function(t){return a.pathAnnulus(t.rpx0,t.rpx1,t.x0,t.x1,I,L)},q=function(t){return I+b(t)[0]*(t.transform.rCenter||0)+(t.transform.x||0)},V=function(t){return L+b(t)[1]*(t.transform.rCenter||0)+(t.transform.y||0)};(_=_.data(R,y.getPtId)).enter().append(\\\"g\\\").classed(\\\"slice\\\",!0),m?_.exit().transition().each((function(){var t=r.select(this);t.select(\\\"path.surface\\\").transition().attrTween(\\\"d\\\",(function(t){var e=function(t){var e,n=y.getPtId(t),i=z[n],o=z[y.getPtId(C)];if(o){var a=t.x1>o.x1?2*Math.PI:0;e=t.rpx1<o.rpx1?{rpx0:0,rpx1:0}:{x0:a,x1:a}}else{var s,l=y.getPtId(t.parent);_.each((function(t){if(y.getPtId(t)===l)return s=t}));var u,c=s.children;c.forEach((function(t,e){if(y.getPtId(t)===n)return u=e}));var h=c.length,p=r.interpolate(s.x0,s.x1);e={rpx0:O,rpx1:O,x0:p(u/h),x1:p((u+1)/h)}}return r.interpolate(i,e)}(t);return function(t){return U(e(t))}})),t.select(\\\"g.slicetext\\\").attr(\\\"opacity\\\",0)})).remove():_.exit().remove(),_.order();var H=null;if(m&&P){var G=y.getPtId(P);_.each((function(t){null===H&&y.getPtId(t)===G&&(H=t.x1)}))}var W=_;function X(t){var e,n=z[y.getPtId(t)],i=t.transform;if(n)e=n;else if(e={rpx1:t.rpx1,transform:{textPosAngle:i.textPosAngle,scale:0,rotate:i.rotate,rCenter:i.rCenter,x:i.x,y:i.y}},P)if(t.parent)if(H){var o=t.x1>H?2*Math.PI:0;e.x0=e.x1=o}else a.extendFlat(e,Y(t));else e.x0=e.x1=0;else e.x0=e.x1=0;var s=r.interpolate(e.transform.textPosAngle,t.transform.textPosAngle),l=r.interpolate(e.rpx1,t.rpx1),c=r.interpolate(e.x0,t.x0),p=r.interpolate(e.x1,t.x1),f=r.interpolate(e.transform.scale,i.scale),d=r.interpolate(e.transform.rotate,i.rotate),m=0===i.rCenter?3:0===e.transform.rCenter?1/3:1,v=r.interpolate(e.transform.rCenter,i.rCenter);return function(t){var e=l(t),n=c(t),r=p(t),o=function(t){return v(Math.pow(t,m))}(t),a={pxmid:j(e,(n+r)/2),rpx1:e,transform:{textPosAngle:s(t),rCenter:o,x:i.x,y:i.y}};return u(w.type,i,h),{transform:{targetX:q(a),targetY:V(a),scale:f(t),rotate:d(t),rCenter:o}}}}function Y(t){var e=t.parent,n=z[y.getPtId(e)],i={};if(n){var o=e.children,a=o.indexOf(t),s=o.length,l=r.interpolate(n.x0,n.x1);i.x0=l(a/s),i.x1=l(a/s)}else i.x0=i.x1=0;return i}m&&(W=W.transition().each(\\\"end\\\",(function(){var e=r.select(this);y.setSliceCursor(e,t,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:!1})}))),W.each((function(i){var l=r.select(this),c=a.ensureSingle(l,\\\"path\\\",\\\"surface\\\",(function(t){t.style(\\\"pointer-events\\\",\\\"all\\\")}));i.rpx0=F(i.y0),i.rpx1=F(i.y1),i.xmid=(i.x0+i.x1)/2,i.pxmid=j(i.rpx1,i.xmid),i.midangle=-(i.xmid-Math.PI/2),i.startangle=-(i.x0-Math.PI/2),i.stopangle=-(i.x1-Math.PI/2),i.halfangle=.5*Math.min(a.angleDelta(i.x0,i.x1)||Math.PI,Math.PI),i.ring=1-i.rpx0/i.rpx1,i.rInscribed=function(t){return 0===t.rpx0&&a.isFullCircle([t.x0,t.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(t.halfangle)),t.ring/2))}(i),m?c.transition().attrTween(\\\"d\\\",(function(t){var e=function(t){var e,n=z[y.getPtId(t)],i={x0:t.x0,x1:t.x1,rpx0:t.rpx0,rpx1:t.rpx1};if(n)e=n;else if(P)if(t.parent)if(H){var o=t.x1>H?2*Math.PI:0;e={x0:o,x1:o}}else e={rpx0:O,rpx1:O},a.extendFlat(e,Y(t));else e={rpx0:0,rpx1:0};else e={x0:0,x1:0};return r.interpolate(e,i)}(t);return function(t){return U(e(t))}})):c.attr(\\\"d\\\",U),l.call(v,C,t,e,{eventDataKeys:g.eventDataKeys,transitionTime:g.CLICK_TRANSITION_TIME,transitionEasing:g.CLICK_TRANSITION_EASING}).call(y.setSliceCursor,t,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:t._transitioning}),c.call(d,i,w);var _=a.ensureSingle(l,\\\"g\\\",\\\"slicetext\\\"),b=a.ensureSingle(_,\\\"text\\\",\\\"\\\",(function(t){t.attr(\\\"data-notex\\\",1)})),A=a.ensureUniformFontSize(t,y.determineTextFont(w,i,h.font));b.text(n.formatSliceLabel(i,C,w,e,h)).classed(\\\"slicetext\\\",!0).attr(\\\"text-anchor\\\",\\\"middle\\\").call(o.font,A).call(s.convertToTspans,t);var M=o.bBox(b.node());i.transform=f(M,i,x),i.transform.targetX=q(i),i.transform.targetY=V(i);var E=function(t,e){var n=t.transform;return p(n,e),n.fontSize=A.size,u(w.type,n,h),a.getTextTransform(n)};m?b.transition().attrTween(\\\"transform\\\",(function(t){var e=X(t);return function(t){return E(e(t),M)}})):b.attr(\\\"transform\\\",E(i,M))}))}function b(t){return e=t.rpx1,n=t.transform.textPosAngle,[e*Math.sin(n),-e*Math.cos(n)];var e,n}n.plot=function(t,e,n,i){var o,a,s=t._fullLayout,l=s._sunburstlayer,u=!n,h=!s.uniformtext.mode&&y.hasTransition(n);c(\\\"sunburst\\\",s),(o=l.selectAll(\\\"g.trace.sunburst\\\").data(e,(function(t){return t[0].trace.uid}))).enter().append(\\\"g\\\").classed(\\\"trace\\\",!0).classed(\\\"sunburst\\\",!0).attr(\\\"stroke-linejoin\\\",\\\"round\\\"),o.order(),h?(i&&(a=i()),r.transition().duration(n.duration).ease(n.easing).each(\\\"end\\\",(function(){a&&a()})).each(\\\"interrupt\\\",(function(){a&&a()})).each((function(){l.selectAll(\\\"g.trace\\\").each((function(e){_(t,e,this,n)}))}))):(o.each((function(e){_(t,e,this,n)})),s.uniformtext.mode&&m(t,s._sunburstlayer.selectAll(\\\".trace\\\"),\\\"sunburst\\\")),u&&o.exit().remove()},n.formatSliceLabel=function(t,e,n,r,i){var o=n.texttemplate,s=n.textinfo;if(!(o||s&&\\\"none\\\"!==s))return\\\"\\\";var l=i.separators,u=r[0],c=t.data.data,h=u.hierarchy,p=y.isHierarchyRoot(t),f=y.getParent(h,t),d=y.getValue(t);if(!o){var m,v=s.split(\\\"+\\\"),g=function(t){return-1!==v.indexOf(t)},_=[];if(g(\\\"label\\\")&&c.label&&_.push(c.label),c.hasOwnProperty(\\\"v\\\")&&g(\\\"value\\\")&&_.push(y.formatValue(c.v,l)),!p){g(\\\"current path\\\")&&_.push(y.getPath(t.data));var b=0;g(\\\"percent parent\\\")&&b++,g(\\\"percent entry\\\")&&b++,g(\\\"percent root\\\")&&b++;var x=b>1;if(b){var w,A=function(t){m=y.formatPercent(w,l),x&&(m+=\\\" of \\\"+t),_.push(m)};g(\\\"percent parent\\\")&&!p&&(w=d/y.getValue(f),A(\\\"parent\\\")),g(\\\"percent entry\\\")&&(w=d/y.getValue(e),A(\\\"entry\\\")),g(\\\"percent root\\\")&&(w=d/y.getValue(h),A(\\\"root\\\"))}}return g(\\\"text\\\")&&(m=a.castOption(n,c.i,\\\"text\\\"),a.isValidTextValue(m)&&_.push(m)),_.join(\\\"<br>\\\")}var C=a.castOption(n,c.i,\\\"texttemplate\\\");if(!C)return\\\"\\\";var M={};c.label&&(M.label=c.label),c.hasOwnProperty(\\\"v\\\")&&(M.value=c.v,M.valueLabel=y.formatValue(c.v,l)),M.currentPath=y.getPath(t.data),p||(M.percentParent=d/y.getValue(f),M.percentParentLabel=y.formatPercent(M.percentParent,l),M.parent=y.getPtLabel(f)),M.percentEntry=d/y.getValue(e),M.percentEntryLabel=y.formatPercent(M.percentEntry,l),M.entry=y.getPtLabel(e),M.percentRoot=d/y.getValue(h),M.percentRootLabel=y.formatPercent(M.percentRoot,l),M.root=y.getPtLabel(h),c.hasOwnProperty(\\\"color\\\")&&(M.color=c.color);var E=a.castOption(n,c.i,\\\"text\\\");return(a.isValidTextValue(E)||\\\"\\\"===E)&&(M.text=E),M.customdata=a.castOption(n,c.i,\\\"customdata\\\"),a.texttemplateString(C,M,i._d3locale,M,n._meta||{})}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../bar/style\\\":883,\\\"../bar/uniform_text\\\":885,\\\"../pie/plot\\\":1117,\\\"./constants\\\":1248,\\\"./fx\\\":1250,\\\"./helpers\\\":1251,\\\"./style\\\":1256,d3:164,\\\"d3-hierarchy\\\":158}],1256:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../bar/uniform_text\\\").resizeText;function s(t,e,n){var r=e.data.data,a=!e.children,s=r.i,l=o.castOption(n,s,\\\"marker.line.color\\\")||i.defaultLine,u=o.castOption(n,s,\\\"marker.line.width\\\")||0;t.style(\\\"stroke-width\\\",u).call(i.fill,r.color).call(i.stroke,l).style(\\\"opacity\\\",a?n.leaf.opacity:null)}e.exports={style:function(t){var e=t._fullLayout._sunburstlayer.selectAll(\\\".trace\\\");a(t,e,\\\"sunburst\\\"),e.each((function(t){var e=r.select(this),n=t[0].trace;e.style(\\\"opacity\\\",n.opacity),e.selectAll(\\\"path.surface\\\").each((function(t){r.select(this).call(s,t,n)}))}))},styleOne:s}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../bar/uniform_text\\\":885,d3:164}],1257:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/color\\\"),i=t(\\\"../../components/colorscale/attributes\\\"),o=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../lib/extend\\\").extendFlat,l=t(\\\"../../plot_api/edit_types\\\").overrideAll;function u(t){return{show:{valType:\\\"boolean\\\",dflt:!1},start:{valType:\\\"number\\\",dflt:null,editType:\\\"plot\\\"},end:{valType:\\\"number\\\",dflt:null,editType:\\\"plot\\\"},size:{valType:\\\"number\\\",dflt:null,min:0,editType:\\\"plot\\\"},project:{x:{valType:\\\"boolean\\\",dflt:!1},y:{valType:\\\"boolean\\\",dflt:!1},z:{valType:\\\"boolean\\\",dflt:!1}},color:{valType:\\\"color\\\",dflt:r.defaultLine},usecolormap:{valType:\\\"boolean\\\",dflt:!1},width:{valType:\\\"number\\\",min:1,max:16,dflt:2},highlight:{valType:\\\"boolean\\\",dflt:!0},highlightcolor:{valType:\\\"color\\\",dflt:r.defaultLine},highlightwidth:{valType:\\\"number\\\",min:1,max:16,dflt:2}}}var c=e.exports=l(s({z:{valType:\\\"data_array\\\"},x:{valType:\\\"data_array\\\"},y:{valType:\\\"data_array\\\"},text:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0},hovertext:{valType:\\\"string\\\",dflt:\\\"\\\",arrayOk:!0},hovertemplate:o(),connectgaps:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},surfacecolor:{valType:\\\"data_array\\\"}},i(\\\"\\\",{colorAttr:\\\"z or surfacecolor\\\",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:\\\"calc\\\"}),{contours:{x:u(),y:u(),z:u()},hidesurface:{valType:\\\"boolean\\\",dflt:!1},lightposition:{x:{valType:\\\"number\\\",min:-1e5,max:1e5,dflt:10},y:{valType:\\\"number\\\",min:-1e5,max:1e5,dflt:1e4},z:{valType:\\\"number\\\",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:\\\"number\\\",min:0,max:1,dflt:.8},diffuse:{valType:\\\"number\\\",min:0,max:1,dflt:.8},specular:{valType:\\\"number\\\",min:0,max:2,dflt:.05},roughness:{valType:\\\"number\\\",min:0,max:1,dflt:.5},fresnel:{valType:\\\"number\\\",min:0,max:5,dflt:.2}},opacity:{valType:\\\"number\\\",min:0,max:1,dflt:1},opacityscale:{valType:\\\"any\\\",editType:\\\"calc\\\"},_deprecated:{zauto:s({},i.zauto,{}),zmin:s({},i.zmin,{}),zmax:s({},i.zmax,{})},hoverinfo:s({},a.hoverinfo),showlegend:s({},a.showlegend,{dflt:!1})}),\\\"calc\\\",\\\"nested\\\");c.x.editType=c.y.editType=c.z.editType=\\\"calc+clearAxisTypes\\\",c.transforms=void 0},{\\\"../../components/color\\\":595,\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854}],1258:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/calc\\\");e.exports=function(t,e){e.surfacecolor?r(t,e,{vals:e.surfacecolor,containerStr:\\\"\\\",cLetter:\\\"c\\\"}):r(t,e,{vals:e.z,containerStr:\\\"\\\",cLetter:\\\"c\\\"})}},{\\\"../../components/colorscale/calc\\\":603}],1259:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-surface3d\\\"),i=t(\\\"ndarray\\\"),o=t(\\\"ndarray-linear-interpolate\\\").d2,a=t(\\\"../heatmap/interp2d\\\"),s=t(\\\"../heatmap/find_empties\\\"),l=t(\\\"../../lib\\\").isArrayOrTypedArray,u=t(\\\"../../lib/gl_format_color\\\").parseColorScale,c=t(\\\"../../lib/str2rgbarray\\\"),h=t(\\\"../../components/colorscale\\\").extractOpts;function p(t,e,n){this.scene=t,this.uid=n,this.surface=e,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var f=p.prototype;f.getXat=function(t,e,n,r){var i=l(this.data.x)?l(this.data.x[0])?this.data.x[e][t]:this.data.x[t]:t;return void 0===n?i:r.d2l(i,0,n)},f.getYat=function(t,e,n,r){var i=l(this.data.y)?l(this.data.y[0])?this.data.y[e][t]:this.data.y[e]:e;return void 0===n?i:r.d2l(i,0,n)},f.getZat=function(t,e,n,r){var i=this.data.z[e][t];return null===i&&this.data.connectgaps&&this.data._interpolatedZ&&(i=this.data._interpolatedZ[e][t]),void 0===n?i:r.d2l(i,0,n)},f.handlePick=function(t){if(t.object===this.surface){var e=(t.data.index[0]-1)/this.dataScaleX-1,n=(t.data.index[1]-1)/this.dataScaleY-1,r=Math.max(Math.min(Math.round(e),this.data.z[0].length-1),0),i=Math.max(Math.min(Math.round(n),this.data._ylength-1),0);t.index=[r,i],t.traceCoordinate=[this.getXat(r,i),this.getYat(r,i),this.getZat(r,i)],t.dataCoordinate=[this.getXat(r,i,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(r,i,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(r,i,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var o=0;o<3;o++)null!=t.dataCoordinate[o]&&(t.dataCoordinate[o]*=this.scene.dataScale[o]);var a=this.data.hovertext||this.data.text;return Array.isArray(a)&&a[i]&&void 0!==a[i][r]?t.textLabel=a[i][r]:t.textLabel=a||\\\"\\\",t.data.dataCoordinate=t.dataCoordinate.slice(),this.surface.highlight(t.data),this.scene.glplot.spikes.position=t.dataCoordinate,!0}};var d=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function m(t,e){if(t<e)return 0;for(var n=0;0===Math.floor(t%e);)t/=e,n++;return n}function v(t){for(var e=[],n=0;n<d.length;n++){var r=d[n];e.push(m(t,r))}return e}function g(t){for(var e=v(t),n=t,r=0;r<d.length;r++)if(e[r]>0){n=d[r];break}return n}function y(t,e){if(!(t<1||e<1)){for(var n=v(t),r=v(e),i=1,o=0;o<d.length;o++)i*=Math.pow(d[o],Math.max(n[o],r[o]));return i}}f.calcXnums=function(t){var e,n=[];for(e=1;e<t;e++){var r=this.getXat(e-1,0),i=this.getXat(e,0);n[e-1]=i!==r&&null!=r&&null!=i?Math.abs(i-r):0}var o=0;for(e=1;e<t;e++)o+=n[e-1];for(e=1;e<t;e++)0===n[e-1]?n[e-1]=1:n[e-1]=Math.round(o/n[e-1]);return n},f.calcYnums=function(t){var e,n=[];for(e=1;e<t;e++){var r=this.getYat(0,e-1),i=this.getYat(0,e);n[e-1]=i!==r&&null!=r&&null!=i?Math.abs(i-r):0}var o=0;for(e=1;e<t;e++)o+=n[e-1];for(e=1;e<t;e++)0===n[e-1]?n[e-1]=1:n[e-1]=Math.round(o/n[e-1]);return n};var _=[1,2,4,6,12,24,36,48,60,120,180,240,360,720,840,1260],b=_[9],x=_[13];function w(t,e,n){var r=n[8]+n[2]*e[0]+n[5]*e[1];return t[0]=(n[6]+n[0]*e[0]+n[3]*e[1])/r,t[1]=(n[7]+n[1]*e[0]+n[4]*e[1])/r,t}function A(t,e,n){return function(t,e,n,r){for(var i=[0,0],a=t.shape[0],s=t.shape[1],l=0;l<a;l++)for(var u=0;u<s;u++)n(i,[l,u],r),t.set(l,u,o(e,i[0],i[1]))}(t,e,w,n),t}function C(t,e){for(var n=!1,r=0;r<t.length;r++)if(e===t[r]){n=!0;break}!1===n&&t.push(e)}f.estimateScale=function(t,e){for(var n=1+function(t){if(0!==t.length){for(var e=1,n=0;n<t.length;n++)e=y(e,t[n]);return e}}(0===e?this.calcXnums(t):this.calcYnums(t));n<b;)n*=2;for(;n>x;)n--,n/=g(n),++n<b&&(n=x);var r=Math.round(n/t);return r>1?r:1},f.refineCoords=function(t){for(var e=this.dataScaleX,n=this.dataScaleY,r=t[0].shape[0],o=t[0].shape[1],a=0|Math.floor(t[0].shape[0]*e+1),s=0|Math.floor(t[0].shape[1]*n+1),l=1+r+1,u=1+o+1,c=i(new Float32Array(l*u),[l,u]),h=[1/e,0,0,0,1/n,0,0,0,1],p=0;p<t.length;++p){this.surface.padField(c,t[p]);var f=i(new Float32Array(a*s),[a,s]);A(f,c,h),t[p]=f}},f.setContourLevels=function(){var t,e,n,r=[[],[],[]],i=[!1,!1,!1],o=!1;for(t=0;t<3;++t)if(this.showContour[t]&&(o=!0,this.contourSize[t]>0&&null!==this.contourStart[t]&&null!==this.contourEnd[t]&&this.contourEnd[t]>this.contourStart[t]))for(i[t]=!0,e=this.contourStart[t];e<this.contourEnd[t];e+=this.contourSize[t])n=e*this.scene.dataScale[t],C(r[t],n);if(o){var a=[[],[],[]];for(t=0;t<3;++t)this.showContour[t]&&(a[t]=i[t]?r[t]:this.scene.contourLevels[t]);this.surface.update({levels:a})}},f.update=function(t){var e,n,r,o,l=this.scene,p=l.fullSceneLayout,f=this.surface,d=t.opacity,m=u(t,d),v=l.dataScale,g=t.z[0].length,y=t._ylength,_=l.contourLevels;this.data=t;var b=[];for(e=0;e<3;e++)for(b[e]=[],n=0;n<g;n++)b[e][n]=[];for(n=0;n<g;n++)for(r=0;r<y;r++)b[0][n][r]=this.getXat(n,r,t.xcalendar,p.xaxis),b[1][n][r]=this.getYat(n,r,t.ycalendar,p.yaxis),b[2][n][r]=this.getZat(n,r,t.zcalendar,p.zaxis);if(t.connectgaps)for(t._emptypoints=s(b[2]),a(b[2],t._emptypoints),t._interpolatedZ=[],n=0;n<g;n++)for(t._interpolatedZ[n]=[],r=0;r<y;r++)t._interpolatedZ[n][r]=b[2][n][r];for(e=0;e<3;e++)for(n=0;n<g;n++)for(r=0;r<y;r++)null==(o=b[e][n][r])?b[e][n][r]=NaN:o=b[e][n][r]*=v[e];for(e=0;e<3;e++)for(n=0;n<g;n++)for(r=0;r<y;r++)null!=(o=b[e][n][r])&&(this.minValues[e]>o&&(this.minValues[e]=o),this.maxValues[e]<o&&(this.maxValues[e]=o));for(e=0;e<3;e++)this.objectOffset[e]=.5*(this.minValues[e]+this.maxValues[e]);for(e=0;e<3;e++)for(n=0;n<g;n++)for(r=0;r<y;r++)null!=(o=b[e][n][r])&&(b[e][n][r]-=this.objectOffset[e]);var w=[i(new Float32Array(g*y),[g,y]),i(new Float32Array(g*y),[g,y]),i(new Float32Array(g*y),[g,y])];for(e=0;e<3;e++)for(n=0;n<g;n++)for(r=0;r<y;r++)w[e].set(n,r,b[e][n][r]);b=[];var A={colormap:m,levels:[[],[],[]],showContour:[!0,!0,!0],showSurface:!t.hidesurface,contourProject:[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],contourWidth:[1,1,1],contourColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],contourTint:[1,1,1],dynamicColor:[[1,1,1,1],[1,1,1,1],[1,1,1,1]],dynamicWidth:[1,1,1],dynamicTint:[1,1,1],opacityscale:t.opacityscale,opacity:t.opacity},C=h(t);if(A.intensityBounds=[C.min,C.max],t.surfacecolor){var M=i(new Float32Array(g*y),[g,y]);for(n=0;n<g;n++)for(r=0;r<y;r++)M.set(n,r,t.surfacecolor[r][n]);w.push(M)}else A.intensityBounds[0]*=v[2],A.intensityBounds[1]*=v[2];(x<w[0].shape[0]||x<w[0].shape[1])&&(this.refineData=!1),!0===this.refineData&&(this.dataScaleX=this.estimateScale(w[0].shape[0],0),this.dataScaleY=this.estimateScale(w[0].shape[1],1),1===this.dataScaleX&&1===this.dataScaleY||this.refineCoords(w)),t.surfacecolor&&(A.intensity=w.pop());var E=[!0,!0,!0],T=[\\\"x\\\",\\\"y\\\",\\\"z\\\"];for(e=0;e<3;++e){var S=t.contours[T[e]];E[e]=S.highlight,A.showContour[e]=S.show||S.highlight,A.showContour[e]&&(A.contourProject[e]=[S.project.x,S.project.y,S.project.z],S.show?(this.showContour[e]=!0,A.levels[e]=_[e],f.highlightColor[e]=A.contourColor[e]=c(S.color),S.usecolormap?f.highlightTint[e]=A.contourTint[e]=0:f.highlightTint[e]=A.contourTint[e]=1,A.contourWidth[e]=S.width,this.contourStart[e]=S.start,this.contourEnd[e]=S.end,this.contourSize[e]=S.size):(this.showContour[e]=!1,this.contourStart[e]=null,this.contourEnd[e]=null,this.contourSize[e]=0),S.highlight&&(A.dynamicColor[e]=c(S.highlightcolor),A.dynamicWidth[e]=S.highlightwidth))}(function(t){var e=t[0].rgb,n=t[t.length-1].rgb;return e[0]===n[0]&&e[1]===n[1]&&e[2]===n[2]&&e[3]===n[3]})(m)&&(A.vertexColor=!0),A.objectOffset=this.objectOffset,A.coords=w,f.update(A),f.visible=t.visible,f.enableDynamic=E,f.enableHighlight=E,f.snapToData=!0,\\\"lighting\\\"in t&&(f.ambientLight=t.lighting.ambient,f.diffuseLight=t.lighting.diffuse,f.specularLight=t.lighting.specular,f.roughness=t.lighting.roughness,f.fresnel=t.lighting.fresnel),\\\"lightposition\\\"in t&&(f.lightPosition=[t.lightposition.x,t.lightposition.y,t.lightposition.z]),d&&d<1&&(f.supportsTransparency=!0)},f.dispose=function(){this.scene.glplot.remove(this.surface),this.surface.dispose()},e.exports=function(t,e){var n=t.glplot.gl,i=r({gl:n}),o=new p(t,i,e.uid);return i._trace=o,o.update(e),t.glplot.add(i),o}},{\\\"../../components/colorscale\\\":607,\\\"../../lib\\\":728,\\\"../../lib/gl_format_color\\\":725,\\\"../../lib/str2rgbarray\\\":751,\\\"../heatmap/find_empties\\\":1019,\\\"../heatmap/interp2d\\\":1022,\\\"gl-surface3d\\\":320,ndarray:448,\\\"ndarray-linear-interpolate\\\":442}],1260:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../registry\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/colorscale/defaults\\\"),a=t(\\\"./attributes\\\");function s(t,e,n,r){var i=r(\\\"opacityscale\\\");\\\"max\\\"===i?e.opacityscale=[[0,.1],[1,1]]:\\\"min\\\"===i?e.opacityscale=[[0,1],[1,.1]]:\\\"extremes\\\"===i?e.opacityscale=function(t,e){for(var n=[],r=0;r<32;r++){var i=r/31,o=e+(1-e)*(1-Math.pow(Math.sin(t*i*Math.PI),2));n.push([i,Math.max(0,Math.min(1,o))])}return n}(1,.1):function(t){var e=0;if(!Array.isArray(t)||t.length<2)return!1;if(!t[0]||!t[t.length-1])return!1;if(0!=+t[0][0]||1!=+t[t.length-1][0])return!1;for(var n=0;n<t.length;n++){var r=t[n];if(2!==r.length||+r[0]<e)return!1;e=+r[0]}return!0}(i)||(e.opacityscale=void 0)}function l(t,e,n){e in t&&!(n in t)&&(t[n]=t[e])}e.exports={supplyDefaults:function(t,e,n,u){var c,h;function p(n,r){return i.coerce(t,e,a,n,r)}var f=p(\\\"x\\\"),d=p(\\\"y\\\"),m=p(\\\"z\\\");if(!m||!m.length||f&&f.length<1||d&&d.length<1)e.visible=!1;else{e._xlength=Array.isArray(f)&&i.isArrayOrTypedArray(f[0])?m.length:m[0].length,e._ylength=m.length,r.getComponentMethod(\\\"calendars\\\",\\\"handleTraceDefaults\\\")(t,e,[\\\"x\\\",\\\"y\\\",\\\"z\\\"],u),p(\\\"text\\\"),p(\\\"hovertext\\\"),p(\\\"hovertemplate\\\"),[\\\"lighting.ambient\\\",\\\"lighting.diffuse\\\",\\\"lighting.specular\\\",\\\"lighting.roughness\\\",\\\"lighting.fresnel\\\",\\\"lightposition.x\\\",\\\"lightposition.y\\\",\\\"lightposition.z\\\",\\\"hidesurface\\\",\\\"connectgaps\\\",\\\"opacity\\\"].forEach((function(t){p(t)}));var v=p(\\\"surfacecolor\\\"),g=[\\\"x\\\",\\\"y\\\",\\\"z\\\"];for(c=0;c<3;++c){var y=\\\"contours.\\\"+g[c],_=p(y+\\\".show\\\"),b=p(y+\\\".highlight\\\");if(_||b)for(h=0;h<3;++h)p(y+\\\".project.\\\"+g[h]);_&&(p(y+\\\".color\\\"),p(y+\\\".width\\\"),p(y+\\\".usecolormap\\\")),b&&(p(y+\\\".highlightcolor\\\"),p(y+\\\".highlightwidth\\\")),p(y+\\\".start\\\"),p(y+\\\".end\\\"),p(y+\\\".size\\\")}v||(l(t,\\\"zmin\\\",\\\"cmin\\\"),l(t,\\\"zmax\\\",\\\"cmax\\\"),l(t,\\\"zauto\\\",\\\"cauto\\\")),o(t,e,u,p,{prefix:\\\"\\\",cLetter:\\\"c\\\"}),s(0,e,0,p),e._length=null}},opacityscaleDefaults:s}},{\\\"../../components/colorscale/defaults\\\":605,\\\"../../lib\\\":728,\\\"../../registry\\\":859,\\\"./attributes\\\":1257}],1261:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,colorbar:{min:\\\"cmin\\\",max:\\\"cmax\\\"},calc:t(\\\"./calc\\\"),plot:t(\\\"./convert\\\"),moduleType:\\\"trace\\\",name:\\\"surface\\\",basePlotModule:t(\\\"../../plots/gl3d\\\"),categories:[\\\"gl3d\\\",\\\"2dMap\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/gl3d\\\":818,\\\"./attributes\\\":1257,\\\"./calc\\\":1258,\\\"./convert\\\":1259,\\\"./defaults\\\":1260}],1262:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/annotations/attributes\\\"),i=t(\\\"../../lib/extend\\\").extendFlat,o=t(\\\"../../plot_api/edit_types\\\").overrideAll,a=t(\\\"../../plots/font_attributes\\\"),s=t(\\\"../../plots/domain\\\").attributes;t(\\\"../../constants/docs\\\").FORMAT_LINK,(e.exports=o({domain:s({name:\\\"table\\\",trace:!0}),columnwidth:{valType:\\\"number\\\",arrayOk:!0,dflt:null},columnorder:{valType:\\\"data_array\\\"},header:{values:{valType:\\\"data_array\\\",dflt:[]},format:{valType:\\\"data_array\\\",dflt:[]},prefix:{valType:\\\"string\\\",arrayOk:!0,dflt:null},suffix:{valType:\\\"string\\\",arrayOk:!0,dflt:null},height:{valType:\\\"number\\\",dflt:28},align:i({},r.align,{arrayOk:!0}),line:{width:{valType:\\\"number\\\",arrayOk:!0,dflt:1},color:{valType:\\\"color\\\",arrayOk:!0,dflt:\\\"grey\\\"}},fill:{color:{valType:\\\"color\\\",arrayOk:!0,dflt:\\\"white\\\"}},font:i({},a({arrayOk:!0}))},cells:{values:{valType:\\\"data_array\\\",dflt:[]},format:{valType:\\\"data_array\\\",dflt:[]},prefix:{valType:\\\"string\\\",arrayOk:!0,dflt:null},suffix:{valType:\\\"string\\\",arrayOk:!0,dflt:null},height:{valType:\\\"number\\\",dflt:20},align:i({},r.align,{arrayOk:!0}),line:{width:{valType:\\\"number\\\",arrayOk:!0,dflt:1},color:{valType:\\\"color\\\",arrayOk:!0,dflt:\\\"grey\\\"}},fill:{color:{valType:\\\"color\\\",arrayOk:!0,dflt:\\\"white\\\"}},font:i({},a({arrayOk:!0}))}},\\\"calc\\\",\\\"from-root\\\")).transforms=void 0},{\\\"../../components/annotations/attributes\\\":578,\\\"../../constants/docs\\\":699,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/domain\\\":803,\\\"../../plots/font_attributes\\\":804}],1263:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/get_data\\\").getModuleCalcData,i=t(\\\"./plot\\\"),o=\\\"table\\\";n.name=o,n.plot=function(t){var e=r(t.calcdata,o)[0];e.length&&i(t,e)},n.clean=function(t,e,n,r){var i=r._has&&r._has(o),a=e._has&&e._has(o);i&&!a&&r._paperdiv.selectAll(\\\".table\\\").remove()}},{\\\"../../plots/get_data\\\":813,\\\"./plot\\\":1270}],1264:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib/gup\\\").wrap;e.exports=function(){return r({})}},{\\\"../../lib/gup\\\":726}],1265:[function(t,e,n){\\\"use strict\\\";e.exports={cellPad:8,columnExtentOffset:10,columnTitleOffset:28,emptyHeaderHeight:16,latexCheck:/^\\\\$.*\\\\$$/,goldenRatio:1.618,lineBreaker:\\\"<br>\\\",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:\\\"cubic-out\\\",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:\\\"cubic-out\\\",uplift:5,wrapSpacer:\\\" \\\",wrapSplitCharacter:\\\" \\\",cn:{table:\\\"table\\\",tableControlView:\\\"table-control-view\\\",scrollBackground:\\\"scroll-background\\\",yColumn:\\\"y-column\\\",columnBlock:\\\"column-block\\\",scrollAreaClip:\\\"scroll-area-clip\\\",scrollAreaClipRect:\\\"scroll-area-clip-rect\\\",columnBoundary:\\\"column-boundary\\\",columnBoundaryClippath:\\\"column-boundary-clippath\\\",columnBoundaryRect:\\\"column-boundary-rect\\\",columnCells:\\\"column-cells\\\",columnCell:\\\"column-cell\\\",cellRect:\\\"cell-rect\\\",cellText:\\\"cell-text\\\",cellTextHolder:\\\"cell-text-holder\\\",scrollbarKit:\\\"scrollbar-kit\\\",scrollbar:\\\"scrollbar\\\",scrollbarSlider:\\\"scrollbar-slider\\\",scrollbarGlyph:\\\"scrollbar-glyph\\\",scrollbarCaptureZone:\\\"scrollbar-capture-zone\\\"}}},{}],1266:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\"),i=t(\\\"../../lib/extend\\\").extendFlat,o=t(\\\"fast-isnumeric\\\");function a(t){if(Array.isArray(t)){for(var e=0,n=0;n<t.length;n++)e=Math.max(e,a(t[n]));return e}return t}function s(t,e){return t+e}function l(t){var e,n=t.slice(),r=1/0,i=0;for(e=0;e<n.length;e++)Array.isArray(n[e])||(n[e]=[n[e]]),r=Math.min(r,n[e].length),i=Math.max(i,n[e].length);if(r!==i)for(e=0;e<n.length;e++){var o=i-n[e].length;o&&(n[e]=n[e].concat(u(o)))}return n}function u(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=\\\"\\\";return e}function c(t){return t.calcdata.columns.reduce((function(e,n){return n.xIndex<t.xIndex?e+n.columnWidth:e}),0)}function h(t,e){return Object.keys(t).map((function(n){return i({},t[n],{auxiliaryBlocks:e})}))}function p(t,e){for(var n,r={},i=0,o=0,a={firstRowIndex:null,lastRowIndex:null,rows:[]},s=0,l=0,u=0;u<t.length;u++)n=t[u],a.rows.push({rowIndex:u,rowHeight:n}),((o+=n)>=e||u===t.length-1)&&(r[i]=a,a.key=l++,a.firstRowIndex=s,a.lastRowIndex=u,a={firstRowIndex:null,lastRowIndex:null,rows:[]},i+=o,s=u+1,o=0);return r}e.exports=function(t,e){var n=l(e.cells.values),f=function(t){return t.slice(e.header.values.length,t.length)},d=l(e.header.values);d.length&&!d[0].length&&(d[0]=[\\\"\\\"],d=l(d));var m=d.concat(f(n).map((function(){return u((d[0]||[\\\"\\\"]).length)}))),v=e.domain,g=Math.floor(t._fullLayout._size.w*(v.x[1]-v.x[0])),y=Math.floor(t._fullLayout._size.h*(v.y[1]-v.y[0])),_=e.header.values.length?m[0].map((function(){return e.header.height})):[r.emptyHeaderHeight],b=n.length?n[0].map((function(){return e.cells.height})):[],x=_.reduce(s,0),w=p(b,y-x+r.uplift),A=h(p(_,x),[]),C=h(w,A),M={},E=e._fullInput.columnorder.concat(f(n.map((function(t,e){return e})))),T=m.map((function(t,n){var r=Array.isArray(e.columnwidth)?e.columnwidth[Math.min(n,e.columnwidth.length-1)]:e.columnwidth;return o(r)?Number(r):1})),S=T.reduce(s,0);T=T.map((function(t){return t/S*g}));var k=Math.max(a(e.header.line.width),a(e.cells.line.width)),O={key:e.uid+t._context.staticPlot,translateX:v.x[0]*t._fullLayout._size.w,translateY:t._fullLayout._size.h*(1-v.y[1]),size:t._fullLayout._size,width:g,maxLineWidth:k,height:y,columnOrder:E,groupHeight:y,rowBlocks:C,headerRowBlocks:A,scrollY:0,cells:i({},e.cells,{values:n}),headerCells:i({},e.header,{values:m}),gdColumns:m.map((function(t){return t[0]})),gdColumnsOriginalOrder:m.map((function(t){return t[0]})),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:m.map((function(t,e){var n=M[t];return M[t]=(n||0)+1,{key:t+\\\"__\\\"+M[t],label:t,specIndex:e,xIndex:E[e],xScale:c,x:void 0,calcdata:void 0,columnWidth:T[e]}}))};return O.columns.forEach((function(t){t.calcdata=O,t.x=c(t)})),O}},{\\\"../../lib/extend\\\":719,\\\"./constants\\\":1265,\\\"fast-isnumeric\\\":236}],1267:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib/extend\\\").extendFlat;n.splitToPanels=function(t){var e=[0,0],n=r({},t,{key:\\\"header\\\",type:\\\"header\\\",page:0,prevPages:e,currentRepaint:[null,null],dragHandle:!0,values:t.calcdata.headerCells.values[t.specIndex],rowBlocks:t.calcdata.headerRowBlocks,calcdata:r({},t.calcdata,{cells:t.calcdata.headerCells})});return[r({},t,{key:\\\"cells1\\\",type:\\\"cells\\\",page:0,prevPages:e,currentRepaint:[null,null],dragHandle:!1,values:t.calcdata.cells.values[t.specIndex],rowBlocks:t.calcdata.rowBlocks}),r({},t,{key:\\\"cells2\\\",type:\\\"cells\\\",page:1,prevPages:e,currentRepaint:[null,null],dragHandle:!1,values:t.calcdata.cells.values[t.specIndex],rowBlocks:t.calcdata.rowBlocks}),n]},n.splitToCells=function(t){var e=function(t){var e=t.rowBlocks[t.page],n=e?e.rows[0].rowIndex:0;return[n,e?n+e.rows.length:0]}(t);return(t.values||[]).slice(e[0],e[1]).map((function(n,r){return{keyWithinBlock:r+(\\\"string\\\"==typeof n&&n.match(/[<$&> ]/)?\\\"_keybuster_\\\"+Math.random():\\\"\\\"),key:e[0]+r,column:t,calcdata:t.calcdata,page:t.page,rowBlocks:t.rowBlocks,value:n}}))}},{\\\"../../lib/extend\\\":719}],1268:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"../../plots/domain\\\").defaults;e.exports=function(t,e,n,a){function s(n,o){return r.coerce(t,e,i,n,o)}o(e,a,s),s(\\\"columnwidth\\\"),s(\\\"header.values\\\"),s(\\\"header.format\\\"),s(\\\"header.align\\\"),s(\\\"header.prefix\\\"),s(\\\"header.suffix\\\"),s(\\\"header.height\\\"),s(\\\"header.line.width\\\"),s(\\\"header.line.color\\\"),s(\\\"header.fill.color\\\"),r.coerceFont(s,\\\"header.font\\\",r.extendFlat({},a.font)),function(t,e){for(var n=t.columnorder||[],r=t.header.values.length,i=n.slice(0,r),o=i.slice().sort((function(t,e){return t-e})),a=i.map((function(t){return o.indexOf(t)})),s=a.length;s<r;s++)a.push(s);e(\\\"columnorder\\\",a)}(e,s),s(\\\"cells.values\\\"),s(\\\"cells.format\\\"),s(\\\"cells.align\\\"),s(\\\"cells.prefix\\\"),s(\\\"cells.suffix\\\"),s(\\\"cells.height\\\"),s(\\\"cells.line.width\\\"),s(\\\"cells.line.color\\\"),s(\\\"cells.fill.color\\\"),r.coerceFont(s,\\\"cells.font\\\",r.extendFlat({},a.font)),e._length=null}},{\\\"../../lib\\\":728,\\\"../../plots/domain\\\":803,\\\"./attributes\\\":1262}],1269:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"./calc\\\"),plot:t(\\\"./plot\\\"),moduleType:\\\"trace\\\",name:\\\"table\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[\\\"noOpacity\\\"],meta:{}}},{\\\"./attributes\\\":1262,\\\"./base_plot\\\":1263,\\\"./calc\\\":1264,\\\"./defaults\\\":1268,\\\"./plot\\\":1270}],1270:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"./constants\\\"),i=t(\\\"d3\\\"),o=t(\\\"../../lib/gup\\\"),a=t(\\\"../../components/drawing\\\"),s=t(\\\"../../lib/svg_text_utils\\\"),l=t(\\\"../../lib\\\").raiseToTop,u=t(\\\"../../lib\\\").cancelTransition,c=t(\\\"./data_preparation_helper\\\"),h=t(\\\"./data_split_helpers\\\"),p=t(\\\"../../components/color\\\");function f(t){return Math.ceil(t.calcdata.maxLineWidth/2)}function d(t,e){return\\\"clip\\\"+t._fullLayout._uid+\\\"_scrollAreaBottomClip_\\\"+e.key}function m(t,e){return\\\"clip\\\"+t._fullLayout._uid+\\\"_columnBoundaryClippath_\\\"+e.calcdata.key+\\\"_\\\"+e.specIndex}function v(t){return[].concat.apply([],t.map((function(t){return t}))).map((function(t){return t.__data__}))}function g(t,e,n){var a=t.selectAll(\\\".\\\"+r.cn.scrollbarKit).data(o.repeat,o.keyFun);a.enter().append(\\\"g\\\").classed(r.cn.scrollbarKit,!0).style(\\\"shape-rendering\\\",\\\"geometricPrecision\\\"),a.each((function(t){var e=t.scrollbarState;e.totalHeight=function(t){var e=t.rowBlocks;return P(e,e.length-1)+(e.length?z(e[e.length-1],1/0):1)}(t),e.scrollableAreaHeight=t.groupHeight-M(t),e.currentlyVisibleHeight=Math.min(e.totalHeight,e.scrollableAreaHeight),e.ratio=e.currentlyVisibleHeight/e.totalHeight,e.barLength=Math.max(e.ratio*e.currentlyVisibleHeight,r.goldenRatio*r.scrollbarWidth),e.barWiggleRoom=e.currentlyVisibleHeight-e.barLength,e.wiggleRoom=Math.max(0,e.totalHeight-e.scrollableAreaHeight),e.topY=0===e.barWiggleRoom?0:t.scrollY/e.wiggleRoom*e.barWiggleRoom,e.bottomY=e.topY+e.barLength,e.dragMultiplier=e.wiggleRoom/e.barWiggleRoom})).attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+(t.width+r.scrollbarWidth/2+r.scrollbarOffset)+\\\" \\\"+M(t)+\\\")\\\"}));var s=a.selectAll(\\\".\\\"+r.cn.scrollbar).data(o.repeat,o.keyFun);s.enter().append(\\\"g\\\").classed(r.cn.scrollbar,!0);var l=s.selectAll(\\\".\\\"+r.cn.scrollbarSlider).data(o.repeat,o.keyFun);l.enter().append(\\\"g\\\").classed(r.cn.scrollbarSlider,!0),l.attr(\\\"transform\\\",(function(t){return\\\"translate(0 \\\"+(t.scrollbarState.topY||0)+\\\")\\\"}));var u=l.selectAll(\\\".\\\"+r.cn.scrollbarGlyph).data(o.repeat,o.keyFun);u.enter().append(\\\"line\\\").classed(r.cn.scrollbarGlyph,!0).attr(\\\"stroke\\\",\\\"black\\\").attr(\\\"stroke-width\\\",r.scrollbarWidth).attr(\\\"stroke-linecap\\\",\\\"round\\\").attr(\\\"y1\\\",r.scrollbarWidth/2),u.attr(\\\"y2\\\",(function(t){return t.scrollbarState.barLength-r.scrollbarWidth/2})).attr(\\\"stroke-opacity\\\",(function(t){return t.columnDragInProgress||!t.scrollbarState.barWiggleRoom||n?0:.4})),u.transition().delay(0).duration(0),u.transition().delay(r.scrollbarHideDelay).duration(r.scrollbarHideDuration).attr(\\\"stroke-opacity\\\",0);var c=s.selectAll(\\\".\\\"+r.cn.scrollbarCaptureZone).data(o.repeat,o.keyFun);c.enter().append(\\\"line\\\").classed(r.cn.scrollbarCaptureZone,!0).attr(\\\"stroke\\\",\\\"white\\\").attr(\\\"stroke-opacity\\\",.01).attr(\\\"stroke-width\\\",r.scrollbarCaptureWidth).attr(\\\"stroke-linecap\\\",\\\"butt\\\").attr(\\\"y1\\\",0).on(\\\"mousedown\\\",(function(n){var r=i.event.y,o=this.getBoundingClientRect(),a=n.scrollbarState,s=r-o.top,l=i.scale.linear().domain([0,a.scrollableAreaHeight]).range([0,a.totalHeight]).clamp(!0);a.topY<=s&&s<=a.bottomY||T(e,t,null,l(s-a.barLength/2))(n)})).call(i.behavior.drag().origin((function(t){return i.event.stopPropagation(),t.scrollbarState.scrollbarScrollInProgress=!0,t})).on(\\\"drag\\\",T(e,t)).on(\\\"dragend\\\",(function(){}))),c.attr(\\\"y2\\\",(function(t){return t.scrollbarState.scrollableAreaHeight})),e._context.staticPlot&&(u.remove(),c.remove())}function y(t,e,n,s){var l,u=function(t){var e=t.selectAll(\\\".\\\"+r.cn.columnCell).data(h.splitToCells,(function(t){return t.keyWithinBlock}));return e.enter().append(\\\"g\\\").classed(r.cn.columnCell,!0),e.exit().remove(),e}(function(t){var e=t.selectAll(\\\".\\\"+r.cn.columnCells).data(o.repeat,o.keyFun);return e.enter().append(\\\"g\\\").classed(r.cn.columnCells,!0),e.exit().remove(),e}(n));(function(t){t.each((function(t,e){var n=t.calcdata.cells.font,r=t.column.specIndex,i={size:x(n.size,r,e),color:x(n.color,r,e),family:x(n.family,r,e)};t.rowNumber=t.key,t.align=x(t.calcdata.cells.align,r,e),t.cellBorderWidth=x(t.calcdata.cells.line.width,r,e),t.font=i}))})(u),l=function(t){var e=t.selectAll(\\\".\\\"+r.cn.cellRect).data(o.repeat,(function(t){return t.keyWithinBlock}));return e.enter().append(\\\"rect\\\").classed(r.cn.cellRect,!0),e}(u),l.attr(\\\"width\\\",(function(t){return t.column.columnWidth})).attr(\\\"stroke-width\\\",(function(t){return t.cellBorderWidth})).each((function(t){var e=i.select(this);p.stroke(e,x(t.calcdata.cells.line.color,t.column.specIndex,t.rowNumber)),p.fill(e,x(t.calcdata.cells.fill.color,t.column.specIndex,t.rowNumber))}));var c=function(t){var e=t.selectAll(\\\".\\\"+r.cn.cellText).data(o.repeat,(function(t){return t.keyWithinBlock}));return e.enter().append(\\\"text\\\").classed(r.cn.cellText,!0).style(\\\"cursor\\\",(function(){return\\\"auto\\\"})).on(\\\"mousedown\\\",(function(){i.event.stopPropagation()})),e}(function(t){var e=t.selectAll(\\\".\\\"+r.cn.cellTextHolder).data(o.repeat,(function(t){return t.keyWithinBlock}));return e.enter().append(\\\"g\\\").classed(r.cn.cellTextHolder,!0).style(\\\"shape-rendering\\\",\\\"geometricPrecision\\\"),e}(u));(function(t){t.each((function(t){a.font(i.select(this),t.font)}))})(c),_(c,e,s,t),L(u)}function _(t,e,n,o){t.text((function(t){var e=t.column.specIndex,n=t.rowNumber,o=t.value,a=\\\"string\\\"==typeof o,s=a&&o.match(/<br>/i),l=!a||s;t.mayHaveMarkup=a&&o.match(/[<&>]/);var u,c=\\\"string\\\"==typeof(u=o)&&u.match(r.latexCheck);t.latex=c;var h,p,f=c?\\\"\\\":x(t.calcdata.cells.prefix,e,n)||\\\"\\\",d=c?\\\"\\\":x(t.calcdata.cells.suffix,e,n)||\\\"\\\",m=c?null:x(t.calcdata.cells.format,e,n)||null,v=f+(m?i.format(m)(t.value):t.value)+d;if(t.wrappingNeeded=!t.wrapped&&!l&&!c&&(h=b(v)),t.cellHeightMayIncrease=s||c||t.mayHaveMarkup||(void 0===h?b(v):h),t.needsConvertToTspans=t.mayHaveMarkup||t.wrappingNeeded||t.latex,t.wrappingNeeded){var g=(\\\" \\\"===r.wrapSplitCharacter?v.replace(/<a href=/gi,\\\"<a_href=\\\"):v).split(r.wrapSplitCharacter),y=\\\" \\\"===r.wrapSplitCharacter?g.map((function(t){return t.replace(/<a_href=/gi,\\\"<a href=\\\")})):g;t.fragments=y.map((function(t){return{text:t,width:null}})),t.fragments.push({fragment:r.wrapSpacer,width:null}),p=y.join(r.lineBreaker)+r.lineBreaker+r.wrapSpacer}else delete t.fragments,p=v;return p})).attr(\\\"dy\\\",(function(t){return t.needsConvertToTspans?0:\\\"0.75em\\\"})).each((function(t){var a=this,l=i.select(a),u=t.wrappingNeeded?k:O;t.needsConvertToTspans?s.convertToTspans(l,o,u(n,a,e,o,t)):i.select(a.parentNode).attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+I(t)+\\\" \\\"+r.cellPad+\\\")\\\"})).attr(\\\"text-anchor\\\",(function(t){return{left:\\\"start\\\",center:\\\"middle\\\",right:\\\"end\\\"}[t.align]}))}))}function b(t){return-1!==t.indexOf(r.wrapSplitCharacter)}function x(t,e,n){if(Array.isArray(t)){var r=t[Math.min(e,t.length-1)];return Array.isArray(r)?r[Math.min(n,r.length-1)]:r}return t}function w(t,e,n){t.transition().ease(r.releaseTransitionEase).duration(r.releaseTransitionDuration).attr(\\\"transform\\\",\\\"translate(\\\"+e.x+\\\" \\\"+n+\\\")\\\")}function A(t){return\\\"cells\\\"===t.type}function C(t){return\\\"header\\\"===t.type}function M(t){return(t.rowBlocks.length?t.rowBlocks[0].auxiliaryBlocks:[]).reduce((function(t,e){return t+z(e,1/0)}),0)}function E(t,e,n){var r=v(e)[0];if(void 0!==r){var i=r.rowBlocks,o=r.calcdata,a=P(i,i.length),s=r.calcdata.groupHeight-M(r),l=o.scrollY=Math.max(0,Math.min(a-s,o.scrollY)),u=function(t,e,n){for(var r=[],i=0,o=0;o<t.length;o++){for(var a=t[o],s=a.rows,l=0,u=0;u<s.length;u++)l+=s[u].rowHeight;a.allRowsHeight=l,e<i+l&&e+n>i&&r.push(o),i+=l}return r}(i,l,s);1===u.length&&(u[0]===i.length-1?u.unshift(u[0]-1):u.push(u[0]+1)),u[0]%2&&u.reverse(),e.each((function(t,e){t.page=u[e],t.scrollY=l})),e.attr(\\\"transform\\\",(function(t){return\\\"translate(0 \\\"+(P(t.rowBlocks,t.page)-t.scrollY)+\\\")\\\"})),t&&(S(t,n,e,u,r.prevPages,r,0),S(t,n,e,u,r.prevPages,r,1),g(n,t))}}function T(t,e,n,o){return function(a){var s=a.calcdata?a.calcdata:a,l=e.filter((function(t){return s.key===t.key})),u=n||s.scrollbarState.dragMultiplier,c=s.scrollY;s.scrollY=void 0===o?s.scrollY+u*i.event.dy:o;var h=l.selectAll(\\\".\\\"+r.cn.yColumn).selectAll(\\\".\\\"+r.cn.columnBlock).filter(A);return E(t,h,l),s.scrollY===c}}function S(t,e,n,r,i,o,a){r[a]!==i[a]&&(clearTimeout(o.currentRepaint[a]),o.currentRepaint[a]=setTimeout((function(){var o=n.filter((function(t,e){return e===a&&r[e]!==i[e]}));y(t,e,o,n),i[a]=r[a]})))}function k(t,e,n,o){return function(){var a=i.select(e.parentNode);a.each((function(t){var e=t.fragments;a.selectAll(\\\"tspan.line\\\").each((function(t,n){e[n].width=this.getComputedTextLength()}));var n,i,o=e[e.length-1].width,s=e.slice(0,-1),l=[],u=0,c=t.column.columnWidth-2*r.cellPad;for(t.value=\\\"\\\";s.length;)u+(i=(n=s.shift()).width+o)>c&&(t.value+=l.join(r.wrapSpacer)+r.lineBreaker,l=[],u=0),l.push(n.text),u+=i;u&&(t.value+=l.join(r.wrapSpacer)),t.wrapped=!0})),a.selectAll(\\\"tspan.line\\\").remove(),_(a.select(\\\".\\\"+r.cn.cellText),n,t,o),i.select(e.parentNode.parentNode).call(L)}}function O(t,e,n,o,a){return function(){if(!a.settledY){var s=i.select(e.parentNode),l=D(a),u=a.key-l.firstRowIndex,c=l.rows[u].rowHeight,h=a.cellHeightMayIncrease?e.parentNode.getBoundingClientRect().height+2*r.cellPad:c,p=Math.max(h,c);p-l.rows[u].rowHeight&&(l.rows[u].rowHeight=p,t.selectAll(\\\".\\\"+r.cn.columnCell).call(L),E(null,t.filter(A),0),g(n,o,!0)),s.attr(\\\"transform\\\",(function(){var t=this,e=t.parentNode.getBoundingClientRect(),n=i.select(t.parentNode).select(\\\".\\\"+r.cn.cellRect).node().getBoundingClientRect(),o=t.transform.baseVal.consolidate(),s=n.top-e.top+(o?o.matrix.f:r.cellPad);return\\\"translate(\\\"+I(a,i.select(t.parentNode).select(\\\".\\\"+r.cn.cellTextHolder).node().getBoundingClientRect().width)+\\\" \\\"+s+\\\")\\\"})),a.settledY=!0}}}function I(t,e){switch(t.align){case\\\"left\\\":default:return r.cellPad;case\\\"right\\\":return t.column.columnWidth-(e||0)-r.cellPad;case\\\"center\\\":return(t.column.columnWidth-(e||0))/2}}function L(t){t.attr(\\\"transform\\\",(function(t){var e=t.rowBlocks[0].auxiliaryBlocks.reduce((function(t,e){return t+z(e,1/0)}),0);return\\\"translate(0 \\\"+(z(D(t),t.key)+e)+\\\")\\\"})).selectAll(\\\".\\\"+r.cn.cellRect).attr(\\\"height\\\",(function(t){return function(t,e){return t.rows[e-t.firstRowIndex]}(D(t),t.key).rowHeight}))}function P(t,e){for(var n=0,r=e-1;r>=0;r--)n+=R(t[r]);return n}function z(t,e){for(var n=0,r=0;r<t.rows.length&&t.rows[r].rowIndex<e;r++)n+=t.rows[r].rowHeight;return n}function R(t){var e=t.allRowsHeight;if(void 0!==e)return e;for(var n=0,r=0;r<t.rows.length;r++)n+=t.rows[r].rowHeight;return t.allRowsHeight=n,n}function D(t){return t.rowBlocks[t.page]}e.exports=function(t,e){var n=!t._context.staticPlot,s=t._fullLayout._paper.selectAll(\\\".\\\"+r.cn.table).data(e.map((function(e){var n=o.unwrap(e).trace;return c(t,n)})),o.keyFun);s.exit().remove(),s.enter().append(\\\"g\\\").classed(r.cn.table,!0).attr(\\\"overflow\\\",\\\"visible\\\").style(\\\"box-sizing\\\",\\\"content-box\\\").style(\\\"position\\\",\\\"absolute\\\").style(\\\"left\\\",0).style(\\\"overflow\\\",\\\"visible\\\").style(\\\"shape-rendering\\\",\\\"crispEdges\\\").style(\\\"pointer-events\\\",\\\"all\\\"),s.attr(\\\"width\\\",(function(t){return t.width+t.size.l+t.size.r})).attr(\\\"height\\\",(function(t){return t.height+t.size.t+t.size.b})).attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.translateX+\\\",\\\"+t.translateY+\\\")\\\"}));var p=s.selectAll(\\\".\\\"+r.cn.tableControlView).data(o.repeat,o.keyFun),_=p.enter().append(\\\"g\\\").classed(r.cn.tableControlView,!0).style(\\\"box-sizing\\\",\\\"content-box\\\");n&&_.on(\\\"mousemove\\\",(function(e){p.filter((function(t){return e===t})).call(g,t)})).on(\\\"mousewheel\\\",(function(e){if(!e.scrollbarState.wheeling){e.scrollbarState.wheeling=!0;var n=e.scrollY+i.event.deltaY;T(t,p,null,n)(e)||(i.event.stopPropagation(),i.event.preventDefault()),e.scrollbarState.wheeling=!1}})).call(g,t,!0),p.attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.size.l+\\\" \\\"+t.size.t+\\\")\\\"}));var b=p.selectAll(\\\".\\\"+r.cn.scrollBackground).data(o.repeat,o.keyFun);b.enter().append(\\\"rect\\\").classed(r.cn.scrollBackground,!0).attr(\\\"fill\\\",\\\"none\\\"),b.attr(\\\"width\\\",(function(t){return t.width})).attr(\\\"height\\\",(function(t){return t.height})),p.each((function(e){a.setClipUrl(i.select(this),d(t,e),t)}));var x=p.selectAll(\\\".\\\"+r.cn.yColumn).data((function(t){return t.columns}),o.keyFun);x.enter().append(\\\"g\\\").classed(r.cn.yColumn,!0),x.exit().remove(),x.attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.x+\\\" 0)\\\"})),n&&x.call(i.behavior.drag().origin((function(e){return w(i.select(this),e,-r.uplift),l(this),e.calcdata.columnDragInProgress=!0,g(p.filter((function(t){return e.calcdata.key===t.key})),t),e})).on(\\\"drag\\\",(function(t){var e=i.select(this),n=function(e){return(t===e?i.event.x:e.x)+e.columnWidth/2};t.x=Math.max(-r.overdrag,Math.min(t.calcdata.width+r.overdrag-t.columnWidth,i.event.x)),v(x).filter((function(e){return e.calcdata.key===t.calcdata.key})).sort((function(t,e){return n(t)-n(e)})).forEach((function(e,n){e.xIndex=n,e.x=t===e?e.x:e.xScale(e)})),x.filter((function(e){return t!==e})).transition().ease(r.transitionEase).duration(r.transitionDuration).attr(\\\"transform\\\",(function(t){return\\\"translate(\\\"+t.x+\\\" 0)\\\"})),e.call(u).attr(\\\"transform\\\",\\\"translate(\\\"+t.x+\\\" -\\\"+r.uplift+\\\" )\\\")})).on(\\\"dragend\\\",(function(e){var n=i.select(this),r=e.calcdata;e.x=e.xScale(e),e.calcdata.columnDragInProgress=!1,w(n,e,0),function(t,e,n){var r=e.gdColumnsOriginalOrder;e.gdColumns.sort((function(t,e){return n[r.indexOf(t)]-n[r.indexOf(e)]})),e.columnorder=n,t.emit(\\\"plotly_restyle\\\")}(t,r,r.columns.map((function(t){return t.xIndex})))}))),x.each((function(e){a.setClipUrl(i.select(this),m(t,e),t)}));var M=x.selectAll(\\\".\\\"+r.cn.columnBlock).data(h.splitToPanels,o.keyFun);M.enter().append(\\\"g\\\").classed(r.cn.columnBlock,!0).attr(\\\"id\\\",(function(t){return t.key})),M.style(\\\"cursor\\\",(function(t){return t.dragHandle?\\\"ew-resize\\\":t.calcdata.scrollbarState.barWiggleRoom?\\\"ns-resize\\\":\\\"default\\\"}));var S=M.filter(C),k=M.filter(A);n&&k.call(i.behavior.drag().origin((function(t){return i.event.stopPropagation(),t})).on(\\\"drag\\\",T(t,p,-1)).on(\\\"dragend\\\",(function(){}))),y(t,p,S,M),y(t,p,k,M);var O=p.selectAll(\\\".\\\"+r.cn.scrollAreaClip).data(o.repeat,o.keyFun);O.enter().append(\\\"clipPath\\\").classed(r.cn.scrollAreaClip,!0).attr(\\\"id\\\",(function(e){return d(t,e)}));var I=O.selectAll(\\\".\\\"+r.cn.scrollAreaClipRect).data(o.repeat,o.keyFun);I.enter().append(\\\"rect\\\").classed(r.cn.scrollAreaClipRect,!0).attr(\\\"x\\\",-r.overdrag).attr(\\\"y\\\",-r.uplift).attr(\\\"fill\\\",\\\"none\\\"),I.attr(\\\"width\\\",(function(t){return t.width+2*r.overdrag})).attr(\\\"height\\\",(function(t){return t.height+r.uplift})),x.selectAll(\\\".\\\"+r.cn.columnBoundary).data(o.repeat,o.keyFun).enter().append(\\\"g\\\").classed(r.cn.columnBoundary,!0);var L=x.selectAll(\\\".\\\"+r.cn.columnBoundaryClippath).data(o.repeat,o.keyFun);L.enter().append(\\\"clipPath\\\").classed(r.cn.columnBoundaryClippath,!0),L.attr(\\\"id\\\",(function(e){return m(t,e)}));var P=L.selectAll(\\\".\\\"+r.cn.columnBoundaryRect).data(o.repeat,o.keyFun);P.enter().append(\\\"rect\\\").classed(r.cn.columnBoundaryRect,!0).attr(\\\"fill\\\",\\\"none\\\"),P.attr(\\\"width\\\",(function(t){return t.columnWidth+2*f(t)})).attr(\\\"height\\\",(function(t){return t.calcdata.height+2*f(t)+r.uplift})).attr(\\\"x\\\",(function(t){return-f(t)})).attr(\\\"y\\\",(function(t){return-f(t)})),E(null,k,p)}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/gup\\\":726,\\\"../../lib/svg_text_utils\\\":752,\\\"./constants\\\":1265,\\\"./data_preparation_helper\\\":1266,\\\"./data_split_helpers\\\":1267,d3:164}],1271:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,i=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,o=t(\\\"../../components/colorscale/attributes\\\"),a=t(\\\"../../plots/domain\\\").attributes,s=t(\\\"../pie/attributes\\\"),l=t(\\\"../sunburst/attributes\\\"),u=t(\\\"./constants\\\"),c=t(\\\"../../lib/extend\\\").extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{packing:{valType:\\\"enumerated\\\",values:[\\\"squarify\\\",\\\"binary\\\",\\\"dice\\\",\\\"slice\\\",\\\"slice-dice\\\",\\\"dice-slice\\\"],dflt:\\\"squarify\\\",editType:\\\"plot\\\"},squarifyratio:{valType:\\\"number\\\",min:1,dflt:1,editType:\\\"plot\\\"},flip:{valType:\\\"flaglist\\\",flags:[\\\"x\\\",\\\"y\\\"],dflt:\\\"\\\",editType:\\\"plot\\\"},pad:{valType:\\\"number\\\",min:0,dflt:3,editType:\\\"plot\\\"},editType:\\\"calc\\\"},marker:c({pad:{t:{valType:\\\"number\\\",min:0,editType:\\\"plot\\\"},l:{valType:\\\"number\\\",min:0,editType:\\\"plot\\\"},r:{valType:\\\"number\\\",min:0,editType:\\\"plot\\\"},b:{valType:\\\"number\\\",min:0,editType:\\\"plot\\\"},editType:\\\"calc\\\"},colors:l.marker.colors,depthfade:{valType:\\\"enumerated\\\",values:[!0,!1,\\\"reversed\\\"],editType:\\\"style\\\"},line:l.marker.line,editType:\\\"calc\\\"},o(\\\"marker\\\",{colorAttr:\\\"colors\\\",anim:!1})),pathbar:{visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},side:{valType:\\\"enumerated\\\",values:[\\\"top\\\",\\\"bottom\\\"],dflt:\\\"top\\\",editType:\\\"plot\\\"},edgeshape:{valType:\\\"enumerated\\\",values:[\\\">\\\",\\\"<\\\",\\\"|\\\",\\\"/\\\",\\\"\\\\\\\\\\\"],dflt:\\\">\\\",editType:\\\"plot\\\"},thickness:{valType:\\\"number\\\",min:12,editType:\\\"plot\\\"},textfont:c({},s.textfont,{}),editType:\\\"calc\\\"},text:s.text,textinfo:l.textinfo,texttemplate:i({editType:\\\"plot\\\"},{keys:u.eventDataKeys.concat([\\\"label\\\",\\\"value\\\"])}),hovertext:s.hovertext,hoverinfo:l.hoverinfo,hovertemplate:r({},{keys:u.eventDataKeys}),textfont:s.textfont,insidetextfont:s.insidetextfont,outsidetextfont:c({},s.outsidetextfont,{}),textposition:{valType:\\\"enumerated\\\",values:[\\\"top left\\\",\\\"top center\\\",\\\"top right\\\",\\\"middle left\\\",\\\"middle center\\\",\\\"middle right\\\",\\\"bottom left\\\",\\\"bottom center\\\",\\\"bottom right\\\"],dflt:\\\"top left\\\",editType:\\\"plot\\\"},domain:a({name:\\\"treemap\\\",trace:!0,editType:\\\"calc\\\"})}},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plots/domain\\\":803,\\\"../../plots/template_attributes\\\":854,\\\"../pie/attributes\\\":1108,\\\"../sunburst/attributes\\\":1245,\\\"./constants\\\":1274}],1272:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/plots\\\");n.name=\\\"treemap\\\",n.plot=function(t,e,i,o){r.plotBasePlot(n.name,t,e,i,o)},n.clean=function(t,e,i,o){r.cleanBasePlot(n.name,t,e,i,o)}},{\\\"../../plots/plots\\\":839}],1273:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../sunburst/calc\\\");n.calc=function(t,e){return r.calc(t,e)},n.crossTraceCalc=function(t){return r._runCrossTraceCalc(\\\"treemap\\\",t)}},{\\\"../sunburst/calc\\\":1247}],1274:[function(t,e,n){\\\"use strict\\\";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:\\\"poly\\\",eventDataKeys:[\\\"currentPath\\\",\\\"root\\\",\\\"entry\\\",\\\"percentRoot\\\",\\\"percentEntry\\\",\\\"percentParent\\\"],gapWithPathbar:1}},{}],1275:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"../../plots/domain\\\").defaults,s=t(\\\"../bar/defaults\\\").handleText,l=t(\\\"../bar/constants\\\").TEXTPAD,u=t(\\\"../../components/colorscale\\\"),c=u.hasColorscale,h=u.handleDefaults;e.exports=function(t,e,n,u){function p(n,o){return r.coerce(t,e,i,n,o)}var f=p(\\\"labels\\\"),d=p(\\\"parents\\\");if(f&&f.length&&d&&d.length){var m=p(\\\"values\\\");m&&m.length?p(\\\"branchvalues\\\"):p(\\\"count\\\"),p(\\\"level\\\"),p(\\\"maxdepth\\\"),\\\"squarify\\\"===p(\\\"tiling.packing\\\")&&p(\\\"tiling.squarifyratio\\\"),p(\\\"tiling.flip\\\"),p(\\\"tiling.pad\\\");var v=p(\\\"text\\\");p(\\\"texttemplate\\\"),e.texttemplate||p(\\\"textinfo\\\",Array.isArray(v)?\\\"text+label\\\":\\\"label\\\"),p(\\\"hovertext\\\"),p(\\\"hovertemplate\\\");var g=p(\\\"pathbar.visible\\\");s(t,e,u,p,\\\"auto\\\",{hasPathbar:g,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),p(\\\"textposition\\\");var y=-1!==e.textposition.indexOf(\\\"bottom\\\");p(\\\"marker.line.width\\\")&&p(\\\"marker.line.color\\\",u.paper_bgcolor);var _=p(\\\"marker.colors\\\"),b=e._hasColorscale=c(t,\\\"marker\\\",\\\"colors\\\")||(t.marker||{}).coloraxis;b?h(t,e,u,p,{prefix:\\\"marker.\\\",cLetter:\\\"c\\\"}):p(\\\"marker.depthfade\\\",!(_||[]).length);var x=2*e.textfont.size;p(\\\"marker.pad.t\\\",y?x/4:x),p(\\\"marker.pad.l\\\",x/4),p(\\\"marker.pad.r\\\",x/4),p(\\\"marker.pad.b\\\",y?x:x/4),b&&h(t,e,u,p,{prefix:\\\"marker.\\\",cLetter:\\\"c\\\"}),e._hovered={marker:{line:{width:2,color:o.contrast(u.paper_bgcolor)}}},g&&(p(\\\"pathbar.thickness\\\",e.pathbar.textfont.size+2*l),p(\\\"pathbar.side\\\"),p(\\\"pathbar.edgeshape\\\")),a(e,u,p),e._length=null}else e.visible=!1}},{\\\"../../components/color\\\":595,\\\"../../components/colorscale\\\":607,\\\"../../lib\\\":728,\\\"../../plots/domain\\\":803,\\\"../bar/constants\\\":871,\\\"../bar/defaults\\\":873,\\\"./attributes\\\":1271}],1276:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../../lib/svg_text_utils\\\"),s=t(\\\"./partition\\\"),l=t(\\\"./style\\\").styleOne,u=t(\\\"./constants\\\"),c=t(\\\"../sunburst/helpers\\\"),h=t(\\\"../sunburst/fx\\\"),p=!0;e.exports=function(t,e,n,f,d){var m=d.barDifY,v=d.width,g=d.height,y=d.viewX,_=d.viewY,b=d.pathSlice,x=d.toMoveInsideSlice,w=d.strTransform,A=d.hasTransition,C=d.handleSlicesExit,M=d.makeUpdateSliceInterpolator,E=d.makeUpdateTextInterpolator,T={},S=t._fullLayout,k=e[0],O=k.trace,I=k.hierarchy,L=v/O._entryDepth,P=c.listPath(n.data,\\\"id\\\"),z=s(I.copy(),[v,g],{packing:\\\"dice\\\",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(z=z.filter((function(t){var e=P.indexOf(t.data.id);return-1!==e&&(t.x0=L*e,t.x1=L*(e+1),t.y0=m,t.y1=m+g,t.onPathbar=!0,!0)}))).reverse(),(f=f.data(z,c.getPtId)).enter().append(\\\"g\\\").classed(\\\"pathbar\\\",!0),C(f,p,T,[v,g],b),f.order();var R=f;A&&(R=R.transition().each(\\\"end\\\",(function(){var e=r.select(this);c.setSliceCursor(e,t,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),R.each((function(s){s._hoverX=y(s.x1-Math.min(v,g)/2),s._hoverY=_(s.y1-g/2);var f=r.select(this),d=i.ensureSingle(f,\\\"path\\\",\\\"surface\\\",(function(t){t.style(\\\"pointer-events\\\",\\\"all\\\")}));A?d.transition().attrTween(\\\"d\\\",(function(t){var e=M(t,p,T,[v,g]);return function(t){return b(e(t))}})):d.attr(\\\"d\\\",b),f.call(h,n,t,e,{styleOne:l,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,t,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:t._transitioning}),d.call(l,s,O,{hovered:!1}),s._text=(c.getPtLabel(s)||\\\"\\\").split(\\\"<br>\\\").join(\\\" \\\")||\\\"\\\";var m=i.ensureSingle(f,\\\"g\\\",\\\"slicetext\\\"),C=i.ensureSingle(m,\\\"text\\\",\\\"\\\",(function(t){t.attr(\\\"data-notex\\\",1)})),k=i.ensureUniformFontSize(t,c.determineTextFont(O,s,S.font,{onPathbar:!0}));C.text(s._text||\\\" \\\").classed(\\\"slicetext\\\",!0).attr(\\\"text-anchor\\\",\\\"start\\\").call(o.font,k).call(a.convertToTspans,t),s.textBB=o.bBox(C.node()),s.transform=x(s,{fontSize:k.size,onPathbar:!0}),s.transform.fontSize=k.size,A?C.transition().attrTween(\\\"transform\\\",(function(t){var e=E(t,p,T,[v,g]);return function(t){return w(e(t))}})):C.attr(\\\"transform\\\",w(s))}))}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../sunburst/fx\\\":1250,\\\"../sunburst/helpers\\\":1251,\\\"./constants\\\":1274,\\\"./partition\\\":1281,\\\"./style\\\":1283,d3:164}],1277:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../../lib/svg_text_utils\\\"),s=t(\\\"./partition\\\"),l=t(\\\"./style\\\").styleOne,u=t(\\\"./constants\\\"),c=t(\\\"../sunburst/helpers\\\"),h=t(\\\"../sunburst/fx\\\"),p=t(\\\"../sunburst/plot\\\").formatSliceLabel,f=!1;e.exports=function(t,e,n,d,m){var v=m.width,g=m.height,y=m.viewX,_=m.viewY,b=m.pathSlice,x=m.toMoveInsideSlice,w=m.strTransform,A=m.hasTransition,C=m.handleSlicesExit,M=m.makeUpdateSliceInterpolator,E=m.makeUpdateTextInterpolator,T=m.prevEntry,S=t._fullLayout,k=e[0].trace,O=-1!==k.textposition.indexOf(\\\"left\\\"),I=-1!==k.textposition.indexOf(\\\"right\\\"),L=-1!==k.textposition.indexOf(\\\"bottom\\\"),P=!L&&!k.marker.pad.t||L&&!k.marker.pad.b,z=s(n,[v,g],{packing:k.tiling.packing,squarifyratio:k.tiling.squarifyratio,flipX:k.tiling.flip.indexOf(\\\"x\\\")>-1,flipY:k.tiling.flip.indexOf(\\\"y\\\")>-1,pad:{inner:k.tiling.pad,top:k.marker.pad.t,left:k.marker.pad.l,right:k.marker.pad.r,bottom:k.marker.pad.b}}).descendants(),R=1/0,D=-1/0;z.forEach((function(t){var e=t.depth;e>=k._maxDepth?(t.x0=t.x1=(t.x0+t.x1)/2,t.y0=t.y1=(t.y0+t.y1)/2):(R=Math.min(R,e),D=Math.max(D,e))})),d=d.data(z,c.getPtId),k._maxVisibleLayers=isFinite(D)?D-R+1:0,d.enter().append(\\\"g\\\").classed(\\\"slice\\\",!0),C(d,f,{},[v,g],b),d.order();var $=null;if(A&&T){var B=c.getPtId(T);d.each((function(t){null===$&&c.getPtId(t)===B&&($={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1})}))}var N=function(){return $||{x0:0,x1:v,y0:0,y1:g}},F=d;return A&&(F=F.transition().each(\\\"end\\\",(function(){var e=r.select(this);c.setSliceCursor(e,t,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),F.each((function(s){var d=c.isHeader(s,k);s._hoverX=y(s.x1-k.marker.pad.r),s._hoverY=_(L?s.y1-k.marker.pad.b/2:s.y0+k.marker.pad.t/2);var m=r.select(this),C=i.ensureSingle(m,\\\"path\\\",\\\"surface\\\",(function(t){t.style(\\\"pointer-events\\\",\\\"all\\\")}));A?C.transition().attrTween(\\\"d\\\",(function(t){var e=M(t,f,N(),[v,g]);return function(t){return b(e(t))}})):C.attr(\\\"d\\\",b),m.call(h,n,t,e,{styleOne:l,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,t,{isTransitioning:t._transitioning}),C.call(l,s,k,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text=\\\"\\\":s._text=d?P?\\\"\\\":c.getPtLabel(s)||\\\"\\\":p(s,n,k,e,S)||\\\"\\\";var T=i.ensureSingle(m,\\\"g\\\",\\\"slicetext\\\"),z=i.ensureSingle(T,\\\"text\\\",\\\"\\\",(function(t){t.attr(\\\"data-notex\\\",1)})),R=i.ensureUniformFontSize(t,c.determineTextFont(k,s,S.font));z.text(s._text||\\\" \\\").classed(\\\"slicetext\\\",!0).attr(\\\"text-anchor\\\",I?\\\"end\\\":O||d?\\\"start\\\":\\\"middle\\\").call(o.font,R).call(a.convertToTspans,t),s.textBB=o.bBox(z.node()),s.transform=x(s,{fontSize:R.size,isHeader:d}),s.transform.fontSize=R.size,A?z.transition().attrTween(\\\"transform\\\",(function(t){var e=E(t,f,N(),[v,g]);return function(t){return w(e(t))}})):z.attr(\\\"transform\\\",w(s))})),$}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../../lib/svg_text_utils\\\":752,\\\"../sunburst/fx\\\":1250,\\\"../sunburst/helpers\\\":1251,\\\"../sunburst/plot\\\":1255,\\\"./constants\\\":1274,\\\"./partition\\\":1281,\\\"./style\\\":1283,d3:164}],1278:[function(t,e,n){\\\"use strict\\\";e.exports={moduleType:\\\"trace\\\",name:\\\"treemap\\\",basePlotModule:t(\\\"./base_plot\\\"),categories:[],animatable:!0,attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\").calc,crossTraceCalc:t(\\\"./calc\\\").crossTraceCalc,plot:t(\\\"./plot\\\"),style:t(\\\"./style\\\").style,colorbar:t(\\\"../scatter/marker_colorbar\\\"),meta:{}}},{\\\"../scatter/marker_colorbar\\\":1152,\\\"./attributes\\\":1271,\\\"./base_plot\\\":1272,\\\"./calc\\\":1273,\\\"./defaults\\\":1275,\\\"./layout_attributes\\\":1279,\\\"./layout_defaults\\\":1280,\\\"./plot\\\":1282,\\\"./style\\\":1283}],1279:[function(t,e,n){\\\"use strict\\\";e.exports={treemapcolorway:{valType:\\\"colorlist\\\",editType:\\\"calc\\\"},extendtreemapcolors:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"}}},{}],1280:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e){function n(n,o){return r.coerce(t,e,i,n,o)}n(\\\"treemapcolorway\\\",e.colorway),n(\\\"extendtreemapcolors\\\")}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":1279}],1281:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3-hierarchy\\\");function i(t,e,n){var r;n.swapXY&&(r=t.x0,t.x0=t.y0,t.y0=r,r=t.x1,t.x1=t.y1,t.y1=r),n.flipX&&(r=t.x0,t.x0=e[0]-t.x1,t.x1=e[0]-r),n.flipY&&(r=t.y0,t.y0=e[1]-t.y1,t.y1=e[1]-r);var o=t.children;if(o)for(var a=0;a<o.length;a++)i(o[a],e,n)}e.exports=function(t,e,n){var o,a=n.flipX,s=n.flipY,l=\\\"dice-slice\\\"===n.packing,u=n.pad[s?\\\"bottom\\\":\\\"top\\\"],c=n.pad[a?\\\"right\\\":\\\"left\\\"],h=n.pad[a?\\\"left\\\":\\\"right\\\"],p=n.pad[s?\\\"top\\\":\\\"bottom\\\"];l&&(o=c,c=u,u=o,o=h,h=p,p=o);var f=r.treemap().tile(function(t,e){switch(t){case\\\"squarify\\\":return r.treemapSquarify.ratio(e);case\\\"binary\\\":return r.treemapBinary;case\\\"dice\\\":return r.treemapDice;case\\\"slice\\\":return r.treemapSlice;default:return r.treemapSliceDice}}(n.packing,n.squarifyratio)).paddingInner(n.pad.inner).paddingLeft(c).paddingRight(h).paddingTop(u).paddingBottom(p).size(l?[e[1],e[0]]:e)(t);return(l||a||s)&&i(f,e,{swapXY:l,flipX:a,flipY:s}),f}},{\\\"d3-hierarchy\\\":158}],1282:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../sunburst/helpers\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../bar/constants\\\").TEXTPAD,s=t(\\\"../bar/plot\\\").toMoveInsideBar,l=t(\\\"../bar/uniform_text\\\"),u=l.recordMinTextSize,c=l.clearMinTextSize,h=t(\\\"../bar/style\\\").resizeText,p=t(\\\"./constants\\\"),f=t(\\\"./draw_descendants\\\"),d=t(\\\"./draw_ancestors\\\");function m(t){return i.isHierarchyRoot(t)?\\\"\\\":i.getPtId(t)}function v(t,e,n,l){var c=t._fullLayout,h=e[0],v=h.trace,g=h.hierarchy,y=i.findEntryWithLevel(g,v.level),_=r.select(n),b=_.selectAll(\\\"g.pathbar\\\"),x=_.selectAll(\\\"g.slice\\\");if(!y)return b.remove(),void x.remove();var w=i.isHierarchyRoot(y),A=!c.uniformtext.mode&&i.hasTransition(l),C=i.getMaxDepth(v),M=c._size,E=v.domain,T=M.w*(E.x[1]-E.x[0]),S=M.h*(E.y[1]-E.y[0]),k=T,O=v.pathbar.thickness,I=v.marker.line.width+p.gapWithPathbar,L=v.pathbar.visible?v.pathbar.side.indexOf(\\\"bottom\\\")>-1?S+I:-(O+I):0,P={x0:k,x1:k,y0:L,y1:L+O},z=function(t,e,n){var r=v.tiling.pad,i=function(t){return t-r<=e.x0},o=function(t){return t+r>=e.x1},a=function(t){return t-r<=e.y0},s=function(t){return t+r>=e.y1};return{x0:i(t.x0-r)?0:o(t.x0-r)?n[0]:t.x0,x1:i(t.x1+r)?0:o(t.x1+r)?n[0]:t.x1,y0:a(t.y0-r)?0:s(t.y0-r)?n[1]:t.y0,y1:a(t.y1+r)?0:s(t.y1+r)?n[1]:t.y1}},R=null,D={},$={},B=null,N=function(t,e){return e?D[m(t)]:$[m(t)]},F=function(t,e,n,r){if(e)return D[m(g)]||P;var i=$[v.level]||n;return function(t){return t.data.depth-y.data.depth<C}(t)?z(t,i,r):{}};h.hasMultipleRoots&&w&&C++,v._maxDepth=C,v._backgroundColor=c.paper_bgcolor,v._entryDepth=y.data.depth,v._atRootLevel=w;var j=-T/2+M.l+M.w*(E.x[1]+E.x[0])/2,U=-S/2+M.t+M.h*(1-(E.y[1]+E.y[0])/2),q=function(t){return j+t},V=function(t){return U+t},H=V(0),G=q(0),W=function(t){return G+t},X=function(t){return H+t};function Y(t,e){return t+\\\",\\\"+e}var Z=W(0),K=function(t){t.x=Math.max(Z,t.x)},J=v.pathbar.edgeshape,Q=function(t,e){var n=t.x0,r=t.x1,i=t.y0,o=t.y1,l=t.textBB,h=function(t){return-1!==v.textposition.indexOf(t)},p=h(\\\"bottom\\\"),f=h(\\\"top\\\")||e.isHeader&&!p?\\\"start\\\":p?\\\"end\\\":\\\"middle\\\",d=h(\\\"right\\\"),m=h(\\\"left\\\")||e.onPathbar?-1:d?1:0,g=v.marker.pad;if(e.isHeader){if((n+=g.l-a)>=(r-=g.r-a)){var y=(n+r)/2;n=y,r=y}var _;p?i<(_=o-g.b)&&_<o&&(i=_):i<(_=i+g.t)&&_<o&&(o=_)}var b=s(n,r,i,o,l,{isHorizontal:!1,constrained:!0,angle:0,anchor:f,leftToRight:m});return b.fontSize=e.fontSize,b.targetX=q(b.targetX),b.targetY=V(b.targetY),isNaN(b.targetX)||isNaN(b.targetY)?{}:(n!==r&&i!==o&&u(v.type,b,c),{scale:b.scale,rotate:b.rotate,textX:b.textX,textY:b.textY,anchorX:b.anchorX,anchorY:b.anchorY,targetX:b.targetX,targetY:b.targetY})},tt=function(t,e){for(var n,r=0,i=t;!n&&r<C;)r++,(i=i.parent)?n=N(i,e):r=C;return n||{}},et=function(t,e,n,i){var a,s=N(t,e);if(s)a=s;else if(e)a=P;else if(R)if(t.parent){var l=B||n;l&&!e?a=z(t,l,i):(a={},o.extendFlat(a,tt(t,e)))}else a=t;else a={};return r.interpolate(a,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1})},nt=function(t,e,n,a){var s=N(t,e),l={},h=F(t,e,n,a);o.extendFlat(l,{transform:Q({x0:h.x0,x1:h.x1,y0:h.y0,y1:h.y1,textBB:t.textBB,_text:t._text},{isHeader:i.isHeader(t,v)})}),s?l=s:t.parent&&o.extendFlat(l,tt(t,e));var p=t.transform;return t.x0!==t.x1&&t.y0!==t.y1&&u(v.type,p,c),r.interpolate(l,{transform:{scale:p.scale,rotate:p.rotate,textX:p.textX,textY:p.textY,anchorX:p.anchorX,anchorY:p.anchorY,targetX:p.targetX,targetY:p.targetY}})},rt=function(t,e,n,i,o){var a=i[0],s=i[1];A?t.exit().transition().each((function(){var t=r.select(this);t.select(\\\"path.surface\\\").transition().attrTween(\\\"d\\\",(function(t){var n=function(t,e,n,i){var o,a=N(t,e);if(e)o=P;else{var s=N(y,e);o=s?z(t,s,i):{}}return r.interpolate(a,o)}(t,e,0,[a,s]);return function(t){return o(n(t))}})),t.select(\\\"g.slicetext\\\").attr(\\\"opacity\\\",0)})).remove():t.exit().remove()},it=function(t){var e=t.transform;return t.x0!==t.x1&&t.y0!==t.y1&&u(v.type,e,c),o.getTextTransform({textX:e.textX,textY:e.textY,anchorX:e.anchorX,anchorY:e.anchorY,targetX:e.targetX,targetY:e.targetY,scale:e.scale,rotate:e.rotate})};A&&(b.each((function(t){D[m(t)]={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1},t.transform&&(D[m(t)].transform={textX:t.transform.textX,textY:t.transform.textY,anchorX:t.transform.anchorX,anchorY:t.transform.anchorY,targetX:t.transform.targetX,targetY:t.transform.targetY,scale:t.transform.scale,rotate:t.transform.rotate})})),x.each((function(t){$[m(t)]={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1},t.transform&&($[m(t)].transform={textX:t.transform.textX,textY:t.transform.textY,anchorX:t.transform.anchorX,anchorY:t.transform.anchorY,targetX:t.transform.targetX,targetY:t.transform.targetY,scale:t.transform.scale,rotate:t.transform.rotate}),!R&&i.isEntry(t)&&(R=t)}))),B=f(t,e,y,x,{width:T,height:S,viewX:q,viewY:V,pathSlice:function(t){var e=q(t.x0),n=q(t.x1),r=V(t.y0),i=V(t.y1),o=n-e,a=i-r;return o&&a?\\\"M\\\"+Y(e,r+0)+\\\"L\\\"+Y(n-0,r)+\\\"L\\\"+Y(n,i-0)+\\\"L\\\"+Y(e+0,i)+\\\"Z\\\":\\\"\\\"},toMoveInsideSlice:Q,prevEntry:R,makeUpdateSliceInterpolator:et,makeUpdateTextInterpolator:nt,handleSlicesExit:rt,hasTransition:A,strTransform:it}),v.pathbar.visible?d(t,e,y,b,{barDifY:L,width:k,height:O,viewX:W,viewY:X,pathSlice:function(t){var e=W(Math.max(Math.min(t.x0,t.x0),0)),n=W(Math.min(Math.max(t.x1,t.x1),k)),r=X(t.y0),i=X(t.y1),o=O/2,a={},s={};a.x=e,s.x=n,a.y=s.y=(r+i)/2;var l={x:e,y:r},u={x:n,y:r},c={x:n,y:i},h={x:e,y:i};return\\\">\\\"===J?(l.x-=o,u.x-=o,c.x-=o,h.x-=o):\\\"/\\\"===J?(c.x-=o,h.x-=o,a.x-=o/2,s.x-=o/2):\\\"\\\\\\\\\\\"===J?(l.x-=o,u.x-=o,a.x-=o/2,s.x-=o/2):\\\"<\\\"===J&&(a.x-=o,s.x-=o),K(l),K(h),K(a),K(u),K(c),K(s),\\\"M\\\"+Y(l.x,l.y)+\\\"L\\\"+Y(u.x,u.y)+\\\"L\\\"+Y(s.x,s.y)+\\\"L\\\"+Y(c.x,c.y)+\\\"L\\\"+Y(h.x,h.y)+\\\"L\\\"+Y(a.x,a.y)+\\\"Z\\\"},toMoveInsideSlice:Q,makeUpdateSliceInterpolator:et,makeUpdateTextInterpolator:nt,handleSlicesExit:rt,hasTransition:A,strTransform:it}):b.remove()}e.exports=function(t,e,n,o){var a,s,l=t._fullLayout,u=l._treemaplayer,p=!n;c(\\\"treemap\\\",l),(a=u.selectAll(\\\"g.trace.treemap\\\").data(e,(function(t){return t[0].trace.uid}))).enter().append(\\\"g\\\").classed(\\\"trace\\\",!0).classed(\\\"treemap\\\",!0),a.order(),!l.uniformtext.mode&&i.hasTransition(n)?(o&&(s=o()),r.transition().duration(n.duration).ease(n.easing).each(\\\"end\\\",(function(){s&&s()})).each(\\\"interrupt\\\",(function(){s&&s()})).each((function(){u.selectAll(\\\"g.trace\\\").each((function(e){v(t,e,this,n)}))}))):(a.each((function(e){v(t,e,this,n)})),l.uniformtext.mode&&h(t,l._treemaplayer.selectAll(\\\".trace\\\"),\\\"treemap\\\")),p&&a.exit().remove()}},{\\\"../../lib\\\":728,\\\"../bar/constants\\\":871,\\\"../bar/plot\\\":880,\\\"../bar/style\\\":883,\\\"../bar/uniform_text\\\":885,\\\"../sunburst/helpers\\\":1251,\\\"./constants\\\":1274,\\\"./draw_ancestors\\\":1276,\\\"./draw_descendants\\\":1277,d3:164}],1283:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../../lib\\\"),a=t(\\\"../sunburst/helpers\\\"),s=t(\\\"../bar/uniform_text\\\").resizeText;function l(t,e,n,r){var s,l,u=(r||{}).hovered,c=e.data.data,h=c.i,p=c.color,f=a.isHierarchyRoot(e),d=1;if(u)s=n._hovered.marker.line.color,l=n._hovered.marker.line.width;else if(f&&\\\"rgba(0,0,0,0)\\\"===p)d=0,s=\\\"rgba(0,0,0,0)\\\",l=0;else if(s=o.castOption(n,h,\\\"marker.line.color\\\")||i.defaultLine,l=o.castOption(n,h,\\\"marker.line.width\\\")||0,!n._hasColorscale&&!e.onPathbar){var m=n.marker.depthfade;if(m){var v,g=i.combine(i.addOpacity(n._backgroundColor,.75),p);if(!0===m){var y=a.getMaxDepth(n);v=isFinite(y)?a.isLeaf(e)?0:n._maxVisibleLayers-(e.data.depth-n._entryDepth):e.data.height+1}else v=e.data.depth-n._entryDepth,n._atRootLevel||v++;if(v>0)for(var _=0;_<v;_++){var b=.5*_/v;p=i.combine(i.addOpacity(g,b),p)}}}t.style(\\\"stroke-width\\\",l).call(i.fill,p).call(i.stroke,s).style(\\\"opacity\\\",d)}e.exports={style:function(t){var e=t._fullLayout._treemaplayer.selectAll(\\\".trace\\\");s(t,e,\\\"treemap\\\"),e.each((function(t){var e=r.select(this),n=t[0].trace;e.style(\\\"opacity\\\",n.opacity),e.selectAll(\\\"path.surface\\\").each((function(t){r.select(this).call(l,t,n,{hovered:!1})}))}))},styleOne:l}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../bar/uniform_text\\\":885,\\\"../sunburst/helpers\\\":1251,d3:164}],1284:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../box/attributes\\\"),i=t(\\\"../../lib/extend\\\").extendFlat;e.exports={y:r.y,x:r.x,x0:r.x0,y0:r.y0,name:i({},r.name,{}),orientation:i({},r.orientation,{}),bandwidth:{valType:\\\"number\\\",min:0,editType:\\\"calc\\\"},scalegroup:{valType:\\\"string\\\",dflt:\\\"\\\",editType:\\\"calc\\\"},scalemode:{valType:\\\"enumerated\\\",values:[\\\"width\\\",\\\"count\\\"],dflt:\\\"width\\\",editType:\\\"calc\\\"},spanmode:{valType:\\\"enumerated\\\",values:[\\\"soft\\\",\\\"hard\\\",\\\"manual\\\"],dflt:\\\"soft\\\",editType:\\\"calc\\\"},span:{valType:\\\"info_array\\\",items:[{valType:\\\"any\\\",editType:\\\"calc\\\"},{valType:\\\"any\\\",editType:\\\"calc\\\"}],editType:\\\"calc\\\"},line:{color:{valType:\\\"color\\\",editType:\\\"style\\\"},width:{valType:\\\"number\\\",min:0,dflt:2,editType:\\\"style\\\"},editType:\\\"plot\\\"},fillcolor:r.fillcolor,points:i({},r.boxpoints,{}),jitter:i({},r.jitter,{}),pointpos:i({},r.pointpos,{}),width:i({},r.width,{}),marker:r.marker,text:r.text,hovertext:r.hovertext,hovertemplate:r.hovertemplate,box:{visible:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"plot\\\"},width:{valType:\\\"number\\\",min:0,max:1,dflt:.25,editType:\\\"plot\\\"},fillcolor:{valType:\\\"color\\\",editType:\\\"style\\\"},line:{color:{valType:\\\"color\\\",editType:\\\"style\\\"},width:{valType:\\\"number\\\",min:0,editType:\\\"style\\\"},editType:\\\"style\\\"},editType:\\\"plot\\\"},meanline:{visible:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"plot\\\"},color:{valType:\\\"color\\\",editType:\\\"style\\\"},width:{valType:\\\"number\\\",min:0,editType:\\\"style\\\"},editType:\\\"plot\\\"},side:{valType:\\\"enumerated\\\",values:[\\\"both\\\",\\\"positive\\\",\\\"negative\\\"],dflt:\\\"both\\\",editType:\\\"calc\\\"},offsetgroup:r.offsetgroup,alignmentgroup:r.alignmentgroup,selected:r.selected,unselected:r.unselected,hoveron:{valType:\\\"flaglist\\\",flags:[\\\"violins\\\",\\\"points\\\",\\\"kde\\\"],dflt:\\\"violins+points+kde\\\",extras:[\\\"all\\\"],editType:\\\"style\\\"}}},{\\\"../../lib/extend\\\":719,\\\"../box/attributes\\\":894}],1285:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../box/calc\\\"),a=t(\\\"./helpers\\\"),s=t(\\\"../../constants/numerical\\\").BADNUM;function l(t,e,n){var i=e.max-e.min;if(!i)return t.bandwidth?t.bandwidth:0;if(t.bandwidth)return Math.max(t.bandwidth,i/1e4);var o=n.length,a=r.stdev(n,o-1,e.mean);return Math.max(function(t,e,n){return 1.059*Math.min(e,n/1.349)*Math.pow(t,-.2)}(o,a,e.q3-e.q1),i/100)}function u(t,e,n,r){var o,a=t.spanmode,l=t.span||[],u=[e.min,e.max],c=[e.min-2*r,e.max+2*r];function h(r){var i=l[r],o=\\\"multicategory\\\"===n.type?n.r2c(i):n.d2c(i,0,t[e.valLetter+\\\"calendar\\\"]);return o===s?c[r]:o}var p={type:\\\"linear\\\",range:o=\\\"soft\\\"===a?c:\\\"hard\\\"===a?u:[h(0),h(1)]};return i.setConvert(p),p.cleanRange(),o}e.exports=function(t,e){var n=o(t,e);if(n[0].t.empty)return n;for(var s=t._fullLayout,c=i.getFromId(t,e[\\\"h\\\"===e.orientation?\\\"xaxis\\\":\\\"yaxis\\\"]),h=1/0,p=-1/0,f=0,d=0,m=0;m<n.length;m++){var v=n[m],g=v.pts.map(a.extractVal),y=v.bandwidth=l(e,v,g),_=v.span=u(e,v,c,y);if(v.min===v.max&&0===y)_=v.span=[v.min,v.max],v.density=[{v:1,t:_[0]}],v.bandwidth=y,f=Math.max(f,1);else{var b=_[1]-_[0],x=Math.ceil(b/(y/3)),w=b/x;if(!isFinite(w)||!isFinite(x))return r.error(\\\"Something went wrong with computing the violin span\\\"),n[0].t.empty=!0,n;var A=a.makeKDE(v,e,g);v.density=new Array(x);for(var C=0,M=_[0];M<_[1]+w/2;C++,M+=w){var E=A(M);v.density[C]={v:E,t:M},f=Math.max(f,E)}}d=Math.max(d,g.length),h=Math.min(h,_[0]),p=Math.max(p,_[1])}var T=i.findExtremes(c,[h,p],{padded:!0});if(e._extremes[c._id]=T,e.width)n[0].t.maxKDE=f;else{var S=s._violinScaleGroupStats,k=e.scalegroup,O=S[k];O?(O.maxKDE=Math.max(O.maxKDE,f),O.maxCount=Math.max(O.maxCount,d)):S[k]={maxKDE:f,maxCount:d}}return n[0].t.labels.kde=r._(t,\\\"kde:\\\"),n}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../box/calc\\\":895,\\\"./helpers\\\":1288}],1286:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../box/cross_trace_calc\\\").setPositionOffset,i=[\\\"v\\\",\\\"h\\\"];e.exports=function(t,e){for(var n=t.calcdata,o=e.xaxis,a=e.yaxis,s=0;s<i.length;s++){for(var l=i[s],u=\\\"h\\\"===l?a:o,c=[],h=0;h<n.length;h++){var p=n[h],f=p[0].t,d=p[0].trace;!0!==d.visible||\\\"violin\\\"!==d.type||f.empty||d.orientation!==l||d.xaxis!==o._id||d.yaxis!==a._id||c.push(h)}r(\\\"violin\\\",t,c,u)}}},{\\\"../box/cross_trace_calc\\\":896}],1287:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../box/defaults\\\"),a=t(\\\"./attributes\\\");e.exports=function(t,e,n,s){function l(n,i){return r.coerce(t,e,a,n,i)}function u(n,i){return r.coerce2(t,e,a,n,i)}if(o.handleSampleDefaults(t,e,l,s),!1!==e.visible){l(\\\"bandwidth\\\"),l(\\\"side\\\"),l(\\\"width\\\")||(l(\\\"scalegroup\\\",e.name),l(\\\"scalemode\\\"));var c,h=l(\\\"span\\\");Array.isArray(h)&&(c=\\\"manual\\\"),l(\\\"spanmode\\\",c);var p=l(\\\"line.color\\\",(t.marker||{}).color||n),f=l(\\\"line.width\\\"),d=l(\\\"fillcolor\\\",i.addOpacity(e.line.color,.5));o.handlePointsDefaults(t,e,l,{prefix:\\\"\\\"});var m=u(\\\"box.width\\\"),v=u(\\\"box.fillcolor\\\",d),g=u(\\\"box.line.color\\\",p),y=u(\\\"box.line.width\\\",f);l(\\\"box.visible\\\",Boolean(m||v||g||y))||(e.box={visible:!1});var _=u(\\\"meanline.color\\\",p),b=u(\\\"meanline.width\\\",f);l(\\\"meanline.visible\\\",Boolean(_||b))||(e.meanline={visible:!1})}}},{\\\"../../components/color\\\":595,\\\"../../lib\\\":728,\\\"../box/defaults\\\":897,\\\"./attributes\\\":1284}],1288:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=function(t){return 1/Math.sqrt(2*Math.PI)*Math.exp(-.5*t*t)};n.makeKDE=function(t,e,n){var r=n.length,o=i,a=t.bandwidth,s=1/(r*a);return function(t){for(var e=0,i=0;i<r;i++)e+=o((t-n[i])/a);return s*e}},n.getPositionOnKdePath=function(t,e,n){var i,o;\\\"h\\\"===e.orientation?(i=\\\"y\\\",o=\\\"x\\\"):(i=\\\"x\\\",o=\\\"y\\\");var a=r.findPointOnPath(t.path,n,o,{pathLength:t.pathLength}),s=t.posCenterPx,l=a[i];return[l,\\\"both\\\"===e.side?2*s-l:s]},n.getKdeValue=function(t,e,r){var i=t.pts.map(n.extractVal);return n.makeKDE(t,e,i)(r)/t.posDensityScale},n.extractVal=function(t){return t.v}},{\\\"../../lib\\\":728}],1289:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../../plots/cartesian/axes\\\"),o=t(\\\"../box/hover\\\"),a=t(\\\"./helpers\\\");e.exports=function(t,e,n,s,l){var u,c,h=t.cd,p=h[0].trace,f=p.hoveron,d=-1!==f.indexOf(\\\"violins\\\"),m=-1!==f.indexOf(\\\"kde\\\"),v=[];if(d||m){var g=o.hoverOnBoxes(t,e,n,s);if(m&&g.length>0){var y,_,b,x,w,A=t.xa,C=t.ya;\\\"h\\\"===p.orientation?(w=e,y=\\\"y\\\",b=C,_=\\\"x\\\",x=A):(w=n,y=\\\"x\\\",b=A,_=\\\"y\\\",x=C);var M=h[t.index];if(w>=M.span[0]&&w<=M.span[1]){var E=r.extendFlat({},t),T=x.c2p(w,!0),S=a.getKdeValue(M,p,w),k=a.getPositionOnKdePath(M,p,T),O=b._offset,I=b._length;E[y+\\\"0\\\"]=k[0],E[y+\\\"1\\\"]=k[1],E[_+\\\"0\\\"]=E[_+\\\"1\\\"]=T,E[_+\\\"Label\\\"]=_+\\\": \\\"+i.hoverLabelText(x,w)+\\\", \\\"+h[0].t.labels.kde+\\\" \\\"+S.toFixed(3),E.spikeDistance=g[0].spikeDistance;var L=y+\\\"Spike\\\";E[L]=g[0][L],g[0].spikeDistance=void 0,g[0][L]=void 0,E.hovertemplate=!1,v.push(E),(c={stroke:t.color})[y+\\\"1\\\"]=r.constrain(O+k[0],O,O+I),c[y+\\\"2\\\"]=r.constrain(O+k[1],O,O+I),c[_+\\\"1\\\"]=c[_+\\\"2\\\"]=x._offset+T}}d&&(v=v.concat(g))}-1!==f.indexOf(\\\"points\\\")&&(u=o.hoverOnPoints(t,e,n));var P=l.selectAll(\\\".violinline-\\\"+p.uid).data(c?[0]:[]);return P.enter().append(\\\"line\\\").classed(\\\"violinline-\\\"+p.uid,!0).attr(\\\"stroke-width\\\",1.5),P.exit().remove(),P.attr(c),\\\"closest\\\"===s?u?[u]:v:u?(v.push(u),v):v}},{\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../box/hover\\\":899,\\\"./helpers\\\":1288}],1290:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),crossTraceDefaults:t(\\\"../box/defaults\\\").crossTraceDefaults,supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\"),crossTraceCalc:t(\\\"./cross_trace_calc\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"./style\\\"),styleOnSelect:t(\\\"../scatter/style\\\").styleOnSelect,hoverPoints:t(\\\"./hover\\\"),selectPoints:t(\\\"../box/select\\\"),moduleType:\\\"trace\\\",name:\\\"violin\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"cartesian\\\",\\\"svg\\\",\\\"symbols\\\",\\\"oriented\\\",\\\"box-violin\\\",\\\"showLegend\\\",\\\"violinLayout\\\",\\\"zoomScale\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../box/defaults\\\":897,\\\"../box/select\\\":904,\\\"../scatter/style\\\":1157,\\\"./attributes\\\":1284,\\\"./calc\\\":1285,\\\"./cross_trace_calc\\\":1286,\\\"./defaults\\\":1287,\\\"./hover\\\":1289,\\\"./layout_attributes\\\":1291,\\\"./layout_defaults\\\":1292,\\\"./plot\\\":1293,\\\"./style\\\":1294}],1291:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../box/layout_attributes\\\"),i=t(\\\"../../lib\\\").extendFlat;e.exports={violinmode:i({},r.boxmode,{}),violingap:i({},r.boxgap,{}),violingroupgap:i({},r.boxgroupgap,{})}},{\\\"../../lib\\\":728,\\\"../box/layout_attributes\\\":901}],1292:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\"),o=t(\\\"../box/layout_defaults\\\");e.exports=function(t,e,n){o._supply(t,e,n,(function(n,o){return r.coerce(t,e,i,n,o)}),\\\"violin\\\")}},{\\\"../../lib\\\":728,\\\"../box/layout_defaults\\\":902,\\\"./layout_attributes\\\":1291}],1293:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../box/plot\\\"),s=t(\\\"../scatter/line_points\\\"),l=t(\\\"./helpers\\\");e.exports=function(t,e,n,u){var c=t._fullLayout,h=e.xaxis,p=e.yaxis;function f(t){var e=s(t,{xaxis:h,yaxis:p,connectGaps:!0,baseTolerance:.75,shape:\\\"spline\\\",simplify:!0,linearized:!0});return o.smoothopen(e[0],1)}i.makeTraceGroups(u,n,\\\"trace violins\\\").each((function(t){var n=r.select(this),o=t[0],s=o.t,u=o.trace;if(!0!==u.visible||s.empty)n.remove();else{var d=s.bPos,m=s.bdPos,v=e[s.valLetter+\\\"axis\\\"],g=e[s.posLetter+\\\"axis\\\"],y=\\\"both\\\"===u.side,_=y||\\\"positive\\\"===u.side,b=y||\\\"negative\\\"===u.side,x=n.selectAll(\\\"path.violin\\\").data(i.identity);x.enter().append(\\\"path\\\").style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\").attr(\\\"class\\\",\\\"violin\\\"),x.exit().remove(),x.each((function(t){var e,n,i,o,a,l,h,p,x=r.select(this),w=t.density,A=w.length,C=g.c2l(t.pos+d,!0),M=g.l2p(C);if(u.width)e=s.maxKDE/m;else{var E=c._violinScaleGroupStats[u.scalegroup];e=\\\"count\\\"===u.scalemode?E.maxKDE/m*(E.maxCount/t.pts.length):E.maxKDE/m}if(_){for(h=new Array(A),a=0;a<A;a++)(p=h[a]={})[s.posLetter]=C+w[a].v/e,p[s.valLetter]=v.c2l(w[a].t,!0);n=f(h)}if(b){for(h=new Array(A),l=0,a=A-1;l<A;l++,a--)(p=h[l]={})[s.posLetter]=C-w[a].v/e,p[s.valLetter]=v.c2l(w[a].t,!0);i=f(h)}if(y)o=n+\\\"L\\\"+i.substr(1)+\\\"Z\\\";else{var T=[M,v.c2p(w[0].t)],S=[M,v.c2p(w[A-1].t)];\\\"h\\\"===u.orientation&&(T.reverse(),S.reverse()),o=_?\\\"M\\\"+T+\\\"L\\\"+n.substr(1)+\\\"L\\\"+S:\\\"M\\\"+S+\\\"L\\\"+i.substr(1)+\\\"L\\\"+T}x.attr(\\\"d\\\",o),t.posCenterPx=M,t.posDensityScale=e*m,t.path=x.node(),t.pathLength=t.path.getTotalLength()/(y?2:1)}));var w,A,C,M=u.box,E=M.width,T=(M.line||{}).width;y?(w=m*E,A=0):_?(w=[0,m*E/2],A=T*{x:1,y:-1}[s.posLetter]):(w=[m*E/2,0],A=T*{x:-1,y:1}[s.posLetter]),a.plotBoxAndWhiskers(n,{pos:g,val:v},u,{bPos:d,bdPos:w,bPosPxOffset:A}),a.plotBoxMean(n,{pos:g,val:v},u,{bPos:d,bdPos:w,bPosPxOffset:A}),!u.box.visible&&u.meanline.visible&&(C=i.identity);var S=n.selectAll(\\\"path.meanline\\\").data(C||[]);S.enter().append(\\\"path\\\").attr(\\\"class\\\",\\\"meanline\\\").style(\\\"fill\\\",\\\"none\\\").style(\\\"vector-effect\\\",\\\"non-scaling-stroke\\\"),S.exit().remove(),S.each((function(t){var e=v.c2p(t.mean,!0),n=l.getPositionOnKdePath(t,u,e);r.select(this).attr(\\\"d\\\",\\\"h\\\"===u.orientation?\\\"M\\\"+e+\\\",\\\"+n[0]+\\\"V\\\"+n[1]:\\\"M\\\"+n[0]+\\\",\\\"+e+\\\"H\\\"+n[1])})),a.plotPoints(n,{x:h,y:p},u,s)}}))}},{\\\"../../components/drawing\\\":617,\\\"../../lib\\\":728,\\\"../box/plot\\\":903,\\\"../scatter/line_points\\\":1148,\\\"./helpers\\\":1288,d3:164}],1294:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/color\\\"),o=t(\\\"../scatter/style\\\").stylePoints;e.exports=function(t){var e=r.select(t).selectAll(\\\"g.trace.violins\\\");e.style(\\\"opacity\\\",(function(t){return t[0].trace.opacity})),e.each((function(e){var n=e[0].trace,a=r.select(this),s=n.box||{},l=s.line||{},u=n.meanline||{},c=u.width;a.selectAll(\\\"path.violin\\\").style(\\\"stroke-width\\\",n.line.width+\\\"px\\\").call(i.stroke,n.line.color).call(i.fill,n.fillcolor),a.selectAll(\\\"path.box\\\").style(\\\"stroke-width\\\",l.width+\\\"px\\\").call(i.stroke,l.color).call(i.fill,s.fillcolor);var h={\\\"stroke-width\\\":c+\\\"px\\\",\\\"stroke-dasharray\\\":2*c+\\\"px,\\\"+c+\\\"px\\\"};a.selectAll(\\\"path.mean\\\").style(h).call(i.stroke,u.color),a.selectAll(\\\"path.meanline\\\").style(h).call(i.stroke,u.color),o(a,n,t)}))}},{\\\"../../components/color\\\":595,\\\"../scatter/style\\\":1157,d3:164}],1295:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../components/colorscale/attributes\\\"),i=t(\\\"../isosurface/attributes\\\"),o=t(\\\"../surface/attributes\\\"),a=t(\\\"../../plots/attributes\\\"),s=t(\\\"../../lib/extend\\\").extendFlat,l=t(\\\"../../plot_api/edit_types\\\").overrideAll,u=e.exports=l(s({x:i.x,y:i.y,z:i.z,value:i.value,isomin:i.isomin,isomax:i.isomax,surface:i.surface,spaceframe:{show:{valType:\\\"boolean\\\",dflt:!1},fill:{valType:\\\"number\\\",min:0,max:1,dflt:1}},slices:i.slices,caps:i.caps,text:i.text,hovertext:i.hovertext,hovertemplate:i.hovertemplate},r(\\\"\\\",{colorAttr:\\\"`value`\\\",showScaleDflt:!0,editTypeOverride:\\\"calc\\\"}),{colorbar:i.colorbar,opacity:i.opacity,opacityscale:o.opacityscale,lightposition:i.lightposition,lighting:i.lighting,flatshading:i.flatshading,contour:i.contour,hoverinfo:s({},a.hoverinfo),showlegend:s({},a.showlegend,{dflt:!1})}),\\\"calc\\\",\\\"nested\\\");u.x.editType=u.y.editType=u.z.editType=u.value.editType=\\\"calc+clearAxisTypes\\\",u.transforms=void 0},{\\\"../../components/colorscale/attributes\\\":602,\\\"../../lib/extend\\\":719,\\\"../../plot_api/edit_types\\\":759,\\\"../../plots/attributes\\\":773,\\\"../isosurface/attributes\\\":1070,\\\"../surface/attributes\\\":1257}],1296:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"gl-mesh3d\\\"),i=t(\\\"../../lib/gl_format_color\\\").parseColorScale,o=t(\\\"../../lib/str2rgbarray\\\"),a=t(\\\"../../components/colorscale\\\").extractOpts,s=t(\\\"../../plots/gl3d/zip3\\\"),l=t(\\\"../isosurface/convert\\\").findNearestOnAxis,u=t(\\\"../isosurface/convert\\\").generateIsoMeshes;function c(t,e,n){this.scene=t,this.uid=n,this.mesh=e,this.name=\\\"\\\",this.data=null,this.showContour=!1}var h=c.prototype;h.handlePick=function(t){if(t.object===this.mesh){var e=t.data.index,n=this.data._meshX[e],r=this.data._meshY[e],i=this.data._meshZ[e],o=this.data._Ys.length,a=this.data._Zs.length,s=l(n,this.data._Xs).id,u=l(r,this.data._Ys).id,c=l(i,this.data._Zs).id,h=t.index=c+a*u+a*o*s;t.traceCoordinate=[this.data._meshX[h],this.data._meshY[h],this.data._meshZ[h],this.data._value[h]];var p=this.data.hovertext||this.data.text;return Array.isArray(p)&&void 0!==p[h]?t.textLabel=p[h]:p&&(t.textLabel=p),!0}},h.update=function(t){var e=this.scene,n=e.fullSceneLayout;function r(t,e,n,r){return e.map((function(e){return t.d2l(e,0,r)*n}))}this.data=u(t);var l={positions:s(r(n.xaxis,t._meshX,e.dataScale[0],t.xcalendar),r(n.yaxis,t._meshY,e.dataScale[1],t.ycalendar),r(n.zaxis,t._meshZ,e.dataScale[2],t.zcalendar)),cells:s(t._meshI,t._meshJ,t._meshK),lightPosition:[t.lightposition.x,t.lightposition.y,t.lightposition.z],ambient:t.lighting.ambient,diffuse:t.lighting.diffuse,specular:t.lighting.specular,roughness:t.lighting.roughness,fresnel:t.lighting.fresnel,vertexNormalsEpsilon:t.lighting.vertexnormalsepsilon,faceNormalsEpsilon:t.lighting.facenormalsepsilon,opacity:t.opacity,opacityscale:t.opacityscale,contourEnable:t.contour.show,contourColor:o(t.contour.color).slice(0,3),contourWidth:t.contour.width,useFacetNormals:t.flatshading},c=a(t);l.vertexIntensity=t._meshIntensity,l.vertexIntensityBounds=[c.min,c.max],l.colormap=i(t),this.mesh.update(l)},h.dispose=function(){this.scene.glplot.remove(this.mesh),this.mesh.dispose()},e.exports=function(t,e){var n=t.glplot.gl,i=r({gl:n}),o=new c(t,i,e.uid);return i._trace=o,o.update(e),t.glplot.add(i),o}},{\\\"../../components/colorscale\\\":607,\\\"../../lib/gl_format_color\\\":725,\\\"../../lib/str2rgbarray\\\":751,\\\"../../plots/gl3d/zip3\\\":829,\\\"../isosurface/convert\\\":1072,\\\"gl-mesh3d\\\":287}],1297:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./attributes\\\"),o=t(\\\"../isosurface/defaults\\\").supplyIsoDefaults,a=t(\\\"../surface/defaults\\\").opacityscaleDefaults;e.exports=function(t,e,n,s){function l(n,o){return r.coerce(t,e,i,n,o)}o(t,e,n,s,l),a(t,e,s,l)}},{\\\"../../lib\\\":728,\\\"../isosurface/defaults\\\":1073,\\\"../surface/defaults\\\":1260,\\\"./attributes\\\":1295}],1298:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),supplyDefaults:t(\\\"./defaults\\\"),calc:t(\\\"../isosurface/calc\\\"),colorbar:{min:\\\"cmin\\\",max:\\\"cmax\\\"},plot:t(\\\"./convert\\\"),moduleType:\\\"trace\\\",name:\\\"volume\\\",basePlotModule:t(\\\"../../plots/gl3d\\\"),categories:[\\\"gl3d\\\",\\\"showLegend\\\"],meta:{}}},{\\\"../../plots/gl3d\\\":818,\\\"../isosurface/calc\\\":1071,\\\"./attributes\\\":1295,\\\"./convert\\\":1296,\\\"./defaults\\\":1297}],1299:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../bar/attributes\\\"),i=t(\\\"../scatter/attributes\\\").line,o=t(\\\"../../plots/attributes\\\"),a=t(\\\"../../plots/template_attributes\\\").hovertemplateAttrs,s=t(\\\"../../plots/template_attributes\\\").texttemplateAttrs,l=t(\\\"./constants\\\"),u=t(\\\"../../lib/extend\\\").extendFlat,c=t(\\\"../../components/color\\\");function h(t){return{marker:{color:u({},r.marker.color,{arrayOk:!1,editType:\\\"style\\\"}),line:{color:u({},r.marker.line.color,{arrayOk:!1,editType:\\\"style\\\"}),width:u({},r.marker.line.width,{arrayOk:!1,editType:\\\"style\\\"}),editType:\\\"style\\\"},editType:\\\"style\\\"},editType:\\\"style\\\"}}e.exports={measure:{valType:\\\"data_array\\\",dflt:[],editType:\\\"calc\\\"},base:{valType:\\\"number\\\",dflt:null,arrayOk:!1,editType:\\\"calc\\\"},x:r.x,x0:r.x0,dx:r.dx,y:r.y,y0:r.y0,dy:r.dy,hovertext:r.hovertext,hovertemplate:a({},{keys:l.eventDataKeys}),hoverinfo:u({},o.hoverinfo,{flags:[\\\"name\\\",\\\"x\\\",\\\"y\\\",\\\"text\\\",\\\"initial\\\",\\\"delta\\\",\\\"final\\\"]}),textinfo:{valType:\\\"flaglist\\\",flags:[\\\"label\\\",\\\"text\\\",\\\"initial\\\",\\\"delta\\\",\\\"final\\\"],extras:[\\\"none\\\"],editType:\\\"plot\\\",arrayOk:!1},texttemplate:s({editType:\\\"plot\\\"},{keys:l.eventDataKeys.concat([\\\"label\\\"])}),text:r.text,textposition:r.textposition,insidetextanchor:r.insidetextanchor,textangle:r.textangle,textfont:r.textfont,insidetextfont:r.insidetextfont,outsidetextfont:r.outsidetextfont,constraintext:r.constraintext,cliponaxis:r.cliponaxis,orientation:r.orientation,offset:r.offset,width:r.width,increasing:h(),decreasing:h(),totals:h(),connector:{line:{color:u({},i.color,{dflt:c.defaultLine}),width:u({},i.width,{editType:\\\"plot\\\"}),dash:i.dash,editType:\\\"plot\\\"},mode:{valType:\\\"enumerated\\\",values:[\\\"spanning\\\",\\\"between\\\"],dflt:\\\"between\\\",editType:\\\"plot\\\"},visible:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"plot\\\"},editType:\\\"plot\\\"},offsetgroup:r.offsetgroup,alignmentgroup:r.alignmentgroup}},{\\\"../../components/color\\\":595,\\\"../../lib/extend\\\":719,\\\"../../plots/attributes\\\":773,\\\"../../plots/template_attributes\\\":854,\\\"../bar/attributes\\\":869,\\\"../scatter/attributes\\\":1134,\\\"./constants\\\":1301}],1300:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\"),i=t(\\\"../../lib\\\").mergeArray,o=t(\\\"../scatter/calc_selection\\\"),a=t(\\\"../../constants/numerical\\\").BADNUM;function s(t){return\\\"a\\\"===t||\\\"absolute\\\"===t}function l(t){return\\\"t\\\"===t||\\\"total\\\"===t}e.exports=function(t,e){var n,u,c=r.getFromId(t,e.xaxis||\\\"x\\\"),h=r.getFromId(t,e.yaxis||\\\"y\\\");\\\"h\\\"===e.orientation?(n=c.makeCalcdata(e,\\\"x\\\"),u=h.makeCalcdata(e,\\\"y\\\")):(n=h.makeCalcdata(e,\\\"y\\\"),u=c.makeCalcdata(e,\\\"x\\\"));for(var p,f=Math.min(u.length,n.length),d=new Array(f),m=0,v=!1,g=0;g<f;g++){var y=n[g]||0,_=!1;(n[g]!==a||l(e.measure[g])||s(e.measure[g]))&&g+1<f&&(n[g+1]!==a||l(e.measure[g+1])||s(e.measure[g+1]))&&(_=!0);var b=d[g]={i:g,p:u[g],s:y,rawS:y,cNext:_};s(e.measure[g])?(m=b.s,b.isSum=!0,b.dir=\\\"totals\\\",b.s=m):l(e.measure[g])?(b.isSum=!0,b.dir=\\\"totals\\\",b.s=m):(b.isSum=!1,b.dir=b.rawS<0?\\\"decreasing\\\":\\\"increasing\\\",p=b.s,b.s=m+p,m+=p),\\\"totals\\\"===b.dir&&(v=!0),e.ids&&(b.id=String(e.ids[g])),b.v=(e.base||0)+m}return d.length&&(d[0].hasTotals=v),i(e.text,d,\\\"tx\\\"),i(e.hovertext,d,\\\"htx\\\"),o(d,e),d}},{\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../../plots/cartesian/axes\\\":776,\\\"../scatter/calc_selection\\\":1136}],1301:[function(t,e,n){\\\"use strict\\\";e.exports={eventDataKeys:[\\\"initial\\\",\\\"delta\\\",\\\"final\\\"]}},{}],1302:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../bar/cross_trace_calc\\\").setGroupPositions;e.exports=function(t,e){var n,i,o=t._fullLayout,a=t._fullData,s=t.calcdata,l=e.xaxis,u=e.yaxis,c=[],h=[],p=[];for(i=0;i<a.length;i++){var f=a[i];!0===f.visible&&f.xaxis===l._id&&f.yaxis===u._id&&\\\"waterfall\\\"===f.type&&(n=s[i],\\\"h\\\"===f.orientation?p.push(n):h.push(n),c.push(n))}var d={mode:o.waterfallmode,norm:o.waterfallnorm,gap:o.waterfallgap,groupgap:o.waterfallgroupgap};for(r(t,l,u,h,d),r(t,u,l,p,d),i=0;i<c.length;i++){n=c[i];for(var m=0;m<n.length;m++){var v=n[m];!1===v.isSum&&(v.s0+=0===m?0:n[m-1].s),m+1<n.length&&(n[m].nextP0=n[m+1].p0,n[m].nextS0=n[m+1].s0)}}}},{\\\"../bar/cross_trace_calc\\\":872}],1303:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"../bar/defaults\\\").handleGroupingDefaults,o=t(\\\"../bar/defaults\\\").handleText,a=t(\\\"../scatter/xy_defaults\\\"),s=t(\\\"./attributes\\\"),l=t(\\\"../../components/color\\\"),u=t(\\\"../../constants/delta.js\\\"),c=u.INCREASING.COLOR,h=u.DECREASING.COLOR;function p(t,e,n){t(e+\\\".marker.color\\\",n),t(e+\\\".marker.line.color\\\",l.defaultLine),t(e+\\\".marker.line.width\\\")}e.exports={supplyDefaults:function(t,e,n,i){function l(n,i){return r.coerce(t,e,s,n,i)}if(a(t,e,i,l)){l(\\\"measure\\\"),l(\\\"orientation\\\",e.x&&!e.y?\\\"h\\\":\\\"v\\\"),l(\\\"base\\\"),l(\\\"offset\\\"),l(\\\"width\\\"),l(\\\"text\\\"),l(\\\"hovertext\\\"),l(\\\"hovertemplate\\\");var u=l(\\\"textposition\\\");o(t,e,i,l,u,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),\\\"none\\\"!==e.textposition&&(l(\\\"texttemplate\\\"),e.texttemplate||l(\\\"textinfo\\\")),p(l,\\\"increasing\\\",c),p(l,\\\"decreasing\\\",h),p(l,\\\"totals\\\",\\\"#4499FF\\\"),l(\\\"connector.visible\\\")&&(l(\\\"connector.mode\\\"),l(\\\"connector.line.width\\\")&&(l(\\\"connector.line.color\\\"),l(\\\"connector.line.dash\\\")))}else e.visible=!1},crossTraceDefaults:function(t,e){var n,o;function a(t){return r.coerce(o._input,o,s,t)}if(\\\"group\\\"===e.waterfallmode)for(var l=0;l<t.length;l++)n=(o=t[l])._input,i(n,o,e,a)}}},{\\\"../../components/color\\\":595,\\\"../../constants/delta.js\\\":698,\\\"../../lib\\\":728,\\\"../bar/defaults\\\":873,\\\"../scatter/xy_defaults\\\":1160,\\\"./attributes\\\":1299}],1304:[function(t,e,n){\\\"use strict\\\";e.exports=function(t,e){return t.x=\\\"xVal\\\"in e?e.xVal:e.x,t.y=\\\"yVal\\\"in e?e.yVal:e.y,\\\"initial\\\"in e&&(t.initial=e.initial),\\\"delta\\\"in e&&(t.delta=e.delta),\\\"final\\\"in e&&(t.final=e.final),e.xa&&(t.xaxis=e.xa),e.ya&&(t.yaxis=e.ya),t}},{}],1305:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../plots/cartesian/axes\\\").hoverLabelText,i=t(\\\"../../components/color\\\").opacity,o=t(\\\"../bar/hover\\\").hoverOnBars,a=t(\\\"../../constants/delta.js\\\"),s=a.INCREASING.SYMBOL,l=a.DECREASING.SYMBOL;e.exports=function(t,e,n,a){var u=o(t,e,n,a);if(u){var c=u.cd,h=c[0].trace,p=\\\"h\\\"===h.orientation,f=p?t.xa:t.ya,d=c[u.index],m=d.isSum?d.b+d.s:d.rawS;if(!d.isSum){u.initial=d.b+d.s-m,u.delta=m,u.final=u.initial+u.delta;var v=w(Math.abs(u.delta));u.deltaLabel=m<0?\\\"(\\\"+v+\\\")\\\":v,u.finalLabel=w(u.final),u.initialLabel=w(u.initial)}var g=d.hi||h.hoverinfo,y=[];if(g&&\\\"none\\\"!==g&&\\\"skip\\\"!==g){var _=\\\"all\\\"===g,b=g.split(\\\"+\\\"),x=function(t){return _||-1!==b.indexOf(t)};d.isSum||(!x(\\\"final\\\")||x(p?\\\"x\\\":\\\"y\\\")||y.push(u.finalLabel),x(\\\"delta\\\")&&(m<0?y.push(u.deltaLabel+\\\" \\\"+l):y.push(u.deltaLabel+\\\" \\\"+s)),x(\\\"initial\\\")&&y.push(\\\"Initial: \\\"+u.initialLabel))}return y.length&&(u.extraText=y.join(\\\"<br>\\\")),u.color=function(t,e){var n=t[e.dir].marker,r=n.color,o=n.line.color,a=n.line.width;return i(r)?r:i(o)&&a?o:void 0}(h,d),[u]}function w(t){return r(f,t)}}},{\\\"../../components/color\\\":595,\\\"../../constants/delta.js\\\":698,\\\"../../plots/cartesian/axes\\\":776,\\\"../bar/hover\\\":876}],1306:[function(t,e,n){\\\"use strict\\\";e.exports={attributes:t(\\\"./attributes\\\"),layoutAttributes:t(\\\"./layout_attributes\\\"),supplyDefaults:t(\\\"./defaults\\\").supplyDefaults,crossTraceDefaults:t(\\\"./defaults\\\").crossTraceDefaults,supplyLayoutDefaults:t(\\\"./layout_defaults\\\"),calc:t(\\\"./calc\\\"),crossTraceCalc:t(\\\"./cross_trace_calc\\\"),plot:t(\\\"./plot\\\"),style:t(\\\"./style\\\").style,hoverPoints:t(\\\"./hover\\\"),eventData:t(\\\"./event_data\\\"),selectPoints:t(\\\"../bar/select\\\"),moduleType:\\\"trace\\\",name:\\\"waterfall\\\",basePlotModule:t(\\\"../../plots/cartesian\\\"),categories:[\\\"bar-like\\\",\\\"cartesian\\\",\\\"svg\\\",\\\"oriented\\\",\\\"showLegend\\\",\\\"zoomScale\\\"],meta:{}}},{\\\"../../plots/cartesian\\\":789,\\\"../bar/select\\\":881,\\\"./attributes\\\":1299,\\\"./calc\\\":1300,\\\"./cross_trace_calc\\\":1302,\\\"./defaults\\\":1303,\\\"./event_data\\\":1304,\\\"./hover\\\":1305,\\\"./layout_attributes\\\":1307,\\\"./layout_defaults\\\":1308,\\\"./plot\\\":1309,\\\"./style\\\":1310}],1307:[function(t,e,n){\\\"use strict\\\";e.exports={waterfallmode:{valType:\\\"enumerated\\\",values:[\\\"group\\\",\\\"overlay\\\"],dflt:\\\"group\\\",editType:\\\"calc\\\"},waterfallgap:{valType:\\\"number\\\",min:0,max:1,editType:\\\"calc\\\"},waterfallgroupgap:{valType:\\\"number\\\",min:0,max:1,dflt:0,editType:\\\"calc\\\"}}},{}],1308:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../../lib\\\"),i=t(\\\"./layout_attributes\\\");e.exports=function(t,e,n){var o=!1;function a(n,o){return r.coerce(t,e,i,n,o)}for(var s=0;s<n.length;s++){var l=n[s];if(l.visible&&\\\"waterfall\\\"===l.type){o=!0;break}}o&&(a(\\\"waterfallmode\\\"),a(\\\"waterfallgap\\\",.2),a(\\\"waterfallgroupgap\\\"))}},{\\\"../../lib\\\":728,\\\"./layout_attributes\\\":1307}],1309:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../lib\\\"),o=t(\\\"../../components/drawing\\\"),a=t(\\\"../../constants/numerical\\\").BADNUM,s=t(\\\"../bar/plot\\\"),l=t(\\\"../bar/uniform_text\\\").clearMinTextSize;e.exports=function(t,e,n,u){var c=t._fullLayout;l(\\\"waterfall\\\",c),s.plot(t,e,n,u,{mode:c.waterfallmode,norm:c.waterfallmode,gap:c.waterfallgap,groupgap:c.waterfallgroupgap}),function(t,e,n,s){var l=e.xaxis,u=e.yaxis;i.makeTraceGroups(s,n,\\\"trace bars\\\").each((function(n){var s=r.select(this),c=n[0].trace,h=i.ensureSingle(s,\\\"g\\\",\\\"lines\\\");if(c.connector&&c.connector.visible){var p=\\\"h\\\"===c.orientation,f=c.connector.mode,d=h.selectAll(\\\"g.line\\\").data(i.identity);d.enter().append(\\\"g\\\").classed(\\\"line\\\",!0),d.exit().remove();var m=d.size();d.each((function(n,s){if(s===m-1||n.cNext){var c=function(t,e,n,r){var i=[],o=[],a=r?e:n,s=r?n:e;return i[0]=a.c2p(t.s0,!0),o[0]=s.c2p(t.p0,!0),i[1]=a.c2p(t.s1,!0),o[1]=s.c2p(t.p1,!0),i[2]=a.c2p(t.nextS0,!0),o[2]=s.c2p(t.nextP0,!0),r?[i,o]:[o,i]}(n,l,u,p),h=c[0],d=c[1],v=\\\"\\\";h[0]!==a&&d[0]!==a&&h[1]!==a&&d[1]!==a&&(\\\"spanning\\\"===f&&!n.isSum&&s>0&&(v+=p?\\\"M\\\"+h[0]+\\\",\\\"+d[1]+\\\"V\\\"+d[0]:\\\"M\\\"+h[1]+\\\",\\\"+d[0]+\\\"H\\\"+h[0]),\\\"between\\\"!==f&&(n.isSum||s<m-1)&&(v+=p?\\\"M\\\"+h[1]+\\\",\\\"+d[0]+\\\"V\\\"+d[1]:\\\"M\\\"+h[0]+\\\",\\\"+d[1]+\\\"H\\\"+h[1]),h[2]!==a&&d[2]!==a&&(v+=p?\\\"M\\\"+h[1]+\\\",\\\"+d[1]+\\\"V\\\"+d[2]:\\\"M\\\"+h[1]+\\\",\\\"+d[1]+\\\"H\\\"+h[2])),\\\"\\\"===v&&(v=\\\"M0,0Z\\\"),i.ensureSingle(r.select(this),\\\"path\\\").attr(\\\"d\\\",v).call(o.setClipUrl,e.layerClipId,t)}}))}else h.remove()}))}(t,e,n,u)}},{\\\"../../components/drawing\\\":617,\\\"../../constants/numerical\\\":704,\\\"../../lib\\\":728,\\\"../bar/plot\\\":880,\\\"../bar/uniform_text\\\":885,d3:164}],1310:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"d3\\\"),i=t(\\\"../../components/drawing\\\"),o=t(\\\"../../components/color\\\"),a=t(\\\"../../constants/interactions\\\").DESELECTDIM,s=t(\\\"../bar/style\\\"),l=t(\\\"../bar/uniform_text\\\").resizeText,u=s.styleTextPoints;e.exports={style:function(t,e,n){var s=n||r.select(t).selectAll(\\\"g.waterfalllayer\\\").selectAll(\\\"g.trace\\\");l(t,s,\\\"waterfall\\\"),s.style(\\\"opacity\\\",(function(t){return t[0].trace.opacity})),s.each((function(e){var n=r.select(this),s=e[0].trace;n.selectAll(\\\".point > path\\\").each((function(t){if(!t.isBlank){var e=s[t.dir].marker;r.select(this).call(o.fill,e.color).call(o.stroke,e.line.color).call(i.dashLine,e.line.dash,e.line.width).style(\\\"opacity\\\",s.selectedpoints&&!t.selected?a:1)}})),u(n,s,t),n.selectAll(\\\".lines\\\").each((function(){var t=s.connector.line;i.lineGroupStyle(r.select(this).selectAll(\\\"path\\\"),t.width,t.color,t.dash)}))}))}}},{\\\"../../components/color\\\":595,\\\"../../components/drawing\\\":617,\\\"../../constants/interactions\\\":703,\\\"../bar/style\\\":883,\\\"../bar/uniform_text\\\":885,d3:164}],1311:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../plots/cartesian/axes\\\"),i=t(\\\"../lib\\\"),o=t(\\\"../plot_api/plot_schema\\\"),a=t(\\\"./helpers\\\").pointsAccessorFunction,s=t(\\\"../constants/numerical\\\").BADNUM;n.moduleType=\\\"transform\\\",n.name=\\\"aggregate\\\";var l=n.attributes={enabled:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},groups:{valType:\\\"string\\\",strict:!0,noBlank:!0,arrayOk:!0,dflt:\\\"x\\\",editType:\\\"calc\\\"},aggregations:{_isLinkedToArray:\\\"aggregation\\\",target:{valType:\\\"string\\\",editType:\\\"calc\\\"},func:{valType:\\\"enumerated\\\",values:[\\\"count\\\",\\\"sum\\\",\\\"avg\\\",\\\"median\\\",\\\"mode\\\",\\\"rms\\\",\\\"stddev\\\",\\\"min\\\",\\\"max\\\",\\\"first\\\",\\\"last\\\",\\\"change\\\",\\\"range\\\"],dflt:\\\"first\\\",editType:\\\"calc\\\"},funcmode:{valType:\\\"enumerated\\\",values:[\\\"sample\\\",\\\"population\\\"],dflt:\\\"sample\\\",editType:\\\"calc\\\"},enabled:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},editType:\\\"calc\\\"},editType:\\\"calc\\\"},u=l.aggregations;function c(t,e,n,o){if(o.enabled){for(var a=o.target,l=i.nestedProperty(e,a),u=l.get(),c=function(t,e){var n=t.func,r=e.d2c,o=e.c2d;switch(n){case\\\"count\\\":return h;case\\\"first\\\":return p;case\\\"last\\\":return f;case\\\"sum\\\":return function(t,e){for(var n=0,i=0;i<e.length;i++){var a=r(t[e[i]]);a!==s&&(n+=a)}return o(n)};case\\\"avg\\\":return function(t,e){for(var n=0,i=0,a=0;a<e.length;a++){var l=r(t[e[a]]);l!==s&&(n+=l,i++)}return i?o(n/i):s};case\\\"min\\\":return function(t,e){for(var n=1/0,i=0;i<e.length;i++){var a=r(t[e[i]]);a!==s&&(n=Math.min(n,a))}return n===1/0?s:o(n)};case\\\"max\\\":return function(t,e){for(var n=-1/0,i=0;i<e.length;i++){var a=r(t[e[i]]);a!==s&&(n=Math.max(n,a))}return n===-1/0?s:o(n)};case\\\"range\\\":return function(t,e){for(var n=1/0,i=-1/0,a=0;a<e.length;a++){var l=r(t[e[a]]);l!==s&&(n=Math.min(n,l),i=Math.max(i,l))}return i===-1/0||n===1/0?s:o(i-n)};case\\\"change\\\":return function(t,e){var n=r(t[e[0]]),i=r(t[e[e.length-1]]);return n===s||i===s?s:o(i-n)};case\\\"median\\\":return function(t,e){for(var n=[],a=0;a<e.length;a++){var l=r(t[e[a]]);l!==s&&n.push(l)}if(!n.length)return s;n.sort(i.sorterAsc);var u=(n.length-1)/2;return o((n[Math.floor(u)]+n[Math.ceil(u)])/2)};case\\\"mode\\\":return function(t,e){for(var n={},i=0,a=s,l=0;l<e.length;l++){var u=r(t[e[l]]);if(u!==s){var c=n[u]=(n[u]||0)+1;c>i&&(i=c,a=u)}}return i?o(a):s};case\\\"rms\\\":return function(t,e){for(var n=0,i=0,a=0;a<e.length;a++){var l=r(t[e[a]]);l!==s&&(n+=l*l,i++)}return i?o(Math.sqrt(n/i)):s};case\\\"stddev\\\":return function(e,n){var i,o=0,a=0,l=1,u=s;for(i=0;i<n.length&&u===s;i++)u=r(e[n[i]]);if(u===s)return s;for(;i<n.length;i++){var c=r(e[n[i]]);if(c!==s){var h=c-u;o+=h,a+=h*h,l++}}var p=\\\"sample\\\"===t.funcmode?l-1:l;return p?Math.sqrt((a-o*o/l)/p):0}}}(o,r.getDataConversions(t,e,a,u)),d=new Array(n.length),m=0;m<n.length;m++)d[m]=c(u,n[m]);l.set(d),\\\"count\\\"===o.func&&i.pushUnique(e._arrayAttrs,a)}}function h(t,e){return e.length}function p(t,e){return t[e[0]]}function f(t,e){return t[e[e.length-1]]}n.supplyDefaults=function(t,e){var n,r={};function a(e,n){return i.coerce(t,r,l,e,n)}if(!a(\\\"enabled\\\"))return r;var s=o.findArrayAttributes(e),c={};for(n=0;n<s.length;n++)c[s[n]]=1;var h=a(\\\"groups\\\");if(!Array.isArray(h)){if(!c[h])return r.enabled=!1,r;c[h]=0}var p,f=t.aggregations||[],d=r.aggregations=new Array(f.length);function m(t,e){return i.coerce(f[n],p,u,t,e)}for(n=0;n<f.length;n++){p={_index:n};var v=m(\\\"target\\\"),g=m(\\\"func\\\");m(\\\"enabled\\\")&&v&&(c[v]||\\\"count\\\"===g&&void 0===c[v])?(\\\"stddev\\\"===g&&m(\\\"funcmode\\\"),c[v]=0,d[n]=p):d[n]={enabled:!1,_index:n}}for(n=0;n<s.length;n++)c[s[n]]&&d.push({target:s[n],func:u.func.dflt,enabled:!0,_index:-1});return r},n.calcTransform=function(t,e,n){if(n.enabled){var r=n.groups,o=i.getTargetArray(e,{target:r});if(o){var s,l,u,h,p={},f={},d=[],m=a(e.transforms,n),v=o.length;for(e._length&&(v=Math.min(v,e._length)),s=0;s<v;s++)void 0===(u=p[l=o[s]])?(p[l]=d.length,h=[s],d.push(h),f[p[l]]=m(s)):(d[u].push(s),f[p[l]]=(f[p[l]]||[]).concat(m(s)));n._indexToPoints=f;var g=n.aggregations;for(s=0;s<g.length;s++)c(t,e,d,g[s]);\\\"string\\\"==typeof r&&c(t,e,d,{target:r,func:\\\"first\\\",enabled:!0}),e._length=d.length}}}},{\\\"../constants/numerical\\\":704,\\\"../lib\\\":728,\\\"../plot_api/plot_schema\\\":765,\\\"../plots/cartesian/axes\\\":776,\\\"./helpers\\\":1314}],1312:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../registry\\\"),o=t(\\\"../plots/cartesian/axes\\\"),a=t(\\\"./helpers\\\").pointsAccessorFunction,s=t(\\\"../constants/filter_ops\\\"),l=s.COMPARISON_OPS,u=s.INTERVAL_OPS,c=s.SET_OPS;n.moduleType=\\\"transform\\\",n.name=\\\"filter\\\",n.attributes={enabled:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},target:{valType:\\\"string\\\",strict:!0,noBlank:!0,arrayOk:!0,dflt:\\\"x\\\",editType:\\\"calc\\\"},operation:{valType:\\\"enumerated\\\",values:[].concat(l).concat(u).concat(c),dflt:\\\"=\\\",editType:\\\"calc\\\"},value:{valType:\\\"any\\\",dflt:0,editType:\\\"calc\\\"},preservegaps:{valType:\\\"boolean\\\",dflt:!1,editType:\\\"calc\\\"},editType:\\\"calc\\\"},n.supplyDefaults=function(t){var e={};function o(i,o){return r.coerce(t,e,n.attributes,i,o)}if(o(\\\"enabled\\\")){var a=o(\\\"target\\\");if(r.isArrayOrTypedArray(a)&&0===a.length)return e.enabled=!1,e;o(\\\"preservegaps\\\"),o(\\\"operation\\\"),o(\\\"value\\\");var s=i.getComponentMethod(\\\"calendars\\\",\\\"handleDefaults\\\");s(t,e,\\\"valuecalendar\\\",null),s(t,e,\\\"targetcalendar\\\",null)}return e},n.calcTransform=function(t,e,n){if(n.enabled){var i=r.getTargetArray(e,n);if(i){var s=n.target,h=i.length;e._length&&(h=Math.min(h,e._length));var p=n.targetcalendar,f=e._arrayAttrs,d=n.preservegaps;if(\\\"string\\\"==typeof s){var m=r.nestedProperty(e,s+\\\"calendar\\\").get();m&&(p=m)}var v,g,y=function(t,e,n){var r=t.operation,i=t.value,o=Array.isArray(i);function a(t){return-1!==t.indexOf(r)}var s,h=function(n){return e(n,0,t.valuecalendar)},p=function(t){return e(t,0,n)};switch(a(l)?s=h(o?i[0]:i):a(u)?s=o?[h(i[0]),h(i[1])]:[h(i),h(i)]:a(c)&&(s=o?i.map(h):[h(i)]),r){case\\\"=\\\":return function(t){return p(t)===s};case\\\"!=\\\":return function(t){return p(t)!==s};case\\\"<\\\":return function(t){return p(t)<s};case\\\"<=\\\":return function(t){return p(t)<=s};case\\\">\\\":return function(t){return p(t)>s};case\\\">=\\\":return function(t){return p(t)>=s};case\\\"[]\\\":return function(t){var e=p(t);return e>=s[0]&&e<=s[1]};case\\\"()\\\":return function(t){var e=p(t);return e>s[0]&&e<s[1]};case\\\"[)\\\":return function(t){var e=p(t);return e>=s[0]&&e<s[1]};case\\\"(]\\\":return function(t){var e=p(t);return e>s[0]&&e<=s[1]};case\\\"][\\\":return function(t){var e=p(t);return e<=s[0]||e>=s[1]};case\\\")(\\\":return function(t){var e=p(t);return e<s[0]||e>s[1]};case\\\"](\\\":return function(t){var e=p(t);return e<=s[0]||e>s[1]};case\\\")[\\\":return function(t){var e=p(t);return e<s[0]||e>=s[1]};case\\\"{}\\\":return function(t){return-1!==s.indexOf(p(t))};case\\\"}{\\\":return function(t){return-1===s.indexOf(p(t))}}}(n,o.getDataToCoordFunc(t,e,s,i),p),_={},b={},x=0;d?(v=function(t){_[t.astr]=r.extendDeep([],t.get()),t.set(new Array(h))},g=function(t,e){var n=_[t.astr][e];t.get()[e]=n}):(v=function(t){_[t.astr]=r.extendDeep([],t.get()),t.set([])},g=function(t,e){var n=_[t.astr][e];t.get().push(n)}),C(v);for(var w=a(e.transforms,n),A=0;A<h;A++)y(i[A])?(C(g,A),b[x++]=w(A)):d&&x++;n._indexToPoints=b,e._length=x}}function C(t,n){for(var i=0;i<f.length;i++)t(r.nestedProperty(e,f[i]),n)}}},{\\\"../constants/filter_ops\\\":700,\\\"../lib\\\":728,\\\"../plots/cartesian/axes\\\":776,\\\"../registry\\\":859,\\\"./helpers\\\":1314}],1313:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../plot_api/plot_schema\\\"),o=t(\\\"../plots/plots\\\"),a=t(\\\"./helpers\\\").pointsAccessorFunction;function s(t,e){var n,s,l,u,c,h,p,f,d,m,v=e.transform,g=e.transformIndex,y=t.transforms[g].groups,_=a(t.transforms,v);if(!r.isArrayOrTypedArray(y)||0===y.length)return[t];var b=r.filterUnique(y),x=new Array(b.length),w=y.length,A=i.findArrayAttributes(t),C=v.styles||[],M={};for(n=0;n<C.length;n++)M[C[n].target]=C[n].value;v.styles&&(m=r.keyedContainer(v,\\\"styles\\\",\\\"target\\\",\\\"value.name\\\"));var E={},T={};for(n=0;n<b.length;n++){E[h=b[n]]=n,T[h]=0,(p=x[n]=r.extendDeepNoArrays({},t))._group=h,p.transforms[g]._indexToPoints={};var S=null;for(m&&(S=m.get(h)),p.name=S||\\\"\\\"===S?S:r.templateString(v.nameformat,{trace:t.name,group:h}),f=p.transforms,p.transforms=[],s=0;s<f.length;s++)p.transforms[s]=r.extendDeepNoArrays({},f[s]);for(s=0;s<A.length;s++)r.nestedProperty(p,A[s]).set([])}for(l=0;l<A.length;l++){for(u=A[l],s=0,d=[];s<b.length;s++)d[s]=r.nestedProperty(x[s],u).get();for(c=r.nestedProperty(t,u).get(),s=0;s<w;s++)d[E[y[s]]].push(c[s])}for(s=0;s<w;s++)(p=x[E[y[s]]]).transforms[g]._indexToPoints[T[y[s]]]=_(s),T[y[s]]++;for(n=0;n<b.length;n++)h=b[n],p=x[n],o.clearExpandedTraceDefaultColors(p),p=r.extendDeepNoArrays(p,M[h]||{});return x}n.moduleType=\\\"transform\\\",n.name=\\\"groupby\\\",n.attributes={enabled:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},groups:{valType:\\\"data_array\\\",dflt:[],editType:\\\"calc\\\"},nameformat:{valType:\\\"string\\\",editType:\\\"calc\\\"},styles:{_isLinkedToArray:\\\"style\\\",target:{valType:\\\"string\\\",editType:\\\"calc\\\"},value:{valType:\\\"any\\\",dflt:{},editType:\\\"calc\\\",_compareAsJSON:!0},editType:\\\"calc\\\"},editType:\\\"calc\\\"},n.supplyDefaults=function(t,e,i){var o,a={};function s(e,i){return r.coerce(t,a,n.attributes,e,i)}if(!s(\\\"enabled\\\"))return a;s(\\\"groups\\\"),s(\\\"nameformat\\\",i._dataLength>1?\\\"%{group} (%{trace})\\\":\\\"%{group}\\\");var l=t.styles,u=a.styles=[];if(l)for(o=0;o<l.length;o++){var c=u[o]={};r.coerce(l[o],u[o],n.attributes.styles,\\\"target\\\");var h=r.coerce(l[o],u[o],n.attributes.styles,\\\"value\\\");r.isPlainObject(h)?c.value=r.extendDeep({},h):h&&delete c.value}return a},n.transform=function(t,e){var n,r,i,o=[];for(r=0;r<t.length;r++)for(n=s(t[r],e),i=0;i<n.length;i++)o.push(n[i]);return o}},{\\\"../lib\\\":728,\\\"../plot_api/plot_schema\\\":765,\\\"../plots/plots\\\":839,\\\"./helpers\\\":1314}],1314:[function(t,e,n){\\\"use strict\\\";n.pointsAccessorFunction=function(t,e){for(var n,r,i=0;i<t.length&&(n=t[i])!==e;i++)n._indexToPoints&&!1!==n.enabled&&(r=n._indexToPoints);var o=r?function(t){return r[t]}:function(t){return[t]};return o}},{}],1315:[function(t,e,n){\\\"use strict\\\";var r=t(\\\"../lib\\\"),i=t(\\\"../plots/cartesian/axes\\\"),o=t(\\\"./helpers\\\").pointsAccessorFunction,a=t(\\\"../constants/numerical\\\").BADNUM;function s(t,e,n,r){var i,o=new Array(r),s=new Array(r);for(i=0;i<r;i++)o[i]={v:e[i],i};for(o.sort(function(t,e){switch(t.order){case\\\"ascending\\\":return function(t,n){var r=e(t.v),i=e(n.v);return r===a?1:i===a?-1:r-i};case\\\"descending\\\":return function(t,n){var r=e(t.v),i=e(n.v);return r===a?1:i===a?-1:i-r}}}(t,n)),i=0;i<r;i++)s[i]=o[i].i;return s}n.moduleType=\\\"transform\\\",n.name=\\\"sort\\\",n.attributes={enabled:{valType:\\\"boolean\\\",dflt:!0,editType:\\\"calc\\\"},target:{valType:\\\"string\\\",strict:!0,noBlank:!0,arrayOk:!0,dflt:\\\"x\\\",editType:\\\"calc\\\"},order:{valType:\\\"enumerated\\\",values:[\\\"ascending\\\",\\\"descending\\\"],dflt:\\\"ascending\\\",editType:\\\"calc\\\"},editType:\\\"calc\\\"},n.supplyDefaults=function(t){var e={};function i(i,o){return r.coerce(t,e,n.attributes,i,o)}return i(\\\"enabled\\\")&&(i(\\\"target\\\"),i(\\\"order\\\")),e},n.calcTransform=function(t,e,n){if(n.enabled){var a=r.getTargetArray(e,n);if(a){var l=n.target,u=a.length;e._length&&(u=Math.min(u,e._length));var c,h,p=e._arrayAttrs,f=s(n,a,i.getDataToCoordFunc(t,e,l,a),u),d=o(e.transforms,n),m={};for(c=0;c<p.length;c++){var v=r.nestedProperty(e,p[c]),g=v.get(),y=new Array(u);for(h=0;h<u;h++)y[h]=g[f[h]];v.set(y)}for(h=0;h<u;h++)m[h]=d(f[h]);n._indexToPoints=m,e._length=u}}}},{\\\"../constants/numerical\\\":704,\\\"../lib\\\":728,\\\"../plots/cartesian/axes\\\":776,\\\"./helpers\\\":1314}],1316:[function(t,e,n){\\\"use strict\\\";n.version=\\\"1.54.6\\\"},{}]},{},[26])(26)},7730:(t,e,n)=>{\\\"use strict\\\";var r=n(2017);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,a){if(a!==r){var s=new Error(\\\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\\\");throw s.name=\\\"Invariant Violation\\\",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},7641:(t,e,n)=>{t.exports=n(7730)()},2017:t=>{\\\"use strict\\\";t.exports=\\\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\\\"},3936:(t,e,n)=>{\\\"use strict\\\";var r=n(6204),i=n(6489);function o(t){for(var e=\\\"https://reactjs.org/docs/error-decoder.html?invariant=\\\"+t,n=1;n<arguments.length;n++)e+=\\\"&args[]=\\\"+encodeURIComponent(arguments[n]);return\\\"Minified React error #\\\"+t+\\\"; visit \\\"+e+\\\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\\\"}var a=new Set,s={};function l(t,e){u(t,e),u(t+\\\"Capture\\\",e)}function u(t,e){for(s[t]=e,t=0;t<e.length;t++)a.add(e[t])}var c=!(\\\"undefined\\\"==typeof window||void 0===window.document||void 0===window.document.createElement),h=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$/,f={},d={};function m(t,e,n,r,i,o,a){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var v={};\\\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\\\".split(\\\" \\\").forEach((function(t){v[t]=new m(t,0,!1,t,null,!1,!1)})),[[\\\"acceptCharset\\\",\\\"accept-charset\\\"],[\\\"className\\\",\\\"class\\\"],[\\\"htmlFor\\\",\\\"for\\\"],[\\\"httpEquiv\\\",\\\"http-equiv\\\"]].forEach((function(t){var e=t[0];v[e]=new m(e,1,!1,t[1],null,!1,!1)})),[\\\"contentEditable\\\",\\\"draggable\\\",\\\"spellCheck\\\",\\\"value\\\"].forEach((function(t){v[t]=new m(t,2,!1,t.toLowerCase(),null,!1,!1)})),[\\\"autoReverse\\\",\\\"externalResourcesRequired\\\",\\\"focusable\\\",\\\"preserveAlpha\\\"].forEach((function(t){v[t]=new m(t,2,!1,t,null,!1,!1)})),\\\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\\\".split(\\\" \\\").forEach((function(t){v[t]=new m(t,3,!1,t.toLowerCase(),null,!1,!1)})),[\\\"checked\\\",\\\"multiple\\\",\\\"muted\\\",\\\"selected\\\"].forEach((function(t){v[t]=new m(t,3,!0,t,null,!1,!1)})),[\\\"capture\\\",\\\"download\\\"].forEach((function(t){v[t]=new m(t,4,!1,t,null,!1,!1)})),[\\\"cols\\\",\\\"rows\\\",\\\"size\\\",\\\"span\\\"].forEach((function(t){v[t]=new m(t,6,!1,t,null,!1,!1)})),[\\\"rowSpan\\\",\\\"start\\\"].forEach((function(t){v[t]=new m(t,5,!1,t.toLowerCase(),null,!1,!1)}));var g=/[\\\\-:]([a-z])/g;function y(t){return t[1].toUpperCase()}function _(t,e,n,r){var i=v.hasOwnProperty(e)?v[e]:null;(null!==i?0!==i.type:r||!(2<e.length)||\\\"o\\\"!==e[0]&&\\\"O\\\"!==e[0]||\\\"n\\\"!==e[1]&&\\\"N\\\"!==e[1])&&(function(t,e,n,r){if(null==e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case\\\"function\\\":case\\\"symbol\\\":return!0;case\\\"boolean\\\":return!r&&(null!==n?!n.acceptsBooleans:\\\"data-\\\"!==(t=t.toLowerCase().slice(0,5))&&\\\"aria-\\\"!==t);default:return!1}}(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,i,r)&&(n=null),r||null===i?function(t){return!!h.call(d,t)||!h.call(f,t)&&(p.test(t)?d[t]=!0:(f[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,\\\"\\\"+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&\\\"\\\":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?\\\"\\\":\\\"\\\"+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}\\\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\\\".split(\\\" \\\").forEach((function(t){var e=t.replace(g,y);v[e]=new m(e,1,!1,t,null,!1,!1)})),\\\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\\\".split(\\\" \\\").forEach((function(t){var e=t.replace(g,y);v[e]=new m(e,1,!1,t,\\\"http://www.w3.org/1999/xlink\\\",!1,!1)})),[\\\"xml:base\\\",\\\"xml:lang\\\",\\\"xml:space\\\"].forEach((function(t){var e=t.replace(g,y);v[e]=new m(e,1,!1,t,\\\"http://www.w3.org/XML/1998/namespace\\\",!1,!1)})),[\\\"tabIndex\\\",\\\"crossOrigin\\\"].forEach((function(t){v[t]=new m(t,1,!1,t.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m(\\\"xlinkHref\\\",1,!1,\\\"xlink:href\\\",\\\"http://www.w3.org/1999/xlink\\\",!0,!1),[\\\"src\\\",\\\"href\\\",\\\"action\\\",\\\"formAction\\\"].forEach((function(t){v[t]=new m(t,1,!1,t.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for(\\\"react.element\\\"),w=Symbol.for(\\\"react.portal\\\"),A=Symbol.for(\\\"react.fragment\\\"),C=Symbol.for(\\\"react.strict_mode\\\"),M=Symbol.for(\\\"react.profiler\\\"),E=Symbol.for(\\\"react.provider\\\"),T=Symbol.for(\\\"react.context\\\"),S=Symbol.for(\\\"react.forward_ref\\\"),k=Symbol.for(\\\"react.suspense\\\"),O=Symbol.for(\\\"react.suspense_list\\\"),I=Symbol.for(\\\"react.memo\\\"),L=Symbol.for(\\\"react.lazy\\\");Symbol.for(\\\"react.scope\\\"),Symbol.for(\\\"react.debug_trace_mode\\\");var P=Symbol.for(\\\"react.offscreen\\\");Symbol.for(\\\"react.legacy_hidden\\\"),Symbol.for(\\\"react.cache\\\"),Symbol.for(\\\"react.tracing_marker\\\");var z=Symbol.iterator;function R(t){return null===t||\\\"object\\\"!=typeof t?null:\\\"function\\\"==typeof(t=z&&t[z]||t[\\\"@@iterator\\\"])?t:null}var D,$=Object.assign;function B(t){if(void 0===D)try{throw Error()}catch(t){var e=t.stack.trim().match(/\\\\n( *(at )?)/);D=e&&e[1]||\\\"\\\"}return\\\"\\\\n\\\"+D+t}var N=!1;function F(t,e){if(!t||N)return\\\"\\\";N=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,\\\"props\\\",{set:function(){throw Error()}}),\\\"object\\\"==typeof Reflect&&Reflect.construct){try{Reflect.construct(e,[])}catch(t){var r=t}Reflect.construct(t,[],e)}else{try{e.call()}catch(t){r=t}t.call(e.prototype)}else{try{throw Error()}catch(t){r=t}t()}}catch(e){if(e&&r&&\\\"string\\\"==typeof e.stack){for(var i=e.stack.split(\\\"\\\\n\\\"),o=r.stack.split(\\\"\\\\n\\\"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l=\\\"\\\\n\\\"+i[a].replace(\\\" at new \\\",\\\" at \\\");return t.displayName&&l.includes(\\\"<anonymous>\\\")&&(l=l.replace(\\\"<anonymous>\\\",t.displayName)),l}}while(1<=a&&0<=s);break}}}finally{N=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:\\\"\\\")?B(t):\\\"\\\"}function j(t){switch(t.tag){case 5:return B(t.type);case 16:return B(\\\"Lazy\\\");case 13:return B(\\\"Suspense\\\");case 19:return B(\\\"SuspenseList\\\");case 0:case 2:case 15:return F(t.type,!1);case 11:return F(t.type.render,!1);case 1:return F(t.type,!0);default:return\\\"\\\"}}function U(t){if(null==t)return null;if(\\\"function\\\"==typeof t)return t.displayName||t.name||null;if(\\\"string\\\"==typeof t)return t;switch(t){case A:return\\\"Fragment\\\";case w:return\\\"Portal\\\";case M:return\\\"Profiler\\\";case C:return\\\"StrictMode\\\";case k:return\\\"Suspense\\\";case O:return\\\"SuspenseList\\\"}if(\\\"object\\\"==typeof t)switch(t.$$typeof){case T:return(t.displayName||\\\"Context\\\")+\\\".Consumer\\\";case E:return(t._context.displayName||\\\"Context\\\")+\\\".Provider\\\";case S:var e=t.render;return(t=t.displayName)||(t=\\\"\\\"!==(t=e.displayName||e.name||\\\"\\\")?\\\"ForwardRef(\\\"+t+\\\")\\\":\\\"ForwardRef\\\"),t;case I:return null!==(e=t.displayName||null)?e:U(t.type)||\\\"Memo\\\";case L:e=t._payload,t=t._init;try{return U(t(e))}catch(t){}}return null}function q(t){var e=t.type;switch(t.tag){case 24:return\\\"Cache\\\";case 9:return(e.displayName||\\\"Context\\\")+\\\".Consumer\\\";case 10:return(e._context.displayName||\\\"Context\\\")+\\\".Provider\\\";case 18:return\\\"DehydratedFragment\\\";case 11:return t=(t=e.render).displayName||t.name||\\\"\\\",e.displayName||(\\\"\\\"!==t?\\\"ForwardRef(\\\"+t+\\\")\\\":\\\"ForwardRef\\\");case 7:return\\\"Fragment\\\";case 5:return e;case 4:return\\\"Portal\\\";case 3:return\\\"Root\\\";case 6:return\\\"Text\\\";case 16:return U(e);case 8:return e===C?\\\"StrictMode\\\":\\\"Mode\\\";case 22:return\\\"Offscreen\\\";case 12:return\\\"Profiler\\\";case 21:return\\\"Scope\\\";case 13:return\\\"Suspense\\\";case 19:return\\\"SuspenseList\\\";case 25:return\\\"TracingMarker\\\";case 1:case 0:case 17:case 2:case 14:case 15:if(\\\"function\\\"==typeof e)return e.displayName||e.name||null;if(\\\"string\\\"==typeof e)return e}return null}function V(t){switch(typeof t){case\\\"boolean\\\":case\\\"number\\\":case\\\"string\\\":case\\\"undefined\\\":case\\\"object\\\":return t;default:return\\\"\\\"}}function H(t){var e=t.type;return(t=t.nodeName)&&\\\"input\\\"===t.toLowerCase()&&(\\\"checkbox\\\"===e||\\\"radio\\\"===e)}function G(t){t._valueTracker||(t._valueTracker=function(t){var e=H(t)?\\\"checked\\\":\\\"value\\\",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=\\\"\\\"+t[e];if(!t.hasOwnProperty(e)&&void 0!==n&&\\\"function\\\"==typeof n.get&&\\\"function\\\"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=\\\"\\\"+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=\\\"\\\"+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function W(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r=\\\"\\\";return t&&(r=H(t)?t.checked?\\\"true\\\":\\\"false\\\":t.value),(t=r)!==n&&(e.setValue(t),!0)}function X(t){if(void 0===(t=t||(\\\"undefined\\\"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function Y(t,e){var n=e.checked;return $({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function Z(t,e){var n=null==e.defaultValue?\\\"\\\":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=V(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:\\\"checkbox\\\"===e.type||\\\"radio\\\"===e.type?null!=e.checked:null!=e.value}}function K(t,e){null!=(e=e.checked)&&_(t,\\\"checked\\\",e,!1)}function J(t,e){K(t,e);var n=V(e.value),r=e.type;if(null!=n)\\\"number\\\"===r?(0===n&&\\\"\\\"===t.value||t.value!=n)&&(t.value=\\\"\\\"+n):t.value!==\\\"\\\"+n&&(t.value=\\\"\\\"+n);else if(\\\"submit\\\"===r||\\\"reset\\\"===r)return void t.removeAttribute(\\\"value\\\");e.hasOwnProperty(\\\"value\\\")?tt(t,e.type,n):e.hasOwnProperty(\\\"defaultValue\\\")&&tt(t,e.type,V(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function Q(t,e,n){if(e.hasOwnProperty(\\\"value\\\")||e.hasOwnProperty(\\\"defaultValue\\\")){var r=e.type;if(!(\\\"submit\\\"!==r&&\\\"reset\\\"!==r||void 0!==e.value&&null!==e.value))return;e=\\\"\\\"+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}\\\"\\\"!==(n=t.name)&&(t.name=\\\"\\\"),t.defaultChecked=!!t._wrapperState.initialChecked,\\\"\\\"!==n&&(t.name=n)}function tt(t,e,n){\\\"number\\\"===e&&X(t.ownerDocument)===t||(null==n?t.defaultValue=\\\"\\\"+t._wrapperState.initialValue:t.defaultValue!==\\\"\\\"+n&&(t.defaultValue=\\\"\\\"+n))}var et=Array.isArray;function nt(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e[\\\"$\\\"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty(\\\"$\\\"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=\\\"\\\"+V(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function rt(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(o(91));return $({},e,{value:void 0,defaultValue:void 0,children:\\\"\\\"+t._wrapperState.initialValue})}function it(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(o(92));if(et(n)){if(1<n.length)throw Error(o(93));n=n[0]}e=n}null==e&&(e=\\\"\\\"),n=e}t._wrapperState={initialValue:V(n)}}function ot(t,e){var n=V(e.value),r=V(e.defaultValue);null!=n&&((n=\\\"\\\"+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=\\\"\\\"+r)}function at(t){var e=t.textContent;e===t._wrapperState.initialValue&&\\\"\\\"!==e&&null!==e&&(t.value=e)}function st(t){switch(t){case\\\"svg\\\":return\\\"http://www.w3.org/2000/svg\\\";case\\\"math\\\":return\\\"http://www.w3.org/1998/Math/MathML\\\";default:return\\\"http://www.w3.org/1999/xhtml\\\"}}function lt(t,e){return null==t||\\\"http://www.w3.org/1999/xhtml\\\"===t?st(e):\\\"http://www.w3.org/2000/svg\\\"===t&&\\\"foreignObject\\\"===e?\\\"http://www.w3.org/1999/xhtml\\\":t}var ut,ct,ht=(ct=function(t,e){if(\\\"http://www.w3.org/2000/svg\\\"!==t.namespaceURI||\\\"innerHTML\\\"in t)t.innerHTML=e;else{for((ut=ut||document.createElement(\\\"div\\\")).innerHTML=\\\"<svg>\\\"+e.valueOf().toString()+\\\"</svg>\\\",e=ut.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},\\\"undefined\\\"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,n,r){MSApp.execUnsafeLocalFunction((function(){return ct(t,e)}))}:ct);function pt(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}var ft={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},dt=[\\\"Webkit\\\",\\\"ms\\\",\\\"Moz\\\",\\\"O\\\"];function mt(t,e,n){return null==e||\\\"boolean\\\"==typeof e||\\\"\\\"===e?\\\"\\\":n||\\\"number\\\"!=typeof e||0===e||ft.hasOwnProperty(t)&&ft[t]?(\\\"\\\"+e).trim():e+\\\"px\\\"}function vt(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf(\\\"--\\\"),i=mt(n,e[n],r);\\\"float\\\"===n&&(n=\\\"cssFloat\\\"),r?t.setProperty(n,i):t[n]=i}}Object.keys(ft).forEach((function(t){dt.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ft[e]=ft[t]}))}));var gt=$({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function yt(t,e){if(e){if(gt[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(o(137,t));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(o(60));if(\\\"object\\\"!=typeof e.dangerouslySetInnerHTML||!(\\\"__html\\\"in e.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=e.style&&\\\"object\\\"!=typeof e.style)throw Error(o(62))}}function _t(t,e){if(-1===t.indexOf(\\\"-\\\"))return\\\"string\\\"==typeof e.is;switch(t){case\\\"annotation-xml\\\":case\\\"color-profile\\\":case\\\"font-face\\\":case\\\"font-face-src\\\":case\\\"font-face-uri\\\":case\\\"font-face-format\\\":case\\\"font-face-name\\\":case\\\"missing-glyph\\\":return!1;default:return!0}}var bt=null;function xt(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var wt=null,At=null,Ct=null;function Mt(t){if(t=_i(t)){if(\\\"function\\\"!=typeof wt)throw Error(o(280));var e=t.stateNode;e&&(e=xi(e),wt(t.stateNode,t.type,e))}}function Et(t){At?Ct?Ct.push(t):Ct=[t]:At=t}function Tt(){if(At){var t=At,e=Ct;if(Ct=At=null,Mt(t),e)for(t=0;t<e.length;t++)Mt(e[t])}}function St(t,e){return t(e)}function kt(){}var Ot=!1;function It(t,e,n){if(Ot)return t(e,n);Ot=!0;try{return St(t,e,n)}finally{Ot=!1,(null!==At||null!==Ct)&&(kt(),Tt())}}function Lt(t,e){var n=t.stateNode;if(null===n)return null;var r=xi(n);if(null===r)return null;n=r[e];t:switch(e){case\\\"onClick\\\":case\\\"onClickCapture\\\":case\\\"onDoubleClick\\\":case\\\"onDoubleClickCapture\\\":case\\\"onMouseDown\\\":case\\\"onMouseDownCapture\\\":case\\\"onMouseMove\\\":case\\\"onMouseMoveCapture\\\":case\\\"onMouseUp\\\":case\\\"onMouseUpCapture\\\":case\\\"onMouseEnter\\\":(r=!r.disabled)||(r=!(\\\"button\\\"===(t=t.type)||\\\"input\\\"===t||\\\"select\\\"===t||\\\"textarea\\\"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&\\\"function\\\"!=typeof n)throw Error(o(231,e,typeof n));return n}var Pt=!1;if(c)try{var zt={};Object.defineProperty(zt,\\\"passive\\\",{get:function(){Pt=!0}}),window.addEventListener(\\\"test\\\",zt,zt),window.removeEventListener(\\\"test\\\",zt,zt)}catch(ct){Pt=!1}function Rt(t,e,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{e.apply(n,u)}catch(t){this.onError(t)}}var Dt=!1,$t=null,Bt=!1,Nt=null,Ft={onError:function(t){Dt=!0,$t=t}};function jt(t,e,n,r,i,o,a,s,l){Dt=!1,$t=null,Rt.apply(Ft,arguments)}function Ut(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!=(4098&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function qt(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&null!==(t=t.alternate)&&(e=t.memoizedState),null!==e)return e.dehydrated}return null}function Vt(t){if(Ut(t)!==t)throw Error(o(188))}function Ht(t){return null!==(t=function(t){var e=t.alternate;if(!e){if(null===(e=Ut(t)))throw Error(o(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Vt(i),t;if(a===r)return Vt(i),e;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?t:e}(t))?Gt(t):null}function Gt(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var e=Gt(t);if(null!==e)return e;t=t.sibling}return null}var Wt=i.unstable_scheduleCallback,Xt=i.unstable_cancelCallback,Yt=i.unstable_shouldYield,Zt=i.unstable_requestPaint,Kt=i.unstable_now,Jt=i.unstable_getCurrentPriorityLevel,Qt=i.unstable_ImmediatePriority,te=i.unstable_UserBlockingPriority,ee=i.unstable_NormalPriority,ne=i.unstable_LowPriority,re=i.unstable_IdlePriority,ie=null,oe=null,ae=Math.clz32?Math.clz32:function(t){return 0==(t>>>=0)?32:31-(se(t)/le|0)|0},se=Math.log,le=Math.LN2,ue=64,ce=4194304;function he(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&t;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&t;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function pe(t,e){var n=t.pendingLanes;if(0===n)return 0;var r=0,i=t.suspendedLanes,o=t.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=he(s):0!=(o&=a)&&(r=he(o))}else 0!=(a=n&~i)?r=he(a):0!==o&&(r=he(o));if(0===r)return 0;if(0!==e&&e!==r&&0==(e&i)&&((i=r&-r)>=(o=e&-e)||16===i&&0!=(4194240&o)))return e;if(0!=(4&r)&&(r|=16&n),0!==(e=t.entangledLanes))for(t=t.entanglements,e&=r;0<e;)i=1<<(n=31-ae(e)),r|=t[n],e&=~i;return r}function fe(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;default:return-1}}function de(t){return 0!=(t=-1073741825&t.pendingLanes)?t:1073741824&t?1073741824:0}function me(){var t=ue;return 0==(4194240&(ue<<=1))&&(ue=64),t}function ve(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ge(t,e,n){t.pendingLanes|=e,536870912!==e&&(t.suspendedLanes=0,t.pingedLanes=0),(t=t.eventTimes)[e=31-ae(e)]=n}function ye(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-ae(n),i=1<<r;i&e|t[r]&e&&(t[r]|=e),n&=~i}}var _e=0;function be(t){return 1<(t&=-t)?4<t?0!=(268435455&t)?16:536870912:4:1}var xe,we,Ae,Ce,Me,Ee=!1,Te=[],Se=null,ke=null,Oe=null,Ie=new Map,Le=new Map,Pe=[],ze=\\\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit\\\".split(\\\" \\\");function Re(t,e){switch(t){case\\\"focusin\\\":case\\\"focusout\\\":Se=null;break;case\\\"dragenter\\\":case\\\"dragleave\\\":ke=null;break;case\\\"mouseover\\\":case\\\"mouseout\\\":Oe=null;break;case\\\"pointerover\\\":case\\\"pointerout\\\":Ie.delete(e.pointerId);break;case\\\"gotpointercapture\\\":case\\\"lostpointercapture\\\":Le.delete(e.pointerId)}}function De(t,e,n,r,i,o){return null===t||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==e&&null!==(e=_i(e))&&we(e),t):(t.eventSystemFlags|=r,e=t.targetContainers,null!==i&&-1===e.indexOf(i)&&e.push(i),t)}function $e(t){var e=yi(t.target);if(null!==e){var n=Ut(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=qt(n)))return t.blockedOn=e,void Me(t.priority,(function(){Ae(n)}))}else if(3===e&&n.stateNode.current.memoizedState.isDehydrated)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function Be(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var n=Ye(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n)return null!==(e=_i(n))&&we(e),t.blockedOn=n,!1;var r=new(n=t.nativeEvent).constructor(n.type,n);bt=r,n.target.dispatchEvent(r),bt=null,e.shift()}return!0}function Ne(t,e,n){Be(t)&&n.delete(e)}function Fe(){Ee=!1,null!==Se&&Be(Se)&&(Se=null),null!==ke&&Be(ke)&&(ke=null),null!==Oe&&Be(Oe)&&(Oe=null),Ie.forEach(Ne),Le.forEach(Ne)}function je(t,e){t.blockedOn===e&&(t.blockedOn=null,Ee||(Ee=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Fe)))}function Ue(t){function e(e){return je(e,t)}if(0<Te.length){je(Te[0],t);for(var n=1;n<Te.length;n++){var r=Te[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==Se&&je(Se,t),null!==ke&&je(ke,t),null!==Oe&&je(Oe,t),Ie.forEach(e),Le.forEach(e),n=0;n<Pe.length;n++)(r=Pe[n]).blockedOn===t&&(r.blockedOn=null);for(;0<Pe.length&&null===(n=Pe[0]).blockedOn;)$e(n),null===n.blockedOn&&Pe.shift()}var qe=b.ReactCurrentBatchConfig,Ve=!0;function He(t,e,n,r){var i=_e,o=qe.transition;qe.transition=null;try{_e=1,We(t,e,n,r)}finally{_e=i,qe.transition=o}}function Ge(t,e,n,r){var i=_e,o=qe.transition;qe.transition=null;try{_e=4,We(t,e,n,r)}finally{_e=i,qe.transition=o}}function We(t,e,n,r){if(Ve){var i=Ye(t,e,n,r);if(null===i)Vr(t,e,r,Xe,n),Re(t,r);else if(function(t,e,n,r,i){switch(e){case\\\"focusin\\\":return Se=De(Se,t,e,n,r,i),!0;case\\\"dragenter\\\":return ke=De(ke,t,e,n,r,i),!0;case\\\"mouseover\\\":return Oe=De(Oe,t,e,n,r,i),!0;case\\\"pointerover\\\":var o=i.pointerId;return Ie.set(o,De(Ie.get(o)||null,t,e,n,r,i)),!0;case\\\"gotpointercapture\\\":return o=i.pointerId,Le.set(o,De(Le.get(o)||null,t,e,n,r,i)),!0}return!1}(i,t,e,n,r))r.stopPropagation();else if(Re(t,r),4&e&&-1<ze.indexOf(t)){for(;null!==i;){var o=_i(i);if(null!==o&&xe(o),null===(o=Ye(t,e,n,r))&&Vr(t,e,r,Xe,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Vr(t,e,r,null,n)}}var Xe=null;function Ye(t,e,n,r){if(Xe=null,null!==(t=yi(t=xt(r))))if(null===(e=Ut(t)))t=null;else if(13===(n=e.tag)){if(null!==(t=qt(e)))return t;t=null}else if(3===n){if(e.stateNode.current.memoizedState.isDehydrated)return 3===e.tag?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Xe=t,null}function Ze(t){switch(t){case\\\"cancel\\\":case\\\"click\\\":case\\\"close\\\":case\\\"contextmenu\\\":case\\\"copy\\\":case\\\"cut\\\":case\\\"auxclick\\\":case\\\"dblclick\\\":case\\\"dragend\\\":case\\\"dragstart\\\":case\\\"drop\\\":case\\\"focusin\\\":case\\\"focusout\\\":case\\\"input\\\":case\\\"invalid\\\":case\\\"keydown\\\":case\\\"keypress\\\":case\\\"keyup\\\":case\\\"mousedown\\\":case\\\"mouseup\\\":case\\\"paste\\\":case\\\"pause\\\":case\\\"play\\\":case\\\"pointercancel\\\":case\\\"pointerdown\\\":case\\\"pointerup\\\":case\\\"ratechange\\\":case\\\"reset\\\":case\\\"resize\\\":case\\\"seeked\\\":case\\\"submit\\\":case\\\"touchcancel\\\":case\\\"touchend\\\":case\\\"touchstart\\\":case\\\"volumechange\\\":case\\\"change\\\":case\\\"selectionchange\\\":case\\\"textInput\\\":case\\\"compositionstart\\\":case\\\"compositionend\\\":case\\\"compositionupdate\\\":case\\\"beforeblur\\\":case\\\"afterblur\\\":case\\\"beforeinput\\\":case\\\"blur\\\":case\\\"fullscreenchange\\\":case\\\"focus\\\":case\\\"hashchange\\\":case\\\"popstate\\\":case\\\"select\\\":case\\\"selectstart\\\":return 1;case\\\"drag\\\":case\\\"dragenter\\\":case\\\"dragexit\\\":case\\\"dragleave\\\":case\\\"dragover\\\":case\\\"mousemove\\\":case\\\"mouseout\\\":case\\\"mouseover\\\":case\\\"pointermove\\\":case\\\"pointerout\\\":case\\\"pointerover\\\":case\\\"scroll\\\":case\\\"toggle\\\":case\\\"touchmove\\\":case\\\"wheel\\\":case\\\"mouseenter\\\":case\\\"mouseleave\\\":case\\\"pointerenter\\\":case\\\"pointerleave\\\":return 4;case\\\"message\\\":switch(Jt()){case Qt:return 1;case te:return 4;case ee:case ne:return 16;case re:return 536870912;default:return 16}default:return 16}}var Ke=null,Je=null,Qe=null;function tn(){if(Qe)return Qe;var t,e,n=Je,r=n.length,i=\\\"value\\\"in Ke?Ke.value:Ke.textContent,o=i.length;for(t=0;t<r&&n[t]===i[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===i[o-e];e++);return Qe=i.slice(t,1<e?1-e:void 0)}function en(t){var e=t.keyCode;return\\\"charCode\\\"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}function nn(){return!0}function rn(){return!1}function on(t){function e(e,n,r,i,o){for(var a in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,t)t.hasOwnProperty(a)&&(e=t[a],this[a]=e?e(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return $(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():\\\"unknown\\\"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():\\\"unknown\\\"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),e}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),hn=$({},un,{view:0,detail:0}),pn=on(hn),fn=$({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Mn,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return\\\"movementX\\\"in t?t.movementX:(t!==ln&&(ln&&\\\"mousemove\\\"===t.type?(an=t.screenX-ln.screenX,sn=t.screenY-ln.screenY):sn=an=0,ln=t),an)},movementY:function(t){return\\\"movementY\\\"in t?t.movementY:sn}}),dn=on(fn),mn=on($({},fn,{dataTransfer:0})),vn=on($({},hn,{relatedTarget:0})),gn=on($({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=$({},un,{clipboardData:function(t){return\\\"clipboardData\\\"in t?t.clipboardData:window.clipboardData}}),_n=on(yn),bn=on($({},un,{data:0})),xn={Esc:\\\"Escape\\\",Spacebar:\\\" \\\",Left:\\\"ArrowLeft\\\",Up:\\\"ArrowUp\\\",Right:\\\"ArrowRight\\\",Down:\\\"ArrowDown\\\",Del:\\\"Delete\\\",Win:\\\"OS\\\",Menu:\\\"ContextMenu\\\",Apps:\\\"ContextMenu\\\",Scroll:\\\"ScrollLock\\\",MozPrintableKey:\\\"Unidentified\\\"},wn={8:\\\"Backspace\\\",9:\\\"Tab\\\",12:\\\"Clear\\\",13:\\\"Enter\\\",16:\\\"Shift\\\",17:\\\"Control\\\",18:\\\"Alt\\\",19:\\\"Pause\\\",20:\\\"CapsLock\\\",27:\\\"Escape\\\",32:\\\" \\\",33:\\\"PageUp\\\",34:\\\"PageDown\\\",35:\\\"End\\\",36:\\\"Home\\\",37:\\\"ArrowLeft\\\",38:\\\"ArrowUp\\\",39:\\\"ArrowRight\\\",40:\\\"ArrowDown\\\",45:\\\"Insert\\\",46:\\\"Delete\\\",112:\\\"F1\\\",113:\\\"F2\\\",114:\\\"F3\\\",115:\\\"F4\\\",116:\\\"F5\\\",117:\\\"F6\\\",118:\\\"F7\\\",119:\\\"F8\\\",120:\\\"F9\\\",121:\\\"F10\\\",122:\\\"F11\\\",123:\\\"F12\\\",144:\\\"NumLock\\\",145:\\\"ScrollLock\\\",224:\\\"Meta\\\"},An={Alt:\\\"altKey\\\",Control:\\\"ctrlKey\\\",Meta:\\\"metaKey\\\",Shift:\\\"shiftKey\\\"};function Cn(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=An[t])&&!!e[t]}function Mn(){return Cn}var En=$({},hn,{key:function(t){if(t.key){var e=xn[t.key]||t.key;if(\\\"Unidentified\\\"!==e)return e}return\\\"keypress\\\"===t.type?13===(t=en(t))?\\\"Enter\\\":String.fromCharCode(t):\\\"keydown\\\"===t.type||\\\"keyup\\\"===t.type?wn[t.keyCode]||\\\"Unidentified\\\":\\\"\\\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Mn,charCode:function(t){return\\\"keypress\\\"===t.type?en(t):0},keyCode:function(t){return\\\"keydown\\\"===t.type||\\\"keyup\\\"===t.type?t.keyCode:0},which:function(t){return\\\"keypress\\\"===t.type?en(t):\\\"keydown\\\"===t.type||\\\"keyup\\\"===t.type?t.keyCode:0}}),Tn=on(En),Sn=on($({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kn=on($({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Mn})),On=on($({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=$({},fn,{deltaX:function(t){return\\\"deltaX\\\"in t?t.deltaX:\\\"wheelDeltaX\\\"in t?-t.wheelDeltaX:0},deltaY:function(t){return\\\"deltaY\\\"in t?t.deltaY:\\\"wheelDeltaY\\\"in t?-t.wheelDeltaY:\\\"wheelDelta\\\"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=on(In),Pn=[9,13,27,32],zn=c&&\\\"CompositionEvent\\\"in window,Rn=null;c&&\\\"documentMode\\\"in document&&(Rn=document.documentMode);var Dn=c&&\\\"TextEvent\\\"in window&&!Rn,$n=c&&(!zn||Rn&&8<Rn&&11>=Rn),Bn=String.fromCharCode(32),Nn=!1;function Fn(t,e){switch(t){case\\\"keyup\\\":return-1!==Pn.indexOf(e.keyCode);case\\\"keydown\\\":return 229!==e.keyCode;case\\\"keypress\\\":case\\\"mousedown\\\":case\\\"focusout\\\":return!0;default:return!1}}function jn(t){return\\\"object\\\"==typeof(t=t.detail)&&\\\"data\\\"in t?t.data:null}var Un=!1,qn={color:!0,date:!0,datetime:!0,\\\"datetime-local\\\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return\\\"input\\\"===e?!!qn[t.type]:\\\"textarea\\\"===e}function Hn(t,e,n,r){Et(r),0<(e=Gr(e,\\\"onChange\\\")).length&&(n=new cn(\\\"onChange\\\",\\\"change\\\",null,n,r),t.push({event:n,listeners:e}))}var Gn=null,Wn=null;function Xn(t){Br(t,0)}function Yn(t){if(W(bi(t)))return t}function Zn(t,e){if(\\\"change\\\"===t)return e}var Kn=!1;if(c){var Jn;if(c){var Qn=\\\"oninput\\\"in document;if(!Qn){var tr=document.createElement(\\\"div\\\");tr.setAttribute(\\\"oninput\\\",\\\"return;\\\"),Qn=\\\"function\\\"==typeof tr.oninput}Jn=Qn}else Jn=!1;Kn=Jn&&(!document.documentMode||9<document.documentMode)}function er(){Gn&&(Gn.detachEvent(\\\"onpropertychange\\\",nr),Wn=Gn=null)}function nr(t){if(\\\"value\\\"===t.propertyName&&Yn(Wn)){var e=[];Hn(e,Wn,t,xt(t)),It(Xn,e)}}function rr(t,e,n){\\\"focusin\\\"===t?(er(),Wn=n,(Gn=e).attachEvent(\\\"onpropertychange\\\",nr)):\\\"focusout\\\"===t&&er()}function ir(t){if(\\\"selectionchange\\\"===t||\\\"keyup\\\"===t||\\\"keydown\\\"===t)return Yn(Wn)}function or(t,e){if(\\\"click\\\"===t)return Yn(e)}function ar(t,e){if(\\\"input\\\"===t||\\\"change\\\"===t)return Yn(e)}var sr=\\\"function\\\"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e};function lr(t,e){if(sr(t,e))return!0;if(\\\"object\\\"!=typeof t||null===t||\\\"object\\\"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!h.call(e,i)||!sr(t[i],e[i]))return!1}return!0}function ur(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function cr(t,e){var n,r=ur(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=ur(r)}}function hr(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?hr(t,e.parentNode):\\\"contains\\\"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function pr(){for(var t=window,e=X();e instanceof t.HTMLIFrameElement;){try{var n=\\\"string\\\"==typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;e=X((t=e.contentWindow).document)}return e}function fr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(\\\"input\\\"===e&&(\\\"text\\\"===t.type||\\\"search\\\"===t.type||\\\"tel\\\"===t.type||\\\"url\\\"===t.type||\\\"password\\\"===t.type)||\\\"textarea\\\"===e||\\\"true\\\"===t.contentEditable)}function dr(t){var e=pr(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&hr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(e=r.start,void 0===(t=r.end)&&(t=e),\\\"selectionStart\\\"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if((t=(e=n.ownerDocument||document)&&e.defaultView||window).getSelection){t=t.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!t.extend&&o>r&&(i=r,r=o,o=i),i=cr(n,o);var a=cr(n,r);i&&a&&(1!==t.rangeCount||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)&&((e=e.createRange()).setStart(i.node,i.offset),t.removeAllRanges(),o>r?(t.addRange(e),t.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),t.addRange(e)))}for(e=[],t=n;t=t.parentNode;)1===t.nodeType&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(\\\"function\\\"==typeof n.focus&&n.focus(),n=0;n<e.length;n++)(t=e[n]).element.scrollLeft=t.left,t.element.scrollTop=t.top}}var mr=c&&\\\"documentMode\\\"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,_r=!1;function br(t,e,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_r||null==vr||vr!==X(r)||(r=\\\"selectionStart\\\"in(r=vr)&&fr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Gr(gr,\\\"onSelect\\\")).length&&(e=new cn(\\\"onSelect\\\",\\\"select\\\",null,e,n),t.push({event:e,listeners:r}),e.target=vr)))}function xr(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n[\\\"Webkit\\\"+t]=\\\"webkit\\\"+e,n[\\\"Moz\\\"+t]=\\\"moz\\\"+e,n}var wr={animationend:xr(\\\"Animation\\\",\\\"AnimationEnd\\\"),animationiteration:xr(\\\"Animation\\\",\\\"AnimationIteration\\\"),animationstart:xr(\\\"Animation\\\",\\\"AnimationStart\\\"),transitionend:xr(\\\"Transition\\\",\\\"TransitionEnd\\\")},Ar={},Cr={};function Mr(t){if(Ar[t])return Ar[t];if(!wr[t])return t;var e,n=wr[t];for(e in n)if(n.hasOwnProperty(e)&&e in Cr)return Ar[t]=n[e];return t}c&&(Cr=document.createElement(\\\"div\\\").style,\\\"AnimationEvent\\\"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),\\\"TransitionEvent\\\"in window||delete wr.transitionend.transition);var Er=Mr(\\\"animationend\\\"),Tr=Mr(\\\"animationiteration\\\"),Sr=Mr(\\\"animationstart\\\"),kr=Mr(\\\"transitionend\\\"),Or=new Map,Ir=\\\"abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\\\".split(\\\" \\\");function Lr(t,e){Or.set(t,e),l(e,[t])}for(var Pr=0;Pr<Ir.length;Pr++){var zr=Ir[Pr];Lr(zr.toLowerCase(),\\\"on\\\"+(zr[0].toUpperCase()+zr.slice(1)))}Lr(Er,\\\"onAnimationEnd\\\"),Lr(Tr,\\\"onAnimationIteration\\\"),Lr(Sr,\\\"onAnimationStart\\\"),Lr(\\\"dblclick\\\",\\\"onDoubleClick\\\"),Lr(\\\"focusin\\\",\\\"onFocus\\\"),Lr(\\\"focusout\\\",\\\"onBlur\\\"),Lr(kr,\\\"onTransitionEnd\\\"),u(\\\"onMouseEnter\\\",[\\\"mouseout\\\",\\\"mouseover\\\"]),u(\\\"onMouseLeave\\\",[\\\"mouseout\\\",\\\"mouseover\\\"]),u(\\\"onPointerEnter\\\",[\\\"pointerout\\\",\\\"pointerover\\\"]),u(\\\"onPointerLeave\\\",[\\\"pointerout\\\",\\\"pointerover\\\"]),l(\\\"onChange\\\",\\\"change click focusin focusout input keydown keyup selectionchange\\\".split(\\\" \\\")),l(\\\"onSelect\\\",\\\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\\\".split(\\\" \\\")),l(\\\"onBeforeInput\\\",[\\\"compositionend\\\",\\\"keypress\\\",\\\"textInput\\\",\\\"paste\\\"]),l(\\\"onCompositionEnd\\\",\\\"compositionend focusout keydown keypress keyup mousedown\\\".split(\\\" \\\")),l(\\\"onCompositionStart\\\",\\\"compositionstart focusout keydown keypress keyup mousedown\\\".split(\\\" \\\")),l(\\\"onCompositionUpdate\\\",\\\"compositionupdate focusout keydown keypress keyup mousedown\\\".split(\\\" \\\"));var Rr=\\\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\\\".split(\\\" \\\"),Dr=new Set(\\\"cancel close invalid load scroll toggle\\\".split(\\\" \\\").concat(Rr));function $r(t,e,n){var r=t.type||\\\"unknown-event\\\";t.currentTarget=n,function(t,e,n,r,i,a,s,l,u){if(jt.apply(this,arguments),Dt){if(!Dt)throw Error(o(198));var c=$t;Dt=!1,$t=null,Bt||(Bt=!0,Nt=c)}}(r,e,void 0,t),t.currentTarget=null}function Br(t,e){e=0!=(4&e);for(var n=0;n<t.length;n++){var r=t[n],i=r.event;r=r.listeners;t:{var o=void 0;if(e)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break t;$r(i,s,u),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break t;$r(i,s,u),o=l}}}if(Bt)throw t=Nt,Bt=!1,Nt=null,t}function Nr(t,e){var n=e[mi];void 0===n&&(n=e[mi]=new Set);var r=t+\\\"__bubble\\\";n.has(r)||(qr(e,t,2,!1),n.add(r))}function Fr(t,e,n){var r=0;e&&(r|=4),qr(n,t,r,e)}var jr=\\\"_reactListening\\\"+Math.random().toString(36).slice(2);function Ur(t){if(!t[jr]){t[jr]=!0,a.forEach((function(e){\\\"selectionchange\\\"!==e&&(Dr.has(e)||Fr(e,!1,t),Fr(e,!0,t))}));var e=9===t.nodeType?t:t.ownerDocument;null===e||e[jr]||(e[jr]=!0,Fr(\\\"selectionchange\\\",!1,e))}}function qr(t,e,n,r){switch(Ze(e)){case 1:var i=He;break;case 4:i=Ge;break;default:i=We}n=i.bind(null,e,n,t),i=void 0,!Pt||\\\"touchstart\\\"!==e&&\\\"touchmove\\\"!==e&&\\\"wheel\\\"!==e||(i=!0),r?void 0!==i?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):void 0!==i?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Vr(t,e,n,r,i){var o=r;if(0==(1&e)&&0==(2&e)&&null!==r)t:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=yi(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue t}s=s.parentNode}}r=r.return}It((function(){var r=o,i=xt(n),a=[];t:{var s=Or.get(t);if(void 0!==s){var l=cn,u=t;switch(t){case\\\"keypress\\\":if(0===en(n))break t;case\\\"keydown\\\":case\\\"keyup\\\":l=Tn;break;case\\\"focusin\\\":u=\\\"focus\\\",l=vn;break;case\\\"focusout\\\":u=\\\"blur\\\",l=vn;break;case\\\"beforeblur\\\":case\\\"afterblur\\\":l=vn;break;case\\\"click\\\":if(2===n.button)break t;case\\\"auxclick\\\":case\\\"dblclick\\\":case\\\"mousedown\\\":case\\\"mousemove\\\":case\\\"mouseup\\\":case\\\"mouseout\\\":case\\\"mouseover\\\":case\\\"contextmenu\\\":l=dn;break;case\\\"drag\\\":case\\\"dragend\\\":case\\\"dragenter\\\":case\\\"dragexit\\\":case\\\"dragleave\\\":case\\\"dragover\\\":case\\\"dragstart\\\":case\\\"drop\\\":l=mn;break;case\\\"touchcancel\\\":case\\\"touchend\\\":case\\\"touchmove\\\":case\\\"touchstart\\\":l=kn;break;case Er:case Tr:case Sr:l=gn;break;case kr:l=On;break;case\\\"scroll\\\":l=pn;break;case\\\"wheel\\\":l=Ln;break;case\\\"copy\\\":case\\\"cut\\\":case\\\"paste\\\":l=_n;break;case\\\"gotpointercapture\\\":case\\\"lostpointercapture\\\":case\\\"pointercancel\\\":case\\\"pointerdown\\\":case\\\"pointermove\\\":case\\\"pointerout\\\":case\\\"pointerover\\\":case\\\"pointerup\\\":l=Sn}var c=0!=(4&e),h=!c&&\\\"scroll\\\"===t,p=c?null!==s?s+\\\"Capture\\\":null:s;c=[];for(var f,d=r;null!==d;){var m=(f=d).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&null!=(m=Lt(d,p))&&c.push(Hr(d,m,f))),h)break;d=d.return}0<c.length&&(s=new l(s,u,null,n,i),a.push({event:s,listeners:c}))}}if(0==(7&e)){if(l=\\\"mouseout\\\"===t||\\\"pointerout\\\"===t,(!(s=\\\"mouseover\\\"===t||\\\"pointerover\\\"===t)||n===bt||!(u=n.relatedTarget||n.fromElement)||!yi(u)&&!u[di])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?yi(u):null)&&(u!==(h=Ut(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=dn,m=\\\"onMouseLeave\\\",p=\\\"onMouseEnter\\\",d=\\\"mouse\\\",\\\"pointerout\\\"!==t&&\\\"pointerover\\\"!==t||(c=Sn,m=\\\"onPointerLeave\\\",p=\\\"onPointerEnter\\\",d=\\\"pointer\\\"),h=null==l?s:bi(l),f=null==u?s:bi(u),(s=new c(m,d+\\\"leave\\\",l,n,i)).target=h,s.relatedTarget=f,m=null,yi(i)===r&&((c=new c(p,d+\\\"enter\\\",u,n,i)).target=f,c.relatedTarget=h,m=c),h=m,l&&u)t:{for(p=u,d=0,f=c=l;f;f=Wr(f))d++;for(f=0,m=p;m;m=Wr(m))f++;for(;0<d-f;)c=Wr(c),d--;for(;0<f-d;)p=Wr(p),f--;for(;d--;){if(c===p||null!==p&&c===p.alternate)break t;c=Wr(c),p=Wr(p)}c=null}else c=null;null!==l&&Xr(a,s,l,c,!1),null!==u&&null!==h&&Xr(a,h,u,c,!0)}if(\\\"select\\\"===(l=(s=r?bi(r):window).nodeName&&s.nodeName.toLowerCase())||\\\"input\\\"===l&&\\\"file\\\"===s.type)var v=Zn;else if(Vn(s))if(Kn)v=ar;else{v=ir;var g=rr}else(l=s.nodeName)&&\\\"input\\\"===l.toLowerCase()&&(\\\"checkbox\\\"===s.type||\\\"radio\\\"===s.type)&&(v=or);switch(v&&(v=v(t,r))?Hn(a,v,n,i):(g&&g(t,s,r),\\\"focusout\\\"===t&&(g=s._wrapperState)&&g.controlled&&\\\"number\\\"===s.type&&tt(s,\\\"number\\\",s.value)),g=r?bi(r):window,t){case\\\"focusin\\\":(Vn(g)||\\\"true\\\"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case\\\"focusout\\\":yr=gr=vr=null;break;case\\\"mousedown\\\":_r=!0;break;case\\\"contextmenu\\\":case\\\"mouseup\\\":case\\\"dragend\\\":_r=!1,br(a,n,i);break;case\\\"selectionchange\\\":if(mr)break;case\\\"keydown\\\":case\\\"keyup\\\":br(a,n,i)}var y;if(zn)t:{switch(t){case\\\"compositionstart\\\":var _=\\\"onCompositionStart\\\";break t;case\\\"compositionend\\\":_=\\\"onCompositionEnd\\\";break t;case\\\"compositionupdate\\\":_=\\\"onCompositionUpdate\\\";break t}_=void 0}else Un?Fn(t,n)&&(_=\\\"onCompositionEnd\\\"):\\\"keydown\\\"===t&&229===n.keyCode&&(_=\\\"onCompositionStart\\\");_&&($n&&\\\"ko\\\"!==n.locale&&(Un||\\\"onCompositionStart\\\"!==_?\\\"onCompositionEnd\\\"===_&&Un&&(y=tn()):(Je=\\\"value\\\"in(Ke=i)?Ke.value:Ke.textContent,Un=!0)),0<(g=Gr(r,_)).length&&(_=new bn(_,t,null,n,i),a.push({event:_,listeners:g}),(y||null!==(y=jn(n)))&&(_.data=y))),(y=Dn?function(t,e){switch(t){case\\\"compositionend\\\":return jn(e);case\\\"keypress\\\":return 32!==e.which?null:(Nn=!0,Bn);case\\\"textInput\\\":return(t=e.data)===Bn&&Nn?null:t;default:return null}}(t,n):function(t,e){if(Un)return\\\"compositionend\\\"===t||!zn&&Fn(t,e)?(t=tn(),Qe=Je=Ke=null,Un=!1,t):null;switch(t){case\\\"paste\\\":default:return null;case\\\"keypress\\\":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case\\\"compositionend\\\":return $n&&\\\"ko\\\"!==e.locale?null:e.data}}(t,n))&&0<(r=Gr(r,\\\"onBeforeInput\\\")).length&&(i=new bn(\\\"onBeforeInput\\\",\\\"beforeinput\\\",null,n,i),a.push({event:i,listeners:r}),i.data=y)}Br(a,e)}))}function Hr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Gr(t,e){for(var n=e+\\\"Capture\\\",r=[];null!==t;){var i=t,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Lt(t,n))&&r.unshift(Hr(t,o,i)),null!=(o=Lt(t,e))&&r.push(Hr(t,o,i))),t=t.return}return r}function Wr(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag);return t||null}function Xr(t,e,n,r,i){for(var o=e._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=Lt(n,o))&&a.unshift(Hr(n,l,s)):i||null!=(l=Lt(n,o))&&a.push(Hr(n,l,s))),n=n.return}0!==a.length&&t.push({event:e,listeners:a})}var Yr=/\\\\r\\\\n?/g,Zr=/\\\\u0000|\\\\uFFFD/g;function Kr(t){return(\\\"string\\\"==typeof t?t:\\\"\\\"+t).replace(Yr,\\\"\\\\n\\\").replace(Zr,\\\"\\\")}function Jr(t,e,n){if(e=Kr(e),Kr(t)!==e&&n)throw Error(o(425))}function Qr(){}var ti=null,ei=null;function ni(t,e){return\\\"textarea\\\"===t||\\\"noscript\\\"===t||\\\"string\\\"==typeof e.children||\\\"number\\\"==typeof e.children||\\\"object\\\"==typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var ri=\\\"function\\\"==typeof setTimeout?setTimeout:void 0,ii=\\\"function\\\"==typeof clearTimeout?clearTimeout:void 0,oi=\\\"function\\\"==typeof Promise?Promise:void 0,ai=\\\"function\\\"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(t){return oi.resolve(null).then(t).catch(si)}:ri;function si(t){setTimeout((function(){throw t}))}function li(t,e){var n=e,r=0;do{var i=n.nextSibling;if(t.removeChild(n),i&&8===i.nodeType)if(\\\"/$\\\"===(n=i.data)){if(0===r)return t.removeChild(i),void Ue(e);r--}else\\\"$\\\"!==n&&\\\"$?\\\"!==n&&\\\"$!\\\"!==n||r++;n=i}while(n);Ue(e)}function ui(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break;if(8===e){if(\\\"$\\\"===(e=t.data)||\\\"$!\\\"===e||\\\"$?\\\"===e)break;if(\\\"/$\\\"===e)return null}}return t}function ci(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if(\\\"$\\\"===n||\\\"$!\\\"===n||\\\"$?\\\"===n){if(0===e)return t;e--}else\\\"/$\\\"===n&&e++}t=t.previousSibling}return null}var hi=Math.random().toString(36).slice(2),pi=\\\"__reactFiber$\\\"+hi,fi=\\\"__reactProps$\\\"+hi,di=\\\"__reactContainer$\\\"+hi,mi=\\\"__reactEvents$\\\"+hi,vi=\\\"__reactListeners$\\\"+hi,gi=\\\"__reactHandles$\\\"+hi;function yi(t){var e=t[pi];if(e)return e;for(var n=t.parentNode;n;){if(e=n[di]||n[pi]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=ci(t);null!==t;){if(n=t[pi])return n;t=ci(t)}return e}n=(t=n).parentNode}return null}function _i(t){return!(t=t[pi]||t[di])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function bi(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(o(33))}function xi(t){return t[fi]||null}var wi=[],Ai=-1;function Ci(t){return{current:t}}function Mi(t){0>Ai||(t.current=wi[Ai],wi[Ai]=null,Ai--)}function Ei(t,e){Ai++,wi[Ai]=t.current,t.current=e}var Ti={},Si=Ci(Ti),ki=Ci(!1),Oi=Ti;function Ii(t,e){var n=t.type.contextTypes;if(!n)return Ti;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function Li(t){return null!=t.childContextTypes}function Pi(){Mi(ki),Mi(Si)}function zi(t,e,n){if(Si.current!==Ti)throw Error(o(168));Ei(Si,e),Ei(ki,n)}function Ri(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,\\\"function\\\"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(o(108,q(t)||\\\"Unknown\\\",i));return $({},n,r)}function Di(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Ti,Oi=Si.current,Ei(Si,t),Ei(ki,ki.current),!0}function $i(t,e,n){var r=t.stateNode;if(!r)throw Error(o(169));n?(t=Ri(t,e,Oi),r.__reactInternalMemoizedMergedChildContext=t,Mi(ki),Mi(Si),Ei(Si,t)):Mi(ki),Ei(ki,n)}var Bi=null,Ni=!1,Fi=!1;function ji(t){null===Bi?Bi=[t]:Bi.push(t)}function Ui(){if(!Fi&&null!==Bi){Fi=!0;var t=0,e=_e;try{var n=Bi;for(_e=1;t<n.length;t++){var r=n[t];do{r=r(!0)}while(null!==r)}Bi=null,Ni=!1}catch(e){throw null!==Bi&&(Bi=Bi.slice(t+1)),Wt(Qt,Ui),e}finally{_e=e,Fi=!1}}return null}var qi=[],Vi=0,Hi=null,Gi=0,Wi=[],Xi=0,Yi=null,Zi=1,Ki=\\\"\\\";function Ji(t,e){qi[Vi++]=Gi,qi[Vi++]=Hi,Hi=t,Gi=e}function Qi(t,e,n){Wi[Xi++]=Zi,Wi[Xi++]=Ki,Wi[Xi++]=Yi,Yi=t;var r=Zi;t=Ki;var i=32-ae(r)-1;r&=~(1<<i),n+=1;var o=32-ae(e)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Zi=1<<32-ae(e)+i|n<<i|r,Ki=o+t}else Zi=1<<o|n<<i|r,Ki=t}function to(t){null!==t.return&&(Ji(t,1),Qi(t,1,0))}function eo(t){for(;t===Hi;)Hi=qi[--Vi],qi[Vi]=null,Gi=qi[--Vi],qi[Vi]=null;for(;t===Yi;)Yi=Wi[--Xi],Wi[Xi]=null,Ki=Wi[--Xi],Wi[Xi]=null,Zi=Wi[--Xi],Wi[Xi]=null}var no=null,ro=null,io=!1,oo=null;function ao(t,e){var n=Iu(5,null,null,0);n.elementType=\\\"DELETED\\\",n.stateNode=e,n.return=t,null===(e=t.deletions)?(t.deletions=[n],t.flags|=16):e.push(n)}function so(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,no=t,ro=ui(e.firstChild),!0);case 6:return null!==(e=\\\"\\\"===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,no=t,ro=null,!0);case 13:return null!==(e=8!==e.nodeType?null:e)&&(n=null!==Yi?{id:Zi,overflow:Ki}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},(n=Iu(18,null,null,0)).stateNode=e,n.return=t,t.child=n,no=t,ro=null,!0);default:return!1}}function lo(t){return 0!=(1&t.mode)&&0==(128&t.flags)}function uo(t){if(io){var e=ro;if(e){var n=e;if(!so(t,e)){if(lo(t))throw Error(o(418));e=ui(n.nextSibling);var r=no;e&&so(t,e)?ao(r,n):(t.flags=-4097&t.flags|2,io=!1,no=t)}}else{if(lo(t))throw Error(o(418));t.flags=-4097&t.flags|2,io=!1,no=t}}}function co(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;no=t}function ho(t){if(t!==no)return!1;if(!io)return co(t),io=!0,!1;var e;if((e=3!==t.tag)&&!(e=5!==t.tag)&&(e=\\\"head\\\"!==(e=t.type)&&\\\"body\\\"!==e&&!ni(t.type,t.memoizedProps)),e&&(e=ro)){if(lo(t))throw po(),Error(o(418));for(;e;)ao(t,e),e=ui(e.nextSibling)}if(co(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(o(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if(\\\"/$\\\"===n){if(0===e){ro=ui(t.nextSibling);break t}e--}else\\\"$\\\"!==n&&\\\"$!\\\"!==n&&\\\"$?\\\"!==n||e++}t=t.nextSibling}ro=null}}else ro=no?ui(t.stateNode.nextSibling):null;return!0}function po(){for(var t=ro;t;)t=ui(t.nextSibling)}function fo(){ro=no=null,io=!1}function mo(t){null===oo?oo=[t]:oo.push(t)}var vo=b.ReactCurrentBatchConfig;function go(t,e){if(t&&t.defaultProps){for(var n in e=$({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}return e}var yo=Ci(null),_o=null,bo=null,xo=null;function wo(){xo=bo=_o=null}function Ao(t){var e=yo.current;Mi(yo),t._currentValue=e}function Co(t,e,n){for(;null!==t;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,null!==r&&(r.childLanes|=e)):null!==r&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function Mo(t,e){_o=t,xo=bo=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(0!=(t.lanes&e)&&(bs=!0),t.firstContext=null)}function Eo(t){var e=t._currentValue;if(xo!==t)if(t={context:t,memoizedValue:e,next:null},null===bo){if(null===_o)throw Error(o(308));bo=t,_o.dependencies={lanes:0,firstContext:t}}else bo=bo.next=t;return e}var To=null;function So(t){null===To?To=[t]:To.push(t)}function ko(t,e,n,r){var i=e.interleaved;return null===i?(n.next=n,So(e)):(n.next=i.next,i.next=n),e.interleaved=n,Oo(t,r)}function Oo(t,e){t.lanes|=e;var n=t.alternate;for(null!==n&&(n.lanes|=e),n=t,t=t.return;null!==t;)t.childLanes|=e,null!==(n=t.alternate)&&(n.childLanes|=e),n=t,t=t.return;return 3===n.tag?n.stateNode:null}var Io=!1;function Lo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Po(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function zo(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Ro(t,e,n){var r=t.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Sl)){var i=r.pending;return null===i?e.next=e:(e.next=i.next,i.next=e),r.pending=e,Oo(t,n)}return null===(i=r.interleaved)?(e.next=e,So(r)):(e.next=i.next,i.next=e),r.interleaved=e,Oo(t,n)}function Do(t,e,n){if(null!==(e=e.updateQueue)&&(e=e.shared,0!=(4194240&n))){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,ye(t,n)}}function $o(t,e){var n=t.updateQueue,r=t.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=e:o=o.next=e}else i=o=e;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(t.updateQueue=n)}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function Bo(t,e,n,r){var i=t.updateQueue;Io=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=t.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==o){var h=i.baseState;for(a=0,c=u=l=null,s=o;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});t:{var d=t,m=s;switch(p=e,f=n,m.tag){case 1:if(\\\"function\\\"==typeof(d=m.payload)){h=d.call(f,h,p);break t}h=d;break t;case 3:d.flags=-65537&d.flags|128;case 0:if(null==(p=\\\"function\\\"==typeof(d=m.payload)?d.call(f,h,p):d))break t;h=$({},h,p);break t;case 2:Io=!0}}null!==s.callback&&0!==s.lane&&(t.flags|=64,null===(p=i.effects)?i.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=f,l=h):c=c.next=f,a|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}if(null===c&&(l=h),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(e=i.shared.interleaved)){i=e;do{a|=i.lane,i=i.next}while(i!==e)}else null===o&&(i.shared.lanes=0);Dl|=a,t.lanes=a,t.memoizedState=h}}function No(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(null!==i){if(r.callback=null,r=n,\\\"function\\\"!=typeof i)throw Error(o(191,i));i.call(r)}}}var Fo=(new r.Component).refs;function jo(t,e,n,r){n=null==(n=n(r,e=t.memoizedState))?e:$({},e,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var Uo={isMounted:function(t){return!!(t=t._reactInternals)&&Ut(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=tu(),i=eu(t),o=zo(r,i);o.payload=e,null!=n&&(o.callback=n),null!==(e=Ro(t,o,i))&&(nu(e,t,i,r),Do(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=tu(),i=eu(t),o=zo(r,i);o.tag=1,o.payload=e,null!=n&&(o.callback=n),null!==(e=Ro(t,o,i))&&(nu(e,t,i,r),Do(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=tu(),r=eu(t),i=zo(n,r);i.tag=2,null!=e&&(i.callback=e),null!==(e=Ro(t,i,r))&&(nu(e,t,r,n),Do(e,t,r))}};function qo(t,e,n,r,i,o,a){return\\\"function\\\"==typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,o,a):!(e.prototype&&e.prototype.isPureReactComponent&&lr(n,r)&&lr(i,o))}function Vo(t,e,n){var r=!1,i=Ti,o=e.contextType;return\\\"object\\\"==typeof o&&null!==o?o=Eo(o):(i=Li(e)?Oi:Si.current,o=(r=null!=(r=e.contextTypes))?Ii(t,i):Ti),e=new e(n,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=Uo,t.stateNode=e,e._reactInternals=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function Ho(t,e,n,r){t=e.state,\\\"function\\\"==typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),\\\"function\\\"==typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Uo.enqueueReplaceState(e,e.state,null)}function Go(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=Fo,Lo(t);var o=e.contextType;\\\"object\\\"==typeof o&&null!==o?i.context=Eo(o):(o=Li(e)?Oi:Si.current,i.context=Ii(t,o)),i.state=t.memoizedState,\\\"function\\\"==typeof(o=e.getDerivedStateFromProps)&&(jo(t,e,o,n),i.state=t.memoizedState),\\\"function\\\"==typeof e.getDerivedStateFromProps||\\\"function\\\"==typeof i.getSnapshotBeforeUpdate||\\\"function\\\"!=typeof i.UNSAFE_componentWillMount&&\\\"function\\\"!=typeof i.componentWillMount||(e=i.state,\\\"function\\\"==typeof i.componentWillMount&&i.componentWillMount(),\\\"function\\\"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&Uo.enqueueReplaceState(i,i.state,null),Bo(t,n,i,r),i.state=t.memoizedState),\\\"function\\\"==typeof i.componentDidMount&&(t.flags|=4194308)}function Wo(t,e,n){if(null!==(t=n.ref)&&\\\"function\\\"!=typeof t&&\\\"object\\\"!=typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,t));var i=r,a=\\\"\\\"+t;return null!==e&&null!==e.ref&&\\\"function\\\"==typeof e.ref&&e.ref._stringRef===a?e.ref:(e=function(t){var e=i.refs;e===Fo&&(e=i.refs={}),null===t?delete e[a]:e[a]=t},e._stringRef=a,e)}if(\\\"string\\\"!=typeof t)throw Error(o(284));if(!n._owner)throw Error(o(290,t))}return t}function Xo(t,e){throw t=Object.prototype.toString.call(e),Error(o(31,\\\"[object Object]\\\"===t?\\\"object with keys {\\\"+Object.keys(e).join(\\\", \\\")+\\\"}\\\":t))}function Yo(t){return(0,t._init)(t._payload)}function Zo(t){function e(e,n){if(t){var r=e.deletions;null===r?(e.deletions=[n],e.flags|=16):r.push(n)}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Pu(t,e)).index=0,t.sibling=null,t}function a(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.flags|=2,n):r:(e.flags|=2,n):(e.flags|=1048576,n)}function s(e){return t&&null===e.alternate&&(e.flags|=2),e}function l(t,e,n,r){return null===e||6!==e.tag?((e=$u(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function u(t,e,n,r){var o=n.type;return o===A?h(t,e,n.props.children,r,n.key):null!==e&&(e.elementType===o||\\\"object\\\"==typeof o&&null!==o&&o.$$typeof===L&&Yo(o)===e.type)?((r=i(e,n.props)).ref=Wo(t,e,n),r.return=t,r):((r=zu(n.type,n.key,n.props,null,t.mode,r)).ref=Wo(t,e,n),r.return=t,r)}function c(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Bu(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function h(t,e,n,r,o){return null===e||7!==e.tag?((e=Ru(n,t.mode,r,o)).return=t,e):((e=i(e,n)).return=t,e)}function p(t,e,n){if(\\\"string\\\"==typeof e&&\\\"\\\"!==e||\\\"number\\\"==typeof e)return(e=$u(\\\"\\\"+e,t.mode,n)).return=t,e;if(\\\"object\\\"==typeof e&&null!==e){switch(e.$$typeof){case x:return(n=zu(e.type,e.key,e.props,null,t.mode,n)).ref=Wo(t,null,e),n.return=t,n;case w:return(e=Bu(e,t.mode,n)).return=t,e;case L:return p(t,(0,e._init)(e._payload),n)}if(et(e)||R(e))return(e=Ru(e,t.mode,n,null)).return=t,e;Xo(t,e)}return null}function f(t,e,n,r){var i=null!==e?e.key:null;if(\\\"string\\\"==typeof n&&\\\"\\\"!==n||\\\"number\\\"==typeof n)return null!==i?null:l(t,e,\\\"\\\"+n,r);if(\\\"object\\\"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===i?u(t,e,n,r):null;case w:return n.key===i?c(t,e,n,r):null;case L:return f(t,e,(i=n._init)(n._payload),r)}if(et(n)||R(n))return null!==i?null:h(t,e,n,r,null);Xo(t,n)}return null}function d(t,e,n,r,i){if(\\\"string\\\"==typeof r&&\\\"\\\"!==r||\\\"number\\\"==typeof r)return l(e,t=t.get(n)||null,\\\"\\\"+r,i);if(\\\"object\\\"==typeof r&&null!==r){switch(r.$$typeof){case x:return u(e,t=t.get(null===r.key?n:r.key)||null,r,i);case w:return c(e,t=t.get(null===r.key?n:r.key)||null,r,i);case L:return d(t,e,n,(0,r._init)(r._payload),i)}if(et(r)||R(r))return h(e,t=t.get(n)||null,r,i,null);Xo(e,r)}return null}function m(i,o,s,l){for(var u=null,c=null,h=o,m=o=0,v=null;null!==h&&m<s.length;m++){h.index>m?(v=h,h=null):v=h.sibling;var g=f(i,h,s[m],l);if(null===g){null===h&&(h=v);break}t&&h&&null===g.alternate&&e(i,h),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,h=v}if(m===s.length)return n(i,h),io&&Ji(i,m),u;if(null===h){for(;m<s.length;m++)null!==(h=p(i,s[m],l))&&(o=a(h,o,m),null===c?u=h:c.sibling=h,c=h);return io&&Ji(i,m),u}for(h=r(i,h);m<s.length;m++)null!==(v=d(h,i,m,s[m],l))&&(t&&null!==v.alternate&&h.delete(null===v.key?m:v.key),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v);return t&&h.forEach((function(t){return e(i,t)})),io&&Ji(i,m),u}function v(i,s,l,u){var c=R(l);if(\\\"function\\\"!=typeof c)throw Error(o(150));if(null==(l=c.call(l)))throw Error(o(151));for(var h=c=null,m=s,v=s=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var _=f(i,m,y.value,u);if(null===_){null===m&&(m=g);break}t&&m&&null===_.alternate&&e(i,m),s=a(_,s,v),null===h?c=_:h.sibling=_,h=_,m=g}if(y.done)return n(i,m),io&&Ji(i,v),c;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=p(i,y.value,u))&&(s=a(y,s,v),null===h?c=y:h.sibling=y,h=y);return io&&Ji(i,v),c}for(m=r(i,m);!y.done;v++,y=l.next())null!==(y=d(m,i,v,y.value,u))&&(t&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=a(y,s,v),null===h?c=y:h.sibling=y,h=y);return t&&m.forEach((function(t){return e(i,t)})),io&&Ji(i,v),c}return function t(r,o,a,l){if(\\\"object\\\"==typeof a&&null!==a&&a.type===A&&null===a.key&&(a=a.props.children),\\\"object\\\"==typeof a&&null!==a){switch(a.$$typeof){case x:t:{for(var u=a.key,c=o;null!==c;){if(c.key===u){if((u=a.type)===A){if(7===c.tag){n(r,c.sibling),(o=i(c,a.props.children)).return=r,r=o;break t}}else if(c.elementType===u||\\\"object\\\"==typeof u&&null!==u&&u.$$typeof===L&&Yo(u)===c.type){n(r,c.sibling),(o=i(c,a.props)).ref=Wo(r,c,a),o.return=r,r=o;break t}n(r,c);break}e(r,c),c=c.sibling}a.type===A?((o=Ru(a.props.children,r.mode,l,a.key)).return=r,r=o):((l=zu(a.type,a.key,a.props,null,r.mode,l)).ref=Wo(r,o,a),l.return=r,r=l)}return s(r);case w:t:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break t}n(r,o);break}e(r,o),o=o.sibling}(o=Bu(a,r.mode,l)).return=r,r=o}return s(r);case L:return t(r,o,(c=a._init)(a._payload),l)}if(et(a))return m(r,o,a,l);if(R(a))return v(r,o,a,l);Xo(r,a)}return\\\"string\\\"==typeof a&&\\\"\\\"!==a||\\\"number\\\"==typeof a?(a=\\\"\\\"+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=$u(a,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var Ko=Zo(!0),Jo=Zo(!1),Qo={},ta=Ci(Qo),ea=Ci(Qo),na=Ci(Qo);function ra(t){if(t===Qo)throw Error(o(174));return t}function ia(t,e){switch(Ei(na,e),Ei(ea,t),Ei(ta,Qo),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:lt(null,\\\"\\\");break;default:e=lt(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}Mi(ta),Ei(ta,e)}function oa(){Mi(ta),Mi(ea),Mi(na)}function aa(t){ra(na.current);var e=ra(ta.current),n=lt(e,t.type);e!==n&&(Ei(ea,t),Ei(ta,n))}function sa(t){ea.current===t&&(Mi(ta),Mi(ea))}var la=Ci(0);function ua(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||\\\"$?\\\"===n.data||\\\"$!\\\"===n.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!=(128&e.flags))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ca=[];function ha(){for(var t=0;t<ca.length;t++)ca[t]._workInProgressVersionPrimary=null;ca.length=0}var pa=b.ReactCurrentDispatcher,fa=b.ReactCurrentBatchConfig,da=0,ma=null,va=null,ga=null,ya=!1,_a=!1,ba=0,xa=0;function wa(){throw Error(o(321))}function Aa(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!sr(t[n],e[n]))return!1;return!0}function Ca(t,e,n,r,i,a){if(da=a,ma=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,pa.current=null===t||null===t.memoizedState?ss:ls,t=n(r,i),_a){a=0;do{if(_a=!1,ba=0,25<=a)throw Error(o(301));a+=1,ga=va=null,e.updateQueue=null,pa.current=us,t=n(r,i)}while(_a)}if(pa.current=as,e=null!==va&&null!==va.next,da=0,ga=va=ma=null,ya=!1,e)throw Error(o(300));return t}function Ma(){var t=0!==ba;return ba=0,t}function Ea(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ma.memoizedState=ga=t:ga=ga.next=t,ga}function Ta(){if(null===va){var t=ma.alternate;t=null!==t?t.memoizedState:null}else t=va.next;var e=null===ga?ma.memoizedState:ga.next;if(null!==e)ga=e,va=t;else{if(null===t)throw Error(o(310));t={memoizedState:(va=t).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ga?ma.memoizedState=ga=t:ga=ga.next=t}return ga}function Sa(t,e){return\\\"function\\\"==typeof e?e(t):e}function ka(t){var e=Ta(),n=e.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=t;var r=va,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=s=null,u=null,c=a;do{var h=c.lane;if((da&h)===h)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:t(r,c.action);else{var p={lane:h,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=p,s=r):u=u.next=p,ma.lanes|=h,Dl|=h}c=c.next}while(null!==c&&c!==a);null===u?s=r:u.next=l,sr(r,e.memoizedState)||(bs=!0),e.memoizedState=r,e.baseState=s,e.baseQueue=u,n.lastRenderedState=r}if(null!==(t=n.interleaved)){i=t;do{a=i.lane,ma.lanes|=a,Dl|=a,i=i.next}while(i!==t)}else null===i&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function Oa(t){var e=Ta(),n=e.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,a=e.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=t(a,s.action),s=s.next}while(s!==i);sr(a,e.memoizedState)||(bs=!0),e.memoizedState=a,null===e.baseQueue&&(e.baseState=a),n.lastRenderedState=a}return[a,r]}function Ia(){}function La(t,e){var n=ma,r=Ta(),i=e(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,bs=!0),r=r.queue,Va(Ra.bind(null,n,r,t),[t]),r.getSnapshot!==e||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Na(9,za.bind(null,n,r,i,e),void 0,null),null===kl)throw Error(o(349));0!=(30&da)||Pa(n,e,i)}return i}function Pa(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},null===(e=ma.updateQueue)?(e={lastEffect:null,stores:null},ma.updateQueue=e,e.stores=[t]):null===(n=e.stores)?e.stores=[t]:n.push(t)}function za(t,e,n,r){e.value=n,e.getSnapshot=r,Da(e)&&$a(t)}function Ra(t,e,n){return n((function(){Da(e)&&$a(t)}))}function Da(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!sr(t,n)}catch(t){return!0}}function $a(t){var e=Oo(t,1);null!==e&&nu(e,t,1,-1)}function Ba(t){var e=Ea();return\\\"function\\\"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:t},e.queue=t,t=t.dispatch=ns.bind(null,ma,t),[e.memoizedState,t]}function Na(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=ma.updateQueue)?(e={lastEffect:null,stores:null},ma.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function Fa(){return Ta().memoizedState}function ja(t,e,n,r){var i=Ea();ma.flags|=t,i.memoizedState=Na(1|e,n,void 0,void 0===r?null:r)}function Ua(t,e,n,r){var i=Ta();r=void 0===r?null:r;var o=void 0;if(null!==va){var a=va.memoizedState;if(o=a.destroy,null!==r&&Aa(r,a.deps))return void(i.memoizedState=Na(e,n,o,r))}ma.flags|=t,i.memoizedState=Na(1|e,n,o,r)}function qa(t,e){return ja(8390656,8,t,e)}function Va(t,e){return Ua(2048,8,t,e)}function Ha(t,e){return Ua(4,2,t,e)}function Ga(t,e){return Ua(4,4,t,e)}function Wa(t,e){return\\\"function\\\"==typeof e?(t=t(),e(t),function(){e(null)}):null!=e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Xa(t,e,n){return n=null!=n?n.concat([t]):null,Ua(4,4,Wa.bind(null,e,t),n)}function Ya(){}function Za(t,e){var n=Ta();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&Aa(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Ka(t,e){var n=Ta();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&Aa(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Ja(t,e,n){return 0==(21&da)?(t.baseState&&(t.baseState=!1,bs=!0),t.memoizedState=n):(sr(n,e)||(n=me(),ma.lanes|=n,Dl|=n,t.baseState=!0),e)}function Qa(t,e){var n=_e;_e=0!==n&&4>n?n:4,t(!0);var r=fa.transition;fa.transition={};try{t(!1),e()}finally{_e=n,fa.transition=r}}function ts(){return Ta().memoizedState}function es(t,e,n){var r=eu(t);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(t)?is(e,n):null!==(n=ko(t,e,n,r))&&(nu(n,t,r,tu()),os(n,e,r))}function ns(t,e,n){var r=eu(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(t))is(e,i);else{var o=t.alternate;if(0===t.lanes&&(null===o||0===o.lanes)&&null!==(o=e.lastRenderedReducer))try{var a=e.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var l=e.interleaved;return null===l?(i.next=i,So(e)):(i.next=l.next,l.next=i),void(e.interleaved=i)}}catch(t){}null!==(n=ko(t,e,i,r))&&(nu(n,t,r,i=tu()),os(n,e,r))}}function rs(t){var e=t.alternate;return t===ma||null!==e&&e===ma}function is(t,e){_a=ya=!0;var n=t.pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function os(t,e,n){if(0!=(4194240&n)){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,ye(t,n)}}var as={readContext:Eo,useCallback:wa,useContext:wa,useEffect:wa,useImperativeHandle:wa,useInsertionEffect:wa,useLayoutEffect:wa,useMemo:wa,useReducer:wa,useRef:wa,useState:wa,useDebugValue:wa,useDeferredValue:wa,useTransition:wa,useMutableSource:wa,useSyncExternalStore:wa,useId:wa,unstable_isNewReconciler:!1},ss={readContext:Eo,useCallback:function(t,e){return Ea().memoizedState=[t,void 0===e?null:e],t},useContext:Eo,useEffect:qa,useImperativeHandle:function(t,e,n){return n=null!=n?n.concat([t]):null,ja(4194308,4,Wa.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ja(4194308,4,t,e)},useInsertionEffect:function(t,e){return ja(4,2,t,e)},useMemo:function(t,e){var n=Ea();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=Ea();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=es.bind(null,ma,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},Ea().memoizedState=t},useState:Ba,useDebugValue:Ya,useDeferredValue:function(t){return Ea().memoizedState=t},useTransition:function(){var t=Ba(!1),e=t[0];return t=Qa.bind(null,t[1]),Ea().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=ma,i=Ea();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=e(),null===kl)throw Error(o(349));0!=(30&da)||Pa(r,e,n)}i.memoizedState=n;var a={value:n,getSnapshot:e};return i.queue=a,qa(Ra.bind(null,r,a,t),[t]),r.flags|=2048,Na(9,za.bind(null,r,a,n,e),void 0,null),n},useId:function(){var t=Ea(),e=kl.identifierPrefix;if(io){var n=Ki;e=\\\":\\\"+e+\\\"R\\\"+(n=(Zi&~(1<<32-ae(Zi)-1)).toString(32)+n),0<(n=ba++)&&(e+=\\\"H\\\"+n.toString(32)),e+=\\\":\\\"}else e=\\\":\\\"+e+\\\"r\\\"+(n=xa++).toString(32)+\\\":\\\";return t.memoizedState=e},unstable_isNewReconciler:!1},ls={readContext:Eo,useCallback:Za,useContext:Eo,useEffect:Va,useImperativeHandle:Xa,useInsertionEffect:Ha,useLayoutEffect:Ga,useMemo:Ka,useReducer:ka,useRef:Fa,useState:function(){return ka(Sa)},useDebugValue:Ya,useDeferredValue:function(t){return Ja(Ta(),va.memoizedState,t)},useTransition:function(){return[ka(Sa)[0],Ta().memoizedState]},useMutableSource:Ia,useSyncExternalStore:La,useId:ts,unstable_isNewReconciler:!1},us={readContext:Eo,useCallback:Za,useContext:Eo,useEffect:Va,useImperativeHandle:Xa,useInsertionEffect:Ha,useLayoutEffect:Ga,useMemo:Ka,useReducer:Oa,useRef:Fa,useState:function(){return Oa(Sa)},useDebugValue:Ya,useDeferredValue:function(t){var e=Ta();return null===va?e.memoizedState=t:Ja(e,va.memoizedState,t)},useTransition:function(){return[Oa(Sa)[0],Ta().memoizedState]},useMutableSource:Ia,useSyncExternalStore:La,useId:ts,unstable_isNewReconciler:!1};function cs(t,e){try{var n=\\\"\\\",r=e;do{n+=j(r),r=r.return}while(r);var i=n}catch(t){i=\\\"\\\\nError generating stack: \\\"+t.message+\\\"\\\\n\\\"+t.stack}return{value:t,source:e,stack:i,digest:null}}function hs(t,e,n){return{value:t,source:null,stack:null!=n?n:null,digest:null!=e?e:null}}function ps(t,e){try{console.error(e.value)}catch(t){setTimeout((function(){throw t}))}}var fs=\\\"function\\\"==typeof WeakMap?WeakMap:Map;function ds(t,e,n){(n=zo(-1,n)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Vl||(Vl=!0,Hl=r),ps(0,e)},n}function ms(t,e,n){(n=zo(-1,n)).tag=3;var r=t.type.getDerivedStateFromError;if(\\\"function\\\"==typeof r){var i=e.value;n.payload=function(){return r(i)},n.callback=function(){ps(0,e)}}var o=t.stateNode;return null!==o&&\\\"function\\\"==typeof o.componentDidCatch&&(n.callback=function(){ps(0,e),\\\"function\\\"!=typeof r&&(null===Gl?Gl=new Set([this]):Gl.add(this));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:\\\"\\\"})}),n}function vs(t,e,n){var r=t.pingCache;if(null===r){r=t.pingCache=new fs;var i=new Set;r.set(e,i)}else void 0===(i=r.get(e))&&(i=new Set,r.set(e,i));i.has(n)||(i.add(n),t=Mu.bind(null,t,e,n),e.then(t,t))}function gs(t){do{var e;if((e=13===t.tag)&&(e=null===(e=t.memoizedState)||null!==e.dehydrated),e)return t;t=t.return}while(null!==t);return null}function ys(t,e,n,r,i){return 0==(1&t.mode)?(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((e=zo(-1,1)).tag=2,Ro(n,e,1))),n.lanes|=1),t):(t.flags|=65536,t.lanes=i,t)}var _s=b.ReactCurrentOwner,bs=!1;function xs(t,e,n,r){e.child=null===t?Jo(e,null,n,r):Ko(e,t.child,n,r)}function ws(t,e,n,r,i){n=n.render;var o=e.ref;return Mo(e,i),r=Ca(t,e,n,r,o,i),n=Ma(),null===t||bs?(io&&n&&to(e),e.flags|=1,xs(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Vs(t,e,i))}function As(t,e,n,r,i){if(null===t){var o=n.type;return\\\"function\\\"!=typeof o||Lu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=zu(n.type,null,r,e,e.mode,i)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=o,Cs(t,e,o,r,i))}if(o=t.child,0==(t.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&t.ref===e.ref)return Vs(t,e,i)}return e.flags|=1,(t=Pu(o,r)).ref=e.ref,t.return=e,e.child=t}function Cs(t,e,n,r,i){if(null!==t){var o=t.memoizedProps;if(lr(o,r)&&t.ref===e.ref){if(bs=!1,e.pendingProps=r=o,0==(t.lanes&i))return e.lanes=t.lanes,Vs(t,e,i);0!=(131072&t.flags)&&(bs=!0)}}return Ts(t,e,n,r,i)}function Ms(t,e,n){var r=e.pendingProps,i=r.children,o=null!==t?t.memoizedState:null;if(\\\"hidden\\\"===r.mode)if(0==(1&e.mode))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ei(Pl,Ll),Ll|=n;else{if(0==(1073741824&n))return t=null!==o?o.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Ei(Pl,Ll),Ll|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ei(Pl,Ll),Ll|=r}else null!==o?(r=o.baseLanes|n,e.memoizedState=null):r=n,Ei(Pl,Ll),Ll|=r;return xs(t,e,i,n),e.child}function Es(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function Ts(t,e,n,r,i){var o=Li(n)?Oi:Si.current;return o=Ii(e,o),Mo(e,i),n=Ca(t,e,n,r,o,i),r=Ma(),null===t||bs?(io&&r&&to(e),e.flags|=1,xs(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Vs(t,e,i))}function Ss(t,e,n,r,i){if(Li(n)){var o=!0;Di(e)}else o=!1;if(Mo(e,i),null===e.stateNode)qs(t,e),Vo(e,n,r),Go(e,n,r,i),r=!0;else if(null===t){var a=e.stateNode,s=e.memoizedProps;a.props=s;var l=a.context,u=n.contextType;u=\\\"object\\\"==typeof u&&null!==u?Eo(u):Ii(e,u=Li(n)?Oi:Si.current);var c=n.getDerivedStateFromProps,h=\\\"function\\\"==typeof c||\\\"function\\\"==typeof a.getSnapshotBeforeUpdate;h||\\\"function\\\"!=typeof a.UNSAFE_componentWillReceiveProps&&\\\"function\\\"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&Ho(e,a,r,u),Io=!1;var p=e.memoizedState;a.state=p,Bo(e,r,a,i),l=e.memoizedState,s!==r||p!==l||ki.current||Io?(\\\"function\\\"==typeof c&&(jo(e,n,c,r),l=e.memoizedState),(s=Io||qo(e,n,s,r,p,l,u))?(h||\\\"function\\\"!=typeof a.UNSAFE_componentWillMount&&\\\"function\\\"!=typeof a.componentWillMount||(\\\"function\\\"==typeof a.componentWillMount&&a.componentWillMount(),\\\"function\\\"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),\\\"function\\\"==typeof a.componentDidMount&&(e.flags|=4194308)):(\\\"function\\\"==typeof a.componentDidMount&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(\\\"function\\\"==typeof a.componentDidMount&&(e.flags|=4194308),r=!1)}else{a=e.stateNode,Po(t,e),s=e.memoizedProps,u=e.type===e.elementType?s:go(e.type,s),a.props=u,h=e.pendingProps,p=a.context,l=\\\"object\\\"==typeof(l=n.contextType)&&null!==l?Eo(l):Ii(e,l=Li(n)?Oi:Si.current);var f=n.getDerivedStateFromProps;(c=\\\"function\\\"==typeof f||\\\"function\\\"==typeof a.getSnapshotBeforeUpdate)||\\\"function\\\"!=typeof a.UNSAFE_componentWillReceiveProps&&\\\"function\\\"!=typeof a.componentWillReceiveProps||(s!==h||p!==l)&&Ho(e,a,r,l),Io=!1,p=e.memoizedState,a.state=p,Bo(e,r,a,i);var d=e.memoizedState;s!==h||p!==d||ki.current||Io?(\\\"function\\\"==typeof f&&(jo(e,n,f,r),d=e.memoizedState),(u=Io||qo(e,n,u,r,p,d,l)||!1)?(c||\\\"function\\\"!=typeof a.UNSAFE_componentWillUpdate&&\\\"function\\\"!=typeof a.componentWillUpdate||(\\\"function\\\"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,l),\\\"function\\\"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,l)),\\\"function\\\"==typeof a.componentDidUpdate&&(e.flags|=4),\\\"function\\\"==typeof a.getSnapshotBeforeUpdate&&(e.flags|=1024)):(\\\"function\\\"!=typeof a.componentDidUpdate||s===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),\\\"function\\\"!=typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=d),a.props=r,a.state=d,a.context=l,r=u):(\\\"function\\\"!=typeof a.componentDidUpdate||s===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),\\\"function\\\"!=typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),r=!1)}return ks(t,e,n,r,o,i)}function ks(t,e,n,r,i,o){Es(t,e);var a=0!=(128&e.flags);if(!r&&!a)return i&&$i(e,n,!1),Vs(t,e,o);r=e.stateNode,_s.current=e;var s=a&&\\\"function\\\"!=typeof n.getDerivedStateFromError?null:r.render();return e.flags|=1,null!==t&&a?(e.child=Ko(e,t.child,null,o),e.child=Ko(e,null,s,o)):xs(t,e,s,o),e.memoizedState=r.state,i&&$i(e,n,!0),e.child}function Os(t){var e=t.stateNode;e.pendingContext?zi(0,e.pendingContext,e.pendingContext!==e.context):e.context&&zi(0,e.context,!1),ia(t,e.containerInfo)}function Is(t,e,n,r,i){return fo(),mo(i),e.flags|=256,xs(t,e,n,r),e.child}var Ls,Ps,zs,Rs={dehydrated:null,treeContext:null,retryLane:0};function Ds(t){return{baseLanes:t,cachePool:null,transitions:null}}function $s(t,e,n){var r,i=e.pendingProps,a=la.current,s=!1,l=0!=(128&e.flags);if((r=l)||(r=(null===t||null!==t.memoizedState)&&0!=(2&a)),r?(s=!0,e.flags&=-129):null!==t&&null===t.memoizedState||(a|=1),Ei(la,1&a),null===t)return uo(e),null!==(t=e.memoizedState)&&null!==(t=t.dehydrated)?(0==(1&e.mode)?e.lanes=1:\\\"$!\\\"===t.data?e.lanes=8:e.lanes=1073741824,null):(l=i.children,t=i.fallback,s?(i=e.mode,s=e.child,l={mode:\\\"hidden\\\",children:l},0==(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Du(l,i,0,null),t=Ru(t,i,n,null),s.return=e,t.return=e,s.sibling=t,e.child=s,e.child.memoizedState=Ds(n),e.memoizedState=Rs,t):Bs(e,l));if(null!==(a=t.memoizedState)&&null!==(r=a.dehydrated))return function(t,e,n,r,i,a,s){if(n)return 256&e.flags?(e.flags&=-257,Ns(t,e,s,r=hs(Error(o(422))))):null!==e.memoizedState?(e.child=t.child,e.flags|=128,null):(a=r.fallback,i=e.mode,r=Du({mode:\\\"visible\\\",children:r.children},i,0,null),(a=Ru(a,i,s,null)).flags|=2,r.return=e,a.return=e,r.sibling=a,e.child=r,0!=(1&e.mode)&&Ko(e,t.child,null,s),e.child.memoizedState=Ds(s),e.memoizedState=Rs,a);if(0==(1&e.mode))return Ns(t,e,s,null);if(\\\"$!\\\"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Ns(t,e,s,r=hs(a=Error(o(419)),r,void 0))}if(l=0!=(s&t.childLanes),bs||l){if(null!==(r=kl)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!=(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Oo(t,i),nu(r,t,i,-1))}return mu(),Ns(t,e,s,r=hs(Error(o(421))))}return\\\"$?\\\"===i.data?(e.flags|=128,e.child=t.child,e=Tu.bind(null,t),i._reactRetry=e,null):(t=a.treeContext,ro=ui(i.nextSibling),no=e,io=!0,oo=null,null!==t&&(Wi[Xi++]=Zi,Wi[Xi++]=Ki,Wi[Xi++]=Yi,Zi=t.id,Ki=t.overflow,Yi=e),(e=Bs(e,r.children)).flags|=4096,e)}(t,e,l,i,r,a,n);if(s){s=i.fallback,l=e.mode,r=(a=t.child).sibling;var u={mode:\\\"hidden\\\",children:i.children};return 0==(1&l)&&e.child!==a?((i=e.child).childLanes=0,i.pendingProps=u,e.deletions=null):(i=Pu(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Pu(r,s):(s=Ru(s,l,n,null)).flags|=2,s.return=e,i.return=e,i.sibling=s,e.child=i,i=s,s=e.child,l=null===(l=t.child.memoizedState)?Ds(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=t.childLanes&~n,e.memoizedState=Rs,i}return t=(s=t.child).sibling,i=Pu(s,{mode:\\\"visible\\\",children:i.children}),0==(1&e.mode)&&(i.lanes=n),i.return=e,i.sibling=null,null!==t&&(null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=i,e.memoizedState=null,i}function Bs(t,e){return(e=Du({mode:\\\"visible\\\",children:e},t.mode,0,null)).return=t,t.child=e}function Ns(t,e,n,r){return null!==r&&mo(r),Ko(e,t.child,null,n),(t=Bs(e,e.pendingProps.children)).flags|=2,e.memoizedState=null,t}function Fs(t,e,n){t.lanes|=e;var r=t.alternate;null!==r&&(r.lanes|=e),Co(t.return,e,n)}function js(t,e,n,r,i){var o=t.memoizedState;null===o?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Us(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(xs(t,e,r.children,n),0!=(2&(r=la.current)))r=1&r|2,e.flags|=128;else{if(null!==t&&0!=(128&t.flags))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Fs(t,n,e);else if(19===t.tag)Fs(t,n,e);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Ei(la,r),0==(1&e.mode))e.memoizedState=null;else switch(i){case\\\"forwards\\\":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===ua(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),js(e,!1,i,n,o);break;case\\\"backwards\\\":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===ua(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}js(e,!0,n,null,o);break;case\\\"together\\\":js(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function qs(t,e){0==(1&e.mode)&&null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Vs(t,e,n){if(null!==t&&(e.dependencies=t.dependencies),Dl|=e.lanes,0==(n&e.childLanes))return null;if(null!==t&&e.child!==t.child)throw Error(o(153));if(null!==e.child){for(n=Pu(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Pu(t,t.pendingProps)).return=e;n.sibling=null}return e.child}function Hs(t,e){if(!io)switch(t.tailMode){case\\\"hidden\\\":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case\\\"collapsed\\\":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Gs(t){var e=null!==t.alternate&&t.alternate.child===t.child,n=0,r=0;if(e)for(var i=t.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=t,i=i.sibling;else for(i=t.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function Ws(t,e,n){var r=e.pendingProps;switch(eo(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(e),null;case 1:case 17:return Li(e.type)&&Pi(),Gs(e),null;case 3:return r=e.stateNode,oa(),Mi(ki),Mi(Si),ha(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||(ho(e)?e.flags|=4:null===t||t.memoizedState.isDehydrated&&0==(256&e.flags)||(e.flags|=1024,null!==oo&&(au(oo),oo=null))),Gs(e),null;case 5:sa(e);var i=ra(na.current);if(n=e.type,null!==t&&null!=e.stateNode)Ps(t,e,n,r),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(null===e.stateNode)throw Error(o(166));return Gs(e),null}if(t=ra(ta.current),ho(e)){r=e.stateNode,n=e.type;var a=e.memoizedProps;switch(r[pi]=e,r[fi]=a,t=0!=(1&e.mode),n){case\\\"dialog\\\":Nr(\\\"cancel\\\",r),Nr(\\\"close\\\",r);break;case\\\"iframe\\\":case\\\"object\\\":case\\\"embed\\\":Nr(\\\"load\\\",r);break;case\\\"video\\\":case\\\"audio\\\":for(i=0;i<Rr.length;i++)Nr(Rr[i],r);break;case\\\"source\\\":Nr(\\\"error\\\",r);break;case\\\"img\\\":case\\\"image\\\":case\\\"link\\\":Nr(\\\"error\\\",r),Nr(\\\"load\\\",r);break;case\\\"details\\\":Nr(\\\"toggle\\\",r);break;case\\\"input\\\":Z(r,a),Nr(\\\"invalid\\\",r);break;case\\\"select\\\":r._wrapperState={wasMultiple:!!a.multiple},Nr(\\\"invalid\\\",r);break;case\\\"textarea\\\":it(r,a),Nr(\\\"invalid\\\",r)}for(var l in yt(n,a),i=null,a)if(a.hasOwnProperty(l)){var u=a[l];\\\"children\\\"===l?\\\"string\\\"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,u,t),i=[\\\"children\\\",u]):\\\"number\\\"==typeof u&&r.textContent!==\\\"\\\"+u&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,u,t),i=[\\\"children\\\",\\\"\\\"+u]):s.hasOwnProperty(l)&&null!=u&&\\\"onScroll\\\"===l&&Nr(\\\"scroll\\\",r)}switch(n){case\\\"input\\\":G(r),Q(r,a,!0);break;case\\\"textarea\\\":G(r),at(r);break;case\\\"select\\\":case\\\"option\\\":break;default:\\\"function\\\"==typeof a.onClick&&(r.onclick=Qr)}r=i,e.updateQueue=r,null!==r&&(e.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,\\\"http://www.w3.org/1999/xhtml\\\"===t&&(t=st(n)),\\\"http://www.w3.org/1999/xhtml\\\"===t?\\\"script\\\"===n?((t=l.createElement(\\\"div\\\")).innerHTML=\\\"<script><\\\\/script>\\\",t=t.removeChild(t.firstChild)):\\\"string\\\"==typeof r.is?t=l.createElement(n,{is:r.is}):(t=l.createElement(n),\\\"select\\\"===n&&(l=t,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):t=l.createElementNS(t,n),t[pi]=e,t[fi]=r,Ls(t,e),e.stateNode=t;t:{switch(l=_t(n,r),n){case\\\"dialog\\\":Nr(\\\"cancel\\\",t),Nr(\\\"close\\\",t),i=r;break;case\\\"iframe\\\":case\\\"object\\\":case\\\"embed\\\":Nr(\\\"load\\\",t),i=r;break;case\\\"video\\\":case\\\"audio\\\":for(i=0;i<Rr.length;i++)Nr(Rr[i],t);i=r;break;case\\\"source\\\":Nr(\\\"error\\\",t),i=r;break;case\\\"img\\\":case\\\"image\\\":case\\\"link\\\":Nr(\\\"error\\\",t),Nr(\\\"load\\\",t),i=r;break;case\\\"details\\\":Nr(\\\"toggle\\\",t),i=r;break;case\\\"input\\\":Z(t,r),i=Y(t,r),Nr(\\\"invalid\\\",t);break;case\\\"option\\\":default:i=r;break;case\\\"select\\\":t._wrapperState={wasMultiple:!!r.multiple},i=$({},r,{value:void 0}),Nr(\\\"invalid\\\",t);break;case\\\"textarea\\\":it(t,r),i=rt(t,r),Nr(\\\"invalid\\\",t)}for(a in yt(n,i),u=i)if(u.hasOwnProperty(a)){var c=u[a];\\\"style\\\"===a?vt(t,c):\\\"dangerouslySetInnerHTML\\\"===a?null!=(c=c?c.__html:void 0)&&ht(t,c):\\\"children\\\"===a?\\\"string\\\"==typeof c?(\\\"textarea\\\"!==n||\\\"\\\"!==c)&&pt(t,c):\\\"number\\\"==typeof c&&pt(t,\\\"\\\"+c):\\\"suppressContentEditableWarning\\\"!==a&&\\\"suppressHydrationWarning\\\"!==a&&\\\"autoFocus\\\"!==a&&(s.hasOwnProperty(a)?null!=c&&\\\"onScroll\\\"===a&&Nr(\\\"scroll\\\",t):null!=c&&_(t,a,c,l))}switch(n){case\\\"input\\\":G(t),Q(t,r,!1);break;case\\\"textarea\\\":G(t),at(t);break;case\\\"option\\\":null!=r.value&&t.setAttribute(\\\"value\\\",\\\"\\\"+V(r.value));break;case\\\"select\\\":t.multiple=!!r.multiple,null!=(a=r.value)?nt(t,!!r.multiple,a,!1):null!=r.defaultValue&&nt(t,!!r.multiple,r.defaultValue,!0);break;default:\\\"function\\\"==typeof i.onClick&&(t.onclick=Qr)}switch(n){case\\\"button\\\":case\\\"input\\\":case\\\"select\\\":case\\\"textarea\\\":r=!!r.autoFocus;break t;case\\\"img\\\":r=!0;break t;default:r=!1}}r&&(e.flags|=4)}null!==e.ref&&(e.flags|=512,e.flags|=2097152)}return Gs(e),null;case 6:if(t&&null!=e.stateNode)zs(0,e,t.memoizedProps,r);else{if(\\\"string\\\"!=typeof r&&null===e.stateNode)throw Error(o(166));if(n=ra(na.current),ra(ta.current),ho(e)){if(r=e.stateNode,n=e.memoizedProps,r[pi]=e,(a=r.nodeValue!==n)&&null!==(t=no))switch(t.tag){case 3:Jr(r.nodeValue,n,0!=(1&t.mode));break;case 5:!0!==t.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!=(1&t.mode))}a&&(e.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pi]=e,e.stateNode=r}return Gs(e),null;case 13:if(Mi(la),r=e.memoizedState,null===t||null!==t.memoizedState&&null!==t.memoizedState.dehydrated){if(io&&null!==ro&&0!=(1&e.mode)&&0==(128&e.flags))po(),fo(),e.flags|=98560,a=!1;else if(a=ho(e),null!==r&&null!==r.dehydrated){if(null===t){if(!a)throw Error(o(318));if(!(a=null!==(a=e.memoizedState)?a.dehydrated:null))throw Error(o(317));a[pi]=e}else fo(),0==(128&e.flags)&&(e.memoizedState=null),e.flags|=4;Gs(e),a=!1}else null!==oo&&(au(oo),oo=null),a=!0;if(!a)return 65536&e.flags?e:null}return 0!=(128&e.flags)?(e.lanes=n,e):((r=null!==r)!=(null!==t&&null!==t.memoizedState)&&r&&(e.child.flags|=8192,0!=(1&e.mode)&&(null===t||0!=(1&la.current)?0===zl&&(zl=3):mu())),null!==e.updateQueue&&(e.flags|=4),Gs(e),null);case 4:return oa(),null===t&&Ur(e.stateNode.containerInfo),Gs(e),null;case 10:return Ao(e.type._context),Gs(e),null;case 19:if(Mi(la),null===(a=e.memoizedState))return Gs(e),null;if(r=0!=(128&e.flags),null===(l=a.rendering))if(r)Hs(a,!1);else{if(0!==zl||null!==t&&0!=(128&t.flags))for(t=e.child;null!==t;){if(null!==(l=ua(t))){for(e.flags|=128,Hs(a,!1),null!==(r=l.updateQueue)&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;null!==n;)t=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=t,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,t=l.dependencies,a.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return Ei(la,1&la.current|2),e.child}t=t.sibling}null!==a.tail&&Kt()>Ul&&(e.flags|=128,r=!0,Hs(a,!1),e.lanes=4194304)}else{if(!r)if(null!==(t=ua(l))){if(e.flags|=128,r=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.flags|=4),Hs(a,!0),null===a.tail&&\\\"hidden\\\"===a.tailMode&&!l.alternate&&!io)return Gs(e),null}else 2*Kt()-a.renderingStartTime>Ul&&1073741824!==n&&(e.flags|=128,r=!0,Hs(a,!1),e.lanes=4194304);a.isBackwards?(l.sibling=e.child,e.child=l):(null!==(n=a.last)?n.sibling=l:e.child=l,a.last=l)}return null!==a.tail?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Kt(),e.sibling=null,n=la.current,Ei(la,r?1&n|2:1&n),e):(Gs(e),null);case 22:case 23:return hu(),r=null!==e.memoizedState,null!==t&&null!==t.memoizedState!==r&&(e.flags|=8192),r&&0!=(1&e.mode)?0!=(1073741824&Ll)&&(Gs(e),6&e.subtreeFlags&&(e.flags|=8192)):Gs(e),null;case 24:case 25:return null}throw Error(o(156,e.tag))}function Xs(t,e){switch(eo(e),e.tag){case 1:return Li(e.type)&&Pi(),65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 3:return oa(),Mi(ki),Mi(Si),ha(),0!=(65536&(t=e.flags))&&0==(128&t)?(e.flags=-65537&t|128,e):null;case 5:return sa(e),null;case 13:if(Mi(la),null!==(t=e.memoizedState)&&null!==t.dehydrated){if(null===e.alternate)throw Error(o(340));fo()}return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 19:return Mi(la),null;case 4:return oa(),null;case 10:return Ao(e.type._context),null;case 22:case 23:return hu(),null;default:return null}}Ls=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ps=function(t,e,n,r){var i=t.memoizedProps;if(i!==r){t=e.stateNode,ra(ta.current);var o,a=null;switch(n){case\\\"input\\\":i=Y(t,i),r=Y(t,r),a=[];break;case\\\"select\\\":i=$({},i,{value:void 0}),r=$({},r,{value:void 0}),a=[];break;case\\\"textarea\\\":i=rt(t,i),r=rt(t,r),a=[];break;default:\\\"function\\\"!=typeof i.onClick&&\\\"function\\\"==typeof r.onClick&&(t.onclick=Qr)}for(c in yt(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if(\\\"style\\\"===c){var l=i[c];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]=\\\"\\\")}else\\\"dangerouslySetInnerHTML\\\"!==c&&\\\"children\\\"!==c&&\\\"suppressContentEditableWarning\\\"!==c&&\\\"suppressHydrationWarning\\\"!==c&&\\\"autoFocus\\\"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if(\\\"style\\\"===c)if(l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]=\\\"\\\");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(a||(a=[]),a.push(c,n)),n=u;else\\\"dangerouslySetInnerHTML\\\"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):\\\"children\\\"===c?\\\"string\\\"!=typeof u&&\\\"number\\\"!=typeof u||(a=a||[]).push(c,\\\"\\\"+u):\\\"suppressContentEditableWarning\\\"!==c&&\\\"suppressHydrationWarning\\\"!==c&&(s.hasOwnProperty(c)?(null!=u&&\\\"onScroll\\\"===c&&Nr(\\\"scroll\\\",t),a||l===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push(\\\"style\\\",n);var c=a;(e.updateQueue=c)&&(e.flags|=4)}},zs=function(t,e,n,r){n!==r&&(e.flags|=4)};var Ys=!1,Zs=!1,Ks=\\\"function\\\"==typeof WeakSet?WeakSet:Set,Js=null;function Qs(t,e){var n=t.ref;if(null!==n)if(\\\"function\\\"==typeof n)try{n(null)}catch(n){Cu(t,e,n)}else n.current=null}function tl(t,e,n){try{n()}catch(n){Cu(t,e,n)}}var el=!1;function nl(t,e,n){var r=e.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,void 0!==o&&tl(e,n,o)}i=i.next}while(i!==r)}}function rl(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function il(t){var e=t.ref;if(null!==e){var n=t.stateNode;t.tag,t=n,\\\"function\\\"==typeof e?e(t):e.current=t}}function ol(t){var e=t.alternate;null!==e&&(t.alternate=null,ol(e)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(e=t.stateNode)&&(delete e[pi],delete e[fi],delete e[mi],delete e[vi],delete e[gi]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function al(t){return 5===t.tag||3===t.tag||4===t.tag}function sl(t){t:for(;;){for(;null===t.sibling;){if(null===t.return||al(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.flags)continue t;if(null===t.child||4===t.tag)continue t;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function ll(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode).insertBefore(t,n):(e=n).appendChild(t),null!=(n=n._reactRootContainer)||null!==e.onclick||(e.onclick=Qr));else if(4!==r&&null!==(t=t.child))for(ll(t,e,n),t=t.sibling;null!==t;)ll(t,e,n),t=t.sibling}function ul(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&null!==(t=t.child))for(ul(t,e,n),t=t.sibling;null!==t;)ul(t,e,n),t=t.sibling}var cl=null,hl=!1;function pl(t,e,n){for(n=n.child;null!==n;)fl(t,e,n),n=n.sibling}function fl(t,e,n){if(oe&&\\\"function\\\"==typeof oe.onCommitFiberUnmount)try{oe.onCommitFiberUnmount(ie,n)}catch(t){}switch(n.tag){case 5:Zs||Qs(n,e);case 6:var r=cl,i=hl;cl=null,pl(t,e,n),hl=i,null!==(cl=r)&&(hl?(t=cl,n=n.stateNode,8===t.nodeType?t.parentNode.removeChild(n):t.removeChild(n)):cl.removeChild(n.stateNode));break;case 18:null!==cl&&(hl?(t=cl,n=n.stateNode,8===t.nodeType?li(t.parentNode,n):1===t.nodeType&&li(t,n),Ue(t)):li(cl,n.stateNode));break;case 4:r=cl,i=hl,cl=n.stateNode.containerInfo,hl=!0,pl(t,e,n),cl=r,hl=i;break;case 0:case 11:case 14:case 15:if(!Zs&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!=(2&o)||0!=(4&o))&&tl(n,e,a),i=i.next}while(i!==r)}pl(t,e,n);break;case 1:if(!Zs&&(Qs(n,e),\\\"function\\\"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(t){Cu(n,e,t)}pl(t,e,n);break;case 21:pl(t,e,n);break;case 22:1&n.mode?(Zs=(r=Zs)||null!==n.memoizedState,pl(t,e,n),Zs=r):pl(t,e,n);break;default:pl(t,e,n)}}function dl(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new Ks),e.forEach((function(e){var r=Su.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}function ml(t,e){var n=e.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=t,s=e,l=s;t:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,hl=!1;break t;case 3:case 4:cl=l.stateNode.containerInfo,hl=!0;break t}l=l.return}if(null===cl)throw Error(o(160));fl(a,s,i),cl=null,hl=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(t){Cu(i,e,t)}}if(12854&e.subtreeFlags)for(e=e.child;null!==e;)vl(e,t),e=e.sibling}function vl(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(ml(e,t),gl(t),4&r){try{nl(3,t,t.return),rl(3,t)}catch(e){Cu(t,t.return,e)}try{nl(5,t,t.return)}catch(e){Cu(t,t.return,e)}}break;case 1:ml(e,t),gl(t),512&r&&null!==n&&Qs(n,n.return);break;case 5:if(ml(e,t),gl(t),512&r&&null!==n&&Qs(n,n.return),32&t.flags){var i=t.stateNode;try{pt(i,\\\"\\\")}catch(e){Cu(t,t.return,e)}}if(4&r&&null!=(i=t.stateNode)){var a=t.memoizedProps,s=null!==n?n.memoizedProps:a,l=t.type,u=t.updateQueue;if(t.updateQueue=null,null!==u)try{\\\"input\\\"===l&&\\\"radio\\\"===a.type&&null!=a.name&&K(i,a),_t(l,s);var c=_t(l,a);for(s=0;s<u.length;s+=2){var h=u[s],p=u[s+1];\\\"style\\\"===h?vt(i,p):\\\"dangerouslySetInnerHTML\\\"===h?ht(i,p):\\\"children\\\"===h?pt(i,p):_(i,h,p,c)}switch(l){case\\\"input\\\":J(i,a);break;case\\\"textarea\\\":ot(i,a);break;case\\\"select\\\":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var d=a.value;null!=d?nt(i,!!a.multiple,d,!1):f!==!!a.multiple&&(null!=a.defaultValue?nt(i,!!a.multiple,a.defaultValue,!0):nt(i,!!a.multiple,a.multiple?[]:\\\"\\\",!1))}i[fi]=a}catch(e){Cu(t,t.return,e)}}break;case 6:if(ml(e,t),gl(t),4&r){if(null===t.stateNode)throw Error(o(162));i=t.stateNode,a=t.memoizedProps;try{i.nodeValue=a}catch(e){Cu(t,t.return,e)}}break;case 3:if(ml(e,t),gl(t),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ue(e.containerInfo)}catch(e){Cu(t,t.return,e)}break;case 4:default:ml(e,t),gl(t);break;case 13:ml(e,t),gl(t),8192&(i=t.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(jl=Kt())),4&r&&dl(t);break;case 22:if(h=null!==n&&null!==n.memoizedState,1&t.mode?(Zs=(c=Zs)||h,ml(e,t),Zs=c):ml(e,t),gl(t),8192&r){if(c=null!==t.memoizedState,(t.stateNode.isHidden=c)&&!h&&0!=(1&t.mode))for(Js=t,h=t.child;null!==h;){for(p=Js=h;null!==Js;){switch(d=(f=Js).child,f.tag){case 0:case 11:case 14:case 15:nl(4,f,f.return);break;case 1:Qs(f,f.return);var m=f.stateNode;if(\\\"function\\\"==typeof m.componentWillUnmount){r=f,n=f.return;try{e=r,m.props=e.memoizedProps,m.state=e.memoizedState,m.componentWillUnmount()}catch(t){Cu(r,n,t)}}break;case 5:Qs(f,f.return);break;case 22:if(null!==f.memoizedState){xl(p);continue}}null!==d?(d.return=f,Js=d):xl(p)}h=h.sibling}t:for(h=null,p=t;;){if(5===p.tag){if(null===h){h=p;try{i=p.stateNode,c?\\\"function\\\"==typeof(a=i.style).setProperty?a.setProperty(\\\"display\\\",\\\"none\\\",\\\"important\\\"):a.display=\\\"none\\\":(l=p.stateNode,s=null!=(u=p.memoizedProps.style)&&u.hasOwnProperty(\\\"display\\\")?u.display:null,l.style.display=mt(\\\"display\\\",s))}catch(e){Cu(t,t.return,e)}}}else if(6===p.tag){if(null===h)try{p.stateNode.nodeValue=c?\\\"\\\":p.memoizedProps}catch(e){Cu(t,t.return,e)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===t)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===t)break t;for(;null===p.sibling;){if(null===p.return||p.return===t)break t;h===p&&(h=null),p=p.return}h===p&&(h=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:ml(e,t),gl(t),4&r&&dl(t);case 21:}}function gl(t){var e=t.flags;if(2&e){try{t:{for(var n=t.return;null!==n;){if(al(n)){var r=n;break t}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(pt(i,\\\"\\\"),r.flags&=-33),ul(t,sl(t),i);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(t,sl(t),a);break;default:throw Error(o(161))}}catch(e){Cu(t,t.return,e)}t.flags&=-3}4096&e&&(t.flags&=-4097)}function yl(t,e,n){Js=t,_l(t,e,n)}function _l(t,e,n){for(var r=0!=(1&t.mode);null!==Js;){var i=Js,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Ys;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Zs;s=Ys;var u=Zs;if(Ys=a,(Zs=l)&&!u)for(Js=i;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?wl(i):null!==l?(l.return=a,Js=l):wl(i);for(;null!==o;)Js=o,_l(o,e,n),o=o.sibling;Js=i,Ys=s,Zs=u}bl(t)}else 0!=(8772&i.subtreeFlags)&&null!==o?(o.return=i,Js=o):bl(t)}}function bl(t){for(;null!==Js;){var e=Js;if(0!=(8772&e.flags)){var n=e.alternate;try{if(0!=(8772&e.flags))switch(e.tag){case 0:case 11:case 15:Zs||rl(5,e);break;case 1:var r=e.stateNode;if(4&e.flags&&!Zs)if(null===n)r.componentDidMount();else{var i=e.elementType===e.type?n.memoizedProps:go(e.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=e.updateQueue;null!==a&&No(e,a,r);break;case 3:var s=e.updateQueue;if(null!==s){if(n=null,null!==e.child)switch(e.child.tag){case 5:case 1:n=e.child.stateNode}No(e,s,n)}break;case 5:var l=e.stateNode;if(null===n&&4&e.flags){n=l;var u=e.memoizedProps;switch(e.type){case\\\"button\\\":case\\\"input\\\":case\\\"select\\\":case\\\"textarea\\\":u.autoFocus&&n.focus();break;case\\\"img\\\":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===e.memoizedState){var c=e.alternate;if(null!==c){var h=c.memoizedState;if(null!==h){var p=h.dehydrated;null!==p&&Ue(p)}}}break;default:throw Error(o(163))}Zs||512&e.flags&&il(e)}catch(t){Cu(e,e.return,t)}}if(e===t){Js=null;break}if(null!==(n=e.sibling)){n.return=e.return,Js=n;break}Js=e.return}}function xl(t){for(;null!==Js;){var e=Js;if(e===t){Js=null;break}var n=e.sibling;if(null!==n){n.return=e.return,Js=n;break}Js=e.return}}function wl(t){for(;null!==Js;){var e=Js;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{rl(4,e)}catch(t){Cu(e,n,t)}break;case 1:var r=e.stateNode;if(\\\"function\\\"==typeof r.componentDidMount){var i=e.return;try{r.componentDidMount()}catch(t){Cu(e,i,t)}}var o=e.return;try{il(e)}catch(t){Cu(e,o,t)}break;case 5:var a=e.return;try{il(e)}catch(t){Cu(e,a,t)}}}catch(t){Cu(e,e.return,t)}if(e===t){Js=null;break}var s=e.sibling;if(null!==s){s.return=e.return,Js=s;break}Js=e.return}}var Al,Cl=Math.ceil,Ml=b.ReactCurrentDispatcher,El=b.ReactCurrentOwner,Tl=b.ReactCurrentBatchConfig,Sl=0,kl=null,Ol=null,Il=0,Ll=0,Pl=Ci(0),zl=0,Rl=null,Dl=0,$l=0,Bl=0,Nl=null,Fl=null,jl=0,Ul=1/0,ql=null,Vl=!1,Hl=null,Gl=null,Wl=!1,Xl=null,Yl=0,Zl=0,Kl=null,Jl=-1,Ql=0;function tu(){return 0!=(6&Sl)?Kt():-1!==Jl?Jl:Jl=Kt()}function eu(t){return 0==(1&t.mode)?1:0!=(2&Sl)&&0!==Il?Il&-Il:null!==vo.transition?(0===Ql&&(Ql=me()),Ql):0!==(t=_e)?t:t=void 0===(t=window.event)?16:Ze(t.type)}function nu(t,e,n,r){if(50<Zl)throw Zl=0,Kl=null,Error(o(185));ge(t,n,r),0!=(2&Sl)&&t===kl||(t===kl&&(0==(2&Sl)&&($l|=n),4===zl&&su(t,Il)),ru(t,r),1===n&&0===Sl&&0==(1&e.mode)&&(Ul=Kt()+500,Ni&&Ui()))}function ru(t,e){var n=t.callbackNode;!function(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,i=t.expirationTimes,o=t.pendingLanes;0<o;){var a=31-ae(o),s=1<<a,l=i[a];-1===l?0!=(s&n)&&0==(s&r)||(i[a]=fe(s,e)):l<=e&&(t.expiredLanes|=s),o&=~s}}(t,e);var r=pe(t,t===kl?Il:0);if(0===r)null!==n&&Xt(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(null!=n&&Xt(n),1===e)0===t.tag?function(t){Ni=!0,ji(t)}(lu.bind(null,t)):ji(lu.bind(null,t)),ai((function(){0==(6&Sl)&&Ui()})),n=null;else{switch(be(r)){case 1:n=Qt;break;case 4:n=te;break;case 16:default:n=ee;break;case 536870912:n=re}n=ku(n,iu.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function iu(t,e){if(Jl=-1,Ql=0,0!=(6&Sl))throw Error(o(327));var n=t.callbackNode;if(wu()&&t.callbackNode!==n)return null;var r=pe(t,t===kl?Il:0);if(0===r)return null;if(0!=(30&r)||0!=(r&t.expiredLanes)||e)e=vu(t,r);else{e=r;var i=Sl;Sl|=2;var a=du();for(kl===t&&Il===e||(ql=null,Ul=Kt()+500,pu(t,e));;)try{yu();break}catch(e){fu(t,e)}wo(),Ml.current=a,Sl=i,null!==Ol?e=0:(kl=null,Il=0,e=zl)}if(0!==e){if(2===e&&0!==(i=de(t))&&(r=i,e=ou(t,i)),1===e)throw n=Rl,pu(t,0),su(t,r),ru(t,Kt()),n;if(6===e)su(t,r);else{if(i=t.current.alternate,0==(30&r)&&!function(t){for(var e=t;;){if(16384&e.flags){var n=e.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(t){return!1}}}if(n=e.child,16384&e.subtreeFlags&&null!==n)n.return=e,e=n;else{if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}(i)&&(2===(e=vu(t,r))&&0!==(a=de(t))&&(r=a,e=ou(t,a)),1===e))throw n=Rl,pu(t,0),su(t,r),ru(t,Kt()),n;switch(t.finishedWork=i,t.finishedLanes=r,e){case 0:case 1:throw Error(o(345));case 2:case 5:xu(t,Fl,ql);break;case 3:if(su(t,r),(130023424&r)===r&&10<(e=jl+500-Kt())){if(0!==pe(t,0))break;if(((i=t.suspendedLanes)&r)!==r){tu(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=ri(xu.bind(null,t,Fl,ql),e);break}xu(t,Fl,ql);break;case 4:if(su(t,r),(4194240&r)===r)break;for(e=t.eventTimes,i=-1;0<r;){var s=31-ae(r);a=1<<s,(s=e[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Kt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){t.timeoutHandle=ri(xu.bind(null,t,Fl,ql),r);break}xu(t,Fl,ql);break;default:throw Error(o(329))}}}return ru(t,Kt()),t.callbackNode===n?iu.bind(null,t):null}function ou(t,e){var n=Nl;return t.current.memoizedState.isDehydrated&&(pu(t,e).flags|=256),2!==(t=vu(t,e))&&(e=Fl,Fl=n,null!==e&&au(e)),t}function au(t){null===Fl?Fl=t:Fl.push.apply(Fl,t)}function su(t,e){for(e&=~Bl,e&=~$l,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-ae(e),r=1<<n;t[n]=-1,e&=~r}}function lu(t){if(0!=(6&Sl))throw Error(o(327));wu();var e=pe(t,0);if(0==(1&e))return ru(t,Kt()),null;var n=vu(t,e);if(0!==t.tag&&2===n){var r=de(t);0!==r&&(e=r,n=ou(t,r))}if(1===n)throw n=Rl,pu(t,0),su(t,e),ru(t,Kt()),n;if(6===n)throw Error(o(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,xu(t,Fl,ql),ru(t,Kt()),null}function uu(t,e){var n=Sl;Sl|=1;try{return t(e)}finally{0===(Sl=n)&&(Ul=Kt()+500,Ni&&Ui())}}function cu(t){null!==Xl&&0===Xl.tag&&0==(6&Sl)&&wu();var e=Sl;Sl|=1;var n=Tl.transition,r=_e;try{if(Tl.transition=null,_e=1,t)return t()}finally{_e=r,Tl.transition=n,0==(6&(Sl=e))&&Ui()}}function hu(){Ll=Pl.current,Mi(Pl)}function pu(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,ii(n)),null!==Ol)for(n=Ol.return;null!==n;){var r=n;switch(eo(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Pi();break;case 3:oa(),Mi(ki),Mi(Si),ha();break;case 5:sa(r);break;case 4:oa();break;case 13:case 19:Mi(la);break;case 10:Ao(r.type._context);break;case 22:case 23:hu()}n=n.return}if(kl=t,Ol=t=Pu(t.current,null),Il=Ll=e,zl=0,Rl=null,Bl=$l=Dl=0,Fl=Nl=null,null!==To){for(e=0;e<To.length;e++)if(null!==(r=(n=To[e]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}To=null}return t}function fu(t,e){for(;;){var n=Ol;try{if(wo(),pa.current=as,ya){for(var r=ma.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ya=!1}if(da=0,ga=va=ma=null,_a=!1,ba=0,El.current=null,null===n||null===n.return){zl=1,Rl=e,Ol=null;break}t:{var a=t,s=n.return,l=n,u=e;if(e=Il,l.flags|=32768,null!==u&&\\\"object\\\"==typeof u&&\\\"function\\\"==typeof u.then){var c=u,h=l,p=h.tag;if(0==(1&h.mode)&&(0===p||11===p||15===p)){var f=h.alternate;f?(h.updateQueue=f.updateQueue,h.memoizedState=f.memoizedState,h.lanes=f.lanes):(h.updateQueue=null,h.memoizedState=null)}var d=gs(s);if(null!==d){d.flags&=-257,ys(d,s,l,0,e),1&d.mode&&vs(a,c,e),u=c;var m=(e=d).updateQueue;if(null===m){var v=new Set;v.add(u),e.updateQueue=v}else m.add(u);break t}if(0==(1&e)){vs(a,c,e),mu();break t}u=Error(o(426))}else if(io&&1&l.mode){var g=gs(s);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),ys(g,s,l,0,e),mo(cs(u,l));break t}}a=u=cs(u,l),4!==zl&&(zl=2),null===Nl?Nl=[a]:Nl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,e&=-e,a.lanes|=e,$o(a,ds(0,u,e));break t;case 1:l=u;var y=a.type,_=a.stateNode;if(0==(128&a.flags)&&(\\\"function\\\"==typeof y.getDerivedStateFromError||null!==_&&\\\"function\\\"==typeof _.componentDidCatch&&(null===Gl||!Gl.has(_)))){a.flags|=65536,e&=-e,a.lanes|=e,$o(a,ms(a,l,e));break t}}a=a.return}while(null!==a)}bu(n)}catch(t){e=t,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function du(){var t=Ml.current;return Ml.current=as,null===t?as:t}function mu(){0!==zl&&3!==zl&&2!==zl||(zl=4),null===kl||0==(268435455&Dl)&&0==(268435455&$l)||su(kl,Il)}function vu(t,e){var n=Sl;Sl|=2;var r=du();for(kl===t&&Il===e||(ql=null,pu(t,e));;)try{gu();break}catch(e){fu(t,e)}if(wo(),Sl=n,Ml.current=r,null!==Ol)throw Error(o(261));return kl=null,Il=0,zl}function gu(){for(;null!==Ol;)_u(Ol)}function yu(){for(;null!==Ol&&!Yt();)_u(Ol)}function _u(t){var e=Al(t.alternate,t,Ll);t.memoizedProps=t.pendingProps,null===e?bu(t):Ol=e,El.current=null}function bu(t){var e=t;do{var n=e.alternate;if(t=e.return,0==(32768&e.flags)){if(null!==(n=Ws(n,e,Ll)))return void(Ol=n)}else{if(null!==(n=Xs(n,e)))return n.flags&=32767,void(Ol=n);if(null===t)return zl=6,void(Ol=null);t.flags|=32768,t.subtreeFlags=0,t.deletions=null}if(null!==(e=e.sibling))return void(Ol=e);Ol=e=t}while(null!==e);0===zl&&(zl=5)}function xu(t,e,n){var r=_e,i=Tl.transition;try{Tl.transition=null,_e=1,function(t,e,n,r){do{wu()}while(null!==Xl);if(0!=(6&Sl))throw Error(o(327));n=t.finishedWork;var i=t.finishedLanes;if(null===n)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(o(177));t.callbackNode=null,t.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var i=31-ae(n),o=1<<i;e[i]=0,r[i]=-1,t[i]=-1,n&=~o}}(t,a),t===kl&&(Ol=kl=null,Il=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Wl||(Wl=!0,ku(ee,(function(){return wu(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Tl.transition,Tl.transition=null;var s=_e;_e=1;var l=Sl;Sl|=4,El.current=null,function(t,e){if(ti=Ve,fr(t=pr())){if(\\\"selectionStart\\\"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{var r=(n=(n=t.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(t){n=null;break t}var s=0,l=-1,u=-1,c=0,h=0,p=t,f=null;e:for(;;){for(var d;p!==n||0!==i&&3!==p.nodeType||(l=s+i),p!==a||0!==r&&3!==p.nodeType||(u=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(d=p.firstChild);)f=p,p=d;for(;;){if(p===t)break e;if(f===n&&++c===i&&(l=s),f===a&&++h===r&&(u=s),null!==(d=p.nextSibling))break;f=(p=f).parentNode}p=d}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ei={focusedElem:t,selectionRange:n},Ve=!1,Js=e;null!==Js;)if(t=(e=Js).child,0!=(1028&e.subtreeFlags)&&null!==t)t.return=e,Js=t;else for(;null!==Js;){e=Js;try{var m=e.alternate;if(0!=(1024&e.flags))switch(e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=e.stateNode,_=y.getSnapshotBeforeUpdate(e.elementType===e.type?v:go(e.type,v),g);y.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var b=e.stateNode.containerInfo;1===b.nodeType?b.textContent=\\\"\\\":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(o(163))}}catch(t){Cu(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,Js=t;break}Js=e.return}m=el,el=!1}(t,n),vl(n,t),dr(ei),Ve=!!ti,ei=ti=null,t.current=n,yl(n,t,i),Zt(),Sl=l,_e=s,Tl.transition=a}else t.current=n;if(Wl&&(Wl=!1,Xl=t,Yl=i),0===(a=t.pendingLanes)&&(Gl=null),function(t){if(oe&&\\\"function\\\"==typeof oe.onCommitFiberRoot)try{oe.onCommitFiberRoot(ie,t,void 0,128==(128&t.current.flags))}catch(t){}}(n.stateNode),ru(t,Kt()),null!==e)for(r=t.onRecoverableError,n=0;n<e.length;n++)r((i=e[n]).value,{componentStack:i.stack,digest:i.digest});if(Vl)throw Vl=!1,t=Hl,Hl=null,t;0!=(1&Yl)&&0!==t.tag&&wu(),0!=(1&(a=t.pendingLanes))?t===Kl?Zl++:(Zl=0,Kl=t):Zl=0,Ui()}(t,e,n,r)}finally{Tl.transition=i,_e=r}return null}function wu(){if(null!==Xl){var t=be(Yl),e=Tl.transition,n=_e;try{if(Tl.transition=null,_e=16>t?16:t,null===Xl)var r=!1;else{if(t=Xl,Xl=null,Yl=0,0!=(6&Sl))throw Error(o(331));var i=Sl;for(Sl|=4,Js=t.current;null!==Js;){var a=Js,s=a.child;if(0!=(16&Js.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Js=c;null!==Js;){var h=Js;switch(h.tag){case 0:case 11:case 15:nl(8,h,a)}var p=h.child;if(null!==p)p.return=h,Js=p;else for(;null!==Js;){var f=(h=Js).sibling,d=h.return;if(ol(h),h===c){Js=null;break}if(null!==f){f.return=d,Js=f;break}Js=d}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Js=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else t:for(;null!==Js;){if(0!=(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Js=y;break t}Js=a.return}}var _=t.current;for(Js=_;null!==Js;){var b=(s=Js).child;if(0!=(2064&s.subtreeFlags)&&null!==b)b.return=s,Js=b;else t:for(s=_;null!==Js;){if(0!=(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(t){Cu(l,l.return,t)}if(l===s){Js=null;break t}var x=l.sibling;if(null!==x){x.return=l.return,Js=x;break t}Js=l.return}}if(Sl=i,Ui(),oe&&\\\"function\\\"==typeof oe.onPostCommitFiberRoot)try{oe.onPostCommitFiberRoot(ie,t)}catch(t){}r=!0}return r}finally{_e=n,Tl.transition=e}}return!1}function Au(t,e,n){t=Ro(t,e=ds(0,e=cs(n,e),1),1),e=tu(),null!==t&&(ge(t,1,e),ru(t,e))}function Cu(t,e,n){if(3===t.tag)Au(t,t,n);else for(;null!==e;){if(3===e.tag){Au(e,t,n);break}if(1===e.tag){var r=e.stateNode;if(\\\"function\\\"==typeof e.type.getDerivedStateFromError||\\\"function\\\"==typeof r.componentDidCatch&&(null===Gl||!Gl.has(r))){e=Ro(e,t=ms(e,t=cs(n,t),1),1),t=tu(),null!==e&&(ge(e,1,t),ru(e,t));break}}e=e.return}}function Mu(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),e=tu(),t.pingedLanes|=t.suspendedLanes&n,kl===t&&(Il&n)===n&&(4===zl||3===zl&&(130023424&Il)===Il&&500>Kt()-jl?pu(t,0):Bl|=n),ru(t,e)}function Eu(t,e){0===e&&(0==(1&t.mode)?e=1:(e=ce,0==(130023424&(ce<<=1))&&(ce=4194304)));var n=tu();null!==(t=Oo(t,e))&&(ge(t,e,n),ru(t,n))}function Tu(t){var e=t.memoizedState,n=0;null!==e&&(n=e.retryLane),Eu(t,n)}function Su(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(e),Eu(t,n)}function ku(t,e){return Wt(t,e)}function Ou(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Iu(t,e,n,r){return new Ou(t,e,n,r)}function Lu(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Pu(t,e){var n=t.alternate;return null===n?((n=Iu(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&t.flags,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function zu(t,e,n,r,i,a){var s=2;if(r=t,\\\"function\\\"==typeof t)Lu(t)&&(s=1);else if(\\\"string\\\"==typeof t)s=5;else t:switch(t){case A:return Ru(n.children,i,a,e);case C:s=8,i|=8;break;case M:return(t=Iu(12,n,e,2|i)).elementType=M,t.lanes=a,t;case k:return(t=Iu(13,n,e,i)).elementType=k,t.lanes=a,t;case O:return(t=Iu(19,n,e,i)).elementType=O,t.lanes=a,t;case P:return Du(n,i,a,e);default:if(\\\"object\\\"==typeof t&&null!==t)switch(t.$$typeof){case E:s=10;break t;case T:s=9;break t;case S:s=11;break t;case I:s=14;break t;case L:s=16,r=null;break t}throw Error(o(130,null==t?t:typeof t,\\\"\\\"))}return(e=Iu(s,n,e,i)).elementType=t,e.type=r,e.lanes=a,e}function Ru(t,e,n,r){return(t=Iu(7,t,r,e)).lanes=n,t}function Du(t,e,n,r){return(t=Iu(22,t,r,e)).elementType=P,t.lanes=n,t.stateNode={isHidden:!1},t}function $u(t,e,n){return(t=Iu(6,t,null,e)).lanes=n,t}function Bu(t,e,n){return(e=Iu(4,null!==t.children?t.children:[],t.key,e)).lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Nu(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ve(0),this.expirationTimes=ve(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ve(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Fu(t,e,n,r,i,o,a,s,l){return t=new Nu(t,e,n,s,l),1===e?(e=1,!0===o&&(e|=8)):e=0,o=Iu(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lo(o),t}function ju(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:\\\"\\\"+r,children:t,containerInfo:e,implementation:n}}function Uu(t){if(!t)return Ti;t:{if(Ut(t=t._reactInternals)!==t||1!==t.tag)throw Error(o(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break t;case 1:if(Li(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break t}}e=e.return}while(null!==e);throw Error(o(171))}if(1===t.tag){var n=t.type;if(Li(n))return Ri(t,n,e)}return e}function qu(t,e,n,r,i,o,a,s,l){return(t=Fu(n,r,!0,t,0,o,0,s,l)).context=Uu(null),n=t.current,(o=zo(r=tu(),i=eu(n))).callback=null!=e?e:null,Ro(n,o,i),t.current.lanes=i,ge(t,i,r),ru(t,r),t}function Vu(t,e,n,r){var i=e.current,o=tu(),a=eu(i);return n=Uu(n),null===e.context?e.context=n:e.pendingContext=n,(e=zo(o,a)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),null!==(t=Ro(i,e,a))&&(nu(t,i,a,o),Do(t,i,a)),a}function Hu(t){return(t=t.current).child?(t.child.tag,t.child.stateNode):null}function Gu(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<e?n:e}}function Wu(t,e){Gu(t,e),(t=t.alternate)&&Gu(t,e)}Al=function(t,e,n){if(null!==t)if(t.memoizedProps!==e.pendingProps||ki.current)bs=!0;else{if(0==(t.lanes&n)&&0==(128&e.flags))return bs=!1,function(t,e,n){switch(e.tag){case 3:Os(e),fo();break;case 5:aa(e);break;case 1:Li(e.type)&&Di(e);break;case 4:ia(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,i=e.memoizedProps.value;Ei(yo,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=e.memoizedState))return null!==r.dehydrated?(Ei(la,1&la.current),e.flags|=128,null):0!=(n&e.child.childLanes)?$s(t,e,n):(Ei(la,1&la.current),null!==(t=Vs(t,e,n))?t.sibling:null);Ei(la,1&la.current);break;case 19:if(r=0!=(n&e.childLanes),0!=(128&t.flags)){if(r)return Us(t,e,n);e.flags|=128}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ei(la,la.current),r)break;return null;case 22:case 23:return e.lanes=0,Ms(t,e,n)}return Vs(t,e,n)}(t,e,n);bs=0!=(131072&t.flags)}else bs=!1,io&&0!=(1048576&e.flags)&&Qi(e,Gi,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;qs(t,e),t=e.pendingProps;var i=Ii(e,Si.current);Mo(e,n),i=Ca(null,e,r,t,i,n);var a=Ma();return e.flags|=1,\\\"object\\\"==typeof i&&null!==i&&\\\"function\\\"==typeof i.render&&void 0===i.$$typeof?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Li(r)?(a=!0,Di(e)):a=!1,e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Lo(e),i.updater=Uo,e.stateNode=i,i._reactInternals=e,Go(e,r,t,n),e=ks(null,e,r,!0,a,n)):(e.tag=0,io&&a&&to(e),xs(null,e,i,n),e=e.child),e;case 16:r=e.elementType;t:{switch(qs(t,e),t=e.pendingProps,r=(i=r._init)(r._payload),e.type=r,i=e.tag=function(t){if(\\\"function\\\"==typeof t)return Lu(t)?1:0;if(null!=t){if((t=t.$$typeof)===S)return 11;if(t===I)return 14}return 2}(r),t=go(r,t),i){case 0:e=Ts(null,e,r,t,n);break t;case 1:e=Ss(null,e,r,t,n);break t;case 11:e=ws(null,e,r,t,n);break t;case 14:e=As(null,e,r,go(r.type,t),n);break t}throw Error(o(306,r,\\\"\\\"))}return e;case 0:return r=e.type,i=e.pendingProps,Ts(t,e,r,i=e.elementType===r?i:go(r,i),n);case 1:return r=e.type,i=e.pendingProps,Ss(t,e,r,i=e.elementType===r?i:go(r,i),n);case 3:t:{if(Os(e),null===t)throw Error(o(387));r=e.pendingProps,i=(a=e.memoizedState).element,Po(t,e),Bo(e,r,null,n);var s=e.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=a,e.memoizedState=a,256&e.flags){e=Is(t,e,r,n,i=cs(Error(o(423)),e));break t}if(r!==i){e=Is(t,e,r,n,i=cs(Error(o(424)),e));break t}for(ro=ui(e.stateNode.containerInfo.firstChild),no=e,io=!0,oo=null,n=Jo(e,null,r,n),e.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fo(),r===i){e=Vs(t,e,n);break t}xs(t,e,r,n)}e=e.child}return e;case 5:return aa(e),null===t&&uo(e),r=e.type,i=e.pendingProps,a=null!==t?t.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(e.flags|=32),Es(t,e),xs(t,e,s,n),e.child;case 6:return null===t&&uo(e),null;case 13:return $s(t,e,n);case 4:return ia(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Ko(e,null,r,n):xs(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,ws(t,e,r,i=e.elementType===r?i:go(r,i),n);case 7:return xs(t,e,e.pendingProps,n),e.child;case 8:case 12:return xs(t,e,e.pendingProps.children,n),e.child;case 10:t:{if(r=e.type._context,i=e.pendingProps,a=e.memoizedProps,s=i.value,Ei(yo,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!ki.current){e=Vs(t,e,n);break t}}else for(null!==(a=e.child)&&(a.return=e);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=zo(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var h=(c=c.shared).pending;null===h?u.next=u:(u.next=h.next,h.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Co(a.return,n,e),l.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===e.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Co(s,n,e),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===e){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Mo(e,n),r=r(i=Eo(i)),e.flags|=1,xs(t,e,r,n),e.child;case 14:return i=go(r=e.type,e.pendingProps),As(t,e,r,i=go(r.type,i),n);case 15:return Cs(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:go(r,i),qs(t,e),e.tag=1,Li(r)?(t=!0,Di(e)):t=!1,Mo(e,n),Vo(e,r,i),Go(e,r,i,n),ks(null,e,r,!0,t,n);case 19:return Us(t,e,n);case 22:return Ms(t,e,n)}throw Error(o(156,e.tag))};var Xu=\\\"function\\\"==typeof reportError?reportError:function(t){console.error(t)};function Yu(t){this._internalRoot=t}function Zu(t){this._internalRoot=t}function Ku(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)}function Ju(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||\\\" react-mount-point-unstable \\\"!==t.nodeValue))}function Qu(){}function tc(t,e,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if(\\\"function\\\"==typeof i){var s=i;i=function(){var t=Hu(a);s.call(t)}}Vu(e,a,t,i)}else a=function(t,e,n,r,i){if(i){if(\\\"function\\\"==typeof r){var o=r;r=function(){var t=Hu(a);o.call(t)}}var a=qu(e,r,t,0,null,!1,0,\\\"\\\",Qu);return t._reactRootContainer=a,t[di]=a.current,Ur(8===t.nodeType?t.parentNode:t),cu(),a}for(;i=t.lastChild;)t.removeChild(i);if(\\\"function\\\"==typeof r){var s=r;r=function(){var t=Hu(l);s.call(t)}}var l=Fu(t,0,!1,null,0,!1,0,\\\"\\\",Qu);return t._reactRootContainer=l,t[di]=l.current,Ur(8===t.nodeType?t.parentNode:t),cu((function(){Vu(e,l,n,r)})),l}(n,e,t,i,r);return Hu(a)}Zu.prototype.render=Yu.prototype.render=function(t){var e=this._internalRoot;if(null===e)throw Error(o(409));Vu(t,e,null,null)},Zu.prototype.unmount=Yu.prototype.unmount=function(){var t=this._internalRoot;if(null!==t){this._internalRoot=null;var e=t.containerInfo;cu((function(){Vu(null,t,null,null)})),e[di]=null}},Zu.prototype.unstable_scheduleHydration=function(t){if(t){var e=Ce();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Pe.length&&0!==e&&e<Pe[n].priority;n++);Pe.splice(n,0,t),0===n&&$e(t)}},xe=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=he(e.pendingLanes);0!==n&&(ye(e,1|n),ru(e,Kt()),0==(6&Sl)&&(Ul=Kt()+500,Ui()))}break;case 13:cu((function(){var e=Oo(t,1);if(null!==e){var n=tu();nu(e,t,1,n)}})),Wu(t,1)}},we=function(t){if(13===t.tag){var e=Oo(t,134217728);null!==e&&nu(e,t,134217728,tu()),Wu(t,134217728)}},Ae=function(t){if(13===t.tag){var e=eu(t),n=Oo(t,e);null!==n&&nu(n,t,e,tu()),Wu(t,e)}},Ce=function(){return _e},Me=function(t,e){var n=_e;try{return _e=t,e()}finally{_e=n}},wt=function(t,e,n){switch(e){case\\\"input\\\":if(J(t,n),e=n.name,\\\"radio\\\"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(\\\"input[name=\\\"+JSON.stringify(\\\"\\\"+e)+'][type=\\\"radio\\\"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=xi(r);if(!i)throw Error(o(90));W(r),J(r,i)}}}break;case\\\"textarea\\\":ot(t,n);break;case\\\"select\\\":null!=(e=n.value)&&nt(t,!!n.multiple,e,!1)}},St=uu,kt=cu;var ec={usingClientEntryPoint:!1,Events:[_i,bi,xi,Et,Tt,uu]},nc={findFiberByHostInstance:yi,bundleType:0,version:\\\"18.2.0\\\",rendererPackageName:\\\"react-dom\\\"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=Ht(t))?null:t.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:\\\"18.2.0-next-9e3b772b8-20220608\\\"};if(\\\"undefined\\\"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{ie=ic.inject(rc),oe=ic}catch(ct){}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,e.createPortal=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ku(e))throw Error(o(200));return ju(t,e,null,n)},e.createRoot=function(t,e){if(!Ku(t))throw Error(o(299));var n=!1,r=\\\"\\\",i=Xu;return null!=e&&(!0===e.unstable_strictMode&&(n=!0),void 0!==e.identifierPrefix&&(r=e.identifierPrefix),void 0!==e.onRecoverableError&&(i=e.onRecoverableError)),e=Fu(t,1,!1,null,0,n,0,r,i),t[di]=e.current,Ur(8===t.nodeType?t.parentNode:t),new Yu(e)},e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternals;if(void 0===e){if(\\\"function\\\"==typeof t.render)throw Error(o(188));throw t=Object.keys(t).join(\\\",\\\"),Error(o(268,t))}return null===(t=Ht(e))?null:t.stateNode},e.flushSync=function(t){return cu(t)},e.hydrate=function(t,e,n){if(!Ju(e))throw Error(o(200));return tc(null,t,e,!0,n)},e.hydrateRoot=function(t,e,n){if(!Ku(t))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a=\\\"\\\",s=Xu;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),e=qu(e,null,t,1,null!=n?n:null,i,0,a,s),t[di]=e.current,Ur(t),r)for(t=0;t<r.length;t++)i=(i=(n=r[t])._getVersion)(n._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[n,i]:e.mutableSourceEagerHydrationData.push(n,i);return new Zu(e)},e.render=function(t,e,n){if(!Ju(e))throw Error(o(200));return tc(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!Ju(t))throw Error(o(40));return!!t._reactRootContainer&&(cu((function(){tc(null,null,t,!1,(function(){t._reactRootContainer=null,t[di]=null}))})),!0)},e.unstable_batchedUpdates=uu,e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Ju(n))throw Error(o(200));if(null==t||void 0===t._reactInternals)throw Error(o(38));return tc(t,e,n,!1,r)},e.version=\\\"18.2.0-next-9e3b772b8-20220608\\\"},6279:(t,e,n)=>{\\\"use strict\\\";var r=n(2457);e.createRoot=r.createRoot,e.hydrateRoot=r.hydrateRoot},2457:(t,e,n)=>{\\\"use strict\\\";!function t(){if(\\\"undefined\\\"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&\\\"function\\\"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),t.exports=n(3936)},1996:(t,e)=>{\\\"use strict\\\";var n=\\\"function\\\"==typeof Symbol&&Symbol.for,r=n?Symbol.for(\\\"react.element\\\"):60103,i=n?Symbol.for(\\\"react.portal\\\"):60106,o=n?Symbol.for(\\\"react.fragment\\\"):60107,a=n?Symbol.for(\\\"react.strict_mode\\\"):60108,s=n?Symbol.for(\\\"react.profiler\\\"):60114,l=n?Symbol.for(\\\"react.provider\\\"):60109,u=n?Symbol.for(\\\"react.context\\\"):60110,c=n?Symbol.for(\\\"react.async_mode\\\"):60111,h=n?Symbol.for(\\\"react.concurrent_mode\\\"):60111,p=n?Symbol.for(\\\"react.forward_ref\\\"):60112,f=n?Symbol.for(\\\"react.suspense\\\"):60113,d=n?Symbol.for(\\\"react.suspense_list\\\"):60120,m=n?Symbol.for(\\\"react.memo\\\"):60115,v=n?Symbol.for(\\\"react.lazy\\\"):60116,g=n?Symbol.for(\\\"react.block\\\"):60121,y=n?Symbol.for(\\\"react.fundamental\\\"):60117,_=n?Symbol.for(\\\"react.responder\\\"):60118,b=n?Symbol.for(\\\"react.scope\\\"):60119;function x(t){if(\\\"object\\\"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case c:case h:case o:case s:case a:case f:return t;default:switch(t=t&&t.$$typeof){case u:case p:case v:case m:case l:return t;default:return e}}case i:return e}}}function w(t){return x(t)===h}e.AsyncMode=c,e.ConcurrentMode=h,e.ContextConsumer=u,e.ContextProvider=l,e.Element=r,e.ForwardRef=p,e.Fragment=o,e.Lazy=v,e.Memo=m,e.Portal=i,e.Profiler=s,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(t){return w(t)||x(t)===c},e.isConcurrentMode=w,e.isContextConsumer=function(t){return x(t)===u},e.isContextProvider=function(t){return x(t)===l},e.isElement=function(t){return\\\"object\\\"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return x(t)===p},e.isFragment=function(t){return x(t)===o},e.isLazy=function(t){return x(t)===v},e.isMemo=function(t){return x(t)===m},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===a},e.isSuspense=function(t){return x(t)===f},e.isValidElementType=function(t){return\\\"string\\\"==typeof t||\\\"function\\\"==typeof t||t===o||t===h||t===s||t===a||t===f||t===d||\\\"object\\\"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===m||t.$$typeof===l||t.$$typeof===u||t.$$typeof===p||t.$$typeof===y||t.$$typeof===_||t.$$typeof===b||t.$$typeof===g)},e.typeOf=x},5356:(t,e,n)=>{\\\"use strict\\\";t.exports=n(1996)},3481:(t,e)=>{\\\"use strict\\\";var n=Symbol.for(\\\"react.element\\\"),r=Symbol.for(\\\"react.portal\\\"),i=Symbol.for(\\\"react.fragment\\\"),o=Symbol.for(\\\"react.strict_mode\\\"),a=Symbol.for(\\\"react.profiler\\\"),s=Symbol.for(\\\"react.provider\\\"),l=Symbol.for(\\\"react.context\\\"),u=Symbol.for(\\\"react.forward_ref\\\"),c=Symbol.for(\\\"react.suspense\\\"),h=Symbol.for(\\\"react.memo\\\"),p=Symbol.for(\\\"react.lazy\\\"),f=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(t,e,n){this.props=t,this.context=e,this.refs=v,this.updater=n||d}function y(){}function _(t,e,n){this.props=t,this.context=e,this.refs=v,this.updater=n||d}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if(\\\"object\\\"!=typeof t&&\\\"function\\\"!=typeof t&&null!=t)throw Error(\\\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\\\");this.updater.enqueueSetState(this,t,e,\\\"setState\\\")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,\\\"forceUpdate\\\")},y.prototype=g.prototype;var b=_.prototype=new y;b.constructor=_,m(b,g.prototype),b.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,A={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function M(t,e,r){var i,o={},a=null,s=null;if(null!=e)for(i in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=\\\"\\\"+e.key),e)w.call(e,i)&&!C.hasOwnProperty(i)&&(o[i]=e[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(t&&t.defaultProps)for(i in l=t.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:t,key:a,ref:s,props:o,_owner:A.current}}function E(t){return\\\"object\\\"==typeof t&&null!==t&&t.$$typeof===n}var T=/\\\\/+/g;function S(t,e){return\\\"object\\\"==typeof t&&null!==t&&null!=t.key?function(t){var e={\\\"=\\\":\\\"=0\\\",\\\":\\\":\\\"=2\\\"};return\\\"$\\\"+t.replace(/[=:]/g,(function(t){return e[t]}))}(\\\"\\\"+t.key):e.toString(36)}function k(t,e,i,o,a){var s=typeof t;\\\"undefined\\\"!==s&&\\\"boolean\\\"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case\\\"string\\\":case\\\"number\\\":l=!0;break;case\\\"object\\\":switch(t.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=t),t=\\\"\\\"===o?\\\".\\\"+S(l,0):o,x(a)?(i=\\\"\\\",null!=t&&(i=t.replace(T,\\\"$&/\\\")+\\\"/\\\"),k(a,e,i,\\\"\\\",(function(t){return t}))):null!=a&&(E(a)&&(a=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(a,i+(!a.key||l&&l.key===a.key?\\\"\\\":(\\\"\\\"+a.key).replace(T,\\\"$&/\\\")+\\\"/\\\")+t)),e.push(a)),1;if(l=0,o=\\\"\\\"===o?\\\".\\\":o+\\\":\\\",x(t))for(var u=0;u<t.length;u++){var c=o+S(s=t[u],u);l+=k(s,e,i,c,a)}else if(c=function(t){return null===t||\\\"object\\\"!=typeof t?null:\\\"function\\\"==typeof(t=f&&t[f]||t[\\\"@@iterator\\\"])?t:null}(t),\\\"function\\\"==typeof c)for(t=c.call(t),u=0;!(s=t.next()).done;)l+=k(s=s.value,e,i,c=o+S(s,u++),a);else if(\\\"object\\\"===s)throw e=String(t),Error(\\\"Objects are not valid as a React child (found: \\\"+(\\\"[object Object]\\\"===e?\\\"object with keys {\\\"+Object.keys(t).join(\\\", \\\")+\\\"}\\\":e)+\\\"). If you meant to render a collection of children, use an array instead.\\\");return l}function O(t,e,n){if(null==t)return t;var r=[],i=0;return k(t,r,\\\"\\\",\\\"\\\",(function(t){return e.call(n,t,i++)})),r}function I(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var L={current:null},P={transition:null},z={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:P,ReactCurrentOwner:A};e.Children={map:O,forEach:function(t,e,n){O(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return O(t,(function(){e++})),e},toArray:function(t){return O(t,(function(t){return t}))||[]},only:function(t){if(!E(t))throw Error(\\\"React.Children.only expected to receive a single React element child.\\\");return t}},e.Component=g,e.Fragment=i,e.Profiler=a,e.PureComponent=_,e.StrictMode=o,e.Suspense=c,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,e.cloneElement=function(t,e,r){if(null==t)throw Error(\\\"React.cloneElement(...): The argument must be a React element, but you passed \\\"+t+\\\".\\\");var i=m({},t.props),o=t.key,a=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(a=e.ref,s=A.current),void 0!==e.key&&(o=\\\"\\\"+e.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(u in e)w.call(e,u)&&!C.hasOwnProperty(u)&&(i[u]=void 0===e[u]&&void 0!==l?l[u]:e[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:t.type,key:o,ref:a,props:i,_owner:s}},e.createContext=function(t){return(t={$$typeof:l,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:t},t.Consumer=t},e.createElement=M,e.createFactory=function(t){var e=M.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:u,render:t}},e.isValidElement=E,e.lazy=function(t){return{$$typeof:p,_payload:{_status:-1,_result:t},_init:I}},e.memo=function(t,e){return{$$typeof:h,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=P.transition;P.transition={};try{t()}finally{P.transition=e}},e.unstable_act=function(){throw Error(\\\"act(...) is not supported in production builds of React.\\\")},e.useCallback=function(t,e){return L.current.useCallback(t,e)},e.useContext=function(t){return L.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return L.current.useDeferredValue(t)},e.useEffect=function(t,e){return L.current.useEffect(t,e)},e.useId=function(){return L.current.useId()},e.useImperativeHandle=function(t,e,n){return L.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return L.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return L.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return L.current.useMemo(t,e)},e.useReducer=function(t,e,n){return L.current.useReducer(t,e,n)},e.useRef=function(t){return L.current.useRef(t)},e.useState=function(t){return L.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return L.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return L.current.useTransition()},e.version=\\\"18.2.0\\\"},6204:(t,e,n)=>{\\\"use strict\\\";t.exports=n(3481)},8221:(t,e)=>{\\\"use strict\\\";function n(t,e){var n=t.length;t.push(e);t:for(;0<n;){var r=n-1>>>1,i=t[r];if(!(0<o(i,e)))break t;t[r]=e,t[n]=i,n=r}}function r(t){return 0===t.length?null:t[0]}function i(t){if(0===t.length)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=t[s],u=s+1,c=t[u];if(0>o(l,n))u<i&&0>o(c,l)?(t[r]=c,t[u]=n,r=u):(t[r]=l,t[s]=n,r=s);else{if(!(u<i&&0>o(c,n)))break t;t[r]=c,t[u]=n,r=u}}}return e}function o(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if(\\\"object\\\"==typeof performance&&\\\"function\\\"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var u=[],c=[],h=1,p=null,f=3,d=!1,m=!1,v=!1,g=\\\"function\\\"==typeof setTimeout?setTimeout:null,y=\\\"function\\\"==typeof clearTimeout?clearTimeout:null,_=\\\"undefined\\\"!=typeof setImmediate?setImmediate:null;function b(t){for(var e=r(c);null!==e;){if(null===e.callback)i(c);else{if(!(e.startTime<=t))break;i(c),e.sortIndex=e.expirationTime,n(u,e)}e=r(c)}}function x(t){if(v=!1,b(t),!m)if(null!==r(u))m=!0,P(w);else{var e=r(c);null!==e&&z(x,e.startTime-t)}}function w(t,n){m=!1,v&&(v=!1,y(E),E=-1),d=!0;var o=f;try{for(b(n),p=r(u);null!==p&&(!(p.expirationTime>n)||t&&!k());){var a=p.callback;if(\\\"function\\\"==typeof a){p.callback=null,f=p.priorityLevel;var s=a(p.expirationTime<=n);n=e.unstable_now(),\\\"function\\\"==typeof s?p.callback=s:p===r(u)&&i(u),b(n)}else i(u);p=r(u)}if(null!==p)var l=!0;else{var h=r(c);null!==h&&z(x,h.startTime-n),l=!1}return l}finally{p=null,f=o,d=!1}}\\\"undefined\\\"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A,C=!1,M=null,E=-1,T=5,S=-1;function k(){return!(e.unstable_now()-S<T)}function O(){if(null!==M){var t=e.unstable_now();S=t;var n=!0;try{n=M(!0,t)}finally{n?A():(C=!1,M=null)}}else C=!1}if(\\\"function\\\"==typeof _)A=function(){_(O)};else if(\\\"undefined\\\"!=typeof MessageChannel){var I=new MessageChannel,L=I.port2;I.port1.onmessage=O,A=function(){L.postMessage(null)}}else A=function(){g(O,0)};function P(t){M=t,C||(C=!0,A())}function z(t,n){E=g((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){m||d||(m=!0,P(w))},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error(\\\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\\\"):T=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return r(u)},e.unstable_next=function(t){switch(f){case 1:case 2:case 3:var e=3;break;default:e=f}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_scheduleCallback=function(t,i,o){var a=e.unstable_now();switch(o=\\\"object\\\"==typeof o&&null!==o&&\\\"number\\\"==typeof(o=o.delay)&&0<o?a+o:a,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return t={id:h++,callback:i,priorityLevel:t,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(t.sortIndex=o,n(c,t),null===r(u)&&t===r(c)&&(v?(y(E),E=-1):v=!0,z(x,o-a))):(t.sortIndex=s,n(u,t),m||d||(m=!0,P(w))),t},e.unstable_shouldYield=k,e.unstable_wrapCallback=function(t){var e=f;return function(){var n=f;f=e;try{return t.apply(this,arguments)}finally{f=n}}}},6489:(t,e,n)=>{\\\"use strict\\\";t.exports=n(8221)},9415:t=>{t.exports=function(t,e,n,r){var i=n?n.call(r,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if(\\\"object\\\"!=typeof t||!t||\\\"object\\\"!=typeof e||!e)return!1;var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=t[u],h=e[u];if(!1===(i=n?n.call(r,c,h,u):void 0)||void 0===i&&c!==h)return!1}return!0}},4573:function(t){!function(e){var n={browser:[[/msie ([\\\\.\\\\_\\\\d]+)/,\\\"ie\\\"],[/trident\\\\/.*?rv:([\\\\.\\\\_\\\\d]+)/,\\\"ie\\\"],[/firefox\\\\/([\\\\.\\\\_\\\\d]+)/,\\\"firefox\\\"],[/chrome\\\\/([\\\\.\\\\_\\\\d]+)/,\\\"chrome\\\"],[/version\\\\/([\\\\.\\\\_\\\\d]+).*?safari/,\\\"safari\\\"],[/mobile safari ([\\\\.\\\\_\\\\d]+)/,\\\"safari\\\"],[/android.*?version\\\\/([\\\\.\\\\_\\\\d]+).*?safari/,\\\"com.android.browser\\\"],[/crios\\\\/([\\\\.\\\\_\\\\d]+).*?safari/,\\\"chrome\\\"],[/opera/,\\\"opera\\\"],[/opera\\\\/([\\\\.\\\\_\\\\d]+)/,\\\"opera\\\"],[/opera ([\\\\.\\\\_\\\\d]+)/,\\\"opera\\\"],[/opera mini.*?version\\\\/([\\\\.\\\\_\\\\d]+)/,\\\"opera.mini\\\"],[/opios\\\\/([a-z\\\\.\\\\_\\\\d]+)/,\\\"opera\\\"],[/blackberry/,\\\"blackberry\\\"],[/blackberry.*?version\\\\/([\\\\.\\\\_\\\\d]+)/,\\\"blackberry\\\"],[/bb\\\\d+.*?version\\\\/([\\\\.\\\\_\\\\d]+)/,\\\"blackberry\\\"],[/rim.*?version\\\\/([\\\\.\\\\_\\\\d]+)/,\\\"blackberry\\\"],[/iceweasel\\\\/([\\\\.\\\\_\\\\d]+)/,\\\"iceweasel\\\"],[/edge\\\\/([\\\\.\\\\d]+)/,\\\"edge\\\"]],os:[[/linux ()([a-z\\\\.\\\\_\\\\d]+)/,\\\"linux\\\"],[/mac os x/,\\\"macos\\\"],[/mac os x.*?([\\\\.\\\\_\\\\d]+)/,\\\"macos\\\"],[/os ([\\\\.\\\\_\\\\d]+) like mac os/,\\\"ios\\\"],[/openbsd ()([a-z\\\\.\\\\_\\\\d]+)/,\\\"openbsd\\\"],[/android/,\\\"android\\\"],[/android ([a-z\\\\.\\\\_\\\\d]+);/,\\\"android\\\"],[/mozilla\\\\/[a-z\\\\.\\\\_\\\\d]+ \\\\((?:mobile)|(?:tablet)/,\\\"firefoxos\\\"],[/windows\\\\s*(?:nt)?\\\\s*([\\\\.\\\\_\\\\d]+)/,\\\"windows\\\"],[/windows phone.*?([\\\\.\\\\_\\\\d]+)/,\\\"windows.phone\\\"],[/windows mobile/,\\\"windows.mobile\\\"],[/blackberry/,\\\"blackberryos\\\"],[/bb\\\\d+/,\\\"blackberryos\\\"],[/rim.*?os\\\\s*([\\\\.\\\\_\\\\d]+)/,\\\"blackberryos\\\"]],device:[[/ipad/,\\\"ipad\\\"],[/iphone/,\\\"iphone\\\"],[/lumia/,\\\"lumia\\\"],[/htc/,\\\"htc\\\"],[/nexus/,\\\"nexus\\\"],[/galaxy nexus/,\\\"galaxy.nexus\\\"],[/nokia/,\\\"nokia\\\"],[/ gt\\\\-/,\\\"galaxy\\\"],[/ sm\\\\-/,\\\"galaxy\\\"],[/xbox/,\\\"xbox\\\"],[/(?:bb\\\\d+)|(?:blackberry)|(?: rim )/,\\\"blackberry\\\"]]},r=\\\"Unknown\\\",i=Object.keys(n);function o(){var t=this;i.forEach((function(e){t[e]={name:r,version:[],versionString:r}}))}o.prototype.sniff=function(t){var e=this,o=\\\"undefined\\\"!=typeof window?navigator.userAgent:\\\"\\\",a=(t||o).toLowerCase();return i.forEach((function(t){!function(t,e,i){n[e].forEach((function(n){var o=n[0],a=n[1],s=i.match(o);s&&(t[e].name=a,s[2]?(t[e].versionString=s[2],t[e].version=[]):s[1]?(t[e].versionString=s[1].replace(/_/g,\\\".\\\"),t[e].version=s[1].split(/[\\\\._]/).map((function(t){return parseInt(t)}))):(t[e].versionString=r,t[e].version=[]))}))}(e,t,a)})),this},t.exports?t.exports=o:(e.Sniffr=new o,e.Sniffr.sniff(navigator.userAgent))}(this)},3743:t=>{\\\"use strict\\\";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var o={},a=[],s=0;s<t.length;s++){var l=t[s],u=r.base?l[0]+r.base:l[0],c=o[u]||0,h=\\\"\\\".concat(u,\\\" \\\").concat(c);o[u]=c+1;var p=n(h),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)e[p].references++,e[p].updater(f);else{var d=i(f,r);r.byIndex=s,e.splice(s,0,{identifier:h,updater:d,references:1})}a.push(h)}return a}function i(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=n(o[a]);e[s].references--}for(var l=r(t,i),u=0;u<o.length;u++){var c=n(o[u]);0===e[c].references&&(e[c].updater(),e.splice(c,1))}o=l}}},8591:t=>{\\\"use strict\\\";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error(\\\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\\\");r.appendChild(n)}},6190:t=>{\\\"use strict\\\";t.exports=function(t){var e=document.createElement(\\\"style\\\");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},7035:(t,e,n)=>{\\\"use strict\\\";t.exports=function(t){var e=n.nc;e&&t.setAttribute(\\\"nonce\\\",e)}},8124:t=>{\\\"use strict\\\";t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r=\\\"\\\";n.supports&&(r+=\\\"@supports (\\\".concat(n.supports,\\\") {\\\")),n.media&&(r+=\\\"@media \\\".concat(n.media,\\\" {\\\"));var i=void 0!==n.layer;i&&(r+=\\\"@layer\\\".concat(n.layer.length>0?\\\" \\\".concat(n.layer):\\\"\\\",\\\" {\\\")),r+=n.css,i&&(r+=\\\"}\\\"),n.media&&(r+=\\\"}\\\"),n.supports&&(r+=\\\"}\\\");var o=n.sourceMap;o&&\\\"undefined\\\"!=typeof btoa&&(r+=\\\"\\\\n/*# sourceMappingURL=data:application/json;base64,\\\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o)))),\\\" */\\\")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},2799:t=>{\\\"use strict\\\";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},4820:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{ServerStyleSheet:()=>Ft,StyleSheetConsumer:()=>it,StyleSheetContext:()=>rt,StyleSheetManager:()=>ct,ThemeConsumer:()=>Lt,ThemeContext:()=>It,ThemeProvider:()=>Pt,__PRIVATE__:()=>qt,createGlobalStyle:()=>Bt,css:()=>bt,default:()=>Vt,isStyledComponent:()=>b,keyframes:()=>Nt,useTheme:()=>Ut,version:()=>w,withTheme:()=>jt});var r=n(5356),i=n(6204),o=n(9415),a=n.n(o);const s=function(t){function e(t,r,l,u,p){for(var f,d,m,v,b,w=0,A=0,C=0,M=0,E=0,L=0,z=m=f=0,D=0,$=0,B=0,N=0,F=l.length,j=F-1,U=\\\"\\\",q=\\\"\\\",V=\\\"\\\",H=\\\"\\\";D<F;){if(d=l.charCodeAt(D),D===j&&0!==A+M+C+w&&(0!==A&&(d=47===A?10:47),M=C=w=0,F++,j++),0===A+M+C+w){if(D===j&&(0<$&&(U=U.replace(h,\\\"\\\")),0<U.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:U+=l.charAt(D)}d=59}switch(d){case 123:for(f=(U=U.trim()).charCodeAt(0),m=1,N=++D;D<F;){switch(d=l.charCodeAt(D)){case 123:m++;break;case 125:m--;break;case 47:switch(d=l.charCodeAt(D+1)){case 42:case 47:t:{for(z=D+1;z<j;++z)switch(l.charCodeAt(z)){case 47:if(42===d&&42===l.charCodeAt(z-1)&&D+2!==z){D=z+1;break t}break;case 10:if(47===d){D=z+1;break t}}D=z}}break;case 91:d++;case 40:d++;case 34:case 39:for(;D++<j&&l.charCodeAt(D)!==d;);}if(0===m)break;D++}if(m=l.substring(N,D),0===f&&(f=(U=U.replace(c,\\\"\\\").trim()).charCodeAt(0)),64===f){switch(0<$&&(U=U.replace(h,\\\"\\\")),d=U.charCodeAt(1)){case 100:case 109:case 115:case 45:$=r;break;default:$=I}if(N=(m=e(r,$,m,d,p+1)).length,0<P&&(b=s(3,m,$=n(I,U,B),r,S,T,N,d,p,u),U=$.join(\\\"\\\"),void 0!==b&&0===(N=(m=b.trim()).length)&&(d=0,m=\\\"\\\")),0<N)switch(d){case 115:U=U.replace(x,a);case 100:case 109:case 45:m=U+\\\"{\\\"+m+\\\"}\\\";break;case 107:m=(U=U.replace(g,\\\"$1 $2\\\"))+\\\"{\\\"+m+\\\"}\\\",m=1===O||2===O&&o(\\\"@\\\"+m,3)?\\\"@-webkit-\\\"+m+\\\"@\\\"+m:\\\"@\\\"+m;break;default:m=U+m,112===u&&(q+=m,m=\\\"\\\")}else m=\\\"\\\"}else m=e(r,n(r,U,B),m,u,p+1);V+=m,m=B=$=z=f=0,U=\\\"\\\",d=l.charCodeAt(++D);break;case 125:case 59:if(1<(N=(U=(0<$?U.replace(h,\\\"\\\"):U).trim()).length))switch(0===z&&(f=U.charCodeAt(0),45===f||96<f&&123>f)&&(N=(U=U.replace(\\\" \\\",\\\":\\\")).length),0<P&&void 0!==(b=s(1,U,r,t,S,T,q.length,u,p,u))&&0===(N=(U=b.trim()).length)&&(U=\\\"\\\\0\\\\0\\\"),f=U.charCodeAt(0),d=U.charCodeAt(1),f){case 0:break;case 64:if(105===d||99===d){H+=U+l.charAt(D);break}default:58!==U.charCodeAt(N-1)&&(q+=i(U,f,d,U.charCodeAt(2)))}B=$=z=f=0,U=\\\"\\\",d=l.charCodeAt(++D)}}switch(d){case 13:case 10:47===A?A=0:0===1+f&&107!==u&&0<U.length&&($=1,U+=\\\"\\\\0\\\"),0<P*R&&s(0,U,r,t,S,T,q.length,u,p,u),T=1,S++;break;case 59:case 125:if(0===A+M+C+w){T++;break}default:switch(T++,v=l.charAt(D),d){case 9:case 32:if(0===M+w+A)switch(E){case 44:case 58:case 9:case 32:v=\\\"\\\";break;default:32!==d&&(v=\\\" \\\")}break;case 0:v=\\\"\\\\\\\\0\\\";break;case 12:v=\\\"\\\\\\\\f\\\";break;case 11:v=\\\"\\\\\\\\v\\\";break;case 38:0===M+A+w&&($=B=1,v=\\\"\\\\f\\\"+v);break;case 108:if(0===M+A+w+k&&0<z)switch(D-z){case 2:112===E&&58===l.charCodeAt(D-3)&&(k=E);case 8:111===L&&(k=L)}break;case 58:0===M+A+w&&(z=D);break;case 44:0===A+C+M+w&&($=1,v+=\\\"\\\\r\\\");break;case 34:case 39:0===A&&(M=M===d?0:0===M?d:M);break;case 91:0===M+A+C&&w++;break;case 93:0===M+A+C&&w--;break;case 41:0===M+A+w&&C--;break;case 40:0===M+A+w&&(0===f&&(2*E+3*L==533||(f=1)),C++);break;case 64:0===A+C+M+w+z+m&&(m=1);break;case 42:case 47:if(!(0<M+w+C))switch(A){case 0:switch(2*d+3*l.charCodeAt(D+1)){case 235:A=47;break;case 220:N=D,A=42}break;case 42:47===d&&42===E&&N+2!==D&&(33===l.charCodeAt(N+2)&&(q+=l.substring(N,D+1)),v=\\\"\\\",A=0)}}0===A&&(U+=v)}L=E,E=d,D++}if(0<(N=q.length)){if($=r,0<P&&void 0!==(b=s(2,q,$,t,S,T,N,u,p,u))&&0===(q=b).length)return H+q+V;if(q=$.join(\\\",\\\")+\\\"{\\\"+q+\\\"}\\\",0!=O*k){switch(2!==O||o(q,2)||(k=0),k){case 111:q=q.replace(_,\\\":-moz-$1\\\")+q;break;case 112:q=q.replace(y,\\\"::-webkit-input-$1\\\")+q.replace(y,\\\"::-moz-$1\\\")+q.replace(y,\\\":-ms-input-$1\\\")+q}k=0}}return H+q+V}function n(t,e,n){var i=e.trim().split(m);e=i;var o=i.length,a=t.length;switch(a){case 0:case 1:var s=0;for(t=0===a?\\\"\\\":t[0]+\\\" \\\";s<o;++s)e[s]=r(t,e[s],n).trim();break;default:var l=s=0;for(e=[];s<o;++s)for(var u=0;u<a;++u)e[l++]=r(t[u]+\\\" \\\",i[s],n).trim()}return e}function r(t,e,n){var r=e.charCodeAt(0);switch(33>r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(v,\\\"$1\\\"+t.trim());case 58:return t.trim()+e.replace(v,\\\"$1\\\"+t.trim());default:if(0<1*n&&0<e.indexOf(\\\"\\\\f\\\"))return e.replace(v,(58===t.charCodeAt(0)?\\\"\\\":\\\"$1\\\")+t.trim())}return t+e}function i(t,e,n,r){var a=t+\\\";\\\",s=2*e+3*n+4*r;if(944===s){t=a.indexOf(\\\":\\\",9)+1;var l=a.substring(t,a.length-1).trim();return l=a.substring(0,t).trim()+l+\\\";\\\",1===O||2===O&&o(l,1)?\\\"-webkit-\\\"+l+l:l}if(0===O||2===O&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?\\\"-webkit-\\\"+a+a:a;case 951:return 116===a.charCodeAt(3)?\\\"-webkit-\\\"+a+a:a;case 963:return 110===a.charCodeAt(5)?\\\"-webkit-\\\"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return\\\"-webkit-\\\"+a+a;case 978:return\\\"-webkit-\\\"+a+\\\"-moz-\\\"+a+a;case 1019:case 983:return\\\"-webkit-\\\"+a+\\\"-moz-\\\"+a+\\\"-ms-\\\"+a+a;case 883:if(45===a.charCodeAt(8))return\\\"-webkit-\\\"+a+a;if(0<a.indexOf(\\\"image-set(\\\",11))return a.replace(E,\\\"$1-webkit-$2\\\")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return\\\"-webkit-box-\\\"+a.replace(\\\"-grow\\\",\\\"\\\")+\\\"-webkit-\\\"+a+\\\"-ms-\\\"+a.replace(\\\"grow\\\",\\\"positive\\\")+a;case 115:return\\\"-webkit-\\\"+a+\\\"-ms-\\\"+a.replace(\\\"shrink\\\",\\\"negative\\\")+a;case 98:return\\\"-webkit-\\\"+a+\\\"-ms-\\\"+a.replace(\\\"basis\\\",\\\"preferred-size\\\")+a}return\\\"-webkit-\\\"+a+\\\"-ms-\\\"+a+a;case 964:return\\\"-webkit-\\\"+a+\\\"-ms-flex-\\\"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return\\\"-webkit-box-pack\\\"+(l=a.substring(a.indexOf(\\\":\\\",15)).replace(\\\"flex-\\\",\\\"\\\").replace(\\\"space-between\\\",\\\"justify\\\"))+\\\"-webkit-\\\"+a+\\\"-ms-flex-pack\\\"+l+a;case 1005:return f.test(a)?a.replace(p,\\\":-webkit-\\\")+a.replace(p,\\\":-moz-\\\")+a:a;case 1e3:switch(e=(l=a.substring(13).trim()).indexOf(\\\"-\\\")+1,l.charCodeAt(0)+l.charCodeAt(e)){case 226:l=a.replace(b,\\\"tb\\\");break;case 232:l=a.replace(b,\\\"tb-rl\\\");break;case 220:l=a.replace(b,\\\"lr\\\");break;default:return a}return\\\"-webkit-\\\"+a+\\\"-ms-\\\"+l+a;case 1017:if(-1===a.indexOf(\\\"sticky\\\",9))break;case 975:switch(e=(a=t).length-10,s=(l=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(\\\":\\\",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,\\\"-webkit-\\\"+l)+\\\";\\\"+a;break;case 207:case 102:a=a.replace(l,\\\"-webkit-\\\"+(102<s?\\\"inline-\\\":\\\"\\\")+\\\"box\\\")+\\\";\\\"+a.replace(l,\\\"-webkit-\\\"+l)+\\\";\\\"+a.replace(l,\\\"-ms-\\\"+l+\\\"box\\\")+\\\";\\\"+a}return a+\\\";\\\";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace(\\\"-items\\\",\\\"\\\"),\\\"-webkit-\\\"+a+\\\"-webkit-box-\\\"+l+\\\"-ms-flex-\\\"+l+a;case 115:return\\\"-webkit-\\\"+a+\\\"-ms-flex-item-\\\"+a.replace(A,\\\"\\\")+a;default:return\\\"-webkit-\\\"+a+\\\"-ms-flex-line-pack\\\"+a.replace(\\\"align-content\\\",\\\"\\\").replace(A,\\\"\\\")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===M.test(t))return 115===(l=t.substring(t.indexOf(\\\":\\\")+1)).charCodeAt(0)?i(t.replace(\\\"stretch\\\",\\\"fill-available\\\"),e,n,r).replace(\\\":fill-available\\\",\\\":stretch\\\"):a.replace(l,\\\"-webkit-\\\"+l)+a.replace(l,\\\"-moz-\\\"+l.replace(\\\"fill-\\\",\\\"\\\"))+a;break;case 962:if(a=\\\"-webkit-\\\"+a+(102===a.charCodeAt(5)?\\\"-ms-\\\"+a:\\\"\\\")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf(\\\"transform\\\",10))return a.substring(0,a.indexOf(\\\";\\\",27)+1).replace(d,\\\"$1-webkit-$2\\\")+a}return a}function o(t,e){var n=t.indexOf(1===e?\\\":\\\":\\\"{\\\"),r=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),z(2!==e?r:r.replace(C,\\\"$1\\\"),n,e)}function a(t,e){var n=i(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+\\\";\\\"?n.replace(w,\\\" or ($1)\\\").substring(4):\\\"(\\\"+e+\\\")\\\"}function s(t,e,n,r,i,o,a,s,l,c){for(var h,p=0,f=e;p<P;++p)switch(h=L[p].call(u,t,f,n,r,i,o,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:f=h}if(f!==e)return f}function l(t){return void 0!==(t=t.prefix)&&(z=null,t?\\\"function\\\"!=typeof t?O=1:(O=2,z=t):O=0),l}function u(t,n){var r=t;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<P){var i=s(-1,n,r,r,S,T,0,0,0,0);void 0!==i&&\\\"string\\\"==typeof i&&(n=i)}var o=e(I,r,n,0,0);return 0<P&&void 0!==(i=s(-2,o,r,r,S,T,o.length,0,0,0))&&(o=i),k=0,T=S=1,o}var c=/^\\\\0+/g,h=/[\\\\0\\\\r\\\\f]/g,p=/: */g,f=/zoo|gra/,d=/([,: ])(transform)/g,m=/,\\\\r+?/g,v=/([\\\\t\\\\r\\\\n ])*\\\\f?&/g,g=/@(k\\\\w+)\\\\s*(\\\\S*)\\\\s*/,y=/::(place)/g,_=/:(read-only)/g,b=/[svh]\\\\w+-[tblr]{2}/,x=/\\\\(\\\\s*(.*)\\\\s*\\\\)/g,w=/([\\\\s\\\\S]*?);/g,A=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\\\\w-]+)[^]*/,M=/stretch|:\\\\s*\\\\w+\\\\-(?:conte|avail)/,E=/([^-])(image-set\\\\()/,T=1,S=1,k=0,O=1,I=[],L=[],P=0,z=null,R=0;return u.use=function t(e){switch(e){case void 0:case null:P=L.length=0;break;default:if(\\\"function\\\"==typeof e)L[P++]=e;else if(\\\"object\\\"==typeof e)for(var n=0,r=e.length;n<r;++n)t(e[n]);else R=0|!!e}return t},u.set=l,void 0!==t&&l(t),u},l={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var u=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const c=function(t){var e=Object.create(null);return function(t){return void 0===e[t]&&(e[t]=(n=t,u.test(n)||111===n.charCodeAt(0)&&110===n.charCodeAt(1)&&n.charCodeAt(2)<91)),e[t];var n}}();var h=n(9060),p=n.n(h);function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var d=function(t,e){for(var n=[t[0]],r=0,i=e.length;r<i;r+=1)n.push(e[r],t[r+1]);return n},m=function(t){return null!==t&&\\\"object\\\"==typeof t&&\\\"[object Object]\\\"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!(0,r.typeOf)(t)},v=Object.freeze([]),g=Object.freeze({});function y(t){return\\\"function\\\"==typeof t}function _(t){return t.displayName||t.name||\\\"Component\\\"}function b(t){return t&&\\\"string\\\"==typeof t.styledComponentId}var x=\\\"undefined\\\"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\\\"data-styled\\\",w=\\\"5.3.6\\\",A=\\\"undefined\\\"!=typeof window&&\\\"HTMLElement\\\"in window,C=Boolean(\\\"boolean\\\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\\\"undefined\\\"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\\\"\\\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\\\"false\\\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\\\"undefined\\\"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&\\\"\\\"!==process.env.SC_DISABLE_SPEEDY&&\\\"false\\\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),M={};function E(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw new Error(\\\"An error occurred. See https://git.io/JUIaE#\\\"+t+\\\" for more information.\\\"+(n.length>0?\\\" Args: \\\"+n.join(\\\", \\\"):\\\"\\\"))}var T=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;t>=i;)(i<<=1)<0&&E(16,\\\"\\\"+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(t+1),s=0,l=e.length;s<l;s++)this.tag.insertRule(a,e[s])&&(this.groupSizes[t]++,a++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.getGroup=function(t){var e=\\\"\\\";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n,o=r;o<i;o++)e+=this.tag.getRule(o)+\\\"/*!sc*/\\\\n\\\";return e},t}(),S=new Map,k=new Map,O=1,I=function(t){if(S.has(t))return S.get(t);for(;k.has(O);)O++;var e=O++;return S.set(t,e),k.set(e,t),e},L=function(t){return k.get(t)},P=function(t,e){e>=O&&(O=e+1),S.set(t,e),k.set(e,t)},z=\\\"style[\\\"+x+'][data-styled-version=\\\"5.3.6\\\"]',R=new RegExp(\\\"^\\\"+x+'\\\\\\\\.g(\\\\\\\\d+)\\\\\\\\[id=\\\"([\\\\\\\\w\\\\\\\\d-]+)\\\"\\\\\\\\].*?\\\"([^\\\"]*)'),D=function(t,e,n){for(var r,i=n.split(\\\",\\\"),o=0,a=i.length;o<a;o++)(r=i[o])&&t.registerName(e,r)},$=function(t,e){for(var n=(e.textContent||\\\"\\\").split(\\\"/*!sc*/\\\\n\\\"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(R);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(P(u,l),D(t,u,s[3]),t.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},B=function(){return n.nc},N=function(t){var e=document.head,n=t||e,r=document.createElement(\\\"style\\\"),i=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(x))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(x,\\\"active\\\"),r.setAttribute(\\\"data-styled-version\\\",\\\"5.3.6\\\");var a=B();return a&&r.setAttribute(\\\"nonce\\\",a),n.insertBefore(r,o),r},F=function(){function t(t){var e=this.element=N(t);e.appendChild(document.createTextNode(\\\"\\\")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var i=e[n];if(i.ownerNode===t)return i}E(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&\\\"string\\\"==typeof e.cssText?e.cssText:\\\"\\\"},t}(),j=function(){function t(t){var e=this.element=N(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e),r=this.nodes[t];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:\\\"\\\"},t}(),U=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:\\\"\\\"},t}(),q=A,V={isServer:!A,useCSSOMInjection:!C},H=function(){function t(t,e,n){void 0===t&&(t=g),void 0===e&&(e={}),this.options=f({},V,{},t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&A&&q&&(q=!1,function(t){for(var e=document.querySelectorAll(z),n=0,r=e.length;n<r;n++){var i=e[n];i&&\\\"active\\\"!==i.getAttribute(x)&&($(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}t.registerId=function(t){return I(t)};var e=t.prototype;return e.reconstructWithOptions=function(e,n){return void 0===n&&(n=!0),new t(f({},this.options,{},e),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){return this.tag||(this.tag=(n=(e=this.options).isServer,r=e.useCSSOMInjection,i=e.target,t=n?new U(i):r?new F(i):new j(i),new T(t)));var t,e,n,r,i},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(I(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},e.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(I(t),n)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(I(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),n=e.length,r=\\\"\\\",i=0;i<n;i++){var o=L(i);if(void 0!==o){var a=t.names.get(o),s=e.getGroup(i);if(a&&s&&a.size){var l=x+\\\".g\\\"+i+'[id=\\\"'+o+'\\\"]',u=\\\"\\\";void 0!==a&&a.forEach((function(t){t.length>0&&(u+=t+\\\",\\\")})),r+=\\\"\\\"+s+l+'{content:\\\"'+u+'\\\"}/*!sc*/\\\\n'}}}return r}(this)},t}(),G=/(a)(d)/gi,W=function(t){return String.fromCharCode(t+(t>25?39:97))};function X(t){var e,n=\\\"\\\";for(e=Math.abs(t);e>52;e=e/52|0)n=W(e%52)+n;return(W(e%52)+n).replace(G,\\\"$1-$2\\\")}var Y=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},Z=function(t){return Y(5381,t)};function K(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(y(n)&&!b(n))return!1}return!0}var J=Z(\\\"5.3.6\\\"),Q=function(){function t(t,e,n){this.rules=t,this.staticRulesId=\\\"\\\",this.isStatic=(void 0===n||n.isStatic)&&K(t),this.componentId=e,this.baseHash=Y(J,e),this.baseStyle=n,H.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,e,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&e.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=yt(this.rules,t,e,n).join(\\\"\\\"),a=X(Y(this.baseHash,o)>>>0);if(!e.hasNameForId(r,a)){var s=n(o,\\\".\\\"+a,void 0,r);e.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,u=Y(this.baseHash,n.hash),c=\\\"\\\",h=0;h<l;h++){var p=this.rules[h];if(\\\"string\\\"==typeof p)c+=p;else if(p){var f=yt(p,t,e,n),d=Array.isArray(f)?f.join(\\\"\\\"):f;u=Y(u,d+h),c+=d}}if(c){var m=X(u>>>0);if(!e.hasNameForId(r,m)){var v=n(c,\\\".\\\"+m,void 0,r);e.insertRules(r,m,v)}i.push(m)}}return i.join(\\\" \\\")},t}(),tt=/^\\\\s*\\\\/\\\\/.*$/gm,et=[\\\":\\\",\\\"[\\\",\\\".\\\",\\\"#\\\"];function nt(t){var e,n,r,i,o=void 0===t?g:t,a=o.options,l=void 0===a?g:a,u=o.plugins,c=void 0===u?v:u,h=new s(l),p=[],f=function(t){function e(e){if(e)try{t(e+\\\"}\\\")}catch(t){}}return function(n,r,i,o,a,s,l,u,c,h){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return t(r+\\\";\\\"),\\\"\\\";break;case 2:if(0===u)return r+\\\"/*|*/\\\";break;case 3:switch(u){case 102:case 112:return t(i[0]+r),\\\"\\\";default:return r+(0===h?\\\"/*|*/\\\":\\\"\\\")}case-2:r.split(\\\"/*|*/}\\\").forEach(e)}}}((function(t){p.push(t)})),d=function(t,r,o){return 0===r&&-1!==et.indexOf(o[n.length])||o.match(i)?t:\\\".\\\"+e};function m(t,o,a,s){void 0===s&&(s=\\\"&\\\");var l=t.replace(tt,\\\"\\\"),u=o&&a?a+\\\" \\\"+o+\\\" { \\\"+l+\\\" }\\\":l;return e=s,n=o,r=new RegExp(\\\"\\\\\\\\\\\"+n+\\\"\\\\\\\\b\\\",\\\"g\\\"),i=new RegExp(\\\"(\\\\\\\\\\\"+n+\\\"\\\\\\\\b){2,}\\\"),h(a||!o?\\\"\\\":o,u)}return h.use([].concat(c,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,d))},f,function(t){if(-2===t){var e=p;return p=[],e}}])),m.hash=c.length?c.reduce((function(t,e){return e.name||E(15),Y(t,e.name)}),5381).toString():\\\"\\\",m}var rt=i.createContext(),it=rt.Consumer,ot=i.createContext(),at=(ot.Consumer,new H),st=nt();function lt(){return(0,i.useContext)(rt)||at}function ut(){return(0,i.useContext)(ot)||st}function ct(t){var e=(0,i.useState)(t.stylisPlugins),n=e[0],r=e[1],o=lt(),s=(0,i.useMemo)((function(){var e=o;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),l=(0,i.useMemo)((function(){return nt({options:{prefix:!t.disableVendorPrefixes},plugins:n})}),[t.disableVendorPrefixes,n]);return(0,i.useEffect)((function(){a()(n,t.stylisPlugins)||r(t.stylisPlugins)}),[t.stylisPlugins]),i.createElement(rt.Provider,{value:s},i.createElement(ot.Provider,{value:l},t.children))}var ht=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=st);var r=n.name+e.hash;t.hasNameForId(n.id,r)||t.insertRules(n.id,r,e(n.rules,r,\\\"@keyframes\\\"))},this.toString=function(){return E(12,String(n.name))},this.name=t,this.id=\\\"sc-keyframes-\\\"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=st),this.name+t.hash},t}(),pt=/([A-Z])/,ft=/([A-Z])/g,dt=/^ms-/,mt=function(t){return\\\"-\\\"+t.toLowerCase()};function vt(t){return pt.test(t)?t.replace(ft,mt).replace(dt,\\\"-ms-\\\"):t}var gt=function(t){return null==t||!1===t||\\\"\\\"===t};function yt(t,e,n,r){if(Array.isArray(t)){for(var i,o=[],a=0,s=t.length;a<s;a+=1)\\\"\\\"!==(i=yt(t[a],e,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return gt(t)?\\\"\\\":b(t)?\\\".\\\"+t.styledComponentId:y(t)?\\\"function\\\"!=typeof(u=t)||u.prototype&&u.prototype.isReactComponent||!e?t:yt(t(e),e,n,r):t instanceof ht?n?(t.inject(n,r),t.getName(r)):t:m(t)?function t(e,n){var r,i,o=[];for(var a in e)e.hasOwnProperty(a)&&!gt(e[a])&&(Array.isArray(e[a])&&e[a].isCss||y(e[a])?o.push(vt(a)+\\\":\\\",e[a],\\\";\\\"):m(e[a])?o.push.apply(o,t(e[a],a)):o.push(vt(a)+\\\": \\\"+(r=a,(null==(i=e[a])||\\\"boolean\\\"==typeof i||\\\"\\\"===i?\\\"\\\":\\\"number\\\"!=typeof i||0===i||r in l?String(i).trim():i+\\\"px\\\")+\\\";\\\")));return n?[n+\\\" {\\\"].concat(o,[\\\"}\\\"]):o}(t):t.toString();var u}var _t=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function bt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return y(t)||m(t)?_t(yt(d(v,[t].concat(n)))):0===n.length&&1===t.length&&\\\"string\\\"==typeof t[0]?t:_t(yt(d(t,n)))}new Set;var xt=function(t,e,n){return void 0===n&&(n=g),t.theme!==n.theme&&t.theme||e||n.theme},wt=/[!\\\"#$%&'()*+,./:;<=>?@[\\\\\\\\\\\\]^`{|}~-]+/g,At=/(^-|-$)/g;function Ct(t){return t.replace(wt,\\\"-\\\").replace(At,\\\"\\\")}var Mt=function(t){return X(Z(t)>>>0)};function Et(t){return\\\"string\\\"==typeof t&&!0}var Tt=function(t){return\\\"function\\\"==typeof t||\\\"object\\\"==typeof t&&null!==t&&!Array.isArray(t)},St=function(t){return\\\"__proto__\\\"!==t&&\\\"constructor\\\"!==t&&\\\"prototype\\\"!==t};function kt(t,e,n){var r=t[n];Tt(e)&&Tt(r)?Ot(r,e):t[n]=e}function Ot(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Tt(a))for(var s in a)St(s)&&kt(t,a[s],s)}return t}var It=i.createContext(),Lt=It.Consumer;function Pt(t){var e=(0,i.useContext)(It),n=(0,i.useMemo)((function(){return function(t,e){return t?y(t)?t(e):Array.isArray(t)||\\\"object\\\"!=typeof t?E(8):e?f({},e,{},t):t:E(14)}(t.theme,e)}),[t.theme,e]);return t.children?i.createElement(It.Provider,{value:n},t.children):null}var zt={};function Rt(t,e,n){var r=b(t),o=!Et(t),a=e.attrs,s=void 0===a?v:a,l=e.componentId,u=void 0===l?function(t,e){var n=\\\"string\\\"!=typeof t?\\\"sc\\\":Ct(t);zt[n]=(zt[n]||0)+1;var r=n+\\\"-\\\"+Mt(\\\"5.3.6\\\"+n+zt[n]);return e?e+\\\"-\\\"+r:r}(e.displayName,e.parentComponentId):l,h=e.displayName,d=void 0===h?function(t){return Et(t)?\\\"styled.\\\"+t:\\\"Styled(\\\"+_(t)+\\\")\\\"}(t):h,m=e.displayName&&e.componentId?Ct(e.displayName)+\\\"-\\\"+e.componentId:e.componentId||u,x=r&&t.attrs?Array.prototype.concat(t.attrs,s).filter(Boolean):s,w=e.shouldForwardProp;r&&t.shouldForwardProp&&(w=e.shouldForwardProp?function(n,r,i){return t.shouldForwardProp(n,r,i)&&e.shouldForwardProp(n,r,i)}:t.shouldForwardProp);var A,C=new Q(n,m,r?t.componentStyle:void 0),M=C.isStatic&&0===s.length,E=function(t,e){return function(t,e,n,r){var o=t.attrs,a=t.componentStyle,s=t.defaultProps,l=t.foldedComponentIds,u=t.shouldForwardProp,h=t.styledComponentId,p=t.target,d=function(t,e,n){void 0===t&&(t=g);var r=f({},e,{theme:t}),i={};return n.forEach((function(t){var e,n,o,a=t;for(e in y(a)&&(a=a(r)),a)r[e]=i[e]=\\\"className\\\"===e?(n=i[e],o=a[e],n&&o?n+\\\" \\\"+o:n||o):a[e]})),[r,i]}(xt(e,(0,i.useContext)(It),s)||g,e,o),m=d[0],v=d[1],_=function(t,e,n,r){var i=lt(),o=ut();return e?t.generateAndInjectStyles(g,i,o):t.generateAndInjectStyles(n,i,o)}(a,r,m),b=n,x=v.$as||e.$as||v.as||e.as||p,w=Et(x),A=v!==e?f({},e,{},v):e,C={};for(var M in A)\\\"$\\\"!==M[0]&&\\\"as\\\"!==M&&(\\\"forwardedAs\\\"===M?C.as=A[M]:(u?u(M,c,x):!w||c(M))&&(C[M]=A[M]));return e.style&&v.style!==e.style&&(C.style=f({},e.style,{},v.style)),C.className=Array.prototype.concat(l,h,_!==h?_:null,e.className,v.className).filter(Boolean).join(\\\" \\\"),C.ref=b,(0,i.createElement)(x,C)}(A,t,e,M)};return E.displayName=d,(A=i.forwardRef(E)).attrs=x,A.componentStyle=C,A.displayName=d,A.shouldForwardProp=w,A.foldedComponentIds=r?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):v,A.styledComponentId=m,A.target=r?t.target:t,A.withComponent=function(t){var r=e.componentId,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(e,[\\\"componentId\\\"]),o=r&&r+\\\"-\\\"+(Et(t)?t:Ct(_(t)));return Rt(t,f({},i,{attrs:x,componentId:o}),n)},Object.defineProperty(A,\\\"defaultProps\\\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?Ot({},t.defaultProps,e):e}}),A.toString=function(){return\\\".\\\"+A.styledComponentId},o&&p()(A,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),A}var Dt=function(t){return function t(e,n,i){if(void 0===i&&(i=g),!(0,r.isValidElementType)(n))return E(1,String(n));var o=function(){return e(n,i,bt.apply(void 0,arguments))};return o.withConfig=function(r){return t(e,n,f({},i,{},r))},o.attrs=function(r){return t(e,n,f({},i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},o}(Rt,t)};[\\\"a\\\",\\\"abbr\\\",\\\"address\\\",\\\"area\\\",\\\"article\\\",\\\"aside\\\",\\\"audio\\\",\\\"b\\\",\\\"base\\\",\\\"bdi\\\",\\\"bdo\\\",\\\"big\\\",\\\"blockquote\\\",\\\"body\\\",\\\"br\\\",\\\"button\\\",\\\"canvas\\\",\\\"caption\\\",\\\"cite\\\",\\\"code\\\",\\\"col\\\",\\\"colgroup\\\",\\\"data\\\",\\\"datalist\\\",\\\"dd\\\",\\\"del\\\",\\\"details\\\",\\\"dfn\\\",\\\"dialog\\\",\\\"div\\\",\\\"dl\\\",\\\"dt\\\",\\\"em\\\",\\\"embed\\\",\\\"fieldset\\\",\\\"figcaption\\\",\\\"figure\\\",\\\"footer\\\",\\\"form\\\",\\\"h1\\\",\\\"h2\\\",\\\"h3\\\",\\\"h4\\\",\\\"h5\\\",\\\"h6\\\",\\\"head\\\",\\\"header\\\",\\\"hgroup\\\",\\\"hr\\\",\\\"html\\\",\\\"i\\\",\\\"iframe\\\",\\\"img\\\",\\\"input\\\",\\\"ins\\\",\\\"kbd\\\",\\\"keygen\\\",\\\"label\\\",\\\"legend\\\",\\\"li\\\",\\\"link\\\",\\\"main\\\",\\\"map\\\",\\\"mark\\\",\\\"marquee\\\",\\\"menu\\\",\\\"menuitem\\\",\\\"meta\\\",\\\"meter\\\",\\\"nav\\\",\\\"noscript\\\",\\\"object\\\",\\\"ol\\\",\\\"optgroup\\\",\\\"option\\\",\\\"output\\\",\\\"p\\\",\\\"param\\\",\\\"picture\\\",\\\"pre\\\",\\\"progress\\\",\\\"q\\\",\\\"rp\\\",\\\"rt\\\",\\\"ruby\\\",\\\"s\\\",\\\"samp\\\",\\\"script\\\",\\\"section\\\",\\\"select\\\",\\\"small\\\",\\\"source\\\",\\\"span\\\",\\\"strong\\\",\\\"style\\\",\\\"sub\\\",\\\"summary\\\",\\\"sup\\\",\\\"table\\\",\\\"tbody\\\",\\\"td\\\",\\\"textarea\\\",\\\"tfoot\\\",\\\"th\\\",\\\"thead\\\",\\\"time\\\",\\\"title\\\",\\\"tr\\\",\\\"track\\\",\\\"u\\\",\\\"ul\\\",\\\"var\\\",\\\"video\\\",\\\"wbr\\\",\\\"circle\\\",\\\"clipPath\\\",\\\"defs\\\",\\\"ellipse\\\",\\\"foreignObject\\\",\\\"g\\\",\\\"image\\\",\\\"line\\\",\\\"linearGradient\\\",\\\"marker\\\",\\\"mask\\\",\\\"path\\\",\\\"pattern\\\",\\\"polygon\\\",\\\"polyline\\\",\\\"radialGradient\\\",\\\"rect\\\",\\\"stop\\\",\\\"svg\\\",\\\"text\\\",\\\"textPath\\\",\\\"tspan\\\"].forEach((function(t){Dt[t]=Dt(t)}));var $t=function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=K(t),H.registerId(this.componentId+1)}var e=t.prototype;return e.createStyles=function(t,e,n,r){var i=r(yt(this.rules,e,n,r).join(\\\"\\\"),\\\"\\\"),o=this.componentId+t;n.insertRules(o,o,i)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)},e.renderStyles=function(t,e,n,r){t>2&&H.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)},t}();function Bt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=bt.apply(void 0,[t].concat(n)),a=\\\"sc-global-\\\"+Mt(JSON.stringify(o)),s=new $t(o,a);function l(t){var e=lt(),n=ut(),r=(0,i.useContext)(It),o=(0,i.useRef)(e.allocateGSInstance(a)).current;return e.server&&u(o,t,e,r,n),(0,i.useLayoutEffect)((function(){if(!e.server)return u(o,t,e,r,n),function(){return s.removeStyles(o,e)}}),[o,t,e,r,n]),null}function u(t,e,n,r,i){if(s.isStatic)s.renderStyles(t,M,n,i);else{var o=f({},e,{theme:xt(e,r,l.defaultProps)});s.renderStyles(t,o,n,i)}}return i.memo(l)}function Nt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=bt.apply(void 0,[t].concat(n)).join(\\\"\\\"),o=Mt(i);return new ht(o,i)}var Ft=function(){function t(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return\\\"\\\";var n=B();return\\\"<style \\\"+[n&&'nonce=\\\"'+n+'\\\"',x+'=\\\"true\\\"','data-styled-version=\\\"5.3.6\\\"'].filter(Boolean).join(\\\" \\\")+\\\">\\\"+e+\\\"</style>\\\"},this.getStyleTags=function(){return t.sealed?E(2):t._emitSheetCSS()},this.getStyleElement=function(){var e;if(t.sealed)return E(2);var n=((e={})[x]=\\\"\\\",e[\\\"data-styled-version\\\"]=\\\"5.3.6\\\",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),r=B();return r&&(n.nonce=r),[i.createElement(\\\"style\\\",f({},n,{key:\\\"sc-0-0\\\"}))]},this.seal=function(){t.sealed=!0},this.instance=new H({isServer:!0}),this.sealed=!1}var e=t.prototype;return e.collectStyles=function(t){return this.sealed?E(2):i.createElement(ct,{sheet:this.instance},t)},e.interleaveWithNodeStream=function(t){return E(3)},t}(),jt=function(t){var e=i.forwardRef((function(e,n){var r=(0,i.useContext)(It),o=t.defaultProps,a=xt(e,r,o);return i.createElement(t,f({},e,{theme:a,ref:n}))}));return p()(e,t),e.displayName=\\\"WithTheme(\\\"+_(t)+\\\")\\\",e},Ut=function(){return(0,i.useContext)(It)},qt={StyleSheet:H,masterSheet:at};const Vt=Dt},2995:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{AccessorModule:()=>s,AjaxModule:()=>h,CalcComponent:()=>f,CellComponent:()=>d,ClipboardModule:()=>p,ColumnCalcsModule:()=>x,ColumnComponent:()=>v,DataTreeModule:()=>w,DownloadModule:()=>C,EditModule:()=>T,ExportModule:()=>O,FilterModule:()=>L,FormatModule:()=>z,FrozenColumnsModule:()=>R,FrozenRowsModule:()=>D,GroupComponent:()=>$,GroupRowsModule:()=>N,HistoryModule:()=>F,HtmlTableImportModule:()=>j,InteractionModule:()=>U,KeybindingsModule:()=>q,MenuModule:()=>V,Module:()=>o,MoveColumnsModule:()=>H,MoveRowsModule:()=>G,MutatorModule:()=>W,PageModule:()=>X,PersistenceModule:()=>K,PrintModule:()=>J,PseudoRow:()=>Rt,ReactiveDataModule:()=>Q,Renderer:()=>pt,ResizeColumnsModule:()=>tt,ResizeRowsModule:()=>et,ResizeTableModule:()=>nt,ResponsiveLayoutModule:()=>rt,RowComponent:()=>y,SelectRowModule:()=>it,SortModule:()=>st,Tabulator:()=>Pt,TabulatorFull:()=>zt,ValidateModule:()=>ut});class r{constructor(t){this.table=t}reloadData(t,e){return this.table.dataLoader.load(t,void 0,void 0,void 0,e)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(){return this.table.modules.layout.layout()}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(t){return this.table.eventBus.subscribed(t)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(t){return this.table.externalEvents.subscribed(t)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(t,e){return void 0!==e&&(this.table.options[t]=e),this.table.options[t]}setOption(t,e){return void 0!==e&&(this.table.options[t]=e),this.table.options[t]}module(t){return this.table.module(t)}}class o extends r{constructor(t,e){super(t),this._handler=null}initialize(){}registerTableOption(t,e){this.table.optionsList.register(t,e)}registerColumnOption(t,e){this.table.columnManager.optionsList.register(t,e)}registerTableFunction(t,e){void 0===this.table[t]?this.table[t]=e:console.warn(\\\"Unable to bind table function, name already in use\\\",t)}registerComponentFunction(t,e,n){return this.table.componentFunctionBinder.bind(t,e,n)}registerDataHandler(t,e){this.table.rowManager.registerDataPipelineHandler(t,e),this._handler=t}registerDisplayHandler(t,e){this.table.rowManager.registerDisplayPipelineHandler(t,e),this._handler=t}refreshData(t,e){e||(e=this._handler),e&&this.table.rowManager.refreshActiveData(e,!1,t)}}class a{static elVisible(t){return!(t.offsetWidth<=0&&t.offsetHeight<=0)}static elOffset(t){var e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset-document.documentElement.clientTop,left:e.left+window.pageXOffset-document.documentElement.clientLeft}}static deepClone(t){var e=Object.assign(Array.isArray(t)?[]:{},t);for(var n in t)null!=t[n]&&\\\"object\\\"==typeof t[n]&&(t[n]instanceof Date?e[n]=new Date(t[n]):e[n]=this.deepClone(t[n]));return e}}class s extends o{constructor(t){super(t),this.allowedTypes=[\\\"\\\",\\\"data\\\",\\\"download\\\",\\\"clipboard\\\",\\\"print\\\",\\\"htmlOutput\\\"],this.registerColumnOption(\\\"accessor\\\"),this.registerColumnOption(\\\"accessorParams\\\"),this.registerColumnOption(\\\"accessorData\\\"),this.registerColumnOption(\\\"accessorDataParams\\\"),this.registerColumnOption(\\\"accessorDownload\\\"),this.registerColumnOption(\\\"accessorDownloadParams\\\"),this.registerColumnOption(\\\"accessorClipboard\\\"),this.registerColumnOption(\\\"accessorClipboardParams\\\"),this.registerColumnOption(\\\"accessorPrint\\\"),this.registerColumnOption(\\\"accessorPrintParams\\\"),this.registerColumnOption(\\\"accessorHtmlOutput\\\"),this.registerColumnOption(\\\"accessorHtmlOutputParams\\\")}initialize(){this.subscribe(\\\"column-layout\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"row-data-retrieve\\\",this.transformRow.bind(this))}initializeColumn(t){var e=!1,n={};this.allowedTypes.forEach((function(r){var i,o=\\\"accessor\\\"+(r.charAt(0).toUpperCase()+r.slice(1));t.definition[o]&&(i=this.lookupAccessor(t.definition[o]))&&(e=!0,n[o]={accessor:i,params:t.definition[o+\\\"Params\\\"]||{}})})),e&&(t.modules.accessor=n)}lookupAccessor(t){var e=!1;switch(typeof t){case\\\"string\\\":s.accessors[t]?e=s.accessors[t]:console.warn(\\\"Accessor Error - No such accessor found, ignoring: \\\",t);break;case\\\"function\\\":e=t}return e}transformRow(t,e){var n=\\\"accessor\\\"+(e.charAt(0).toUpperCase()+e.slice(1)),r=t.getComponent(),i=a.deepClone(t.data||{});return this.table.columnManager.traverse((function(t){var o,a,s,l;t.modules.accessor&&(a=t.modules.accessor[n]||t.modules.accessor.accessor||!1)&&\\\"undefined\\\"!=(o=t.getFieldValue(i))&&(l=t.getComponent(),s=\\\"function\\\"==typeof a.params?a.params(o,i,e,l,r):a.params,t.setFieldValue(i,a.accessor(o,i,e,s,l,r)))})),i}}function l(t,e){var n=[];if(e=e||\\\"\\\",Array.isArray(t))t.forEach(((t,r)=>{n=n.concat(l(t,e?e+\\\"[\\\"+r+\\\"]\\\":r))}));else if(\\\"object\\\"==typeof t)for(var r in t)n=n.concat(l(t[r],e?e+\\\"[\\\"+r+\\\"]\\\":r));else n.push({key:e,value:t});return n}function u(t){var e=l(t),n=[];return e.forEach((function(t){n.push(encodeURIComponent(t.key)+\\\"=\\\"+encodeURIComponent(t.value))})),n.join(\\\"&\\\")}s.moduleName=\\\"accessor\\\",s.accessors={};var c={json:{headers:{\\\"Content-Type\\\":\\\"application/json\\\"},body:function(t,e,n){return JSON.stringify(n)}},form:{headers:{},body:function(t,e,n){var r=this.generateParamsList(n),i=new FormData;return r.forEach((function(t){i.append(t.key,t.value)})),i}}};class h extends o{constructor(t){super(t),this.config=!1,this.url=\\\"\\\",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption(\\\"ajaxURL\\\",!1),this.registerTableOption(\\\"ajaxURLGenerator\\\",!1),this.registerTableOption(\\\"ajaxParams\\\",{}),this.registerTableOption(\\\"ajaxConfig\\\",\\\"get\\\"),this.registerTableOption(\\\"ajaxContentType\\\",\\\"form\\\"),this.registerTableOption(\\\"ajaxRequestFunc\\\",!1),this.registerTableOption(\\\"ajaxRequesting\\\",(function(){})),this.registerTableOption(\\\"ajaxResponse\\\",!1),this.contentTypeFormatters=h.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||h.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||h.defaultURLGenerator,this.table.options.ajaxParams&&this.setParams(this.table.options.ajaxParams),this.table.options.ajaxConfig&&this.setConfig(this.table.options.ajaxConfig),this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.registerTableFunction(\\\"getAjaxUrl\\\",this.getUrl.bind(this)),this.subscribe(\\\"data-loading\\\",this.requestDataCheck.bind(this)),this.subscribe(\\\"data-load\\\",this.requestData.bind(this))}requestDataCheck(t,e,n,r){return!((t||!this.url)&&\\\"string\\\"!=typeof t)}requestData(t,e,n,r,i){return this.requestDataCheck(t)?(t&&this.setUrl(t),e&&this.setParams(e,!0),n&&this.setConfig(n),this.sendRequest()):i}setParams(t,e){if(e){this.params=this.params||{};for(let e in t)this.params[e]=t[e]}else this.params=t}getParams(){return this.params||{}}setConfig(t){if(this._loadDefaultConfig(),\\\"string\\\"==typeof t)this.config.method=t;else for(let e in t)this.config[e]=t[e]}_loadDefaultConfig(t){if(!this.config||t){this.config={};for(let t in h.defaultConfig)this.config[t]=h.defaultConfig[t]}}setUrl(t){this.url=t}getUrl(){return this.url}sendRequest(t){var e=this.url;return this._loadDefaultConfig(),!1!==this.table.options.ajaxRequesting.call(this.table,this.url,this.params)?this.loaderPromise(e,this.config,this.params).then((t=>(this.table.options.ajaxResponse&&(t=this.table.options.ajaxResponse.call(this.table,this.url,this.params,t)),t))):Promise.reject()}}h.moduleName=\\\"ajax\\\",h.defaultConfig={method:\\\"GET\\\"},h.defaultURLGenerator=function(t,e,n){return t&&n&&Object.keys(n).length&&(e.method&&\\\"get\\\"!=e.method.toLowerCase()||(e.method=\\\"get\\\",t+=(t.includes(\\\"?\\\")?\\\"&\\\":\\\"?\\\")+u(n))),t},h.defaultLoaderPromise=function(t,e,n){var r;return new Promise(((i,o)=>{if(t=this.urlGenerator.call(this.table,t,e,n),\\\"GET\\\"!=e.method.toUpperCase())if(r=\\\"object\\\"==typeof this.table.options.ajaxContentType?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType]){for(var a in r.headers)e.headers||(e.headers={}),void 0===e.headers[a]&&(e.headers[a]=r.headers[a]);e.body=r.body.call(this,t,e,n)}else console.warn(\\\"Ajax Error - Invalid ajaxContentType value:\\\",this.table.options.ajaxContentType);t?(void 0===e.headers&&(e.headers={}),void 0===e.headers.Accept&&(e.headers.Accept=\\\"application/json\\\"),void 0===e.headers[\\\"X-Requested-With\\\"]&&(e.headers[\\\"X-Requested-With\\\"]=\\\"XMLHttpRequest\\\"),void 0===e.mode&&(e.mode=\\\"cors\\\"),\\\"cors\\\"==e.mode?(void 0===e.headers.Origin&&(e.headers.Origin=window.location.origin),void 0===e.credentials&&(e.credentials=\\\"same-origin\\\")):void 0===e.credentials&&(e.credentials=\\\"include\\\"),fetch(t,e).then((t=>{t.ok?t.json().then((t=>{i(t)})).catch((t=>{o(t),console.warn(\\\"Ajax Load Error - Invalid JSON returned\\\",t)})):(console.error(\\\"Ajax Load Error - Connection Error: \\\"+t.status,t.statusText),o(t))})).catch((t=>{console.error(\\\"Ajax Load Error - Connection Error: \\\",t),o(t)}))):(console.warn(\\\"Ajax Load Error - No URL Set\\\"),i([]))}))},h.contentTypeFormatters=c;class p extends o{constructor(t){super(t),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption(\\\"clipboard\\\",!1),this.registerTableOption(\\\"clipboardCopyStyled\\\",!0),this.registerTableOption(\\\"clipboardCopyConfig\\\",!1),this.registerTableOption(\\\"clipboardCopyFormatter\\\",!1),this.registerTableOption(\\\"clipboardCopyRowRange\\\",\\\"active\\\"),this.registerTableOption(\\\"clipboardPasteParser\\\",\\\"table\\\"),this.registerTableOption(\\\"clipboardPasteAction\\\",\\\"insert\\\"),this.registerColumnOption(\\\"clipboard\\\"),this.registerColumnOption(\\\"titleClipboard\\\")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,!0!==this.mode&&\\\"copy\\\"!==this.mode||this.table.element.addEventListener(\\\"copy\\\",(t=>{var e,n;if(!this.blocked){if(t.preventDefault(),this.customSelection)e=this.customSelection,this.table.options.clipboardCopyFormatter&&(e=this.table.options.clipboardCopyFormatter(\\\"plain\\\",e));else{var r=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,\\\"clipboard\\\");e=(n=this.table.modules.export.genereateHTMLTable(r))?this.generatePlainContent(r):\\\"\\\",this.table.options.clipboardCopyFormatter&&(e=this.table.options.clipboardCopyFormatter(\\\"plain\\\",e),n=this.table.options.clipboardCopyFormatter(\\\"html\\\",n))}window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData(\\\"Text\\\",e):t.clipboardData&&t.clipboardData.setData?(t.clipboardData.setData(\\\"text/plain\\\",e),n&&t.clipboardData.setData(\\\"text/html\\\",n)):t.originalEvent&&t.originalEvent.clipboardData.setData&&(t.originalEvent.clipboardData.setData(\\\"text/plain\\\",e),n&&t.originalEvent.clipboardData.setData(\\\"text/html\\\",n)),this.dispatchExternal(\\\"clipboardCopied\\\",e,n),this.reset()}})),!0!==this.mode&&\\\"paste\\\"!==this.mode||this.table.element.addEventListener(\\\"paste\\\",(t=>{this.paste(t)})),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction(\\\"copyToClipboard\\\",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(t){var e=[];return t.forEach((t=>{var n=[];t.columns.forEach((e=>{var r=\\\"\\\";if(e)if(\\\"group\\\"===t.type&&(e.value=e.component.getKey()),null===e.value)r=\\\"\\\";else switch(typeof e.value){case\\\"object\\\":r=JSON.stringify(e.value);break;case\\\"undefined\\\":r=\\\"\\\";break;default:r=e.value}n.push(r)})),e.push(n.join(\\\"\\\\t\\\"))})),e.join(\\\"\\\\n\\\")}copy(t,e){var n,r;this.blocked=!1,this.customSelection=!1,!0!==this.mode&&\\\"copy\\\"!==this.mode||(this.rowRange=t||this.table.options.clipboardCopyRowRange,void 0!==window.getSelection&&void 0!==document.createRange?((t=document.createRange()).selectNodeContents(this.table.element),(n=window.getSelection()).toString()&&e&&(this.customSelection=n.toString()),n.removeAllRanges(),n.addRange(t)):void 0!==document.selection&&void 0!==document.body.createTextRange&&((r=document.body.createTextRange()).moveToElementText(this.table.element),r.select()),document.execCommand(\\\"copy\\\"),n&&n.removeAllRanges())}setPasteAction(t){switch(typeof t){case\\\"string\\\":this.pasteAction=p.pasteActions[t],this.pasteAction||console.warn(\\\"Clipboard Error - No such paste action found:\\\",t);break;case\\\"function\\\":this.pasteAction=t}}setPasteParser(t){switch(typeof t){case\\\"string\\\":this.pasteParser=p.pasteParsers[t],this.pasteParser||console.warn(\\\"Clipboard Error - No such paste parser found:\\\",t);break;case\\\"function\\\":this.pasteParser=t}}paste(t){var e,n,r;this.checkPaseOrigin(t)&&(e=this.getPasteData(t),(n=this.pasteParser.call(this,e))?(t.preventDefault(),this.table.modExists(\\\"mutator\\\")&&(n=this.mutateData(n)),r=this.pasteAction.call(this,n),this.dispatchExternal(\\\"clipboardPasted\\\",e,n,r)):this.dispatchExternal(\\\"clipboardPasteError\\\",e))}mutateData(t){var e=[];return Array.isArray(t)?t.forEach((t=>{e.push(this.table.modules.mutator.transformRow(t,\\\"clipboard\\\"))})):e=t,e}checkPaseOrigin(t){var e=!0;return(\\\"DIV\\\"!=t.target.tagName||this.table.modules.edit.currentCell)&&(e=!1),e}getPasteData(t){var e;return window.clipboardData&&window.clipboardData.getData?e=window.clipboardData.getData(\\\"Text\\\"):t.clipboardData&&t.clipboardData.getData?e=t.clipboardData.getData(\\\"text/plain\\\"):t.originalEvent&&t.originalEvent.clipboardData.getData&&(e=t.originalEvent.clipboardData.getData(\\\"text/plain\\\")),e}}p.moduleName=\\\"clipboard\\\",p.pasteActions={replace:function(t){return this.table.setData(t)},update:function(t){return this.table.updateOrAddData(t)},insert:function(t){return this.table.addData(t)}},p.pasteParsers={table:function(t){var e=[],n=!0,r=this.table.columnManager.columns,i=[],o=[];return(t=t.split(\\\"\\\\n\\\")).forEach((function(t){e.push(t.split(\\\"\\\\t\\\"))})),!(!e.length||1===e.length&&e[0].length<2)&&(e[0].forEach((function(t){var e=r.find((function(e){return t&&e.definition.title&&t.trim()&&e.definition.title.trim()===t.trim()}));e?i.push(e):n=!1})),n||(n=!0,i=[],e[0].forEach((function(t){var e=r.find((function(e){return t&&e.field&&t.trim()&&e.field.trim()===t.trim()}));e?i.push(e):n=!1})),n||(i=this.table.columnManager.columnsByIndex)),n&&e.shift(),e.forEach((function(t){var e={};t.forEach((function(t,n){i[n]&&(e[i[n].field]=t)})),o.push(e)})),o)}};class f{constructor(t){return this._row=t,new Proxy(this,{get:function(t,e,n){return void 0!==t[e]?t[e]:t._row.table.componentFunctionBinder.handle(\\\"row\\\",t._row,e)}})}getData(t){return this._row.getData(t)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var t=[];return this._row.getCells().forEach((function(e){t.push(e.getComponent())})),t}getCell(t){var e=this._row.getCell(t);return!!e&&e.getComponent()}_getSelf(){return this._row}}class d{constructor(t){return this._cell=t,new Proxy(this,{get:function(t,e,n){return void 0!==t[e]?t[e]:t._cell.table.componentFunctionBinder.handle(\\\"cell\\\",t._cell,e)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(){return this._cell.row.getData()}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(t,e){void 0===e&&(e=!0),this._cell.setValue(t,e)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class m extends r{constructor(t,e){super(t.table),this.table=t.table,this.column=t,this.row=e,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement(\\\"div\\\"),this.element.className=\\\"tabulator-cell\\\",this.element.setAttribute(\\\"role\\\",\\\"gridcell\\\"),this.element=this.element}_configureCell(){var t=this.element,e=this.column.getField();t.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(t.style.display=\\\"inline-flex\\\",t.style.alignItems={top:\\\"flex-start\\\",bottom:\\\"flex-end\\\",middle:\\\"center\\\"}[this.column.vertAlign]||\\\"\\\",this.column.hozAlign&&(t.style.justifyContent={left:\\\"flex-start\\\",right:\\\"flex-end\\\",center:\\\"center\\\"}[this.column.hozAlign]||\\\"\\\")),e&&t.setAttribute(\\\"tabulator-field\\\",e),this.column.definition.cssClass&&this.column.definition.cssClass.split(\\\" \\\").forEach((e=>{t.classList.add(e)})),\\\"hover\\\"===this.table.options.tooltipGenerationMode&&t.addEventListener(\\\"mouseenter\\\",(t=>{this._generateTooltip()})),this.dispatch(\\\"cell-init\\\",this),this.column.visible||this.hide()}_generateContents(){var t;switch(typeof(t=this.chain(\\\"cell-format\\\",this,null,(()=>this.element.innerHTML=this.value)))){case\\\"object\\\":if(t instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(t)}else this.element.innerHTML=\\\"\\\",null!=t&&console.warn(\\\"Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:\\\",t);break;case\\\"undefined\\\":case\\\"null\\\":this.element.innerHTML=\\\"\\\";break;default:this.element.innerHTML=t}}cellRendered(){this.dispatch(\\\"cell-rendered\\\",this)}_generateTooltip(){var t=this.column.tooltip;t?(!0===t?t=this.value:\\\"function\\\"==typeof t&&!1===(t=t(this.getComponent()))&&(t=\\\"\\\"),void 0===t&&(t=\\\"\\\"),this.element.setAttribute(\\\"title\\\",t)):this.element.setAttribute(\\\"title\\\",\\\"\\\")}getElement(t){return this.loaded||(this.loaded=!0,t||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(t,e){this.setValueProcessData(t,e)&&(this.dispatch(\\\"cell-value-updated\\\",this),this.cellRendered(),this.dispatchExternal(\\\"cellEdited\\\",this.getComponent()),this.subscribedExternal(\\\"dataChanged\\\")&&this.dispatchExternal(\\\"dataChanged\\\",this.table.rowManager.getData()))}setValueProcessData(t,e){var n=!1;return this.value!=t&&(n=!0,e&&(t=this.chain(\\\"cell-value-changing\\\",[this,t],null,t))),this.setValueActual(t),n&&this.dispatch(\\\"cell-value-changed\\\",this),n}setValueActual(t){this.oldValue=this.value,this.value=t,this.dispatch(\\\"cell-value-save-before\\\",this),this.column.setFieldValue(this.row.data,t),this.dispatch(\\\"cell-value-save-after\\\",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this._generateTooltip(),this.dispatch(\\\"cell-layout\\\",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width=\\\"\\\",this.element.style.width=\\\"\\\"}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height=\\\"\\\",this.height=null}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?\\\"inline-flex\\\":\\\"\\\"}hide(){this.element.style.display=\\\"none\\\"}delete(){this.dispatch(\\\"cell-delete\\\",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new d(this)),this.component}}class v{constructor(t){return this._column=t,this.type=\\\"ColumnComponent\\\",new Proxy(this,{get:function(t,e,n){return void 0!==t[e]?t[e]:t._column.table.componentFunctionBinder.handle(\\\"column\\\",t._column,e)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getCells(){var t=[];return this._column.cells.forEach((function(e){t.push(e.getComponent())})),t}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach((function(t){t.show()})):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach((function(t){t.hide()})):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var t=[];return this._column.columns.length&&this._column.columns.forEach((function(e){t.push(e.getComponent())})),t}getParentColumn(){return this._column.parent instanceof Column&&this._column.parent.getComponent()}_getSelf(){return this._column}scrollTo(){return this._column.table.columnManager.scrollToColumn(this._column)}getTable(){return this._column.table}move(t,e){var n=this._column.table.columnManager.findColumn(t);n?this._column.table.columnManager.moveColumn(this._column,n,e):console.warn(\\\"Move Error - No matching column found:\\\",n)}getNextColumn(){var t=this._column.nextColumn();return!!t&&t.getComponent()}getPrevColumn(){var t=this._column.prevColumn();return!!t&&t.getComponent()}updateDefinition(t){return this._column.updateDefinition(t)}getWidth(){return this._column.getWidth()}setWidth(t){var e;return e=!0===t?this._column.reinitializeWidth(!0):this._column.setWidth(t),this._column.table.columnManager.renderer.rerenderColumns(!0),e}}class g extends r{constructor(t,e){super(e.table),this.definition=t,this.parent=e,this.type=\\\"column\\\",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.tooltip=!1,this.hozAlign=\\\"\\\",this.vertAlign=\\\"\\\",this.field=\\\"\\\",this.fieldStructure=\\\"\\\",this.getFieldValue=\\\"\\\",this.setFieldValue=\\\"\\\",this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled=\\\"\\\",this.maxWidth=null,this.maxWidthStyled=\\\"\\\",this.minWidth=null,this.minWidthStyled=\\\"\\\",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach(((t,e)=>{var n=new g(t,this);this.attachColumn(n)})),this.checkColumnVisibility()):e.registerColumnField(this),this._initialize(),this.bindModuleColumns()}createElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-col\\\"),t.setAttribute(\\\"role\\\",\\\"columnheader\\\"),t.setAttribute(\\\"aria-sort\\\",\\\"none\\\"),t}createGroupElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-col-group-cols\\\"),t}mapDefinitions(){var t=this.table.options.columnDefaults;if(t)for(let e in t)void 0===this.definition[e]&&(this.definition[e]=t[e]);this.definition=this.table.columnManager.optionsList.generate(g.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach((t=>{-1===g.defaultOptionList.indexOf(t)&&console.warn(\\\"Invalid column definition option in '\\\"+(this.field||this.definition.title)+\\\"' column:\\\",t)}))}setField(t){this.field=t,this.fieldStructure=t?this.table.options.nestedFieldSeparator?t.split(this.table.options.nestedFieldSeparator):[t]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(t){this.parent.registerColumnPosition(t)}registerColumnField(t){this.parent.registerColumnField(t)}reRegisterPosition(){this.isGroup?this.columns.forEach((function(t){t.reRegisterPosition()})):this.registerColumnPosition(this)}_mapDepricatedFunctionality(){}setTooltip(){var t=this.definition,e=void 0===t.headerTooltip?t.tooltip:t.headerTooltip;e?!0===e?t.field?this.langBind(\\\"columns|\\\"+t.field,(e=>{this.element.setAttribute(\\\"title\\\",e||t.title)})):this.element.setAttribute(\\\"title\\\",t.title):(\\\"function\\\"==typeof e&&!1===(e=e(this.getComponent()))&&(e=\\\"\\\"),this.element.setAttribute(\\\"title\\\",e)):this.element.setAttribute(\\\"title\\\",\\\"\\\")}_initialize(){for(var t=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);t.headerVertical&&(this.element.classList.add(\\\"tabulator-col-vertical\\\"),\\\"flip\\\"===t.headerVertical&&this.element.classList.add(\\\"tabulator-col-vertical-flip\\\")),this.contentElement=this._bindEvents(),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.setTooltip(),this.dispatch(\\\"column-init\\\",this),this.element.addEventListener(\\\"mouseenter\\\",(t=>{this.setTooltip()}))}_bindEvents(){var t,e,n,r=this.definition;\\\"function\\\"==typeof r.headerClick&&this.element.addEventListener(\\\"click\\\",(t=>{r.headerClick(t,this.getComponent())})),\\\"function\\\"==typeof r.headerDblClick&&this.element.addEventListener(\\\"dblclick\\\",(t=>{r.headerDblClick(t,this.getComponent())})),\\\"function\\\"==typeof r.headerContext&&this.element.addEventListener(\\\"contextmenu\\\",(t=>{r.headerContext(t,this.getComponent())})),\\\"function\\\"==typeof r.headerTap&&(n=!1,this.element.addEventListener(\\\"touchstart\\\",(t=>{n=!0}),{passive:!0}),this.element.addEventListener(\\\"touchend\\\",(t=>{n&&r.headerTap(t,this.getComponent()),n=!1}))),\\\"function\\\"==typeof r.headerDblTap&&(t=null,this.element.addEventListener(\\\"touchend\\\",(e=>{t?(clearTimeout(t),t=null,r.headerDblTap(e,this.getComponent())):t=setTimeout((()=>{clearTimeout(t),t=null}),300)}))),\\\"function\\\"==typeof r.headerTapHold&&(e=null,this.element.addEventListener(\\\"touchstart\\\",(t=>{clearTimeout(e),e=setTimeout((function(){clearTimeout(e),e=null,n=!1,r.headerTapHold(t,this.getComponent())}),1e3)}),{passive:!0}),this.element.addEventListener(\\\"touchend\\\",(t=>{clearTimeout(e),e=null})))}_buildColumnHeader(){var t=this.definition;this.table,this.dispatch(\\\"column-layout\\\",this),void 0!==t.visible&&(t.visible?this.show(!0):this.hide(!0)),t.cssClass&&t.cssClass.split(\\\" \\\").forEach((t=>{this.element.classList.add(t)})),t.field&&this.element.setAttribute(\\\"tabulator-field\\\",t.field),this.setMinWidth(parseInt(t.minWidth)),t.maxWidth&&this.setMaxWidth(parseInt(t.maxWidth)),this.reinitializeWidth(),this.tooltip=this.definition.tooltip,this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){this.definition,this.table;var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-col-content\\\"),this.titleHolderElement=document.createElement(\\\"div\\\"),this.titleHolderElement.classList.add(\\\"tabulator-col-title-holder\\\"),t.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),t}_buildColumnHeaderTitle(){var t=this.definition,e=document.createElement(\\\"div\\\");if(e.classList.add(\\\"tabulator-col-title\\\"),t.editableTitle){var n=document.createElement(\\\"input\\\");n.classList.add(\\\"tabulator-title-editor\\\"),n.addEventListener(\\\"click\\\",(t=>{t.stopPropagation(),n.focus()})),n.addEventListener(\\\"change\\\",(()=>{t.title=n.value,this.dispatchExternal(\\\"columnTitleChanged\\\",this.getComponent())})),e.appendChild(n),t.field?this.langBind(\\\"columns|\\\"+t.field,(e=>{n.value=e||t.title||\\\"&nbsp;\\\"})):n.value=t.title||\\\"&nbsp;\\\"}else t.field?this.langBind(\\\"columns|\\\"+t.field,(n=>{this._formatColumnHeaderTitle(e,n||t.title||\\\"&nbsp;\\\")})):this._formatColumnHeaderTitle(e,t.title||\\\"&nbsp;\\\");return e}_formatColumnHeaderTitle(t,e){var n=this.chain(\\\"column-format\\\",[this,e,t],null,(()=>e));switch(typeof n){case\\\"object\\\":n instanceof Node?t.appendChild(n):(t.innerHTML=\\\"\\\",console.warn(\\\"Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:\\\",n));break;case\\\"undefined\\\":case\\\"null\\\":t.innerHTML=\\\"\\\";break;default:t.innerHTML=n}}_buildGroupHeader(){this.element.classList.add(\\\"tabulator-col-group\\\"),this.element.setAttribute(\\\"role\\\",\\\"columngroup\\\"),this.element.setAttribute(\\\"aria-title\\\",this.definition.title),this.definition.cssClass&&this.definition.cssClass.split(\\\" \\\").forEach((t=>{this.element.classList.add(t)})),this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(t){return t[this.field]}_getNestedData(t){var e,n=t,r=this.fieldStructure,i=r.length;for(let t=0;t<i&&(e=n=n[r[t]],n);t++);return e}_setFlatData(t,e){this.field&&(t[this.field]=e)}_setNestedData(t,e){var n=t,r=this.fieldStructure,i=r.length;for(let t=0;t<i;t++)if(t==i-1)n[r[t]]=e;else{if(!n[r[t]]){if(void 0===e)break;n[r[t]]={}}n=n[r[t]]}}attachColumn(t){this.groupElement?(this.columns.push(t),this.groupElement.appendChild(t.getElement())):console.warn(\\\"Column Warning - Column being attached to another column instead of column group\\\")}verticalAlign(t,e){var n=this.parent.isGroup?this.parent.getGroupElement().clientHeight:e||this.parent.getHeadersElement().clientHeight;this.element.style.height=n+\\\"px\\\",this.isGroup&&(this.groupElement.style.minHeight=n-this.contentElement.offsetHeight+\\\"px\\\"),this.isGroup||\\\"top\\\"===t||(this.element.style.paddingTop=\\\"bottom\\\"===t?this.element.clientHeight-this.contentElement.offsetHeight+\\\"px\\\":(this.element.clientHeight-this.contentElement.offsetHeight)/2+\\\"px\\\"),this.columns.forEach((function(e){e.verticalAlign(t)}))}clearVerticalAlign(){this.element.style.paddingTop=\\\"\\\",this.element.style.height=\\\"\\\",this.element.style.minHeight=\\\"\\\",this.groupElement.style.minHeight=\\\"\\\",this.columns.forEach((function(t){t.clearVerticalAlign()}))}bindModuleColumns(){\\\"rownum\\\"==this.definition.formatter&&(this.table.rowManager.rowNumColumn=this)}getElement(){return this.element}getGroupElement(){return this.groupElement}getField(){return this.field}getFirstColumn(){return this.isGroup?!!this.columns.length&&this.columns[0].getFirstColumn():this}getLastColumn(){return this.isGroup?!!this.columns.length&&this.columns[this.columns.length-1].getLastColumn():this}getColumns(){return this.columns}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(t){var e=[];return this.isGroup&&t&&(this.columns.forEach((function(t){e.push(t.getDefinition(!0))})),this.definition.columns=e),this.definition}checkColumnVisibility(){var t=!1;this.columns.forEach((function(e){e.visible&&(t=!0)})),t?(this.show(),this.dispatchExternal(\\\"columnVisibilityChanged\\\",this.getComponent(),!1)):this.hide()}show(t,e){this.visible||(this.visible=!0,this.element.style.display=\\\"\\\",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach((function(t){t.show()})),this.isGroup||null!==this.width||this.reinitializeWidth(),this.table.columnManager._verticalAlignHeaders(),this.dispatch(\\\"column-show\\\",this,e),t||this.dispatchExternal(\\\"columnVisibilityChanged\\\",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.renderer.rerenderColumns())}hide(t,e){this.visible&&(this.visible=!1,this.element.style.display=\\\"none\\\",this.table.columnManager._verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach((function(t){t.hide()})),this.dispatch(\\\"column-hide\\\",this),t||this.dispatchExternal(\\\"columnVisibilityChanged\\\",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.renderer.rerenderColumns())}matchChildWidths(){var t=0;this.contentElement&&this.columns.length&&(this.columns.forEach((function(e){e.visible&&(t+=e.getWidth())})),this.contentElement.style.maxWidth=t-1+\\\"px\\\",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(t){var e=this.columns.indexOf(t);e>-1&&this.columns.splice(e,1),this.columns.length||this.delete()}setWidth(t){this.widthFixed=!0,this.setWidthActual(t)}setWidthActual(t){isNaN(t)&&(t=Math.floor(this.table.element.clientWidth/100*parseInt(t))),t=Math.max(this.minWidth,t),this.maxWidth&&(t=Math.min(this.maxWidth,t)),this.width=t,this.widthStyled=t?t+\\\"px\\\":\\\"\\\",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach((function(t){t.setWidth()})),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch(\\\"column-width\\\",this)}checkCellHeights(){var t=[];this.cells.forEach((function(e){e.row.heightInitialized&&(null!==e.row.getElement().offsetParent?(t.push(e.row),e.row.clearCellHeight()):e.row.heightInitialized=!1)})),t.forEach((function(t){t.calcHeight()})),t.forEach((function(t){t.setCellHeight()}))}getWidth(){var t=0;return this.isGroup?this.columns.forEach((function(e){e.visible&&(t+=e.getWidth())})):t=this.width,t}getHeight(){return this.element.offsetHeight}setMinWidth(t){this.minWidth=t,this.minWidthStyled=t?t+\\\"px\\\":\\\"\\\",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach((function(t){t.setMinWidth()}))}setMaxWidth(t){this.maxWidth=t,this.maxWidthStyled=t?t+\\\"px\\\":\\\"\\\",this.element.style.maxWidth=this.maxWidthStyled,this.cells.forEach((function(t){t.setMaxWidth()}))}delete(){return new Promise(((t,e)=>{this.isGroup&&this.columns.forEach((function(t){t.delete()})),this.dispatch(\\\"column-delete\\\",this);var n=this.cells.length;for(let t=0;t<n;t++)this.cells[0].delete();this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.contentElement=!1,this.titleElement=!1,this.groupElement=!1,this.parent.isGroup&&this.parent.removeChild(this),this.table.columnManager.deregisterColumn(this),this.table.columnManager.renderer.rerenderColumns(!0),t()}))}columnRendered(){this.titleFormatterRendered&&this.titleFormatterRendered()}generateCell(t){var e=new m(this,t);return this.cells.push(e),e}nextColumn(){var t=this.table.columnManager.findColumnIndex(this);return t>-1&&this._nextVisibleColumn(t+1)}_nextVisibleColumn(t){var e=this.table.columnManager.getColumnByIndex(t);return!e||e.visible?e:this._nextVisibleColumn(t+1)}prevColumn(){var t=this.table.columnManager.findColumnIndex(this);return t>-1&&this._prevVisibleColumn(t-1)}_prevVisibleColumn(t){var e=this.table.columnManager.getColumnByIndex(t);return!e||e.visible?e:this._prevVisibleColumn(t-1)}reinitializeWidth(t){this.widthFixed=!1,void 0===this.definition.width||t||this.setWidth(this.definition.width),this.dispatch(\\\"column-width-fit-before\\\",this),this.fitToData(),this.dispatch(\\\"column-width-fit-after\\\",this)}fitToData(){if(!this.isGroup){this.widthFixed||(this.element.style.width=\\\"\\\",this.cells.forEach((t=>{t.clearWidth()})));var t=this.element.offsetWidth;this.width&&this.widthFixed||(this.cells.forEach((e=>{var n=e.getWidth();n>t&&(t=n)})),t&&this.setWidthActual(t+1))}}updateDefinition(t){var e;return this.isGroup||this.parent.isGroup?(console.error(\\\"Column Update Error - The updateDefinition function is only available on ungrouped columns\\\"),Promise.reject(\\\"Column Update Error - The updateDefinition function is only available on columns, not column groups\\\")):(e=Object.assign({},this.getDefinition()),e=Object.assign(e,t),this.table.columnManager.addColumn(e,!1,this).then((t=>(e.field==this.field&&(this.field=!1),this.delete().then((()=>t.getComponent()))))))}deleteCell(t){var e=this.cells.indexOf(t);e>-1&&this.cells.splice(e,1)}getComponent(){return this.component||(this.component=new v(this)),this.component}}g.defaultOptionList={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,tooltip:void 0,cssClass:void 0,variableHeight:void 0,headerTooltip:void 0,headerVertical:void 0,headerHozAlign:void 0,editableTitle:void 0};class y{constructor(t){return this._row=t,new Proxy(this,{get:function(t,e,n){return void 0!==t[e]?t[e]:t._row.table.componentFunctionBinder.handle(\\\"row\\\",t._row,e)}})}getData(t){return this._row.getData(t)}getElement(){return this._row.getElement()}getCells(){var t=[];return this._row.getCells().forEach((function(e){t.push(e.getComponent())})),t}getCell(t){var e=this._row.getCell(t);return!!e&&e.getComponent()}getIndex(){return this._row.getData(\\\"data\\\")[this._row.table.options.index]}getPosition(t){return this._row.table.rowManager.getRowPosition(this._row,t)}delete(){return this._row.delete()}scrollTo(){return this._row.table.rowManager.scrollToRow(this._row)}move(t,e){this._row.moveToRow(t,e)}update(t){return this._row.updateData(t)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var t=this._row.nextRow();return t?t.getComponent():t}getPrevRow(){var t=this._row.prevRow();return t?t.getComponent():t}}class _ extends r{constructor(t,e,n=\\\"row\\\"){super(e.table),this.parent=e,this.data={},this.type=n,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled=\\\"\\\",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.component=null,this.created=!1,this.setData(t)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var t=document.createElement(\\\"div\\\");t.classList.add(\\\"tabulator-row\\\"),t.setAttribute(\\\"role\\\",\\\"row\\\"),this.element=t}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch(\\\"row-init\\\",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(t){if(this.create(),!this.initialized||t){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch(\\\"row-layout-before\\\",this),this.generateCells(),this.table.columnManager.renderer.renderRowCells(this),t&&this.normalizeHeight(),this.dispatch(\\\"row-layout\\\",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.initialized=!0,this.dispatch(\\\"row-layout-after\\\",this)}else this.table.columnManager.renderer.rerenderRowCells(this)}reinitializeHeight(){this.heightInitialized=!1,this.element&&null!==this.element.offsetParent&&this.normalizeHeight(!0)}reinitialize(t){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=\\\"\\\"),this.element&&null!==this.element.offsetParent&&this.initialize(!0),this.dispatch(\\\"row-relayout\\\",this)}calcHeight(t){var e=0,n=this.table.options.resizableRows?this.element.clientHeight:0;this.cells.forEach((function(t){var n=t.getHeight();n>e&&(e=n)})),this.height=t?Math.max(e,n):this.manualHeight?this.height:Math.max(e,n),this.heightStyled=this.height?this.height+\\\"px\\\":\\\"\\\",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach((function(t){t.setHeight()})),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach((function(t){t.clearHeight()}))}normalizeHeight(t){t&&this.clearCellHeight(),this.calcHeight(t),this.setCellHeight()}setHeight(t,e){(this.height!=t||e)&&(this.manualHeight=!0,this.height=t,this.heightStyled=t?t+\\\"px\\\":\\\"\\\",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(t){var e=this.cells.indexOf(t);e>-1&&this.cells.splice(e,1)}setData(t){this.data=this.chain(\\\"row-data-init-before\\\",[this,t],void 0,t),this.dispatch(\\\"row-data-init-after\\\",this)}updateData(t){var e,n=this.element&&a.elVisible(this.element),r={};return new Promise(((i,o)=>{for(var a in\\\"string\\\"==typeof t&&(t=JSON.parse(t)),this.dispatch(\\\"row-data-save-before\\\",this),this.subscribed(\\\"row-data-changing\\\")&&(r=Object.assign(r,this.data),r=Object.assign(r,t)),e=this.chain(\\\"row-data-changing\\\",[this,r,t],null,t))this.data[a]=e[a];for(var a in this.dispatch(\\\"row-data-save-after\\\",this),t)this.table.columnManager.getColumnsByFieldRoot(a).forEach((t=>{let r=this.getCell(t.getField());if(r){let i=t.getFieldValue(e);r.getValue()!=i&&(r.setValueProcessData(i),n&&r.cellRendered())}}));n?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=\\\"\\\"),this.dispatch(\\\"row-data-changed\\\",this,n,t),this.dispatchExternal(\\\"rowUpdated\\\",this.getComponent()),this.subscribedExternal(\\\"dataChanged\\\")&&this.dispatchExternal(\\\"dataChanged\\\",this.table.rowManager.getData()),i()}))}getData(t){return t?this.chain(\\\"row-data-retrieve\\\",[this,t],null,this.data):this.data}getCell(t){return t=this.table.columnManager.findColumn(t),this.initialized||this.generateCells(),this.cells.find((function(e){return e.column===t}))}getCellIndex(t){return this.cells.findIndex((function(e){return e===t}))}findCell(t){return this.cells.find((e=>e.element===t))}getCells(){return this.initialized||this.generateCells(),this.cells}nextRow(){return this.table.rowManager.nextDisplayRow(this,!0)||!1}prevRow(){return this.table.rowManager.prevDisplayRow(this,!0)||!1}moveToRow(t,e){var n=this.table.rowManager.findRow(t);n?(this.table.rowManager.moveRowActual(this,n,!e),this.table.rowManager.refreshActiveData(\\\"display\\\",!1,!0)):console.warn(\\\"Move Error - No matching row found:\\\",t)}delete(){return this.dispatch(\\\"row-delete\\\",this),this.deleteActual(),Promise.resolve()}deleteActual(t){this.table.rowManager.getRowIndex(this),this.detatchModules(),this.table.rowManager.deleteRow(this,t),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch(\\\"row-deleted\\\",this)}detatchModules(){this.dispatch(\\\"row-deleting\\\",this)}deleteCells(){var t=this.cells.length;for(let e=0;e<t;e++)this.cells[0].delete()}wipe(){if(this.detatchModules(),this.deleteCells(),this.element){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.parentNode&&this.element.parentNode.removeChild(this.element)}this.element=!1,this.modules={}}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new y(this)),this.component}}var b={avg:function(t,e,n){var r=0,i=void 0!==n.precision?n.precision:2;return t.length&&(r=t.reduce((function(t,e){return Number(t)+Number(e)})),r/=t.length,r=!1!==i?r.toFixed(i):r),parseFloat(r).toString()},max:function(t,e,n){var r=null,i=void 0!==n.precision&&n.precision;return t.forEach((function(t){((t=Number(t))>r||null===r)&&(r=t)})),null!==r?!1!==i?r.toFixed(i):r:\\\"\\\"},min:function(t,e,n){var r=null,i=void 0!==n.precision&&n.precision;return t.forEach((function(t){((t=Number(t))<r||null===r)&&(r=t)})),null!==r?!1!==i?r.toFixed(i):r:\\\"\\\"},sum:function(t,e,n){var r=0,i=void 0!==n.precision&&n.precision;return t.length&&t.forEach((function(t){t=Number(t),r+=isNaN(t)?0:Number(t)})),!1!==i?r.toFixed(i):r},concat:function(t,e,n){var r=0;return t.length&&(r=t.reduce((function(t,e){return String(t)+String(e)}))),r},count:function(t,e,n){var r=0;return t.length&&t.forEach((function(t){t&&r++})),r}};class x extends o{constructor(t){super(t),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.registerTableOption(\\\"columnCalcs\\\",!0),this.registerColumnOption(\\\"topCalc\\\"),this.registerColumnOption(\\\"topCalcParams\\\"),this.registerColumnOption(\\\"topCalcFormatter\\\"),this.registerColumnOption(\\\"topCalcFormatterParams\\\"),this.registerColumnOption(\\\"bottomCalc\\\"),this.registerColumnOption(\\\"bottomCalcParams\\\"),this.registerColumnOption(\\\"bottomCalcFormatter\\\"),this.registerColumnOption(\\\"bottomCalcFormatterParams\\\")}createElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-calcs-holder\\\"),t}initialize(){this.genColumn=new g({field:\\\"value\\\"},this),this.subscribe(\\\"cell-value-changed\\\",this.cellValueChanged.bind(this)),this.subscribe(\\\"column-init\\\",this.initializeColumnCheck.bind(this)),this.subscribe(\\\"row-deleted\\\",this.rowsUpdated.bind(this)),this.subscribe(\\\"scroll-horizontal\\\",this.scrollHorizontal.bind(this)),this.subscribe(\\\"row-added\\\",this.rowsUpdated.bind(this)),this.subscribe(\\\"column-moved\\\",this.recalcActiveRows.bind(this)),this.subscribe(\\\"column-add\\\",this.recalcActiveRows.bind(this)),this.subscribe(\\\"data-refeshed\\\",this.recalcActiveRows.bind(this)),this.subscribe(\\\"table-redraw\\\",this.tableRedraw.bind(this)),this.registerTableFunction(\\\"getCalcResults\\\",this.getResults.bind(this)),this.registerTableFunction(\\\"recalc\\\",this.userRecalc.bind(this))}tableRedraw(t){this.recalc(this.table.rowManager.activeRows),t&&this.redraw()}userRecalc(){this.recalc(this.table.rowManager.activeRows)}rowsUpdated(t){this.table.options.groupBy?this.recalcRowGroup(this):this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(t){(t.column.definition.topCalc||t.column.definition.bottomCalc)&&(this.table.options.groupBy?(\\\"table\\\"!=this.table.options.columnCalcs&&\\\"both\\\"!=this.table.options.columnCalcs||this.recalcActiveRows(),\\\"table\\\"!=this.table.options.columnCalcs&&this.recalcRowGroup(t.row)):this.recalcActiveRows())}initializeColumnCheck(t){(t.definition.topCalc||t.definition.bottomCalc)&&this.initializeColumn(t)}initializeColumn(t){var e=t.definition,n={topCalcParams:e.topCalcParams||{},botCalcParams:e.bottomCalcParams||{}};if(e.topCalc){switch(typeof e.topCalc){case\\\"string\\\":x.calculations[e.topCalc]?n.topCalc=x.calculations[e.topCalc]:console.warn(\\\"Column Calc Error - No such calculation found, ignoring: \\\",e.topCalc);break;case\\\"function\\\":n.topCalc=e.topCalc}n.topCalc&&(t.modules.columnCalcs=n,this.topCalcs.push(t),\\\"group\\\"!=this.table.options.columnCalcs&&this.initializeTopRow())}if(e.bottomCalc){switch(typeof e.bottomCalc){case\\\"string\\\":x.calculations[e.bottomCalc]?n.botCalc=x.calculations[e.bottomCalc]:console.warn(\\\"Column Calc Error - No such calculation found, ignoring: \\\",e.bottomCalc);break;case\\\"function\\\":n.botCalc=e.bottomCalc}n.botCalc&&(t.modules.columnCalcs=n,this.botCalcs.push(t),\\\"group\\\"!=this.table.options.columnCalcs&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var t=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),t=!0),this.botInitialized&&(this.botInitialized=!1,this.table.footerManager.remove(this.botElement),t=!0),t&&this.table.rowManager.adjustTableSize()}initializeTopRow(){this.topInitialized||(this.table.columnManager.getElement().insertBefore(this.topElement,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.table.footerManager.prepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(t){this.botInitialized&&this.botRow&&(this.botRow.getElement().style.marginLeft=-t+\\\"px\\\")}recalc(t){var e;if(this.topInitialized||this.botInitialized){if(this.rowsToData(t),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),e=this.generateRow(\\\"top\\\",this.rowsToData(t)),this.topRow=e;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(e.getElement()),e.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),e=this.generateRow(\\\"bottom\\\",this.rowsToData(t)),this.botRow=e;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(e.getElement()),e.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists(\\\"frozenColumns\\\")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(t){this.recalcGroup(this.table.modules.groupRows.getRowGroup(t))}recalcAll(){(this.topCalcs.length||this.botCalcs.length)&&(\\\"group\\\"!==this.table.options.columnCalcs&&this.recalcActiveRows(),this.table.options.groupBy&&\\\"table\\\"!==this.table.options.columnCalcs&&this.table.modules.groupRows.getChildGroups().forEach((t=>{this.recalcGroup(t)})))}recalcGroup(t){var e,n;t&&t.calcs&&(t.calcs.bottom&&(e=this.rowsToData(t.rows),n=this.generateRowData(\\\"bottom\\\",e),t.calcs.bottom.updateData(n),t.calcs.bottom.reinitialize()),t.calcs.top&&(e=this.rowsToData(t.rows),n=this.generateRowData(\\\"top\\\",e),t.calcs.top.updateData(n),t.calcs.top.reinitialize()))}generateTopRow(t){return this.generateRow(\\\"top\\\",this.rowsToData(t))}generateBottomRow(t){return this.generateRow(\\\"bottom\\\",this.rowsToData(t))}rowsToData(t){var e=[];return t.forEach((t=>{if(e.push(t.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&t.modules.dataTree.open){var n=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(t));e=e.concat(n)}})),e}generateRow(t,e){var n,r=this.generateRowData(t,e);return this.table.modExists(\\\"mutator\\\")&&this.table.modules.mutator.disable(),n=new _(r,this,\\\"calc\\\"),this.table.modExists(\\\"mutator\\\")&&this.table.modules.mutator.enable(),n.getElement().classList.add(\\\"tabulator-calcs\\\",\\\"tabulator-calcs-\\\"+t),n.component=!1,n.getComponent=()=>(n.component||(n.component=new f(this)),n.component),n.generateCells=()=>{var e=[];this.table.columnManager.columnsByIndex.forEach((r=>{this.genColumn.setField(r.getField()),this.genColumn.hozAlign=r.hozAlign,r.definition[t+\\\"CalcFormatter\\\"]&&this.table.modExists(\\\"format\\\")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(r.definition[t+\\\"CalcFormatter\\\"]),params:r.definition[t+\\\"CalcFormatterParams\\\"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(\\\"plaintext\\\"),params:{}},this.genColumn.definition.cssClass=r.definition.cssClass;var i=new m(this.genColumn,n);i.getElement(),i.column=r,i.setWidth(),r.cells.push(i),e.push(i),r.visible||i.hide()})),n.cells=e},n}generateRowData(t,e){var n,r,i={},o=\\\"top\\\"==t?this.topCalcs:this.botCalcs,a=\\\"top\\\"==t?\\\"topCalc\\\":\\\"botCalc\\\";return o.forEach((function(t){var o=[];t.modules.columnCalcs&&t.modules.columnCalcs[a]&&(e.forEach((function(e){o.push(t.getFieldValue(e))})),r=a+\\\"Params\\\",n=\\\"function\\\"==typeof t.modules.columnCalcs[r]?t.modules.columnCalcs[r](o,e):t.modules.columnCalcs[r],t.setFieldValue(i,t.modules.columnCalcs[a](o,e,n)))})),i}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var t={};return this.table.options.groupBy&&this.table.modExists(\\\"groupRows\\\")?this.table.modules.groupRows.getGroups(!0).forEach((e=>{t[e.getKey()]=this.getGroupResults(e)})):t={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},t}getGroupResults(t){var e=t._getSelf(),n=t.getSubGroups(),r={};return n.forEach((t=>{r[t.getKey()]=this.getGroupResults(t)})),{top:e.calcs.top?e.calcs.top.getData():{},bottom:e.calcs.bottom?e.calcs.bottom.getData():{},groups:r}}}x.moduleName=\\\"columnCalcs\\\",x.calculations=b;class w extends o{constructor(t){super(t),this.indent=10,this.field=\\\"\\\",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.displayIndex=0,this.registerTableOption(\\\"dataTree\\\",!1),this.registerTableOption(\\\"dataTreeFilter\\\",!0),this.registerTableOption(\\\"dataTreeSort\\\",!0),this.registerTableOption(\\\"dataTreeElementColumn\\\",!1),this.registerTableOption(\\\"dataTreeBranchElement\\\",!0),this.registerTableOption(\\\"dataTreeChildIndent\\\",9),this.registerTableOption(\\\"dataTreeChildField\\\",\\\"_children\\\"),this.registerTableOption(\\\"dataTreeCollapseElement\\\",!1),this.registerTableOption(\\\"dataTreeExpandElement\\\",!1),this.registerTableOption(\\\"dataTreeStartExpanded\\\",!1),this.registerTableOption(\\\"dataTreeChildColumnCalcs\\\",!1),this.registerTableOption(\\\"dataTreeSelectPropagate\\\",!1),this.registerComponentFunction(\\\"row\\\",\\\"treeCollapse\\\",this.collapseRow.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"treeExpand\\\",this.expandRow.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"treeToggle\\\",this.toggleRow.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"getTreeParent\\\",this.getTreeParent.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"getTreeChildren\\\",this.getRowChildren.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"addTreeChild\\\",this.addTreeChildRow.bind(this))}initialize(){if(this.table.options.dataTree){var t=null,e=this.table.columnManager.getFirstVisibileColumn(),n=this.table.options;switch(this.field=n.dataTreeChildField,this.indent=n.dataTreeChildIndent,this.elementField=n.dataTreeElementColumn||!!e&&e.field,n.dataTreeBranchElement&&(!0===n.dataTreeBranchElement?(this.branchEl=document.createElement(\\\"div\\\"),this.branchEl.classList.add(\\\"tabulator-data-tree-branch\\\")):\\\"string\\\"==typeof n.dataTreeBranchElement?((t=document.createElement(\\\"div\\\")).innerHTML=n.dataTreeBranchElement,this.branchEl=t.firstChild):this.branchEl=n.dataTreeBranchElement),n.dataTreeCollapseElement?\\\"string\\\"==typeof n.dataTreeCollapseElement?((t=document.createElement(\\\"div\\\")).innerHTML=n.dataTreeCollapseElement,this.collapseEl=t.firstChild):this.collapseEl=n.dataTreeCollapseElement:(this.collapseEl=document.createElement(\\\"div\\\"),this.collapseEl.classList.add(\\\"tabulator-data-tree-control\\\"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML=\\\"<div class='tabulator-data-tree-control-collapse'></div>\\\"),n.dataTreeExpandElement?\\\"string\\\"==typeof n.dataTreeExpandElement?((t=document.createElement(\\\"div\\\")).innerHTML=n.dataTreeExpandElement,this.expandEl=t.firstChild):this.expandEl=n.dataTreeExpandElement:(this.expandEl=document.createElement(\\\"div\\\"),this.expandEl.classList.add(\\\"tabulator-data-tree-control\\\"),this.expandEl.tabIndex=0,this.expandEl.innerHTML=\\\"<div class='tabulator-data-tree-control-expand'></div>\\\"),typeof n.dataTreeStartExpanded){case\\\"boolean\\\":this.startOpen=function(t,e){return n.dataTreeStartExpanded};break;case\\\"function\\\":this.startOpen=n.dataTreeStartExpanded;break;default:this.startOpen=function(t,e){return n.dataTreeStartExpanded[e]}}this.subscribe(\\\"row-init\\\",this.initializeRow.bind(this)),this.subscribe(\\\"row-layout-after\\\",this.layoutRow.bind(this)),this.subscribe(\\\"row-relayout\\\",this.layoutRow.bind(this)),this.subscribe(\\\"row-deleted\\\",this.rowDelete.bind(this),0),this.subscribe(\\\"row-data-changed\\\",this.rowDataChanged.bind(this),10),this.subscribe(\\\"column-moving-rows\\\",this.columnMoving.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}getRowChildren(t){return this.getTreeChildren(t,!0)}columnMoving(){var t=[];return this.table.rowManager.rows.forEach((e=>{t=t.concat(this.getTreeChildren(e,!1,!0))})),t}rowDataChanged(t,e,n){this.redrawNeeded(n)&&(this.initializeRow(t),e&&(this.layoutRow(t),this.refreshData(!0)))}initializeRow(t){var e=t.getData()[this.field],n=Array.isArray(e),r=n||!n&&\\\"object\\\"==typeof e&&null!==e;!r&&t.modules.dataTree&&t.modules.dataTree.branchEl&&t.modules.dataTree.branchEl.parentNode.removeChild(t.modules.dataTree.branchEl),!r&&t.modules.dataTree&&t.modules.dataTree.controlEl&&t.modules.dataTree.controlEl.parentNode.removeChild(t.modules.dataTree.controlEl),t.modules.dataTree={index:t.modules.dataTree?t.modules.dataTree.index:0,open:!!r&&(t.modules.dataTree?t.modules.dataTree.open:this.startOpen(t.getComponent(),0)),controlEl:!(!t.modules.dataTree||!r)&&t.modules.dataTree.controlEl,branchEl:!(!t.modules.dataTree||!r)&&t.modules.dataTree.branchEl,parent:!!t.modules.dataTree&&t.modules.dataTree.parent,children:r}}reinitializeRowChildren(t){this.getTreeChildren(t,!1,!0).forEach((function(t){t.reinitialize(!0)}))}layoutRow(t){var e=(this.elementField?t.getCell(this.elementField):t.getCells()[0]).getElement(),n=t.modules.dataTree;n.branchEl&&(n.branchEl.parentNode&&n.branchEl.parentNode.removeChild(n.branchEl),n.branchEl=!1),n.controlEl&&(n.controlEl.parentNode&&n.controlEl.parentNode.removeChild(n.controlEl),n.controlEl=!1),this.generateControlElement(t,e),t.getElement().classList.add(\\\"tabulator-tree-level-\\\"+n.index),n.index&&(this.branchEl?(n.branchEl=this.branchEl.cloneNode(!0),e.insertBefore(n.branchEl,e.firstChild),this.table.rtl?n.branchEl.style.marginRight=(n.branchEl.offsetWidth+n.branchEl.style.marginLeft)*(n.index-1)+n.index*this.indent+\\\"px\\\":n.branchEl.style.marginLeft=(n.branchEl.offsetWidth+n.branchEl.style.marginRight)*(n.index-1)+n.index*this.indent+\\\"px\\\"):this.table.rtl?e.style.paddingRight=parseInt(window.getComputedStyle(e,null).getPropertyValue(\\\"padding-right\\\"))+n.index*this.indent+\\\"px\\\":e.style.paddingLeft=parseInt(window.getComputedStyle(e,null).getPropertyValue(\\\"padding-left\\\"))+n.index*this.indent+\\\"px\\\")}generateControlElement(t,e){var n=t.modules.dataTree,r=(e=e||t.getCells()[0].getElement(),n.controlEl);!1!==n.children&&(n.open?(n.controlEl=this.collapseEl.cloneNode(!0),n.controlEl.addEventListener(\\\"click\\\",(e=>{e.stopPropagation(),this.collapseRow(t)}))):(n.controlEl=this.expandEl.cloneNode(!0),n.controlEl.addEventListener(\\\"click\\\",(e=>{e.stopPropagation(),this.expandRow(t)}))),n.controlEl.addEventListener(\\\"mousedown\\\",(t=>{t.stopPropagation()})),r&&r.parentNode===e?r.parentNode.replaceChild(n.controlEl,r):e.insertBefore(n.controlEl,e.firstChild))}setDisplayIndex(t){this.displayIndex=t}getDisplayIndex(){return this.displayIndex}getRows(t){var e=[];return t.forEach(((t,n)=>{var r;e.push(t),t instanceof _&&(t.create(),(r=t.modules.dataTree.children).index||!1===r.children||this.getChildren(t).forEach((t=>{t.create(),e.push(t)})))})),e}getChildren(t,e){var n=t.modules.dataTree,r=[],i=[];return!1!==n.children&&(n.open||e)&&(Array.isArray(n.children)||(n.children=this.generateChildren(t)),r=this.table.modExists(\\\"filter\\\")&&this.table.options.dataTreeFilter?this.table.modules.filter.filter(n.children):n.children,this.table.modExists(\\\"sort\\\")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(r),r.forEach((t=>{i.push(t),this.getChildren(t).forEach((t=>{i.push(t)}))}))),i}generateChildren(t){var e=[],n=t.getData()[this.field];return Array.isArray(n)||(n=[n]),n.forEach((n=>{var r=new _(n||{},this.table.rowManager);r.create(),r.modules.dataTree.index=t.modules.dataTree.index+1,r.modules.dataTree.parent=t,r.modules.dataTree.children&&(r.modules.dataTree.open=this.startOpen(r.getComponent(),r.modules.dataTree.index)),e.push(r)})),e}expandRow(t,e){var n=t.modules.dataTree;!1!==n.children&&(n.open=!0,t.reinitialize(),this.refreshData(!0),this.dispatchExternal(\\\"dataTreeRowExpanded\\\",t.getComponent(),t.modules.dataTree.index))}collapseRow(t){var e=t.modules.dataTree;!1!==e.children&&(e.open=!1,t.reinitialize(),this.refreshData(!0),this.dispatchExternal(\\\"dataTreeRowCollapsed\\\",t.getComponent(),t.modules.dataTree.index))}toggleRow(t){var e=t.modules.dataTree;!1!==e.children&&(e.open?this.collapseRow(t):this.expandRow(t))}getTreeParent(t){return!!t.modules.dataTree.parent&&t.modules.dataTree.parent.getComponent()}getFilteredTreeChildren(t){var e=t.modules.dataTree,n=[];return e.children&&(Array.isArray(e.children)||(e.children=this.generateChildren(t)),(this.table.modExists(\\\"filter\\\")&&this.table.options.dataTreeFilter?this.table.modules.filter.filter(e.children):e.children).forEach((t=>{t instanceof _&&n.push(t)}))),n}rowDelete(t){var e,n=t.modules.dataTree.parent;n&&(!1!==(e=this.findChildIndex(t,n))&&n.data[this.field].splice(e,1),n.data[this.field].length||delete n.data[this.field],this.initializeRow(n),this.layoutRow(n)),this.refreshData(!0)}addTreeChildRow(t,e,n,r){var i=!1;\\\"string\\\"==typeof e&&(e=JSON.parse(e)),Array.isArray(t.data[this.field])||(t.data[this.field]=[],t.modules.dataTree.open=this.startOpen(t.getComponent(),t.modules.dataTree.index)),void 0!==r&&!1!==(i=this.findChildIndex(r,t))&&t.data[this.field].splice(n?i:i+1,0,e),!1===i&&(n?t.data[this.field].unshift(e):t.data[this.field].push(e)),this.initializeRow(t),this.layoutRow(t),this.refreshData(!0)}findChildIndex(t,e){var n=!1;return\\\"object\\\"==typeof t?t instanceof _?n=t.data:t instanceof RowComponent?n=t._getSelf().data:\\\"undefined\\\"!=typeof HTMLElement&&t instanceof HTMLElement&&e.modules.dataTree&&(n=e.modules.dataTree.children.find((e=>e instanceof _&&e.element===t)))&&(n=n.data):n=null!=t&&e.data[this.field].find((e=>e.data[this.table.options.index]==t)),n&&(Array.isArray(e.data[this.field])&&(n=e.data[this.field].indexOf(n)),-1==n&&(n=!1)),n}getTreeChildren(t,e,n){var r=t.modules.dataTree,i=[];return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(t)),r.children.forEach((t=>{t instanceof _&&(i.push(e?t.getComponent():t),n&&(i=i.concat(this.getTreeChildren(t,e,n))))}))),i}checkForRestyle(t){t.row.cells.indexOf(t)||t.row.reinitialize()}getChildField(){return this.field}redrawNeeded(t){return!!this.field&&void 0!==t[this.field]||!!this.elementField&&void 0!==t[this.elementField]}}w.moduleName=\\\"dataTree\\\";var A={csv:function(t,e,n){var r=e&&e.delimiter?e.delimiter:\\\",\\\",i=[],o=[];t.forEach((t=>{var e=[];switch(t.type){case\\\"group\\\":console.warn(\\\"Download Warning - CSV downloader cannot process row groups\\\");break;case\\\"calc\\\":console.warn(\\\"Download Warning - CSV downloader cannot process column calculations\\\");break;case\\\"header\\\":t.columns.forEach(((t,e)=>{t&&1===t.depth&&(o[e]=void 0===t.value||null===t.value?\\\"\\\":'\\\"'+String(t.value).split('\\\"').join('\\\"\\\"')+'\\\"')}));break;case\\\"row\\\":t.columns.forEach((t=>{if(t){switch(typeof t.value){case\\\"object\\\":t.value=JSON.stringify(t.value);break;case\\\"undefined\\\":case\\\"null\\\":t.value=\\\"\\\"}e.push('\\\"'+String(t.value).split('\\\"').join('\\\"\\\"')+'\\\"')}})),i.push(e.join(r))}})),o.length&&i.unshift(o.join(r)),i=i.join(\\\"\\\\n\\\"),e.bom&&(i=\\\"\\\\ufeff\\\"+i),n(i,\\\"text/csv\\\")},json:function(t,e,n){var r=[];t.forEach((t=>{var e={};switch(t.type){case\\\"header\\\":break;case\\\"group\\\":console.warn(\\\"Download Warning - JSON downloader cannot process row groups\\\");break;case\\\"calc\\\":console.warn(\\\"Download Warning - JSON downloader cannot process column calculations\\\");break;case\\\"row\\\":t.columns.forEach((t=>{t&&(e[t.component.getField()]=t.value)})),r.push(e)}})),n(r=JSON.stringify(r,null,\\\"\\\\t\\\"),\\\"application/json\\\")},pdf:function(t,e,n){var r=[],i=[],o={},a=e.rowGroupStyles||{fontStyle:\\\"bold\\\",fontSize:12,cellPadding:6,fillColor:220},s=e.rowCalcStyles||{fontStyle:\\\"bold\\\",fontSize:10,cellPadding:4,fillColor:232},l=e.jsPDF||{},u=e&&e.title?e.title:\\\"\\\";function c(t,e){var n=[];return t.columns.forEach((t=>{var r;if(t){switch(typeof t.value){case\\\"object\\\":t.value=JSON.stringify(t.value);break;case\\\"undefined\\\":case\\\"null\\\":t.value=\\\"\\\"}r={content:t.value,colSpan:t.width,rowSpan:t.height},e&&(r.styles=e),n.push(r)}else n.push(\\\"\\\")})),n}l.orientation||(l.orientation=e.orientation||\\\"landscape\\\"),l.unit||(l.unit=\\\"pt\\\"),t.forEach((t=>{switch(t.type){case\\\"header\\\":r.push(c(t));break;case\\\"group\\\":i.push(c(t,a));break;case\\\"calc\\\":i.push(c(t,s));break;case\\\"row\\\":i.push(c(t))}}));var h=new jspdf.jsPDF(l);e&&e.autoTable&&(o=\\\"function\\\"==typeof e.autoTable?e.autoTable(h)||{}:e.autoTable),u&&(o.didDrawPage=function(t){h.text(u,40,30)}),o.head=r,o.body=i,h.autoTable(o),e&&e.documentProcessing&&e.documentProcessing(h),n(h.output(\\\"arraybuffer\\\"),\\\"application/pdf\\\")},xlsx:function(t,e,n){var i=e.sheetName||\\\"Sheet1\\\",o=XLSX.utils.book_new(),a=new r(this);function s(){var e=[],n=[],r={},i={s:{c:0,r:0},e:{c:t[0]?t[0].columns.reduce(((t,e)=>t+(e&&e.width?e.width:1)),0):0,r:t.length}};return t.forEach(((t,r)=>{var i=[];t.columns.forEach((function(t,e){t?(i.push(t.value instanceof Date||\\\"object\\\"!=typeof t.value?t.value:JSON.stringify(t.value)),(t.width>1||t.height>-1)&&n.push({s:{r,c:e},e:{r:r+t.height-1,c:e+t.width-1}})):i.push(\\\"\\\")})),e.push(i)})),XLSX.utils.sheet_add_aoa(r,e),r[\\\"!ref\\\"]=XLSX.utils.encode_range(i),n.length&&(r[\\\"!merges\\\"]=n),r}if(o.SheetNames=[],o.Sheets={},e.sheetOnly)n(s());else{if(e.sheets)for(var l in e.sheets)!0===e.sheets[l]?(o.SheetNames.push(l),o.Sheets[l]=s()):(o.SheetNames.push(l),a.commsSend(e.sheets[l],\\\"download\\\",\\\"intercept\\\",{type:\\\"xlsx\\\",options:{sheetOnly:!0},active:this.active,intercept:function(t){o.Sheets[l]=t}}));else o.SheetNames.push(i),o.Sheets[i]=s();e.documentProcessing&&(o=e.documentProcessing(o)),n(function(t){for(var e=new ArrayBuffer(t.length),n=new Uint8Array(e),r=0;r!=t.length;++r)n[r]=255&t.charCodeAt(r);return e}(XLSX.write(o,{bookType:\\\"xlsx\\\",bookSST:!0,type:\\\"binary\\\"})),\\\"application/octet-stream\\\")}},html:function(t,e,n){this.modExists(\\\"export\\\",!0)&&n(this.modules.export.genereateHTMLTable(t),\\\"text/html\\\")}};class C extends o{constructor(t){super(t),this.registerTableOption(\\\"downloadReady\\\",(function(t,e){return e})),this.registerTableOption(\\\"downloadConfig\\\",{}),this.registerTableOption(\\\"downloadRowRange\\\",\\\"active\\\"),this.registerColumnOption(\\\"download\\\"),this.registerColumnOption(\\\"titleDownload\\\")}initialize(){this.registerTableFunction(\\\"download\\\",this.download.bind(this)),this.registerTableFunction(\\\"downloadToTab\\\",this.downloadToTab.bind(this))}downloadToTab(t,e,n,r){this.download(t,e,n,r,!0)}download(t,e,n,r,i){var o=!1;if(\\\"function\\\"==typeof t?o=t:C.downloaders[t]?o=C.downloaders[t]:console.warn(\\\"Download Error - No such download type found: \\\",t),o){var a=this.generateExportList(r);o.call(this.table,a,n||{},function(n,r){i?!0===i?this.triggerDownload(n,r,t,e,!0):i(n):this.triggerDownload(n,r,t,e)}.bind(this))}}generateExportList(t){var e=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,t||this.table.options.downloadRowRange,\\\"download\\\"),n=this.table.options.groupHeaderDownload;return n&&!Array.isArray(n)&&(n=[n]),e.forEach((t=>{var e;\\\"group\\\"===t.type&&(e=t.columns[0],n&&n[t.indent]&&(e.value=n[t.indent](e.value,t.component._group.getRowCount(),t.component._group.getData(),t.component)))})),e}triggerDownload(t,e,n,r,i){var o=document.createElement(\\\"a\\\"),a=new Blob([t],{type:e});r=r||\\\"Tabulator.\\\"+(\\\"function\\\"==typeof n?\\\"txt\\\":n),(a=this.table.options.downloadReady(t,a))&&(i?window.open(window.URL.createObjectURL(a)):navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(a,r):(o.setAttribute(\\\"href\\\",window.URL.createObjectURL(a)),o.setAttribute(\\\"download\\\",r),o.style.display=\\\"none\\\",document.body.appendChild(o),o.click(),document.body.removeChild(o)),this.dispatchExternal(\\\"downloadComplete\\\"))}commsReceived(t,e,n){\\\"intercept\\\"===e&&this.download(n.type,\\\"\\\",n.options,n.active,n.intercept)}}function M(t,e){var n=e.mask,r=void 0!==e.maskLetterChar?e.maskLetterChar:\\\"A\\\",i=void 0!==e.maskNumberChar?e.maskNumberChar:\\\"9\\\",o=void 0!==e.maskWildcardChar?e.maskWildcardChar:\\\"*\\\";function a(e){var s=n[e];void 0!==s&&s!==o&&s!==r&&s!==i&&(t.value=t.value+\\\"\\\"+s,a(e+1))}t.addEventListener(\\\"keydown\\\",(e=>{var a=t.value.length,s=e.key;if(e.keyCode>46){if(a>=n.length)return e.preventDefault(),e.stopPropagation(),!1;switch(n[a]){case r:if(s.toUpperCase()==s.toLowerCase())return e.preventDefault(),e.stopPropagation(),!1;break;case i:if(isNaN(s))return e.preventDefault(),e.stopPropagation(),!1;break;case o:break;default:if(s!==n[a])return e.preventDefault(),e.stopPropagation(),!1}}})),t.addEventListener(\\\"keyup\\\",(n=>{n.keyCode>46&&e.maskAutoFill&&a(t.value.length)})),t.placeholder||(t.placeholder=n),e.maskAutoFill&&a(t.value.length)}C.moduleName=\\\"download\\\",C.downloaders=A;var E={input:function(t,e,n,r,i){var o=t.getValue(),a=document.createElement(\\\"input\\\");if(a.setAttribute(\\\"type\\\",i.search?\\\"search\\\":\\\"text\\\"),a.style.padding=\\\"4px\\\",a.style.width=\\\"100%\\\",a.style.boxSizing=\\\"border-box\\\",i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),a.setAttribute(t,a.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):a.setAttribute(t,i.elementAttributes[t]);function s(t){null==o&&\\\"\\\"!==a.value||a.value!==o?n(a.value)&&(o=a.value):r()}return a.value=void 0!==o?o:\\\"\\\",e((function(){a.focus({preventScroll:!0}),a.style.height=\\\"100%\\\"})),a.addEventListener(\\\"change\\\",s),a.addEventListener(\\\"blur\\\",s),a.addEventListener(\\\"keydown\\\",(function(t){switch(t.keyCode){case 13:s();break;case 27:r();break;case 35:case 36:t.stopPropagation()}})),i.mask&&M(a,i),a},textarea:function(t,e,n,r,i){var o=t.getValue(),a=i.verticalNavigation||\\\"hybrid\\\",s=String(null!=o?o:\\\"\\\"),l=((s.match(/(?:\\\\r\\\\n|\\\\r|\\\\n)/g)||[]).length,document.createElement(\\\"textarea\\\")),u=0;if(l.style.display=\\\"block\\\",l.style.padding=\\\"2px\\\",l.style.height=\\\"100%\\\",l.style.width=\\\"100%\\\",l.style.boxSizing=\\\"border-box\\\",l.style.whiteSpace=\\\"pre-wrap\\\",l.style.resize=\\\"none\\\",i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),l.setAttribute(t,l.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):l.setAttribute(t,i.elementAttributes[t]);function c(e){null==o&&\\\"\\\"!==l.value||l.value!==o?(n(l.value)&&(o=l.value),setTimeout((function(){t.getRow().normalizeHeight()}),300)):r()}return l.value=s,e((function(){l.focus({preventScroll:!0}),l.style.height=\\\"100%\\\",l.scrollHeight,l.style.height=l.scrollHeight+\\\"px\\\",t.getRow().normalizeHeight()})),l.addEventListener(\\\"change\\\",c),l.addEventListener(\\\"blur\\\",c),l.addEventListener(\\\"keyup\\\",(function(){l.style.height=\\\"\\\";var e=l.scrollHeight;l.style.height=e+\\\"px\\\",e!=u&&(u=e,t.getRow().normalizeHeight())})),l.addEventListener(\\\"keydown\\\",(function(t){switch(t.keyCode){case 27:r();break;case 38:(\\\"editor\\\"==a||\\\"hybrid\\\"==a&&l.selectionStart)&&(t.stopImmediatePropagation(),t.stopPropagation());break;case 40:(\\\"editor\\\"==a||\\\"hybrid\\\"==a&&l.selectionStart!==l.value.length)&&(t.stopImmediatePropagation(),t.stopPropagation());break;case 35:case 36:t.stopPropagation()}})),i.mask&&M(l,i),l},number:function(t,e,n,r,i){var o=t.getValue(),a=i.verticalNavigation||\\\"editor\\\",s=document.createElement(\\\"input\\\");if(s.setAttribute(\\\"type\\\",\\\"number\\\"),void 0!==i.max&&s.setAttribute(\\\"max\\\",i.max),void 0!==i.min&&s.setAttribute(\\\"min\\\",i.min),void 0!==i.step&&s.setAttribute(\\\"step\\\",i.step),s.style.padding=\\\"4px\\\",s.style.width=\\\"100%\\\",s.style.boxSizing=\\\"border-box\\\",i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),s.setAttribute(t,s.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):s.setAttribute(t,i.elementAttributes[t]);s.value=o;var l=function(t){u()};function u(){var t=s.value;isNaN(t)||\\\"\\\"===t||(t=Number(t)),t!==o?n(t)&&(o=t):r()}return e((function(){s.removeEventListener(\\\"blur\\\",l),s.focus({preventScroll:!0}),s.style.height=\\\"100%\\\",s.addEventListener(\\\"blur\\\",l)})),s.addEventListener(\\\"keydown\\\",(function(t){switch(t.keyCode){case 13:u();break;case 27:r();break;case 38:case 40:\\\"editor\\\"==a&&(t.stopImmediatePropagation(),t.stopPropagation());break;case 35:case 36:t.stopPropagation()}})),i.mask&&M(s,i),s},range:function(t,e,n,r,i){var o=t.getValue(),a=document.createElement(\\\"input\\\");if(a.setAttribute(\\\"type\\\",\\\"range\\\"),void 0!==i.max&&a.setAttribute(\\\"max\\\",i.max),void 0!==i.min&&a.setAttribute(\\\"min\\\",i.min),void 0!==i.step&&a.setAttribute(\\\"step\\\",i.step),a.style.padding=\\\"4px\\\",a.style.width=\\\"100%\\\",a.style.boxSizing=\\\"border-box\\\",i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),a.setAttribute(t,a.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):a.setAttribute(t,i.elementAttributes[t]);function s(){var t=a.value;isNaN(t)||\\\"\\\"===t||(t=Number(t)),t!=o?n(t)&&(o=t):r()}return a.value=o,e((function(){a.focus({preventScroll:!0}),a.style.height=\\\"100%\\\"})),a.addEventListener(\\\"blur\\\",(function(t){s()})),a.addEventListener(\\\"keydown\\\",(function(t){switch(t.keyCode){case 13:s();break;case 27:r()}})),a},select:function(t,e,n,r,i){var o=this,s=t.getElement(),l=t.getValue(),u=i.verticalNavigation||\\\"editor\\\",c=void 0!==l||null===l?Array.isArray(l)?l:[l]:void 0!==i.defaultValue?i.defaultValue:[],h=document.createElement(\\\"input\\\"),p=document.createElement(\\\"div\\\"),f=i.multiselect,d=[],m={},v=[],g=[],y=!0,_=!1,b=\\\"\\\",x=null;function w(e){var n,r={},i=o.table.getData();return(n=e?o.table.columnManager.getColumnByField(e):t.getColumn()._getSelf())?i.forEach((function(t){var e=n.getFieldValue(t);null!=e&&\\\"\\\"!==e&&(r[e]=!0)})):console.warn(\\\"unable to find matching column to create select lookup list:\\\",e),Object.keys(r)}function A(e,n){var r=[],o=[];function a(t){return t={label:t.label,value:t.value,itemParams:t.itemParams,elementAttributes:t.elementAttributes,element:!1},n.indexOf(t.value)>-1&&M(t),r.push(t),o.push(t),t}if(\\\"function\\\"==typeof e&&(e=e(t)),Array.isArray(e))e.forEach((function(t){var e;\\\"object\\\"==typeof t?t.options?(e={label:t.label,group:!0,itemParams:t.itemParams,elementAttributes:t.elementAttributes,element:!1},o.push(e),t.options.forEach((function(t){a(t)}))):a(t):(e={label:t,value:t,element:!1},n.indexOf(e.value)>-1&&M(e),r.push(e),o.push(e))}));else for(var s in e){var l={label:e[s],value:s,element:!1};n.indexOf(l.value)>-1&&M(l),r.push(l),o.push(l)}i.sortValuesList&&(r.sort(((t,e)=>t.label<e.label?-1:t.label>e.label?1:0)),o.sort(((t,e)=>t.label<e.label?-1:t.label>e.label?1:0)),\\\"asc\\\"!==i.sortValuesList&&(r.reverse(),o.reverse())),d=r,v=o,function(){for(;p.firstChild;)p.removeChild(p.firstChild);v.forEach((function(e){var n=e.element;if(!n){if(n=document.createElement(\\\"div\\\"),e.label=i.listItemFormatter?i.listItemFormatter(e.value,e.label,t,n,e.itemParams):e.label,e.group?(n.classList.add(\\\"tabulator-edit-select-list-group\\\"),n.tabIndex=0,n.innerHTML=\\\"\\\"===e.label?\\\"&nbsp;\\\":e.label):(n.classList.add(\\\"tabulator-edit-select-list-item\\\"),n.tabIndex=0,n.innerHTML=\\\"\\\"===e.label?\\\"&nbsp;\\\":e.label,n.addEventListener(\\\"click\\\",(function(){_=!0,setTimeout((()=>{_=!1}),10),f?(T(e),h.focus()):S(e)})),g.indexOf(e)>-1&&n.classList.add(\\\"active\\\")),e.elementAttributes&&\\\"object\\\"==typeof e.elementAttributes)for(let t in e.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),n.setAttribute(t,h.getAttribute(t)+e.elementAttributes[\\\"+\\\"+t])):n.setAttribute(t,e.elementAttributes[t]);n.addEventListener(\\\"mousedown\\\",(function(){y=!1,setTimeout((function(){y=!0}),10)})),e.element=n}p.appendChild(n)}))}()}function C(t,e){!f&&m&&m.element&&m.element.classList.remove(\\\"active\\\"),m&&m.element&&m.element.classList.remove(\\\"focused\\\"),m=t,t.element&&(t.element.classList.add(\\\"focused\\\"),e&&t.element.classList.add(\\\"active\\\")),t&&t.element&&t.element.scrollIntoView&&t.element.scrollIntoView({behavior:\\\"smooth\\\",block:\\\"nearest\\\",inline:\\\"start\\\"})}function M(t){-1==g.indexOf(t)&&(g.push(t),C(t,!0)),O()}function E(t){var e=g[t];t>-1&&(g.splice(t,1),e.element&&e.element.classList.remove(\\\"active\\\"))}function T(t){t||(t=m);var e=g.indexOf(t);e>-1?E(e):(!0!==f&&g.length>=f&&E(0),M(t)),O()}function S(t){L(),t||(t=m),t&&(h.value=t.label,n(t.value)),c=[t.value]}function k(t){t||L();var e=[];g.forEach((t=>{e.push(t.value)})),c=e,n(e)}function O(){var t=[];g.forEach((e=>{t.push(e.label)})),h.value=t.join(\\\", \\\"),!1===o.currentCell&&k(!0)}function I(){L(),r()}function L(){p.parentNode&&p.parentNode.removeChild(p),o.table.rowManager.element.removeEventListener(\\\"scroll\\\",I)}if((Array.isArray(i)||!Array.isArray(i)&&\\\"object\\\"==typeof i&&!i.values)&&(console.warn(\\\"DEPRECATION WARNING - values for the select editor must now be passed into the values property of the editorParams object, not as the editorParams object\\\"),i={values:i}),h.setAttribute(\\\"type\\\",\\\"text\\\"),h.style.padding=\\\"4px\\\",h.style.width=\\\"100%\\\",h.style.boxSizing=\\\"border-box\\\",h.style.cursor=\\\"default\\\",h.readOnly=0!=this.currentCell,i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),h.setAttribute(t,h.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):h.setAttribute(t,i.elementAttributes[t]);return h.value=void 0!==l||null===l?l:\\\"\\\",h.addEventListener(\\\"search\\\",(function(t){h.value||(function(){var t=g.length;for(let e=0;e<t;e++)E(0)}(),k())})),h.addEventListener(\\\"keydown\\\",(function(t){var e;switch(t.keyCode){case 38:e=d.indexOf(m),(\\\"editor\\\"==u||\\\"hybrid\\\"==u&&e)&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault(),e>0&&C(d[e-1],!f));break;case 40:e=d.indexOf(m),(\\\"editor\\\"==u||\\\"hybrid\\\"==u&&e<d.length-1)&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault(),e<d.length-1&&C(-1==e?d[0]:d[e+1],!f));break;case 37:case 39:t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault();break;case 13:f?T():S();break;case 27:I();break;case 9:break;default:!1===o.currentCell&&t.preventDefault(),t.keyCode>=38&&t.keyCode<=90&&function(t){clearTimeout(x);var e=String.fromCharCode(event.keyCode).toLowerCase();b+=e.toLowerCase();var n=d.find((t=>void 0!==t.label&&t.label.toLowerCase().startsWith(b)));n&&C(n,!f),x=setTimeout((()=>{b=\\\"\\\"}),800)}(t.keyCode)}})),h.addEventListener(\\\"blur\\\",(function(t){y&&(f?k():I())})),h.addEventListener(\\\"focus\\\",(function(t){_||function(){if(g=[],!p.parentNode){!0===i.values?A(w(),c):\\\"string\\\"==typeof i.values?A(w(i.values),c):A(i.values||[],c);var t=a.elOffset(s);p.style.minWidth=s.offsetWidth+\\\"px\\\",p.style.top=t.top+s.offsetHeight+\\\"px\\\",p.style.left=t.left+\\\"px\\\",p.addEventListener(\\\"mousedown\\\",(function(t){y=!1,setTimeout((function(){y=!0}),10)})),document.body.appendChild(p)}}()})),(p=document.createElement(\\\"div\\\")).classList.add(\\\"tabulator-edit-select-list\\\"),e((function(){h.style.height=\\\"100%\\\",h.focus({preventScroll:!0})})),setTimeout((()=>{this.table.rowManager.element.addEventListener(\\\"scroll\\\",I)}),10),h},autocomplete:function(t,e,n,r,i){var o=this,s=t.getElement(),l=t.getValue(),u=i.verticalNavigation||\\\"editor\\\",c=void 0!==l||null===l?l:void 0!==i.defaultValue?i.defaultValue:\\\"\\\",h=document.createElement(\\\"input\\\"),p=document.createElement(\\\"div\\\"),f=[],d=!1,m=!0,v=!1;if(h.setAttribute(\\\"type\\\",\\\"search\\\"),h.style.padding=\\\"4px\\\",h.style.width=\\\"100%\\\",h.style.boxSizing=\\\"border-box\\\",i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),h.setAttribute(t,h.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):h.setAttribute(t,i.elementAttributes[t]);function g(){!0===i.values?v=y():\\\"string\\\"==typeof i.values&&(v=y(i.values))}function y(e){var n,r={},a=o.table.getData();return(n=e?o.table.columnManager.getColumnByField(e):t.getColumn()._getSelf())?(a.forEach((function(t){var e=n.getFieldValue(t);null!=e&&\\\"\\\"!==e&&(r[e]=!0)})),r=i.sortValuesList?\\\"asc\\\"==i.sortValuesList?Object.keys(r).sort():Object.keys(r).sort().reverse():Object.keys(r)):console.warn(\\\"unable to find matching column to create autocomplete lookup list:\\\",e),r}function _(t,e){var n,r,o=[];n=v||i.values||[],i.searchFunc?(o=i.searchFunc(t,n))instanceof Promise?(b(void 0!==i.searchingPlaceholder?i.searchingPlaceholder:\\\"Searching...\\\"),o.then((t=>{A(x(t),e)})).catch((t=>{console.err(\\\"error in autocomplete search promise:\\\",t)}))):A(x(o),e):(r=x(n),\\\"\\\"===t?i.showListOnEmpty&&(o=r):r.forEach((function(e){null===e.value&&void 0===e.value||(String(e.value).toLowerCase().indexOf(String(t).toLowerCase())>-1||String(e.title).toLowerCase().indexOf(String(t).toLowerCase())>-1)&&o.push(e)})),A(o,e))}function b(t){var e=document.createElement(\\\"div\\\");w(),!1!==t&&(e.classList.add(\\\"tabulator-edit-select-list-notice\\\"),e.tabIndex=0,t instanceof Node?e.appendChild(t):e.innerHTML=t,p.appendChild(e))}function x(t){var e=[];if(Array.isArray(t))t.forEach((function(t){var n={};\\\"object\\\"==typeof t?(n.title=i.listItemFormatter?i.listItemFormatter(t.value,t.label):t.label,n.value=t.value):(n.title=i.listItemFormatter?i.listItemFormatter(t,t):t,n.value=t),e.push(n)}));else for(var n in t){var r={title:i.listItemFormatter?i.listItemFormatter(n,t[n]):t[n],value:n};e.push(r)}return e}function w(){for(;p.firstChild;)p.removeChild(p.firstChild)}function A(t,e){t.length?function(t,e){var n=!1;w(),(f=t).forEach((function(t){var r=t.element;r||((r=document.createElement(\\\"div\\\")).classList.add(\\\"tabulator-edit-select-list-item\\\"),r.tabIndex=0,r.innerHTML=t.title,r.addEventListener(\\\"click\\\",(function(e){E(t),C()})),r.addEventListener(\\\"mousedown\\\",(function(t){m=!1,setTimeout((function(){m=!0}),10)})),t.element=r,e&&t.value==l&&(h.value=t.title,t.element.classList.add(\\\"active\\\"),n=!0),t===d&&(t.element.classList.add(\\\"active\\\"),n=!0)),p.appendChild(r)})),n||E(!1)}(t,e):i.emptyPlaceholder&&b(i.emptyPlaceholder)}function C(){T(),d?l!==d.value?(l=d.value,h.value=d.title,n(d.value)):r():i.freetext||i.allowEmpty&&\\\"\\\"===h.value?(l=h.value,n(h.value)):r()}function E(t,e){d&&d.element&&d.element.classList.remove(\\\"active\\\"),d=t,t&&t.element&&t.element.classList.add(\\\"active\\\"),t&&t.element&&t.element.scrollIntoView&&t.element.scrollIntoView({behavior:\\\"smooth\\\",block:\\\"nearest\\\",inline:\\\"start\\\"})}function T(){p.parentNode&&p.parentNode.removeChild(p),o.table.rowManager.element.removeEventListener(\\\"scroll\\\",S)}function S(){T(),r()}return p.classList.add(\\\"tabulator-edit-select-list\\\"),p.addEventListener(\\\"mousedown\\\",(function(t){m=!1,setTimeout((function(){m=!0}),10)})),h.addEventListener(\\\"keydown\\\",(function(t){var e;switch(t.keyCode){case 38:e=f.indexOf(d),(\\\"editor\\\"==u||\\\"hybrid\\\"==u&&e)&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault(),E(e>0&&f[e-1]));break;case 40:e=f.indexOf(d),(\\\"editor\\\"==u||\\\"hybrid\\\"==u&&e<f.length-1)&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault(),e<f.length-1&&E(-1==e?f[0]:f[e+1]));break;case 37:case 39:t.stopImmediatePropagation(),t.stopPropagation();break;case 13:C();break;case 27:S();break;case 36:case 35:t.stopImmediatePropagation()}})),h.addEventListener(\\\"keyup\\\",(function(t){switch(t.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:_(h.value)}})),h.addEventListener(\\\"search\\\",(function(t){_(h.value)})),h.addEventListener(\\\"blur\\\",(function(t){m&&C()})),h.addEventListener(\\\"focus\\\",(function(t){var e=c;g(),function(){if(!p.parentNode){for(;p.firstChild;)p.removeChild(p.firstChild);var t=a.elOffset(s);p.style.minWidth=s.offsetWidth+\\\"px\\\",p.style.top=t.top+s.offsetHeight+\\\"px\\\",p.style.left=t.left+\\\"px\\\",document.body.appendChild(p)}}(),h.value=e,_(e,!0)})),e((function(){h.style.height=\\\"100%\\\",h.focus({preventScroll:!0})})),i.mask&&M(h,i),setTimeout((()=>{this.table.rowManager.element.addEventListener(\\\"scroll\\\",S)}),10),g(),h.value=c,_(c,!0),h},star:function(t,e,n,r,i){var o=this,a=t.getElement(),s=t.getValue(),l=a.getElementsByTagName(\\\"svg\\\").length||5,u=a.getElementsByTagName(\\\"svg\\\")[0]?a.getElementsByTagName(\\\"svg\\\")[0].getAttribute(\\\"width\\\"):14,c=[],h=document.createElement(\\\"div\\\"),p=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"svg\\\");function f(t){c.forEach((function(e,n){n<t?(\\\"ie\\\"==o.table.browser?e.setAttribute(\\\"class\\\",\\\"tabulator-star-active\\\"):e.classList.replace(\\\"tabulator-star-inactive\\\",\\\"tabulator-star-active\\\"),e.innerHTML='<polygon fill=\\\"#488CE9\\\" stroke=\\\"#014AAE\\\" stroke-width=\\\"37.6152\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-miterlimit=\\\"10\\\" points=\\\"259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 \\\"/>'):(\\\"ie\\\"==o.table.browser?e.setAttribute(\\\"class\\\",\\\"tabulator-star-inactive\\\"):e.classList.replace(\\\"tabulator-star-active\\\",\\\"tabulator-star-inactive\\\"),e.innerHTML='<polygon fill=\\\"#010155\\\" stroke=\\\"#686868\\\" stroke-width=\\\"37.6152\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-miterlimit=\\\"10\\\" points=\\\"259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 \\\"/>')}))}function d(t){var e=document.createElement(\\\"span\\\"),r=p.cloneNode(!0);c.push(r),e.addEventListener(\\\"mouseenter\\\",(function(e){e.stopPropagation(),e.stopImmediatePropagation(),f(t)})),e.addEventListener(\\\"mousemove\\\",(function(t){t.stopPropagation(),t.stopImmediatePropagation()})),e.addEventListener(\\\"click\\\",(function(e){e.stopPropagation(),e.stopImmediatePropagation(),n(t),a.blur()})),e.appendChild(r),h.appendChild(e)}function m(t){s=t,f(t)}if(a.style.whiteSpace=\\\"nowrap\\\",a.style.overflow=\\\"hidden\\\",a.style.textOverflow=\\\"ellipsis\\\",h.style.verticalAlign=\\\"middle\\\",h.style.display=\\\"inline-block\\\",h.style.padding=\\\"4px\\\",p.setAttribute(\\\"width\\\",u),p.setAttribute(\\\"height\\\",u),p.setAttribute(\\\"viewBox\\\",\\\"0 0 512 512\\\"),p.setAttribute(\\\"xml:space\\\",\\\"preserve\\\"),p.style.padding=\\\"0 1px\\\",i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),h.setAttribute(t,h.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):h.setAttribute(t,i.elementAttributes[t]);for(var v=1;v<=l;v++)d(v);return f(s=Math.min(parseInt(s),l)),h.addEventListener(\\\"mousemove\\\",(function(t){f(0)})),h.addEventListener(\\\"click\\\",(function(t){n(0)})),a.addEventListener(\\\"blur\\\",(function(t){r()})),a.addEventListener(\\\"keydown\\\",(function(t){switch(t.keyCode){case 39:m(s+1);break;case 37:m(s-1);break;case 13:n(s);break;case 27:r()}})),h},progress:function(t,e,n,r,i){var o,a,s=t.getElement(),l=void 0===i.max?s.getElementsByTagName(\\\"div\\\")[0].getAttribute(\\\"max\\\")||100:i.max,u=void 0===i.min?s.getElementsByTagName(\\\"div\\\")[0].getAttribute(\\\"min\\\")||0:i.min,c=(l-u)/100,h=t.getValue()||0,p=document.createElement(\\\"div\\\"),f=document.createElement(\\\"div\\\");function d(){var t=window.getComputedStyle(s,null),e=c*Math.round(f.offsetWidth/((s.clientWidth-parseInt(t.getPropertyValue(\\\"padding-left\\\"))-parseInt(t.getPropertyValue(\\\"padding-right\\\")))/100))+u;n(e),s.setAttribute(\\\"aria-valuenow\\\",e),s.setAttribute(\\\"aria-label\\\",h)}if(p.style.position=\\\"absolute\\\",p.style.right=\\\"0\\\",p.style.top=\\\"0\\\",p.style.bottom=\\\"0\\\",p.style.width=\\\"5px\\\",p.classList.add(\\\"tabulator-progress-handle\\\"),f.style.display=\\\"inline-block\\\",f.style.position=\\\"relative\\\",f.style.height=\\\"100%\\\",f.style.backgroundColor=\\\"#488CE9\\\",f.style.maxWidth=\\\"100%\\\",f.style.minWidth=\\\"0%\\\",i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),f.setAttribute(t,f.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):f.setAttribute(t,i.elementAttributes[t]);return s.style.padding=\\\"4px 4px\\\",h=Math.min(parseFloat(h),l),h=Math.max(parseFloat(h),u),h=Math.round((h-u)/c),f.style.width=h+\\\"%\\\",s.setAttribute(\\\"aria-valuemin\\\",u),s.setAttribute(\\\"aria-valuemax\\\",l),f.appendChild(p),p.addEventListener(\\\"mousedown\\\",(function(t){o=t.screenX,a=f.offsetWidth})),p.addEventListener(\\\"mouseover\\\",(function(){p.style.cursor=\\\"ew-resize\\\"})),s.addEventListener(\\\"mousemove\\\",(function(t){o&&(f.style.width=a+t.screenX-o+\\\"px\\\")})),s.addEventListener(\\\"mouseup\\\",(function(t){o&&(t.stopPropagation(),t.stopImmediatePropagation(),o=!1,a=!1,d())})),s.addEventListener(\\\"keydown\\\",(function(t){switch(t.keyCode){case 39:t.preventDefault(),f.style.width=f.clientWidth+s.clientWidth/100+\\\"px\\\";break;case 37:t.preventDefault(),f.style.width=f.clientWidth-s.clientWidth/100+\\\"px\\\";break;case 9:case 13:d();break;case 27:r()}})),s.addEventListener(\\\"blur\\\",(function(){r()})),f},tickCross:function(t,e,n,r,i){var o=t.getValue(),a=document.createElement(\\\"input\\\"),s=i.tristate,l=void 0===i.indeterminateValue?null:i.indeterminateValue,u=!1;if(a.setAttribute(\\\"type\\\",\\\"checkbox\\\"),a.style.marginTop=\\\"5px\\\",a.style.boxSizing=\\\"border-box\\\",i.elementAttributes&&\\\"object\\\"==typeof i.elementAttributes)for(let t in i.elementAttributes)\\\"+\\\"==t.charAt(0)?(t=t.slice(1),a.setAttribute(t,a.getAttribute(t)+i.elementAttributes[\\\"+\\\"+t])):a.setAttribute(t,i.elementAttributes[t]);function c(t){return s?t?u?l:a.checked:a.checked&&!u?(a.checked=!1,a.indeterminate=!0,u=!0,l):(u=!1,a.checked):a.checked}return a.value=o,!s||void 0!==o&&o!==l&&\\\"\\\"!==o||(u=!0,a.indeterminate=!0),\\\"firefox\\\"!=this.table.browser&&e((function(){a.focus({preventScroll:!0})})),a.checked=!0===o||\\\"true\\\"===o||\\\"True\\\"===o||1===o,e((function(){a.focus()})),a.addEventListener(\\\"change\\\",(function(t){n(c())})),a.addEventListener(\\\"blur\\\",(function(t){n(c(!0))})),a.addEventListener(\\\"keydown\\\",(function(t){13==t.keyCode&&n(c()),27==t.keyCode&&r()})),a}};class T extends o{constructor(t){super(t),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=T.editors,this.registerColumnOption(\\\"editable\\\"),this.registerColumnOption(\\\"editor\\\"),this.registerColumnOption(\\\"editorParams\\\"),this.registerColumnOption(\\\"cellEditing\\\"),this.registerColumnOption(\\\"cellEdited\\\"),this.registerColumnOption(\\\"cellEditCancelled\\\"),this.registerTableFunction(\\\"getEditedCells\\\",this.getEditedCells.bind(this)),this.registerTableFunction(\\\"clearCellEdited\\\",this.clearCellEdited.bind(this)),this.registerTableFunction(\\\"navigatePrev\\\",this.navigatePrev.bind(this)),this.registerTableFunction(\\\"navigateNext\\\",this.navigateNext.bind(this)),this.registerTableFunction(\\\"navigateLeft\\\",this.navigateLeft.bind(this)),this.registerTableFunction(\\\"navigateRight\\\",this.navigateRight.bind(this)),this.registerTableFunction(\\\"navigateUp\\\",this.navigateUp.bind(this)),this.registerTableFunction(\\\"navigateDown\\\",this.navigateDown.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"isEdited\\\",this.cellisEdited.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"clearEdited\\\",this.clearEdited.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"edit\\\",this.editCell.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"cancelEdit\\\",this.cellCancelEdit.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"navigatePrev\\\",this.navigatePrev.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"navigateNext\\\",this.navigateNext.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"navigateLeft\\\",this.navigateLeft.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"navigateRight\\\",this.navigateRight.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"navigateUp\\\",this.navigateUp.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"navigateDown\\\",this.navigateDown.bind(this))}initialize(){this.subscribe(\\\"cell-init\\\",this.bindEditor.bind(this)),this.subscribe(\\\"cell-delete\\\",this.clearEdited.bind(this)),this.subscribe(\\\"column-layout\\\",this.initializeColumnCheck.bind(this)),this.subscribe(\\\"column-delete\\\",this.columnDeleteCheck.bind(this)),this.subscribe(\\\"row-deleting\\\",this.rowDeleteCheck.bind(this)),this.subscribe(\\\"data-refeshing\\\",this.cancelEdit.bind(this)),this.subscribe(\\\"keybinding-nav-prev\\\",this.navigatePrev.bind(this)),this.subscribe(\\\"keybinding-nav-next\\\",this.keybindingNavigateNext.bind(this)),this.subscribe(\\\"keybinding-nav-left\\\",this.navigateLeft.bind(this)),this.subscribe(\\\"keybinding-nav-right\\\",this.navigateRight.bind(this)),this.subscribe(\\\"keybinding-nav-up\\\",this.navigateUp.bind(this)),this.subscribe(\\\"keybinding-nav-down\\\",this.navigateDown.bind(this))}keybindingNavigateNext(t){var e=this.currentCell,n=this.options(\\\"tabEndNewRow\\\");e&&(this.navigateNext(t)||n&&(e.getElement().firstChild.blur(),(n=!0===n?this.table.addRow({}):\\\"function\\\"==typeof n?this.table.addRow(n(e.row.getComponent())):this.table.addRow(Object.assign({},n))).then((()=>{setTimeout((()=>{nav.next()}))}))))}cellisEdited(t){return!!t.modules.edit&&t.modules.edit.edited}cellCancelEdit(t){t===this.currentCell?this.table.modules.edit.cancelEdit():console.warn(\\\"Cancel Editor Error - This cell is not currently being edited \\\")}clearCellEdited(t){t||(t=this.modules.edit.getEditedCells()),Array.isArray(t)||(t=[t]),t.forEach((t=>{this.modules.edit.clearEdited(t._getSelf())}))}navigatePrev(t){var e,n,r=this.currentCell;if(r){if(t&&t.preventDefault(),e=this.navigateLeft())return!0;if((n=this.table.rowManager.prevDisplayRow(r.row,!0))&&(e=this.findNextEditableCell(n,n.cells.length)))return e.edit(),!0}return!1}navigateNext(t){var e,n,r=this.currentCell;if(r){if(t&&t.preventDefault(),e=this.navigateRight())return!0;if((n=this.table.rowManager.nextDisplayRow(r.row,!0))&&(e=this.findNextEditableCell(n,-1)))return e.edit(),!0}return!1}navigateLeft(t){var e,n,r=this.currentCell;return!!(r&&(t&&t.preventDefault(),e=r.getIndex(),n=this.findPrevEditableCell(r.row,e)))&&(n.edit(),!0)}navigateRight(t){var e,n,r=this.currentCell;return!!(r&&(t&&t.preventDefault(),e=r.getIndex(),n=this.findNextEditableCell(r.row,e)))&&(n.edit(),!0)}navigateUp(t){var e,n,r=this.currentCell;return!!(r&&(t&&t.preventDefault(),e=r.getIndex(),n=this.table.rowManager.prevDisplayRow(r.row,!0)))&&(n.cells[e].edit(),!0)}navigateDown(t){var e,n,r=this.currentCell;return!!(r&&(t&&t.preventDefault(),e=r.getIndex(),n=this.table.rowManager.nextDisplayRow(r.row,!0)))&&(n.cells[e].edit(),!0)}findNextEditableCell(t,e){var n=!1;if(e<t.cells.length-1)for(var r=e+1;r<t.cells.length;r++){let e=t.cells[r];if(e.column.modules.edit&&Helpers.elVisible(e.getElement())){let t=!0;if(\\\"function\\\"==typeof e.column.modules.edit.check&&(t=e.column.modules.edit.check(e.getComponent())),t){n=e;break}}}return n}findPrevEditableCell(t,e){var n=!1;if(e>0)for(var r=e-1;r>=0;r--){let e=t.cells[r],i=!0;if(e.column.modules.edit&&Helpers.elVisible(e.getElement())&&(\\\"function\\\"==typeof e.column.modules.edit.check&&(i=e.column.modules.edit.check(e.getComponent())),i)){n=e;break}}return n}initializeColumnCheck(t){void 0!==t.definition.editor&&this.initializeColumn(t)}columnDeleteCheck(t){this.currentCell&&this.currentCell.column===t&&this.cancelEdit()}rowDeleteCheck(t){this.currentCell&&this.currentCell.row===t&&this.cancelEdit()}initializeColumn(t){var e={editor:!1,blocked:!1,check:t.definition.editable,params:t.definition.editorParams||{}};switch(typeof t.definition.editor){case\\\"string\\\":this.editors[t.definition.editor]?e.editor=this.editors[t.definition.editor]:console.warn(\\\"Editor Error - No such editor found: \\\",t.definition.editor);break;case\\\"function\\\":e.editor=t.definition.editor;break;case\\\"boolean\\\":!0===t.definition.editor&&(\\\"function\\\"!=typeof t.definition.formatter?this.editors[t.definition.formatter]?e.editor=this.editors[t.definition.formatter]:e.editor=this.editors.input:console.warn(\\\"Editor Error - Cannot auto lookup editor for a custom formatter: \\\",t.definition.formatter))}e.editor&&(t.modules.edit=e)}getCurrentCell(){return!!this.currentCell&&this.currentCell.getComponent()}clearEditor(t){var e,n=this.currentCell;if(this.invalidEdit=!1,n){for(this.currentCell=!1,e=n.getElement(),t?n.validate&&n.validate():e.classList.remove(\\\"tabulator-validation-fail\\\"),e.classList.remove(\\\"tabulator-editing\\\");e.firstChild;)e.removeChild(e.firstChild);n.row.getElement().classList.remove(\\\"tabulator-row-editing\\\")}}cancelEdit(){if(this.currentCell){var t=this.currentCell,e=this.currentCell.getComponent();this.clearEditor(!0),t.setValueActual(t.getValue()),t.cellRendered(),(\\\"textarea\\\"==t.column.definition.editor||t.column.definition.variableHeight)&&t.row.normalizeHeight(!0),t.column.definition.cellEditCancelled&&t.column.definition.cellEditCancelled.call(this.table,e),this.dispatchExternal(\\\"cellEditCancelled\\\",e)}}bindEditor(t){if(t.column.modules.edit){var e=this,n=t.getElement(!0);n.setAttribute(\\\"tabindex\\\",0),n.addEventListener(\\\"click\\\",(function(t){n.classList.contains(\\\"tabulator-editing\\\")||n.focus({preventScroll:!0})})),n.addEventListener(\\\"mousedown\\\",(function(t){2===t.button?t.preventDefault():e.mouseClick=!0})),n.addEventListener(\\\"focus\\\",(function(n){e.recursionBlock||e.edit(t,n,!1)}))}}focusCellNoEvent(t,e){this.recursionBlock=!0,e&&\\\"ie\\\"===this.table.browser||t.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(t,e){this.focusCellNoEvent(t),this.edit(t,!1,e)}focusScrollAdjust(t){if(\\\"virtual\\\"==this.table.rowManager.getRenderMode()){var e=this.table.rowManager.element.scrollTop,n=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,r=t.row.getElement();r.offsetTop,r.offsetTop<e?this.table.rowManager.element.scrollTop-=e-r.offsetTop:r.offsetTop+r.offsetHeight>n&&(this.table.rowManager.element.scrollTop+=r.offsetTop+r.offsetHeight-n);var i=this.table.rowManager.element.scrollLeft,o=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,a=t.getElement();a.offsetLeft,this.table.modExists(\\\"frozenColumns\\\")&&(i+=parseInt(this.table.modules.frozenColumns.leftMargin),o-=parseInt(this.table.modules.frozenColumns.rightMargin)),\\\"virtual\\\"===this.table.options.renderHorizontal&&(i-=parseInt(this.table.columnManager.renderer.vDomPadLeft),o-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),a.offsetLeft<i?this.table.rowManager.element.scrollLeft-=i-a.offsetLeft:a.offsetLeft+a.offsetWidth>o&&(this.table.rowManager.element.scrollLeft+=a.offsetLeft+a.offsetWidth-o)}}edit(t,e,n){var r,i,o,a=this,s=!0,l=function(){},u=t.getElement();if(!this.currentCell){if(t.column.modules.edit.blocked)return this.mouseClick=!1,u.blur(),!1;switch(e&&e.stopPropagation(),typeof t.column.modules.edit.check){case\\\"function\\\":s=t.column.modules.edit.check(t.getComponent());break;case\\\"boolean\\\":s=t.column.modules.edit.check}if(s||n){if(a.cancelEdit(),a.currentCell=t,this.focusScrollAdjust(t),i=t.getComponent(),this.mouseClick&&(this.mouseClick=!1,t.column.definition.cellClick&&t.column.definition.cellClick.call(this.table,e,i)),t.column.definition.cellEditing&&t.column.definition.cellEditing.call(this.table,i),this.dispatchExternal(\\\"cellEditing\\\",i),o=\\\"function\\\"==typeof t.column.modules.edit.params?t.column.modules.edit.params(i):t.column.modules.edit.params,!1===(r=t.column.modules.edit.editor.call(a,i,(function(t){l=t}),(function(e){if(a.currentCell===t){var n=!0;return t.column.modules.validate&&a.table.modExists(\\\"validate\\\")&&\\\"manual\\\"!=a.table.options.validationMode&&(n=a.table.modules.validate.validate(t.column.modules.validate,t,e)),!0===n||\\\"highlight\\\"===a.table.options.validationMode?(a.clearEditor(),t.modules.edit||(t.modules.edit={}),t.modules.edit.edited=!0,-1==a.editedCells.indexOf(t)&&a.editedCells.push(t),t.setValue(e,!0),a.table.options.dataTree&&a.table.modExists(\\\"dataTree\\\")&&a.table.modules.dataTree.checkForRestyle(t),!0===n||(u.classList.add(\\\"tabulator-validation-fail\\\"),a.table.externalEvents.dispatch(\\\"validationFailed\\\",t.getComponent(),e,n),!1)):(a.invalidEdit=!0,u.classList.add(\\\"tabulator-validation-fail\\\"),a.focusCellNoEvent(t,!0),l(),a.table.externalEvents.dispatch(\\\"validationFailed\\\",t.getComponent(),e,n),!1)}}),(function(){a.currentCell===t&&(a.cancelEdit(),a.table.options.dataTree&&a.table.modExists(\\\"dataTree\\\")&&a.table.modules.dataTree.checkForRestyle(t))}),o)))return u.blur(),!1;if(!(r instanceof Node))return console.warn(\\\"Edit Error - Editor should return an instance of Node, the editor returned:\\\",r),u.blur(),!1;for(u.classList.add(\\\"tabulator-editing\\\"),t.row.getElement().classList.add(\\\"tabulator-row-editing\\\");u.firstChild;)u.removeChild(u.firstChild);u.appendChild(r),l();for(var c=u.children,h=0;h<c.length;h++)c[h].addEventListener(\\\"click\\\",(function(t){t.stopPropagation()}));return!0}return this.mouseClick=!1,u.blur(),!1}this.invalidEdit||this.cancelEdit()}getEditedCells(){var t=[];return this.editedCells.forEach((e=>{t.push(e.getComponent())})),t}clearEdited(t){var e;t.modules.edit&&t.modules.edit.edited&&(t.modules.edit.edited=!1,t.modules.validate&&(t.modules.validate.invalid=!1)),(e=this.editedCells.indexOf(t))>-1&&this.editedCells.splice(e,1)}}T.moduleName=\\\"edit\\\",T.editors=E;class S{constructor(t,e,n,r){this.type=t,this.columns=e,this.component=n||!1,this.indent=r||0}}class k{constructor(t,e,n,r,i){this.value=t,this.component=e||!1,this.width=n,this.height=r,this.depth=i}}class O extends o{constructor(t){super(t),this.config={},this.cloneTableStyle=!0,this.colVisProp=\\\"\\\",this.registerTableOption(\\\"htmlOutputConfig\\\",!1),this.registerColumnOption(\\\"htmlOutput\\\"),this.registerColumnOption(\\\"titleHtmlOutput\\\")}initialize(){this.registerTableFunction(\\\"getHtml\\\",this.getHtml.bind(this))}generateExportList(t,e,n,r){this.cloneTableStyle=e,this.config=t||{},this.colVisProp=r;var i=!1!==this.config.columnHeaders?this.headersToExportRows(this.generateColumnGroupHeaders()):[],o=this.bodyToExportRows(this.rowLookup(n));return i.concat(o)}genereateTable(t,e,n,r){var i=this.generateExportList(t,e,n,r);return this.genereateTableElement(i)}rowLookup(t){var e=[];if(\\\"function\\\"==typeof t)t.call(this.table).forEach((t=>{(t=this.table.rowManager.findRow(t))&&e.push(t)}));else switch(t){case!0:case\\\"visible\\\":e=this.table.rowManager.getVisibleRows(!0);break;case\\\"all\\\":e=this.table.rowManager.rows;break;case\\\"selected\\\":e=this.table.modules.selectRow.selectedRows;break;default:e=this.table.options.pagination?this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):this.table.rowManager.getDisplayRows()}return Object.assign([],e)}generateColumnGroupHeaders(){var t=[];return(!1!==this.config.columnGroups?this.table.columnManager.columns:this.table.columnManager.columnsByIndex).forEach((e=>{var n=this.processColumnGroup(e);n&&t.push(n)})),t}processColumnGroup(t){var e=t.columns,n=0,r={title:t.definition[\\\"title\\\"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||t.definition.title,column:t,depth:1};if(e.length){if(r.subGroups=[],r.width=0,e.forEach((t=>{var e=this.processColumnGroup(t);e&&(r.width+=e.width,r.subGroups.push(e),e.depth>n&&(n=e.depth))})),r.depth+=n,!r.width)return!1}else{if(!this.columnVisCheck(t))return!1;r.width=1}return r}columnVisCheck(t){return!1!==t.definition[this.colVisProp]&&(t.visible||!t.visible&&t.definition[this.colVisProp])}headersToExportRows(t){var e=[],n=0,r=[];function i(t,r){var o=n-r;if(void 0===e[r]&&(e[r]=[]),t.height=t.subGroups?1:o-t.depth+1,e[r].push(t),t.height>1)for(let n=1;n<t.height;n++)void 0===e[r+n]&&(e[r+n]=[]),e[r+n].push(!1);if(t.width>1)for(let n=1;n<t.width;n++)e[r].push(!1);t.subGroups&&t.subGroups.forEach((function(t){i(t,r+1)}))}return t.forEach((function(t){t.depth>n&&(n=t.depth)})),t.forEach((function(t){i(t,0)})),e.forEach((t=>{var e=[];t.forEach((t=>{t?e.push(new k(t.title,t.column.getComponent(),t.width,t.height,t.depth)):e.push(null)})),r.push(new S(\\\"header\\\",e))})),r}bodyToExportRows(t){var e=[],n=[];return this.table.columnManager.columnsByIndex.forEach((t=>{this.columnVisCheck(t)&&e.push(t.getComponent())})),!1!==this.config.columnCalcs&&this.table.modExists(\\\"columnCalcs\\\")&&(this.table.modules.columnCalcs.topInitialized&&t.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&t.push(this.table.modules.columnCalcs.botRow)),(t=t.filter((t=>{switch(t.type){case\\\"group\\\":return!1!==this.config.rowGroups;case\\\"calc\\\":return!1!==this.config.columnCalcs;case\\\"row\\\":return!(this.table.options.dataTree&&!1===this.config.dataTree&&t.modules.dataTree.parent)}return!0}))).forEach(((t,r)=>{var i=t.getData(this.colVisProp),o=[],a=0;switch(t.type){case\\\"group\\\":a=t.level,o.push(new k(t.key,t.getComponent(),e.length,1));break;case\\\"calc\\\":case\\\"row\\\":e.forEach((t=>{o.push(new k(t._column.getFieldValue(i),t,1,1))})),this.table.options.dataTree&&!1!==this.config.dataTree&&(a=t.modules.dataTree.index)}n.push(new S(t.type,o,t.getComponent(),a))})),n}genereateTableElement(t){var e=document.createElement(\\\"table\\\"),n=document.createElement(\\\"thead\\\"),r=document.createElement(\\\"tbody\\\"),i=this.lookupTableStyles(),o=this.table.options[\\\"rowFormatter\\\"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],a={};return a.rowFormatter=null!==o?o:this.table.options.rowFormatter,this.table.options.dataTree&&!1!==this.config.dataTree&&this.table.modExists(\\\"columnCalcs\\\")&&(a.treeElementField=this.table.modules.dataTree.elementField),a.groupHeader=this.table.options[\\\"groupHeader\\\"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],a.groupHeader&&!Array.isArray(a.groupHeader)&&(a.groupHeader=[a.groupHeader]),e.classList.add(\\\"tabulator-print-table\\\"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),n,[\\\"border-top\\\",\\\"border-left\\\",\\\"border-right\\\",\\\"border-bottom\\\",\\\"background-color\\\",\\\"color\\\",\\\"font-weight\\\",\\\"font-family\\\",\\\"font-size\\\"]),t.length>1e3&&console.warn(\\\"It may take a long time to render an HTML table with more than 1000 rows\\\"),t.forEach(((t,e)=>{switch(t.type){case\\\"header\\\":n.appendChild(this.genereateHeaderElement(t,a,i));break;case\\\"group\\\":r.appendChild(this.genereateGroupElement(t,a,i));break;case\\\"calc\\\":r.appendChild(this.genereateCalcElement(t,a,i));break;case\\\"row\\\":let o=this.genereateRowElement(t,a,i);this.mapElementStyles(e%2&&i.evenRow?i.evenRow:i.oddRow,o,[\\\"border-top\\\",\\\"border-left\\\",\\\"border-right\\\",\\\"border-bottom\\\",\\\"color\\\",\\\"font-weight\\\",\\\"font-family\\\",\\\"font-size\\\",\\\"background-color\\\"]),r.appendChild(o)}})),n.innerHTML&&e.appendChild(n),e.appendChild(r),this.mapElementStyles(this.table.element,e,[\\\"border-top\\\",\\\"border-left\\\",\\\"border-right\\\",\\\"border-bottom\\\"]),e}lookupTableStyles(){var t={};return this.cloneTableStyle&&window.getComputedStyle&&(t.oddRow=this.table.element.querySelector(\\\".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)\\\"),t.evenRow=this.table.element.querySelector(\\\".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)\\\"),t.calcRow=this.table.element.querySelector(\\\".tabulator-row.tabulator-calcs\\\"),t.firstRow=this.table.element.querySelector(\\\".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)\\\"),t.firstGroup=this.table.element.getElementsByClassName(\\\"tabulator-group\\\")[0],t.firstRow&&(t.styleCells=t.firstRow.getElementsByClassName(\\\"tabulator-cell\\\"),t.firstCell=t.styleCells[0],t.lastCell=t.styleCells[t.styleCells.length-1])),t}genereateHeaderElement(t,e,n){var r=document.createElement(\\\"tr\\\");return t.columns.forEach((t=>{if(t){var e=document.createElement(\\\"th\\\"),n=t.component._column.definition.cssClass?t.component._column.definition.cssClass.split(\\\" \\\"):[];e.colSpan=t.width,e.rowSpan=t.height,e.innerHTML=t.value,this.cloneTableStyle&&(e.style.boxSizing=\\\"border-box\\\"),n.forEach((function(t){e.classList.add(t)})),this.mapElementStyles(t.component.getElement(),e,[\\\"text-align\\\",\\\"border-top\\\",\\\"border-left\\\",\\\"border-right\\\",\\\"border-bottom\\\",\\\"background-color\\\",\\\"color\\\",\\\"font-weight\\\",\\\"font-family\\\",\\\"font-size\\\"]),this.mapElementStyles(t.component._column.contentElement,e,[\\\"padding-top\\\",\\\"padding-left\\\",\\\"padding-right\\\",\\\"padding-bottom\\\"]),t.component._column.visible?this.mapElementStyles(t.component.getElement(),e,[\\\"width\\\"]):t.component._column.definition.width&&(e.style.width=t.component._column.definition.width+\\\"px\\\"),t.component._column.parent&&this.mapElementStyles(t.component._column.parent.groupElement,e,[\\\"border-top\\\"]),r.appendChild(e)}})),r}genereateGroupElement(t,e,n){var r=document.createElement(\\\"tr\\\"),i=document.createElement(\\\"td\\\"),o=t.columns[0];return r.classList.add(\\\"tabulator-print-table-row\\\"),e.groupHeader&&e.groupHeader[t.indent]?o.value=e.groupHeader[t.indent](o.value,t.component._group.getRowCount(),t.component._group.getData(),t.component):!1===e.groupHeader?o.value=o.value:o.value=t.component._group.generator(o.value,t.component._group.getRowCount(),t.component._group.getData(),t.component),i.colSpan=o.width,i.innerHTML=o.value,r.classList.add(\\\"tabulator-print-table-group\\\"),r.classList.add(\\\"tabulator-group-level-\\\"+t.indent),o.component.isVisible()&&r.classList.add(\\\"tabulator-group-visible\\\"),this.mapElementStyles(n.firstGroup,r,[\\\"border-top\\\",\\\"border-left\\\",\\\"border-right\\\",\\\"border-bottom\\\",\\\"color\\\",\\\"font-weight\\\",\\\"font-family\\\",\\\"font-size\\\",\\\"background-color\\\"]),this.mapElementStyles(n.firstGroup,i,[\\\"padding-top\\\",\\\"padding-left\\\",\\\"padding-right\\\",\\\"padding-bottom\\\"]),r.appendChild(i),r}genereateCalcElement(t,e,n){var r=this.genereateRowElement(t,e,n);return r.classList.add(\\\"tabulator-print-table-calcs\\\"),this.mapElementStyles(n.calcRow,r,[\\\"border-top\\\",\\\"border-left\\\",\\\"border-right\\\",\\\"border-bottom\\\",\\\"color\\\",\\\"font-weight\\\",\\\"font-family\\\",\\\"font-size\\\",\\\"background-color\\\"]),r}genereateRowElement(t,e,n){var r=document.createElement(\\\"tr\\\");return r.classList.add(\\\"tabulator-print-table-row\\\"),t.columns.forEach((o=>{if(o){var a=document.createElement(\\\"td\\\"),s=o.component._column,l=o.value,u={modules:{},getValue:function(){return l},getField:function(){return s.definition.field},getElement:function(){return a},getColumn:function(){return s.getComponent()},getData:function(){return t.component.getData()},getRow:function(){return t.component},getComponent:function(){return u},column:s};if((s.definition.cssClass?s.definition.cssClass.split(\\\" \\\"):[]).forEach((function(t){a.classList.add(t)})),this.table.modExists(\\\"format\\\")&&!1!==this.config.formatCells)l=this.table.modules.format.formatExportValue(u,this.colVisProp);else switch(typeof l){case\\\"object\\\":l=JSON.stringify(l);break;case\\\"undefined\\\":case\\\"null\\\":l=\\\"\\\"}l instanceof Node?a.appendChild(l):a.innerHTML=l,n.firstCell&&(this.mapElementStyles(n.firstCell,a,[\\\"padding-top\\\",\\\"padding-left\\\",\\\"padding-right\\\",\\\"padding-bottom\\\",\\\"border-top\\\",\\\"border-left\\\",\\\"border-right\\\",\\\"border-bottom\\\",\\\"color\\\",\\\"font-weight\\\",\\\"font-family\\\",\\\"font-size\\\"]),s.definition.align&&(a.style.textAlign=s.definition.align)),this.table.options.dataTree&&!1!==this.config.dataTree&&(e.treeElementField&&e.treeElementField==s.field||!e.treeElementField&&0==i)&&(t.component._row.modules.dataTree.controlEl&&a.insertBefore(t.component._row.modules.dataTree.controlEl.cloneNode(!0),a.firstChild),t.component._row.modules.dataTree.branchEl&&a.insertBefore(t.component._row.modules.dataTree.branchEl.cloneNode(!0),a.firstChild)),r.appendChild(a),u.modules.format&&u.modules.format.renderedCallback&&u.modules.format.renderedCallback(),e.rowFormatter&&!1!==this.config.formatCells&&e.rowFormatter(t.component)}})),r}genereateHTMLTable(t){var e=document.createElement(\\\"div\\\");return e.appendChild(this.genereateTableElement(t)),e.innerHTML}getHtml(t,e,n,r){var i=this.generateExportList(n||this.table.options.htmlOutputConfig,e,t,r||\\\"htmlOutput\\\");return this.genereateHTMLTable(i)}mapElementStyles(t,e,n){if(this.cloneTableStyle&&t&&e){var r={\\\"background-color\\\":\\\"backgroundColor\\\",color:\\\"fontColor\\\",width:\\\"width\\\",\\\"font-weight\\\":\\\"fontWeight\\\",\\\"font-family\\\":\\\"fontFamily\\\",\\\"font-size\\\":\\\"fontSize\\\",\\\"text-align\\\":\\\"textAlign\\\",\\\"border-top\\\":\\\"borderTop\\\",\\\"border-left\\\":\\\"borderLeft\\\",\\\"border-right\\\":\\\"borderRight\\\",\\\"border-bottom\\\":\\\"borderBottom\\\",\\\"padding-top\\\":\\\"paddingTop\\\",\\\"padding-left\\\":\\\"paddingLeft\\\",\\\"padding-right\\\":\\\"paddingRight\\\",\\\"padding-bottom\\\":\\\"paddingBottom\\\"};if(window.getComputedStyle){var i=window.getComputedStyle(t);n.forEach((function(t){e.style[r[t]]=i.getPropertyValue(t)}))}}}}O.moduleName=\\\"export\\\";var I={\\\"=\\\":function(t,e,n,r){return e==t},\\\"<\\\":function(t,e,n,r){return e<t},\\\"<=\\\":function(t,e,n,r){return e<=t},\\\">\\\":function(t,e,n,r){return e>t},\\\">=\\\":function(t,e,n,r){return e>=t},\\\"!=\\\":function(t,e,n,r){return e!=t},regex:function(t,e,n,r){return\\\"string\\\"==typeof t&&(t=new RegExp(t)),t.test(e)},like:function(t,e,n,r){return null==t?e===t:null!=e&&String(e).toLowerCase().indexOf(t.toLowerCase())>-1},keywords:function(t,e,n,r){var i=t.toLowerCase().split(void 0===r.separator?\\\" \\\":r.separator),o=String(null==e?\\\"\\\":e).toLowerCase(),a=[];return i.forEach((t=>{o.includes(t)&&a.push(!0)})),r.matchAll?a.length===i.length:!!a.length},starts:function(t,e,n,r){return null==t?e===t:null!=e&&String(e).toLowerCase().startsWith(t.toLowerCase())},ends:function(t,e,n,r){return null==t?e===t:null!=e&&String(e).toLowerCase().endsWith(t.toLowerCase())},in:function(t,e,n,r){return Array.isArray(t)?!t.length||t.indexOf(e)>-1:(console.warn(\\\"Filter Error - filter value is not an array:\\\",t),!1)}};class L extends o{constructor(t){super(t),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck=\\\"\\\",this.prevHeaderFilterChangeCheck=\\\"{}\\\",this.changed=!1,this.registerTableOption(\\\"filterMode\\\",\\\"local\\\"),this.registerTableOption(\\\"initialFilter\\\",!1),this.registerTableOption(\\\"initialHeaderFilter\\\",!1),this.registerTableOption(\\\"headerFilterLiveFilterDelay\\\",300),this.registerColumnOption(\\\"headerFilter\\\"),this.registerColumnOption(\\\"headerFilterPlaceholder\\\"),this.registerColumnOption(\\\"headerFilterParams\\\"),this.registerColumnOption(\\\"headerFilterEmptyCheck\\\"),this.registerColumnOption(\\\"headerFilterFunc\\\"),this.registerColumnOption(\\\"headerFilterFuncParams\\\"),this.registerColumnOption(\\\"headerFilterLiveFilter\\\"),this.registerTableFunction(\\\"searchRows\\\",this.searchRows.bind(this)),this.registerTableFunction(\\\"searchData\\\",this.searchData.bind(this)),this.registerTableFunction(\\\"setFilter\\\",this.userSetFilter.bind(this)),this.registerTableFunction(\\\"refreshFilter\\\",this.userRefreshFilter.bind(this)),this.registerTableFunction(\\\"addFilter\\\",this.userAddFilter.bind(this)),this.registerTableFunction(\\\"getFilters\\\",this.getFilters.bind(this)),this.registerTableFunction(\\\"setHeaderFilterFocus\\\",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction(\\\"getHeaderFilterValue\\\",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction(\\\"setHeaderFilterValue\\\",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction(\\\"getHeaderFilters\\\",this.getHeaderFilters.bind(this)),this.registerTableFunction(\\\"removeFilter\\\",this.userRemoveFilter.bind(this)),this.registerTableFunction(\\\"clearFilter\\\",this.userClearFilter.bind(this)),this.registerTableFunction(\\\"clearHeaderFilter\\\",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction(\\\"column\\\",\\\"headerFilterFocus\\\",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction(\\\"column\\\",\\\"reloadHeaderFilter\\\",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction(\\\"column\\\",\\\"getHeaderFilterValue\\\",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction(\\\"column\\\",\\\"setHeaderFilterValue\\\",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe(\\\"column-init\\\",this.initializeColumnHeaderFilter.bind(this)),this.subscribe(\\\"column-width-fit-before\\\",this.hideHeaderFilterElements.bind(this)),this.subscribe(\\\"column-width-fit-after\\\",this.showHeaderFilterElements.bind(this)),this.subscribe(\\\"table-built\\\",this.tableBuilt.bind(this)),\\\"remote\\\"===this.table.options.filterMode&&this.subscribe(\\\"data-params\\\",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach((t=>{var e=this.table.columnManager.findColumn(t.field);if(!e)return console.warn(\\\"Column Filter Error - No matching column found:\\\",t.field),!1;this.setHeaderFilterValue(e,t.value)}))}remoteFilterParams(t,e,n,r){return r.filter=this.getFilters(!0,!0),r}userSetFilter(t,e,n,r){this.setFilter(t,e,n,r),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(t,e,n,r){this.addFilter(t,e,n,r),this.refreshFilter()}userSetHeaderFilterFocus(t){var e=this.table.columnManager.findColumn(t);if(!e)return console.warn(\\\"Column Filter Focus Error - No matching column found:\\\",t),!1;this.setHeaderFilterFocus(e)}userGetHeaderFilterValue(t){var e=this.table.columnManager.findColumn(t);if(e)return this.getHeaderFilterValue(e);console.warn(\\\"Column Filter Error - No matching column found:\\\",t)}userSetHeaderFilterValue(t,e){var n=this.table.columnManager.findColumn(t);if(!n)return console.warn(\\\"Column Filter Error - No matching column found:\\\",t),!1;this.setHeaderFilterValue(n,e)}userRemoveFilter(t,e,n){this.removeFilter(t,e,n),this.refreshFilter()}userClearFilter(t){this.clearFilter(t),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(t,e,n){return this.search(\\\"rows\\\",t,e,n)}searchData(t,e,n){return this.search(\\\"data\\\",t,e,n)}initializeColumnHeaderFilter(t){var e=t.definition;e.headerFilter&&(void 0!==e.headerFilterPlaceholder&&e.field&&this.module(\\\"localize\\\").setHeaderFilterColumnPlaceholder(e.field,e.headerFilterPlaceholder),this.initializeColumn(t))}initializeColumn(t,e){var n=this,r=t.getField();t.modules.filter={success:function(e){var i,o=\\\"input\\\"==t.modules.filter.tagType&&\\\"text\\\"==t.modules.filter.attrType||\\\"textarea\\\"==t.modules.filter.tagType?\\\"partial\\\":\\\"match\\\",a=\\\"\\\",s=\\\"\\\";if(void 0===t.modules.filter.prevSuccess||t.modules.filter.prevSuccess!==e){if(t.modules.filter.prevSuccess=e,t.modules.filter.emptyFunc(e))delete n.headerFilters[r];else{switch(t.modules.filter.value=e,typeof t.definition.headerFilterFunc){case\\\"string\\\":L.filters[t.definition.headerFilterFunc]?(a=t.definition.headerFilterFunc,i=function(n){var r=t.definition.headerFilterFuncParams||{},i=t.getFieldValue(n);return r=\\\"function\\\"==typeof r?r(e,i,n):r,L.filters[t.definition.headerFilterFunc](e,i,n,r)}):console.warn(\\\"Header Filter Error - Matching filter function not found: \\\",t.definition.headerFilterFunc);break;case\\\"function\\\":a=i=function(n){var r=t.definition.headerFilterFuncParams||{},i=t.getFieldValue(n);return r=\\\"function\\\"==typeof r?r(e,i,n):r,t.definition.headerFilterFunc(e,i,n,r)}}i||(\\\"partial\\\"===o?(i=function(n){var r=t.getFieldValue(n);return null!=r&&String(r).toLowerCase().indexOf(String(e).toLowerCase())>-1},a=\\\"like\\\"):(i=function(n){return t.getFieldValue(n)==e},a=\\\"=\\\")),n.headerFilters[r]={value:e,func:i,type:a,params:{}}}s=JSON.stringify(n.headerFilters),n.prevHeaderFilterChangeCheck!==s&&(n.prevHeaderFilterChangeCheck=s,n.trackChanges(),n.refreshFilter())}return!0},attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(t)}generateHeaderFilterElement(t,e,n){var r,i,o,a,s,l,u,c=this,h=t.modules.filter.success,p=t.getField();if(t.modules.filter.headerElement&&t.modules.filter.headerElement.parentNode&&t.contentElement.removeChild(t.modules.filter.headerElement.parentNode),p){switch(t.modules.filter.emptyFunc=t.definition.headerFilterEmptyCheck||function(t){return!t&&\\\"0\\\"!==t&&0!==t},(r=document.createElement(\\\"div\\\")).classList.add(\\\"tabulator-header-filter\\\"),typeof t.definition.headerFilter){case\\\"string\\\":c.table.modules.edit.editors[t.definition.headerFilter]?(i=c.table.modules.edit.editors[t.definition.headerFilter],\\\"tick\\\"!==t.definition.headerFilter&&\\\"tickCross\\\"!==t.definition.headerFilter||t.definition.headerFilterEmptyCheck||(t.modules.filter.emptyFunc=function(t){return!0!==t&&!1!==t})):console.warn(\\\"Filter Error - Cannot build header filter, No such editor found: \\\",t.definition.editor);break;case\\\"function\\\":i=t.definition.headerFilter;break;case\\\"boolean\\\":t.modules.edit&&t.modules.edit.editor?i=t.modules.edit.editor:t.definition.formatter&&c.table.modules.edit.editors[t.definition.formatter]?(i=c.table.modules.edit.editors[t.definition.formatter],\\\"tick\\\"!==t.definition.formatter&&\\\"tickCross\\\"!==t.definition.formatter||t.definition.headerFilterEmptyCheck||(t.modules.filter.emptyFunc=function(t){return!0!==t&&!1!==t})):i=c.table.modules.edit.editors.input}if(i){if(a={getValue:function(){return void 0!==e?e:\\\"\\\"},getField:function(){return t.definition.field},getElement:function(){return r},getColumn:function(){return t.getComponent()},getRow:function(){return{normalizeHeight:function(){}}}},u=\\\"function\\\"==typeof(u=t.definition.headerFilterParams||{})?u.call(c.table):u,!(o=i.call(this.table.modules.edit,a,(function(){}),h,(function(){}),u)))return void console.warn(\\\"Filter Error - Cannot add filter to \\\"+p+\\\" column, editor returned a value of false\\\");if(!(o instanceof Node))return void console.warn(\\\"Filter Error - Cannot add filter to \\\"+p+\\\" column, editor should return an instance of Node, the editor returned:\\\",o);p?c.langBind(\\\"headerFilters|columns|\\\"+t.definition.field,(function(t){o.setAttribute(\\\"placeholder\\\",void 0!==t&&t?t:c.langText(\\\"headerFilters|default\\\"))})):c.langBind(\\\"headerFilters|default\\\",(function(t){o.setAttribute(\\\"placeholder\\\",t)})),o.addEventListener(\\\"click\\\",(function(t){t.stopPropagation(),o.focus()})),o.addEventListener(\\\"focus\\\",(t=>{var e=this.table.columnManager.element.scrollLeft;e!==this.table.rowManager.element.scrollLeft&&(this.table.rowManager.scrollHorizontal(e),this.table.columnManager.scrollHorizontal(e))})),s=!1,l=function(t){s&&clearTimeout(s),s=setTimeout((function(){h(o.value)}),c.table.options.headerFilterLiveFilterDelay)},t.modules.filter.headerElement=o,t.modules.filter.attrType=o.hasAttribute(\\\"type\\\")?o.getAttribute(\\\"type\\\").toLowerCase():\\\"\\\",t.modules.filter.tagType=o.tagName.toLowerCase(),!1!==t.definition.headerFilterLiveFilter&&(\\\"autocomplete\\\"!==t.definition.headerFilter&&\\\"tickCross\\\"!==t.definition.headerFilter&&(\\\"autocomplete\\\"!==t.definition.editor&&\\\"tickCross\\\"!==t.definition.editor||!0!==t.definition.headerFilter)&&(o.addEventListener(\\\"keyup\\\",l),o.addEventListener(\\\"search\\\",l),\\\"number\\\"==t.modules.filter.attrType&&o.addEventListener(\\\"change\\\",(function(t){h(o.value)})),\\\"text\\\"==t.modules.filter.attrType&&\\\"ie\\\"!==this.table.browser&&o.setAttribute(\\\"type\\\",\\\"search\\\")),\\\"input\\\"!=t.modules.filter.tagType&&\\\"select\\\"!=t.modules.filter.tagType&&\\\"textarea\\\"!=t.modules.filter.tagType||o.addEventListener(\\\"mousedown\\\",(function(t){t.stopPropagation()}))),r.appendChild(o),t.contentElement.appendChild(r),n||c.headerFilterColumns.push(t)}}else console.warn(\\\"Filter Error - Cannot add header filter, column has no field set:\\\",t.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach((function(t){t.modules.filter&&t.modules.filter.headerElement&&(t.modules.filter.headerElement.style.display=\\\"none\\\")}))}showHeaderFilterElements(){this.headerFilterColumns.forEach((function(t){t.modules.filter&&t.modules.filter.headerElement&&(t.modules.filter.headerElement.style.display=\\\"\\\")}))}setHeaderFilterFocus(t){t.modules.filter&&t.modules.filter.headerElement?t.modules.filter.headerElement.focus():console.warn(\\\"Column Filter Focus Error - No header filter set on column:\\\",t.getField())}getHeaderFilterValue(t){if(t.modules.filter&&t.modules.filter.headerElement)return t.modules.filter.headerElement.value;console.warn(\\\"Column Filter Error - No header filter set on column:\\\",t.getField())}setHeaderFilterValue(t,e){t&&(t.modules.filter&&t.modules.filter.headerElement?(this.generateHeaderFilterElement(t,e,!0),t.modules.filter.success(e)):console.warn(\\\"Column Filter Error - No header filter set on column:\\\",t.getField()))}reloadHeaderFilter(t){t&&(t.modules.filter&&t.modules.filter.headerElement?this.generateHeaderFilterElement(t,t.modules.filter.value,!0):console.warn(\\\"Column Filter Error - No header filter set on column:\\\",t.getField()))}refreshFilter(){\\\"remote\\\"===this.table.options.filterMode?this.reloadData():this.refreshData()}trackChanges(){this.changed=!0,this.dispatch(\\\"filter-changed\\\")}hasChanged(){var t=this.changed;return this.changed=!1,t}setFilter(t,e,n,r){this.filterList=[],Array.isArray(t)||(t=[{field:t,type:e,value:n,params:r}]),this.addFilter(t)}addFilter(t,e,n,r){Array.isArray(t)||(t=[{field:t,type:e,value:n,params:r}]),t.forEach((t=>{(t=this.findFilter(t))&&(this.filterList.push(t),this.changed=!0)}))}findFilter(t){var e;if(Array.isArray(t))return this.findSubFilters(t);var n=!1;return\\\"function\\\"==typeof t.field?n=function(e){return t.field(e,t.type||{})}:L.filters[t.type]?n=(e=this.table.columnManager.getColumnByField(t.field))?function(n){return L.filters[t.type](t.value,e.getFieldValue(n),n,t.params||{})}:function(e){return L.filters[t.type](t.value,e[t.field],e,t.params||{})}:console.warn(\\\"Filter Error - No such filter type found, ignoring: \\\",t.type),t.func=n,!!t.func&&t}findSubFilters(t){var e=[];return t.forEach((t=>{(t=this.findFilter(t))&&e.push(t)})),!!e.length&&e}getFilters(t,e){var n=[];return t&&(n=this.getHeaderFilters()),e&&n.forEach((function(t){\\\"function\\\"==typeof t.type&&(t.type=\\\"function\\\")})),n.concat(this.filtersToArray(this.filterList,e))}filtersToArray(t,e){var n=[];return t.forEach((t=>{var r;Array.isArray(t)?n.push(this.filtersToArray(t,e)):(r={field:t.field,type:t.type,value:t.value},e&&\\\"function\\\"==typeof r.type&&(r.type=\\\"function\\\"),n.push(r))})),n}getHeaderFilters(){var t=[];for(var e in this.headerFilters)t.push({field:e,type:this.headerFilters[e].type,value:this.headerFilters[e].value});return t}removeFilter(t,e,n){Array.isArray(t)||(t=[{field:t,type:e,value:n}]),t.forEach((t=>{var e;(e=\\\"object\\\"==typeof t.field?this.filterList.findIndex((e=>t===e)):this.filterList.findIndex((e=>t.field===e.field&&t.type===e.type&&t.value===e.value)))>-1?this.filterList.splice(e,1):console.warn(\\\"Filter Error - No matching filter type found, ignoring: \\\",t.type)})),this.trackChanges()}clearFilter(t){this.filterList=[],t&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck=\\\"{}\\\",this.headerFilterColumns.forEach((t=>{void 0!==t.modules.filter.value&&delete t.modules.filter.value,t.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(t)})),this.trackChanges()}search(t,e,n,r){var i=[],o=[];return Array.isArray(e)||(e=[{field:e,type:n,value:r}]),e.forEach((t=>{(t=this.findFilter(t))&&o.push(t)})),this.table.rowManager.rows.forEach((e=>{var n=!0;o.forEach((t=>{this.filterRecurse(t,e.getData())||(n=!1)})),n&&i.push(\\\"data\\\"===t?e.getData(\\\"data\\\"):e.getComponent())})),i}filter(t,e){var n=[],r=[];return this.subscribedExternal(\\\"dataFiltering\\\")&&this.dispatchExternal(\\\"dataFiltering\\\",this.getFilters()),\\\"remote\\\"!==this.table.options.filterMode&&(this.filterList.length||Object.keys(this.headerFilters).length)?t.forEach((t=>{this.filterRow(t)&&n.push(t)})):n=t.slice(0),this.subscribedExternal(\\\"dataFiltered\\\")&&(n.forEach((t=>{r.push(t.getComponent())})),this.dispatchExternal(\\\"dataFiltered\\\",this.getFilters(),r)),n}filterRow(t,e){var n=!0,r=t.getData();for(var i in this.filterList.forEach((t=>{this.filterRecurse(t,r)||(n=!1)})),this.headerFilters)this.headerFilters[i].func(r)||(n=!1);return n}filterRecurse(t,e){var n=!1;return Array.isArray(t)?t.forEach((t=>{this.filterRecurse(t,e)&&(n=!0)})):n=t.func(e),n}}L.moduleName=\\\"filter\\\",L.filters=I;var P={plaintext:function(t,e,n){return this.emptyToSpace(this.sanitizeHTML(t.getValue()))},html:function(t,e,n){return t.getValue()},textarea:function(t,e,n){return t.getElement().style.whiteSpace=\\\"pre-wrap\\\",this.emptyToSpace(this.sanitizeHTML(t.getValue()))},money:function(t,e,n){var r,i,o,a,s=parseFloat(t.getValue()),l=e.decimal||\\\".\\\",u=e.thousand||\\\",\\\",c=e.symbol||\\\"\\\",h=!!e.symbolAfter,p=void 0!==e.precision?e.precision:2;if(isNaN(s))return this.emptyToSpace(this.sanitizeHTML(t.getValue()));for(r=!1!==p?s.toFixed(p):s,i=(r=String(r).split(\\\".\\\"))[0],o=r.length>1?l+r[1]:\\\"\\\",a=/(\\\\d+)(\\\\d{3})/;a.test(i);)i=i.replace(a,\\\"$1\\\"+u+\\\"$2\\\");return h?i+o+c:c+i+o},link:function(t,e,n){var r=t.getValue(),i=e.urlPrefix||\\\"\\\",o=e.download,a=r,s=document.createElement(\\\"a\\\");if(e.labelField&&(a=t.getData()[e.labelField]),e.label)switch(typeof e.label){case\\\"string\\\":a=e.label;break;case\\\"function\\\":a=e.label(t)}if(a){if(e.urlField&&(r=t.getData()[e.urlField]),e.url)switch(typeof e.url){case\\\"string\\\":r=e.url;break;case\\\"function\\\":r=e.url(t)}return s.setAttribute(\\\"href\\\",i+r),e.target&&s.setAttribute(\\\"target\\\",e.target),e.download&&(o=\\\"function\\\"==typeof o?o(t):!0===o?\\\"\\\":o,s.setAttribute(\\\"download\\\",o)),s.innerHTML=this.emptyToSpace(this.sanitizeHTML(a)),s}return\\\"&nbsp;\\\"},image:function(t,e,n){var r=document.createElement(\\\"img\\\"),i=t.getValue();switch(e.urlPrefix&&(i=e.urlPrefix+t.getValue()),e.urlSuffix&&(i+=e.urlSuffix),r.setAttribute(\\\"src\\\",i),typeof e.height){case\\\"number\\\":r.style.height=e.height+\\\"px\\\";break;case\\\"string\\\":r.style.height=e.height}switch(typeof e.width){case\\\"number\\\":r.style.width=e.width+\\\"px\\\";break;case\\\"string\\\":r.style.width=e.width}return r.addEventListener(\\\"load\\\",(function(){t.getRow().normalizeHeight()})),r},tickCross:function(t,e,n){var r=t.getValue(),i=t.getElement(),o=e.allowEmpty,a=e.allowTruthy,s=void 0!==e.tickElement?e.tickElement:'<svg enable-background=\\\"new 0 0 24 24\\\" height=\\\"14\\\" width=\\\"14\\\" viewBox=\\\"0 0 24 24\\\" xml:space=\\\"preserve\\\" ><path fill=\\\"#2DC214\\\" clip-rule=\\\"evenodd\\\" d=\\\"M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z\\\" fill-rule=\\\"evenodd\\\"/></svg>',l=void 0!==e.crossElement?e.crossElement:'<svg enable-background=\\\"new 0 0 24 24\\\" height=\\\"14\\\" width=\\\"14\\\" viewBox=\\\"0 0 24 24\\\" xml:space=\\\"preserve\\\" ><path fill=\\\"#CE1515\\\" d=\\\"M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z\\\"/></svg>';return a&&r||!0===r||\\\"true\\\"===r||\\\"True\\\"===r||1===r||\\\"1\\\"===r?(i.setAttribute(\\\"aria-checked\\\",!0),s||\\\"\\\"):!o||\\\"null\\\"!==r&&\\\"\\\"!==r&&null!=r?(i.setAttribute(\\\"aria-checked\\\",!1),l||\\\"\\\"):(i.setAttribute(\\\"aria-checked\\\",\\\"mixed\\\"),\\\"\\\")},datetime:function(t,e,n){var r=window.DateTime||luxon.DateTime,i=e.inputFormat||\\\"yyyy-MM-dd HH:mm:ss\\\",o=e.outputFormat||\\\"dd/MM/yyyy HH:mm:ss\\\",a=void 0!==e.invalidPlaceholder?e.invalidPlaceholder:\\\"\\\",s=t.getValue();if(void 0!==r){var l=(window.DateTime||luxon.DateTime).fromFormat(s,i);return l.isValid?(e.timezone&&(l=l.shiftTimezone(e.timezone)),l.toFormat(o)):!0===a?s:\\\"function\\\"==typeof a?a(s):a}console.error(\\\"Format Error - 'datetime' formatter is dependant on luxon.js\\\")},datetimediff:function(t,e,n){var r=window.DateTime||luxon.DateTime,i=e.inputFormat||\\\"yyyy-MM-dd HH:mm:ss\\\",o=void 0!==e.invalidPlaceholder?e.invalidPlaceholder:\\\"\\\",a=void 0!==e.suffix&&e.suffix,s=void 0!==e.unit?e.unit:\\\"days\\\",l=void 0!==e.humanize&&e.humanize,u=void 0!==e.date?e.date:r.now(),c=t.getValue();if(void 0!==r){var h=r.fromFormat(c,i);if(!h.isValid)return!0===o?c:\\\"function\\\"==typeof o?o(c):o;if(!l)return parseInt(h.diff(u,s)[s])+(a?\\\" \\\"+a:\\\"\\\")}else console.error(\\\"Format Error - 'datetimediff' formatter is dependant on luxon.js\\\")},lookup:function(t,e,n){var r=t.getValue();return void 0===e[r]?(console.warn(\\\"Missing display value for \\\"+r),r):e[r]},star:function(t,e,n){var r=t.getValue(),i=t.getElement(),o=e&&e.stars?e.stars:5,a=document.createElement(\\\"span\\\"),s=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"svg\\\");a.style.verticalAlign=\\\"middle\\\",s.setAttribute(\\\"width\\\",\\\"14\\\"),s.setAttribute(\\\"height\\\",\\\"14\\\"),s.setAttribute(\\\"viewBox\\\",\\\"0 0 512 512\\\"),s.setAttribute(\\\"xml:space\\\",\\\"preserve\\\"),s.style.padding=\\\"0 1px\\\",r=r&&!isNaN(r)?parseInt(r):0,r=Math.max(0,Math.min(r,o));for(var l=1;l<=o;l++){var u=s.cloneNode(!0);u.innerHTML=l<=r?'<polygon fill=\\\"#FFEA00\\\" stroke=\\\"#C1AB60\\\" stroke-width=\\\"37.6152\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-miterlimit=\\\"10\\\" points=\\\"259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 \\\"/>':'<polygon fill=\\\"#D2D2D2\\\" stroke=\\\"#686868\\\" stroke-width=\\\"37.6152\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" stroke-miterlimit=\\\"10\\\" points=\\\"259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 \\\"/>',a.appendChild(u)}return i.style.whiteSpace=\\\"nowrap\\\",i.style.overflow=\\\"hidden\\\",i.style.textOverflow=\\\"ellipsis\\\",i.setAttribute(\\\"aria-label\\\",r),a},traffic:function(t,e,n){var r,i,o=this.sanitizeHTML(t.getValue())||0,a=document.createElement(\\\"span\\\"),s=e&&e.max?e.max:100,l=e&&e.min?e.min:0,u=e&&void 0!==e.color?e.color:[\\\"red\\\",\\\"orange\\\",\\\"green\\\"],c=\\\"#666666\\\";if(!isNaN(o)&&void 0!==t.getValue()){switch(a.classList.add(\\\"tabulator-traffic-light\\\"),i=parseFloat(o)<=s?parseFloat(o):s,i=parseFloat(i)>=l?parseFloat(i):l,r=(s-l)/100,i=Math.round((i-l)/r),typeof u){case\\\"string\\\":c=u;break;case\\\"function\\\":c=u(o);break;case\\\"object\\\":if(Array.isArray(u)){var h=100/u.length,p=Math.floor(i/h);p=Math.min(p,u.length-1),c=u[p=Math.max(p,0)];break}}return a.style.backgroundColor=c,a}},progress:function(t,e,n){var r,i,o,a,s,l=this.sanitizeHTML(t.getValue())||0,u=t.getElement(),c=e&&e.max?e.max:100,h=e&&e.min?e.min:0,p=e&&e.legendAlign?e.legendAlign:\\\"center\\\";switch(i=parseFloat(l)<=c?parseFloat(l):c,i=parseFloat(i)>=h?parseFloat(i):h,r=(c-h)/100,i=Math.round((i-h)/r),typeof e.color){case\\\"string\\\":o=e.color;break;case\\\"function\\\":o=e.color(l);break;case\\\"object\\\":if(Array.isArray(e.color)){var f=100/e.color.length,m=Math.floor(i/f);m=Math.min(m,e.color.length-1),m=Math.max(m,0),o=e.color[m];break}default:o=\\\"#2DC214\\\"}switch(typeof e.legend){case\\\"string\\\":a=e.legend;break;case\\\"function\\\":a=e.legend(l);break;case\\\"boolean\\\":a=l;break;default:a=!1}switch(typeof e.legendColor){case\\\"string\\\":s=e.legendColor;break;case\\\"function\\\":s=e.legendColor(l);break;case\\\"object\\\":Array.isArray(e.legendColor)&&(f=100/e.legendColor.length,m=Math.floor(i/f),m=Math.min(m,e.legendColor.length-1),m=Math.max(m,0),s=e.legendColor[m]);break;default:s=\\\"#000\\\"}u.style.minWidth=\\\"30px\\\",u.style.position=\\\"relative\\\",u.setAttribute(\\\"aria-label\\\",i);var v=document.createElement(\\\"div\\\");v.style.display=\\\"inline-block\\\",v.style.position=\\\"absolute\\\",v.style.width=i+\\\"%\\\",v.style.backgroundColor=o,v.style.height=\\\"100%\\\",v.setAttribute(\\\"data-max\\\",c),v.setAttribute(\\\"data-min\\\",h);var g=document.createElement(\\\"div\\\");if(g.style.position=\\\"relative\\\",g.style.width=\\\"100%\\\",g.style.height=\\\"100%\\\",a){var y=document.createElement(\\\"div\\\");y.style.position=\\\"absolute\\\",y.style.top=0,y.style.left=0,y.style.textAlign=p,y.style.width=\\\"100%\\\",y.style.color=s,y.innerHTML=a}return n((function(){if(!(t instanceof d)){var e=document.createElement(\\\"div\\\");e.style.position=\\\"absolute\\\",e.style.top=\\\"4px\\\",e.style.bottom=\\\"4px\\\",e.style.left=\\\"4px\\\",e.style.right=\\\"4px\\\",u.appendChild(e),u=e}u.appendChild(g),g.appendChild(v),a&&g.appendChild(y)})),\\\"\\\"},color:function(t,e,n){return t.getElement().style.backgroundColor=this.sanitizeHTML(t.getValue()),\\\"\\\"},buttonTick:function(t,e,n){return'<svg enable-background=\\\"new 0 0 24 24\\\" height=\\\"14\\\" width=\\\"14\\\" viewBox=\\\"0 0 24 24\\\" xml:space=\\\"preserve\\\" ><path fill=\\\"#2DC214\\\" clip-rule=\\\"evenodd\\\" d=\\\"M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z\\\" fill-rule=\\\"evenodd\\\"/></svg>'},buttonCross:function(t,e,n){return'<svg enable-background=\\\"new 0 0 24 24\\\" height=\\\"14\\\" width=\\\"14\\\" viewBox=\\\"0 0 24 24\\\" xml:space=\\\"preserve\\\" ><path fill=\\\"#CE1515\\\" d=\\\"M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z\\\"/></svg>'},rownum:function(t,e,n){return this.table.rowManager.activeRows.indexOf(t.getRow()._getSelf())+1},handle:function(t,e,n){return t.getElement().classList.add(\\\"tabulator-row-handle\\\"),\\\"<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>\\\"},responsiveCollapse:function(t,e,n){var r=document.createElement(\\\"div\\\"),i=t.getRow()._row.modules.responsiveLayout;function o(t){var e=i.element;i.open=t,e&&(i.open?(r.classList.add(\\\"open\\\"),e.style.display=\\\"\\\"):(r.classList.remove(\\\"open\\\"),e.style.display=\\\"none\\\"))}return r.classList.add(\\\"tabulator-responsive-collapse-toggle\\\"),r.innerHTML=\\\"<span class='tabulator-responsive-collapse-toggle-open'>+</span><span class='tabulator-responsive-collapse-toggle-close'>-</span>\\\",t.getElement().classList.add(\\\"tabulator-row-handle\\\"),r.addEventListener(\\\"click\\\",(function(t){t.stopImmediatePropagation(),o(!i.open)})),o(i.open),r},rowSelection:function(t,e,n){var r=document.createElement(\\\"input\\\");if(r.type=\\\"checkbox\\\",this.table.modExists(\\\"selectRow\\\",!0))if(r.addEventListener(\\\"click\\\",(t=>{t.stopPropagation()})),\\\"function\\\"==typeof t.getRow){var i=t.getRow();i instanceof y?(r.addEventListener(\\\"change\\\",(t=>{i.toggleSelect()})),r.checked=i.isSelected&&i.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(i,r)):r=\\\"\\\"}else r.addEventListener(\\\"change\\\",(t=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)})),this.table.modules.selectRow.registerHeaderSelectCheckbox(r);return r}};class z extends o{constructor(t){super(t),this.registerColumnOption(\\\"formatter\\\"),this.registerColumnOption(\\\"formatterParams\\\"),this.registerColumnOption(\\\"formatterPrint\\\"),this.registerColumnOption(\\\"formatterPrintParams\\\"),this.registerColumnOption(\\\"formatterClipboard\\\"),this.registerColumnOption(\\\"formatterClipboardParams\\\"),this.registerColumnOption(\\\"formatterHtmlOutput\\\"),this.registerColumnOption(\\\"formatterHtmlOutputParams\\\"),this.registerColumnOption(\\\"titleFormatter\\\"),this.registerColumnOption(\\\"titleFormatterParams\\\")}initialize(){this.subscribe(\\\"cell-format\\\",this.formatValue.bind(this)),this.subscribe(\\\"cell-rendered\\\",this.cellRendered.bind(this)),this.subscribe(\\\"column-layout\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"column-format\\\",this.formatHeader.bind(this))}initializeColumn(t){t.modules.format=this.lookupFormatter(t,\\\"\\\"),void 0!==t.definition.formatterPrint&&(t.modules.format.print=this.lookupFormatter(t,\\\"Print\\\")),void 0!==t.definition.formatterClipboard&&(t.modules.format.clipboard=this.lookupFormatter(t,\\\"Clipboard\\\")),void 0!==t.definition.formatterHtmlOutput&&(t.modules.format.htmlOutput=this.lookupFormatter(t,\\\"HtmlOutput\\\"))}lookupFormatter(t,e){var n={params:t.definition[\\\"formatter\\\"+e+\\\"Params\\\"]||{}},r=t.definition[\\\"formatter\\\"+e];switch(typeof r){case\\\"string\\\":z.formatters[r]?n.formatter=z.formatters[r]:(console.warn(\\\"Formatter Error - No such formatter found: \\\",r),n.formatter=z.formatters.plaintext);break;case\\\"function\\\":n.formatter=r;break;default:n.formatter=z.formatters.plaintext}return n}cellRendered(t){t.modules.format&&t.modules.format.renderedCallback&&!t.modules.format.rendered&&(t.modules.format.renderedCallback(),t.modules.format.rendered=!0)}formatHeader(t,e,n){var r,i,o,a;return t.definition.titleFormatter?(r=this.getFormatter(t.definition.titleFormatter),o=e=>{t.titleFormatterRendered=e},a={getValue:function(){return e},getElement:function(){return n}},i=\\\"function\\\"==typeof(i=t.definition.titleFormatterParams||{})?i():i,r.call(this,a,i,o)):e}formatValue(t){var e=t.getComponent(),n=\\\"function\\\"==typeof t.column.modules.format.params?t.column.modules.format.params(e):t.column.modules.format.params;return t.column.modules.format.formatter.call(this,e,n,(function(e){t.modules.format||(t.modules.format={}),t.modules.format.renderedCallback=e,t.modules.format.rendered=!1}))}formatExportValue(t,e){var n,r=t.column.modules.format[e];if(r){function i(e){t.modules.format||(t.modules.format={}),t.modules.format.renderedCallback=e,t.modules.format.rendered=!1}return n=\\\"function\\\"==typeof r.params?r.params(component):r.params,r.formatter.call(this,t.getComponent(),n,i)}return this.formatValue(t)}sanitizeHTML(t){if(t){var e={\\\"&\\\":\\\"&amp;\\\",\\\"<\\\":\\\"&lt;\\\",\\\">\\\":\\\"&gt;\\\",'\\\"':\\\"&quot;\\\",\\\"'\\\":\\\"&#39;\\\",\\\"/\\\":\\\"&#x2F;\\\",\\\"`\\\":\\\"&#x60;\\\",\\\"=\\\":\\\"&#x3D;\\\"};return String(t).replace(/[&<>\\\"'`=\\\\/]/g,(function(t){return e[t]}))}return t}emptyToSpace(t){return null==t||\\\"\\\"===t?\\\"&nbsp;\\\":t}getFormatter(t){switch(typeof t){case\\\"string\\\":z.formatters[t]?t=z.formatters[t]:(console.warn(\\\"Formatter Error - No such formatter found: \\\",t),t=z.formatters.plaintext);break;case\\\"function\\\":break;default:t=z.formatters.plaintext}return t}}z.moduleName=\\\"format\\\",z.formatters=P;class R extends o{constructor(t){super(t),this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightPadding=0,this.initializationMode=\\\"left\\\",this.active=!1,this.scrollEndTimer=!1,this.registerColumnOption(\\\"frozen\\\")}reset(){this.initializationMode=\\\"left\\\",this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightMargin=0,this.active=!1,this.table.columnManager.headersElement.style.marginLeft=0,this.table.columnManager.element.style.paddingRight=0}initialize(){this.subscribe(\\\"cell-layout\\\",this.layoutCell.bind(this)),this.subscribe(\\\"column-init\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"column-width\\\",this.layout.bind(this)),this.subscribe(\\\"row-layout-before\\\",this.layoutRow.bind(this)),this.subscribe(\\\"table-layout\\\",this.layout.bind(this)),this.subscribe(\\\"scroll-horizontal\\\",this.scrollHorizontal.bind(this)),this.subscribe(\\\"columns-loading\\\",this.reset.bind(this)),this.subscribe(\\\"table-redraw\\\",this.layout.bind(this))}layoutCell(t){this.layoutElement(t.element,t.column)}initializeColumn(t){var e={margin:0,edge:!1};t.isGroup||(this.frozenCheck(t)?(e.position=this.initializationMode,\\\"left\\\"==this.initializationMode?this.leftColumns.push(t):this.rightColumns.unshift(t),this.active=!0,t.modules.frozen=e):this.initializationMode=\\\"right\\\")}frozenCheck(t){return t.parent.isGroup&&t.definition.frozen&&console.warn(\\\"Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups\\\"),t.parent.isGroup?this.frozenCheck(t.parent):t.definition.frozen}scrollHorizontal(){var t;this.active&&(clearTimeout(this.scrollEndTimer),this.scrollEndTimer=setTimeout((()=>{this.layout()}),100),t=this.table.rowManager.getVisibleRows(),this.calcMargins(),this.layoutColumnPosition(),this.layoutCalcRows(),t.forEach((t=>{\\\"row\\\"===t.type&&this.layoutRow(t)})),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)}calcMargins(){this.leftMargin=this._calcSpace(this.leftColumns,this.leftColumns.length)+\\\"px\\\",this.table.columnManager.headersElement.style.marginLeft=this.leftMargin,this.rightMargin=this._calcSpace(this.rightColumns,this.rightColumns.length)+\\\"px\\\",this.table.columnManager.element.style.paddingRight=this.rightMargin,this.rightPadding=this.table.rowManager.element.clientWidth+this.table.columnManager.scrollLeft}layoutCalcRows(){this.table.modExists(\\\"columnCalcs\\\")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow))}layoutColumnPosition(t){var e=[];this.leftColumns.forEach(((n,r)=>{if(n.modules.frozen.margin=this._calcSpace(this.leftColumns,r)+this.table.columnManager.scrollLeft+\\\"px\\\",r==this.leftColumns.length-1?n.modules.frozen.edge=!0:n.modules.frozen.edge=!1,n.parent.isGroup){var i=this.getColGroupParentElement(n);e.includes(i)||(this.layoutElement(i,n),e.push(i)),n.modules.frozen.edge&&i.classList.add(\\\"tabulator-frozen-\\\"+n.modules.frozen.position)}else this.layoutElement(n.getElement(),n);t&&n.cells.forEach((t=>{this.layoutElement(t.getElement(!0),n)}))})),this.rightColumns.forEach(((e,n)=>{e.modules.frozen.margin=this.rightPadding-this._calcSpace(this.rightColumns,n+1)+\\\"px\\\",n==this.rightColumns.length-1?e.modules.frozen.edge=!0:e.modules.frozen.edge=!1,e.parent.isGroup?this.layoutElement(this.getColGroupParentElement(e),e):this.layoutElement(e.getElement(),e),t&&e.cells.forEach((t=>{this.layoutElement(t.getElement(!0),e)}))}))}getColGroupParentElement(t){return t.parent.isGroup?this.getColGroupParentElement(t.parent):t.getElement()}layout(){this.active&&(this.calcMargins(),this.table.rowManager.getDisplayRows().forEach((t=>{\\\"row\\\"===t.type&&this.layoutRow(t)})),this.layoutCalcRows(),this.layoutColumnPosition(!0),this.table.rowManager.tableElement.style.marginRight=this.rightMargin)}layoutRow(t){t.getElement().style.paddingLeft=this.leftMargin,this.leftColumns.forEach((e=>{var n=t.getCell(e);n&&this.layoutElement(n.getElement(!0),e)})),this.rightColumns.forEach((e=>{var n=t.getCell(e);n&&this.layoutElement(n.getElement(!0),e)}))}layoutElement(t,e){e.modules.frozen&&(t.style.position=\\\"absolute\\\",t.style.left=e.modules.frozen.margin,t.classList.add(\\\"tabulator-frozen\\\"),e.modules.frozen.edge&&t.classList.add(\\\"tabulator-frozen-\\\"+e.modules.frozen.position))}_calcSpace(t,e){var n=0;for(let r=0;r<e;r++)t[r].visible&&(n+=t[r].getWidth());return n}}R.moduleName=\\\"frozenColumns\\\";class D extends o{constructor(t){super(t),this.topElement=document.createElement(\\\"div\\\"),this.rows=[],this.registerComponentFunction(\\\"row\\\",\\\"freeze\\\",this.freezeRow.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"unfreeze\\\",this.unfreezeRow.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"isFrozen\\\",this.isRowFrozen.bind(this))}initialize(){this.rows=[],this.topElement.classList.add(\\\"tabulator-frozen-rows-holder\\\"),this.table.columnManager.getElement().insertBefore(this.topElement,this.table.columnManager.headersElement.nextSibling),this.subscribe(\\\"row-deleting\\\",this.detachRow.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),10)}isRowFrozen(t){return this.rows.indexOf(t)>-1}isFrozen(){return!!this.rows.length}getRows(t){var e=t.slice(0);return this.rows.forEach((function(t){var n=e.indexOf(t);n>-1&&e.splice(n,1)})),e}freezeRow(t){t.modules.frozen?console.warn(\\\"Freeze Error - Row is already frozen\\\"):(t.modules.frozen=!0,this.topElement.appendChild(t.getElement()),t.initialize(),t.normalizeHeight(),this.table.rowManager.adjustTableSize(),this.rows.push(t),this.refreshData(!1,\\\"display\\\"),this.styleRows())}unfreezeRow(t){this.rows.indexOf(t),t.modules.frozen?(t.modules.frozen=!1,this.detachRow(t),this.table.rowManager.adjustTableSize(),this.refreshData(!1,\\\"display\\\"),this.rows.length&&this.styleRows()):console.warn(\\\"Freeze Error - Row is already unfrozen\\\")}detachRow(t){var e=this.rows.indexOf(t);if(e>-1){var n=t.getElement();n.parentNode.removeChild(n),this.rows.splice(e,1)}}styleRows(t){this.rows.forEach(((t,e)=>{this.table.rowManager.styleRow(t,e)}))}}D.moduleName=\\\"frozenRows\\\";class ${constructor(t){return this._group=t,this.type=\\\"GroupComponent\\\",new Proxy(this,{get:function(t,e,n){return void 0!==t[e]?t[e]:t._group.table.componentFunctionBinder.handle(\\\"row\\\",t._group,e)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return!!this._group.parent&&this._group.parent.getComponent()}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class B{constructor(t,e,n,r,i,o,a){this.groupManager=t,this.parent=e,this.key=r,this.level=n,this.field=i,this.hasSubGroups=n<t.groupIDLookups.length-1,this.addRow=this.hasSubGroups?this._addRowToGroup:this._addRow,this.type=\\\"group\\\",this.old=a,this.rows=[],this.groups=[],this.groupList=[],this.generator=o,this.elementContents=!1,this.height=0,this.outerHeight=0,this.initialized=!1,this.calcs={},this.initialized=!1,this.modules={},this.arrowElement=!1,this.visible=a?a.visible:void 0!==t.startOpen[n]?t.startOpen[n]:t.startOpen[0],this.component=null,this.createElements(),this.addBindings(),this.createValueGroups()}wipe(){this.groupList.length?this.groupList.forEach((function(t){t.wipe()})):(this.element=!1,this.arrowElement=!1,this.elementContents=!1)}createElements(){var t=document.createElement(\\\"div\\\");t.classList.add(\\\"tabulator-arrow\\\"),this.element=document.createElement(\\\"div\\\"),this.element.classList.add(\\\"tabulator-row\\\"),this.element.classList.add(\\\"tabulator-group\\\"),this.element.classList.add(\\\"tabulator-group-level-\\\"+this.level),this.element.setAttribute(\\\"role\\\",\\\"rowgroup\\\"),this.arrowElement=document.createElement(\\\"div\\\"),this.arrowElement.classList.add(\\\"tabulator-group-toggle\\\"),this.arrowElement.appendChild(t),!1!==this.groupManager.table.options.movableRows&&this.groupManager.table.modExists(\\\"moveRow\\\")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var t=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[t]&&this.groupManager.allowedValues[t].forEach((e=>{this._createGroup(e,t)}))}addBindings(){var t,e,n;(this.groupManager.table.options.groupContextMenu||this.groupManager.table.options.groupClickMenu)&&this.groupManager.table.modExists(\\\"menu\\\")&&this.groupManager.table.modules.menu.initializeGroup.call(this.groupManager.table.modules.menu,this),this.groupManager.table.options.groupTap&&(n=!1,this.element.addEventListener(\\\"touchstart\\\",(t=>{n=!0}),{passive:!0}),this.element.addEventListener(\\\"touchend\\\",(t=>{n&&this.groupManager.table.options.groupTap(t,this.getComponent()),n=!1}))),this.groupManager.table.options.groupDblTap&&(t=null,this.element.addEventListener(\\\"touchend\\\",(e=>{t?(clearTimeout(t),t=null,this.groupManager.table.options.groupDblTap(e,this.getComponent())):t=setTimeout((()=>{clearTimeout(t),t=null}),300)}))),this.groupManager.table.options.groupTapHold&&(e=null,this.element.addEventListener(\\\"touchstart\\\",(t=>{clearTimeout(e),e=setTimeout((()=>{clearTimeout(e),e=null,n=!1,this.groupManager.table.options.groupTapHold(t,this.getComponent())}),1e3)}),{passive:!0}),this.element.addEventListener(\\\"touchend\\\",(t=>{clearTimeout(e),e=null}))),this.groupManager.table.options.groupToggleElement&&(\\\"arrow\\\"==this.groupManager.table.options.groupToggleElement?this.arrowElement:this.element).addEventListener(\\\"click\\\",(t=>{t.stopPropagation(),t.stopImmediatePropagation(),this.toggleVisibility()}))}_createGroup(t,e){var n=e+\\\"_\\\"+t,r=new B(this.groupManager,this,e,t,this.groupManager.groupIDLookups[e].field,this.groupManager.headerGenerator[e]||this.groupManager.headerGenerator[0],!!this.old&&this.old.groups[n]);this.groups[n]=r,this.groupList.push(r)}_addRowToGroup(t){var e=this.level+1;if(this.hasSubGroups){var n=this.groupManager.groupIDLookups[e].func(t.getData()),r=e+\\\"_\\\"+n;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]?this.groups[r]&&this.groups[r].addRow(t):(this.groups[r]||this._createGroup(n,e),this.groups[r].addRow(t))}}_addRow(t){this.rows.push(t),t.modules.group=this}insertRow(t,e,n){var r=this.conformRowData({});t.updateData(r);var i=this.rows.indexOf(e);i>-1?n?this.rows.splice(i+1,0,t):this.rows.splice(i,0,t):n?this.rows.push(t):this.rows.unshift(t),t.modules.group=this,this.generateGroupHeaderContents(),this.groupManager.table.modExists(\\\"columnCalcs\\\")&&\\\"table\\\"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(t){this.arrowElement.style.marginLeft=t,this.groupList.forEach((function(e){e.scrollHeader(t)}))}getRowIndex(t){}conformRowData(t){return this.field?t[this.field]=this.key:console.warn(\\\"Data Conforming Error - Cannot conform row data to match new group as groupBy is a function\\\"),this.parent&&(t=this.parent.conformRowData(t)),t}removeRow(t){var e=this.rows.indexOf(t),n=t.getElement();e>-1&&this.rows.splice(e,1),this.groupManager.table.options.groupValues||this.rows.length?(n.parentNode&&n.parentNode.removeChild(n),this.generateGroupHeaderContents(),this.groupManager.table.modExists(\\\"columnCalcs\\\")&&\\\"table\\\"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)):(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0))}removeGroup(t){var e,n=t.level+\\\"_\\\"+t.key;this.groups[n]&&(delete this.groups[n],(e=this.groupList.indexOf(t))>-1&&this.groupList.splice(e,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(t){var e=[];return e.push(this),this._visSet(),this.visible?this.groupList.length?this.groupList.forEach((function(n){e=e.concat(n.getHeadersAndRows(t))})):(!t&&\\\"table\\\"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists(\\\"columnCalcs\\\")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),!t&&\\\"table\\\"!=this.groupManager.table.options.columnCalcs&&this.groupManager.table.modExists(\\\"columnCalcs\\\")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):this.groupList.length||\\\"table\\\"==this.groupManager.table.options.columnCalcs||this.groupManager.table.modExists(\\\"columnCalcs\\\")&&(!t&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top))),!t&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom)))),e}getData(t,e){var n=[];return this._visSet(),(!t||t&&this.visible)&&this.rows.forEach((t=>{n.push(t.getData(e||\\\"data\\\"))})),n}getRowCount(){var t=0;return this.groupList.length?this.groupList.forEach((e=>{t+=e.getRowCount()})):t=this.rows.length,t}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,\\\"classic\\\"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination?this.groupManager.updateGroupRows(!0):(this.element.classList.remove(\\\"tabulator-group-visible\\\"),this.groupList.length?this.groupList.forEach((t=>{t.getHeadersAndRows().forEach((t=>{t.detachElement()}))})):this.rows.forEach((t=>{var e=t.getElement();e.parentNode.removeChild(e)})),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()),this.groupManager.table.externalEvents.dispatch(\\\"groupVisibilityChanged\\\",this.getComponent(),!1)}show(){if(this.visible=!0,\\\"classic\\\"!=this.groupManager.table.rowManager.getRenderMode()||this.groupManager.table.options.pagination)this.groupManager.updateGroupRows(!0);else{this.element.classList.add(\\\"tabulator-group-visible\\\");var t=this.getElement();this.groupList.length?this.groupList.forEach((e=>{e.getHeadersAndRows().forEach((e=>{var n=e.getElement();t.parentNode.insertBefore(n,t.nextSibling),e.initialize(),t=n}))})):this.rows.forEach((e=>{var n=e.getElement();t.parentNode.insertBefore(n,t.nextSibling),e.initialize(),t=n})),this.groupManager.table.rowManager.setDisplayRows(this.groupManager.updateGroupRows(),this.groupManager.getDisplayIndex()),this.groupManager.table.rowManager.checkClassicModeGroupHeaderWidth()}this.groupManager.table.externalEvents.dispatch(\\\"groupVisibilityChanged\\\",this.getComponent(),!0)}_visSet(){var t=[];\\\"function\\\"==typeof this.visible&&(this.rows.forEach((function(e){t.push(e.getData())})),this.visible=this.visible(this.key,this.getRowCount(),t,this.getComponent()))}getRowGroup(t){var e=!1;return this.groupList.length?this.groupList.forEach((function(n){var r=n.getRowGroup(t);r&&(e=r)})):this.rows.find((function(e){return e===t}))&&(e=this),e}getSubGroups(t){var e=[];return this.groupList.forEach((function(n){e.push(t?n.getComponent():n)})),e}getRows(t){var e=[];return this.rows.forEach((function(n){e.push(t?n.getComponent():n)})),e}generateGroupHeaderContents(){var t=[];for(this.rows.forEach((function(e){t.push(e.getData())})),this.elementContents=this.generator(this.key,this.getRowCount(),t,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);\\\"string\\\"==typeof this.elementContents?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(t=[]){return t.unshift(this.key),this.parent&&this.parent.getPath(t),t}getElement(){this.addBindingsd=!1,this._visSet(),this.visible?this.element.classList.add(\\\"tabulator-group-visible\\\"):this.element.classList.remove(\\\"tabulator-group-visible\\\");for(var t=0;t<this.element.childNodes.length;++t)this.element.childNodes[t].parentNode.removeChild(this.element.childNodes[t]);return this.generateGroupHeaderContents(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}normalizeHeight(){this.setHeight(this.element.clientHeight)}initialize(t){this.initialized&&!t||(this.normalizeHeight(),this.initialized=!0)}reinitialize(){this.initialized=!1,this.height=0,a.elVisible(this.element)&&this.initialize(!0)}setHeight(t){this.height!=t&&(this.height=t,this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getGroup(){return this}reinitializeHeight(){}calcHeight(){}setCellHeight(){}clearCellHeight(){}getComponent(){return this.component||(this.component=new $(this)),this.component}}class N extends o{constructor(t){super(t),this.groupIDLookups=!1,this.startOpen=[function(){return!1}],this.headerGenerator=[function(){return\\\"\\\"}],this.groupList=[],this.allowedValues=!1,this.groups={},this.displayIndex=0,this.displayHandler=this.getRows.bind(this),this.registerTableOption(\\\"groupBy\\\",!1),this.registerTableOption(\\\"groupStartOpen\\\",!0),this.registerTableOption(\\\"groupValues\\\",!1),this.registerTableOption(\\\"groupUpdateOnCellEdit\\\",!1),this.registerTableOption(\\\"groupHeader\\\",!1),this.registerTableOption(\\\"groupHeaderPrint\\\",null),this.registerTableOption(\\\"groupHeaderClipboard\\\",null),this.registerTableOption(\\\"groupHeaderHtmlOutput\\\",null),this.registerTableOption(\\\"groupHeaderDownload\\\",null),this.registerTableOption(\\\"groupToggleElement\\\",\\\"arrow\\\"),this.registerTableOption(\\\"groupClosedShowCalcs\\\",!1),this.registerTableFunction(\\\"setGroupBy\\\",this.setGroupBy.bind(this)),this.registerTableFunction(\\\"setGroupValues\\\",this.setGroupValues.bind(this)),this.registerTableFunction(\\\"setGroupStartOpen\\\",this.setGroupStartOpen.bind(this)),this.registerTableFunction(\\\"setGroupHeader\\\",this.setGroupHeader.bind(this)),this.registerTableFunction(\\\"getGroups\\\",this.userGetGroups.bind(this)),this.registerTableFunction(\\\"getGroupedData\\\",this.userGetGroupedData.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"getGroup\\\",this.rowGetGroup.bind(this))}initialize(){if(this.table.options.groupBy){var t=this.table.options.groupBy,e=this.table.options.groupStartOpen,n=this.table.options.groupHeader;this.allowedValues=this.table.options.groupValues,Array.isArray(t)&&Array.isArray(n)&&t.length>n.length&&console.warn(\\\"Error creating group headers, groupHeader array is shorter than groupBy array\\\"),this.headerGenerator=[function(){return\\\"\\\"}],this.startOpen=[function(){return!1}],this.langBind(\\\"groups|item\\\",((t,e)=>{this.headerGenerator[0]=(n,r,i)=>(void 0===n?\\\"\\\":n)+\\\"<span>(\\\"+r+\\\" \\\"+(1===r?t:e.groups.items)+\\\")</span>\\\"})),this.groupIDLookups=[],Array.isArray(t)||t?this.table.modExists(\\\"columnCalcs\\\")&&\\\"table\\\"!=this.table.options.columnCalcs&&\\\"both\\\"!=this.table.options.columnCalcs&&this.table.modules.columnCalcs.removeCalcs():this.table.modExists(\\\"columnCalcs\\\")&&\\\"group\\\"!=this.table.options.columnCalcs&&this.table.columnManager.getRealColumns().forEach((t=>{t.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),t.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})),Array.isArray(t)||(t=[t]),t.forEach(((t,e)=>{var n,r;n=\\\"function\\\"==typeof t?t:(r=this.table.columnManager.getColumnByField(t))?function(t){return r.getFieldValue(t)}:function(e){return e[t]},this.groupIDLookups.push({field:\\\"function\\\"!=typeof t&&t,func:n,values:!!this.allowedValues&&this.allowedValues[e]})})),e&&(Array.isArray(e)||(e=[e]),e.forEach((t=>{})),this.startOpen=e),n&&(this.headerGenerator=Array.isArray(n)?n:[n]),this.table.options.groupUpdateOnCellEdit&&(this.subscribe(\\\"cell-value-updated\\\",this.cellUpdated.bind(this)),this.subscribe(\\\"row-data-changed\\\",this.reassignRowToGroup.bind(this),0)),this.subscribe(\\\"row-deleting\\\",this.rowDeleting.bind(this)),this.subscribe(\\\"row-deleted\\\",this.rowsUpdated.bind(this)),this.subscribe(\\\"scroll-horizontal\\\",this.scrollHeaders.bind(this)),this.subscribe(\\\"rows-wipe\\\",this.wipe.bind(this)),this.subscribe(\\\"rows-added\\\",this.rowsUpdated.bind(this)),this.subscribe(\\\"row-moving\\\",this.rowMoving.bind(this)),this.subscribe(\\\"row-adding-index\\\",this.rowAddingIndex.bind(this)),this.subscribe(\\\"rows-sample\\\",this.rowSample.bind(this)),this.subscribe(\\\"render-virtual-fill\\\",this.virtualRenderFill.bind(this)),this.registerDisplayHandler(this.displayHandler,20),this.initialized=!0}}rowSample(t,e){var n=this.getGroups(!1)[0];return e.push(n.getRows(!1)[0]),e}virtualRenderFill(){var t=this.table.rowManager.tableElement,e=this.table.rowManager.getVisibleRows();e=e.filter((t=>\\\"group\\\"!==t.type)),t.style.minWidth=e.length?\\\"\\\":this.table.columnManager.getWidth()+\\\"px\\\"}rowAddingIndex(t,e,n){this.assignRowToGroup(t);var r=t.modules.group.rows;return r.length>1&&(!e||e&&-1==r.indexOf(e)?n?r[0]!==t&&(e=r[0],this.table.rowManager.moveRowInArray(t.modules.group.rows,t,e,!n)):r[r.length-1]!==t&&(e=r[r.length-1],this.table.rowManager.moveRowInArray(t.modules.group.rows,t,e,!n)):this.table.rowManager.moveRowInArray(t.modules.group.rows,t,e,!n)),e}trackChanges(){this.dispatch(\\\"group-changed\\\")}setGroupBy(t){this.table.options.groupBy=t,this.initialize(),this.refreshData(!1,\\\"display\\\"),this.trackChanges()}setGroupValues(t){this.table.options.groupValues=t,this.initialize(),this.refreshData(!1,\\\"display\\\"),this.trackChanges()}setGroupStartOpen(t){this.table.options.groupStartOpen=t,this.initialize(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn(\\\"Grouping Update - cant refresh view, no groups have been set\\\")}setGroupHeader(t){this.table.options.groupHeader=t,this.initialize(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn(\\\"Grouping Update - cant refresh view, no groups have been set\\\")}userGetGroups(t){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(t){return!!t.modules.group&&t.modules.group.getComponent()}rowMoving(t,e,n){!n&&e instanceof B&&(e=this.table.rowManager.prevDisplayRow(t)||e);var r=e instanceof B?e:e.modules.group,i=t instanceof B?t:t.modules.group;r===i?this.table.rowManager.moveRowInArray(r.rows,t,e,n):(i&&i.removeRow(t),r.insertRow(t,e,n))}rowDeleting(t){t.modules.group&&t.modules.group.removeRow(t)}rowsUpdated(t){this.updateGroupRows(!0)}cellUpdated(t){this.reassignRowToGroup(t.row)}setDisplayIndex(t){this.displayIndex=t}getDisplayIndex(){return this.displayIndex}getRows(t){return this.groupIDLookups.length?(Object.keys(this.groups).length||(this.dispatchExternal(\\\"dataGrouping\\\"),this.generateGroups(t),this.subscribedExternal(\\\"dataGrouped\\\")&&this.dispatchExternal(\\\"dataGrouped\\\",this.getGroups(!0))),this.updateGroupRows()):t.slice(0)}getGroups(t){var e=[];return this.groupList.forEach((function(n){e.push(t?n.getComponent():n)})),e}getChildGroups(t){var e=[];return t||(t=this),t.groupList.forEach((t=>{t.groupList.length?e=e.concat(this.getChildGroups(t)):e.push(t)})),e}wipe(){this.groupList.forEach((function(t){t.wipe()}))}pullGroupListData(t){var e=[];return t.forEach((t=>{var n={level:0,rowCount:0,headerContent:\\\"\\\"},r=[];t.hasSubGroups?(r=this.pullGroupListData(t.groupList),n.level=t.level,n.rowCount=r.length-t.groupList.length,n.headerContent=t.generator(t.key,n.rowCount,t.rows,t),e.push(n),e=e.concat(r)):(n.level=t.level,n.headerContent=t.generator(t.key,t.rows.length,t.rows,t),n.rowCount=t.getRows().length,e.push(n),t.getRows().forEach((t=>{e.push(t.getData(\\\"data\\\"))})))})),e}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(t){var e=!1;return this.groupList.forEach((n=>{var r=n.getRowGroup(t);r&&(e=r)})),e}countGroups(){return this.groupList.length}generateGroups(t){var e=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach((t=>{this.createGroup(t,0,e)})),t.forEach((t=>{this.assignRowToExistingGroup(t,e)}))):t.forEach((t=>{this.assignRowToGroup(t,e)}))}createGroup(t,e,n){var r,i=e+\\\"_\\\"+t;n=n||[],r=new B(this,!1,e,t,this.groupIDLookups[0].field,this.headerGenerator[0],n[i]),this.groups[i]=r,this.groupList.push(r)}assignRowToExistingGroup(t,e){var n=\\\"0_\\\"+this.groupIDLookups[0].func(t.getData());this.groups[n]&&this.groups[n].addRow(t)}assignRowToGroup(t,e){var n=this.groupIDLookups[0].func(t.getData()),r=!this.groups[\\\"0_\\\"+n];return r&&this.createGroup(n,0,e),this.groups[\\\"0_\\\"+n].addRow(t),!r}reassignRowToGroup(t){if(\\\"row\\\"===t.type){var e=t.modules.group,n=e.getPath(),r=this.getExpectedPath(t);n.length==r.length&&n.every(((t,e)=>t===r[e]))||(e.removeRow(t),this.assignRowToGroup(t,this.groups),this.refreshData(!0))}}getExpectedPath(t){var e=[],n=t.getData();return this.groupIDLookups.forEach((t=>{e.push(t.func(n))})),e}updateGroupRows(t){var e=[];return this.groupList.forEach((t=>{e=e.concat(t.getHeadersAndRows())})),t&&this.refreshData(!0,this.displayHandler),e}scrollHeaders(t){\\\"virtual\\\"===this.table.options.renderHorizontal&&(t-=this.table.columnManager.renderer.vDomPadLeft),t+=\\\"px\\\",this.groupList.forEach((e=>{e.scrollHeader(t)}))}removeGroup(t){var e,n=t.level+\\\"_\\\"+t.key;this.groups[n]&&(delete this.groups[n],(e=this.groupList.indexOf(t))>-1&&this.groupList.splice(e,1))}}N.moduleName=\\\"groupRows\\\";class F extends o{constructor(t){super(t),this.history=[],this.index=-1,this.registerTableOption(\\\"history\\\",!1)}initialize(){this.table.options.history&&(this.subscribe(\\\"cell-value-updated\\\",this.cellUpdated.bind(this)),this.subscribe(\\\"cell-delete\\\",this.clearComponentHistory.bind(this)),this.subscribe(\\\"row-delete\\\",this.rowDeleted.bind(this)),this.subscribe(\\\"rows-wipe\\\",this.clear.bind(this)),this.subscribe(\\\"row-added\\\",this.rowAdded.bind(this)),this.subscribe(\\\"row-move\\\",this.rowMoved.bind(this))),this.registerTableFunction(\\\"undo\\\",this.undo.bind(this)),this.registerTableFunction(\\\"redo\\\",this.redo.bind(this)),this.registerTableFunction(\\\"getHistoryUndoSize\\\",this.getHistoryUndoSize.bind(this)),this.registerTableFunction(\\\"getHistoryRedoSize\\\",this.getHistoryRedoSize.bind(this)),this.registerTableFunction(\\\"clearHistory\\\",this.clear.bind(this))}rowMoved(t,e,n){this.action(\\\"rowMove\\\",t,{posFrom:this.table.rowManager.getRowPosition(t),posTo:this.table.rowManager.getRowPosition(e),to:e,after:n})}rowAdded(t,e,n,r){this.action(\\\"rowAdd\\\",t,{data:e,pos:n,index:r})}rowDeleted(t){var e,n;this.table.options.groupBy?(e=(n=t.getComponent().getGroup().rows).indexOf(t))&&(e=n[e-1]):(e=t.table.rowManager.getRowIndex(t))&&(e=t.table.rowManager.rows[e-1]),this.history.action(\\\"rowDelete\\\",t,{data:t.getData(),pos:!e,index:e})}cellUpdated(t){this.action(\\\"cellEdit\\\",t,{oldValue:t.oldValue,newValue:t.value})}clear(){this.history=[],this.index=-1}action(t,e,n){this.history=this.history.slice(0,this.index+1),this.history.push({type:t,component:e,data:n}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(t){var e=this.history.findIndex((function(e){return e.component===t}));e>-1&&(this.history.splice(e,1),e<=this.index&&this.index--,this.clearComponentHistory(t))}undo(){if(this.index>-1){let t=this.history[this.index];return F.undoers[t.type].call(this,t),this.index--,this.dispatchExternal(\\\"historyUndo\\\",t.type,t.component.getComponent(),t.data),!0}return console.warn(\\\"History Undo Error - No more history to undo\\\"),!1}redo(){if(this.history.length-1>this.index){this.index++;let t=this.history[this.index];return F.redoers[t.type].call(this,t),this.dispatchExternal(\\\"historyRedo\\\",t.type,t.component.getComponent(),t.data),!0}return console.warn(\\\"History Redo Error - No more history to redo\\\"),!1}_rebindRow(t,e){this.history.forEach((function(n){if(n.component instanceof Row)n.component===t&&(n.component=e);else if(n.component instanceof Cell&&n.component.row===t){var r=n.component.column.getField();r&&(n.component=e.getCell(r))}}))}}F.moduleName=\\\"history\\\",F.undoers={cellEdit:function(t){t.component.setValueProcessData(t.data.oldValue)},rowAdd:function(t){t.component.deleteActual()},rowDelete:function(t){var e=this.table.rowManager.addRowActual(t.data.data,t.data.pos,t.data.index);this.table.options.groupBy&&this.table.modExists(\\\"groupRows\\\")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(t.component,e)},rowMove:function(t){this.table.rowManager.moveRowActual(t.component,this.table.rowManager.rows[t.data.posFrom],!t.data.after),this.table.rowManager.redraw()}},F.redoers={cellEdit:function(t){t.component.setValueProcessData(t.data.newValue)},rowAdd:function(t){var e=this.table.rowManager.addRowActual(t.data.data,t.data.pos,t.data.index);this.table.options.groupBy&&this.table.modExists(\\\"groupRows\\\")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(t.component,e)},rowDelete:function(t){t.component.deleteActual()},rowMove:function(t){this.table.rowManager.moveRowActual(t.component,this.table.rowManager.rows[t.data.posTo],t.data.after),this.table.rowManager.redraw()}};class j extends o{constructor(t){super(t),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.subscribe(\\\"table-building\\\",this.tableElementCheck.bind(this))}tableElementCheck(){\\\"TABLE\\\"===this.table.element.tagName&&this.parseTable()}parseTable(){var t=this.table.element,e=this.table.options,n=(e.columns,t.getElementsByTagName(\\\"th\\\")),r=t.getElementsByTagName(\\\"tbody\\\")[0],i=[];this.hasIndex=!1,this.dispatchExternal(\\\"htmlImporting\\\"),r=r?r.getElementsByTagName(\\\"tr\\\"):[],this._extractOptions(t,e),n.length?this._extractHeaders(n,r):this._generateBlankHeaders(n,r);for(var o=0;o<r.length;o++){var a=r[o].getElementsByTagName(\\\"td\\\"),s={};this.hasIndex||(s[e.index]=o);for(var l=0;l<a.length;l++){var u=a[l];void 0!==this.fieldIndex[l]&&(s[this.fieldIndex[l]]=u.innerHTML)}i.push(s)}var c=document.createElement(\\\"div\\\"),h=t.attributes;for(var l in h)\\\"object\\\"==typeof h[l]&&c.setAttribute(h[l].name,h[l].value);t.parentNode.replaceChild(c,t),e.data=i,this.dispatchExternal(\\\"htmlImported\\\"),this.table.element=c}_extractOptions(t,e,n){var r=t.attributes,i=n?Object.assign([],n):Object.keys(e),o={};for(var a in i.forEach((t=>{o[t.toLowerCase()]=t})),r){var s,l=r[a];l&&\\\"object\\\"==typeof l&&l.name&&0===l.name.indexOf(\\\"tabulator-\\\")&&(s=l.name.replace(\\\"tabulator-\\\",\\\"\\\"),void 0!==o[s]&&(e[o[s]]=this._attribValue(l.value)))}}_attribValue(t){return\\\"true\\\"===t||\\\"false\\\"!==t&&t}_findCol(t){return this.table.options.columns.find((e=>e.title===t))||!1}_extractHeaders(t,e){for(var n=0;n<t.length;n++){var r,i=t[n],o=!1,a=this._findCol(i.textContent);a?o=!0:a={title:i.textContent.trim()},a.field||(a.field=i.textContent.trim().toLowerCase().replace(\\\" \\\",\\\"_\\\")),(r=i.getAttribute(\\\"width\\\"))&&!a.width&&(a.width=r),i.attributes,this._extractOptions(i,a,Column.prototype.defaultOptionList),this.fieldIndex[n]=a.field,a.field==this.table.options.index&&(this.hasIndex=!0),o||this.table.options.columns.push(a)}}_generateBlankHeaders(t,e){for(var n=0;n<t.length;n++){var r=t[n],i={title:\\\"\\\",field:\\\"col\\\"+n};this.fieldIndex[n]=i.field;var o=r.getAttribute(\\\"width\\\");o&&(i.width=o),this.table.options.columns.push(i)}}}j.moduleName=\\\"htmlTableImport\\\";class U extends o{constructor(t){super(t),this.eventMap={rowClick:\\\"row-click\\\",rowDblClick:\\\"row-dblclick\\\",rowContext:\\\"row-contextmenu\\\",rowMouseEnter:\\\"row-mouseenter\\\",rowMouseLeave:\\\"row-mouseleave\\\",rowMouseOver:\\\"row-mouseover\\\",rowMouseOut:\\\"row-mouseout\\\",rowMouseMove:\\\"row-mousemove\\\",rowTap:\\\"row\\\",rowDblTap:\\\"row\\\",rowTapHold:\\\"row\\\",cellClick:\\\"cell-click\\\",cellDblClick:\\\"cell-dblclick\\\",cellContext:\\\"cell-contextmenu\\\",cellMouseEnter:\\\"cell-mouseenter\\\",cellMouseLeave:\\\"cell-mouseleave\\\",cellMouseOver:\\\"cell-mouseover\\\",cellMouseOut:\\\"cell-mouseout\\\",cellMouseMove:\\\"cell-mousemove\\\",cellTap:\\\"cell\\\",cellDblTap:\\\"cell\\\",cellTapHold:\\\"cell\\\",headerClick:\\\"column-click\\\",headerDblClick:\\\"column-dblclick\\\",headerContext:\\\"column-contextmenu\\\",headerMouseEnter:\\\"column-mouseenter\\\",headerMouseLeave:\\\"column-mouseleave\\\",headerMouseOver:\\\"column-mouseover\\\",headerMouseOut:\\\"column-mouseout\\\",headerMouseMove:\\\"column-mousemove\\\",headerTap:\\\"column\\\",headerDblTap:\\\"column\\\",headerTapHold:\\\"column\\\",groupClick:\\\"group-click\\\",groupDblClick:\\\"group-dblclick\\\",groupContext:\\\"group-contextmenu\\\",groupMouseEnter:\\\"group-mouseenter\\\",groupMouseLeave:\\\"group-mouseleave\\\",groupMouseOver:\\\"group-mouseover\\\",groupMouseOut:\\\"group-mouseout\\\",groupMouseMove:\\\"group-mousemove\\\",groupTap:\\\"group\\\",groupDblTap:\\\"group\\\",groupTapHold:\\\"group\\\"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption(\\\"headerClick\\\"),this.registerColumnOption(\\\"headerDblClick\\\"),this.registerColumnOption(\\\"headerContext\\\"),this.registerColumnOption(\\\"headerMouseEnter\\\"),this.registerColumnOption(\\\"headerMouseLeave\\\"),this.registerColumnOption(\\\"headerMouseOver\\\"),this.registerColumnOption(\\\"headerMouseOut\\\"),this.registerColumnOption(\\\"headerMouseMove\\\"),this.registerColumnOption(\\\"headerTap\\\"),this.registerColumnOption(\\\"headerDblTap\\\"),this.registerColumnOption(\\\"headerTapHold\\\"),this.registerColumnOption(\\\"cellClick\\\"),this.registerColumnOption(\\\"cellDblClick\\\"),this.registerColumnOption(\\\"cellContext\\\"),this.registerColumnOption(\\\"cellMouseEnter\\\"),this.registerColumnOption(\\\"cellMouseLeave\\\"),this.registerColumnOption(\\\"cellMouseOver\\\"),this.registerColumnOption(\\\"cellMouseOut\\\"),this.registerColumnOption(\\\"cellMouseMove\\\"),this.registerColumnOption(\\\"cellTap\\\"),this.registerColumnOption(\\\"cellDblTap\\\"),this.registerColumnOption(\\\"cellTapHold\\\")}initialize(){this.initializeExternalEvents(),this.subscribe(\\\"column-init\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"cell-dblclick\\\",this.cellContentsSelectionFixer.bind(this))}cellContentsSelectionFixer(t,e){if(!this.table.modExists(\\\"edit\\\")||this.table.modules.edit.currentCell!==this){t.preventDefault();try{if(document.selection)(n=document.body.createTextRange()).moveToElementText(this.element),n.select();else if(window.getSelection){var n;(n=document.createRange()).selectNode(this.element),window.getSelection().removeAllRanges(),window.getSelection().addRange(n)}}catch(t){}}}initializeExternalEvents(){for(let t in this.eventMap)this.subscriptionChangeExternal(t,this.subscriptionChanged.bind(this,t))}subscriptionChanged(t,e){e?this.subscribers[t]||(this.eventMap[t].includes(\\\"-\\\")?(this.subscribers[t]=this.handle.bind(this,t),this.subscribe(this.eventMap[t],this.subscribers[t])):this.subscribeTouchEvents(t)):this.eventMap[t].includes(\\\"-\\\")?!this.subscribers[t]||this.columnSubscribers[t]||this.subscribedExternal(t)||(this.unsubscribe(this.eventMap[t],this.subscribers[t]),delete this.subscribers[t]):this.unsubscribeTouchEvents(t)}subscribeTouchEvents(t){var e=this.eventMap[t];this.touchSubscribers[e+\\\"-touchstart\\\"]||(this.touchSubscribers[e+\\\"-touchstart\\\"]=this.handleTouch.bind(this,e,\\\"start\\\"),this.touchSubscribers[e+\\\"-touchend\\\"]=this.handleTouch.bind(this,e,\\\"end\\\"),this.subscribe(e+\\\"-touchstart\\\",this.touchSubscribers[e+\\\"-touchstart\\\"]),this.subscribe(e+\\\"-touchend\\\",this.touchSubscribers[e+\\\"-touchend\\\"])),this.subscribers[t]=!0}unsubscribeTouchEvents(t){var e=!0,n=this.eventMap[t];if(this.subscribers[t]&&!this.subscribedExternal(t)){delete this.subscribers[t];for(let t in this.eventMap)this.eventMap[t]===n&&this.subscribers[t]&&(e=!1);e&&(this.unsubscribe(n+\\\"-touchstart\\\",this.touchSubscribers[n+\\\"-touchstart\\\"]),this.unsubscribe(n+\\\"-touchend\\\",this.touchSubscribers[n+\\\"-touchend\\\"]),delete this.touchSubscribers[n+\\\"-touchstart\\\"],delete this.touchSubscribers[n+\\\"-touchend\\\"])}}initializeColumn(t){var e=t.definition;for(let n in this.eventMap)e[n]&&(this.subscriptionChanged(n,!0),this.columnSubscribers[n]||(this.columnSubscribers[n]=[]),this.columnSubscribers[n].push(t))}handle(t,e,n){this.dispatchEvent(t,e,n)}handleTouch(t,e,n,r){var i=this.touchWatchers[t];switch(\\\"column\\\"===t&&(t=\\\"header\\\"),e){case\\\"start\\\":i.tap=!0,clearTimeout(i.tapHold),i.tapHold=setTimeout((()=>{clearTimeout(i.tapHold),i.tapHold=null,i.tap=null,clearTimeout(i.tapDbl),i.tapDbl=null,this.dispatchEvent(t+\\\"TapHold\\\",n,r)}),1e3);break;case\\\"end\\\":i.tap&&(i.tap=null,this.dispatchEvent(t+\\\"Tap\\\",n,r)),i.tapDbl?(clearTimeout(i.tapDbl),i.tapDbl=null,this.dispatchEvent(t+\\\"DblTap\\\",n,r)):i.tapDbl=setTimeout((()=>{clearTimeout(i.tapDbl),i.tapDbl=null}),300),clearTimeout(i.tapHold),i.tapHold=null}}dispatchEvent(t,e,n){var r,i=n.getComponent();this.columnSubscribers[t]&&(n instanceof m?r=n.column.definition[t]:n instanceof g&&(r=n.definition[t]),r&&r(e,i)),this.dispatchExternal(t,e,i)}}U.moduleName=\\\"interaction\\\";class q extends o{constructor(t){super(t),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption(\\\"keybindings\\\",[]),this.registerTableOption(\\\"tabEndNewRow\\\",!1)}initialize(){var t=this.table.options.keybindings,e={};if(this.watchKeys={},this.pressedKeys=[],!1!==t){for(let t in q.bindings)e[t]=q.bindings[t];if(Object.keys(t).length)for(let n in t)e[n]=t[n];this.mapBindings(e),this.bindEvents()}this.subscribe(\\\"table-destroy\\\",this.clearBindings.bind(this))}mapBindings(t){for(let e in t)q.actions[e]?t[e]&&(\\\"object\\\"!=typeof t[e]&&(t[e]=[t[e]]),t[e].forEach((t=>{this.mapBinding(e,t)}))):console.warn(\\\"Key Binding Error - no such action:\\\",e)}mapBinding(t,e){var n={action:q.actions[t],keys:[],ctrl:!1,shift:!1,meta:!1};e.toString().toLowerCase().split(\\\" \\\").join(\\\"\\\").split(\\\"+\\\").forEach((t=>{switch(t){case\\\"ctrl\\\":n.ctrl=!0;break;case\\\"shift\\\":n.shift=!0;break;case\\\"meta\\\":n.meta=!0;break;default:t=parseInt(t),n.keys.push(t),this.watchKeys[t]||(this.watchKeys[t]=[]),this.watchKeys[t].push(n)}}))}bindEvents(){var t=this;this.keyupBinding=function(e){var n=e.keyCode,r=t.watchKeys[n];r&&(t.pressedKeys.push(n),r.forEach((function(n){t.checkBinding(e,n)})))},this.keydownBinding=function(e){var n=e.keyCode;if(t.watchKeys[n]){var r=t.pressedKeys.indexOf(n);r>-1&&t.pressedKeys.splice(r,1)}},this.table.element.addEventListener(\\\"keydown\\\",this.keyupBinding),this.table.element.addEventListener(\\\"keyup\\\",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener(\\\"keydown\\\",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener(\\\"keyup\\\",this.keydownBinding)}checkBinding(t,e){var n=!0;return t.ctrlKey==e.ctrl&&t.shiftKey==e.shift&&t.metaKey==e.meta&&(e.keys.forEach((t=>{-1==this.pressedKeys.indexOf(t)&&(n=!1)})),n&&e.action.call(this,t),!0)}}q.moduleName=\\\"keybindings\\\",q.bindings={navPrev:\\\"shift + 9\\\",navNext:9,navUp:38,navDown:40,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:\\\"ctrl + 90\\\",redo:\\\"ctrl + 89\\\",copyToClipboard:\\\"ctrl + 67\\\"},q.actions={keyBlock:function(t){t.stopPropagation(),t.preventDefault()},scrollPageUp:function(t){var e=this.table.rowManager,n=e.scrollTop-e.element.clientHeight;e.element.scrollHeight,t.preventDefault(),e.displayRowsCount&&(n>=0?e.element.scrollTop=n:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(t){var e=this.table.rowManager,n=e.scrollTop+e.element.clientHeight,r=e.element.scrollHeight;t.preventDefault(),e.displayRowsCount&&(n<=r?e.element.scrollTop=n:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(t){var e=this.table.rowManager;t.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(t){var e=this.table.rowManager;t.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(t){this.dispatch(\\\"keybinding-nav-prev\\\",t)},navNext:function(t){this.dispatch(\\\"keybinding-nav-next\\\",t)},navLeft:function(t){this.dispatch(\\\"keybinding-nav-left\\\",t)},navRight:function(t){this.dispatch(\\\"keybinding-nav-right\\\",t)},navUp:function(t){this.dispatch(\\\"keybinding-nav-up\\\",t)},navDown:function(t){this.dispatch(\\\"keybinding-nav-down\\\",t)},undo:function(t){this.table.options.history&&this.table.modExists(\\\"history\\\")&&this.table.modExists(\\\"edit\\\")&&(this.table.modules.edit.currentCell||(t.preventDefault(),this.table.modules.history.undo()))},redo:function(t){this.table.options.history&&this.table.modExists(\\\"history\\\")&&this.table.modExists(\\\"edit\\\")&&(this.table.modules.edit.currentCell||(t.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(t){this.table.modules.edit.currentCell||this.table.modExists(\\\"clipboard\\\",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class V extends o{constructor(t){super(t),this.menuElements=[],this.blurEvent=this.hideMenu.bind(this),this.escEvent=this.escMenu.bind(this),this.nestedMenuBlock=!1,this.positionReversedX=!1,this.registerTableOption(\\\"rowContextMenu\\\",!1),this.registerTableOption(\\\"rowClickMenu\\\",!1),this.registerTableOption(\\\"groupContextMenu\\\",!1),this.registerTableOption(\\\"groupClickMenu\\\",!1),this.registerColumnOption(\\\"headerContextMenu\\\"),this.registerColumnOption(\\\"headerMenu\\\"),this.registerColumnOption(\\\"contextMenu\\\"),this.registerColumnOption(\\\"clickMenu\\\")}initialize(){this.subscribe(\\\"cell-layout\\\",this.layoutCell.bind(this)),this.subscribe(\\\"column-init\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"row-init\\\",this.initializeRow.bind(this))}layoutCell(t){(t.column.definition.contextMenu||t.column.definition.clickMenu)&&this.initializeCell(t)}initializeColumn(t){var e=t.definition;(e.headerContextMenu||e.headerClickMenu||e.headerMenu)&&this.initializeColumnHeader(t)}initializeColumnHeader(t){var e;t.definition.headerContextMenu&&(t.getElement().addEventListener(\\\"contextmenu\\\",this.LoadMenuEvent.bind(this,t,t.definition.headerContextMenu)),this.tapHold(t,t.definition.headerContextMenu)),t.definition.headerMenu&&((e=document.createElement(\\\"span\\\")).classList.add(\\\"tabulator-header-menu-button\\\"),e.innerHTML=\\\"&vellip;\\\",e.addEventListener(\\\"click\\\",(e=>{e.stopPropagation(),e.preventDefault(),this.LoadMenuEvent(t,t.definition.headerMenu,e)})),t.titleElement.insertBefore(e,t.titleElement.firstChild))}LoadMenuEvent(t,e,n){e=\\\"function\\\"==typeof e?e.call(this.table,t.getComponent(),n):e,this.loadMenu(n,t,e)}tapHold(t,e){var n=t.getElement(),r=null,i=!1;n.addEventListener(\\\"touchstart\\\",(n=>{clearTimeout(r),i=!1,r=setTimeout((()=>{clearTimeout(r),r=null,i=!0,this.LoadMenuEvent(t,e,n)}),1e3)}),{passive:!0}),n.addEventListener(\\\"touchend\\\",(t=>{clearTimeout(r),r=null,i&&t.preventDefault()}))}initializeCell(t){t.column.definition.contextMenu&&(t.getElement(!0).addEventListener(\\\"contextmenu\\\",this.LoadMenuEvent.bind(this,t,t.column.definition.contextMenu)),this.tapHold(t,t.column.definition.contextMenu)),t.column.definition.clickMenu&&t.getElement(!0).addEventListener(\\\"click\\\",this.LoadMenuEvent.bind(this,t,t.column.definition.clickMenu))}initializeRow(t){this.table.options.rowContextMenu&&(t.getElement().addEventListener(\\\"contextmenu\\\",this.LoadMenuEvent.bind(this,t,this.table.options.rowContextMenu)),this.tapHold(t,this.table.options.rowContextMenu)),this.table.options.rowClickMenu&&t.getElement().addEventListener(\\\"click\\\",this.LoadMenuEvent.bind(this,t,this.table.options.rowClickMenu))}initializeGroup(t){this.table.options.groupContextMenu&&(t.getElement().addEventListener(\\\"contextmenu\\\",this.LoadMenuEvent.bind(this,t,this.table.options.groupContextMenu)),this.tapHold(t,this.table.options.groupContextMenu)),this.table.options.groupClickMenu&&t.getElement().addEventListener(\\\"click\\\",this.LoadMenuEvent.bind(this,t,this.table.options.groupClickMenu))}loadMenu(t,e,n,r){var i=!(t instanceof MouseEvent),o=document.createElement(\\\"div\\\");if(o.classList.add(\\\"tabulator-menu\\\"),i||t.preventDefault(),n&&n.length){if(!r){if(this.nestedMenuBlock){if(this.isOpen())return}else this.nestedMenuBlock=setTimeout((()=>{this.nestedMenuBlock=!1}),100);this.hideMenu(),this.menuElements=[]}n.forEach((t=>{var n=document.createElement(\\\"div\\\"),r=t.label,i=t.disabled;t.separator?n.classList.add(\\\"tabulator-menu-separator\\\"):(n.classList.add(\\\"tabulator-menu-item\\\"),\\\"function\\\"==typeof r&&(r=r.call(this.table,e.getComponent())),r instanceof Node?n.appendChild(r):n.innerHTML=r,\\\"function\\\"==typeof i&&(i=i.call(this.table,e.getComponent())),i?(n.classList.add(\\\"tabulator-menu-item-disabled\\\"),n.addEventListener(\\\"click\\\",(t=>{t.stopPropagation()}))):t.menu&&t.menu.length?n.addEventListener(\\\"click\\\",(r=>{r.stopPropagation(),this.hideOldSubMenus(o),this.loadMenu(r,e,t.menu,n)})):t.action&&n.addEventListener(\\\"click\\\",(n=>{t.action(n,e.getComponent())})),t.menu&&t.menu.length&&n.classList.add(\\\"tabulator-menu-item-submenu\\\")),o.appendChild(n)})),o.addEventListener(\\\"click\\\",(t=>{this.hideMenu()})),this.menuElements.push(o),this.positionMenu(o,r,i,t)}}hideOldSubMenus(t){var e=this.menuElements.indexOf(t);if(e>-1)for(let t=this.menuElements.length-1;t>e;t--){var n=this.menuElements[t];n.parentNode&&n.parentNode.removeChild(n),this.menuElements.pop()}}positionMenu(t,e,n,r){var i,o,s,l=Math.max(document.body.offsetHeight,window.innerHeight);e?(i=(s=a.elOffset(e)).left+e.offsetWidth,o=s.top-1):(i=n?r.touches[0].pageX:r.pageX,o=n?r.touches[0].pageY:r.pageY,this.positionReversedX=!1),t.style.top=o+\\\"px\\\",t.style.left=i+\\\"px\\\",setTimeout((()=>{this.table.rowManager.element.addEventListener(\\\"scroll\\\",this.blurEvent),document.body.addEventListener(\\\"click\\\",this.blurEvent),document.body.addEventListener(\\\"contextmenu\\\",this.blurEvent),window.addEventListener(\\\"resize\\\",this.blurEvent),document.body.addEventListener(\\\"keydown\\\",this.escEvent)}),100),document.body.appendChild(t),o+t.offsetHeight>=l&&(t.style.top=\\\"\\\",t.style.bottom=e?l-s.top-e.offsetHeight-1+\\\"px\\\":l-o+\\\"px\\\"),(i+t.offsetWidth>=document.body.offsetWidth||this.positionReversedX)&&(t.style.left=\\\"\\\",t.style.right=e?document.documentElement.offsetWidth-s.left+\\\"px\\\":document.documentElement.offsetWidth-i+\\\"px\\\",this.positionReversedX=!0)}isOpen(){return!!this.menuElements.length}escMenu(t){27==t.keyCode&&this.hideMenu()}hideMenu(){this.menuElements.forEach((t=>{t.parentNode&&t.parentNode.removeChild(t)})),document.body.removeEventListener(\\\"keydown\\\",this.escEvent),document.body.removeEventListener(\\\"click\\\",this.blurEvent),document.body.removeEventListener(\\\"contextmenu\\\",this.blurEvent),window.removeEventListener(\\\"resize\\\",this.blurEvent),this.table.rowManager.element.removeEventListener(\\\"scroll\\\",this.blurEvent)}}V.moduleName=\\\"menu\\\";class H extends o{constructor(t){super(t),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption(\\\"movableColumns\\\",!1)}createPlaceholderElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-col\\\"),t.classList.add(\\\"tabulator-col-placeholder\\\"),t}initialize(){this.subscribe(\\\"column-init\\\",this.initializeColumn.bind(this))}initializeColumn(t){var e,n=this,r={};t.modules.frozen||(e=t.getElement(),r.mousemove=function(r){t.parent===n.moving.parent&&((n.touchMove?r.touches[0].pageX:r.pageX)-a.elOffset(e).left+n.table.columnManager.element.scrollLeft>t.getWidth()/2?n.toCol===t&&n.toColAfter||(e.parentNode.insertBefore(n.placeholderElement,e.nextSibling),n.moveColumn(t,!0)):(n.toCol!==t||n.toColAfter)&&(e.parentNode.insertBefore(n.placeholderElement,e),n.moveColumn(t,!1)))}.bind(n),e.addEventListener(\\\"mousedown\\\",(function(e){n.touchMove=!1,1===e.which&&(n.checkTimeout=setTimeout((function(){n.startMove(e,t)}),n.checkPeriod))})),e.addEventListener(\\\"mouseup\\\",(function(t){1===t.which&&n.checkTimeout&&clearTimeout(n.checkTimeout)})),n.bindTouchEvents(t)),t.modules.moveColumn=r}bindTouchEvents(t){var e,n,r,i,o,a,s=t.getElement(),l=!1;s.addEventListener(\\\"touchstart\\\",(s=>{this.checkTimeout=setTimeout((()=>{this.touchMove=!0,e=t.nextColumn(),r=e?e.getWidth()/2:0,n=t.prevColumn(),i=n?n.getWidth()/2:0,o=0,a=0,l=!1,this.startMove(s,t)}),this.checkPeriod)}),{passive:!0}),s.addEventListener(\\\"touchmove\\\",(s=>{var u,c;this.moving&&(this.moveHover(s),l||(l=s.touches[0].pageX),(u=s.touches[0].pageX-l)>0?e&&u-o>r&&(c=e)!==t&&(l=s.touches[0].pageX,c.getElement().parentNode.insertBefore(this.placeholderElement,c.getElement().nextSibling),this.moveColumn(c,!0)):n&&-u-a>i&&(c=n)!==t&&(l=s.touches[0].pageX,c.getElement().parentNode.insertBefore(this.placeholderElement,c.getElement()),this.moveColumn(c,!1)),c&&(e=c.nextColumn(),o=r,r=e?e.getWidth()/2:0,n=c.prevColumn(),a=i,i=n?n.getWidth()/2:0))}),{passive:!0}),s.addEventListener(\\\"touchend\\\",(t=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(t)}))}startMove(t,e){var n=e.getElement();this.moving=e,this.startX=(this.touchMove?t.touches[0].pageX:t.pageX)-a.elOffset(n).left,this.table.element.classList.add(\\\"tabulator-block-select\\\"),this.placeholderElement.style.width=e.getWidth()+\\\"px\\\",this.placeholderElement.style.height=e.getHeight()+\\\"px\\\",n.parentNode.insertBefore(this.placeholderElement,n),n.parentNode.removeChild(n),this.hoverElement=n.cloneNode(!0),this.hoverElement.classList.add(\\\"tabulator-moving\\\"),this.table.columnManager.getElement().appendChild(this.hoverElement),this.hoverElement.style.left=\\\"0\\\",this.hoverElement.style.bottom=\\\"0\\\",this.touchMove||(this._bindMouseMove(),document.body.addEventListener(\\\"mousemove\\\",this.moveHover),document.body.addEventListener(\\\"mouseup\\\",this.endMove)),this.moveHover(t)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach((function(t){t.modules.moveColumn.mousemove&&t.getElement().addEventListener(\\\"mousemove\\\",t.modules.moveColumn.mousemove)}))}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach((function(t){t.modules.moveColumn.mousemove&&t.getElement().removeEventListener(\\\"mousemove\\\",t.modules.moveColumn.mousemove)}))}moveColumn(t,e){var n=this.moving.getCells();this.toCol=t,this.toColAfter=e,e?t.getCells().forEach((function(t,e){var r=t.getElement(!0);r.parentNode&&r.parentNode.insertBefore(n[e].getElement(),r.nextSibling)})):t.getCells().forEach((function(t,e){var r=t.getElement(!0);r.parentNode&&r.parentNode.insertBefore(n[e].getElement(),r)}))}endMove(t){(1===t.which||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove(\\\"tabulator-block-select\\\"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener(\\\"mousemove\\\",this.moveHover),document.body.removeEventListener(\\\"mouseup\\\",this.endMove)))}moveHover(t){var e,n=this.table.columnManager.getElement(),r=n.scrollLeft,i=(this.touchMove?t.touches[0].pageX:t.pageX)-a.elOffset(n).left+r;this.hoverElement.style.left=i-this.startX+\\\"px\\\",i-r<this.autoScrollMargin&&(this.autoScrollTimeout||(this.autoScrollTimeout=setTimeout((()=>{e=Math.max(0,r-5),this.table.rowManager.getElement().scrollLeft=e,this.autoScrollTimeout=!1}),1))),r+n.clientWidth-i<this.autoScrollMargin&&(this.autoScrollTimeout||(this.autoScrollTimeout=setTimeout((()=>{e=Math.min(n.clientWidth,r+5),this.table.rowManager.getElement().scrollLeft=e,this.autoScrollTimeout=!1}),1)))}}H.moduleName=\\\"moveColumn\\\";class G extends o{constructor(t){super(t),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption(\\\"movableRows\\\",!1),this.registerTableOption(\\\"movableRowsConnectedTables\\\",!1),this.registerTableOption(\\\"movableRowsConnectedElements\\\",!1),this.registerTableOption(\\\"movableRowsSender\\\",!1),this.registerTableOption(\\\"movableRowsReceiver\\\",\\\"insert\\\"),this.registerColumnOption(\\\"rowHandle\\\")}createPlaceholderElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-row\\\"),t.classList.add(\\\"tabulator-row-placeholder\\\"),t}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe(\\\"cell-init\\\",this.initializeCell.bind(this)),this.subscribe(\\\"column-init\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"row-init\\\",this.initializeRow.bind(this)))}initializeGroupHeader(t){var e=this,n={};n.mouseup=function(t){e.tableRowDrop(t,row)}.bind(e),n.mousemove=function(n){var r;n.pageY-a.elOffset(t.element).top+e.table.rowManager.element.scrollTop>t.getHeight()/2?e.toRow===t&&e.toRowAfter||((r=t.getElement()).parentNode.insertBefore(e.placeholderElement,r.nextSibling),e.moveRow(t,!0)):(e.toRow!==t||e.toRowAfter)&&(r=t.getElement()).previousSibling&&(r.parentNode.insertBefore(e.placeholderElement,r),e.moveRow(t,!1))}.bind(e),t.modules.moveRow=n}initializeRow(t){var e,n=this,r={};r.mouseup=function(e){n.tableRowDrop(e,t)}.bind(n),r.mousemove=function(e){var r=t.getElement();e.pageY-a.elOffset(r).top+n.table.rowManager.element.scrollTop>t.getHeight()/2?n.toRow===t&&n.toRowAfter||(r.parentNode.insertBefore(n.placeholderElement,r.nextSibling),n.moveRow(t,!0)):(n.toRow!==t||n.toRowAfter)&&(r.parentNode.insertBefore(n.placeholderElement,r),n.moveRow(t,!1))}.bind(n),this.hasHandle||((e=t.getElement()).addEventListener(\\\"mousedown\\\",(function(e){1===e.which&&(n.checkTimeout=setTimeout((function(){n.startMove(e,t)}),n.checkPeriod))})),e.addEventListener(\\\"mouseup\\\",(function(t){1===t.which&&n.checkTimeout&&clearTimeout(n.checkTimeout)})),this.bindTouchEvents(t,t.getElement())),t.modules.moveRow=r}initializeColumn(t){t.definition.rowHandle&&!1!==this.table.options.movableRows&&(this.hasHandle=!0)}initializeCell(t){if(t.column.definition.rowHandle&&!1!==this.table.options.movableRows){var e=this,n=t.getElement(!0);n.addEventListener(\\\"mousedown\\\",(function(n){1===n.which&&(e.checkTimeout=setTimeout((function(){e.startMove(n,t.row)}),e.checkPeriod))})),n.addEventListener(\\\"mouseup\\\",(function(t){1===t.which&&e.checkTimeout&&clearTimeout(e.checkTimeout)})),this.bindTouchEvents(t.row,n)}}bindTouchEvents(t,e){var n,r,i,o,a,s,l=!1;e.addEventListener(\\\"touchstart\\\",(e=>{this.checkTimeout=setTimeout((()=>{this.touchMove=!0,n=t.nextRow(),i=n?n.getHeight()/2:0,r=t.prevRow(),o=r?r.getHeight()/2:0,a=0,s=0,l=!1,this.startMove(e,t)}),this.checkPeriod)}),{passive:!0}),this.moving,this.toRow,this.toRowAfter,e.addEventListener(\\\"touchmove\\\",(e=>{var u,c;this.moving&&(e.preventDefault(),this.moveHover(e),l||(l=e.touches[0].pageY),(u=e.touches[0].pageY-l)>0?n&&u-a>i&&(c=n)!==t&&(l=e.touches[0].pageY,c.getElement().parentNode.insertBefore(this.placeholderElement,c.getElement().nextSibling),this.moveRow(c,!0)):r&&-u-s>o&&(c=r)!==t&&(l=e.touches[0].pageY,c.getElement().parentNode.insertBefore(this.placeholderElement,c.getElement()),this.moveRow(c,!1)),c&&(n=c.nextRow(),a=i,i=n?n.getHeight()/2:0,r=c.prevRow(),s=o,o=r?r.getHeight()/2:0))})),e.addEventListener(\\\"touchend\\\",(t=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(t),this.touchMove=!1)}))}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach((t=>{(\\\"row\\\"===t.type||\\\"group\\\"===t.type)&&t.modules.moveRow&&t.modules.moveRow.mousemove&&t.getElement().addEventListener(\\\"mousemove\\\",t.modules.moveRow.mousemove)}))}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach((t=>{(\\\"row\\\"===t.type||\\\"group\\\"===t.type)&&t.modules.moveRow&&t.modules.moveRow.mousemove&&t.getElement().removeEventListener(\\\"mousemove\\\",t.modules.moveRow.mousemove)}))}startMove(t,e){var n=e.getElement();this.setStartPosition(t,e),this.moving=e,this.table.element.classList.add(\\\"tabulator-block-select\\\"),this.placeholderElement.style.width=e.getWidth()+\\\"px\\\",this.placeholderElement.style.height=e.getHeight()+\\\"px\\\",this.connection?(this.table.element.classList.add(\\\"tabulator-movingrow-sending\\\"),this.connectToTables(e)):(n.parentNode.insertBefore(this.placeholderElement,n),n.parentNode.removeChild(n)),this.hoverElement=n.cloneNode(!0),this.hoverElement.classList.add(\\\"tabulator-moving\\\"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left=\\\"0\\\",this.hoverElement.style.top=\\\"0\\\",this.hoverElement.style.width=this.table.element.clientWidth+\\\"px\\\",this.hoverElement.style.whiteSpace=\\\"nowrap\\\",this.hoverElement.style.overflow=\\\"hidden\\\",this.hoverElement.style.pointerEvents=\\\"none\\\"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left=\\\"0\\\",this.hoverElement.style.top=\\\"0\\\",this._bindMouseMove()),document.body.addEventListener(\\\"mousemove\\\",this.moveHover),document.body.addEventListener(\\\"mouseup\\\",this.endMove),this.moveHover(t)}setStartPosition(t,e){var n,r,i=this.touchMove?t.touches[0].pageX:t.pageX,o=this.touchMove?t.touches[0].pageY:t.pageY;n=e.getElement(),this.connection?(r=n.getBoundingClientRect(),this.startX=r.left-i+window.pageXOffset,this.startY=r.top-o+window.pageYOffset):this.startY=o-n.getBoundingClientRect().top}endMove(t){t&&1!==t.which&&!this.touchMove||(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove(\\\"tabulator-block-select\\\"),this.toRow&&this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener(\\\"mousemove\\\",this.moveHover),document.body.removeEventListener(\\\"mouseup\\\",this.endMove),this.connection&&(this.table.element.classList.remove(\\\"tabulator-movingrow-sending\\\"),this.disconnectFromTables()))}moveRow(t,e){this.toRow=t,this.toRowAfter=e}moveHover(t){this.connection?this.moveHoverConnections.call(this,t):this.moveHoverTable.call(this,t)}moveHoverTable(t){var e=this.table.rowManager.getElement(),n=e.scrollTop,r=(this.touchMove?t.touches[0].pageY:t.pageY)-e.getBoundingClientRect().top+n;this.hoverElement.style.top=r-this.startY+\\\"px\\\"}moveHoverConnections(t){this.hoverElement.style.left=this.startX+(this.touchMove?t.touches[0].pageX:t.pageX)+\\\"px\\\",this.hoverElement.style.top=this.startY+(this.touchMove?t.touches[0].pageY:t.pageY)+\\\"px\\\"}elementRowDrop(t,e,n){this.dispatchExternal(\\\"movableRowsElementDrop\\\",t,e,!!n&&n.getComponent())}connectToTables(t){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal(\\\"movableRowsSendingStart\\\",e),this.commsSend(this.connectionSelectorsTables,\\\"moveRow\\\",\\\"connect\\\",{row:t})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach((t=>{\\\"string\\\"==typeof t?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(t))):this.connectionElements.push(t)})),this.connectionElements.forEach((t=>{var e=e=>{this.elementRowDrop(e,t,this.moving)};t.addEventListener(\\\"mouseup\\\",e),t.tabulatorElementDropEvent=e,t.classList.add(\\\"tabulator-movingrow-receiving\\\")})))}disconnectFromTables(){var t;this.connectionSelectorsTables&&(t=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal(\\\"movableRowsSendingStop\\\",t),this.commsSend(this.connectionSelectorsTables,\\\"moveRow\\\",\\\"disconnect\\\")),this.connectionElements.forEach((t=>{t.classList.remove(\\\"tabulator-movingrow-receiving\\\"),t.removeEventListener(\\\"mouseup\\\",t.tabulatorElementDropEvent),delete t.tabulatorElementDropEvent}))}connect(t,e){return this.connectedTable?(console.warn(\\\"Move Row Error - Table cannot accept connection, already connected to table:\\\",this.connectedTable),!1):(this.connectedTable=t,this.connectedRow=e,this.table.element.classList.add(\\\"tabulator-movingrow-receiving\\\"),this.table.rowManager.getDisplayRows().forEach((t=>{\\\"row\\\"===t.type&&t.modules.moveRow&&t.modules.moveRow.mouseup&&t.getElement().addEventListener(\\\"mouseup\\\",t.modules.moveRow.mouseup)})),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener(\\\"mouseup\\\",this.tableRowDropEvent),this.dispatchExternal(\\\"movableRowsReceivingStart\\\",e,t),!0)}disconnect(t){t===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove(\\\"tabulator-movingrow-receiving\\\"),this.table.rowManager.getDisplayRows().forEach((t=>{\\\"row\\\"===t.type&&t.modules.moveRow&&t.modules.moveRow.mouseup&&t.getElement().removeEventListener(\\\"mouseup\\\",t.modules.moveRow.mouseup)})),this.table.element.removeEventListener(\\\"mouseup\\\",this.tableRowDropEvent),this.dispatchExternal(\\\"movableRowsReceivingStop\\\",t)):console.warn(\\\"Move Row Error - trying to disconnect from non connected table\\\")}dropComplete(t,e,n){var r=!1;if(n){switch(typeof this.table.options.movableRowsSender){case\\\"string\\\":r=this.senders[this.table.options.movableRowsSender];break;case\\\"function\\\":r=this.table.options.movableRowsSender}r?r.call(this,this.moving.getComponent(),e?e.getComponent():void 0,t):this.table.options.movableRowsSender&&console.warn(\\\"Mover Row Error - no matching sender found:\\\",this.table.options.movableRowsSender),this.dispatchExternal(\\\"movableRowsSent\\\",this.moving.getComponent(),e?e.getComponent():void 0,t)}else this.dispatchExternal(\\\"movableRowsSentFailed\\\",this.moving.getComponent(),e?e.getComponent():void 0,t);this.endMove()}tableRowDrop(t,e){var n=!1,r=!1;switch(t.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case\\\"string\\\":n=this.receivers[this.table.options.movableRowsReceiver];break;case\\\"function\\\":n=this.table.options.movableRowsReceiver}n?r=n.call(this,this.connectedRow.getComponent(),e?e.getComponent():void 0,this.connectedTable):console.warn(\\\"Mover Row Error - no matching receiver found:\\\",this.table.options.movableRowsReceiver),r?this.dispatchExternal(\\\"movableRowsReceived\\\",this.connectedRow.getComponent(),e?e.getComponent():void 0,this.connectedTable):this.dispatchExternal(\\\"movableRowsReceivedFailed\\\",this.connectedRow.getComponent(),e?e.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,\\\"moveRow\\\",\\\"dropcomplete\\\",{row:e,success:r})}commsReceived(t,e,n){switch(e){case\\\"connect\\\":return this.connect(t,n.row);case\\\"disconnect\\\":return this.disconnect(t);case\\\"dropcomplete\\\":return this.dropComplete(t,n.row,n.success)}}}G.prototype.receivers={insert:function(t,e,n){return this.table.addRow(t.getData(),void 0,e),!0},add:function(t,e,n){return this.table.addRow(t.getData()),!0},update:function(t,e,n){return!!e&&(e.update(t.getData()),!0)},replace:function(t,e,n){return!!e&&(this.table.addRow(t.getData(),void 0,e),e.delete(),!0)}},G.prototype.senders={delete:function(t,e,n){t.delete()}},G.moduleName=\\\"moveRow\\\";class W extends o{constructor(t){super(t),this.allowedTypes=[\\\"\\\",\\\"data\\\",\\\"edit\\\",\\\"clipboard\\\"],this.enabled=!0,this.registerColumnOption(\\\"mutator\\\"),this.registerColumnOption(\\\"mutatorParams\\\"),this.registerColumnOption(\\\"mutatorData\\\"),this.registerColumnOption(\\\"mutatorDataParams\\\"),this.registerColumnOption(\\\"mutatorEdit\\\"),this.registerColumnOption(\\\"mutatorEditParams\\\"),this.registerColumnOption(\\\"mutatorClipboard\\\"),this.registerColumnOption(\\\"mutatorClipboardParams\\\")}initialize(){this.subscribe(\\\"cell-value-changing\\\",this.transformCell.bind(this)),this.subscribe(\\\"column-layout\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"row-data-init-before\\\",this.rowDataChanged.bind(this)),this.subscribe(\\\"row-data-changing\\\",this.rowDataChanged.bind(this))}rowDataChanged(t,e,n){return this.transformRow(e,\\\"data\\\",n)}initializeColumn(t){var e=!1,n={};this.allowedTypes.forEach((r=>{var i,o=\\\"mutator\\\"+(r.charAt(0).toUpperCase()+r.slice(1));t.definition[o]&&(i=this.lookupMutator(t.definition[o]))&&(e=!0,n[o]={mutator:i,params:t.definition[o+\\\"Params\\\"]||{}})})),e&&(t.modules.mutate=n)}lookupMutator(t){var e=!1;switch(typeof t){case\\\"string\\\":W.mutators[t]?e=W.mutators[t]:console.warn(\\\"Mutator Error - No such mutator found, ignoring: \\\",t);break;case\\\"function\\\":e=t}return e}transformRow(t,e,n){var r,i=\\\"mutator\\\"+(e.charAt(0).toUpperCase()+e.slice(1));return this.enabled&&this.table.columnManager.traverse((o=>{var a,s,l;o.modules.mutate&&(a=o.modules.mutate[i]||o.modules.mutate.mutator||!1)&&(r=o.getFieldValue(void 0!==n?n:t),\\\"data\\\"!=e&&void 0===r||(l=o.getComponent(),s=\\\"function\\\"==typeof a.params?a.params(r,t,e,l):a.params,o.setFieldValue(t,a.mutator(r,t,e,s,l))))})),t}transformCell(t,e){if(t.column.modules.mutate){var n=t.column.modules.mutate.mutatorEdit||t.column.modules.mutate.mutator||!1,r={};if(n)return r=Object.assign(r,t.row.getData()),t.column.setFieldValue(r,e),n.mutator(e,r,\\\"edit\\\",n.params,t.getComponent())}return e}enable(){this.enabled=!0}disable(){this.enabled=!1}}W.moduleName=\\\"mutator\\\",W.mutators={};class X extends o{constructor(t){super(t),this.mode=\\\"local\\\",this.progressiveLoad=!1,this.size=0,this.page=1,this.count=5,this.max=1,this.displayIndex=0,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.dataReceivedNames={},this.dataSentNames={},this.registerTableOption(\\\"pagination\\\",!1),this.registerTableOption(\\\"paginationMode\\\",\\\"local\\\"),this.registerTableOption(\\\"paginationSize\\\",!1),this.registerTableOption(\\\"paginationInitialPage\\\",1),this.registerTableOption(\\\"paginationButtonCount\\\",5),this.registerTableOption(\\\"paginationSizeSelector\\\",!1),this.registerTableOption(\\\"paginationElement\\\",!1),this.registerTableOption(\\\"paginationAddRow\\\",\\\"page\\\"),this.registerTableOption(\\\"progressiveLoad\\\",!1),this.registerTableOption(\\\"progressiveLoadDelay\\\",0),this.registerTableOption(\\\"progressiveLoadScrollMargin\\\",0),this.registerTableFunction(\\\"setMaxPage\\\",this.setMaxPage.bind(this)),this.registerTableFunction(\\\"setPage\\\",this.setPage.bind(this)),this.registerTableFunction(\\\"setPageToRow\\\",this.userSetPageToRow.bind(this)),this.registerTableFunction(\\\"setPageSize\\\",this.userSetPageSize.bind(this)),this.registerTableFunction(\\\"getPageSize\\\",this.getPageSize.bind(this)),this.registerTableFunction(\\\"previousPage\\\",this.previousPage.bind(this)),this.registerTableFunction(\\\"nextPage\\\",this.nextPage.bind(this)),this.registerTableFunction(\\\"getPage\\\",this.getPage.bind(this)),this.registerTableFunction(\\\"getPageMax\\\",this.getPageMax.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"pageTo\\\",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe(\\\"row-deleted\\\",this.rowsUpdated.bind(this)),this.subscribe(\\\"row-adding-position\\\",this.rowAddingPosition.bind(this)),this.subscribe(\\\"row-added\\\",this.rowsUpdated.bind(this)),this.subscribe(\\\"data-processed\\\",this.initialLoadComplete.bind(this)),this.subscribe(\\\"table-built\\\",this.calculatePageSizes.bind(this)),\\\"remote\\\"===this.table.options.paginationMode&&(this.subscribe(\\\"data-params\\\",this.remotePageParams.bind(this)),this.subscribe(\\\"data-loaded\\\",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error(\\\"Progressive Load Error - Pagination and progressive load cannot be used at the same time\\\"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe(\\\"data-params\\\",this.remotePageParams.bind(this)),this.subscribe(\\\"data-loaded\\\",this._parseRemoteData.bind(this)),this.subscribe(\\\"table-built\\\",this.calculatePageSizes.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),\\\"scroll\\\"===this.table.options.progressiveLoad&&this.subscribe(\\\"scroll-vertical\\\",this.scrollVertical.bind(this)))}rowAddingPosition(t,e){var n,r=this.table.rowManager,i=r.getDisplayRows();return e?i.length?n=i[0]:r.activeRows.length&&(n=r.activeRows[r.activeRows.length-1],e=!1):i.length&&(n=i[i.length-1],e=!(i.length<this.size)),{index:n,top:e}}calculatePageSizes(){var t,e;this.table.options.paginationSize?this.size=this.table.options.paginationSize:((t=document.createElement(\\\"div\\\")).classList.add(\\\"tabulator-row\\\"),t.style.visibility=\\\"hidden\\\",(e=document.createElement(\\\"div\\\")).classList.add(\\\"tabulator-cell\\\"),e.innerHTML=\\\"Page Row Test\\\",t.appendChild(e),this.table.rowManager.getTableElement().appendChild(t),this.size=Math.floor(this.table.rowManager.getElement().clientHeight/t.offsetHeight),this.table.rowManager.getTableElement().removeChild(t))}initialLoadComplete(){this.initialLoad=!1}remotePageParams(t,e,n,r){return this.initialLoad||(this.progressiveLoad&&!n||!this.progressiveLoad&&!this.dataChanging)&&this.reset(!0),r.page=this.page,this.size&&(r.size=this.size),r}userSetPageToRow(t){return this.table.options.pagination&&(t=this.rowManager.findRow(t))?this.setPageToRow(t):Promise.reject()}userSetPageSize(t){return!!this.table.options.pagination&&(this.setPageSize(t),this.setPage(1))}scrollVertical(t,e){var n;e||this.table.dataLoader.loading||(n=this.table.rowManager.getElement()).scrollHeight-n.clientHeight-t<(this.table.options.progressiveLoadScrollMargin||2*n.clientHeight)&&this.nextPage()}restOnRenderBefore(t,e){return e||\\\"local\\\"===this.mode&&this.reset(),t}rowsUpdated(){this.refreshData(!0,\\\"all\\\")}createElements(){var t;this.element=document.createElement(\\\"span\\\"),this.element.classList.add(\\\"tabulator-paginator\\\"),this.pagesElement=document.createElement(\\\"span\\\"),this.pagesElement.classList.add(\\\"tabulator-pages\\\"),(t=document.createElement(\\\"button\\\")).classList.add(\\\"tabulator-page\\\"),t.setAttribute(\\\"type\\\",\\\"button\\\"),t.setAttribute(\\\"role\\\",\\\"button\\\"),t.setAttribute(\\\"aria-label\\\",\\\"\\\"),t.setAttribute(\\\"title\\\",\\\"\\\"),this.firstBut=t.cloneNode(!0),this.firstBut.setAttribute(\\\"data-page\\\",\\\"first\\\"),this.prevBut=t.cloneNode(!0),this.prevBut.setAttribute(\\\"data-page\\\",\\\"prev\\\"),this.nextBut=t.cloneNode(!0),this.nextBut.setAttribute(\\\"data-page\\\",\\\"next\\\"),this.lastBut=t.cloneNode(!0),this.lastBut.setAttribute(\\\"data-page\\\",\\\"last\\\"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement(\\\"select\\\"),this.pageSizeSelect.classList.add(\\\"tabulator-page-size\\\"))}generatePageSizeSelectList(){var t=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))t=this.table.options.paginationSizeSelector,this.pageSizes=t,-1==this.pageSizes.indexOf(this.size)&&t.unshift(this.size);else if(-1==this.pageSizes.indexOf(this.size)){t=[];for(let e=1;e<5;e++)t.push(this.size*e);this.pageSizes=t}else t=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);t.forEach((t=>{var e=document.createElement(\\\"option\\\");e.value=t,!0===t?this.langBind(\\\"pagination|all\\\",(function(t){e.innerHTML=t})):e.innerHTML=t,this.pageSizeSelect.appendChild(e)})),this.pageSizeSelect.value=this.size}}initializePaginator(t){var e;t||(this.langBind(\\\"pagination|first\\\",(t=>{this.firstBut.innerHTML=t})),this.langBind(\\\"pagination|first_title\\\",(t=>{this.firstBut.setAttribute(\\\"aria-label\\\",t),this.firstBut.setAttribute(\\\"title\\\",t)})),this.langBind(\\\"pagination|prev\\\",(t=>{this.prevBut.innerHTML=t})),this.langBind(\\\"pagination|prev_title\\\",(t=>{this.prevBut.setAttribute(\\\"aria-label\\\",t),this.prevBut.setAttribute(\\\"title\\\",t)})),this.langBind(\\\"pagination|next\\\",(t=>{this.nextBut.innerHTML=t})),this.langBind(\\\"pagination|next_title\\\",(t=>{this.nextBut.setAttribute(\\\"aria-label\\\",t),this.nextBut.setAttribute(\\\"title\\\",t)})),this.langBind(\\\"pagination|last\\\",(t=>{this.lastBut.innerHTML=t})),this.langBind(\\\"pagination|last_title\\\",(t=>{this.lastBut.setAttribute(\\\"aria-label\\\",t),this.lastBut.setAttribute(\\\"title\\\",t)})),this.firstBut.addEventListener(\\\"click\\\",(()=>{this.setPage(1)})),this.prevBut.addEventListener(\\\"click\\\",(()=>{this.previousPage()})),this.nextBut.addEventListener(\\\"click\\\",(()=>{this.nextPage()})),this.lastBut.addEventListener(\\\"click\\\",(()=>{this.setPage(this.max)})),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(e=document.createElement(\\\"label\\\"),this.langBind(\\\"pagination|page_size\\\",(t=>{this.pageSizeSelect.setAttribute(\\\"aria-label\\\",t),this.pageSizeSelect.setAttribute(\\\"title\\\",t),e.innerHTML=t})),this.element.appendChild(e),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener(\\\"change\\\",(t=>{this.setPageSize(\\\"true\\\"==this.pageSizeSelect.value||this.pageSizeSelect.value),this.setPage(1)}))),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||t||this.table.footerManager.append(this.element,this),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount,this.generatePageSizeSelectList()),this.mode=this.table.options.paginationMode}initializeProgressive(t){this.initializePaginator(!0),this.mode=\\\"progressive_\\\"+t,this.progressiveLoad=!0}trackChanges(){this.dispatch(\\\"page-changed\\\")}setDisplayIndex(t){this.displayIndex=t}getDisplayIndex(){return this.displayIndex}setMaxRows(t){this.max=t?!0===this.size?1:Math.ceil(t/this.size):1,this.page>this.max&&(this.page=this.max)}reset(t){this.initialLoad||(\\\"local\\\"==this.mode||t)&&(this.page=1)}setMaxPage(t){t=parseInt(t),this.max=t||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(t){switch(t){case\\\"first\\\":return this.setPage(1);case\\\"prev\\\":return this.previousPage();case\\\"next\\\":return this.nextPage();case\\\"last\\\":return this.setPage(this.max)}return(t=parseInt(t))>0&&t<=this.max||\\\"local\\\"!==this.mode?(this.page=t,this.trackChanges(),this.trigger()):(console.warn(\\\"Pagination Error - Requested page is out of range of 1 - \\\"+this.max+\\\":\\\",t),Promise.reject())}setPageToRow(t){var e=this.table.rowManager.getDisplayRows(this.displayIndex-1).indexOf(t);if(e>-1){var n=!0===this.size?1:Math.ceil((e+1)/this.size);return this.setPage(n)}return console.warn(\\\"Pagination Error - Requested row is not visible\\\"),Promise.reject()}setPageSize(t){!0!==t&&(t=parseInt(t)),t>0&&(this.size=t),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageButtons(){let t=Math.floor((this.count-1)/2),e=Math.ceil((this.count-1)/2),n=this.max-this.page+t+1<this.count?this.max-this.count+1:Math.max(this.page-t,1),r=this.page<=e?Math.min(this.count,this.max):Math.min(this.page+e,this.max);for(;this.pagesElement.firstChild;)this.pagesElement.removeChild(this.pagesElement.firstChild);1==this.page?(this.firstBut.disabled=!0,this.prevBut.disabled=!0):(this.firstBut.disabled=!1,this.prevBut.disabled=!1),this.page==this.max?(this.lastBut.disabled=!0,this.nextBut.disabled=!0):(this.lastBut.disabled=!1,this.nextBut.disabled=!1);for(let t=n;t<=r;t++)t>0&&t<=this.max&&this.pagesElement.appendChild(this._generatePageButton(t));this.footerRedraw()}_generatePageButton(t){var e=document.createElement(\\\"button\\\");return e.classList.add(\\\"tabulator-page\\\"),t==this.page&&e.classList.add(\\\"active\\\"),e.setAttribute(\\\"type\\\",\\\"button\\\"),e.setAttribute(\\\"role\\\",\\\"button\\\"),this.langBind(\\\"pagination|page_title\\\",(n=>{e.setAttribute(\\\"aria-label\\\",n+\\\" \\\"+t),e.setAttribute(\\\"title\\\",n+\\\" \\\"+t)})),e.setAttribute(\\\"data-page\\\",t),e.textContent=t,e.addEventListener(\\\"click\\\",(e=>{this.setPage(t)})),e}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn(\\\"Pagination Error - Previous page would be less than page 1:\\\",0),Promise.reject())}nextPage(){return this.page<this.max?(this.page++,this.trackChanges(),this.trigger()):(this.progressiveLoad||console.warn(\\\"Pagination Error - Next page would be greater than maximum page of \\\"+this.max+\\\":\\\",this.max+1),Promise.reject())}getPage(){return this.page}getPageMax(){return this.max}getPageSize(t){return this.size}getMode(){return this.mode}getRows(t){var e,n,r;if(\\\"local\\\"==this.mode){e=[],this.setMaxRows(t.length),!0===this.size?(n=0,r=t.length):r=(n=this.size*(this.page-1))+parseInt(this.size),this._setPageButtons();for(let i=n;i<r;i++)t[i]&&e.push(t[i]);return e}return this._setPageButtons(),t.slice(0)}trigger(){var t;switch(this.mode){case\\\"local\\\":return t=this.table.rowManager.scrollLeft,this.refreshData(),this.table.rowManager.scrollHorizontal(t),this.dispatchExternal(\\\"pageLoaded\\\",this.getPage()),Promise.resolve();case\\\"remote\\\":return this.dataChanging=!0,this.reloadData(null).finally((()=>{this.dataChanging=!1}));case\\\"progressive_load\\\":case\\\"progressive_scroll\\\":return this.reloadData(null,!0);default:return console.warn(\\\"Pagination Error - no such pagination mode:\\\",this.mode),Promise.reject()}}_parseRemoteData(t){var e;if(void 0===t.last_page&&console.warn(\\\"Remote Pagination Error - Server response missing '\\\"+this.dataReceivedNames.last_page+\\\"' property\\\"),t.data){if(this.max=parseInt(t.last_page)||1,this.progressiveLoad){switch(this.mode){case\\\"progressive_load\\\":1==this.page?this.table.rowManager.setData(t.data,!1,1==this.page):this.table.rowManager.addRows(t.data),this.page<this.max&&setTimeout((()=>{this.nextPage()}),this.table.options.progressiveLoadDelay);break;case\\\"progressive_scroll\\\":t=this.table.rowManager.getData().concat(t.data),this.table.rowManager.setData(t,1!==this.page,1==this.page),e=this.table.options.progressiveLoadScrollMargin||2*this.table.rowManager.element.clientHeight,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+e&&setTimeout((()=>{this.nextPage()}))}return!1}this.dispatchExternal(\\\"pageLoaded\\\",this.getPage())}else console.warn(\\\"Remote Pagination Error - Server response missing '\\\"+this.dataReceivedNames.data+\\\"' property\\\");return t.data}footerRedraw(){var t=this.table.footerManager.element;Math.ceil(t.clientWidth)-t.scrollWidth<0?this.pagesElement.style.display=\\\"none\\\":(this.pagesElement.style.display=\\\"\\\",Math.ceil(t.clientWidth)-t.scrollWidth<0&&(this.pagesElement.style.display=\\\"none\\\"))}}X.moduleName=\\\"page\\\";var Y={local:function(t,e){var n=localStorage.getItem(t+\\\"-\\\"+e);return!!n&&JSON.parse(n)},cookie:function(t,e){var n,r,i=document.cookie,o=t+\\\"-\\\"+e,a=i.indexOf(o+\\\"=\\\");return a>-1&&((n=(i=i.substr(a)).indexOf(\\\";\\\"))>-1&&(i=i.substr(0,n)),r=i.replace(o+\\\"=\\\",\\\"\\\")),!!r&&JSON.parse(r)}},Z={local:function(t,e,n){localStorage.setItem(t+\\\"-\\\"+e,JSON.stringify(n))},cookie:function(t,e,n){var r=new Date;r.setDate(r.getDate()+1e4),document.cookie=t+\\\"-\\\"+e+\\\"=\\\"+JSON.stringify(n)+\\\"; expires=\\\"+r.toUTCString()}};class K extends o{constructor(t){super(t),this.mode=\\\"\\\",this.id=\\\"\\\",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption(\\\"persistence\\\",!1),this.registerTableOption(\\\"persistenceID\\\",\\\"\\\"),this.registerTableOption(\\\"persistenceMode\\\",!0),this.registerTableOption(\\\"persistenceReaderFunc\\\",!1),this.registerTableOption(\\\"persistenceWriterFunc\\\",!1)}localStorageTest(){var t=\\\"_tabulator_test\\\";try{return window.localStorage.setItem(t,t),window.localStorage.removeItem(t),!0}catch(t){return!1}}initialize(){if(this.table.options.persistence){var t,e=this.table.options.persistenceMode,n=this.table.options.persistenceID;this.mode=!0!==e?e:this.localStorageTest()?\\\"local\\\":\\\"cookie\\\",this.table.options.persistenceReaderFunc?\\\"function\\\"==typeof this.table.options.persistenceReaderFunc?this.readFunc=this.table.options.persistenceReaderFunc:K.readers[this.table.options.persistenceReaderFunc]?this.readFunc=K.readers[this.table.options.persistenceReaderFunc]:console.warn(\\\"Persistence Read Error - invalid reader set\\\",this.table.options.persistenceReaderFunc):K.readers[this.mode]?this.readFunc=K.readers[this.mode]:console.warn(\\\"Persistence Read Error - invalid reader set\\\",this.mode),this.table.options.persistenceWriterFunc?\\\"function\\\"==typeof this.table.options.persistenceWriterFunc?this.writeFunc=this.table.options.persistenceWriterFunc:K.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=K.writers[this.table.options.persistenceWriterFunc]:console.warn(\\\"Persistence Write Error - invalid reader set\\\",this.table.options.persistenceWriterFunc):K.writers[this.mode]?this.writeFunc=K.writers[this.mode]:console.warn(\\\"Persistence Write Error - invalid writer set\\\",this.mode),this.id=\\\"tabulator-\\\"+(n||this.table.element.getAttribute(\\\"id\\\")||\\\"\\\"),this.config={sort:!0===this.table.options.persistence||this.table.options.persistence.sort,filter:!0===this.table.options.persistence||this.table.options.persistence.filter,group:!0===this.table.options.persistence||this.table.options.persistence.group,page:!0===this.table.options.persistence||this.table.options.persistence.page,columns:!0===this.table.options.persistence?[\\\"title\\\",\\\"width\\\",\\\"visible\\\"]:this.table.options.persistence.columns},this.config.page&&(t=this.retreiveData(\\\"page\\\"))&&(void 0===t.paginationSize||!0!==this.config.page&&!this.config.page.size||(this.table.options.paginationSize=t.paginationSize),void 0===t.paginationInitialPage||!0!==this.config.page&&!this.config.page.page||(this.table.options.paginationInitialPage=t.paginationInitialPage)),this.config.group&&(t=this.retreiveData(\\\"group\\\"))&&(void 0===t.groupBy||!0!==this.config.group&&!this.config.group.groupBy||(this.table.options.groupBy=t.groupBy),void 0===t.groupStartOpen||!0!==this.config.group&&!this.config.group.groupStartOpen||(this.table.options.groupStartOpen=t.groupStartOpen),void 0===t.groupHeader||!0!==this.config.group&&!this.config.group.groupHeader||(this.table.options.groupHeader=t.groupHeader)),this.config.columns&&(this.table.options.columns=this.load(\\\"columns\\\",this.table.options.columns),this.subscribe(\\\"column-init\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"column-show\\\",this.save.bind(this,\\\"columns\\\")),this.subscribe(\\\"column-hide\\\",this.save.bind(this,\\\"columns\\\")),this.subscribe(\\\"column-moved\\\",this.save.bind(this,\\\"columns\\\")),this.subscribe(\\\"table-built\\\",this.tableBuilt.bind(this),0)),this.subscribe(\\\"table-redraw\\\",this.tableRedraw.bind(this)),this.subscribe(\\\"filter-changed\\\",this.eventSave.bind(this,\\\"filter\\\")),this.subscribe(\\\"sort-changed\\\",this.eventSave.bind(this,\\\"sort\\\")),this.subscribe(\\\"group-changed\\\",this.eventSave.bind(this,\\\"group\\\")),this.subscribe(\\\"page-changed\\\",this.eventSave.bind(this,\\\"page\\\")),this.subscribe(\\\"column-resized\\\",this.eventSave.bind(this,\\\"columns\\\")),this.subscribe(\\\"layout-refreshed\\\",this.eventSave.bind(this,\\\"columns\\\"))}this.registerTableFunction(\\\"getColumnLayout\\\",this.getColumnLayout.bind(this)),this.registerTableFunction(\\\"setColumnLayout\\\",this.setColumnLayout.bind(this))}eventSave(t){this.config[t]&&this.save(t)}tableBuilt(){var t,e;this.table.options,this.config.sort&&0==!(t=this.load(\\\"sort\\\"))&&(this.table.initialSort=t),this.config.filter&&0==!(e=this.load(\\\"filter\\\"))&&(this.table.initialFilter=e)}tableRedraw(t){t&&this.config.columns&&this.save(\\\"columns\\\")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(t){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,t)),!0}initializeColumn(t){var e;this.config.columns&&(this.defWatcherBlock=!0,e=t.getDefinition(),(!0===this.config.columns?Object.keys(e):this.config.columns).forEach((t=>{var n=Object.getOwnPropertyDescriptor(e,t),r=e[t];n&&Object.defineProperty(e,t,{set:function(t){r=t,this.defWatcherBlock||this.save(\\\"columns\\\"),n.set&&n.set(t)},get:function(){return n.get&&n.get(),r}})})),this.defWatcherBlock=!1)}load(t,e){var n=this.retreiveData(t);return e&&(n=n?this.mergeDefinition(e,n):e),n}retreiveData(t){return!!this.readFunc&&this.readFunc(this.id,t)}mergeDefinition(t,e){var n=[];return(e=e||[]).forEach(((e,r)=>{var i,o=this._findColumn(t,e);o&&(!0===this.config.columns||null==this.config.columns?(i=Object.keys(o)).push(\\\"width\\\"):i=this.config.columns,i.forEach((t=>{\\\"columns\\\"!==t&&void 0!==e[t]&&(o[t]=e[t])})),o.columns&&(o.columns=this.mergeDefinition(o.columns,e.columns)),n.push(o))})),t.forEach(((t,r)=>{this._findColumn(e,t)||(n.length>r?n.splice(r,0,t):n.push(t))})),n}_findColumn(t,e){var n=e.columns?\\\"group\\\":e.field?\\\"field\\\":\\\"object\\\";return t.find((function(t){switch(n){case\\\"group\\\":return t.title===e.title&&t.columns.length===e.columns.length;case\\\"field\\\":return t.field===e.field;case\\\"object\\\":return t===e}}))}save(t){var e={};switch(t){case\\\"columns\\\":e=this.parseColumns(this.table.columnManager.getColumns());break;case\\\"filter\\\":e=this.table.modules.filter.getFilters();break;case\\\"sort\\\":e=this.validateSorters(this.table.modules.sort.getSort());break;case\\\"group\\\":e=this.getGroupConfig();break;case\\\"page\\\":e=this.getPageConfig()}this.writeFunc&&this.writeFunc(this.id,t,e)}validateSorters(t){return t.forEach((function(t){t.column=t.field,delete t.field})),t}getGroupConfig(){var t={};return this.config.group&&((!0===this.config.group||this.config.group.groupBy)&&(t.groupBy=this.table.options.groupBy),(!0===this.config.group||this.config.group.groupStartOpen)&&(t.groupStartOpen=this.table.options.groupStartOpen),(!0===this.config.group||this.config.group.groupHeader)&&(t.groupHeader=this.table.options.groupHeader)),t}getPageConfig(){var t={};return this.config.page&&((!0===this.config.page||this.config.page.size)&&(t.paginationSize=this.table.modules.page.getPageSize()),(!0===this.config.page||this.config.page.page)&&(t.paginationInitialPage=this.table.modules.page.getPage())),t}parseColumns(t){var e=[],n=[\\\"headerContextMenu\\\",\\\"headerMenu\\\",\\\"contextMenu\\\",\\\"clickMenu\\\"];return t.forEach((t=>{var r,i={},o=t.getDefinition();t.isGroup?(i.title=o.title,i.columns=this.parseColumns(t.getColumns())):(i.field=t.getField(),!0===this.config.columns||null==this.config.columns?(r=Object.keys(o)).push(\\\"width\\\"):r=this.config.columns,r.forEach((e=>{switch(e){case\\\"width\\\":i.width=t.getWidth();break;case\\\"visible\\\":i.visible=t.visible;break;default:\\\"function\\\"!=typeof o[e]&&-1===n.indexOf(e)&&(i[e]=o[e])}}))),e.push(i)})),e}}K.moduleName=\\\"persistence\\\",K.readers=Y,K.writers=Z;class J extends o{constructor(t){super(t),this.element=!1,this.manualBlock=!1,this.registerTableOption(\\\"printAsHtml\\\",!1),this.registerTableOption(\\\"printFormatter\\\",!1),this.registerTableOption(\\\"printHeader\\\",!1),this.registerTableOption(\\\"printFooter\\\",!1),this.registerTableOption(\\\"printStyled\\\",!0),this.registerTableOption(\\\"printRowRange\\\",\\\"visible\\\"),this.registerTableOption(\\\"printConfig\\\",{}),this.registerColumnOption(\\\"print\\\"),this.registerColumnOption(\\\"titlePrint\\\")}initialize(){this.table.options.printAsHtml&&(window.addEventListener(\\\"beforeprint\\\",this.replaceTable.bind(this)),window.addEventListener(\\\"afterprint\\\",this.cleanup.bind(this))),this.registerTableFunction(\\\"print\\\",this.printFullscreen.bind(this))}replaceTable(){this.manualBlock||(this.element=document.createElement(\\\"div\\\"),this.element.classList.add(\\\"tabulator-print-table\\\"),this.element.appendChild(this.table.modules.export.genereateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,\\\"print\\\")),this.table.element.style.display=\\\"none\\\",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove(\\\"tabulator-print-fullscreen-hide\\\"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display=\\\"\\\")}printFullscreen(t,e,n){var r,i,o=window.scrollX,a=window.scrollY,s=document.createElement(\\\"div\\\"),l=document.createElement(\\\"div\\\"),u=this.table.modules.export.genereateTable(void 0!==n?n:this.table.options.printConfig,void 0!==e?e:this.table.options.printStyled,t||this.table.options.printRowRange,\\\"print\\\");this.manualBlock=!0,this.element=document.createElement(\\\"div\\\"),this.element.classList.add(\\\"tabulator-print-fullscreen\\\"),this.table.options.printHeader&&(s.classList.add(\\\"tabulator-print-header\\\"),\\\"string\\\"==typeof(r=\\\"function\\\"==typeof this.table.options.printHeader?this.table.options.printHeader.call(this.table):this.table.options.printHeader)?s.innerHTML=r:s.appendChild(r),this.element.appendChild(s)),this.element.appendChild(u),this.table.options.printFooter&&(l.classList.add(\\\"tabulator-print-footer\\\"),\\\"string\\\"==typeof(i=\\\"function\\\"==typeof this.table.options.printFooter?this.table.options.printFooter.call(this.table):this.table.options.printFooter)?l.innerHTML=i:l.appendChild(i),this.element.appendChild(l)),document.body.classList.add(\\\"tabulator-print-fullscreen-hide\\\"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,u),window.print(),this.cleanup(),window.scrollTo(o,a),this.manualBlock=!1}}J.moduleName=\\\"print\\\";class Q extends o{constructor(t){super(t),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption(\\\"reactiveData\\\",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe(\\\"cell-value-save-before\\\",this.block.bind(this)),this.subscribe(\\\"cell-value-save-after\\\",this.unblock.bind(this)),this.subscribe(\\\"row-data-save-before\\\",this.block.bind(this)),this.subscribe(\\\"row-data-save-after\\\",this.unblock.bind(this)),this.subscribe(\\\"row-data-init-after\\\",this.watchRow.bind(this)),this.subscribe(\\\"data-processing\\\",this.watchData.bind(this)),this.subscribe(\\\"table-destroy\\\",this.unwatchData.bind(this)))}watchData(t){var e;this.currentVersion++,e=this.currentVersion,this.unwatchData(),this.data=t,this.origFuncs.push=t.push,Object.defineProperty(this.data,\\\"push\\\",{enumerable:!1,configurable:!0,value:()=>{var n=Array.from(arguments);return this.blocked||e!==this.currentVersion||n.forEach((t=>{this.table.rowManager.addRowActual(t,!1)})),this.origFuncs.push.apply(t,arguments)}}),this.origFuncs.unshift=t.unshift,Object.defineProperty(this.data,\\\"unshift\\\",{enumerable:!1,configurable:!0,value:()=>{var n=Array.from(arguments);return this.blocked||e!==this.currentVersion||n.forEach((t=>{this.table.rowManager.addRowActual(t,!0)})),this.origFuncs.unshift.apply(t,arguments)}}),this.origFuncs.shift=t.shift,Object.defineProperty(this.data,\\\"shift\\\",{enumerable:!1,configurable:!0,value:()=>{var n;return this.blocked||e!==this.currentVersion||this.data.length&&(n=this.table.rowManager.getRowFromDataObject(this.data[0]))&&n.deleteActual(),this.origFuncs.shift.call(t)}}),this.origFuncs.pop=t.pop,Object.defineProperty(this.data,\\\"pop\\\",{enumerable:!1,configurable:!0,value:()=>{var n;return this.blocked||e!==this.currentVersion||this.data.length&&(n=this.table.rowManager.getRowFromDataObject(this.data[this.data.length-1]))&&n.deleteActual(),this.origFuncs.pop.call(t)}}),this.origFuncs.splice=t.splice,Object.defineProperty(this.data,\\\"splice\\\",{enumerable:!1,configurable:!0,value:()=>{var n,r=Array.from(arguments),i=r[0]<0?t.length+r[0]:r[0],o=r[1],a=!!r[2]&&r.slice(2);if(!this.blocked&&e===this.currentVersion){if(a&&((n=!!t[i]&&this.table.rowManager.getRowFromDataObject(t[i]))?a.forEach((t=>{this.table.rowManager.addRowActual(t,!0,n,!0)})):(a=a.slice().reverse()).forEach((t=>{this.table.rowManager.addRowActual(t,!0,!1,!0)}))),0!==o){var s=t.slice(i,void 0===r[1]?r[1]:i+o);s.forEach(((t,e)=>{var n=this.table.rowManager.getRowFromDataObject(t);n&&n.deleteActual(e!==s.length-1)}))}(a||0!==o)&&this.table.rowManager.reRenderInPosition()}return this.origFuncs.splice.apply(t,arguments)}})}unwatchData(){if(!1!==this.data)for(var t in this.origFuncs)Object.defineProperty(this.data,t,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(t){var e=t.getData();for(var n in this.blocked=!0,e)this.watchKey(t,e,n);this.table.options.dataTree&&this.watchTreeChildren(t),this.blocked=!1}watchTreeChildren(t){var e=t.getData()[this.table.options.dataTreeChildField],n={};function r(){this.table.modules.dataTree.initializeRow(t),this.table.modules.dataTree.layoutRow(t),this.table.rowManager.refreshActiveData(\\\"tree\\\",!1,!0)}e&&(n.push=e.push,Object.defineProperty(e,\\\"push\\\",{enumerable:!1,configurable:!0,value:()=>{var t=n.push.apply(e,arguments);return r(),t}}),n.unshift=e.unshift,Object.defineProperty(e,\\\"unshift\\\",{enumerable:!1,configurable:!0,value:()=>{var t=n.unshift.apply(e,arguments);return r(),t}}),n.shift=e.shift,Object.defineProperty(e,\\\"shift\\\",{enumerable:!1,configurable:!0,value:()=>{var t=n.shift.call(e);return r(),t}}),n.pop=e.pop,Object.defineProperty(e,\\\"pop\\\",{enumerable:!1,configurable:!0,value:()=>{var t=n.pop.call(e);return r(),t}}),n.splice=e.splice,Object.defineProperty(e,\\\"splice\\\",{enumerable:!1,configurable:!0,value:()=>{var t=n.splice.apply(e,arguments);return r(),t}}))}watchKey(t,e,n){var r=Object.getOwnPropertyDescriptor(e,n),i=e[n],o=this.currentVersion;Object.defineProperty(e,n,{set:e=>{if(i=e,!this.blocked&&o===this.currentVersion){var a={};a[n]=e,t.updateData(a)}r.set&&r.set(e)},get:()=>(r.get&&r.get(),i)})}unwatchRow(t){var e=t.getData();for(var n in e)Object.defineProperty(e,n,{value:e[n]})}block(){this.blocked=!0}unblock(){this.blocked=!1}}Q.moduleName=\\\"reactiveData\\\";class tt extends o{constructor(t){super(t),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.handle=null,this.prevHandle=null,this.registerColumnOption(\\\"resizable\\\",!0)}initialize(){this.subscribe(\\\"cell-layout\\\",this.layoutCellHandles.bind(this)),this.subscribe(\\\"column-init\\\",this.layoutColumnHeader.bind(this))}layoutCellHandles(t){\\\"row\\\"===t.row.type&&this.initializeColumn(\\\"cell\\\",t.column,t.element)}layoutColumnHeader(t){this.initializeColumn(\\\"header\\\",t,t.element)}initializeColumn(t,e,n){var r=this,i=!1,o=e.definition.resizable;if(\\\"header\\\"===t&&(i=\\\"textarea\\\"==e.definition.formatter||e.definition.variableHeight,e.modules.resize={variableHeight:i}),!0===o||o==t){var a=document.createElement(\\\"div\\\");a.className=\\\"tabulator-col-resize-handle\\\";var s=document.createElement(\\\"div\\\");s.className=\\\"tabulator-col-resize-handle prev\\\",a.addEventListener(\\\"click\\\",(function(t){t.stopPropagation()}));var l=function(t){var n=e.getLastColumn();n&&r._checkResizability(n)&&(r.startColumn=e,r._mouseDown(t,n,a))};a.addEventListener(\\\"mousedown\\\",l),a.addEventListener(\\\"touchstart\\\",l,{passive:!0}),a.addEventListener(\\\"dblclick\\\",(function(t){var n=e.getLastColumn();n&&r._checkResizability(n)&&(t.stopPropagation(),n.reinitializeWidth(!0))})),s.addEventListener(\\\"click\\\",(function(t){t.stopPropagation()}));var u=function(t){var n,i,o;(n=e.getFirstColumn())&&(o=(i=r.table.columnManager.findColumnIndex(n))>0&&r.table.columnManager.getColumnByIndex(i-1))&&r._checkResizability(o)&&(r.startColumn=e,r._mouseDown(t,o,s))};s.addEventListener(\\\"mousedown\\\",u),s.addEventListener(\\\"touchstart\\\",u,{passive:!0}),s.addEventListener(\\\"dblclick\\\",(function(t){var n,i,o;(n=e.getFirstColumn())&&(o=(i=r.table.columnManager.findColumnIndex(n))>0&&r.table.columnManager.getColumnByIndex(i-1))&&r._checkResizability(o)&&(t.stopPropagation(),o.reinitializeWidth(!0))})),n.appendChild(a),n.appendChild(s)}}_checkResizability(t){return t.definition.resizable}_mouseDown(t,e,n){var r=this;function i(t){r.table.rtl?e.setWidth(r.startWidth-((void 0===t.screenX?t.touches[0].screenX:t.screenX)-r.startX)):e.setWidth(r.startWidth+((void 0===t.screenX?t.touches[0].screenX:t.screenX)-r.startX)),r.table.columnManager.renderer.rerenderColumns(!0),!r.table.browserSlow&&e.modules.resize&&e.modules.resize.variableHeight&&e.checkCellHeights()}function o(t){r.startColumn.modules.edit&&(r.startColumn.modules.edit.blocked=!1),r.table.browserSlow&&e.modules.resize&&e.modules.resize.variableHeight&&e.checkCellHeights(),document.body.removeEventListener(\\\"mouseup\\\",o),document.body.removeEventListener(\\\"mousemove\\\",i),n.removeEventListener(\\\"touchmove\\\",i),n.removeEventListener(\\\"touchend\\\",o),r.table.element.classList.remove(\\\"tabulator-block-select\\\"),r.dispatch(\\\"column-resized\\\",e),r.table.externalEvents.dispatch(\\\"columnResized\\\",e.getComponent())}r.table.element.classList.add(\\\"tabulator-block-select\\\"),t.stopPropagation(),r.startColumn.modules.edit&&(r.startColumn.modules.edit.blocked=!0),r.startX=void 0===t.screenX?t.touches[0].screenX:t.screenX,r.startWidth=e.getWidth(),document.body.addEventListener(\\\"mousemove\\\",i),document.body.addEventListener(\\\"mouseup\\\",o),n.addEventListener(\\\"touchmove\\\",i,{passive:!0}),n.addEventListener(\\\"touchend\\\",o)}}tt.moduleName=\\\"resizeColumns\\\";class et extends o{constructor(t){super(t),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption(\\\"resizableRows\\\",!1)}initialize(){this.table.options.resizableRows&&this.subscribe(\\\"row-layout-after\\\",this.initializeRow.bind(this))}initializeRow(t){var e=this,n=t.getElement(),r=document.createElement(\\\"div\\\");r.className=\\\"tabulator-row-resize-handle\\\";var i=document.createElement(\\\"div\\\");i.className=\\\"tabulator-row-resize-handle prev\\\",r.addEventListener(\\\"click\\\",(function(t){t.stopPropagation()}));var o=function(n){e.startRow=t,e._mouseDown(n,t,r)};r.addEventListener(\\\"mousedown\\\",o),r.addEventListener(\\\"touchstart\\\",o,{passive:!0}),i.addEventListener(\\\"click\\\",(function(t){t.stopPropagation()}));var a=function(n){var r=e.table.rowManager.prevDisplayRow(t);r&&(e.startRow=r,e._mouseDown(n,r,i))};i.addEventListener(\\\"mousedown\\\",a),i.addEventListener(\\\"touchstart\\\",a,{passive:!0}),n.appendChild(r),n.appendChild(i)}_mouseDown(t,e,n){var r=this;function i(t){e.setHeight(r.startHeight+((void 0===t.screenY?t.touches[0].screenY:t.screenY)-r.startY))}function o(t){document.body.removeEventListener(\\\"mouseup\\\",i),document.body.removeEventListener(\\\"mousemove\\\",i),n.removeEventListener(\\\"touchmove\\\",i),n.removeEventListener(\\\"touchend\\\",o),r.table.element.classList.remove(\\\"tabulator-block-select\\\"),this.dispatchExternal(\\\"rowResized\\\",e.getComponent())}r.table.element.classList.add(\\\"tabulator-block-select\\\"),t.stopPropagation(),r.startY=void 0===t.screenY?t.touches[0].screenY:t.screenY,r.startHeight=e.getHeight(),document.body.addEventListener(\\\"mousemove\\\",i),document.body.addEventListener(\\\"mouseup\\\",o),n.addEventListener(\\\"touchmove\\\",i,{passive:!0}),n.addEventListener(\\\"touchend\\\",o)}}et.moduleName=\\\"resizeRows\\\";class nt extends o{constructor(t){super(t),this.binding=!1,this.observer=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.registerTableOption(\\\"autoResize\\\",!0)}initialize(){if(this.table.options.autoResize){var t,e=this.table;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),\\\"undefined\\\"!=typeof ResizeObserver&&\\\"virtual\\\"===e.rowManager.getRenderMode()?(this.autoResize=!0,this.observer=new ResizeObserver((t=>{if(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell){var n=Math.floor(t[0].contentRect.height),r=Math.floor(t[0].contentRect.width);this.tableHeight==n&&this.tableWidth==r||(this.tableHeight=n,this.tableWidth=r,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.table.columnManager.renderer.rerenderColumns(!0),e.redraw())}})),this.observer.observe(e.element),t=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(t.getPropertyValue(\\\"max-height\\\")||t.getPropertyValue(\\\"min-height\\\"))&&(this.containerObserver=new ResizeObserver((t=>{if(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell){var n=Math.floor(t[0].contentRect.height),r=Math.floor(t[0].contentRect.width);this.containerHeight==n&&this.containerWidth==r||(this.containerHeight=n,this.containerWidth=r,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),e.columnManager.renderer.rerenderColumns(!0),e.redraw()}})),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe(\\\"table-resize\\\",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell)&&(e.columnManager.renderer.rerenderColumns(!0),e.redraw())},window.addEventListener(\\\"resize\\\",this.binding)),this.subscribe(\\\"table-destroy\\\",this.clearBindings.bind(this))}}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener(\\\"resize\\\",this.binding),this.observer&&this.observer.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}nt.moduleName=\\\"resizeTable\\\";class rt extends o{constructor(t){super(t),this.columns=[],this.hiddenColumns=[],this.mode=\\\"\\\",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption(\\\"responsiveLayout\\\",!1),this.registerTableOption(\\\"responsiveLayoutCollapseStartOpen\\\",!0),this.registerTableOption(\\\"responsiveLayoutCollapseUseFormatters\\\",!0),this.registerTableOption(\\\"responsiveLayoutCollapseFormatter\\\",!1),this.registerColumnOption(\\\"responsive\\\")}initialize(){this.table.options.responsiveLayout&&(this.subscribe(\\\"column-layout\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"column-show\\\",this.updateColumnVisibility.bind(this)),this.subscribe(\\\"column-hide\\\",this.updateColumnVisibility.bind(this)),this.subscribe(\\\"columns-loaded\\\",this.initializeResponsivity.bind(this)),this.subscribe(\\\"column-moved\\\",this.initializeResponsivity.bind(this)),this.subscribe(\\\"column-add\\\",this.initializeResponsivity.bind(this)),this.subscribe(\\\"column-delete\\\",this.initializeResponsivity.bind(this)),this.subscribe(\\\"table-redrawing\\\",this.tableRedraw.bind(this)),\\\"collapse\\\"===this.table.options.responsiveLayout&&(this.subscribe(\\\"row-init\\\",this.initializeRow.bind(this)),this.subscribe(\\\"row-layout\\\",this.layoutRow.bind(this))))}tableRedraw(t){-1===[\\\"fitColumns\\\",\\\"fitDataStretch\\\"].indexOf(this.layoutMode())&&(t||this.update())}initializeResponsivity(){var t=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((function(e,n){e.modules.responsive&&e.modules.responsive.order&&e.modules.responsive.visible&&(e.modules.responsive.index=n,t.push(e),e.visible||\\\"collapse\\\"!==self.mode||self.hiddenColumns.push(e))})),t=(t=t.reverse()).sort((function(t,e){return e.modules.responsive.order-t.modules.responsive.order||e.modules.responsive.index-t.modules.responsive.index})),this.columns=t,\\\"collapse\\\"===this.mode&&this.generateCollapsedContent();for(let t of this.table.columnManager.columnsByIndex)if(\\\"responsiveCollapse\\\"==t.definition.formatter){this.collapseHandleColumn=t;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(t){var e=t.getDefinition();t.modules.responsive={order:void 0===e.responsive?1:e.responsive,visible:!1!==e.visible}}initializeRow(t){var e;\\\"calc\\\"!==t.type&&((e=document.createElement(\\\"div\\\")).classList.add(\\\"tabulator-responsive-collapse\\\"),t.modules.responsiveLayout={element:e,open:this.collapseStartOpen},this.collapseStartOpen||(e.style.display=\\\"none\\\"))}layoutRow(t){var e=t.getElement();t.modules.responsiveLayout&&(e.appendChild(t.modules.responsiveLayout.element),this.generateCollapsedRowContent(t))}updateColumnVisibility(t,e){!e&&t.modules.responsive&&(t.modules.responsive.visible=t.visible,this.initialize())}hideColumn(t){var e=this.hiddenColumns.length;t.hide(!1,!0),\\\"collapse\\\"===this.mode&&(this.hiddenColumns.unshift(t),this.generateCollapsedContent(),this.collapseHandleColumn&&!e&&this.collapseHandleColumn.show())}showColumn(t){var e;t.show(!1,!0),t.setWidth(t.getWidth()),\\\"collapse\\\"===this.mode&&((e=this.hiddenColumns.indexOf(t))>-1&&this.hiddenColumns.splice(e,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var t=this,e=!0;e;){let n=\\\"fitColumns\\\"==t.table.modules.layout.getMode()?t.table.columnManager.getFlexBaseWidth():t.table.columnManager.getWidth(),r=(t.table.options.headerVisible?t.table.columnManager.element.clientWidth:t.table.element.clientWidth)-n;if(r<0){let n=t.columns[t.index];n?(t.hideColumn(n),t.index++):e=!1}else{let n=t.columns[t.index-1];n&&r>0&&r>=n.getWidth()?(t.showColumn(n),t.index--):e=!1}t.table.rowManager.activeRowsCount||t.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var t=this;this.table.rowManager.getDisplayRows().forEach((function(e){t.generateCollapsedRowContent(e)}))}generateCollapsedRowContent(t){var e,n;if(t.modules.responsiveLayout){for(e=t.modules.responsiveLayout.element;e.firstChild;)e.removeChild(e.firstChild);(n=this.collapseFormatter(this.generateCollapsedRowData(t)))&&e.appendChild(n)}}generateCollapsedRowData(t){var e,n=this,r=t.getData(),i=[];return this.hiddenColumns.forEach((function(o){var a=o.getFieldValue(r);o.definition.title&&o.field&&(o.modules.format&&n.table.options.responsiveLayoutCollapseUseFormatters?(e={value:!1,data:{},getValue:function(){return a},getData:function(){return r},getElement:function(){return document.createElement(\\\"div\\\")},getRow:function(){return t.getComponent()},getColumn:function(){return o.getComponent()}},i.push({field:o.field,title:o.definition.title,value:o.modules.format.formatter.call(n.table.modules.format,e,o.modules.format.params)})):i.push({field:o.field,title:o.definition.title,value:a}))})),i}formatCollapsedData(t){var e=document.createElement(\\\"table\\\");return t.forEach((function(t){var n,r=document.createElement(\\\"tr\\\"),i=document.createElement(\\\"td\\\"),o=document.createElement(\\\"td\\\"),a=document.createElement(\\\"strong\\\");i.appendChild(a),this.langBind(\\\"columns|\\\"+t.field,(function(e){a.innerText=e||t.title})),t.value instanceof Node?((n=document.createElement(\\\"div\\\")).appendChild(t.value),o.appendChild(n)):o.innerHTML=t.value,r.appendChild(i),r.appendChild(o),e.appendChild(r)}),this),Object.keys(t).length?e:\\\"\\\"}}rt.moduleName=\\\"responsiveLayout\\\";class it extends o{constructor(t){super(t),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption(\\\"selectable\\\",\\\"highlight\\\"),this.registerTableOption(\\\"selectableRangeMode\\\",\\\"drag\\\"),this.registerTableOption(\\\"selectableRollingSelection\\\",!0),this.registerTableOption(\\\"selectablePersistence\\\",!0),this.registerTableOption(\\\"selectableCheck\\\",(function(t,e){return!0})),this.registerTableFunction(\\\"selectRow\\\",this.selectRows.bind(this)),this.registerTableFunction(\\\"deselectRow\\\",this.deselectRows.bind(this)),this.registerTableFunction(\\\"toggleSelectRow\\\",this.toggleRow.bind(this)),this.registerTableFunction(\\\"getSelectedRows\\\",this.getSelectedRows.bind(this)),this.registerTableFunction(\\\"getSelectedData\\\",this.getSelectedData.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"select\\\",this.selectRows.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"deselect\\\",this.deselectRows.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"toggleSelect\\\",this.toggleRow.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"isSelected\\\",this.isRowSelected.bind(this))}initialize(){!1!==this.table.options.selectable&&(this.subscribe(\\\"row-init\\\",this.initializeRow.bind(this)),this.subscribe(\\\"row-deleting\\\",this.rowDeleted.bind(this)),this.subscribe(\\\"rows-wipe\\\",this.clearSelectionData.bind(this)),this.subscribe(\\\"rows-retrieve\\\",this.clearSelectionData.bind(this)),this.table.options.selectable&&this.table.options.selectablePersistence&&this.subscribe(\\\"data-refeshing\\\",this.deselectRows.bind(this)))}rowRetrieve(t,e){return\\\"selected\\\"===t?this.selectedRows:e}rowDeleted(t){this._deselectRow(t,!0)}clearSelectionData(t){this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],!0!==t&&this._rowSelectionChanged()}initializeRow(t){var e=this,n=t.getElement(),r=function(){setTimeout((function(){e.selecting=!1}),50),document.body.removeEventListener(\\\"mouseup\\\",r)};t.modules.select={selected:!1},e.table.options.selectableCheck.call(this.table,t.getComponent())?(n.classList.add(\\\"tabulator-selectable\\\"),n.classList.remove(\\\"tabulator-unselectable\\\"),e.table.options.selectable&&\\\"highlight\\\"!=e.table.options.selectable&&(\\\"click\\\"===e.table.options.selectableRangeMode?n.addEventListener(\\\"click\\\",(function(n){if(n.shiftKey){e.table._clearSelection(),e.lastClickedRow=e.lastClickedRow||t;var r=e.table.rowManager.getDisplayRowIndex(e.lastClickedRow),i=e.table.rowManager.getDisplayRowIndex(t),o=r<=i?r:i,a=r>=i?r:i,s=e.table.rowManager.getDisplayRows().slice(0).splice(o,a-o+1);n.ctrlKey||n.metaKey?(s.forEach((function(n){n!==e.lastClickedRow&&(!0===e.table.options.selectable||e.isRowSelected(t)||e.selectedRows.length<e.table.options.selectable)&&e.toggleRow(n)})),e.lastClickedRow=t):(e.deselectRows(void 0,!0),!0!==e.table.options.selectable&&s.length>e.table.options.selectable&&(s=s.slice(0,e.table.options.selectable)),e.selectRows(s)),e.table._clearSelection()}else n.ctrlKey||n.metaKey?(e.toggleRow(t),e.lastClickedRow=t):(e.deselectRows(void 0,!0),e.selectRows(t),e.lastClickedRow=t)})):(n.addEventListener(\\\"click\\\",(function(n){e.table.modExists(\\\"edit\\\")&&e.table.modules.edit.getCurrentCell()||e.table._clearSelection(),e.selecting||e.toggleRow(t)})),n.addEventListener(\\\"mousedown\\\",(function(n){if(n.shiftKey)return e.table._clearSelection(),e.selecting=!0,e.selectPrev=[],document.body.addEventListener(\\\"mouseup\\\",r),document.body.addEventListener(\\\"keyup\\\",r),e.toggleRow(t),!1})),n.addEventListener(\\\"mouseenter\\\",(function(n){e.selecting&&(e.table._clearSelection(),e.toggleRow(t),e.selectPrev[1]==t&&e.toggleRow(e.selectPrev[0]))})),n.addEventListener(\\\"mouseout\\\",(function(n){e.selecting&&(e.table._clearSelection(),e.selectPrev.unshift(t))}))))):(n.classList.add(\\\"tabulator-unselectable\\\"),n.classList.remove(\\\"tabulator-selectable\\\"))}toggleRow(t){this.table.options.selectableCheck.call(this.table,t.getComponent())&&(t.modules.select&&t.modules.select.selected?this._deselectRow(t):this._selectRow(t))}selectRows(t){var e;switch(typeof t){case\\\"undefined\\\":this.table.rowManager.rows.forEach((t=>{this._selectRow(t,!0,!0)})),this._rowSelectionChanged();break;case\\\"string\\\":(e=this.table.rowManager.findRow(t))?this._selectRow(e,!0,!0):this.table.rowManager.getRows(t).forEach((t=>{this._selectRow(t,!0,!0)})),this._rowSelectionChanged();break;default:Array.isArray(t)?(t.forEach((t=>{this._selectRow(t,!0,!0)})),this._rowSelectionChanged()):this._selectRow(t,!1,!0)}}_selectRow(t,e,n){if(!isNaN(this.table.options.selectable)&&!0!==this.table.options.selectable&&!n&&this.selectedRows.length>=this.table.options.selectable){if(!this.table.options.selectableRollingSelection)return!1;this._deselectRow(this.selectedRows[0])}var r=this.table.rowManager.findRow(t);r?-1==this.selectedRows.indexOf(r)&&(r.getElement().classList.add(\\\"tabulator-selected\\\"),r.modules.select||(r.modules.select={}),r.modules.select.selected=!0,r.modules.select.checkboxEl&&(r.modules.select.checkboxEl.checked=!0),this.selectedRows.push(r),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(r,!0),e||this.dispatchExternal(\\\"rowSelected\\\",r.getComponent()),this._rowSelectionChanged(e)):e||console.warn(\\\"Selection Error - No such row found, ignoring selection:\\\"+t)}isRowSelected(t){return-1!==this.selectedRows.indexOf(t)}deselectRows(t,e){var n,r=this;if(void 0===t){n=r.selectedRows.length;for(let t=0;t<n;t++)r._deselectRow(r.selectedRows[0],!0);r._rowSelectionChanged(e)}else Array.isArray(t)?(t.forEach((function(t){r._deselectRow(t,!0)})),r._rowSelectionChanged(e)):r._deselectRow(t,e)}_deselectRow(t,e){var n,r=this,i=r.table.rowManager.findRow(t);i?(n=r.selectedRows.findIndex((function(t){return t==i})))>-1&&(i.getElement().classList.remove(\\\"tabulator-selected\\\"),i.modules.select||(i.modules.select={}),i.modules.select.selected=!1,i.modules.select.checkboxEl&&(i.modules.select.checkboxEl.checked=!1),r.selectedRows.splice(n,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(i,!1),e||this.dispatchExternal(\\\"rowDeselected\\\",i.getComponent()),r._rowSelectionChanged(e)):e||console.warn(\\\"Deselection Error - No such row found, ignoring selection:\\\"+t)}getSelectedData(){var t=[];return this.selectedRows.forEach((function(e){t.push(e.getData())})),t}getSelectedRows(){var t=[];return this.selectedRows.forEach((function(e){t.push(e.getComponent())})),t}_rowSelectionChanged(t){this.headerCheckboxElement&&(0===this.selectedRows.length?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),t||this.dispatchExternal(\\\"rowSelectionChanged\\\",this.getSelectedData(),this.getSelectedRows())}registerRowSelectCheckbox(t,e){t._row.modules.select||(t._row.modules.select={}),t._row.modules.select.checkboxEl=e}registerHeaderSelectCheckbox(t){this.headerCheckboxElement=t}childRowSelection(t,e){var n=this.table.modules.dataTree.getChildren(t,!0);if(e)for(let t of n)this._selectRow(t,!0);else for(let t of n)this._deselectRow(t,!0)}}function ot(t,e,n,r,i,o,a){var s=window.DateTime||luxon.DateTime,l=a.format||\\\"dd/MM/yyyy HH:mm:ss\\\",u=a.alignEmptyValues,c=0;if(void 0!==s){if(t=s.fromFormat(t,l),e=s.fromFormat(e,l),t.isValid){if(e.isValid)return t-e;c=1}else c=e.isValid?-1:0;return(\\\"top\\\"===u&&\\\"desc\\\"===o||\\\"bottom\\\"===u&&\\\"asc\\\"===o)&&(c*=-1),c}console.error(\\\"Sort Error - 'datetime' sorter is dependant on luxon.js\\\")}it.moduleName=\\\"selectRow\\\";var at={number:function(t,e,n,r,i,o,a){var s=a.alignEmptyValues,l=a.decimalSeparator,u=a.thousandSeparator,c=0;if(t=String(t),e=String(e),u&&(t=t.split(u).join(\\\"\\\"),e=e.split(u).join(\\\"\\\")),l&&(t=t.split(l).join(\\\".\\\"),e=e.split(l).join(\\\".\\\")),t=parseFloat(t),e=parseFloat(e),isNaN(t))c=isNaN(e)?0:-1;else{if(!isNaN(e))return t-e;c=1}return(\\\"top\\\"===s&&\\\"desc\\\"===o||\\\"bottom\\\"===s&&\\\"asc\\\"===o)&&(c*=-1),c},string:function(t,e,n,r,i,o,a){var s,l=a.alignEmptyValues,u=0;if(t){if(e){switch(typeof a.locale){case\\\"boolean\\\":a.locale&&(s=this.langLocale());break;case\\\"string\\\":s=a.locale}return String(t).toLowerCase().localeCompare(String(e).toLowerCase(),s)}u=1}else u=e?-1:0;return(\\\"top\\\"===l&&\\\"desc\\\"===o||\\\"bottom\\\"===l&&\\\"asc\\\"===o)&&(u*=-1),u},date:function(t,e,n,r,i,o,a){return a.format||(a.format=\\\"dd/MM/yyyy\\\"),ot.call(this,t,e,n,r,i,o,a)},time:function(t,e,n,r,i,o,a){return a.format||(a.format=\\\"HH:mm\\\"),ot.call(this,t,e,n,r,i,o,a)},datetime:ot,boolean:function(t,e,n,r,i,o,a){return(!0===t||\\\"true\\\"===t||\\\"True\\\"===t||1===t?1:0)-(!0===e||\\\"true\\\"===e||\\\"True\\\"===e||1===e?1:0)},array:function(t,e,n,r,i,o,a){var s=a.type||\\\"length\\\",l=a.alignEmptyValues,u=0;function c(t){switch(s){case\\\"length\\\":return t.length;case\\\"sum\\\":return t.reduce((function(t,e){return t+e}));case\\\"max\\\":return Math.max.apply(null,t);case\\\"min\\\":return Math.min.apply(null,t);case\\\"avg\\\":return t.reduce((function(t,e){return t+e}))/t.length}}if(Array.isArray(t)){if(Array.isArray(e))return(t?c(t):0)-(e?c(e):0);l=1}else l=Array.isArray(e)?-1:0;return(\\\"top\\\"===l&&\\\"desc\\\"===o||\\\"bottom\\\"===l&&\\\"asc\\\"===o)&&(u*=-1),u},exists:function(t,e,n,r,i,o,a){return(void 0===t?0:1)-(void 0===e?0:1)},alphanum:function(t,e,n,r,i,o,a){var s,l,u,c,h,p=0,f=/(\\\\d+)|(\\\\D+)/g,d=/\\\\d/,m=a.alignEmptyValues,v=0;if(t||0===t){if(e||0===e){if(isFinite(t)&&isFinite(e))return t-e;if((s=String(t).toLowerCase())===(l=String(e).toLowerCase()))return 0;if(!d.test(s)||!d.test(l))return s>l?1:-1;for(s=s.match(f),l=l.match(f),h=s.length>l.length?l.length:s.length;p<h;)if((u=s[p])!==(c=l[p++]))return isFinite(u)&&isFinite(c)?(\\\"0\\\"===u.charAt(0)&&(u=\\\".\\\"+u),\\\"0\\\"===c.charAt(0)&&(c=\\\".\\\"+c),u-c):u>c?1:-1;return s.length>l.length}v=1}else v=e||0===e?-1:0;return(\\\"top\\\"===m&&\\\"desc\\\"===o||\\\"bottom\\\"===m&&\\\"asc\\\"===o)&&(v*=-1),v}};class st extends o{constructor(t){super(t),this.sortList=[],this.changed=!1,this.registerTableOption(\\\"sortMode\\\",\\\"local\\\"),this.registerTableOption(\\\"initialSort\\\",!1),this.registerTableOption(\\\"columnHeaderSortMulti\\\",!0),this.registerTableOption(\\\"sortOrderReverse\\\",!1),this.registerTableOption(\\\"headerSortElement\\\",\\\"<div class='tabulator-arrow'></div>\\\"),this.registerColumnOption(\\\"sorter\\\"),this.registerColumnOption(\\\"sorterParams\\\"),this.registerColumnOption(\\\"headerSort\\\",!0),this.registerColumnOption(\\\"headerSortStartingDir\\\"),this.registerColumnOption(\\\"headerSortTristate\\\")}initialize(){this.subscribe(\\\"column-layout\\\",this.initializeColumn.bind(this)),this.subscribe(\\\"table-built\\\",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction(\\\"setSort\\\",this.userSetSort.bind(this)),this.registerTableFunction(\\\"getSorters\\\",this.getSort.bind(this)),this.registerTableFunction(\\\"clearSort\\\",this.clearSort.bind(this)),\\\"remote\\\"===this.table.options.sortMode&&this.subscribe(\\\"data-params\\\",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(t,e,n,r){var i=this.getSort();return i.forEach((t=>{delete t.column})),r.sort=i,r}userSetSort(t,e){this.setSort(t,e),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(t){var e,n,r=!1;switch(typeof t.definition.sorter){case\\\"string\\\":st.sorters[t.definition.sorter]?r=st.sorters[t.definition.sorter]:console.warn(\\\"Sort Error - No such sorter found: \\\",t.definition.sorter);break;case\\\"function\\\":r=t.definition.sorter}t.modules.sort={sorter:r,dir:\\\"none\\\",params:t.definition.sorterParams||{},startingDir:t.definition.headerSortStartingDir||\\\"asc\\\",tristate:t.definition.headerSortTristate},!1!==t.definition.headerSort&&((e=t.getElement()).classList.add(\\\"tabulator-sortable\\\"),(n=document.createElement(\\\"div\\\")).classList.add(\\\"tabulator-col-sorter\\\"),\\\"object\\\"==typeof this.table.options.headerSortElement?n.appendChild(this.table.options.headerSortElement):n.innerHTML=this.table.options.headerSortElement,t.titleHolderElement.appendChild(n),t.modules.sort.element=n,e.addEventListener(\\\"click\\\",(e=>{var n=\\\"\\\",r=[],i=!1;if(t.modules.sort){if(t.modules.sort.tristate)n=\\\"none\\\"==t.modules.sort.dir?t.modules.sort.startingDir:t.modules.sort.dir==t.modules.sort.startingDir?\\\"asc\\\"==t.modules.sort.dir?\\\"desc\\\":\\\"asc\\\":\\\"none\\\";else switch(t.modules.sort.dir){case\\\"asc\\\":n=\\\"desc\\\";break;case\\\"desc\\\":n=\\\"asc\\\";break;default:n=t.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(e.shiftKey||e.ctrlKey)?(i=(r=this.getSort()).findIndex((e=>e.field===t.getField())),i>-1?(r[i].dir=n,i!=r.length-1&&(i=r.splice(i,1)[0],\\\"none\\\"!=n&&r.push(i))):\\\"none\\\"!=n&&r.push({column:t,dir:n}),this.setSort(r)):\\\"none\\\"==n?this.clear():this.setSort(t,n),this.refreshSort()}})))}refreshSort(){\\\"remote\\\"===this.table.options.sortMode?this.reloadData():this.refreshData()}hasChanged(){var t=this.changed;return this.changed=!1,t}getSort(){var t=[];return this.sortList.forEach((function(e){e.column&&t.push({column:e.column.getComponent(),field:e.column.getField(),dir:e.dir})})),t}setSort(t,e){var n=this,r=[];Array.isArray(t)||(t=[{column:t,dir:e}]),t.forEach((function(t){var e;(e=n.table.columnManager.findColumn(t.column))?(t.column=e,r.push(t),n.changed=!0):console.warn(\\\"Sort Warning - Sort field does not exist and is being ignored: \\\",t.column)})),n.sortList=r,this.dispatch(\\\"sort-changed\\\")}clear(){this.setSort([])}findSorter(t){var e,n=this.table.rowManager.activeRows[0],r=\\\"string\\\";if(n&&(n=n.getData(),t.getField()))switch(typeof(e=t.getFieldValue(n))){case\\\"undefined\\\":r=\\\"string\\\";break;case\\\"boolean\\\":r=\\\"boolean\\\";break;default:isNaN(e)||\\\"\\\"===e?e.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(r=\\\"alphanum\\\"):r=\\\"number\\\"}return st.sorters[r]}sort(t){var e=this,n=this.table.options.sortOrderReverse?e.sortList.slice().reverse():e.sortList,r=[],i=[];return this.subscribedExternal(\\\"dataSorting\\\")&&this.dispatchExternal(\\\"dataSorting\\\",e.getSort()),e.clearColumnHeaders(),\\\"remote\\\"!==this.table.options.sortMode?(n.forEach((function(t,n){var i=t.column.modules.sort;t.column&&i&&(i.sorter||(i.sorter=e.findSorter(t.column)),t.params=\\\"function\\\"==typeof i.params?i.params(t.column.getComponent(),t.dir):i.params,r.push(t)),e.setColumnHeader(t.column,t.dir)})),r.length&&e._sortItems(t,r)):n.forEach((function(t,n){e.setColumnHeader(t.column,t.dir)})),this.subscribedExternal(\\\"dataSorted\\\")&&(t.forEach((t=>{i.push(t.getComponent())})),this.dispatchExternal(\\\"dataSorted\\\",e.getSort(),i)),t}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach((function(t){t.modules.sort&&(t.modules.sort.dir=\\\"none\\\",t.getElement().setAttribute(\\\"aria-sort\\\",\\\"none\\\"))}))}setColumnHeader(t,e){t.modules.sort.dir=e,t.getElement().setAttribute(\\\"aria-sort\\\",e)}_sortItems(t,e){var n=e.length-1;t.sort(((t,r)=>{for(var i,o=n;o>=0;o--){let n=e[o];if(0!==(i=this._sortRow(t,r,n.column,n.dir,n.params)))break}return i}))}_sortRow(t,e,n,r,i){var o,a,s=\\\"asc\\\"==r?t:e,l=\\\"asc\\\"==r?e:t;return t=void 0!==(t=n.getFieldValue(s.getData()))?t:\\\"\\\",e=void 0!==(e=n.getFieldValue(l.getData()))?e:\\\"\\\",o=s.getComponent(),a=l.getComponent(),n.modules.sort.sorter.call(this,t,e,o,a,n.getComponent(),r,i)}}st.moduleName=\\\"sort\\\",st.sorters=at;var lt={integer:function(t,e,n){return\\\"\\\"===e||null==e||\\\"number\\\"==typeof(e=Number(e))&&isFinite(e)&&Math.floor(e)===e},float:function(t,e,n){return\\\"\\\"===e||null==e||\\\"number\\\"==typeof(e=Number(e))&&isFinite(e)&&e%1!=0},numeric:function(t,e,n){return\\\"\\\"===e||null==e||!isNaN(e)},string:function(t,e,n){return\\\"\\\"===e||null==e||isNaN(e)},max:function(t,e,n){return\\\"\\\"===e||null==e||parseFloat(e)<=n},min:function(t,e,n){return\\\"\\\"===e||null==e||parseFloat(e)>=n},starts:function(t,e,n){return\\\"\\\"===e||null==e||String(e).toLowerCase().startsWith(String(n).toLowerCase())},ends:function(t,e,n){return\\\"\\\"===e||null==e||String(e).toLowerCase().endsWith(String(n).toLowerCase())},minLength:function(t,e,n){return\\\"\\\"===e||null==e||String(e).length>=n},maxLength:function(t,e,n){return\\\"\\\"===e||null==e||String(e).length<=n},in:function(t,e,n){return\\\"\\\"===e||null==e||(\\\"string\\\"==typeof n&&(n=n.split(\\\"|\\\")),\\\"\\\"===e||n.indexOf(e)>-1)},regex:function(t,e,n){return\\\"\\\"===e||null==e||new RegExp(n).test(e)},unique:function(t,e,n){if(\\\"\\\"===e||null==e)return!0;var r=!0,i=t.getData(),o=t.getColumn()._getSelf();return this.table.rowManager.rows.forEach((function(t){var n=t.getData();n!==i&&e==o.getFieldValue(n)&&(r=!1)})),r},required:function(t,e,n){return\\\"\\\"!==e&&null!=e}};class ut extends o{constructor(t){super(t),this.invalidCells=[],this.registerTableOption(\\\"validationMode\\\",\\\"blocking\\\"),this.registerColumnOption(\\\"validator\\\"),this.registerTableFunction(\\\"getInvalidCells\\\",this.getInvalidCells.bind(this)),this.registerTableFunction(\\\"clearCellValidation\\\",this.userClearCellValidation.bind(this)),this.registerTableFunction(\\\"validate\\\",this.userValidate.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"isValid\\\",this.cellIsValid.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"clearValidation\\\",this.clearValidation.bind(this)),this.registerComponentFunction(\\\"cell\\\",\\\"validate\\\",this.cellValidate.bind(this)),this.registerComponentFunction(\\\"column\\\",\\\"validate\\\",this.columnValidate.bind(this)),this.registerComponentFunction(\\\"row\\\",\\\"validate\\\",this.rowValidate.bind(this))}initialize(){this.subscribe(\\\"cell-delete\\\",this.clearValidation.bind(this)),this.subscribe(\\\"column-layout\\\",this.initializeColumnCheck.bind(this))}cellIsValid(t){return!t.modules.validate||!t.modules.validate.invalid}cellValidate(t){return this.validate(t.column.modules.validate,t,t.getValue())}columnValidate(t){var e=[];return t.cells.forEach((function(t){this.cellValidate(t)||e.push(t.getComponent())})),!e.length||e}rowValidate(t){var e=[];return t.cells.forEach((function(t){this.cellValidate(t)||e.push(t.getComponent())})),!e.length||e}userClearCellValidation(t){t||(t=this.getInvalidCells()),Array.isArray(t)||(t=[t]),t.forEach((t=>{this.clearValidation(t._getSelf())}))}userValidate(t){var e=[];return this.table.rowManager.rows.forEach((function(t){var n=t.validate();!0!==n&&(e=e.concat(n))})),!e.length||e}initializeColumnCheck(t){void 0!==t.definition.validator&&this.initializeColumn(t)}initializeColumn(t){var e,n=this,r=[];t.definition.validator&&(Array.isArray(t.definition.validator)?t.definition.validator.forEach((function(t){(e=n._extractValidator(t))&&r.push(e)})):(e=this._extractValidator(t.definition.validator))&&r.push(e),t.modules.validate=!!r.length&&r)}_extractValidator(t){var e,n,r;switch(typeof t){case\\\"string\\\":return(r=t.indexOf(\\\":\\\"))>-1?(e=t.substring(0,r),n=t.substring(r+1)):e=t,this._buildValidator(e,n);case\\\"function\\\":return this._buildValidator(t);case\\\"object\\\":return this._buildValidator(t.type,t.parameters)}}_buildValidator(t,e){var n=\\\"function\\\"==typeof t?t:ut.validators[t];return n?{type:\\\"function\\\"==typeof t?\\\"function\\\":t,func:n,params:e}:(console.warn(\\\"Validator Setup Error - No matching validator found:\\\",t),!1)}validate(t,e,n){var r=this,i=[],o=this.invalidCells.indexOf(e);return t&&t.forEach((function(t){t.func.call(r,e.getComponent(),n,t.params)||i.push({type:t.type,parameters:t.params})})),i=!i.length||i,e.modules.validate||(e.modules.validate={}),!0===i?(e.modules.validate.invalid=!1,e.getElement().classList.remove(\\\"tabulator-validation-fail\\\"),o>-1&&this.invalidCells.splice(o,1)):(e.modules.validate.invalid=!0,\\\"manual\\\"!==this.table.options.validationMode&&e.getElement().classList.add(\\\"tabulator-validation-fail\\\"),-1==o&&this.invalidCells.push(e)),i}getInvalidCells(){var t=[];return this.invalidCells.forEach((e=>{t.push(e.getComponent())})),t}clearValidation(t){var e;t.modules.validate&&t.modules.validate.invalid&&(t.getElement().classList.remove(\\\"tabulator-validation-fail\\\"),t.modules.validate.invalid=!1,(e=this.invalidCells.indexOf(t))>-1&&this.invalidCells.splice(e,1))}}ut.moduleName=\\\"validate\\\",ut.validators=lt;var ct=Object.freeze({__proto__:null,AccessorModule:s,AjaxModule:h,ClipboardModule:p,ColumnCalcsModule:x,DataTreeModule:w,DownloadModule:C,EditModule:T,ExportModule:O,FilterModule:L,FormatModule:z,FrozenColumnsModule:R,FrozenRowsModule:D,GroupRowsModule:N,HistoryModule:F,HtmlTableImportModule:j,InteractionModule:U,KeybindingsModule:q,MenuModule:V,MoveColumnsModule:H,MoveRowsModule:G,MutatorModule:W,PageModule:X,PersistenceModule:K,PrintModule:J,ReactiveDataModule:Q,ResizeColumnsModule:tt,ResizeRowsModule:et,ResizeTableModule:nt,ResponsiveLayoutModule:rt,SelectRowModule:it,SortModule:st,ValidateModule:ut});class ht{constructor(t,e){this.table=t,this.msgType=e,this.registeredDefaults={}}register(t,e){this.registeredDefaults[t]=e}generate(t,e={}){var n=Object.assign({},this.registeredDefaults);if(Object.assign(n,t),!1!==e.debugInvalidOptions||this.table.options.debugInvalidOptions)for(var r in e)n.hasOwnProperty(r)||console.warn(\\\"Invalid \\\"+this.msgType+\\\" option:\\\",r);for(var r in n)r in e?n[r]=e[r]:Array.isArray(n[r])?n[r]=Object.assign([],n[r]):\\\"object\\\"==typeof n[r]&&null!==n[r]?n[r]=Object.assign({},n[r]):void 0===n[r]&&delete n[r];return n}}class pt extends r{constructor(t){super(t),this.elementVertical=t.rowManager.element,this.elementHorizontal=t.columnManager.element,this.tableElement=t.rowManager.tableElement,this.verticalFillMode=\\\"fit\\\"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(t){}renderRows(){}renderColumns(){}rerenderRows(t){t&&t()}rerenderColumns(t,e){}renderRowCells(t){}rerenderRowCells(t,e){}scrollColumns(t,e){}scrollRows(t,e){}resize(){}scrollToRow(t){}scrollToRowNearestTop(t){}visibleRows(t){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(t,e){var n=t.getElement();e%2?(n.classList.add(\\\"tabulator-row-even\\\"),n.classList.remove(\\\"tabulator-row-odd\\\")):(n.classList.add(\\\"tabulator-row-odd\\\"),n.classList.remove(\\\"tabulator-row-even\\\"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(t){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(t,e,n){var r=this.rows().indexOf(t),i=t.getElement(),o=0;return new Promise(((s,l)=>{if(r>-1){if(void 0===n&&(n=this.table.options.scrollToRowIfVisible),!n&&a.elVisible(i)&&(o=a.elOffset(i).top-a.elOffset(this.elementVertical).top)>0&&o<this.elementVertical.clientHeight-i.offsetHeight)return!1;switch(void 0===e&&(e=this.table.options.scrollToRowPosition),\\\"nearest\\\"===e&&(e=this.scrollToRowNearestTop(t)?\\\"top\\\":\\\"bottom\\\"),this.scrollToRow(t),e){case\\\"middle\\\":case\\\"center\\\":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(i.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-i.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case\\\"bottom\\\":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-i.offsetTop)+i.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+i.offsetHeight}s()}else console.warn(\\\"Scroll Error - Row not visible\\\"),l(\\\"Scroll Error - Row not visible\\\")}))}}class ft extends pt{constructor(t){super(t)}renderRowCells(t){t.cells.forEach((e=>{t.element.appendChild(e.getElement()),e.cellRendered()}))}reinitializeColumnWidths(t){t.forEach((function(t){t.reinitializeWidth()}))}}class dt extends pt{constructor(t){super(t),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.window=200,this.initialized=!1,this.columns=[]}initialize(){this.compatabilityCheck()}compatabilityCheck(){var t=this.options(\\\"columns\\\"),e=!0;return\\\"fitDataTable\\\"==this.options(\\\"layout\\\")&&(console.warn(\\\"Horizontal Vitrual DOM is not compatible with fitDataTable layout mode\\\"),e=!1),this.options(\\\"responsiveLayout\\\")&&(console.warn(\\\"Horizontal Vitrual DOM is not compatible with responsive columns\\\"),e=!1),this.options(\\\"rtl\\\")&&(console.warn(\\\"Horizontal Vitrual DOM is not currently compatible with RTL text direction\\\"),e=!1),t&&t.find((t=>t.frozen))&&(console.warn(\\\"Horizontal Vitrual DOM is not compatible with frozen columns\\\"),e=!1),e}renderColumns(t,e){this.dataChange()}scrollColumns(t,e){this.scrollLeft!=t&&(this.scrollLeft=t,this.scroll(t-(this.vDomScrollPosLeft+this.window)))}rerenderColumns(t,e){var n={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol};if(!t||this.initialized){this.clear(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.window,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.window;var r=0;this.table.columnManager.columnsByIndex.forEach((t=>{var e={};if(t.visible){var n=t.getWidth();e.leftPos=r,e.rightPos=r+n,e.width=n,\\\"fitData\\\"===this.options(\\\"layout\\\")&&(e.fitDataCheck=!0),r+n>this.vDomScrollPosLeft&&r<this.vDomScrollPosRight?(-1==this.leftCol&&(this.leftCol=this.columns.length,this.vDomPadLeft=r),this.rightCol=this.columns.length):-1!==this.leftCol&&(this.vDomPadRight+=n),this.columns.push(t),t.modules.vdomHoz=e,r+=n}})),this.tableElement.style.paddingLeft=this.vDomPadLeft+\\\"px\\\",this.tableElement.style.paddingRight=this.vDomPadRight+\\\"px\\\",this.initialized=!0,e||t&&!this.reinitChanged(n)||this.renitializeRows(),this.elementVertical.scrollLeft=this.scrollLeft}}renderRowCells(t){this.initialized?this.initializeRow(t):t.cells.forEach((e=>{t.element.appendChild(e.getElement()),e.cellRendered()}))}rerenderRowCells(t,e){this.reinitializeRow(t,e)}reinitializeColumnWidths(t){for(let t=this.leftCol;t<=this.rightCol;t++)this.columns[t].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var t,e,n=!1,r=0,i=0;if(\\\"fitData\\\"===this.options(\\\"layout\\\")){if(this.table.columnManager.columnsByIndex.forEach((t=>{!t.definition.width&&t.visible&&(n=!0)})),n&&n&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.window,e=this.chain(\\\"rows-sample\\\",[1],[],(()=>this.table.rowManager.getDisplayRows()[0]))[0])){for(t=e.getElement(),e.generateCells(),this.tableElement.appendChild(t),i=0;i<e.cells.length;i++){let n=e.cells[i];if(t.appendChild(n.getElement()),n.column.reinitializeWidth(),(r+=n.column.getWidth())>this.vDomScrollPosRight)break}for(t.parentNode.removeChild(t),this.fitDataColAvg=Math.floor(r/(i+1));i<this.table.columnManager.columnsByIndex.length;i++)this.table.columnManager.columnsByIndex[i].setWidth(this.fitDataColAvg);this.rerenderColumns(!1,!0)}}else\\\"fitColumns\\\"===this.options(\\\"layout\\\")&&(this.layoutRefresh(),this.rerenderColumns(!1,!0))}reinitChanged(t){var e=!0;return t.cols.length!==this.columns.length||t.leftCol!==this.leftCol||t.rightCol!==this.rightCol||(t.cols.forEach(((t,n)=>{t!==this.columns[n]&&(e=!1)})),!e)}renitializeRows(){this.table.rowManager.getVisibleRows().forEach((t=>{this.reinitializeRow(t,!0)}))}scroll(t){this.vDomScrollPosLeft+=t,this.vDomScrollPosRight+=t,t>.8*this.elementVertical.clientWidth?this.rerenderColumns():t>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(t,e,n){for(let r=t;r<e;r++){let t=this.columns[r];t.modules.vdomHoz.leftPos+=n,t.modules.vdomHoz.rightPos+=n}}addColRight(){var t=this.columns[this.rightCol+1];t&&t.modules.vdomHoz.leftPos<=this.vDomScrollPosRight&&(this.table.rowManager.getVisibleRows().forEach((e=>{if(\\\"group\\\"!==e.type){var n=e.getCell(t);e.getElement().appendChild(n.getElement()),n.cellRendered()}})),this.fitDataColActualWidthCheck(t),this.rightCol++,this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=t.getWidth(),this.tableElement.style.paddingRight=this.vDomPadRight+\\\"px\\\",this.addColRight())}addColLeft(){var t=this.columns[this.leftCol-1];t&&t.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft&&(this.table.rowManager.getVisibleRows().forEach((e=>{if(\\\"group\\\"!==e.type){var n=e.getCell(t);e.getElement().prepend(n.getElement()),n.cellRendered()}})),this.fitDataColActualWidthCheck(t),this.leftCol?this.vDomPadLeft-=t.getWidth():this.vDomPadLeft=0,this.tableElement.style.paddingLeft=this.vDomPadLeft+\\\"px\\\",this.leftCol--,this.addColLeft())}removeColRight(t){var e;(t=this.columns[this.rightCol])&&t.modules.vdomHoz.leftPos>this.vDomScrollPosRight&&(e=this.table.rowManager.getVisibleRows(),t.modules.vdomHoz.visible=!1,e.forEach((e=>{if(\\\"group\\\"!==e.type){var n=e.getCell(t);e.getElement().removeChild(n.getElement())}})),this.vDomPadRight+=t.getWidth(),this.tableElement.style.paddingRight=this.vDomPadRight+\\\"px\\\",this.rightCol--,this.removeColRight())}removeColLeft(){var t=this.columns[this.leftCol];t&&t.modules.vdomHoz.rightPos<this.vDomScrollPosLeft&&(this.table.rowManager.getVisibleRows().forEach((e=>{if(\\\"group\\\"!==e.type){var n=e.getCell(t);n.parentNode&&e.getElement().removeChild(n.getElement())}})),this.vDomPadLeft+=t.getWidth(),this.tableElement.style.paddingLeft=this.vDomPadLeft+\\\"px\\\",this.leftCol++,this.removeColLeft())}fitDataColActualWidthCheck(t){var e,n;t.modules.vdomHoz.fitDataCheck&&(t.reinitializeWidth(),(n=(e=t.getWidth())-t.modules.vdomHoz.width)&&(t.modules.vdomHoz.rightPos+=n,t.modules.vdomHoz.width=e,this.colPositionAdjust(this.rightCol+2,this.columns.length,n)),t.modules.vdomHoz.fitDataCheck=!1)}initializeRow(t){if(\\\"group\\\"!==t.type){t.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol};for(let e=this.leftCol;e<=this.rightCol;e++){let n=this.columns[e];if(n&&n.visible){let e=t.getCell(n);t.getElement().appendChild(e.getElement()),e.cellRendered()}}}}reinitializeRow(t,e){if(\\\"group\\\"!==t.type&&(e||!t.modules.vdomHoz||t.modules.vdomHoz.leftCol!==this.leftCol||t.modules.vdomHoz.rightCol!==this.rightCol)){for(var n=t.getElement();n.firstChild;)n.removeChild(n.firstChild);this.initializeRow(t)}}}class mt extends r{constructor(t){super(t),this.blockHozScrollEvent=!1,this.headersElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new ht(this.table,\\\"column definition\\\"),this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.element=this.createHeaderElement(),this.element.insertBefore(this.headersElement,this.element.firstChild),this.subscribe(\\\"scroll-horizontal\\\",this.scrollHorizontal.bind(this))}initializeRenderer(){var t,e={virtual:dt,basic:ft};(t=\\\"string\\\"==typeof this.table.options.renderHorizontal?e[this.table.options.renderHorizontal]:this.table.options.renderHorizontal)?(this.renderer=new t(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error(\\\"Unable to find matching renderer:\\\",table.options.renderHorizontal)}createHeadersElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-headers\\\"),t}createHeaderElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-header\\\"),this.table.options.headerVisible||t.classList.add(\\\"tabulator-header-hidden\\\"),t}getElement(){return this.element}getHeadersElement(){return this.headersElement}scrollHorizontal(t){var e=0,n=this.element.scrollWidth-this.table.element.clientWidth;this.element.scrollLeft=t,t>n?(e=t-n,this.element.style.marginLeft=-e+\\\"px\\\"):this.element.style.marginLeft=0,this.scrollLeft=t,this.renderer.scrollColumns(t)}generateColumnsFromRowData(t){var e,n,r=[],i=this.table.options.autoColumnsDefinitions;if(t&&t.length){for(var o in e=t[0]){let t={field:o,title:o},i=e[o];switch(typeof i){case\\\"undefined\\\":n=\\\"string\\\";break;case\\\"boolean\\\":n=\\\"boolean\\\";break;case\\\"object\\\":n=Array.isArray(i)?\\\"array\\\":\\\"string\\\";break;default:n=isNaN(i)||\\\"\\\"===i?i.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?\\\"alphanum\\\":\\\"string\\\":\\\"number\\\"}t.sorter=n,r.push(t)}if(i)switch(typeof i){case\\\"function\\\":this.table.options.columns=i.call(this.table,r);break;case\\\"object\\\":Array.isArray(i)?r.forEach((t=>{var e=i.find((e=>e.field===t.field));e&&Object.assign(t,e)})):r.forEach((t=>{i[t.field]&&Object.assign(t,i[t.field])})),this.table.options.columns=r}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(t,e){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch(\\\"columns-loading\\\"),t.forEach(((t,e)=>{this._addColumn(t)})),this._reIndexColumns(),this.dispatch(\\\"columns-loaded\\\"),this.renderer.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(t,e,n){var r=new g(t,this),i=r.getElement(),o=n?this.findColumnIndex(n):n;if(n&&o>-1){var a=this.columns.indexOf(n.getTopColumn()),s=n.getElement();e?(this.columns.splice(a,0,r),s.parentNode.insertBefore(i,s)):(this.columns.splice(a+1,0,r),s.parentNode.insertBefore(i,s.nextSibling))}else e?(this.columns.unshift(r),this.headersElement.insertBefore(r.getElement(),this.headersElement.firstChild)):(this.columns.push(r),this.headersElement.appendChild(r.getElement())),r.columnRendered();return r}registerColumnField(t){t.definition.field&&(this.columnsByField[t.definition.field]=t)}registerColumnPosition(t){this.columnsByIndex.push(t)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach((function(t){t.reRegisterPosition()}))}_verticalAlignHeaders(){var t=0;this.columns.forEach((e=>{var n;e.clearVerticalAlign(),(n=e.getHeight())>t&&(t=n)})),this.columns.forEach((e=>{e.verticalAlign(this.table.options.columnHeaderVertAlign,t)})),this.table.rowManager.adjustTableSize()}findColumn(t){return\\\"object\\\"!=typeof t?this.columnsByField[t]||!1:t instanceof g?t:t instanceof v?t._getSelf()||!1:\\\"undefined\\\"!=typeof HTMLElement&&t instanceof HTMLElement&&this.columns.find((e=>e.element===t))||!1}getColumnByField(t){return this.columnsByField[t]}getColumnsByFieldRoot(t){var e=[];return Object.keys(this.columnsByField).forEach((n=>{n.split(\\\".\\\")[0]===t&&e.push(this.columnsByField[n])})),e}getColumnByIndex(t){return this.columnsByIndex[t]}getFirstVisibileColumn(t){return(t=this.columnsByIndex.findIndex((t=>t.visible)))>-1&&this.columnsByIndex[t]}getColumns(){return this.columns}findColumnIndex(t){return this.columnsByIndex.findIndex((e=>t===e))}getRealColumns(){return this.columnsByIndex}traverse(t){this.columnsByIndex.forEach(((e,n)=>{t(e,n)}))}getDefinitions(t){var e=[];return this.columnsByIndex.forEach((n=>{(!t||t&&n.visible)&&e.push(n.getDefinition())})),e}getDefinitionTree(){var t=[];return this.columns.forEach((e=>{t.push(e.getDefinition(!0))})),t}getComponents(t){var e=[];return(t?this.columns:this.columnsByIndex).forEach((t=>{e.push(t.getComponent())})),e}getWidth(){var t=0;return this.columnsByIndex.forEach((e=>{e.visible&&(t+=e.getWidth())})),t}moveColumn(t,e,n){this.moveColumnActual(t,e,n),e.element.parentNode.insertBefore(t.element,e.element),n&&e.element.parentNode.insertBefore(e.element,t.element),this._verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(t,e,n){t.parent.isGroup?this._moveColumnInArray(t.parent.columns,t,e,n):this._moveColumnInArray(this.columns,t,e,n),this._moveColumnInArray(this.columnsByIndex,t,e,n,!0),this.renderer.rerenderColumns(!0),this.dispatch(\\\"column-moved\\\",t,e,n),this.subscribedExternal(\\\"columnMoved\\\")&&this.dispatchExternal(\\\"columnMoved\\\",t.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(t,e,n,r,i){var o,a=t.indexOf(e);a>-1&&(t.splice(a,1),(o=t.indexOf(n))>-1?r&&(o+=1):o=a,t.splice(o,0,e),i&&(this.chain(\\\"column-moving-rows\\\",[e,n,r],null,[])||[]).concat(this.table.rowManager.rows).forEach((function(t){if(t.cells.length){var e=t.cells.splice(a,1)[0];t.cells.splice(o,0,e)}})))}scrollToColumn(t,e,n){var r=0,i=0,o=0,a=t.getElement();return new Promise(((s,l)=>{if(void 0===e&&(e=this.table.options.scrollToColumnPosition),void 0===n&&(n=this.table.options.scrollToColumnIfVisible),t.visible){switch(e){case\\\"middle\\\":case\\\"center\\\":o=-this.element.clientWidth/2;break;case\\\"right\\\":o=a.clientWidth-this.headersElement.clientWidth}if(!n&&(i=a.offsetLeft)>0&&i+a.offsetWidth<this.element.clientWidth)return!1;r=a.offsetLeft+o,r=Math.max(Math.min(r,this.table.rowManager.element.scrollWidth-this.table.rowManager.element.clientWidth),0),this.table.rowManager.scrollHorizontal(r),this.scrollHorizontal(r),s()}else console.warn(\\\"Scroll Error - Column not visible\\\"),l(\\\"Scroll Error - Column not visible\\\")}))}generateCells(t){var e=[];return this.columnsByIndex.forEach((n=>{e.push(n.generateCell(t))})),e}getFlexBaseWidth(){var t=this.table.element.clientWidth,e=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(t-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach((function(n){var r,i,o;n.visible&&(r=n.definition.width||0,i=parseInt(n.minWidth),o=\\\"string\\\"==typeof r?r.indexOf(\\\"%\\\")>-1?t/100*parseInt(r):parseInt(r):r,e+=o>i?o:i)})),e}addColumn(t,e,n){return new Promise(((r,i)=>{var o=this._addColumn(t,e,n);this._reIndexColumns(),this.dispatch(\\\"column-add\\\",t,e,n),this.redraw(!0),\\\"fitColumns\\\"!=this.layoutMode()&&o.reinitializeWidth(),this._verticalAlignHeaders(),this.table.rowManager.reinitialize(),this.renderer.rerenderColumns(),r(o)}))}deregisterColumn(t){var e,n=t.getField();n&&delete this.columnsByField[n],(e=this.columnsByIndex.indexOf(t))>-1&&this.columnsByIndex.splice(e,1),(e=this.columns.indexOf(t))>-1&&this.columns.splice(e,1),this._verticalAlignHeaders(),this.redraw()}redraw(t){t&&(a.elVisible(this.element)&&this._verticalAlignHeaders(),this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm(\\\"table-redrawing\\\",t)||this.layoutRefresh(),this.dispatch(\\\"table-redraw\\\",t),this.table.footerManager.redraw()}}class vt extends pt{constructor(t){super(t),this.verticalFillMode=\\\"fill\\\",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var t=this.tableElement;t.firstChild;)t.removeChild(t.firstChild);t.scrollTop=0,t.scrollLeft=0,t.style.minWidth=\\\"\\\",t.style.minHeight=\\\"\\\",t.style.display=\\\"\\\",t.style.visibility=\\\"\\\"}renderRows(){var t=this.tableElement,e=!0;this.rows().forEach(((n,r)=>{this.styleRow(n,r),t.appendChild(n.getElement()),n.initialize(!0),\\\"group\\\"!==n.type&&(e=!1)})),t.style.minWidth=e?this.table.columnManager.getWidth()+\\\"px\\\":\\\"\\\"}rerenderRows(t){this.render(),t&&t()}scrollToRowNearestTop(t){var e=a.elOffset(t.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-e)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-e))}scrollToRow(t){var e=t.getElement();this.elementVertical.scrollTop=a.elOffset(e).top-a.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(t){return this.rows()}}class gt extends pt{constructor(t){super(t),this.verticalFillMode=\\\"fill\\\",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var t=this.tableElement;t.firstChild;)t.removeChild(t.firstChild);t.style.paddingTop=\\\"\\\",t.style.paddingBottom=\\\"\\\",t.style.minWidth=\\\"\\\",t.style.minHeight=\\\"\\\",t.style.display=\\\"\\\",t.style.visibility=\\\"\\\",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(t){for(var e=this.elementVertical.scrollTop,n=!1,r=!1,i=this.table.rowManager.scrollLeft,o=this.rows(),a=this.vDomTop;a<=this.vDomBottom;a++)if(o[a]){var s=e-o[a].getElement().offsetTop;if(!(!1===r||Math.abs(s)<r))break;r=s,n=a}t&&t(),this._virtualRenderFill(!1===n?this.rows.length-1:n,!0,r||0),this.scrollColumns(i)}scrollColumns(t){this.table.rowManager.scrollHorizontal(t)}scrollRows(t,e){var n=t-this.vDomScrollPosTop,r=t-this.vDomScrollPosBottom,i=2*this.vDomWindowBuffer,o=this.rows();if(this.scrollTop=t,-n>i||r>i){var a=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*o.length)),this.scrollColumns(a)}else e?(n<0&&this._addTopRow(o,-n),r<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(o,-r):this.vDomScrollPosBottom=this.scrollTop)):(r>=0&&this._addBottomRow(o,r),n>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(o,n):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(t){var e=this.rows().indexOf(t);return!(Math.abs(this.vDomTop-e)>Math.abs(this.vDomBottom-e))}scrollToRow(t){var e=this.rows().indexOf(t);e>-1&&this._virtualRenderFill(e,!0)}visibleRows(t){var e=this.elementVertical.scrollTop,n=this.elementVertical.clientHeight+e,r=!1,i=0,o=0,a=this.rows();if(t)i=this.vDomTop,o=this.vDomBottom;else for(var s=this.vDomTop;s<=this.vDomBottom;s++)if(a[s])if(r){if(!(n-a[s].getElement().offsetTop>=0))break;o=s}else if(e-a[s].getElement().offsetTop>=0)i=s;else{if(r=!0,!(n-a[s].getElement().offsetTop>=0))break;o=s}return a.slice(i,o+1)}_virtualRenderFill(t,e,n){var r=this.tableElement,i=this.elementVertical,o=0,s=0,l=0,u=0,c=0,h=this.rows(),p=h.length,f=this.elementVertical.clientHeight;if(n=n||0,t=t||0){for(;r.firstChild;)r.removeChild(r.firstChild);(l=(p-t+1)*this.vDomRowHeight)<f&&(t-=Math.ceil((f-l)/this.vDomRowHeight))<0&&(t=0),t-=o=Math.min(Math.max(Math.floor(this.vDomWindowBuffer/this.vDomRowHeight),this.vDomWindowMinMarginRows),t)}else this.clear();if(p&&a.elVisible(this.elementVertical)){for(this.vDomTop=t,this.vDomBottom=t-1;(s<=f+this.vDomWindowBuffer||c<this.vDomWindowMinTotalRows)&&this.vDomBottom<p-1;){var d,m=this.vDomBottom+1,v=h[m];this.styleRow(v,m),r.appendChild(v.getElement()),v.initialize(),v.heightInitialized||v.normalizeHeight(!0),d=v.getHeight(),c<o?u+=d:s+=d,d>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*d),this.vDomBottom++,c++}t?(this.vDomTopPad=e?this.vDomRowHeight*this.vDomTop+n:this.scrollTop-u,this.vDomBottomPad=this.vDomBottom==p-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-s-u,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((s+u)/c),this.vDomBottomPad=this.vDomRowHeight*(p-this.vDomBottom-1),this.vDomScrollHeight=u+s+this.vDomBottomPad-f),r.style.paddingTop=this.vDomTopPad+\\\"px\\\",r.style.paddingBottom=this.vDomBottomPad+\\\"px\\\",e&&(this.scrollTop=this.vDomTopPad+u+n-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-f:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-f),this.elementVertical.scrollWidth>this.elementVertical.offsetWidth&&e&&(this.scrollTop+=this.elementVertical.offsetHeight-f),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,i.scrollTop=this.scrollTop,this.dispatch(\\\"render-virtual-fill\\\")}}_addTopRow(t,e){for(var n=this.tableElement,r=[],i=0,o=this.vDomTop-1,a=0;this.vDomTop;){let s,l,u=t[o];if(!(u&&a<this.vDomMaxRenderChain))break;if(s=u.getHeight()||this.vDomRowHeight,l=u.initialized,!(e>=s))break;this.styleRow(u,o),n.insertBefore(u.getElement(),n.firstChild),u.initialized&&u.heightInitialized||r.push(u),u.initialize(),l||(s=u.getElement().offsetHeight,s>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*s)),e-=s,i+=s,this.vDomTop--,o--,a++}for(let t of r)t.clearCellHeight();this._quickNormalizeRowHeight(r),i&&(this.vDomTopPad-=i,this.vDomTopPad<0&&(this.vDomTopPad=o*this.vDomRowHeight),o<1&&(this.vDomTopPad=0),n.style.paddingTop=this.vDomTopPad+\\\"px\\\",this.vDomScrollPosTop-=i)}_removeTopRow(t,e){for(var n=[],r=0,i=0;;){let o,a=t[this.vDomTop];if(!(a&&i<this.vDomMaxRenderChain))break;if(o=a.getHeight()||this.vDomRowHeight,!(e>=o))break;this.vDomTop++,e-=o,r+=o,n.push(a),i++}for(let t of n){let e=t.getElement();e.parentNode&&e.parentNode.removeChild(e)}r&&(this.vDomTopPad+=r,this.tableElement.style.paddingTop=this.vDomTopPad+\\\"px\\\",this.vDomScrollPosTop+=this.vDomTop?r:r+this.vDomWindowBuffer)}_addBottomRow(t,e){for(var n=this.tableElement,r=[],i=0,o=this.vDomBottom+1,a=0;;){let s,l,u=t[o];if(!(u&&a<this.vDomMaxRenderChain))break;if(s=u.getHeight()||this.vDomRowHeight,l=u.initialized,!(e>=s))break;this.styleRow(u,o),n.appendChild(u.getElement()),u.initialized&&u.heightInitialized||r.push(u),u.initialize(),l||(s=u.getElement().offsetHeight,s>this.vDomWindowBuffer&&(this.vDomWindowBuffer=2*s)),e-=s,i+=s,this.vDomBottom++,o++,a++}for(let t of r)t.clearCellHeight();this._quickNormalizeRowHeight(r),i&&(this.vDomBottomPad-=i,(this.vDomBottomPad<0||o==t.length-1)&&(this.vDomBottomPad=0),n.style.paddingBottom=this.vDomBottomPad+\\\"px\\\",this.vDomScrollPosBottom+=i)}_removeBottomRow(t,e){for(var n=[],r=0,i=0;;){let o,a=t[this.vDomBottom];if(!(a&&i<this.vDomMaxRenderChain))break;if(o=a.getHeight()||this.vDomRowHeight,!(e>=o))break;this.vDomBottom--,e-=o,r+=o,n.push(a),i++}for(let t of n){let e=t.getElement();e.parentNode&&e.parentNode.removeChild(e)}r&&(this.vDomBottomPad+=r,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+\\\"px\\\",this.vDomScrollPosBottom-=r)}_quickNormalizeRowHeight(t){for(let e of t)e.calcHeight();for(let e of t)e.setCellHeight()}}class yt extends r{constructor(t){super(t),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.firstRender=!1,this.renderMode=\\\"virtual\\\",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.rowNumColumn=!1,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRederInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.renderer=null}createHolderElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-tableholder\\\"),t.setAttribute(\\\"tabindex\\\",0),t}createTableElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-table\\\"),t}getElement(){return this.element}getTableElement(){return this.tableElement}getRowPosition(t,e){return e?this.activeRows.indexOf(t):this.rows.indexOf(t)}initialize(){this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener(\\\"scroll\\\",(()=>{var t=this.element.scrollLeft,e=this.scrollLeft>t,n=this.element.scrollTop,r=this.scrollTop>n;this.scrollLeft!=t&&(this.scrollLeft=t,this.dispatch(\\\"scroll-horizontal\\\",t,e),this.dispatchExternal(\\\"scrollHorizontal\\\",t,e)),this.scrollTop!=n&&(this.scrollTop=n,this.renderer.scrollRows(n,r),this.dispatch(\\\"scroll-vertical\\\",n,r),this.dispatchExternal(\\\"scrollVertical\\\",n,r))}))}findRow(t){return\\\"object\\\"!=typeof t?null!=t&&(this.rows.find((e=>e.data[this.table.options.index]==t))||!1):t instanceof _?t:t instanceof y?t._getSelf()||!1:\\\"undefined\\\"!=typeof HTMLElement&&t instanceof HTMLElement&&this.rows.find((e=>e.getElement()===t))||!1}getRowFromDataObject(t){return this.rows.find((e=>e.data===t))||!1}getRowFromPosition(t,e){return e?this.activeRows[t]:this.rows[t]}scrollToRow(t,e,n){return this.renderer.scrollToRowPosition(t,e,n)}setData(t,e,n){return new Promise(((r,i)=>{e&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(t,!0):this.reRenderInPosition((()=>{this._setDataActual(t)})):(this.table.options.autoColumns&&n&&this.table.columnManager.generateColumnsFromRowData(t),this.resetScroll(),this._setDataActual(t)),r()}))}_setDataActual(t,e){this.dispatchExternal(\\\"dataProcessing\\\",t),this._wipeElements(),Array.isArray(t)?(this.dispatch(\\\"data-processing\\\",t),t.forEach(((t,e)=>{if(t&&\\\"object\\\"==typeof t){var n=new _(t,this);this.rows.push(n)}else console.warn(\\\"Data Loading Warning - Invalid row data detected and ignored, expecting object but received:\\\",t)})),this.refreshActiveData(!1,!1,e),this.dispatch(\\\"data-processed\\\",t),this.dispatchExternal(\\\"dataProcessed\\\",t)):console.error(\\\"Data Loading Error - Unable to process data due to invalid data type \\\\nExpecting: array \\\\nReceived: \\\",typeof t,\\\"\\\\nData: \\\",t)}_wipeElements(){this.dispatch(\\\"rows-wipe\\\"),this.rows.forEach((t=>{t.wipe()})),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.adjustTableSize()}deleteRow(t,e){var n=this.rows.indexOf(t),r=this.activeRows.indexOf(t);r>-1&&this.activeRows.splice(r,1),n>-1&&this.rows.splice(n,1),this.setActiveRows(this.activeRows),this.displayRowIterator((e=>{var n=e.indexOf(t);n>-1&&e.splice(n,1)})),e||this.reRenderInPosition(),this.regenerateRowNumbers(),this.dispatchExternal(\\\"rowDeleted\\\",t.getComponent()),this.displayRowsCount||this._showPlaceholder(),this.subscribedExternal(\\\"dataChanged\\\")&&this.dispatchExternal(\\\"dataChanged\\\",this.getData())}addRow(t,e,n,r){var i=this.addRowActual(t,e,n,r);return this.dispatch(\\\"row-added\\\",i,t,e,n),i}addRows(t,e,n){var r=[];return new Promise(((i,o)=>{e=this.findAddRowPos(e),Array.isArray(t)||(t=[t]),t.length,(void 0===n&&e||void 0!==n&&!e)&&t.reverse(),t.forEach(((i,o)=>{var a=this.addRow(i,e,n,!0);r.push(a),this.dispatch(\\\"row-added\\\",a,t,e,n)})),this.reRenderInPosition(),this.regenerateRowNumbers(),r.length&&this._clearPlaceholder(),i(r)}))}findAddRowPos(t){return void 0===t&&(t=this.table.options.addRowPos),\\\"pos\\\"===t&&(t=!0),\\\"bottom\\\"===t&&(t=!1),t}addRowActual(t,e,n,r){var i,o,a=t instanceof _?t:new _(t||{},this),s=this.findAddRowPos(e),l=-1;return n||(o=this.chain(\\\"row-adding-position\\\",[a,s],null,{index:n,top:s}),n=o.index,s=o.top),void 0!==n&&(n=this.findRow(n)),(n=this.chain(\\\"row-adding-index\\\",[a,n,s],null,n))&&(l=this.rows.indexOf(n)),n&&l>-1?(i=this.activeRows.indexOf(n),this.displayRowIterator((function(t){var e=t.indexOf(n);e>-1&&t.splice(s?e:e+1,0,a)})),i>-1&&this.activeRows.splice(s?i:i+1,0,a),this.rows.splice(s?l:l+1,0,a)):s?(this.displayRowIterator((function(t){t.unshift(a)})),this.activeRows.unshift(a),this.rows.unshift(a)):(this.displayRowIterator((function(t){t.push(a)})),this.activeRows.push(a),this.rows.push(a)),this.setActiveRows(this.activeRows),this.dispatchExternal(\\\"rowAdded\\\",a.getComponent()),this.subscribedExternal(\\\"dataChanged\\\")&&this.dispatchExternal(\\\"dataChanged\\\",this.table.rowManager.getData()),r||this.reRenderInPosition(),a}moveRow(t,e,n){this.dispatch(\\\"row-move\\\",t,e,n),this.moveRowActual(t,e,n),this.regenerateRowNumbers(),this.dispatch(\\\"row-moved\\\",t,e,n),this.dispatchExternal(\\\"rowMoved\\\",t.getComponent())}moveRowActual(t,e,n){this.moveRowInArray(this.rows,t,e,n),this.moveRowInArray(this.activeRows,t,e,n),this.displayRowIterator((r=>{this.moveRowInArray(r,t,e,n)})),this.dispatch(\\\"row-moving\\\",t,e,n)}moveRowInArray(t,e,n,r){var i,o,a;if(e!==n&&((i=t.indexOf(e))>-1&&(t.splice(i,1),(o=t.indexOf(n))>-1?r?t.splice(o+1,0,e):t.splice(o,0,e):t.splice(i,0,e)),t===this.getDisplayRows())){a=o>i?o:i+1;for(let e=i<o?i:o;e<=a;e++)t[e]&&this.styleRow(t[e],e)}}clearData(){this.setData([])}getRowIndex(t){return this.findRowIndex(t,this.rows)}getDisplayRowIndex(t){var e=this.getDisplayRows().indexOf(t);return e>-1&&e}nextDisplayRow(t,e){var n=this.getDisplayRowIndex(t),r=!1;return!1!==n&&n<this.displayRowsCount-1&&(r=this.getDisplayRows()[n+1]),!r||r instanceof _&&\\\"row\\\"==r.type?r:this.nextDisplayRow(r,e)}prevDisplayRow(t,e){var n=this.getDisplayRowIndex(t),r=!1;return n&&(r=this.getDisplayRows()[n-1]),!e||!r||r instanceof _&&\\\"row\\\"==r.type?r:this.prevDisplayRow(r,e)}findRowIndex(t,e){var n;return!!((t=this.findRow(t))&&(n=e.indexOf(t))>-1)&&n}getData(t,e){var n=[];return this.getRows(t).forEach((function(t){\\\"row\\\"==t.type&&n.push(t.getData(e||\\\"data\\\"))})),n}getComponents(t){var e=[];return this.getRows(t).forEach((function(t){e.push(t.getComponent())})),e}getDataCount(t){return this.getRows(t).length}scrollHorizontal(t){this.scrollLeft=t,this.element.scrollLeft=t,this.dispatch(\\\"scroll-horizontal\\\",t)}registerDataPipelineHandler(t,e){void 0!==e?(this.dataPipeline.push({handler:t,priority:e}),this.dataPipeline.sort(((t,e)=>t.priority-e.priority))):console.error(\\\"Data pipeline handlers must have a priority in order to be registered\\\")}registerDisplayPipelineHandler(t,e){void 0!==e?(this.displayPipeline.push({handler:t,priority:e}),this.displayPipeline.sort(((t,e)=>t.priority-e.priority))):console.error(\\\"Display pipeline handlers must have a priority in order to be registered\\\")}refreshActiveData(t,e,n){var r=this.table,i=\\\"\\\",o=0,s=[\\\"all\\\",\\\"dataPipeline\\\",\\\"display\\\",\\\"displayPipeline\\\",\\\"end\\\"];if(\\\"function\\\"==typeof t)if((o=this.dataPipeline.findIndex((e=>e.handler===t)))>-1)i=\\\"dataPipeline\\\",e&&(o==this.dataPipeline.length-1?i=\\\"display\\\":o++);else{if(!((o=this.displayPipeline.findIndex((e=>e.handler===t)))>-1))return void console.error(\\\"Unable to refresh data, invalid handler provided\\\",t);i=\\\"displayPipeline\\\",e&&(o==this.displayPipeline.length-1?i=\\\"end\\\":o++)}else i=t||\\\"all\\\",o=0;if(this.redrawBlock)(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===i&&o<this.redrawBlockRestoreConfig.index||s.indexOf(i)<s.indexOf(this.redrawBlockRestoreConfig.stage)))&&(this.redrawBlockRestoreConfig={handler:t,skipStage:e,renderInPosition:n,stage:i,index:o});else{switch(this.dispatch(\\\"data-refeshing\\\"),t||(this.activeRowsPipeline[0]=this.rows.slice(0)),i){case\\\"all\\\":case\\\"dataPipeline\\\":for(let t=o;t<this.dataPipeline.length;t++){let e=this.dataPipeline[t].handler(this.activeRowsPipeline[t].slice(0));this.activeRowsPipeline[t+1]=e||this.activeRowsPipeline[t].slice(0)}this.setActiveRows(this.activeRowsPipeline[this.dataPipeline.length]),this.regenerateRowNumbers();case\\\"display\\\":o=0,this.resetDisplayRows();case\\\"displayPipeline\\\":for(let t=o;t<this.displayPipeline.length;t++){let e=this.displayPipeline[t].handler((t?this.getDisplayRows(t-1):this.activeRows).slice(0),n);this.setDisplayRows(e||this.getDisplayRows(t-1).slice(0),t)}}a.elVisible(this.element)&&(n?this.reRenderInPosition():(t||this.table.columnManager.renderer.renderColumns(),this.renderTable(),r.options.layoutColumnsOnNewData&&this.table.columnManager.redraw(!0))),this.dispatch(\\\"data-refeshed\\\")}}regenerateRowNumbers(){this.rowNumColumn&&this.activeRows.forEach((t=>{var e=t.getCell(this.rowNumColumn);e&&e._generateContents()}))}setActiveRows(t){this.activeRows=t,this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}getNextDisplayIndex(){return this.displayRows.length}setDisplayRows(t,e){var n=!0;return e&&void 0!==this.displayRows[e]?(this.displayRows[e]=t,n=!0):(this.displayRows.push(t),n=e=this.displayRows.length-1),e==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length),n}getDisplayRows(t){return void 0===t?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[t]||[]}getVisibleRows(t){return this.renderer.visibleRows(!t)}displayRowIterator(t){this.activeRowsPipeline.forEach(t),this.displayRows.forEach(t),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(t){var e;switch(t){case\\\"active\\\":e=this.activeRows;break;case\\\"display\\\":e=this.table.rowManager.getDisplayRows();break;case\\\"visible\\\":e=this.getVisibleRows(!0);break;default:e=this.chain(\\\"rows-retrieve\\\",t,null,this.rows)||this.rows}return e}reRenderInPosition(t){this.redrawBlock?t?t():this.redrawBlockRederInPosition=!0:this.renderer.rerenderRows(t)}initializeRenderer(){var t,e={virtual:gt,basic:vt};(t=\\\"string\\\"==typeof this.table.options.renderVertical?e[this.table.options.renderVertical]:this.table.options.renderVertical)?(this.renderer=new t(this.table,this.element,this.tableElement),this.renderer.initialize(),this.table.element.clientHeight||this.table.options.height?this.fixedHeight=!0:this.fixedHeight=!1):console.error(\\\"Unable to find matching renderer:\\\",table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal(\\\"renderStarted\\\"),this.element.scrollTop=0,this.displayRowsCount?(this._clearTable(),this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.layoutRefresh())):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch(\\\"table-layout\\\"),this.displayRowsCount||this._showPlaceholder(),this.dispatchExternal(\\\"renderComplete\\\")}renderEmptyScroll(){this.table.options.placeholder?this.tableElement.style.display=\\\"none\\\":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+\\\"px\\\"}_clearTable(){this.tableElement,this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}_showPlaceholder(){this.table.options.placeholder&&(this.table.options.placeholder.setAttribute(\\\"tabulator-render-mode\\\",this.renderMode),this.getElement().appendChild(this.table.options.placeholder),this.table.options.placeholder.style.width=this.table.columnManager.getWidth()+\\\"px\\\")}_clearPlaceholder(){this.table.options.placeholder&&this.table.options.placeholder.parentNode&&this.table.options.placeholder.parentNode.removeChild(this.table.options.placeholder)}styleRow(t,e){var n=t.getElement();e%2?(n.classList.add(\\\"tabulator-row-even\\\"),n.classList.remove(\\\"tabulator-row-odd\\\")):(n.classList.add(\\\"tabulator-row-odd\\\"),n.classList.remove(\\\"tabulator-row-even\\\"))}normalizeHeight(){this.activeRows.forEach((function(t){t.normalizeHeight()}))}adjustTableSize(){var t=this.element.clientHeight;if(\\\"fill\\\"===this.renderer.verticalFillMode){let e=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));this.fixedHeight?(this.element.style.minHeight=\\\"calc(100% - \\\"+e+\\\"px)\\\",this.element.style.height=\\\"calc(100% - \\\"+e+\\\"px)\\\",this.element.style.maxHeight=\\\"calc(100% - \\\"+e+\\\"px)\\\"):(this.element.style.height=\\\"\\\",this.element.style.height=this.table.element.clientHeight-e+\\\"px\\\",this.element.scrollTop=this.scrollTop),this.renderer.resize(),this.fixedHeight||t==this.element.clientHeight||(this.subscribed(\\\"table-resize\\\")?this.dispatch(\\\"table-resize\\\"):this.redraw())}}reinitialize(){this.rows.forEach((function(t){t.reinitialize(!0)}))}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRederInPosition&&this.reRenderInPosition(),this.redrawBlockRederInPosition=!1}redraw(t){var e=this.scrollLeft;this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,t?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(e),this.displayRowsCount||this.table.options.placeholder&&this.getElement().appendChild(this.table.options.placeholder))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,\\\"ie\\\"===this.table.browser){var t=document.createEvent(\\\"Event\\\");t.initEvent(\\\"scroll\\\",!1,!0),this.element.dispatchEvent(t)}else this.element.dispatchEvent(new Event(\\\"scroll\\\"))}}class _t extends r{constructor(t){super(t),this.active=!1,this.element=this.createElement(),this.external=!1,this.links=[],this.initializeElement()}initialize(){}createElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-footer\\\"),t}initializeElement(t){this.table.options.footerElement&&(\\\"string\\\"==typeof this.table.options.footerElement?\\\"<\\\"===this.table.options.footerElement[0]?this.element.innerHTML=this.table.options.footerElement:(this.external=!0,this.element=document.querySelector(this.table.options.footerElement)):this.element=this.table.options.footerElement)}getElement(){return this.element}append(t,e){this.activate(e),this.element.appendChild(t),this.table.rowManager.adjustTableSize()}prepend(t,e){this.activate(e),this.element.insertBefore(t,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(t){t.parentNode.removeChild(t),this.deactivate()}deactivate(t){this.element.firstChild&&!t||(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(t){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=\\\"\\\")),t&&this.links.push(t)}redraw(){this.links.forEach((function(t){t.footerRedraw()}))}}class bt extends r{constructor(t){super(t),this.el=this.table.element,this.abortClasses=[\\\"tabulator-headers\\\",\\\"tabulator-table\\\"],this.previousTargets={},this.listeners=[\\\"click\\\",\\\"dblclick\\\",\\\"contextmenu\\\",\\\"mouseenter\\\",\\\"mouseleave\\\",\\\"mouseover\\\",\\\"mouseout\\\",\\\"mousemove\\\",\\\"touchstart\\\",\\\"touchend\\\"],this.componentMap={\\\"tabulator-cell\\\":\\\"cell\\\",\\\"tabulator-row\\\":\\\"row\\\",\\\"tabulator-group\\\":\\\"group\\\",\\\"tabulator-col\\\":\\\"column\\\"},this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var t={};this.listeners.forEach((e=>{t[e]={handler:null,components:[]}})),this.listeners=t}bindSubscriptionWatchers(){var t=Object.keys(this.listeners),e=Object.values(this.componentMap);for(let n of e)for(let e of t){let t=n+\\\"-\\\"+e;this.subscriptionChange(t,this.subscriptionChanged.bind(this,n,e))}}subscriptionChanged(t,e,n){var r=this.listeners[e].components,i=r.indexOf(t),o=!1;n?-1===i&&(r.push(t),o=!0):this.subscribed(t+\\\"-\\\"+e)||i>-1&&(r.splice(i,1),o=!0),o&&this.updateEventListeners()}updateEventListeners(){for(let t in this.listeners){let e=this.listeners[t];e.components.length?e.handler||(e.handler=this.track.bind(this,t),this.el.addEventListener(t,e.handler)):e.handler&&(this.el.removeEventListener(t,e.handler),e.handler=null)}}track(t,e){var n=e.composedPath&&e.composedPath()||e.path,r=this.findTargets(n);r=this.bindComponents(t,r),this.triggerEvents(t,e,r)}findTargets(t){var e={};let n=Object.keys(this.componentMap);for(let r of t){let t=r.classList?[...r.classList]:[];if(t.filter((t=>this.abortClasses.includes(t))).length)break;let i=t.filter((t=>n.includes(t)));for(let t of i)e[this.componentMap[t]]=r}return e.group&&e.group===e.row&&delete e.row,e}bindComponents(t,e){var n=Object.keys(e).reverse(),r=this.listeners[t],i={};for(let t of n){let n,o=e[t],a=this.previousTargets[t];if(a&&a.target===o)n=a.component;else switch(t){case\\\"row\\\":case\\\"group\\\":(r.components.includes(\\\"row\\\")||r.components.includes(\\\"cell\\\"))&&(n=this.table.rowManager.getVisibleRows().find((t=>t.getElement()===o)));break;case\\\"column\\\":r.components.includes(\\\"column\\\")&&(n=this.table.columnManager.findColumn(o));break;case\\\"cell\\\":r.components.includes(\\\"cell\\\")&&(n=e.row.findCell(o))}n&&(e[t]=n,i[t]={target:o,component:n})}return this.previousTargets=i,e}triggerEvents(t,e,n){var r=this.listeners[t];for(let i in n)n[i]&&r.components.includes(i)&&this.dispatch(i+\\\"-\\\"+t,e,n[i])}}class xt{constructor(t){this.table=t,this.bindings={}}bind(t,e,n){this.bindings[t]||(this.bindings[t]={}),this.bindings[t][e]?console.warn(\\\"Unable to bind component handler, a matching function name is already bound\\\",t,e,hanlder):this.bindings[t][e]=n}handle(t,e,n){if(this.bindings[t]&&this.bindings[t][n])return this.bindings[t][n].bind(null,e);\\\"then\\\"===n||\\\"string\\\"!=typeof n||n.startsWith(\\\"_\\\")||console.error(\\\"The \\\"+t+\\\" component does not have a \\\"+n+\\\" function, have you checked that you have the correct Tabulator module installed?\\\")}}class wt extends r{constructor(t){super(t),this.loaderElement=this.createLoaderElement(),this.msgElement=this.createMsgElement(),this.loadingElement=null,this.errorElement=null,this.requestOrder=0,this.loading=!1}initialize(){var t;this.loaderElement.appendChild(this.msgElement),this.table.options.dataLoaderLoading&&(\\\"string\\\"==typeof this.table.options.dataLoaderLoading?((t=document.createElement(\\\"template\\\")).innerHTML=this.table.options.dataLoaderLoading.trim(),this.loadingElement=t.firstElementChild):this.loadingElement=this.table.options.dataLoaderLoading),this.table.options.dataLoaderError&&(\\\"string\\\"==typeof this.table.options.dataLoaderError?((t=document.createElement(\\\"template\\\")).innerHTML=this.table.options.dataLoaderError.trim(),this.errorElement=t.firstElementChild):this.errorElement=this.table.options.dataLoaderError)}createLoaderElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-loader\\\"),t}createMsgElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-loader-msg\\\"),t.setAttribute(\\\"role\\\",\\\"alert\\\"),t}load(t,e,n,r,i){var o=++this.requestOrder;return this.dispatchExternal(\\\"dataLoading\\\",t),!t||0!=t.indexOf(\\\"{\\\")&&0!=t.indexOf(\\\"[\\\")||(t=JSON.parse(t)),this.confirm(\\\"data-loading\\\",t,e,n,i)?(this.loading=!0,i||this.showLoader(),e=this.chain(\\\"data-params\\\",[t,n,i],e||{},{}),e=this.mapParams(e,this.table.options.dataSendParams),this.chain(\\\"data-load\\\",[t,e,n,i],Promise.resolve([])).then((e=>{Array.isArray(e)||\\\"object\\\"!=typeof e||(e=this.mapParams(e,this.objectInvert(this.table.options.dataReceiveParams)));var n=this.chain(\\\"data-loaded\\\",e,null,e);o==this.requestOrder?(this.hideLoader(),!1!==n&&(this.dispatchExternal(\\\"dataLoaded\\\",t),this.table.rowManager.setData(n,r,!r))):console.warn(\\\"Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made\\\")})).catch((t=>{console.error(\\\"Data Load Error: \\\",t),this.dispatchExternal(\\\"dataLoadError\\\",t),i||this.showError(),setTimeout((()=>{this.hideLoader()}),3e3)})).finally((()=>{this.loading=!1}))):(this.dispatchExternal(\\\"dataLoaded\\\",t),t||(t=[]),this.table.rowManager.setData(t,r,!r),Promise.resolve())}mapParams(t,e){var n={};for(let r in t)n[e.hasOwnProperty(r)?e[r]:r]=t[r];return n}objectInvert(t){var e={};for(let n in t)e[t[n]]=n;return e}blockActiveLoad(){this.requestOrder++}showLoader(){if(\\\"function\\\"==typeof this.table.options.dataLoader?this.table.options.dataLoader():this.table.options.dataLoader){for(this.hideLoader();this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.remove(\\\"tabulator-error\\\"),this.msgElement.classList.add(\\\"tabulator-loading\\\"),this.loadingElement?this.msgElement.appendChild(this.loadingElement):this.msgElement.innerHTML=this.langText(\\\"data|loading\\\"),this.table.element.appendChild(this.loaderElement)}}showError(){for(this.hideLoader();this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.remove(\\\"tabulator-loading\\\"),this.msgElement.classList.add(\\\"tabulator-error\\\"),this.errorElement?this.msgElement.appendChild(this.errorElement):this.msgElement.innerHTML=this.langText(\\\"data|error\\\"),this.table.element.appendChild(this.loaderElement)}hideLoader(){this.loaderElement.parentNode&&this.loaderElement.parentNode.removeChild(this.loaderElement)}}class At{constructor(t,e){this.events={},this.optionsList=t||{},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=e}subscriptionChange(t,e){this.subscriptionNotifiers[t]||(this.subscriptionNotifiers[t]=[]),this.subscriptionNotifiers[t].push(e),this.subscribed(t)&&this._notifiySubscriptionChange(t,!0)}subscribe(t,e){this.events[t]||(this.events[t]=[]),this.events[t].push(e),this._notifiySubscriptionChange(t,!0)}unsubscribe(t,e){var n;if(this.events[t]){if(e){if(!((n=this.events[t].findIndex((t=>t===e)))>-1))return void console.warn(\\\"Cannot remove event, no matching event found:\\\",t,e);this.events[t].splice(n,1)}else delete this.events[t];this._notifiySubscriptionChange(t,!1)}else console.warn(\\\"Cannot remove event, no events set on:\\\",t)}subscribed(t){return this.events[t]&&this.events[t].length}_notifiySubscriptionChange(t,e){var n=this.subscriptionNotifiers[t];n&&n.forEach((t=>{t(e)}))}_dispatch(){var t,e=Array.from(arguments),n=e.shift();return this.events[n]&&this.events[n].forEach(((n,r)=>{let i=n.apply(this,e);r||(t=i)})),t}_debugDispatch(){var t=Array.from(arguments),e=t[0];return t[0]=\\\"ExternalEvent:\\\"+t[0],(!0===this.debug||this.debug.includes(e))&&console.log(...t),this._dispatch(...arguments)}}class Ct{constructor(t){this.events={},this.subscriptionNotifiers={},this.dispatch=t?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=t?this._debugChain.bind(this):this._chain.bind(this),this.confirm=t?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=t}subscriptionChange(t,e){this.subscriptionNotifiers[t]||(this.subscriptionNotifiers[t]=[]),this.subscriptionNotifiers[t].push(e),this.subscribed(t)&&this._notifiySubscriptionChange(t,!0)}subscribe(t,e,n=1e4){this.events[t]||(this.events[t]=[]),this.events[t].push({callback:e,priority:n}),this.events[t].sort(((t,e)=>t.priority-e.priority)),this._notifiySubscriptionChange(t,!0)}unsubscribe(t,e){var n;if(this.events[t]){if(e){if(!((n=this.events[t].findIndex((t=>t.callback===e)))>-1))return void console.warn(\\\"Cannot remove event, no matching event found:\\\",t,e);this.events[t].splice(n,1)}this._notifiySubscriptionChange(t,!1)}else console.warn(\\\"Cannot remove event, no events set on:\\\",t)}subscribed(t){return this.events[t]&&this.events[t].length}_chain(t,e,n,r){var i=n;return Array.isArray(e)||(e=[e]),this.subscribed(t)?(this.events[t].forEach(((t,n)=>{i=t.callback.apply(this,e.concat([i]))})),i):\\\"function\\\"==typeof r?r():r}_confirm(t,e){var n=!1;return Array.isArray(e)||(e=[e]),this.subscribed(t)&&this.events[t].forEach(((t,r)=>{t.callback.apply(this,e)&&(n=!0)})),n}_notifiySubscriptionChange(t,e){var n=this.subscriptionNotifiers[t];n&&n.forEach((t=>{t(e)}))}_dispatch(){var t=Array.from(arguments),e=t.shift();this.events[e]&&this.events[e].forEach((e=>{e.callback.apply(this,t)}))}_debugDispatch(){var t=Array.from(arguments),e=t[0];return t[0]=\\\"InternalEvent:\\\"+e,(!0===this.debug||this.debug.includes(e))&&console.log(...t),this._dispatch(...arguments)}_debugChain(){var t=Array.from(arguments),e=t[0];return t[0]=\\\"InternalEvent:\\\"+e,(!0===this.debug||this.debug.includes(e))&&console.log(...t),this._chain(...arguments)}_debugConfirm(){var t=Array.from(arguments),e=t[0];return t[0]=\\\"InternalEvent:\\\"+e,(!0===this.debug||this.debug.includes(e))&&console.log(...t),this._confirm(...arguments)}}class Mt{static register(t){Mt.tables.push(t)}static deregister(t){var e=Mt.tables.indexOf(t);e>-1&&Mt.tables.splice(e,1)}static lookupTable(t,e){var n,r,i=[];if(\\\"string\\\"==typeof t){if((n=document.querySelectorAll(t)).length)for(var o=0;o<n.length;o++)(r=Mt.matchElement(n[o]))&&i.push(r)}else\\\"undefined\\\"!=typeof HTMLElement&&t instanceof HTMLElement||t instanceof Pt?(r=Mt.matchElement(t))&&i.push(r):Array.isArray(t)?t.forEach((function(t){i=i.concat(Mt.lookupTable(t))})):e||console.warn(\\\"Table Connection Error - Invalid Selector\\\",t);return i}static matchElement(t){return Mt.tables.find((function(e){return t instanceof Pt?e===t:e.element===t}))}}function Et(t){t.forEach((function(t){t.reinitializeWidth()})),this.table.options.responsiveLayout&&this.table.modExists(\\\"responsiveLayout\\\",!0)&&this.table.modules.responsiveLayout.update()}Mt.tables=[];var Tt={fitData:function(t){this.table.columnManager.renderer.reinitializeColumnWidths(t),this.table.options.responsiveLayout&&this.table.modExists(\\\"responsiveLayout\\\",!0)&&this.table.modules.responsiveLayout.update()},fitDataFill:Et,fitDataTable:Et,fitDataStretch:function(t){var e=0,n=this.table.rowManager.element.clientWidth,r=0,i=!1;t.forEach(((t,n)=>{t.widthFixed||t.reinitializeWidth(),(this.table.options.responsiveLayout?t.modules.responsive.visible:t.visible)&&(i=t),t.visible&&(e+=t.getWidth())})),i?(r=n-e+i.getWidth(),this.table.options.responsiveLayout&&this.table.modExists(\\\"responsiveLayout\\\",!0)&&(i.setWidth(0),this.table.modules.responsiveLayout.update()),r>0?i.setWidth(r):i.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists(\\\"responsiveLayout\\\",!0)&&this.table.modules.responsiveLayout.update()},fitColumns:function(t){var e,n,r=this.table.element.clientWidth,i=0,o=0,a=0,s=[],l=[],u=0,c=0;function h(t){return\\\"string\\\"==typeof t?t.indexOf(\\\"%\\\")>-1?r/100*parseInt(t):parseInt(t):t}function p(t,e,n,r){var i=[],o=0,s=0,l=0,u=a,c=0,f=0,d=[];function m(t){return n*(t.column.definition.widthGrow||1)}function v(t){return h(t.width)-n*(t.column.definition.widthShrink||0)}return t.forEach((function(t,o){var a=r?v(t):m(t);t.column.minWidth>=a?i.push(t):t.column.maxWidth&&t.column.maxWidth<a?(t.width=t.column.maxWidth,e-=t.column.maxWidth,(u-=r?t.column.definition.widthShrink||1:t.column.definition.widthGrow||1)&&(n=Math.floor(e/u))):(d.push(t),f+=r?t.column.definition.widthShrink||1:t.column.definition.widthGrow||1)})),i.length?(i.forEach((function(t){o+=r?t.width-t.column.minWidth:t.column.minWidth,t.width=t.column.minWidth})),c=(s=e-o)-(l=f?Math.floor(s/f):s)*f,c+=p(d,s,l,r)):(c=f?e-Math.floor(e/f)*f:e,d.forEach((function(t){t.width=r?v(t):m(t)}))),c}this.table.options.responsiveLayout&&this.table.modExists(\\\"responsiveLayout\\\",!0)&&this.table.modules.responsiveLayout.update(),this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),t.forEach((function(t){var e,n,r;t.visible&&(e=t.definition.width,n=parseInt(t.minWidth),e?(r=h(e),i+=r>n?r:n,t.definition.widthShrink&&(l.push({column:t,width:r>n?r:n}),u+=t.definition.widthShrink)):(s.push({column:t,width:0}),a+=t.definition.widthGrow||1))})),o=r-i,e=Math.floor(o/a),c=p(s,o,e,!1),s.length&&c>0&&(s[s.length-1].width+=+c),s.forEach((function(t){o-=t.width})),(n=Math.abs(c)+o)>0&&u&&(c=p(l,n,Math.floor(n/u),!0)),l.length&&(l[l.length-1].width-=c),s.forEach((function(t){t.column.setWidth(t.width)})),l.forEach((function(t){t.column.setWidth(t.width)}))}};class St extends o{constructor(t){super(t,\\\"layout\\\"),this.mode=null,this.registerTableOption(\\\"layout\\\",\\\"fitData\\\"),this.registerTableOption(\\\"layoutColumnsOnNewData\\\",!1),this.registerColumnOption(\\\"widthGrow\\\"),this.registerColumnOption(\\\"widthShrink\\\")}initialize(){var t=this.table.options.layout;St.modes[t]?this.mode=t:(console.warn(\\\"Layout Error - invalid mode set, defaulting to 'fitData' : \\\"+t),this.mode=\\\"fitData\\\"),this.table.element.setAttribute(\\\"tabulator-layout\\\",this.mode)}getMode(){return this.mode}layout(){St.modes[this.mode].call(this,this.table.columnManager.columnsByIndex),this.dispatch(\\\"layout-refreshed\\\")}}St.moduleName=\\\"layout\\\",St.modes=Tt;class kt extends o{constructor(t){super(t),this.locale=\\\"default\\\",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption(\\\"locale\\\",!1),this.registerTableOption(\\\"langs\\\",{})}initialize(){this.langList=a.deepClone(kt.langs),!1!==this.table.options.columnDefaults.headerFilterPlaceholder&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let t in this.table.options.langs)this.installLang(t,this.table.options.langs[t]);this.setLocale(this.table.options.locale),this.registerTableFunction(\\\"setLocale\\\",this.setLocale.bind(this)),this.registerTableFunction(\\\"getLocale\\\",this.getLocale.bind(this)),this.registerTableFunction(\\\"getLang\\\",this.getLang.bind(this))}setHeaderFilterPlaceholder(t){this.langList.default.headerFilters.default=t}setHeaderFilterColumnPlaceholder(t,e){this.langList.default.headerFilters.columns[t]=e,this.lang&&!this.lang.headerFilters.columns[t]&&(this.lang.headerFilters.columns[t]=e)}installLang(t,e){this.langList[t]?this._setLangProp(this.langList[t],e):this.langList[t]=e}_setLangProp(t,e){for(let n in e)t[n]&&\\\"object\\\"==typeof t[n]?this._setLangProp(t[n],e[n]):t[n]=e[n]}setLocale(t){if(!0===(t=t||\\\"default\\\")&&navigator.language&&(t=navigator.language.toLowerCase()),t&&!this.langList[t]){let e=t.split(\\\"-\\\")[0];this.langList[e]?(console.warn(\\\"Localization Error - Exact matching locale not found, using closest match: \\\",t,e),t=e):(console.warn(\\\"Localization Error - Matching locale not found, using default: \\\",t),t=\\\"default\\\")}this.locale=t,this.lang=a.deepClone(this.langList.default||{}),\\\"default\\\"!=t&&function t(e,n){for(var r in e)\\\"object\\\"==typeof e[r]?(n[r]||(n[r]={}),t(e[r],n[r])):n[r]=e[r]}(this.langList[t],this.lang),this.dispatchExternal(\\\"localized\\\",this.locale,this.lang),this._executeBindings()}getLocale(t){return this.locale}getLang(t){return t?this.langList[t]:this.lang}getText(t,e){var n=(t=e?t+\\\"|\\\"+e:t).split(\\\"|\\\");return this._getLangElement(n,this.locale)||\\\"\\\"}_getLangElement(t,e){var n=this.lang;return t.forEach((function(t){var e;n&&(e=n[t],n=void 0!==e&&e)})),n}bind(t,e){this.bindings[t]||(this.bindings[t]=[]),this.bindings[t].push(e),e(this.getText(t),this.lang)}_executeBindings(){for(let t in this.bindings)this.bindings[t].forEach((e=>{e(this.getText(t),this.lang)}))}}kt.moduleName=\\\"localize\\\",kt.langs={default:{groups:{item:\\\"item\\\",items:\\\"items\\\"},columns:{},data:{loading:\\\"Loading\\\",error:\\\"Error\\\"},pagination:{page_size:\\\"Page Size\\\",page_title:\\\"Show Page\\\",first:\\\"First\\\",first_title:\\\"First Page\\\",last:\\\"Last\\\",last_title:\\\"Last Page\\\",prev:\\\"Prev\\\",prev_title:\\\"Prev Page\\\",next:\\\"Next\\\",next_title:\\\"Next Page\\\",all:\\\"All\\\"},headerFilters:{default:\\\"filter column...\\\",columns:{}}}};class Ot extends o{constructor(t){super(t)}initialize(){this.registerTableFunction(\\\"tableComms\\\",this.receive.bind(this))}getConnections(t){var e=[];return Mt.lookupTable(t).forEach((t=>{this.table!==t&&e.push(t)})),e}send(t,e,n,r){var i=this.getConnections(t);i.forEach((t=>{t.tableComms(this.table.element,e,n,r)})),!i.length&&t&&console.warn(\\\"Table Connection Error - No tables matching selector found\\\",t)}receive(t,e,n,r){if(this.table.modExists(e))return this.table.modules[e].commsReceived(t,n,r);console.warn(\\\"Inter-table Comms Error - no such module:\\\",e)}}Ot.moduleName=\\\"comms\\\";var It=Object.freeze({__proto__:null,LayoutModule:St,LocalizeModule:kt,CommsModule:Ot});class Lt{constructor(t,e){this.bindStaticFuctionality(t),this.bindModules(t,It,!0),e&&this.bindModules(t,e)}bindStaticFuctionality(t){t.moduleBindings={},t.extendModule=function(e,n,r){if(t.moduleBindings[e]){var i=t.moduleBindings[e].prototype[n];if(i)if(\\\"object\\\"==typeof r)for(let t in r)i[t]=r[t];else console.warn(\\\"Module Error - Invalid value type, it must be an object\\\");else console.warn(\\\"Module Error - property does not exist:\\\",n)}else console.warn(\\\"Module Error - module does not exist:\\\",e)},t.registerModule=function(e){Array.isArray(e)||(e=[e]),e.forEach((e=>{t.registerModuleBinding(e)}))},t.registerModuleBinding=function(e){t.moduleBindings[e.moduleName]=e},t.findTable=function(t){var e=Mt.lookupTable(t,!0);return!(Array.isArray(e)&&!e.length)&&e},t.prototype.bindModules=function(){for(var e in this.modules={},t.moduleBindings){let n=t.moduleBindings[e];this.modules[e]=new n(this),n.prototype.moduleCore?this.modulesCore[e]=this.modules[e]:this.modulesRegular[e]=this.modules[e]}}}bindModules(t,e,n){var r=Object.values(e);n&&r.forEach((t=>{t.prototype.moduleCore=!0})),t.registerModule(r)}}class Pt{constructor(t,e){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser=\\\"\\\",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.componentFunctionBinder=new xt(this),this.dataLoader=!1,this.modules={},this.modulesCore={},this.modulesRegular={},this.optionsList=new ht(this,\\\"table constructor\\\"),this.initialized=!1,this.initializeElement(t)&&(this.initialzeCoreSystems(e),setTimeout((()=>{this._create()}))),Mt.register(this)}initializeElement(t){return\\\"undefined\\\"!=typeof HTMLElement&&t instanceof HTMLElement?(this.element=t,!0):\\\"string\\\"==typeof t?(this.element=document.querySelector(t),!!this.element||(console.error(\\\"Tabulator Creation Error - no element found matching selector: \\\",t),!1)):(console.error(\\\"Tabulator Creation Error - Invalid element provided:\\\",t),!1)}initialzeCoreSystems(t){this.columnManager=new mt(this),this.rowManager=new yt(this),this.footerManager=new _t(this),this.dataLoader=new wt(this),this.bindModules(),this.options=this.optionsList.generate(Pt.defaultOptions,t),this._clearObjectPointers(),this._mapDepricatedFunctionality(),this.externalEvents=new At(this.options,this.options.debugEventsExternal),this.eventBus=new Ct(this.options.debugEventsInternal),this.interactionMonitor=new bt(this),this.dataLoader.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this.footerManager.initialize()}rtlCheck(){var t=window.getComputedStyle(this.element);switch(this.options.textDirection){case\\\"auto\\\":if(\\\"rtl\\\"!==t.direction)break;case\\\"rtl\\\":this.element.classList.add(\\\"tabulator-rtl\\\"),this.rtl=!0;break;case\\\"ltr\\\":this.element.classList.add(\\\"tabulator-ltr\\\");default:this.rtl=!1}}_mapDepricatedFunctionality(){}_clearSelection(){this.element.classList.add(\\\"tabulator-block-select\\\"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove(\\\"tabulator-block-select\\\")}_create(){this.externalEvents.dispatch(\\\"tableBuilding\\\"),this.eventBus.dispatch(\\\"table-building\\\"),this.rtlCheck(),this._buildElement(),this._loadInitialData(),this.initialized=!0}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),this.options.data&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var t=this.element,e=this.options;for(t.classList.add(\\\"tabulator\\\"),t.setAttribute(\\\"role\\\",\\\"grid\\\");t.firstChild;)t.removeChild(t.firstChild);e.height&&(e.height=isNaN(e.height)?e.height:e.height+\\\"px\\\",t.style.height=e.height),!1!==e.minHeight&&(e.minHeight=isNaN(e.minHeight)?e.minHeight:e.minHeight+\\\"px\\\",t.style.minHeight=e.minHeight),!1!==e.maxHeight&&(e.maxHeight=isNaN(e.maxHeight)?e.maxHeight:e.maxHeight+\\\"px\\\",t.style.maxHeight=e.maxHeight),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser();for(let t in this.modulesCore)this.modulesCore[t].initialize();if(\\\"string\\\"==typeof e.placeholder){var n=document.createElement(\\\"div\\\");n.classList.add(\\\"tabulator-placeholder\\\");var r=document.createElement(\\\"span\\\");r.innerHTML=e.placeholder,n.appendChild(r),e.placeholder=n}t.appendChild(this.columnManager.getElement()),t.appendChild(this.rowManager.getElement()),e.footerElement&&this.footerManager.activate(),e.autoColumns&&this.options.data&&this.columnManager.generateColumnsFromRowData(this.options.data);for(let t in this.modulesRegular)this.modulesRegular[t].initialize();this.columnManager.setColumns(e.columns),this.eventBus.dispatch(\\\"table-built\\\"),this.externalEvents.dispatch(\\\"tableBuilt\\\")}_loadInitialData(){this.dataLoader.load(this.options.data)}destroy(){var t=this.element;for(Mt.deregister(this),this.eventBus.dispatch(\\\"table-destroy\\\"),this.rowManager.rows.forEach((function(t){t.wipe()})),this.rowManager.rows=[],this.rowManager.activeRows=[],this.rowManager.displayRows=[];t.firstChild;)t.removeChild(t.firstChild);t.classList.remove(\\\"tabulator\\\")}_detectBrowser(){var t=navigator.userAgent||navigator.vendor||window.opera;t.indexOf(\\\"Trident\\\")>-1?(this.browser=\\\"ie\\\",this.browserSlow=!0):t.indexOf(\\\"Edge\\\")>-1?(this.browser=\\\"edge\\\",this.browserSlow=!0):t.indexOf(\\\"Firefox\\\")>-1?(this.browser=\\\"firefox\\\",this.browserSlow=!1):(this.browser=\\\"other\\\",this.browserSlow=!1),this.browserMobile=/(android|bb\\\\d+|meego).+mobile|avantgo|bada\\\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\\\-(n|u)|c55\\\\/|capi|ccwa|cdm\\\\-|cell|chtm|cldc|cmd\\\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\\\-|_)|g1 u|g560|gene|gf\\\\-5|g\\\\-mo|go(\\\\.w|od)|gr(ad|un)|haie|hcit|hd\\\\-(m|p|t)|hei\\\\-|hi(pt|ta)|hp( i|ip)|hs\\\\-c|ht(c(\\\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\\\-(20|go|ma)|i230|iac( |\\\\-|\\\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\\\/)|klon|kpt |kwc\\\\-|kyo(c|k)|le(no|xi)|lg( g|\\\\/(k|l|u)|50|54|\\\\-[a-w])|libw|lynx|m1\\\\-w|m3ga|m50\\\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\\\-2|po(ck|rt|se)|prox|psio|pt\\\\-g|qa\\\\-a|qc(07|12|21|32|60|\\\\-[2-7]|i\\\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\\\-|oo|p\\\\-)|sdk\\\\/|se(c(\\\\-|0|1)|47|mc|nd|ri)|sgh\\\\-|shar|sie(\\\\-|m)|sk\\\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\\\-|v\\\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\\\-|tdg\\\\-|tel(i|m)|tim\\\\-|t\\\\-mo|to(pl|sh)|ts(70|m\\\\-|m3|m5)|tx\\\\-9|up(\\\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\\\-|your|zeto|zte\\\\-/i.test(t.substr(0,4))}blockRedraw(){return this.rowManager.blockRedraw()}restoreRedraw(){return this.rowManager.restoreRedraw()}setDataFromLocalFile(t){return new Promise(((e,n)=>{var r=document.createElement(\\\"input\\\");r.type=\\\"file\\\",r.accept=t||\\\".json,application/json\\\",r.addEventListener(\\\"change\\\",(t=>{var i,o=r.files[0],a=new FileReader;a.readAsText(o),a.onload=t=>{try{i=JSON.parse(a.result)}catch(t){return console.warn(\\\"File Load Error - File contents is invalid JSON\\\",t),void n(t)}this.setData(i).then((t=>{e(t)})).catch((t=>{e(t)}))},a.onerror=t=>{console.warn(\\\"File Load Error - Unable to read file\\\"),n()}})),r.click()}))}setData(t,e,n){if(this.initialized)return this.dataLoader.load(t,e,n,!1);console.warn(\\\"setData failed - table not yet initialized. To set initial data please use the 'data' property in the table constructor.\\\")}clearData(){this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(t){return this.rowManager.getData(t)}getDataCount(t){return this.rowManager.getDataCount(t)}replaceData(t,e,n){return this.dataLoader.load(t,e,n,!0,!0)}updateData(t){var e=0;return new Promise(((n,r)=>{this.dataLoader.blockActiveLoad(),\\\"string\\\"==typeof t&&(t=JSON.parse(t)),t?t.forEach((t=>{var r=this.rowManager.findRow(t[this.options.index]);r&&(e++,r.updateData(t).then((()=>{--e||n()})))})):(console.warn(\\\"Update Error - No data provided\\\"),r(\\\"Update Error - No data provided\\\"))}))}addData(t,e,n){return new Promise(((r,i)=>{this.dataLoader.blockActiveLoad(),\\\"string\\\"==typeof t&&(t=JSON.parse(t)),t?this.rowManager.addRows(t,e,n).then((t=>{var e=[];t.forEach((function(t){e.push(t.getComponent())})),r(e)})):(console.warn(\\\"Update Error - No data provided\\\"),i(\\\"Update Error - No data provided\\\"))}))}updateOrAddData(t){var e=[],n=0;return new Promise(((r,i)=>{this.dataLoader.blockActiveLoad(),\\\"string\\\"==typeof t&&(t=JSON.parse(t)),t?t.forEach((t=>{var i=this.rowManager.findRow(t[this.options.index]);n++,i?i.updateData(t).then((()=>{n--,e.push(i.getComponent()),n||r(e)})):this.rowManager.addRows(t).then((t=>{n--,e.push(t[0].getComponent()),n||r(e)}))})):(console.warn(\\\"Update Error - No data provided\\\"),i(\\\"Update Error - No data provided\\\"))}))}getRow(t){var e=this.rowManager.findRow(t);return e?e.getComponent():(console.warn(\\\"Find Error - No matching row found:\\\",t),!1)}getRowFromPosition(t,e){var n=this.rowManager.getRowFromPosition(t,e);return n?n.getComponent():(console.warn(\\\"Find Error - No matching row found:\\\",t),!1)}deleteRow(t){var e=[];Array.isArray(t)||(t=[t]);for(let n of t){let t=this.rowManager.findRow(n,!0);if(!t)return console.error(\\\"Delete Error - No matching row found:\\\",n),Promise.reject(\\\"Delete Error - No matching row found\\\");e.push(t)}return e.sort(((t,e)=>this.rowManager.rows.indexOf(t)>this.rowManager.rows.indexOf(e)?1:-1)),e.forEach((t=>{t.delete()})),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(t,e,n){return\\\"string\\\"==typeof t&&(t=JSON.parse(t)),this.rowManager.addRows(t,e,n).then((t=>t[0].getComponent()))}updateOrAddRow(t,e){var n=this.rowManager.findRow(t);return\\\"string\\\"==typeof e&&(e=JSON.parse(e)),n?n.updateData(e).then((()=>n.getComponent())):this.rowManager.addRows(e).then((t=>t[0].getComponent()))}updateRow(t,e){var n=this.rowManager.findRow(t);return\\\"string\\\"==typeof e&&(e=JSON.parse(e)),n?n.updateData(e).then((()=>{resolve(n.getComponent())})):(console.warn(\\\"Update Error - No matching row found:\\\",t),Promise.reject(\\\"Update Error - No matching row found\\\"))}scrollToRow(t,e,n){var r=this.rowManager.findRow(t);return r?this.rowManager.scrollToRow(r,e,n):(console.warn(\\\"Scroll Error - No matching row found:\\\",t),Promise.reject(\\\"Scroll Error - No matching row found\\\"))}moveRow(t,e,n){var r=this.rowManager.findRow(t);r?r.moveToRow(e,n):console.warn(\\\"Move Error - No matching row found:\\\",t)}getRows(t){return this.rowManager.getComponents(t)}getRowPosition(t,e){var n=this.rowManager.findRow(t);return n?this.rowManager.getRowPosition(n,e):(console.warn(\\\"Position Error - No matching row found:\\\",t),!1)}setColumns(t){this.columnManager.setColumns(t)}getColumns(t){return this.columnManager.getComponents(t)}getColumn(t){var e=this.columnManager.findColumn(t);return e?e.getComponent():(console.warn(\\\"Find Error - No matching column found:\\\",t),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(t){var e=this.columnManager.findColumn(t);if(!e)return console.warn(\\\"Column Show Error - No matching column found:\\\",t),!1;e.show()}hideColumn(t){var e=this.columnManager.findColumn(t);if(!e)return console.warn(\\\"Column Hide Error - No matching column found:\\\",t),!1;e.hide()}toggleColumn(t){var e=this.columnManager.findColumn(t);if(!e)return console.warn(\\\"Column Visibility Toggle Error - No matching column found:\\\",t),!1;e.visible?e.hide():e.show()}addColumn(t,e,n){var r=this.columnManager.findColumn(n);return this.columnManager.addColumn(t,e,r).then((t=>t.getComponent()))}deleteColumn(t){var e=this.columnManager.findColumn(t);return e?e.delete():(console.warn(\\\"Column Delete Error - No matching column found:\\\",t),Promise.reject())}updateColumnDefinition(t,e){var n=this.columnManager.findColumn(t);return n?n.updateDefinition(e):(console.warn(\\\"Column Update Error - No matching column found:\\\",t),Promise.reject())}moveColumn(t,e,n){var r=this.columnManager.findColumn(t),i=this.columnManager.findColumn(e);r?i?this.columnManager.moveColumn(r,i,n):console.warn(\\\"Move Error - No matching column found:\\\",i):console.warn(\\\"Move Error - No matching column found:\\\",t)}scrollToColumn(t,e,n){return new Promise(((r,i)=>{var o=this.columnManager.findColumn(t);return o?this.columnManager.scrollToColumn(o,e,n):(console.warn(\\\"Scroll Error - No matching column found:\\\",t),Promise.reject(\\\"Scroll Error - No matching column found\\\"))}))}redraw(t){this.columnManager.redraw(t),this.rowManager.redraw(t)}setHeight(t){this.options.height=isNaN(t)?t:t+\\\"px\\\",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw()}on(t,e){this.externalEvents.subscribe(t,e)}off(t,e){this.externalEvents.unsubscribe(t,e)}dispatchEvent(){Array.from(arguments).shift(),this.externalEvents.dispatch(...arguments)}modExists(t,e){return!!this.modules[t]||(e&&console.error(\\\"Tabulator Module Not Installed: \\\"+t),!1)}module(t){var e=this.modules[t];return e||console.error(\\\"Tabulator module not installed: \\\"+t),e}}Pt.defaultOptions={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,height:!1,minHeight:!1,maxHeight:!1,columnMaxWidth:!1,columnHeaderVertAlign:\\\"top\\\",columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:\\\".\\\",tooltipGenerationMode:\\\"load\\\",footerElement:!1,index:\\\"id\\\",textDirection:\\\"auto\\\",addRowPos:\\\"bottom\\\",headerVisible:!0,renderVertical:\\\"virtual\\\",renderHorizontal:\\\"basic\\\",renderVerticalBuffer:0,scrollToRowPosition:\\\"top\\\",scrollToRowIfVisible:!0,scrollToColumnPosition:\\\"left\\\",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataSendParams:{},dataReceiveParams:{}},new Lt(Pt);class zt extends Pt{}new Lt(zt,ct);class Rt{constructor(t){this.type=t,this.element=this._createElement()}_createElement(){var t=document.createElement(\\\"div\\\");return t.classList.add(\\\"tabulator-row\\\"),t}getElement(){return this.element}getComponent(){return!1}getData(){return{}}getHeight(){return this.element.outerHeight}initialize(){}reinitialize(){}normalizeHeight(){}generateCells(){}reinitializeHeight(){}calcHeight(){}setCellHeight(){}clearCellHeight(){}}},1791:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>i});class r extends class extends class{constructor(t){this.table=t}reloadData(t,e){return this.table.dataLoader.load(t,void 0,void 0,void 0,e)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(){return this.table.modules.layout.layout()}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(t){return this.table.eventBus.subscribed(t)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(t){return this.table.externalEvents.subscribed(t)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(t,e){return void 0!==e&&(this.table.options[t]=e),this.table.options[t]}setOption(t,e){return void 0!==e&&(this.table.options[t]=e),this.table.options[t]}module(t){return this.table.module(t)}}{constructor(t,e){super(t),this._handler=null}initialize(){}registerTableOption(t,e){this.table.optionsList.register(t,e)}registerColumnOption(t,e){this.table.columnManager.optionsList.register(t,e)}registerTableFunction(t,e){void 0===this.table[t]?this.table[t]=e:console.warn(\\\"Unable to bind table function, name already in use\\\",t)}registerComponentFunction(t,e,n){return this.table.componentFunctionBinder.bind(t,e,n)}registerDataHandler(t,e){this.table.rowManager.registerDataPipelineHandler(t,e),this._handler=t}registerDisplayHandler(t,e){this.table.rowManager.registerDisplayPipelineHandler(t,e),this._handler=t}refreshData(t,e){e||(e=this._handler),e&&this.table.rowManager.refreshActiveData(e,!1,t)}}{constructor(t){super(t),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.handle=null,this.prevHandle=null,this.registerColumnOption(\\\"resizable\\\",!0)}initialize(){this.subscribe(\\\"cell-layout\\\",this.layoutCellHandles.bind(this)),this.subscribe(\\\"column-init\\\",this.layoutColumnHeader.bind(this))}layoutCellHandles(t){\\\"row\\\"===t.row.type&&this.initializeColumn(\\\"cell\\\",t.column,t.element)}layoutColumnHeader(t){this.initializeColumn(\\\"header\\\",t,t.element)}initializeColumn(t,e,n){var r=this,i=!1,o=e.definition.resizable;if(\\\"header\\\"===t&&(i=\\\"textarea\\\"==e.definition.formatter||e.definition.variableHeight,e.modules.resize={variableHeight:i}),!0===o||o==t){var a=document.createElement(\\\"div\\\");a.className=\\\"tabulator-col-resize-handle\\\";var s=document.createElement(\\\"div\\\");s.className=\\\"tabulator-col-resize-handle prev\\\",a.addEventListener(\\\"click\\\",(function(t){t.stopPropagation()}));var l=function(t){var n=e.getLastColumn();n&&r._checkResizability(n)&&(r.startColumn=e,r._mouseDown(t,n,a))};a.addEventListener(\\\"mousedown\\\",l),a.addEventListener(\\\"touchstart\\\",l,{passive:!0}),a.addEventListener(\\\"dblclick\\\",(function(t){var n=e.getLastColumn();n&&r._checkResizability(n)&&(t.stopPropagation(),n.reinitializeWidth(!0))})),s.addEventListener(\\\"click\\\",(function(t){t.stopPropagation()}));var u=function(t){var n,i,o;(n=e.getFirstColumn())&&(o=(i=r.table.columnManager.findColumnIndex(n))>0&&r.table.columnManager.getColumnByIndex(i-1))&&r._checkResizability(o)&&(r.startColumn=e,r._mouseDown(t,o,s))};s.addEventListener(\\\"mousedown\\\",u),s.addEventListener(\\\"touchstart\\\",u,{passive:!0}),s.addEventListener(\\\"dblclick\\\",(function(t){var n,i,o;(n=e.getFirstColumn())&&(o=(i=r.table.columnManager.findColumnIndex(n))>0&&r.table.columnManager.getColumnByIndex(i-1))&&r._checkResizability(o)&&(t.stopPropagation(),o.reinitializeWidth(!0))})),n.appendChild(a),n.appendChild(s)}}_checkResizability(t){return t.definition.resizable}_mouseDown(t,e,n){var r=this;function i(t){r.table.rtl?e.setWidth(r.startWidth-((void 0===t.screenX?t.touches[0].screenX:t.screenX)-r.startX)):e.setWidth(r.startWidth+((void 0===t.screenX?t.touches[0].screenX:t.screenX)-r.startX)),r.table.columnManager.renderer.rerenderColumns(!0),!r.table.browserSlow&&e.modules.resize&&e.modules.resize.variableHeight&&e.checkCellHeights()}function o(t){r.startColumn.modules.edit&&(r.startColumn.modules.edit.blocked=!1),r.table.browserSlow&&e.modules.resize&&e.modules.resize.variableHeight&&e.checkCellHeights(),document.body.removeEventListener(\\\"mouseup\\\",o),document.body.removeEventListener(\\\"mousemove\\\",i),n.removeEventListener(\\\"touchmove\\\",i),n.removeEventListener(\\\"touchend\\\",o),r.table.element.classList.remove(\\\"tabulator-block-select\\\"),r.dispatch(\\\"column-resized\\\",e),r.table.externalEvents.dispatch(\\\"columnResized\\\",e.getComponent())}r.table.element.classList.add(\\\"tabulator-block-select\\\"),t.stopPropagation(),r.startColumn.modules.edit&&(r.startColumn.modules.edit.blocked=!0),r.startX=void 0===t.screenX?t.touches[0].screenX:t.screenX,r.startWidth=e.getWidth(),document.body.addEventListener(\\\"mousemove\\\",i),document.body.addEventListener(\\\"mouseup\\\",o),n.addEventListener(\\\"touchmove\\\",i,{passive:!0}),n.addEventListener(\\\"touchend\\\",o)}}r.moduleName=\\\"resizeColumns\\\";const i=r},1792:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{CSG:()=>h});var r=n(7560);class i{constructor(t){this.top=0,this.array=new Float32Array(t)}write(t){this.array[this.top++]=t.x,this.array[this.top++]=t.y,this.array[this.top++]=t.z}}class o{constructor(t){this.top=0,this.array=new Float32Array(t)}write(t){this.array[this.top++]=t.x,this.array[this.top++]=t.y}}class a{constructor(t){this.plane=null,this.front=null,this.back=null,this.polygons=[],t&&this.build(t)}clone(){const t=new a;return t.plane=this.plane&&this.plane.clone(),t.front=this.front&&this.front.clone(),t.back=this.back&&this.back.clone(),t.polygons=this.polygons.map((t=>t.clone())),t}invert(){for(let t=0;t<this.polygons.length;t++)this.polygons[t].flip();this.plane&&this.plane.flip(),this.front&&this.front.invert(),this.back&&this.back.invert();const t=this.front;this.front=this.back,this.back=t}clipPolygons(t){if(!this.plane)return t.slice();let e=new Array,n=new Array;for(let r=0;r<t.length;r++)this.plane.splitPolygon(t[r],e,n,e,n);return this.front&&(e=this.front.clipPolygons(e)),n=this.back?this.back.clipPolygons(n):[],e.concat(n)}clipTo(t){this.polygons=t.clipPolygons(this.polygons),this.front&&this.front.clipTo(t),this.back&&this.back.clipTo(t)}allPolygons(){let t=this.polygons.slice();return this.front&&(t=t.concat(this.front.allPolygons())),this.back&&(t=t.concat(this.back.allPolygons())),t}build(t){if(!t.length)return;this.plane||(this.plane=t[0].plane.clone());const e=[],n=[];for(let r=0;r<t.length;r++)this.plane.splitPolygon(t[r],this.polygons,this.polygons,e,n);e.length&&(this.front||(this.front=new a),this.front.build(e)),n.length&&(this.back||(this.back=new a),this.back.build(n))}}class s{constructor(t=0,e=0,n=0){this.x=t,this.y=e,this.z=n}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}clone(){return new s(this.x,this.y,this.z)}negate(){return this.x*=-1,this.y*=-1,this.z*=-1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}times(t){return this.x*=t,this.y*=t,this.z*=t,this}dividedBy(t){return this.x/=t,this.y/=t,this.z/=t,this}lerp(t,e){return this.add((new s).copy(t).sub(this).times(e))}unit(){return this.dividedBy(this.length())}length(){return Math.sqrt(Math.pow(this.x,2)+Math.pow(this.y,2)+Math.pow(this.z,2))}normalize(){return this.unit()}cross(t){const e=this.clone(),n=e.x,r=e.y,i=e.z,o=t.x,a=t.y,s=t.z;return this.x=r*s-i*a,this.y=i*o-n*s,this.z=n*a-r*o,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}toVector3(){return new r.Pa4(this.x,this.y,this.z)}}class l{constructor(t,e){this.normal=t,this.w=e,this.normal=t,this.w=e}clone(){return new l(this.normal.clone(),this.w)}flip(){this.normal.negate(),this.w=-this.w}splitPolygon(t,e,n,r,i){let o=0;const a=[];for(let e=0;e<t.vertices.length;e++){const n=this.normal.dot(t.vertices[e].pos)-this.w,r=n<-l.EPSILON?2:n>l.EPSILON?1:0;o|=r,a.push(r)}switch(o){case 0:(this.normal.dot(t.plane.normal)>0?e:n).push(t);break;case 1:r.push(t);break;case 2:i.push(t);break;case 3:{const e=[],n=[];for(let r=0;r<t.vertices.length;r++){const i=(r+1)%t.vertices.length,o=a[r],l=a[i],u=t.vertices[r],c=t.vertices[i];if(2!=o&&e.push(u),1!=o&&n.push(2!=o?u.clone():u),3==(o|l)){const t=(this.w-this.normal.dot(u.pos))/this.normal.dot((new s).copy(c.pos).sub(u.pos)),r=u.interpolate(c,t);e.push(r),n.push(r.clone())}}e.length>=3&&r.push(new u(e,t.shared)),n.length>=3&&i.push(new u(n,t.shared));break}}}static fromPoints(t,e,n){const r=(new s).copy(e).sub(t).cross((new s).copy(n).sub(t)).normalize();return new l(r.clone(),r.dot(t))}}l.EPSILON=1e-5;class u{constructor(t,e){this.vertices=t,this.shared=e,this.plane=l.fromPoints(t[0].pos,t[1].pos,t[2].pos)}clone(){return new u(this.vertices.map((t=>t.clone())),this.shared)}flip(){this.vertices.reverse().map((t=>t.flip())),this.plane.flip()}}class c{constructor(t,e,n,r){this.pos=(new s).copy(t),this.normal=(new s).copy(e),this.uv=(new s).copy(n),this.uv.z=0,r&&(this.color=(new s).copy(r))}clone(){return new c(this.pos,this.normal,this.uv,this.color)}flip(){this.normal.negate()}interpolate(t,e){return new c(this.pos.clone().lerp(t.pos,e),this.normal.clone().lerp(t.normal,e),this.uv.clone().lerp(t.uv,e),this.color&&t.color&&this.color.clone().lerp(t.color,e))}}class h{constructor(){this.polygons=new Array}static fromPolygons(t){const e=new h;return e.polygons=t,e}static fromGeometry(t,e){let n=[];const r=t.attributes.position,i=t.attributes.normal,o=t.attributes.uv,a=t.attributes.color,l=t.groups;let p;if(t.index)p=t.index.array;else{p=new Array(r.array.length/r.itemSize|0);for(let t=0;t<p.length;t++)p[t]=t}const f=p.length/3|0;n=new Array(f);for(let t=0,h=0,f=p.length;t<f;t+=3,h++){const f=new Array(3);for(let e=0;e<3;e++){const n=p[t+e],l=3*n,u=2*n,h=r.array[l],d=r.array[l+1],m=r.array[l+2],v=i.array[l],g=i.array[l+1],y=i.array[l+2],_=null==o?void 0:o.array[u],b=null==o?void 0:o.array[u+1];f[e]=new c(new s(h,d,m),new s(v,g,y),new s(_,b,0),a&&new s(a.array[u],a.array[u+1],a.array[u+2]))}if(void 0===e&&l&&l.length>0)for(const e of l)p[t]>=e.start&&p[t]<e.start+e.count&&(n[h]=new u(f,e.materialIndex));else n[h]=new u(f,e)}return h.fromPolygons(n.filter((t=>!isNaN(t.plane.normal.x))))}static toGeometry(t,e){let n=0;const a=t.polygons;for(const t of a)n+=t.vertices.length-2;const s=new r.u9r,l=new i(3*n*3),u=new i(3*n*3),c=new o(2*n*3);let h;const p=[],f=[];for(const t of a){const e=t.vertices,r=e.length;void 0!==t.shared&&(p[t.shared]||(p[t.shared]=[])),r&&void 0!==e[0].color&&(h||(h=new i(3*n*3)));for(let n=3;n<=r;n++)(void 0===t.shared?f:p[t.shared]).push(l.top/3,l.top/3+1,l.top/3+2),l.write(e[0].pos),l.write(e[n-2].pos),l.write(e[n-1].pos),u.write(e[0].normal),u.write(e[n-2].normal),u.write(e[n-1].normal),c&&(c.write(e[0].uv),c.write(e[n-2].uv),c.write(e[n-1].uv)),h&&(h.write(e[0].color),h.write(e[n-2].color),h.write(e[n-1].color))}s.setAttribute(\\\"position\\\",new r.TlE(l.array,3)),s.setAttribute(\\\"normal\\\",new r.TlE(u.array,3)),c&&s.setAttribute(\\\"uv\\\",new r.TlE(c.array,2)),h&&s.setAttribute(\\\"color\\\",new r.TlE(h.array,3));for(let t=0;t<p.length;t++)void 0===p[t]&&(p[t]=[]);if(p.length){let t=[],e=0;for(let n=0;n<p.length;n++)s.addGroup(e,p[n].length,n),e+=p[n].length,t=t.concat(p[n]);s.addGroup(e,f.length,p.length),t=t.concat(f),s.setIndex(t)}const d=(new r.yGw).copy(e).invert();return s.applyMatrix4(d),s.computeBoundingSphere(),s.computeBoundingBox(),s}static fromMesh(t,e){const n=h.fromGeometry(t.geometry,e),i=new r.Pa4,o=new r.Vkp;o.getNormalMatrix(t.matrix);for(let e=0;e<n.polygons.length;e++){const r=n.polygons[e];for(let e=0;e<r.vertices.length;e++){const n=r.vertices[e];n.pos.copy(i.copy(n.pos.toVector3()).applyMatrix4(t.matrix)),n.normal.copy(i.copy(n.normal.toVector3()).applyMatrix3(o))}}return n}static toMesh(t,e,n){const i=h.toGeometry(t,e),o=new r.Kj0(i,n);return o.matrix.copy(e),o.matrix.decompose(o.position,o.quaternion,o.scale),o.rotation.setFromQuaternion(o.quaternion),o.updateMatrixWorld(),o.castShadow=o.receiveShadow=!0,o}static union(t,e){const n=h.fromMesh(t),r=h.fromMesh(e);return h.toMesh(n.union(r),t.matrix,t.material)}static subtract(t,e){const n=h.fromMesh(t),r=h.fromMesh(e);return h.toMesh(n.subtract(r),t.matrix,t.material)}static intersect(t,e){const n=h.fromMesh(t),r=h.fromMesh(e);return h.toMesh(n.intersect(r),t.matrix,t.material)}clone(){const t=new h;return t.polygons=this.polygons.map((t=>t.clone())).filter((t=>Number.isFinite(t.plane.w))),t}toPolygons(){return this.polygons}union(t){const e=new a(this.clone().polygons),n=new a(t.clone().polygons);return e.clipTo(n),n.clipTo(e),n.invert(),n.clipTo(e),n.invert(),e.build(n.allPolygons()),h.fromPolygons(e.allPolygons())}subtract(t){const e=new a(this.clone().polygons),n=new a(t.clone().polygons);return e.invert(),e.clipTo(n),n.clipTo(e),n.invert(),n.clipTo(e),n.invert(),e.build(n.allPolygons()),e.invert(),h.fromPolygons(e.allPolygons())}intersect(t){const e=new a(this.clone().polygons),n=new a(t.clone().polygons);return e.invert(),n.clipTo(e),n.invert(),e.clipTo(n),n.clipTo(e),e.build(n.allPolygons()),e.invert(),h.fromPolygons(e.allPolygons())}inverse(){const t=this.clone();for(const e of t.polygons)e.flip();return t}toMesh(t,e){return h.toMesh(this,t,e)}toGeometry(t){return h.toGeometry(this,t)}}},4749:function(t,e,n){(function(){\\\"use strict\\\";var r=this.THREE||n(9585);if(!r)throw new Error(\\\"MeshLine requires three.js\\\");class i extends r.BufferGeometry{constructor(){super(),this.isMeshLine=!0,this.type=\\\"MeshLine\\\",this.positions=[],this.previous=[],this.next=[],this.side=[],this.width=[],this.indices_array=[],this.uvs=[],this.counters=[],this._points=[],this._geom=null,this.widthCallback=null,this.matrixWorld=new r.Matrix4,Object.defineProperties(this,{geometry:{enumerable:!0,get:function(){return this}},geom:{enumerable:!0,get:function(){return this._geom},set:function(t){this.setGeometry(t,this.widthCallback)}},points:{enumerable:!0,get:function(){return this._points},set:function(t){this.setPoints(t,this.widthCallback)}}})}}function o(t,e){var n=new r.Matrix4,i=new r.Ray,o=new r.Sphere,a=new r.Vector3,s=this.geometry;if(s.boundingSphere||s.computeBoundingSphere(),o.copy(s.boundingSphere),o.applyMatrix4(this.matrixWorld),!1!==t.ray.intersectSphere(o,a)){n.copy(this.matrixWorld).invert(),i.copy(t.ray).applyMatrix4(n);var l=new r.Vector3,u=new r.Vector3,c=new r.Vector3,h=this instanceof r.LineSegments?2:1,p=s.index,f=s.attributes;if(null!==p)for(var d=p.array,m=f.position.array,v=f.width.array,g=0,y=d.length-1;g<y;g+=h){var _=d[g],b=d[g+1];l.fromArray(m,3*_),u.fromArray(m,3*b);var x=void 0!==v[Math.floor(g/3)]?v[Math.floor(g/3)]:1,w=t.params.Line.threshold+this.material.lineWidth*x/2,A=w*w;if(!(i.distanceSqToSegment(l,u,a,c)>A)){a.applyMatrix4(this.matrixWorld);var C=t.ray.origin.distanceTo(a);C<t.near||C>t.far||(e.push({distance:C,point:c.clone().applyMatrix4(this.matrixWorld),index:g,face:null,faceIndex:null,object:this}),g=y)}}}}function a(t,e,n,r,i){var o;if(t=t.subarray||t.slice?t:t.buffer,n=n.subarray||n.slice?n:n.buffer,t=e?t.subarray?t.subarray(e,i&&e+i):t.slice(e,i&&e+i):t,n.set)n.set(t,r);else for(o=0;o<t.length;o++)n[o+r]=t[o];return n}i.prototype.setMatrixWorld=function(t){this.matrixWorld=t},i.prototype.setGeometry=function(t,e){this._geometry=t,this.setPoints(t.getAttribute(\\\"position\\\").array,e)},i.prototype.setPoints=function(t,e){if(t instanceof Float32Array||t instanceof Array){if(this._points=t,this.widthCallback=e,this.positions=[],this.counters=[],t.length&&t[0]instanceof r.Vector3)for(var n=0;n<t.length;n++){var i=t[n],o=n/t.length;this.positions.push(i.x,i.y,i.z),this.positions.push(i.x,i.y,i.z),this.counters.push(o),this.counters.push(o)}else for(n=0;n<t.length;n+=3)o=n/t.length,this.positions.push(t[n],t[n+1],t[n+2]),this.positions.push(t[n],t[n+1],t[n+2]),this.counters.push(o),this.counters.push(o);this.process()}else console.error(\\\"ERROR: The BufferArray of points is not instancied correctly.\\\")},i.prototype.raycast=o,i.prototype.compareV3=function(t,e){var n=6*t,r=6*e;return this.positions[n]===this.positions[r]&&this.positions[n+1]===this.positions[r+1]&&this.positions[n+2]===this.positions[r+2]},i.prototype.copyV3=function(t){var e=6*t;return[this.positions[e],this.positions[e+1],this.positions[e+2]]},i.prototype.process=function(){var t,e,n=this.positions.length/6;this.previous=[],this.next=[],this.side=[],this.width=[],this.indices_array=[],this.uvs=[],e=this.compareV3(0,n-1)?this.copyV3(n-2):this.copyV3(0),this.previous.push(e[0],e[1],e[2]),this.previous.push(e[0],e[1],e[2]);for(var i=0;i<n;i++){if(this.side.push(1),this.side.push(-1),t=this.widthCallback?this.widthCallback(i/(n-1)):1,this.width.push(t),this.width.push(t),this.uvs.push(i/(n-1),0),this.uvs.push(i/(n-1),1),i<n-1){e=this.copyV3(i),this.previous.push(e[0],e[1],e[2]),this.previous.push(e[0],e[1],e[2]);var o=2*i;this.indices_array.push(o,o+1,o+2),this.indices_array.push(o+2,o+1,o+3)}i>0&&(e=this.copyV3(i),this.next.push(e[0],e[1],e[2]),this.next.push(e[0],e[1],e[2]))}e=this.compareV3(n-1,0)?this.copyV3(1):this.copyV3(n-1),this.next.push(e[0],e[1],e[2]),this.next.push(e[0],e[1],e[2]),this._attributes&&this._attributes.position.count===this.positions.length?(this._attributes.position.copyArray(new Float32Array(this.positions)),this._attributes.position.needsUpdate=!0,this._attributes.previous.copyArray(new Float32Array(this.previous)),this._attributes.previous.needsUpdate=!0,this._attributes.next.copyArray(new Float32Array(this.next)),this._attributes.next.needsUpdate=!0,this._attributes.side.copyArray(new Float32Array(this.side)),this._attributes.side.needsUpdate=!0,this._attributes.width.copyArray(new Float32Array(this.width)),this._attributes.width.needsUpdate=!0,this._attributes.uv.copyArray(new Float32Array(this.uvs)),this._attributes.uv.needsUpdate=!0,this._attributes.index.copyArray(new Uint16Array(this.indices_array)),this._attributes.index.needsUpdate=!0):this._attributes={position:new r.BufferAttribute(new Float32Array(this.positions),3),previous:new r.BufferAttribute(new Float32Array(this.previous),3),next:new r.BufferAttribute(new Float32Array(this.next),3),side:new r.BufferAttribute(new Float32Array(this.side),1),width:new r.BufferAttribute(new Float32Array(this.width),1),uv:new r.BufferAttribute(new Float32Array(this.uvs),2),index:new r.BufferAttribute(new Uint16Array(this.indices_array),1),counters:new r.BufferAttribute(new Float32Array(this.counters),1)},this.setAttribute(\\\"position\\\",this._attributes.position),this.setAttribute(\\\"previous\\\",this._attributes.previous),this.setAttribute(\\\"next\\\",this._attributes.next),this.setAttribute(\\\"side\\\",this._attributes.side),this.setAttribute(\\\"width\\\",this._attributes.width),this.setAttribute(\\\"uv\\\",this._attributes.uv),this.setAttribute(\\\"counters\\\",this._attributes.counters),this.setIndex(this._attributes.index),this.computeBoundingSphere(),this.computeBoundingBox()},i.prototype.advance=function(t){var e=this._attributes.position.array,n=this._attributes.previous.array,r=this._attributes.next.array,i=e.length;a(e,0,n,0,i),a(e,6,e,0,i-6),e[i-6]=t.x,e[i-5]=t.y,e[i-4]=t.z,e[i-3]=t.x,e[i-2]=t.y,e[i-1]=t.z,a(e,6,r,0,i-6),r[i-6]=t.x,r[i-5]=t.y,r[i-4]=t.z,r[i-3]=t.x,r[i-2]=t.y,r[i-1]=t.z,this._attributes.position.needsUpdate=!0,this._attributes.previous.needsUpdate=!0,this._attributes.next.needsUpdate=!0},r.ShaderChunk.meshline_vert=[\\\"\\\",r.ShaderChunk.logdepthbuf_pars_vertex,r.ShaderChunk.fog_pars_vertex,\\\"\\\",\\\"attribute vec3 previous;\\\",\\\"attribute vec3 next;\\\",\\\"attribute float side;\\\",\\\"attribute float width;\\\",\\\"attribute float counters;\\\",\\\"\\\",\\\"uniform vec2 resolution;\\\",\\\"uniform float lineWidth;\\\",\\\"uniform vec3 color;\\\",\\\"uniform float opacity;\\\",\\\"uniform float sizeAttenuation;\\\",\\\"\\\",\\\"varying vec2 vUV;\\\",\\\"varying vec4 vColor;\\\",\\\"varying float vCounters;\\\",\\\"\\\",\\\"vec2 fix( vec4 i, float aspect ) {\\\",\\\"\\\",\\\" vec2 res = i.xy / i.w;\\\",\\\" res.x *= aspect;\\\",\\\"\\\\t vCounters = counters;\\\",\\\" return res;\\\",\\\"\\\",\\\"}\\\",\\\"\\\",\\\"void main() {\\\",\\\"\\\",\\\" float aspect = resolution.x / resolution.y;\\\",\\\"\\\",\\\" vColor = vec4( color, opacity );\\\",\\\" vUV = uv;\\\",\\\"\\\",\\\" mat4 m = projectionMatrix * modelViewMatrix;\\\",\\\" vec4 finalPosition = m * vec4( position, 1.0 );\\\",\\\" vec4 prevPos = m * vec4( previous, 1.0 );\\\",\\\" vec4 nextPos = m * vec4( next, 1.0 );\\\",\\\"\\\",\\\" vec2 currentP = fix( finalPosition, aspect );\\\",\\\" vec2 prevP = fix( prevPos, aspect );\\\",\\\" vec2 nextP = fix( nextPos, aspect );\\\",\\\"\\\",\\\" float w = lineWidth * width;\\\",\\\"\\\",\\\" vec2 dir;\\\",\\\" if( nextP == currentP ) dir = normalize( currentP - prevP );\\\",\\\" else if( prevP == currentP ) dir = normalize( nextP - currentP );\\\",\\\" else {\\\",\\\" vec2 dir1 = normalize( currentP - prevP );\\\",\\\" vec2 dir2 = normalize( nextP - currentP );\\\",\\\" dir = normalize( dir1 + dir2 );\\\",\\\"\\\",\\\" vec2 perp = vec2( -dir1.y, dir1.x );\\\",\\\" vec2 miter = vec2( -dir.y, dir.x );\\\",\\\" //w = clamp( w / dot( miter, perp ), 0., 4. * lineWidth * width );\\\",\\\"\\\",\\\" }\\\",\\\"\\\",\\\" //vec2 normal = ( cross( vec3( dir, 0. ), vec3( 0., 0., 1. ) ) ).xy;\\\",\\\" vec4 normal = vec4( -dir.y, dir.x, 0., 1. );\\\",\\\" normal.xy *= .5 * w;\\\",\\\" normal *= projectionMatrix;\\\",\\\" if( sizeAttenuation == 0. ) {\\\",\\\" normal.xy *= finalPosition.w;\\\",\\\" normal.xy /= ( vec4( resolution, 0., 1. ) * projectionMatrix ).xy;\\\",\\\" }\\\",\\\"\\\",\\\" finalPosition.xy += normal.xy * side;\\\",\\\"\\\",\\\" gl_Position = finalPosition;\\\",\\\"\\\",r.ShaderChunk.logdepthbuf_vertex,r.ShaderChunk.fog_vertex&&\\\" vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\\\",r.ShaderChunk.fog_vertex,\\\"}\\\"].join(\\\"\\\\n\\\"),r.ShaderChunk.meshline_frag=[\\\"\\\",r.ShaderChunk.fog_pars_fragment,r.ShaderChunk.logdepthbuf_pars_fragment,\\\"\\\",\\\"uniform sampler2D map;\\\",\\\"uniform sampler2D alphaMap;\\\",\\\"uniform float useMap;\\\",\\\"uniform float useAlphaMap;\\\",\\\"uniform float useDash;\\\",\\\"uniform float dashArray;\\\",\\\"uniform float dashOffset;\\\",\\\"uniform float dashRatio;\\\",\\\"uniform float visibility;\\\",\\\"uniform float alphaTest;\\\",\\\"uniform vec2 repeat;\\\",\\\"\\\",\\\"varying vec2 vUV;\\\",\\\"varying vec4 vColor;\\\",\\\"varying float vCounters;\\\",\\\"\\\",\\\"void main() {\\\",\\\"\\\",r.ShaderChunk.logdepthbuf_fragment,\\\"\\\",\\\" vec4 c = vColor;\\\",\\\" if( useMap == 1. ) c *= texture2D( map, vUV * repeat );\\\",\\\" if( useAlphaMap == 1. ) c.a *= texture2D( alphaMap, vUV * repeat ).a;\\\",\\\" if( c.a < alphaTest ) discard;\\\",\\\" if( useDash == 1. ){\\\",\\\" c.a *= ceil(mod(vCounters + dashOffset, dashArray) - (dashArray * dashRatio));\\\",\\\" }\\\",\\\" gl_FragColor = c;\\\",\\\" gl_FragColor.a *= step(vCounters, visibility);\\\",\\\"\\\",r.ShaderChunk.fog_fragment,\\\"}\\\"].join(\\\"\\\\n\\\");class s extends r.ShaderMaterial{constructor(t){super({uniforms:Object.assign({},r.UniformsLib.fog,{lineWidth:{value:1},map:{value:null},useMap:{value:0},alphaMap:{value:null},useAlphaMap:{value:0},color:{value:new r.Color(16777215)},opacity:{value:1},resolution:{value:new r.Vector2(1,1)},sizeAttenuation:{value:1},dashArray:{value:0},dashOffset:{value:0},dashRatio:{value:.5},useDash:{value:0},visibility:{value:1},alphaTest:{value:0},repeat:{value:new r.Vector2(1,1)}}),vertexShader:r.ShaderChunk.meshline_vert,fragmentShader:r.ShaderChunk.meshline_frag}),this.isMeshLineMaterial=!0,this.type=\\\"MeshLineMaterial\\\",Object.defineProperties(this,{lineWidth:{enumerable:!0,get:function(){return this.uniforms.lineWidth.value},set:function(t){this.uniforms.lineWidth.value=t}},map:{enumerable:!0,get:function(){return this.uniforms.map.value},set:function(t){this.uniforms.map.value=t}},useMap:{enumerable:!0,get:function(){return this.uniforms.useMap.value},set:function(t){this.uniforms.useMap.value=t}},alphaMap:{enumerable:!0,get:function(){return this.uniforms.alphaMap.value},set:function(t){this.uniforms.alphaMap.value=t}},useAlphaMap:{enumerable:!0,get:function(){return this.uniforms.useAlphaMap.value},set:function(t){this.uniforms.useAlphaMap.value=t}},color:{enumerable:!0,get:function(){return this.uniforms.color.value},set:function(t){this.uniforms.color.value=t}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(t){this.uniforms.opacity.value=t}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(t){this.uniforms.resolution.value.copy(t)}},sizeAttenuation:{enumerable:!0,get:function(){return this.uniforms.sizeAttenuation.value},set:function(t){this.uniforms.sizeAttenuation.value=t}},dashArray:{enumerable:!0,get:function(){return this.uniforms.dashArray.value},set:function(t){this.uniforms.dashArray.value=t,this.useDash=0!==t?1:0}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(t){this.uniforms.dashOffset.value=t}},dashRatio:{enumerable:!0,get:function(){return this.uniforms.dashRatio.value},set:function(t){this.uniforms.dashRatio.value=t}},useDash:{enumerable:!0,get:function(){return this.uniforms.useDash.value},set:function(t){this.uniforms.useDash.value=t}},visibility:{enumerable:!0,get:function(){return this.uniforms.visibility.value},set:function(t){this.uniforms.visibility.value=t}},alphaTest:{enumerable:!0,get:function(){return this.uniforms.alphaTest.value},set:function(t){this.uniforms.alphaTest.value=t}},repeat:{enumerable:!0,get:function(){return this.uniforms.repeat.value},set:function(t){this.uniforms.repeat.value.copy(t)}}}),this.setValues(t)}}s.prototype.copy=function(t){return r.ShaderMaterial.prototype.copy.call(this,t),this.lineWidth=t.lineWidth,this.map=t.map,this.useMap=t.useMap,this.alphaMap=t.alphaMap,this.useAlphaMap=t.useAlphaMap,this.color.copy(t.color),this.opacity=t.opacity,this.resolution.copy(t.resolution),this.sizeAttenuation=t.sizeAttenuation,this.dashArray.copy(t.dashArray),this.dashOffset.copy(t.dashOffset),this.dashRatio.copy(t.dashRatio),this.useDash=t.useDash,this.visibility=t.visibility,this.alphaTest=t.alphaTest,this.repeat.copy(t.repeat),this},t.exports&&(e=t.exports={MeshLine:i,MeshLineMaterial:s,MeshLineRaycast:o}),e.MeshLine=i,e.MeshLineMaterial=s,e.MeshLineRaycast=o}).call(this)},1741:(t,e,n)=>{function r(t){try{if(!n.g.localStorage)return!1}catch(t){return!1}var e=n.g.localStorage[t];return null!=e&&\\\"true\\\"===String(e).toLowerCase()}t.exports=function(t,e){if(r(\\\"noDeprecation\\\"))return t;var n=!1;return function(){if(!n){if(r(\\\"throwDeprecation\\\"))throw new Error(e);r(\\\"traceDeprecation\\\")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}},2868:(t,e,n)=>{!function(t,e){\\\"use strict\\\";var n,r=e.$_$.ib,i=e.$_$.aa,o=e.$_$.pf;function a(){n=this,l.call(this)}function s(){return null==n&&new a,n}function l(){}function u(t){this.j1u_1=t}function c(t){this.n1u_1=t}function h(t){this.k1u_1=t}a.prototype=Object.create(l.prototype),a.prototype.constructor=a,a.$metadata$=r(\\\"None\\\",void 0,void 0,void 0,void 0,l.prototype),l.prototype.atomicfu$Trace$append$1=function(t){},l.prototype.atomicfu$Trace$append$2=function(t,e){},l.prototype.atomicfu$Trace$append$3=function(t,e,n){},l.prototype.atomicfu$Trace$append$4=function(t,e,n,r){},l.$metadata$=i(\\\"TraceBase\\\"),u.prototype.l1u=function(t){this.j1u_1=t},u.prototype.m1u=function(){return this.j1u_1},u.prototype.atomicfu$compareAndSet=function(t,e){return this.j1u_1===t&&(this.j1u_1=e,!0)},u.prototype.atomicfu$getAndSet=function(t){var e=this.j1u_1;return this.j1u_1=t,e},u.prototype.toString=function(){return o(this.j1u_1)},u.$metadata$=i(\\\"AtomicRef\\\"),Object.defineProperty(u.prototype,\\\"kotlinx$atomicfu$value\\\",{configurable:!0,get:u.prototype.m1u,set:u.prototype.l1u}),c.prototype.o1u=function(t){this.n1u_1=t},c.prototype.m1u=function(){return this.n1u_1},c.prototype.atomicfu$compareAndSet=function(t,e){return this.n1u_1===t&&(this.n1u_1=e,!0)},c.prototype.atomicfu$getAndSet=function(t){var e=this.n1u_1;return this.n1u_1=t,e},c.prototype.toString=function(){return this.n1u_1.toString()},c.$metadata$=i(\\\"AtomicBoolean\\\"),Object.defineProperty(c.prototype,\\\"kotlinx$atomicfu$value\\\",{configurable:!0,get:c.prototype.m1u,set:c.prototype.o1u}),h.prototype.p1u=function(t){this.k1u_1=t},h.prototype.m1u=function(){return this.k1u_1},h.prototype.atomicfu$compareAndSet=function(t,e){return this.k1u_1===t&&(this.k1u_1=e,!0)},h.prototype.atomicfu$getAndSet=function(t){var e=this.k1u_1;return this.k1u_1=t,e},h.prototype.atomicfu$getAndIncrement=function(){var t=this.k1u_1;return this.k1u_1=t+1|0,t},h.prototype.atomicfu$getAndDecrement=function(){var t=this.k1u_1;return this.k1u_1=t-1|0,t},h.prototype.atomicfu$getAndAdd=function(t){var e=this.k1u_1;return this.k1u_1=this.k1u_1+t|0,e},h.prototype.atomicfu$addAndGet=function(t){return this.k1u_1=this.k1u_1+t|0,this.k1u_1},h.prototype.atomicfu$incrementAndGet=function(){var t=this;return t.k1u_1=t.k1u_1+1|0,t.k1u_1},h.prototype.atomicfu$decrementAndGet=function(){var t=this;return t.k1u_1=t.k1u_1-1|0,t.k1u_1},h.prototype.toString=function(){return this.k1u_1.toString()},h.$metadata$=i(\\\"AtomicInt\\\"),Object.defineProperty(h.prototype,\\\"kotlinx$atomicfu$value\\\",{configurable:!0,get:h.prototype.m1u,set:h.prototype.p1u}),t.$_$=t.$_$||{},t.$_$.a=function(t){return function(t,e){return new c(t)}(t,s())},t.$_$.b=function(t){return function(t,e){return new u(t)}(t,s())},t.$_$.c=function(t){return function(t,e){return new h(t)}(t,s())}}(t.exports,n(8744))},5247:(t,e,n)=>{!function(t,e,n,r){\\\"use strict\\\";var i,o,a,s,l,u,c=Math.imul,h=e.$_$.d1,p=n.$_$.e1,f=n.$_$.mb,d=n.$_$.d2,m=n.$_$.aa,v=n.$_$.oe,g=n.$_$.pb,y=n.$_$.ib,_=r.$_$.h,b=r.$_$.r,x=n.$_$.b5,w=e.$_$.w1,A=n.$_$.kf,C=n.$_$.w6,M=n.$_$.b6,E=n.$_$.t7,T=n.$_$.tb,S=n.$_$.j1,k=n.$_$.a7,O=e.$_$.o3,I=n.$_$.n8,L=e.$_$.h2,P=n.$_$.qf,z=e.$_$.z3,R=n.$_$.a1,D=e.$_$.u3,$=e.$_$.m4,B=e.$_$.z1,N=r.$_$.q,F=n.$_$.ka,j=n.$_$.dc,U=n.$_$.ha,q=e.$_$.h4,V=n.$_$.ja,H=n.$_$.i3,G=n.$_$.md,W=e.$_$.n4,X=e.$_$.p4,Y=n.$_$.r8,Z=e.$_$.y4,K=e.$_$.a2,J=n.$_$.ta,Q=e.$_$.a1,tt=e.$_$.q4,et=n.$_$.x6,nt=r.$_$.d,rt=r.$_$.p,it=e.$_$.a5,ot=n.$_$.u1,at=n.$_$.q2,st=n.$_$.nf,lt=n.$_$.e,ut=n.$_$.x7,ct=n.$_$.wa,ht=n.$_$.g5,pt=n.$_$.y9,ft=n.$_$.s7,dt=n.$_$.m,mt=n.$_$.ia,vt=n.$_$.k1,gt=n.$_$.gc,yt=n.$_$.f,_t=e.$_$.h1;function bt(t){return C()}function xt(){var t=this.k2m().l2o_1;return Q(t,!1,1,null)}function wt(){var t=L();return t.y1o(\\\"context\\\",this.p5().t2m_1.toString()),P(\\\"type\\\",lt(t).v8()),t.z1o(\\\"tag\\\",this.k2m()),t.r1o(\\\"meta\\\",this.n1l()),D(t)}function At(t,e,n,r){return 0!=(1&e)&&(t=h().r1m_1),Ct.call(r,t),r}function Ct(t){this.h2m_1=t,this.i2m_1=null,this.j2m_1=p()}function Mt(t){this.r2m_1=t}function Et(){i=this,this.e2n_1=\\\"context.property\\\"}function Tt(){return null==i&&new Et,i}function St(t,e,n,r){var i,o,a;Tt(),this.t2m_1=t,this.u2m_1=e,i=null==this.u2m_1?w([r]):w([r,this.u2m_1.v2m_1]),this.v2m_1=i,this.w2m_1=A((o=this,a=n,function(){return new Yt(o,a)})),this.x2m_1=A(function(t){return function(){var e=t.u2m_1,n=(null==e?Rt():e).w1u();return n.n7(b(n.g7(_())))}}(this)),this.y2m_1=p()}function kt(){}function Ot(t,e,n,r,i){var o,a,s=t.s(r.k2m());if(null==s){for(var l=r.n2n(e.j2n_1,i),u=l.n2m().y().e();u.f();){var c=u.g();Ot(t,e,n,c.u2(),c.w2())}$t(Ut(e.j2n_1),(o=l,a=n,function(){return\\\"Loading plugin \\\"+o.c2()+\\\" into \\\"+a}));var h=l.k2m();t.b(h,l)}else if(!s.n1l().equals(i)){var p=\\\"Plugin with tag \\\"+r.k2m()+\\\" and meta \\\"+i+\\\" already exists in \\\"+n;throw d(f(p))}}function It(t){return x()}function Lt(t,e,n){this.j2n_1=t,this.k2n_1=e,this.l2n_1=p(),this.m2n_1=q(n)}function Pt(t,e,n){var r=t.z2m(),i=e.k2m(),o=r.r2n(i,!1,2,null);return null!=o&&o.n1l().equals(n)}function zt(){}function Rt(){return null==o&&new Dt,o}function Dt(){o=this,St.call(this,tt(\\\"GLOBAL\\\"),null,et(),h().r1m_1),this.y2n_1=nt(null,1,null).n7(new rt(\\\"GlobalContext\\\"))}function $t(t,e){return Ft(),t.z2n(\\\"INFO\\\",e)}function Bt(){}function Nt(){a=this,this.a2o_1=\\\"TRACE\\\",this.b2o_1=\\\"INFO\\\",this.c2o_1=\\\"DEBUG\\\",this.d2o_1=\\\"WARNING\\\",this.e2o_1=\\\"ERROR\\\"}function Ft(){return null==a&&new Nt,a}function jt(){}function Ut(t){var e,n=t.z2m().i2o(!0,Vt),r=null!=n&&J(n,jt)?n:null;if(null==r){var i=re().n2n(Rt(),h().r1m_1);i.l2m(Rt()),e=i}else e=r;return e}function qt(t){this.j2o_1=t}function Vt(t){return J(t,jt)}function Ht(){s=this,this.k2o_1=\\\"plugin\\\"}function Gt(){return null==s&&new Ht,s}function Wt(){}function Xt(){}function Yt(t,e){this.a2n_1=t,this.b2n_1=e;for(var n=this.b2n_1.e();n.f();)n.g().l2m(this.a2n_1);var r=this.a2n_1.u2m_1;this.c2n_1=null==r?null:r.z2m()}function Zt(t,e,n,r,i){return function(t,e,n,r,i,o){return 0!=(2&r)&&(e=\\\"\\\"),0!=(4&r)&&(n=\\\"\\\"),Qt.call(o,t,e,n),o}(t,e,n,r,0,Object.create(Qt.prototype))}function Kt(){l=this,this.r2o_1=\\\"dataforge\\\"}function Jt(){return null==l&&new Kt,l}function Qt(t,e,n){Jt(),this.l2o_1=t,this.m2o_1=e,this.n2o_1=n}function te(){}function ee(t,e,n){for(var r=t.q2m(e),i=S(E(r.h())),o=r.y().e();o.f();){var a,s=o.g(),l=s.u2(),u=gt(n,s.w2());if(null==u){var c=\\\"The type of element \\\"+f(s.w2())+\\\" is \\\"+lt(s.w2())+\\\" but \\\"+n+\\\" is expected\\\";throw d(f(c))}a=u,i.b(l,a)}return i}function ne(){u=this,Jt(),this.w2o_1=Zt(\\\"log.jsConsole\\\",\\\"dataforge\\\",null,4),this.x2o_1=yt(oe)}function re(){return null==u&&new ne,u}function ie(t){this.y2o_1=t}function oe(){re(),At(null,1,0,this),this.c2p_1=this.f2o(_t().v1o_1)}Dt.prototype=Object.create(St.prototype),Dt.prototype.constructor=Dt,oe.prototype=Object.create(Ct.prototype),oe.prototype.constructor=oe,Ct.prototype.n1l=function(){return this.h2m_1},Ct.prototype.p5=function(){var t=this.i2m_1;if(null==t){var e=\\\"Plugin \\\"+this.k2m()+\\\" is not attached\\\";throw d(f(e))}return t},Ct.prototype.l2m=function(t){this.i2m_1=t},Ct.prototype.m2m=function(){this.i2m_1=null},Ct.prototype.n2m=function(){return this.j2m_1},Ct.prototype.o2m=function(t,e){return this.j2m_1.b(t,e),new Mt(t.c9())},Ct.prototype.p2m=function(t,e,n,r){return 0!=(2&n)&&(e=h().r1m_1),this.o2m(t,e)},Ct.$metadata$=m(\\\"AbstractPlugin\\\",[Wt]),Mt.prototype.s2m=function(t,e){var n=t.p5().z2m().d2n(this.r2m_1,null,!1,6,null);if(null==n){var r=\\\"Plugin with type \\\"+this.r2m_1+\\\" not found\\\";throw d(f(r))}return n},Mt.prototype.s7=function(t,e){return this.s2m(t instanceof Ct?t:v(),e)},Mt.$metadata$=m(\\\"PluginDependencyDelegate\\\",[g]),Et.$metadata$=y(\\\"Companion\\\"),St.prototype.c2=function(){return this.t2m_1},St.prototype.l1l=function(){return this.u2m_1},St.prototype.f2n=function(){return this.v2m_1},St.prototype.z2m=function(){return U(\\\"plugins\\\",1,j,(function(t){return t.z2m()}),null),this.w2m_1.w2()},St.prototype.g2n=function(t,e){var n;if(e){var r,i=t;if(Tt(),\\\"context.property\\\"===i)r=I(O(this.v2m_1));else if(Gt(),\\\"plugin\\\"===i){for(var o=this.z2m().h2n(!0),a=T(E(M(o,10)),16),s=S(a),l=o.e();l.f();){var u,c=l.g();u=c.c2(),s.b(u,c)}r=s}else r=C();n=r}else{var h,p=t;if(Tt(),\\\"context.property\\\"===p){var f=k(this.v2m_1.i1m_1),d=null==f?null:O(f),m=null==d?null:I(d);h=null==m?C():m}else if(Gt(),\\\"plugin\\\"===p){for(var v=this.z2m().h2n(!1),g=T(E(M(v,10)),16),y=S(g),_=v.e();_.f();){var b,x=_.g();b=x.c2(),y.b(b,x)}h=y}else h=C();n=h}return n},St.prototype.q2m=function(t){return this.g2n(t,!0)},St.prototype.w1u=function(){return U(\\\"coroutineContext\\\",1,j,(function(t){return t.w1u()}),null),this.x2m_1.w2()},St.prototype.i2n=function(t,e){var n,r,i=null==(n=null==t?null:this.y2m_1.s(t))?null:function(t,e){var n=new Lt(t,Z(t.t2m_1,\\\"mod\\\"),t.v2m_1);e(n);var r,i,o=n;t:{var a=o.l2n_1;if(a.i())i=!1;else{for(var s=a.y().e();s.f();){var l=s.g();if(!Pt(t,l.u2(),l.w2())){i=!0;break t}}i=!1}}if(i)r=!0;else{var u=t.v2m_1;r=(J(u,K)?u:v()).equals(o.m2n_1)}return r?o.v3():t}(n,e);if(null==i){var o=function(t,e,n,r,i){return function(t,e,n,r,i,o){return n=h().r1m_1,Lt.call(o,t,e,n),o}(t,e,null,0,0,Object.create(Lt.prototype))}(this,t);e(o);var a=o.v3(),s=this.y2m_1,l=a.t2m_1;s.b(l,a),r=a}else r=i;return r},St.prototype.v1m=function(){var t=L(),e=this.u2m_1;P(\\\"parent\\\",null==e?null:e.t2m_1);var n,r=k(this.v2m_1.i1m_1);null==r||(z(t,\\\"properties\\\",r),x());for(var i=this.z2m(),o=R(M(i,10)),a=i.e();a.f();){var s;s=a.g().v1m(),o.a(s)}return n=o,t.a1p(\\\"plugins\\\",n),D(t)},St.$metadata$=m(\\\"Context\\\",[$,B,te,N]),kt.$metadata$=F(\\\"ContextAware\\\"),Lt.prototype.o2n=function(t,e){this.l2n_1.b(t,e)},Lt.prototype.p2n=function(t,e){var n=this.l2n_1,r=L();e(r);var i=D(r);n.b(t,i)},Lt.prototype.q2n=function(t,e,n,r){return 0!=(2&n)&&(e=It),this.p2n(t,e)},Lt.prototype.v3=function(){var t,e=this.k2n_1;if(null==e){var n,r=V(this);n=H(r),t=X(new W(\\\"@auto\\\",G(n,16)))}else t=e;for(var i=t,o=p(),a=this.l2n_1.y().e();a.f();){var s=a.g();Ot(o,this,i,s.u2(),s.w2())}return new St(i,this.j2n_1,Y(o.l3()),D(this.m2n_1))},Lt.$metadata$=m(\\\"ContextBuilder\\\"),zt.$metadata$=F(\\\"Factory\\\"),Dt.prototype.w1u=function(){return this.y2n_1},Dt.$metadata$=y(\\\"GlobalContext\\\",void 0,void 0,void 0,void 0,St.prototype),Bt.$metadata$=F(\\\"Logger\\\"),Nt.$metadata$=y(\\\"Companion\\\"),jt.$metadata$=F(\\\"LogManager\\\",[Wt,Bt]),qt.prototype.z2n=function(t,e){return this.j2o_1(t,e)},qt.$metadata$=m(\\\"sam$space_kscience_dataforge_context_Logger$0\\\",[Bt]),Ht.$metadata$=y(\\\"Companion\\\"),Wt.$metadata$=F(\\\"Plugin\\\",[$,kt,te,B]),Xt.$metadata$=F(\\\"PluginFactory\\\",[zt]),Yt.prototype.p5=function(){return this.a2n_1},Yt.prototype.h2n=function(t){return t&&null!=this.c2n_1?ut(this.b2n_1,this.c2n_1.h2n(!0)):this.b2n_1},Yt.prototype.i2o=function(t,e){var n;t:{for(var r=this.h2n(t).e();r.f();){var i=r.g();if(e(i)){n=i;break t}}n=null}return n},Yt.prototype.p2o=function(t,e){return this.i2o(e,(n=t,function(t){return n.o2o(t.k2m())}));var n},Yt.prototype.r2n=function(t,e,n,r){return 0!=(2&n)&&(e=!0),this.p2o(t,e)},Yt.prototype.q2o=function(t,e,n){var r,i,o=this.i2o(n,(r=t,i=e,function(t){return!!r.w8(t)&&(null==i||i.o2o(t.k2m()))}));return null==o||ct(o)?o:v()},Yt.prototype.d2n=function(t,e,n,r,i){return 0!=(2&r)&&(e=null),0!=(4&r)&&(n=!0),this.q2o(t,e,n)},Yt.prototype.e=function(){return this.b2n_1.e()},Yt.$metadata$=m(\\\"PluginManager\\\",[kt,ht]),Kt.$metadata$=y(\\\"Companion\\\"),Qt.prototype.c2=function(){return this.l2o_1},Qt.prototype.s2o=function(){return this.m2o_1},Qt.prototype.t2o=function(){return this.n2o_1},Qt.prototype.o2o=function(t){return!!function(t,e){return t.l2o_1===e.l2o_1}(this,t)&&function(t,e){var n=t.m2o_1;return!(0!==pt(n))||t.m2o_1===e.m2o_1}(this,t)},Qt.prototype.toString=function(){var t=ft([this.m2o_1,this.l2o_1,this.n2o_1]);return dt(t,\\\":\\\",null,null,0,null,null,62,null)},Qt.prototype.v1m=function(){var t=L();return t.y1o(\\\"name\\\",this.l2o_1),t.y1o(\\\"group\\\",this.m2o_1),t.y1o(\\\"version\\\",this.n2o_1),D(t)},Qt.prototype.hashCode=function(){var t=mt(this.l2o_1);return t=c(t,31)+mt(this.m2o_1)|0,c(t,31)+mt(this.n2o_1)|0},Qt.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Qt))return!1;var e=t instanceof Qt?t:v();return this.l2o_1===e.l2o_1&&this.m2o_1===e.m2o_1&&this.n2o_1===e.n2o_1},Qt.$metadata$=m(\\\"PluginTag\\\",[B]),te.$metadata$=F(\\\"Provider\\\"),ne.prototype.n2n=function(t,e){return new oe},ne.prototype.k2m=function(){return this.w2o_1},ne.prototype.c9=function(){return this.x2o_1},ne.$metadata$=y(\\\"Companion\\\",[Xt]),ie.prototype.z2n=function(t,e){return this.y2o_1(t,e)},ie.$metadata$=m(\\\"sam$space_kscience_dataforge_context_Logger$0\\\",[Bt]),oe.prototype.f2o=function(t){return new ie((e=this,n=t,function(t,r){var i=function(t){var e;try{e=t()}catch(t){if(!(t instanceof Error))throw t;e=\\\"Error while evaluating log string: \\\"+t.message}return e}(r),o=t;return Ft(),\\\"DEBUG\\\"===o?console.debug(\\\"[\\\"+e.p5().t2m_1+\\\"] \\\"+n+\\\": \\\"+i):(Ft(),\\\"INFO\\\"===o?(console.info(\\\"[\\\"+e.p5().t2m_1+\\\"] \\\"+n+\\\": \\\"+i),x()):(Ft(),\\\"WARNING\\\"===o?(console.warn(\\\"[\\\"+e.p5().t2m_1+\\\"] \\\"+n+\\\": \\\"+i),x()):(Ft(),\\\"ERROR\\\"===o?(console.error(\\\"[\\\"+e.p5().t2m_1+\\\"] \\\"+n+\\\": \\\"+i),x()):(console.log(\\\"[\\\"+e.p5().t2m_1+\\\"] \\\"+n+\\\": \\\"+i),x())))),x()}));var e,n},oe.prototype.g2o=function(){return this.c2p_1},oe.prototype.k2m=function(){return re().w2o_1},oe.$metadata$=m(\\\"ConsoleLogManager\\\",[jt],void 0,void 0,void 0,Ct.prototype),Ct.prototype.c2=xt,Ct.prototype.v1m=wt,Ct.prototype.q2m=bt,oe.prototype.c2=xt,oe.prototype.v1m=wt,oe.prototype.q2m=bt,oe.prototype.z2n=function(t,e){return this.g2o().z2n(t,e)},oe.prototype.h2o=function(t,e,n){return this.f2o(t).z2n(e,n)},t.$_$=t.$_$||{},t.$_$.a=At,t.$_$.b=Zt,t.$_$.c=Jt,t.$_$.d=Ct,t.$_$.e=function(t,e){var n,r=Rt();return n=null==t?null:Q(t,!1,1,null),r.i2n(n,e)},t.$_$.f=xt,t.$_$.g=wt,t.$_$.h=Xt,t.$_$.i=function(t,e){return Ft(),t.z2n(\\\"DEBUG\\\",e)},t.$_$.j=function(t,e){return Ft(),t.z2n(\\\"ERROR\\\",e)},t.$_$.k=function(t,e,n){return Ft(),t.z2n(\\\"ERROR\\\",(r=n,i=e,function(){var t=ot(),e=r();if(t.f9(e).d9(at(10)),null==i);else{var n=st(i);t.f9(n).d9(at(10)),x()}return t.toString()}));var r,i},t.$_$.l=function t(e,n,r,i){var o=vt();o.i4(ee(e,n,r));for(var a=e.z2m().e();a.f();)for(var s=a.g(),l=ee(s,n,r).y().e();l.f();){var u=l.g(),c=u.u2(),h=u.w2(),p=it(s.c2(),c);if(o.e3(p))throw d(f(\\\"Name conflict during gather. An item with name \\\"+c+\\\" could not be gathered from \\\"+s+\\\" because key is already present.\\\"));o.b(p,h)}if(i){var m=e.u2m_1,v=null==m?null:t(m,n,r,i);if(null==v);else for(var g=v.y().e();g.f();){var y=g.g();o.e3(y.u2())||o.b(y.u2(),y.w2())}}return o.v3()},t.$_$.m=$t,t.$_$.n=function(t){var e;return J(t,$)?new qt((e=t,function(t,n){return Ut(e.p5()).h2o(it(e.c2(),e.c2()),t,n),x()})):Ut(t.p5())},t.$_$.o=bt,t.$_$.p=function(){return\\\"\\\"},t.$_$.q=function(){return\\\"\\\"}}(t.exports,n(384),n(8744),n(7646))},384:(t,e,n)=>{!function(t,e,n,r){\\\"use strict\\\";var i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D=Math.imul,$=e.$_$.ka,B=n.$_$.g,N=e.$_$.b5,F=n.$_$.h,j=e.$_$.lf,U=e.$_$.k1,q=n.$_$.d,V=n.$_$.l,H=e.$_$.b1,G=e.$_$.h8,W=e.$_$.b6,X=e.$_$.a1,Y=e.$_$.a6,Z=e.$_$.qf,K=e.$_$.b7,J=n.$_$.i,Q=e.$_$.ff,tt=e.$_$.o8,et=e.$_$.w6,nt=n.$_$.c,rt=e.$_$.da,it=n.$_$.o,ot=e.$_$.e1,at=n.$_$.j,st=n.$_$.k,lt=e.$_$.be,ut=e.$_$.aa,ct=e.$_$.v8,ht=e.$_$.qc,pt=e.$_$.x5,ft=e.$_$.s5,dt=e.$_$.t7,mt=e.$_$.j1,vt=e.$_$.nc,gt=e.$_$.kc,yt=e.$_$.ib,_t=e.$_$.c7,bt=e.$_$.tb,xt=e.$_$.kf,wt=e.$_$.ta,At=e.$_$.s7,Ct=e.$_$.r7,Mt=e.$_$.r5,Et=e.$_$.z6,Tt=e.$_$.dc,St=e.$_$.ha,kt=n.$_$.a,Ot=e.$_$.ja,It=e.$_$.d5,Lt=e.$_$.oc,Pt=e.$_$.eb,zt=e.$_$.fb,Rt=e.$_$.d2,Dt=e.$_$.r1,$t=e.$_$.m9,Bt=e.$_$.oe,Nt=e.$_$.hc,Ft=e.$_$.x8,jt=(e.$_$.n9,r.$_$.w2),Ut=n.$_$.e,qt=n.$_$.f,Vt=e.$_$.p8,Ht=e.$_$.p7,Gt=e.$_$.k7,Wt=e.$_$.a2,Xt=e.$_$.l1,Yt=e.$_$.v6,Zt=e.$_$.y7,Kt=e.$_$.wa,Jt=e.$_$.qb,Qt=e.$_$.n4,te=e.$_$.b8,ee=e.$_$.pf,ne=e.$_$.h1,re=e.$_$.le,ie=e.$_$.a8,oe=e.$_$.x6,ae=e.$_$.x7,se=e.$_$.mb,le=r.$_$.k2,ue=r.$_$.x,ce=r.$_$.h2,he=r.$_$.h,pe=r.$_$.f2,fe=r.$_$.g2,de=r.$_$.o2,me=e.$_$.e,ve=e.$_$.pa,ge=e.$_$.ee,ye=e.$_$.la,_e=e.$_$.na,be=e.$_$.ua,xe=e.$_$.xa,we=e.$_$.ra,Ae=e.$_$.sa,Ce=e.$_$.qa,Me=e.$_$.g5,Ee=e.$_$.va,Te=e.$_$.j,Se=e.$_$.jf,ke=r.$_$.l2,Oe=r.$_$.d2,Ie=e.$_$.pe,Le=e.$_$.l8,Pe=e.$_$.fd,ze=e.$_$.m,Re=e.$_$.e6,De=e.$_$.ia,$e=e.$_$.cb,Be=e.$_$.hb,Ne=e.$_$.gb,Fe=e.$_$.je,je=e.$_$.y9,Ue=e.$_$.r,qe=e.$_$.x,Ve=e.$_$.hd,He=r.$_$.v,Ge=e.$_$.s4,We=e.$_$.cf,Xe=e.$_$.c,Ye=r.$_$.e3,Ze=e.$_$.f,Ke=r.$_$.a,Je=r.$_$.u,Qe=r.$_$.r,tn=r.$_$.e2,en=r.$_$.b2,nn=e.$_$.a,rn=e.$_$.g6,on=e.$_$.ca,an=e.$_$.ed,sn=e.$_$.a7,ln=e.$_$.u1,un=e.$_$.yc,cn=e.$_$.zd,hn=e.$_$.q2,pn=e.$_$.tc,fn=e.$_$.z7,dn=e.$_$.u6,mn=e.$_$.m7,vn=e.$_$.t6,gn=e.$_$.c1,yn=r.$_$.j,_n=r.$_$.f1,bn=e.$_$.x9,xn=e.$_$.r6;function wn(t){var e=this.m1m(t);return null==e?null:e.w2()}function An(){return this}function Cn(t){return function(t,e){for(var n=t,r=e;;)t:do{var i;if(Qo(r))i=n;else{var o=n.o1l().s(Q(Yo(r)));if(null!=o){n=o,r=ia(r);continue t}i=null}return i}while(0)}(this,t)}function Mn(){return this}function En(t,e){this.q1o(t).o1o(e)}function Tn(t,e){this.x1o(Ho().w1o(t),e)}function Sn(t,e){this.p1o(Ho().w1o(t),Ii(e))}function kn(t,e){this.x1o(Ho().w1o(t),e.v1m())}function On(t,e){Cr(this,Ho().w1o(t),e,null,4)}function In(t){return function(t,e){for(var n=t,r=e;;)t:do{var i;if(Qo(r))i=n;else{var o=n.o1l().s(Q(Yo(r)));if(null!=o){n=o,r=ia(r);continue t}i=null}return i}while(0)}(this,t)}function Ln(){return this.equals(Ni())?Yt():Ct(this)}function Pn(){}function zn(t,e){var n,r=Dn(t,e,null);if(r instanceof F)n=r;else{var i=new B;i.a1b(\\\"@value\\\",r),n=i.v3()}return n}function Rn(t,e,n,r){return 0!=(1&n)&&(e=null),zn(t,e)}function Dn(t,e,n){var r;if(t.o1l().i()){var i=t.w2(),o=null==i?null:Fn(i,e);r=null==o?new F(et()):o}else{for(var a=t.o1l().y(),s=U(),l=a.e();l.f();){var u,c=l.g(),h=c.u2().p1l_1,p=s.s(h);if(null==p){var f=H();s.b(h,f),u=f}else u=p;u.a(c)}for(var d=s,m=H(),v=d.y().e();v.f();){var g,y,_=v.g(),b=_.u2(),x=_.w2(),w=null==e?null:e.u1l_1,A=null==w?null:w.s(b);if(1===x.h()){var C=K(x),M=C.u2(),E=Dn(C.w2(),A,M.q1l_1);y=Z(b,E)}else{var T;T=new Un(qn);for(var S=G(x,T),k=X(W(S,10)),O=0,I=S.e();I.f();){var L,P=I.g(),z=O;O=z+1|0;var R=Y(z).toString()!==P.u2().q1l_1?P.u2().q1l_1:null;L=Dn(P.w2(),A,R),k.a(L)}y=Z(b,new q(k))}g=y,m.a(g)}var D=m;if(null!=n){var $,B=null==e?null:e.y1l_1;null==B?(tr(),$=\\\"@index\\\"):$=B;var N=Z($,J(n));D.a(N)}if(null!=t.w2()){tr();var j=Z(\\\"@value\\\",Fn(Q(t.w2()),e));D.a(j)}r=new F(tt(D))}return r}function $n(t,e){var n;return rt(t,nt())?n=Ni():n=t.s1a()?new Wi(t.t1a()):function(t){if(0===je(t)||t===zi(Ni()))return Ni();if(!!qe(t,'\\\"',!1,2,null)&&Ue(t,'\\\"',!1,2,null)){var e=t.length-2|0;return new Wi(t.substring(1,e))}var n=Ve(t);if(null!=n)return new Xi(n);var r=Pe(t);return null!=r?new Xi(r):\\\"true\\\"===t?ji():\\\"false\\\"===t?qi():new Wi(t)}(t.t1a()),n}function Bn(t,e){for(var n=U(),r=t.y().e();r.f();){var i=r.g(),o=i.u2(),a=i.w2();tr(),\\\"@value\\\"!==o&&Nn(n,o,a,null==e?null:_o(e,o))}tr();var s=t.ga(\\\"@value\\\");return new pi(null==s?null:jn(s,e),n)}function Nn(t,e,n,r){var i=n;if(i instanceof V)t.b(da(e,null,2),di($n(n)));else if(i instanceof q){var o=jn(n,r);if(null!=o)t.b(da(e,null,2),di(o));else{var a,s=null==r?null:r.y1l_1;null==s?(tr(),a=\\\"@index\\\"):a=s;for(var l=a,u=0,c=n.e();c.f();){var h=c.g(),p=u;u=p+1|0;var f,d=Y(p),m=h instanceof F?h:null,v=null==m?null:m.ga(l),g=null==v?null:it(v),y=null==g?null:g.t1a(),_=null==y?d.toString():y,b=h;if(b instanceof F)f=Bn(h,r);else if(b instanceof q){var x,w=jn(h,null);if(null==w){var A=ot();Nn(A,(tr(),\\\"@jsonArray\\\"),h,null),x=new pi(null,A)}else x=di(w);f=x}else b instanceof V?f=di($n(h)):j();var C=f;t.b(new ya(e,_),C)}}}else if(i instanceof F){var M,E=null==r?null:r.y1l_1;null==E?(tr(),M=\\\"@index\\\"):M=E;var T=M,S=n.ga(T),k=null==S?null:it(S),O=null==k?null:k.t1a();t.b(new ya(e,O),Bn(n,r))}}function Fn(t,e){var n;switch(t.c9().z1_1){case 0:n=at($i(t));break;case 1:n=J(zi(t));break;case 2:n=st($o(t));break;case 3:for(var r=t.d1m(),i=X(W(r,10)),o=r.e();o.f();){var a;a=Fn(o.g(),e),i.a(a)}n=new q(i);break;case 4:n=nt();break;default:j()}return n}function jn(t,e){var n,r=t;if(r instanceof V)n=$n(t);else if(r instanceof F){tr();var i=t.ga(\\\"@value\\\");n=null==i?null:jn(i,e)}else if(r instanceof q){var o;if(t.i())o=Hi().e1m_1;else{for(var a=t,s=X(W(a,10)),l=a.e();l.f();){var u;u=jn(l.g(),e),s.a(u)}for(var c=s,h=X(W(c,10)),p=c.e();p.f();){var f,d=p.g();if(null==d)return null;f=d,h.a(f)}o=Oi(h)}n=o}else j();return n}function Un(t){this.f1m_1=t}function qn(t,e){var n,r=t.u2().q1l_1;return n=e.u2().q1l_1,ct(r,n)}function Vn(t,e){var n;t:{for(var r=t.e();r.f();){var i;if(null!=(i=r.g().w2())){n=i;break t}}n=null}for(var o=n,a=ht(t),s=H(),l=a.e();l.f();){var u,c=l.g();u=pt(c.o1l().y()),ft(s,u)}for(var h=s,p=U(),f=h.e();f.f();){var d,m=f.g(),v=m.u2(),g=p.s(v);if(null==g){var y=H();p.b(v,y),d=y}else d=g;d.a(m)}for(var _=p,b=mt(dt(_.h())),x=_.y().e();x.f();){var w,A=x.g(),C=A.u2(),M=pt(A.w2());w=Vn(vt(M,Gn),Yn()),b.b(C,w)}return new pi(o,b)}function Hn(t){var e=gt(t);return null==e?null:fi(e)}function Gn(t){return t.w2()}function Wn(t){return Vn(t,Yn())}function Xn(){i=this,this.g1m_1=Hn,this.h1m_1=Wn}function Yn(){return null==i&&new Xn,i}function Zn(t){var e,n;Yn(),this.i1m_1=t;t:{for(var r=this.i1m_1.e();r.f();){var i;if(null!=(i=r.g().w2())){e=i;break t}}e=null}this.j1m_1=e,this.k1m_1=xt((n=this,function(){for(var t=n.i1m_1,e=X(W(t,10)),r=t.e();r.f();){var i;i=r.g().o1l().k3(),e.a(i)}for(var o=_t(e),a=mt(bt(dt(W(o,10)),16)),s=o.e();s.f();){for(var l,u=s.g(),c=n.i1m_1,h=H(),p=c.e();p.f();){var f=p.g().o1l().s(u);null==f||(h.a(f),N())}l=new Zn(h),a.b(u,l)}return a}))}function Kn(t){return function(t){for(var e=H(),n=t.e();n.f();){var r,i=n.g();r=i instanceof Zn?i.i1m_1:Ct(i),Mt(e,r)}return new Zn(Et(e))}(At(t.slice()))}function Jn(t){return t.p19_1=!0,t.s19_1=!0,N()}function Qn(){o=this,this.n1m_1=\\\"meta\\\",this.o1m_1=\\\"@value\\\",this.p1m_1=\\\"@index\\\",this.q1m_1=kt(null,Jn,1,null),this.r1m_1=new pi(null,et())}function tr(){return null==o&&new Qn,o}function er(){}function nr(t){return Lt(function(t,e){var n=new dr(t,null),r=function(t,e){return n.q1n(t,e)};return r.$arity=1,r}(t))}function rr(t,e){return null==t?null:t.m1m(e)}function ir(t,e){return null==t?null:rr(t,Zo(e,!0))}function or(){}function ar(){}function sr(){}function lr(t,e){var n=null==t?null:t.o1l();return null==n?null:n.s(e)}function ur(t){var e=null==t?null:t.w2();return null==e?null:$i(e)}function cr(t,e){for(var n=t,r=e;;)t:do{var i;if(null==n)i=null;else if(Qo(r))i=n;else{var o=hr(n,Q(Yo(r)));if(null!=o){n=o,r=ia(r);continue t}i=null}return i}while(0)}function hr(t,e){var n=null==t?null:t.o1l();return null==n?null:n.s(e)}function pr(t){return Lt(function(t,e){var n=new vr(t,null),r=function(t,e){return n.h1o(t,e)};return r.$arity=1,r}(t))}function fr(t){return function(e){return Z(na(ta(t),e.t_1),e.u_1)}}function dr(t,e){this.h1n_1=t,$t.call(this,e)}function mr(t){return function(e){var n=e.m4(),r=e.n4();return Z(oa(t,n),r)}}function vr(t,e){this.a1o_1=t,$t.call(this,e)}function gr(){a=this,this.j1o_1=_r().l1o_1}function yr(){s=this,this.k1o_1=ui().y1a(),this.l1o_1=this.k1o_1.nn()}function _r(){return null==s&&new yr,s}function br(){}function xr(){return Mr(null,null,2)}function wr(t){return new Tr(t.w2(),t.o1l())}function Ar(){}function Cr(t,e,n,r,i,o){return 0!=(4&i)&&(r=zr),function(t,e,n,r){for(var i=Vt(e.b1p_1),o=Ht(i),a=0,s=n.e();s.f();){var l=s.g(),u=a;a=u+1|0;var c=Y(u),h=o.q1l_1,p=new ya(o.p1l_1,(null==h?\\\"\\\":h)+r(l,c));i.y4(Gt(i),p),kr(t,new Wo(i),l)}}(t,e,n,r)}function Mr(t,e,n,r){return function(t,e,n,r,i){return 0!=(2&n)&&(e=et()),Tr.call(i,t,e),i}(t,e,n,0,Object.create(Tr.prototype))}function Er(t,e){var n,r=e instanceof Tr?e:null;if(null==r){for(var i=e.w2(),o=e.o1l(),a=U(),s=o.y().e();s.f();){var l,u=s.g(),c=u.u2();l=Er(t,u.w2()),a.b(c,l)}n=new Tr(i,a)}else n=r;return n}function Tr(t,e){ei.call(this),this.e1p_1=t;for(var n,r=mt(dt(e.h())),i=e.y().e();i.f();){var o,a=i.g(),s=a.u2(),l=a.u2(),u=a.w2(),c=new Tr(u.w2(),u.o1l());Or(c,this,l),o=c,r.b(s,o)}n=r,this.f1p_1=Xt(n)}function Sr(t,e,n){return t.p1o(e,n)}function kr(t,e,n){return t.x1o(e,n)}function Or(t,e,n){if(t===e)throw Rt(\\\"Can't attach a node to itself\\\");var r,i;t.j1p(e,(r=e,i=n,function(t,e){return r.h1p(oa(i,e)),N()}))}function Ir(t,e,n){return t.x1o(Ho().w1o(e),n)}function Lr(){}function Pr(t,e,n){this.k1p_1=t,this.l1p_1=e,this.m1p_1=n}function zr(t,e){return e.toString()}function Rr(t,e){return Br(t,e,null,Ur,2)}function Dr(t,e,n){return Br(t,n,null,(r=e,function(t){var e=null==t?null:$o(t);return null==e?r:e}),2);var r}function $r(t,e,n,r){return new Wr(r,t,e,n)}function Br(t,e,n,r,i,o){return 0!=(1&i)&&(e=null),0!=(2&i)&&(n=Gr),$r(t,e,n,r)}function Nr(t,e,n){var r;return $r(t,n,Xr,(r=e,function(t){var e,n=null==t?null:t.d1m();if(null==n)e=null;else{for(var i=X(W(n,10)),o=n.e();o.f();){var a,s,l=$i(o.g());null==l?(Qt(),s=NaN):s=l,a=s,i.a(a)}e=i}var u=e;return null==u?At(r.slice()):u}))}function Fr(t,e,n){return Br(t,e,null,(r=n,function(t){var e=null==t?null:Li(t);return null==e?r():e}),2);var r}function jr(t,e){return new Zr(t,e)}function Ur(t){return null==t?null:zi(t)}function qr(t){return null==t?null:Li(t)}function Vr(t,e){this.p1p_1=t,this.q1p_1=e}function Hr(t){return null==t?null:$o(t)}function Gr(t){return xi().u1p(t)}function Wr(t,e,n,r){this.v1p_1=t,this.w1p_1=e,this.x1p_1=n,this.y1p_1=r}function Xr(t){for(var e=X(W(t,10)),n=t.e();n.f();){var r;r=Pi(n.g()),e.a(r)}return Oi(e)}function Yr(t){return null==t?null:Do(t)}function Zr(t,e){this.a1q_1=t,this.b1q_1=e}function Kr(t){var e,n=t;if(null==n)e=null;else{for(var r=X(W(n,10)),i=n.e();i.f();){var o;o=Ii(i.g()),r.a(o)}e=r}return null==e?null:Oi(e)}function Jr(t){return null==t?null:Ro(t)}function Qr(){}function ti(){}function ei(){var t;t=H(),this.g1p_1=t}function ni(t,e){this.d1q_1=t,this.e1q_1=e}function ri(t,e,n,r){var i,o,a;r(t,e.get(t)),t.i1q_1.j1p(n,(i=e,o=r,a=t,function(t,e){return Jo(e,Ko(i.callableName))&&o(a,i.get(a)),N()}))}function ii(t,e,n){this.l1q_1=t,this.m1q_1=e,this.n1q_1=n}function oi(t,e){this.s1q_1=t,this.r1q_1=e}function ai(){var t;this.g1q_1=xr(),this.h1q_1=null,this.i1q_1=new oi(this,Ho().v1o_1),this.j1q_1=null,t=H(),this.k1q_1=t}function si(t){this.z1q_1=t}function li(){l=this}function ui(){return null==l&&new li,l}function ci(){u=this;var t=new le(\\\"space.kscience.dataforge.meta.SealedMeta\\\",this,2);t.mx(\\\"value\\\",!1),t.mx(\\\"items\\\",!1),this.c1r_1=t}function hi(){return null==u&&new ci,u}function pi(t,e){ui(),this.e1r_1=t,this.f1r_1=e}function fi(t){var e,n=t instanceof pi?t:null;if(null==n){for(var r=t.w2(),i=t.o1l(),o=mt(dt(i.h())),a=i.y().e();a.f();){var s,l=a.g(),u=l.u2();s=fi(l.w2()),o.b(u,s)}e=new pi(r,o)}else e=n;return e}function di(t){return new pi(t,et())}function mi(){}function vi(){}function gi(t,e,n){return yi(t.i1q_1,e,n)}function yi(t,e,n){return new _i(n,e,t)}function _i(t,e,n){this.g1r_1=t,this.h1r_1=e,this.i1r_1=n}function bi(){c=this,this.t1p_1=\\\"value\\\"}function xi(){return null==c&&new bi,c}function wi(){xi()}function Ai(){return Ti()}function Ci(){v=this;var t=Te();this.j1r_1=Se(t,Ai)}function Mi(){return Si(),null==v&&new Ci,v}function Ei(){g=this;var t=new Oe(\\\"space.kscience.dataforge.meta.ValueType\\\",5);t.mx(\\\"NUMBER\\\",!1),t.mx(\\\"STRING\\\",!1),t.mx(\\\"BOOLEAN\\\",!1),t.mx(\\\"LIST\\\",!1),t.mx(\\\"NULL\\\",!1),this.k1r_1=t}function Ti(){return Si(),null==g&&new Ei,g}function Si(){if(y)return N();y=!0,h=new ki(\\\"NUMBER\\\",0),p=new ki(\\\"STRING\\\",1),f=new ki(\\\"BOOLEAN\\\",2),d=new ki(\\\"LIST\\\",3),m=new ki(\\\"NULL\\\",4),Mi()}function ki(t,e){ge.call(this,t,e)}function Oi(t){return Le(t).i()?Ni():new Gi(Le(t))}function Ii(t){return new Wi(t)}function Li(t){var e;if(t instanceof Xi)e=t.m1r_1;else{var n=$i(t);if(null==n)throw Rt(\\\"The value is not a number\\\");e=n}return e}function Pi(t){return new Xi(t)}function zi(t){return t.toString()}function Ri(t){return t?ji():qi()}function Di(t){this.n1r_1=t}function $i(t){return t instanceof Xi?t.m1r_1:Pe(zi(t))}function Bi(){_=this}function Ni(){return null==_&&new Bi,_}function Fi(){b=this}function ji(){return null==b&&new Fi,b}function Ui(){x=this}function qi(){return null==x&&new Ui,x}function Vi(){w=this,this.e1m_1=new Gi(Yt())}function Hi(){return null==w&&new Vi,w}function Gi(t){Hi(),this.o1r_1=t}function Wi(t){this.q1r_1=t}function Xi(t){this.m1r_1=t}function Yi(){return Si(),h}function Zi(){return Si(),p}function Ki(){return Si(),f}function Ji(){return Si(),d}function Qi(){return Si(),m}function to(){}function eo(){}function no(t){return St(\\\"listSerializer\\\",1,Tt,(function(t){return no(t)}),null),t.r1r_1.w2()}function ro(){return He(ao())}function io(t){var e=Yt(),n=Ye(Xe(Ge().ti(),We([]),!1)),r=(wt(n,jt)?n:Bt()).nn();t.hp(\\\"isList\\\",r,e,!1);var i=Yt(),o=Ye(Xe(Ze(ki),We([]),!1)),a=(wt(o,jt)?o:Bt()).nn();t.hp(\\\"valueType\\\",a,i,!1);var s=Yt(),l=Ye(Xe(Ge().aj(),We([]),!1)),u=(wt(l,jt)?l:Bt()).nn();return t.hp(\\\"value\\\",u,s,!1),N()}function oo(){A=this,this.r1r_1=xt(ro),this.s1r_1=Ke(\\\"space.kscience.dataforge.meta.Value\\\",[],io,2,null)}function ao(){return null==A&&new oo,A}function so(){}function lo(){C=this,this.u1r_1=\\\"allowedValues\\\"}function uo(){return null==C&&new lo,C}function co(){M=this;var t=new le(\\\"space.kscience.dataforge.meta.descriptors.MetaDescriptor\\\",this,9);t.mx(\\\"info\\\",!0),t.mx(\\\"children\\\",!0),t.mx(\\\"multiple\\\",!0),t.mx(\\\"valueRequirement\\\",!0),t.mx(\\\"valueTypes\\\",!0),t.mx(\\\"indexKey\\\",!0),t.mx(\\\"defaultValue\\\",!0),t.mx(\\\"readOnly\\\",!0),t.mx(\\\"attributes\\\",!0),this.v1r_1=t}function ho(){return null==M&&new co,M}function po(t,e,n,r,i,o,a,s,l){var u;uo(),this.t1l_1=t,this.u1l_1=e,this.v1l_1=n,this.w1l_1=r,this.x1l_1=i,this.y1l_1=o,this.z1l_1=a,this.a1m_1=s,this.b1m_1=l,this.c1m_1=xt((u=this,function(){var t=xr(),e=u.z1l_1;null==e||(t.o1o(e),N());for(var n=u.u1l_1.y().e();n.f();){var r=n.g();Ir(t,r.u2(),r.w2().y1q())}return fi(t)}))}function fo(t,e){var n;switch(Xo(e)){case 0:n=t;break;case 1:n=t.u1l_1.s(Q(Yo(e)).toString());break;default:var r=fo(t,ta(Q(Yo(e))));n=null==r?null:fo(r,ia(e))}return n}function mo(t){uo();var e=ir(t.b1m_1,\\\"allowedValues\\\"),n=null==e?null:e.w2();return null==n?null:n.d1m()}function vo(){return[Ao(),Co(),Mo()]}function go(){if(k)return N();k=!0,E=new yo(\\\"NONE\\\",0),T=new yo(\\\"REQUIRED\\\",1),S=new yo(\\\"ABSENT\\\",2)}function yo(t,e){ge.call(this,t,e)}function _o(t,e){return fo(t,Zo(e,!0))}function bo(t,e){if(null==e)return!wo(t);if(!xo(t,e.w2()))return!1;for(var n=t.u1l_1.y().e();n.f();){var r=n.g(),i=r.u2();if(!bo(r.w2(),ir(e,i)))return!1}return!0}function xo(t,e){var n;if(null==e)n=!t.w1l_1.equals(Co());else{var r;if(t.w1l_1.equals(Mo()))r=!1;else{var i;if(null==t.x1l_1||t.x1l_1.t1(e.c9())){var o,a=mo(t);i=null==(o=null==a?null:a.t1(e))||o}else i=!1;r=i}n=r}return n}function wo(t){var e;if(t.w1l_1.equals(Co()))e=!0;else{var n;t:{var r=t.u1l_1.l3();if(wt(r,It)&&r.i())n=!1;else{for(var i=r.e();i.f();)if(i.g(),wo(t)){n=!0;break t}n=!1}}e=n}return e}function Ao(){return go(),E}function Co(){return go(),T}function Mo(){return go(),S}function Eo(){var t;this.f1s_1=null,t=U(),this.g1s_1=t,this.h1s_1=!1,this.i1s_1=Ao(),this.j1s_1=!1,this.k1s_1=null,tr(),this.l1s_1=\\\"@index\\\",this.m1s_1=null,this.n1s_1=xr()}function To(t,e,n,r,i){return t.y1s(e,(o=n,a=r,s=i,function(t){return t.t1s(o,a.slice()),s(t),N()}));var o,a,s}function So(t,e,n,r){var i=n.nn();null==i||t.z1s(Ho().w1o(e),i,r)}function ko(t){var e=new Eo;e.f1s_1=t.t1l_1;for(var n,r=e,i=t.u1l_1,o=U(),a=i.y().e();a.f();){var s,l=a.g(),u=l.u2();s=ko(l.w2()),o.b(u,s)}return n=o,r.g1s_1=n,e.h1s_1=t.v1l_1,e.i1s_1=t.w1l_1,e.k1s_1=t.x1l_1,e.l1s_1=t.y1l_1,e.m1s_1=t.z1l_1,e.n1s_1=wr(t.b1m_1),e}function Oo(t,e,n,r,i){return To(t,Ho().w1o(e),n,r.slice(),i)}function Io(t){return N()}function Lo(t){return N()}function Po(t){return N()}function zo(t){this.p1r_1=t}function Ro(t){for(var e=t.d1m(),n=X(W(e,10)),r=e.e();r.f();){var i;i=zi(r.g()),n.a(i)}return n}function Do(t){return Pt(Li(t))}function $o(t){return!(!t.equals(ji())&&!rt(sn(t.d1m()),ji()))||!!t.c9().equals(Zi())&&an(zi(t))}function Bo(t){return zt(Li(t))}function No(t){return Pt(Li(t))}function Fo(t){return t.c9().equals(Ji())}function jo(){}function Uo(t){return t._v>0}function qo(t,e){this.k1t_1=t,$t.call(this,e)}function Vo(){I=this,this.s1o_1=\\\".\\\",this.t1o_1=da(\\\"*\\\",null,2),this.u1o_1=da(\\\"**\\\",null,2),this.v1o_1=new Wo(Yt())}function Ho(){return null==I&&new Vo,I}function Go(t){return t.toString()}function Wo(t){var e;Ho(),this.b1p_1=t,e=1===this.b1p_1.h()?K(this.b1p_1).hashCode():Ot(this.b1p_1),this.c1p_1=e}function Xo(t){return ua(),t.b1p_1.h()}function Yo(t){return ua(),sn(t.b1p_1)}function Zo(t,e){var n;if(ua(),e){var r,i=(ua(),O),o=i.s(t);if(null==o){var a=Ho().w1o(t);i.b(t,a),r=a}else r=o;n=r}else n=Ho().w1o(t);return n}function Ko(t){return ua(),pn(t)?Ho().v1o_1:ta(da(t,null,2))}function Jo(t,e){return ua(),Xo(t)>=Xo(e)&&(!!t.equals(e)||rt(t.b1p_1.j2(0,Xo(e)),e.b1p_1))}function Qo(t){return ua(),0===Xo(t)}function ta(t){return ua(),new Wo(Ct(t))}function ea(t,e){return ua(),new Wo(fn(t.b1p_1,e))}function na(t,e){return ua(),new Wo(Zt(t.b1p_1,e.b1p_1))}function ra(t){return ua(),K(t.b1p_1)}function ia(t){return ua(),new Wo(dn(t.b1p_1,1))}function oa(t,e){return ua(),new Wo(Zt(Ct(t),e.b1p_1))}function aa(t){return ua(),mn(t.b1p_1)}function sa(t){return ua(),new Wo(vn(t.b1p_1,1))}function la(t,e){return ua(),Jo(t,e)?new Wo(t.b1p_1.j2(Xo(e),Xo(t))):null}function ua(){L||(L=!0,O=ot())}function ca(){P=this,this.b1u_1=_n(\\\"space.kscience.dataforge.names.Name\\\",yn())}function ha(){return null==P&&new ca,P}function pa(){z=this,this.d1u_1=_n(\\\"space.kscience.dataforge.names.NameToken\\\",yn())}function fa(){return null==z&&new pa,z}function da(t,e,n,r){return function(t,e,n,r,i){return 0!=(2&n)&&(e=null),ya.call(i,t,e),i}(t,e,n,0,Object.create(ya.prototype))}function ma(t){return St(\\\"bodyEscaped\\\",1,Tt,(function(t){return ma(t)}),null),t.r1l_1.w2()}function va(){R=this,this.f1u_1=At([new cn(hn(92)),new cn(hn(46)),new cn(hn(91)),new cn(hn(93))])}function ga(){return null==R&&new va,R}function ya(t,e){ga(),this.p1l_1=t,this.q1l_1=e;var n,r=this.p1l_1;if(0===je(r))throw Rt(\\\"Syntax error: Name token body is empty\\\");this.r1l_1=xt((n=this,function(){for(var t=ln(),e=n.p1l_1,r=0,i=e.length;r<i;){var o=bn(e,r);r=r+1|0,ga().f1u_1.t1(new cn(o))&&t.d9(hn(92)),t.d9(o)}var a=t.toString();return a===n.p1l_1?n.p1l_1:a}));var i=D(De(this.p1l_1),31),o=this.q1l_1,a=null==o?null:De(o);this.s1l_1=i+(null==a?0:a)|0}function _a(t,e){var n=Array.isArray(e);return null!=n&&\\\"boolean\\\"==typeof n?n:Bt()}function ba(t,e){return!(\\\"object\\\"==typeof e)}function xa(t){this.h1u_1=t}function wa(t){var e;if(Fo(t)){for(var n=t.d1m(),r=X(W(n,10)),i=n.e();i.f();){var o;o=wa(i.g()),r.a(o)}e=xn(r)}else e=t.w2();return e}dr.prototype=Object.create($t.prototype),dr.prototype.constructor=dr,vr.prototype=Object.create($t.prototype),vr.prototype.constructor=vr,Tr.prototype=Object.create(ei.prototype),Tr.prototype.constructor=Tr,ki.prototype=Object.create(ge.prototype),ki.prototype.constructor=ki,yo.prototype=Object.create(ge.prototype),yo.prototype.constructor=yo,qo.prototype=Object.create($t.prototype),qo.prototype.constructor=qo,Pn.$metadata$=$(\\\"Configurable\\\"),Un.prototype.w=function(t,e){return this.f1m_1(t,e)},Un.prototype.compare=function(t,e){return this.w(t,e)},Un.$metadata$=ut(\\\"sam$kotlin_Comparator$0\\\",[lt]),Xn.$metadata$=yt(\\\"Companion\\\"),Zn.prototype.l1m=function(){return this.i1m_1},Zn.prototype.w2=function(){return this.j1m_1},Zn.prototype.o1l=function(){return St(\\\"items\\\",1,Tt,(function(t){return t.o1l()}),null),this.k1m_1.w2()},Zn.prototype.m1m=function(t){for(var e=this.i1m_1,n=H(),r=e.e();r.f();){var i=r.g().m1m(t);null==i||(n.a(i),N())}var o=n;return o.i()?null:new Zn(o)},Zn.prototype.toString=function(){return tr().s1m(this)},Zn.prototype.equals=function(t){return tr().t1m(this,null!=t&&wt(t,er)?t:null)},Zn.prototype.hashCode=function(){return tr().u1m(this)},Zn.$metadata$=ut(\\\"Laminate\\\",[or]),Qn.prototype.x1m=function(){return this.o1m_1},Qn.prototype.y1m=function(){return this.p1m_1},Qn.prototype.u1m=function(t){var e=t.w2(),n=null==e?null:e.hashCode(),r=null==n?0:n;return D(31,r)+Ot(t.o1l())|0},Qn.prototype.t1m=function(t,e){if(null==t&&null==e)return!0;if(null==t||null==e)return!1;if(!rt(t.w2(),e.w2()))return!1;if(!rt(t.o1l().k3(),e.o1l().k3()))return!1;var n;t:{var r=t.o1l().k3();if(wt(r,It)&&r.i())n=!0;else{for(var i=r.e();i.f();){var o=i.g();if(!tr().t1m(lr(t,o),lr(e,o))){n=!1;break t}}n=!0}}return n},Qn.prototype.s1m=function(t){return this.q1m_1.r18(_r(),t)},Qn.$metadata$=yt(\\\"Companion\\\"),er.$metadata$=$(\\\"Meta\\\",[ar,sr]),or.$metadata$=$(\\\"TypedMeta\\\",[er]),ar.$metadata$=$(\\\"MetaRepr\\\"),sr.$metadata$=$(\\\"MetaProvider\\\",[eo]),dr.prototype.q1n=function(t,e){var n=this.r1n(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},dr.prototype.qm=function(t,e){return this.q1n(t instanceof Nt?t:Bt(),e)},dr.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=6,this.j1n_1=this.h1n_1.o1l(),this.k1n_1=this.j1n_1.y().e(),this.gm_1=1;continue t;case 1:if(!this.k1n_1.f()){this.gm_1=5;continue t}if(this.l1n_1=this.k1n_1.g(),this.m1n_1=this.l1n_1.u2(),this.n1n_1=this.l1n_1.w2(),this.o1n_1=this.n1n_1.w2(),null==this.o1n_1){this.p1n_1=null,this.gm_1=3;continue t}if(this.gm_1=2,(t=this.i1n_1.f5(Z(ta(this.m1n_1),this.o1n_1),this))===Ft())return t;continue t;case 2:this.p1n_1=N(),this.gm_1=3;continue t;case 3:this.gm_1=4;var e=nr(this.n1n_1);if((t=this.i1n_1.h5(vt(e,fr(this.m1n_1)),this))===Ft())return t;continue t;case 4:this.gm_1=1;continue t;case 5:return N();case 6:throw this.jm_1}}catch(t){if(6===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},dr.prototype.r1n=function(t,e){var n=new dr(this.h1n_1,e);return n.i1n_1=t,n},dr.$metadata$=ut(\\\"valueSequence$slambda\\\",void 0,void 0,void 0,[1],$t.prototype),vr.prototype.h1o=function(t,e){var n=this.i1o(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},vr.prototype.qm=function(t,e){return this.h1o(t instanceof Nt?t:Bt(),e)},vr.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=5,this.c1o_1=this.a1o_1.o1l(),this.d1o_1=this.c1o_1.y().e(),this.gm_1=1;continue t;case 1:if(!this.d1o_1.f()){this.gm_1=4;continue t}if(this.e1o_1=this.d1o_1.g(),this.f1o_1=this.e1o_1.u2(),this.g1o_1=this.e1o_1.w2(),this.gm_1=2,(t=this.b1o_1.f5(Z(ta(this.f1o_1),this.g1o_1),this))===Ft())return t;continue t;case 2:this.gm_1=3;var e=pr(this.g1o_1);if((t=this.b1o_1.h5(vt(e,mr(this.f1o_1)),this))===Ft())return t;continue t;case 3:this.gm_1=1;continue t;case 4:return N();case 5:throw this.jm_1}}catch(t){if(5===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},vr.prototype.i1o=function(t,e){var n=new vr(this.a1o_1,e);return n.b1o_1=t,n},vr.$metadata$=ut(\\\"nodeSequence$slambda\\\",void 0,void 0,void 0,[1],$t.prototype),gr.prototype.nn=function(){return this.j1o_1},gr.prototype.pn=function(t){var e=t.kq(_r()),n=wt(e,br)?e:null;return null==n?wr(e):n},gr.prototype.m1o=function(t,e){t.ds(_r(),e)},gr.prototype.on=function(t,e){return this.m1o(t,null!=e&&wt(e,br)?e:Bt())},gr.$metadata$=yt(\\\"MutableMetaSerializer\\\",[jt]),yr.prototype.nn=function(){return this.l1o_1},yr.prototype.pn=function(t){var e,n,r;return wt(t,Ut)?(n=t.m1a(),r=null,0!=(1&1)&&(r=null),e=function(t,e){var n,r=t;if(r instanceof V)n=di($n(t));else if(r instanceof F)n=Bn(t,e);else if(r instanceof q){var i=U();Nn(i,(tr(),\\\"@jsonArray\\\"),t,null),n=new pi(null,i)}else j();return n}(n,r)):e=this.k1o_1.pn(t),e},yr.prototype.n1o=function(t,e){wt(t,qt)?t.s1b(Rn(e,null,1)):this.k1o_1.on(t,fi(e))},yr.prototype.on=function(t,e){return this.n1o(t,null!=e&&wt(e,er)?e:Bt())},yr.$metadata$=yt(\\\"MetaSerializer\\\",[jt]),br.$metadata$=$(\\\"MutableMeta\\\",[er,Ar]),Ar.$metadata$=$(\\\"MutableMetaProvider\\\",[sr,to]),Tr.prototype.o1o=function(t){var e=this.e1p_1;this.e1p_1=t,rt(e,t)||this.h1p(Ho().v1o_1)},Tr.prototype.w2=function(){return this.e1p_1},Tr.prototype.o1l=function(){return this.f1p_1},Tr.prototype.q1o=function(t){var e;if(Qo(t))e=this;else{var n=cr(this,t);e=null==n?function(t,e){var n;switch(Xo(e)){case 0:throw Wt(\\\"Can't create a node with empty name\\\");case 1:var r=Mr(null,null,2),i=t.f1p_1,o=ra(e);i.b(o,r),Or(r,t,ra(e)),n=r;break;default:n=t.q1o(ta(ra(e))).q1o(ia(e))}return n}(this,t):n}return e},Tr.prototype.x1o=function(t,e){var n=cr(this,t);if(!rt(n,e)){switch(Xo(t)){case 0:throw Rt(\\\"Can't set a meta with empty name\\\");case 1:var r=Q(Yo(t));if(null==e){var i=this.f1p_1.vf(r);null==i||i.i1p(this),this.h1p(t)}else{var o=Er(this,e);Or(o,this,r),this.f1p_1.b(r,o)}break;default:var a=Q(Yo(t));if(null==this.o1l().s(a)){var s=Mr(null,null,2);Or(s,this,a),this.f1p_1.b(a,s)}var l=this.o1l().s(a);null==l||l.x1o(ia(t),e)}this.h1p(t)}},Tr.$metadata$=ut(\\\"MutableMetaImpl\\\",[Qr],void 0,void 0,void 0,ei.prototype),Lr.$metadata$=$(\\\"MutableTypedMeta\\\",[or,br]),Pr.prototype.g1k=function(){return this.k1p_1},Pr.prototype.n1p=function(){return this.l1p_1},Pr.prototype.o1p=function(){return this.m1p_1},Pr.prototype.q1o=function(t){return this.k1p_1.q1o(t)},Pr.prototype.w1m=function(t){return this.k1p_1.w1m(t)},Pr.prototype.x1o=function(t,e){this.k1p_1.x1o(t,e)},Pr.prototype.p1o=function(t,e){this.k1p_1.p1o(t,e)},Pr.prototype.v1m=function(){return this.k1p_1.v1m()},Pr.prototype.y1o=function(t,e){this.k1p_1.y1o(t,e)},Pr.prototype.r1o=function(t,e){this.k1p_1.r1o(t,e)},Pr.prototype.z1o=function(t,e){this.k1p_1.z1o(t,e)},Pr.prototype.a1p=function(t,e){this.k1p_1.a1p(t,e)},Pr.prototype.o1l=function(){for(var t=rr(this.k1p_1,this.m1p_1),e=null==t?null:t.o1l(),n=null==e?null:e.k3(),r=null==n?Yt():n,i=this.l1p_1.m1m(this.m1p_1),o=null==i?null:i.o1l(),a=null==o?null:o.k3(),s=null==a?Yt():a,l=Zt(r,s),u=mt(bt(dt(W(l,10)),16)),c=l.e();c.f();){var h,p=c.g();h=new Pr(this.k1p_1,this.l1p_1,ea(this.m1p_1,p)),u.b(p,h)}return u},Pr.prototype.o1o=function(t){Sr(this.k1p_1,this.m1p_1,t)},Pr.prototype.w2=function(){var t,e=rr(this.k1p_1,this.m1p_1),n=null==e?null:e.w2();if(null==n){var r=this.l1p_1.m1m(this.m1p_1);t=null==r?null:r.w2()}else t=n;return t},Pr.prototype.m1m=function(t){return new Pr(this.k1p_1,this.l1p_1,na(this.m1p_1,t))},Pr.prototype.toString=function(){return tr().s1m(this)},Pr.prototype.equals=function(t){return tr().t1m(this,null!=t&&wt(t,er)?t:null)},Pr.prototype.hashCode=function(){return tr().u1m(this)},Pr.$metadata$=ut(\\\"MutableMetaWithDefault\\\",[br]),Vr.prototype.r1p=function(t,e){var n=this.q1p_1;return this.p1p_1.m1m(null==n?Ko(e.callableName):n)},Vr.prototype.s7=function(t,e){return this.r1p(null==t||Kt(t)?t:Bt(),e)},Vr.prototype.s1p=function(t,e,n){var r=this.q1p_1,i=null==r?Ko(e.callableName):r;this.p1p_1.x1o(i,n)},Vr.prototype.t7=function(t,e,n){var r=null==t||Kt(t)?t:Bt();return this.s1p(r,e,null==n||wt(n,er)?n:Bt())},Vr.$metadata$=ut(void 0,[Jt]),Wr.prototype.r1p=function(t,e){var n=this.x1p_1,r=this.w1p_1.m1m(null==n?Ko(e.callableName):n);return this.v1p_1(null==r?null:r.w2())},Wr.prototype.s7=function(t,e){return this.r1p(null==t||Kt(t)?t:Bt(),e)},Wr.prototype.z1p=function(t,e,n){var r=this.x1p_1;this.w1p_1.p1o(null==r?Ko(e.callableName):r,this.y1p_1(n))},Wr.prototype.t7=function(t,e,n){var r=null==t||Kt(t)?t:Bt();return this.z1p(r,e,null==n||Kt(n)?n:Bt())},Wr.$metadata$=ut(void 0,[Jt]),Zr.prototype.r1p=function(t,e){var n=this.b1q_1,r=this.a1q_1.m1m(null==n?Ko(e.callableName):n);return null==r?null:r.w2()},Zr.prototype.s7=function(t,e){return this.r1p(null==t||Kt(t)?t:Bt(),e)},Zr.prototype.c1q=function(t,e,n){var r=this.b1q_1;this.a1q_1.p1o(null==r?Ko(e.callableName):r,n)},Zr.prototype.t7=function(t,e,n){var r=null==t||Kt(t)?t:Bt();return this.c1q(r,e,null==n||wt(n,wi)?n:Bt())},Zr.$metadata$=ut(void 0,[Jt]),Qr.$metadata$=$(\\\"ObservableMutableMeta\\\",[ti,br,Lr]),ti.$metadata$=$(\\\"ObservableMeta\\\",[er]),ei.prototype.h1p=function(t){for(var e=this.g1p_1.e();e.f();)e.g().e1q_1(this,t)},ei.prototype.j1p=function(t,e){this.g1p_1.a(new ni(t,e))},ei.prototype.i1p=function(t){var e;te(this.g1p_1,(e=t,function(t){return t.d1q_1===e}))},ei.prototype.toString=function(){return tr().s1m(this)},ei.prototype.equals=function(t){return tr().t1m(this,null!=t&&wt(t,er)?t:null)},ei.prototype.hashCode=function(){return tr().u1m(this)},ei.$metadata$=ut(\\\"AbstractObservableMeta\\\",[ti]),ni.prototype.f1q=function(){return this.e1q_1},ni.prototype.toString=function(){return\\\"MetaListener(owner=\\\"+ee(this.d1q_1)+\\\", callback=\\\"+this.e1q_1+\\\")\\\"},ni.prototype.hashCode=function(){var t=null==this.d1q_1?0:Ot(this.d1q_1);return D(t,31)+Ot(this.e1q_1)|0},ni.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ni))return!1;var e=t instanceof ni?t:Bt();return!!rt(this.d1q_1,e.d1q_1)&&!!rt(this.e1q_1,e.e1q_1)},ni.$metadata$=ut(\\\"MetaListener\\\"),ii.prototype.o1q=function(){return this.l1q_1},ii.prototype.p1q=function(){return this.m1q_1},ii.prototype.q1q=function(){return this.n1q_1},ii.prototype.o1l=function(){for(var t=this.l1q_1.o1l(),e=mt(dt(t.h())),n=t.y().e();n.f();){var r,i=n.g(),o=i.u2();r=new ii(this.l1q_1,ea(this.m1q_1,i.u2()),this.n1q_1),e.b(o,r)}return e},ii.prototype.m1m=function(t){return null==this.l1q_1.m1m(t)?null:new ii(this.l1q_1,na(this.m1q_1,t),this.n1q_1)},ii.prototype.j1p=function(t,e){var n,r,i=new re(t,this.m1q_1);this.n1q_1.a(new ni(i,(n=this,r=e,function(t,e){if(Jo(e,n.m1q_1)){var i=rr(t,n.m1q_1);r(null==i?tr().r1m_1:i,Q(la(e,n.m1q_1)))}return N()})))},ii.prototype.i1p=function(t){var e,n;ie(this.n1q_1,(e=t,n=this,function(t){return t.d1q_1===new re(e,n.m1q_1)}))},ii.prototype.h1p=function(t){for(var e=this.n1q_1.e();e.f();)e.g().e1q_1(this,t)},ii.prototype.o1o=function(t){this.l1q_1.o1o(t),this.h1p(Ho().v1o_1)},ii.prototype.w2=function(){return this.l1q_1.w2()},ii.prototype.q1o=function(t){return new ii(this.l1q_1,na(this.m1q_1,t),this.n1q_1)},ii.prototype.x1o=function(t,e){var n=cr(this,t);this.l1q_1.x1o(na(this.m1q_1,t),e),rt(n,e)||this.h1p(t)},ii.prototype.v1m=function(){var t=rr(this.l1q_1,this.m1q_1),e=null==t?null:t.v1m();return null==e?tr().r1m_1:e},ii.prototype.toString=function(){return tr().s1m(this)},ii.prototype.equals=function(t){return tr().t1m(this,null!=t&&wt(t,er)?t:null)},ii.prototype.hashCode=function(){return tr().u1m(this)},ii.$metadata$=ut(\\\"ObservableMetaWrapper\\\",[Qr]),oi.prototype.t1q=function(){return this.r1q_1},oi.prototype.o1o=function(t){var e=rr(this.s1q_1.g1q_1,this.r1q_1),n=null==e?null:e.w2();Sr(this.s1q_1.g1q_1,this.r1q_1,t),rt(n,t)||this.h1p(Ho().v1o_1)},oi.prototype.w2=function(){var t,e=rr(this.s1q_1.g1q_1,this.r1q_1),n=null==e?null:e.w2();if(null==n){var r=this.s1q_1.h1q_1,i=null==r?null:rr(r,this.r1q_1);t=null==i?null:i.w2()}else t=n;var o,a=t;if(null==a){var s=this.s1q_1.j1q_1,l=null==s?null:fo(s,this.r1q_1);o=null==l?null:l.z1l_1}else o=a;return o},oi.prototype.o1l=function(){for(var t=rr(this.s1q_1.g1q_1,this.r1q_1),e=null==t?null:t.o1l(),n=null==e?null:e.k3(),r=null==n?oe():n,i=this.s1q_1.h1q_1,o=null==i?null:rr(i,this.r1q_1),a=null==o?null:o.o1l(),s=null==a?null:a.k3(),l=null==s?oe():s,u=ae(r,l),c=mt(bt(dt(W(u,10)),16)),h=u.e();h.f();){var p,f=h.g();p=new oi(this.s1q_1,ea(this.r1q_1,f)),c.b(f,p)}return c},oi.prototype.h1p=function(t){for(var e=this.s1q_1.k1q_1.e();e.f();)e.g().e1q_1(this.s1q_1.i1q_1,na(this.r1q_1,t))},oi.prototype.j1p=function(t,e){var n,r,i;this.s1q_1.k1q_1.a(new ni(t,(n=this,r=e,i=this.s1q_1,function(t,e){return Jo(e,n.r1q_1)&&r(i.i1q_1,Q(la(e,n.r1q_1))),N()})))},oi.prototype.i1p=function(t){var e;te(this.s1q_1.k1q_1,(e=t,function(t){return t.d1q_1===e}))},oi.prototype.toString=function(){return tr().s1m(this)},oi.prototype.equals=function(t){return tr().t1m(this,null!=t&&wt(t,er)?t:null)},oi.prototype.hashCode=function(){return tr().u1m(this)},oi.prototype.x1o=function(t,e){this.s1q_1.g1q_1.x1o(t,e),this.h1p(t)},oi.prototype.q1o=function(t){return new oi(this.s1q_1,na(this.r1q_1,t))},oi.$metadata$=ut(\\\"SchemeMeta\\\",[Qr]),ai.prototype.n1l=function(){return this.i1q_1},ai.prototype.u1q=function(t){this.j1q_1=t},ai.prototype.nn=function(){return this.j1q_1},ai.prototype.v1q=function(t,e){e&&(this.h1q_1=fi(this.g1q_1)),this.g1q_1=t},ai.prototype.w1q=function(t,e,n,r){return 0!=(2&n)&&(e=!1),this.v1q(t,e)},ai.prototype.x1q=function(t,e){var n=this.j1q_1,r=null==n?null:fo(n,t),i=null==r?null:bo(r,e);return null==i||i},ai.prototype.m1m=function(t){return this.i1q_1.m1m(t)},ai.prototype.x1o=function(t,e){if(!this.x1q(t,this.i1q_1))throw Rt(se(\\\"Validation failed for node \\\"+e+\\\" at \\\"+t));this.i1q_1.x1o(t,e)},ai.prototype.p1o=function(t,e){var n=this.j1q_1,r=null==n?null:fo(n,t);if(!1===(null==r?null:xo(r,e)))throw Rt(se(\\\"Value \\\"+e+\\\" is not validated by \\\"+r));this.i1q_1.p1o(t,e)},ai.prototype.v1m=function(){var t=this.j1q_1;return Kn([this.i1q_1,null==t?null:t.y1q()])},ai.$metadata$=ut(\\\"Scheme\\\",[so,ar,Ar,Pn]),si.prototype.a1r=function(t){var e,n,r=this.z1q_1(),i=(e=xr(),null==(n=t)?e:new Pr(e,n,Ho().v1o_1));return r.w1q(i,!1,2,null),r},si.prototype.b1r=function(t){var e=this.aw();return e.w1q(t,!1,2,null),e},si.prototype.nn=function(){return null},si.prototype.aw=function(){var t=this.z1q_1();return t.j1q_1=this.nn(),t},si.$metadata$=ut(\\\"SchemeSpec\\\",[mi]),li.prototype.y1a=function(){return hi()},li.$metadata$=yt(\\\"Companion\\\"),ci.prototype.nn=function(){return this.c1r_1},ci.prototype.fy=function(){return[ue(ao()),new ce(fa(),hi())]},ci.prototype.pn=function(t){var e=this.c1r_1,n=!0,r=0,i=0,o=null,a=null,s=t.lq(e);if(s.br())o=s.zq(e,0,ao(),o),i|=1,a=s.xq(e,1,new ce(fa(),hi()),a),i|=2;else for(;n;)switch(r=s.cr(e)){case-1:n=!1;break;case 0:o=s.zq(e,0,ao(),o),i|=1;break;case 1:a=s.xq(e,1,new ce(fa(),hi()),a),i|=2;break;default:throw he(r)}return s.mq(e),function(t,e,n,r){return function(t,e,n,r,i){return 3!=(3&t)&&de(t,3,hi().c1r_1),i.e1r_1=e,i.f1r_1=n,i}(t,e,n,0,Object.create(pi.prototype))}(i,o,a)},ci.prototype.d1r=function(t,e){var n=this.c1r_1,r=t.lq(n);r.es(n,0,ao(),e.e1r_1),r.cs(n,1,new ce(fa(),hi()),e.f1r_1),r.mq(n)},ci.prototype.on=function(t,e){return this.d1r(t,e instanceof pi?e:Bt())},ci.$metadata$=yt(\\\"$serializer\\\",[fe]),pi.prototype.w2=function(){return this.e1r_1},pi.prototype.o1l=function(){return this.f1r_1},pi.prototype.toString=function(){return tr().s1m(this)},pi.prototype.equals=function(t){return tr().t1m(this,null!=t&&wt(t,er)?t:null)},pi.prototype.hashCode=function(){return tr().u1m(this)},pi.$metadata$=ut(\\\"SealedMeta\\\",[or],void 0,{0:hi}),mi.$metadata$=$(\\\"Specification\\\",[vi]),vi.$metadata$=$(\\\"ReadOnlySpecification\\\",[so]),_i.prototype.r1p=function(t,e){var n=this.g1r_1,r=null==n?Ko(e.callableName):n;return this.h1r_1.b1r(this.i1r_1.q1o(r))},_i.prototype.s7=function(t,e){return this.r1p(null==t||Kt(t)?t:Bt(),e)},_i.prototype.z1p=function(t,e,n){var r=this.g1r_1,i=null==r?Ko(e.callableName):r;kr(this.i1r_1,i,n.v1m())},_i.prototype.t7=function(t,e,n){var r=null==t||Kt(t)?t:Bt();return this.z1p(r,e,n instanceof ai?n:Bt())},_i.$metadata$=ut(void 0,[Jt]),bi.prototype.u1p=function(t){var e,n,r=t;if(null==r)e=Ni();else if(null!=r&&wt(r,wi))e=t;else if(rt(r,!0))e=ji();else if(rt(r,!1))e=qi();else if(Ee(r))e=Pi(t);else if(null!=r&&wt(r,Me)){for(var i=t,o=X(W(i,10)),a=i.e();a.f();){var s,l=a.g();s=xi().u1p(l),o.a(s)}var u=o;e=u.i()?Ni():new Gi(u)}else if(null!=r&&Ce(r))e=0===(n=t).length?Ni():new zo(n);else if(null!=r&&Ae(r))e=function(t){var e;if(0===t.length)e=Ni();else{for(var n=X(t.length),r=t,i=0,o=r.length;i<o;){var a,s=r[i];i=i+1|0,a=new Xi(s),n.a(a)}e=new Gi(n)}return e}(t);else if(null!=r&&we(r))e=function(t){var e;if(0===t.length)e=Ni();else{for(var n=X(t.length),r=t,i=0,o=r.length;i<o;){var a,s=r[i];i=i+1|0,a=new Xi(s),n.a(a)}e=new Gi(n)}return e}(t);else if(null!=r&&xe(r))e=function(t){var e;if(0===t.length)e=Ni();else{for(var n=X(t.length),r=t,i=0,o=r.length;i<o;){var a,s=r[i];i=i+1|0,a=new Xi(s),n.a(a)}e=new Gi(n)}return e}(t);else if(null!=r&&be(r))e=function(t){var e;if(0===t.length)e=Ni();else{for(var n=X(t.length),r=t,i=0,o=r.length;i<o;){var a,s=r[i];i=i+1|0,a=new Xi(s),n.a(a)}e=new Gi(n)}return e}(t);else if(null!=r&&_e(r))e=function(t){var e;if(0===t.length)e=Ni();else{for(var n=X(t.length),r=t,i=0,o=r.length;i<o;){var a,s=r[i];i=i+1|0,a=new Xi(s),n.a(a)}e=new Gi(n)}return e}(t);else if(null!=r&&ye(r)){for(var c=t,h=X(c.length),p=c,f=0,d=p.length;f<d;){var m,v=p[f];f=f+1|0,m=xi().u1p(v),h.a(m)}e=new Gi(h)}else if(r instanceof ge)e=new Di(t);else{if(null==r||!ve(r))throw Wt(\\\"Unrecognized type of the object (\\\"+me(t)+\\\") converted to Value\\\");e=new Wi(se(t))}return e},bi.$metadata$=yt(\\\"Companion\\\"),wi.$metadata$=$(\\\"Value\\\"),Ci.prototype.y1a=function(){return this.j1r_1.w2()},Ci.prototype.oy=function(t){return this.y1a()},Ci.$metadata$=yt(\\\"Companion\\\",[ke]),Ei.prototype.nn=function(){return this.k1r_1},Ei.prototype.fy=function(){return[]},Ei.prototype.pn=function(t){return[Yi(),Zi(),Ki(),Ji(),Qi()][t.hq(this.k1r_1)]},Ei.prototype.l1r=function(t,e){t.qr(this.k1r_1,e.z1_1)},Ei.prototype.on=function(t,e){return this.l1r(t,e instanceof ki?e:Bt())},Ei.$metadata$=yt(\\\"$serializer\\\",[fe]),ki.$metadata$=ut(\\\"ValueType\\\",void 0,void 0,{0:Ti},void 0,ge.prototype),Di.prototype.w2=function(){return this.n1r_1},Di.prototype.c9=function(){return Zi()},Di.prototype.toString=function(){return this.n1r_1.toString()},Di.prototype.equals=function(t){var e=zi(this),n=null!=t&&wt(t,wi)?t:null;return e===(null==n?null:zi(n))},Di.prototype.hashCode=function(){return this.n1r_1.hashCode()},Di.$metadata$=ut(\\\"EnumValue\\\",[wi]),Bi.prototype.w2=function(){return null},Bi.prototype.c9=function(){return Qi()},Bi.prototype.toString=function(){return\\\"@null\\\"},Bi.prototype.equals=function(t){return t===Ni()},Bi.prototype.hashCode=function(){return 0},Bi.$metadata$=yt(\\\"Null\\\",[wi]),Fi.prototype.w2=function(){return!0},Fi.prototype.c9=function(){return Ki()},Fi.prototype.toString=function(){return se(this.w2())},Fi.prototype.equals=function(t){return t===ji()},Fi.prototype.hashCode=function(){return 1},Fi.$metadata$=yt(\\\"True\\\",[wi]),Ui.prototype.w2=function(){return!1},Ui.prototype.c9=function(){return Ki()},Ui.prototype.toString=function(){return se(this.w2())},Ui.prototype.equals=function(t){return t===qi()},Ui.prototype.hashCode=function(){return-1},Ui.$metadata$=yt(\\\"False\\\",[wi]),Vi.$metadata$=yt(\\\"Companion\\\"),Gi.prototype.d1m=function(){return this.o1r_1},Gi.prototype.w2=function(){return this.o1r_1},Gi.prototype.c9=function(){return Ji()},Gi.prototype.toString=function(){return ze(this.o1r_1,null,\\\"[\\\",\\\"]\\\",0,null,null,57,null)},Gi.prototype.e=function(){return this.o1r_1.e()},Gi.prototype.equals=function(t){if(this===t)return!0;if(null==t||!wt(t,wi))return!1;if(t instanceof zo){for(var e=0,n=this.o1r_1.h(),r=new Float64Array(n);e<n;){var i,o,a=e,s=$i(this.o1r_1.j(a)),l=null==s?null:Pt(s);null==l?(Qt(),o=NaN):o=l,i=o,r[a]=i,e=e+1|0}return Re(r,t.p1r_1)}return rt(this.o1r_1,t.d1m())},Gi.prototype.hashCode=function(){return Ot(this.o1r_1)},Gi.$metadata$=ut(\\\"ListValue\\\",[wi,Me]),Wi.prototype.w2=function(){return this.q1r_1},Wi.prototype.c9=function(){return this.q1r_1,Zi()},Wi.prototype.toString=function(){return this.q1r_1},Wi.prototype.hashCode=function(){return t=this.q1r_1,De(t);var t},Wi.prototype.equals=function(t){return function(t,e){return e instanceof Wi&&t===(e instanceof Wi?e.q1r_1:Bt())}(this.q1r_1,t)},Wi.$metadata$=ut(\\\"StringValue\\\",[wi]),Xi.prototype.w2=function(){return this.m1r_1},Xi.prototype.c9=function(){return Yi()},Xi.prototype.toString=function(){return se(this.m1r_1)},Xi.prototype.equals=function(t){if(null==t||!wt(t,wi))return!1;var e=$i(t);if(null==e)return!1;var n=e;if(rt(this.m1r_1,n))return!0;var r=$i(this);return null!=r&&\\\"number\\\"==typeof r||null!=r&&\\\"number\\\"==typeof r?Pt(this.m1r_1)===Pt(n):r instanceof Fe?Ne(this.m1r_1).equals(Ne(n)):null!=r&&\\\"number\\\"==typeof r?Be(this.m1r_1)===Be(n):null!=r&&\\\"number\\\"==typeof r?zt(this.m1r_1)===zt(n):null!=r&&\\\"number\\\"==typeof r&&$e(this.m1r_1)===$e(n)},Xi.prototype.hashCode=function(){var t=$i(this),e=null==t?null:Ot(t);return null==e?0:e},Xi.$metadata$=ut(\\\"NumberValue\\\",[wi]),to.$metadata$=$(\\\"MutableValueProvider\\\",[eo]),eo.$metadata$=$(\\\"ValueProvider\\\"),oo.prototype.nn=function(){return this.s1r_1},oo.prototype.pn=function(t){return t.yp()?Oi(no(this).pn(t)):function(t,e){var n;switch(t.kq(Mi().y1a()).z1_1){case 4:n=Ni();break;case 0:n=Pi(t.eq());break;case 2:n=Ri(t.yp());break;case 1:n=Ii(t.gq());break;case 3:n=Oi(t.kq(He(ao())));break;default:j()}return n}(t)},oo.prototype.t1r=function(t,e){t.hr(Fo(e)),Fo(e)?no(this).on(t,e.d1m()):function(t,e,n){switch(t.ds(Mi().y1a(),n.c9()),n.c9().z1_1){case 4:break;case 0:t.nr(Do(n));break;case 2:t.hr($o(n));break;case 1:t.pr(zi(n));break;case 3:t.ds(He(ao()),n.d1m())}}(t,0,e)},oo.prototype.on=function(t,e){return this.t1r(t,null!=e&&wt(e,wi)?e:Bt())},oo.$metadata$=yt(\\\"ValueSerializer\\\",[jt]),so.$metadata$=$(\\\"Described\\\"),lo.$metadata$=yt(\\\"Companion\\\"),co.prototype.nn=function(){return this.v1r_1},co.prototype.fy=function(){return[ue(Je()),new ce(Je(),ho()),Qe(),new tn(\\\"space.kscience.dataforge.meta.descriptors.ValueRequirement\\\",vo()),ue(new en(Ti())),Je(),ue(ao()),Qe(),_r()]},co.prototype.pn=function(t){var e=this.v1r_1,n=!0,r=0,i=0,o=null,a=null,s=!1,l=null,u=null,c=null,h=null,p=!1,f=null,d=t.lq(e);if(d.br())o=d.zq(e,0,Je(),o),i|=1,a=d.xq(e,1,new ce(Je(),ho()),a),i|=2,s=d.nq(e,2),i|=4,l=d.xq(e,3,new tn(\\\"space.kscience.dataforge.meta.descriptors.ValueRequirement\\\",vo()),l),i|=8,u=d.zq(e,4,new en(Ti()),u),i|=16,c=d.vq(e,5),i|=32,h=d.zq(e,6,ao(),h),i|=64,p=d.nq(e,7),i|=128,f=d.xq(e,8,_r(),f),i|=256;else for(;n;)switch(r=d.cr(e)){case-1:n=!1;break;case 0:o=d.zq(e,0,Je(),o),i|=1;break;case 1:a=d.xq(e,1,new ce(Je(),ho()),a),i|=2;break;case 2:s=d.nq(e,2),i|=4;break;case 3:l=d.xq(e,3,new tn(\\\"space.kscience.dataforge.meta.descriptors.ValueRequirement\\\",vo()),l),i|=8;break;case 4:u=d.zq(e,4,new en(Ti()),u),i|=16;break;case 5:c=d.vq(e,5),i|=32;break;case 6:h=d.zq(e,6,ao(),h),i|=64;break;case 7:p=d.nq(e,7),i|=128;break;case 8:f=d.xq(e,8,_r(),f),i|=256;break;default:throw he(r)}return d.mq(e),function(t,e,n,r,i,o,a,s,l,u,c,h){if(0!=(0&t)&&de(t,0,ho().v1r_1),h.t1l_1=0==(1&t)?null:e,h.u1l_1=0==(2&t)?et():n,h.v1l_1=0!=(4&t)&&r,h.w1l_1=0==(8&t)?Ao():i,h.x1l_1=0==(16&t)?null:o,0==(32&t)){var p=h;tr(),p.y1l_1=\\\"@index\\\"}else h.y1l_1=a;return h.z1l_1=0==(64&t)?null:s,h.a1m_1=0!=(128&t)&&l,h.b1m_1=0==(256&t)?tr().r1m_1:u,h.c1m_1=xt((f=h,function(){var t=xr(),e=f.z1l_1;null==e||(t.o1o(e),N());for(var n=f.u1l_1.y().e();n.f();){var r=n.g();Ir(t,r.u2(),r.w2().y1q())}return fi(t)})),h;var f}(i,o,a,s,l,u,c,h,p,f,0,Object.create(po.prototype))},co.prototype.w1r=function(t,e){var n,r=this.v1r_1,i=t.lq(r);(i.is(r,0)||null!=e.t1l_1)&&i.es(r,0,Je(),e.t1l_1),!i.is(r,1)&&rt(e.u1l_1,et())||i.cs(r,1,new ce(Je(),ho()),e.u1l_1),(i.is(r,2)||!1!==e.v1l_1)&&i.sr(r,2,e.v1l_1),!i.is(r,3)&&e.w1l_1.equals(Ao())||i.cs(r,3,new tn(\\\"space.kscience.dataforge.meta.descriptors.ValueRequirement\\\",vo()),e.w1l_1),(i.is(r,4)||null!=e.x1l_1)&&i.es(r,4,new en(Ti()),e.x1l_1),i.is(r,5)?n=!0:(tr(),n=!(\\\"@index\\\"===e.y1l_1)),n&&i.as(r,5,e.y1l_1),(i.is(r,6)||null!=e.z1l_1)&&i.es(r,6,ao(),e.z1l_1),(i.is(r,7)||!1!==e.a1m_1)&&i.sr(r,7,e.a1m_1),!i.is(r,8)&&e.b1m_1.equals(tr().r1m_1)||i.cs(r,8,_r(),e.b1m_1),i.mq(r)},co.prototype.on=function(t,e){return this.w1r(t,e instanceof po?e:Bt())},co.$metadata$=yt(\\\"$serializer\\\",[fe]),po.prototype.x1r=function(){return this.t1l_1},po.prototype.y1r=function(){return this.u1l_1},po.prototype.z1r=function(){return this.v1l_1},po.prototype.a1s=function(){return this.w1l_1},po.prototype.b1s=function(){return this.x1l_1},po.prototype.c1s=function(){return this.y1l_1},po.prototype.d1s=function(){return this.z1l_1},po.prototype.e1s=function(){return this.b1m_1},po.prototype.y1q=function(){return St(\\\"defaultNode\\\",1,Tt,(function(t){return t.y1q()}),null),this.c1m_1.w2()},po.prototype.toString=function(){return\\\"MetaDescriptor(info=\\\"+this.t1l_1+\\\", children=\\\"+this.u1l_1+\\\", multiple=\\\"+this.v1l_1+\\\", valueRequirement=\\\"+this.w1l_1+\\\", valueTypes=\\\"+this.x1l_1+\\\", indexKey=\\\"+this.y1l_1+\\\", defaultValue=\\\"+this.z1l_1+\\\", readOnly=\\\"+this.a1m_1+\\\", attributes=\\\"+this.b1m_1+\\\")\\\"},po.prototype.hashCode=function(){var t=null==this.t1l_1?0:De(this.t1l_1);return t=D(t,31)+Ot(this.u1l_1)|0,t=D(t,31)+(0|this.v1l_1)|0,t=D(t,31)+this.w1l_1.hashCode()|0,t=D(t,31)+(null==this.x1l_1?0:Ot(this.x1l_1))|0,t=D(t,31)+De(this.y1l_1)|0,t=D(t,31)+(null==this.z1l_1?0:this.z1l_1.hashCode())|0,t=D(t,31)+(0|this.a1m_1)|0,D(t,31)+this.b1m_1.hashCode()|0},po.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof po))return!1;var e=t instanceof po?t:Bt();return!!(this.t1l_1==e.t1l_1&&rt(this.u1l_1,e.u1l_1)&&this.v1l_1===e.v1l_1&&this.w1l_1.equals(e.w1l_1)&&rt(this.x1l_1,e.x1l_1)&&this.y1l_1===e.y1l_1&&rt(this.z1l_1,e.z1l_1)&&this.a1m_1===e.a1m_1&&this.b1m_1.equals(e.b1m_1))},po.$metadata$=ut(\\\"MetaDescriptor\\\",void 0,void 0,{0:ho}),yo.$metadata$=ut(\\\"ValueRequirement\\\",void 0,void 0,void 0,void 0,ge.prototype),Eo.prototype.o1s=function(t){this.f1s_1=t},Eo.prototype.p1s=function(t){this.g1s_1=t},Eo.prototype.q1s=function(t){this.h1s_1=t},Eo.prototype.r1s=function(t){this.i1s_1=t},Eo.prototype.s1s=function(t){this.k1s_1=t},Eo.prototype.t1s=function(t,e){this.k1s_1=At(nn([[t],e]))},Eo.prototype.u1s=function(t){this.l1s_1=t},Eo.prototype.v1s=function(t){this.m1s_1=t},Eo.prototype.w1s=function(t){this.m1s_1=xi().u1p(t)},Eo.prototype.x1s=function(t){this.n1s_1=t},Eo.prototype.e1s=function(){return this.n1s_1},Eo.prototype.y1s=function(t,e){var n;switch(Xo(t)){case 0:e(this),n=this;break;case 1:var r=new Eo;e(r);var i=r,o=this.g1s_1,a=ra(t).p1l_1;o.b(a,i),n=i;break;default:var s,l=this.g1s_1,u=ra(t).p1l_1,c=l.s(u);if(null==c){var h=new Eo;l.b(u,h),s=h}else s=c;n=s.y1s(ia(t),e)}return n},Eo.prototype.z1s=function(t,e,n){var r;switch(Xo(t)){case 0:throw Rt(\\\"Can't set descriptor to root\\\");case 1:var i=ko(e);i.i1s_1=Mo();var o=i;n(o);var a=o,s=this.g1s_1,l=ra(t).p1l_1;s.b(l,a),r=a;break;default:var u,c=this.g1s_1,h=ra(t).p1l_1,p=c.s(h);if(null==p){var f=new Eo;c.b(h,f),u=f}else u=p;r=u.z1s(ia(t),e,n)}return r},Eo.prototype.a1t=function(t){var e=this.n1s_1;uo(),function(t,e,n){Sr(t,Ho().w1o(\\\"allowedValues\\\"),Oi(n))}(e,0,t)},Eo.prototype.b1t=function(t){for(var e,n=X(t.length),r=t,i=0,o=r.length;i<o;){var a,s=r[i];i=i+1|0,a=xi().u1p(s),n.a(a)}e=n,this.a1t(e)},Eo.prototype.v3=function(){for(var t=this.f1s_1,e=this.g1s_1,n=mt(dt(e.h())),r=e.y().e();r.f();){var i,o=r.g(),a=o.u2();i=o.w2().v3(),n.b(a,i)}return new po(t,n,this.h1s_1,this.i1s_1,this.k1s_1,this.l1s_1,this.m1s_1,this.j1s_1,this.n1s_1)},Eo.$metadata$=ut(\\\"MetaDescriptorBuilder\\\"),zo.prototype.w2=function(){return this.p1r_1},zo.prototype.c9=function(){return Ji()},zo.prototype.d1m=function(){for(var t=this.p1r_1,e=X(t.length),n=t,r=0,i=n.length;r<i;){var o,a=n[r];r=r+1|0,o=new Xi(a),e.a(o)}return e},zo.prototype.equals=function(t){return this===t||!(null==t||!wt(t,wi))&&(t instanceof zo?Re(this.p1r_1,t.p1r_1):rt(this.d1m(),t.d1m()))},zo.prototype.hashCode=function(){return rn(this.p1r_1)},zo.prototype.toString=function(){var t=this.d1m();return ze(t,null,\\\"[\\\",\\\"]\\\",0,null,null,57,null)},zo.prototype.e=function(){return on(this.p1r_1)},zo.$metadata$=ut(\\\"DoubleArrayValue\\\",[wi,Me]),jo.$metadata$=$(\\\"Named\\\"),qo.prototype.x1t=function(t,e){var n=this.y1t(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},qo.prototype.qm=function(t,e){return this.x1t(t instanceof Nt?t:Bt(),e)},qo.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=7,this.m1t_1=ln(),this.n1t_1=ln(),this.o1t_1={_v:0},this.p1t_1=!1,this.q1t_1=un(this.k1t_1),this.gm_1=1;continue t;case 1:if(!this.q1t_1.f()){this.gm_1=5;continue t}if(this.r1t_1=this.q1t_1.d5(),this.p1t_1){Uo(this.o1t_1)?this.n1t_1.d9(this.r1t_1):this.m1t_1.d9(this.r1t_1),this.p1t_1=!1,this.gm_1=4;continue t}if(rt(new cn(this.r1t_1),new cn(hn(92)))){this.p1t_1=!0,this.gm_1=4;continue t}if(Uo(this.o1t_1)){var e=this.r1t_1;if(rt(new cn(e),new cn(hn(91)))){var n=this.o1t_1._v;this.o1t_1._v=n+1|0}else if(rt(new cn(e),new cn(hn(93)))){var r=this.o1t_1._v;this.o1t_1._v=r-1|0}Uo(this.o1t_1)&&this.n1t_1.d9(this.r1t_1),this.gm_1=4;continue t}if(this.s1t_1=this.r1t_1,rt(new cn(this.s1t_1),new cn(hn(46)))){var i;if(this.t1t_1=this.n1t_1,i=0===je(this.t1t_1)?null:this.n1t_1.toString(),this.u1t_1=i,this.gm_1=2,(t=this.l1t_1.f5(new ya(this.m1t_1.toString(),this.u1t_1),this))===Ft())return t;continue t}if(rt(new cn(this.s1t_1),new cn(hn(91)))){var o=this.o1t_1._v;this.o1t_1._v=o+1|0,this.gm_1=3;continue t}if(rt(new cn(this.s1t_1),new cn(hn(93))))throw Rt(\\\"Syntax error: closing bracket ] not have not matching open bracket\\\");var a=this.n1t_1;if(je(a)>0)throw Rt(\\\"Syntax error: only name end and name separator are allowed after index\\\");this.m1t_1.d9(this.r1t_1),this.gm_1=3;continue t;case 2:this.m1t_1=ln(),this.n1t_1=ln(),this.gm_1=3;continue t;case 3:this.gm_1=4;continue t;case 4:this.gm_1=1;continue t;case 5:var s;if(this.v1t_1=this.n1t_1,s=0===je(this.v1t_1)?null:this.n1t_1.toString(),this.w1t_1=s,this.gm_1=6,(t=this.l1t_1.f5(new ya(this.m1t_1.toString(),this.w1t_1),this))===Ft())return t;continue t;case 6:return N();case 7:throw this.jm_1}}catch(t){if(7===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},qo.prototype.y1t=function(t,e){var n=new qo(this.k1t_1,e);return n.l1t_1=t,n},qo.$metadata$=ut(\\\"Name$Companion$parse$slambda\\\",void 0,void 0,void 0,[1],$t.prototype),Vo.prototype.z1t=function(){return this.v1o_1},Vo.prototype.w1o=function(t){if(pn(t))return this.v1o_1;var e=Lt(function(t,e){var n=new qo(t,null),r=function(t,e){return n.x1t(t,e)};return r.$arity=1,r}(t));return new Wo(ht(e))},Vo.$metadata$=yt(\\\"Companion\\\"),Wo.prototype.a1u=function(){return this.b1p_1},Wo.prototype.toString=function(){return Ho(),ze(this.b1p_1,\\\".\\\",null,null,0,null,Go,30,null)},Wo.prototype.equals=function(t){var e=t;return e instanceof Wo?rt(this.b1p_1,t.b1p_1):e instanceof ya&&1===Xo(this)&&K(this.b1p_1).equals(t)},Wo.prototype.hashCode=function(){return this.c1p_1},Wo.$metadata$=ut(\\\"Name\\\",void 0,void 0,{0:ha}),ca.prototype.nn=function(){return this.b1u_1},ca.prototype.pn=function(t){return Ho().w1o(t.gq())},ca.prototype.c1u=function(t,e){t.pr(e.toString())},ca.prototype.on=function(t,e){return this.c1u(t,e instanceof Wo?e:Bt())},ca.$metadata$=yt(\\\"NameSerializer\\\",[jt]),pa.prototype.nn=function(){return this.d1u_1},pa.prototype.pn=function(t){return Q(Yo(Ho().w1o(t.gq())))},pa.prototype.e1u=function(t,e){t.pr(e.toString())},pa.prototype.on=function(t,e){return this.e1u(t,e instanceof ya?e:Bt())},pa.$metadata$=yt(\\\"NameTokenSerializer\\\",[jt]),va.$metadata$=yt(\\\"Companion\\\"),ya.prototype.g1u=function(){return this.p1l_1},ya.prototype.y3=function(){return this.q1l_1},ya.prototype.toString=function(){return null!=this.q1l_1?ma(this)+\\\"[\\\"+this.q1l_1+\\\"]\\\":ma(this)},ya.prototype.equals=function(t){return this===t||!(null==t||!me(this).equals(me(t)))&&(t instanceof ya||Bt(),this.p1l_1===t.p1l_1&&this.q1l_1==t.q1l_1)},ya.prototype.hashCode=function(){return this.s1l_1},ya.$metadata$=ut(\\\"NameToken\\\",void 0,void 0,{0:fa}),xa.prototype.i1u=function(){return this.h1u_1},xa.prototype.w2=function(){var t,e;if(_a(0,this.h1u_1)){var n;t:{for(var r=this.h1u_1,i=null!=r&&ye(r)?r:Bt(),o=0,a=i.length;o<a;){var s=i[o];if(o=o+1|0,!ba(0,s)){n=!1;break t}}n=!0}e=n}else e=!1;if(e){var l=xi(),u=this.h1u_1;t=l.u1p(null!=u&&ye(u)?u:Bt())}else{var c;switch(typeof this.h1u_1){case\\\"boolean\\\":var h=this.h1u_1;c=Ri(null!=h&&\\\"boolean\\\"==typeof h?h:Bt());break;case\\\"number\\\":var p=this.h1u_1;c=Pi(Ee(p)?p:Bt());break;case\\\"string\\\":var f=this.h1u_1;c=Ii(null!=f&&\\\"string\\\"==typeof f?f:Bt());break;default:c=null}t=c}return t},xa.prototype.o1l=function(){var t;if(ba(0,this.h1u_1))t=et();else if(_a(0,this.h1u_1)){var e,n;t:{for(var r=this.h1u_1,i=null!=r&&ye(r)?r:Bt(),o=0,a=i.length;o<a;){var s=i[o];if(o=o+1|0,!ba(0,s)){n=!1;break t}}n=!0}if(n)e=et();else{for(var l=this.h1u_1,u=null!=l&&ye(l)?l:Bt(),c=X(u.length),h=0,p=u,f=0,d=p.length;f<d;){var m,v=p[f];f=f+1|0;var g=h;h=g+1|0;var y=g;tr();var _=v[\\\"@index\\\"],b=null==_?null:se(_),x=null==b?y.toString():b;m=Z(new ya((tr(),\\\"@jsonArray\\\"),x),new xa(v)),c.a(m)}e=tt(c)}t=e}else{for(var w=function(t){var e=Object.keys(t.h1u_1);return null!=e&&ye(e)?e:Bt()}(this),A=H(),C=w,M=0,E=C.length;M<E;){var T,S=C[M];M=M+1|0;var k=this.h1u_1[S];if(null!=k){var O,I=k;if(_a(0,I)){var L,P,z=null!=I&&ye(I)?I:Bt();t:{for(var R=z,D=0,$=R.length;D<$;){var B=R[D];if(D=D+1|0,!ba(0,B)){P=!1;break t}}P=!0}if(P)L=Ct(Z(da(S,null,2),new xa(I)));else{for(var F=H(),j=0,U=z,q=0,V=U.length;q<V;){var G=U[q];q=q+1|0;var W=j;j=W+1|0;var Y=W,K=new xa(G),J=Z(new ya(S,Y.toString()),K);null==J||(F.a(J),N())}L=F}O=L}else{var Q=new xa(I);O=Ct(Z(da(S,null,2),Q))}T=O}else T=Yt();Mt(A,T)}t=tt(A)}return t},xa.prototype.toString=function(){return tr().s1m(this)},xa.prototype.equals=function(t){return tr().t1m(this,null!=t&&wt(t,er)?t:null)},xa.prototype.hashCode=function(){return tr().u1m(this)},xa.$metadata$=ut(\\\"DynamicMeta\\\",[or]),Zn.prototype.v1m=Mn,Zn.prototype.w1m=wn,ei.prototype.m1m=function(t){return function(t,e){for(var n=t,r=e;;)t:do{var i;if(Qo(r))i=n;else{var o=n.o1l().s(Q(Yo(r)));if(null!=o){n=o,r=ia(r);continue t}i=null}return i}while(0)}(this,t)},ei.prototype.v1m=An,ei.prototype.w1m=wn,Tr.prototype.m1m=In,Tr.prototype.v1m=Mn,Tr.prototype.w1m=wn,Tr.prototype.p1o=En,Tr.prototype.r1o=Tn,Tr.prototype.y1o=Sn,Tr.prototype.z1o=kn,Tr.prototype.a1p=On,ii.prototype.w1m=wn,ii.prototype.p1o=En,ii.prototype.r1o=Tn,ii.prototype.y1o=Sn,ii.prototype.z1o=kn,ii.prototype.a1p=On,oi.prototype.m1m=In,oi.prototype.v1m=Mn,oi.prototype.w1m=wn,oi.prototype.p1o=En,oi.prototype.r1o=Tn,oi.prototype.y1o=Sn,oi.prototype.z1o=kn,oi.prototype.a1p=On,ai.prototype.w1m=wn,ci.prototype.gy=pe,pi.prototype.m1m=Cn,pi.prototype.v1m=Mn,pi.prototype.w1m=wn,Ei.prototype.gy=pe,Di.prototype.d1m=Ln,Bi.prototype.d1m=Ln,Fi.prototype.d1m=Ln,Ui.prototype.d1m=Ln,Wi.prototype.d1m=Ln,Xi.prototype.d1m=Ln,co.prototype.gy=pe,xa.prototype.m1m=Cn,xa.prototype.v1m=Mn,xa.prototype.w1m=wn,t.$_$=t.$_$||{},t.$_$.a=Mo,t.$_$.b=Co,t.$_$.c=Ki,t.$_$.d=Yi,t.$_$.e=Zi,t.$_$.f=function(t,e,n,r,i,o){return 0!=(4&i)&&(r=Lo),So(t,e,n,r)},t.$_$.g=function(t,e,n,r,i,o,a){return 0!=(8&o)&&(i=Io),To(t,e,n,r,i)},t.$_$.h=function(t,e,n,r,i,o,a){return 0!=(8&o)&&(i=Po),Oo(t,e,n,r,i)},t.$_$.i=function(t,e,n,r,i){return 0!=(2&r)&&(n=null),Dr(t,e,n)},t.$_$.j=function(t,e,n,r,i){return 0!=(1&r)&&(e=null),function(t,e,n){return Br(t,e,null,(r=n,function(t){var e=null==t?null:$o(t);return null==e?r():e}),2);var r}(t,e,n)},t.$_$.k=function(t,e,n,r){return 0!=(1&n)&&(e=null),function(t,e){return Br(t,e,null,Hr,2)}(t,e)},t.$_$.l=function(t,e,n,r){return 0!=(1&n)&&(e=null),function(t,e){return Br(t,e,null,Yr,2)}(t,e)},t.$_$.m=function(t,e,n,r,i){return 0!=(2&r)&&(n=null),function(t,e,n){return Br(t,n,null,(r=e,function(t){var e=null==t?null:Do(t);return null==e?r:e}),2);var r}(t,e,n)},t.$_$.n=function(t,e,n,r,i){return 0!=(2&r)&&(n=null),function(t,e,n){return Br(t,n,null,(r=e,function(t){var e=null==t?null:Bo(t);return null==e?r:e}),2);var r}(t,e,n)},t.$_$.o=function(t,e,n,r){return 0!=(1&n)&&(e=null),function(t,e){return new Vr(t,e)}(t,e)},t.$_$.p=function(t,e,n,r,i){return 0!=(2&r)&&(n=null),Nr(t,e,n)},t.$_$.q=function(t,e,n,r,i){return 0!=(1&r)&&(e=null),Fr(t,e,n)},t.$_$.r=function(t,e,n,r){return 0!=(1&n)&&(e=null),function(t,e){return Br(t,e,null,qr,2)}(t,e)},t.$_$.s=Cr,t.$_$.t=function(t,e,n,r,i){return 0!=(2&r)&&(n=null),gi(t,e,n)},t.$_$.u=function(t,e,n,r,i){return 0!=(2&r)&&(n=null),yi(t,e,n)},t.$_$.v=function(t,e,n,r){return 0!=(1&n)&&(e=null),Rr(t,e)},t.$_$.w=Rn,t.$_$.x=function(t,e,n,r,i,o){return 0!=(2&i)&&(n=null),ri(t,e,n,r)},t.$_$.y=Br,t.$_$.z=function(t,e,n,r){return 0!=(1&n)&&(e=null),jr(t,e)},t.$_$.a1=function(t,e,n,r){return 0!=(1&n)&&(e=!1),Zo(t,e)},t.$_$.b1=da,t.$_$.c1=ho,t.$_$.d1=tr,t.$_$.e1=_r,t.$_$.f1=function(){return null==a&&new gr,a},t.$_$.g1=Ni,t.$_$.h1=Ho,t.$_$.i1=ha,t.$_$.j1=fa,t.$_$.k1=so,t.$_$.l1=Eo,t.$_$.m1=mo,t.$_$.n1=fo,t.$_$.o1=function(t,e,n){return t.y1s(Ho().w1o(e),n)},t.$_$.p1=function(t,e,n){return t.y1s(e,(r=n,function(t){return t.i1s_1=Mo(),r(t),N()}));var r},t.$_$.q1=So,t.$_$.r1=To,t.$_$.s1=Oo,t.$_$.t1=Pn,t.$_$.u1=xa,t.$_$.v1=Di,t.$_$.w1=Kn,t.$_$.x1=An,t.$_$.y1=wn,t.$_$.z1=ar,t.$_$.a2=er,t.$_$.b2=function(t){return function(t,e){for(var n=t,r=e;;)t:do{var i;if(Qo(r))i=n;else{var o=n.o1l().s(Q(Yo(r)));if(null!=o){n=o,r=ia(r);continue t}i=null}return i}while(0)}(this,t)},t.$_$.c2=On,t.$_$.d2=kn,t.$_$.e2=Tn,t.$_$.f2=Sn,t.$_$.g2=En,t.$_$.h2=xr,t.$_$.i2=br,t.$_$.j2=to,t.$_$.k2=ti,t.$_$.l2=si,t.$_$.m2=ai,t.$_$.n2=function(t){switch(t){case\\\"NUMBER\\\":return Yi();case\\\"STRING\\\":return Zi();case\\\"BOOLEAN\\\":return Ki();case\\\"LIST\\\":return Ji();case\\\"NULL\\\":return Qi();default:Si(),Ie()}},t.$_$.o2=wi,t.$_$.p2=function(t){var e=wt(t,br)?t:null;return null==e?wr(t):e},t.$_$.q2=function(t){var e=wt(t,Qr)?t:null;return null==e?new ii(t,Ho().v1o_1,ne()):e},t.$_$.r2=Oi,t.$_$.s2=Pi,t.$_$.t2=Ii,t.$_$.u2=Ri,t.$_$.v2=function(t){return new Di(t)},t.$_$.w2=$o,t.$_$.x2=function(t){var e=null==t?null:t.w2();return null==e?null:$o(e)},t.$_$.y2=Dr,t.$_$.z2=Do,t.$_$.a3=function(t){var e=ur(t);return null==e?null:Pt(e)},t.$_$.b3=No,t.$_$.c3=function(t){var e=ur(t);return null==e?null:Pt(e)},t.$_$.d3=function(t,e,n){return Br(t,n,null,(r=e,function(t){var e=null==t?null:No(t);return null==e?r:e}),2);var r},t.$_$.e3=function(t,e){return function(t,e){var n;switch(Xo(e)){case 0:throw Rt(\\\"Can't use empty name for 'getIndexed'\\\");case 1:n=t;break;default:var r=rr(t,sa(e));if(null==r)return et();n=r}var i,o=n,a=Q(aa(e)),s=a.p1l_1,l=a.q1l_1;if(null==l){for(var u=o.o1l(),c=U(),h=u.y().e();h.f();){var p=h.g();p.u2().p1l_1===s&&c.b(p.u2(),p.w2())}for(var f=c,d=mt(dt(f.h())),m=f.y().e();m.f();){var v,g=m.g(),y=g.u2().q1l_1;v=g.w2(),d.b(y,v)}i=d}else{for(var _=Dt(l),b=o.o1l(),x=U(),w=b.y().e();w.f();){var A,C=w.g();if(C.u2().p1l_1===s){var M=C.u2().q1l_1;A=_.tj(null==M?\\\"\\\":M)}else A=!1;A&&x.b(C.u2(),C.w2())}for(var E=x,T=mt(dt(E.h())),S=E.y().e();S.f();){var k,O=S.g(),I=O.u2().q1l_1;k=O.w2(),T.b(I,k)}i=T}return i}(t,Zo(e,!0))},t.$_$.f3=function(t,e){return cr(t,Zo(e,!0))},t.$_$.g3=ir,t.$_$.h3=rr,t.$_$.i3=cr,t.$_$.j3=function(t,e){return cr(t,e)},t.$_$.k3=Bo,t.$_$.l3=function(t){var e=ur(t);return null==e?null:zt(e)},t.$_$.m3=function t(e){var n;if(e===tr().r1m_1)n=!0;else{var r;if(null==e.w2()){var i;if(e.o1l().i())i=!0;else{var o;t:{var a=e.o1l().l3();if(wt(a,It)&&a.i())o=!0;else{for(var s=a.e();s.f();)if(!t(s.g())){o=!1;break t}o=!0}}i=o}r=i}else r=!1;n=r}return n},t.$_$.n3=function(t){return t.o1l().i()},t.$_$.o3=pr,t.$_$.p3=ur,t.$_$.q3=Li,t.$_$.r3=Nr,t.$_$.s3=Fr,t.$_$.t3=function(t,e){t.x1o(e,null)},t.$_$.u3=fi,t.$_$.v3=function(t,e,n){return Sr(t,Ho().w1o(e),Pi(n))},t.$_$.w3=function(t,e,n){return Sr(t,Ho().w1o(e),n)},t.$_$.x3=function(t,e,n){return Sr(t,e,Pi(n))},t.$_$.y3=function(t,e,n){return Sr(t,Ho().w1o(e),Ri(n))},t.$_$.z3=Ir,t.$_$.a4=function(t,e,n){var r;!function(t,e,n){n(t.q1o(e))}(t,e,(r=n,function(t){return t.o1o(r),N()}))},t.$_$.b4=function(t){var e=null==t?null:t.w2();return null==e?null:zi(e)},t.$_$.c4=zi,t.$_$.d4=Ro,t.$_$.e4=function(t,e){return $r(t,e,Kr,Jr)},t.$_$.f4=Rr,t.$_$.g4=function t(e){if(e instanceof xa)return e.h1u_1;if(e.o1l().i()){var n=e.w2();return null==n?null:wa(n)}for(var r={},i=e.o1l().y(),o=U(),a=i.e();a.f();){var s,l=a.g(),u=l.u2().p1l_1,c=o.s(u);if(null==c){var h=H();o.b(u,h),s=h}else s=c;s.a(l)}for(var p=o.y().e();p.f();){for(var f=p.g(),d=f.u2(),m=f.w2(),v=X(W(m,10)),g=m.e();g.f();){var y;y=g.g().w2(),v.a(y)}var _,b=v;if(1===b.h())_=t(K(b));else{for(var x=X(W(b,10)),w=b.e();w.f();){var A;A=t(w.g()),x.a(A)}_=x}r[d]=_}return r},t.$_$.h4=wr,t.$_$.i4=function(t,e){for(var n=nr(e).e();n.f();){var r=n.g();Sr(t,r.m4(),r.n4())}},t.$_$.j4=ri,t.$_$.k4=nr,t.$_$.l4=jr,t.$_$.m4=jo,t.$_$.n4=ya,t.$_$.o4=Wo,t.$_$.p4=ta,t.$_$.q4=Ko,t.$_$.r4=ia,t.$_$.s4=sa,t.$_$.t4=Yo,t.$_$.u4=ra,t.$_$.v4=Qo,t.$_$.w4=aa,t.$_$.x4=Xo,t.$_$.y4=function(t,e){return ua(),na(t,Ho().w1o(e))},t.$_$.z4=oa,t.$_$.a5=na,t.$_$.b5=ea,t.$_$.c5=function(t,e){return ua(),rt(Yo(t),e)},t.$_$.d5=Jo,t.$_$.e5=function(t,e){ua();var n=new ya(Ht(t.b1p_1).p1l_1,e);if(0===Xo(t))throw Rt(\\\"Can't add index to empty name\\\");if(1===Xo(t))return ta(n);var r=gn(t.b1p_1);return r.z4(r.h()-1|0),r.a(n),new Wo(r)}}(t.exports,n(8744),n(3730),n(3645))},8744:t=>{var e,n;void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(t){return null!=t&&null!=t.__proto__&&t.__proto__.__proto__===Int8Array.prototype.__proto__}),void 0===Array.prototype.fill&&Object.defineProperty(Array.prototype,\\\"fill\\\",{value:function(t){if(null==this)throw new TypeError(\\\"this is null or not defined\\\");for(var e=Object(this),n=e.length>>>0,r=arguments[1],i=r>>0,o=i<0?Math.max(n+i,0):Math.min(i,n),a=arguments[2],s=void 0===a?n:a>>0,l=s<0?Math.max(n+s,0):Math.min(s,n);o<l;)e[o]=t,o++;return e}}),[Int8Array,Int16Array,Uint16Array,Int32Array,Float32Array,Float64Array].forEach((function(t){void 0===t.prototype.fill&&Object.defineProperty(t.prototype,\\\"fill\\\",{value:Array.prototype.fill})})),void 0===Math.clz32&&(Math.clz32=(e=Math.log,n=Math.LN2,function(t){var r=t>>>0;return 0===r?32:31-(e(r)/n|0)|0})),void 0===String.prototype.startsWith&&Object.defineProperty(String.prototype,\\\"startsWith\\\",{value:function(t,e){return e=e||0,this.lastIndexOf(t,e)===e}}),void 0===String.prototype.endsWith&&Object.defineProperty(String.prototype,\\\"endsWith\\\",{value:function(t,e){var n=this.toString();(void 0===e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}}),void 0===Math.imul&&(Math.imul=function(t,e){return(4294901760&t)*(65535&e)+(65535&t)*(0|e)|0}),function(t){\\\"use strict\\\";var e,n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ut,ct,ht,pt,ft,dt,mt,vt,gt,yt,_t,bt,xt,wt,At,Ct,Mt,Et,Tt,St,kt,Ot,It,Lt=Math.imul,Pt=ArrayBuffer.isView,zt=Math.clz32;function Rt(t){return t===or()?this:t.m7(this,nr)}function Dt(t){return _c(this.u2(),t)?gh(this,er)?this:Tc():null}function $t(t,e){return e(t,this)}function Bt(t){return _c(this.u2(),t)?or():this}function Nt(t,e,n,r,i,o,a,s,l){return 0!=(1&s)&&(e=\\\", \\\"),0!=(2&s)&&(n=\\\"\\\"),0!=(4&s)&&(r=\\\"\\\"),0!=(8&s)&&(i=-1),0!=(16&s)&&(o=\\\"...\\\"),0!=(32&s)&&(a=null),function(t,e,n,r,i,o,a){return function(t,e,n,r,i,o,a,s){e.c(r);var l=0,u=t,c=0,h=u.length;t:for(;c<h;){var p=u[c];if(c=c+1|0,(l=l+1|0)>1&&e.c(n),!(o<0||l<=o))break t;jr(e,p,s)}return o>=0&&l>o&&e.c(a),e.c(i),e}(t,Pl(),e,n,r,i,o,a).toString()}(t,e,n,r,i,o,a)}function Ft(t,e){return Ht(t,e)>=0}function jt(t,e){return function(t,e){var n=0,r=t.length-1|0;if(n<=r)do{var i=n;if(n=n+1|0,e.equals(t[i]))return i}while(n<=r);return-1}(t,e)>=0}function Ut(t,e){return function(t,e){var n=0,r=t.length-1|0;if(n<=r)do{var i=n;if(n=n+1|0,e===t[i])return i}while(n<=r);return-1}(t,e)>=0}function qt(t,e){return function(t,e){var n=0,r=t.length-1|0;if(n<=r)do{var i=n;if(n=n+1|0,e===t[i])return i}while(n<=r);return-1}(t,e)>=0}function Vt(t,e){return function(t,e){var n=0,r=t.length-1|0;if(n<=r)do{var i=n;if(n=n+1|0,e===t[i])return i}while(n<=r);return-1}(t,e)>=0}function Ht(t,e){if(null==e){var n=0,r=t.length-1|0;if(n<=r)do{var i=n;if(n=n+1|0,null==t[i])return i}while(n<=r)}else{var o=0,a=t.length-1|0;if(o<=a)do{var s=o;if(o=o+1|0,_c(e,t[s]))return s}while(o<=a)}return-1}function Gt(t){switch(t.length){case 0:return Hn();case 1:return ka(t[0]);default:return Wt(t,Ls(t.length))}}function Wt(t,e){for(var n=t,r=0,i=n.length;r<i;){var o=n[r];r=r+1|0,e.a(o)}return e}function Xt(t){return t.length-1|0}function Yt(t,e){return function(t,e){var n=0,r=t.length-1|0;if(n<=r)do{var i=n;if(n=n+1|0,_c(new Ou(e),new Ou(t[i])))return i}while(n<=r);return-1}(t,e)>=0}function Zt(t){this.d_1=t}function Kt(t,e,n,r,i,o,a,s,l){return 0!=(1&s)&&(e=\\\", \\\"),0!=(2&s)&&(n=\\\"\\\"),0!=(4&s)&&(r=\\\"\\\"),0!=(8&s)&&(i=-1),0!=(16&s)&&(o=\\\"...\\\"),0!=(32&s)&&(a=null),function(t,e,n,r,i,o,a){return re(t,Pl(),e,n,r,i,o,a).toString()}(t,e,n,r,i,o,a)}function Jt(t){if(t.i())throw bp(\\\"List is empty.\\\");return t.j(0)}function Qt(t){if(gh(t,Du)){var e;switch(t.h()){case 0:e=Hn();break;case 1:e=ka(gh(t,Lu)?t.j(0):t.e().g());break;default:e=ne(t,Ls(t.h()))}return e}return function(t){switch(t.h()){case 0:return Hn();case 1:return ka(t.e().g());default:return t}}(ne(t,Os()))}function te(t){return new ue(t)}function ee(t){if(gh(t,Du)){var e;switch(t.h()){case 0:e=Ye();break;case 1:e=Ta(gh(t,Lu)?t.j(0):t.e().g());break;default:e=ie(t)}return e}return en(oe(t))}function ne(t,e){for(var n=t.e();n.f();){var r=n.g();e.a(r)}return e}function re(t,e,n,r,i,o,a,s){e.c(r);var l=0,u=t.e();t:for(;u.f();){var c=u.g();if((l=l+1|0)>1&&e.c(n),!(o<0||l<=o))break t;jr(e,c,s)}return o>=0&&l>o&&e.c(a),e.c(i),e}function ie(t){return Ka(t)}function oe(t){return gh(t,Du)?ie(t):ne(t,Ya())}function ae(t){if(t.i())throw bp(\\\"List is empty.\\\");return t.j(nn(t))}function se(t){if(gh(t,Lu))return ae(t);var e=t.e();if(!e.f())throw bp(\\\"Collection is empty.\\\");for(var n=e.g();e.f();)n=e.g();return n}function le(t){this.v_1=t}function ue(t){this.x_1=t}function ce(t,e){return e<=_a().a1_1?br().z_1:uh(t,e-1|0)}function he(t,e){return t<e?e:t}function pe(t,e,n){if(e.k1(n)>0)throw up(\\\"Cannot coerce value to an empty range: maximum \\\"+yc(n)+\\\" is less than minimum \\\"+yc(e)+\\\".\\\");return t.k1(e)<0?e:t.k1(n)>0?n:t}function fe(t,e){return t>e?e:t}function de(t,e){return Tr().h1(t,e,-1)}function me(t){return en(ge(t))}function ve(t,e){return new In(t,e)}function ge(t){return function(t,e){for(var n=t.e();n.f();){var r=n.g();e.a(r)}return e}(t,Ya())}function ye(t){this.m1_1=t}function _e(t){return null==t}function be(t,e){this.n1_1=t,this.o1_1=e}function xe(t){this.p1_1=t}function we(t,e){if(!(e>=0))throw up(yc(\\\"Requested character count \\\"+e+\\\" is less than zero.\\\"));var n=fe(e,t.length);return t.substring(n)}function Ae(){wc(this,Ae)}function Ce(){}function Me(){this.v1_1=ke(),this.w1_1=null}function Ee(){if(o)return ma();o=!0,e=new Te(\\\"Ready\\\",0),n=new Te(\\\"NotReady\\\",1),r=new Te(\\\"Done\\\",2),i=new Te(\\\"Failed\\\",3)}function Te(t,e){Vu.call(this,t,e)}function Se(){return Ee(),e}function ke(){return Ee(),n}function Oe(){return Ee(),i}function Ie(t,e,n){De.call(this),this.e2_1=t,this.f2_1=e,this.g2_1=0,Re().h2(this.f2_1,n,this.e2_1.h()),this.g2_1=n-this.f2_1|0}function Le(t){this.l2_1=t,this.k2_1=0}function Pe(t,e){this.o2_1=t,Le.call(this,t),Re().p2(e,this.o2_1.h()),this.k2_1=e}function ze(){a=this}function Re(){return null==a&&new ze,a}function De(){Re(),Ce.call(this)}function $e(t){this.t2_1=t}function Be(t){this.v2_1=t}function Ne(t,e){return e===t?\\\"(this Map)\\\":Hu(e)}function Fe(t,e){var n;t:{for(var r=t.y().e();r.f();){var i=r.g();if(_c(i.u2(),e)){n=i;break t}}n=null}return n}function je(){s=this}function Ue(){return null==s&&new je,s}function qe(t){this.a3_1=t,Xe.call(this)}function Ve(t){this.g3_1=t,Ce.call(this)}function He(){Ue(),this.c3_1=null,this.d3_1=null}function Ge(){l=this}function We(){return null==l&&new Ge,l}function Xe(){We(),Ce.call(this)}function Ye(){return Ke()}function Ze(){u=this,this.o3_1=new Lc(-1478467534,-1720727600)}function Ke(){return null==u&&new Ze,u}function Je(t,e){this.r3_1=t,this.s3_1=e}function Qe(){c=this}function tn(){return null==c&&new Qe,c}function en(t){switch(t.h()){case 0:return Ye();case 1:return Ta(t.j(0));default:return t}}function nn(t){return t.h()-1|0}function rn(t,e){this.w3_1=t,this.x3_1=e}function on(t,e){return gh(t,Du)?t.h():e}function an(t){this.z3_1=t}function sn(t){this.a4_1=t}function ln(t){this.b4_1=t,this.c4_1=0}function un(){}function cn(){var t=(null==h&&new hn,h);return gh(t,Ru)?t:Tc()}function hn(){h=this,this.j4_1=new Lc(-888910638,1920087921)}function pn(t,e){return function(t,e){for(var n=e.e();n.f();){var r=n.g(),i=r.m4(),o=r.n4();t.b(i,o)}}(e,t),e}function fn(t){var e;if(0===t.h())e=cn();else e=t;return e}function dn(t,e){for(var n=e,r=0,i=n.length;r<i;){var o=n[r];r=r+1|0;var a=o.m4(),s=o.n4();t.b(a,s)}}function mn(t){var e=us(t.length);return dn(e,t),e}function vn(t,e){if(gh(e,Du))return t.r(e);for(var n=!1,r=e.e();r.f();){var i=r.g();t.a(i)&&(n=!0)}return n}function gn(t,e,n){for(var r=!1,i=t.e();i.f();)e(i.g())===n&&(i.a5(),r=!0);return ma(),r}function yn(){}function _n(){}function bn(){}function xn(){}function wn(){}function An(t){switch(t.i5_1){case 4:return yp();case 5:return mp(\\\"Iterator has failed.\\\");default:return mp(\\\"Unexpected state of the iterator: \\\"+t.i5_1)}}function Cn(){wn.call(this),this.i5_1=0,this.j5_1=null,this.k5_1=null,this.l5_1=null}function Mn(t){this.q5_1=t}function En(t,e){this.r5_1=t,this.s5_1=e}function Tn(t){var e=t.u5_1;for(!1===(null==e?null:e.f())&&(t.u5_1=null);null==t.u5_1;){if(!t.t5_1.f())return!1;var n=t.t5_1.g(),r=t.v5_1.y5_1(t.v5_1.x5_1(n));if(r.f())return t.u5_1=r,!0}return!0}function Sn(t){this.v5_1=t,this.t5_1=t.w5_1.e(),this.u5_1=null}function kn(t,e,n){this.w5_1=t,this.x5_1=e,this.y5_1=n}function On(t){this.a6_1=t,this.z5_1=t.b6_1.e()}function In(t,e){this.b6_1=t,this.c6_1=e}function Ln(t){for(;t.d6_1.f();){var e=t.d6_1.g();if(t.g6_1.j6_1(e)===t.g6_1.i6_1)return t.f6_1=e,t.e6_1=1,ma()}t.e6_1=0}function Pn(t){this.g6_1=t,this.d6_1=t.h6_1.e(),this.e6_1=-1,this.f6_1=null}function zn(t,e,n){this.h6_1=t,this.i6_1=e,this.j6_1=n}function Rn(t,e){Me.call(this),this.m6_1=t,this.n6_1=e,this.o6_1=hs()}function Dn(t){t.q6_1=-2===t.r6_1?t.s6_1.t6_1():t.s6_1.u6_1(Mc(t.q6_1)),t.r6_1=null==t.q6_1?0:1}function $n(t){this.s6_1=t,this.q6_1=null,this.r6_1=-2}function Bn(t,e){this.t6_1=t,this.u6_1=e}function Nn(){}function Fn(t){this.v6_1=t.y6_1,this.w6_1=t.x6_1.e()}function jn(t,e){if(this.x6_1=t,this.y6_1=e,!(this.y6_1>=0))throw up(yc(\\\"count must be non-negative, but was \\\"+this.y6_1+\\\".\\\"))}function Un(){p=this}function qn(){return null==p&&new Un,p}function Vn(t){this.z6_1=t}function Hn(){return Wn()}function Gn(){f=this,this.b7_1=new Lc(1993859828,793161749)}function Wn(){return null==f&&new Gn,f}function Xn(){d=this}function Yn(t){this.d7_1=t}function Zn(){}function Kn(){m=this}function Jn(){return null==m&&new Kn,m}function Qn(){}function tr(){}function er(){}function nr(t,e){var n,r=t.l7(e.u2());if(r===or())n=e;else{var i,o=r.g7(Jn());if(null==o)i=new ur(r,e);else{var a=r.l7(Jn());i=a===or()?new ur(e,o):new ur(new ur(a,e),o)}n=i}return n}function rr(){}function ir(){v=this,this.o7_1=new Lc(0,0)}function or(){return null==v&&new ir,v}function ar(t){for(var e=t,n=2;;){var r=e.p7_1,i=r instanceof ur?r:null;if(null==i)return n;e=i,n=n+1|0}}function sr(t,e){return _c(t.g7(e.u2()),e)}function lr(t,e){return 0===uc(t)?yc(e):t+\\\", \\\"+e}function ur(t,e){this.p7_1=t,this.q7_1=e}function cr(t,e){var n;this.h7_1=e,n=t instanceof cr?t.i7_1:t,this.i7_1=n}function hr(t){this.r7_1=t}function pr(){return function(){if(y)return ma();y=!0,g=new fr(\\\"COROUTINE_SUSPENDED\\\",0),new fr(\\\"UNDECIDED\\\",1),new fr(\\\"RESUMED\\\",2)}(),g}function fr(t,e){Vu.call(this,t,e)}function dr(t,e,n){var r;if(n>0)r=t>=e?e:e-mr(e,t,n)|0;else{if(!(n<0))throw up(\\\"Step is zero.\\\");r=t<=e?e:e+mr(t,e,0|-n)|0}return r}function mr(t,e,n){return vr(vr(t,n)-vr(e,n)|0,n)}function vr(t,e){var n=t%e|0;return n>=0?n:n+e|0}function gr(){}function yr(){}function _r(){_=this,this.z_1=new xr(1,0)}function br(){return null==_&&new _r,_}function xr(t,e){br(),Sr.call(this,t,e,1)}function wr(){b=this,this.a8_1=new Ar(1,0)}function Ar(t,e){null==b&&new wr,Or.call(this,t,e,1)}function Cr(t,e,n){yn.call(this),this.k8_1=n,this.l8_1=e,this.m8_1=this.k8_1>0?t<=e:t>=e,this.n8_1=this.m8_1?t:this.l8_1}function Mr(t,e,n){var r,i;bn.call(this),this.o8_1=n,r=e,this.p8_1=r,this.q8_1=this.o8_1>0?Cu(t,e)<=0:Cu(t,e)>=0,i=this.q8_1?t:this.p8_1,this.r8_1=i}function Er(){x=this}function Tr(){return null==x&&new Er,x}function Sr(t,e,n){if(Tr(),0===n)throw up(\\\"Step must be non-zero.\\\");if(n===_a().a1_1)throw up(\\\"Step must be greater than Int.MIN_VALUE to avoid overflow on negation.\\\");this.e1_1=t,this.f1_1=dr(t,e,n),this.g1_1=n}function kr(){w=this}function Or(t,e,n){if(null==w&&new kr,0===n)throw up(\\\"Step must be non-zero.\\\");if(n===_a().a1_1)throw up(\\\"Step must be greater than Int.MIN_VALUE to avoid overflow on negation.\\\");this.f8_1=t;var r,i=t;r=e,this.g8_1=sh(dr(i,r,n)),this.h8_1=n}function Ir(){}function Lr(){}function Pr(){}function zr(t,e){this.s8_1=t,this.t8_1=e}function Rr(){}function Dr(){}function $r(){A=this,this.x8_1=new Nr(null,null)}function Br(){return null==A&&new $r,A}function Nr(t,e){if(Br(),this.z8_1=t,this.a9_1=e,null==this.z8_1!=(null==this.a9_1))throw up(yc(null==this.z8_1?\\\"Star projection must have no type specified.\\\":\\\"The projection variance \\\"+this.z8_1+\\\" requires type to be specified.\\\"))}function Fr(t,e){Vu.call(this,t,e)}function jr(t,e,n){null!=n?t.c(n(e)):null==e||Sh(e)?t.c(e):e instanceof Ou?t.d9(e.q1_1):t.c(Hu(e))}function Ur(t,e,n){if(_c(new Ou(t),new Ou(e)))return!0;if(!n)return!1;var r=Rl(t),i=Rl(e);return!!_c(new Ou(r),new Ou(i))||_c(new Ou(sc(Tu(r).toLowerCase(),0)),new Ou(sc(Tu(i).toLowerCase(),0)))}function qr(t){var e;t:{var n=0,r=uc(t)-1|0;if(n<=r)do{var i=n;if(n=n+1|0,!Dl(sc(t,i))){e=i;break t}}while(n<=r);e=-1}var o=e;return-1===o?t.length:o}function Vr(t){return t}function Hr(t){return Wr(t,10)}function Gr(t){return function(t,e){Nl(10);var n,r,i,o=t.length;if(0===o)return null;var a=sc(t,0);if(Cu(a,48)<0){if(1===o)return null;if(n=1,_c(new Ou(a),new Ou(45)))r=!0,Ic(),i=new Lc(0,-2147483648);else{if(!_c(new Ou(a),new Ou(43)))return null;r=!1,Ic(),i=new Lc(-1,2147483647).g9()}}else n=0,r=!1,Ic(),i=new Lc(-1,2147483647).g9();Ic();var s=new Lc(-1,2147483647).g9().h9(new Lc(36,0)),l=s,u=new Lc(0,0),c=n;if(c<o)do{var h=c;c=c+1|0;var p,f=ql(sc(t,h),10);if(f<0)return null;if(u.k1(l)<0){if(!l.equals(s))return null;if(l=i.h9(lh(10)),u.k1(l)<0)return null}p=u.i9(lh(10));var d,m=u=p;if(d=i.j9(lh(f)),m.k1(d)<0)return null;u=u.k9(lh(f))}while(c<o);return r?u:u.g9()}(t)}function Wr(t,e){Nl(e);var n,r,i,o=t.length;if(0===o)return null;var a=sc(t,0);if(Cu(a,48)<0){if(1===o)return null;if(n=1,_c(new Ou(a),new Ou(45)))r=!0,i=_a().a1_1;else{if(!_c(new Ou(a),new Ou(43)))return null;r=!1,i=0|-_a().b1_1}}else n=0,r=!1,i=0|-_a().b1_1;var s=(0|-_a().b1_1)/36|0,l=s,u=0,c=n;if(c<o)do{var h=c;c=c+1|0;var p=ql(sc(t,h),e);if(p<0)return null;if(u<l){if(l!==s)return null;if(u<(l=i/e|0))return null}if((u=Lt(u,e))<(i+p|0))return null;u=u-p|0}while(c<o);return r?u:0|-u}function Xr(t){throw Dp(\\\"Invalid number format: '\\\"+t+\\\"'\\\")}function Yr(t){return!su(t)}function Zr(t,e,n,r,i){return 0!=(2&r)&&(n=!1),function(t,e,n){return uc(t)>0&&Ur(sc(t,0),e,n)}(t,e,n)}function Kr(t,e,n,r,i,o){return 0!=(2&i)&&(n=0),0!=(4&i)&&(r=!1),function(t,e,n,r){var i;if(r||\\\"string\\\"!=typeof t)i=oi(t,Ju([e]),n,r);else{var o=t,a=Tu(e);i=o.indexOf(a,n)}return i}(t,e,n,r)}function Jr(t){return function(t,e,n,r,i,o){return function(t,e,n,r){return ve(function(t,e,n,r,i,o,a){return function(t,e,n,r,i){li(i);var o,a,s=Nh(e);return new hi(t,n,i,(o=s,a=r,function(t,e){var n=function(t,e,n,r,i){if(!r&&1===e.h()){var o,a=function(t){if(gh(t,Lu))return function(t){var e;switch(t.h()){case 0:throw bp(\\\"List is empty.\\\");case 1:e=t.j(0);break;default:throw up(\\\"List has more than one element.\\\")}return e}(t);var e=t.e();if(!e.f())throw bp(\\\"Collection is empty.\\\");var n=e.g();if(e.f())throw up(\\\"Collection has more than one element.\\\");return n}(e);return(o=ri(t,a,n,!1,4))<0?null:go(o,a)}var s=uh(he(n,0),uc(t));if(\\\"string\\\"==typeof t){var l=s.e1_1,u=s.f1_1,c=s.g1_1;if(c>0&&l<=u||c<0&&u<=l)do{var h,p=l;l=l+c|0;t:{for(var f=e.e();f.f();){var d=f.g();if(uu(d,0,t,p,d.length,r)){h=d;break t}}h=null}if(null!=h)return go(p,h)}while(p!==u)}else{var m=s.e1_1,v=s.f1_1,g=s.g1_1;if(g>0&&m<=v||g<0&&v<=m)do{var y,_=m;m=m+g|0;t:{for(var b=e.e();b.f();){var x=b.g();if(ai(x,0,t,_,x.length,r)){y=x;break t}}y=null}if(null!=y)return go(_,y)}while(_!==v)}return null}(t,o,e,a);return null==n?null:go(n.t_1,n.u_1.length)}))}(t,e,0,r,i)}(t,e,0,n,r),(i=t,function(t){return si(i,t)}));var i}(t,[\\\"\\\\r\\\\n\\\",\\\"\\\\n\\\",\\\"\\\\r\\\"],!1,0)}(t)}function Qr(t,e,n,r,i){return 0!=(2&r)&&(n=!1),function(t,e,n){return Kr(t,e,0,n,2)>=0}(t,e,n)}function ti(t,e,n){return yc(function(t,e,n){if(e<0)throw up(\\\"Desired length \\\"+e+\\\" is less than zero.\\\");if(e<=uc(t))return cc(t,0,uc(t));var r=Il(),i=1,o=e-uc(t)|0;if(i<=o)do{var a=i;i=i+1|0,r.d9(n)}while(a!==o);return r.c(t),r}(Sh(t)?t:Tc(),e,n))}function ei(t){return uc(t)-1|0}function ni(t,e,n,r){var i;return i=r||\\\"string\\\"!=typeof t?function(t,e,n,r,i,o,a,s){return ii(t,e,n,r,i,!1)}(t,e,n,uc(t),r):t.indexOf(e,n),i}function ri(t,e,n,r,i,o){return 0!=(2&i)&&(n=0),0!=(4&i)&&(r=!1),ni(t,e,n,r)}function ii(t,e,n,r,i,o){var a=o?de(fe(n,ei(t)),he(r,0)):uh(he(n,0),fe(r,uc(t)));if(\\\"string\\\"==typeof t&&\\\"string\\\"==typeof e){var s=a.e1_1,l=a.f1_1,u=a.g1_1;if(u>0&&s<=l||u<0&&l<=s)do{var c=s;if(s=s+u|0,uu(e,0,t,c,uc(e),i))return c}while(c!==l)}else{var h=a.e1_1,p=a.f1_1,f=a.g1_1;if(f>0&&h<=p||f<0&&p<=h)do{var d=h;if(h=h+f|0,ai(e,0,t,d,uc(e),i))return d}while(d!==p)}return-1}function oi(t,e,n,r){if(!r&&1===e.length&&\\\"string\\\"==typeof t){var i=function(t){var e;switch(t.length){case 0:throw bp(\\\"Array is empty.\\\");case 1:e=t[0];break;default:throw up(\\\"Array has more than one element.\\\")}return e}(e),o=t,a=Tu(i);return o.indexOf(a,n)}var s=he(n,0),l=ei(t);if(s<=l)do{var u=s;s=s+1|0;var c,h=sc(t,u);t:{for(var p=e,f=0,d=p.length;f<d;){var m=p[f];if(f=f+1|0,Ur(m,h,r)){c=!0;break t}}c=!1}if(c)return u}while(u!==l);return-1}function ai(t,e,n,r,i,o){if(r<0||e<0||e>(uc(t)-i|0)||r>(uc(n)-i|0))return!1;var a=0;if(a<i)do{var s=a;if(a=a+1|0,!Ur(sc(t,e+s|0),sc(n,r+s|0),o))return!1}while(a<i);return!0}function si(t,e){return yc(cc(t,e.x7(),e.y7()+1|0))}function li(t){if(!(t>=0))throw up(yc(\\\"Limit must be non-negative, but was \\\"+t))}function ui(t){if(t.u9_1<0)t.s9_1=0,t.v9_1=null;else{var e;if(t.x9_1.aa_1>0){var n=t;n.w9_1=n.w9_1+1|0,e=n.w9_1>=t.x9_1.aa_1}else e=!1;if(e||t.u9_1>uc(t.x9_1.y9_1))t.v9_1=uh(t.t9_1,ei(t.x9_1.y9_1)),t.u9_1=-1;else{var r=t.x9_1.ba_1(t.x9_1.y9_1,t.u9_1);if(null==r)t.v9_1=uh(t.t9_1,ei(t.x9_1.y9_1)),t.u9_1=-1;else{var i=r,o=i.m4(),a=i.n4();t.v9_1=ce(t.t9_1,o),t.t9_1=o+a|0,t.u9_1=t.t9_1+(0===a?1:0)|0}}t.s9_1=1}}function ci(t){this.x9_1=t,this.s9_1=-1,this.t9_1=function(t,e,n){if(0>n)throw up(\\\"Cannot coerce value to an empty range: maximum \\\"+n+\\\" is less than minimum 0.\\\");return t<0?0:t>n?n:t}(t.z9_1,0,uc(t.y9_1)),this.u9_1=this.t9_1,this.v9_1=null,this.w9_1=0}function hi(t,e,n,r){this.y9_1=t,this.z9_1=e,this.aa_1=n,this.ba_1=r}function pi(t,e,n,r,i,o){return 0!=(2&i)&&(n=ei(t)),0!=(4&i)&&(r=!1),function(t,e,n,r){return r||\\\"string\\\"!=typeof t?ii(t,e,n,0,r,!0):t.lastIndexOf(e,n)}(t,e,n,r)}function fi(t,e){return!!(0<=e&&e<=(uc(t)-2|0)&&Bl(sc(t,e)))&&$l(sc(t,e+1|0))}function di(t){this.da_1=t,bn.call(this),this.ca_1=0}function mi(){}function vi(){}function gi(){}function yi(t){if(bi(t)){var e=new Lc(387905,-1073741824),n=new Lc(-387905,1073741823),r=_i(t);if(!(e.k1(r)<=0&&r.k1(n)<=0))throw Ip(yc(_i(t))+\\\" ns is out of nanoseconds range\\\")}else{var i=new Lc(1,-1073741824),o=new Lc(-1,1073741823),a=_i(t);if(!(i.k1(a)<=0&&a.k1(o)<=0))throw Ip(yc(_i(t))+\\\" ms is out of milliseconds range\\\");var s=new Lc(1108857478,-1074),l=new Lc(-1108857478,1073),u=_i(t);if(s.k1(u)<=0&&u.k1(l)<=0)throw Ip(yc(_i(t))+\\\" ms is denormalized\\\")}return t}function _i(t){return t.ha(1)}function bi(t){return 0==(1&t.ia())}function xi(t){return 1==(1&t.ia())}function wi(){E=this,this.ja_1=yi(new Lc(0,0)),this.ka_1=Ni(new Lc(-1,1073741823)),this.la_1=Ni(new Lc(1,-1073741824))}function Ai(){return null==E&&new wi,E}function Ci(t){var e,n=_i(t).g9();return e=1&t.ia(),yi(n.wa(1).j9(lh(e)))}function Mi(t,e){if(Si(t)){if(ki(e)||t.oa(e).k1(new Lc(0,0))>=0)return t;throw up(\\\"Summing infinite durations of different signs yields an undefined result.\\\")}if(Si(e))return e;var n,r,i;if((1&t.ia())==(1&e.ia())){var o=_i(t).j9(_i(e));n=bi(t)?(r=o,i=new Lc(387905,-1073741824),r.k1(new Lc(-387905,1073741823))<=0&&i.k1(r)<=0?Gi(r):Ni(Vi(r))):qi(o)}else n=xi(t)?Ei(0,_i(t),_i(e)):Ei(0,_i(e),_i(t));return n}function Ei(t,e,n){var r,i=Vi(n),o=e.j9(i),a=new Lc(1108857478,-1074);if(o.k1(new Lc(-1108857478,1073))<=0&&a.k1(o)<=0){var s=n.k9(Hi(i));r=Gi(Hi(o).j9(s))}else r=Ni(pe(o,new Lc(1,-1073741824),new Lc(-1,1073741823)));return r}function Ti(t){return t.k1(new Lc(0,0))<0}function Si(t){return!!t.equals(Ai().ka_1)||t.equals(Ai().la_1)}function ki(t){return!Si(t)}function Oi(t){return Ti(t)?Ci(t):t}function Ii(t,e){var n=t.oa(e);if(n.k1(new Lc(0,0))<0||0==(1&n.ia()))return t.k1(e);var r=(1&t.ia())-(1&e.ia())|0;return Ti(t)?0|-r:r}function Li(t){var e;if(Si(t))e=0;else{var n=function(t){return Ri(t,xu())}(t);e=n.qa(new Lc(60,0)).ia()}return e}function Pi(t){var e;if(Si(t))e=0;else{var n=function(t){return Ri(t,bu())}(t);e=n.qa(new Lc(60,0)).ia()}return e}function zi(t){return Si(t)?0:xi(t)?Hi(_i(t).qa(new Lc(1e3,0))).ia():_i(t).qa(new Lc(1e9,0)).ia()}function Ri(t,e){var n,r=t;return r.equals(Ai().ka_1)?(Ic(),n=new Lc(-1,2147483647)):r.equals(Ai().la_1)?(Ic(),n=new Lc(0,-2147483648)):n=vu(_i(t),function(t){return bi(t)?yu():_u()}(t),e),n}function Di(t){return Ri(t,wu())}function $i(t,e,n,r,i,o,a){if(t.ra(n),0!==r){t.d9(46);var s,l=ti(r.toString(),i,48);t:{var u=uc(l)-1|0;if(0<=u)do{var c=u;if(u=u+-1|0,!_c(new Ou(sc(l,c)),new Ou(48))){s=c;break t}}while(0<=u);s=-1}var h=s+1|0;!a&&h<3?t.ta(l,0,h):t.ta(l,0,Lt((h+2|0)/3|0,3))}t.f9(o)}function Bi(t){Ai(),this.pa_1=t}function Ni(t){return yi(t.wa(1).j9(new Lc(1,0)))}function Fi(t,e){return e.d2(bu())<=0?Gi(gu(lh(t),e,yu())):ji(lh(t),e)}function ji(t,e){var n=gu(new Lc(-387905,1073741823),yu(),e);return n.g9().k1(t)<=0&&t.k1(n)<=0?Gi(gu(t,e,yu())):Ni(pe(vu(t,e,_u()),new Lc(1,-1073741824),new Lc(-1,1073741823)))}function Ui(t,e){var n=mu(t,e,yu());if(Fs(n))throw up(yc(\\\"Duration value cannot be NaN.\\\"));var r=Ns(n),i=new Lc(387905,-1073741824);return r.k1(new Lc(-387905,1073741823))<=0&&i.k1(r)<=0?Gi(r):qi(Ns(mu(t,e,_u())))}function qi(t){var e=new Lc(1108857478,-1074);return t.k1(new Lc(-1108857478,1073))<=0&&e.k1(t)<=0?Gi(Hi(t)):Ni(pe(t,new Lc(1,-1073741824),new Lc(-1,1073741823)))}function Vi(t){return t.h9(lh(1e6))}function Hi(t){return t.i9(lh(1e6))}function Gi(t){return yi(t.wa(1))}function Wi(t){var e,n,r=t.length,i=0;if(r>0&&Qr(\\\"+-\\\",sc(t,0),!1,2)&&(i=i+1|0),(r-i|0)>16){var o;t:{var a=uh(i,ei(t));if(gh(a,Du)&&a.i())o=!0;else{var s=a.e1_1,l=a.f1_1;if(s<=l)do{var u=s;s=s+1|0;var c=sc(t,u);if(!(48<=c&&c<=57)){o=!1;break t}}while(u!==l);o=!0}}e=o}else e=!1;return e?(_c(new Ou(sc(t,0)),new Ou(45))?(Ic(),n=new Lc(0,-2147483648)):(Ic(),n=new Lc(-1,2147483647)),n):lu(t,\\\"+\\\",!1,2)?Ul(we(t,1)):Ul(t)}function Xi(t,e){var n;if(e){var r,i=t;if(_c(new Ou(i),new Ou(72)))r=wu();else if(_c(new Ou(i),new Ou(77)))r=xu();else{if(!_c(new Ou(i),new Ou(83)))throw up(\\\"Invalid duration ISO time unit: \\\"+new Ou(t));r=bu()}n=r}else{if(!_c(new Ou(t),new Ou(68)))throw up(\\\"Invalid or unsupported duration ISO non-time unit: \\\"+new Ou(t));n=Au()}return n}function Yi(){return Qi(),T}function Zi(){}function Ki(t){this.ya_1=t}function Ji(t,e){Zi.call(this),this.za_1=function(t,e){if(\\\"function\\\"==typeof t)return 2===t.$arity;if(\\\"object\\\"==typeof t&&Gp(\\\"$metadata$\\\",t.constructor)){var n=t.constructor.$metadata$,r=null==n?null:n.suspendArity;if(null!=r){var i=!1,o=Xu(r);t:for(;o.f();)if(2===o.g()){i=!0;break t}return i}return null,!1}return!1}(t)?t:Tc(),this.ab_1=e,this.bb_1=gh(this,Zn)?this:Tc(),this.cb_1=Yi()}function Qi(){if(S);else{S=!0,uo();var t=pr();T=t}}function to(){}function eo(){if(I)return ma();I=!0,new no(\\\"SYNCHRONIZED\\\",0),k=new no(\\\"PUBLICATION\\\",1),O=new no(\\\"NONE\\\",2)}function no(t,e){Vu.call(this,t,e)}function ro(t){this.gb_1=t,this.hb_1=oo()}function io(){L=this}function oo(){return null==L&&new io,L}function ao(t){return t instanceof co}function so(t){return t instanceof co?t.jb_1:null}function lo(){P=this}function uo(){return null==P&&new lo,P}function co(t){this.jb_1=t}function ho(t){uo(),this.mb_1=t}function po(t){return new co(t)}function fo(t){if(t instanceof co)throw t.jb_1}function mo(t){op(t,this),wc(this,mo)}function vo(t,e){this.t_1=t,this.u_1=e}function go(t,e){return new vo(t,e)}function yo(t,e,n){this.pb_1=t,this.qb_1=e,this.rb_1=n}function _o(){z=this,this.sb_1=0,this.tb_1=-1,this.ub_1=1,this.vb_1=8}function bo(){return null==z&&new _o,z}function xo(t,e){return dc(255&t,255&e)}function wo(t){return(255&t).toString()}function Ao(t){bo(),this.wb_1=t}function Co(t){return t.length}function Mo(t){this.yb_1=t,this.zb_1=0}function Eo(t,e){var n;t:{var r=gh(e,Du)?e:Tc();if(gh(r,Du)&&r.i())n=!0;else{for(var i=r.e();i.f();){var o=i.g();if(!(o instanceof Ao&&Vt(t,o.wb_1))){n=!1;break t}}n=!0}}return n}function To(t){this.bc_1=t}function So(){R=this,this.dc_1=0,this.ec_1=-1,this.fc_1=4,this.gc_1=32}function ko(){return null==R&&new So,R}function Oo(t,e){return ra(t,e)}function Io(t){return lh(t).ic(new Lc(-1,0)).toString()}function Lo(t){ko(),this.hc_1=t}function Po(t){return t.length}function zo(t){this.kc_1=t,this.lc_1=0}function Ro(t,e){var n;t:{var r=gh(e,Du)?e:Tc();if(gh(r,Du)&&r.i())n=!0;else{for(var i=r.e();i.f();){var o=i.g();if(!(o instanceof Lo&&Ut(t,o.hc_1))){n=!1;break t}}n=!0}}return n}function Do(t){this.nc_1=t}function $o(){D=this,this.pc_1=new Lc(0,0),this.qc_1=new Lc(-1,-1),this.rc_1=8,this.sc_1=64}function Bo(){return null==D&&new $o,D}function No(t,e){return ia(t,e)}function Fo(t){return function(t,e){if(t.k1(new Lc(0,0))>=0)return Zp(t,e);var n,r=t.ld(1).h9(lh(e)).wa(1);n=r.i9(lh(e));var i=t.k9(n);return i.k1(lh(e))>=0&&(i=i.k9(lh(e)),r=r.j9(new Lc(1,0))),Zp(r,e)+Zp(i,e)}(t,10)}function jo(t){Bo(),this.tc_1=t}function Uo(t){return t.length}function qo(t){this.vc_1=t,this.wc_1=0}function Vo(t,e){var n;t:{var r=gh(e,Du)?e:Tc();if(gh(r,Du)&&r.i())n=!0;else{for(var i=r.e();i.f();){var o=i.g();if(!(o instanceof jo&&jt(t,o.tc_1))){n=!1;break t}}n=!0}}return n}function Ho(t){this.yc_1=t}function Go(){$=this,this.ad_1=0,this.bd_1=-1,this.cd_1=2,this.dd_1=16}function Wo(){return null==$&&new Go,$}function Xo(t,e){return dc(65535&t,65535&e)}function Yo(t){return(65535&t).toString()}function Zo(t){Wo(),this.ed_1=t}function Ko(t){return t.length}function Jo(t){this.gd_1=t,this.hd_1=0}function Qo(t,e){var n;t:{var r=gh(e,Du)?e:Tc();if(gh(r,Du)&&r.i())n=!0;else{for(var i=r.e();i.f();){var o=i.g();if(!(o instanceof Zo&&qt(t,o.ed_1))){n=!1;break t}}n=!0}}return n}function ta(t){this.jd_1=t}function ea(t){return function(t,e){Nl(10);var n=t.length;if(0===n)return null;Bo();var r,i=new Lc(-1,-1),o=sc(t,0);if(Cu(o,48)<0){if(1===n||!_c(new Ou(o),new Ou(43)))return null;r=1}else r=0;var a=new Lc(477218588,119304647),s=a,l=lh(10),u=new Lc(0,0),c=r;if(c<n)do{var h=c;c=c+1|0;var p,f=ql(sc(t,h),10);if(f<0)return null;if(ia(u,s)>0){if(!_c(s,a))return null;if(ia(u,s=oa(i,l))>0)return null}p=u.i9(l);var d=u=p,m=u,v=lh(f).ic(new Lc(-1,0));if(ia(u=m.j9(v),d)<0)return null}while(c<n);return u}(t)}function na(t,e){Nl(e);var n=t.length;if(0===n)return null;ko();var r,i=sc(t,0);if(Cu(i,48)<0){if(1===n||!_c(new Ou(i),new Ou(43)))return null;r=1}else r=0;var o,a,s,l=119304647,u=l,c=e,h=0,p=r;if(p<n)do{var f=p;p=p+1|0;var d=ql(sc(t,f),e);if(d<0)return null;if(ra(h,u)>0){if(u!==l)return null;if(ra(h,(o=c,a=void 0,s=void 0,s=lh(-1).ic(new Lc(-1,0)),a=lh(o).ic(new Lc(-1,0)),u=s.h9(a).ia()))>0)return null}var m=h=Lt(h,c);if(ra(h=h+d|0,m)<0)return null}while(p<n);return h}function ra(t,e){return dc(t^_a().a1_1,e^_a().a1_1)}function ia(t,e){Ic();var n=t.oa(new Lc(0,-2147483648));return Ic(),n.k1(e.oa(new Lc(0,-2147483648)))}function oa(t,e){var n=t,r=e;if(r.k1(new Lc(0,0))<0)return new Lc(ia(t,e)<0?0:1,0);if(n.k1(new Lc(0,0))>=0)return n.h9(r);var i=n.ld(1).h9(r).wa(1),o=ia(n.k9(i.i9(r)),r)>=0?1:0;return i.j9(lh(o))}function aa(){}function sa(){}function la(){}function ua(){}function ca(){}function ha(){}function pa(){}function fa(){}function da(){B=this}function ma(){return null==B&&new da,B}function va(){N=this,this.rd_1=-128,this.sd_1=127,this.td_1=1,this.ud_1=8}function ga(){F=this,this.zd_1=-32768,this.ae_1=32767,this.be_1=2,this.ce_1=16}function ya(){j=this,this.a1_1=-2147483648,this.b1_1=2147483647,this.c1_1=4,this.d1_1=32}function _a(){return null==j&&new ya,j}function ba(){U=this,this.de_1=14e-46,this.ee_1=34028235e31,this.fe_1=1/0,this.ge_1=-1/0,this.he_1=NaN,this.ie_1=4,this.je_1=32}function xa(){return null==U&&new ba,U}function wa(){q=this,this.ne_1=5e-324,this.oe_1=17976931348623157e292,this.pe_1=1/0,this.qe_1=-1/0,this.re_1=NaN,this.se_1=8,this.te_1=64}function Aa(){return null==q&&new wa,q}function Ca(){V=this}function Ma(){H=this}function Ea(){}function Ta(t){return 0===(e=[t]).length?Ya():Ka(new Je(e,!0));var e}function Sa(t){return mn([t])}function ka(t){return Wt(e=[t],ps(e.length));var e}function Oa(t){return void 0!==t.toArray?t.toArray():Ia(t)}function Ia(t){for(var e=[],n=t.e();n.f();)e.push(n.g());return e}function La(t,e){za(t,e)}function Pa(t){return t<0&&function(){throw Bp(\\\"Index overflow has happened.\\\")}(),t}function za(t,e){if(t.h()<=1)return ma();var n=Oa(t);ts(n,e);var r=0,i=n.length;if(r<i)do{var o=r;r=r+1|0,t.y4(o,n[o])}while(r<i)}function Ra(t){return t<0&&function(){throw Bp(\\\"Count overflow has happened.\\\")}(),t}function Da(){Ce.call(this)}function $a(t){this.xe_1=t,this.ve_1=0,this.we_1=-1}function Ba(t,e){this.cf_1=t,$a.call(this,t),Re().p2(e,this.cf_1.h()),this.ve_1=e}function Na(t,e,n){Fa.call(this),this.ef_1=t,this.ff_1=e,this.gf_1=0,Re().h2(this.ff_1,n,this.ef_1.h()),this.gf_1=n-this.ff_1|0}function Fa(){Da.call(this),this.ye_1=0}function ja(t){this.lf_1=t}function Ua(t){this.mf_1=t}function qa(t,e){this.nf_1=t,this.of_1=e}function Va(){Xa.call(this)}function Ha(t){this.rf_1=t,Xa.call(this)}function Ga(t){this.tf_1=t,Da.call(this)}function Wa(){He.call(this),this.g4_1=null,this.h4_1=null}function Xa(){Da.call(this)}function Ya(){return t=Object.create(Qa.prototype),e=[],Qa.call(t,e),t;var t,e}function Za(t){return e=Object.create(Qa.prototype),n=[],Qa.call(e,n),e;var e,n}function Ka(t){return function(t,e){var n;return n=Oa(t),Qa.call(e,n),e}(t,Object.create(Qa.prototype))}function Ja(t,e){return Re().i2(e,t.h()),e}function Qa(t){Fa.call(this),this.p_1=t,this.q_1=!1}function ts(t,e){if(function(){if(null!=G)return G;G=!1;var t=[],e=0;if(e<600)do{var n=e;e=e+1|0,t.push(n)}while(e<600);var r=ns;t.sort(r);var i=1,o=t.length;if(i<o)do{var a=i;i=i+1|0;var s=t[a-1|0],l=t[a];if((3&s)==(3&l)&&s>=l)return!1}while(i<o);return G=!0,!0}()){var n=(r=e,function(t,e){return r.compare(t,e)});t.sort(n)}else!function(t,e,n,r){var i=t.length,o=es(t,Wu(Array(i),null),0,n,r);if(o!==t){var a=0;if(a<=n)do{var s=a;a=a+1|0,t[s]=o[s]}while(s!==n)}}(t,0,Xt(t),e);var r}function es(t,e,n,r,i){if(n===r)return t;var o=(n+r|0)/2|0,a=es(t,e,n,o,i),s=es(t,e,o+1|0,r,i),l=a===e?t:e,u=n,c=o+1|0,h=n;if(h<=r)do{var p=h;if(h=h+1|0,u<=o&&c<=r){var f=a[u],d=s[c];i.compare(f,d)<=0?(l[p]=f,u=u+1|0):(l[p]=d,c=c+1|0)}else u<=o?(l[p]=a[u],u=u+1|0):(l[p]=s[c],c=c+1|0)}while(p!==r);return l}function ns(t,e){return(3&t)-(3&e)|0}function rs(){W=this}function is(){}function os(t){this.ag_1=t,Va.call(this)}function as(t){return function(t,e){Wa.call(e),cs.call(e),e.gg_1=t,e.hg_1=t.jg()}(new _s((null==W&&new rs,W)),t),t}function ss(){return as(Object.create(cs.prototype))}function ls(t,e,n){if(as(n),!(t>=0))throw up(yc(\\\"Negative initial capacity: \\\"+t));if(!(e>=0))throw up(yc(\\\"Non-positive load factor: \\\"+e));return n}function us(t){return function(t,e){return ls(t,0,e),e}(t,Object.create(cs.prototype))}function cs(){this.ig_1=null}function hs(){return t=Object.create(ds.prototype),Xa.call(t),ds.call(t),t.p6_1=ss(),t;var t}function ps(t){return function(t,e){return function(t,e,n){Xa.call(n),ds.call(n),n.p6_1=function(t,e){return ls(t,e,Object.create(cs.prototype))}(t,e)}(t,0,e),e}(t,Object.create(ds.prototype))}function fs(t,e){return Xa.call(e),ds.call(e),e.p6_1=t,e}function ds(){}function ms(t,e){var n=gs(t,t.tg_1.zf(e));if(null==n)return null;var r=n;if(null!=r&&Ch(r))return vs(r,t,e);var i=r;return t.tg_1.yf(i.u2(),e)?i:null}function vs(t,e,n){var r;t:{for(var i=t,o=0,a=i.length;o<a;){var s=i[o];if(o=o+1|0,e.tg_1.yf(s.u2(),n)){r=s;break t}}r=null}return r}function gs(t,e){var n=t.ug_1[e];return void 0===n?null:n}function ys(t){this.sg_1=t,this.lg_1=-1,this.mg_1=Object.keys(t.ug_1),this.ng_1=-1,this.og_1=null,this.pg_1=!1,this.qg_1=-1,this.rg_1=null}function _s(t){this.tg_1=t,this.ug_1=this.wg(),this.vg_1=0}function bs(){}function xs(t){this.zg_1=t,this.xg_1=null,this.yg_1=null,this.yg_1=this.zg_1.ah_1.v4_1}function ws(t,e,n){this.fh_1=t,qa.call(this,e,n),this.dh_1=null,this.eh_1=null}function As(t){this.ah_1=t,Va.call(this)}function Cs(t,e){t.dh_1===t?e.v4_1=null:(e.v4_1===t&&(e.v4_1=t.dh_1),Mc(t.dh_1).eh_1=t.eh_1,Mc(t.eh_1).dh_1=t.dh_1),t.dh_1=null,t.eh_1=null}function Ms(){return as(t=Object.create(ks.prototype)),ks.call(t),t.w4_1=ss(),t;var t}function Es(t,e,n){return ls(t,e,n),ks.call(n),n.w4_1=ss(),n}function Ts(t){return function(t,e){return Es(t,0,e),e}(t,Object.create(ks.prototype))}function Ss(t){return function(t,e){return as(e),ks.call(e),e.w4_1=ss(),e.i4(t),e}(t,Object.create(ks.prototype))}function ks(){this.v4_1=null,this.x4_1=!1}function Os(){return t=Object.create(Ps.prototype),fs(Ms(),t),Ps.call(t),t;var t}function Is(t){return function(t,e){return fs(Ms(),e),Ps.call(e),e.r(t),e}(t,Object.create(Ps.prototype))}function Ls(t){return function(t,e){return function(t,e,n){fs(function(t,e){return Es(t,e,Object.create(ks.prototype))}(t,e),n),Ps.call(n)}(t,0,e),e}(t,Object.create(Ps.prototype))}function Ps(){}function zs(){}function Rs(t,e,n){return vp(t,e,n),Ds.call(n),n}function Ds(){wc(this,Ds)}function $s(t){this.gh_1=t,De.call(this)}function Bs(){}function Ns(t){var e;if(Fs(t))throw up(\\\"Cannot round NaN value.\\\");return Ic(),t>new Lc(-1,2147483647).pd()?(Ic(),e=new Lc(-1,2147483647)):(Ic(),t<new Lc(0,-2147483648).pd()?(Ic(),e=new Lc(0,-2147483648)):e=ah(Math.round(t))),e}function Fs(t){return!(t==t)}function js(t){return _a(),32-zt(~(0|t|-t))|0}function Us(t){return(t instanceof Hs?t:Tc()).ih()}function qs(){}function Vs(){}function Hs(t){this.hh_1=t}function Gs(t,e,n){Hs.call(this,t),this.kh_1=e,this.lh_1=n}function Ws(){X=this,Hs.call(this,Object),this.nh_1=\\\"Nothing\\\"}function Xs(){return null==X&&new Ws,X}function Ys(){}function Zs(t){Hs.call(this,t);var e,n=t.$metadata$;e=null==n?null:n.simpleName,this.ph_1=e}function Ks(){}function Js(){}function Qs(){}function tl(){}function el(){}function nl(){}function rl(){}function il(t,e,n){this.th_1=t,this.uh_1=e,this.vh_1=n}function ol(){return K||(K=!0,t=Wu(Array(0),null),Y=t),Y;var t}function al(t){return Mh(t)}function sl(t){return Eh(t)}function ll(t){return null!=t&&\\\"boolean\\\"==typeof t}function ul(t){return null!=t&&\\\"number\\\"==typeof t}function cl(t){return null!=t&&\\\"number\\\"==typeof t}function hl(t){return null!=t&&\\\"number\\\"==typeof t}function pl(t){return null!=t&&\\\"number\\\"==typeof t}function fl(t){return null!=t&&\\\"number\\\"==typeof t}function dl(t){return null!=t&&Ch(t)}function ml(t){return null!=t&&\\\"string\\\"==typeof t}function vl(t){return t instanceof Error}function gl(t){return null!=t&&kh(t)}function yl(t){return null!=t&&Lh(t)}function _l(t){return null!=t&&Oh(t)}function bl(t){return null!=t&&Ih(t)}function xl(t){return null!=t&&Ph(t)}function wl(t){return null!=t&&Rh(t)}function Al(t){return null!=t&&zh(t)}function Cl(t){return null!=t&&Dh(t)}function Ml(){Z=this;var t=Object;this.wh_1=new Gs(t,\\\"Any\\\",al);var e=Number;this.xh_1=new Gs(e,\\\"Number\\\",sl),this.yh_1=Xs();var n=Boolean;this.zh_1=new Gs(n,\\\"Boolean\\\",ll);var r=Number;this.ai_1=new Gs(r,\\\"Byte\\\",ul);var i=Number;this.bi_1=new Gs(i,\\\"Short\\\",cl);var o=Number;this.ci_1=new Gs(o,\\\"Int\\\",hl);var a=Number;this.di_1=new Gs(a,\\\"Float\\\",pl);var s=Number;this.ei_1=new Gs(s,\\\"Double\\\",fl);var l=Array;this.fi_1=new Gs(l,\\\"Array\\\",dl);var u=String;this.gi_1=new Gs(u,\\\"String\\\",ml);var c=Error;this.hi_1=new Gs(c,\\\"Throwable\\\",vl);var h=Array;this.ii_1=new Gs(h,\\\"BooleanArray\\\",gl);var p=Uint16Array;this.ji_1=new Gs(p,\\\"CharArray\\\",yl);var f=Int8Array;this.ki_1=new Gs(f,\\\"ByteArray\\\",_l);var d=Int16Array;this.li_1=new Gs(d,\\\"ShortArray\\\",bl);var m=Int32Array;this.mi_1=new Gs(m,\\\"IntArray\\\",xl);var v=Array;this.ni_1=new Gs(v,\\\"LongArray\\\",wl);var g=Float32Array;this.oi_1=new Gs(g,\\\"FloatArray\\\",Al);var y=Float64Array;this.pi_1=new Gs(y,\\\"DoubleArray\\\",Cl)}function El(){return null==Z&&new Ml,Z}function Tl(t){return Array.isArray(t)?function(t){var e;switch(t.length){case 1:e=Sl(t[0]);break;case 0:e=Xs();break;default:e=new Ys}return e}(t):Sl(t)}function Sl(t){if(t===String)return El().gi_1;var e,n=t.$metadata$;if(null!=n){var r;if(null==n.$kClass$){var i=new Zs(t);n.$kClass$=i,r=i}else r=n.$kClass$;e=r}else e=new Zs(t);return e}function kl(t){t.lastIndex=0}function Ol(){}function Il(t){return Ll(e=Object.create(zl.prototype)),e;var e}function Ll(t){return zl.call(t,\\\"\\\"),t}function Pl(){return Ll(Object.create(zl.prototype))}function zl(t){this.e9_1=void 0!==t?t:\\\"\\\"}function Rl(t){var e=Tu(t).toUpperCase();return e.length>1?t:sc(e,0)}function Dl(t){return function(t){return 9<=t&&t<=13||28<=t&&t<=32||160===t||t>4096&&(5760===t||8192<=t&&t<=8202||8232===t||8233===t||8239===t||8287===t||12288===t)}(t)}function $l(t){return ku(),ku(),t<=57343&&56320<=t}function Bl(t){return ku(),ku(),t<=56319&&55296<=t}function Nl(t){if(!(2<=t&&t<=36))throw up(\\\"radix \\\"+t+\\\" was not in valid range 2..36\\\");return t}function Fl(t){var e=+t;return(Fs(e)&&!Vl(t)||0===e&&su(t))&&Xr(t),e}function jl(t){var e,n=Hr(t);return null==n?Xr(t):e=n,e}function Ul(t){var e,n=Gr(t);return null==n?Xr(t):e=n,e}function ql(t,e){var n,r,i,o=Cu(t,48)>=0&&Cu(t,57)<=0?Mu(t,48):Cu(t,65)>=0&&Cu(t,90)<=0?Mu(t,65)+10|0:Cu(t,97)>=0&&Cu(t,122)<=0?Mu(t,97)+10|0:Cu(t,128)<0?-1:Cu(t,65313)>=0&&Cu(t,65338)<=0?Mu(t,65313)+10|0:Cu(t,65345)>=0&&Cu(t,65370)<=0?Mu(t,65345)+10|0:(n=t,r=Uh(Vh().zl_1,n),(i=n-Vh().zl_1[r]|0)<10?i:-1);return o>=e?-1:o}function Vl(t){switch(t.toLowerCase()){case\\\"nan\\\":case\\\"+nan\\\":case\\\"-nan\\\":return!0;default:return!1}}function Hl(){J=this,this.nj_1=new RegExp(\\\"[\\\\\\\\\\\\\\\\^$*+?.()|[\\\\\\\\]{}]\\\",\\\"g\\\"),this.oj_1=new RegExp(\\\"[\\\\\\\\\\\\\\\\$]\\\",\\\"g\\\"),this.pj_1=new RegExp(\\\"\\\\\\\\$\\\",\\\"g\\\")}function Gl(){return null==J&&new Hl,J}function Wl(t){return t.g()}function Xl(t,e){Gl(),this.l9_1=t,this.m9_1=Qt(e),this.n9_1=new RegExp(t,Kt(e,\\\"\\\",\\\"gu\\\",null,0,null,eu,28)),this.o9_1=null,this.p9_1=null}function Yl(t,e,n){Vu.call(this,t,e),this.ck_1=n}function Zl(t){this.dk_1=t}function Kl(t,e,n,r){t.lastIndex=n;var i=t.exec(e);return null==i?null:new ru(uh(i.index,t.lastIndex-1|0),i,r,e)}function Jl(t,e){for(var n=e;n<t.length&&!_c(new Ou(sc(t,n)),new Ou(125));)n=n+1|0;return n}function Ql(t,e){var n=gh(t,gi)?t:null;if(null==n)throw kp(\\\"Retrieving groups by name is not supported on this platform.\\\");return n.ga(e)}function tu(t,e,n){var r=e+1|0,i=Mu(sc(t,e),48);t:for(;;){var o;if(r<t.length){var a=sc(t,r);o=48<=a&&a<=57}else o=!1;if(!o)break t;var s=Lt(i,10)+Mu(sc(t,r),48)|0;if(!(0<=s&&s<n))break t;i=s,r=r+1|0}return r}function eu(t){return t.ck_1}function nu(t,e){this.ek_1=t,this.fk_1=e,Ce.call(this)}function ru(t,e,n,r){this.jk_1=t,this.kk_1=e,this.lk_1=n,this.mk_1=r,this.gk_1=t,this.hk_1=new nu(e,this),this.ik_1=null}function iu(t){this.nk_1=t}function ou(t,e){return au(),function(t,e,n){au();var r=t.length,i=e.length,o=Math.min(r,i);if(0===o)return r-i|0;var a=0;if(a<o)do{var s=a;a=a+1|0;var l=sc(t,s),u=sc(e,s);if(!_c(new Ou(l),new Ou(u))&&(l=Rl(l),u=Rl(u),!_c(new Ou(l),new Ou(u))&&(l=sc(Tu(l).toLowerCase(),0),u=sc(Tu(u).toLowerCase(),0),!_c(new Ou(l),new Ou(u)))))return Cu(l,u)}while(a<o);return r-i|0}(t,e)}function au(){et||(et=!0,new iu(ou))}function su(t){var e;if(0===uc(t))e=!0;else{var n;t:{var r=function(t){return uh(0,uc(t)-1|0)}(t);if(gh(r,Du)&&r.i())n=!0;else{var i=r.e1_1,o=r.f1_1;if(i<=o)do{var a=i;if(i=i+1|0,!Dl(sc(t,a))){n=!1;break t}}while(a!==o);n=!0}}e=n}return e}function lu(t,e,n,r,i){return 0!=(2&r)&&(n=!1),function(t,e,n){return n?uu(t,0,e,0,e.length,n):t.startsWith(e,0)}(t,e,n)}function uu(t,e,n,r,i,o){return ai(t,e,n,r,i,o)}function cu(t,e,n,r){if(!hu(t,e,n,r))return ma();for(var i=t.cause;null!=i;){if(!hu(i,e,n,\\\"Caused by: \\\"))return ma();i=i.cause}}function hu(t,e,n,r){e.ok_1.f9(n).f9(r);var i=t.toString();if(function(t,e){var n;t:{for(var r=t.pk_1,i=0,o=r.length;i<o;){var a=r[i];if(i=i+1|0,a===e){n=!0;break t}}n=!1}return n}(e,t))return e.ok_1.f9(\\\"[CIRCULAR REFERENCE, SEE ABOVE: \\\").f9(i).f9(\\\"]\\\\n\\\"),!1;e.pk_1.push(t);var o=t.stack,a=null==o||\\\"string\\\"==typeof o?o:Tc();if(null!=a){var s=ri(a,i,0,!1,6),l=s<0?0:s+i.length|0;if(0===l&&e.ok_1.f9(i).f9(\\\"\\\\n\\\"),0===uc(e.qk_1)?(e.qk_1=a,e.rk_1=l):a=function(t,e,n){var r=0,i=0,o=0,a=0,s=t.qk_1.length-t.rk_1|0,l=e.length-n|0,u=Math.min(s,l);if(a<u)t:do{var c=a;a=a+1|0;var h=sc(e,ei(e)-c|0);if(!_c(new Ou(h),new Ou(sc(t.qk_1,ei(t.qk_1)-c|0))))break t;_c(new Ou(h),new Ou(10))&&(r=r+1|0,o=i,i=c)}while(a<u);if(r<=1)return e;for(;o>0&&_c(new Ou(sc(e,ei(e)-(o-1|0)|0)),new Ou(32));)o=o-1|0;return function(t,e){if(!(e>=0))throw up(yc(\\\"Requested character count \\\"+e+\\\" is less than zero.\\\"));return function(t,e){if(!(e>=0))throw up(yc(\\\"Requested character count \\\"+e+\\\" is less than zero.\\\"));var n=fe(e,t.length);return t.substring(0,n)}(t,he(t.length-e|0,0))}(e,o)+\\\"... and \\\"+(r-1|0)+\\\" more common stack frames skipped\\\"}(e,a,l),uc(n)>0){var u;if(0===l)u=0;else{for(var c=0,h=i,p=0,f=h.length;p<f;){var d=sc(h,p);p=p+1|0,_c(new Ou(d),new Ou(10))&&(c=c+1|0)}u=1+c|0}for(var m=u,v=0,g=Jr(a).e();g.f();){var y=g.g(),_=v;v=_+1|0,Pa(_)>=m&&e.ok_1.f9(n),e.ok_1.f9(y).f9(\\\"\\\\n\\\")}}else e.ok_1.f9(a).f9(\\\"\\\\n\\\")}else e.ok_1.f9(i).f9(\\\"\\\\n\\\");var b=function(t){var e=t._suppressed,n=null==e?null:e;return null==n?Ye():n}(t);if(!b.i())for(var x=n+\\\" \\\",w=b.e();w.f();)cu(w.g(),e,x,\\\"Suppressed: \\\");return!0}function pu(){var t;this.ok_1=Pl(),t=[],this.pk_1=t,this.qk_1=\\\"\\\",this.rk_1=0}function fu(){if(lt)return ma();lt=!0,nt=new du(\\\"NANOSECONDS\\\",0,1),new du(\\\"MICROSECONDS\\\",1,1e3),rt=new du(\\\"MILLISECONDS\\\",2,1e6),it=new du(\\\"SECONDS\\\",3,1e9),ot=new du(\\\"MINUTES\\\",4,6e10),at=new du(\\\"HOURS\\\",5,36e11),st=new du(\\\"DAYS\\\",6,864e11)}function du(t,e,n){Vu.call(this,t,e),this.vk_1=n}function mu(t,e,n){var r=dc(e.vk_1,n.vk_1);return r>0?t*(e.vk_1/n.vk_1):r<0?t/(n.vk_1/e.vk_1):t}function vu(t,e,n){var r,i=dc(e.vk_1,n.vk_1);if(i>0){var o,a=ah(e.vk_1/n.vk_1),s=t.i9(a);s.h9(a).equals(t)?o=s:t.k1(new Lc(0,0))>0?(Ic(),o=new Lc(-1,2147483647)):(Ic(),o=new Lc(0,-2147483648)),r=o}else r=i<0?t.h9(ah(n.vk_1/e.vk_1)):t;return r}function gu(t,e,n){var r=dc(e.vk_1,n.vk_1);return r>0?t.i9(ah(e.vk_1/n.vk_1)):r<0?t.h9(ah(n.vk_1/e.vk_1)):t}function yu(){return fu(),nt}function _u(){return fu(),rt}function bu(){return fu(),it}function xu(){return fu(),ot}function wu(){return fu(),at}function Au(){return fu(),st}function Cu(t,e){return t-e|0}function Mu(t,e){return t-e|0}function Eu(t){return t}function Tu(t){return String.fromCharCode(t)}function Su(){ut=this,this.wk_1=0,this.xk_1=65535,this.yk_1=55296,this.zk_1=56319,this.al_1=56320,this.bl_1=57343,this.cl_1=55296,this.dl_1=57343,this.el_1=2,this.fl_1=16}function ku(){return null==ut&&new Su,ut}function Ou(t){ku(),this.q1_1=t}function Iu(){}function Lu(){}function Pu(){}function zu(){}function Ru(){}function Du(){}function $u(){}function Bu(){}function Nu(){}function Fu(){}function ju(){}function Uu(){}function qu(){ct=this}function Vu(t,e){null==ct&&new qu,this.y1_1=t,this.z1_1=e}function Hu(t){var e=null==t?null:yc(t);return null==e?\\\"null\\\":e}function Gu(t,e){var n=null==t?null:yc(t),r=null==n?\\\"null\\\":n,i=null==e?null:yc(e);return r+(null==i?\\\"null\\\":i)}function Wu(t,e){var n=0,r=t.length-1|0;if(n<=r)do{var i=n;n=n+1|0,t[i]=e}while(i!==r);return t}function Xu(t){return new Qu(t)}function Yu(t){var e=Wu(Array(t),!1);return e.$type$=\\\"BooleanArray\\\",e}function Zu(t){var e=new Uint16Array(t);return e.$type$=\\\"CharArray\\\",e}function Ku(t){var e=Wu(Array(t),new Lc(0,0));return e.$type$=\\\"LongArray\\\",e}function Ju(t){var e=new Uint16Array(t);return e.$type$=\\\"CharArray\\\",e}function Qu(t){this.il_1=t,this.hl_1=0}function tc(t){this.kl_1=t,_n.call(this),this.jl_1=0}function ec(){return ac(),ht}function nc(){return ac(),pt}function rc(){return ac(),ft}function ic(){return ac(),dt}function oc(t){return ac(),Wp(t,0)===t?ih(t):(nc()[0]=t,Lt(rc()[(ac(),mt)],31)+rc()[ic()]|0)}function ac(){if(vt);else{vt=!0,ht=new ArrayBuffer(8);var t=new Float64Array(ec());pt=t;new Float32Array(ec());var e,n=new Int32Array(ec());ft=n,nc()[0]=-1,e=0!==rc()[0]?1:0,dt=e,mt=1-ic()|0}}function sc(t,e){var n;if(lc(t)){var r,i=t.charCodeAt(e);if(ku(),i<0?r=!0:(ku(),r=i>65535),r)throw up(\\\"Invalid Char code: \\\"+i);n=sh(i)}else n=t.nd(e);return n}function lc(t){return\\\"string\\\"==typeof t}function uc(t){return lc(t)?t.length:t.md()}function cc(t,e,n){return lc(t)?t.substring(e,n):t.od(e,n)}function hc(t,e){var n=t,r=e;if(n===r)return!0;if(null==n||null==r||!mh(r)||n.length!=r.length)return!1;var i=0,o=n.length;if(i<o)do{var a=i;if(i=i+1|0,!_c(n[a],r[a]))return!1}while(i<o);return!0}function pc(t){var e=t;if(null==e)return 0;var n=1,r=0,i=e.length;if(r<i)do{var o=r;r=r+1|0,n=Lt(n,31)+bc(e[o])|0}while(r<i);return n}function fc(t){return yc(t)}function dc(t,e){var n;switch(typeof t){case\\\"number\\\":n=\\\"number\\\"==typeof e?mc(t,e):e instanceof Lc?mc(t,e.pd()):vc(t,e);break;case\\\"string\\\":case\\\"boolean\\\":n=vc(t,e);break;default:n=function(t,e){return t.va(e)}(t,e)}return n}function mc(t,e){var n;if(t<e)n=-1;else if(t>e)n=1;else if(t===e){var r;if(0!==t)r=0;else{var i=1/t;r=i===1/e?0:i<0?-1:1}n=r}else n=t!=t?e!=e?0:1:-1;return n}function vc(t,e){return t<e?-1:t>e?1:0}function gc(t){if(!Gp(\\\"kotlinHashCodeValue$\\\",t)){var e=Wp(4294967296*Math.random(),0),n=new Object;n.value=e,n.enumerable=!1,Object.defineProperty(t,\\\"kotlinHashCodeValue$\\\",n)}return t.kotlinHashCodeValue$}function yc(t){return null==t?\\\"null\\\":mh(t)?\\\"[...]\\\":t.toString()}function _c(t,e){if(null==t)return null==e;if(null==e)return!1;if(\\\"object\\\"==typeof t&&\\\"function\\\"==typeof t.equals)return t.equals(e);if(t!=t)return e!=e;if(\\\"number\\\"==typeof t&&\\\"number\\\"==typeof e){var n;if(t===e)n=0!==t||1/t==1/e;else n=!1;return n}return t===e}function bc(t){if(null==t)return 0;var e;switch(typeof t){case\\\"object\\\":e=\\\"function\\\"==typeof t.hashCode?t.hashCode():gc(t);break;case\\\"function\\\":e=gc(t);break;case\\\"number\\\":e=oc(t);break;case\\\"boolean\\\":e=t?1:0;break;default:e=xc(String(t))}return e}function xc(t){var e=0,n=0,r=t.length-1|0;if(n<=r)do{var i=n;n=n+1|0;var o=t.charCodeAt(i);e=Lt(e,31)+o|0}while(i!==r);return e}function wc(t,e){null!=Error.captureStackTrace?Error.captureStackTrace(t,e):t.stack=(new Error).stack}function Ac(t,e,n){Error.call(t),function(t,e,n){if(!Cc(t,\\\"message\\\")){var r;if(null==e){var i;if(null!==e){var o=null==n?null:n.toString();i=null==o?void 0:o}else i=void 0;r=i}else r=e;t.message=r}Cc(t,\\\"cause\\\")||(t.cause=n),t.name=Object.getPrototypeOf(t).constructor.name}(t,e,n)}function Cc(t,e){return Object.getPrototypeOf(t).hasOwnProperty(e)}function Mc(t){var e;return null==t?function(){throw Fp()}():e=t,e}function Ec(){throw Up()}function Tc(){throw Pp()}function Sc(t,e){for(var n=t.length,r=e.length,i=0,o=e;i<n&&i<r;){var a=i,s=i;i=s+1|0,o[a]=t[s]}return e}function kc(t,e,n){var r=t.slice(0,e);void 0!==t.$type$&&(r.$type$=t.$type$);var i=t.length;if(e>i)for(r.length=e;i<e;){var o=i;i=o+1|0,r[o]=n}return r}function Oc(){gt=this,this.ll_1=new Lc(0,-2147483648),this.ml_1=new Lc(-1,2147483647),this.nl_1=8,this.ol_1=64}function Ic(){return null==gt&&new Oc,gt}function Lc(t,e){Ic(),fa.call(this),this.i1_1=t,this.j1_1=e}function Pc(){return nh(),yt}function zc(){return nh(),_t}function Rc(){return nh(),bt}function Dc(){return nh(),wt}function $c(){return nh(),At}function Bc(t,e){if(nh(),Hc(t,e))return 0;var n=Xc(t),r=Xc(e);return n&&!r?-1:!n&&r?1:Xc(Fc(t,e))?-1:1}function Nc(t,e){nh();var n=t.j1_1>>>16|0,r=65535&t.j1_1,i=t.i1_1>>>16|0,o=65535&t.i1_1,a=e.j1_1>>>16|0,s=65535&e.j1_1,l=e.i1_1>>>16|0,u=0,c=0,h=0,p=0;return u=(u=u+((c=(c=c+((h=(h=h+((p=p+(o+(65535&e.i1_1)|0)|0)>>>16|0)|0)+(i+l|0)|0)>>>16|0)|0)+(r+s|0)|0)>>>16|0)|0)+(n+a|0)|0,new Lc((h&=65535)<<16|(p&=65535),(u&=65535)<<16|(c&=65535))}function Fc(t,e){return nh(),Nc(t,e.g9())}function jc(t,e){if(nh(),Yc(t))return Pc();if(Yc(e))return Pc();if(Hc(t,Dc()))return Zc(e)?Dc():Pc();if(Hc(e,Dc()))return Zc(t)?Dc():Pc();if(Xc(t))return Xc(e)?jc(Kc(t),Kc(e)):Kc(jc(Kc(t),e));if(Xc(e))return Kc(jc(t,Kc(e)));if(Jc(t,$c())&&Jc(e,$c()))return Qc(Vc(t)*Vc(e));var n=t.j1_1>>>16|0,r=65535&t.j1_1,i=t.i1_1>>>16|0,o=65535&t.i1_1,a=e.j1_1>>>16|0,s=65535&e.j1_1,l=e.i1_1>>>16|0,u=65535&e.i1_1,c=0,h=0,p=0,f=0;return p=p+((f=f+Lt(o,u)|0)>>>16|0)|0,f&=65535,h=(h=h+((p=p+Lt(i,u)|0)>>>16|0)|0)+((p=(p&=65535)+Lt(o,l)|0)>>>16|0)|0,p&=65535,c=(c=(c=c+((h=h+Lt(r,u)|0)>>>16|0)|0)+((h=(h&=65535)+Lt(i,l)|0)>>>16|0)|0)+((h=(h&=65535)+Lt(o,s)|0)>>>16|0)|0,h&=65535,c=c+(((Lt(n,u)+Lt(r,l)|0)+Lt(i,s)|0)+Lt(o,a)|0)|0,new Lc(p<<16|f,(c&=65535)<<16|h)}function Uc(t,e){nh();var n=63&e;return 0===n?t:n<32?new Lc(t.i1_1<<n,t.j1_1<<n|t.i1_1>>>(32-n|0)|0):new Lc(0,t.i1_1<<(n-32|0))}function qc(t,e){nh();var n=63&e;return 0===n?t:n<32?new Lc(t.i1_1>>>n|0|t.j1_1<<(32-n|0),t.j1_1>>n):new Lc(t.j1_1>>(n-32|0),t.j1_1>=0?0:-1)}function Vc(t){return nh(),4294967296*t.j1_1+function(t){return nh(),t.i1_1>=0?t.i1_1:4294967296+t.i1_1}(t)}function Hc(t,e){return nh(),t.j1_1===e.j1_1&&t.i1_1===e.i1_1}function Gc(t,e){if(nh(),e<2||36<e)throw rp(\\\"radix out of range: \\\"+e);if(Yc(t))return\\\"0\\\";if(Xc(t)){if(Hc(t,Dc())){var n=Wc(e),r=t.h9(n),i=Fc(jc(r,n),t).ia();return Gc(r,e)+i.toString(e)}return\\\"-\\\"+Gc(Kc(t),e)}for(var o=2===e?31:e<=10?9:e<=21?7:e<=35?6:5,a=Qc(Math.pow(e,o)),s=t,l=\\\"\\\";;){var u=s.h9(a),c=Fc(s,jc(u,a)).ia().toString(e);if(Yc(s=u))return c+l;for(;c.length<o;)c=\\\"0\\\"+c;l=c+l}}function Wc(t){return nh(),new Lc(t,t<0?-1:0)}function Xc(t){return nh(),t.j1_1<0}function Yc(t){return nh(),0===t.j1_1&&0===t.i1_1}function Zc(t){return nh(),1==(1&t.i1_1)}function Kc(t){return nh(),t.g9()}function Jc(t,e){return nh(),Bc(t,e)<0}function Qc(t){if(nh(),Fs(t))return Pc();if(t<=-0x8000000000000000)return Dc();if(t+1>=0x8000000000000000)return nh(),xt;if(t<0)return Kc(Qc(-t));var e=4294967296;return new Lc(Wp(t%e,0),Wp(t/e,0))}function th(t,e){return nh(),Bc(t,e)>0}function eh(t,e){return nh(),Bc(t,e)>=0}function nh(){Ct||(Ct=!0,yt=Wc(0),_t=Wc(1),bt=Wc(-1),xt=new Lc(-1,2147483647),wt=new Lc(0,-2147483648),At=Wc(16777216))}function rh(t){return t<<24>>24}function ih(t){return t instanceof Lc?t.ia():function(t){return t>2147483647?2147483647:t<-2147483648?-2147483648:Wp(t,0)}(t)}function oh(t){return t<<16>>16}function ah(t){return t instanceof Lc?t:Qc(t)}function sh(t){return 65535&oh(ih(t))}function lh(t){return Wc(t)}function uh(t,e){return new xr(t,e)}function ch(){ph();var t=void 0;return fh(t,t,t,t,t,t)}function hh(t,e,n,r,i){ph(),r.get=r,r.set=i,r.callableName=t;var o,a,s=(o=r,a=function(t,e,n){ph();var r=(ph(),Mt)[t][null==e?0:1];return 0===r.interfaces.length&&(r.interfaces.push(n),null==r.interfacesCache?r.interfacesCache={isComplete:!1,implementInterfaceMemo:{}}:Mc(r.interfacesCache).isComplete=!1,xh(Mc(r.interfacesCache),n)),r}(e,i,n),ph(),o.$metadata$=a,o.constructor=o,o);return s}function ph(){if(Et);else{Et=!0;var t,e=[ch(),ch()],n=[ch(),ch()];t=[ch(),ch()],Mt=[e,n,t]}}function fh(t,e,n,r,i,o){return dh(\\\"class\\\",t,e,n,r,i,o)}function dh(t,e,n,r,i,o,a){return{kind:t,simpleName:e,interfaceId:\\\"interface\\\"===t?-1:void 0,interfaces:n||[],associatedObjectKey:r,associatedObjects:i,suspendArity:o,fastPrototype:a,$kClass$:void 0,interfacesCache:{isComplete:void 0===a&&(void 0===n||0===n.length),implementInterfaceMemo:{}}}}function mh(t){return!!vh(t)||Pt(t)}function vh(t){return Array.isArray(t)}function gh(t,e){var n=t.constructor;return null!=n&&yh(n,e)}function yh(t,e){if(t===e)return!0;var n=t.$metadata$;null!=n&&null==n.interfacesCache&&(n.interfacesCache={isComplete:!1,implementInterfaceMemo:{}});var r,i=null==n?null:n.interfacesCache;if(null!=i){i.isComplete||_h(t);var o=e.$metadata$,a=null==o?null:o.interfaceId;if(null==a)return!1;var s=a;r=!!i.implementInterfaceMemo[s]}else{var l=bh(t),u=null==l?null:l.constructor;if(null==u)return!1;r=yh(u,e)}return r}function _h(t){var e=t.$metadata$;null!=e&&null==e.interfacesCache&&(e.interfacesCache={isComplete:!1,implementInterfaceMemo:{}});var n=null==e?null:e.interfacesCache;if(null!=n){if(!0===n.isComplete)return n;for(var r=e.interfaces,i=0,o=r.length;i<o;){var a=r[i];i=i+1|0,xh(n,a),wh(n,_h(a))}}var s,l=bh(t),u=null==l?null:l.constructor,c=null==u?null:_h(u),h=n;return null==h?s=null:(wh(h,c),h.isComplete=!0,s=h),null==s?c:s}function bh(t){var e,n=t.$metadata$;null==n?e=null:(null==n.fastPrototype&&(n.fastPrototype=Ah(t)),e=n.fastPrototype);var r=e;return null==r?Ah(t):r}function xh(t,e){t.implementInterfaceMemo[function(t){var e,n=t.$metadata$,r=n.interfaceId,i=null==r?-1:r;if(_c(i,-1)){var o=Tt;Tt=o+1|0;var a=o;n.interfaceId=a,e=a}else e=i;return e}(e)]=!0}function wh(t,e){var n=null==e?null:e.implementInterfaceMemo;if(null==n)return ma();var r=n;Object.assign(t.implementInterfaceMemo,r)}function Ah(t){var e=t.prototype;return null==e?null:Object.getPrototypeOf(e)}function Ch(t){return!!vh(t)&&!t.$type$}function Mh(t){switch(typeof t){case\\\"string\\\":case\\\"number\\\":case\\\"boolean\\\":case\\\"function\\\":return!0;default:return Yp(t,Object)}}function Eh(t){return\\\"number\\\"==typeof t||t instanceof Lc}function Th(t){var e=typeof t;return!(\\\"string\\\"!==e&&\\\"boolean\\\"!==e&&!Eh(t))||gh(t,Us(Tl(la)))}function Sh(t){return\\\"string\\\"==typeof t||gh(t,Us(Tl(sa)))}function kh(t){return!!vh(t)&&\\\"BooleanArray\\\"===t.$type$}function Oh(t){return Yp(t,Int8Array)}function Ih(t){return Yp(t,Int16Array)}function Lh(t){return!!Yp(t,Uint16Array)&&\\\"CharArray\\\"===t.$type$}function Ph(t){return Yp(t,Int32Array)}function zh(t){return Yp(t,Float32Array)}function Rh(t){return!!vh(t)&&\\\"LongArray\\\"===t.$type$}function Dh(t){return Yp(t,Float64Array)}function $h(t,e,n,r,i){return dh(\\\"interface\\\",t,e,n,r,i,void 0)}function Bh(t,e,n,r,i,o){return dh(\\\"object\\\",t,e,n,r,i,o)}function Nh(t){return new Qa(t)}function Fh(t,e,n,r){Re().h2(n,r,t.length),t.fill(e,n,r)}function jh(t,e,n){for(var r=new Int32Array(n),i=0,o=0,a=0,s=t,l=0,u=s.length;l<u;){var c=sc(s,l);l=l+1|0;var h=e[c];if(o|=(31&h)<<a,h<32){var p=i;i=p+1|0,r[p]=o,o=0,a=0}else a=a+5|0}return r}function Uh(t,e){for(var n=0,r=t.length-1|0,i=-1,o=0;n<=r;)if(e>(o=t[i=(n+r|0)/2|0]))n=i+1|0;else{if(e===o)return i;r=i-1|0}return i-(e<o?1:0)|0}function qh(){var t;St=this,t=new Int32Array([48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296]),this.zl_1=t}function Vh(){return null==St&&new qh,St}function Hh(){kt=this;var t=\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\\\",e=new Int32Array(128),n=0,r=uc(t)-1|0;if(n<=r)do{var i=n;n=n+1|0,e[sc(t,i)]=i}while(n<=r);var o=jh(\\\"hCgBpCQGYHZH5BRpBPPPPPPRMP5BPPlCPP6BkEPPPPcPXPzBvBrB3BOiDoBHwD+E3DauCnFmBmB2D6E1BlBTiBmBlBP5BhBiBrBvBjBqBnBPRtBiCmCtBlB0BmB5BiB7BmBgEmChBZgCoEoGVpBSfRhBPqKQ2BwBYoFgB4CJuTiEvBuCuDrF5DgEgFlJ1DgFmBQtBsBRGsB+BPiBlD1EIjDPRPPPQPPPPPGQSQS/DxENVNU+B9zCwBwBPPCkDPNnBPqDYY1R8B7FkFgTgwGgwUwmBgKwBuBScmEP/BPPPPPPrBP8B7F1B/ErBqC6B7BiBmBfQsBUwCw/KwqIwLwETPcPjQgJxFgBlBsD\\\",e,222),a=new Int32Array(o.length),s=0,l=o.length-1|0;if(s<=l)do{var u=s;s=s+1|0,a[u]=0===u?o[u]:a[u-1|0]+o[u]|0}while(s<=l);this.am_1=a,this.bm_1=jh(\\\"aaMBXHYH5BRpBPPPPPPRMP5BPPlCPPzBDOOPPcPXPzBvBjB3BOhDmBBpB7DoDYxB+EiBP1DoExBkBQhBekBPmBgBhBctBiBMWOOXhCsBpBkBUV3Ba4BkB0DlCgBXgBtD4FSdBfPhBPpKP0BvBXjEQ2CGsT8DhBtCqDpFvD1D3E0IrD2EkBJrBDOBsB+BPiBlB1EIjDPPPPPPPPPPPGPPMNLsBNPNPKCvBvBPPCkDPBmBPhDXXgD4B6FzEgDguG9vUtkB9JcuBSckEP/BPPPPPPBPf4FrBjEhBpC3B5BKaWPrBOwCk/KsCuLqDHPbPxPsFtEaaqDL\\\",e,222),this.cm_1=jh(\\\"GFjgggUHGGFFZZZmzpz5qB6s6020B60ptltB6smt2sB60mz22B1+vv+8BZZ5s2850BW5q1ymtB506smzBF3q1q1qB1q1q1+Bgii4wDTm74g3KiggxqM60q1q1Bq1o1q1BF1qlrqrBZ2q5wprBGFZWWZGHFsjiooLowgmOowjkwCkgoiIk7ligGogiioBkwkiYkzj2oNoi+sbkwj04DghhkQ8wgiYkgoioDsgnkwC4gikQ//v+85BkwvoIsgoyI4yguI0whiwEowri4CoghsJowgqYowgm4DkwgsY/nwnzPowhmYkg6wI8yggZswikwHgxgmIoxgqYkwgk4DkxgmIkgoioBsgssoBgzgyI8g9gL8g9kI0wgwJoxgkoC0wgioFkw/wI0w53iF4gioYowjmgBHGq1qkgwBF1q1q8qBHwghuIwghyKk0goQkwgoQk3goQHGFHkyg0pBgxj6IoinkxDswno7Ikwhz9Bo0gioB8z48Rwli0xN0mpjoX8w78pDwltoqKHFGGwwgsIHFH3q1q16BFHWFZ1q10q1B2qlwq1B1q10q1B2q1yq1B6q1gq1Biq1qhxBir1qp1Bqt1q1qB1g1q1+B//3q16B///q1qBH/qlqq9Bholqq9B1i00a1q10qD1op1HkwmigEigiy6Cptogq1Bixo1kDq7/j00B2qgoBWGFm1lz50B6s5q1+BGWhggzhwBFFhgk4//Bo2jigE8wguI8wguI8wgugUog1qoB4qjmIwwi2KgkYHHH4lBgiFWkgIWoghssMmz5smrBZ3q1y50B5sm7gzBtz1smzB5smz50BqzqtmzB5sgzqzBF2/9//5BowgoIwmnkzPkwgk4C8ys65BkgoqI0wgy6FghquZo2giY0ghiIsgh24B4ghsQ8QF/v1q1OFs0O8iCHHF1qggz/B8wg6Iznv+//B08QgohsjK0QGFk7hsQ4gB\\\",e,222)}function Gh(){return null==kt&&new Hh,kt}function Wh(){var t,e;Ot=this,t=new Int32Array([170,186,688,704,736,837,890,7468,7544,7579,8305,8319,8336,8560,9424,11388,42652,42864,43e3,43868]),this.dm_1=t,e=new Int32Array([1,1,9,2,5,1,1,63,1,37,1,1,13,16,26,2,2,1,2,4]),this.em_1=e}function Xh(){return null==Ot&&new Wh,Ot}function Yh(t){var e=t.mm_1;null!=e&&e!==t&&Mc(t.p5().g7(Jn())).f7(e),t.mm_1=(null==It&&new Kh,It)}function Zh(t){this.fm_1=t,this.gm_1=0,this.hm_1=0,this.im_1=null,this.jm_1=null,this.km_1=null;var e=this.fm_1;this.lm_1=null==e?null:e.p5(),this.mm_1=null}function Kh(){It=this}function Jh(t){var e=t instanceof Zh?t:null,n=null==e?null:e.nm();return null==n?t:n}function Qh(t,e,n){return new tp(n,t,e)}function tp(t,e,n){this.zm_1=t,this.an_1=e,this.bn_1=n,Zh.call(this,gh(t,Zn)?t:Tc())}function ep(t,e){this.kn_1=e,Zh.call(this,gh(t,Zn)?t:Tc())}function np(t,e){return Ac(e,t,void 0),ip.call(e),e}function rp(t){var e=np(t,Object.create(ip.prototype));return wc(e,rp),e}function ip(){wc(this,ip)}function op(t,e){return Ac(e,t,void 0),ap.call(e),e}function ap(){wc(this,ap)}function sp(){var t,e=(wp(t=Object.create(pp.prototype)),pp.call(t),t);return wc(e,sp),e}function lp(t,e){return Ap(t,e),pp.call(e),e}function up(t){var e=lp(t,Object.create(pp.prototype));return wc(e,up),e}function cp(t,e,n){return Cp(t,e,n),pp.call(n),n}function hp(t,e){var n=cp(t,e,Object.create(pp.prototype));return wc(n,hp),n}function pp(){wc(this,pp)}function fp(){var t,e=(wp(t=Object.create(gp.prototype)),gp.call(t),t);return wc(e,fp),e}function dp(t,e){return Ap(t,e),gp.call(e),e}function mp(t){var e=dp(t,Object.create(gp.prototype));return wc(e,mp),e}function vp(t,e,n){return Cp(t,e,n),gp.call(n),n}function gp(){wc(this,gp)}function yp(){var t,e=(wp(t=Object.create(xp.prototype)),xp.call(t),t);return wc(e,yp),e}function _p(t,e){return Ap(t,e),xp.call(e),e}function bp(t){var e=_p(t,Object.create(xp.prototype));return wc(e,bp),e}function xp(){wc(this,xp)}function wp(t){return function(t){Ac(t,void 0,void 0),ip.call(t)}(t),Mp.call(t),t}function Ap(t,e){return np(t,e),Mp.call(e),e}function Cp(t,e,n){return function(t,e,n){Ac(n,t,e),ip.call(n)}(t,e,n),Mp.call(n),n}function Mp(){wc(this,Mp)}function Ep(t){var e=function(t,e){return Ap(t,e),Tp.call(e),e}(t,Object.create(Tp.prototype));return wc(e,Ep),e}function Tp(){wc(this,Tp)}function Sp(){var t,e=(wp(t=Object.create(Op.prototype)),Op.call(t),t);return wc(e,Sp),e}function kp(t){var e=function(t,e){return Ap(t,e),Op.call(e),e}(t,Object.create(Op.prototype));return wc(e,kp),e}function Op(){wc(this,Op)}function Ip(t){var e=function(t,e){return op(t,e),Lp.call(e),e}(t,Object.create(Lp.prototype));return wc(e,Ip),e}function Lp(){wc(this,Lp)}function Pp(){var t,e=(wp(t=Object.create(Rp.prototype)),Rp.call(t),t);return wc(e,Pp),e}function zp(t){var e=function(t,e){return Ap(t,e),Rp.call(e),e}(t,Object.create(Rp.prototype));return wc(e,zp),e}function Rp(){wc(this,Rp)}function Dp(t){var e=function(t,e){return lp(t,e),$p.call(e),e}(t,Object.create($p.prototype));return wc(e,Dp),e}function $p(){wc(this,$p)}function Bp(t){var e=function(t,e){return Ap(t,e),Np.call(e),e}(t,Object.create(Np.prototype));return wc(e,Bp),e}function Np(){wc(this,Np)}function Fp(){var t,e=(wp(t=Object.create(jp.prototype)),jp.call(t),t);return wc(e,Fp),e}function jp(){wc(this,jp)}function Up(){var t,e=(wp(t=Object.create(qp.prototype)),qp.call(t),t);return wc(e,Up),e}function qp(){wc(this,qp)}function Vp(t){var e=function(t,e){return Ap(t,e),Hp.call(e),e}(t,Object.create(Hp.prototype));return wc(e,Vp),e}function Hp(){wc(this,Hp)}function Gp(t,e){return t in e}function Wp(t,e){return t|e}function Xp(t,e){delete t[e]}function Yp(t,e){return t instanceof e}function Zp(t,e){return Gc(t,Nl(e))}function Kp(){}function Jp(){}ip.prototype=Object.create(Error.prototype),ip.prototype.constructor=ip,Mp.prototype=Object.create(ip.prototype),Mp.prototype.constructor=Mp,Ae.prototype=Object.create(Mp.prototype),Ae.prototype.constructor=Ae,Te.prototype=Object.create(Vu.prototype),Te.prototype.constructor=Te,De.prototype=Object.create(Ce.prototype),De.prototype.constructor=De,Ie.prototype=Object.create(De.prototype),Ie.prototype.constructor=Ie,Pe.prototype=Object.create(Le.prototype),Pe.prototype.constructor=Pe,Xe.prototype=Object.create(Ce.prototype),Xe.prototype.constructor=Xe,qe.prototype=Object.create(Xe.prototype),qe.prototype.constructor=qe,Ve.prototype=Object.create(Ce.prototype),Ve.prototype.constructor=Ve,Cn.prototype=Object.create(wn.prototype),Cn.prototype.constructor=Cn,Rn.prototype=Object.create(Me.prototype),Rn.prototype.constructor=Rn,fr.prototype=Object.create(Vu.prototype),fr.prototype.constructor=fr,xr.prototype=Object.create(Sr.prototype),xr.prototype.constructor=xr,Ar.prototype=Object.create(Or.prototype),Ar.prototype.constructor=Ar,Cr.prototype=Object.create(yn.prototype),Cr.prototype.constructor=Cr,Mr.prototype=Object.create(bn.prototype),Mr.prototype.constructor=Mr,Fr.prototype=Object.create(Vu.prototype),Fr.prototype.constructor=Fr,di.prototype=Object.create(bn.prototype),di.prototype.constructor=di,Ji.prototype=Object.create(Zi.prototype),Ji.prototype.constructor=Ji,no.prototype=Object.create(Vu.prototype),no.prototype.constructor=no,ap.prototype=Object.create(Error.prototype),ap.prototype.constructor=ap,mo.prototype=Object.create(ap.prototype),mo.prototype.constructor=mo,Da.prototype=Object.create(Ce.prototype),Da.prototype.constructor=Da,Ba.prototype=Object.create($a.prototype),Ba.prototype.constructor=Ba,Fa.prototype=Object.create(Da.prototype),Fa.prototype.constructor=Fa,Na.prototype=Object.create(Fa.prototype),Na.prototype.constructor=Na,Xa.prototype=Object.create(Da.prototype),Xa.prototype.constructor=Xa,Va.prototype=Object.create(Xa.prototype),Va.prototype.constructor=Va,Ha.prototype=Object.create(Xa.prototype),Ha.prototype.constructor=Ha,Ga.prototype=Object.create(Da.prototype),Ga.prototype.constructor=Ga,Wa.prototype=Object.create(He.prototype),Wa.prototype.constructor=Wa,Qa.prototype=Object.create(Fa.prototype),Qa.prototype.constructor=Qa,os.prototype=Object.create(Va.prototype),os.prototype.constructor=os,cs.prototype=Object.create(Wa.prototype),cs.prototype.constructor=cs,ds.prototype=Object.create(Xa.prototype),ds.prototype.constructor=ds,ws.prototype=Object.create(qa.prototype),ws.prototype.constructor=ws,As.prototype=Object.create(Va.prototype),As.prototype.constructor=As,ks.prototype=Object.create(cs.prototype),ks.prototype.constructor=ks,Ps.prototype=Object.create(ds.prototype),Ps.prototype.constructor=Ps,gp.prototype=Object.create(Mp.prototype),gp.prototype.constructor=gp,Ds.prototype=Object.create(gp.prototype),Ds.prototype.constructor=Ds,$s.prototype=Object.create(De.prototype),$s.prototype.constructor=$s,Gs.prototype=Object.create(Hs.prototype),Gs.prototype.constructor=Gs,Ws.prototype=Object.create(Hs.prototype),Ws.prototype.constructor=Ws,Zs.prototype=Object.create(Hs.prototype),Zs.prototype.constructor=Zs,Yl.prototype=Object.create(Vu.prototype),Yl.prototype.constructor=Yl,nu.prototype=Object.create(Ce.prototype),nu.prototype.constructor=nu,du.prototype=Object.create(Vu.prototype),du.prototype.constructor=du,tc.prototype=Object.create(_n.prototype),tc.prototype.constructor=tc,Lc.prototype=Object.create(fa.prototype),Lc.prototype.constructor=Lc,tp.prototype=Object.create(Zh.prototype),tp.prototype.constructor=tp,ep.prototype=Object.create(Zh.prototype),ep.prototype.constructor=ep,pp.prototype=Object.create(Mp.prototype),pp.prototype.constructor=pp,xp.prototype=Object.create(Mp.prototype),xp.prototype.constructor=xp,Tp.prototype=Object.create(Mp.prototype),Tp.prototype.constructor=Tp,Op.prototype=Object.create(Mp.prototype),Op.prototype.constructor=Op,Lp.prototype=Object.create(ap.prototype),Lp.prototype.constructor=Lp,Rp.prototype=Object.create(Mp.prototype),Rp.prototype.constructor=Rp,$p.prototype=Object.create(pp.prototype),$p.prototype.constructor=$p,Np.prototype=Object.create(Mp.prototype),Np.prototype.constructor=Np,jp.prototype=Object.create(Mp.prototype),jp.prototype.constructor=jp,qp.prototype=Object.create(Mp.prototype),qp.prototype.constructor=qp,Hp.prototype=Object.create(Mp.prototype),Hp.prototype.constructor=Hp,Zt.prototype.e=function(){return Xu(this.d_1)},Zt.$metadata$=fh(void 0,[Iu]),le.prototype.w=function(t,e){return this.v_1(t,e)},le.prototype.compare=function(t,e){return this.w(t,e)},le.$metadata$=fh(\\\"sam$kotlin_Comparator$0\\\",[Ea]),ue.prototype.e=function(){return this.x_1.e()},ue.$metadata$=fh(void 0,[xn]),ye.prototype.w=function(t,e){return this.m1_1(t,e)},ye.prototype.compare=function(t,e){return this.w(t,e)},ye.$metadata$=fh(\\\"sam$kotlin_Comparator$0\\\",[Ea]),be.prototype.e=function(){var t=ge(this.n1_1);return La(t,this.o1_1),t.e()},be.$metadata$=fh(void 0,[xn]),xe.prototype.e=function(){return this.p1_1.e()},xe.$metadata$=fh(void 0,[Iu]),Ae.$metadata$=fh(\\\"KotlinNothingValueException\\\",void 0,void 0,void 0,void 0,Mp.prototype),Ce.prototype.t1=function(t){var e;t:if(gh(this,Du)&&this.i())e=!1;else{for(var n=this.e();n.f();)if(_c(n.g(),t)){e=!0;break t}e=!1}return e},Ce.prototype.u1=function(t){var e;t:if(gh(t,Du)&&t.i())e=!0;else{for(var n=t.e();n.f();){var r=n.g();if(!this.t1(r)){e=!1;break t}}e=!0}return e},Ce.prototype.i=function(){return 0===this.h()},Ce.prototype.toString=function(){return Kt(this,\\\", \\\",\\\"[\\\",\\\"]\\\",0,null,(t=this,function(e){return e===t?\\\"(this Collection)\\\":Hu(e)}),24);var t},Ce.prototype.toArray=function(){return Ia(this)},Ce.$metadata$=fh(\\\"AbstractCollection\\\",[Du]),Me.prototype.f=function(){var t;if(this.v1_1.equals(Oe()))throw up(yc(\\\"Failed requirement.\\\"));switch(this.v1_1.z1_1){case 2:return!1;case 0:return!0;default:return(t=this).v1_1=Oe(),t.x1(),t.v1_1.equals(Se())}},Me.prototype.g=function(){if(!this.f())throw yp();this.v1_1=ke();var t=this.w1_1;return null==t||Mh(t)?t:Tc()},Me.prototype.a2=function(t){this.w1_1=t,this.v1_1=Se()},Me.prototype.b2=function(){this.v1_1=(Ee(),r)},Me.$metadata$=fh(\\\"AbstractIterator\\\",[ua]),Te.$metadata$=fh(\\\"State\\\",void 0,void 0,void 0,void 0,Vu.prototype),Ie.prototype.j=function(t){return Re().i2(t,this.g2_1),this.e2_1.j(this.f2_1+t|0)},Ie.prototype.h=function(){return this.g2_1},Ie.$metadata$=fh(\\\"SubList\\\",[zs],void 0,void 0,void 0,De.prototype),Le.prototype.f=function(){return this.k2_1<this.l2_1.h()},Le.prototype.g=function(){if(!this.f())throw yp();var t=this.k2_1;return this.k2_1=t+1|0,this.l2_1.j(t)},Le.$metadata$=fh(\\\"IteratorImpl\\\",[ua]),Pe.prototype.l=function(){return this.k2_1>0},Pe.prototype.m=function(){return this.k2_1},Pe.prototype.n=function(){if(!this.l())throw yp();var t=this;return t.k2_1=t.k2_1-1|0,this.o2_1.j(t.k2_1)},Pe.$metadata$=fh(\\\"ListIteratorImpl\\\",[ha],void 0,void 0,void 0,Le.prototype),ze.prototype.i2=function(t,e){if(t<0||t>=e)throw Ep(\\\"index: \\\"+t+\\\", size: \\\"+e)},ze.prototype.p2=function(t,e){if(t<0||t>e)throw Ep(\\\"index: \\\"+t+\\\", size: \\\"+e)},ze.prototype.h2=function(t,e,n){if(t<0||e>n)throw Ep(\\\"fromIndex: \\\"+t+\\\", toIndex: \\\"+e+\\\", size: \\\"+n);if(t>e)throw up(\\\"fromIndex: \\\"+t+\\\" > toIndex: \\\"+e)},ze.prototype.q2=function(t,e,n){if(t<0||e>n)throw Ep(\\\"startIndex: \\\"+t+\\\", endIndex: \\\"+e+\\\", size: \\\"+n);if(t>e)throw up(\\\"startIndex: \\\"+t+\\\" > endIndex: \\\"+e)},ze.prototype.r2=function(t){for(var e=1,n=t.e();n.f();){var r=n.g(),i=Lt(31,e),o=null==r?null:bc(r);e=i+(null==o?0:o)|0}return e},ze.prototype.s2=function(t,e){if(t.h()!==e.h())return!1;for(var n=e.e(),r=t.e();r.f();)if(!_c(r.g(),n.g()))return!1;return!0},ze.$metadata$=Bh(\\\"Companion\\\"),De.prototype.e=function(){return new Le(this)},De.prototype.k=function(t){return new Pe(this,t)},De.prototype.j2=function(t,e){return new Ie(this,t,e)},De.prototype.equals=function(t){return t===this||!(null==t||!gh(t,Lu))&&Re().s2(this,t)},De.prototype.hashCode=function(){return Re().r2(this)},De.$metadata$=fh(\\\"AbstractList\\\",[Lu],void 0,void 0,void 0,Ce.prototype),$e.prototype.f=function(){return this.t2_1.f()},$e.prototype.g=function(){return this.t2_1.g().u2()},$e.$metadata$=fh(void 0,[ua]),Be.prototype.f=function(){return this.v2_1.f()},Be.prototype.g=function(){return this.v2_1.g().w2()},Be.$metadata$=fh(void 0,[ua]),je.prototype.x2=function(t){var e=t.u2(),n=null==e?null:bc(e),r=null==n?0:n,i=t.w2(),o=null==i?null:bc(i);return r^(null==o?0:o)},je.prototype.y2=function(t){return Hu(t.u2())+\\\"=\\\"+Hu(t.w2())},je.prototype.z2=function(t,e){return!(null==e||!gh(e,zu))&&!!_c(t.u2(),e.u2())&&_c(t.w2(),e.w2())},je.$metadata$=Bh(\\\"Companion\\\"),qe.prototype.b3=function(t){return this.a3_1.e3(t)},qe.prototype.t1=function(t){return!(null!=t&&!Mh(t))&&this.b3(null==t||Mh(t)?t:Tc())},qe.prototype.e=function(){return new $e(this.a3_1.y().e())},qe.prototype.h=function(){return this.a3_1.h()},qe.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,Xe.prototype),Ve.prototype.h3=function(t){return this.g3_1.i3(t)},Ve.prototype.t1=function(t){return!(null!=t&&!Mh(t))&&this.h3(null==t||Mh(t)?t:Tc())},Ve.prototype.e=function(){return new Be(this.g3_1.y().e())},Ve.prototype.h=function(){return this.g3_1.h()},Ve.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,Ce.prototype),He.prototype.e3=function(t){return!(null==Fe(this,t))},He.prototype.i3=function(t){var e;t:{var n=this.y();if(gh(n,Du)&&n.i())e=!1;else{for(var r=n.e();r.f();)if(_c(r.g().w2(),t)){e=!0;break t}e=!1}}return e},He.prototype.j3=function(t){if(null==t||!gh(t,zu))return!1;var e=t.u2(),n=t.w2(),r=(gh(this,Ru)?this:Tc()).s(e);return!!_c(n,r)&&!(null==r&&!(gh(this,Ru)?this:Tc()).e3(e))},He.prototype.equals=function(t){if(t===this)return!0;if(null==t||!gh(t,Ru))return!1;if(this.h()!==t.h())return!1;var e;t:{var n=t.y();if(gh(n,Du)&&n.i())e=!0;else{for(var r=n.e();r.f();){var i=r.g();if(!this.j3(i)){e=!1;break t}}e=!0}}return e},He.prototype.s=function(t){var e=Fe(this,t);return null==e?null:e.w2()},He.prototype.hashCode=function(){return bc(this.y())},He.prototype.i=function(){return 0===this.h()},He.prototype.h=function(){return this.y().h()},He.prototype.k3=function(){return null==this.c3_1&&(this.c3_1=new qe(this)),Mc(this.c3_1)},He.prototype.toString=function(){var t;return Kt(this.y(),\\\", \\\",\\\"{\\\",\\\"}\\\",0,null,(t=this,function(e){return t.f3(e)}),24)},He.prototype.f3=function(t){return Ne(this,t.u2())+\\\"=\\\"+Ne(this,t.w2())},He.prototype.l3=function(){return null==this.d3_1&&(this.d3_1=new Ve(this)),Mc(this.d3_1)},He.$metadata$=fh(\\\"AbstractMap\\\",[Ru]),Ge.prototype.m3=function(t){for(var e=0,n=t.e();n.f();){var r=n.g(),i=e,o=null==r?null:bc(r);e=i+(null==o?0:o)|0}return e},Ge.prototype.n3=function(t,e){return t.h()===e.h()&&t.u1(e)},Ge.$metadata$=Bh(\\\"Companion\\\"),Xe.prototype.equals=function(t){return t===this||!(null==t||!gh(t,Pu))&&We().n3(this,t)},Xe.prototype.hashCode=function(){return We().m3(this)},Xe.$metadata$=fh(\\\"AbstractSet\\\",[Pu],void 0,void 0,void 0,Ce.prototype),Ze.prototype.equals=function(t){return!(null==t||!gh(t,Lu))&&t.i()},Ze.prototype.hashCode=function(){return 1},Ze.prototype.toString=function(){return\\\"[]\\\"},Ze.prototype.h=function(){return 0},Ze.prototype.i=function(){return!0},Ze.prototype.p3=function(t){return!1},Ze.prototype.t1=function(t){return!1},Ze.prototype.q3=function(t){return t.i()},Ze.prototype.u1=function(t){return this.q3(t)},Ze.prototype.j=function(t){throw Ep(\\\"Empty list doesn't contain element at index \\\"+t+\\\".\\\")},Ze.prototype.e=function(){return tn()},Ze.prototype.k=function(t){if(0!==t)throw Ep(\\\"Index: \\\"+t);return tn()},Ze.prototype.j2=function(t,e){if(0===t&&0===e)return this;throw Ep(\\\"fromIndex: \\\"+t+\\\", toIndex: \\\"+e)},Ze.$metadata$=Bh(\\\"EmptyList\\\",[Lu,Bs,zs]),Je.prototype.h=function(){return this.r3_1.length},Je.prototype.i=function(){return 0===this.r3_1.length},Je.prototype.t3=function(t){return Ft(this.r3_1,t)},Je.prototype.u3=function(t){var e;t:if(gh(t,Du)&&t.i())e=!0;else{for(var n=t.e();n.f();){var r=n.g();if(!this.t3(r)){e=!1;break t}}e=!0}return e},Je.prototype.u1=function(t){return this.u3(t)},Je.prototype.e=function(){return Xu(this.r3_1)},Je.$metadata$=fh(\\\"ArrayAsCollection\\\",[Du]),Qe.prototype.f=function(){return!1},Qe.prototype.l=function(){return!1},Qe.prototype.m=function(){return 0},Qe.prototype.g=function(){throw yp()},Qe.prototype.n=function(){throw yp()},Qe.$metadata$=Bh(\\\"EmptyIterator\\\",[ha]),rn.prototype.y3=function(){return this.w3_1},rn.prototype.w2=function(){return this.x3_1},rn.prototype.toString=function(){return\\\"IndexedValue(index=\\\"+this.w3_1+\\\", value=\\\"+this.x3_1+\\\")\\\"},rn.prototype.hashCode=function(){var t=this.w3_1;return Lt(t,31)+(null==this.x3_1?0:bc(this.x3_1))|0},rn.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof rn))return!1;var e=t instanceof rn?t:Tc();return this.w3_1===e.w3_1&&!!_c(this.x3_1,e.x3_1)},rn.$metadata$=fh(\\\"IndexedValue\\\"),an.prototype.e=function(){return new ln(this.z3_1())},an.$metadata$=fh(\\\"IndexingIterable\\\",[Iu]),sn.prototype.e=function(){return this.a4_1()},sn.$metadata$=fh(void 0,[Iu]),ln.prototype.f=function(){return this.b4_1.f()},ln.prototype.g=function(){var t=this.c4_1;return this.c4_1=t+1|0,new rn(Pa(t),this.b4_1.g())},ln.$metadata$=fh(\\\"IndexingIterator\\\",[ua]),un.$metadata$=$h(\\\"MapWithDefault\\\",[Ru]),hn.prototype.equals=function(t){return!(null==t||!gh(t,Ru))&&t.i()},hn.prototype.hashCode=function(){return 0},hn.prototype.toString=function(){return\\\"{}\\\"},hn.prototype.h=function(){return 0},hn.prototype.i=function(){return!0},hn.prototype.k4=function(t){return!1},hn.prototype.e3=function(t){return!(null!=t&&!Mh(t))&&this.k4(null==t||Mh(t)?t:Tc())},hn.prototype.l4=function(t){return null},hn.prototype.s=function(t){return null==t||Mh(t)?this.l4(null==t||Mh(t)?t:Tc()):null},hn.prototype.y=function(){return Wn()},hn.prototype.k3=function(){return Wn()},hn.prototype.l3=function(){return Ke()},hn.$metadata$=Bh(\\\"EmptyMap\\\",[Ru,Bs]),yn.prototype.g=function(){return this.b5()},yn.$metadata$=fh(\\\"IntIterator\\\",[ua]),_n.prototype.g=function(){return this.c5()},_n.$metadata$=fh(\\\"DoubleIterator\\\",[ua]),bn.prototype.d5=function(){return this.e5()},bn.prototype.g=function(){return new Ou(this.d5())},bn.$metadata$=fh(\\\"CharIterator\\\",[ua]),xn.$metadata$=$h(\\\"Sequence\\\"),wn.prototype.h5=function(t,e){return this.g5(t.e(),e)},wn.$metadata$=fh(\\\"SequenceScope\\\"),Cn.prototype.m5=function(t){this.l5_1=t},Cn.prototype.f=function(){for(;;){switch(this.i5_1){case 0:break;case 1:if(Mc(this.k5_1).f())return this.i5_1=2,!0;this.k5_1=null;break;case 4:return!1;case 3:case 2:return!0;default:throw An(this)}this.i5_1=5;var t,e=Mc(this.l5_1);this.l5_1=null,uo(),t=ma(),e.n5(t),ma()}},Cn.prototype.g=function(){switch(this.i5_1){case 0:case 1:return function(t){if(t.f())return t.g();throw yp()}(this);case 2:return this.i5_1=1,Mc(this.k5_1).g();case 3:this.i5_1=0;var t=this.j5_1,e=null==t||Mh(t)?t:Tc();return this.j5_1=null,e;default:throw An(this)}},Cn.prototype.f5=function(t,e){this.j5_1=t,this.i5_1=3;var n=e;return this.l5_1=n,pr()},Cn.prototype.g5=function(t,e){if(!t.f())return ma();this.k5_1=t,this.i5_1=2;var n=e;return this.l5_1=n,pr()},Cn.prototype.o5=function(t){fo(t);null==t||Mh(t)||Tc(),this.i5_1=4},Cn.prototype.n5=function(t){return this.o5(t)},Cn.prototype.p5=function(){return or()},Cn.$metadata$=fh(\\\"SequenceBuilderIterator\\\",[ua,Zn],void 0,void 0,void 0,wn.prototype),Mn.prototype.e=function(){var t,e;return t=this.q5_1,(e=new Cn).l5_1=Qh(t,e,e),e},Mn.$metadata$=fh(void 0,[xn]),En.prototype.e=function(){return new Rn(this.r5_1.e(),this.s5_1)},En.$metadata$=fh(\\\"DistinctSequence\\\",[xn]),Sn.prototype.g=function(){if(!Tn(this))throw yp();return Mc(this.u5_1).g()},Sn.prototype.f=function(){return Tn(this)},Sn.$metadata$=fh(void 0,[ua]),kn.prototype.e=function(){return new Sn(this)},kn.$metadata$=fh(\\\"FlatteningSequence\\\",[xn]),On.prototype.g=function(){return this.a6_1.c6_1(this.z5_1.g())},On.prototype.f=function(){return this.z5_1.f()},On.$metadata$=fh(void 0,[ua]),In.prototype.e=function(){return new On(this)},In.$metadata$=fh(\\\"TransformingSequence\\\",[xn]),Pn.prototype.g=function(){if(-1===this.e6_1&&Ln(this),0===this.e6_1)throw yp();var t=this.f6_1;return this.f6_1=null,this.e6_1=-1,null==t||Mh(t)?t:Tc()},Pn.prototype.f=function(){return-1===this.e6_1&&Ln(this),1===this.e6_1},Pn.$metadata$=fh(void 0,[ua]),zn.prototype.e=function(){return new Pn(this)},zn.$metadata$=fh(\\\"FilteringSequence\\\",[xn]),Rn.prototype.x1=function(){for(;this.m6_1.f();){var t=this.m6_1.g(),e=this.n6_1(t);if(this.o6_1.a(e))return this.a2(t),ma()}this.b2()},Rn.$metadata$=fh(\\\"DistinctIterator\\\",void 0,void 0,void 0,void 0,Me.prototype),$n.prototype.g=function(){if(this.r6_1<0&&Dn(this),0===this.r6_1)throw yp();var t=this.q6_1,e=Mh(t)?t:Tc();return this.r6_1=-1,e},$n.prototype.f=function(){return this.r6_1<0&&Dn(this),1===this.r6_1},$n.$metadata$=fh(void 0,[ua]),Bn.prototype.e=function(){return new $n(this)},Bn.$metadata$=fh(\\\"GeneratorSequence\\\",[xn]),Nn.$metadata$=$h(\\\"DropTakeSequence\\\",[xn]),Fn.prototype.g=function(){if(0===this.v6_1)throw yp();var t=this.v6_1;return this.v6_1=t-1|0,this.w6_1.g()},Fn.prototype.f=function(){return this.v6_1>0&&this.w6_1.f()},Fn.$metadata$=fh(void 0,[ua]),jn.prototype.l1=function(t){return t>=this.y6_1?this:new jn(this.x6_1,t)},jn.prototype.e=function(){return new Fn(this)},jn.$metadata$=fh(\\\"TakeSequence\\\",[xn,Nn]),Un.prototype.e=function(){return tn()},Un.prototype.l1=function(t){return qn()},Un.$metadata$=Bh(\\\"EmptySequence\\\",[xn,Nn]),Vn.prototype.e=function(){return this.z6_1()},Vn.$metadata$=fh(void 0,[xn]),Gn.prototype.equals=function(t){return!(null==t||!gh(t,Pu))&&t.i()},Gn.prototype.hashCode=function(){return 0},Gn.prototype.toString=function(){return\\\"[]\\\"},Gn.prototype.h=function(){return 0},Gn.prototype.i=function(){return!0},Gn.prototype.p3=function(t){return!1},Gn.prototype.t1=function(t){return!1},Gn.prototype.q3=function(t){return t.i()},Gn.prototype.u1=function(t){return this.q3(t)},Gn.prototype.e=function(){return tn()},Gn.$metadata$=Bh(\\\"EmptySet\\\",[Pu,Bs]),Xn.prototype.c7=function(t,e){return dc(t,e)},Xn.prototype.compare=function(t,e){var n=null!=t&&Th(t)?t:Tc();return this.c7(n,null!=e&&Th(e)?e:Tc())},Xn.$metadata$=Bh(\\\"NaturalOrderComparator\\\",[Ea]),Yn.prototype.w=function(t,e){return this.d7_1(t,e)},Yn.prototype.compare=function(t,e){return this.w(t,e)},Yn.$metadata$=fh(\\\"sam$kotlin_Comparator$0\\\",[Ea]),Zn.$metadata$=$h(\\\"Continuation\\\"),Kn.$metadata$=Bh(\\\"Key\\\",[tr]),Qn.$metadata$=$h(\\\"ContinuationInterceptor\\\",[er]),tr.$metadata$=$h(\\\"Key\\\"),er.$metadata$=$h(\\\"Element\\\",[rr]),rr.$metadata$=$h(\\\"CoroutineContext\\\"),ir.prototype.g7=function(t){return null},ir.prototype.m7=function(t,e){return t},ir.prototype.n7=function(t){return t},ir.prototype.l7=function(t){return this},ir.prototype.hashCode=function(){return 0},ir.prototype.toString=function(){return\\\"EmptyCoroutineContext\\\"},ir.$metadata$=Bh(\\\"EmptyCoroutineContext\\\",[rr,Bs]),ur.prototype.g7=function(t){for(var e=this;;){var n=e.q7_1.g7(t);if(null!=n)return n;var r=e.p7_1;if(!(r instanceof ur))return r.g7(t);e=r}},ur.prototype.m7=function(t,e){return e(this.p7_1.m7(t,e),this.q7_1)},ur.prototype.l7=function(t){if(null!=this.q7_1.g7(t))return this.p7_1;var e=this.p7_1.l7(t);return e===this.p7_1?this:e===or()?this.q7_1:new ur(e,this.q7_1)},ur.prototype.equals=function(t){return this===t||!!(t instanceof ur&&ar(t)===ar(this))&&function(t,e){for(var n=e;;){if(!sr(t,n.q7_1))return!1;var r=n.p7_1;if(!(r instanceof ur))return sr(t,gh(r,er)?r:Tc());n=r}}(t,this)},ur.prototype.hashCode=function(){return bc(this.p7_1)+bc(this.q7_1)|0},ur.prototype.toString=function(){return\\\"[\\\"+this.m7(\\\"\\\",lr)+\\\"]\\\"},ur.$metadata$=fh(\\\"CombinedContext\\\",[rr,Bs]),cr.prototype.j7=function(t){return this.h7_1(t)},cr.prototype.k7=function(t){return t===this||this.i7_1===t},cr.$metadata$=fh(\\\"AbstractCoroutineContextKey\\\",[tr]),hr.prototype.u2=function(){return this.r7_1},hr.$metadata$=fh(\\\"AbstractCoroutineContextElement\\\",[er]),fr.$metadata$=fh(\\\"CoroutineSingletons\\\",void 0,void 0,void 0,void 0,Vu.prototype),gr.$metadata$=$h(\\\"ReadWriteProperty\\\",[yr]),yr.$metadata$=$h(\\\"ReadOnlyProperty\\\"),_r.$metadata$=Bh(\\\"Companion\\\"),xr.prototype.x7=function(){return this.e1_1},xr.prototype.y7=function(){return this.f1_1},xr.prototype.z7=function(t){return this.e1_1<=t&&t<=this.f1_1},xr.prototype.t3=function(t){return this.z7(\\\"number\\\"==typeof t?t:Tc())},xr.prototype.i=function(){return this.e1_1>this.f1_1},xr.prototype.equals=function(t){return t instanceof xr&&(!(!this.i()||!t.i())||this.e1_1===t.e1_1&&this.f1_1===t.f1_1)},xr.prototype.hashCode=function(){return this.i()?-1:Lt(31,this.e1_1)+this.f1_1|0},xr.prototype.toString=function(){return this.e1_1+\\\"..\\\"+this.f1_1},xr.$metadata$=fh(\\\"IntRange\\\",[Ir,Lr],void 0,void 0,void 0,Sr.prototype),wr.$metadata$=Bh(\\\"Companion\\\"),Ar.prototype.e8=function(){return this.f8_1},Ar.prototype.x7=function(){return new Ou(this.e8())},Ar.prototype.i8=function(){return this.g8_1},Ar.prototype.y7=function(){return new Ou(this.i8())},Ar.prototype.j8=function(t){return Cu(this.f8_1,t)<=0&&Cu(t,this.g8_1)<=0},Ar.prototype.t3=function(t){return this.j8(t instanceof Ou?t.q1_1:Tc())},Ar.prototype.i=function(){return Cu(this.f8_1,this.g8_1)>0},Ar.prototype.equals=function(t){return t instanceof Ar&&(!(!this.i()||!t.i())||!!_c(new Ou(this.f8_1),new Ou(t.f8_1))&&_c(new Ou(this.g8_1),new Ou(t.g8_1)))},Ar.prototype.hashCode=function(){var t,e;return this.i()?t=-1:(e=this.f8_1,t=Lt(31,e)+this.g8_1|0),t},Ar.prototype.toString=function(){return new Ou(this.f8_1)+\\\"..\\\"+new Ou(this.g8_1)},Ar.$metadata$=fh(\\\"CharRange\\\",[Ir,Lr],void 0,void 0,void 0,Or.prototype),Cr.prototype.f=function(){return this.m8_1},Cr.prototype.b5=function(){var t=this.n8_1;if(t===this.l8_1){if(!this.m8_1)throw yp();this.m8_1=!1}else this.n8_1=this.n8_1+this.k8_1|0;return t},Cr.$metadata$=fh(\\\"IntProgressionIterator\\\",void 0,void 0,void 0,void 0,yn.prototype),Mr.prototype.f=function(){return this.q8_1},Mr.prototype.e5=function(){var t=this.r8_1;if(t===this.p8_1){if(!this.q8_1)throw yp();this.q8_1=!1}else this.r8_1=this.r8_1+this.o8_1|0;return sh(t)},Mr.$metadata$=fh(\\\"CharProgressionIterator\\\",void 0,void 0,void 0,void 0,bn.prototype),Er.prototype.h1=function(t,e,n){return new Sr(t,e,n)},Er.$metadata$=Bh(\\\"Companion\\\"),Sr.prototype.e=function(){return new Cr(this.e1_1,this.f1_1,this.g1_1)},Sr.prototype.i=function(){return this.g1_1>0?this.e1_1>this.f1_1:this.e1_1<this.f1_1},Sr.prototype.equals=function(t){return t instanceof Sr&&(!(!this.i()||!t.i())||this.e1_1===t.e1_1&&this.f1_1===t.f1_1&&this.g1_1===t.g1_1)},Sr.prototype.hashCode=function(){return this.i()?-1:Lt(31,Lt(31,this.e1_1)+this.f1_1|0)+this.g1_1|0},Sr.prototype.toString=function(){return this.g1_1>0?this.e1_1+\\\"..\\\"+this.f1_1+\\\" step \\\"+this.g1_1:this.e1_1+\\\" downTo \\\"+this.f1_1+\\\" step \\\"+(0|-this.g1_1)},Sr.$metadata$=fh(\\\"IntProgression\\\",[Iu]),kr.$metadata$=Bh(\\\"Companion\\\"),Or.prototype.e=function(){return new Mr(this.f8_1,this.g8_1,this.h8_1)},Or.prototype.i=function(){return this.h8_1>0?Cu(this.f8_1,this.g8_1)>0:Cu(this.f8_1,this.g8_1)<0},Or.prototype.equals=function(t){return t instanceof Or&&(!(!this.i()||!t.i())||!(!_c(new Ou(this.f8_1),new Ou(t.f8_1))||!_c(new Ou(this.g8_1),new Ou(t.g8_1)))&&this.h8_1===t.h8_1)},Or.prototype.hashCode=function(){var t;if(this.i())t=-1;else{var e;e=this.f8_1;var n,r=Lt(31,e);n=this.g8_1,t=Lt(31,r+n|0)+this.h8_1|0}return t},Or.prototype.toString=function(){return this.h8_1>0?new Ou(this.f8_1)+\\\"..\\\"+new Ou(this.g8_1)+\\\" step \\\"+this.h8_1:new Ou(this.f8_1)+\\\" downTo \\\"+new Ou(this.g8_1)+\\\" step \\\"+(0|-this.h8_1)},Or.$metadata$=fh(\\\"CharProgression\\\",[Iu]),Ir.$metadata$=$h(\\\"ClosedRange\\\"),Lr.$metadata$=$h(\\\"OpenEndRange\\\"),Pr.$metadata$=$h(\\\"ClosedFloatingPointRange\\\",[Ir]),zr.prototype.x7=function(){return this.s8_1},zr.prototype.y7=function(){return this.t8_1},zr.prototype.u8=function(t){return t>=this.s8_1&&t<=this.t8_1},zr.prototype.t3=function(t){return this.u8(\\\"number\\\"==typeof t?t:Tc())},zr.prototype.i=function(){return!(this.s8_1<=this.t8_1)},zr.prototype.equals=function(t){return t instanceof zr&&(!(!this.i()||!t.i())||this.s8_1===t.s8_1&&this.t8_1===t.t8_1)},zr.prototype.hashCode=function(){return this.i()?-1:Lt(31,oc(this.s8_1))+oc(this.t8_1)|0},zr.prototype.toString=function(){return this.s8_1+\\\"..\\\"+this.t8_1},zr.$metadata$=fh(\\\"ClosedDoubleRange\\\",[Pr]),Rr.$metadata$=$h(\\\"KClassifier\\\"),Dr.$metadata$=$h(\\\"KTypeParameter\\\",[Rr]),$r.prototype.y8=function(t){return new Nr((function(){if(M)return ma();M=!0,C=new Fr(\\\"INVARIANT\\\",0),new Fr(\\\"IN\\\",1),new Fr(\\\"OUT\\\",2)}(),C),t)},$r.$metadata$=Bh(\\\"Companion\\\"),Nr.prototype.b9=function(){return this.z8_1},Nr.prototype.c9=function(){return this.a9_1},Nr.prototype.toString=function(){var t,e=this.z8_1;switch(null==e?-1:e.z1_1){case-1:t=\\\"*\\\";break;case 0:t=Hu(this.a9_1);break;case 1:t=\\\"in \\\"+this.a9_1;break;case 2:t=\\\"out \\\"+this.a9_1;break;default:Ec()}return t},Nr.prototype.hashCode=function(){var t=null==this.z8_1?0:this.z8_1.hashCode();return Lt(t,31)+(null==this.a9_1?0:bc(this.a9_1))|0},Nr.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Nr))return!1;var e=t instanceof Nr?t:Tc();return!!_c(this.z8_1,e.z8_1)&&!!_c(this.a9_1,e.a9_1)},Nr.$metadata$=fh(\\\"KTypeProjection\\\"),Fr.$metadata$=fh(\\\"KVariance\\\",void 0,void 0,void 0,void 0,Vu.prototype),ci.prototype.g=function(){if(-1===this.s9_1&&ui(this),0===this.s9_1)throw yp();var t=this.v9_1,e=t instanceof xr?t:Tc();return this.v9_1=null,this.s9_1=-1,e},ci.prototype.f=function(){return-1===this.s9_1&&ui(this),1===this.s9_1},ci.$metadata$=fh(void 0,[ua]),hi.prototype.e=function(){return new ci(this)},hi.$metadata$=fh(\\\"DelimitedRangesSequence\\\",[xn]),di.prototype.e5=function(){var t=this.ca_1;return this.ca_1=t+1|0,sc(this.da_1,t)},di.prototype.f=function(){return this.ca_1<uc(this.da_1)},di.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,bn.prototype),mi.$metadata$=$h(\\\"MatchResult\\\"),vi.$metadata$=$h(\\\"MatchGroupCollection\\\",[Du]),gi.$metadata$=$h(\\\"MatchNamedGroupCollection\\\",[vi]),wi.prototype.ma=function(t){return Fi(t,_u())},wi.prototype.na=function(t){var e;try{e=function(t,e){var n=t.length;if(0===n)throw up(\\\"The string is empty\\\");var r=0,i=Ai().ja_1,o=sc(t,r);(_c(new Ou(o),new Ou(43))||_c(new Ou(o),new Ou(45)))&&(r=r+1|0);var a=r>0,s=!!a&&Zr(t,45,!1,2);if(n<=r)throw up(\\\"No components\\\");if(!_c(new Ou(sc(t,r)),new Ou(80)))throw sp();if((r=r+1|0)===n)throw sp();for(var l=!1,u=null;r<n;)if(_c(new Ou(sc(t,r)),new Ou(84))){if(l||(r=r+1|0)===n)throw sp();l=!0}else{var c=r,h=c;t:for(;;){var p;if(h<t.length){var f=sc(t,h);p=48<=f&&f<=57||Qr(\\\"+-.\\\",f,!1,2)}else p=!1;if(!p)break t;h=h+1|0}var d=h,m=t.substring(c,d);if(0===uc(m))throw sp();var v=r=r+m.length|0;if(!(v>=0&&v<=ei(t)))throw up(\\\"Missing unit for value \\\"+m);r=r+1|0;var g=Xi(sc(t,v),l);if(null!=u&&u.d2(g)<=0)throw up(\\\"Unexpected order of duration components\\\");u=g;var y=Kr(m,46,0,!1,6);g.equals(bu())&&y>0?(i=Mi(i,ji(Wi(m.substring(0,y)),g)),i=Mi(i,Ui(Fl(m.substring(y)),g))):i=Mi(i,ji(Wi(m),g))}return s?Ci(i):i}(t)}catch(e){throw e instanceof pp?hp(\\\"Invalid ISO duration string format: '\\\"+t+\\\"'.\\\",e):e}return e},wi.$metadata$=Bh(\\\"Companion\\\"),Bi.prototype.ua=function(t){return Ii(this.pa_1,t)},Bi.prototype.va=function(t){return function(t,e){return Ii(t.pa_1,e instanceof Bi?e.pa_1:Tc())}(this,t)},Bi.prototype.toString=function(){return function(t){var e,n=t;if(n.equals(new Lc(0,0)))e=\\\"0s\\\";else if(n.equals(Ai().ka_1))e=\\\"Infinity\\\";else if(n.equals(Ai().la_1))e=\\\"-Infinity\\\";else{var r=Ti(t),i=Pl();r&&i.d9(45);var o=Oi(t),a=function(t){return Ri(t,Au())}(o),s=function(t){return Si(t)?0:Di(t).qa(new Lc(24,0)).ia()}(o),l=Li(o),u=Pi(o),c=zi(o),h=!a.equals(new Lc(0,0)),p=!(0===s),f=!(0===l),d=0!==u||!(0===c),m=0;if(h&&(i.ra(a).d9(100),m=m+1|0),p||h&&(f||d)){var v=m;m=v+1|0,v>0&&i.d9(32),i.ra(s).d9(104)}if(f||d&&(p||h)){var g=m;m=g+1|0,g>0&&i.d9(32),i.ra(l).d9(109)}if(d){var y=m;m=y+1|0,y>0&&i.d9(32),0!==u||h||p||f?$i(i,0,u,c,9,\\\"s\\\",!1):c>=1e6?$i(i,0,c/1e6|0,c%1e6|0,6,\\\"ms\\\",!1):c>=1e3?$i(i,0,c/1e3|0,c%1e3|0,3,\\\"us\\\",!1):i.ra(c).f9(\\\"ns\\\")}r&&m>1&&(i.sa(1,40).d9(41),ma()),e=i.toString()}return e}(this.pa_1)},Bi.prototype.hashCode=function(){return this.pa_1.hashCode()},Bi.prototype.equals=function(t){return function(t,e){if(!(e instanceof Bi))return!1;var n=e instanceof Bi?e.pa_1:Tc();return!!t.equals(n)}(this.pa_1,t)},Bi.$metadata$=fh(\\\"Duration\\\",[la]),Zi.$metadata$=fh(\\\"DeepRecursiveScope\\\"),Ki.$metadata$=fh(\\\"DeepRecursiveFunction\\\"),Ji.prototype.p5=function(){return or()},Ji.prototype.eb=function(t){this.bb_1=null,this.cb_1=t},Ji.prototype.n5=function(t){return this.eb(t)},Ji.prototype.xa=function(t,e){var n=e;return this.bb_1=gh(n,Zn)?n:Tc(),this.ab_1=t,pr()},Ji.prototype.db=function(){t:for(;;){var t=this.cb_1,e=this.bb_1;if(null==e){var n=new ho(t)instanceof ho?t:Tc();fo(n);var r=n;return null==r||Mh(r)?r:Tc()}var i=e;if(_c(Yi(),t)){var o;try{var a,s=this.za_1,l=this.ab_1;o=\\\"function\\\"==typeof(a=s)?a(this,l,i):s.fb(this,l,i)}catch(t){if(t instanceof Error){var u;uo(),u=po(t),i.n5(u),ma();continue t}throw t}var c=o;if(c!==pr()){var h,p=null==c||Mh(c)?c:Tc();uo(),h=p,i.n5(h),ma()}}else this.cb_1=Yi(),i.n5(t)}},Ji.$metadata$=fh(\\\"DeepRecursiveScopeImpl\\\",[Zn],void 0,void 0,void 0,Zi.prototype),to.$metadata$=$h(\\\"Lazy\\\"),no.$metadata$=fh(\\\"LazyThreadSafetyMode\\\",void 0,void 0,void 0,void 0,Vu.prototype),ro.prototype.w2=function(){this.hb_1===oo()&&(this.hb_1=Mc(this.gb_1)(),this.gb_1=null);var t=this.hb_1;return null==t||Mh(t)?t:Tc()},ro.prototype.ib=function(){return!(this.hb_1===oo())},ro.prototype.toString=function(){return this.ib()?Hu(this.w2()):\\\"Lazy value not initialized yet.\\\"},ro.$metadata$=fh(\\\"UnsafeLazyImpl\\\",[to,Bs]),io.$metadata$=Bh(\\\"UNINITIALIZED_VALUE\\\"),lo.prototype.kb=function(t){return t},lo.prototype.lb=function(t){return po(t)},lo.$metadata$=Bh(\\\"Companion\\\"),co.prototype.equals=function(t){return t instanceof co&&_c(this.jb_1,t.jb_1)},co.prototype.hashCode=function(){return bc(this.jb_1)},co.prototype.toString=function(){return\\\"Failure(\\\"+this.jb_1+\\\")\\\"},co.$metadata$=fh(\\\"Failure\\\",[Bs]),ho.prototype.toString=function(){return(t=this.mb_1)instanceof co?yc(t):\\\"Success(\\\"+Hu(t)+\\\")\\\";var t},ho.prototype.hashCode=function(){return null==(t=this.mb_1)?0:bc(t);var t},ho.prototype.equals=function(t){return function(t,e){return e instanceof ho&&!!_c(t,e instanceof ho?e.mb_1:Tc())}(this.mb_1,t)},ho.$metadata$=fh(\\\"Result\\\",[Bs]),mo.$metadata$=fh(\\\"NotImplementedError\\\",void 0,void 0,void 0,void 0,ap.prototype),vo.prototype.nb=function(){return this.t_1},vo.prototype.ob=function(){return this.u_1},vo.prototype.toString=function(){return\\\"(\\\"+this.t_1+\\\", \\\"+this.u_1+\\\")\\\"},vo.prototype.m4=function(){return this.t_1},vo.prototype.n4=function(){return this.u_1},vo.prototype.hashCode=function(){var t=null==this.t_1?0:bc(this.t_1);return Lt(t,31)+(null==this.u_1?0:bc(this.u_1))|0},vo.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof vo))return!1;var e=t instanceof vo?t:Tc();return!!_c(this.t_1,e.t_1)&&!!_c(this.u_1,e.u_1)},vo.$metadata$=fh(\\\"Pair\\\",[Bs]),yo.prototype.toString=function(){return\\\"(\\\"+this.pb_1+\\\", \\\"+this.qb_1+\\\", \\\"+this.rb_1+\\\")\\\"},yo.prototype.hashCode=function(){var t=null==this.pb_1?0:bc(this.pb_1);return t=Lt(t,31)+(null==this.qb_1?0:bc(this.qb_1))|0,Lt(t,31)+(null==this.rb_1?0:bc(this.rb_1))|0},yo.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof yo))return!1;var e=t instanceof yo?t:Tc();return!!_c(this.pb_1,e.pb_1)&&!!_c(this.qb_1,e.qb_1)&&!!_c(this.rb_1,e.rb_1)},yo.$metadata$=fh(\\\"Triple\\\",[Bs]),_o.$metadata$=Bh(\\\"Companion\\\"),Ao.prototype.xb=function(t){return xo(this.wb_1,t)},Ao.prototype.va=function(t){return function(t,e){return xo(t.wb_1,e instanceof Ao?e.wb_1:Tc())}(this,t)},Ao.prototype.toString=function(){return wo(this.wb_1)},Ao.prototype.hashCode=function(){return this.wb_1},Ao.prototype.equals=function(t){return function(t,e){return e instanceof Ao&&t===(e instanceof Ao?e.wb_1:Tc())}(this.wb_1,t)},Ao.$metadata$=fh(\\\"UByte\\\",[la]),Mo.prototype.f=function(){return this.zb_1<this.yb_1.length},Mo.prototype.ac=function(){if(!(this.zb_1<this.yb_1.length))throw bp(this.zb_1.toString());var t=this.zb_1;return this.zb_1=t+1|0,this.yb_1[t]},Mo.prototype.g=function(){return new Ao(this.ac())},Mo.$metadata$=fh(\\\"Iterator\\\",[ua]),To.prototype.h=function(){return Co(this.bc_1)},To.prototype.e=function(){return new Mo(this.bc_1)},To.prototype.cc=function(t){return Eo(this.bc_1,t)},To.prototype.u1=function(t){return function(t,e){return Eo(t.bc_1,e)}(this,t)},To.prototype.i=function(){return 0===this.bc_1.length},To.prototype.toString=function(){return\\\"UByteArray(storage=\\\"+yc(this.bc_1)+\\\")\\\"},To.prototype.hashCode=function(){return bc(this.bc_1)},To.prototype.equals=function(t){return function(t,e){return e instanceof To&&!!_c(t,e instanceof To?e.bc_1:Tc())}(this.bc_1,t)},To.$metadata$=fh(\\\"UByteArray\\\",[Du]),So.$metadata$=Bh(\\\"Companion\\\"),Lo.prototype.jc=function(t){return Oo(this.hc_1,t)},Lo.prototype.va=function(t){return function(t,e){return Oo(t.hc_1,e instanceof Lo?e.hc_1:Tc())}(this,t)},Lo.prototype.toString=function(){return Io(this.hc_1)},Lo.prototype.hashCode=function(){return this.hc_1},Lo.prototype.equals=function(t){return function(t,e){return e instanceof Lo&&t===(e instanceof Lo?e.hc_1:Tc())}(this.hc_1,t)},Lo.$metadata$=fh(\\\"UInt\\\",[la]),zo.prototype.f=function(){return this.lc_1<this.kc_1.length},zo.prototype.mc=function(){if(!(this.lc_1<this.kc_1.length))throw bp(this.lc_1.toString());var t=this.lc_1;return this.lc_1=t+1|0,this.kc_1[t]},zo.prototype.g=function(){return new Lo(this.mc())},zo.$metadata$=fh(\\\"Iterator\\\",[ua]),Do.prototype.h=function(){return Po(this.nc_1)},Do.prototype.e=function(){return new zo(this.nc_1)},Do.prototype.oc=function(t){return Ro(this.nc_1,t)},Do.prototype.u1=function(t){return function(t,e){return Ro(t.nc_1,e)}(this,t)},Do.prototype.i=function(){return 0===this.nc_1.length},Do.prototype.toString=function(){return\\\"UIntArray(storage=\\\"+yc(this.nc_1)+\\\")\\\"},Do.prototype.hashCode=function(){return bc(this.nc_1)},Do.prototype.equals=function(t){return function(t,e){return e instanceof Do&&!!_c(t,e instanceof Do?e.nc_1:Tc())}(this.nc_1,t)},Do.$metadata$=fh(\\\"UIntArray\\\",[Du]),$o.$metadata$=Bh(\\\"Companion\\\"),jo.prototype.uc=function(t){return No(this.tc_1,t)},jo.prototype.va=function(t){return function(t,e){return No(t.tc_1,e instanceof jo?e.tc_1:Tc())}(this,t)},jo.prototype.toString=function(){return Fo(this.tc_1)},jo.prototype.hashCode=function(){return this.tc_1.hashCode()},jo.prototype.equals=function(t){return function(t,e){if(!(e instanceof jo))return!1;var n=e instanceof jo?e.tc_1:Tc();return!!t.equals(n)}(this.tc_1,t)},jo.$metadata$=fh(\\\"ULong\\\",[la]),qo.prototype.f=function(){return this.wc_1<this.vc_1.length},qo.prototype.xc=function(){if(!(this.wc_1<this.vc_1.length))throw bp(this.wc_1.toString());var t=this.wc_1;return this.wc_1=t+1|0,this.vc_1[t]},qo.prototype.g=function(){return new jo(this.xc())},qo.$metadata$=fh(\\\"Iterator\\\",[ua]),Ho.prototype.h=function(){return Uo(this.yc_1)},Ho.prototype.e=function(){return new qo(this.yc_1)},Ho.prototype.zc=function(t){return Vo(this.yc_1,t)},Ho.prototype.u1=function(t){return function(t,e){return Vo(t.yc_1,e)}(this,t)},Ho.prototype.i=function(){return 0===this.yc_1.length},Ho.prototype.toString=function(){return\\\"ULongArray(storage=\\\"+yc(this.yc_1)+\\\")\\\"},Ho.prototype.hashCode=function(){return bc(this.yc_1)},Ho.prototype.equals=function(t){return function(t,e){return e instanceof Ho&&!!_c(t,e instanceof Ho?e.yc_1:Tc())}(this.yc_1,t)},Ho.$metadata$=fh(\\\"ULongArray\\\",[Du]),Go.$metadata$=Bh(\\\"Companion\\\"),Zo.prototype.fd=function(t){return Xo(this.ed_1,t)},Zo.prototype.va=function(t){return function(t,e){return Xo(t.ed_1,e instanceof Zo?e.ed_1:Tc())}(this,t)},Zo.prototype.toString=function(){return Yo(this.ed_1)},Zo.prototype.hashCode=function(){return this.ed_1},Zo.prototype.equals=function(t){return function(t,e){return e instanceof Zo&&t===(e instanceof Zo?e.ed_1:Tc())}(this.ed_1,t)},Zo.$metadata$=fh(\\\"UShort\\\",[la]),Jo.prototype.f=function(){return this.hd_1<this.gd_1.length},Jo.prototype.id=function(){if(!(this.hd_1<this.gd_1.length))throw bp(this.hd_1.toString());var t=this.hd_1;return this.hd_1=t+1|0,this.gd_1[t]},Jo.prototype.g=function(){return new Zo(this.id())},Jo.$metadata$=fh(\\\"Iterator\\\",[ua]),ta.prototype.h=function(){return Ko(this.jd_1)},ta.prototype.e=function(){return new Jo(this.jd_1)},ta.prototype.kd=function(t){return Qo(this.jd_1,t)},ta.prototype.u1=function(t){return function(t,e){return Qo(t.jd_1,e)}(this,t)},ta.prototype.i=function(){return 0===this.jd_1.length},ta.prototype.toString=function(){return\\\"UShortArray(storage=\\\"+yc(this.jd_1)+\\\")\\\"},ta.prototype.hashCode=function(){return bc(this.jd_1)},ta.prototype.equals=function(t){return function(t,e){return e instanceof ta&&!!_c(t,e instanceof ta?e.jd_1:Tc())}(this.jd_1,t)},ta.$metadata$=fh(\\\"UShortArray\\\",[Du]),aa.$metadata$=$h(\\\"Annotation\\\"),sa.$metadata$=$h(\\\"CharSequence\\\"),la.$metadata$=$h(\\\"Comparable\\\"),ua.$metadata$=$h(\\\"Iterator\\\"),ca.$metadata$=$h(\\\"MutableIterator\\\",[ua]),ha.$metadata$=$h(\\\"ListIterator\\\",[ua]),pa.$metadata$=$h(\\\"MutableListIterator\\\",[ha,ca]),fa.$metadata$=fh(\\\"Number\\\"),da.prototype.toString=function(){return\\\"kotlin.Unit\\\"},da.$metadata$=Bh(\\\"Unit\\\"),va.prototype.vd=function(){return this.rd_1},va.prototype.wd=function(){return this.sd_1},va.prototype.xd=function(){return this.td_1},va.prototype.yd=function(){return this.ud_1},va.$metadata$=Bh(\\\"ByteCompanionObject\\\"),Object.defineProperty(va.prototype,\\\"MIN_VALUE\\\",{configurable:!0,get:va.prototype.vd}),Object.defineProperty(va.prototype,\\\"MAX_VALUE\\\",{configurable:!0,get:va.prototype.wd}),Object.defineProperty(va.prototype,\\\"SIZE_BYTES\\\",{configurable:!0,get:va.prototype.xd}),Object.defineProperty(va.prototype,\\\"SIZE_BITS\\\",{configurable:!0,get:va.prototype.yd}),ga.prototype.vd=function(){return this.zd_1},ga.prototype.wd=function(){return this.ae_1},ga.prototype.xd=function(){return this.be_1},ga.prototype.yd=function(){return this.ce_1},ga.$metadata$=Bh(\\\"ShortCompanionObject\\\"),Object.defineProperty(ga.prototype,\\\"MIN_VALUE\\\",{configurable:!0,get:ga.prototype.vd}),Object.defineProperty(ga.prototype,\\\"MAX_VALUE\\\",{configurable:!0,get:ga.prototype.wd}),Object.defineProperty(ga.prototype,\\\"SIZE_BYTES\\\",{configurable:!0,get:ga.prototype.xd}),Object.defineProperty(ga.prototype,\\\"SIZE_BITS\\\",{configurable:!0,get:ga.prototype.yd}),ya.prototype.vd=function(){return this.a1_1},ya.prototype.wd=function(){return this.b1_1},ya.prototype.xd=function(){return this.c1_1},ya.prototype.yd=function(){return this.d1_1},ya.$metadata$=Bh(\\\"IntCompanionObject\\\"),Object.defineProperty(ya.prototype,\\\"MIN_VALUE\\\",{configurable:!0,get:ya.prototype.vd}),Object.defineProperty(ya.prototype,\\\"MAX_VALUE\\\",{configurable:!0,get:ya.prototype.wd}),Object.defineProperty(ya.prototype,\\\"SIZE_BYTES\\\",{configurable:!0,get:ya.prototype.xd}),Object.defineProperty(ya.prototype,\\\"SIZE_BITS\\\",{configurable:!0,get:ya.prototype.yd}),ba.prototype.vd=function(){return this.de_1},ba.prototype.wd=function(){return this.ee_1},ba.prototype.ke=function(){return this.fe_1},ba.prototype.le=function(){return this.ge_1},ba.prototype.me=function(){return this.he_1},ba.prototype.xd=function(){return this.ie_1},ba.prototype.yd=function(){return this.je_1},ba.$metadata$=Bh(\\\"FloatCompanionObject\\\"),Object.defineProperty(ba.prototype,\\\"MIN_VALUE\\\",{configurable:!0,get:ba.prototype.vd}),Object.defineProperty(ba.prototype,\\\"MAX_VALUE\\\",{configurable:!0,get:ba.prototype.wd}),Object.defineProperty(ba.prototype,\\\"POSITIVE_INFINITY\\\",{configurable:!0,get:ba.prototype.ke}),Object.defineProperty(ba.prototype,\\\"NEGATIVE_INFINITY\\\",{configurable:!0,get:ba.prototype.le}),Object.defineProperty(ba.prototype,\\\"NaN\\\",{configurable:!0,get:ba.prototype.me}),Object.defineProperty(ba.prototype,\\\"SIZE_BYTES\\\",{configurable:!0,get:ba.prototype.xd}),Object.defineProperty(ba.prototype,\\\"SIZE_BITS\\\",{configurable:!0,get:ba.prototype.yd}),wa.prototype.vd=function(){return this.ne_1},wa.prototype.wd=function(){return this.oe_1},wa.prototype.ke=function(){return this.pe_1},wa.prototype.le=function(){return this.qe_1},wa.prototype.me=function(){return this.re_1},wa.prototype.xd=function(){return this.se_1},wa.prototype.yd=function(){return this.te_1},wa.$metadata$=Bh(\\\"DoubleCompanionObject\\\"),Object.defineProperty(wa.prototype,\\\"MIN_VALUE\\\",{configurable:!0,get:wa.prototype.vd}),Object.defineProperty(wa.prototype,\\\"MAX_VALUE\\\",{configurable:!0,get:wa.prototype.wd}),Object.defineProperty(wa.prototype,\\\"POSITIVE_INFINITY\\\",{configurable:!0,get:wa.prototype.ke}),Object.defineProperty(wa.prototype,\\\"NEGATIVE_INFINITY\\\",{configurable:!0,get:wa.prototype.le}),Object.defineProperty(wa.prototype,\\\"NaN\\\",{configurable:!0,get:wa.prototype.me}),Object.defineProperty(wa.prototype,\\\"SIZE_BYTES\\\",{configurable:!0,get:wa.prototype.xd}),Object.defineProperty(wa.prototype,\\\"SIZE_BITS\\\",{configurable:!0,get:wa.prototype.yd}),Ca.$metadata$=Bh(\\\"StringCompanionObject\\\"),Ma.$metadata$=Bh(\\\"BooleanCompanionObject\\\"),Ea.$metadata$=$h(\\\"Comparator\\\"),Da.prototype.r=function(t){this.ue();for(var e=!1,n=t.e();n.f();){var r=n.g();this.a(r)&&(e=!0)}return e},Da.prototype.toJSON=function(){return this.toArray()},Da.prototype.ue=function(){},Da.$metadata$=fh(\\\"AbstractMutableCollection\\\",[ju],void 0,void 0,void 0,Ce.prototype),$a.prototype.f=function(){return this.ve_1<this.xe_1.h()},$a.prototype.g=function(){if(!this.f())throw yp();var t=this.ve_1;return this.ve_1=t+1|0,this.we_1=t,this.xe_1.j(this.we_1)},$a.prototype.a5=function(){if(-1===this.we_1)throw mp(yc(\\\"Call next() or previous() before removing element from the iterator.\\\"));this.xe_1.z4(this.we_1),this.ve_1=this.we_1,this.we_1=-1},$a.$metadata$=fh(\\\"IteratorImpl\\\",[ca]),Ba.prototype.l=function(){return this.ve_1>0},Ba.prototype.m=function(){return this.ve_1},Ba.prototype.n=function(){if(!this.l())throw yp();var t=this;return t.ve_1=t.ve_1-1|0,this.we_1=t.ve_1,this.cf_1.j(this.we_1)},Ba.$metadata$=fh(\\\"ListIteratorImpl\\\",[pa],void 0,void 0,void 0,$a.prototype),Na.prototype.hf=function(t,e){Re().p2(t,this.gf_1),this.ef_1.hf(this.ff_1+t|0,e);var n=this.gf_1;this.gf_1=n+1|0},Na.prototype.j=function(t){return Re().i2(t,this.gf_1),this.ef_1.j(this.ff_1+t|0)},Na.prototype.z4=function(t){Re().i2(t,this.gf_1);var e=this.ef_1.z4(this.ff_1+t|0),n=this.gf_1;return this.gf_1=n-1|0,e},Na.prototype.y4=function(t,e){return Re().i2(t,this.gf_1),this.ef_1.y4(this.ff_1+t|0,e)},Na.prototype.h=function(){return this.gf_1},Na.prototype.ue=function(){return this.ef_1.ue()},Na.$metadata$=fh(\\\"SubList\\\",[zs],void 0,void 0,void 0,Fa.prototype),Fa.prototype.a=function(t){return this.ue(),this.hf(this.h(),t),!0},Fa.prototype.if=function(){this.ue(),this.kf(0,this.h())},Fa.prototype.e=function(){return new $a(this)},Fa.prototype.t1=function(t){return this.jf(t)>=0},Fa.prototype.jf=function(t){var e=0,n=nn(this);if(e<=n)do{var r=e;if(e=e+1|0,_c(this.j(r),t))return r}while(r!==n);return-1},Fa.prototype.k=function(t){return new Ba(this,t)},Fa.prototype.j2=function(t,e){return new Na(this,t,e)},Fa.prototype.kf=function(t,e){var n=this.k(t),r=e-t|0,i=0;if(i<r)do{i=i+1|0,n.g(),n.a5()}while(i<r)},Fa.prototype.equals=function(t){return t===this||!(null==t||!gh(t,Lu))&&Re().s2(this,t)},Fa.prototype.hashCode=function(){return Re().r2(this)},Fa.$metadata$=fh(\\\"AbstractMutableList\\\",[$u],void 0,void 0,void 0,Da.prototype),ja.prototype.f=function(){return this.lf_1.f()},ja.prototype.g=function(){return this.lf_1.g().u2()},ja.prototype.a5=function(){return this.lf_1.a5()},ja.$metadata$=fh(void 0,[ca]),Ua.prototype.f=function(){return this.mf_1.f()},Ua.prototype.g=function(){return this.mf_1.g().w2()},Ua.prototype.a5=function(){return this.mf_1.a5()},Ua.$metadata$=fh(void 0,[ca]),qa.prototype.u2=function(){return this.nf_1},qa.prototype.w2=function(){return this.of_1},qa.prototype.pf=function(t){var e=this.of_1;return this.of_1=t,e},qa.prototype.hashCode=function(){return Ue().x2(this)},qa.prototype.toString=function(){return Ue().y2(this)},qa.prototype.equals=function(t){return Ue().z2(this,t)},qa.$metadata$=fh(\\\"SimpleEntry\\\",[Nu]),Va.prototype.t1=function(t){return this.qf(t)},Va.$metadata$=fh(\\\"AbstractEntrySet\\\",void 0,void 0,void 0,void 0,Xa.prototype),Ha.prototype.sf=function(t){throw kp(\\\"Add is not supported on keys\\\")},Ha.prototype.a=function(t){return this.sf(null==t||Mh(t)?t:Tc())},Ha.prototype.b3=function(t){return this.rf_1.e3(t)},Ha.prototype.t1=function(t){return!(null!=t&&!Mh(t))&&this.b3(null==t||Mh(t)?t:Tc())},Ha.prototype.e=function(){return new ja(this.rf_1.y().e())},Ha.prototype.h=function(){return this.rf_1.h()},Ha.prototype.ue=function(){return this.rf_1.ue()},Ha.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,Xa.prototype),Ga.prototype.uf=function(t){throw kp(\\\"Add is not supported on values\\\")},Ga.prototype.a=function(t){return this.uf(null==t||Mh(t)?t:Tc())},Ga.prototype.h3=function(t){return this.tf_1.i3(t)},Ga.prototype.t1=function(t){return!(null!=t&&!Mh(t))&&this.h3(null==t||Mh(t)?t:Tc())},Ga.prototype.e=function(){return new Ua(this.tf_1.y().e())},Ga.prototype.h=function(){return this.tf_1.h()},Ga.prototype.ue=function(){return this.tf_1.ue()},Ga.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,Da.prototype),Wa.prototype.k3=function(){return null==this.g4_1&&(this.g4_1=new Ha(this)),Mc(this.g4_1)},Wa.prototype.i4=function(t){this.ue();for(var e=t.y().e();e.f();){var n=e.g(),r=n.u2(),i=n.w2();this.b(r,i)}},Wa.prototype.l3=function(){return null==this.h4_1&&(this.h4_1=new Ga(this)),Mc(this.h4_1)},Wa.prototype.vf=function(t){this.ue();for(var e=this.y().e();e.f();){var n=e.g();if(_c(t,n.u2())){var r=n.w2();return e.a5(),r}}return null},Wa.prototype.ue=function(){},Wa.$metadata$=fh(\\\"AbstractMutableMap\\\",[Fu],void 0,void 0,void 0,He.prototype),Xa.prototype.equals=function(t){return t===this||!(null==t||!gh(t,Pu))&&We().n3(this,t)},Xa.prototype.hashCode=function(){return We().m3(this)},Xa.$metadata$=fh(\\\"AbstractMutableSet\\\",[Bu],void 0,void 0,void 0,Da.prototype),Qa.prototype.v3=function(){return this.ue(),this.q_1=!0,this},Qa.prototype.wf=function(t){},Qa.prototype.h=function(){return this.p_1.length},Qa.prototype.j=function(t){var e=this.p_1[Ja(this,t)];return null==e||Mh(e)?e:Tc()},Qa.prototype.y4=function(t,e){this.ue(),Ja(this,t);var n=this.p_1[t];this.p_1[t]=e;var r=n;return null==r||Mh(r)?r:Tc()},Qa.prototype.a=function(t){this.ue(),this.p_1.push(t);var e=this.ye_1;return this.ye_1=e+1|0,!0},Qa.prototype.hf=function(t,e){this.ue(),this.p_1.splice(function(t,e){return Re().p2(e,t.h()),e}(this,t),0,e);var n=this.ye_1;this.ye_1=n+1|0},Qa.prototype.r=function(t){if(this.ue(),t.i())return!1;var e,n=this.p_1,r=Oa(t);e=n.concat(r),this.p_1=e;var i=this.ye_1;return this.ye_1=i+1|0,!0},Qa.prototype.z4=function(t){this.ue(),Ja(this,t);var e=this.ye_1;return this.ye_1=e+1|0,t===nn(this)?this.p_1.pop():this.p_1.splice(t,1)[0]},Qa.prototype.kf=function(t,e){this.ue();var n=this.ye_1;this.ye_1=n+1|0,this.p_1.splice(t,e-t|0)},Qa.prototype.if=function(){var t;this.ue(),t=[],this.p_1=t;var e=this.ye_1;this.ye_1=e+1|0},Qa.prototype.jf=function(t){return Ht(this.p_1,t)},Qa.prototype.toString=function(){return Nt(this.p_1,\\\", \\\",\\\"[\\\",\\\"]\\\",0,null,fc,24)},Qa.prototype.xf=function(){return[].slice.call(this.p_1)},Qa.prototype.toArray=function(){return this.xf()},Qa.prototype.ue=function(){if(this.q_1)throw Sp()},Qa.$metadata$=fh(\\\"ArrayList\\\",[$u,zs],void 0,void 0,void 0,Fa.prototype),rs.prototype.yf=function(t,e){return _c(t,e)},rs.prototype.zf=function(t){var e=null==t?null:bc(t);return null==e?0:e},rs.$metadata$=Bh(\\\"HashCode\\\",[is]),is.$metadata$=$h(\\\"EqualityComparator\\\"),os.prototype.bg=function(t){throw kp(\\\"Add is not supported on entries\\\")},os.prototype.a=function(t){return this.bg(null!=t&&gh(t,Nu)?t:Tc())},os.prototype.qf=function(t){return this.ag_1.j3(t)},os.prototype.e=function(){return this.ag_1.gg_1.e()},os.prototype.h=function(){return this.ag_1.h()},os.$metadata$=fh(\\\"EntrySet\\\",void 0,void 0,void 0,void 0,Va.prototype),cs.prototype.if=function(){this.gg_1.if()},cs.prototype.e3=function(t){return this.gg_1.b3(t)},cs.prototype.i3=function(t){var e;t:{var n=this.gg_1;if(gh(n,Du)&&n.i())e=!1;else{for(var r=n.e();r.f();){var i=r.g();if(this.hg_1.yf(i.w2(),t)){e=!0;break t}}e=!1}}return e},cs.prototype.y=function(){return null==this.ig_1&&(this.ig_1=this.kg()),Mc(this.ig_1)},cs.prototype.kg=function(){return new os(this)},cs.prototype.s=function(t){return this.gg_1.s(t)},cs.prototype.b=function(t,e){return this.gg_1.b(t,e)},cs.prototype.vf=function(t){return this.gg_1.vf(t)},cs.prototype.h=function(){return this.gg_1.h()},cs.$metadata$=fh(\\\"HashMap\\\",[Fu],void 0,void 0,void 0,Wa.prototype),ds.prototype.a=function(t){return null==this.p6_1.b(t,this)},ds.prototype.t1=function(t){return this.p6_1.e3(t)},ds.prototype.i=function(){return this.p6_1.i()},ds.prototype.e=function(){return this.p6_1.k3().e()},ds.prototype.h=function(){return this.p6_1.h()},ds.$metadata$=fh(\\\"HashSet\\\",[Bu],void 0,void 0,void 0,Xa.prototype),ys.prototype.f=function(){return-1===this.lg_1&&(this.lg_1=function(t){if(null!=t.og_1&&t.pg_1){var e=t.og_1.length,n=t;if(n.qg_1=n.qg_1+1|0,n.qg_1<e)return 0}var r=t;if(r.ng_1=r.ng_1+1|0,r.ng_1<t.mg_1.length){t.og_1=t.sg_1.ug_1[t.mg_1[t.ng_1]];var i=t,o=t.og_1;return i.pg_1=null!=o&&Ch(o),t.qg_1=0,0}return t.og_1=null,1}(this)),0===this.lg_1},ys.prototype.g=function(){if(!this.f())throw yp();var t=this.pg_1?this.og_1[this.qg_1]:this.og_1;return this.rg_1=t,this.lg_1=-1,t},ys.prototype.a5=function(){if(null==this.rg_1)throw mp(yc(\\\"Required value was null.\\\"));this.sg_1.vf(Mc(this.rg_1).u2()),this.rg_1=null;var t=this.qg_1;this.qg_1=t-1|0},ys.$metadata$=fh(void 0,[ca]),_s.prototype.jg=function(){return this.tg_1},_s.prototype.h=function(){return this.vg_1},_s.prototype.b=function(t,e){var n=this.tg_1.zf(t),r=gs(this,n);if(null==r)this.ug_1[n]=new qa(t,e);else{if(null==r||!Ch(r)){var i,o=r;if(this.tg_1.yf(o.u2(),t))return o.pf(e);i=[o,new qa(t,e)],this.ug_1[n]=i;var a=this.vg_1;return this.vg_1=a+1|0,null}var s=r,l=vs(s,this,t);if(null!=l)return l.pf(e);s.push(new qa(t,e))}var u=this.vg_1;return this.vg_1=u+1|0,null},_s.prototype.vf=function(t){var e=this.tg_1.zf(t),n=gs(this,e);if(null==n)return null;var r=n;if(null==r||!Ch(r)){var i=r;if(this.tg_1.yf(i.u2(),t)){Xp(this.ug_1,e);var o=this.vg_1;return this.vg_1=o-1|0,i.w2()}return null}var a=r,s=0,l=a.length-1|0;if(s<=l)do{var u=s;s=s+1|0;var c=a[u];if(this.tg_1.yf(t,c.u2())){1===a.length?(a.length=0,Xp(this.ug_1,e)):a.splice(u,1);var h=this.vg_1;return this.vg_1=h-1|0,c.w2()}}while(s<=l);return null},_s.prototype.if=function(){this.ug_1=this.wg(),this.vg_1=0},_s.prototype.b3=function(t){return!(null==ms(this,t))},_s.prototype.s=function(t){var e=ms(this,t);return null==e?null:e.w2()},_s.prototype.e=function(){return new ys(this)},_s.$metadata$=fh(\\\"InternalHashCodeMap\\\",[bs]),bs.$metadata$=$h(\\\"InternalMap\\\",[Uu]),xs.prototype.f=function(){return!(null===this.yg_1)},xs.prototype.g=function(){if(!this.f())throw yp();var t=Mc(this.yg_1);this.xg_1=t;var e,n=t.dh_1;return e=n!==this.zg_1.ah_1.v4_1?n:null,this.yg_1=e,t},xs.prototype.a5=function(){if(null==this.xg_1)throw mp(yc(\\\"Check failed.\\\"));this.zg_1.ue(),Cs(Mc(this.xg_1),this.zg_1.ah_1),this.zg_1.ah_1.w4_1.vf(Mc(this.xg_1).u2()),this.xg_1=null},xs.$metadata$=fh(\\\"EntryIterator\\\",[ca]),ws.prototype.pf=function(t){return this.fh_1.ue(),qa.prototype.pf.call(this,t)},ws.$metadata$=fh(\\\"ChainEntry\\\",void 0,void 0,void 0,void 0,qa.prototype),As.prototype.bg=function(t){throw kp(\\\"Add is not supported on entries\\\")},As.prototype.a=function(t){return this.bg(null!=t&&gh(t,Nu)?t:Tc())},As.prototype.qf=function(t){return this.ah_1.j3(t)},As.prototype.e=function(){return new xs(this)},As.prototype.h=function(){return this.ah_1.h()},As.prototype.ue=function(){return this.ah_1.ue()},As.$metadata$=fh(\\\"EntrySet\\\",void 0,void 0,void 0,void 0,Va.prototype),ks.prototype.v3=function(){return this.ue(),this.x4_1=!0,this},ks.prototype.if=function(){this.ue(),this.w4_1.if(),this.v4_1=null},ks.prototype.e3=function(t){return this.w4_1.e3(t)},ks.prototype.i3=function(t){var e=this.v4_1;if(null==e)return!1;var n=e;do{if(_c(n.w2(),t))return!0;n=Mc(n.dh_1)}while(n!==this.v4_1);return!1},ks.prototype.kg=function(){return new As(this)},ks.prototype.s=function(t){var e=this.w4_1.s(t);return null==e?null:e.w2()},ks.prototype.b=function(t,e){this.ue();var n=this.w4_1.s(t);if(null==n){var r=new ws(this,t,e);return this.w4_1.b(t,r),function(t,e){if(null!=t.dh_1||null!=t.eh_1)throw mp(yc(\\\"Check failed.\\\"));var n=e.v4_1;if(null==n)e.v4_1=t,t.dh_1=t,t.eh_1=t;else{var r=n.eh_1;if(null==r)throw mp(yc(\\\"Required value was null.\\\"));var i=r;t.eh_1=i,t.dh_1=n,n.eh_1=t,i.dh_1=t}}(r,this),null}return n.pf(e)},ks.prototype.vf=function(t){this.ue();var e=this.w4_1.vf(t);return null!=e?(Cs(e,this),e.w2()):null},ks.prototype.h=function(){return this.w4_1.h()},ks.prototype.ue=function(){if(this.x4_1)throw Sp()},ks.$metadata$=fh(\\\"LinkedHashMap\\\",[Fu],void 0,void 0,void 0,cs.prototype),Ps.prototype.v3=function(){var t=this.p6_1;return(t instanceof ks?t:Tc()).v3(),this},Ps.prototype.ue=function(){return this.p6_1.ue()},Ps.$metadata$=fh(\\\"LinkedHashSet\\\",[Bu],void 0,void 0,void 0,ds.prototype),zs.$metadata$=$h(\\\"RandomAccess\\\"),Ds.$metadata$=fh(\\\"CancellationException\\\",void 0,void 0,void 0,void 0,gp.prototype),$s.prototype.h=function(){return this.gh_1.length},$s.prototype.j=function(t){if(!(0<=t&&t<=nn(this)))throw Ep(\\\"index \\\"+t+\\\" is not in range [0..\\\"+nn(this)+\\\"]\\\");return this.gh_1.item(t)},$s.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,De.prototype),Bs.$metadata$=$h(\\\"Serializable\\\"),qs.$metadata$=$h(\\\"KCallable\\\"),Vs.$metadata$=$h(\\\"KClass\\\",[Rr]),Hs.prototype.ih=function(){return this.hh_1},Hs.prototype.equals=function(t){return t instanceof Hs&&_c(this.ih(),t.ih())},Hs.prototype.hashCode=function(){var t=this.v8(),e=null==t?null:xc(t);return null==e?0:e},Hs.prototype.toString=function(){return\\\"class \\\"+this.v8()},Hs.$metadata$=fh(\\\"KClassImpl\\\",[Vs]),Gs.prototype.equals=function(t){return t instanceof Gs&&!!Hs.prototype.equals.call(this,t)&&this.kh_1===t.kh_1},Gs.prototype.v8=function(){return this.kh_1},Gs.prototype.w8=function(t){return this.lh_1(t)},Gs.$metadata$=fh(\\\"PrimitiveKClassImpl\\\",void 0,void 0,void 0,void 0,Hs.prototype),Ws.prototype.v8=function(){return this.nh_1},Ws.prototype.w8=function(t){return!1},Ws.prototype.ih=function(){throw kp(\\\"There's no native JS class for Nothing type\\\")},Ws.prototype.equals=function(t){return t===this},Ws.prototype.hashCode=function(){return 0},Ws.$metadata$=Bh(\\\"NothingKClassImpl\\\",void 0,void 0,void 0,void 0,Hs.prototype),Ys.prototype.v8=function(){throw mp(\\\"Unknown simpleName for ErrorKClass\\\")},Ys.prototype.w8=function(t){throw mp(\\\"Can's check isInstance on ErrorKClass\\\")},Ys.prototype.equals=function(t){return t===this},Ys.prototype.hashCode=function(){return 0},Ys.$metadata$=fh(\\\"ErrorKClass\\\",[Vs]),Zs.prototype.v8=function(){return this.ph_1},Zs.prototype.w8=function(t){return function(t,e){if(e===Object)return Mh(t);if(null==t||null==e||\\\"object\\\"!=typeof t&&\\\"function\\\"!=typeof t)return!1;if(\\\"function\\\"==typeof e&&Yp(t,e))return!0;var n=function(t){return Object.getPrototypeOf(t)}(e),r=null==n?null:n.constructor;if(null!=r&&Gp(\\\"$metadata$\\\",r)&&\\\"object\\\"===r.$metadata$.kind)return t===e;var i=e.$metadata$;return null==i?Yp(t,e):\\\"interface\\\"===i.kind&&null!=t.constructor&&yh(t.constructor,e)}(t,this.ih())},Zs.$metadata$=fh(\\\"SimpleKClassImpl\\\",void 0,void 0,void 0,void 0,Hs.prototype),Ks.$metadata$=$h(\\\"KProperty1\\\",[Qs]),Js.$metadata$=$h(\\\"KMutableProperty1\\\",[Ks,nl]),Qs.$metadata$=$h(\\\"KProperty\\\",[qs]),tl.$metadata$=$h(\\\"KProperty0\\\",[Qs]),el.$metadata$=$h(\\\"KMutableProperty0\\\",[tl,nl]),nl.$metadata$=$h(\\\"KMutableProperty\\\",[Qs]),rl.$metadata$=$h(\\\"KType\\\"),il.prototype.qh=function(){return this.th_1},il.prototype.rh=function(){return this.uh_1},il.prototype.sh=function(){return this.vh_1},il.prototype.equals=function(t){return!!(t instanceof il&&_c(this.th_1,t.th_1)&&_c(this.uh_1,t.uh_1))&&this.vh_1===t.vh_1},il.prototype.hashCode=function(){return Lt(Lt(bc(this.th_1),31)+bc(this.uh_1)|0,31)+(0|this.vh_1)|0},il.prototype.toString=function(){var t=this.th_1,e=gh(t,Vs)?t:null,n=null==e?yc(this.th_1):null!=e.v8()?e.v8():\\\"(non-denotable type)\\\",r=this.uh_1.i()?\\\"\\\":Kt(this.uh_1,\\\", \\\",\\\"<\\\",\\\">\\\",0,null,null,56),i=this.vh_1?\\\"?\\\":\\\"\\\";return Gu(n,r)+i},il.$metadata$=fh(\\\"KTypeImpl\\\",[rl]),Ml.prototype.qi=function(){return this.wh_1},Ml.prototype.ri=function(){return this.xh_1},Ml.prototype.si=function(){return this.yh_1},Ml.prototype.ti=function(){return this.zh_1},Ml.prototype.ui=function(){return this.ai_1},Ml.prototype.vi=function(){return this.bi_1},Ml.prototype.wi=function(){return this.ci_1},Ml.prototype.xi=function(){return this.di_1},Ml.prototype.yi=function(){return this.ei_1},Ml.prototype.zi=function(){return this.fi_1},Ml.prototype.aj=function(){return this.gi_1},Ml.prototype.bj=function(){return this.hi_1},Ml.prototype.cj=function(){return this.ii_1},Ml.prototype.dj=function(){return this.ji_1},Ml.prototype.ej=function(){return this.ki_1},Ml.prototype.fj=function(){return this.li_1},Ml.prototype.gj=function(){return this.mi_1},Ml.prototype.hj=function(){return this.ni_1},Ml.prototype.ij=function(){return this.oi_1},Ml.prototype.jj=function(){return this.pi_1},Ml.prototype.functionClass=function(t){var e,n,r=ol()[t];if(null==r){var i=new Gs(Function,\\\"Function\\\"+t,(n=t,function(t){return\\\"function\\\"==typeof t&&t.length===n}));ol()[t]=i,e=i}else e=r;return e},Ml.$metadata$=Bh(\\\"PrimitiveClasses\\\"),Object.defineProperty(Ml.prototype,\\\"anyClass\\\",{configurable:!0,get:Ml.prototype.qi}),Object.defineProperty(Ml.prototype,\\\"numberClass\\\",{configurable:!0,get:Ml.prototype.ri}),Object.defineProperty(Ml.prototype,\\\"nothingClass\\\",{configurable:!0,get:Ml.prototype.si}),Object.defineProperty(Ml.prototype,\\\"booleanClass\\\",{configurable:!0,get:Ml.prototype.ti}),Object.defineProperty(Ml.prototype,\\\"byteClass\\\",{configurable:!0,get:Ml.prototype.ui}),Object.defineProperty(Ml.prototype,\\\"shortClass\\\",{configurable:!0,get:Ml.prototype.vi}),Object.defineProperty(Ml.prototype,\\\"intClass\\\",{configurable:!0,get:Ml.prototype.wi}),Object.defineProperty(Ml.prototype,\\\"floatClass\\\",{configurable:!0,get:Ml.prototype.xi}),Object.defineProperty(Ml.prototype,\\\"doubleClass\\\",{configurable:!0,get:Ml.prototype.yi}),Object.defineProperty(Ml.prototype,\\\"arrayClass\\\",{configurable:!0,get:Ml.prototype.zi}),Object.defineProperty(Ml.prototype,\\\"stringClass\\\",{configurable:!0,get:Ml.prototype.aj}),Object.defineProperty(Ml.prototype,\\\"throwableClass\\\",{configurable:!0,get:Ml.prototype.bj}),Object.defineProperty(Ml.prototype,\\\"booleanArrayClass\\\",{configurable:!0,get:Ml.prototype.cj}),Object.defineProperty(Ml.prototype,\\\"charArrayClass\\\",{configurable:!0,get:Ml.prototype.dj}),Object.defineProperty(Ml.prototype,\\\"byteArrayClass\\\",{configurable:!0,get:Ml.prototype.ej}),Object.defineProperty(Ml.prototype,\\\"shortArrayClass\\\",{configurable:!0,get:Ml.prototype.fj}),Object.defineProperty(Ml.prototype,\\\"intArrayClass\\\",{configurable:!0,get:Ml.prototype.gj}),Object.defineProperty(Ml.prototype,\\\"longArrayClass\\\",{configurable:!0,get:Ml.prototype.hj}),Object.defineProperty(Ml.prototype,\\\"floatArrayClass\\\",{configurable:!0,get:Ml.prototype.ij}),Object.defineProperty(Ml.prototype,\\\"doubleArrayClass\\\",{configurable:!0,get:Ml.prototype.jj}),Ol.$metadata$=$h(\\\"Appendable\\\"),zl.prototype.md=function(){return this.e9_1.length},zl.prototype.nd=function(t){var e=this.e9_1;if(!(t>=0&&t<=ei(e)))throw Ep(\\\"index: \\\"+t+\\\", length: \\\"+this.md()+\\\"}\\\");return sc(e,t)},zl.prototype.od=function(t,e){return this.e9_1.substring(t,e)},zl.prototype.d9=function(t){return this.e9_1=this.e9_1+new Ou(t),this},zl.prototype.c=function(t){return this.e9_1=this.e9_1+Hu(t),this},zl.prototype.kj=function(t,e,n){var r=t;return this.ta(null==r?\\\"null\\\":r,e,n)},zl.prototype.ra=function(t){return this.e9_1=this.e9_1+Hu(t),this},zl.prototype.f9=function(t){var e=this.e9_1,n=t;return this.e9_1=e+(null==n?\\\"null\\\":n),this},zl.prototype.sa=function(t,e){Re().p2(t,this.md());var n,r=this.e9_1.substring(0,t)+new Ou(e);return n=this.e9_1.substring(t),this.e9_1=r+n,this},zl.prototype.lj=function(t){if(t<0)throw up(\\\"Negative new length: \\\"+t+\\\".\\\");if(t<=this.md()){var e;e=this.e9_1.substring(0,t),this.e9_1=e}else{var n=this.md();if(n<t)do{n=n+1|0,this.e9_1=this.e9_1+new Ou(0)}while(n<t)}},zl.prototype.toString=function(){return this.e9_1},zl.prototype.mj=function(){return this.e9_1=\\\"\\\",this},zl.prototype.ta=function(t,e,n){var r=yc(t);Re().q2(e,n,r.length);var i,o=this.e9_1;return i=r.substring(e,n),this.e9_1=o+i,this},zl.$metadata$=fh(\\\"StringBuilder\\\",[Ol,sa]),Hl.prototype.qj=function(t){var e=this.nj_1;return t.replace(e,\\\"\\\\\\\\$&\\\")},Hl.prototype.rj=function(t){var e=this.pj_1;return t.replace(e,\\\"$$$$\\\")},Hl.$metadata$=Bh(\\\"Companion\\\"),Xl.prototype.tj=function(t){kl(this.n9_1);var e=this.n9_1.exec(yc(t));return null!=e&&0===e.index&&this.n9_1.lastIndex===uc(t)},Xl.prototype.uj=function(t){return kl(this.n9_1),this.n9_1.test(yc(t))},Xl.prototype.sj=function(t,e){if(e<0||e>uc(t))throw Ep(\\\"Start index out of bounds: \\\"+e+\\\", input length: \\\"+uc(t));return Kl(this.n9_1,yc(t),e,this.n9_1)},Xl.prototype.vj=function(t,e,n,r){return 0!=(2&n)&&(e=0),this.sj(t,e)},Xl.prototype.wj=function(t,e){if(e<0||e>uc(t))throw Ep(\\\"Start index out of bounds: \\\"+e+\\\", input length: \\\"+uc(t));var n,r,i;return new Bn((n=this,r=t,i=e,function(){return n.sj(r,i)}),Wl)},Xl.prototype.xj=function(t,e,n,r){return 0!=(2&n)&&(e=0),this.wj(t,e)},Xl.prototype.yj=function(t,e){var n;if(!Qr(e,92,!1,2)&&!Qr(e,36,!1,2)){var r=yc(t),i=this.n9_1;return r.replace(i,e)}return this.r9(t,(n=e,function(t){return function(t,e){for(var n=0,r=Pl();n<e.length;){var i=n;n=i+1|0;var o=sc(e,i);if(_c(new Ou(o),new Ou(92))){if(n===e.length)throw up(\\\"The Char to be escaped is missing\\\");var a=n;n=a+1|0,r.d9(sc(e,a))}else if(_c(new Ou(o),new Ou(36))){if(n===e.length)throw up(\\\"Capturing group index is missing\\\");if(_c(new Ou(sc(e,n)),new Ou(123))){var s=Jl(e,n=n+1|0);if(n===s)throw up(\\\"Named capturing group reference should have a non-empty name\\\");if(s===e.length||!_c(new Ou(sc(e,s)),new Ou(125)))throw up(\\\"Named capturing group reference is missing trailing '}'\\\");var l=n,u=e.substring(l,s),c=Ql(t.fa(),u),h=null==c?null:c.dk_1;r.f9(null==h?\\\"\\\":h),n=s+1|0}else{var p=sc(e,n);if(!(48<=p&&p<=57))throw up(\\\"Invalid capturing group reference\\\");var f=t.fa(),d=tu(e,n,f.h()),m=n,v=jl(e.substring(m,d));if(v>=f.h())throw Ep(\\\"Group with index \\\"+v+\\\" does not exist\\\");var g=f.j(v),y=null==g?null:g.dk_1;r.f9(null==y?\\\"\\\":y),n=d}}else r.d9(o)}return r.toString()}(t,n)}))},Xl.prototype.r9=function(t,e){var n=this.vj(t,0,2,null);if(null==n)return yc(t);var r=0,i=uc(t),o=Il();do{var a=Mc(n);o.kj(t,r,a.ea().x7()),o.c(e(a)),r=a.ea().y7()+1|0,n=a.g()}while(r<i&&null!=n);return r<i&&o.kj(t,r,i),o.toString()},Xl.prototype.q9=function(t,e){li(e);for(var n=this.xj(t,0,2,null),r=0===e?n:function(t,e){if(!(e>=0))throw up(yc(\\\"Requested element count \\\"+e+\\\" is less than zero.\\\"));return 0===e?qn():gh(t,Nn)?t.l1(e):new jn(t,e)}(n,e-1|0),i=Ya(),o=0,a=r.e();a.f();){var s=a.g();i.a(yc(cc(t,o,s.ea().x7()))),o=s.ea().y7()+1|0}return i.a(yc(cc(t,o,uc(t)))),i},Xl.prototype.zj=function(t,e,n,r){return 0!=(2&n)&&(e=0),this.q9(t,e)},Xl.prototype.toString=function(){return this.n9_1.toString()},Xl.$metadata$=fh(\\\"Regex\\\"),Yl.$metadata$=fh(\\\"RegexOption\\\",void 0,void 0,void 0,void 0,Vu.prototype),Zl.prototype.toString=function(){return\\\"MatchGroup(value=\\\"+this.dk_1+\\\")\\\"},Zl.prototype.hashCode=function(){return xc(this.dk_1)},Zl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Zl))return!1;var e=t instanceof Zl?t:Tc();return this.dk_1===e.dk_1},Zl.$metadata$=fh(\\\"MatchGroup\\\"),nu.prototype.h=function(){return this.ek_1.length},nu.prototype.e=function(){var t;return ve(te(uh(0,this.h()-1|0)),(t=this,function(e){return t.j(e)})).e()},nu.prototype.j=function(t){var e;return null==(e=this.ek_1[t])?null:new Zl(e)},nu.prototype.ga=function(t){var e=this.ek_1.groups;if(null==e)throw up(\\\"Capturing group with name {\\\"+t+\\\"} does not exist. No named capturing group was defined in Regex\\\");var n=e;if(!function(t,e,n){return Object.prototype.hasOwnProperty.call(e,n)}(this.fk_1,n,t))throw up(\\\"Capturing group with name {\\\"+t+\\\"} does not exist\\\");var r=n[t];return null==r?null:new Zl(null!=r&&\\\"string\\\"==typeof r?r:Tc())},nu.$metadata$=fh(void 0,[gi],void 0,void 0,void 0,Ce.prototype),ru.prototype.ea=function(){return this.gk_1},ru.prototype.w2=function(){return Mc(this.kk_1[0])},ru.prototype.fa=function(){return this.hk_1},ru.prototype.g=function(){return Kl(this.lk_1,this.mk_1,this.jk_1.i()?function(t,e){var n,r;if(e<ei(t.mk_1)&&(55296<=(n=t.mk_1.charCodeAt(e))&&n<=56319&&56320<=(r=t.mk_1.charCodeAt(e+1|0))&&r<=57343))return e+2|0;return e+1|0}(this,this.jk_1.x7()):this.jk_1.y7()+1|0,this.lk_1)},ru.$metadata$=fh(void 0,[mi]),iu.prototype.w=function(t,e){return this.nk_1(t,e)},iu.prototype.compare=function(t,e){return this.w(t,e)},iu.$metadata$=fh(\\\"sam$kotlin_Comparator$0\\\",[Ea]),pu.prototype.sk=function(t){return cu(t,this,\\\"\\\",\\\"\\\"),this.ok_1.toString()},pu.$metadata$=fh(\\\"ExceptionTraceBuilder\\\"),du.$metadata$=fh(\\\"DurationUnit\\\",void 0,void 0,void 0,void 0,Vu.prototype),Su.$metadata$=Bh(\\\"Companion\\\"),Ou.prototype.gl=function(t){return Cu(this.q1_1,t)},Ou.prototype.va=function(t){return function(t,e){return Cu(t.q1_1,e instanceof Ou?e.q1_1:Tc())}(this,t)},Ou.prototype.equals=function(t){return function(t,e){return e instanceof Ou&&t===e.q1_1}(this.q1_1,t)},Ou.prototype.hashCode=function(){return this.q1_1},Ou.prototype.toString=function(){return Tu(this.q1_1)},Ou.$metadata$=fh(\\\"Char\\\",[la]),Iu.$metadata$=$h(\\\"Iterable\\\"),Lu.$metadata$=$h(\\\"List\\\",[Du]),Pu.$metadata$=$h(\\\"Set\\\",[Du]),zu.$metadata$=$h(\\\"Entry\\\"),Ru.$metadata$=$h(\\\"Map\\\"),Du.$metadata$=$h(\\\"Collection\\\",[Iu]),$u.$metadata$=$h(\\\"MutableList\\\",[Lu,ju]),Bu.$metadata$=$h(\\\"MutableSet\\\",[Pu,ju]),Nu.$metadata$=$h(\\\"MutableEntry\\\",[zu]),Fu.$metadata$=$h(\\\"MutableMap\\\",[Ru]),ju.$metadata$=$h(\\\"MutableCollection\\\",[Du,Uu]),Uu.$metadata$=$h(\\\"MutableIterable\\\",[Iu]),qu.$metadata$=Bh(\\\"Companion\\\"),Vu.prototype.c2=function(){return this.y1_1},Vu.prototype.d2=function(t){return dc(this.z1_1,t.z1_1)},Vu.prototype.va=function(t){return this.d2(t instanceof Vu?t:Tc())},Vu.prototype.equals=function(t){return this===t},Vu.prototype.hashCode=function(){return gc(this)},Vu.prototype.toString=function(){return this.y1_1},Vu.$metadata$=fh(\\\"Enum\\\",[la]),Qu.prototype.f=function(){return!(this.hl_1===this.il_1.length)},Qu.prototype.g=function(){if(this.hl_1===this.il_1.length)throw bp(\\\"\\\"+this.hl_1);var t=this.hl_1;return this.hl_1=t+1|0,this.il_1[t]},Qu.$metadata$=fh(void 0,[ua]),tc.prototype.f=function(){return!(this.jl_1===this.kl_1.length)},tc.prototype.c5=function(){if(this.jl_1===this.kl_1.length)throw bp(\\\"\\\"+this.jl_1);var t=this.jl_1;return this.jl_1=t+1|0,this.kl_1[t]},tc.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,_n.prototype),Oc.prototype.wd=function(){return this.ml_1},Oc.$metadata$=Bh(\\\"Companion\\\"),Lc.prototype.k1=function(t){return Bc(this,t)},Lc.prototype.va=function(t){return this.k1(t instanceof Lc?t:Tc())},Lc.prototype.pl=function(t){return this.j9(lh(t))},Lc.prototype.j9=function(t){return Nc(this,t)},Lc.prototype.ql=function(t){return this.k9(lh(t))},Lc.prototype.k9=function(t){return Fc(this,t)},Lc.prototype.rl=function(t){return this.i9(lh(t))},Lc.prototype.i9=function(t){return jc(this,t)},Lc.prototype.sl=function(t){return this.h9(lh(t))},Lc.prototype.h9=function(t){return function(t,e){if(nh(),Yc(e))throw rp(\\\"division by zero\\\");if(Yc(t))return Pc();if(Hc(t,Dc())){if(Hc(e,zc())||Hc(e,Rc()))return Dc();if(Hc(e,Dc()))return zc();var n=Uc(qc(t,1).h9(e),1);return Hc(n,Pc())?Xc(e)?zc():Rc():Nc(n,Fc(t,jc(e,n)).h9(e))}if(Hc(e,Dc()))return Pc();if(Xc(t))return Xc(e)?Kc(t).h9(Kc(e)):Kc(Kc(t).h9(e));if(Xc(e))return Kc(t.h9(Kc(e)));for(var r=Pc(),i=t;eh(i,e);){for(var o=Vc(i)/Vc(e),a=Math.max(1,Math.floor(o)),s=Math.ceil(Math.log(a)/Math.LN2),l=s<=48?1:Math.pow(2,s-48),u=Qc(a),c=jc(u,e);Xc(c)||th(c,i);)c=jc(u=Qc(a-=l),e);Yc(u)&&(u=zc()),r=Nc(r,u),i=Fc(i,c)}return r}(this,t)},Lc.prototype.tl=function(t){return this.qa(lh(t))},Lc.prototype.qa=function(t){return function(t,e){return nh(),Fc(t,jc(t.h9(e),e))}(this,t)},Lc.prototype.ul=function(){return this.j9(new Lc(1,0))},Lc.prototype.g9=function(){return this.vl().j9(new Lc(1,0))},Lc.prototype.wa=function(t){return Uc(this,t)},Lc.prototype.ha=function(t){return qc(this,t)},Lc.prototype.ld=function(t){return function(t,e){nh();var n=63&e;return 0===n?t:n<32?new Lc(t.i1_1>>>n|0|t.j1_1<<(32-n|0),t.j1_1>>>n|0):new Lc(32===n?t.j1_1:t.j1_1>>>(n-32|0)|0,0)}(this,t)},Lc.prototype.ic=function(t){return new Lc(this.i1_1&t.i1_1,this.j1_1&t.j1_1)},Lc.prototype.wl=function(t){return new Lc(this.i1_1|t.i1_1,this.j1_1|t.j1_1)},Lc.prototype.oa=function(t){return new Lc(this.i1_1^t.i1_1,this.j1_1^t.j1_1)},Lc.prototype.vl=function(){return new Lc(~this.i1_1,~this.j1_1)},Lc.prototype.xl=function(){return rh(this.i1_1)},Lc.prototype.yl=function(){return oh(this.i1_1)},Lc.prototype.ia=function(){return this.i1_1},Lc.prototype.qd=function(){return this.pd()},Lc.prototype.pd=function(){return Vc(this)},Lc.prototype.valueOf=function(){return this.pd()},Lc.prototype.equals=function(t){return t instanceof Lc&&Hc(this,t)},Lc.prototype.hashCode=function(){return this,nh(),this.i1_1^this.j1_1},Lc.prototype.toString=function(){return Gc(this,10)},Lc.$metadata$=fh(\\\"Long\\\",[la],void 0,void 0,void 0,fa.prototype),qh.$metadata$=Bh(\\\"Digit\\\"),Hh.$metadata$=Bh(\\\"Letter\\\"),Wh.$metadata$=Bh(\\\"OtherLowercase\\\"),Zh.prototype.p5=function(){return Mc(this.lm_1)},Zh.prototype.nm=function(){var t,e=this.mm_1;if(null==e){var n=this.p5().g7(Jn()),r=null==n?null:n.e7(this),i=null==r?this:r;this.mm_1=i,t=i}else t=e;return t},Zh.prototype.om=function(t){var e,n=this;if(ao(t))e=null;else{var r=t;e=null==r||Mh(r)?r:Tc()}for(var i=e,o=so(t);;){var a=n;null==o?a.im_1=i:(a.gm_1=a.hm_1,a.jm_1=o);try{var s=a.pm();if(s===pr())return ma();i=s,o=null}catch(t){i=null,o=t}Yh(a);var l=Mc(a.fm_1);if(!(l instanceof Zh)){if(null!=o){var u,c=Mc(o);uo(),u=po(c),l.n5(u),ma()}else{var h,p=i;uo(),h=p,l.n5(h),ma()}return ma()}n=l,ma()}},Zh.prototype.n5=function(t){return this.om(t)},Zh.$metadata$=fh(\\\"CoroutineImpl\\\",[Zn]),Kh.prototype.p5=function(){throw mp(\\\"This continuation is already complete\\\")},Kh.prototype.om=function(t){throw mp(\\\"This continuation is already complete\\\")},Kh.prototype.n5=function(t){return this.om(t)},Kh.prototype.toString=function(){return\\\"This continuation is already complete\\\"},Kh.$metadata$=Bh(\\\"CompletedContinuation\\\",[Zn]),tp.prototype.pm=function(){if(null!=this.jm_1)throw this.jm_1;var t;return\\\"function\\\"==typeof(t=this.an_1)?t(this.bn_1,this.zm_1):this.an_1.qm(this.bn_1,this.zm_1)},tp.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,Zh.prototype),ep.prototype.pm=function(){if(null!=this.jm_1)throw this.jm_1;return this.kn_1()},ep.$metadata$=fh(void 0,void 0,void 0,void 0,void 0,Zh.prototype),ip.$metadata$=fh(\\\"Exception\\\",void 0,void 0,void 0,void 0,Error.prototype),ap.$metadata$=fh(\\\"Error\\\",void 0,void 0,void 0,void 0,Error.prototype),pp.$metadata$=fh(\\\"IllegalArgumentException\\\",void 0,void 0,void 0,void 0,Mp.prototype),gp.$metadata$=fh(\\\"IllegalStateException\\\",void 0,void 0,void 0,void 0,Mp.prototype),xp.$metadata$=fh(\\\"NoSuchElementException\\\",void 0,void 0,void 0,void 0,Mp.prototype),Mp.$metadata$=fh(\\\"RuntimeException\\\",void 0,void 0,void 0,void 0,ip.prototype),Tp.$metadata$=fh(\\\"IndexOutOfBoundsException\\\",void 0,void 0,void 0,void 0,Mp.prototype),Op.$metadata$=fh(\\\"UnsupportedOperationException\\\",void 0,void 0,void 0,void 0,Mp.prototype),Lp.$metadata$=fh(\\\"AssertionError\\\",void 0,void 0,void 0,void 0,ap.prototype),Rp.$metadata$=fh(\\\"ClassCastException\\\",void 0,void 0,void 0,void 0,Mp.prototype),$p.$metadata$=fh(\\\"NumberFormatException\\\",void 0,void 0,void 0,void 0,pp.prototype),Np.$metadata$=fh(\\\"ArithmeticException\\\",void 0,void 0,void 0,void 0,Mp.prototype),jp.$metadata$=fh(\\\"NullPointerException\\\",void 0,void 0,void 0,void 0,Mp.prototype),qp.$metadata$=fh(\\\"NoWhenBranchMatchedException\\\",void 0,void 0,void 0,void 0,Mp.prototype),Hp.$metadata$=fh(\\\"UninitializedPropertyAccessException\\\",void 0,void 0,void 0,void 0,Mp.prototype),$h(\\\"Function1\\\"),$h(\\\"Function0\\\"),Kp.$metadata$=$h(\\\"SuspendFunction1\\\"),Jp.$metadata$=$h(\\\"SuspendFunction2\\\"),ur.prototype.n7=Rt,hr.prototype.g7=Dt,hr.prototype.m7=$t,hr.prototype.l7=Bt,hr.prototype.n7=Rt,_s.prototype.wg=function(){var t=Object.create(null);return t.foo=1,Xp(t,\\\"foo\\\"),t},G=null,Tt=0,t.$_$=t.$_$||{},t.$_$.a=function(t){var e=t.length,n=Array(e),r=0,i=e-1|0;if(r<=i)do{var o=r;r=r+1|0;var a=t[o];null!=a&&Ch(a)?n[o]=a:n[o]=[].slice.call(a)}while(o!==i);return[].concat.apply([],n)},t.$_$.b=function(t){return Br().y8(t)},t.$_$.c=function(t,e,n){return new il(t,Nh(e),n)},t.$_$.d=function(t,e){if(t instanceof Hs&&e instanceof Hs){var n,r=e.ih().$metadata$,i=null==r?null:r.associatedObjectKey;if(null==(n=null==i?null:i))return null;var o=n,a=t.ih().$metadata$,s=null==a?null:a.associatedObjects;if(null==s)return null;var l=s[o];return null==l?null:l()}return null},t.$_$.e=function(t){var e;switch(typeof t){case\\\"string\\\":e=El().gi_1;break;case\\\"number\\\":e=Wp(t,0)===t?El().ci_1:El().ei_1;break;case\\\"boolean\\\":e=El().zh_1;break;case\\\"function\\\":var n;n=t,e=El().functionClass(n.length);break;default:var r;if(kh(t))r=El().ii_1;else if(Lh(t))r=El().ji_1;else if(Oh(t))r=El().ki_1;else if(Ih(t))r=El().li_1;else if(Ph(t))r=El().mi_1;else if(Rh(t))r=El().ni_1;else if(zh(t))r=El().oi_1;else if(Dh(t))r=El().pi_1;else if(gh(t,Vs))r=Tl(Vs);else if(Ch(t))r=El().fi_1;else{var i=Object.getPrototypeOf(t).constructor;r=i===Object?El().wh_1:i===Error?El().hi_1:Sl(i)}e=r}return e},t.$_$.f=Tl,t.$_$.g=function(){return function(){if(tt)return ma();tt=!0,Q=new Yl(\\\"IGNORE_CASE\\\",0,\\\"i\\\"),new Yl(\\\"MULTILINE\\\",1,\\\"m\\\")}(),Q},t.$_$.h=_u,t.$_$.i=function(){return eo(),O},t.$_$.j=function(){return eo(),k},t.$_$.k=function(t,e){return null==t||Mh(t)?t:Tc()},t.$_$.l=function(t,e,n,r,i,o){return 0!=(2&i)&&(n=0),0!=(4&i)&&(r=t.length),Fh(t,e,n,r)},t.$_$.m=Kt,t.$_$.n=Nt,t.$_$.o=function(t,e,n,r,i){return 0!=(2&r)&&(n=!1),function(t,e,n){for(var r=uc(t),i=uc(e),o=Math.min(r,i),a=0;a<o&&Ur(sc(t,a),sc(e,a),n);)a=a+1|0;return(fi(t,a-1|0)||fi(e,a-1|0))&&(a=a-1|0),yc(cc(t,0,a))}(t,e,n)},t.$_$.p=Qr,t.$_$.q=function(t,e,n,r,i){return 0!=(2&r)&&(n=!1),function(t,e,n){return uc(t)>0&&Ur(sc(t,ei(t)),e,n)}(t,e,n)},t.$_$.r=function(t,e,n,r,i){return 0!=(2&r)&&(n=!1),function(t,e,n){return n?uu(t,t.length-e.length|0,e,0,e.length,n):t.endsWith(e)}(t,e,n)},t.$_$.s=ri,t.$_$.t=Kr,t.$_$.u=pi,t.$_$.v=function(t,e,n,r,i,o){return 0!=(4&i)&&(r=!1),function(t,e,n,r){var i=new RegExp(Gl().qj(e),r?\\\"gui\\\":\\\"gu\\\"),o=Gl().rj(n);return t.replace(i,o)}(t,e,n,r)},t.$_$.w=function(t,e,n,r,i,o){return 0!=(2&i)&&(n=!1),0!=(4&i)&&(r=0),function(t,e,n,r){if(1===e.length)return function(t,e,n,r){li(r);var i=0,o=ni(t,e,i,n);if(-1===o||1===r)return Ta(yc(t));var a,s=r>0,l=Za(s&&fe(r,10));t:do{var u;if(u=yc(cc(t,i,o)),l.a(u),i=o+e.length|0,s&&l.h()===(r-1|0))break t;o=ni(t,e,i,n)}while(-1!==o);return a=yc(cc(t,i,uc(t))),l.a(a),l}(t,Tu(e[0]),n,r);for(var i=function(t){return new xe(t)}(function(t,e,n,r,i,o,a){return function(t,e,n,r,i){return li(i),new hi(t,n,i,(o=e,a=r,function(t,e){var n=oi(t,o,e,a);return n<0?null:go(n,1)}));var o,a}(t,e,0,r,i)}(t,e,0,n,r)),o=Za(on(i,10)),a=i.e();a.f();){var s;s=si(t,a.g()),o.a(s)}return o}(t,e,n,r)},t.$_$.x=lu,t.$_$.y=Zr,t.$_$.z=function(t,e,n,r,i){return 0!=(2&r)&&(n=t),function(t,e,n){var r,i=ri(t,e,0,!1,6);if(-1===i)r=n;else{var o=i+e.length|0,a=t.length;r=t.substring(o,a)}return r}(t,e,n)},t.$_$.a1=Za,t.$_$.b1=Ya,t.$_$.c1=Ka,t.$_$.d1=us,t.$_$.e1=ss,t.$_$.f1=function(t){return function(t,e){return as(e),e.i4(t),e}(t,Object.create(cs.prototype))},t.$_$.g1=ps,t.$_$.h1=hs,t.$_$.i1=function(t){return function(t,e){return Xa.call(e),ds.call(e),e.p6_1=us(t.h()),e.r(t),e}(t,Object.create(ds.prototype))},t.$_$.j1=Ts,t.$_$.k1=Ms,t.$_$.l1=Ss,t.$_$.m1=Os,t.$_$.n1=Is,t.$_$.o1=function t(e){var n=function(t,e){return dp(t,e),Ds.call(e),e}(e,Object.create(Ds.prototype));return wc(n,t),n},t.$_$.p1=Rs,t.$_$.q1=function t(e,n){var r=Rs(e,n,Object.create(Ds.prototype));return wc(r,t),r},t.$_$.r1=function(t){return function(t,e){return Xl.call(e,t,Hn()),e}(t,Object.create(Xl.prototype))},t.$_$.s1=function(t,e){return function(t,e,n){return Xl.call(n,t,ka(e)),n}(t,e,Object.create(Xl.prototype))},t.$_$.t1=Il,t.$_$.u1=Pl,t.$_$.v1=Ip,t.$_$.w1=function t(e){var n=op(e,Object.create(ap.prototype));return wc(n,t),n},t.$_$.x1=function(t,e,n){return Ac(n,t,e),ap.call(n),n},t.$_$.y1=sp,t.$_$.z1=lp,t.$_$.a2=up,t.$_$.b2=cp,t.$_$.c2=dp,t.$_$.d2=mp,t.$_$.e2=function t(e,n){var r=vp(e,n,Object.create(gp.prototype));return wc(r,t),r},t.$_$.f2=function t(){var e,n=(wp(e=Object.create(Tp.prototype)),Tp.call(e),e);return wc(n,t),n},t.$_$.g2=Ep,t.$_$.h2=_p,t.$_$.i2=bp,t.$_$.j2=Cp,t.$_$.k2=function t(e,n){var r=Cp(e,n,Object.create(Mp.prototype));return wc(r,t),r},t.$_$.l2=Sp,t.$_$.m2=kp,t.$_$.n2=Ii,t.$_$.o2=function(t){return xi(t)&&ki(t)?_i(t):Ri(t,_u())},t.$_$.p2=function(t){var e=Pl();Ti(t)&&e.d9(45),e.f9(\\\"PT\\\");var n=Oi(t),r=Di(n),i=Li(n),o=Pi(n),a=zi(n),s=r;Si(t)&&(s=new Lc(1316134911,2328));var l=!s.equals(new Lc(0,0)),u=0!==o||!(0===a),c=0!==i||!!u&&l;return l&&e.ra(s).d9(72),c&&e.ra(i).d9(77),(u||!l&&!c)&&($i(e,0,o,a,9,\\\"S\\\",!0),ma()),e.toString()},t.$_$.q2=function(t){return t},t.$_$.r2=function(t){return t},t.$_$.s2=Mu,t.$_$.t2=Eu,t.$_$.u2=Tu,t.$_$.v2=function(t){return t},t.$_$.w2=so,t.$_$.x2=ao,t.$_$.y2=function(t){return t},t.$_$.z2=function(t){return t},t.$_$.a3=function(t){return t},t.$_$.b3=wo,t.$_$.c3=function(t){return t},t.$_$.d3=function(t){return new Int8Array(t)},t.$_$.e3=function(t,e){return t[e]},t.$_$.f3=function(t,e,n){var r;r=n,t[e]=r},t.$_$.g3=Co,t.$_$.h3=function(t){return t},t.$_$.i3=function(t){return t},t.$_$.j3=function(t){return t},t.$_$.k3=Io,t.$_$.l3=function(t){return new Int32Array(t)},t.$_$.m3=function(t){return t},t.$_$.n3=function(t,e){return t[e]},t.$_$.o3=function(t,e,n){var r;r=n,t[e]=r},t.$_$.p3=Po,t.$_$.q3=function(t){return t},t.$_$.r3=function(t){return t},t.$_$.s3=function(t){return t},t.$_$.t3=Fo,t.$_$.u3=function(t){return Ku(t)},t.$_$.v3=function(t){return t},t.$_$.w3=function(t,e){return t[e]},t.$_$.x3=function(t,e,n){var r;r=n,t[e]=r},t.$_$.y3=Uo,t.$_$.z3=function(t){return t},t.$_$.a4=function(t){return t},t.$_$.b4=function(t){return t},t.$_$.c4=Yo,t.$_$.d4=function(t){return new Int16Array(t)},t.$_$.e4=function(t){return t},t.$_$.f4=function(t,e){return t[e]},t.$_$.g4=function(t,e,n){var r;r=n,t[e]=r},t.$_$.h4=Ko,t.$_$.i4=function(t){return t},t.$_$.j4=Jn,t.$_$.k4=or,t.$_$.l4=function(){return null==H&&new Ma,H},t.$_$.m4=function(){return null==N&&new va,N},t.$_$.n4=Aa,t.$_$.o4=xa,t.$_$.p4=_a,t.$_$.q4=function(){return null==F&&new ga,F},t.$_$.r4=function(){return null==V&&new Ca,V},t.$_$.s4=El,t.$_$.t4=Ai,t.$_$.u4=ku,t.$_$.v4=Ic,t.$_$.w4=uo,t.$_$.x4=bo,t.$_$.y4=ko,t.$_$.z4=Bo,t.$_$.a5=Wo,t.$_$.b5=ma,t.$_$.c5=Qa,t.$_$.d5=Du,t.$_$.e5=cs,t.$_$.f5=ds,t.$_$.g5=Iu,t.$_$.h5=ua,t.$_$.i5=ks,t.$_$.j5=Ps,t.$_$.k5=Lu,t.$_$.l5=zu,t.$_$.m5=Ru,t.$_$.n5=$u,t.$_$.o5=Fu,t.$_$.p5=Bu,t.$_$.q5=Pu,t.$_$.r5=vn,t.$_$.s5=function(t,e){for(var n=!1,r=e.e();r.f();){var i=r.g();t.a(i)&&(n=!0)}return n},t.$_$.t5=function(t,e,n,r,i){Re().h2(r,i,t.length);var o=i-r|0;if(Re().h2(n,n+o|0,e.length),Pt(e)&&Pt(t)){var a=t.subarray(r,i);e.set(a,n)}else if(t!==e||n<=r){var s=0;if(s<o)do{var l=s;s=s+1|0,e[n+l|0]=t[r+l|0]}while(s<o)}else{var u=o-1|0;if(0<=u)do{var c=u;u=u+-1|0,e[n+c|0]=t[r+c|0]}while(0<=u)}},t.$_$.u5=function(t){return 0===t.length?Ye():new Zt(t)},t.$_$.v5=Nh,t.$_$.w5=function(t){return te(t.y())},t.$_$.x5=te,t.$_$.y5=function(t){for(var e,n=0,r=0,i=t.e();i.f();)n+=i.g(),Ra(r=r+1|0);return 0===r?(Aa(),e=NaN):e=n/r,e},t.$_$.z5=Ra,t.$_$.a6=Pa,t.$_$.b6=on,t.$_$.c6=Ft,t.$_$.d6=function(t,e){return hc(t,e)},t.$_$.e6=function(t,e){return hc(t,e)},t.$_$.f6=function(t){return pc(t)},t.$_$.g6=function(t){return pc(t)},t.$_$.h6=function(t){var e;return null==(e=null==t?null:Nt(t,\\\", \\\",\\\"[\\\",\\\"]\\\",0,null,null,56))?\\\"null\\\":e},t.$_$.i6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));return Sc(t,new Int16Array(e))},t.$_$.j6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));var n=kc(t,e,new Lc(0,0));return n.$type$=\\\"LongArray\\\",n},t.$_$.k6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));var n=kc(t,e,!1);return n.$type$=\\\"BooleanArray\\\",n},t.$_$.l6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));var n=Sc(t,Zu(e));return n.$type$=\\\"CharArray\\\",n},t.$_$.m6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));return Sc(t,new Int8Array(e))},t.$_$.n6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));return Sc(t,new Float64Array(e))},t.$_$.o6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));return Sc(t,new Float32Array(e))},t.$_$.p6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));return kc(t,e,null)},t.$_$.q6=function(t,e){if(!(e>=0))throw up(yc(\\\"Invalid new array size: \\\"+e+\\\".\\\"));return Sc(t,new Int32Array(e))},t.$_$.r6=Oa,t.$_$.s6=function(t){return ee(function(t){return gh(t,Du)?Is(t):ne(t,Os())}(t))},t.$_$.t6=function(t,e){if(!(e>=0))throw up(yc(\\\"Requested element count \\\"+e+\\\" is less than zero.\\\"));return function(t,e){if(!(e>=0))throw up(yc(\\\"Requested element count \\\"+e+\\\" is less than zero.\\\"));if(0===e)return Ye();if(gh(t,Du)){if(e>=t.h())return ee(t);if(1===e)return Ta(function(t){if(gh(t,Lu))return Jt(t);var e=t.e();if(!e.f())throw bp(\\\"Collection is empty.\\\");return e.g()}(t))}var n=0,r=Za(),i=t.e();t:for(;i.f();){var o=i.g();if(r.a(o),(n=n+1|0)===e)break t}return en(r)}(t,he(t.h()-e|0,0))},t.$_$.u6=function(t,e){var n;if(!(e>=0))throw up(yc(\\\"Requested element count \\\"+e+\\\" is less than zero.\\\"));if(0===e)return ee(t);if(gh(t,Du)){var r=t.h()-e|0;if(r<=0)return Ye();if(1===r)return Ta(se(t));if(n=Za(),gh(t,Lu)){if(gh(t,zs)){var i=e,o=t.h();if(i<o)do{var a=i;i=i+1|0,n.a(t.j(a))}while(i<o)}else for(var s=t.k(e);s.f();){var l=s.g();n.a(l)}return n}}else n=Ya();for(var u=0,c=t.e();c.f();){var h=c.g();u>=e?n.a(h):u=u+1|0}return en(n)},t.$_$.v6=Ye,t.$_$.w6=cn,t.$_$.x6=Hn,t.$_$.y6=Fh,t.$_$.z6=function(t){return function(t,e){for(var n=t.e();n.f();){var r=n.g();null!=r&&e.a(r)}return e}(t,Ya())},t.$_$.a7=function(t){return t.i()?null:t.j(0)},t.$_$.b7=Jt,t.$_$.c7=function(t){for(var e=Ya(),n=t.e();n.f();)vn(e,n.g());return e},t.$_$.d7=function(t,e){return e>=0&&e<=nn(t)?t.j(e):null},t.$_$.e7=function(t,e){return function(t,e){if(gh(t,un))return t.d4(e);var n=t.s(e);if(null==n&&!t.e3(e))throw bp(\\\"Key \\\"+e+\\\" is missing in the map.\\\");return null==n||Mh(n)?n:Tc()}(t,e)},t.$_$.f7=mn,t.$_$.g7=Ht,t.$_$.h7=function(t){return new xr(0,function(t){return t.length-1|0}(t))},t.$_$.i7=function(t){return new xr(0,Xt(t))},t.$_$.j7=function(t){return t.length-1|0},t.$_$.k7=nn,t.$_$.l7=function(t){return 0===t.length?null:t[t.length-1|0]},t.$_$.m7=function(t){return t.i()?null:t.j(t.h()-1|0)},t.$_$.n7=function(t){return 0===t.length?null:t[t.length-1|0]},t.$_$.o7=function(t){return 0===t.length?null:t[t.length-1|0]},t.$_$.p7=ae,t.$_$.q7=function(t){return function(t,e){for(var n=t,r=0,i=n.length;r<i;){var o=n[r];r=r+1|0,null!=o&&e.a(o)}return e}(t,Ya())},t.$_$.r7=Ta,t.$_$.s7=function(t){return t.length>0?Nh(t):Ye()},t.$_$.t7=function(t){return t},t.$_$.u7=Sa,t.$_$.v7=function(t){return t.length>0?(e=t,dn(n=Ts(t.length),e),n):cn();var e,n},t.$_$.w7=function(t,e){var n=Ss(t);return n.i4(e),n},t.$_$.x7=function(t,e){var n=function(t){return gh(t,Du)?t.h():null}(e),r=null==n?null:t.h()+n|0,i=Ls(null==r?Lt(t.h(),2):r);return i.r(t),vn(i,e),i},t.$_$.y7=function(t,e){if(gh(e,Du)){var n=Za((t.h(),e.h()));return n.r(t),n.r(e),n}var r=Ka(t);return vn(r,e),r},t.$_$.z7=function(t,e){var n=Za(t.h());return n.r(t),n.a(e),n},t.$_$.a8=function(t,e){return gn(t,e,!0)},t.$_$.b8=function(t,e){return function(t,e,n){if(!gh(t,zs))return gn(gh(t,Uu)?t:Tc(),e,true);var r=0,i=0,o=nn(t);if(i<=o)do{var a=i;i=i+1|0;var s=t.j(a);true!==e(s)&&(r!==a&&t.y4(r,s),r=r+1|0)}while(a!==o);if(r<t.h()){var l=nn(t),u=r;if(u<=l)do{var c=l;l=l+-1|0,t.z4(c)}while(c!==u);return!0}return!1}(t,e)},t.$_$.c8=function(t){if(t.i())throw bp(\\\"List is empty.\\\");return t.z4(nn(t))},t.$_$.d8=function(t){if(gh(t,Du)&&t.h()<=1)return ee(t);var e=oe(t);return function(t){var e=(t.h()/2|0)-1|0;if(e<0)return ma();var n=nn(t),r=0;if(r<=e)do{var i=r;r=r+1|0;var o=t.j(i);t.y4(i,t.j(n)),t.y4(n,o),n=n-1|0}while(i!==e)}(e),e},t.$_$.e8=ka,t.$_$.f8=function(t){return t.length>0?Gt(t):Hn()},t.$_$.g8=function(t){return 1===t.h()?t.j(0):null},t.$_$.h8=function(t,e){if(gh(t,Du)){if(t.h()<=1)return ee(t);var n=Oa(t),r=Ch(n)?n:Tc();return function(t,e){t.length>1&&ts(t,e)}(r,e),Nh(r)}var i=oe(t);return La(i,e),i},t.$_$.i8=function(t){var e;za(t,(null==d&&new Xn,gh(e=d,Ea)?e:Tc()))},t.$_$.j8=function(t){for(var e=Yu(t.h()),n=0,r=t.e();r.f();){var i=r.g(),o=n;n=o+1|0,e[o]=i}return e},t.$_$.k8=function(t){return ne(t,ps(on(t,12)))},t.$_$.l8=ee,t.$_$.m8=function(t){switch(t.length){case 0:return Ye();case 1:return Ta(t[0]);default:return function(t){return Ka(function(t){return new Je(t,!1)}(t))}(t)}},t.$_$.n8=function(t){return fn(function(t,e){return function(t,e){for(var n=e.e();n.f();){var r=n.g(),i=r.m4(),o=r.n4();t.b(i,o)}}(e,t),e}(t,Ms()))},t.$_$.o8=function(t){if(gh(t,Du)){var e;switch(t.h()){case 0:e=cn();break;case 1:e=Sa(gh(t,Lu)?t.j(0):t.e().g());break;default:e=pn(t,Ts(t.h()))}return e}return fn(pn(t,Ms()))},t.$_$.p8=ie,t.$_$.q8=function(t){return Ss(t)},t.$_$.r8=Qt,t.$_$.s8=Gt,t.$_$.t8=function(t){return new an((e=t,function(){return Xu(e)}));var e},t.$_$.u8=function(t){return new an((e=t,function(){return e.e()}));var e},t.$_$.v8=function(t,e){return t===e?0:null==t?-1:null==e?1:dc(null!=t&&Th(t)?t:Tc(),e)},t.$_$.w8=Ds,t.$_$.x8=pr,t.$_$.y8=Qh,t.$_$.z8=Jh,t.$_$.a9=hr,t.$_$.b9=cr,t.$_$.c9=function(t){if(t instanceof cr){var e;if(t.k7(this.u2())){var n=t.j7(this);e=null!=n&&gh(n,er)?n:null}else e=null;return e}return Jn()===t?gh(this,er)?this:Tc():null},t.$_$.d9=function(t){return t instanceof cr?t.k7(this.u2())&&null!=t.j7(this)?or():this:Jn()===t?or():this},t.$_$.e9=Qn,t.$_$.f9=Zn,t.$_$.g9=$t,t.$_$.h9=Dt,t.$_$.i9=Bt,t.$_$.j9=er,t.$_$.k9=tr,t.$_$.l9=Rt,t.$_$.m9=Zh,t.$_$.n9=Kp,t.$_$.o9=Jp,t.$_$.p9=function(t,e,n){var r,i=Jh(Qh(t,e,n));uo(),r=ma(),i.n5(r),ma()},t.$_$.q9=dr,t.$_$.r9=function(t){return Object.prototype.toString.call(t)},t.$_$.s9=Xu,t.$_$.t9=Yu,t.$_$.u9=wc,t.$_$.v9=Ju,t.$_$.w9=Zu,t.$_$.x9=sc,t.$_$.y9=uc,t.$_$.z9=cc,t.$_$.aa=fh,t.$_$.ba=dc,t.$_$.ca=function(t){return new tc(t)},t.$_$.da=_c,t.$_$.ea=Wu,t.$_$.fa=function(t,e,n,r){return ph(),hh(t,0,e,r,n?r:null)},t.$_$.ga=oc,t.$_$.ha=hh,t.$_$.ia=xc,t.$_$.ja=bc,t.$_$.ka=$h,t.$_$.la=Ch,t.$_$.ma=kh,t.$_$.na=Oh,t.$_$.oa=Lh,t.$_$.pa=Sh,t.$_$.qa=Dh,t.$_$.ra=zh,t.$_$.sa=Ph,t.$_$.ta=gh,t.$_$.ua=Rh,t.$_$.va=Eh,t.$_$.wa=Mh,t.$_$.xa=Ih,t.$_$.ya=Us,t.$_$.za=function(t){for(var e={},n=t,r=0,i=n.length;r<i;){var o=n[r];r=r+1|0;var a=o.m4(),s=o.n4();e[a]=s}return e},t.$_$.ab=Ku,t.$_$.bb=uh,t.$_$.cb=function(t){return rh(ih(t))},t.$_$.db=sh,t.$_$.eb=function(t){return+t},t.$_$.fb=ih,t.$_$.gb=ah,t.$_$.hb=function(t){return oh(ih(t))},t.$_$.ib=Bh,t.$_$.jb=rh,t.$_$.kb=lh,t.$_$.lb=oh,t.$_$.mb=yc,t.$_$.nb=function(){return 3.141592653589793},t.$_$.ob=function(t){return t.k1(new Lc(0,0))<0?t.g9():t},t.$_$.pb=yr,t.$_$.qb=gr,t.$_$.rb=xr,t.$_$.sb=function(t,e){return t.k1(e)<0?e:t},t.$_$.tb=he,t.$_$.ub=fe,t.$_$.vb=pe,t.$_$.wb=function(t,e){return new zr(t,e)},t.$_$.xb=function(t,e){return function(t,e){if(!t)throw up(\\\"Step must be positive, was: \\\"+yc(e)+\\\".\\\")}(e>0,e),Tr().h1(t.e1_1,t.f1_1,t.g1_1>0?e:0|-e)},t.$_$.yb=ce,t.$_$.zb=Vs,t.$_$.ac=el,t.$_$.bc=Js,t.$_$.cc=tl,t.$_$.dc=Ks,t.$_$.ec=Dr,t.$_$.fc=function(t,e){if(!t.w8(e))throw zp(\\\"Value cannot be cast to \\\"+t.v8());return Mh(e)?e:Tc()},t.$_$.gc=function(t,e){return t.w8(e)?Mh(e)?e:Tc():null},t.$_$.hc=wn,t.$_$.ic=function(t,e){return new En(t,e)},t.$_$.jc=function(t,e){return new zn(t,!0,e)},t.$_$.kc=function(t){var e=t.e();return e.f()?e.g():null},t.$_$.lc=function(t,e){return new kn(t,e,((n=function(t){return t.e()}).callableName=\\\"iterator\\\",n));var n},t.$_$.mc=function(t,e){return function(t){var e=function(t,e){return new zn(t,!1,e)}(t,_e);return gh(e,xn)?e:Tc()}(new In(t,e))},t.$_$.nc=ve,t.$_$.oc=function(t){return new Mn(t)},t.$_$.pc=function(t,e){return new be(t,e)},t.$_$.qc=me,t.$_$.rc=function(t){au();for(var e=\\\"\\\",n=t,r=0,i=n.length;r<i;){var o=n[r];r=r+1|0,e+=new Ou(o)}return e},t.$_$.sc=function(t,e,n){if(null==t)return null==e;if(null==e)return!1;if(!n)return t==e;if(t.length!==e.length)return!1;var r=0,i=t.length;if(r<i)do{var o=r;if(r=r+1|0,!Ur(sc(t,o),sc(e,o),n))return!1}while(r<i);return!0},t.$_$.tc=su,t.$_$.uc=Bl,t.$_$.vc=$l,t.$_$.wc=function(t){return 97<=t&&t<=122||!(Cu(t,128)<0)&&function(t){var e;return e=1===function(t){var e=t,n=Uh(Gh().am_1,e),r=Gh().am_1[n],i=(r+Gh().bm_1[n]|0)-1|0,o=Gh().cm_1[n];if(e>i)return 0;var a=3&o;if(0===a){var s=2,l=r,u=0;if(u<=1)do{if(u=u+1|0,(l=l+(o>>s&127)|0)>e)return 3;if((l=l+(o>>(s=s+7|0)&127)|0)>e)return 0;s=s+7|0}while(u<=1);return 3}if(o<=7)return a;var c=e-r|0;return o>>Lt(2,o<=31?c%2|0:c)&3}(t)||function(t){var e=Uh(Xh().dm_1,t);return e>=0&&t<(Xh().dm_1[e]+Xh().em_1[e]|0)}(t),e}(t)},t.$_$.xc=Dl,t.$_$.yc=function(t){return new di(t)},t.$_$.zc=function(t,e){var n;return null!=(n=t.match(e))&&!(0===n.length)},t.$_$.ad=ti,t.$_$.bd=function(t,e){var n;if(!(e>=0))throw up(yc(\\\"Count 'n' must be non-negative, but was \\\"+e+\\\".\\\"));switch(e){case 0:n=\\\"\\\";break;case 1:n=yc(t);break;default:var r=\\\"\\\";if(0!==uc(t))for(var i=yc(t),o=e;1==(1&o)&&(r+=i),0!=(o=o>>>1|0);)i+=i;return r}return n},t.$_$.cd=function(t){var e;switch(uc(t)){case 0:throw bp(\\\"Char sequence is empty.\\\");case 1:e=sc(t,0);break;default:throw up(\\\"Char sequence has more than one element.\\\")}return e},t.$_$.dd=function(t){return function(t){var e=Tu(t).toUpperCase();if(e.length>1){var n;if(_c(new Ou(t),new Ou(329)))n=e;else{var r=sc(e,0),i=e.substring(1).toLowerCase();n=Tu(r)+i}return n}return Tu(function(t){return function(t){var e=t;return 452<=e&&e<=460||497<=e&&e<=499?sh(Lt(3,(e+1|0)/3|0)):4304<=e&&e<=4346||4349<=e&&e<=4351?t:Rl(t)}(t)}(t))}(t)},t.$_$.ed=function(t){return null!=t&&\\\"true\\\"===t.toLowerCase()},t.$_$.fd=function(t){var e=+t;return Fs(e)&&!Vl(t)||0===e&&su(t)?null:e},t.$_$.gd=Fl,t.$_$.hd=Hr,t.$_$.id=jl,t.$_$.jd=function(t,e){var n,r=Wr(t,e);return null==r?Xr(t):n=r,n},t.$_$.kd=Gr,t.$_$.ld=Ul,t.$_$.md=function(t,e){return Zp(lh(t).ic(new Lc(-1,0)),e)},t.$_$.nd=function(t,e){return t.toString(Nl(e))},t.$_$.od=function(t){var e,n=function(t){return function(t,e){var n=na(t,10);if(null==(null==n?null:new Lo(n)))return null;var r=n;bo();return ra(r,255)>0?null:rh(r)}(t)}(t);return null==(null==n?null:new Ao(n))?Xr(t):e=n,e},t.$_$.pd=function(t){var e,n=function(t){return na(t,10)}(t);return null==(null==n?null:new Lo(n))?Xr(t):e=n,e},t.$_$.qd=ea,t.$_$.rd=function(t){var e,n=ea(t);return null==(null==n?null:new jo(n))?Xr(t):e=n,e},t.$_$.sd=function(t){var e,n=function(t){return function(t,e){var n=na(t,10);if(null==(null==n?null:new Lo(n)))return null;var r=n;Wo();return ra(r,65535)>0?null:oh(r)}(t)}(t);return null==(null==n?null:new Zo(n))?Xr(t):e=n,e},t.$_$.td=function(t){return function(t,e){for(var n=function(t){return me(Jr(t))}(t),r=Ya(),i=n.e();i.f();){var o=i.g();Yr(o)&&r.a(o)}for(var a=r,s=Za(on(a,10)),l=a.e();l.f();){var u=l.g();s.a(qr(u))}for(var c=function(t){var e=t.e();if(!e.f())return null;for(var n=e.g();e.f();){var r=e.g();dc(n,r)>0&&(n=r)}return n}(s),h=null==c?0:c,p=(t.length,Lt(\\\"\\\".length,n.h()),function(t){var e;return 0===uc(\\\"\\\")?e=Vr:(\\\"\\\",e=function(t){return\\\"\\\"+t}),e}()),f=nn(n),d=Ya(),m=0,v=n.e();v.f();){var g=v.g(),y=m;m=y+1|0;var _,b,x,w=Pa(y);if(0!==w&&w!==f||!su(g))_=null==(x=null==(b=we(g,h))?null:p(b))?g:x;else _=null;var A=_;null==A||(d.a(A),ma())}return function(t,e,n,r,i,o,a,s,l,u){return 0!=(2&l)&&(n=\\\", \\\"),0!=(4&l)&&(r=\\\"\\\"),0!=(8&l)&&(i=\\\"\\\"),0!=(16&l)&&(o=-1),0!=(32&l)&&(a=\\\"...\\\"),0!=(64&l)&&(s=null),re(t,e,n,r,i,o,a,s)}(d,Il(),\\\"\\\\n\\\",null,null,0,null,null,124).toString()}(t)},t.$_$.ud=function(t,e){var n;t:{var r=Sh(t)?t:Tc(),i=0,o=uc(r)-1|0;if(i<=o)do{var a=i;if(i=i+1|0,!Yt(e,sc(r,a))){n=cc(r,a,uc(r));break t}}while(i<=o);n=\\\"\\\"}return yc(n)},t.$_$.vd=function(t){var e=0,n=uc(t)-1|0,r=!1;t:for(;e<=n;){var i=Dl(sc(t,r?n:e));if(r){if(!i)break t;n=n-1|0}else i?e=e+1|0:r=!0}return cc(t,e,n+1|0)},t.$_$.wd=Bi,t.$_$.xd=Fi,t.$_$.yd=aa,t.$_$.zd=Ou,t.$_$.ae=la,t.$_$.be=Ea,t.$_$.ce=Ki,t.$_$.de=Zi,t.$_$.ee=Vu,t.$_$.fe=ap,t.$_$.ge=ip,t.$_$.he=pp,t.$_$.ie=gp,t.$_$.je=Lc,t.$_$.ke=xp,t.$_$.le=vo,t.$_$.me=ho,t.$_$.ne=Mp,t.$_$.oe=Tc,t.$_$.pe=function(){throw fp()},t.$_$.qe=yo,t.$_$.re=To,t.$_$.se=Ao,t.$_$.te=Do,t.$_$.ue=Lo,t.$_$.ve=Ho,t.$_$.we=jo,t.$_$.xe=ta,t.$_$.ye=Zo,t.$_$.ze=da,t.$_$.af=Op,t.$_$.bf=function(t,e){if(t!==e){var n=t._suppressed;null==n?t._suppressed=0===(r=[e]).length?Ya():Ka(new Je(r,!0)):n.a(e)}var r},t.$_$.cf=function(t){return t},t.$_$.df=function(t){var e,n=t.i1_1;return 0===n?(_a(),e=32+js(t.j1_1)|0):e=js(n),e},t.$_$.ef=po,t.$_$.ff=Mc,t.$_$.gf=function(t,e){return Qi(),new Ji(t.ya_1,e).db()},t.$_$.hf=function(t){return!function(t){var e;return Aa(),t===1/0?e=!0:(Aa(),e=t===-1/0),e}(t)&&!Fs(t)},t.$_$.if=function(t){return!function(t){var e;return xa(),t===1/0?e=!0:(xa(),e=t===-1/0),e}(t)&&!function(t){return!(t==t)}(t)},t.$_$.jf=function(t,e){return new ro(e)},t.$_$.kf=function(t){return new ro(t)},t.$_$.lf=Ec,t.$_$.mf=Gu,t.$_$.nf=function(t){return(new pu).sk(t)},t.$_$.of=function(t){throw Vp(\\\"lateinit property \\\"+t+\\\" has not been initialized\\\")},t.$_$.pf=Hu,t.$_$.qf=go,t.$_$.rf=function(t){for(;t.hasChildNodes();)t.removeChild(Mc(t.firstChild))},t.$_$.sf=function(t){return new $s(t)}}(t.exports)},2724:(t,e,n)=>{!function(t,e){\\\"use strict\\\";var n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ut,ct,ht,pt,ft,dt,mt,vt,gt,yt,_t,bt,xt,wt,At,Ct,Mt,Et,Tt,St,kt,Ot=e.$_$.ta,It=e.$_$.b5,Lt=e.$_$.ka,Pt=e.$_$.b1,zt=e.$_$.u1,Rt=e.$_$.e,Dt=e.$_$.oe,$t=e.$_$.da,Bt=e.$_$.ja,Nt=e.$_$.aa,Ft=e.$_$.r1,jt=e.$_$.ia,Ut=e.$_$.q2,qt=e.$_$.k1,Vt=e.$_$.y7,Ht=e.$_$.ib,Gt=e.$_$.mb,Wt=e.$_$.ee,Xt=e.$_$.g,Yt=e.$_$.s1,Zt=e.$_$.kf,Kt=e.$_$.m,Jt=e.$_$.wa,Qt=e.$_$.ff,te=e.$_$.o5,ee=e.$_$.bc,ne=e.$_$.ha,re=e.$_$.x6,ie=e.$_$.s8,oe=e.$_$.n;function ae(t,e){if(t.h2w())t.g2w().a(e);else{var n=t.l1l(),r=null!=n&&Ot(n,se)?n:null;null==r||ae(r,e)}}function se(){}function le(t,e,n,r,i,o,a){return 0!=(1&o)&&(t=\\\"\\\"),0!=(2&o)&&(e=!0),0!=(4&o)&&(n=null),0!=(8&o)&&(r=!1),0!=(16&o)&&(i=!1),function(t,e,n,r,i){return new ue(t,e,n,r,i)}(t,e,n,r,i)}function ue(t,e,n,r,i){var o,a,s,l;this.x2w_1=t,this.y2w_1=e,this.z2w_1=n,this.a2x_1=r,this.b2x_1=i,o=Pt(),this.c2x_1=o,this.d2x_1=new Mr,a=Pt(),this.e2x_1=a,this.f2x_1=null,s=Pt(),this.g2x_1=s,l=Pt(),this.h2x_1=l}function ce(t){pe();var e=he;return(pe(),n).r9(t,e)}function he(t){return pe(),\\\"-\\\"+t.w2().toLowerCase()}function pe(){r||(r=!0,n=Ft(\\\"[A-Z]\\\"))}function fe(t,e){this.o2x_1=t,this.p2x_1=e,this.q2x_1=null}function de(){}function me(){i=this,this.t2x_1=new ve(\\\"none\\\"),this.u2x_1=new ve(\\\"auto\\\"),this.v2x_1=new ve(\\\"initial\\\"),this.w2x_1=new ve(\\\"inherit\\\"),this.x2x_1=new ve(\\\"available\\\"),this.y2x_1=new ve(\\\"fill-available\\\"),this.z2x_1=new ve(\\\"border-box\\\"),this.a2y_1=new ve(\\\"content-box\\\"),this.b2y_1=new ve(\\\"max-content\\\"),this.c2y_1=new ve(\\\"min-content\\\"),this.d2y_1=new ve(\\\"fit-content\\\")}function ve(t){null==i&&new me,He.call(this,t),this.f2y_1=t}function ge(t,e){ve.call(this,$t(t,0)?\\\"0\\\":Gt(t)+e),this.i2y_1=t,this.j2y_1=e}function ye(){if(s)return It();s=!0,new _e(\\\"initial\\\",0),new _e(\\\"inherit\\\",1),new _e(\\\"unset\\\",2),new _e(\\\"auto\\\",3),o=new _e(\\\"stretch\\\",4),a=new _e(\\\"center\\\",5),new _e(\\\"start\\\",6),new _e(\\\"end\\\",7),new _e(\\\"selfStart\\\",8),new _e(\\\"selfEnd\\\",9),new _e(\\\"flexStart\\\",10),new _e(\\\"flexEnd\\\",11),new _e(\\\"baseline\\\",12)}function _e(t,e){Wt.call(this,t,e)}function be(){return Yt(\\\"^hsla?\\\\\\\\((-?[0-9]+\\\\\\\\.?[0-9]*(?:deg|grad|rad|turn)?)\\\\\\\\s*[, ]?\\\\\\\\s*(\\\\\\\\d{1,3})%\\\\\\\\s*[, ]\\\\\\\\s*(\\\\\\\\d{1,3})%\\\\\\\\s*[, ]?\\\\\\\\s*(\\\\\\\\d|(?:\\\\\\\\d?\\\\\\\\.\\\\\\\\d+))?\\\\\\\\)$\\\",Xt())}function xe(){return Yt(\\\"^rgba?\\\\\\\\((\\\\\\\\d{1,3}%?)\\\\\\\\s*[, ]\\\\\\\\s*(\\\\\\\\d{1,3}%?)\\\\\\\\s*[, ]\\\\\\\\s*(\\\\\\\\d{1,3}%?)[, ]?\\\\\\\\s*(\\\\\\\\d|(?:\\\\\\\\d?\\\\\\\\.\\\\\\\\d+))?\\\\\\\\)$\\\",Xt())}function we(t,e){return function(t,e,n){return Me.call(n,t),n.m2y_1=e,n}(t,e,Object.create(Me.prototype))}function Ae(){l=this,this.n2y_1=new Me(\\\"initial\\\"),this.o2y_1=new Me(\\\"inherit\\\"),this.p2y_1=new Me(\\\"unset\\\"),this.q2y_1=new Me(\\\"transparent\\\"),this.r2y_1=new Me(\\\"currentColor\\\"),this.s2y_1=we(\\\"aliceblue\\\",\\\"#f0f8ff\\\"),this.t2y_1=we(\\\"antiquewhite\\\",\\\"#faebd7\\\"),this.u2y_1=we(\\\"aqua\\\",\\\"#00ffff\\\"),this.v2y_1=we(\\\"aquamarine\\\",\\\"#7fffd4\\\"),this.w2y_1=we(\\\"azure\\\",\\\"#f0ffff\\\"),this.x2y_1=we(\\\"beige\\\",\\\"#f5f5dc\\\"),this.y2y_1=we(\\\"bisque\\\",\\\"#ffe4c4\\\"),this.z2y_1=we(\\\"black\\\",\\\"#000000\\\"),this.a2z_1=we(\\\"blanchedalmond\\\",\\\"#ffebcd\\\"),this.b2z_1=we(\\\"blue\\\",\\\"#0000ff\\\"),this.c2z_1=we(\\\"blueviolet\\\",\\\"#8a2be2\\\"),this.d2z_1=we(\\\"brown\\\",\\\"#a52a2a\\\"),this.e2z_1=we(\\\"burlywood\\\",\\\"#deb887\\\"),this.f2z_1=we(\\\"cadetblue\\\",\\\"#5f9ea0\\\"),this.g2z_1=we(\\\"chartreuse\\\",\\\"#7fff00\\\"),this.h2z_1=we(\\\"chocolate\\\",\\\"#d2691e\\\"),this.i2z_1=we(\\\"coral\\\",\\\"#ff7f50\\\"),this.j2z_1=we(\\\"cornflowerblue\\\",\\\"#6495ed\\\"),this.k2z_1=we(\\\"cornsilk\\\",\\\"#fff8dc\\\"),this.l2z_1=we(\\\"crimson\\\",\\\"#dc143c\\\"),this.m2z_1=we(\\\"cyan\\\",\\\"#00ffff\\\"),this.n2z_1=we(\\\"darkblue\\\",\\\"#00008b\\\"),this.o2z_1=we(\\\"darkcyan\\\",\\\"#008b8b\\\"),this.p2z_1=we(\\\"darkgoldenrod\\\",\\\"#b8860b\\\"),this.q2z_1=we(\\\"darkgray\\\",\\\"#a9a9a9\\\"),this.r2z_1=we(\\\"darkgreen\\\",\\\"#006400\\\"),this.s2z_1=we(\\\"darkgrey\\\",\\\"#a9a9a9\\\"),this.t2z_1=we(\\\"darkkhaki\\\",\\\"#bdb76b\\\"),this.u2z_1=we(\\\"darkmagenta\\\",\\\"#8b008b\\\"),this.v2z_1=we(\\\"darkolivegreen\\\",\\\"#556b2f\\\"),this.w2z_1=we(\\\"darkorange\\\",\\\"#ff8c00\\\"),this.x2z_1=we(\\\"darkorchid\\\",\\\"#9932cc\\\"),this.y2z_1=we(\\\"darkred\\\",\\\"#8b0000\\\"),this.z2z_1=we(\\\"darksalmon\\\",\\\"#e9967a\\\"),this.a30_1=we(\\\"darkseagreen\\\",\\\"#8fbc8f\\\"),this.b30_1=we(\\\"darkslateblue\\\",\\\"#483d8b\\\"),this.c30_1=we(\\\"darkslategray\\\",\\\"#2f4f4f\\\"),this.d30_1=we(\\\"darkslategrey\\\",\\\"#2f4f4f\\\"),this.e30_1=we(\\\"darkturquoise\\\",\\\"#00ced1\\\"),this.f30_1=we(\\\"darkviolet\\\",\\\"#9400d3\\\"),this.g30_1=we(\\\"deeppink\\\",\\\"#ff1493\\\"),this.h30_1=we(\\\"deepskyblue\\\",\\\"#00bfff\\\"),this.i30_1=we(\\\"dimgray\\\",\\\"#696969\\\"),this.j30_1=we(\\\"dimgrey\\\",\\\"#696969\\\"),this.k30_1=we(\\\"dodgerblue\\\",\\\"#1e90ff\\\"),this.l30_1=we(\\\"firebrick\\\",\\\"#b22222\\\"),this.m30_1=we(\\\"floralwhite\\\",\\\"#fffaf0\\\"),this.n30_1=we(\\\"forestgreen\\\",\\\"#228b22\\\"),this.o30_1=we(\\\"fuchsia\\\",\\\"#ff00ff\\\"),this.p30_1=we(\\\"gainsboro\\\",\\\"#dcdcdc\\\"),this.q30_1=we(\\\"ghostwhite\\\",\\\"#f8f8ff\\\"),this.r30_1=we(\\\"gold\\\",\\\"#ffd700\\\"),this.s30_1=we(\\\"goldenrod\\\",\\\"#daa520\\\"),this.t30_1=we(\\\"gray\\\",\\\"#808080\\\"),this.u30_1=we(\\\"green\\\",\\\"#008000\\\"),this.v30_1=we(\\\"greenyellow\\\",\\\"#adff2f\\\"),this.w30_1=we(\\\"grey\\\",\\\"#808080\\\"),this.x30_1=we(\\\"honeydew\\\",\\\"#f0fff0\\\"),this.y30_1=we(\\\"hotpink\\\",\\\"#ff69b4\\\"),this.z30_1=we(\\\"indianred\\\",\\\"#cd5c5c\\\"),this.a31_1=we(\\\"indigo\\\",\\\"#4b0082\\\"),this.b31_1=we(\\\"ivory\\\",\\\"#fffff0\\\"),this.c31_1=we(\\\"khaki\\\",\\\"#f0e68c\\\"),this.d31_1=we(\\\"lavender\\\",\\\"#e6e6fa\\\"),this.e31_1=we(\\\"lavenderblush\\\",\\\"#fff0f5\\\"),this.f31_1=we(\\\"lawngreen\\\",\\\"#7cfc00\\\"),this.g31_1=we(\\\"lemonchiffon\\\",\\\"#fffacd\\\"),this.h31_1=we(\\\"lightblue\\\",\\\"#add8e6\\\"),this.i31_1=we(\\\"lightcoral\\\",\\\"#f08080\\\"),this.j31_1=we(\\\"lightcyan\\\",\\\"#e0ffff\\\"),this.k31_1=we(\\\"lightgoldenrodyellow\\\",\\\"#fafad2\\\"),this.l31_1=we(\\\"lightgray\\\",\\\"#d3d3d3\\\"),this.m31_1=we(\\\"lightgreen\\\",\\\"#90ee90\\\"),this.n31_1=we(\\\"lightgrey\\\",\\\"#d3d3d3\\\"),this.o31_1=we(\\\"lightpink\\\",\\\"#ffb6c1\\\"),this.p31_1=we(\\\"lightsalmon\\\",\\\"#ffa07a\\\"),this.q31_1=we(\\\"lightseagreen\\\",\\\"#20b2aa\\\"),this.r31_1=we(\\\"lightskyblue\\\",\\\"#87cefa\\\"),this.s31_1=we(\\\"lightslategray\\\",\\\"#778899\\\"),this.t31_1=we(\\\"lightslategrey\\\",\\\"#778899\\\"),this.u31_1=we(\\\"lightsteelblue\\\",\\\"#b0c4de\\\"),this.v31_1=we(\\\"lightyellow\\\",\\\"#ffffe0\\\"),this.w31_1=we(\\\"lime\\\",\\\"#00ff00\\\"),this.x31_1=we(\\\"limegreen\\\",\\\"#32cd32\\\"),this.y31_1=we(\\\"linen\\\",\\\"#faf0e6\\\"),this.z31_1=we(\\\"magenta\\\",\\\"#ff00ff\\\"),this.a32_1=we(\\\"maroon\\\",\\\"#800000\\\"),this.b32_1=we(\\\"mediumaquamarine\\\",\\\"#66cdaa\\\"),this.c32_1=we(\\\"mediumblue\\\",\\\"#0000cd\\\"),this.d32_1=we(\\\"mediumorchid\\\",\\\"#ba55d3\\\"),this.e32_1=we(\\\"mediumpurple\\\",\\\"#9370d8\\\"),this.f32_1=we(\\\"mediumseagreen\\\",\\\"#3cb371\\\"),this.g32_1=we(\\\"mediumslateblue\\\",\\\"#7b68ee\\\"),this.h32_1=we(\\\"mediumspringgreen\\\",\\\"#00fa9a\\\"),this.i32_1=we(\\\"mediumturquoise\\\",\\\"#48d1cc\\\"),this.j32_1=we(\\\"mediumvioletred\\\",\\\"#c71585\\\"),this.k32_1=we(\\\"midnightblue\\\",\\\"#191970\\\"),this.l32_1=we(\\\"mintcream\\\",\\\"#f5fffa\\\"),this.m32_1=we(\\\"mistyrose\\\",\\\"#ffe4e1\\\"),this.n32_1=we(\\\"moccasin\\\",\\\"#ffe4b5\\\"),this.o32_1=we(\\\"navajowhite\\\",\\\"#ffdead\\\"),this.p32_1=we(\\\"navy\\\",\\\"#000080\\\"),this.q32_1=we(\\\"oldlace\\\",\\\"#fdf5e6\\\"),this.r32_1=we(\\\"olive\\\",\\\"#808000\\\"),this.s32_1=we(\\\"olivedrab\\\",\\\"#6b8e23\\\"),this.t32_1=we(\\\"orange\\\",\\\"#ffa500\\\"),this.u32_1=we(\\\"orangered\\\",\\\"#ff4500\\\"),this.v32_1=we(\\\"orchid\\\",\\\"#da70d6\\\"),this.w32_1=we(\\\"palegoldenrod\\\",\\\"#eee8aa\\\"),this.x32_1=we(\\\"palegreen\\\",\\\"#98fb98\\\"),this.y32_1=we(\\\"paleturquoise\\\",\\\"#afeeee\\\"),this.z32_1=we(\\\"palevioletred\\\",\\\"#db7093\\\"),this.a33_1=we(\\\"papayawhip\\\",\\\"#ffefd5\\\"),this.b33_1=we(\\\"peachpuff\\\",\\\"#ffdab9\\\"),this.c33_1=we(\\\"peru\\\",\\\"#cd853f\\\"),this.d33_1=we(\\\"pink\\\",\\\"#ffc0cb\\\"),this.e33_1=we(\\\"plum\\\",\\\"#dda0dd\\\"),this.f33_1=we(\\\"powderblue\\\",\\\"#b0e0e6\\\"),this.g33_1=we(\\\"purple\\\",\\\"#800080\\\"),this.h33_1=we(\\\"red\\\",\\\"#ff0000\\\"),this.i33_1=we(\\\"rosybrown\\\",\\\"#bc8f8f\\\"),this.j33_1=we(\\\"royalblue\\\",\\\"#4169e1\\\"),this.k33_1=we(\\\"saddlebrown\\\",\\\"#8b4513\\\"),this.l33_1=we(\\\"salmon\\\",\\\"#fa8072\\\"),this.m33_1=we(\\\"sandybrown\\\",\\\"#f4a460\\\"),this.n33_1=we(\\\"seagreen\\\",\\\"#2e8b57\\\"),this.o33_1=we(\\\"seashell\\\",\\\"#fff5ee\\\"),this.p33_1=we(\\\"sienna\\\",\\\"#a0522d\\\"),this.q33_1=we(\\\"silver\\\",\\\"#c0c0c0\\\"),this.r33_1=we(\\\"skyblue\\\",\\\"#87ceeb\\\"),this.s33_1=we(\\\"slateblue\\\",\\\"#6a5acd\\\"),this.t33_1=we(\\\"slategray\\\",\\\"#708090\\\"),this.u33_1=we(\\\"slategrey\\\",\\\"#708090\\\"),this.v33_1=we(\\\"snow\\\",\\\"#fffafa\\\"),this.w33_1=we(\\\"springgreen\\\",\\\"#00ff7f\\\"),this.x33_1=we(\\\"steelblue\\\",\\\"#4682b4\\\"),this.y33_1=we(\\\"tan\\\",\\\"#d2b48c\\\"),this.z33_1=we(\\\"teal\\\",\\\"#008080\\\"),this.a34_1=we(\\\"thistle\\\",\\\"#d8bfd8\\\"),this.b34_1=we(\\\"tomato\\\",\\\"#ff6347\\\"),this.c34_1=we(\\\"turquoise\\\",\\\"#40e0d0\\\"),this.d34_1=we(\\\"violet\\\",\\\"#ee82ee\\\"),this.e34_1=we(\\\"wheat\\\",\\\"#f5deb3\\\"),this.f34_1=we(\\\"white\\\",\\\"#ffffff\\\"),this.g34_1=we(\\\"whitesmoke\\\",\\\"#f5f5f5\\\"),this.h34_1=we(\\\"yellow\\\",\\\"#ffff00\\\"),this.i34_1=we(\\\"yellowgreen\\\",\\\"#9acd32\\\"),this.j34_1=Zt(be),this.k34_1=Zt(xe)}function Ce(){return null==l&&new Ae,l}function Me(t){Ce(),He.call(this,t),this.l2y_1=t,this.m2y_1=null}function Ee(){if(h)return It();h=!0,new Te(\\\"initial\\\",0),new Te(\\\"inherit\\\",1),new Te(\\\"unset\\\",2),new Te(\\\"none\\\",3),new Te(\\\"dotted\\\",4),u=new Te(\\\"dashed\\\",5),c=new Te(\\\"solid\\\",6)}function Te(t,e){Wt.call(this,t,e)}function Se(t){He.call(this,t),this.p34_1=t}function ke(){if(d)return It();d=!0,new Oe(\\\"initial\\\",0),new Oe(\\\"inherit\\\",1),new Oe(\\\"unset\\\",2),p=new Oe(\\\"auto\\\",3),new Oe(\\\"default\\\",4),new Oe(\\\"none\\\",5),new Oe(\\\"contextMenu\\\",6),new Oe(\\\"help\\\",7),f=new Oe(\\\"pointer\\\",8),new Oe(\\\"progress\\\",9),new Oe(\\\"wait\\\",10),new Oe(\\\"cell\\\",11),new Oe(\\\"crosshair\\\",12),new Oe(\\\"text\\\",13),new Oe(\\\"verticalText\\\",14),new Oe(\\\"alias\\\",15),new Oe(\\\"copy\\\",16),new Oe(\\\"move\\\",17),new Oe(\\\"noDrop\\\",18),new Oe(\\\"notAllowed\\\",19),new Oe(\\\"grab\\\",20),new Oe(\\\"grabbing\\\",21),new Oe(\\\"colResize\\\",22),new Oe(\\\"rowResize\\\",23),new Oe(\\\"allScroll\\\",24),new Oe(\\\"eResize\\\",25),new Oe(\\\"nResize\\\",26),new Oe(\\\"neResize\\\",27),new Oe(\\\"nwResize\\\",28),new Oe(\\\"sResize\\\",29),new Oe(\\\"seResize\\\",30),new Oe(\\\"swResize\\\",31),new Oe(\\\"wResize\\\",32),new Oe(\\\"ewResize\\\",33),new Oe(\\\"nsResize\\\",34),new Oe(\\\"neswResize\\\",35),new Oe(\\\"nwseResize\\\",36),new Oe(\\\"zoomIn\\\",37),new Oe(\\\"zoomOut\\\",38)}function Oe(t,e){Wt.call(this,t,e)}function Ie(){if(g)return It();g=!0,new Le(\\\"initial\\\",0),new Le(\\\"inherit\\\",1),new Le(\\\"unset\\\",2),new Le(\\\"block\\\",3),new Le(\\\"inline\\\",4),new Le(\\\"runIn\\\",5),new Le(\\\"flow\\\",6),new Le(\\\"flowRoot\\\",7),new Le(\\\"table\\\",8),m=new Le(\\\"flex\\\",9),new Le(\\\"grid\\\",10),new Le(\\\"subgrid\\\",11),new Le(\\\"listItem\\\",12),new Le(\\\"tableRowGroup\\\",13),new Le(\\\"tableHeaderGroup\\\",14),new Le(\\\"tableFooterGroup\\\",15),new Le(\\\"tableRow\\\",16),new Le(\\\"tableCell\\\",17),new Le(\\\"tableColumnGroup\\\",18),new Le(\\\"tableColumn\\\",19),new Le(\\\"tableCaption\\\",20),new Le(\\\"contents\\\",21),new Le(\\\"none\\\",22),v=new Le(\\\"inlineBlock\\\",23),new Le(\\\"inlineListItem\\\",24),new Le(\\\"inlineTable\\\",25),new Le(\\\"inlineFlex\\\",26),new Le(\\\"inlineGrid\\\",27)}function Le(t,e){Wt.call(this,t,e)}function Pe(){y=this,this.q34_1=new ze(\\\"initial\\\"),this.r34_1=new ze(\\\"inherit\\\"),this.s34_1=new ze(\\\"unset\\\"),this.t34_1=new ze(\\\"auto\\\"),this.u34_1=new ze(\\\"content\\\"),this.v34_1=new ze(\\\"min-content\\\"),this.w34_1=new ze(\\\"max-content\\\"),this.x34_1=new ze(\\\"fit-content\\\"),this.y34_1=new ze(\\\"fill\\\"),this.z34_1=new ze(\\\"0\\\")}function ze(t){null==y&&new Pe,He.call(this,t),this.b35_1=t}function Re(){if(x)return It();x=!0,new De(\\\"initial\\\",0),new De(\\\"inherit\\\",1),new De(\\\"unset\\\",2),_=new De(\\\"column\\\",3),new De(\\\"columnReverse\\\",4),b=new De(\\\"row\\\",5),new De(\\\"rowReverse\\\",6)}function De(t,e){Wt.call(this,t,e)}function $e(t,e){Wt.call(this,t,e)}function Be(t,e){Wt.call(this,t,e)}function Ne(t,e){Wt.call(this,t,e)}function Fe(){if(O)return It();O=!0,new je(\\\"initial\\\",0),new je(\\\"inherit\\\",1),new je(\\\"unset\\\",2),new je(\\\"static\\\",3),S=new je(\\\"relative\\\",4),k=new je(\\\"absolute\\\",5),new je(\\\"fixed\\\",6),new je(\\\"sticky\\\",7)}function je(t,e){Wt.call(this,t,e)}function Ue(){if(P)return It();P=!0,new qe(\\\"initial\\\",0),new qe(\\\"inherit\\\",1),new qe(\\\"unset\\\",2),I=new qe(\\\"left\\\",3),new qe(\\\"right\\\",4),L=new qe(\\\"center\\\",5),new qe(\\\"justify\\\",6),new qe(\\\"justifyAll\\\",7),new qe(\\\"start\\\",8),new qe(\\\"end\\\",9),new qe(\\\"matchParent\\\",10)}function qe(t,e){Wt.call(this,t,e)}function Ve(t,e){Wt.call(this,t,e)}function He(t){this.c35_1=t}function Ge(t){return new Se(t)}function We(t){var e;this.d35_1=t,e=Pt(),this.e35_1=e}function Xe(t,e){return Pr(),D.h35(t,ne(\\\"alignContent\\\",1,ee,(function(t){return Ye(t)}),(function(t,e){return Xe(t,e)})),e)}function Ye(t){return Pr(),D.i35(t,ne(\\\"alignContent\\\",1,ee,(function(t){return Ye(t)}),(function(t,e){return Xe(t,e)})))}function Ze(t,e){return Pr(),$.h35(t,ne(\\\"alignItems\\\",1,ee,(function(t){return Ke(t)}),(function(t,e){return Ze(t,e)})),e)}function Ke(t){return Pr(),$.i35(t,ne(\\\"alignItems\\\",1,ee,(function(t){return Ke(t)}),(function(t,e){return Ze(t,e)})))}function Je(t,e){return Pr(),B.h35(t,ne(\\\"alignSelf\\\",1,ee,(function(t){return Qe(t)}),(function(t,e){return Je(t,e)})),e)}function Qe(t){return Pr(),B.i35(t,ne(\\\"alignSelf\\\",1,ee,(function(t){return Qe(t)}),(function(t,e){return Je(t,e)})))}function tn(t,e){return Pr(),N.h35(t,ne(\\\"backgroundColor\\\",1,ee,(function(t){return en(t)}),(function(t,e){return tn(t,e)})),e)}function en(t){return Pr(),N.i35(t,ne(\\\"backgroundColor\\\",1,ee,(function(t){return en(t)}),(function(t,e){return tn(t,e)})))}function nn(t,e){return Pr(),F.h35(t,ne(\\\"border\\\",1,ee,(function(t){return rn(t)}),(function(t,e){return nn(t,e)})),e)}function rn(t){return Pr(),F.i35(t,ne(\\\"border\\\",1,ee,(function(t){return rn(t)}),(function(t,e){return nn(t,e)})))}function on(t,e){return Pr(),j.h35(t,ne(\\\"borderRadius\\\",1,ee,(function(t){return an(t)}),(function(t,e){return on(t,e)})),e)}function an(t){return Pr(),j.i35(t,ne(\\\"borderRadius\\\",1,ee,(function(t){return an(t)}),(function(t,e){return on(t,e)})))}function sn(t,e){return Pr(),U.h35(t,ne(\\\"borderStyle\\\",1,ee,(function(t){return ln(t)}),(function(t,e){return sn(t,e)})),e)}function ln(t){return Pr(),U.i35(t,ne(\\\"borderStyle\\\",1,ee,(function(t){return ln(t)}),(function(t,e){return sn(t,e)})))}function un(t,e){return Pr(),q.h35(t,ne(\\\"borderLeftStyle\\\",1,ee,(function(t){return cn(t)}),(function(t,e){return un(t,e)})),e)}function cn(t){return Pr(),q.i35(t,ne(\\\"borderLeftStyle\\\",1,ee,(function(t){return cn(t)}),(function(t,e){return un(t,e)})))}function hn(t,e){return Pr(),V.h35(t,ne(\\\"borderLeftWidth\\\",1,ee,(function(t){return pn(t)}),(function(t,e){return hn(t,e)})),e)}function pn(t){return Pr(),V.i35(t,ne(\\\"borderLeftWidth\\\",1,ee,(function(t){return pn(t)}),(function(t,e){return hn(t,e)})))}function fn(t,e){return Pr(),H.h35(t,ne(\\\"borderLeftColor\\\",1,ee,(function(t){return dn(t)}),(function(t,e){return fn(t,e)})),e)}function dn(t){return Pr(),H.i35(t,ne(\\\"borderLeftColor\\\",1,ee,(function(t){return dn(t)}),(function(t,e){return fn(t,e)})))}function mn(t,e){return Pr(),G.h35(t,ne(\\\"color\\\",1,ee,(function(t){return vn(t)}),(function(t,e){return mn(t,e)})),e)}function vn(t){return Pr(),G.i35(t,ne(\\\"color\\\",1,ee,(function(t){return vn(t)}),(function(t,e){return mn(t,e)})))}function gn(t,e){return Pr(),W.h35(t,ne(\\\"content\\\",1,ee,(function(t){return yn(t)}),(function(t,e){return gn(t,e)})),e)}function yn(t){return Pr(),W.i35(t,ne(\\\"content\\\",1,ee,(function(t){return yn(t)}),(function(t,e){return gn(t,e)})))}function _n(t,e){return Pr(),X.h35(t,ne(\\\"cursor\\\",1,ee,(function(t){return bn(t)}),(function(t,e){return _n(t,e)})),e)}function bn(t){return Pr(),X.i35(t,ne(\\\"cursor\\\",1,ee,(function(t){return bn(t)}),(function(t,e){return _n(t,e)})))}function xn(t,e){return Pr(),Y.h35(t,ne(\\\"display\\\",1,ee,(function(t){return wn(t)}),(function(t,e){return xn(t,e)})),e)}function wn(t){return Pr(),Y.i35(t,ne(\\\"display\\\",1,ee,(function(t){return wn(t)}),(function(t,e){return xn(t,e)})))}function An(t,e){return Pr(),Z.h35(t,ne(\\\"flexDirection\\\",1,ee,(function(t){return Cn(t)}),(function(t,e){return An(t,e)})),e)}function Cn(t){return Pr(),Z.i35(t,ne(\\\"flexDirection\\\",1,ee,(function(t){return Cn(t)}),(function(t,e){return An(t,e)})))}function Mn(t,e){return Pr(),K.h35(t,ne(\\\"flexWrap\\\",1,ee,(function(t){return En(t)}),(function(t,e){return Mn(t,e)})),e)}function En(t){return Pr(),K.i35(t,ne(\\\"flexWrap\\\",1,ee,(function(t){return En(t)}),(function(t,e){return Mn(t,e)})))}function Tn(t,e){return Pr(),J.h35(t,ne(\\\"height\\\",1,ee,(function(t){return Sn(t)}),(function(t,e){return Tn(t,e)})),e)}function Sn(t){return Pr(),J.i35(t,ne(\\\"height\\\",1,ee,(function(t){return Sn(t)}),(function(t,e){return Tn(t,e)})))}function kn(t,e){return Pr(),Q.h35(t,ne(\\\"listStyleType\\\",1,ee,(function(t){return On(t)}),(function(t,e){return kn(t,e)})),e)}function On(t){return Pr(),Q.i35(t,ne(\\\"listStyleType\\\",1,ee,(function(t){return On(t)}),(function(t,e){return kn(t,e)})))}function In(t,e){return Pr(),tt.h35(t,ne(\\\"margin\\\",1,ee,(function(t){return Ln(t)}),(function(t,e){return In(t,e)})),e)}function Ln(t){return Pr(),tt.i35(t,ne(\\\"margin\\\",1,ee,(function(t){return Ln(t)}),(function(t,e){return In(t,e)})))}function Pn(t,e){return Pr(),et.h35(t,ne(\\\"marginTop\\\",1,ee,(function(t){return zn(t)}),(function(t,e){return Pn(t,e)})),e)}function zn(t){return Pr(),et.i35(t,ne(\\\"marginTop\\\",1,ee,(function(t){return zn(t)}),(function(t,e){return Pn(t,e)})))}function Rn(t,e){return Pr(),nt.h35(t,ne(\\\"marginRight\\\",1,ee,(function(t){return Dn(t)}),(function(t,e){return Rn(t,e)})),e)}function Dn(t){return Pr(),nt.i35(t,ne(\\\"marginRight\\\",1,ee,(function(t){return Dn(t)}),(function(t,e){return Rn(t,e)})))}function $n(t,e){return Pr(),rt.h35(t,ne(\\\"marginBottom\\\",1,ee,(function(t){return Bn(t)}),(function(t,e){return $n(t,e)})),e)}function Bn(t){return Pr(),rt.i35(t,ne(\\\"marginBottom\\\",1,ee,(function(t){return Bn(t)}),(function(t,e){return $n(t,e)})))}function Nn(t,e){return Pr(),it.h35(t,ne(\\\"marginLeft\\\",1,ee,(function(t){return Fn(t)}),(function(t,e){return Nn(t,e)})),e)}function Fn(t){return Pr(),it.i35(t,ne(\\\"marginLeft\\\",1,ee,(function(t){return Fn(t)}),(function(t,e){return Nn(t,e)})))}function jn(t,e){return Pr(),ot.h35(t,ne(\\\"minWidth\\\",1,ee,(function(t){return Un(t)}),(function(t,e){return jn(t,e)})),e)}function Un(t){return Pr(),ot.i35(t,ne(\\\"minWidth\\\",1,ee,(function(t){return Un(t)}),(function(t,e){return jn(t,e)})))}function qn(t,e){return Pr(),at.h35(t,ne(\\\"maxWidth\\\",1,ee,(function(t){return Vn(t)}),(function(t,e){return qn(t,e)})),e)}function Vn(t){return Pr(),at.i35(t,ne(\\\"maxWidth\\\",1,ee,(function(t){return Vn(t)}),(function(t,e){return qn(t,e)})))}function Hn(t,e){return Pr(),st.h35(t,ne(\\\"maxHeight\\\",1,ee,(function(t){return Gn(t)}),(function(t,e){return Hn(t,e)})),e)}function Gn(t){return Pr(),st.i35(t,ne(\\\"maxHeight\\\",1,ee,(function(t){return Gn(t)}),(function(t,e){return Hn(t,e)})))}function Wn(t,e){return Pr(),lt.h35(t,ne(\\\"overflowY\\\",1,ee,(function(t){return Xn(t)}),(function(t,e){return Wn(t,e)})),e)}function Xn(t){return Pr(),lt.i35(t,ne(\\\"overflowY\\\",1,ee,(function(t){return Xn(t)}),(function(t,e){return Wn(t,e)})))}function Yn(t,e){return Pr(),ut.h35(t,ne(\\\"padding\\\",1,ee,(function(t){return Zn(t)}),(function(t,e){return Yn(t,e)})),e)}function Zn(t){return Pr(),ut.i35(t,ne(\\\"padding\\\",1,ee,(function(t){return Zn(t)}),(function(t,e){return Yn(t,e)})))}function Kn(t,e){return Pr(),ct.h35(t,ne(\\\"paddingTop\\\",1,ee,(function(t){return Jn(t)}),(function(t,e){return Kn(t,e)})),e)}function Jn(t){return Pr(),ct.i35(t,ne(\\\"paddingTop\\\",1,ee,(function(t){return Jn(t)}),(function(t,e){return Kn(t,e)})))}function Qn(t,e){return Pr(),ht.h35(t,ne(\\\"paddingRight\\\",1,ee,(function(t){return tr(t)}),(function(t,e){return Qn(t,e)})),e)}function tr(t){return Pr(),ht.i35(t,ne(\\\"paddingRight\\\",1,ee,(function(t){return tr(t)}),(function(t,e){return Qn(t,e)})))}function er(t,e){return Pr(),pt.h35(t,ne(\\\"paddingBottom\\\",1,ee,(function(t){return nr(t)}),(function(t,e){return er(t,e)})),e)}function nr(t){return Pr(),pt.i35(t,ne(\\\"paddingBottom\\\",1,ee,(function(t){return nr(t)}),(function(t,e){return er(t,e)})))}function rr(t,e){return Pr(),ft.h35(t,ne(\\\"paddingLeft\\\",1,ee,(function(t){return ir(t)}),(function(t,e){return rr(t,e)})),e)}function ir(t){return Pr(),ft.i35(t,ne(\\\"paddingLeft\\\",1,ee,(function(t){return ir(t)}),(function(t,e){return rr(t,e)})))}function or(t,e){return Pr(),dt.h35(t,ne(\\\"position\\\",1,ee,(function(t){return ar(t)}),(function(t,e){return or(t,e)})),e)}function ar(t){return Pr(),dt.i35(t,ne(\\\"position\\\",1,ee,(function(t){return ar(t)}),(function(t,e){return or(t,e)})))}function sr(t,e){return Pr(),mt.h35(t,ne(\\\"right\\\",1,ee,(function(t){return lr(t)}),(function(t,e){return sr(t,e)})),e)}function lr(t){return Pr(),mt.i35(t,ne(\\\"right\\\",1,ee,(function(t){return lr(t)}),(function(t,e){return sr(t,e)})))}function ur(t,e){return Pr(),vt.h35(t,ne(\\\"textAlign\\\",1,ee,(function(t){return cr(t)}),(function(t,e){return ur(t,e)})),e)}function cr(t){return Pr(),vt.i35(t,ne(\\\"textAlign\\\",1,ee,(function(t){return cr(t)}),(function(t,e){return ur(t,e)})))}function hr(t,e){return Pr(),gt.h35(t,ne(\\\"textDecoration\\\",1,ee,(function(t){return pr(t)}),(function(t,e){return hr(t,e)})),e)}function pr(t){return Pr(),gt.i35(t,ne(\\\"textDecoration\\\",1,ee,(function(t){return pr(t)}),(function(t,e){return hr(t,e)})))}function fr(t,e){return Pr(),yt.h35(t,ne(\\\"top\\\",1,ee,(function(t){return dr(t)}),(function(t,e){return fr(t,e)})),e)}function dr(t){return Pr(),yt.i35(t,ne(\\\"top\\\",1,ee,(function(t){return dr(t)}),(function(t,e){return fr(t,e)})))}function mr(t,e){return Pr(),_t.h35(t,ne(\\\"transform\\\",1,ee,(function(t){return vr(t)}),(function(t,e){return mr(t,e)})),e)}function vr(t){return Pr(),_t.i35(t,ne(\\\"transform\\\",1,ee,(function(t){return vr(t)}),(function(t,e){return mr(t,e)})))}function gr(t,e){return Pr(),bt.h35(t,ne(\\\"userSelect\\\",1,ee,(function(t){return yr(t)}),(function(t,e){return gr(t,e)})),e)}function yr(t){return Pr(),bt.i35(t,ne(\\\"userSelect\\\",1,ee,(function(t){return yr(t)}),(function(t,e){return gr(t,e)})))}function _r(t,e){return Pr(),xt.h35(t,ne(\\\"width\\\",1,ee,(function(t){return br(t)}),(function(t,e){return _r(t,e)})),e)}function br(t){return Pr(),xt.i35(t,ne(\\\"width\\\",1,ee,(function(t){return br(t)}),(function(t,e){return _r(t,e)})))}function xr(){}function wr(t,e,n){return function(t,e,n,r){return 0!=(1&e)&&(t=null),Ar.call(r,t),r}(t,e,0,Object.create(Ar.prototype))}function Ar(t){this.g35_1=t}function Cr(t){var e,n=t.t2w_1;if(null==n){for(var r=zt(),i=t.y().e();i.f();){var o=i.g(),a=o.u2(),s=o.w2();r.f9(ce(a)+\\\": \\\"+Gt(s)+\\\";\\\\n\\\")}var l=r.toString();t.t2w_1=l,e=l}else e=n;return e}function Mr(){this.s2w_1=qt(),this.t2w_1=null}function Er(t,e,n,r,i){Pr(),null!=e&&null!=n&&null!=r&&null!=i?Yn(t,Sr(e,n,r,i)):(null==e||(Kn(t,e),It()),null==n||(Qn(t,n),It()),null==r||(er(t,r),It()),null==i||(rr(t,i),It()))}function Tr(t,e,n,r,i){Pr(),null!=e&&null!=n&&null!=r&&null!=i?In(t,Sr(e,n,r,i)):(null==e||(Pn(t,e),It()),null==n||(Rn(t,n),It()),null==r||($n(t,r),It()),null==i||(Nn(t,i),It()))}function Sr(t,e,n,r){return Pr(),$t(t,n)&&$t(e,r)?$t(t,e)?\\\"\\\"+t:t+\\\" \\\"+e:$t(e,r)?t+\\\" \\\"+e+\\\" \\\"+n:t+\\\" \\\"+e+\\\" \\\"+n+\\\" \\\"+r}function kr(){return Pr(),new Rr}function Or(){return Pr(),new $r}function Ir(){return Pr(),new qr}function Lr(){return Pr(),new Wr}function Pr(){wt||(wt=!0,D=wr(null,1),$=wr(null,1),B=wr(null,1),new Ar(kr),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),N=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),F=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),j=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),U=wr(null,1),wr(null,1),wr(null,1),wr(null,1),q=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),V=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),H=wr(null,1),wr(null,1),new Ar(Or),wr(null,1),wr(null,1),G=wr(null,1),wr(null,1),wr(null,1),W=wr(null,1),X=wr(null,1),wr(null,1),Y=wr(null,1),wr(null,1),wr(null,1),Z=wr(null,1),wr(null,1),wr(null,1),K=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),J=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),Q=wr(null,1),tt=wr(null,1),et=wr(null,1),nt=wr(null,1),rt=wr(null,1),it=wr(null,1),ot=wr(null,1),at=wr(null,1),wr(null,1),st=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),lt=wr(null,1),wr(null,1),wr(null,1),ut=wr(null,1),ct=wr(null,1),ht=wr(null,1),pt=wr(null,1),ft=wr(null,1),wr(null,1),dt=wr(null,1),wr(null,1),mt=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1),vt=wr(null,1),gt=wr(null,1),wr(null,1),wr(null,1),yt=wr(null,1),_t=new Ar(Ir),new Ar(Lr),wr(null,1),wr(null,1),wr(null,1),wr(null,1),bt=wr(null,1),wr(null,1),wr(null,1),wr(null,1),xt=wr(null,1),wr(null,1),wr(null,1),wr(null,1),wr(null,1))}function zr(){At=this,this.l35_1=new Rr}function Rr(){null==At&&new zr,We.call(this,\\\", \\\")}function Dr(){Ct=this,this.m35_1=new $r}function $r(){null==Ct&&new Dr,We.call(this,\\\", \\\")}function Br(){Mt=this;var t=re();this.n35_1=function(t,e,n,r,i,o){return 0!=(2&r)&&(e=null),0!=(4&r)&&(n=null),Fr.call(o,t,e,n),o}(t,null,null,6,0,Object.create(Fr.prototype))}function Nr(){return null==Mt&&new Br,Mt}function Fr(t,e,n){Nr(),this.p35_1=t,this.q35_1=e,this.r35_1=n}function jr(t,e){Wt.call(this,t,e)}function Ur(){St=this,this.u35_1=new qr}function qr(){null==St&&new Ur,We.call(this,\\\" \\\")}function Vr(t,e){this.v35_1=t,this.w35_1=e}function Hr(t){He.call(this,t),this.y35_1=t}function Gr(){kt=this,this.z35_1=new Wr}function Wr(){null==kt&&new Gr,We.call(this,\\\", \\\")}ve.prototype=Object.create(He.prototype),ve.prototype.constructor=ve,ge.prototype=Object.create(ve.prototype),ge.prototype.constructor=ge,_e.prototype=Object.create(Wt.prototype),_e.prototype.constructor=_e,Me.prototype=Object.create(He.prototype),Me.prototype.constructor=Me,Te.prototype=Object.create(Wt.prototype),Te.prototype.constructor=Te,Se.prototype=Object.create(He.prototype),Se.prototype.constructor=Se,Oe.prototype=Object.create(Wt.prototype),Oe.prototype.constructor=Oe,Le.prototype=Object.create(Wt.prototype),Le.prototype.constructor=Le,ze.prototype=Object.create(He.prototype),ze.prototype.constructor=ze,De.prototype=Object.create(Wt.prototype),De.prototype.constructor=De,$e.prototype=Object.create(Wt.prototype),$e.prototype.constructor=$e,Be.prototype=Object.create(Wt.prototype),Be.prototype.constructor=Be,Ne.prototype=Object.create(Wt.prototype),Ne.prototype.constructor=Ne,je.prototype=Object.create(Wt.prototype),je.prototype.constructor=je,qe.prototype=Object.create(Wt.prototype),qe.prototype.constructor=qe,Ve.prototype=Object.create(Wt.prototype),Ve.prototype.constructor=Ve,Rr.prototype=Object.create(We.prototype),Rr.prototype.constructor=Rr,$r.prototype=Object.create(We.prototype),$r.prototype.constructor=$r,jr.prototype=Object.create(Wt.prototype),jr.prototype.constructor=jr,qr.prototype=Object.create(We.prototype),qr.prototype.constructor=qr,Hr.prototype=Object.create(He.prototype),Hr.prototype.constructor=Hr,Wr.prototype=Object.create(We.prototype),Wr.prototype.constructor=Wr,se.$metadata$=Lt(\\\"CssBuilder\\\",[xr,de]),ue.prototype.i2x=function(){return this.x2w_1},ue.prototype.h2w=function(){return this.y2w_1},ue.prototype.i2w=function(t){this.z2w_1=t},ue.prototype.l1l=function(){return this.z2w_1},ue.prototype.g2w=function(){return this.c2x_1},ue.prototype.p2w=function(t){return t(this)},ue.prototype.r2w=function(){return this.d2x_1},ue.prototype.j2w=function(){return this.e2x_1},ue.prototype.toString=function(){var t=zt();return t.ra(this.r2w()),this.j2x(t,this.i2x()),t.toString()},ue.prototype.hashCode=function(){var t,e=this.f2x_1;if(null==e){for(var n=0,r=this.v2w().e();r.f();)n=n+r.g().hashCode()|0;for(var i=n,o=0,a=this.w2w().e();a.f();)o=o+a.g().hashCode()|0;var s=(i+o|0)+this.r2w().hashCode()|0;this.f2x_1=s,t=s}else t=e;return t},ue.prototype.equals=function(t){var e;if(this!==t)if(null!=t&&Rt(this).equals(Rt(t))){var n;if(t instanceof ue||Dt(),Bt(this)===Bt(t)){var r=t;n=!(!$t(this.v2w(),r.v2w())||!$t(this.w2w(),r.w2w()))&&this.r2w().equals(r.r2w())}else n=!1;e=n}else e=!1;else e=!0;return e},ue.prototype.v2w=function(){return this.g2x_1},ue.prototype.w2w=function(){return this.h2x_1},ue.$metadata$=Nt(\\\"CssBuilderImpl\\\",[se]),fe.prototype.r2x=function(){return this.o2x_1},fe.prototype.s2x=function(){return this.p2x_1},fe.prototype.hashCode=function(){var t,e=this.q2x_1;if(null==e){var n=jt(this.o2x_1)+Bt(this.p2x_1)|0;this.q2x_1=n,t=n}else t=e;return t},fe.prototype.equals=function(t){var e;if(this!==t)if(null!=t&&Rt(this).equals(Rt(t))){var n;if(t instanceof fe||Dt(),Bt(this)===Bt(t)){var r=t;n=this.o2x_1===r.o2x_1&&$t(this.p2x_1,r.p2x_1)}else n=!1;e=n}else e=!1;else e=!0;return e},fe.prototype.toString=function(){return\\\"Rule(selector=\\\"+this.o2x_1+\\\", css=\\\"+this.p2x_1+\\\")\\\"},fe.$metadata$=Nt(\\\"Rule\\\"),de.$metadata$=Lt(\\\"RuleContainer\\\"),me.$metadata$=Ht(\\\"Companion\\\"),ve.prototype.w2=function(){return this.f2y_1},ve.prototype.equals=function(t){return this===t||!(null==t||!Rt(this).equals(Rt(t)))&&(t instanceof ve||Dt(),this.w2()===t.w2())},ve.prototype.hashCode=function(){return jt(this.w2())},ve.$metadata$=Nt(\\\"LinearDimension\\\",void 0,void 0,void 0,void 0,He.prototype),ge.$metadata$=Nt(\\\"NumericLinearDimension\\\",void 0,void 0,void 0,void 0,ve.prototype),_e.prototype.toString=function(){return ce(this.y1_1)},_e.$metadata$=Nt(\\\"Align\\\",void 0,void 0,void 0,void 0,Wt.prototype),Ae.prototype.l34=function(){return this.b2z_1},Ae.prototype.m34=function(){return this.l31_1},Ae.prototype.n34=function(){return this.f34_1},Ae.$metadata$=Ht(\\\"Companion\\\"),Me.prototype.w2=function(){return this.l2y_1},Me.$metadata$=Nt(\\\"Color\\\",void 0,void 0,void 0,void 0,He.prototype),Te.prototype.toString=function(){return this.y1_1},Te.$metadata$=Nt(\\\"BorderStyle\\\",void 0,void 0,void 0,void 0,Wt.prototype),Se.prototype.w2=function(){return this.p34_1},Se.prototype.toString=function(){return\\\"'\\\"+this.p34_1+\\\"'\\\"},Se.$metadata$=Nt(\\\"QuotedString\\\",void 0,void 0,void 0,void 0,He.prototype),Oe.prototype.toString=function(){return ce(this.y1_1)},Oe.$metadata$=Nt(\\\"Cursor\\\",void 0,void 0,void 0,void 0,Wt.prototype),Le.prototype.toString=function(){return ce(this.y1_1)},Le.$metadata$=Nt(\\\"Display\\\",void 0,void 0,void 0,void 0,Wt.prototype),Pe.$metadata$=Ht(\\\"Companion\\\"),ze.prototype.w2=function(){return this.b35_1},ze.$metadata$=Nt(\\\"FlexBasis\\\",void 0,void 0,void 0,void 0,He.prototype),De.prototype.toString=function(){return ce(this.y1_1)},De.$metadata$=Nt(\\\"FlexDirection\\\",void 0,void 0,void 0,void 0,Wt.prototype),$e.prototype.toString=function(){return ce(this.y1_1)},$e.$metadata$=Nt(\\\"FlexWrap\\\",void 0,void 0,void 0,void 0,Wt.prototype),Be.prototype.toString=function(){return ce(this.y1_1)},Be.$metadata$=Nt(\\\"ListStyleType\\\",void 0,void 0,void 0,void 0,Wt.prototype),Ne.prototype.toString=function(){return this.y1_1},Ne.$metadata$=Nt(\\\"Overflow\\\",void 0,void 0,void 0,void 0,Wt.prototype),je.prototype.toString=function(){return this.y1_1},je.$metadata$=Nt(\\\"Position\\\",void 0,void 0,void 0,void 0,Wt.prototype),qe.prototype.toString=function(){return ce(this.y1_1)},qe.$metadata$=Nt(\\\"TextAlign\\\",void 0,void 0,void 0,void 0,Wt.prototype),Ve.prototype.toString=function(){return this.y1_1},Ve.$metadata$=Nt(\\\"UserSelect\\\",void 0,void 0,void 0,void 0,Wt.prototype),He.prototype.w2=function(){return this.c35_1},He.prototype.toString=function(){return this.w2()},He.$metadata$=Nt(\\\"CssValue\\\"),We.prototype.toString=function(){return this.e35_1.i()?\\\"none\\\":Kt(this.e35_1,this.d35_1,null,null,0,null,null,62,null)},We.prototype.f35=function(t){this.e35_1.a(t)},We.$metadata$=Nt(\\\"StyleList\\\"),xr.$metadata$=Lt(\\\"StyledElement\\\"),Ar.prototype.i35=function(t,e){var n=this.g35_1;if(null==n);else if(!t.r2w().o1a(e.callableName)){var r=t.r2w(),i=e.callableName,o=n();r.j35(i,Jt(o)?o:Dt()),It()}var a=t.r2w().ga(e.callableName);return null==a||Jt(a)?a:Dt()},Ar.prototype.h35=function(t,e,n){var r=t.r2w(),i=e.callableName;r.j35(i,Jt(n)?n:Dt())},Ar.$metadata$=Nt(\\\"CssProperty\\\"),Mr.prototype.y=function(){return this.s2w_1.y()},Mr.prototype.k3=function(){return this.s2w_1.k3()},Mr.prototype.h=function(){return this.s2w_1.h()},Mr.prototype.l3=function(){return this.s2w_1.l3()},Mr.prototype.o1a=function(t){return this.s2w_1.e3(t)},Mr.prototype.e3=function(t){return null!=t&&\\\"string\\\"==typeof t&&this.o1a(null!=t&&\\\"string\\\"==typeof t?t:Dt())},Mr.prototype.ga=function(t){return this.s2w_1.s(t)},Mr.prototype.s=function(t){return null==t||\\\"string\\\"!=typeof t?null:this.ga(null!=t&&\\\"string\\\"==typeof t?t:Dt())},Mr.prototype.i=function(){return this.s2w_1.i()},Mr.prototype.k35=function(t,e){return this.s2w_1.b(t,e)},Mr.prototype.b=function(t,e){var n=null!=t&&\\\"string\\\"==typeof t?t:Dt();return this.k35(n,Jt(e)?e:Dt())},Mr.prototype.u2w=function(t){this.s2w_1.i4(t)},Mr.prototype.i4=function(t){return this.u2w(t)},Mr.prototype.x2q=function(t){return this.s2w_1.vf(t)},Mr.prototype.vf=function(t){return null==t||\\\"string\\\"!=typeof t?null:this.x2q(null!=t&&\\\"string\\\"==typeof t?t:Dt())},Mr.prototype.equals=function(t){var e;if(this!==t)if(null!=t&&Rt(this).equals(Rt(t))){var n;if(t instanceof Mr||Dt(),Bt(this)===Bt(t)){var r=t;n=Cr(this)==Cr(r)}else n=!1;e=n}else e=!1;else e=!0;return e},Mr.prototype.hashCode=function(){var t=Cr(this),e=null==t?null:Bt(t);return null==e?0:e},Mr.prototype.toString=function(){return Qt(Cr(this))},Mr.prototype.j35=function(t,e){this.k35(t,e),this.t2w_1=null},Mr.$metadata$=Nt(\\\"CssDeclarations\\\",[te]),zr.$metadata$=Ht(\\\"Companion\\\"),Rr.$metadata$=Nt(\\\"Animations\\\",void 0,void 0,void 0,void 0,We.prototype),Dr.$metadata$=Ht(\\\"Companion\\\"),$r.$metadata$=Nt(\\\"BoxShadows\\\",void 0,void 0,void 0,void 0,We.prototype),Br.prototype.o35=function(){return this.n35_1},Br.$metadata$=Ht(\\\"Companion\\\"),Fr.prototype.s35=function(){return this.q35_1},Fr.prototype.t35=function(){return this.r35_1},Fr.prototype.toString=function(){var t;if(this.p35_1.i())t=\\\"none\\\";else{var e=zt();e.f9(Kt(this.p35_1,\\\" \\\",null,null,0,null,null,62,null));var n=this.q35_1;null==n||e.f9(\\\" \\\"+n);var r=this.r35_1;null==r||(e.f9(\\\" \\\"+r),It()),t=e.toString()}return t},Fr.$metadata$=Nt(\\\"TextDecoration\\\"),jr.prototype.toString=function(){return ce(this.y1_1)},jr.$metadata$=Nt(\\\"TextDecorationLine\\\",void 0,void 0,void 0,void 0,Wt.prototype),Ur.$metadata$=Ht(\\\"Companion\\\"),qr.$metadata$=Nt(\\\"Transforms\\\",void 0,void 0,void 0,void 0,We.prototype),Vr.prototype.toString=function(){return this.v35_1+\\\"(\\\"+oe(this.w35_1,\\\", \\\",null,null,0,null,null,62,null)+\\\")\\\"},Vr.$metadata$=Nt(\\\"Transform\\\"),Hr.prototype.w2=function(){return this.y35_1},Hr.$metadata$=Nt(\\\"Angle\\\",void 0,void 0,void 0,void 0,He.prototype),Gr.$metadata$=Ht(\\\"Companion\\\"),Wr.$metadata$=Nt(\\\"Transitions\\\",void 0,void 0,void 0,void 0,We.prototype),ue.prototype.k2w=function(t,e){return this.l2w(t,!1,!1,e,4,null)},ue.prototype.m2w=function(t){return this.k2w(\\\"&:disabled\\\",t)},ue.prototype.n2w=function(t){return this.k2w(\\\"&:hover\\\",t)},ue.prototype.o2w=function(t){return this.k2w(\\\"&::before\\\",(e=t,function(t){return gn(t,Ge(\\\"\\\")),e(t),It()}));var e},ue.prototype.i2p=function(t){return ae(this,t)},ue.prototype.q2w=function(t){this.r2w().u2w(t.r2w());for(var e=t.g2w().e();e.f();)ae(this,e.g());this.j2w().r(t.j2w()),this.v2w().r(t.v2w()),this.w2w().r(t.w2w())},ue.prototype.k2x=function(t,e){this.r2w().j35(t,e)},ue.prototype.j2x=function(t,e){for(var n=this.l2x(this.v2w(),this.w2w()).e();n.f();){var r=n.g(),i=r.o2x_1+\\\" {\\\";t.f9(i).d9(Ut(10)),t.ra(r.p2x_1),t.f9(\\\"}\\\").d9(Ut(10))}},ue.prototype.l2x=function(t,e){for(var n=qt(),r=t.e();r.f();){var i=r.g(),o=n.s(i.o2x_1);if(null==o){var a,s=i.o2x_1,l=le(null,!1,null,!1,!1,31);l.q2w(i.p2x_1),a=l;var u=new fe(i.o2x_1,a);n.b(s,u)}else o.p2x_1.q2w(i.p2x_1)}return Vt(e,n.l3())},ue.prototype.m2x=function(t,e,n,r){var i=le(this.i2x()+\\\" \\\",!1,e?this:null,!1,!1,24);r(i);var o=i;return this.n2x(t,e,n,o)},ue.prototype.l2w=function(t,e,n,r,i,o){return 0!=(4&i)&&(n=!1),null==o?this.m2x(t,e,n,r):o(t,e,n,r)},ue.prototype.n2x=function(t,e,n,r){var i=new fe(t,r);return r.i2w(e?this:null),(n?this.w2w():this.v2w()).a(i),i},t.$_$=t.$_$||{},t.$_$.a=function(){return function(){if(Tt)return It();Tt=!0,new jr(\\\"initial\\\",0),new jr(\\\"inherit\\\",1),new jr(\\\"unset\\\",2),Et=new jr(\\\"underline\\\",3),new jr(\\\"overline\\\",4),new jr(\\\"lineThrough\\\",5)}(),Et},t.$_$.b=function(){return ye(),a},t.$_$.c=function(){return ye(),o},t.$_$.d=function(){return Ee(),u},t.$_$.e=function(){return Ee(),c},t.$_$.f=function(){return ke(),p},t.$_$.g=function(){return ke(),f},t.$_$.h=function(){return Ie(),m},t.$_$.i=function(){return Ie(),v},t.$_$.j=function(){return Re(),_},t.$_$.k=function(){return Re(),b},t.$_$.l=function(){return function(){if(A)return It();A=!0,new $e(\\\"initial\\\",0),new $e(\\\"inherit\\\",1),new $e(\\\"unset\\\",2),new $e(\\\"nowrap\\\",3),w=new $e(\\\"wrap\\\",4),new $e(\\\"wrapReverse\\\",5)}(),w},t.$_$.m=function(){return function(){if(M)return It();M=!0,new Be(\\\"initial\\\",0),new Be(\\\"inherit\\\",1),new Be(\\\"unset\\\",2),C=new Be(\\\"none\\\",3),new Be(\\\"disc\\\",4),new Be(\\\"circle\\\",5),new Be(\\\"square\\\",6),new Be(\\\"decimal\\\",7)}(),C},t.$_$.n=function(){return function(){if(T)return It();T=!0,new Ne(\\\"initial\\\",0),new Ne(\\\"inherit\\\",1),new Ne(\\\"unset\\\",2),new Ne(\\\"visible\\\",3),new Ne(\\\"hidden\\\",4),new Ne(\\\"scroll\\\",5),E=new Ne(\\\"auto\\\",6)}(),E},t.$_$.o=function(){return Fe(),k},t.$_$.p=function(){return Fe(),S},t.$_$.q=function(){return Ue(),L},t.$_$.r=function(){return Ue(),I},t.$_$.s=function(){return function(){if(R)return It();R=!0,new Ve(\\\"initial\\\",0),new Ve(\\\"inherit\\\",1),new Ve(\\\"unset\\\",2),z=new Ve(\\\"none\\\",3),new Ve(\\\"auto\\\",4),new Ve(\\\"text\\\",5),new Ve(\\\"contain\\\",6),new Ve(\\\"all\\\",7)}(),z},t.$_$.t=function(t,e,n,r,i,o,a){return 0!=(8&o)&&(i=null),function(t,e,n,r,i){nn(t,e+\\\" \\\"+n+\\\" \\\"+r),null==i||(on(t,i),It())}(t,e,n,r,i)},t.$_$.u=function(t,e,n,r,i,o){return 0!=(2&i)&&(n=null),0!=(4&i)&&(r=null),function(t,e,n,r){hr(t,new Fr(ie(e),n,r))}(t,e,n,r)},t.$_$.v=le,t.$_$.w=Nr,t.$_$.x=Ce,t.$_$.y=function(t){return new Hr(Gt(t)+\\\"deg\\\")},t.$_$.z=function(t,e){return function(t,e,n){t.f35(new Vr(\\\"rotate\\\",n))}(t,0,[e])},t.$_$.a1=Me,t.$_$.b1=ze,t.$_$.c1=Xe,t.$_$.d1=Ze,t.$_$.e1=Je,t.$_$.f1=tn,t.$_$.g1=nn,t.$_$.h1=fn,t.$_$.i1=un,t.$_$.j1=hn,t.$_$.k1=on,t.$_$.l1=sn,t.$_$.m1=mn,t.$_$.n1=gn,t.$_$.o1=_n,t.$_$.p1=xn,t.$_$.q1=An,t.$_$.r1=Mn,t.$_$.s1=function(t,e){Pr(),t.k2x(\\\"flex\\\",Gt(e))},t.$_$.t1=function(t,e,n,r){Pr(),t.k2x(\\\"flex\\\",Gt(e)+\\\" \\\"+Gt(n)+\\\" \\\"+r)},t.$_$.u1=Tn,t.$_$.v1=kn,t.$_$.w1=Nn,t.$_$.x1=Rn,t.$_$.y1=function(t,e){return Pr(),Tr(t,e,e,e,e)},t.$_$.z1=function(t,e,n){return Pr(),Tr(t,e,n,e,n)},t.$_$.a2=Hn,t.$_$.b2=qn,t.$_$.c2=jn,t.$_$.d2=Wn,t.$_$.e2=rr,t.$_$.f2=Er,t.$_$.g2=function(t,e){return Pr(),Er(t,e,e,e,e)},t.$_$.h2=function(t){return new ge(t,\\\"%\\\")},t.$_$.i2=or,t.$_$.j2=function(t){return new ge(t,\\\"pt\\\")},t.$_$.k2=function(t){return new ge(t,\\\"px\\\")},t.$_$.l2=Ge,t.$_$.m2=sr,t.$_$.n2=ur,t.$_$.o2=hr,t.$_$.p2=fr,t.$_$.q2=vr,t.$_$.r2=gr,t.$_$.s2=function(t){return new ge(t,\\\"vh\\\")},t.$_$.t2=function(t){return new ge(t,\\\"vw\\\")},t.$_$.u2=_r}(t.exports,n(8744))},2735:(t,e,n)=>{!function(t,e,n){\\\"use strict\\\";var r=e.useEffect,i=(e.useMemo,n.$_$.b5);function o(t){return e=t,function(){var t=[];return e(t),function(t){return 0===t.length?void 0:(e=t,function(){for(var t=e,n=0,r=t.length;n<r;){var o=t[n];n=n+1|0,o()}return i()});var e}(t)};var e}t.$_$=t.$_$||{},t.$_$.a=function(t){var e=o(t);r(e)},t.$_$.b=function(t,e){var n=o(e);r(n,t)}}(t.exports,n(6204),n(8744))},8092:(t,e,n)=>{!function(t,e,n,r,i){\\\"use strict\\\";var o,a,s,l,u,c,h=e.createElement,p=n.$_$.ib,f=n.$_$.b5,d=n.$_$.r6,m=r.$_$.g,v=n.$_$.ka,g=i.$_$.w,y=n.$_$.aa,_=n.$_$.mb,b=n.$_$.u1,x=n.$_$.d2,w=i.$_$.u,A=i.$_$.v,C=r.$_$.f,M=n.$_$.b1,E=r.$_$.c,T=r.$_$.b,S=r.$_$.a,k=r.$_$.e,O=r.$_$.d,I=n.$_$.ja,L=n.$_$.s7,P=n.$_$.b6,z=n.$_$.t7,R=n.$_$.tb,D=n.$_$.j1,$=n.$_$.q8;function B(t,e,n){this.f49()[e]=n}function N(t,e){var n;n=d(e),this.e49(t,\\\"value\\\",n)}function F(){o=this}function j(){}function U(t){this.l49_1=t}function q(t){this.m49_1=t}function V(t){var e;C.call(this),this.o49_1=new q(this),this.p49_1=t(this.o49_1),e={},this.q49_1=e;for(var n=this.p49_1.h2p(),r=M(),i=n.e();i.f();){var o=i.g();o.u2()!==X()&&r.a(o)}for(var a=r.e();a.f();){var s=a.g();H(this,s.u2(),s.w2())}var l=Y(this.p49_1);null!=l&&H(this,\\\"style\\\",l)}function H(t,e,n){var r=function(t){Z();var e=(Z(),s).s(t);return null==e?t:e}(e);t.f49()[r]=n}function G(){l=this}function W(){return null==l&&new G,l}function X(){return u}function Y(t){Z();var e,n=t.$style$;if(null==n){f(),e={}}else e=n;var r=e;return function(t,e){Z(),t.$style$=e;var n=t.e1s(),r=I(e).toString();n.b(\\\"$style$\\\",r)}(t,r),r}function Z(){if(c);else{c=!0,a=L([\\\"onCopy\\\",\\\"onCut\\\",\\\"onPaste\\\",\\\"onCompositionEnd\\\",\\\"onCompositionStart\\\",\\\"onCompositionUpdate\\\",\\\"onKeyDown\\\",\\\"onKeyPress\\\",\\\"onKeyUp\\\",\\\"onFocus\\\",\\\"onBlur\\\",\\\"onChange\\\",\\\"onInput\\\",\\\"onInvalid\\\",\\\"onReset\\\",\\\"onSubmit\\\",\\\"onClick\\\",\\\"onContextMenu\\\",\\\"onDoubleClick\\\",\\\"onDrag\\\",\\\"onDragEnd\\\",\\\"onDragEnter\\\",\\\"onDragExit\\\",\\\"onDragLeave\\\",\\\"onDragOver\\\",\\\"onDragStart\\\",\\\"onDrop\\\",\\\"onMouseDown\\\",\\\"onMouseEnter\\\",\\\"onMouseLeave\\\",\\\"onMouseMove\\\",\\\"onMouseOut\\\",\\\"onMouseOver\\\",\\\"onMouseUp\\\",\\\"onPointerDown\\\",\\\"onPointerMove\\\",\\\"onPointerUp\\\",\\\"onPointerCancel\\\",\\\"onGotPointerCapture\\\",\\\"onLostPointerCapture\\\",\\\"onPointerEnter\\\",\\\"onPointerLeave\\\",\\\"onPointerOver\\\",\\\"onPointerOut\\\",\\\"onSelect\\\",\\\"onTouchCancel\\\",\\\"onTouchEnd\\\",\\\"onTouchMove\\\",\\\"onTouchStart\\\",\\\"onScroll\\\",\\\"onWheel\\\",\\\"onAbort\\\",\\\"onCanPlay\\\",\\\"onCanPlayThrough\\\",\\\"onDurationChange\\\",\\\"onEmptied\\\",\\\"onEncrypted\\\",\\\"onEnded\\\",\\\"onError\\\",\\\"onLoadedData\\\",\\\"onLoadedMetadata\\\",\\\"onLoadStart\\\",\\\"onPause\\\",\\\"onPlay\\\",\\\"onPlaying\\\",\\\"onProgress\\\",\\\"onRateChange\\\",\\\"onSeeked\\\",\\\"onSeeking\\\",\\\"onStalled\\\",\\\"onSuspend\\\",\\\"onTimeUpdate\\\",\\\"onVolumeChange\\\",\\\"onWaiting\\\",\\\"onLoad\\\",\\\"onError\\\",\\\"onAnimationStart\\\",\\\"onAnimationEnd\\\",\\\"onAnimationIteration\\\",\\\"onTransitionEnd\\\",\\\"onToggle\\\",\\\"accept\\\",\\\"acceptCharset\\\",\\\"accessKey\\\",\\\"action\\\",\\\"allowFullScreen\\\",\\\"alt\\\",\\\"async\\\",\\\"autoComplete\\\",\\\"autoFocus\\\",\\\"autoPlay\\\",\\\"capture\\\",\\\"cellPadding\\\",\\\"cellSpacing\\\",\\\"challenge\\\",\\\"charSet\\\",\\\"checked\\\",\\\"cite\\\",\\\"classID\\\",\\\"className\\\",\\\"colSpan\\\",\\\"cols\\\",\\\"content\\\",\\\"contentEditable\\\",\\\"contextMenu\\\",\\\"controls\\\",\\\"controlsList\\\",\\\"coords\\\",\\\"crossOrigin\\\",\\\"data\\\",\\\"dateTime\\\",\\\"default\\\",\\\"defer\\\",\\\"dir\\\",\\\"disabled\\\",\\\"download\\\",\\\"draggable\\\",\\\"encType\\\",\\\"form\\\",\\\"formAction\\\",\\\"formEncType\\\",\\\"formMethod\\\",\\\"formNoValidate\\\",\\\"formTarget\\\",\\\"frameBorder\\\",\\\"headers\\\",\\\"height\\\",\\\"hidden\\\",\\\"high\\\",\\\"href\\\",\\\"hrefLang\\\",\\\"htmlFor\\\",\\\"httpEquiv\\\",\\\"icon\\\",\\\"id\\\",\\\"inputMode\\\",\\\"integrity\\\",\\\"is\\\",\\\"keyParams\\\",\\\"keyType\\\",\\\"kind\\\",\\\"label\\\",\\\"lang\\\",\\\"list\\\",\\\"loop\\\",\\\"low\\\",\\\"manifest\\\",\\\"marginHeight\\\",\\\"marginWidth\\\",\\\"max\\\",\\\"maxLength\\\",\\\"media\\\",\\\"mediaGroup\\\",\\\"method\\\",\\\"min\\\",\\\"minLength\\\",\\\"multiple\\\",\\\"muted\\\",\\\"name\\\",\\\"noValidate\\\",\\\"nonce\\\",\\\"open\\\",\\\"optimum\\\",\\\"pattern\\\",\\\"placeholder\\\",\\\"poster\\\",\\\"preload\\\",\\\"profile\\\",\\\"radioGroup\\\",\\\"readOnly\\\",\\\"rel\\\",\\\"required\\\",\\\"reversed\\\",\\\"role\\\",\\\"rowSpan\\\",\\\"rows\\\",\\\"sandbox\\\",\\\"scope\\\",\\\"scoped\\\",\\\"scrolling\\\",\\\"seamless\\\",\\\"selected\\\",\\\"shape\\\",\\\"size\\\",\\\"sizes\\\",\\\"span\\\",\\\"spellCheck\\\",\\\"src\\\",\\\"srcDoc\\\",\\\"srcLang\\\",\\\"srcSet\\\",\\\"start\\\",\\\"step\\\",\\\"style\\\",\\\"summary\\\",\\\"tabIndex\\\",\\\"target\\\",\\\"title\\\",\\\"type\\\",\\\"useMap\\\",\\\"value\\\",\\\"width\\\",\\\"wmode\\\",\\\"wrap\\\"]);for(var t=(Z(),a),e=R(z(P(t,10)),16),n=D(e),r=t.e();r.f();){var i,o=r.g();i=o.toLowerCase(),n.b(i,o)}var l=$(n);l.b(\\\"class\\\",\\\"className\\\"),l.b(\\\"ondblclick\\\",\\\"onDoubleClick\\\"),s=l,W(),W(),W(),W()}}i.$_$.x,i.$_$.k,i.$_$.y,i.$_$.s,i.$_$.q,i.$_$.r,i.$_$.m,i.$_$.n,i.$_$.t,i.$_$.f,i.$_$.l,V.prototype=Object.create(C.prototype),V.prototype.constructor=V,F.prototype.d49=function(t){return new V(t)},F.$metadata$=p(\\\"Companion\\\"),j.$metadata$=v(\\\"RDOMBuilder\\\",[m]),U.prototype.i2p=function(t){this.l49_1.f9(t)},U.$metadata$=y(void 0,[g]),q.prototype.m2p=function(t,e,n){e===X()?H(this.m49_1,\\\"style\\\",Y(this.m49_1.p49_1)):H(this.m49_1,e,n)},q.prototype.k2p=function(t){this.m49_1.i2p(_(t))},q.prototype.p2p=function(t){var e,n=b();t(new U(n));var r={};r.__html=n.toString(),e=r,this.m49_1.q49_1.dangerouslySetInnerHTML=e},q.prototype.l2p=function(t){throw x(\\\"Don't nest tags inside props block\\\")},q.prototype.o2p=function(t){throw x(\\\"Don't nest tags inside props block\\\")},q.prototype.n2p=function(t,e,n){H(this.m49_1,e,n)},q.prototype.r49=function(){},q.prototype.r2p=function(){return this.r49(),f()},q.$metadata$=y(void 0,[A]),V.prototype.y48=function(){return this.p49_1},V.prototype.f49=function(){return this.q49_1},V.$metadata$=y(\\\"RDOMBuilderImpl\\\",[j],void 0,void 0,void 0,C.prototype),G.$metadata$=p(\\\"StringAttr\\\"),q.prototype.q2p=w,V.prototype.e49=B,V.prototype.h49=N,V.prototype.k49=function(){var t,e=this.y48().e2p(),n=this.f49(),r=this.t48();return t=d(r),h.apply(null,[e,n].concat([].slice.call(t.slice())))},V.prototype.u48=E,V.prototype.v48=T,V.prototype.w48=S,V.prototype.i2p=k,V.prototype.x48=O,u=\\\"$style$\\\",t.$_$=t.$_$||{},t.$_$.a=function(){return null==o&&new F,o},t.$_$.b=function(t,e){this.e49(t,\\\"defaultChecked\\\",e)},t.$_$.c=function(t){this.f49().ref=t},t.$_$.d=B,t.$_$.e=function(t,e){this.e49(t,\\\"value\\\",e)},t.$_$.f=N,t.$_$.g=V,t.$_$.h=j}(t.exports,n(6204),n(8744),n(2125),n(6622))},2125:(t,e,n)=>{!function(t,e,n){\\\"use strict\\\";var r=e.createElement,i=e.Fragment,o=e.isValidElement,a=n.$_$.b5,s=n.$_$.r6,l=n.$_$.ka,u=n.$_$.b1,c=n.$_$.aa,h=n.$_$.b7;function p(t){this.t48().a(t)}function f(t){var e;e=t,this.u48(e)}function d(t,e,n){if(null==n)return this.u48(r(t,e)),a();var i=new x(e);n(i);var o=i.t48(),l=s(o);this.u48(r.apply(null,[t,e].concat([].slice.call(l.slice()))))}function m(t,e,n,r,i){var o,s;return 0!=(2&r)&&(o={},a(),e=o),0!=(4&r)&&(n=null),null==i?(this.v48(t,e,n),s=a()):s=i(t,e,n),s}function v(t,e){this.w48(t,null,e,2,null)}function g(t){var e;return e=t,function(t){return w(function(t,e){return function(n){return t(n,e),a()}}(e,t))}}function y(){}function _(){}function b(){var t;t=u(),this.a49_1=t}function x(t){b.call(this),this.c49_1=t}function w(t){var e=new b;t(e);var n,a=e.t48();if(0===a.h())n=null;else if(1===a.h()&&o(h(a)))n=h(a);else{var l,u=i;l=s(a),n=r.apply(null,[u,void 0].concat([].slice.call(l.slice())))}return n}x.prototype=Object.create(b.prototype),x.prototype.constructor=x,y.$metadata$=l(\\\"RBuilder\\\"),_.$metadata$=l(\\\"RElementBuilder\\\",[y]),b.prototype.t48=function(){return this.a49_1},b.$metadata$=c(\\\"RBuilderImpl\\\",[y]),x.prototype.y48=function(){return this.c49_1},x.$metadata$=c(\\\"RElementBuilderImpl\\\",[_],void 0,void 0,void 0,b.prototype),b.prototype.u48=p,b.prototype.v48=d,b.prototype.w48=m,b.prototype.x48=v,x.prototype.z48=function(t){t(this.y48())},x.prototype.u48=p,x.prototype.v48=d,x.prototype.w48=m,x.prototype.i2p=f,x.prototype.x48=v,t.$_$=t.$_$||{},t.$_$.a=m,t.$_$.b=d,t.$_$.c=p,t.$_$.d=v,t.$_$.e=f,t.$_$.f=b,t.$_$.g=y,t.$_$.h=w,t.$_$.i=function(t,e){var n=g(e);return n.displayName=t,n},t.$_$.j=g}(t.exports,n(6204),n(8744))},6762:(t,e,n)=>{!function(t,e,n,r){\\\"use strict\\\";var i=e.default,o=e.Header,a=e.Content,s=n.SmartTabs,l=n.Tab,u=r.$_$.b5;t.$_$=t.$_$||{},t.$_$.a=function(t,e,n,r,i,o){return 0!=(2&i)&&(n=e),function(t,e,n,r){var i,o,a,s=l;t.x48(s,(i=e,o=n,a=r,function(t){return t.y48().title=i,t.y48().id=o,a(t),u()}))}(t,e,n,r)},t.$_$.b=function(t,e,n){var r,s,l=i;t.x48(l,(r=n,s=e,function(t){var e=o;return t.x48(e,function(t){return function(e){return e.y48().border=!0,e.i2p(t),u()}}(s)),t.x48(a,r),u()}))},t.$_$.c=function(t,e,n){var r,i,o=s;t.x48(o,(r=e,i=n,function(t){return null!=r&&(t.y48().initSelected=r,u()),i(t),u()}))}}(t.exports,n(3453),n(5889),n(8744))},5491:(t,e,n)=>{!function(t,e,n,r,i,o,a,s,l,u,c){\\\"use strict\\\";var h,p,f,d=e.createElement,m=r.render,v=i.createGlobalStyle,g=a.$_$.b5,y=a.$_$.b1,_=a.$_$.a,b=a.$_$.b6,x=a.$_$.a1,w=a.$_$.qf,A=a.$_$.r5,C=s.$_$.v,M=a.$_$.mb,E=a.$_$.aa,T=a.$_$.pb,S=a.$_$.ib,k=l.$_$.h,O=a.$_$.ka,I=a.$_$.m,L=a.$_$.k1,P=a.$_$.r6,z=l.$_$.g,R=l.$_$.d,D=l.$_$.b,$=l.$_$.f,B=l.$_$.e,N=l.$_$.c,F=u.$_$.c,j=u.$_$.b,U=u.$_$.a,q=u.$_$.e,V=u.$_$.d,H=a.$_$.ff,G=a.$_$.oe,W=u.$_$.j,X=a.$_$.kf,Y=(a.$_$.w1,a.$_$.dc),Z=a.$_$.ha;function K(t){return function(e){for(var n=t.u_1.t49_1,r=0,i=n.length;r<i;){var o=n[r];r=r+1|0,o(e)}return g()}}function J(t,e){var n;this.v49_1=t,this.w49_1=e,this.x49_1=!1,n=y(),this.y49_1=n}function Q(t){this.c4a_1=t}function tt(t,e){var n;this.s49_1=t,this.t49_1=e,n=y(),this.u49_1=n}function et(t,e){return t.v49_1+\\\"-\\\"+e.callableName}function nt(){h=this}function rt(){}function it(){}function ot(t){return t._css}function at(){var t;p=this,t=L(),this.f4a_1=t}function st(t){z.call(this,t),this.l4a_1=C(null,!1,null,!1,!0,15,null)}function lt(t){return t()}function ut(t){return Z(\\\"root\\\",1,Y,(function(t){return ut(t)}),null),t.n4a_1.w2()}function ct(t,e){for(var n=e.globalStyles.e();n.f();){var r=n.g();t.w48(r,null,null,6,null)}return g()}function ht(){var t=H(window.document.body).appendChild(window.document.createElement(\\\"div\\\")),e=t instanceof Element?t:G();return e.setAttribute(\\\"id\\\",\\\"sc-global-styles\\\"),e}function pt(){var t;f=this,this.m4a_1=W(ct),this.n4a_1=X(ht),t=y(),this.o4a_1=t}function ft(){return null==f&&new pt,f}function dt(t,e,n){return function(){var r=t;return r.call.apply(r,[null,e].concat([].slice.call(n.slice())))}.call(this)}c.$_$.z,c.$_$.t,c.$_$.n,c.$_$.f,c.$_$.x,c.$_$.l,c.$_$.o,c.$_$.s,st.prototype=Object.create(z.prototype),st.prototype.constructor=st,J.prototype.z49=function(t,e){var n=new tt(this,_([t,[e]]));return this.a4a(n),n},J.prototype.a4a=function(t){this.y49_1.a(t)},J.prototype.b4a=function(){if(!this.x49_1&&this.w49_1){this.x49_1=!0;for(var t=this.y49_1,e=y(),n=t.e();n.f();){for(var r=n.g(),i=r.f2n(),o=x(b(i,10)),a=i.e();a.f();){var s,l=a.g();s=w(l,r),o.a(s)}A(e,o)}for(var u=e,c=C(null,!1,null,!1,!0,13,null),h=u.e();h.f();){var p=h.g(),f=\\\".\\\"+et(this,p.t_1);c.k2w(f,K(p))}d=M(c),m=lt((_=d,function(){return function(t,e,n){return dt(t,[e],[].slice())}(v,_)})),Promise.resolve(g()).then((E=m,function(t){return ft().p4a(E),g()})),this.y49_1.if()}var d,m,_,E},J.$metadata$=E(\\\"StyleSheet\\\"),Q.prototype.s7=function(t,e){return this.c4a_1(t,e)},Q.$metadata$=E(\\\"sam$kotlin_properties_ReadOnlyProperty$0\\\",[T]),tt.prototype.d4a=function(){return this.t49_1},tt.prototype.f2n=function(){return this.u49_1},tt.prototype.e4a=function(t,e){return this.u49_1.a(e),new Q((n=this,function(t,e){return function(t,e){return function(n){if(t.s49_1.w49_1&&(n.i2p(et(t.s49_1,e)),t.s49_1.b4a(),g()),!t.s49_1.w49_1||!n.h2w()){n.j2w().a(et(t.s49_1,e));for(var r=t.t49_1,i=0,o=r.length;i<o;){var a=r[i];i=i+1|0,a(n)}g()}return g()}}(n,e)}));var n},tt.$metadata$=E(\\\"CssHolder\\\"),nt.prototype.d49=function(t){return new st(t)},nt.$metadata$=S(\\\"Companion\\\"),rt.$metadata$=O(\\\"StyledDOMBuilder\\\",[k,it]),it.$metadata$=O(\\\"StyledBuilder\\\"),at.prototype.g4a=function(t,e,n,r){var i,a=function(t,e){var n,r,i=t.f4a_1,a=i.s(e);if(null==a){var s=lt((r=e,function(){var t;return dt((t=r,o.default(t)),[],[ot].slice())}));i.b(e,s),n=s}else n=a;return n}(this,t),s=function(t,e,n){var r=n;if((!!(!e.v2w().i()||!e.w2w().i())||!e.r2w().i())&&(r._css=M(e)),!e.g2w().i()){var i,o=e.g2w();i=I(o,\\\" \\\",null,null,0,null,null,62,null),r.className=i}if(!e.j2w().i()){var a;a=r;var s=e.j2w();a[\\\"data-style\\\"]=I(s,\\\" \\\",null,null,0,null,null,62,null)}return r}(0,e,n),l=a;return i=P(r),d.apply(null,[l,s].concat([].slice.call(i.slice())))},at.$metadata$=S(\\\"Styled\\\"),st.prototype.s2x=function(){return this.l4a_1},st.$metadata$=E(\\\"StyledDOMBuilderImpl\\\",[rt],void 0,void 0,void 0,z.prototype),pt.prototype.p4a=function(t){var e;this.o4a_1.a(t);var n={};n.globalStyles=ft().o4a_1,e=n;var r=d(this.m4a_1,e);m(r,ut(this))},pt.$metadata$=S(\\\"GlobalStyles\\\"),st.prototype.c9=function(){return this.y48().e2p()},st.prototype.k49=function(){return(null==p&&new at,p).g4a(this.c9(),this.s2x(),this.f49(),this.t48())},st.prototype.e49=R,st.prototype.g49=D,st.prototype.h49=$,st.prototype.i49=B,st.prototype.j49=N,st.prototype.u48=F,st.prototype.v48=j,st.prototype.w48=U,st.prototype.i2p=q,st.prototype.x48=V,t.$_$=t.$_$||{},t.$_$.a=function(){return null==h&&new nt,h},t.$_$.b=J}(t.exports,n(6204),n(6204),n(2457),n(4820),n(4820),n(8744),n(2724),n(8092),n(2125),n(6622))},6622:(t,e,n)=>{!function(t,e){\\\"use strict\\\";var n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ut,ct,ht,pt,ft,dt,mt,vt,gt,yt,_t,bt,xt,wt,At,Ct,Mt,Et,Tt,St,kt,Ot,It,Lt,Pt,zt,Rt,Dt,$t,Bt,Nt,Ft,jt,Ut,qt,Vt,Ht,Gt,Wt,Xt,Yt,Zt,Kt,Jt,Qt,te,ee,ne,re,ie,oe,ae,se,le,ue,ce=Math.imul,he=e.$_$.ka,pe=e.$_$.a2,fe=e.$_$.b5,de=e.$_$.q9,me=e.$_$.k1,ve=e.$_$.u1,ge=e.$_$.aa,ye=e.$_$.e8,_e=e.$_$.r7,be=e.$_$.oe,xe=e.$_$.ia,we=e.$_$.m5,Ae=e.$_$.l5,Ce=e.$_$.w6,Me=e.$_$.d2,Ee=e.$_$.ib,Te=e.$_$.m,Se=e.$_$.q5,ke=e.$_$.ta,Oe=e.$_$.ff,Ie=e.$_$.x6,Le=e.$_$.r1,Pe=e.$_$.b1,ze=e.$_$.y9,Re=e.$_$.r8,De=e.$_$.l1,$e=e.$_$.o5,Be=e.$_$.ee,Ne=e.$_$.t7,Fe=e.$_$.tb,je=e.$_$.j1,Ue=e.$_$.p7,qe=e.$_$.k7,Ve=e.$_$.mb;function He(t){this.f2p().k2p(t)}function Ge(t,e){throw e}function We(t,e){throw Me(\\\"Attribute \\\"+t+\\\" is not yet defined for tag \\\"+e.e2p())}function Xe(){return en(),n}function Ye(){}function Ze(){}function Ke(){}function Je(){}function Qe(){this.s2p_1=ve()}function tn(t,e){this.t2p_1=t,this.u2p_1=e}function en(){r||(r=!0,n=Ce())}function nn(t){this.b2q_1=t}function rn(){nn.call(this,(null==i&&new cn,i))}function on(){nn.call(this,(null==o&&new hn,o))}function an(t,e){nn.call(this,new pn(t,e))}function sn(){nn.call(this,(null==a&&new fn,a))}function ln(t){nn.call(this,new dn(t)),this.l2q_1=t}function un(){}function cn(){i=this}function hn(){o=this}function pn(t,e){this.o2q_1=t,this.p2q_1=e}function fn(){a=this}function dn(t){this.r2q_1=t}function mn(t){t.v2q_1||(t.v2q_1=!0,t.u2q_1=De(t.u2q_1));var e=t.u2q_1;return ke(e,$e)?e:be()}function vn(t,e,n){this.s2q_1=e,this.t2q_1=n,this.u2q_1=t,this.v2q_1=!1}function gn(t,e){this.a2r_1=t,this.b2r_1=e,this.c2r_1=0}function yn(){}function _n(){return xn(),s}function bn(){return xn(),l}function xn(){c||(c=!0,s=new rn,new on,function(t,e,n,r,i){0!=(1&n)&&(t=\\\"true\\\"),0!=(2&n)&&(e=\\\"false\\\"),an.call(i,t,e)}(null,null,3,0,Object.create(an.prototype)),new an(\\\"on\\\",\\\"off\\\"),l=new sn,new ln((or(),d)),new ln((or(),m)),new ln((or(),v)),new ln((or(),g)),new ln((or(),h)),new ln((or(),p)),new ln((or(),y)),new ln((or(),_)),new ln((or(),b)),new ln((or(),w)),new ln((or(),A)),u=new ln((or(),x)),new ln((or(),C)),new ln((or(),f)),new ln((or(),M)),new ln((or(),E)))}function wn(){if(O)return fe();O=!0,T=new An(\\\"multipartFormData\\\",0,\\\"multipart/form-data\\\"),S=new An(\\\"applicationXWwwFormUrlEncoded\\\",1,\\\"application/x-www-form-urlencoded\\\"),k=new An(\\\"textPlain\\\",2,\\\"text/plain\\\")}function An(t,e,n){Be.call(this,t,e),this.f2r_1=n}function Cn(){if(D)return fe();D=!0,I=new Mn(\\\"get\\\",0,\\\"get\\\"),L=new Mn(\\\"post\\\",1,\\\"post\\\"),P=new Mn(\\\"put\\\",2,\\\"put\\\"),z=new Mn(\\\"delete\\\",3,\\\"delete\\\"),R=new Mn(\\\"patch\\\",4,\\\"patch\\\")}function Mn(t,e,n){Be.call(this,t,e),this.i2r_1=n}function En(){if(F)return fe();F=!0,$=new Tn(\\\"button\\\",0,\\\"button\\\"),B=new Tn(\\\"reset\\\",1,\\\"reset\\\"),N=new Tn(\\\"submit\\\",2,\\\"submit\\\")}function Tn(t,e,n){Be.call(this,t,e),this.l2r_1=n}function Sn(){if(V)return fe();V=!0,j=new kn(\\\"command\\\",0,\\\"command\\\"),U=new kn(\\\"checkBox\\\",1,\\\"checkbox\\\"),q=new kn(\\\"radio\\\",2,\\\"radio\\\")}function kn(t,e,n){Be.call(this,t,e),this.o2r_1=n}function On(){if(W)return fe();W=!0,H=new In(\\\"ltr\\\",0,\\\"ltr\\\"),G=new In(\\\"rtl\\\",1,\\\"rtl\\\")}function In(t,e,n){Be.call(this,t,e),this.r2r_1=n}function Ln(){if(K)return fe();K=!0,X=new Pn(\\\"htmlTrue\\\",0,\\\"true\\\"),Y=new Pn(\\\"htmlFalse\\\",1,\\\"false\\\"),Z=new Pn(\\\"auto\\\",2,\\\"auto\\\")}function Pn(t,e,n){Be.call(this,t,e),this.u2r_1=n}function zn(){if(et)return fe();et=!0,J=new Rn(\\\"multipartFormData\\\",0,\\\"multipart/form-data\\\"),Q=new Rn(\\\"applicationXWwwFormUrlEncoded\\\",1,\\\"application/x-www-form-urlencoded\\\"),tt=new Rn(\\\"textPlain\\\",2,\\\"text/plain\\\")}function Rn(t,e,n){Be.call(this,t,e),this.x2r_1=n}function Dn(){if(st)return fe();st=!0,nt=new $n(\\\"get\\\",0,\\\"get\\\"),rt=new $n(\\\"post\\\",1,\\\"post\\\"),it=new $n(\\\"put\\\",2,\\\"put\\\"),ot=new $n(\\\"delete\\\",3,\\\"delete\\\"),at=new $n(\\\"patch\\\",4,\\\"patch\\\")}function $n(t,e,n){Be.call(this,t,e),this.a2s_1=n}function Bn(){if(ht)return fe();ht=!0,lt=new Nn(\\\"allowSameOrigin\\\",0,\\\"allow-same-origin\\\"),ut=new Nn(\\\"allowFormS\\\",1,\\\"allow-forms\\\"),ct=new Nn(\\\"allowScripts\\\",2,\\\"allow-scripts\\\")}function Nn(t,e,n){Be.call(this,t,e),this.d2s_1=n}function Fn(){if(mt)return fe();mt=!0,pt=new jn(\\\"multipartFormData\\\",0,\\\"multipart/form-data\\\"),ft=new jn(\\\"applicationXWwwFormUrlEncoded\\\",1,\\\"application/x-www-form-urlencoded\\\"),dt=new jn(\\\"textPlain\\\",2,\\\"text/plain\\\")}function jn(t,e,n){Be.call(this,t,e),this.g2s_1=n}function Un(){if(xt)return fe();xt=!0,vt=new qn(\\\"get\\\",0,\\\"get\\\"),gt=new qn(\\\"post\\\",1,\\\"post\\\"),yt=new qn(\\\"put\\\",2,\\\"put\\\"),_t=new qn(\\\"delete\\\",3,\\\"delete\\\"),bt=new qn(\\\"patch\\\",4,\\\"patch\\\")}function qn(t,e,n){Be.call(this,t,e),this.j2s_1=n}function Vn(){if(Ht)return fe();Ht=!0,wt=new Hn(\\\"button\\\",0,\\\"button\\\"),At=new Hn(\\\"checkBox\\\",1,\\\"checkbox\\\"),Ct=new Hn(\\\"color\\\",2,\\\"color\\\"),Mt=new Hn(\\\"date\\\",3,\\\"date\\\"),Et=new Hn(\\\"dateTime\\\",4,\\\"datetime\\\"),Tt=new Hn(\\\"dateTimeLocal\\\",5,\\\"datetime-local\\\"),St=new Hn(\\\"email\\\",6,\\\"email\\\"),kt=new Hn(\\\"file\\\",7,\\\"file\\\"),Ot=new Hn(\\\"hidden\\\",8,\\\"hidden\\\"),It=new Hn(\\\"image\\\",9,\\\"image\\\"),Lt=new Hn(\\\"month\\\",10,\\\"month\\\"),Pt=new Hn(\\\"number\\\",11,\\\"number\\\"),zt=new Hn(\\\"password\\\",12,\\\"password\\\"),Rt=new Hn(\\\"radio\\\",13,\\\"radio\\\"),Dt=new Hn(\\\"range\\\",14,\\\"range\\\"),$t=new Hn(\\\"reset\\\",15,\\\"reset\\\"),Bt=new Hn(\\\"search\\\",16,\\\"search\\\"),Nt=new Hn(\\\"submit\\\",17,\\\"submit\\\"),Ft=new Hn(\\\"text\\\",18,\\\"text\\\"),jt=new Hn(\\\"tel\\\",19,\\\"tel\\\"),Ut=new Hn(\\\"time\\\",20,\\\"time\\\"),qt=new Hn(\\\"url\\\",21,\\\"url\\\"),Vt=new Hn(\\\"week\\\",22,\\\"week\\\")}function Hn(t,e,n){Be.call(this,t,e),this.m2s_1=n}function Gn(t,e,n){Be.call(this,t,e),this.p2s_1=n}function Wn(t,e,n){Be.call(this,t,e),this.s2s_1=n}function Xn(){if(Jt)return fe();Jt=!0,Zt=new Yn(\\\"hard\\\",0,\\\"hard\\\"),Kt=new Yn(\\\"soft\\\",1,\\\"soft\\\")}function Yn(t,e,n){Be.call(this,t,e),this.v2s_1=n}function Zn(){if(re)return fe();re=!0,Qt=new Kn(\\\"col\\\",0,\\\"col\\\"),te=new Kn(\\\"colGroup\\\",1,\\\"colgroup\\\"),ee=new Kn(\\\"row\\\",2,\\\"row\\\"),ne=new Kn(\\\"rowGroup\\\",3,\\\"rowgroup\\\")}function Kn(t,e,n){Be.call(this,t,e),this.y2s_1=n}function Jn(){if(le)return fe();le=!0,ie=new Qn(\\\"rect\\\",0,\\\"rect\\\"),oe=new Qn(\\\"circle\\\",1,\\\"circle\\\"),ae=new Qn(\\\"poly\\\",2,\\\"poly\\\"),se=new Qn(\\\"default\\\",3,\\\"default\\\")}function Qn(t,e,n){Be.call(this,t,e),this.b2t_1=n}function tr(){return Vn(),At}function er(){return Vn(),Ct}function nr(){return Vn(),Pt}function rr(){return Vn(),Dt}function ir(){return Vn(),Ft}function or(){if(ue);else{ue=!0;for(var t=[(On(),H),(On(),G)],e=Fe(Ne(t.length),16),n=je(e),r=t,i=0,o=r.length;i<o;){var a,s=r[i];i=i+1|0,a=s.r2r_1,n.b(a,s)}h=n;for(var l=[(Ln(),X),(Ln(),Y),(Ln(),Z)],u=Fe(Ne(l.length),16),c=je(u),O=l,D=0,F=O.length;D<F;){var V,W=O[D];D=D+1|0,V=W.u2r_1,c.b(V,W)}p=c;for(var K=[(function(){if(Yt)return fe();Yt=!0,Xt=new Wn(\\\"server\\\",0,\\\"server\\\")}(),Xt)],et=Fe(Ne(K.length),16),st=je(et),ht=K,mt=0,xt=ht.length;mt<xt;){var At,Ct=ht[mt];mt=mt+1|0,At=Ct.s2s_1,st.b(At,Ct)}f=st;for(var Pt=[(Jn(),ie),(Jn(),oe),(Jn(),ae),(Jn(),se)],Dt=Fe(Ne(Pt.length),16),Ft=je(Dt),Ht=Pt,Jt=0,re=Ht.length;Jt<re;){var le,ce=Ht[Jt];Jt=Jt+1|0,le=ce.b2t_1,Ft.b(le,ce)}for(var he=[(wn(),T),(wn(),S),(wn(),k)],pe=Fe(Ne(he.length),16),de=je(pe),me=he,ve=0,ge=me.length;ve<ge;){var ye,_e=me[ve];ve=ve+1|0,ye=_e.f2r_1,de.b(ye,_e)}d=de;for(var be=[(Cn(),I),(Cn(),L),(Cn(),P),(Cn(),z),(Cn(),R)],xe=Fe(Ne(be.length),16),we=je(xe),Ae=be,Ce=0,Me=Ae.length;Ce<Me;){var Ee,Te=Ae[Ce];Ce=Ce+1|0,Ee=Te.i2r_1,we.b(Ee,Te)}m=we;for(var Se=[(En(),$),(En(),B),(En(),N)],ke=Fe(Ne(Se.length),16),Oe=je(ke),Ie=Se,Le=0,Pe=Ie.length;Le<Pe;){var ze,Re=Ie[Le];Le=Le+1|0,ze=Re.l2r_1,Oe.b(ze,Re)}v=Oe;for(var De=[(Sn(),j),(Sn(),U),(Sn(),q)],$e=Fe(Ne(De.length),16),Be=je($e),Ue=De,qe=0,Ve=Ue.length;qe<Ve;){var He,Ge=Ue[qe];qe=qe+1|0,He=Ge.o2r_1,Be.b(He,Ge)}g=Be;for(var We=[(zn(),J),(zn(),Q),(zn(),tt)],Xe=Fe(Ne(We.length),16),Ye=je(Xe),Ze=We,Ke=0,Je=Ze.length;Ke<Je;){var Qe,tn=Ze[Ke];Ke=Ke+1|0,Qe=tn.x2r_1,Ye.b(Qe,tn)}y=Ye;for(var en=[(Dn(),nt),(Dn(),rt),(Dn(),it),(Dn(),ot),(Dn(),at)],nn=Fe(Ne(en.length),16),rn=je(nn),on=en,an=0,sn=on.length;an<sn;){var ln,un=on[an];an=an+1|0,ln=un.a2s_1,rn.b(ln,un)}_=rn;for(var cn=[(Bn(),lt),(Bn(),ut),(Bn(),ct)],hn=Fe(Ne(cn.length),16),pn=je(hn),fn=cn,dn=0,mn=fn.length;dn<mn;){var vn,gn=fn[dn];dn=dn+1|0,vn=gn.d2s_1,pn.b(vn,gn)}b=pn;for(var yn=[(Vn(),wt),tr(),er(),(Vn(),Mt),(Vn(),Et),(Vn(),Tt),(Vn(),St),(Vn(),kt),(Vn(),Ot),(Vn(),It),(Vn(),Lt),nr(),(Vn(),zt),(Vn(),Rt),rr(),(Vn(),$t),(Vn(),Bt),(Vn(),Nt),ir(),(Vn(),jt),(Vn(),Ut),(Vn(),qt),(Vn(),Vt)],_n=Fe(Ne(yn.length),16),bn=je(_n),xn=yn,An=0,Mn=xn.length;An<Mn;){var Tn,kn=xn[An];An=An+1|0,Tn=kn.m2s_1,bn.b(Tn,kn)}x=bn;for(var In=[(Fn(),pt),(Fn(),ft),(Fn(),dt)],Pn=Fe(Ne(In.length),16),Rn=je(Pn),$n=In,Nn=0,jn=$n.length;Nn<jn;){var qn,Hn=$n[Nn];Nn=Nn+1|0,qn=Hn.g2s_1,Rn.b(qn,Hn)}w=Rn;for(var Yn=[(Un(),vt),(Un(),gt),(Un(),yt),(Un(),_t),(Un(),bt)],Kn=Fe(Ne(Yn.length),16),Qn=je(Kn),or=Yn,ar=0,sr=or.length;ar<sr;){var lr,ur=or[ar];ar=ar+1|0,lr=ur.j2s_1,Qn.b(lr,ur)}A=Qn;for(var cr=[(function(){if(Wt)return fe();Wt=!0,Gt=new Gn(\\\"rsa\\\",0,\\\"rsa\\\")}(),Gt)],hr=Fe(Ne(cr.length),16),pr=je(hr),fr=cr,dr=0,mr=fr.length;dr<mr;){var vr,gr=fr[dr];dr=dr+1|0,vr=gr.p2s_1,pr.b(vr,gr)}C=pr;for(var yr=[(Xn(),Zt),(Xn(),Kt)],_r=Fe(Ne(yr.length),16),br=je(_r),xr=yr,wr=0,Ar=xr.length;wr<Ar;){var Cr,Mr=xr[wr];wr=wr+1|0,Cr=Mr.v2s_1,br.b(Cr,Mr)}M=br;for(var Er=[(Zn(),Qt),(Zn(),te),(Zn(),ee),(Zn(),ne)],Tr=Fe(Ne(Er.length),16),Sr=je(Tr),kr=Er,Or=0,Ir=kr.length;Or<Ir;){var Lr,Pr=kr[Or];Or=Or+1|0,Lr=Pr.y2s_1,Sr.b(Lr,Pr)}E=Sr}}function ar(){}function sr(){}function lr(){}function ur(){}function cr(){}function hr(){}function pr(){}function fr(){}function dr(){}function mr(){}function vr(){}function gr(){}function yr(){}function _r(){}function br(){}function xr(){}function wr(){}function Ar(){}function Cr(t,e){zr.call(this,\\\"a\\\",e,t,null,!0,!1),this.i2t_1=e}function Mr(t,e){zr.call(this,\\\"button\\\",e,t,null,!0,!1),this.p2t_1=e}function Er(t,e){zr.call(this,\\\"b\\\",e,t,null,!0,!1),this.x2t_1=e}function Tr(t,e){zr.call(this,\\\"div\\\",e,t,null,!1,!1),this.e2u_1=e}function Sr(t,e){zr.call(this,\\\"input\\\",e,t,null,!0,!0),this.l2u_1=e}function kr(t,e){zr.call(this,\\\"label\\\",e,t,null,!0,!1),this.z2u_1=e}function Or(t,e){zr.call(this,\\\"option\\\",e,t,null,!0,!1),this.h2v_1=e}function Ir(t,e){zr.call(this,\\\"p\\\",e,t,null,!1,!1),this.o2v_1=e}function Lr(t,e){zr.call(this,\\\"span\\\",e,t,null,!0,!1),this.v2v_1=e}function Pr(t,e){zr.call(this,\\\"select\\\",e,t,null,!0,!1),this.c2w_1=e}function zr(t,e,n,r,i,o){var a;this.v2p_1=t,this.w2p_1=e,this.x2p_1=r,this.y2p_1=i,this.z2p_1=o,this.a2q_1=new vn(n,this,(a=this,function(){return a.f2p()}))}function Rr(t){var e;this.d2w_1=t,e=Pe(),this.e2w_1=e,this.f2w_1=null}rn.prototype=Object.create(nn.prototype),rn.prototype.constructor=rn,on.prototype=Object.create(nn.prototype),on.prototype.constructor=on,an.prototype=Object.create(nn.prototype),an.prototype.constructor=an,sn.prototype=Object.create(nn.prototype),sn.prototype.constructor=sn,ln.prototype=Object.create(nn.prototype),ln.prototype.constructor=ln,An.prototype=Object.create(Be.prototype),An.prototype.constructor=An,Mn.prototype=Object.create(Be.prototype),Mn.prototype.constructor=Mn,Tn.prototype=Object.create(Be.prototype),Tn.prototype.constructor=Tn,kn.prototype=Object.create(Be.prototype),kn.prototype.constructor=kn,In.prototype=Object.create(Be.prototype),In.prototype.constructor=In,Pn.prototype=Object.create(Be.prototype),Pn.prototype.constructor=Pn,Rn.prototype=Object.create(Be.prototype),Rn.prototype.constructor=Rn,$n.prototype=Object.create(Be.prototype),$n.prototype.constructor=$n,Nn.prototype=Object.create(Be.prototype),Nn.prototype.constructor=Nn,jn.prototype=Object.create(Be.prototype),jn.prototype.constructor=jn,qn.prototype=Object.create(Be.prototype),qn.prototype.constructor=qn,Hn.prototype=Object.create(Be.prototype),Hn.prototype.constructor=Hn,Gn.prototype=Object.create(Be.prototype),Gn.prototype.constructor=Gn,Wn.prototype=Object.create(Be.prototype),Wn.prototype.constructor=Wn,Yn.prototype=Object.create(Be.prototype),Yn.prototype.constructor=Yn,Kn.prototype=Object.create(Be.prototype),Kn.prototype.constructor=Kn,Qn.prototype=Object.create(Be.prototype),Qn.prototype.constructor=Qn,Cr.prototype=Object.create(zr.prototype),Cr.prototype.constructor=Cr,Mr.prototype=Object.create(zr.prototype),Mr.prototype.constructor=Mr,Er.prototype=Object.create(zr.prototype),Er.prototype.constructor=Er,Tr.prototype=Object.create(zr.prototype),Tr.prototype.constructor=Tr,Sr.prototype=Object.create(zr.prototype),Sr.prototype.constructor=Sr,kr.prototype=Object.create(zr.prototype),kr.prototype.constructor=kr,Or.prototype=Object.create(zr.prototype),Or.prototype.constructor=Or,Ir.prototype=Object.create(zr.prototype),Ir.prototype.constructor=Ir,Lr.prototype=Object.create(zr.prototype),Lr.prototype.constructor=Lr,Pr.prototype=Object.create(zr.prototype),Pr.prototype.constructor=Pr,Ye.$metadata$=he(\\\"AttributeEnum\\\"),Ze.$metadata$=he(\\\"Tag\\\"),Ke.$metadata$=he(\\\"TagConsumer\\\"),Je.$metadata$=he(\\\"Unsafe\\\"),Qe.prototype.i2p=function(t){this.s2p_1.f9(t)},Qe.prototype.toString=function(){return this.s2p_1.toString()},Qe.$metadata$=ge(\\\"DefaultUnsafe\\\",[Je]),tn.prototype.u2=function(){return this.t2p_1},tn.prototype.w2=function(){return this.u2p_1},tn.prototype.y=function(){return ye(this)},tn.prototype.k3=function(){return ye(this.t2p_1)},tn.prototype.h=function(){return 1},tn.prototype.l3=function(){return _e(this.u2p_1)},tn.prototype.o1a=function(t){return t===this.t2p_1},tn.prototype.e3=function(t){return null!=t&&\\\"string\\\"==typeof t&&this.o1a(null!=t&&\\\"string\\\"==typeof t?t:be())},tn.prototype.ga=function(t){return t===this.t2p_1?this.u2p_1:null},tn.prototype.s=function(t){return null==t||\\\"string\\\"!=typeof t?null:this.ga(null!=t&&\\\"string\\\"==typeof t?t:be())},tn.prototype.i=function(){return!1},tn.prototype.toString=function(){return\\\"SingletonStringMap(key=\\\"+this.t2p_1+\\\", value=\\\"+this.u2p_1+\\\")\\\"},tn.prototype.hashCode=function(){var t=xe(this.t2p_1);return ce(t,31)+xe(this.u2p_1)|0},tn.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof tn))return!1;var e=t instanceof tn?t:be();return this.t2p_1===e.t2p_1&&this.u2p_1===e.u2p_1},tn.$metadata$=ge(\\\"SingletonStringMap\\\",[we,Ae]),nn.prototype.c2q=function(){return this.b2q_1},nn.prototype.d2q=function(t,e){var n=t.e1s().s(e),r=null==n?null:this.b2q_1.e2q(e,n);return null==r?this.b2q_1.f2q(e,t):r},nn.prototype.g2q=function(t,e,n){t.e1s().b(e,this.b2q_1.h2q(e,n))},nn.$metadata$=ge(\\\"Attribute\\\"),rn.$metadata$=ge(\\\"StringAttribute\\\",void 0,void 0,void 0,void 0,nn.prototype),on.$metadata$=ge(\\\"StringSetAttribute\\\",void 0,void 0,void 0,void 0,nn.prototype),an.$metadata$=ge(\\\"BooleanAttribute\\\",void 0,void 0,void 0,void 0,nn.prototype),sn.prototype.j2q=function(t,e,n){n?t.e1s().b(e,e):t.e1s().vf(e)},sn.prototype.g2q=function(t,e,n){return this.j2q(t,e,null!=n&&\\\"boolean\\\"==typeof n?n:be())},sn.$metadata$=ge(\\\"TickerAttribute\\\",void 0,void 0,void 0,void 0,nn.prototype),ln.$metadata$=ge(\\\"EnumAttribute\\\",void 0,void 0,void 0,void 0,nn.prototype),un.$metadata$=he(\\\"AttributeEncoder\\\"),cn.prototype.m2q=function(t,e){return e},cn.prototype.h2q=function(t,e){return this.m2q(t,null!=e&&\\\"string\\\"==typeof e?e:be())},cn.prototype.e2q=function(t,e){return e},cn.$metadata$=Ee(\\\"StringEncoder\\\",[un]),hn.prototype.n2q=function(t,e){return Te(e,\\\" \\\",null,null,0,null,null,62,null)},hn.prototype.h2q=function(t,e){return this.n2q(t,null!=e&&ke(e,Se)?e:be())},hn.prototype.e2q=function(t,e){return Oe(function(t){var e,n=t,r=null==n?null:Le(\\\"\\\\\\\\s+\\\").q9(n,0);if(null==r)e=null;else{for(var i=Pe(),o=r.e();o.f();){var a=o.g();0===ze(a)||i.a(a)}e=i}return null==e?null:Re(e)}(e))},hn.prototype.f2q=function(t,e){return Ie()},hn.$metadata$=Ee(\\\"StringSetEncoder\\\",[un]),pn.prototype.q2q=function(t,e){return e?this.o2q_1:this.p2q_1},pn.prototype.h2q=function(t,e){return this.q2q(t,null!=e&&\\\"boolean\\\"==typeof e?e:be())},pn.prototype.e2q=function(t,e){var n,r=e;if(r===this.o2q_1)n=!0;else{if(r!==this.p2q_1)throw pe(\\\"Unknown value \\\"+e+\\\" for \\\"+t);n=!1}return n},pn.$metadata$=ge(\\\"BooleanEncoder\\\",[un]),fn.prototype.q2q=function(t,e){return function(t,e){return t?e:\\\"\\\"}(e,t)},fn.prototype.h2q=function(t,e){return this.q2q(t,null!=e&&\\\"boolean\\\"==typeof e?e:be())},fn.prototype.e2q=function(t,e){return e===t},fn.$metadata$=Ee(\\\"TickerEncoder\\\",[un]),dn.prototype.h2q=function(t,e){return e.d2p()},dn.prototype.e2q=function(t,e){var n=this.r2q_1.s(e);if(null==n)throw pe(\\\"Unknown value \\\"+e+\\\" for \\\"+t);return n},dn.$metadata$=ge(\\\"EnumEncoder\\\",[un]),vn.prototype.h=function(){return this.u2q_1.h()},vn.prototype.i=function(){return this.u2q_1.i()},vn.prototype.o1a=function(t){return this.u2q_1.e3(t)},vn.prototype.e3=function(t){return null!=t&&\\\"string\\\"==typeof t&&this.o1a(null!=t&&\\\"string\\\"==typeof t?t:be())},vn.prototype.ga=function(t){return this.u2q_1.s(t)},vn.prototype.s=function(t){return null==t||\\\"string\\\"!=typeof t?null:this.ga(null!=t&&\\\"string\\\"==typeof t?t:be())},vn.prototype.w2q=function(t,e){var n=mn(this).b(t,e);return n!==e&&this.t2q_1().m2p(this.s2q_1,t,e),n},vn.prototype.b=function(t,e){var n=null!=t&&\\\"string\\\"==typeof t?t:be();return this.w2q(n,null!=e&&\\\"string\\\"==typeof e?e:be())},vn.prototype.x2q=function(t){var e,n=mn(this).vf(t);return null==n?e=null:(this.t2q_1().m2p(this.s2q_1,t,null),e=n),e},vn.prototype.vf=function(t){return null==t||\\\"string\\\"!=typeof t?null:this.x2q(null!=t&&\\\"string\\\"==typeof t?t:be())},vn.prototype.y2q=function(t){if(t.i())return fe();for(var e=this.t2q_1(),n=mn(this),r=t.y().e();r.f();){var i=r.g();n.b(i.u2(),i.w2())!==i.w2()&&e.m2p(this.s2q_1,i.u2(),i.w2())}},vn.prototype.i4=function(t){return this.y2q(t)},vn.prototype.z2q=function(){return this.u2q_1.y()},vn.prototype.k3=function(){return mn(this).k3()},vn.prototype.l3=function(){return mn(this).l3()},vn.prototype.y=function(){return mn(this).y()},vn.$metadata$=ge(\\\"DelegatingMap\\\",[$e]),gn.prototype.l2p=function(t){this.a2r_1.l2p(t);var e=this.c2r_1;this.c2r_1=e+1|0},gn.prototype.o2p=function(t){this.a2r_1.o2p(t);var e=this.c2r_1;this.c2r_1=e-1|0},gn.prototype.m2p=function(t,e,n){return this.a2r_1.m2p(t,e,n)},gn.prototype.n2p=function(t,e,n){return this.a2r_1.n2p(t,e,n)},gn.prototype.k2p=function(t){return this.a2r_1.k2p(t)},gn.prototype.p2p=function(t){return this.a2r_1.p2p(t)},gn.prototype.q2p=function(t,e){return this.a2r_1.q2p(t,e)},gn.prototype.r2p=function(){return this.b2r_1(this.a2r_1.r2p(),this.c2r_1>0)},gn.$metadata$=ge(\\\"FinalizeConsumer\\\",[Ke]),yn.$metadata$=he(\\\"CommonAttributeGroupFacade\\\",[Ze]),An.prototype.d2p=function(){return this.f2r_1},An.$metadata$=ge(\\\"ButtonFormEncType\\\",[Ye],void 0,void 0,void 0,Be.prototype),Mn.prototype.d2p=function(){return this.i2r_1},Mn.$metadata$=ge(\\\"ButtonFormMethod\\\",[Ye],void 0,void 0,void 0,Be.prototype),Tn.prototype.d2p=function(){return this.l2r_1},Tn.$metadata$=ge(\\\"ButtonType\\\",[Ye],void 0,void 0,void 0,Be.prototype),kn.prototype.d2p=function(){return this.o2r_1},kn.$metadata$=ge(\\\"CommandType\\\",[Ye],void 0,void 0,void 0,Be.prototype),In.prototype.d2p=function(){return this.r2r_1},In.$metadata$=ge(\\\"Dir\\\",[Ye],void 0,void 0,void 0,Be.prototype),Pn.prototype.d2p=function(){return this.u2r_1},Pn.$metadata$=ge(\\\"Draggable\\\",[Ye],void 0,void 0,void 0,Be.prototype),Rn.prototype.d2p=function(){return this.x2r_1},Rn.$metadata$=ge(\\\"FormEncType\\\",[Ye],void 0,void 0,void 0,Be.prototype),$n.prototype.d2p=function(){return this.a2s_1},$n.$metadata$=ge(\\\"FormMethod\\\",[Ye],void 0,void 0,void 0,Be.prototype),Nn.prototype.d2p=function(){return this.d2s_1},Nn.$metadata$=ge(\\\"IframeSandbox\\\",[Ye],void 0,void 0,void 0,Be.prototype),jn.prototype.d2p=function(){return this.g2s_1},jn.$metadata$=ge(\\\"InputFormEncType\\\",[Ye],void 0,void 0,void 0,Be.prototype),qn.prototype.d2p=function(){return this.j2s_1},qn.$metadata$=ge(\\\"InputFormMethod\\\",[Ye],void 0,void 0,void 0,Be.prototype),Hn.prototype.d2p=function(){return this.m2s_1},Hn.$metadata$=ge(\\\"InputType\\\",[Ye],void 0,void 0,void 0,Be.prototype),Gn.prototype.d2p=function(){return this.p2s_1},Gn.$metadata$=ge(\\\"KeyGenKeyType\\\",[Ye],void 0,void 0,void 0,Be.prototype),Wn.prototype.d2p=function(){return this.s2s_1},Wn.$metadata$=ge(\\\"RunAt\\\",[Ye],void 0,void 0,void 0,Be.prototype),Yn.prototype.d2p=function(){return this.v2s_1},Yn.$metadata$=ge(\\\"TextAreaWrap\\\",[Ye],void 0,void 0,void 0,Be.prototype),Kn.prototype.d2p=function(){return this.y2s_1},Kn.$metadata$=ge(\\\"ThScope\\\",[Ye],void 0,void 0,void 0,Be.prototype),Qn.prototype.d2p=function(){return this.b2t_1},Qn.$metadata$=ge(\\\"AreaShape\\\",[Ye],void 0,void 0,void 0,Be.prototype),ar.$metadata$=he(\\\"CommonAttributeGroupFacadeFlowInteractivePhrasingContent\\\",[yn,ur,cr,hr,pr,lr,sr,fr]),sr.$metadata$=he(\\\"HtmlBlockTag\\\",[yn,dr]),lr.$metadata$=he(\\\"HtmlBlockInlineTag\\\",[yn,pr,sr,fr]),ur.$metadata$=he(\\\"CommonAttributeGroupFacadeFlowInteractiveContent\\\",[yn,cr,sr]),cr.$metadata$=he(\\\"FlowInteractiveContent\\\",[dr,mr]),hr.$metadata$=he(\\\"FlowInteractivePhrasingContent\\\",[cr,pr]),pr.$metadata$=he(\\\"FlowPhrasingContent\\\",[dr,vr]),fr.$metadata$=he(\\\"HtmlInlineTag\\\",[yn,vr]),dr.$metadata$=he(\\\"FlowContent\\\",[gr,yr,_r,br,xr,wr,Ar,Ze]),mr.$metadata$=he(\\\"InteractiveContent\\\",[br,Ar,Ze]),vr.$metadata$=he(\\\"PhrasingContent\\\",[gr,xr,Ar,Ze]),gr.$metadata$=he(\\\"FlowOrMetaDataOrPhrasingContent\\\",[Ze]),yr.$metadata$=he(\\\"FlowOrHeadingContent\\\",[Ze]),_r.$metadata$=he(\\\"FlowOrMetaDataContent\\\",[gr,Ze]),br.$metadata$=he(\\\"FlowOrInteractiveContent\\\",[Ar,Ze]),xr.$metadata$=he(\\\"FlowOrPhrasingContent\\\",[Ar,gr,Ze]),wr.$metadata$=he(\\\"SectioningOrFlowContent\\\",[Ze]),Ar.$metadata$=he(\\\"FlowOrInteractiveOrPhrasingContent\\\",[Ze]),Cr.prototype.f2p=function(){return this.i2t_1},Cr.$metadata$=ge(\\\"A\\\",[ar],void 0,void 0,void 0,zr.prototype),Mr.prototype.f2p=function(){return this.p2t_1},Mr.prototype.q2t=function(t){bn().g2q(this,\\\"disabled\\\",t)},Mr.$metadata$=ge(\\\"BUTTON\\\",[ar],void 0,void 0,void 0,zr.prototype),Er.prototype.f2p=function(){return this.x2t_1},Er.$metadata$=ge(\\\"B\\\",[lr],void 0,void 0,void 0,zr.prototype),Tr.prototype.f2p=function(){return this.e2u_1},Tr.$metadata$=ge(\\\"DIV\\\",[sr],void 0,void 0,void 0,zr.prototype),Sr.prototype.f2p=function(){return this.l2u_1},Sr.prototype.m2u=function(t){(xn(),u).g2q(this,\\\"type\\\",t)},Sr.prototype.n2u=function(t){bn().g2q(this,\\\"checked\\\",t)},Sr.prototype.q2t=function(t){bn().g2q(this,\\\"disabled\\\",t)},Sr.prototype.o2u=function(t){_n().g2q(this,\\\"max\\\",t)},Sr.prototype.p2u=function(t){_n().g2q(this,\\\"min\\\",t)},Sr.prototype.q2u=function(t){_n().g2q(this,\\\"step\\\",t)},Sr.prototype.r2u=function(t){_n().g2q(this,\\\"value\\\",t)},Sr.prototype.w2=function(){return _n().d2q(this,\\\"value\\\")},Sr.prototype.s2u=function(t){_n().g2q(this,\\\"name\\\",t)},Sr.$metadata$=ge(\\\"INPUT\\\",[ar],void 0,void 0,void 0,zr.prototype),kr.prototype.f2p=function(){return this.z2u_1},kr.prototype.a2v=function(t){_n().g2q(this,\\\"for\\\",t)},kr.$metadata$=ge(\\\"LABEL\\\",[ar],void 0,void 0,void 0,zr.prototype),Or.prototype.f2p=function(){return this.h2v_1},Or.$metadata$=ge(\\\"OPTION\\\",[yn],void 0,void 0,void 0,zr.prototype),Ir.prototype.f2p=function(){return this.o2v_1},Ir.$metadata$=ge(\\\"P\\\",[lr],void 0,void 0,void 0,zr.prototype),Lr.prototype.f2p=function(){return this.v2v_1},Lr.$metadata$=ge(\\\"SPAN\\\",[lr],void 0,void 0,void 0,zr.prototype),Pr.prototype.f2p=function(){return this.c2w_1},Pr.prototype.q1s=function(t){bn().g2q(this,\\\"multiple\\\",t)},Pr.$metadata$=ge(\\\"SELECT\\\",[ar],void 0,void 0,void 0,zr.prototype),zr.prototype.e2p=function(){return this.v2p_1},zr.prototype.f2p=function(){return this.w2p_1},zr.prototype.g2p=function(){return this.x2p_1},zr.prototype.e1s=function(){return this.a2q_1},zr.prototype.h2p=function(){return this.e1s().z2q()},zr.$metadata$=ge(\\\"HTMLTag\\\",[Ze]),Rr.prototype.l2p=function(t){var e;if(null!=t.g2p())e=this.d2w_1.createElementNS(Oe(t.g2p()),t.e2p());else{var n=this.d2w_1.createElement(t.e2p());e=n instanceof HTMLElement?n:be()}for(var r=e,i=t.h2p().e();i.f();){var o=i.g();r.setAttribute(o.u2(),o.w2())}!this.e2w_1.i()&&Ue(this.e2w_1).appendChild(r),this.e2w_1.a(r)},Rr.prototype.m2p=function(t,e,n){if(this.e2w_1.i())throw Me(\\\"No current tag\\\");if(Ue(this.e2w_1).tagName.toLowerCase()!==t.e2p().toLowerCase())throw Me(\\\"Wrong current tag\\\");var r=Ue(this.e2w_1);null==n?(r.removeAttribute(e),fe()):(r.setAttribute(e,n),fe())},Rr.prototype.n2p=function(t,e,n){if(this.e2w_1.i())throw Me(\\\"No current tag\\\");if(Ue(this.e2w_1).tagName.toLowerCase()!==t.e2p().toLowerCase())throw Me(\\\"Wrong current tag\\\");Ue(this.e2w_1)[e]=n},Rr.prototype.o2p=function(t){if(!!this.e2w_1.i()||!(Ue(this.e2w_1).tagName.toLowerCase()===t.e2p().toLowerCase()))throw Me(\\\"We haven't entered tag \\\"+t.e2p()+\\\" but trying to leave\\\");this.f2w_1=this.e2w_1.z4(qe(this.e2w_1))},Rr.prototype.k2p=function(t){if(this.e2w_1.i())throw Me(\\\"No current DOM node\\\");Ue(this.e2w_1).appendChild(this.d2w_1.createTextNode(Ve(t)))},Rr.prototype.p2p=function(t){var e=new Qe;t(e);var n=Ue(this.e2w_1);n.innerHTML=n.innerHTML+e.toString(),fe()},Rr.prototype.r2p=function(){var t=this.f2w_1,e=null==t?null:t;if(null==e)throw Me(\\\"We can't finalize as there was no tags\\\");return e},Rr.$metadata$=ge(\\\"JSDOMBuilder\\\",[Ke]),cn.prototype.f2q=We,pn.prototype.f2q=We,fn.prototype.f2q=We,dn.prototype.f2q=We,zr.prototype.j2p=He,Cr.prototype.j2p=He,Mr.prototype.j2p=He,Er.prototype.j2p=He,Tr.prototype.j2p=He,Sr.prototype.j2p=He,kr.prototype.i2p=function(t){this.j2p(t)},kr.prototype.j2p=He,Or.prototype.j2p=He,Ir.prototype.j2p=He,Lr.prototype.j2p=He,Pr.prototype.j2p=He,Rr.prototype.q2p=Ge,t.$_$=t.$_$||{},t.$_$.a=tr,t.$_$.b=er,t.$_$.c=nr,t.$_$.d=rr,t.$_$.e=ir,t.$_$.f=function(t){return t.d2p()},t.$_$.g=function(t,e){var n,r,i=Pe(),o=function(t){return new Rr(t)}(function(t){var e;if(t instanceof Document)e=t;else{var n=t.ownerDocument;if(null==n)throw Me(\\\"Node has no ownerDocument\\\");e=n}return e}(t));return e(function(t,e){return new gn(t,(n=e,function(t,e){return n(t,e),t}));var n}(o,(n=i,r=t,function(t,e){return e||(n.a(t),r.appendChild(t),fe()),fe()}))),i},t.$_$.h=function(t,e){t.f2p().n2p(t,\\\"onchange\\\",e)},t.$_$.i=function(t,e){t.f2p().n2p(t,\\\"onclick\\\",e)},t.$_$.j=function(t,e){t.f2p().n2p(t,\\\"onkeydown\\\",e)},t.$_$.k=Cr,t.$_$.l=Mr,t.$_$.m=Er,t.$_$.n=Tr,t.$_$.o=Sr,t.$_$.p=kr,t.$_$.q=Or,t.$_$.r=Ir,t.$_$.s=Pr,t.$_$.t=Lr,t.$_$.u=Ge,t.$_$.v=Ke,t.$_$.w=Je,t.$_$.x=function(t){en();var e=null,n=t.length-1|0,r=0,i=de(0,n,2);if(r<=i)do{var o=r;r=r+2|0;var a=t[o],s=t[o+1|0];null!=a&&null!=s&&(null==e&&(e=me()),e.b(a,s))}while(o!==i);var l=e;return null==l?Xe():l},t.$_$.y=function(t,e){return en(),null==e?Xe():function(t,e){return en(),new tn(t,e)}(t,e)},t.$_$.z=Xe,t.$_$.a1=function(t,e){return en(),t.f2p().p2p(e)}}(t.exports,n(8744))},9157:(t,e,n)=>{!function(t,e){\\\"use strict\\\";var n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at=Math.imul,st=e.$_$.aa,lt=e.$_$.ib,ut=e.$_$.ka,ct=e.$_$.x9,ht=e.$_$.zd,pt=e.$_$.da,ft=e.$_$.b1,dt=e.$_$.q2,mt=e.$_$.r7,vt=e.$_$.z9,gt=e.$_$.b5,yt=e.$_$.c6,_t=e.$_$.a7,bt=e.$_$.m7,xt=e.$_$.a1,wt=e.$_$.i,At=e.$_$.jf,Ct=e.$_$.dc,Mt=e.$_$.ha,Et=e.$_$.s7,Tt=e.$_$.mb,St=e.$_$.oe,kt=e.$_$.pa,Ot=e.$_$.vd,It=e.$_$.v9,Lt=e.$_$.ud,Pt=e.$_$.y9,zt=e.$_$.b6,Rt=e.$_$.m,Dt=e.$_$.qf,$t=e.$_$.f7,Bt=e.$_$.n7,Nt=e.$_$.bb,Ft=e.$_$.t2,jt=e.$_$.db,Ut=e.$_$.w9,qt=e.$_$.t9,Vt=e.$_$.t,Ht=e.$_$.w7,Gt=e.$_$.u8,Wt=e.$_$.d2,Xt=e.$_$.d5,Yt=e.$_$.ta,Zt=e.$_$.z5,Kt=e.$_$.y,Jt=e.$_$.q,Qt=e.$_$.k7,te=e.$_$.tc,ee=e.$_$.ee,ne=e.$_$.r1,re=e.$_$.v1,ie=e.$_$.y7,oe=e.$_$.ge,ae=e.$_$.w1,se=e.$_$.s,le=e.$_$.p,ue=e.$_$.b7,ce=e.$_$.p7,he=e.$_$.v6,pe=e.$_$.a6,fe=e.$_$.ja,de=e.$_$.bd,me=e.$_$.o,ve=e.$_$.w,ge=e.$_$.r6,ye=e.$_$.u1,_e=e.$_$.u5,be=e.$_$.g,xe=e.$_$.s1,we=e.$_$.ff,Ae=e.$_$.jd,Ce=e.$_$.id,Me=e.$_$.u2,Ee=e.$_$.v7,Te=e.$_$.rc,Se=e.$_$.f2,ke=e.$_$.vc,Oe=e.$_$.uc,Ie=e.$_$.u4,Le=e.$_$.n5,Pe=e.$_$.t6,ze=e.$_$.f8,Re=e.$_$.i2,De=e.$_$.e1,$e=e.$_$.e,Be=e.$_$.p4,Ne=e.$_$.i8,Fe=e.$_$.ae,je=e.$_$.le,Ue=e.$_$.q6,qe=e.$_$.l6,Ve=e.$_$.k6,He=e.$_$.r2,Ge=e.$_$.o7,We=e.$_$.yb,Xe=e.$_$.a2,Ye=e.$_$.m2,Ze=e.$_$.xc,Ke=e.$_$.rb,Je=e.$_$.v,Qe=e.$_$.l7,tn=e.$_$.d7,en=e.$_$.z7,nn=e.$_$.z,rn=e.$_$.x,on=e.$_$.zc;function an(t){this.x4u_1=t}function sn(t,e,n,r){return function(t,e,n,r,i){return 0!=(2&n)&&(e=!1),ln.call(i,t,e),i}(t,e,n,0,Object.create(ln.prototype))}function ln(t,e){an.call(this,t),this.z4u_1=e}function un(){n=this,this.a4v_1=sn(\\\"MARKDOWN_FILE\\\",!1,2),this.b4v_1=sn(\\\"UNORDERED_LIST\\\",!1,2),this.c4v_1=sn(\\\"ORDERED_LIST\\\",!1,2),this.d4v_1=sn(\\\"LIST_ITEM\\\",!1,2),this.e4v_1=sn(\\\"BLOCK_QUOTE\\\",!1,2),this.f4v_1=sn(\\\"CODE_FENCE\\\",!1,2),this.g4v_1=sn(\\\"CODE_BLOCK\\\",!1,2),this.h4v_1=sn(\\\"CODE_SPAN\\\",!1,2),this.i4v_1=sn(\\\"HTML_BLOCK\\\",!1,2),this.j4v_1=new ln(\\\"PARAGRAPH\\\",!0),this.k4v_1=sn(\\\"EMPH\\\",!1,2),this.l4v_1=sn(\\\"STRONG\\\",!1,2),this.m4v_1=sn(\\\"LINK_DEFINITION\\\",!1,2),this.n4v_1=new ln(\\\"LINK_LABEL\\\",!0),this.o4v_1=new ln(\\\"LINK_DESTINATION\\\",!0),this.p4v_1=new ln(\\\"LINK_TITLE\\\",!0),this.q4v_1=new ln(\\\"LINK_TEXT\\\",!0),this.r4v_1=sn(\\\"INLINE_LINK\\\",!1,2),this.s4v_1=sn(\\\"FULL_REFERENCE_LINK\\\",!1,2),this.t4v_1=sn(\\\"SHORT_REFERENCE_LINK\\\",!1,2),this.u4v_1=sn(\\\"IMAGE\\\",!1,2),this.v4v_1=sn(\\\"AUTOLINK\\\",!1,2),this.w4v_1=sn(\\\"SETEXT_1\\\",!1,2),this.x4v_1=sn(\\\"SETEXT_2\\\",!1,2),this.y4v_1=sn(\\\"ATX_1\\\",!1,2),this.z4v_1=sn(\\\"ATX_2\\\",!1,2),this.a4w_1=sn(\\\"ATX_3\\\",!1,2),this.b4w_1=sn(\\\"ATX_4\\\",!1,2),this.c4w_1=sn(\\\"ATX_5\\\",!1,2),this.d4w_1=sn(\\\"ATX_6\\\",!1,2)}function cn(){return null==n&&new un,n}function hn(){ln.call(this,\\\"WHITE_SPACE\\\",!0)}function pn(){r=this,this.i4w_1=new ln(\\\"TEXT\\\",!0),this.j4w_1=new ln(\\\"CODE_LINE\\\",!0),this.k4w_1=new ln(\\\"BLOCK_QUOTE\\\",!0),this.l4w_1=new ln(\\\"HTML_BLOCK_CONTENT\\\",!0),this.m4w_1=new ln(\\\"'\\\",!0),this.n4w_1=new ln('\\\"',!0),this.o4w_1=new ln(\\\"(\\\",!0),this.p4w_1=new ln(\\\")\\\",!0),this.q4w_1=new ln(\\\"[\\\",!0),this.r4w_1=new ln(\\\"]\\\",!0),this.s4w_1=new ln(\\\"<\\\",!0),this.t4w_1=new ln(\\\">\\\",!0),this.u4w_1=new ln(\\\":\\\",!0),this.v4w_1=new ln(\\\"!\\\",!0),this.w4w_1=new ln(\\\"BR\\\",!0),this.x4w_1=new ln(\\\"EOL\\\",!0),this.y4w_1=new ln(\\\"LINK_ID\\\",!0),this.z4w_1=new ln(\\\"ATX_HEADER\\\",!0),this.a4x_1=new ln(\\\"ATX_CONTENT\\\",!0),this.b4x_1=new ln(\\\"SETEXT_1\\\",!0),this.c4x_1=new ln(\\\"SETEXT_2\\\",!0),this.d4x_1=new ln(\\\"SETEXT_CONTENT\\\",!0),this.e4x_1=new ln(\\\"EMPH\\\",!0),this.f4x_1=new ln(\\\"BACKTICK\\\",!0),this.g4x_1=new ln(\\\"ESCAPED_BACKTICKS\\\",!0),this.h4x_1=new ln(\\\"LIST_BULLET\\\",!0),this.i4x_1=new ln(\\\"URL\\\",!0),this.j4x_1=new ln(\\\"HORIZONTAL_RULE\\\",!0),this.k4x_1=new ln(\\\"LIST_NUMBER\\\",!0),this.l4x_1=new ln(\\\"FENCE_LANG\\\",!0),this.m4x_1=new ln(\\\"CODE_FENCE_START\\\",!0),this.n4x_1=new ln(\\\"CODE_FENCE_CONTENT\\\",!0),this.o4x_1=new ln(\\\"CODE_FENCE_END\\\",!0),this.p4x_1=new ln(\\\"LINK_TITLE\\\",!0),this.q4x_1=new ln(\\\"AUTOLINK\\\",!0),this.r4x_1=new ln(\\\"EMAIL_AUTOLINK\\\",!0),this.s4x_1=new ln(\\\"HTML_TAG\\\",!0),this.t4x_1=new ln(\\\"BAD_CHARACTER\\\",!0),this.u4x_1=new hn}function fn(){return null==r&&new pn,r}function dn(){}function mn(t,e){for(var n=t.y1r().e();n.f();)vn(n.g(),e)}function vn(t,e){e.x4x(t)}function gn(){i=this}function yn(){return null==i&&new gn,i}function _n(t){yn(),this.z4x_1=t}function bn(t,e,n){this.c4y_1=t,this.d4y_1=e,this.e4y_1=n,this.f4y_1=null}function xn(t,e){return vt(e,t.v4x(),t.w4x())}function wn(t,e){var n;t:{for(var r=t.y1r().e();r.f();){var i=r.g();if(pt(i.c9(),e)){n=i;break t}}n=null}return n}function An(t,e){var n=_t(e),r=null==n?null:n.v4x(),i=null==r?0:r,o=bt(e),a=null==o?null:o.w4x();bn.call(this,t,i,null==a?0:a),this.k4y_1=e;for(var s=this.k4y_1.e();s.f();){var l=s.g();l instanceof bn&&(l.f4y_1=this)}}function Cn(){o=this,this.l4y_1=xt(0)}function Mn(){return null==o&&new Cn,o}function En(t,e,n){Mn(),bn.call(this,t,e,n)}function Tn(t,e){for(var n=0,r=!1,i=e.y1r().e();i.f();){var o=i.g().c9();if(pt(o,fn().x4w_1))n=n+1|0;else if(pt(o,fn().h4x_1)||pt(o,fn().k4x_1)||pt(o,fn().u4x_1));else{if(r&&n>1)return!0;r=!0,n=0}}return!1}function Sn(){a=this}function kn(){return null==a&&new Sn,a}function On(t,e){kn(),An.call(this,t,e);var n,r=wt();this.v4y_1=At(r,(n=this,function(){return function(t){if(Tn(kn(),t))return!0;for(var e=t.k4y_1.e();e.f();){var n=e.g();if(pt(n.c9(),cn().d4v_1)&&Tn(kn(),n))return!0}return!1}(n)}))}function In(t){An.call(this,cn().d4v_1,t)}function Ln(){}function Pn(){}function zn(){}function Rn(){Wa.call(this)}function Dn(){}function $n(){jr.call(this,\\\"ol\\\")}function Bn(t){this.m4z_1=t}function Nn(){}function Fn(){}function jn(){}function Un(){}function qn(){Hr.call(this)}function Vn(){}function Hn(t,e){this.u4z_1=t,this.v4z_1=e,this.w4z_1=(null==s&&new Gn,s),this.x4z_1=new Rn}function Gn(){s=this}function Wn(t,e){so.call(this,t,e),this.o50_1=new ao(this.r50_1,this.r50_1,this.t50_1),this.p50_1=Et([new ma,new wa,new _a,new Ra,new da,new La,new fa,new Ta,new Ia])}function Xn(){l=this,this.y51_1=new Zn(new Int32Array(0),Ut(0),qt(0),0,!1)}function Yn(){return null==l&&new Xn,l}function Zn(t,e,n,r,i){Yn(),Co.call(this,t,e,n,r),this.d52_1=i}function Kn(){u=this,this.t52_1=new ln(\\\"~\\\",!0),this.u52_1=new ln(\\\"TABLE_SEPARATOR\\\",!0),this.v52_1=new ln(\\\"GFM_AUTOLINK\\\",!0),this.w52_1=new ln(\\\"CHECK_BOX\\\",!0),this.x52_1=new ln(\\\"CELL\\\",!0)}function Jn(){return null==u&&new Kn,u}function Qn(){c=this,this.z52_1=sn(\\\"STRIKETHROUGH\\\",!1,2),this.a53_1=sn(\\\"TABLE\\\",!1,2),this.b53_1=sn(\\\"HEADER\\\",!1,2),this.c53_1=sn(\\\"ROW\\\",!1,2)}function tr(){return null==c&&new Qn,c}function er(){Wa.call(this)}function nr(){ii.call(this,\\\"span\\\",2,-2)}function rr(t){this.j53_1=t}function ir(t,e){Hn.call(this,t,e),this.o53_1=(null==v&&new vr,v),this.p53_1=new er}function or(){if(d)return gt();d=!0,h=new sr(\\\"LEFT\\\",0,\\\"left\\\",!0),p=new sr(\\\"CENTER\\\",1,\\\"center\\\",!1),f=new sr(\\\"RIGHT\\\",2,\\\"right\\\",!1)}function ar(t,e,n,r,i,o){var a=o>0&&0==(o%2|0)?'class=\\\"intellij-row-even\\\"':null;e.j4z(n,\\\"tr\\\",[a],!1,8,null);for(var s=n.y1r(),l=ft(),u=s.e();u.f();){var c=u.g();pt(c.c9(),Jn().x52_1)&&l.a(c)}for(var h,p=Gt(l).e();p.f();){var f=p.g();if(f.w3_1>=i.h())throw Wt(\\\"Too many cells in a row! Should check parser.\\\");var d=i.j(f.w3_1),m=d.t53_1?null:'align=\\\"'+d.s53_1+'\\\"';e.j4z(f.x3_1,r,[m],!1,8,null),e.x4x(f.x3_1),e.y4z(r)}var v=n.y1r();if(Yt(v,Xt)&&v.i())h=0;else{for(var g=0,y=v.e();y.f();){var _=y.g();pt(_.c9(),Jn().x52_1)&&Zt(g=g+1|0)}h=g}var b=h,x=i.h()-1|0;if(b<=x)do{var w=b;b=b+1|0,e.g4z(\\\"<td></td>\\\")}while(w!==x);e.y4z(\\\"tr\\\")}function sr(t,e,n,r){ee.call(this,t,e),this.s53_1=n,this.t53_1=r}function lr(){var t;m=this;t:{for(var e=[cr(),hr(),pr()],n=0,r=e.length;n<r;){var i=e[n];if(n=n+1|0,i.t53_1){t=i;break t}}t=null}var o,a=t;if(null==a)throw Wt(\\\"Must me default alignment\\\");o=a,this.u53_1=o,this.v53_1=ne(\\\"\\\\\\\\|\\\")}function ur(){return null==m&&new lr,m}function cr(){return or(),h}function hr(){return or(),p}function pr(){return or(),f}function fr(){ur()}function dr(t,e){ai.call(this),this.x53_1=t,this.y53_1=e}function mr(){jr.call(this,\\\"li\\\")}function vr(){v=this}function gr(t,e){Wn.call(this,t,e),this.j54_1=ie(Wn.prototype.z50.call(this),mt(new Nr))}function yr(t,e){return null==e||!(pt(e,fn().u4x_1)||pt(e,fn().x4w_1)||pt(e,Jn().t52_1)||pt(e,fn().s4x_1))&&!pt(e,fn().l4w_1)}function _r(){}function br(t,e){var n=e;return pt(new ht(n),new ht(dt(34)))?fn().n4w_1:pt(new ht(n),new ht(dt(39)))?fn().m4w_1:pt(new ht(n),new ht(dt(40)))?fn().o4w_1:pt(new ht(n),new ht(dt(41)))?fn().p4w_1:pt(new ht(n),new ht(dt(91)))?fn().q4w_1:pt(new ht(n),new ht(dt(93)))?fn().r4w_1:pt(new ht(n),new ht(dt(60)))?fn().s4w_1:pt(new ht(n),new ht(dt(62)))?fn().t4w_1:fn().t4x_1}function xr(t,e){for(var n=0,r=0,i=e.length;r<i;)n=n+Ft(ct(e,r))|0,r=r+2|0;gt();for(var o=Ut(n),a=0,s=0;a<e.length;){var l=a;a=l+1|0;var u=Ft(ct(e,l)),c=a;a=c+1|0;var h=ct(e,c);do{var p=s;s=p+1|0,o[p]=h,u=u-1|0}while(u>0)}return o}function wr(){this.c55_1=dt(0),this.d55_1=null,this.e55_1=!0}function Ar(t,e,n){var r=t.t55(0),i=t.t55(t.u55()-1|0);return Ei(t.q55_1,t.v55()),t.s55_1.c55_1=i,t.s55_1.d55_1=e,t.s55_1.e55_1=!0,Ir(),t.w55(6),t.x55(t.u55()-1|0),br(Ir(),r)}function Cr(t){for(var e=1;e<t.u55()&&!pt(new ht(t.t55(e)),new ht(dt(10)));)e=e+1|0;if(e!==t.u55())return t.x55(t.u55()-e|0),gt();Ir(),t.w55(0),t.x55(t.u55()-1|0),t.r55_1=!1}function Mr(t){var e,n=t.v55();if(Ir(),4===n)e=!0;else{var r=t.v55();Ir(),e=6===r&&t.s55_1.e55_1}return e}function Er(t,e){return Mr(t)?e:t.s55_1.d55_1}function Tr(t,e){var n=0,r=e;if(0<=r)t:do{var i=r;r=r+-1|0;var o=t.t55(i);if(pt(new ht(o),new ht(dt(41))))n=n+1|0;else if(pt(new ht(o),new ht(dt(40)))&&(n=n-1|0)<=0)break t}while(0<=r);return n}function Sr(t){var e=t.u55();if(pt(new ht(t.t55(e-1|0)),new ht(dt(47)))){for(;pt(new ht(t.t55(e-2|0)),new ht(dt(47)));)e=e-1|0;return t.x55(t.u55()-e|0),gt()}var n=-1,r=e-1|0;if(0<=r)t:do{var i=r;r=r+-1|0;var o=t.t55(i);if(pt(new ht(o),new ht(dt(41)))){if(-1===n&&(n=Tr(t,i)),!(n>0))break t;n=n-1|0}else if(-1===Vt(\\\".,:;!?\\\\\\\"'*_~]`\\\",o,0,!1,6,null))break t;e=e-1|0}while(0<=r);t.x55(t.u55()-e|0)}function kr(t,e){var n;try{n=Ir().s56_1[e]}catch(t){if(!(t instanceof oe))throw t;var r=Ir().s56_1;Ir(),n=r[0]}throw ae(n)}function Or(){var t,e,n;g=this,this.y55_1=-1,this.z55_1=16384,this.a56_1=0,this.b56_1=2,this.c56_1=4,this.d56_1=6,this.e56_1=8,t=new Int32Array([0,0,1,1,2,2,3,3,1,1]),this.f56_1=t,this.g56_1=xr(0,\\\"\\u0001\\\\0\\u0001\\u0001\\u0001\\u0002\\u0001\\u0003\\u0001\\u0004\\u0001\\u0005\\u0001\\u0006\\u0001\\u0007\\u0001\\\\b\\u0001\\\\t\\u0001\\\\n\\u0001\\\\v\\u0001\\\\f\\u0006\\\\r\\u0001\\u000e\\u0013\\\\r\\u0001\\u000f\\u0001\\\\r\\u0001\\u0010\\u0001\\u0011\\\\n\\\\r\\u0001\\u0012\\\\b\\\\n\\u0001\\u0013\\u0001\\u0014\\u0001\\u0015\\u0001\\u0016\\u0001\\u0017\\u0001\\u0018\\u0001\\u0019\\u0001\\u001a\\u0001\\u001b\\u0001\\u001c\\u0001\\u001d\\u0001\\u001e\\u0002\\\\n\\u0001\\\\r\\u0001\\u001f\\u0003\\\\n\\u0001 \\\\b\\\\n\\u0001!\\u0001\\\\\\\"\\u0005\\\\r\\u0001#\\u0001$\\\\t\\\\n\\u0001%\\u0002\\\\n\\u0001&\\u0004\\\\n\\u0001'\\u0001(\\u0004\\\\n\\u0001)\\u0001*\\u0001+\\u0003\\\\n)\\\\r\\u0001,\\u0003\\\\r\\u0001-\\u0001.\\u0004\\\\r\\u0001/\\\\n\\\\n\\u00010΁\\\\n\\\"),this.h56_1=xr(0,\\\"\\u0001\\\\0\\u0001\\u0001\\u0001\\u0002\\u0001\\u0003\\u0001\\u0004\\u0001\\u0005\\u0001\\u0006\\u0001\\u0007\\u0001\\\\b\\u0001\\u0001\\u0001\\\\t\\u0001\\\\n\\u0001\\\\v\\u0001\\\\f\\u0001\\\\v\\u0001\\\\f\\u001c\\\\v\\u0001\\\\r\\u0001\\u000e\\u0001\\u000f\\\\b\\u0001\\u0001\\u0010\\u0001\\u0011\\u0001\\\\v\\u0001\\u0012\\u0004\\\\v\\u0001\\u0013\\\\b\\\\v\\u0001\\u0014\\\\n\\\\v\\u0001\\u0015\\u0001\\\\v\\u0001\\u0016\\u0001\\u0015\\u0001\\\\v\\u0001\\u0017\\u0004\\u0001\\u0001\\\\v\\u0001\\u0018\\u0001\\u0019\\u0002\\u0001\\u0002\\\\v\\u0001\\u0018\\u0001\\u0001\\u0001\\u001a\\u0001\\u0015\\u0005\\\\v\\u0001\\u001b\\u0001\\u001c\\u0001\\u001d\\u0001\\u0001\\u0001\\u001e\\u0001\\\\v\\u0001\\u0001\\u0001\\u001f\\u0005\\\\v\\u0001 \\u0001!\\u0002\\\\v\\u0001\\u0018\\u0001\\\\\\\"\\u0001\\\\v\\u0001#\\u0001$\\u0001\\u0001\\u0001\\\\v\\u0001%\\u0004\\u0001\\u0001\\\\v\\u0001&\\u0004\\u0001\\u0001'\\u0002\\\\v\\u0001(\\u0001\\u0001\\u0001)\\u0001\\\\r\\u0001\\u0015\\u0001*\\u0001+\\u0001,\\u0001-\\u0001.\\u0001/\\u0001\\\\r\\u00010\\u00011\\u0001+\\u0001,\\u00012\\u0001\\u0001\\u00013\\u00014\\u00015\\u00016\\u0001\\u0012\\u0001,\\u00017\\u0001\\u0001\\u00018\\u0001\\\\r\\u00019\\u0001:\\u0001+\\u0001,\\u00017\\u0001\\u0001\\u0001/\\u0001\\\\r\\u0001;\\u0001<\\u0001=\\u0001>\\u0001?\\u0001\\u0001\\u00018\\u00014\\u0001\\u0019\\u0001@\\u0001\\u001e\\u0001,\\u0001(\\u0001\\u0001\\u0001A\\u0001\\\\r\\u0001B\\u0001C\\u0001\\u001e\\u0001,\\u0001D\\u0001\\u0001\\u0001.\\u0001\\\\r\\u0001E\\u0001@\\u0001\\u001e\\u0001\\\\v\\u0001F\\u0001.\\u0001G\\u0001\\\\r\\u0001,\\u0001H\\u0001I\\u0001\\\\v\\u0001J\\u0001K\\u0001\\u0001\\u00014\\u0001\\u0001\\u0001\\u0015\\u0002\\\\v\\u0001L\\u0001K\\u0001?\\u0002\\u0001\\u0001M\\u0001N\\u0001O\\u0001P\\u0001Q\\u0001R\\u0002\\u0001\\u00018\\u0001\\u0001\\u0001\\\\v\\u0001S\\u0001T\\u0001\\\\v\\u0001U\\u0001\\u0001\\u0001V\\u0007\\u0001\\u0002\\\\v\\u0001\\u0018\\u0001W\\u0001?\\u0001X\\u0001Y\\u0001Z\\u0001[\\u0001?\\u0002\\\\v\\u0001\\\\\\\\\\u0002\\\\v\\u0001]\\u0014\\\\v\\u0001^\\u0001_\\u0002\\\\v\\u0001^\\u0002\\\\v\\u0001`\\u0001a\\u0001\\\\f\\u0003\\\\v\\u0001a\\u0003\\\\v\\u0001\\u0018\\u0001b\\u0001U\\u0001\\\\v\\u0001\\u0001\\u0005\\\\v\\u0001c\\u0001\\u0015%\\\\v\\u0001\\u001d\\u0001\\\\v\\u0001d\\u0001\\u0018\\u0004\\\\v\\u0001e\\u0001%\\u0001f\\u0001\\u000e\\u0001\\\\v\\u0001\\u000e\\u0001\\\\v\\u0001\\u000e\\u0001f\\u00018\\u0003\\\\v\\u0001S\\u0001\\u0001\\u0001g\\u0002?\\u0001\\u0001\\u0001?\\u0005\\\\v\\u0001\\u0017\\u0001h\\u0001\\\\v\\u0001i\\u0004\\\\v\\u0001 \\u0001\\\\v\\u0001j\\u0002\\u0001\\u00014\\u0001\\\\v\\u0001k\\u0001l\\u0002\\\\v\\u0001m\\u0001\\\\v\\u0001?\\u0001\\u0018\\u0002\\u0001\\u0001\\\\v\\u0001K\\u0003\\\\v\\u0001l\\u0002\\u0001\\u0002?\\u0001n\\u0005\\u0001\\u0001H\\u0002\\\\v\\u0001S\\u0001o\\u0001?\\u0002\\u0001\\u0001p\\u0001\\\\v\\u0001q\\u0003\\\\v\\u0001 \\u0001\\u0001\\u0002\\\\v\\u0001S\\u0001\\u0001\\u0001r\\u0002\\\\v\\u0001k\\u0001%\\u0005\\u0001\\u0001s\\u0001t\\\\f\\\\v\\u0004\\u0001\\u0011\\\\v\\u0001c\\u0002\\\\v\\u0001c\\u0001u\\u0001\\\\v\\u0001k\\u0003\\\\v\\u0001v\\u0001w\\u0001x\\u0001U\\u0001w\\u0001y\\u0001\\u0001\\u0001z\\u0002\\u0001\\u0001{\\u0001\\u0001\\u0001|\\u0001?\\u0001U\\u0006\\u0001\\u0001}\\u0001~\\u0001\\u0001R\\u0001€\\u0003\\\\v\\u0001?-\\u0001\\u0003\\\\v\\u0001m\\u0004\\u0001\\u0001\\u0001\\\\v'\\u0001\\u00014\\u0001\\\\v\\u0001SF\\u0001\\u0002\\\\v\\u0001j\\u0002\\\\v\\u0001j\\\\b\\\\v\\u0001‚\\u0001ƒ\\u0002\\\\v\\u0001\\\\\\\\\\u0003\\\\v\\u0001„\\u0001\\u0001\\u0001\\\\v\\u0001K\\u0004…",
"\\u0004\\u0001\\u0001W\\u001d\\u0001\\u0001†\\u0001\\u0001\\u0001‡\\u0001ˆ\\u0001\\u0015\\u0004\\\\v\\u0001‰\\u0001\\u0015\\u0004\\\\v\\u0001]\\u0001H\\u0001\\\\v\\u0001k\\u0001\\u0015\\u0004\\\\v\\u0001j\\u0001Š\\u0001\\\\v\\u0001\\u0018\\u0003\\u0001\\u0001\\\\v\\u0002\\u0001\\u0001?\\u0001\\u0001\\u0001‹\\u0001\\u0015\\u0002\\u0001\\u0001?\\u0002\\u0001\\u0001\\u0015\\u0014\\u0001[\\\\v\\u0001 \\u0004\\u0001]\\\\v\\u0001 \\u0002\\u0001\\\\b\\\\v\\u0001U\\u0004\\u0001\\u0002\\\\v\\u0001k\\u0010\\\\v\\u0001U\\u0001\\\\v\\u0001m\\u0001\\u0001\\u0002\\\\v\\u0001j\\u0001W\\u0001\\\\v\\u0001k\\u0005\\\\v\\u0002\\u0001\\u0001Œ\\u0001\\u0005\\\\v\\u0001Ž\\u0001\\\\v\\u0001j\\u0001\\u0017\\u0003\\u0001\\u0001Œ\\u0001\\u0001\\\\v\\u0001\\u0019\\u0001 \\u0003\\\\v\\u0001S\\u0001\\u0002\\\\v\\u0001S\\u0001\\u0001\\u0001?\\u0001\\u0001\\u0001\\u0002\\\\v\\u0001 \\u0001\\\\v\\u0001K\\u0001\\u0001\\u0001\\\\v\\u0001U\\u0001'\\u0002\\\\v\\u0001\\u0019\\u0001W\\u0001?\\u0001‘\\u0001j\\u0002\\\\v\\u0001%\\u0001\\u0001\\u0001’\\u0001?\\u0001\\\\v\\u0001“\\u0003\\\\v\\u0001”\\u0001•\\u0001–\\u0001\\u0018\\u00015\\u0001—\\u0001˜\\u0001…",
"\\u0002\\\\v\\u0001]\\u0001 \\u0007\\\\v\\u0001\\u0019\\u0001?:\\\\v\\u0001S\\u0001\\\\v\\u0001™\\u0002\\\\v\\u0001m\\u0010\\u0001\\u0016\\\\v\\u0001k\\u0006\\\\v\\u0001?\\u0002\\u0001\\u0001K\\u0001š\\u0001,\\u0001›\\u0001œ\\u0006\\\\v\\u0001\\u000e\\u0001\\u0001\\u0001p\\u0015\\\\v\\u0001k\\u0001\\u0001\\u0004\\\\v\\u0001\\u0002\\\\v\\u0001\\u0017\\u0002\\u0001\\u0001m\\u0007\\u0001\\u0001‘\\u0007\\\\v\\u0001U\\u0001\\u0001\\u0001?\\u0001\\u0015\\u0001\\u0018\\u0001\\u0015\\u0001\\u0018\\u00014\\u0004\\\\v\\u0001j\\u0001\\u0001ž\\u0002\\u0001\\u0001Ÿ\\u0001\\\\v\\u0001\\\\f\\u0001 \\u0002k\\u0002\\u0001\\u0007\\\\v\\u0001\\u0018\\u0001Œ\\u0002\\\\v\\u0001S\\u0003\\\\v\\u0001%\\u0001¡\\u000f\\u0001\\u0001\\\\v\\u0001U\\u0003\\\\v\\u00018\\u0001\\u0015\\u0001m\\u0002\\\\v\\u0001S\\u0001\\\\v\\u0001\\u0018\\u0002\\\\v\\u0001 \\u0001\\\\v\\u0001k\\u0002\\\\v\\u0001¢\\u0001£\\u0002\\u0001\\\\t\\\\v\\u0001k\\u0001?\\u0002\\\\v\\u0001¢\\u0001\\\\v\\u0001m\\u0002\\\\v\\u0001\\u0017\\u0003\\\\v\\u0001S\\\\t\\u0001\\u0013\\\\v\\u0001K\\u0001\\\\v\\u0001 \\u0001\\u0017\\\\t\\u0001\\u0001¤\\u0002\\\\v\\u0001¥\\u0001\\\\v\\u0001¦\\u0001\\\\v\\u0001§\\u0001\\\\v\\u0001j\\u0001Œ\\u0003\\u0001\\u0001\\\\v\\u0001¨\\u0001\\\\v\\u0001m\\u0001\\\\v\\u0001?\\u0004\\u0001\\u0003\\\\v\\u0001©\\u0001\\\\v\\u0001\\u0002\\\\v\\u00018\\u0001ª\\u0001\\\\v\\u0001S\\u0001\\u0017\\u0001\\u0001\\u0001\\\\v\\u0001j\\u0002\\\\v\\u0002\\u0001\\u0001T\\u0001\\\\v\\u0001«\\u0001\\u0001\\u0003\\\\v\\u0001 \\u0001\\\\v\\u0001¦\\u0001\\\\v\\u0001¬\\u0001\\\\v\\u0001\\u000e\\u0001b\\u0005\\u0001\\u0004\\\\v\\u0001%\\u0003\\u0001\\u0003\\\\v\\u0001\\u0019\\u0003\\\\v\\u0001­\\u0016\\u0001\\u0001\\\\v\\u0001j\\u0018\\u0001\\u0001p\\u0002\\\\v\\u0001\\u0017\\u0001\\u0001\\u0001\\u0001\\\\v\\u0001\\u0001\\u0001p\\u0002\\\\v\\u0002\\u0001\\u0001\\\\v\\u0001%\\u0001?\\u0001p\\u0001\\\\v\\u0001K\\u00014\\u0001\\u0001\\u0002\\\\v\\u0001®\\u0001p\\u0002\\\\v\\u0001\\u0019\\u0001¯\\u0001°\\u0001\\u0015\\u0001l\\u0001\\\\v\\u0001\\u0012\\u0001m\\u0005\\u0001\\u0001±\\u0001²\\u0001%\\u0002\\\\v\\u0001j\\u0001\\u0001\\u0001?\\u0001:\\u0001+\\u0001,\\u00017\\u0001\\u0001\\u0001³\\u0001\\u000e\\\\t\\u0001\\u0003\\\\v\\u0001l\\u0001´\\u0001?\\u0002\\u0001\\u0003\\\\v\\u0001\\u0001\\u0001µ\\u0001?\\\\n\\u0001\\u0002\\\\v\\u0001j\\u0002\\u0001\\u0001¶\\u0002\\u0001\\u0003\\\\v\\u0001\\u0001\\u0001·\\u0001?\\u0002\\u0001\\u0002\\\\v\\u0001\\u0018\\u0001\\u0001\\u0001?\\u0003\\u0001\\u0001\\\\v\\u0001?\\u0001\\u0001\\u0001m\\u0016\\u0001\\u0005\\\\v\\u0001¸\\u001c\\u0001\\u0003\\\\v\\u0001%\\u0010\\u0001\\u0001,\\u0001\\\\v\\u0001j\\u0001\\u0001\\u00018\\u0001\\\\v\\u0001U\\u0001\\u0001\\\\v7\\u00019\\\\v\\u0001?\\u0006\\u0001\\u0006\\\\v\\u0001j\\u0001\\u0001\\\\f\\\\v\\u0001S+\\u0001\\u0002\\\\v\\u0001j=\\u0001$\\\\v\\u0001K\\u001b\\u0001#\\\\v\\u0001%\\u0001\\\\v\\u0001j\\u0001?\\u0006\\u0001\\u0001\\\\v\\u0001k\\u0001\\u0001\\u0003\\\\v\\u0001\\u0001\\u0001S\\u0001¹\\u0001\\u0012\\u0001º\\u0001\\\\v7\\u0001\\u0004\\\\v\\u0001l\\u00018\\u0003\\u0001\\u0001p\\u0004\\u0001\\u00018\\u0001\\u0001>\\\\v\\u0001U\\u0001\\u0001/\\\\v\\u0001\\u0019\\u0010\\u0001\\u0001\\u000e?\\u0001\\u0006\\\\v\\u0001\\u0018\\u0001U\\u0001%\\u0001?l\\u0001\\u0001\\\\v\\u0001\\u000e\\\\b\\u0001\\u0005\\\\v\\u0001‘\\u0003\\\\v\\u0001f\\u0001»\\u0001¼\\u0001½\\u0003\\\\v\\u0001¾\\u0001¿\\u0001\\\\v\\u0001À\\u0001Á\\u0001\\u001e\\u0014\\\\v\\u0001¦\\u0001\\\\v\\u0001\\u001e\\u0001]\\u0001\\\\v\\u0001]\\u0001\\\\v\\u0001‘\\u0001\\\\v\\u0001‘\\u0001j\\u0001\\\\v\\u0001j\\u0001\\\\v\\u0001,\\u0001\\\\v\\u0001,\\u0001\\\\v\\u0001Â\\u000f\\\\v\\u0001h\\u0003\\u0001\\u0004\\\\v\\u0001S\\u0001?J\\u0001\\u0001½\\u0001\\\\v\\u0001Ã\\u0001Ä\\u0001Å\\u0001Æ\\u0001Ç\\u0001È\\u0001¹\\u0001m\\u0001É\\u0001m$\\u0001\\u0001U/\\u0001-\\\\v\\u0001K\\u0002\\u0001C\\\\v\\u0001l\\\\r\\\\v\\u0001kh\\\\v\\u0001\\u000e\\u0015\\u0001!\\\\v\\u0001k\\u001e\\u0001\\\"),this.i56_1=xr(0,\\\"\\\\t!\\u0001\\u0003\\u0001\\u0006\\u0001\\u0004\\u0001\\u0005\\u0001\\u0007\\u0012!\\u0001\\u0003\\u0001\\\\f\\u0001\\\\b\\u0004,\\u0001\\\\n\\u0001\\\\\\\"\\u0001 \\u0001.\\u0001,\\u0001-\\u0001\\\\r\\u0001\\u001f\\u0001\\u001c\\\\n\\u0001\\u0001\\u0018\\u0001!\\u0001\\\\v\\u0001\\u001b\\u0001\\u000e\\u0001\\u000f\\u0001\\u001e\\u0001\\u0014\\u0001\\u0010\\u0001\\u0012\\u0001\\u0013\\u000f\\u0010\\u0001\\u0015\\u0006\\u0010\\u0001\\u0011\\u0001\\\\t\\u0001\\u0016\\u0001\\u001d\\u0001\\u0019\\u0001\\u001a\\u0004\\u0017\\u0001*\\u0001'\\u0001\\u0017\\u0001#\\u0001(\\u0002\\u0017\\u0001)\\u0003\\u0017\\u0001%\\u0002\\u0017\\u0001&\\u0001$\\u0002\\u0017\\u0001+\\u0003\\u0017\\u0001,\\u0001\\u001d\\u0001,\\u0001/\\u0006!\\u0001\\u0004\\\\n!\\u0001\\\\0\\\\t!\\u0001\\u0002\\u0007!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0003!\\u0002\\u0002\\u0001!\\u0003\\u0002\\u0001!\\u0017\\u0002\\u0001!\\\\n\\u0002\\u0004!\\\\f\\u0002\\u000e!\\u0005\\u0002\\u0007!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0005\\u0002\\u0001!\\u0002\\u0002\\u0002!\\u0004\\u0002\\u0001!\\u0001\\u0002\\u0006!\\u0001\\u0002\\u0001!\\u0003\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u0013\\u0002\\u0001!\\\\v\\u0002\\\\b!\\u0006\\u0002\\u0001!\\u0016\\u0002\\u0002!\\u0001\\u0002\\u0006!\\\\b\\u0002\\\\b!\\\\v\\u0002\\u0005!\\u0003\\u0002\\\\r!\\\\n\\u0002\\u0004!\\u0006\\u0002\\u0001!\\u0001\\u0002\\u000f!\\u0002\\u0002\\u0007!\\u000f\\u0002\\u0002!\\u0002\\u0002\\u0001!\\u000e\\u0002\\\\r!\\\\t\\u0002\\\\v!\\u0001\\u0002\\u0012!\\u0002\\u0002\\u0004!\\u0001\\u0002\\u0005!\\u0006\\u0002\\u0004!\\u0001\\u0002\\\\t!\\u0001\\u0002\\u0003!\\u0001\\u0002\\u0007!\\\\t\\u0002\\u0007!\\u0005\\u0002\\u0001!\\\\b\\u0002\\u0006!\\u0016\\u0002\\u0003!\\u0001\\u0002\\u0002!\\u0001\\u0002\\u0007!\\\\t\\u0002\\u0004!\\\\b\\u0002\\u0002!\\u0002\\u0002\\u0002!\\u0016\\u0002\\u0001!\\u0007\\u0002\\u0001!\\u0001\\u0002\\u0003!\\u0004\\u0002\\u0003!\\u0001\\u0002\\u0010!\\u0001\\u0002\\\\r!\\u0002\\u0002\\u0001!\\u0003\\u0002\\u0002!\\u0006\\u0002\\\\v!\\u0006\\u0002\\u0004!\\u0002\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0002\\u0002\\u000f!\\u0004\\u0002\\u0001!\\u0001\\u0002\\u0007!\\\\n\\u0002\\u0002!\\u0003\\u0002\\u0010!\\\\t\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0005\\u0002\\u0003!\\u0001\\u0002\\u0002!\\u0001\\u0002\\u0018!\\u0001\\u0002\\\\v!\\\\b\\u0002\\u0002!\\u0001\\u0002\\u0001!\\u0007\\u0002\\\\v!\\u0001\\u0002\\u0001!\\u0006\\u0002\\u0003!\\u0003\\u0002\\u0001!\\u0004\\u0002\\u0003!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0002\\u0002\\u0003!\\u0002\\u0002\\u0003!\\u0003\\u0002\\u0003!\\\\f\\u0002\\\\v!\\\\b\\u0002\\u0001!\\u0002\\u0002\\\\b!\\u0003\\u0002\\\\r!\\u0007\\u0002\\u0001!\\u0001\\u0002\\u0004!\\\\b\\u0002\\u0001!\\u0006\\u0002\\u0001!\\u0005\\u0002\\u0003!\\u0001\\u0002\\u0003!\\u0002\\u0002\\\\r!\\\\v\\u0002\\u0002!\\u0001\\u0002\\u0006!\\u0003\\u0002\\u0001!\\\\b\\u0002\\u0005!\\u0012\\u0002\\u0003!\\\\b\\u0002\\u0001!\\\\t\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0007\\u0002\\\\t!\\u0001\\u0002\\u0001!\\u0002\\u0002\\\\r!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0001\\u0002\\u0006!\\u0004\\u0002\\u0001!\\u0007\\u0002\\u0001!\\u0003\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0002\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u0002\\u0002\\\\t!\\u0001\\u0002\\u0002!\\u0005\\u0002\\u0001!\\u0001\\u0002\\\\t!\\\\n\\u0002\\u0002!\\\\b\\u0002\\\\f!\\\\b\\u0002\\u0001!\\u0014\\u0002\\\\v!\\u0005\\u0002\\u0012!\\u0007\\u0002\\u0004!\\u0004\\u0002\\u0003!\\u0001\\u0002\\u0003!\\u0002\\u0002\\u0007!\\u0003\\u0002\\u0004!\\\\r\\u0002\\\\f!\\u0001\\u0002\\u0001!\\u0006\\u0002\\u0001!\\u0001\\u0002\\u0005!\\u0001\\u0002\\u0002!\\\\v\\u0002\\u0001!\\\\r\\u0002\\u0001!\\u0004\\u0002\\u0002!\\u0007\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0004\\u0002\\u0002!\\u0001\\u0002\\u0001!\\u0004\\u0002\\u0002!\\u0007\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0004\\u0002\\u0002!\\\\b\\u0002\\\\t!\\\\r\\u0002\\u0002!\\u0006\\u0002\\u0002!\\u0001\\\\0\\u001a\\u0002\\u0003!\\u000f\\u0002\\u0001!\\u0002\\u0002\\u0007!\\u0001\\u0002\\u0004!\\u0001\\u0002\\u0003!\\u0005\\u0002\\u0002!\\u0012\\u0002\\u0001!\\u0001\\u0002\\u0005!\\u000f\\u0002\\u0001!\\u000e\\u0002\\u0002!\\u0005\\u0002\\\\v!\\\\f\\u0002\\\\v!\\u0001\\u0002\\\\r!\\u0007\\u0002\\u0007!\\u000e\\u0002\\\\r!\\\\f\\u0002\\u0003!\\u0003\\u0002\\\\t!\\u0004\\u0002\\u0001!\\u0004\\u0002\\u0003!\\u0002\\u0002\\\\t!\\\\b\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0006\\u0002\\u0001!\\u0007\\u0002\\u0001!\\u0001\\u0002\\u0003!\\u0003\\u0002\\u0001!\\u0007\\u0002\\u0003!\\u0004\\u0002\\u0002!\\u0006\\u0002\\u0004!\\\\v\\\\0\\\\r!\\u0002\\u0004\\u0005!\\u0001\\\\0\\u000f!\\u0001\\\\0\\u0002\\u0002\\u0002!\\u0006\\u0002\\u0005!\\u0001\\u0002\\u0002!\\u0001\\u0002\\u0004!\\u0001\\u0002\\u0002!\\\\n\\u0002\\u0001!\\u0001\\u0002\\u0003!\\u0005\\u0002\\u0006!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u0001\\u0002\\u0005!\\u0005\\u0002\\u0004!\\u0001\\u0002\\\\v!\\\\v\\u0002\\u0006!\\u0004\\u0002\\u0003!\\u0002\\u0002\\\\t!\\u0001\\u0002\\u0002!\\\\b\\u0002\\u0007!\\\\b\\u0002\\u0001!\\u0007\\u0002\\u0001!\\u0001\\\\0\\u0004!\\u0003\\u0002\\\\t!\\\\t\\u0002\\u0007!\\u0005\\u0002\\u0002!\\u0005\\u0002\\u0003!\\u0007\\u0002\\u0006!\\u0003\\u0002\\u0002!\\u0004\\u0002\\u0012!\\\\b\\u0002\\u0007!\\\\t\\u0002\\u0002!\\u0017\\u0002\\u0002!\\u0007\\u0002\\u0001!\\u0003\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u0004\\u0002\\u0002!\\u0006\\u0002\\u0003!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0005\\u0002\\u0001!\\\\r\\u0002\\u0001!\\\\b\\u0002\\u0004!\\u0007\\u0002\\u0003!\\u0001\\u0002\\u0003!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0003!\\u0002\\u0002\\u0002!\\u0005\\u0002\\u0002!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0018!\\u0003\\u0002\\u0003!\\u0006\\u0002\\u0002!\\u0006\\u0002\\u0002!\\u0006\\u0002\\\\t!\\u0007\\u0002\\u0004!\\u0005\\u0002\\u0003!\\u0005\\u0002\\u0005!\\u0001\\u0002\\u0001!\\\\b\\u0002\\u0001!\\u0005\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0002\\u0002\\u0001!\\\\n\\u0002\\u0002!\\u0006\\u0002\\u0002!\\u0006\\u0002\\u0002!\\u0006\\u0002\\u0002!\\u0003\\u0002\\u0003!\\\\f\\u0002\\u0001!\\u000e\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0001\\u0002\\\\n!\\u0002\\u0002\\u0004!\\u0004\\u0002\\u0004!\\\\b\\u0002\\u0001!\\u0005\\u0002\\\\n!\\u0006\\u0002\\u0002!\\u0001\\u0002\\u0001!\\\\f\\u0002\\u0001!\\u0002\\u0002\\u0003!\\u0001\\u0002\\u0002!\\u0007\\u0002\\u0002!\\u000f\\u0002\\u0002!\\\\n\\u0002\\u0001!\\u0002\\u0002\\u0005!\\\\r\\u0002\\u0004!\\\\b\\u0002\\u0001!\\u0003\\u0002\\u0001!\\\\f\\u0002\\u0006!\\\\b\\u0002\\u0005!\\\\v\\u0002\\u0007!\\\\t\\u0002\\u0003!\\u0001\\u0002\\\\n!\\u0004\\u0002\\\\v!\\\\v\\u0002\\u0001!\\u0001\\u0002\\u0003!\\u0007\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u000f\\u0002\\u0001!\\u0002\\u0002\\\\f!\\u0003\\u0002\\u0007!\\u0004\\u0002\\\\t!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0010!\\u0004\\u0002\\\\b!\\u0001\\u0002\\\\v!\\u0003\\u0002\\\\f!\\\\v\\u0002\\u0001!\\\\r\\u0002\\u0005!\\u0003\\u0002\\u0002!\\u0001\\u0002\\u0002!\\u0002\\u0002\\u0002!\\u0004\\u0002\\u0001!\\\\f\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0007\\u0002\\u0001!\\u0011\\u0002\\u0001!\\u0004\\u0002\\u0002!\\\\b\\u0002\\u0001!\\u0007\\u0002\\u0001!\\\\f\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u0005\\u0002\\u0001!\\u0001\\u0002\\u0003!\\\\t\\u0002\\u0001!\\\\b\\u0002\\u0002!\\u0002\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0001\\u0002\\u0001!\\\\n\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0006!\\u0001\\u0002\\u0004!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0003\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0001\\u0002\\u0001!\\u0002\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0004\\u0002\\u0001!\\u0007\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u0004\\u0002\\u0001!\\u0001\\u0002\\u0002!\\u0003\\u0002\\u0001!\\u0005\\u0002\\u0001!\\u0005\\u0002\\\"),this.j56_1=\\\"\\u0006\\\\0\\u0003\\u0001\\u0001\\u0002\\u0002\\u0003\\u0001\\u0004\\u0001\\u0005\\u0001\\u0006\\u0001\\u0003\\u0001\\u0006\\u0001\\u0007\\u0001\\\\b\\u0001\\\\t\\u0001\\\\n\\u0003\\u0003\\u0001\\\\v\\u0002\\\\f\\u0001\\u0001\\u0002\\\\f\\\\t\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\\\r\\u0001\\u000e\\u0001\\u000f\\u0005\\\\0\\u0004\\u0003\\\\r\\\\0\\u0001\\u0001\\u0003\\u0003\\u0001\\u000e\\\\n\\\\0\\u0001\\u0010\\u0003\\\\0\\u0004\\u0003\\u0003\\\\0\\u0001\\u0001\\u0004\\u0003\\\\v\\\\0\\u0001\\u0003\\u0004\\\\0\\u0004\\u0003\\u0002\\\\0\\u0001\\u0011\\u0003\\\\0\\u0001\\u0010\\u0005\\\\0\\u0001\\u0011\\u0002\\\\0\\u0001\\u0012\\u0001\\\\0\\u0001\\u0013\\u0004\\\\0\\u0001\\u0003\\\\r\\\\0\\u0001\\u0013\\u0002\\\\0\\u0001\\u0013\\u0005\\\\0\\u0001\\u0014\\u0004\\\\0\\u0001\\u0011\\u0006\\\\0\\u0001\\u0013\\u0001\\\\0\\u0001\\u0013\\u0005\\\\0\\u0001\\u0014\\u0002\\\\0\\u0001\\u0014\\\\v\\\\0\\u0001\\u0014\\u0001\\\\0\\u0001\\u0014\\\\t\\\\0\\u0001\\u0010\\u0002\\\\0\\u0001\\u0010<\\\\0\\u0001\\u0010ŭ\\\\0\\\",this.k56_1=(e=new Int32Array(642),function(t,e,n,r){for(var i=0,o=n,a=e.length;i<a;){var s=i;i=s+1|0;var l=Ft(ct(e,s)),u=i;i=u+1|0;var c=Ft(ct(e,u));do{var h=o;o=h+1|0,r[h]=c,l=l-1|0}while(l>0)}return o}(0,\\\"\\u0006\\\\0\\u0003\\u0001\\u0001\\u0002\\u0002\\u0003\\u0001\\u0004\\u0001\\u0005\\u0001\\u0006\\u0001\\u0003\\u0001\\u0006\\u0001\\u0007\\u0001\\\\b\\u0001\\\\t\\u0001\\\\n\\u0003\\u0003\\u0001\\\\v\\u0002\\\\f\\u0001\\u0001\\u0002\\\\f\\\\t\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\\\r\\u0001\\u000e\\u0001\\u000f\\u0005\\\\0\\u0004\\u0003\\\\r\\\\0\\u0001\\u0001\\u0003\\u0003\\u0001\\u000e\\\\n\\\\0\\u0001\\u0010\\u0003\\\\0\\u0004\\u0003\\u0003\\\\0\\u0001\\u0001\\u0004\\u0003\\\\v\\\\0\\u0001\\u0003\\u0004\\\\0\\u0004\\u0003\\u0002\\\\0\\u0001\\u0011\\u0003\\\\0\\u0001\\u0010\\u0005\\\\0\\u0001\\u0011\\u0002\\\\0\\u0001\\u0012\\u0001\\\\0\\u0001\\u0013\\u0004\\\\0\\u0001\\u0003\\\\r\\\\0\\u0001\\u0013\\u0002\\\\0\\u0001\\u0013\\u0005\\\\0\\u0001\\u0014\\u0004\\\\0\\u0001\\u0011\\u0006\\\\0\\u0001\\u0013\\u0001\\\\0\\u0001\\u0013\\u0005\\\\0\\u0001\\u0014\\u0002\\\\0\\u0001\\u0014\\\\v\\\\0\\u0001\\u0014\\u0001\\\\0\\u0001\\u0014\\\\t\\\\0\\u0001\\u0010\\u0002\\\\0\\u0001\\u0010<\\\\0\\u0001\\u0010ŭ\\\\0\\\",0,e),e),this.l56_1=\\\"\\\\0\\\\0\\\\x000\\\\0`\\\\0\\\\0À\\\\0ð\\\\0Ġ\\\\0Ő\\\\0ƀ\\\\0Ġ\\\\0Ġ\\\\0ư\\\\0Ǡ\\\\0Ȑ\\\\0Ġ\\\\0ɀ\\\\0ɰ\\\\0Ġ\\\\0Ġ\\\\0Ġ\\\\0ʠ\\\\0ː\\\\0̀\\\\0̰\\\\0Ġ\\\\0Ġ\\\\0͠\\\\0͠\\\\0ΐ\\\\0ɰ\\\\0π\\\\0ϰ\\\\0Р\\\\0ѐ\\\\0Ҁ\\\\0Ұ\\\\0Ӡ\\\\0Ԑ\\\\0Հ\\\\0Հ\\\\0հ\\\\0֠\\\\0א\\\\0Ġ\\\\0؀\\\\0Ġ\\\\0ذ\\\\0٠\\\\0ڐ\\\\0ۀ\\\\0۰\\\\0ܠ\\\\0ݐ\\\\0ހ\\\\0ް\\\\0ߠ\\\\0͠\\\\0ࠐ\\\\0ࡀ\\\\0ࡰ\\\\0ࢠ\\\\0࣐\\\\0ऀ\\\\0र\\\\0ॠ\\\\0ঐ\\\\0ী\\\\0ৰ\\\\0ਠ\\\\0ਠ\\\\0੐\\\\0઀\\\\0ર\\\\0א\\\\0ૠ\\\\0ଐ\\\\0ୀ\\\\0୰\\\\0஠\\\\0ௐ\\\\0ఀ\\\\0ర\\\\0ౠ\\\\0ಐ\\\\0Ġ\\\\0ೀ\\\\0೰\\\\0\\\\0൐\\\\0඀\\\\0ධ\\\\0෠\\\\0ฐ\\\\0เ\\\\0๰\\\\0๰\\\\0ຠ\\\\0\\\\0ༀ\\\\0༰\\\\0འ\\\\0ྐ\\\\0࿀\\\\0࿰\\\\0ဠ\\\\0ၐ\\\\0ႀ\\\\0Ⴐ\\\\0რ\\\\0ᄐ\\\\0ᅀ\\\\0ᅰ\\\\0ᆠ\\\\0ᇐ\\\\0\\\\0ሰ\\\\0በ\\\\0ነ\\\\0ዀ\\\\0ደ\\\\0ጠ\\\\0ፐ\\\\0Ġ\\\\0ᎀ\\\\0Ꮀ\\\\0Ꮰ\\\\0ᎀ\\\\0ᐐ\\\\0ᑀ\\\\0ᑰ\\\\0ᒠ\\\\0ᓐ\\\\0஠\\\\0ᔀ\\\\0ᔰ\\\\0Ġ\\\\0ᕠ\\\\0ᖐ\\\\0ᗀ\\\\0\\\\0ᘠ\\\\0ᙐ\\\\0\\\\0ᚰ\\\\0ᛠ\\\\0ᜐ\\\\0ᝀ\\\\0ᝰ\\\\0ហ\\\\0័\\\\0᠀\\\\0ᠰ\\\\0ᡠ\\\\0ᢐ\\\\0ᣀ\\\\0ᣰ\\\\0ᤠ\\\\0ᥐ\\\\0ᦀ\\\\0ᦰ\\\\0᧠\\\\0ᨐ\\\\0ᩀ\\\\0ᩰ\\\\0᪠\\\\0᫐\\\\0ᬀ\\\\0ᬰ\\\\0᭠\\\\0ᮐ\\\\0ᎀ\\\\0ᯀ\\\\0ᯰ\\\\0ᰠ\\\\0᱐\\\\0ᲀ\\\\0Ჰ\\\\0᳠\\\\0ᴐ\\\\0ᵀ\\\\0ᵰ\\\\0ᶠ\\\\0᷐\\\\0Ḁ\\\\0Ḱ\\\\0Ṡ\\\\0Ẑ\\\\0Ề\\\\0Ự\\\\0ἠ\\\\0ὐ\\\\0ᾀ\\\\0ᾰ\\\\0ῠ\\\\0\\\\0⁀\\\\0⁰\\\\0₠\\\\0⃐\\\\0℀\\\\0\\\\0\\\\0←\\\\0⇀\\\\0⇰\\\\0∠\\\\0≐\\\\0⊀\\\\0⊰\\\\0⋠\\\\0⌐\\\\0⍀\\\\0ᣀ\\\\0⍰\\\\0⎠\\\\0ᣰ\\\\0⏐\\\\0␀\\\\0␰\\\\0①\\\\0⒐\\\\0Ⓚ\\\\0⓰\\\\0┠\\\\0═\\\\0▀\\\\0▰\\\\0◠\\\\0☐\\\\0♀\\\\0♰\\\\0⚠\\\\0⛐\\\\0✀\\\\0✰\\\\0❠\\\\0➐\\\\0⟀\\\\0⟰\\\\0⠠\\\\0⡐\\\\0⢀\\\\0⢰\\\\0⣠\\\\0⤐\\\\0⥀\\\\0⥰\\\\0⦠\\\\0⧐\\\\0⨀\\\\0⨰\\\\0⩠\\\\0⪐\\\\0⫀\\\\0⫰\\\\0⬠\\\\0⭐\\\\0⮀\\\\0⮰\\\\0⯠\\\\0Ⱀ\\\\0ⱀ\\\\0Ɒ\\\\0Ⲡ\\\\0\\\\0ⴀ\\\\0ⴰ\\\\0ⵠ\\\\0ⶐ\\\\0ⷀ\\\\0ⷰ\\\\0⸠\\\\0⹐\\\\0⺀\\\\0⺰\\\\0⻠\\\\0⨀\\\\0⼐\\\\0⽀\\\\0⽰\\\\0⾠\\\\0⿐\\\\0 \\\\0〰\\\\0だ\\\\0ゐ\\\\0ダ\\\\0ヰ\\\\0ㄠ\\\\0ㅐ\\\\0ㆀ\\\\0ㆰ\\\\0㇠\\\\0㈐\\\\0㉀\\\\0㉰\\\\0㊠\\\\0㋐\\\\0㌀\\\\0㌰\\\\0㍠\\\\0㎐\\\\0㏀\\\\0㏰\\\\0㐠\\\\0㑐\\\\0㒀\\\\0㒰\\\\0㓠\\\\0㔐\\\\0㕀\\\\0㕰\\\\0㖠\\\\0㗐\\\\0㘀\\\\0㘰\\\\0㙠\\\\0㚐\\\\0㛀\\\\0㛰\\\\0㜠\\\\0㝐\\\\0㞀\\\\0㞰\\\\0㟠\\\\0㠐\\\\0㡀\\\\0㡰\\\\0㢠\\\\0㣐\\\\0㤀\\\\0㤰\\\\0㥠\\\\0㦐\\\\0㧀\\\\0㧰\\\\0㨠\\\\0㩐\\\\0㪀\\\\0㪰\\\\0㫠\\\\0㬐\\\\0㭀\\\\0㭰\\\\0㮠\\\\0㯐\\\\0㰀\\\\0㰰\\\\0㱠\\\\0㲐\\\\0㳀\\\\0㳰\\\\0㴠\\\\0㵐\\\\0㶀\\\\0㶰\\\\0㷠\\\\0㸐\\\\0㹀\\\\0㹰\\\\0㺠\\\\0㻐\\\\0㼀\\\\0㼰\\\\0㽠\\\\0㾐\\\\0㿀\\\\0㿰\\\\0䀠\\\\0䁐\\\\0䂀\\\\0䂰\\\\0䃠\\\\0䄐\\\\0䅀\\\\0䅰\\\\0䆠\\\\0䇐\\\\0䈀\\\\0䈰\\\\0䉠\\\\0䊐\\\\0䋀\\\\0䋰\\\\0䌠\\\\0䍐\\\\0䎀\\\\0䎰\\\\0䏠\\\\0䐐\\\\0䑀\\\\0䑰\\\\0䒠\\\\0䓐\\\\0䔀\\\\0䔰\\\\0䕠\\\\0䖐\\\\0䗀\\\\0䗰\\\\0䘠\\\\0䙐\\\\0䚀\\\\0䚰\\\\0䛠\\\\0䜐\\\\0䝀\\\\0䝰\\\\0䞠\\\\0䟐\\\\0䠀\\\\0䠰\\\\0䡠\\\\0䢐\\\\0䣀\\\\0䣰\\\\0䤠\\\\0䥐\\\\0䦀\\\\0䦰\\\\0䧠\\\\0䨐\\\\0䩀\\\\0䩰\\\\0䪠\\\\0䫐\\\\0䬀\\\\0䬰\\\\0䭠\\\\0䮐\\\\0䯀\\\\0䯰\\\\0䰠\\\\0䱐\\\\0䲀\\\\0䲰\\\\0䳠\\\\0䴐\\\\0䵀\\\\0䵰\\\\0䶠\\\\0䷐\\\\0一\\\\0丰\\\\0习\\\\0亐\\\\0什\\\\0仰\\\\0传\\\\0佐\\\\0侀\\\\0侰\\\\0俠\\\\0倐\\\\0偀\\\\0偰\\\\0傠\\\\0僐\\\\0儀\\\\0儰\\\\0兠\\\\0冐\\\\0净\\\\0凰\\\\0删\\\\0剐\\\\0劀\\\\0劰\\\\0勠\\\\0匐\\\\0區\\\\0印\\\\0厠\\\\0叐\\\\0吀\\\\0吰\\\\0呠\\\\0咐\\\\0哀\\\\0哰\\\\0唠\\\\0啐\\\\0喀\\\\0喰\\\\0嗠\\\\0嘐\\\\0噀\\\\0噰\\\\0嚠\\\\0囐\\\\0圀\\\\0地\\\\0坠\\\\0垐\\\\0埀\\\\0埰\\\\0堠\\\\0塐\\\\0墀\\\\0墰\\\\0壠\\\\0夐\\\\0奀\\\\0奰\\\\0妠\\\\0姐\\\\0娀\\\\0娰\\\\0婠\\\\0媐\\\\0嫀\\\\0嫰\\\\0嬠\\\\0子\\\\0宀\\\\0宰\\\\0寠\\\\0尐\\\\0局\\\\0屰\\\\0岠\\\\0峐\\\\0崀\\\\0崰\\\\0嵠\\\\0嶐\\\\0巀\\\\0巰\\\\0帠\\\\0幐\\\\0庀\\\\0庰\\\\0廠\\\\0弐\\\\0彀\\\\0彰\\\\0徠\\\\0忐\\\\0怀\\\\0怰\\\\0恠\\\\0悐\\\\0惀\\\\0惰\\\\0愠\\\\0慐\\\\0憀\\\\0憰\\\\0懠\\\\0成\\\\0所\\\\0扰\\\\0抠\\\\0拐\\\\0挀\\\\0挰\\\\0捠\\\\0掐\\\\0揀\\\\0揰\\\\0搠\\\\0摐\\\\0撀\\\\0撰\\\\0擠\\\\0攐\\\\0敀\\\\0数\\\\0斠\\\\0旐\\\\0昀\\\\0昰\\\\0晠\\\\0暐\\\\0曀\\\\0曰\\\\0朠\\\\0材\\\\0枀\\\\0枰\\\\0柠\\\\0栐\\\\0桀\\\\0桰\\\\0梠\\\\0棐\\\\0椀\\\\0椰\\\\0楠\\\\0榐\\\\0槀\\\\0槰\\\\0樠\\\\0橐\\\\0檀\\\\0檰\\\\0櫠\\\\0欐\\\\0歀\\\\0歰\\\\0殠\\\\0毐\\\\0氀\\\\0氰\\\\0池\\\\0沐\\\\0泀\\\\0泰\\\\0洠\\\\0浐\\\\0涀\\\\0涰\\\\0淠\\\\0渐\\\\0湀\\\\0湰\\\\0溠\\\\0滐\\\\0漀\\\\0漰\\\\0潠\\\\0澐\\\\0激\\\\0濰\\\\0瀠\\\\0灐\\\\0炀\\\\0炰\\\\0烠\\\\0焐\\\\0煀\\\\0煰\\\\0熠\\\\0燐\\\\0爀\\\\0爰\\\\0牠\\\\0犐\\\\0狀\\\\0狰\\\\0猠\\\\0獐\\\",this.m56_1=function(t){var e=new Int32Array(642),n=0;return n=function(t,e,n,r){for(var i=0,o=n,a=e.length;i<a;){var s=i;i=s+1|0;var l=Ft(ct(e,s))<<16,u=o;o=u+1|0;var c=i;i=c+1|0,r[u]=l|Ft(ct(e,c))}return o}(0,\\\"\\\\0\\\\0\\\\x000\\\\0`\\\\0\\\\0À\\\\0ð\\\\0Ġ\\\\0Ő\\\\0ƀ\\\\0Ġ\\\\0Ġ\\\\0ư\\\\0Ǡ\\\\0Ȑ\\\\0Ġ\\\\0ɀ\\\\0ɰ\\\\0Ġ\\\\0Ġ\\\\0Ġ\\\\0ʠ\\\\0ː\\\\0̀\\\\0̰\\\\0Ġ\\\\0Ġ\\\\0͠\\\\0͠\\\\0ΐ\\\\0ɰ\\\\0π\\\\0ϰ\\\\0Р\\\\0ѐ\\\\0Ҁ\\\\0Ұ\\\\0Ӡ\\\\0Ԑ\\\\0Հ\\\\0Հ\\\\0հ\\\\0֠\\\\0א\\\\0Ġ\\\\0؀\\\\0Ġ\\\\0ذ\\\\0٠\\\\0ڐ\\\\0ۀ\\\\0۰\\\\0ܠ\\\\0ݐ\\\\0ހ\\\\0ް\\\\0ߠ\\\\0͠\\\\0ࠐ\\\\0ࡀ\\\\0ࡰ\\\\0ࢠ\\\\0࣐\\\\0ऀ\\\\0र\\\\0ॠ\\\\0ঐ\\\\0ী\\\\0ৰ\\\\0ਠ\\\\0ਠ\\\\0੐\\\\0઀\\\\0ર\\\\0א\\\\0ૠ\\\\0ଐ\\\\0ୀ\\\\0୰\\\\0஠\\\\0ௐ\\\\0ఀ\\\\0ర\\\\0ౠ\\\\0ಐ\\\\0Ġ\\\\0ೀ\\\\0೰\\\\0\\\\0൐\\\\0඀\\\\0ධ\\\\0෠\\\\0ฐ\\\\0เ\\\\0๰\\\\0๰\\\\0ຠ\\\\0\\\\0ༀ\\\\0༰\\\\0འ\\\\0ྐ\\\\0࿀\\\\0࿰\\\\0ဠ\\\\0ၐ\\\\0ႀ\\\\0Ⴐ\\\\0რ\\\\0ᄐ\\\\0ᅀ\\\\0ᅰ\\\\0ᆠ\\\\0ᇐ\\\\0\\\\0ሰ\\\\0በ\\\\0ነ\\\\0ዀ\\\\0ደ\\\\0ጠ\\\\0ፐ\\\\0Ġ\\\\0ᎀ\\\\0Ꮀ\\\\0Ꮰ\\\\0ᎀ\\\\0ᐐ\\\\0ᑀ\\\\0ᑰ\\\\0ᒠ\\\\0ᓐ\\\\0஠\\\\0ᔀ\\\\0ᔰ\\\\0Ġ\\\\0ᕠ\\\\0ᖐ\\\\0ᗀ\\\\0\\\\0ᘠ\\\\0ᙐ\\\\0\\\\0ᚰ\\\\0ᛠ\\\\0ᜐ\\\\0ᝀ\\\\0ᝰ\\\\0ហ\\\\0័\\\\0᠀\\\\0ᠰ\\\\0ᡠ\\\\0ᢐ\\\\0ᣀ\\\\0ᣰ\\\\0ᤠ\\\\0ᥐ\\\\0ᦀ\\\\0ᦰ\\\\0᧠\\\\0ᨐ\\\\0ᩀ\\\\0ᩰ\\\\0᪠\\\\0᫐\\\\0ᬀ\\\\0ᬰ\\\\0᭠\\\\0ᮐ\\\\0ᎀ\\\\0ᯀ\\\\0ᯰ\\\\0ᰠ\\\\0᱐\\\\0ᲀ\\\\0Ჰ\\\\0᳠\\\\0ᴐ\\\\0ᵀ\\\\0ᵰ\\\\0ᶠ\\\\0᷐\\\\0Ḁ\\\\0Ḱ\\\\0Ṡ\\\\0Ẑ\\\\0Ề\\\\0Ự\\\\0ἠ\\\\0ὐ\\\\0ᾀ\\\\0ᾰ\\\\0ῠ\\\\0\\\\0⁀\\\\0⁰\\\\0₠\\\\0⃐\\\\0℀\\\\0\\\\0\\\\0←\\\\0⇀\\\\0⇰\\\\0∠\\\\0≐\\\\0⊀\\\\0⊰\\\\0⋠\\\\0⌐\\\\0⍀\\\\0ᣀ\\\\0⍰\\\\0⎠\\\\0ᣰ\\\\0⏐\\\\0␀\\\\0␰\\\\0①\\\\0⒐\\\\0Ⓚ\\\\0⓰\\\\0┠\\\\0═\\\\0▀\\\\0▰\\\\0◠\\\\0☐\\\\0♀\\\\0♰\\\\0⚠\\\\0⛐\\\\0✀\\\\0✰\\\\0❠\\\\0➐\\\\0⟀\\\\0⟰\\\\0⠠\\\\0⡐\\\\0⢀\\\\0⢰\\\\0⣠\\\\0⤐\\\\0⥀\\\\0⥰\\\\0⦠\\\\0⧐\\\\0⨀\\\\0⨰\\\\0⩠\\\\0⪐\\\\0⫀\\\\0⫰\\\\0⬠\\\\0⭐\\\\0⮀\\\\0⮰\\\\0⯠\\\\0Ⱀ\\\\0ⱀ\\\\0Ɒ\\\\0Ⲡ\\\\0\\\\0ⴀ\\\\0ⴰ\\\\0ⵠ\\\\0ⶐ\\\\0ⷀ\\\\0ⷰ\\\\0⸠\\\\0⹐\\\\0⺀\\\\0⺰\\\\0⻠\\\\0⨀\\\\0⼐\\\\0⽀\\\\0⽰\\\\0⾠\\\\0⿐\\\\0 \\\\0〰\\\\0だ\\\\0ゐ\\\\0ダ\\\\0ヰ\\\\0ㄠ\\\\0ㅐ\\\\0ㆀ\\\\0ㆰ\\\\0㇠\\\\0㈐\\\\0㉀\\\\0㉰\\\\0㊠\\\\0㋐\\\\0㌀\\\\0㌰\\\\0㍠\\\\0㎐\\\\0㏀\\\\0㏰\\\\0㐠\\\\0㑐\\\\0㒀\\\\0㒰\\\\0㓠\\\\0㔐\\\\0㕀\\\\0㕰\\\\0㖠\\\\0㗐\\\\0㘀\\\\0㘰\\\\0㙠\\\\0㚐\\\\0㛀\\\\0㛰\\\\0㜠\\\\0㝐\\\\0㞀\\\\0㞰\\\\0㟠\\\\0㠐\\\\0㡀\\\\0㡰\\\\0㢠\\\\0㣐\\\\0㤀\\\\0㤰\\\\0㥠\\\\0㦐\\\\0㧀\\\\0㧰\\\\0㨠\\\\0㩐\\\\0㪀\\\\0㪰\\\\0㫠\\\\0㬐\\\\0㭀\\\\0㭰\\\\0㮠\\\\0㯐\\\\0㰀\\\\0㰰\\\\0㱠\\\\0㲐\\\\0㳀\\\\0㳰\\\\0㴠\\\\0㵐\\\\0㶀\\\\0㶰\\\\0㷠\\\\0㸐\\\\0㹀\\\\0㹰\\\\0㺠\\\\0㻐\\\\0㼀\\\\0㼰\\\\0㽠\\\\0㾐\\\\0㿀\\\\0㿰\\\\0䀠\\\\0䁐\\\\0䂀\\\\0䂰\\\\0䃠\\\\0䄐\\\\0䅀\\\\0䅰\\\\0䆠\\\\0䇐\\\\0䈀\\\\0䈰\\\\0䉠\\\\0䊐\\\\0䋀\\\\0䋰\\\\0䌠\\\\0䍐\\\\0䎀\\\\0䎰\\\\0䏠\\\\0䐐\\\\0䑀\\\\0䑰\\\\0䒠\\\\0䓐\\\\0䔀\\\\0䔰\\\\0䕠\\\\0䖐\\\\0䗀\\\\0䗰\\\\0䘠\\\\0䙐\\\\0䚀\\\\0䚰\\\\0䛠\\\\0䜐\\\\0䝀\\\\0䝰\\\\0䞠\\\\0䟐\\\\0䠀\\\\0䠰\\\\0䡠\\\\0䢐\\\\0䣀\\\\0䣰\\\\0䤠\\\\0䥐\\\\0䦀\\\\0䦰\\\\0䧠\\\\0䨐\\\\0䩀\\\\0䩰\\\\0䪠\\\\0䫐\\\\0䬀\\\\0䬰\\\\0䭠\\\\0䮐\\\\0䯀\\\\0䯰\\\\0䰠\\\\0䱐\\\\0䲀\\\\0䲰\\\\0䳠\\\\0䴐\\\\0䵀\\\\0䵰\\\\0䶠\\\\0䷐\\\\0一\\\\0丰\\\\0习\\\\0亐\\\\0什\\\\0仰\\\\0传\\\\0佐\\\\0侀\\\\0侰\\\\0俠\\\\0倐\\\\0偀\\\\0偰\\\\0傠\\\\0僐\\\\0儀\\\\0儰\\\\0兠\\\\0冐\\\\0净\\\\0凰\\\\0删\\\\0剐\\\\0劀\\\\0劰\\\\0勠\\\\0匐\\\\0區\\\\0印\\\\0厠\\\\0叐\\\\0吀\\\\0吰\\\\0呠\\\\0咐\\\\0哀\\\\0哰\\\\0唠\\\\0啐\\\\0喀\\\\0喰\\\\0嗠\\\\0嘐\\\\0噀\\\\0噰\\\\0嚠\\\\0囐\\\\0圀\\\\0地\\\\0坠\\\\0垐\\\\0埀\\\\0埰\\\\0堠\\\\0塐\\\\0墀\\\\0墰\\\\0壠\\\\0夐\\\\0奀\\\\0奰\\\\0妠\\\\0姐\\\\0娀\\\\0娰\\\\0婠\\\\0媐\\\\0嫀\\\\0嫰\\\\0嬠\\\\0子\\\\0宀\\\\0宰\\\\0寠\\\\0尐\\\\0局\\\\0屰\\\\0岠\\\\0峐\\\\0崀\\\\0崰\\\\0嵠\\\\0嶐\\\\0巀\\\\0巰\\\\0帠\\\\0幐\\\\0庀\\\\0庰\\\\0廠\\\\0弐\\\\0彀\\\\0彰\\\\0徠\\\\0忐\\\\0怀\\\\0怰\\\\0恠\\\\0悐\\\\0惀\\\\0惰\\\\0愠\\\\0慐\\\\0憀\\\\0憰\\\\0懠\\\\0成\\\\0所\\\\0扰\\\\0抠\\\\0拐\\\\0挀\\\\0挰\\\\0捠\\\\0掐\\\\0揀\\\\0揰\\\\0搠\\\\0摐\\\\0撀\\\\0撰\\\\0擠\\\\0攐\\\\0敀\\\\0数\\\\0斠\\\\0旐\\\\0昀\\\\0昰\\\\0晠\\\\0暐\\\\0曀\\\\0曰\\\\0朠\\\\0材\\\\0枀\\\\0枰\\\\0柠\\\\0栐\\\\0桀\\\\0桰\\\\0梠\\\\0棐\\\\0椀\\\\0椰\\\\0楠\\\\0榐\\\\0槀\\\\0槰\\\\0樠\\\\0橐\\\\0檀\\\\0檰\\\\0櫠\\\\0欐\\\\0歀\\\\0歰\\\\0殠\\\\0毐\\\\0氀\\\\0氰\\\\0池\\\\0沐\\\\0泀\\\\0泰\\\\0洠\\\\0浐\\\\0涀\\\\0涰\\\\0淠\\\\0渐\\\\0湀\\\\0湰\\\\0溠\\\\0滐\\\\0漀\\\\0漰\\\\0潠\\\\0澐\\\\0激\\\\0濰\\\\0瀠\\\\0灐\\\\0炀\\\\0炰\\\\0烠\\\\0焐\\\\0煀\\\\0煰\\\\0熠\\\\0燐\\\\0爀\\\\0爰\\\\0牠\\\\0犐\\\\0狀\\\\0狰\\\\0猠\\\\0獐\\\",n,e),e}(),this.n56_1='\\u0003\\u0007\\u0001\\\\b\\u0001\\u0007\\u0001\\\\b\\u0001\\u0007\\u0001\\\\t\\u0006\\u0007\\u0001\\\\n!\\u00071\\\\v\\u0002\\\\f\\u0001\\\\r\\u0001\\u000e\\u0001\\\\r\\u0002\\u000e\\u0001\\u000f\\u0001\\u0010\\u0001\\u000f\\u0001\\u0011\\u0001\\u0012\\u0001\\\\v\\u0001\\u000f\\u0001\\\\v\\u0001\\\\f\\u0001\\u000f\\u0004\\\\f\\u0001\\u000f\\u0001\\\\f\\u0001\\u0013\\u0001\\u0014\\u0001\\u0015\\u0005\\\\v\\u0001\\u000f\\u0001\\\\v\\u0001\\u000f\\u0001\\u0016\\u0003\\\\f\\u0001\\u0017\\u0003\\\\f\\u0001\\u0018\\u0002\\\\v\\u0001\\u0014\\u0001\\u0019\\u0003\\u001a\\u0001\\u001b\\u0001\\u0007\\u0001\\u001c\\u0001\\u0007\\u0001\\\\t\\u0001\\u001a\\u0001\\u001d\\u0001\\u001a\\u0001\\u001e\\\\r\\u001a\\u0001\\u0014\\u0001\\u0015\\u0013\\u001a\\u0001\\u0014\\u0001\\u0019\\u0001\\\\0\\u0002\\u001f\\\\r\\\\0\\u0001\\u001f\\u0001\\\\0\\u0004\\u001f\\u0001\\\\0\\u0001\\u001f\\\\v\\\\0\\\\t\\u001f\\u0004\\\\0\\u0001 \\u0001!\\u0001\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001 \\u0001\\\"\\u0004#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#3\\\\0\\u0001\\\\'\\u0001\\u0007\\u0001(\\u0001\\u0007\\u0001\\\\t\\u0006\\\\0\\u0001\\\\n\\\\'\\\\0\\u0001\\u0007*\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\t\\\\f\\u0007\\\\0\\u0001\\\\r\\u0001\\u000e\\u0001\\\\r\\u0002\\u000e\\u0011\\\\0\\u0001+\\u0014\\\\0\\u0001+\\u0004\\\\0\\u0005\\u000e,\\\\0\\u0003,\\u0001-\\u0007.\\u0002\\\\0\\u0001.\\u0004\\\\0\\u0001.\\u0001\\\\0\\u0002.\\u0001/\\u0001\\\\0\\u0001.\\u0001\\\\0\\u0003.\\u0001\\\\0\\u0001.\\\\t\\\\0\\u0004.\\u0001\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00011\\u00010\\u0001\\\\0\\u00012\\u00013\\u0001\\\\0\\u00043\\u0001\\\\0\\u00013\\u0001\\\\0\\u00030\\u00014\\u00010\\u0001\\\\0\\u00010\\u0003\\\\0\\\\t3\\u00010\\u0001\\\\0\\u00020\\u001a\\\\0\\u0001\\u0015\\u0016\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u00015\\u0007\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u00016\\u0003\\\\f\\u00017\\u0003\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\b\\\\f\\u00018\\u0007\\\\0\\u00019\\u0001\\\\0\\u00019\\u0013\\\\0\\u0001+\\u0014\\\\0\\u0001+\\\\t\\\\0\\u0007.\\u0002\\\\0\\u0001.\\u0004\\\\0\\u0001.\\u0001\\\\0\\u0002.\\u0001/\\u0001\\\\0\\u0001.\\u0001\\\\0\\u0003.\\u0001\\\\0\\u0001.\\\\t\\\\0\\u0004.\\u0001\\\\0\\u0002\\u001f\\u0001:\\u0001\\\\0\\u0001:\\\\n\\\\0\\u0001\\u001f\\u0001\\\\0\\u0004\\u001f\\u0001\\\\0\\u0001\\u001f\\u0001\\\\0\\u0001;\\\\t\\\\0\\\\t\\u001f\\u001a\\\\0\\u0001$\\u0019\\\\0\\u0001 \\u0001!\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001>\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0001\\\"\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\r#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\u0004#\\u0001 \\u0005#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\r#\\u0001 \\u0001!\\u0001\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0004#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001A\\u0002B\\u0005A\\\\tB\\u0001C\\u0004B\\u0001D\\\\tB\\u0001A\\u0001B\\u0001$\\\\rB\\u0003\\\\0\\u0001E\\u0001\\u0007\\u0001F\\u0001\\u0007\\u0001\\\\t\\u0006\\\\0\\u0001\\\\n\\\"\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\\\v\\\\0\\u0001G\\u0003\\\\f\\u0001H\\u0003\\\\f\\u0001I\\u0005\\\\0\\u0002\\\\f\\\\r\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\t\\\\f\\u0007\\\\0\\u0001J\\u0001\\\\0\\u0001J0\\\\0\\u0001,C\\\\0\\u0001/\\u0016\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u00020\\u0001\\\\0\\u00040\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00010\\u0001L\\u0001\\\\0\\u00010\\u0001M\\u0001N\\u0004M\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0001O\\u00012\\\\bO\\u00012\\u0001O\\u00022\\u0001O\\u0001P\\u00012\\u0001O\\u00042\\u0001O\\u00012\\u0001O\\u00052\\u0001Q\\u00012\\u0003O\\\\n2\\u0001O\\u00022\\u0001\\\\0\\u0001R\\u0001S\\u0001T\\u0001\\\\0\\u0001T\\u0004\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001U\\u00010\\u00013\\u0001\\\\0\\u00043\\u0001\\\\0\\u00013\\u0001V\\u00030\\u0001W\\u00010\\u0001K\\u00010\\u0003\\\\0\\\\t3\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\u0001X\\u0001\\\\0\\u0004X\\u0001\\\\0\\u0001X\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\tX\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u0001Y\\u0007\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0002\\\\f\\u0001Z\\u0006\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0006\\\\f\\u0001[\\u0002\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\b\\\\f\\u0001\\\\\\\\\\u0005\\\\0\\u0002\\u001f\\u0001:\\u0001\\\\0\\u0001:\\\\n\\\\0\\u0001\\u001f\\u0001\\\\0\\u0004\\u001f\\u0001\\\\0\\u0001\\u001f\\\\v\\\\0\\\\t\\u001f\\u0005\\\\0\\u0002\\u001f\\\\r\\\\0\\u0001\\u001f\\u0001\\\\0\\u0004\\u001f\\u0001\\\\0\\u0001\\u001f\\u0001\\\\0\\u0001;\\\\t\\\\0\\\\t\\u001f\\u0004\\\\0\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\r#\\u0001 \\u0001\\\"\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0002\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0004#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0001!\\u0001\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0004#\\u0001]\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0002\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0004#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\b\\\"\\u0001^\\u0004#\\u0016\\\\0\\u0001C\\u0019\\\\0\\u0001A\\u0002B\\u0005A\\\\tB\\u0001C\\u000eB\\u0001A\\u0001B\\u0001$\\\\rB\\u0001A\\u0002B\\u0005A\\\\tB\\u0001C\\u0004B\\u0001A\\\\tB\\u0001A\\u0001B\\u0001$\\\\rB\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\u0004#\\u0001&\\u0005#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\r#\\u0003\\\\0\\u0001_\\u0001\\u0007\\u0001`\\u0001\\u0007\\u0001\\\\t\\u0006\\\\0\\u0001\\\\n\\\"\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u0001a\\u0007\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u0001b\\u0003\\\\f\\u0001c\\u0003\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\b\\\\f\\u0001d\\u0005\\\\0\\u0001e\\u000e\\\\0\\u0001e\\u0001\\\\0\\u0004e\\u0001\\\\0\\u0001e\\\\v\\\\0\\\\te\\u0005\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00010\\u0001f\\u0001\\\\0\\u00020\\u0001\\\\0\\u00040\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\u0001\\\\0\\u0001g\\u0001\\\\0\\u0001g\\u0004\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\u0001M\\u0001\\\\0\\u0004M\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0012\\\\0\\u0001h\\u001d\\\\0\\u000fO\\u0001i!O\\u00012\\\\bO\\u00012\\u0001O\\u00022\\u0001U\\u00022\\u0001O\\u00042\\u0001O\\u00012\\u0001O\\u00052\\u0001Q\\u00012\\u0003O\\\\n2\\u0001O\\u00022\\u0001O\\u0001j\\\\rO\\u0001i\\u0001j\\u0001O\\u0004j\\u0001O\\u0001j\\\\vO\\\\tj\\u0004O\\u0001\\\\0\\u0001R\\u0001S\\u0001T\\u0001\\\\0\\u0001T\\u0004\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001U\\u00010\\u0001R\\u0001\\\\0\\u0004R\\u0001\\\\0\\u0001R\\u0001\\\\0\\u00030\\u0001W\\u00010\\u0001K\\u00010\\u0003\\\\0\\\\tR\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u0002S\\u0001T\\u0001\\\\0\\u0001T\\\\b\\\\0\\u0001U\\u0001\\\\0\\u0001S\\u0001\\\\0\\u0004S\\u0001\\\\0\\u0001S\\u0004\\\\0\\u0001k\\u0006\\\\0\\\\tS\\u0007\\\\0\\u0001T\\u0001\\\\0\\u0001T\\u0007\\\\0\\u0001l\\u0001U\\u0001\\\\0\\u0001l\\u0001\\\\0\\u0004l\\u0001\\\\0\\u0002l\\u0003\\\\0\\u0001k\\u0006\\\\0\\\\tl\\u0004\\\\0\\u0003m\\u0001\\\\0\\u0001m\\u0002\\\\0\\u0004m\\u0001\\\\0\\u0002m\\u0001\\\\0!m\\u0001\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001U\\u00020\\u0001\\\\0\\u00040\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0001\\\\0\\u0001X\\u0001n\\u0001o\\u0001\\\\0\\u0001o\\u0004\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001U\\u00010\\u0001X\\u0001\\\\0\\u0004X\\u0001\\\\0\\u0001X\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\tX\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0002\\\\f\\u0001p\\u0006\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001q\\u0001*\\\\t\\\\0\\\\t\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0007\\\\f\\u0001Z\\u0001\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\u0005\\\\0\\u0001r\\u0003\\\\0\\\\t\\\\f\\u0004\\\\0\\u0001 \\u0001!\\u0001\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001s\\u0003#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0001\\\"\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\b\\\"\\u0001t\\u0004#\\u0003\\\\0\\u0001_\\u0001\\u0007\\u0001`\\u0001\\u0007\\u0001\\\\t)\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u0001u\\u0007\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0002\\\\f\\u0001v\\u0006\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0006\\\\f\\u0001w\\u0002\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\b\\\\f\\u0001x\\u0005\\\\0\\u0001y\\\\v\\\\0\\u0001z\\u0001{\\u0001\\\\0\\u0001y\\u0001\\\\0\\u0004y\\u0001\\\\0\\u0001y\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\ty\\u0004\\\\0\\u0001|\\u0001}\\\\b|\\u0001}\\u0001|\\u0001}\\u0001~\\u0001\\u0002}\\u0001|\\u0004}\\u0001|\\u0001}\\u0001|\\u0005}\\u0001€\\u0001}\\u0003|\\\\n}\\u0001|\\u0002}\\u0003k\\u0001\\u0001k\\u0001\\\\bk\\u0001\\\\0!k\\u0013\\\\0\\u0001‚\\u001c\\\\0\\u000eO\\u0001U\\\"O\\u0001ƒ\\\\vO\\u0001„\\u0001…",
"\\u0001i\\u0001ƒ\\u0001O\\u0004ƒ\\u0001O\\u0001ƒ\\u0007O\\u0001Q\\u0003O\\\\tƒ\\u0004O\\u000e\\\\0\\u0001U\\\"\\\\0\\u0002l\\u0001†\\u0001\\\\0\\u0001†\\u0007\\\\0\\u0001l\\u0001U\\u0001\\\\0\\u0001l\\u0001\\\\0\\u0004l\\u0001\\\\0\\u0003l\\u0001\\\\0\\u0001‡\\u0001k\\u0002\\\\0\\u0001l\\u0003\\\\0\\\\tl\\u0004\\\\0\\u0003m\\u0001\\\\0\\u0001m\\u0002\\\\0\\u0004m\\u0001\\\\0\\u0002m\\u0001ˆ!m\\u0001\\\\0\\u0002n\\u0001o\\u0001\\\\0\\u0001o\\\\b\\\\0\\u0001U\\u0001\\\\0\\u0001n\\u0001\\\\0\\u0004n\\u0001\\\\0\\u0001n\\\\v\\\\0\\\\tn\\u0007\\\\0\\u0001o\\u0001\\\\0\\u0001o\\\\b\\\\0\\u0001U\\\"\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001q\\u0001*\\\\t\\\\0\\u0003\\\\f\\u0001Z\\u0005\\\\f \\\\0\\u0001‰\\u0014\\\\0\\u0002Š\\\\r\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\\\v\\\\0\\\\tŠ\\u0004\\\\0\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0002#\\u0001‹\\u0001Œ\\u0003#\\u0001\\u0005#\\u0001 \\u0001\\\"\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\b\\\"\\u0001Ž\\u0004#\\u0001\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0002\\\\f\\u0001\\u0006\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\u0001*\\\\t\\\\0\\\\t\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0007\\\\f\\u0001v\\u0001\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\u0005\\\\0\\u0001‘\\u0003\\\\0\\\\t\\\\f\\u0005\\\\0\\u0001’\\\\v\\\\0\\u0001“\\u0001{\\u0001\\\\0\\u0001’\\u0001\\\\0\\u0004’\\u0001\\\\0\\u0001’\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\t’\\u0005\\\\0\\u0001’\\\\v\\\\0\\u0001“\\u0002\\\\0\\u0001’\\u0001\\\\0\\u0004’\\u0001\\\\0\\u0001’\\\\v\\\\0\\\\t’\\u0004\\\\0\\\\r|\\u0001”#|\\u0001}\\\\b|\\u0001}\\u0001|\\u0001}\\u0001•\\u0001|\\u0002}\\u0001|\\u0004}\\u0001|\\u0001}\\u0001|\\u0005}\\u0001€\\u0001}\\u0003|\\\\n}\\u0001|\\u0002}\\u0001|\\u0001}\\\\b|\\u0001}\\u0001|\\u0001}\\u0001W\\u0001\\u0002}\\u0001|\\u0004}\\u0001|\\u0001}\\u0001|\\u0005}\\u0001€\\u0001}\\u0003|\\\\n}\\u0001|\\u0002}\\u0001|\\u0001–\\\\v|\\u0001”\\u0002|\\u0001–\\u0001|\\u0004–\\u0001|\\u0001–\\\\v|\\\\t–\\u0004|\\u0003k\\u0001\\u0001k\\u0001\\\\bk\\u0001U!k\\u0014\\\\0\\u0001—\\u001b\\\\0\\u0001O\\u0001˜\\\\vO\\u0001™\\u0001…",
"\\u0001i\\u0001˜\\u0001O\\u0004˜\\u0001O\\u0001˜\\u0007O\\u0001Q\\u0003O\\\\t˜\\u0005O\\u0001˜\\\\vO\\u0001™\\u0001O\\u0001i\\u0001˜\\u0001O\\u0004˜\\u0001O\\u0001˜\\\\vO\\\\t˜\\u0004O\\u0003\\\\0\\u0001†\\u0001\\\\0\\u0001†\\u0007\\\\0\\u0001l\\u0001U\\u0001\\\\0\\u0001l\\u0001\\\\0\\u0004l\\u0001\\\\0\\u0002l\\u0002\\\\0\\u0001‡\\u0001k\\u0006\\\\0\\\\tl\\u0004\\\\0\\u0003š\\u0001‡\\u0001š\\u0001‡\\u0002\\\\0\\u0001›\\u0001š\\u0001œ\\u0001\\\\0\\u0002š\\u0001\\\\0\\\\vš\\u0002\\\\0\\u0014š\\u001c\\\\0\\u0001r\\u0014\\\\0\\u0001Š\\u0001\\\\n\\\\0\\u0001ž\\u0002\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0001Ÿ\\u0001ž\\u0002\\\\0\\u0001 \\u0002\\\\0\\u0001r\\u0003\\\\0\\\\tŠ\\u0004\\\\0\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001#\\u0001¡\\\\v#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0002#\\u0001¢\\\\n#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0006#\\u0001£\\u0006#\\u0001 \\u0001\\\"\\u0001<\\u0001¤\\u0001 \\u0001¤\\u0002 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\u0001*\\\\t\\\\0\\u0003\\\\f\\u0001v\\u0005\\\\f \\\\0\\u0001¥\\u0014\\\\0\\u0002¦\\\\r\\\\0\\u0001¦\\u0001\\\\0\\u0004¦\\u0001\\\\0\\u0001¦\\\\v\\\\0\\\\t¦\\u0005\\\\0\\u0001§\\\\v\\\\0\\u0001¨\\u0001{\\u0001\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\t§\\u0005\\\\0\\u0001§\\\\v\\\\0\\u0001¨\\u0002\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\\\v\\\\0\\\\t§\\u0004\\\\0\\\\r|\\u0001k#|\\u0001}\\\\b|\\u0001}\\u0001|\\u0001}\\u0001W\\u0001|\\u0002}\\u0001|\\u0004}\\u0001|\\u0001}\\u0001|\\u0005}\\u0001€\\u0001}\\u0003|\\\\n}\\u0001|\\u0002}\\u0001|\\u0001©\\\\v|\\u0001ª\\u0001«\\u0001|\\u0001©\\u0001|\\u0004©\\u0001|\\u0001©\\u0007|\\u0001€\\u0003|\\\\t©\\u0004|\\u0015\\\\0\\u0001¬\\u001a\\\\0\\u0001O\\u0001­\\\\vO\\u0001®\\u0001…",
"\\u0001i\\u0001­\\u0001O\\u0004­\\u0001O\\u0001­\\u0007O\\u0001Q\\u0003O\\\\t­\\u0005O\\u0001­\\\\vO\\u0001®\\u0001O\\u0001i\\u0001­\\u0001O\\u0004­\\u0001O\\u0001­\\\\vO\\\\t­\\u0004O\\u0003š\\u0001T\\u0001š\\u0001T\\u0003\\\\0\\u0001š\\u0002\\\\0\\u0002š\\u0001U\\\\vš\\u0002\\\\0\\u0014š\\u0006›\\u0001\\\\0\\u0001›\\u0001¯\\u0001°&›\\u0006œ\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯%œ\\u0018\\\\0\\u0001Ÿ\\u0003\\\\0\\u0001 \\u0002\\\\0\\u0001r\\u0011\\\\0\\u0001Š\\u0001\\\\n\\\\0\\u0001ž\\u0002\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0001\\\\0\\u0001ž\\\\t\\\\0\\\\tŠ\\u0005\\\\0\\u0001²/\\\\0\\u0002 \\u0005\\\\0\\u000e \\u0001³\\\\t \\u0001\\\\0\\u0001 \\u0001´\\\\r \\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001#\\u0001µ\\u0002#\\u0001¶\\\\b#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001#\\u0001·\\\\v#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0005#\\u0001¸\\u0007#\\u0003\\\\0\\u0001¹\\u0001\\\\0\\u0001¹\\u0010\\\\0\\u0001$5\\\\0\\u0001‘\\u0014\\\\0\\u0001¦\\u0001º\\\\n\\\\0\\u0001»\\u0002\\\\0\\u0001¦\\u0001\\\\0\\u0004¦\\u0001\\\\0\\u0001¦\\u0001¼\\u0001»\\u0002\\\\0\\u0001½\\u0002\\\\0\\u0001‘\\u0003\\\\0\\\\t¦\\u0005\\\\0\\u0001¾\\\\v\\\\0\\u0001¿\\u0001{\\u0001\\\\0\\u0001¾\\u0001\\\\0\\u0004¾\\u0001\\\\0\\u0001¾\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\t¾\\u0005\\\\0\\u0001¾\\\\v\\\\0\\u0001¿\\u0002\\\\0\\u0001¾\\u0001\\\\0\\u0004¾\\u0001\\\\0\\u0001¾\\\\v\\\\0\\\\t¾\\u0004\\\\0\\u0001|\\u0001À\\\\v|\\u0001Á\\u0001«\\u0001|\\u0001À\\u0001|\\u0004À\\u0001|\\u0001À\\u0007|\\u0001€\\u0003|\\\\tÀ\\u0005|\\u0001À\\\\v|\\u0001Â\\u0002|\\u0001À\\u0001|\\u0004À\\u0001|\\u0001À\\\\v|\\\\tÀ\\u0004|\\u0014\\\\0\\u0001Ã\\u001b\\\\0\\u0001O\\u0001Ä\\\\vO\\u0001Å\\u0001…",
"\\u0001i\\u0001Ä\\u0001O\\u0004Ä\\u0001O\\u0001Ä\\u0007O\\u0001Q\\u0003O\\\\tÄ\\u0005O\\u0001Ä\\\\vO\\u0001Å\\u0001O\\u0001i\\u0001Ä\\u0001O\\u0004Ä\\u0001O\\u0001Ä\\\\vO\\\\tÄ\\u0004O\\u0003\\\\0\\u0001T\\u0001\\\\0\\u0001T\\\\b\\\\0\\u0001U\\\\r\\\\0\\u0001k\\u0013\\\\0\\u0006›\\u0001\\\\0\\u0001›\\u0001Æ\\u0001°&›\\u0006œ\\u0001\\\\0\\u0002œ\\u0001±\\u0001Ç%œ\\u0001\\\\0\\u0001²\\u001a\\\\0\\u0001 \\u0013\\\\0\\u0011 \\u0001\\\\0\\u0010 \\u0001\\\\0\\\\r \\u0001\\\\0\\u0002´\\u0005\\\\0\\u000e´\\u0001È\\\\t´\\u0001 \\u000f´\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001¶\\\\f#\\u0001 \\u0002#\\u0001¤\\u0001 \\u0001¤\\u0002 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\r#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001#\\u0001µ\\\\v#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0004#\\u0001¶\\\\b#\\u0003\\\\0\\u0001¹\\u0001\\\\0\\u0001¹B\\\\0\\u0001¼\\u0003\\\\0\\u0001½\\u0002\\\\0\\u0001‘\\u0011\\\\0\\u0001¦\\u0001º\\\\n\\\\0\\u0001»\\u0002\\\\0\\u0001¦\\u0001\\\\0\\u0004¦\\u0001\\\\0\\u0001¦\\u0001\\\\0\\u0001»\\\\t\\\\0\\\\t¦\\u0005\\\\0\\u0001É/\\\\0\\u0002½\\u0005\\\\0\\u000e½\\u0001Ê\\\\t½\\u0001\\\\0\\u0001½\\u0001Ë\\\\r½\\u0001\\\\0\\u0001Ì\\\\v\\\\0\\u0001Í\\u0001{\\u0001\\\\0\\u0001Ì\\u0001\\\\0\\u0004Ì\\u0001\\\\0\\u0001Ì\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tÌ\\u0005\\\\0\\u0001Ì\\\\v\\\\0\\u0001Í\\u0002\\\\0\\u0001Ì\\u0001\\\\0\\u0004Ì\\u0001\\\\0\\u0001Ì\\\\v\\\\0\\\\tÌ\\u0004\\\\0\\u0001|\\u0001Î\\\\v|\\u0001Ï\\u0001«\\u0001|\\u0001Î\\u0001|\\u0004Î\\u0001|\\u0001Î\\u0007|\\u0001€\\u0003|\\\\tÎ\\u0005|\\u0001Î\\\\v|\\u0001Ð\\u0002|\\u0001Î\\u0001|\\u0004Î\\u0001|\\u0001Î\\\\v|\\\\tÎ\\u0004|\\u0001\\\\0\\u0001§\\\\v\\\\0\\u0001¨\\u0001U\\u0001\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\\\v\\\\0\\\\t§\\u0015\\\\0\\u0001Ñ\\u001e\\\\0\\u0001O\\u0001Ò\\\\vO\\u0001Ó\\u0001…",
"\\u0001i\\u0001Ò\\u0001O\\u0004Ò\\u0001O\\u0001Ò\\u0007O\\u0001Q\\u0003O\\\\tÒ\\u0005O\\u0001Ò\\\\vO\\u0001Ó\\u0001O\\u0001i\\u0001Ò\\u0001O\\u0004Ò\\u0001O\\u0001Ò\\\\vO\\\\tÒ\\u0004O\\u0003›\\u0001Ô\\u0001›\\u0001Ô\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0004›\\u0001Õ\\\\r›\\u0001Ö\\u0013›\\u0003œ\\u0001×\\u0001œ\\u0001×\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0003œ\\u0001Ø\\\\rœ\\u0001Ù\\u0013œ\\u0011´\\u0001\\\\0\\u0010´\\u0001\\\\0\\\\r´\\u0001\\\\0\\u0001É\\u001a\\\\0\\u0001½\\u0013\\\\0\\u0011½\\u0001\\\\0\\u0010½\\u0001\\\\0\\\\r½\\u0001\\\\0\\u0002Ë\\u0005\\\\0\\u000eË\\u0001Ú\\\\tË\\u0001½\\u000fË\\u0001\\\\0\\u0001Û\\\\v\\\\0\\u0001Ü\\u0001{\\u0001\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tÛ\\u0005\\\\0\\u0001Û\\\\v\\\\0\\u0001Ü\\u0002\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\\\v\\\\0\\\\tÛ\\u0004\\\\0\\u0001|\\u0001Ý\\\\v|\\u0001Þ\\u0001«\\u0001|\\u0001Ý\\u0001|\\u0004Ý\\u0001|\\u0001Ý\\u0007|\\u0001€\\u0003|\\\\tÝ\\u0005|\\u0001Ý\\\\v|\\u0001ß\\u0002|\\u0001Ý\\u0001|\\u0004Ý\\u0001|\\u0001Ý\\\\v|\\\\tÝ\\u0004|\\u0001\\\\0\\u0001¾\\\\v\\\\0\\u0001¿\\u0001U\\u0001\\\\0\\u0001¾\\u0001\\\\0\\u0004¾\\u0001\\\\0\\u0001¾\\\\v\\\\0\\\\t¾\\u0004\\\\0\\u0016Ñ\\u0001à\\u0019Ñ\\u0001O\\u0001á\\\\vO\\u0001â\\u0001…",
"\\u0001i\\u0001á\\u0001O\\u0004á\\u0001O\\u0001á\\u0007O\\u0001Q\\u0003O\\\\tá\\u0005O\\u0001á\\\\vO\\u0001â\\u0001O\\u0001i\\u0001á\\u0001O\\u0004á\\u0001O\\u0001á\\\\vO\\\\tá\\u0004O\\u0003›\\u0001Ô\\u0001›\\u0001Ô\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0003›\\u0001ã\\u0001Õ\\u0001›\\u0001ã\\u0001›\\u0004ã\\u0001›\\u0002ã\\u0003›\\u0001Ö\\u0006›\\\\tã\\\\n›\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0004›\\u0001Õ!›\\u0003œ\\u0001×\\u0001œ\\u0001×\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0002œ\\u0001ä\\u0001Ø\\u0001œ\\u0001ä\\u0001œ\\u0004ä\\u0001œ\\u0002ä\\u0003œ\\u0001Ù\\u0006œ\\\\tä\\\\nœ\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0003œ\\u0001Ø!œ\\u0011Ë\\u0001\\\\0\\u0010Ë\\u0001\\\\0\\\\rË\\u0001\\\\0\\u0001å\\\\v\\\\0\\u0001æ\\u0001{\\u0001\\\\0\\u0001å\\u0001\\\\0\\u0004å\\u0001\\\\0\\u0001å\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tå\\u0005\\\\0\\u0001å\\\\v\\\\0\\u0001æ\\u0002\\\\0\\u0001å\\u0001\\\\0\\u0004å\\u0001\\\\0\\u0001å\\\\v\\\\0\\\\tå\\u0004\\\\0\\u0001|\\u0001ç\\\\v|\\u0001è\\u0001«\\u0001|\\u0001ç\\u0001|\\u0004ç\\u0001|\\u0001ç\\u0007|\\u0001€\\u0003|\\\\tç\\u0005|\\u0001ç\\\\v|\\u0001é\\u0002|\\u0001ç\\u0001|\\u0004ç\\u0001|\\u0001ç\\\\v|\\\\tç\\u0004|\\u0001\\\\0\\u0001Ì\\\\v\\\\0\\u0001Í\\u0001U\\u0001\\\\0\\u0001Ì\\u0001\\\\0\\u0004Ì\\u0001\\\\0\\u0001Ì\\\\v\\\\0\\\\tÌ\\u0004\\\\0\\u0016Ñ\\u0001ê\\u0019Ñ\\u0001O\\u0001ë\\\\vO\\u0001ì\\u0001…",
"\\u0001i\\u0001ë\\u0001O\\u0004ë\\u0001O\\u0001ë\\u0007O\\u0001Q\\u0003O\\\\të\\u0005O\\u0001ë\\\\vO\\u0001ì\\u0001O\\u0001i\\u0001ë\\u0001O\\u0004ë\\u0001O\\u0001ë\\\\vO\\\\të\\u0004O\\u0001›\\u0002ã\\u0001í\\u0001›\\u0001í\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0003›\\u0001ã\\u0001Õ\\u0001›\\u0001ã\\u0001›\\u0004ã\\u0001›\\u0003ã\\u0001›\\u0001î\\u0001Ö\\u0002›\\u0001ã\\u0003›\\\\tã\\u0004›\\u0001œ\\u0002ä\\u0001ï\\u0001œ\\u0001ï\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0002œ\\u0001ä\\u0001Ø\\u0001œ\\u0001ä\\u0001œ\\u0004ä\\u0001œ\\u0003ä\\u0001œ\\u0001ð\\u0001Ù\\u0002œ\\u0001ä\\u0003œ\\\\tä\\u0004œ\\u0001\\\\0\\u0001ñ\\\\v\\\\0\\u0001ò\\u0001{\\u0001\\\\0\\u0001ñ\\u0001\\\\0\\u0004ñ\\u0001\\\\0\\u0001ñ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tñ\\u0005\\\\0\\u0001ñ\\\\v\\\\0\\u0001ò\\u0002\\\\0\\u0001ñ\\u0001\\\\0\\u0004ñ\\u0001\\\\0\\u0001ñ\\\\v\\\\0\\\\tñ\\u0004\\\\0\\u0001|\\u0001ó\\\\v|\\u0001ô\\u0001«\\u0001|\\u0001ó\\u0001|\\u0004ó\\u0001|\\u0001ó\\u0007|\\u0001€\\u0003|\\\\tó\\u0005|\\u0001ó\\\\v|\\u0001õ\\u0002|\\u0001ó\\u0001|\\u0004ó\\u0001|\\u0001ó\\\\v|\\\\tó\\u0004|\\u0001\\\\0\\u0001Û\\\\v\\\\0\\u0001Ü\\u0001U\\u0001\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\\\v\\\\0\\\\tÛ\\u0004\\\\0\\u000eÑ\\u0001U!Ñ\\u0001O\\u0001ö\\\\vO\\u0001÷\\u0001…",
"\\u0001i\\u0001ö\\u0001O\\u0004ö\\u0001O\\u0001ö\\u0007O\\u0001Q\\u0003O\\\\tö\\u0005O\\u0001ö\\\\vO\\u0001÷\\u0001O\\u0001i\\u0001ö\\u0001O\\u0004ö\\u0001O\\u0001ö\\\\vO\\\\tö\\u0004O\\u0003›\\u0001í\\u0001›\\u0001í\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0003›\\u0001ã\\u0001Õ\\u0001›\\u0001ã\\u0001›\\u0004ã\\u0001›\\u0002ã\\u0002›\\u0001î\\u0001Ö\\u0006›\\\\tã\\u0004›\\u0003ø\\u0001î\\u0001ø\\u0001î\\u0001\\\\0\\u0001›\\u0001Æ\\u0001ù\\u0001ú\\u0001›\\u0002ø\\u0001›\\\\vø\\u0002›\\u0014ø\\u0003œ\\u0001ï\\u0001œ\\u0001ï\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0002œ\\u0001ä\\u0001Ø\\u0001œ\\u0001ä\\u0001œ\\u0004ä\\u0001œ\\u0002ä\\u0002œ\\u0001ð\\u0001Ù\\u0006œ\\\\tä\\u0004œ\\u0003û\\u0001ð\\u0001û\\u0001ð\\u0001\\\\0\\u0001œ\\u0001ú\\u0001ü\\u0001Ç\\u0001œ\\u0002û\\u0001œ\\\\vû\\u0002œ\\u0014û\\u0001\\\\0\\u0001ý\\\\v\\\\0\\u0001þ\\u0001{\\u0001\\\\0\\u0001ý\\u0001\\\\0\\u0004ý\\u0001\\\\0\\u0001ý\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tý\\u0005\\\\0\\u0001ý\\\\v\\\\0\\u0001þ\\u0002\\\\0\\u0001ý\\u0001\\\\0\\u0004ý\\u0001\\\\0\\u0001ý\\\\v\\\\0\\\\tý\\u0004\\\\0\\u0001|\\u0001ÿ\\\\v|\\u0001Ā\\u0001«\\u0001|\\u0001ÿ\\u0001|\\u0004ÿ\\u0001|\\u0001ÿ\\u0007|\\u0001€\\u0003|\\\\tÿ\\u0005|\\u0001ÿ\\\\v|\\u0001ā\\u0002|\\u0001ÿ\\u0001|\\u0004ÿ\\u0001|\\u0001ÿ\\\\v|\\\\tÿ\\u0004|\\u0001\\\\0\\u0001å\\\\v\\\\0\\u0001æ\\u0001U\\u0001\\\\0\\u0001å\\u0001\\\\0\\u0004å\\u0001\\\\0\\u0001å\\\\v\\\\0\\\\tå\\u0004\\\\0\\u0001O\\u0001Ă\\\\vO\\u0001ă\\u0001…",
"\\u0001i\\u0001Ă\\u0001O\\u0004Ă\\u0001O\\u0001Ă\\u0007O\\u0001Q\\u0003O\\\\tĂ\\u0005O\\u0001Ă\\\\vO\\u0001ă\\u0001O\\u0001i\\u0001Ă\\u0001O\\u0004Ă\\u0001O\\u0001Ă\\\\vO\\\\tĂ\\u0004O\\u0003ø\\u0001Ô\\u0001ø\\u0001Ô\\u0001\\\\0\\u0001›\\u0001¯\\u0001ù\\u0002›\\u0002ø\\u0001Õ\\\\vø\\u0002›\\u0017ø\\u0001Ô\\u0001ø\\u0001Ô\\u0001\\\\0\\u0001›\\u0001Æ\\u0001ù\\u0002›\\u0002ø\\u0001Õ\\\\vø\\u0002›\\u0014ø\\u0006ú\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ%ú\\u0003û\\u0001×\\u0001û\\u0001×\\u0001\\\\0\\u0002œ\\u0001ü\\u0001¯\\u0001œ\\u0002û\\u0001Ø\\\\vû\\u0002œ\\u0017û\\u0001×\\u0001û\\u0001×\\u0001\\\\0\\u0002œ\\u0001ü\\u0001Ç\\u0001œ\\u0002û\\u0001Ø\\\\vû\\u0002œ\\u0014û\\u0001\\\\0\\u0001ą\\\\v\\\\0\\u0001Ć\\u0001{\\u0001\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tą\\u0005\\\\0\\u0001ą\\\\v\\\\0\\u0001Ć\\u0002\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\\\v\\\\0\\\\tą\\u0004\\\\0\\u0001|\\u0001ć\\\\v|\\u0001Ĉ\\u0001«\\u0001|\\u0001ć\\u0001|\\u0004ć\\u0001|\\u0001ć\\u0007|\\u0001€\\u0003|\\\\tć\\u0005|\\u0001ć\\\\v|\\u0001ĉ\\u0002|\\u0001ć\\u0001|\\u0004ć\\u0001|\\u0001ć\\\\v|\\\\tć\\u0004|\\u0001\\\\0\\u0001ñ\\\\v\\\\0\\u0001ò\\u0001U\\u0001\\\\0\\u0001ñ\\u0001\\\\0\\u0004ñ\\u0001\\\\0\\u0001ñ\\\\v\\\\0\\\\tñ\\u0004\\\\0\\u0001O\\u0001Ċ\\\\vO\\u0001ċ\\u0001…",
"\\u0001i\\u0001Ċ\\u0001O\\u0004Ċ\\u0001O\\u0001Ċ\\u0007O\\u0001Q\\u0003O\\\\tĊ\\u0005O\\u0001Ċ\\\\vO\\u0001ċ\\u0001O\\u0001i\\u0001Ċ\\u0001O\\u0004Ċ\\u0001O\\u0001Ċ\\\\vO\\\\tĊ\\u0004O\\u0006ú\\u0001\\\\0\\u0001ú\\u0001Č\\u0001Ą\\u0001Č%ú\\u0001\\\\0\\u0001č\\\\v\\\\0\\u0001Ď\\u0001{\\u0001\\\\0\\u0001č\\u0001\\\\0\\u0004č\\u0001\\\\0\\u0001č\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tč\\u0005\\\\0\\u0001č\\\\v\\\\0\\u0001Ď\\u0002\\\\0\\u0001č\\u0001\\\\0\\u0004č\\u0001\\\\0\\u0001č\\\\v\\\\0\\\\tč\\u0004\\\\0\\u0001|\\u0001ď\\\\v|\\u0001Đ\\u0001«\\u0001|\\u0001ď\\u0001|\\u0004ď\\u0001|\\u0001ď\\u0007|\\u0001€\\u0003|\\\\tď\\u0005|\\u0001ď\\\\v|\\u0001đ\\u0002|\\u0001ď\\u0001|\\u0004ď\\u0001|\\u0001ď\\\\v|\\\\tď\\u0004|\\u0001\\\\0\\u0001ý\\\\v\\\\0\\u0001þ\\u0001U\\u0001\\\\0\\u0001ý\\u0001\\\\0\\u0004ý\\u0001\\\\0\\u0001ý\\\\v\\\\0\\\\tý\\u0004\\\\0\\u0001O\\u0001Ē\\\\vO\\u0001ē\\u0001…",
"\\u0001i\\u0001Ē\\u0001O\\u0004Ē\\u0001O\\u0001Ē\\u0007O\\u0001Q\\u0003O\\\\tĒ\\u0005O\\u0001Ē\\\\vO\\u0001ē\\u0001O\\u0001i\\u0001Ē\\u0001O\\u0004Ē\\u0001O\\u0001Ē\\\\vO\\\\tĒ\\u0004O\\u0003ú\\u0001Ĕ\\u0001ú\\u0001Ĕ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0003ú\\u0001ĕ\\\\rú\\u0001Ė\\u0013ú\\u0001\\\\0\\u0001ė\\\\v\\\\0\\u0001Ę\\u0001{\\u0001\\\\0\\u0001ė\\u0001\\\\0\\u0004ė\\u0001\\\\0\\u0001ė\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tė\\u0005\\\\0\\u0001ė\\\\v\\\\0\\u0001Ę\\u0002\\\\0\\u0001ė\\u0001\\\\0\\u0004ė\\u0001\\\\0\\u0001ė\\\\v\\\\0\\\\tė\\u0004\\\\0\\u0001|\\u0001ę\\\\v|\\u0001Ě\\u0001«\\u0001|\\u0001ę\\u0001|\\u0004ę\\u0001|\\u0001ę\\u0007|\\u0001€\\u0003|\\\\tę\\u0005|\\u0001ę\\\\v|\\u0001ě\\u0002|\\u0001ę\\u0001|\\u0004ę\\u0001|\\u0001ę\\\\v|\\\\tę\\u0004|\\u0001\\\\0\\u0001ą\\\\v\\\\0\\u0001Ć\\u0001U\\u0001\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\\\v\\\\0\\\\tą\\u0004\\\\0\\u0001O\\u0001Ĝ\\\\vO\\u0001ĝ\\u0001…",
"\\u0001i\\u0001Ĝ\\u0001O\\u0004Ĝ\\u0001O\\u0001Ĝ\\u0007O\\u0001Q\\u0003O\\\\tĜ\\u0005O\\u0001Ĝ\\\\vO\\u0001ĝ\\u0001O\\u0001i\\u0001Ĝ\\u0001O\\u0004Ĝ\\u0001O\\u0001Ĝ\\\\vO\\\\tĜ\\u0004O\\u0003ú\\u0001Ĕ\\u0001ú\\u0001Ĕ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0002ú\\u0001Ğ\\u0001ĕ\\u0001ú\\u0001Ğ\\u0001ú\\u0004Ğ\\u0001ú\\u0002Ğ\\u0003ú\\u0001Ė\\u0006ú\\\\tĞ\\\\nú\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0003ú\\u0001ĕ!ú\\u0001\\\\0\\u0001ğ\\\\v\\\\0\\u0001Ġ\\u0001{\\u0001\\\\0\\u0001ğ\\u0001\\\\0\\u0004ğ\\u0001\\\\0\\u0001ğ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tğ\\u0005\\\\0\\u0001ğ\\\\v\\\\0\\u0001Ġ\\u0002\\\\0\\u0001ğ\\u0001\\\\0\\u0004ğ\\u0001\\\\0\\u0001ğ\\\\v\\\\0\\\\tğ\\u0004\\\\0\\u0001|\\u0001ġ\\\\v|\\u0001Ģ\\u0001«\\u0001|\\u0001ġ\\u0001|\\u0004ġ\\u0001|\\u0001ġ\\u0007|\\u0001€\\u0003|\\\\tġ\\u0005|\\u0001ġ\\\\v|\\u0001ģ\\u0002|\\u0001ġ\\u0001|\\u0004ġ\\u0001|\\u0001ġ\\\\v|\\\\tġ\\u0004|\\u0001\\\\0\\u0001č\\\\v\\\\0\\u0001Ď\\u0001U\\u0001\\\\0\\u0001č\\u0001\\\\0\\u0004č\\u0001\\\\0\\u0001č\\\\v\\\\0\\\\tč\\u0004\\\\0\\u0001O\\u0001Ĥ\\\\vO\\u0001ĥ\\u0001…",
"\\u0001i\\u0001Ĥ\\u0001O\\u0004Ĥ\\u0001O\\u0001Ĥ\\u0007O\\u0001Q\\u0003O\\\\tĤ\\u0005O\\u0001Ĥ\\\\vO\\u0001ĥ\\u0001O\\u0001i\\u0001Ĥ\\u0001O\\u0004Ĥ\\u0001O\\u0001Ĥ\\\\vO\\\\tĤ\\u0004O\\u0001ú\\u0002Ğ\\u0001Ħ\\u0001ú\\u0001Ħ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0002ú\\u0001Ğ\\u0001ĕ\\u0001ú\\u0001Ğ\\u0001ú\\u0004Ğ\\u0001ú\\u0003Ğ\\u0001ú\\u0001ħ\\u0001Ė\\u0002ú\\u0001Ğ\\u0003ú\\\\tĞ\\u0004ú\\u0001\\\\0\\u0001Ĩ\\\\v\\\\0\\u0001ĩ\\u0001{\\u0001\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tĨ\\u0005\\\\0\\u0001Ĩ\\\\v\\\\0\\u0001ĩ\\u0002\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\\\v\\\\0\\\\tĨ\\u0004\\\\0\\u0001|\\u0001Ī\\\\v|\\u0001ī\\u0001«\\u0001|\\u0001Ī\\u0001|\\u0004Ī\\u0001|\\u0001Ī\\u0007|\\u0001€\\u0003|\\\\tĪ\\u0005|\\u0001Ī\\\\v|\\u0001Ĭ\\u0002|\\u0001Ī\\u0001|\\u0004Ī\\u0001|\\u0001Ī\\\\v|\\\\tĪ\\u0004|\\u0001\\\\0\\u0001ė\\\\v\\\\0\\u0001Ę\\u0001U\\u0001\\\\0\\u0001ė\\u0001\\\\0\\u0004ė\\u0001\\\\0\\u0001ė\\\\v\\\\0\\\\tė\\u0004\\\\0\\u0001O\\u0001ĭ\\\\vO\\u0001Į\\u0001…",
"\\u0001i\\u0001ĭ\\u0001O\\u0004ĭ\\u0001O\\u0001ĭ\\u0007O\\u0001Q\\u0003O\\\\tĭ\\u0005O\\u0001ĭ\\\\vO\\u0001Į\\u0001O\\u0001i\\u0001ĭ\\u0001O\\u0004ĭ\\u0001O\\u0001ĭ\\\\vO\\\\tĭ\\u0004O\\u0003ú\\u0001Ħ\\u0001ú\\u0001Ħ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0002ú\\u0001Ğ\\u0001ĕ\\u0001ú\\u0001Ğ\\u0001ú\\u0004Ğ\\u0001ú\\u0002Ğ\\u0002ú\\u0001ħ\\u0001Ė\\u0006ú\\\\tĞ\\u0004ú\\u0003į\\u0001ħ\\u0001į\\u0001ħ\\u0001\\\\0\\u0001ú\\u0001Č\\u0001İ\\u0001Č\\u0001ú\\u0002į\\u0001ú\\\\vį\\u0002ú\\u0014į\\u0001\\\\0\\u0001ı\\\\v\\\\0\\u0001IJ\\u0001{\\u0001\\\\0\\u0001ı\\u0001\\\\0\\u0004ı\\u0001\\\\0\\u0001ı\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tı\\u0005\\\\0\\u0001ı\\\\v\\\\0\\u0001IJ\\u0002\\\\0\\u0001ı\\u0001\\\\0\\u0004ı\\u0001\\\\0\\u0001ı\\\\v\\\\0\\\\tı\\u0004\\\\0\\u0001|\\u0001ij\\\\v|\\u0001Ĵ\\u0001«\\u0001|\\u0001ij\\u0001|\\u0004ij\\u0001|\\u0001ij\\u0007|\\u0001€\\u0003|\\\\tij\\u0005|\\u0001ij\\\\v|\\u0001ĵ\\u0002|\\u0001ij\\u0001|\\u0004ij\\u0001|\\u0001ij\\\\v|\\\\tij\\u0004|\\u0001\\\\0\\u0001ğ\\\\v\\\\0\\u0001Ġ\\u0001U\\u0001\\\\0\\u0001ğ\\u0001\\\\0\\u0004ğ\\u0001\\\\0\\u0001ğ\\\\v\\\\0\\\\tğ\\u0004\\\\0\\u0001O\\u0001Ķ\\\\vO\\u0001ķ\\u0001…",
"\\u0001i\\u0001Ķ\\u0001O\\u0004Ķ\\u0001O\\u0001Ķ\\u0007O\\u0001Q\\u0003O\\\\tĶ\\u0005O\\u0001Ķ\\\\vO\\u0001ķ\\u0001O\\u0001i\\u0001Ķ\\u0001O\\u0004Ķ\\u0001O\\u0001Ķ\\\\vO\\\\tĶ\\u0004O\\u0003į\\u0001Ĕ\\u0001į\\u0001Ĕ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001İ\\u0001Æ\\u0001ú\\u0002į\\u0001ĕ\\\\vį\\u0002ú\\u0017į\\u0001Ĕ\\u0001į\\u0001Ĕ\\u0001\\\\0\\u0001ú\\u0001Č\\u0001İ\\u0001Č\\u0001ú\\u0002į\\u0001ĕ\\\\vį\\u0002ú\\u0014į\\u0001\\\\0\\u0001ĸ\\\\v\\\\0\\u0001Ĺ\\u0001{\\u0001\\\\0\\u0001ĸ\\u0001\\\\0\\u0004ĸ\\u0001\\\\0\\u0001ĸ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tĸ\\u0005\\\\0\\u0001ĸ\\\\v\\\\0\\u0001Ĺ\\u0002\\\\0\\u0001ĸ\\u0001\\\\0\\u0004ĸ\\u0001\\\\0\\u0001ĸ\\\\v\\\\0\\\\tĸ\\u0004\\\\0\\u0001|\\u0001ĺ\\\\v|\\u0001Ļ\\u0001«\\u0001|\\u0001ĺ\\u0001|\\u0004ĺ\\u0001|\\u0001ĺ\\u0007|\\u0001€\\u0003|\\\\tĺ\\u0005|\\u0001ĺ\\\\v|\\u0001ļ\\u0002|\\u0001ĺ\\u0001|\\u0004ĺ\\u0001|\\u0001ĺ\\\\v|\\\\tĺ\\u0004|\\u0001\\\\0\\u0001Ĩ\\\\v\\\\0\\u0001ĩ\\u0001U\\u0001\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\\\v\\\\0\\\\tĨ\\u0004\\\\0\\u0001O\\u0001Ľ\\\\vO\\u0001ľ\\u0001…",
"\\u0001i\\u0001Ľ\\u0001O\\u0004Ľ\\u0001O\\u0001Ľ\\u0007O\\u0001Q\\u0003O\\\\tĽ\\u0005O\\u0001Ľ\\\\vO\\u0001ľ\\u0001O\\u0001i\\u0001Ľ\\u0001O\\u0004Ľ\\u0001O\\u0001Ľ\\\\vO\\\\tĽ\\u0004O\\u0001\\\\0\\u0001Ŀ\\\\v\\\\0\\u0001ŀ\\u0001{\\u0001\\\\0\\u0001Ŀ\\u0001\\\\0\\u0004Ŀ\\u0001\\\\0\\u0001Ŀ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tĿ\\u0005\\\\0\\u0001Ŀ\\\\v\\\\0\\u0001ŀ\\u0002\\\\0\\u0001Ŀ\\u0001\\\\0\\u0004Ŀ\\u0001\\\\0\\u0001Ŀ\\\\v\\\\0\\\\tĿ\\u0004\\\\0\\u0001|\\u0001Ł\\\\v|\\u0001ł\\u0001«\\u0001|\\u0001Ł\\u0001|\\u0004Ł\\u0001|\\u0001Ł\\u0007|\\u0001€\\u0003|\\\\tŁ\\u0005|\\u0001Ł\\\\v|\\u0001Ń\\u0002|\\u0001Ł\\u0001|\\u0004Ł\\u0001|\\u0001Ł\\\\v|\\\\tŁ\\u0004|\\u0001\\\\0\\u0001ı\\\\v\\\\0\\u0001IJ\\u0001U\\u0001\\\\0\\u0001ı\\u0001\\\\0\\u0004ı\\u0001\\\\0\\u0001ı\\\\v\\\\0\\\\tı\\u0004\\\\0\\u0001O\\u0001ń\\\\vO\\u0001Ņ\\u0001…",
"\\u0001i\\u0001ń\\u0001O\\u0004ń\\u0001O\\u0001ń\\u0007O\\u0001Q\\u0003O\\\\tń\\u0005O\\u0001ń\\\\vO\\u0001Ņ\\u0001O\\u0001i\\u0001ń\\u0001O\\u0004ń\\u0001O\\u0001ń\\\\vO\\\\tń\\u0004O\\u0001\\\\0\\u0001ņ\\\\v\\\\0\\u0001Ň\\u0001{\\u0001\\\\0\\u0001ņ\\u0001\\\\0\\u0004ņ\\u0001\\\\0\\u0001ņ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tņ\\u0005\\\\0\\u0001ņ\\\\v\\\\0\\u0001Ň\\u0002\\\\0\\u0001ņ\\u0001\\\\0\\u0004ņ\\u0001\\\\0\\u0001ņ\\\\v\\\\0\\\\tņ\\u0004\\\\0\\u0001|\\u0001ň\\\\v|\\u0001ʼn\\u0001«\\u0001|\\u0001ň\\u0001|\\u0004ň\\u0001|\\u0001ň\\u0007|\\u0001€\\u0003|\\\\tň\\u0005|\\u0001ň\\\\v|\\u0001Ŋ\\u0002|\\u0001ň\\u0001|\\u0004ň\\u0001|\\u0001ň\\\\v|\\\\tň\\u0004|\\u0001\\\\0\\u0001ĸ\\\\v\\\\0\\u0001Ĺ\\u0001U\\u0001\\\\0\\u0001ĸ\\u0001\\\\0\\u0004ĸ\\u0001\\\\0\\u0001ĸ\\\\v\\\\0\\\\tĸ\\u0004\\\\0\\u0001O\\u0001ŋ\\\\vO\\u0001Ō\\u0001…",
"\\u0001i\\u0001ŋ\\u0001O\\u0004ŋ\\u0001O\\u0001ŋ\\u0007O\\u0001Q\\u0003O\\\\tŋ\\u0005O\\u0001ŋ\\\\vO\\u0001Ō\\u0001O\\u0001i\\u0001ŋ\\u0001O\\u0004ŋ\\u0001O\\u0001ŋ\\\\vO\\\\tŋ\\u0004O\\u0001\\\\0\\u0001ō\\\\v\\\\0\\u0001Ŏ\\u0001{\\u0001\\\\0\\u0001ō\\u0001\\\\0\\u0004ō\\u0001\\\\0\\u0001ō\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tō\\u0005\\\\0\\u0001ō\\\\v\\\\0\\u0001Ŏ\\u0002\\\\0\\u0001ō\\u0001\\\\0\\u0004ō\\u0001\\\\0\\u0001ō\\\\v\\\\0\\\\tō\\u0004\\\\0\\u0001|\\u0001ŏ\\\\v|\\u0001Ő\\u0001«\\u0001|\\u0001ŏ\\u0001|\\u0004ŏ\\u0001|\\u0001ŏ\\u0007|\\u0001€\\u0003|\\\\tŏ\\u0005|\\u0001ŏ\\\\v|\\u0001ő\\u0002|\\u0001ŏ\\u0001|\\u0004ŏ\\u0001|\\u0001ŏ\\\\v|\\\\tŏ\\u0004|\\u0001\\\\0\\u0001Ŀ\\\\v\\\\0\\u0001ŀ\\u0001U\\u0001\\\\0\\u0001Ŀ\\u0001\\\\0\\u0004Ŀ\\u0001\\\\0\\u0001Ŀ\\\\v\\\\0\\\\tĿ\\u0004\\\\0\\u0001O\\u0001Œ\\\\vO\\u0001œ\\u0001…",
"\\u0001i\\u0001Œ\\u0001O\\u0004Œ\\u0001O\\u0001Œ\\u0007O\\u0001Q\\u0003O\\\\tŒ\\u0005O\\u0001Œ\\\\vO\\u0001œ\\u0001O\\u0001i\\u0001Œ\\u0001O\\u0004Œ\\u0001O\\u0001Œ\\\\vO\\\\tŒ\\u0004O\\u0001\\\\0\\u0001Ŕ\\\\v\\\\0\\u0001ŕ\\u0001{\\u0001\\\\0\\u0001Ŕ\\u0001\\\\0\\u0004Ŕ\\u0001\\\\0\\u0001Ŕ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tŔ\\u0005\\\\0\\u0001Ŕ\\\\v\\\\0\\u0001ŕ\\u0002\\\\0\\u0001Ŕ\\u0001\\\\0\\u0004Ŕ\\u0001\\\\0\\u0001Ŕ\\\\v\\\\0\\\\tŔ\\u0004\\\\0\\u0001|\\u0001Ŗ\\\\v|\\u0001ŗ\\u0001«\\u0001|\\u0001Ŗ\\u0001|\\u0004Ŗ\\u0001|\\u0001Ŗ\\u0007|\\u0001€\\u0003|\\\\tŖ\\u0005|\\u0001Ŗ\\\\v|\\u0001Ř\\u0002|\\u0001Ŗ\\u0001|\\u0004Ŗ\\u0001|\\u0001Ŗ\\\\v|\\\\tŖ\\u0004|\\u0001\\\\0\\u0001ņ\\\\v\\\\0\\u0001Ň\\u0001U\\u0001\\\\0\\u0001ņ\\u0001\\\\0\\u0004ņ\\u0001\\\\0\\u0001ņ\\\\v\\\\0\\\\tņ\\u0004\\\\0\\u0001O\\u0001ř\\\\vO\\u0001Ś\\u0001…",
"\\u0001i\\u0001ř\\u0001O\\u0004ř\\u0001O\\u0001ř\\u0007O\\u0001Q\\u0003O\\\\tř\\u0005O\\u0001ř\\\\vO\\u0001Ś\\u0001O\\u0001i\\u0001ř\\u0001O\\u0004ř\\u0001O\\u0001ř\\\\vO\\\\tř\\u0004O\\u0001\\\\0\\u0001ś\\\\v\\\\0\\u0001Ŝ\\u0001{\\u0001\\\\0\\u0001ś\\u0001\\\\0\\u0004ś\\u0001\\\\0\\u0001ś\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tś\\u0005\\\\0\\u0001ś\\\\v\\\\0\\u0001Ŝ\\u0002\\\\0\\u0001ś\\u0001\\\\0\\u0004ś\\u0001\\\\0\\u0001ś\\\\v\\\\0\\\\tś\\u0004\\\\0\\u0001|\\u0001ŝ\\\\v|\\u0001Ş\\u0001«\\u0001|\\u0001ŝ\\u0001|\\u0004ŝ\\u0001|\\u0001ŝ\\u0007|\\u0001€\\u0003|\\\\tŝ\\u0005|\\u0001ŝ\\\\v|\\u0001ş\\u0002|\\u0001ŝ\\u0001|\\u0004ŝ\\u0001|\\u0001ŝ\\\\v|\\\\tŝ\\u0004|\\u0001\\\\0\\u0001ō\\\\v\\\\0\\u0001Ŏ\\u0001U\\u0001\\\\0\\u0001ō\\u0001\\\\0\\u0004ō\\u0001\\\\0\\u0001ō\\\\v\\\\0\\\\tō\\u0004\\\\0\\u0001O\\u0001Š\\\\vO\\u0001š\\u0001…",
"\\u0001i\\u0001Š\\u0001O\\u0004Š\\u0001O\\u0001Š\\u0007O\\u0001Q\\u0003O\\\\tŠ\\u0005O\\u0001Š\\\\vO\\u0001š\\u0001O\\u0001i\\u0001Š\\u0001O\\u0004Š\\u0001O\\u0001Š\\\\vO\\\\tŠ\\u0004O\\u0001\\\\0\\u0001Ţ\\\\v\\\\0\\u0001ţ\\u0001{\\u0001\\\\0\\u0001Ţ\\u0001\\\\0\\u0004Ţ\\u0001\\\\0\\u0001Ţ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tŢ\\u0005\\\\0\\u0001Ţ\\\\v\\\\0\\u0001ţ\\u0002\\\\0\\u0001Ţ\\u0001\\\\0\\u0004Ţ\\u0001\\\\0\\u0001Ţ\\\\v\\\\0\\\\tŢ\\u0004\\\\0\\u0001|\\u0001Ť\\\\v|\\u0001ť\\u0001«\\u0001|\\u0001Ť\\u0001|\\u0004Ť\\u0001|\\u0001Ť\\u0007|\\u0001€\\u0003|\\\\tŤ\\u0005|\\u0001Ť\\\\v|\\u0001Ŧ\\u0002|\\u0001Ť\\u0001|\\u0004Ť\\u0001|\\u0001Ť\\\\v|\\\\tŤ\\u0004|\\u0001\\\\0\\u0001Ŕ\\\\v\\\\0\\u0001ŕ\\u0001U\\u0001\\\\0\\u0001Ŕ\\u0001\\\\0\\u0004Ŕ\\u0001\\\\0\\u0001Ŕ\\\\v\\\\0\\\\tŔ\\u0004\\\\0\\u0001O\\u0001ŧ\\\\vO\\u0001Ũ\\u0001…",
"\\u0001i\\u0001ŧ\\u0001O\\u0004ŧ\\u0001O\\u0001ŧ\\u0007O\\u0001Q\\u0003O\\\\tŧ\\u0005O\\u0001ŧ\\\\vO\\u0001Ũ\\u0001O\\u0001i\\u0001ŧ\\u0001O\\u0004ŧ\\u0001O\\u0001ŧ\\\\vO\\\\tŧ\\u0004O\\u0001\\\\0\\u0001ũ\\\\v\\\\0\\u0001Ū\\u0001{\\u0001\\\\0\\u0001ũ\\u0001\\\\0\\u0004ũ\\u0001\\\\0\\u0001ũ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tũ\\u0005\\\\0\\u0001ũ\\\\v\\\\0\\u0001Ū\\u0002\\\\0\\u0001ũ\\u0001\\\\0\\u0004ũ\\u0001\\\\0\\u0001ũ\\\\v\\\\0\\\\tũ\\u0004\\\\0\\u0001|\\u0001ū\\\\v|\\u0001Ŭ\\u0001«\\u0001|\\u0001ū\\u0001|\\u0004ū\\u0001|\\u0001ū\\u0007|\\u0001€\\u0003|\\\\tū\\u0005|\\u0001ū\\\\v|\\u0001ŭ\\u0002|\\u0001ū\\u0001|\\u0004ū\\u0001|\\u0001ū\\\\v|\\\\tū\\u0004|\\u0001\\\\0\\u0001ś\\\\v\\\\0\\u0001Ŝ\\u0001U\\u0001\\\\0\\u0001ś\\u0001\\\\0\\u0004ś\\u0001\\\\0\\u0001ś\\\\v\\\\0\\\\tś\\u0004\\\\0\\u0001O\\u0001Ů\\\\vO\\u0001ů\\u0001…",
"\\u0001i\\u0001Ů\\u0001O\\u0004Ů\\u0001O\\u0001Ů\\u0007O\\u0001Q\\u0003O\\\\tŮ\\u0005O\\u0001Ů\\\\vO\\u0001ů\\u0001O\\u0001i\\u0001Ů\\u0001O\\u0004Ů\\u0001O\\u0001Ů\\\\vO\\\\tŮ\\u0004O\\u0001\\\\0\\u0001Ű\\\\v\\\\0\\u0001ű\\u0001{\\u0001\\\\0\\u0001Ű\\u0001\\\\0\\u0004Ű\\u0001\\\\0\\u0001Ű\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tŰ\\u0005\\\\0\\u0001Ű\\\\v\\\\0\\u0001ű\\u0002\\\\0\\u0001Ű\\u0001\\\\0\\u0004Ű\\u0001\\\\0\\u0001Ű\\\\v\\\\0\\\\tŰ\\u0004\\\\0\\u0001|\\u0001Ų\\\\v|\\u0001ų\\u0001«\\u0001|\\u0001Ų\\u0001|\\u0004Ų\\u0001|\\u0001Ų\\u0007|\\u0001€\\u0003|\\\\tŲ\\u0005|\\u0001Ų\\\\v|\\u0001Ŵ\\u0002|\\u0001Ų\\u0001|\\u0004Ų\\u0001|\\u0001Ų\\\\v|\\\\tŲ\\u0004|\\u0001\\\\0\\u0001Ţ\\\\v\\\\0\\u0001ţ\\u0001U\\u0001\\\\0\\u0001Ţ\\u0001\\\\0\\u0004Ţ\\u0001\\\\0\\u0001Ţ\\\\v\\\\0\\\\tŢ\\u0004\\\\0\\u0001O\\u0001ŵ\\\\vO\\u0001Ŷ\\u0001…",
"\\u0001i\\u0001ŵ\\u0001O\\u0004ŵ\\u0001O\\u0001ŵ\\u0007O\\u0001Q\\u0003O\\\\tŵ\\u0005O\\u0001ŵ\\\\vO\\u0001Ŷ\\u0001O\\u0001i\\u0001ŵ\\u0001O\\u0004ŵ\\u0001O\\u0001ŵ\\\\vO\\\\tŵ\\u0004O\\u0001\\\\0\\u0001ŷ\\\\v\\\\0\\u0001Ÿ\\u0001{\\u0001\\\\0\\u0001ŷ\\u0001\\\\0\\u0004ŷ\\u0001\\\\0\\u0001ŷ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tŷ\\u0005\\\\0\\u0001ŷ\\\\v\\\\0\\u0001Ÿ\\u0002\\\\0\\u0001ŷ\\u0001\\\\0\\u0004ŷ\\u0001\\\\0\\u0001ŷ\\\\v\\\\0\\\\tŷ\\u0004\\\\0\\u0001|\\u0001Ź\\\\v|\\u0001ź\\u0001«\\u0001|\\u0001Ź\\u0001|\\u0004Ź\\u0001|\\u0001Ź\\u0007|\\u0001€\\u0003|\\\\tŹ\\u0005|\\u0001Ź\\\\v|\\u0001Ż\\u0002|\\u0001Ź\\u0001|\\u0004Ź\\u0001|\\u0001Ź\\\\v|\\\\tŹ\\u0004|\\u0001\\\\0\\u0001ũ\\\\v\\\\0\\u0001Ū\\u0001U\\u0001\\\\0\\u0001ũ\\u0001\\\\0\\u0004ũ\\u0001\\\\0\\u0001ũ\\\\v\\\\0\\\\tũ\\u0004\\\\0\\u0001O\\u0001ż\\\\vO\\u0001Ž\\u0001…",
"\\u0001i\\u0001ż\\u0001O\\u0004ż\\u0001O\\u0001ż\\u0007O\\u0001Q\\u0003O\\\\tż\\u0005O\\u0001ż\\\\vO\\u0001Ž\\u0001O\\u0001i\\u0001ż\\u0001O\\u0004ż\\u0001O\\u0001ż\\\\vO\\\\tż\\u0004O\\u0001\\\\0\\u0001ž\\\\v\\\\0\\u0001ſ\\u0001{\\u0001\\\\0\\u0001ž\\u0001\\\\0\\u0004ž\\u0001\\\\0\\u0001ž\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tž\\u0005\\\\0\\u0001ž\\\\v\\\\0\\u0001ſ\\u0002\\\\0\\u0001ž\\u0001\\\\0\\u0004ž\\u0001\\\\0\\u0001ž\\\\v\\\\0\\\\tž\\u0004\\\\0\\u0001|\\u0001ƀ\\\\v|\\u0001Ɓ\\u0001«\\u0001|\\u0001ƀ\\u0001|\\u0004ƀ\\u0001|\\u0001ƀ\\u0007|\\u0001€\\u0003|\\\\tƀ\\u0005|\\u0001ƀ\\\\v|\\u0001Ƃ\\u0002|\\u0001ƀ\\u0001|\\u0004ƀ\\u0001|\\u0001ƀ\\\\v|\\\\tƀ\\u0004|\\u0001\\\\0\\u0001Ű\\\\v\\\\0\\u0001ű\\u0001U\\u0001\\\\0\\u0001Ű\\u0001\\\\0\\u0004Ű\\u0001\\\\0\\u0001Ű\\\\v\\\\0\\\\tŰ\\u0004\\\\0\\u0001O\\u0001ƃ\\\\vO\\u0001Ƅ\\u0001…",
"\\u0001i\\u0001ƃ\\u0001O\\u0004ƃ\\u0001O\\u0001ƃ\\u0007O\\u0001Q\\u0003O\\\\tƃ\\u0005O\\u0001ƃ\\\\vO\\u0001Ƅ\\u0001O\\u0001i\\u0001ƃ\\u0001O\\u0004ƃ\\u0001O\\u0001ƃ\\\\vO\\\\tƃ\\u0004O\\u0001\\\\0\\u0001ƅ\\\\v\\\\0\\u0001Ɔ\\u0001{\\u0001\\\\0\\u0001ƅ\\u0001\\\\0\\u0004ƅ\\u0001\\\\0\\u0001ƅ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƅ\\u0005\\\\0\\u0001ƅ\\\\v\\\\0\\u0001Ɔ\\u0002\\\\0\\u0001ƅ\\u0001\\\\0\\u0004ƅ\\u0001\\\\0\\u0001ƅ\\\\v\\\\0\\\\tƅ\\u0004\\\\0\\u0001|\\u0001Ƈ\\\\v|\\u0001ƈ\\u0001«\\u0001|\\u0001Ƈ\\u0001|\\u0004Ƈ\\u0001|\\u0001Ƈ\\u0007|\\u0001€\\u0003|\\\\tƇ\\u0005|\\u0001Ƈ\\\\v|\\u0001Ɖ\\u0002|\\u0001Ƈ\\u0001|\\u0004Ƈ\\u0001|\\u0001Ƈ\\\\v|\\\\tƇ\\u0004|\\u0001\\\\0\\u0001ŷ\\\\v\\\\0\\u0001Ÿ\\u0001U\\u0001\\\\0\\u0001ŷ\\u0001\\\\0\\u0004ŷ\\u0001\\\\0\\u0001ŷ\\\\v\\\\0\\\\tŷ\\u0004\\\\0\\u0001O\\u0001Ɗ\\\\vO\\u0001Ƌ\\u0001…",
"\\u0001i\\u0001Ɗ\\u0001O\\u0004Ɗ\\u0001O\\u0001Ɗ\\u0007O\\u0001Q\\u0003O\\\\tƊ\\u0005O\\u0001Ɗ\\\\vO\\u0001Ƌ\\u0001O\\u0001i\\u0001Ɗ\\u0001O\\u0004Ɗ\\u0001O\\u0001Ɗ\\\\vO\\\\tƊ\\u0004O\\u0001\\\\0\\u0001ƌ\\\\v\\\\0\\u0001ƍ\\u0001{\\u0001\\\\0\\u0001ƌ\\u0001\\\\0\\u0004ƌ\\u0001\\\\0\\u0001ƌ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƌ\\u0005\\\\0\\u0001ƌ\\\\v\\\\0\\u0001ƍ\\u0002\\\\0\\u0001ƌ\\u0001\\\\0\\u0004ƌ\\u0001\\\\0\\u0001ƌ\\\\v\\\\0\\\\tƌ\\u0004\\\\0\\u0001|\\u0001Ǝ\\\\v|\\u0001Ə\\u0001«\\u0001|\\u0001Ǝ\\u0001|\\u0004Ǝ\\u0001|\\u0001Ǝ\\u0007|\\u0001€\\u0003|\\\\tƎ\\u0005|\\u0001Ǝ\\\\v|\\u0001Ɛ\\u0002|\\u0001Ǝ\\u0001|\\u0004Ǝ\\u0001|\\u0001Ǝ\\\\v|\\\\tƎ\\u0004|\\u0001\\\\0\\u0001ž\\\\v\\\\0\\u0001ſ\\u0001U\\u0001\\\\0\\u0001ž\\u0001\\\\0\\u0004ž\\u0001\\\\0\\u0001ž\\\\v\\\\0\\\\tž\\u0004\\\\0\\u0001O\\u0001Ƒ\\\\vO\\u0001ƒ\\u0001…",
"\\u0001i\\u0001Ƒ\\u0001O\\u0004Ƒ\\u0001O\\u0001Ƒ\\u0007O\\u0001Q\\u0003O\\\\tƑ\\u0005O\\u0001Ƒ\\\\vO\\u0001ƒ\\u0001O\\u0001i\\u0001Ƒ\\u0001O\\u0004Ƒ\\u0001O\\u0001Ƒ\\\\vO\\\\tƑ\\u0004O\\u0001\\\\0\\u0001Ɠ\\\\v\\\\0\\u0001Ɣ\\u0001{\\u0001\\\\0\\u0001Ɠ\\u0001\\\\0\\u0004Ɠ\\u0001\\\\0\\u0001Ɠ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƓ\\u0005\\\\0\\u0001Ɠ\\\\v\\\\0\\u0001Ɣ\\u0002\\\\0\\u0001Ɠ\\u0001\\\\0\\u0004Ɠ\\u0001\\\\0\\u0001Ɠ\\\\v\\\\0\\\\tƓ\\u0004\\\\0\\u0001|\\u0001ƕ\\\\v|\\u0001Ɩ\\u0001«\\u0001|\\u0001ƕ\\u0001|\\u0004ƕ\\u0001|\\u0001ƕ\\u0007|\\u0001€\\u0003|\\\\tƕ\\u0005|\\u0001ƕ\\\\v|\\u0001Ɨ\\u0002|\\u0001ƕ\\u0001|\\u0004ƕ\\u0001|\\u0001ƕ\\\\v|\\\\tƕ\\u0004|\\u0001\\\\0\\u0001ƅ\\\\v\\\\0\\u0001Ɔ\\u0001U\\u0001\\\\0\\u0001ƅ\\u0001\\\\0\\u0004ƅ\\u0001\\\\0\\u0001ƅ\\\\v\\\\0\\\\tƅ\\u0004\\\\0\\u0001O\\u0001Ƙ\\\\vO\\u0001ƙ\\u0001…",
"\\u0001i\\u0001Ƙ\\u0001O\\u0004Ƙ\\u0001O\\u0001Ƙ\\u0007O\\u0001Q\\u0003O\\\\tƘ\\u0005O\\u0001Ƙ\\\\vO\\u0001ƙ\\u0001O\\u0001i\\u0001Ƙ\\u0001O\\u0004Ƙ\\u0001O\\u0001Ƙ\\\\vO\\\\tƘ\\u0004O\\u0001\\\\0\\u0001ƚ\\\\v\\\\0\\u0001ƛ\\u0001{\\u0001\\\\0\\u0001ƚ\\u0001\\\\0\\u0004ƚ\\u0001\\\\0\\u0001ƚ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƚ\\u0005\\\\0\\u0001ƚ\\\\v\\\\0\\u0001ƛ\\u0002\\\\0\\u0001ƚ\\u0001\\\\0\\u0004ƚ\\u0001\\\\0\\u0001ƚ\\\\v\\\\0\\\\tƚ\\u0004\\\\0\\u0001|\\u0001Ɯ\\\\v|\\u0001Ɲ\\u0001«\\u0001|\\u0001Ɯ\\u0001|\\u0004Ɯ\\u0001|\\u0001Ɯ\\u0007|\\u0001€\\u0003|\\\\tƜ\\u0005|\\u0001Ɯ\\\\v|\\u0001ƞ\\u0002|\\u0001Ɯ\\u0001|\\u0004Ɯ\\u0001|\\u0001Ɯ\\\\v|\\\\tƜ\\u0004|\\u0001\\\\0\\u0001ƌ\\\\v\\\\0\\u0001ƍ\\u0001U\\u0001\\\\0\\u0001ƌ\\u0001\\\\0\\u0004ƌ\\u0001\\\\0\\u0001ƌ\\\\v\\\\0\\\\tƌ\\u0004\\\\0\\u0001O\\u0001Ɵ\\\\vO\\u0001Ơ\\u0001…",
"\\u0001i\\u0001Ɵ\\u0001O\\u0004Ɵ\\u0001O\\u0001Ɵ\\u0007O\\u0001Q\\u0003O\\\\tƟ\\u0005O\\u0001Ɵ\\\\vO\\u0001Ơ\\u0001O\\u0001i\\u0001Ɵ\\u0001O\\u0004Ɵ\\u0001O\\u0001Ɵ\\\\vO\\\\tƟ\\u0004O\\u0001\\\\0\\u0001ơ\\\\v\\\\0\\u0001Ƣ\\u0001{\\u0001\\\\0\\u0001ơ\\u0001\\\\0\\u0004ơ\\u0001\\\\0\\u0001ơ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tơ\\u0005\\\\0\\u0001ơ\\\\v\\\\0\\u0001Ƣ\\u0002\\\\0\\u0001ơ\\u0001\\\\0\\u0004ơ\\u0001\\\\0\\u0001ơ\\\\v\\\\0\\\\tơ\\u0004\\\\0\\u0001|\\u0001ƣ\\\\v|\\u0001Ƥ\\u0001«\\u0001|\\u0001ƣ\\u0001|\\u0004ƣ\\u0001|\\u0001ƣ\\u0007|\\u0001€\\u0003|\\\\tƣ\\u0005|\\u0001ƣ\\\\v|\\u0001ƥ\\u0002|\\u0001ƣ\\u0001|\\u0004ƣ\\u0001|\\u0001ƣ\\\\v|\\\\tƣ\\u0004|\\u0001\\\\0\\u0001Ɠ\\\\v\\\\0\\u0001Ɣ\\u0001U\\u0001\\\\0\\u0001Ɠ\\u0001\\\\0\\u0004Ɠ\\u0001\\\\0\\u0001Ɠ\\\\v\\\\0\\\\tƓ\\u0004\\\\0\\u0001O\\u0001Ʀ\\\\vO\\u0001Ƨ\\u0001…",
"\\u0001i\\u0001Ʀ\\u0001O\\u0004Ʀ\\u0001O\\u0001Ʀ\\u0007O\\u0001Q\\u0003O\\\\tƦ\\u0005O\\u0001Ʀ\\\\vO\\u0001Ƨ\\u0001O\\u0001i\\u0001Ʀ\\u0001O\\u0004Ʀ\\u0001O\\u0001Ʀ\\\\vO\\\\tƦ\\u0004O\\u0001\\\\0\\u0001ƨ\\\\v\\\\0\\u0001Ʃ\\u0001{\\u0001\\\\0\\u0001ƨ\\u0001\\\\0\\u0004ƨ\\u0001\\\\0\\u0001ƨ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƨ\\u0005\\\\0\\u0001ƨ\\\\v\\\\0\\u0001Ʃ\\u0002\\\\0\\u0001ƨ\\u0001\\\\0\\u0004ƨ\\u0001\\\\0\\u0001ƨ\\\\v\\\\0\\\\tƨ\\u0004\\\\0\\u0001|\\u0001ƪ\\\\v|\\u0001ƫ\\u0001«\\u0001|\\u0001ƪ\\u0001|\\u0004ƪ\\u0001|\\u0001ƪ\\u0007|\\u0001€\\u0003|\\\\tƪ\\u0005|\\u0001ƪ\\\\v|\\u0001Ƭ\\u0002|\\u0001ƪ\\u0001|\\u0004ƪ\\u0001|\\u0001ƪ\\\\v|\\\\tƪ\\u0004|\\u0001\\\\0\\u0001ƚ\\\\v\\\\0\\u0001ƛ\\u0001U\\u0001\\\\0\\u0001ƚ\\u0001\\\\0\\u0004ƚ\\u0001\\\\0\\u0001ƚ\\\\v\\\\0\\\\tƚ\\u0004\\\\0\\u0001O\\u0001ƭ\\\\vO\\u0001Ʈ\\u0001…",
"\\u0001i\\u0001ƭ\\u0001O\\u0004ƭ\\u0001O\\u0001ƭ\\u0007O\\u0001Q\\u0003O\\\\tƭ\\u0005O\\u0001ƭ\\\\vO\\u0001Ʈ\\u0001O\\u0001i\\u0001ƭ\\u0001O\\u0004ƭ\\u0001O\\u0001ƭ\\\\vO\\\\tƭ\\u0004O\\u0001\\\\0\\u0001Ư\\\\v\\\\0\\u0001ư\\u0001{\\u0001\\\\0\\u0001Ư\\u0001\\\\0\\u0004Ư\\u0001\\\\0\\u0001Ư\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƯ\\u0005\\\\0\\u0001Ư\\\\v\\\\0\\u0001ư\\u0002\\\\0\\u0001Ư\\u0001\\\\0\\u0004Ư\\u0001\\\\0\\u0001Ư\\\\v\\\\0\\\\tƯ\\u0004\\\\0\\u0001|\\u0001Ʊ\\\\v|\\u0001Ʋ\\u0001«\\u0001|\\u0001Ʊ\\u0001|\\u0004Ʊ\\u0001|\\u0001Ʊ\\u0007|\\u0001€\\u0003|\\\\tƱ\\u0005|\\u0001Ʊ\\\\v|\\u0001Ƴ\\u0002|\\u0001Ʊ\\u0001|\\u0004Ʊ\\u0001|\\u0001Ʊ\\\\v|\\\\tƱ\\u0004|\\u0001\\\\0\\u0001ơ\\\\v\\\\0\\u0001Ƣ\\u0001U\\u0001\\\\0\\u0001ơ\\u0001\\\\0\\u0004ơ\\u0001\\\\0\\u0001ơ\\\\v\\\\0\\\\tơ\\u0004\\\\0\\u0001O\\u0001ƴ\\\\vO\\u0001Ƶ\\u0001…",
"\\u0001i\\u0001ƴ\\u0001O\\u0004ƴ\\u0001O\\u0001ƴ\\u0007O\\u0001Q\\u0003O\\\\tƴ\\u0005O\\u0001ƴ\\\\vO\\u0001Ƶ\\u0001O\\u0001i\\u0001ƴ\\u0001O\\u0004ƴ\\u0001O\\u0001ƴ\\\\vO\\\\tƴ\\u0004O\\u0001\\\\0\\u0001ƶ\\\\v\\\\0\\u0001Ʒ\\u0001{\\u0001\\\\0\\u0001ƶ\\u0001\\\\0\\u0004ƶ\\u0001\\\\0\\u0001ƶ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƶ\\u0005\\\\0\\u0001ƶ\\\\v\\\\0\\u0001Ʒ\\u0002\\\\0\\u0001ƶ\\u0001\\\\0\\u0004ƶ\\u0001\\\\0\\u0001ƶ\\\\v\\\\0\\\\tƶ\\u0004\\\\0\\u0001|\\u0001Ƹ\\\\v|\\u0001ƹ\\u0001«\\u0001|\\u0001Ƹ\\u0001|\\u0004Ƹ\\u0001|\\u0001Ƹ\\u0007|\\u0001€\\u0003|\\\\tƸ\\u0005|\\u0001Ƹ\\\\v|\\u0001ƺ\\u0002|\\u0001Ƹ\\u0001|\\u0004Ƹ\\u0001|\\u0001Ƹ\\\\v|\\\\tƸ\\u0004|\\u0001\\\\0\\u0001ƨ\\\\v\\\\0\\u0001Ʃ\\u0001U\\u0001\\\\0\\u0001ƨ\\u0001\\\\0\\u0004ƨ\\u0001\\\\0\\u0001ƨ\\\\v\\\\0\\\\tƨ\\u0004\\\\0\\u0001O\\u0001ƻ\\\\vO\\u0001Ƽ\\u0001…",
"\\u0001i\\u0001ƻ\\u0001O\\u0004ƻ\\u0001O\\u0001ƻ\\u0007O\\u0001Q\\u0003O\\\\tƻ\\u0005O\\u0001ƻ\\\\vO\\u0001Ƽ\\u0001O\\u0001i\\u0001ƻ\\u0001O\\u0004ƻ\\u0001O\\u0001ƻ\\\\vO\\\\tƻ\\u0004O\\u0001\\\\0\\u0001ƽ\\\\v\\\\0\\u0001ƾ\\u0001{\\u0001\\\\0\\u0001ƽ\\u0001\\\\0\\u0004ƽ\\u0001\\\\0\\u0001ƽ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƽ\\u0005\\\\0\\u0001ƽ\\\\v\\\\0\\u0001ƾ\\u0002\\\\0\\u0001ƽ\\u0001\\\\0\\u0004ƽ\\u0001\\\\0\\u0001ƽ\\\\v\\\\0\\\\tƽ\\u0004\\\\0\\u0001|\\u0001ƿ\\\\v|\\u0001ǀ\\u0001«\\u0001|\\u0001ƿ\\u0001|\\u0004ƿ\\u0001|\\u0001ƿ\\u0007|\\u0001€\\u0003|\\\\tƿ\\u0005|\\u0001ƿ\\\\v|\\u0001ǁ\\u0002|\\u0001ƿ\\u0001|\\u0004ƿ\\u0001|\\u0001ƿ\\\\v|\\\\tƿ\\u0004|\\u0001\\\\0\\u0001Ư\\\\v\\\\0\\u0001ư\\u0001U\\u0001\\\\0\\u0001Ư\\u0001\\\\0\\u0004Ư\\u0001\\\\0\\u0001Ư\\\\v\\\\0\\\\tƯ\\u0004\\\\0\\u0001O\\u0001ǂ\\\\vO\\u0001ǃ\\u0001…",
"\\u0001i\\u0001ǂ\\u0001O\\u0004ǂ\\u0001O\\u0001ǂ\\u0007O\\u0001Q\\u0003O\\\\tǂ\\u0005O\\u0001ǂ\\\\vO\\u0001ǃ\\u0001O\\u0001i\\u0001ǂ\\u0001O\\u0004ǂ\\u0001O\\u0001ǂ\\\\vO\\\\tǂ\\u0004O\\u0001\\\\0\\u0001DŽ\\\\v\\\\0\\u0001Dž\\u0001{\\u0001\\\\0\\u0001DŽ\\u0001\\\\0\\u0004DŽ\\u0001\\\\0\\u0001DŽ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tDŽ\\u0005\\\\0\\u0001DŽ\\\\v\\\\0\\u0001Dž\\u0002\\\\0\\u0001DŽ\\u0001\\\\0\\u0004DŽ\\u0001\\\\0\\u0001DŽ\\\\v\\\\0\\\\tDŽ\\u0004\\\\0\\u0001|\\u0001dž\\\\v|\\u0001LJ\\u0001«\\u0001|\\u0001dž\\u0001|\\u0004dž\\u0001|\\u0001dž\\u0007|\\u0001€\\u0003|\\\\tdž\\u0005|\\u0001dž\\\\v|\\u0001Lj\\u0002|\\u0001dž\\u0001|\\u0004dž\\u0001|\\u0001dž\\\\v|\\\\tdž\\u0004|\\u0001\\\\0\\u0001ƶ\\\\v\\\\0\\u0001Ʒ\\u0001U\\u0001\\\\0\\u0001ƶ\\u0001\\\\0\\u0004ƶ\\u0001\\\\0\\u0001ƶ\\\\v\\\\0\\\\tƶ\\u0004\\\\0\\u0001O\\u0001lj\\\\vO\\u0001NJ\\u0001…",
"\\u0001i\\u0001lj\\u0001O\\u0004lj\\u0001O\\u0001lj\\u0007O\\u0001Q\\u0003O\\\\tlj\\u0005O\\u0001lj\\\\vO\\u0001NJ\\u0001O\\u0001i\\u0001lj\\u0001O\\u0004lj\\u0001O\\u0001lj\\\\vO\\\\tlj\\u0004O\\u0001\\\\0\\u0001Nj\\\\v\\\\0\\u0001nj\\u0001{\\u0001\\\\0\\u0001Nj\\u0001\\\\0\\u0004Nj\\u0001\\\\0\\u0001Nj\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tNj\\u0005\\\\0\\u0001Nj\\\\v\\\\0\\u0001nj\\u0002\\\\0\\u0001Nj\\u0001\\\\0\\u0004Nj\\u0001\\\\0\\u0001Nj\\\\v\\\\0\\\\tNj\\u0004\\\\0\\u0001|\\u0001Ǎ\\\\v|\\u0001ǎ\\u0001«\\u0001|\\u0001Ǎ\\u0001|\\u0004Ǎ\\u0001|\\u0001Ǎ\\u0007|\\u0001€\\u0003|\\\\tǍ\\u0005|\\u0001Ǎ\\\\v|\\u0001Ǐ\\u0002|\\u0001Ǎ\\u0001|\\u0004Ǎ\\u0001|\\u0001Ǎ\\\\v|\\\\tǍ\\u0004|\\u0001\\\\0\\u0001ƽ\\\\v\\\\0\\u0001ƾ\\u0001U\\u0001\\\\0\\u0001ƽ\\u0001\\\\0\\u0004ƽ\\u0001\\\\0\\u0001ƽ\\\\v\\\\0\\\\tƽ\\u0004\\\\0\\u0001O\\u0001ǐ\\\\vO\\u0001Ǒ\\u0001…",
"\\u0001i\\u0001ǐ\\u0001O\\u0004ǐ\\u0001O\\u0001ǐ\\u0007O\\u0001Q\\u0003O\\\\tǐ\\u0005O\\u0001ǐ\\\\vO\\u0001Ǒ\\u0001O\\u0001i\\u0001ǐ\\u0001O\\u0004ǐ\\u0001O\\u0001ǐ\\\\vO\\\\tǐ\\u0004O\\u0001\\\\0\\u0001ǒ\\\\v\\\\0\\u0001Ǔ\\u0001{\\u0001\\\\0\\u0001ǒ\\u0001\\\\0\\u0004ǒ\\u0001\\\\0\\u0001ǒ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǒ\\u0005\\\\0\\u0001ǒ\\\\v\\\\0\\u0001Ǔ\\u0002\\\\0\\u0001ǒ\\u0001\\\\0\\u0004ǒ\\u0001\\\\0\\u0001ǒ\\\\v\\\\0\\\\tǒ\\u0004\\\\0\\u0001|\\u0001ǔ\\\\v|\\u0001Ǖ\\u0001«\\u0001|\\u0001ǔ\\u0001|\\u0004ǔ\\u0001|\\u0001ǔ\\u0007|\\u0001€\\u0003|\\\\tǔ\\u0005|\\u0001ǔ\\\\v|\\u0001ǖ\\u0002|\\u0001ǔ\\u0001|\\u0004ǔ\\u0001|\\u0001ǔ\\\\v|\\\\tǔ\\u0004|\\u0001\\\\0\\u0001DŽ\\\\v\\\\0\\u0001Dž\\u0001U\\u0001\\\\0\\u0001DŽ\\u0001\\\\0\\u0004DŽ\\u0001\\\\0\\u0001DŽ\\\\v\\\\0\\\\tDŽ\\u0004\\\\0\\u0001O\\u0001Ǘ\\\\vO\\u0001ǘ\\u0001…",
"\\u0001i\\u0001Ǘ\\u0001O\\u0004Ǘ\\u0001O\\u0001Ǘ\\u0007O\\u0001Q\\u0003O\\\\tǗ\\u0005O\\u0001Ǘ\\\\vO\\u0001ǘ\\u0001O\\u0001i\\u0001Ǘ\\u0001O\\u0004Ǘ\\u0001O\\u0001Ǘ\\\\vO\\\\tǗ\\u0004O\\u0001\\\\0\\u0001Ǚ\\\\v\\\\0\\u0001ǚ\\u0001{\\u0001\\\\0\\u0001Ǚ\\u0001\\\\0\\u0004Ǚ\\u0001\\\\0\\u0001Ǚ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǙ\\u0005\\\\0\\u0001Ǚ\\\\v\\\\0\\u0001ǚ\\u0002\\\\0\\u0001Ǚ\\u0001\\\\0\\u0004Ǚ\\u0001\\\\0\\u0001Ǚ\\\\v\\\\0\\\\tǙ\\u0004\\\\0\\u0001|\\u0001Ǜ\\\\v|\\u0001ǜ\\u0001«\\u0001|\\u0001Ǜ\\u0001|\\u0004Ǜ\\u0001|\\u0001Ǜ\\u0007|\\u0001€\\u0003|\\\\tǛ\\u0005|\\u0001Ǜ\\\\v|\\u0001ǝ\\u0002|\\u0001Ǜ\\u0001|\\u0004Ǜ\\u0001|\\u0001Ǜ\\\\v|\\\\tǛ\\u0004|\\u0001\\\\0\\u0001Nj\\\\v\\\\0\\u0001nj\\u0001U\\u0001\\\\0\\u0001Nj\\u0001\\\\0\\u0004Nj\\u0001\\\\0\\u0001Nj\\\\v\\\\0\\\\tNj\\u0004\\\\0\\u0001O\\u0001Ǟ\\\\vO\\u0001ǟ\\u0001…",
"\\u0001i\\u0001Ǟ\\u0001O\\u0004Ǟ\\u0001O\\u0001Ǟ\\u0007O\\u0001Q\\u0003O\\\\tǞ\\u0005O\\u0001Ǟ\\\\vO\\u0001ǟ\\u0001O\\u0001i\\u0001Ǟ\\u0001O\\u0004Ǟ\\u0001O\\u0001Ǟ\\\\vO\\\\tǞ\\u0004O\\u0001\\\\0\\u0001Ǡ\\\\v\\\\0\\u0001ǡ\\u0001{\\u0001\\\\0\\u0001Ǡ\\u0001\\\\0\\u0004Ǡ\\u0001\\\\0\\u0001Ǡ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǠ\\u0005\\\\0\\u0001Ǡ\\\\v\\\\0\\u0001ǡ\\u0002\\\\0\\u0001Ǡ\\u0001\\\\0\\u0004Ǡ\\u0001\\\\0\\u0001Ǡ\\\\v\\\\0\\\\tǠ\\u0004\\\\0\\u0001|\\u0001Ǣ\\\\v|\\u0001ǣ\\u0001«\\u0001|\\u0001Ǣ\\u0001|\\u0004Ǣ\\u0001|\\u0001Ǣ\\u0007|\\u0001€\\u0003|\\\\tǢ\\u0005|\\u0001Ǣ\\\\v|\\u0001Ǥ\\u0002|\\u0001Ǣ\\u0001|\\u0004Ǣ\\u0001|\\u0001Ǣ\\\\v|\\\\tǢ\\u0004|\\u0001\\\\0\\u0001ǒ\\\\v\\\\0\\u0001Ǔ\\u0001U\\u0001\\\\0\\u0001ǒ\\u0001\\\\0\\u0004ǒ\\u0001\\\\0\\u0001ǒ\\\\v\\\\0\\\\tǒ\\u0004\\\\0\\u0001O\\u0001ǥ\\\\vO\\u0001Ǧ\\u0001…",
"\\u0001i\\u0001ǥ\\u0001O\\u0004ǥ\\u0001O\\u0001ǥ\\u0007O\\u0001Q\\u0003O\\\\tǥ\\u0005O\\u0001ǥ\\\\vO\\u0001Ǧ\\u0001O\\u0001i\\u0001ǥ\\u0001O\\u0004ǥ\\u0001O\\u0001ǥ\\\\vO\\\\tǥ\\u0004O\\u0001\\\\0\\u0001ǧ\\\\v\\\\0\\u0001Ǩ\\u0001{\\u0001\\\\0\\u0001ǧ\\u0001\\\\0\\u0004ǧ\\u0001\\\\0\\u0001ǧ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǧ\\u0005\\\\0\\u0001ǧ\\\\v\\\\0\\u0001Ǩ\\u0002\\\\0\\u0001ǧ\\u0001\\\\0\\u0004ǧ\\u0001\\\\0\\u0001ǧ\\\\v\\\\0\\\\tǧ\\u0004\\\\0\\u0001|\\u0001ǩ\\\\v|\\u0001Ǫ\\u0001«\\u0001|\\u0001ǩ\\u0001|\\u0004ǩ\\u0001|\\u0001ǩ\\u0007|\\u0001€\\u0003|\\\\tǩ\\u0005|\\u0001ǩ\\\\v|\\u0001ǫ\\u0002|\\u0001ǩ\\u0001|\\u0004ǩ\\u0001|\\u0001ǩ\\\\v|\\\\tǩ\\u0004|\\u0001\\\\0\\u0001Ǚ\\\\v\\\\0\\u0001ǚ\\u0001U\\u0001\\\\0\\u0001Ǚ\\u0001\\\\0\\u0004Ǚ\\u0001\\\\0\\u0001Ǚ\\\\v\\\\0\\\\tǙ\\u0004\\\\0\\u0001O\\u0001Ǭ\\\\vO\\u0001ǭ\\u0001…",
"\\u0001i\\u0001Ǭ\\u0001O\\u0004Ǭ\\u0001O\\u0001Ǭ\\u0007O\\u0001Q\\u0003O\\\\tǬ\\u0005O\\u0001Ǭ\\\\vO\\u0001ǭ\\u0001O\\u0001i\\u0001Ǭ\\u0001O\\u0004Ǭ\\u0001O\\u0001Ǭ\\\\vO\\\\tǬ\\u0004O\\u0001\\\\0\\u0001Ǯ\\\\v\\\\0\\u0001ǯ\\u0001{\\u0001\\\\0\\u0001Ǯ\\u0001\\\\0\\u0004Ǯ\\u0001\\\\0\\u0001Ǯ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǮ\\u0005\\\\0\\u0001Ǯ\\\\v\\\\0\\u0001ǯ\\u0002\\\\0\\u0001Ǯ\\u0001\\\\0\\u0004Ǯ\\u0001\\\\0\\u0001Ǯ\\\\v\\\\0\\\\tǮ\\u0004\\\\0\\u0001|\\u0001ǰ\\\\v|\\u0001DZ\\u0001«\\u0001|\\u0001ǰ\\u0001|\\u0004ǰ\\u0001|\\u0001ǰ\\u0007|\\u0001€\\u0003|\\\\tǰ\\u0005|\\u0001ǰ\\\\v|\\u0001Dz\\u0002|\\u0001ǰ\\u0001|\\u0004ǰ\\u0001|\\u0001ǰ\\\\v|\\\\tǰ\\u0004|\\u0001\\\\0\\u0001Ǡ\\\\v\\\\0\\u0001ǡ\\u0001U\\u0001\\\\0\\u0001Ǡ\\u0001\\\\0\\u0004Ǡ\\u0001\\\\0\\u0001Ǡ\\\\v\\\\0\\\\tǠ\\u0004\\\\0\\u0001O\\u0001dz\\\\vO\\u0001Ǵ\\u0001…",
"\\u0001i\\u0001dz\\u0001O\\u0004dz\\u0001O\\u0001dz\\u0007O\\u0001Q\\u0003O\\\\tdz\\u0005O\\u0001dz\\\\vO\\u0001Ǵ\\u0001O\\u0001i\\u0001dz\\u0001O\\u0004dz\\u0001O\\u0001dz\\\\vO\\\\tdz\\u0004O\\u0001\\\\0\\u0001ǵ\\\\v\\\\0\\u0001Ƕ\\u0001{\\u0001\\\\0\\u0001ǵ\\u0001\\\\0\\u0004ǵ\\u0001\\\\0\\u0001ǵ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǵ\\u0005\\\\0\\u0001ǵ\\\\v\\\\0\\u0001Ƕ\\u0002\\\\0\\u0001ǵ\\u0001\\\\0\\u0004ǵ\\u0001\\\\0\\u0001ǵ\\\\v\\\\0\\\\tǵ\\u0004\\\\0\\u0001|\\u0001Ƿ\\\\v|\\u0001Ǹ\\u0001«\\u0001|\\u0001Ƿ\\u0001|\\u0004Ƿ\\u0001|\\u0001Ƿ\\u0007|\\u0001€\\u0003|\\\\tǷ\\u0005|\\u0001Ƿ\\\\v|\\u0001ǹ\\u0002|\\u0001Ƿ\\u0001|\\u0004Ƿ\\u0001|\\u0001Ƿ\\\\v|\\\\tǷ\\u0004|\\u0001\\\\0\\u0001ǧ\\\\v\\\\0\\u0001Ǩ\\u0001U\\u0001\\\\0\\u0001ǧ\\u0001\\\\0\\u0004ǧ\\u0001\\\\0\\u0001ǧ\\\\v\\\\0\\\\tǧ\\u0004\\\\0\\u0001O\\u0001Ǻ\\\\vO\\u0001ǻ\\u0001…",
"\\u0001i\\u0001Ǻ\\u0001O\\u0004Ǻ\\u0001O\\u0001Ǻ\\u0007O\\u0001Q\\u0003O\\\\tǺ\\u0005O\\u0001Ǻ\\\\vO\\u0001ǻ\\u0001O\\u0001i\\u0001Ǻ\\u0001O\\u0004Ǻ\\u0001O\\u0001Ǻ\\\\vO\\\\tǺ\\u0004O\\u0001\\\\0\\u0001Ǽ\\\\v\\\\0\\u0001ǽ\\u0001{\\u0001\\\\0\\u0001Ǽ\\u0001\\\\0\\u0004Ǽ\\u0001\\\\0\\u0001Ǽ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǼ\\u0005\\\\0\\u0001Ǽ\\\\v\\\\0\\u0001ǽ\\u0002\\\\0\\u0001Ǽ\\u0001\\\\0\\u0004Ǽ\\u0001\\\\0\\u0001Ǽ\\\\v\\\\0\\\\tǼ\\u0004\\\\0\\u0001|\\u0001Ǿ\\\\v|\\u0001ǿ\\u0001«\\u0001|\\u0001Ǿ\\u0001|\\u0004Ǿ\\u0001|\\u0001Ǿ\\u0007|\\u0001€\\u0003|\\\\tǾ\\u0005|\\u0001Ǿ\\\\v|\\u0001Ȁ\\u0002|\\u0001Ǿ\\u0001|\\u0004Ǿ\\u0001|\\u0001Ǿ\\\\v|\\\\tǾ\\u0004|\\u0001\\\\0\\u0001Ǯ\\\\v\\\\0\\u0001ǯ\\u0001U\\u0001\\\\0\\u0001Ǯ\\u0001\\\\0\\u0004Ǯ\\u0001\\\\0\\u0001Ǯ\\\\v\\\\0\\\\tǮ\\u0004\\\\0\\u0001O\\u0001ȁ\\\\vO\\u0001Ȃ\\u0001…",
"\\u0001i\\u0001ȁ\\u0001O\\u0004ȁ\\u0001O\\u0001ȁ\\u0007O\\u0001Q\\u0003O\\\\tȁ\\u0005O\\u0001ȁ\\\\vO\\u0001Ȃ\\u0001O\\u0001i\\u0001ȁ\\u0001O\\u0004ȁ\\u0001O\\u0001ȁ\\\\vO\\\\tȁ\\u0004O\\u0001\\\\0\\u0001ȃ\\\\v\\\\0\\u0001Ȅ\\u0001{\\u0001\\\\0\\u0001ȃ\\u0001\\\\0\\u0004ȃ\\u0001\\\\0\\u0001ȃ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȃ\\u0005\\\\0\\u0001ȃ\\\\v\\\\0\\u0001Ȅ\\u0002\\\\0\\u0001ȃ\\u0001\\\\0\\u0004ȃ\\u0001\\\\0\\u0001ȃ\\\\v\\\\0\\\\tȃ\\u0004\\\\0\\u0001|\\u0001ȅ\\\\v|\\u0001Ȇ\\u0001«\\u0001|\\u0001ȅ\\u0001|\\u0004ȅ\\u0001|\\u0001ȅ\\u0007|\\u0001€\\u0003|\\\\tȅ\\u0005|\\u0001ȅ\\\\v|\\u0001ȇ\\u0002|\\u0001ȅ\\u0001|\\u0004ȅ\\u0001|\\u0001ȅ\\\\v|\\\\tȅ\\u0004|\\u0001\\\\0\\u0001ǵ\\\\v\\\\0\\u0001Ƕ\\u0001U\\u0001\\\\0\\u0001ǵ\\u0001\\\\0\\u0004ǵ\\u0001\\\\0\\u0001ǵ\\\\v\\\\0\\\\tǵ\\u0004\\\\0\\u0001O\\u0001Ȉ\\\\vO\\u0001ȉ\\u0001…",
"\\u0001i\\u0001Ȉ\\u0001O\\u0004Ȉ\\u0001O\\u0001Ȉ\\u0007O\\u0001Q\\u0003O\\\\tȈ\\u0005O\\u0001Ȉ\\\\vO\\u0001ȉ\\u0001O\\u0001i\\u0001Ȉ\\u0001O\\u0004Ȉ\\u0001O\\u0001Ȉ\\\\vO\\\\tȈ\\u0004O\\u0001\\\\0\\u0001Ȋ\\\\v\\\\0\\u0001ȋ\\u0001{\\u0001\\\\0\\u0001Ȋ\\u0001\\\\0\\u0004Ȋ\\u0001\\\\0\\u0001Ȋ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȊ\\u0005\\\\0\\u0001Ȋ\\\\v\\\\0\\u0001ȋ\\u0002\\\\0\\u0001Ȋ\\u0001\\\\0\\u0004Ȋ\\u0001\\\\0\\u0001Ȋ\\\\v\\\\0\\\\tȊ\\u0004\\\\0\\u0001|\\u0001Ȍ\\\\v|\\u0001ȍ\\u0001«\\u0001|\\u0001Ȍ\\u0001|\\u0004Ȍ\\u0001|\\u0001Ȍ\\u0007|\\u0001€\\u0003|\\\\tȌ\\u0005|\\u0001Ȍ\\\\v|\\u0001Ȏ\\u0002|\\u0001Ȍ\\u0001|\\u0004Ȍ\\u0001|\\u0001Ȍ\\\\v|\\\\tȌ\\u0004|\\u0001\\\\0\\u0001Ǽ\\\\v\\\\0\\u0001ǽ\\u0001U\\u0001\\\\0\\u0001Ǽ\\u0001\\\\0\\u0004Ǽ\\u0001\\\\0\\u0001Ǽ\\\\v\\\\0\\\\tǼ\\u0004\\\\0\\u0001O\\u0001ȏ\\\\vO\\u0001Ȑ\\u0001…",
"\\u0001i\\u0001ȏ\\u0001O\\u0004ȏ\\u0001O\\u0001ȏ\\u0007O\\u0001Q\\u0003O\\\\tȏ\\u0005O\\u0001ȏ\\\\vO\\u0001Ȑ\\u0001O\\u0001i\\u0001ȏ\\u0001O\\u0004ȏ\\u0001O\\u0001ȏ\\\\vO\\\\tȏ\\u0004O\\u0001\\\\0\\u0001ȑ\\\\v\\\\0\\u0001Ȓ\\u0001{\\u0001\\\\0\\u0001ȑ\\u0001\\\\0\\u0004ȑ\\u0001\\\\0\\u0001ȑ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȑ\\u0005\\\\0\\u0001ȑ\\\\v\\\\0\\u0001Ȓ\\u0002\\\\0\\u0001ȑ\\u0001\\\\0\\u0004ȑ\\u0001\\\\0\\u0001ȑ\\\\v\\\\0\\\\tȑ\\u0004\\\\0\\u0001|\\u0001ȓ\\\\v|\\u0001Ȕ\\u0001«\\u0001|\\u0001ȓ\\u0001|\\u0004ȓ\\u0001|\\u0001ȓ\\u0007|\\u0001€\\u0003|\\\\tȓ\\u0005|\\u0001ȓ\\\\v|\\u0001ȕ\\u0002|\\u0001ȓ\\u0001|\\u0004ȓ\\u0001|\\u0001ȓ\\\\v|\\\\tȓ\\u0004|\\u0001\\\\0\\u0001ȃ\\\\v\\\\0\\u0001Ȅ\\u0001U\\u0001\\\\0\\u0001ȃ\\u0001\\\\0\\u0004ȃ\\u0001\\\\0\\u0001ȃ\\\\v\\\\0\\\\tȃ\\u0004\\\\0\\u0001O\\u0001Ȗ\\\\vO\\u0001ȗ\\u0001…",
"\\u0001i\\u0001Ȗ\\u0001O\\u0004Ȗ\\u0001O\\u0001Ȗ\\u0007O\\u0001Q\\u0003O\\\\tȖ\\u0005O\\u0001Ȗ\\\\vO\\u0001ȗ\\u0001O\\u0001i\\u0001Ȗ\\u0001O\\u0004Ȗ\\u0001O\\u0001Ȗ\\\\vO\\\\tȖ\\u0004O\\u0001\\\\0\\u0001Ș\\\\v\\\\0\\u0001ș\\u0001{\\u0001\\\\0\\u0001Ș\\u0001\\\\0\\u0004Ș\\u0001\\\\0\\u0001Ș\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȘ\\u0005\\\\0\\u0001Ș\\\\v\\\\0\\u0001ș\\u0002\\\\0\\u0001Ș\\u0001\\\\0\\u0004Ș\\u0001\\\\0\\u0001Ș\\\\v\\\\0\\\\tȘ\\u0004\\\\0\\u0001|\\u0001Ț\\\\v|\\u0001ț\\u0001«\\u0001|\\u0001Ț\\u0001|\\u0004Ț\\u0001|\\u0001Ț\\u0007|\\u0001€\\u0003|\\\\tȚ\\u0005|\\u0001Ț\\\\v|\\u0001Ȝ\\u0002|\\u0001Ț\\u0001|\\u0004Ț\\u0001|\\u0001Ț\\\\v|\\\\tȚ\\u0004|\\u0001\\\\0\\u0001Ȋ\\\\v\\\\0\\u0001ȋ\\u0001U\\u0001\\\\0\\u0001Ȋ\\u0001\\\\0\\u0004Ȋ\\u0001\\\\0\\u0001Ȋ\\\\v\\\\0\\\\tȊ\\u0004\\\\0\\u0001O\\u0001ȝ\\\\vO\\u0001Ȟ\\u0001…",
"\\u0001i\\u0001ȝ\\u0001O\\u0004ȝ\\u0001O\\u0001ȝ\\u0007O\\u0001Q\\u0003O\\\\tȝ\\u0005O\\u0001ȝ\\\\vO\\u0001Ȟ\\u0001O\\u0001i\\u0001ȝ\\u0001O\\u0004ȝ\\u0001O\\u0001ȝ\\\\vO\\\\tȝ\\u0004O\\u0001\\\\0\\u0001ȟ\\\\v\\\\0\\u0001Ƞ\\u0001{\\u0001\\\\0\\u0001ȟ\\u0001\\\\0\\u0004ȟ\\u0001\\\\0\\u0001ȟ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȟ\\u0005\\\\0\\u0001ȟ\\\\v\\\\0\\u0001Ƞ\\u0002\\\\0\\u0001ȟ\\u0001\\\\0\\u0004ȟ\\u0001\\\\0\\u0001ȟ\\\\v\\\\0\\\\tȟ\\u0004\\\\0\\u0001|\\u0001ȡ\\\\v|\\u0001Ȣ\\u0001«\\u0001|\\u0001ȡ\\u0001|\\u0004ȡ\\u0001|\\u0001ȡ\\u0007|\\u0001€\\u0003|\\\\tȡ\\u0005|\\u0001ȡ\\\\v|\\u0001ȣ\\u0002|\\u0001ȡ\\u0001|\\u0004ȡ\\u0001|\\u0001ȡ\\\\v|\\\\tȡ\\u0004|\\u0001\\\\0\\u0001ȑ\\\\v\\\\0\\u0001Ȓ\\u0001U\\u0001\\\\0\\u0001ȑ\\u0001\\\\0\\u0004ȑ\\u0001\\\\0\\u0001ȑ\\\\v\\\\0\\\\tȑ\\u0004\\\\0\\u0001O\\u0001Ȥ\\\\vO\\u0001ȥ\\u0001…",
"\\u0001i\\u0001Ȥ\\u0001O\\u0004Ȥ\\u0001O\\u0001Ȥ\\u0007O\\u0001Q\\u0003O\\\\tȤ\\u0005O\\u0001Ȥ\\\\vO\\u0001ȥ\\u0001O\\u0001i\\u0001Ȥ\\u0001O\\u0004Ȥ\\u0001O\\u0001Ȥ\\\\vO\\\\tȤ\\u0004O\\u0001\\\\0\\u0001Ȧ\\\\v\\\\0\\u0001ȧ\\u0001{\\u0001\\\\0\\u0001Ȧ\\u0001\\\\0\\u0004Ȧ\\u0001\\\\0\\u0001Ȧ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȦ\\u0005\\\\0\\u0001Ȧ\\\\v\\\\0\\u0001ȧ\\u0002\\\\0\\u0001Ȧ\\u0001\\\\0\\u0004Ȧ\\u0001\\\\0\\u0001Ȧ\\\\v\\\\0\\\\tȦ\\u0004\\\\0\\u0001|\\u0001Ȩ\\\\v|\\u0001ȩ\\u0001«\\u0001|\\u0001Ȩ\\u0001|\\u0004Ȩ\\u0001|\\u0001Ȩ\\u0007|\\u0001€\\u0003|\\\\tȨ\\u0005|\\u0001Ȩ\\\\v|\\u0001Ȫ\\u0002|\\u0001Ȩ\\u0001|\\u0004Ȩ\\u0001|\\u0001Ȩ\\\\v|\\\\tȨ\\u0004|\\u0001\\\\0\\u0001Ș\\\\v\\\\0\\u0001ș\\u0001U\\u0001\\\\0\\u0001Ș\\u0001\\\\0\\u0004Ș\\u0001\\\\0\\u0001Ș\\\\v\\\\0\\\\tȘ\\u0004\\\\0\\u0001O\\u0001ȫ\\\\vO\\u0001Ȭ\\u0001…",
"\\u0001i\\u0001ȫ\\u0001O\\u0004ȫ\\u0001O\\u0001ȫ\\u0007O\\u0001Q\\u0003O\\\\tȫ\\u0005O\\u0001ȫ\\\\vO\\u0001Ȭ\\u0001O\\u0001i\\u0001ȫ\\u0001O\\u0004ȫ\\u0001O\\u0001ȫ\\\\vO\\\\tȫ\\u0004O\\u0001\\\\0\\u0001ȭ\\\\v\\\\0\\u0001Ȯ\\u0001{\\u0001\\\\0\\u0001ȭ\\u0001\\\\0\\u0004ȭ\\u0001\\\\0\\u0001ȭ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȭ\\u0005\\\\0\\u0001ȭ\\\\v\\\\0\\u0001Ȯ\\u0002\\\\0\\u0001ȭ\\u0001\\\\0\\u0004ȭ\\u0001\\\\0\\u0001ȭ\\\\v\\\\0\\\\tȭ\\u0004\\\\0\\u0001|\\u0001ȯ\\\\v|\\u0001Ȱ\\u0001«\\u0001|\\u0001ȯ\\u0001|\\u0004ȯ\\u0001|\\u0001ȯ\\u0007|\\u0001€\\u0003|\\\\tȯ\\u0005|\\u0001ȯ\\\\v|\\u0001ȱ\\u0002|\\u0001ȯ\\u0001|\\u0004ȯ\\u0001|\\u0001ȯ\\\\v|\\\\tȯ\\u0004|\\u0001\\\\0\\u0001ȟ\\\\v\\\\0\\u0001Ƞ\\u0001U\\u0001\\\\0\\u0001ȟ\\u0001\\\\0\\u0004ȟ\\u0001\\\\0\\u0001ȟ\\\\v\\\\0\\\\tȟ\\u0004\\\\0\\u0001O\\u0001Ȳ\\\\vO\\u0001ȳ\\u0001…",
"\\u0001i\\u0001Ȳ\\u0001O\\u0004Ȳ\\u0001O\\u0001Ȳ\\u0007O\\u0001Q\\u0003O\\\\tȲ\\u0005O\\u0001Ȳ\\\\vO\\u0001ȳ\\u0001O\\u0001i\\u0001Ȳ\\u0001O\\u0004Ȳ\\u0001O\\u0001Ȳ\\\\vO\\\\tȲ\\u0004O\\u0001\\\\0\\u0001ȴ\\\\v\\\\0\\u0001ȵ\\u0001{\\u0001\\\\0\\u0001ȴ\\u0001\\\\0\\u0004ȴ\\u0001\\\\0\\u0001ȴ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȴ\\u0005\\\\0\\u0001ȴ\\\\v\\\\0\\u0001ȵ\\u0002\\\\0\\u0001ȴ\\u0001\\\\0\\u0004ȴ\\u0001\\\\0\\u0001ȴ\\\\v\\\\0\\\\tȴ\\u0004\\\\0\\u0001|\\u0001ȶ\\\\v|\\u0001ȷ\\u0001«\\u0001|\\u0001ȶ\\u0001|\\u0004ȶ\\u0001|\\u0001ȶ\\u0007|\\u0001€\\u0003|\\\\tȶ\\u0005|\\u0001ȶ\\\\v|\\u0001ȸ\\u0002|\\u0001ȶ\\u0001|\\u0004ȶ\\u0001|\\u0001ȶ\\\\v|\\\\tȶ\\u0004|\\u0001\\\\0\\u0001Ȧ\\\\v\\\\0\\u0001ȧ\\u0001U\\u0001\\\\0\\u0001Ȧ\\u0001\\\\0\\u0004Ȧ\\u0001\\\\0\\u0001Ȧ\\\\v\\\\0\\\\tȦ\\u0004\\\\0\\u0001O\\u0001ȹ\\\\vO\\u0001Ⱥ\\u0001…",
"\\u0001i\\u0001ȹ\\u0001O\\u0004ȹ\\u0001O\\u0001ȹ\\u0007O\\u0001Q\\u0003O\\\\tȹ\\u0005O\\u0001ȹ\\\\vO\\u0001Ⱥ\\u0001O\\u0001i\\u0001ȹ\\u0001O\\u0004ȹ\\u0001O\\u0001ȹ\\\\vO\\\\tȹ\\u0004O\\u0001\\\\0\\u0001Ȼ\\\\v\\\\0\\u0001ȼ\\u0001{\\u0001\\\\0\\u0001Ȼ\\u0001\\\\0\\u0004Ȼ\\u0001\\\\0\\u0001Ȼ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȻ\\u0005\\\\0\\u0001Ȼ\\\\v\\\\0\\u0001ȼ\\u0002\\\\0\\u0001Ȼ\\u0001\\\\0\\u0004Ȼ\\u0001\\\\0\\u0001Ȼ\\\\v\\\\0\\\\tȻ\\u0004\\\\0\\u0001|\\u0001Ƚ\\\\v|\\u0001Ⱦ\\u0001«\\u0001|\\u0001Ƚ\\u0001|\\u0004Ƚ\\u0001|\\u0001Ƚ\\u0007|\\u0001€\\u0003|\\\\tȽ\\u0005|\\u0001Ƚ\\\\v|\\u0001ȿ\\u0002|\\u0001Ƚ\\u0001|\\u0004Ƚ\\u0001|\\u0001Ƚ\\\\v|\\\\tȽ\\u0004|\\u0001\\\\0\\u0001ȭ\\\\v\\\\0\\u0001Ȯ\\u0001U\\u0001\\\\0\\u0001ȭ\\u0001\\\\0\\u0004ȭ\\u0001\\\\0\\u0001ȭ\\\\v\\\\0\\\\tȭ\\u0004\\\\0\\u0001O\\u0001ɀ\\\\vO\\u0001Ɂ\\u0001…",
"\\u0001i\\u0001ɀ\\u0001O\\u0004ɀ\\u0001O\\u0001ɀ\\u0007O\\u0001Q\\u0003O\\\\tɀ\\u0005O\\u0001ɀ\\\\vO\\u0001Ɂ\\u0001O\\u0001i\\u0001ɀ\\u0001O\\u0004ɀ\\u0001O\\u0001ɀ\\\\vO\\\\tɀ\\u0004O\\u0001\\\\0\\u0001ɂ\\\\v\\\\0\\u0001Ƀ\\u0001{\\u0001\\\\0\\u0001ɂ\\u0001\\\\0\\u0004ɂ\\u0001\\\\0\\u0001ɂ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɂ\\u0005\\\\0\\u0001ɂ\\\\v\\\\0\\u0001Ƀ\\u0002\\\\0\\u0001ɂ\\u0001\\\\0\\u0004ɂ\\u0001\\\\0\\u0001ɂ\\\\v\\\\0\\\\tɂ\\u0004\\\\0\\u0001|\\u0001Ʉ\\\\v|\\u0001Ʌ\\u0001«\\u0001|\\u0001Ʉ\\u0001|\\u0004Ʉ\\u0001|\\u0001Ʉ\\u0007|\\u0001€\\u0003|\\\\tɄ\\u0005|\\u0001Ʉ\\\\v|\\u0001Ɇ\\u0002|\\u0001Ʉ\\u0001|\\u0004Ʉ\\u0001|\\u0001Ʉ\\\\v|\\\\tɄ\\u0004|\\u0001\\\\0\\u0001ȴ\\\\v\\\\0\\u0001ȵ\\u0001U\\u0001\\\\0\\u0001ȴ\\u0001\\\\0\\u0004ȴ\\u0001\\\\0\\u0001ȴ\\\\v\\\\0\\\\tȴ\\u0004\\\\0\\u0001O\\u0001ɇ\\\\vO\\u0001Ɉ\\u0001…",
"\\u0001i\\u0001ɇ\\u0001O\\u0004ɇ\\u0001O\\u0001ɇ\\u0007O\\u0001Q\\u0003O\\\\tɇ\\u0005O\\u0001ɇ\\\\vO\\u0001Ɉ\\u0001O\\u0001i\\u0001ɇ\\u0001O\\u0004ɇ\\u0001O\\u0001ɇ\\\\vO\\\\tɇ\\u0004O\\u0001\\\\0\\u0001ɉ\\\\v\\\\0\\u0001Ɋ\\u0001{\\u0001\\\\0\\u0001ɉ\\u0001\\\\0\\u0004ɉ\\u0001\\\\0\\u0001ɉ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɉ\\u0005\\\\0\\u0001ɉ\\\\v\\\\0\\u0001Ɋ\\u0002\\\\0\\u0001ɉ\\u0001\\\\0\\u0004ɉ\\u0001\\\\0\\u0001ɉ\\\\v\\\\0\\\\tɉ\\u0004\\\\0\\u0001|\\u0001ɋ\\\\v|\\u0001Ɍ\\u0001«\\u0001|\\u0001ɋ\\u0001|\\u0004ɋ\\u0001|\\u0001ɋ\\u0007|\\u0001€\\u0003|\\\\tɋ\\u0005|\\u0001ɋ\\\\v|\\u0001ɍ\\u0002|\\u0001ɋ\\u0001|\\u0004ɋ\\u0001|\\u0001ɋ\\\\v|\\\\tɋ\\u0004|\\u0001\\\\0\\u0001Ȼ\\\\v\\\\0\\u0001ȼ\\u0001U\\u0001\\\\0\\u0001Ȼ\\u0001\\\\0\\u0004Ȼ\\u0001\\\\0\\u0001Ȼ\\\\v\\\\0\\\\tȻ\\u0004\\\\0\\u0001O\\u0001Ɏ\\\\vO\\u0001ɏ\\u0001…",
"\\u0001i\\u0001Ɏ\\u0001O\\u0004Ɏ\\u0001O\\u0001Ɏ\\u0007O\\u0001Q\\u0003O\\\\tɎ\\u0005O\\u0001Ɏ\\\\vO\\u0001ɏ\\u0001O\\u0001i\\u0001Ɏ\\u0001O\\u0004Ɏ\\u0001O\\u0001Ɏ\\\\vO\\\\tɎ\\u0004O\\u0001\\\\0\\u0001ɐ\\\\v\\\\0\\u0001ɑ\\u0001{\\u0001\\\\0\\u0001ɐ\\u0001\\\\0\\u0004ɐ\\u0001\\\\0\\u0001ɐ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɐ\\u0005\\\\0\\u0001ɐ\\\\v\\\\0\\u0001ɑ\\u0002\\\\0\\u0001ɐ\\u0001\\\\0\\u0004ɐ\\u0001\\\\0\\u0001ɐ\\\\v\\\\0\\\\tɐ\\u0004\\\\0\\u0001|\\u0001ɒ\\\\v|\\u0001ɓ\\u0001«\\u0001|\\u0001ɒ\\u0001|\\u0004ɒ\\u0001|\\u0001ɒ\\u0007|\\u0001€\\u0003|\\\\tɒ\\u0005|\\u0001ɒ\\\\v|\\u0001ɔ\\u0002|\\u0001ɒ\\u0001|\\u0004ɒ\\u0001|\\u0001ɒ\\\\v|\\\\tɒ\\u0004|\\u0001\\\\0\\u0001ɂ\\\\v\\\\0\\u0001Ƀ\\u0001U\\u0001\\\\0\\u0001ɂ\\u0001\\\\0\\u0004ɂ\\u0001\\\\0\\u0001ɂ\\\\v\\\\0\\\\tɂ\\u0004\\\\0\\u0001O\\u0001ɕ\\\\vO\\u0001ɖ\\u0001…",
"\\u0001i\\u0001ɕ\\u0001O\\u0004ɕ\\u0001O\\u0001ɕ\\u0007O\\u0001Q\\u0003O\\\\tɕ\\u0005O\\u0001ɕ\\\\vO\\u0001ɖ\\u0001O\\u0001i\\u0001ɕ\\u0001O\\u0004ɕ\\u0001O\\u0001ɕ\\\\vO\\\\tɕ\\u0004O\\u0001\\\\0\\u0001ɗ\\\\v\\\\0\\u0001ɘ\\u0001{\\u0001\\\\0\\u0001ɗ\\u0001\\\\0\\u0004ɗ\\u0001\\\\0\\u0001ɗ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɗ\\u0005\\\\0\\u0001ɗ\\\\v\\\\0\\u0001ɘ\\u0002\\\\0\\u0001ɗ\\u0001\\\\0\\u0004ɗ\\u0001\\\\0\\u0001ɗ\\\\v\\\\0\\\\tɗ\\u0004\\\\0\\u0001|\\u0001ə\\\\v|\\u0001ɚ\\u0001«\\u0001|\\u0001ə\\u0001|\\u0004ə\\u0001|\\u0001ə\\u0007|\\u0001€\\u0003|\\\\tə\\u0005|\\u0001ə\\\\v|\\u0001ɛ\\u0002|\\u0001ə\\u0001|\\u0004ə\\u0001|\\u0001ə\\\\v|\\\\tə\\u0004|\\u0001\\\\0\\u0001ɉ\\\\v\\\\0\\u0001Ɋ\\u0001U\\u0001\\\\0\\u0001ɉ\\u0001\\\\0\\u0004ɉ\\u0001\\\\0\\u0001ɉ\\\\v\\\\0\\\\tɉ\\u0004\\\\0\\u0001O\\u0001ɜ\\\\vO\\u0001ɝ\\u0001…",
"\\u0001i\\u0001ɜ\\u0001O\\u0004ɜ\\u0001O\\u0001ɜ\\u0007O\\u0001Q\\u0003O\\\\tɜ\\u0005O\\u0001ɜ\\\\vO\\u0001ɝ\\u0001O\\u0001i\\u0001ɜ\\u0001O\\u0004ɜ\\u0001O\\u0001ɜ\\\\vO\\\\tɜ\\u0004O\\u0001\\\\0\\u0001ɞ\\\\v\\\\0\\u0001ɟ\\u0001{\\u0001\\\\0\\u0001ɞ\\u0001\\\\0\\u0004ɞ\\u0001\\\\0\\u0001ɞ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɞ\\u0005\\\\0\\u0001ɞ\\\\v\\\\0\\u0001ɟ\\u0002\\\\0\\u0001ɞ\\u0001\\\\0\\u0004ɞ\\u0001\\\\0\\u0001ɞ\\\\v\\\\0\\\\tɞ\\u0004\\\\0\\u0001|\\u0001ɠ\\\\v|\\u0001ɡ\\u0001«\\u0001|\\u0001ɠ\\u0001|\\u0004ɠ\\u0001|\\u0001ɠ\\u0007|\\u0001€\\u0003|\\\\tɠ\\u0005|\\u0001ɠ\\\\v|\\u0001ɢ\\u0002|\\u0001ɠ\\u0001|\\u0004ɠ\\u0001|\\u0001ɠ\\\\v|\\\\tɠ\\u0004|\\u0001\\\\0\\u0001ɐ\\\\v\\\\0\\u0001ɑ\\u0001U\\u0001\\\\0\\u0001ɐ\\u0001\\\\0\\u0004ɐ\\u0001\\\\0\\u0001ɐ\\\\v\\\\0\\\\tɐ\\u0004\\\\0\\u0001O\\u0001ɣ\\\\vO\\u0001ɤ\\u0001…",
"\\u0001i\\u0001ɣ\\u0001O\\u0004ɣ\\u0001O\\u0001ɣ\\u0007O\\u0001Q\\u0003O\\\\tɣ\\u0005O\\u0001ɣ\\\\vO\\u0001ɤ\\u0001O\\u0001i\\u0001ɣ\\u0001O\\u0004ɣ\\u0001O\\u0001ɣ\\\\vO\\\\tɣ\\u0004O\\u0001\\\\0\\u0001ɥ\\\\v\\\\0\\u0001ɦ\\u0001{\\u0001\\\\0\\u0001ɥ\\u0001\\\\0\\u0004ɥ\\u0001\\\\0\\u0001ɥ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɥ\\u0005\\\\0\\u0001ɥ\\\\v\\\\0\\u0001ɦ\\u0002\\\\0\\u0001ɥ\\u0001\\\\0\\u0004ɥ\\u0001\\\\0\\u0001ɥ\\\\v\\\\0\\\\tɥ\\u0004\\\\0\\u0001|\\u0001ɧ\\\\v|\\u0001ɨ\\u0001«\\u0001|\\u0001ɧ\\u0001|\\u0004ɧ\\u0001|\\u0001ɧ\\u0007|\\u0001€\\u0003|\\\\tɧ\\u0005|\\u0001ɧ\\\\v|\\u0001ɩ\\u0002|\\u0001ɧ\\u0001|\\u0004ɧ\\u0001|\\u0001ɧ\\\\v|\\\\tɧ\\u0004|\\u0001\\\\0\\u0001ɗ\\\\v\\\\0\\u0001ɘ\\u0001U\\u0001\\\\0\\u0001ɗ\\u0001\\\\0\\u0004ɗ\\u0001\\\\0\\u0001ɗ\\\\v\\\\0\\\\tɗ\\u0004\\\\0\\u0001O\\u0001ɪ\\\\vO\\u0001ɫ\\u0001…",
"\\u0001i\\u0001ɪ\\u0001O\\u0004ɪ\\u0001O\\u0001ɪ\\u0007O\\u0001Q\\u0003O\\\\tɪ\\u0005O\\u0001ɪ\\\\vO\\u0001ɫ\\u0001O\\u0001i\\u0001ɪ\\u0001O\\u0004ɪ\\u0001O\\u0001ɪ\\\\vO\\\\tɪ\\u0004O\\u0001\\\\0\\u0001ɬ\\\\v\\\\0\\u0001ɭ\\u0001{\\u0001\\\\0\\u0001ɬ\\u0001\\\\0\\u0004ɬ\\u0001\\\\0\\u0001ɬ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɬ\\u0005\\\\0\\u0001ɬ\\\\v\\\\0\\u0001ɭ\\u0002\\\\0\\u0001ɬ\\u0001\\\\0\\u0004ɬ\\u0001\\\\0\\u0001ɬ\\\\v\\\\0\\\\tɬ\\u0004\\\\0\\u0001|\\u0001ɮ\\\\v|\\u0001ɯ\\u0001«\\u0001|\\u0001ɮ\\u0001|\\u0004ɮ\\u0001|\\u0001ɮ\\u0007|\\u0001€\\u0003|\\\\tɮ\\u0005|\\u0001ɮ\\\\v|\\u0001ɰ\\u0002|\\u0001ɮ\\u0001|\\u0004ɮ\\u0001|\\u0001ɮ\\\\v|\\\\tɮ\\u0004|\\u0001\\\\0\\u0001ɞ\\\\v\\\\0\\u0001ɟ\\u0001U\\u0001\\\\0\\u0001ɞ\\u0001\\\\0\\u0004ɞ\\u0001\\\\0\\u0001ɞ\\\\v\\\\0\\\\tɞ\\u0004\\\\0\\u0001O\\u0001ɱ\\\\vO\\u0001ɲ\\u0001…",
"\\u0001i\\u0001ɱ\\u0001O\\u0004ɱ\\u0001O\\u0001ɱ\\u0007O\\u0001Q\\u0003O\\\\tɱ\\u0005O\\u0001ɱ\\\\vO\\u0001ɲ\\u0001O\\u0001i\\u0001ɱ\\u0001O\\u0004ɱ\\u0001O\\u0001ɱ\\\\vO\\\\tɱ\\u0004O\\u0001\\\\0\\u0001ɳ\\\\v\\\\0\\u0001ɴ\\u0001{\\u0001\\\\0\\u0001ɳ\\u0001\\\\0\\u0004ɳ\\u0001\\\\0\\u0001ɳ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɳ\\u0005\\\\0\\u0001ɳ\\\\v\\\\0\\u0001ɴ\\u0002\\\\0\\u0001ɳ\\u0001\\\\0\\u0004ɳ\\u0001\\\\0\\u0001ɳ\\\\v\\\\0\\\\tɳ\\u0004\\\\0\\u0001|\\u0001ɵ\\\\v|\\u0001ɶ\\u0001«\\u0001|\\u0001ɵ\\u0001|\\u0004ɵ\\u0001|\\u0001ɵ\\u0007|\\u0001€\\u0003|\\\\tɵ\\u0005|\\u0001ɵ\\\\v|\\u0001ɷ\\u0002|\\u0001ɵ\\u0001|\\u0004ɵ\\u0001|\\u0001ɵ\\\\v|\\\\tɵ\\u0004|\\u0001\\\\0\\u0001ɥ\\\\v\\\\0\\u0001ɦ\\u0001U\\u0001\\\\0\\u0001ɥ\\u0001\\\\0\\u0004ɥ\\u0001\\\\0\\u0001ɥ\\\\v\\\\0\\\\tɥ\\u0004\\\\0\\u0001O\\u0001ɸ\\\\vO\\u0001ɹ\\u0001…",
"\\u0001i\\u0001ɸ\\u0001O\\u0004ɸ\\u0001O\\u0001ɸ\\u0007O\\u0001Q\\u0003O\\\\tɸ\\u0005O\\u0001ɸ\\\\vO\\u0001ɹ\\u0001O\\u0001i\\u0001ɸ\\u0001O\\u0004ɸ\\u0001O\\u0001ɸ\\\\vO\\\\tɸ\\u0004O\\u0001\\\\0\\u0001ɺ\\\\f\\\\0\\u0001{\\u0001\\\\0\\u0001ɺ\\u0001\\\\0\\u0004ɺ\\u0001\\\\0\\u0001ɺ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɺ\\u0005\\\\0\\u0001ɺ\\u000e\\\\0\\u0001ɺ\\u0001\\\\0\\u0004ɺ\\u0001\\\\0\\u0001ɺ\\\\v\\\\0\\\\tɺ\\u0004\\\\0\\u0001|\\u0001ɻ\\\\v|\\u0001ɼ\\u0001«\\u0001|\\u0001ɻ\\u0001|\\u0004ɻ\\u0001|\\u0001ɻ\\u0007|\\u0001€\\u0003|\\\\tɻ\\u0005|\\u0001ɻ\\\\v|\\u0001ɽ\\u0002|\\u0001ɻ\\u0001|\\u0004ɻ\\u0001|\\u0001ɻ\\\\v|\\\\tɻ\\u0004|\\u0001\\\\0\\u0001ɬ\\\\v\\\\0\\u0001ɭ\\u0001U\\u0001\\\\0\\u0001ɬ\\u0001\\\\0\\u0004ɬ\\u0001\\\\0\\u0001ɬ\\\\v\\\\0\\\\tɬ\\u0004\\\\0\\u0001O\\u0001ɾ\\\\fO\\u0001…",
"\\u0001i\\u0001ɾ\\u0001O\\u0004ɾ\\u0001O\\u0001ɾ\\u0007O\\u0001Q\\u0003O\\\\tɾ\\u0005O\\u0001ɾ\\\\rO\\u0001i\\u0001ɾ\\u0001O\\u0004ɾ\\u0001O\\u0001ɾ\\\\vO\\\\tɾ\\u0004O\\u000e\\\\0\\u0001{\\u0010\\\\0\\u0001K\\u0010\\\\0\\u0001|\\u0001ɿ\\\\v|\\u0001ʀ\\u0001«\\u0001|\\u0001ɿ\\u0001|\\u0004ɿ\\u0001|\\u0001ɿ\\u0007|\\u0001€\\u0003|\\\\tɿ\\u0005|\\u0001ɿ\\\\v|\\u0001ʁ\\u0002|\\u0001ɿ\\u0001|\\u0004ɿ\\u0001|\\u0001ɿ\\\\v|\\\\tɿ\\u0004|\\u0001\\\\0\\u0001ɳ\\\\v\\\\0\\u0001ɴ\\u0001U\\u0001\\\\0\\u0001ɳ\\u0001\\\\0\\u0004ɳ\\u0001\\\\0\\u0001ɳ\\\\v\\\\0\\\\tɳ\\u0004\\\\0\\u000eO\\u0001…",
"\\u0001i\\u000fO\\u0001Q\\u0010O\\u0001|\\u0001ʂ\\\\v|\\u0001”\\u0001«\\u0001|\\u0001ʂ\\u0001|\\u0004ʂ\\u0001|\\u0001ʂ\\u0007|\\u0001€\\u0003|\\\\tʂ\\u0005|\\u0001ʂ\\\\v|\\u0001k\\u0002|\\u0001ʂ\\u0001|\\u0004ʂ\\u0001|\\u0001ʂ\\\\v|\\\\tʂ\\u0004|\\u0001\\\\0\\u0001ɺ\\\\f\\\\0\\u0001U\\u0001\\\\0\\u0001ɺ\\u0001\\\\0\\u0004ɺ\\u0001\\\\0\\u0001ɺ\\\\v\\\\0\\\\tɺ\\u0004\\\\0\\\\r|\\u0001”\\u0001«\\u0010|\\u0001€\\u0010|',this.o56_1=function(t){var e=new Int32Array(29568),n=0;return n=function(t,e,n,r){for(var i=0,o=n,a=e.length;i<a;){var s=i;i=s+1|0;var l=Ft(ct(e,s)),u=i;i=u+1|0;var c=Ft(ct(e,u));c=c-1|0;do{var h=o;o=h+1|0,r[h]=c,l=l-1|0}while(l>0)}return o}(0,'\\u0003\\u0007\\u0001\\\\b\\u0001\\u0007\\u0001\\\\b\\u0001\\u0007\\u0001\\\\t\\u0006\\u0007\\u0001\\\\n!\\u00071\\\\v\\u0002\\\\f\\u0001\\\\r\\u0001\\u000e\\u0001\\\\r\\u0002\\u000e\\u0001\\u000f\\u0001\\u0010\\u0001\\u000f\\u0001\\u0011\\u0001\\u0012\\u0001\\\\v\\u0001\\u000f\\u0001\\\\v\\u0001\\\\f\\u0001\\u000f\\u0004\\\\f\\u0001\\u000f\\u0001\\\\f\\u0001\\u0013\\u0001\\u0014\\u0001\\u0015\\u0005\\\\v\\u0001\\u000f\\u0001\\\\v\\u0001\\u000f\\u0001\\u0016\\u0003\\\\f\\u0001\\u0017\\u0003\\\\f\\u0001\\u0018\\u0002\\\\v\\u0001\\u0014\\u0001\\u0019\\u0003\\u001a\\u0001\\u001b\\u0001\\u0007\\u0001\\u001c\\u0001\\u0007\\u0001\\\\t\\u0001\\u001a\\u0001\\u001d\\u0001\\u001a\\u0001\\u001e\\\\r\\u001a\\u0001\\u0014\\u0001\\u0015\\u0013\\u001a\\u0001\\u0014\\u0001\\u0019\\u0001\\\\0\\u0002\\u001f\\\\r\\\\0\\u0001\\u001f\\u0001\\\\0\\u0004\\u001f\\u0001\\\\0\\u0001\\u001f\\\\v\\\\0\\\\t\\u001f\\u0004\\\\0\\u0001 \\u0001!\\u0001\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001 \\u0001\\\"\\u0004#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#3\\\\0\\u0001\\\\'\\u0001\\u0007\\u0001(\\u0001\\u0007\\u0001\\\\t\\u0006\\\\0\\u0001\\\\n\\\\'\\\\0\\u0001\\u0007*\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\t\\\\f\\u0007\\\\0\\u0001\\\\r\\u0001\\u000e\\u0001\\\\r\\u0002\\u000e\\u0011\\\\0\\u0001+\\u0014\\\\0\\u0001+\\u0004\\\\0\\u0005\\u000e,\\\\0\\u0003,\\u0001-\\u0007.\\u0002\\\\0\\u0001.\\u0004\\\\0\\u0001.\\u0001\\\\0\\u0002.\\u0001/\\u0001\\\\0\\u0001.\\u0001\\\\0\\u0003.\\u0001\\\\0\\u0001.\\\\t\\\\0\\u0004.\\u0001\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00011\\u00010\\u0001\\\\0\\u00012\\u00013\\u0001\\\\0\\u00043\\u0001\\\\0\\u00013\\u0001\\\\0\\u00030\\u00014\\u00010\\u0001\\\\0\\u00010\\u0003\\\\0\\\\t3\\u00010\\u0001\\\\0\\u00020\\u001a\\\\0\\u0001\\u0015\\u0016\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u00015\\u0007\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u00016\\u0003\\\\f\\u00017\\u0003\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\b\\\\f\\u00018\\u0007\\\\0\\u00019\\u0001\\\\0\\u00019\\u0013\\\\0\\u0001+\\u0014\\\\0\\u0001+\\\\t\\\\0\\u0007.\\u0002\\\\0\\u0001.\\u0004\\\\0\\u0001.\\u0001\\\\0\\u0002.\\u0001/\\u0001\\\\0\\u0001.\\u0001\\\\0\\u0003.\\u0001\\\\0\\u0001.\\\\t\\\\0\\u0004.\\u0001\\\\0\\u0002\\u001f\\u0001:\\u0001\\\\0\\u0001:\\\\n\\\\0\\u0001\\u001f\\u0001\\\\0\\u0004\\u001f\\u0001\\\\0\\u0001\\u001f\\u0001\\\\0\\u0001;\\\\t\\\\0\\\\t\\u001f\\u001a\\\\0\\u0001$\\u0019\\\\0\\u0001 \\u0001!\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001>\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0001\\\"\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\r#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\u0004#\\u0001 \\u0005#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\r#\\u0001 \\u0001!\\u0001\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0004#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001A\\u0002B\\u0005A\\\\tB\\u0001C\\u0004B\\u0001D\\\\tB\\u0001A\\u0001B\\u0001$\\\\rB\\u0003\\\\0\\u0001E\\u0001\\u0007\\u0001F\\u0001\\u0007\\u0001\\\\t\\u0006\\\\0\\u0001\\\\n\\\"\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\\\v\\\\0\\u0001G\\u0003\\\\f\\u0001H\\u0003\\\\f\\u0001I\\u0005\\\\0\\u0002\\\\f\\\\r\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\t\\\\f\\u0007\\\\0\\u0001J\\u0001\\\\0\\u0001J0\\\\0\\u0001,C\\\\0\\u0001/\\u0016\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u00020\\u0001\\\\0\\u00040\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00010\\u0001L\\u0001\\\\0\\u00010\\u0001M\\u0001N\\u0004M\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0001O\\u00012\\\\bO\\u00012\\u0001O\\u00022\\u0001O\\u0001P\\u00012\\u0001O\\u00042\\u0001O\\u00012\\u0001O\\u00052\\u0001Q\\u00012\\u0003O\\\\n2\\u0001O\\u00022\\u0001\\\\0\\u0001R\\u0001S\\u0001T\\u0001\\\\0\\u0001T\\u0004\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001U\\u00010\\u00013\\u0001\\\\0\\u00043\\u0001\\\\0\\u00013\\u0001V\\u00030\\u0001W\\u00010\\u0001K\\u00010\\u0003\\\\0\\\\t3\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\u0001X\\u0001\\\\0\\u0004X\\u0001\\\\0\\u0001X\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\tX\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u0001Y\\u0007\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0002\\\\f\\u0001Z\\u0006\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0006\\\\f\\u0001[\\u0002\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\b\\\\f\\u0001\\\\\\\\\\u0005\\\\0\\u0002\\u001f\\u0001:\\u0001\\\\0\\u0001:\\\\n\\\\0\\u0001\\u001f\\u0001\\\\0\\u0004\\u001f\\u0001\\\\0\\u0001\\u001f\\\\v\\\\0\\\\t\\u001f\\u0005\\\\0\\u0002\\u001f\\\\r\\\\0\\u0001\\u001f\\u0001\\\\0\\u0004\\u001f\\u0001\\\\0\\u0001\\u001f\\u0001\\\\0\\u0001;\\\\t\\\\0\\\\t\\u001f\\u0004\\\\0\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\r#\\u0001 \\u0001\\\"\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0002\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0004#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0001!\\u0001\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0004#\\u0001]\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0002\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0004#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\b\\\"\\u0001^\\u0004#\\u0016\\\\0\\u0001C\\u0019\\\\0\\u0001A\\u0002B\\u0005A\\\\tB\\u0001C\\u000eB\\u0001A\\u0001B\\u0001$\\\\rB\\u0001A\\u0002B\\u0005A\\\\tB\\u0001C\\u0004B\\u0001A\\\\tB\\u0001A\\u0001B\\u0001$\\\\rB\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\u0004#\\u0001&\\u0005#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\r#\\u0003\\\\0\\u0001_\\u0001\\u0007\\u0001`\\u0001\\u0007\\u0001\\\\t\\u0006\\\\0\\u0001\\\\n\\\"\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u0001a\\u0007\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u0001b\\u0003\\\\f\\u0001c\\u0003\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\b\\\\f\\u0001d\\u0005\\\\0\\u0001e\\u000e\\\\0\\u0001e\\u0001\\\\0\\u0004e\\u0001\\\\0\\u0001e\\\\v\\\\0\\\\te\\u0005\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00010\\u0001f\\u0001\\\\0\\u00020\\u0001\\\\0\\u00040\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\u0001\\\\0\\u0001g\\u0001\\\\0\\u0001g\\u0004\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u00010\\u0001M\\u0001\\\\0\\u0004M\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0012\\\\0\\u0001h\\u001d\\\\0\\u000fO\\u0001i!O\\u00012\\\\bO\\u00012\\u0001O\\u00022\\u0001U\\u00022\\u0001O\\u00042\\u0001O\\u00012\\u0001O\\u00052\\u0001Q\\u00012\\u0003O\\\\n2\\u0001O\\u00022\\u0001O\\u0001j\\\\rO\\u0001i\\u0001j\\u0001O\\u0004j\\u0001O\\u0001j\\\\vO\\\\tj\\u0004O\\u0001\\\\0\\u0001R\\u0001S\\u0001T\\u0001\\\\0\\u0001T\\u0004\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001U\\u00010\\u0001R\\u0001\\\\0\\u0004R\\u0001\\\\0\\u0001R\\u0001\\\\0\\u00030\\u0001W\\u00010\\u0001K\\u00010\\u0003\\\\0\\\\tR\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u0002S\\u0001T\\u0001\\\\0\\u0001T\\\\b\\\\0\\u0001U\\u0001\\\\0\\u0001S\\u0001\\\\0\\u0004S\\u0001\\\\0\\u0001S\\u0004\\\\0\\u0001k\\u0006\\\\0\\\\tS\\u0007\\\\0\\u0001T\\u0001\\\\0\\u0001T\\u0007\\\\0\\u0001l\\u0001U\\u0001\\\\0\\u0001l\\u0001\\\\0\\u0004l\\u0001\\\\0\\u0002l\\u0003\\\\0\\u0001k\\u0006\\\\0\\\\tl\\u0004\\\\0\\u0003m\\u0001\\\\0\\u0001m\\u0002\\\\0\\u0004m\\u0001\\\\0\\u0002m\\u0001\\\\0!m\\u0001\\\\0\\u00010\\\\b\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001U\\u00020\\u0001\\\\0\\u00040\\u0001\\\\0\\u00010\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\n0\\u0001\\\\0\\u00020\\u0001\\\\0\\u0001X\\u0001n\\u0001o\\u0001\\\\0\\u0001o\\u0004\\\\0\\u00010\\u0001\\\\0\\u00020\\u0001U\\u00010\\u0001X\\u0001\\\\0\\u0004X\\u0001\\\\0\\u0001X\\u0001\\\\0\\u00050\\u0001K\\u00010\\u0003\\\\0\\\\tX\\u00010\\u0001\\\\0\\u00020\\u0001\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0002\\\\f\\u0001p\\u0006\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001q\\u0001*\\\\t\\\\0\\\\t\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0007\\\\f\\u0001Z\\u0001\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\u0005\\\\0\\u0001r\\u0003\\\\0\\\\t\\\\f\\u0004\\\\0\\u0001 \\u0001!\\u0001\\\"\\u0005 \\\\b#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001s\\u0003#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001 \\u0001\\\"\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\b\\\"\\u0001t\\u0004#\\u0003\\\\0\\u0001_\\u0001\\u0007\\u0001`\\u0001\\u0007\\u0001\\\\t)\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0001\\\\f\\u0001u\\u0007\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0002\\\\f\\u0001v\\u0006\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0006\\\\f\\u0001w\\u0002\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\\\b\\\\f\\u0001x\\u0005\\\\0\\u0001y\\\\v\\\\0\\u0001z\\u0001{\\u0001\\\\0\\u0001y\\u0001\\\\0\\u0004y\\u0001\\\\0\\u0001y\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\ty\\u0004\\\\0\\u0001|\\u0001}\\\\b|\\u0001}\\u0001|\\u0001}\\u0001~\\u0001\\u0002}\\u0001|\\u0004}\\u0001|\\u0001}\\u0001|\\u0005}\\u0001€\\u0001}\\u0003|\\\\n}\\u0001|\\u0002}\\u0003k\\u0001\\u0001k\\u0001\\\\bk\\u0001\\\\0!k\\u0013\\\\0\\u0001‚\\u001c\\\\0\\u000eO\\u0001U\\\"O\\u0001ƒ\\\\vO\\u0001„\\u0001…",
"\\u0001i\\u0001ƒ\\u0001O\\u0004ƒ\\u0001O\\u0001ƒ\\u0007O\\u0001Q\\u0003O\\\\tƒ\\u0004O\\u000e\\\\0\\u0001U\\\"\\\\0\\u0002l\\u0001†\\u0001\\\\0\\u0001†\\u0007\\\\0\\u0001l\\u0001U\\u0001\\\\0\\u0001l\\u0001\\\\0\\u0004l\\u0001\\\\0\\u0003l\\u0001\\\\0\\u0001‡\\u0001k\\u0002\\\\0\\u0001l\\u0003\\\\0\\\\tl\\u0004\\\\0\\u0003m\\u0001\\\\0\\u0001m\\u0002\\\\0\\u0004m\\u0001\\\\0\\u0002m\\u0001ˆ!m\\u0001\\\\0\\u0002n\\u0001o\\u0001\\\\0\\u0001o\\\\b\\\\0\\u0001U\\u0001\\\\0\\u0001n\\u0001\\\\0\\u0004n\\u0001\\\\0\\u0001n\\\\v\\\\0\\\\tn\\u0007\\\\0\\u0001o\\u0001\\\\0\\u0001o\\\\b\\\\0\\u0001U\\\"\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001q\\u0001*\\\\t\\\\0\\u0003\\\\f\\u0001Z\\u0005\\\\f \\\\0\\u0001‰\\u0014\\\\0\\u0002Š\\\\r\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\\\v\\\\0\\\\tŠ\\u0004\\\\0\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0002#\\u0001‹\\u0001Œ\\u0003#\\u0001\\u0005#\\u0001 \\u0001\\\"\\u0001<\\u0005 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\b\\\"\\u0001Ž\\u0004#\\u0001\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0002\\\\f\\u0001\\u0006\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\u0001*\\\\t\\\\0\\\\t\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\\\t\\\\0\\u0007\\\\f\\u0001v\\u0001\\\\f\\u0005\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\\\0\\u0001*\\u0005\\\\0\\u0001‘\\u0003\\\\0\\\\t\\\\f\\u0005\\\\0\\u0001’\\\\v\\\\0\\u0001“\\u0001{\\u0001\\\\0\\u0001’\\u0001\\\\0\\u0004’\\u0001\\\\0\\u0001’\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\t’\\u0005\\\\0\\u0001’\\\\v\\\\0\\u0001“\\u0002\\\\0\\u0001’\\u0001\\\\0\\u0004’\\u0001\\\\0\\u0001’\\\\v\\\\0\\\\t’\\u0004\\\\0\\\\r|\\u0001”#|\\u0001}\\\\b|\\u0001}\\u0001|\\u0001}\\u0001•\\u0001|\\u0002}\\u0001|\\u0004}\\u0001|\\u0001}\\u0001|\\u0005}\\u0001€\\u0001}\\u0003|\\\\n}\\u0001|\\u0002}\\u0001|\\u0001}\\\\b|\\u0001}\\u0001|\\u0001}\\u0001W\\u0001\\u0002}\\u0001|\\u0004}\\u0001|\\u0001}\\u0001|\\u0005}\\u0001€\\u0001}\\u0003|\\\\n}\\u0001|\\u0002}\\u0001|\\u0001–\\\\v|\\u0001”\\u0002|\\u0001–\\u0001|\\u0004–\\u0001|\\u0001–\\\\v|\\\\t–\\u0004|\\u0003k\\u0001\\u0001k\\u0001\\\\bk\\u0001U!k\\u0014\\\\0\\u0001—\\u001b\\\\0\\u0001O\\u0001˜\\\\vO\\u0001™\\u0001…",
"\\u0001i\\u0001˜\\u0001O\\u0004˜\\u0001O\\u0001˜\\u0007O\\u0001Q\\u0003O\\\\t˜\\u0005O\\u0001˜\\\\vO\\u0001™\\u0001O\\u0001i\\u0001˜\\u0001O\\u0004˜\\u0001O\\u0001˜\\\\vO\\\\t˜\\u0004O\\u0003\\\\0\\u0001†\\u0001\\\\0\\u0001†\\u0007\\\\0\\u0001l\\u0001U\\u0001\\\\0\\u0001l\\u0001\\\\0\\u0004l\\u0001\\\\0\\u0002l\\u0002\\\\0\\u0001‡\\u0001k\\u0006\\\\0\\\\tl\\u0004\\\\0\\u0003š\\u0001‡\\u0001š\\u0001‡\\u0002\\\\0\\u0001›\\u0001š\\u0001œ\\u0001\\\\0\\u0002š\\u0001\\\\0\\\\vš\\u0002\\\\0\\u0014š\\u001c\\\\0\\u0001r\\u0014\\\\0\\u0001Š\\u0001\\\\n\\\\0\\u0001ž\\u0002\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0001Ÿ\\u0001ž\\u0002\\\\0\\u0001 \\u0002\\\\0\\u0001r\\u0003\\\\0\\\\tŠ\\u0004\\\\0\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001#\\u0001¡\\\\v#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0002#\\u0001¢\\\\n#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0006#\\u0001£\\u0006#\\u0001 \\u0001\\\"\\u0001<\\u0001¤\\u0001 \\u0001¤\\u0002 \\u0005#\\u0001=\\u0002#\\u0001\\\"\\u0001$\\u0004\\\"\\u0001#\\u0001\\\"\\u0001#\\u0001=\\u0002#\\u0001?\\u0002#\\u0001@\\u0001&\\u0001#\\u0001$\\\\t\\\"\\u0004#\\u0001\\\\0\\u0002\\\\f\\u0001)\\u0001\\\\0\\u0001)\\\\n\\\\0\\u0001\\\\f\\u0001\\\\0\\u0004\\\\f\\u0001\\\\0\\u0001\\\\f\\u0001\\u0001*\\\\t\\\\0\\u0003\\\\f\\u0001v\\u0005\\\\f \\\\0\\u0001¥\\u0014\\\\0\\u0002¦\\\\r\\\\0\\u0001¦\\u0001\\\\0\\u0004¦\\u0001\\\\0\\u0001¦\\\\v\\\\0\\\\t¦\\u0005\\\\0\\u0001§\\\\v\\\\0\\u0001¨\\u0001{\\u0001\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\t§\\u0005\\\\0\\u0001§\\\\v\\\\0\\u0001¨\\u0002\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\\\v\\\\0\\\\t§\\u0004\\\\0\\\\r|\\u0001k#|\\u0001}\\\\b|\\u0001}\\u0001|\\u0001}\\u0001W\\u0001|\\u0002}\\u0001|\\u0004}\\u0001|\\u0001}\\u0001|\\u0005}\\u0001€\\u0001}\\u0003|\\\\n}\\u0001|\\u0002}\\u0001|\\u0001©\\\\v|\\u0001ª\\u0001«\\u0001|\\u0001©\\u0001|\\u0004©\\u0001|\\u0001©\\u0007|\\u0001€\\u0003|\\\\t©\\u0004|\\u0015\\\\0\\u0001¬\\u001a\\\\0\\u0001O\\u0001­\\\\vO\\u0001®\\u0001…",
"\\u0001i\\u0001­\\u0001O\\u0004­\\u0001O\\u0001­\\u0007O\\u0001Q\\u0003O\\\\t­\\u0005O\\u0001­\\\\vO\\u0001®\\u0001O\\u0001i\\u0001­\\u0001O\\u0004­\\u0001O\\u0001­\\\\vO\\\\t­\\u0004O\\u0003š\\u0001T\\u0001š\\u0001T\\u0003\\\\0\\u0001š\\u0002\\\\0\\u0002š\\u0001U\\\\vš\\u0002\\\\0\\u0014š\\u0006›\\u0001\\\\0\\u0001›\\u0001¯\\u0001°&›\\u0006œ\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯%œ\\u0018\\\\0\\u0001Ÿ\\u0003\\\\0\\u0001 \\u0002\\\\0\\u0001r\\u0011\\\\0\\u0001Š\\u0001\\\\n\\\\0\\u0001ž\\u0002\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0001\\\\0\\u0001ž\\\\t\\\\0\\\\tŠ\\u0005\\\\0\\u0001²/\\\\0\\u0002 \\u0005\\\\0\\u000e \\u0001³\\\\t \\u0001\\\\0\\u0001 \\u0001´\\\\r \\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001#\\u0001µ\\u0002#\\u0001¶\\\\b#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001#\\u0001·\\\\v#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0005#\\u0001¸\\u0007#\\u0003\\\\0\\u0001¹\\u0001\\\\0\\u0001¹\\u0010\\\\0\\u0001$5\\\\0\\u0001‘\\u0014\\\\0\\u0001¦\\u0001º\\\\n\\\\0\\u0001»\\u0002\\\\0\\u0001¦\\u0001\\\\0\\u0004¦\\u0001\\\\0\\u0001¦\\u0001¼\\u0001»\\u0002\\\\0\\u0001½\\u0002\\\\0\\u0001‘\\u0003\\\\0\\\\t¦\\u0005\\\\0\\u0001¾\\\\v\\\\0\\u0001¿\\u0001{\\u0001\\\\0\\u0001¾\\u0001\\\\0\\u0004¾\\u0001\\\\0\\u0001¾\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\t¾\\u0005\\\\0\\u0001¾\\\\v\\\\0\\u0001¿\\u0002\\\\0\\u0001¾\\u0001\\\\0\\u0004¾\\u0001\\\\0\\u0001¾\\\\v\\\\0\\\\t¾\\u0004\\\\0\\u0001|\\u0001À\\\\v|\\u0001Á\\u0001«\\u0001|\\u0001À\\u0001|\\u0004À\\u0001|\\u0001À\\u0007|\\u0001€\\u0003|\\\\tÀ\\u0005|\\u0001À\\\\v|\\u0001Â\\u0002|\\u0001À\\u0001|\\u0004À\\u0001|\\u0001À\\\\v|\\\\tÀ\\u0004|\\u0014\\\\0\\u0001Ã\\u001b\\\\0\\u0001O\\u0001Ä\\\\vO\\u0001Å\\u0001…",
"\\u0001i\\u0001Ä\\u0001O\\u0004Ä\\u0001O\\u0001Ä\\u0007O\\u0001Q\\u0003O\\\\tÄ\\u0005O\\u0001Ä\\\\vO\\u0001Å\\u0001O\\u0001i\\u0001Ä\\u0001O\\u0004Ä\\u0001O\\u0001Ä\\\\vO\\\\tÄ\\u0004O\\u0003\\\\0\\u0001T\\u0001\\\\0\\u0001T\\\\b\\\\0\\u0001U\\\\r\\\\0\\u0001k\\u0013\\\\0\\u0006›\\u0001\\\\0\\u0001›\\u0001Æ\\u0001°&›\\u0006œ\\u0001\\\\0\\u0002œ\\u0001±\\u0001Ç%œ\\u0001\\\\0\\u0001²\\u001a\\\\0\\u0001 \\u0013\\\\0\\u0011 \\u0001\\\\0\\u0010 \\u0001\\\\0\\\\r \\u0001\\\\0\\u0002´\\u0005\\\\0\\u000e´\\u0001È\\\\t´\\u0001 \\u000f´\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001¶\\\\f#\\u0001 \\u0002#\\u0001¤\\u0001 \\u0001¤\\u0002 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\\\r#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0001#\\u0001µ\\\\v#\\u0001 \\u0002#\\u0005 \\\\t#\\u0001$\\\\n#\\u0001%\\u0003#\\u0001&\\u0001#\\u0001$\\u0004#\\u0001¶\\\\b#\\u0003\\\\0\\u0001¹\\u0001\\\\0\\u0001¹B\\\\0\\u0001¼\\u0003\\\\0\\u0001½\\u0002\\\\0\\u0001‘\\u0011\\\\0\\u0001¦\\u0001º\\\\n\\\\0\\u0001»\\u0002\\\\0\\u0001¦\\u0001\\\\0\\u0004¦\\u0001\\\\0\\u0001¦\\u0001\\\\0\\u0001»\\\\t\\\\0\\\\t¦\\u0005\\\\0\\u0001É/\\\\0\\u0002½\\u0005\\\\0\\u000e½\\u0001Ê\\\\t½\\u0001\\\\0\\u0001½\\u0001Ë\\\\r½\\u0001\\\\0\\u0001Ì\\\\v\\\\0\\u0001Í\\u0001{\\u0001\\\\0\\u0001Ì\\u0001\\\\0\\u0004Ì\\u0001\\\\0\\u0001Ì\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tÌ\\u0005\\\\0\\u0001Ì\\\\v\\\\0\\u0001Í\\u0002\\\\0\\u0001Ì\\u0001\\\\0\\u0004Ì\\u0001\\\\0\\u0001Ì\\\\v\\\\0\\\\tÌ\\u0004\\\\0\\u0001|\\u0001Î\\\\v|\\u0001Ï\\u0001«\\u0001|\\u0001Î\\u0001|\\u0004Î\\u0001|\\u0001Î\\u0007|\\u0001€\\u0003|\\\\tÎ\\u0005|\\u0001Î\\\\v|\\u0001Ð\\u0002|\\u0001Î\\u0001|\\u0004Î\\u0001|\\u0001Î\\\\v|\\\\tÎ\\u0004|\\u0001\\\\0\\u0001§\\\\v\\\\0\\u0001¨\\u0001U\\u0001\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\\\v\\\\0\\\\t§\\u0015\\\\0\\u0001Ñ\\u001e\\\\0\\u0001O\\u0001Ò\\\\vO\\u0001Ó\\u0001…",
"\\u0001i\\u0001Ò\\u0001O\\u0004Ò\\u0001O\\u0001Ò\\u0007O\\u0001Q\\u0003O\\\\tÒ\\u0005O\\u0001Ò\\\\vO\\u0001Ó\\u0001O\\u0001i\\u0001Ò\\u0001O\\u0004Ò\\u0001O\\u0001Ò\\\\vO\\\\tÒ\\u0004O\\u0003›\\u0001Ô\\u0001›\\u0001Ô\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0004›\\u0001Õ\\\\r›\\u0001Ö\\u0013›\\u0003œ\\u0001×\\u0001œ\\u0001×\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0003œ\\u0001Ø\\\\rœ\\u0001Ù\\u0013œ\\u0011´\\u0001\\\\0\\u0010´\\u0001\\\\0\\\\r´\\u0001\\\\0\\u0001É\\u001a\\\\0\\u0001½\\u0013\\\\0\\u0011½\\u0001\\\\0\\u0010½\\u0001\\\\0\\\\r½\\u0001\\\\0\\u0002Ë\\u0005\\\\0\\u000eË\\u0001Ú\\\\tË\\u0001½\\u000fË\\u0001\\\\0\\u0001Û\\\\v\\\\0\\u0001Ü\\u0001{\\u0001\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tÛ\\u0005\\\\0\\u0001Û\\\\v\\\\0\\u0001Ü\\u0002\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\\\v\\\\0\\\\tÛ\\u0004\\\\0\\u0001|\\u0001Ý\\\\v|\\u0001Þ\\u0001«\\u0001|\\u0001Ý\\u0001|\\u0004Ý\\u0001|\\u0001Ý\\u0007|\\u0001€\\u0003|\\\\tÝ\\u0005|\\u0001Ý\\\\v|\\u0001ß\\u0002|\\u0001Ý\\u0001|\\u0004Ý\\u0001|\\u0001Ý\\\\v|\\\\tÝ\\u0004|\\u0001\\\\0\\u0001¾\\\\v\\\\0\\u0001¿\\u0001U\\u0001\\\\0\\u0001¾\\u0001\\\\0\\u0004¾\\u0001\\\\0\\u0001¾\\\\v\\\\0\\\\t¾\\u0004\\\\0\\u0016Ñ\\u0001à\\u0019Ñ\\u0001O\\u0001á\\\\vO\\u0001â\\u0001…",
"\\u0001i\\u0001á\\u0001O\\u0004á\\u0001O\\u0001á\\u0007O\\u0001Q\\u0003O\\\\tá\\u0005O\\u0001á\\\\vO\\u0001â\\u0001O\\u0001i\\u0001á\\u0001O\\u0004á\\u0001O\\u0001á\\\\vO\\\\tá\\u0004O\\u0003›\\u0001Ô\\u0001›\\u0001Ô\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0003›\\u0001ã\\u0001Õ\\u0001›\\u0001ã\\u0001›\\u0004ã\\u0001›\\u0002ã\\u0003›\\u0001Ö\\u0006›\\\\tã\\\\n›\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0004›\\u0001Õ!›\\u0003œ\\u0001×\\u0001œ\\u0001×\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0002œ\\u0001ä\\u0001Ø\\u0001œ\\u0001ä\\u0001œ\\u0004ä\\u0001œ\\u0002ä\\u0003œ\\u0001Ù\\u0006œ\\\\tä\\\\nœ\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0003œ\\u0001Ø!œ\\u0011Ë\\u0001\\\\0\\u0010Ë\\u0001\\\\0\\\\rË\\u0001\\\\0\\u0001å\\\\v\\\\0\\u0001æ\\u0001{\\u0001\\\\0\\u0001å\\u0001\\\\0\\u0004å\\u0001\\\\0\\u0001å\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tå\\u0005\\\\0\\u0001å\\\\v\\\\0\\u0001æ\\u0002\\\\0\\u0001å\\u0001\\\\0\\u0004å\\u0001\\\\0\\u0001å\\\\v\\\\0\\\\tå\\u0004\\\\0\\u0001|\\u0001ç\\\\v|\\u0001è\\u0001«\\u0001|\\u0001ç\\u0001|\\u0004ç\\u0001|\\u0001ç\\u0007|\\u0001€\\u0003|\\\\tç\\u0005|\\u0001ç\\\\v|\\u0001é\\u0002|\\u0001ç\\u0001|\\u0004ç\\u0001|\\u0001ç\\\\v|\\\\tç\\u0004|\\u0001\\\\0\\u0001Ì\\\\v\\\\0\\u0001Í\\u0001U\\u0001\\\\0\\u0001Ì\\u0001\\\\0\\u0004Ì\\u0001\\\\0\\u0001Ì\\\\v\\\\0\\\\tÌ\\u0004\\\\0\\u0016Ñ\\u0001ê\\u0019Ñ\\u0001O\\u0001ë\\\\vO\\u0001ì\\u0001…",
"\\u0001i\\u0001ë\\u0001O\\u0004ë\\u0001O\\u0001ë\\u0007O\\u0001Q\\u0003O\\\\të\\u0005O\\u0001ë\\\\vO\\u0001ì\\u0001O\\u0001i\\u0001ë\\u0001O\\u0004ë\\u0001O\\u0001ë\\\\vO\\\\të\\u0004O\\u0001›\\u0002ã\\u0001í\\u0001›\\u0001í\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0003›\\u0001ã\\u0001Õ\\u0001›\\u0001ã\\u0001›\\u0004ã\\u0001›\\u0003ã\\u0001›\\u0001î\\u0001Ö\\u0002›\\u0001ã\\u0003›\\\\tã\\u0004›\\u0001œ\\u0002ä\\u0001ï\\u0001œ\\u0001ï\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0002œ\\u0001ä\\u0001Ø\\u0001œ\\u0001ä\\u0001œ\\u0004ä\\u0001œ\\u0003ä\\u0001œ\\u0001ð\\u0001Ù\\u0002œ\\u0001ä\\u0003œ\\\\tä\\u0004œ\\u0001\\\\0\\u0001ñ\\\\v\\\\0\\u0001ò\\u0001{\\u0001\\\\0\\u0001ñ\\u0001\\\\0\\u0004ñ\\u0001\\\\0\\u0001ñ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tñ\\u0005\\\\0\\u0001ñ\\\\v\\\\0\\u0001ò\\u0002\\\\0\\u0001ñ\\u0001\\\\0\\u0004ñ\\u0001\\\\0\\u0001ñ\\\\v\\\\0\\\\tñ\\u0004\\\\0\\u0001|\\u0001ó\\\\v|\\u0001ô\\u0001«\\u0001|\\u0001ó\\u0001|\\u0004ó\\u0001|\\u0001ó\\u0007|\\u0001€\\u0003|\\\\tó\\u0005|\\u0001ó\\\\v|\\u0001õ\\u0002|\\u0001ó\\u0001|\\u0004ó\\u0001|\\u0001ó\\\\v|\\\\tó\\u0004|\\u0001\\\\0\\u0001Û\\\\v\\\\0\\u0001Ü\\u0001U\\u0001\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\\\v\\\\0\\\\tÛ\\u0004\\\\0\\u000eÑ\\u0001U!Ñ\\u0001O\\u0001ö\\\\vO\\u0001÷\\u0001…",
"\\u0001i\\u0001ö\\u0001O\\u0004ö\\u0001O\\u0001ö\\u0007O\\u0001Q\\u0003O\\\\tö\\u0005O\\u0001ö\\\\vO\\u0001÷\\u0001O\\u0001i\\u0001ö\\u0001O\\u0004ö\\u0001O\\u0001ö\\\\vO\\\\tö\\u0004O\\u0003›\\u0001í\\u0001›\\u0001í\\u0001\\\\0\\u0001›\\u0001¯\\u0001°\\u0003›\\u0001ã\\u0001Õ\\u0001›\\u0001ã\\u0001›\\u0004ã\\u0001›\\u0002ã\\u0002›\\u0001î\\u0001Ö\\u0006›\\\\tã\\u0004›\\u0003ø\\u0001î\\u0001ø\\u0001î\\u0001\\\\0\\u0001›\\u0001Æ\\u0001ù\\u0001ú\\u0001›\\u0002ø\\u0001›\\\\vø\\u0002›\\u0014ø\\u0003œ\\u0001ï\\u0001œ\\u0001ï\\u0001\\\\0\\u0002œ\\u0001±\\u0001¯\\u0002œ\\u0001ä\\u0001Ø\\u0001œ\\u0001ä\\u0001œ\\u0004ä\\u0001œ\\u0002ä\\u0002œ\\u0001ð\\u0001Ù\\u0006œ\\\\tä\\u0004œ\\u0003û\\u0001ð\\u0001û\\u0001ð\\u0001\\\\0\\u0001œ\\u0001ú\\u0001ü\\u0001Ç\\u0001œ\\u0002û\\u0001œ\\\\vû\\u0002œ\\u0014û\\u0001\\\\0\\u0001ý\\\\v\\\\0\\u0001þ\\u0001{\\u0001\\\\0\\u0001ý\\u0001\\\\0\\u0004ý\\u0001\\\\0\\u0001ý\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tý\\u0005\\\\0\\u0001ý\\\\v\\\\0\\u0001þ\\u0002\\\\0\\u0001ý\\u0001\\\\0\\u0004ý\\u0001\\\\0\\u0001ý\\\\v\\\\0\\\\tý\\u0004\\\\0\\u0001|\\u0001ÿ\\\\v|\\u0001Ā\\u0001«\\u0001|\\u0001ÿ\\u0001|\\u0004ÿ\\u0001|\\u0001ÿ\\u0007|\\u0001€\\u0003|\\\\tÿ\\u0005|\\u0001ÿ\\\\v|\\u0001ā\\u0002|\\u0001ÿ\\u0001|\\u0004ÿ\\u0001|\\u0001ÿ\\\\v|\\\\tÿ\\u0004|\\u0001\\\\0\\u0001å\\\\v\\\\0\\u0001æ\\u0001U\\u0001\\\\0\\u0001å\\u0001\\\\0\\u0004å\\u0001\\\\0\\u0001å\\\\v\\\\0\\\\tå\\u0004\\\\0\\u0001O\\u0001Ă\\\\vO\\u0001ă\\u0001…",
"\\u0001i\\u0001Ă\\u0001O\\u0004Ă\\u0001O\\u0001Ă\\u0007O\\u0001Q\\u0003O\\\\tĂ\\u0005O\\u0001Ă\\\\vO\\u0001ă\\u0001O\\u0001i\\u0001Ă\\u0001O\\u0004Ă\\u0001O\\u0001Ă\\\\vO\\\\tĂ\\u0004O\\u0003ø\\u0001Ô\\u0001ø\\u0001Ô\\u0001\\\\0\\u0001›\\u0001¯\\u0001ù\\u0002›\\u0002ø\\u0001Õ\\\\vø\\u0002›\\u0017ø\\u0001Ô\\u0001ø\\u0001Ô\\u0001\\\\0\\u0001›\\u0001Æ\\u0001ù\\u0002›\\u0002ø\\u0001Õ\\\\vø\\u0002›\\u0014ø\\u0006ú\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ%ú\\u0003û\\u0001×\\u0001û\\u0001×\\u0001\\\\0\\u0002œ\\u0001ü\\u0001¯\\u0001œ\\u0002û\\u0001Ø\\\\vû\\u0002œ\\u0017û\\u0001×\\u0001û\\u0001×\\u0001\\\\0\\u0002œ\\u0001ü\\u0001Ç\\u0001œ\\u0002û\\u0001Ø\\\\vû\\u0002œ\\u0014û\\u0001\\\\0\\u0001ą\\\\v\\\\0\\u0001Ć\\u0001{\\u0001\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tą\\u0005\\\\0\\u0001ą\\\\v\\\\0\\u0001Ć\\u0002\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\\\v\\\\0\\\\tą\\u0004\\\\0\\u0001|\\u0001ć\\\\v|\\u0001Ĉ\\u0001«\\u0001|\\u0001ć\\u0001|\\u0004ć\\u0001|\\u0001ć\\u0007|\\u0001€\\u0003|\\\\tć\\u0005|\\u0001ć\\\\v|\\u0001ĉ\\u0002|\\u0001ć\\u0001|\\u0004ć\\u0001|\\u0001ć\\\\v|\\\\tć\\u0004|\\u0001\\\\0\\u0001ñ\\\\v\\\\0\\u0001ò\\u0001U\\u0001\\\\0\\u0001ñ\\u0001\\\\0\\u0004ñ\\u0001\\\\0\\u0001ñ\\\\v\\\\0\\\\tñ\\u0004\\\\0\\u0001O\\u0001Ċ\\\\vO\\u0001ċ\\u0001…",
"\\u0001i\\u0001Ċ\\u0001O\\u0004Ċ\\u0001O\\u0001Ċ\\u0007O\\u0001Q\\u0003O\\\\tĊ\\u0005O\\u0001Ċ\\\\vO\\u0001ċ\\u0001O\\u0001i\\u0001Ċ\\u0001O\\u0004Ċ\\u0001O\\u0001Ċ\\\\vO\\\\tĊ\\u0004O\\u0006ú\\u0001\\\\0\\u0001ú\\u0001Č\\u0001Ą\\u0001Č%ú\\u0001\\\\0\\u0001č\\\\v\\\\0\\u0001Ď\\u0001{\\u0001\\\\0\\u0001č\\u0001\\\\0\\u0004č\\u0001\\\\0\\u0001č\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tč\\u0005\\\\0\\u0001č\\\\v\\\\0\\u0001Ď\\u0002\\\\0\\u0001č\\u0001\\\\0\\u0004č\\u0001\\\\0\\u0001č\\\\v\\\\0\\\\tč\\u0004\\\\0\\u0001|\\u0001ď\\\\v|\\u0001Đ\\u0001«\\u0001|\\u0001ď\\u0001|\\u0004ď\\u0001|\\u0001ď\\u0007|\\u0001€\\u0003|\\\\tď\\u0005|\\u0001ď\\\\v|\\u0001đ\\u0002|\\u0001ď\\u0001|\\u0004ď\\u0001|\\u0001ď\\\\v|\\\\tď\\u0004|\\u0001\\\\0\\u0001ý\\\\v\\\\0\\u0001þ\\u0001U\\u0001\\\\0\\u0001ý\\u0001\\\\0\\u0004ý\\u0001\\\\0\\u0001ý\\\\v\\\\0\\\\tý\\u0004\\\\0\\u0001O\\u0001Ē\\\\vO\\u0001ē\\u0001…",
"\\u0001i\\u0001Ē\\u0001O\\u0004Ē\\u0001O\\u0001Ē\\u0007O\\u0001Q\\u0003O\\\\tĒ\\u0005O\\u0001Ē\\\\vO\\u0001ē\\u0001O\\u0001i\\u0001Ē\\u0001O\\u0004Ē\\u0001O\\u0001Ē\\\\vO\\\\tĒ\\u0004O\\u0003ú\\u0001Ĕ\\u0001ú\\u0001Ĕ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0003ú\\u0001ĕ\\\\rú\\u0001Ė\\u0013ú\\u0001\\\\0\\u0001ė\\\\v\\\\0\\u0001Ę\\u0001{\\u0001\\\\0\\u0001ė\\u0001\\\\0\\u0004ė\\u0001\\\\0\\u0001ė\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tė\\u0005\\\\0\\u0001ė\\\\v\\\\0\\u0001Ę\\u0002\\\\0\\u0001ė\\u0001\\\\0\\u0004ė\\u0001\\\\0\\u0001ė\\\\v\\\\0\\\\tė\\u0004\\\\0\\u0001|\\u0001ę\\\\v|\\u0001Ě\\u0001«\\u0001|\\u0001ę\\u0001|\\u0004ę\\u0001|\\u0001ę\\u0007|\\u0001€\\u0003|\\\\tę\\u0005|\\u0001ę\\\\v|\\u0001ě\\u0002|\\u0001ę\\u0001|\\u0004ę\\u0001|\\u0001ę\\\\v|\\\\tę\\u0004|\\u0001\\\\0\\u0001ą\\\\v\\\\0\\u0001Ć\\u0001U\\u0001\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\\\v\\\\0\\\\tą\\u0004\\\\0\\u0001O\\u0001Ĝ\\\\vO\\u0001ĝ\\u0001…",
"\\u0001i\\u0001Ĝ\\u0001O\\u0004Ĝ\\u0001O\\u0001Ĝ\\u0007O\\u0001Q\\u0003O\\\\tĜ\\u0005O\\u0001Ĝ\\\\vO\\u0001ĝ\\u0001O\\u0001i\\u0001Ĝ\\u0001O\\u0004Ĝ\\u0001O\\u0001Ĝ\\\\vO\\\\tĜ\\u0004O\\u0003ú\\u0001Ĕ\\u0001ú\\u0001Ĕ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0002ú\\u0001Ğ\\u0001ĕ\\u0001ú\\u0001Ğ\\u0001ú\\u0004Ğ\\u0001ú\\u0002Ğ\\u0003ú\\u0001Ė\\u0006ú\\\\tĞ\\\\nú\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0003ú\\u0001ĕ!ú\\u0001\\\\0\\u0001ğ\\\\v\\\\0\\u0001Ġ\\u0001{\\u0001\\\\0\\u0001ğ\\u0001\\\\0\\u0004ğ\\u0001\\\\0\\u0001ğ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tğ\\u0005\\\\0\\u0001ğ\\\\v\\\\0\\u0001Ġ\\u0002\\\\0\\u0001ğ\\u0001\\\\0\\u0004ğ\\u0001\\\\0\\u0001ğ\\\\v\\\\0\\\\tğ\\u0004\\\\0\\u0001|\\u0001ġ\\\\v|\\u0001Ģ\\u0001«\\u0001|\\u0001ġ\\u0001|\\u0004ġ\\u0001|\\u0001ġ\\u0007|\\u0001€\\u0003|\\\\tġ\\u0005|\\u0001ġ\\\\v|\\u0001ģ\\u0002|\\u0001ġ\\u0001|\\u0004ġ\\u0001|\\u0001ġ\\\\v|\\\\tġ\\u0004|\\u0001\\\\0\\u0001č\\\\v\\\\0\\u0001Ď\\u0001U\\u0001\\\\0\\u0001č\\u0001\\\\0\\u0004č\\u0001\\\\0\\u0001č\\\\v\\\\0\\\\tč\\u0004\\\\0\\u0001O\\u0001Ĥ\\\\vO\\u0001ĥ\\u0001…",
"\\u0001i\\u0001Ĥ\\u0001O\\u0004Ĥ\\u0001O\\u0001Ĥ\\u0007O\\u0001Q\\u0003O\\\\tĤ\\u0005O\\u0001Ĥ\\\\vO\\u0001ĥ\\u0001O\\u0001i\\u0001Ĥ\\u0001O\\u0004Ĥ\\u0001O\\u0001Ĥ\\\\vO\\\\tĤ\\u0004O\\u0001ú\\u0002Ğ\\u0001Ħ\\u0001ú\\u0001Ħ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0002ú\\u0001Ğ\\u0001ĕ\\u0001ú\\u0001Ğ\\u0001ú\\u0004Ğ\\u0001ú\\u0003Ğ\\u0001ú\\u0001ħ\\u0001Ė\\u0002ú\\u0001Ğ\\u0003ú\\\\tĞ\\u0004ú\\u0001\\\\0\\u0001Ĩ\\\\v\\\\0\\u0001ĩ\\u0001{\\u0001\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tĨ\\u0005\\\\0\\u0001Ĩ\\\\v\\\\0\\u0001ĩ\\u0002\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\\\v\\\\0\\\\tĨ\\u0004\\\\0\\u0001|\\u0001Ī\\\\v|\\u0001ī\\u0001«\\u0001|\\u0001Ī\\u0001|\\u0004Ī\\u0001|\\u0001Ī\\u0007|\\u0001€\\u0003|\\\\tĪ\\u0005|\\u0001Ī\\\\v|\\u0001Ĭ\\u0002|\\u0001Ī\\u0001|\\u0004Ī\\u0001|\\u0001Ī\\\\v|\\\\tĪ\\u0004|\\u0001\\\\0\\u0001ė\\\\v\\\\0\\u0001Ę\\u0001U\\u0001\\\\0\\u0001ė\\u0001\\\\0\\u0004ė\\u0001\\\\0\\u0001ė\\\\v\\\\0\\\\tė\\u0004\\\\0\\u0001O\\u0001ĭ\\\\vO\\u0001Į\\u0001…",
"\\u0001i\\u0001ĭ\\u0001O\\u0004ĭ\\u0001O\\u0001ĭ\\u0007O\\u0001Q\\u0003O\\\\tĭ\\u0005O\\u0001ĭ\\\\vO\\u0001Į\\u0001O\\u0001i\\u0001ĭ\\u0001O\\u0004ĭ\\u0001O\\u0001ĭ\\\\vO\\\\tĭ\\u0004O\\u0003ú\\u0001Ħ\\u0001ú\\u0001Ħ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001Ą\\u0001Æ\\u0002ú\\u0001Ğ\\u0001ĕ\\u0001ú\\u0001Ğ\\u0001ú\\u0004Ğ\\u0001ú\\u0002Ğ\\u0002ú\\u0001ħ\\u0001Ė\\u0006ú\\\\tĞ\\u0004ú\\u0003į\\u0001ħ\\u0001į\\u0001ħ\\u0001\\\\0\\u0001ú\\u0001Č\\u0001İ\\u0001Č\\u0001ú\\u0002į\\u0001ú\\\\vį\\u0002ú\\u0014į\\u0001\\\\0\\u0001ı\\\\v\\\\0\\u0001IJ\\u0001{\\u0001\\\\0\\u0001ı\\u0001\\\\0\\u0004ı\\u0001\\\\0\\u0001ı\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tı\\u0005\\\\0\\u0001ı\\\\v\\\\0\\u0001IJ\\u0002\\\\0\\u0001ı\\u0001\\\\0\\u0004ı\\u0001\\\\0\\u0001ı\\\\v\\\\0\\\\tı\\u0004\\\\0\\u0001|\\u0001ij\\\\v|\\u0001Ĵ\\u0001«\\u0001|\\u0001ij\\u0001|\\u0004ij\\u0001|\\u0001ij\\u0007|\\u0001€\\u0003|\\\\tij\\u0005|\\u0001ij\\\\v|\\u0001ĵ\\u0002|\\u0001ij\\u0001|\\u0004ij\\u0001|\\u0001ij\\\\v|\\\\tij\\u0004|\\u0001\\\\0\\u0001ğ\\\\v\\\\0\\u0001Ġ\\u0001U\\u0001\\\\0\\u0001ğ\\u0001\\\\0\\u0004ğ\\u0001\\\\0\\u0001ğ\\\\v\\\\0\\\\tğ\\u0004\\\\0\\u0001O\\u0001Ķ\\\\vO\\u0001ķ\\u0001…",
"\\u0001i\\u0001Ķ\\u0001O\\u0004Ķ\\u0001O\\u0001Ķ\\u0007O\\u0001Q\\u0003O\\\\tĶ\\u0005O\\u0001Ķ\\\\vO\\u0001ķ\\u0001O\\u0001i\\u0001Ķ\\u0001O\\u0004Ķ\\u0001O\\u0001Ķ\\\\vO\\\\tĶ\\u0004O\\u0003į\\u0001Ĕ\\u0001į\\u0001Ĕ\\u0001\\\\0\\u0001ú\\u0001Ç\\u0001İ\\u0001Æ\\u0001ú\\u0002į\\u0001ĕ\\\\vį\\u0002ú\\u0017į\\u0001Ĕ\\u0001į\\u0001Ĕ\\u0001\\\\0\\u0001ú\\u0001Č\\u0001İ\\u0001Č\\u0001ú\\u0002į\\u0001ĕ\\\\vį\\u0002ú\\u0014į\\u0001\\\\0\\u0001ĸ\\\\v\\\\0\\u0001Ĺ\\u0001{\\u0001\\\\0\\u0001ĸ\\u0001\\\\0\\u0004ĸ\\u0001\\\\0\\u0001ĸ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tĸ\\u0005\\\\0\\u0001ĸ\\\\v\\\\0\\u0001Ĺ\\u0002\\\\0\\u0001ĸ\\u0001\\\\0\\u0004ĸ\\u0001\\\\0\\u0001ĸ\\\\v\\\\0\\\\tĸ\\u0004\\\\0\\u0001|\\u0001ĺ\\\\v|\\u0001Ļ\\u0001«\\u0001|\\u0001ĺ\\u0001|\\u0004ĺ\\u0001|\\u0001ĺ\\u0007|\\u0001€\\u0003|\\\\tĺ\\u0005|\\u0001ĺ\\\\v|\\u0001ļ\\u0002|\\u0001ĺ\\u0001|\\u0004ĺ\\u0001|\\u0001ĺ\\\\v|\\\\tĺ\\u0004|\\u0001\\\\0\\u0001Ĩ\\\\v\\\\0\\u0001ĩ\\u0001U\\u0001\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\\\v\\\\0\\\\tĨ\\u0004\\\\0\\u0001O\\u0001Ľ\\\\vO\\u0001ľ\\u0001…",
"\\u0001i\\u0001Ľ\\u0001O\\u0004Ľ\\u0001O\\u0001Ľ\\u0007O\\u0001Q\\u0003O\\\\tĽ\\u0005O\\u0001Ľ\\\\vO\\u0001ľ\\u0001O\\u0001i\\u0001Ľ\\u0001O\\u0004Ľ\\u0001O\\u0001Ľ\\\\vO\\\\tĽ\\u0004O\\u0001\\\\0\\u0001Ŀ\\\\v\\\\0\\u0001ŀ\\u0001{\\u0001\\\\0\\u0001Ŀ\\u0001\\\\0\\u0004Ŀ\\u0001\\\\0\\u0001Ŀ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tĿ\\u0005\\\\0\\u0001Ŀ\\\\v\\\\0\\u0001ŀ\\u0002\\\\0\\u0001Ŀ\\u0001\\\\0\\u0004Ŀ\\u0001\\\\0\\u0001Ŀ\\\\v\\\\0\\\\tĿ\\u0004\\\\0\\u0001|\\u0001Ł\\\\v|\\u0001ł\\u0001«\\u0001|\\u0001Ł\\u0001|\\u0004Ł\\u0001|\\u0001Ł\\u0007|\\u0001€\\u0003|\\\\tŁ\\u0005|\\u0001Ł\\\\v|\\u0001Ń\\u0002|\\u0001Ł\\u0001|\\u0004Ł\\u0001|\\u0001Ł\\\\v|\\\\tŁ\\u0004|\\u0001\\\\0\\u0001ı\\\\v\\\\0\\u0001IJ\\u0001U\\u0001\\\\0\\u0001ı\\u0001\\\\0\\u0004ı\\u0001\\\\0\\u0001ı\\\\v\\\\0\\\\tı\\u0004\\\\0\\u0001O\\u0001ń\\\\vO\\u0001Ņ\\u0001…",
"\\u0001i\\u0001ń\\u0001O\\u0004ń\\u0001O\\u0001ń\\u0007O\\u0001Q\\u0003O\\\\tń\\u0005O\\u0001ń\\\\vO\\u0001Ņ\\u0001O\\u0001i\\u0001ń\\u0001O\\u0004ń\\u0001O\\u0001ń\\\\vO\\\\tń\\u0004O\\u0001\\\\0\\u0001ņ\\\\v\\\\0\\u0001Ň\\u0001{\\u0001\\\\0\\u0001ņ\\u0001\\\\0\\u0004ņ\\u0001\\\\0\\u0001ņ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tņ\\u0005\\\\0\\u0001ņ\\\\v\\\\0\\u0001Ň\\u0002\\\\0\\u0001ņ\\u0001\\\\0\\u0004ņ\\u0001\\\\0\\u0001ņ\\\\v\\\\0\\\\tņ\\u0004\\\\0\\u0001|\\u0001ň\\\\v|\\u0001ʼn\\u0001«\\u0001|\\u0001ň\\u0001|\\u0004ň\\u0001|\\u0001ň\\u0007|\\u0001€\\u0003|\\\\tň\\u0005|\\u0001ň\\\\v|\\u0001Ŋ\\u0002|\\u0001ň\\u0001|\\u0004ň\\u0001|\\u0001ň\\\\v|\\\\tň\\u0004|\\u0001\\\\0\\u0001ĸ\\\\v\\\\0\\u0001Ĺ\\u0001U\\u0001\\\\0\\u0001ĸ\\u0001\\\\0\\u0004ĸ\\u0001\\\\0\\u0001ĸ\\\\v\\\\0\\\\tĸ\\u0004\\\\0\\u0001O\\u0001ŋ\\\\vO\\u0001Ō\\u0001…",
"\\u0001i\\u0001ŋ\\u0001O\\u0004ŋ\\u0001O\\u0001ŋ\\u0007O\\u0001Q\\u0003O\\\\tŋ\\u0005O\\u0001ŋ\\\\vO\\u0001Ō\\u0001O\\u0001i\\u0001ŋ\\u0001O\\u0004ŋ\\u0001O\\u0001ŋ\\\\vO\\\\tŋ\\u0004O\\u0001\\\\0\\u0001ō\\\\v\\\\0\\u0001Ŏ\\u0001{\\u0001\\\\0\\u0001ō\\u0001\\\\0\\u0004ō\\u0001\\\\0\\u0001ō\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tō\\u0005\\\\0\\u0001ō\\\\v\\\\0\\u0001Ŏ\\u0002\\\\0\\u0001ō\\u0001\\\\0\\u0004ō\\u0001\\\\0\\u0001ō\\\\v\\\\0\\\\tō\\u0004\\\\0\\u0001|\\u0001ŏ\\\\v|\\u0001Ő\\u0001«\\u0001|\\u0001ŏ\\u0001|\\u0004ŏ\\u0001|\\u0001ŏ\\u0007|\\u0001€\\u0003|\\\\tŏ\\u0005|\\u0001ŏ\\\\v|\\u0001ő\\u0002|\\u0001ŏ\\u0001|\\u0004ŏ\\u0001|\\u0001ŏ\\\\v|\\\\tŏ\\u0004|\\u0001\\\\0\\u0001Ŀ\\\\v\\\\0\\u0001ŀ\\u0001U\\u0001\\\\0\\u0001Ŀ\\u0001\\\\0\\u0004Ŀ\\u0001\\\\0\\u0001Ŀ\\\\v\\\\0\\\\tĿ\\u0004\\\\0\\u0001O\\u0001Œ\\\\vO\\u0001œ\\u0001…",
"\\u0001i\\u0001Œ\\u0001O\\u0004Œ\\u0001O\\u0001Œ\\u0007O\\u0001Q\\u0003O\\\\tŒ\\u0005O\\u0001Œ\\\\vO\\u0001œ\\u0001O\\u0001i\\u0001Œ\\u0001O\\u0004Œ\\u0001O\\u0001Œ\\\\vO\\\\tŒ\\u0004O\\u0001\\\\0\\u0001Ŕ\\\\v\\\\0\\u0001ŕ\\u0001{\\u0001\\\\0\\u0001Ŕ\\u0001\\\\0\\u0004Ŕ\\u0001\\\\0\\u0001Ŕ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tŔ\\u0005\\\\0\\u0001Ŕ\\\\v\\\\0\\u0001ŕ\\u0002\\\\0\\u0001Ŕ\\u0001\\\\0\\u0004Ŕ\\u0001\\\\0\\u0001Ŕ\\\\v\\\\0\\\\tŔ\\u0004\\\\0\\u0001|\\u0001Ŗ\\\\v|\\u0001ŗ\\u0001«\\u0001|\\u0001Ŗ\\u0001|\\u0004Ŗ\\u0001|\\u0001Ŗ\\u0007|\\u0001€\\u0003|\\\\tŖ\\u0005|\\u0001Ŗ\\\\v|\\u0001Ř\\u0002|\\u0001Ŗ\\u0001|\\u0004Ŗ\\u0001|\\u0001Ŗ\\\\v|\\\\tŖ\\u0004|\\u0001\\\\0\\u0001ņ\\\\v\\\\0\\u0001Ň\\u0001U\\u0001\\\\0\\u0001ņ\\u0001\\\\0\\u0004ņ\\u0001\\\\0\\u0001ņ\\\\v\\\\0\\\\tņ\\u0004\\\\0\\u0001O\\u0001ř\\\\vO\\u0001Ś\\u0001…",
"\\u0001i\\u0001ř\\u0001O\\u0004ř\\u0001O\\u0001ř\\u0007O\\u0001Q\\u0003O\\\\tř\\u0005O\\u0001ř\\\\vO\\u0001Ś\\u0001O\\u0001i\\u0001ř\\u0001O\\u0004ř\\u0001O\\u0001ř\\\\vO\\\\tř\\u0004O\\u0001\\\\0\\u0001ś\\\\v\\\\0\\u0001Ŝ\\u0001{\\u0001\\\\0\\u0001ś\\u0001\\\\0\\u0004ś\\u0001\\\\0\\u0001ś\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tś\\u0005\\\\0\\u0001ś\\\\v\\\\0\\u0001Ŝ\\u0002\\\\0\\u0001ś\\u0001\\\\0\\u0004ś\\u0001\\\\0\\u0001ś\\\\v\\\\0\\\\tś\\u0004\\\\0\\u0001|\\u0001ŝ\\\\v|\\u0001Ş\\u0001«\\u0001|\\u0001ŝ\\u0001|\\u0004ŝ\\u0001|\\u0001ŝ\\u0007|\\u0001€\\u0003|\\\\tŝ\\u0005|\\u0001ŝ\\\\v|\\u0001ş\\u0002|\\u0001ŝ\\u0001|\\u0004ŝ\\u0001|\\u0001ŝ\\\\v|\\\\tŝ\\u0004|\\u0001\\\\0\\u0001ō\\\\v\\\\0\\u0001Ŏ\\u0001U\\u0001\\\\0\\u0001ō\\u0001\\\\0\\u0004ō\\u0001\\\\0\\u0001ō\\\\v\\\\0\\\\tō\\u0004\\\\0\\u0001O\\u0001Š\\\\vO\\u0001š\\u0001…",
"\\u0001i\\u0001Š\\u0001O\\u0004Š\\u0001O\\u0001Š\\u0007O\\u0001Q\\u0003O\\\\tŠ\\u0005O\\u0001Š\\\\vO\\u0001š\\u0001O\\u0001i\\u0001Š\\u0001O\\u0004Š\\u0001O\\u0001Š\\\\vO\\\\tŠ\\u0004O\\u0001\\\\0\\u0001Ţ\\\\v\\\\0\\u0001ţ\\u0001{\\u0001\\\\0\\u0001Ţ\\u0001\\\\0\\u0004Ţ\\u0001\\\\0\\u0001Ţ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tŢ\\u0005\\\\0\\u0001Ţ\\\\v\\\\0\\u0001ţ\\u0002\\\\0\\u0001Ţ\\u0001\\\\0\\u0004Ţ\\u0001\\\\0\\u0001Ţ\\\\v\\\\0\\\\tŢ\\u0004\\\\0\\u0001|\\u0001Ť\\\\v|\\u0001ť\\u0001«\\u0001|\\u0001Ť\\u0001|\\u0004Ť\\u0001|\\u0001Ť\\u0007|\\u0001€\\u0003|\\\\tŤ\\u0005|\\u0001Ť\\\\v|\\u0001Ŧ\\u0002|\\u0001Ť\\u0001|\\u0004Ť\\u0001|\\u0001Ť\\\\v|\\\\tŤ\\u0004|\\u0001\\\\0\\u0001Ŕ\\\\v\\\\0\\u0001ŕ\\u0001U\\u0001\\\\0\\u0001Ŕ\\u0001\\\\0\\u0004Ŕ\\u0001\\\\0\\u0001Ŕ\\\\v\\\\0\\\\tŔ\\u0004\\\\0\\u0001O\\u0001ŧ\\\\vO\\u0001Ũ\\u0001…",
"\\u0001i\\u0001ŧ\\u0001O\\u0004ŧ\\u0001O\\u0001ŧ\\u0007O\\u0001Q\\u0003O\\\\tŧ\\u0005O\\u0001ŧ\\\\vO\\u0001Ũ\\u0001O\\u0001i\\u0001ŧ\\u0001O\\u0004ŧ\\u0001O\\u0001ŧ\\\\vO\\\\tŧ\\u0004O\\u0001\\\\0\\u0001ũ\\\\v\\\\0\\u0001Ū\\u0001{\\u0001\\\\0\\u0001ũ\\u0001\\\\0\\u0004ũ\\u0001\\\\0\\u0001ũ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tũ\\u0005\\\\0\\u0001ũ\\\\v\\\\0\\u0001Ū\\u0002\\\\0\\u0001ũ\\u0001\\\\0\\u0004ũ\\u0001\\\\0\\u0001ũ\\\\v\\\\0\\\\tũ\\u0004\\\\0\\u0001|\\u0001ū\\\\v|\\u0001Ŭ\\u0001«\\u0001|\\u0001ū\\u0001|\\u0004ū\\u0001|\\u0001ū\\u0007|\\u0001€\\u0003|\\\\tū\\u0005|\\u0001ū\\\\v|\\u0001ŭ\\u0002|\\u0001ū\\u0001|\\u0004ū\\u0001|\\u0001ū\\\\v|\\\\tū\\u0004|\\u0001\\\\0\\u0001ś\\\\v\\\\0\\u0001Ŝ\\u0001U\\u0001\\\\0\\u0001ś\\u0001\\\\0\\u0004ś\\u0001\\\\0\\u0001ś\\\\v\\\\0\\\\tś\\u0004\\\\0\\u0001O\\u0001Ů\\\\vO\\u0001ů\\u0001…",
"\\u0001i\\u0001Ů\\u0001O\\u0004Ů\\u0001O\\u0001Ů\\u0007O\\u0001Q\\u0003O\\\\tŮ\\u0005O\\u0001Ů\\\\vO\\u0001ů\\u0001O\\u0001i\\u0001Ů\\u0001O\\u0004Ů\\u0001O\\u0001Ů\\\\vO\\\\tŮ\\u0004O\\u0001\\\\0\\u0001Ű\\\\v\\\\0\\u0001ű\\u0001{\\u0001\\\\0\\u0001Ű\\u0001\\\\0\\u0004Ű\\u0001\\\\0\\u0001Ű\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tŰ\\u0005\\\\0\\u0001Ű\\\\v\\\\0\\u0001ű\\u0002\\\\0\\u0001Ű\\u0001\\\\0\\u0004Ű\\u0001\\\\0\\u0001Ű\\\\v\\\\0\\\\tŰ\\u0004\\\\0\\u0001|\\u0001Ų\\\\v|\\u0001ų\\u0001«\\u0001|\\u0001Ų\\u0001|\\u0004Ų\\u0001|\\u0001Ų\\u0007|\\u0001€\\u0003|\\\\tŲ\\u0005|\\u0001Ų\\\\v|\\u0001Ŵ\\u0002|\\u0001Ų\\u0001|\\u0004Ų\\u0001|\\u0001Ų\\\\v|\\\\tŲ\\u0004|\\u0001\\\\0\\u0001Ţ\\\\v\\\\0\\u0001ţ\\u0001U\\u0001\\\\0\\u0001Ţ\\u0001\\\\0\\u0004Ţ\\u0001\\\\0\\u0001Ţ\\\\v\\\\0\\\\tŢ\\u0004\\\\0\\u0001O\\u0001ŵ\\\\vO\\u0001Ŷ\\u0001…",
"\\u0001i\\u0001ŵ\\u0001O\\u0004ŵ\\u0001O\\u0001ŵ\\u0007O\\u0001Q\\u0003O\\\\tŵ\\u0005O\\u0001ŵ\\\\vO\\u0001Ŷ\\u0001O\\u0001i\\u0001ŵ\\u0001O\\u0004ŵ\\u0001O\\u0001ŵ\\\\vO\\\\tŵ\\u0004O\\u0001\\\\0\\u0001ŷ\\\\v\\\\0\\u0001Ÿ\\u0001{\\u0001\\\\0\\u0001ŷ\\u0001\\\\0\\u0004ŷ\\u0001\\\\0\\u0001ŷ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tŷ\\u0005\\\\0\\u0001ŷ\\\\v\\\\0\\u0001Ÿ\\u0002\\\\0\\u0001ŷ\\u0001\\\\0\\u0004ŷ\\u0001\\\\0\\u0001ŷ\\\\v\\\\0\\\\tŷ\\u0004\\\\0\\u0001|\\u0001Ź\\\\v|\\u0001ź\\u0001«\\u0001|\\u0001Ź\\u0001|\\u0004Ź\\u0001|\\u0001Ź\\u0007|\\u0001€\\u0003|\\\\tŹ\\u0005|\\u0001Ź\\\\v|\\u0001Ż\\u0002|\\u0001Ź\\u0001|\\u0004Ź\\u0001|\\u0001Ź\\\\v|\\\\tŹ\\u0004|\\u0001\\\\0\\u0001ũ\\\\v\\\\0\\u0001Ū\\u0001U\\u0001\\\\0\\u0001ũ\\u0001\\\\0\\u0004ũ\\u0001\\\\0\\u0001ũ\\\\v\\\\0\\\\tũ\\u0004\\\\0\\u0001O\\u0001ż\\\\vO\\u0001Ž\\u0001…",
"\\u0001i\\u0001ż\\u0001O\\u0004ż\\u0001O\\u0001ż\\u0007O\\u0001Q\\u0003O\\\\tż\\u0005O\\u0001ż\\\\vO\\u0001Ž\\u0001O\\u0001i\\u0001ż\\u0001O\\u0004ż\\u0001O\\u0001ż\\\\vO\\\\tż\\u0004O\\u0001\\\\0\\u0001ž\\\\v\\\\0\\u0001ſ\\u0001{\\u0001\\\\0\\u0001ž\\u0001\\\\0\\u0004ž\\u0001\\\\0\\u0001ž\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tž\\u0005\\\\0\\u0001ž\\\\v\\\\0\\u0001ſ\\u0002\\\\0\\u0001ž\\u0001\\\\0\\u0004ž\\u0001\\\\0\\u0001ž\\\\v\\\\0\\\\tž\\u0004\\\\0\\u0001|\\u0001ƀ\\\\v|\\u0001Ɓ\\u0001«\\u0001|\\u0001ƀ\\u0001|\\u0004ƀ\\u0001|\\u0001ƀ\\u0007|\\u0001€\\u0003|\\\\tƀ\\u0005|\\u0001ƀ\\\\v|\\u0001Ƃ\\u0002|\\u0001ƀ\\u0001|\\u0004ƀ\\u0001|\\u0001ƀ\\\\v|\\\\tƀ\\u0004|\\u0001\\\\0\\u0001Ű\\\\v\\\\0\\u0001ű\\u0001U\\u0001\\\\0\\u0001Ű\\u0001\\\\0\\u0004Ű\\u0001\\\\0\\u0001Ű\\\\v\\\\0\\\\tŰ\\u0004\\\\0\\u0001O\\u0001ƃ\\\\vO\\u0001Ƅ\\u0001…",
"\\u0001i\\u0001ƃ\\u0001O\\u0004ƃ\\u0001O\\u0001ƃ\\u0007O\\u0001Q\\u0003O\\\\tƃ\\u0005O\\u0001ƃ\\\\vO\\u0001Ƅ\\u0001O\\u0001i\\u0001ƃ\\u0001O\\u0004ƃ\\u0001O\\u0001ƃ\\\\vO\\\\tƃ\\u0004O\\u0001\\\\0\\u0001ƅ\\\\v\\\\0\\u0001Ɔ\\u0001{\\u0001\\\\0\\u0001ƅ\\u0001\\\\0\\u0004ƅ\\u0001\\\\0\\u0001ƅ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƅ\\u0005\\\\0\\u0001ƅ\\\\v\\\\0\\u0001Ɔ\\u0002\\\\0\\u0001ƅ\\u0001\\\\0\\u0004ƅ\\u0001\\\\0\\u0001ƅ\\\\v\\\\0\\\\tƅ\\u0004\\\\0\\u0001|\\u0001Ƈ\\\\v|\\u0001ƈ\\u0001«\\u0001|\\u0001Ƈ\\u0001|\\u0004Ƈ\\u0001|\\u0001Ƈ\\u0007|\\u0001€\\u0003|\\\\tƇ\\u0005|\\u0001Ƈ\\\\v|\\u0001Ɖ\\u0002|\\u0001Ƈ\\u0001|\\u0004Ƈ\\u0001|\\u0001Ƈ\\\\v|\\\\tƇ\\u0004|\\u0001\\\\0\\u0001ŷ\\\\v\\\\0\\u0001Ÿ\\u0001U\\u0001\\\\0\\u0001ŷ\\u0001\\\\0\\u0004ŷ\\u0001\\\\0\\u0001ŷ\\\\v\\\\0\\\\tŷ\\u0004\\\\0\\u0001O\\u0001Ɗ\\\\vO\\u0001Ƌ\\u0001…",
"\\u0001i\\u0001Ɗ\\u0001O\\u0004Ɗ\\u0001O\\u0001Ɗ\\u0007O\\u0001Q\\u0003O\\\\tƊ\\u0005O\\u0001Ɗ\\\\vO\\u0001Ƌ\\u0001O\\u0001i\\u0001Ɗ\\u0001O\\u0004Ɗ\\u0001O\\u0001Ɗ\\\\vO\\\\tƊ\\u0004O\\u0001\\\\0\\u0001ƌ\\\\v\\\\0\\u0001ƍ\\u0001{\\u0001\\\\0\\u0001ƌ\\u0001\\\\0\\u0004ƌ\\u0001\\\\0\\u0001ƌ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƌ\\u0005\\\\0\\u0001ƌ\\\\v\\\\0\\u0001ƍ\\u0002\\\\0\\u0001ƌ\\u0001\\\\0\\u0004ƌ\\u0001\\\\0\\u0001ƌ\\\\v\\\\0\\\\tƌ\\u0004\\\\0\\u0001|\\u0001Ǝ\\\\v|\\u0001Ə\\u0001«\\u0001|\\u0001Ǝ\\u0001|\\u0004Ǝ\\u0001|\\u0001Ǝ\\u0007|\\u0001€\\u0003|\\\\tƎ\\u0005|\\u0001Ǝ\\\\v|\\u0001Ɛ\\u0002|\\u0001Ǝ\\u0001|\\u0004Ǝ\\u0001|\\u0001Ǝ\\\\v|\\\\tƎ\\u0004|\\u0001\\\\0\\u0001ž\\\\v\\\\0\\u0001ſ\\u0001U\\u0001\\\\0\\u0001ž\\u0001\\\\0\\u0004ž\\u0001\\\\0\\u0001ž\\\\v\\\\0\\\\tž\\u0004\\\\0\\u0001O\\u0001Ƒ\\\\vO\\u0001ƒ\\u0001…",
"\\u0001i\\u0001Ƒ\\u0001O\\u0004Ƒ\\u0001O\\u0001Ƒ\\u0007O\\u0001Q\\u0003O\\\\tƑ\\u0005O\\u0001Ƒ\\\\vO\\u0001ƒ\\u0001O\\u0001i\\u0001Ƒ\\u0001O\\u0004Ƒ\\u0001O\\u0001Ƒ\\\\vO\\\\tƑ\\u0004O\\u0001\\\\0\\u0001Ɠ\\\\v\\\\0\\u0001Ɣ\\u0001{\\u0001\\\\0\\u0001Ɠ\\u0001\\\\0\\u0004Ɠ\\u0001\\\\0\\u0001Ɠ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƓ\\u0005\\\\0\\u0001Ɠ\\\\v\\\\0\\u0001Ɣ\\u0002\\\\0\\u0001Ɠ\\u0001\\\\0\\u0004Ɠ\\u0001\\\\0\\u0001Ɠ\\\\v\\\\0\\\\tƓ\\u0004\\\\0\\u0001|\\u0001ƕ\\\\v|\\u0001Ɩ\\u0001«\\u0001|\\u0001ƕ\\u0001|\\u0004ƕ\\u0001|\\u0001ƕ\\u0007|\\u0001€\\u0003|\\\\tƕ\\u0005|\\u0001ƕ\\\\v|\\u0001Ɨ\\u0002|\\u0001ƕ\\u0001|\\u0004ƕ\\u0001|\\u0001ƕ\\\\v|\\\\tƕ\\u0004|\\u0001\\\\0\\u0001ƅ\\\\v\\\\0\\u0001Ɔ\\u0001U\\u0001\\\\0\\u0001ƅ\\u0001\\\\0\\u0004ƅ\\u0001\\\\0\\u0001ƅ\\\\v\\\\0\\\\tƅ\\u0004\\\\0\\u0001O\\u0001Ƙ\\\\vO\\u0001ƙ\\u0001…",
"\\u0001i\\u0001Ƙ\\u0001O\\u0004Ƙ\\u0001O\\u0001Ƙ\\u0007O\\u0001Q\\u0003O\\\\tƘ\\u0005O\\u0001Ƙ\\\\vO\\u0001ƙ\\u0001O\\u0001i\\u0001Ƙ\\u0001O\\u0004Ƙ\\u0001O\\u0001Ƙ\\\\vO\\\\tƘ\\u0004O\\u0001\\\\0\\u0001ƚ\\\\v\\\\0\\u0001ƛ\\u0001{\\u0001\\\\0\\u0001ƚ\\u0001\\\\0\\u0004ƚ\\u0001\\\\0\\u0001ƚ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƚ\\u0005\\\\0\\u0001ƚ\\\\v\\\\0\\u0001ƛ\\u0002\\\\0\\u0001ƚ\\u0001\\\\0\\u0004ƚ\\u0001\\\\0\\u0001ƚ\\\\v\\\\0\\\\tƚ\\u0004\\\\0\\u0001|\\u0001Ɯ\\\\v|\\u0001Ɲ\\u0001«\\u0001|\\u0001Ɯ\\u0001|\\u0004Ɯ\\u0001|\\u0001Ɯ\\u0007|\\u0001€\\u0003|\\\\tƜ\\u0005|\\u0001Ɯ\\\\v|\\u0001ƞ\\u0002|\\u0001Ɯ\\u0001|\\u0004Ɯ\\u0001|\\u0001Ɯ\\\\v|\\\\tƜ\\u0004|\\u0001\\\\0\\u0001ƌ\\\\v\\\\0\\u0001ƍ\\u0001U\\u0001\\\\0\\u0001ƌ\\u0001\\\\0\\u0004ƌ\\u0001\\\\0\\u0001ƌ\\\\v\\\\0\\\\tƌ\\u0004\\\\0\\u0001O\\u0001Ɵ\\\\vO\\u0001Ơ\\u0001…",
"\\u0001i\\u0001Ɵ\\u0001O\\u0004Ɵ\\u0001O\\u0001Ɵ\\u0007O\\u0001Q\\u0003O\\\\tƟ\\u0005O\\u0001Ɵ\\\\vO\\u0001Ơ\\u0001O\\u0001i\\u0001Ɵ\\u0001O\\u0004Ɵ\\u0001O\\u0001Ɵ\\\\vO\\\\tƟ\\u0004O\\u0001\\\\0\\u0001ơ\\\\v\\\\0\\u0001Ƣ\\u0001{\\u0001\\\\0\\u0001ơ\\u0001\\\\0\\u0004ơ\\u0001\\\\0\\u0001ơ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tơ\\u0005\\\\0\\u0001ơ\\\\v\\\\0\\u0001Ƣ\\u0002\\\\0\\u0001ơ\\u0001\\\\0\\u0004ơ\\u0001\\\\0\\u0001ơ\\\\v\\\\0\\\\tơ\\u0004\\\\0\\u0001|\\u0001ƣ\\\\v|\\u0001Ƥ\\u0001«\\u0001|\\u0001ƣ\\u0001|\\u0004ƣ\\u0001|\\u0001ƣ\\u0007|\\u0001€\\u0003|\\\\tƣ\\u0005|\\u0001ƣ\\\\v|\\u0001ƥ\\u0002|\\u0001ƣ\\u0001|\\u0004ƣ\\u0001|\\u0001ƣ\\\\v|\\\\tƣ\\u0004|\\u0001\\\\0\\u0001Ɠ\\\\v\\\\0\\u0001Ɣ\\u0001U\\u0001\\\\0\\u0001Ɠ\\u0001\\\\0\\u0004Ɠ\\u0001\\\\0\\u0001Ɠ\\\\v\\\\0\\\\tƓ\\u0004\\\\0\\u0001O\\u0001Ʀ\\\\vO\\u0001Ƨ\\u0001…",
"\\u0001i\\u0001Ʀ\\u0001O\\u0004Ʀ\\u0001O\\u0001Ʀ\\u0007O\\u0001Q\\u0003O\\\\tƦ\\u0005O\\u0001Ʀ\\\\vO\\u0001Ƨ\\u0001O\\u0001i\\u0001Ʀ\\u0001O\\u0004Ʀ\\u0001O\\u0001Ʀ\\\\vO\\\\tƦ\\u0004O\\u0001\\\\0\\u0001ƨ\\\\v\\\\0\\u0001Ʃ\\u0001{\\u0001\\\\0\\u0001ƨ\\u0001\\\\0\\u0004ƨ\\u0001\\\\0\\u0001ƨ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƨ\\u0005\\\\0\\u0001ƨ\\\\v\\\\0\\u0001Ʃ\\u0002\\\\0\\u0001ƨ\\u0001\\\\0\\u0004ƨ\\u0001\\\\0\\u0001ƨ\\\\v\\\\0\\\\tƨ\\u0004\\\\0\\u0001|\\u0001ƪ\\\\v|\\u0001ƫ\\u0001«\\u0001|\\u0001ƪ\\u0001|\\u0004ƪ\\u0001|\\u0001ƪ\\u0007|\\u0001€\\u0003|\\\\tƪ\\u0005|\\u0001ƪ\\\\v|\\u0001Ƭ\\u0002|\\u0001ƪ\\u0001|\\u0004ƪ\\u0001|\\u0001ƪ\\\\v|\\\\tƪ\\u0004|\\u0001\\\\0\\u0001ƚ\\\\v\\\\0\\u0001ƛ\\u0001U\\u0001\\\\0\\u0001ƚ\\u0001\\\\0\\u0004ƚ\\u0001\\\\0\\u0001ƚ\\\\v\\\\0\\\\tƚ\\u0004\\\\0\\u0001O\\u0001ƭ\\\\vO\\u0001Ʈ\\u0001…",
"\\u0001i\\u0001ƭ\\u0001O\\u0004ƭ\\u0001O\\u0001ƭ\\u0007O\\u0001Q\\u0003O\\\\tƭ\\u0005O\\u0001ƭ\\\\vO\\u0001Ʈ\\u0001O\\u0001i\\u0001ƭ\\u0001O\\u0004ƭ\\u0001O\\u0001ƭ\\\\vO\\\\tƭ\\u0004O\\u0001\\\\0\\u0001Ư\\\\v\\\\0\\u0001ư\\u0001{\\u0001\\\\0\\u0001Ư\\u0001\\\\0\\u0004Ư\\u0001\\\\0\\u0001Ư\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƯ\\u0005\\\\0\\u0001Ư\\\\v\\\\0\\u0001ư\\u0002\\\\0\\u0001Ư\\u0001\\\\0\\u0004Ư\\u0001\\\\0\\u0001Ư\\\\v\\\\0\\\\tƯ\\u0004\\\\0\\u0001|\\u0001Ʊ\\\\v|\\u0001Ʋ\\u0001«\\u0001|\\u0001Ʊ\\u0001|\\u0004Ʊ\\u0001|\\u0001Ʊ\\u0007|\\u0001€\\u0003|\\\\tƱ\\u0005|\\u0001Ʊ\\\\v|\\u0001Ƴ\\u0002|\\u0001Ʊ\\u0001|\\u0004Ʊ\\u0001|\\u0001Ʊ\\\\v|\\\\tƱ\\u0004|\\u0001\\\\0\\u0001ơ\\\\v\\\\0\\u0001Ƣ\\u0001U\\u0001\\\\0\\u0001ơ\\u0001\\\\0\\u0004ơ\\u0001\\\\0\\u0001ơ\\\\v\\\\0\\\\tơ\\u0004\\\\0\\u0001O\\u0001ƴ\\\\vO\\u0001Ƶ\\u0001…",
"\\u0001i\\u0001ƴ\\u0001O\\u0004ƴ\\u0001O\\u0001ƴ\\u0007O\\u0001Q\\u0003O\\\\tƴ\\u0005O\\u0001ƴ\\\\vO\\u0001Ƶ\\u0001O\\u0001i\\u0001ƴ\\u0001O\\u0004ƴ\\u0001O\\u0001ƴ\\\\vO\\\\tƴ\\u0004O\\u0001\\\\0\\u0001ƶ\\\\v\\\\0\\u0001Ʒ\\u0001{\\u0001\\\\0\\u0001ƶ\\u0001\\\\0\\u0004ƶ\\u0001\\\\0\\u0001ƶ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƶ\\u0005\\\\0\\u0001ƶ\\\\v\\\\0\\u0001Ʒ\\u0002\\\\0\\u0001ƶ\\u0001\\\\0\\u0004ƶ\\u0001\\\\0\\u0001ƶ\\\\v\\\\0\\\\tƶ\\u0004\\\\0\\u0001|\\u0001Ƹ\\\\v|\\u0001ƹ\\u0001«\\u0001|\\u0001Ƹ\\u0001|\\u0004Ƹ\\u0001|\\u0001Ƹ\\u0007|\\u0001€\\u0003|\\\\tƸ\\u0005|\\u0001Ƹ\\\\v|\\u0001ƺ\\u0002|\\u0001Ƹ\\u0001|\\u0004Ƹ\\u0001|\\u0001Ƹ\\\\v|\\\\tƸ\\u0004|\\u0001\\\\0\\u0001ƨ\\\\v\\\\0\\u0001Ʃ\\u0001U\\u0001\\\\0\\u0001ƨ\\u0001\\\\0\\u0004ƨ\\u0001\\\\0\\u0001ƨ\\\\v\\\\0\\\\tƨ\\u0004\\\\0\\u0001O\\u0001ƻ\\\\vO\\u0001Ƽ\\u0001…",
"\\u0001i\\u0001ƻ\\u0001O\\u0004ƻ\\u0001O\\u0001ƻ\\u0007O\\u0001Q\\u0003O\\\\tƻ\\u0005O\\u0001ƻ\\\\vO\\u0001Ƽ\\u0001O\\u0001i\\u0001ƻ\\u0001O\\u0004ƻ\\u0001O\\u0001ƻ\\\\vO\\\\tƻ\\u0004O\\u0001\\\\0\\u0001ƽ\\\\v\\\\0\\u0001ƾ\\u0001{\\u0001\\\\0\\u0001ƽ\\u0001\\\\0\\u0004ƽ\\u0001\\\\0\\u0001ƽ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tƽ\\u0005\\\\0\\u0001ƽ\\\\v\\\\0\\u0001ƾ\\u0002\\\\0\\u0001ƽ\\u0001\\\\0\\u0004ƽ\\u0001\\\\0\\u0001ƽ\\\\v\\\\0\\\\tƽ\\u0004\\\\0\\u0001|\\u0001ƿ\\\\v|\\u0001ǀ\\u0001«\\u0001|\\u0001ƿ\\u0001|\\u0004ƿ\\u0001|\\u0001ƿ\\u0007|\\u0001€\\u0003|\\\\tƿ\\u0005|\\u0001ƿ\\\\v|\\u0001ǁ\\u0002|\\u0001ƿ\\u0001|\\u0004ƿ\\u0001|\\u0001ƿ\\\\v|\\\\tƿ\\u0004|\\u0001\\\\0\\u0001Ư\\\\v\\\\0\\u0001ư\\u0001U\\u0001\\\\0\\u0001Ư\\u0001\\\\0\\u0004Ư\\u0001\\\\0\\u0001Ư\\\\v\\\\0\\\\tƯ\\u0004\\\\0\\u0001O\\u0001ǂ\\\\vO\\u0001ǃ\\u0001…",
"\\u0001i\\u0001ǂ\\u0001O\\u0004ǂ\\u0001O\\u0001ǂ\\u0007O\\u0001Q\\u0003O\\\\tǂ\\u0005O\\u0001ǂ\\\\vO\\u0001ǃ\\u0001O\\u0001i\\u0001ǂ\\u0001O\\u0004ǂ\\u0001O\\u0001ǂ\\\\vO\\\\tǂ\\u0004O\\u0001\\\\0\\u0001DŽ\\\\v\\\\0\\u0001Dž\\u0001{\\u0001\\\\0\\u0001DŽ\\u0001\\\\0\\u0004DŽ\\u0001\\\\0\\u0001DŽ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tDŽ\\u0005\\\\0\\u0001DŽ\\\\v\\\\0\\u0001Dž\\u0002\\\\0\\u0001DŽ\\u0001\\\\0\\u0004DŽ\\u0001\\\\0\\u0001DŽ\\\\v\\\\0\\\\tDŽ\\u0004\\\\0\\u0001|\\u0001dž\\\\v|\\u0001LJ\\u0001«\\u0001|\\u0001dž\\u0001|\\u0004dž\\u0001|\\u0001dž\\u0007|\\u0001€\\u0003|\\\\tdž\\u0005|\\u0001dž\\\\v|\\u0001Lj\\u0002|\\u0001dž\\u0001|\\u0004dž\\u0001|\\u0001dž\\\\v|\\\\tdž\\u0004|\\u0001\\\\0\\u0001ƶ\\\\v\\\\0\\u0001Ʒ\\u0001U\\u0001\\\\0\\u0001ƶ\\u0001\\\\0\\u0004ƶ\\u0001\\\\0\\u0001ƶ\\\\v\\\\0\\\\tƶ\\u0004\\\\0\\u0001O\\u0001lj\\\\vO\\u0001NJ\\u0001…",
"\\u0001i\\u0001lj\\u0001O\\u0004lj\\u0001O\\u0001lj\\u0007O\\u0001Q\\u0003O\\\\tlj\\u0005O\\u0001lj\\\\vO\\u0001NJ\\u0001O\\u0001i\\u0001lj\\u0001O\\u0004lj\\u0001O\\u0001lj\\\\vO\\\\tlj\\u0004O\\u0001\\\\0\\u0001Nj\\\\v\\\\0\\u0001nj\\u0001{\\u0001\\\\0\\u0001Nj\\u0001\\\\0\\u0004Nj\\u0001\\\\0\\u0001Nj\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tNj\\u0005\\\\0\\u0001Nj\\\\v\\\\0\\u0001nj\\u0002\\\\0\\u0001Nj\\u0001\\\\0\\u0004Nj\\u0001\\\\0\\u0001Nj\\\\v\\\\0\\\\tNj\\u0004\\\\0\\u0001|\\u0001Ǎ\\\\v|\\u0001ǎ\\u0001«\\u0001|\\u0001Ǎ\\u0001|\\u0004Ǎ\\u0001|\\u0001Ǎ\\u0007|\\u0001€\\u0003|\\\\tǍ\\u0005|\\u0001Ǎ\\\\v|\\u0001Ǐ\\u0002|\\u0001Ǎ\\u0001|\\u0004Ǎ\\u0001|\\u0001Ǎ\\\\v|\\\\tǍ\\u0004|\\u0001\\\\0\\u0001ƽ\\\\v\\\\0\\u0001ƾ\\u0001U\\u0001\\\\0\\u0001ƽ\\u0001\\\\0\\u0004ƽ\\u0001\\\\0\\u0001ƽ\\\\v\\\\0\\\\tƽ\\u0004\\\\0\\u0001O\\u0001ǐ\\\\vO\\u0001Ǒ\\u0001…",
"\\u0001i\\u0001ǐ\\u0001O\\u0004ǐ\\u0001O\\u0001ǐ\\u0007O\\u0001Q\\u0003O\\\\tǐ\\u0005O\\u0001ǐ\\\\vO\\u0001Ǒ\\u0001O\\u0001i\\u0001ǐ\\u0001O\\u0004ǐ\\u0001O\\u0001ǐ\\\\vO\\\\tǐ\\u0004O\\u0001\\\\0\\u0001ǒ\\\\v\\\\0\\u0001Ǔ\\u0001{\\u0001\\\\0\\u0001ǒ\\u0001\\\\0\\u0004ǒ\\u0001\\\\0\\u0001ǒ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǒ\\u0005\\\\0\\u0001ǒ\\\\v\\\\0\\u0001Ǔ\\u0002\\\\0\\u0001ǒ\\u0001\\\\0\\u0004ǒ\\u0001\\\\0\\u0001ǒ\\\\v\\\\0\\\\tǒ\\u0004\\\\0\\u0001|\\u0001ǔ\\\\v|\\u0001Ǖ\\u0001«\\u0001|\\u0001ǔ\\u0001|\\u0004ǔ\\u0001|\\u0001ǔ\\u0007|\\u0001€\\u0003|\\\\tǔ\\u0005|\\u0001ǔ\\\\v|\\u0001ǖ\\u0002|\\u0001ǔ\\u0001|\\u0004ǔ\\u0001|\\u0001ǔ\\\\v|\\\\tǔ\\u0004|\\u0001\\\\0\\u0001DŽ\\\\v\\\\0\\u0001Dž\\u0001U\\u0001\\\\0\\u0001DŽ\\u0001\\\\0\\u0004DŽ\\u0001\\\\0\\u0001DŽ\\\\v\\\\0\\\\tDŽ\\u0004\\\\0\\u0001O\\u0001Ǘ\\\\vO\\u0001ǘ\\u0001…",
"\\u0001i\\u0001Ǘ\\u0001O\\u0004Ǘ\\u0001O\\u0001Ǘ\\u0007O\\u0001Q\\u0003O\\\\tǗ\\u0005O\\u0001Ǘ\\\\vO\\u0001ǘ\\u0001O\\u0001i\\u0001Ǘ\\u0001O\\u0004Ǘ\\u0001O\\u0001Ǘ\\\\vO\\\\tǗ\\u0004O\\u0001\\\\0\\u0001Ǚ\\\\v\\\\0\\u0001ǚ\\u0001{\\u0001\\\\0\\u0001Ǚ\\u0001\\\\0\\u0004Ǚ\\u0001\\\\0\\u0001Ǚ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǙ\\u0005\\\\0\\u0001Ǚ\\\\v\\\\0\\u0001ǚ\\u0002\\\\0\\u0001Ǚ\\u0001\\\\0\\u0004Ǚ\\u0001\\\\0\\u0001Ǚ\\\\v\\\\0\\\\tǙ\\u0004\\\\0\\u0001|\\u0001Ǜ\\\\v|\\u0001ǜ\\u0001«\\u0001|\\u0001Ǜ\\u0001|\\u0004Ǜ\\u0001|\\u0001Ǜ\\u0007|\\u0001€\\u0003|\\\\tǛ\\u0005|\\u0001Ǜ\\\\v|\\u0001ǝ\\u0002|\\u0001Ǜ\\u0001|\\u0004Ǜ\\u0001|\\u0001Ǜ\\\\v|\\\\tǛ\\u0004|\\u0001\\\\0\\u0001Nj\\\\v\\\\0\\u0001nj\\u0001U\\u0001\\\\0\\u0001Nj\\u0001\\\\0\\u0004Nj\\u0001\\\\0\\u0001Nj\\\\v\\\\0\\\\tNj\\u0004\\\\0\\u0001O\\u0001Ǟ\\\\vO\\u0001ǟ\\u0001…",
"\\u0001i\\u0001Ǟ\\u0001O\\u0004Ǟ\\u0001O\\u0001Ǟ\\u0007O\\u0001Q\\u0003O\\\\tǞ\\u0005O\\u0001Ǟ\\\\vO\\u0001ǟ\\u0001O\\u0001i\\u0001Ǟ\\u0001O\\u0004Ǟ\\u0001O\\u0001Ǟ\\\\vO\\\\tǞ\\u0004O\\u0001\\\\0\\u0001Ǡ\\\\v\\\\0\\u0001ǡ\\u0001{\\u0001\\\\0\\u0001Ǡ\\u0001\\\\0\\u0004Ǡ\\u0001\\\\0\\u0001Ǡ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǠ\\u0005\\\\0\\u0001Ǡ\\\\v\\\\0\\u0001ǡ\\u0002\\\\0\\u0001Ǡ\\u0001\\\\0\\u0004Ǡ\\u0001\\\\0\\u0001Ǡ\\\\v\\\\0\\\\tǠ\\u0004\\\\0\\u0001|\\u0001Ǣ\\\\v|\\u0001ǣ\\u0001«\\u0001|\\u0001Ǣ\\u0001|\\u0004Ǣ\\u0001|\\u0001Ǣ\\u0007|\\u0001€\\u0003|\\\\tǢ\\u0005|\\u0001Ǣ\\\\v|\\u0001Ǥ\\u0002|\\u0001Ǣ\\u0001|\\u0004Ǣ\\u0001|\\u0001Ǣ\\\\v|\\\\tǢ\\u0004|\\u0001\\\\0\\u0001ǒ\\\\v\\\\0\\u0001Ǔ\\u0001U\\u0001\\\\0\\u0001ǒ\\u0001\\\\0\\u0004ǒ\\u0001\\\\0\\u0001ǒ\\\\v\\\\0\\\\tǒ\\u0004\\\\0\\u0001O\\u0001ǥ\\\\vO\\u0001Ǧ\\u0001…",
"\\u0001i\\u0001ǥ\\u0001O\\u0004ǥ\\u0001O\\u0001ǥ\\u0007O\\u0001Q\\u0003O\\\\tǥ\\u0005O\\u0001ǥ\\\\vO\\u0001Ǧ\\u0001O\\u0001i\\u0001ǥ\\u0001O\\u0004ǥ\\u0001O\\u0001ǥ\\\\vO\\\\tǥ\\u0004O\\u0001\\\\0\\u0001ǧ\\\\v\\\\0\\u0001Ǩ\\u0001{\\u0001\\\\0\\u0001ǧ\\u0001\\\\0\\u0004ǧ\\u0001\\\\0\\u0001ǧ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǧ\\u0005\\\\0\\u0001ǧ\\\\v\\\\0\\u0001Ǩ\\u0002\\\\0\\u0001ǧ\\u0001\\\\0\\u0004ǧ\\u0001\\\\0\\u0001ǧ\\\\v\\\\0\\\\tǧ\\u0004\\\\0\\u0001|\\u0001ǩ\\\\v|\\u0001Ǫ\\u0001«\\u0001|\\u0001ǩ\\u0001|\\u0004ǩ\\u0001|\\u0001ǩ\\u0007|\\u0001€\\u0003|\\\\tǩ\\u0005|\\u0001ǩ\\\\v|\\u0001ǫ\\u0002|\\u0001ǩ\\u0001|\\u0004ǩ\\u0001|\\u0001ǩ\\\\v|\\\\tǩ\\u0004|\\u0001\\\\0\\u0001Ǚ\\\\v\\\\0\\u0001ǚ\\u0001U\\u0001\\\\0\\u0001Ǚ\\u0001\\\\0\\u0004Ǚ\\u0001\\\\0\\u0001Ǚ\\\\v\\\\0\\\\tǙ\\u0004\\\\0\\u0001O\\u0001Ǭ\\\\vO\\u0001ǭ\\u0001…",
"\\u0001i\\u0001Ǭ\\u0001O\\u0004Ǭ\\u0001O\\u0001Ǭ\\u0007O\\u0001Q\\u0003O\\\\tǬ\\u0005O\\u0001Ǭ\\\\vO\\u0001ǭ\\u0001O\\u0001i\\u0001Ǭ\\u0001O\\u0004Ǭ\\u0001O\\u0001Ǭ\\\\vO\\\\tǬ\\u0004O\\u0001\\\\0\\u0001Ǯ\\\\v\\\\0\\u0001ǯ\\u0001{\\u0001\\\\0\\u0001Ǯ\\u0001\\\\0\\u0004Ǯ\\u0001\\\\0\\u0001Ǯ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǮ\\u0005\\\\0\\u0001Ǯ\\\\v\\\\0\\u0001ǯ\\u0002\\\\0\\u0001Ǯ\\u0001\\\\0\\u0004Ǯ\\u0001\\\\0\\u0001Ǯ\\\\v\\\\0\\\\tǮ\\u0004\\\\0\\u0001|\\u0001ǰ\\\\v|\\u0001DZ\\u0001«\\u0001|\\u0001ǰ\\u0001|\\u0004ǰ\\u0001|\\u0001ǰ\\u0007|\\u0001€\\u0003|\\\\tǰ\\u0005|\\u0001ǰ\\\\v|\\u0001Dz\\u0002|\\u0001ǰ\\u0001|\\u0004ǰ\\u0001|\\u0001ǰ\\\\v|\\\\tǰ\\u0004|\\u0001\\\\0\\u0001Ǡ\\\\v\\\\0\\u0001ǡ\\u0001U\\u0001\\\\0\\u0001Ǡ\\u0001\\\\0\\u0004Ǡ\\u0001\\\\0\\u0001Ǡ\\\\v\\\\0\\\\tǠ\\u0004\\\\0\\u0001O\\u0001dz\\\\vO\\u0001Ǵ\\u0001…",
"\\u0001i\\u0001dz\\u0001O\\u0004dz\\u0001O\\u0001dz\\u0007O\\u0001Q\\u0003O\\\\tdz\\u0005O\\u0001dz\\\\vO\\u0001Ǵ\\u0001O\\u0001i\\u0001dz\\u0001O\\u0004dz\\u0001O\\u0001dz\\\\vO\\\\tdz\\u0004O\\u0001\\\\0\\u0001ǵ\\\\v\\\\0\\u0001Ƕ\\u0001{\\u0001\\\\0\\u0001ǵ\\u0001\\\\0\\u0004ǵ\\u0001\\\\0\\u0001ǵ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǵ\\u0005\\\\0\\u0001ǵ\\\\v\\\\0\\u0001Ƕ\\u0002\\\\0\\u0001ǵ\\u0001\\\\0\\u0004ǵ\\u0001\\\\0\\u0001ǵ\\\\v\\\\0\\\\tǵ\\u0004\\\\0\\u0001|\\u0001Ƿ\\\\v|\\u0001Ǹ\\u0001«\\u0001|\\u0001Ƿ\\u0001|\\u0004Ƿ\\u0001|\\u0001Ƿ\\u0007|\\u0001€\\u0003|\\\\tǷ\\u0005|\\u0001Ƿ\\\\v|\\u0001ǹ\\u0002|\\u0001Ƿ\\u0001|\\u0004Ƿ\\u0001|\\u0001Ƿ\\\\v|\\\\tǷ\\u0004|\\u0001\\\\0\\u0001ǧ\\\\v\\\\0\\u0001Ǩ\\u0001U\\u0001\\\\0\\u0001ǧ\\u0001\\\\0\\u0004ǧ\\u0001\\\\0\\u0001ǧ\\\\v\\\\0\\\\tǧ\\u0004\\\\0\\u0001O\\u0001Ǻ\\\\vO\\u0001ǻ\\u0001…",
"\\u0001i\\u0001Ǻ\\u0001O\\u0004Ǻ\\u0001O\\u0001Ǻ\\u0007O\\u0001Q\\u0003O\\\\tǺ\\u0005O\\u0001Ǻ\\\\vO\\u0001ǻ\\u0001O\\u0001i\\u0001Ǻ\\u0001O\\u0004Ǻ\\u0001O\\u0001Ǻ\\\\vO\\\\tǺ\\u0004O\\u0001\\\\0\\u0001Ǽ\\\\v\\\\0\\u0001ǽ\\u0001{\\u0001\\\\0\\u0001Ǽ\\u0001\\\\0\\u0004Ǽ\\u0001\\\\0\\u0001Ǽ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tǼ\\u0005\\\\0\\u0001Ǽ\\\\v\\\\0\\u0001ǽ\\u0002\\\\0\\u0001Ǽ\\u0001\\\\0\\u0004Ǽ\\u0001\\\\0\\u0001Ǽ\\\\v\\\\0\\\\tǼ\\u0004\\\\0\\u0001|\\u0001Ǿ\\\\v|\\u0001ǿ\\u0001«\\u0001|\\u0001Ǿ\\u0001|\\u0004Ǿ\\u0001|\\u0001Ǿ\\u0007|\\u0001€\\u0003|\\\\tǾ\\u0005|\\u0001Ǿ\\\\v|\\u0001Ȁ\\u0002|\\u0001Ǿ\\u0001|\\u0004Ǿ\\u0001|\\u0001Ǿ\\\\v|\\\\tǾ\\u0004|\\u0001\\\\0\\u0001Ǯ\\\\v\\\\0\\u0001ǯ\\u0001U\\u0001\\\\0\\u0001Ǯ\\u0001\\\\0\\u0004Ǯ\\u0001\\\\0\\u0001Ǯ\\\\v\\\\0\\\\tǮ\\u0004\\\\0\\u0001O\\u0001ȁ\\\\vO\\u0001Ȃ\\u0001…",
"\\u0001i\\u0001ȁ\\u0001O\\u0004ȁ\\u0001O\\u0001ȁ\\u0007O\\u0001Q\\u0003O\\\\tȁ\\u0005O\\u0001ȁ\\\\vO\\u0001Ȃ\\u0001O\\u0001i\\u0001ȁ\\u0001O\\u0004ȁ\\u0001O\\u0001ȁ\\\\vO\\\\tȁ\\u0004O\\u0001\\\\0\\u0001ȃ\\\\v\\\\0\\u0001Ȅ\\u0001{\\u0001\\\\0\\u0001ȃ\\u0001\\\\0\\u0004ȃ\\u0001\\\\0\\u0001ȃ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȃ\\u0005\\\\0\\u0001ȃ\\\\v\\\\0\\u0001Ȅ\\u0002\\\\0\\u0001ȃ\\u0001\\\\0\\u0004ȃ\\u0001\\\\0\\u0001ȃ\\\\v\\\\0\\\\tȃ\\u0004\\\\0\\u0001|\\u0001ȅ\\\\v|\\u0001Ȇ\\u0001«\\u0001|\\u0001ȅ\\u0001|\\u0004ȅ\\u0001|\\u0001ȅ\\u0007|\\u0001€\\u0003|\\\\tȅ\\u0005|\\u0001ȅ\\\\v|\\u0001ȇ\\u0002|\\u0001ȅ\\u0001|\\u0004ȅ\\u0001|\\u0001ȅ\\\\v|\\\\tȅ\\u0004|\\u0001\\\\0\\u0001ǵ\\\\v\\\\0\\u0001Ƕ\\u0001U\\u0001\\\\0\\u0001ǵ\\u0001\\\\0\\u0004ǵ\\u0001\\\\0\\u0001ǵ\\\\v\\\\0\\\\tǵ\\u0004\\\\0\\u0001O\\u0001Ȉ\\\\vO\\u0001ȉ\\u0001…",
"\\u0001i\\u0001Ȉ\\u0001O\\u0004Ȉ\\u0001O\\u0001Ȉ\\u0007O\\u0001Q\\u0003O\\\\tȈ\\u0005O\\u0001Ȉ\\\\vO\\u0001ȉ\\u0001O\\u0001i\\u0001Ȉ\\u0001O\\u0004Ȉ\\u0001O\\u0001Ȉ\\\\vO\\\\tȈ\\u0004O\\u0001\\\\0\\u0001Ȋ\\\\v\\\\0\\u0001ȋ\\u0001{\\u0001\\\\0\\u0001Ȋ\\u0001\\\\0\\u0004Ȋ\\u0001\\\\0\\u0001Ȋ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȊ\\u0005\\\\0\\u0001Ȋ\\\\v\\\\0\\u0001ȋ\\u0002\\\\0\\u0001Ȋ\\u0001\\\\0\\u0004Ȋ\\u0001\\\\0\\u0001Ȋ\\\\v\\\\0\\\\tȊ\\u0004\\\\0\\u0001|\\u0001Ȍ\\\\v|\\u0001ȍ\\u0001«\\u0001|\\u0001Ȍ\\u0001|\\u0004Ȍ\\u0001|\\u0001Ȍ\\u0007|\\u0001€\\u0003|\\\\tȌ\\u0005|\\u0001Ȍ\\\\v|\\u0001Ȏ\\u0002|\\u0001Ȍ\\u0001|\\u0004Ȍ\\u0001|\\u0001Ȍ\\\\v|\\\\tȌ\\u0004|\\u0001\\\\0\\u0001Ǽ\\\\v\\\\0\\u0001ǽ\\u0001U\\u0001\\\\0\\u0001Ǽ\\u0001\\\\0\\u0004Ǽ\\u0001\\\\0\\u0001Ǽ\\\\v\\\\0\\\\tǼ\\u0004\\\\0\\u0001O\\u0001ȏ\\\\vO\\u0001Ȑ\\u0001…",
"\\u0001i\\u0001ȏ\\u0001O\\u0004ȏ\\u0001O\\u0001ȏ\\u0007O\\u0001Q\\u0003O\\\\tȏ\\u0005O\\u0001ȏ\\\\vO\\u0001Ȑ\\u0001O\\u0001i\\u0001ȏ\\u0001O\\u0004ȏ\\u0001O\\u0001ȏ\\\\vO\\\\tȏ\\u0004O\\u0001\\\\0\\u0001ȑ\\\\v\\\\0\\u0001Ȓ\\u0001{\\u0001\\\\0\\u0001ȑ\\u0001\\\\0\\u0004ȑ\\u0001\\\\0\\u0001ȑ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȑ\\u0005\\\\0\\u0001ȑ\\\\v\\\\0\\u0001Ȓ\\u0002\\\\0\\u0001ȑ\\u0001\\\\0\\u0004ȑ\\u0001\\\\0\\u0001ȑ\\\\v\\\\0\\\\tȑ\\u0004\\\\0\\u0001|\\u0001ȓ\\\\v|\\u0001Ȕ\\u0001«\\u0001|\\u0001ȓ\\u0001|\\u0004ȓ\\u0001|\\u0001ȓ\\u0007|\\u0001€\\u0003|\\\\tȓ\\u0005|\\u0001ȓ\\\\v|\\u0001ȕ\\u0002|\\u0001ȓ\\u0001|\\u0004ȓ\\u0001|\\u0001ȓ\\\\v|\\\\tȓ\\u0004|\\u0001\\\\0\\u0001ȃ\\\\v\\\\0\\u0001Ȅ\\u0001U\\u0001\\\\0\\u0001ȃ\\u0001\\\\0\\u0004ȃ\\u0001\\\\0\\u0001ȃ\\\\v\\\\0\\\\tȃ\\u0004\\\\0\\u0001O\\u0001Ȗ\\\\vO\\u0001ȗ\\u0001…",
"\\u0001i\\u0001Ȗ\\u0001O\\u0004Ȗ\\u0001O\\u0001Ȗ\\u0007O\\u0001Q\\u0003O\\\\tȖ\\u0005O\\u0001Ȗ\\\\vO\\u0001ȗ\\u0001O\\u0001i\\u0001Ȗ\\u0001O\\u0004Ȗ\\u0001O\\u0001Ȗ\\\\vO\\\\tȖ\\u0004O\\u0001\\\\0\\u0001Ș\\\\v\\\\0\\u0001ș\\u0001{\\u0001\\\\0\\u0001Ș\\u0001\\\\0\\u0004Ș\\u0001\\\\0\\u0001Ș\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȘ\\u0005\\\\0\\u0001Ș\\\\v\\\\0\\u0001ș\\u0002\\\\0\\u0001Ș\\u0001\\\\0\\u0004Ș\\u0001\\\\0\\u0001Ș\\\\v\\\\0\\\\tȘ\\u0004\\\\0\\u0001|\\u0001Ț\\\\v|\\u0001ț\\u0001«\\u0001|\\u0001Ț\\u0001|\\u0004Ț\\u0001|\\u0001Ț\\u0007|\\u0001€\\u0003|\\\\tȚ\\u0005|\\u0001Ț\\\\v|\\u0001Ȝ\\u0002|\\u0001Ț\\u0001|\\u0004Ț\\u0001|\\u0001Ț\\\\v|\\\\tȚ\\u0004|\\u0001\\\\0\\u0001Ȋ\\\\v\\\\0\\u0001ȋ\\u0001U\\u0001\\\\0\\u0001Ȋ\\u0001\\\\0\\u0004Ȋ\\u0001\\\\0\\u0001Ȋ\\\\v\\\\0\\\\tȊ\\u0004\\\\0\\u0001O\\u0001ȝ\\\\vO\\u0001Ȟ\\u0001…",
"\\u0001i\\u0001ȝ\\u0001O\\u0004ȝ\\u0001O\\u0001ȝ\\u0007O\\u0001Q\\u0003O\\\\tȝ\\u0005O\\u0001ȝ\\\\vO\\u0001Ȟ\\u0001O\\u0001i\\u0001ȝ\\u0001O\\u0004ȝ\\u0001O\\u0001ȝ\\\\vO\\\\tȝ\\u0004O\\u0001\\\\0\\u0001ȟ\\\\v\\\\0\\u0001Ƞ\\u0001{\\u0001\\\\0\\u0001ȟ\\u0001\\\\0\\u0004ȟ\\u0001\\\\0\\u0001ȟ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȟ\\u0005\\\\0\\u0001ȟ\\\\v\\\\0\\u0001Ƞ\\u0002\\\\0\\u0001ȟ\\u0001\\\\0\\u0004ȟ\\u0001\\\\0\\u0001ȟ\\\\v\\\\0\\\\tȟ\\u0004\\\\0\\u0001|\\u0001ȡ\\\\v|\\u0001Ȣ\\u0001«\\u0001|\\u0001ȡ\\u0001|\\u0004ȡ\\u0001|\\u0001ȡ\\u0007|\\u0001€\\u0003|\\\\tȡ\\u0005|\\u0001ȡ\\\\v|\\u0001ȣ\\u0002|\\u0001ȡ\\u0001|\\u0004ȡ\\u0001|\\u0001ȡ\\\\v|\\\\tȡ\\u0004|\\u0001\\\\0\\u0001ȑ\\\\v\\\\0\\u0001Ȓ\\u0001U\\u0001\\\\0\\u0001ȑ\\u0001\\\\0\\u0004ȑ\\u0001\\\\0\\u0001ȑ\\\\v\\\\0\\\\tȑ\\u0004\\\\0\\u0001O\\u0001Ȥ\\\\vO\\u0001ȥ\\u0001…",
"\\u0001i\\u0001Ȥ\\u0001O\\u0004Ȥ\\u0001O\\u0001Ȥ\\u0007O\\u0001Q\\u0003O\\\\tȤ\\u0005O\\u0001Ȥ\\\\vO\\u0001ȥ\\u0001O\\u0001i\\u0001Ȥ\\u0001O\\u0004Ȥ\\u0001O\\u0001Ȥ\\\\vO\\\\tȤ\\u0004O\\u0001\\\\0\\u0001Ȧ\\\\v\\\\0\\u0001ȧ\\u0001{\\u0001\\\\0\\u0001Ȧ\\u0001\\\\0\\u0004Ȧ\\u0001\\\\0\\u0001Ȧ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȦ\\u0005\\\\0\\u0001Ȧ\\\\v\\\\0\\u0001ȧ\\u0002\\\\0\\u0001Ȧ\\u0001\\\\0\\u0004Ȧ\\u0001\\\\0\\u0001Ȧ\\\\v\\\\0\\\\tȦ\\u0004\\\\0\\u0001|\\u0001Ȩ\\\\v|\\u0001ȩ\\u0001«\\u0001|\\u0001Ȩ\\u0001|\\u0004Ȩ\\u0001|\\u0001Ȩ\\u0007|\\u0001€\\u0003|\\\\tȨ\\u0005|\\u0001Ȩ\\\\v|\\u0001Ȫ\\u0002|\\u0001Ȩ\\u0001|\\u0004Ȩ\\u0001|\\u0001Ȩ\\\\v|\\\\tȨ\\u0004|\\u0001\\\\0\\u0001Ș\\\\v\\\\0\\u0001ș\\u0001U\\u0001\\\\0\\u0001Ș\\u0001\\\\0\\u0004Ș\\u0001\\\\0\\u0001Ș\\\\v\\\\0\\\\tȘ\\u0004\\\\0\\u0001O\\u0001ȫ\\\\vO\\u0001Ȭ\\u0001…",
"\\u0001i\\u0001ȫ\\u0001O\\u0004ȫ\\u0001O\\u0001ȫ\\u0007O\\u0001Q\\u0003O\\\\tȫ\\u0005O\\u0001ȫ\\\\vO\\u0001Ȭ\\u0001O\\u0001i\\u0001ȫ\\u0001O\\u0004ȫ\\u0001O\\u0001ȫ\\\\vO\\\\tȫ\\u0004O\\u0001\\\\0\\u0001ȭ\\\\v\\\\0\\u0001Ȯ\\u0001{\\u0001\\\\0\\u0001ȭ\\u0001\\\\0\\u0004ȭ\\u0001\\\\0\\u0001ȭ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȭ\\u0005\\\\0\\u0001ȭ\\\\v\\\\0\\u0001Ȯ\\u0002\\\\0\\u0001ȭ\\u0001\\\\0\\u0004ȭ\\u0001\\\\0\\u0001ȭ\\\\v\\\\0\\\\tȭ\\u0004\\\\0\\u0001|\\u0001ȯ\\\\v|\\u0001Ȱ\\u0001«\\u0001|\\u0001ȯ\\u0001|\\u0004ȯ\\u0001|\\u0001ȯ\\u0007|\\u0001€\\u0003|\\\\tȯ\\u0005|\\u0001ȯ\\\\v|\\u0001ȱ\\u0002|\\u0001ȯ\\u0001|\\u0004ȯ\\u0001|\\u0001ȯ\\\\v|\\\\tȯ\\u0004|\\u0001\\\\0\\u0001ȟ\\\\v\\\\0\\u0001Ƞ\\u0001U\\u0001\\\\0\\u0001ȟ\\u0001\\\\0\\u0004ȟ\\u0001\\\\0\\u0001ȟ\\\\v\\\\0\\\\tȟ\\u0004\\\\0\\u0001O\\u0001Ȳ\\\\vO\\u0001ȳ\\u0001…",
"\\u0001i\\u0001Ȳ\\u0001O\\u0004Ȳ\\u0001O\\u0001Ȳ\\u0007O\\u0001Q\\u0003O\\\\tȲ\\u0005O\\u0001Ȳ\\\\vO\\u0001ȳ\\u0001O\\u0001i\\u0001Ȳ\\u0001O\\u0004Ȳ\\u0001O\\u0001Ȳ\\\\vO\\\\tȲ\\u0004O\\u0001\\\\0\\u0001ȴ\\\\v\\\\0\\u0001ȵ\\u0001{\\u0001\\\\0\\u0001ȴ\\u0001\\\\0\\u0004ȴ\\u0001\\\\0\\u0001ȴ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȴ\\u0005\\\\0\\u0001ȴ\\\\v\\\\0\\u0001ȵ\\u0002\\\\0\\u0001ȴ\\u0001\\\\0\\u0004ȴ\\u0001\\\\0\\u0001ȴ\\\\v\\\\0\\\\tȴ\\u0004\\\\0\\u0001|\\u0001ȶ\\\\v|\\u0001ȷ\\u0001«\\u0001|\\u0001ȶ\\u0001|\\u0004ȶ\\u0001|\\u0001ȶ\\u0007|\\u0001€\\u0003|\\\\tȶ\\u0005|\\u0001ȶ\\\\v|\\u0001ȸ\\u0002|\\u0001ȶ\\u0001|\\u0004ȶ\\u0001|\\u0001ȶ\\\\v|\\\\tȶ\\u0004|\\u0001\\\\0\\u0001Ȧ\\\\v\\\\0\\u0001ȧ\\u0001U\\u0001\\\\0\\u0001Ȧ\\u0001\\\\0\\u0004Ȧ\\u0001\\\\0\\u0001Ȧ\\\\v\\\\0\\\\tȦ\\u0004\\\\0\\u0001O\\u0001ȹ\\\\vO\\u0001Ⱥ\\u0001…",
"\\u0001i\\u0001ȹ\\u0001O\\u0004ȹ\\u0001O\\u0001ȹ\\u0007O\\u0001Q\\u0003O\\\\tȹ\\u0005O\\u0001ȹ\\\\vO\\u0001Ⱥ\\u0001O\\u0001i\\u0001ȹ\\u0001O\\u0004ȹ\\u0001O\\u0001ȹ\\\\vO\\\\tȹ\\u0004O\\u0001\\\\0\\u0001Ȼ\\\\v\\\\0\\u0001ȼ\\u0001{\\u0001\\\\0\\u0001Ȼ\\u0001\\\\0\\u0004Ȼ\\u0001\\\\0\\u0001Ȼ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tȻ\\u0005\\\\0\\u0001Ȼ\\\\v\\\\0\\u0001ȼ\\u0002\\\\0\\u0001Ȼ\\u0001\\\\0\\u0004Ȼ\\u0001\\\\0\\u0001Ȼ\\\\v\\\\0\\\\tȻ\\u0004\\\\0\\u0001|\\u0001Ƚ\\\\v|\\u0001Ⱦ\\u0001«\\u0001|\\u0001Ƚ\\u0001|\\u0004Ƚ\\u0001|\\u0001Ƚ\\u0007|\\u0001€\\u0003|\\\\tȽ\\u0005|\\u0001Ƚ\\\\v|\\u0001ȿ\\u0002|\\u0001Ƚ\\u0001|\\u0004Ƚ\\u0001|\\u0001Ƚ\\\\v|\\\\tȽ\\u0004|\\u0001\\\\0\\u0001ȭ\\\\v\\\\0\\u0001Ȯ\\u0001U\\u0001\\\\0\\u0001ȭ\\u0001\\\\0\\u0004ȭ\\u0001\\\\0\\u0001ȭ\\\\v\\\\0\\\\tȭ\\u0004\\\\0\\u0001O\\u0001ɀ\\\\vO\\u0001Ɂ\\u0001…",
"\\u0001i\\u0001ɀ\\u0001O\\u0004ɀ\\u0001O\\u0001ɀ\\u0007O\\u0001Q\\u0003O\\\\tɀ\\u0005O\\u0001ɀ\\\\vO\\u0001Ɂ\\u0001O\\u0001i\\u0001ɀ\\u0001O\\u0004ɀ\\u0001O\\u0001ɀ\\\\vO\\\\tɀ\\u0004O\\u0001\\\\0\\u0001ɂ\\\\v\\\\0\\u0001Ƀ\\u0001{\\u0001\\\\0\\u0001ɂ\\u0001\\\\0\\u0004ɂ\\u0001\\\\0\\u0001ɂ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɂ\\u0005\\\\0\\u0001ɂ\\\\v\\\\0\\u0001Ƀ\\u0002\\\\0\\u0001ɂ\\u0001\\\\0\\u0004ɂ\\u0001\\\\0\\u0001ɂ\\\\v\\\\0\\\\tɂ\\u0004\\\\0\\u0001|\\u0001Ʉ\\\\v|\\u0001Ʌ\\u0001«\\u0001|\\u0001Ʉ\\u0001|\\u0004Ʉ\\u0001|\\u0001Ʉ\\u0007|\\u0001€\\u0003|\\\\tɄ\\u0005|\\u0001Ʉ\\\\v|\\u0001Ɇ\\u0002|\\u0001Ʉ\\u0001|\\u0004Ʉ\\u0001|\\u0001Ʉ\\\\v|\\\\tɄ\\u0004|\\u0001\\\\0\\u0001ȴ\\\\v\\\\0\\u0001ȵ\\u0001U\\u0001\\\\0\\u0001ȴ\\u0001\\\\0\\u0004ȴ\\u0001\\\\0\\u0001ȴ\\\\v\\\\0\\\\tȴ\\u0004\\\\0\\u0001O\\u0001ɇ\\\\vO\\u0001Ɉ\\u0001…",
"\\u0001i\\u0001ɇ\\u0001O\\u0004ɇ\\u0001O\\u0001ɇ\\u0007O\\u0001Q\\u0003O\\\\tɇ\\u0005O\\u0001ɇ\\\\vO\\u0001Ɉ\\u0001O\\u0001i\\u0001ɇ\\u0001O\\u0004ɇ\\u0001O\\u0001ɇ\\\\vO\\\\tɇ\\u0004O\\u0001\\\\0\\u0001ɉ\\\\v\\\\0\\u0001Ɋ\\u0001{\\u0001\\\\0\\u0001ɉ\\u0001\\\\0\\u0004ɉ\\u0001\\\\0\\u0001ɉ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɉ\\u0005\\\\0\\u0001ɉ\\\\v\\\\0\\u0001Ɋ\\u0002\\\\0\\u0001ɉ\\u0001\\\\0\\u0004ɉ\\u0001\\\\0\\u0001ɉ\\\\v\\\\0\\\\tɉ\\u0004\\\\0\\u0001|\\u0001ɋ\\\\v|\\u0001Ɍ\\u0001«\\u0001|\\u0001ɋ\\u0001|\\u0004ɋ\\u0001|\\u0001ɋ\\u0007|\\u0001€\\u0003|\\\\tɋ\\u0005|\\u0001ɋ\\\\v|\\u0001ɍ\\u0002|\\u0001ɋ\\u0001|\\u0004ɋ\\u0001|\\u0001ɋ\\\\v|\\\\tɋ\\u0004|\\u0001\\\\0\\u0001Ȼ\\\\v\\\\0\\u0001ȼ\\u0001U\\u0001\\\\0\\u0001Ȼ\\u0001\\\\0\\u0004Ȼ\\u0001\\\\0\\u0001Ȼ\\\\v\\\\0\\\\tȻ\\u0004\\\\0\\u0001O\\u0001Ɏ\\\\vO\\u0001ɏ\\u0001…",
"\\u0001i\\u0001Ɏ\\u0001O\\u0004Ɏ\\u0001O\\u0001Ɏ\\u0007O\\u0001Q\\u0003O\\\\tɎ\\u0005O\\u0001Ɏ\\\\vO\\u0001ɏ\\u0001O\\u0001i\\u0001Ɏ\\u0001O\\u0004Ɏ\\u0001O\\u0001Ɏ\\\\vO\\\\tɎ\\u0004O\\u0001\\\\0\\u0001ɐ\\\\v\\\\0\\u0001ɑ\\u0001{\\u0001\\\\0\\u0001ɐ\\u0001\\\\0\\u0004ɐ\\u0001\\\\0\\u0001ɐ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɐ\\u0005\\\\0\\u0001ɐ\\\\v\\\\0\\u0001ɑ\\u0002\\\\0\\u0001ɐ\\u0001\\\\0\\u0004ɐ\\u0001\\\\0\\u0001ɐ\\\\v\\\\0\\\\tɐ\\u0004\\\\0\\u0001|\\u0001ɒ\\\\v|\\u0001ɓ\\u0001«\\u0001|\\u0001ɒ\\u0001|\\u0004ɒ\\u0001|\\u0001ɒ\\u0007|\\u0001€\\u0003|\\\\tɒ\\u0005|\\u0001ɒ\\\\v|\\u0001ɔ\\u0002|\\u0001ɒ\\u0001|\\u0004ɒ\\u0001|\\u0001ɒ\\\\v|\\\\tɒ\\u0004|\\u0001\\\\0\\u0001ɂ\\\\v\\\\0\\u0001Ƀ\\u0001U\\u0001\\\\0\\u0001ɂ\\u0001\\\\0\\u0004ɂ\\u0001\\\\0\\u0001ɂ\\\\v\\\\0\\\\tɂ\\u0004\\\\0\\u0001O\\u0001ɕ\\\\vO\\u0001ɖ\\u0001…",
"\\u0001i\\u0001ɕ\\u0001O\\u0004ɕ\\u0001O\\u0001ɕ\\u0007O\\u0001Q\\u0003O\\\\tɕ\\u0005O\\u0001ɕ\\\\vO\\u0001ɖ\\u0001O\\u0001i\\u0001ɕ\\u0001O\\u0004ɕ\\u0001O\\u0001ɕ\\\\vO\\\\tɕ\\u0004O\\u0001\\\\0\\u0001ɗ\\\\v\\\\0\\u0001ɘ\\u0001{\\u0001\\\\0\\u0001ɗ\\u0001\\\\0\\u0004ɗ\\u0001\\\\0\\u0001ɗ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɗ\\u0005\\\\0\\u0001ɗ\\\\v\\\\0\\u0001ɘ\\u0002\\\\0\\u0001ɗ\\u0001\\\\0\\u0004ɗ\\u0001\\\\0\\u0001ɗ\\\\v\\\\0\\\\tɗ\\u0004\\\\0\\u0001|\\u0001ə\\\\v|\\u0001ɚ\\u0001«\\u0001|\\u0001ə\\u0001|\\u0004ə\\u0001|\\u0001ə\\u0007|\\u0001€\\u0003|\\\\tə\\u0005|\\u0001ə\\\\v|\\u0001ɛ\\u0002|\\u0001ə\\u0001|\\u0004ə\\u0001|\\u0001ə\\\\v|\\\\tə\\u0004|\\u0001\\\\0\\u0001ɉ\\\\v\\\\0\\u0001Ɋ\\u0001U\\u0001\\\\0\\u0001ɉ\\u0001\\\\0\\u0004ɉ\\u0001\\\\0\\u0001ɉ\\\\v\\\\0\\\\tɉ\\u0004\\\\0\\u0001O\\u0001ɜ\\\\vO\\u0001ɝ\\u0001…",
"\\u0001i\\u0001ɜ\\u0001O\\u0004ɜ\\u0001O\\u0001ɜ\\u0007O\\u0001Q\\u0003O\\\\tɜ\\u0005O\\u0001ɜ\\\\vO\\u0001ɝ\\u0001O\\u0001i\\u0001ɜ\\u0001O\\u0004ɜ\\u0001O\\u0001ɜ\\\\vO\\\\tɜ\\u0004O\\u0001\\\\0\\u0001ɞ\\\\v\\\\0\\u0001ɟ\\u0001{\\u0001\\\\0\\u0001ɞ\\u0001\\\\0\\u0004ɞ\\u0001\\\\0\\u0001ɞ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɞ\\u0005\\\\0\\u0001ɞ\\\\v\\\\0\\u0001ɟ\\u0002\\\\0\\u0001ɞ\\u0001\\\\0\\u0004ɞ\\u0001\\\\0\\u0001ɞ\\\\v\\\\0\\\\tɞ\\u0004\\\\0\\u0001|\\u0001ɠ\\\\v|\\u0001ɡ\\u0001«\\u0001|\\u0001ɠ\\u0001|\\u0004ɠ\\u0001|\\u0001ɠ\\u0007|\\u0001€\\u0003|\\\\tɠ\\u0005|\\u0001ɠ\\\\v|\\u0001ɢ\\u0002|\\u0001ɠ\\u0001|\\u0004ɠ\\u0001|\\u0001ɠ\\\\v|\\\\tɠ\\u0004|\\u0001\\\\0\\u0001ɐ\\\\v\\\\0\\u0001ɑ\\u0001U\\u0001\\\\0\\u0001ɐ\\u0001\\\\0\\u0004ɐ\\u0001\\\\0\\u0001ɐ\\\\v\\\\0\\\\tɐ\\u0004\\\\0\\u0001O\\u0001ɣ\\\\vO\\u0001ɤ\\u0001…",
"\\u0001i\\u0001ɣ\\u0001O\\u0004ɣ\\u0001O\\u0001ɣ\\u0007O\\u0001Q\\u0003O\\\\tɣ\\u0005O\\u0001ɣ\\\\vO\\u0001ɤ\\u0001O\\u0001i\\u0001ɣ\\u0001O\\u0004ɣ\\u0001O\\u0001ɣ\\\\vO\\\\tɣ\\u0004O\\u0001\\\\0\\u0001ɥ\\\\v\\\\0\\u0001ɦ\\u0001{\\u0001\\\\0\\u0001ɥ\\u0001\\\\0\\u0004ɥ\\u0001\\\\0\\u0001ɥ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɥ\\u0005\\\\0\\u0001ɥ\\\\v\\\\0\\u0001ɦ\\u0002\\\\0\\u0001ɥ\\u0001\\\\0\\u0004ɥ\\u0001\\\\0\\u0001ɥ\\\\v\\\\0\\\\tɥ\\u0004\\\\0\\u0001|\\u0001ɧ\\\\v|\\u0001ɨ\\u0001«\\u0001|\\u0001ɧ\\u0001|\\u0004ɧ\\u0001|\\u0001ɧ\\u0007|\\u0001€\\u0003|\\\\tɧ\\u0005|\\u0001ɧ\\\\v|\\u0001ɩ\\u0002|\\u0001ɧ\\u0001|\\u0004ɧ\\u0001|\\u0001ɧ\\\\v|\\\\tɧ\\u0004|\\u0001\\\\0\\u0001ɗ\\\\v\\\\0\\u0001ɘ\\u0001U\\u0001\\\\0\\u0001ɗ\\u0001\\\\0\\u0004ɗ\\u0001\\\\0\\u0001ɗ\\\\v\\\\0\\\\tɗ\\u0004\\\\0\\u0001O\\u0001ɪ\\\\vO\\u0001ɫ\\u0001…",
"\\u0001i\\u0001ɪ\\u0001O\\u0004ɪ\\u0001O\\u0001ɪ\\u0007O\\u0001Q\\u0003O\\\\tɪ\\u0005O\\u0001ɪ\\\\vO\\u0001ɫ\\u0001O\\u0001i\\u0001ɪ\\u0001O\\u0004ɪ\\u0001O\\u0001ɪ\\\\vO\\\\tɪ\\u0004O\\u0001\\\\0\\u0001ɬ\\\\v\\\\0\\u0001ɭ\\u0001{\\u0001\\\\0\\u0001ɬ\\u0001\\\\0\\u0004ɬ\\u0001\\\\0\\u0001ɬ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɬ\\u0005\\\\0\\u0001ɬ\\\\v\\\\0\\u0001ɭ\\u0002\\\\0\\u0001ɬ\\u0001\\\\0\\u0004ɬ\\u0001\\\\0\\u0001ɬ\\\\v\\\\0\\\\tɬ\\u0004\\\\0\\u0001|\\u0001ɮ\\\\v|\\u0001ɯ\\u0001«\\u0001|\\u0001ɮ\\u0001|\\u0004ɮ\\u0001|\\u0001ɮ\\u0007|\\u0001€\\u0003|\\\\tɮ\\u0005|\\u0001ɮ\\\\v|\\u0001ɰ\\u0002|\\u0001ɮ\\u0001|\\u0004ɮ\\u0001|\\u0001ɮ\\\\v|\\\\tɮ\\u0004|\\u0001\\\\0\\u0001ɞ\\\\v\\\\0\\u0001ɟ\\u0001U\\u0001\\\\0\\u0001ɞ\\u0001\\\\0\\u0004ɞ\\u0001\\\\0\\u0001ɞ\\\\v\\\\0\\\\tɞ\\u0004\\\\0\\u0001O\\u0001ɱ\\\\vO\\u0001ɲ\\u0001…",
"\\u0001i\\u0001ɱ\\u0001O\\u0004ɱ\\u0001O\\u0001ɱ\\u0007O\\u0001Q\\u0003O\\\\tɱ\\u0005O\\u0001ɱ\\\\vO\\u0001ɲ\\u0001O\\u0001i\\u0001ɱ\\u0001O\\u0004ɱ\\u0001O\\u0001ɱ\\\\vO\\\\tɱ\\u0004O\\u0001\\\\0\\u0001ɳ\\\\v\\\\0\\u0001ɴ\\u0001{\\u0001\\\\0\\u0001ɳ\\u0001\\\\0\\u0004ɳ\\u0001\\\\0\\u0001ɳ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɳ\\u0005\\\\0\\u0001ɳ\\\\v\\\\0\\u0001ɴ\\u0002\\\\0\\u0001ɳ\\u0001\\\\0\\u0004ɳ\\u0001\\\\0\\u0001ɳ\\\\v\\\\0\\\\tɳ\\u0004\\\\0\\u0001|\\u0001ɵ\\\\v|\\u0001ɶ\\u0001«\\u0001|\\u0001ɵ\\u0001|\\u0004ɵ\\u0001|\\u0001ɵ\\u0007|\\u0001€\\u0003|\\\\tɵ\\u0005|\\u0001ɵ\\\\v|\\u0001ɷ\\u0002|\\u0001ɵ\\u0001|\\u0004ɵ\\u0001|\\u0001ɵ\\\\v|\\\\tɵ\\u0004|\\u0001\\\\0\\u0001ɥ\\\\v\\\\0\\u0001ɦ\\u0001U\\u0001\\\\0\\u0001ɥ\\u0001\\\\0\\u0004ɥ\\u0001\\\\0\\u0001ɥ\\\\v\\\\0\\\\tɥ\\u0004\\\\0\\u0001O\\u0001ɸ\\\\vO\\u0001ɹ\\u0001…",
"\\u0001i\\u0001ɸ\\u0001O\\u0004ɸ\\u0001O\\u0001ɸ\\u0007O\\u0001Q\\u0003O\\\\tɸ\\u0005O\\u0001ɸ\\\\vO\\u0001ɹ\\u0001O\\u0001i\\u0001ɸ\\u0001O\\u0004ɸ\\u0001O\\u0001ɸ\\\\vO\\\\tɸ\\u0004O\\u0001\\\\0\\u0001ɺ\\\\f\\\\0\\u0001{\\u0001\\\\0\\u0001ɺ\\u0001\\\\0\\u0004ɺ\\u0001\\\\0\\u0001ɺ\\u0007\\\\0\\u0001K\\u0003\\\\0\\\\tɺ\\u0005\\\\0\\u0001ɺ\\u000e\\\\0\\u0001ɺ\\u0001\\\\0\\u0004ɺ\\u0001\\\\0\\u0001ɺ\\\\v\\\\0\\\\tɺ\\u0004\\\\0\\u0001|\\u0001ɻ\\\\v|\\u0001ɼ\\u0001«\\u0001|\\u0001ɻ\\u0001|\\u0004ɻ\\u0001|\\u0001ɻ\\u0007|\\u0001€\\u0003|\\\\tɻ\\u0005|\\u0001ɻ\\\\v|\\u0001ɽ\\u0002|\\u0001ɻ\\u0001|\\u0004ɻ\\u0001|\\u0001ɻ\\\\v|\\\\tɻ\\u0004|\\u0001\\\\0\\u0001ɬ\\\\v\\\\0\\u0001ɭ\\u0001U\\u0001\\\\0\\u0001ɬ\\u0001\\\\0\\u0004ɬ\\u0001\\\\0\\u0001ɬ\\\\v\\\\0\\\\tɬ\\u0004\\\\0\\u0001O\\u0001ɾ\\\\fO\\u0001…",
"\\u0001i\\u0001ɾ\\u0001O\\u0004ɾ\\u0001O\\u0001ɾ\\u0007O\\u0001Q\\u0003O\\\\tɾ\\u0005O\\u0001ɾ\\\\rO\\u0001i\\u0001ɾ\\u0001O\\u0004ɾ\\u0001O\\u0001ɾ\\\\vO\\\\tɾ\\u0004O\\u000e\\\\0\\u0001{\\u0010\\\\0\\u0001K\\u0010\\\\0\\u0001|\\u0001ɿ\\\\v|\\u0001ʀ\\u0001«\\u0001|\\u0001ɿ\\u0001|\\u0004ɿ\\u0001|\\u0001ɿ\\u0007|\\u0001€\\u0003|\\\\tɿ\\u0005|\\u0001ɿ\\\\v|\\u0001ʁ\\u0002|\\u0001ɿ\\u0001|\\u0004ɿ\\u0001|\\u0001ɿ\\\\v|\\\\tɿ\\u0004|\\u0001\\\\0\\u0001ɳ\\\\v\\\\0\\u0001ɴ\\u0001U\\u0001\\\\0\\u0001ɳ\\u0001\\\\0\\u0004ɳ\\u0001\\\\0\\u0001ɳ\\\\v\\\\0\\\\tɳ\\u0004\\\\0\\u000eO\\u0001…",
"\\u0001i\\u000fO\\u0001Q\\u0010O\\u0001|\\u0001ʂ\\\\v|\\u0001”\\u0001«\\u0001|\\u0001ʂ\\u0001|\\u0004ʂ\\u0001|\\u0001ʂ\\u0007|\\u0001€\\u0003|\\\\tʂ\\u0005|\\u0001ʂ\\\\v|\\u0001k\\u0002|\\u0001ʂ\\u0001|\\u0004ʂ\\u0001|\\u0001ʂ\\\\v|\\\\tʂ\\u0004|\\u0001\\\\0\\u0001ɺ\\\\f\\\\0\\u0001U\\u0001\\\\0\\u0001ɺ\\u0001\\\\0\\u0004ɺ\\u0001\\\\0\\u0001ɺ\\\\v\\\\0\\\\tɺ\\u0004\\\\0\\\\r|\\u0001”\\u0001«\\u0010|\\u0001€\\u0010|',n,e),e}(),this.p56_1=0,this.q56_1=1,this.r56_1=2,n=[\\\"Unknown internal scanner error\\\",\\\"Error: could not match input\\\",\\\"Error: pushback value was too large\\\"],this.s56_1=n,this.t56_1=\\\"\\u0006\\\\0\\u0001\\\\t\\u0002\\u0001\\u0002\\\\t\\u0003\\u0001\\u0001\\\\t\\u0002\\u0001\\u0003\\\\t\\u0004\\u0001\\u0002\\\\t\\u0005\\u0001\\\\b\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\\\t\\u0001\\u0001\\u0001\\\\t\\u0001\\u0001\\u0005\\\\0\\u0004\\u0001\\\\r\\\\0\\u0005\\u0001\\\\n\\\\0\\u0001\\\\t\\u0003\\\\0\\u0004\\u0001\\u0003\\\\0\\u0005\\u0001\\\\v\\\\0\\u0001\\u0001\\u0004\\\\0\\u0004\\u0001\\u0002\\\\0\\u0001\\\\t\\u0003\\\\0\\u0001\\u0001\\u0005\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\\\t\\u0001\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\\\r\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\u0006\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0004\\\\0\\u0002\\u0001\\u0002\\\\0\\u0001\\u0001\\\\v\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\\\t\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001<\\\\0\\u0001\\u0001ŭ\\\\0\\\",this.u56_1=function(t){var e=new Int32Array(642),n=0;return n=function(t,e,n,r){for(var i=0,o=n,a=e.length;i<a;){var s=i;i=s+1|0;var l=Ft(ct(e,s)),u=i;i=u+1|0;var c=Ft(ct(e,u));do{var h=o;o=h+1|0,r[h]=c,l=l-1|0}while(l>0)}return o}(0,\\\"\\u0006\\\\0\\u0001\\\\t\\u0002\\u0001\\u0002\\\\t\\u0003\\u0001\\u0001\\\\t\\u0002\\u0001\\u0003\\\\t\\u0004\\u0001\\u0002\\\\t\\u0005\\u0001\\\\b\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\\\t\\u0001\\u0001\\u0001\\\\t\\u0001\\u0001\\u0005\\\\0\\u0004\\u0001\\\\r\\\\0\\u0005\\u0001\\\\n\\\\0\\u0001\\\\t\\u0003\\\\0\\u0004\\u0001\\u0003\\\\0\\u0005\\u0001\\\\v\\\\0\\u0001\\u0001\\u0004\\\\0\\u0004\\u0001\\u0002\\\\0\\u0001\\\\t\\u0003\\\\0\\u0001\\u0001\\u0005\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\\\t\\u0001\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\\\r\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\u0006\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0004\\\\0\\u0002\\u0001\\u0002\\\\0\\u0001\\u0001\\\\v\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\\\t\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001<\\\\0\\u0001\\u0001ŭ\\\\0\\\",n,e),e}()}function Ir(){return null==g&&new Or,g}function Lr(){Ir(),this.f55_1=0,Ir(),this.g55_1=0,this.h55_1=\\\"\\\",this.i55_1=0,this.j55_1=0,this.k55_1=0,this.l55_1=0,this.m55_1=!0,this.n55_1=!1,this.o55_1=!1,Ir(),this.p55_1=qt(16385),this.q55_1=ft(),this.r55_1=!1,this.s55_1=new wr}function Pr(t,e){var n=ft(),r=e.o51();-1===e.m51()&&(r=r+(1+Eo(t.h57_1,e.k51_1)|0)|0);var i=So(t.h57_1,e.k51_1),o=Rr().l57_1.zj(i,0,2,null),a=0,s=0,l=o.h()-1|0;if(s<=l)t:do{var u=s;s=s+1|0;var c=o.j(u);if((!te(c)||1<=u&&u<=(Qt(o)-1|0))&&(n.a(new Fa(Nt(r,r+c.length|0),Jn().x52_1)),a=a+1|0),r=r+c.length|0,u<Qt(o)&&n.a(new Fa(Nt(r,r+1|0),Jn().u52_1)),r=r+1|0,a>=t.r57_1){r<e.p51()&&n.a(new Fa(Nt(r,e.p51()),Jn().u52_1));break t}}while(s<=l);return n}function zr(){y=this,this.l57_1=ne(\\\"\\\\\\\\|\\\")}function Rr(){return null==y&&new zr,y}function Dr(t,e,n,r){Rr(),Ko.call(this,e,n.t57()),this.q57_1=n,this.r57_1=r,this.s57_1=0,this.q57_1.t51(mt(new Fa(Nt(t.o51(),t.p51()),tr().b53_1))),this.q57_1.t51(Pr(this,t))}function $r(){_=this,this.l58_1=ne(\\\"\\\\\\\\|\\\")}function Br(){return null==_&&new $r,_}function Nr(){Br()}function Fr(){}function jr(t){oi.call(this),this.k4z_1=t}function Ur(){}function qr(){b=this,ai.call(this)}function Vr(){jr.call(this,\\\"li\\\")}function Hr(){ai.call(this)}function Gr(t,e,n,r){return function(t,e,n,r,i){return 0!=(1&n)&&(t=0),0!=(2&n)&&(e=0),Wr.call(i,t,e),i}(t,e,n,0,Object.create(Wr.prototype))}function Wr(t,e){ii.call(this,\\\"\\\",t,e)}function Xr(t,e,n){this.y58_1=t,this.z58_1=e,this.a59_1=n}function Yr(){x=this,this.e59_1=Gr(0,0,3),this.f59_1=new Wr(1,-1)}function Zr(){return null==x&&new Yr,x}function Kr(t,e){Zr(),this.g59_1=t,this.h59_1=e}function Jr(t,e){Kr.call(this,t,e)}function Qr(t,e,n){Kr.call(this,e,n),this.q59_1=t}function ti(){w=this,this.w59_1=ne(\\\"[^a-zA-Z0-9 ]\\\")}function ei(){return null==w&&new ti,w}function ni(t,e){ei(),function(t,e,n,r,i){e=!1,Kr.call(i,t,e)}(e,!1,0,0,this),this.z59_1=function(t,e,n,r,i){return function(t,e,n,r,i,o){return 0!=(4&r)&&(n=!1),Qr.call(o,t,e,n),o}(t,e,n,r,0,Object.create(Qr.prototype))}(t,e,!1,4),this.a5a_1=function(t,e,n,r){return function(t,e,n,r,i){return 0!=(2&n)&&(e=!1),Jr.call(i,t,e),i}(t,e,n,0,Object.create(Jr.prototype))}(e,!1,2)}function ri(){}function ii(t,e,n){ai.call(this),this.g53_1=t,this.h53_1=e,this.i53_1=n}function oi(){}function ai(){oi.call(this)}function si(t,e){this.f4z_1=t,Ln.call(this),this.e4z_1=e}function li(t,e){this.n5a_1=t,this.o5a_1=e}function ui(){}function ci(){C=this,this.z4z_1=\\\"md-src-pos\\\"}function hi(){return null==C&&new ci,C}function pi(t,e,n,r){hi(),this.f5a_1=t,this.g5a_1=e,this.h5a_1=n,this.i5a_1=r,this.j5a_1=ye()}function fi(t,e,n){return di(),n}function di(){M||(M=!0,A=fi)}function mi(t){var e;return yi(),null==(e=!(yi(),E).uj(Ot(t))||(yi(),T).uj(Ot(t))?t:null)?\\\"#\\\":e}function vi(t,e){return yi(),e?new gi(t):t}function gi(t){this.w5a_1=t,Kr.call(this,t.g59_1,t.h59_1)}function yi(){S||(S=!0,E=xe(\\\"^(vbscript|javascript|file|data):\\\",be()),T=xe(\\\"^data:image/(gif|png|jpeg|webp);\\\",be()))}function _i(){k=this,this.x5a_1=$t([Dt(\\\"&Aacute;\\\",193),Dt(\\\"&Aacute\\\",193),Dt(\\\"&aacute;\\\",225),Dt(\\\"&aacute\\\",225),Dt(\\\"&Abreve;\\\",258),Dt(\\\"&abreve;\\\",259),Dt(\\\"&ac;\\\",8766),Dt(\\\"&acd;\\\",8767),Dt(\\\"&acE;\\\",8766),Dt(\\\"&Acirc;\\\",194),Dt(\\\"&Acirc\\\",194),Dt(\\\"&acirc;\\\",226),Dt(\\\"&acirc\\\",226),Dt(\\\"&acute;\\\",180),Dt(\\\"&acute\\\",180),Dt(\\\"&Acy;\\\",1040),Dt(\\\"&acy;\\\",1072),Dt(\\\"&AElig;\\\",198),Dt(\\\"&AElig\\\",198),Dt(\\\"&aelig;\\\",230),Dt(\\\"&aelig\\\",230),Dt(\\\"&af;\\\",8289),Dt(\\\"&Afr;\\\",120068),Dt(\\\"&afr;\\\",120094),Dt(\\\"&Agrave;\\\",192),Dt(\\\"&Agrave\\\",192),Dt(\\\"&agrave;\\\",224),Dt(\\\"&agrave\\\",224),Dt(\\\"&alefsym;\\\",8501),Dt(\\\"&aleph;\\\",8501),Dt(\\\"&Alpha;\\\",913),Dt(\\\"&alpha;\\\",945),Dt(\\\"&Amacr;\\\",256),Dt(\\\"&amacr;\\\",257),Dt(\\\"&amalg;\\\",10815),Dt(\\\"&amp;\\\",38),Dt(\\\"&amp\\\",38),Dt(\\\"&AMP;\\\",38),Dt(\\\"&AMP\\\",38),Dt(\\\"&andand;\\\",10837),Dt(\\\"&And;\\\",10835),Dt(\\\"&and;\\\",8743),Dt(\\\"&andd;\\\",10844),Dt(\\\"&andslope;\\\",10840),Dt(\\\"&andv;\\\",10842),Dt(\\\"&ang;\\\",8736),Dt(\\\"&ange;\\\",10660),Dt(\\\"&angle;\\\",8736),Dt(\\\"&angmsdaa;\\\",10664),Dt(\\\"&angmsdab;\\\",10665),Dt(\\\"&angmsdac;\\\",10666),Dt(\\\"&angmsdad;\\\",10667),Dt(\\\"&angmsdae;\\\",10668),Dt(\\\"&angmsdaf;\\\",10669),Dt(\\\"&angmsdag;\\\",10670),Dt(\\\"&angmsdah;\\\",10671),Dt(\\\"&angmsd;\\\",8737),Dt(\\\"&angrt;\\\",8735),Dt(\\\"&angrtvb;\\\",8894),Dt(\\\"&angrtvbd;\\\",10653),Dt(\\\"&angsph;\\\",8738),Dt(\\\"&angst;\\\",197),Dt(\\\"&angzarr;\\\",9084),Dt(\\\"&Aogon;\\\",260),Dt(\\\"&aogon;\\\",261),Dt(\\\"&Aopf;\\\",120120),Dt(\\\"&aopf;\\\",120146),Dt(\\\"&apacir;\\\",10863),Dt(\\\"&ap;\\\",8776),Dt(\\\"&apE;\\\",10864),Dt(\\\"&ape;\\\",8778),Dt(\\\"&apid;\\\",8779),Dt(\\\"&apos;\\\",39),Dt(\\\"&ApplyFunction;\\\",8289),Dt(\\\"&approx;\\\",8776),Dt(\\\"&approxeq;\\\",8778),Dt(\\\"&Aring;\\\",197),Dt(\\\"&Aring\\\",197),Dt(\\\"&aring;\\\",229),Dt(\\\"&aring\\\",229),Dt(\\\"&Ascr;\\\",119964),Dt(\\\"&ascr;\\\",119990),Dt(\\\"&Assign;\\\",8788),Dt(\\\"&ast;\\\",42),Dt(\\\"&asymp;\\\",8776),Dt(\\\"&asympeq;\\\",8781),Dt(\\\"&Atilde;\\\",195),Dt(\\\"&Atilde\\\",195),Dt(\\\"&atilde;\\\",227),Dt(\\\"&atilde\\\",227),Dt(\\\"&Auml;\\\",196),Dt(\\\"&Auml\\\",196),Dt(\\\"&auml;\\\",228),Dt(\\\"&auml\\\",228),Dt(\\\"&awconint;\\\",8755),Dt(\\\"&awint;\\\",10769),Dt(\\\"&backcong;\\\",8780),Dt(\\\"&backepsilon;\\\",1014),Dt(\\\"&backprime;\\\",8245),Dt(\\\"&backsim;\\\",8765),Dt(\\\"&backsimeq;\\\",8909),Dt(\\\"&Backslash;\\\",8726),Dt(\\\"&Barv;\\\",10983),Dt(\\\"&barvee;\\\",8893),Dt(\\\"&barwed;\\\",8965),Dt(\\\"&Barwed;\\\",8966),Dt(\\\"&barwedge;\\\",8965),Dt(\\\"&bbrk;\\\",9141),Dt(\\\"&bbrktbrk;\\\",9142),Dt(\\\"&bcong;\\\",8780),Dt(\\\"&Bcy;\\\",1041),Dt(\\\"&bcy;\\\",1073),Dt(\\\"&bdquo;\\\",8222),Dt(\\\"&becaus;\\\",8757),Dt(\\\"&because;\\\",8757),Dt(\\\"&Because;\\\",8757),Dt(\\\"&bemptyv;\\\",10672),Dt(\\\"&bepsi;\\\",1014),Dt(\\\"&bernou;\\\",8492),Dt(\\\"&Bernoullis;\\\",8492),Dt(\\\"&Beta;\\\",914),Dt(\\\"&beta;\\\",946),Dt(\\\"&beth;\\\",8502),Dt(\\\"&between;\\\",8812),Dt(\\\"&Bfr;\\\",120069),Dt(\\\"&bfr;\\\",120095),Dt(\\\"&bigcap;\\\",8898),Dt(\\\"&bigcirc;\\\",9711),Dt(\\\"&bigcup;\\\",8899),Dt(\\\"&bigodot;\\\",10752),Dt(\\\"&bigoplus;\\\",10753),Dt(\\\"&bigotimes;\\\",10754),Dt(\\\"&bigsqcup;\\\",10758),Dt(\\\"&bigstar;\\\",9733),Dt(\\\"&bigtriangledown;\\\",9661),Dt(\\\"&bigtriangleup;\\\",9651),Dt(\\\"&biguplus;\\\",10756),Dt(\\\"&bigvee;\\\",8897),Dt(\\\"&bigwedge;\\\",8896),Dt(\\\"&bkarow;\\\",10509),Dt(\\\"&blacklozenge;\\\",10731),Dt(\\\"&blacksquare;\\\",9642),Dt(\\\"&blacktriangle;\\\",9652),Dt(\\\"&blacktriangledown;\\\",9662),Dt(\\\"&blacktriangleleft;\\\",9666),Dt(\\\"&blacktriangleright;\\\",9656),Dt(\\\"&blank;\\\",9251),Dt(\\\"&blk12;\\\",9618),Dt(\\\"&blk14;\\\",9617),Dt(\\\"&blk34;\\\",9619),Dt(\\\"&block;\\\",9608),Dt(\\\"&bne;\\\",61),Dt(\\\"&bnequiv;\\\",8801),Dt(\\\"&bNot;\\\",10989),Dt(\\\"&bnot;\\\",8976),Dt(\\\"&Bopf;\\\",120121),Dt(\\\"&bopf;\\\",120147),Dt(\\\"&bot;\\\",8869),Dt(\\\"&bottom;\\\",8869),Dt(\\\"&bowtie;\\\",8904),Dt(\\\"&boxbox;\\\",10697),Dt(\\\"&boxdl;\\\",9488),Dt(\\\"&boxdL;\\\",9557),Dt(\\\"&boxDl;\\\",9558),Dt(\\\"&boxDL;\\\",9559),Dt(\\\"&boxdr;\\\",9484),Dt(\\\"&boxdR;\\\",9554),Dt(\\\"&boxDr;\\\",9555),Dt(\\\"&boxDR;\\\",9556),Dt(\\\"&boxh;\\\",9472),Dt(\\\"&boxH;\\\",9552),Dt(\\\"&boxhd;\\\",9516),Dt(\\\"&boxHd;\\\",9572),Dt(\\\"&boxhD;\\\",9573),Dt(\\\"&boxHD;\\\",9574),Dt(\\\"&boxhu;\\\",9524),Dt(\\\"&boxHu;\\\",9575),Dt(\\\"&boxhU;\\\",9576),Dt(\\\"&boxHU;\\\",9577),Dt(\\\"&boxminus;\\\",8863),Dt(\\\"&boxplus;\\\",8862),Dt(\\\"&boxtimes;\\\",8864),Dt(\\\"&boxul;\\\",9496),Dt(\\\"&boxuL;\\\",9563),Dt(\\\"&boxUl;\\\",9564),Dt(\\\"&boxUL;\\\",9565),Dt(\\\"&boxur;\\\",9492),Dt(\\\"&boxuR;\\\",9560),Dt(\\\"&boxUr;\\\",9561),Dt(\\\"&boxUR;\\\",9562),Dt(\\\"&boxv;\\\",9474),Dt(\\\"&boxV;\\\",9553),Dt(\\\"&boxvh;\\\",9532),Dt(\\\"&boxvH;\\\",9578),Dt(\\\"&boxVh;\\\",9579),Dt(\\\"&boxVH;\\\",9580),Dt(\\\"&boxvl;\\\",9508),Dt(\\\"&boxvL;\\\",9569),Dt(\\\"&boxVl;\\\",9570),Dt(\\\"&boxVL;\\\",9571),Dt(\\\"&boxvr;\\\",9500),Dt(\\\"&boxvR;\\\",9566),Dt(\\\"&boxVr;\\\",9567),Dt(\\\"&boxVR;\\\",9568),Dt(\\\"&bprime;\\\",8245),Dt(\\\"&breve;\\\",728),Dt(\\\"&Breve;\\\",728),Dt(\\\"&brvbar;\\\",166),Dt(\\\"&brvbar\\\",166),Dt(\\\"&bscr;\\\",119991),Dt(\\\"&Bscr;\\\",8492),Dt(\\\"&bsemi;\\\",8271),Dt(\\\"&bsim;\\\",8765),Dt(\\\"&bsime;\\\",8909),Dt(\\\"&bsolb;\\\",10693),Dt(\\\"&bsol;\\\",92),Dt(\\\"&bsolhsub;\\\",10184),Dt(\\\"&bull;\\\",8226),Dt(\\\"&bullet;\\\",8226),Dt(\\\"&bump;\\\",8782),Dt(\\\"&bumpE;\\\",10926),Dt(\\\"&bumpe;\\\",8783),Dt(\\\"&Bumpeq;\\\",8782),Dt(\\\"&bumpeq;\\\",8783),Dt(\\\"&Cacute;\\\",262),Dt(\\\"&cacute;\\\",263),Dt(\\\"&capand;\\\",10820),Dt(\\\"&capbrcup;\\\",10825),Dt(\\\"&capcap;\\\",10827),Dt(\\\"&cap;\\\",8745),Dt(\\\"&Cap;\\\",8914),Dt(\\\"&capcup;\\\",10823),Dt(\\\"&capdot;\\\",10816),Dt(\\\"&CapitalDifferentialD;\\\",8517),Dt(\\\"&caps;\\\",8745),Dt(\\\"&caret;\\\",8257),Dt(\\\"&caron;\\\",711),Dt(\\\"&Cayleys;\\\",8493),Dt(\\\"&ccaps;\\\",10829),Dt(\\\"&Ccaron;\\\",268),Dt(\\\"&ccaron;\\\",269),Dt(\\\"&Ccedil;\\\",199),Dt(\\\"&Ccedil\\\",199),Dt(\\\"&ccedil;\\\",231),Dt(\\\"&ccedil\\\",231),Dt(\\\"&Ccirc;\\\",264),Dt(\\\"&ccirc;\\\",265),Dt(\\\"&Cconint;\\\",8752),Dt(\\\"&ccups;\\\",10828),Dt(\\\"&ccupssm;\\\",10832),Dt(\\\"&Cdot;\\\",266),Dt(\\\"&cdot;\\\",267),Dt(\\\"&cedil;\\\",184),Dt(\\\"&cedil\\\",184),Dt(\\\"&Cedilla;\\\",184),Dt(\\\"&cemptyv;\\\",10674),Dt(\\\"&cent;\\\",162),Dt(\\\"&cent\\\",162),Dt(\\\"&centerdot;\\\",183),Dt(\\\"&CenterDot;\\\",183),Dt(\\\"&cfr;\\\",120096),Dt(\\\"&Cfr;\\\",8493),Dt(\\\"&CHcy;\\\",1063),Dt(\\\"&chcy;\\\",1095),Dt(\\\"&check;\\\",10003),Dt(\\\"&checkmark;\\\",10003),Dt(\\\"&Chi;\\\",935),Dt(\\\"&chi;\\\",967),Dt(\\\"&circ;\\\",710),Dt(\\\"&circeq;\\\",8791),Dt(\\\"&circlearrowleft;\\\",8634),Dt(\\\"&circlearrowright;\\\",8635),Dt(\\\"&circledast;\\\",8859),Dt(\\\"&circledcirc;\\\",8858),Dt(\\\"&circleddash;\\\",8861),Dt(\\\"&CircleDot;\\\",8857),Dt(\\\"&circledR;\\\",174),Dt(\\\"&circledS;\\\",9416),Dt(\\\"&CircleMinus;\\\",8854),Dt(\\\"&CirclePlus;\\\",8853),Dt(\\\"&CircleTimes;\\\",8855),Dt(\\\"&cir;\\\",9675),Dt(\\\"&cirE;\\\",10691),Dt(\\\"&cire;\\\",8791),Dt(\\\"&cirfnint;\\\",10768),Dt(\\\"&cirmid;\\\",10991),Dt(\\\"&cirscir;\\\",10690),Dt(\\\"&ClockwiseContourIntegral;\\\",8754),Dt(\\\"&CloseCurlyDoubleQuote;\\\",8221),Dt(\\\"&CloseCurlyQuote;\\\",8217),Dt(\\\"&clubs;\\\",9827),Dt(\\\"&clubsuit;\\\",9827),Dt(\\\"&colon;\\\",58),Dt(\\\"&Colon;\\\",8759),Dt(\\\"&Colone;\\\",10868),Dt(\\\"&colone;\\\",8788),Dt(\\\"&coloneq;\\\",8788),Dt(\\\"&comma;\\\",44),Dt(\\\"&commat;\\\",64),Dt(\\\"&comp;\\\",8705),Dt(\\\"&compfn;\\\",8728),Dt(\\\"&complement;\\\",8705),Dt(\\\"&complexes;\\\",8450),Dt(\\\"&cong;\\\",8773),Dt(\\\"&congdot;\\\",10861),Dt(\\\"&Congruent;\\\",8801),Dt(\\\"&conint;\\\",8750),Dt(\\\"&Conint;\\\",8751),Dt(\\\"&ContourIntegral;\\\",8750),Dt(\\\"&copf;\\\",120148),Dt(\\\"&Copf;\\\",8450),Dt(\\\"&coprod;\\\",8720),Dt(\\\"&Coproduct;\\\",8720),Dt(\\\"&copy;\\\",169),Dt(\\\"&copy\\\",169),Dt(\\\"&COPY;\\\",169),Dt(\\\"&COPY\\\",169),Dt(\\\"&copysr;\\\",8471),Dt(\\\"&CounterClockwiseContourIntegral;\\\",8755),Dt(\\\"&crarr;\\\",8629),Dt(\\\"&cross;\\\",10007),Dt(\\\"&Cross;\\\",10799),Dt(\\\"&Cscr;\\\",119966),Dt(\\\"&cscr;\\\",119992),Dt(\\\"&csub;\\\",10959),Dt(\\\"&csube;\\\",10961),Dt(\\\"&csup;\\\",10960),Dt(\\\"&csupe;\\\",10962),Dt(\\\"&ctdot;\\\",8943),Dt(\\\"&cudarrl;\\\",10552),Dt(\\\"&cudarrr;\\\",10549),Dt(\\\"&cuepr;\\\",8926),Dt(\\\"&cuesc;\\\",8927),Dt(\\\"&cularr;\\\",8630),Dt(\\\"&cularrp;\\\",10557),Dt(\\\"&cupbrcap;\\\",10824),Dt(\\\"&cupcap;\\\",10822),Dt(\\\"&CupCap;\\\",8781),Dt(\\\"&cup;\\\",8746),Dt(\\\"&Cup;\\\",8915),Dt(\\\"&cupcup;\\\",10826),Dt(\\\"&cupdot;\\\",8845),Dt(\\\"&cupor;\\\",10821),Dt(\\\"&cups;\\\",8746),Dt(\\\"&curarr;\\\",8631),Dt(\\\"&curarrm;\\\",10556),Dt(\\\"&curlyeqprec;\\\",8926),Dt(\\\"&curlyeqsucc;\\\",8927),Dt(\\\"&curlyvee;\\\",8910),Dt(\\\"&curlywedge;\\\",8911),Dt(\\\"&curren;\\\",164),Dt(\\\"&curren\\\",164),Dt(\\\"&curvearrowleft;\\\",8630),Dt(\\\"&curvearrowright;\\\",8631),Dt(\\\"&cuvee;\\\",8910),Dt(\\\"&cuwed;\\\",8911),Dt(\\\"&cwconint;\\\",8754),Dt(\\\"&cwint;\\\",8753),Dt(\\\"&cylcty;\\\",9005),Dt(\\\"&dagger;\\\",8224),Dt(\\\"&Dagger;\\\",8225),Dt(\\\"&daleth;\\\",8504),Dt(\\\"&darr;\\\",8595),Dt(\\\"&Darr;\\\",8609),Dt(\\\"&dArr;\\\",8659),Dt(\\\"&dash;\\\",8208),Dt(\\\"&Dashv;\\\",10980),Dt(\\\"&dashv;\\\",8867),Dt(\\\"&dbkarow;\\\",10511),Dt(\\\"&dblac;\\\",733),Dt(\\\"&Dcaron;\\\",270),Dt(\\\"&dcaron;\\\",271),Dt(\\\"&Dcy;\\\",1044),Dt(\\\"&dcy;\\\",1076),Dt(\\\"&ddagger;\\\",8225),Dt(\\\"&ddarr;\\\",8650),Dt(\\\"&DD;\\\",8517),Dt(\\\"&dd;\\\",8518),Dt(\\\"&DDotrahd;\\\",10513),Dt(\\\"&ddotseq;\\\",10871),Dt(\\\"&deg;\\\",176),Dt(\\\"&deg\\\",176),Dt(\\\"&Del;\\\",8711),Dt(\\\"&Delta;\\\",916),Dt(\\\"&delta;\\\",948),Dt(\\\"&demptyv;\\\",10673),Dt(\\\"&dfisht;\\\",10623),Dt(\\\"&Dfr;\\\",120071),Dt(\\\"&dfr;\\\",120097),Dt(\\\"&dHar;\\\",10597),Dt(\\\"&dharl;\\\",8643),Dt(\\\"&dharr;\\\",8642),Dt(\\\"&DiacriticalAcute;\\\",180),Dt(\\\"&DiacriticalDot;\\\",729),Dt(\\\"&DiacriticalDoubleAcute;\\\",733),Dt(\\\"&DiacriticalGrave;\\\",96),Dt(\\\"&DiacriticalTilde;\\\",732),Dt(\\\"&diam;\\\",8900),Dt(\\\"&diamond;\\\",8900),Dt(\\\"&Diamond;\\\",8900),Dt(\\\"&diamondsuit;\\\",9830),Dt(\\\"&diams;\\\",9830),Dt(\\\"&die;\\\",168),Dt(\\\"&DifferentialD;\\\",8518),Dt(\\\"&digamma;\\\",989),Dt(\\\"&disin;\\\",8946),Dt(\\\"&div;\\\",247),Dt(\\\"&divide;\\\",247),Dt(\\\"&divide\\\",247),Dt(\\\"&divideontimes;\\\",8903),Dt(\\\"&divonx;\\\",8903),Dt(\\\"&DJcy;\\\",1026),Dt(\\\"&djcy;\\\",1106),Dt(\\\"&dlcorn;\\\",8990),Dt(\\\"&dlcrop;\\\",8973),Dt(\\\"&dollar;\\\",36),Dt(\\\"&Dopf;\\\",120123),Dt(\\\"&dopf;\\\",120149),Dt(\\\"&Dot;\\\",168),Dt(\\\"&dot;\\\",729),Dt(\\\"&DotDot;\\\",8412),Dt(\\\"&doteq;\\\",8784),Dt(\\\"&doteqdot;\\\",8785),Dt(\\\"&DotEqual;\\\",8784),Dt(\\\"&dotminus;\\\",8760),Dt(\\\"&dotplus;\\\",8724),Dt(\\\"&dotsquare;\\\",8865),Dt(\\\"&doublebarwedge;\\\",8966),Dt(\\\"&DoubleContourIntegral;\\\",8751),Dt(\\\"&DoubleDot;\\\",168),Dt(\\\"&DoubleDownArrow;\\\",8659),Dt(\\\"&DoubleLeftArrow;\\\",8656),Dt(\\\"&DoubleLeftRightArrow;\\\",8660),Dt(\\\"&DoubleLeftTee;\\\",10980),Dt(\\\"&DoubleLongLeftArrow;\\\",10232),Dt(\\\"&DoubleLongLeftRightArrow;\\\",10234),Dt(\\\"&DoubleLongRightArrow;\\\",10233),Dt(\\\"&DoubleRightArrow;\\\",8658),Dt(\\\"&DoubleRightTee;\\\",8872),Dt(\\\"&DoubleUpArrow;\\\",8657),Dt(\\\"&DoubleUpDownArrow;\\\",8661),Dt(\\\"&DoubleVerticalBar;\\\",8741),Dt(\\\"&DownArrowBar;\\\",10515),Dt(\\\"&downarrow;\\\",8595),Dt(\\\"&DownArrow;\\\",8595),Dt(\\\"&Downarrow;\\\",8659),Dt(\\\"&DownArrowUpArrow;\\\",8693),Dt(\\\"&DownBreve;\\\",785),Dt(\\\"&downdownarrows;\\\",8650),Dt(\\\"&downharpoonleft;\\\",8643),Dt(\\\"&downharpoonright;\\\",8642),Dt(\\\"&DownLeftRightVector;\\\",10576),Dt(\\\"&DownLeftTeeVector;\\\",10590),Dt(\\\"&DownLeftVectorBar;\\\",10582),Dt(\\\"&DownLeftVector;\\\",8637),Dt(\\\"&DownRightTeeVector;\\\",10591),Dt(\\\"&DownRightVectorBar;\\\",10583),Dt(\\\"&DownRightVector;\\\",8641),Dt(\\\"&DownTeeArrow;\\\",8615),Dt(\\\"&DownTee;\\\",8868),Dt(\\\"&drbkarow;\\\",10512),Dt(\\\"&drcorn;\\\",8991),Dt(\\\"&drcrop;\\\",8972),Dt(\\\"&Dscr;\\\",119967),Dt(\\\"&dscr;\\\",119993),Dt(\\\"&DScy;\\\",1029),Dt(\\\"&dscy;\\\",1109),Dt(\\\"&dsol;\\\",10742),Dt(\\\"&Dstrok;\\\",272),Dt(\\\"&dstrok;\\\",273),Dt(\\\"&dtdot;\\\",8945),Dt(\\\"&dtri;\\\",9663),Dt(\\\"&dtrif;\\\",9662),Dt(\\\"&duarr;\\\",8693),Dt(\\\"&duhar;\\\",10607),Dt(\\\"&dwangle;\\\",10662),Dt(\\\"&DZcy;\\\",1039),Dt(\\\"&dzcy;\\\",1119),Dt(\\\"&dzigrarr;\\\",10239),Dt(\\\"&Eacute;\\\",201),Dt(\\\"&Eacute\\\",201),Dt(\\\"&eacute;\\\",233),Dt(\\\"&eacute\\\",233),Dt(\\\"&easter;\\\",10862),Dt(\\\"&Ecaron;\\\",282),Dt(\\\"&ecaron;\\\",283),Dt(\\\"&Ecirc;\\\",202),Dt(\\\"&Ecirc\\\",202),Dt(\\\"&ecirc;\\\",234),Dt(\\\"&ecirc\\\",234),Dt(\\\"&ecir;\\\",8790),Dt(\\\"&ecolon;\\\",8789),Dt(\\\"&Ecy;\\\",1069),Dt(\\\"&ecy;\\\",1101),Dt(\\\"&eDDot;\\\",10871),Dt(\\\"&Edot;\\\",278),Dt(\\\"&edot;\\\",279),Dt(\\\"&eDot;\\\",8785),Dt(\\\"&ee;\\\",8519),Dt(\\\"&efDot;\\\",8786),Dt(\\\"&Efr;\\\",120072),Dt(\\\"&efr;\\\",120098),Dt(\\\"&eg;\\\",10906),Dt(\\\"&Egrave;\\\",200),Dt(\\\"&Egrave\\\",200),Dt(\\\"&egrave;\\\",232),Dt(\\\"&egrave\\\",232),Dt(\\\"&egs;\\\",10902),Dt(\\\"&egsdot;\\\",10904),Dt(\\\"&el;\\\",10905),Dt(\\\"&Element;\\\",8712),Dt(\\\"&elinters;\\\",9191),Dt(\\\"&ell;\\\",8467),Dt(\\\"&els;\\\",10901),Dt(\\\"&elsdot;\\\",10903),Dt(\\\"&Emacr;\\\",274),Dt(\\\"&emacr;\\\",275),Dt(\\\"&empty;\\\",8709),Dt(\\\"&emptyset;\\\",8709),Dt(\\\"&EmptySmallSquare;\\\",9723),Dt(\\\"&emptyv;\\\",8709),Dt(\\\"&EmptyVerySmallSquare;\\\",9643),Dt(\\\"&emsp13;\\\",8196),Dt(\\\"&emsp14;\\\",8197),Dt(\\\"&emsp;\\\",8195),Dt(\\\"&ENG;\\\",330),Dt(\\\"&eng;\\\",331),Dt(\\\"&ensp;\\\",8194),Dt(\\\"&Eogon;\\\",280),Dt(\\\"&eogon;\\\",281),Dt(\\\"&Eopf;\\\",120124),Dt(\\\"&eopf;\\\",120150),Dt(\\\"&epar;\\\",8917),Dt(\\\"&eparsl;\\\",10723),Dt(\\\"&eplus;\\\",10865),Dt(\\\"&epsi;\\\",949),Dt(\\\"&Epsilon;\\\",917),Dt(\\\"&epsilon;\\\",949),Dt(\\\"&epsiv;\\\",1013),Dt(\\\"&eqcirc;\\\",8790),Dt(\\\"&eqcolon;\\\",8789),Dt(\\\"&eqsim;\\\",8770),Dt(\\\"&eqslantgtr;\\\",10902),Dt(\\\"&eqslantless;\\\",10901),Dt(\\\"&Equal;\\\",10869),Dt(\\\"&equals;\\\",61),Dt(\\\"&EqualTilde;\\\",8770),Dt(\\\"&equest;\\\",8799),Dt(\\\"&Equilibrium;\\\",8652),Dt(\\\"&equiv;\\\",8801),Dt(\\\"&equivDD;\\\",10872),Dt(\\\"&eqvparsl;\\\",10725),Dt(\\\"&erarr;\\\",10609),Dt(\\\"&erDot;\\\",8787),Dt(\\\"&escr;\\\",8495),Dt(\\\"&Escr;\\\",8496),Dt(\\\"&esdot;\\\",8784),Dt(\\\"&Esim;\\\",10867),Dt(\\\"&esim;\\\",8770),Dt(\\\"&Eta;\\\",919),Dt(\\\"&eta;\\\",951),Dt(\\\"&ETH;\\\",208),Dt(\\\"&ETH\\\",208),Dt(\\\"&eth;\\\",240),Dt(\\\"&eth\\\",240),Dt(\\\"&Euml;\\\",203),Dt(\\\"&Euml\\\",203),Dt(\\\"&euml;\\\",235),Dt(\\\"&euml\\\",235),Dt(\\\"&euro;\\\",8364),Dt(\\\"&excl;\\\",33),Dt(\\\"&exist;\\\",8707),Dt(\\\"&Exists;\\\",8707),Dt(\\\"&expectation;\\\",8496),Dt(\\\"&exponentiale;\\\",8519),Dt(\\\"&ExponentialE;\\\",8519),Dt(\\\"&fallingdotseq;\\\",8786),Dt(\\\"&Fcy;\\\",1060),Dt(\\\"&fcy;\\\",1092),Dt(\\\"&female;\\\",9792),Dt(\\\"&ffilig;\\\",64259),Dt(\\\"&fflig;\\\",64256),Dt(\\\"&ffllig;\\\",64260),Dt(\\\"&Ffr;\\\",120073),Dt(\\\"&ffr;\\\",120099),Dt(\\\"&filig;\\\",64257),Dt(\\\"&FilledSmallSquare;\\\",9724),Dt(\\\"&FilledVerySmallSquare;\\\",9642),Dt(\\\"&fjlig;\\\",102),Dt(\\\"&flat;\\\",9837),Dt(\\\"&fllig;\\\",64258),Dt(\\\"&fltns;\\\",9649),Dt(\\\"&fnof;\\\",402),Dt(\\\"&Fopf;\\\",120125),Dt(\\\"&fopf;\\\",120151),Dt(\\\"&forall;\\\",8704),Dt(\\\"&ForAll;\\\",8704),Dt(\\\"&fork;\\\",8916),Dt(\\\"&forkv;\\\",10969),Dt(\\\"&Fouriertrf;\\\",8497),Dt(\\\"&fpartint;\\\",10765),Dt(\\\"&frac12;\\\",189),Dt(\\\"&frac12\\\",189),Dt(\\\"&frac13;\\\",8531),Dt(\\\"&frac14;\\\",188),Dt(\\\"&frac14\\\",188),Dt(\\\"&frac15;\\\",8533),Dt(\\\"&frac16;\\\",8537),Dt(\\\"&frac18;\\\",8539),Dt(\\\"&frac23;\\\",8532),Dt(\\\"&frac25;\\\",8534),Dt(\\\"&frac34;\\\",190),Dt(\\\"&frac34\\\",190),Dt(\\\"&frac35;\\\",8535),Dt(\\\"&frac38;\\\",8540),Dt(\\\"&frac45;\\\",8536),Dt(\\\"&frac56;\\\",8538),Dt(\\\"&frac58;\\\",8541),Dt(\\\"&frac78;\\\",8542),Dt(\\\"&frasl;\\\",8260),Dt(\\\"&frown;\\\",8994),Dt(\\\"&fscr;\\\",119995),Dt(\\\"&Fscr;\\\",8497),Dt(\\\"&gacute;\\\",501),Dt(\\\"&Gamma;\\\",915),Dt(\\\"&gamma;\\\",947),Dt(\\\"&Gammad;\\\",988),Dt(\\\"&gammad;\\\",989),Dt(\\\"&gap;\\\",10886),Dt(\\\"&Gbreve;\\\",286),Dt(\\\"&gbreve;\\\",287),Dt(\\\"&Gcedil;\\\",290),Dt(\\\"&Gcirc;\\\",284),Dt(\\\"&gcirc;\\\",285),Dt(\\\"&Gcy;\\\",1043),Dt(\\\"&gcy;\\\",1075),Dt(\\\"&Gdot;\\\",288),Dt(\\\"&gdot;\\\",289),Dt(\\\"&ge;\\\",8805),Dt(\\\"&gE;\\\",8807),Dt(\\\"&gEl;\\\",10892),Dt(\\\"&gel;\\\",8923),Dt(\\\"&geq;\\\",8805),Dt(\\\"&geqq;\\\",8807),Dt(\\\"&geqslant;\\\",10878),Dt(\\\"&gescc;\\\",10921),Dt(\\\"&ges;\\\",10878),Dt(\\\"&gesdot;\\\",10880),Dt(\\\"&gesdoto;\\\",10882),Dt(\\\"&gesdotol;\\\",10884),Dt(\\\"&gesl;\\\",8923),Dt(\\\"&gesles;\\\",10900),Dt(\\\"&Gfr;\\\",120074),Dt(\\\"&gfr;\\\",120100),Dt(\\\"&gg;\\\",8811),Dt(\\\"&Gg;\\\",8921),Dt(\\\"&ggg;\\\",8921),Dt(\\\"&gimel;\\\",8503),Dt(\\\"&GJcy;\\\",1027),Dt(\\\"&gjcy;\\\",1107),Dt(\\\"&gla;\\\",10917),Dt(\\\"&gl;\\\",8823),Dt(\\\"&glE;\\\",10898),Dt(\\\"&glj;\\\",10916),Dt(\\\"&gnap;\\\",10890),Dt(\\\"&gnapprox;\\\",10890),Dt(\\\"&gne;\\\",10888),Dt(\\\"&gnE;\\\",8809),Dt(\\\"&gneq;\\\",10888),Dt(\\\"&gneqq;\\\",8809),Dt(\\\"&gnsim;\\\",8935),Dt(\\\"&Gopf;\\\",120126),Dt(\\\"&gopf;\\\",120152),Dt(\\\"&grave;\\\",96),Dt(\\\"&GreaterEqual;\\\",8805),Dt(\\\"&GreaterEqualLess;\\\",8923),Dt(\\\"&GreaterFullEqual;\\\",8807),Dt(\\\"&GreaterGreater;\\\",10914),Dt(\\\"&GreaterLess;\\\",8823),Dt(\\\"&GreaterSlantEqual;\\\",10878),Dt(\\\"&GreaterTilde;\\\",8819),Dt(\\\"&Gscr;\\\",119970),Dt(\\\"&gscr;\\\",8458),Dt(\\\"&gsim;\\\",8819),Dt(\\\"&gsime;\\\",10894),Dt(\\\"&gsiml;\\\",10896),Dt(\\\"&gtcc;\\\",10919),Dt(\\\"&gtcir;\\\",10874),Dt(\\\"&gt;\\\",62),Dt(\\\"&gt\\\",62),Dt(\\\"&GT;\\\",62),Dt(\\\"&GT\\\",62),Dt(\\\"&Gt;\\\",8811),Dt(\\\"&gtdot;\\\",8919),Dt(\\\"&gtlPar;\\\",10645),Dt(\\\"&gtquest;\\\",10876),Dt(\\\"&gtrapprox;\\\",10886),Dt(\\\"&gtrarr;\\\",10616),Dt(\\\"&gtrdot;\\\",8919),Dt(\\\"&gtreqless;\\\",8923),Dt(\\\"&gtreqqless;\\\",10892),Dt(\\\"&gtrless;\\\",8823),Dt(\\\"&gtrsim;\\\",8819),Dt(\\\"&gvertneqq;\\\",8809),Dt(\\\"&gvnE;\\\",8809),Dt(\\\"&Hacek;\\\",711),Dt(\\\"&hairsp;\\\",8202),Dt(\\\"&half;\\\",189),Dt(\\\"&hamilt;\\\",8459),Dt(\\\"&HARDcy;\\\",1066),Dt(\\\"&hardcy;\\\",1098),Dt(\\\"&harrcir;\\\",10568),Dt(\\\"&harr;\\\",8596),Dt(\\\"&hArr;\\\",8660),Dt(\\\"&harrw;\\\",8621),Dt(\\\"&Hat;\\\",94),Dt(\\\"&hbar;\\\",8463),Dt(\\\"&Hcirc;\\\",292),Dt(\\\"&hcirc;\\\",293),Dt(\\\"&hearts;\\\",9829),Dt(\\\"&heartsuit;\\\",9829),Dt(\\\"&hellip;\\\",8230),Dt(\\\"&hercon;\\\",8889),Dt(\\\"&hfr;\\\",120101),Dt(\\\"&Hfr;\\\",8460),Dt(\\\"&HilbertSpace;\\\",8459),Dt(\\\"&hksearow;\\\",10533),Dt(\\\"&hkswarow;\\\",10534),Dt(\\\"&hoarr;\\\",8703),Dt(\\\"&homtht;\\\",8763),Dt(\\\"&hookleftarrow;\\\",8617),Dt(\\\"&hookrightarrow;\\\",8618),Dt(\\\"&hopf;\\\",120153),Dt(\\\"&Hopf;\\\",8461),Dt(\\\"&horbar;\\\",8213),Dt(\\\"&HorizontalLine;\\\",9472),Dt(\\\"&hscr;\\\",119997),Dt(\\\"&Hscr;\\\",8459),Dt(\\\"&hslash;\\\",8463),Dt(\\\"&Hstrok;\\\",294),Dt(\\\"&hstrok;\\\",295),Dt(\\\"&HumpDownHump;\\\",8782),Dt(\\\"&HumpEqual;\\\",8783),Dt(\\\"&hybull;\\\",8259),Dt(\\\"&hyphen;\\\",8208),Dt(\\\"&Iacute;\\\",205),Dt(\\\"&Iacute\\\",205),Dt(\\\"&iacute;\\\",237),Dt(\\\"&iacute\\\",237),Dt(\\\"&ic;\\\",8291),Dt(\\\"&Icirc;\\\",206),Dt(\\\"&Icirc\\\",206),Dt(\\\"&icirc;\\\",238),Dt(\\\"&icirc\\\",238),Dt(\\\"&Icy;\\\",1048),Dt(\\\"&icy;\\\",1080),Dt(\\\"&Idot;\\\",304),Dt(\\\"&IEcy;\\\",1045),Dt(\\\"&iecy;\\\",1077),Dt(\\\"&iexcl;\\\",161),Dt(\\\"&iexcl\\\",161),Dt(\\\"&iff;\\\",8660),Dt(\\\"&ifr;\\\",120102),Dt(\\\"&Ifr;\\\",8465),Dt(\\\"&Igrave;\\\",204),Dt(\\\"&Igrave\\\",204),Dt(\\\"&igrave;\\\",236),Dt(\\\"&igrave\\\",236),Dt(\\\"&ii;\\\",8520),Dt(\\\"&iiiint;\\\",10764),Dt(\\\"&iiint;\\\",8749),Dt(\\\"&iinfin;\\\",10716),Dt(\\\"&iiota;\\\",8489),Dt(\\\"&IJlig;\\\",306),Dt(\\\"&ijlig;\\\",307),Dt(\\\"&Imacr;\\\",298),Dt(\\\"&imacr;\\\",299),Dt(\\\"&image;\\\",8465),Dt(\\\"&ImaginaryI;\\\",8520),Dt(\\\"&imagline;\\\",8464),Dt(\\\"&imagpart;\\\",8465),Dt(\\\"&imath;\\\",305),Dt(\\\"&Im;\\\",8465),Dt(\\\"&imof;\\\",8887),Dt(\\\"&imped;\\\",437),Dt(\\\"&Implies;\\\",8658),Dt(\\\"&incare;\\\",8453),Dt(\\\"&in;\\\",8712),Dt(\\\"&infin;\\\",8734),Dt(\\\"&infintie;\\\",10717),Dt(\\\"&inodot;\\\",305),Dt(\\\"&intcal;\\\",8890),Dt(\\\"&int;\\\",8747),Dt(\\\"&Int;\\\",8748),Dt(\\\"&integers;\\\",8484),Dt(\\\"&Integral;\\\",8747),Dt(\\\"&intercal;\\\",8890),Dt(\\\"&Intersection;\\\",8898),Dt(\\\"&intlarhk;\\\",10775),Dt(\\\"&intprod;\\\",10812),Dt(\\\"&InvisibleComma;\\\",8291),Dt(\\\"&InvisibleTimes;\\\",8290),Dt(\\\"&IOcy;\\\",1025),Dt(\\\"&iocy;\\\",1105),Dt(\\\"&Iogon;\\\",302),Dt(\\\"&iogon;\\\",303),Dt(\\\"&Iopf;\\\",120128),Dt(\\\"&iopf;\\\",120154),Dt(\\\"&Iota;\\\",921),Dt(\\\"&iota;\\\",953),Dt(\\\"&iprod;\\\",10812),Dt(\\\"&iquest;\\\",191),Dt(\\\"&iquest\\\",191),Dt(\\\"&iscr;\\\",119998),Dt(\\\"&Iscr;\\\",8464),Dt(\\\"&isin;\\\",8712),Dt(\\\"&isindot;\\\",8949),Dt(\\\"&isinE;\\\",8953),Dt(\\\"&isins;\\\",8948),Dt(\\\"&isinsv;\\\",8947),Dt(\\\"&isinv;\\\",8712),Dt(\\\"&it;\\\",8290),Dt(\\\"&Itilde;\\\",296),Dt(\\\"&itilde;\\\",297),Dt(\\\"&Iukcy;\\\",1030),Dt(\\\"&iukcy;\\\",1110),Dt(\\\"&Iuml;\\\",207),Dt(\\\"&Iuml\\\",207),Dt(\\\"&iuml;\\\",239),Dt(\\\"&iuml\\\",239),Dt(\\\"&Jcirc;\\\",308),Dt(\\\"&jcirc;\\\",309),Dt(\\\"&Jcy;\\\",1049),Dt(\\\"&jcy;\\\",1081),Dt(\\\"&Jfr;\\\",120077),Dt(\\\"&jfr;\\\",120103),Dt(\\\"&jmath;\\\",567),Dt(\\\"&Jopf;\\\",120129),Dt(\\\"&jopf;\\\",120155),Dt(\\\"&Jscr;\\\",119973),Dt(\\\"&jscr;\\\",119999),Dt(\\\"&Jsercy;\\\",1032),Dt(\\\"&jsercy;\\\",1112),Dt(\\\"&Jukcy;\\\",1028),Dt(\\\"&jukcy;\\\",1108),Dt(\\\"&Kappa;\\\",922),Dt(\\\"&kappa;\\\",954),Dt(\\\"&kappav;\\\",1008),Dt(\\\"&Kcedil;\\\",310),Dt(\\\"&kcedil;\\\",311),Dt(\\\"&Kcy;\\\",1050),Dt(\\\"&kcy;\\\",1082),Dt(\\\"&Kfr;\\\",120078),Dt(\\\"&kfr;\\\",120104),Dt(\\\"&kgreen;\\\",312),Dt(\\\"&KHcy;\\\",1061),Dt(\\\"&khcy;\\\",1093),Dt(\\\"&KJcy;\\\",1036),Dt(\\\"&kjcy;\\\",1116),Dt(\\\"&Kopf;\\\",120130),Dt(\\\"&kopf;\\\",120156),Dt(\\\"&Kscr;\\\",119974),Dt(\\\"&kscr;\\\",12e4),Dt(\\\"&lAarr;\\\",8666),Dt(\\\"&Lacute;\\\",313),Dt(\\\"&lacute;\\\",314),Dt(\\\"&laemptyv;\\\",10676),Dt(\\\"&lagran;\\\",8466),Dt(\\\"&Lambda;\\\",923),Dt(\\\"&lambda;\\\",955),Dt(\\\"&lang;\\\",10216),Dt(\\\"&Lang;\\\",10218),Dt(\\\"&langd;\\\",10641),Dt(\\\"&langle;\\\",10216),Dt(\\\"&lap;\\\",10885),Dt(\\\"&Laplacetrf;\\\",8466),Dt(\\\"&laquo;\\\",171),Dt(\\\"&laquo\\\",171),Dt(\\\"&larrb;\\\",8676),Dt(\\\"&larrbfs;\\\",10527),Dt(\\\"&larr;\\\",8592),Dt(\\\"&Larr;\\\",8606),Dt(\\\"&lArr;\\\",8656),Dt(\\\"&larrfs;\\\",10525),Dt(\\\"&larrhk;\\\",8617),Dt(\\\"&larrlp;\\\",8619),Dt(\\\"&larrpl;\\\",10553),Dt(\\\"&larrsim;\\\",10611),Dt(\\\"&larrtl;\\\",8610),Dt(\\\"&latail;\\\",10521),Dt(\\\"&lAtail;\\\",10523),Dt(\\\"&lat;\\\",10923),Dt(\\\"&late;\\\",10925),Dt(\\\"&lates;\\\",10925),Dt(\\\"&lbarr;\\\",10508),Dt(\\\"&lBarr;\\\",10510),Dt(\\\"&lbbrk;\\\",10098),Dt(\\\"&lbrace;\\\",123),Dt(\\\"&lbrack;\\\",91),Dt(\\\"&lbrke;\\\",10635),Dt(\\\"&lbrksld;\\\",10639),Dt(\\\"&lbrkslu;\\\",10637),Dt(\\\"&Lcaron;\\\",317),Dt(\\\"&lcaron;\\\",318),Dt(\\\"&Lcedil;\\\",315),Dt(\\\"&lcedil;\\\",316),Dt(\\\"&lceil;\\\",8968),Dt(\\\"&lcub;\\\",123),Dt(\\\"&Lcy;\\\",1051),Dt(\\\"&lcy;\\\",1083),Dt(\\\"&ldca;\\\",10550),Dt(\\\"&ldquo;\\\",8220),Dt(\\\"&ldquor;\\\",8222),Dt(\\\"&ldrdhar;\\\",10599),Dt(\\\"&ldrushar;\\\",10571),Dt(\\\"&ldsh;\\\",8626),Dt(\\\"&le;\\\",8804),Dt(\\\"&lE;\\\",8806),Dt(\\\"&LeftAngleBracket;\\\",10216),Dt(\\\"&LeftArrowBar;\\\",8676),Dt(\\\"&leftarrow;\\\",8592),Dt(\\\"&LeftArrow;\\\",8592),Dt(\\\"&Leftarrow;\\\",8656),Dt(\\\"&LeftArrowRightArrow;\\\",8646),Dt(\\\"&leftarrowtail;\\\",8610),Dt(\\\"&LeftCeiling;\\\",8968),Dt(\\\"&LeftDoubleBracket;\\\",10214),Dt(\\\"&LeftDownTeeVector;\\\",10593),Dt(\\\"&LeftDownVectorBar;\\\",10585),Dt(\\\"&LeftDownVector;\\\",8643),Dt(\\\"&LeftFloor;\\\",8970),Dt(\\\"&leftharpoondown;\\\",8637),Dt(\\\"&leftharpoonup;\\\",8636),Dt(\\\"&leftleftarrows;\\\",8647),Dt(\\\"&leftrightarrow;\\\",8596),Dt(\\\"&LeftRightArrow;\\\",8596),Dt(\\\"&Leftrightarrow;\\\",8660),Dt(\\\"&leftrightarrows;\\\",8646),Dt(\\\"&leftrightharpoons;\\\",8651),Dt(\\\"&leftrightsquigarrow;\\\",8621),Dt(\\\"&LeftRightVector;\\\",10574),Dt(\\\"&LeftTeeArrow;\\\",8612),Dt(\\\"&LeftTee;\\\",8867),Dt(\\\"&LeftTeeVector;\\\",10586),Dt(\\\"&leftthreetimes;\\\",8907),Dt(\\\"&LeftTriangleBar;\\\",10703),Dt(\\\"&LeftTriangle;\\\",8882),Dt(\\\"&LeftTriangleEqual;\\\",8884),Dt(\\\"&LeftUpDownVector;\\\",10577),Dt(\\\"&LeftUpTeeVector;\\\",10592),Dt(\\\"&LeftUpVectorBar;\\\",10584),Dt(\\\"&LeftUpVector;\\\",8639),Dt(\\\"&LeftVectorBar;\\\",10578),Dt(\\\"&LeftVector;\\\",8636),Dt(\\\"&lEg;\\\",10891),Dt(\\\"&leg;\\\",8922),Dt(\\\"&leq;\\\",8804),Dt(\\\"&leqq;\\\",8806),Dt(\\\"&leqslant;\\\",10877),Dt(\\\"&lescc;\\\",10920),Dt(\\\"&les;\\\",10877),Dt(\\\"&lesdot;\\\",10879),Dt(\\\"&lesdoto;\\\",10881),Dt(\\\"&lesdotor;\\\",10883),Dt(\\\"&lesg;\\\",8922),Dt(\\\"&lesges;\\\",10899),Dt(\\\"&lessapprox;\\\",10885),Dt(\\\"&lessdot;\\\",8918),Dt(\\\"&lesseqgtr;\\\",8922),Dt(\\\"&lesseqqgtr;\\\",10891),Dt(\\\"&LessEqualGreater;\\\",8922),Dt(\\\"&LessFullEqual;\\\",8806),Dt(\\\"&LessGreater;\\\",8822),Dt(\\\"&lessgtr;\\\",8822),Dt(\\\"&LessLess;\\\",10913),Dt(\\\"&lesssim;\\\",8818),Dt(\\\"&LessSlantEqual;\\\",10877),Dt(\\\"&LessTilde;\\\",8818),Dt(\\\"&lfisht;\\\",10620),Dt(\\\"&lfloor;\\\",8970),Dt(\\\"&Lfr;\\\",120079),Dt(\\\"&lfr;\\\",120105),Dt(\\\"&lg;\\\",8822),Dt(\\\"&lgE;\\\",10897),Dt(\\\"&lHar;\\\",10594),Dt(\\\"&lhard;\\\",8637),Dt(\\\"&lharu;\\\",8636),Dt(\\\"&lharul;\\\",10602),Dt(\\\"&lhblk;\\\",9604),Dt(\\\"&LJcy;\\\",1033),Dt(\\\"&ljcy;\\\",1113),Dt(\\\"&llarr;\\\",8647),Dt(\\\"&ll;\\\",8810),Dt(\\\"&Ll;\\\",8920),Dt(\\\"&llcorner;\\\",8990),Dt(\\\"&Lleftarrow;\\\",8666),Dt(\\\"&llhard;\\\",10603),Dt(\\\"&lltri;\\\",9722),Dt(\\\"&Lmidot;\\\",319),Dt(\\\"&lmidot;\\\",320),Dt(\\\"&lmoustache;\\\",9136),Dt(\\\"&lmoust;\\\",9136),Dt(\\\"&lnap;\\\",10889),Dt(\\\"&lnapprox;\\\",10889),Dt(\\\"&lne;\\\",10887),Dt(\\\"&lnE;\\\",8808),Dt(\\\"&lneq;\\\",10887),Dt(\\\"&lneqq;\\\",8808),Dt(\\\"&lnsim;\\\",8934),Dt(\\\"&loang;\\\",10220),Dt(\\\"&loarr;\\\",8701),Dt(\\\"&lobrk;\\\",10214),Dt(\\\"&longleftarrow;\\\",10229),Dt(\\\"&LongLeftArrow;\\\",10229),Dt(\\\"&Longleftarrow;\\\",10232),Dt(\\\"&longleftrightarrow;\\\",10231),Dt(\\\"&LongLeftRightArrow;\\\",10231),Dt(\\\"&Longleftrightarrow;\\\",10234),Dt(\\\"&longmapsto;\\\",10236),Dt(\\\"&longrightarrow;\\\",10230),Dt(\\\"&LongRightArrow;\\\",10230),Dt(\\\"&Longrightarrow;\\\",10233),Dt(\\\"&looparrowleft;\\\",8619),Dt(\\\"&looparrowright;\\\",8620),Dt(\\\"&lopar;\\\",10629),Dt(\\\"&Lopf;\\\",120131),Dt(\\\"&lopf;\\\",120157),Dt(\\\"&loplus;\\\",10797),Dt(\\\"&lotimes;\\\",10804),Dt(\\\"&lowast;\\\",8727),Dt(\\\"&lowbar;\\\",95),Dt(\\\"&LowerLeftArrow;\\\",8601),Dt(\\\"&LowerRightArrow;\\\",8600),Dt(\\\"&loz;\\\",9674),Dt(\\\"&lozenge;\\\",9674),Dt(\\\"&lozf;\\\",10731),Dt(\\\"&lpar;\\\",40),Dt(\\\"&lparlt;\\\",10643),Dt(\\\"&lrarr;\\\",8646),Dt(\\\"&lrcorner;\\\",8991),Dt(\\\"&lrhar;\\\",8651),Dt(\\\"&lrhard;\\\",10605),Dt(\\\"&lrm;\\\",8206),Dt(\\\"&lrtri;\\\",8895),Dt(\\\"&lsaquo;\\\",8249),Dt(\\\"&lscr;\\\",120001),Dt(\\\"&Lscr;\\\",8466),Dt(\\\"&lsh;\\\",8624),Dt(\\\"&Lsh;\\\",8624),Dt(\\\"&lsim;\\\",8818),Dt(\\\"&lsime;\\\",10893),Dt(\\\"&lsimg;\\\",10895),Dt(\\\"&lsqb;\\\",91),Dt(\\\"&lsquo;\\\",8216),Dt(\\\"&lsquor;\\\",8218),Dt(\\\"&Lstrok;\\\",321),Dt(\\\"&lstrok;\\\",322),Dt(\\\"&ltcc;\\\",10918),Dt(\\\"&ltcir;\\\",10873),Dt(\\\"&lt;\\\",60),Dt(\\\"&lt\\\",60),Dt(\\\"&LT;\\\",60),Dt(\\\"&LT\\\",60),Dt(\\\"&Lt;\\\",8810),Dt(\\\"&ltdot;\\\",8918),Dt(\\\"&lthree;\\\",8907),Dt(\\\"&ltimes;\\\",8905),Dt(\\\"&ltlarr;\\\",10614),Dt(\\\"&ltquest;\\\",10875),Dt(\\\"&ltri;\\\",9667),Dt(\\\"&ltrie;\\\",8884),Dt(\\\"&ltrif;\\\",9666),Dt(\\\"&ltrPar;\\\",10646),Dt(\\\"&lurdshar;\\\",10570),Dt(\\\"&luruhar;\\\",10598),Dt(\\\"&lvertneqq;\\\",8808),Dt(\\\"&lvnE;\\\",8808),Dt(\\\"&macr;\\\",175),Dt(\\\"&macr\\\",175),Dt(\\\"&male;\\\",9794),Dt(\\\"&malt;\\\",10016),Dt(\\\"&maltese;\\\",10016),Dt(\\\"&Map;\\\",10501),Dt(\\\"&map;\\\",8614),Dt(\\\"&mapsto;\\\",8614),Dt(\\\"&mapstodown;\\\",8615),Dt(\\\"&mapstoleft;\\\",8612),Dt(\\\"&mapstoup;\\\",8613),Dt(\\\"&marker;\\\",9646),Dt(\\\"&mcomma;\\\",10793),Dt(\\\"&Mcy;\\\",1052),Dt(\\\"&mcy;\\\",1084),Dt(\\\"&mdash;\\\",8212),Dt(\\\"&mDDot;\\\",8762),Dt(\\\"&measuredangle;\\\",8737),Dt(\\\"&MediumSpace;\\\",8287),Dt(\\\"&Mellintrf;\\\",8499),Dt(\\\"&Mfr;\\\",120080),Dt(\\\"&mfr;\\\",120106),Dt(\\\"&mho;\\\",8487),Dt(\\\"&micro;\\\",181),Dt(\\\"&micro\\\",181),Dt(\\\"&midast;\\\",42),Dt(\\\"&midcir;\\\",10992),Dt(\\\"&mid;\\\",8739),Dt(\\\"&middot;\\\",183),Dt(\\\"&middot\\\",183),Dt(\\\"&minusb;\\\",8863),Dt(\\\"&minus;\\\",8722),Dt(\\\"&minusd;\\\",8760),Dt(\\\"&minusdu;\\\",10794),Dt(\\\"&MinusPlus;\\\",8723),Dt(\\\"&mlcp;\\\",10971),Dt(\\\"&mldr;\\\",8230),Dt(\\\"&mnplus;\\\",8723),Dt(\\\"&models;\\\",8871),Dt(\\\"&Mopf;\\\",120132),Dt(\\\"&mopf;\\\",120158),Dt(\\\"&mp;\\\",8723),Dt(\\\"&mscr;\\\",120002),Dt(\\\"&Mscr;\\\",8499),Dt(\\\"&mstpos;\\\",8766),Dt(\\\"&Mu;\\\",924),Dt(\\\"&mu;\\\",956),Dt(\\\"&multimap;\\\",8888),Dt(\\\"&mumap;\\\",8888),Dt(\\\"&nabla;\\\",8711),Dt(\\\"&Nacute;\\\",323),Dt(\\\"&nacute;\\\",324),Dt(\\\"&nang;\\\",8736),Dt(\\\"&nap;\\\",8777),Dt(\\\"&napE;\\\",10864),Dt(\\\"&napid;\\\",8779),Dt(\\\"&napos;\\\",329),Dt(\\\"&napprox;\\\",8777),Dt(\\\"&natural;\\\",9838),Dt(\\\"&naturals;\\\",8469),Dt(\\\"&natur;\\\",9838),Dt(\\\"&nbsp;\\\",160),Dt(\\\"&nbsp\\\",160),Dt(\\\"&nbump;\\\",8782),Dt(\\\"&nbumpe;\\\",8783),Dt(\\\"&ncap;\\\",10819),Dt(\\\"&Ncaron;\\\",327),Dt(\\\"&ncaron;\\\",328),Dt(\\\"&Ncedil;\\\",325),Dt(\\\"&ncedil;\\\",326),Dt(\\\"&ncong;\\\",8775),Dt(\\\"&ncongdot;\\\",10861),Dt(\\\"&ncup;\\\",10818),Dt(\\\"&Ncy;\\\",1053),Dt(\\\"&ncy;\\\",1085),Dt(\\\"&ndash;\\\",8211),Dt(\\\"&nearhk;\\\",10532),Dt(\\\"&nearr;\\\",8599),Dt(\\\"&neArr;\\\",8663),Dt(\\\"&nearrow;\\\",8599),Dt(\\\"&ne;\\\",8800),Dt(\\\"&nedot;\\\",8784),Dt(\\\"&NegativeMediumSpace;\\\",8203),Dt(\\\"&NegativeThickSpace;\\\",8203),Dt(\\\"&NegativeThinSpace;\\\",8203),Dt(\\\"&NegativeVeryThinSpace;\\\",8203),Dt(\\\"&nequiv;\\\",8802),Dt(\\\"&nesear;\\\",10536),Dt(\\\"&nesim;\\\",8770),Dt(\\\"&NestedGreaterGreater;\\\",8811),Dt(\\\"&NestedLessLess;\\\",8810),Dt(\\\"&NewLine;\\\",10),Dt(\\\"&nexist;\\\",8708),Dt(\\\"&nexists;\\\",8708),Dt(\\\"&Nfr;\\\",120081),Dt(\\\"&nfr;\\\",120107),Dt(\\\"&ngE;\\\",8807),Dt(\\\"&nge;\\\",8817),Dt(\\\"&ngeq;\\\",8817),Dt(\\\"&ngeqq;\\\",8807),Dt(\\\"&ngeqslant;\\\",10878),Dt(\\\"&nges;\\\",10878),Dt(\\\"&nGg;\\\",8921),Dt(\\\"&ngsim;\\\",8821),Dt(\\\"&nGt;\\\",8811),Dt(\\\"&ngt;\\\",8815),Dt(\\\"&ngtr;\\\",8815),Dt(\\\"&nGtv;\\\",8811),Dt(\\\"&nharr;\\\",8622),Dt(\\\"&nhArr;\\\",8654),Dt(\\\"&nhpar;\\\",10994),Dt(\\\"&ni;\\\",8715),Dt(\\\"&nis;\\\",8956),Dt(\\\"&nisd;\\\",8954),Dt(\\\"&niv;\\\",8715),Dt(\\\"&NJcy;\\\",1034),Dt(\\\"&njcy;\\\",1114),Dt(\\\"&nlarr;\\\",8602),Dt(\\\"&nlArr;\\\",8653),Dt(\\\"&nldr;\\\",8229),Dt(\\\"&nlE;\\\",8806),Dt(\\\"&nle;\\\",8816),Dt(\\\"&nleftarrow;\\\",8602),Dt(\\\"&nLeftarrow;\\\",8653),Dt(\\\"&nleftrightarrow;\\\",8622),Dt(\\\"&nLeftrightarrow;\\\",8654),Dt(\\\"&nleq;\\\",8816),Dt(\\\"&nleqq;\\\",8806),Dt(\\\"&nleqslant;\\\",10877),Dt(\\\"&nles;\\\",10877),Dt(\\\"&nless;\\\",8814),Dt(\\\"&nLl;\\\",8920),Dt(\\\"&nlsim;\\\",8820),Dt(\\\"&nLt;\\\",8810),Dt(\\\"&nlt;\\\",8814),Dt(\\\"&nltri;\\\",8938),Dt(\\\"&nltrie;\\\",8940),Dt(\\\"&nLtv;\\\",8810),Dt(\\\"&nmid;\\\",8740),Dt(\\\"&NoBreak;\\\",8288),Dt(\\\"&NonBreakingSpace;\\\",160),Dt(\\\"&nopf;\\\",120159),Dt(\\\"&Nopf;\\\",8469),Dt(\\\"&Not;\\\",10988),Dt(\\\"&not;\\\",172),Dt(\\\"&not\\\",172),Dt(\\\"&NotCongruent;\\\",8802),Dt(\\\"&NotCupCap;\\\",8813),Dt(\\\"&NotDoubleVerticalBar;\\\",8742),Dt(\\\"&NotElement;\\\",8713),Dt(\\\"&NotEqual;\\\",8800),Dt(\\\"&NotEqualTilde;\\\",8770),Dt(\\\"&NotExists;\\\",8708),Dt(\\\"&NotGreater;\\\",8815),Dt(\\\"&NotGreaterEqual;\\\",8817),Dt(\\\"&NotGreaterFullEqual;\\\",8807),Dt(\\\"&NotGreaterGreater;\\\",8811),Dt(\\\"&NotGreaterLess;\\\",8825),Dt(\\\"&NotGreaterSlantEqual;\\\",10878),Dt(\\\"&NotGreaterTilde;\\\",8821),Dt(\\\"&NotHumpDownHump;\\\",8782),Dt(\\\"&NotHumpEqual;\\\",8783),Dt(\\\"&notin;\\\",8713),Dt(\\\"&notindot;\\\",8949),Dt(\\\"&notinE;\\\",8953),Dt(\\\"&notinva;\\\",8713),Dt(\\\"&notinvb;\\\",8951),Dt(\\\"&notinvc;\\\",8950),Dt(\\\"&NotLeftTriangleBar;\\\",10703),Dt(\\\"&NotLeftTriangle;\\\",8938),Dt(\\\"&NotLeftTriangleEqual;\\\",8940),Dt(\\\"&NotLess;\\\",8814),Dt(\\\"&NotLessEqual;\\\",8816),Dt(\\\"&NotLessGreater;\\\",8824),Dt(\\\"&NotLessLess;\\\",8810),Dt(\\\"&NotLessSlantEqual;\\\",10877),Dt(\\\"&NotLessTilde;\\\",8820),Dt(\\\"&NotNestedGreaterGreater;\\\",10914),Dt(\\\"&NotNestedLessLess;\\\",10913),Dt(\\\"&notni;\\\",8716),Dt(\\\"&notniva;\\\",8716),Dt(\\\"&notnivb;\\\",8958),Dt(\\\"&notnivc;\\\",8957),Dt(\\\"&NotPrecedes;\\\",8832),Dt(\\\"&NotPrecedesEqual;\\\",10927),Dt(\\\"&NotPrecedesSlantEqual;\\\",8928),Dt(\\\"&NotReverseElement;\\\",8716),Dt(\\\"&NotRightTriangleBar;\\\",10704),Dt(\\\"&NotRightTriangle;\\\",8939),Dt(\\\"&NotRightTriangleEqual;\\\",8941),Dt(\\\"&NotSquareSubset;\\\",8847),Dt(\\\"&NotSquareSubsetEqual;\\\",8930),Dt(\\\"&NotSquareSuperset;\\\",8848),Dt(\\\"&NotSquareSupersetEqual;\\\",8931),Dt(\\\"&NotSubset;\\\",8834),Dt(\\\"&NotSubsetEqual;\\\",8840),Dt(\\\"&NotSucceeds;\\\",8833),Dt(\\\"&NotSucceedsEqual;\\\",10928),Dt(\\\"&NotSucceedsSlantEqual;\\\",8929),Dt(\\\"&NotSucceedsTilde;\\\",8831),Dt(\\\"&NotSuperset;\\\",8835),Dt(\\\"&NotSupersetEqual;\\\",8841),Dt(\\\"&NotTilde;\\\",8769),Dt(\\\"&NotTildeEqual;\\\",8772),Dt(\\\"&NotTildeFullEqual;\\\",8775),Dt(\\\"&NotTildeTilde;\\\",8777),Dt(\\\"&NotVerticalBar;\\\",8740),Dt(\\\"&nparallel;\\\",8742),Dt(\\\"&npar;\\\",8742),Dt(\\\"&nparsl;\\\",11005),Dt(\\\"&npart;\\\",8706),Dt(\\\"&npolint;\\\",10772),Dt(\\\"&npr;\\\",8832),Dt(\\\"&nprcue;\\\",8928),Dt(\\\"&nprec;\\\",8832),Dt(\\\"&npreceq;\\\",10927),Dt(\\\"&npre;\\\",10927),Dt(\\\"&nrarrc;\\\",10547),Dt(\\\"&nrarr;\\\",8603),Dt(\\\"&nrArr;\\\",8655),Dt(\\\"&nrarrw;\\\",8605),Dt(\\\"&nrightarrow;\\\",8603),Dt(\\\"&nRightarrow;\\\",8655),Dt(\\\"&nrtri;\\\",8939),Dt(\\\"&nrtrie;\\\",8941),Dt(\\\"&nsc;\\\",8833),Dt(\\\"&nsccue;\\\",8929),Dt(\\\"&nsce;\\\",10928),Dt(\\\"&Nscr;\\\",119977),Dt(\\\"&nscr;\\\",120003),Dt(\\\"&nshortmid;\\\",8740),Dt(\\\"&nshortparallel;\\\",8742),Dt(\\\"&nsim;\\\",8769),Dt(\\\"&nsime;\\\",8772),Dt(\\\"&nsimeq;\\\",8772),Dt(\\\"&nsmid;\\\",8740),Dt(\\\"&nspar;\\\",8742),Dt(\\\"&nsqsube;\\\",8930),Dt(\\\"&nsqsupe;\\\",8931),Dt(\\\"&nsub;\\\",8836),Dt(\\\"&nsubE;\\\",10949),Dt(\\\"&nsube;\\\",8840),Dt(\\\"&nsubset;\\\",8834),Dt(\\\"&nsubseteq;\\\",8840),Dt(\\\"&nsubseteqq;\\\",10949),Dt(\\\"&nsucc;\\\",8833),Dt(\\\"&nsucceq;\\\",10928),Dt(\\\"&nsup;\\\",8837),Dt(\\\"&nsupE;\\\",10950),Dt(\\\"&nsupe;\\\",8841),Dt(\\\"&nsupset;\\\",8835),Dt(\\\"&nsupseteq;\\\",8841),Dt(\\\"&nsupseteqq;\\\",10950),Dt(\\\"&ntgl;\\\",8825),Dt(\\\"&Ntilde;\\\",209),Dt(\\\"&Ntilde\\\",209),Dt(\\\"&ntilde;\\\",241),Dt(\\\"&ntilde\\\",241),Dt(\\\"&ntlg;\\\",8824),Dt(\\\"&ntriangleleft;\\\",8938),Dt(\\\"&ntrianglelefteq;\\\",8940),Dt(\\\"&ntriangleright;\\\",8939),Dt(\\\"&ntrianglerighteq;\\\",8941),Dt(\\\"&Nu;\\\",925),Dt(\\\"&nu;\\\",957),Dt(\\\"&num;\\\",35),Dt(\\\"&numero;\\\",8470),Dt(\\\"&numsp;\\\",8199),Dt(\\\"&nvap;\\\",8781),Dt(\\\"&nvdash;\\\",8876),Dt(\\\"&nvDash;\\\",8877),Dt(\\\"&nVdash;\\\",8878),Dt(\\\"&nVDash;\\\",8879),Dt(\\\"&nvge;\\\",8805),Dt(\\\"&nvgt;\\\",62),Dt(\\\"&nvHarr;\\\",10500),Dt(\\\"&nvinfin;\\\",10718),Dt(\\\"&nvlArr;\\\",10498),Dt(\\\"&nvle;\\\",8804),Dt(\\\"&nvlt;\\\",60),Dt(\\\"&nvltrie;\\\",8884),Dt(\\\"&nvrArr;\\\",10499),Dt(\\\"&nvrtrie;\\\",8885),Dt(\\\"&nvsim;\\\",8764),Dt(\\\"&nwarhk;\\\",10531),Dt(\\\"&nwarr;\\\",8598),Dt(\\\"&nwArr;\\\",8662),Dt(\\\"&nwarrow;\\\",8598),Dt(\\\"&nwnear;\\\",10535),Dt(\\\"&Oacute;\\\",211),Dt(\\\"&Oacute\\\",211),Dt(\\\"&oacute;\\\",243),Dt(\\\"&oacute\\\",243),Dt(\\\"&oast;\\\",8859),Dt(\\\"&Ocirc;\\\",212),Dt(\\\"&Ocirc\\\",212),Dt(\\\"&ocirc;\\\",244),Dt(\\\"&ocirc\\\",244),Dt(\\\"&ocir;\\\",8858),Dt(\\\"&Ocy;\\\",1054),Dt(\\\"&ocy;\\\",1086),Dt(\\\"&odash;\\\",8861),Dt(\\\"&Odblac;\\\",336),Dt(\\\"&odblac;\\\",337),Dt(\\\"&odiv;\\\",10808),Dt(\\\"&odot;\\\",8857),Dt(\\\"&odsold;\\\",10684),Dt(\\\"&OElig;\\\",338),Dt(\\\"&oelig;\\\",339),Dt(\\\"&ofcir;\\\",10687),Dt(\\\"&Ofr;\\\",120082),Dt(\\\"&ofr;\\\",120108),Dt(\\\"&ogon;\\\",731),Dt(\\\"&Ograve;\\\",210),Dt(\\\"&Ograve\\\",210),Dt(\\\"&ograve;\\\",242),Dt(\\\"&ograve\\\",242),Dt(\\\"&ogt;\\\",10689),Dt(\\\"&ohbar;\\\",10677),Dt(\\\"&ohm;\\\",937),Dt(\\\"&oint;\\\",8750),Dt(\\\"&olarr;\\\",8634),Dt(\\\"&olcir;\\\",10686),Dt(\\\"&olcross;\\\",10683),Dt(\\\"&oline;\\\",8254),Dt(\\\"&olt;\\\",10688),Dt(\\\"&Omacr;\\\",332),Dt(\\\"&omacr;\\\",333),Dt(\\\"&Omega;\\\",937),Dt(\\\"&omega;\\\",969),Dt(\\\"&Omicron;\\\",927),Dt(\\\"&omicron;\\\",959),Dt(\\\"&omid;\\\",10678),Dt(\\\"&ominus;\\\",8854),Dt(\\\"&Oopf;\\\",120134),Dt(\\\"&oopf;\\\",120160),Dt(\\\"&opar;\\\",10679),Dt(\\\"&OpenCurlyDoubleQuote;\\\",8220),Dt(\\\"&OpenCurlyQuote;\\\",8216),Dt(\\\"&operp;\\\",10681),Dt(\\\"&oplus;\\\",8853),Dt(\\\"&orarr;\\\",8635),Dt(\\\"&Or;\\\",10836),Dt(\\\"&or;\\\",8744),Dt(\\\"&ord;\\\",10845),Dt(\\\"&order;\\\",8500),Dt(\\\"&orderof;\\\",8500),Dt(\\\"&ordf;\\\",170),Dt(\\\"&ordf\\\",170),Dt(\\\"&ordm;\\\",186),Dt(\\\"&ordm\\\",186),Dt(\\\"&origof;\\\",8886),Dt(\\\"&oror;\\\",10838),Dt(\\\"&orslope;\\\",10839),Dt(\\\"&orv;\\\",10843),Dt(\\\"&oS;\\\",9416),Dt(\\\"&Oscr;\\\",119978),Dt(\\\"&oscr;\\\",8500),Dt(\\\"&Oslash;\\\",216),Dt(\\\"&Oslash\\\",216),Dt(\\\"&oslash;\\\",248),Dt(\\\"&oslash\\\",248),Dt(\\\"&osol;\\\",8856),Dt(\\\"&Otilde;\\\",213),Dt(\\\"&Otilde\\\",213),Dt(\\\"&otilde;\\\",245),Dt(\\\"&otilde\\\",245),Dt(\\\"&otimesas;\\\",10806),Dt(\\\"&Otimes;\\\",10807),Dt(\\\"&otimes;\\\",8855),Dt(\\\"&Ouml;\\\",214),Dt(\\\"&Ouml\\\",214),Dt(\\\"&ouml;\\\",246),Dt(\\\"&ouml\\\",246),Dt(\\\"&ovbar;\\\",9021),Dt(\\\"&OverBar;\\\",8254),Dt(\\\"&OverBrace;\\\",9182),Dt(\\\"&OverBracket;\\\",9140),Dt(\\\"&OverParenthesis;\\\",9180),Dt(\\\"&para;\\\",182),Dt(\\\"&para\\\",182),Dt(\\\"&parallel;\\\",8741),Dt(\\\"&par;\\\",8741),Dt(\\\"&parsim;\\\",10995),Dt(\\\"&parsl;\\\",11005),Dt(\\\"&part;\\\",8706),Dt(\\\"&PartialD;\\\",8706),Dt(\\\"&Pcy;\\\",1055),Dt(\\\"&pcy;\\\",1087),Dt(\\\"&percnt;\\\",37),Dt(\\\"&period;\\\",46),Dt(\\\"&permil;\\\",8240),Dt(\\\"&perp;\\\",8869),Dt(\\\"&pertenk;\\\",8241),Dt(\\\"&Pfr;\\\",120083),Dt(\\\"&pfr;\\\",120109),Dt(\\\"&Phi;\\\",934),Dt(\\\"&phi;\\\",966),Dt(\\\"&phiv;\\\",981),Dt(\\\"&phmmat;\\\",8499),Dt(\\\"&phone;\\\",9742),Dt(\\\"&Pi;\\\",928),Dt(\\\"&pi;\\\",960),Dt(\\\"&pitchfork;\\\",8916),Dt(\\\"&piv;\\\",982),Dt(\\\"&planck;\\\",8463),Dt(\\\"&planckh;\\\",8462),Dt(\\\"&plankv;\\\",8463),Dt(\\\"&plusacir;\\\",10787),Dt(\\\"&plusb;\\\",8862),Dt(\\\"&pluscir;\\\",10786),Dt(\\\"&plus;\\\",43),Dt(\\\"&plusdo;\\\",8724),Dt(\\\"&plusdu;\\\",10789),Dt(\\\"&pluse;\\\",10866),Dt(\\\"&PlusMinus;\\\",177),Dt(\\\"&plusmn;\\\",177),Dt(\\\"&plusmn\\\",177),Dt(\\\"&plussim;\\\",10790),Dt(\\\"&plustwo;\\\",10791),Dt(\\\"&pm;\\\",177),Dt(\\\"&Poincareplane;\\\",8460),Dt(\\\"&pointint;\\\",10773),Dt(\\\"&popf;\\\",120161),Dt(\\\"&Popf;\\\",8473),Dt(\\\"&pound;\\\",163),Dt(\\\"&pound\\\",163),Dt(\\\"&prap;\\\",10935),Dt(\\\"&Pr;\\\",10939),Dt(\\\"&pr;\\\",8826),Dt(\\\"&prcue;\\\",8828),Dt(\\\"&precapprox;\\\",10935),Dt(\\\"&prec;\\\",8826),Dt(\\\"&preccurlyeq;\\\",8828),Dt(\\\"&Precedes;\\\",8826),Dt(\\\"&PrecedesEqual;\\\",10927),Dt(\\\"&PrecedesSlantEqual;\\\",8828),Dt(\\\"&PrecedesTilde;\\\",8830),Dt(\\\"&preceq;\\\",10927),Dt(\\\"&precnapprox;\\\",10937),Dt(\\\"&precneqq;\\\",10933),Dt(\\\"&precnsim;\\\",8936),Dt(\\\"&pre;\\\",10927),Dt(\\\"&prE;\\\",10931),Dt(\\\"&precsim;\\\",8830),Dt(\\\"&prime;\\\",8242),Dt(\\\"&Prime;\\\",8243),Dt(\\\"&primes;\\\",8473),Dt(\\\"&prnap;\\\",10937),Dt(\\\"&prnE;\\\",10933),Dt(\\\"&prnsim;\\\",8936),Dt(\\\"&prod;\\\",8719),Dt(\\\"&Product;\\\",8719),Dt(\\\"&profalar;\\\",9006),Dt(\\\"&profline;\\\",8978),Dt(\\\"&profsurf;\\\",8979),Dt(\\\"&prop;\\\",8733),Dt(\\\"&Proportional;\\\",8733),Dt(\\\"&Proportion;\\\",8759),Dt(\\\"&propto;\\\",8733),Dt(\\\"&prsim;\\\",8830),Dt(\\\"&prurel;\\\",8880),Dt(\\\"&Pscr;\\\",119979),Dt(\\\"&pscr;\\\",120005),Dt(\\\"&Psi;\\\",936),Dt(\\\"&psi;\\\",968),Dt(\\\"&puncsp;\\\",8200),Dt(\\\"&Qfr;\\\",120084),Dt(\\\"&qfr;\\\",120110),Dt(\\\"&qint;\\\",10764),Dt(\\\"&qopf;\\\",120162),Dt(\\\"&Qopf;\\\",8474),Dt(\\\"&qprime;\\\",8279),Dt(\\\"&Qscr;\\\",119980),Dt(\\\"&qscr;\\\",120006),Dt(\\\"&quaternions;\\\",8461),Dt(\\\"&quatint;\\\",10774),Dt(\\\"&quest;\\\",63),Dt(\\\"&questeq;\\\",8799),Dt(\\\"&quot;\\\",34),Dt(\\\"&quot\\\",34),Dt(\\\"&QUOT;\\\",34),Dt(\\\"&QUOT\\\",34),Dt(\\\"&rAarr;\\\",8667),Dt(\\\"&race;\\\",8765),Dt(\\\"&Racute;\\\",340),Dt(\\\"&racute;\\\",341),Dt(\\\"&radic;\\\",8730),Dt(\\\"&raemptyv;\\\",10675),Dt(\\\"&rang;\\\",10217),Dt(\\\"&Rang;\\\",10219),Dt(\\\"&rangd;\\\",10642),Dt(\\\"&range;\\\",10661),Dt(\\\"&rangle;\\\",10217),Dt(\\\"&raquo;\\\",187),Dt(\\\"&raquo\\\",187),Dt(\\\"&rarrap;\\\",10613),Dt(\\\"&rarrb;\\\",8677),Dt(\\\"&rarrbfs;\\\",10528),Dt(\\\"&rarrc;\\\",10547),Dt(\\\"&rarr;\\\",8594),Dt(\\\"&Rarr;\\\",8608),Dt(\\\"&rArr;\\\",8658),Dt(\\\"&rarrfs;\\\",10526),Dt(\\\"&rarrhk;\\\",8618),Dt(\\\"&rarrlp;\\\",8620),Dt(\\\"&rarrpl;\\\",10565),Dt(\\\"&rarrsim;\\\",10612),Dt(\\\"&Rarrtl;\\\",10518),Dt(\\\"&rarrtl;\\\",8611),Dt(\\\"&rarrw;\\\",8605),Dt(\\\"&ratail;\\\",10522),Dt(\\\"&rAtail;\\\",10524),Dt(\\\"&ratio;\\\",8758),Dt(\\\"&rationals;\\\",8474),Dt(\\\"&rbarr;\\\",10509),Dt(\\\"&rBarr;\\\",10511),Dt(\\\"&RBarr;\\\",10512),Dt(\\\"&rbbrk;\\\",10099),Dt(\\\"&rbrace;\\\",125),Dt(\\\"&rbrack;\\\",93),Dt(\\\"&rbrke;\\\",10636),Dt(\\\"&rbrksld;\\\",10638),Dt(\\\"&rbrkslu;\\\",10640),Dt(\\\"&Rcaron;\\\",344),Dt(\\\"&rcaron;\\\",345),Dt(\\\"&Rcedil;\\\",342),Dt(\\\"&rcedil;\\\",343),Dt(\\\"&rceil;\\\",8969),Dt(\\\"&rcub;\\\",125),Dt(\\\"&Rcy;\\\",1056),Dt(\\\"&rcy;\\\",1088),Dt(\\\"&rdca;\\\",10551),Dt(\\\"&rdldhar;\\\",10601),Dt(\\\"&rdquo;\\\",8221),Dt(\\\"&rdquor;\\\",8221),Dt(\\\"&rdsh;\\\",8627),Dt(\\\"&real;\\\",8476),Dt(\\\"&realine;\\\",8475),Dt(\\\"&realpart;\\\",8476),Dt(\\\"&reals;\\\",8477),Dt(\\\"&Re;\\\",8476),Dt(\\\"&rect;\\\",9645),Dt(\\\"&reg;\\\",174),Dt(\\\"&reg\\\",174),Dt(\\\"&REG;\\\",174),Dt(\\\"&REG\\\",174),Dt(\\\"&ReverseElement;\\\",8715),Dt(\\\"&ReverseEquilibrium;\\\",8651),Dt(\\\"&ReverseUpEquilibrium;\\\",10607),Dt(\\\"&rfisht;\\\",10621),Dt(\\\"&rfloor;\\\",8971),Dt(\\\"&rfr;\\\",120111),Dt(\\\"&Rfr;\\\",8476),Dt(\\\"&rHar;\\\",10596),Dt(\\\"&rhard;\\\",8641),Dt(\\\"&rharu;\\\",8640),Dt(\\\"&rharul;\\\",10604),Dt(\\\"&Rho;\\\",929),Dt(\\\"&rho;\\\",961),Dt(\\\"&rhov;\\\",1009),Dt(\\\"&RightAngleBracket;\\\",10217),Dt(\\\"&RightArrowBar;\\\",8677),Dt(\\\"&rightarrow;\\\",8594),Dt(\\\"&RightArrow;\\\",8594),Dt(\\\"&Rightarrow;\\\",8658),Dt(\\\"&RightArrowLeftArrow;\\\",8644),Dt(\\\"&rightarrowtail;\\\",8611),Dt(\\\"&RightCeiling;\\\",8969),Dt(\\\"&RightDoubleBracket;\\\",10215),Dt(\\\"&RightDownTeeVector;\\\",10589),Dt(\\\"&RightDownVectorBar;\\\",10581),Dt(\\\"&RightDownVector;\\\",8642),Dt(\\\"&RightFloor;\\\",8971),Dt(\\\"&rightharpoondown;\\\",8641),Dt(\\\"&rightharpoonup;\\\",8640),Dt(\\\"&rightleftarrows;\\\",8644),Dt(\\\"&rightleftharpoons;\\\",8652),Dt(\\\"&rightrightarrows;\\\",8649),Dt(\\\"&rightsquigarrow;\\\",8605),Dt(\\\"&RightTeeArrow;\\\",8614),Dt(\\\"&RightTee;\\\",8866),Dt(\\\"&RightTeeVector;\\\",10587),Dt(\\\"&rightthreetimes;\\\",8908),Dt(\\\"&RightTriangleBar;\\\",10704),Dt(\\\"&RightTriangle;\\\",8883),Dt(\\\"&RightTriangleEqual;\\\",8885),Dt(\\\"&RightUpDownVector;\\\",10575),Dt(\\\"&RightUpTeeVector;\\\",10588),Dt(\\\"&RightUpVectorBar;\\\",10580),Dt(\\\"&RightUpVector;\\\",8638),Dt(\\\"&RightVectorBar;\\\",10579),Dt(\\\"&RightVector;\\\",8640),Dt(\\\"&ring;\\\",730),Dt(\\\"&risingdotseq;\\\",8787),Dt(\\\"&rlarr;\\\",8644),Dt(\\\"&rlhar;\\\",8652),Dt(\\\"&rlm;\\\",8207),Dt(\\\"&rmoustache;\\\",9137),Dt(\\\"&rmoust;\\\",9137),Dt(\\\"&rnmid;\\\",10990),Dt(\\\"&roang;\\\",10221),Dt(\\\"&roarr;\\\",8702),Dt(\\\"&robrk;\\\",10215),Dt(\\\"&ropar;\\\",10630),Dt(\\\"&ropf;\\\",120163),Dt(\\\"&Ropf;\\\",8477),Dt(\\\"&roplus;\\\",10798),Dt(\\\"&rotimes;\\\",10805),Dt(\\\"&RoundImplies;\\\",10608),Dt(\\\"&rpar;\\\",41),Dt(\\\"&rpargt;\\\",10644),Dt(\\\"&rppolint;\\\",10770),Dt(\\\"&rrarr;\\\",8649),Dt(\\\"&Rrightarrow;\\\",8667),Dt(\\\"&rsaquo;\\\",8250),Dt(\\\"&rscr;\\\",120007),Dt(\\\"&Rscr;\\\",8475),Dt(\\\"&rsh;\\\",8625),Dt(\\\"&Rsh;\\\",8625),Dt(\\\"&rsqb;\\\",93),Dt(\\\"&rsquo;\\\",8217),Dt(\\\"&rsquor;\\\",8217),Dt(\\\"&rthree;\\\",8908),Dt(\\\"&rtimes;\\\",8906),Dt(\\\"&rtri;\\\",9657),Dt(\\\"&rtrie;\\\",8885),Dt(\\\"&rtrif;\\\",9656),Dt(\\\"&rtriltri;\\\",10702),Dt(\\\"&RuleDelayed;\\\",10740),Dt(\\\"&ruluhar;\\\",10600),Dt(\\\"&rx;\\\",8478),Dt(\\\"&Sacute;\\\",346),Dt(\\\"&sacute;\\\",347),Dt(\\\"&sbquo;\\\",8218),Dt(\\\"&scap;\\\",10936),Dt(\\\"&Scaron;\\\",352),Dt(\\\"&scaron;\\\",353),Dt(\\\"&Sc;\\\",10940),Dt(\\\"&sc;\\\",8827),Dt(\\\"&sccue;\\\",8829),Dt(\\\"&sce;\\\",10928),Dt(\\\"&scE;\\\",10932),Dt(\\\"&Scedil;\\\",350),Dt(\\\"&scedil;\\\",351),Dt(\\\"&Scirc;\\\",348),Dt(\\\"&scirc;\\\",349),Dt(\\\"&scnap;\\\",10938),Dt(\\\"&scnE;\\\",10934),Dt(\\\"&scnsim;\\\",8937),Dt(\\\"&scpolint;\\\",10771),Dt(\\\"&scsim;\\\",8831),Dt(\\\"&Scy;\\\",1057),Dt(\\\"&scy;\\\",1089),Dt(\\\"&sdotb;\\\",8865),Dt(\\\"&sdot;\\\",8901),Dt(\\\"&sdote;\\\",10854),Dt(\\\"&searhk;\\\",10533),Dt(\\\"&searr;\\\",8600),Dt(\\\"&seArr;\\\",8664),Dt(\\\"&searrow;\\\",8600),Dt(\\\"&sect;\\\",167),Dt(\\\"&sect\\\",167),Dt(\\\"&semi;\\\",59),Dt(\\\"&seswar;\\\",10537),Dt(\\\"&setminus;\\\",8726),Dt(\\\"&setmn;\\\",8726),Dt(\\\"&sext;\\\",10038),Dt(\\\"&Sfr;\\\",120086),Dt(\\\"&sfr;\\\",120112),Dt(\\\"&sfrown;\\\",8994),Dt(\\\"&sharp;\\\",9839),Dt(\\\"&SHCHcy;\\\",1065),Dt(\\\"&shchcy;\\\",1097),Dt(\\\"&SHcy;\\\",1064),Dt(\\\"&shcy;\\\",1096),Dt(\\\"&ShortDownArrow;\\\",8595),Dt(\\\"&ShortLeftArrow;\\\",8592),Dt(\\\"&shortmid;\\\",8739),Dt(\\\"&shortparallel;\\\",8741),Dt(\\\"&ShortRightArrow;\\\",8594),Dt(\\\"&ShortUpArrow;\\\",8593),Dt(\\\"&shy;\\\",173),Dt(\\\"&shy\\\",173),Dt(\\\"&Sigma;\\\",931),Dt(\\\"&sigma;\\\",963),Dt(\\\"&sigmaf;\\\",962),Dt(\\\"&sigmav;\\\",962),Dt(\\\"&sim;\\\",8764),Dt(\\\"&simdot;\\\",10858),Dt(\\\"&sime;\\\",8771),Dt(\\\"&simeq;\\\",8771),Dt(\\\"&simg;\\\",10910),Dt(\\\"&simgE;\\\",10912),Dt(\\\"&siml;\\\",10909),Dt(\\\"&simlE;\\\",10911),Dt(\\\"&simne;\\\",8774),Dt(\\\"&simplus;\\\",10788),Dt(\\\"&simrarr;\\\",10610),Dt(\\\"&slarr;\\\",8592),Dt(\\\"&SmallCircle;\\\",8728),Dt(\\\"&smallsetminus;\\\",8726),Dt(\\\"&smashp;\\\",10803),Dt(\\\"&smeparsl;\\\",10724),Dt(\\\"&smid;\\\",8739),Dt(\\\"&smile;\\\",8995),Dt(\\\"&smt;\\\",10922),Dt(\\\"&smte;\\\",10924),Dt(\\\"&smtes;\\\",10924),Dt(\\\"&SOFTcy;\\\",1068),Dt(\\\"&softcy;\\\",1100),Dt(\\\"&solbar;\\\",9023),Dt(\\\"&solb;\\\",10692),Dt(\\\"&sol;\\\",47),Dt(\\\"&Sopf;\\\",120138),Dt(\\\"&sopf;\\\",120164),Dt(\\\"&spades;\\\",9824),Dt(\\\"&spadesuit;\\\",9824),Dt(\\\"&spar;\\\",8741),Dt(\\\"&sqcap;\\\",8851),Dt(\\\"&sqcaps;\\\",8851),Dt(\\\"&sqcup;\\\",8852),Dt(\\\"&sqcups;\\\",8852),Dt(\\\"&Sqrt;\\\",8730),Dt(\\\"&sqsub;\\\",8847),Dt(\\\"&sqsube;\\\",8849),Dt(\\\"&sqsubset;\\\",8847),Dt(\\\"&sqsubseteq;\\\",8849),Dt(\\\"&sqsup;\\\",8848),Dt(\\\"&sqsupe;\\\",8850),Dt(\\\"&sqsupset;\\\",8848),Dt(\\\"&sqsupseteq;\\\",8850),Dt(\\\"&square;\\\",9633),Dt(\\\"&Square;\\\",9633),Dt(\\\"&SquareIntersection;\\\",8851),Dt(\\\"&SquareSubset;\\\",8847),Dt(\\\"&SquareSubsetEqual;\\\",8849),Dt(\\\"&SquareSuperset;\\\",8848),Dt(\\\"&SquareSupersetEqual;\\\",8850),Dt(\\\"&SquareUnion;\\\",8852),Dt(\\\"&squarf;\\\",9642),Dt(\\\"&squ;\\\",9633),Dt(\\\"&squf;\\\",9642),Dt(\\\"&srarr;\\\",8594),Dt(\\\"&Sscr;\\\",119982),Dt(\\\"&sscr;\\\",120008),Dt(\\\"&ssetmn;\\\",8726),Dt(\\\"&ssmile;\\\",8995),Dt(\\\"&sstarf;\\\",8902),Dt(\\\"&Star;\\\",8902),Dt(\\\"&star;\\\",9734),Dt(\\\"&starf;\\\",9733),Dt(\\\"&straightepsilon;\\\",1013),Dt(\\\"&straightphi;\\\",981),Dt(\\\"&strns;\\\",175),Dt(\\\"&sub;\\\",8834),Dt(\\\"&Sub;\\\",8912),Dt(\\\"&subdot;\\\",10941),Dt(\\\"&subE;\\\",10949),Dt(\\\"&sube;\\\",8838),Dt(\\\"&subedot;\\\",10947),Dt(\\\"&submult;\\\",10945),Dt(\\\"&subnE;\\\",10955),Dt(\\\"&subne;\\\",8842),Dt(\\\"&subplus;\\\",10943),Dt(\\\"&subrarr;\\\",10617),Dt(\\\"&subset;\\\",8834),Dt(\\\"&Subset;\\\",8912),Dt(\\\"&subseteq;\\\",8838),Dt(\\\"&subseteqq;\\\",10949),Dt(\\\"&SubsetEqual;\\\",8838),Dt(\\\"&subsetneq;\\\",8842),Dt(\\\"&subsetneqq;\\\",10955),Dt(\\\"&subsim;\\\",10951),Dt(\\\"&subsub;\\\",10965),Dt(\\\"&subsup;\\\",10963),Dt(\\\"&succapprox;\\\",10936),Dt(\\\"&succ;\\\",8827),Dt(\\\"&succcurlyeq;\\\",8829),Dt(\\\"&Succeeds;\\\",8827),Dt(\\\"&SucceedsEqual;\\\",10928),Dt(\\\"&SucceedsSlantEqual;\\\",8829),Dt(\\\"&SucceedsTilde;\\\",8831),Dt(\\\"&succeq;\\\",10928),Dt(\\\"&succnapprox;\\\",10938),Dt(\\\"&succneqq;\\\",10934),Dt(\\\"&succnsim;\\\",8937),Dt(\\\"&succsim;\\\",8831),Dt(\\\"&SuchThat;\\\",8715),Dt(\\\"&sum;\\\",8721),Dt(\\\"&Sum;\\\",8721),Dt(\\\"&sung;\\\",9834),Dt(\\\"&sup1;\\\",185),Dt(\\\"&sup1\\\",185),Dt(\\\"&sup2;\\\",178),Dt(\\\"&sup2\\\",178),Dt(\\\"&sup3;\\\",179),Dt(\\\"&sup3\\\",179),Dt(\\\"&sup;\\\",8835),Dt(\\\"&Sup;\\\",8913),Dt(\\\"&supdot;\\\",10942),Dt(\\\"&supdsub;\\\",10968),Dt(\\\"&supE;\\\",10950),Dt(\\\"&supe;\\\",8839),Dt(\\\"&supedot;\\\",10948),Dt(\\\"&Superset;\\\",8835),Dt(\\\"&SupersetEqual;\\\",8839),Dt(\\\"&suphsol;\\\",10185),Dt(\\\"&suphsub;\\\",10967),Dt(\\\"&suplarr;\\\",10619),Dt(\\\"&supmult;\\\",10946),Dt(\\\"&supnE;\\\",10956),Dt(\\\"&supne;\\\",8843),Dt(\\\"&supplus;\\\",10944),Dt(\\\"&supset;\\\",8835),Dt(\\\"&Supset;\\\",8913),Dt(\\\"&supseteq;\\\",8839),Dt(\\\"&supseteqq;\\\",10950),Dt(\\\"&supsetneq;\\\",8843),Dt(\\\"&supsetneqq;\\\",10956),Dt(\\\"&supsim;\\\",10952),Dt(\\\"&supsub;\\\",10964),Dt(\\\"&supsup;\\\",10966),Dt(\\\"&swarhk;\\\",10534),Dt(\\\"&swarr;\\\",8601),Dt(\\\"&swArr;\\\",8665),Dt(\\\"&swarrow;\\\",8601),Dt(\\\"&swnwar;\\\",10538),Dt(\\\"&szlig;\\\",223),Dt(\\\"&szlig\\\",223),Dt(\\\"&Tab;\\\",9),Dt(\\\"&target;\\\",8982),Dt(\\\"&Tau;\\\",932),Dt(\\\"&tau;\\\",964),Dt(\\\"&tbrk;\\\",9140),Dt(\\\"&Tcaron;\\\",356),Dt(\\\"&tcaron;\\\",357),Dt(\\\"&Tcedil;\\\",354),Dt(\\\"&tcedil;\\\",355),Dt(\\\"&Tcy;\\\",1058),Dt(\\\"&tcy;\\\",1090),Dt(\\\"&tdot;\\\",8411),Dt(\\\"&telrec;\\\",8981),Dt(\\\"&Tfr;\\\",120087),Dt(\\\"&tfr;\\\",120113),Dt(\\\"&there4;\\\",8756),Dt(\\\"&therefore;\\\",8756),Dt(\\\"&Therefore;\\\",8756),Dt(\\\"&Theta;\\\",920),Dt(\\\"&theta;\\\",952),Dt(\\\"&thetasym;\\\",977),Dt(\\\"&thetav;\\\",977),Dt(\\\"&thickapprox;\\\",8776),Dt(\\\"&thicksim;\\\",8764),Dt(\\\"&ThickSpace;\\\",8287),Dt(\\\"&ThinSpace;\\\",8201),Dt(\\\"&thinsp;\\\",8201),Dt(\\\"&thkap;\\\",8776),Dt(\\\"&thksim;\\\",8764),Dt(\\\"&THORN;\\\",222),Dt(\\\"&THORN\\\",222),Dt(\\\"&thorn;\\\",254),Dt(\\\"&thorn\\\",254),Dt(\\\"&tilde;\\\",732),Dt(\\\"&Tilde;\\\",8764),Dt(\\\"&TildeEqual;\\\",8771),Dt(\\\"&TildeFullEqual;\\\",8773),Dt(\\\"&TildeTilde;\\\",8776),Dt(\\\"&timesbar;\\\",10801),Dt(\\\"&timesb;\\\",8864),Dt(\\\"&times;\\\",215),Dt(\\\"&times\\\",215),Dt(\\\"&timesd;\\\",10800),Dt(\\\"&tint;\\\",8749),Dt(\\\"&toea;\\\",10536),Dt(\\\"&topbot;\\\",9014),Dt(\\\"&topcir;\\\",10993),Dt(\\\"&top;\\\",8868),Dt(\\\"&Topf;\\\",120139),Dt(\\\"&topf;\\\",120165),Dt(\\\"&topfork;\\\",10970),Dt(\\\"&tosa;\\\",10537),Dt(\\\"&tprime;\\\",8244),Dt(\\\"&trade;\\\",8482),Dt(\\\"&TRADE;\\\",8482),Dt(\\\"&triangle;\\\",9653),Dt(\\\"&triangledown;\\\",9663),Dt(\\\"&triangleleft;\\\",9667),Dt(\\\"&trianglelefteq;\\\",8884),Dt(\\\"&triangleq;\\\",8796),Dt(\\\"&triangleright;\\\",9657),Dt(\\\"&trianglerighteq;\\\",8885),Dt(\\\"&tridot;\\\",9708),Dt(\\\"&trie;\\\",8796),Dt(\\\"&triminus;\\\",10810),Dt(\\\"&TripleDot;\\\",8411),Dt(\\\"&triplus;\\\",10809),Dt(\\\"&trisb;\\\",10701),Dt(\\\"&tritime;\\\",10811),Dt(\\\"&trpezium;\\\",9186),Dt(\\\"&Tscr;\\\",119983),Dt(\\\"&tscr;\\\",120009),Dt(\\\"&TScy;\\\",1062),Dt(\\\"&tscy;\\\",1094),Dt(\\\"&TSHcy;\\\",1035),Dt(\\\"&tshcy;\\\",1115),Dt(\\\"&Tstrok;\\\",358),Dt(\\\"&tstrok;\\\",359),Dt(\\\"&twixt;\\\",8812),Dt(\\\"&twoheadleftarrow;\\\",8606),Dt(\\\"&twoheadrightarrow;\\\",8608),Dt(\\\"&Uacute;\\\",218),Dt(\\\"&Uacute\\\",218),Dt(\\\"&uacute;\\\",250),Dt(\\\"&uacute\\\",250),Dt(\\\"&uarr;\\\",8593),Dt(\\\"&Uarr;\\\",8607),Dt(\\\"&uArr;\\\",8657),Dt(\\\"&Uarrocir;\\\",10569),Dt(\\\"&Ubrcy;\\\",1038),Dt(\\\"&ubrcy;\\\",1118),Dt(\\\"&Ubreve;\\\",364),Dt(\\\"&ubreve;\\\",365),Dt(\\\"&Ucirc;\\\",219),Dt(\\\"&Ucirc\\\",219),Dt(\\\"&ucirc;\\\",251),Dt(\\\"&ucirc\\\",251),Dt(\\\"&Ucy;\\\",1059),Dt(\\\"&ucy;\\\",1091),Dt(\\\"&udarr;\\\",8645),Dt(\\\"&Udblac;\\\",368),Dt(\\\"&udblac;\\\",369),Dt(\\\"&udhar;\\\",10606),Dt(\\\"&ufisht;\\\",10622),Dt(\\\"&Ufr;\\\",120088),Dt(\\\"&ufr;\\\",120114),Dt(\\\"&Ugrave;\\\",217),Dt(\\\"&Ugrave\\\",217),Dt(\\\"&ugrave;\\\",249),Dt(\\\"&ugrave\\\",249),Dt(\\\"&uHar;\\\",10595),Dt(\\\"&uharl;\\\",8639),Dt(\\\"&uharr;\\\",8638),Dt(\\\"&uhblk;\\\",9600),Dt(\\\"&ulcorn;\\\",8988),Dt(\\\"&ulcorner;\\\",8988),Dt(\\\"&ulcrop;\\\",8975),Dt(\\\"&ultri;\\\",9720),Dt(\\\"&Umacr;\\\",362),Dt(\\\"&umacr;\\\",363),Dt(\\\"&uml;\\\",168),Dt(\\\"&uml\\\",168),Dt(\\\"&UnderBar;\\\",95),Dt(\\\"&UnderBrace;\\\",9183),Dt(\\\"&UnderBracket;\\\",9141),Dt(\\\"&UnderParenthesis;\\\",9181),Dt(\\\"&Union;\\\",8899),Dt(\\\"&UnionPlus;\\\",8846),Dt(\\\"&Uogon;\\\",370),Dt(\\\"&uogon;\\\",371),Dt(\\\"&Uopf;\\\",120140),Dt(\\\"&uopf;\\\",120166),Dt(\\\"&UpArrowBar;\\\",10514),Dt(\\\"&uparrow;\\\",8593),Dt(\\\"&UpArrow;\\\",8593),Dt(\\\"&Uparrow;\\\",8657),Dt(\\\"&UpArrowDownArrow;\\\",8645),Dt(\\\"&updownarrow;\\\",8597),Dt(\\\"&UpDownArrow;\\\",8597),Dt(\\\"&Updownarrow;\\\",8661),Dt(\\\"&UpEquilibrium;\\\",10606),Dt(\\\"&upharpoonleft;\\\",8639),Dt(\\\"&upharpoonright;\\\",8638),Dt(\\\"&uplus;\\\",8846),Dt(\\\"&UpperLeftArrow;\\\",8598),Dt(\\\"&UpperRightArrow;\\\",8599),Dt(\\\"&upsi;\\\",965),Dt(\\\"&Upsi;\\\",978),Dt(\\\"&upsih;\\\",978),Dt(\\\"&Upsilon;\\\",933),Dt(\\\"&upsilon;\\\",965),Dt(\\\"&UpTeeArrow;\\\",8613),Dt(\\\"&UpTee;\\\",8869),Dt(\\\"&upuparrows;\\\",8648),Dt(\\\"&urcorn;\\\",8989),Dt(\\\"&urcorner;\\\",8989),Dt(\\\"&urcrop;\\\",8974),Dt(\\\"&Uring;\\\",366),Dt(\\\"&uring;\\\",367),Dt(\\\"&urtri;\\\",9721),Dt(\\\"&Uscr;\\\",119984),Dt(\\\"&uscr;\\\",120010),Dt(\\\"&utdot;\\\",8944),Dt(\\\"&Utilde;\\\",360),Dt(\\\"&utilde;\\\",361),Dt(\\\"&utri;\\\",9653),Dt(\\\"&utrif;\\\",9652),Dt(\\\"&uuarr;\\\",8648),Dt(\\\"&Uuml;\\\",220),Dt(\\\"&Uuml\\\",220),Dt(\\\"&uuml;\\\",252),Dt(\\\"&uuml\\\",252),Dt(\\\"&uwangle;\\\",10663),Dt(\\\"&vangrt;\\\",10652),Dt(\\\"&varepsilon;\\\",1013),Dt(\\\"&varkappa;\\\",1008),Dt(\\\"&varnothing;\\\",8709),Dt(\\\"&varphi;\\\",981),Dt(\\\"&varpi;\\\",982),Dt(\\\"&varpropto;\\\",8733),Dt(\\\"&varr;\\\",8597),Dt(\\\"&vArr;\\\",8661),Dt(\\\"&varrho;\\\",1009),Dt(\\\"&varsigma;\\\",962),Dt(\\\"&varsubsetneq;\\\",8842),Dt(\\\"&varsubsetneqq;\\\",10955),Dt(\\\"&varsupsetneq;\\\",8843),Dt(\\\"&varsupsetneqq;\\\",10956),Dt(\\\"&vartheta;\\\",977),Dt(\\\"&vartriangleleft;\\\",8882),Dt(\\\"&vartriangleright;\\\",8883),Dt(\\\"&vBar;\\\",10984),Dt(\\\"&Vbar;\\\",10987),Dt(\\\"&vBarv;\\\",10985),Dt(\\\"&Vcy;\\\",1042),Dt(\\\"&vcy;\\\",1074),Dt(\\\"&vdash;\\\",8866),Dt(\\\"&vDash;\\\",8872),Dt(\\\"&Vdash;\\\",8873),Dt(\\\"&VDash;\\\",8875),Dt(\\\"&Vdashl;\\\",10982),Dt(\\\"&veebar;\\\",8891),Dt(\\\"&vee;\\\",8744),Dt(\\\"&Vee;\\\",8897),Dt(\\\"&veeeq;\\\",8794),Dt(\\\"&vellip;\\\",8942),Dt(\\\"&verbar;\\\",124),Dt(\\\"&Verbar;\\\",8214),Dt(\\\"&vert;\\\",124),Dt(\\\"&Vert;\\\",8214),Dt(\\\"&VerticalBar;\\\",8739),Dt(\\\"&VerticalLine;\\\",124),Dt(\\\"&VerticalSeparator;\\\",10072),Dt(\\\"&VerticalTilde;\\\",8768),Dt(\\\"&VeryThinSpace;\\\",8202),Dt(\\\"&Vfr;\\\",120089),Dt(\\\"&vfr;\\\",120115),Dt(\\\"&vltri;\\\",8882),Dt(\\\"&vnsub;\\\",8834),Dt(\\\"&vnsup;\\\",8835),Dt(\\\"&Vopf;\\\",120141),Dt(\\\"&vopf;\\\",120167),Dt(\\\"&vprop;\\\",8733),Dt(\\\"&vrtri;\\\",8883),Dt(\\\"&Vscr;\\\",119985),Dt(\\\"&vscr;\\\",120011),Dt(\\\"&vsubnE;\\\",10955),Dt(\\\"&vsubne;\\\",8842),Dt(\\\"&vsupnE;\\\",10956),Dt(\\\"&vsupne;\\\",8843),Dt(\\\"&Vvdash;\\\",8874),Dt(\\\"&vzigzag;\\\",10650),Dt(\\\"&Wcirc;\\\",372),Dt(\\\"&wcirc;\\\",373),Dt(\\\"&wedbar;\\\",10847),Dt(\\\"&wedge;\\\",8743),Dt(\\\"&Wedge;\\\",8896),Dt(\\\"&wedgeq;\\\",8793),Dt(\\\"&weierp;\\\",8472),Dt(\\\"&Wfr;\\\",120090),Dt(\\\"&wfr;\\\",120116),Dt(\\\"&Wopf;\\\",120142),Dt(\\\"&wopf;\\\",120168),Dt(\\\"&wp;\\\",8472),Dt(\\\"&wr;\\\",8768),Dt(\\\"&wreath;\\\",8768),Dt(\\\"&Wscr;\\\",119986),Dt(\\\"&wscr;\\\",120012),Dt(\\\"&xcap;\\\",8898),Dt(\\\"&xcirc;\\\",9711),Dt(\\\"&xcup;\\\",8899),Dt(\\\"&xdtri;\\\",9661),Dt(\\\"&Xfr;\\\",120091),Dt(\\\"&xfr;\\\",120117),Dt(\\\"&xharr;\\\",10231),Dt(\\\"&xhArr;\\\",10234),Dt(\\\"&Xi;\\\",926),Dt(\\\"&xi;\\\",958),Dt(\\\"&xlarr;\\\",10229),Dt(\\\"&xlArr;\\\",10232),Dt(\\\"&xmap;\\\",10236),Dt(\\\"&xnis;\\\",8955),Dt(\\\"&xodot;\\\",10752),Dt(\\\"&Xopf;\\\",120143),Dt(\\\"&xopf;\\\",120169),Dt(\\\"&xoplus;\\\",10753),Dt(\\\"&xotime;\\\",10754),Dt(\\\"&xrarr;\\\",10230),Dt(\\\"&xrArr;\\\",10233),Dt(\\\"&Xscr;\\\",119987),Dt(\\\"&xscr;\\\",120013),Dt(\\\"&xsqcup;\\\",10758),Dt(\\\"&xuplus;\\\",10756),Dt(\\\"&xutri;\\\",9651),Dt(\\\"&xvee;\\\",8897),Dt(\\\"&xwedge;\\\",8896),Dt(\\\"&Yacute;\\\",221),Dt(\\\"&Yacute\\\",221),Dt(\\\"&yacute;\\\",253),Dt(\\\"&yacute\\\",253),Dt(\\\"&YAcy;\\\",1071),Dt(\\\"&yacy;\\\",1103),Dt(\\\"&Ycirc;\\\",374),Dt(\\\"&ycirc;\\\",375),Dt(\\\"&Ycy;\\\",1067),Dt(\\\"&ycy;\\\",1099),Dt(\\\"&yen;\\\",165),Dt(\\\"&yen\\\",165),Dt(\\\"&Yfr;\\\",120092),Dt(\\\"&yfr;\\\",120118),Dt(\\\"&YIcy;\\\",1031),Dt(\\\"&yicy;\\\",1111),Dt(\\\"&Yopf;\\\",120144),Dt(\\\"&yopf;\\\",120170),Dt(\\\"&Yscr;\\\",119988),Dt(\\\"&yscr;\\\",120014),Dt(\\\"&YUcy;\\\",1070),Dt(\\\"&yucy;\\\",1102),Dt(\\\"&yuml;\\\",255),Dt(\\\"&yuml\\\",255),Dt(\\\"&Yuml;\\\",376),Dt(\\\"&Zacute;\\\",377),Dt(\\\"&zacute;\\\",378),Dt(\\\"&Zcaron;\\\",381),Dt(\\\"&zcaron;\\\",382),Dt(\\\"&Zcy;\\\",1047),Dt(\\\"&zcy;\\\",1079),Dt(\\\"&Zdot;\\\",379),Dt(\\\"&zdot;\\\",380),Dt(\\\"&zeetrf;\\\",8488),Dt(\\\"&ZeroWidthSpace;\\\",8203),Dt(\\\"&Zeta;\\\",918),Dt(\\\"&zeta;\\\",950),Dt(\\\"&zfr;\\\",120119),Dt(\\\"&Zfr;\\\",8488),Dt(\\\"&ZHcy;\\\",1046),Dt(\\\"&zhcy;\\\",1078),Dt(\\\"&zigrarr;\\\",8669),Dt(\\\"&zopf;\\\",120171),Dt(\\\"&Zopf;\\\",8484),Dt(\\\"&Zscr;\\\",119989),Dt(\\\"&zscr;\\\",120015),Dt(\\\"&zwj;\\\",8205),Dt(\\\"&zwnj;\\\",8204)])}function bi(){O=this,this.n4z_1=\\\"!\\\\\\\"#\\\\\\\\$%&'\\\\\\\\(\\\\\\\\)\\\\\\\\*\\\\\\\\+,\\\\\\\\-.\\\\\\\\/:;<=>\\\\\\\\?@\\\\\\\\[\\\\\\\\\\\\\\\\\\\\\\\\]\\\\\\\\^_`{\\\\\\\\|}~\\\",this.o4z_1=Ee([Dt(new ht(dt(34)),\\\"&quot;\\\"),Dt(new ht(dt(38)),\\\"&amp;\\\"),Dt(new ht(dt(60)),\\\"&lt;\\\"),Dt(new ht(dt(62)),\\\"&gt;\\\")]),this.p4z_1=ne('&(?:([a-zA-Z0-9]+)|#([0-9]{1,8})|#[xX]([a-fA-F0-9]{1,8}));|([\\\"&<>])'),this.q4z_1=ne(this.p4z_1.l9_1+\\\"|\\\\\\\\\\\\\\\\([!\\\\\\\"#\\\\\\\\$%&'\\\\\\\\(\\\\\\\\)\\\\\\\\*\\\\\\\\+,\\\\\\\\-.\\\\\\\\/:;<=>\\\\\\\\?@\\\\\\\\[\\\\\\\\\\\\\\\\\\\\\\\\]\\\\\\\\^_`{\\\\\\\\|}~])\\\")}function xi(){return null==O&&new bi,O}function wi(){I=this,this.a57_1=65536,this.b57_1=dt(55296),this.c57_1=dt(56320)}function Ai(){return null==I&&new wi,I}function Ci(){this.c5b_1=ft()}function Mi(){}function Ei(t,e){t.a(e)}function Ti(t){var e=ce(t);return Pe(t,1),e}function Si(t){do{var e;t.n5b_1=t.g5b_1.x56(),t.i5b_1=ki(t);var n=t.h5b_1;e=!(!pt(t.i5b_1,n)||null==n)&&Ii().p5b_1.t1(n)}while(e)}function ki(t){try{return t.g5b_1.w54()}catch(t){throw t instanceof oe?re(\\\"This could not be!\\\"):t}}function Oi(){L=this,this.p5b_1=ze([fn().i4w_1,fn().u4x_1,fn().j4w_1,fn().y4w_1,fn().p4x_1,fn().i4x_1,fn().q4x_1,fn().r4x_1,fn().t4x_1])}function Ii(){return null==L&&new Oi,L}function Li(t){Ii(),this.g5b_1=t,this.h5b_1=null,this.i5b_1=null,this.j5b_1=\\\"\\\",this.k5b_1=0,this.l5b_1=0,this.m5b_1=0,this.n5b_1=0,this.o5b_1=this.g5b_1.q1v()}function Pi(t,e,n,r,i){this.s5b_1=t,this.t5b_1=e,this.u5b_1=n,this.v5b_1=r,this.w5b_1=i}function zi(t,e){var n=e;return pt(new ht(n),new ht(dt(34)))?fn().n4w_1:pt(new ht(n),new ht(dt(39)))?fn().m4w_1:pt(new ht(n),new ht(dt(40)))?fn().o4w_1:pt(new ht(n),new ht(dt(41)))?fn().p4w_1:pt(new ht(n),new ht(dt(91)))?fn().q4w_1:pt(new ht(n),new ht(dt(93)))?fn().r4w_1:pt(new ht(n),new ht(dt(60)))?fn().s4w_1:pt(new ht(n),new ht(dt(62)))?fn().t4w_1:fn().t4x_1}function Ri(t,e){for(var n=0,r=0,i=e.length;r<i;)n=n+Ft(ct(e,r))|0,r=r+2|0;gt();for(var o=Ut(n),a=0,s=0;a<e.length;){var l=a;a=l+1|0;var u=Ft(ct(e,l)),c=a;a=c+1|0;var h=ct(e,c);do{var p=s;s=p+1|0,o[p]=h,u=u-1|0}while(u>0)}return o}function Di(){this.x5b_1=dt(0),this.y5b_1=null,this.z5b_1=!0}function $i(t,e,n){var r=t.t55(0),i=t.t55(t.u55()-1|0);return Ei(t.k5c_1,t.v55()),t.m5c_1.x5b_1=i,t.m5c_1.y5b_1=e,t.m5c_1.z5b_1=!0,qi(),t.w55(6),t.x55(t.u55()-1|0),zi(qi(),r)}function Bi(t){for(var e=1;e<t.u55()&&!pt(new ht(t.t55(e)),new ht(dt(10)));)e=e+1|0;if(e!==t.u55())return t.x55(t.u55()-e|0),gt();qi(),t.w55(0),t.x55(t.u55()-1|0),t.l5c_1=!1}function Ni(t){var e,n=t.v55();if(qi(),4===n)e=!0;else{var r=t.v55();qi(),e=6===r&&t.m5c_1.z5b_1}return e}function Fi(t,e){return Ni(t)?e:t.m5c_1.y5b_1}function ji(t,e){var n;try{n=qi().h5d_1[e]}catch(t){if(!(t instanceof oe))throw t;var r=qi().h5d_1;qi(),n=r[0]}throw ae(n)}function Ui(){var t,e,n;P=this,this.n5c_1=-1,this.o5c_1=16384,this.p5c_1=0,this.q5c_1=2,this.r5c_1=4,this.s5c_1=6,this.t5c_1=8,t=new Int32Array([0,0,1,1,2,2,3,3,1,1]),this.u5c_1=t,this.v5c_1=Ri(0,\\\"\\u0001\\\\0\\u0001\\u0001\\u0001\\u0002\\u0001\\u0003\\u0001\\u0004\\u0001\\u0005\\u0001\\u0006\\u0001\\u0007\\u0001\\\\b\\u0001\\\\t\\u0001\\\\n\\u0001\\\\v\\u0001\\\\f\\u0006\\\\r\\u0001\\u000e\\u0013\\\\r\\u0001\\u000f\\u0001\\\\r\\u0001\\u0010\\u0001\\u0011\\\\n\\\\r\\u0001\\u0012\\\\b\\\\n\\u0001\\u0013\\u0001\\u0014\\u0001\\u0015\\u0001\\u0016\\u0001\\u0017\\u0001\\u0018\\u0001\\u0019\\u0001\\u001a\\u0001\\u001b\\u0001\\u001c\\u0001\\u001d\\u0001\\u001e\\u0002\\\\n\\u0001\\\\r\\u0001\\u001f\\u0003\\\\n\\u0001 \\\\b\\\\n\\u0001!\\u0001\\\\\\\"\\u0005\\\\r\\u0001#\\u0001$\\\\t\\\\n\\u0001%\\u0002\\\\n\\u0001&\\u0004\\\\n\\u0001'\\u0001(\\u0004\\\\n\\u0001)\\u0001*\\u0001+\\u0003\\\\n)\\\\r\\u0001,\\u0003\\\\r\\u0001-\\u0001.\\u0004\\\\r\\u0001/\\\\n\\\\n\\u00010΁\\\\n\\\"),this.w5c_1=Ri(0,\\\"\\u0001\\\\0\\u0001\\u0001\\u0001\\u0002\\u0001\\u0003\\u0001\\u0004\\u0001\\u0005\\u0001\\u0006\\u0001\\u0007\\u0001\\\\b\\u0001\\u0001\\u0001\\\\t\\u0001\\\\n\\u0001\\\\v\\u0001\\\\f\\u0001\\\\v\\u0001\\\\f\\u001c\\\\v\\u0001\\\\r\\u0001\\u000e\\u0001\\u000f\\\\b\\u0001\\u0001\\u0010\\u0001\\u0011\\u0001\\\\v\\u0001\\u0012\\u0004\\\\v\\u0001\\u0013\\\\b\\\\v\\u0001\\u0014\\\\n\\\\v\\u0001\\u0015\\u0001\\\\v\\u0001\\u0016\\u0001\\u0015\\u0001\\\\v\\u0001\\u0017\\u0004\\u0001\\u0001\\\\v\\u0001\\u0018\\u0001\\u0019\\u0002\\u0001\\u0002\\\\v\\u0001\\u0018\\u0001\\u0001\\u0001\\u001a\\u0001\\u0015\\u0005\\\\v\\u0001\\u001b\\u0001\\u001c\\u0001\\u001d\\u0001\\u0001\\u0001\\u001e\\u0001\\\\v\\u0001\\u0001\\u0001\\u001f\\u0005\\\\v\\u0001 \\u0001!\\u0002\\\\v\\u0001\\u0018\\u0001\\\\\\\"\\u0001\\\\v\\u0001#\\u0001$\\u0001\\u0001\\u0001\\\\v\\u0001%\\u0004\\u0001\\u0001\\\\v\\u0001&\\u0004\\u0001\\u0001'\\u0002\\\\v\\u0001(\\u0001\\u0001\\u0001)\\u0001\\\\r\\u0001\\u0015\\u0001*\\u0001+\\u0001,\\u0001-\\u0001.\\u0001/\\u0001\\\\r\\u00010\\u00011\\u0001+\\u0001,\\u00012\\u0001\\u0001\\u00013\\u00014\\u00015\\u00016\\u0001\\u0012\\u0001,\\u00017\\u0001\\u0001\\u00018\\u0001\\\\r\\u00019\\u0001:\\u0001+\\u0001,\\u00017\\u0001\\u0001\\u0001/\\u0001\\\\r\\u0001;\\u0001<\\u0001=\\u0001>\\u0001?\\u0001\\u0001\\u00018\\u00014\\u0001\\u0019\\u0001@\\u0001\\u001e\\u0001,\\u0001(\\u0001\\u0001\\u0001A\\u0001\\\\r\\u0001B\\u0001C\\u0001\\u001e\\u0001,\\u0001D\\u0001\\u0001\\u0001.\\u0001\\\\r\\u0001E\\u0001@\\u0001\\u001e\\u0001\\\\v\\u0001F\\u0001.\\u0001G\\u0001\\\\r\\u0001,\\u0001H\\u0001I\\u0001\\\\v\\u0001J\\u0001K\\u0001\\u0001\\u00014\\u0001\\u0001\\u0001\\u0015\\u0002\\\\v\\u0001L\\u0001K\\u0001?\\u0002\\u0001\\u0001M\\u0001N\\u0001O\\u0001P\\u0001Q\\u0001R\\u0002\\u0001\\u00018\\u0001\\u0001\\u0001\\\\v\\u0001S\\u0001T\\u0001\\\\v\\u0001U\\u0001\\u0001\\u0001V\\u0007\\u0001\\u0002\\\\v\\u0001\\u0018\\u0001W\\u0001?\\u0001X\\u0001Y\\u0001Z\\u0001[\\u0001?\\u0002\\\\v\\u0001\\\\\\\\\\u0002\\\\v\\u0001]\\u0014\\\\v\\u0001^\\u0001_\\u0002\\\\v\\u0001^\\u0002\\\\v\\u0001`\\u0001a\\u0001\\\\f\\u0003\\\\v\\u0001a\\u0003\\\\v\\u0001\\u0018\\u0001b\\u0001U\\u0001\\\\v\\u0001\\u0001\\u0005\\\\v\\u0001c\\u0001\\u0015%\\\\v\\u0001\\u001d\\u0001\\\\v\\u0001\\u0015\\u0001\\u0018\\u0004\\\\v\\u0001d\\u0001%\\u0001e\\u0001\\u000e\\u0001\\\\v\\u0001\\u000e\\u0001\\\\v\\u0001\\u000e\\u0001e\\u00018\\u0003\\\\v\\u0001S\\u0001\\u0001\\u0001f\\u0002?\\u0001\\u0001\\u0001?\\u0005\\\\v\\u0001\\u0017\\u0001g\\u0001\\\\v\\u0001h\\u0004\\\\v\\u0001 \\u0001\\\\v\\u0001i\\u0002\\u0001\\u00014\\u0001\\\\v\\u0001j\\u0001k\\u0002\\\\v\\u0001l\\u0001\\\\v\\u0001?\\u0001\\u0018\\u0002\\u0001\\u0001\\\\v\\u0001K\\u0003\\\\v\\u0001k\\u0002\\u0001\\u0002?\\u0001m\\u0005\\u0001\\u0001H\\u0002\\\\v\\u0001S\\u0001n\\u0001?\\u0002\\u0001\\u0001o\\u0001\\\\v\\u0001p\\u0003\\\\v\\u0001 \\u0001\\u0001\\u0002\\\\v\\u0001S\\u0001\\u0001\\u0001q\\u0002\\\\v\\u0001j\\u0001%\\u0005\\u0001\\u0001r\\u0001s\\\\f\\\\v\\u0004\\u0001\\u0011\\\\v\\u0001c\\u0002\\\\v\\u0001c\\u0001t\\u0001\\\\v\\u0001j\\u0003\\\\v\\u0001u\\u0001v\\u0001w\\u0001U\\u0001v\\u0002\\u0001\\u0001x\\u0004\\u0001\\u0001y\\u0001?\\u0001U\\u0006\\u0001\\u0001z\\u0001{\\u0001|\\u0001R\\u0001}\\u0003\\\\v\\u0001?-\\u0001\\u0003\\\\v\\u0001l\\u0004\\u0001\\u0001~\\u0001\\\\v'\\u0001\\u00014\\u0001\\\\v\\u0001SF\\u0001\\u0002\\\\v\\u0001i\\u0002\\\\v\\u0001i\\\\b\\\\v\\u0001\\u0001€\\u0002\\\\v\\u0001\\\\\\\\\\u0003\\\\v\\u0001\\u0001\\u0001\\u0001\\\\v\\u0001K\\u0004‚\\u0004\\u0001\\u0001W\\u001d\\u0001\\u0001ƒ\\u0001\\u0001\\u0001„\\u0001…",
"\\u0001\\u0015\\u0004\\\\v\\u0001†\\u0001\\u0015\\u0004\\\\v\\u0001]\\u0001H\\u0001\\\\v\\u0001j\\u0001\\u0015\\u0004\\\\v\\u0001i\\u0001‡\\u0001\\\\v\\u0001\\u0018\\u0003\\u0001\\u0001\\\\v\\u0002\\u0001\\u0001?\\u0001\\u0001\\u0001ˆ\\u0001\\u0015\\u0002\\u0001\\u0001?\\u0002\\u0001\\u0001\\u0015\\u0014\\u0001[\\\\v\\u0001 \\u0004\\u0001]\\\\v\\u0001 \\u0002\\u0001\\\\b\\\\v\\u0001U\\u0004\\u0001\\u0002\\\\v\\u0001j\\u0010\\\\v\\u0001U\\u0001\\\\v\\u0001l\\u0001\\u0001\\u0002\\\\v\\u0001i\\u0001W\\u0001\\\\v\\u0001j\\u0005\\\\v\\u0002\\u0001\\u0001‰\\u0001Š\\u0005\\\\v\\u0001‹\\u0001\\\\v\\u0001i\\u0001\\u0017\\u0003\\u0001\\u0001‰\\u0001Œ\\u0001\\\\v\\u0001\\u0019\\u0001 \\u0003\\\\v\\u0001S\\u0001Š\\u0002\\\\v\\u0001S\\u0001\\u0001\\u0001?\\u0001\\u0001\\u0001\\u0002\\\\v\\u0001 \\u0001\\\\v\\u0001K\\u0001\\u0001\\u0001\\\\v\\u0001U\\u0001'\\u0002\\\\v\\u0001\\u0019\\u0001W\\u0001?\\u0001Ž\\u0001i\\u0002\\\\v\\u0001%\\u0001\\u0001\\u0001\\u0001?\\u0001\\\\v\\u0001\\u0003\\\\v\\u0001‘\\u0001’\\u0001“\\u0001\\u0018\\u00015\\u0001”\\u0001•\\u0001‚\\u0002\\\\v\\u0001]\\u0001 \\u0007\\\\v\\u0001\\u0019\\u0001?:\\\\v\\u0001S\\u0001\\\\v\\u0001–\\u0002\\\\v\\u0001l\\u0010\\u0001\\u0016\\\\v\\u0001j\\u0006\\\\v\\u0001?\\u0002\\u0001\\u0001K\\u0001—\\u0001,\\u0001˜\\u0001™\\u0006\\\\v\\u0001\\u000e\\u0001\\u0001\\u0001o\\u0015\\\\v\\u0001j\\u0001\\u0001\\u0004\\\\v\\u0001Š\\u0002\\\\v\\u0001\\u0017\\u0002\\u0001\\u0001l\\u0007\\u0001\\u0001Ž\\u0007\\\\v\\u0001U\\u0001\\u0001\\u0001?\\u0001\\u0015\\u0001\\u0018\\u0001\\u0015\\u0001\\u0018\\u00014\\u0004\\\\v\\u0001i\\u0001š\\u0001›\\u0002\\u0001\\u0001œ\\u0001\\\\v\\u0001\\\\f\\u0001\\u0002j\\u0002\\u0001\\u0007\\\\v\\u0001\\u0018\\u0001‰\\u0002\\\\v\\u0001S\\u0003\\\\v\\u0001%\\u0001ž\\u000f\\u0001\\u0001\\\\v\\u0001U\\u0003\\\\v\\u00018\\u0001\\u0015\\u0001l\\u0002\\\\v\\u0001S\\u0001\\\\v\\u0001\\u0018\\u0002\\\\v\\u0001 \\u0001\\\\v\\u0001j\\u0002\\\\v\\u0001Ÿ\\u0001 \\u0002\\u0001\\\\t\\\\v\\u0001j\\u0001?\\u0002\\\\v\\u0001Ÿ\\u0001\\\\v\\u0001l\\u0002\\\\v\\u0001\\u0017\\u0003\\\\v\\u0001S\\\\t\\u0001\\u0013\\\\v\\u0001K\\u0001\\\\v\\u0001 \\u0001\\u0017\\\\t\\u0001\\u0001¡\\u0002\\\\v\\u0001¢\\u0001\\\\v\\u0001£\\u0001\\\\v\\u0001¤\\u0001\\\\v\\u0001i\\u0001‰\\u0003\\u0001\\u0001\\\\v\\u0001¥\\u0001\\\\v\\u0001l\\u0001\\\\v\\u0001?\\u0004\\u0001\\u0003\\\\v\\u0001¦\\u0001\\\\v\\u0001Š\\u0002\\\\v\\u00018\\u0001§\\u0001\\\\v\\u0001S\\u0001\\u0017\\u0001\\u0001\\u0001\\\\v\\u0001i\\u0002\\\\v\\u0002\\u0001\\u0001T\\u0001\\\\v\\u0001¨\\u0001\\u0001\\u0003\\\\v\\u0001 \\u0001\\\\v\\u0001£\\u0001\\\\v\\u0001©\\u0001\\\\v\\u0001\\u000e\\u0001b\\u0005\\u0001\\u0004\\\\v\\u0001%\\u0003\\u0001\\u0003\\\\v\\u0001\\u0019\\u0003\\\\v\\u0001ª\\u0016\\u0001\\u0001\\\\v\\u0001i\\u0018\\u0001\\u0001o\\u0002\\\\v\\u0001\\u0017\\u0001\\u0001\\u0001Š\\u0001\\\\v\\u0001\\u0001\\u0001o\\u0002\\\\v\\u0002\\u0001\\u0001\\\\v\\u0001%\\u0001?\\u0001o\\u0001\\\\v\\u0001K\\u00014\\u0001\\u0001\\u0002\\\\v\\u0001«\\u0001o\\u0002\\\\v\\u0001\\u0019\\u0001¬\\u0001­\\u0001\\u0015\\u0001k\\u0001\\\\v\\u0001\\u0012\\u0001l\\u0005\\u0001\\u0001®\\u0001¯\\u0001%\\u0002\\\\v\\u0001i\\u0001\\u0001\\u0001?\\u0001:\\u0001+\\u0001,\\u00017\\u0001\\u0001\\u0001°\\u0001\\u000e\\\\t\\u0001\\u0003\\\\v\\u0001k\\u0001±\\u0001?\\u0002\\u0001\\u0003\\\\v\\u0001\\u0001\\u0001²\\u0001?\\\\n\\u0001\\u0002\\\\v\\u0001i\\u0002\\u0001\\u0001³\\u0002\\u0001\\u0003\\\\v\\u0001\\u0001\\u0001´\\u0001?\\u0002\\u0001\\u0002\\\\v\\u0001\\u0018\\u0001\\u0001\\u0001?\\u0003\\u0001\\u0001\\\\v\\u0001?\\u0001\\u0001\\u0001l\\u0016\\u0001\\u0005\\\\v\\u0001µ\\u001c\\u0001\\u0003\\\\v\\u0001%\\u0010\\u0001\\u0001,\\u0001\\\\v\\u0001i\\u0001\\u0001\\u00018\\u0001\\\\v\\u0001U\\u0001Š\\u0001\\\\v7\\u00019\\\\v\\u0001?\\u0006\\u0001\\u0006\\\\v\\u0001i\\u0001\\u0001\\\\f\\\\v\\u0001S+\\u0001\\u0002\\\\v\\u0001i=\\u0001$\\\\v\\u0001K\\u001b\\u0001#\\\\v\\u0001%\\u0001\\\\v\\u0001i\\u0001?\\u0006\\u0001\\u0001\\\\v\\u0001j\\u0001\\u0001\\u0003\\\\v\\u0001\\u0001\\u0001S\\u0001¶\\u0001\\u0012\\u0001·\\u0001\\\\v7\\u0001\\u0004\\\\v\\u0001k\\u00018\\u0003\\u0001\\u0001o\\u0004\\u0001\\u00018\\u0001\\u0001>\\\\v\\u0001U\\u0001\\u0001/\\\\v\\u0001\\u0019\\u0010\\u0001\\u0001\\u000e?\\u0001\\u0006\\\\v\\u0001\\u0018\\u0001U\\u0001%\\u0001?l\\u0001\\u0001\\\\v\\u0001\\u000e\\\\b\\u0001\\u0005\\\\v\\u0001Ž\\u0003\\\\v\\u0001e\\u0001¸\\u0001¹\\u0001º\\u0003\\\\v\\u0001»\\u0001¼\\u0001\\\\v\\u0001½\\u0001¾\\u0001\\u001e\\u0014\\\\v\\u0001£\\u0001\\\\v\\u0001\\u001e\\u0001]\\u0001\\\\v\\u0001]\\u0001\\\\v\\u0001Ž\\u0001\\\\v\\u0001Ž\\u0001i\\u0001\\\\v\\u0001i\\u0001\\\\v\\u0001,\\u0001\\\\v\\u0001,\\u0001\\\\v\\u0001¿\\u000f\\\\v\\u0001g\\u0003\\u0001\\u0004\\\\v\\u0001S\\u0001?J\\u0001\\u0001º\\u0001\\\\v\\u0001À\\u0001Á\\u0001Â\\u0001Ã\\u0001Ä\\u0001Å\\u0001¶\\u0001l\\u0001Æ\\u0001l$\\u0001\\u0001U/\\u0001-\\\\v\\u0001K\\u0002\\u0001C\\\\v\\u0001k\\\\r\\\\v\\u0001jh\\\\v\\u0001\\u000e\\u0015\\u0001!\\\\v\\u0001j\\u001e\\u0001\\\"),this.x5c_1=Ri(0,'\\\\t\\\\0\\u0001\\u0002\\u0001\\u0005\\u0001\\u0003\\u0001\\u0004\\u0001\\u0006\\u0012\\\\0\\u0001\\u0002\\u0001\\\\v\\u0001\\u0007\\u0004!\\u0001\\\\t\\u0002#\\u0001\\\"\\u0001!\\u0001 \\u0001\\\\f\\u0001\\u001f\\u0001\\u001b\\\\n\\u001d\\u0001\\u0017\\u0001\\\\0\\u0001\\\\n\\u0001\\u001a\\u0001\\\\r\\u0001\\u000e\\u0001\\u001e\\u0001\\u0013\\u0001\\u000f\\u0001\\u0011\\u0001\\u0012\\u000f\\u000f\\u0001\\u0014\\u0006\\u000f\\u0001\\u0010\\u0001\\\\b\\u0001\\u0015\\u0001\\u001c\\u0001\\u0018\\u0001\\u0019\\u001a\\u0016\\u0001!\\u0001\\u001c\\u0002!\\u0006\\\\0\\u0001\\u0003\\u0014\\\\0\\u0001\\u0001\\u0007\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\u0001\\u0001\\\\0\\u0003\\u0001\\u0001\\\\0\\u0017\\u0001\\u0001\\\\0\\\\n\\u0001\\u0004\\\\0\\\\f\\u0001\\u000e\\\\0\\u0005\\u0001\\u0007\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0005\\u0001\\u0001\\\\0\\u0002\\u0001\\u0002\\\\0\\u0004\\u0001\\u0001\\\\0\\u0001\\u0001\\u0006\\\\0\\u0001\\u0001\\u0001\\\\0\\u0003\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u0013\\u0001\\u0001\\\\0\\\\v\\u0001\\\\b\\\\0\\u0006\\u0001\\u0001\\\\0\\u0016\\u0001\\u0002\\\\0\\u0001\\u0001\\u0006\\\\0\\\\b\\u0001\\\\b\\\\0\\\\v\\u0001\\u0005\\\\0\\u0003\\u0001\\\\r\\\\0\\\\n\\u0001\\u0004\\\\0\\u0006\\u0001\\u0001\\\\0\\u0001\\u0001\\u000f\\\\0\\u0002\\u0001\\u0007\\\\0\\u000f\\u0001\\u0002\\\\0\\u0002\\u0001\\u0001\\\\0\\u000e\\u0001\\\\r\\\\0\\\\t\\u0001\\\\v\\\\0\\u0001\\u0001\\u0012\\\\0\\u0002\\u0001\\u0004\\\\0\\u0001\\u0001\\u0005\\\\0\\u0006\\u0001\\u0004\\\\0\\u0001\\u0001\\\\t\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\u0001\\u0007\\\\0\\\\t\\u0001\\u0007\\\\0\\u0005\\u0001\\u0001\\\\0\\\\b\\u0001\\u0006\\\\0\\u0016\\u0001\\u0003\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001\\u0007\\\\0\\\\t\\u0001\\u0004\\\\0\\\\b\\u0001\\u0002\\\\0\\u0002\\u0001\\u0002\\\\0\\u0016\\u0001\\u0001\\\\0\\u0007\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0004\\u0001\\u0003\\\\0\\u0001\\u0001\\u0010\\\\0\\u0001\\u0001\\\\r\\\\0\\u0002\\u0001\\u0001\\\\0\\u0003\\u0001\\u0002\\\\0\\u0006\\u0001\\\\v\\\\0\\u0006\\u0001\\u0004\\\\0\\u0002\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0002\\u0001\\u000f\\\\0\\u0004\\u0001\\u0001\\\\0\\u0001\\u0001\\u0007\\\\0\\\\n\\u0001\\u0002\\\\0\\u0003\\u0001\\u0010\\\\0\\\\t\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0005\\u0001\\u0003\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001\\u0018\\\\0\\u0001\\u0001\\\\v\\\\0\\\\b\\u0001\\u0002\\\\0\\u0001\\u0001\\u0001\\\\0\\u0007\\u0001\\\\v\\\\0\\u0001\\u0001\\u0001\\\\0\\u0006\\u0001\\u0003\\\\0\\u0003\\u0001\\u0001\\\\0\\u0004\\u0001\\u0003\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0002\\u0001\\u0003\\\\0\\u0002\\u0001\\u0003\\\\0\\u0003\\u0001\\u0003\\\\0\\\\f\\u0001\\\\v\\\\0\\\\b\\u0001\\u0001\\\\0\\u0002\\u0001\\\\b\\\\0\\u0003\\u0001\\\\r\\\\0\\u0007\\u0001\\u0001\\\\0\\u0001\\u0001\\u0004\\\\0\\\\b\\u0001\\u0001\\\\0\\u0006\\u0001\\u0001\\\\0\\u0005\\u0001\\u0003\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\u0001\\\\r\\\\0\\\\v\\u0001\\u0002\\\\0\\u0001\\u0001\\u0006\\\\0\\u0003\\u0001\\u0001\\\\0\\\\b\\u0001\\u0005\\\\0\\u0012\\u0001\\u0003\\\\0\\\\b\\u0001\\u0001\\\\0\\\\t\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0007\\u0001\\\\t\\\\0\\u0001\\u0001\\u0001\\\\0\\u0002\\u0001\\\\r\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001\\u0006\\\\0\\u0004\\u0001\\u0001\\\\0\\u0007\\u0001\\u0001\\\\0\\u0003\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0002\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u0002\\u0001\\\\t\\\\0\\u0001\\u0001\\u0002\\\\0\\u0005\\u0001\\u0001\\\\0\\u0001\\u0001\\\\t\\\\0\\\\n\\u0001\\u0002\\\\0\\\\b\\u0001\\\\f\\\\0\\\\b\\u0001\\u0001\\\\0\\u0014\\u0001\\\\v\\\\0\\u0005\\u0001\\u0012\\\\0\\u0007\\u0001\\u0004\\\\0\\u0004\\u0001\\u0003\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\u0001\\u0007\\\\0\\u0003\\u0001\\u0004\\\\0\\\\r\\u0001\\\\f\\\\0\\u0001\\u0001\\u0001\\\\0\\u0006\\u0001\\u0001\\\\0\\u0001\\u0001\\u0005\\\\0\\u0001\\u0001\\u0002\\\\0\\\\v\\u0001\\u0001\\\\0\\\\r\\u0001\\u0001\\\\0\\u0004\\u0001\\u0002\\\\0\\u0007\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0004\\u0001\\u0002\\\\0\\u0001\\u0001\\u0001\\\\0\\u0004\\u0001\\u0002\\\\0\\u0007\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0004\\u0001\\u0002\\\\0\\\\b\\u0001\\\\t\\\\0\\\\r\\u0001\\u0002\\\\0\\u0006\\u0001\\u0002\\\\0\\\\v\\u0001\\u0003\\\\0\\u000f\\u0001\\u0001\\\\0\\u0002\\u0001\\u0007\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\u0003\\\\0\\u0005\\u0001\\u0002\\\\0\\u0012\\u0001\\u0001\\\\0\\u0001\\u0001\\u0005\\\\0\\u000f\\u0001\\u0001\\\\0\\u000e\\u0001\\u0002\\\\0\\u0005\\u0001\\\\v\\\\0\\\\f\\u0001\\\\v\\\\0\\u0001\\u0001\\\\r\\\\0\\u0007\\u0001\\u0007\\\\0\\u000e\\u0001\\\\r\\\\0\\\\f\\u0001\\u0003\\\\0\\u0003\\u0001\\\\t\\\\0\\u0004\\u0001\\u0001\\\\0\\u0004\\u0001\\u0003\\\\0\\u0002\\u0001\\\\t\\\\0\\\\b\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0006\\u0001\\u0001\\\\0\\u0007\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0003\\u0001\\u0001\\\\0\\u0007\\u0001\\u0003\\\\0\\u0004\\u0001\\u0002\\\\0\\u0006\\u0001\\\\f\\\\0\\u0002\\u0003\\u0006\\\\0\\u0002\\u0001\\u0002\\\\0\\u0006\\u0001\\u0005\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\u0002\\\\0\\\\n\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0005\\u0001\\u0006\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u0001\\u0001\\u0005\\\\0\\u0005\\u0001\\u0004\\\\0\\u0001\\u0001\\\\v\\\\0\\\\v\\u0001\\u0006\\\\0\\u0004\\u0001\\u0003\\\\0\\u0002\\u0001\\\\t\\\\0\\u0001\\u0001\\u0002\\\\0\\\\b\\u0001\\u0007\\\\0\\\\b\\u0001\\u0001\\\\0\\u0007\\u0001\\u0006\\\\0\\u0003\\u0001\\\\t\\\\0\\\\t\\u0001\\u0007\\\\0\\u0005\\u0001\\u0002\\\\0\\u0005\\u0001\\u0003\\\\0\\u0007\\u0001\\u0006\\\\0\\u0003\\u0001\\u0002\\\\0\\u0004\\u0001\\u0012\\\\0\\\\b\\u0001\\u0007\\\\0\\\\t\\u0001\\u0002\\\\0\\u0017\\u0001\\u0002\\\\0\\u0007\\u0001\\u0001\\\\0\\u0003\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u0004\\u0001\\u0002\\\\0\\u0006\\u0001\\u0003\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0005\\u0001\\u0001\\\\0\\\\r\\u0001\\u0001\\\\0\\\\b\\u0001\\u0004\\\\0\\u0007\\u0001\\u0003\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\u0001\\u0002\\\\0\\u0005\\u0001\\u0002\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0018\\\\0\\u0003\\u0001\\u0003\\\\0\\u0006\\u0001\\u0002\\\\0\\u0006\\u0001\\u0002\\\\0\\u0006\\u0001\\\\t\\\\0\\u0007\\u0001\\u0004\\\\0\\u0005\\u0001\\u0003\\\\0\\u0005\\u0001\\u0005\\\\0\\u0001\\u0001\\u0001\\\\0\\\\b\\u0001\\u0001\\\\0\\u0005\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\\\n\\u0001\\u0002\\\\0\\u0006\\u0001\\u0002\\\\0\\u0006\\u0001\\u0002\\\\0\\u0006\\u0001\\u0002\\\\0\\u0003\\u0001\\u0003\\\\0\\\\f\\u0001\\u0001\\\\0\\u000e\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\\\n\\\\0\\u0002\\u0001\\u0004\\\\0\\u0004\\u0001\\u0004\\\\0\\\\b\\u0001\\u0001\\\\0\\u0005\\u0001\\\\n\\\\0\\u0006\\u0001\\u0002\\\\0\\u0001\\u0001\\u0001\\\\0\\\\f\\u0001\\u0001\\\\0\\u0002\\u0001\\u0003\\\\0\\u0001\\u0001\\u0002\\\\0\\u0007\\u0001\\u0002\\\\0\\u000f\\u0001\\u0002\\\\0\\\\n\\u0001\\u0001\\\\0\\u0002\\u0001\\u0005\\\\0\\\\r\\u0001\\u0004\\\\0\\\\b\\u0001\\u0001\\\\0\\u0003\\u0001\\u0001\\\\0\\\\f\\u0001\\u0006\\\\0\\\\b\\u0001\\u0005\\\\0\\\\v\\u0001\\u0007\\\\0\\\\t\\u0001\\u0003\\\\0\\u0001\\u0001\\\\n\\\\0\\u0004\\u0001\\\\v\\\\0\\\\v\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0007\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u000f\\u0001\\u0001\\\\0\\u0002\\u0001\\\\f\\\\0\\u0003\\u0001\\u0007\\\\0\\u0004\\u0001\\\\t\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0010\\\\0\\u0004\\u0001\\\\b\\\\0\\u0001\\u0001\\\\v\\\\0\\u0003\\u0001\\\\f\\\\0\\\\v\\u0001\\u0001\\\\0\\\\r\\u0001\\u0005\\\\0\\u0003\\u0001\\u0002\\\\0\\u0001\\u0001\\u0002\\\\0\\u0002\\u0001\\u0002\\\\0\\u0004\\u0001\\u0001\\\\0\\\\f\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0007\\u0001\\u0001\\\\0\\u0011\\u0001\\u0001\\\\0\\u0004\\u0001\\u0002\\\\0\\\\b\\u0001\\u0001\\\\0\\u0007\\u0001\\u0001\\\\0\\\\f\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u0005\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\\\t\\u0001\\u0001\\\\0\\\\b\\u0001\\u0002\\\\0\\u0002\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001\\u0001\\\\0\\\\n\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0006\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0003\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0001\\u0001\\u0001\\\\0\\u0002\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0004\\u0001\\u0001\\\\0\\u0007\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u0004\\u0001\\u0001\\\\0\\u0001\\u0001\\u0002\\\\0\\u0003\\u0001\\u0001\\\\0\\u0005\\u0001\\u0001\\\\0\\u0005\\u0001'),this.y5c_1=\\\"\\u0004\\\\0\\u0003\\u0001\\u0001\\u0002\\u0002\\u0003\\u0001\\u0004\\u0001\\u0005\\u0001\\u0006\\u0001\\u0003\\u0001\\u0006\\u0001\\u0007\\u0001\\\\b\\u0001\\\\t\\u0001\\\\n\\u0002\\\\v\\u0001\\u0001\\u0002\\\\v\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\\\f\\u0001\\\\r\\u0001\\u000e\\u0007\\\\0\\u0001\\u0001\\u0001\\\\r\\\\t\\\\0\\u0001\\u000f\\u0005\\\\0\\u0001\\u0001\\\\f\\\\0\\u0001\\u0010\\u0004\\\\0\\u0001\\u000f\\u0004\\\\0\\u0001\\u0010\\u0003\\\\0\\u0001\\u0011\\u000e\\\\0\\u0001\\u0010\\u001a\\\\0\\u0001\\u000f\\u0002\\\\0\\u0001\\u000f;\\\\0\\u0001\\u000fŭ\\\\0\\\",this.z5c_1=(e=new Int32Array(555),function(t,e,n,r){for(var i=0,o=n,a=e.length;i<a;){var s=i;i=s+1|0;var l=Ft(ct(e,s)),u=i;i=u+1|0;var c=Ft(ct(e,u));do{var h=o;o=h+1|0,r[h]=c,l=l-1|0}while(l>0)}return o}(0,\\\"\\u0004\\\\0\\u0003\\u0001\\u0001\\u0002\\u0002\\u0003\\u0001\\u0004\\u0001\\u0005\\u0001\\u0006\\u0001\\u0003\\u0001\\u0006\\u0001\\u0007\\u0001\\\\b\\u0001\\\\t\\u0001\\\\n\\u0002\\\\v\\u0001\\u0001\\u0002\\\\v\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0002\\\\f\\u0001\\\\r\\u0001\\u000e\\u0007\\\\0\\u0001\\u0001\\u0001\\\\r\\\\t\\\\0\\u0001\\u000f\\u0005\\\\0\\u0001\\u0001\\\\f\\\\0\\u0001\\u0010\\u0004\\\\0\\u0001\\u000f\\u0004\\\\0\\u0001\\u0010\\u0003\\\\0\\u0001\\u0011\\u000e\\\\0\\u0001\\u0010\\u001a\\\\0\\u0001\\u000f\\u0002\\\\0\\u0001\\u000f;\\\\0\\u0001\\u000fŭ\\\\0\\\",0,e),e),this.a5d_1=\\\"\\\\0\\\\0\\\\0$\\\\0H\\\\0l\\\\0\\\\0´\\\\0Ø\\\\0\\\\0\\\\0ü\\\\0Ġ\\\\0ń\\\\0\\\\0Ũ\\\\0ƌ\\\\0\\\\0\\\\0\\\\0ư\\\\0\\\\0ǔ\\\\0ǔ\\\\0Ǹ\\\\0ƌ\\\\0Ȝ\\\\0Ȝ\\\\0ɀ\\\\0ɤ\\\\0ʈ\\\\0\\\\0ʬ\\\\0\\\\0ː\\\\0˴\\\\0̘\\\\0̼\\\\0͠\\\\0΄\\\\0ǔ\\\\0Ψ\\\\0Ψ\\\\0ʈ\\\\0ό\\\\0ϰ\\\\0Д\\\\0и\\\\0ќ\\\\0Ҁ\\\\0Ҥ\\\\0ӈ\\\\0Ӭ\\\\0\\\\0Ԑ\\\\0Դ\\\\0՘\\\\0ռ\\\\0֠\\\\0֠\\\\0ׄ\\\\0ר\\\\0،\\\\0ذ\\\\0ٔ\\\\0ٸ\\\\0ڜ\\\\0ۀ\\\\0ۤ\\\\0܈\\\\0ܬ\\\\0ݐ\\\\0\\\\0ݴ\\\\0ޘ\\\\0޼\\\\0ߠ\\\\0ޘ\\\\0ࠄ\\\\0ࠨ\\\\0ࡌ\\\\0ࡰ\\\\0ќ\\\\0࢔\\\\0ࢸ\\\\0ࣜ\\\\0\\\\0ऀ\\\\0त\\\\0ै\\\\0६\\\\0ঐ\\\\0঴\\\\0৘\\\\0ৼ\\\\0ਠ\\\\0੄\\\\0੨\\\\0ઌ\\\\0ર\\\\0૔\\\\0ޘ\\\\0૸\\\\0ଜ\\\\0ୀ\\\\0୤\\\\0ஈ\\\\0஬\\\\0ௐ\\\\0௴\\\\0ఘ\\\\0఼\\\\0ౠ\\\\0಄\\\\0ನ\\\\0ೌ\\\\0೰\\\\0ഔ\\\\0സ\\\\0൜\\\\0඀\\\\0ඤ\\\\0෈\\\\0෬\\\\0ฐ\\\\0ิ\\\\0๘\\\\0๼\\\\0੄\\\\0ຠ\\\\0ໄ\\\\0੨\\\\0໨\\\\0༌\\\\0༰\\\\0པ\\\\0ླྀ\\\\0ྜ\\\\0࿀\\\\0࿤\\\\0ဈ\\\\0ာ\\\\0ၐ\\\\0ၴ\\\\0႘\\\\0Ⴜ\\\\0რ\\\\0ᄄ\\\\0ᄨ\\\\0ᅌ\\\\0ᅰ\\\\0ᆔ\\\\0ᆸ\\\\0ᇜ\\\\0\\\\0ሤ\\\\0ቈ\\\\0ቬ\\\\0ነ\\\\0ኴ\\\\0ዘ\\\\0ዼ\\\\0ጠ\\\\0ፄ\\\\0፨\\\\0ᎌ\\\\0Ꮀ\\\\0\\\\0ᏸ\\\\0ᐜ\\\\0ᑀ\\\\0ᑤ\\\\0ᒈ\\\\0ᒬ\\\\0ᓐ\\\\0ᓴ\\\\0ᔘ\\\\0ᔼ\\\\0ᕠ\\\\0ᖄ\\\\0ᖨ\\\\0ᗌ\\\\0\\\\0ᘔ\\\\0ᘸ\\\\0ᙜ\\\\0\\\\0ᚤ\\\\0ᛈ\\\\0\\\\0ᜐ\\\\0፨\\\\0᜴\\\\0᝘\\\\0᝼\\\\0ហ\\\\0ោ\\\\0៨\\\\0\\\\0ᠰ\\\\0ᡔ\\\\0ᡸ\\\\0ᢜ\\\\0ᣀ\\\\0ᣤ\\\\0ᤈ\\\\0᤬\\\\0ᥐ\\\\0ᥴ\\\\0ᦘ\\\\0ᦼ\\\\0᧠\\\\0ᨄ\\\\0ᨨ\\\\0ᩌ\\\\0ᩰ\\\\0᪔\\\\0᪸\\\\0᫜\\\\0ᬀ\\\\0ᬤ\\\\0ᭈ\\\\0᭬\\\\0ᮐ\\\\0᮴\\\\0ᯘ\\\\0᯼\\\\0ᰠ\\\\0᱄\\\\0ᱨ\\\\0᲌\\\\0Ჰ\\\\0᳔\\\\0᳸\\\\0\\\\0ᵀ\\\\0ᵤ\\\\0ᶈ\\\\0ᶬ\\\\0᷐\\\\0ᷴ\\\\0Ḙ\\\\0Ḽ\\\\0Ṡ\\\\0Ẅ\\\\0Ẩ\\\\0Ọ\\\\0Ự\\\\0ἔ\\\\0Ἰ\\\\0὜\\\\0ᾀ\\\\0ᾤ\\\\0Ὲ\\\\0Ῥ\\\\0\\\\0‴\\\\0⁘\\\\0⁼\\\\0₠\\\\0⃄\\\\0⃨\\\\0\\\\0\\\\0⅔\\\\0ⅸ\\\\0↜\\\\0⇀\\\\0⇤\\\\0∈\\\\0∬\\\\0≐\\\\0≴\\\\0⊘\\\\0⊼\\\\0⋠\\\\0⌄\\\\0⌨\\\\0⍌\\\\0⍰\\\\0⎔\\\\0⎸\\\\0⏜\\\\0␀\\\\0␤\\\\0⑈\\\\0⑬\\\\0⒐\\\\0⒴\\\\0ⓘ\\\\0⓼\\\\0┠\\\\0╄\\\\0╨\\\\0▌\\\\0▰\\\\0◔\\\\0◸\\\\0☜\\\\0♀\\\\0♤\\\\0⚈\\\\0⚬\\\\0⛐\\\\0⛴\\\\0✘\\\\0✼\\\\0❠\\\\0➄\\\\0➨\\\\0⟌\\\\0⟰\\\\0⠔\\\\0⠸\\\\0⡜\\\\0⢀\\\\0⢤\\\\0⣈\\\\0⣬\\\\0⤐\\\\0⤴\\\\0⥘\\\\0⥼\\\\0⦠\\\\0⧄\\\\0⧨\\\\0⨌\\\\0⨰\\\\0⩔\\\\0⩸\\\\0⪜\\\\0⫀\\\\0⫤\\\\0⬈\\\\0⬬\\\\0⭐\\\\0⭴\\\\0⮘\\\\0⮼\\\\0⯠\\\\0Ⰴ\\\\0Ⱘ\\\\0ⱌ\\\\0Ɒ\\\\0\\\\0Ⲹ\\\\0Ⳝ\\\\0ⴀ\\\\0ⴤ\\\\0ⵈ\\\\0⵬\\\\0ⶐ\\\\0ⶴ\\\\0ⷘ\\\\0ⷼ\\\\0⸠\\\\0⹄\\\\0⹨\\\\0⺌\\\\0⺰\\\\0⻔\\\\0⻸\\\\0⼜\\\\0⽀\\\\0⽤\\\\0⾈\\\\0⾬\\\\0⿐\\\\0⿴\\\\0〘\\\\0〼\\\\0だ\\\\0や\\\\0エ\\\\0ヌ\\\\0ヰ\\\\0ㄔ\\\\0ㄸ\\\\0ㅜ\\\\0ㆀ\\\\0ㆤ\\\\0㇈\\\\0㇬\\\\0㈐\\\\0㈴\\\\0㉘\\\\0㉼\\\\0㊠\\\\0㋄\\\\0㋨\\\\0㌌\\\\0㌰\\\\0㍔\\\\0㍸\\\\0㎜\\\\0㏀\\\\0㏤\\\\0㐈\\\\0㐬\\\\0㑐\\\\0㑴\\\\0㒘\\\\0㒼\\\\0㓠\\\\0㔄\\\\0㔨\\\\0㕌\\\\0㕰\\\\0㖔\\\\0㖸\\\\0㗜\\\\0㘀\\\\0㘤\\\\0㙈\\\\0㙬\\\\0㚐\\\\0㚴\\\\0㛘\\\\0㛼\\\\0㜠\\\\0㝄\\\\0㝨\\\\0㞌\\\\0㞰\\\\0㟔\\\\0㟸\\\\0㠜\\\\0㡀\\\\0㡤\\\\0㢈\\\\0㢬\\\\0㣐\\\\0㣴\\\\0㤘\\\\0㤼\\\\0㥠\\\\0㦄\\\\0㦨\\\\0㧌\\\\0㧰\\\\0㨔\\\\0㨸\\\\0㩜\\\\0㪀\\\\0㪤\\\\0㫈\\\\0㫬\\\\0㬐\\\\0㬴\\\\0㭘\\\\0㭼\\\\0㮠\\\\0㯄\\\\0㯨\\\\0㰌\\\\0㰰\\\\0㱔\\\\0㱸\\\\0㲜\\\\0㳀\\\\0㳤\\\\0㴈\\\\0㴬\\\\0㵐\\\\0㵴\\\\0㶘\\\\0㶼\\\\0㷠\\\\0㸄\\\\0㸨\\\\0㹌\\\\0㹰\\\\0㺔\\\\0㺸\\\\0㻜\\\\0㼀\\\\0㼤\\\\0㽈\\\\0㽬\\\\0㾐\\\\0㾴\\\\0㿘\\\\0㿼\\\\0䀠\\\\0䁄\\\\0䁨\\\\0䂌\\\\0䂰\\\\0䃔\\\\0䃸\\\\0䄜\\\\0䅀\\\\0䅤\\\\0䆈\\\\0䆬\\\\0䇐\\\\0䇴\\\\0䈘\\\\0䈼\\\\0䉠\\\\0䊄\\\\0䊨\\\\0䋌\\\\0䋰\\\\0䌔\\\\0䌸\\\\0䍜\\\\0䎀\\\\0䎤\\\\0䏈\\\\0䏬\\\\0䐐\\\\0䐴\\\\0䑘\\\\0䑼\\\\0䒠\\\\0䓄\\\\0䓨\\\\0䔌\\\\0䔰\\\\0䕔\\\\0䕸\\\\0䖜\\\\0䗀\\\\0䗤\\\\0䘈\\\\0䘬\\\\0䙐\\\\0䙴\\\\0䚘\\\\0䚼\\\\0䛠\\\\0䜄\\\\0䜨\\\\0䝌\\\\0䝰\\\\0䞔\\\\0䞸\\\\0䟜\\\\0䠀\\\\0䠤\\\\0䡈\\\\0䡬\\\\0䢐\\\\0䢴\\\\0䣘\\\\0䣼\\\\0䤠\\\\0䥄\\\\0䥨\\\\0䦌\\\\0䦰\\\\0䧔\\\\0䧸\\\\0䨜\\\\0䩀\\\\0䩤\\\",this.b5d_1=function(t){var e=new Int32Array(555),n=0;return n=function(t,e,n,r){for(var i=0,o=n,a=e.length;i<a;){var s=i;i=s+1|0;var l=Ft(ct(e,s))<<16,u=o;o=u+1|0;var c=i;i=c+1|0,r[u]=l|Ft(ct(e,c))}return o}(0,\\\"\\\\0\\\\0\\\\0$\\\\0H\\\\0l\\\\0\\\\0´\\\\0Ø\\\\0\\\\0\\\\0ü\\\\0Ġ\\\\0ń\\\\0\\\\0Ũ\\\\0ƌ\\\\0\\\\0\\\\0\\\\0ư\\\\0\\\\0ǔ\\\\0ǔ\\\\0Ǹ\\\\0ƌ\\\\0Ȝ\\\\0Ȝ\\\\0ɀ\\\\0ɤ\\\\0ʈ\\\\0\\\\0ʬ\\\\0\\\\0ː\\\\0˴\\\\0̘\\\\0̼\\\\0͠\\\\0΄\\\\0ǔ\\\\0Ψ\\\\0Ψ\\\\0ʈ\\\\0ό\\\\0ϰ\\\\0Д\\\\0и\\\\0ќ\\\\0Ҁ\\\\0Ҥ\\\\0ӈ\\\\0Ӭ\\\\0\\\\0Ԑ\\\\0Դ\\\\0՘\\\\0ռ\\\\0֠\\\\0֠\\\\0ׄ\\\\0ר\\\\0،\\\\0ذ\\\\0ٔ\\\\0ٸ\\\\0ڜ\\\\0ۀ\\\\0ۤ\\\\0܈\\\\0ܬ\\\\0ݐ\\\\0\\\\0ݴ\\\\0ޘ\\\\0޼\\\\0ߠ\\\\0ޘ\\\\0ࠄ\\\\0ࠨ\\\\0ࡌ\\\\0ࡰ\\\\0ќ\\\\0࢔\\\\0ࢸ\\\\0ࣜ\\\\0\\\\0ऀ\\\\0त\\\\0ै\\\\0६\\\\0ঐ\\\\0঴\\\\0৘\\\\0ৼ\\\\0ਠ\\\\0੄\\\\0੨\\\\0ઌ\\\\0ર\\\\0૔\\\\0ޘ\\\\0૸\\\\0ଜ\\\\0ୀ\\\\0୤\\\\0ஈ\\\\0஬\\\\0ௐ\\\\0௴\\\\0ఘ\\\\0఼\\\\0ౠ\\\\0಄\\\\0ನ\\\\0ೌ\\\\0೰\\\\0ഔ\\\\0സ\\\\0൜\\\\0඀\\\\0ඤ\\\\0෈\\\\0෬\\\\0ฐ\\\\0ิ\\\\0๘\\\\0๼\\\\0੄\\\\0ຠ\\\\0ໄ\\\\0੨\\\\0໨\\\\0༌\\\\0༰\\\\0པ\\\\0ླྀ\\\\0ྜ\\\\0࿀\\\\0࿤\\\\0ဈ\\\\0ာ\\\\0ၐ\\\\0ၴ\\\\0႘\\\\0Ⴜ\\\\0რ\\\\0ᄄ\\\\0ᄨ\\\\0ᅌ\\\\0ᅰ\\\\0ᆔ\\\\0ᆸ\\\\0ᇜ\\\\0\\\\0ሤ\\\\0ቈ\\\\0ቬ\\\\0ነ\\\\0ኴ\\\\0ዘ\\\\0ዼ\\\\0ጠ\\\\0ፄ\\\\0፨\\\\0ᎌ\\\\0Ꮀ\\\\0\\\\0ᏸ\\\\0ᐜ\\\\0ᑀ\\\\0ᑤ\\\\0ᒈ\\\\0ᒬ\\\\0ᓐ\\\\0ᓴ\\\\0ᔘ\\\\0ᔼ\\\\0ᕠ\\\\0ᖄ\\\\0ᖨ\\\\0ᗌ\\\\0\\\\0ᘔ\\\\0ᘸ\\\\0ᙜ\\\\0\\\\0ᚤ\\\\0ᛈ\\\\0\\\\0ᜐ\\\\0፨\\\\0᜴\\\\0᝘\\\\0᝼\\\\0ហ\\\\0ោ\\\\0៨\\\\0\\\\0ᠰ\\\\0ᡔ\\\\0ᡸ\\\\0ᢜ\\\\0ᣀ\\\\0ᣤ\\\\0ᤈ\\\\0᤬\\\\0ᥐ\\\\0ᥴ\\\\0ᦘ\\\\0ᦼ\\\\0᧠\\\\0ᨄ\\\\0ᨨ\\\\0ᩌ\\\\0ᩰ\\\\0᪔\\\\0᪸\\\\0᫜\\\\0ᬀ\\\\0ᬤ\\\\0ᭈ\\\\0᭬\\\\0ᮐ\\\\0᮴\\\\0ᯘ\\\\0᯼\\\\0ᰠ\\\\0᱄\\\\0ᱨ\\\\0᲌\\\\0Ჰ\\\\0᳔\\\\0᳸\\\\0\\\\0ᵀ\\\\0ᵤ\\\\0ᶈ\\\\0ᶬ\\\\0᷐\\\\0ᷴ\\\\0Ḙ\\\\0Ḽ\\\\0Ṡ\\\\0Ẅ\\\\0Ẩ\\\\0Ọ\\\\0Ự\\\\0ἔ\\\\0Ἰ\\\\0὜\\\\0ᾀ\\\\0ᾤ\\\\0Ὲ\\\\0Ῥ\\\\0\\\\0‴\\\\0⁘\\\\0⁼\\\\0₠\\\\0⃄\\\\0⃨\\\\0\\\\0\\\\0⅔\\\\0ⅸ\\\\0↜\\\\0⇀\\\\0⇤\\\\0∈\\\\0∬\\\\0≐\\\\0≴\\\\0⊘\\\\0⊼\\\\0⋠\\\\0⌄\\\\0⌨\\\\0⍌\\\\0⍰\\\\0⎔\\\\0⎸\\\\0⏜\\\\0␀\\\\0␤\\\\0⑈\\\\0⑬\\\\0⒐\\\\0⒴\\\\0ⓘ\\\\0⓼\\\\0┠\\\\0╄\\\\0╨\\\\0▌\\\\0▰\\\\0◔\\\\0◸\\\\0☜\\\\0♀\\\\0♤\\\\0⚈\\\\0⚬\\\\0⛐\\\\0⛴\\\\0✘\\\\0✼\\\\0❠\\\\0➄\\\\0➨\\\\0⟌\\\\0⟰\\\\0⠔\\\\0⠸\\\\0⡜\\\\0⢀\\\\0⢤\\\\0⣈\\\\0⣬\\\\0⤐\\\\0⤴\\\\0⥘\\\\0⥼\\\\0⦠\\\\0⧄\\\\0⧨\\\\0⨌\\\\0⨰\\\\0⩔\\\\0⩸\\\\0⪜\\\\0⫀\\\\0⫤\\\\0⬈\\\\0⬬\\\\0⭐\\\\0⭴\\\\0⮘\\\\0⮼\\\\0⯠\\\\0Ⰴ\\\\0Ⱘ\\\\0ⱌ\\\\0Ɒ\\\\0\\\\0Ⲹ\\\\0Ⳝ\\\\0ⴀ\\\\0ⴤ\\\\0ⵈ\\\\0⵬\\\\0ⶐ\\\\0ⶴ\\\\0ⷘ\\\\0ⷼ\\\\0⸠\\\\0⹄\\\\0⹨\\\\0⺌\\\\0⺰\\\\0⻔\\\\0⻸\\\\0⼜\\\\0⽀\\\\0⽤\\\\0⾈\\\\0⾬\\\\0⿐\\\\0⿴\\\\0〘\\\\0〼\\\\0だ\\\\0や\\\\0エ\\\\0ヌ\\\\0ヰ\\\\0ㄔ\\\\0ㄸ\\\\0ㅜ\\\\0ㆀ\\\\0ㆤ\\\\0㇈\\\\0㇬\\\\0㈐\\\\0㈴\\\\0㉘\\\\0㉼\\\\0㊠\\\\0㋄\\\\0㋨\\\\0㌌\\\\0㌰\\\\0㍔\\\\0㍸\\\\0㎜\\\\0㏀\\\\0㏤\\\\0㐈\\\\0㐬\\\\0㑐\\\\0㑴\\\\0㒘\\\\0㒼\\\\0㓠\\\\0㔄\\\\0㔨\\\\0㕌\\\\0㕰\\\\0㖔\\\\0㖸\\\\0㗜\\\\0㘀\\\\0㘤\\\\0㙈\\\\0㙬\\\\0㚐\\\\0㚴\\\\0㛘\\\\0㛼\\\\0㜠\\\\0㝄\\\\0㝨\\\\0㞌\\\\0㞰\\\\0㟔\\\\0㟸\\\\0㠜\\\\0㡀\\\\0㡤\\\\0㢈\\\\0㢬\\\\0㣐\\\\0㣴\\\\0㤘\\\\0㤼\\\\0㥠\\\\0㦄\\\\0㦨\\\\0㧌\\\\0㧰\\\\0㨔\\\\0㨸\\\\0㩜\\\\0㪀\\\\0㪤\\\\0㫈\\\\0㫬\\\\0㬐\\\\0㬴\\\\0㭘\\\\0㭼\\\\0㮠\\\\0㯄\\\\0㯨\\\\0㰌\\\\0㰰\\\\0㱔\\\\0㱸\\\\0㲜\\\\0㳀\\\\0㳤\\\\0㴈\\\\0㴬\\\\0㵐\\\\0㵴\\\\0㶘\\\\0㶼\\\\0㷠\\\\0㸄\\\\0㸨\\\\0㹌\\\\0㹰\\\\0㺔\\\\0㺸\\\\0㻜\\\\0㼀\\\\0㼤\\\\0㽈\\\\0㽬\\\\0㾐\\\\0㾴\\\\0㿘\\\\0㿼\\\\0䀠\\\\0䁄\\\\0䁨\\\\0䂌\\\\0䂰\\\\0䃔\\\\0䃸\\\\0䄜\\\\0䅀\\\\0䅤\\\\0䆈\\\\0䆬\\\\0䇐\\\\0䇴\\\\0䈘\\\\0䈼\\\\0䉠\\\\0䊄\\\\0䊨\\\\0䋌\\\\0䋰\\\\0䌔\\\\0䌸\\\\0䍜\\\\0䎀\\\\0䎤\\\\0䏈\\\\0䏬\\\\0䐐\\\\0䐴\\\\0䑘\\\\0䑼\\\\0䒠\\\\0䓄\\\\0䓨\\\\0䔌\\\\0䔰\\\\0䕔\\\\0䕸\\\\0䖜\\\\0䗀\\\\0䗤\\\\0䘈\\\\0䘬\\\\0䙐\\\\0䙴\\\\0䚘\\\\0䚼\\\\0䛠\\\\0䜄\\\\0䜨\\\\0䝌\\\\0䝰\\\\0䞔\\\\0䞸\\\\0䟜\\\\0䠀\\\\0䠤\\\\0䡈\\\\0䡬\\\\0䢐\\\\0䢴\\\\0䣘\\\\0䣼\\\\0䤠\\\\0䥄\\\\0䥨\\\\0䦌\\\\0䦰\\\\0䧔\\\\0䧸\\\\0䨜\\\\0䩀\\\\0䩤\\\",n,e),e}(),this.c5d_1='\\u0002\\u0005\\u0001\\u0006\\u0001\\u0005\\u0001\\u0006\\u0001\\u0005\\u0001\\u0007\\u0006\\u0005\\u0001\\\\b\\u0016\\u0005%\\\\t\\u0001\\\\n\\u0001\\\\v\\u0001\\\\f\\u0001\\\\v\\u0002\\\\f\\u0001\\\\r\\u0001\\u000e\\u0001\\\\r\\u0001\\u000f\\u0001\\u0010\\u0001\\\\t\\u0001\\\\r\\u0001\\\\t\\u0001\\\\n\\u0001\\\\r\\u0004\\\\n\\u0001\\\\r\\u0001\\\\n\\u0001\\u0011\\u0001\\u0012\\u0001\\u0013\\u0003\\\\t\\u0001\\\\n\\u0004\\\\t\\u0001\\u0012\\u0001\\\\r\\u0002\\u0014\\u0001\\u0015\\u0001\\u0005\\u0001\\u0016\\u0001\\u0005\\u0001\\u0007\\u0001\\u0014\\u0001\\u0017\\u0001\\u0014\\u0001\\u0018\\\\r\\u0014\\u0001\\u0012\\u0001\\u0013\\\\b\\u0014\\u0001\\u0012\\u0001\\u0014&\\\\0\\u0001\\u0019\\u0001\\u0005\\u0001\\u001a\\u0001\\u0005\\u0001\\u0007\\u0006\\\\0\\u0001\\\\b\\u001b\\\\0\\u0001\\u0005\\u001f\\\\0\\u0001\\\\n\\u0001\\u001b\\u0001\\\\0\\u0001\\u001b\\\\n\\\\0\\u0001\\\\n\\u0001\\\\0\\u0004\\\\n\\u0001\\\\0\\u0001\\\\n\\u0001\\\\0\\u0001\\u001c\\u0004\\\\0\\u0001\\\\n\\\\b\\\\0\\u0001\\\\v\\u0001\\\\f\\u0001\\\\v\\u0002\\\\f\\u0011\\\\0\\u0001\\u001d\\\\t\\\\0\\u0001\\u001d\\u0003\\\\0\\u0005\\\\f \\\\0\\u0003\\u001e\\u0001\\u001f\\u0007 \\u0002\\\\0\\u0001 \\u0004\\\\0\\u0001 \\u0001\\\\0\\u0002 \\u0001!\\u0001\\\\0\\u0001 \\u0002\\\\0\\u0006 \\\\t\\\\0\\u0001\\\"\\u0001\\\\0\\u0001#\\u0001\\\"\\u0001\\\\0\\u0001$\\u0001%\\u0001\\\\0\\u0004%\\u0001\\\\0\\u0001%\\u0001\\\\0\\u0003\\\"\\u0001&\\u0002\\\"\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u001a\\\\0\\u0001\\u0013\\\\f\\\\0\\u0001\\\\'\\u0001\\\\0\\u0001\\\\'\\u0013\\\\0\\u0001\\u001d\\\\t\\\\0\\u0001\\u001d\\\\b\\\\0\\u0007 \\u0002\\\\0\\u0001 \\u0004\\\\0\\u0001 \\u0001\\\\0\\u0002 \\u0001!\\u0001\\\\0\\u0001 \\u0002\\\\0\\u0006 \\u0002\\\\0\\u0001(\\u0001\\u0005\\u0001)\\u0001\\u0005\\u0001\\u0007\\u0006\\\\0\\u0001\\\\b\\u0017\\\\0\\u0001\\\\n\\u0001\\u001b\\u0001\\\\0\\u0001\\u001b\\\\n\\\\0\\u0001\\\\n\\u0001\\\\0\\u0004\\\\n\\u0001\\\\0\\u0001\\\\n\\u0006\\\\0\\u0001\\\\n\\u0007\\\\0\\u0001\\\\n\\\\r\\\\0\\u0001\\\\n\\u0001\\\\0\\u0004\\\\n\\u0001\\\\0\\u0001\\\\n\\u0001\\\\0\\u0001\\u001c\\u0004\\\\0\\u0001\\\\n\\\\b\\\\0\\u0001*\\u0001\\\\0\\u0001*$\\\\0\\u0001\\u001e7\\\\0\\u0001!\\u0013\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0004\\\"\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\\\n\\\\0\\u0001\\\"\\u0001\\\\0\\u0001\\\"\\u0001,\\u0001\\\\0\\u0001\\\"\\u0001-\\u0001.\\u0004-\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\\\t/\\u0001$\\u0001/\\u0002$\\u0001/\\u00010\\u0001$\\u0001/\\u0004$\\u0001/\\u0001$\\u0001/\\u0006$\\u00011\\u0001$\\u0001/\\u0002$\\u0001/\\u0001\\\\0\\u00012\\u00013\\u0001\\\\0\\u00013\\u0004\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u00014\\u0001\\\"\\u0001%\\u0001\\\\0\\u0004%\\u0001\\\\0\\u0001%\\u00015\\u0003\\\"\\u00016\\u0001\\\"\\u00017\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\\\n\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0001\\\"\\u00018\\u0001\\\\0\\u00048\\u0001\\\\0\\u00018\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0003\\\\0\\u00019\\u0001\\u0005\\u0001:\\u0001\\u0005\\u0001\\u0007\\u0006\\\\0\\u0001\\\\b%\\\\0\\u0001;\\u0001\\\\0\\u0004;\\u0001\\\\0\\u0001;\\u0006\\\\0\\u0001;\\u000f\\\\0\\u0001\\\"\\u0001\\\\0\\u0001\\\"\\u0001<\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0004\\\"\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0003\\\\0\\u0001=\\u0001\\\\0\\u0001=\\u0004\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0001\\\"\\u0001-\\u0001\\\\0\\u0004-\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0012\\\\0\\u0001>\\u0012\\\\0\\u000e/\\u0001?\\u001e/\\u0001$\\u0001/\\u0002$\\u00014\\u0002$\\u0001/\\u0004$\\u0001/\\u0001$\\u0001/\\u0006$\\u00011\\u0001$\\u0001/\\u0002$\\u000f/\\u0001?\\u0001@\\u0001/\\u0004@\\u0001/\\u0001@\\u0006/\\u0001@\\u0006/\\u0001\\\\0\\u00012\\u00013\\u0001\\\\0\\u00013\\\\b\\\\0\\u00014\\u0001\\\\0\\u00012\\u0001\\\\0\\u00042\\u0001\\\\0\\u00012\\u0004\\\\0\\u0001A\\u0001\\\\0\\u00012\\\\b\\\\0\\u00013\\u0001\\\\0\\u00013\\u0007\\\\0\\u0001B\\u00014\\u0001\\\\0\\u0001B\\u0001\\\\0\\u0004B\\u0001\\\\0\\u0002B\\u0003\\\\0\\u0001A\\\\b\\\\0\\u0002C\\u0001\\\\0\\u0001C\\u0002\\\\0\\u0004C\\u0001\\\\0\\u0002C\\u0001\\\\0\\u0016C\\\\t\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u00014\\u0002\\\"\\u0001\\\\0\\u0004\\\"\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0002\\\\0\\u00012\\u00013\\u0001\\\\0\\u00013\\u0004\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u00014\\u0001\\\"\\u00017\\u0001\\\\0\\u00047\\u0001\\\\0\\u00017\\u0001\\\\0\\u0003\\\"\\u00016\\u0001\\\"\\u00017\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0002\\\\0\\u0001D\\u0001E\\u0001\\\\0\\u0001E\\u0004\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u00014\\u0001\\\"\\u00018\\u0001\\\\0\\u00048\\u0001\\\\0\\u00018\\u0001\\\\0\\u0005\\\"\\u00018\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0003\\\\0\\u00019\\u0001\\u0005\\u0001:\\u0001\\u0005\\u0001\\u0007)\\\\0\\u0001F\\u0001G\\u0001\\\\0\\u0001H\\u0001\\\\0\\u0004H\\u0001\\\\0\\u0001H\\u0006\\\\0\\u0001H\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\tI\\u0001J\\u0001I\\u0001J\\u0001K\\u0001L\\u0002J\\u0001I\\u0004J\\u0001I\\u0001J\\u0001I\\u0006J\\u0001M\\u0001J\\u0001I\\u0002J\\u0001I\\u0002A\\u0001N\\u0001A\\u0001N\\\\bA\\u0001\\\\0\\u0016A\\u0012\\\\0\\u0001O\\u0011\\\\0\\\\r/\\u00014\\\"/\\u0001P\\u0001Q\\u0001?\\u0001R\\u0001/\\u0004R\\u0001/\\u0001R\\u0006/\\u0001R\\u0001/\\u00011\\u0004/\\\\r\\\\0\\u00014\\u0017\\\\0\\u0001B\\u0001S\\u0001\\\\0\\u0001S\\u0007\\\\0\\u0001B\\u00014\\u0001\\\\0\\u0001B\\u0001\\\\0\\u0004B\\u0001\\\\0\\u0003B\\u0001\\\\0\\u0001T\\u0001A\\u0001\\\\0\\u0001B\\u0001\\\\0\\u0001B\\u0004\\\\0\\u0002C\\u0001\\\\0\\u0001C\\u0002\\\\0\\u0004C\\u0001\\\\0\\u0002C\\u0001U\\u0016C\\u0001\\\\0\\u0001D\\u0001E\\u0001\\\\0\\u0001E\\\\b\\\\0\\u00014\\u0001\\\\0\\u0001D\\u0001\\\\0\\u0004D\\u0001\\\\0\\u0001D\\u0006\\\\0\\u0001D\\\\b\\\\0\\u0001E\\u0001\\\\0\\u0001E\\\\b\\\\0\\u00014\\\"\\\\0\\u0001V\\u0002\\\\0\\u0001W\\u0001\\\\0\\u0004W\\u0001\\\\0\\u0001W\\u0006\\\\0\\u0001W\\u0012\\\\0\\u0001V\\u0001G\\u0001\\\\0\\u0001W\\u0001\\\\0\\u0004W\\u0001\\\\0\\u0001W\\u0006\\\\0\\u0001W\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001X I\\u0001J\\u0001I\\u0001J\\u0001Y\\u0001I\\u0002J\\u0001I\\u0004J\\u0001I\\u0001J\\u0001I\\u0006J\\u0001M\\u0001J\\u0001I\\u0002J\\\\nI\\u0001J\\u0001I\\u0001J\\u00016\\u0001L\\u0002J\\u0001I\\u0004J\\u0001I\\u0001J\\u0001I\\u0006J\\u0001M\\u0001J\\u0001I\\u0002J\\\\rI\\u0001X\\u0002I\\u0001Z\\u0001I\\u0004Z\\u0001I\\u0001Z\\u0006I\\u0001Z\\u0006I\\u0002A\\u0001N\\u0001A\\u0001N\\\\bA\\u00014\\u0016A\\u0013\\\\0\\u0001[\\u0010\\\\0\\\\f/\\u0001\\\\\\\\\\u0001/\\u0001?\\u0001]\\u0001/\\u0004]\\u0001/\\u0001]\\u0006/\\u0001]\\u0012/\\u0001\\\\\\\\\\u0001Q\\u0001?\\u0001]\\u0001/\\u0004]\\u0001/\\u0001]\\u0006/\\u0001]\\u0001/\\u00011\\u0004/\\u0002\\\\0\\u0001S\\u0001\\\\0\\u0001S\\u0007\\\\0\\u0001B\\u00014\\u0001\\\\0\\u0001B\\u0001\\\\0\\u0004B\\u0001\\\\0\\u0002B\\u0002\\\\0\\u0001T\\u0001A\\\\b\\\\0\\u0002^\\u0001T\\u0001^\\u0001T\\u0002\\\\0\\u0001_\\u0001^\\u0001`\\u0001\\\\0\\u0002^\\u0001\\\\0\\\\v^\\u0002\\\\0\\\\t^\\\\f\\\\0\\u0001a\\u0002\\\\0\\u0001b\\u0001\\\\0\\u0004b\\u0001\\\\0\\u0001b\\u0006\\\\0\\u0001b\\u0012\\\\0\\u0001a\\u0001G\\u0001\\\\0\\u0001b\\u0001\\\\0\\u0004b\\u0001\\\\0\\u0001b\\u0006\\\\0\\u0001b\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001A I\\u0001J\\u0001I\\u0001J\\u00016\\u0001I\\u0002J\\u0001I\\u0004J\\u0001I\\u0001J\\u0001I\\u0006J\\u0001M\\u0001J\\u0001I\\u0002J\\\\rI\\u0001c\\u0001d\\u0001I\\u0001e\\u0001I\\u0004e\\u0001I\\u0001e\\u0006I\\u0001e\\u0001I\\u0001M\\u0004I\\u0014\\\\0\\u0001f\\u000f\\\\0\\\\f/\\u0001g\\u0001/\\u0001?\\u0001h\\u0001/\\u0004h\\u0001/\\u0001h\\u0006/\\u0001h\\u0012/\\u0001g\\u0001Q\\u0001?\\u0001h\\u0001/\\u0004h\\u0001/\\u0001h\\u0006/\\u0001h\\u0001/\\u00011\\u0004/\\u0002^\\u00013\\u0001^\\u00013\\u0003\\\\0\\u0001^\\u0002\\\\0\\u0002^\\u00014\\\\v^\\u0002\\\\0\\\\t^\\u0005_\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u001b_\\u0005`\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u001a`\\\\f\\\\0\\u0001l\\u0002\\\\0\\u0001m\\u0001\\\\0\\u0004m\\u0001\\\\0\\u0001m\\u0006\\\\0\\u0001m\\u0012\\\\0\\u0001l\\u0001G\\u0001\\\\0\\u0001m\\u0001\\\\0\\u0004m\\u0001\\\\0\\u0001m\\u0006\\\\0\\u0001m\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001n\\u0002I\\u0001o\\u0001I\\u0004o\\u0001I\\u0001o\\u0006I\\u0001o\\u0012I\\u0001p\\u0001d\\u0001I\\u0001o\\u0001I\\u0004o\\u0001I\\u0001o\\u0006I\\u0001o\\u0001I\\u0001M\\u0004I\\u0013\\\\0\\u0001q\\u0010\\\\0\\\\f/\\u0001r\\u0001/\\u0001?\\u0001s\\u0001/\\u0004s\\u0001/\\u0001s\\u0006/\\u0001s\\u0012/\\u0001r\\u0001Q\\u0001?\\u0001s\\u0001/\\u0004s\\u0001/\\u0001s\\u0006/\\u0001s\\u0001/\\u00011\\u0004/\\u0002\\\\0\\u00013\\u0001\\\\0\\u00013\\\\b\\\\0\\u00014\\\\r\\\\0\\u0001A\\\\b\\\\0\\u0005_\\u0001\\\\0\\u0001_\\u0001t\\u0001j\\u001b_\\u0005`\\u0001\\\\0\\u0002`\\u0001k\\u0001u\\u001a`\\\\f\\\\0\\u0001v\\u0002\\\\0\\u0001w\\u0001\\\\0\\u0004w\\u0001\\\\0\\u0001w\\u0006\\\\0\\u0001w\\u0012\\\\0\\u0001v\\u0001G\\u0001\\\\0\\u0001w\\u0001\\\\0\\u0004w\\u0001\\\\0\\u0001w\\u0006\\\\0\\u0001w\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001a\\u00014\\u0001\\\\0\\u0001b\\u0001\\\\0\\u0004b\\u0001\\\\0\\u0001b\\u0006\\\\0\\u0001b\\u0006\\\\0\\\\fI\\u0001x\\u0001d\\u0001I\\u0001y\\u0001I\\u0004y\\u0001I\\u0001y\\u0006I\\u0001y\\u0001I\\u0001M\\u0010I\\u0001z\\u0002I\\u0001y\\u0001I\\u0004y\\u0001I\\u0001y\\u0006I\\u0001y\\u0006I\\u0010\\\\0\\u0001{\\u0013\\\\0\\\\f/\\u0001|\\u0001/\\u0001?\\u0001}\\u0001/\\u0004}\\u0001/\\u0001}\\u0006/\\u0001}\\u0012/\\u0001|\\u0001Q\\u0001?\\u0001}\\u0001/\\u0004}\\u0001/\\u0001}\\u0006/\\u0001}\\u0001/\\u00011\\u0004/\\u0002_\\u0001~\\u0001_\\u0001~\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0004_\\u0001\\\\r_\\u0001€\\\\b_\\u0002`\\u0001\\u0001`\\u0001\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0003`\\u0001‚\\\\r`\\u0001ƒ\\\\b`\\\\f\\\\0\\u0001„\\u0002\\\\0\\u0001…",
"\\u0001\\\\0\\u0004…",
"\\u0001\\\\0\\u0001…",
"\\u0006\\\\0\\u0001…",
"\\u0012\\\\0\\u0001„\\u0001G\\u0001\\\\0\\u0001…",
"\\u0001\\\\0\\u0004…",
"\\u0001\\\\0\\u0001…",
"\\u0006\\\\0\\u0001…",
"\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001†\\u0002I\\u0001‡\\u0001I\\u0004‡\\u0001I\\u0001‡\\u0006I\\u0001‡\\u0012I\\u0001ˆ\\u0001d\\u0001I\\u0001‡\\u0001I\\u0004‡\\u0001I\\u0001‡\\u0006I\\u0001‡\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001l\\u00014\\u0001\\\\0\\u0001m\\u0001\\\\0\\u0004m\\u0001\\\\0\\u0001m\\u0006\\\\0\\u0001m\\u0006\\\\0\\u0015{\\u0001‰\\u000e{\\\\f/\\u0001Š\\u0001/\\u0001?\\u0001‹\\u0001/\\u0004‹\\u0001/\\u0001‹\\u0006/\\u0001‹\\u0012/\\u0001Š\\u0001Q\\u0001?\\u0001‹\\u0001/\\u0004‹\\u0001/\\u0001‹\\u0006/\\u0001‹\\u0001/\\u00011\\u0004/\\u0002_\\u0001~\\u0001_\\u0001~\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0003_\\u0001Œ\\u0001\\u0001_\\u0001Œ\\u0001_\\u0004Œ\\u0001_\\u0002Œ\\u0003_\\u0001€\\\\r_\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0004_\\u0001\\u0016_\\u0002`\\u0001\\u0001`\\u0001\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0002`\\u0001\\u0001‚\\u0001`\\u0001\\u0001`\\u0004\\u0001`\\u0002\\u0003`\\u0001ƒ\\\\r`\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0003`\\u0001‚\\u0016`\\\\f\\\\0\\u0001Ž\\u0002\\\\0\\u0001\\u0001\\\\0\\u0004\\u0001\\\\0\\u0001\\u0006\\\\0\\u0001\\u0012\\\\0\\u0001Ž\\u0001G\\u0001\\\\0\\u0001\\u0001\\\\0\\u0004\\u0001\\\\0\\u0001\\u0006\\\\0\\u0001\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001v\\u00014\\u0001\\\\0\\u0001w\\u0001\\\\0\\u0004w\\u0001\\\\0\\u0001w\\u0006\\\\0\\u0001w\\u0006\\\\0\\\\fI\\u0001\\u0001d\\u0001I\\u0001‘\\u0001I\\u0004‘\\u0001I\\u0001‘\\u0006I\\u0001‘\\u0001I\\u0001M\\u0010I\\u0001’\\u0002I\\u0001‘\\u0001I\\u0004‘\\u0001I\\u0001‘\\u0006I\\u0001‘\\u0006I\\u0015{\\u0001“\\u000e{\\\\f/\\u0001”\\u0001/\\u0001?\\u0001•\\u0001/\\u0004•\\u0001/\\u0001•\\u0006/\\u0001•\\u0012/\\u0001”\\u0001Q\\u0001?\\u0001•\\u0001/\\u0004•\\u0001/\\u0001•\\u0006/\\u0001•\\u0001/\\u00011\\u0004/\\u0001_\\u0001Œ\\u0001–\\u0001_\\u0001–\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0003_\\u0001Œ\\u0001\\u0001_\\u0001Œ\\u0001_\\u0004Œ\\u0001_\\u0003Œ\\u0001_\\u0001—\\u0001€\\u0001_\\u0001Œ\\u0001_\\u0001Œ\\u0004_\\u0001`\\u0001\\u0001˜\\u0001`\\u0001˜\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0002`\\u0001\\u0001‚\\u0001`\\u0001\\u0001`\\u0004\\u0001`\\u0003\\u0001`\\u0001™\\u0001ƒ\\u0001`\\u0001\\u0001`\\u0001\\u0004`\\\\f\\\\0\\u0001š\\u0002\\\\0\\u0001›\\u0001\\\\0\\u0004›\\u0001\\\\0\\u0001›\\u0006\\\\0\\u0001›\\u0012\\\\0\\u0001š\\u0001G\\u0001\\\\0\\u0001›\\u0001\\\\0\\u0004›\\u0001\\\\0\\u0001›\\u0006\\\\0\\u0001›\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001œ\\u0002I\\u0001\\u0001I\\u0004\\u0001I\\u0001\\u0006I\\u0001\\u0012I\\u0001ž\\u0001d\\u0001I\\u0001\\u0001I\\u0004\\u0001I\\u0001\\u0006I\\u0001\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001„\\u00014\\u0001\\\\0\\u0001…",
"\\u0001\\\\0\\u0004…",
"\\u0001\\\\0\\u0001…",
"\\u0006\\\\0\\u0001…",
"\\u0006\\\\0\\\\r{\\u00014\\u0016{\\\\f/\\u0001Ÿ\\u0001/\\u0001?\\u0001 \\u0001/\\u0004 \\u0001/\\u0001 \\u0006/\\u0001 \\u0012/\\u0001Ÿ\\u0001Q\\u0001?\\u0001 \\u0001/\\u0004 \\u0001/\\u0001 \\u0006/\\u0001 \\u0001/\\u00011\\u0004/\\u0002_\\u0001–\\u0001_\\u0001–\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0003_\\u0001Œ\\u0001\\u0001_\\u0001Œ\\u0001_\\u0004Œ\\u0001_\\u0002Œ\\u0002_\\u0001—\\u0001€\\\\b_\\u0002¡\\u0001—\\u0001¡\\u0001—\\u0001\\\\0\\u0001_\\u0001t\\u0001¢\\u0001£\\u0001_\\u0002¡\\u0001_\\\\v¡\\u0002_\\\\t¡\\u0002`\\u0001˜\\u0001`\\u0001˜\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0002`\\u0001\\u0001‚\\u0001`\\u0001\\u0001`\\u0004\\u0001`\\u0002\\u0002`\\u0001™\\u0001ƒ\\\\b`\\u0002¤\\u0001™\\u0001¤\\u0001™\\u0001\\\\0\\u0001`\\u0001£\\u0001¥\\u0001u\\u0001`\\u0002¤\\u0001`\\\\v¤\\u0002`\\\\t¤\\\\f\\\\0\\u0001¦\\u0002\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\u0006\\\\0\\u0001§\\u0012\\\\0\\u0001¦\\u0001G\\u0001\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\u0006\\\\0\\u0001§\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ž\\u00014\\u0001\\\\0\\u0001\\u0001\\\\0\\u0004\\u0001\\\\0\\u0001\\u0006\\\\0\\u0001\\u0006\\\\0\\\\fI\\u0001¨\\u0001d\\u0001I\\u0001©\\u0001I\\u0004©\\u0001I\\u0001©\\u0006I\\u0001©\\u0001I\\u0001M\\u0010I\\u0001ª\\u0002I\\u0001©\\u0001I\\u0004©\\u0001I\\u0001©\\u0006I\\u0001©\\u0006I\\\\f/\\u0001«\\u0001/\\u0001?\\u0001¬\\u0001/\\u0004¬\\u0001/\\u0001¬\\u0006/\\u0001¬\\u0012/\\u0001«\\u0001Q\\u0001?\\u0001¬\\u0001/\\u0004¬\\u0001/\\u0001¬\\u0006/\\u0001¬\\u0001/\\u00011\\u0004/\\u0002¡\\u0001~\\u0001¡\\u0001~\\u0001\\\\0\\u0001_\\u0001i\\u0001¢\\u0002_\\u0002¡\\u0001\\\\v¡\\u0002_\\\\v¡\\u0001~\\u0001¡\\u0001~\\u0001\\\\0\\u0001_\\u0001t\\u0001¢\\u0002_\\u0002¡\\u0001\\\\v¡\\u0002_\\\\t¡\\u0005£\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u001a£\\u0002¤\\u0001\\u0001¤\\u0001\\u0001\\\\0\\u0002`\\u0001¥\\u0001i\\u0001`\\u0002¤\\u0001‚\\\\v¤\\u0002`\\\\v¤\\u0001\\u0001¤\\u0001\\u0001\\\\0\\u0002`\\u0001¥\\u0001u\\u0001`\\u0002¤\\u0001‚\\\\v¤\\u0002`\\\\t¤\\\\f\\\\0\\u0001®\\u0002\\\\0\\u0001¯\\u0001\\\\0\\u0004¯\\u0001\\\\0\\u0001¯\\u0006\\\\0\\u0001¯\\u0012\\\\0\\u0001®\\u0001G\\u0001\\\\0\\u0001¯\\u0001\\\\0\\u0004¯\\u0001\\\\0\\u0001¯\\u0006\\\\0\\u0001¯\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001°\\u0002I\\u0001±\\u0001I\\u0004±\\u0001I\\u0001±\\u0006I\\u0001±\\u0012I\\u0001²\\u0001d\\u0001I\\u0001±\\u0001I\\u0004±\\u0001I\\u0001±\\u0006I\\u0001±\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001š\\u00014\\u0001\\\\0\\u0001›\\u0001\\\\0\\u0004›\\u0001\\\\0\\u0001›\\u0006\\\\0\\u0001›\\u0006\\\\0\\\\f/\\u0001³\\u0001/\\u0001?\\u0001´\\u0001/\\u0004´\\u0001/\\u0001´\\u0006/\\u0001´\\u0012/\\u0001³\\u0001Q\\u0001?\\u0001´\\u0001/\\u0004´\\u0001/\\u0001´\\u0006/\\u0001´\\u0001/\\u00011\\u0004/\\u0005£\\u0001\\\\0\\u0001£\\u0001µ\\u0001­\\u0001µ\\u001a£\\\\f\\\\0\\u0001¶\\u0002\\\\0\\u0001·\\u0001\\\\0\\u0004·\\u0001\\\\0\\u0001·\\u0006\\\\0\\u0001·\\u0012\\\\0\\u0001¶\\u0001G\\u0001\\\\0\\u0001·\\u0001\\\\0\\u0004·\\u0001\\\\0\\u0001·\\u0006\\\\0\\u0001·\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001¦\\u00014\\u0001\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\u0006\\\\0\\u0001§\\u0006\\\\0\\\\fI\\u0001¸\\u0001d\\u0001I\\u0001¹\\u0001I\\u0004¹\\u0001I\\u0001¹\\u0006I\\u0001¹\\u0001I\\u0001M\\u0010I\\u0001º\\u0002I\\u0001¹\\u0001I\\u0004¹\\u0001I\\u0001¹\\u0006I\\u0001¹\\u0006I\\\\f/\\u0001»\\u0001/\\u0001?\\u0001¼\\u0001/\\u0004¼\\u0001/\\u0001¼\\u0006/\\u0001¼\\u0012/\\u0001»\\u0001Q\\u0001?\\u0001¼\\u0001/\\u0004¼\\u0001/\\u0001¼\\u0006/\\u0001¼\\u0001/\\u00011\\u0004/\\u0002£\\u0001½\\u0001£\\u0001½\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0003£\\u0001¾\\\\r£\\u0001¿\\\\b£\\\\f\\\\0\\u0001À\\u0002\\\\0\\u0001Á\\u0001\\\\0\\u0004Á\\u0001\\\\0\\u0001Á\\u0006\\\\0\\u0001Á\\u0012\\\\0\\u0001À\\u0001G\\u0001\\\\0\\u0001Á\\u0001\\\\0\\u0004Á\\u0001\\\\0\\u0001Á\\u0006\\\\0\\u0001Á\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Â\\u0002I\\u0001Ã\\u0001I\\u0004Ã\\u0001I\\u0001Ã\\u0006I\\u0001Ã\\u0012I\\u0001Ä\\u0001d\\u0001I\\u0001Ã\\u0001I\\u0004Ã\\u0001I\\u0001Ã\\u0006I\\u0001Ã\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001®\\u00014\\u0001\\\\0\\u0001¯\\u0001\\\\0\\u0004¯\\u0001\\\\0\\u0001¯\\u0006\\\\0\\u0001¯\\u0006\\\\0\\\\f/\\u0001Å\\u0001/\\u0001?\\u0001Æ\\u0001/\\u0004Æ\\u0001/\\u0001Æ\\u0006/\\u0001Æ\\u0012/\\u0001Å\\u0001Q\\u0001?\\u0001Æ\\u0001/\\u0004Æ\\u0001/\\u0001Æ\\u0006/\\u0001Æ\\u0001/\\u00011\\u0004/\\u0002£\\u0001½\\u0001£\\u0001½\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0002£\\u0001Ç\\u0001¾\\u0001£\\u0001Ç\\u0001£\\u0004Ç\\u0001£\\u0002Ç\\u0003£\\u0001¿\\\\r£\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0003£\\u0001¾\\u0016£\\\\f\\\\0\\u0001È\\u0002\\\\0\\u0001É\\u0001\\\\0\\u0004É\\u0001\\\\0\\u0001É\\u0006\\\\0\\u0001É\\u0012\\\\0\\u0001È\\u0001G\\u0001\\\\0\\u0001É\\u0001\\\\0\\u0004É\\u0001\\\\0\\u0001É\\u0006\\\\0\\u0001É\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001¶\\u00014\\u0001\\\\0\\u0001·\\u0001\\\\0\\u0004·\\u0001\\\\0\\u0001·\\u0006\\\\0\\u0001·\\u0006\\\\0\\\\fI\\u0001Ê\\u0001d\\u0001I\\u0001Ë\\u0001I\\u0004Ë\\u0001I\\u0001Ë\\u0006I\\u0001Ë\\u0001I\\u0001M\\u0010I\\u0001Ì\\u0002I\\u0001Ë\\u0001I\\u0004Ë\\u0001I\\u0001Ë\\u0006I\\u0001Ë\\u0006I\\\\f/\\u0001Í\\u0001/\\u0001?\\u0001Î\\u0001/\\u0004Î\\u0001/\\u0001Î\\u0006/\\u0001Î\\u0012/\\u0001Í\\u0001Q\\u0001?\\u0001Î\\u0001/\\u0004Î\\u0001/\\u0001Î\\u0006/\\u0001Î\\u0001/\\u00011\\u0004/\\u0001£\\u0001Ç\\u0001Ï\\u0001£\\u0001Ï\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0002£\\u0001Ç\\u0001¾\\u0001£\\u0001Ç\\u0001£\\u0004Ç\\u0001£\\u0003Ç\\u0001£\\u0001Ð\\u0001¿\\u0001£\\u0001Ç\\u0001£\\u0001Ç\\u0004£\\\\f\\\\0\\u0001Ñ\\u0002\\\\0\\u0001Ò\\u0001\\\\0\\u0004Ò\\u0001\\\\0\\u0001Ò\\u0006\\\\0\\u0001Ò\\u0012\\\\0\\u0001Ñ\\u0001G\\u0001\\\\0\\u0001Ò\\u0001\\\\0\\u0004Ò\\u0001\\\\0\\u0001Ò\\u0006\\\\0\\u0001Ò\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ó\\u0002I\\u0001Ô\\u0001I\\u0004Ô\\u0001I\\u0001Ô\\u0006I\\u0001Ô\\u0012I\\u0001Õ\\u0001d\\u0001I\\u0001Ô\\u0001I\\u0004Ô\\u0001I\\u0001Ô\\u0006I\\u0001Ô\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001À\\u00014\\u0001\\\\0\\u0001Á\\u0001\\\\0\\u0004Á\\u0001\\\\0\\u0001Á\\u0006\\\\0\\u0001Á\\u0006\\\\0\\\\f/\\u0001Ö\\u0001/\\u0001?\\u0001×\\u0001/\\u0004×\\u0001/\\u0001×\\u0006/\\u0001×\\u0012/\\u0001Ö\\u0001Q\\u0001?\\u0001×\\u0001/\\u0004×\\u0001/\\u0001×\\u0006/\\u0001×\\u0001/\\u00011\\u0004/\\u0002£\\u0001Ï\\u0001£\\u0001Ï\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0002£\\u0001Ç\\u0001¾\\u0001£\\u0001Ç\\u0001£\\u0004Ç\\u0001£\\u0002Ç\\u0002£\\u0001Ð\\u0001¿\\\\b£\\u0002Ø\\u0001Ð\\u0001Ø\\u0001Ð\\u0001\\\\0\\u0001£\\u0001µ\\u0001Ù\\u0001µ\\u0001£\\u0002Ø\\u0001£\\\\vØ\\u0002£\\\\tØ\\\\f\\\\0\\u0001Ú\\u0002\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\u0006\\\\0\\u0001Û\\u0012\\\\0\\u0001Ú\\u0001G\\u0001\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\u0006\\\\0\\u0001Û\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001È\\u00014\\u0001\\\\0\\u0001É\\u0001\\\\0\\u0004É\\u0001\\\\0\\u0001É\\u0006\\\\0\\u0001É\\u0006\\\\0\\\\fI\\u0001Ü\\u0001d\\u0001I\\u0001Ý\\u0001I\\u0004Ý\\u0001I\\u0001Ý\\u0006I\\u0001Ý\\u0001I\\u0001M\\u0010I\\u0001Þ\\u0002I\\u0001Ý\\u0001I\\u0004Ý\\u0001I\\u0001Ý\\u0006I\\u0001Ý\\u0006I\\\\f/\\u0001ß\\u0001/\\u0001?\\u0001à\\u0001/\\u0004à\\u0001/\\u0001à\\u0006/\\u0001à\\u0012/\\u0001ß\\u0001Q\\u0001?\\u0001à\\u0001/\\u0004à\\u0001/\\u0001à\\u0006/\\u0001à\\u0001/\\u00011\\u0004/\\u0002Ø\\u0001½\\u0001Ø\\u0001½\\u0001\\\\0\\u0001£\\u0001u\\u0001Ù\\u0001t\\u0001£\\u0002Ø\\u0001¾\\\\vØ\\u0002£\\\\vØ\\u0001½\\u0001Ø\\u0001½\\u0001\\\\0\\u0001£\\u0001µ\\u0001Ù\\u0001µ\\u0001£\\u0002Ø\\u0001¾\\\\vØ\\u0002£\\\\tØ\\\\f\\\\0\\u0001á\\u0002\\\\0\\u0001â\\u0001\\\\0\\u0004â\\u0001\\\\0\\u0001â\\u0006\\\\0\\u0001â\\u0012\\\\0\\u0001á\\u0001G\\u0001\\\\0\\u0001â\\u0001\\\\0\\u0004â\\u0001\\\\0\\u0001â\\u0006\\\\0\\u0001â\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ã\\u0002I\\u0001ä\\u0001I\\u0004ä\\u0001I\\u0001ä\\u0006I\\u0001ä\\u0012I\\u0001å\\u0001d\\u0001I\\u0001ä\\u0001I\\u0004ä\\u0001I\\u0001ä\\u0006I\\u0001ä\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ñ\\u00014\\u0001\\\\0\\u0001Ò\\u0001\\\\0\\u0004Ò\\u0001\\\\0\\u0001Ò\\u0006\\\\0\\u0001Ò\\u0006\\\\0\\\\f/\\u0001æ\\u0001/\\u0001?\\u0001ç\\u0001/\\u0004ç\\u0001/\\u0001ç\\u0006/\\u0001ç\\u0012/\\u0001æ\\u0001Q\\u0001?\\u0001ç\\u0001/\\u0004ç\\u0001/\\u0001ç\\u0006/\\u0001ç\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001è\\u0002\\\\0\\u0001é\\u0001\\\\0\\u0004é\\u0001\\\\0\\u0001é\\u0006\\\\0\\u0001é\\u0012\\\\0\\u0001è\\u0001G\\u0001\\\\0\\u0001é\\u0001\\\\0\\u0004é\\u0001\\\\0\\u0001é\\u0006\\\\0\\u0001é\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ú\\u00014\\u0001\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\u0006\\\\0\\u0001Û\\u0006\\\\0\\\\fI\\u0001ê\\u0001d\\u0001I\\u0001ë\\u0001I\\u0004ë\\u0001I\\u0001ë\\u0006I\\u0001ë\\u0001I\\u0001M\\u0010I\\u0001ì\\u0002I\\u0001ë\\u0001I\\u0004ë\\u0001I\\u0001ë\\u0006I\\u0001ë\\u0006I\\\\f/\\u0001í\\u0001/\\u0001?\\u0001î\\u0001/\\u0004î\\u0001/\\u0001î\\u0006/\\u0001î\\u0012/\\u0001í\\u0001Q\\u0001?\\u0001î\\u0001/\\u0004î\\u0001/\\u0001î\\u0006/\\u0001î\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ï\\u0002\\\\0\\u0001ð\\u0001\\\\0\\u0004ð\\u0001\\\\0\\u0001ð\\u0006\\\\0\\u0001ð\\u0012\\\\0\\u0001ï\\u0001G\\u0001\\\\0\\u0001ð\\u0001\\\\0\\u0004ð\\u0001\\\\0\\u0001ð\\u0006\\\\0\\u0001ð\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ñ\\u0002I\\u0001ò\\u0001I\\u0004ò\\u0001I\\u0001ò\\u0006I\\u0001ò\\u0012I\\u0001ó\\u0001d\\u0001I\\u0001ò\\u0001I\\u0004ò\\u0001I\\u0001ò\\u0006I\\u0001ò\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001á\\u00014\\u0001\\\\0\\u0001â\\u0001\\\\0\\u0004â\\u0001\\\\0\\u0001â\\u0006\\\\0\\u0001â\\u0006\\\\0\\\\f/\\u0001ô\\u0001/\\u0001?\\u0001õ\\u0001/\\u0004õ\\u0001/\\u0001õ\\u0006/\\u0001õ\\u0012/\\u0001ô\\u0001Q\\u0001?\\u0001õ\\u0001/\\u0004õ\\u0001/\\u0001õ\\u0006/\\u0001õ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ö\\u0002\\\\0\\u0001÷\\u0001\\\\0\\u0004÷\\u0001\\\\0\\u0001÷\\u0006\\\\0\\u0001÷\\u0012\\\\0\\u0001ö\\u0001G\\u0001\\\\0\\u0001÷\\u0001\\\\0\\u0004÷\\u0001\\\\0\\u0001÷\\u0006\\\\0\\u0001÷\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001è\\u00014\\u0001\\\\0\\u0001é\\u0001\\\\0\\u0004é\\u0001\\\\0\\u0001é\\u0006\\\\0\\u0001é\\u0006\\\\0\\\\fI\\u0001ø\\u0001d\\u0001I\\u0001ù\\u0001I\\u0004ù\\u0001I\\u0001ù\\u0006I\\u0001ù\\u0001I\\u0001M\\u0010I\\u0001ú\\u0002I\\u0001ù\\u0001I\\u0004ù\\u0001I\\u0001ù\\u0006I\\u0001ù\\u0006I\\\\f/\\u0001û\\u0001/\\u0001?\\u0001ü\\u0001/\\u0004ü\\u0001/\\u0001ü\\u0006/\\u0001ü\\u0012/\\u0001û\\u0001Q\\u0001?\\u0001ü\\u0001/\\u0004ü\\u0001/\\u0001ü\\u0006/\\u0001ü\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ý\\u0002\\\\0\\u0001þ\\u0001\\\\0\\u0004þ\\u0001\\\\0\\u0001þ\\u0006\\\\0\\u0001þ\\u0012\\\\0\\u0001ý\\u0001G\\u0001\\\\0\\u0001þ\\u0001\\\\0\\u0004þ\\u0001\\\\0\\u0001þ\\u0006\\\\0\\u0001þ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ÿ\\u0002I\\u0001Ā\\u0001I\\u0004Ā\\u0001I\\u0001Ā\\u0006I\\u0001Ā\\u0012I\\u0001ā\\u0001d\\u0001I\\u0001Ā\\u0001I\\u0004Ā\\u0001I\\u0001Ā\\u0006I\\u0001Ā\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ï\\u00014\\u0001\\\\0\\u0001ð\\u0001\\\\0\\u0004ð\\u0001\\\\0\\u0001ð\\u0006\\\\0\\u0001ð\\u0006\\\\0\\\\f/\\u0001Ă\\u0001/\\u0001?\\u0001ă\\u0001/\\u0004ă\\u0001/\\u0001ă\\u0006/\\u0001ă\\u0012/\\u0001Ă\\u0001Q\\u0001?\\u0001ă\\u0001/\\u0004ă\\u0001/\\u0001ă\\u0006/\\u0001ă\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ą\\u0002\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\u0006\\\\0\\u0001ą\\u0012\\\\0\\u0001Ą\\u0001G\\u0001\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\u0006\\\\0\\u0001ą\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ö\\u00014\\u0001\\\\0\\u0001÷\\u0001\\\\0\\u0004÷\\u0001\\\\0\\u0001÷\\u0006\\\\0\\u0001÷\\u0006\\\\0\\\\fI\\u0001Ć\\u0001d\\u0001I\\u0001ć\\u0001I\\u0004ć\\u0001I\\u0001ć\\u0006I\\u0001ć\\u0001I\\u0001M\\u0010I\\u0001Ĉ\\u0002I\\u0001ć\\u0001I\\u0004ć\\u0001I\\u0001ć\\u0006I\\u0001ć\\u0006I\\\\f/\\u0001ĉ\\u0001/\\u0001?\\u0001Ċ\\u0001/\\u0004Ċ\\u0001/\\u0001Ċ\\u0006/\\u0001Ċ\\u0012/\\u0001ĉ\\u0001Q\\u0001?\\u0001Ċ\\u0001/\\u0004Ċ\\u0001/\\u0001Ċ\\u0006/\\u0001Ċ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ċ\\u0002\\\\0\\u0001Č\\u0001\\\\0\\u0004Č\\u0001\\\\0\\u0001Č\\u0006\\\\0\\u0001Č\\u0012\\\\0\\u0001ċ\\u0001G\\u0001\\\\0\\u0001Č\\u0001\\\\0\\u0004Č\\u0001\\\\0\\u0001Č\\u0006\\\\0\\u0001Č\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001č\\u0002I\\u0001Ď\\u0001I\\u0004Ď\\u0001I\\u0001Ď\\u0006I\\u0001Ď\\u0012I\\u0001ď\\u0001d\\u0001I\\u0001Ď\\u0001I\\u0004Ď\\u0001I\\u0001Ď\\u0006I\\u0001Ď\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ý\\u00014\\u0001\\\\0\\u0001þ\\u0001\\\\0\\u0004þ\\u0001\\\\0\\u0001þ\\u0006\\\\0\\u0001þ\\u0006\\\\0\\\\f/\\u0001Đ\\u0001/\\u0001?\\u0001đ\\u0001/\\u0004đ\\u0001/\\u0001đ\\u0006/\\u0001đ\\u0012/\\u0001Đ\\u0001Q\\u0001?\\u0001đ\\u0001/\\u0004đ\\u0001/\\u0001đ\\u0006/\\u0001đ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ē\\u0002\\\\0\\u0001ē\\u0001\\\\0\\u0004ē\\u0001\\\\0\\u0001ē\\u0006\\\\0\\u0001ē\\u0012\\\\0\\u0001Ē\\u0001G\\u0001\\\\0\\u0001ē\\u0001\\\\0\\u0004ē\\u0001\\\\0\\u0001ē\\u0006\\\\0\\u0001ē\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ą\\u00014\\u0001\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\u0006\\\\0\\u0001ą\\u0006\\\\0\\\\fI\\u0001Ĕ\\u0001d\\u0001I\\u0001ĕ\\u0001I\\u0004ĕ\\u0001I\\u0001ĕ\\u0006I\\u0001ĕ\\u0001I\\u0001M\\u0010I\\u0001Ė\\u0002I\\u0001ĕ\\u0001I\\u0004ĕ\\u0001I\\u0001ĕ\\u0006I\\u0001ĕ\\u0006I\\\\f/\\u0001ė\\u0001/\\u0001?\\u0001Ę\\u0001/\\u0004Ę\\u0001/\\u0001Ę\\u0006/\\u0001Ę\\u0012/\\u0001ė\\u0001Q\\u0001?\\u0001Ę\\u0001/\\u0004Ę\\u0001/\\u0001Ę\\u0006/\\u0001Ę\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ę\\u0002\\\\0\\u0001Ě\\u0001\\\\0\\u0004Ě\\u0001\\\\0\\u0001Ě\\u0006\\\\0\\u0001Ě\\u0012\\\\0\\u0001ę\\u0001G\\u0001\\\\0\\u0001Ě\\u0001\\\\0\\u0004Ě\\u0001\\\\0\\u0001Ě\\u0006\\\\0\\u0001Ě\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ě\\u0002I\\u0001Ĝ\\u0001I\\u0004Ĝ\\u0001I\\u0001Ĝ\\u0006I\\u0001Ĝ\\u0012I\\u0001ĝ\\u0001d\\u0001I\\u0001Ĝ\\u0001I\\u0004Ĝ\\u0001I\\u0001Ĝ\\u0006I\\u0001Ĝ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ċ\\u00014\\u0001\\\\0\\u0001Č\\u0001\\\\0\\u0004Č\\u0001\\\\0\\u0001Č\\u0006\\\\0\\u0001Č\\u0006\\\\0\\\\f/\\u0001Ğ\\u0001/\\u0001?\\u0001ğ\\u0001/\\u0004ğ\\u0001/\\u0001ğ\\u0006/\\u0001ğ\\u0012/\\u0001Ğ\\u0001Q\\u0001?\\u0001ğ\\u0001/\\u0004ğ\\u0001/\\u0001ğ\\u0006/\\u0001ğ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ġ\\u0002\\\\0\\u0001ġ\\u0001\\\\0\\u0004ġ\\u0001\\\\0\\u0001ġ\\u0006\\\\0\\u0001ġ\\u0012\\\\0\\u0001Ġ\\u0001G\\u0001\\\\0\\u0001ġ\\u0001\\\\0\\u0004ġ\\u0001\\\\0\\u0001ġ\\u0006\\\\0\\u0001ġ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ē\\u00014\\u0001\\\\0\\u0001ē\\u0001\\\\0\\u0004ē\\u0001\\\\0\\u0001ē\\u0006\\\\0\\u0001ē\\u0006\\\\0\\\\fI\\u0001Ģ\\u0001d\\u0001I\\u0001ģ\\u0001I\\u0004ģ\\u0001I\\u0001ģ\\u0006I\\u0001ģ\\u0001I\\u0001M\\u0010I\\u0001Ĥ\\u0002I\\u0001ģ\\u0001I\\u0004ģ\\u0001I\\u0001ģ\\u0006I\\u0001ģ\\u0006I\\\\f/\\u0001ĥ\\u0001/\\u0001?\\u0001Ħ\\u0001/\\u0004Ħ\\u0001/\\u0001Ħ\\u0006/\\u0001Ħ\\u0012/\\u0001ĥ\\u0001Q\\u0001?\\u0001Ħ\\u0001/\\u0004Ħ\\u0001/\\u0001Ħ\\u0006/\\u0001Ħ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ħ\\u0002\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\u0006\\\\0\\u0001Ĩ\\u0012\\\\0\\u0001ħ\\u0001G\\u0001\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\u0006\\\\0\\u0001Ĩ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ĩ\\u0002I\\u0001Ī\\u0001I\\u0004Ī\\u0001I\\u0001Ī\\u0006I\\u0001Ī\\u0012I\\u0001ī\\u0001d\\u0001I\\u0001Ī\\u0001I\\u0004Ī\\u0001I\\u0001Ī\\u0006I\\u0001Ī\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ę\\u00014\\u0001\\\\0\\u0001Ě\\u0001\\\\0\\u0004Ě\\u0001\\\\0\\u0001Ě\\u0006\\\\0\\u0001Ě\\u0006\\\\0\\\\f/\\u0001Ĭ\\u0001/\\u0001?\\u0001ĭ\\u0001/\\u0004ĭ\\u0001/\\u0001ĭ\\u0006/\\u0001ĭ\\u0012/\\u0001Ĭ\\u0001Q\\u0001?\\u0001ĭ\\u0001/\\u0004ĭ\\u0001/\\u0001ĭ\\u0006/\\u0001ĭ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Į\\u0002\\\\0\\u0001į\\u0001\\\\0\\u0004į\\u0001\\\\0\\u0001į\\u0006\\\\0\\u0001į\\u0012\\\\0\\u0001Į\\u0001G\\u0001\\\\0\\u0001į\\u0001\\\\0\\u0004į\\u0001\\\\0\\u0001į\\u0006\\\\0\\u0001į\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ġ\\u00014\\u0001\\\\0\\u0001ġ\\u0001\\\\0\\u0004ġ\\u0001\\\\0\\u0001ġ\\u0006\\\\0\\u0001ġ\\u0006\\\\0\\\\fI\\u0001İ\\u0001d\\u0001I\\u0001ı\\u0001I\\u0004ı\\u0001I\\u0001ı\\u0006I\\u0001ı\\u0001I\\u0001M\\u0010I\\u0001IJ\\u0002I\\u0001ı\\u0001I\\u0004ı\\u0001I\\u0001ı\\u0006I\\u0001ı\\u0006I\\\\f/\\u0001ij\\u0001/\\u0001?\\u0001Ĵ\\u0001/\\u0004Ĵ\\u0001/\\u0001Ĵ\\u0006/\\u0001Ĵ\\u0012/\\u0001ij\\u0001Q\\u0001?\\u0001Ĵ\\u0001/\\u0004Ĵ\\u0001/\\u0001Ĵ\\u0006/\\u0001Ĵ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ĵ\\u0002\\\\0\\u0001Ķ\\u0001\\\\0\\u0004Ķ\\u0001\\\\0\\u0001Ķ\\u0006\\\\0\\u0001Ķ\\u0012\\\\0\\u0001ĵ\\u0001G\\u0001\\\\0\\u0001Ķ\\u0001\\\\0\\u0004Ķ\\u0001\\\\0\\u0001Ķ\\u0006\\\\0\\u0001Ķ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ķ\\u0002I\\u0001ĸ\\u0001I\\u0004ĸ\\u0001I\\u0001ĸ\\u0006I\\u0001ĸ\\u0012I\\u0001Ĺ\\u0001d\\u0001I\\u0001ĸ\\u0001I\\u0004ĸ\\u0001I\\u0001ĸ\\u0006I\\u0001ĸ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ħ\\u00014\\u0001\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\u0006\\\\0\\u0001Ĩ\\u0006\\\\0\\\\f/\\u0001ĺ\\u0001/\\u0001?\\u0001Ļ\\u0001/\\u0004Ļ\\u0001/\\u0001Ļ\\u0006/\\u0001Ļ\\u0012/\\u0001ĺ\\u0001Q\\u0001?\\u0001Ļ\\u0001/\\u0004Ļ\\u0001/\\u0001Ļ\\u0006/\\u0001Ļ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ļ\\u0002\\\\0\\u0001Ľ\\u0001\\\\0\\u0004Ľ\\u0001\\\\0\\u0001Ľ\\u0006\\\\0\\u0001Ľ\\u0012\\\\0\\u0001ļ\\u0001G\\u0001\\\\0\\u0001Ľ\\u0001\\\\0\\u0004Ľ\\u0001\\\\0\\u0001Ľ\\u0006\\\\0\\u0001Ľ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Į\\u00014\\u0001\\\\0\\u0001į\\u0001\\\\0\\u0004į\\u0001\\\\0\\u0001į\\u0006\\\\0\\u0001į\\u0006\\\\0\\\\fI\\u0001ľ\\u0001d\\u0001I\\u0001Ŀ\\u0001I\\u0004Ŀ\\u0001I\\u0001Ŀ\\u0006I\\u0001Ŀ\\u0001I\\u0001M\\u0010I\\u0001ŀ\\u0002I\\u0001Ŀ\\u0001I\\u0004Ŀ\\u0001I\\u0001Ŀ\\u0006I\\u0001Ŀ\\u0006I\\\\f/\\u0001Ł\\u0001/\\u0001?\\u0001ł\\u0001/\\u0004ł\\u0001/\\u0001ł\\u0006/\\u0001ł\\u0012/\\u0001Ł\\u0001Q\\u0001?\\u0001ł\\u0001/\\u0004ł\\u0001/\\u0001ł\\u0006/\\u0001ł\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ń\\u0002\\\\0\\u0001ń\\u0001\\\\0\\u0004ń\\u0001\\\\0\\u0001ń\\u0006\\\\0\\u0001ń\\u0012\\\\0\\u0001Ń\\u0001G\\u0001\\\\0\\u0001ń\\u0001\\\\0\\u0004ń\\u0001\\\\0\\u0001ń\\u0006\\\\0\\u0001ń\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ņ\\u0002I\\u0001ņ\\u0001I\\u0004ņ\\u0001I\\u0001ņ\\u0006I\\u0001ņ\\u0012I\\u0001Ň\\u0001d\\u0001I\\u0001ņ\\u0001I\\u0004ņ\\u0001I\\u0001ņ\\u0006I\\u0001ņ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ĵ\\u00014\\u0001\\\\0\\u0001Ķ\\u0001\\\\0\\u0004Ķ\\u0001\\\\0\\u0001Ķ\\u0006\\\\0\\u0001Ķ\\u0006\\\\0\\\\f/\\u0001ň\\u0001/\\u0001?\\u0001ʼn\\u0001/\\u0004ʼn\\u0001/\\u0001ʼn\\u0006/\\u0001ʼn\\u0012/\\u0001ň\\u0001Q\\u0001?\\u0001ʼn\\u0001/\\u0004ʼn\\u0001/\\u0001ʼn\\u0006/\\u0001ʼn\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ŋ\\u0002\\\\0\\u0001ŋ\\u0001\\\\0\\u0004ŋ\\u0001\\\\0\\u0001ŋ\\u0006\\\\0\\u0001ŋ\\u0012\\\\0\\u0001Ŋ\\u0001G\\u0001\\\\0\\u0001ŋ\\u0001\\\\0\\u0004ŋ\\u0001\\\\0\\u0001ŋ\\u0006\\\\0\\u0001ŋ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ļ\\u00014\\u0001\\\\0\\u0001Ľ\\u0001\\\\0\\u0004Ľ\\u0001\\\\0\\u0001Ľ\\u0006\\\\0\\u0001Ľ\\u0006\\\\0\\\\fI\\u0001Ō\\u0001d\\u0001I\\u0001ō\\u0001I\\u0004ō\\u0001I\\u0001ō\\u0006I\\u0001ō\\u0001I\\u0001M\\u0010I\\u0001Ŏ\\u0002I\\u0001ō\\u0001I\\u0004ō\\u0001I\\u0001ō\\u0006I\\u0001ō\\u0006I\\\\f/\\u0001ŏ\\u0001/\\u0001?\\u0001Ő\\u0001/\\u0004Ő\\u0001/\\u0001Ő\\u0006/\\u0001Ő\\u0012/\\u0001ŏ\\u0001Q\\u0001?\\u0001Ő\\u0001/\\u0004Ő\\u0001/\\u0001Ő\\u0006/\\u0001Ő\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ő\\u0002\\\\0\\u0001Œ\\u0001\\\\0\\u0004Œ\\u0001\\\\0\\u0001Œ\\u0006\\\\0\\u0001Œ\\u0012\\\\0\\u0001ő\\u0001G\\u0001\\\\0\\u0001Œ\\u0001\\\\0\\u0004Œ\\u0001\\\\0\\u0001Œ\\u0006\\\\0\\u0001Œ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001œ\\u0002I\\u0001Ŕ\\u0001I\\u0004Ŕ\\u0001I\\u0001Ŕ\\u0006I\\u0001Ŕ\\u0012I\\u0001ŕ\\u0001d\\u0001I\\u0001Ŕ\\u0001I\\u0004Ŕ\\u0001I\\u0001Ŕ\\u0006I\\u0001Ŕ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ń\\u00014\\u0001\\\\0\\u0001ń\\u0001\\\\0\\u0004ń\\u0001\\\\0\\u0001ń\\u0006\\\\0\\u0001ń\\u0006\\\\0\\\\f/\\u0001Ŗ\\u0001/\\u0001?\\u0001ŗ\\u0001/\\u0004ŗ\\u0001/\\u0001ŗ\\u0006/\\u0001ŗ\\u0012/\\u0001Ŗ\\u0001Q\\u0001?\\u0001ŗ\\u0001/\\u0004ŗ\\u0001/\\u0001ŗ\\u0006/\\u0001ŗ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ř\\u0002\\\\0\\u0001ř\\u0001\\\\0\\u0004ř\\u0001\\\\0\\u0001ř\\u0006\\\\0\\u0001ř\\u0012\\\\0\\u0001Ř\\u0001G\\u0001\\\\0\\u0001ř\\u0001\\\\0\\u0004ř\\u0001\\\\0\\u0001ř\\u0006\\\\0\\u0001ř\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ŋ\\u00014\\u0001\\\\0\\u0001ŋ\\u0001\\\\0\\u0004ŋ\\u0001\\\\0\\u0001ŋ\\u0006\\\\0\\u0001ŋ\\u0006\\\\0\\\\fI\\u0001Ś\\u0001d\\u0001I\\u0001ś\\u0001I\\u0004ś\\u0001I\\u0001ś\\u0006I\\u0001ś\\u0001I\\u0001M\\u0010I\\u0001Ŝ\\u0002I\\u0001ś\\u0001I\\u0004ś\\u0001I\\u0001ś\\u0006I\\u0001ś\\u0006I\\\\f/\\u0001ŝ\\u0001/\\u0001?\\u0001Ş\\u0001/\\u0004Ş\\u0001/\\u0001Ş\\u0006/\\u0001Ş\\u0012/\\u0001ŝ\\u0001Q\\u0001?\\u0001Ş\\u0001/\\u0004Ş\\u0001/\\u0001Ş\\u0006/\\u0001Ş\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ş\\u0002\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0006\\\\0\\u0001Š\\u0012\\\\0\\u0001ş\\u0001G\\u0001\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0006\\\\0\\u0001Š\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001š\\u0002I\\u0001Ţ\\u0001I\\u0004Ţ\\u0001I\\u0001Ţ\\u0006I\\u0001Ţ\\u0012I\\u0001ţ\\u0001d\\u0001I\\u0001Ţ\\u0001I\\u0004Ţ\\u0001I\\u0001Ţ\\u0006I\\u0001Ţ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ő\\u00014\\u0001\\\\0\\u0001Œ\\u0001\\\\0\\u0004Œ\\u0001\\\\0\\u0001Œ\\u0006\\\\0\\u0001Œ\\u0006\\\\0\\\\f/\\u0001Ť\\u0001/\\u0001?\\u0001ť\\u0001/\\u0004ť\\u0001/\\u0001ť\\u0006/\\u0001ť\\u0012/\\u0001Ť\\u0001Q\\u0001?\\u0001ť\\u0001/\\u0004ť\\u0001/\\u0001ť\\u0006/\\u0001ť\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ŧ\\u0002\\\\0\\u0001ŧ\\u0001\\\\0\\u0004ŧ\\u0001\\\\0\\u0001ŧ\\u0006\\\\0\\u0001ŧ\\u0012\\\\0\\u0001Ŧ\\u0001G\\u0001\\\\0\\u0001ŧ\\u0001\\\\0\\u0004ŧ\\u0001\\\\0\\u0001ŧ\\u0006\\\\0\\u0001ŧ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ř\\u00014\\u0001\\\\0\\u0001ř\\u0001\\\\0\\u0004ř\\u0001\\\\0\\u0001ř\\u0006\\\\0\\u0001ř\\u0006\\\\0\\\\fI\\u0001Ũ\\u0001d\\u0001I\\u0001ũ\\u0001I\\u0004ũ\\u0001I\\u0001ũ\\u0006I\\u0001ũ\\u0001I\\u0001M\\u0010I\\u0001Ū\\u0002I\\u0001ũ\\u0001I\\u0004ũ\\u0001I\\u0001ũ\\u0006I\\u0001ũ\\u0006I\\\\f/\\u0001ū\\u0001/\\u0001?\\u0001Ŭ\\u0001/\\u0004Ŭ\\u0001/\\u0001Ŭ\\u0006/\\u0001Ŭ\\u0012/\\u0001ū\\u0001Q\\u0001?\\u0001Ŭ\\u0001/\\u0004Ŭ\\u0001/\\u0001Ŭ\\u0006/\\u0001Ŭ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ŭ\\u0002\\\\0\\u0001Ů\\u0001\\\\0\\u0004Ů\\u0001\\\\0\\u0001Ů\\u0006\\\\0\\u0001Ů\\u0012\\\\0\\u0001ŭ\\u0001G\\u0001\\\\0\\u0001Ů\\u0001\\\\0\\u0004Ů\\u0001\\\\0\\u0001Ů\\u0006\\\\0\\u0001Ů\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ů\\u0002I\\u0001Ű\\u0001I\\u0004Ű\\u0001I\\u0001Ű\\u0006I\\u0001Ű\\u0012I\\u0001ű\\u0001d\\u0001I\\u0001Ű\\u0001I\\u0004Ű\\u0001I\\u0001Ű\\u0006I\\u0001Ű\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ş\\u00014\\u0001\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0006\\\\0\\u0001Š\\u0006\\\\0\\\\f/\\u0001Ų\\u0001/\\u0001?\\u0001ų\\u0001/\\u0004ų\\u0001/\\u0001ų\\u0006/\\u0001ų\\u0012/\\u0001Ų\\u0001Q\\u0001?\\u0001ų\\u0001/\\u0004ų\\u0001/\\u0001ų\\u0006/\\u0001ų\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ŵ\\u0002\\\\0\\u0001ŵ\\u0001\\\\0\\u0004ŵ\\u0001\\\\0\\u0001ŵ\\u0006\\\\0\\u0001ŵ\\u0012\\\\0\\u0001Ŵ\\u0001G\\u0001\\\\0\\u0001ŵ\\u0001\\\\0\\u0004ŵ\\u0001\\\\0\\u0001ŵ\\u0006\\\\0\\u0001ŵ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ŧ\\u00014\\u0001\\\\0\\u0001ŧ\\u0001\\\\0\\u0004ŧ\\u0001\\\\0\\u0001ŧ\\u0006\\\\0\\u0001ŧ\\u0006\\\\0\\\\fI\\u0001Ŷ\\u0001d\\u0001I\\u0001ŷ\\u0001I\\u0004ŷ\\u0001I\\u0001ŷ\\u0006I\\u0001ŷ\\u0001I\\u0001M\\u0010I\\u0001Ÿ\\u0002I\\u0001ŷ\\u0001I\\u0004ŷ\\u0001I\\u0001ŷ\\u0006I\\u0001ŷ\\u0006I\\\\f/\\u0001Ź\\u0001/\\u0001?\\u0001ź\\u0001/\\u0004ź\\u0001/\\u0001ź\\u0006/\\u0001ź\\u0012/\\u0001Ź\\u0001Q\\u0001?\\u0001ź\\u0001/\\u0004ź\\u0001/\\u0001ź\\u0006/\\u0001ź\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ż\\u0002\\\\0\\u0001ż\\u0001\\\\0\\u0004ż\\u0001\\\\0\\u0001ż\\u0006\\\\0\\u0001ż\\u0012\\\\0\\u0001Ż\\u0001G\\u0001\\\\0\\u0001ż\\u0001\\\\0\\u0004ż\\u0001\\\\0\\u0001ż\\u0006\\\\0\\u0001ż\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ž\\u0002I\\u0001ž\\u0001I\\u0004ž\\u0001I\\u0001ž\\u0006I\\u0001ž\\u0012I\\u0001ſ\\u0001d\\u0001I\\u0001ž\\u0001I\\u0004ž\\u0001I\\u0001ž\\u0006I\\u0001ž\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ŭ\\u00014\\u0001\\\\0\\u0001Ů\\u0001\\\\0\\u0004Ů\\u0001\\\\0\\u0001Ů\\u0006\\\\0\\u0001Ů\\u0006\\\\0\\\\f/\\u0001ƀ\\u0001/\\u0001?\\u0001Ɓ\\u0001/\\u0004Ɓ\\u0001/\\u0001Ɓ\\u0006/\\u0001Ɓ\\u0012/\\u0001ƀ\\u0001Q\\u0001?\\u0001Ɓ\\u0001/\\u0004Ɓ\\u0001/\\u0001Ɓ\\u0006/\\u0001Ɓ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ƃ\\u0002\\\\0\\u0001ƃ\\u0001\\\\0\\u0004ƃ\\u0001\\\\0\\u0001ƃ\\u0006\\\\0\\u0001ƃ\\u0012\\\\0\\u0001Ƃ\\u0001G\\u0001\\\\0\\u0001ƃ\\u0001\\\\0\\u0004ƃ\\u0001\\\\0\\u0001ƃ\\u0006\\\\0\\u0001ƃ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ŵ\\u00014\\u0001\\\\0\\u0001ŵ\\u0001\\\\0\\u0004ŵ\\u0001\\\\0\\u0001ŵ\\u0006\\\\0\\u0001ŵ\\u0006\\\\0\\\\fI\\u0001Ƅ\\u0001d\\u0001I\\u0001ƅ\\u0001I\\u0004ƅ\\u0001I\\u0001ƅ\\u0006I\\u0001ƅ\\u0001I\\u0001M\\u0010I\\u0001Ɔ\\u0002I\\u0001ƅ\\u0001I\\u0004ƅ\\u0001I\\u0001ƅ\\u0006I\\u0001ƅ\\u0006I\\\\f/\\u0001Ƈ\\u0001/\\u0001?\\u0001ƈ\\u0001/\\u0004ƈ\\u0001/\\u0001ƈ\\u0006/\\u0001ƈ\\u0012/\\u0001Ƈ\\u0001Q\\u0001?\\u0001ƈ\\u0001/\\u0004ƈ\\u0001/\\u0001ƈ\\u0006/\\u0001ƈ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ɖ\\u0002\\\\0\\u0001Ɗ\\u0001\\\\0\\u0004Ɗ\\u0001\\\\0\\u0001Ɗ\\u0006\\\\0\\u0001Ɗ\\u0012\\\\0\\u0001Ɖ\\u0001G\\u0001\\\\0\\u0001Ɗ\\u0001\\\\0\\u0004Ɗ\\u0001\\\\0\\u0001Ɗ\\u0006\\\\0\\u0001Ɗ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ƌ\\u0002I\\u0001ƌ\\u0001I\\u0004ƌ\\u0001I\\u0001ƌ\\u0006I\\u0001ƌ\\u0012I\\u0001ƍ\\u0001d\\u0001I\\u0001ƌ\\u0001I\\u0004ƌ\\u0001I\\u0001ƌ\\u0006I\\u0001ƌ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ż\\u00014\\u0001\\\\0\\u0001ż\\u0001\\\\0\\u0004ż\\u0001\\\\0\\u0001ż\\u0006\\\\0\\u0001ż\\u0006\\\\0\\\\f/\\u0001Ǝ\\u0001/\\u0001?\\u0001Ə\\u0001/\\u0004Ə\\u0001/\\u0001Ə\\u0006/\\u0001Ə\\u0012/\\u0001Ǝ\\u0001Q\\u0001?\\u0001Ə\\u0001/\\u0004Ə\\u0001/\\u0001Ə\\u0006/\\u0001Ə\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ɛ\\u0002\\\\0\\u0001Ƒ\\u0001\\\\0\\u0004Ƒ\\u0001\\\\0\\u0001Ƒ\\u0006\\\\0\\u0001Ƒ\\u0012\\\\0\\u0001Ɛ\\u0001G\\u0001\\\\0\\u0001Ƒ\\u0001\\\\0\\u0004Ƒ\\u0001\\\\0\\u0001Ƒ\\u0006\\\\0\\u0001Ƒ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ƃ\\u00014\\u0001\\\\0\\u0001ƃ\\u0001\\\\0\\u0004ƃ\\u0001\\\\0\\u0001ƃ\\u0006\\\\0\\u0001ƃ\\u0006\\\\0\\\\fI\\u0001ƒ\\u0001d\\u0001I\\u0001Ɠ\\u0001I\\u0004Ɠ\\u0001I\\u0001Ɠ\\u0006I\\u0001Ɠ\\u0001I\\u0001M\\u0010I\\u0001Ɣ\\u0002I\\u0001Ɠ\\u0001I\\u0004Ɠ\\u0001I\\u0001Ɠ\\u0006I\\u0001Ɠ\\u0006I\\\\f/\\u0001ƕ\\u0001/\\u0001?\\u0001Ɩ\\u0001/\\u0004Ɩ\\u0001/\\u0001Ɩ\\u0006/\\u0001Ɩ\\u0012/\\u0001ƕ\\u0001Q\\u0001?\\u0001Ɩ\\u0001/\\u0004Ɩ\\u0001/\\u0001Ɩ\\u0006/\\u0001Ɩ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ɨ\\u0002\\\\0\\u0001Ƙ\\u0001\\\\0\\u0004Ƙ\\u0001\\\\0\\u0001Ƙ\\u0006\\\\0\\u0001Ƙ\\u0012\\\\0\\u0001Ɨ\\u0001G\\u0001\\\\0\\u0001Ƙ\\u0001\\\\0\\u0004Ƙ\\u0001\\\\0\\u0001Ƙ\\u0006\\\\0\\u0001Ƙ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ƙ\\u0002I\\u0001ƚ\\u0001I\\u0004ƚ\\u0001I\\u0001ƚ\\u0006I\\u0001ƚ\\u0012I\\u0001ƛ\\u0001d\\u0001I\\u0001ƚ\\u0001I\\u0004ƚ\\u0001I\\u0001ƚ\\u0006I\\u0001ƚ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ɖ\\u00014\\u0001\\\\0\\u0001Ɗ\\u0001\\\\0\\u0004Ɗ\\u0001\\\\0\\u0001Ɗ\\u0006\\\\0\\u0001Ɗ\\u0006\\\\0\\\\f/\\u0001Ɯ\\u0001/\\u0001?\\u0001Ɲ\\u0001/\\u0004Ɲ\\u0001/\\u0001Ɲ\\u0006/\\u0001Ɲ\\u0012/\\u0001Ɯ\\u0001Q\\u0001?\\u0001Ɲ\\u0001/\\u0004Ɲ\\u0001/\\u0001Ɲ\\u0006/\\u0001Ɲ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ƞ\\u0002\\\\0\\u0001Ɵ\\u0001\\\\0\\u0004Ɵ\\u0001\\\\0\\u0001Ɵ\\u0006\\\\0\\u0001Ɵ\\u0012\\\\0\\u0001ƞ\\u0001G\\u0001\\\\0\\u0001Ɵ\\u0001\\\\0\\u0004Ɵ\\u0001\\\\0\\u0001Ɵ\\u0006\\\\0\\u0001Ɵ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ɛ\\u00014\\u0001\\\\0\\u0001Ƒ\\u0001\\\\0\\u0004Ƒ\\u0001\\\\0\\u0001Ƒ\\u0006\\\\0\\u0001Ƒ\\u0006\\\\0\\\\fI\\u0001Ơ\\u0001d\\u0001I\\u0001ơ\\u0001I\\u0004ơ\\u0001I\\u0001ơ\\u0006I\\u0001ơ\\u0001I\\u0001M\\u0010I\\u0001Ƣ\\u0002I\\u0001ơ\\u0001I\\u0004ơ\\u0001I\\u0001ơ\\u0006I\\u0001ơ\\u0006I\\\\f/\\u0001ƣ\\u0001/\\u0001?\\u0001Ƥ\\u0001/\\u0004Ƥ\\u0001/\\u0001Ƥ\\u0006/\\u0001Ƥ\\u0012/\\u0001ƣ\\u0001Q\\u0001?\\u0001Ƥ\\u0001/\\u0004Ƥ\\u0001/\\u0001Ƥ\\u0006/\\u0001Ƥ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ƥ\\u0002\\\\0\\u0001Ʀ\\u0001\\\\0\\u0004Ʀ\\u0001\\\\0\\u0001Ʀ\\u0006\\\\0\\u0001Ʀ\\u0012\\\\0\\u0001ƥ\\u0001G\\u0001\\\\0\\u0001Ʀ\\u0001\\\\0\\u0004Ʀ\\u0001\\\\0\\u0001Ʀ\\u0006\\\\0\\u0001Ʀ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ƨ\\u0002I\\u0001ƨ\\u0001I\\u0004ƨ\\u0001I\\u0001ƨ\\u0006I\\u0001ƨ\\u0012I\\u0001Ʃ\\u0001d\\u0001I\\u0001ƨ\\u0001I\\u0004ƨ\\u0001I\\u0001ƨ\\u0006I\\u0001ƨ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ɨ\\u00014\\u0001\\\\0\\u0001Ƙ\\u0001\\\\0\\u0004Ƙ\\u0001\\\\0\\u0001Ƙ\\u0006\\\\0\\u0001Ƙ\\u0006\\\\0\\\\f/\\u0001ƪ\\u0001/\\u0001?\\u0001ƫ\\u0001/\\u0004ƫ\\u0001/\\u0001ƫ\\u0006/\\u0001ƫ\\u0012/\\u0001ƪ\\u0001Q\\u0001?\\u0001ƫ\\u0001/\\u0004ƫ\\u0001/\\u0001ƫ\\u0006/\\u0001ƫ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ƭ\\u0002\\\\0\\u0001ƭ\\u0001\\\\0\\u0004ƭ\\u0001\\\\0\\u0001ƭ\\u0006\\\\0\\u0001ƭ\\u0012\\\\0\\u0001Ƭ\\u0001G\\u0001\\\\0\\u0001ƭ\\u0001\\\\0\\u0004ƭ\\u0001\\\\0\\u0001ƭ\\u0006\\\\0\\u0001ƭ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ƞ\\u00014\\u0001\\\\0\\u0001Ɵ\\u0001\\\\0\\u0004Ɵ\\u0001\\\\0\\u0001Ɵ\\u0006\\\\0\\u0001Ɵ\\u0006\\\\0\\\\fI\\u0001Ʈ\\u0001d\\u0001I\\u0001Ư\\u0001I\\u0004Ư\\u0001I\\u0001Ư\\u0006I\\u0001Ư\\u0001I\\u0001M\\u0010I\\u0001ư\\u0002I\\u0001Ư\\u0001I\\u0004Ư\\u0001I\\u0001Ư\\u0006I\\u0001Ư\\u0006I\\\\f/\\u0001Ʊ\\u0001/\\u0001?\\u0001Ʋ\\u0001/\\u0004Ʋ\\u0001/\\u0001Ʋ\\u0006/\\u0001Ʋ\\u0012/\\u0001Ʊ\\u0001Q\\u0001?\\u0001Ʋ\\u0001/\\u0004Ʋ\\u0001/\\u0001Ʋ\\u0006/\\u0001Ʋ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ƴ\\u0002\\\\0\\u0001ƴ\\u0001\\\\0\\u0004ƴ\\u0001\\\\0\\u0001ƴ\\u0006\\\\0\\u0001ƴ\\u0012\\\\0\\u0001Ƴ\\u0001G\\u0001\\\\0\\u0001ƴ\\u0001\\\\0\\u0004ƴ\\u0001\\\\0\\u0001ƴ\\u0006\\\\0\\u0001ƴ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ƶ\\u0002I\\u0001ƶ\\u0001I\\u0004ƶ\\u0001I\\u0001ƶ\\u0006I\\u0001ƶ\\u0012I\\u0001Ʒ\\u0001d\\u0001I\\u0001ƶ\\u0001I\\u0004ƶ\\u0001I\\u0001ƶ\\u0006I\\u0001ƶ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ƥ\\u00014\\u0001\\\\0\\u0001Ʀ\\u0001\\\\0\\u0004Ʀ\\u0001\\\\0\\u0001Ʀ\\u0006\\\\0\\u0001Ʀ\\u0006\\\\0\\\\f/\\u0001Ƹ\\u0001/\\u0001?\\u0001ƹ\\u0001/\\u0004ƹ\\u0001/\\u0001ƹ\\u0006/\\u0001ƹ\\u0012/\\u0001Ƹ\\u0001Q\\u0001?\\u0001ƹ\\u0001/\\u0004ƹ\\u0001/\\u0001ƹ\\u0006/\\u0001ƹ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ƺ\\u0002\\\\0\\u0001ƻ\\u0001\\\\0\\u0004ƻ\\u0001\\\\0\\u0001ƻ\\u0006\\\\0\\u0001ƻ\\u0012\\\\0\\u0001ƺ\\u0001G\\u0001\\\\0\\u0001ƻ\\u0001\\\\0\\u0004ƻ\\u0001\\\\0\\u0001ƻ\\u0006\\\\0\\u0001ƻ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ƭ\\u00014\\u0001\\\\0\\u0001ƭ\\u0001\\\\0\\u0004ƭ\\u0001\\\\0\\u0001ƭ\\u0006\\\\0\\u0001ƭ\\u0006\\\\0\\\\fI\\u0001Ƽ\\u0001d\\u0001I\\u0001ƽ\\u0001I\\u0004ƽ\\u0001I\\u0001ƽ\\u0006I\\u0001ƽ\\u0001I\\u0001M\\u0010I\\u0001ƾ\\u0002I\\u0001ƽ\\u0001I\\u0004ƽ\\u0001I\\u0001ƽ\\u0006I\\u0001ƽ\\u0006I\\\\f/\\u0001ƿ\\u0001/\\u0001?\\u0001ǀ\\u0001/\\u0004ǀ\\u0001/\\u0001ǀ\\u0006/\\u0001ǀ\\u0012/\\u0001ƿ\\u0001Q\\u0001?\\u0001ǀ\\u0001/\\u0004ǀ\\u0001/\\u0001ǀ\\u0006/\\u0001ǀ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǁ\\u0002\\\\0\\u0001ǂ\\u0001\\\\0\\u0004ǂ\\u0001\\\\0\\u0001ǂ\\u0006\\\\0\\u0001ǂ\\u0012\\\\0\\u0001ǁ\\u0001G\\u0001\\\\0\\u0001ǂ\\u0001\\\\0\\u0004ǂ\\u0001\\\\0\\u0001ǂ\\u0006\\\\0\\u0001ǂ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ǃ\\u0002I\\u0001DŽ\\u0001I\\u0004DŽ\\u0001I\\u0001DŽ\\u0006I\\u0001DŽ\\u0012I\\u0001Dž\\u0001d\\u0001I\\u0001DŽ\\u0001I\\u0004DŽ\\u0001I\\u0001DŽ\\u0006I\\u0001DŽ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ƴ\\u00014\\u0001\\\\0\\u0001ƴ\\u0001\\\\0\\u0004ƴ\\u0001\\\\0\\u0001ƴ\\u0006\\\\0\\u0001ƴ\\u0006\\\\0\\\\f/\\u0001dž\\u0001/\\u0001?\\u0001LJ\\u0001/\\u0004LJ\\u0001/\\u0001LJ\\u0006/\\u0001LJ\\u0012/\\u0001dž\\u0001Q\\u0001?\\u0001LJ\\u0001/\\u0004LJ\\u0001/\\u0001LJ\\u0006/\\u0001LJ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Lj\\u0002\\\\0\\u0001lj\\u0001\\\\0\\u0004lj\\u0001\\\\0\\u0001lj\\u0006\\\\0\\u0001lj\\u0012\\\\0\\u0001Lj\\u0001G\\u0001\\\\0\\u0001lj\\u0001\\\\0\\u0004lj\\u0001\\\\0\\u0001lj\\u0006\\\\0\\u0001lj\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ƺ\\u00014\\u0001\\\\0\\u0001ƻ\\u0001\\\\0\\u0004ƻ\\u0001\\\\0\\u0001ƻ\\u0006\\\\0\\u0001ƻ\\u0006\\\\0\\\\fI\\u0001NJ\\u0001d\\u0001I\\u0001Nj\\u0001I\\u0004Nj\\u0001I\\u0001Nj\\u0006I\\u0001Nj\\u0001I\\u0001M\\u0010I\\u0001nj\\u0002I\\u0001Nj\\u0001I\\u0004Nj\\u0001I\\u0001Nj\\u0006I\\u0001Nj\\u0006I\\\\f/\\u0001Ǎ\\u0001/\\u0001?\\u0001ǎ\\u0001/\\u0004ǎ\\u0001/\\u0001ǎ\\u0006/\\u0001ǎ\\u0012/\\u0001Ǎ\\u0001Q\\u0001?\\u0001ǎ\\u0001/\\u0004ǎ\\u0001/\\u0001ǎ\\u0006/\\u0001ǎ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ǐ\\u0002\\\\0\\u0001ǐ\\u0001\\\\0\\u0004ǐ\\u0001\\\\0\\u0001ǐ\\u0006\\\\0\\u0001ǐ\\u0012\\\\0\\u0001Ǐ\\u0001G\\u0001\\\\0\\u0001ǐ\\u0001\\\\0\\u0004ǐ\\u0001\\\\0\\u0001ǐ\\u0006\\\\0\\u0001ǐ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ǒ\\u0002I\\u0001ǒ\\u0001I\\u0004ǒ\\u0001I\\u0001ǒ\\u0006I\\u0001ǒ\\u0012I\\u0001Ǔ\\u0001d\\u0001I\\u0001ǒ\\u0001I\\u0004ǒ\\u0001I\\u0001ǒ\\u0006I\\u0001ǒ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ǁ\\u00014\\u0001\\\\0\\u0001ǂ\\u0001\\\\0\\u0004ǂ\\u0001\\\\0\\u0001ǂ\\u0006\\\\0\\u0001ǂ\\u0006\\\\0\\\\f/\\u0001ǔ\\u0001/\\u0001?\\u0001Ǖ\\u0001/\\u0004Ǖ\\u0001/\\u0001Ǖ\\u0006/\\u0001Ǖ\\u0012/\\u0001ǔ\\u0001Q\\u0001?\\u0001Ǖ\\u0001/\\u0004Ǖ\\u0001/\\u0001Ǖ\\u0006/\\u0001Ǖ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǖ\\u0002\\\\0\\u0001Ǘ\\u0001\\\\0\\u0004Ǘ\\u0001\\\\0\\u0001Ǘ\\u0006\\\\0\\u0001Ǘ\\u0012\\\\0\\u0001ǖ\\u0001G\\u0001\\\\0\\u0001Ǘ\\u0001\\\\0\\u0004Ǘ\\u0001\\\\0\\u0001Ǘ\\u0006\\\\0\\u0001Ǘ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Lj\\u00014\\u0001\\\\0\\u0001lj\\u0001\\\\0\\u0004lj\\u0001\\\\0\\u0001lj\\u0006\\\\0\\u0001lj\\u0006\\\\0\\\\fI\\u0001ǘ\\u0001d\\u0001I\\u0001Ǚ\\u0001I\\u0004Ǚ\\u0001I\\u0001Ǚ\\u0006I\\u0001Ǚ\\u0001I\\u0001M\\u0010I\\u0001ǚ\\u0002I\\u0001Ǚ\\u0001I\\u0004Ǚ\\u0001I\\u0001Ǚ\\u0006I\\u0001Ǚ\\u0006I\\\\f/\\u0001Ǜ\\u0001/\\u0001?\\u0001ǜ\\u0001/\\u0004ǜ\\u0001/\\u0001ǜ\\u0006/\\u0001ǜ\\u0012/\\u0001Ǜ\\u0001Q\\u0001?\\u0001ǜ\\u0001/\\u0004ǜ\\u0001/\\u0001ǜ\\u0006/\\u0001ǜ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǝ\\u0002\\\\0\\u0001Ǟ\\u0001\\\\0\\u0004Ǟ\\u0001\\\\0\\u0001Ǟ\\u0006\\\\0\\u0001Ǟ\\u0012\\\\0\\u0001ǝ\\u0001G\\u0001\\\\0\\u0001Ǟ\\u0001\\\\0\\u0004Ǟ\\u0001\\\\0\\u0001Ǟ\\u0006\\\\0\\u0001Ǟ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ǟ\\u0002I\\u0001Ǡ\\u0001I\\u0004Ǡ\\u0001I\\u0001Ǡ\\u0006I\\u0001Ǡ\\u0012I\\u0001ǡ\\u0001d\\u0001I\\u0001Ǡ\\u0001I\\u0004Ǡ\\u0001I\\u0001Ǡ\\u0006I\\u0001Ǡ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ǐ\\u00014\\u0001\\\\0\\u0001ǐ\\u0001\\\\0\\u0004ǐ\\u0001\\\\0\\u0001ǐ\\u0006\\\\0\\u0001ǐ\\u0006\\\\0\\\\f/\\u0001Ǣ\\u0001/\\u0001?\\u0001ǣ\\u0001/\\u0004ǣ\\u0001/\\u0001ǣ\\u0006/\\u0001ǣ\\u0012/\\u0001Ǣ\\u0001Q\\u0001?\\u0001ǣ\\u0001/\\u0004ǣ\\u0001/\\u0001ǣ\\u0006/\\u0001ǣ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ǥ\\u0002\\\\0\\u0001ǥ\\u0001\\\\0\\u0004ǥ\\u0001\\\\0\\u0001ǥ\\u0006\\\\0\\u0001ǥ\\u0012\\\\0\\u0001Ǥ\\u0001G\\u0001\\\\0\\u0001ǥ\\u0001\\\\0\\u0004ǥ\\u0001\\\\0\\u0001ǥ\\u0006\\\\0\\u0001ǥ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ǖ\\u00014\\u0001\\\\0\\u0001Ǘ\\u0001\\\\0\\u0004Ǘ\\u0001\\\\0\\u0001Ǘ\\u0006\\\\0\\u0001Ǘ\\u0006\\\\0\\\\fI\\u0001Ǧ\\u0001d\\u0001I\\u0001ǧ\\u0001I\\u0004ǧ\\u0001I\\u0001ǧ\\u0006I\\u0001ǧ\\u0001I\\u0001M\\u0010I\\u0001Ǩ\\u0002I\\u0001ǧ\\u0001I\\u0004ǧ\\u0001I\\u0001ǧ\\u0006I\\u0001ǧ\\u0006I\\\\f/\\u0001ǩ\\u0001/\\u0001?\\u0001Ǫ\\u0001/\\u0004Ǫ\\u0001/\\u0001Ǫ\\u0006/\\u0001Ǫ\\u0012/\\u0001ǩ\\u0001Q\\u0001?\\u0001Ǫ\\u0001/\\u0004Ǫ\\u0001/\\u0001Ǫ\\u0006/\\u0001Ǫ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǫ\\u0002\\\\0\\u0001Ǭ\\u0001\\\\0\\u0004Ǭ\\u0001\\\\0\\u0001Ǭ\\u0006\\\\0\\u0001Ǭ\\u0012\\\\0\\u0001ǫ\\u0001G\\u0001\\\\0\\u0001Ǭ\\u0001\\\\0\\u0004Ǭ\\u0001\\\\0\\u0001Ǭ\\u0006\\\\0\\u0001Ǭ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ǭ\\u0002I\\u0001Ǯ\\u0001I\\u0004Ǯ\\u0001I\\u0001Ǯ\\u0006I\\u0001Ǯ\\u0012I\\u0001ǯ\\u0001d\\u0001I\\u0001Ǯ\\u0001I\\u0004Ǯ\\u0001I\\u0001Ǯ\\u0006I\\u0001Ǯ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ǝ\\u00014\\u0001\\\\0\\u0001Ǟ\\u0001\\\\0\\u0004Ǟ\\u0001\\\\0\\u0001Ǟ\\u0006\\\\0\\u0001Ǟ\\u0006\\\\0\\\\f/\\u0001ǰ\\u0001/\\u0001?\\u0001DZ\\u0001/\\u0004DZ\\u0001/\\u0001DZ\\u0006/\\u0001DZ\\u0012/\\u0001ǰ\\u0001Q\\u0001?\\u0001DZ\\u0001/\\u0004DZ\\u0001/\\u0001DZ\\u0006/\\u0001DZ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Dz\\u0002\\\\0\\u0001dz\\u0001\\\\0\\u0004dz\\u0001\\\\0\\u0001dz\\u0006\\\\0\\u0001dz\\u0012\\\\0\\u0001Dz\\u0001G\\u0001\\\\0\\u0001dz\\u0001\\\\0\\u0004dz\\u0001\\\\0\\u0001dz\\u0006\\\\0\\u0001dz\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ǥ\\u00014\\u0001\\\\0\\u0001ǥ\\u0001\\\\0\\u0004ǥ\\u0001\\\\0\\u0001ǥ\\u0006\\\\0\\u0001ǥ\\u0006\\\\0\\\\fI\\u0001Ǵ\\u0001d\\u0001I\\u0001ǵ\\u0001I\\u0004ǵ\\u0001I\\u0001ǵ\\u0006I\\u0001ǵ\\u0001I\\u0001M\\u0010I\\u0001Ƕ\\u0002I\\u0001ǵ\\u0001I\\u0004ǵ\\u0001I\\u0001ǵ\\u0006I\\u0001ǵ\\u0006I\\\\f/\\u0001Ƿ\\u0001/\\u0001?\\u0001Ǹ\\u0001/\\u0004Ǹ\\u0001/\\u0001Ǹ\\u0006/\\u0001Ǹ\\u0012/\\u0001Ƿ\\u0001Q\\u0001?\\u0001Ǹ\\u0001/\\u0004Ǹ\\u0001/\\u0001Ǹ\\u0006/\\u0001Ǹ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǹ\\u0002\\\\0\\u0001Ǻ\\u0001\\\\0\\u0004Ǻ\\u0001\\\\0\\u0001Ǻ\\u0006\\\\0\\u0001Ǻ\\u0012\\\\0\\u0001ǹ\\u0001G\\u0001\\\\0\\u0001Ǻ\\u0001\\\\0\\u0004Ǻ\\u0001\\\\0\\u0001Ǻ\\u0006\\\\0\\u0001Ǻ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ǻ\\u0002I\\u0001Ǽ\\u0001I\\u0004Ǽ\\u0001I\\u0001Ǽ\\u0006I\\u0001Ǽ\\u0012I\\u0001ǽ\\u0001d\\u0001I\\u0001Ǽ\\u0001I\\u0004Ǽ\\u0001I\\u0001Ǽ\\u0006I\\u0001Ǽ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ǫ\\u00014\\u0001\\\\0\\u0001Ǭ\\u0001\\\\0\\u0004Ǭ\\u0001\\\\0\\u0001Ǭ\\u0006\\\\0\\u0001Ǭ\\u0006\\\\0\\\\f/\\u0001Ǿ\\u0001/\\u0001?\\u0001ǿ\\u0001/\\u0004ǿ\\u0001/\\u0001ǿ\\u0006/\\u0001ǿ\\u0012/\\u0001Ǿ\\u0001Q\\u0001?\\u0001ǿ\\u0001/\\u0004ǿ\\u0001/\\u0001ǿ\\u0006/\\u0001ǿ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ȁ\\u0002\\\\0\\u0001ȁ\\u0001\\\\0\\u0004ȁ\\u0001\\\\0\\u0001ȁ\\u0006\\\\0\\u0001ȁ\\u0012\\\\0\\u0001Ȁ\\u0001G\\u0001\\\\0\\u0001ȁ\\u0001\\\\0\\u0004ȁ\\u0001\\\\0\\u0001ȁ\\u0006\\\\0\\u0001ȁ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Dz\\u00014\\u0001\\\\0\\u0001dz\\u0001\\\\0\\u0004dz\\u0001\\\\0\\u0001dz\\u0006\\\\0\\u0001dz\\u0006\\\\0\\\\fI\\u0001Ȃ\\u0001d\\u0001I\\u0001ȃ\\u0001I\\u0004ȃ\\u0001I\\u0001ȃ\\u0006I\\u0001ȃ\\u0001I\\u0001M\\u0010I\\u0001Ȅ\\u0002I\\u0001ȃ\\u0001I\\u0004ȃ\\u0001I\\u0001ȃ\\u0006I\\u0001ȃ\\u0006I\\\\f/\\u0001ȅ\\u0001/\\u0001?\\u0001Ȇ\\u0001/\\u0004Ȇ\\u0001/\\u0001Ȇ\\u0006/\\u0001Ȇ\\u0012/\\u0001ȅ\\u0001Q\\u0001?\\u0001Ȇ\\u0001/\\u0004Ȇ\\u0001/\\u0001Ȇ\\u0006/\\u0001Ȇ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ȇ\\u0002\\\\0\\u0001Ȉ\\u0001\\\\0\\u0004Ȉ\\u0001\\\\0\\u0001Ȉ\\u0006\\\\0\\u0001Ȉ\\u0012\\\\0\\u0001ȇ\\u0001G\\u0001\\\\0\\u0001Ȉ\\u0001\\\\0\\u0004Ȉ\\u0001\\\\0\\u0001Ȉ\\u0006\\\\0\\u0001Ȉ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ȉ\\u0002I\\u0001Ȋ\\u0001I\\u0004Ȋ\\u0001I\\u0001Ȋ\\u0006I\\u0001Ȋ\\u0012I\\u0001ȋ\\u0001d\\u0001I\\u0001Ȋ\\u0001I\\u0004Ȋ\\u0001I\\u0001Ȋ\\u0006I\\u0001Ȋ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ǹ\\u00014\\u0001\\\\0\\u0001Ǻ\\u0001\\\\0\\u0004Ǻ\\u0001\\\\0\\u0001Ǻ\\u0006\\\\0\\u0001Ǻ\\u0006\\\\0\\\\f/\\u0001Ȍ\\u0001/\\u0001?\\u0001ȍ\\u0001/\\u0004ȍ\\u0001/\\u0001ȍ\\u0006/\\u0001ȍ\\u0012/\\u0001Ȍ\\u0001Q\\u0001?\\u0001ȍ\\u0001/\\u0004ȍ\\u0001/\\u0001ȍ\\u0006/\\u0001ȍ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ȏ\\u0002\\\\0\\u0001ȏ\\u0001\\\\0\\u0004ȏ\\u0001\\\\0\\u0001ȏ\\u0006\\\\0\\u0001ȏ\\u0012\\\\0\\u0001Ȏ\\u0001G\\u0001\\\\0\\u0001ȏ\\u0001\\\\0\\u0004ȏ\\u0001\\\\0\\u0001ȏ\\u0006\\\\0\\u0001ȏ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ȁ\\u00014\\u0001\\\\0\\u0001ȁ\\u0001\\\\0\\u0004ȁ\\u0001\\\\0\\u0001ȁ\\u0006\\\\0\\u0001ȁ\\u0006\\\\0\\\\fI\\u0001Ȑ\\u0001d\\u0001I\\u0001ȑ\\u0001I\\u0004ȑ\\u0001I\\u0001ȑ\\u0006I\\u0001ȑ\\u0001I\\u0001M\\u0010I\\u0001Ȓ\\u0002I\\u0001ȑ\\u0001I\\u0004ȑ\\u0001I\\u0001ȑ\\u0006I\\u0001ȑ\\u0006I\\\\f/\\u0001ȓ\\u0001/\\u0001?\\u0001Ȕ\\u0001/\\u0004Ȕ\\u0001/\\u0001Ȕ\\u0006/\\u0001Ȕ\\u0012/\\u0001ȓ\\u0001Q\\u0001?\\u0001Ȕ\\u0001/\\u0004Ȕ\\u0001/\\u0001Ȕ\\u0006/\\u0001Ȕ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ȕ\\u0002\\\\0\\u0001Ȗ\\u0001\\\\0\\u0004Ȗ\\u0001\\\\0\\u0001Ȗ\\u0006\\\\0\\u0001Ȗ\\u0012\\\\0\\u0001ȕ\\u0001G\\u0001\\\\0\\u0001Ȗ\\u0001\\\\0\\u0004Ȗ\\u0001\\\\0\\u0001Ȗ\\u0006\\\\0\\u0001Ȗ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ȗ\\u0002I\\u0001Ș\\u0001I\\u0004Ș\\u0001I\\u0001Ș\\u0006I\\u0001Ș\\u0012I\\u0001ș\\u0001d\\u0001I\\u0001Ș\\u0001I\\u0004Ș\\u0001I\\u0001Ș\\u0006I\\u0001Ș\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ȇ\\u00014\\u0001\\\\0\\u0001Ȉ\\u0001\\\\0\\u0004Ȉ\\u0001\\\\0\\u0001Ȉ\\u0006\\\\0\\u0001Ȉ\\u0006\\\\0\\\\f/\\u0001Ț\\u0001/\\u0001?\\u0001ț\\u0001/\\u0004ț\\u0001/\\u0001ț\\u0006/\\u0001ț\\u0012/\\u0001Ț\\u0001Q\\u0001?\\u0001ț\\u0001/\\u0004ț\\u0001/\\u0001ț\\u0006/\\u0001ț\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ȝ\\u0002\\\\0\\u0001ȝ\\u0001\\\\0\\u0004ȝ\\u0001\\\\0\\u0001ȝ\\u0006\\\\0\\u0001ȝ\\u0012\\\\0\\u0001Ȝ\\u0001G\\u0001\\\\0\\u0001ȝ\\u0001\\\\0\\u0004ȝ\\u0001\\\\0\\u0001ȝ\\u0006\\\\0\\u0001ȝ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ȏ\\u00014\\u0001\\\\0\\u0001ȏ\\u0001\\\\0\\u0004ȏ\\u0001\\\\0\\u0001ȏ\\u0006\\\\0\\u0001ȏ\\u0006\\\\0\\\\fI\\u0001Ȟ\\u0001d\\u0001I\\u0001ȟ\\u0001I\\u0004ȟ\\u0001I\\u0001ȟ\\u0006I\\u0001ȟ\\u0001I\\u0001M\\u0010I\\u0001Ƞ\\u0002I\\u0001ȟ\\u0001I\\u0004ȟ\\u0001I\\u0001ȟ\\u0006I\\u0001ȟ\\u0006I\\\\f/\\u0001ȡ\\u0001/\\u0001?\\u0001Ȣ\\u0001/\\u0004Ȣ\\u0001/\\u0001Ȣ\\u0006/\\u0001Ȣ\\u0012/\\u0001ȡ\\u0001Q\\u0001?\\u0001Ȣ\\u0001/\\u0004Ȣ\\u0001/\\u0001Ȣ\\u0006/\\u0001Ȣ\\u0001/\\u00011\\u0004/\\u000f\\\\0\\u0001ȣ\\u0001\\\\0\\u0004ȣ\\u0001\\\\0\\u0001ȣ\\u0006\\\\0\\u0001ȣ\\u0013\\\\0\\u0001G\\u0001\\\\0\\u0001ȣ\\u0001\\\\0\\u0004ȣ\\u0001\\\\0\\u0001ȣ\\u0006\\\\0\\u0001ȣ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ȥ\\u0002I\\u0001ȥ\\u0001I\\u0004ȥ\\u0001I\\u0001ȥ\\u0006I\\u0001ȥ\\u0012I\\u0001Ȧ\\u0001d\\u0001I\\u0001ȥ\\u0001I\\u0004ȥ\\u0001I\\u0001ȥ\\u0006I\\u0001ȥ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ȕ\\u00014\\u0001\\\\0\\u0001Ȗ\\u0001\\\\0\\u0004Ȗ\\u0001\\\\0\\u0001Ȗ\\u0006\\\\0\\u0001Ȗ\\u0006\\\\0\\u000e/\\u0001?\\u0001ȧ\\u0001/\\u0004ȧ\\u0001/\\u0001ȧ\\u0006/\\u0001ȧ\\u0013/\\u0001Q\\u0001?\\u0001ȧ\\u0001/\\u0004ȧ\\u0001/\\u0001ȧ\\u0006/\\u0001ȧ\\u0001/\\u00011\\u0004/\\\\r\\\\0\\u0001G\\u0011\\\\0\\u0001+\\u0010\\\\0\\u0001Ȝ\\u00014\\u0001\\\\0\\u0001ȝ\\u0001\\\\0\\u0004ȝ\\u0001\\\\0\\u0001ȝ\\u0006\\\\0\\u0001ȝ\\u0006\\\\0\\\\fI\\u0001Ȩ\\u0001d\\u0001I\\u0001ȩ\\u0001I\\u0004ȩ\\u0001I\\u0001ȩ\\u0006I\\u0001ȩ\\u0001I\\u0001M\\u0010I\\u0001Ȫ\\u0002I\\u0001ȩ\\u0001I\\u0004ȩ\\u0001I\\u0001ȩ\\u0006I\\u0001ȩ\\u0006I\\\\r/\\u0001Q\\u0001?\\u0010/\\u00011\\u0004/\\\\fI\\u0001A\\u0002I\\u0001ȫ\\u0001I\\u0004ȫ\\u0001I\\u0001ȫ\\u0006I\\u0001ȫ\\u0012I\\u0001X\\u0001d\\u0001I\\u0001ȫ\\u0001I\\u0004ȫ\\u0001I\\u0001ȫ\\u0006I\\u0001ȫ\\u0001I\\u0001M\\u0004I\\\\r\\\\0\\u00014\\u0001\\\\0\\u0001ȣ\\u0001\\\\0\\u0004ȣ\\u0001\\\\0\\u0001ȣ\\u0006\\\\0\\u0001ȣ\\u0006\\\\0\\\\fI\\u0001X\\u0001d\\u0011I\\u0001M\\u0004I',this.d5d_1=function(t){var e=new Int32Array(19080),n=0;return n=function(t,e,n,r){for(var i=0,o=n,a=e.length;i<a;){var s=i;i=s+1|0;var l=Ft(ct(e,s)),u=i;i=u+1|0;var c=Ft(ct(e,u));c=c-1|0;do{var h=o;o=h+1|0,r[h]=c,l=l-1|0}while(l>0)}return o}(0,'\\u0002\\u0005\\u0001\\u0006\\u0001\\u0005\\u0001\\u0006\\u0001\\u0005\\u0001\\u0007\\u0006\\u0005\\u0001\\\\b\\u0016\\u0005%\\\\t\\u0001\\\\n\\u0001\\\\v\\u0001\\\\f\\u0001\\\\v\\u0002\\\\f\\u0001\\\\r\\u0001\\u000e\\u0001\\\\r\\u0001\\u000f\\u0001\\u0010\\u0001\\\\t\\u0001\\\\r\\u0001\\\\t\\u0001\\\\n\\u0001\\\\r\\u0004\\\\n\\u0001\\\\r\\u0001\\\\n\\u0001\\u0011\\u0001\\u0012\\u0001\\u0013\\u0003\\\\t\\u0001\\\\n\\u0004\\\\t\\u0001\\u0012\\u0001\\\\r\\u0002\\u0014\\u0001\\u0015\\u0001\\u0005\\u0001\\u0016\\u0001\\u0005\\u0001\\u0007\\u0001\\u0014\\u0001\\u0017\\u0001\\u0014\\u0001\\u0018\\\\r\\u0014\\u0001\\u0012\\u0001\\u0013\\\\b\\u0014\\u0001\\u0012\\u0001\\u0014&\\\\0\\u0001\\u0019\\u0001\\u0005\\u0001\\u001a\\u0001\\u0005\\u0001\\u0007\\u0006\\\\0\\u0001\\\\b\\u001b\\\\0\\u0001\\u0005\\u001f\\\\0\\u0001\\\\n\\u0001\\u001b\\u0001\\\\0\\u0001\\u001b\\\\n\\\\0\\u0001\\\\n\\u0001\\\\0\\u0004\\\\n\\u0001\\\\0\\u0001\\\\n\\u0001\\\\0\\u0001\\u001c\\u0004\\\\0\\u0001\\\\n\\\\b\\\\0\\u0001\\\\v\\u0001\\\\f\\u0001\\\\v\\u0002\\\\f\\u0011\\\\0\\u0001\\u001d\\\\t\\\\0\\u0001\\u001d\\u0003\\\\0\\u0005\\\\f \\\\0\\u0003\\u001e\\u0001\\u001f\\u0007 \\u0002\\\\0\\u0001 \\u0004\\\\0\\u0001 \\u0001\\\\0\\u0002 \\u0001!\\u0001\\\\0\\u0001 \\u0002\\\\0\\u0006 \\\\t\\\\0\\u0001\\\"\\u0001\\\\0\\u0001#\\u0001\\\"\\u0001\\\\0\\u0001$\\u0001%\\u0001\\\\0\\u0004%\\u0001\\\\0\\u0001%\\u0001\\\\0\\u0003\\\"\\u0001&\\u0002\\\"\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u001a\\\\0\\u0001\\u0013\\\\f\\\\0\\u0001\\\\'\\u0001\\\\0\\u0001\\\\'\\u0013\\\\0\\u0001\\u001d\\\\t\\\\0\\u0001\\u001d\\\\b\\\\0\\u0007 \\u0002\\\\0\\u0001 \\u0004\\\\0\\u0001 \\u0001\\\\0\\u0002 \\u0001!\\u0001\\\\0\\u0001 \\u0002\\\\0\\u0006 \\u0002\\\\0\\u0001(\\u0001\\u0005\\u0001)\\u0001\\u0005\\u0001\\u0007\\u0006\\\\0\\u0001\\\\b\\u0017\\\\0\\u0001\\\\n\\u0001\\u001b\\u0001\\\\0\\u0001\\u001b\\\\n\\\\0\\u0001\\\\n\\u0001\\\\0\\u0004\\\\n\\u0001\\\\0\\u0001\\\\n\\u0006\\\\0\\u0001\\\\n\\u0007\\\\0\\u0001\\\\n\\\\r\\\\0\\u0001\\\\n\\u0001\\\\0\\u0004\\\\n\\u0001\\\\0\\u0001\\\\n\\u0001\\\\0\\u0001\\u001c\\u0004\\\\0\\u0001\\\\n\\\\b\\\\0\\u0001*\\u0001\\\\0\\u0001*$\\\\0\\u0001\\u001e7\\\\0\\u0001!\\u0013\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0004\\\"\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\\\n\\\\0\\u0001\\\"\\u0001\\\\0\\u0001\\\"\\u0001,\\u0001\\\\0\\u0001\\\"\\u0001-\\u0001.\\u0004-\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\\\t/\\u0001$\\u0001/\\u0002$\\u0001/\\u00010\\u0001$\\u0001/\\u0004$\\u0001/\\u0001$\\u0001/\\u0006$\\u00011\\u0001$\\u0001/\\u0002$\\u0001/\\u0001\\\\0\\u00012\\u00013\\u0001\\\\0\\u00013\\u0004\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u00014\\u0001\\\"\\u0001%\\u0001\\\\0\\u0004%\\u0001\\\\0\\u0001%\\u00015\\u0003\\\"\\u00016\\u0001\\\"\\u00017\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\\\n\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0001\\\"\\u00018\\u0001\\\\0\\u00048\\u0001\\\\0\\u00018\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0003\\\\0\\u00019\\u0001\\u0005\\u0001:\\u0001\\u0005\\u0001\\u0007\\u0006\\\\0\\u0001\\\\b%\\\\0\\u0001;\\u0001\\\\0\\u0004;\\u0001\\\\0\\u0001;\\u0006\\\\0\\u0001;\\u000f\\\\0\\u0001\\\"\\u0001\\\\0\\u0001\\\"\\u0001<\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0004\\\"\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0003\\\\0\\u0001=\\u0001\\\\0\\u0001=\\u0004\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0001\\\\0\\u0001\\\"\\u0001-\\u0001\\\\0\\u0004-\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0012\\\\0\\u0001>\\u0012\\\\0\\u000e/\\u0001?\\u001e/\\u0001$\\u0001/\\u0002$\\u00014\\u0002$\\u0001/\\u0004$\\u0001/\\u0001$\\u0001/\\u0006$\\u00011\\u0001$\\u0001/\\u0002$\\u000f/\\u0001?\\u0001@\\u0001/\\u0004@\\u0001/\\u0001@\\u0006/\\u0001@\\u0006/\\u0001\\\\0\\u00012\\u00013\\u0001\\\\0\\u00013\\\\b\\\\0\\u00014\\u0001\\\\0\\u00012\\u0001\\\\0\\u00042\\u0001\\\\0\\u00012\\u0004\\\\0\\u0001A\\u0001\\\\0\\u00012\\\\b\\\\0\\u00013\\u0001\\\\0\\u00013\\u0007\\\\0\\u0001B\\u00014\\u0001\\\\0\\u0001B\\u0001\\\\0\\u0004B\\u0001\\\\0\\u0002B\\u0003\\\\0\\u0001A\\\\b\\\\0\\u0002C\\u0001\\\\0\\u0001C\\u0002\\\\0\\u0004C\\u0001\\\\0\\u0002C\\u0001\\\\0\\u0016C\\\\t\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u00014\\u0002\\\"\\u0001\\\\0\\u0004\\\"\\u0001\\\\0\\u0001\\\"\\u0001\\\\0\\u0006\\\"\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0002\\\\0\\u00012\\u00013\\u0001\\\\0\\u00013\\u0004\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u00014\\u0001\\\"\\u00017\\u0001\\\\0\\u00047\\u0001\\\\0\\u00017\\u0001\\\\0\\u0003\\\"\\u00016\\u0001\\\"\\u00017\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0002\\\\0\\u0001D\\u0001E\\u0001\\\\0\\u0001E\\u0004\\\\0\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u00014\\u0001\\\"\\u00018\\u0001\\\\0\\u00048\\u0001\\\\0\\u00018\\u0001\\\\0\\u0005\\\"\\u00018\\u0001+\\u0001\\\"\\u0001\\\\0\\u0002\\\"\\u0003\\\\0\\u00019\\u0001\\u0005\\u0001:\\u0001\\u0005\\u0001\\u0007)\\\\0\\u0001F\\u0001G\\u0001\\\\0\\u0001H\\u0001\\\\0\\u0004H\\u0001\\\\0\\u0001H\\u0006\\\\0\\u0001H\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\tI\\u0001J\\u0001I\\u0001J\\u0001K\\u0001L\\u0002J\\u0001I\\u0004J\\u0001I\\u0001J\\u0001I\\u0006J\\u0001M\\u0001J\\u0001I\\u0002J\\u0001I\\u0002A\\u0001N\\u0001A\\u0001N\\\\bA\\u0001\\\\0\\u0016A\\u0012\\\\0\\u0001O\\u0011\\\\0\\\\r/\\u00014\\\"/\\u0001P\\u0001Q\\u0001?\\u0001R\\u0001/\\u0004R\\u0001/\\u0001R\\u0006/\\u0001R\\u0001/\\u00011\\u0004/\\\\r\\\\0\\u00014\\u0017\\\\0\\u0001B\\u0001S\\u0001\\\\0\\u0001S\\u0007\\\\0\\u0001B\\u00014\\u0001\\\\0\\u0001B\\u0001\\\\0\\u0004B\\u0001\\\\0\\u0003B\\u0001\\\\0\\u0001T\\u0001A\\u0001\\\\0\\u0001B\\u0001\\\\0\\u0001B\\u0004\\\\0\\u0002C\\u0001\\\\0\\u0001C\\u0002\\\\0\\u0004C\\u0001\\\\0\\u0002C\\u0001U\\u0016C\\u0001\\\\0\\u0001D\\u0001E\\u0001\\\\0\\u0001E\\\\b\\\\0\\u00014\\u0001\\\\0\\u0001D\\u0001\\\\0\\u0004D\\u0001\\\\0\\u0001D\\u0006\\\\0\\u0001D\\\\b\\\\0\\u0001E\\u0001\\\\0\\u0001E\\\\b\\\\0\\u00014\\\"\\\\0\\u0001V\\u0002\\\\0\\u0001W\\u0001\\\\0\\u0004W\\u0001\\\\0\\u0001W\\u0006\\\\0\\u0001W\\u0012\\\\0\\u0001V\\u0001G\\u0001\\\\0\\u0001W\\u0001\\\\0\\u0004W\\u0001\\\\0\\u0001W\\u0006\\\\0\\u0001W\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001X I\\u0001J\\u0001I\\u0001J\\u0001Y\\u0001I\\u0002J\\u0001I\\u0004J\\u0001I\\u0001J\\u0001I\\u0006J\\u0001M\\u0001J\\u0001I\\u0002J\\\\nI\\u0001J\\u0001I\\u0001J\\u00016\\u0001L\\u0002J\\u0001I\\u0004J\\u0001I\\u0001J\\u0001I\\u0006J\\u0001M\\u0001J\\u0001I\\u0002J\\\\rI\\u0001X\\u0002I\\u0001Z\\u0001I\\u0004Z\\u0001I\\u0001Z\\u0006I\\u0001Z\\u0006I\\u0002A\\u0001N\\u0001A\\u0001N\\\\bA\\u00014\\u0016A\\u0013\\\\0\\u0001[\\u0010\\\\0\\\\f/\\u0001\\\\\\\\\\u0001/\\u0001?\\u0001]\\u0001/\\u0004]\\u0001/\\u0001]\\u0006/\\u0001]\\u0012/\\u0001\\\\\\\\\\u0001Q\\u0001?\\u0001]\\u0001/\\u0004]\\u0001/\\u0001]\\u0006/\\u0001]\\u0001/\\u00011\\u0004/\\u0002\\\\0\\u0001S\\u0001\\\\0\\u0001S\\u0007\\\\0\\u0001B\\u00014\\u0001\\\\0\\u0001B\\u0001\\\\0\\u0004B\\u0001\\\\0\\u0002B\\u0002\\\\0\\u0001T\\u0001A\\\\b\\\\0\\u0002^\\u0001T\\u0001^\\u0001T\\u0002\\\\0\\u0001_\\u0001^\\u0001`\\u0001\\\\0\\u0002^\\u0001\\\\0\\\\v^\\u0002\\\\0\\\\t^\\\\f\\\\0\\u0001a\\u0002\\\\0\\u0001b\\u0001\\\\0\\u0004b\\u0001\\\\0\\u0001b\\u0006\\\\0\\u0001b\\u0012\\\\0\\u0001a\\u0001G\\u0001\\\\0\\u0001b\\u0001\\\\0\\u0004b\\u0001\\\\0\\u0001b\\u0006\\\\0\\u0001b\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001A I\\u0001J\\u0001I\\u0001J\\u00016\\u0001I\\u0002J\\u0001I\\u0004J\\u0001I\\u0001J\\u0001I\\u0006J\\u0001M\\u0001J\\u0001I\\u0002J\\\\rI\\u0001c\\u0001d\\u0001I\\u0001e\\u0001I\\u0004e\\u0001I\\u0001e\\u0006I\\u0001e\\u0001I\\u0001M\\u0004I\\u0014\\\\0\\u0001f\\u000f\\\\0\\\\f/\\u0001g\\u0001/\\u0001?\\u0001h\\u0001/\\u0004h\\u0001/\\u0001h\\u0006/\\u0001h\\u0012/\\u0001g\\u0001Q\\u0001?\\u0001h\\u0001/\\u0004h\\u0001/\\u0001h\\u0006/\\u0001h\\u0001/\\u00011\\u0004/\\u0002^\\u00013\\u0001^\\u00013\\u0003\\\\0\\u0001^\\u0002\\\\0\\u0002^\\u00014\\\\v^\\u0002\\\\0\\\\t^\\u0005_\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u001b_\\u0005`\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u001a`\\\\f\\\\0\\u0001l\\u0002\\\\0\\u0001m\\u0001\\\\0\\u0004m\\u0001\\\\0\\u0001m\\u0006\\\\0\\u0001m\\u0012\\\\0\\u0001l\\u0001G\\u0001\\\\0\\u0001m\\u0001\\\\0\\u0004m\\u0001\\\\0\\u0001m\\u0006\\\\0\\u0001m\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001n\\u0002I\\u0001o\\u0001I\\u0004o\\u0001I\\u0001o\\u0006I\\u0001o\\u0012I\\u0001p\\u0001d\\u0001I\\u0001o\\u0001I\\u0004o\\u0001I\\u0001o\\u0006I\\u0001o\\u0001I\\u0001M\\u0004I\\u0013\\\\0\\u0001q\\u0010\\\\0\\\\f/\\u0001r\\u0001/\\u0001?\\u0001s\\u0001/\\u0004s\\u0001/\\u0001s\\u0006/\\u0001s\\u0012/\\u0001r\\u0001Q\\u0001?\\u0001s\\u0001/\\u0004s\\u0001/\\u0001s\\u0006/\\u0001s\\u0001/\\u00011\\u0004/\\u0002\\\\0\\u00013\\u0001\\\\0\\u00013\\\\b\\\\0\\u00014\\\\r\\\\0\\u0001A\\\\b\\\\0\\u0005_\\u0001\\\\0\\u0001_\\u0001t\\u0001j\\u001b_\\u0005`\\u0001\\\\0\\u0002`\\u0001k\\u0001u\\u001a`\\\\f\\\\0\\u0001v\\u0002\\\\0\\u0001w\\u0001\\\\0\\u0004w\\u0001\\\\0\\u0001w\\u0006\\\\0\\u0001w\\u0012\\\\0\\u0001v\\u0001G\\u0001\\\\0\\u0001w\\u0001\\\\0\\u0004w\\u0001\\\\0\\u0001w\\u0006\\\\0\\u0001w\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001a\\u00014\\u0001\\\\0\\u0001b\\u0001\\\\0\\u0004b\\u0001\\\\0\\u0001b\\u0006\\\\0\\u0001b\\u0006\\\\0\\\\fI\\u0001x\\u0001d\\u0001I\\u0001y\\u0001I\\u0004y\\u0001I\\u0001y\\u0006I\\u0001y\\u0001I\\u0001M\\u0010I\\u0001z\\u0002I\\u0001y\\u0001I\\u0004y\\u0001I\\u0001y\\u0006I\\u0001y\\u0006I\\u0010\\\\0\\u0001{\\u0013\\\\0\\\\f/\\u0001|\\u0001/\\u0001?\\u0001}\\u0001/\\u0004}\\u0001/\\u0001}\\u0006/\\u0001}\\u0012/\\u0001|\\u0001Q\\u0001?\\u0001}\\u0001/\\u0004}\\u0001/\\u0001}\\u0006/\\u0001}\\u0001/\\u00011\\u0004/\\u0002_\\u0001~\\u0001_\\u0001~\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0004_\\u0001\\\\r_\\u0001€\\\\b_\\u0002`\\u0001\\u0001`\\u0001\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0003`\\u0001‚\\\\r`\\u0001ƒ\\\\b`\\\\f\\\\0\\u0001„\\u0002\\\\0\\u0001…",
"\\u0001\\\\0\\u0004…",
"\\u0001\\\\0\\u0001…",
"\\u0006\\\\0\\u0001…",
"\\u0012\\\\0\\u0001„\\u0001G\\u0001\\\\0\\u0001…",
"\\u0001\\\\0\\u0004…",
"\\u0001\\\\0\\u0001…",
"\\u0006\\\\0\\u0001…",
"\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001†\\u0002I\\u0001‡\\u0001I\\u0004‡\\u0001I\\u0001‡\\u0006I\\u0001‡\\u0012I\\u0001ˆ\\u0001d\\u0001I\\u0001‡\\u0001I\\u0004‡\\u0001I\\u0001‡\\u0006I\\u0001‡\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001l\\u00014\\u0001\\\\0\\u0001m\\u0001\\\\0\\u0004m\\u0001\\\\0\\u0001m\\u0006\\\\0\\u0001m\\u0006\\\\0\\u0015{\\u0001‰\\u000e{\\\\f/\\u0001Š\\u0001/\\u0001?\\u0001‹\\u0001/\\u0004‹\\u0001/\\u0001‹\\u0006/\\u0001‹\\u0012/\\u0001Š\\u0001Q\\u0001?\\u0001‹\\u0001/\\u0004‹\\u0001/\\u0001‹\\u0006/\\u0001‹\\u0001/\\u00011\\u0004/\\u0002_\\u0001~\\u0001_\\u0001~\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0003_\\u0001Œ\\u0001\\u0001_\\u0001Œ\\u0001_\\u0004Œ\\u0001_\\u0002Œ\\u0003_\\u0001€\\\\r_\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0004_\\u0001\\u0016_\\u0002`\\u0001\\u0001`\\u0001\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0002`\\u0001\\u0001‚\\u0001`\\u0001\\u0001`\\u0004\\u0001`\\u0002\\u0003`\\u0001ƒ\\\\r`\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0003`\\u0001‚\\u0016`\\\\f\\\\0\\u0001Ž\\u0002\\\\0\\u0001\\u0001\\\\0\\u0004\\u0001\\\\0\\u0001\\u0006\\\\0\\u0001\\u0012\\\\0\\u0001Ž\\u0001G\\u0001\\\\0\\u0001\\u0001\\\\0\\u0004\\u0001\\\\0\\u0001\\u0006\\\\0\\u0001\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001v\\u00014\\u0001\\\\0\\u0001w\\u0001\\\\0\\u0004w\\u0001\\\\0\\u0001w\\u0006\\\\0\\u0001w\\u0006\\\\0\\\\fI\\u0001\\u0001d\\u0001I\\u0001‘\\u0001I\\u0004‘\\u0001I\\u0001‘\\u0006I\\u0001‘\\u0001I\\u0001M\\u0010I\\u0001’\\u0002I\\u0001‘\\u0001I\\u0004‘\\u0001I\\u0001‘\\u0006I\\u0001‘\\u0006I\\u0015{\\u0001“\\u000e{\\\\f/\\u0001”\\u0001/\\u0001?\\u0001•\\u0001/\\u0004•\\u0001/\\u0001•\\u0006/\\u0001•\\u0012/\\u0001”\\u0001Q\\u0001?\\u0001•\\u0001/\\u0004•\\u0001/\\u0001•\\u0006/\\u0001•\\u0001/\\u00011\\u0004/\\u0001_\\u0001Œ\\u0001–\\u0001_\\u0001–\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0003_\\u0001Œ\\u0001\\u0001_\\u0001Œ\\u0001_\\u0004Œ\\u0001_\\u0003Œ\\u0001_\\u0001—\\u0001€\\u0001_\\u0001Œ\\u0001_\\u0001Œ\\u0004_\\u0001`\\u0001\\u0001˜\\u0001`\\u0001˜\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0002`\\u0001\\u0001‚\\u0001`\\u0001\\u0001`\\u0004\\u0001`\\u0003\\u0001`\\u0001™\\u0001ƒ\\u0001`\\u0001\\u0001`\\u0001\\u0004`\\\\f\\\\0\\u0001š\\u0002\\\\0\\u0001›\\u0001\\\\0\\u0004›\\u0001\\\\0\\u0001›\\u0006\\\\0\\u0001›\\u0012\\\\0\\u0001š\\u0001G\\u0001\\\\0\\u0001›\\u0001\\\\0\\u0004›\\u0001\\\\0\\u0001›\\u0006\\\\0\\u0001›\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001œ\\u0002I\\u0001\\u0001I\\u0004\\u0001I\\u0001\\u0006I\\u0001\\u0012I\\u0001ž\\u0001d\\u0001I\\u0001\\u0001I\\u0004\\u0001I\\u0001\\u0006I\\u0001\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001„\\u00014\\u0001\\\\0\\u0001…",
"\\u0001\\\\0\\u0004…",
"\\u0001\\\\0\\u0001…",
"\\u0006\\\\0\\u0001…",
"\\u0006\\\\0\\\\r{\\u00014\\u0016{\\\\f/\\u0001Ÿ\\u0001/\\u0001?\\u0001 \\u0001/\\u0004 \\u0001/\\u0001 \\u0006/\\u0001 \\u0012/\\u0001Ÿ\\u0001Q\\u0001?\\u0001 \\u0001/\\u0004 \\u0001/\\u0001 \\u0006/\\u0001 \\u0001/\\u00011\\u0004/\\u0002_\\u0001–\\u0001_\\u0001–\\u0001\\\\0\\u0001_\\u0001i\\u0001j\\u0003_\\u0001Œ\\u0001\\u0001_\\u0001Œ\\u0001_\\u0004Œ\\u0001_\\u0002Œ\\u0002_\\u0001—\\u0001€\\\\b_\\u0002¡\\u0001—\\u0001¡\\u0001—\\u0001\\\\0\\u0001_\\u0001t\\u0001¢\\u0001£\\u0001_\\u0002¡\\u0001_\\\\v¡\\u0002_\\\\t¡\\u0002`\\u0001˜\\u0001`\\u0001˜\\u0001\\\\0\\u0002`\\u0001k\\u0001i\\u0002`\\u0001\\u0001‚\\u0001`\\u0001\\u0001`\\u0004\\u0001`\\u0002\\u0002`\\u0001™\\u0001ƒ\\\\b`\\u0002¤\\u0001™\\u0001¤\\u0001™\\u0001\\\\0\\u0001`\\u0001£\\u0001¥\\u0001u\\u0001`\\u0002¤\\u0001`\\\\v¤\\u0002`\\\\t¤\\\\f\\\\0\\u0001¦\\u0002\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\u0006\\\\0\\u0001§\\u0012\\\\0\\u0001¦\\u0001G\\u0001\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\u0006\\\\0\\u0001§\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ž\\u00014\\u0001\\\\0\\u0001\\u0001\\\\0\\u0004\\u0001\\\\0\\u0001\\u0006\\\\0\\u0001\\u0006\\\\0\\\\fI\\u0001¨\\u0001d\\u0001I\\u0001©\\u0001I\\u0004©\\u0001I\\u0001©\\u0006I\\u0001©\\u0001I\\u0001M\\u0010I\\u0001ª\\u0002I\\u0001©\\u0001I\\u0004©\\u0001I\\u0001©\\u0006I\\u0001©\\u0006I\\\\f/\\u0001«\\u0001/\\u0001?\\u0001¬\\u0001/\\u0004¬\\u0001/\\u0001¬\\u0006/\\u0001¬\\u0012/\\u0001«\\u0001Q\\u0001?\\u0001¬\\u0001/\\u0004¬\\u0001/\\u0001¬\\u0006/\\u0001¬\\u0001/\\u00011\\u0004/\\u0002¡\\u0001~\\u0001¡\\u0001~\\u0001\\\\0\\u0001_\\u0001i\\u0001¢\\u0002_\\u0002¡\\u0001\\\\v¡\\u0002_\\\\v¡\\u0001~\\u0001¡\\u0001~\\u0001\\\\0\\u0001_\\u0001t\\u0001¢\\u0002_\\u0002¡\\u0001\\\\v¡\\u0002_\\\\t¡\\u0005£\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u001a£\\u0002¤\\u0001\\u0001¤\\u0001\\u0001\\\\0\\u0002`\\u0001¥\\u0001i\\u0001`\\u0002¤\\u0001‚\\\\v¤\\u0002`\\\\v¤\\u0001\\u0001¤\\u0001\\u0001\\\\0\\u0002`\\u0001¥\\u0001u\\u0001`\\u0002¤\\u0001‚\\\\v¤\\u0002`\\\\t¤\\\\f\\\\0\\u0001®\\u0002\\\\0\\u0001¯\\u0001\\\\0\\u0004¯\\u0001\\\\0\\u0001¯\\u0006\\\\0\\u0001¯\\u0012\\\\0\\u0001®\\u0001G\\u0001\\\\0\\u0001¯\\u0001\\\\0\\u0004¯\\u0001\\\\0\\u0001¯\\u0006\\\\0\\u0001¯\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001°\\u0002I\\u0001±\\u0001I\\u0004±\\u0001I\\u0001±\\u0006I\\u0001±\\u0012I\\u0001²\\u0001d\\u0001I\\u0001±\\u0001I\\u0004±\\u0001I\\u0001±\\u0006I\\u0001±\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001š\\u00014\\u0001\\\\0\\u0001›\\u0001\\\\0\\u0004›\\u0001\\\\0\\u0001›\\u0006\\\\0\\u0001›\\u0006\\\\0\\\\f/\\u0001³\\u0001/\\u0001?\\u0001´\\u0001/\\u0004´\\u0001/\\u0001´\\u0006/\\u0001´\\u0012/\\u0001³\\u0001Q\\u0001?\\u0001´\\u0001/\\u0004´\\u0001/\\u0001´\\u0006/\\u0001´\\u0001/\\u00011\\u0004/\\u0005£\\u0001\\\\0\\u0001£\\u0001µ\\u0001­\\u0001µ\\u001a£\\\\f\\\\0\\u0001¶\\u0002\\\\0\\u0001·\\u0001\\\\0\\u0004·\\u0001\\\\0\\u0001·\\u0006\\\\0\\u0001·\\u0012\\\\0\\u0001¶\\u0001G\\u0001\\\\0\\u0001·\\u0001\\\\0\\u0004·\\u0001\\\\0\\u0001·\\u0006\\\\0\\u0001·\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001¦\\u00014\\u0001\\\\0\\u0001§\\u0001\\\\0\\u0004§\\u0001\\\\0\\u0001§\\u0006\\\\0\\u0001§\\u0006\\\\0\\\\fI\\u0001¸\\u0001d\\u0001I\\u0001¹\\u0001I\\u0004¹\\u0001I\\u0001¹\\u0006I\\u0001¹\\u0001I\\u0001M\\u0010I\\u0001º\\u0002I\\u0001¹\\u0001I\\u0004¹\\u0001I\\u0001¹\\u0006I\\u0001¹\\u0006I\\\\f/\\u0001»\\u0001/\\u0001?\\u0001¼\\u0001/\\u0004¼\\u0001/\\u0001¼\\u0006/\\u0001¼\\u0012/\\u0001»\\u0001Q\\u0001?\\u0001¼\\u0001/\\u0004¼\\u0001/\\u0001¼\\u0006/\\u0001¼\\u0001/\\u00011\\u0004/\\u0002£\\u0001½\\u0001£\\u0001½\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0003£\\u0001¾\\\\r£\\u0001¿\\\\b£\\\\f\\\\0\\u0001À\\u0002\\\\0\\u0001Á\\u0001\\\\0\\u0004Á\\u0001\\\\0\\u0001Á\\u0006\\\\0\\u0001Á\\u0012\\\\0\\u0001À\\u0001G\\u0001\\\\0\\u0001Á\\u0001\\\\0\\u0004Á\\u0001\\\\0\\u0001Á\\u0006\\\\0\\u0001Á\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Â\\u0002I\\u0001Ã\\u0001I\\u0004Ã\\u0001I\\u0001Ã\\u0006I\\u0001Ã\\u0012I\\u0001Ä\\u0001d\\u0001I\\u0001Ã\\u0001I\\u0004Ã\\u0001I\\u0001Ã\\u0006I\\u0001Ã\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001®\\u00014\\u0001\\\\0\\u0001¯\\u0001\\\\0\\u0004¯\\u0001\\\\0\\u0001¯\\u0006\\\\0\\u0001¯\\u0006\\\\0\\\\f/\\u0001Å\\u0001/\\u0001?\\u0001Æ\\u0001/\\u0004Æ\\u0001/\\u0001Æ\\u0006/\\u0001Æ\\u0012/\\u0001Å\\u0001Q\\u0001?\\u0001Æ\\u0001/\\u0004Æ\\u0001/\\u0001Æ\\u0006/\\u0001Æ\\u0001/\\u00011\\u0004/\\u0002£\\u0001½\\u0001£\\u0001½\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0002£\\u0001Ç\\u0001¾\\u0001£\\u0001Ç\\u0001£\\u0004Ç\\u0001£\\u0002Ç\\u0003£\\u0001¿\\\\r£\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0003£\\u0001¾\\u0016£\\\\f\\\\0\\u0001È\\u0002\\\\0\\u0001É\\u0001\\\\0\\u0004É\\u0001\\\\0\\u0001É\\u0006\\\\0\\u0001É\\u0012\\\\0\\u0001È\\u0001G\\u0001\\\\0\\u0001É\\u0001\\\\0\\u0004É\\u0001\\\\0\\u0001É\\u0006\\\\0\\u0001É\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001¶\\u00014\\u0001\\\\0\\u0001·\\u0001\\\\0\\u0004·\\u0001\\\\0\\u0001·\\u0006\\\\0\\u0001·\\u0006\\\\0\\\\fI\\u0001Ê\\u0001d\\u0001I\\u0001Ë\\u0001I\\u0004Ë\\u0001I\\u0001Ë\\u0006I\\u0001Ë\\u0001I\\u0001M\\u0010I\\u0001Ì\\u0002I\\u0001Ë\\u0001I\\u0004Ë\\u0001I\\u0001Ë\\u0006I\\u0001Ë\\u0006I\\\\f/\\u0001Í\\u0001/\\u0001?\\u0001Î\\u0001/\\u0004Î\\u0001/\\u0001Î\\u0006/\\u0001Î\\u0012/\\u0001Í\\u0001Q\\u0001?\\u0001Î\\u0001/\\u0004Î\\u0001/\\u0001Î\\u0006/\\u0001Î\\u0001/\\u00011\\u0004/\\u0001£\\u0001Ç\\u0001Ï\\u0001£\\u0001Ï\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0002£\\u0001Ç\\u0001¾\\u0001£\\u0001Ç\\u0001£\\u0004Ç\\u0001£\\u0003Ç\\u0001£\\u0001Ð\\u0001¿\\u0001£\\u0001Ç\\u0001£\\u0001Ç\\u0004£\\\\f\\\\0\\u0001Ñ\\u0002\\\\0\\u0001Ò\\u0001\\\\0\\u0004Ò\\u0001\\\\0\\u0001Ò\\u0006\\\\0\\u0001Ò\\u0012\\\\0\\u0001Ñ\\u0001G\\u0001\\\\0\\u0001Ò\\u0001\\\\0\\u0004Ò\\u0001\\\\0\\u0001Ò\\u0006\\\\0\\u0001Ò\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ó\\u0002I\\u0001Ô\\u0001I\\u0004Ô\\u0001I\\u0001Ô\\u0006I\\u0001Ô\\u0012I\\u0001Õ\\u0001d\\u0001I\\u0001Ô\\u0001I\\u0004Ô\\u0001I\\u0001Ô\\u0006I\\u0001Ô\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001À\\u00014\\u0001\\\\0\\u0001Á\\u0001\\\\0\\u0004Á\\u0001\\\\0\\u0001Á\\u0006\\\\0\\u0001Á\\u0006\\\\0\\\\f/\\u0001Ö\\u0001/\\u0001?\\u0001×\\u0001/\\u0004×\\u0001/\\u0001×\\u0006/\\u0001×\\u0012/\\u0001Ö\\u0001Q\\u0001?\\u0001×\\u0001/\\u0004×\\u0001/\\u0001×\\u0006/\\u0001×\\u0001/\\u00011\\u0004/\\u0002£\\u0001Ï\\u0001£\\u0001Ï\\u0001\\\\0\\u0001£\\u0001u\\u0001­\\u0001t\\u0002£\\u0001Ç\\u0001¾\\u0001£\\u0001Ç\\u0001£\\u0004Ç\\u0001£\\u0002Ç\\u0002£\\u0001Ð\\u0001¿\\\\b£\\u0002Ø\\u0001Ð\\u0001Ø\\u0001Ð\\u0001\\\\0\\u0001£\\u0001µ\\u0001Ù\\u0001µ\\u0001£\\u0002Ø\\u0001£\\\\vØ\\u0002£\\\\tØ\\\\f\\\\0\\u0001Ú\\u0002\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\u0006\\\\0\\u0001Û\\u0012\\\\0\\u0001Ú\\u0001G\\u0001\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\u0006\\\\0\\u0001Û\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001È\\u00014\\u0001\\\\0\\u0001É\\u0001\\\\0\\u0004É\\u0001\\\\0\\u0001É\\u0006\\\\0\\u0001É\\u0006\\\\0\\\\fI\\u0001Ü\\u0001d\\u0001I\\u0001Ý\\u0001I\\u0004Ý\\u0001I\\u0001Ý\\u0006I\\u0001Ý\\u0001I\\u0001M\\u0010I\\u0001Þ\\u0002I\\u0001Ý\\u0001I\\u0004Ý\\u0001I\\u0001Ý\\u0006I\\u0001Ý\\u0006I\\\\f/\\u0001ß\\u0001/\\u0001?\\u0001à\\u0001/\\u0004à\\u0001/\\u0001à\\u0006/\\u0001à\\u0012/\\u0001ß\\u0001Q\\u0001?\\u0001à\\u0001/\\u0004à\\u0001/\\u0001à\\u0006/\\u0001à\\u0001/\\u00011\\u0004/\\u0002Ø\\u0001½\\u0001Ø\\u0001½\\u0001\\\\0\\u0001£\\u0001u\\u0001Ù\\u0001t\\u0001£\\u0002Ø\\u0001¾\\\\vØ\\u0002£\\\\vØ\\u0001½\\u0001Ø\\u0001½\\u0001\\\\0\\u0001£\\u0001µ\\u0001Ù\\u0001µ\\u0001£\\u0002Ø\\u0001¾\\\\vØ\\u0002£\\\\tØ\\\\f\\\\0\\u0001á\\u0002\\\\0\\u0001â\\u0001\\\\0\\u0004â\\u0001\\\\0\\u0001â\\u0006\\\\0\\u0001â\\u0012\\\\0\\u0001á\\u0001G\\u0001\\\\0\\u0001â\\u0001\\\\0\\u0004â\\u0001\\\\0\\u0001â\\u0006\\\\0\\u0001â\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ã\\u0002I\\u0001ä\\u0001I\\u0004ä\\u0001I\\u0001ä\\u0006I\\u0001ä\\u0012I\\u0001å\\u0001d\\u0001I\\u0001ä\\u0001I\\u0004ä\\u0001I\\u0001ä\\u0006I\\u0001ä\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ñ\\u00014\\u0001\\\\0\\u0001Ò\\u0001\\\\0\\u0004Ò\\u0001\\\\0\\u0001Ò\\u0006\\\\0\\u0001Ò\\u0006\\\\0\\\\f/\\u0001æ\\u0001/\\u0001?\\u0001ç\\u0001/\\u0004ç\\u0001/\\u0001ç\\u0006/\\u0001ç\\u0012/\\u0001æ\\u0001Q\\u0001?\\u0001ç\\u0001/\\u0004ç\\u0001/\\u0001ç\\u0006/\\u0001ç\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001è\\u0002\\\\0\\u0001é\\u0001\\\\0\\u0004é\\u0001\\\\0\\u0001é\\u0006\\\\0\\u0001é\\u0012\\\\0\\u0001è\\u0001G\\u0001\\\\0\\u0001é\\u0001\\\\0\\u0004é\\u0001\\\\0\\u0001é\\u0006\\\\0\\u0001é\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ú\\u00014\\u0001\\\\0\\u0001Û\\u0001\\\\0\\u0004Û\\u0001\\\\0\\u0001Û\\u0006\\\\0\\u0001Û\\u0006\\\\0\\\\fI\\u0001ê\\u0001d\\u0001I\\u0001ë\\u0001I\\u0004ë\\u0001I\\u0001ë\\u0006I\\u0001ë\\u0001I\\u0001M\\u0010I\\u0001ì\\u0002I\\u0001ë\\u0001I\\u0004ë\\u0001I\\u0001ë\\u0006I\\u0001ë\\u0006I\\\\f/\\u0001í\\u0001/\\u0001?\\u0001î\\u0001/\\u0004î\\u0001/\\u0001î\\u0006/\\u0001î\\u0012/\\u0001í\\u0001Q\\u0001?\\u0001î\\u0001/\\u0004î\\u0001/\\u0001î\\u0006/\\u0001î\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ï\\u0002\\\\0\\u0001ð\\u0001\\\\0\\u0004ð\\u0001\\\\0\\u0001ð\\u0006\\\\0\\u0001ð\\u0012\\\\0\\u0001ï\\u0001G\\u0001\\\\0\\u0001ð\\u0001\\\\0\\u0004ð\\u0001\\\\0\\u0001ð\\u0006\\\\0\\u0001ð\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ñ\\u0002I\\u0001ò\\u0001I\\u0004ò\\u0001I\\u0001ò\\u0006I\\u0001ò\\u0012I\\u0001ó\\u0001d\\u0001I\\u0001ò\\u0001I\\u0004ò\\u0001I\\u0001ò\\u0006I\\u0001ò\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001á\\u00014\\u0001\\\\0\\u0001â\\u0001\\\\0\\u0004â\\u0001\\\\0\\u0001â\\u0006\\\\0\\u0001â\\u0006\\\\0\\\\f/\\u0001ô\\u0001/\\u0001?\\u0001õ\\u0001/\\u0004õ\\u0001/\\u0001õ\\u0006/\\u0001õ\\u0012/\\u0001ô\\u0001Q\\u0001?\\u0001õ\\u0001/\\u0004õ\\u0001/\\u0001õ\\u0006/\\u0001õ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ö\\u0002\\\\0\\u0001÷\\u0001\\\\0\\u0004÷\\u0001\\\\0\\u0001÷\\u0006\\\\0\\u0001÷\\u0012\\\\0\\u0001ö\\u0001G\\u0001\\\\0\\u0001÷\\u0001\\\\0\\u0004÷\\u0001\\\\0\\u0001÷\\u0006\\\\0\\u0001÷\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001è\\u00014\\u0001\\\\0\\u0001é\\u0001\\\\0\\u0004é\\u0001\\\\0\\u0001é\\u0006\\\\0\\u0001é\\u0006\\\\0\\\\fI\\u0001ø\\u0001d\\u0001I\\u0001ù\\u0001I\\u0004ù\\u0001I\\u0001ù\\u0006I\\u0001ù\\u0001I\\u0001M\\u0010I\\u0001ú\\u0002I\\u0001ù\\u0001I\\u0004ù\\u0001I\\u0001ù\\u0006I\\u0001ù\\u0006I\\\\f/\\u0001û\\u0001/\\u0001?\\u0001ü\\u0001/\\u0004ü\\u0001/\\u0001ü\\u0006/\\u0001ü\\u0012/\\u0001û\\u0001Q\\u0001?\\u0001ü\\u0001/\\u0004ü\\u0001/\\u0001ü\\u0006/\\u0001ü\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ý\\u0002\\\\0\\u0001þ\\u0001\\\\0\\u0004þ\\u0001\\\\0\\u0001þ\\u0006\\\\0\\u0001þ\\u0012\\\\0\\u0001ý\\u0001G\\u0001\\\\0\\u0001þ\\u0001\\\\0\\u0004þ\\u0001\\\\0\\u0001þ\\u0006\\\\0\\u0001þ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ÿ\\u0002I\\u0001Ā\\u0001I\\u0004Ā\\u0001I\\u0001Ā\\u0006I\\u0001Ā\\u0012I\\u0001ā\\u0001d\\u0001I\\u0001Ā\\u0001I\\u0004Ā\\u0001I\\u0001Ā\\u0006I\\u0001Ā\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ï\\u00014\\u0001\\\\0\\u0001ð\\u0001\\\\0\\u0004ð\\u0001\\\\0\\u0001ð\\u0006\\\\0\\u0001ð\\u0006\\\\0\\\\f/\\u0001Ă\\u0001/\\u0001?\\u0001ă\\u0001/\\u0004ă\\u0001/\\u0001ă\\u0006/\\u0001ă\\u0012/\\u0001Ă\\u0001Q\\u0001?\\u0001ă\\u0001/\\u0004ă\\u0001/\\u0001ă\\u0006/\\u0001ă\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ą\\u0002\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\u0006\\\\0\\u0001ą\\u0012\\\\0\\u0001Ą\\u0001G\\u0001\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\u0006\\\\0\\u0001ą\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ö\\u00014\\u0001\\\\0\\u0001÷\\u0001\\\\0\\u0004÷\\u0001\\\\0\\u0001÷\\u0006\\\\0\\u0001÷\\u0006\\\\0\\\\fI\\u0001Ć\\u0001d\\u0001I\\u0001ć\\u0001I\\u0004ć\\u0001I\\u0001ć\\u0006I\\u0001ć\\u0001I\\u0001M\\u0010I\\u0001Ĉ\\u0002I\\u0001ć\\u0001I\\u0004ć\\u0001I\\u0001ć\\u0006I\\u0001ć\\u0006I\\\\f/\\u0001ĉ\\u0001/\\u0001?\\u0001Ċ\\u0001/\\u0004Ċ\\u0001/\\u0001Ċ\\u0006/\\u0001Ċ\\u0012/\\u0001ĉ\\u0001Q\\u0001?\\u0001Ċ\\u0001/\\u0004Ċ\\u0001/\\u0001Ċ\\u0006/\\u0001Ċ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ċ\\u0002\\\\0\\u0001Č\\u0001\\\\0\\u0004Č\\u0001\\\\0\\u0001Č\\u0006\\\\0\\u0001Č\\u0012\\\\0\\u0001ċ\\u0001G\\u0001\\\\0\\u0001Č\\u0001\\\\0\\u0004Č\\u0001\\\\0\\u0001Č\\u0006\\\\0\\u0001Č\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001č\\u0002I\\u0001Ď\\u0001I\\u0004Ď\\u0001I\\u0001Ď\\u0006I\\u0001Ď\\u0012I\\u0001ď\\u0001d\\u0001I\\u0001Ď\\u0001I\\u0004Ď\\u0001I\\u0001Ď\\u0006I\\u0001Ď\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ý\\u00014\\u0001\\\\0\\u0001þ\\u0001\\\\0\\u0004þ\\u0001\\\\0\\u0001þ\\u0006\\\\0\\u0001þ\\u0006\\\\0\\\\f/\\u0001Đ\\u0001/\\u0001?\\u0001đ\\u0001/\\u0004đ\\u0001/\\u0001đ\\u0006/\\u0001đ\\u0012/\\u0001Đ\\u0001Q\\u0001?\\u0001đ\\u0001/\\u0004đ\\u0001/\\u0001đ\\u0006/\\u0001đ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ē\\u0002\\\\0\\u0001ē\\u0001\\\\0\\u0004ē\\u0001\\\\0\\u0001ē\\u0006\\\\0\\u0001ē\\u0012\\\\0\\u0001Ē\\u0001G\\u0001\\\\0\\u0001ē\\u0001\\\\0\\u0004ē\\u0001\\\\0\\u0001ē\\u0006\\\\0\\u0001ē\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ą\\u00014\\u0001\\\\0\\u0001ą\\u0001\\\\0\\u0004ą\\u0001\\\\0\\u0001ą\\u0006\\\\0\\u0001ą\\u0006\\\\0\\\\fI\\u0001Ĕ\\u0001d\\u0001I\\u0001ĕ\\u0001I\\u0004ĕ\\u0001I\\u0001ĕ\\u0006I\\u0001ĕ\\u0001I\\u0001M\\u0010I\\u0001Ė\\u0002I\\u0001ĕ\\u0001I\\u0004ĕ\\u0001I\\u0001ĕ\\u0006I\\u0001ĕ\\u0006I\\\\f/\\u0001ė\\u0001/\\u0001?\\u0001Ę\\u0001/\\u0004Ę\\u0001/\\u0001Ę\\u0006/\\u0001Ę\\u0012/\\u0001ė\\u0001Q\\u0001?\\u0001Ę\\u0001/\\u0004Ę\\u0001/\\u0001Ę\\u0006/\\u0001Ę\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ę\\u0002\\\\0\\u0001Ě\\u0001\\\\0\\u0004Ě\\u0001\\\\0\\u0001Ě\\u0006\\\\0\\u0001Ě\\u0012\\\\0\\u0001ę\\u0001G\\u0001\\\\0\\u0001Ě\\u0001\\\\0\\u0004Ě\\u0001\\\\0\\u0001Ě\\u0006\\\\0\\u0001Ě\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ě\\u0002I\\u0001Ĝ\\u0001I\\u0004Ĝ\\u0001I\\u0001Ĝ\\u0006I\\u0001Ĝ\\u0012I\\u0001ĝ\\u0001d\\u0001I\\u0001Ĝ\\u0001I\\u0004Ĝ\\u0001I\\u0001Ĝ\\u0006I\\u0001Ĝ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ċ\\u00014\\u0001\\\\0\\u0001Č\\u0001\\\\0\\u0004Č\\u0001\\\\0\\u0001Č\\u0006\\\\0\\u0001Č\\u0006\\\\0\\\\f/\\u0001Ğ\\u0001/\\u0001?\\u0001ğ\\u0001/\\u0004ğ\\u0001/\\u0001ğ\\u0006/\\u0001ğ\\u0012/\\u0001Ğ\\u0001Q\\u0001?\\u0001ğ\\u0001/\\u0004ğ\\u0001/\\u0001ğ\\u0006/\\u0001ğ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ġ\\u0002\\\\0\\u0001ġ\\u0001\\\\0\\u0004ġ\\u0001\\\\0\\u0001ġ\\u0006\\\\0\\u0001ġ\\u0012\\\\0\\u0001Ġ\\u0001G\\u0001\\\\0\\u0001ġ\\u0001\\\\0\\u0004ġ\\u0001\\\\0\\u0001ġ\\u0006\\\\0\\u0001ġ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ē\\u00014\\u0001\\\\0\\u0001ē\\u0001\\\\0\\u0004ē\\u0001\\\\0\\u0001ē\\u0006\\\\0\\u0001ē\\u0006\\\\0\\\\fI\\u0001Ģ\\u0001d\\u0001I\\u0001ģ\\u0001I\\u0004ģ\\u0001I\\u0001ģ\\u0006I\\u0001ģ\\u0001I\\u0001M\\u0010I\\u0001Ĥ\\u0002I\\u0001ģ\\u0001I\\u0004ģ\\u0001I\\u0001ģ\\u0006I\\u0001ģ\\u0006I\\\\f/\\u0001ĥ\\u0001/\\u0001?\\u0001Ħ\\u0001/\\u0004Ħ\\u0001/\\u0001Ħ\\u0006/\\u0001Ħ\\u0012/\\u0001ĥ\\u0001Q\\u0001?\\u0001Ħ\\u0001/\\u0004Ħ\\u0001/\\u0001Ħ\\u0006/\\u0001Ħ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ħ\\u0002\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\u0006\\\\0\\u0001Ĩ\\u0012\\\\0\\u0001ħ\\u0001G\\u0001\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\u0006\\\\0\\u0001Ĩ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ĩ\\u0002I\\u0001Ī\\u0001I\\u0004Ī\\u0001I\\u0001Ī\\u0006I\\u0001Ī\\u0012I\\u0001ī\\u0001d\\u0001I\\u0001Ī\\u0001I\\u0004Ī\\u0001I\\u0001Ī\\u0006I\\u0001Ī\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ę\\u00014\\u0001\\\\0\\u0001Ě\\u0001\\\\0\\u0004Ě\\u0001\\\\0\\u0001Ě\\u0006\\\\0\\u0001Ě\\u0006\\\\0\\\\f/\\u0001Ĭ\\u0001/\\u0001?\\u0001ĭ\\u0001/\\u0004ĭ\\u0001/\\u0001ĭ\\u0006/\\u0001ĭ\\u0012/\\u0001Ĭ\\u0001Q\\u0001?\\u0001ĭ\\u0001/\\u0004ĭ\\u0001/\\u0001ĭ\\u0006/\\u0001ĭ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Į\\u0002\\\\0\\u0001į\\u0001\\\\0\\u0004į\\u0001\\\\0\\u0001į\\u0006\\\\0\\u0001į\\u0012\\\\0\\u0001Į\\u0001G\\u0001\\\\0\\u0001į\\u0001\\\\0\\u0004į\\u0001\\\\0\\u0001į\\u0006\\\\0\\u0001į\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ġ\\u00014\\u0001\\\\0\\u0001ġ\\u0001\\\\0\\u0004ġ\\u0001\\\\0\\u0001ġ\\u0006\\\\0\\u0001ġ\\u0006\\\\0\\\\fI\\u0001İ\\u0001d\\u0001I\\u0001ı\\u0001I\\u0004ı\\u0001I\\u0001ı\\u0006I\\u0001ı\\u0001I\\u0001M\\u0010I\\u0001IJ\\u0002I\\u0001ı\\u0001I\\u0004ı\\u0001I\\u0001ı\\u0006I\\u0001ı\\u0006I\\\\f/\\u0001ij\\u0001/\\u0001?\\u0001Ĵ\\u0001/\\u0004Ĵ\\u0001/\\u0001Ĵ\\u0006/\\u0001Ĵ\\u0012/\\u0001ij\\u0001Q\\u0001?\\u0001Ĵ\\u0001/\\u0004Ĵ\\u0001/\\u0001Ĵ\\u0006/\\u0001Ĵ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ĵ\\u0002\\\\0\\u0001Ķ\\u0001\\\\0\\u0004Ķ\\u0001\\\\0\\u0001Ķ\\u0006\\\\0\\u0001Ķ\\u0012\\\\0\\u0001ĵ\\u0001G\\u0001\\\\0\\u0001Ķ\\u0001\\\\0\\u0004Ķ\\u0001\\\\0\\u0001Ķ\\u0006\\\\0\\u0001Ķ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ķ\\u0002I\\u0001ĸ\\u0001I\\u0004ĸ\\u0001I\\u0001ĸ\\u0006I\\u0001ĸ\\u0012I\\u0001Ĺ\\u0001d\\u0001I\\u0001ĸ\\u0001I\\u0004ĸ\\u0001I\\u0001ĸ\\u0006I\\u0001ĸ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ħ\\u00014\\u0001\\\\0\\u0001Ĩ\\u0001\\\\0\\u0004Ĩ\\u0001\\\\0\\u0001Ĩ\\u0006\\\\0\\u0001Ĩ\\u0006\\\\0\\\\f/\\u0001ĺ\\u0001/\\u0001?\\u0001Ļ\\u0001/\\u0004Ļ\\u0001/\\u0001Ļ\\u0006/\\u0001Ļ\\u0012/\\u0001ĺ\\u0001Q\\u0001?\\u0001Ļ\\u0001/\\u0004Ļ\\u0001/\\u0001Ļ\\u0006/\\u0001Ļ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ļ\\u0002\\\\0\\u0001Ľ\\u0001\\\\0\\u0004Ľ\\u0001\\\\0\\u0001Ľ\\u0006\\\\0\\u0001Ľ\\u0012\\\\0\\u0001ļ\\u0001G\\u0001\\\\0\\u0001Ľ\\u0001\\\\0\\u0004Ľ\\u0001\\\\0\\u0001Ľ\\u0006\\\\0\\u0001Ľ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Į\\u00014\\u0001\\\\0\\u0001į\\u0001\\\\0\\u0004į\\u0001\\\\0\\u0001į\\u0006\\\\0\\u0001į\\u0006\\\\0\\\\fI\\u0001ľ\\u0001d\\u0001I\\u0001Ŀ\\u0001I\\u0004Ŀ\\u0001I\\u0001Ŀ\\u0006I\\u0001Ŀ\\u0001I\\u0001M\\u0010I\\u0001ŀ\\u0002I\\u0001Ŀ\\u0001I\\u0004Ŀ\\u0001I\\u0001Ŀ\\u0006I\\u0001Ŀ\\u0006I\\\\f/\\u0001Ł\\u0001/\\u0001?\\u0001ł\\u0001/\\u0004ł\\u0001/\\u0001ł\\u0006/\\u0001ł\\u0012/\\u0001Ł\\u0001Q\\u0001?\\u0001ł\\u0001/\\u0004ł\\u0001/\\u0001ł\\u0006/\\u0001ł\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ń\\u0002\\\\0\\u0001ń\\u0001\\\\0\\u0004ń\\u0001\\\\0\\u0001ń\\u0006\\\\0\\u0001ń\\u0012\\\\0\\u0001Ń\\u0001G\\u0001\\\\0\\u0001ń\\u0001\\\\0\\u0004ń\\u0001\\\\0\\u0001ń\\u0006\\\\0\\u0001ń\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ņ\\u0002I\\u0001ņ\\u0001I\\u0004ņ\\u0001I\\u0001ņ\\u0006I\\u0001ņ\\u0012I\\u0001Ň\\u0001d\\u0001I\\u0001ņ\\u0001I\\u0004ņ\\u0001I\\u0001ņ\\u0006I\\u0001ņ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ĵ\\u00014\\u0001\\\\0\\u0001Ķ\\u0001\\\\0\\u0004Ķ\\u0001\\\\0\\u0001Ķ\\u0006\\\\0\\u0001Ķ\\u0006\\\\0\\\\f/\\u0001ň\\u0001/\\u0001?\\u0001ʼn\\u0001/\\u0004ʼn\\u0001/\\u0001ʼn\\u0006/\\u0001ʼn\\u0012/\\u0001ň\\u0001Q\\u0001?\\u0001ʼn\\u0001/\\u0004ʼn\\u0001/\\u0001ʼn\\u0006/\\u0001ʼn\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ŋ\\u0002\\\\0\\u0001ŋ\\u0001\\\\0\\u0004ŋ\\u0001\\\\0\\u0001ŋ\\u0006\\\\0\\u0001ŋ\\u0012\\\\0\\u0001Ŋ\\u0001G\\u0001\\\\0\\u0001ŋ\\u0001\\\\0\\u0004ŋ\\u0001\\\\0\\u0001ŋ\\u0006\\\\0\\u0001ŋ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ļ\\u00014\\u0001\\\\0\\u0001Ľ\\u0001\\\\0\\u0004Ľ\\u0001\\\\0\\u0001Ľ\\u0006\\\\0\\u0001Ľ\\u0006\\\\0\\\\fI\\u0001Ō\\u0001d\\u0001I\\u0001ō\\u0001I\\u0004ō\\u0001I\\u0001ō\\u0006I\\u0001ō\\u0001I\\u0001M\\u0010I\\u0001Ŏ\\u0002I\\u0001ō\\u0001I\\u0004ō\\u0001I\\u0001ō\\u0006I\\u0001ō\\u0006I\\\\f/\\u0001ŏ\\u0001/\\u0001?\\u0001Ő\\u0001/\\u0004Ő\\u0001/\\u0001Ő\\u0006/\\u0001Ő\\u0012/\\u0001ŏ\\u0001Q\\u0001?\\u0001Ő\\u0001/\\u0004Ő\\u0001/\\u0001Ő\\u0006/\\u0001Ő\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ő\\u0002\\\\0\\u0001Œ\\u0001\\\\0\\u0004Œ\\u0001\\\\0\\u0001Œ\\u0006\\\\0\\u0001Œ\\u0012\\\\0\\u0001ő\\u0001G\\u0001\\\\0\\u0001Œ\\u0001\\\\0\\u0004Œ\\u0001\\\\0\\u0001Œ\\u0006\\\\0\\u0001Œ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001œ\\u0002I\\u0001Ŕ\\u0001I\\u0004Ŕ\\u0001I\\u0001Ŕ\\u0006I\\u0001Ŕ\\u0012I\\u0001ŕ\\u0001d\\u0001I\\u0001Ŕ\\u0001I\\u0004Ŕ\\u0001I\\u0001Ŕ\\u0006I\\u0001Ŕ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ń\\u00014\\u0001\\\\0\\u0001ń\\u0001\\\\0\\u0004ń\\u0001\\\\0\\u0001ń\\u0006\\\\0\\u0001ń\\u0006\\\\0\\\\f/\\u0001Ŗ\\u0001/\\u0001?\\u0001ŗ\\u0001/\\u0004ŗ\\u0001/\\u0001ŗ\\u0006/\\u0001ŗ\\u0012/\\u0001Ŗ\\u0001Q\\u0001?\\u0001ŗ\\u0001/\\u0004ŗ\\u0001/\\u0001ŗ\\u0006/\\u0001ŗ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ř\\u0002\\\\0\\u0001ř\\u0001\\\\0\\u0004ř\\u0001\\\\0\\u0001ř\\u0006\\\\0\\u0001ř\\u0012\\\\0\\u0001Ř\\u0001G\\u0001\\\\0\\u0001ř\\u0001\\\\0\\u0004ř\\u0001\\\\0\\u0001ř\\u0006\\\\0\\u0001ř\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ŋ\\u00014\\u0001\\\\0\\u0001ŋ\\u0001\\\\0\\u0004ŋ\\u0001\\\\0\\u0001ŋ\\u0006\\\\0\\u0001ŋ\\u0006\\\\0\\\\fI\\u0001Ś\\u0001d\\u0001I\\u0001ś\\u0001I\\u0004ś\\u0001I\\u0001ś\\u0006I\\u0001ś\\u0001I\\u0001M\\u0010I\\u0001Ŝ\\u0002I\\u0001ś\\u0001I\\u0004ś\\u0001I\\u0001ś\\u0006I\\u0001ś\\u0006I\\\\f/\\u0001ŝ\\u0001/\\u0001?\\u0001Ş\\u0001/\\u0004Ş\\u0001/\\u0001Ş\\u0006/\\u0001Ş\\u0012/\\u0001ŝ\\u0001Q\\u0001?\\u0001Ş\\u0001/\\u0004Ş\\u0001/\\u0001Ş\\u0006/\\u0001Ş\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ş\\u0002\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0006\\\\0\\u0001Š\\u0012\\\\0\\u0001ş\\u0001G\\u0001\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0006\\\\0\\u0001Š\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001š\\u0002I\\u0001Ţ\\u0001I\\u0004Ţ\\u0001I\\u0001Ţ\\u0006I\\u0001Ţ\\u0012I\\u0001ţ\\u0001d\\u0001I\\u0001Ţ\\u0001I\\u0004Ţ\\u0001I\\u0001Ţ\\u0006I\\u0001Ţ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ő\\u00014\\u0001\\\\0\\u0001Œ\\u0001\\\\0\\u0004Œ\\u0001\\\\0\\u0001Œ\\u0006\\\\0\\u0001Œ\\u0006\\\\0\\\\f/\\u0001Ť\\u0001/\\u0001?\\u0001ť\\u0001/\\u0004ť\\u0001/\\u0001ť\\u0006/\\u0001ť\\u0012/\\u0001Ť\\u0001Q\\u0001?\\u0001ť\\u0001/\\u0004ť\\u0001/\\u0001ť\\u0006/\\u0001ť\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ŧ\\u0002\\\\0\\u0001ŧ\\u0001\\\\0\\u0004ŧ\\u0001\\\\0\\u0001ŧ\\u0006\\\\0\\u0001ŧ\\u0012\\\\0\\u0001Ŧ\\u0001G\\u0001\\\\0\\u0001ŧ\\u0001\\\\0\\u0004ŧ\\u0001\\\\0\\u0001ŧ\\u0006\\\\0\\u0001ŧ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ř\\u00014\\u0001\\\\0\\u0001ř\\u0001\\\\0\\u0004ř\\u0001\\\\0\\u0001ř\\u0006\\\\0\\u0001ř\\u0006\\\\0\\\\fI\\u0001Ũ\\u0001d\\u0001I\\u0001ũ\\u0001I\\u0004ũ\\u0001I\\u0001ũ\\u0006I\\u0001ũ\\u0001I\\u0001M\\u0010I\\u0001Ū\\u0002I\\u0001ũ\\u0001I\\u0004ũ\\u0001I\\u0001ũ\\u0006I\\u0001ũ\\u0006I\\\\f/\\u0001ū\\u0001/\\u0001?\\u0001Ŭ\\u0001/\\u0004Ŭ\\u0001/\\u0001Ŭ\\u0006/\\u0001Ŭ\\u0012/\\u0001ū\\u0001Q\\u0001?\\u0001Ŭ\\u0001/\\u0004Ŭ\\u0001/\\u0001Ŭ\\u0006/\\u0001Ŭ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ŭ\\u0002\\\\0\\u0001Ů\\u0001\\\\0\\u0004Ů\\u0001\\\\0\\u0001Ů\\u0006\\\\0\\u0001Ů\\u0012\\\\0\\u0001ŭ\\u0001G\\u0001\\\\0\\u0001Ů\\u0001\\\\0\\u0004Ů\\u0001\\\\0\\u0001Ů\\u0006\\\\0\\u0001Ů\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ů\\u0002I\\u0001Ű\\u0001I\\u0004Ű\\u0001I\\u0001Ű\\u0006I\\u0001Ű\\u0012I\\u0001ű\\u0001d\\u0001I\\u0001Ű\\u0001I\\u0004Ű\\u0001I\\u0001Ű\\u0006I\\u0001Ű\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ş\\u00014\\u0001\\\\0\\u0001Š\\u0001\\\\0\\u0004Š\\u0001\\\\0\\u0001Š\\u0006\\\\0\\u0001Š\\u0006\\\\0\\\\f/\\u0001Ų\\u0001/\\u0001?\\u0001ų\\u0001/\\u0004ų\\u0001/\\u0001ų\\u0006/\\u0001ų\\u0012/\\u0001Ų\\u0001Q\\u0001?\\u0001ų\\u0001/\\u0004ų\\u0001/\\u0001ų\\u0006/\\u0001ų\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ŵ\\u0002\\\\0\\u0001ŵ\\u0001\\\\0\\u0004ŵ\\u0001\\\\0\\u0001ŵ\\u0006\\\\0\\u0001ŵ\\u0012\\\\0\\u0001Ŵ\\u0001G\\u0001\\\\0\\u0001ŵ\\u0001\\\\0\\u0004ŵ\\u0001\\\\0\\u0001ŵ\\u0006\\\\0\\u0001ŵ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ŧ\\u00014\\u0001\\\\0\\u0001ŧ\\u0001\\\\0\\u0004ŧ\\u0001\\\\0\\u0001ŧ\\u0006\\\\0\\u0001ŧ\\u0006\\\\0\\\\fI\\u0001Ŷ\\u0001d\\u0001I\\u0001ŷ\\u0001I\\u0004ŷ\\u0001I\\u0001ŷ\\u0006I\\u0001ŷ\\u0001I\\u0001M\\u0010I\\u0001Ÿ\\u0002I\\u0001ŷ\\u0001I\\u0004ŷ\\u0001I\\u0001ŷ\\u0006I\\u0001ŷ\\u0006I\\\\f/\\u0001Ź\\u0001/\\u0001?\\u0001ź\\u0001/\\u0004ź\\u0001/\\u0001ź\\u0006/\\u0001ź\\u0012/\\u0001Ź\\u0001Q\\u0001?\\u0001ź\\u0001/\\u0004ź\\u0001/\\u0001ź\\u0006/\\u0001ź\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ż\\u0002\\\\0\\u0001ż\\u0001\\\\0\\u0004ż\\u0001\\\\0\\u0001ż\\u0006\\\\0\\u0001ż\\u0012\\\\0\\u0001Ż\\u0001G\\u0001\\\\0\\u0001ż\\u0001\\\\0\\u0004ż\\u0001\\\\0\\u0001ż\\u0006\\\\0\\u0001ż\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ž\\u0002I\\u0001ž\\u0001I\\u0004ž\\u0001I\\u0001ž\\u0006I\\u0001ž\\u0012I\\u0001ſ\\u0001d\\u0001I\\u0001ž\\u0001I\\u0004ž\\u0001I\\u0001ž\\u0006I\\u0001ž\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ŭ\\u00014\\u0001\\\\0\\u0001Ů\\u0001\\\\0\\u0004Ů\\u0001\\\\0\\u0001Ů\\u0006\\\\0\\u0001Ů\\u0006\\\\0\\\\f/\\u0001ƀ\\u0001/\\u0001?\\u0001Ɓ\\u0001/\\u0004Ɓ\\u0001/\\u0001Ɓ\\u0006/\\u0001Ɓ\\u0012/\\u0001ƀ\\u0001Q\\u0001?\\u0001Ɓ\\u0001/\\u0004Ɓ\\u0001/\\u0001Ɓ\\u0006/\\u0001Ɓ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ƃ\\u0002\\\\0\\u0001ƃ\\u0001\\\\0\\u0004ƃ\\u0001\\\\0\\u0001ƃ\\u0006\\\\0\\u0001ƃ\\u0012\\\\0\\u0001Ƃ\\u0001G\\u0001\\\\0\\u0001ƃ\\u0001\\\\0\\u0004ƃ\\u0001\\\\0\\u0001ƃ\\u0006\\\\0\\u0001ƃ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ŵ\\u00014\\u0001\\\\0\\u0001ŵ\\u0001\\\\0\\u0004ŵ\\u0001\\\\0\\u0001ŵ\\u0006\\\\0\\u0001ŵ\\u0006\\\\0\\\\fI\\u0001Ƅ\\u0001d\\u0001I\\u0001ƅ\\u0001I\\u0004ƅ\\u0001I\\u0001ƅ\\u0006I\\u0001ƅ\\u0001I\\u0001M\\u0010I\\u0001Ɔ\\u0002I\\u0001ƅ\\u0001I\\u0004ƅ\\u0001I\\u0001ƅ\\u0006I\\u0001ƅ\\u0006I\\\\f/\\u0001Ƈ\\u0001/\\u0001?\\u0001ƈ\\u0001/\\u0004ƈ\\u0001/\\u0001ƈ\\u0006/\\u0001ƈ\\u0012/\\u0001Ƈ\\u0001Q\\u0001?\\u0001ƈ\\u0001/\\u0004ƈ\\u0001/\\u0001ƈ\\u0006/\\u0001ƈ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ɖ\\u0002\\\\0\\u0001Ɗ\\u0001\\\\0\\u0004Ɗ\\u0001\\\\0\\u0001Ɗ\\u0006\\\\0\\u0001Ɗ\\u0012\\\\0\\u0001Ɖ\\u0001G\\u0001\\\\0\\u0001Ɗ\\u0001\\\\0\\u0004Ɗ\\u0001\\\\0\\u0001Ɗ\\u0006\\\\0\\u0001Ɗ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ƌ\\u0002I\\u0001ƌ\\u0001I\\u0004ƌ\\u0001I\\u0001ƌ\\u0006I\\u0001ƌ\\u0012I\\u0001ƍ\\u0001d\\u0001I\\u0001ƌ\\u0001I\\u0004ƌ\\u0001I\\u0001ƌ\\u0006I\\u0001ƌ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ż\\u00014\\u0001\\\\0\\u0001ż\\u0001\\\\0\\u0004ż\\u0001\\\\0\\u0001ż\\u0006\\\\0\\u0001ż\\u0006\\\\0\\\\f/\\u0001Ǝ\\u0001/\\u0001?\\u0001Ə\\u0001/\\u0004Ə\\u0001/\\u0001Ə\\u0006/\\u0001Ə\\u0012/\\u0001Ǝ\\u0001Q\\u0001?\\u0001Ə\\u0001/\\u0004Ə\\u0001/\\u0001Ə\\u0006/\\u0001Ə\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ɛ\\u0002\\\\0\\u0001Ƒ\\u0001\\\\0\\u0004Ƒ\\u0001\\\\0\\u0001Ƒ\\u0006\\\\0\\u0001Ƒ\\u0012\\\\0\\u0001Ɛ\\u0001G\\u0001\\\\0\\u0001Ƒ\\u0001\\\\0\\u0004Ƒ\\u0001\\\\0\\u0001Ƒ\\u0006\\\\0\\u0001Ƒ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ƃ\\u00014\\u0001\\\\0\\u0001ƃ\\u0001\\\\0\\u0004ƃ\\u0001\\\\0\\u0001ƃ\\u0006\\\\0\\u0001ƃ\\u0006\\\\0\\\\fI\\u0001ƒ\\u0001d\\u0001I\\u0001Ɠ\\u0001I\\u0004Ɠ\\u0001I\\u0001Ɠ\\u0006I\\u0001Ɠ\\u0001I\\u0001M\\u0010I\\u0001Ɣ\\u0002I\\u0001Ɠ\\u0001I\\u0004Ɠ\\u0001I\\u0001Ɠ\\u0006I\\u0001Ɠ\\u0006I\\\\f/\\u0001ƕ\\u0001/\\u0001?\\u0001Ɩ\\u0001/\\u0004Ɩ\\u0001/\\u0001Ɩ\\u0006/\\u0001Ɩ\\u0012/\\u0001ƕ\\u0001Q\\u0001?\\u0001Ɩ\\u0001/\\u0004Ɩ\\u0001/\\u0001Ɩ\\u0006/\\u0001Ɩ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ɨ\\u0002\\\\0\\u0001Ƙ\\u0001\\\\0\\u0004Ƙ\\u0001\\\\0\\u0001Ƙ\\u0006\\\\0\\u0001Ƙ\\u0012\\\\0\\u0001Ɨ\\u0001G\\u0001\\\\0\\u0001Ƙ\\u0001\\\\0\\u0004Ƙ\\u0001\\\\0\\u0001Ƙ\\u0006\\\\0\\u0001Ƙ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ƙ\\u0002I\\u0001ƚ\\u0001I\\u0004ƚ\\u0001I\\u0001ƚ\\u0006I\\u0001ƚ\\u0012I\\u0001ƛ\\u0001d\\u0001I\\u0001ƚ\\u0001I\\u0004ƚ\\u0001I\\u0001ƚ\\u0006I\\u0001ƚ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ɖ\\u00014\\u0001\\\\0\\u0001Ɗ\\u0001\\\\0\\u0004Ɗ\\u0001\\\\0\\u0001Ɗ\\u0006\\\\0\\u0001Ɗ\\u0006\\\\0\\\\f/\\u0001Ɯ\\u0001/\\u0001?\\u0001Ɲ\\u0001/\\u0004Ɲ\\u0001/\\u0001Ɲ\\u0006/\\u0001Ɲ\\u0012/\\u0001Ɯ\\u0001Q\\u0001?\\u0001Ɲ\\u0001/\\u0004Ɲ\\u0001/\\u0001Ɲ\\u0006/\\u0001Ɲ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ƞ\\u0002\\\\0\\u0001Ɵ\\u0001\\\\0\\u0004Ɵ\\u0001\\\\0\\u0001Ɵ\\u0006\\\\0\\u0001Ɵ\\u0012\\\\0\\u0001ƞ\\u0001G\\u0001\\\\0\\u0001Ɵ\\u0001\\\\0\\u0004Ɵ\\u0001\\\\0\\u0001Ɵ\\u0006\\\\0\\u0001Ɵ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ɛ\\u00014\\u0001\\\\0\\u0001Ƒ\\u0001\\\\0\\u0004Ƒ\\u0001\\\\0\\u0001Ƒ\\u0006\\\\0\\u0001Ƒ\\u0006\\\\0\\\\fI\\u0001Ơ\\u0001d\\u0001I\\u0001ơ\\u0001I\\u0004ơ\\u0001I\\u0001ơ\\u0006I\\u0001ơ\\u0001I\\u0001M\\u0010I\\u0001Ƣ\\u0002I\\u0001ơ\\u0001I\\u0004ơ\\u0001I\\u0001ơ\\u0006I\\u0001ơ\\u0006I\\\\f/\\u0001ƣ\\u0001/\\u0001?\\u0001Ƥ\\u0001/\\u0004Ƥ\\u0001/\\u0001Ƥ\\u0006/\\u0001Ƥ\\u0012/\\u0001ƣ\\u0001Q\\u0001?\\u0001Ƥ\\u0001/\\u0004Ƥ\\u0001/\\u0001Ƥ\\u0006/\\u0001Ƥ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ƥ\\u0002\\\\0\\u0001Ʀ\\u0001\\\\0\\u0004Ʀ\\u0001\\\\0\\u0001Ʀ\\u0006\\\\0\\u0001Ʀ\\u0012\\\\0\\u0001ƥ\\u0001G\\u0001\\\\0\\u0001Ʀ\\u0001\\\\0\\u0004Ʀ\\u0001\\\\0\\u0001Ʀ\\u0006\\\\0\\u0001Ʀ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ƨ\\u0002I\\u0001ƨ\\u0001I\\u0004ƨ\\u0001I\\u0001ƨ\\u0006I\\u0001ƨ\\u0012I\\u0001Ʃ\\u0001d\\u0001I\\u0001ƨ\\u0001I\\u0004ƨ\\u0001I\\u0001ƨ\\u0006I\\u0001ƨ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ɨ\\u00014\\u0001\\\\0\\u0001Ƙ\\u0001\\\\0\\u0004Ƙ\\u0001\\\\0\\u0001Ƙ\\u0006\\\\0\\u0001Ƙ\\u0006\\\\0\\\\f/\\u0001ƪ\\u0001/\\u0001?\\u0001ƫ\\u0001/\\u0004ƫ\\u0001/\\u0001ƫ\\u0006/\\u0001ƫ\\u0012/\\u0001ƪ\\u0001Q\\u0001?\\u0001ƫ\\u0001/\\u0004ƫ\\u0001/\\u0001ƫ\\u0006/\\u0001ƫ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ƭ\\u0002\\\\0\\u0001ƭ\\u0001\\\\0\\u0004ƭ\\u0001\\\\0\\u0001ƭ\\u0006\\\\0\\u0001ƭ\\u0012\\\\0\\u0001Ƭ\\u0001G\\u0001\\\\0\\u0001ƭ\\u0001\\\\0\\u0004ƭ\\u0001\\\\0\\u0001ƭ\\u0006\\\\0\\u0001ƭ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ƞ\\u00014\\u0001\\\\0\\u0001Ɵ\\u0001\\\\0\\u0004Ɵ\\u0001\\\\0\\u0001Ɵ\\u0006\\\\0\\u0001Ɵ\\u0006\\\\0\\\\fI\\u0001Ʈ\\u0001d\\u0001I\\u0001Ư\\u0001I\\u0004Ư\\u0001I\\u0001Ư\\u0006I\\u0001Ư\\u0001I\\u0001M\\u0010I\\u0001ư\\u0002I\\u0001Ư\\u0001I\\u0004Ư\\u0001I\\u0001Ư\\u0006I\\u0001Ư\\u0006I\\\\f/\\u0001Ʊ\\u0001/\\u0001?\\u0001Ʋ\\u0001/\\u0004Ʋ\\u0001/\\u0001Ʋ\\u0006/\\u0001Ʋ\\u0012/\\u0001Ʊ\\u0001Q\\u0001?\\u0001Ʋ\\u0001/\\u0004Ʋ\\u0001/\\u0001Ʋ\\u0006/\\u0001Ʋ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ƴ\\u0002\\\\0\\u0001ƴ\\u0001\\\\0\\u0004ƴ\\u0001\\\\0\\u0001ƴ\\u0006\\\\0\\u0001ƴ\\u0012\\\\0\\u0001Ƴ\\u0001G\\u0001\\\\0\\u0001ƴ\\u0001\\\\0\\u0004ƴ\\u0001\\\\0\\u0001ƴ\\u0006\\\\0\\u0001ƴ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ƶ\\u0002I\\u0001ƶ\\u0001I\\u0004ƶ\\u0001I\\u0001ƶ\\u0006I\\u0001ƶ\\u0012I\\u0001Ʒ\\u0001d\\u0001I\\u0001ƶ\\u0001I\\u0004ƶ\\u0001I\\u0001ƶ\\u0006I\\u0001ƶ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ƥ\\u00014\\u0001\\\\0\\u0001Ʀ\\u0001\\\\0\\u0004Ʀ\\u0001\\\\0\\u0001Ʀ\\u0006\\\\0\\u0001Ʀ\\u0006\\\\0\\\\f/\\u0001Ƹ\\u0001/\\u0001?\\u0001ƹ\\u0001/\\u0004ƹ\\u0001/\\u0001ƹ\\u0006/\\u0001ƹ\\u0012/\\u0001Ƹ\\u0001Q\\u0001?\\u0001ƹ\\u0001/\\u0004ƹ\\u0001/\\u0001ƹ\\u0006/\\u0001ƹ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ƺ\\u0002\\\\0\\u0001ƻ\\u0001\\\\0\\u0004ƻ\\u0001\\\\0\\u0001ƻ\\u0006\\\\0\\u0001ƻ\\u0012\\\\0\\u0001ƺ\\u0001G\\u0001\\\\0\\u0001ƻ\\u0001\\\\0\\u0004ƻ\\u0001\\\\0\\u0001ƻ\\u0006\\\\0\\u0001ƻ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ƭ\\u00014\\u0001\\\\0\\u0001ƭ\\u0001\\\\0\\u0004ƭ\\u0001\\\\0\\u0001ƭ\\u0006\\\\0\\u0001ƭ\\u0006\\\\0\\\\fI\\u0001Ƽ\\u0001d\\u0001I\\u0001ƽ\\u0001I\\u0004ƽ\\u0001I\\u0001ƽ\\u0006I\\u0001ƽ\\u0001I\\u0001M\\u0010I\\u0001ƾ\\u0002I\\u0001ƽ\\u0001I\\u0004ƽ\\u0001I\\u0001ƽ\\u0006I\\u0001ƽ\\u0006I\\\\f/\\u0001ƿ\\u0001/\\u0001?\\u0001ǀ\\u0001/\\u0004ǀ\\u0001/\\u0001ǀ\\u0006/\\u0001ǀ\\u0012/\\u0001ƿ\\u0001Q\\u0001?\\u0001ǀ\\u0001/\\u0004ǀ\\u0001/\\u0001ǀ\\u0006/\\u0001ǀ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǁ\\u0002\\\\0\\u0001ǂ\\u0001\\\\0\\u0004ǂ\\u0001\\\\0\\u0001ǂ\\u0006\\\\0\\u0001ǂ\\u0012\\\\0\\u0001ǁ\\u0001G\\u0001\\\\0\\u0001ǂ\\u0001\\\\0\\u0004ǂ\\u0001\\\\0\\u0001ǂ\\u0006\\\\0\\u0001ǂ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ǃ\\u0002I\\u0001DŽ\\u0001I\\u0004DŽ\\u0001I\\u0001DŽ\\u0006I\\u0001DŽ\\u0012I\\u0001Dž\\u0001d\\u0001I\\u0001DŽ\\u0001I\\u0004DŽ\\u0001I\\u0001DŽ\\u0006I\\u0001DŽ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ƴ\\u00014\\u0001\\\\0\\u0001ƴ\\u0001\\\\0\\u0004ƴ\\u0001\\\\0\\u0001ƴ\\u0006\\\\0\\u0001ƴ\\u0006\\\\0\\\\f/\\u0001dž\\u0001/\\u0001?\\u0001LJ\\u0001/\\u0004LJ\\u0001/\\u0001LJ\\u0006/\\u0001LJ\\u0012/\\u0001dž\\u0001Q\\u0001?\\u0001LJ\\u0001/\\u0004LJ\\u0001/\\u0001LJ\\u0006/\\u0001LJ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Lj\\u0002\\\\0\\u0001lj\\u0001\\\\0\\u0004lj\\u0001\\\\0\\u0001lj\\u0006\\\\0\\u0001lj\\u0012\\\\0\\u0001Lj\\u0001G\\u0001\\\\0\\u0001lj\\u0001\\\\0\\u0004lj\\u0001\\\\0\\u0001lj\\u0006\\\\0\\u0001lj\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ƺ\\u00014\\u0001\\\\0\\u0001ƻ\\u0001\\\\0\\u0004ƻ\\u0001\\\\0\\u0001ƻ\\u0006\\\\0\\u0001ƻ\\u0006\\\\0\\\\fI\\u0001NJ\\u0001d\\u0001I\\u0001Nj\\u0001I\\u0004Nj\\u0001I\\u0001Nj\\u0006I\\u0001Nj\\u0001I\\u0001M\\u0010I\\u0001nj\\u0002I\\u0001Nj\\u0001I\\u0004Nj\\u0001I\\u0001Nj\\u0006I\\u0001Nj\\u0006I\\\\f/\\u0001Ǎ\\u0001/\\u0001?\\u0001ǎ\\u0001/\\u0004ǎ\\u0001/\\u0001ǎ\\u0006/\\u0001ǎ\\u0012/\\u0001Ǎ\\u0001Q\\u0001?\\u0001ǎ\\u0001/\\u0004ǎ\\u0001/\\u0001ǎ\\u0006/\\u0001ǎ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ǐ\\u0002\\\\0\\u0001ǐ\\u0001\\\\0\\u0004ǐ\\u0001\\\\0\\u0001ǐ\\u0006\\\\0\\u0001ǐ\\u0012\\\\0\\u0001Ǐ\\u0001G\\u0001\\\\0\\u0001ǐ\\u0001\\\\0\\u0004ǐ\\u0001\\\\0\\u0001ǐ\\u0006\\\\0\\u0001ǐ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ǒ\\u0002I\\u0001ǒ\\u0001I\\u0004ǒ\\u0001I\\u0001ǒ\\u0006I\\u0001ǒ\\u0012I\\u0001Ǔ\\u0001d\\u0001I\\u0001ǒ\\u0001I\\u0004ǒ\\u0001I\\u0001ǒ\\u0006I\\u0001ǒ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ǁ\\u00014\\u0001\\\\0\\u0001ǂ\\u0001\\\\0\\u0004ǂ\\u0001\\\\0\\u0001ǂ\\u0006\\\\0\\u0001ǂ\\u0006\\\\0\\\\f/\\u0001ǔ\\u0001/\\u0001?\\u0001Ǖ\\u0001/\\u0004Ǖ\\u0001/\\u0001Ǖ\\u0006/\\u0001Ǖ\\u0012/\\u0001ǔ\\u0001Q\\u0001?\\u0001Ǖ\\u0001/\\u0004Ǖ\\u0001/\\u0001Ǖ\\u0006/\\u0001Ǖ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǖ\\u0002\\\\0\\u0001Ǘ\\u0001\\\\0\\u0004Ǘ\\u0001\\\\0\\u0001Ǘ\\u0006\\\\0\\u0001Ǘ\\u0012\\\\0\\u0001ǖ\\u0001G\\u0001\\\\0\\u0001Ǘ\\u0001\\\\0\\u0004Ǘ\\u0001\\\\0\\u0001Ǘ\\u0006\\\\0\\u0001Ǘ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Lj\\u00014\\u0001\\\\0\\u0001lj\\u0001\\\\0\\u0004lj\\u0001\\\\0\\u0001lj\\u0006\\\\0\\u0001lj\\u0006\\\\0\\\\fI\\u0001ǘ\\u0001d\\u0001I\\u0001Ǚ\\u0001I\\u0004Ǚ\\u0001I\\u0001Ǚ\\u0006I\\u0001Ǚ\\u0001I\\u0001M\\u0010I\\u0001ǚ\\u0002I\\u0001Ǚ\\u0001I\\u0004Ǚ\\u0001I\\u0001Ǚ\\u0006I\\u0001Ǚ\\u0006I\\\\f/\\u0001Ǜ\\u0001/\\u0001?\\u0001ǜ\\u0001/\\u0004ǜ\\u0001/\\u0001ǜ\\u0006/\\u0001ǜ\\u0012/\\u0001Ǜ\\u0001Q\\u0001?\\u0001ǜ\\u0001/\\u0004ǜ\\u0001/\\u0001ǜ\\u0006/\\u0001ǜ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǝ\\u0002\\\\0\\u0001Ǟ\\u0001\\\\0\\u0004Ǟ\\u0001\\\\0\\u0001Ǟ\\u0006\\\\0\\u0001Ǟ\\u0012\\\\0\\u0001ǝ\\u0001G\\u0001\\\\0\\u0001Ǟ\\u0001\\\\0\\u0004Ǟ\\u0001\\\\0\\u0001Ǟ\\u0006\\\\0\\u0001Ǟ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ǟ\\u0002I\\u0001Ǡ\\u0001I\\u0004Ǡ\\u0001I\\u0001Ǡ\\u0006I\\u0001Ǡ\\u0012I\\u0001ǡ\\u0001d\\u0001I\\u0001Ǡ\\u0001I\\u0004Ǡ\\u0001I\\u0001Ǡ\\u0006I\\u0001Ǡ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001Ǐ\\u00014\\u0001\\\\0\\u0001ǐ\\u0001\\\\0\\u0004ǐ\\u0001\\\\0\\u0001ǐ\\u0006\\\\0\\u0001ǐ\\u0006\\\\0\\\\f/\\u0001Ǣ\\u0001/\\u0001?\\u0001ǣ\\u0001/\\u0004ǣ\\u0001/\\u0001ǣ\\u0006/\\u0001ǣ\\u0012/\\u0001Ǣ\\u0001Q\\u0001?\\u0001ǣ\\u0001/\\u0004ǣ\\u0001/\\u0001ǣ\\u0006/\\u0001ǣ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ǥ\\u0002\\\\0\\u0001ǥ\\u0001\\\\0\\u0004ǥ\\u0001\\\\0\\u0001ǥ\\u0006\\\\0\\u0001ǥ\\u0012\\\\0\\u0001Ǥ\\u0001G\\u0001\\\\0\\u0001ǥ\\u0001\\\\0\\u0004ǥ\\u0001\\\\0\\u0001ǥ\\u0006\\\\0\\u0001ǥ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001ǖ\\u00014\\u0001\\\\0\\u0001Ǘ\\u0001\\\\0\\u0004Ǘ\\u0001\\\\0\\u0001Ǘ\\u0006\\\\0\\u0001Ǘ\\u0006\\\\0\\\\fI\\u0001Ǧ\\u0001d\\u0001I\\u0001ǧ\\u0001I\\u0004ǧ\\u0001I\\u0001ǧ\\u0006I\\u0001ǧ\\u0001I\\u0001M\\u0010I\\u0001Ǩ\\u0002I\\u0001ǧ\\u0001I\\u0004ǧ\\u0001I\\u0001ǧ\\u0006I\\u0001ǧ\\u0006I\\\\f/\\u0001ǩ\\u0001/\\u0001?\\u0001Ǫ\\u0001/\\u0004Ǫ\\u0001/\\u0001Ǫ\\u0006/\\u0001Ǫ\\u0012/\\u0001ǩ\\u0001Q\\u0001?\\u0001Ǫ\\u0001/\\u0004Ǫ\\u0001/\\u0001Ǫ\\u0006/\\u0001Ǫ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǫ\\u0002\\\\0\\u0001Ǭ\\u0001\\\\0\\u0004Ǭ\\u0001\\\\0\\u0001Ǭ\\u0006\\\\0\\u0001Ǭ\\u0012\\\\0\\u0001ǫ\\u0001G\\u0001\\\\0\\u0001Ǭ\\u0001\\\\0\\u0004Ǭ\\u0001\\\\0\\u0001Ǭ\\u0006\\\\0\\u0001Ǭ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ǭ\\u0002I\\u0001Ǯ\\u0001I\\u0004Ǯ\\u0001I\\u0001Ǯ\\u0006I\\u0001Ǯ\\u0012I\\u0001ǯ\\u0001d\\u0001I\\u0001Ǯ\\u0001I\\u0004Ǯ\\u0001I\\u0001Ǯ\\u0006I\\u0001Ǯ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ǝ\\u00014\\u0001\\\\0\\u0001Ǟ\\u0001\\\\0\\u0004Ǟ\\u0001\\\\0\\u0001Ǟ\\u0006\\\\0\\u0001Ǟ\\u0006\\\\0\\\\f/\\u0001ǰ\\u0001/\\u0001?\\u0001DZ\\u0001/\\u0004DZ\\u0001/\\u0001DZ\\u0006/\\u0001DZ\\u0012/\\u0001ǰ\\u0001Q\\u0001?\\u0001DZ\\u0001/\\u0004DZ\\u0001/\\u0001DZ\\u0006/\\u0001DZ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Dz\\u0002\\\\0\\u0001dz\\u0001\\\\0\\u0004dz\\u0001\\\\0\\u0001dz\\u0006\\\\0\\u0001dz\\u0012\\\\0\\u0001Dz\\u0001G\\u0001\\\\0\\u0001dz\\u0001\\\\0\\u0004dz\\u0001\\\\0\\u0001dz\\u0006\\\\0\\u0001dz\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ǥ\\u00014\\u0001\\\\0\\u0001ǥ\\u0001\\\\0\\u0004ǥ\\u0001\\\\0\\u0001ǥ\\u0006\\\\0\\u0001ǥ\\u0006\\\\0\\\\fI\\u0001Ǵ\\u0001d\\u0001I\\u0001ǵ\\u0001I\\u0004ǵ\\u0001I\\u0001ǵ\\u0006I\\u0001ǵ\\u0001I\\u0001M\\u0010I\\u0001Ƕ\\u0002I\\u0001ǵ\\u0001I\\u0004ǵ\\u0001I\\u0001ǵ\\u0006I\\u0001ǵ\\u0006I\\\\f/\\u0001Ƿ\\u0001/\\u0001?\\u0001Ǹ\\u0001/\\u0004Ǹ\\u0001/\\u0001Ǹ\\u0006/\\u0001Ǹ\\u0012/\\u0001Ƿ\\u0001Q\\u0001?\\u0001Ǹ\\u0001/\\u0004Ǹ\\u0001/\\u0001Ǹ\\u0006/\\u0001Ǹ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ǹ\\u0002\\\\0\\u0001Ǻ\\u0001\\\\0\\u0004Ǻ\\u0001\\\\0\\u0001Ǻ\\u0006\\\\0\\u0001Ǻ\\u0012\\\\0\\u0001ǹ\\u0001G\\u0001\\\\0\\u0001Ǻ\\u0001\\\\0\\u0004Ǻ\\u0001\\\\0\\u0001Ǻ\\u0006\\\\0\\u0001Ǻ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ǻ\\u0002I\\u0001Ǽ\\u0001I\\u0004Ǽ\\u0001I\\u0001Ǽ\\u0006I\\u0001Ǽ\\u0012I\\u0001ǽ\\u0001d\\u0001I\\u0001Ǽ\\u0001I\\u0004Ǽ\\u0001I\\u0001Ǽ\\u0006I\\u0001Ǽ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ǫ\\u00014\\u0001\\\\0\\u0001Ǭ\\u0001\\\\0\\u0004Ǭ\\u0001\\\\0\\u0001Ǭ\\u0006\\\\0\\u0001Ǭ\\u0006\\\\0\\\\f/\\u0001Ǿ\\u0001/\\u0001?\\u0001ǿ\\u0001/\\u0004ǿ\\u0001/\\u0001ǿ\\u0006/\\u0001ǿ\\u0012/\\u0001Ǿ\\u0001Q\\u0001?\\u0001ǿ\\u0001/\\u0004ǿ\\u0001/\\u0001ǿ\\u0006/\\u0001ǿ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ȁ\\u0002\\\\0\\u0001ȁ\\u0001\\\\0\\u0004ȁ\\u0001\\\\0\\u0001ȁ\\u0006\\\\0\\u0001ȁ\\u0012\\\\0\\u0001Ȁ\\u0001G\\u0001\\\\0\\u0001ȁ\\u0001\\\\0\\u0004ȁ\\u0001\\\\0\\u0001ȁ\\u0006\\\\0\\u0001ȁ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Dz\\u00014\\u0001\\\\0\\u0001dz\\u0001\\\\0\\u0004dz\\u0001\\\\0\\u0001dz\\u0006\\\\0\\u0001dz\\u0006\\\\0\\\\fI\\u0001Ȃ\\u0001d\\u0001I\\u0001ȃ\\u0001I\\u0004ȃ\\u0001I\\u0001ȃ\\u0006I\\u0001ȃ\\u0001I\\u0001M\\u0010I\\u0001Ȅ\\u0002I\\u0001ȃ\\u0001I\\u0004ȃ\\u0001I\\u0001ȃ\\u0006I\\u0001ȃ\\u0006I\\\\f/\\u0001ȅ\\u0001/\\u0001?\\u0001Ȇ\\u0001/\\u0004Ȇ\\u0001/\\u0001Ȇ\\u0006/\\u0001Ȇ\\u0012/\\u0001ȅ\\u0001Q\\u0001?\\u0001Ȇ\\u0001/\\u0004Ȇ\\u0001/\\u0001Ȇ\\u0006/\\u0001Ȇ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ȇ\\u0002\\\\0\\u0001Ȉ\\u0001\\\\0\\u0004Ȉ\\u0001\\\\0\\u0001Ȉ\\u0006\\\\0\\u0001Ȉ\\u0012\\\\0\\u0001ȇ\\u0001G\\u0001\\\\0\\u0001Ȉ\\u0001\\\\0\\u0004Ȉ\\u0001\\\\0\\u0001Ȉ\\u0006\\\\0\\u0001Ȉ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ȉ\\u0002I\\u0001Ȋ\\u0001I\\u0004Ȋ\\u0001I\\u0001Ȋ\\u0006I\\u0001Ȋ\\u0012I\\u0001ȋ\\u0001d\\u0001I\\u0001Ȋ\\u0001I\\u0004Ȋ\\u0001I\\u0001Ȋ\\u0006I\\u0001Ȋ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ǹ\\u00014\\u0001\\\\0\\u0001Ǻ\\u0001\\\\0\\u0004Ǻ\\u0001\\\\0\\u0001Ǻ\\u0006\\\\0\\u0001Ǻ\\u0006\\\\0\\\\f/\\u0001Ȍ\\u0001/\\u0001?\\u0001ȍ\\u0001/\\u0004ȍ\\u0001/\\u0001ȍ\\u0006/\\u0001ȍ\\u0012/\\u0001Ȍ\\u0001Q\\u0001?\\u0001ȍ\\u0001/\\u0004ȍ\\u0001/\\u0001ȍ\\u0006/\\u0001ȍ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ȏ\\u0002\\\\0\\u0001ȏ\\u0001\\\\0\\u0004ȏ\\u0001\\\\0\\u0001ȏ\\u0006\\\\0\\u0001ȏ\\u0012\\\\0\\u0001Ȏ\\u0001G\\u0001\\\\0\\u0001ȏ\\u0001\\\\0\\u0004ȏ\\u0001\\\\0\\u0001ȏ\\u0006\\\\0\\u0001ȏ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ȁ\\u00014\\u0001\\\\0\\u0001ȁ\\u0001\\\\0\\u0004ȁ\\u0001\\\\0\\u0001ȁ\\u0006\\\\0\\u0001ȁ\\u0006\\\\0\\\\fI\\u0001Ȑ\\u0001d\\u0001I\\u0001ȑ\\u0001I\\u0004ȑ\\u0001I\\u0001ȑ\\u0006I\\u0001ȑ\\u0001I\\u0001M\\u0010I\\u0001Ȓ\\u0002I\\u0001ȑ\\u0001I\\u0004ȑ\\u0001I\\u0001ȑ\\u0006I\\u0001ȑ\\u0006I\\\\f/\\u0001ȓ\\u0001/\\u0001?\\u0001Ȕ\\u0001/\\u0004Ȕ\\u0001/\\u0001Ȕ\\u0006/\\u0001Ȕ\\u0012/\\u0001ȓ\\u0001Q\\u0001?\\u0001Ȕ\\u0001/\\u0004Ȕ\\u0001/\\u0001Ȕ\\u0006/\\u0001Ȕ\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001ȕ\\u0002\\\\0\\u0001Ȗ\\u0001\\\\0\\u0004Ȗ\\u0001\\\\0\\u0001Ȗ\\u0006\\\\0\\u0001Ȗ\\u0012\\\\0\\u0001ȕ\\u0001G\\u0001\\\\0\\u0001Ȗ\\u0001\\\\0\\u0004Ȗ\\u0001\\\\0\\u0001Ȗ\\u0006\\\\0\\u0001Ȗ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001ȗ\\u0002I\\u0001Ș\\u0001I\\u0004Ș\\u0001I\\u0001Ș\\u0006I\\u0001Ș\\u0012I\\u0001ș\\u0001d\\u0001I\\u0001Ș\\u0001I\\u0004Ș\\u0001I\\u0001Ș\\u0006I\\u0001Ș\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ȇ\\u00014\\u0001\\\\0\\u0001Ȉ\\u0001\\\\0\\u0004Ȉ\\u0001\\\\0\\u0001Ȉ\\u0006\\\\0\\u0001Ȉ\\u0006\\\\0\\\\f/\\u0001Ț\\u0001/\\u0001?\\u0001ț\\u0001/\\u0004ț\\u0001/\\u0001ț\\u0006/\\u0001ț\\u0012/\\u0001Ț\\u0001Q\\u0001?\\u0001ț\\u0001/\\u0004ț\\u0001/\\u0001ț\\u0006/\\u0001ț\\u0001/\\u00011\\u0004/\\\\f\\\\0\\u0001Ȝ\\u0002\\\\0\\u0001ȝ\\u0001\\\\0\\u0004ȝ\\u0001\\\\0\\u0001ȝ\\u0006\\\\0\\u0001ȝ\\u0012\\\\0\\u0001Ȝ\\u0001G\\u0001\\\\0\\u0001ȝ\\u0001\\\\0\\u0004ȝ\\u0001\\\\0\\u0001ȝ\\u0006\\\\0\\u0001ȝ\\u0001\\\\0\\u0001+\\u0010\\\\0\\u0001Ȏ\\u00014\\u0001\\\\0\\u0001ȏ\\u0001\\\\0\\u0004ȏ\\u0001\\\\0\\u0001ȏ\\u0006\\\\0\\u0001ȏ\\u0006\\\\0\\\\fI\\u0001Ȟ\\u0001d\\u0001I\\u0001ȟ\\u0001I\\u0004ȟ\\u0001I\\u0001ȟ\\u0006I\\u0001ȟ\\u0001I\\u0001M\\u0010I\\u0001Ƞ\\u0002I\\u0001ȟ\\u0001I\\u0004ȟ\\u0001I\\u0001ȟ\\u0006I\\u0001ȟ\\u0006I\\\\f/\\u0001ȡ\\u0001/\\u0001?\\u0001Ȣ\\u0001/\\u0004Ȣ\\u0001/\\u0001Ȣ\\u0006/\\u0001Ȣ\\u0012/\\u0001ȡ\\u0001Q\\u0001?\\u0001Ȣ\\u0001/\\u0004Ȣ\\u0001/\\u0001Ȣ\\u0006/\\u0001Ȣ\\u0001/\\u00011\\u0004/\\u000f\\\\0\\u0001ȣ\\u0001\\\\0\\u0004ȣ\\u0001\\\\0\\u0001ȣ\\u0006\\\\0\\u0001ȣ\\u0013\\\\0\\u0001G\\u0001\\\\0\\u0001ȣ\\u0001\\\\0\\u0004ȣ\\u0001\\\\0\\u0001ȣ\\u0006\\\\0\\u0001ȣ\\u0001\\\\0\\u0001+\\u0004\\\\0\\\\fI\\u0001Ȥ\\u0002I\\u0001ȥ\\u0001I\\u0004ȥ\\u0001I\\u0001ȥ\\u0006I\\u0001ȥ\\u0012I\\u0001Ȧ\\u0001d\\u0001I\\u0001ȥ\\u0001I\\u0004ȥ\\u0001I\\u0001ȥ\\u0006I\\u0001ȥ\\u0001I\\u0001M\\u0004I\\\\f\\\\0\\u0001ȕ\\u00014\\u0001\\\\0\\u0001Ȗ\\u0001\\\\0\\u0004Ȗ\\u0001\\\\0\\u0001Ȗ\\u0006\\\\0\\u0001Ȗ\\u0006\\\\0\\u000e/\\u0001?\\u0001ȧ\\u0001/\\u0004ȧ\\u0001/\\u0001ȧ\\u0006/\\u0001ȧ\\u0013/\\u0001Q\\u0001?\\u0001ȧ\\u0001/\\u0004ȧ\\u0001/\\u0001ȧ\\u0006/\\u0001ȧ\\u0001/\\u00011\\u0004/\\\\r\\\\0\\u0001G\\u0011\\\\0\\u0001+\\u0010\\\\0\\u0001Ȝ\\u00014\\u0001\\\\0\\u0001ȝ\\u0001\\\\0\\u0004ȝ\\u0001\\\\0\\u0001ȝ\\u0006\\\\0\\u0001ȝ\\u0006\\\\0\\\\fI\\u0001Ȩ\\u0001d\\u0001I\\u0001ȩ\\u0001I\\u0004ȩ\\u0001I\\u0001ȩ\\u0006I\\u0001ȩ\\u0001I\\u0001M\\u0010I\\u0001Ȫ\\u0002I\\u0001ȩ\\u0001I\\u0004ȩ\\u0001I\\u0001ȩ\\u0006I\\u0001ȩ\\u0006I\\\\r/\\u0001Q\\u0001?\\u0010/\\u00011\\u0004/\\\\fI\\u0001A\\u0002I\\u0001ȫ\\u0001I\\u0004ȫ\\u0001I\\u0001ȫ\\u0006I\\u0001ȫ\\u0012I\\u0001X\\u0001d\\u0001I\\u0001ȫ\\u0001I\\u0004ȫ\\u0001I\\u0001ȫ\\u0006I\\u0001ȫ\\u0001I\\u0001M\\u0004I\\\\r\\\\0\\u00014\\u0001\\\\0\\u0001ȣ\\u0001\\\\0\\u0004ȣ\\u0001\\\\0\\u0001ȣ\\u0006\\\\0\\u0001ȣ\\u0006\\\\0\\\\fI\\u0001X\\u0001d\\u0011I\\u0001M\\u0004I',n,e),e}(),this.e5d_1=0,this.f5d_1=1,this.g5d_1=2,n=[\\\"Unknown internal scanner error\\\",\\\"Error: could not match input\\\",\\\"Error: pushback value was too large\\\"],this.h5d_1=n,this.i5d_1=\\\"\\u0004\\\\0\\u0001\\\\t\\u0002\\u0001\\u0002\\\\t\\u0003\\u0001\\u0001\\\\t\\u0002\\u0001\\u0003\\\\t\\u0001\\u0001\\u0001\\\\t\\u0004\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\\\t\\u0001\\u0001\\u0001\\\\t\\u0001\\u0001\\u0007\\\\0\\u0002\\u0001\\\\t\\\\0\\u0001\\\\t\\u0005\\\\0\\u0001\\u0001\\\\f\\\\0\\u0001\\\\t\\u0004\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\\\t\\u000e\\\\0\\u0001\\u0001\\u001a\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001;\\\\0\\u0001\\u0001ŭ\\\\0\\\",this.j5d_1=function(t){var e=new Int32Array(555),n=0;return n=function(t,e,n,r){for(var i=0,o=n,a=e.length;i<a;){var s=i;i=s+1|0;var l=Ft(ct(e,s)),u=i;i=u+1|0;var c=Ft(ct(e,u));do{var h=o;o=h+1|0,r[h]=c,l=l-1|0}while(l>0)}return o}(0,\\\"\\u0004\\\\0\\u0001\\\\t\\u0002\\u0001\\u0002\\\\t\\u0003\\u0001\\u0001\\\\t\\u0002\\u0001\\u0003\\\\t\\u0001\\u0001\\u0001\\\\t\\u0004\\u0001\\u0001\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\\\t\\u0001\\u0001\\u0001\\\\t\\u0001\\u0001\\u0007\\\\0\\u0002\\u0001\\\\t\\\\0\\u0001\\\\t\\u0005\\\\0\\u0001\\u0001\\\\f\\\\0\\u0001\\\\t\\u0004\\\\0\\u0001\\u0001\\u0004\\\\0\\u0001\\u0001\\u0003\\\\0\\u0001\\\\t\\u000e\\\\0\\u0001\\u0001\\u001a\\\\0\\u0001\\u0001\\u0002\\\\0\\u0001\\u0001;\\\\0\\u0001\\u0001ŭ\\\\0\\\",n,e),e}()}function qi(){return null==P&&new Ui,P}function Vi(){qi(),this.a5c_1=0,qi(),this.b5c_1=0,this.c5c_1=\\\"\\\",this.d5c_1=0,this.e5c_1=0,this.f5c_1=0,this.g5c_1=0,this.h5c_1=!0,this.i5c_1=!1,this.j5c_1=!1,this.k5c_1=ft(),this.l5c_1=!1,this.m5c_1=new Di}function Hi(t,e,n){if(0===Pt(e))return e;for(var r=n,i=0,o=r.length;i<o;){var a=r[i];if(i=i+1|0,pt(new ht(ct(e,0)),new ht(ct(a,0)))&&pt(new ht(ct(e,Pt(e)-1|0)),new ht(ct(a,1))))return vt(e,1,Pt(e)-1|0)}return e}function Gi(t,e){this.k5d_1=t,this.l5d_1=e,Ln.call(this)}function Wi(){z=this}function Xi(){return null==z&&new Wi,z}function Yi(){R=this,this.s4z_1=ne(\\\"\\\\\\\\s+\\\")}function Zi(){return null==R&&new Yi,R}function Ki(t,e,n){Xi(),this.t59_1=t,this.u59_1=e,this.v59_1=n}function Ji(t){Zi(),this.r59_1=t}function Qi(t,e,n,r){if(this.l51_1=t,this.h51_1=e,this.i51_1=n,this.j51_1=r,this.k51_1=this.l51_1.p5d_1.j(this.h51_1),Ai(),!(this.i51_1>=-1&&this.i51_1<this.k51_1.length))throw re(\\\"\\\")}function to(t){this.o5d_1=t;var e=It([dt(10)]);this.p5d_1=ve(this.o5d_1,e,!1,0,6,null);var n,r=this.o5d_1;n=Pt(r)>0?new Qi(this,0,-1,-1).w5d(0,1,null):null,this.q5d_1=n}function eo(t,e){this.z5d_1=t,_n.call(this,e)}function no(t){this.a5e_1=t}function ro(t,e,n,r){io(t,e,r.q5e_1),n.i58(r.r5e_1)&&(t.t50_1.z4(e),oo(t))}function io(t,e,n){if(!n.equals(Wo())){for(var r=t.t50_1.h()-1|0;r>e;){var i=t.t50_1.j(r).i58(n);if(Ai(),!i)throw re(\\\"If closing action is not NOTHING, marker should be gone\\\");t.t50_1.z4(r),r=r-1|0}oo(t)}}function oo(t){t.u50_1=t.t50_1.i()?t.r50_1:ce(t.t50_1).h58()}function ao(t,e,n){this.b51_1=t,this.c51_1=e,this.d51_1=n}function so(t,e){var n;this.q50_1=t,this.r50_1=e,this.s50_1=he(),this.t50_1=ft(),this.u50_1=this.r50_1,this.v50_1=-1,this.w50_1=(n=this,function(t,e){var r=!1,i=n.z50().e();t:for(;i.f();)if(i.g().r58(t,e)){r=!0;break t}return r})}function lo(){}function uo(t,e,n,r){var i=new ts(e,r);if(Ai(),null==i.c9())throw re(\\\"\\\");for(var o=t.j5e_1.a4y(we(i.c9()),i.x7(),i.v5e()).e();o.f();){var a=o.g();null==n||n.a(new yo(a,i.l54_1,i.l54_1+1|0))}}function co(t,e,n,r,i,o){for(var a=new ts(e,r),s=0;null!=a.a55(s+i|0)&&a.w5e(s+i|0)!==o;)s=s+i|0;for(;0!==s;){var l=we(a.a55(s));n.r(t.j5e_1.a4y(l,a.w5e(s),a.w5e(s+1|0))),s=s-i|0}}function ho(t,e){_o.call(this,t),this.y5e_1=e,this.z5e_1=-1}function po(t,e,n,r){n!==r&&e.r(t.j5e_1.a4y(fn().u4x_1,n,r))}function fo(t){_o.call(this,t)}function mo(t){this.g5e_1=t,this.f5e_1=this.g5e_1.r51_1}function vo(){this.r51_1=0,this.s51_1=ft()}function go(t,e,n){this.b5f_1=t,this.c5f_1=e,this.d5f_1=n}function yo(t,e,n){this.f5f_1=t,this.g5f_1=e,this.h5f_1=n}function _o(t){this.j5e_1=t}function bo(t,e,n,r,i,o){var a=e.i52_1.length,s=Ue(e.i52_1,a+1|0),l=qe(e.q51(),a+1|0),u=Ve(e.p52(),a+1|0);return s[a]=e.i2x()+n|0,l[a]=r,u[a]=i,e.f52(s,l,u,o)}function xo(t,e,n){this.m52_1=t,this.n52_1=e,this.o52_1=n}function wo(){D=this,this.f50_1=new Co(new Int32Array(0),Ut(0),qt(0),0),this.g50_1=dt(62)}function Ao(){return null==D&&new wo,D}function Co(t,e,n,r){Ao(),this.i52_1=t,this.j52_1=e,this.k52_1=n,this.l52_1=r}function Mo(){}function Eo(t,e){var n=t.q52(),r=Pt(e);return Math.min(n,r)}function To(t,e){return!!t.r52(e)&&!t.s52(e.q51().length)}function So(t,e){return Pt(e)<t.q52()?\\\"\\\":vt(e,t.q52(),Pt(e))}function ko(t,e){if(Ai(),-1!==e.m51())throw re(\\\"\\\");var n=t.g51(e),r=e.k51_1;t:for(;;){var i=Eo(n,r),o=n.e51(e.v5d(1+i|0));if(null==o)break t;n=o}return n}function Oo(t,e){return!!e.r52(t)&&!function(t){return t.s52(t.q51().length)}(t)}function Io(){$=this}function Lo(){return null==$&&new Io,$}function Po(){jo.call(this,\\\"DONE\\\",0),B=this}function zo(){jo.call(this,\\\"DROP\\\",1),N=this}function Ro(){jo.call(this,\\\"DEFAULT\\\",2),F=this}function Do(){jo.call(this,\\\"NOTHING\\\",3),j=this}function $o(){if(U)return gt();U=!0,B=new Po,N=new zo,F=new Ro,j=new Do}function Bo(){if(H)return gt();H=!0,q=new Uo(\\\"PROPAGATE\\\",0),V=new Uo(\\\"CANCEL\\\",1)}function No(){G=this,this.v57_1=new qo(Wo(),Wo(),Xo()),this.w57_1=new qo(Wo(),Wo(),Yo()),this.x57_1=new qo(Go(),Vo(),Xo())}function Fo(){return null==G&&new No,G}function jo(t,e){ee.call(this,t,e)}function Uo(t,e){ee.call(this,t,e)}function qo(t,e,n){Fo(),this.q5e_1=t,this.r5e_1=e,this.s5e_1=n}function Vo(){return $o(),B}function Ho(){return $o(),N}function Go(){return $o(),F}function Wo(){return $o(),j}function Xo(){return Bo(),q}function Yo(){return Bo(),V}function Zo(){}function Ko(t,e){this.h57_1=t,this.i57_1=e,this.j57_1=-2,this.k57_1=null}function Jo(){W=this}function Qo(){return null==W&&new Jo,W}function ta(){}function ea(t,e,n,r,i){Ko.call(this,t,e.t57());var o=e.r51_1;e.t51(Et([new Fa(Nt(o+n.e1_1|0,1+(o+n.f1_1|0)|0),fn().z4w_1),new Fa(Nt(1+(o+n.f1_1|0)|0,r),fn().a4x_1),new Fa(Nt(r,i),fn().z4w_1)])),this.k5g_1=function(t,e){switch(e){case 1:return cn().y4v_1;case 2:return cn().z4v_1;case 3:return cn().a4w_1;case 4:return cn().b4w_1;case 5:return cn().c4w_1;default:return cn().d4w_1}}(0,1+(n.f1_1-n.e1_1|0)|0)}function na(t,e){Ko.call(this,t,e)}function ra(t,e,n){Ko.call(this,t,e.t57()),this.t5g_1=e,this.t5g_1.t51(mt(new Fa(Nt(n.o51(),n.p51()),fn().j4w_1))),this.u5g_1=-1}function ia(t,e,n){Ko.call(this,t,e.t57()),this.z5g_1=e,this.a5h_1=n,this.b5h_1=ne(\\\"^ {0,3}\\\"+this.a5h_1+\\\"+ *$\\\"),this.c5h_1=-1}function oa(t,e){Ko.call(this,t,e)}function aa(t,e,n,r){Ko.call(this,t,e.t57()),this.l5h_1=e,this.m5h_1=n,this.l5h_1.t51(mt(new Fa(Nt(r.o51(),r.p51()),fn().l4w_1)))}function sa(t,e,n){Ko.call(this,t,e),this.r5h_1=n}function la(t,e){Ko.call(this,t,e)}function ua(t,e,n){Ko.call(this,t,e),this.a5i_1=n}function ca(t,e,n){Ko.call(this,t,e),this.f5i_1=n}function ha(t,e){Ko.call(this,t,e.t57()),this.k5i_1=e,this.l5i_1=this.k5i_1.t57(),this.m5i_1=cn().w4v_1}function pa(t,e){if(-1!==e.m51()){var n=e.p58(),r=Qo().f5g(n,0,2,null);if(r>=Pt(n)||!pt(new ht(ct(n,r)),new ht(dt(35))))return null;var i=r,o=0;if(o<6)do{o=o+1|0,r<Pt(n)&&pt(new ht(ct(n,r)),new ht(dt(35)))&&(r=r+1|0)}while(o<6);return r<Pt(n)&&!Et([new ht(dt(32)),new ht(dt(9))]).t1(new ht(ct(n,r)))?null:new Ke(i,r-1|0)}return null}function fa(){}function da(){}function ma(){}function va(t,e,n){if(!Qo().f51(e,n))return null;var r=ya().n5i_1,i=e.p58(),o=r.vj(i,0,2,null);if(null==o)return null;var a=o,s=a.fa().j(1),l=we(null==s?null:s.dk_1),u=a.fa().j(2);return new je(l,we(null==u?null:u.dk_1))}function ga(){X=this,this.n5i_1=ne(\\\"^ {0,3}(~~~+|```+)([^`]*)$\\\")}function ya(){return null==X&&new ga,X}function _a(){ya()}function ba(){Y=this}function xa(){return null==Y&&new ba,Y}function wa(){xa()}function Aa(t){return\\\"(\\\"+t.t_1.l9_1+\\\")\\\"}function Ca(t,e,n){if(!Qo().f51(e,n))return-1;var r=e.p58(),i=Qo().f5g(r,0,2,null);if(i>=Pt(r)||!pt(new ht(ct(r,i)),new ht(dt(60))))return-1;var o=Ea().x5i_1,a=Pt(r),s=Tt(vt(r,i,a)),l=o.vj(s,0,2,null);if(null==l)return-1;var u=l;if(Ai(),u.fa().h()!==(Ea().w5i_1.h()+2|0))throw re(\\\"There are some excess capturing groups probably!\\\");var c=0,h=Ea().w5i_1.h()-1|0;if(c<=h)do{var p=c;if(c=c+1|0,null!=u.fa().j(p+2|0))return p}while(p!==h);throw Ai(),re(\\\"Match found but all groups are empty!\\\")}function Ma(){Z=this,this.p5i_1=\\\"address, article, aside, base, basefont, blockquote, body, caption, center, col, colgroup, dd, details, dialog, dir, div, dl, dt, fieldset, figcaption, figure, footer, form, frame, frameset, h1, head, header, hr, html, legend, li, link, main, menu, menuitem, meta, nav, noframes, ol, optgroup, option, p, param, pre, section, source, title, summary, table, tbody, td, tfoot, th, thead, title, tr, track, ul\\\",this.q5i_1=\\\"[a-zA-Z][a-zA-Z0-9-]*\\\",this.r5i_1=\\\"[A-Za-z:_][A-Za-z0-9_.:-]*\\\",this.s5i_1=\\\"\\\\\\\\s*=\\\\\\\\s*(?:[^ \\\\\\\"'=<>`]+|'[^']*'|\\\\\\\"[^\\\\\\\"]*\\\\\\\")\\\",this.t5i_1=\\\"\\\\\\\\s+\\\"+this.r5i_1+\\\"(?:\\\"+this.s5i_1+\\\")?\\\",this.u5i_1=\\\"<\\\"+this.q5i_1+\\\"(?:\\\"+this.t5i_1+\\\")*\\\\\\\\s*/?>\\\",this.v5i_1=\\\"</\\\"+this.q5i_1+\\\"\\\\\\\\s*>\\\";var t=new je(xe(\\\"<(?:script|pre|style)(?: |>|$)\\\",be()),xe(\\\"</(?:script|style|pre)>\\\",be())),e=new je(ne(\\\"\\\\x3c!--\\\"),ne(\\\"--\\\\x3e\\\")),n=new je(ne(\\\"<\\\\\\\\?\\\"),ne(\\\"\\\\\\\\?>\\\")),r=new je(ne(\\\"<![A-Z]\\\"),ne(\\\">\\\")),i=new je(ne(\\\"<!\\\\\\\\[CDATA\\\\\\\\[\\\"),ne(\\\"\\\\\\\\]\\\\\\\\]>\\\"));this.w5i_1=Et([t,e,n,r,i,new je(xe(\\\"</?(?:\\\"+Je(this.p5i_1,\\\", \\\",\\\"|\\\",!1,4,null)+\\\")(?: |/?>|$)\\\",be()),null),new je(ne(\\\"(?:\\\"+this.u5i_1+\\\"|\\\"+this.v5i_1+\\\")(?: |$)\\\"),null)]),this.x5i_1=ne(\\\"^(\\\"+Rt(this.w5i_1,\\\"|\\\",null,null,0,null,Aa,30,null)+\\\")\\\")}function Ea(){return null==Z&&new Ma,Z}function Ta(){Ea()}function Sa(t,e,n){var r=n;t:for(;;){var i;if(r<Pt(e)){var o=ct(e,r);i=!!pt(new ht(o),new ht(dt(32)))||pt(new ht(o),new ht(dt(9)))}else i=!1;if(!i)break t;r=r+1|0}if(r<Pt(e)&&pt(new ht(ct(e,r)),new ht(dt(10)))){r=r+1|0;t:for(;;){var a;if(r<Pt(e)){var s=ct(e,r);a=!!pt(new ht(s),new ht(dt(32)))||pt(new ht(s),new ht(dt(9)))}else a=!1;if(!a)break t;r=r+1|0}}return r}function ka(){K=this}function Oa(){return null==K&&new ka,K}function Ia(){Oa()}function La(){}function Pa(){J=this,this.e5j_1=ne(\\\"^ {0,3}(-+|=+) *$\\\")}function za(){return null==J&&new Pa,J}function Ra(){za()}function Da(t,e){this.g5j_1=t,this.h5j_1=e}function $a(){Q=this}function Ba(){return null==Q&&new $a,Q}function Na(t){Ba(),es.call(this);var e=function(t,e){for(var n,r=ft(),i=ft();null!=e.h5b_1;){var o=(n=e.h5b_1,pt(n,fn().u4x_1)),a=new Pi(e.h5b_1,e.m5b_1,e.n5b_1,r.h(),o?-1:i.h());r.a(a),o||i.a(a),e.w54()}return new Da(r,i)}(Ba(),t),n=e.m4(),r=e.n4();this.l5e_1=n,this.m5e_1=r,this.n5e_1=t.j5b_1,this.o5e_1=We(t.k5b_1,t.l5b_1),this.i5j()}function Fa(t,e){this.y57_1=t,this.z57_1=e}function ja(){}function Ua(){this.x54_1=ft(),this.y54_1=ft()}function qa(){}function Va(t,e,n){return function(t,e,n,r){return Ga.call(r,t,e,mt(n)),r}(t,e,n,Object.create(Ga.prototype))}function Ha(t,e){return function(t,e,n){return Ga.call(n,t,e,he()),n}(t,e,Object.create(Ga.prototype))}function Ga(t,e,n){this.q5j_1=t,this.r5j_1=e,this.s5j_1=n}function Wa(){}function Xa(){tt=this}function Ya(){return null==tt&&new Xa,tt}function Za(){this.n54_1=ft(),this.o54_1=-239,this.p54_1=-239}function Ka(t,e){return function(t,e,n){var r=_t(e),i=null==r?null:r.x7();return Qa.call(n,t,e,0,null==i?-1:i),n}(t,e,Object.create(Qa.prototype))}function Ja(t,e){if(t.l54_1<0)return new Pi(null,t.m54_1.l5j().e1_1,t.m54_1.l5j().e1_1,0,0);if(t.l54_1>t.m54_1.k5j().h())return new Pi(null,t.m54_1.l5j().f1_1+1|0,t.m54_1.l5j().f1_1+1|0,0,0);var n=t.l54_1<t.m54_1.k5j().h()?t.m54_1.k5j().j(t.l54_1).v5b_1+e|0:t.m54_1.j5j().h()+e|0;return n<0?new Pi(null,t.m54_1.l5j().e1_1,t.m54_1.l5j().e1_1,0,0):n>=t.m54_1.j5j().h()?new Pi(null,t.m54_1.l5j().f1_1+1|0,t.m54_1.l5j().f1_1+1|0,0,0):t.m54_1.j5j().j(n)}function Qa(t,e,n,r){this.v54_1=t,ts.call(this,t,r),this.t54_1=e,this.u54_1=n}function ts(t,e){this.m54_1=t,this.l54_1=e}function es(){}function ns(t){this.y5j_1=t}function rs(t,e,n){for(var r=e;null!=r.c9();){if((pt(r.c9(),fn().f4x_1)||pt(r.c9(),fn().g4x_1))&&is(0,r,!1)===n)return r;r=r.w54()}return null}function is(t,e,n){var r=0;return pt(e.c9(),fn().g4x_1)&&(r=n?2:1),e.md()-r|0}function os(){}function as(t,e){for(var n=e;pt(n.a55(-1),fn().e4x_1)&&pt(new ht(cs(0,n)),new ht(n.u5j(-1)));)n=n.w5j();var r=e,i=0;if(i<=49)do{var o=i;if(i=i+1|0,!pt(r.a55(1),fn().e4x_1)||!pt(new ht(cs(0,r)),new ht(cs(0,r.w54()))))return ls(0,n,r)?pt(new ht(cs(0,r)),new ht(fs().z5j_1))&&us(t,n,r)&&!Ya().v5j(n,-1)?0:o+1|0:0;r=r.w54()}while(49!==o);return 50}function ss(t,e){var n=e;if(Ya().t5j(n,-1))return 0;var r=0;if(r<=49)do{var i=r;if(r=r+1|0,!pt(n.a55(1),fn().e4x_1)||!pt(new ht(cs(0,n)),new ht(cs(0,n.w54()))))return us(t,e,n)?pt(new ht(cs(0,n)),new ht(fs().z5j_1))&&ls(0,e,n)&&!Ya().v5j(n,1)?0:i+1|0:0;n=n.w54()}while(49!==i);return 50}function ls(t,e,n){return!Ya().t5j(n,1)&&(!(Ya().v5j(n,1)&&!Ya().t5j(e,-1))||Ya().v5j(e,-1))}function us(t,e,n){return!pt(new ht(e.u5j(-1)),new ht(cs(0,e)))&&!Ya().t5j(e,-1)&&(!(Ya().v5j(e,-1)&&!Ya().t5j(n,1))||Ya().v5j(n,1))}function cs(t,e){return e.x5j()}function hs(t,e,n){this.b5k_1=t,this.c5k_1=e,this.d5k_1=n}function ps(){et=this,this.z5j_1=dt(95),this.a5k_1=dt(42)}function fs(){return null==et&&new ps,et}function ds(){fs()}function ms(){}function vs(){nt=this}function gs(){return null==nt&&new vs,nt}function ys(){gs()}function _s(){rt=this}function bs(){return null==rt&&new _s,rt}function xs(){it=this}function ws(){return null==it&&new xs,it}function As(){ws()}function Cs(t,e){return rn(e,\\\"fake://h/r001ez\\\",!1,2,null)?nn(e,\\\"fake://h/r001ez\\\",null,2,null):nn(e,\\\"fake://h\\\",null,2,null)}function Ms(){ot=this,this.l5k_1=\\\"fake://h\\\",this.m5k_1=\\\"fake://h/r001ez\\\"}function Es(){return null==ot&&new Ms,ot}function Ts(t){var e;Es(),!function(t,e){var n;try{new URL(e),n=!0}catch(t){if(!(t instanceof Error))throw t;n=!1}return n}(Es(),t)?(Es(),e=\\\"fake://h/r001ez\\\"+t):e=t,this.s58_1=e}ln.prototype=Object.create(an.prototype),ln.prototype.constructor=ln,hn.prototype=Object.create(ln.prototype),hn.prototype.constructor=hn,An.prototype=Object.create(bn.prototype),An.prototype.constructor=An,En.prototype=Object.create(bn.prototype),En.prototype.constructor=En,On.prototype=Object.create(An.prototype),On.prototype.constructor=On,In.prototype=Object.create(An.prototype),In.prototype.constructor=In,Rn.prototype=Object.create(Wa.prototype),Rn.prototype.constructor=Rn,jr.prototype=Object.create(oi.prototype),jr.prototype.constructor=jr,$n.prototype=Object.create(jr.prototype),$n.prototype.constructor=$n,ai.prototype=Object.create(oi.prototype),ai.prototype.constructor=ai,Hr.prototype=Object.create(ai.prototype),Hr.prototype.constructor=Hr,qn.prototype=Object.create(Hr.prototype),qn.prototype.constructor=qn,Wn.prototype=Object.create(so.prototype),Wn.prototype.constructor=Wn,Zn.prototype=Object.create(Co.prototype),Zn.prototype.constructor=Zn,er.prototype=Object.create(Wa.prototype),er.prototype.constructor=er,ii.prototype=Object.create(ai.prototype),ii.prototype.constructor=ii,nr.prototype=Object.create(ii.prototype),nr.prototype.constructor=nr,ir.prototype=Object.create(Hn.prototype),ir.prototype.constructor=ir,sr.prototype=Object.create(ee.prototype),sr.prototype.constructor=sr,dr.prototype=Object.create(ai.prototype),dr.prototype.constructor=dr,mr.prototype=Object.create(jr.prototype),mr.prototype.constructor=mr,gr.prototype=Object.create(Wn.prototype),gr.prototype.constructor=gr,Dr.prototype=Object.create(Ko.prototype),Dr.prototype.constructor=Dr,qr.prototype=Object.create(ai.prototype),qr.prototype.constructor=qr,Vr.prototype=Object.create(jr.prototype),Vr.prototype.constructor=Vr,Wr.prototype=Object.create(ii.prototype),Wr.prototype.constructor=Wr,Jr.prototype=Object.create(Kr.prototype),Jr.prototype.constructor=Jr,Qr.prototype=Object.create(Kr.prototype),Qr.prototype.constructor=Qr,ni.prototype=Object.create(Kr.prototype),ni.prototype.constructor=ni,si.prototype=Object.create(Ln.prototype),si.prototype.constructor=si,gi.prototype=Object.create(Kr.prototype),gi.prototype.constructor=gi,Gi.prototype=Object.create(Ln.prototype),Gi.prototype.constructor=Gi,eo.prototype=Object.create(_n.prototype),eo.prototype.constructor=eo,ho.prototype=Object.create(_o.prototype),ho.prototype.constructor=ho,fo.prototype=Object.create(_o.prototype),fo.prototype.constructor=fo,jo.prototype=Object.create(ee.prototype),jo.prototype.constructor=jo,Po.prototype=Object.create(jo.prototype),Po.prototype.constructor=Po,zo.prototype=Object.create(jo.prototype),zo.prototype.constructor=zo,Ro.prototype=Object.create(jo.prototype),Ro.prototype.constructor=Ro,Do.prototype=Object.create(jo.prototype),Do.prototype.constructor=Do,Uo.prototype=Object.create(ee.prototype),Uo.prototype.constructor=Uo,ea.prototype=Object.create(Ko.prototype),ea.prototype.constructor=ea,na.prototype=Object.create(Ko.prototype),na.prototype.constructor=na,ra.prototype=Object.create(Ko.prototype),ra.prototype.constructor=ra,ia.prototype=Object.create(Ko.prototype),ia.prototype.constructor=ia,oa.prototype=Object.create(Ko.prototype),oa.prototype.constructor=oa,aa.prototype=Object.create(Ko.prototype),aa.prototype.constructor=aa,sa.prototype=Object.create(Ko.prototype),sa.prototype.constructor=sa,la.prototype=Object.create(Ko.prototype),la.prototype.constructor=la,ua.prototype=Object.create(Ko.prototype),ua.prototype.constructor=ua,ca.prototype=Object.create(Ko.prototype),ca.prototype.constructor=ca,ha.prototype=Object.create(Ko.prototype),ha.prototype.constructor=ha,Na.prototype=Object.create(es.prototype),Na.prototype.constructor=Na,Qa.prototype=Object.create(ts.prototype),Qa.prototype.constructor=Qa,an.prototype.toString=function(){return this.x4u_1},an.$metadata$=st(\\\"IElementType\\\"),ln.prototype.toString=function(){return\\\"Markdown:\\\"+an.prototype.toString.call(this)},ln.$metadata$=st(\\\"MarkdownElementType\\\",void 0,void 0,void 0,void 0,an.prototype),un.prototype.e4w=function(){return this.n4v_1},un.prototype.f4w=function(){return this.o4v_1},un.prototype.g4w=function(){return this.p4v_1},un.prototype.h4w=function(){return this.q4v_1},un.$metadata$=lt(\\\"MarkdownElementTypes\\\"),hn.prototype.toString=function(){return\\\"WHITE_SPACE\\\"},hn.$metadata$=st(void 0,void 0,void 0,void 0,void 0,ln.prototype),pn.$metadata$=lt(\\\"Companion\\\"),dn.$metadata$=ut(\\\"ASTNode\\\"),gn.prototype.y4x=function(t,e,n,r){var i=e,o=n-1|0;if(i<=o)do{var a=i;if(i=i+1|0,pt(new ht(ct(t,a)),new ht(r)))return a}while(a!==o);return-1},gn.$metadata$=lt(\\\"Companion\\\"),_n.prototype.a4y=function(t,e,n){if(pt(t,fn().u4x_1)){var r=ft(),i=e;t:for(;i<n;){var o=yn().y4x(this.z4x_1,i,n,dt(10));if(-1===o)break t;o>i&&r.a(new En(fn().u4x_1,i,o)),r.a(new En(fn().x4w_1,o,o+1|0)),i=o+1|0}return n>i&&r.a(new En(fn().u4x_1,i,n)),r}return mt(new En(t,e,n))},_n.prototype.b4y=function(t,e){var n=t;return pt(n,cn().b4v_1)||pt(n,cn().c4v_1)?new On(t,e):pt(n,cn().d4v_1)?new In(e):new An(t,e)},_n.$metadata$=st(\\\"ASTNodeBuilder\\\"),bn.prototype.c9=function(){return this.c4y_1},bn.prototype.v4x=function(){return this.d4y_1},bn.prototype.w4x=function(){return this.e4y_1},bn.prototype.l1l=function(){return this.f4y_1},bn.$metadata$=st(\\\"ASTNodeImpl\\\",[dn]),An.prototype.y1r=function(){return this.k4y_1},An.$metadata$=st(\\\"CompositeASTNode\\\",void 0,void 0,void 0,void 0,bn.prototype),Cn.$metadata$=lt(\\\"Companion\\\"),En.prototype.y1r=function(){return Mn().l4y_1},En.$metadata$=st(\\\"LeafASTNode\\\",void 0,void 0,void 0,void 0,bn.prototype),Sn.$metadata$=lt(\\\"Companion\\\"),On.prototype.w4y=function(){return Mt(\\\"loose\\\",1,Ct,(function(t){return t.w4y()}),null),this.v4y_1.w2()},On.$metadata$=st(\\\"ListCompositeNode\\\",void 0,void 0,void 0,void 0,An.prototype),In.$metadata$=st(\\\"ListItemCompositeNode\\\",void 0,void 0,void 0,void 0,An.prototype),Ln.prototype.x4x=function(t){if(t instanceof An)for(var e=t.y1r().e();e.f();){var n=e.g();this.x4x(n)}},Ln.$metadata$=st(\\\"RecursiveVisitor\\\",[Pn]),Pn.$metadata$=ut(\\\"Visitor\\\"),zn.$metadata$=ut(\\\"MarkdownFlavourDescriptor\\\"),Rn.prototype.b4z=function(){return Et([new ns(mt(fn().q4x_1)),new os,new ms,new ys,new As,new ds])},Rn.$metadata$=st(void 0,void 0,void 0,void 0,void 0,Wa.prototype),Dn.prototype.d4z=function(t,e,n){t.g4z(xn(n,e))},Dn.$metadata$=st(void 0,[Fr]),$n.prototype.i4z=function(t,e,n){var r=null,i=wn(n,cn().d4v_1),o=null==i?null:wn(i,fn().k4x_1),a=null==o?null:xn(o,e),s=null==a?null:Tt(a),l=null==s?null:Tt(Ot(null!=s&&kt(s)?s:St()));if(null==l);else{var u,c=l.length-1|0;u=l.substring(0,c);var h=Lt(u,It([dt(48)]));pt(h,\\\"1\\\")||(r='start=\\\"'+(0===Pt(h)?\\\"0\\\":h)+'\\\"',gt())}var p=[r];t.j4z(n,\\\"ol\\\",p,!1,8,null)},$n.$metadata$=st(void 0,void 0,void 0,void 0,void 0,jr.prototype),Bn.prototype.d4z=function(t,e,n){var r=xn(n,e),i=xi().r4z(vt(r,1,Pt(r)-1|0),!0,!1),o=Zi().t4z(r,!1),a=['href=\\\"'+(this.m4z_1.u4z_1?mi(o):o)+'\\\"'];t.j4z(n,\\\"a\\\",a,!1,8,null),t.g4z(i),t.y4z(\\\"a\\\")},Bn.$metadata$=st(void 0,[Fr]),Nn.prototype.d4z=function(t,e,n){},Nn.$metadata$=st(void 0,[Fr]),Fn.prototype.d4z=function(t,e,n){t.g4z(\\\"<pre>\\\"),t.j4z(n,\\\"code\\\",[],!1,12,null);for(var r=n.y1r().e();r.f();){var i=r.g();pt(i.c9(),fn().j4w_1)?t.g4z(hi().b50(hi().a50(e,i,!1),4)):pt(i.c9(),fn().x4w_1)&&t.g4z(\\\"\\\\n\\\")}t.g4z(\\\"\\\\n\\\"),t.y4z(\\\"code\\\"),t.g4z(\\\"</pre>\\\")},Fn.$metadata$=st(void 0,[Fr]),jn.prototype.d4z=function(t,e,n){t.g4z(\\\"<hr />\\\")},jn.$metadata$=st(void 0,[Fr]),Un.prototype.d4z=function(t,e,n){t.g4z(\\\"<br />\\\")},Un.$metadata$=st(void 0,[Fr]),qn.prototype.i4z=function(t,e,n){t.j4z(n,\\\"p\\\",[],!1,12,null)},qn.prototype.l4z=function(t,e,n){t.y4z(\\\"p\\\")},qn.$metadata$=st(void 0,void 0,void 0,void 0,void 0,Hr.prototype),Vn.prototype.d4z=function(t,e,n){for(var r=n.y1r().j2(1,n.y1r().h()-1|0),i=xt(zt(r,10)),o=r.e();o.f();){var a,s=o.g();a=hi().a50(e,s,!1),i.a(a)}var l=Rt(i,\\\"\\\",null,null,0,null,null,62,null),u=Tt(Ot(kt(l)?l:St()));t.j4z(n,\\\"code\\\",[],!1,12,null),t.g4z(u),t.y4z(\\\"code\\\")},Vn.$metadata$=st(void 0,[Fr]),Hn.prototype.d50=function(){return this.u4z_1},Hn.prototype.x4y=function(){return this.w4z_1},Hn.prototype.z4y=function(){return new Li(new Vi)},Hn.prototype.y4y=function(){return this.x4z_1},Hn.prototype.a4z=function(t,e){var n=Dt(cn().a4v_1,new jr(\\\"body\\\")),r=Dt(cn().i4v_1,new Ur),i=fn().s4x_1,o=Dt(i,new Dn),a=Dt(cn().e4v_1,new jr(\\\"blockquote\\\")),s=cn().c4v_1,l=Dt(s,new $n),u=Dt(cn().b4v_1,new jr(\\\"ul\\\")),c=Dt(cn().d4v_1,new Vr),h=Dt(fn().d4x_1,new Hr),p=Dt(cn().w4v_1,new jr(\\\"h1\\\")),f=Dt(cn().x4v_1,new jr(\\\"h2\\\")),d=Dt(fn().a4x_1,new Hr),m=Dt(cn().y4v_1,new jr(\\\"h1\\\")),v=Dt(cn().z4v_1,new jr(\\\"h2\\\")),g=Dt(cn().a4w_1,new jr(\\\"h3\\\")),y=Dt(cn().b4w_1,new jr(\\\"h4\\\")),_=Dt(cn().c4w_1,new jr(\\\"h5\\\")),b=Dt(cn().d4w_1,new jr(\\\"h6\\\")),x=cn().v4v_1,w=Dt(x,new Bn(this)),A=cn().n4v_1,C=Dt(A,Gr(0,0,3)),M=cn().q4v_1,E=Dt(M,Gr(0,0,3)),T=cn().p4v_1,S=Dt(T,Gr(0,0,3)),k=Dt(cn().r4v_1,vi(new Jr(e,this.v4z_1),this.u4z_1)),O=Dt(cn().s4v_1,vi(new Qr(t,e,this.v4z_1),this.u4z_1)),I=Dt(cn().t4v_1,vi(new Qr(t,e,this.v4z_1),this.u4z_1)),L=Dt(cn().u4v_1,vi(new ni(t,e),this.u4z_1)),P=cn().m4v_1,z=Dt(P,new Nn),R=Dt(cn().f4v_1,new ri),D=cn().g4v_1,$=Dt(D,new Fn),B=fn().j4x_1,N=Dt(B,new jn),F=fn().w4w_1,j=Dt(F,new Un),U=cn().j4v_1,q=Dt(U,new qn),V=Dt(cn().k4v_1,new ii(\\\"em\\\",1,-1)),H=Dt(cn().l4v_1,new ii(\\\"strong\\\",2,-2)),G=cn().h4v_1;return $t([n,r,o,a,l,u,c,h,p,f,d,m,v,g,y,_,b,w,C,E,S,k,O,I,L,z,R,$,N,j,q,V,H,Dt(G,new Vn)])},Hn.$metadata$=st(\\\"CommonMarkFlavourDescriptor\\\",[zn]),Gn.prototype.e50=function(t){return new Wn(t,Ao().f50_1)},Gn.$metadata$=lt(\\\"Factory\\\",[lo]),Wn.prototype.x50=function(t){this.o50_1=t},Wn.prototype.y50=function(){return this.o50_1},Wn.prototype.z50=function(){return this.p50_1},Wn.prototype.a51=function(t){if(-1===t.m51())this.x50(new ao(this.r50_1,this.u50_1.g51(t),this.t50_1));else if(Qo().f51(t,this.y50().c51_1)){var e=this.y50().c51_1,n=this.y50().c51_1.e51(t);this.x50(new ao(e,null==n?this.y50().c51_1:n,this.t50_1))}},Wn.prototype.n51=function(t,e,n){if(0===e.i2x())return gt();var r,i=t.o51(),o=(t.o51()-t.m51()|0)+Eo(e,t.k51_1)|0,a=t.p51(),s=Math.min(o,a),l=Bt(e.q51());pt(null==l?null:new ht(l),new ht(dt(62)))?r=fn().k4w_1:r=!!pt(null==l?null:new ht(l),new ht(dt(46)))||pt(null==l?null:new ht(l),new ht(dt(41)))?fn().k4x_1:fn().h4x_1;var u=r;n.t51(mt(new Fa(Nt(i,s),u)))},Wn.prototype.u51=function(t,e){return-1===t.m51()?this.s50_1:so.prototype.u51.call(this,t,e)},Wn.$metadata$=st(\\\"CommonMarkMarkerProcessor\\\",void 0,void 0,void 0,void 0,so.prototype),Xn.$metadata$=lt(\\\"Companion\\\"),Zn.prototype.e52=function(){return Yn().y51_1},Zn.prototype.f52=function(t,e,n,r){var i,o=e[e.length-1|0],a=(Yn(),Ft(i=o)<128?i:jt(Ft(i)-100|0));return e[e.length-1|0]=a,new Zn(t,e,n,r,!pt(new ht(o),new ht(a)))},Zn.prototype.g52=function(){return this.d52_1},Zn.prototype.h52=function(t){var e=Co.prototype.h52.call(this,t);if(null==e)return null;for(var n,r=e,i=t.k51_1,o=t.m51()+r.m52_1|0;o<i.length&&(pt(new ht(ct(i,o)),new ht(dt(32)))||pt(new ht(ct(i,o)),new ht(dt(9))));)o=o+1|0;return(o+3|0)<=i.length&&pt(new ht(ct(i,o)),new ht(dt(91)))&&pt(new ht(ct(i,o+2|0)),new ht(dt(93)))&&(pt(new ht(ct(i,o+1|0)),new ht(dt(120)))||pt(new ht(ct(i,o+1|0)),new ht(dt(88)))||pt(new ht(ct(i,o+1|0)),new ht(dt(32))))?new xo((o+3|0)-t.m51()|0,(Yn(),n=r.n52_1,jt(Ft(n)+100|0)),r.m52_1):r},Zn.$metadata$=st(\\\"GFMConstraints\\\",void 0,void 0,void 0,void 0,Co.prototype),Kn.prototype.y52=function(){return this.x52_1},Kn.$metadata$=lt(\\\"GFMTokenTypes\\\"),Qn.$metadata$=lt(\\\"GFMElementTypes\\\"),er.prototype.b4z=function(){return Et([new ns(Et([fn().q4x_1,Jn().v52_1])),new os,new ms,new ys,new As,new _r,new ds])},er.$metadata$=st(void 0,void 0,void 0,void 0,void 0,Wa.prototype),nr.prototype.i4z=function(t,e,n){t.j4z(n,this.g53_1,['class=\\\"user-del\\\"'],!1,8,null)},nr.$metadata$=st(void 0,void 0,void 0,void 0,void 0,ii.prototype),rr.prototype.d4z=function(t,e,n){var r=xn(n,e);if(null!=function(t,e){for(var n=t.l1l();null!=n&&!yt(e,n.c9());)n=n.l1l();return n}(n,[cn().n4v_1,cn().q4v_1]))return t.g4z(r),gt();var i=function(t,e){var n=dt(47),r=Vt(e,n,0,!1,6,null);return-1!==r&&!!(0!==r&&(r+1|0)<Pt(e)&&pt(new ht(ct(e,r-1|0)),new ht(dt(58))))&&pt(new ht(ct(e,r+1|0)),new ht(dt(47)))}(0,r)?r:\\\"http://\\\"+r,o=xi().r4z(r,!0,!1),a=Zi().t4z(i,!1),s=['href=\\\"'+(this.j53_1.u4z_1?mi(a):a)+'\\\"'];t.j4z(n,\\\"a\\\",s,!1,8,null),t.g4z(o),t.y4z(\\\"a\\\")},rr.$metadata$=st(void 0,[Fr]),ir.prototype.x4y=function(){return this.o53_1},ir.prototype.z4y=function(){return new Li(new Lr)},ir.prototype.y4y=function(){return this.p53_1},ir.prototype.a4z=function(t,e){var n=Hn.prototype.a4z.call(this,t,e),r=tr().z52_1,i=Dt(r,new nr),o=Dt(tr().a53_1,new fr),a=Dt(Jn().x52_1,new Hr),s=Jn().v52_1;return Ht(n,$t([i,o,a,Dt(s,new rr(this)),Dt(cn().d4v_1,new mr)]))},ir.$metadata$=st(\\\"GFMFlavourDescriptor\\\",void 0,void 0,void 0,void 0,Hn.prototype),sr.prototype.w53=function(){return this.t53_1},sr.$metadata$=st(\\\"Alignment\\\",void 0,void 0,void 0,void 0,ee.prototype),lr.$metadata$=lt(\\\"Companion\\\"),fr.prototype.d4z=function(t,e,n){if(Ai(),!pt(n.c9(),tr().a53_1))throw re(\\\"\\\");var r=function(t,e,n){var r=wn(n,Jn().u52_1);if(null==r)throw Wt(\\\"Could not find table separator\\\");var i=r,o=ft(),a=ur().v53_1,s=xn(i,e),l=a.zj(s,0,2,null),u=0,c=l.h()-1|0;if(u<=c)do{var h=u;u=u+1|0;var p=l.j(h);if(!te(p)||1<=h&&h<=(Qt(l)-1|0)){var f,d=Tt(Ot(kt(p)?p:St())),m=dt(58),v=Kt(d,m,!1,2,null),g=dt(58),y=Jt(d,g,!1,2,null);f=v&&y?hr():v?cr():y?pr():ur().u53_1,o.a(f)}}while(u<=c);return o}(0,e,n),i=0;t.j4z(n,\\\"table\\\",[],!1,12,null);for(var o=n.y1r().e();o.f();){var a=o.g();pt(a.c9(),tr().b53_1)?(t.g4z(\\\"<thead>\\\"),ar(0,t,a,\\\"th\\\",r,-1),t.g4z(\\\"</thead>\\\")):pt(a.c9(),tr().c53_1)&&(0===i&&t.g4z(\\\"<tbody>\\\"),ar(0,t,a,\\\"td\\\",r,i=i+1|0))}i>0&&t.g4z(\\\"</tbody>\\\"),t.y4z(\\\"table\\\")},fr.$metadata$=st(\\\"TablesGeneratingProvider\\\",[Fr]),dr.prototype.i4z=function(t,e,n){this.x53_1&&t.j4z(n,\\\"p\\\",[],!1,12,null),t.g4z(this.y53_1)},dr.prototype.l4z=function(t,e,n){this.x53_1&&t.y4z(\\\"p\\\")},dr.$metadata$=st(\\\"SubParagraphGeneratingProvider\\\",void 0,void 0,void 0,void 0,ai.prototype),mr.prototype.i4z=function(t,e,n){},mr.prototype.d4z=function(t,e,n){if(Ai(),!(n instanceof In))throw re(\\\"\\\");var r,i,o=wn(n,Jn().w52_1);if(null!=o){i='class=\\\"task-list-item\\\"';var a=function(t,e,n){var r=null==e?null:xn(e,n);return!0===(null==r?null:Pt(r)>1&&!pt(new ht(ct(r,1)),new ht(dt(32))))?\\\" checked\\\":\\\"\\\"}(0,o,e);r='<input type=\\\"checkbox\\\" class=\\\"task-list-item-checkbox\\\"'+a+\\\" disabled />\\\"}else i=null,r=\\\"\\\";t.j4z(n,\\\"li\\\",[i],!1,8,null);var s=n.l1l();if(Ai(),!(s instanceof On))throw re(\\\"\\\");for(var l=(s instanceof On?s:St()).w4y(),u=!1,c=n.y1r().e();c.f();){var h=c.g();h instanceof En||(u?vn(h,t):(pt(h.c9(),cn().j4v_1)?new dr(l,r).d4z(t,e,h):(t.g4z(r),vn(h,t)),u=!0))}this.l4z(t,e,n)},mr.$metadata$=st(\\\"CheckedListItemGeneratingProvider\\\",void 0,void 0,void 0,void 0,jr.prototype),vr.prototype.e50=function(t){return new gr(t,Yn().y51_1)},vr.$metadata$=lt(\\\"Factory\\\",[lo]),gr.prototype.z50=function(){return this.j54_1},gr.prototype.n51=function(t,e,n){if(!(e instanceof Zn&&e.g52()))return Wn.prototype.n51.call(this,t,e,n),gt();for(var r=t.k51_1,i=t.m51();i<r.length&&!pt(new ht(ct(r,i)),new ht(dt(91)));)i=i+1|0;if(i===r.length)return Wn.prototype.n51.call(this,t,e,n),gt();var o,a=Bt(e.q51());pt(null==a?null:new ht(a),new ht(dt(62)))?o=fn().k4w_1:o=!!pt(null==a?null:new ht(a),new ht(dt(46)))||pt(null==a?null:new ht(a),new ht(dt(41)))?fn().k4x_1:fn().h4x_1;var s=o,l=(t.o51()-t.m51()|0)+i|0,u=(t.o51()-t.m51()|0)+Eo(e,t.k51_1)|0,c=t.p51(),h=Math.min(u,c);n.t51(Et([new Fa(Nt(t.o51(),l),s),new Fa(Nt(l,h),Jn().w52_1)]))},gr.$metadata$=st(\\\"GFMMarkerProcessor\\\",void 0,void 0,void 0,void 0,Wn.prototype),_r.prototype.k54=function(t,e){for(var n=new Ua,r=new Za,i=null,o=Ka(t,e);null!=o.c9();)pt(o.c9(),Jn().t52_1)?null!=i&&yr(0,o.a55(-1))&&pt(o.a55(1),Jn().t52_1)?(o=o.w54(),n.z54(new Fa(Nt(i,o.l54_1+1|0),tr().z52_1)),o=o.w54(),i=null):null==i&&pt(o.a55(1),Jn().t52_1)&&yr(0,o.a55(2))?(i=o.l54_1,o=o.w54().w54()):(r.q54(o.l54_1),o=o.w54()):(r.q54(o.l54_1),o=o.w54());if(null!=i){var a=0;if(a<=1)do{var s=a;a=a+1|0,r.q54(i+s|0)}while(a<=1)}return n.b55(r.h21())},_r.$metadata$=st(\\\"StrikeThroughParser\\\",[qa]),wr.$metadata$=st(\\\"ParseDelimited\\\"),Or.prototype.v56=function(t){return Ft(this.i56_1[Ft(this.h56_1[Ft(this.g56_1[t>>10])<<6|t>>4&63])<<4|15&t])},Or.$metadata$=lt(\\\"Companion\\\"),Lr.prototype.q1v=function(){return this.g55_1},Lr.prototype.w56=function(){return this.k55_1},Lr.prototype.x56=function(){return this.k55_1+this.u55()|0},Lr.prototype.y56=function(t,e,n,r){this.h55_1=t,this.k55_1=e,this.i55_1=this.k55_1,this.j55_1=this.i55_1,this.n55_1=!1,this.m55_1=!0,this.l55_1=n,this.w55(r)},Lr.prototype.v55=function(){return this.g55_1},Lr.prototype.w55=function(t){this.g55_1=t},Lr.prototype.z56=function(){return vt(this.h55_1,this.k55_1,this.i55_1)},Lr.prototype.t55=function(t){return ct(this.h55_1,this.k55_1+t|0)},Lr.prototype.u55=function(){return this.i55_1-this.k55_1|0},Lr.prototype.x55=function(t){t>this.u55()&&(Ir(),kr(0,2)),this.i55_1=this.i55_1-t|0},Lr.prototype.w54=function(){for(var t,e,n,r,i=this.l55_1,o=this.h55_1,a=Ir().o56_1,s=Ir().m56_1,l=Ir().u56_1;;){r=this.i55_1,e=-1,this.k55_1=r,this.j55_1=this.k55_1,n=this.j55_1,this.f55_1=Ir().f56_1[this.g55_1];var u=l[this.f55_1];1==(1&u)&&(e=this.f55_1);t:for(;;){if(!(n<i)){if(this.n55_1){Ir(),t=-1;break t}this.j55_1=n,this.i55_1=r,n=this.j55_1,r=this.i55_1,o=this.h55_1,i=this.l55_1,Ir(),t=-1;break t}t=Ai().d57(o,n),n=n+Ai().e57(t)|0;var c=a[s[this.f55_1]+Ir().v56(t)|0];if(-1===c)break t;if(this.f55_1=c,1==(1&(u=l[this.f55_1]))&&(e=this.f55_1,r=n,8==(8&u)))break t}this.i55_1=r;var h=t;if(Ir(),-1===h&&this.k55_1===this.j55_1)return this.n55_1=!0,null;switch(e<0?e:Ir().k56_1[e]){case 1:(_=this).x55(_.u55()),function(t){t.q55_1.i()?(Ir(),t.w55(4)):t.w55(Ti(t.q55_1))}(_);break;case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break;case 2:return fn().k4w_1;case 3:return fn().i4w_1;case 4:return fn().u4x_1;case 5:var p=Tt(this.z56()),f=se(p,\\\"\\\\n\\\",0,!1,6,null);return f>=2?(this.x55(this.u55()-f|0),fn().w4w_1):f>0?(this.x55(this.u55()-f|0),fn().u4x_1):(Cr(this),fn().x4w_1);case 6:return br(Ir(),this.t55(0));case 7:return fn().v4w_1;case 8:return fn().u4w_1;case 9:return Er(this,fn().e4x_1);case 10:return Mr(this)?fn().f4x_1:this.s55_1.d55_1;case 11:return Er(this,Jn().t52_1);case 12:return pt(new ht(this.t55(0)),new ht(this.s55_1.c55_1))?(this.w55(Ti(this.q55_1)),br(Ir(),this.t55(0))):this.s55_1.d55_1;case 13:return this.i55_1=Ai().f57(o,this.k55_1,1),fn().w4w_1;case 14:return Er(this,fn().i4w_1);case 15:return Er(this,fn().g4x_1);case 16:return fn().s4x_1;case 17:return Ar(this,fn().r4x_1);case 18:return Ar(this,fn().q4x_1);case 19:return Sr(this),Jn().v52_1;case 20:var d=4,m=this.k55_1;this.p55_1.length<=Pt(o)&&(this.p55_1=qt(Pt(o)+1|0));for(var v=this.p55_1;-1!==d&&m<this.i55_1;)v[m]=1==(1&l[d]),t=Ai().d57(o,m),m=m+Ai().e57(t)|0,d=a[s[d]+Ir().v56(t)|0];if(-1!==d){var g=m;m=g+1|0,v[g]=1==(1&l[d])}for(;m<=this.i55_1;){var y=m;m=y+1|0,v[y]=!1}for(d=5,m=this.i55_1;!v[m]||1!=(1&l[d]);)t=Ai().g57(o,m),m=m-Ai().e57(t)|0,d=a[s[d]+Ir().v56(t)|0];return this.i55_1=m,gt(),fn().i4w_1;default:Ir(),kr(0,1)}}var _},Lr.$metadata$=st(\\\"_GFMLexer\\\",[Mi]),zr.$metadata$=lt(\\\"Companion\\\"),Dr.prototype.u57=function(t,e){var n,r,i=this.s57_1;if(this.s57_1=i+1|0,1===this.s57_1)return this.q57_1.t51(mt(new Fa(Nt(t.o51()+1|0,t.p51()),Jn().u52_1))),Fo().w57_1;if(n=t.k51_1,r=dt(124),!le(n,r,!1,2,null))return Fo().x57_1;var o=Pr(this,t);return this.q57_1.t51(ie(mt(new Fa(Nt(ue(o).y57_1.e1_1,ce(o).y57_1.f1_1),tr().c53_1)),o)),Fo().w57_1},Dr.prototype.a58=function(){return Vo()},Dr.prototype.b58=function(t){return t.p51()},Dr.prototype.c58=function(){return tr().a53_1},Dr.prototype.d58=function(t){return-1===t.m51()},Dr.prototype.e58=function(){return!1},Dr.$metadata$=st(\\\"GitHubTableMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),$r.prototype.m58=function(t){var e=this.n58(t,0);e<Pt(t)&&pt(new ht(ct(t,e)),new ht(dt(124)))&&(e=e+1|0);var n=0;t:for(;e<Pt(t);){(e=this.n58(t,e))<Pt(t)&&pt(new ht(ct(t,e)),new ht(dt(58)))&&(e=e+1|0,e=this.n58(t,e));for(var r=0;e<Pt(t)&&pt(new ht(ct(t,e)),new ht(dt(45)));)e=e+1|0,r=r+1|0;if(r<3)return 0;if(n=n+1|0,(e=this.n58(t,e))<Pt(t)&&pt(new ht(ct(t,e)),new ht(dt(58)))&&(e=e+1|0,e=this.n58(t,e)),!(e<Pt(t)&&pt(new ht(ct(t,e)),new ht(dt(124)))))break t;e=e+1|0,e=this.n58(t,e)}return e===Pt(t)?n:0},$r.prototype.n58=function(t,e){for(var n=e;n<Pt(t)&&(pt(new ht(ct(t,n)),new ht(dt(32)))||pt(new ht(ct(t,n)),new ht(dt(9))));)n=n+1|0;return n},$r.$metadata$=lt(\\\"Companion\\\"),Nr.prototype.o58=function(t,e,n){var r=n.b51_1;if(!pt(n.c51_1,r))return he();var i=t.p58(),o=dt(124);if(!le(i,o,!1,2,null))return he();for(var a,s=Br().l58_1.zj(i,0,2,null),l=xt(zt(s,10)),u=0,c=s.e();c.f();){var h,p=c.g(),f=u;u=f+1|0;var d=pe(f);h=d>0&&d<Qt(s)||!te(p),l.a(h)}var m=l;if(Yt(m,Xt)&&m.i())a=0;else{for(var v=0,g=m.e();g.f();)g.g()&&Zt(v=v+1|0);a=v}var y=a,_=function(t,e,n){var r=e.j58();if(null==r)return null;var i=r,o=n.g51(e.k58());return To(o,n)?So(o,i):null}(0,t,r);return!0===(null==_?null:Br().m58(_)===y)?mt(new Dr(t,r,e,y)):he()},Nr.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},Nr.prototype.r58=function(t,e){return!1},Nr.$metadata$=st(\\\"GitHubTableMarkerProvider\\\",[ta]),Fr.$metadata$=ut(\\\"GeneratingProvider\\\"),jr.prototype.i4z=function(t,e,n){t.j4z(n,this.k4z_1,[],!1,12,null)},jr.prototype.l4z=function(t,e,n){t.y4z(this.k4z_1)},jr.$metadata$=st(\\\"SimpleTagProvider\\\",void 0,void 0,void 0,void 0,oi.prototype),Ur.prototype.d4z=function(t,e,n){for(var r=n.y1r().e();r.f();){var i=r.g();Et([fn().x4w_1,fn().l4w_1]).t1(i.c9())&&t.g4z(xn(i,e))}t.g4z(\\\"\\\\n\\\")},Ur.$metadata$=st(\\\"HtmlBlockGeneratingProvider\\\",[Fr]),qr.prototype.i4z=function(t,e,n){},qr.prototype.l4z=function(t,e,n){},qr.$metadata$=lt(\\\"SilentParagraphGeneratingProvider\\\",void 0,void 0,void 0,void 0,ai.prototype),Vr.prototype.d4z=function(t,e,n){if(Ai(),!(n instanceof In))throw re(\\\"\\\");this.i4z(t,e,n);var r=n.l1l();if(Ai(),!(r instanceof On))throw re(\\\"\\\");for(var i=(r instanceof On?r:St()).w4y(),o=n.y1r().e();o.f();){var a=o.g();pt(a.c9(),cn().j4v_1)&&!i?(null==b&&new qr,b).d4z(t,e,a):vn(a,t)}this.l4z(t,e,n)},Vr.$metadata$=st(\\\"ListItemGeneratingProvider\\\",void 0,void 0,void 0,void 0,jr.prototype),Hr.prototype.i4z=function(t,e,n){},Hr.prototype.l4z=function(t,e,n){},Hr.prototype.c50=function(t){for(var e=t.y1r(),n=0;n<e.h()&&pt(e.j(n).c9(),fn().u4x_1);)n=n+1|0;for(var r=e.h();r>n&&pt(e.j(r-1|0).c9(),fn().u4x_1);)r=r-1|0;return e.j2(n,r)},Hr.$metadata$=st(\\\"TrimmingInlineHolderProvider\\\",void 0,void 0,void 0,void 0,ai.prototype),Wr.prototype.i4z=function(t,e,n){},Wr.prototype.l4z=function(t,e,n){},Wr.$metadata$=st(\\\"TransparentInlineHolderProvider\\\",void 0,void 0,void 0,void 0,ii.prototype),Xr.prototype.b59=function(){return this.z58_1},Xr.prototype.c59=function(t,e,n){return new Xr(t,e,n)},Xr.prototype.d59=function(t,e,n,r,i){return 0!=(1&r)&&(t=this.y58_1),0!=(2&r)&&(e=this.z58_1),0!=(4&r)&&(n=this.a59_1),this.c59(t,e,n)},Xr.prototype.toString=function(){return\\\"RenderInfo(label=\\\"+this.y58_1+\\\", destination=\\\"+this.z58_1+\\\", title=\\\"+this.a59_1+\\\")\\\"},Xr.prototype.hashCode=function(){var t=fe(this.y58_1);return t=at(t,31)+fe(this.z58_1)|0,at(t,31)+(null==this.a59_1?0:fe(this.a59_1))|0},Xr.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Xr))return!1;var e=t instanceof Xr?t:St();return!!pt(this.y58_1,e.y58_1)&&!!pt(this.z58_1,e.z58_1)&&!!pt(this.a59_1,e.a59_1)},Xr.$metadata$=st(\\\"RenderInfo\\\"),Yr.$metadata$=lt(\\\"Companion\\\"),Kr.prototype.d4z=function(t,e,n){var r=this.i59(e,n);if(null==r)return Zr().e59_1.d4z(t,e,n);var i=r;this.j59(t,e,n,i)},Kr.prototype.k59=function(t){var e;if(this.h59_1)e=!1;else{var n=dt(35);e=Kt(t,n,!1,2,null)}if(e)return t;var r=this.g59_1,i=null==r?null:function(t,e){var n;try{n=t.t58(e).toString()}catch(t){if(!(t instanceof Error))throw t;n=e}return n}(r,Tt(t));return null==i?t:i},Kr.prototype.j59=function(t,e,n,r){var i='href=\\\"'+this.k59(r.z58_1)+'\\\"',o=r.a59_1,a=[i,null==o?null:'title=\\\"'+o+'\\\"'];t.j4z(n,\\\"a\\\",a,!1,8,null),Zr().f59_1.d4z(t,e,r.y58_1),t.y4z(\\\"a\\\")},Kr.$metadata$=st(\\\"LinkGeneratingProvider\\\",[Fr]),Jr.prototype.i59=function(t,e){var n=wn(e,cn().q4v_1);if(null==n)return null;var r,i=n,o=wn(e,cn().o4v_1),a=null==o?null:xn(o,t),s=null==(r=null==a?null:Zi().t4z(a,!0))?\\\"\\\":r,l=wn(e,cn().p4v_1),u=null==l?null:xn(l,t);return new Xr(i,s,null==u?null:Zi().n59(u))},Jr.$metadata$=st(\\\"InlineLinkGeneratingProvider\\\",void 0,void 0,void 0,void 0,Kr.prototype),Qr.prototype.i59=function(t,e){var n;t:{for(var r=e.y1r().e();r.f();){var i=r.g();if(pt(i.c9(),cn().n4v_1)){n=i;break t}}n=null}if(null==n)return null;var o=n,a=this.q59_1.s59(xn(o,t));if(null==a)return null;var s,l=a;t:{for(var u=e.y1r().e();u.f();){var c=u.g();if(pt(c.c9(),cn().q4v_1)){s=c;break t}}s=null}var h=null==s?o:s,p=xi().r4z(l.u59_1,!0,!0),f=l.v59_1;return new Xr(h,p,null==f?null:xi().r4z(f,!0,!0))},Qr.$metadata$=st(\\\"ReferenceLinksGeneratingProvider\\\",void 0,void 0,void 0,void 0,Kr.prototype),ti.$metadata$=lt(\\\"Companion\\\"),ni.prototype.i59=function(t,e){var n=wn(e,cn().r4v_1);if(null!=n)return this.a5a_1.i59(t,n);var r=wn(e,cn().s4v_1),i=null==r?wn(e,cn().t4v_1):r;return null!=i?this.z59_1.i59(t,i):null},ni.prototype.j59=function(t,e,n,r){var i,o='src=\\\"'+this.k59(r.z58_1)+'\\\"',a='alt=\\\"'+function(t,e,n){return ei().w59_1.yj(xn(e,n),\\\"\\\")}(0,r.y58_1,e)+'\\\"',s=r.a59_1;i=null==s?null:'title=\\\"'+s+'\\\"',t.b5a(n,\\\"img\\\",[o,a,i],!0)},ni.$metadata$=st(\\\"ImageGeneratingProvider\\\",void 0,void 0,void 0,void 0,Kr.prototype),ri.prototype.d4z=function(t,e,n){var r=xn(n,e),i=de(\\\" \\\",10),o=me(r,i,!1,2,null).length;t.g4z(\\\"<pre>\\\");var a=0,s=n.y1r();pt(ce(s).c9(),fn().o4x_1)&&(s=s.j2(0,s.h()-1|0));for(var l=!1,u=ft(),c=s.e();c.f();){var h=c.g();if(1===a&&Et([fn().n4x_1,fn().x4w_1]).t1(h.c9())&&(t.g4z(hi().b50(hi().a50(e,h,!1),o)),l=pt(h.c9(),fn().n4x_1)),0===a&&pt(h.c9(),fn().l4x_1)){var p=hi(),f=Tt(p.c5a(e,h,!1,4,null)),d=Tt(Ot(kt(f)?f:St())),m=It([dt(32)]);u.a('class=\\\"language-'+ve(d,m,!1,0,6,null).j(0)+'\\\"')}if(0===a&&pt(h.c9(),fn().x4w_1)){var v=ge(u).slice();t.j4z(n,\\\"code\\\",v,!1,8,null),a=1}}if(0===a){var g=ge(u).slice();t.j4z(n,\\\"code\\\",g,!1,8,null)}l&&t.g4z(\\\"\\\\n\\\"),t.g4z(\\\"</code></pre>\\\")},ri.$metadata$=st(\\\"CodeFenceGeneratingProvider\\\",[Fr]),ii.prototype.i4z=function(t,e,n){t.j4z(n,this.g53_1,[],!1,12,null)},ii.prototype.l4z=function(t,e,n){t.y4z(this.g53_1)},ii.prototype.c50=function(t){return t.y1r().j2(this.h53_1,t.y1r().h()+this.i53_1|0)},ii.$metadata$=st(\\\"SimpleInlineTagProvider\\\",void 0,void 0,void 0,void 0,ai.prototype),oi.prototype.d4z=function(t,e,n){this.i4z(t,e,n),mn(n,t),this.l4z(t,e,n)},oi.$metadata$=st(\\\"OpenCloseGeneratingProvider\\\",[Fr]),ai.prototype.c50=function(t){return t.y1r()},ai.prototype.d4z=function(t,e,n){this.i4z(t,e,n);for(var r=this.c50(n).e();r.f();){var i=r.g();i instanceof En?t.d5a(i):vn(i,t)}this.l4z(t,e,n)},ai.$metadata$=st(\\\"InlineHolderGeneratingProvider\\\",void 0,void 0,void 0,void 0,oi.prototype),si.prototype.x4x=function(t){var e,n=this.f4z_1.h5a_1.s(t.c9());null==n?e=null:(n.d4z(this,this.f4z_1.f5a_1,t),e=gt()),null==e&&mn(t,this)},si.prototype.d5a=function(t){var e,n=this.f4z_1.h5a_1.s(t.c9());if(null==n?e=null:(n.d4z(this,this.f4z_1.f5a_1,t),e=gt()),null==e){var r=hi();this.g4z(r.c5a(this.f4z_1.f5a_1,t,!1,4,null))}},si.prototype.b5a=function(t,e,n,r){this.f4z_1.j5a_1.c(this.e4z_1.k5a(t,e,n.slice(),r))},si.prototype.j4z=function(t,e,n,r,i,o){return 0!=(8&i)&&(r=!1),this.b5a(t,e,n,r)},si.prototype.y4z=function(t){this.f4z_1.j5a_1.c(this.e4z_1.l5a(t))},si.prototype.g4z=function(t){this.f4z_1.j5a_1.c(this.e4z_1.m5a(t))},si.$metadata$=st(\\\"HtmlGeneratingVisitor\\\",void 0,void 0,void 0,void 0,Ln.prototype),li.prototype.p5a=function(){return this.n5a_1},li.prototype.q5a=function(){return this.o5a_1},li.prototype.k5a=function(t,e,n,r){var i=ye();i.f9(\\\"<\\\"+e);for(var o=this.n5a_1(t,e,_e(n)).e();o.f();){var a=o.g();null!=a&&i.f9(\\\" \\\"+a)}return this.o5a_1&&i.f9(\\\" \\\"+hi().r5a(t)),r?i.f9(\\\" />\\\"):i.f9(\\\">\\\"),i.toString()},li.prototype.l5a=function(t){return\\\"</\\\"+t+\\\">\\\"},li.prototype.m5a=function(t){return t},li.$metadata$=st(\\\"DefaultTagRenderer\\\",[ui]),ui.$metadata$=ut(\\\"TagRenderer\\\"),ci.prototype.a50=function(t,e,n){return pt(e.c9(),fn().k4w_1)?\\\"\\\":xi().r4z(xn(e,t),n,n)},ci.prototype.c5a=function(t,e,n,r,i){return 0!=(4&r)&&(n=!0),this.a50(t,e,n)},ci.prototype.r5a=function(t){return this.z4z_1+'=\\\"'+t.v4x()+\\\"..\\\"+t.w4x()+'\\\"'},ci.prototype.b50=function(t,e){if(0===e)return t;for(var n=ye(),r=0,i=0;i<Pt(t);){if(0===i||pt(new ht(ct(t,i-1|0)),new ht(dt(10)))){n.c(vt(t,r,i));var o=0;t:for(;o<e&&i<Pt(t);){var a=ct(t,i);if(pt(new ht(a),new ht(dt(32))))o=o+1|0;else{if(!pt(new ht(a),new ht(dt(9))))break t;o=o+(4-(o%4|0)|0)|0}i=i+1|0}o>e&&n.f9(de(\\\" \\\",o-e|0)),r=i}i=i+1|0}return n.c(vt(t,r,Pt(t))),n},ci.$metadata$=lt(\\\"Companion\\\"),pi.prototype.s5a=function(t){return new si(this,t).x4x(this.g5a_1),this.j5a_1.toString()},pi.prototype.t5a=function(t,e,n){return 0!=(1&e)&&(t=new li((di(),A),this.i5a_1)),this.s5a(t)},pi.$metadata$=st(\\\"HtmlGenerator\\\"),gi.prototype.j59=function(t,e,n,r){this.w5a_1.j59(t,e,n,r)},gi.prototype.i59=function(t,e){var n,r=this.w5a_1.i59(t,e);if(null==r)n=null;else{var i=mi(r.z58_1);n=r.d59(null,i,null,5,null)}return n},gi.$metadata$=st(void 0,void 0,void 0,void 0,void 0,Kr.prototype),_i.$metadata$=lt(\\\"Entities\\\"),bi.prototype.r4z=function(t,e,n){return(n?this.q4z_1:this.p4z_1).r9(t,(r=e,function(t){var e,n=t.fa();if(n.h()>5&&null!=n.j(5)){var i=ct(we(n.j(5)).dk_1,0),o=xi().o4z_1.s(new ht(i));e=null==o?Me(i):o}else if(null!=n.j(4)){var a=xi().o4z_1.s(new ht(ct(we(n.j(4)).dk_1,0)));e=null==a?t.w2():a}else{var s,l,u=null==(s=r?null!=n.j(1)?(null==k&&new _i,k).x5a_1.s(t.w2()):null!=n.j(2)?Ce(we(n.j(2)).dk_1):null!=n.j(3)?Ae(we(n.j(3)).dk_1,16):null:null)?null:jt(s);if(null!=(null==u?null:new ht(u))){var c=u,h=xi().o4z_1.s(null==c?null:new ht(c));l=null==h?Me(u):h}else l=\\\"&amp;\\\"+t.w2().substring(1);e=l}return e}));var r},bi.$metadata$=lt(\\\"EntityConverter\\\"),wi.prototype.y5a=function(t,e){for(var n=0;n<Pt(t);){var r=this.d57(t,n);e(r),n=n+this.e57(r)|0}},wi.prototype.z5a=function(t){var e;if(1===this.e57(t))e=Me(jt(t));else{var n,r=jt(55232+(t>>>10|0)|0),i=jt(56320+(1023&t)|0);n=It([r,i]),e=Te(n)}return e},wi.prototype.f57=function(t,e,n){var r=Pt(t);if(e<0||e>r)throw Se();var i=e;if(n>=0){var o;for(o=0;i<r&&o<n;){var a=i;i=a+1|0,Oe(ct(t,a))&&i<r&&ke(ct(t,i))&&(i=i+1|0),o=o+1|0}if(o<n)throw Se()}else{var s;for(s=n;i>0&&s<0;)ke(ct(t,i=i-1|0))&&i>0&&Oe(ct(t,i-1|0))&&(i=i-1|0),s=s+1|0;if(s<0)throw Se()}return i},wi.prototype.g57=function(t,e){var n=e,r=ct(t,n=n-1|0);if(ke(r)&&n>0){var i=ct(t,n=n-1|0);if(Oe(i))return this.a5b(i,r)}return Ft(r)},wi.prototype.e57=function(t){return t>=65536?2:1},wi.prototype.a5b=function(t,e){var n=(Ft(t)<<10)+Ft(e)|0;Ie();var r=65536-(Ft(dt(55296))<<10)|0;return Ie(),n+(r-Ft(dt(56320))|0)|0},wi.prototype.d57=function(t,e){var n=e,r=ct(t,n);if(Oe(r)&&(n=n+1|0)<Pt(t)){var i=ct(t,n);if(ke(i))return this.a5b(r,i)}return Ft(r)},wi.prototype.b5b=function(t,e){if(!t)throw re(e())},wi.$metadata$=lt(\\\"Compat\\\"),Ci.prototype.a=function(t){return this.c5b_1.a(t)},Ci.prototype.r=function(t){return this.c5b_1.r(t)},Ci.prototype.if=function(){this.c5b_1.if()},Ci.prototype.t1=function(t){return this.c5b_1.t1(t)},Ci.prototype.u1=function(t){return this.c5b_1.u1(t)},Ci.prototype.j=function(t){return this.c5b_1.j(t)},Ci.prototype.i=function(){return this.c5b_1.i()},Ci.prototype.e=function(){return this.c5b_1.e()},Ci.prototype.k=function(t){return this.c5b_1.k(t)},Ci.prototype.z4=function(t){return this.c5b_1.z4(t)},Ci.prototype.y4=function(t,e){return this.c5b_1.y4(t,e)},Ci.prototype.j2=function(t,e){return this.c5b_1.j2(t,e)},Ci.prototype.h=function(){return this.c5b_1.h()},Ci.prototype.d5b=function(t){return this.a(t)},Ci.prototype.e5b=function(){var t=ce(this);return this.z4(this.h()-1|0),t},Ci.prototype.f5b=function(){return ce(this)},Ci.$metadata$=st(\\\"Stack\\\",[Le]),Mi.$metadata$=ut(\\\"GeneratedLexer\\\"),Oi.$metadata$=lt(\\\"Companion\\\"),Li.prototype.q5b=function(t,e,n,r){this.y56(t,e,n,r),Si(this)},Li.prototype.r5b=function(t,e,n,r,i,o){return 0!=(2&i)&&(e=0),0!=(4&i)&&(n=Pt(t)),0!=(8&i)&&(r=0),this.q5b(t,e,n,r)},Li.prototype.w54=function(){return(t=this).h5b_1=t.i5b_1,t.m5b_1=t.n5b_1,null!=t.h5b_1&&(Si(t),!0);var t},Li.prototype.y56=function(t,e,n,r){this.j5b_1=t,this.k5b_1=e,this.l5b_1=n,this.g5b_1.y56(t,e,n,r),this.h5b_1=ki(this),this.m5b_1=this.g5b_1.w56()},Li.$metadata$=st(\\\"MarkdownLexer\\\"),Pi.prototype.toString=function(){return\\\"TokenInfo(type=\\\"+this.s5b_1+\\\", tokenStart=\\\"+this.t5b_1+\\\", tokenEnd=\\\"+this.u5b_1+\\\", rawIndex=\\\"+this.v5b_1+\\\", normIndex=\\\"+this.w5b_1+\\\")\\\"},Pi.prototype.hashCode=function(){var t=null==this.s5b_1?0:fe(this.s5b_1);return t=at(t,31)+this.t5b_1|0,t=at(t,31)+this.u5b_1|0,t=at(t,31)+this.v5b_1|0,at(t,31)+this.w5b_1|0},Pi.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Pi))return!1;var e=t instanceof Pi?t:St();return!!pt(this.s5b_1,e.s5b_1)&&this.t5b_1===e.t5b_1&&this.u5b_1===e.u5b_1&&this.v5b_1===e.v5b_1&&this.w5b_1===e.w5b_1},Pi.$metadata$=st(\\\"TokenInfo\\\"),Di.$metadata$=st(\\\"ParseDelimited\\\"),Ui.prototype.v56=function(t){return Ft(this.x5c_1[Ft(this.w5c_1[Ft(this.v5c_1[t>>10])<<6|t>>4&63])<<4|15&t])},Ui.$metadata$=lt(\\\"Companion\\\"),Vi.prototype.q1v=function(){return this.b5c_1},Vi.prototype.w56=function(){return this.f5c_1},Vi.prototype.x56=function(){return this.f5c_1+this.u55()|0},Vi.prototype.y56=function(t,e,n,r){this.c5c_1=t,this.f5c_1=e,this.d5c_1=this.f5c_1,this.e5c_1=this.d5c_1,this.i5c_1=!1,this.h5c_1=!0,this.g5c_1=n,this.w55(r)},Vi.prototype.v55=function(){return this.b5c_1},Vi.prototype.w55=function(t){this.b5c_1=t},Vi.prototype.z56=function(){return vt(this.c5c_1,this.f5c_1,this.d5c_1)},Vi.prototype.t55=function(t){return ct(this.c5c_1,this.f5c_1+t|0)},Vi.prototype.u55=function(){return this.d5c_1-this.f5c_1|0},Vi.prototype.x55=function(t){t>this.u55()&&(qi(),ji(0,2)),this.d5c_1=this.d5c_1-t|0},Vi.prototype.w54=function(){for(var t,e,n,r,i=this.g5c_1,o=this.c5c_1,a=qi().d5d_1,s=qi().b5d_1,l=qi().j5d_1;;){r=this.d5c_1,e=-1,this.f5c_1=r,this.e5c_1=this.f5c_1,n=this.e5c_1,this.a5c_1=qi().u5c_1[this.b5c_1];var u=l[this.a5c_1];1==(1&u)&&(e=this.a5c_1);t:for(;;){if(!(n<i)){if(this.i5c_1){qi(),t=-1;break t}this.e5c_1=n,this.d5c_1=r,n=this.e5c_1,r=this.d5c_1,o=this.c5c_1,i=this.g5c_1,qi(),t=-1;break t}t=Ai().d57(o,n),n=n+Ai().e57(t)|0;var c=a[s[this.a5c_1]+qi().v56(t)|0];if(-1===c)break t;if(this.a5c_1=c,1==(1&(u=l[this.a5c_1]))&&(e=this.a5c_1,r=n,8==(8&u)))break t}this.d5c_1=r;var h=t;if(qi(),-1===h&&this.f5c_1===this.e5c_1)return this.i5c_1=!0,null;switch(e<0?e:qi().z5c_1[e]){case 1:(d=this).x55(d.u55()),function(t){t.k5c_1.i()?(qi(),t.w55(4)):t.w55(Ti(t.k5c_1))}(d);break;case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:break;case 2:return fn().k4w_1;case 3:return fn().i4w_1;case 4:return fn().u4x_1;case 5:var p=Tt(this.z56()),f=se(p,\\\"\\\\n\\\",0,!1,6,null);return f>=2?(this.x55(this.u55()-f|0),fn().w4w_1):f>0?(this.x55(this.u55()-f|0),fn().u4x_1):(Bi(this),fn().x4w_1);case 6:return zi(qi(),this.t55(0));case 7:return fn().v4w_1;case 8:return fn().u4w_1;case 9:return Fi(this,fn().e4x_1);case 10:return Ni(this)?fn().f4x_1:this.m5c_1.y5b_1;case 11:return pt(new ht(this.t55(0)),new ht(this.m5c_1.x5b_1))?(this.w55(Ti(this.k5c_1)),zi(qi(),this.t55(0))):this.m5c_1.y5b_1;case 12:return this.d5c_1=Ai().f57(o,this.f5c_1,1),fn().w4w_1;case 13:return Fi(this,fn().i4w_1);case 14:return Fi(this,fn().g4x_1);case 15:return fn().s4x_1;case 16:return $i(this,fn().r4x_1);case 17:return $i(this,fn().q4x_1);default:qi(),ji(0,1)}}var d},Vi.$metadata$=st(\\\"_MarkdownLexer\\\",[Mi]),Gi.prototype.x4x=function(t){if(pt(t.c9(),cn().m4v_1)){var e,n=Zi();t:{for(var r=t.y1r().e();r.f();){var i=r.g();if(pt(i.c9(),cn().n4v_1)){e=i;break t}}throw Re(\\\"Collection contains no element matching the predicate.\\\")}var o=n.m5d(xn(e,this.k5d_1));if(!this.l5d_1.e3(o)){var a=Xi().n5d(t,this.k5d_1);this.l5d_1.b(o,a)}}else Ln.prototype.x4x.call(this,t)},Gi.$metadata$=st(void 0,void 0,void 0,void 0,void 0,Ln.prototype),Wi.prototype.n5d=function(t,e){var n,r=Zi();t:{for(var i=t.y1r().e();i.f();){var o=i.g();if(pt(o.c9(),cn().o4v_1)){n=o;break t}}throw Re(\\\"Collection contains no element matching the predicate.\\\")}var a,s=r.t4z(xn(n,e),!0);t:{for(var l=t.y1r().e();l.f();){var u=l.g();if(pt(u.c9(),cn().p4v_1)){a=u;break t}}a=null}var c=null==a?null:xn(a,e);return new Ki(t,s,null==c?null:Zi().n59(c))},Wi.$metadata$=lt(\\\"Companion\\\"),Yi.prototype.m5d=function(t){return this.s4z_1.yj(t,\\\" \\\").toLowerCase()},Yi.prototype.e5a=function(t,e){var n=De();return vn(t,new Gi(e,n)),new Ji(n)},Yi.prototype.t4z=function(t,e){var n,r=xi().r4z(Hi(0,t,[\\\"<>\\\"]),!0,e),i=ye();return Ai().y5a(r,(n=i,function(t){var e,r,i=jt(t);return 32===t?(n.f9(\\\"%20\\\"),gt()):t<32||t>=128||le('\\\".<>\\\\\\\\^_`{|}',i,!1,2,null)?(n.f9((e=Ai().z5a(t),null!=(r=encodeURIComponent(e))&&\\\"string\\\"==typeof r?r:St())),gt()):(n.d9(i),gt()),gt()})),i.toString()},Yi.prototype.n59=function(t){return xi().r4z(Hi(0,t,['\\\"\\\"',\\\"''\\\",\\\"()\\\"]),!0,!0)},Yi.$metadata$=lt(\\\"Builder\\\"),Ki.prototype.toString=function(){return\\\"LinkInfo(node=\\\"+this.t59_1+\\\", destination=\\\"+this.u59_1+\\\", title=\\\"+this.v59_1+\\\")\\\"},Ki.prototype.hashCode=function(){var t=fe(this.t59_1);return t=at(t,31)+fe(this.u59_1)|0,at(t,31)+(null==this.v59_1?0:fe(this.v59_1))|0},Ki.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ki))return!1;var e=t instanceof Ki?t:St();return!!pt(this.t59_1,e.t59_1)&&!!pt(this.u59_1,e.u59_1)&&!!pt(this.v59_1,e.v59_1)},Ki.$metadata$=st(\\\"LinkInfo\\\"),Ji.prototype.s59=function(t){return this.r59_1.s(Zi().m5d(t))},Ji.$metadata$=st(\\\"LinkMap\\\"),Qi.prototype.r5d=function(){return this.l51_1.o5d_1},Qi.prototype.toString=function(){var t;if(-1===this.i51_1)t=\\\"\\\\\\\\n\\\"+this.k51_1;else{var e=this.k51_1,n=this.i51_1;t=e.substring(n)}return\\\"Position: '\\\"+t+\\\"'\\\"},Qi.prototype.o51=function(){return this.j51_1},Qi.prototype.m51=function(){return this.i51_1},Qi.prototype.s5d=function(){return(this.h51_1+1|0)<this.l51_1.p5d_1.h()?this.j51_1+(this.k51_1.length-this.i51_1|0)|0:null},Qi.prototype.p51=function(){return this.j51_1+(this.k51_1.length-this.i51_1|0)|0},Qi.prototype.p58=function(){var t=this.k51_1,e=this.m51();return t.substring(e)},Qi.prototype.j58=function(){return(this.h51_1+1|0)<this.l51_1.p5d_1.h()?this.l51_1.p5d_1.j(this.h51_1+1|0):null},Qi.prototype.t5d=function(){return this.h51_1>0?this.l51_1.p5d_1.j(this.h51_1-1|0):null},Qi.prototype.u5d=function(){return ct(this.l51_1.o5d_1,this.j51_1)},Qi.prototype.v5d=function(t){for(var e=t,n=this;;){if(0===e)return n;if((n.i51_1+e|0)<n.k51_1.length)return new Qi(this.l51_1,n.h51_1,n.i51_1+e|0,n.j51_1+e|0);if(null==n.s5d())return null;var r=n.k51_1.length-n.i51_1|0;n=new Qi(this.l51_1,n.h51_1+1|0,-1,n.j51_1+r|0),e=e-r|0}},Qi.prototype.w5d=function(t,e,n){return 0!=(1&e)&&(t=1),this.v5d(t)},Qi.prototype.k58=function(){var t=this.s5d();if(null==t)return null;var e=t;return this.v5d(e-this.o51()|0)},Qi.prototype.x5d=function(){for(var t=this.k51_1,e=this.i51_1,n=Math.max(e,0);n<t.length;){var r=ct(t,n);if(!pt(new ht(r),new ht(dt(32)))&&!pt(new ht(r),new ht(dt(9))))return n-this.i51_1|0;n=n+1|0}return null},Qi.prototype.equals=function(t){return this===t||null!=t&&!!$e(t).equals($e(this))&&(t instanceof Qi||St(),this.j51_1===t.j51_1)},Qi.prototype.hashCode=function(){return this.j51_1},Qi.$metadata$=st(\\\"Position\\\"),to.$metadata$=st(\\\"LookaheadText\\\"),eo.prototype.a4y=function(t,e,n){var r=t;return pt(r,cn().j4v_1)||pt(r,fn().a4x_1)||pt(r,fn().d4x_1)||pt(r,Jn().x52_1)?mt(this.z5d_1.b5e(t,this.z4x_1,e,n)):_n.prototype.a4y.call(this,t,e,n)},eo.$metadata$=st(\\\"InlineExpandingASTNodeBuilder\\\",void 0,void 0,void 0,void 0,_n.prototype),no.prototype.c5e=function(t){return this.d5e(cn().a4v_1,t,!0)},no.prototype.d5e=function(t,e,n){for(var r=new vo,i=this.a5e_1.x4y().e50(r),o=r.t57(),a=new to(e).q5d_1;null!=a;)r.e5e(a.o51()),a=i.v51(a);return r.e5e(e.length),i.x51(),o.h5e(t),new fo(n?new eo(this,e):new _n(e)).k5e(r.i5e())},no.prototype.b5e=function(t,e,n,r){var i=this.a5e_1.z4y();i.r5b(e,n,r,0,8,null);var o=new Na(i),a=Nt(0,o.m5e_1.h()),s=this.a5e_1.y4y().c4z(o,Ya().p5e(o,a));return new ho(new _n(e),o).k5e(ie(s,mt(new Fa(a,t))))},no.$metadata$=st(\\\"MarkdownParser\\\"),ao.prototype.t5e=function(){var t;t:{for(var e=this.d51_1.e();e.f();){var n=e.g();if(n instanceof ca){t=n;break t}}t=null}return null==t||t instanceof ca?t:St()},ao.prototype.u5e=function(){return bt(this.d51_1)},ao.prototype.equals=function(t){var e=t instanceof ao?t:null;if(null==e)return!1;var n=e;return!(!pt(this.b51_1,n.b51_1)||!pt(this.c51_1,n.c51_1))&&pt(this.d51_1,n.d51_1)},ao.prototype.hashCode=function(){var t=fe(this.b51_1);return t=at(t,37)+fe(this.c51_1)|0,at(t,37)+fe(this.d51_1)|0},ao.$metadata$=st(\\\"StateInfo\\\"),so.prototype.u51=function(t,e){if(Ai(),!Qo().f51(t,this.y50().b51_1))throw re(\\\"\\\");for(var n=this.z50().e();n.f();){var r=n.g().q58(t,e,this.y50());if(!r.i())return r}return t.m51()>=Eo(this.y50().c51_1,t.k51_1)&&null!=t.x5d()?mt(new ca(this.y50().b51_1,e.t57(),this.w50_1)):he()},so.prototype.v51=function(t){this.a51(t);var e,n=!1;if(t.o51()>=this.v50_1&&(function(t,e){for(var n=t.t50_1.h();n>0;)if(!((n=n-1|0)>=t.t50_1.h())){var r=t.t50_1.j(n),i=r.g58(e,t.y50().b51_1);if(!pt(i,Fo().v57_1)&&(ro(t,n,r,i),i.s5e_1.equals(Yo())))return!0}}(this,t),n=!0),Qo().f51(t,this.y50().b51_1)){var r=bt(this.t50_1);e=!(!1===(null==r?null:r.e58()))}else e=!1;if(e)for(var i=this.u51(t,this.q50_1).e();i.f();){var o=i.g();this.w51(o),n=!0}if(n&&(this.v50_1=function(t,e){var n=bt(t.t50_1),r=null==n?null:n.f58(e),i=null==r?e.p51():r;return-1===i?Be().b1_1:i}(this,t)),-1===t.m51()||Qo().f51(t,this.y50().b51_1)){var a=Eo(this.y50().c51_1,t.k51_1)-t.m51()|0;if(a>0)return-1!==t.m51()&&this.y50().c51_1.i2x()<=this.u50_1.i2x()&&this.n51(t,this.y50().c51_1,this.q50_1),t.v5d(a)}return t.v5d(this.v50_1-t.o51()|0)},so.prototype.w51=function(t){this.t50_1.a(t),oo(this)},so.prototype.x51=function(){io(this,-1,Go())},so.$metadata$=st(\\\"MarkerProcessor\\\"),lo.$metadata$=ut(\\\"MarkerProcessorFactory\\\"),ho.prototype.a5f=function(t,e){for(-1===this.z5e_1&&(this.z5e_1=t.b5f_1);this.z5e_1<t.b5f_1;){uo(this,this.y5e_1,e,this.z5e_1);var n=this.z5e_1;this.z5e_1=n+1|0}},ho.prototype.e5f=function(t,e,n){var r=t.d5f_1.z57_1,i=t.d5f_1.y57_1.e1_1,o=t.d5f_1.y57_1.f1_1,a=xt(e.h());n&&co(this,this.y5e_1,a,i,-1,1);var s=1,l=e.h()-1|0;if(s<=l)do{var u=s;s=s+1|0;var c=e.j(u-1|0),h=e.j(u);a.a(c.f5f_1),co(this,this.y5e_1,a,c.h5f_1-1|0,1,new ts(this.y5e_1,h.g5f_1).x7())}while(u!==l);return e.i()||a.a(ce(e).f5f_1),n&&co(this,this.y5e_1,a,o-1|0,1,new ts(this.y5e_1,o).x7()),new yo(this.j5e_1.b4y(r,a),i,o)},ho.$metadata$=st(\\\"MyBuilder\\\",void 0,void 0,void 0,void 0,_o.prototype),fo.prototype.a5f=function(t,e){},fo.prototype.e5f=function(t,e,n){var r=t.d5f_1.z57_1,i=t.d5f_1.y57_1.e1_1,o=t.d5f_1.y57_1.f1_1;if(r instanceof ln&&r.z4u_1){var a=this.j5e_1.a4y(r,i,o);return new yo(ue(a),i,o)}var s=xt(e.h()),l=_t(e),u=null==l?null:l.g5f_1;po(this,s,i,null==u?o:u);var c=1,h=e.h()-1|0;if(c<=h)do{var p=c;c=c+1|0;var f=e.j(p-1|0),d=e.j(p);s.a(f.f5f_1),po(this,s,f.h5f_1,d.g5f_1)}while(p!==h);return e.i()||(s.a(ce(e).f5f_1),po(this,s,ce(e).h5f_1,o)),new yo(this.j5e_1.b4y(r,s),i,o)},fo.$metadata$=st(\\\"MyRawBuilder\\\",void 0,void 0,void 0,void 0,_o.prototype),mo.prototype.h5e=function(t){this.g5e_1.s51_1.a(new Fa(Nt(this.f5e_1,this.g5e_1.r51_1),t))},mo.$metadata$=st(\\\"Marker\\\"),vo.prototype.i5e=function(){return this.s51_1},vo.prototype.e5e=function(t){this.r51_1=t},vo.prototype.t51=function(t){this.s51_1.r(t)},vo.prototype.t57=function(){return new mo(this)},vo.$metadata$=st(\\\"ProductionHolder\\\"),go.prototype.x1r=function(){return this.d5f_1},go.prototype.j5f=function(){return!(this.d5f_1.y57_1.f1_1===this.b5f_1)},go.prototype.i=function(){return this.d5f_1.y57_1.e1_1===this.d5f_1.y57_1.f1_1},go.prototype.k5f=function(t){if(this.b5f_1!==t.b5f_1)return this.b5f_1-t.b5f_1|0;if(this.j5f()===t.j5f()){var e=(this.d5f_1.y57_1.e1_1+this.d5f_1.y57_1.f1_1|0)-(t.d5f_1.y57_1.e1_1+t.d5f_1.y57_1.f1_1|0)|0;if(0!==e)return 0|-e;var n=this.c5f_1-t.c5f_1|0;return this.j5f()?0|-n:n}return this.j5f()?1:-1},go.prototype.va=function(t){return this.k5f(t instanceof go?t:St())},go.prototype.toString=function(){return(this.j5f()?\\\"Open\\\":\\\"Close\\\")+\\\": \\\"+this.b5f_1+\\\" (\\\"+this.d5f_1+\\\")\\\"},go.$metadata$=st(\\\"MyEvent\\\",[Fe]),yo.$metadata$=st(\\\"MyASTNodeWrapper\\\"),_o.prototype.k5e=function(t){var e,n=function(t,e){var n=ft(),r=0,i=e.h()-1|0;if(r<=i)do{var o=r;r=r+1|0;var a=e.j(o),s=a.y57_1.e1_1,l=a.y57_1.f1_1;n.a(new go(s,o,a)),l!==s&&n.a(new go(l,o,a))}while(r<=i);return Ne(n),n}(0,t),r=new Ci;if(Ai(),n.i())throw re(\\\"nonsense\\\");if(Ai(),!ue(n).d5f_1.equals(ce(n).d5f_1))throw e=\\\"more than one root?\\\\nfirst: \\\"+ue(n).d5f_1+\\\"\\\\nlast: \\\"+ce(n).d5f_1,re(e);var i=0,o=n.h()-1|0;if(i<=o)do{var a=i;i=i+1|0;var s=n.j(a);if(this.a5f(s,r.i()?null:r.f5b().u_1),s.j5f())r.d5b(new je(s,ft()));else{var l;if(s.i())l=ft();else{var u=r.e5b();if(Ai(),!u.t_1.d5f_1.equals(s.d5f_1))throw re(\\\"\\\");l=u.u_1}var c=l,h=r.i(),p=this.e5f(s,c,h);if(h){if(Ai(),(a+1|0)!==n.h())throw re(\\\"\\\");return p.f5f_1}r.f5b().u_1.a(p)}}while(i<=o);throw re(\\\"markers stack should close some time thus would not be here!\\\")},_o.$metadata$=st(\\\"TreeBuilder\\\"),xo.prototype.toString=function(){return\\\"ListMarkerInfo(markerLength=\\\"+this.m52_1+\\\", markerType=\\\"+new ht(this.n52_1)+\\\", markerIndent=\\\"+this.o52_1+\\\")\\\"},xo.prototype.hashCode=function(){var t=this.m52_1;return t=at(t,31)+He(this.n52_1)|0,at(t,31)+this.o52_1|0},xo.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xo))return!1;var e=t instanceof xo?t:St();return this.m52_1===e.m52_1&&!!pt(new ht(this.n52_1),new ht(e.n52_1))&&this.o52_1===e.o52_1},xo.$metadata$=st(\\\"ListMarkerInfo\\\"),wo.prototype.l5f=function(){return this.g50_1},wo.$metadata$=lt(\\\"Companion\\\"),Co.prototype.q51=function(){return this.j52_1},Co.prototype.p52=function(){return this.k52_1},Co.prototype.q52=function(){return this.l52_1},Co.prototype.e52=function(){return Ao().f50_1},Co.prototype.f52=function(t,e,n,r){return new Co(t,e,n,r)},Co.prototype.i2x=function(){var t=Ge(this.i52_1);return null==t?0:t},Co.prototype.r52=function(t){if(!(t instanceof Co))return!1;var e,n=this.i52_1.length,r=t.i52_1.length;if(n<r)return!1;t:{var i=We(0,r);if(Yt(i,Xt)&&i.i())e=!0;else{var o=i.e1_1,a=i.f1_1;if(o<=a)do{var s=o;if(o=o+1|0,!pt(new ht(this.q51()[s]),new ht(t.q51()[s]))){e=!1;break t}}while(s!==a);e=!0}}return e},Co.prototype.s52=function(t){var e;t:{var n=We(0,t);if(Yt(n,Xt)&&n.i())e=!1;else{var r=n.e1_1,i=n.f1_1;if(r<=i)do{var o=r;r=r+1|0;var a=new ht(this.q51()[o]);if(Ao(),!pt(a,new ht(dt(62)))&&this.p52()[o]){e=!0;break t}}while(o!==i);e=!1}}return e},Co.prototype.e51=function(t){if(null==t||-1===t.m51())return null;if(xa().m5f(t.k51_1,t.m51()))return null;var e=function(t,e){for(var n=e.k51_1,r=e.m51(),i=r>0&&pt(new ht(ct(n,r-1|0)),new ht(dt(9)))?(4-(t.i2x()%4|0)|0)%4|0:0;r<n.length&&pt(new ht(ct(n,r)),new ht(dt(32)))&&i<3;)i=i+1|0,r=r+1|0;if(r===n.length)return null;var o=t.h52(we(e.v5d(r-e.m51()|0)));if(null==o)return null;var a=o,s=0,l=r=r+a.m52_1|0;t:for(;r<n.length;){var u=ct(n,r);if(pt(new ht(u),new ht(dt(32))))s=s+1|0;else{if(!pt(new ht(u),new ht(dt(9))))break t;s=s+(4-(s%4|0)|0)|0}r=r+1|0}if(1<=s&&s<=4&&r<n.length)return bo(Ao(),t,(i+a.o52_1|0)+s|0,a.n52_1,!0,r);if(s>=5&&r<n.length||r===n.length){Ao();var c,h=1+(i+a.o52_1|0)|0,p=r,f=l+1|0;return c=Math.min(p,f),bo(0,t,h,a.n52_1,!0,c)}return null}(this,t);return null==e?function(t,e){for(var n,r=e.k51_1,i=e.m51(),o=0;i<r.length&&pt(new ht(ct(r,i)),new ht(dt(32)))&&o<3;)o=o+1|0,i=i+1|0;if(i===r.length)n=!0;else{var a=new ht(ct(r,i));Ao(),n=!pt(a,new ht(dt(62)))}if(n)return null;var s=0;((i=i+1|0)>=r.length||pt(new ht(ct(r,i)),new ht(dt(32)))||pt(new ht(ct(r,i)),new ht(dt(9))))&&(s=1,i<r.length&&(i=i+1|0)),Ao();var l=(o+1|0)+s|0;return Ao(),bo(0,t,l,dt(62),!0,i)}(this,t):e},Co.prototype.g51=function(t){if(null==t)return this.e52();if(Ai(),-1!==t.m51())throw re(\\\"given \\\"+t);for(var e,n=t.k51_1,r=function(t,e,n,r,i){return function(o){if(t._v>=e)return o;var a,s={_v:Eo(o,n)},l=function(t,e,n,r){return function(i){var o,a=t._v,s=e._v;t:for(;t._v<i&&e._v<n.length;){var l,u=ct(n,e._v);if(pt(new ht(u),new ht(dt(32))))l=1;else{if(!pt(new ht(u),new ht(dt(9))))break t;l=4-(r._v%4|0)|0}var c=l;t._v=t._v+c|0,r._v=r._v+c|0;var h=e._v;e._v=h+1|0}return e._v===n.length&&(t._v=Be().b1_1,gt()),i<=t._v?(t._v=t._v-i|0,o=!0):(e._v=s,t._v=a,o=!1),o}}({_v:0},s,n,{_v:0}),u=new ht(r.q51()[t._v]);if(Ao(),pt(u,new ht(dt(62)))){var c=i(s._v);if(null==c)return o;a=c,s._v=s._v+a|0;var h=t._v;t._v=h+1|0,gt()}else a=null,gt();var p=t._v;t:for(;;){var f;if(t._v<e){var d=new ht(r.q51()[t._v]);Ao(),f=!pt(d,new ht(dt(62)))}else f=!1;if(!f)break t;if(!l(r.i52_1[t._v]-(0===t._v?0:r.i52_1[t._v-1|0])|0))break t;var m=t._v;t._v=m+1|0}var v=o;if(null!=a){var g=l(1)?1:0,y=(Ao(),v),_=a+g|0;Ao(),v=bo(0,y,_,dt(62),!0,s._v),gt()}var b=p,x=t._v;if(b<x){do{var w=b;b=b+1|0;var A=r.i52_1[w]-(0===w?0:r.i52_1[w-1|0])|0;v=bo(Ao(),v,A,r.q51()[w],!1,s._v)}while(b<x);gt()}return v}}({_v:0},this.i52_1.length,n,this,(e=n,function(t){for(var n,r=t,i=0;i<3&&r<e.length&&pt(new ht(ct(e,r)),new ht(dt(32)));)i=i+1|0,r=r+1|0;if(r<e.length){var o=new ht(ct(e,r));Ao(),n=pt(o,new ht(dt(62)))}else n=!1;return n?i+1|0:null})),i=this.e52();;){var o=r(i);if(pt(o,i))return i;i=o}},Co.prototype.h52=function(t){var e=t.u5d();if(pt(new ht(e),new ht(dt(42)))||pt(new ht(e),new ht(dt(45)))||pt(new ht(e),new ht(dt(43))))return new xo(1,e,1);var n=t.k51_1,r=t.m51();t:for(;;){var i;if(r<n.length){var o=ct(n,r);i=dt(48)<=o&&o<=dt(57)}else i=!1;if(!i)break t;r=r+1|0}return r>t.m51()&&(r-t.m51()|0)<=9&&r<n.length&&(pt(new ht(ct(n,r)),new ht(dt(46)))||pt(new ht(ct(n,r)),new ht(dt(41))))?new xo((r+1|0)-t.m51()|0,ct(n,r),(r+1|0)-t.m51()|0):null},Co.prototype.toString=function(){return\\\"MdConstraints: \\\"+Te(this.q51())+\\\"(\\\"+this.i2x()+\\\")\\\"},Co.$metadata$=st(\\\"CommonMarkdownConstraints\\\",[Mo]),Mo.$metadata$=ut(\\\"MarkdownConstraints\\\"),Io.prototype.n5f=function(t,e){if(Ai(),-1!==t.m51())throw re(\\\"\\\");var n,r=t,i=1,o=(n=e,function(t){var e,r=n.g51(t),i=Eo(r,t.k51_1);if(Oo(r,n)){var o;if(i>=t.k51_1.length)o=!0;else{var a=t.v5d(1+i|0);o=null==(null==a?null:a.x5d())}e=o}else e=!1;return e});t:for(;o(r);){var a=r.k58();if(null==a)break t;if(r=a,(i=i+1|0)>4)break t}return i},Io.prototype.o5f=function(t,e){var n=t,r=e-1|0,i=0;if(i<r)do{i=i+1|0;var o=t.k58();if(null==o)return null;n=o}while(i<r);for(;null==n.x5d();){var a=n.k58();if(null==a)return null;n=a}return n},Io.prototype.p5f=function(t,e){var n=Eo(e,t.k51_1);if(t.m51()>=(n+4|0))return!0;var r=n,i=t.m51();if(r<=i)do{var o=r;if(r=r+1|0,pt(new ht(ct(t.k51_1,o)),new ht(dt(9))))return!0}while(o!==i);return!1},Io.prototype.q5f=function(t){for(var e=t,n=0;n<Pt(e);){var r=ct(e,n);if(n=n+1|0,!pt(new ht(r),new ht(dt(32)))&&!pt(new ht(r),new ht(dt(9))))return!1}return!0},Io.prototype.r5f=function(t,e){for(var n=e;;){var r=ko(t,n);if(!Oo(r,t)||!To(r,t))return null;var i=So(r,n.k51_1);if(!Lo().q5f(i))return n;var o=n.k58();if(null==o)return null;n=o}},Io.$metadata$=lt(\\\"MarkdownParserUtil\\\"),Po.prototype.u5f=function(t,e){t.h5e(e)},Po.$metadata$=st(\\\"DONE\\\",void 0,void 0,void 0,void 0,jo.prototype),zo.prototype.u5f=function(t,e){},zo.$metadata$=st(\\\"DROP\\\",void 0,void 0,void 0,void 0,jo.prototype),Ro.prototype.u5f=function(t,e){throw Ye(\\\"Should not be invoked\\\")},Ro.$metadata$=st(\\\"DEFAULT\\\",void 0,void 0,void 0,void 0,jo.prototype),Do.prototype.u5f=function(t,e){},Do.$metadata$=st(\\\"NOTHING\\\",void 0,void 0,void 0,void 0,jo.prototype),No.$metadata$=lt(\\\"Companion\\\"),jo.$metadata$=st(\\\"ClosingAction\\\",void 0,void 0,void 0,void 0,ee.prototype),Uo.$metadata$=st(\\\"EventAction\\\",void 0,void 0,void 0,void 0,ee.prototype),qo.$metadata$=st(\\\"ProcessingResult\\\"),Zo.$metadata$=ut(\\\"MarkerBlock\\\"),Ko.prototype.f58=function(t){return null!=this.k57_1?t.o51()+1|0:(-1!==this.j57_1&&this.j57_1<=t.o51()&&(this.j57_1=this.b58(t)),this.j57_1)},Ko.prototype.g58=function(t,e){return this.j57_1!==t.o51()&&null!=this.k57_1?Fo().w57_1:-1===this.j57_1||this.j57_1>t.o51()||this.j57_1<t.o51()&&!this.d58(t)?Fo().v57_1:null!=this.k57_1?we(this.k57_1):this.u57(t,e)},Ko.prototype.h58=function(){return this.h57_1},Ko.prototype.i58=function(t){var e=t;return e.equals(Go())&&(e=this.a58()),e.u5f(this.i57_1,this.c58()),!e.equals(Wo())},Ko.prototype.d5g=function(t,e){this.j57_1=t,this.k57_1=e},Ko.$metadata$=st(\\\"MarkerBlockImpl\\\",[Zo]),Jo.prototype.f51=function(t,e){return t.m51()===Eo(e,t.k51_1)},Jo.prototype.e5g=function(t,e){var n=e,r=0;if(r<3)do{r=r+1|0,n<Pt(t)&&pt(new ht(ct(t,n)),new ht(dt(32)))&&(n=n+1|0)}while(r<3);return n},Jo.prototype.f5g=function(t,e,n,r){return 0!=(2&n)&&(e=0),this.e5g(t,e)},Jo.$metadata$=lt(\\\"Companion\\\"),ta.$metadata$=ut(\\\"MarkerBlockProvider\\\"),ea.prototype.e58=function(){return!1},ea.prototype.d58=function(t){return!0},ea.prototype.c58=function(){return this.k5g_1},ea.prototype.a58=function(){return Vo()},ea.prototype.b58=function(t){return t.p51()},ea.prototype.u57=function(t,e){return-1===t.m51()?new qo(Ho(),Vo(),Xo()):Fo().w57_1},ea.$metadata$=st(\\\"AtxHeaderMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),na.prototype.e58=function(){return!0},na.prototype.d58=function(t){return-1===t.m51()},na.prototype.b58=function(t){var e=t.s5d();return null==e?-1:e},na.prototype.a58=function(){return Vo()},na.prototype.u57=function(t,e){if(Ai(),-1!==t.m51())throw re(\\\"\\\");return To(ko(this.h57_1,t),this.h57_1)?Fo().v57_1:Fo().x57_1},na.prototype.c58=function(){return cn().e4v_1},na.$metadata$=st(\\\"BlockQuoteMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),ra.prototype.e58=function(){return!1},ra.prototype.d58=function(t){return!0},ra.prototype.b58=function(t){return t.p51()},ra.prototype.a58=function(){return Vo()},ra.prototype.u57=function(t,e){if(t.o51()<this.u5g_1)return Fo().w57_1;if(-1!==t.m51())return Fo().w57_1;if(Ai(),-1!==t.m51())throw re(\\\"\\\");var n=Lo().r5f(this.h57_1,t);if(null==n)return Fo().x57_1;var r,i=n,o=ko(this.h57_1,i),a=i.v5d(1+Eo(o,i.k51_1)|0),s=a;if(null==s)r=null;else{var l=a.x5d();r=s.v5d(null==l?0:l)}var u=r;if(null==u)return Fo().x57_1;var c=u;if(Lo().p5f(c,o)){var h=ko(this.h57_1,t),p=Nt((t.o51()+1|0)+Eo(h,t.k51_1)|0,t.p51());return(p.f1_1-p.e1_1|0)>0&&this.t5g_1.t51(mt(new Fa(p,fn().j4w_1))),this.u5g_1=t.p51(),Fo().w57_1}return Fo().x57_1},ra.prototype.c58=function(){return cn().g4v_1},ra.$metadata$=st(\\\"CodeBlockMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),ia.prototype.e58=function(){return!1},ia.prototype.d58=function(t){return!0},ia.prototype.b58=function(t){return t.p51()},ia.prototype.a58=function(){return Vo()},ia.prototype.u57=function(t,e){if(t.o51()<this.c5h_1)return Fo().w57_1;if(-1!==t.m51())return Fo().w57_1;if(Ai(),-1!==t.m51())throw re(\\\"\\\");var n=ko(this.h57_1,t);if(!To(n,this.h57_1))return Fo().x57_1;var r,i=t.p51();if(this.c5h_1=i,r=So(n,t.k51_1),this.b5h_1.tj(r))this.z5g_1.t51(mt(new Fa(Nt(t.o51()+1|0,t.p51()),fn().o4x_1))),this.d5g(i,Fo().x57_1);else{var o,a=(t.o51()+1|0)+Eo(this.h57_1,t.k51_1)|0;o=Math.min(a,i);var s=Nt(o,i);s.e1_1<s.f1_1&&this.z5g_1.t51(mt(new Fa(s,fn().n4x_1)))}return Fo().w57_1},ia.prototype.c58=function(){return cn().f4v_1},ia.$metadata$=st(\\\"CodeFenceMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),oa.prototype.e58=function(){return!1},oa.prototype.d58=function(t){return-1===t.m51()},oa.prototype.a58=function(){return Vo()},oa.prototype.u57=function(t,e){return-1!==t.m51()?Fo().w57_1:Fo().x57_1},oa.prototype.b58=function(t){return t.p51()},oa.prototype.c58=function(){return fn().j4x_1},oa.$metadata$=st(\\\"HorizontalRuleMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),aa.prototype.e58=function(){return!1},aa.prototype.d58=function(t){return!0},aa.prototype.a58=function(){return Vo()},aa.prototype.u57=function(t,e){if(-1!==t.m51())return Fo().w57_1;var n=t.t5d();if(null==n)return Fo().x57_1;var r=n;if(!To(this.h57_1.g51(t),this.h57_1))return Fo().x57_1;if(null==this.m5h_1&&Lo().n5f(t,this.h57_1)>=2)return Fo().x57_1;if(null!=this.m5h_1&&null!=this.m5h_1.vj(r,0,2,null))return Fo().x57_1;var i=t.k51_1;return Pt(i)>0&&this.l5h_1.t51(mt(new Fa(Nt((t.o51()+1|0)+Eo(this.h57_1,t.k51_1)|0,t.p51()),fn().l4w_1))),Fo().w57_1},aa.prototype.b58=function(t){return t.p51()},aa.prototype.c58=function(){return cn().i4v_1},aa.$metadata$=st(\\\"HtmlBlockMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),sa.prototype.e58=function(){return!1},sa.prototype.a58=function(){return Vo()},sa.prototype.u57=function(t,e){return t.o51()<this.r5h_1?Fo().w57_1:Fo().x57_1},sa.prototype.b58=function(t){return this.r5h_1},sa.prototype.c58=function(){return cn().m4v_1},sa.prototype.d58=function(t){return!0},sa.$metadata$=st(\\\"LinkReferenceDefinitionMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),la.prototype.e58=function(){return!0},la.prototype.d58=function(t){return-1===t.m51()},la.prototype.a58=function(){return Vo()},la.prototype.b58=function(t){var e=t.s5d();return null==e?-1:e},la.prototype.u57=function(t,e){if(Ai(),-1!==t.m51())throw re(\\\"\\\");var n=Lo().n5f(t,this.h57_1);if(n>=3)return Fo().x57_1;var r=Lo().o5f(t,n);if(null==r)return Fo().x57_1;var i=r;return To(ko(this.h57_1,i),this.h57_1)?Fo().w57_1:Fo().x57_1},la.prototype.c58=function(){return cn().d4v_1},la.$metadata$=st(\\\"ListItemMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),ua.prototype.e58=function(){return!0},ua.prototype.d58=function(t){return-1===t.m51()},ua.prototype.a58=function(){return Vo()},ua.prototype.b58=function(t){var e=t.s5d();return null==e?-1:e},ua.prototype.u57=function(t,e){if(Ai(),-1!==t.m51())throw re(\\\"\\\");var n=Lo().n5f(t,this.h57_1);if(n>=3)return Fo().x57_1;var r=Lo().o5f(t,n);if(null==r)return Fo().x57_1;var i=r;return function(t,e){if(0===e.q51().length)throw Xe(\\\"List constraints should contain at least one item\\\");return!!t.r52(e)&&!t.s52(e.q51().length-1|0)}(ko(this.h57_1,i),this.h57_1)?Fo().v57_1:Fo().x57_1},ua.prototype.c58=function(){return pt(new ht(this.a5i_1),new ht(dt(45)))||pt(new ht(this.a5i_1),new ht(dt(42)))||pt(new ht(this.a5i_1),new ht(dt(43)))?cn().b4v_1:cn().c4v_1},ua.$metadata$=st(\\\"ListMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),ca.prototype.e58=function(){return!1},ca.prototype.d58=function(t){return!0},ca.prototype.a58=function(){return Vo()},ca.prototype.b58=function(t){return t.p51()},ca.prototype.u57=function(t,e){if(-1!==t.m51())return Fo().w57_1;if(Ai(),-1!==t.m51())throw re(\\\"\\\");if(Lo().n5f(t,this.h57_1)>=2)return Fo().x57_1;var n=ko(this.h57_1,t);if(!Oo(n,this.h57_1))return Fo().x57_1;var r=t.v5d(1+Eo(n,t.k51_1)|0);return null==r||this.f5i_1(r,n)?Fo().x57_1:Fo().w57_1},ca.prototype.c58=function(){return cn().j4v_1},ca.$metadata$=st(\\\"ParagraphMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),ha.prototype.e58=function(){return!1},ha.prototype.d58=function(t){return-1===t.m51()},ha.prototype.b58=function(t){return t.p51()},ha.prototype.c58=function(){return this.m5i_1},ha.prototype.a58=function(){return Vo()},ha.prototype.u57=function(t,e){if(-1!==t.m51())return Fo().w57_1;var n=t.x5d();if(null==n)return new qo(Ho(),Ho(),Xo());var r=n,i=t.v5d(r),o=null==i?null:i.u5d();pt(null==o?null:new ht(o),new ht(dt(45)))&&(this.m5i_1=cn().x4v_1);var a=null==i?null:i.o51(),s=null==a?t.o51():a,l=pt(this.m5i_1,cn().x4v_1)?fn().c4x_1:fn().b4x_1;return this.l5i_1.h5e(fn().d4x_1),this.k5i_1.t51(mt(new Fa(Nt(s,t.p51()),l))),this.d5g(t.p51(),Fo().x57_1),Fo().w57_1},ha.$metadata$=st(\\\"SetextHeaderMarkerBlock\\\",void 0,void 0,void 0,void 0,Ko.prototype),fa.prototype.o58=function(t,e,n){var r=pa(0,t);return null!=r?mt(new ea(n.b51_1,e,r,function(t,e,n){for(var r=e.p58(),i=Pt(r)-1|0;i>n&&Ze(ct(r,i));)i=i-1|0;for(;i>n&&pt(new ht(ct(r,i)),new ht(dt(35)))&&!pt(new ht(ct(r,i-1|0)),new ht(dt(92)));)i=i-1|0;return(i+1|0)<Pt(r)&&Ze(ct(r,i))&&pt(new ht(ct(r,i+1|0)),new ht(dt(35)))?1+(e.o51()+i|0)|0:e.o51()+Pt(r)|0}(0,t,r.f1_1),t.p51())):he()},fa.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},fa.prototype.r58=function(t,e){return!(null==pa(0,t))},fa.$metadata$=st(\\\"AtxHeaderProvider\\\",[ta]),da.prototype.o58=function(t,e,n){var r,i=n.b51_1,o=n.c51_1;if(t.m51()!==Eo(i,t.k51_1))return he();if(pt(o,i))r=!1;else{var a=Bt(o.q51());r=pt(null==a?null:new ht(a),new ht(dt(62)))}return r?mt(new na(o,e.t57())):he()},da.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},da.prototype.r58=function(t,e){return!1},da.$metadata$=st(\\\"BlockQuoteProvider\\\",[ta]),ma.prototype.o58=function(t,e,n){if(Eo(n.c51_1,t.k51_1)>t.m51())return he();var r=t.x5d();if(null==r)return he();var i=r,o=t.v5d(i);if(null==o)return he();var a=o;return Lo().p5f(a,n.b51_1)?mt(new ra(n.b51_1,e,t)):he()},ma.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},ma.prototype.r58=function(t,e){return!1},ma.$metadata$=st(\\\"CodeBlockProvider\\\",[ta]),ga.$metadata$=lt(\\\"Companion\\\"),_a.prototype.o58=function(t,e,n){var r=va(0,t,n.b51_1);return null!=r?(function(t,e,n,r){var i=e.p51()-n.u_1.length|0;r.t51(mt(new Fa(Nt(e.o51(),i),fn().m4x_1))),n.u_1.length>0&&r.t51(mt(new Fa(Nt(i,e.p51()),fn().l4x_1)))}(0,t,r,e),mt(new ia(n.b51_1,e,r.t_1))):he()},_a.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},_a.prototype.r58=function(t,e){return!(null==va(0,t,e))},_a.$metadata$=st(\\\"CodeFenceProvider\\\",[ta]),ba.prototype.m5f=function(t,e){var n=null,r=0,i=1,o=e,a=Pt(t)-1|0;if(o<=a)do{var s=o;o=o+1|0;var l=ct(t,s);if(null==(null==n?null:new ht(n)))if(pt(new ht(l),new ht(dt(42)))||pt(new ht(l),new ht(dt(45)))||pt(new ht(l),new ht(dt(95))))n=l;else{if(!(r<3&&pt(new ht(l),new ht(dt(32)))))return!1;r=r+1|0}else{var u=new ht(l);if(pt(u,null==n?null:new ht(n)))i=i+1|0;else if(!pt(new ht(l),new ht(dt(32)))&&!pt(new ht(l),new ht(dt(9))))return!1}}while(s!==a);return i>=3},ba.$metadata$=lt(\\\"Companion\\\"),wa.prototype.o58=function(t,e,n){return this.o5i(t,n.b51_1)?mt(new oa(n.b51_1,e.t57())):he()},wa.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},wa.prototype.r58=function(t,e){return this.o5i(t,e)},wa.prototype.o5i=function(t,e){return!!Qo().f51(t,e)&&xa().m5f(t.k51_1,t.m51())},wa.$metadata$=st(\\\"HorizontalRuleProvider\\\",[ta]),Ma.$metadata$=lt(\\\"Companion\\\"),Ta.prototype.o58=function(t,e,n){var r=Ca(0,t,n.b51_1);return-1!==r?mt(new aa(n.b51_1,e,Ea().w5i_1.j(r).u_1,t)):he()},Ta.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},Ta.prototype.r58=function(t,e){var n=Ca(0,t,e);return 0<=n&&n<=5},Ta.$metadata$=st(\\\"HtmlBlockProvider\\\",[ta]),ka.prototype.y5i=function(t,e){return new Ke(t.e1_1+e|0,1+(t.f1_1+e|0)|0)},ka.prototype.z5i=function(t){return-1===t.m51()||null==t.x5d()},ka.prototype.a5j=function(t,e){var n=Qo().e5g(t,e),r=this.b5j(t,n);if(null==r)return null;var i=r;if((n=i.f1_1+1|0)>=Pt(t)||!pt(new ht(ct(t,n)),new ht(dt(58))))return null;n=Sa(0,t,n=n+1|0);var o=this.c5j(t,n);if(null==o)return null;var a=o;n=Sa(0,t,n=a.f1_1+1|0);var s=this.d5j(t,n),l=ft();if(l.a(i),l.a(a),null!=s){n=s.f1_1+1|0;t:for(;;){var u;if(n<Pt(t)){var c=ct(t,n);u=!!pt(new ht(c),new ht(dt(32)))||pt(new ht(c),new ht(dt(9)))}else u=!1;if(!u)break t;n=n+1|0}(n>=Pt(t)||pt(new ht(ct(t,n)),new ht(dt(10))))&&l.a(s)}return l},ka.prototype.c5j=function(t,e){if(e>=Pt(t))return null;var n=e;if(pt(new ht(ct(t,n)),new ht(dt(60)))){for(n=n+1|0;n<Pt(t);){var r,i=ct(t,n);if(pt(new ht(i),new ht(dt(62))))return new Ke(e,n);if(!(!pt(new ht(i),new ht(dt(60)))&&!pt(new ht(i),new ht(dt(62))))||(!(!pt(new ht(i),new ht(dt(32)))&&!pt(new ht(i),new ht(dt(9))))||pt(new ht(i),new ht(dt(10)))))return null;if(pt(new ht(i),new ht(dt(92)))&&(n+1|0)<Pt(t)){var o=ct(t,n+1|0);r=!(pt(new ht(o),new ht(dt(32)))||pt(new ht(o),new ht(dt(9)))||pt(new ht(o),new ht(dt(10))))}else r=!1;r&&(n=n+1|0),n=n+1|0}return null}var a=!1;t:for(;n<Pt(t);){var s=ct(t,n);if(pt(new ht(s),new ht(dt(32)))||pt(new ht(s),new ht(dt(9)))||pt(new ht(s),new ht(dt(10)))||Ft(s)<=27)break t;if(pt(new ht(s),new ht(dt(40)))){if(a)break t;a=!0}else if(pt(new ht(s),new ht(dt(41)))){if(!a)break t;a=!1}else{var l;if(pt(new ht(s),new ht(dt(92)))&&(n+1|0)<Pt(t)){var u=ct(t,n+1|0);l=!(pt(new ht(u),new ht(dt(32)))||pt(new ht(u),new ht(dt(9)))||pt(new ht(u),new ht(dt(10))))}else l=!1;l&&(n=n+1|0)}n=n+1|0}return e===n?null:new Ke(e,n-1|0)},ka.prototype.d5j=function(t,e){if(e>=Pt(t))return null;var n,r=ct(t,e);if(pt(new ht(r),new ht(dt(39))))n=dt(39);else if(pt(new ht(r),new ht(dt(34))))n=dt(34);else{if(!pt(new ht(r),new ht(dt(40))))return null;n=dt(41)}for(var i=n,o=e+1|0,a=!1;o<Pt(t);){var s,l=ct(t,o);if(pt(new ht(l),new ht(i)))return new Ke(e,o);if(pt(new ht(l),new ht(dt(10)))){if(a)return null;a=!0}else pt(new ht(l),new ht(dt(32)))||pt(new ht(l),new ht(dt(9)))||(a=!1);if(pt(new ht(l),new ht(dt(92)))&&(o+1|0)<Pt(t)){var u=ct(t,o+1|0);s=!(pt(new ht(u),new ht(dt(32)))||pt(new ht(u),new ht(dt(9)))||pt(new ht(u),new ht(dt(10))))}else s=!1;s&&(o=o+1|0),o=o+1|0}return null},ka.prototype.b5j=function(t,e){var n=e;if(n>=Pt(t)||!pt(new ht(ct(t,n)),new ht(dt(91))))return null;n=n+1|0;var r=!1,i=1;if(i<=999)t:do{if(i=i+1|0,n>=Pt(t))return null;var o=ct(t,n);if(pt(new ht(o),new ht(dt(91)))||pt(new ht(o),new ht(dt(93))))break t;if(pt(new ht(o),new ht(dt(92)))){if((n=n+1|0)>=Pt(t))return null;o=ct(t,n)}Ze(o)||(r=!0),n=n+1|0}while(i<=999);return!r||n>=Pt(t)||!pt(new ht(ct(t,n)),new ht(dt(93)))?null:Nt(e,n)},ka.$metadata$=lt(\\\"Companion\\\"),Ia.prototype.o58=function(t,e,n){if(!Qo().f51(t,n.b51_1))return he();var r=Oa().a5j(t.r5d(),t.o51());if(null==r)return he();for(var i=r,o=i.e(),a=0;o.f();){var s=a;a=a+1|0;var l,u=o.g(),c=Oa().y5i(u,0);switch(s){case 0:l=cn().n4v_1;break;case 1:l=cn().o4v_1;break;case 2:l=cn().p4v_1;break;default:throw re(\\\"There are no more than three groups in this regex\\\")}e.t51(mt(new Fa(c,l)))}var h=1+(ce(i).f1_1-t.o51()|0)|0,p=t.v5d(h);return null==p||Oa().z5i(p)?mt(new sa(n.b51_1,e.t57(),t.o51()+h|0)):he()},Ia.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},Ia.prototype.r58=function(t,e){return!1},Ia.$metadata$=st(\\\"LinkReferenceDefinitionProvider\\\",[ta]),La.prototype.o58=function(t,e,n){var r,i=n.b51_1,o=n.c51_1;if(!Qo().f51(t,i))return he();if(pt(o,i))r=!1;else{var a=Bt(o.q51());r=!pt(null==a?null:new ht(a),new ht(dt(62)))}if(r&&!0===Qe(o.p52())){var s=ft();if(!(n.u5e()instanceof ua)){var l=e.t57(),u=Bt(o.q51());s.a(new ua(o,l,we(null==u?null:new ht(u)).q1_1))}return s.a(new la(o,e.t57())),s}return he()},La.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},La.prototype.r58=function(t,e){return!1},La.$metadata$=st(\\\"ListMarkerProvider\\\",[ta]),Pa.prototype.f5j=function(){return this.e5j_1},Pa.$metadata$=lt(\\\"Companion\\\"),Ra.prototype.o58=function(t,e,n){if(null!=n.t5e())return he();var r,i=n.b51_1;if(!pt(n.c51_1,i))return he();if(Qo().f51(t,i)){var o=function(t,e,n){var r=e.j58();if(null==r)return null;var i=r,o=n.g51(e.k58());return To(o,n)?So(o,i):null}(0,t,i);r=!0===(null==o?null:za().e5j_1.tj(o))}else r=!1;return r?mt(new ha(i,e)):he()},Ra.prototype.q58=function(t,e,n){return this.o58(t,e,n instanceof ao?n:St())},Ra.prototype.r58=function(t,e){return!1},Ra.$metadata$=st(\\\"SetextHeaderProvider\\\",[ta]),Da.prototype.m4=function(){return this.g5j_1},Da.prototype.n4=function(){return this.h5j_1},Da.prototype.toString=function(){return\\\"ResultOfCaching(cachedTokens=\\\"+this.g5j_1+\\\", filteredTokens=\\\"+this.h5j_1+\\\")\\\"},Da.prototype.hashCode=function(){var t=fe(this.g5j_1);return at(t,31)+fe(this.h5j_1)|0},Da.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Da))return!1;var e=t instanceof Da?t:St();return!!pt(this.g5j_1,e.g5j_1)&&!!pt(this.h5j_1,e.h5j_1)},Da.$metadata$=st(\\\"ResultOfCaching\\\"),$a.$metadata$=lt(\\\"Companion\\\"),Na.prototype.j5j=function(){return this.l5e_1},Na.prototype.k5j=function(){return this.m5e_1},Na.prototype.r5d=function(){return this.n5e_1},Na.prototype.l5j=function(){return this.o5e_1},Na.$metadata$=st(\\\"LexerBasedTokensCache\\\",void 0,void 0,void 0,void 0,es.prototype),Fa.prototype.toString=function(){return\\\"Node(range=\\\"+this.y57_1+\\\", type=\\\"+this.z57_1+\\\")\\\"},Fa.prototype.hashCode=function(){var t=this.y57_1.hashCode();return at(t,31)+fe(this.z57_1)|0},Fa.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fa))return!1;var e=t instanceof Fa?t:St();return!!this.y57_1.equals(e.y57_1)&&!!pt(this.z57_1,e.z57_1)},Fa.$metadata$=st(\\\"Node\\\"),ja.$metadata$=ut(\\\"ParsingResult\\\"),Ua.prototype.n5j=function(){return this.x54_1},Ua.prototype.o5j=function(){return this.y54_1},Ua.prototype.z54=function(t){return this.x54_1.a(t),this},Ua.prototype.b55=function(t){return this.y54_1.a(t),this},Ua.prototype.p5j=function(t){return this.x54_1.r(t.n5j()),this.y54_1.r(t.o5j()),this},Ua.$metadata$=st(\\\"ParsingResultBuilder\\\",[ja]),qa.$metadata$=ut(\\\"SequentialParser\\\"),Ga.prototype.n5j=function(){return this.r5j_1},Ga.prototype.o5j=function(){return this.s5j_1},Ga.prototype.toString=function(){return\\\"LocalParsingResult(iteratorPosition=\\\"+this.q5j_1+\\\", parsedNodes=\\\"+this.r5j_1+\\\", rangesToProcessFurther=\\\"+this.s5j_1+\\\")\\\"},Ga.prototype.hashCode=function(){var t=fe(this.q5j_1);return t=at(t,31)+fe(this.r5j_1)|0,at(t,31)+fe(this.s5j_1)|0},Ga.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ga))return!1;var e=t instanceof Ga?t:St();return!!pt(this.q5j_1,e.q5j_1)&&!!pt(this.r5j_1,e.r5j_1)&&!!pt(this.s5j_1,e.s5j_1)},Ga.$metadata$=st(\\\"LocalParsingResult\\\",[ja]),Wa.prototype.c4z=function(t,e){var n=ft(),r=ft();r.a(e);for(var i=this.b4z().e();i.f();){for(var o=i.g(),a=ft(),s=r.e();s.f();){var l=s.g(),u=o.k54(t,l);n.r(u.n5j()),a.r(u.o5j())}r=a}return n},Wa.$metadata$=st(\\\"SequentialParserManager\\\"),Xa.prototype.t5j=function(t,e){return n=t.u5j(e),!!pt(new ht(n),new ht(dt(0)))||Ze(n);var n},Xa.prototype.v5j=function(t,e){return n=t.u5j(e),on(Me(n),\\\"[!\\\\\\\"#\\\\\\\\$%&'()*+,\\\\\\\\-./:;<=>?@[\\\\\\\\\\\\\\\\\\\\\\\\]^_`{|}~\\\\\\\\u00A1\\\\\\\\u00A7\\\\\\\\u00AB\\\\\\\\u00B6\\\\\\\\u00B7\\\\\\\\u00BB\\\\\\\\u00BF\\\\\\\\u037E\\\\\\\\u0387\\\\\\\\u055A-\\\\\\\\u055F\\\\\\\\u0589\\\\\\\\u058A\\\\\\\\u05BE\\\\\\\\u05C0\\\\\\\\u05C3\\\\\\\\u05C6\\\\\\\\u05F3\\\\\\\\u05F4\\\\\\\\u0609\\\\\\\\u060A\\\\\\\\u060C\\\\\\\\u060D\\\\\\\\u061B\\\\\\\\u061E\\\\\\\\u061F\\\\\\\\u066A-\\\\\\\\u066D\\\\\\\\u06D4\\\\\\\\u0700-\\\\\\\\u070D\\\\\\\\u07F7-\\\\\\\\u07F9\\\\\\\\u0830-\\\\\\\\u083E\\\\\\\\u085E\\\\\\\\u0964\\\\\\\\u0965\\\\\\\\u0970\\\\\\\\u0AF0\\\\\\\\u0DF4\\\\\\\\u0E4F\\\\\\\\u0E5A\\\\\\\\u0E5B\\\\\\\\u0F04-\\\\\\\\u0F12\\\\\\\\u0F14\\\\\\\\u0F3A-\\\\\\\\u0F3D\\\\\\\\u0F85\\\\\\\\u0FD0-\\\\\\\\u0FD4\\\\\\\\u0FD9\\\\\\\\u0FDA\\\\\\\\u104A-\\\\\\\\u104F\\\\\\\\u10FB\\\\\\\\u1360-\\\\\\\\u1368\\\\\\\\u1400\\\\\\\\u166D\\\\\\\\u166E\\\\\\\\u169B\\\\\\\\u169C\\\\\\\\u16EB-\\\\\\\\u16ED\\\\\\\\u1735\\\\\\\\u1736\\\\\\\\u17D4-\\\\\\\\u17D6\\\\\\\\u17D8-\\\\\\\\u17DA\\\\\\\\u1800-\\\\\\\\u180A\\\\\\\\u1944\\\\\\\\u1945\\\\\\\\u1A1E\\\\\\\\u1A1F\\\\\\\\u1AA0-\\\\\\\\u1AA6\\\\\\\\u1AA8-\\\\\\\\u1AAD\\\\\\\\u1B5A-\\\\\\\\u1B60\\\\\\\\u1BFC-\\\\\\\\u1BFF\\\\\\\\u1C3B-\\\\\\\\u1C3F\\\\\\\\u1C7E\\\\\\\\u1C7F\\\\\\\\u1CC0-\\\\\\\\u1CC7\\\\\\\\u1CD3\\\\\\\\u2010-\\\\\\\\u2027\\\\\\\\u2030-\\\\\\\\u2043\\\\\\\\u2045-\\\\\\\\u2051\\\\\\\\u2053-\\\\\\\\u205E\\\\\\\\u207D\\\\\\\\u207E\\\\\\\\u208D\\\\\\\\u208E\\\\\\\\u2329\\\\\\\\u232A\\\\\\\\u2768-\\\\\\\\u2775\\\\\\\\u27C5\\\\\\\\u27C6\\\\\\\\u27E6-\\\\\\\\u27EF\\\\\\\\u2983-\\\\\\\\u2998\\\\\\\\u29D8-\\\\\\\\u29DB\\\\\\\\u29FC\\\\\\\\u29FD\\\\\\\\u2CF9-\\\\\\\\u2CFC\\\\\\\\u2CFE\\\\\\\\u2CFF\\\\\\\\u2D70\\\\\\\\u2E00-\\\\\\\\u2E2E\\\\\\\\u2E30-\\\\\\\\u2E3B\\\\\\\\u3001-\\\\\\\\u3003\\\\\\\\u3008-\\\\\\\\u3011\\\\\\\\u3014-\\\\\\\\u301F\\\\\\\\u3030\\\\\\\\u303D\\\\\\\\u30A0\\\\\\\\u30FB\\\\\\\\uA4FE\\\\\\\\uA4FF\\\\\\\\uA60D-\\\\\\\\uA60F\\\\\\\\uA673\\\\\\\\uA67E\\\\\\\\uA6F2-\\\\\\\\uA6F7\\\\\\\\uA874-\\\\\\\\uA877\\\\\\\\uA8CE\\\\\\\\uA8CF\\\\\\\\uA8F8-\\\\\\\\uA8FA\\\\\\\\uA92E\\\\\\\\uA92F\\\\\\\\uA95F\\\\\\\\uA9C1-\\\\\\\\uA9CD\\\\\\\\uA9DE\\\\\\\\uA9DF\\\\\\\\uAA5C-\\\\\\\\uAA5F\\\\\\\\uAADE\\\\\\\\uAADF\\\\\\\\uAAF0\\\\\\\\uAAF1\\\\\\\\uABEB\\\\\\\\uFD3E\\\\\\\\uFD3F\\\\\\\\uFE10-\\\\\\\\uFE19\\\\\\\\uFE30-\\\\\\\\uFE52\\\\\\\\uFE54-\\\\\\\\uFE61\\\\\\\\uFE63\\\\\\\\uFE68\\\\\\\\uFE6A\\\\\\\\uFE6B\\\\\\\\uFF01-\\\\\\\\uFF03\\\\\\\\uFF05-\\\\\\\\uFF0A\\\\\\\\uFF0C-\\\\\\\\uFF0F\\\\\\\\uFF1A\\\\\\\\uFF1B\\\\\\\\uFF1F\\\\\\\\uFF20\\\\\\\\uFF3B-\\\\\\\\uFF3D\\\\\\\\uFF3F\\\\\\\\uFF5B\\\\\\\\uFF5D\\\\\\\\uFF5F-\\\\\\\\uFF65]\\\");var n},Xa.prototype.p5e=function(t,e){var n=ft(),r=e.e1_1,i=e.f1_1,o=r,a=i-1|0;if(o<=a)do{var s=o;o=o+1|0,pt(new ts(t,s).c9(),fn().k4w_1)&&(r<s&&n.a(Nt(r,s-1|0)),r=s+1|0)}while(s!==a);return r<i&&n.a(Nt(r,i)),n},Xa.$metadata$=lt(\\\"Companion\\\"),Za.prototype.q54=function(t){if((this.p54_1+1|0)===t)return this.p54_1=t,gt();-239!==this.o54_1&&this.n54_1.a(Nt(this.o54_1,this.p54_1)),this.o54_1=t,this.p54_1=t},Za.prototype.h21=function(){return-239!==this.o54_1&&this.n54_1.a(Nt(this.o54_1,this.p54_1)),this.n54_1},Za.$metadata$=st(\\\"RangesListBuilder\\\"),Qa.prototype.w54=function(){if(this.u54_1>=this.t54_1.h())return this;if(this.l54_1===this.t54_1.j(this.u54_1).f1_1){var t=this.u54_1+1|0,e=tn(this.t54_1,this.u54_1+1|0),n=null==e?null:e.x7();return new Qa(this.v54_1,this.t54_1,t,null==n?this.v54_1.k5j().h():n)}return new Qa(this.v54_1,this.t54_1,this.u54_1,this.l54_1+1|0)},Qa.prototype.w5j=function(){if(this.u54_1<0)return this;if(this.l54_1===this.t54_1.j(this.u54_1).e1_1){var t=this.u54_1-1|0,e=tn(this.t54_1,this.u54_1-1|0),n=null==e?null:e.y7();return new Qa(this.v54_1,this.t54_1,t,null==n?-1:n)}return new Qa(this.v54_1,this.t54_1,this.u54_1,this.l54_1-1|0)},Qa.prototype.a55=function(t){var e=tn(this.t54_1,this.u54_1);if(null==e)return null;var n=e,r=n.e1_1,i=n.f1_1,o=this.l54_1+t|0;return r<=o&&o<=i?ts.prototype.a55.call(this,t):null},Qa.$metadata$=st(\\\"RangesListIterator\\\",void 0,void 0,void 0,void 0,ts.prototype),ts.prototype.c9=function(){return Ja(this,0).s5b_1},ts.prototype.x5j=function(){return this.m54_1.m5j(Ja(this,0).t5b_1)},ts.prototype.md=function(){return Ja(this,0).u5b_1-Ja(this,0).t5b_1|0},ts.prototype.x7=function(){return Ja(this,0).t5b_1},ts.prototype.v5e=function(){return Ja(this,0).u5b_1},ts.prototype.w54=function(){return new ts(this.m54_1,this.l54_1+1|0)},ts.prototype.w5j=function(){return new ts(this.m54_1,this.l54_1-1|0)},ts.prototype.a55=function(t){return Ja(this,t).s5b_1},ts.prototype.w5e=function(t){return Ja(this,t).t5b_1},ts.prototype.u5j=function(t){if(0===t)return this.m54_1.m5j(this.x7());switch(t){case 1:return this.m54_1.m5j(this.v5e());case-1:return this.m54_1.m5j(this.x7()-1|0);default:var e=t>0?this.w5e(t):this.w5e(t+1|0)-1|0;return this.m54_1.m5j(e)}},ts.prototype.toString=function(){return\\\"Iterator: \\\"+this.l54_1+\\\": \\\"+this.c9()},ts.$metadata$=st(\\\"Iterator\\\"),es.prototype.m5j=function(t){return t<this.l5j().e1_1||t>this.l5j().f1_1?dt(0):ct(this.r5d(),t)},es.prototype.i5j=function(){var t=0,e=this.j5j().h()-1|0;if(t<=e)do{var n=t;if(t=t+1|0,Ai(),this.j5j().j(n).v5b_1!==n)throw re(\\\"\\\")}while(t<=e);var r=0,i=this.k5j().h()-1|0;if(r<=i)do{var o=r;if(r=r+1|0,Ai(),this.k5j().j(o).w5b_1!==o)throw re(\\\"\\\")}while(r<=i)},es.$metadata$=st(\\\"TokensCache\\\"),ns.prototype.k54=function(t,e){for(var n=new Ua,r=new Za,i=Ka(t,e);null!=i.c9();){var o;if(pt(i.c9(),fn().s4w_1)){var a=i.a55(1);o=null!=a&&this.y5j_1.t1(a)}else o=!1;if(o){for(var s=i.l54_1;!pt(i.c9(),fn().t4w_1)&&null!=i.c9();)i=i.w54();pt(i.c9(),fn().t4w_1)&&n.z54(new Fa(Nt(s,i.l54_1+1|0),cn().v4v_1))}else r.q54(i.l54_1);i=i.w54()}return n.b55(r.h21())},ns.$metadata$=st(\\\"AutolinkParser\\\",[qa]),os.prototype.k54=function(t,e){var n=new Ua,r=new Za,i=Ka(t,e);t:for(;null!=i.c9();){if(pt(i.c9(),fn().f4x_1)||pt(i.c9(),fn().g4x_1)){var o=rs(0,i.w54(),is(0,i,!0));if(null!=o){n.z54(new Fa(Nt(i.l54_1,o.l54_1+1|0),cn().h4v_1)),i=o.w54();continue t}}r.q54(i.l54_1),i=i.w54()}return n.b55(r.h21())},os.$metadata$=st(\\\"BacktickParser\\\",[qa]),hs.prototype.e5k=function(){return this.d5k_1},hs.prototype.toString=function(){return\\\"OpeningEmphInfo(pos=\\\"+this.b5k_1+\\\", numChars=\\\"+this.c5k_1+\\\", type=\\\"+new ht(this.d5k_1)+\\\")\\\"},hs.prototype.hashCode=function(){var t=this.b5k_1;return t=at(t,31)+this.c5k_1|0,at(t,31)+He(this.d5k_1)|0},hs.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof hs))return!1;var e=t instanceof hs?t:St();return this.b5k_1===e.b5k_1&&this.c5k_1===e.c5k_1&&!!pt(new ht(this.d5k_1),new ht(e.d5k_1))},hs.$metadata$=st(\\\"OpeningEmphInfo\\\"),ps.$metadata$=lt(\\\"Companion\\\"),ds.prototype.k54=function(t,e){for(var n=new Ua,r=Ka(t,e),i=ft();null!=r.c9();)if(pt(r.c9(),fn().e4x_1)){var o=!1,a=ss(this,r);t:for(;a>0;){var s;e:{for(var l=i.k(i.h());l.l();){var u=l.n();if(pt(new ht(u.d5k_1),new ht(cs(0,r)))){s=l.m();break e}}s=-1}var c=s;if(-1===c)break t;var h=i.j(c),p=h.c5k_1,f=a,d=0==(Math.min(p,f)%2|0)?2:1,m=h.b5k_1+(h.c5k_1-d|0)|0,v=(r.l54_1+d|0)-1|0,g=2===d?cn().l4v_1:cn().k4v_1;n.z54(new Fa(Nt(m,v+1|0),g)),i.j2(c,i.h()).if(),o=!0;var y=0;if(y<d)do{y=y+1|0,r=r.w54()}while(y<d);a=a-d|0,h.c5k_1>d&&i.a(new hs(h.b5k_1,h.c5k_1-d|0,h.d5k_1))}if(!o){var _=as(this,r);if(0===_)r=r.w54();else{i.a(new hs(r.l54_1,_,cs(0,r)));var b=0;if(b<_)do{b=b+1|0,r=r.w54()}while(b<_)}}}else r=r.w54();return n},ds.$metadata$=st(\\\"EmphStrongParser\\\",[qa]),ms.prototype.k54=function(t,e){var n=new Ua,r=new Za,i=Ka(t,e);t:for(;null!=i.c9();){if(pt(i.c9(),fn().v4w_1)&&pt(i.a55(1),fn().q4w_1)){var o=gs().f5k(i.w54()),a=null==o?ws().g5k(i.w54()):o;if(null!=a){n=n.z54(new Fa(Nt(i.l54_1,a.q5j_1.l54_1+1|0),cn().u4v_1)).p5j(a),i=a.q5j_1.w54();continue t}}r.q54(i.l54_1),i=i.w54()}return n.b55(r.h21())},ms.$metadata$=st(\\\"ImageParser\\\",[qa]),vs.prototype.f5k=function(t){var e=t.l54_1,n=t,r=bs().h5k(n);if(null==r)return null;var i=r;if(n=i.q5j_1,!pt(n.a55(1),fn().o4w_1))return null;n=n.w54().w54(),pt(n.c9(),fn().x4w_1)&&(n=n.w54());var o=bs().i5k(n);null!=o&&(n=o.q5j_1.w54(),pt(n.c9(),fn().x4w_1)&&(n=n.w54()));var a=bs().j5k(n);if(null!=a&&(n=a.q5j_1.w54(),pt(n.c9(),fn().x4w_1)&&(n=n.w54())),!pt(n.c9(),fn().p4w_1))return null;var s=n,l=null==o?null:o.r5j_1,u=ie(i.r5j_1,null==l?he():l),c=null==a?null:a.r5j_1;return new Ga(s,en(ie(u,null==c?he():c),new Fa(Nt(e,n.l54_1+1|0),cn().r4v_1)),i.s5j_1)},vs.$metadata$=lt(\\\"Companion\\\"),ys.prototype.k54=function(t,e){var n=new Ua,r=new Za,i=Ka(t,e);t:for(;null!=i.c9();){if(pt(i.c9(),fn().q4w_1)){var o=gs().f5k(i);if(null!=o){i=o.q5j_1.w54(),n=n.p5j(o);continue t}}r.q54(i.l54_1),i=i.w54()}return n.b55(r.h21())},ys.$metadata$=st(\\\"InlineLinkParser\\\",[qa]),_s.prototype.i5k=function(t){var e=t;if(pt(e.c9(),fn().x4w_1)||pt(e.c9(),fn().p4w_1))return null;var n=e.l54_1,r=pt(e.c9(),fn().s4w_1);r&&(e=e.w54());var i=!1;t:for(;!(null==e.c9()||r&&pt(e.c9(),fn().t4w_1));){if(!r){if(pt(e.c9(),fn().o4w_1)){if(i)break t;i=!0}var o=e.a55(1);if(Ya().t5j(e,1)||null==o)break t;if(pt(o,fn().p4w_1)){if(!i)break t;i=!1}}e=e.w54()}return null==e.c9()||i?null:Ha(e,mt(new Fa(Nt(n,e.l54_1+1|0),cn().o4v_1)))},_s.prototype.k5k=function(t){var e=t;if(!pt(e.c9(),fn().q4w_1))return null;var n=e.l54_1,r=new Za;for(e=e.w54();!pt(e.c9(),fn().r4w_1)&&null!=e.c9()&&(r.q54(e.l54_1),!pt(e.c9(),fn().q4w_1));)e=e.w54();if(pt(e.c9(),fn().r4w_1)){var i=e.l54_1;return i===(n+1|0)?null:Va(e,mt(new Fa(Nt(n,i+1|0),cn().n4v_1)),r.h21())}return null},_s.prototype.h5k=function(t){var e=t;if(!pt(e.c9(),fn().q4w_1))return null;var n=e.l54_1,r=new Za,i=1;for(e=e.w54();null!=e.c9()&&(!pt(e.c9(),fn().r4w_1)||0!=(i=i-1|0));)r.q54(e.l54_1),pt(e.c9(),fn().q4w_1)&&(i=i+1|0),e=e.w54();return pt(e.c9(),fn().r4w_1)?Va(e,mt(new Fa(Nt(n,e.l54_1+1|0),cn().q4v_1)),r.h21()):null},_s.prototype.j5k=function(t){var e=t;if(pt(e.c9(),fn().x4w_1))return null;var n,r=e.l54_1;if(pt(e.c9(),fn().m4w_1)||pt(e.c9(),fn().n4w_1))n=e.c9();else{if(!pt(e.c9(),fn().o4w_1))return null;n=fn().p4w_1}for(e=e.w54();null!=e.c9()&&!pt(e.c9(),n);)e=e.w54();return null!=e.c9()?Ha(e,mt(new Fa(Nt(r,e.l54_1+1|0),cn().p4v_1))):null},_s.$metadata$=lt(\\\"Companion\\\"),xs.prototype.g5k=function(t){var e=function(t,e){var n=e.l54_1,r=bs().h5k(e);if(null==r)return null;var i=r,o=i.q5j_1.w54();pt(o.c9(),fn().x4w_1)&&(o=o.w54());var a=bs().k5k(o);if(null==a)return null;var s=a;return new Ga(o=s.q5j_1,en(ie(i.r5j_1,s.r5j_1),new Fa(Nt(n,o.l54_1+1|0),cn().s4v_1)),ie(i.s5j_1,s.s5j_1))}(0,t);return null==e?function(t,e){var n=e.l54_1,r=bs().k5k(e);if(null==r)return null;var i=r,o=i.q5j_1,a=o;return o=o.w54(),pt(o.c9(),fn().x4w_1)&&(o=o.w54()),new Ga(o=pt(o.c9(),fn().q4w_1)&&pt(o.a55(1),fn().r4w_1)?o.w54():a,en(i.r5j_1,new Fa(Nt(n,o.l54_1+1|0),cn().t4v_1)),i.s5j_1)}(0,t):e},xs.$metadata$=lt(\\\"Companion\\\"),As.prototype.k54=function(t,e){var n=new Ua,r=new Za,i=Ka(t,e);t:for(;null!=i.c9();){if(pt(i.c9(),fn().q4w_1)){var o=ws().g5k(i);if(null!=o){i=o.q5j_1.w54(),n=n.p5j(o);continue t}}r.q54(i.l54_1),i=i.w54()}return n.b55(r.h21())},As.$metadata$=st(\\\"ReferenceLinkParser\\\",[qa]),Ms.$metadata$=lt(\\\"Companion\\\"),Ts.prototype.t58=function(t){return new Ts(Cs(Es(),new URL(t,this.s58_1).href))},Ts.prototype.toString=function(){return Cs(Es(),this.s58_1)},Ts.$metadata$=st(\\\"URI\\\"),t.$_$=t.$_$||{},t.$_$.a=function(t,e,n,r){return function(t,e,n,r,i){return 0!=(1&n)&&(t=!0),0!=(2&n)&&(e=!1),Hn.call(i,t,e),i}(t,e,n,0,Object.create(Hn.prototype))},t.$_$.b=function(t,e,n,r){return function(t,e,n,r,i){return 0!=(1&n)&&(t=!0),0!=(2&n)&&(e=!1),ir.call(i,t,e),i}(t,e,n,0,Object.create(ir.prototype))},t.$_$.c=function(t,e,n,r,i,o){return function(t,e,n,r,i,o,a){return 0!=(8&i)&&(r=!1),function(t,e,n,r,i){pi.call(i,t,e,n.a4z(Zi().e5a(e,t),null),r)}(t,e,n,r,a),a}(t,e,n,r,i,0,Object.create(pi.prototype))},t.$_$.d=no}(t.exports,n(8744))},3645:(t,e,n)=>{!function(t,e){\\\"use strict\\\";var n,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ut,ct=Math.imul,ht=e.$_$.ka,pt=e.$_$.v5,ft=e.$_$.r4,dt=e.$_$.b5,mt=e.$_$.v6,vt=e.$_$.j,gt=e.$_$.jf,yt=e.$_$.aa,_t=e.$_$.e,bt=e.$_$.dc,xt=e.$_$.ha,wt=e.$_$.z1,At=e.$_$.u9,Ct=e.$_$.b2,Mt=e.$_$.he,Et=e.$_$.b6,Tt=e.$_$.a1,St=e.$_$.oe,kt=e.$_$.zb,Ot=e.$_$.ta,It=e.$_$.qe,Lt=e.$_$.f,Pt=e.$_$.le,zt=e.$_$.l5,Rt=e.$_$.i5,Dt=e.$_$.o5,$t=e.$_$.m5,Bt=e.$_$.e5,Nt=e.$_$.j5,Ft=e.$_$.p5,jt=e.$_$.q5,Ut=e.$_$.f5,qt=e.$_$.c5,Vt=e.$_$.n5,Ht=e.$_$.k5,Gt=e.$_$.d5,Wt=e.$_$.r6,Xt=e.$_$.mb,Yt=e.$_$.a2,Zt=e.$_$.w2,Kt=e.$_$.y2,Jt=e.$_$.wa,Qt=e.$_$.x2,te=e.$_$.me,ee=e.$_$.ff,ne=e.$_$.da,re=e.$_$.ia,ie=e.$_$.h5,oe=e.$_$.g5,ae=e.$_$.tc,se=e.$_$.m8,le=e.$_$.b1,ue=e.$_$.h1,ce=e.$_$.k8,he=e.$_$.j8,pe=e.$_$.t8,fe=e.$_$.qf,de=e.$_$.o8,me=e.$_$.kf,ve=e.$_$.d6,ge=e.$_$.yb,ye=e.$_$.m,_e=e.$_$.ib,be=e.$_$.je,xe=e.$_$.zd,we=e.$_$.p2,Ae=e.$_$.wd,Ce=e.$_$.t4,Me=e.$_$.hd,Ee=e.$_$.ja,Te=e.$_$.d2,Se=e.$_$.c1,ke=e.$_$.i1,Oe=e.$_$.m1,Ie=e.$_$.n1,Le=e.$_$.e1,Pe=e.$_$.f1,ze=e.$_$.k1,Re=e.$_$.l1,De=e.$_$.la,$e=e.$_$.s9,Be=e.$_$.xb,Ne=e.$_$.e7,Fe=e.$_$.ab,je=e.$_$.v4,Ue=e.$_$.j7,qe=e.$_$.df,Ve=e.$_$.ea,He=e.$_$.g7,Ge=e.$_$.h6,We=e.$_$.g1,Xe=e.$_$.ec,Ye=e.$_$.t9,Ze=e.$_$.w6,Ke=e.$_$.f6,Je=e.$_$.u4,Qe=e.$_$.oa,tn=e.$_$.w9,en=e.$_$.n4,nn=e.$_$.qa,rn=e.$_$.o4,on=e.$_$.ra,an=e.$_$.ua,sn=e.$_$.z4,ln=e.$_$.y3,un=e.$_$.ve,cn=e.$_$.u3,hn=e.$_$.r3,pn=e.$_$.w3,fn=e.$_$.s3,dn=e.$_$.p4,mn=e.$_$.sa,vn=e.$_$.y4,gn=e.$_$.p3,yn=e.$_$.te,_n=e.$_$.l3,bn=e.$_$.i3,xn=e.$_$.n3,wn=e.$_$.j3,An=e.$_$.q4,Cn=e.$_$.xa,Mn=e.$_$.a5,En=e.$_$.h4,Tn=e.$_$.xe,Sn=e.$_$.d4,kn=e.$_$.a4,On=e.$_$.f4,In=e.$_$.b4,Ln=e.$_$.m4,Pn=e.$_$.na,zn=e.$_$.x4,Rn=e.$_$.g3,Dn=e.$_$.re,$n=e.$_$.d3,Bn=e.$_$.z2,Nn=e.$_$.e3,Fn=e.$_$.a3,jn=e.$_$.l4,Un=e.$_$.ma,qn=e.$_$.tb,Vn=e.$_$.l6,Hn=e.$_$.n6,Gn=e.$_$.o6,Wn=e.$_$.j6,Xn=e.$_$.z3,Yn=e.$_$.v3,Zn=e.$_$.x3,Kn=e.$_$.q6,Jn=e.$_$.q3,Qn=e.$_$.m3,tr=e.$_$.o3,er=e.$_$.i6,nr=e.$_$.i4,rr=e.$_$.e4,ir=e.$_$.g4,or=e.$_$.m6,ar=e.$_$.h3,sr=e.$_$.c3,lr=e.$_$.f3,ur=e.$_$.k6,cr=e.$_$.ze,hr=e.$_$.td,pr=e.$_$.sc,fr=e.$_$.y9,dr=e.$_$.x9,mr=e.$_$.u2,vr=e.$_$.dd,gr=e.$_$.wc,yr=e.$_$.s4,_r=e.$_$.we,br=e.$_$.ue,xr=e.$_$.ye,wr=e.$_$.se,Ar=e.$_$.v7,Cr=e.$_$.p7,Mr=e.$_$.m7,Er=e.$_$.k7,Tr=e.$_$.w5,Sr=e.$_$.yd,kr=e.$_$.ya,Or=e.$_$.d,Ir=e.$_$.i7,Lr=e.$_$.g2,Pr=e.$_$.h7,zr=e.$_$.w4,Rr=e.$_$.v2,Dr=e.$_$.ef;function $r(){return!1}function Br(){return!1}function Nr(){return mt()}function Fr(t){return t.pn(this)}function jr(){return!1}function Ur(t){return-1}function qr(t,e,n,r,i,o){return 0!=(8&i)&&(r=null),null==o?this.xq(t,e,n,r):o(t,e,n,r)}function Vr(){}function Hr(t,e){return this.lq(t)}function Gr(t,e){t.on(this,e)}function Wr(t,e){if(t.nn().ko())return this.ds(Ot(t,Kr)?t:St(),e);null==e?this.gr():(this.gs(),this.ds(t,e))}function Xr(t,e){return!0}function Yr(){return Sa()}function Zr(){}function Kr(){}function Jr(){}function Qr(t){zo.call(this),this.qn_1=t,this.rn_1=mt();var e,n=vt();this.sn_1=gt(n,(e=this,function(){var t;return t=Vi(\\\"kotlinx.serialization.Polymorphic\\\",(null==c&&new ro,c),[],function(t){return function(e){var n=Ai(ft()).nn();e.bo(\\\"type\\\",n,null,!1,12,null);var r=Vi(\\\"kotlinx.serialization.Polymorphic<\\\"+t.qn_1.v8()+\\\">\\\",to(),[],null,12);return e.bo(\\\"value\\\",r,null,!1,12,null),e.vn_1=t.rn_1,dt()}}(e),4),new Di(t,e.qn_1)}))}function ti(t,e,n){var r,i=t.eo(e,n);return null==i?function(t,e){var n=t.v8();Ro(null==n?\\\"\\\"+t:n,e)}(_t(n),t.co()):r=i,r}function ei(t,e,n){var r,i=t.do(e,n);return null==i?Ro(n,t.co()):r=i,r}function ni(){}function ri(){}function ii(){}function oi(t,e){return wt(t,e),si.call(e),e}function ai(t){var e=oi(t,Object.create(si.prototype));return At(e,ai),e}function si(){At(this,si)}function li(t){oi(t,this),At(this,li)}function ui(t,e){var n=function(t,e,n){return ci.call(n,t,1===t.h()?\\\"Field '\\\"+t.j(0)+\\\"' is required for type with serial name '\\\"+e+\\\"', but it was missing\\\":\\\"Fields \\\"+t+\\\" are required for type with serial name '\\\"+e+\\\"', but they were missing\\\",null),n}(t,e,Object.create(ci.prototype));return At(n,ui),n}function ci(t,e,n){!function(t,e,n){Ct(t,e,n),si.call(n)}(e,n,this),this.fo_1=t,At(this,ci)}function hi(t){var e=function(t){var e,n=Zs(t,[]);if(null==n){var r=kr(t).Companion,i=null==r?null:r.serializer();e=null!=i&&Ot(i,Zr)?i:null}else e=n;return e}(t);return null==e?function(t){_s();var e=es().s(t);return null==e||Ot(e,Zr)?e:St()}(t):e}function pi(t,e,n){var r;if(n){for(var i=Tt(Et(e,10)),o=e.e();o.f();){var a;a=di(t,o.g()),i.a(a)}r=i}else{for(var s=Tt(Et(e,10)),l=e.e();l.f();){var u,c=mi(t,l.g());if(null==c)return null;u=c,s.a(u)}r=s}return r}function fi(t,e,n){var r=function(t,e,n){var r,i=t;if(i.equals(Lt(Gt))||i.equals(Lt(Ht))||i.equals(Lt(Vt))||i.equals(Lt(qt)))r=new Wo(n.j(0));else if(i.equals(Lt(Ut)))r=new Xo(n.j(0));else if(i.equals(Lt(jt))||i.equals(Lt(Ft))||i.equals(Lt(Nt)))r=new Yo(n.j(0));else if(i.equals(Lt(Bt)))r=new Zo(n.j(0),n.j(1));else if(i.equals(Lt($t))||i.equals(Lt(Dt))||i.equals(Lt(Rt)))r=new Ko(n.j(0),n.j(1));else if(i.equals(Lt(zt)))r=new Ss(n.j(0),n.j(1));else if(i.equals(Lt(Pt)))r=function(t,e){return new ks(t,e)}(n.j(0),n.j(1));else if(i.equals(Lt(It)))r=new Os(n.j(0),n.j(1),n.j(2));else{var o;if(t.equals(yr().zi())){var a=e.j(0).qh();o=new Jo(null!=a&&Ot(a,kt)?a:St(),n.j(0))}else o=null;r=o}return r}(t,e,n);return null==r?function(t,e){return Zs(t,Wt(e).slice())}(t,n):r}function di(t,e){var n,r=vi(t,e,!0);return null==r?function(t){throw ai(\\\"Serializer for class '\\\"+t.v8()+\\\"' is not found.\\\\nMark the class as @Serializable or provide the serializer explicitly.\\\\nOn Kotlin/JS explicitly declared serializer should be used for interfaces and enums without @Serializable annotation\\\")}(xa(e)):n=r,n}function mi(t,e){return vi(t,e,!1)}function vi(t,e,a){for(var s=xa(e),l=e.sh(),u=e.rh(),c=Tt(Et(u,10)),h=u.e();h.f();){var p,f=h.g().a9_1;if(null==f)throw Yt(Xt(\\\"Star projections in type arguments are not allowed, but had \\\"+e));p=f,c.a(p)}var d,m,v=c;if(v.i())d=function(t,e){var i;if(xi(),e)i=(xi(),r).io(t);else{var o=(xi(),n).io(t);i=null==o?null:null!=o&&Ot(o,Zr)?o:St()}return i}(s,l);else{var g,y=function(t,e,n){var r;if(xi(),n)r=(xi(),o).jo(t,e);else{var a=(xi(),i).jo(t,e);r=new te(a)instanceof te?a:St()}return r}(s,v,l);if(a){var _;if(Qt(y))_=null;else{var b=Kt(y);_=null==b||Jt(b)?b:St()}g=_}else{if(null!=Zt(y))return null;var x=Kt(y);g=null==x||Jt(x)?x:St()}d=g}if(null!=d)return d;if(v.i())m=t.ho(s,null,2,null);else{var w=pi(t,v,a);if(null==w)return null;var A=w,C=fi(s,v,A);m=null==C?t.go(s,A):C}var M,E=m;return null==(M=null==E?null:null!=E&&Ot(E,Zr)?E:St())?null:function(t,e){return e?wi(t):Ot(t,Zr)?t:St()}(M,l)}function gi(t){return xi(),hi(t)}function yi(t){xi();var e=hi(t),n=null==e?null:wi(e);return null==n?null:null!=n&&Ot(n,Zr)?n:St()}function _i(t,e){return xi(),fi(t,e,ee(pi(Us(),e,!0)))}function bi(t,e){xi();var n=fi(t,e,ee(pi(Us(),e,!0))),r=null==n?null:wi(n);return null==r?null:null!=r&&Ot(r,Zr)?r:St()}function xi(){a||(a=!0,n=Xs(gi),r=Xs(yi),i=Ys(_i),o=Ys(bi))}function wi(t){return t.nn().ko()?Ot(t,Zr)?t:St():new ma(t)}function Ai(t){return rs()}function Ci(t){return null==G&&new is,G}function Mi(t){return as()}function Ei(t){return ls()}function Ti(t){return null==Y&&new us,Y}function Si(t){return null==it&&new Ls,it}function ki(t){return null==Z&&new cs,Z}function Oi(t){return null==ot&&new Ps,ot}function Ii(t){return null==K&&new hs,K}function Li(t){return null==at&&new zs,at}function Pi(t){return null==J&&new ps,J}function zi(t){return null==st&&new Rs,st}function Ri(t){return ds()}function Di(t,e){this.lo_1=t,this.mo_1=e,this.no_1=this.lo_1.oo()+\\\"<\\\"+this.mo_1.v8()+\\\">\\\"}function $i(t){var e=t;return e instanceof Di?t.mo_1:e instanceof va?$i(t.yo_1):null}function Bi(){}function Ni(t){return new qi(t)}function Fi(t){this.cp_1=t,this.bp_1=t.qo()}function ji(t){this.dp_1=t}function Ui(t){this.fp_1=t,this.ep_1=t.qo()}function qi(t){this.gp_1=t}function Vi(t,e,n,r,i,o){return 0!=(8&i)&&(r=Yi),function(t,e,n,r){if(ae(t))throw Yt(Xt(\\\"Blank serial names are prohibited\\\"));if(ne(e,yo()))throw Yt(Xt(\\\"For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead\\\"));var i=new Hi(t);return r(i),new Xi(t,e,i.wn_1.h(),se(n),i)}(t,e,n,r)}function Hi(t){this.tn_1=t,this.un_1=!1,this.vn_1=mt(),this.wn_1=le(),this.xn_1=ue(),this.yn_1=le(),this.zn_1=le(),this.ao_1=le()}function Gi(t,e,n,r,i){return 0!=(4&r)&&(n=Zi),function(t,e,n){if(ae(t))throw Yt(Xt(\\\"Blank serial names are prohibited\\\"));var r=new Hi(t);return n(r),new Xi(t,yo(),r.wn_1.h(),se(e),r)}(t,e,n)}function Wi(t){return xt(\\\"_hashCode\\\",1,bt,(function(t){return Wi(t)}),null),t.tp_1.w2()}function Xi(t,e,n,r,i){this.ip_1=t,this.jp_1=e,this.kp_1=n,this.lp_1=i.vn_1,this.mp_1=ce(i.wn_1);var o,a=i.wn_1;o=Wt(a),this.np_1=o,this.op_1=wa(i.yn_1);var s,l,u=i.zn_1;s=Wt(u),this.pp_1=s,this.qp_1=he(i.ao_1);for(var c,h=pe(this.np_1),p=Tt(Et(h,10)),f=h.e();f.f();){var d,m=f.g();d=fe(m.x3_1,m.w3_1),p.a(d)}c=p,this.rp_1=de(c),this.sp_1=wa(r),this.tp_1=me((l=this,function(){return Ta(l,l.sp_1)}))}function Yi(t){return dt()}function Zi(t){return dt()}function Ki(){s=this,eo.call(this)}function Ji(){return null==s&&new Ki,s}function Qi(){l=this,eo.call(this)}function to(){return null==l&&new Qi,l}function eo(){}function no(){u=this,io.call(this)}function ro(){c=this,io.call(this)}function io(){eo.call(this)}function oo(){h=this,vo.call(this)}function ao(){p=this,vo.call(this)}function so(){f=this,vo.call(this)}function lo(){d=this,vo.call(this)}function uo(){m=this,vo.call(this)}function co(){v=this,vo.call(this)}function ho(){g=this,vo.call(this)}function po(){y=this,vo.call(this)}function fo(){_=this,vo.call(this)}function mo(){return null==_&&new fo,_}function vo(){eo.call(this)}function go(){b=this,Mo.call(this)}function yo(){return null==b&&new go,b}function _o(){x=this,Mo.call(this)}function bo(){return null==x&&new _o,x}function xo(){w=this,Mo.call(this)}function wo(){return null==w&&new xo,w}function Ao(){A=this,Mo.call(this)}function Co(){return null==A&&new Ao,A}function Mo(){eo.call(this)}function Eo(){}function To(){}function So(){}function ko(){C=this,this.js_1=-1,this.ks_1=-3}function Oo(){return null==C&&new ko,C}function Io(){}function Lo(){}function Po(){}function zo(){}function Ro(t,e){var n=\\\"in the scope of '\\\"+e.v8()+\\\"'\\\";throw ai(null==t?\\\"Class discriminator was missing and no default polymorphic serializers were registered \\\"+n:\\\"Class '\\\"+t+\\\"' is not registered for polymorphic serialization \\\"+n+\\\".\\\\nMark the base class as 'sealed' or register the serializer explicitly.\\\")}function Do(){M=this,this.os_1=new gs(\\\"kotlin.time.Duration\\\",mo())}function $o(){}function Bo(t){Ho.call(this,t)}function No(t){Ho.call(this,t)}function Fo(t){Ho.call(this,t)}function jo(t,e){Go.call(this,\\\"kotlin.collections.HashMap\\\",t,e)}function Uo(t,e){Go.call(this,\\\"kotlin.collections.LinkedHashMap\\\",t,e)}function qo(t){Ho.call(this,t)}function Vo(t){Ho.call(this,t),this.ht_1=t.oo()+\\\"Array\\\"}function Ho(t){this.ts_1=t,this.us_1=1}function Go(t,e,n){this.zs_1=t,this.at_1=e,this.bt_1=n,this.ct_1=2}function Wo(t){Qo.call(this,t),this.jt_1=new Bo(t.nn())}function Xo(t){Qo.call(this,t),this.fu_1=new No(t.nn())}function Yo(t){Qo.call(this,t),this.mu_1=new Fo(t.nn())}function Zo(t,e){ta.call(this,t,e),this.tu_1=new jo(t.nn(),e.nn())}function Ko(t,e){ta.call(this,t,e),this.iv_1=new Uo(t.nn(),e.nn())}function Jo(t,e){ea.call(this,e),this.nv_1=t,this.ov_1=new qo(e.nn())}function Qo(t){ea.call(this,t)}function ta(t,e){na.call(this),this.cv_1=t,this.dv_1=e}function ea(t){na.call(this),this.yt_1=t}function na(){}function ra(t){ea.call(this,t),this.xv_1=new Vo(t.nn())}function ia(){}function oa(){E=this,this.ew_1=Fe(0)}function aa(){return null==E&&new oa,E}function sa(t,e){aa(),this.fw_1=t,this.gw_1=e;var n,r=this.fw_1.qo();(je(),r<=64)?(je(),n=64===r?new be(0,0):new be(-1,-1).wa(r),this.hw_1=n,this.iw_1=aa().ew_1):(this.hw_1=new be(0,0),this.iw_1=function(t,e){var n=(e-1|0)>>>6|0;je();var r=63&e,i=Fe(n);return 0!==r&&(i[Ue(i)]=new be(-1,-1).wa(e)),i}(0,r))}function la(t){return xt(\\\"elementDescriptors\\\",1,bt,(function(t){return la(t)}),null),t.yw_1.w2()}function ua(t,e){var n,r,i;!function(t,e,n,r,i,o){e=null,Ea.call(o,t,e,n)}(t,null,e,0,0,this),this.xw_1=Ji(),this.yw_1=me((n=e,r=t,i=this,function(){for(var t=0,e=n,o=Ve(Array(e),null);t<e;){var a,s=t;a=Vi(r+\\\".\\\"+i.wo(s),Co(),[],null,12),o[s]=a,t=t+1|0}return o}))}function ca(t,e){var n,r;this.ox_1=e,this.px_1=null,this.qx_1=me((n=this,r=t,function(){var t=n.px_1;return null==t?function(t,e){for(var n=new ua(e,t.ox_1.length),r=t.ox_1,i=0,o=r.length;i<o;){var a=r[i];i=i+1|0,n.nx(a.y1_1,!1,2,null)}return n}(n,r):t}))}function ha(t,e){return new pa(t,new fa(e))}function pa(t,e){Ea.call(this,t,e,1),this.dy_1=!0}function fa(t){this.ey_1=t}function da(){T=this,To.call(this),this.hy_1=Us()}function ma(t){this.iy_1=t,this.jy_1=new va(this.iy_1.nn())}function va(t){this.yo_1=t,this.zo_1=this.yo_1.oo()+\\\"?\\\",this.ap_1=ba(this.yo_1)}function ga(t,e){this.ly_1=e,this.my_1=mt();var n,r,i=vt();this.ny_1=gt(i,(n=t,r=this,function(){var t=Co();return Vi(n,t,[],function(t){return function(e){return e.vn_1=t.my_1,dt()}}(r),4)}))}function ya(){}function _a(){}function ba(t){if(Aa(),Ot(t,$o))return t.up();var e=We(t.qo()),n=0,r=t.qo();if(n<r)do{var i=n;n=n+1|0;var o=t.wo(i);e.a(o)}while(n<r);return e}function xa(t){Aa();var e=t.qh();if(null==e||!Ot(e,kt)){if(null!=e&&Ot(e,Xe))throw Te(Xt(\\\"Captured type paramerer \\\"+e+\\\" from generic non-reified function. Such functionality cannot be supported as \\\"+e+\\\" is erased, either specify serializer explicitly or make calling function inline with reified \\\"+e));throw Te(Xt(\\\"Only KClass supported as classifier, got \\\"+e))}var n=e;return Ot(n,kt)?n:St()}function wa(t){var e;Aa();var n=null==(e=null==t||t.i()?null:t)?null:Wt(e);return null==n?(Aa(),S):n}function Aa(){k||(k=!0,S=[])}function Ca(t){return xt(\\\"childSerializers\\\",1,bt,(function(t){return Ca(t)}),null),t.ix_1.w2()}function Ma(t){return xt(\\\"_hashCode\\\",1,bt,(function(t){return Ma(t)}),null),t.kx_1.w2()}function Ea(t,e,n){this.zw_1=t,this.ax_1=e,this.bx_1=n,this.cx_1=-1;for(var r=0,i=this.bx_1,o=Ve(Array(i),null);r<i;)o[r]=\\\"[UNINITIALIZED]\\\",r=r+1|0;this.dx_1=o;var a,s=this.bx_1;a=Ve(Array(s),null),this.ex_1=a,this.fx_1=null,this.gx_1=Ye(this.bx_1),this.hx_1=Ze();var l,u=vt();this.ix_1=gt(u,(l=this,function(){var t=l.ax_1,e=null==t?null:t.fy();return null==e?Sa():e}));var c=vt();this.jx_1=gt(c,function(t){return function(){var e,n=t.ax_1,r=null==n?null:n.gy();if(null==r)e=null;else{for(var i=Tt(r.length),o=$e(r);o.f();){var a;a=o.g().nn(),i.a(a)}e=i}return wa(e)}}(this));var h=vt();this.kx_1=gt(h,function(t){return function(){return Ta(t,t.lx())}}(this))}function Ta(t,e){var n=re(t.oo());n=ct(31,n)+Ke(e)|0;for(var r=function(t){return new ji(t)}(t),i=1,o=r.e();o.f();){var a,s=o.g(),l=ct(31,i),u=null==(a=s.oo())?null:Ee(a);i=l+(null==u?0:u)|0}for(var c=i,h=1,p=r.e();p.f();){var f,d=p.g(),m=ct(31,h),v=null==(f=d.so())?null:Ee(f);h=m+(null==v?0:v)|0}var g=h;return n=ct(31,n)+c|0,ct(31,n)+g|0}function Sa(){return I||(I=!0,O=[]),O}function ka(){}function Oa(){}function Ia(){L=this,ra.call(this,Ci(Je()))}function La(){P=this,ra.call(this,Mi(en()))}function Pa(){z=this,ra.call(this,Ei(rn()))}function za(){R=this,ra.call(this,Ti(je()))}function Ra(){D=this,ra.call(this,Si(sn()))}function Da(){$=this,ra.call(this,ki(dn()))}function $a(){B=this,ra.call(this,Oi(vn()))}function Ba(){N=this,ra.call(this,Ii(An()))}function Na(){F=this,ra.call(this,Li(Mn()))}function Fa(){j=this,ra.call(this,Pi(Ln()))}function ja(){U=this,ra.call(this,zi(zn()))}function Ua(){q=this,ra.call(this,Ri(jn()))}function qa(t){ia.call(this),this.uy_1=t,this.vy_1=t.length,this.wf(10)}function Va(t){ia.call(this),this.dz_1=t,this.ez_1=t.length,this.wf(10)}function Ha(t){ia.call(this),this.mz_1=t,this.nz_1=t.length,this.wf(10)}function Ga(t){ia.call(this),this.vz_1=t,this.wz_1=t.length,this.wf(10)}function Wa(t){ia.call(this),this.f10_1=t,this.g10_1=ln(t),this.wf(10)}function Xa(t){ia.call(this),this.o10_1=t,this.p10_1=t.length,this.wf(10)}function Ya(t){ia.call(this),this.y10_1=t,this.z10_1=gn(t),this.wf(10)}function Za(t){ia.call(this),this.h11_1=t,this.i11_1=t.length,this.wf(10)}function Ka(t){ia.call(this),this.r11_1=t,this.s11_1=En(t),this.wf(10)}function Ja(t){ia.call(this),this.a12_1=t,this.b12_1=t.length,this.wf(10)}function Qa(t){ia.call(this),this.k12_1=t,this.l12_1=Rn(t),this.wf(10)}function ts(t){ia.call(this),this.t12_1=t,this.u12_1=t.length,this.wf(10)}function es(){return _s(),V}function ns(){H=this,this.b13_1=new gs(\\\"kotlin.String\\\",mo())}function rs(){return null==H&&new ns,H}function is(){G=this,this.d13_1=new gs(\\\"kotlin.Char\\\",(null==f&&new so,f))}function os(){W=this,this.g13_1=new gs(\\\"kotlin.Double\\\",(null==y&&new po,y))}function as(){return null==W&&new os,W}function ss(){X=this,this.i13_1=new gs(\\\"kotlin.Float\\\",(null==g&&new ho,g))}function ls(){return null==X&&new ss,X}function us(){Y=this,this.k13_1=new gs(\\\"kotlin.Long\\\",(null==v&&new co,v))}function cs(){Z=this,this.m13_1=new gs(\\\"kotlin.Int\\\",(null==m&&new uo,m))}function hs(){K=this,this.o13_1=new gs(\\\"kotlin.Short\\\",(null==d&&new lo,d))}function ps(){J=this,this.q13_1=new gs(\\\"kotlin.Byte\\\",(null==p&&new ao,p))}function fs(){Q=this,this.s13_1=new gs(\\\"kotlin.Boolean\\\",(null==h&&new oo,h))}function ds(){return null==Q&&new fs,Q}function ms(){tt=this,this.u13_1=new ga(\\\"kotlin.Unit\\\",dt())}function vs(t){throw Te(\\\"Primitive descriptor does not have elements\\\")}function gs(t,e){this.x13_1=t,this.y13_1=e}function ys(t){var e;if(_s(),fr(t)>0){var n,r=dr(t,0);n=gr(r)?vr(r):mr(r),e=Xt(n)+t.substring(1)}else e=t;return e}function _s(){et||(et=!0,V=Ar([fe(yr().aj(),Ai(ft())),fe(Lt(xe),Ci(Je())),fe(yr().dj(),(null==L&&new Ia,L)),fe(yr().yi(),Mi(en())),fe(yr().jj(),(null==P&&new La,P)),fe(yr().xi(),Ei(rn())),fe(yr().ij(),(null==z&&new Pa,z)),fe(Lt(be),Ti(je())),fe(yr().hj(),(null==R&&new za,R)),fe(Lt(_r),Si(sn())),fe(Lt(un),(null==D&&new Ra,D)),fe(yr().wi(),ki(dn())),fe(yr().gj(),(null==$&&new Da,$)),fe(Lt(br),Oi(vn())),fe(Lt(yn),(null==B&&new $a,B)),fe(yr().vi(),Ii(An())),fe(yr().fj(),(null==N&&new Ba,N)),fe(Lt(xr),Li(Mn())),fe(Lt(Tn),(null==F&&new Na,F)),fe(yr().ui(),Pi(Ln())),fe(yr().ej(),(null==j&&new Fa,j)),fe(Lt(wr),zi(zn())),fe(Lt(Dn),(null==U&&new ja,U)),fe(yr().ti(),Ri(jn())),fe(yr().cj(),(null==q&&new Ua,q)),fe(Lt(cr),(dt(),null==tt&&new ms,tt)),fe(Lt(Ae),(Ce(),null==M&&new Do,M))]))}function bs(){As.call(this)}function xs(){Ms.call(this)}function ws(t,e,n){var r=t.a14(e,n);return t.w14(r),!0}function As(){var t;t=le(),this.d14_1=t}function Cs(t,e,n){t.w14(e);var r=n();return t.b15_1||t.x14(),t.b15_1=!1,r}function Ms(){var t;t=le(),this.a15_1=t,this.b15_1=!1}function Es(){return rt||(rt=!0,nt=new Object),nt}function Ts(t,e){this.p15_1=t,this.q15_1=e}function Ss(t,e){Is.call(this,t,e);var n,r,i=wo();this.t15_1=Vi(\\\"kotlin.collections.Map.Entry\\\",i,[],(n=t,r=e,function(t){var e=n.nn();t.bo(\\\"key\\\",e,null,!1,12,null);var i=r.nn();return t.bo(\\\"value\\\",i,null,!1,12,null),dt()}),4)}function ks(t,e){var n,r;Is.call(this,t,e),this.e16_1=Gi(\\\"kotlin.Pair\\\",[],(n=t,r=e,function(t){var e=n.nn();t.bo(\\\"first\\\",e,null,!1,12,null);var i=r.nn();return t.bo(\\\"second\\\",i,null,!1,12,null),dt()}),2)}function Os(t,e,n){var r;this.h16_1=t,this.i16_1=e,this.j16_1=n,this.k16_1=Gi(\\\"kotlin.Triple\\\",[],(r=this,function(t){var e=r.h16_1.nn();t.bo(\\\"first\\\",e,null,!1,12,null);var n=r.i16_1.nn();t.bo(\\\"second\\\",n,null,!1,12,null);var i=r.j16_1.nn();return t.bo(\\\"third\\\",i,null,!1,12,null),dt()}),2)}function Is(t,e){this.z15_1=t,this.a16_1=e}function Ls(){it=this,this.m16_1=ha(\\\"kotlin.ULong\\\",Ti(je()))}function Ps(){ot=this,this.p16_1=ha(\\\"kotlin.UInt\\\",ki(dn()))}function zs(){at=this,this.s16_1=ha(\\\"kotlin.UShort\\\",Ii(An()))}function Rs(){st=this,this.v16_1=ha(\\\"kotlin.UByte\\\",Pi(Ln()))}function Ds(t,e){var n;this.y16_1=t,this.z16_1=e,n=le(),this.a17_1=n,this.b17_1=null,this.c17_1=null}function $s(){}function Bs(t,e,n,r,i){$s.call(this),this.r17_1=t,this.s17_1=e,this.t17_1=n,this.u17_1=r,this.v17_1=i}function Ns(t){js.call(this),this.z17_1=t}function Fs(t){js.call(this),this.x17_1=t}function js(){}function Us(){return ut||(ut=!0,lt=new Bs(Ze(),Ze(),Ze(),Ze(),Ze())),lt}function qs(){var t,e,n,r,i;t=Le(),this.i17_1=t,e=Le(),this.j17_1=e,n=Le(),this.k17_1=n,r=Le(),this.l17_1=r,i=Le(),this.m17_1=i}function Vs(t,e){var n=function(t,e,n){return Hs.call(n,\\\"Serializer for \\\"+e+\\\" already registered in the scope of \\\"+t),n}(t,e,Object.create(Hs.prototype));return At(n,Vs),n}function Hs(t){wt(t,this),At(this,Hs)}function Gs(){}function Ws(t){this.k18_1=t}function Xs(t){return new Qs(t)}function Ys(t){return new tl(t)}function Zs(t,e){var n;try{var r,i=Or(t,Lt(Ws));if(null!=i&&Ot(i,Zr))r=null!=i&&Ot(i,Zr)?i:St();else if(null!=i&&Ot(i,ka)){var o=i.oy(e.slice());r=Ot(o,Zr)?o:St()}else r=function(t){var e=kr(t).$metadata$;return\\\"interface\\\"==(null==e?null:e.kind)}(t)?new Qr(t):null;n=r}catch(t){n=null}return n}function Ks(t,e){if(!(0<=e&&e<=(t.length-1|0)))throw Lr(\\\"Index \\\"+e+\\\" out of bounds \\\"+Ir(t));return t[e]}function Js(t,e){if(!(0<=e&&e<=(t.length-1|0)))throw Lr(\\\"Index \\\"+e+\\\" out of bounds \\\"+Pr(t));return t[e]}function Qs(t){this.l18_1=t}function tl(t){this.m18_1=t}Qr.prototype=Object.create(zo.prototype),Qr.prototype.constructor=Qr,ni.prototype=Object.create(zo.prototype),ni.prototype.constructor=ni,si.prototype=Object.create(Mt.prototype),si.prototype.constructor=si,li.prototype=Object.create(si.prototype),li.prototype.constructor=li,ci.prototype=Object.create(si.prototype),ci.prototype.constructor=ci,Ki.prototype=Object.create(eo.prototype),Ki.prototype.constructor=Ki,Qi.prototype=Object.create(eo.prototype),Qi.prototype.constructor=Qi,io.prototype=Object.create(eo.prototype),io.prototype.constructor=io,no.prototype=Object.create(io.prototype),no.prototype.constructor=no,ro.prototype=Object.create(io.prototype),ro.prototype.constructor=ro,vo.prototype=Object.create(eo.prototype),vo.prototype.constructor=vo,oo.prototype=Object.create(vo.prototype),oo.prototype.constructor=oo,ao.prototype=Object.create(vo.prototype),ao.prototype.constructor=ao,so.prototype=Object.create(vo.prototype),so.prototype.constructor=so,lo.prototype=Object.create(vo.prototype),lo.prototype.constructor=lo,uo.prototype=Object.create(vo.prototype),uo.prototype.constructor=uo,co.prototype=Object.create(vo.prototype),co.prototype.constructor=co,ho.prototype=Object.create(vo.prototype),ho.prototype.constructor=ho,po.prototype=Object.create(vo.prototype),po.prototype.constructor=po,fo.prototype=Object.create(vo.prototype),fo.prototype.constructor=fo,Mo.prototype=Object.create(eo.prototype),Mo.prototype.constructor=Mo,go.prototype=Object.create(Mo.prototype),go.prototype.constructor=go,_o.prototype=Object.create(Mo.prototype),_o.prototype.constructor=_o,xo.prototype=Object.create(Mo.prototype),xo.prototype.constructor=xo,Ao.prototype=Object.create(Mo.prototype),Ao.prototype.constructor=Ao,Bo.prototype=Object.create(Ho.prototype),Bo.prototype.constructor=Bo,No.prototype=Object.create(Ho.prototype),No.prototype.constructor=No,Fo.prototype=Object.create(Ho.prototype),Fo.prototype.constructor=Fo,jo.prototype=Object.create(Go.prototype),jo.prototype.constructor=jo,Uo.prototype=Object.create(Go.prototype),Uo.prototype.constructor=Uo,qo.prototype=Object.create(Ho.prototype),qo.prototype.constructor=qo,Vo.prototype=Object.create(Ho.prototype),Vo.prototype.constructor=Vo,ea.prototype=Object.create(na.prototype),ea.prototype.constructor=ea,Qo.prototype=Object.create(ea.prototype),Qo.prototype.constructor=Qo,Wo.prototype=Object.create(Qo.prototype),Wo.prototype.constructor=Wo,Xo.prototype=Object.create(Qo.prototype),Xo.prototype.constructor=Xo,Yo.prototype=Object.create(Qo.prototype),Yo.prototype.constructor=Yo,ta.prototype=Object.create(na.prototype),ta.prototype.constructor=ta,Zo.prototype=Object.create(ta.prototype),Zo.prototype.constructor=Zo,Ko.prototype=Object.create(ta.prototype),Ko.prototype.constructor=Ko,Jo.prototype=Object.create(ea.prototype),Jo.prototype.constructor=Jo,ra.prototype=Object.create(ea.prototype),ra.prototype.constructor=ra,ua.prototype=Object.create(Ea.prototype),ua.prototype.constructor=ua,pa.prototype=Object.create(Ea.prototype),pa.prototype.constructor=pa,da.prototype=Object.create(To.prototype),da.prototype.constructor=da,Ia.prototype=Object.create(ra.prototype),Ia.prototype.constructor=Ia,La.prototype=Object.create(ra.prototype),La.prototype.constructor=La,Pa.prototype=Object.create(ra.prototype),Pa.prototype.constructor=Pa,za.prototype=Object.create(ra.prototype),za.prototype.constructor=za,Ra.prototype=Object.create(ra.prototype),Ra.prototype.constructor=Ra,Da.prototype=Object.create(ra.prototype),Da.prototype.constructor=Da,$a.prototype=Object.create(ra.prototype),$a.prototype.constructor=$a,Ba.prototype=Object.create(ra.prototype),Ba.prototype.constructor=Ba,Na.prototype=Object.create(ra.prototype),Na.prototype.constructor=Na,Fa.prototype=Object.create(ra.prototype),Fa.prototype.constructor=Fa,ja.prototype=Object.create(ra.prototype),ja.prototype.constructor=ja,Ua.prototype=Object.create(ra.prototype),Ua.prototype.constructor=Ua,qa.prototype=Object.create(ia.prototype),qa.prototype.constructor=qa,Va.prototype=Object.create(ia.prototype),Va.prototype.constructor=Va,Ha.prototype=Object.create(ia.prototype),Ha.prototype.constructor=Ha,Ga.prototype=Object.create(ia.prototype),Ga.prototype.constructor=Ga,Wa.prototype=Object.create(ia.prototype),Wa.prototype.constructor=Wa,Xa.prototype=Object.create(ia.prototype),Xa.prototype.constructor=Xa,Ya.prototype=Object.create(ia.prototype),Ya.prototype.constructor=Ya,Za.prototype=Object.create(ia.prototype),Za.prototype.constructor=Za,Ka.prototype=Object.create(ia.prototype),Ka.prototype.constructor=Ka,Ja.prototype=Object.create(ia.prototype),Ja.prototype.constructor=Ja,Qa.prototype=Object.create(ia.prototype),Qa.prototype.constructor=Qa,ts.prototype=Object.create(ia.prototype),ts.prototype.constructor=ts,bs.prototype=Object.create(As.prototype),bs.prototype.constructor=bs,xs.prototype=Object.create(Ms.prototype),xs.prototype.constructor=xs,Ss.prototype=Object.create(Is.prototype),Ss.prototype.constructor=Ss,ks.prototype=Object.create(Is.prototype),ks.prototype.constructor=ks,Bs.prototype=Object.create($s.prototype),Bs.prototype.constructor=Bs,Ns.prototype=Object.create(js.prototype),Ns.prototype.constructor=Ns,Fs.prototype=Object.create(js.prototype),Fs.prototype.constructor=Fs,Hs.prototype=Object.create(Mt.prototype),Hs.prototype.constructor=Hs,Zr.$metadata$=ht(\\\"KSerializer\\\",[Kr,Jr]),Kr.$metadata$=ht(\\\"SerializationStrategy\\\"),Jr.$metadata$=ht(\\\"DeserializationStrategy\\\"),Qr.prototype.co=function(){return this.qn_1},Qr.prototype.nn=function(){return xt(\\\"descriptor\\\",1,bt,(function(t){return t.nn()}),null),this.sn_1.w2()},Qr.prototype.toString=function(){return\\\"kotlinx.serialization.PolymorphicSerializer(baseClass: \\\"+this.qn_1+\\\")\\\"},Qr.$metadata$=yt(\\\"PolymorphicSerializer\\\",void 0,void 0,void 0,void 0,zo.prototype),ni.$metadata$=yt(\\\"SealedClassSerializer\\\",void 0,void 0,void 0,void 0,zo.prototype),ri.$metadata$=ht(\\\"StringFormat\\\",[ii]),ii.$metadata$=ht(\\\"SerialFormat\\\"),si.$metadata$=yt(\\\"SerializationException\\\",void 0,void 0,void 0,void 0,Mt.prototype),li.$metadata$=yt(\\\"UnknownFieldException\\\",void 0,void 0,void 0,void 0,si.prototype),ci.$metadata$=yt(\\\"MissingFieldException\\\",void 0,void 0,void 0,void 0,si.prototype),Di.prototype.po=function(){return this.lo_1.po()},Di.prototype.qo=function(){return this.lo_1.qo()},Di.prototype.ro=function(){return this.lo_1.ro()},Di.prototype.ko=function(){return this.lo_1.ko()},Di.prototype.so=function(){return this.lo_1.so()},Di.prototype.to=function(t){return this.lo_1.to(t)},Di.prototype.uo=function(t){return this.lo_1.uo(t)},Di.prototype.vo=function(t){return this.lo_1.vo(t)},Di.prototype.wo=function(t){return this.lo_1.wo(t)},Di.prototype.xo=function(t){return this.lo_1.xo(t)},Di.prototype.oo=function(){return this.no_1},Di.prototype.equals=function(t){var e=t instanceof Di?t:null;if(null==e)return!1;var n=e;return!!ne(this.lo_1,n.lo_1)&&n.mo_1.equals(this.mo_1)},Di.prototype.hashCode=function(){var t=this.mo_1.hashCode();return ct(31,t)+re(this.no_1)|0},Di.prototype.toString=function(){return\\\"ContextDescriptor(kClass: \\\"+this.mo_1+\\\", original: \\\"+this.lo_1+\\\")\\\"},Di.$metadata$=yt(\\\"ContextDescriptor\\\",[Bi]),Bi.$metadata$=ht(\\\"SerialDescriptor\\\"),Fi.prototype.f=function(){return this.bp_1>0},Fi.prototype.g=function(){var t=this.cp_1.qo(),e=this.bp_1;return this.bp_1=e-1|0,this.cp_1.uo(t-e|0)},Fi.$metadata$=yt(void 0,[ie]),ji.prototype.e=function(){return new Fi(this.dp_1)},ji.$metadata$=yt(void 0,[oe]),Ui.prototype.f=function(){return this.ep_1>0},Ui.prototype.g=function(){var t=this.fp_1.qo(),e=this.ep_1;return this.ep_1=e-1|0,this.fp_1.wo(t-e|0)},Ui.$metadata$=yt(void 0,[ie]),qi.prototype.e=function(){return new Ui(this.gp_1)},qi.$metadata$=yt(void 0,[oe]),Hi.prototype.hp=function(t,e,n,r){if(!this.xn_1.a(t))throw Yt(Xt(\\\"Element with name '\\\"+t+\\\"' is already registered\\\"));this.wn_1.a(t),this.yn_1.a(e),this.zn_1.a(n),this.ao_1.a(r)},Hi.prototype.bo=function(t,e,n,r,i,o){return 0!=(4&i)&&(n=mt()),0!=(8&i)&&(r=!1),this.hp(t,e,n,r)},Hi.$metadata$=yt(\\\"ClassSerialDescriptorBuilder\\\"),Xi.prototype.oo=function(){return this.ip_1},Xi.prototype.so=function(){return this.jp_1},Xi.prototype.qo=function(){return this.kp_1},Xi.prototype.po=function(){return this.lp_1},Xi.prototype.up=function(){return this.mp_1},Xi.prototype.wo=function(t){return Ks(this.np_1,t)},Xi.prototype.vo=function(t){var e,n=this.rp_1.s(t);return null==n?(Oo(),e=-3):e=n,e},Xi.prototype.to=function(t){return Ks(this.pp_1,t)},Xi.prototype.uo=function(t){return Ks(this.op_1,t)},Xi.prototype.xo=function(t){return Js(this.qp_1,t)},Xi.prototype.equals=function(t){var e;t:if(this!==t)if(t instanceof Xi)if(this.oo()===t.oo()){var n=t;if(ve(this.sp_1,n.sp_1))if(this.qo()===t.qo()){var r=0,i=this.qo();if(r<i)do{var o=r;if(r=r+1|0,this.uo(o).oo()!==t.uo(o).oo()){e=!1;break t}if(!ne(this.uo(o).so(),t.uo(o).so())){e=!1;break t}}while(r<i);e=!0}else e=!1;else e=!1}else e=!1;else e=!1;else e=!0;return e},Xi.prototype.hashCode=function(){return Wi(this)},Xi.prototype.toString=function(){var t,e=ge(0,this.kp_1),n=this.ip_1+\\\"(\\\";return ye(e,\\\", \\\",n,\\\")\\\",0,null,(t=this,function(e){return t.wo(e)+\\\": \\\"+t.uo(e).oo()}),24,null)},Xi.$metadata$=yt(\\\"SerialDescriptorImpl\\\",[Bi,$o]),Ki.$metadata$=_e(\\\"ENUM\\\",void 0,void 0,void 0,void 0,eo.prototype),Qi.$metadata$=_e(\\\"CONTEXTUAL\\\",void 0,void 0,void 0,void 0,eo.prototype),eo.prototype.toString=function(){return ee(_t(this).v8())},eo.prototype.hashCode=function(){return re(this.toString())},eo.$metadata$=yt(\\\"SerialKind\\\"),no.$metadata$=_e(\\\"SEALED\\\",void 0,void 0,void 0,void 0,io.prototype),ro.$metadata$=_e(\\\"OPEN\\\",void 0,void 0,void 0,void 0,io.prototype),io.$metadata$=yt(\\\"PolymorphicKind\\\",void 0,void 0,void 0,void 0,eo.prototype),oo.$metadata$=_e(\\\"BOOLEAN\\\",void 0,void 0,void 0,void 0,vo.prototype),ao.$metadata$=_e(\\\"BYTE\\\",void 0,void 0,void 0,void 0,vo.prototype),so.$metadata$=_e(\\\"CHAR\\\",void 0,void 0,void 0,void 0,vo.prototype),lo.$metadata$=_e(\\\"SHORT\\\",void 0,void 0,void 0,void 0,vo.prototype),uo.$metadata$=_e(\\\"INT\\\",void 0,void 0,void 0,void 0,vo.prototype),co.$metadata$=_e(\\\"LONG\\\",void 0,void 0,void 0,void 0,vo.prototype),ho.$metadata$=_e(\\\"FLOAT\\\",void 0,void 0,void 0,void 0,vo.prototype),po.$metadata$=_e(\\\"DOUBLE\\\",void 0,void 0,void 0,void 0,vo.prototype),fo.$metadata$=_e(\\\"STRING\\\",void 0,void 0,void 0,void 0,vo.prototype),vo.$metadata$=yt(\\\"PrimitiveKind\\\",void 0,void 0,void 0,void 0,eo.prototype),go.$metadata$=_e(\\\"CLASS\\\",void 0,void 0,void 0,void 0,Mo.prototype),_o.$metadata$=_e(\\\"LIST\\\",void 0,void 0,void 0,void 0,Mo.prototype),xo.$metadata$=_e(\\\"MAP\\\",void 0,void 0,void 0,void 0,Mo.prototype),Ao.$metadata$=_e(\\\"OBJECT\\\",void 0,void 0,void 0,void 0,Mo.prototype),Mo.$metadata$=yt(\\\"StructureKind\\\",void 0,void 0,void 0,void 0,eo.prototype),Eo.prototype.vp=function(){throw ai(_t(this)+\\\" can't retrieve untyped values\\\")},Eo.prototype.wp=function(){return!0},Eo.prototype.xp=function(){return null},Eo.prototype.yp=function(){var t=this.vp();return\\\"boolean\\\"==typeof t?t:St()},Eo.prototype.zp=function(){var t=this.vp();return\\\"number\\\"==typeof t?t:St()},Eo.prototype.aq=function(){var t=this.vp();return\\\"number\\\"==typeof t?t:St()},Eo.prototype.bq=function(){var t=this.vp();return\\\"number\\\"==typeof t?t:St()},Eo.prototype.cq=function(){var t=this.vp();return t instanceof be?t:St()},Eo.prototype.dq=function(){var t=this.vp();return\\\"number\\\"==typeof t?t:St()},Eo.prototype.eq=function(){var t=this.vp();return\\\"number\\\"==typeof t?t:St()},Eo.prototype.fq=function(){var t=this.vp();return t instanceof xe?t.q1_1:St()},Eo.prototype.gq=function(){var t=this.vp();return\\\"string\\\"==typeof t?t:St()},Eo.prototype.hq=function(t){var e=this.vp();return\\\"number\\\"==typeof e?e:St()},Eo.prototype.iq=function(t){return this},Eo.prototype.jq=function(t,e){return this.kq(t)},Eo.prototype.lq=function(t){return this},Eo.prototype.mq=function(t){},Eo.prototype.nq=function(t,e){return this.yp()},Eo.prototype.oq=function(t,e){return this.zp()},Eo.prototype.pq=function(t,e){return this.aq()},Eo.prototype.qq=function(t,e){return this.bq()},Eo.prototype.rq=function(t,e){return this.cq()},Eo.prototype.sq=function(t,e){return this.dq()},Eo.prototype.tq=function(t,e){return this.eq()},Eo.prototype.uq=function(t,e){return this.fq()},Eo.prototype.vq=function(t,e){return this.gq()},Eo.prototype.wq=function(t,e){return this.iq(t.uo(e))},Eo.prototype.xq=function(t,e,n,r){return this.jq(n,r)},Eo.prototype.zq=function(t,e,n,r){return n.nn().ko()||this.wp()?this.jq(n,r):this.xp()},Eo.$metadata$=yt(\\\"AbstractDecoder\\\",[So,Io]),To.prototype.lq=function(t){return this},To.prototype.mq=function(t){},To.prototype.er=function(t,e){return!0},To.prototype.fr=function(t){throw ai(\\\"Non-serializable \\\"+_t(t)+\\\" is not supported by \\\"+_t(this)+\\\" encoder\\\")},To.prototype.gr=function(){throw ai(\\\"'null' is not supported by default\\\")},To.prototype.hr=function(t){return this.fr(t)},To.prototype.ir=function(t){return this.fr(t)},To.prototype.jr=function(t){return this.fr(t)},To.prototype.kr=function(t){return this.fr(t)},To.prototype.lr=function(t){return this.fr(t)},To.prototype.mr=function(t){return this.fr(t)},To.prototype.nr=function(t){return this.fr(t)},To.prototype.or=function(t){return this.fr(new xe(t))},To.prototype.pr=function(t){return this.fr(t)},To.prototype.qr=function(t,e){return this.fr(e)},To.prototype.rr=function(t){return this},To.prototype.sr=function(t,e,n){this.er(t,e)&&this.hr(n)},To.prototype.tr=function(t,e,n){this.er(t,e)&&this.ir(n)},To.prototype.ur=function(t,e,n){this.er(t,e)&&this.jr(n)},To.prototype.vr=function(t,e,n){this.er(t,e)&&this.kr(n)},To.prototype.wr=function(t,e,n){this.er(t,e)&&this.lr(n)},To.prototype.xr=function(t,e,n){this.er(t,e)&&this.mr(n)},To.prototype.yr=function(t,e,n){this.er(t,e)&&this.nr(n)},To.prototype.zr=function(t,e,n){this.er(t,e)&&this.or(n)},To.prototype.as=function(t,e,n){this.er(t,e)&&this.pr(n)},To.prototype.bs=function(t,e){return this.er(t,e)?this.rr(t.uo(e)):(null==T&&new da,T)},To.prototype.cs=function(t,e,n,r){this.er(t,e)&&this.ds(n,r)},To.prototype.es=function(t,e,n,r){this.er(t,e)&&this.fs(n,r)},To.$metadata$=yt(\\\"AbstractEncoder\\\",[Lo,Po]),So.$metadata$=ht(\\\"Decoder\\\"),ko.prototype.ls=function(){return this.js_1},ko.$metadata$=_e(\\\"Companion\\\"),Io.$metadata$=ht(\\\"CompositeDecoder\\\"),Lo.$metadata$=ht(\\\"Encoder\\\"),Po.$metadata$=ht(\\\"CompositeEncoder\\\"),zo.prototype.on=function(t,e){var n=ti(this,t,e),r=this.nn(),i=t.lq(r);i.as(this.nn(),0,n.nn().oo());var o,a=this.nn();o=Ot(n,Kr)?n:St(),i.cs(a,1,o,e),i.mq(r)},zo.prototype.pn=function(t){var e,n=this.nn(),r=t.lq(n),i=null,o=null;if(r.br())e=function(t,e){var n=e.vq(t.nn(),0),r=ei(t,e,n),i=t.nn();return e.yq(i,1,r,null,8,null)}(this,r);else{t:for(;;){var a=r.cr(this.nn());if(Oo(),-1===a)break t;if(0===a)i=r.vq(this.nn(),a);else{if(1!==a)throw ai(\\\"Invalid index in polymorphic deserialization of \\\"+(null==i?\\\"unknown class\\\":i)+\\\"\\\\n Expected 0, 1 or DECODE_DONE(-1), but found \\\"+a);var s=i;if(null==s)throw Yt(Xt(\\\"Cannot read polymorphic value before its type token\\\"));var l=ei(this,r,i=s),u=this.nn();o=r.yq(u,a,l,null,8,null)}}var c=o;if(null==c)throw Yt(Xt(\\\"Polymorphic value has not been read for class \\\"+i));var h=c;e=Jt(h)?h:St()}var p=e;return r.mq(n),p},zo.prototype.do=function(t,e){return t.ar().ms(this.co(),e)},zo.prototype.eo=function(t,e){return t.ar().ns(this.co(),e)},zo.$metadata$=yt(\\\"AbstractPolymorphicSerializer\\\",[Zr]),Do.prototype.nn=function(){return this.os_1},Do.prototype.ps=function(t,e){t.pr(we(e))},Do.prototype.on=function(t,e){return this.ps(t,e instanceof Ae?e.pa_1:St())},Do.prototype.qs=function(t){return Ce().na(t.gq())},Do.prototype.pn=function(t){return new Ae(this.qs(t))},Do.$metadata$=_e(\\\"DurationSerializer\\\",[Zr]),$o.$metadata$=ht(\\\"CachedNames\\\"),Bo.prototype.oo=function(){return\\\"kotlin.collections.ArrayList\\\"},Bo.$metadata$=yt(\\\"ArrayListClassDesc\\\",void 0,void 0,void 0,void 0,Ho.prototype),No.prototype.oo=function(){return\\\"kotlin.collections.HashSet\\\"},No.$metadata$=yt(\\\"HashSetClassDesc\\\",void 0,void 0,void 0,void 0,Ho.prototype),Fo.prototype.oo=function(){return\\\"kotlin.collections.LinkedHashSet\\\"},Fo.$metadata$=yt(\\\"LinkedHashSetClassDesc\\\",void 0,void 0,void 0,void 0,Ho.prototype),jo.$metadata$=yt(\\\"HashMapClassDesc\\\",void 0,void 0,void 0,void 0,Go.prototype),Uo.$metadata$=yt(\\\"LinkedHashMapClassDesc\\\",void 0,void 0,void 0,void 0,Go.prototype),qo.prototype.oo=function(){return\\\"kotlin.Array\\\"},qo.$metadata$=yt(\\\"ArrayClassDesc\\\",void 0,void 0,void 0,void 0,Ho.prototype),Vo.prototype.oo=function(){return this.ht_1},Vo.$metadata$=yt(\\\"PrimitiveArrayDescriptor\\\",void 0,void 0,void 0,void 0,Ho.prototype),Ho.prototype.so=function(){return bo()},Ho.prototype.qo=function(){return this.us_1},Ho.prototype.wo=function(t){return t.toString()},Ho.prototype.vo=function(t){var e=Me(t);if(null==e)throw Yt(t+\\\" is not a valid list index\\\");return e},Ho.prototype.xo=function(t){var e;if(!(t>=0))throw e=\\\"Illegal index \\\"+t+\\\", \\\"+this.oo()+\\\" expects only non-negative indices\\\",Yt(Xt(e));return!1},Ho.prototype.to=function(t){var e;if(!(t>=0))throw e=\\\"Illegal index \\\"+t+\\\", \\\"+this.oo()+\\\" expects only non-negative indices\\\",Yt(Xt(e));return mt()},Ho.prototype.uo=function(t){var e;if(!(t>=0))throw e=\\\"Illegal index \\\"+t+\\\", \\\"+this.oo()+\\\" expects only non-negative indices\\\",Yt(Xt(e));return this.ts_1},Ho.prototype.equals=function(t){return this===t||t instanceof Ho&&!(!ne(this.ts_1,t.ts_1)||this.oo()!==t.oo())},Ho.prototype.hashCode=function(){return ct(Ee(this.ts_1),31)+re(this.oo())|0},Ho.prototype.toString=function(){return this.oo()+\\\"(\\\"+this.ts_1+\\\")\\\"},Ho.$metadata$=yt(\\\"ListLikeDescriptor\\\",[Bi]),Go.prototype.oo=function(){return this.zs_1},Go.prototype.so=function(){return wo()},Go.prototype.qo=function(){return this.ct_1},Go.prototype.wo=function(t){return t.toString()},Go.prototype.vo=function(t){var e=Me(t);if(null==e)throw Yt(t+\\\" is not a valid map index\\\");return e},Go.prototype.xo=function(t){var e;if(!(t>=0))throw e=\\\"Illegal index \\\"+t+\\\", \\\"+this.oo()+\\\" expects only non-negative indices\\\",Yt(Xt(e));return!1},Go.prototype.to=function(t){var e;if(!(t>=0))throw e=\\\"Illegal index \\\"+t+\\\", \\\"+this.oo()+\\\" expects only non-negative indices\\\",Yt(Xt(e));return mt()},Go.prototype.uo=function(t){var e,n;if(!(t>=0))throw e=\\\"Illegal index \\\"+t+\\\", \\\"+this.oo()+\\\" expects only non-negative indices\\\",Yt(Xt(e));switch(t%2|0){case 0:n=this.at_1;break;case 1:n=this.bt_1;break;default:throw Te(\\\"Unreached\\\")}return n},Go.prototype.equals=function(t){return this===t||t instanceof Go&&this.oo()===t.oo()&&!!ne(this.at_1,t.at_1)&&!!ne(this.bt_1,t.bt_1)},Go.prototype.hashCode=function(){var t=re(this.oo());return t=ct(31,t)+Ee(this.at_1)|0,ct(31,t)+Ee(this.bt_1)|0},Go.prototype.toString=function(){return this.oo()+\\\"(\\\"+this.at_1+\\\", \\\"+this.bt_1+\\\")\\\"},Go.$metadata$=yt(\\\"MapLikeDescriptor\\\",[Bi]),Wo.prototype.nn=function(){return this.jt_1},Wo.prototype.kt=function(){return le()},Wo.prototype.lt=function(t){return t.h()},Wo.prototype.mt=function(t){return this.lt(t instanceof qt?t:St())},Wo.prototype.nt=function(t){return t},Wo.prototype.ot=function(t){return this.nt(t instanceof qt?t:St())},Wo.prototype.pt=function(t){var e=t instanceof qt?t:null;return null==e?Se(t):e},Wo.prototype.qt=function(t){return this.pt(null!=t&&Ot(t,Ht)?t:St())},Wo.prototype.rt=function(t,e){return t.wf(e)},Wo.prototype.st=function(t,e){return this.rt(t instanceof qt?t:St(),e)},Wo.prototype.tt=function(t,e,n){t.hf(e,n)},Wo.prototype.ut=function(t,e,n){var r=t instanceof qt?t:St();return this.tt(r,e,null==n||Jt(n)?n:St())},Wo.$metadata$=yt(\\\"ArrayListSerializer\\\",void 0,void 0,void 0,void 0,Qo.prototype),Xo.prototype.nn=function(){return this.fu_1},Xo.prototype.kt=function(){return ue()},Xo.prototype.gu=function(t){return t.h()},Xo.prototype.mt=function(t){return this.gu(t instanceof Ut?t:St())},Xo.prototype.hu=function(t){return t},Xo.prototype.ot=function(t){return this.hu(t instanceof Ut?t:St())},Xo.prototype.iu=function(t){var e=t instanceof Ut?t:null;return null==e?ke(t):e},Xo.prototype.qt=function(t){return this.iu(null!=t&&Ot(t,jt)?t:St())},Xo.prototype.ju=function(t,e){},Xo.prototype.st=function(t,e){return this.ju(t instanceof Ut?t:St(),e)},Xo.prototype.ku=function(t,e,n){t.a(n)},Xo.prototype.ut=function(t,e,n){var r=t instanceof Ut?t:St();return this.ku(r,e,null==n||Jt(n)?n:St())},Xo.$metadata$=yt(\\\"HashSetSerializer\\\",void 0,void 0,void 0,void 0,Qo.prototype),Yo.prototype.nn=function(){return this.mu_1},Yo.prototype.kt=function(){return Oe()},Yo.prototype.nu=function(t){return t.h()},Yo.prototype.mt=function(t){return this.nu(t instanceof Nt?t:St())},Yo.prototype.ou=function(t){return t},Yo.prototype.ot=function(t){return this.ou(t instanceof Nt?t:St())},Yo.prototype.iu=function(t){var e=t instanceof Nt?t:null;return null==e?Ie(t):e},Yo.prototype.qt=function(t){return this.iu(null!=t&&Ot(t,jt)?t:St())},Yo.prototype.pu=function(t,e){},Yo.prototype.st=function(t,e){return this.pu(t instanceof Nt?t:St(),e)},Yo.prototype.qu=function(t,e,n){t.a(n)},Yo.prototype.ut=function(t,e,n){var r=t instanceof Nt?t:St();return this.qu(r,e,null==n||Jt(n)?n:St())},Yo.$metadata$=yt(\\\"LinkedHashSetSerializer\\\",void 0,void 0,void 0,void 0,Qo.prototype),Zo.prototype.nn=function(){return this.tu_1},Zo.prototype.uu=function(t){return t.h()},Zo.prototype.vu=function(t){return this.uu(null!=t&&Ot(t,$t)?t:St())},Zo.prototype.wu=function(t){return t.y().e()},Zo.prototype.xu=function(t){return this.wu(null!=t&&Ot(t,$t)?t:St())},Zo.prototype.kt=function(){return Le()},Zo.prototype.yu=function(t){return ct(t.h(),2)},Zo.prototype.mt=function(t){return this.yu(t instanceof Bt?t:St())},Zo.prototype.zu=function(t){return t},Zo.prototype.ot=function(t){return this.zu(t instanceof Bt?t:St())},Zo.prototype.av=function(t){var e=t instanceof Bt?t:null;return null==e?Pe(t):e},Zo.prototype.qt=function(t){return this.av(null!=t&&Ot(t,$t)?t:St())},Zo.prototype.bv=function(t,e){},Zo.prototype.st=function(t,e){return this.bv(t instanceof Bt?t:St(),e)},Zo.$metadata$=yt(\\\"HashMapSerializer\\\",void 0,void 0,void 0,void 0,ta.prototype),Ko.prototype.nn=function(){return this.iv_1},Ko.prototype.uu=function(t){return t.h()},Ko.prototype.vu=function(t){return this.uu(null!=t&&Ot(t,$t)?t:St())},Ko.prototype.wu=function(t){return t.y().e()},Ko.prototype.xu=function(t){return this.wu(null!=t&&Ot(t,$t)?t:St())},Ko.prototype.kt=function(){return ze()},Ko.prototype.jv=function(t){return ct(t.h(),2)},Ko.prototype.mt=function(t){return this.jv(t instanceof Rt?t:St())},Ko.prototype.kv=function(t){return t},Ko.prototype.ot=function(t){return this.kv(t instanceof Rt?t:St())},Ko.prototype.av=function(t){var e=t instanceof Rt?t:null;return null==e?Re(t):e},Ko.prototype.qt=function(t){return this.av(null!=t&&Ot(t,$t)?t:St())},Ko.prototype.lv=function(t,e){},Ko.prototype.st=function(t,e){return this.lv(t instanceof Rt?t:St(),e)},Ko.$metadata$=yt(\\\"LinkedHashMapSerializer\\\",void 0,void 0,void 0,void 0,ta.prototype),Jo.prototype.nn=function(){return this.ov_1},Jo.prototype.pv=function(t){return t.length},Jo.prototype.vu=function(t){return this.pv(null!=t&&De(t)?t:St())},Jo.prototype.qv=function(t){return $e(t)},Jo.prototype.xu=function(t){return this.qv(null!=t&&De(t)?t:St())},Jo.prototype.kt=function(){return le()},Jo.prototype.rv=function(t){return t.h()},Jo.prototype.mt=function(t){return this.rv(t instanceof qt?t:St())},Jo.prototype.sv=function(t){return function(t,e){return Wt(t)}(t,this.nv_1)},Jo.prototype.ot=function(t){return this.sv(t instanceof qt?t:St())},Jo.prototype.tv=function(t){return Se(pt(t))},Jo.prototype.qt=function(t){return this.tv(null!=t&&De(t)?t:St())},Jo.prototype.uv=function(t,e){return t.wf(e)},Jo.prototype.st=function(t,e){return this.uv(t instanceof qt?t:St(),e)},Jo.prototype.vv=function(t,e,n){t.hf(e,n)},Jo.prototype.ut=function(t,e,n){var r=t instanceof qt?t:St();return this.vv(r,e,null==n||Jt(n)?n:St())},Jo.$metadata$=yt(\\\"ReferenceArraySerializer\\\",void 0,void 0,void 0,void 0,ea.prototype),Qo.prototype.wt=function(t){return t.h()},Qo.prototype.vu=function(t){return this.wt(null!=t&&Ot(t,Gt)?t:St())},Qo.prototype.xt=function(t){return t.e()},Qo.prototype.xu=function(t){return this.xt(null!=t&&Ot(t,Gt)?t:St())},Qo.$metadata$=yt(\\\"CollectionSerializer\\\",void 0,void 0,void 0,void 0,ea.prototype),ta.prototype.ev=function(){return this.cv_1},ta.prototype.fv=function(){return this.dv_1},ta.prototype.au=function(t,e,n,r){if(!(r>=0))throw Yt(Xt(\\\"Size must be known in advance when using READ_ALL\\\"));var i=Be(ge(0,ct(r,2)),2),o=i.e1_1,a=i.f1_1,s=i.g1_1;if(s>0&&o<=a||s<0&&a<=o)do{var l=o;o=o+s|0,this.bu(t,n+l|0,e,!1)}while(l!==a)},ta.prototype.bu=function(t,e,n,r){var i,o=this.nn(),a=t.yq(o,e,this.cv_1,null,8,null);if(r){var s=t.cr(this.nn());if(s!==(e+1|0))throw Yt(Xt(\\\"Value must follow key in a map, index for key: \\\"+e+\\\", returned index for value: \\\"+s));i=s}else i=e+1|0;var l,u=i;if(!!n.e3(a)&&!(this.dv_1.nn().so()instanceof vo))l=t.xq(this.nn(),u,this.dv_1,Ne(n,a));else{var c=this.nn();l=t.yq(c,u,this.dv_1,null,8,null)}var h=l;n.b(a,h)},ta.prototype.zt=function(t,e){for(var n=this.vu(e),r=this.nn(),i=t.hs(r,n),o=0,a=this.xu(e);a.f();){var s=a.g(),l=s.u2(),u=s.w2(),c=this.nn(),h=o;o=h+1|0,i.cs(c,h,this.cv_1,l);var p=this.nn(),f=o;o=f+1|0,i.cs(p,f,this.dv_1,u)}i.mq(r)},ta.prototype.on=function(t,e){return this.zt(t,null==e||Jt(e)?e:St())},ta.$metadata$=yt(\\\"MapLikeSerializer\\\",void 0,void 0,void 0,void 0,na.prototype),ea.prototype.zt=function(t,e){var n=this.vu(e),r=this.nn(),i=t.hs(r,n),o=this.xu(e),a=0;if(a<n)do{var s=a;a=a+1|0,i.cs(this.nn(),s,this.yt_1,o.g())}while(a<n);i.mq(r)},ea.prototype.on=function(t,e){return this.zt(t,null==e||Jt(e)?e:St())},ea.prototype.au=function(t,e,n,r){if(!(r>=0))throw Yt(Xt(\\\"Size must be known in advance when using READ_ALL\\\"));var i=0;if(i<r)do{var o=i;i=i+1|0,this.bu(t,n+o|0,e,!1)}while(i<r)},ea.prototype.bu=function(t,e,n,r){var i=this.nn();this.ut(n,e,t.yq(i,e,this.yt_1,null,8,null))},ea.$metadata$=yt(\\\"CollectionLikeSerializer\\\",void 0,void 0,void 0,void 0,na.prototype),na.prototype.du=function(t,e){var n=e,r=null==n?null:this.qt(n),i=null==r?this.kt():r,o=this.mt(i),a=t.lq(this.nn());if(a.br())this.au(a,i,o,function(t,e,n){var r=e.dr(t.nn());return t.st(n,r),r}(this,a,i));else t:for(;;){var s=a.cr(this.nn());if(Oo(),-1===s)break t;var l=o+s|0;this.cu(a,l,i,!1,8,null)}return a.mq(this.nn()),this.ot(i)},na.prototype.pn=function(t){return this.du(t,null)},na.prototype.cu=function(t,e,n,r,i,o){var a;return 0!=(8&i)&&(r=!0),null==o?(this.bu(t,e,n,r),a=dt()):a=o(t,e,n,r),a},na.$metadata$=yt(\\\"AbstractCollectionSerializer\\\",[Zr]),ra.prototype.nn=function(){return this.xv_1},ra.prototype.mt=function(t){return t.yv()},ra.prototype.ot=function(t){return t.v3()},ra.prototype.st=function(t,e){return t.wf(e)},ra.prototype.zv=function(t){throw Te(\\\"This method lead to boxing and must not be used, use writeContents instead\\\")},ra.prototype.xu=function(t){return this.zv(null==t||Jt(t)?t:St())},ra.prototype.ut=function(t,e,n){throw Te(\\\"This method lead to boxing and must not be used, use Builder.append instead\\\")},ra.prototype.kt=function(){return this.qt(this.aw())},ra.prototype.cw=function(t,e){var n=this.vu(e),r=this.xv_1,i=t.hs(r,n);this.bw(i,e,n),i.mq(r)},ra.prototype.on=function(t,e){return this.cw(t,null==e||Jt(e)?e:St())},ra.prototype.zt=function(t,e){return this.cw(t,null==e||Jt(e)?e:St())},ra.prototype.pn=function(t){return this.du(t,null)},ra.$metadata$=yt(\\\"PrimitiveArraySerializer\\\",void 0,void 0,void 0,void 0,ea.prototype),ia.prototype.dw=function(t,e,n){var r;return 0!=(1&e)&&(t=this.yv()+1|0),null==n?(this.wf(t),r=dt()):r=n(t),r},ia.$metadata$=yt(\\\"PrimitiveArrayBuilder\\\"),oa.$metadata$=_e(\\\"Companion\\\"),sa.prototype.jw=function(t){je(),t<64?this.hw_1=this.hw_1.wl(new be(1,0).wa(t)):function(t,e){var n=(e>>>6|0)-1|0;je();var r=63&e;t.iw_1[n]=t.iw_1[n].wl(new be(1,0).wa(r))}(this,t)},sa.prototype.kw=function(){for(var t=this.fw_1.qo();!this.hw_1.equals(new be(-1,-1));){var e=qe(this.hw_1.vl());if(this.hw_1=this.hw_1.wl(new be(1,0).wa(e)),this.gw_1(this.fw_1,e))return e}return je(),t>64?function(t){var e=0,n=t.iw_1.length-1|0;if(e<=n)do{var r=e;e=e+1|0;var i=r+1|0;je();for(var o=ct(i,64),a=t.iw_1[r];!a.equals(new be(-1,-1));){var s=qe(a.vl());a=a.wl(new be(1,0).wa(s));var l=o+s|0;if(t.gw_1(t.fw_1,l))return t.iw_1[r]=a,l}t.iw_1[r]=a}while(e<=n);return Oo(),-1}(this):(Oo(),-1)},sa.$metadata$=yt(\\\"ElementMarker\\\"),ua.prototype.so=function(){return this.xw_1},ua.prototype.uo=function(t){return Ks(la(this),t)},ua.prototype.equals=function(t){return this===t||null!=t&&!(null==t||!Ot(t,Bi))&&t.so()===Ji()&&this.oo()===t.oo()&&!!ne(ba(this),ba(t))},ua.prototype.toString=function(){var t=Ni(this),e=this.oo()+\\\"(\\\";return ye(t,\\\", \\\",e,\\\")\\\",0,null,null,56,null)},ua.prototype.hashCode=function(){for(var t=re(this.oo()),e=1,n=Ni(this).e();n.f();){var r,i=n.g(),o=ct(31,e),a=null==(r=i)?null:Ee(r);e=o+(null==a?0:a)|0}var s=e;return ct(31,t)+s|0},ua.$metadata$=yt(\\\"EnumDescriptor\\\",void 0,void 0,void 0,void 0,Ea.prototype),ca.prototype.nn=function(){return xt(\\\"descriptor\\\",1,bt,(function(t){return t.nn()}),null),this.qx_1.w2()},ca.prototype.on=function(t,e){var n=He(this.ox_1,e);if(-1===n)throw ai(e+\\\" is not a valid enum \\\"+this.nn().oo()+\\\", must be one of \\\"+Ge(this.ox_1));t.qr(this.nn(),n)},ca.prototype.pn=function(t){var e=t.hq(this.nn());if(!(0<=e&&e<=(this.ox_1.length-1|0)))throw ai(e+\\\" is not among valid \\\"+this.nn().oo()+\\\" enum values, values size is \\\"+this.ox_1.length);return this.ox_1[e]},ca.prototype.toString=function(){return\\\"kotlinx.serialization.internal.EnumSerializer<\\\"+this.nn().oo()+\\\">\\\"},ca.$metadata$=yt(\\\"EnumSerializer\\\",[Zr]),pa.prototype.ro=function(){return this.dy_1},pa.prototype.hashCode=function(){return ct(Ea.prototype.hashCode.call(this),31)},pa.prototype.equals=function(t){var e;t:if(this!==t)if(t instanceof pa)if(this.oo()===t.oo()){var n=t;if(n.dy_1&&ve(this.lx(),n.lx()))if(this.qo()===t.qo()){var r=0,i=this.qo();if(r<i)do{var o=r;if(r=r+1|0,this.uo(o).oo()!==t.uo(o).oo()){e=!1;break t}if(!ne(this.uo(o).so(),t.uo(o).so())){e=!1;break t}}while(r<i);e=!0}else e=!1;else e=!1}else e=!1;else e=!1;else e=!0;return e},pa.$metadata$=yt(\\\"InlineClassDescriptor\\\",void 0,void 0,void 0,void 0,Ea.prototype),fa.prototype.fy=function(){return[this.ey_1]},fa.prototype.nn=function(){throw Te(\\\"unsupported\\\")},fa.prototype.on=function(t,e){throw Te(\\\"unsupported\\\")},fa.prototype.pn=function(t){throw Te(\\\"unsupported\\\")},fa.$metadata$=yt(void 0,[Oa]),da.prototype.ar=function(){return this.hy_1},da.prototype.fr=function(t){return dt()},da.prototype.gr=function(){return dt()},da.prototype.hr=function(t){return dt()},da.prototype.ir=function(t){return dt()},da.prototype.jr=function(t){return dt()},da.prototype.kr=function(t){return dt()},da.prototype.lr=function(t){return dt()},da.prototype.mr=function(t){return dt()},da.prototype.nr=function(t){return dt()},da.prototype.or=function(t){return dt()},da.prototype.pr=function(t){return dt()},da.prototype.qr=function(t,e){return dt()},da.$metadata$=_e(\\\"NoOpEncoder\\\",void 0,void 0,void 0,void 0,To.prototype),ma.prototype.nn=function(){return this.jy_1},ma.prototype.ky=function(t,e){null!=e?(t.gs(),t.ds(this.iy_1,e)):t.gr()},ma.prototype.on=function(t,e){return this.ky(t,null==e||Jt(e)?e:St())},ma.prototype.pn=function(t){return t.wp()?t.kq(this.iy_1):t.xp()},ma.prototype.equals=function(t){return this===t||!(null==t||!_t(this).equals(_t(t)))&&(t instanceof ma||St(),!!ne(this.iy_1,t.iy_1))},ma.prototype.hashCode=function(){return Ee(this.iy_1)},ma.$metadata$=yt(\\\"NullableSerializer\\\",[Zr]),va.prototype.po=function(){return this.yo_1.po()},va.prototype.qo=function(){return this.yo_1.qo()},va.prototype.ro=function(){return this.yo_1.ro()},va.prototype.so=function(){return this.yo_1.so()},va.prototype.to=function(t){return this.yo_1.to(t)},va.prototype.uo=function(t){return this.yo_1.uo(t)},va.prototype.vo=function(t){return this.yo_1.vo(t)},va.prototype.wo=function(t){return this.yo_1.wo(t)},va.prototype.xo=function(t){return this.yo_1.xo(t)},va.prototype.oo=function(){return this.zo_1},va.prototype.up=function(){return this.ap_1},va.prototype.ko=function(){return!0},va.prototype.equals=function(t){return this===t||t instanceof va&&!!ne(this.yo_1,t.yo_1)},va.prototype.toString=function(){return this.yo_1+\\\"?\\\"},va.prototype.hashCode=function(){return ct(Ee(this.yo_1),31)},va.$metadata$=yt(\\\"SerialDescriptorForNullable\\\",[Bi,$o]),ga.prototype.nn=function(){return xt(\\\"descriptor\\\",1,bt,(function(t){return t.nn()}),null),this.ny_1.w2()},ga.prototype.on=function(t,e){t.lq(this.nn()).mq(this.nn())},ga.prototype.pn=function(t){var e=this.nn(),n=t.lq(e),r=n.cr(this.nn());if(Oo(),-1!==r)throw ai(\\\"Unexpected index \\\"+r);dt();return n.mq(e),this.ly_1},ga.$metadata$=yt(\\\"ObjectSerializer\\\",[Zr]),ya.$metadata$=ht(\\\"SerializerCache\\\"),_a.$metadata$=ht(\\\"ParametrizedSerializerCache\\\"),Ea.prototype.oo=function(){return this.zw_1},Ea.prototype.qo=function(){return this.bx_1},Ea.prototype.so=function(){return yo()},Ea.prototype.po=function(){var t=this.fx_1;return null==t?mt():t},Ea.prototype.up=function(){return this.hx_1.k3()},Ea.prototype.lx=function(){return xt(\\\"typeParameterDescriptors\\\",1,bt,(function(t){return t.lx()}),null),this.jx_1.w2()},Ea.prototype.mx=function(t,e){var n=this;n.cx_1=n.cx_1+1|0,this.dx_1[n.cx_1]=t,this.gx_1[this.cx_1]=e,this.ex_1[this.cx_1]=null,this.cx_1===(this.bx_1-1|0)&&(this.hx_1=function(t){var e=Le(),n=0,r=t.dx_1.length-1|0;if(n<=r)do{var i=n;n=n+1|0;var o=t.dx_1[i];e.b(o,i)}while(n<=r);return e}(this))},Ea.prototype.nx=function(t,e,n,r){return 0!=(2&n)&&(e=!1),this.mx(t,e)},Ea.prototype.uo=function(t){return Ks(Ca(this),t).nn()},Ea.prototype.xo=function(t){return Js(this.gx_1,t)},Ea.prototype.to=function(t){var e=Ks(this.ex_1,t);return null==e?mt():e},Ea.prototype.wo=function(t){return Ks(this.dx_1,t)},Ea.prototype.vo=function(t){var e,n=this.hx_1.s(t);return null==n?(Oo(),e=-3):e=n,e},Ea.prototype.equals=function(t){var e;t:if(this!==t)if(t instanceof Ea)if(this.oo()===t.oo()){var n=t;if(ve(this.lx(),n.lx()))if(this.qo()===t.qo()){var r=0,i=this.qo();if(r<i)do{var o=r;if(r=r+1|0,this.uo(o).oo()!==t.uo(o).oo()){e=!1;break t}if(!ne(this.uo(o).so(),t.uo(o).so())){e=!1;break t}}while(r<i);e=!0}else e=!1;else e=!1}else e=!1;else e=!1;else e=!0;return e},Ea.prototype.hashCode=function(){return Ma(this)},Ea.prototype.toString=function(){var t,e=ge(0,this.bx_1),n=this.oo()+\\\"(\\\";return ye(e,\\\", \\\",n,\\\")\\\",0,null,(t=this,function(e){return t.wo(e)+\\\": \\\"+t.uo(e).oo()}),24,null)},Ea.$metadata$=yt(\\\"PluginGeneratedSerialDescriptor\\\",[Bi,$o]),ka.$metadata$=ht(\\\"SerializerFactory\\\"),Oa.$metadata$=ht(\\\"GeneratedSerializer\\\",[Zr]),Ia.prototype.ry=function(t){return t.length},Ia.prototype.vu=function(t){return this.ry(null!=t&&Qe(t)?t:St())},Ia.prototype.sy=function(t){return new qa(t)},Ia.prototype.qt=function(t){return this.sy(null!=t&&Qe(t)?t:St())},Ia.prototype.aw=function(){return tn(0)},Ia.prototype.ty=function(t,e,n,r){n.wy(t.uq(this.xv_1,e))},Ia.prototype.bu=function(t,e,n,r){return this.ty(t,e,n instanceof qa?n:St(),r)},Ia.prototype.xy=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0,t.zr(this.xv_1,i,e[i])}while(r<n)},Ia.prototype.bw=function(t,e,n){return this.xy(t,null!=e&&Qe(e)?e:St(),n)},Ia.$metadata$=_e(\\\"CharArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),La.prototype.az=function(t){return t.length},La.prototype.vu=function(t){return this.az(null!=t&&nn(t)?t:St())},La.prototype.bz=function(t){return new Va(t)},La.prototype.qt=function(t){return this.bz(null!=t&&nn(t)?t:St())},La.prototype.aw=function(){return new Float64Array(0)},La.prototype.cz=function(t,e,n,r){n.fz(t.tq(this.xv_1,e))},La.prototype.bu=function(t,e,n,r){return this.cz(t,e,n instanceof Va?n:St(),r)},La.prototype.gz=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0,t.yr(this.xv_1,i,e[i])}while(r<n)},La.prototype.bw=function(t,e,n){return this.gz(t,null!=e&&nn(e)?e:St(),n)},La.$metadata$=_e(\\\"DoubleArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),Pa.prototype.jz=function(t){return t.length},Pa.prototype.vu=function(t){return this.jz(null!=t&&on(t)?t:St())},Pa.prototype.kz=function(t){return new Ha(t)},Pa.prototype.qt=function(t){return this.kz(null!=t&&on(t)?t:St())},Pa.prototype.aw=function(){return new Float32Array(0)},Pa.prototype.lz=function(t,e,n,r){n.oz(t.sq(this.xv_1,e))},Pa.prototype.bu=function(t,e,n,r){return this.lz(t,e,n instanceof Ha?n:St(),r)},Pa.prototype.pz=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0,t.xr(this.xv_1,i,e[i])}while(r<n)},Pa.prototype.bw=function(t,e,n){return this.pz(t,null!=e&&on(e)?e:St(),n)},Pa.$metadata$=_e(\\\"FloatArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),za.prototype.sz=function(t){return t.length},za.prototype.vu=function(t){return this.sz(null!=t&&an(t)?t:St())},za.prototype.tz=function(t){return new Ga(t)},za.prototype.qt=function(t){return this.tz(null!=t&&an(t)?t:St())},za.prototype.aw=function(){return Fe(0)},za.prototype.uz=function(t,e,n,r){n.xz(t.rq(this.xv_1,e))},za.prototype.bu=function(t,e,n,r){return this.uz(t,e,n instanceof Ga?n:St(),r)},za.prototype.yz=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0,t.wr(this.xv_1,i,e[i])}while(r<n)},za.prototype.bw=function(t,e,n){return this.yz(t,null!=e&&an(e)?e:St(),n)},za.$metadata$=_e(\\\"LongArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),Ra.prototype.b10=function(t){return ln(t)},Ra.prototype.vu=function(t){return this.b10(t instanceof un?t.yc_1:St())},Ra.prototype.c10=function(t){return new Wa(t)},Ra.prototype.qt=function(t){return this.c10(t instanceof un?t.yc_1:St())},Ra.prototype.d10=function(){return cn(0)},Ra.prototype.aw=function(){return new un(this.d10())},Ra.prototype.e10=function(t,e,n,r){var i,o=t.wq(this.xv_1,e).cq();i=hn(o),n.h10(i)},Ra.prototype.bu=function(t,e,n,r){return this.e10(t,e,n instanceof Wa?n:St(),r)},Ra.prototype.i10=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0;var o,a=t.bs(this.xv_1,i),s=pn(e,i);o=fn(s),a.lr(o)}while(r<n)},Ra.prototype.bw=function(t,e,n){return this.i10(t,e instanceof un?e.yc_1:St(),n)},Ra.$metadata$=_e(\\\"ULongArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),Da.prototype.l10=function(t){return t.length},Da.prototype.vu=function(t){return this.l10(null!=t&&mn(t)?t:St())},Da.prototype.m10=function(t){return new Xa(t)},Da.prototype.qt=function(t){return this.m10(null!=t&&mn(t)?t:St())},Da.prototype.aw=function(){return new Int32Array(0)},Da.prototype.n10=function(t,e,n,r){n.q10(t.qq(this.xv_1,e))},Da.prototype.bu=function(t,e,n,r){return this.n10(t,e,n instanceof Xa?n:St(),r)},Da.prototype.r10=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0,t.vr(this.xv_1,i,e[i])}while(r<n)},Da.prototype.bw=function(t,e,n){return this.r10(t,null!=e&&mn(e)?e:St(),n)},Da.$metadata$=_e(\\\"IntArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),$a.prototype.u10=function(t){return gn(t)},$a.prototype.vu=function(t){return this.u10(t instanceof yn?t.nc_1:St())},$a.prototype.v10=function(t){return new Ya(t)},$a.prototype.qt=function(t){return this.v10(t instanceof yn?t.nc_1:St())},$a.prototype.w10=function(){return _n(0)},$a.prototype.aw=function(){return new yn(this.w10())},$a.prototype.x10=function(t,e,n,r){var i,o=t.wq(this.xv_1,e).bq();i=bn(o),n.a11(i)},$a.prototype.bu=function(t,e,n,r){return this.x10(t,e,n instanceof Ya?n:St(),r)},$a.prototype.b11=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0;var o,a=t.bs(this.xv_1,i),s=xn(e,i);o=wn(s),a.kr(o)}while(r<n)},$a.prototype.bw=function(t,e,n){return this.b11(t,e instanceof yn?e.nc_1:St(),n)},$a.$metadata$=_e(\\\"UIntArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),Ba.prototype.e11=function(t){return t.length},Ba.prototype.vu=function(t){return this.e11(null!=t&&Cn(t)?t:St())},Ba.prototype.f11=function(t){return new Za(t)},Ba.prototype.qt=function(t){return this.f11(null!=t&&Cn(t)?t:St())},Ba.prototype.aw=function(){return new Int16Array(0)},Ba.prototype.g11=function(t,e,n,r){n.j11(t.pq(this.xv_1,e))},Ba.prototype.bu=function(t,e,n,r){return this.g11(t,e,n instanceof Za?n:St(),r)},Ba.prototype.k11=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0,t.ur(this.xv_1,i,e[i])}while(r<n)},Ba.prototype.bw=function(t,e,n){return this.k11(t,null!=e&&Cn(e)?e:St(),n)},Ba.$metadata$=_e(\\\"ShortArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),Na.prototype.n11=function(t){return En(t)},Na.prototype.vu=function(t){return this.n11(t instanceof Tn?t.jd_1:St())},Na.prototype.o11=function(t){return new Ka(t)},Na.prototype.qt=function(t){return this.o11(t instanceof Tn?t.jd_1:St())},Na.prototype.p11=function(){return Sn(0)},Na.prototype.aw=function(){return new Tn(this.p11())},Na.prototype.q11=function(t,e,n,r){var i,o=t.wq(this.xv_1,e).aq();i=kn(o),n.t11(i)},Na.prototype.bu=function(t,e,n,r){return this.q11(t,e,n instanceof Ka?n:St(),r)},Na.prototype.u11=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0;var o,a=t.bs(this.xv_1,i),s=On(e,i);o=In(s),a.jr(o)}while(r<n)},Na.prototype.bw=function(t,e,n){return this.u11(t,e instanceof Tn?e.jd_1:St(),n)},Na.$metadata$=_e(\\\"UShortArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),Fa.prototype.x11=function(t){return t.length},Fa.prototype.vu=function(t){return this.x11(null!=t&&Pn(t)?t:St())},Fa.prototype.y11=function(t){return new Ja(t)},Fa.prototype.qt=function(t){return this.y11(null!=t&&Pn(t)?t:St())},Fa.prototype.aw=function(){return new Int8Array(0)},Fa.prototype.z11=function(t,e,n,r){n.c12(t.oq(this.xv_1,e))},Fa.prototype.bu=function(t,e,n,r){return this.z11(t,e,n instanceof Ja?n:St(),r)},Fa.prototype.d12=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0,t.tr(this.xv_1,i,e[i])}while(r<n)},Fa.prototype.bw=function(t,e,n){return this.d12(t,null!=e&&Pn(e)?e:St(),n)},Fa.$metadata$=_e(\\\"ByteArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),ja.prototype.g12=function(t){return Rn(t)},ja.prototype.vu=function(t){return this.g12(t instanceof Dn?t.bc_1:St())},ja.prototype.h12=function(t){return new Qa(t)},ja.prototype.qt=function(t){return this.h12(t instanceof Dn?t.bc_1:St())},ja.prototype.i12=function(){return $n(0)},ja.prototype.aw=function(){return new Dn(this.i12())},ja.prototype.j12=function(t,e,n,r){var i,o=t.wq(this.xv_1,e).zp();i=Bn(o),n.m12(i)},ja.prototype.bu=function(t,e,n,r){return this.j12(t,e,n instanceof Qa?n:St(),r)},ja.prototype.n12=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0;var o,a=t.bs(this.xv_1,i),s=Nn(e,i);o=Fn(s),a.ir(o)}while(r<n)},ja.prototype.bw=function(t,e,n){return this.n12(t,e instanceof Dn?e.bc_1:St(),n)},ja.$metadata$=_e(\\\"UByteArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),Ua.prototype.q12=function(t){return t.length},Ua.prototype.vu=function(t){return this.q12(null!=t&&Un(t)?t:St())},Ua.prototype.r12=function(t){return new ts(t)},Ua.prototype.qt=function(t){return this.r12(null!=t&&Un(t)?t:St())},Ua.prototype.aw=function(){return Ye(0)},Ua.prototype.s12=function(t,e,n,r){n.v12(t.nq(this.xv_1,e))},Ua.prototype.bu=function(t,e,n,r){return this.s12(t,e,n instanceof ts?n:St(),r)},Ua.prototype.w12=function(t,e,n){var r=0;if(r<n)do{var i=r;r=r+1|0,t.sr(this.xv_1,i,e[i])}while(r<n)},Ua.prototype.bw=function(t,e,n){return this.w12(t,null!=e&&Un(e)?e:St(),n)},Ua.$metadata$=_e(\\\"BooleanArraySerializer\\\",[Zr],void 0,void 0,void 0,ra.prototype),qa.prototype.yv=function(){return this.vy_1},qa.prototype.wf=function(t){this.uy_1.length<t&&(this.uy_1=Vn(this.uy_1,qn(t,ct(this.uy_1.length,2))))},qa.prototype.wy=function(t){this.dw(0,1,null);var e=this.uy_1,n=this.vy_1;this.vy_1=n+1|0,e[n]=t},qa.prototype.v3=function(){return Vn(this.uy_1,this.vy_1)},qa.$metadata$=yt(\\\"CharArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Va.prototype.yv=function(){return this.ez_1},Va.prototype.wf=function(t){this.dz_1.length<t&&(this.dz_1=Hn(this.dz_1,qn(t,ct(this.dz_1.length,2))))},Va.prototype.fz=function(t){this.dw(0,1,null);var e=this.dz_1,n=this.ez_1;this.ez_1=n+1|0,e[n]=t},Va.prototype.v3=function(){return Hn(this.dz_1,this.ez_1)},Va.$metadata$=yt(\\\"DoubleArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Ha.prototype.yv=function(){return this.nz_1},Ha.prototype.wf=function(t){this.mz_1.length<t&&(this.mz_1=Gn(this.mz_1,qn(t,ct(this.mz_1.length,2))))},Ha.prototype.oz=function(t){this.dw(0,1,null);var e=this.mz_1,n=this.nz_1;this.nz_1=n+1|0,e[n]=t},Ha.prototype.v3=function(){return Gn(this.mz_1,this.nz_1)},Ha.$metadata$=yt(\\\"FloatArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Ga.prototype.yv=function(){return this.wz_1},Ga.prototype.wf=function(t){this.vz_1.length<t&&(this.vz_1=Wn(this.vz_1,qn(t,ct(this.vz_1.length,2))))},Ga.prototype.xz=function(t){this.dw(0,1,null);var e=this.vz_1,n=this.wz_1;this.wz_1=n+1|0,e[n]=t},Ga.prototype.v3=function(){return Wn(this.vz_1,this.wz_1)},Ga.$metadata$=yt(\\\"LongArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Wa.prototype.yv=function(){return this.g10_1},Wa.prototype.wf=function(t){if(ln(this.f10_1)<t){var e,n=this.f10_1,r=qn(t,ct(ln(this.f10_1),2));e=Yn(Wn(Xn(n),r)),this.f10_1=e}},Wa.prototype.h10=function(t){this.dw(0,1,null);var e=this.f10_1,n=this.g10_1;this.g10_1=n+1|0,Zn(e,n,t)},Wa.prototype.x12=function(){var t=this.f10_1,e=this.g10_1;return Yn(Wn(Xn(t),e))},Wa.prototype.v3=function(){return new un(this.x12())},Wa.$metadata$=yt(\\\"ULongArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Xa.prototype.yv=function(){return this.p10_1},Xa.prototype.wf=function(t){this.o10_1.length<t&&(this.o10_1=Kn(this.o10_1,qn(t,ct(this.o10_1.length,2))))},Xa.prototype.q10=function(t){this.dw(0,1,null);var e=this.o10_1,n=this.p10_1;this.p10_1=n+1|0,e[n]=t},Xa.prototype.v3=function(){return Kn(this.o10_1,this.p10_1)},Xa.$metadata$=yt(\\\"IntArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Ya.prototype.yv=function(){return this.z10_1},Ya.prototype.wf=function(t){if(gn(this.y10_1)<t){var e,n=this.y10_1,r=qn(t,ct(gn(this.y10_1),2));e=Qn(Kn(Jn(n),r)),this.y10_1=e}},Ya.prototype.a11=function(t){this.dw(0,1,null);var e=this.y10_1,n=this.z10_1;this.z10_1=n+1|0,tr(e,n,t)},Ya.prototype.y12=function(){var t=this.y10_1,e=this.z10_1;return Qn(Kn(Jn(t),e))},Ya.prototype.v3=function(){return new yn(this.y12())},Ya.$metadata$=yt(\\\"UIntArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Za.prototype.yv=function(){return this.i11_1},Za.prototype.wf=function(t){this.h11_1.length<t&&(this.h11_1=er(this.h11_1,qn(t,ct(this.h11_1.length,2))))},Za.prototype.j11=function(t){this.dw(0,1,null);var e=this.h11_1,n=this.i11_1;this.i11_1=n+1|0,e[n]=t},Za.prototype.v3=function(){return er(this.h11_1,this.i11_1)},Za.$metadata$=yt(\\\"ShortArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Ka.prototype.yv=function(){return this.s11_1},Ka.prototype.wf=function(t){if(En(this.r11_1)<t){var e,n=this.r11_1,r=qn(t,ct(En(this.r11_1),2));e=rr(er(nr(n),r)),this.r11_1=e}},Ka.prototype.t11=function(t){this.dw(0,1,null);var e=this.r11_1,n=this.s11_1;this.s11_1=n+1|0,ir(e,n,t)},Ka.prototype.z12=function(){var t=this.r11_1,e=this.s11_1;return rr(er(nr(t),e))},Ka.prototype.v3=function(){return new Tn(this.z12())},Ka.$metadata$=yt(\\\"UShortArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Ja.prototype.yv=function(){return this.b12_1},Ja.prototype.wf=function(t){this.a12_1.length<t&&(this.a12_1=or(this.a12_1,qn(t,ct(this.a12_1.length,2))))},Ja.prototype.c12=function(t){this.dw(0,1,null);var e=this.a12_1,n=this.b12_1;this.b12_1=n+1|0,e[n]=t},Ja.prototype.v3=function(){return or(this.a12_1,this.b12_1)},Ja.$metadata$=yt(\\\"ByteArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),Qa.prototype.yv=function(){return this.l12_1},Qa.prototype.wf=function(t){if(Rn(this.k12_1)<t){var e,n=this.k12_1,r=qn(t,ct(Rn(this.k12_1),2));e=sr(or(ar(n),r)),this.k12_1=e}},Qa.prototype.m12=function(t){this.dw(0,1,null);var e=this.k12_1,n=this.l12_1;this.l12_1=n+1|0,lr(e,n,t)},Qa.prototype.a13=function(){var t=this.k12_1,e=this.l12_1;return sr(or(ar(t),e))},Qa.prototype.v3=function(){return new Dn(this.a13())},Qa.$metadata$=yt(\\\"UByteArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),ts.prototype.yv=function(){return this.u12_1},ts.prototype.wf=function(t){this.t12_1.length<t&&(this.t12_1=ur(this.t12_1,qn(t,ct(this.t12_1.length,2))))},ts.prototype.v12=function(t){this.dw(0,1,null);var e=this.t12_1,n=this.u12_1;this.u12_1=n+1|0,e[n]=t},ts.prototype.v3=function(){return ur(this.t12_1,this.u12_1)},ts.$metadata$=yt(\\\"BooleanArrayBuilder\\\",void 0,void 0,void 0,void 0,ia.prototype),ns.prototype.nn=function(){return this.b13_1},ns.prototype.c13=function(t,e){return t.pr(e)},ns.prototype.on=function(t,e){return this.c13(t,null!=e&&\\\"string\\\"==typeof e?e:St())},ns.prototype.pn=function(t){return t.gq()},ns.$metadata$=_e(\\\"StringSerializer\\\",[Zr]),is.prototype.nn=function(){return this.d13_1},is.prototype.e13=function(t,e){return t.or(e)},is.prototype.on=function(t,e){return this.e13(t,e instanceof xe?e.q1_1:St())},is.prototype.f13=function(t){return t.fq()},is.prototype.pn=function(t){return new xe(this.f13(t))},is.$metadata$=_e(\\\"CharSerializer\\\",[Zr]),os.prototype.nn=function(){return this.g13_1},os.prototype.h13=function(t,e){return t.nr(e)},os.prototype.on=function(t,e){return this.h13(t,null!=e&&\\\"number\\\"==typeof e?e:St())},os.prototype.pn=function(t){return t.eq()},os.$metadata$=_e(\\\"DoubleSerializer\\\",[Zr]),ss.prototype.nn=function(){return this.i13_1},ss.prototype.j13=function(t,e){return t.mr(e)},ss.prototype.on=function(t,e){return this.j13(t,null!=e&&\\\"number\\\"==typeof e?e:St())},ss.prototype.pn=function(t){return t.dq()},ss.$metadata$=_e(\\\"FloatSerializer\\\",[Zr]),us.prototype.nn=function(){return this.k13_1},us.prototype.l13=function(t,e){return t.lr(e)},us.prototype.on=function(t,e){return this.l13(t,e instanceof be?e:St())},us.prototype.pn=function(t){return t.cq()},us.$metadata$=_e(\\\"LongSerializer\\\",[Zr]),cs.prototype.nn=function(){return this.m13_1},cs.prototype.n13=function(t,e){return t.kr(e)},cs.prototype.on=function(t,e){return this.n13(t,null!=e&&\\\"number\\\"==typeof e?e:St())},cs.prototype.pn=function(t){return t.bq()},cs.$metadata$=_e(\\\"IntSerializer\\\",[Zr]),hs.prototype.nn=function(){return this.o13_1},hs.prototype.p13=function(t,e){return t.jr(e)},hs.prototype.on=function(t,e){return this.p13(t,null!=e&&\\\"number\\\"==typeof e?e:St())},hs.prototype.pn=function(t){return t.aq()},hs.$metadata$=_e(\\\"ShortSerializer\\\",[Zr]),ps.prototype.nn=function(){return this.q13_1},ps.prototype.r13=function(t,e){return t.ir(e)},ps.prototype.on=function(t,e){return this.r13(t,null!=e&&\\\"number\\\"==typeof e?e:St())},ps.prototype.pn=function(t){return t.zp()},ps.$metadata$=_e(\\\"ByteSerializer\\\",[Zr]),fs.prototype.nn=function(){return this.s13_1},fs.prototype.t13=function(t,e){return t.hr(e)},fs.prototype.on=function(t,e){return this.t13(t,null!=e&&\\\"boolean\\\"==typeof e?e:St())},fs.prototype.pn=function(t){return t.yp()},fs.$metadata$=_e(\\\"BooleanSerializer\\\",[Zr]),ms.prototype.nn=function(){return this.u13_1.nn()},ms.prototype.v13=function(t){this.u13_1.pn(t)},ms.prototype.pn=function(t){return this.v13(t),dt()},ms.prototype.w13=function(t,e){this.u13_1.on(t,dt())},ms.prototype.on=function(t,e){return this.w13(t,e instanceof cr?e:St())},ms.$metadata$=_e(\\\"UnitSerializer\\\",[Zr]),gs.prototype.oo=function(){return this.x13_1},gs.prototype.so=function(){return this.y13_1},gs.prototype.qo=function(){return 0},gs.prototype.wo=function(t){vs()},gs.prototype.vo=function(t){vs()},gs.prototype.xo=function(t){vs()},gs.prototype.uo=function(t){vs()},gs.prototype.to=function(t){vs()},gs.prototype.toString=function(){return\\\"PrimitiveDescriptor(\\\"+this.x13_1+\\\")\\\"},gs.$metadata$=yt(\\\"PrimitiveSerialDescriptor\\\",[Bi]),bs.prototype.a14=function(t,e){return this.c14(this.b14(t,e))},bs.prototype.c14=function(t){var e=this.e14();return this.f14(null==e?\\\"\\\":e,t)},bs.prototype.b14=function(t,e){return t.wo(e)},bs.prototype.f14=function(t,e){return 0===fr(t)?e:t+\\\".\\\"+e},bs.$metadata$=yt(\\\"NamedValueEncoder\\\",void 0,void 0,void 0,void 0,As.prototype),xs.prototype.a14=function(t,e){return this.c14(this.b14(t,e))},xs.prototype.c14=function(t){var e=this.e14();return this.f14(null==e?\\\"\\\":e,t)},xs.prototype.b14=function(t,e){return t.wo(e)},xs.prototype.f14=function(t,e){return 0===fr(t)?e:t+\\\".\\\"+e},xs.$metadata$=yt(\\\"NamedValueDecoder\\\",void 0,void 0,void 0,void 0,Ms.prototype),As.prototype.ar=function(){return Us()},As.prototype.g14=function(t,e){throw ai(\\\"Non-serializable \\\"+_t(e)+\\\" is not supported by \\\"+_t(this)+\\\" encoder\\\")},As.prototype.h14=function(t){},As.prototype.i14=function(t){throw ai(\\\"null is not supported\\\")},As.prototype.j14=function(t,e){return this.g14(t,e)},As.prototype.k14=function(t,e){return this.g14(t,e)},As.prototype.l14=function(t,e){return this.g14(t,e)},As.prototype.m14=function(t,e){return this.g14(t,e)},As.prototype.n14=function(t,e){return this.g14(t,e)},As.prototype.o14=function(t,e){return this.g14(t,e)},As.prototype.p14=function(t,e){return this.g14(t,e)},As.prototype.q14=function(t,e){return this.g14(t,new xe(e))},As.prototype.r14=function(t,e){return this.g14(t,e)},As.prototype.s14=function(t,e,n){return this.g14(t,n)},As.prototype.t14=function(t,e){return this.w14(t),this},As.prototype.rr=function(t){return this.t14(this.x14(),t)},As.prototype.gs=function(){return this.h14(this.v14())},As.prototype.gr=function(){return this.i14(this.x14())},As.prototype.hr=function(t){return this.p14(this.x14(),t)},As.prototype.ir=function(t){return this.k14(this.x14(),t)},As.prototype.jr=function(t){return this.l14(this.x14(),t)},As.prototype.kr=function(t){return this.j14(this.x14(),t)},As.prototype.lr=function(t){return this.m14(this.x14(),t)},As.prototype.mr=function(t){return this.n14(this.x14(),t)},As.prototype.nr=function(t){return this.o14(this.x14(),t)},As.prototype.or=function(t){return this.q14(this.x14(),t)},As.prototype.pr=function(t){return this.r14(this.x14(),t)},As.prototype.qr=function(t,e){return this.s14(this.x14(),t,e)},As.prototype.lq=function(t){return this},As.prototype.mq=function(t){!this.d14_1.i()&&this.x14(),this.u14(t)},As.prototype.u14=function(t){},As.prototype.sr=function(t,e,n){return this.p14(this.a14(t,e),n)},As.prototype.tr=function(t,e,n){return this.k14(this.a14(t,e),n)},As.prototype.ur=function(t,e,n){return this.l14(this.a14(t,e),n)},As.prototype.vr=function(t,e,n){return this.j14(this.a14(t,e),n)},As.prototype.wr=function(t,e,n){return this.m14(this.a14(t,e),n)},As.prototype.xr=function(t,e,n){return this.n14(this.a14(t,e),n)},As.prototype.yr=function(t,e,n){return this.o14(this.a14(t,e),n)},As.prototype.zr=function(t,e,n){return this.q14(this.a14(t,e),n)},As.prototype.as=function(t,e,n){return this.r14(this.a14(t,e),n)},As.prototype.bs=function(t,e){return this.t14(this.a14(t,e),t.uo(e))},As.prototype.cs=function(t,e,n,r){ws(this,t,e)&&this.ds(n,r)},As.prototype.es=function(t,e,n,r){ws(this,t,e)&&this.fs(n,r)},As.prototype.v14=function(){return Cr(this.d14_1)},As.prototype.e14=function(){return Mr(this.d14_1)},As.prototype.w14=function(t){this.d14_1.a(t)},As.prototype.x14=function(){if(this.d14_1.i())throw ai(\\\"No tag in stack for requested element\\\");return this.d14_1.z4(Er(this.d14_1))},As.$metadata$=yt(\\\"TaggedEncoder\\\",[Lo,Po]),Ms.prototype.ar=function(){return Us()},Ms.prototype.c15=function(t){throw ai(_t(this)+\\\" can't retrieve untyped values\\\")},Ms.prototype.d15=function(t){return!0},Ms.prototype.e15=function(t){var e=this.c15(t);return\\\"boolean\\\"==typeof e?e:St()},Ms.prototype.f15=function(t){var e=this.c15(t);return\\\"number\\\"==typeof e?e:St()},Ms.prototype.g15=function(t){var e=this.c15(t);return\\\"number\\\"==typeof e?e:St()},Ms.prototype.h15=function(t){var e=this.c15(t);return\\\"number\\\"==typeof e?e:St()},Ms.prototype.i15=function(t){var e=this.c15(t);return e instanceof be?e:St()},Ms.prototype.j15=function(t){var e=this.c15(t);return\\\"number\\\"==typeof e?e:St()},Ms.prototype.k15=function(t){var e=this.c15(t);return\\\"number\\\"==typeof e?e:St()},Ms.prototype.l15=function(t){var e=this.c15(t);return e instanceof xe?e.q1_1:St()},Ms.prototype.m15=function(t){var e=this.c15(t);return\\\"string\\\"==typeof e?e:St()},Ms.prototype.n15=function(t,e){var n=this.c15(t);return\\\"number\\\"==typeof n?n:St()},Ms.prototype.o15=function(t,e){return this.w14(t),this},Ms.prototype.jq=function(t,e){return this.kq(t)},Ms.prototype.iq=function(t){return this.o15(this.x14(),t)},Ms.prototype.wp=function(){var t=this.e14();if(null==t)return!1;var e=t;return this.d15(e)},Ms.prototype.xp=function(){return null},Ms.prototype.yp=function(){return this.e15(this.x14())},Ms.prototype.zp=function(){return this.f15(this.x14())},Ms.prototype.aq=function(){return this.g15(this.x14())},Ms.prototype.bq=function(){return this.h15(this.x14())},Ms.prototype.cq=function(){return this.i15(this.x14())},Ms.prototype.dq=function(){return this.j15(this.x14())},Ms.prototype.eq=function(){return this.k15(this.x14())},Ms.prototype.fq=function(){return this.l15(this.x14())},Ms.prototype.gq=function(){return this.m15(this.x14())},Ms.prototype.hq=function(t){return this.n15(this.x14(),t)},Ms.prototype.lq=function(t){return this},Ms.prototype.mq=function(t){},Ms.prototype.nq=function(t,e){return this.e15(this.a14(t,e))},Ms.prototype.oq=function(t,e){return this.f15(this.a14(t,e))},Ms.prototype.pq=function(t,e){return this.g15(this.a14(t,e))},Ms.prototype.qq=function(t,e){return this.h15(this.a14(t,e))},Ms.prototype.rq=function(t,e){return this.i15(this.a14(t,e))},Ms.prototype.sq=function(t,e){return this.j15(this.a14(t,e))},Ms.prototype.tq=function(t,e){return this.k15(this.a14(t,e))},Ms.prototype.uq=function(t,e){return this.l15(this.a14(t,e))},Ms.prototype.vq=function(t,e){return this.m15(this.a14(t,e))},Ms.prototype.wq=function(t,e){return this.o15(this.a14(t,e),t.uo(e))},Ms.prototype.xq=function(t,e,n,r){var i,o,a;return Cs(this,this.a14(t,e),(i=this,o=n,a=r,function(){return i.jq(o,a)}))},Ms.prototype.zq=function(t,e,n,r){var i,o,a;return Cs(this,this.a14(t,e),(i=this,o=n,a=r,function(){return i.wp()?i.jq(o,a):i.xp()}))},Ms.prototype.e14=function(){return Mr(this.a15_1)},Ms.prototype.w14=function(t){this.a15_1.a(t)},Ms.prototype.x14=function(){var t=this.a15_1.z4(Er(this.a15_1));return this.b15_1=!0,t},Ms.$metadata$=yt(\\\"TaggedDecoder\\\",[So,Io]),Ts.prototype.u2=function(){return this.p15_1},Ts.prototype.w2=function(){return this.q15_1},Ts.prototype.toString=function(){return\\\"MapEntry(key=\\\"+this.p15_1+\\\", value=\\\"+this.q15_1+\\\")\\\"},Ts.prototype.hashCode=function(){var t=null==this.p15_1?0:Ee(this.p15_1);return ct(t,31)+(null==this.q15_1?0:Ee(this.q15_1))|0},Ts.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ts))return!1;var e=t instanceof Ts?t:St();return!!ne(this.p15_1,e.p15_1)&&!!ne(this.q15_1,e.q15_1)},Ts.$metadata$=yt(\\\"MapEntry\\\",[zt]),Ss.prototype.nn=function(){return this.t15_1},Ss.prototype.u15=function(t){return t.u2()},Ss.prototype.v15=function(t){return this.u15(null!=t&&Ot(t,zt)?t:St())},Ss.prototype.w15=function(t){return t.w2()},Ss.prototype.x15=function(t){return this.w15(null!=t&&Ot(t,zt)?t:St())},Ss.prototype.y15=function(t,e){return new Ts(t,e)},Ss.$metadata$=yt(\\\"MapEntrySerializer\\\",void 0,void 0,void 0,void 0,Is.prototype),ks.prototype.nn=function(){return this.e16_1},ks.prototype.f16=function(t){return t.t_1},ks.prototype.v15=function(t){return this.f16(t instanceof Pt?t:St())},ks.prototype.g16=function(t){return t.u_1},ks.prototype.x15=function(t){return this.g16(t instanceof Pt?t:St())},ks.prototype.y15=function(t,e){return fe(t,e)},ks.$metadata$=yt(\\\"PairSerializer\\\",void 0,void 0,void 0,void 0,Is.prototype),Os.prototype.nn=function(){return this.k16_1},Os.prototype.l16=function(t,e){var n=t.lq(this.k16_1);n.cs(this.k16_1,0,this.h16_1,e.pb_1),n.cs(this.k16_1,1,this.i16_1,e.qb_1),n.cs(this.k16_1,2,this.j16_1,e.rb_1),n.mq(this.k16_1)},Os.prototype.on=function(t,e){return this.l16(t,e instanceof It?e:St())},Os.prototype.pn=function(t){var e=t.lq(this.k16_1);return e.br()?function(t,e){var n=e.yq(t.k16_1,0,t.h16_1,null,8,null),r=e.yq(t.k16_1,1,t.i16_1,null,8,null),i=e.yq(t.k16_1,2,t.j16_1,null,8,null);return e.mq(t.k16_1),new It(n,r,i)}(this,e):function(t,e){var n=Es(),r=Es(),i=Es();t:for(;;){var o=e.cr(t.k16_1);if(Oo(),-1===o)break t;if(0===o)n=e.yq(t.k16_1,0,t.h16_1,null,8,null);else if(1===o)r=e.yq(t.k16_1,1,t.i16_1,null,8,null);else{if(2!==o)throw ai(\\\"Unexpected index \\\"+o);i=e.yq(t.k16_1,2,t.j16_1,null,8,null)}}if(e.mq(t.k16_1),n===Es())throw ai(\\\"Element 'first' is missing\\\");if(r===Es())throw ai(\\\"Element 'second' is missing\\\");if(i===Es())throw ai(\\\"Element 'third' is missing\\\");var a=null==n||Jt(n)?n:St(),s=null==r||Jt(r)?r:St();return new It(a,s,null==i||Jt(i)?i:St())}(this,e)},Os.$metadata$=yt(\\\"TripleSerializer\\\",[Zr]),Is.prototype.b16=function(t,e){var n=t.lq(this.nn());n.cs(this.nn(),0,this.z15_1,this.v15(e)),n.cs(this.nn(),1,this.a16_1,this.x15(e)),n.mq(this.nn())},Is.prototype.on=function(t,e){return this.b16(t,null==e||Jt(e)?e:St())},Is.prototype.pn=function(t){var e=t.lq(this.nn());if(e.br()){var n=this.nn(),r=e.yq(n,0,this.z15_1,null,8,null),i=this.nn(),o=e.yq(i,1,this.a16_1,null,8,null);return this.y15(r,o)}var a=Es(),s=Es();t:for(;;){var l=e.cr(this.nn());if(Oo(),-1===l)break t;if(0===l){var u=this.nn();a=e.yq(u,0,this.z15_1,null,8,null)}else{if(1!==l)throw ai(\\\"Invalid index: \\\"+l);var c=this.nn();s=e.yq(c,1,this.a16_1,null,8,null)}}if(e.mq(this.nn()),a===Es())throw ai(\\\"Element 'key' is missing\\\");if(s===Es())throw ai(\\\"Element 'value' is missing\\\");var h=null==a||Jt(a)?a:St();return this.y15(h,null==s||Jt(s)?s:St())},Is.$metadata$=yt(\\\"KeyValueSerializer\\\",[Zr]),Ls.prototype.nn=function(){return this.m16_1},Ls.prototype.n16=function(t,e){var n,r=t.rr(this.m16_1);n=fn(e),r.lr(n)},Ls.prototype.on=function(t,e){return this.n16(t,e instanceof _r?e.tc_1:St())},Ls.prototype.o16=function(t){var e=t.iq(this.m16_1).cq();return hn(e)},Ls.prototype.pn=function(t){return new _r(this.o16(t))},Ls.$metadata$=_e(\\\"ULongSerializer\\\",[Zr]),Ps.prototype.nn=function(){return this.p16_1},Ps.prototype.q16=function(t,e){var n,r=t.rr(this.p16_1);n=wn(e),r.kr(n)},Ps.prototype.on=function(t,e){return this.q16(t,e instanceof br?e.hc_1:St())},Ps.prototype.r16=function(t){var e=t.iq(this.p16_1).bq();return bn(e)},Ps.prototype.pn=function(t){return new br(this.r16(t))},Ps.$metadata$=_e(\\\"UIntSerializer\\\",[Zr]),zs.prototype.nn=function(){return this.s16_1},zs.prototype.t16=function(t,e){var n,r=t.rr(this.s16_1);n=In(e),r.jr(n)},zs.prototype.on=function(t,e){return this.t16(t,e instanceof xr?e.ed_1:St())},zs.prototype.u16=function(t){var e=t.iq(this.s16_1).aq();return kn(e)},zs.prototype.pn=function(t){return new xr(this.u16(t))},zs.$metadata$=_e(\\\"UShortSerializer\\\",[Zr]),Rs.prototype.nn=function(){return this.v16_1},Rs.prototype.w16=function(t,e){var n,r=t.rr(this.v16_1);n=Fn(e),r.ir(n)},Rs.prototype.on=function(t,e){return this.w16(t,e instanceof wr?e.wb_1:St())},Rs.prototype.x16=function(t){var e=t.iq(this.v16_1).zp();return Bn(e)},Rs.prototype.pn=function(t){return new wr(this.x16(t))},Rs.$metadata$=_e(\\\"UByteSerializer\\\",[Zr]),Ds.prototype.co=function(){return this.y16_1},Ds.prototype.d17=function(){return this.c17_1},Ds.prototype.e17=function(t,e){this.a17_1.a(fe(t,e))},Ds.prototype.f17=function(t){var e;if(null!=this.c17_1)throw e=\\\"Default deserializer provider is already registered for class \\\"+this.y16_1+\\\": \\\"+this.c17_1,Yt(Xt(e));this.c17_1=t},Ds.prototype.g17=function(t){this.f17(t)},Ds.prototype.h17=function(t){null!=this.z16_1&&t.n17(this.y16_1,this.y16_1,this.z16_1,!1,8,null);for(var e=this.a17_1.e();e.f();){var n=e.g(),r=n.m4(),i=n.n4(),o=Ot(r,kt)?r:St(),a=Ot(i,Zr)?i:St();t.n17(this.y16_1,o,a,!1,8,null)}var s=this.b17_1;null!=s&&t.o17(this.y16_1,s,!1);var l=this.c17_1;null!=l&&t.p17(this.y16_1,l,!1)},Ds.$metadata$=yt(\\\"PolymorphicModuleBuilder\\\"),$s.prototype.ho=function(t,e,n,r){return 0!=(2&n)&&(e=mt()),null==r?this.go(t,e):r(t,e)},$s.$metadata$=yt(\\\"SerializersModule\\\"),Bs.prototype.ns=function(t,e){if(!function(t,e){return e.w8(t)}(e,t))return null;var n=this.s17_1.s(t),r=null==n?null:n.s(_t(e)),i=null!=r&&Ot(r,Kr)?r:null;if(null!=i)return i;var o=this.t17_1.s(t),a=null!=o&&\\\"function\\\"==typeof o?o:null;return null==a?null:a(e)},Bs.prototype.ms=function(t,e){var n=this.u17_1.s(t),r=null==n?null:(null!=n&&Ot(n,$t)?n:St()).s(e),i=null!=r&&Ot(r,Zr)?r:null;if(null!=i)return i;var o=this.v17_1.s(t),a=null!=o&&\\\"function\\\"==typeof o?o:null;return null==a?null:a(e)},Bs.prototype.go=function(t,e){var n=this.r17_1.s(t),r=null==n?null:n.w17(e);return null==r||Ot(r,Zr)?r:null},Bs.prototype.q17=function(t){for(var e=this.r17_1.y().e();e.f();){var n=e.g(),r=n.u2(),i=n.w2(),o=i;if(o instanceof Ns){var a=Ot(r,kt)?r:St(),s=i.z17_1;t.a18(a,Ot(s,Zr)?s:St())}else o instanceof Fs&&t.y17(r,i.x17_1)}for(var l=this.s17_1.y().e();l.f();)for(var u=l.g(),c=u.u2(),h=u.w2().y().e();h.f();){var p,f=h.g(),d=f.u2(),m=f.w2(),v=Ot(c,kt)?c:St(),g=Ot(d,kt)?d:St();p=Ot(m,Zr)?m:St(),t.b18(v,g,p)}for(var y=this.t17_1.y().e();y.f();){var _=y.g(),b=_.u2(),x=_.w2(),w=Ot(b,kt)?b:St();t.c18(w,\\\"function\\\"==typeof x?x:St())}for(var A=this.v17_1.y().e();A.f();){var C=A.g(),M=C.u2(),E=C.w2(),T=Ot(M,kt)?M:St();t.d18(T,\\\"function\\\"==typeof E?E:St())}},Bs.$metadata$=yt(\\\"SerialModuleImpl\\\",void 0,void 0,void 0,void 0,$s.prototype),Ns.prototype.e18=function(){return this.z17_1},Ns.prototype.w17=function(t){return this.z17_1},Ns.prototype.equals=function(t){return t instanceof Ns&&ne(t.z17_1,this.z17_1)},Ns.prototype.hashCode=function(){return Ee(this.z17_1)},Ns.$metadata$=yt(\\\"Argless\\\",void 0,void 0,void 0,void 0,js.prototype),Fs.prototype.f18=function(){return this.x17_1},Fs.prototype.w17=function(t){return this.x17_1(t)},Fs.$metadata$=yt(\\\"WithTypeArguments\\\",void 0,void 0,void 0,void 0,js.prototype),js.$metadata$=yt(\\\"ContextualProvider\\\"),qs.prototype.a18=function(t,e){var n=new Ns(e);return this.g18(t,n,!1,4,null)},qs.prototype.y17=function(t,e){var n=new Fs(e);return this.g18(t,n,!1,4,null)},qs.prototype.b18=function(t,e,n){this.n17(t,e,n,!1,8,null)},qs.prototype.c18=function(t,e){this.o17(t,e,!1)},qs.prototype.d18=function(t,e){this.p17(t,e,!1)},qs.prototype.h18=function(t){t.q17(this)},qs.prototype.i18=function(t,e,n){if(!n){var r=this.i17_1.s(t);if(null!=r&&!ne(r,e))throw new Hs(\\\"Contextual serializer or serializer provider for \\\"+t+\\\" already registered in this module\\\")}this.i17_1.b(t,e)},qs.prototype.g18=function(t,e,n,r,i){return 0!=(4&r)&&(n=!1),this.i18(t,e,n)},qs.prototype.o17=function(t,e,n){var r=this.k17_1.s(t);if(null!=r&&!ne(r,e)&&!n)throw Yt(\\\"Default serializers provider for \\\"+t+\\\" is already registered: \\\"+r);this.k17_1.b(t,e)},qs.prototype.p17=function(t,e,n){var r=this.m17_1.s(t);if(null!=r&&!ne(r,e)&&!n)throw Yt(\\\"Default deserializers provider for \\\"+t+\\\" is already registered: \\\"+r);this.m17_1.b(t,e)},qs.prototype.j18=function(t,e,n,r){var i,o=n.nn().oo(),a=this.j17_1,s=a.s(t);if(null==s){var l=Le();a.b(t,l),i=l}else i=s;var u,c=i,h=c.s(e),p=this.l17_1,f=p.s(t);if(null==f){var d=Le();p.b(t,d),u=d}else u=f;var m=u;if(r)return null!=h&&m.vf(h.nn().oo()),c.b(e,n),m.b(o,n),dt();if(null!=h){if(!ne(h,n))throw Vs(t,e);m.vf(h.nn().oo())}var v=m.s(o);if(null!=v){var g;t:{for(var y=Tr(ee(this.j17_1.s(t))).e();y.f();){var _=y.g();if(_.w2()===v){g=_;break t}}g=null}throw Yt(\\\"Multiple polymorphic serializers for base class '\\\"+t+\\\"' have the same serial name '\\\"+o+\\\"': '\\\"+e+\\\"' and '\\\"+g+\\\"'\\\")}c.b(e,n),m.b(o,n)},qs.prototype.n17=function(t,e,n,r,i,o){return 0!=(8&i)&&(r=!1),this.j18(t,e,n,r)},qs.prototype.v3=function(){return new Bs(this.i17_1,this.j17_1,this.k17_1,this.l17_1,this.m17_1)},qs.$metadata$=yt(\\\"SerializersModuleBuilder\\\",[Gs]),Hs.$metadata$=yt(\\\"SerializerAlreadyRegisteredException\\\",void 0,void 0,void 0,void 0,Mt.prototype),Gs.$metadata$=ht(\\\"SerializersModuleCollector\\\"),Ws.prototype.equals=function(t){if(!(t instanceof Ws))return!1;var e=t instanceof Ws?t:St();return!!this.k18_1.equals(e.k18_1)},Ws.prototype.hashCode=function(){return ct(re(\\\"serializer\\\"),127)^this.k18_1.hashCode()},Ws.prototype.toString=function(){return\\\"@kotlinx.serialization.SerializableWith(serializer=\\\"+this.k18_1+\\\")\\\"},Ws.$metadata$=yt(\\\"SerializableWith\\\",[Sr],0),Qs.prototype.io=function(t){return this.l18_1(t)},Qs.$metadata$=yt(void 0,[ya]),tl.prototype.jo=function(t,e){var n;try{var r;zr(),r=this.m18_1(t,e),n=Rr(r)}catch(t){if(!(t instanceof Error))throw t;zr(),n=Rr(Dr(t))}return n},tl.$metadata$=yt(void 0,[_a]),Xi.prototype.ko=$r,Xi.prototype.ro=Br,Eo.prototype.yq=qr,Eo.prototype.kq=Fr,Eo.prototype.br=jr,Eo.prototype.dr=Ur,To.prototype.gs=Vr,To.prototype.hs=Hr,To.prototype.ds=Gr,To.prototype.fs=Wr,To.prototype.is=Xr,Ho.prototype.ko=$r,Ho.prototype.ro=Br,Ho.prototype.po=Nr,Bo.prototype.ko=$r,Bo.prototype.ro=Br,Bo.prototype.po=Nr,No.prototype.ko=$r,No.prototype.ro=Br,No.prototype.po=Nr,Fo.prototype.ko=$r,Fo.prototype.ro=Br,Fo.prototype.po=Nr,Go.prototype.ko=$r,Go.prototype.ro=Br,Go.prototype.po=Nr,jo.prototype.ko=$r,jo.prototype.ro=Br,jo.prototype.po=Nr,Uo.prototype.ko=$r,Uo.prototype.ro=Br,Uo.prototype.po=Nr,qo.prototype.ko=$r,qo.prototype.ro=Br,qo.prototype.po=Nr,Vo.prototype.ko=$r,Vo.prototype.ro=Br,Vo.prototype.po=Nr,Ea.prototype.ko=$r,Ea.prototype.ro=Br,ua.prototype.ko=$r,ua.prototype.ro=Br,pa.prototype.ko=$r,fa.prototype.gy=Yr,da.prototype.gs=Vr,da.prototype.hs=Hr,da.prototype.ds=Gr,da.prototype.fs=Wr,da.prototype.is=Xr,gs.prototype.ko=$r,gs.prototype.ro=Br,gs.prototype.po=Nr,As.prototype.hs=Hr,As.prototype.ds=Gr,As.prototype.fs=Wr,As.prototype.is=Xr,bs.prototype.hs=Hr,bs.prototype.ds=Gr,bs.prototype.fs=Wr,bs.prototype.is=Xr,Ms.prototype.yq=qr,Ms.prototype.kq=Fr,Ms.prototype.br=jr,Ms.prototype.dr=Ur,xs.prototype.kq=Fr,xs.prototype.yq=qr,xs.prototype.br=jr,xs.prototype.dr=Ur,t.$_$=t.$_$||{},t.$_$.a=Gi,t.$_$.b=Vi,t.$_$.c=qr,t.$_$.d=function(t,e,n){return function(t,e,n,r){return ga.call(r,t,e),r.my_1=pt(n),r}(t,e,n,Object.create(ga.prototype))},t.$_$.e=function(t,e){return function(t,e,n){return Qr.call(n,t),n.rn_1=pt(e),n}(t,e,Object.create(Qr.prototype))},t.$_$.f=oi,t.$_$.g=ai,t.$_$.h=function t(e){var n=function(t,e){return li.call(e,\\\"An unknown field for index \\\"+t),e}(e,Object.create(li.prototype));return At(n,t),n},t.$_$.i=function(){return null==u&&new no,u},t.$_$.j=mo,t.$_$.k=to,t.$_$.l=Ji,t.$_$.m=yo,t.$_$.n=bo,t.$_$.o=wo,t.$_$.p=Co,t.$_$.q=Oo,t.$_$.r=ds,t.$_$.s=as,t.$_$.t=ls,t.$_$.u=rs,t.$_$.v=function(t){return new Wo(t)},t.$_$.w=function(t,e){return new Ko(t,e)},t.$_$.x=wi,t.$_$.y=Ai,t.$_$.z=Li,t.$_$.a1=Oi,t.$_$.b1=zi,t.$_$.c1=Si,t.$_$.d1=io,t.$_$.e1=vo,t.$_$.f1=function(t,e){if(ae(t))throw Yt(Xt(\\\"Blank serial names are prohibited\\\"));return function(t,e){return _s(),function(t){_s();for(var e=es().k3().e();e.f();){var n=e.g(),r=ys(ee(n.v8()));if(pr(t,\\\"kotlin.\\\"+r,!0)||pr(t,r,!0))throw Yt(hr(\\\"\\\\n The name of serial descriptor should uniquely identify associated serializer.\\\\n For serial name \\\"+t+\\\" there already exist \\\"+ys(r)+\\\"Serializer.\\\\n Please refer to SerialDescriptor documentation for additional information.\\\\n \\\"))}}(t),new gs(t,e)}(t,e)},t.$_$.g1=Nr,t.$_$.h1=Br,t.$_$.i1=$r,t.$_$.j1=Bi,t.$_$.k1=Ki,t.$_$.l1=function(t,e){var n,r=$i(e);if(null==r)n=null;else{var i=t.ho(r,null,2,null);n=null==i?null:i.nn()}return n},t.$_$.m1=Eo,t.$_$.n1=To,t.$_$.o1=Ur,t.$_$.p1=jr,t.$_$.q1=Io,t.$_$.r1=Xr,t.$_$.s1=Po,t.$_$.t1=Fr,t.$_$.u1=So,t.$_$.v1=Hr,t.$_$.w1=Vr,t.$_$.x1=Wr,t.$_$.y1=Gr,t.$_$.z1=Lo,t.$_$.a2=zo,t.$_$.b2=Wo,t.$_$.c2=sa,t.$_$.d2=ua,t.$_$.e2=ca,t.$_$.f2=Yr,t.$_$.g2=Oa,t.$_$.h2=Ko,t.$_$.i2=xs,t.$_$.j2=bs,t.$_$.k2=Ea,t.$_$.l2=ka,t.$_$.m2=function(t,e){return new ca(t,e)},t.$_$.n2=function(t){return ba(t)},t.$_$.o2=function(t,e,n){var r=le(),i=e&~t,o=0;if(o<32)do{var a=o;if(o=o+1|0,0!=(1&i)){var s=n.wo(a);r.a(s)}i=i>>>1|0}while(o<32);throw ui(r,n.oo())},t.$_$.p2=Us,t.$_$.q2=Ds,t.$_$.r2=qs,t.$_$.s2=function(t,e){return this.y17(t,(n=e,function(t){return n}));var n},t.$_$.t2=Gs,t.$_$.u2=$s,t.$_$.v2=Jr,t.$_$.w2=Zr,t.$_$.x2=ci,t.$_$.y2=Qr,t.$_$.z2=ni,t.$_$.a3=si,t.$_$.b3=ri,t.$_$.c3=ti,t.$_$.d3=hi,t.$_$.e3=function(t){return di(Us(),t)}}(t.exports,n(8744))},3730:(t,e,n)=>{!function(t,e,n){\\\"use strict\\\";var r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at,st=Math.imul,lt=e.$_$.p2,ut=n.$_$.ib,ct=e.$_$.b3,ht=n.$_$.aa,pt=n.$_$.b5,ft=n.$_$.mb,dt=n.$_$.a2,mt=n.$_$.x9,vt=n.$_$.zd,gt=n.$_$.q2,yt=n.$_$.da,_t=n.$_$.yd,bt=e.$_$.u1,xt=e.$_$.q1,wt=n.$_$.ka,At=n.$_$.u1,Ct=n.$_$.oe,Mt=n.$_$.ja,Et=n.$_$.m,Tt=n.$_$.m5,St=n.$_$.k5,kt=n.$_$.e,Ot=n.$_$.ia,It=n.$_$.j,Lt=n.$_$.jf,Pt=e.$_$.l2,zt=n.$_$.id,Rt=n.$_$.ld,Dt=n.$_$.gd,$t=n.$_$.kd,Bt=n.$_$.fd,Nt=n.$_$.k1,Ft=e.$_$.i,jt=e.$_$.b,Ut=e.$_$.w2,qt=n.$_$.r4,Vt=e.$_$.y,Ht=e.$_$.w,Gt=e.$_$.j1,Wt=e.$_$.v,Xt=e.$_$.j,Yt=e.$_$.l,Zt=e.$_$.f1,Kt=n.$_$.qd,Jt=n.$_$.z4,Qt=e.$_$.c1,te=n.$_$.s3,ee=n.$_$.we,ne=n.$_$.ta,re=n.$_$.d2,ie=n.$_$.kf,oe=e.$_$.i1,ae=e.$_$.h1,se=e.$_$.g1,le=n.$_$.dc,ue=n.$_$.ha,ce=e.$_$.z1,he=e.$_$.s1,pe=n.$_$.kb,fe=n.$_$.i3,de=n.$_$.k3,me=n.$_$.r3,ve=n.$_$.t3,ge=n.$_$.z2,ye=n.$_$.b3,_e=n.$_$.a4,be=n.$_$.c4,xe=e.$_$.c2,we=n.$_$.u9,Ae=e.$_$.a3,Ce=e.$_$.f,Me=n.$_$.y9,Ee=n.$_$.z9,Te=n.$_$.tb,Se=n.$_$.ub,ke=e.$_$.q,Oe=e.$_$.g,Ie=n.$_$.b1,Le=n.$_$.g8,Pe=n.$_$.s9,ze=n.$_$.ff,Re=n.$_$.w6,De=n.$_$.e7,$e=n.$_$.p6,Be=n.$_$.q6,Ne=n.$_$.ea,Fe=e.$_$.n,je=n.$_$.ce,Ue=n.$_$.gf,qe=n.$_$.m9,Ve=n.$_$.de,He=n.$_$.ze,Ge=n.$_$.x8,We=(n.$_$.o9,e.$_$.a2),Xe=n.$_$.f,Ye=e.$_$.v2,Ze=n.$_$.wa,Ke=e.$_$.c3,Je=e.$_$.z2,Qe=e.$_$.n2,tn=e.$_$.k1,en=e.$_$.e1,nn=e.$_$.d1,rn=e.$_$.k,on=e.$_$.o,an=e.$_$.s2,sn=e.$_$.t2,ln=e.$_$.m1,un=n.$_$.mf,cn=e.$_$.x2,hn=e.$_$.c,pn=n.$_$.he,fn=n.$_$.if,dn=n.$_$.hf,mn=e.$_$.p1,vn=e.$_$.o1,gn=n.$_$.pd,yn=n.$_$.j3,_n=n.$_$.rd,bn=n.$_$.od,xn=n.$_$.a3,wn=n.$_$.sd,An=n.$_$.b4,Cn=e.$_$.t1,Mn=e.$_$.n1,En=n.$_$.u2,Tn=e.$_$.w1,Sn=e.$_$.v1,kn=e.$_$.x1,On=n.$_$.y4,In=e.$_$.a1,Ln=n.$_$.x4,Pn=e.$_$.b1,zn=n.$_$.a5,Rn=e.$_$.z,Dn=n.$_$.f8,$n=n.$_$.db,Bn=n.$_$.t2,Nn=n.$_$.sc,Fn=n.$_$.jb,jn=n.$_$.lf,Un=e.$_$.i2,qn=n.$_$.y1,Vn=n.$_$.m4,Hn=n.$_$.q4,Gn=n.$_$.lb,Wn=n.$_$.cd,Xn=n.$_$.x6,Yn=n.$_$.x7,Zn=n.$_$.l8,Kn=n.$_$.of,Jn=e.$_$.y1,Qn=e.$_$.r1,tr=e.$_$.j2,er=n.$_$.ee,nr=e.$_$.l1,rr=n.$_$.p7,ir=n.$_$.c8,or=n.$_$.u,ar=n.$_$.je,sr=n.$_$.s2,lr=n.$_$.v4,ur=n.$_$.w9,cr=n.$_$.t,hr=n.$_$.ob,pr=e.$_$.p,fr=e.$_$.m,dr=n.$_$.t1,mr=n.$_$.d1;function vr(){r=this,yr.call(this,function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d){return t=!1,e=!1,n=!1,r=!1,i=!1,o=!0,a=\\\" \\\",s=!1,l=!1,u=\\\"type\\\",c=!1,h=!0,Cr.call(d,t,e,n,r,i,o,a,s,l,u,c,h),d}(!1,!1,!1,!1,!1,!1,null,!1,!1,null,!1,!1,0,0,Object.create(Cr.prototype)),lt())}function gr(){return null==r&&new vr,r}function yr(t,e){gr(),this.n18_1=t,this.o18_1=e,this.p18_1=new oo}function _r(t,e){var n=new br(t);return e(n),new xr(n.v3(),n.w19_1)}function br(t){this.k19_1=t.n18_1.x19_1,this.l19_1=t.n18_1.c1a_1,this.m19_1=t.n18_1.y19_1,this.n19_1=t.n18_1.z19_1,this.o19_1=t.n18_1.a1a_1,this.p19_1=t.n18_1.b1a_1,this.q19_1=t.n18_1.d1a_1,this.r19_1=t.n18_1.e1a_1,this.s19_1=t.n18_1.f1a_1,this.t19_1=t.n18_1.g1a_1,this.u19_1=t.n18_1.h1a_1,this.v19_1=t.n18_1.i1a_1,this.w19_1=t.ar()}function xr(t,e){yr.call(this,t,e),function(t){if(yt(t.ar(),lt()))return pt();var e=new ro(t.n18_1.f1a_1,t.n18_1.g1a_1);t.ar().q17(e)}(this)}function wr(){}function Ar(){}function Cr(t,e,n,r,i,o,a,s,l,u,c,h){this.x19_1=t,this.y19_1=e,this.z19_1=n,this.a1a_1=r,this.b1a_1=i,this.c1a_1=o,this.d1a_1=a,this.e1a_1=s,this.f1a_1=l,this.g1a_1=u,this.h1a_1=c,this.i1a_1=h}function Mr(){}function Er(){i=this}function Tr(){null==i&&new Er}function Sr(){o=this}function kr(t){var e=t.u2(),n=t.w2(),r=At();return yo(r,e),r.d9(gt(58)),r.ra(n),r.toString()}function Or(t){null==o&&new Sr,Tr.call(this),this.n1a_1=t}function Ir(){a=this}function Lr(t){null==a&&new Ir,Tr.call(this),this.p1a_1=t}function Pr(){s=this}function zr(){null==s&&new Pr,Tr.call(this)}function Rr(t,e){zr.call(this),this.u1a_1=e,this.v1a_1=ft(t)}function Dr(){return ui()}function $r(){l=this,zr.call(this),this.w1a_1=\\\"null\\\";var t=It();this.x1a_1=Lt(t,Dr)}function Br(){return null==l&&new $r,l}function Nr(t){return null==t?Br():new Rr(t,!1)}function Fr(t){return null==t?Br():new Rr(t,!1)}function jr(t){return null==t?Br():new Rr(t,!0)}function Ur(t){return function(t){return _o(),!!Nn(t,\\\"true\\\",!0)||!Nn(t,\\\"false\\\",!0)&&null}(t.t1a())}function qr(t){return zt(t.t1a())}function Vr(t){var e,n=t instanceof zr?t:null;return null==n?function(t,e){throw dt(\\\"Element \\\"+kt(t)+\\\" is not a JsonPrimitive\\\")}(t):e=n,e}function Hr(){var t;t=Nt(),this.z1a_1=t}function Gr(t){var e=ci(Wr);t.bo(\\\"JsonPrimitive\\\",e,null,!1,12,null);var n=ci(Xr);t.bo(\\\"JsonNull\\\",n,null,!1,12,null);var r=ci(Yr);t.bo(\\\"JsonLiteral\\\",r,null,!1,12,null);var i=ci(Zr);t.bo(\\\"JsonObject\\\",i,null,!1,12,null);var o=ci(Kr);return t.bo(\\\"JsonArray\\\",o,null,!1,12,null),pt()}function Wr(){return si().b1b_1}function Xr(){return ui().c1b_1}function Yr(){return pi().d1b_1}function Zr(){return ni().e1b_1}function Kr(){return oi().f1b_1}function Jr(){u=this;var t=Ft();this.g1b_1=jt(\\\"kotlinx.serialization.json.JsonElement\\\",t,[],Gr,4,null)}function Qr(){return null==u&&new Jr,u}function ti(){c=this,this.i1b_1=Ht(Vt(qt()),Qr()).nn(),this.j1b_1=\\\"kotlinx.serialization.json.JsonObject\\\"}function ei(){h=this,this.e1b_1=(null==c&&new ti,c)}function ni(){return null==h&&new ei,h}function ri(){p=this,this.l1b_1=Wt(Qr()).nn(),this.m1b_1=\\\"kotlinx.serialization.json.JsonArray\\\"}function ii(){f=this,this.f1b_1=(null==p&&new ri,p)}function oi(){return null==f&&new ii,f}function ai(){d=this;var t=Xt();this.b1b_1=jt(\\\"kotlinx.serialization.json.JsonPrimitive\\\",t,[],null,12,null)}function si(){return null==d&&new ai,d}function li(){m=this;var t=Yt();this.c1b_1=jt(\\\"kotlinx.serialization.json.JsonNull\\\",t,[],null,12,null)}function ui(){return null==m&&new li,m}function ci(t){return new gi(t)}function hi(){v=this,this.d1b_1=Zt(\\\"kotlinx.serialization.json.JsonLiteral\\\",Xt())}function pi(){return null==v&&new hi,v}function fi(t){!function(t){var e=ne(t,yi)?t:null;if(null==e)throw re(\\\"This serializer can be used only with Json format.Expected Encoder to be JsonEncoder, got \\\"+kt(t))}(t)}function di(t){var e=ne(t,Mr)?t:null;if(null==e)throw re(\\\"This serializer can be used only with Json format.Expected Decoder to be JsonDecoder, got \\\"+kt(t));return e}function mi(t){di(t)}function vi(t){return ue(\\\"original\\\",1,le,(function(t){return vi(t)}),null),t.r1b_1.w2()}function gi(t){this.r1b_1=ie(t)}function yi(){}function _i(t){this.t1b_1=t,this.u1b_1=!0}function bi(t,e){_i.call(this,t),this.p1c_1=e}function xi(t,e){_i.call(this,t),this.s1c_1=e,this.t1c_1=0}function wi(t){var e,n;this.u1c_1=new xe(t,(e=this,n=function(t,n){return i=t,o=n,(r=e).v1c_1=!i.xo(o)&&i.uo(o).ko(),r.v1c_1;var r,i,o},n.callableName=\\\"readIfAbsent\\\",n)),this.v1c_1=!1}function Ai(t,e){var n=\\\"Unexpected special floating-point value \\\"+ft(e)+\\\". By default, non-finite floating point values are prohibited because they do not conform JSON specification\\\";t.w1c(n,0,Ea(),2,null)}function Ci(t){Pi.call(this,t),we(this,Ci)}function Mi(t){return new Ci(\\\"Value of type '\\\"+t.oo()+\\\"' can't be used in JSON as a key in the map. It should have either primitive or enum kind, but its kind is '\\\"+t.so()+\\\"'.\\\\n\\\"+tt)}function Ei(t,e,n){return new Ci(zi(t,e,n))}function Ti(t){Pi.call(this,t),we(this,Ti)}function Si(t,e,n){return Oi(t,e+\\\"\\\\nJSON input: \\\"+Ri(n,t))}function ki(t,e,n){return Oi(-1,zi(t,e,n))}function Oi(t,e){return new Ti(t>=0?\\\"Unexpected JSON token at offset \\\"+t+\\\": \\\"+e:e)}function Ii(t,e){return Oi(-1,\\\"Encountered unknown key '\\\"+t+\\\"'.\\\\n\\\"+K+\\\"\\\\nCurrent input: \\\"+Di(e,0,1))}function Li(t,e){return new Ci(\\\"Unexpected special floating-point value \\\"+ft(t)+\\\". By default, non-finite floating point values are prohibited because they do not conform JSON specification. \\\"+Ea()+\\\"\\\\nCurrent output: \\\"+Di(e,0,1))}function Pi(t){Ce(t,this),we(this,Pi)}function zi(t,e,n){return\\\"Unexpected special floating-point value \\\"+ft(t)+\\\" with key \\\"+e+\\\". By default, non-finite floating point values are prohibited because they do not conform JSON specification. \\\"+Ea()+\\\"\\\\nCurrent output: \\\"+Di(n,0,1)}function Ri(t,e){if(Me(t)<200)return t;if(-1===e){var n=Me(t)-60|0;if(n<=0)return t;var r=Me(t);return\\\".....\\\"+ft(Ee(t,n,r))}var i=e-30|0,o=e+30|0,a=i<=0?\\\"\\\":\\\".....\\\",s=o>=Me(t)?\\\"\\\":\\\".....\\\",l=Te(i,0),u=Se(o,Me(t));return a+ft(Ee(t,l,u))+s}function Di(t,e,n,r){return 0!=(1&n)&&(e=-1),Ri(t,e)}function $i(){return Ui(),g}function Bi(t,e,n){Ui();var r=t.vo(n);if(ke(),-3!==r)return r;if(!e.n18_1.i1a_1)return r;var i,o,a,s=Sa(e),l=$i(),u=s.y1c(t,l,(i=t,(o=function(){return Fi(i)}).callableName=\\\"buildAlternativeNamesMap\\\",o)).s(n);return null==u?(ke(),a=-3):a=u,a}function Ni(t,e,n,r){Ui();var i=Bi(t,e,n);if(ke(),-3===i)throw Oe(t.oo()+\\\" does not contain element with name '\\\"+n+\\\"'\\\"+r);return i}function Fi(t){Ui();var e=null,n=0,r=t.qo();if(n<r)do{var i=n;n=n+1|0;for(var o=t.to(i),a=Ie(),s=o.e();s.f();){var l=s.g();l instanceof Ar&&a.a(l)}var u=Le(a),c=null==u?null:u.z1c_1;if(null==c);else for(var h=Pe(c);h.f();){var p=h.g();null==e&&(e=Ua(t.qo())),ji(ze(e),t,p,i)}}while(n<r);var f=e;return null==f?Re():f}function ji(t,e,n,r){if((ne(t,Tt)?t:Ct()).e3(n))throw new Pi(\\\"The suggested name '\\\"+n+\\\"' for property \\\"+e.wo(r)+\\\" is already one of the names for property \\\"+e.wo(De(t,n))+\\\" in \\\"+e);t.b(n,r)}function Ui(){y||(y=!0,g=new io)}function qi(){_=this}function Vi(){return null==_&&new qi,_}function Hi(t){var e=st(t.c1d_1,2);t.a1d_1=$e(t.a1d_1,e),t.b1d_1=Be(t.b1d_1,e)}function Gi(){var t;t=Ne(Array(8),null),this.a1d_1=t;for(var e=0,n=new Int32Array(8);e<8;)n[e]=-1,e=e+1|0;this.b1d_1=n,this.c1d_1=-1}function Wi(){}function Xi(t){var e=t.r1d_1.a1e();t.r1d_1.v1d()===aa()&&t.r1d_1.w1c(\\\"Unexpected leading comma\\\",0,null,6,null);for(var n=Ie();t.r1d_1.w1d();){var r=t.z1d();if(n.a(r),(e=t.r1d_1.a1e())!==aa()){var i=t.r1d_1,o=e===ya(),a=i.f19_1;o||i.w1c(\\\"Expected end of the array or comma\\\",a,null,4,null)}}return e===ga()?t.r1d_1.u1d(ya()):e===aa()&&t.r1d_1.w1c(\\\"Unexpected trailing comma\\\",0,null,6,null),new Lr(n)}function Yi(t,e){var n=t.s1d_1||!e?t.r1d_1.y1d():t.r1d_1.x1d();return e||n!==ma()?new Rr(n,e):Br()}function Zi(t,e){this.w1e_1=t,qe.call(this,e)}function Ki(t,e,n){qe.call(this,n),this.j1e_1=t,this.k1e_1=e}function Ji(t,e){this.r1d_1=e,this.s1d_1=t.z19_1,this.t1d_1=0}function Qi(t,e){for(var n=t.po().e();n.f();){var r=n.g();if(r instanceof wr)return r.d1f_1}return e.n18_1.g1a_1}function to(t,e){if(!(e instanceof We)||t.l1a().n18_1.f1a_1)return e.pn(t);var n=Qi(e.nn(),t.l1a()),r=t.m1a(),i=e.nn();if(!(r instanceof Or))throw Oi(-1,\\\"Expected \\\"+Xe(Or)+\\\" as the serialized body of \\\"+i.oo()+\\\", but had \\\"+kt(r));var o,a=r,s=a.ga(n),l=null==s?null:Vr(s),u=null==l?null:l.t1a(),c=e.do(t,u);null==c?function(t,e){throw Si(-1,\\\"Polymorphic serializer was not found for \\\"+(null==t?\\\"missing class discriminator ('null')\\\":\\\"class discriminator '\\\"+t+\\\"'\\\"),e.toString())}(u,a):o=c;var h=o;return function(t,e,n,r){return new So(t,n,e,r.nn()).kq(r)}(t.l1a(),n,a,ne(h,Ye)?h:Ct())}function eo(t){if(t instanceof tn)throw re(\\\"Enums cannot be serialized polymorphically with 'type' parameter. You can use 'JsonBuilder.useArrayPolymorphism' instead\\\");if(t instanceof en)throw re(\\\"Primitives cannot be serialized polymorphically with 'type' parameter. You can use 'JsonBuilder.useArrayPolymorphism' instead\\\");if(t instanceof nn)throw re(\\\"Actual serializer for polymorphic cannot be polymorphic itself\\\")}function no(t,e,n){return function(t,e,n){if(!(t instanceof Je))return pt();if(Qe(e.nn()).t1(n)){var r=t.nn().oo(),i=e.nn().oo();throw re(ft(\\\"Sealed class '\\\"+i+\\\"' cannot be serialized as base class '\\\"+r+\\\"' because it has property name that conflicts with JSON class discriminator '\\\"+n+\\\"'. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism\\\"))}}(t,e,n)}function ro(t,e){this.e1f_1=t,this.f1f_1=e}function io(){}function oo(){this.x1c_1=Ua(1)}function ao(t){this.i1f_1=t}function so(t,e,n){var r;t:{var i=t.x18_1,o=e.uo(n);if(!o.ko()&&!t.z18_1.l1f())r=!0;else{if(yt(o.so(),Yt())){var a=t.z18_1.m1f(t.d19_1.z19_1);if(null==a){r=!1;break t}var s=Bi(o,i,a);if(ke(),-3===s){t.z18_1.x1d(),r=!0;break t}}r=!1}}return r}function lo(t,e){var n,r;return t.d19_1.y19_1||(r=e,null!=(n=t.c19_1)&&n.i1f_1===r&&(n.i1f_1=null,1))?t.z18_1.o1f(t.d19_1.z19_1):t.z18_1.n1f(e),t.z18_1.k1f()}function uo(t){return t.d19_1.z19_1?t.z18_1.q1f():t.z18_1.p1f()}function co(t,e,n,r,i){ln.call(this),this.x18_1=t,this.y18_1=e,this.z18_1=n,this.a19_1=this.x18_1.ar(),this.b19_1=-1,this.c19_1=i,this.d19_1=this.x18_1.n18_1,this.e19_1=this.d19_1.c1a_1?null:new wi(r)}function ho(t,e){ln.call(this),this.a1g_1=t,this.b1g_1=e.ar()}function po(t,e,n,r){Mn.call(this),this.j1d_1=t,this.k1d_1=e,this.l1d_1=n,this.m1d_1=r,this.n1d_1=this.k1d_1.ar(),this.o1d_1=this.k1d_1.n18_1,this.p1d_1=!1,this.q1d_1=null;var i=this.l1d_1.z1_1;null!=this.m1d_1&&(null===this.m1d_1[i]&&this.m1d_1[i]===this||(this.m1d_1[i]=this))}function fo(t){return mo(),!!t.ro()&&(mo(),b).t1(t)}function mo(){x||(x=!0,b=Dn([In(On()).nn(),Qt(Jt()).nn(),Pn(Ln()).nn(),Rn(zn()).nn()]))}function vo(){return _o(),w}function go(t){_o();var e=15&t;return $n(e<10?e+48|0:97+(e-10|0)|0)}function yo(t,e){_o(),t.d9(na());var n=0,r=0,i=Me(e)-1|0;if(r<=i)do{var o=r;r=r+1|0;var a=mt(e,o),s=Bn(a);s<vo().length&&null!=vo()[s]&&(t.kj(e,n,o),t.f9(vo()[s]),n=o+1|0)}while(r<=i);0!==n?t.kj(e,n,e.length):t.f9(e),t.d9(na())}function _o(){if(A);else{A=!0;var t=Ne(Array(93),null),e=0;if(e<=31)do{var n=e;e=e+1|0;var r=go(n>>12),i=go(n>>8),o=go(n>>4),a=go(n);t[n]=\\\"\\\\\\\\u\\\"+new vt(r)+new vt(i)+new vt(o)+new vt(a)}while(e<=31);t[34]='\\\\\\\\\\\"',t[92]=\\\"\\\\\\\\\\\\\\\\\\\",t[9]=\\\"\\\\\\\\t\\\",t[8]=\\\"\\\\\\\\b\\\",t[10]=\\\"\\\\\\\\n\\\",t[13]=\\\"\\\\\\\\r\\\",t[12]=\\\"\\\\\\\\f\\\",w=t;var s=new Int8Array(93),l=0;if(l<=31)do{var u=l;l=l+1|0,s[u]=1}while(l<=31);s[34]=Fn(34),s[92]=Fn(92),s[9]=Fn(116),s[8]=Fn(98),s[10]=Fn(110),s[13]=Fn(114),s[12]=Fn(102)}}function bo(t){var e=t.e14(),n=null==e?null:t.h1g(e);return null==n?t.w2():n}function xo(t,e){throw Si(-1,\\\"Failed to parse '\\\"+e+\\\"'\\\",ft(bo(t)))}function wo(t,e,n){var r=t instanceof Rr?t:null;if(null==r)throw Oi(-1,\\\"Unexpected 'null' when \\\"+n+\\\" was expected\\\");return r}function Ao(t,e){Un.call(this),this.e1g_1=t,this.f1g_1=e,this.g1g_1=this.l1a().n18_1}function Co(t,e,n,r,i,o,a){return 0!=(4&i)&&(n=null),0!=(8&i)&&(r=null),So.call(a,t,e,n,r),a}function Mo(t,e,n,r,i,o){return Co(t,e,n,r,i,0,Object.create(So.prototype))}function Eo(t,e,n,r){var i,o;t:{var a=t.l1a(),s=e.uo(n);if(!s.ko()&&t.h1g(r)instanceof $r)i=!0;else{if(yt(s.so(),Yt())){var l=t.h1g(r),u=l instanceof zr?l:null,c=null==u||(o=u)instanceof $r?null:o.t1a();if(null==c){i=!1;break t}var h=Bi(s,a,c);if(ke(),-3===h){pt(),i=!0;break t}}i=!1}}return i}function To(t,e,n){return t.e1h_1=!t.l1a().n18_1.c1a_1&&!e.xo(n)&&e.uo(n).ko(),t.e1h_1}function So(t,e,n,r){Ao.call(this,t,e),this.a1h_1=e,this.b1h_1=n,this.c1h_1=r,this.d1h_1=0,this.e1h_1=!1}function ko(t,e){Ao.call(this,t,e),this.k1h_1=e,this.l1h_1=this.k1h_1.h(),this.m1h_1=-1}function Oo(t,e){Ao.call(this,t,e),this.s1h_1=e,this.w14(Bo())}function Io(t,e){Co(t,e,null,null,12,0,this),this.d1i_1=e,this.e1i_1=Zn(this.d1i_1.k3()),this.f1i_1=st(this.e1i_1.h(),2),this.g1i_1=-1}function Lo(t,e){var n;zo.call(this,t,e),n=Nt(),this.r1i_1=n}function Po(t,e){this.i1j_1=t,this.j1j_1=e,Mn.call(this),this.h1j_1=t.i1i_1.ar()}function zo(t,e){tr.call(this),this.i1i_1=t,this.j1i_1=e,this.k1i_1=this.i1i_1.n18_1,this.l1i_1=null}function Ro(t,e){zo.call(this,t,e),this.q1j_1=null,this.w14(\\\"primitive\\\")}function Do(t,e){var n;zo.call(this,t,e),n=Ie(),this.w1j_1=n}function $o(t,e){Lo.call(this,t,e),this.e1k_1=!0}function Bo(){return C}function No(){if(k)return pt();k=!0,M=new Fo(\\\"OBJ\\\",0,la(),ua()),E=new Fo(\\\"LIST\\\",1,ca(),ha()),T=new Fo(\\\"MAP\\\",2,la(),ua()),S=new Fo(\\\"POLY_OBJ\\\",3,ca(),ha())}function Fo(t,e,n,r){er.call(this,t,e),this.v1f_1=n,this.w1f_1=r}function jo(t,e){var n,r=e.so();if(r instanceof nn)n=Go();else if(yt(r,Fe()))n=Vo();else if(yt(r,on())){var i,o=Uo(e.uo(0),t.ar()),a=o.so();if(a instanceof en||yt(a,Yt()))i=Ho();else{if(!t.n18_1.a1a_1)throw Mi(o);i=Vo()}n=i}else n=qo();return n}function Uo(t,e){var n;if(yt(t.so(),rn())){var r=nr(e,t),i=null==r?null:Uo(r,e);n=null==i?t:i}else n=t.ro()?Uo(t.uo(0),e):t;return n}function qo(){return No(),M}function Vo(){return No(),E}function Ho(){return No(),T}function Go(){return No(),S}function Wo(t,e,n){return t.f1k(e,n),function(t,e){var n=e;-1===(n=t.h1k(n))&&t.w1c(\\\"Expected escape sequence to continue, got EOF\\\",0,null,6,null);var r=t.g1k(),i=n;n=i+1|0;var o=mt(r,i);if(yt(new vt(o),new vt(gt(117))))return Zo(t,t.g1k(),n);var a=function(t){return t<117?Ma().q1k_1[t]:gt(0)}(Bn(o));if(yt(new vt(a),new vt(gt(0)))){var s=\\\"Invalid escaped char '\\\"+new vt(o)+\\\"'\\\";t.w1c(s,0,null,6,null)}return t.i19_1.d9(a),n}(t,n+1|0)}function Xo(t,e,n){t.f1k(e,n);var r=t.i19_1.toString();return t.i19_1.lj(0),r}function Yo(t){var e=ze(t.h19_1);return t.h19_1=null,e}function Zo(t,e,n){return(n+4|0)>=Me(e)?(t.f19_1=n,t.i1k(),(t.f19_1+4|0)>=Me(e)&&t.w1c(\\\"Unexpected EOF during unicode escape\\\",0,null,6,null),Zo(t,e,t.f19_1)):(t.i19_1.d9($n((((Ko(t,e,n)<<12)+(Ko(t,e,n+1|0)<<8)|0)+(Ko(t,e,n+2|0)<<4)|0)+Ko(t,e,n+3|0)|0)),n+4|0)}function Ko(t,e,n){var r,i=mt(e,n);if(gt(48)<=i&&i<=gt(57))r=Bn(i)-48|0;else if(gt(97)<=i&&i<=gt(102))r=10+(Bn(i)-97|0)|0;else if(gt(65)<=i&&i<=gt(70))r=10+(Bn(i)-65|0)|0;else{var o=\\\"Invalid toHexChar char '\\\"+new vt(i)+\\\"' in unicode escape\\\";t.w1c(o,0,null,6,null)}return r}function Jo(t,e){var n=t.h1k(e);(n>=Me(t.g1k())||-1===n)&&t.w1c(\\\"EOF\\\",0,null,6,null);var r=t.g1k(),i=n;n=i+1|0;var o,a=mt(r,i),s=32|Bn(a);if(116===s)Qo(t,\\\"rue\\\",n),o=!0;else if(102===s)Qo(t,\\\"alse\\\",n),o=!1;else{var l=\\\"Expected valid boolean literal prefix, but had '\\\"+t.y1d()+\\\"'\\\";t.w1c(l,0,null,6,null)}return o}function Qo(t,e,n){(Me(t.g1k())-n|0)<e.length&&t.w1c(\\\"Unexpected end of boolean literal\\\",0,null,6,null);var r=0,i=Me(e)-1|0;if(r<=i)do{var o=r;r=r+1|0;var a=mt(e,o),s=mt(t.g1k(),n+o|0);if(Bn(a)!==(32|Bn(s))){var l=\\\"Expected valid boolean literal prefix, but had '\\\"+t.y1d()+\\\"'\\\";t.w1c(l,0,null,6,null)}}while(r<=i);t.f19_1=n+e.length|0}function ta(){this.f19_1=0,this.g19_1=new Gi,this.h19_1=null,this.i19_1=At()}function ea(t){return Bn(t)<126?Ma().r1k_1[Bn(t)]:0}function na(){return L}function ra(){return P}function ia(){return R}function oa(){return D}function aa(){return $}function sa(){return B}function la(){return N}function ua(){return F}function ca(){return j}function ha(){return U}function pa(){return q}function fa(){return V}function da(){return H}function ma(){return G}function va(){return W}function ga(){return X}function ya(){return Y}function _a(){return Z}function ba(t,e,n){var r;yt(new vt(n),new vt(gt(117)))||(r=Bn(n),t.q1k_1[r]=$n(e))}function xa(t,e,n){return ba(t,Bn(e),n)}function wa(t,e,n){t.r1k_1[e]=n}function Aa(t,e,n){return wa(t,Bn(e),n)}function Ca(){J=this,this.q1k_1=ur(117),this.r1k_1=new Int8Array(126),function(t){var e=0;if(e<=31)do{var n=e;e=e+1|0,ba(t,n,gt(117))}while(e<=31);ba(t,8,gt(98)),ba(t,9,gt(116)),ba(t,10,gt(110)),ba(t,12,gt(102)),ba(t,13,gt(114)),xa(t,gt(47),gt(47)),xa(t,gt(34),gt(34)),xa(t,gt(92),gt(92))}(this),function(t){var e=0;if(e<=32)do{var n=e;e=e+1|0,wa(t,n,127)}while(e<=32);wa(t,9,3),wa(t,10,3),wa(t,13,3),wa(t,32,3),Aa(t,gt(44),4),Aa(t,gt(58),5),Aa(t,gt(123),6),Aa(t,gt(125),7),Aa(t,gt(91),8),Aa(t,gt(93),9),Aa(t,gt(34),1),Aa(t,gt(92),2)}(this)}function Ma(){return null==J&&new Ca,J}function Ea(){return Q}function Ta(t){ta.call(this),this.w1k_1=t}function Sa(t){return t.p18_1}function ka(){return et}function Oa(t){Mn.call(this),this.x1k_1=t,this.y1k_1=null}function Ia(){if(ot)return pt();ot=!0,nt=new Da(\\\"OBJ\\\",0),rt=new Da(\\\"MAP\\\",1),it=new Da(\\\"LIST\\\",2)}function La(t){var e=t.c1l_1;if(null!=e)return e;Kn(\\\"current\\\")}function Pa(){at=this}function za(){return null==at&&new Pa,at}function Ra(t,e){this.h1l_1=t,this.i1l_1=e,this.j1l_1=0}function Da(t,e){er.call(this,t,e)}function $a(t,e){var n;switch(e.z1_1){case 0:case 1:n={};break;case 2:n=[];break;default:jn()}return n}function Ba(){return Ia(),rt}function Na(){return Ia(),it}function Fa(t,e){Mn.call(this),this.z1k_1=t,this.a1l_1=e,this.b1l_1=za(),this.d1l_1=null,this.f1l_1=!1,this.g1l_1=null}function ja(){this.v18_1=dr(128)}function Ua(t){return mr(t)}vr.prototype=Object.create(yr.prototype),vr.prototype.constructor=vr,xr.prototype=Object.create(yr.prototype),xr.prototype.constructor=xr,Or.prototype=Object.create(Tr.prototype),Or.prototype.constructor=Or,Lr.prototype=Object.create(Tr.prototype),Lr.prototype.constructor=Lr,zr.prototype=Object.create(Tr.prototype),zr.prototype.constructor=zr,Rr.prototype=Object.create(zr.prototype),Rr.prototype.constructor=Rr,$r.prototype=Object.create(zr.prototype),$r.prototype.constructor=$r,bi.prototype=Object.create(_i.prototype),bi.prototype.constructor=bi,xi.prototype=Object.create(_i.prototype),xi.prototype.constructor=xi,Pi.prototype=Object.create(Ae.prototype),Pi.prototype.constructor=Pi,Ci.prototype=Object.create(Pi.prototype),Ci.prototype.constructor=Ci,Ti.prototype=Object.create(Pi.prototype),Ti.prototype.constructor=Ti,Zi.prototype=Object.create(qe.prototype),Zi.prototype.constructor=Zi,Ki.prototype=Object.create(qe.prototype),Ki.prototype.constructor=Ki,co.prototype=Object.create(ln.prototype),co.prototype.constructor=co,ho.prototype=Object.create(ln.prototype),ho.prototype.constructor=ho,po.prototype=Object.create(Mn.prototype),po.prototype.constructor=po,Ao.prototype=Object.create(Un.prototype),Ao.prototype.constructor=Ao,So.prototype=Object.create(Ao.prototype),So.prototype.constructor=So,ko.prototype=Object.create(Ao.prototype),ko.prototype.constructor=ko,Oo.prototype=Object.create(Ao.prototype),Oo.prototype.constructor=Oo,Io.prototype=Object.create(So.prototype),Io.prototype.constructor=Io,zo.prototype=Object.create(tr.prototype),zo.prototype.constructor=zo,Lo.prototype=Object.create(zo.prototype),Lo.prototype.constructor=Lo,Po.prototype=Object.create(Mn.prototype),Po.prototype.constructor=Po,Ro.prototype=Object.create(zo.prototype),Ro.prototype.constructor=Ro,Do.prototype=Object.create(zo.prototype),Do.prototype.constructor=Do,$o.prototype=Object.create(Lo.prototype),$o.prototype.constructor=$o,Fo.prototype=Object.create(er.prototype),Fo.prototype.constructor=Fo,Ta.prototype=Object.create(ta.prototype),Ta.prototype.constructor=Ta,Oa.prototype=Object.create(Mn.prototype),Oa.prototype.constructor=Oa,Da.prototype=Object.create(er.prototype),Da.prototype.constructor=Da,Fa.prototype=Object.create(Mn.prototype),Fa.prototype.constructor=Fa,vr.$metadata$=ut(\\\"Default\\\",void 0,void 0,void 0,void 0,yr.prototype),yr.prototype.q18=function(){return this.n18_1},yr.prototype.ar=function(){return this.o18_1},yr.prototype.r18=function(t,e){var n=new ja;try{return function(t,e,n,r){var i,o,a,s,l=qo(),u=[qo(),Vo(),Ho(),Go()].length;(i=e,o=t,a=l,s=Ne(Array(u),null),function(t,e,n,r,i){return po.call(i,function(t,e){return e.n18_1.b1a_1?new xi(t,e):new _i(t)}(t,e),e,n,r),i}(i,o,a,s,Object.create(po.prototype))).ds(n,r)}(this,n,t,e),n.toString()}finally{n.w18()}},yr.prototype.s18=function(t,e){var n=new Ta(e),r=new co(this,qo(),n,t.nn(),null).kq(t);return n.j19(),r},yr.prototype.t18=function(t,e){return function(t,e,n){var r,i,o={_v:null};return new Lo(t,(i=o,function(t){return i._v=t,pt()})).ds(n,e),null==o._v?Kn(\\\"result\\\"):r=o._v,r}(this,e,t)},yr.prototype.u18=function(t,e){return function(t,e,n){var r,i=e;return i instanceof Or?r=Mo(t,e,null,null,12):i instanceof Lr?r=new ko(t,e):i instanceof Rr||yt(i,Br())?r=new Oo(t,e instanceof zr?e:Ct()):jn(),r.kq(n)}(this,e,t)},yr.$metadata$=ht(\\\"Json\\\",[ct]),br.prototype.j1a=function(){return this.q19_1},br.prototype.v3=function(){if(this.s19_1&&\\\"type\\\"!==this.t19_1)throw dt(ft(\\\"Class discriminator should not be specified when array polymorphism is specified\\\"));if(this.p19_1){if(\\\" \\\"!==this.q19_1){var t,e;t:{for(var n=this.q19_1,r=0,i=n.length;r<i;){var o=mt(n,r);if(r=r+1|0,!(yt(new vt(o),new vt(gt(32)))||yt(new vt(o),new vt(gt(9)))||yt(new vt(o),new vt(gt(13)))||yt(new vt(o),new vt(gt(10))))){t=!1;break t}}t=!0}if(!t)throw e=\\\"Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had \\\"+this.q19_1,dt(ft(e))}}else if(\\\" \\\"!==this.q19_1)throw dt(ft(\\\"Indent should not be specified when default printing mode is used\\\"));return new Cr(this.k19_1,this.m19_1,this.n19_1,this.o19_1,this.p19_1,this.l19_1,this.q19_1,this.r19_1,this.s19_1,this.t19_1,this.u19_1,this.v19_1)},br.$metadata$=ht(\\\"JsonBuilder\\\"),xr.$metadata$=ht(\\\"JsonImpl\\\",void 0,void 0,void 0,void 0,yr.prototype),wr.$metadata$=ht(\\\"JsonClassDiscriminator\\\",[_t]),Ar.$metadata$=ht(\\\"JsonNames\\\",[_t]),Cr.prototype.k1a=function(){return this.z19_1},Cr.prototype.j1a=function(){return this.d1a_1},Cr.prototype.toString=function(){return\\\"JsonConfiguration(encodeDefaults=\\\"+this.x19_1+\\\", ignoreUnknownKeys=\\\"+this.y19_1+\\\", isLenient=\\\"+this.z19_1+\\\", allowStructuredMapKeys=\\\"+this.a1a_1+\\\", prettyPrint=\\\"+this.b1a_1+\\\", explicitNulls=\\\"+this.c1a_1+\\\", prettyPrintIndent='\\\"+this.d1a_1+\\\"', coerceInputValues=\\\"+this.e1a_1+\\\", useArrayPolymorphism=\\\"+this.f1a_1+\\\", classDiscriminator='\\\"+this.g1a_1+\\\"', allowSpecialFloatingPointValues=\\\"+this.h1a_1+\\\")\\\"},Cr.$metadata$=ht(\\\"JsonConfiguration\\\"),Mr.$metadata$=wt(\\\"JsonDecoder\\\",[bt,xt]),Er.$metadata$=ut(\\\"Companion\\\"),Tr.$metadata$=ht(\\\"JsonElement\\\",void 0,void 0,{0:Qr}),Sr.$metadata$=ut(\\\"Companion\\\"),Or.prototype.y=function(){return this.n1a_1.y()},Or.prototype.k3=function(){return this.n1a_1.k3()},Or.prototype.h=function(){return this.n1a_1.h()},Or.prototype.l3=function(){return this.n1a_1.l3()},Or.prototype.o1a=function(t){return this.n1a_1.e3(t)},Or.prototype.e3=function(t){return null!=t&&\\\"string\\\"==typeof t&&this.o1a(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Or.prototype.ga=function(t){return this.n1a_1.s(t)},Or.prototype.s=function(t){return null==t||\\\"string\\\"!=typeof t?null:this.ga(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Or.prototype.i=function(){return this.n1a_1.i()},Or.prototype.equals=function(t){return yt(this.n1a_1,t)},Or.prototype.hashCode=function(){return Mt(this.n1a_1)},Or.prototype.toString=function(){var t=this.n1a_1.y();return Et(t,\\\",\\\",\\\"{\\\",\\\"}\\\",0,null,kr,24,null)},Or.$metadata$=ht(\\\"JsonObject\\\",[Tt],void 0,{0:ni},void 0,Tr.prototype),Ir.$metadata$=ut(\\\"Companion\\\"),Lr.prototype.h=function(){return this.p1a_1.h()},Lr.prototype.q1a=function(t){return this.p1a_1.t1(t)},Lr.prototype.t1=function(t){return t instanceof Tr&&this.q1a(t instanceof Tr?t:Ct())},Lr.prototype.r1a=function(t){return this.p1a_1.u1(t)},Lr.prototype.u1=function(t){return this.r1a(t)},Lr.prototype.j=function(t){return this.p1a_1.j(t)},Lr.prototype.i=function(){return this.p1a_1.i()},Lr.prototype.e=function(){return this.p1a_1.e()},Lr.prototype.k=function(t){return this.p1a_1.k(t)},Lr.prototype.j2=function(t,e){return this.p1a_1.j2(t,e)},Lr.prototype.equals=function(t){return yt(this.p1a_1,t)},Lr.prototype.hashCode=function(){return Mt(this.p1a_1)},Lr.prototype.toString=function(){return Et(this.p1a_1,\\\",\\\",\\\"[\\\",\\\"]\\\",0,null,null,56,null)},Lr.$metadata$=ht(\\\"JsonArray\\\",[St],void 0,{0:oi},void 0,Tr.prototype),Pr.$metadata$=ut(\\\"Companion\\\"),zr.prototype.toString=function(){return this.t1a()},zr.$metadata$=ht(\\\"JsonPrimitive\\\",void 0,void 0,{0:si},void 0,Tr.prototype),Rr.prototype.s1a=function(){return this.u1a_1},Rr.prototype.t1a=function(){return this.v1a_1},Rr.prototype.toString=function(){var t;if(this.u1a_1){var e=At();yo(e,this.v1a_1),t=e.toString()}else t=this.v1a_1;return t},Rr.prototype.equals=function(t){return this===t||!(null==t||!kt(this).equals(kt(t)))&&(t instanceof Rr||Ct(),this.u1a_1===t.u1a_1&&this.v1a_1===t.v1a_1)},Rr.prototype.hashCode=function(){var t=0|this.u1a_1;return st(31,t)+Ot(this.v1a_1)|0},Rr.$metadata$=ht(\\\"JsonLiteral\\\",void 0,void 0,void 0,void 0,zr.prototype),$r.prototype.s1a=function(){return!1},$r.prototype.t1a=function(){return this.w1a_1},$r.prototype.y1a=function(){return this.x1a_1.w2()},$r.prototype.oy=function(t){return this.y1a()},$r.$metadata$=ut(\\\"JsonNull\\\",[Pt],void 0,{0:ui},void 0,zr.prototype),Hr.prototype.a1b=function(t,e){return this.z1a_1.b(t,e)},Hr.prototype.v3=function(){return new Or(this.z1a_1)},Hr.$metadata$=ht(\\\"JsonObjectBuilder\\\"),Jr.prototype.nn=function(){return this.g1b_1},Jr.prototype.h1b=function(t,e){fi(t);var n=e;n instanceof zr?t.ds(si(),e):n instanceof Or?t.ds(ni(),e):n instanceof Lr&&t.ds(oi(),e)},Jr.prototype.on=function(t,e){return this.h1b(t,e instanceof Tr?e:Ct())},Jr.prototype.pn=function(t){return di(t).m1a()},Jr.$metadata$=ut(\\\"JsonElementSerializer\\\",[Ut]),ti.prototype.po=function(){return this.i1b_1.po()},ti.prototype.qo=function(){return this.i1b_1.qo()},ti.prototype.ro=function(){return this.i1b_1.ro()},ti.prototype.ko=function(){return this.i1b_1.ko()},ti.prototype.so=function(){return this.i1b_1.so()},ti.prototype.to=function(t){return this.i1b_1.to(t)},ti.prototype.uo=function(t){return this.i1b_1.uo(t)},ti.prototype.vo=function(t){return this.i1b_1.vo(t)},ti.prototype.wo=function(t){return this.i1b_1.wo(t)},ti.prototype.xo=function(t){return this.i1b_1.xo(t)},ti.prototype.oo=function(){return this.j1b_1},ti.$metadata$=ut(\\\"JsonObjectDescriptor\\\",[Gt]),ei.prototype.nn=function(){return this.e1b_1},ei.prototype.k1b=function(t,e){fi(t),Ht(Vt(qt()),Qr()).on(t,e)},ei.prototype.on=function(t,e){return this.k1b(t,e instanceof Or?e:Ct())},ei.prototype.pn=function(t){return mi(t),new Or(Ht(Vt(qt()),Qr()).pn(t))},ei.$metadata$=ut(\\\"JsonObjectSerializer\\\",[Ut]),ri.prototype.po=function(){return this.l1b_1.po()},ri.prototype.qo=function(){return this.l1b_1.qo()},ri.prototype.ro=function(){return this.l1b_1.ro()},ri.prototype.ko=function(){return this.l1b_1.ko()},ri.prototype.so=function(){return this.l1b_1.so()},ri.prototype.to=function(t){return this.l1b_1.to(t)},ri.prototype.uo=function(t){return this.l1b_1.uo(t)},ri.prototype.vo=function(t){return this.l1b_1.vo(t)},ri.prototype.wo=function(t){return this.l1b_1.wo(t)},ri.prototype.xo=function(t){return this.l1b_1.xo(t)},ri.prototype.oo=function(){return this.m1b_1},ri.$metadata$=ut(\\\"JsonArrayDescriptor\\\",[Gt]),ii.prototype.nn=function(){return this.f1b_1},ii.prototype.n1b=function(t,e){fi(t),Wt(Qr()).on(t,e)},ii.prototype.on=function(t,e){return this.n1b(t,e instanceof Lr?e:Ct())},ii.prototype.pn=function(t){return mi(t),new Lr(Wt(Qr()).pn(t))},ii.$metadata$=ut(\\\"JsonArraySerializer\\\",[Ut]),ai.prototype.nn=function(){return this.b1b_1},ai.prototype.o1b=function(t,e){var n;if(fi(t),e instanceof $r)t.ds(ui(),Br()),n=pt();else{var r=pi();t.ds(r,e instanceof Rr?e:Ct()),n=pt()}return n},ai.prototype.on=function(t,e){return this.o1b(t,e instanceof zr?e:Ct())},ai.prototype.pn=function(t){var e=di(t).m1a();if(!(e instanceof zr))throw Si(-1,\\\"Unexpected JSON element, expected JsonPrimitive, had \\\"+kt(e),ft(e));return e},ai.$metadata$=ut(\\\"JsonPrimitiveSerializer\\\",[Ut]),li.prototype.nn=function(){return this.c1b_1},li.prototype.p1b=function(t,e){fi(t),t.gr()},li.prototype.on=function(t,e){return this.p1b(t,e instanceof $r?e:Ct())},li.prototype.pn=function(t){if(mi(t),t.wp())throw new Ti(\\\"Expected 'null' literal\\\");return t.xp(),Br()},li.$metadata$=ut(\\\"JsonNullSerializer\\\",[Ut]),hi.prototype.nn=function(){return this.d1b_1},hi.prototype.q1b=function(t,e){if(fi(t),e.u1a_1)return t.pr(e.v1a_1);var n=$t(e.t1a());if(null!=n)return t.lr(n);var r=Kt(e.v1a_1);if(null!=(null==r?null:new ee(r))){var i,o=t.rr(Qt(Jt()).nn());return i=te(r),o.lr(i),pt()}var a=Bt(e.t1a());if(null!=a)return t.nr(a);var s=Ur(e);if(null!=s)return t.hr(s);t.pr(e.v1a_1)},hi.prototype.on=function(t,e){return this.q1b(t,e instanceof Rr?e:Ct())},hi.prototype.pn=function(t){var e=di(t).m1a();if(!(e instanceof Rr))throw Si(-1,\\\"Unexpected JSON element, expected JsonLiteral, had \\\"+kt(e),ft(e));return e},hi.$metadata$=ut(\\\"JsonLiteralSerializer\\\",[Ut]),gi.prototype.oo=function(){return vi(this).oo()},gi.prototype.so=function(){return vi(this).so()},gi.prototype.qo=function(){return vi(this).qo()},gi.prototype.wo=function(t){return vi(this).wo(t)},gi.prototype.vo=function(t){return vi(this).vo(t)},gi.prototype.to=function(t){return vi(this).to(t)},gi.prototype.uo=function(t){return vi(this).uo(t)},gi.prototype.xo=function(t){return vi(this).xo(t)},gi.$metadata$=ht(void 0,[Gt]),yi.$metadata$=wt(\\\"JsonEncoder\\\",[ce,he]),_i.prototype.v1b=function(){this.u1b_1=!0},_i.prototype.w1b=function(){return pt()},_i.prototype.x1b=function(){this.u1b_1=!1},_i.prototype.y1b=function(){return pt()},_i.prototype.z1b=function(t){return this.t1b_1.a1c(t)},_i.prototype.b1c=function(t){return this.t1b_1.c1c(t)},_i.prototype.d1c=function(t){return this.t1b_1.c1c(t.toString())},_i.prototype.e1c=function(t){return this.t1b_1.c1c(t.toString())},_i.prototype.f1c=function(t){return this.t1b_1.g1c(pe(t))},_i.prototype.h1c=function(t){return this.t1b_1.g1c(pe(t))},_i.prototype.i1c=function(t){return this.t1b_1.g1c(pe(t))},_i.prototype.j1c=function(t){return this.t1b_1.g1c(t)},_i.prototype.k1c=function(t){return this.t1b_1.c1c(t.toString())},_i.prototype.l1c=function(t){return this.t1b_1.m1c(t)},_i.$metadata$=ht(\\\"Composer\\\"),bi.prototype.i1c=function(t){var e,n;this.p1c_1?(e=fe(t),this.l1c(de(e))):(n=fe(t),this.b1c(de(n)))},bi.prototype.j1c=function(t){var e,n;this.p1c_1?(e=me(t),this.l1c(ve(e))):(n=me(t),this.b1c(ve(n)))},bi.prototype.f1c=function(t){var e,n;this.p1c_1?(e=ge(t),this.l1c(ye(e))):(n=ge(t),this.b1c(ye(n)))},bi.prototype.h1c=function(t){var e,n;this.p1c_1?(e=_e(t),this.l1c(be(e))):(n=_e(t),this.b1c(be(n)))},bi.$metadata$=ht(\\\"ComposerForUnsignedNumbers\\\",void 0,void 0,void 0,void 0,_i.prototype),xi.prototype.v1b=function(){this.u1b_1=!0;var t=this.t1c_1;this.t1c_1=t+1|0},xi.prototype.w1b=function(){var t=this.t1c_1;this.t1c_1=t-1|0},xi.prototype.x1b=function(){this.u1b_1=!1,this.b1c(\\\"\\\\n\\\");var t=this.t1c_1,e=0;if(e<t)do{e=e+1|0,this.b1c(this.s1c_1.n18_1.d1a_1)}while(e<t)},xi.prototype.y1b=function(){this.z1b(gt(32))},xi.$metadata$=ht(\\\"ComposerWithPrettyPrint\\\",void 0,void 0,void 0,void 0,_i.prototype),wi.prototype.jw=function(t){this.u1c_1.jw(t)},wi.prototype.kw=function(){return this.u1c_1.kw()},wi.$metadata$=ht(\\\"JsonElementMarker\\\"),Ci.$metadata$=ht(\\\"JsonEncodingException\\\",void 0,void 0,void 0,void 0,Pi.prototype),Ti.$metadata$=ht(\\\"JsonDecodingException\\\",void 0,void 0,void 0,void 0,Pi.prototype),Pi.$metadata$=ht(\\\"JsonException\\\",void 0,void 0,void 0,void 0,Ae.prototype),qi.$metadata$=ut(\\\"Tombstone\\\"),Gi.prototype.d1d=function(t){var e=this;e.c1d_1=e.c1d_1+1|0;var n=e.c1d_1;n===this.a1d_1.length&&Hi(this),this.a1d_1[n]=t},Gi.prototype.e1d=function(t){this.b1d_1[this.c1d_1]=t},Gi.prototype.f1d=function(t){var e;if(-2!==this.b1d_1[this.c1d_1]){var n=this;n.c1d_1=n.c1d_1+1|0,e=n.c1d_1===this.a1d_1.length}else e=!1;e&&Hi(this),this.a1d_1[this.c1d_1]=t,this.b1d_1[this.c1d_1]=-2},Gi.prototype.g1d=function(){-2===this.b1d_1[this.c1d_1]&&(this.a1d_1[this.c1d_1]=Vi())},Gi.prototype.h1d=function(){var t=this.c1d_1;if(-2===this.b1d_1[t]){this.b1d_1[t]=-1;var e=this.c1d_1;this.c1d_1=e-1|0}if(-1!==this.c1d_1){var n=this.c1d_1;this.c1d_1=n-1|0}},Gi.prototype.i1d=function(){var t=At();t.f9(\\\"$\\\");var e=this.c1d_1+1|0,n=0;if(n<e)do{var r=n;n=n+1|0;var i=this.a1d_1[r];if(null!=i&&ne(i,Gt))if(yt(i.so(),Fe()))-1!==this.b1d_1[r]&&(t.f9(\\\"[\\\"),t.ra(this.b1d_1[r]),t.f9(\\\"]\\\"));else{var o=this.b1d_1[r];o>=0&&(t.f9(\\\".\\\"),t.f9(i.wo(o)))}else i!==Vi()&&(t.f9(\\\"[\\\"),t.f9(\\\"'\\\"),t.ra(i),t.f9(\\\"'\\\"),t.f9(\\\"]\\\"))}while(n<e);return t.toString()},Gi.prototype.toString=function(){return this.i1d()},Gi.$metadata$=ht(\\\"JsonPath\\\"),Wi.$metadata$=wt(\\\"JsonWriter\\\"),Zi.prototype.b1f=function(t,e,n){var r=this.c1f(t,e,n);return r.im_1=pt(),r.jm_1=null,r.pm()},Zi.prototype.fb=function(t,e,n){var r=t instanceof Ve?t:Ct();return this.b1f(r,e instanceof He?e:Ct(),n)},Zi.prototype.pm=function(){var t,e,n,r=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=3,this.z1e_1=this.w1e_1.r1d_1.v1d(),this.z1e_1===ra()){this.a1f_1=Yi(this.w1e_1,!0),this.gm_1=2;continue t}if(this.z1e_1===_a()){this.a1f_1=Yi(this.w1e_1,!1),this.gm_1=2;continue t}if(this.z1e_1===ia()){if(this.gm_1=1,t=this.x1e_1,e=this.w1e_1,n=void 0,(n=new Ki(e,t,this)).im_1=pt(),n.jm_1=null,(r=n.pm())===Ge())return r;continue t}if(this.z1e_1===ga()){this.a1f_1=Xi(this.w1e_1),this.gm_1=2;continue t}this.w1e_1.r1d_1.w1c(\\\"Can't begin reading element, unexpected token\\\",0,null,6,null);break;case 1:this.a1f_1=r,this.gm_1=2;continue t;case 2:return this.a1f_1;case 3:throw this.jm_1}}catch(t){if(3===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Zi.prototype.c1f=function(t,e,n){var r=new Zi(this.w1e_1,n);return r.x1e_1=t,r.y1e_1=e,r},Zi.$metadata$=ht(\\\"JsonTreeReader$readDeepRecursive$slambda\\\",void 0,void 0,void 0,[2],qe.prototype),Ki.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=5,this.l1e_1=this.j1e_1.r1d_1.u1d(ia()),this.j1e_1.r1d_1.v1d()===aa()&&this.j1e_1.r1d_1.w1c(\\\"Unexpected leading comma\\\",0,null,6,null),this.m1e_1=Nt(),this.gm_1=1;continue t;case 1:if(!this.j1e_1.r1d_1.w1d()){this.gm_1=4;continue t}if(this.n1e_1=this.j1e_1.s1d_1?this.j1e_1.r1d_1.y1d():this.j1e_1.r1d_1.x1d(),this.j1e_1.r1d_1.u1d(oa()),this.gm_1=2,(t=this.k1e_1.xa(pt(),this))===Ge())return t;continue t;case 2:var e=t;this.m1e_1.b(this.n1e_1,e),this.l1e_1=this.j1e_1.r1d_1.a1e();var n=this.l1e_1;if(n===aa()){this.gm_1=3;continue t}if(n===va()){this.gm_1=4;continue t}this.j1e_1.r1d_1.w1c(\\\"Expected end of the object or comma\\\",0,null,6,null);break;case 3:this.gm_1=1;continue t;case 4:return this.l1e_1===ia()?this.j1e_1.r1d_1.u1d(va()):this.l1e_1===aa()&&this.j1e_1.r1d_1.w1c(\\\"Unexpected trailing comma\\\",0,null,6,null),new Or(this.m1e_1);case 5:throw this.jm_1}}catch(t){if(5===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Ki.$metadata$=ht(\\\"$readObjectCOROUTINE$0\\\",void 0,void 0,void 0,void 0,qe.prototype),Ji.prototype.z1d=function(){var t,e=this.r1d_1.v1d();if(e===ra())t=Yi(this,!0);else if(e===_a())t=Yi(this,!1);else if(e===ia()){var n,r=this;r.t1d_1=r.t1d_1+1|0,n=200===r.t1d_1?Ue(new je(function(t,e){var n=new Zi(t,null),r=function(t,e,r){return n.b1f(t,e,r)};return r.$arity=2,r}(this)),pt()):function(t){var e=t.r1d_1.u1d(ia());t.r1d_1.v1d()===aa()&&t.r1d_1.w1c(\\\"Unexpected leading comma\\\",0,null,6,null);var n=Nt();t:for(;t.r1d_1.w1d();){var r=t.s1d_1?t.r1d_1.y1d():t.r1d_1.x1d();t.r1d_1.u1d(oa());var i=t.z1d();n.b(r,i);var o=e=t.r1d_1.a1e();if(o===aa());else{if(o===va())break t;t.r1d_1.w1c(\\\"Expected end of the object or comma\\\",0,null,6,null)}}return e===ia()?t.r1d_1.u1d(va()):e===aa()&&t.r1d_1.w1c(\\\"Unexpected trailing comma\\\",0,null,6,null),new Or(n)}(this);var i=n;this.t1d_1=this.t1d_1-1|0,t=i}else if(e===ga())t=Xi(this);else{var o=\\\"Cannot begin reading element, unexpected token: \\\"+e;this.r1d_1.w1c(o,0,null,6,null)}return t},Ji.$metadata$=ht(\\\"JsonTreeReader\\\"),ro.prototype.y17=function(t,e){},ro.prototype.b18=function(t,e,n){var r=n.nn();!function(t,e,n){var r=e.so();if(r instanceof nn||yt(r,rn()))throw dt(\\\"Serializer for \\\"+n.v8()+\\\" can't be registered as a subclass for polymorphic serialization because its kind \\\"+r+\\\" is not concrete. To work with multiple hierarchies, register it as a base class.\\\");if(t.e1f_1)return pt();if(yt(r,Fe())||yt(r,on())||r instanceof en||r instanceof tn)throw dt(\\\"Serializer for \\\"+n.v8()+\\\" of kind \\\"+r+\\\" cannot be serialized polymorphically with class discriminator.\\\")}(this,r,e),this.e1f_1||function(t,e,n){var r=0,i=e.qo();if(r<i)do{var o=r;r=r+1|0;var a=e.wo(o);if(a===t.f1f_1)throw dt(\\\"Polymorphic serializer for \\\"+n+\\\" has property '\\\"+a+\\\"' that conflicts with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism\\\")}while(r<i)}(this,r,e)},ro.prototype.c18=function(t,e){},ro.prototype.d18=function(t,e){},ro.$metadata$=ht(\\\"PolymorphismValidator\\\",[sn]),io.$metadata$=ht(\\\"Key\\\"),oo.prototype.g1f=function(t,e,n){var r,i=this.x1c_1,o=i.s(t);if(null==o){var a=Ua(1);i.b(t,a),r=a}else r=o;var s=r,l=e instanceof io?e:Ct(),u=Ze(n)?n:Ct();s.b(l,u)},oo.prototype.y1c=function(t,e,n){var r=this.h1f(t,e);if(null!=r)return r;var i=n();return this.g1f(t,e,i),i},oo.prototype.h1f=function(t,e){var n=this.x1c_1.s(t),r=null==n?null:n.s(e instanceof io?e:Ct());return Ze(r)?r:null},oo.$metadata$=ht(\\\"DescriptorSchemaCache\\\"),ao.$metadata$=ht(\\\"DiscriminatorHolder\\\"),co.prototype.l1a=function(){return this.x18_1},co.prototype.r1f=function(){return this.z18_1},co.prototype.ar=function(){return this.a19_1},co.prototype.m1a=function(){return new Ji(this.x18_1.n18_1,this.z18_1).z1d()},co.prototype.kq=function(t){try{if(!(t instanceof We)||this.x18_1.n18_1.f1a_1)return t.pn(this);var e=Qi(t.nn(),this.x18_1),n=this.z18_1.s1f(e,this.d19_1.z19_1),r=null;if(null!=n&&(r=t.do(this,n)),null==r)return to(this,ne(t,Ye)?t:Ct());this.c19_1=new ao(e);var i=r.pn(this);return Ze(i)?i:Ct()}catch(t){throw t instanceof cn?new cn(t.fo_1,un(t.message,\\\" at path: \\\")+this.z18_1.g19_1.i1d(),t):t}},co.prototype.lq=function(t){var e,n,r=jo(this.x18_1,t);switch(this.z18_1.g19_1.d1d(t),this.z18_1.j1f(r.v1f_1),(e=this).z18_1.v1d()===aa()&&e.z18_1.w1c(\\\"Unexpected leading comma\\\",0,null,6,null),r.z1_1){case 1:case 2:case 3:n=new co(this.x18_1,r,this.z18_1,t,this.c19_1);break;default:n=this.y18_1.equals(r)&&this.x18_1.n18_1.c1a_1?this:new co(this.x18_1,r,this.z18_1,t,this.c19_1)}return n},co.prototype.mq=function(t){this.x18_1.n18_1.y19_1&&0===t.qo()&&function(t,e){t:for(;;){var n=t.cr(e);if(ke(),-1===n)break t}}(this,t),this.z18_1.j1f(this.y18_1.w1f_1),this.z18_1.g19_1.h1d()},co.prototype.wp=function(){var t=this.e19_1,e=null==t?null:t.v1c_1;return(null==e||!e)&&this.z18_1.l1f()},co.prototype.xp=function(){return null},co.prototype.xq=function(t,e,n,r){var i=!!this.y18_1.equals(Ho())&&0==(1&e);i&&this.z18_1.g19_1.g1d();var o=ln.prototype.xq.call(this,t,e,n,r);return i&&this.z18_1.g19_1.f1d(o),o},co.prototype.cr=function(t){var e;switch(this.y18_1.z1_1){case 0:e=function(t,e){for(var n=t.z18_1.k1f();t.z18_1.w1d();){n=!1;var r=uo(t);t.z18_1.j1f(sa());var i,o=Bi(e,t.x18_1,r);if(ke(),-3!==o){if(!t.d19_1.e1a_1||!so(t,e,o)){var a=t.e19_1;return null==a||a.jw(o),o}n=t.z18_1.k1f(),i=!1}else i=!0;i&&(n=lo(t,r))}n&&t.z18_1.w1c(\\\"Unexpected trailing comma\\\",0,null,6,null);var s,l=t.e19_1,u=null==l?null:l.kw();return null==u?(ke(),s=-1):s=u,s}(this,t);break;case 2:e=function(t){var e,n=!1,r=!(0==(t.b19_1%2|0));if(r?-1!==t.b19_1&&(n=t.z18_1.k1f()):t.z18_1.j1f(sa()),t.z18_1.w1d()){if(r)if(-1===t.b19_1){var i=t.z18_1,o=!n,a=i.f19_1;o||i.w1c(\\\"Unexpected trailing comma\\\",a,null,4,null)}else{var s=t.z18_1,l=n,u=s.f19_1;l||s.w1c(\\\"Expected comma after the key-value pair\\\",u,null,4,null)}var c=t;c.b19_1=c.b19_1+1|0,e=c.b19_1}else n&&t.z18_1.w1c(\\\"Expected '}', but had ',' instead\\\",0,null,6,null),ke(),e=-1;return e}(this);break;default:e=function(t){var e,n=t.z18_1.k1f();if(t.z18_1.w1d()){-1===t.b19_1||n||t.z18_1.w1c(\\\"Expected end of the array or comma\\\",0,null,6,null);var r=t;r.b19_1=r.b19_1+1|0,e=r.b19_1}else n&&t.z18_1.w1c(\\\"Unexpected trailing comma\\\",0,null,6,null),ke(),e=-1;return e}(this)}return this.y18_1.equals(Ho())||this.z18_1.g19_1.e1d(e),e},co.prototype.yp=function(){return this.d19_1.z19_1?this.z18_1.y1f():this.z18_1.x1f()},co.prototype.zp=function(){var t=this.z18_1.z1f();if(!t.equals(pe(t.xl()))){var e=\\\"Failed to parse byte for input '\\\"+ft(t)+\\\"'\\\";this.z18_1.w1c(e,0,null,6,null)}return t.xl()},co.prototype.aq=function(){var t=this.z18_1.z1f();if(!t.equals(pe(t.yl()))){var e=\\\"Failed to parse short for input '\\\"+ft(t)+\\\"'\\\";this.z18_1.w1c(e,0,null,6,null)}return t.yl()},co.prototype.bq=function(){var t=this.z18_1.z1f();if(!t.equals(pe(t.ia()))){var e=\\\"Failed to parse int for input '\\\"+ft(t)+\\\"'\\\";this.z18_1.w1c(e,0,null,6,null)}return t.ia()},co.prototype.cq=function(){return this.z18_1.z1f()},co.prototype.dq=function(){var t;t:{var e=this.z18_1,n=e.y1d();try{t=Dt(n);break t}catch(t){if(!(t instanceof pn))throw t;var r=\\\"Failed to parse type 'float' for input '\\\"+n+\\\"'\\\";e.w1c(r,0,null,6,null)}}var i=t;if(this.x18_1.n18_1.h1a_1||fn(i))return i;Ai(this.z18_1,i)},co.prototype.eq=function(){var t;t:{var e=this.z18_1,n=e.y1d();try{t=Dt(n);break t}catch(t){if(!(t instanceof pn))throw t;var r=\\\"Failed to parse type 'double' for input '\\\"+n+\\\"'\\\";e.w1c(r,0,null,6,null)}}var i=t;if(this.x18_1.n18_1.h1a_1||dn(i))return i;Ai(this.z18_1,i)},co.prototype.fq=function(){var t=this.z18_1.y1d();if(1!==t.length){var e=\\\"Expected single char, but got '\\\"+t+\\\"'\\\";this.z18_1.w1c(e,0,null,6,null)}return mt(t,0)},co.prototype.gq=function(){return this.d19_1.z19_1?this.z18_1.q1f():this.z18_1.x1d()},co.prototype.iq=function(t){return fo(t)?new ho(this.z18_1,this.x18_1):ln.prototype.iq.call(this,t)},co.prototype.hq=function(t){return Ni(t,this.x18_1,this.gq(),\\\" at path \\\"+this.z18_1.g19_1.i1d())},co.$metadata$=ht(\\\"StreamingJsonDecoder\\\",[Mr],void 0,void 0,void 0,ln.prototype),ho.prototype.ar=function(){return this.b1g_1},ho.prototype.cr=function(t){throw re(\\\"unsupported\\\")},ho.prototype.bq=function(){var t;t:{var e=this.a1g_1,n=e.y1d();try{var r=gn(n);t=yn(r);break t}catch(t){if(!(t instanceof pn))throw t;var i=\\\"Failed to parse type 'UInt' for input '\\\"+n+\\\"'\\\";e.w1c(i,0,null,6,null)}}return t},ho.prototype.cq=function(){var t;t:{var e=this.a1g_1,n=e.y1d();try{var r=_n(n);t=te(r);break t}catch(t){if(!(t instanceof pn))throw t;var i=\\\"Failed to parse type 'ULong' for input '\\\"+n+\\\"'\\\";e.w1c(i,0,null,6,null)}}return t},ho.prototype.zp=function(){var t;t:{var e=this.a1g_1,n=e.y1d();try{var r=bn(n);t=xn(r);break t}catch(t){if(!(t instanceof pn))throw t;var i=\\\"Failed to parse type 'UByte' for input '\\\"+n+\\\"'\\\";e.w1c(i,0,null,6,null)}}return t},ho.prototype.aq=function(){var t;t:{var e=this.a1g_1,n=e.y1d();try{var r=wn(n);t=An(r);break t}catch(t){if(!(t instanceof pn))throw t;var i=\\\"Failed to parse type 'UShort' for input '\\\"+n+\\\"'\\\";e.w1c(i,0,null,6,null)}}return t},ho.$metadata$=ht(\\\"JsonDecoderForUnsignedTypes\\\",void 0,void 0,void 0,void 0,ln.prototype),po.prototype.l1a=function(){return this.k1d_1},po.prototype.ar=function(){return this.n1d_1},po.prototype.s1b=function(t){this.ds(Qr(),t)},po.prototype.is=function(t,e){return this.o1d_1.x19_1},po.prototype.ds=function(t,e){if(t instanceof We&&!this.l1a().n18_1.f1a_1){var n=t instanceof We?t:Ct(),r=Qi(t.nn(),this.l1a()),i=Ke(n,this,Ze(e)?e:Ct());no(n,i,r),eo(i.nn().so()),this.q1d_1=r,i.on(this,e)}else t.on(this,e),pt()},po.prototype.lq=function(t){var e=jo(this.k1d_1,t);if(yt(new vt(e.v1f_1),new vt(fa()))||(this.j1d_1.z1b(e.v1f_1),this.j1d_1.v1b()),null!=this.q1d_1&&(function(t,e){t.j1d_1.x1b(),t.pr(ze(t.q1d_1)),t.j1d_1.z1b(sa()),t.j1d_1.y1b(),t.pr(e.oo())}(this,t),this.q1d_1=null),this.l1d_1.equals(e))return this;var n=this.m1d_1,r=null==n?null:n[e.z1_1];return null==r?new po(this.j1d_1,this.k1d_1,e,this.m1d_1):r},po.prototype.mq=function(t){yt(new vt(this.l1d_1.w1f_1),new vt(fa()))||(this.j1d_1.w1b(),this.j1d_1.x1b(),this.j1d_1.z1b(this.l1d_1.w1f_1))},po.prototype.er=function(t,e){switch(this.l1d_1.z1_1){case 1:this.j1d_1.u1b_1||this.j1d_1.z1b(da()),this.j1d_1.x1b();break;case 2:var n;if(this.j1d_1.u1b_1)this.p1d_1=!0,this.j1d_1.x1b();else 0==(e%2|0)?(this.j1d_1.z1b(da()),this.j1d_1.x1b(),n=!0):(this.j1d_1.z1b(sa()),this.j1d_1.y1b(),n=!1),this.p1d_1=n;break;case 3:0===e&&(this.p1d_1=!0),1===e&&(this.j1d_1.z1b(da()),this.j1d_1.y1b(),this.p1d_1=!1);break;default:this.j1d_1.u1b_1||this.j1d_1.z1b(da()),this.j1d_1.x1b(),this.pr(t.wo(e)),this.j1d_1.z1b(sa()),this.j1d_1.y1b()}return!0},po.prototype.es=function(t,e,n,r){(null!=r||this.o1d_1.c1a_1)&&Mn.prototype.es.call(this,t,e,n,r)},po.prototype.rr=function(t){return fo(t)?new po((e=this).j1d_1 instanceof bi?e.j1d_1:new bi(e.j1d_1.t1b_1,e.p1d_1),this.k1d_1,this.l1d_1,null):Mn.prototype.rr.call(this,t);var e},po.prototype.gr=function(){this.j1d_1.b1c(ma())},po.prototype.hr=function(t){this.p1d_1?this.pr(t.toString()):this.j1d_1.k1c(t)},po.prototype.ir=function(t){this.p1d_1?this.pr(t.toString()):this.j1d_1.f1c(t)},po.prototype.jr=function(t){this.p1d_1?this.pr(t.toString()):this.j1d_1.h1c(t)},po.prototype.kr=function(t){this.p1d_1?this.pr(t.toString()):this.j1d_1.i1c(t)},po.prototype.lr=function(t){this.p1d_1?this.pr(t.toString()):this.j1d_1.j1c(t)},po.prototype.mr=function(t){if(this.p1d_1?this.pr(t.toString()):this.j1d_1.d1c(t),!this.o1d_1.h1a_1&&!fn(t))throw Li(t,ft(this.j1d_1.t1b_1))},po.prototype.nr=function(t){if(this.p1d_1?this.pr(t.toString()):this.j1d_1.e1c(t),!this.o1d_1.h1a_1&&!dn(t))throw Li(t,ft(this.j1d_1.t1b_1))},po.prototype.or=function(t){this.pr(En(t))},po.prototype.pr=function(t){return this.j1d_1.l1c(t)},po.prototype.qr=function(t,e){this.pr(t.wo(e))},po.$metadata$=ht(\\\"StreamingJsonEncoder\\\",[yi],void 0,void 0,void 0,Mn.prototype),Ao.prototype.l1a=function(){return this.e1g_1},Ao.prototype.w2=function(){return this.f1g_1},Ao.prototype.ar=function(){return this.l1a().ar()},Ao.prototype.m1a=function(){return bo(this)},Ao.prototype.kq=function(t){return to(this,t)},Ao.prototype.f14=function(t,e){return e},Ao.prototype.lq=function(t){var e,n=bo(this),r=t.so();if(yt(r,Fe())||r instanceof nn){var i=this.l1a();if(!(n instanceof Lr))throw Oi(-1,\\\"Expected \\\"+Xe(Lr)+\\\" as the serialized body of \\\"+t.oo()+\\\", but had \\\"+kt(n));e=new ko(i,n)}else if(yt(r,on())){var o,a=this.l1a(),s=Uo(t.uo(0),a.ar()),l=s.so();if(l instanceof en||yt(l,Yt())){var u=this.l1a();if(!(n instanceof Or))throw Oi(-1,\\\"Expected \\\"+Xe(Or)+\\\" as the serialized body of \\\"+t.oo()+\\\", but had \\\"+kt(n));o=new Io(u,n)}else{if(!a.n18_1.a1a_1)throw Mi(s);var c=this.l1a();if(!(n instanceof Lr))throw Oi(-1,\\\"Expected \\\"+Xe(Lr)+\\\" as the serialized body of \\\"+t.oo()+\\\", but had \\\"+kt(n));o=new ko(c,n)}e=o}else{var h=this.l1a();if(!(n instanceof Or))throw Oi(-1,\\\"Expected \\\"+Xe(Or)+\\\" as the serialized body of \\\"+t.oo()+\\\", but had \\\"+kt(n));e=Mo(h,n,null,null,12)}return e},Ao.prototype.mq=function(t){},Ao.prototype.wp=function(){return!(bo(this)instanceof $r)},Ao.prototype.i1g=function(t){var e=this.h1g(t),n=e instanceof zr?e:null;if(null==n)throw Si(-1,\\\"Expected JsonPrimitive at \\\"+t+\\\", found \\\"+e,ft(bo(this)));return n},Ao.prototype.j1g=function(t,e){return function(t,e,n,r,i,o){return Ni(t,e,n,\\\"\\\")}(e,this.l1a(),this.i1g(t).t1a())},Ao.prototype.n15=function(t,e){return this.j1g(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},Ao.prototype.k1g=function(t){return!(this.h1g(t)===Br())},Ao.prototype.d15=function(t){return this.k1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.l1g=function(t){var e,n=this.i1g(t);if(!this.l1a().n18_1.z19_1&&wo(n,0,\\\"boolean\\\").u1a_1)throw Si(-1,\\\"Boolean literal for key '\\\"+t+\\\"' should be unquoted.\\\\n\\\"+pa(),ft(bo(this)));try{var r=Ur(n);if(null==r)throw qn();var i,o=r;null==o?xo(this,\\\"boolean\\\"):i=o,e=i}catch(t){if(!(t instanceof pn))throw t;xo(this,\\\"boolean\\\")}return e},Ao.prototype.e15=function(t){return this.l1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.m1g=function(t){var e;t:{var n=this.i1g(t);try{var r,i=qr(n),o=Vn().rd_1,a=i<=Vn().sd_1&&o<=i?Fn(i):null;null==a?xo(this,\\\"byte\\\"):r=a,e=r;break t}catch(t){if(!(t instanceof pn))throw t;xo(this,\\\"byte\\\")}}return e},Ao.prototype.f15=function(t){return this.m1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.n1g=function(t){var e;t:{var n=this.i1g(t);try{var r,i=qr(n),o=Hn().zd_1,a=i<=Hn().ae_1&&o<=i?Gn(i):null;null==a?xo(this,\\\"short\\\"):r=a,e=r;break t}catch(t){if(!(t instanceof pn))throw t;xo(this,\\\"short\\\")}}return e},Ao.prototype.g15=function(t){return this.n1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.o1g=function(t){var e;t:{var n=this.i1g(t);try{var r,i=qr(n);null==i?xo(this,\\\"int\\\"):r=i,e=r;break t}catch(t){if(!(t instanceof pn))throw t;xo(this,\\\"int\\\")}}return e},Ao.prototype.h15=function(t){return this.o1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.p1g=function(t){var e;t:{var n=this.i1g(t);try{var r,i=Rt(n.t1a());null==i?xo(this,\\\"long\\\"):r=i,e=r;break t}catch(t){if(!(t instanceof pn))throw t;xo(this,\\\"long\\\")}}return e},Ao.prototype.i15=function(t){return this.p1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.q1g=function(t){var e,n;t:{var r=this.i1g(t);try{n=r.t1a();var i,o=Dt(n);null==o?xo(this,\\\"float\\\"):i=o,e=i;break t}catch(t){if(!(t instanceof pn))throw t;xo(this,\\\"float\\\")}}var a=e;if(this.l1a().n18_1.h1a_1||fn(a))return a;throw ki(a,t,ft(bo(this)))},Ao.prototype.j15=function(t){return this.q1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.r1g=function(t){var e;t:{var n=this.i1g(t);try{var r,i=Dt(n.t1a());null==i?xo(this,\\\"double\\\"):r=i,e=r;break t}catch(t){if(!(t instanceof pn))throw t;xo(this,\\\"double\\\")}}var o=e;if(this.l1a().n18_1.h1a_1||dn(o))return o;throw ki(o,t,ft(bo(this)))},Ao.prototype.k15=function(t){return this.r1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.s1g=function(t){var e;t:{var n=this.i1g(t);try{var r,i=Wn(n.t1a());null==(null==i?null:new vt(i))?xo(this,\\\"char\\\"):r=i,e=r;break t}catch(t){if(!(t instanceof pn))throw t;xo(this,\\\"char\\\")}}return e},Ao.prototype.l15=function(t){return this.s1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.t1g=function(t){var e=this.i1g(t);if(!this.l1a().n18_1.z19_1&&!wo(e,0,\\\"string\\\").u1a_1)throw Si(-1,\\\"String literal for key '\\\"+t+\\\"' should be quoted.\\\\n\\\"+pa(),ft(bo(this)));if(e instanceof $r)throw Si(-1,\\\"Unexpected 'null' value instead of string literal\\\",ft(bo(this)));return e.t1a()},Ao.prototype.m15=function(t){return this.t1g(null!=t&&\\\"string\\\"==typeof t?t:Ct())},Ao.prototype.u1g=function(t,e){return fo(e)?new ho(new Ta(this.i1g(t).t1a()),this.l1a()):Un.prototype.o15.call(this,t,e)},Ao.prototype.o15=function(t,e){return this.u1g(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},Ao.$metadata$=ht(\\\"AbstractJsonTreeDecoder\\\",[Mr],void 0,void 0,void 0,Un.prototype),So.prototype.w2=function(){return this.a1h_1},So.prototype.cr=function(t){for(;this.d1h_1<t.qo();){var e=this.d1h_1;this.d1h_1=e+1|0;var n=this.a14(t,e),r=this.d1h_1-1|0;this.e1h_1=!1;var i=this.w2();if(((ne(i,Tt)?i:Ct()).e3(n)||To(this,t,r))&&(!this.g1g_1.e1a_1||!Eo(this,t,r,n)))return r}return ke(),-1},So.prototype.wp=function(){return!this.e1h_1&&Ao.prototype.wp.call(this)},So.prototype.b14=function(t,e){var n=t.wo(e);if(!this.g1g_1.i1a_1)return n;if(this.w2().k3().t1(n))return n;var r,i,o,a,s=Sa(this.l1a()),l=$i(),u=s.y1c(t,l,(r=t,(i=function(){return Fi(r)}).callableName=\\\"buildAlternativeNamesMap\\\",i));t:{for(var c=this.w2().k3().e();c.f();){var h=c.g();if(u.s(h)===e){a=h;break t}}a=null}return null==(o=a)?n:o},So.prototype.h1g=function(t){return De(this.w2(),t)},So.prototype.lq=function(t){return t===this.c1h_1?this:Ao.prototype.lq.call(this,t)},So.prototype.mq=function(t){var e;if(!!this.g1g_1.y19_1||t.so()instanceof nn)return pt();if(this.g1g_1.i1a_1){var n,r=Qe(t),i=Sa(this.l1a()).h1f(t,$i()),o=null==i?null:i.k3();n=null==o?Xn():o,e=Yn(r,n)}else e=Qe(t);for(var a=e,s=this.w2().k3().e();s.f();){var l=s.g();if(!a.t1(l)&&l!==this.b1h_1)throw Ii(l,this.w2().toString())}},So.$metadata$=ht(\\\"JsonTreeDecoder\\\",void 0,void 0,void 0,void 0,Ao.prototype),ko.prototype.w2=function(){return this.k1h_1},ko.prototype.b14=function(t,e){return e.toString()},ko.prototype.h1g=function(t){return this.k1h_1.j(zt(t))},ko.prototype.cr=function(t){for(;this.m1h_1<(this.l1h_1-1|0);){var e=this.m1h_1;return this.m1h_1=e+1|0,this.m1h_1}return ke(),-1},ko.$metadata$=ht(\\\"JsonTreeListDecoder\\\",void 0,void 0,void 0,void 0,Ao.prototype),Oo.prototype.w2=function(){return this.s1h_1},Oo.prototype.cr=function(t){return 0},Oo.prototype.h1g=function(t){var e;if(t!==Bo())throw e=\\\"This input can only handle primitives with '\\\"+Bo()+\\\"' tag\\\",dt(ft(e));return this.s1h_1},Oo.$metadata$=ht(\\\"JsonPrimitiveDecoder\\\",void 0,void 0,void 0,void 0,Ao.prototype),Io.prototype.w2=function(){return this.d1i_1},Io.prototype.b14=function(t,e){var n=e/2|0;return this.e1i_1.j(n)},Io.prototype.cr=function(t){for(;this.g1i_1<(this.f1i_1-1|0);){var e=this.g1i_1;return this.g1i_1=e+1|0,this.g1i_1}return ke(),-1},Io.prototype.h1g=function(t){return 0==(this.g1i_1%2|0)?jr(t):De(this.d1i_1,t)},Io.prototype.mq=function(t){},Io.$metadata$=ht(\\\"JsonTreeMapDecoder\\\",void 0,void 0,void 0,void 0,So.prototype),Lo.prototype.s1i=function(t,e){this.r1i_1.b(t,e)},Lo.prototype.es=function(t,e,n,r){(null!=r||this.k1i_1.c1a_1)&&zo.prototype.es.call(this,t,e,n,r)},Lo.prototype.t1i=function(){return new Or(this.r1i_1)},Lo.$metadata$=ht(\\\"JsonTreeEncoder\\\",void 0,void 0,void 0,void 0,zo.prototype),Po.prototype.ar=function(){return this.h1j_1},Po.prototype.k1j=function(t){return this.i1j_1.s1i(this.j1j_1,new Rr(t,!1))},Po.prototype.kr=function(t){var e;return e=fe(t),this.k1j(de(e))},Po.prototype.lr=function(t){var e;return e=me(t),this.k1j(ve(e))},Po.prototype.ir=function(t){var e;return e=ge(t),this.k1j(ye(e))},Po.prototype.jr=function(t){var e;return e=_e(t),this.k1j(be(e))},Po.$metadata$=ht(void 0,void 0,void 0,void 0,void 0,Mn.prototype),zo.prototype.l1a=function(){return this.i1i_1},zo.prototype.ar=function(){return this.i1i_1.ar()},zo.prototype.s1b=function(t){this.ds(Qr(),t)},zo.prototype.is=function(t,e){return this.k1i_1.x19_1},zo.prototype.f14=function(t,e){return e},zo.prototype.gs=function(){},zo.prototype.gr=function(){var t=this.e14();if(null==t)return this.j1i_1(Br());var e=t;this.u1i(e)},zo.prototype.u1i=function(t){return this.s1i(t,Br())},zo.prototype.i14=function(t){return this.u1i(null!=t&&\\\"string\\\"==typeof t?t:Ct())},zo.prototype.v1i=function(t,e){return this.s1i(t,Nr(e))},zo.prototype.j14=function(t,e){return this.v1i(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.w1i=function(t,e){return this.s1i(t,Nr(e))},zo.prototype.k14=function(t,e){return this.w1i(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.x1i=function(t,e){return this.s1i(t,Nr(e))},zo.prototype.l14=function(t,e){return this.x1i(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.y1i=function(t,e){return this.s1i(t,Nr(e))},zo.prototype.m14=function(t,e){return this.y1i(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.z1i=function(t,e){if(this.s1i(t,Nr(e)),!this.k1i_1.h1a_1&&!fn(e))throw Ei(e,t,ft(this.t1i()))},zo.prototype.n14=function(t,e){return this.z1i(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.ds=function(t,e){if(null==this.e14()&&((a=Uo(t.nn(),this.ar())).so()instanceof en||a.so()===Yt())){var n=new Ro(this.i1i_1,this.j1i_1);n.ds(t,e),n.u14(t.nn())}else if(t instanceof We&&!this.l1a().n18_1.f1a_1){var r=t instanceof We?t:Ct(),i=Qi(t.nn(),this.l1a()),o=Ke(r,this,Ze(e)?e:Ct());no(r,o,i),eo(o.nn().so()),this.l1i_1=i,o.on(this,e)}else t.on(this,e),pt();var a},zo.prototype.a1j=function(t,e){if(this.s1i(t,Nr(e)),!this.k1i_1.h1a_1&&!dn(e))throw Ei(e,t,ft(this.t1i()))},zo.prototype.o14=function(t,e){return this.a1j(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.b1j=function(t,e){return this.s1i(t,Fr(e))},zo.prototype.p14=function(t,e){return this.b1j(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.c1j=function(t,e){return this.s1i(t,jr(En(e)))},zo.prototype.q14=function(t,e){return this.c1j(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.d1j=function(t,e){return this.s1i(t,jr(e))},zo.prototype.r14=function(t,e){return this.d1j(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.e1j=function(t,e,n){return this.s1i(t,jr(e.wo(n)))},zo.prototype.s14=function(t,e,n){return this.e1j(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e,n)},zo.prototype.f1j=function(t,e){this.s1i(t,jr(ft(e)))},zo.prototype.g14=function(t,e){return this.f1j(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.g1j=function(t,e){return fo(e)?new Po(this,t):tr.prototype.t14.call(this,t,e)},zo.prototype.t14=function(t,e){return this.g1j(null!=t&&\\\"string\\\"==typeof t?t:Ct(),e)},zo.prototype.lq=function(t){var e,n;null==this.e14()?e=this.j1i_1:(n=this,e=function(t){return n.s1i(n.v14(),t),pt()});var r,i=e,o=t.so();if(yt(o,Fe())||o instanceof nn)r=new Do(this.i1i_1,i);else if(yt(o,on())){var a,s=this.i1i_1,l=Uo(t.uo(0),s.ar()),u=l.so();if(u instanceof en||yt(u,Yt()))a=new $o(this.i1i_1,i);else{if(!s.n18_1.a1a_1)throw Mi(l);a=new Do(this.i1i_1,i)}r=a}else r=new Lo(this.i1i_1,i);var c=r;return null!=this.l1i_1&&(c.s1i(ze(this.l1i_1),jr(t.oo())),this.l1i_1=null),c},zo.prototype.u14=function(t){this.j1i_1(this.t1i())},zo.$metadata$=ht(\\\"AbstractJsonTreeEncoder\\\",[yi],void 0,void 0,void 0,tr.prototype),Ro.prototype.s1i=function(t,e){if(\\\"primitive\\\"!==t)throw dt(ft(\\\"This output can only consume primitives with 'primitive' tag\\\"));if(null!=this.q1j_1)throw dt(ft(\\\"Primitive element was already recorded. Does call to .encodeXxx happen more than once?\\\"));this.q1j_1=e},Ro.prototype.t1i=function(){var t=this.q1j_1;if(null==t)throw dt(ft(\\\"Primitive element has not been recorded. Is call to .encodeXxx is missing in serializer?\\\"));return t},Ro.$metadata$=ht(\\\"JsonPrimitiveEncoder\\\",void 0,void 0,void 0,void 0,zo.prototype),Do.prototype.b14=function(t,e){return e.toString()},Do.prototype.s1i=function(t,e){var n=zt(t);this.w1j_1.hf(n,e)},Do.prototype.t1i=function(){return new Lr(this.w1j_1)},Do.$metadata$=ht(\\\"JsonTreeListEncoder\\\",void 0,void 0,void 0,void 0,zo.prototype),$o.prototype.s1i=function(t,e){if(this.e1k_1){var n,r=e;if(r instanceof zr)n=e.t1a();else{if(r instanceof Or)throw Mi(ni().e1b_1);if(r instanceof Lr)throw Mi(oi().f1b_1);jn()}this.d1k_1=n,this.e1k_1=!1}else{var i=this.r1i_1,o=function(t){var e=t.d1k_1;if(null!=e)return e;Kn(\\\"tag\\\")}(this);i.b(o,e),this.e1k_1=!0}},$o.prototype.t1i=function(){return new Or(this.r1i_1)},$o.$metadata$=ht(\\\"JsonTreeMapEncoder\\\",void 0,void 0,void 0,void 0,Lo.prototype),Fo.$metadata$=ht(\\\"WriteMode\\\",void 0,void 0,void 0,void 0,er.prototype),ta.prototype.i1k=function(){},ta.prototype.j1k=function(t){var e=t;return!(yt(new vt(e),new vt(gt(125)))||yt(new vt(e),new vt(gt(93)))||yt(new vt(e),new vt(gt(58)))||yt(new vt(e),new vt(gt(44))))},ta.prototype.j19=function(){if(10!==this.a1e()){var t=\\\"Expected EOF after parsing, but had \\\"+new vt(mt(this.g1k(),this.f19_1-1|0))+\\\" instead\\\";this.w1c(t,0,null,6,null)}},ta.prototype.u1d=function(t){var e=this.a1e();return e!==t&&this.k1k(t),e},ta.prototype.j1f=function(t){this.i1k();for(var e=this.g1k(),n=this.f19_1;-1!==(n=this.h1k(n));){var r=n;n=r+1|0;var i=mt(e,r);if(!(yt(new vt(i),new vt(gt(32)))||yt(new vt(i),new vt(gt(10)))||yt(new vt(i),new vt(gt(13)))||yt(new vt(i),new vt(gt(9))))){if(this.f19_1=n,yt(new vt(i),new vt(t)))return pt();this.l1k(t)}}this.f19_1=n,this.l1k(t)},ta.prototype.l1k=function(t){this.f19_1=this.f19_1-1|0,this.f19_1>=0&&yt(new vt(t),new vt(gt(34)))&&\\\"null\\\"===this.y1d()&&this.m1k(\\\"Expected string literal but 'null' literal was found\\\",this.f19_1-4|0,\\\"Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.\\\"),this.k1k(ea(t))},ta.prototype.k1k=function(t){var e=\\\"Expected \\\"+(1===t?\\\"quotation mark '\\\\\\\"'\\\":4===t?\\\"comma ','\\\":5===t?\\\"colon ':'\\\":6===t?\\\"start of the object '{'\\\":7===t?\\\"end of the object '}'\\\":8===t?\\\"start of the array '['\\\":9===t?\\\"end of the array ']'\\\":\\\"valid token\\\")+\\\", but had '\\\"+(this.f19_1===Me(this.g1k())||this.f19_1<=0?\\\"EOF\\\":En(mt(this.g1k(),this.f19_1-1|0)))+\\\"' instead\\\",n=this.f19_1-1|0;this.w1c(e,n,null,4,null)},ta.prototype.v1d=function(){for(var t=this.g1k(),e=this.f19_1;-1!==(e=this.h1k(e));){var n=mt(t,e);if(!(yt(new vt(n),new vt(gt(32)))||yt(new vt(n),new vt(gt(10)))||yt(new vt(n),new vt(gt(13)))||yt(new vt(n),new vt(gt(9)))))return this.f19_1=e,ea(n);e=e+1|0}return this.f19_1=e,10},ta.prototype.l1f=function(){var t=this.n1k();t=this.h1k(t);var e=Me(this.g1k())-t|0;if(e<4||-1===t)return!0;var n=0;if(n<=3)do{var r=n;if(n=n+1|0,!yt(new vt(mt(\\\"null\\\",r)),new vt(mt(this.g1k(),t+r|0))))return!0}while(n<=3);return e>4&&0===ea(mt(this.g1k(),t+4|0))||(this.f19_1=t+4|0,!1)},ta.prototype.n1k=function(){var t=this.f19_1;t:for(;-1!==(t=this.h1k(t));){var e=mt(this.g1k(),t);if(!(yt(new vt(e),new vt(gt(32)))||yt(new vt(e),new vt(gt(10)))||yt(new vt(e),new vt(gt(13)))||yt(new vt(e),new vt(gt(9)))))break t;t=t+1|0}return this.f19_1=t,t},ta.prototype.m1f=function(t){var e,n=this.v1d();if(t){if(1!==n&&0!==n)return null;e=this.y1d()}else{if(1!==n)return null;e=this.x1d()}var r=e;return this.h19_1=r,r},ta.prototype.o1k=function(t,e){var n=this.g1k();return ft(Ee(n,t,e))},ta.prototype.x1d=function(){return null!=this.h19_1?Yo(this):this.p1f()},ta.prototype.consumeString2=function(t,e,n){for(var r=n,i=e,o=mt(t,r),a=!1;!yt(new vt(o),new vt(gt(34)));){if(yt(new vt(o),new vt(gt(92)))){if(a=!0,-1===(r=this.h1k(Wo(this,i,r)))){var s=r;this.w1c(\\\"EOF\\\",s,null,4,null)}i=r}else if((r=r+1|0)>=Me(t)){if(a=!0,this.f1k(i,r),-1===(r=this.h1k(r))){var l=r;this.w1c(\\\"EOF\\\",l,null,4,null)}i=r}o=mt(t,r)}var u=a?Xo(this,i,r):this.o1k(i,r);return this.f19_1=r+1|0,u},ta.prototype.q1f=function(){var t,e=this.y1d();return\\\"null\\\"!==e||yt(new vt(mt((t=this).g1k(),t.f19_1-1|0)),new vt(gt(34)))||this.w1c(\\\"Unexpected 'null' value instead of string literal\\\",0,null,6,null),e},ta.prototype.y1d=function(){if(null!=this.h19_1)return Yo(this);var t=this.n1k();if(t>=Me(this.g1k())||-1===t){var e=t;this.w1c(\\\"EOF\\\",e,null,4,null)}var n=ea(mt(this.g1k(),t));if(1===n)return this.x1d();if(0!==n){var r=\\\"Expected beginning of the string, but got \\\"+new vt(mt(this.g1k(),t));this.w1c(r,0,null,6,null)}for(var i=!1;0===ea(mt(this.g1k(),t));)if((t=t+1|0)>=Me(this.g1k())){i=!0,this.f1k(this.f19_1,t);var o=this.h1k(t);if(-1===o)return this.f19_1=t,Xo(this,0,0);t=o}var a=i?Xo(this,this.f19_1,t):this.o1k(this.f19_1,t);return this.f19_1=t,a},ta.prototype.f1k=function(t,e){this.i19_1.kj(this.g1k(),t,e)},ta.prototype.p1k=function(t,e,n){if(!t){var r=n();this.w1c(r,e,null,4,null)}},ta.prototype.o1f=function(t){var e=Ie(),n=this.v1d();if(8!==n&&6!==n)return this.y1d(),pt();for(;;)if(1!==(n=this.v1d())){var r=n;if(8===r||6===r)e.a(n);else if(9===r){if(8!==rr(e))throw Si(this.f19_1,\\\"found ] instead of } at path: \\\"+this.g19_1,this.g1k());ir(e)}else if(7===r){if(6!==rr(e))throw Si(this.f19_1,\\\"found } instead of ] at path: \\\"+this.g19_1,this.g1k());ir(e)}else 10===r&&this.w1c(\\\"Unexpected end of input due to malformed JSON during ignoring unknown keys\\\",0,null,6,null);if(this.a1e(),0===e.h())return pt()}else t?this.y1d():this.p1f()},ta.prototype.toString=function(){return\\\"JsonReader(source='\\\"+this.g1k()+\\\"', currentPosition=\\\"+this.f19_1+\\\")\\\"},ta.prototype.n1f=function(t){var e=this.o1k(0,this.f19_1),n=or(e,t,0,!1,6,null);this.m1k(\\\"Encountered an unknown key '\\\"+t+\\\"'\\\",n,\\\"Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.\\\")},ta.prototype.m1k=function(t,e,n){var r=0===Me(n)?\\\"\\\":\\\"\\\\n\\\"+n;throw Si(e,t+\\\" at path: \\\"+this.g19_1.i1d()+r,this.g1k())},ta.prototype.w1c=function(t,e,n,r,i){return 0!=(2&r)&&(e=this.f19_1),0!=(4&r)&&(n=\\\"\\\"),this.m1k(t,e,n)},ta.prototype.z1f=function(){var t,e=this.n1k();((e=this.h1k(e))>=Me(this.g1k())||-1===e)&&this.w1c(\\\"EOF\\\",0,null,6,null),yt(new vt(mt(this.g1k(),e)),new vt(gt(34)))?((e=e+1|0)===Me(this.g1k())&&this.w1c(\\\"EOF\\\",0,null,6,null),t=!0):t=!1;var n,r=t,i=new ar(0,0),o=!1,a=e,s=!0;t:for(;s;){var l=mt(this.g1k(),e);if(yt(new vt(l),new vt(gt(45))))e!==a&&this.w1c(\\\"Unexpected symbol '-' in numeric literal\\\",0,null,6,null),o=!0,e=e+1|0;else{if(0!==ea(l))break t;s=!((e=e+1|0)===Me(this.g1k()));var u=sr(l,gt(48));if(!(0<=u&&u<=9)){var c=\\\"Unexpected symbol '\\\"+new vt(l)+\\\"' in numeric literal\\\";this.w1c(c,0,null,6,null)}(i=i.i9(new ar(10,0)).k9(pe(u))).k1(new ar(0,0))>0&&this.w1c(\\\"Numeric value overflow\\\",0,null,6,null)}}if((a===e||o&&a===(e-1|0))&&this.w1c(\\\"Expected numeric literal\\\",0,null,6,null),r&&(s||this.w1c(\\\"EOF\\\",0,null,6,null),yt(new vt(mt(this.g1k(),e)),new vt(gt(34)))||this.w1c(\\\"Expected closing quotation mark\\\",0,null,6,null),e=e+1|0),this.f19_1=e,o)n=i;else{var h=i;lr(),h.equals(new ar(0,-2147483648))?this.w1c(\\\"Numeric value overflow\\\",0,null,6,null):n=i.g9()}return n},ta.prototype.x1f=function(){return Jo(this,this.n1k())},ta.prototype.y1f=function(){var t,e=this.n1k();e===Me(this.g1k())&&this.w1c(\\\"EOF\\\",0,null,6,null),yt(new vt(mt(this.g1k(),e)),new vt(gt(34)))?(e=e+1|0,t=!0):t=!1;var n=t,r=Jo(this,e);return n&&(this.f19_1===Me(this.g1k())&&this.w1c(\\\"EOF\\\",0,null,6,null),yt(new vt(mt(this.g1k(),this.f19_1)),new vt(gt(34)))||this.w1c(\\\"Expected closing quotation mark\\\",0,null,6,null),this.f19_1=this.f19_1+1|0),r},ta.$metadata$=ht(\\\"AbstractJsonLexer\\\"),Ca.$metadata$=ut(\\\"CharMappings\\\"),Ta.prototype.g1k=function(){return this.w1k_1},Ta.prototype.h1k=function(t){return t<this.w1k_1.length?t:-1},Ta.prototype.a1e=function(){for(var t=this.w1k_1;-1!==this.f19_1&&this.f19_1<t.length;){var e=this.f19_1;this.f19_1=e+1|0;var n=ea(mt(t,e));if(n!==O)return n}return I},Ta.prototype.k1f=function(){var t=this.n1k();return t!==this.w1k_1.length&&-1!==t&&(!!yt(new vt(mt(this.w1k_1,t)),new vt(gt(44)))&&(this.f19_1=this.f19_1+1|0,!0))},Ta.prototype.w1d=function(){var t=this.f19_1;if(-1===t)return!1;for(;t<this.w1k_1.length;){var e=mt(this.w1k_1,t);if(!(yt(new vt(e),new vt(gt(32)))||yt(new vt(e),new vt(gt(10)))||yt(new vt(e),new vt(gt(13)))||yt(new vt(e),new vt(gt(9)))))return this.f19_1=t,this.j1k(e);t=t+1|0}return this.f19_1=t,!1},Ta.prototype.n1k=function(){var t=this.f19_1;if(-1===t)return t;t:for(;t<this.w1k_1.length;){var e=mt(this.w1k_1,t);if(!(yt(new vt(e),new vt(gt(32)))||yt(new vt(e),new vt(gt(10)))||yt(new vt(e),new vt(gt(13)))||yt(new vt(e),new vt(gt(9)))))break t;t=t+1|0}return this.f19_1=t,t},Ta.prototype.j1f=function(t){-1===this.f19_1&&this.l1k(t);for(var e=this.w1k_1;this.f19_1<e.length;){var n=this.f19_1;this.f19_1=n+1|0;var r=mt(e,n);if(!(yt(new vt(r),new vt(gt(32)))||yt(new vt(r),new vt(gt(10)))||yt(new vt(r),new vt(gt(13)))||yt(new vt(r),new vt(gt(9))))){if(yt(new vt(r),new vt(t)))return pt();this.l1k(t)}}this.l1k(t)},Ta.prototype.p1f=function(){this.j1f(na());var t=this.f19_1,e=gt(34),n=cr(this.w1k_1,e,t,!1,4,null);-1===n&&this.k1k(ra());var r=t;if(r<n)do{var i=r;if(r=r+1|0,yt(new vt(mt(this.w1k_1,i)),new vt(z)))return this.consumeString2(this.w1k_1,this.f19_1,i)}while(r<n);return this.f19_1=n+1|0,this.w1k_1.substring(t,n)},Ta.prototype.s1f=function(t,e){var n=this.f19_1;try{return this.a1e()!==ia()?null:(e?this.p1f():this.q1f())===t?this.a1e()!==oa()?null:e?this.x1d():this.q1f():null}finally{this.f19_1=n}},Ta.$metadata$=ht(\\\"StringJsonLexer\\\",void 0,void 0,void 0,void 0,ta.prototype),Oa.prototype.l1a=function(){return this.x1k_1},Oa.prototype.ar=function(){return this.x1k_1.ar()},Oa.prototype.gr=function(){this.y1k_1=null},Oa.prototype.lr=function(t){var e=t.pd();if(!this.x1k_1.n18_1.z19_1&&hr(t).pd()>ka())throw dt(ft(t)+\\\" can't be deserialized to number due to a potential precision loss. Use the JsonConfiguration option isLenient to serialize anyway\\\");this.fr(e)},Oa.prototype.or=function(t){this.fr(En(t))},Oa.prototype.fr=function(t){this.y1k_1=t},Oa.prototype.qr=function(t,e){this.fr(t.wo(e))},Oa.prototype.mq=function(t){},Oa.prototype.s1b=function(t){this.ds(Qr(),t)},Oa.$metadata$=ht(\\\"DynamicPrimitiveEncoder\\\",[yi],void 0,void 0,void 0,Mn.prototype),Pa.$metadata$=ut(\\\"NoOutputMark\\\"),Ra.prototype.l1l=function(){var t=this.k1l_1;if(null!=t)return t;Kn(\\\"parent\\\")},Ra.$metadata$=ht(\\\"Node\\\"),Da.$metadata$=ht(\\\"WriteMode\\\",void 0,void 0,void 0,void 0,er.prototype),Fa.prototype.l1a=function(){return this.z1k_1},Fa.prototype.ar=function(){return this.z1k_1.ar()},Fa.prototype.er=function(t,e){var n;(La(this).j1l_1=e,this.e1l_1=t,La(this).h1l_1.equals(Ba()))?this.f1l_1=0==(La(this).j1l_1%2|0):(n=!!La(this).h1l_1.equals(Na())&&t.so()instanceof nn,this.d1l_1=n?e.toString():t.wo(e));return!0},Fa.prototype.fr=function(t){this.f1l_1?this.d1l_1=ft(t):this.b1l_1===za()?this.b1l_1=t:La(this).i1l_1[this.d1l_1]=t},Fa.prototype.or=function(t){this.fr(En(t))},Fa.prototype.gr=function(){if(this.f1l_1)this.d1l_1=null;else{if(this.a1l_1)return pt();La(this).i1l_1[this.d1l_1]=null}},Fa.prototype.qr=function(t,e){this.fr(t.wo(e))},Fa.prototype.lr=function(t){var e=t.pd(),n=Math.abs(e)>ka();if(!this.z1k_1.n18_1.z19_1&&n)throw dt(ft(t)+\\\" can't be serialized to number due to a potential precision loss. Use the JsonConfiguration option isLenient to serialize anyway\\\");if(this.f1l_1&&n)throw dt(\\\"Long with value \\\"+ft(t)+\\\" can't be used in json as map key, because its value is larger than Number.MAX_SAFE_INTEGER\\\");this.fr(e)},Fa.prototype.mr=function(t){this.nr(t)},Fa.prototype.nr=function(t){if(this.f1l_1){var e=!(Math.floor(t)===t);if(!dn(t)||e)throw dt(\\\"Double with value \\\"+t+\\\" can't be used in json as map key, because its value is not an integer.\\\")}this.fr(t)},Fa.prototype.es=function(t,e,n,r){(null!=r||this.z1k_1.n18_1.c1a_1)&&Mn.prototype.es.call(this,t,e,n,r)},Fa.prototype.s1b=function(t){this.ds(Qr(),t)},Fa.prototype.is=function(t,e){return this.z1k_1.n18_1.x19_1},Fa.prototype.ds=function(t,e){if(t instanceof We&&!this.l1a().n18_1.f1a_1){var n=t instanceof We?t:Ct(),r=Qi(t.nn(),this.l1a()),i=Ke(n,this,Ze(e)?e:Ct());no(n,i,r),eo(i.nn().so()),this.g1l_1=r,i.on(this,e)}else t.on(this,e),pt()},Fa.prototype.lq=function(t){if(this.f1l_1)throw dt(\\\"Value of type \\\"+t.oo()+\\\" can't be used in json as map key. It should have either primitive or enum kind, but its kind is \\\"+t.so()+\\\".\\\");var e=this.m1l(t);if(this.b1l_1===za())this.b1l_1=$a(0,e),this.c1l_1=new Ra(e,this.b1l_1),La(this).k1l_1=La(this);else{var n=$a(0,e);La(this).i1l_1[this.d1l_1]=n,function(t,e,n){var r=new Ra(n,e);r.k1l_1=La(t),t.c1l_1=r}(this,n,e)}return null!=this.g1l_1&&(La(this).i1l_1[ze(this.g1l_1)]=t.oo(),this.g1l_1=null),La(this).j1l_1=0,this},Fa.prototype.mq=function(t){var e;(e=this).c1l_1=La(e).l1l(),e.f1l_1=!1},Fa.prototype.m1l=function(t){var e,n=t.so();if(yt(n,fr())||yt(n,pr())||yt(n,rn()))Ia(),e=nt;else if(yt(n,Fe())||n instanceof nn)e=Na();else if(yt(n,on()))e=Ba();else{if(n instanceof en||yt(n,Yt()))throw re(\\\"DynamicObjectSerializer does not support serialization of singular primitive values or enum types.\\\");jn()}return e},Fa.$metadata$=ht(\\\"DynamicObjectEncoder\\\",[yi],void 0,void 0,void 0,Mn.prototype),ja.prototype.g1c=function(t){this.v18_1.ra(t)},ja.prototype.a1c=function(t){this.v18_1.d9(t)},ja.prototype.c1c=function(t){this.v18_1.f9(t)},ja.prototype.m1c=function(t){yo(this.v18_1,t)},ja.prototype.w18=function(){this.v18_1.mj()},ja.prototype.toString=function(){return this.v18_1.toString()},ja.$metadata$=ht(\\\"JsonToStringWriter\\\",[Wi]),gi.prototype.ko=oe,gi.prototype.ro=ae,gi.prototype.po=se,ro.prototype.a18=an,co.prototype.yq=hn,co.prototype.br=mn,co.prototype.dr=vn,ho.prototype.kq=Cn,ho.prototype.yq=hn,ho.prototype.br=mn,ho.prototype.dr=vn,po.prototype.gs=Tn,po.prototype.hs=Sn,po.prototype.fs=kn,Ao.prototype.yq=hn,Ao.prototype.br=mn,Ao.prototype.dr=vn,So.prototype.yq=hn,So.prototype.br=mn,So.prototype.dr=vn,ko.prototype.yq=hn,ko.prototype.br=mn,ko.prototype.dr=vn,Oo.prototype.yq=hn,Oo.prototype.br=mn,Oo.prototype.dr=vn,Io.prototype.yq=hn,Io.prototype.br=mn,Io.prototype.dr=vn,zo.prototype.hs=Sn,zo.prototype.fs=kn,Lo.prototype.hs=Sn,Lo.prototype.fs=kn,Po.prototype.gs=Tn,Po.prototype.hs=Sn,Po.prototype.ds=Jn,Po.prototype.fs=kn,Po.prototype.is=Qn,Ro.prototype.hs=Sn,Ro.prototype.fs=kn,Do.prototype.hs=Sn,Do.prototype.fs=kn,$o.prototype.hs=Sn,$o.prototype.fs=kn,Oa.prototype.gs=Tn,Oa.prototype.hs=Sn,Oa.prototype.ds=Jn,Oa.prototype.fs=kn,Oa.prototype.is=Qn,Fa.prototype.gs=Tn,Fa.prototype.hs=Sn,Fa.prototype.fs=kn,C=\\\"primitive\\\",O=3,I=10,L=gt(34),P=1,z=gt(92),R=6,D=5,$=4,B=gt(58),N=gt(123),F=gt(125),j=gt(91),U=gt(93),q=\\\"Use 'isLenient = true' in 'Json {}` builder to accept non-compliant JSON.\\\",V=gt(0),H=gt(44),G=\\\"null\\\",W=7,X=8,Y=9,Z=0,K=\\\"Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.\\\",Q=\\\"It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\\\",tt=\\\"Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.\\\",et=9007199254740991,t.$_$=t.$_$||{},t.$_$.a=function(t,e,n,r){return 0!=(1&n)&&(t=gr()),_r(t,e)},t.$_$.b=gr,t.$_$.c=Br,t.$_$.d=Lr,t.$_$.e=Mr,t.$_$.f=yi,t.$_$.g=Hr,t.$_$.h=Or,t.$_$.i=jr,t.$_$.j=Nr,t.$_$.k=Fr,t.$_$.l=zr,t.$_$.m=_r,t.$_$.n=function(t,e,n){return function(t,e,n){if(e.nn().so()instanceof en||e.nn().so()instanceof tn){var r=new Oa(t);return r.ds(e,n),r.y1k_1}var i=new Fa(t,!1);return i.ds(e,n),i.b1l_1}(t,e,n)},t.$_$.o=Vr}(t.exports,n(3645),n(8744))},7646:(t,e,n)=>{!function(t,e,n){\\\"use strict\\\";var r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot=Math.imul,at=e.$_$.oe,st=e.$_$.wa,lt=e.$_$.b5,ut=e.$_$.l9,ct=e.$_$.h9,ht=e.$_$.g9,pt=e.$_$.i9,ft=e.$_$.f9,dt=e.$_$.aa,mt=e.$_$.k4,vt=e.$_$.y8,gt=e.$_$.m9,yt=e.$_$.x8,_t=e.$_$.ka,bt=e.$_$.ta,xt=e.$_$.d2,wt=e.$_$.pf,At=e.$_$.mb,Ct=n.$_$.c,Mt=n.$_$.b,Et=e.$_$.ib,Tt=e.$_$.ja,St=e.$_$.da,kt=n.$_$.a,Ot=e.$_$.o1,It=e.$_$.w2,Lt=e.$_$.y2,Pt=e.$_$.w4,zt=e.$_$.v2,Rt=e.$_$.ef,Dt=e.$_$.b9,$t=e.$_$.j4,Bt=e.$_$.a9,Nt=e.$_$.c9,Ft=e.$_$.d9,jt=e.$_$.e9,Ut=e.$_$.k9,qt=e.$_$.k2,Vt=e.$_$.ia,Ht=e.$_$.ee,Gt=e.$_$.p9,Wt=e.$_$.lf,Xt=e.$_$.je,Yt=e.$_$.z8,Zt=e.$_$.v4,Kt=e.$_$.o2,Jt=e.$_$.sb,Qt=e.$_$.t4,te=e.$_$.n2,ee=e.$_$.ne,ne=e.$_$.j2,re=e.$_$.u9,ie=e.$_$.fe,oe=e.$_$.x1,ae=e.$_$.j9,se=e.$_$.u1,le=e.$_$.of,ue=e.$_$.a1,ce=e.$_$.w8,he=e.$_$.c5,pe=e.$_$.e2,fe=e.$_$.r9,de=e.$_$.af,me=e.$_$.m2,ve=e.$_$.bf,ge=e.$_$.ea,ye=e.$_$.y6,_e=e.$_$.a2,be=e.$_$.l,xe=e.$_$.ff,we=e.$_$.ke,Ae=e.$_$.h2,Ce=e.$_$.ie,Me=e.$_$.c2,Ee=e.$_$.q1,Te=e.$_$.ze,Se=e.$_$.k,ke=e.$_$.p4,Oe=e.$_$.kb,Ie=e.$_$.s9,Le=e.$_$.p6,Pe=e.$_$.m,ze=(e.$_$.n9,e.$_$.t5),Re=(e.$_$.kd,e.$_$.e),De=e.$_$.p1,$e=e.$_$.vb,Be=e.$_$.g1,Ne=e.$_$.l2;function Fe(t,e,n){var r;return 0!=(1&e)&&(t=null),null==n?(this.c1w(t),r=lt()):r=n(t),r}function je(t,e,n,r,i){return 0!=(1&r)&&(t=!1),0!=(2&r)&&(e=!0),null==i?this.y1v(t,e,n):i(t,e,n)}function Ue(t,e,n){return 0!=(1&e)&&(t=null),null==n?this.l27(t):n(t)}function qe(t,e,n){Ur.call(this,n),e&&this.s1u(t.g7(rr())),this.v1u_1=t.n7(this)}function Ve(t,e,n,r,i,o){return 0!=(1&i)&&(e=mt()),0!=(2&i)&&(n=Hn()),function(t,e,n,r){var i=Va(t,e),o=n.q1w()?new Ge(i,r):new He(i,!0);return o.k1v(n,o,r),o}(t,e,n,r)}function He(t,e){qe.call(this,t,!0,e)}function Ge(t,e){He.call(this,t,!1),this.x1w_1=vt(e,this,this)}function We(t,e){gt.call(this,e),this.g1x_1=t}function Xe(t,e){qe.call(this,t,!0,e)}function Ye(t,e){Xe.call(this,t,!1),this.p1x_1=vt(e,this,this)}function Ze(){}function Ke(t,e){var n;return n=new Je(e),t.t1x(n)}function Je(t){gn.call(this),this.w1x_1=t}function Qe(t,e){var n;return n=new en(e),t.t1x(n)}function tn(t){if(!(t instanceof ba))return new vn(t,wa());var e=t.f1y(),n=null==e?null:e.m1y()?e:null;return null==n?new vn(t,K):n}function en(t){An.call(this),this.n1y_1=t}function nn(){return o||(o=!0,r=new Ra(\\\"RESUME_TOKEN\\\")),r}function rn(t){var e;if(2===t.t1y_1){var n=t.h1y_1;e=(n instanceof ba?n:at()).s1y()}else e=!1;return e}function on(t,e,n){var r;try{ja(e,n),r=lt()}catch(e){if(!(e instanceof Error))throw e;Dn(t.p5(),new Qn(\\\"Exception in invokeOnCancellation handler for \\\"+t,e)),r=lt()}return r}function an(t){var e=t.p5().g7(rr());if(null==e)return null;var n,r=e;n=new Jr(t);var i=r.z1v(!0,!1,n,2,null);return t.l1y_1=i,i}function sn(t){var e=t.h1y_1,n=e instanceof ba?e:null,r=null==n?null:n.v1y(t);if(null==r)return lt();var i=r;t.w1y(),t.x1y(i)}function ln(t,e,n){var r=\\\"It's prohibited to register multiple handlers, tried to register \\\"+e+\\\", already has \\\"+wt(n);throw xt(At(r))}function un(t,e){if(function(t){for(var e=t.j1y_1;;)switch(e.k1u_1){case 0:if(t.j1y_1.atomicfu$compareAndSet(0,2))return!0;break;case 1:return!1;default:throw xt(\\\"Already resumed\\\")}}(t))return lt();!function(t,e){var n=t.i1z(),r=4===e;if(!!(!r&&n instanceof ba)&&Ca(e)===Ca(t.t1y_1)){var i=n.a1y_1,o=n.p5();i.h20(o)?i.i20(o,t):function(t){var e=Jn().f21();if(e.y20())e.w20(t);else{e.b21(!0);try{for(Ea(t,t.i1z(),!0);e.r20(););}catch(e){if(!(e instanceof Error))throw e;t.y1z(e,null)}finally{e.c21(!0)}}}(t)}else Ea(t,n,r)}(t,e)}function cn(t,e,n,r,i,o){var a;if(n instanceof Tn)a=n;else if(Ca(r)||null!=o){a=null!=i||e instanceof gn&&!(e instanceof An)||null!=o?xn(n,e instanceof gn?e:null,i,o,null,16):n}else a=n;return a}function hn(t,e,n,r){for(var i=t.k1y_1;;)t:{var o=i.j1u_1,a=o;if(null!=a&&bt(a,bn)){var s=cn(0,o,e,n,r,null);if(!t.k1y_1.atomicfu$compareAndSet(o,s)){lt();break t}return mn(t),un(t,n),lt()}if(a instanceof Sn&&o.c1z()){var l=r;return null==l||(t.y1y(l,o.c1v_1),lt()),lt()}dn(0,e)}}function pn(t,e,n,r,i,o){return 0!=(8&i)&&(r=null),hn(t,e,n,r)}function fn(t,e,n,r){for(var i=t.k1y_1;;)t:{var o=i.j1u_1,a=o;if(null!=a&&bt(a,bn)){var s=cn(0,o,e,t.t1y_1,r,n);if(!t.k1y_1.atomicfu$compareAndSet(o,s)){lt();break t}return mn(t),nn()}return a instanceof wn&&null!=n&&o.g1z_1===n?nn():null}}function dn(t,e){var n=\\\"Already resumed, but proposed with update \\\"+wt(e);throw xt(At(n))}function mn(t){rn(t)||t.w1y()}function vn(t,e){Aa.call(this,e),this.h1y_1=t,this.i1y_1=this.h1y_1.p5(),this.j1y_1=Ct(0),this.k1y_1=Mt(_n()),this.l1y_1=null}function gn(){Ua.call(this)}function yn(){i=this}function _n(){return null==i&&new yn,i}function bn(){}function xn(t,e,n,r,i,o,a){return function(t,e,n,r,i,o,a,s){return 0!=(2&o)&&(e=null),0!=(4&o)&&(n=null),0!=(8&o)&&(r=null),0!=(16&o)&&(i=null),wn.call(s,t,e,n,r,i),s}(t,e,n,r,i,o,0,Object.create(wn.prototype))}function wn(t,e,n,r,i){this.d1z_1=t,this.e1z_1=e,this.f1z_1=n,this.g1z_1=r,this.h1z_1=i}function An(){gn.call(this)}function Cn(t){gn.call(this),this.d20_1=t}function Mn(){}function En(t,e,n,r){return function(t,e,n,r,i){return 0!=(2&n)&&(e=!1),Tn.call(i,t,e),i}(t,e,n,0,Object.create(Tn.prototype))}function Tn(t,e){this.c1v_1=t,this.d1v_1=kt(e)}function Sn(t,e,n){var r=e;Tn.call(this,null==r?Ot(\\\"Continuation \\\"+t+\\\" was cancelled normally\\\"):r,n),this.b1z_1=kt(!1)}function kn(t,e){var n,r=It(t);if(null==r){var i=Lt(t),o=null==i||st(i)?i:at();n=null!=e?new In(o,e):o}else n=En(r,!1,2);return n}function On(t,e,n,r){return 0!=(1&n)&&(e=null),kn(t,e)}function In(t,e){this.e20_1=t,this.f20_1=e}function Ln(t,e){var n;if(t instanceof Tn){Pt();var r=ys(t.c1v_1);n=zt(Rt(r))}else{Pt();var i=null==t||st(t)?t:at();n=zt(i)}return n}function Pn(t){return t instanceof Rn?t:null}function zn(){a=this;var t=$t();Dt.call(this,t,Pn)}function Rn(){null==a&&new zn,Bt.call(this,$t())}function Dn(t,e){try{var n=t.g7((null==s&&new $n,s));if(null!=n)return n.j20(t,e),lt()}catch(t){if(t instanceof Error)return Ha(0,(r=e)===(i=t)?r:qt(\\\"Exception while trying to handle coroutine exception\\\",i)),lt();throw t}var r,i;Ha(0,e)}function $n(){s=this}function Bn(){l=this}function Nn(){return null==l&&new Bn,l}function Fn(t){Nn(),Bt.call(this,Nn()),this.l20_1=t}function jn(){}function Un(){u=this}function qn(){if(f)return lt();f=!0,c=new Vn(\\\"DEFAULT\\\",0),h=new Vn(\\\"LAZY\\\",1),p=new Vn(\\\"ATOMIC\\\",2),new Vn(\\\"UNDISPATCHED\\\",3)}function Vn(t,e){Ht.call(this,t,e)}function Hn(){return qn(),c}function Gn(){}function Wn(){}function Xn(){}function Yn(t,e){return e?new Xt(0,1):new Xt(1,0)}function Zn(){Rn.call(this),this.o20_1=new Xt(0,0),this.p20_1=!1,this.q20_1=null}function Kn(){d=this,this.e21_1=new _s}function Jn(){return null==d&&new Kn,d}function Qn(t,e){ne(t,e,this),re(this,Qn)}function tr(t,e){oe(t,e,this),re(this,tr)}function er(){}function nr(){m=this}function rr(){return null==m&&new nr,m}function ir(){}function or(){}function ar(){}function sr(){}function lr(){v=this}function ur(){return null==v&&new lr,v}function cr(t){if(!t.x1u())throw t.u1v()}function hr(){return ti(),g}function pr(){return ti(),y}function fr(){return ti(),_}function dr(){return ti(),b}function mr(){return ti(),x}function vr(){return ti(),A}function gr(t){this.j21_1=t}function yr(){}function _r(){ms.call(this)}function br(){Fa.call(this)}function xr(t,e){t.k22_1.j1u_1=e}function wr(t){return t.k22_1.j1u_1}function Ar(t){return ue(4)}function Cr(t,e,n){var r,i=n instanceof Tn?n:null,o=null==i?null:i.c1v_1;r=e.l22();var a=e.m22(o),s=function(t,e,n){if(n.i()){if(e.l22()){return new Qa(t.a1v(),null,t)}return null}var r;t:{for(var i=n.e();i.f();){var o=i.g();if(!(o instanceof ce)){r=o;break t}}r=null}if(null!=r)return r;var a=n.j(0);if(a instanceof ri){var s;t:{for(var l=n.e();l.f();){var u=l.g();if(u!==a&&u instanceof ri){s=u;break t}}s=null}if(null!=s)return s}return a}(t,e,a);null!=s&&function(t,e,n){if(n.h()<=1)return lt();for(var r,i=(r=n.h(),Be(r)),o=e,a=n.e();a.f();){var s=a.g();!(s===e||s===o||s instanceof ce)&&i.a(s)}}(0,s,a);var l=s,u=null==l||l===o?n:En(l,!1,2);return null!=l&&(Tr(t,l)||t.o1w(l))&&(u instanceof Tn?u:at()).u1z(),r||t.l1w(l),t.b1v(u),t.q1u_1.atomicfu$compareAndSet(e,qr(u)),Mr(t,e,u),u}function Mr(t,e,n){var r=t.p1v();null==r||(r.y1x(),t.o1v(ur()),lt());var i=n instanceof Tn?n:null,o=null==i?null:i.c1v_1;if(e instanceof br)try{e.invoke(o)}catch(n){if(!(n instanceof Error))throw n;t.i1v(new Qn(\\\"Exception in completion handler \\\"+e+\\\" for \\\"+t,n))}else{var a=e.d1m();null==a||function(t,e,n){for(var r=null,i=t.o1y_1;!St(i,t);){if(i instanceof br){var o=i;try{o.invoke(n)}catch(t){if(!(t instanceof Error))throw t;null==(null==r?null:r)&&(r=new Qn(\\\"Exception in completion handler \\\"+o+\\\" for \\\"+e,t),lt())}}i=i.o1y_1}var a=r;null==a||(e.i1v(a),lt()),lt()}(a,t,o)}}function Er(t,e,n){t.l1w(n);for(var r=null,i=e.o1y_1;!St(i,e);){if(i instanceof Vr){var o=i;try{o.invoke(n)}catch(e){if(!(e instanceof Error))throw e;null==(null==r?null:r)&&(r=new Qn(\\\"Exception in completion handler \\\"+o+\\\" for \\\"+t,e),lt())}}i=i.o1y_1}var a=r;null==a||(t.i1v(a),lt()),Tr(t,n)}function Tr(t,e){if(t.m1w())return!0;var n=e instanceof ce,r=t.p1v();return null===r||r===ur()?n:!!r.g1w(e)||n}function Sr(t,e){var n=e;return n instanceof gr?e.j21_1?0:t.q1u_1.atomicfu$compareAndSet(e,vr())?(t.t1v(),1):-1:n instanceof Hr?t.q1u_1.atomicfu$compareAndSet(e,e.n22_1)?(t.t1v(),1):-1:0}function kr(t,e,n,r){var i;return t.q1v()===e?(n.v21(r),i=!0):i=!1,i}function Or(t,e){var n=new _r,r=e.j21_1?n:new Hr(n);t.q1u_1.atomicfu$compareAndSet(e,r)}function Ir(t,e){e.g22(new _r);var n=e.o1y_1;t.q1u_1.atomicfu$compareAndSet(e,n)}function Lr(t,e){var n;if(null==e||e instanceof Error){var r=e;n=null==r?new Qa(t.a1v(),null,t):r}else n=(null!=e&&bt(e,ar)?e:at()).j1w();return n}function Pr(t,e){var n,r=e.d1m();if(null==r){var i,o=e;if(o instanceof gr)i=new _r;else{if(!(o instanceof br))throw xt(At(\\\"State should have list: \\\"+e));Ir(t,e),i=null}n=i}else n=r;return n}function zr(t,e,n){var r=Pr(t,e);if(null==r)return!1;var i=r,o=new Nr(i,!1,n);return!!t.q1u_1.atomicfu$compareAndSet(e,o)&&(Er(t,i,n),!0)}function Rr(t,e,n){return null!=e&&bt(e,yr)?!(e instanceof gr||e instanceof br)||e instanceof Gr||n instanceof Tn?function(t,e,n){var r=Pr(t,e);if(null==r)return fr();var i,o=r,a=e instanceof Nr?e:null,s=null==a?new Nr(o,!1,null):a;if(s.o22())return hr();if(s.s22(!0),s!==e&&!t.q1u_1.atomicfu$compareAndSet(e,s))return fr();var l=s.l22(),u=n instanceof Tn?n:null;null==u||(s.q22(u.c1v_1),lt());var c=s.r22();i=l?null:c,lt();null==i||(Er(t,o,i),lt());var h=function(t,e){var n,r=e instanceof Gr?e:null;if(null==r){var i=e.d1m();n=null==i?null:$r(i)}else n=r;return n}(0,e);return null!=h&&Dr(t,s,h,n)?pr():Cr(t,s,n)}(t,e,n):function(t,e,n){return!!t.q1u_1.atomicfu$compareAndSet(e,qr(n))&&(t.l1w(null),t.b1v(n),Mr(t,e,n),!0)}(t,e,n)?n:fr():hr()}function Dr(t,e,n,r){for(var i=t,o=e,a=n,s=r;;){var l,u=a.x22_1;if(l=new Fr(i,o,a,s),u.z1v(!1,!1,l,1,null)!==ur())return!0;var c=$r(a);if(null==c)return!1;a=c}}function $r(t,e){var n=t;t:for(;n.q1y_1;)n=n.p1y_1;for(;;)if(!(n=n.o1y_1).q1y_1){if(n instanceof Gr)return n;if(n instanceof _r)return null}}function Br(t,e){var n=e;return n instanceof Nr?e.l22()?\\\"Cancelling\\\":e.o22()?\\\"Completing\\\":\\\"Active\\\":null!=n&&bt(n,yr)?e.x1u()?\\\"Active\\\":\\\"New\\\":n instanceof Tn?\\\"Cancelled\\\":\\\"Completed\\\"}function Nr(t,e,n){this.h22_1=t,this.i22_1=kt(e),this.j22_1=Mt(n),this.k22_1=Mt(null)}function Fr(t,e,n,r){br.call(this),this.d23_1=t,this.e23_1=e,this.f23_1=n,this.g23_1=r}function jr(t,e){vn.call(this,t,wa()),this.n23_1=e}function Ur(t){this.q1u_1=Mt(t?vr():(ti(),w)),this.r1u_1=Mt(null)}function qr(t){return ti(),null!=t&&bt(t,yr)?new Kr(t):t}function Vr(){br.call(this)}function Hr(t){this.n22_1=t}function Gr(t){Vr.call(this),this.x22_1=t}function Wr(t){Vr.call(this),this.v23_1=t,this.w23_1=Ct(0)}function Xr(t){br.call(this),this.b24_1=t}function Yr(t){ti();var e=t instanceof Kr?t:null,n=null==e?null:e.c24_1;return null==n?t:n}function Zr(t){br.call(this),this.h24_1=t}function Kr(t){this.c24_1=t}function Jr(t){Vr.call(this),this.m24_1=t}function Qr(t){Ur.call(this,!0),this.s1u(t),this.p24_1=function(t){var e=t.p1v(),n=e instanceof Gr?e:null,r=null==n?null:n.f22();if(null==r)return!1;for(var i=r;;){if(i.n1w())return!0;var o=i.p1v(),a=o instanceof Gr?o:null,s=null==a?null:a.f22();if(null==s)return!1;i=s}}(this)}function ti(){C||(C=!0,g=new Ra(\\\"COMPLETING_ALREADY\\\"),y=new Ra(\\\"COMPLETING_WAITING_CHILDREN\\\"),_=new Ra(\\\"COMPLETING_RETRY\\\"),b=new Ra(\\\"TOO_LATE_TO_CANCEL\\\"),x=new Ra(\\\"SEALED\\\"),w=new gr(!1),A=new gr(!0))}function ei(){Rn.call(this)}function ni(t){Qr.call(this,t)}function ri(){}function ii(){M=this,Rn.call(this)}function oi(){E=this}function ai(){return ki(),T}function si(){return ki(),S}function li(){return ki(),k}function ui(){return ki(),O}function ci(){return ki(),I}function hi(){return ki(),L}function pi(t,e){var n=t.w25(e);return n&&t.x25(),n}function fi(t,e,n){var r;return r=new di(t,n),e.t1x(r)}function di(t,e){this.z25_1=t,An.call(this),this.y25_1=e}function mi(t,e){Ei.call(this),this.o25_1=t,this.p25_1=e}function vi(t,e,n){mi.call(this,t,e),this.v26_1=n}function gi(t){wi.call(this,t)}function yi(t){var e;return e=t.f25_1.o1y_1,!bt(e,Ci)&&t.t27()}function _i(t,e,n,r){bi(e,r);var i,o,a=r.c28(),s=e.e25_1,l=null==s?null:La(s,n,null,2);if(null!=l)return ve(l,a),Pt(),o=zt(Rt(l)),t.n5(o),lt(),lt();Pt(),i=zt(Rt(a)),t.n5(i),lt()}function bi(t,e){var n=Ta(null,1);t:for(;;){var r,i=(r=e.p1y_1)instanceof Ei?r:null;if(null==i)break t;var o=i;o.r1y()?n=Sa(n,o):o.a22()}var a=n;if(null!=a)if(a instanceof he){var s=a instanceof he?a:at(),l=s.h()-1|0;if(0<=l)do{var u=l;l=l+-1|0,s.j(u).q25(e)}while(0<=l)}else{var c=a;(null==c||st(c)?c:at()).q25(e)}else lt();t.a28(e)}function xi(t){Ai.call(this),this.g28_1=t}function wi(t){this.e25_1=t,this.f25_1=new ms,this.g25_1=Mt(null)}function Ai(){vs.call(this)}function Ci(){}function Mi(t){Ai.call(this),this.m26_1=t}function Ei(){vs.call(this)}function Ti(t,e){Ai.call(this),this.m28_1=t,this.n28_1=e}function Si(t,e,n){Ti.call(this,t,e),this.t28_1=n}function ki(){P||(P=!0,T=new Ra(\\\"EMPTY\\\"),S=new Ra(\\\"OFFER_SUCCESS\\\"),k=new Ra(\\\"OFFER_FAILED\\\"),O=new Ra(\\\"POLL_FAILED\\\"),I=new Ra(\\\"ENQUEUE_FAILED\\\"),L=new Ra(\\\"ON_CLOSE_HANDLER_INVOKED\\\"))}function Oi(t,e,n){var r;if(gi.call(this,n),this.x28_1=t,this.y28_1=e,!(this.x28_1>=1))throw r=\\\"ArrayChannel capacity must be at least 1, but \\\"+this.x28_1+\\\" was specified\\\",_e(At(r));this.z28_1=new ds;var i,o,a=this.x28_1;o=Math.min(a,8);var s=ge(Array(o),null),l=ai();be(s,l,0,0,6,null),i=s,this.a29_1=i,this.b29_1=0,this.c29_1=Ct(0)}function Ii(){if(D)return lt();D=!0,z=new Li(\\\"SUSPEND\\\",0),R=new Li(\\\"DROP_OLDEST\\\",1),new Li(\\\"DROP_LATEST\\\",2)}function Li(t,e){Ht.call(this,t,e)}function Pi(){return Ii(),z}function zi(){var t;$=this,this.d29_1=2147483647,this.e29_1=0,this.f29_1=-1,this.g29_1=-2,this.h29_1=-3,this.i29_1=\\\"kotlinx.coroutines.channels.defaultBuffer\\\",this.j29_1=(1,2147483646,(t=Oe(64),Oe(1),Oe(2147483646),t).ia())}function Ri(){return null==$&&new zi,$}function Di(){}function $i(){}function Bi(){}function Ni(t){if(!(t instanceof ji)){var e=t;return null==e||st(e)?e:at()}if(t instanceof Ui&&null!=t.k29_1)throw t.k29_1;var n=\\\"Trying to call 'getOrThrow' on a failed channel result: \\\"+wt(t);throw xt(At(n))}function Fi(t){var e=t instanceof Ui?t:null;return null==e?null:e.k29_1}function ji(){}function Ui(t){ji.call(this),this.k29_1=t}function qi(){B=this,this.b26_1=new ji}function Vi(){return null==B&&new qi,B}function Hi(t){Vi(),this.j27_1=t}function Gi(t){Ae(t,this),re(this,Gi)}function Wi(t){Me(t,this),re(this,Wi)}function Xi(t,e,n,r){qe.call(this,t,n,r),this.o29_1=e}function Yi(){return N}function Zi(t,e){var n;if(null==e)n=null;else{var r=e instanceof ce?e:null;n=null==r?Ee(\\\"Channel was consumed, consumer had failed\\\",e):r}t.c1w(n)}function Ki(t,e){var n,r=t.t29_1;if(r===ai())n=null;else{var i=t.e25_1;n=null==i?null:La(i,null==r||st(r)?r:at(),null,2)}var o=n;return t.t29_1=e,o}function Ji(t){gi.call(this,t),this.s29_1=new ds,this.t29_1=ai()}function Qi(t){gi.call(this,t)}function to(){}function eo(t,e,n,r,i,o,a){var s=function(t,e,n,r,i){return function(t,e,n){var r,i=t;if(Ri(),0===i)r=e.equals(Pi())?new oo(n):new Oi(1,e,n);else if(Ri(),-1===i){if(!e.equals(Pi()))throw _e(At(\\\"CONFLATED capacity cannot be used with non-default onBufferOverflow\\\"));r=new Ji(n)}else Ri(),2147483647===i?r=new Qi(n):(Ri(),r=-2===i?new Oi(e.equals(Pi())?Ri().j29_1:1,e,n):1===t&&e.equals((Ii(),R))?new Ji(n):new Oi(t,e,n));return r}(t,e,null)}(n,r),l=new no(Va(t,e),s);return null!=o&&l.x1v(o),l.k1v(i,l,a),l}function no(t,e){Xi.call(this,t,e,!0,!0)}function ro(t){return function(e){var n;return Pt(),n=zt(lt()),t.n5(n),lt(),lt()}}function io(t,e,n){gt.call(this,n),this.f2a_1=t,this.g2a_1=e}function oo(t){gi.call(this,t)}function ao(){F=this}function so(t,e,n){gt.call(this,n),this.d2b_1=t,this.e2b_1=e}function lo(t,e,n,r){uo.call(this,t,e,n,r),this.o2b_1=t}function uo(t,e,n,r){Vo.call(this,e,n,r),this.i2b_1=t}function co(t,e,n,r){gt.call(this,r),this.e2c_1=t,this.f2c_1=e,this.g2c_1=n}function ho(){}function po(){}function fo(){return $o(),j}function mo(){}function vo(){}function go(t){var e=t.v2c_1,n=t.u2c_1;return e.k1(n)<=0?e:n}function yo(t){var e=go(t),n=t.w2c_1;return e.j9(Oe(n)).k9(t.u2c_1).ia()}function _o(t){return t.w2c_1+t.x2c_1|0}function bo(t){var e=go(t),n=t.w2c_1;return e.j9(Oe(n))}function xo(t,e){if(0===t.z2c_1)return function(t,e){if(0===t.q2c_1)return!0;Ao(t,e);var n=t,r=n.w2c_1;n.w2c_1=r+1|0,t.w2c_1>t.q2c_1&&wo(t);var i,o=t,a=go(t),s=t.w2c_1;return i=a.j9(Oe(s)),o.v2c_1=i,!0}(t,e);if(t.w2c_1>=t.r2c_1&&t.v2c_1.k1(t.u2c_1)<=0)switch(t.s2c_1.z1_1){case 0:return!1;case 2:return!0}Ao(t,e);var n=t,r=n.w2c_1;return n.w2c_1=r+1|0,t.w2c_1>t.r2c_1&&wo(t),yo(t)>t.q2c_1&&Mo(t,t.u2c_1.j9(new Xt(1,0)),t.v2c_1,bo(t),function(t){var e=go(t),n=t.w2c_1,r=e.j9(Oe(n)),i=t.x2c_1;return r.j9(Oe(i))}(t)),!0}function wo(t){Do(xe(t.t2c_1),go(t),null);var e=t,n=e.w2c_1;e.w2c_1=n-1|0;var r=go(t).j9(new Xt(1,0));t.u2c_1.k1(r)<0&&(t.u2c_1=r),t.v2c_1.k1(r)<0&&function(t,e){if(0!==t.z2c_1){var n=t.y2c_1;if(null==n);else for(var r=Ie(n);r.f();){var i=r.g();null!=i&&i.c2d_1.k1(new Xt(0,0))>=0&&i.c2d_1.k1(e)<0&&(i.c2d_1=e)}}else lt();t.v2c_1=e}(t,r)}function Ao(t,e){var n=_o(t),r=t.t2c_1;Do(null==r?Co(t,null,0,2):n>=r.length?Co(t,r,n,ot(r.length,2)):r,go(t).j9(Oe(n)),e)}function Co(t,e,n,r){if(!(r>0))throw xt(At(\\\"Buffer size overflow\\\"));var i=ge(Array(r),null);t.t2c_1=i;var o=i;if(null==e)return o;var a=go(t),s=0;if(s<n)do{var l=s;s=s+1|0,Do(o,a.j9(Oe(l)),Ro(e,a.j9(Oe(l))))}while(s<n);return o}function Mo(t,e,n,r,i){var o=n.k1(e)<=0?n:e,a=go(t);if(a.k1(o)<0)do{var s=a;a=a.j9(new Xt(1,0)),Do(xe(t.t2c_1),s,null)}while(a.k1(o)<0);t.u2c_1=e,t.v2c_1=n,t.w2c_1=r.k9(o).ia(),t.x2c_1=i.k9(r).ia()}function Eo(t){if(0===t.r2c_1&&t.x2c_1<=1)return lt();var e=xe(t.t2c_1);t:for(;;){var n;if(t.x2c_1>0){var r=go(t),i=_o(t);n=Ro(e,r.j9(Oe(i)).k9(new Xt(1,0)))===fo()}else n=!1;if(!n)break t;var o=t,a=o.x2c_1;o.x2c_1=a-1|0;var s=go(t),l=_o(t);Do(e,s.j9(Oe(l)),null)}}function To(t,e){var n,r=Bo(),i=So(t,e);if(i.k1(new Xt(0,0))<0)n=fo();else{var o,a=e.c2d_1,s=function(t,e){var n=Ro(xe(t.t2c_1),e);return n instanceof Io?n.g2d_1:n}(t,i),l=e;o=i.j9(new Xt(1,0)),l.c2d_1=o,r=t.i2d(a),n=s}for(var u=n,c=r,h=0,p=c.length;h<p;){var f=c[h];h=h+1|0;var d,m=f;if(null==m);else Pt(),d=zt(lt()),m.n5(d),lt()}return u}function So(t,e){var n=e.c2d_1;return n.k1(bo(t))<0?n:t.r2c_1>0||n.k1(go(t))>0||0===t.x2c_1?new Xt(-1,-1):n}function ko(t,e,n){var r,i=new vn(Yt(n),wa());(i.j1z(),So(t,e).k1(new Xt(0,0))<0)?(e.d2d_1=i,e.d2d_1=i):(Pt(),r=zt(lt()),i.n5(r),lt(),lt());return i.s1z()}function Oo(t,e){var n=e,r=e.length;if(0!==t.z2c_1){var i=t.y2c_1;if(null==i);else for(var o=Ie(i);o.f();){var a=o.g();if(null!=a){var s=a.d2d_1;if(null!=s){var l=s;if(So(t,a).k1(new Xt(0,0))<0)lt();else{if(r>=n.length){var u,c=n,h=ot(2,n.length);u=Math.max(2,h),n=Le(c,u)}var p=r;r=p+1|0,n[p]=l,a.d2d_1=null}}else lt()}}}else lt();return n}function Io(t,e,n,r){this.e2d_1=t,this.f2d_1=e,this.g2d_1=n,this.h2d_1=r}function Lo(t,e,n){gt.call(this,n),this.r2d_1=t,this.s2d_1=e}function Po(t,e,n){No.call(this),this.q2c_1=t,this.r2c_1=e,this.s2c_1=n,this.t2c_1=null,this.u2c_1=new Xt(0,0),this.v2c_1=new Xt(0,0),this.w2c_1=0,this.x2c_1=0}function zo(){Fo.call(this),this.c2d_1=new Xt(-1,-1),this.d2d_1=null}function Ro(t,e){return $o(),t[e.ia()&(t.length-1|0)]}function Do(t,e,n){return $o(),t[e.ia()&(t.length-1|0)]=n}function $o(){U||(U=!0,j=new Ra(\\\"NO_VALUE\\\"))}function Bo(){return V||(V=!0,t=ge(Array(0),null),q=t),q;var t}function No(){this.y2c_1=null,this.z2c_1=0,this.a2d_1=0,this.b2d_1=null}function Fo(){}function jo(){}function Uo(t,e){this.n2f_1=t,gt.call(this,e)}function qo(t,e,n){this.z2f_1=t,this.a2g_1=e,gt.call(this,n)}function Vo(t,e,n){this.p2b_1=t,this.q2b_1=e,this.r2b_1=n}function Ho(){H=this}function Go(t){this.n2g_1=t}function Wo(){}function Xo(t){if(t instanceof Yo)throw t.o2g_1}function Yo(){}function Zo(t){this.p2g_1=t}function Ko(t,e,n){this.y2g_1=t,this.z2g_1=e,gt.call(this,n)}function Jo(t,e,n){var r=new Ko(t,e,n),i=function(t,e){return r.b2h(t,e)};return i.$arity=1,i}function Qo(t,e,n){gt.call(this,n),this.l2h_1=t,this.m2h_1=e}function ta(t,e){this.n2h_1=t,this.o2h_1=e}function ea(t,e){gt.call(this,e),this.y2h_1=t}function na(){}function ra(t){this.c2i_1=t}function ia(t,e,n){this.l2i_1=t,this.m2i_1=e,gt.call(this,n)}function oa(t,e,n){var r=new ia(t,e,n),i=function(t,e){return r.b2h(t,e)};return i.$arity=1,i}function aa(t,e,n){gt.call(this,n),this.w2i_1=t,this.x2i_1=e}function sa(t,e){this.y2i_1=t,this.z2i_1=e}function la(t){this.a2j_1=t}function ua(t,e,n){this.j2j_1=t,this.k2j_1=e,gt.call(this,n)}function ca(t,e,n){var r=new ua(t,e,n),i=function(t,e){return r.b2h(t,e)};return i.$arity=1,i}function ha(t,e,n){gt.call(this,n),this.v2j_1=t,this.w2j_1=e}function pa(t,e){this.x2j_1=t,this.y2j_1=e}function fa(t,e){this.h2k_1=t,gt.call(this,e)}function da(){var t;t=ge(Array(16),null),this.s20_1=t,this.t20_1=0,this.u20_1=0}function ma(){}function va(){return xa(),G}function ga(){return xa(),W}function ya(t,e,n){var r;if(xa(),t instanceof ba){var i,o=t,a=kn(e,n);if(o.a1y_1.h20(o.p5()))o.c1y_1=a,o.t1y_1=wa(),o.a1y_1.i20(o.p5(),o),i=lt();else{var s=wa(),l=Jn().f21();if(l.y20())o.c1y_1=a,o.t1y_1=s,l.w20(o),!0;else{l.b21(!0);try{var u,c=o.p5().g7(rr());if(null==c||c.x1u())u=!1;else{var h,p=c.u1v();o.l1z(a,p),Pt(),h=zt(Rt(p)),o.n5(h),lt(),u=!0}for(u||(o.b1y_1,o.d1y_1,o.b1y_1.n5(e),lt());l.r20(););}catch(t){if(!(t instanceof Error))throw t;o.y1z(t,null)}finally{l.c21(!0)}!1}i=lt()}r=i}else t.n5(e),r=lt();return r}function _a(t,e,n,r,i){return 0!=(2&r)&&(n=null),ya(t,e,n)}function ba(t,e){Aa.call(this,Z),this.a1y_1=t,this.b1y_1=e,this.c1y_1=va(),this.d1y_1=(this.p5(),0),this.e1y_1=Mt(null)}function xa(){X||(X=!0,G=new Ra(\\\"UNDEFINED\\\"),W=new Ra(\\\"REUSABLE_CLAIMED\\\"))}function wa(){return Y}function Aa(t){hs.call(this),this.t1y_1=t}function Ca(t){return 1===t||2===t}function Ma(){return Q}function Ea(t,e,n){var r,i=t.k1z(),o=t.v1z(i);if(null!=o)Pt(),r=zt(Rt(o));else{Pt();var a=t.t1z(i);r=zt(a)}var s=r;if(n){var l=e instanceof ba?e:at();l.b1y_1,l.d1y_1,l.b1y_1.n5(s),lt()}else e.n5(s)}function Ta(t,e,n){return 0!=(1&e)&&(t=null),t}function Sa(t,e){var n;if(null==t)n=e;else if(t instanceof he)(t instanceof he?t:at()).a(e),n=t;else{var r=ue(4),i=t;r.a(null==i||st(i)?i:at()),r.a(e),n=r}return n}function ka(t){this.o2k_1=t}function Oa(t,e){ne(t,e,this),re(this,Oa)}function Ia(t,e,n){try{t(e)}catch(t){if(!(t instanceof Error))throw t;if(null==n||n.cause===t)return new Oa(\\\"Exception in undelivered element handler for \\\"+e,t)}return n}function La(t,e,n,r,i){return 0!=(2&r)&&(n=null),Ia(t,e,n)}function Pa(t,e,n){var r=Ia(t,e,null);null==r||(Dn(n,r),lt())}function za(t,e){qe.call(this,t,!0,!0),this.m2g_1=e}function Ra(t){this.p2k_1=t}function Da(t,e){var n;try{var r=Yt(t);Pt(),_a(r,zt(lt()),null,2),n=lt()}catch(t){if(!(t instanceof Error))throw t;$a(e,t),n=lt()}return n}function $a(t,e){return function(t,e){var n;throw Pt(),n=zt(Rt(e)),t.n5(n),e}(t,e)}function Ba(){}function Na(){}function Fa(){vs.call(this)}function ja(t,e){\\\"function\\\"==typeof t?t(e):t.invoke(e)}function Ua(){}function qa(t){return At(t)}function Va(t,e){var n=t.w1u().n7(e);return n!==Za().t24_1&&null==n.g7($t())?n.n7(Za().t24_1):n}function Ha(t,e){console.error(e)}function Ga(){return et}function Wa(t){var e=Re(t).v8();return null==e?\\\"Unknown\\\":e}function Xa(t){var e=t.__debug_counter;return\\\"number\\\"!=typeof e&&(e=tt=tt+1|0,t.__debug_counter=e),(null!=e&&\\\"number\\\"==typeof e?e:at()).toString()}function Ya(){nt=this,this.t24_1=\\\"undefined\\\"!=typeof navigator&&null!=navigator&&null!=navigator.userAgent&&void 0!==navigator.userAgent&&void 0!==navigator.userAgent.match&&navigator.userAgent.match(\\\"\\\\\\\\bjsdom\\\\\\\\b\\\")?es():\\\"undefined\\\"!=typeof window&&null!=window&&void 0!==window.addEventListener?function(t){var e,n=t.coroutineDispatcher;if(null==n){var r=new ls(t);t.coroutineDispatcher=r,e=r}else e=n;return e}(window):\\\"undefined\\\"==typeof process||void 0===process.nextTick?(null==it&&new ns,it):es(),this.u24_1=(null==M&&new ii,M),this.v24_1=new Ka(this.t24_1,!1),this.w24_1=null}function Za(){return null==nt&&new Ya,nt}function Ka(t,e){ei.call(this),this.r2k_1=t,this.s2k_1=e,this.t2k_1=this.s2k_1?this:new Ka(this.r2k_1,!0)}function Ja(){Zn.call(this)}function Qa(t,e,n){De(t,e,this),this.y2k_1=n,re(this,Qa)}function ts(){rt=this,is.call(this)}function es(){return null==rt&&new ts,rt}function ns(){it=this,is.call(this)}function rs(t){var e;this.i2l_1=t,os.call(this),this.h2l_1=(e=this,function(){return e.s2l(),lt()})}function is(){Rn.call(this),this.k2l_1=new rs(this)}function os(){da.call(this),this.q2l_1=16,this.r2l_1=!1}function as(t){return $e(t,new Xt(0,0),new Xt(2147483647,0)).ia()}function ss(t){gn.call(this),this.w2l_1=t}function ls(t){Rn.call(this),this.y2l_1=t,this.z2l_1=new us(this.y2l_1)}function us(t){var e;os.call(this),this.f2m_1=t,this.g2m_1=\\\"dispatchCoroutine\\\",this.f2m_1.addEventListener(\\\"message\\\",(e=this,function(t){return t.source==e.f2m_1&&t.data==e.g2m_1&&(t.stopPropagation(),e.s2l(),lt()),lt()}),!0)}function cs(){}function hs(){}function ps(t,e){return t+1|0}function fs(t,e){this.f2g_1=t,this.g2g_1=e,this.h2g_1=this.g2g_1.m7(0,ps),this.i2g_1=null}function ds(){}function ms(){vs.call(this)}function vs(){this.o1y_1=this,this.p1y_1=this,this.q1y_1=!1}function gs(){}function ys(t,e){return t}function _s(){this.g21_1=null}qe.prototype=Object.create(Ur.prototype),qe.prototype.constructor=qe,He.prototype=Object.create(qe.prototype),He.prototype.constructor=He,Ge.prototype=Object.create(He.prototype),Ge.prototype.constructor=Ge,We.prototype=Object.create(gt.prototype),We.prototype.constructor=We,Xe.prototype=Object.create(qe.prototype),Xe.prototype.constructor=Xe,Ye.prototype=Object.create(Xe.prototype),Ye.prototype.constructor=Ye,gn.prototype=Object.create(Ua.prototype),gn.prototype.constructor=gn,Je.prototype=Object.create(gn.prototype),Je.prototype.constructor=Je,An.prototype=Object.create(gn.prototype),An.prototype.constructor=An,en.prototype=Object.create(An.prototype),en.prototype.constructor=en,Aa.prototype=Object.create(hs.prototype),Aa.prototype.constructor=Aa,vn.prototype=Object.create(Aa.prototype),vn.prototype.constructor=vn,Cn.prototype=Object.create(gn.prototype),Cn.prototype.constructor=Cn,Sn.prototype=Object.create(Tn.prototype),Sn.prototype.constructor=Sn,zn.prototype=Object.create(Dt.prototype),zn.prototype.constructor=zn,Rn.prototype=Object.create(Bt.prototype),Rn.prototype.constructor=Rn,Fn.prototype=Object.create(Bt.prototype),Fn.prototype.constructor=Fn,Vn.prototype=Object.create(Ht.prototype),Vn.prototype.constructor=Vn,Zn.prototype=Object.create(Rn.prototype),Zn.prototype.constructor=Zn,Qn.prototype=Object.create(ee.prototype),Qn.prototype.constructor=Qn,tr.prototype=Object.create(ie.prototype),tr.prototype.constructor=tr,ms.prototype=Object.create(vs.prototype),ms.prototype.constructor=ms,_r.prototype=Object.create(ms.prototype),_r.prototype.constructor=_r,Fa.prototype=Object.create(vs.prototype),Fa.prototype.constructor=Fa,br.prototype=Object.create(Fa.prototype),br.prototype.constructor=br,Fr.prototype=Object.create(br.prototype),Fr.prototype.constructor=Fr,jr.prototype=Object.create(vn.prototype),jr.prototype.constructor=jr,Vr.prototype=Object.create(br.prototype),Vr.prototype.constructor=Vr,Gr.prototype=Object.create(Vr.prototype),Gr.prototype.constructor=Gr,Wr.prototype=Object.create(Vr.prototype),Wr.prototype.constructor=Wr,Xr.prototype=Object.create(br.prototype),Xr.prototype.constructor=Xr,Zr.prototype=Object.create(br.prototype),Zr.prototype.constructor=Zr,Jr.prototype=Object.create(Vr.prototype),Jr.prototype.constructor=Jr,Qr.prototype=Object.create(Ur.prototype),Qr.prototype.constructor=Qr,ei.prototype=Object.create(Rn.prototype),ei.prototype.constructor=ei,ni.prototype=Object.create(Qr.prototype),ni.prototype.constructor=ni,ri.prototype=Object.create(ce.prototype),ri.prototype.constructor=ri,ii.prototype=Object.create(Rn.prototype),ii.prototype.constructor=ii,di.prototype=Object.create(An.prototype),di.prototype.constructor=di,Ei.prototype=Object.create(vs.prototype),Ei.prototype.constructor=Ei,mi.prototype=Object.create(Ei.prototype),mi.prototype.constructor=mi,vi.prototype=Object.create(mi.prototype),vi.prototype.constructor=vi,gi.prototype=Object.create(wi.prototype),gi.prototype.constructor=gi,Ai.prototype=Object.create(vs.prototype),Ai.prototype.constructor=Ai,xi.prototype=Object.create(Ai.prototype),xi.prototype.constructor=xi,Mi.prototype=Object.create(Ai.prototype),Mi.prototype.constructor=Mi,Ti.prototype=Object.create(Ai.prototype),Ti.prototype.constructor=Ti,Si.prototype=Object.create(Ti.prototype),Si.prototype.constructor=Si,Oi.prototype=Object.create(gi.prototype),Oi.prototype.constructor=Oi,Li.prototype=Object.create(Ht.prototype),Li.prototype.constructor=Li,Ui.prototype=Object.create(ji.prototype),Ui.prototype.constructor=Ui,Gi.prototype=Object.create(we.prototype),Gi.prototype.constructor=Gi,Wi.prototype=Object.create(Ce.prototype),Wi.prototype.constructor=Wi,Xi.prototype=Object.create(qe.prototype),Xi.prototype.constructor=Xi,Ji.prototype=Object.create(gi.prototype),Ji.prototype.constructor=Ji,Qi.prototype=Object.create(gi.prototype),Qi.prototype.constructor=Qi,no.prototype=Object.create(Xi.prototype),no.prototype.constructor=no,io.prototype=Object.create(gt.prototype),io.prototype.constructor=io,oo.prototype=Object.create(gi.prototype),oo.prototype.constructor=oo,so.prototype=Object.create(gt.prototype),so.prototype.constructor=so,uo.prototype=Object.create(Vo.prototype),uo.prototype.constructor=uo,lo.prototype=Object.create(uo.prototype),lo.prototype.constructor=lo,co.prototype=Object.create(gt.prototype),co.prototype.constructor=co,Lo.prototype=Object.create(gt.prototype),Lo.prototype.constructor=Lo,Po.prototype=Object.create(No.prototype),Po.prototype.constructor=Po,zo.prototype=Object.create(Fo.prototype),zo.prototype.constructor=zo,Uo.prototype=Object.create(gt.prototype),Uo.prototype.constructor=Uo,qo.prototype=Object.create(gt.prototype),qo.prototype.constructor=qo,Ko.prototype=Object.create(gt.prototype),Ko.prototype.constructor=Ko,Qo.prototype=Object.create(gt.prototype),Qo.prototype.constructor=Qo,ea.prototype=Object.create(gt.prototype),ea.prototype.constructor=ea,ia.prototype=Object.create(gt.prototype),ia.prototype.constructor=ia,aa.prototype=Object.create(gt.prototype),aa.prototype.constructor=aa,ua.prototype=Object.create(gt.prototype),ua.prototype.constructor=ua,ha.prototype=Object.create(gt.prototype),ha.prototype.constructor=ha,fa.prototype=Object.create(gt.prototype),fa.prototype.constructor=fa,ba.prototype=Object.create(Aa.prototype),ba.prototype.constructor=ba,Oa.prototype=Object.create(ee.prototype),Oa.prototype.constructor=Oa,za.prototype=Object.create(qe.prototype),za.prototype.constructor=za,Ka.prototype=Object.create(ei.prototype),Ka.prototype.constructor=Ka,Ja.prototype=Object.create(Zn.prototype),Ja.prototype.constructor=Ja,Qa.prototype=Object.create(ce.prototype),Qa.prototype.constructor=Qa,is.prototype=Object.create(Rn.prototype),is.prototype.constructor=is,ts.prototype=Object.create(is.prototype),ts.prototype.constructor=ts,ns.prototype=Object.create(is.prototype),ns.prototype.constructor=ns,os.prototype=Object.create(da.prototype),os.prototype.constructor=os,rs.prototype=Object.create(os.prototype),rs.prototype.constructor=rs,ss.prototype=Object.create(gn.prototype),ss.prototype.constructor=ss,ls.prototype=Object.create(Rn.prototype),ls.prototype.constructor=ls,us.prototype=Object.create(os.prototype),us.prototype.constructor=us,qe.prototype.p5=function(){return this.v1u_1},qe.prototype.w1u=function(){return this.v1u_1},qe.prototype.x1u=function(){return Ur.prototype.x1u.call(this)},qe.prototype.y1u=function(t){},qe.prototype.z1u=function(t,e){},qe.prototype.a1v=function(){return Wa(this)+\\\" was cancelled\\\"},qe.prototype.b1v=function(t){t instanceof Tn?this.z1u(t.c1v_1,t.e1v()):this.y1u(null==t||st(t)?t:at())},qe.prototype.n5=function(t){var e=this.f1v(On(t,null,1));if(e===pr())return lt();this.g1v(e)},qe.prototype.g1v=function(t){return this.h1v(t)},qe.prototype.i1v=function(t){Dn(this.v1u_1,t)},qe.prototype.j1v=function(){var t=(this.v1u_1,null);return null==t?Ur.prototype.j1v.call(this):'\\\"'+t+'\\\":'+Ur.prototype.j1v.call(this)},qe.prototype.k1v=function(t,e,n){t.n1v(n,e,this)},qe.$metadata$=dt(\\\"AbstractCoroutine\\\",[ir,ft,jn],void 0,void 0,void 0,Ur.prototype),He.prototype.o1w=function(t){return Dn(this.v1u_1,t),!0},He.$metadata$=dt(\\\"StandaloneCoroutine\\\",void 0,void 0,void 0,void 0,qe.prototype),Ge.prototype.t1v=function(){Da(this.x1w_1,this)},Ge.$metadata$=dt(\\\"LazyStandaloneCoroutine\\\",void 0,void 0,void 0,void 0,He.prototype),We.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.g1x_1.h1x(this))===yt())return t;continue t;case 1:return null==t||st(t)?t:at();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},We.$metadata$=dt(\\\"$awaitCOROUTINE$0\\\",void 0,void 0,void 0,void 0,gt.prototype),Xe.prototype.l1x=function(t){var e=new We(this,t);return e.im_1=lt(),e.jm_1=null,e.pm()},Xe.$metadata$=dt(\\\"DeferredCoroutine\\\",[Wn,Na],void 0,void 0,void 0,qe.prototype),Ye.prototype.t1v=function(){Da(this.p1x_1,this)},Ye.$metadata$=dt(\\\"LazyDeferredCoroutine\\\",void 0,void 0,void 0,void 0,Xe.prototype),Ze.$metadata$=_t(\\\"CancellableContinuation\\\",[ft]),Je.prototype.x1x=function(t){return this.w1x_1.y1x()},Je.prototype.invoke=function(t){return this.x1x(t)},Je.prototype.toString=function(){return\\\"DisposeOnCancel[\\\"+this.w1x_1+\\\"]\\\"},Je.$metadata$=dt(\\\"DisposeOnCancel\\\",void 0,void 0,void 0,void 0,gn.prototype),en.prototype.x1x=function(t){this.n1y_1.r1y()},en.prototype.invoke=function(t){return this.x1x(t)},en.prototype.toString=function(){return\\\"RemoveOnCancel[\\\"+this.n1y_1+\\\"]\\\"},en.$metadata$=dt(\\\"RemoveOnCancel\\\",void 0,void 0,void 0,void 0,An.prototype),vn.prototype.i1z=function(){return this.h1y_1},vn.prototype.p5=function(){return this.i1y_1},vn.prototype.q1v=function(){return this.k1y_1.j1u_1},vn.prototype.r1v=function(){var t=this.q1v();return!(null!=t&&bt(t,bn))},vn.prototype.j1z=function(){var t=an(this);if(null==t)return lt();var e=t;this.r1v()&&(e.y1x(),this.l1y_1=ur())},vn.prototype.m1y=function(){var t=this.k1y_1.j1u_1;return t instanceof wn&&null!=t.g1z_1?(this.w1y(),!1):(this.j1y_1.k1u_1=0,this.k1y_1.j1u_1=_n(),!0)},vn.prototype.k1z=function(){return this.q1v()},vn.prototype.l1z=function(t,e){for(var n=this.k1y_1;;){var r=n.j1u_1,i=r;if(null!=i&&bt(i,bn))throw xt(\\\"Not completed\\\");if(i instanceof Tn)return lt();if(i instanceof wn){if(r.m1z())throw xt(At(\\\"Must be called at most once\\\"));var o=r.n1z(null,null,null,null,e,15,null);if(this.k1y_1.atomicfu$compareAndSet(r,o))return r.o1z(this,e),lt()}else if(this.k1y_1.atomicfu$compareAndSet(r,xn(r,null,null,null,e,14)))return lt()}return lt()},vn.prototype.x1y=function(t){for(var e=this.k1y_1;;){var n=e.j1u_1;if(null==n||!bt(n,bn))return!1;var r=new Sn(this,t,n instanceof gn);if(this.k1y_1.atomicfu$compareAndSet(n,r)){var i=n instanceof gn?n:null;return null==i||(this.p1z(i,t),lt()),mn(this),un(this,this.t1y_1),!0}lt()}},vn.prototype.q1z=function(t){if(function(t,e){if(!rn(t))return!1;var n=t.h1y_1;return(n instanceof ba?n:at()).u1y(e)}(this,t))return lt();this.x1y(t),mn(this)},vn.prototype.p1z=function(t,e){var n;try{t.invoke(e),n=lt()}catch(t){if(!(t instanceof Error))throw t;Dn(this.p5(),new Qn(\\\"Exception in invokeOnCancellation handler for \\\"+this,t)),n=lt()}return n},vn.prototype.y1y=function(t,e){try{t(e)}catch(t){if(!(t instanceof Error))throw t;Dn(this.p5(),new Qn(\\\"Exception in resume onCancellation handler for \\\"+this,t))}},vn.prototype.r1z=function(t){return t.u1v()},vn.prototype.s1z=function(){var t=rn(this);if(function(t){for(var e=t.j1y_1;;)switch(e.k1u_1){case 0:if(t.j1y_1.atomicfu$compareAndSet(0,1))return!0;break;case 2:return!1;default:throw xt(\\\"Already suspended\\\")}}(this))return null==this.l1y_1&&an(this),t&&sn(this),yt();t&&sn(this);var e=this.q1v();if(e instanceof Tn)throw ys(e.c1v_1);if(Ca(this.t1y_1)){var n=this.p5().g7(rr());if(null!=n&&!n.x1u()){var r=n.u1v();throw this.l1z(e,r),ys(r)}}return this.t1z(e)},vn.prototype.n5=function(t){return pn(this,function(t,e){var n,r=It(t);if(null==r){var i=Lt(t);n=null==i||st(i)?i:at()}else n=En(ys(r),!1,2);return n}(t),this.t1y_1,null,8)},vn.prototype.v1x=function(t,e){return hn(this,t,this.t1y_1,e)},vn.prototype.t1x=function(t){for(var e=function(t,e){return e instanceof gn?e:new Cn(e)}(0,t),n=this.k1y_1;;){var r=n.j1u_1,i=r;if(i instanceof yn){if(this.k1y_1.atomicfu$compareAndSet(r,e))return lt()}else if(i instanceof gn)ln(0,t,r);else{if(i instanceof Tn){if(r.u1z()||ln(0,t,r),r instanceof Sn){var o=r instanceof Tn?r:null;on(this,t,null==o?null:o.c1v_1)}return lt()}if(i instanceof wn){if(null!=r.e1z_1&&ln(0,t,r),e instanceof An)return lt();if(r.m1z())return on(this,t,r.h1z_1),lt();var a=r.n1z(null,e,null,null,null,29,null);if(this.k1y_1.atomicfu$compareAndSet(r,a))return lt()}else{if(e instanceof An)return lt();var s=xn(r,e,null,null,null,28);if(this.k1y_1.atomicfu$compareAndSet(r,s))return lt()}}}},vn.prototype.w1y=function(){var t=this.l1y_1;if(null==t)return lt();t.y1x(),this.l1y_1=ur()},vn.prototype.q1x=function(t,e){return fn(this,t,e,null)},vn.prototype.r1x=function(t,e,n){return fn(this,t,e,n)},vn.prototype.s1x=function(t){un(this,this.t1y_1)},vn.prototype.u1x=function(t,e){var n=this.h1y_1,r=n instanceof ba?n:null;pn(this,e,(null==r?null:r.a1y_1)===t?J:this.t1y_1,null,8)},vn.prototype.t1z=function(t){var e;if(t instanceof wn){var n=t.d1z_1;e=null==n||st(n)?n:at()}else e=null==t||st(t)?t:at();return e},vn.prototype.v1z=function(t){var e=Aa.prototype.v1z.call(this,t);return null==e?null:ys(e,this.h1y_1)},vn.prototype.toString=function(){return this.j1v()+\\\"(\\\"+qa(this.h1y_1)+\\\"){\\\"+(null!=(t=this.q1v())&&bt(t,bn)?\\\"Active\\\":t instanceof Sn?\\\"Cancelled\\\":\\\"Completed\\\")+\\\"}@\\\"+Xa(this);var t},vn.prototype.j1v=function(){return\\\"CancellableContinuation\\\"},vn.$metadata$=dt(\\\"CancellableContinuationImpl\\\",[Ze,gs],void 0,void 0,void 0,Aa.prototype),gn.$metadata$=dt(\\\"CancelHandler\\\",[bn],void 0,void 0,void 0,Ua.prototype),yn.prototype.toString=function(){return\\\"Active\\\"},yn.$metadata$=Et(\\\"Active\\\",[bn]),bn.$metadata$=_t(\\\"NotCompleted\\\"),wn.prototype.z1z=function(){return this.e1z_1},wn.prototype.a20=function(){return this.g1z_1},wn.prototype.b20=function(){return this.h1z_1},wn.prototype.m1z=function(){return!(null==this.h1z_1)},wn.prototype.o1z=function(t,e){var n=this.e1z_1;null==n||(t.p1z(n,e),lt());var r=this.f1z_1;null==r||(t.y1y(r,e),lt())},wn.prototype.c20=function(t,e,n,r,i){return new wn(t,e,n,r,i)},wn.prototype.n1z=function(t,e,n,r,i,o,a){return 0!=(1&o)&&(t=this.d1z_1),0!=(2&o)&&(e=this.e1z_1),0!=(4&o)&&(n=this.f1z_1),0!=(8&o)&&(r=this.g1z_1),0!=(16&o)&&(i=this.h1z_1),this.c20(t,e,n,r,i)},wn.prototype.toString=function(){return\\\"CompletedContinuation(result=\\\"+wt(this.d1z_1)+\\\", cancelHandler=\\\"+this.e1z_1+\\\", onCancellation=\\\"+this.f1z_1+\\\", idempotentResume=\\\"+wt(this.g1z_1)+\\\", cancelCause=\\\"+this.h1z_1+\\\")\\\"},wn.prototype.hashCode=function(){var t=null==this.d1z_1?0:Tt(this.d1z_1);return t=ot(t,31)+(null==this.e1z_1?0:Tt(this.e1z_1))|0,t=ot(t,31)+(null==this.f1z_1?0:Tt(this.f1z_1))|0,t=ot(t,31)+(null==this.g1z_1?0:Tt(this.g1z_1))|0,ot(t,31)+(null==this.h1z_1?0:Tt(this.h1z_1))|0},wn.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof wn))return!1;var e=t instanceof wn?t:at();return!!(St(this.d1z_1,e.d1z_1)&&St(this.e1z_1,e.e1z_1)&&St(this.f1z_1,e.f1z_1)&&St(this.g1z_1,e.g1z_1)&&St(this.h1z_1,e.h1z_1))},wn.$metadata$=dt(\\\"CompletedContinuation\\\"),An.$metadata$=dt(\\\"BeforeResumeCancelHandler\\\",void 0,void 0,void 0,void 0,gn.prototype),Cn.prototype.x1x=function(t){this.d20_1(t)},Cn.prototype.invoke=function(t){return this.x1x(t)},Cn.prototype.toString=function(){return\\\"InvokeOnCancel[\\\"+Wa(this.d20_1)+\\\"@\\\"+Xa(this)+\\\"]\\\"},Cn.$metadata$=dt(\\\"InvokeOnCancel\\\",void 0,void 0,void 0,void 0,gn.prototype),Mn.$metadata$=_t(\\\"CompletableJob\\\",[ir]),Tn.prototype.s1=function(){return this.c1v_1},Tn.prototype.e1v=function(){return this.d1v_1.n1u_1},Tn.prototype.u1z=function(){return this.d1v_1.atomicfu$compareAndSet(!1,!0)},Tn.prototype.toString=function(){return Wa(this)+\\\"[\\\"+this.c1v_1+\\\"]\\\"},Tn.$metadata$=dt(\\\"CompletedExceptionally\\\"),Sn.prototype.c1z=function(){return this.b1z_1.atomicfu$compareAndSet(!1,!0)},Sn.$metadata$=dt(\\\"CancelledContinuation\\\",void 0,void 0,void 0,void 0,Tn.prototype),In.prototype.toString=function(){return\\\"CompletedWithCancellation(result=\\\"+wt(this.e20_1)+\\\", onCancellation=\\\"+this.f20_1+\\\")\\\"},In.prototype.hashCode=function(){var t=null==this.e20_1?0:Tt(this.e20_1);return ot(t,31)+Tt(this.f20_1)|0},In.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof In))return!1;var e=t instanceof In?t:at();return!!St(this.e20_1,e.e20_1)&&!!St(this.f20_1,e.f20_1)},In.$metadata$=dt(\\\"CompletedWithCancellation\\\"),zn.$metadata$=Et(\\\"Key\\\",void 0,void 0,void 0,void 0,Dt.prototype),Rn.prototype.h20=function(t){return!0},Rn.prototype.e7=function(t){return new ba(this,t)},Rn.prototype.f7=function(t){(t instanceof ba?t:at()).w18()},Rn.prototype.toString=function(){return Wa(this)+\\\"@\\\"+Xa(this)},Rn.$metadata$=dt(\\\"CoroutineDispatcher\\\",[jt],void 0,void 0,void 0,Bt.prototype),$n.$metadata$=Et(\\\"Key\\\",[Ut]),Bn.$metadata$=Et(\\\"Key\\\",[Ut]),Fn.prototype.toString=function(){return\\\"CoroutineName(\\\"+this.l20_1+\\\")\\\"},Fn.prototype.hashCode=function(){return Vt(this.l20_1)},Fn.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fn))return!1;var e=t instanceof Fn?t:at();return this.l20_1===e.l20_1},Fn.$metadata$=dt(\\\"CoroutineName\\\",void 0,void 0,void 0,void 0,Bt.prototype),jn.$metadata$=_t(\\\"CoroutineScope\\\"),Un.prototype.w1u=function(){return mt()},Un.$metadata$=Et(\\\"GlobalScope\\\",[jn]),Vn.prototype.n1v=function(t,e,n){var r;switch(this.z1_1){case 0:!function(t,e,n,r,i,o){!function(t,e,n,r){try{var i=Yt(vt(t,e,n));Pt(),ya(i,zt(lt()),r),lt()}catch(t){if(!(t instanceof Error))throw t;$a(n,t),lt()}}(t,e,n,null)}(t,e,n),r=lt();break;case 2:Gt(t,e,n),r=lt();break;case 3:!function(t,e,n){t:{var r,i=n;try{var o;n.p5(),r=\\\"function\\\"==typeof(o=t)?o(e,i):t.qm(e,i)}catch(t){if(t instanceof Error){var a;Pt(),a=zt(Rt(t)),i.n5(a),lt(),lt();break t}throw t}var s=r;if(s!==yt()){var l,u=null==s||st(s)?s:at();Pt(),l=zt(u),i.n5(l),lt()}}}(t,e,n),r=lt();break;case 1:r=lt();break;default:Wt()}return r},Vn.prototype.q1w=function(){return this===(qn(),h)},Vn.$metadata$=dt(\\\"CoroutineStart\\\",void 0,void 0,void 0,void 0,Ht.prototype),Gn.$metadata$=_t(\\\"CopyableThrowable\\\"),Wn.$metadata$=_t(\\\"Deferred\\\",[ir]),Xn.$metadata$=_t(\\\"Delay\\\"),Zn.prototype.r20=function(){var t=this.q20_1;if(null==t)return!1;var e=t.v20();return null!=e&&(e.x1z(),!0)},Zn.prototype.w20=function(t){var e,n=this.q20_1;if(null==n){var r=new da;this.q20_1=r,e=r}else e=n;e.x20(t)},Zn.prototype.y20=function(){return this.o20_1.k1(Yn(0,!0))>=0},Zn.prototype.z20=function(){var t=this.q20_1,e=null==t?null:t.a21();return null==e||e},Zn.prototype.b21=function(t){this.o20_1=this.o20_1.j9(Yn(0,t)),t||(this.p20_1=!0)},Zn.prototype.c21=function(t){if(this.o20_1=this.o20_1.k9(Yn(0,t)),this.o20_1.k1(new Xt(0,0))>0)return lt();this.p20_1&&this.d21()},Zn.prototype.d21=function(){},Zn.$metadata$=dt(\\\"EventLoop\\\",void 0,void 0,void 0,void 0,Rn.prototype),Kn.prototype.f21=function(){var t,e=this.e21_1.h21();if(null==e){var n=new Ja;Jn().e21_1.i21(n),t=n}else t=e;return t},Kn.$metadata$=Et(\\\"ThreadLocalEventLoop\\\"),Qn.$metadata$=dt(\\\"CompletionHandlerException\\\",void 0,void 0,void 0,void 0,ee.prototype),tr.$metadata$=dt(\\\"CoroutinesInternalError\\\",void 0,void 0,void 0,void 0,ie.prototype),er.$metadata$=_t(\\\"DisposableHandle\\\"),nr.$metadata$=Et(\\\"Key\\\",[Ut]),ir.$metadata$=_t(\\\"Job\\\",[ae]),or.$metadata$=_t(\\\"ChildJob\\\",[ir]),ar.$metadata$=_t(\\\"ParentJob\\\",[ir]),sr.$metadata$=_t(\\\"ChildHandle\\\",[er]),lr.prototype.l1l=function(){return null},lr.prototype.y1x=function(){},lr.prototype.g1w=function(t){return!1},lr.prototype.toString=function(){return\\\"NonDisposableHandle\\\"},lr.$metadata$=Et(\\\"NonDisposableHandle\\\",[er,sr]),gr.prototype.x1u=function(){return this.j21_1},gr.prototype.d1m=function(){return null},gr.prototype.toString=function(){return\\\"Empty{\\\"+(this.j21_1?\\\"Active\\\":\\\"New\\\")+\\\"}\\\"},gr.$metadata$=dt(\\\"Empty\\\",[yr]),yr.$metadata$=_t(\\\"Incomplete\\\"),_r.prototype.x1u=function(){return!0},_r.prototype.d1m=function(){return this},_r.prototype.n21=function(t){var e=se();e.f9(\\\"List{\\\"),e.f9(t),e.f9(\\\"}[\\\");for(var n=!0,r=this.o1y_1;!St(r,this);){if(r instanceof br){var i=r;n?n=!1:e.f9(\\\", \\\"),e.ra(i)}r=r.o1y_1}return e.f9(\\\"]\\\"),e.toString()},_r.prototype.toString=function(){return Ga()?this.n21(\\\"Active\\\"):ms.prototype.toString.call(this)},_r.$metadata$=dt(\\\"NodeList\\\",[yr],void 0,void 0,void 0,ms.prototype),br.prototype.f22=function(){var t=this.e22_1;if(null!=t)return t;le(\\\"job\\\")},br.prototype.x1u=function(){return!0},br.prototype.d1m=function(){return null},br.prototype.y1x=function(){return this.f22().a1w(this)},br.prototype.toString=function(){return Wa(this)+\\\"@\\\"+Xa(this)+\\\"[job@\\\"+Xa(this.f22())+\\\"]\\\"},br.$metadata$=dt(\\\"JobNode\\\",[er,yr],void 0,void 0,void 0,Fa.prototype),Nr.prototype.d1m=function(){return this.h22_1},Nr.prototype.s22=function(t){this.i22_1.n1u_1=t},Nr.prototype.o22=function(){return this.i22_1.n1u_1},Nr.prototype.y22=function(t){this.j22_1.j1u_1=t},Nr.prototype.r22=function(){return this.j22_1.j1u_1},Nr.prototype.p22=function(){return wr(this)===mr()},Nr.prototype.l22=function(){return!(null==this.r22())},Nr.prototype.x1u=function(){return null==this.r22()},Nr.prototype.m22=function(t){var e,n=wr(this);if(null==n)e=Ar();else if(n instanceof Error){var r=Ar();r.a(n),e=r}else{if(!(n instanceof he)){var i=\\\"State is \\\"+wt(n);throw xt(At(i))}e=n instanceof he?n:at()}var o=e,a=this.r22(),s=a;return null==s||(o.hf(0,s),lt()),null==t||St(t,a)||o.a(t),xr(this,mr()),o},Nr.prototype.q22=function(t){var e=this.r22();if(null==e)return this.y22(t),lt();if(t===e)return lt();var n=wr(this);if(null==n)xr(this,t);else if(n instanceof Error){if(t===n)return lt();var r=Ar();r.a(n),r.a(t),xr(this,r)}else{if(!(n instanceof he)){var i=\\\"State is \\\"+wt(n);throw xt(At(i))}(n instanceof he?n:at()).a(t)}},Nr.prototype.toString=function(){return\\\"Finishing[cancelling=\\\"+this.l22()+\\\", completing=\\\"+this.o22()+\\\", rootCause=\\\"+this.r22()+\\\", exceptions=\\\"+wt(wr(this))+\\\", list=\\\"+this.h22_1+\\\"]\\\"},Nr.$metadata$=dt(\\\"Finishing\\\",[yr]),Fr.prototype.x1x=function(t){!function(t,e,n,r){var i=$r(n);if(null!=i&&Dr(t,e,i,r))return lt();var o=Cr(t,e,r);t.h1v(o)}(this.d23_1,this.e23_1,this.f23_1,this.g23_1)},Fr.prototype.invoke=function(t){return this.x1x(t)},Fr.$metadata$=dt(\\\"ChildCompletion\\\",void 0,void 0,void 0,void 0,br.prototype),jr.prototype.r1z=function(t){var e=this.n23_1.q1v();if(e instanceof Nr){var n=e.r22();if(null!=n)return n}return e instanceof Tn?e.c1v_1:t.u1v()},jr.prototype.j1v=function(){return\\\"AwaitContinuation\\\"},jr.$metadata$=dt(\\\"AwaitContinuation\\\",void 0,void 0,void 0,void 0,vn.prototype),Ur.prototype.u2=function(){return rr()},Ur.prototype.o1v=function(t){this.r1u_1.j1u_1=t},Ur.prototype.p1v=function(){return this.r1u_1.j1u_1},Ur.prototype.s1u=function(t){if(null==t)return this.o1v(ur()),lt();t.s1v();var e=t.k1w(this);this.o1v(e),this.r1v()&&(e.y1x(),this.o1v(ur()))},Ur.prototype.q1v=function(){for(var t=this.q1u_1;;){var e=t.j1u_1;if(!(e instanceof ma))return e;e.o23(this)}},Ur.prototype.x1u=function(){var t=this.q1v();return!(null==t||!bt(t,yr))&&t.x1u()},Ur.prototype.r1v=function(){var t=this.q1v();return!(null!=t&&bt(t,yr))},Ur.prototype.p23=function(){var t=this.q1v();return t instanceof Tn||t instanceof Nr&&t.l22()},Ur.prototype.s1v=function(){for(;;){var t=Sr(this,this.q1v());if(0===t)return!1;if(1===t)return!0}},Ur.prototype.t1v=function(){},Ur.prototype.u1v=function(){var t,e=this.q1v();if(e instanceof Nr){var n=e.r22(),r=null==n?null:this.v1v(n,Wa(this)+\\\" is cancelling\\\");if(null==r)throw xt(At(\\\"Job is still new or active: \\\"+this));t=r}else{if(null!=e&&bt(e,yr))throw xt(At(\\\"Job is still new or active: \\\"+this));t=e instanceof Tn?this.w1v(e.c1v_1,null,1,null):new Qa(Wa(this)+\\\" has completed normally\\\",null,this)}return t},Ur.prototype.v1v=function(t,e){var n,r=t instanceof ce?t:null;if(null==r){var i=e;n=new Qa(null==i?this.a1v():i,t,this)}else n=r;return n},Ur.prototype.w1v=function(t,e,n,r){return 0!=(1&n)&&(e=null),this.v1v(t,e)},Ur.prototype.x1v=function(t){return this.y1v(!1,!0,t)},Ur.prototype.y1v=function(t,e,n){for(var r=function(t,e,n){var r;if(n){var i=e instanceof Vr?e:null;r=null==i?new Wr(e):i}else{var o=e instanceof br?e:null,a=null==o?null:o;r=null==a?new Xr(e):a}var s=r;return s.e22_1=t,s}(this,n,t);;)t:{var i=this.q1v(),o=i;if(o instanceof gr)if(i.j21_1){if(this.q1u_1.atomicfu$compareAndSet(i,r))return r}else Or(this,i);else{if(null==o||!bt(o,yr)){if(e){var a=i instanceof Tn?i:null;ja(n,null==a?null:a.c1v_1)}return ur()}var s=i.d1m();if(null==s)Ir(this,i instanceof br?i:at());else{var l=null,u=ur();if(t&&i instanceof Nr)if(null==(l=i.r22())||!!(n instanceof Gr)&&!i.o22()){if(!kr(this,i,s,r)){lt();break t}if(null==l)return r;u=r,lt()}if(null!=l)return e&&ja(n,l),u;if(kr(this,i,s,r))return r}}}},Ur.prototype.a1w=function(t){for(;;){var e=this.q1v();if(!(e instanceof br))return null!=e&&bt(e,yr)?(null!=e.d1m()&&t.r1y(),lt()):lt();if(e!==t)return lt();if(this.q1u_1.atomicfu$compareAndSet(e,vr()))return lt()}},Ur.prototype.b1w=function(){return!1},Ur.prototype.c1w=function(t){var e,n=t;e=null==n?new Qa(this.a1v(),null,this):n,this.e1w(e)},Ur.prototype.a1v=function(){return\\\"Job was cancelled\\\"},Ur.prototype.e1w=function(t){this.h1w(t)},Ur.prototype.f1w=function(t){this.h1w(t)},Ur.prototype.g1w=function(t){return t instanceof ce||!!this.h1w(t)&&this.n1w()},Ur.prototype.q23=function(t){return this.h1w(t)},Ur.prototype.h1w=function(t){var e,n=hr();return!(!this.b1w()||(n=function(t,e){for(;;){var n=t.q1v();if(null==n||!bt(n,yr)||n instanceof Nr&&n.o22())return hr();var r=Rr(t,n,En(Lr(t,e),!1,2));if(r!==fr())return r}}(this,t),n!==pr()))||(n===hr()&&(n=function(t,e){for(var n=null;;)t:{var r=t.q1v(),i=r;if(i instanceof Nr){if(r.p22())return dr();var o=r.l22();if(null!=e||!o){var a,s=n;if(null==s){var l=Lr(t,e);n=l,a=l}else a=s;var u=a;r.q22(u)}var c=r.r22(),h=o?null:c;return null==h||(Er(t,r.h22_1,h),lt()),hr()}if(null==i||!bt(i,yr))return dr();var p,f=n;if(null==f){var d=Lr(t,e);n=d,p=d}else p=f;var m=p;if(!r.x1u()){var v=Rr(t,r,En(m,!1,2));if(v===hr()){var g=\\\"Cannot happen in \\\"+wt(r);throw xt(At(g))}if(v===fr()){lt();break t}return v}if(zr(t,r,m))return hr()}}(this,t)),n===hr()||n===pr()?e=!0:n===dr()?e=!1:(this.h1v(n),e=!0),e)},Ur.prototype.i1w=function(t,e){var n=t;return new Qa(null==n?this.a1v():n,e,this)},Ur.prototype.j1w=function(){var t,e=this.q1v(),n=e;if(n instanceof Nr)t=e.r22();else if(n instanceof Tn)t=e.c1v_1;else{if(null!=n&&bt(n,yr)){var r=\\\"Cannot be cancelling child in this state: \\\"+wt(e);throw xt(At(r))}t=null}var i=t,o=i instanceof ce?i:null;return null==o?new Qa(\\\"Parent job is \\\"+Br(0,e),i,this):o},Ur.prototype.f1v=function(t){for(;;){var e=Rr(this,this.q1v(),t);if(e===hr())throw pe(\\\"Job \\\"+this+\\\" is already complete or completing, but is being completed with \\\"+wt(t),(void 0,null==(r=(n=t)instanceof Tn?n:null)?null:r.c1v_1));if(e!==fr())return e;lt()}var n,r},Ur.prototype.k1w=function(t){var e;e=new Gr(t);var n=this.z1v(!0,!1,e,2,null);return bt(n,sr)?n:at()},Ur.prototype.i1v=function(t){throw t},Ur.prototype.l1w=function(t){},Ur.prototype.m1w=function(){return!1},Ur.prototype.n1w=function(){return!0},Ur.prototype.o1w=function(t){return!1},Ur.prototype.b1v=function(t){},Ur.prototype.h1v=function(t){},Ur.prototype.toString=function(){return this.p1w()+\\\"@\\\"+Xa(this)},Ur.prototype.p1w=function(){return this.j1v()+\\\"{\\\"+Br(0,this.q1v())+\\\"}\\\"},Ur.prototype.j1v=function(){return Wa(this)},Ur.prototype.h1x=function(t){t:for(;;){var e=this.q1v();if(null==e||!bt(e,yr)){if(e instanceof Tn)throw e.c1v_1;return Yr(e)}if(Sr(this,e)>=0)break t}return function(t,e){var n,r=new jr(Yt(e),t);return r.j1z(),n=new Zr(r),Ke(r,t.x1v(n)),r.s1z()}(this,t)},Ur.$metadata$=dt(\\\"JobSupport\\\",[ir,or,ar,Ba]),Vr.$metadata$=dt(\\\"JobCancellingNode\\\",void 0,void 0,void 0,void 0,br.prototype),Hr.prototype.d1m=function(){return this.n22_1},Hr.prototype.x1u=function(){return!1},Hr.prototype.toString=function(){return Ga()?this.n22_1.n21(\\\"New\\\"):fe(this)},Hr.$metadata$=dt(\\\"InactiveNodeList\\\",[yr]),Gr.prototype.l1l=function(){return this.f22()},Gr.prototype.x1x=function(t){return this.x22_1.f1w(this.f22())},Gr.prototype.invoke=function(t){return this.x1x(t)},Gr.prototype.g1w=function(t){return this.f22().g1w(t)},Gr.$metadata$=dt(\\\"ChildHandleNode\\\",[sr],void 0,void 0,void 0,Vr.prototype),Wr.prototype.x1x=function(t){this.w23_1.atomicfu$compareAndSet(0,1)&&this.v23_1(t)},Wr.prototype.invoke=function(t){return this.x1x(t)},Wr.$metadata$=dt(\\\"InvokeOnCancelling\\\",void 0,void 0,void 0,void 0,Vr.prototype),Xr.prototype.x1x=function(t){return this.b24_1(t)},Xr.prototype.invoke=function(t){return this.x1x(t)},Xr.$metadata$=dt(\\\"InvokeOnCompletion\\\",void 0,void 0,void 0,void 0,br.prototype),Zr.prototype.x1x=function(t){var e=this.f22().q1v();if(e instanceof Tn){var n,r=this.h24_1,i=e.c1v_1;Pt(),n=zt(Rt(i)),r.n5(n),lt()}else{var o,a=this.h24_1,s=Yr(e),l=null==s||st(s)?s:at();Pt(),o=zt(l),a.n5(o),lt()}},Zr.prototype.invoke=function(t){return this.x1x(t)},Zr.$metadata$=dt(\\\"ResumeAwaitOnCompletion\\\",void 0,void 0,void 0,void 0,br.prototype),Kr.$metadata$=dt(\\\"IncompleteStateBox\\\"),Jr.prototype.x1x=function(t){this.m24_1.q1z(this.m24_1.r1z(this.f22()))},Jr.prototype.invoke=function(t){return this.x1x(t)},Jr.$metadata$=dt(\\\"ChildContinuation\\\",void 0,void 0,void 0,void 0,Vr.prototype),Qr.prototype.b1w=function(){return!0},Qr.prototype.n1w=function(){return this.p24_1},Qr.$metadata$=dt(\\\"JobImpl\\\",[Mn],void 0,void 0,void 0,Ur.prototype),ei.prototype.toString=function(){var t=this.s24();return null==t?Wa(this)+\\\"@\\\"+Xa(this):t},ei.prototype.s24=function(){var t,e=Za().x24();if(this===e)return\\\"Dispatchers.Main\\\";try{t=e.r24()}catch(e){if(!(e instanceof de))throw e;t=null}return this===t?\\\"Dispatchers.Main.immediate\\\":null},ei.$metadata$=dt(\\\"MainCoroutineDispatcher\\\",void 0,void 0,void 0,void 0,Rn.prototype),ni.prototype.g1w=function(t){return!1},ni.$metadata$=dt(\\\"SupervisorJobImpl\\\",void 0,void 0,void 0,void 0,Qr.prototype),ri.$metadata$=dt(\\\"TimeoutCancellationException\\\",[Gn],void 0,void 0,void 0,ce.prototype),ii.prototype.h20=function(t){return!1},ii.prototype.i20=function(t,e){var n=t.g7((null==E&&new oi,E));if(null!=n)return n.d25_1=!0,lt();throw me(\\\"Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls.\\\")},ii.prototype.toString=function(){return\\\"Dispatchers.Unconfined\\\"},ii.$metadata$=Et(\\\"Unconfined\\\",void 0,void 0,void 0,void 0,Rn.prototype),oi.$metadata$=Et(\\\"Key\\\",[Ut]),di.prototype.x1x=function(t){this.y25_1.r1y()&&this.z25_1.a26()},di.prototype.invoke=function(t){return this.x1x(t)},di.prototype.toString=function(){return\\\"RemoveReceiveOnCancel[\\\"+this.y25_1+\\\"]\\\"},di.$metadata$=dt(\\\"RemoveReceiveOnCancel\\\",void 0,void 0,void 0,void 0,An.prototype),mi.prototype.r25=function(t){return 1===this.p25_1?new Hi(Vi().c26(t)):t},mi.prototype.d26=function(t,e){var n=this.r25(t),r=e;return null==this.o25_1.r1x(n,null==r?null:r.f26_1,this.v25(t))?null:(null==e||e.h26(),nn())},mi.prototype.i26=function(t){return this.o25_1.s1x(nn())},mi.prototype.q25=function(t){if(1===this.p25_1){var e,n=this.o25_1,r=Vi().o26(t.m26_1);Pt(),e=zt(new Hi(r)),n.n5(e),lt()}else{var i,o=this.o25_1,a=t.n26();Pt(),i=zt(Rt(a)),o.n5(i),lt()}},mi.prototype.toString=function(){return\\\"ReceiveElement@\\\"+Xa(this)+\\\"[receiveMode=\\\"+this.p25_1+\\\"]\\\"},mi.$metadata$=dt(\\\"ReceiveElement\\\",void 0,void 0,void 0,void 0,Ei.prototype),vi.prototype.v25=function(t){return e=this.v26_1,n=t,r=this.o25_1.p5(),i=e,o=n,a=r,function(t){return Pa(i,o,a),lt()};var e,n,r,i,o,a},vi.$metadata$=dt(\\\"ReceiveElementWithUndeliveredHandler\\\",void 0,void 0,void 0,void 0,mi.prototype),gi.prototype.k25=function(){for(;;){var t=this.y26();if(null==t)return ui();var e=t;if(null!=e.c27(null))return e.d27(),e.e27();e.f27()}},gi.prototype.g27=function(){return null!=this.h27()&&this.x26()},gi.prototype.w25=function(t){var e;if(this.w26()){var n,r=this.f25_1;r.p1y_1 instanceof Ai?n=!1:(r.v21(t),n=!0),e=n}else{var i,o=this.f25_1;o.p1y_1 instanceof Ai?i=!1:this.x26()?(o.v21(t),i=!0):i=!1,e=i}return e},gi.prototype.i27=function(t){var e=this.k25();if(e!==ui())return new Hi(e instanceof Mi?Vi().o26(e.m26_1):Vi().c26(null==e||st(e)?e:at()));var n=function(t,e,n){var r=tn(Yt(n));t:for(var i=null==t.e25_1?new mi(bt(r,Ze)?r:at(),1):new vi(bt(r,Ze)?r:at(),1,t.e25_1);;){if(pi(t,i)){fi(t,r,i),lt();break t}var o=t.k25();if(o instanceof Mi){i.q25(o),lt();break t}if(o!==ui()){var a=i.r25(null==o||st(o)?o:at());r.v1x(a,i.v25(null==o||st(o)?o:at())),lt();break t}}return r.s1z()}(this,0,t);return n===yt()?n:new Hi(n.j27_1)},gi.prototype.c1w=function(t){if(this.g27())return lt();var e=t;this.k27(null==e?Ot(Wa(this)+\\\" was cancelled\\\"):e)},gi.prototype.k27=function(t){var e=this.l27(t);return this.m27(e),e},gi.prototype.m27=function(t){var e=this.n27();if(null==e)throw xt(\\\"Cannot happen\\\");var n=e,r=Ta(null,1);t:for(;;){var i=n.p1y_1;if(i instanceof ms)break t;i.r1y()?r=Sa(r,i instanceof Ai?i:at()):i.a22()}this.o27(r,n)},gi.prototype.o27=function(t,e){if(null!=t)if(t instanceof he){var n=t instanceof he?t:at(),r=n.h()-1|0;if(0<=r)do{var i=r;r=r+-1|0,n.j(i).p27(e)}while(0<=r)}else{var o=t;(null==o||st(o)?o:at()).p27(e)}else lt()},gi.prototype.q27=function(){var t=wi.prototype.q27.call(this);return null!=t&&!(t instanceof Mi)&&this.a26(),t},gi.prototype.x25=function(){},gi.prototype.a26=function(){},gi.$metadata$=dt(\\\"AbstractChannel\\\",[Di],void 0,void 0,void 0,wi.prototype),xi.prototype.h28=function(){return this.g28_1},xi.prototype.e27=function(){return this.g28_1},xi.prototype.c27=function(t){var e=nn();return null==t||t.h26(),e},xi.prototype.d27=function(){},xi.prototype.p27=function(t){},xi.prototype.toString=function(){return\\\"SendBuffered@\\\"+Xa(this)+\\\"(\\\"+this.g28_1+\\\")\\\"},xi.$metadata$=dt(\\\"SendBuffered\\\",void 0,void 0,void 0,void 0,Ai.prototype),wi.prototype.r27=function(){return this.e25_1},wi.prototype.u27=function(t){for(;;){var e=this.q27();if(null==e)return li();var n=e;if(null!=n.d26(t,null))return n.i26(t),n.p26()}},wi.prototype.n27=function(){var t,e,n=(t=this.f25_1.p1y_1)instanceof Mi?t:null;return null==n?e=null:(bi(this,n),e=n),e},wi.prototype.h27=function(){var t,e,n=(t=this.f25_1.o1y_1)instanceof Mi?t:null;return null==n?e=null:(bi(this,n),e=n),e},wi.prototype.y26=function(){var t,e=this.f25_1,n=e.o1y_1;if(n!==e)if(n instanceof Ai)if(n instanceof Mi)t=n;else{if(!n.w21())throw xt(At(\\\"Should remove\\\"));t=n}else t=null;else t=null;return t},wi.prototype.i28=function(t){var e=this.f25_1,n=new xi(t),r=e.p1y_1;return bt(r,Ci)?r:(e.v21(n),null)},wi.prototype.v27=function(){return!(null==this.n27())},wi.prototype.w27=function(t,e){return this.u27(t)===si()?lt():function(t,e,n){var r=tn(Yt(n));t:for(;;){if(yi(t)){var i=null==t.e25_1?new Ti(e,r):new Si(e,r,t.e25_1),o=t.x27(i);if(null==o){Qe(r,i),lt();break t}if(o instanceof Mi){_i(r,t,e,o),lt();break t}if(o===ci());else if(!(o instanceof Ei)){var a=\\\"enqueueSend returned \\\"+wt(o);throw xt(At(a))}}var s=t.u27(e);if(s===si()){var l;Pt(),l=zt(lt()),r.n5(l),lt(),lt();break t}if(s!==li()){if(s instanceof Mi){_i(r,t,e,s),lt();break t}var u=\\\"offerInternal returned \\\"+At(s);throw xt(At(u))}}return r.s1z()}(this,t,e)},wi.prototype.x27=function(t){if(this.s27()){var e=this.f25_1,n=e.p1y_1;if(bt(n,Ci))return n;e.v21(t)}else{var r,i=this.f25_1,o=i.p1y_1;if(bt(o,Ci))return o;if(this.t27()?(i.v21(t),r=!0):r=!1,!r)return ci()}return null},wi.prototype.l27=function(t){var e,n=new Mi(t),r=this.f25_1;r.p1y_1 instanceof Mi?e=!1:(r.v21(n),e=!0);var i,o,a=e;a?i=n:i=(o=this.f25_1.p1y_1)instanceof Mi?o:at();return bi(this,i),a&&function(t,e){var n=t.g25_1.j1u_1;null!==n&&n!==hi()&&t.g25_1.atomicfu$compareAndSet(n,hi())&&(null!=n&&\\\"function\\\"==typeof n?n:at())(e)}(this,t),a},wi.prototype.z27=function(t){if(!this.g25_1.atomicfu$compareAndSet(null,t)){var e=this.g25_1.j1u_1;if(e===hi())throw xt(\\\"Another handler was already registered and successfully invoked\\\");throw xt(\\\"Another handler was already registered: \\\"+wt(e))}var n=this.n27();null!=n&&this.g25_1.atomicfu$compareAndSet(t,hi())&&t(n.m26_1)},wi.prototype.a28=function(t){},wi.prototype.q27=function(){var t,e=this.f25_1,n=e.o1y_1;if(n!==e)if(bt(n,Ci))if(n instanceof Mi)t=n;else{if(!n.w21())throw xt(At(\\\"Should remove\\\"));t=n}else t=null;else t=null;return t},wi.prototype.toString=function(){return Wa(this)+\\\"@\\\"+Xa(this)+\\\"{\\\"+function(t){var e=t.f25_1.o1y_1;if(e===t.f25_1)return\\\"EmptyQueue\\\";var n=e,r=n instanceof Mi?At(e):n instanceof Ei?\\\"ReceiveQueued\\\":n instanceof Ai?\\\"SendQueued\\\":\\\"UNEXPECTED:\\\"+e,i=t.f25_1.p1y_1;return i!==e&&(r=r+\\\",queueSize=\\\"+function(t){for(var e=0,n=t.f25_1,r=n.o1y_1;!St(r,n);)r instanceof vs&&(e=e+1|0),r=r.o1y_1;return e}(t),i instanceof Mi&&(r=r+\\\",closedForSend=\\\"+i)),r}(this)+\\\"}\\\"+this.b28()},wi.prototype.b28=function(){return\\\"\\\"},wi.$metadata$=dt(\\\"AbstractSendChannel\\\",[$i]),Ai.prototype.f27=function(){},Ai.$metadata$=dt(\\\"Send\\\",void 0,void 0,void 0,void 0,vs.prototype),Ci.$metadata$=_t(\\\"ReceiveOrClosed\\\"),Mi.prototype.c28=function(){var t=this.m26_1;return null==t?new Wi(Yi()):t},Mi.prototype.n26=function(){var t=this.m26_1;return null==t?new Gi(Yi()):t},Mi.prototype.p26=function(){return this},Mi.prototype.e27=function(){return this},Mi.prototype.c27=function(t){var e=nn();return null==t||t.h26(),e},Mi.prototype.d27=function(){},Mi.prototype.d26=function(t,e){var n=nn();return null==e||e.h26(),n},Mi.prototype.i26=function(t){},Mi.prototype.p27=function(t){return lt()},Mi.prototype.toString=function(){return\\\"Closed@\\\"+Xa(this)+\\\"[\\\"+this.m26_1+\\\"]\\\"},Mi.$metadata$=dt(\\\"Closed\\\",[Ci],void 0,void 0,void 0,Ai.prototype),Ei.prototype.p26=function(){return si()},Ei.prototype.v25=function(t){return null},Ei.$metadata$=dt(\\\"Receive\\\",[Ci],void 0,void 0,void 0,vs.prototype),Ti.prototype.e27=function(){return this.m28_1},Ti.prototype.c27=function(t){var e=t;return null==this.n28_1.q1x(lt(),null==e?null:e.f26_1)?null:(null==t||t.h26(),nn())},Ti.prototype.d27=function(){return this.n28_1.s1x(nn())},Ti.prototype.p27=function(t){var e,n=this.n28_1,r=t.c28();return Pt(),e=zt(Rt(r)),n.n5(e),lt()},Ti.prototype.toString=function(){return Wa(this)+\\\"@\\\"+Xa(this)+\\\"(\\\"+this.e27()+\\\")\\\"},Ti.$metadata$=dt(\\\"SendElement\\\",void 0,void 0,void 0,void 0,Ai.prototype),Si.prototype.r1y=function(){return!!Ti.prototype.r1y.call(this)&&(this.f27(),!0)},Si.prototype.f27=function(){Pa(this.t28_1,this.e27(),this.n28_1.p5())},Si.$metadata$=dt(\\\"SendElementWithUndeliveredHandler\\\",void 0,void 0,void 0,void 0,Ti.prototype),Oi.prototype.w26=function(){return!1},Oi.prototype.x26=function(){return 0===this.c29_1.k1u_1},Oi.prototype.s27=function(){return!1},Oi.prototype.t27=function(){return this.c29_1.k1u_1===this.x28_1&&this.y28_1.equals(Pi())},Oi.prototype.g27=function(){return this.z28_1,gi.prototype.g27.call(this)},Oi.prototype.u27=function(t){var e=null;this.z28_1;t:{var n=this.c29_1.k1u_1,r=this.n27();if(null!=r)return r;var i=function(t,e){if(e<t.x28_1)return t.c29_1.k1u_1=e+1|0,null;var n;switch(t.y28_1.z1_1){case 0:n=li();break;case 2:n=si();break;case 1:n=null;break;default:Wt()}return n}(this,n);if(null!=i)return i;if(0===n)e:for(;;){var o=this.q27();if(null==o)break e;if((e=o)instanceof Mi)return this.c29_1.k1u_1=n,xe(e);if(null!=xe(e).d26(t,null)){this.c29_1.k1u_1=n,lt();break t}}return function(t,e,n){e<t.x28_1?(function(t,e){if(e>=t.a29_1.length){var n=ot(t.a29_1.length,2),r=t.x28_1,i=Math.min(n,r),o=ge(Array(i),null),a=0;if(a<e)do{var s=a;a=a+1|0,o[s]=t.a29_1[(t.b29_1+s|0)%t.a29_1.length|0]}while(a<e);ye(o,ai(),e,i),t.a29_1=o,t.b29_1=0}}(t,e),t.a29_1[(t.b29_1+e|0)%t.a29_1.length|0]=n):(t.a29_1[t.b29_1%t.a29_1.length|0]=null,t.a29_1[(t.b29_1+e|0)%t.a29_1.length|0]=n,t.b29_1=(t.b29_1+1|0)%t.a29_1.length|0)}(this,n,t),si()}return xe(e).i26(t),xe(e).p26()},Oi.prototype.x27=function(t){return this.z28_1,gi.prototype.x27.call(this,t)},Oi.prototype.k25=function(){var t,e=null,n=!1,r=(this.z28_1,this.c29_1.k1u_1);if(0===r){var i=this.n27();return null==i?ui():i}t=this.a29_1[this.b29_1],this.a29_1[this.b29_1]=null,this.c29_1.k1u_1=r-1|0;var o=ui();if(r===this.x28_1)t:for(;;){var a=this.y26();if(null==a)break t;if(null!=xe(e=a).c27(null)){n=!0,o=xe(e).e27();break t}xe(e).f27()}return o!==ui()&&!(o instanceof Mi)&&(this.c29_1.k1u_1=r,this.a29_1[(this.b29_1+r|0)%this.a29_1.length|0]=o),this.b29_1=(this.b29_1+1|0)%this.a29_1.length|0,lt(),n&&xe(e).d27(),t},Oi.prototype.w25=function(t){return this.z28_1,gi.prototype.w25.call(this,t)},Oi.prototype.m27=function(t){var e=this.e25_1,n=null,r=(this.z28_1,this.c29_1.k1u_1),i=0;if(i<r)do{i=i+1|0;var o=this.a29_1[this.b29_1];null!=e&&o!==ai()&&(n=Ia(e,null==o||st(o)?o:at(),n)),this.a29_1[this.b29_1]=ai(),this.b29_1=(this.b29_1+1|0)%this.a29_1.length|0}while(i<r);if(this.c29_1.k1u_1=0,lt(),gi.prototype.m27.call(this,t),null!=n)throw n},Oi.prototype.b28=function(){return\\\"(buffer:capacity=\\\"+this.x28_1+\\\",size=\\\"+this.c29_1.k1u_1+\\\")\\\"},Oi.$metadata$=dt(\\\"ArrayChannel\\\",void 0,void 0,void 0,void 0,gi.prototype),Li.$metadata$=dt(\\\"BufferOverflow\\\",void 0,void 0,void 0,void 0,Ht.prototype),zi.$metadata$=Et(\\\"Factory\\\"),Di.$metadata$=_t(\\\"Channel\\\",[$i,Bi]),$i.$metadata$=_t(\\\"SendChannel\\\"),Bi.$metadata$=_t(\\\"ReceiveChannel\\\"),ji.prototype.toString=function(){return\\\"Failed\\\"},ji.$metadata$=dt(\\\"Failed\\\"),Ui.prototype.equals=function(t){return t instanceof Ui&&St(this.k29_1,t.k29_1)},Ui.prototype.hashCode=function(){var t=this.k29_1,e=null==t?null:Tt(t);return null==e?0:e},Ui.prototype.toString=function(){return\\\"Closed(\\\"+this.k29_1+\\\")\\\"},Ui.$metadata$=dt(\\\"Closed\\\",void 0,void 0,void 0,void 0,ji.prototype),qi.prototype.c26=function(t){return t},qi.prototype.o26=function(t){return new Ui(t)},qi.$metadata$=Et(\\\"Companion\\\"),Hi.prototype.toString=function(){return(t=this.j27_1)instanceof Ui?At(t):\\\"Value(\\\"+wt(t)+\\\")\\\";var t},Hi.prototype.hashCode=function(){return null==(t=this.j27_1)?0:Tt(t);var t},Hi.prototype.equals=function(t){return function(t,e){if(!(e instanceof Hi))return!1;var n=e instanceof Hi?e.j27_1:at();return!!St(t,n)}(this.j27_1,t)},Hi.$metadata$=dt(\\\"ChannelResult\\\"),Gi.$metadata$=dt(\\\"ClosedReceiveChannelException\\\",void 0,void 0,void 0,void 0,we.prototype),Wi.$metadata$=dt(\\\"ClosedSendChannelException\\\",void 0,void 0,void 0,void 0,Ce.prototype),Xi.prototype.v27=function(){return this.o29_1.v27()},Xi.prototype.l27=function(t){return this.o29_1.l27(t)},Xi.prototype.z27=function(t){this.o29_1.z27(t)},Xi.prototype.i27=function(t){var e=this.o29_1.i27(t);return e===yt()?e:new Hi(e.j27_1)},Xi.prototype.w27=function(t,e){return this.o29_1.w27(t,e)},Xi.prototype.c1w=function(t){if(this.p23())return lt();var e,n=t;e=null==n?new Qa(this.a1v(),null,this):n,this.e1w(e)},Xi.prototype.e1w=function(t){var e=this.w1v(t,null,1,null);this.o29_1.c1w(e),this.q23(e)},Xi.$metadata$=dt(\\\"ChannelCoroutine\\\",[Di],void 0,void 0,void 0,qe.prototype),Ji.prototype.w26=function(){return!1},Ji.prototype.x26=function(){return this.s29_1,this.t29_1===ai()},Ji.prototype.s27=function(){return!1},Ji.prototype.t27=function(){return!1},Ji.prototype.u27=function(t){var e=null;this.s29_1;t:{var n=this.n27();if(null!=n)return n;if(this.t29_1===ai())e:for(;;){var r=this.q27();if(null==r)break e;if((e=r)instanceof Mi)return xe(e);if(null!=xe(e).d26(t,null)){lt();break t}}var i=Ki(this,t);if(null!=i)throw i;return si()}return xe(e).i26(t),xe(e).p26()},Ji.prototype.k25=function(){var t;if(this.s29_1,this.t29_1===ai()){var e=this.n27();return null==e?ui():e}return t=this.t29_1,this.t29_1=ai(),lt(),t},Ji.prototype.m27=function(t){var e;if(this.s29_1,e=Ki(this,ai()),lt(),gi.prototype.m27.call(this,t),null!=e)throw e},Ji.prototype.w25=function(t){return this.s29_1,gi.prototype.w25.call(this,t)},Ji.prototype.b28=function(){return this.s29_1,\\\"(value=\\\"+wt(this.t29_1)+\\\")\\\"},Ji.$metadata$=dt(\\\"ConflatedChannel\\\",void 0,void 0,void 0,void 0,gi.prototype),Qi.prototype.w26=function(){return!0},Qi.prototype.x26=function(){return!0},Qi.prototype.s27=function(){return!1},Qi.prototype.t27=function(){return!1},Qi.prototype.u27=function(t){for(;;){var e=gi.prototype.u27.call(this,t);if(e===si())return si();if(e!==li()){if(e instanceof Mi)return e;var n=\\\"Invalid offerInternal result \\\"+At(e);throw xt(At(n))}var r=this.i28(t);if(null==r)return si();if(r instanceof Mi)return r}},Qi.prototype.o27=function(t,e){var n=null;if(null!=t)if(t instanceof he){var r=t instanceof he?t:at(),i=r.h()-1|0;if(0<=i)do{var o=i;i=i+-1|0;var a=r.j(o);if(a instanceof xi){var s,l=this.e25_1;if(null==l)s=null;else{var u=a.g28_1;s=Ia(l,null==u||st(u)?u:at(),n)}n=s}else a.p27(e)}while(0<=i)}else{var c=t,h=null==c||st(c)?c:at();if(h instanceof xi){var p,f=this.e25_1;if(null==f)p=null;else{var d=h.g28_1;p=Ia(f,null==d||st(d)?d:at(),n)}n=p}else h.p27(e)}else lt();if(null!=n)throw n},Qi.$metadata$=dt(\\\"LinkedListChannel\\\",void 0,void 0,void 0,void 0,gi.prototype),to.$metadata$=_t(\\\"ProducerScope\\\",[jn,$i]),no.prototype.x1u=function(){return Xi.prototype.x1u.call(this)},no.prototype.p2a=function(t){this.o29_1.y27(null,1,null)},no.prototype.y1u=function(t){return this.p2a(t instanceof Te?t:at())},no.prototype.z1u=function(t,e){this.o29_1.l27(t)||e||Dn(this.v1u_1,t)},no.$metadata$=dt(\\\"ProducerCoroutine\\\",[to],void 0,void 0,void 0,Xi.prototype),io.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=5,this.h2a_1=this.p5().g7(rr())===this.f2a_1,!this.h2a_1)throw xt(At(\\\"awaitClose() can only be invoked from the producer context\\\"));this.gm_1=1;continue t;case 1:if(this.hm_1=4,this.gm_1=2,this.j2a_1=this,this.k2a_1=new vn(Yt(this.j2a_1),wa()),this.k2a_1.j1z(),this.f2a_1.z27(ro(this.k2a_1)),(t=Se(this.k2a_1.s1z(),this))===yt())return t;continue t;case 2:this.i2a_1=t,this.hm_1=5,this.gm_1=3;continue t;case 3:return this.g2a_1(),lt();case 4:this.hm_1=5;var e=this.jm_1;throw this.g2a_1(),e;case 5:throw this.jm_1}}catch(t){if(5===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},io.$metadata$=dt(\\\"$awaitCloseCOROUTINE$3\\\",void 0,void 0,void 0,void 0,gt.prototype),oo.prototype.w26=function(){return!0},oo.prototype.x26=function(){return!0},oo.prototype.s27=function(){return!0},oo.prototype.t27=function(){return!0},oo.$metadata$=dt(\\\"RendezvousChannel\\\",void 0,void 0,void 0,void 0,gi.prototype),ao.prototype.t2a=function(t,e){return lt()},ao.prototype.u2a=function(t,e){return this.t2a(t,e)},ao.$metadata$=Et(\\\"EmptyFlow\\\",[ho]),so.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=uo.prototype.j2b.call(this.d2b_1,this.e2b_1,this))===yt())return t;continue t;case 1:if(!this.e2b_1.v27())throw xt(\\\"'awaitClose { yourCallbackOrListener.cancel() }' should be used in the end of callbackFlow block.\\\\nOtherwise, a callback/listener may leak in case of external cancellation.\\\\nSee callbackFlow API documentation for the details.\\\");return lt();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},so.$metadata$=dt(\\\"$collectToCOROUTINE$4\\\",void 0,void 0,void 0,void 0,gt.prototype),lo.prototype.j2b=function(t,e){var n=new so(this,t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},lo.$metadata$=dt(\\\"CallbackFlowBuilder\\\",void 0,void 0,void 0,void 0,uo.prototype),uo.prototype.j2b=function(t,e){return this.i2b_1(t,e)},uo.prototype.toString=function(){return\\\"block[\\\"+this.i2b_1+\\\"] -> \\\"+Vo.prototype.toString.call(this)},uo.$metadata$=dt(\\\"ChannelFlowBuilder\\\",void 0,void 0,void 0,void 0,Vo.prototype),co.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=11,Xo(this.e2c_1),this.h2c_1=null,this.gm_1=1;continue t;case 1:this.hm_1=9,this.hm_1=8,this.gm_1=2;continue t;case 2:if(this.gm_1=3,(t=this.f2c_1.i27(this))===yt())return t;this.gm_1=4;continue t;case 3:this.j2c_1=t.j27_1,t=new Hi(this.j2c_1),this.gm_1=4;continue t;case 4:if(this.k2c_1=t.j27_1,this.k2c_1 instanceof Ui){var e=Fi(this.k2c_1);if(null!=e)throw e;this.gm_1=7;continue t}this.gm_1=5;continue t;case 5:if(this.gm_1=6,(t=this.e2c_1.l2c(Ni(this.k2c_1),this))===yt())return t;continue t;case 6:this.gm_1=2;continue t;case 7:this.i2c_1=lt(),this.hm_1=11,this.gm_1=10;continue t;case 8:if(this.hm_1=9,this.jm_1 instanceof Error){var n=this.jm_1;throw this.h2c_1=n,n}throw this.jm_1;case 9:this.hm_1=11;var r=this.jm_1;throw this.g2c_1&&Zi(this.f2c_1,this.h2c_1),r;case 10:return this.g2c_1&&Zi(this.f2c_1,this.h2c_1),lt();case 11:throw this.jm_1}}catch(t){if(11===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},co.$metadata$=dt(\\\"$emitAllImplCOROUTINE$5\\\",void 0,void 0,void 0,void 0,gt.prototype),ho.$metadata$=_t(\\\"Flow\\\"),po.$metadata$=_t(\\\"FlowCollector\\\"),mo.$metadata$=_t(\\\"MutableSharedFlow\\\",[vo,po]),vo.$metadata$=_t(\\\"SharedFlow\\\",[ho]),Io.prototype.y1x=function(){return function(t,e){if(e.f2d_1.k1(go(t))<0)return lt();var n=xe(t.t2c_1);return Ro(n,e.f2d_1)!==e||(Do(n,e.f2d_1,fo()),Eo(t)),lt()}(this.e2d_1,this)},Io.$metadata$=dt(\\\"Emitter\\\",[er]),Lo.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=13,this.t2d_1=this.r2d_1.x2d(),this.gm_1=1;continue t;case 1:if(this.hm_1=12,this.s2d_1 instanceof na){if(this.gm_1=2,(t=this.s2d_1.a2e(this))===yt())return t;continue t}this.gm_1=3;continue t;case 2:this.gm_1=3;continue t;case 3:this.v2d_1=this.p5().g7(rr()),this.gm_1=4;continue t;case 4:case 7:this.gm_1=5;continue t;case 5:if(this.w2d_1=To(this.r2d_1,this.t2d_1),this.w2d_1!==fo()){this.gm_1=8;continue t}this.gm_1=6;continue t;case 6:if(this.gm_1=7,(t=ko(this.r2d_1,this.t2d_1,this))===yt())return t;continue t;case 8:var e=this.v2d_1;null==e||cr(e),this.gm_1=9;var n=this.w2d_1;if((t=this.s2d_1.l2c(null==n||st(n)?n:at(),this))===yt())return t;continue t;case 9:this.gm_1=4;continue t;case 10:this.u2d_1=lt(),this.hm_1=13,this.gm_1=11;continue t;case 11:return this.r2d_1.b2e(this.t2d_1),lt();case 12:this.hm_1=13;var r=this.jm_1;throw this.r2d_1.b2e(this.t2d_1),r;case 13:throw this.jm_1}}catch(t){if(13===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Lo.$metadata$=dt(\\\"$collectCOROUTINE$6\\\",void 0,void 0,void 0,void 0,gt.prototype),Po.prototype.c2e=function(){var t=xe(this.t2c_1),e=this.u2c_1,n=yo(this),r=Ro(t,e.j9(Oe(n)).k9(new Xt(1,0)));return null==r||st(r)?r:at()},Po.prototype.d2e=function(t,e){var n=new Lo(this,t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},Po.prototype.u2a=function(t,e){return this.d2e(t,e)},Po.prototype.e2e=function(t){var e,n=Bo();xo(this,t)?(n=Oo(this,n),e=!0):e=!1;for(var r=e,i=n,o=0,a=i.length;o<a;){var s=i[o];o=o+1|0;var l,u=s;if(null==u);else Pt(),l=zt(lt()),u.n5(l),lt()}return r},Po.prototype.l2c=function(t,e){return this.e2e(t)?lt():function(t,e,n){var r=new vn(Yt(n),wa());r.j1z();var i,o,a=Bo();if(xo(t,e)){var s;Pt(),s=zt(lt()),r.n5(s),lt(),a=Oo(t,a),o=null}else{var l=go(t),u=_o(t),c=new Io(t,l.j9(Oe(u)),e,r);Ao(t,c);var h=t,p=h.x2c_1;h.x2c_1=p+1|0,0===t.r2c_1&&(a=Oo(t,a)),o=c}null==(i=o)||(Ke(r,i),lt());for(var f=a,d=0,m=f.length;d<m;){var v=f[d];d=d+1|0;var g,y=v;null==y||(Pt(),g=zt(lt()),y.n5(g),lt())}return r.s1z()}(this,t,e)},Po.prototype.f2e=function(){var t=this.u2c_1;return t.k1(this.v2c_1)<0&&(this.v2c_1=t),t},Po.prototype.i2d=function(t){if(t.k1(this.v2c_1)>0)return Bo();var e=go(this),n=this.w2c_1,r=e.j9(Oe(n));if(0===this.r2c_1&&this.x2c_1>0&&(r=r.ul()),0!==this.z2c_1){var i=this.y2c_1;if(null==i);else for(var o=Ie(i);o.f();){var a=o.g();null!=a&&a.c2d_1.k1(new Xt(0,0))>=0&&a.c2d_1.k1(r)<0&&(r=a.c2d_1)}}else lt();if(r.k1(this.v2c_1)<=0)return Bo();var s,l=bo(this);if(this.z2c_1>0){var u=l.k9(r).ia(),c=this.x2c_1,h=this.r2c_1-u|0;s=Math.min(c,h)}else s=this.x2c_1;var p=s,f=Bo(),d=l,m=this.x2c_1,v=d.j9(Oe(m));if(p>0){f=ge(Array(p),null);var g=0,y=xe(this.t2c_1),_=l;if(_.k1(v)<0)t:do{var b=_;_=_.j9(new Xt(1,0));var x=Ro(y,b);if(x!==fo()){x instanceof Io||at();var w=g;if(g=w+1|0,f[w]=x.h2d_1,Do(y,b,fo()),Do(y,l,x.g2d_1),l=l.ul(),g>=p)break t}}while(_.k1(v)<0)}var A=l.k9(e).ia();0===this.z2c_1&&(r=l);var C=this.u2c_1,M=l,E=this.q2c_1,T=Math.min(E,A),S=M.k9(Oe(T)),k=C.k1(S)>=0?C:S;return 0===this.r2c_1&&k.k1(v)<0&&St(Ro(xe(this.t2c_1),k),fo())&&(l=l.ul(),k=k.ul()),Mo(this,k,r,l,v),Eo(this),!(0===f.length)&&(f=Oo(this,f)),f},Po.prototype.g2e=function(){return new zo},Po.prototype.h2e=function(t){return ge(Array(t),null)},Po.$metadata$=dt(\\\"SharedFlowImpl\\\",[mo,Wo,jo],void 0,void 0,void 0,No.prototype),zo.prototype.l2e=function(t){this.c2d_1=t},zo.prototype.y3=function(){return this.c2d_1},zo.prototype.m2e=function(t){this.d2d_1=t},zo.prototype.n2e=function(){return this.d2d_1},zo.prototype.o2e=function(t){return!(this.c2d_1.k1(new Xt(0,0))>=0||(this.c2d_1=t.f2e(),0))},zo.prototype.p2e=function(t){return this.o2e(t instanceof Po?t:at())},zo.prototype.q2e=function(t){var e=this.c2d_1;return this.c2d_1=new Xt(-1,-1),this.d2d_1=null,t.i2d(e)},zo.prototype.r2e=function(t){return this.q2e(t instanceof Po?t:at())},zo.$metadata$=dt(\\\"SharedFlowSlot\\\",void 0,void 0,void 0,void 0,Fo.prototype),No.prototype.i2e=function(){return this.y2c_1},No.prototype.j2e=function(){return this.z2c_1},No.prototype.x2d=function(){var t,e,n=this.y2c_1;if(null==n){var r=this.h2e(2);this.y2c_1=r,e=r}else{var i;if(this.z2c_1>=n.length){var o=Le(n,ot(2,n.length));this.y2c_1=o,i=o}else i=n;e=i}var a,s=e,l=this.a2d_1;t:for(;;){var u,c=s[l];if(null==c){var h=this.g2e();s[l]=h,u=h}else u=c;if(a=u,(l=l+1|0)>=s.length&&(l=0),(a instanceof Fo?a:at()).p2e(this))break t}this.a2d_1=l;var p=this.z2c_1;this.z2c_1=p+1|0;var f=a;return null==(t=this.b2d_1)||t.e2f(1),f},No.prototype.b2e=function(t){var e,n=this.z2c_1;this.z2c_1=n-1|0,e=this.b2d_1,0===this.z2c_1&&(this.a2d_1=0);for(var r=(t instanceof Fo?t:at()).r2e(this),i=0,o=r.length;i<o;){var a=r[i];i=i+1|0;var s,l=a;if(null==l);else Pt(),s=zt(lt()),l.n5(s),lt()}null==e||e.e2f(-1)},No.prototype.k2e=function(t){if(0===this.z2c_1)return lt();var e=this.y2c_1;if(null==e);else for(var n=Ie(e);n.f();){var r=n.g();null!=r&&t(r)}},No.$metadata$=dt(\\\"AbstractSharedFlow\\\"),Fo.$metadata$=dt(\\\"AbstractSharedFlowSlot\\\"),jo.$metadata$=_t(\\\"FusibleFlow\\\",[ho]),Uo.prototype.p2f=function(t,e){var n=this.q2f(t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},Uo.prototype.qm=function(t,e){return this.p2f(null!=t&&bt(t,to)?t:at(),e)},Uo.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.n2f_1.j2b(this.o2f_1,this))===yt())return t;continue t;case 1:return lt();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Uo.prototype.q2f=function(t,e){var n=new Uo(this.n2f_1,e);return n.o2f_1=t,n},Uo.$metadata$=dt(\\\"ChannelFlow$<get-collectToFun>$slambda\\\",void 0,void 0,void 0,[1],gt.prototype),qo.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},qo.prototype.qm=function(t,e){return this.c2g(null!=t&&bt(t,jn)?t:at(),e)},qo.prototype.pm=function(){var t,e,n=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,t=this.z2f_1,e=this.a2g_1.u2b(this.b2g_1),(n=function(t,e,n,r){var i=new co(t,e,!0,r);return i.im_1=lt(),i.jm_1=null,i.pm()}(t,e,0,this))===yt())return n;continue t;case 1:return lt();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},qo.prototype.d2g=function(t,e){var n=new qo(this.z2f_1,this.a2g_1,e);return n.b2g_1=t,n},qo.$metadata$=dt(\\\"ChannelFlow$collect$slambda\\\",void 0,void 0,void 0,[1],gt.prototype),Vo.prototype.s2b=function(){return function(t,e){var n=new Uo(t,null),r=function(t,e){return n.p2f(t,e)};return r.$arity=1,r}(this)},Vo.prototype.t2b=function(){var t;return Ri(),-3===this.q2b_1?(Ri(),t=-2):t=this.q2b_1,t},Vo.prototype.u2b=function(t){var e,n,r,i,o,a,s=this.t2b(),l=(qn(),p);return e=t,n=this.p2b_1,r=s,i=this.r2b_1,o=l,null,a=this.s2b(),0!=(1&16)&&(n=mt()),eo(e,n,r,i,o,null,a)},Vo.prototype.u2a=function(t,e){return function(t,e){var n,r=e,i=new za(r.p5(),r);return n=function(t,e,n){var r,i;try{var o;i=\\\"function\\\"==typeof(o=n)?o(e,t):n.qm(e,t)}catch(t){if(!(t instanceof Error))throw t;i=En(t,!1,2)}var a=i;if(a!==yt()){var s=t.f1v(a);if(s!==pr()){if(s instanceof Tn)throw s.c1v_1,ys(s.c1v_1,t.m2g_1);r=Yr(s)}else r=yt()}else r=yt();return r}(i,i,t),n}(function(t,e,n){var r=new qo(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(t,this),e)},Vo.prototype.v2b=function(){return null},Vo.prototype.toString=function(){var t=ue(4),e=this.v2b();return null==e||t.a(e),this.p2b_1!==mt()&&t.a(\\\"context=\\\"+this.p2b_1),Ri(),-3!==this.q2b_1&&t.a(\\\"capacity=\\\"+this.q2b_1),this.r2b_1.equals(Pi())||t.a(\\\"onBufferOverflow=\\\"+this.r2b_1),Wa(this)+\\\"[\\\"+Pe(t,\\\", \\\",null,null,0,null,null,62,null)+\\\"]\\\"},Vo.$metadata$=dt(\\\"ChannelFlow\\\",[jo]),Ho.prototype.e2g=function(t,e){return lt()},Ho.prototype.l2c=function(t,e){return this.e2g(null==t||st(t)?t:at(),e)},Ho.$metadata$=Et(\\\"NopCollector\\\",[po]),Go.prototype.u2a=function(t,e){return this.n2g_1(t,e)},Go.$metadata$=dt(void 0,[ho]),Wo.$metadata$=_t(\\\"CancellableFlow\\\",[ho]),Yo.$metadata$=dt(\\\"ThrowingCollector\\\",[po]),Zo.prototype.l2c=function(t,e){return this.p2g_1(t,e)},Zo.$metadata$=dt(\\\"sam$kotlinx_coroutines_flow_FlowCollector$0\\\",[po]),Ko.prototype.b2h=function(t,e){var n=this.c2h(t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},Ko.prototype.qm=function(t,e){return this.b2h(null==t||st(t)?t:at(),e)},Ko.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.y2g_1(this.z2g_1,this.a2h_1,this))===yt())return t;continue t;case 1:return lt();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Ko.prototype.c2h=function(t,e){var n=new Ko(this.y2g_1,this.z2g_1,e);return n.a2h_1=t,n},Ko.$metadata$=dt(\\\"unsafeTransform$o$collect$slambda\\\",void 0,void 0,void 0,[1],gt.prototype),Qo.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=2,this.gm_1=1;var e=Jo(this.l2h_1.o2h_1,this.m2h_1,null);if((t=this.l2h_1.n2h_1.u2a(new Zo(e),this))===yt())return t;continue t;case 1:return lt();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Qo.$metadata$=dt(\\\"$collectCOROUTINE$8\\\",void 0,void 0,void 0,void 0,gt.prototype),ta.prototype.p2h=function(t,e){var n=new Qo(this,t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},ta.prototype.u2a=function(t,e){return this.p2h(t,e)},ta.$metadata$=dt(void 0,[ho]),ea.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=7,this.z2h_1=new fs(this.y2h_1.y2d_1,this.p5()),this.gm_1=1;continue t;case 1:if(this.hm_1=6,this.gm_1=2,(t=this.y2h_1.z2d_1(this.z2h_1,this))===yt())return t;continue t;case 2:this.a2i_1=t,this.hm_1=7,this.gm_1=3;continue t;case 3:if(this.z2h_1.b2i(),this.y2h_1.y2d_1 instanceof na){if(this.gm_1=4,(t=this.y2h_1.y2d_1.a2e(this))===yt())return t;continue t}this.gm_1=5;continue t;case 4:this.gm_1=5;continue t;case 5:return lt();case 6:this.hm_1=7;var e=this.jm_1;throw this.z2h_1.b2i(),e;case 7:throw this.jm_1}}catch(t){if(7===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},ea.$metadata$=dt(\\\"$onSubscriptionCOROUTINE$9\\\",void 0,void 0,void 0,void 0,gt.prototype),na.prototype.a2e=function(t){var e=new ea(this,t);return e.im_1=lt(),e.jm_1=null,e.pm()},na.$metadata$=dt(\\\"SubscribedFlowCollector\\\",[po]),ra.prototype.l2c=function(t,e){return this.c2i_1(t,e)},ra.$metadata$=dt(\\\"sam$kotlinx_coroutines_flow_FlowCollector$0\\\",[po]),ia.prototype.b2h=function(t,e){var n=this.c2h(t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},ia.prototype.qm=function(t,e){return this.b2h(null==t||st(t)?t:at(),e)},ia.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=3,this.gm_1=1,(t=this.l2i_1(this.n2i_1,this))===yt())return t;continue t;case 1:if(this.gm_1=2,(t=this.m2i_1.l2c(this.n2i_1,this))===yt())return t;continue t;case 2:return lt();case 3:throw this.jm_1}}catch(t){if(3===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},ia.prototype.c2h=function(t,e){var n=new ia(this.l2i_1,this.m2i_1,e);return n.n2i_1=t,n},ia.$metadata$=dt(\\\"onEach$o$collect$slambda\\\",void 0,void 0,void 0,[1],gt.prototype),aa.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=2,this.gm_1=1;var e=oa(this.w2i_1.z2i_1,this.x2i_1,null);if((t=this.w2i_1.y2i_1.u2a(new ra(e),this))===yt())return t;continue t;case 1:return lt();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},aa.$metadata$=dt(\\\"$collectCOROUTINE$10\\\",void 0,void 0,void 0,void 0,gt.prototype),sa.prototype.u2a=function(t,e){var n=new aa(this,t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},sa.$metadata$=dt(void 0,[ho]),la.prototype.l2c=function(t,e){return this.a2j_1(t,e)},la.$metadata$=dt(\\\"sam$kotlinx_coroutines_flow_FlowCollector$0\\\",[po]),ua.prototype.b2h=function(t,e){var n=this.c2h(t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},ua.prototype.qm=function(t,e){return this.b2h(null==t||st(t)?t:at(),e)},ua.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=6,this.gm_1=1;continue t;case 1:if(this.gm_1=2,(t=this.j2j_1(this.l2j_1,this))===yt())return t;continue t;case 2:if(t){if(this.gm_1=4,(t=this.k2j_1.l2c(this.l2j_1,this))===yt())return t;continue t}this.gm_1=3;continue t;case 3:this.gm_1=5;continue t;case 4:this.m2j_1=t,this.gm_1=5;continue t;case 5:return lt();case 6:throw this.jm_1}}catch(t){if(6===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},ua.prototype.c2h=function(t,e){var n=new ua(this.j2j_1,this.k2j_1,e);return n.l2j_1=t,n},ua.$metadata$=dt(\\\"filter$o$collect$slambda\\\",void 0,void 0,void 0,[1],gt.prototype),ha.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=2,this.gm_1=1;var e=ca(this.v2j_1.y2j_1,this.w2j_1,null);if((t=this.v2j_1.x2j_1.u2a(new la(e),this))===yt())return t;continue t;case 1:return lt();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},ha.$metadata$=dt(\\\"$collectCOROUTINE$11\\\",void 0,void 0,void 0,void 0,gt.prototype),pa.prototype.u2a=function(t,e){var n=new ha(this,t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},pa.$metadata$=dt(void 0,[ho]),fa.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=lt(),n.jm_1=null,n.pm()},fa.prototype.qm=function(t,e){return this.c2g(null!=t&&bt(t,jn)?t:at(),e)},fa.prototype.pm=function(){var t,e,n=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,t=this.h2k_1,e=this,(n=t.u2a((null==H&&new Ho,H),e))===yt())return n;continue t;case 1:return lt();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},fa.prototype.d2g=function(t,e){var n=new fa(this.h2k_1,e);return n.i2k_1=t,n},fa.$metadata$=dt(\\\"launchIn$slambda\\\",void 0,void 0,void 0,[1],gt.prototype),da.prototype.a21=function(){return this.t20_1===this.u20_1},da.prototype.x20=function(t){this.s20_1[this.u20_1]=t,this.u20_1=(this.u20_1+1|0)&(this.s20_1.length-1|0),this.u20_1===this.t20_1&&function(t){var e=t.s20_1.length,n=ge(Array(e<<1),null),r=t.s20_1,i=t.t20_1,o=r.length;ze(r,n,0,i,o);var a=t.s20_1,s=t.s20_1.length-t.t20_1|0,l=t.t20_1;ze(a,n,s,0,l),t.s20_1=n,t.t20_1=0,t.u20_1=e}(this)},da.prototype.v20=function(){if(this.t20_1===this.u20_1)return null;var t=this.s20_1[this.t20_1];return this.s20_1[this.t20_1]=null,this.t20_1=(this.t20_1+1|0)&(this.s20_1.length-1|0),st(t)?t:at()},da.$metadata$=dt(\\\"ArrayQueue\\\"),ma.$metadata$=dt(\\\"OpDescriptor\\\"),ba.prototype.j2k=function(){return this.b1y_1},ba.prototype.p5=function(){return this.b1y_1.p5()},ba.prototype.k2k=function(){return this.d1y_1},ba.prototype.s1y=function(){return!(null==this.e1y_1.j1u_1)},ba.prototype.l2k=function(){for(var t=this.e1y_1;;)if(t.j1u_1!==ga())return lt()},ba.prototype.w18=function(){this.l2k();var t,e=(t=this.e1y_1.j1u_1)instanceof vn?t:null;null==e||e.w1y()},ba.prototype.f1y=function(){for(var t=this.e1y_1;;){var e=t.j1u_1;if(null===e)return this.e1y_1.j1u_1=ga(),null;if(e instanceof vn){if(this.e1y_1.atomicfu$compareAndSet(e,ga()))return e instanceof vn?e:at()}else if(e===ga());else if(!(e instanceof Error)){var n=\\\"Inconsistent state \\\"+wt(e);throw xt(At(n))}}},ba.prototype.v1y=function(t){for(var e=this.e1y_1;;){var n=e.j1u_1;if(n!==ga()){if(n instanceof Error){if(!this.e1y_1.atomicfu$compareAndSet(n,null))throw _e(At(\\\"Failed requirement.\\\"));return n}var r=\\\"Inconsistent state \\\"+wt(n);throw xt(At(r))}if(this.e1y_1.atomicfu$compareAndSet(ga(),t))return null}},ba.prototype.u1y=function(t){for(var e=this.e1y_1;;){var n=e.j1u_1,r=n;if(St(r,ga())){if(this.e1y_1.atomicfu$compareAndSet(ga(),t))return!0}else{if(r instanceof Error)return!0;if(this.e1y_1.atomicfu$compareAndSet(n,null))return!1}}},ba.prototype.k1z=function(){var t=this.c1y_1;return this.c1y_1=va(),t},ba.prototype.i1z=function(){return this},ba.prototype.n5=function(t){var e=this.b1y_1.p5(),n=On(t,null,1);if(this.a1y_1.h20(e))this.c1y_1=n,this.t1y_1=Ma(),this.a1y_1.i20(e,this);else{var r=Ma(),i=Jn().f21();if(i.y20())this.c1y_1=n,this.t1y_1=r,i.w20(this),!0;else{i.b21(!0);try{for(this.p5(),this.d1y_1,this.b1y_1.n5(t),lt();i.r20(););}catch(t){if(!(t instanceof Error))throw t;this.y1z(t,null)}finally{i.c21(!0)}!1}}},ba.prototype.l1z=function(t,e){t instanceof In&&t.f20_1(e)},ba.prototype.m2k=function(t){var e=this.p5().g7(rr());if(null!=e&&!e.x1u()){var n,r=e.u1v();return this.l1z(t,r),Pt(),n=zt(Rt(r)),this.n5(n),lt(),!0}return!1},ba.prototype.n2k=function(t){this.b1y_1,this.d1y_1,this.b1y_1.n5(t),lt()},ba.prototype.toString=function(){return\\\"DispatchedContinuation[\\\"+this.a1y_1+\\\", \\\"+qa(this.b1y_1)+\\\"]\\\"},ba.$metadata$=dt(\\\"DispatchedContinuation\\\",[gs,ft],void 0,void 0,void 0,Aa.prototype),Aa.prototype.w1z=function(){return this.t1y_1},Aa.prototype.l1z=function(t,e){},Aa.prototype.t1z=function(t){return null==t||st(t)?t:at()},Aa.prototype.v1z=function(t){var e=t instanceof Tn?t:null;return null==e?null:e.c1v_1},Aa.prototype.x1z=function(){lt(),lt();var t=null;try{var e=this.i1z(),n=e instanceof ba?e:at(),r=n.b1y_1,i=(n.d1y_1,r.p5()),o=this.k1z(),a=this.v1z(o),s=null==a&&Ca(this.t1y_1)?i.g7(rr()):null;if(null==s||s.x1u()){var l;if(null!=a){var u;Pt(),u=zt(Rt(a)),r.n5(u),l=lt()}else{var c,h=this.t1z(o);Pt(),c=zt(h),r.n5(c),l=lt()}l}else{var p,f=s.u1v();this.l1z(o,f),Pt();var d=ys(f);p=zt(Rt(d)),r.n5(p),lt()}}catch(e){if(!(e instanceof Error))throw e;t=e}finally{var m;try{Pt(),lt(),m=zt(lt())}catch(t){if(!(t instanceof Error))throw t;Pt(),m=zt(Rt(t))}var v=m;this.y1z(t,It(v))}},Aa.prototype.y1z=function(t,e){if(null===t&&null===e)return lt();var n=new tr(\\\"Fatal exception in coroutines machinery for \\\"+this+\\\". Please read KDoc to 'handleFatalException' method and report this incident to maintainers\\\",xe(null==t?e:t));Dn(this.i1z().p5(),n)},Aa.$metadata$=dt(\\\"DispatchedTask\\\",void 0,void 0,void 0,void 0,hs.prototype),ka.prototype.toString=function(){return t=this.o2k_1,\\\"InlineList(holder=\\\"+wt(t)+\\\")\\\";var t},ka.prototype.hashCode=function(){return null==(t=this.o2k_1)?0:Tt(t);var t},ka.prototype.equals=function(t){return function(t,e){if(!(e instanceof ka))return!1;var n=e instanceof ka?e.o2k_1:at();return!!St(t,n)}(this.o2k_1,t)},ka.$metadata$=dt(\\\"InlineList\\\"),Oa.$metadata$=dt(\\\"UndeliveredElementException\\\",void 0,void 0,void 0,void 0,ee.prototype),za.prototype.m1w=function(){return!0},za.prototype.l1l=function(){var t=this.p1v();return null==t?null:t.l1l()},za.prototype.h1v=function(t){_a(Yt(this.m2g_1),Ln(t,this.m2g_1),null,2)},za.prototype.g1v=function(t){this.m2g_1.n5(Ln(t,this.m2g_1))},za.$metadata$=dt(\\\"ScopeCoroutine\\\",[gs],void 0,void 0,void 0,qe.prototype),Ra.prototype.toString=function(){return\\\"<\\\"+this.p2k_1+\\\">\\\"},Ra.$metadata$=dt(\\\"Symbol\\\"),Ba.$metadata$=_t(\\\"SelectClause0\\\"),Na.$metadata$=_t(\\\"SelectClause1\\\"),Fa.$metadata$=dt(\\\"CompletionHandlerBase\\\",void 0,void 0,void 0,void 0,vs.prototype),Ua.$metadata$=dt(\\\"CancelHandlerBase\\\"),Ya.prototype.x24=function(){var t=this.w24_1;return null==t?this.v24_1:t},Ya.$metadata$=Et(\\\"Dispatchers\\\"),Ka.prototype.r24=function(){return this.t2k_1},Ka.prototype.h20=function(t){return!this.s2k_1},Ka.prototype.i20=function(t,e){return this.r2k_1.i20(t,e)},Ka.prototype.toString=function(){var t=this.s24();return null==t?this.r2k_1.toString():t},Ka.$metadata$=dt(\\\"JsMainDispatcher\\\",void 0,void 0,void 0,void 0,ei.prototype),Ja.prototype.i20=function(t,e){!function(){throw me(\\\"runBlocking event loop is not supported\\\")}()},Ja.$metadata$=dt(\\\"UnconfinedEventLoop\\\",void 0,void 0,void 0,void 0,Zn.prototype),Qa.prototype.toString=function(){return ce.prototype.toString.call(this)+\\\"; job=\\\"+this.y2k_1},Qa.prototype.equals=function(t){return t===this||!!(t instanceof Qa&&t.message==this.message&&St(t.y2k_1,this.y2k_1))&&St(t.cause,this.cause)},Qa.prototype.hashCode=function(){var t=ot(ot(Vt(xe(this.message)),31)+Tt(this.y2k_1)|0,31),e=this.cause,n=null==e?null:Tt(e);return t+(null==n?0:n)|0},Qa.$metadata$=dt(\\\"JobCancellationException\\\",void 0,void 0,void 0,void 0,ce.prototype),ts.prototype.b2l=function(){process.nextTick(this.k2l_1.h2l_1)},ts.$metadata$=Et(\\\"NodeDispatcher\\\",void 0,void 0,void 0,void 0,is.prototype),ns.prototype.b2l=function(){setTimeout(this.k2l_1.h2l_1,0)},ns.$metadata$=Et(\\\"SetTimeoutDispatcher\\\",void 0,void 0,void 0,void 0,is.prototype),rs.prototype.t2l=function(){this.i2l_1.b2l()},rs.prototype.u2l=function(){setTimeout(this.h2l_1,0)},rs.$metadata$=dt(\\\"ScheduledMessageQueue\\\",void 0,void 0,void 0,void 0,os.prototype),is.prototype.i20=function(t,e){this.k2l_1.v2l(e)},is.prototype.m20=function(t,e){var n,r,i;i=new ss(setTimeout((n=e,r=this,function(){return n.u1x(r,lt()),lt(),lt()}),as(t))),e.t1x(i)},is.$metadata$=dt(\\\"SetTimeoutBasedDispatcher\\\",[Xn],void 0,void 0,void 0,Rn.prototype),os.prototype.v2l=function(t){this.x20(t),this.r2l_1||(this.r2l_1=!0,this.t2l())},os.prototype.s2l=function(){try{var t=this.q2l_1,e=0;if(e<t)do{e=e+1|0;var n=this.v20();if(null==n)return lt();n.x1z()}while(e<t)}finally{this.a21()?this.r2l_1=!1:this.u2l()}},os.$metadata$=dt(\\\"MessageQueue\\\",void 0,void 0,void 0,void 0,da.prototype),ss.prototype.y1x=function(){clearTimeout(this.w2l_1)},ss.prototype.x1x=function(t){this.y1x()},ss.prototype.invoke=function(t){return this.x1x(t)},ss.prototype.toString=function(){return\\\"ClearTimeout[\\\"+this.w2l_1+\\\"]\\\"},ss.$metadata$=dt(\\\"ClearTimeout\\\",[er],void 0,void 0,void 0,gn.prototype),ls.prototype.i20=function(t,e){return this.z2l_1.v2l(e)},ls.prototype.m20=function(t,e){var n,r;this.y2l_1.setTimeout((n=e,r=this,function(){return n.u1x(r,lt()),lt(),lt()}),as(t))},ls.$metadata$=dt(\\\"WindowDispatcher\\\",[Xn],void 0,void 0,void 0,Rn.prototype),us.prototype.t2l=function(){var t;Promise.resolve(lt()).then((t=this,function(e){return t.s2l(),lt()}))},us.prototype.u2l=function(){this.f2m_1.postMessage(this.g2m_1,\\\"*\\\")},us.$metadata$=dt(\\\"WindowMessageQueue\\\",void 0,void 0,void 0,void 0,os.prototype),cs.$metadata$=_t(\\\"Runnable\\\"),hs.$metadata$=dt(\\\"SchedulerTask\\\",[cs]),fs.prototype.l2c=function(t,e){var n,r=e.p5();return null==(n=r.g7(rr()))||cr(n),this.i2g_1!==r&&(function(t,e){var n,r=e.m7(0,(n=t,function(t,e){var r=e.u2(),i=n.g2g_1.g7(r);if(r!==rr())return e!==i?ke().a1_1:t+1|0;var o=null==i||bt(i,ir)?i:at(),a=function(t,e){for(var n=t,r=e;;){if(null===n)return null;if(n===r)return n;if(!(n instanceof za))return n;var i=n.l1l();n=i}}(bt(e,ir)?e:at(),o);if(a!==o)throw xt(At(\\\"Flow invariant is violated:\\\\n\\\\t\\\\tEmission from another coroutine is detected.\\\\n\\\\t\\\\tChild of \\\"+a+\\\", expected child of \\\"+o+\\\".\\\\n\\\\t\\\\tFlowCollector is not thread-safe and concurrent emissions are prohibited.\\\\n\\\\t\\\\tTo mitigate this restriction please use 'channelFlow' builder instead of 'flow'\\\"));return null==o?t:t+1|0}));if(r!==t.h2g_1){var i=\\\"Flow invariant is violated:\\\\n\\\\t\\\\tFlow was collected in \\\"+t.g2g_1+\\\",\\\\n\\\\t\\\\tbut emission happened in \\\"+e+\\\".\\\\n\\\\t\\\\tPlease refer to 'flow' documentation or use 'flowOn' instead\\\";throw xt(At(i))}}(this,r),this.i2g_1=r),this.f2g_1.l2c(t,e)},fs.prototype.b2i=function(){},fs.$metadata$=dt(\\\"SafeCollector\\\",[po]),ds.$metadata$=dt(\\\"NoOpLock\\\"),ms.prototype.r1y=function(){throw Ne()},ms.$metadata$=dt(\\\"LinkedListHead\\\",void 0,void 0,void 0,void 0,vs.prototype),vs.prototype.r21=function(){return this.o1y_1},vs.prototype.s21=function(){return this.o1y_1},vs.prototype.t21=function(){return this.p1y_1},vs.prototype.u21=function(){return this.q1y_1},vs.prototype.v21=function(t){var e=this.p1y_1;t.o1y_1=this,t.p1y_1=e,e.o1y_1=t,this.p1y_1=t},vs.prototype.r1y=function(){return this.w21()},vs.prototype.w21=function(){if(this.q1y_1)return!1;var t=this.p1y_1,e=this.o1y_1;return t.o1y_1=e,e.p1y_1=t,this.q1y_1=!0,!0},vs.prototype.g22=function(t){return this.o1y_1===this&&(this.v21(t),!0)},vs.prototype.x21=function(t,e){return!!e()&&(this.v21(t),!0)},vs.prototype.y21=function(t,e){return!!e(this.p1y_1)&&(this.v21(t),!0)},vs.prototype.z21=function(t,e,n){return!!e(this.p1y_1)&&!!n()&&(this.v21(t),!0)},vs.prototype.a22=function(){},vs.$metadata$=dt(\\\"LinkedListNode\\\"),gs.$metadata$=_t(\\\"CoroutineStackFrame\\\"),_s.prototype.h21=function(){var t=this.g21_1;return null==t||st(t)?t:at()},_s.prototype.i21=function(t){this.g21_1=t},_s.$metadata$=dt(\\\"CommonThreadLocal\\\"),Ur.prototype.z1v=je,Ur.prototype.d1w=Fe,Ur.prototype.n7=ut,Ur.prototype.g7=ct,Ur.prototype.m7=ht,Ur.prototype.l7=pt,qe.prototype.z1v=je,qe.prototype.d1w=Fe,qe.prototype.n7=ut,qe.prototype.g7=ct,qe.prototype.m7=ht,qe.prototype.l7=pt,He.prototype.z1v=je,He.prototype.d1w=Fe,He.prototype.n7=ut,He.prototype.g7=ct,He.prototype.m7=ht,He.prototype.l7=pt,Ge.prototype.z1v=je,Ge.prototype.d1w=Fe,Ge.prototype.n7=ut,Ge.prototype.g7=ct,Ge.prototype.m7=ht,Ge.prototype.l7=pt,Xe.prototype.z1v=je,Xe.prototype.d1w=Fe,Xe.prototype.n7=ut,Xe.prototype.g7=ct,Xe.prototype.m7=ht,Xe.prototype.l7=pt,Ye.prototype.z1v=je,Ye.prototype.d1w=Fe,Ye.prototype.n7=ut,Ye.prototype.g7=ct,Ye.prototype.m7=ht,Ye.prototype.l7=pt,Rn.prototype.g7=Nt,Rn.prototype.m7=ht,Rn.prototype.l7=Ft,Rn.prototype.n7=ut,Fn.prototype.g7=ct,Fn.prototype.m7=ht,Fn.prototype.l7=pt,Fn.prototype.n7=ut,Zn.prototype.n7=ut,Zn.prototype.g7=Nt,Zn.prototype.m7=ht,Zn.prototype.l7=Ft,Qr.prototype.z1v=je,Qr.prototype.d1w=Fe,Qr.prototype.n7=ut,Qr.prototype.g7=ct,Qr.prototype.m7=ht,Qr.prototype.l7=pt,ei.prototype.n7=ut,ei.prototype.g7=Nt,ei.prototype.m7=ht,ei.prototype.l7=Ft,ni.prototype.z1v=je,ni.prototype.d1w=Fe,ni.prototype.n7=ut,ni.prototype.g7=ct,ni.prototype.m7=ht,ni.prototype.l7=pt,ii.prototype.n7=ut,ii.prototype.g7=Nt,ii.prototype.m7=ht,ii.prototype.l7=Ft,wi.prototype.y27=Ue,gi.prototype.y27=Ue,Oi.prototype.y27=Ue,Xi.prototype.y27=Ue,Xi.prototype.d1w=Fe,Xi.prototype.z1v=je,Xi.prototype.n7=ut,Xi.prototype.g7=ct,Xi.prototype.m7=ht,Xi.prototype.l7=pt,Ji.prototype.y27=Ue,Qi.prototype.y27=Ue,no.prototype.y27=Ue,no.prototype.d1w=Fe,no.prototype.z1v=je,no.prototype.n7=ut,no.prototype.g7=ct,no.prototype.m7=ht,no.prototype.l7=pt,oo.prototype.y27=Ue,za.prototype.z1v=je,za.prototype.d1w=Fe,za.prototype.n7=ut,za.prototype.g7=ct,za.prototype.m7=ht,za.prototype.l7=pt,Ka.prototype.n7=ut,Ka.prototype.g7=Nt,Ka.prototype.m7=ht,Ka.prototype.l7=Ft,Ja.prototype.n7=ut,Ja.prototype.g7=Nt,Ja.prototype.m7=ht,Ja.prototype.l7=Ft,is.prototype.n7=ut,is.prototype.g7=Nt,is.prototype.m7=ht,is.prototype.l7=Ft,ts.prototype.n7=ut,ts.prototype.g7=Nt,ts.prototype.m7=ht,ts.prototype.l7=Ft,ns.prototype.n7=ut,ns.prototype.g7=Nt,ns.prototype.m7=ht,ns.prototype.l7=Ft,ls.prototype.n7=ut,ls.prototype.g7=Nt,ls.prototype.m7=ht,ls.prototype.l7=Ft,N=\\\"Channel was closed\\\",Y=1,Z=-1,K=2,J=4,Q=0,tt=0,et=!1,t.$_$=t.$_$||{},t.$_$.a=function(t,e,n){var r=new io(t,e,n);return r.im_1=lt(),r.jm_1=null,r.pm()},t.$_$.b=function(t,e){return function(t,e){if(t.k1(new Xt(0,0))<=0)return lt();var n=new vn(Yt(e),wa());return n.j1z(),Zt(),t.k1(new Xt(-1,2147483647))<0&&function(t){var e=t.g7($t()),n=null!=e&&bt(e,Xn)?e:null;return null==n?function(){var t=Za().t24_1;return bt(t,Xn)?t:at()}():n}(n.p5()).m20(t,n),n.s1z()}(te(n=t,Qt().ja_1)>0?Jt(Kt(n),new Xt(1,0)):new Xt(0,0),e);var n},t.$_$.c=function(t,e,n,r,i){return 0!=(1&r)&&(t=0),0!=(2&r)&&(e=0),0!=(4&r)&&(n=Pi()),function(t,e,n){if($o(),!(t>=0))throw _e(At(\\\"replay cannot be negative, but was \\\"+t));if(!(e>=0))throw _e(At(\\\"extraBufferCapacity cannot be negative, but was \\\"+e));if(!(t>0||e>0||n.equals(Pi())))throw _e(At(\\\"replay or extraBufferCapacity must be positive with non-default onBufferOverflow strategy \\\"+n));var r=t+e|0;return new Po(t,r<0?ke().b1_1:r,n)}(t,e,n)},t.$_$.d=function(t,e,n){return 0!=(1&e)&&(t=null),function(t){return new Qr(t)}(t)},t.$_$.e=function(t,e,n,r,i,o){return 0!=(1&i)&&(e=mt()),0!=(2&i)&&(n=Hn()),function(t,e,n,r){var i=Va(t,e),o=n.q1w()?new Ye(i,r):new Xe(i,!0);return o.k1v(n,o,r),o}(t,e,n,r)},t.$_$.f=Ve,t.$_$.g=function(){return null==u&&new Un,u},t.$_$.h=rr,t.$_$.i=to,t.$_$.j=po,t.$_$.k=ho,t.$_$.l=function(t){return function(t,e,n,r,i,o){return function(t,e,n,r,i,o,a){return e=mt(),Ri(),n=-2,r=Pi(),lo.call(a,t,e,n,r),a}(t,null,0,null,0,0,Object.create(lo.prototype))}(t)},t.$_$.m=function(){return null==F&&new ao,F},t.$_$.n=function(t,e){return Ve(e,null,null,function(t,e){var n=new fa(t,null),r=function(t,e){return n.c2g(t,e)};return r.$arity=1,r}(t),3)},t.$_$.o=function(t,e){return new sa(t,e)},t.$_$.p=Fn,t.$_$.q=jn,t.$_$.r=function(t){return new ni(t)}}(t.exports,n(8744),n(2868))},2119:(t,e,n)=>{!function(t,e,n,r,i){\\\"use strict\\\";var o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ut,ct,ht,pt,ft,dt,mt,vt,gt,yt,_t,bt,xt,wt,At,Ct,Mt,Et,Tt,St,kt,Ot,It,Lt,Pt,zt,Rt,Dt,$t,Bt,Nt,Ft,jt,Ut,qt,Vt,Ht,Gt,Wt,Xt,Yt,Zt,Kt,Jt,Qt,te,ee,ne,re,ie,oe,ae,se,le,ue,ce,he,pe,fe,de,me,ve,ge,ye,_e,be,xe,we,Ae,Ce,Me,Ee,Te,Se,ke,Oe,Ie,Le,Pe,ze,Re,De,$e,Be,Ne,Fe,je,Ue,qe,Ve,He,Ge,We,Xe,Ye,Ze,Ke,Je,Qe,tn,en,nn,rn,on,an,sn,ln,un,cn,hn,pn,fn,dn,mn,vn,gn,yn,_n,bn,xn,wn,An,Cn,Mn,En,Tn,Sn,kn,On,In,Ln,Pn,zn,Rn,Dn,$n,Bn,Nn,Fn,jn,Un,qn,Vn,Hn,Gn,Wn,Xn,Yn,Zn,Kn,Jn,Qn,tr,er,nr,rr,ir,or,ar,sr,lr,ur,cr=n.$_$.u,hr=n.$_$.t1,pr=n.$_$.z1,fr=r.$_$.aa,dr=r.$_$.dc,mr=r.$_$.ha,vr=n.$_$.l2,gr=r.$_$.ib,yr=n.$_$.m2,_r=n.$_$.k,br=n.$_$.v,xr=n.$_$.h1,wr=n.$_$.f4,Ar=n.$_$.y1,Cr=n.$_$.w,Mr=r.$_$.s7,Er=n.$_$.s4,Tr=r.$_$.w6,Sr=r.$_$.b1,kr=n.$_$.w4,Or=r.$_$.b5,Ir=r.$_$.b6,Lr=r.$_$.a1,Pr=r.$_$.t7,zr=r.$_$.tb,Rr=r.$_$.j1,Dr=n.$_$.e5,$r=r.$_$.qf,Br=n.$_$.q4,Nr=r.$_$.oe,Fr=r.$_$.wa,jr=n.$_$.s,Ur=r.$_$.k5,qr=r.$_$.ta,Vr=r.$_$.qb,Hr=n.$_$.j3,Gr=n.$_$.p3,Wr=r.$_$.mb,Xr=r.$_$.d2,Yr=n.$_$.x3,Zr=r.$_$.eb,Kr=r.$_$.va,Jr=r.$_$.v6,Qr=n.$_$.r2,ti=n.$_$.a4,ei=n.$_$.l3,ni=n.$_$.c4,ri=n.$_$.y,ii=r.$_$.wb,oi=n.$_$.t,ai=n.$_$.z,si=n.$_$.i,li=r.$_$.pe,ui=r.$_$.ee,ci=n.$_$.l4,hi=r.$_$.pb,pi=n.$_$.p,fi=r.$_$.ka,di=n.$_$.r,mi=n.$_$.e4,vi=n.$_$.r3,gi=r.$_$.za,yi=r.$_$.ge,_i=r.$_$.pf,bi=r.$_$.r6,xi=i.$_$.b,wi=n.$_$.e1,Ai=i.$_$.n,Ci=n.$_$.t4,Mi=r.$_$.ff,Ei=r.$_$.id,Ti=n.$_$.d5,Si=r.$_$.cc;function ki(t){this.x4d_1=t;var e=ja();this.y4d_1=zi(this,e,null,2);var n=so();this.z4d_1=cr(this.x4d_1,n,null,2,null)}function Oi(){var t;o=this,vr.call(this,((t=function(){return new Li}).callableName=\\\"<init>\\\",t))}function Ii(){return null==o&&new Oi,o}function Li(){Ii(),yr.call(this),this.h4e_1=_r(this,null,1,null),this.i4e_1=_r(this,null,1,null),this.j4e_1=br(this,null,1,null),this.k4e_1=_r(this,null,1,null),this.l4e_1=wr(this,xr().w1o(\\\"toImageButtonOptions.format\\\"))}function Pi(){a=this,this.m4e_1=\\\"1.54.6\\\",this.n4e_1=\\\"https://cdn.plot.ly/plotly-1.54.6.min.js\\\",this.o4e_1=Mr([\\\"x\\\",\\\"y\\\",\\\"z\\\",\\\"text\\\",\\\"hovertext\\\",\\\"close\\\",\\\"high\\\",\\\"low\\\",\\\"open\\\",\\\"locations\\\",\\\"lon\\\",\\\"lat\\\",\\\"ids\\\"])}function zi(t,e,n,r,i){return 0!=(2&r)&&(n=null),function(t,e,n){return new Fi(n,t,e)}(t,e,n)}function Ri(t,e,n,r,i,o){return 0!=(2&i)&&(n=e),0!=(4&i)&&(r=null),function(t,e,n,r){return new ji(r,t,n,e)}(t,e,n,r)}function Di(t,e){return new Ui(e,t)}function $i(t,e,n,r){return 0!=(1&n)&&(e=null),Di(t,e)}function Bi(t,e,n,r,i){return 0!=(2&r)&&(n=null),function(t,e,n){return new qi(n,t,e)}(t,e,n)}function Ni(t,e,n,r,i){return 0!=(2&r)&&(n=null),function(t,e,n){return new Vi(n,t,e)}(t,e,n)}function Fi(t,e,n){this.p4e_1=t,this.q4e_1=e,this.r4e_1=n}function ji(t,e,n,r){this.t4e_1=t,this.u4e_1=e,this.v4e_1=n,this.w4e_1=r}function Ui(t,e){this.y4e_1=t,this.z4e_1=e}function qi(t,e,n){this.b4f_1=t,this.c4f_1=e,this.d4f_1=n}function Vi(t,e,n){this.e4f_1=t,this.f4f_1=e,this.g4f_1=n}function Hi(){var t;s=this,vr.call(this,((t=function(){return new Wi}).callableName=\\\"<init>\\\",t))}function Gi(){return null==s&&new Hi,s}function Wi(){Gi(),yr.call(this);var t,e,n=to();t=ri(this,null,null,(e=n,function(t){var n,r,i=null==t?null:ni(t);return null==i?n=null:(r=function(t){switch(t){case\\\"-\\\":return to();case\\\"linear\\\":return Xi(),u;case\\\"log\\\":return Xi(),c;case\\\"date\\\":return Xi(),h;case\\\"category\\\":return Xi(),p;case\\\"multicategory\\\":return Xi(),f;default:Xi(),li()}}(i),n=r),null==n?e:n}),2,null),this.n4f_1=t,this.o4f_1=_r(this,null,1,null),this.p4f_1=Ri(this,0,null,null,6),this.q4f_1=Ri(this,0,null,null,6),this.r4f_1=io(this,null,1);var r=ii(-360,360);this.s4f_1=Bi(this,r,null,2);var i=es();this.t4f_1=oi(this,i,null,2,null);var o,a=eo();o=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case'\\\"\\\"':return Zi(),m;case\\\"inside\\\":return eo();case\\\"outside\\\":return Zi(),g;default:Zi(),li()}}(i),n=r),null==n?t:n}}(a),2,null),this.u4f_1=o,this.v4f_1=ai(this,null,1,null),this.w4f_1=si(this,!0,null,2,null),this.x4f_1=io(this,null,1),this.y4f_1=_r(this,null,1,null),this.z4f_1=io(this,null,1),this.a4g_1=Ri(this,0,null,null,6),this.b4g_1=_r(this,null,1,null),this.c4g_1=io(this,null,1),this.d4g_1=Ri(this,0,null,null,6),this.e4g_1=_r(this,null,1,null),this.f4g_1=io(this,null,1),this.g4g_1=Ri(this,0,null,null,6);var s,l=no();s=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"array\\\":return Ji(),_;case\\\"auto\\\":return no();case\\\"linear\\\":return Ji(),x;default:Ji(),li()}}(i),n=r),null==n?t:n}}(l),2,null),this.h4g_1=s,this.i4g_1=$i(this,null,1),this.j4g_1=$i(this,null,1),this.k4g_1=_r(this,null,1,null),this.l4g_1=_r(this,null,1,null),this.m4g_1=_r(this,null,1,null),this.n4g_1=br(this,null,1,null);var d=ii(0,1);this.o4g_1=Bi(this,d,null,2)}function Xi(){if(d)return Or();d=!0,l=new Yi(\\\"-\\\",0),u=new Yi(\\\"linear\\\",1),c=new Yi(\\\"log\\\",2),h=new Yi(\\\"date\\\",3),p=new Yi(\\\"category\\\",4),f=new Yi(\\\"multicategory\\\",5)}function Yi(t,e){ui.call(this,t,e)}function Zi(){if(y)return Or();y=!0,m=new Ki('\\\"\\\"',0),v=new Ki(\\\"inside\\\",1),g=new Ki(\\\"outside\\\",2)}function Ki(t,e){ui.call(this,t,e)}function Ji(){if(w)return Or();w=!0,_=new Qi(\\\"array\\\",0),b=new Qi(\\\"auto\\\",1),x=new Qi(\\\"linear\\\",2)}function Qi(t,e){ui.call(this,t,e)}function to(){return Xi(),l}function eo(){return Zi(),v}function no(){return Ji(),b}function ro(t,e){this.p4g_1=ci(t,e)}function io(t,e,n,r){return 0!=(1&n)&&(e=null),function(t,e){var n,r;return new oo((n=t,r=e,function(t,e){var i=r;return new ro(n,null==i?Br(e.callableName):i)}))}(t,e)}function oo(t){this.q4g_1=t}function ao(){var t;A=this,vr.call(this,((t=function(){return new lo}).callableName=\\\"<init>\\\",t))}function so(){return null==A&&new ao,A}function lo(){so(),yr.call(this),this.w4g_1=Ri(this,10,null,null,6),this.x4g_1=Ri(this,10,null,null,6),this.y4g_1=_r(this,null,1,null);var t=Gi();this.z4g_1=oi(this,t,null,2,null);var e=Gi();this.a4h_1=oi(this,e,null,2,null);var n,r=Mo();n=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"stack\\\":return po(),M;case\\\"group\\\":return Mo();case\\\"overlay\\\":return po(),T;case\\\"relative\\\":return po(),S;default:po(),li()}}(i),n=r),null==n?t:n}}(r),2,null),this.b4h_1=n;var i,o=Eo();i=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"fraction\\\":return mo(),O;case\\\"percent\\\":return mo(),I;case'\\\"\\\"':return Eo();default:mo(),li()}}(i),n=r),null==n?t:n}}(o),2,null),this.c4h_1=i;var a=ii(0,1);this.d4h_1=Bi(this,a,null,2);var s=ii(0,1);this.e4h_1=Bi(this,s,null,2);var l,u=To();l=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"group\\\":return go(),z;case\\\"overlay\\\":return To();default:go(),li()}}(i),n=r),null==n?t:n}}(u),2,null),this.f4h_1=l;var c=ii(0,1);this.g4h_1=Bi(this,c,null,2);var h=ii(0,1);this.h4h_1=Bi(this,h,null,2);var p=Wo();this.i4h_1=oi(this,p,null,2,null);var f=za();this.j4h_1=zi(this,f,null,2);var d=va();this.k4h_1=zi(this,d,null,2),this.l4h_1=io(this,null,1),this.m4h_1=io(this,null,1);var m=co();this.n4h_1=oi(this,m,null,2,null);var v,g=So();v=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"overlay\\\":return So();case\\\"group\\\":return _o(),B;default:_o(),li()}}(i),n=r),null==n?t:n}}(g),2,null),this.o4h_1=v;var y=ii(0,1);this.p4h_1=Bi(this,y,null,2);var _=ii(0,1);this.q4h_1=Bi(this,_,null,2),this.r4h_1=_r(this,null,1,null);var b,x=ko();b=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"x\\\":return xo(),F;case\\\"y\\\":return xo(),j;case\\\"closest\\\":return ko();case\\\"false\\\":return xo(),q;case\\\"x unified\\\":return xo(),V;case\\\"y unified\\\":return xo(),H;default:xo(),li()}}(i),n=r),null==n?t:n}}(x),2,null),this.s4h_1=b,this.t4h_1=br(this,null,1,null),this.u4h_1=Ri(this,-1,null,null,6);var w,A,C=js();w=ri(this,null,null,(A=C,function(t){var e,n=null==t?null:ni(t);return null==(e=null==n?null:ls(n))?A:e}),2,null),this.v4h_1=w;var E,k=Oo();E=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"zoom\\\":return Oo();case\\\"pan\\\":return Ao(),X;case\\\"select\\\":return Ao(),Y;case\\\"lasso\\\":return Ao(),Z;case\\\"drawclosedpath\\\":return Ao(),K;case\\\"drawopenpath\\\":return Ao(),J;case\\\"drawline\\\":return Ao(),Q;case\\\"drawrect\\\":return Ao(),tt;case\\\"drawcircle\\\":return Ao(),et;case\\\"orbit\\\":return Ao(),nt;case\\\"turntable\\\":return Ao(),rt;case\\\"false\\\":return Ao(),it;default:Ao(),li()}}(i),n=r),null==n?t:n}}(k),2,null),this.w4h_1=E}function uo(){var t;C=this,vr.call(this,((t=function(){return new ho}).callableName=\\\"<init>\\\",t))}function co(){return null==C&&new uo,C}function ho(){co(),yr.call(this),this.c4i_1=_r(this,null,1,null),this.d4i_1=Ri(this,0,null,null,6),this.e4i_1=Ri(this,0,null,null,6),this.f4i_1=Ri(this,0,null,null,6),this.g4i_1=Ri(this,0,null,null,6),this.h4i_1=Ri(this,0,null,null,6)}function po(){if(k)return Or();k=!0,M=new fo(\\\"stack\\\",0),E=new fo(\\\"group\\\",1),T=new fo(\\\"overlay\\\",2),S=new fo(\\\"relative\\\",3)}function fo(t,e){ui.call(this,t,e)}function mo(){if(P)return Or();P=!0,O=new vo(\\\"fraction\\\",0),I=new vo(\\\"percent\\\",1),L=new vo('\\\"\\\"',2)}function vo(t,e){ui.call(this,t,e)}function go(){if(D)return Or();D=!0,z=new yo(\\\"group\\\",0),R=new yo(\\\"overlay\\\",1)}function yo(t,e){ui.call(this,t,e)}function _o(){if(N)return Or();N=!0,$=new bo(\\\"overlay\\\",0),B=new bo(\\\"group\\\",1)}function bo(t,e){ui.call(this,t,e)}function xo(){if(G)return Or();G=!0,F=new wo(\\\"x\\\",0),j=new wo(\\\"y\\\",1),U=new wo(\\\"closest\\\",2),q=new wo(\\\"false\\\",3),V=new wo(\\\"x unified\\\",4),H=new wo(\\\"y unified\\\",5)}function wo(t,e){ui.call(this,t,e)}function Ao(){if(ot)return Or();ot=!0,W=new Co(\\\"zoom\\\",0),X=new Co(\\\"pan\\\",1),Y=new Co(\\\"select\\\",2),Z=new Co(\\\"lasso\\\",3),K=new Co(\\\"drawclosedpath\\\",4),J=new Co(\\\"drawopenpath\\\",5),Q=new Co(\\\"drawline\\\",6),tt=new Co(\\\"drawrect\\\",7),et=new Co(\\\"drawcircle\\\",8),nt=new Co(\\\"orbit\\\",9),rt=new Co(\\\"turntable\\\",10),it=new Co(\\\"false\\\",11)}function Co(t,e){ui.call(this,t,e)}function Mo(){return po(),E}function Eo(){return mo(),L}function To(){return go(),R}function So(){return _o(),$}function ko(){return xo(),U}function Oo(){return Ao(),W}function Io(){var t;at=this,vr.call(this,((t=function(){return new Po}).callableName=\\\"<init>\\\",t))}function Lo(){return null==at&&new Io,at}function Po(){Lo(),yr.call(this),this.n4i_1=io(this,null,1),this.o4i_1=Ri(this,0,null,null,6),this.p4i_1=pi(this,[],Br(\\\"width\\\"),1,null);var t,e,n=Bo();t=ri(this,null,null,(e=n,function(t){var n,r,i=null==t?null:ni(t);return null==i?n=null:(r=function(t){switch(t){case\\\"hv\\\":return zo(),st;case\\\"vh\\\":return zo(),lt;case\\\"hvh\\\":return zo(),ut;case\\\"vhv\\\":return zo(),ct;case\\\"spline\\\":return zo(),ht;case\\\"linear\\\":return Bo();default:zo(),li()}}(i),n=r),null==n?e:n}),2,null),this.q4i_1=t;var r,i=No();r=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"solid\\\":return No();case\\\"dot\\\":return Do(),mt;case\\\"dash\\\":return Do(),vt;case\\\"longdash\\\":return Do(),gt;case\\\"dashdot\\\":return Do(),yt;case\\\"longdashdot\\\":return Do(),_t;default:Do(),li()}}(i),n=r),null==n?t:n}}(i),2,null),this.r4i_1=r;var o=ii(0,1.3);this.s4i_1=Bi(this,o,null,2)}function zo(){if(ft)return Or();ft=!0,st=new Ro(\\\"hv\\\",0),lt=new Ro(\\\"vh\\\",1),ut=new Ro(\\\"hvh\\\",2),ct=new Ro(\\\"vhv\\\",3),ht=new Ro(\\\"spline\\\",4),pt=new Ro(\\\"linear\\\",5)}function Ro(t,e){ui.call(this,t,e)}function Do(){if(bt)return Or();bt=!0,dt=new $o(\\\"solid\\\",0),mt=new $o(\\\"dot\\\",1),vt=new $o(\\\"dash\\\",2),gt=new $o(\\\"longdash\\\",3),yt=new $o(\\\"dashdot\\\",4),_t=new $o(\\\"longdashdot\\\",5)}function $o(t,e){ui.call(this,t,e)}function Bo(){return zo(),pt}function No(){return Do(),dt}function Fo(t){switch(t){case\\\"auto\\\":return Qo();case\\\"left\\\":return ta();case\\\"center\\\":return jo(),At;case\\\"right\\\":return jo(),Ct;default:jo(),li()}}function jo(){if(Mt)return Or();Mt=!0,xt=new Uo(\\\"auto\\\",0),wt=new Uo(\\\"left\\\",1),At=new Uo(\\\"center\\\",2),Ct=new Uo(\\\"right\\\",3)}function Uo(t,e){ui.call(this,t,e)}function qo(t){switch(t){case\\\"auto\\\":return ea();case\\\"top\\\":return Vo(),Tt;case\\\"middle\\\":return na();case\\\"bottom\\\":return Vo(),kt;default:Vo(),li()}}function Vo(){if(Ot)return Or();Ot=!0,Et=new Ho(\\\"auto\\\",0),Tt=new Ho(\\\"top\\\",1),St=new Ho(\\\"middle\\\",2),kt=new Ho(\\\"bottom\\\",3)}function Ho(t,e){ui.call(this,t,e)}function Go(){var t;It=this,vr.call(this,((t=function(){return new Xo}).callableName=\\\"<init>\\\",t))}function Wo(){return null==It&&new Go,It}function Xo(){Wo(),yr.call(this),this.y4i_1=io(this,null,1),this.z4i_1=io(this,null,1),this.a4j_1=Ri(this,0,null,null,6);var t=ii(-2,3);this.b4j_1=Bi(this,t,null,2);var e,n,r=ta();e=ri(this,null,null,(n=r,function(t){var e,r=null==t?null:ni(t);return null==(e=null==r?null:Fo(r))?n:e}),2,null),this.c4j_1=e;var i=ii(-2,3);this.d4j_1=Bi(this,i,null,2);var o,a=ea();o=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:qo(r))?t:n}}(a),2,null),this.e4j_1=o;var s=es();this.f4j_1=oi(this,s,null,2,null);var l,u=ra();l=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"vertical\\\":return ra();case\\\"horizontal\\\":return Yo(),Pt;default:Yo(),li()}}(i),n=r),null==n?t:n}}(u),2,null),this.g4j_1=l;var c,h=ia();c=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"normal\\\":return ia();case\\\"reversed\\\":return Ko(),Dt;default:Ko(),li()}}(i),n=r),null==n?t:n}}(h),2,null),this.h4j_1=c}function Yo(){if(zt)return Or();zt=!0,Lt=new Zo(\\\"vertical\\\",0),Pt=new Zo(\\\"horizontal\\\",1)}function Zo(t,e){ui.call(this,t,e)}function Ko(){if($t)return Or();$t=!0,Rt=new Jo(\\\"normal\\\",0),Dt=new Jo(\\\"reversed\\\",1)}function Jo(t,e){ui.call(this,t,e)}function Qo(){return jo(),xt}function ta(){return jo(),wt}function ea(){return Vo(),Et}function na(){return Vo(),St}function ra(){return Yo(),Lt}function ia(){return Ko(),Rt}function oa(){}function aa(){var t;Bt=this,vr.call(this,((t=function(){return new la}).callableName=\\\"<init>\\\",t))}function sa(){return null==Bt&&new aa,Bt}function la(){sa(),yr.call(this);var t,e,n=Ws();t=ri(this,null,null,(e=n,function(t){var n,r,i=null==t?null:ni(t);return null==i?n=null:(r=function(t){switch(t){case\\\"circle\\\":return Ws();case\\\"triangle-up\\\":return Os(),Qn;case\\\"triangle-down\\\":return Os(),tr;case\\\"square-cross\\\":return Os(),er;case\\\"cross-thin\\\":return Os(),nr;case\\\"cross\\\":return Os(),rr;case\\\"line-ns\\\":return Os(),ir;default:Os(),li()}}(i),n=r),null==n?e:n}),2,null),this.n4j_1=t,this.o4j_1=Di(this,Br(\\\"symbol\\\")),this.p4j_1=Ri(this,0,null,null,6),this.q4j_1=pi(this,[],Br(\\\"size\\\"),1,null);var r=ii(0,1);this.r4j_1=Bi(this,r,null,2),this.s4j_1=pi(this,[],Br(\\\"opacity\\\"),1,null),this.t4j_1=Ni(this,0,null,2),this.u4j_1=di(this,null,1,null),this.v4j_1=Ri(this,0,null,null,6);var i,o=Xs();i=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"diameter\\\":return Xs();case\\\"area\\\":return Ls(),sr;default:Ls(),li()}}(i),n=r),null==n?t:n}}(o),2,null),this.w4j_1=i;var a=Rs();this.x4j_1=oi(this,a,null,2,null),this.y4j_1=io(this,null,1),this.z4j_1=Di(this,Br(\\\"colors\\\"));var s=Ga();this.a4k_1=oi(this,s,null,2,null);var l=ca();this.b4k_1=oi(this,l,null,2,null),this.c4k_1=io(this,null,1)}function ua(){var t;Nt=this,vr.call(this,((t=function(){return new ha}).callableName=\\\"<init>\\\",t))}function ca(){return null==Nt&&new ua,Nt}function ha(){ca(),yr.call(this),this.i4k_1=io(this,null,1);var t,e,n=da();t=ri(this,null,null,(e=n,function(t){var n,r,i=null==t?null:ni(t);return null==i?n=null:(r=function(t){switch(t){case\\\"radial\\\":return pa(),Ft;case\\\"horizontal\\\":return pa(),jt;case\\\"vertical\\\":return pa(),Ut;case\\\"none\\\":return da();default:pa(),li()}}(i),n=r),null==n?e:n}),2,null),this.j4k_1=t,this.k4k_1=$i(this,null,1)}function pa(){if(Vt)return Or();Vt=!0,Ft=new fa(\\\"radial\\\",0),jt=new fa(\\\"horizontal\\\",1),Ut=new fa(\\\"vertical\\\",2),qt=new fa(\\\"none\\\",3)}function fa(t,e){ui.call(this,t,e)}function da(){return pa(),qt}function ma(){var t;Ht=this,vr.call(this,((t=function(){return new ga}).callableName=\\\"<init>\\\",t))}function va(){return null==Ht&&new ma,Ht}function ga(){va(),yr.call(this),this.q4k_1=_r(this,null,1,null);var t,e=Ta();t=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"circle\\\":return ya(),Gt;case\\\"rect\\\":return ya(),Wt;case\\\"path\\\":return ya(),Xt;case\\\"line\\\":return Ta();default:ya(),li()}}(i),n=r),null==n?t:n}}(e),2,null),this.r4k_1=t;var n,r=Sa();n=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"below\\\":return ba(),Kt;case\\\"above\\\":return Sa();default:ba(),li()}}(i),n=r),null==n?t:n}}(r),2,null),this.s4k_1=n,this.t4k_1=br(this,null,1,null);var i,o,a=ka();i=ri(this,null,null,(o=a,function(t){var e,n=null==t?null:ni(t);return null==(e=null==n?null:wa(n))?o:e}),2,null),this.u4k_1=i,this.v4k_1=ai(this,null,1,null),this.w4k_1=ai(this,null,1,null),this.x4k_1=ai(this,null,1,null),this.y4k_1=br(this,null,1,null);var s,l=ka();s=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:wa(r))?t:n}}(l),2,null),this.z4k_1=s,this.a4l_1=ai(this,null,1,null),this.b4l_1=ai(this,null,1,null),this.c4l_1=ai(this,null,1,null),this.d4l_1=br(this,null,1,null);var u=ii(0,1);this.e4l_1=Bi(this,u,null,2);var c=Lo();this.f4l_1=oi(this,c,null,2,null),this.g4l_1=io(this,null,1);var h,p=Oa();h=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"evenodd\\\":return Oa();case\\\"nonzero\\\":return Ma(),ie;default:Ma(),li()}}(i),n=r),null==n?t:n}}(p),2,null),this.h4l_1=h,this.i4l_1=_r(this,null,1,null),this.j4l_1=br(this,null,1,null),this.k4l_1=br(this,null,1,null)}function ya(){if(Zt)return Or();Zt=!0,Gt=new _a(\\\"circle\\\",0),Wt=new _a(\\\"rect\\\",1),Xt=new _a(\\\"path\\\",2),Yt=new _a(\\\"line\\\",3)}function _a(t,e){ui.call(this,t,e)}function ba(){if(Qt)return Or();Qt=!0,Kt=new xa(\\\"below\\\",0),Jt=new xa(\\\"above\\\",1)}function xa(t,e){ui.call(this,t,e)}function wa(t){switch(t){case\\\"scaled\\\":return ka();case\\\"pixel\\\":return Aa(),ee;default:Aa(),li()}}function Aa(){if(ne)return Or();ne=!0,te=new Ca(\\\"scaled\\\",0),ee=new Ca(\\\"pixel\\\",1)}function Ca(t,e){ui.call(this,t,e)}function Ma(){if(oe)return Or();oe=!0,re=new Ea(\\\"evenodd\\\",0),ie=new Ea(\\\"nonzero\\\",1)}function Ea(t,e){ui.call(this,t,e)}function Ta(){return ya(),Yt}function Sa(){return ba(),Jt}function ka(){return Aa(),te}function Oa(){return Ma(),re}function Ia(){if(ue)return Or();ue=!0,ae=new La(\\\"left\\\",0),se=new La(\\\"right\\\",1),le=new La(\\\"center\\\",2)}function La(t,e){ui.call(this,t,e)}function Pa(){var t;ce=this,vr.call(this,((t=function(){return new Ra}).callableName=\\\"<init>\\\",t))}function za(){return null==ce&&new Pa,ce}function Ra(){za(),yr.call(this),this.q4l_1=_r(this,null,1,null),this.r4l_1=br(this,null,1,null);var t=es();this.s4l_1=oi(this,t,null,2,null),this.t4l_1=ai(this,null,1,null),this.u4l_1=ai(this,null,1,null),this.v4l_1=Ri(this,1,null,null,6),this.w4l_1=Ri(this,1,null,null,6);var e=ii(0,1);this.x4l_1=Bi(this,e,null,2),this.y4l_1=io(this,null,1),this.z4l_1=io(this,null,1),this.a4m_1=_r(this,null,1,null),this.b4m_1=io(this,null,1);var n=ii(-360,360);this.c4m_1=Bi(this,n,null,2),this.d4m_1=Ri(this,0,null,null,6),this.e4m_1=ai(this,null,1,null),this.f4m_1=ai(this,null,1,null),this.g4m_1=br(this,null,1,null),this.h4m_1=br(this,null,1,null);var r,i,o=Ba();r=ri(this,null,null,(i=o,function(t){var e,n=null==t?null:ni(t);return null==(e=null==n?null:function(t){switch(t){case\\\"left\\\":return Ia(),ae;case\\\"right\\\":return Ia(),se;case\\\"center\\\":return Ba();default:Ia(),li()}}(n))?i:e}),2,null),this.i4m_1=r;var a,s=Na();a=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"top\\\":return Da(),he;case\\\"bottom\\\":return Da(),pe;case\\\"middle\\\":return Na();default:Da(),li()}}(i),n=r),null==n?t:n}}(s),2,null),this.j4m_1=a;var l,u=Qo();l=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:Fo(r))?t:n}}(u),2,null),this.k4m_1=l;var c,h=ea();c=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:qo(r))?t:n}}(h),2,null),this.l4m_1=c}function Da(){if(de)return Or();de=!0,he=new $a(\\\"top\\\",0),pe=new $a(\\\"bottom\\\",1),fe=new $a(\\\"middle\\\",2)}function $a(t,e){ui.call(this,t,e)}function Ba(){return Ia(),le}function Na(){return Da(),fe}function Fa(){var t;me=this,vr.call(this,((t=function(){return new Va}).callableName=\\\"<init>\\\",t)),this.n4m_1=\\\"x\\\",this.o4m_1=\\\"y\\\",this.p4m_1=\\\"z\\\",this.q4m_1=\\\"text\\\"}function ja(){return null==me&&new Fa,me}function Ua(t){this.r4m_1=t}function qa(t,e){return new Ys(t,Br(e.callableName))}function Va(){ja(),yr.call(this);var t=qa;this.x4m_1=new Ua(t),ja(),this.y4m_1=this.p4o(\\\"x\\\"),this.z4m_1=ai(this,null,1,null),this.a4n_1=Ri(this,0,null,null,6),ja(),this.b4n_1=this.p4o(\\\"y\\\"),ja(),this.c4n_1=this.p4o(\\\"z\\\"),this.d4n_1=ai(this,null,1,null),this.e4n_1=Ri(this,0,null,null,6),this.f4n_1=_r(this,null,1,null),this.g4n_1=_r(this,null,1,null),this.h4n_1=di(this,null,1,null),this.i4n_1=di(this,null,1,null),this.j4n_1=di(this,null,1,null),this.k4n_1=$i(this,null,1),this.l4n_1=$i(this,null,1);var e=Lo();this.m4n_1=oi(this,e,null,2,null),this.n4n_1=ai(this,null,1,null);var n=Ga();this.o4n_1=oi(this,n,null,2,null),this.p4n_1=io(this,null,1),this.q4n_1=br(this,null,1,null);var r,i=$s();r=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"scatter\\\":return $s();case\\\"scattergl\\\":return Xa(),ye;case\\\"bar\\\":return Xa(),_e;case\\\"pie\\\":return Xa(),be;case\\\"heatmap\\\":return Xa(),xe;case\\\"heatmapgl\\\":return Xa(),we;case\\\"contour\\\":return Xa(),Ae;case\\\"table\\\":return Xa(),Ce;case\\\"image\\\":return Xa(),Me;case\\\"box\\\":return Xa(),Ee;case\\\"violin\\\":return Xa(),Te;case\\\"histogram\\\":return Xa(),Se;case\\\"histogram2d\\\":return Xa(),ke;case\\\"histogram2dcontour\\\":return Xa(),Oe;case\\\"ohlc\\\":return Xa(),Ie;case\\\"candlestick\\\":return Xa(),Le;case\\\"waterfall\\\":return Xa(),Pe;case\\\"scatter3d\\\":return Xa(),ze;case\\\"surface\\\":return Xa(),Re;case\\\"mesh3d\\\":return Xa(),De;case\\\"cone\\\":return Xa(),$e;case\\\"streamtube\\\":return Xa(),Be;case\\\"volume\\\":return Xa(),Ne;case\\\"isosurface\\\":return Xa(),Fe;case\\\"scattergeo\\\":return Xa(),je;case\\\"choropleth\\\":return Xa(),Ue;case\\\"scattermapbox\\\":return Xa(),qe;case\\\"choroplethmapbox\\\":return Xa(),Ve;default:Xa(),li()}}(i),n=r),null==n?t:n}}(i),2,null),this.r4n_1=r;var o,a=Bs();o=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"true\\\":return Bs();case\\\"false\\\":return Za(),We;case\\\"legendonly\\\":return Za(),Xe;default:Za(),li()}}(i),n=r),null==n?t:n}}(a),2,null),this.s4n_1=o,this.t4n_1=_r(this,null,1,null),this.u4n_1=br(this,null,1,null);var s=ii(0,1);this.v4n_1=Bi(this,s,null,2);var l=sa();this.w4n_1=oi(this,l,null,2,null),this.x4n_1=this.x4m_1,ja(),this.y4n_1=this.p4o(\\\"text\\\");var u,c=Ns();u=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"top left\\\":return Ja(),Ze;case\\\"top center\\\":return Ja(),Ke;case\\\"top right\\\":return Ja(),Je;case\\\"middle left\\\":return Ja(),Qe;case\\\"middle center\\\":return Ns();case\\\"middle right\\\":return Ja(),en;case\\\"bottom left\\\":return Ja(),nn;case\\\"bottom center\\\":return Ja(),rn;case\\\"bottom right\\\":return Ja(),on;case\\\"inside\\\":return Ja(),an;case\\\"outside\\\":return Ja(),sn;case\\\"auto\\\":return Ja(),ln;case\\\"none\\\":return Ja(),un;default:Ja(),li()}}(i),n=r),null==n?t:n}}(c),2,null),this.z4n_1=u,this.a4o_1=Di(this,Br(\\\"textposition\\\"));var h=es();this.b4o_1=oi(this,h,null,2,null),this.c4o_1=br(this,null,1,null);var p=is();this.d4o_1=oi(this,p,null,2,null);var f=is();this.e4o_1=oi(this,f,null,2,null);var d,m=Fs();d=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"v\\\":return as(),fn;case\\\"h\\\":return Fs();default:as(),li()}}(i),n=r),null==n?t:n}}(m),2,null),this.f4o_1=d,this.g4o_1=br(this,null,1,null),this.h4o_1=_r(this,null,1,null),this.i4o_1=_r(this,null,1,null),this.j4o_1=_r(this,null,1,null),this.k4o_1=_r(this,null,1,null);var v,g,y=js();v=ri(this,null,null,(g=y,function(t){var e,n=null==t?null:ni(t);return null==(e=null==n?null:ls(n))?g:e}),2,null),this.l4o_1=v;var _,b=js();_=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:ls(r))?t:n}}(b),2,null),this.m4o_1=_;var x=ps();this.n4o_1=oi(this,x,null,2,null);var w=ms();this.o4o_1=oi(this,w,null,2,null)}function Ha(){var t;ve=this,vr.call(this,((t=function(){return new Wa}).callableName=\\\"<init>\\\",t))}function Ga(){return null==ve&&new Ha,ve}function Wa(){Ga(),yr.call(this);var t,e,n=qs();t=ri(this,null,null,(e=n,function(t){var n,r=null==t?null:ni(t);return null==(n=null==r?null:gs(r))?e:n}),2,null),this.v4o_1=t,this.w4o_1=Ri(this,0,null,null,6);var r,i=Us();r=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:gs(r))?t:n}}(i),2,null),this.x4o_1=r,this.y4o_1=Ri(this,0,null,null,6);var o=ii(-2,3);this.z4o_1=Bi(this,o,null,2);var a,s=ta();a=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:Fo(r))?t:n}}(s),2,null),this.a4p_1=a,this.b4p_1=Ri(this,0,null,null,6);var l=ii(-2,3);this.c4p_1=Bi(this,l,null,2);var u,c=na();u=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:qo(r))?t:n}}(c),2,null),this.d4p_1=u,this.e4p_1=Ni(this,0,null,2),this.f4p_1=io(this,null,1),this.g4p_1=Ri(this,0,null,null,6),this.h4p_1=io(this,null,1);var h=xs();this.i4p_1=oi(this,h,null,2,null),this.j4p_1=Ri(this,0,null,null,6),this.k4p_1=io(this,null,1);var p,f=Vs();p=ri(this,null,null,function(t){return function(e){var n,r,i=null==e?null:ni(e);return null==i?n=null:(r=function(t){switch(t){case\\\"inside\\\":return As(),Nn;case\\\"outside\\\":return As(),Fn;case\\\"both\\\":return Vs();case\\\"none\\\":return As(),Un;default:As(),li()}}(i),n=r),null==n?t:n}}(f),2,null),this.l4p_1=p;var d=es();this.m4p_1=oi(this,d,null,2,null)}function Xa(){if(He)return Or();He=!0,ge=new Ya(\\\"scatter\\\",0),ye=new Ya(\\\"scattergl\\\",1),_e=new Ya(\\\"bar\\\",2),be=new Ya(\\\"pie\\\",3),xe=new Ya(\\\"heatmap\\\",4),we=new Ya(\\\"heatmapgl\\\",5),Ae=new Ya(\\\"contour\\\",6),Ce=new Ya(\\\"table\\\",7),Me=new Ya(\\\"image\\\",8),Ee=new Ya(\\\"box\\\",9),Te=new Ya(\\\"violin\\\",10),Se=new Ya(\\\"histogram\\\",11),ke=new Ya(\\\"histogram2d\\\",12),Oe=new Ya(\\\"histogram2dcontour\\\",13),Ie=new Ya(\\\"ohlc\\\",14),Le=new Ya(\\\"candlestick\\\",15),Pe=new Ya(\\\"waterfall\\\",16),ze=new Ya(\\\"scatter3d\\\",17),Re=new Ya(\\\"surface\\\",18),De=new Ya(\\\"mesh3d\\\",19),$e=new Ya(\\\"cone\\\",20),Be=new Ya(\\\"streamtube\\\",21),Ne=new Ya(\\\"volume\\\",22),Fe=new Ya(\\\"isosurface\\\",23),je=new Ya(\\\"scattergeo\\\",24),Ue=new Ya(\\\"choropleth\\\",25),qe=new Ya(\\\"scattermapbox\\\",26),Ve=new Ya(\\\"choroplethmapbox\\\",27)}function Ya(t,e){ui.call(this,t,e)}function Za(){if(Ye)return Or();Ye=!0,Ge=new Ka(\\\"true\\\",0),We=new Ka(\\\"false\\\",1),Xe=new Ka(\\\"legendonly\\\",2)}function Ka(t,e){ui.call(this,t,e)}function Ja(){if(cn)return Or();cn=!0,Ze=new Qa(\\\"top left\\\",0),Ke=new Qa(\\\"top center\\\",1),Je=new Qa(\\\"top right\\\",2),Qe=new Qa(\\\"middle left\\\",3),tn=new Qa(\\\"middle center\\\",4),en=new Qa(\\\"middle right\\\",5),nn=new Qa(\\\"bottom left\\\",6),rn=new Qa(\\\"bottom center\\\",7),on=new Qa(\\\"bottom right\\\",8),an=new Qa(\\\"inside\\\",9),sn=new Qa(\\\"outside\\\",10),ln=new Qa(\\\"auto\\\",11),un=new Qa(\\\"none\\\",12)}function Qa(t,e){ui.call(this,t,e)}function ts(){var t;hn=this,vr.call(this,((t=function(){return new ns}).callableName=\\\"<init>\\\",t))}function es(){return null==hn&&new ts,hn}function ns(){es(),yr.call(this),this.s4p_1=br(this,null,1,null),this.t4p_1=mi(this,Br(\\\"family\\\")),this.u4p_1=Ri(this,1,null,null,6),this.v4p_1=pi(this,[],Br(\\\"size\\\"),1,null),this.w4p_1=io(this,null,1)}function rs(){var t;pn=this,vr.call(this,((t=function(){return new os}).callableName=\\\"<init>\\\",t))}function is(){return null==pn&&new rs,pn}function os(){is(),yr.call(this),this.c4q_1=_r(this,null,1,null);var t,e,n=Hs();t=ri(this,null,null,(e=n,function(t){var n,r,i=null==t?null:ni(t);return null==i?n=null:(r=function(t){switch(t){case\\\"percent\\\":return Ms(),Vn;case\\\"constant\\\":return Hs();case\\\"sqrt\\\":return Ms(),Gn;case\\\"data\\\":return Ms(),Wn;default:Ms(),li()}}(i),n=r),null==n?e:n}),2,null),this.d4q_1=t,this.e4q_1=_r(this,null,1,null),this.f4q_1=pi(this,[],null,3,null),this.g4q_1=pi(this,[],null,3,null),this.h4q_1=Ri(this,0,null,null,6),this.i4q_1=Ri(this,0,null,null,6),this.j4q_1=io(this,null,1),this.k4q_1=Ri(this,0,null,null,6),this.l4q_1=Ri(this,0,null,null,6),this.m4q_1=Ni(this,0,null,2),this.n4q_1=Ni(this,0,null,2)}function as(){if(mn)return Or();mn=!0,fn=new ss(\\\"v\\\",0),dn=new ss(\\\"h\\\",1)}function ss(t,e){ui.call(this,t,e)}function ls(t){switch(t){case\\\"gregorian\\\":return js();case\\\"chinese\\\":return us(),gn;case\\\"coptic\\\":return us(),yn;case\\\"discworld\\\":return us(),_n;case\\\"ethiopian\\\":return us(),bn;case\\\"hebrew\\\":return us(),xn;case\\\"islamic\\\":return us(),wn;case\\\"julian\\\":return us(),An;case\\\"mayan\\\":return us(),Cn;case\\\"nanakshahi\\\":return us(),Mn;case\\\"nepali\\\":return us(),En;case\\\"persian\\\":return us(),Tn;case\\\"jalali\\\":return us(),Sn;case\\\"taiwan\\\":return us(),kn;case\\\"thai\\\":return us(),On;case\\\"ummalqura\\\":return us(),In;default:us(),li()}}function us(){if(Ln)return Or();Ln=!0,vn=new cs(\\\"gregorian\\\",0),gn=new cs(\\\"chinese\\\",1),yn=new cs(\\\"coptic\\\",2),_n=new cs(\\\"discworld\\\",3),bn=new cs(\\\"ethiopian\\\",4),xn=new cs(\\\"hebrew\\\",5),wn=new cs(\\\"islamic\\\",6),An=new cs(\\\"julian\\\",7),Cn=new cs(\\\"mayan\\\",8),Mn=new cs(\\\"nanakshahi\\\",9),En=new cs(\\\"nepali\\\",10),Tn=new cs(\\\"persian\\\",11),Sn=new cs(\\\"jalali\\\",12),kn=new cs(\\\"taiwan\\\",13),On=new cs(\\\"thai\\\",14),In=new cs(\\\"ummalqura\\\",15)}function cs(t,e){ui.call(this,t,e)}function hs(){var t;Pn=this,vr.call(this,((t=function(){return new fs}).callableName=\\\"<init>\\\",t))}function ps(){return null==Pn&&new hs,Pn}function fs(){ps(),yr.call(this),this.t4q_1=pi(this,[],null,3,null),this.u4q_1=pi(this,[],null,3,null),this.v4q_1=Ni(this,0,null,2),this.w4q_1=Ni(this,0,null,2)}function ds(){var t;zn=this,vr.call(this,((t=function(){return new vs}).callableName=\\\"<init>\\\",t))}function ms(){return null==zn&&new ds,zn}function vs(){ms(),yr.call(this),this.c4r_1=new ro(this,Br(\\\"bgcolor\\\")),this.d4r_1=new ro(this,Br(\\\"bordercolor\\\"));var t=es();this.e4r_1=oi(this,t,null,2,null),this.f4r_1=new Ys(this,Br(\\\"align\\\")),this.g4r_1=Ri(this,-1,null,null,6),this.h4r_1=vi(this,[-1],Br(\\\"namelength\\\"))}function gs(t){switch(t){case\\\"fraction\\\":return Us();case\\\"pixels\\\":return qs();default:ys(),li()}}function ys(){if($n)return Or();$n=!0,Rn=new _s(\\\"fraction\\\",0),Dn=new _s(\\\"pixels\\\",1)}function _s(t,e){ui.call(this,t,e)}function bs(){var t;Bn=this,vr.call(this,((t=function(){return new ws}).callableName=\\\"<init>\\\",t))}function xs(){return null==Bn&&new bs,Bn}function ws(){xs(),yr.call(this),this.n4r_1=br(this,null,1,null);var t=es();this.o4r_1=oi(this,t,null,2,null);var e,n,r=Gs();e=ri(this,null,null,(n=r,function(t){var e,r=null==t?null:ni(t);return null==(e=null==r?null:Ts(r))?n:e}),2,null),this.p4r_1=e;var i,o=Gs();i=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:Ts(r))?t:n}}(o),2,null),this.q4r_1=i;var a=ii(0,1);this.r4r_1=Bi(this,a,null,2);var s=ii(0,1);this.s4r_1=Bi(this,s,null,2);var l,u=Qo();l=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:Fo(r))?t:n}}(u),2,null),this.t4r_1=l;var c,h=ea();c=ri(this,null,null,function(t){return function(e){var n,r=null==e?null:ni(e);return null==(n=null==r?null:qo(r))?t:n}}(h),2,null),this.u4r_1=c;var p=co();this.v4r_1=oi(this,p,null,2,null)}function As(){if(qn)return Or();qn=!0,Nn=new Cs(\\\"inside\\\",0),Fn=new Cs(\\\"outside\\\",1),jn=new Cs(\\\"both\\\",2),Un=new Cs(\\\"none\\\",3)}function Cs(t,e){ui.call(this,t,e)}function Ms(){if(Xn)return Or();Xn=!0,Vn=new Es(\\\"percent\\\",0),Hn=new Es(\\\"constant\\\",1),Gn=new Es(\\\"sqrt\\\",2),Wn=new Es(\\\"data\\\",3)}function Es(t,e){ui.call(this,t,e)}function Ts(t){switch(t){case\\\"container\\\":return Gs();case\\\"paper\\\":return Ss(),Zn;default:Ss(),li()}}function Ss(){if(Kn)return Or();Kn=!0,Yn=new ks(\\\"container\\\",0),Zn=new ks(\\\"paper\\\",1)}function ks(t,e){ui.call(this,t,e)}function Os(){if(or)return Or();or=!0,Jn=new Is(\\\"circle\\\",0),Qn=new Is(\\\"triangle-up\\\",1),tr=new Is(\\\"triangle-down\\\",2),er=new Is(\\\"square-cross\\\",3),nr=new Is(\\\"cross-thin\\\",4),rr=new Is(\\\"cross\\\",5),ir=new Is(\\\"line-ns\\\",6)}function Is(t,e){ui.call(this,t,e)}function Ls(){if(lr)return Or();lr=!0,ar=new Ps(\\\"diameter\\\",0),sr=new Ps(\\\"area\\\",1)}function Ps(t,e){ui.call(this,t,e)}function zs(){var t;ur=this,vr.call(this,((t=function(){return new Ds}).callableName=\\\"<init>\\\",t))}function Rs(){return null==ur&&new zs,ur}function Ds(){Rs(),yr.call(this),this.b4s_1=Ri(this,0,null,null,6),this.c4s_1=pi(this,[],Br(\\\"width\\\"),1,null),this.d4s_1=io(this,null,1),this.e4s_1=_r(this,null,1,null),this.f4s_1=di(this,null,1,null),this.g4s_1=di(this,null,1,null),this.h4s_1=di(this,null,1,null),this.i4s_1=ai(this,null,1,null),this.j4s_1=_r(this,null,1,null),this.k4s_1=_r(this,null,1,null),this.l4s_1=io(this,null,1),this.m4s_1=Ri(this,0,null,null,6)}function $s(){return Xa(),ge}function Bs(){return Za(),Ge}function Ns(){return Ja(),tn}function Fs(){return as(),dn}function js(){return us(),vn}function Us(){return ys(),Rn}function qs(){return ys(),Dn}function Vs(){return As(),jn}function Hs(){return Ms(),Hn}function Gs(){return Ss(),Yn}function Ws(){return Os(),Jn}function Xs(){return Ls(),ar}function Ys(t,e){this.n4s_1=t,this.o4s_1=ci(this.n4s_1,e)}function Zs(t,e,n){return function(t,e,n){var r,i;tl(e,(r=t,i=n,function(t){var e=document.getElementById(r);return el(function(t,e,n){return function(r){return r.newPlot(t,e.data,e.layout,n),Or()}}(e instanceof HTMLElement?e:Nr(),t,i)),Or()}))}(t,e,void 0===n?nl:n)}function Ks(t,e){var n;tl(e,(n=t,function(t){var e,r,i=document.getElementById(n),o=i instanceof HTMLElement?i:Nr();return el((e=o,r=t,function(t){return t.react(e,r.data,r.layout),Or()})),Or()}))}function Js(t,e,n){var r,i;window.setInterval((r=t,i=e,function(){return Ks(r,i),Or()}),n)}function Qs(t,e){var n,r,i,o=document.getElementById(t),a=o instanceof HTMLElement?o:Nr(),s=new WebSocket(e);s.onopen=(n=t,r=e,function(t){return console.log(\\\"[Plotly.kt] A connection for plot with id = \\\"+n+\\\" with server established on \\\"+r),Or()}),s.onclose=rl,s.onerror=(i=s,function(t){return t instanceof ErrorEvent||Nr(),console.error(\\\"Plotly push update error: \\\"+t.message),i.close(),Or()}),s.onmessage=function(t,e){return function(n){var r=JSON.parse(_i(n.data));return r.plotId===t&&(\\\"layout\\\"===r.contentType?(el(function(t,e){return function(n){return n.relayout(t,e.content),Or()}}(e,r)),Or()):\\\"trace\\\"===r.contentType&&(el(function(t,e){return function(n){return n.restyle(t,e.content,e.trace),Or()}}(e,r)),Or())),Or()}}(t,a),window.onbeforeunload=function(t){return function(e){return console.log(\\\"Gracefully closing socket\\\"),t.close(),null}}(s)}function tl(t,e){try{var n,r=window,i=gi([$r(\\\"Accept\\\",\\\"application/json\\\")]),o={method:\\\"GET\\\"};o.headers=i,o.body=void 0,o.referrer=void 0,o.referrerPolicy=void 0,o.mode=void 0,o.credentials=void 0,o.cache=void 0,o.redirect=void 0,o.integrity=void 0,o.keepalive=void 0,o.window=void 0,n=o,r.fetch(t,n).then((a=e,function(t){if(!t.ok){var e=\\\"Fetch request failed with error: \\\"+t.statusText;throw Xr(Wr(e))}return t.json().then(a)})).catch(il)}catch(t){if(!(t instanceof yi))throw t;window.alert(\\\"Fetch of plot data failed with error: \\\"+t)}var a}function el(t){if(void 0===e)throw Xr(\\\"Plotly is not defined\\\");t(e)}function nl(){return Or()}function rl(t){return t instanceof CloseEvent||Nr(),t.wasClean?console.log(\\\"The connection with server is closed\\\"):console.log(\\\"The connection with server is broken\\\"),console.log(\\\"Code: \\\"+t.code+\\\" case: \\\"+t.reason),Or()}function il(t){return console.log(t),Or()}function ol(t){return Ai(xi(),wi(),t.i1q_1)}function al(t){var e=t.space||(t.space={}),n=e.kscience||(e.kscience={}),r=n.plotly||(n.plotly={});r.createPlotFrom=Zs,r.updatePlotFrom=Ks,r.startPull=Js,r.startPush=Qs}Oi.prototype=Object.create(vr.prototype),Oi.prototype.constructor=Oi,Li.prototype=Object.create(yr.prototype),Li.prototype.constructor=Li,Hi.prototype=Object.create(vr.prototype),Hi.prototype.constructor=Hi,Wi.prototype=Object.create(yr.prototype),Wi.prototype.constructor=Wi,Yi.prototype=Object.create(ui.prototype),Yi.prototype.constructor=Yi,Ki.prototype=Object.create(ui.prototype),Ki.prototype.constructor=Ki,Qi.prototype=Object.create(ui.prototype),Qi.prototype.constructor=Qi,ao.prototype=Object.create(vr.prototype),ao.prototype.constructor=ao,lo.prototype=Object.create(yr.prototype),lo.prototype.constructor=lo,uo.prototype=Object.create(vr.prototype),uo.prototype.constructor=uo,ho.prototype=Object.create(yr.prototype),ho.prototype.constructor=ho,fo.prototype=Object.create(ui.prototype),fo.prototype.constructor=fo,vo.prototype=Object.create(ui.prototype),vo.prototype.constructor=vo,yo.prototype=Object.create(ui.prototype),yo.prototype.constructor=yo,bo.prototype=Object.create(ui.prototype),bo.prototype.constructor=bo,wo.prototype=Object.create(ui.prototype),wo.prototype.constructor=wo,Co.prototype=Object.create(ui.prototype),Co.prototype.constructor=Co,Io.prototype=Object.create(vr.prototype),Io.prototype.constructor=Io,Po.prototype=Object.create(yr.prototype),Po.prototype.constructor=Po,Ro.prototype=Object.create(ui.prototype),Ro.prototype.constructor=Ro,$o.prototype=Object.create(ui.prototype),$o.prototype.constructor=$o,Uo.prototype=Object.create(ui.prototype),Uo.prototype.constructor=Uo,Ho.prototype=Object.create(ui.prototype),Ho.prototype.constructor=Ho,Go.prototype=Object.create(vr.prototype),Go.prototype.constructor=Go,Xo.prototype=Object.create(yr.prototype),Xo.prototype.constructor=Xo,Zo.prototype=Object.create(ui.prototype),Zo.prototype.constructor=Zo,Jo.prototype=Object.create(ui.prototype),Jo.prototype.constructor=Jo,aa.prototype=Object.create(vr.prototype),aa.prototype.constructor=aa,la.prototype=Object.create(yr.prototype),la.prototype.constructor=la,ua.prototype=Object.create(vr.prototype),ua.prototype.constructor=ua,ha.prototype=Object.create(yr.prototype),ha.prototype.constructor=ha,fa.prototype=Object.create(ui.prototype),fa.prototype.constructor=fa,ma.prototype=Object.create(vr.prototype),ma.prototype.constructor=ma,ga.prototype=Object.create(yr.prototype),ga.prototype.constructor=ga,_a.prototype=Object.create(ui.prototype),_a.prototype.constructor=_a,xa.prototype=Object.create(ui.prototype),xa.prototype.constructor=xa,Ca.prototype=Object.create(ui.prototype),Ca.prototype.constructor=Ca,Ea.prototype=Object.create(ui.prototype),Ea.prototype.constructor=Ea,La.prototype=Object.create(ui.prototype),La.prototype.constructor=La,Pa.prototype=Object.create(vr.prototype),Pa.prototype.constructor=Pa,Ra.prototype=Object.create(yr.prototype),Ra.prototype.constructor=Ra,$a.prototype=Object.create(ui.prototype),$a.prototype.constructor=$a,Fa.prototype=Object.create(vr.prototype),Fa.prototype.constructor=Fa,Va.prototype=Object.create(yr.prototype),Va.prototype.constructor=Va,Ha.prototype=Object.create(vr.prototype),Ha.prototype.constructor=Ha,Wa.prototype=Object.create(yr.prototype),Wa.prototype.constructor=Wa,Ya.prototype=Object.create(ui.prototype),Ya.prototype.constructor=Ya,Ka.prototype=Object.create(ui.prototype),Ka.prototype.constructor=Ka,Qa.prototype=Object.create(ui.prototype),Qa.prototype.constructor=Qa,ts.prototype=Object.create(vr.prototype),ts.prototype.constructor=ts,ns.prototype=Object.create(yr.prototype),ns.prototype.constructor=ns,rs.prototype=Object.create(vr.prototype),rs.prototype.constructor=rs,os.prototype=Object.create(yr.prototype),os.prototype.constructor=os,ss.prototype=Object.create(ui.prototype),ss.prototype.constructor=ss,cs.prototype=Object.create(ui.prototype),cs.prototype.constructor=cs,hs.prototype=Object.create(vr.prototype),hs.prototype.constructor=hs,fs.prototype=Object.create(yr.prototype),fs.prototype.constructor=fs,ds.prototype=Object.create(vr.prototype),ds.prototype.constructor=ds,vs.prototype=Object.create(yr.prototype),vs.prototype.constructor=vs,_s.prototype=Object.create(ui.prototype),_s.prototype.constructor=_s,bs.prototype=Object.create(vr.prototype),bs.prototype.constructor=bs,ws.prototype=Object.create(yr.prototype),ws.prototype.constructor=ws,Cs.prototype=Object.create(ui.prototype),Cs.prototype.constructor=Cs,Es.prototype=Object.create(ui.prototype),Es.prototype.constructor=Es,ks.prototype=Object.create(ui.prototype),ks.prototype.constructor=ks,Is.prototype=Object.create(ui.prototype),Is.prototype.constructor=Is,Ps.prototype=Object.create(ui.prototype),Ps.prototype.constructor=Ps,zs.prototype=Object.create(vr.prototype),zs.prototype.constructor=zs,Ds.prototype=Object.create(yr.prototype),Ds.prototype.constructor=Ds,ki.prototype.n1l=function(){return this.x4d_1},ki.prototype.a4e=function(){return this.y4d_1.s7(this,mr(\\\"data\\\",1,dr,(function(t){return t.a4e()}),null))},ki.prototype.b4e=function(){return this.z4d_1.s7(this,mr(\\\"layout\\\",1,dr,(function(t){return t.b4e()}),null))},ki.prototype.v1m=function(){return this.x4d_1},ki.$metadata$=fr(\\\"Plot\\\",[hr,pr]),Oi.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),Li.prototype.toString=function(){return Cr(this.i1q_1,null,1,null).toString()},Li.$metadata$=fr(\\\"PlotlyConfig\\\",void 0,void 0,void 0,void 0,yr.prototype),Pi.$metadata$=gr(\\\"Plotly\\\"),Fi.prototype.r1p=function(t,e){for(var n=this.p4e_1,r=null==n?Br(e.callableName):n,i=function(t,e){var n=t.m1m(Er(e));if(null==n)return Tr();for(var r=n.o1l().k3(),i=Sr(),o=r.e();o.f();){var a=o.g(),s=kr(e);a.p1l_1===(null==s?null:s.p1l_1)&&i.a(a)}for(var l=i,u=Lr(Ir(l,10)),c=l.e();c.f();){var h;h=c.g().q1l_1,u.a(h)}for(var p=u,f=zr(Pr(Ir(p,10)),16),d=Rr(f),m=p.e();m.f();){var v=m.g(),g=null==v?$r(\\\"\\\",t.q1o(e)):$r(v,t.q1o(Dr(e,v)));d.b(g.t_1,g.u_1)}return d}(this.q4e_1.n1l(),r).l3(),o=Lr(Ir(i,10)),a=i.e();a.f();){var s,l=a.g();s=this.r4e_1.b1r(l),o.a(s)}return o},Fi.prototype.s7=function(t,e){return this.r1p(null==t||Fr(t)?t:Nr(),e)},Fi.prototype.s4e=function(t,e,n){for(var r=this.p4e_1,i=null==r?Br(e.callableName):r,o=this.q4e_1.n1l(),a=Lr(Ir(n,10)),s=n.e();s.f();){var l;l=s.g().i1q_1,a.a(l)}jr(o,i,a,null,4,null)},Fi.prototype.t7=function(t,e,n){var r=null==t||Fr(t)?t:Nr();return this.s4e(r,e,null!=n&&qr(n,Ur)?n:Nr())},Fi.$metadata$=fr(void 0,[Vr]),ji.prototype.r1p=function(t,e){var n=this.t4e_1,r=null==n?Br(e.callableName):n,i=Gr(Hr(this.u4e_1.i1q_1,r));return null==i?this.v4e_1:i},ji.prototype.s7=function(t,e){return this.r1p(null==t||Fr(t)?t:Nr(),e)},ji.prototype.x4e=function(t,e,n){var r=this.t4e_1,i=null==r?Br(e.callableName):r;if(!(Zr(n)>=Zr(this.w4e_1))){var o=Wr(n)+\\\" less than \\\"+Wr(this.w4e_1);throw Xr(Wr(o))}Yr(this.u4e_1.i1q_1,i,n)},ji.prototype.t7=function(t,e,n){var r=null==t||Fr(t)?t:Nr();return this.x4e(r,e,Kr(n)?n:Nr())},ji.$metadata$=fr(void 0,[Vr]),Ui.prototype.r1p=function(t,e){var n=this.y4e_1,r=null==n?Br(e.callableName):n,i=Hr(this.z4e_1.i1q_1,r),o=null==i?null:i.w2(),a=null==o?null:o.d1m();return null==a?Jr():a},Ui.prototype.s7=function(t,e){return this.r1p(null==t||Fr(t)?t:Nr(),e)},Ui.prototype.a4f=function(t,e,n){var r=this.y4e_1,i=null==r?Br(e.callableName):r;ti(this.z4e_1.i1q_1,i,Qr(n))},Ui.prototype.t7=function(t,e,n){var r=null==t||Fr(t)?t:Nr();return this.a4f(r,e,null!=n&&qr(n,Ur)?n:Nr())},Ui.$metadata$=fr(void 0,[Vr]),qi.prototype.r1p=function(t,e){var n=this.b4f_1,r=null==n?Br(e.callableName):n,i=ei(Hr(this.c4f_1.i1q_1,r));return null==i?0:i},qi.prototype.s7=function(t,e){return this.r1p(null==t||Fr(t)?t:Nr(),e)},qi.prototype.x4e=function(t,e,n){var r=this.b4f_1,i=null==r?Br(e.callableName):r;if(!this.d4f_1.t3(Zr(n))){var o=Wr(n)+\\\" not in range \\\"+this.d4f_1;throw Xr(Wr(o))}Yr(this.c4f_1.i1q_1,i,n)},qi.prototype.t7=function(t,e,n){var r=null==t||Fr(t)?t:Nr();return this.x4e(r,e,Kr(n)?n:Nr())},qi.$metadata$=fr(void 0,[Vr]),Vi.prototype.r1p=function(t,e){var n=this.e4f_1,r=null==n?Br(e.callableName):n,i=ei(Hr(this.f4f_1.i1q_1,r));return null==i?this.g4f_1:i},Vi.prototype.s7=function(t,e){return this.r1p(null==t||Fr(t)?t:Nr(),e)},Vi.prototype.h4f=function(t,e,n){var r=this.e4f_1,i=null==r?Br(e.callableName):r;if(!(n>=this.g4f_1)){var o=n+\\\" less than \\\"+this.g4f_1;throw Xr(Wr(o))}Yr(this.f4f_1.i1q_1,i,n)},Vi.prototype.t7=function(t,e,n){var r=null==t||Fr(t)?t:Nr();return this.h4f(r,e,null!=n&&\\\"number\\\"==typeof n?n:Nr())},Vi.$metadata$=fr(void 0,[Vr]),Hi.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),Wi.$metadata$=fr(\\\"Axis\\\",void 0,void 0,void 0,void 0,yr.prototype),Yi.$metadata$=fr(\\\"AxisType\\\",void 0,void 0,void 0,void 0,ui.prototype),Ki.$metadata$=fr(\\\"Ticks\\\",void 0,void 0,void 0,void 0,ui.prototype),Qi.$metadata$=fr(\\\"TickMode\\\",void 0,void 0,void 0,void 0,ui.prototype),ro.$metadata$=fr(\\\"Color\\\"),oo.prototype.s7=function(t,e){return this.q4g_1(t,e)},oo.$metadata$=fr(\\\"sam$kotlin_properties_ReadOnlyProperty$0\\\",[hi]),ao.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),lo.$metadata$=fr(\\\"Layout\\\",void 0,void 0,void 0,void 0,yr.prototype),uo.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),ho.$metadata$=fr(\\\"Margin\\\",void 0,void 0,void 0,void 0,yr.prototype),fo.$metadata$=fr(\\\"BarMode\\\",void 0,void 0,void 0,void 0,ui.prototype),vo.$metadata$=fr(\\\"BarNorm\\\",void 0,void 0,void 0,void 0,ui.prototype),yo.$metadata$=fr(\\\"ViolinMode\\\",void 0,void 0,void 0,void 0,ui.prototype),bo.$metadata$=fr(\\\"BoxMode\\\",void 0,void 0,void 0,void 0,ui.prototype),wo.$metadata$=fr(\\\"HoverMode\\\",void 0,void 0,void 0,void 0,ui.prototype),Co.$metadata$=fr(\\\"DragMode\\\",void 0,void 0,void 0,void 0,ui.prototype),Io.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),Po.$metadata$=fr(\\\"LayoutLine\\\",[oa],void 0,void 0,void 0,yr.prototype),Ro.$metadata$=fr(\\\"LineShape\\\",void 0,void 0,void 0,void 0,ui.prototype),$o.$metadata$=fr(\\\"Dash\\\",void 0,void 0,void 0,void 0,ui.prototype),Uo.$metadata$=fr(\\\"XAnchor\\\",void 0,void 0,void 0,void 0,ui.prototype),Ho.$metadata$=fr(\\\"YAnchor\\\",void 0,void 0,void 0,void 0,ui.prototype),Go.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),Xo.$metadata$=fr(\\\"Legend\\\",void 0,void 0,void 0,void 0,yr.prototype),Zo.$metadata$=fr(\\\"LegendOrientation\\\",void 0,void 0,void 0,void 0,ui.prototype),Jo.$metadata$=fr(\\\"TraceOrder\\\",void 0,void 0,void 0,void 0,ui.prototype),oa.$metadata$=fi(\\\"Line\\\"),aa.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),la.$metadata$=fr(\\\"Marker\\\",void 0,void 0,void 0,void 0,yr.prototype),ua.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),ha.$metadata$=fr(\\\"Gradient\\\",void 0,void 0,void 0,void 0,yr.prototype),fa.$metadata$=fr(\\\"GradientType\\\",void 0,void 0,void 0,void 0,ui.prototype),ma.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),ga.$metadata$=fr(\\\"Shape\\\",void 0,void 0,void 0,void 0,yr.prototype),_a.$metadata$=fr(\\\"ShapeType\\\",void 0,void 0,void 0,void 0,ui.prototype),xa.$metadata$=fr(\\\"ShapeLayer\\\",void 0,void 0,void 0,void 0,ui.prototype),Ca.$metadata$=fr(\\\"ShapeSizeMode\\\",void 0,void 0,void 0,void 0,ui.prototype),Ea.$metadata$=fr(\\\"ShapeFillRule\\\",void 0,void 0,void 0,void 0,ui.prototype),La.$metadata$=fr(\\\"HorizontalAlign\\\",void 0,void 0,void 0,void 0,ui.prototype),Pa.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),Ra.$metadata$=fr(\\\"Text\\\",void 0,void 0,void 0,void 0,yr.prototype),$a.$metadata$=fr(\\\"VerticalAlign\\\",void 0,void 0,void 0,void 0,ui.prototype),Fa.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),Ua.prototype.s7=function(t,e){return this.r4m_1(t,e)},Ua.$metadata$=fr(\\\"sam$kotlin_properties_ReadOnlyProperty$0\\\",[hi]),Va.prototype.p4o=function(t){return new Ys(this,xr().w1o(t))},Va.$metadata$=fr(\\\"Trace\\\",void 0,void 0,void 0,void 0,yr.prototype),Ha.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),Wa.$metadata$=fr(\\\"ColorBar\\\",void 0,void 0,void 0,void 0,yr.prototype),Ya.$metadata$=fr(\\\"TraceType\\\",void 0,void 0,void 0,void 0,ui.prototype),Ka.$metadata$=fr(\\\"Visible\\\",void 0,void 0,void 0,void 0,ui.prototype),Qa.$metadata$=fr(\\\"TextPosition\\\",void 0,void 0,void 0,void 0,ui.prototype),ts.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),ns.$metadata$=fr(\\\"Font\\\",void 0,void 0,void 0,void 0,yr.prototype),rs.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),os.$metadata$=fr(\\\"Error\\\",void 0,void 0,void 0,void 0,yr.prototype),ss.$metadata$=fr(\\\"Orientation\\\",void 0,void 0,void 0,void 0,ui.prototype),cs.$metadata$=fr(\\\"Calendar\\\",void 0,void 0,void 0,void 0,ui.prototype),hs.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),fs.$metadata$=fr(\\\"Domain\\\",void 0,void 0,void 0,void 0,yr.prototype),ds.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),vs.$metadata$=fr(\\\"Hoverlabel\\\",void 0,void 0,void 0,void 0,yr.prototype),_s.$metadata$=fr(\\\"MeasureMode\\\",void 0,void 0,void 0,void 0,ui.prototype),bs.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),ws.$metadata$=fr(\\\"Title\\\",void 0,void 0,void 0,void 0,yr.prototype),Cs.$metadata$=fr(\\\"ConstrainText\\\",void 0,void 0,void 0,void 0,ui.prototype),Es.$metadata$=fr(\\\"ErrorType\\\",void 0,void 0,void 0,void 0,ui.prototype),ks.$metadata$=fr(\\\"Ref\\\",void 0,void 0,void 0,void 0,ui.prototype),Is.$metadata$=fr(\\\"Symbol\\\",void 0,void 0,void 0,void 0,ui.prototype),Ps.$metadata$=fr(\\\"SizeMode\\\",void 0,void 0,void 0,void 0,ui.prototype),zs.$metadata$=gr(\\\"Companion\\\",void 0,void 0,void 0,void 0,vr.prototype),Ds.$metadata$=fr(\\\"MarkerLine\\\",[oa],void 0,void 0,void 0,yr.prototype),Ys.$metadata$=fr(\\\"TraceValues\\\"),Li.prototype.w1m=Ar,Wi.prototype.w1m=Ar,lo.prototype.w1m=Ar,ho.prototype.w1m=Ar,Po.prototype.w1m=Ar,Xo.prototype.w1m=Ar,la.prototype.w1m=Ar,ha.prototype.w1m=Ar,ga.prototype.w1m=Ar,Ra.prototype.w1m=Ar,Va.prototype.w1m=Ar,Wa.prototype.w1m=Ar,ns.prototype.w1m=Ar,os.prototype.w1m=Ar,fs.prototype.w1m=Ar,vs.prototype.w1m=Ar,ws.prototype.w1m=Ar,Ds.prototype.w1m=Ar,al(t),t.$jsExportAll$=al,t.$_$=t.$_$||{},t.$_$.a=Ii,t.$_$.b=ki,t.$_$.c=function(t,n,r){var i,o,s=function(t){for(var e=Lr(Ir(t,10)),n=t.e();n.f();){var r;r=ol(n.g()),e.a(r)}return bi(e)}(n.a4e()),l=ol(n.b4e());e.react(t,s,l,ol(r)),n.x4d_1.j1p(t,(i=n,o=t,function(t,n){var r;if(Ti(n,Br((r=i,mr(\\\"layout\\\",0,Si,(function(){return r.b4e()}),null)).callableName)))e.relayout(o,ol(i.b4e())),Or();else{var s=Ci(n);if(\\\"data\\\"===(null==s?null:s.p1l_1)){for(var l=Mi(Ci(n)).q1l_1,u=null==l?null:Ei(l),c=null==u?0:u,h=ol(i.a4e().j(c)),p=(null==a&&new Pi,a).o4e_1.e();p.f();){var f,d=p.g(),m=h[d];null!=h[d]&&(f=[m],h[d]=f)}var v;v=[c],e.restyle(o,h,v),Or()}}return Or()}))}}(t.exports,n(4044),n(384),n(8744),n(3730))},4371:(t,e,n)=>{!function(t,e,n){\\\"use strict\\\";var r,i,o=Math.imul,a=e.$_$.ka,s=e.$_$.ia,l=e.$_$.ja,u=e.$_$.oe,c=e.$_$.da,h=e.$_$.aa,p=n.$_$.l2,f=e.$_$.ib,d=n.$_$.c4,m=n.$_$.n2,v=(e.$_$.b5,n.$_$.e),g=n.$_$.y,y=n.$_$.y1,_=n.$_$.m2,b=n.$_$.v,x=e.$_$.bc,w=e.$_$.ha;function A(){}function C(t,e,n){this.f5l_1=t,this.g5l_1=e,this.h5l_1=n}function M(){var t;r=this,p.call(this,((t=function(){return new T}).callableName=\\\"<init>\\\",t))}function E(){return null==r&&new M,r}function T(){E(),k.call(this);var t,e,n=v();t=g(this,null,null,(e=n,function(t){var n,r=null==t?null:d(t);return null==(n=null==r?null:m(r))?e:n}),2,null),this.o5l_1=t}function S(){var t;i=this,p.call(this,((t=function(){return new k}).callableName=\\\"<init>\\\",t))}function k(){null==i&&new S,_.call(this),this.u5l_1=b(this,null,1,null)}function O(t){this.x5l_1=t}function I(){}function L(){}M.prototype=Object.create(p.prototype),M.prototype.constructor=M,k.prototype=Object.create(_.prototype),k.prototype.constructor=k,T.prototype=Object.create(k.prototype),T.prototype.constructor=T,S.prototype=Object.create(p.prototype),S.prototype.constructor=S,A.$metadata$=a(\\\"ColumnHeader\\\"),C.prototype.c2=function(){return this.f5l_1},C.prototype.n1l=function(){return this.h5l_1},C.prototype.toString=function(){return\\\"SimpleColumnHeader(name=\\\"+this.f5l_1+\\\", type=\\\"+this.g5l_1+\\\", meta=\\\"+this.h5l_1+\\\")\\\"},C.prototype.hashCode=function(){var t=s(this.f5l_1);return t=o(t,31)+l(this.g5l_1)|0,o(t,31)+this.h5l_1.hashCode()|0},C.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof C))return!1;var e=t instanceof C?t:u();return this.f5l_1===e.f5l_1&&!!c(this.g5l_1,e.g5l_1)&&!!this.h5l_1.equals(e.h5l_1)},C.$metadata$=h(\\\"SimpleColumnHeader\\\",[A]),M.$metadata$=f(\\\"Companion\\\",void 0,void 0,void 0,void 0,p.prototype),T.$metadata$=h(\\\"ValueColumnScheme\\\",void 0,void 0,void 0,void 0,k.prototype),S.$metadata$=f(\\\"Companion\\\",void 0,void 0,void 0,void 0,p.prototype),k.prototype.v5l=function(t){return this.u5l_1.t7(this,w(\\\"title\\\",1,x,(function(t){return t.w5l()}),(function(t,e){return t.v5l(e)})),t)},k.prototype.w5l=function(){return this.u5l_1.s7(this,w(\\\"title\\\",1,x,(function(t){return t.w5l()}),(function(t,e){return t.v5l(e)})))},k.$metadata$=h(\\\"ColumnScheme\\\",void 0,void 0,void 0,void 0,_.prototype),O.prototype.toString=function(){return\\\"MetaRow(meta=\\\"+this.x5l_1+\\\")\\\"},O.prototype.hashCode=function(){return this.x5l_1.hashCode()},O.prototype.equals=function(t){return function(t,e){if(!(e instanceof O))return!1;var n=e instanceof O?e.x5l_1:u();return!!t.equals(n)}(this.x5l_1,t)},O.$metadata$=h(\\\"MetaRow\\\",[L]),I.$metadata$=a(\\\"Rows\\\"),L.$metadata$=a(\\\"Row\\\"),k.prototype.w1m=y,T.prototype.w1m=y,t.$_$=t.$_$||{},t.$_$.a=function(t){return t},t.$_$.b=function(t){return t},t.$_$.c=E,t.$_$.d=A,t.$_$.e=O,t.$_$.f=I,t.$_$.g=C}(t.exports,n(8744),n(384))},8960:(t,e,n)=>{!function(t,e,n,r){\\\"use strict\\\";var i,o=e.$_$.c,a=e.$_$.b,s=n.$_$.f,l=e.$_$.h,u=n.$_$.ib,c=e.$_$.d,h=e.$_$.a,p=r.$_$.r,f=(n.$_$.b5,r.$_$.x1),d=r.$_$.w1,m=r.$_$.y1,v=e.$_$.f,g=e.$_$.g,y=e.$_$.q,_=e.$_$.p,b=e.$_$.o,x=n.$_$.aa,w=n.$_$.dc,A=n.$_$.ha;function C(t){return t.y5m_1.s7(t,A(\\\"client\\\",1,w,(function(t){return C(t)}),null))}function M(){i=this,o(),this.z5m_1=a(\\\"vision.notebook\\\",\\\"dataforge\\\",null,4,null),this.a5n_1=s(T)}function E(){return null==i&&new M,i}function T(){E(),h(null,1,null,this);var t=p();this.y5m_1=this.p2m(t,null,2,null),window.vf=this,window.VisionForge=this}function S(t){var e=t.space||(t.space={}),n=e.kscience||(e.kscience={}),r=n.visionforge||(n.visionforge={}),i=r.jupyter||(r.jupyter={});i.VFNotebookPlugin=T,Object.defineProperty(i.VFNotebookPlugin,\\\"Companion\\\",{configurable:!0,get:E})}T.prototype=Object.create(c.prototype),T.prototype.constructor=T,M.prototype.n2n=function(t,e){return new T},M.prototype.k2m=function(){return this.z5m_1},M.prototype.c9=function(){return this.a5n_1},M.$metadata$=u(\\\"Companion\\\",[l]),T.prototype.renderAllVisionsIn=function(t){f(C(this),t)},T.prototype.renderAllVisionsById=function(t){d(C(this),t)},T.prototype.renderAllVisions=function(){m(C(this))},T.prototype.k2m=function(){return E().z5m_1},T.$metadata$=x(\\\"VFNotebookPlugin\\\",void 0,void 0,void 0,void 0,c.prototype),T.prototype.c2=v,T.prototype.v1m=g,T.prototype.u2o=y,T.prototype.v2o=_,T.prototype.q2m=b,S(t),t.$jsExportAll$=S,t.$_$=t.$_$||{},t.$_$.a=E}(t.exports,n(5247),n(8744),n(5102))},3554:(t,e,n)=>{!function(t,e,n,r,i,o,a,s,l,u){\\\"use strict\\\";var c=e.$_$.a2,h=n.$_$.a,p=r.$_$.a,f=i.$_$.a,d=o.$_$.a,m=a.$_$.a,v=s.$_$.b5;l.$jsExportAll$(t),n.$jsExportAll$(t),u.$jsExportAll$(t),a.$jsExportAll$(t),c((function(t){var e=h();t.q2n(e,null,2,null);var n=p();t.q2n(n,null,2,null);var r=f();t.q2n(r,null,2,null);var i=d();t.q2n(i,null,2,null);var o=m();return t.q2n(o,null,2,null),v()}))}(t.exports,n(5102),n(9033),n(9332),n(448),n(3391),n(8960),n(8744),n(3593),n(2119))},3593:(t,e,n)=>{!function(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d){\\\"use strict\\\";var m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F=e.useState,j=e.useMemo,U=e.useState,q=e.useRef,V=n.Color,H=r.$_$.h3,G=r.$_$.n1,W=r.$_$.w4,X=i.$_$.a,Y=o.$_$.h,Z=o.$_$.p1,K=o.$_$.k,J=o.$_$.q1,Q=a.$_$.b5,tt=o.$_$.b,et=o.$_$.d1,nt=s.$_$.i,rt=r.$_$.n3,it=l.$_$.a,ot=a.$_$.pf,at=o.$_$.j,st=a.$_$.m1,lt=r.$_$.b1,ut=a.$_$.ff,ct=a.$_$.b1,ht=a.$_$.x,pt=a.$_$.ac,ft=a.$_$.pe,dt=a.$_$.fa,mt=r.$_$.h1,vt=s.$_$.z,gt=s.$_$.n,yt=s.$_$.t,_t=s.$_$.x,bt=s.$_$.k,xt=r.$_$.b5,wt=u.$_$.i,At=a.$_$.v6,Ct=a.$_$.h1,Mt=r.$_$.c4,Et=s.$_$.h,Tt=r.$_$.m1,St=a.$_$.oe,kt=a.$_$.sf,Ot=a.$_$.b6,It=a.$_$.a1,Lt=r.$_$.t2,Pt=r.$_$.r2,zt=s.$_$.y,Rt=s.$_$.s,Dt=s.$_$.q,$t=c.$_$.b,Bt=a.$_$.da,Nt=r.$_$.a,Ft=r.$_$.v4,jt=o.$_$.k2,Ut=o.$_$.u2,qt=o.$_$.z1,Vt=o.$_$.c,Ht=o.$_$.e1,Gt=o.$_$.x,Wt=o.$_$.f1,Xt=o.$_$.e,Yt=o.$_$.l1,Zt=o.$_$.k1,Kt=o.$_$.q,Jt=o.$_$.n2,Qt=o.$_$.w,te=o.$_$.o2,ee=o.$_$.g,ne=o.$_$.o1,re=a.$_$.ib,ie=a.$_$.aa,oe=a.$_$.k1,ae=h.$_$.q1,se=a.$_$.m9,le=r.$_$.o4,ue=p.$_$.o,ce=p.$_$.n,he=r.$_$.t3,pe=s.$_$.f,fe=s.$_$.l,de=o.$_$.f,me=o.$_$.d,ve=o.$_$.m1,ge=r.$_$.i3,ye=p.$_$.q,_e=a.$_$.ta,be=a.$_$.x8,xe=p.$_$.f,we=p.$_$.i,Ae=a.$_$.mb,Ce=p.$_$.l,Me=(a.$_$.n9,r.$_$.z2),Ee=s.$_$.a,Te=r.$_$.b,Se=s.$_$.d,ke=o.$_$.h2,Oe=r.$_$.g3,Ie=r.$_$.b4,Le=r.$_$.s2,Pe=a.$_$.fd,ze=s.$_$.o,Re=o.$_$.t2,De=o.$_$.b2,$e=o.$_$.s2,Be=o.$_$.a2,Ne=o.$_$.u1,Fe=f.$_$.a,je=r.$_$.d1,Ue=r.$_$.y4,qe=a.$_$.d2,Ve=d.$_$.i,He=f.$_$.b,Ge=o.$_$.e2,We=o.$_$.w1,Xe=o.$_$.m,Ye=o.$_$.v1,Ze=o.$_$.s,Ke=o.$_$.r2,Je=o.$_$.l2,Qe=o.$_$.n1,tn=o.$_$.i,en=o.$_$.x1,nn=o.$_$.q2,rn=o.$_$.y,on=o.$_$.z,an=o.$_$.i1,sn=o.$_$.j1,ln=o.$_$.h1,un=o.$_$.g1,cn=o.$_$.j2,hn=o.$_$.f2,pn=o.$_$.r,fn=o.$_$.s1,dn=i.$_$.b,mn=a.$_$.dc,vn=a.$_$.ha,gn=a.$_$.d5,yn=h.$_$.k1,_n=a.$_$.jc,bn=a.$_$.pc,xn=h.$_$.h1,wn=a.$_$.be,An=o.$_$.a1,Cn=o.$_$.a,Mn=o.$_$.u,En=r.$_$.d5,Tn=h.$_$.u1,Sn=a.$_$.v8,kn=u.$_$.j,On=u.$_$.h,In=s.$_$.e,Ln=s.$_$.j,Pn=r.$_$.w2,zn=r.$_$.u2,Rn=s.$_$.c,Dn=s.$_$.b,$n=o.$_$.y1,Bn=h.$_$.l,Nn=r.$_$.k3,Fn=r.$_$.d,jn=a.$_$.a7,Un=r.$_$.c,qn=h.$_$.h2,Vn=a.$_$.cc;function Hn(){return or(),m}function Gn(){return or(),v}function Wn(t){return or(),dt(\\\"expanded\\\",pt,!0,(function(){return ft()})),t[0]}function Xn(t,e){return or(),function(t,e){or();var n,r,i=F(Zn),o=H(e.root,e.name),a=e.descriptor,s=null==a?null:G(a,e.name),l=null==o?null:o.w2(),u=null==l?null==s?null:s.z1l_1:l,c=o,h=null==c?null==s?null:s.y1q():c,p=W(e.name),f=null==p?null:p.toString(),d=null==f?e.rootName:f,m=null==d?\\\"\\\":d,v=(n=i,function(t){return function(t,e){or(),dt(\\\"expanded\\\",pt,!0,(function(){return ft()})),t[1](e)}(n,!Wn(n)),Q()}),g=Kn,y=X().d49(g),_=y.s2x();Z(_,Y()),J(_,K()),Q();var b=y.s2x();if(et(b,tt()),Q(),!1===(null==h?null:rt(h))){var x,w=Jn,A=X().d49(w),C=A.s2x();C.p2w(si().b4b()),Wn(i)&&(C.p2w(si().c4b()),Q());var M=A.y48();nt(M,v),x=A,y.u48(x.k49()),Q()}var E,T=Qn,S=X().d49(T),k=S.s2x();k.p2w(si().d4b()),null==o&&(k.p2w(si().e4b()),Q()),S.i2p(m),E=S,y.u48(E.k49()),Q();var O,I,L=tr,P=X().d49(L),z=er,R=it().d49(z);if(R.i2p(ot(u)),I=R,P.u48(I.k49()),Q(),O=P,y.u48(O.k49()),Q(),r=y,t.u48(r.k49()),Q(),Wn(i)){var D,$=nr,B=X().d49($),N=B.s2x();Z(N,Y()),J(N,at()),Q(),B.s2x().p2w(si().f4b()),Q();var j=st(),U=null==s?null:s.u1l_1,q=null==U?null:U.k3();if(null==q);else for(var V=q.e();V.f();){var mt=V.g();j.a(lt(mt,null,2,null))}var vt=ut(h).o1l().k3();j.r(vt),Q();for(var gt=j.v3(),yt=ct(),_t=gt.e();_t.f();){var bt=_t.g();!ht(bt.p1l_1,\\\"@\\\",!1,2,null)&&yt.a(bt)}for(var xt=yt.e();xt.f();){var wt,At=xt.g(),Ct=rr,Mt=X().d49(Ct);Mt.s2x().p2w(si().g4b()),Q();var Et=Hn();Mt.w48(Et,null,ir(e,At),2,null),wt=Mt,B.u48(wt.k49()),Q()}D=B,t.u48(D.k49()),Q()}}(t,e),Q()}function Yn(t,e){or();var n,r=Hn();return t.w48(r,null,(n=e,function(t){return t.z48(function(t){return function(e){return e.key=\\\"\\\",e.root=t.root,e.name=mt().v1o_1,e.descriptor=t.descriptor,Q()}}(n)),Q()}),2,null),Q()}function Zn(){return or(),!0}function Kn(t){return or(),new gt(vt(),t)}function Jn(t){return or(),new yt(vt(),t)}function Qn(t){return or(),new yt(vt(),t)}function tr(t){return or(),new gt(vt(),t)}function er(t){return or(),new bt(_t([\\\"href\\\",null,\\\"target\\\",null,\\\"class\\\",null]),t)}function nr(t){return or(),new gt(vt(),t)}function rr(t){return or(),new gt(vt(),t)}function ir(t,e){return function(n){return n.z48(function(t,e){return function(n){return n.key=t.name.toString(),n.root=t.root,n.name=xt(t.name,e),n.descriptor=t.descriptor,Q()}}(t,e)),Q()}}function or(){g||(g=!0,m=wt(\\\"MetaViewerItem\\\",Xn),v=wt(\\\"MetaViewer\\\",Yn))}function ar(){return cr(),y}function sr(t,e){cr();var n,r,i,o=(n=e,function(t){for(var e=t.target,r=kt((e instanceof HTMLSelectElement?e:St()).selectedOptions),i=It(Ot(r,10)),o=r.e();o.f();){var a,s=o.g();a=Lt((s instanceof HTMLOptionElement?s:St()).value),i.a(a)}var l=i;return n.onValueChange(Pt(l)),Q()}),a=lr,s=it().d49(a),l=s.y48();l.q1s(!0);for(var u=e.value,c=null==u?null:u.d1m(),h=null==c?At():c,p=Ct(),f=h.e();f.f();){var d,m=f.g();d=Mt(m),p.a(d)}i=p,s.h49(l,i),Et(l,o);var v=e.descriptor,g=null==v?null:Tt(v);if(null==g);else for(var y=g.e();y.f();){var _,b=y.g(),x=ur,w=it().d49(x);w.i2p(Mt(b)),_=w,s.u48(_.k49()),Q()}return r=s,t.u48(r.k49()),Q(),Q()}function lr(t){return cr(),new Rt(zt(\\\"class\\\",null),t)}function ur(t){return cr(),new Dt(zt(\\\"class\\\",null),t)}function cr(){_||(_=!0,y=wt(\\\"MultiSelectChooser\\\",sr))}function hr(){return Fr(),b}function pr(){return Fr(),x}function fr(){w=this,yr.call(this)}function dr(){return null==w&&new fr,w}function mr(t){yr.call(this),this.h4b_1=t}function vr(){A=this,yr.call(this)}function gr(){return null==A&&new vr,A}function yr(){}function _r(t){return Fr(),dt(\\\"expanded\\\",pt,!0,(function(){return ft()})),t[0]}function br(t){return Fr(),dt(\\\"property\\\",pt,!0,(function(){return ft()})),t[0]}function xr(t){return Fr(),dt(\\\"editorPropertyState\\\",pt,!0,(function(){return ft()})),t[0]}function wr(t,e){return Fr(),dt(\\\"editorPropertyState\\\",pt,!0,(function(){return ft()})),t[1](e)}function Ar(t,e,n){var r,i;r=e,i=t.meta.q1o(t.name),Fr(),dt(\\\"property\\\",pt,!0,(function(){return ft()})),r[1](i),wr(n,t.getPropertyState(t.name))}function Cr(t,e){return Fr(),function(t,e){Fr();var n,r,i=F((n=e,function(){var t=n.expanded;return null==t||t})),o=[e.descriptor,e.name],a=function(t){return function(){var e=t.descriptor;return null==e?null:G(e,t.name)}}(e),s=j(a,o),l=F(function(t){return function(){return t.meta.q1o(t.name)}}(e)),u=F(function(t){return function(){return t.getPropertyState(t.name)}}(e)),c=(r=s,function(){var t,e=st(),n=null==r?null:r.u1l_1;if(null==n)t=null;else{for(var i=oe(),o=n.y().e();o.f();){var a=o.g(),s=a.u2();ht(s,\\\"@\\\",!1,2,null)||ae(a.w2())||i.b(a.u2(),a.w2())}t=i}if(null==t);else for(var l=t.y().e();l.f();){var u=l.g().u2();e.a(lt(u,null,2,null))}return e.v3()}),h=j(c,[s]),p=W(e.name),f=null==p?null:p.toString(),d=null==f?\\\"Properties\\\":f,m=[e.meta];$t(m,function(t,e,n){return function(r){var i,o=t.updates,a=ce(ue(o,function(t,e,n,r){var i=new Er(t,e,n,null),o=function(t,e){return i.z3d(t,e)};return o.$arity=1,o}(t,e,n)),t.scope),s=(i=a,function(){return i.d1w(null,1,null),Q()});return r.push(s),Q()}}(e,l,u));var v,g,y=(v=i,function(t){return function(t,e){Fr(),dt(\\\"expanded\\\",pt,!0,(function(){return ft()})),t[1](e)}(v,!_r(v)),Q()}),_=function(t,e,n){return function(r){return he(t.meta,t.name),Ar(t,e,n),Q()}}(e,l,u),b=Tr,x=X().d49(b),w=x.s2x();Z(w,Y()),J(w,K()),Q();var A=x.s2x();if(et(A,tt()),Q(),!h.i()){var C,M=Sr,E=X().d49(M),T=E.s2x();T.p2w(si().b4b()),_r(i)&&(T.p2w(si().c4b()),Q());var S=E.y48();nt(S,y),C=E,x.u48(C.k49()),Q()}var k,O=kr,I=X().d49(O),L=I.s2x();if(L.p2w(si().d4b()),Bt(xr(u),dr())||(L.p2w(si().e4b()),Q()),I.i2p(d),k=I,x.u48(k.k49()),Q(),!Ft(e.name)&&!Bt(null==s?null:s.w1l_1,Nt())){var P,z=Or,R=X().d49(z),D=R.s2x();Ut(D,jt(160)),qt(D,jt(1),jt(5)),Q();var $=ki();R.x48($,function(t,e,n,r){return function(i){return i.z48(function(t,e,n,r){return function(i){return i.descriptor=t,i.state=xr(e),i.value=br(n).w2(),i.onValueChange=function(t,e,n){return function(r){return br(e).o1o(r),wr(n,t.getPropertyState(t.name)),Q()}}(r,n,e),Q()}}(t,e,n,r)),Q()}}(s,u,l,e)),P=R,x.u48(P.k49()),Q();var B,N=Ir,U=X().d49(N),q=U.s2x();Ut(q,jt(24)),Ht(q,Vt()),qt(q,jt(1),jt(5)),Wt(q,Gt().f34_1),Yt(q,Xt()),Zt(q,jt(2)),Jt(q,Kt()),te(q,Qt().n35_1),ne(q,ee()),q.m2w(Lr),Q(),U.i2p(\\\"×\\\");var V=U.y48();Bt(xr(u),dr())?nt(V,_):V.q2t(!0),B=U,x.u48(B.k49()),Q()}if(g=x,t.u48(g.k49()),Q(),_r(i)){var H,rt=Pr,it=X().d49(rt),ot=it.s2x();Z(ot,Y()),J(ot,at()),Q(),it.s2x().p2w(si().f4b()),Q();for(var ut=h.e();ut.f();){var ct,mt=ut.g(),vt=zr,gt=X().d49(vt);gt.s2x().p2w(si().g4b()),Q();var yt=hr();gt.w48(yt,null,Rr(e,mt),2,null),ct=gt,it.u48(ct.k49()),Q()}H=it,t.u48(H.k49()),Q()}}(t,e),Q()}function Mr(t,e){Fr();var n,r=hr();return t.w48(r,null,(n=e,function(t){return t.z48(function(t){return function(e){return e.key=\\\"\\\",e.meta=t.meta,e.name=mt().v1o_1,e.descriptor=t.descriptor,e.expanded=t.expanded,e.scope=t.scope,e.getPropertyState=t.getPropertyState,e.updates=t.updates,Q()}}(n)),Q()}),2,null),Q()}function Er(t,e,n,r){this.q4b_1=t,this.r4b_1=e,this.s4b_1=n,se.call(this,r)}function Tr(t){return Fr(),new gt(vt(),t)}function Sr(t){return Fr(),new yt(vt(),t)}function kr(t){return Fr(),new yt(vt(),t)}function Or(t){return Fr(),new gt(vt(),t)}function Ir(t){return Fr(),new fe(_t([\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"type\\\",null]),t)}function Lr(t){return Fr(),ne(t,de()),Yt(t,me()),ve(t,Gt().l31_1),Q()}function Pr(t){return Fr(),new gt(vt(),t)}function zr(t){return Fr(),new gt(vt(),t)}function Rr(t,e){return function(n){return n.z48(function(t,e){return function(n){return n.key=t.name.toString(),n.meta=t.meta,n.name=xt(t.name,e),n.descriptor=t.descriptor,n.scope=t.scope,n.getPropertyState=function(t,e){return function(n){return t.getPropertyState(xt(t.name,e))}}(t,e),n.updates=t.updates,Q()}}(t,e)),Q()}}function Dr(t,e,n){this.c4c_1=t,this.d4c_1=e,se.call(this,n)}function $r(t,e){return function(n,r){return xe(t,null,null,function(t,e,n){var r=new Dr(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(e,r),3,null),Q()}}function Br(t,e){return function(n){return t.i1p(e),Q()}}function Nr(t,e,n){this.n4c_1=t,this.o4c_1=e,se.call(this,n)}function Fr(){C||(C=!0,b=wt(\\\"PropertyEditorItem\\\",Cr),x=wt(\\\"PropertyEditor\\\",Mr))}function jr(){return Gr(),M}function Ur(t,e){Gr();var n,r,i,o,a=e.value,s=U(null==a?null:Me(a)),l=U(!Bt(e.state,dr())),u=(n=e,r=l,i=s,function(t){var e=t.target,o=(e instanceof HTMLInputElement?e:St()).checked;!function(t,e){Gr(),dt(\\\"rangeDisabled\\\",pt,!0,(function(){return ft()})),t[1](e)}(r,!o);var a,s=n.onValueChange;if(o){var l=qr(i);a=null==l?null:Le(l)}else a=null;return s(a),Q()}),c=function(t,e){return function(n){var r=n.target,i=(r instanceof HTMLInputElement?r:St()).value,o=t.onValueChange,a=Pe(i);return o(null==a?null:Le(a)),function(t,e){Gr(),dt(\\\"innerValue\\\",pt,!0,(function(){return ft()})),t[1](e)}(e,Pe(i)),Q()}}(e,s),h=Hr,p=X().d49(h),f=p.s2x();Z(f,Y()),J(f,K()),Q();var d,m=e.descriptor;if(!Bt(null==m?null:m.w1l_1,Te())){var v,g=Ee(),y=(d=g,function(t){var e=null==d?null:pe(d);return new ze(_t([\\\"type\\\",e,\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"name\\\",null]),t)}),_=X().d49(y),b=_.y48();_.g49(b,!Vr(l)),Et(b,u),v=_,p.u48(v.k49()),Q()}var x,w,A=Se(),C=(x=A,function(t){var e=null==x?null:pe(x);return new ze(_t([\\\"type\\\",e,\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"name\\\",null]),t)}),M=X().d49(C),E=M.s2x();Ut(E,ke(100)),Q();var T=M.y48();T.q2t(Vr(l));var S=qr(s),k=null==S?null:S.toString();T.r2u(null==k?\\\"\\\":k),Et(T,c),T.f2p().n2p(T,\\\"input\\\",c);var O=e.descriptor,I=null==O?null:O.b1m_1,L=Ie(null==I?null:Oe(I,\\\"min\\\"));null==L||(T.p2u(L),Q());var P=e.descriptor,z=null==P?null:P.b1m_1,R=Ie(null==z?null:Oe(z,\\\"max\\\"));null==R||(T.o2u(R),Q());var D=e.descriptor,$=null==D?null:D.b1m_1,B=Ie(null==$?null:Oe($,\\\"step\\\"));return null==B||(T.q2u(B),Q()),w=M,p.u48(w.k49()),Q(),o=p,t.u48(o.k49()),Q(),Q()}function qr(t){return Gr(),dt(\\\"innerValue\\\",pt,!0,(function(){return ft()})),t[0]}function Vr(t){return Gr(),dt(\\\"rangeDisabled\\\",pt,!0,(function(){return ft()})),t[0]}function Hr(t){return Gr(),new gt(vt(),t)}function Gr(){E||(E=!0,M=wt(\\\"RangeValueChooser\\\",Ur))}function Wr(t,e){Zr();var n,r=q(null),i=U(null),o=[e.context],a=(n=e,function(){var t,e,r,i=n.context,o=Fe(),a=je().r1m_1,s=i.z2m().q2o(o.c9(),o.k2m(),!0);if(null!=s&&s.n1l().equals(a))t=s;else{var l,u=Ue(i.t2m_1,o.k2m().l2o_1);l=i.i2n(u,(e=o,r=a,function(t){return t.o2n(e,r),Q()})).z2m().q2o(o.c9(),o.k2m(),!0),t=ut(l)}return t}),s=j(a,o),l=[e.solid,e.options,r];$t(l,function(t,e,n,r){return function(i){if(null==Xr(r)){var o=t.current,a=o instanceof HTMLElement?o:null;if(null==a)throw qe(\\\"Canvas element not found\\\");var s=a,l=n.options;!function(t,e){Zr(),dt(\\\"canvas\\\",pt,!0,(function(){return ft()})),t[1](e)}(r,new He(e,s,null==l?new Ve:l)),Q()}return Q()}}(r,s,e,i));var u=[Xr(i),e.solid];$t(u,function(t,e){return function(n){var r=t.solid;if(null==r);else{var i=Xr(e);null==i||i.p45(r),Q()}return Q()}}(e,i));var c=[Xr(i),e.selected];$t(c,function(t,e){return function(n){var r=Xr(e);return null==r||r.y45(t.selected),Q()}}(e,i));var h,p=Yr,f=X().d49(p),d=f.s2x();return De(d,Re(100)),Be(d,$e(100)),Ut(d,ke(100)),Ne(d,ke(100)),Q(),f.j49(r),h=f,t.u48(h.k49()),Q(),Q()}function Xr(t){return Zr(),dt(\\\"canvas\\\",pt,!0,(function(){return ft()})),t[0]}function Yr(t){return Zr(),new gt(vt(),t)}function Zr(){S||(S=!0,T=wt(\\\"ThreeCanvasComponent\\\",Wr))}function Kr(t){return Ge(t,jt(5)),We(t,jt(0)),Ye(t,Xe()),Q()}function Jr(t){return ne(t,ee()),Ke(t,Ze()),t.o2w(Qr),Q()}function Qr(t){return Qe(t,Je(\\\"▶\\\")),ve(t,Gt().z2y_1),Z(t,tn()),en(t,jt(6)),Q()}function ti(t){return t.o2w(ei),Q()}function ei(t){return Qe(t,Je(\\\"▶\\\")),ve(t,Gt().z2y_1),Z(t,tn()),en(t,jt(6)),on(nn(t),rn(90)),Q()}function ni(t){return et(t,tt()),Ge(t,jt(10)),an(t,me()),sn(t,jt(1)),ln(t,Gt().l31_1),Q()}function ri(t){un(t,\\\"none\\\");var e=cn(4),n=cn(4),r=cn(0),i=cn(0);return hn(t,r,n,i,e),Jt(t,pn()),fn(t,1),Q()}function ii(t){return ve(t,Gt().l31_1),Q()}function oi(t){return Wt(t,Gt().h31_1),Q()}function ai(){k=this,dn.call(this,\\\"treeStyles\\\",!0),this.u4a_1=this.z49([],Kr).e4a(this,vn(\\\"tree\\\",1,mn,(function(t){return t.f4b()}),null)),this.v4a_1=this.z49([],Jr).e4a(this,vn(\\\"treeCaret\\\",1,mn,(function(t){return t.b4b()}),null)),this.w4a_1=this.z49([],ti).e4a(this,vn(\\\"treeCaredDown\\\",1,mn,(function(t){return t.c4b()}),null)),this.x4a_1=this.z49([],ni).e4a(this,vn(\\\"treeItem\\\",1,mn,(function(t){return t.g4b()}),null)),this.y4a_1=this.z49([],ri).e4a(this,vn(\\\"treeLabel\\\",1,mn,(function(t){return t.d4b()}),null)),this.z4a_1=this.z49([],ii).e4a(this,vn(\\\"treeLabelInactive\\\",1,mn,(function(t){return t.e4b()}),null)),this.a4b_1=this.z49([],oi).e4a(this,vn(\\\"treeLabelSelected\\\",1,mn,(function(t){return t.s4c()}),null))}function si(){return null==k&&new ai,k}function li(){return Ai(),O}function ui(){return Ai(),I}function ci(t){this.t4c_1=t}function hi(t){return Ai(),dt(\\\"expanded\\\",pt,!0,(function(){return ft()})),t[0]}function pi(t,e){Ai();var n,r,i=[e.name],o=(n=e,function(){var t=W(n.name),e=null==t?null:t.toString();return null==e?\\\"World\\\":e}),a=j(o,i),s=fi,l=X().d49(s),u=l.s2x();u.p2w(si().d4b()),ve(u,new An(\\\"#069\\\")),ne(u,ee()),u.n2w(di),e.name.equals(e.selected)&&(u.p2w(si().s4c()),Q()),l.i2p(a);var c=l.y48();return nt(c,function(t){return function(e){return t.clickCallback(t.name),Q()}}(e)),r=l,t.u48(r.k49()),Q(),Q()}function fi(t){return Ai(),new yt(vt(),t)}function di(t){Ai();var e=[Cn()];return Mn(t,e,null,null,6,null),Q()}function mi(t,e){return Ai(),function(t,e){Ai();var n,r,i=F((n=e,function(){var t=n.selected,e=null==t?null:En(t,n.name);return null!=e&&e})),o=(r=i,function(t){return function(t,e){Ai(),dt(\\\"expanded\\\",pt,!0,(function(){return ft()})),t[1](e)}(r,!hi(r)),Q()}),a=e.obj;if(_e(a,xn)){var s,l,u=vi,c=X().d49(u),h=c.s2x();Z(h,Y()),J(h,K()),Q();t:{var p=a.y1r().k3();if(_e(p,gn)&&p.i())l=!1;else{for(var f=p.e();f.f();){var d=f.g();if(!ht(d.p1l_1,\\\"@\\\",!1,2,null)){l=!0;break t}}l=!1}}if(l){var m,v=gi,g=X().d49(v),y=g.s2x();y.p2w(si().b4b()),hi(i)&&(y.p2w(si().c4b()),Q());var _=g.y48();nt(_,o),m=g,c.u48(m.k49()),Q()}var b=li();if(c.w48(b,e,null,4,null),s=c,t.u48(s.k49()),Q(),hi(i)){var x,w=yi,A=X().d49(w),C=A.s2x();Z(C,Y()),J(C,at()),Q(),A.s2x().p2w(si().f4b()),Q();var M,E=yn(a.y1r()),T=_n(E,_i);M=new ci(bi);for(var S=bn(T,M).e();S.f();){var k,O=S.g(),I=O.m4(),L=O.n4(),P=xi,z=X().d49(P);z.s2x().p2w(si().g4b()),Q();var R=ui();z.w48(R,null,wi(e,I,L),2,null),k=z,A.u48(k.k49()),Q()}x=A,t.u48(x.k49()),Q()}}else{var D=li();t.w48(D,e,null,4,null)}}(t,e),Q()}function vi(t){return Ai(),new gt(vt(),t)}function gi(t){return Ai(),new yt(vt(),t)}function yi(t){return Ai(),new gt(vt(),t)}function _i(t){Ai();var e=t.t_1.toString();return!ht(e,\\\"@\\\",!1,2,null)}function bi(t,e){Ai();var n=t.u_1,r=_e(n,xn)?n:null,i=null==r?null:r.y1r(),o=null==i?null:Tn(i),a=null==o||o,s=e.u_1,l=_e(s,xn)?s:null,u=null==l?null:l.y1r(),c=null==u?null:Tn(u);return Sn(a,null==c||c)}function xi(t){return Ai(),new gt(vt(),t)}function wi(t,e,n){return function(r){return r.z48(function(t,e,n){return function(r){return r.name=xt(t.name,e),r.obj=n,r.selected=t.selected,r.clickCallback=t.clickCallback,Q()}}(t,e,n)),Q()}}function Ai(){L||(L=!0,O=kn(pi),I=wt(\\\"ObjectTree\\\",mi))}function Ci(){return Ui(),P}function Mi(){return Ui(),z}function Ei(){return Ui(),R}function Ti(){return Ui(),D}function Si(){return Ui(),$}function ki(){return Ui(),B}function Oi(t,e){Ui();var n,r,i,o,a=e.value,s=null==a?null:Mt(a),l=U(null==s?\\\"\\\":s),u=(n=e,r=l,function(t){if(\\\"keydown\\\"===t.type&&\\\"Enter\\\"==t.key){var e=t.target;Li(r,(e instanceof HTMLInputElement?e:St()).value),n.onValueChange(Lt(Ii(r)))}return Q()}),c=function(t){return function(e){var n=e.target;return Li(t,(n instanceof HTMLInputElement?n:St()).value),Q()}}(l),h=In(),p=(i=h,function(t){var e=null==i?null:pe(i);return new ze(_t([\\\"type\\\",e,\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"name\\\",null]),t)}),f=X().d49(p),d=f.s2x();Ut(d,ke(100)),Q();var m=f.y48();return m.r2u(Ii(l)),Ln(m,u),Et(m,c),o=f,t.u48(o.k49()),Q(),Q()}function Ii(t){return Ui(),dt(\\\"value\\\",pt,!0,(function(){return ft()})),t[0]}function Li(t,e){return Ui(),dt(\\\"value\\\",pt,!0,(function(){return ft()})),t[1](e)}function Pi(t,e){Ui();var n,r,i,o=(n=e,function(t){var e=t.target,r=(e instanceof HTMLInputElement?e:St()).checked;return n.onValueChange(zn(r)),Q()}),a=Ee(),s=(r=a,function(t){var e=null==r?null:pe(r);return new ze(_t([\\\"type\\\",e,\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"name\\\",null]),t)}),l=X().d49(s),u=l.s2x();Ut(u,ke(100)),Q();var c=l.y48(),h=e.value,p=null==h?null:Pn(h);return c.n2u(null!=p&&p),Et(c,o),i=l,t.u48(i.k49()),Q(),Q()}function zi(t,e){Ui();var n,r,i,o,a=e.value,s=null==a?null:Mt(a),l=U(null==s?\\\"\\\":s),u=(n=e,r=l,function(t){if(\\\"keydown\\\"===t.type&&\\\"Enter\\\"==t.key){var e=t.target;Di(r,(e instanceof HTMLInputElement?e:St()).value);var i=Pe(Ri(r));null==i?(console.error(\\\"The input value \\\"+Ri(r)+\\\" is not a number\\\"),Q()):n.onValueChange(Le(i))}return Q()}),c=function(t){return function(e){var n=e.target;return Di(t,(n instanceof HTMLInputElement?n:St()).value),Q()}}(l),h=Rn(),p=(i=h,function(t){var e=null==i?null:pe(i);return new ze(_t([\\\"type\\\",e,\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"name\\\",null]),t)}),f=X().d49(p),d=f.s2x();Ut(d,ke(100)),Q();var m=f.y48();m.r2u(Ri(l)),Ln(m,u),Et(m,c);var v=e.descriptor,g=null==v?null:v.b1m_1,y=Ie(null==g?null:Oe(g,\\\"step\\\"));null==y||(m.q2u(y),Q());var _=e.descriptor,b=null==_?null:_.b1m_1,x=Ie(null==b?null:Oe(b,\\\"min\\\"));null==x||(m.p2u(x),Q());var w=e.descriptor,A=null==w?null:w.b1m_1,C=Ie(null==A?null:Oe(A,\\\"max\\\"));return null==C||(m.o2u(C),Q()),o=f,t.u48(o.k49()),Q(),Q()}function Ri(t){return Ui(),dt(\\\"innerValue\\\",pt,!0,(function(){return ft()})),t[0]}function Di(t,e){return Ui(),dt(\\\"innerValue\\\",pt,!0,(function(){return ft()})),t[1](e)}function $i(t,e){Ui();var n,r,i,o=e.value,a=null==o?null:Mt(o),s=U(null==a?\\\"\\\":a),l=(n=e,r=s,function(t){var e=t.target;return function(t,e){Ui(),dt(\\\"selected\\\",pt,!0,(function(){return ft()})),t[1](e)}(r,(e instanceof HTMLSelectElement?e:St()).value),n.onValueChange(Lt(function(t){return Ui(),dt(\\\"selected\\\",pt,!0,(function(){return ft()})),t[0]}(r))),Q()}),u=Bi,c=X().d49(u),h=c.s2x();Ut(h,ke(100)),Q();var p=e.descriptor,f=null==p?null:Tt(p);if(null==f);else for(var d=f.e();d.f();){var m,v=d.g(),g=Ni,y=it().d49(g);y.i2p(Mt(v)),m=y,c.u48(m.k49()),Q()}var _=c.y48(),b=e.value,x=null==b?null:Mt(b);return c.i49(_,null==x?\\\"\\\":x),_.q1s(!1),Et(_,l),i=c,t.u48(i.k49()),Q(),Q()}function Bi(t){return Ui(),new Rt(vt(),t)}function Ni(t){return Ui(),new Dt(zt(\\\"class\\\",null),t)}function Fi(t,e){Ui();var n,r,i,o=(n=e,function(t){var e=n.onValueChange,r=t.target;return e(Lt((r instanceof HTMLInputElement?r:St()).value)),Q()}),a=Dn(),s=(r=a,function(t){var e=null==r?null:pe(r);return new ze(_t([\\\"type\\\",e,\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"name\\\",null]),t)}),l=X().d49(s),u=l.s2x();Ut(u,ke(100)),$n(u,jt(0)),Q();var c=l.y48(),h=e.value,p=null==h?null:h.c9().equals(Fn())?Bn().b3d(Nn(h)):\\\"#\\\"+new V(Mt(h)).getHexString();return c.r2u(null==p?\\\"#000000\\\":p),Et(c,o),i=l,t.u48(i.k49()),Q(),Q()}function ji(t,e){Ui();var n,r=U(!1),i=e.descriptor,o=null==i?null:i.x1l_1,a=null==o?null:jn(o);if(n=r,Ui(),dt(\\\"rawInput\\\",Vn,!1,(function(){return ft()})),n[0]){var s=Ci();t.w48(s,e,null,4,null)}else if(\\\"color\\\"===(null==i?null:qn(i))){var l=Si();t.w48(l,e,null,4,null)}else if(\\\"multiSelect\\\"===(null==i?null:qn(i))){var u=ar();t.w48(u,e,null,4,null)}else if(\\\"range\\\"===(null==i?null:qn(i))){var c=jr();t.w48(c,e,null,4,null)}else if(Bt(a,Un())){var h=Mi();t.w48(h,e,null,4,null)}else if(Bt(a,Fn())){var p=Ei();t.w48(p,e,null,4,null)}else{var f,d=null==i?null:Tt(i);if(null!=(f=null==d?null:!d.i())&&f){var m=Ti();t.w48(m,e,null,4,null)}else{var v=Ci();t.w48(v,e,null,4,null)}}return Q()}function Ui(){N||(N=!0,P=wt(\\\"StringValueChooser\\\",Oi),z=wt(\\\"BooleanValueChooser\\\",Pi),R=wt(\\\"NumberValueChooser\\\",zi),D=wt(\\\"ComboValueChooser\\\",$i),$=wt(\\\"ColorValueChooser\\\",Fi),B=wt(\\\"ValueChooser\\\",ji))}function qi(t){var e,n,r,i=(r=(n=(e=t.space||(t.space={})).kscience||(e.kscience={})).visionforge||(n.visionforge={})).react||(r.react={});Object.defineProperty(i,\\\"MetaViewer\\\",{configurable:!0,get:Gn}),i=(r=(n=(e=t.space||(t.space={})).kscience||(e.kscience={})).visionforge||(n.visionforge={})).react||(r.react={}),Object.defineProperty(i,\\\"MultiSelectChooser\\\",{configurable:!0,get:ar}),i=(r=(n=(e=t.space||(t.space={})).kscience||(e.kscience={})).visionforge||(n.visionforge={})).react||(r.react={}),Object.defineProperty(i,\\\"PropertyEditor\\\",{configurable:!0,get:pr}),i=(r=(n=(e=t.space||(t.space={})).kscience||(e.kscience={})).visionforge||(n.visionforge={})).react||(r.react={}),Object.defineProperty(i,\\\"RangeValueChooser\\\",{configurable:!0,get:jr}),i=(r=(n=(e=t.space||(t.space={})).kscience||(e.kscience={})).visionforge||(n.visionforge={})).react||(r.react={}),Object.defineProperty(i,\\\"ObjectTree\\\",{configurable:!0,get:ui}),i=(r=(n=(e=t.space||(t.space={})).kscience||(e.kscience={})).visionforge||(n.visionforge={})).react||(r.react={}),Object.defineProperty(i,\\\"StringValueChooser\\\",{configurable:!0,get:Ci}),Object.defineProperty(i,\\\"BooleanValueChooser\\\",{configurable:!0,get:Mi}),Object.defineProperty(i,\\\"NumberValueChooser\\\",{configurable:!0,get:Ei}),Object.defineProperty(i,\\\"ComboValueChooser\\\",{configurable:!0,get:Ti}),Object.defineProperty(i,\\\"ColorValueChooser\\\",{configurable:!0,get:Si}),Object.defineProperty(i,\\\"ValueChooser\\\",{configurable:!0,get:ki})}fr.prototype=Object.create(yr.prototype),fr.prototype.constructor=fr,mr.prototype=Object.create(yr.prototype),mr.prototype.constructor=mr,vr.prototype=Object.create(yr.prototype),vr.prototype.constructor=vr,Er.prototype=Object.create(se.prototype),Er.prototype.constructor=Er,Dr.prototype=Object.create(se.prototype),Dr.prototype.constructor=Dr,Nr.prototype=Object.create(se.prototype),Nr.prototype.constructor=Nr,ai.prototype=Object.create(dn.prototype),ai.prototype.constructor=ai,fr.$metadata$=re(\\\"Defined\\\",void 0,void 0,void 0,void 0,yr.prototype),mr.$metadata$=ie(\\\"Default\\\",void 0,void 0,void 0,void 0,yr.prototype),vr.$metadata$=re(\\\"Undefined\\\",void 0,void 0,void 0,void 0,yr.prototype),yr.$metadata$=ie(\\\"EditorPropertyState\\\"),Er.prototype.z3d=function(t,e){var n=this.a3e(t,e);return n.im_1=Q(),n.jm_1=null,n.pm()},Er.prototype.qm=function(t,e){return this.z3d(t instanceof le?t:St(),e)},Er.prototype.pm=function(){for(this.im_1;;)try{var t=this.gm_1;if(0===t)return this.hm_1=1,this.t4b_1.equals(this.q4b_1.name)&&Ar(this.q4b_1,this.r4b_1,this.s4b_1),Q();if(1===t)throw this.jm_1}catch(t){throw t}},Er.prototype.a3e=function(t,e){var n=new Er(this.q4b_1,this.r4b_1,this.s4b_1,e);return n.t4b_1=t,n},Er.$metadata$=ie(\\\"propertyEditorItem$lambda$slambda\\\",void 0,void 0,void 0,[1],se.prototype),Dr.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=Q(),n.jm_1=null,n.pm()},Dr.prototype.qm=function(t,e){return this.c2g(null!=t&&_e(t,ye)?t:St(),e)},Dr.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.c4c_1.w27(this.d4c_1,this))===be())return t;continue t;case 1:return Q();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Dr.prototype.d2g=function(t,e){var n=new Dr(this.c4c_1,this.d4c_1,e);return n.e4c_1=t,n},Dr.$metadata$=ie(\\\"propertyEditor$lambda$lambda$slambda$lambda$slambda\\\",void 0,void 0,void 0,[1],se.prototype),Nr.prototype.q4c=function(t,e){var n=this.r4c(t,e);return n.im_1=Q(),n.jm_1=null,n.pm()},Nr.prototype.qm=function(t,e){return this.q4c(null!=t&&_e(t,we)?t:St(),e)},Nr.prototype.pm=function(){for(this.im_1;;)try{var t=this.gm_1;if(0===t)return this.hm_1=1,this.n4c_1.j1p(this.o4c_1,$r(this.o4c_1,this.p4c_1)),this.p4c_1.z27(Br(this.n4c_1,this.o4c_1)),Q();if(1===t)throw this.jm_1}catch(t){throw t}},Nr.prototype.r4c=function(t,e){var n=new Nr(this.n4c_1,this.o4c_1,e);return n.p4c_1=t,n},Nr.$metadata$=ie(\\\"propertyEditor$lambda$lambda$slambda\\\",void 0,void 0,void 0,[1],se.prototype),ai.prototype.f4b=function(){return this.u4a_1.s7(this,vn(\\\"tree\\\",1,mn,(function(t){return t.f4b()}),null))},ai.prototype.b4b=function(){return this.v4a_1.s7(this,vn(\\\"treeCaret\\\",1,mn,(function(t){return t.b4b()}),null))},ai.prototype.c4b=function(){return this.w4a_1.s7(this,vn(\\\"treeCaredDown\\\",1,mn,(function(t){return t.c4b()}),null))},ai.prototype.g4b=function(){return this.x4a_1.s7(this,vn(\\\"treeItem\\\",1,mn,(function(t){return t.g4b()}),null))},ai.prototype.d4b=function(){return this.y4a_1.s7(this,vn(\\\"treeLabel\\\",1,mn,(function(t){return t.d4b()}),null))},ai.prototype.e4b=function(){return this.z4a_1.s7(this,vn(\\\"treeLabelInactive\\\",1,mn,(function(t){return t.e4b()}),null))},ai.prototype.s4c=function(){return this.a4b_1.s7(this,vn(\\\"treeLabelSelected\\\",1,mn,(function(t){return t.s4c()}),null))},ai.$metadata$=re(\\\"TreeStyles\\\",void 0,void 0,void 0,void 0,dn.prototype),ci.prototype.w=function(t,e){return this.t4c_1(t,e)},ci.prototype.compare=function(t,e){return this.w(t,e)},ci.$metadata$=ie(\\\"sam$kotlin_Comparator$0\\\",[wn]),qi(t),t.$jsExportAll$=qi,t.$_$=t.$_$||{},t.$_$.a=function(t,e,n,r,i,o,a,s){return 0!=(4&a)&&(r=null),0!=(8&a)&&(i=null),0!=(16&a)&&(o=null),function(t,e,n,r,i,o){Fr();var a,s,l,u,c,h=pr();t.w48(h,null,(a=n,s=r,l=i,u=o,c=e,function(t){return t.z48(function(t,e,n,r,i){return function(o){o.meta=t,o.descriptor=e;var a=null==n?null:Ae(n);return o.key=null==a?\\\"\\\":a,o.expanded=r,o.scope=i,o.getPropertyState=function(t,e){return function(n){var r;if(null!=ge(t,n))r=dr();else{var i=null==e?null:G(e,n);r=null!=(null==i?null:i.z1l_1)?new mr(\\\"descriptor\\\"):gr()}return r}}(t,e),o.updates=Ce(function(t,e,n){var r=new Nr(t,e,null),i=function(t,e){return r.q4c(t,e)};return i.$arity=1,i}(t,i)),Q()}}(a,s,l,u,c)),Q()}),2,null)}(t,e,n,r,i,o)},t.$_$.b=function(t,e,n){return function(t,e,n,r){return 0!=(1&e)&&(t=\\\"unknown\\\"),mr.call(r,t),r}(t,e,0,Object.create(mr.prototype))},t.$_$.c=dr,t.$_$.d=gr,t.$_$.e=pr,t.$_$.f=function(){return Zr(),T},t.$_$.g=function(t,e){t.render(On(e))},t.$_$.h=function(t,e,n,r){Ai();var i,o,a,s=ui();t.w48(s,null,(i=e,o=n,a=r,function(t){return t.z48(function(t,e,n){return function(r){return r.name=mt().v1o_1,r.obj=t,r.selected=e,r.clickCallback=n,Q()}}(i,o,a)),Q()}),2,null)}}(t.exports,n(6204),n(9585),n(384),n(5491),n(2724),n(8744),n(6622),n(8092),n(2125),n(2735),n(5102),n(7646),n(9390),n(5798))},9033:(t,e,n)=>{!function(t,e,r,i,o,a,s,l,u,c,h,p,f,d,m,v,g,y,_,b,x){\\\"use strict\\\";var w,A,C,M,E,T,S=e.default,k=r.useState,O=r.useState,I=r.useMemo,L=i.default,P=o.default,z=o.Header,R=o.Content,D=Math.imul,$=a.createRoot,B=s.$_$.a,N=l.$_$.a,F=u.$_$.x4,j=c.$_$.a1,U=c.$_$.l8,q=u.$_$.o4,V=c.$_$.b5,H=h.$_$.a,G=p.$_$.h,W=p.$_$.p1,X=p.$_$.k,Y=p.$_$.q1,Z=p.$_$.h2,K=p.$_$.u1,J=p.$_$.u2,Q=p.$_$.l,tt=p.$_$.r1,et=p.$_$.c,nt=p.$_$.d1,rt=p.$_$.c1,it=p.$_$.j,ot=p.$_$.k2,at=p.$_$.c2,st=p.$_$.b1,lt=p.$_$.t1,ut=p.$_$.p,ct=p.$_$.i2,ht=f.$_$.f,pt=p.$_$.o,ft=p.$_$.p2,dt=p.$_$.m2,mt=p.$_$.g2,vt=p.$_$.n,gt=p.$_$.d2,yt=c.$_$.ac,_t=c.$_$.pe,bt=c.$_$.fa,xt=c.$_$.m9,wt=c.$_$.oe,At=d.$_$.q,Ct=c.$_$.ta,Mt=c.$_$.x8,Et=m.$_$.g2,Tt=m.$_$.b2,St=c.$_$.aa,kt=d.$_$.f,Ot=v.$_$.i,It=v.$_$.u,Lt=u.$_$.v4,Pt=g.$_$.z,zt=g.$_$.n,Rt=f.$_$.d,Dt=f.$_$.b,$t=m.$_$.f,Bt=u.$_$.h3,Nt=f.$_$.c,Ft=c.$_$.pf,jt=g.$_$.y,Ut=g.$_$.r,qt=g.$_$.m,Vt=f.$_$.e,Ht=m.$_$.d2,Gt=c.$_$.m,Wt=u.$_$.h1,Xt=g.$_$.t,Yt=y.$_$.i,Zt=(c.$_$.n9,_.$_$.c),Kt=_.$_$.b,Jt=c.$_$.f,Qt=_.$_$.h,te=c.$_$.ib,ee=v.$_$.x,ne=d.$_$.e,re=_.$_$.d,ie=_.$_$.a,oe=b.$_$.a,ae=m.$_$.m,se=f.$_$.g,le=u.$_$.q4,ue=c.$_$.qf,ce=c.$_$.u7,he=_.$_$.f,pe=_.$_$.g,fe=m.$_$.w,de=c.$_$.dc,me=c.$_$.ha,ve=p.$_$.e,ge=p.$_$.x,ye=p.$_$.t,_e=g.$_$.i,be=d.$_$.g,xe=v.$_$.b,we=f.$_$.a,Ae=(g.$_$.f,g.$_$.x),Ce=g.$_$.l,Me=m.$_$.m1,Ee=x.$_$.c,Te=f.$_$.h,Se=x.$_$.b,ke=x.$_$.a,Oe=c.$_$.w6,Ie=y.$_$.j;function Le(){return Je(),w}function Pe(t){return Je(),t.solids.p5()}function ze(t,e){Je();var n,r=k((n=e,function(){return n.selected})),i=O(null);H(function(t,e){return function(n){var r=Pe(t);return kt(r,null,null,function(t,e,n){var r=new Be(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(t,e),3,null),V()}}(e,i));var o,a,s=(o=r,function(t){return De(o,t),V()}),l=[e.options],u=function(t,e){return function(){var n=t.options,r=null==n?new Ot:n;return r.j42_1=e,r}}(e,s),c=I(u,l),h=[e.builderOfSolid,Re(r)],p=function(t,e){return function(){var n,r=Re(t);if(null==r)n=null;else{var i;if(Lt(r))i=$e(e);else{var o=$e(e),a=o instanceof It?o:null;i=null==a?null:a.k3u(r)}n=i}return n}}(r,i),f=I(p,h),d=Ne,m=B().d49(d),v=m.s2x();W(v,G()),Y(v,X()),V();var g=m.s2x();K(g,Z(100)),J(g,Z(100)),tt(g,Q()),nt(g,et()),rt(g,et()),V();var y,_=Fe,b=B().d49(_),x=b.s2x();W(x,G()),Y(x,it()),V();var w=b.s2x();if(K(w,Z(100)),at(w,ot(600)),lt(w,10,1,new st(\\\"600px\\\")),ct(w,ut()),V(),null==$e(i)){var A=L;b.x48(A,je)}else{var C=ht();b.w48(C,null,function(t,e,n,r){return function(i){return i.z48(function(t,e,n,r){return function(i){return i.context=Pe(t),i.solid=$e(n),i.selected=Re(r),i.options=e,V()}}(t,e,n,r)),V()}}(e,c,i,r),2,null)}var M=f;if(null==M);else{var E,T=qe,D=B().d49(T),$=D.s2x();ct($,pt()),ft($,ot(5)),dt($,ot(5)),J($,ot(450)),V();var yt=P;D.x48(yt,function(t,e,n){return function(r){var i=z;r.x48(i,function(t){return function(e){return e.z48(Ve),function(t,e,n){Je();var r,i,o,a=Xe,s=B().d49(a),l=Ye,u=N().d49(l),c=S;if(u.x48(c,(o=n,function(t){return t.z48(function(t){return function(e){return e.onClick=function(t){return function(e){return t(Wt().v1o_1),V()}}(t),V()}}(o)),t.i2p(\\\"⌂\\\"),V()})),null!=e)for(var h=j(F(e)),p=e.b1p_1.e();p.f();){var f=p.g();h.a(f);var d,m=new q(U(h)),v=Ze,g=N().d49(v);g.i2p(\\\".\\\"),d=g,u.u48(d.k49()),V();var y=S;u.x48(y,Ke(f,m,n))}i=u,s.u48(i.k49()),V(),r=s,t.u48(r.k49()),V()}(e,Re(t),function(t){return function(e){return De(t,e),V()}}(t)),V()}}(t));var o=R;return r.x48(o,function(t,e,n){return function(r){var i=Vt();r.w48(i,null,function(t,e,n){return function(r){return r.z48(function(t,e,n){return function(r){r.key=Ft(Re(n));var i=t.f2n();return r.meta=$t(i,null,null,3,null),r.updates=t.f2n().u36(),r.descriptor=t.nn(),r.scope=Pe(e),r.getPropertyState=function(t){return function(e){var n,r=t.f2n().m36();if(null!=(null==r?null:Bt(r,e)))n=Nt();else{var i=t.f2n();n=null!=Bt($t(i,null,null,3,null),e)?Dt(null,1,null):Rt()}return n}}(t),V()}}(t,e,n)),V()}}(t,e,n),2,null);var o=Ht(t),a=o.i()?null:o;if(null==a);else{var s,l,u=He,c=N().d49(u),h=Ge,p=N().d49(h);p.i2p(\\\"Styles: \\\"),l=p,c.u48(l.k49()),V(),c.i2p(Gt(a,\\\", \\\",null,null,0,null,null,62,null)),s=c,r.u48(s.k49()),V()}return V()}}(e,n,t)),V()}}(r,M,e)),E=D,b.u48(E.k49()),V()}y=b,m.u48(y.k49()),V();var _t,bt=We,xt=B().d49(bt),wt=xt.s2x();W(wt,G()),Y(wt,it()),V();var At=xt.s2x();return mt(At,ot(4)),at(At,ot(400)),K(At,Z(100)),gt(At,vt()),lt(At,1,10,new st(\\\"300px\\\")),V(),function(t,e,n,r,i,o){pn();var a,s,l,u,c,h=on();t.w48(h,null,(a=e,s=n,l=r,u=i,c=o,function(t){return t.z48(function(t,e,n,r,i){return function(o){o.canvasOptions=t,o.vision=e,o.selected=n,o.onSelect=r;var a=i;return o.additionalTabs=null==a?Oe():a,V()}}(a,s,l,u,c)),V()}),2,null)}(xt,c,$e(i),Re(r),s,e.additionalTabs),_t=xt,m.u48(_t.k49()),V(),a=m,t.u48(a.k49()),V(),V()}function Re(t){return Je(),bt(\\\"selected\\\",yt,!0,(function(){return _t()})),t[0]}function De(t,e){return Je(),bt(\\\"selected\\\",yt,!0,(function(){return _t()})),t[1](e)}function $e(t){return Je(),bt(\\\"solid\\\",yt,!0,(function(){return _t()})),t[0]}function Be(t,e,n){this.c4d_1=t,this.d4d_1=e,xt.call(this,n)}function Ne(t){return Je(),new zt(Pt(),t)}function Fe(t){return Je(),new zt(Pt(),t)}function je(t){return Je(),t.z48(Ue),V()}function Ue(t){return Je(),t.message=\\\"Loading Three vision\\\",V()}function qe(t){return Je(),new zt(Pt(),t)}function Ve(t){return Je(),t.border=!0,V()}function He(t){return Je(),new Ut(jt(\\\"class\\\",null),t)}function Ge(t){return Je(),new qt(jt(\\\"class\\\",null),t)}function We(t){return Je(),new zt(Pt(),t)}function Xe(t){return Je(),new zt(Pt(),t)}function Ye(t){return Je(),new zt(jt(\\\"class\\\",null),t)}function Ze(t){return Je(),new Xt(jt(\\\"class\\\",null),t)}function Ke(t,e,n){return function(r){return r.i2p(t.toString()),r.z48(function(t,e){return function(n){return n.onClick=function(t,e){return function(n){return console.log(\\\"Selected = \\\"+t),e(t),V()}}(t,e),V()}}(e,n)),V()}}function Je(){A||(A=!0,w=Yt(\\\"ThreeViewWithControls\\\",ze))}function Qe(){C=this,Zt(),this.f4d_1=Kt(\\\"vision.threejs.withControls\\\",\\\"dataforge\\\",null,4,null),this.g4d_1=Jt(rn)}function tn(){return null==C&&new Qe,C}function en(t,e){this.p4d_1=t,xt.call(this,e)}function nn(t,e){return function(n){var r=Le();return n.w48(r,null,function(t,e){return function(n){return n.z48(function(t,e){return function(n){n.solids=t.w4d().i48();var r=t.p5();return n.builderOfSolid=ne(r,null,null,function(t,e){var n=new en(t,null),r=function(t,e){return n.r4d(t,e)};return r.$arity=1,r}(e),3,null),V()}}(t,e)),V()}}(t,e),2,null),V()}}function rn(){tn(),ie(null,1,null,this);var t=oe();this.v4d_1=this.p2m(t,null,2,null)}function on(){return pn(),E}function an(t,e){pn();var r,i=sn,o=B().d49(i),a=o.s2x();W(a,G()),Y(a,it()),V();var s,l=ln,u=B().d49(l),c=u.s2x();W(c,G()),Y(c,X()),V();var h=u.s2x(),p=ot(1),f=ve(),d=ge().b2z_1;ye(h,p,f,d,null,8,null),mt(h,ot(4)),V();var m,v=e.vision;if(null==v);else{var g,y=un,_=N().d49(y);_.i2p(\\\"Export\\\");var b=_.y48();_e(b,(m=v,function(t){var e,r=Me(m);return function(t,e,r,i){pn(),t.stopPropagation(),t.preventDefault();var o=n(8937),a=[i()],s={type:\\\"text/json;charset=utf-8\\\"},l=new Blob(a,s);o.saveAs(l,\\\"object.json\\\")}(t,0,0,(e=r,function(){return e})),V()})),g=_,u.u48(g.k49()),V()}s=u,o.u48(s.k49()),V();var x=e.vision,w=null==x?null:x.c37(),A=null==w?null:w.p5(),C=null==A?be():A,M=e.options.i1q_1,E=xe().nn();return we(o,C,M,E,null,!1,8,null),r=o,t.u48(r.k49()),V(),V()}function sn(t){return pn(),new zt(Pt(),t)}function ln(t){return pn(),new zt(Pt(),t)}function un(t){return pn(),new Ce(Ae([\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"type\\\",null,\\\"class\\\",null]),t)}function cn(t,e){var n;return pn(),Ee(t,\\\"Tree\\\",(n=e,function(t){var e=n.vision;null==e||(ke(t,\\\"Tree\\\",null,function(t,e){return function(n){return Se(n,\\\"Vision tree\\\",function(t,e){return function(n){return Te(n,t,e.selected,e.onSelect),V()}}(t,e)),V()}}(e,n),2,null),V()),ke(t,\\\"Settings\\\",null,function(t){return function(e){return Se(e,\\\"Canvas configuration\\\",function(t){return function(e){return function(t,e,n){pn();var r,i,o=(pn(),M);t.w48(o,null,(r=e,i=n,function(t){return t.z48(function(t,e){return function(n){return n.options=t,n.vision=e,V()}}(r,i)),V()}),2,null)}(e,t.canvasOptions,t.vision),V()}}(t)),V()}}(n),2,null);for(var r=n.additionalTabs.y().e();r.f();){var i,o=r.g(),a=o.u2();i=o.w2(),ke(t,a,null,hn(i),2,null)}return V()})),V()}function hn(t){return function(e){return t(e),V()}}function pn(){T||(T=!0,M=Yt(\\\"CanvasControls\\\",an),E=Ie(cn))}function fn(t){var e,n,r,i=(r=(n=(e=t.space||(t.space={})).kscience||(e.kscience={})).visionforge||(n.visionforge={})).ring||(r.ring={});Object.defineProperty(i,\\\"ThreeCanvasWithControls\\\",{configurable:!0,get:Le}),i=(r=(n=(e=t.space||(t.space={})).kscience||(e.kscience={})).visionforge||(n.visionforge={})).ring||(r.ring={}),Object.defineProperty(i,\\\"ThreeControls\\\",{configurable:!0,get:on})}Be.prototype=Object.create(xt.prototype),Be.prototype.constructor=Be,en.prototype=Object.create(xt.prototype),en.prototype.constructor=en,rn.prototype=Object.create(re.prototype),rn.prototype.constructor=rn,Be.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=V(),n.jm_1=null,n.pm()},Be.prototype.qm=function(t,e){return this.c2g(null!=t&&Ct(t,At)?t:wt(),e)},Be.prototype.pm=function(){var t,e,n=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(n=this.c4d_1.builderOfSolid.l1x(this))===Mt())return n;continue t;case 1:var r=n;t=this.d4d_1,e=r,Je(),bt(\\\"solid\\\",yt,!0,(function(){return _t()})),t[1](e);var i=$e(this.d4d_1);if(null==(null==i?null:i.l1l())){var o=$e(this.d4d_1);null==o||Tt(o,Et(Pe(this.c4d_1)))}return V();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Be.prototype.d2g=function(t,e){var n=new Be(this.c4d_1,this.d4d_1,e);return n.e4d_1=t,n},Be.$metadata$=St(\\\"ThreeCanvasWithControls$lambda$lambda$slambda\\\",void 0,void 0,void 0,[1],xt.prototype),Qe.prototype.k2m=function(){return this.f4d_1},Qe.prototype.c9=function(){return this.g4d_1},Qe.prototype.n2n=function(t,e){return new rn},Qe.$metadata$=te(\\\"Companion\\\",[Qt]),en.prototype.r4d=function(t,e){var n=this.d2g(t,e);return n.im_1=V(),n.jm_1=null,n.pm()},en.prototype.qm=function(t,e){return this.r4d(null!=t&&Ct(t,At)?t:wt(),e)},en.prototype.pm=function(){for(this.im_1;;)try{var t=this.gm_1;if(0===t){this.hm_1=1;var e=this.p4d_1;return Ct(e,ee)?e:wt()}if(1===t)throw this.jm_1}catch(t){throw t}},en.prototype.d2g=function(t,e){var n=new en(this.p4d_1,e);return n.q4d_1=t,n},en.$metadata$=St(\\\"ThreeWithControlsPlugin$render$lambda$lambda$lambda$slambda\\\",void 0,void 0,void 0,[1],xt.prototype),rn.prototype.w4d=function(){return this.v4d_1.s7(this,me(\\\"three\\\",1,de,(function(t){return t.w4d()}),null))},rn.prototype.k2m=function(){return tn().f4d_1},rn.prototype.s3l=function(t){var e;return Ct(t,ee)?(ae(),e=D(10,2)):(ae(),e=0),e},rn.prototype.t3l=function(t,e,n){var r=$(t);se(r,nn(this,e))},rn.prototype.q2m=function(t){var e=t;return ae(),\\\"elementVisionRenderer\\\"===e?ce(ue(le(\\\"three.withControls\\\"),this)):re.prototype.q2m.call(this,t)},rn.$metadata$=St(\\\"ThreeWithControlsPlugin\\\",[fe],void 0,void 0,void 0,re.prototype),rn.prototype.c2=he,rn.prototype.v1m=pe,fn(t),t.$jsExportAll$=fn,t.$_$=t.$_$||{},t.$_$.a=tn}(t.exports,n(1095),n(6204),n(2245),n(3453),n(6279),n(5491),n(8092),n(384),n(8744),n(2735),n(2724),n(3593),n(7646),n(5102),n(5798),n(6622),n(2125),n(5247),n(9390),n(6762))},5102:(t,e,n)=>{!function(e,n,r,i,o,a,s,l){\\\"use strict\\\";var u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$=Math.imul,B=n.$_$.f,N=n.$_$.b5,F=r.$_$.e,j=n.$_$.j,U=n.$_$.jf,q=r.$_$.l2,V=n.$_$.ib,H=n.$_$.kf,G=n.$_$.aa,W=n.$_$.dc,X=n.$_$.ha,Y=n.$_$.nd,Z=n.$_$.q2,K=n.$_$.ad,J=i.$_$.h3,Q=i.$_$.y4,tt=i.$_$.d4,et=n.$_$.v6,nt=i.$_$.q4,rt=n.$_$.b1,it=i.$_$.h1,ot=i.$_$.k1,at=n.$_$.ka,st=i.$_$.w2,lt=o.$_$.o,ut=n.$_$.d2,ct=o.$_$.n,ht=n.$_$.m9,pt=n.$_$.oe,ft=i.$_$.o4,dt=(n.$_$.n9,r.$_$.k2),mt=r.$_$.x,vt=i.$_$.e1,gt=i.$_$.i1,yt=r.$_$.h2,_t=r.$_$.h,bt=r.$_$.f2,xt=r.$_$.g2,wt=r.$_$.o2,At=n.$_$.ja,Ct=n.$_$.da,Mt=r.$_$.d,Et=i.$_$.h2,Tt=n.$_$.e1,St=i.$_$.m3,kt=i.$_$.u3,Ot=n.$_$.t7,It=n.$_$.j1,Lt=n.$_$.b6,Pt=n.$_$.a1,zt=n.$_$.ff,Rt=i.$_$.x4,Dt=i.$_$.u4,$t=i.$_$.r4,Bt=n.$_$.ta,Nt=n.$_$.mb,Ft=n.$_$.b7,jt=i.$_$.v4,Ut=n.$_$.k1,qt=o.$_$.f,Vt=o.$_$.q,Ht=n.$_$.x8,Gt=i.$_$.z4,Wt=o.$_$.c,Xt=n.$_$.x6,Yt=i.$_$.p4,Zt=i.$_$.n4,Kt=n.$_$.oc,Jt=n.$_$.hc,Qt=n.$_$.qf,te=i.$_$.l1,ee=i.$_$.e,ne=i.$_$.g,re=i.$_$.b5,ie=i.$_$.f1,oe=i.$_$.j1,ae=a.$_$.c,se=a.$_$.b,le=r.$_$.r2,ue=r.$_$.q2,ce=s.$_$.a,he=r.$_$.y2,pe=a.$_$.h,fe=r.$_$.u2,de=a.$_$.l,me=a.$_$.d,ve=s.$_$.m,ge=a.$_$.f,ye=a.$_$.g,_e=a.$_$.o,be=i.$_$.d1,xe=n.$_$.u7,we=n.$_$.w5,Ae=i.$_$.n1,Ce=i.$_$.p2,Me=o.$_$.g,Ee=n.$_$.x5,Te=n.$_$.mc,Se=n.$_$.lc,ke=n.$_$.ic,Oe=i.$_$.b1,Ie=n.$_$.x7,Le=n.$_$.tb,Pe=i.$_$.a5,ze=i.$_$.a2,Re=i.$_$.b2,De=i.$_$.g2,$e=i.$_$.e2,Be=i.$_$.f2,Ne=i.$_$.d2,Fe=i.$_$.c2,je=i.$_$.x1,Ue=i.$_$.y1,qe=i.$_$.i2,Ve=i.$_$.s2,He=r.$_$.u,Ge=i.$_$.o,We=n.$_$.bc,Xe=i.$_$.v,Ye=i.$_$.r,Ze=i.$_$.j,Ke=i.$_$.k,Je=i.$_$.d5,Qe=i.$_$.g3,tn=i.$_$.x2,en=i.$_$.u2,nn=i.$_$.w3,rn=i.$_$.y3,on=i.$_$.t2,an=i.$_$.b4,sn=n.$_$.k4,ln=n.$_$.w6,un=i.$_$.m4,cn=n.$_$.fc,hn=r.$_$.d3,pn=i.$_$.a1,fn=n.$_$.e,dn=n.$_$.rf,mn=l.$_$.g,vn=n.$_$.ba,gn=n.$_$.tc,yn=a.$_$.n,_n=a.$_$.m,bn=i.$_$.l3,xn=a.$_$.i,wn=n.$_$.t4,An=n.$_$.h,Cn=n.$_$.xd,Mn=o.$_$.b,En=a.$_$.j,Tn=a.$_$.a,Sn=n.$_$.v7,kn=n.$_$.sf,On=a.$_$.e,In=i.$_$.u1,Ln=n.$_$.i3,Pn=n.$_$.ue,zn=l.$_$.y,Rn=l.$_$.p,Dn=n.$_$.a2,$n=(l.$_$.f,l.$_$.x),Bn=l.$_$.o,Nn=l.$_$.e,Fn=l.$_$.h,jn=n.$_$.eb,Un=n.$_$.fd,qn=i.$_$.k4;function Vn(t,e,n,r,i){return 0!=(2&r)&&(e=null),0!=(4&r)&&(n=null),null==i?this.o36(t,e,n):i(t,e,n)}function Hn(t,e,n,r,i){return 0!=(2&r)&&(e=null),0!=(4&r)&&(n=null),null==i?this.v36(t,e,n):i(t,e,n)}function Gn(t,e,n){return function(t,e,n,r,i,o,a){return function(t,e,n,r,i,o,a,s){return i=null,di.call(s,t,e,n,r,i),s}(t,e,n,r,null,0,0,Object.create(di.prototype))}(this,t,e,n)}function Wn(t,e,n,r,i){var o;return 0!=(4&r)&&(n=!0),null==i?(this.q36(t,e,n),o=N()):o=i(t,e,n),o}function Xn(t,e,n,r,i){var o;return 0!=(4&r)&&(n=!0),null==i?(this.s36(t,e,n),o=N()):o=i(t,e,n),o}function Yn(){var t=this.l1l();return null==t?null:t.c37()}function Zn(t){var e=t.k3d_1;null==e||(jr().o3d(this,e,it().v1o_1),N())}function Kn(){for(var t=this.k3(),e=Pt(Lt(t,10)),n=t.e();n.f();){var r,i=n.g();r=zt(this.t3e(i)),e.a(r)}return e}function Jn(t){var e;switch(Rt(t)){case 0:e=this.s2o();break;case 1:e=this.t3e(Dt(t));break;default:var n=this.t3e(Dt(t)),r=null==n?null:Qr(n);e=null==r?null:r.u3e($t(t))}return e}function Qn(t,e){if(null==t)null!=e&&function(t,e){Tr(),t.v3e(new Zt(\\\"@static\\\",At(e).toString()),e)}(this,e);else{if(jt(t))throw ut(\\\"Empty names are not allowed in VisionGroup::set\\\");if(1===Rt(t)){var n=Ft(t.b1p_1);this.v3e(n,e)}else{var r=this.t3e(Dt(t));if(null!=r&&(null==r||!Bt(r,Jr)))throw ut(Nt(\\\"Can't assign a child to \\\"+r));var i,o=null!=r&&Bt(r,Jr)?r:null;if(null==o){var a=this.s2o().x3e();this.v3e(Dt(t),a),i=a}else i=o;i.y1r().w3e($t(t),e)}}}function tr(){var t=B(ar);return F(t,[])}function er(){u=this;var t=j();this.a36_1=U(t,tr)}function nr(){return null==u&&new er,u}function rr(t,e,n,r){var i;return r.b36_1=null,r.c36_1=0==(1&t)?null:e,r.d36_1=H((i=r,function(){return new or(i)})),r}function ir(t){this.h36_1=t,pi.call(this,t)}function or(t){this.a37_1=t,pi.call(this,t)}function ar(){var t;nr(),this.b36_1=null,this.c36_1=null,this.d36_1=H((t=this,function(){return new ir(t)}))}function sr(){c=this,this.e37_1=15792383,this.f37_1=16444375,this.g37_1=65535,this.h37_1=8388564,this.i37_1=15794175,this.j37_1=16119260,this.k37_1=16770244,this.l37_1=0,this.m37_1=16772045,this.n37_1=255,this.o37_1=9055202,this.p37_1=10824234,this.q37_1=14596231,this.r37_1=6266528,this.s37_1=8388352,this.t37_1=13789470,this.u37_1=16744272,this.v37_1=6591981,this.w37_1=16775388,this.x37_1=14423100,this.y37_1=65535,this.z37_1=139,this.a38_1=35723,this.b38_1=12092939,this.c38_1=11119017,this.d38_1=25600,this.e38_1=11119017,this.f38_1=12433259,this.g38_1=9109643,this.h38_1=5597999,this.i38_1=16747520,this.j38_1=10040012,this.k38_1=9109504,this.l38_1=15308410,this.m38_1=9419919,this.n38_1=4734347,this.o38_1=3100495,this.p38_1=3100495,this.q38_1=52945,this.r38_1=9699539,this.s38_1=16716947,this.t38_1=49151,this.u38_1=6908265,this.v38_1=6908265,this.w38_1=2003199,this.x38_1=11674146,this.y38_1=16775920,this.z38_1=2263842,this.a39_1=16711935,this.b39_1=14474460,this.c39_1=16316671,this.d39_1=16766720,this.e39_1=14329120,this.f39_1=8421504,this.g39_1=32768,this.h39_1=11403055,this.i39_1=8421504,this.j39_1=15794160,this.k39_1=16738740,this.l39_1=13458524,this.m39_1=4915330,this.n39_1=16777200,this.o39_1=15787660,this.p39_1=15132410,this.q39_1=16773365,this.r39_1=8190976,this.s39_1=16775885,this.t39_1=11393254,this.u39_1=15761536,this.v39_1=14745599,this.w39_1=16448210,this.x39_1=13882323,this.y39_1=9498256,this.z39_1=13882323,this.a3a_1=16758465,this.b3a_1=16752762,this.c3a_1=2142890,this.d3a_1=8900346,this.e3a_1=7833753,this.f3a_1=7833753,this.g3a_1=11584734,this.h3a_1=16777184,this.i3a_1=65280,this.j3a_1=3329330,this.k3a_1=16445670,this.l3a_1=16711935,this.m3a_1=8388608,this.n3a_1=6737322,this.o3a_1=205,this.p3a_1=12211667,this.q3a_1=9662683,this.r3a_1=3978097,this.s3a_1=8087790,this.t3a_1=64154,this.u3a_1=4772300,this.v3a_1=13047173,this.w3a_1=1644912,this.x3a_1=16121850,this.y3a_1=16770273,this.z3a_1=16770229,this.a3b_1=16768685,this.b3b_1=128,this.c3b_1=16643558,this.d3b_1=8421376,this.e3b_1=7048739,this.f3b_1=16753920,this.g3b_1=16729344,this.h3b_1=14315734,this.i3b_1=15657130,this.j3b_1=10025880,this.k3b_1=11529966,this.l3b_1=14381203,this.m3b_1=16773077,this.n3b_1=16767673,this.o3b_1=13468991,this.p3b_1=16761035,this.q3b_1=14524637,this.r3b_1=11591910,this.s3b_1=8388736,this.t3b_1=6697881,this.u3b_1=16711680,this.v3b_1=12357519,this.w3b_1=4286945,this.x3b_1=9127187,this.y3b_1=16416882,this.z3b_1=16032864,this.a3c_1=3050327,this.b3c_1=16774638,this.c3c_1=10506797,this.d3c_1=12632256,this.e3c_1=8900331,this.f3c_1=6970061,this.g3c_1=7372944,this.h3c_1=7372944,this.i3c_1=16775930,this.j3c_1=65407,this.k3c_1=4620980,this.l3c_1=13808780,this.m3c_1=32896,this.n3c_1=14204888,this.o3c_1=16737095,this.p3c_1=4251856,this.q3c_1=15631086,this.r3c_1=16113331,this.s3c_1=16777215,this.t3c_1=16119285,this.u3c_1=16776960,this.v3c_1=10145074,this.w3c_1=\\\"red\\\",this.x3c_1=\\\"green\\\",this.y3c_1=\\\"blue\\\"}function lr(t,e){var n;t:{for(var r=cr(t).e();r.f();){var i,o=ur(t,r.g());if(null!=(i=null==o?null:J(o,e))){n=i;break t}}n=null}return n}function ur(t,e){var n,r=t.f2n().m36(),i=null==r?null:r.m1m(Q((null==h&&new hr,h).c3d_1,e));if(null==i){var o=t.l1l();n=null==o?null:ur(o,e)}else n=i;return n}function cr(t){var e=t.f2n().m36(),n=null==e?null:e.w1m(fr().e3d_1),r=null==n?null:tt(n);return null==r?et():r}function hr(){h=this,this.c3d_1=nt(\\\"@stylesheet\\\")}function pr(){p=this,this.d3d_1=\\\"vision\\\",this.e3d_1=nt(\\\"@style\\\"),this.f3d_1=\\\"style\\\",this.g3d_1=nt(\\\"visible\\\")}function fr(){return null==p&&new pr,p}function dr(){fr()}function mr(t,e,n){var r=t.f2n().u36(),i=lt(r,function(t,e){var n=new vr(t,null),r=function(t,e){return n.z3d(t,e)};return r.$arity=1,r}(n)),o=e;if(null==o)throw ut(\\\"Orphan Vision can't observe properties\\\");return ct(i,o)}function vr(t,e){this.x3d_1=t,ht.call(this,e)}function gr(){f=this}function yr(){return null==f&&new gr,f}function _r(){d=this;var t=new dt(\\\"space.kscience.visionforge.VisionChange\\\",this,3);t.mx(\\\"vision\\\",!0),t.mx(\\\"properties\\\",!0),t.mx(\\\"children\\\",!0),this.b3e_1=t}function br(){return null==d&&new _r,d}function xr(t,e,n){yr(),this.j3d_1=t,this.k3d_1=e,this.l3d_1=n}function wr(){var t=Cr();return Mt(\\\"space.kscience.visionforge.NullVision\\\",t,[])}function Ar(){m=this,this.e3e_1=null;var t=j();this.f3e_1=U(t,wr)}function Cr(){return null==m&&new Ar,m}function Mr(){this.g3e_1=null,this.h3e_1=Et(),this.i3e_1=Tt()}function Er(){v=this,this.r3e_1=\\\"@static\\\"}function Tr(){return null==v&&new Er,v}function Sr(){}function kr(){}function Or(){}function Ir(t){var e=t.s2o().c37();return null==e?null:e.p5()}function Lr(t,e){var n=Ir(t);null==n||qt(n,null,null,function(t,e,n){var r=new Pr(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(t,e),3,null)}function Pr(t,e,n){this.k3f_1=t,this.l3f_1=e,ht.call(this,n)}function zr(t,e,n){this.v3f_1=t,this.w3f_1=e,ht.call(this,n)}function Rr(t){this.y3e_1=t,this.z3e_1=Tt(),this.a3f_1=Wt(0,0,null,7,null)}function Dr(){}function $r(t,e){this.h3g_1=t,ht.call(this,e)}function Br(t){return t.h1s_1=!0,N()}function Nr(){var t=B(Hr);return F(t,[])}function Fr(){g=this;var t,e=new te,n=fr().e3d_1,r=ee();ne(e,n,r,[],Br,4,null),t=e.v3(),this.m3d_1=t;var i=j();this.n3d_1=U(i,Nr)}function jr(){return null==g&&new Fr,g}function Ur(t,e,n,r,i){rr(t,e,0,i),i.r3g_1=0==(2&t)?null:n;var o,a=i.r3g_1;if(null==a);else for(var s=a.y().e();s.f();)s.g().w2().b37(i);return i.s3g_1=H((o=i,function(){return new Vr(o)})),i}function qr(t){this.w3g_1=t,Rr.call(this,t)}function Vr(t){this.a3h_1=t,Rr.call(this,t)}function Hr(){jr(),ar.call(this),this.r3g_1=null;var t,e=this.r3g_1;if(null==e);else for(var n=e.y().e();n.f();)n.g().w2().b37(this);this.s3g_1=H((t=this,function(){return new qr(t)}))}function Gr(){}function Wr(){y=this}function Xr(){return null==y&&new Wr,y}function Yr(){_=this;var t=new dt(\\\"vision.group\\\",this,2);t.mx(\\\"properties\\\",!0),t.mx(\\\"children\\\",!0),this.b3h_1=t}function Zr(){return null==_&&new Yr,_}function Kr(){Xr(),Hr.call(this)}function Jr(){}function Qr(t){var e=Bt(t,Gr)?t:null;return null==e?null:e.y1r()}function ti(t){return Xr().y1a()}function ei(t){return t.w19_1=ri().l3h_1,t.p19_1=!0,t.s19_1=!1,t.k19_1=!1,t.m19_1=!0,t.l19_1=!1,N()}function ni(){b=this,ae(),this.i3h_1=se(\\\"vision\\\",\\\"dataforge\\\",null,4,null),this.j3h_1=B(ii),this.k3h_1=\\\"visionSerializerModule\\\";var t,e=new le,n=B(dr),r=new ue(n,null);r.g17(ti);var i=Cr().y1a();r.e17(B(Ar),i),N();var o=Xr().y1a();r.e17(B(Kr),o),N();var a=Ti().y1a();r.e17(B(Oi),a),N();var s=wi().y1a();r.e17(B(Mi),s),N();var l=Fi().y1a();r.e17(B(qi),l),N();var u=gi().y1a();r.e17(B(bi),u),N(),r.h17(e),t=e.v3(),this.l3h_1=t,this.m3h_1=ce(null,ei,1,null),this.n3h_1=new he(B(dr))}function ri(){return null==b&&new ni,b}function ii(t){var e;ri(),me.call(this,t),this.o3e_1=H((e=this,function(){var t=new le;t.h18(ri().l3h_1);var n=e.p5();ri();for(var r=de(n,\\\"visionSerializerModule\\\",B(fe),!0).l3().e();r.f();){var i=r.g();t.h18(i)}return t.v3()}))}function oi(t,e){if(null!=t.l1l())throw ut(Nt(\\\"Vision \\\"+t+\\\" already has a parent. It could not be set as root\\\"));t.b37(new ai(e))}function ai(t){Hr.call(this),this.z3h_1=t}function si(t){me.call(this,t);var e=ri();this.d3i_1=this.p2m(e,null,2,null)}function li(){}function ui(t,e,n){this.n3i_1=t,this.o3i_1=e,ht.call(this,n)}function ci(t){return we(t.o1l())}function hi(t){return t.u2()}function pi(t){this.j36_1=t,this.k36_1=Tt(),this.l36_1=Wt(0,0,null,7,null)}function fi(){}function di(t,e,n,r,i){var o;this.q3i_1=t,this.r3i_1=e,this.s3i_1=n,this.t3i_1=r,this.u3i_1=i,this.v3i_1=H((o=this,function(){var t=o.q3i_1.nn();return null==t?null:Ae(t,o.r3i_1)}))}function mi(t,e,n){return t.v36(it().v1o_1,e,n)}function vi(){x=this}function gi(){return null==x&&new vi,x}function yi(){w=this;var t=new dt(\\\"html.form\\\",this,2);t.mx(\\\"properties\\\",!0),t.mx(\\\"formId\\\",!1),this.x3i_1=t}function _i(){return null==w&&new yi,w}function bi(t){gi(),$i.call(this),this.d3j_1=t;var e=Bi(this);this.e3j_1=Ge(e,null,1,null)}function xi(){A=this}function wi(){return null==A&&new xi,A}function Ai(){C=this;var t=new dt(\\\"html.text\\\",this,3);t.mx(\\\"properties\\\",!0),t.mx(\\\"label\\\",!0),t.mx(\\\"name\\\",!0),this.g3j_1=t}function Ci(){return null==C&&new Ai,C}function Mi(t,e){wi(),$i.call(this),this.m3j_1=t,this.n3j_1=e;var n=Bi(this);this.o3j_1=Xe(n,null,1,null)}function Ei(){M=this}function Ti(){return null==M&&new Ei,M}function Si(){E=this;var t=new dt(\\\"html.number\\\",this,3);t.mx(\\\"properties\\\",!0),t.mx(\\\"label\\\",!0),t.mx(\\\"name\\\",!0),this.r3j_1=t}function ki(){return null==E&&new Si,E}function Oi(t,e){Ti(),$i.call(this),this.x3j_1=t,this.y3j_1=e;var n=Bi(this);this.z3j_1=Ye(n,null,1,null)}function Ii(){var t=B($i);return F(t,[])}function Li(){T=this;var t=j();this.b3k_1=U(t,Ii)}function Pi(){return null==T&&new Li,T}function zi(t,e,n,r){rr(t,e,0,r);var i=r,o=Bi(r);return i.f3k_1=Ze(o,null,Di,1,null),r}function Ri(){return!1}function Di(){return!1}function $i(){Pi(),ar.call(this);var t=Bi(this);this.f3k_1=Ze(t,null,Ri,1,null)}function Bi(t){return t.f2n().v36(it().v1o_1,!1,!1)}function Ni(){S=this}function Fi(){return null==S&&new Ni,S}function ji(){k=this;var t=new dt(\\\"html.checkbox\\\",this,3);t.mx(\\\"properties\\\",!0),t.mx(\\\"label\\\",!0),t.mx(\\\"name\\\",!0),this.g3k_1=t}function Ui(){return null==k&&new ji,k}function qi(t,e){Fi(),$i.call(this),this.m3k_1=t,this.n3k_1=e;var n=Bi(this);this.o3k_1=Ke(n,null,1,null)}function Vi(){O=this,this.p3k_1=\\\"visionforge-output\\\",this.q3k_1=\\\"visionforge-output-meta\\\",this.r3k_1=\\\"visionforge-output-data\\\",this.s3k_1=\\\"data-output-fetch\\\",this.t3k_1=\\\"data-output-connect\\\",this.u3k_1=\\\"data-output-rendered\\\",this.v3k_1=\\\"data-output-name\\\",this.w3k_1=\\\"data-output-endpoint\\\",this.x3k_1=\\\".\\\",this.y3k_1=\\\"@auto\\\",this.z3k_1=\\\"vision\\\"}function Hi(){return null==O&&new Vi,O}function Gi(t,e,n,r,i,o){if(0!=(2&i)){var a=t.c37();n=null==a?null:a.p5()}return function(t,e,n,r){r(t,e.get(t));var i=t.f2n().u36(),o=lt(i,function(t,e,n,r){var i=new Wi(t,e,n,null),o=function(t,e){return i.z3d(t,e)};return o.$arity=1,o}(e,r,t)),a=n;if(null==a)throw ut(\\\"Orphan Vision can't observe properties\\\");return ct(o,a)}(t,e,n,r)}function Wi(t,e,n,r){this.j3l_1=t,this.k3l_1=e,this.l3l_1=n,ht.call(this,r)}function Xi(t){return tn(Qe(t.b1m_1,\\\"useStyles\\\"))}function Yi(t){return tn(Qe(t.b1m_1,\\\"inherited\\\"))}function Zi(){}function Ki(t,e,n){var r=t(),i=null==n?null:n.appState;return r.n3l(e,null==i?ln():i),r}function Ji(){I=this,this.p3l_1=\\\"elementVisionRenderer\\\",this.q3l_1=0,this.r3l_1=10}function Qi(){return null==I&&new Ji,I}function to(){Qi()}function eo(t,e,n){this.u3l_1=t,this.v3l_1=e,this.w3l_1=n}function no(t){return t.a3m_1.s7(t,X(\\\"visionManager\\\",1,W,(function(t){return no(t)}),null))}function ro(t,e){if(null==e)return window.location.href;var n,r=e.attributes;Hi();var i=null==(n=r[\\\"data-output-endpoint\\\"])?null:n.value;return null==i?ro(t,e.parentElement):i}function io(t){return X(\\\"renderers\\\",1,W,(function(t){return io(t)}),null),t.b3m_1.w2()}function oo(t,e,n){var r;return null==(r=t.getElementsByClassName(n)[0])?null:r.innerHTML}function ao(t,e,n,r,i){if(null!=r){oi(r,no(t));var o=function(t,e){for(var n,r=io(t),i=rt(),o=r.e();o.f();){var a=o.g(),s=a.s3l(e),l=s>0?Qt(s,a):null;null==l||(i.a(l),N())}var u=i.e();if(u.f()){var c=u.g();if(u.f()){var h=c.t_1;do{var p=u.g(),f=p.t_1;vn(h,f)<0&&(c=p,h=f)}while(u.f());n=c}else n=c}else n=null;return null==n?null:n.u_1}(t,r);if(null==o){var a=\\\"Could not find renderer for \\\"+fn(r);throw ut(Nt(a))}var s=o;s.t3l(n,r,i);var l=n.attributes;Hi();var u=l[\\\"data-output-connect\\\"];if(null==u);else{var c,h;if(gn(u.value))h=!0;else{var p=u.value;Hi(),h=\\\"@auto\\\"===p}if(h){var f=ro(t,n),d=yn(t);_n(d,(L=f,function(){return\\\"Vision server is resolved to \\\"+L}));var m=new URL(f),v=m;v.pathname=v.pathname+\\\"/ws\\\",c=m}else c=new URL(u.value);var g=c;g.protocol=\\\"ws\\\",g.searchParams.append(\\\"name\\\",e);var y=g,_=yn(t);_n(_,(I=y,function(){return\\\"Updating vision data from \\\"+I}));var b=new WebSocket(Nt(y));b.onmessage=(M=t,E=s,T=n,S=r,k=i,O=e,function(t){var e=t.data,n=null!=e&&\\\"string\\\"==typeof e?e:null;if(null!=n){var r=no(M).q3h().s18(yr().y1a(),n);null!=r.j3d_1&&E.t3l(T,S,k);var i=yn(M);xn(i,function(t,e){return function(){return\\\"Got update \\\"+t+\\\" for output with name \\\"+e}}(r,O)),S.d37(r),N()}else console.error(\\\"WebSocket message data is not a string\\\"),N();return N()});var x={_v:null},w=Qe(t.n1l(),\\\"aggregationTime\\\"),A=null==w?null:bn(w),C=null==A?300:A;b.onopen=function(t,e,n,r,i){return function(o){var a=no(e).p5();return t._v=qt(a,null,null,function(t,e,n,r){var i=new uo(t,e,n,null),o=function(t,e){return i.c2g(t,e)};return o.$arity=1,o}(r,e,i),3,null),console.info(\\\"WebSocket update channel established for output '\\\"+n+\\\"'\\\"),N()}}(x,t,e,C,b),b.onclose=function(t,e){return function(n){var r=t._v;return null==r||r.d1w(null,1,null),console.info(\\\"WebSocket update channel closed for output '\\\"+e+\\\"'\\\"),N()}}(x,e),b.onerror=function(t,e){return function(n){var r=t._v;return null==r||r.d1w(null,1,null),console.error(\\\"WebSocket update channel error for output '\\\"+e+\\\"'\\\"),N()}}(x,e)}}var M,E,T,S,k,O,I,L}function so(){L=this,ae(),this.d3m_1=se(\\\"vision.client\\\",\\\"dataforge\\\",null,4,null),this.e3m_1=B(co)}function lo(){return null==L&&new so,L}function uo(t,e,n,r){this.n3m_1=t,this.o3m_1=e,this.p3m_1=n,ht.call(this,r)}function co(){lo(),Tn(null,1,null,this);var t,e=ri();this.a3m_1=this.p2m(e,null,2,null),this.b3m_1=H((t=this,function(){var e=t.p5();return Qi(),de(e,\\\"elementVisionRenderer\\\",B(to),!0).l3()})),this.c3m_1=new Mr}function ho(t,e){Hi();var n=e.getElementsByClassName(\\\"visionforge-output\\\");console.info(\\\"Finished search for outputs. Found \\\"+n.length+\\\" items\\\");for(var r=kn(n).e();r.f();){var i=r.g();t.s3m(i)}}function po(t){var e;null!=document.body?t(document):document.addEventListener(\\\"DOMContentLoaded\\\",(e=t,function(t){return e(document),N()}))}function fo(t){this.t3m_1=t;var e,n,r,i,o=this.t3m_1,a=lo(),s=be().r1m_1,l=o.z2m().q2o(a.c9(),a.k2m(),!0);if(null!=l&&l.n1l().equals(s))n=l;else{var u,c=Q(o.t2m_1,a.k2m().l2o_1);u=o.i2n(c,(r=a,i=s,function(t){return t.o2n(r,i),N()})).z2m().q2o(a.c9(),a.k2m(),!0),n=zt(u)}e=n,this.u3m_1=e}function mo(){return wo(),P}function vo(){return wo(),z}function go(){return wo(),R}function yo(t,e,n){wo();var r,i=e.n3j_1;if(null==i){var o,a=At(e);o=Ln(a),r=\\\"input[\\\"+new Pn(o)+\\\"]\\\"}else r=i;var s=r,l=e.m3j_1;if(null==l);else{var u=new Rn(zn(\\\"class\\\",null),t);if(u.f2p()!==t)throw Dn(\\\"Wrong exception\\\");u.f2p().l2p(u);try{u.a2v(s),u.i2p(l)}catch(t){if(!(t instanceof Error))throw t;u.f2p().q2p(u,t)}finally{u.f2p().o2p(u)}t.r2p()instanceof HTMLLabelElement||pt()}var c,h=new Bn($n([\\\"type\\\",null,\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"name\\\",null,\\\"class\\\",null]),t);if(h.f2p()!==t)throw Dn(\\\"Wrong exception\\\");h.f2p().l2p(h);try{h.m2u(Nn()),h.s2u(s),Gi(e,X(\\\"text\\\",1,We,(function(t){return t.q3j()}),(function(t,e){return t.p3j(e)})),null,(c=h,function(t,e){var n=e;return c.r2u(null==n?\\\"\\\":n),N()}),2),Fn(h,function(t,e){return function(n){return t.p3j(e.w2()),N()}}(e,h))}catch(t){if(!(t instanceof Error))throw t;h.f2p().q2p(h,t)}finally{h.f2p().o2p(h)}return t.r2p()instanceof HTMLInputElement||pt(),N()}function _o(t,e,n){wo();var r,i=e.y3j_1;if(null==i){var o,a=At(e);o=Ln(a),r=\\\"input[\\\"+new Pn(o)+\\\"]\\\"}else r=i;var s=r,l=e.x3j_1;if(null==l);else{var u=new Rn(zn(\\\"class\\\",null),t);if(u.f2p()!==t)throw Dn(\\\"Wrong exception\\\");u.f2p().l2p(u);try{u.a2v(s),u.i2p(l)}catch(t){if(!(t instanceof Error))throw t;u.f2p().q2p(u,t)}finally{u.f2p().o2p(u)}t.r2p()instanceof HTMLLabelElement||pt()}var c,h,p=new Bn($n([\\\"type\\\",null,\\\"formenctype\\\",null,\\\"formmethod\\\",null,\\\"name\\\",null,\\\"class\\\",null]),t);if(p.f2p()!==t)throw Dn(\\\"Wrong exception\\\");p.f2p().l2p(p);try{p.m2u(Nn()),p.s2u(s),Gi(e,X(\\\"value\\\",1,We,(function(t){return t.w2()}),(function(t,e){return t.a3k(e)})),null,bo,2),Fn(p,(c=e,h=p,function(t){return c.a3k(Un(h.w2())),N()}))}catch(t){if(!(t instanceof Error))throw t;p.f2p().q2p(p,t)}finally{p.f2p().o2p(p)}return t.r2p()instanceof HTMLInputElement||pt(),N()}function bo(t,e){wo();var n=null==e?null:jn(e);return t.a3k(null==n?0:n),N()}function xo(t,e,n){wo();var r=document.getElementById(e.d3j_1),i=r instanceof HTMLFormElement?r:null;if(null==i){var o=\\\"An element with id = '\\\"+e.d3j_1+\\\" is not a form\\\";throw ut(Nt(o))}var a,s=i;return console.info(\\\"Adding hooks to form '\\\"+s+\\\"'\\\"),Gi(e,X(\\\"values\\\",1,We,(function(t){return t.l3()}),(function(t,e){return t.f3j(e)})),null,(a=s,function(t,e){var n=a.getElementsByTagName(\\\"input\\\"),r=null==e?null:qn(e);if(null==r);else for(var i=r.e();i.f();){var o,s=i.g(),l=s.m4(),u=s.n4(),c=(o=n[l.toString()])instanceof HTMLInputElement?o:null;null==c||(c.value=u.toString())}return N()}),2),s.onsubmit=function(t,e){return function(n){n.preventDefault();var r=function(t){wo();var e={};return t.forEach((function(t,n){Reflect.has(e,n)?(Array.isArray(e[n])||(e[n]=[e[n]]),e[n].push(t)):e[n]=t})),new In(e)}(new FormData(t));return e.f3j(r),!1}}(s,e),N()}function wo(){if(D);else{var t;D=!0;var e,n=yo;Qi(),t=new eo(B(Mi),10,n),P=t;var r,i=_o;Qi(),e=new eo(B(Oi),10,i),z=e;var o=xo;Qi(),r=new eo(B(bi),10,o),R=r}}ir.prototype=Object.create(pi.prototype),ir.prototype.constructor=ir,or.prototype=Object.create(pi.prototype),or.prototype.constructor=or,vr.prototype=Object.create(ht.prototype),vr.prototype.constructor=vr,Pr.prototype=Object.create(ht.prototype),Pr.prototype.constructor=Pr,zr.prototype=Object.create(ht.prototype),zr.prototype.constructor=zr,$r.prototype=Object.create(ht.prototype),$r.prototype.constructor=$r,qr.prototype=Object.create(Rr.prototype),qr.prototype.constructor=qr,Vr.prototype=Object.create(Rr.prototype),Vr.prototype.constructor=Vr,Hr.prototype=Object.create(ar.prototype),Hr.prototype.constructor=Hr,Kr.prototype=Object.create(Hr.prototype),Kr.prototype.constructor=Kr,ii.prototype=Object.create(me.prototype),ii.prototype.constructor=ii,ai.prototype=Object.create(Hr.prototype),ai.prototype.constructor=ai,si.prototype=Object.create(me.prototype),si.prototype.constructor=si,ui.prototype=Object.create(ht.prototype),ui.prototype.constructor=ui,$i.prototype=Object.create(ar.prototype),$i.prototype.constructor=$i,bi.prototype=Object.create($i.prototype),bi.prototype.constructor=bi,Mi.prototype=Object.create($i.prototype),Mi.prototype.constructor=Mi,Oi.prototype=Object.create($i.prototype),Oi.prototype.constructor=Oi,qi.prototype=Object.create($i.prototype),qi.prototype.constructor=qi,Wi.prototype=Object.create(ht.prototype),Wi.prototype.constructor=Wi,uo.prototype=Object.create(ht.prototype),uo.prototype.constructor=uo,co.prototype=Object.create(me.prototype),co.prototype.constructor=co,er.prototype.y1a=function(){return this.a36_1.w2()},er.prototype.oy=function(t){return this.y1a()},er.$metadata$=V(\\\"Companion\\\",[q]),ir.prototype.i36=function(t){this.h36_1.c36_1=t},ir.prototype.f2n=function(){return this.h36_1.c36_1},ir.$metadata$=G(void 0,void 0,void 0,void 0,void 0,pi.prototype),or.prototype.i36=function(t){this.a37_1.c36_1=t},or.prototype.f2n=function(){return this.a37_1.c36_1},or.$metadata$=G(void 0,void 0,void 0,void 0,void 0,pi.prototype),ar.prototype.b37=function(t){this.b36_1=t},ar.prototype.l1l=function(){return this.b36_1},ar.prototype.f2n=function(){return X(\\\"properties\\\",1,W,(function(t){return t.f2n()}),null),this.d36_1.w2()},ar.prototype.nn=function(){return null},ar.$metadata$=G(\\\"AbstractVision\\\",[dr],void 0,{0:nr}),sr.prototype.l34=function(){return this.n37_1},sr.prototype.z3c=function(){return this.n39_1},sr.prototype.a3d=function(){return this.e3c_1},sr.prototype.n34=function(){return this.s3c_1},sr.prototype.b3d=function(t){var e=K(Y(t,16),6,Z(48)),n=e.length-6|0,r=Math.max(0,n);return\\\"#\\\"+e.substring(r)},sr.$metadata$=V(\\\"Colors\\\"),hr.$metadata$=V(\\\"Companion\\\"),pr.prototype.h3d=function(){return this.e3d_1},pr.prototype.i3d=function(){return this.g3d_1},pr.$metadata$=V(\\\"Companion\\\"),dr.$metadata$=at(\\\"Vision\\\",[ot]),vr.prototype.z3d=function(t,e){var n=this.a3e(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},vr.prototype.qm=function(t,e){return this.z3d(t instanceof ft?t:pt(),e)},vr.prototype.pm=function(){for(this.im_1;;)try{var t=this.gm_1;if(0===t)return this.hm_1=1,this.x3d_1(this.y3d_1),N();if(1===t)throw this.jm_1}catch(t){throw t}},vr.prototype.a3e=function(t,e){var n=new vr(this.x3d_1,e);return n.y3d_1=t,n},vr.$metadata$=G(\\\"onPropertyChange$slambda\\\",void 0,void 0,void 0,[1],ht.prototype),gr.prototype.y1a=function(){return br()},gr.$metadata$=V(\\\"Companion\\\"),_r.prototype.nn=function(){return this.b3e_1},_r.prototype.fy=function(){var t=B(dr);return[mt(F(t,[])),mt(vt()),mt(new yt(gt(),br()))]},_r.prototype.pn=function(t){var e,n,r,i,o,a=this.b3e_1,s=!0,l=0,u=0,c=null,h=null,p=null,f=t.lq(a);if(f.br()){var d,m=B(dr);d=[],c=f.zq(a,0,F(m,d),c),u|=1,h=f.zq(a,1,vt(),h),u|=2,p=f.zq(a,2,new yt(gt(),br()),p),u|=4}else for(;s;)switch(l=f.cr(a)){case-1:s=!1;break;case 0:var v,g=B(dr);v=[],c=f.zq(a,0,F(g,v),c),u|=1;break;case 1:h=f.zq(a,1,vt(),h),u|=2;break;case 2:p=f.zq(a,2,new yt(gt(),br()),p),u|=4;break;default:throw _t(l)}return f.mq(a),e=u,n=c,r=h,i=p,o=Object.create(xr.prototype),0!=(0&e)&&wt(e,0,br().b3e_1),o.j3d_1=0==(1&e)?null:n,o.k3d_1=0==(2&e)?null:r,o.l3d_1=0==(4&e)?null:i,o},_r.prototype.c3e=function(t,e){var n=this.b3e_1,r=t.lq(n);if(r.is(n,0)||null!=e.j3d_1){var i,o=B(dr);i=[],r.es(n,0,F(o,i),e.j3d_1)}(r.is(n,1)||null!=e.k3d_1)&&r.es(n,1,vt(),e.k3d_1),(r.is(n,2)||null!=e.l3d_1)&&r.es(n,2,new yt(gt(),br()),e.l3d_1),r.mq(n)},_r.prototype.on=function(t,e){return this.c3e(t,e instanceof xr?e:pt())},_r.$metadata$=V(\\\"$serializer\\\",[xt]),xr.prototype.d3e=function(){return this.j3d_1},xr.prototype.toString=function(){return\\\"VisionChange(vision=\\\"+this.j3d_1+\\\", properties=\\\"+this.k3d_1+\\\", children=\\\"+this.l3d_1+\\\")\\\"},xr.prototype.hashCode=function(){var t=null==this.j3d_1?0:At(this.j3d_1);return t=$(t,31)+(null==this.k3d_1?0:this.k3d_1.hashCode())|0,$(t,31)+(null==this.l3d_1?0:At(this.l3d_1))|0},xr.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xr))return!1;var e=t instanceof xr?t:pt();return!!Ct(this.j3d_1,e.j3d_1)&&!!Ct(this.k3d_1,e.k3d_1)&&!!Ct(this.l3d_1,e.l3d_1)},xr.$metadata$=G(\\\"VisionChange\\\",void 0,void 0,{0:br}),Ar.prototype.b37=function(t){throw ut(\\\"Can't set parent for null vision\\\")},Ar.prototype.l1l=function(){return null},Ar.prototype.f2n=function(){throw ut(\\\"Can't get properties of `NullVision`\\\")},Ar.prototype.nn=function(){return this.e3e_1},Ar.prototype.y1a=function(){return this.f3e_1.w2()},Ar.prototype.oy=function(t){return this.y1a()},Ar.$metadata$=V(\\\"NullVision\\\",[dr,q],void 0,{0:Cr}),Mr.prototype.i=function(){return!(!St(this.h3e_1)||!St(this.h3e_1))&&this.i3e_1.i()},Mr.prototype.j3e=function(){this.g3e_1=null,this.h3e_1=Et(),this.i3e_1.if()},Mr.prototype.k3e=function(t){var e,n=this.g3e_1,r=null==n?null:function(t,e){if(t instanceof Ar)return Cr();var n=e.p3e(t);return e.q3e(n)}(n,t),i=St(this.h3e_1)?null:kt(this.h3e_1);if(this.i3e_1.i())e=null;else{for(var o=this.i3e_1,a=It(Ot(o.h())),s=o.y().e();s.f();){var l,u=s.g(),c=u.u2();l=u.w2().k3e(t),a.b(c,l)}e=a}return new xr(r,i,e)},Mr.$metadata$=G(\\\"VisionChangeBuilder\\\",[kr]),Er.prototype.s3e=function(){return this.r3e_1},Er.$metadata$=V(\\\"Companion\\\"),Sr.$metadata$=at(\\\"VisionChildren\\\",[Dr]),kr.$metadata$=at(\\\"MutableVisionContainer\\\"),Or.$metadata$=at(\\\"MutableVisionChildren\\\",[Sr,kr]),Pr.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},Pr.prototype.qm=function(t,e){return this.c2g(null!=t&&Bt(t,Vt)?t:pt(),e)},Pr.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.k3f_1.a3f_1.l2c(this.l3f_1,this))===Ht())return t;continue t;case 1:return N();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Pr.prototype.d2g=function(t,e){var n=new Pr(this.k3f_1,this.l3f_1,e);return n.m3f_1=t,n},Pr.$metadata$=G(\\\"VisionChildrenImpl$onChange$slambda\\\",void 0,void 0,void 0,[1],ht.prototype),zr.prototype.z3d=function(t,e){var n=this.a3e(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},zr.prototype.qm=function(t,e){return this.z3d(t instanceof ft?t:pt(),e)},zr.prototype.pm=function(){for(this.im_1;;)try{var t=this.gm_1;if(0===t)return this.hm_1=1,Lr(this.v3f_1,Gt(this.w3f_1,this.x3f_1)),N();if(1===t)throw this.jm_1}catch(t){throw t}},zr.prototype.a3e=function(t,e){var n=new zr(this.v3f_1,this.w3f_1,e);return n.x3f_1=t,n},zr.$metadata$=G(\\\"VisionChildrenImpl$set$slambda\\\",void 0,void 0,void 0,[1],ht.prototype),Rr.prototype.s2o=function(){return this.y3e_1},Rr.prototype.k3=function(){var t=this.o1l(),e=null==t?null:t.k3();return null==e?Xt():e},Rr.prototype.t3e=function(t){var e=this.o1l();return null==e?null:e.s(t)},Rr.prototype.u36=function(){return this.a3f_1},Rr.prototype.v3e=function(t,e){if(Ct(e,this.t3e(t)))return N();var n,r=this.z3e_1.s(t);if(null!=r&&(r.d1w(null,1,null),this.z3e_1.vf(t)),null==e){var i=this.o1l();null==i||i.vf(t)}else{var o=this.o1l();if((null==o?(null==(n=this).o1l()&&n.b3f(Ut()),zt(n.o1l())):o).b(t,e),null!=e.l1l()&&!Ct(e.l1l(),this.s2o()))throw ut(Nt(\\\"Can't reassign parent Vision for \\\"+e));e.b37(this.s2o());var a=Ir(this);if(null==a);else{var s,l=Qr(e),u=null==l?null:l.u36(),c=null==(s=null==u?null:lt(u,function(t,e,n){var r=new zr(t,e,null),i=function(t,e){return r.z3d(t,e)};return i.$arity=1,i}(this,t)))?null:ct(s,a);null!=c&&(this.z3e_1.b(t,c),N())}}Lr(this,Yt(t))},Rr.prototype.y3f=function(t,e){return this.w3e(t,null==e||Bt(e,dr)?e:pt())},Rr.$metadata$=G(\\\"VisionChildrenImpl\\\",[Or]),Dr.$metadata$=at(\\\"VisionContainer\\\"),$r.prototype.m3g=function(t,e){var n=this.n3g(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},$r.prototype.qm=function(t,e){return this.m3g(t instanceof Jt?t:pt(),e)},$r.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=4,this.j3g_1=this.h3g_1.k3(),this.k3g_1=this.j3g_1.e(),this.gm_1=1;continue t;case 1:if(!this.k3g_1.f()){this.gm_1=3;continue t}if(this.l3g_1=this.k3g_1.g(),this.gm_1=2,(t=this.i3g_1.f5(Qt(this.l3g_1,zt(this.h3g_1.t3e(this.l3g_1))),this))===Ht())return t;continue t;case 2:this.gm_1=1;continue t;case 3:return N();case 4:throw this.jm_1}}catch(t){if(4===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},$r.prototype.n3g=function(t,e){var n=new $r(this.h3g_1,e);return n.i3g_1=t,n},$r.$metadata$=G(\\\"asSequence$slambda\\\",void 0,void 0,void 0,[1],ht.prototype),Fr.prototype.o3d=function(t,e,n){var r=t.f2n(),i=e.w2();r.t36(n,i,!1,4,null);for(var o=e.o1l().y().e();o.f();){var a=o.g(),s=a.u2(),l=a.w2();jr().o3d(t,l,re(n,s))}},Fr.prototype.y1a=function(){return this.n3d_1.w2()},Fr.prototype.oy=function(t){return this.y1a()},Fr.$metadata$=V(\\\"Companion\\\",[q]),qr.prototype.b3f=function(t){this.w3g_1.r3g_1=t},qr.prototype.o1l=function(){return this.w3g_1.r3g_1},qr.prototype.y3f=function(t,e){return this.w3e(t,null==e||Bt(e,dr)?e:pt())},qr.$metadata$=G(void 0,void 0,void 0,void 0,void 0,Rr.prototype),Vr.prototype.b3f=function(t){this.a3h_1.r3g_1=t},Vr.prototype.o1l=function(){return this.a3h_1.r3g_1},Vr.prototype.y3f=function(t,e){return this.w3e(t,null==e||Bt(e,dr)?e:pt())},Vr.$metadata$=G(void 0,void 0,void 0,void 0,void 0,Rr.prototype),Hr.prototype.d37=function(t){var e=t.l3d_1;if(null==e);else for(var n=e.y().e();n.f();){var r=n.g(),i=r.u2(),o=r.w2();if(Ct(o.j3d_1,Cr()))this.y1r().w3e(i,null);else if(null!=o.j3d_1)this.y1r().w3e(i,o.j3d_1);else{var a=this.y1r().u3e(i);null==a||a.d37(o)}}var s=t.k3d_1;null==s||(jr().o3d(this,s,it().v1o_1),N())},Hr.prototype.y1r=function(){return X(\\\"children\\\",1,W,(function(t){return t.y1r()}),null),this.s3g_1.w2()},Hr.$metadata$=G(\\\"AbstractVisionGroup\\\",[Jr],void 0,{0:jr},void 0,ar.prototype),Gr.$metadata$=at(\\\"VisionGroup\\\",[dr]),Wr.prototype.y1a=function(){return Zr()},Wr.$metadata$=V(\\\"Companion\\\"),Yr.prototype.nn=function(){return this.b3h_1},Yr.prototype.fy=function(){var t=mt(ie()),e=oe(),n=B(dr);return[t,mt(new yt(e,F(n,[])))]},Yr.prototype.pn=function(t){var e,n,r,i,o=this.b3h_1,a=!0,s=0,l=0,u=null,c=null,h=t.lq(o);if(h.br()){u=h.zq(o,0,ie(),u),l|=1;var p,f=oe(),d=B(dr);p=[],c=h.zq(o,1,new yt(f,F(d,p)),c),l|=2}else for(;a;)switch(s=h.cr(o)){case-1:a=!1;break;case 0:u=h.zq(o,0,ie(),u),l|=1;break;case 1:var m,v=oe(),g=B(dr);m=[],c=h.zq(o,1,new yt(v,F(g,m)),c),l|=2;break;default:throw _t(s)}return h.mq(o),e=l,n=u,r=c,i=Object.create(Kr.prototype),0!=(0&e)&&wt(e,0,Zr().b3h_1),Ur(e,n,r,0,i),i},Yr.prototype.c3h=function(t,e){var n=this.b3h_1,r=t.lq(n);if((r.is(n,0)||null!=e.c36_1)&&r.es(n,0,ie(),e.c36_1),r.is(n,1)||null!=e.r3g_1){var i,o=oe(),a=B(dr);i=[],r.es(n,1,new yt(o,F(a,i)),e.r3g_1)}r.mq(n)},Yr.prototype.on=function(t,e){return this.c3h(t,e instanceof Kr?e:pt())},Yr.$metadata$=V(\\\"$serializer\\\",[xt]),Kr.prototype.x3e=function(){return new Kr},Kr.$metadata$=G(\\\"SimpleVisionGroup\\\",[kr],void 0,{0:Zr},void 0,Hr.prototype),Jr.$metadata$=at(\\\"MutableVisionGroup\\\",[Gr]),ni.prototype.k2m=function(){return this.i3h_1},ni.prototype.c9=function(){return this.j3h_1},ni.prototype.o3h=function(){return this.k3h_1},ni.prototype.n2n=function(t,e){return new ii(e)},ni.prototype.p3h=function(){return this.m3h_1},ni.$metadata$=V(\\\"Companion\\\",[pe]),ii.prototype.k2m=function(){return ri().i3h_1},ii.prototype.ar=function(){return X(\\\"serializersModule\\\",1,W,(function(t){return t.ar()}),null),this.o3e_1.w2()},ii.prototype.q3h=function(){var t,e=ri().m3h_1;return ve(e,(t=this,function(e){return e.k19_1=!1,e.w19_1=t.ar(),N()}))},ii.prototype.r3h=function(t){return this.q3h().s18(ri().n3h_1,t)},ii.prototype.s3h=function(t){return this.q3h().r18(ri().n3h_1,t)},ii.prototype.t3h=function(t){return this.q3h().r18(yr().y1a(),t)},ii.prototype.q3e=function(t){return this.q3h().u18(ri().n3h_1,t)},ii.prototype.p3e=function(t){return this.q3h().t18(ri().n3h_1,t)},ii.$metadata$=G(\\\"VisionManager\\\",[kr],void 0,void 0,void 0,me.prototype),ai.prototype.c37=function(){return this.z3h_1},ai.prototype.x3e=function(){return new Kr},ai.$metadata$=G(\\\"RootVision\\\",void 0,void 0,void 0,void 0,Hr.prototype),si.prototype.q2m=function(t){var e=t;return ri(),\\\"visionSerializerModule\\\"===e?xe(Qt(it().w1o(this.k2m().toString()),this.e3i())):me.prototype.q2m.call(this,t)},si.$metadata$=G(\\\"VisionPlugin\\\",void 0,void 0,void 0,void 0,me.prototype),li.$metadata$=at(\\\"MutableVisionProperties\\\",[fi]),ui.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},ui.prototype.qm=function(t,e){return this.c2g(null!=t&&Bt(t,Vt)?t:pt(),e)},ui.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.n3i_1.l36_1.l2c(this.o3i_1,this))===Ht())return t;continue t;case 1:return N();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},ui.prototype.d2g=function(t,e){var n=new ui(this.n3i_1,this.o3i_1,e);return n.p3i_1=t,n},ui.$metadata$=G(\\\"AbstractVisionProperties$invalidate$slambda\\\",void 0,void 0,void 0,[1],ht.prototype),pi.prototype.nn=function(){return this.j36_1.nn()},pi.prototype.m36=function(){return this.f2n()},pi.prototype.n36=function(){if(null==this.f2n()){var t=Et();this.i36(t)}return zt(this.f2n())},pi.prototype.o36=function(t,e,n){var r=this.m36(),i=null==r?null:J(r,t),o=null==i?null:i.w2();if(null!=o)return o;var a,s=this.nn();if(null==s)a=null;else{var l,u=this.k36_1,c=u.s(t);if(null==c){var h=Ae(s,t);u.b(t,h),l=h}else l=c;a=l}var p,f=a,d=n,m=null==(p=null==d?null==f?null:Xi(f):d)||p;if(m){var v=lr(this.j36_1,t),g=null==v?null:v.w2();if(null!=g)return g}var y,_=e,b=null!=(y=null==_?null==f?null:Yi(f):_)&&y;if(b){var x=this.j36_1.l1l(),w=null==x?null:x.f2n(),A=null==w?null:w.o36(t,b,m);if(null!=A)return A}return null==f?null:f.z1l_1},pi.prototype.q36=function(t,e,n){var r=this.m36();if(Ct(null==r?null:r.m1m(t),e))return N();if(jt(t)){var i=e;this.i36(null==i?null:Ce(i))}else if(null==e){var o=this.f2n();null==o||o.x1o(t,e)}else this.n36().x1o(t,e);n&&this.h1p(t)},pi.prototype.s36=function(t,e,n){var r=this.m36();if(Ct(null==r?null:r.w1m(t),e))return N();if(null==e){var i=this.f2n(),o=null==i?null:i.m1m(t);null==o||o.o1o(null)}else this.n36().p1o(t,e);n&&this.h1p(t)},pi.prototype.u36=function(){return this.l36_1},pi.prototype.h1p=function(t){var e=this.j36_1.c37(),n=null==e?null:e.p5(),r=null==n?Me():n;qt(r,null,null,function(t,e,n){var r=new ui(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(this,t),3,null);var i,o=this.j36_1;if(Bt(o,Gr))for(var a=this.j36_1.y1r().l3().e();a.f();)a.g().f2n().h1p(t);if(t.equals(fr().e3d_1))for(var s=Ee(cr(this.j36_1)),l=Te(s,(i=this,function(t){return ur(i.j36_1,t)})),u=Se(l,ci),c=ke(u,hi).e();c.f();){var h=c.g();this.h1p(Yt(h.u2()))}},pi.$metadata$=G(\\\"AbstractVisionProperties\\\",[li]),fi.$metadata$=at(\\\"VisionProperties\\\"),di.prototype.f2n=function(){return this.q3i_1},di.prototype.w3i=function(){return this.r3i_1},di.prototype.n1p=function(){return this.u3i_1},di.prototype.nn=function(){return X(\\\"descriptor\\\",1,W,(function(t){return t.nn()}),null),this.v3i_1.w2()},di.prototype.o1l=function(){var t,e=this.q3i_1.m36(),n=null==e?null:e.m1m(this.r3i_1),r=null==n?null:n.o1l(),i=null==r?null:r.k3(),o=null==i?Xt():i,a=this.nn(),s=null==a?null:a.u1l_1;if(null==s)t=null;else{for(var l=Pt(s.h()),u=s.y().e();u.f();){var c,h=u.g().u2();c=Oe(h,null,2,null),l.a(c)}t=l}for(var p=t,f=null==p?Xt():p,d=this.u3i_1,m=null==d?null:J(d,this.r3i_1),v=null==m?null:m.o1l(),g=null==v?null:v.k3(),y=null==g?Xt():g,_=this.nn(),b=null==_?null:Yi(_),x=null==b?this.s3i_1:b,w=this.nn(),A=null==w?null:Xi(w),C=null==A?this.t3i_1:A,M=Ie(Ie(o,f),y),E=It(Le(Ot(Lt(M,10)),16)),T=M.e();T.f();){var S,k=T.g();S=new di(this.q3i_1,re(this.r3i_1,k),x,C,this.u3i_1),E.b(k,S)}return E},di.prototype.o1o=function(t){this.q3i_1.t36(this.r3i_1,t,!1,4,null)},di.prototype.w2=function(){var t,e=this.nn(),n=null==e?null:Yi(e),r=null==n?this.s3i_1:n,i=null!=r&&r,o=this.nn(),a=null==o?null:Xi(o),s=null==a?this.t3i_1:a,l=null==s||s,u=this.q3i_1.o36(this.r3i_1,i,l);if(null==u){var c=this.u3i_1;t=null==c?null:c.w1m(this.r3i_1)}else t=u;return t},di.prototype.q1o=function(t){return new di(this.q3i_1,Pe(this.r3i_1,t),this.s3i_1,this.t3i_1,this.u3i_1)},di.prototype.x1o=function(t,e){var n=Pe(this.r3i_1,t);this.q3i_1.r36(n,e,!1,4,null)},di.prototype.toString=function(){return be().s1m(this)},di.prototype.equals=function(t){return be().t1m(this,null!=t&&Bt(t,ze)?t:null)},di.prototype.hashCode=function(){return be().u1m(this)},di.$metadata$=G(\\\"VisionPropertiesItem\\\",[qe]),vi.prototype.y1a=function(){return _i()},vi.$metadata$=V(\\\"Companion\\\"),yi.prototype.nn=function(){return this.x3i_1},yi.prototype.fy=function(){return[mt(ie()),He()]},yi.prototype.pn=function(t){var e=this.x3i_1,n=!0,r=0,i=0,o=null,a=null,s=t.lq(e);if(s.br())o=s.zq(e,0,ie(),o),i|=1,a=s.vq(e,1),i|=2;else for(;n;)switch(r=s.cr(e)){case-1:n=!1;break;case 0:o=s.zq(e,0,ie(),o),i|=1;break;case 1:a=s.vq(e,1),i|=2;break;default:throw _t(r)}return s.mq(e),function(t,e,n,r,i){2!=(2&t)&&wt(t,2,_i().x3i_1),zi(t,e,0,i),i.d3j_1=n;var o=i,a=Bi(i);return o.e3j_1=Ge(a,null,1,null),i}(i,o,a,0,Object.create(bi.prototype))},yi.prototype.y3i=function(t,e){var n=this.x3i_1,r=t.lq(n);(r.is(n,0)||null!=e.c36_1)&&r.es(n,0,ie(),e.c36_1),r.as(n,1,e.d3j_1),r.mq(n)},yi.prototype.on=function(t,e){return this.y3i(t,e instanceof bi?e:pt())},yi.$metadata$=V(\\\"$serializer\\\",[xt]),bi.prototype.f3j=function(t){return this.e3j_1.t7(this,X(\\\"values\\\",1,We,(function(t){return t.l3()}),(function(t,e){return t.f3j(e)})),t)},bi.prototype.l3=function(){return this.e3j_1.s7(this,X(\\\"values\\\",1,We,(function(t){return t.l3()}),(function(t,e){return t.f3j(e)})))},bi.$metadata$=G(\\\"VisionOfHtmlForm\\\",void 0,void 0,{0:_i},void 0,$i.prototype),xi.prototype.y1a=function(){return Ci()},xi.$metadata$=V(\\\"Companion\\\"),Ai.prototype.nn=function(){return this.g3j_1},Ai.prototype.fy=function(){return[mt(ie()),mt(He()),mt(He())]},Ai.prototype.pn=function(t){var e=this.g3j_1,n=!0,r=0,i=0,o=null,a=null,s=null,l=t.lq(e);if(l.br())o=l.zq(e,0,ie(),o),i|=1,a=l.zq(e,1,He(),a),i|=2,s=l.zq(e,2,He(),s),i|=4;else for(;n;)switch(r=l.cr(e)){case-1:n=!1;break;case 0:o=l.zq(e,0,ie(),o),i|=1;break;case 1:a=l.zq(e,1,He(),a),i|=2;break;case 2:s=l.zq(e,2,He(),s),i|=4;break;default:throw _t(r)}return l.mq(e),function(t,e,n,r,i){return function(t,e,n,r,i,o){0!=(0&t)&&wt(t,0,Ci().g3j_1),zi(t,e,0,o),o.m3j_1=0==(2&t)?null:n,o.n3j_1=0==(4&t)?null:r;var a=o,s=Bi(o);return a.o3j_1=Xe(s,null,1,null),o}(t,e,n,r,0,Object.create(Mi.prototype))}(i,o,a,s)},Ai.prototype.h3j=function(t,e){var n=this.g3j_1,r=t.lq(n);(r.is(n,0)||null!=e.c36_1)&&r.es(n,0,ie(),e.c36_1),(r.is(n,1)||null!=e.m3j_1)&&r.es(n,1,He(),e.m3j_1),(r.is(n,2)||null!=e.n3j_1)&&r.es(n,2,He(),e.n3j_1),r.mq(n)},Ai.prototype.on=function(t,e){return this.h3j(t,e instanceof Mi?e:pt())},Ai.$metadata$=V(\\\"$serializer\\\",[xt]),Mi.prototype.p3j=function(t){return this.o3j_1.t7(this,X(\\\"text\\\",1,We,(function(t){return t.q3j()}),(function(t,e){return t.p3j(e)})),t)},Mi.prototype.q3j=function(){return this.o3j_1.s7(this,X(\\\"text\\\",1,We,(function(t){return t.q3j()}),(function(t,e){return t.p3j(e)})))},Mi.$metadata$=G(\\\"VisionOfTextField\\\",void 0,void 0,{0:Ci},void 0,$i.prototype),Ei.prototype.y1a=function(){return ki()},Ei.$metadata$=V(\\\"Companion\\\"),Si.prototype.nn=function(){return this.r3j_1},Si.prototype.fy=function(){return[mt(ie()),mt(He()),mt(He())]},Si.prototype.pn=function(t){var e=this.r3j_1,n=!0,r=0,i=0,o=null,a=null,s=null,l=t.lq(e);if(l.br())o=l.zq(e,0,ie(),o),i|=1,a=l.zq(e,1,He(),a),i|=2,s=l.zq(e,2,He(),s),i|=4;else for(;n;)switch(r=l.cr(e)){case-1:n=!1;break;case 0:o=l.zq(e,0,ie(),o),i|=1;break;case 1:a=l.zq(e,1,He(),a),i|=2;break;case 2:s=l.zq(e,2,He(),s),i|=4;break;default:throw _t(r)}return l.mq(e),function(t,e,n,r,i){return function(t,e,n,r,i,o){0!=(0&t)&&wt(t,0,ki().r3j_1),zi(t,e,0,o),o.x3j_1=0==(2&t)?null:n,o.y3j_1=0==(4&t)?null:r;var a=o,s=Bi(o);return a.z3j_1=Ye(s,null,1,null),o}(t,e,n,r,0,Object.create(Oi.prototype))}(i,o,a,s)},Si.prototype.s3j=function(t,e){var n=this.r3j_1,r=t.lq(n);(r.is(n,0)||null!=e.c36_1)&&r.es(n,0,ie(),e.c36_1),(r.is(n,1)||null!=e.x3j_1)&&r.es(n,1,He(),e.x3j_1),(r.is(n,2)||null!=e.y3j_1)&&r.es(n,2,He(),e.y3j_1),r.mq(n)},Si.prototype.on=function(t,e){return this.s3j(t,e instanceof Oi?e:pt())},Si.$metadata$=V(\\\"$serializer\\\",[xt]),Oi.prototype.a3k=function(t){return this.z3j_1.t7(this,X(\\\"value\\\",1,We,(function(t){return t.w2()}),(function(t,e){return t.a3k(e)})),t)},Oi.prototype.w2=function(){return this.z3j_1.s7(this,X(\\\"value\\\",1,We,(function(t){return t.w2()}),(function(t,e){return t.a3k(e)})))},Oi.$metadata$=G(\\\"VisionOfNumberField\\\",void 0,void 0,{0:ki},void 0,$i.prototype),Li.prototype.y1a=function(){return this.b3k_1.w2()},Li.prototype.oy=function(t){return this.y1a()},Li.$metadata$=V(\\\"Companion\\\",[q]),$i.$metadata$=G(\\\"VisionOfHtmlInput\\\",void 0,void 0,{0:Pi},void 0,ar.prototype),Ni.prototype.y1a=function(){return Ui()},Ni.$metadata$=V(\\\"Companion\\\"),ji.prototype.nn=function(){return this.g3k_1},ji.prototype.fy=function(){return[mt(ie()),mt(He()),mt(He())]},ji.prototype.pn=function(t){var e=this.g3k_1,n=!0,r=0,i=0,o=null,a=null,s=null,l=t.lq(e);if(l.br())o=l.zq(e,0,ie(),o),i|=1,a=l.zq(e,1,He(),a),i|=2,s=l.zq(e,2,He(),s),i|=4;else for(;n;)switch(r=l.cr(e)){case-1:n=!1;break;case 0:o=l.zq(e,0,ie(),o),i|=1;break;case 1:a=l.zq(e,1,He(),a),i|=2;break;case 2:s=l.zq(e,2,He(),s),i|=4;break;default:throw _t(r)}return l.mq(e),function(t,e,n,r,i){return function(t,e,n,r,i,o){0!=(0&t)&&wt(t,0,Ui().g3k_1),zi(t,e,0,o),o.m3k_1=0==(2&t)?null:n,o.n3k_1=0==(4&t)?null:r;var a=o,s=Bi(o);return a.o3k_1=Ke(s,null,1,null),o}(t,e,n,r,0,Object.create(qi.prototype))}(i,o,a,s)},ji.prototype.h3k=function(t,e){var n=this.g3k_1,r=t.lq(n);(r.is(n,0)||null!=e.c36_1)&&r.es(n,0,ie(),e.c36_1),(r.is(n,1)||null!=e.m3k_1)&&r.es(n,1,He(),e.m3k_1),(r.is(n,2)||null!=e.n3k_1)&&r.es(n,2,He(),e.n3k_1),r.mq(n)},ji.prototype.on=function(t,e){return this.h3k(t,e instanceof qi?e:pt())},ji.$metadata$=V(\\\"$serializer\\\",[xt]),qi.$metadata$=G(\\\"VisionOfCheckbox\\\",void 0,void 0,{0:Ui},void 0,$i.prototype),Vi.prototype.a3l=function(){return this.y3k_1},Vi.$metadata$=V(\\\"Companion\\\"),Wi.prototype.z3d=function(t,e){var n=this.a3e(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},Wi.prototype.qm=function(t,e){return this.z3d(t instanceof ft?t:pt(),e)},Wi.prototype.pm=function(){for(this.im_1;;)try{var t=this.gm_1;if(0===t)return this.hm_1=1,Je(this.m3l_1,nt(this.j3l_1.callableName))&&this.k3l_1(this.l3l_1,this.j3l_1.get(this.l3l_1)),N();if(1===t)throw this.jm_1}catch(t){throw t}},Wi.prototype.a3e=function(t,e){var n=new Wi(this.j3l_1,this.k3l_1,this.l3l_1,e);return n.m3l_1=t,n},Wi.$metadata$=G(\\\"useProperty$slambda\\\",void 0,void 0,void 0,[1],ht.prototype),Zi.$metadata$=at(\\\"Application\\\",[Vt]),Ji.$metadata$=V(\\\"Companion\\\"),to.$metadata$=at(\\\"ElementVisionRenderer\\\",[un]),eo.prototype.c2=function(){var t=hn(this.u3l_1),e=null==t?null:t.nn(),n=null==e?null:e.oo(),r=null==n?null:pn(n,!1,1,null);return null==r?nt(Nt(this.u3l_1)):r},eo.prototype.s3l=function(t){var e;return fn(t).equals(this.u3l_1)?e=this.v3l_1:(Qi(),e=0),e},eo.prototype.t3l=function(t,e,n){var r,i,o;dn(t),mn(t,(r=this,i=e,o=n,function(t){return r.w3l_1(t,cn(r.u3l_1,i),o),N()}))},eo.$metadata$=G(\\\"SingleTypeVisionRenderer\\\",[to]),so.prototype.n2n=function(t,e){return new co},so.prototype.k2m=function(){return this.d3m_1},so.prototype.c9=function(){return this.e3m_1},so.$metadata$=V(\\\"Companion\\\",[pe]),uo.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=N(),n.jm_1=null,n.pm()},uo.prototype.qm=function(t,e){return this.c2g(null!=t&&Bt(t,Vt)?t:pt(),e)},uo.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,this.r3m_1=wn(),(t=Mn(Cn(this.n3m_1,An()),this))===Ht())return t;continue t;case 1:return this.o3m_1.c3m_1.i()||(this.p3m_1.send(no(this.o3m_1).t3h(this.o3m_1.c3m_1.k3e(no(this.o3m_1)))),this.o3m_1.c3m_1.j3e()),N();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},uo.prototype.d2g=function(t,e){var n=new uo(this.n3m_1,this.o3m_1,this.p3m_1,e);return n.q3m_1=t,n},uo.$metadata$=G(\\\"VisionClient$renderVision$lambda$slambda\\\",void 0,void 0,void 0,[1],ht.prototype),co.prototype.k2m=function(){return lo().d3m_1},co.prototype.s3m=function(t){var e=t.classList;if(Hi(),!e.contains(\\\"visionforge-output\\\"))throw ut(Nt(\\\"The element \\\"+t+\\\" is not an output element\\\"));var n=function(t,e){var n,r=e.attributes;return Hi(),null==(n=r[\\\"data-output-name\\\"])?null:n.value}(0,t);if(null==n)throw ut(\\\"The element is not a vision output\\\");var r,i=n,o=t.attributes;if(Hi(),\\\"true\\\"===(null==(r=o[\\\"data-output-rendered\\\"])?null:r.value)){var a=yn(this);return _n(a,(l=t,function(){return\\\"VF output in element \\\"+l+\\\" is already rendered\\\"})),N()}var s,l,u=yn(this);_n(u,(s=i,function(){return\\\"Rendering VF output with name \\\"+s})),Hi();var c=oo(t,0,\\\"visionforge-output-meta\\\"),h=null==c?null:ri().m3h_1.s18(vt(),c),p=null==h?be().r1m_1:h;Hi();var f,d,m=oo(t,0,\\\"visionforge-output-data\\\"),v=null==m?null:no(this).r3h(m);if(null!=v){var g=yn(this);_n(g,function(t){return function(){return\\\"Found embedded vision for output with name \\\"+t}}(i)),ao(this,i,t,v,p)}else{var y=t.attributes;if(Hi(),null==y[\\\"data-output-fetch\\\"])throw ut(Nt(\\\"No embedded vision data / fetch url for \\\"+i));var _,b=t.attributes;Hi(),_=b[\\\"data-output-fetch\\\"];var x,w,A=zt(_);if(gn(A.value))w=!0;else{var C=A.value;Hi(),w=\\\"@auto\\\"===C}if(w){var M=ro(this,t),E=yn(this);_n(E,(d=M,function(){return\\\"Vision server is resolved to \\\"+d}));var T=new URL(M),S=T;S.pathname=S.pathname+\\\"/data\\\",x=T}else x=new URL(A.value);var k=x;k.searchParams.append(\\\"name\\\",i);var O=k,I=yn(this);_n(I,(f=O,function(){return\\\"Fetching vision data from \\\"+f})),window.fetch(O).then(function(t,e,n,r,i){return function(o){var a;if(o.ok)a=o.text().then(function(t,e,n,r){return function(i){var o=no(t).r3h(i);return ao(t,e,n,o,r),N()}}(t,e,n,r));else{var s=yn(t);En(s,function(t){return function(){return\\\"Failed to fetch initial vision state from \\\"+t}}(i)),a=N()}return a}}(this,i,t,p,O))}Hi(),t.setAttribute(\\\"data-output-rendered\\\",\\\"true\\\")},co.prototype.q2m=function(t){return Qi(),\\\"elementVisionRenderer\\\"===t?Sn([Qt(vo().c2(),vo()),Qt(mo().c2(),mo()),Qt(go().c2(),go())]):me.prototype.q2m.call(this,t)},co.$metadata$=G(\\\"VisionClient\\\",void 0,void 0,void 0,void 0,me.prototype),fo.prototype.n3l=function(t,e){console.info(\\\"Starting Vision Client\\\");var n=t.body;if(null==n)throw ut(\\\"Document does not have a body\\\");var r=n;ho(this.u3m_1,r)},fo.$metadata$=G(\\\"VisionClientApplication\\\",[Zi]),pi.prototype.p36=Vn,pi.prototype.r36=Wn,pi.prototype.t36=Xn,pi.prototype.v36=Gn,pi.prototype.w36=Hn,ir.prototype.p36=Vn,ir.prototype.r36=Wn,ir.prototype.t36=Xn,ir.prototype.v36=Gn,ir.prototype.w36=Hn,or.prototype.p36=Vn,or.prototype.r36=Wn,or.prototype.t36=Xn,or.prototype.v36=Gn,or.prototype.w36=Hn,ar.prototype.c37=Yn,ar.prototype.d37=Zn,_r.prototype.gy=bt,Ar.prototype.c37=Yn,Ar.prototype.d37=Zn,Rr.prototype.w3e=Qn,Rr.prototype.l3=Kn,Rr.prototype.u3e=Jn,qr.prototype.w3e=Qn,qr.prototype.l3=Kn,qr.prototype.u3e=Jn,Vr.prototype.w3e=Qn,Vr.prototype.l3=Kn,Vr.prototype.u3e=Jn,Hr.prototype.c37=Yn,Yr.prototype.gy=bt,Kr.prototype.c37=Yn,ii.prototype.c2=ge,ii.prototype.v1m=ye,ii.prototype.q2m=_e,si.prototype.c2=ge,si.prototype.v1m=ye,di.prototype.m1m=Re,di.prototype.p1o=De,di.prototype.r1o=$e,di.prototype.y1o=Be,di.prototype.z1o=Ne,di.prototype.a1p=Fe,di.prototype.v1m=je,di.prototype.w1m=Ue,yi.prototype.gy=bt,$i.prototype.c37=Yn,$i.prototype.d37=Zn,bi.prototype.c37=Yn,bi.prototype.d37=Zn,Ai.prototype.gy=bt,Mi.prototype.c37=Yn,Mi.prototype.d37=Zn,Si.prototype.gy=bt,Oi.prototype.c37=Yn,Oi.prototype.d37=Zn,ji.prototype.gy=bt,qi.prototype.c37=Yn,qi.prototype.d37=Zn,co.prototype.c2=ge,co.prototype.v1m=ye,fo.prototype.w1u=function(){return sn()},fo.prototype.o3l=function(){return ln()},e.$_$=e.$_$||{},e.$_$.a=Wn,e.$_$.b=Xn,e.$_$.c=Hn,e.$_$.d=Vn,e.$_$.e=function(t,e,n,r,i){if(0!=(1&r)){var o=t.c37();e=null==o?null:o.p5()}return mr(t,e,n)},e.$_$.f=function(t,e,n,r,i){return 0!=(1&r)&&(e=null),0!=(2&r)&&(n=null),mi(t,e,n)},e.$_$.g=Gi,e.$_$.h=function(t,e,n,r){return 0!=(1&e)&&(t=be().r1m_1),si.call(r,t),r},e.$_$.i=rr,e.$_$.j=Ur,e.$_$.k=jr,e.$_$.l=function(){return null==c&&new sr,c},e.$_$.m=Qi,e.$_$.n=Cr,e.$_$.o=Xr,e.$_$.p=fr,e.$_$.q=Tr,e.$_$.r=lo,e.$_$.s=ri,e.$_$.t=Hr,e.$_$.u=pi,e.$_$.v=ar,e.$_$.w=to,e.$_$.x=kr,e.$_$.y=Jr,e.$_$.z=Gn,e.$_$.a1=li,e.$_$.b1=Kr,e.$_$.c1=Yn,e.$_$.d1=Zn,e.$_$.e1=Jn,e.$_$.f1=Kn,e.$_$.g1=Sr,e.$_$.h1=Gr,e.$_$.i1=si,e.$_$.j1=dr,e.$_$.k1=function(t){return Kt(function(t,e){var n=new $r(t,null),r=function(t,e){return n.m3g(t,e)};return r.$arity=1,r}(t))},e.$_$.l1=Qr,e.$_$.m1=function(t){var e=t.c37(),n=null==e?null:e.s3h(t);if(null==n)throw ut(\\\"Orphan vision could not be encoded\\\");return n},e.$_$.n1=function(t,e){for(var n=cr(t),r=rt(),i=n.e();i.f();){var o=ur(t,i.g()),a=null==o?null:J(o,e);null==a||(r.a(a),N())}return r},e.$_$.o1=lr,e.$_$.p1=ur,e.$_$.q1=function(t){var e=tn(Qe(t.b1m_1,\\\"widget.hide\\\"));return null!=e&&e},e.$_$.r1=function(t){return rn(t.n1s_1,\\\"widget.hide\\\",!0)},e.$_$.s1=Yi,e.$_$.t1=function(t,e){var n=t.n1s_1;return nn(n,\\\"inherited\\\",null==e?null:en(e))},e.$_$.u1=function(t){return t.k3().i()},e.$_$.v1=mr,e.$_$.w1=function(t,e){return po((n=e,r=t,function(t){var e=t.getElementById(n);return null!=e?(ho(r,e),N()):(console.warn(\\\"Element with id \\\"+n+\\\" not found\\\"),N()),N()}));var n,r},e.$_$.x1=ho,e.$_$.y1=function(t){return po((e=t,function(t){var n=t.body;if(null==n)throw ut(\\\"Document does not have a body\\\");return ho(e,n),N()}));var e},e.$_$.z1=mi,e.$_$.a2=function(e){console.info(\\\"Starting VisionForge context\\\");var n,r,i=On(\\\"VisionForge\\\",(n=e,function(t){var e=lo();return t.q2n(e,null,2,null),n(t),N()}));!function(e){var n,r,i={_v:null},o=t.hot;null==o?n=null:(o.accept(),o.dispose((r=i,function(t){var e=r._v;return t.appState=null==e?null:e.o3l(),r._v=null,N()})),n=o.data);var a=n;null!=document.body?i._v=Ki(e,document,a):(i._v=null,document.addEventListener(\\\"DOMContentLoaded\\\",function(t,e,n){return function(r){return t._v=Ki(n,document,e),N()}}(i,a,e)))}((r=i,function(){return new fo(r)}))},e.$_$.b2=oi,e.$_$.c2=function(t,e,n){var r=Ve(n);return t.t36(e,r,!1,4,null)},e.$_$.d2=cr,e.$_$.e2=Xi,e.$_$.f2=function(t){var e=t.f2n(),n=fr().g3d_1,r=e.p36(n,null,null,6,null);return null==r?null:st(r)},e.$_$.g2=function(t){var e,n,r,i=ri(),o=be().r1m_1,a=t.z2m().q2o(i.c9(),i.k2m(),!0);if(null!=a&&a.n1l().equals(o))e=a;else{var s,l=Q(t.t2m_1,i.k2m().l2o_1);s=t.i2n(l,(n=i,r=o,function(t){return t.o2n(n,r),N()})).z2m().q2o(i.c9(),i.k2m(),!0),e=zt(s)}return e},e.$_$.h2=function(t){return an(Qe(t.b1m_1,\\\"widget.type\\\"))},e.$_$.i2=function(t,e){var n=t.n1s_1;nn(n,\\\"widget.type\\\",null==e?null:on(e))}}((t=n.nmd(t)).exports,n(8744),n(3645),n(384),n(7646),n(5247),n(3730),n(6622))},448:(t,e,n)=>{!function(t,e,n,r,i,o,a,s){\\\"use strict\\\";var l,u,c,h,p,f=e.$_$.q4,d=n.$_$.ib,m=r.$_$.k2,v=e.$_$.f1,g=r.$_$.x,y=r.$_$.u,_=n.$_$.b5,b=r.$_$.h,x=n.$_$.oe,w=r.$_$.f2,A=r.$_$.g2,C=r.$_$.o2,M=i.$_$.i,E=i.$_$.f,T=e.$_$.f4,S=i.$_$.v,k=i.$_$.c1,O=i.$_$.d1,I=n.$_$.aa,L=n.$_$.bc,P=n.$_$.ha,z=r.$_$.r2,R=i.$_$.j1,D=n.$_$.f,$=r.$_$.q2,B=o.$_$.d,N=a.$_$.y,F=a.$_$.n,j=n.$_$.a2,U=a.$_$.a1,q=o.$_$.c,V=s.$_$.c,H=s.$_$.b,G=s.$_$.h,W=n.$_$.rf,X=a.$_$.g,Y=i.$_$.i1,Z=i.$_$.h,K=i.$_$.r,J=i.$_$.m,Q=n.$_$.mb,tt=n.$_$.d2,et=o.$_$.b,nt=o.$_$.a,rt=i.$_$.g,it=s.$_$.f,ot=s.$_$.g,at=i.$_$.w;function st(){u=this,this.n5k_1=f(\\\"content\\\"),this.o5k_1=\\\"markdown.commonmark\\\",this.p5k_1=\\\"markdown.gfm\\\"}function lt(){return null==u&&new st,u}function ut(){c=this;var t=new m(\\\"vision.markup\\\",this,2);t.mx(\\\"properties\\\",!0),t.mx(\\\"format\\\",!0),this.q5k_1=t}function ct(){return null==c&&new ut,c}function ht(t){lt(),S.call(this),this.v5k_1=t;var e=this.f2n();this.w5k_1=T(E(e,null,null,3,null),lt().n5k_1)}function pt(){p=this,V(),this.y5k_1=H(\\\"vision.markup\\\",\\\"dataforge\\\",null,4,null),this.z5k_1=D(mt)}function ft(){return null==p&&new pt,p}function dt(t,e,n){return function(r,i){return W(t),X(t,function(t,e){return function(n){return function(t,e,n){var r,i,o,a=n(),s=new B(e).c5e(a),l=new F(N(\\\"class\\\",\\\"visionforge-markdown\\\"),t);if(l.f2p()!==t)throw j(\\\"Wrong exception\\\");l.f2p().l2p(l);try{U(l,(r=a,i=s,o=e,function(t){var e=q(r,i,o,!1,8,null);return t.i2p(e.t5a(null,1,null)),_()}))}catch(t){if(!(t instanceof Error))throw t;l.f2p().q2p(l,t)}finally{l.f2p().o2p(l)}t.r2p()}(n,t,function(t){return function(){var e=t.t1a();return null==e?\\\"\\\":e}}(e)),_()}}(e,n)),_()}}function mt(){ft(),Z(null,1,null,this);var t=K();this.e5l_1=this.p2m(t,null,2,null)}ht.prototype=Object.create(S.prototype),ht.prototype.constructor=ht,mt.prototype=Object.create(Y.prototype),mt.prototype.constructor=mt,st.prototype.y1a=function(){return ct()},st.$metadata$=d(\\\"Companion\\\"),ut.prototype.nn=function(){return this.q5k_1},ut.prototype.fy=function(){return[g(v()),y()]},ut.prototype.pn=function(t){var e=this.q5k_1,n=!0,r=0,i=0,o=null,a=null,s=t.lq(e);if(s.br())o=s.zq(e,0,v(),o),i|=1,a=s.vq(e,1),i|=2;else for(;n;)switch(r=s.cr(e)){case-1:n=!1;break;case 0:o=s.zq(e,0,v(),o),i|=1;break;case 1:a=s.vq(e,1),i|=2;break;default:throw b(r)}return s.mq(e),function(t,e,n,r,i){if(0!=(0&t)&&C(t,0,ct().q5k_1),M(t,e,null,i),0==(2&t)){var o=i;lt(),o.v5k_1=\\\"markdown.commonmark\\\"}else i.v5k_1=n;var a=i,s=i.f2n();return a.w5k_1=T(E(s,null,null,3,null),lt().n5k_1),i}(i,o,a,0,Object.create(ht.prototype))},ut.prototype.r5k=function(t,e){var n,r=this.q5k_1,i=t.lq(r);i.es(r,0,v(),e.c36_1),i.is(r,1)?n=!0:(lt(),n=!(\\\"markdown.commonmark\\\"===e.v5k_1)),n&&i.as(r,1,e.v5k_1),i.mq(r)},ut.prototype.on=function(t,e){return this.r5k(t,e instanceof ht?e:x())},ut.$metadata$=d(\\\"$serializer\\\",[A]),ht.prototype.x5k=function(t){return this.w5k_1.t7(this,P(\\\"content\\\",1,L,(function(t){return t.t1a()}),(function(t,e){return t.x5k(e)})),t)},ht.prototype.t1a=function(){return this.w5k_1.s7(this,P(\\\"content\\\",1,L,(function(t){return t.t1a()}),(function(t,e){return t.x5k(e)})))},ht.$metadata$=I(\\\"VisionOfMarkup\\\",void 0,void 0,{0:ct},void 0,S.prototype),pt.prototype.k2m=function(){return this.y5k_1},pt.prototype.c9=function(){return this.z5k_1},pt.prototype.n2n=function(t,e){return new mt},pt.$metadata$=d(\\\"Companion\\\",[G]),mt.prototype.k2m=function(){return ft().y5k_1},mt.prototype.e3i=function(){return function(){if(h);else{var t;h=!0;var e=new z,n=D(R),r=new $(n,null),i=lt().y1a();r.e17(D(ht),i),_(),r.h17(e),t=e.v3(),l=t}}(),l},mt.prototype.s3l=function(t){var e;return t instanceof ht?(J(),e=10):(J(),e=0),e},mt.prototype.t3l=function(t,e,n){if(!(e instanceof ht))throw j(Q(\\\"The vision is not a markup vision\\\"));var r,i=document.createElement(\\\"div\\\"),o=e.v5k_1;if(lt(),\\\"markdown.commonmark\\\"===o)r=nt(!1,!1,3,null);else{if(lt(),\\\"markdown.gfm\\\"!==o){var a=\\\"Format \\\"+e.v5k_1+\\\" not recognized\\\";throw tt(Q(a))}r=et(!1,!1,3,null)}var s=r,l=P(\\\"content\\\",1,L,(function(t){return t.t1a()}),(function(t,e){return t.x5k(e)}));rt(e,l,null,dt(i,s,e),2,null),t.append(i)},mt.$metadata$=I(\\\"MarkupPlugin\\\",[at],void 0,void 0,void 0,Y.prototype),ut.prototype.gy=w,ht.prototype.c37=k,ht.prototype.d37=O,mt.prototype.c2=it,mt.prototype.v1m=ot,t.$_$=t.$_$||{},t.$_$.a=ft}(t.exports,n(384),n(8744),n(3645),n(5102),n(9157),n(6622),n(5247))},9332:(t,e,n)=>{!function(t,e,n,r,i,o,a,s){\\\"use strict\\\";var l,u,c,h,p,f=e.$_$.r2,d=n.$_$.j1,m=r.$_$.f,v=e.$_$.q2,g=r.$_$.b5,y=r.$_$.m9,_=r.$_$.oe,b=i.$_$.q,x=r.$_$.ta,w=r.$_$.x8,A=r.$_$.aa,C=i.$_$.f,M=i.$_$.i,E=i.$_$.a,T=r.$_$.ib,S=e.$_$.k2,k=o.$_$.f1,O=o.$_$.c1,I=e.$_$.x,L=e.$_$.h,P=e.$_$.f2,z=e.$_$.g2,R=e.$_$.o2,D=i.$_$.m,$=i.$_$.l,B=o.$_$.k2,N=n.$_$.a,F=n.$_$.b,j=o.$_$.h2,U=n.$_$.c,q=n.$_$.d,V=n.$_$.a1,H=o.$_$.q2,G=a.$_$.b,W=n.$_$.c1,X=n.$_$.d1,Y=(r.$_$.n9,s.$_$.c),Z=s.$_$.b,K=s.$_$.h,J=n.$_$.i1,Q=n.$_$.h,tt=n.$_$.r,et=n.$_$.m,nt=r.$_$.e,rt=r.$_$.mb,it=r.$_$.d2,ot=a.$_$.a,at=a.$_$.c,st=o.$_$.q4,lt=r.$_$.qf,ut=r.$_$.u7,ct=s.$_$.f,ht=s.$_$.g,pt=n.$_$.w;function ft(t,e,n){this.x4s_1=t,this.y4s_1=e,y.call(this,n)}function dt(t){return function(e,n){return C(t,null,null,function(t,e,n){var r=new ft(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(t,n),3,null),g()}}function mt(t,e){return function(){return t.a4t_1.i1p(e),g()}}function vt(t,e){this.m4t_1=t,y.call(this,e)}function gt(t,e,n){this.w4t_1=t,this.x4t_1=e,y.call(this,n)}function yt(t){return function(e,n){return C(t,null,null,function(t,e,n){var r=new gt(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(t,n),3,null),g()}}function _t(t,e){return function(){return t.a4t_1.i1p(e),g()}}function bt(t,e){this.h4u_1=t,y.call(this,e)}function xt(){c=this}function wt(){return null==c&&new xt,c}function At(){h=this;var t=new S(\\\"vision.plotly\\\",this,2);t.mx(\\\"meta\\\",!1),t.mx(\\\"descriptor\\\",!0),this.j4u_1=t}function Ct(){return null==h&&new At,h}function Mt(t){this.m4u_1=t;var e,n=t.a4t_1;e=x(n,B)?$(function(t,e){var n=new vt(t,null),r=function(t,e){return n.q4c(t,e)};return r.$arity=1,r}(t)):D(),this.l4u_1=e}function Et(t){this.o4u_1=t;var e,n=t.a4t_1;e=x(n,B)?$(function(t,e){var n=new bt(t,null),r=function(t,e){return n.q4c(t,e)};return r.$arity=1,r}(t)):D(),this.n4u_1=e}function Tt(t){wt(),this.a4t_1=t,this.b4t_1=null,this.c4t_1=new Mt(this),this.d4t_1=null}function St(){p=this,Y(),this.q4u_1=Z(\\\"vision.plotly.js\\\",\\\"dataforge\\\",null,4,null),this.r4u_1=m(Ot)}function kt(){return null==p&&new St,p}function Ot(){kt(),Q(null,1,null,this);var t=tt();this.w4u_1=this.p2m(t,null,2,null)}ft.prototype=Object.create(y.prototype),ft.prototype.constructor=ft,vt.prototype=Object.create(y.prototype),vt.prototype.constructor=vt,gt.prototype=Object.create(y.prototype),gt.prototype.constructor=gt,bt.prototype=Object.create(y.prototype),bt.prototype.constructor=bt,Ot.prototype=Object.create(J.prototype),Ot.prototype.constructor=Ot,ft.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=g(),n.jm_1=null,n.pm()},ft.prototype.qm=function(t,e){return this.c2g(null!=t&&x(t,b)?t:_(),e)},ft.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.x4s_1.w27(this.y4s_1,this))===w())return t;continue t;case 1:return g();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},ft.prototype.d2g=function(t,e){var n=new ft(this.x4s_1,this.y4s_1,e);return n.z4s_1=t,n},ft.$metadata$=A(\\\"VisionOfPlotly$properties$o$changes$slambda$lambda$slambda\\\",void 0,void 0,void 0,[1],y.prototype),vt.prototype.q4c=function(t,e){var n=this.r4c(t,e);return n.im_1=g(),n.jm_1=null,n.pm()},vt.prototype.qm=function(t,e){return this.q4c(null!=t&&x(t,M)?t:_(),e)},vt.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.m4t_1.a4t_1.j1p(this.n4t_1,dt(this.n4t_1)),this.gm_1=1,(t=E(this.n4t_1,mt(this.m4t_1,this.n4t_1),this))===w())return t;continue t;case 1:return g();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},vt.prototype.r4c=function(t,e){var n=new vt(this.m4t_1,e);return n.n4t_1=t,n},vt.$metadata$=A(\\\"VisionOfPlotly$properties$o$changes$slambda\\\",void 0,void 0,void 0,[1],y.prototype),gt.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=g(),n.jm_1=null,n.pm()},gt.prototype.qm=function(t,e){return this.c2g(null!=t&&x(t,b)?t:_(),e)},gt.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.w4t_1.w27(this.x4t_1,this))===w())return t;continue t;case 1:return g();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},gt.prototype.d2g=function(t,e){var n=new gt(this.w4t_1,this.x4t_1,e);return n.y4t_1=t,n},gt.$metadata$=A(\\\"VisionOfPlotly$<init>$o$changes$slambda$lambda$slambda\\\",void 0,void 0,void 0,[1],y.prototype),bt.prototype.q4c=function(t,e){var n=this.r4c(t,e);return n.im_1=g(),n.jm_1=null,n.pm()},bt.prototype.qm=function(t,e){return this.q4c(null!=t&&x(t,M)?t:_(),e)},bt.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.h4u_1.a4t_1.j1p(this.i4u_1,yt(this.i4u_1)),this.gm_1=1,(t=E(this.i4u_1,_t(this.h4u_1,this.i4u_1),this))===w())return t;continue t;case 1:return g();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},bt.prototype.r4c=function(t,e){var n=new bt(this.h4u_1,e);return n.i4u_1=t,n},bt.$metadata$=A(\\\"VisionOfPlotly$<init>$o$changes$slambda\\\",void 0,void 0,void 0,[1],y.prototype),xt.prototype.y1a=function(){return Ct()},xt.$metadata$=T(\\\"Companion\\\"),At.prototype.nn=function(){return this.j4u_1},At.prototype.fy=function(){return[k(),I(O())]},At.prototype.pn=function(t){var e,n,r,i,o=this.j4u_1,a=!0,s=0,l=0,u=null,c=null,h=t.lq(o);if(h.br())u=h.xq(o,0,k(),u),l|=1,c=h.zq(o,1,O(),c),l|=2;else for(;a;)switch(s=h.cr(o)){case-1:a=!1;break;case 0:u=h.xq(o,0,k(),u),l|=1;break;case 1:c=h.zq(o,1,O(),c),l|=2;break;default:throw L(s)}return h.mq(o),e=l,n=u,r=c,i=Object.create(Tt.prototype),1!=(1&e)&&R(e,1,Ct().j4u_1),i.a4t_1=n,i.b4t_1=null,i.c4t_1=new Et(i),i.d4t_1=0==(2&e)?null:r,i},At.prototype.k4u=function(t,e){var n=this.j4u_1,r=t.lq(n);r.cs(n,0,k(),e.a4t_1),(r.is(n,1)||null!=e.d4t_1)&&r.es(n,1,O(),e.d4t_1),r.mq(n)},At.prototype.on=function(t,e){return this.k4u(t,e instanceof Tt?e:_())},At.$metadata$=T(\\\"$serializer\\\",[z]),Mt.prototype.q36=function(t,e,n){this.m4u_1.a4t_1.x1o(t,e)},Mt.prototype.s36=function(t,e,n){this.m4u_1.a4t_1.p1o(t,e)},Mt.prototype.m36=function(){return this.m4u_1.a4t_1},Mt.prototype.nn=function(){return this.m4u_1.d4t_1},Mt.prototype.v36=function(t,e,n){var r=this.m4u_1.a4t_1.m1m(t);return null==r?j():r},Mt.prototype.o36=function(t,e,n){return this.m4u_1.a4t_1.w1m(t)},Mt.prototype.u36=function(){return this.l4u_1},Mt.prototype.h1p=function(t){},Mt.$metadata$=A(void 0,[V]),Et.prototype.q36=function(t,e,n){this.o4u_1.a4t_1.x1o(t,e)},Et.prototype.s36=function(t,e,n){this.o4u_1.a4t_1.p1o(t,e)},Et.prototype.m36=function(){return this.o4u_1.a4t_1},Et.prototype.nn=function(){return this.o4u_1.d4t_1},Et.prototype.v36=function(t,e,n){var r=this.o4u_1.a4t_1.m1m(t);return null==r?j():r},Et.prototype.o36=function(t,e,n){return this.o4u_1.a4t_1.w1m(t)},Et.prototype.u36=function(){return this.n4u_1},Et.prototype.h1p=function(t){},Et.$metadata$=A(void 0,[V]),Tt.prototype.p4u=function(){return new G(H(this.a4t_1))},Tt.prototype.b37=function(t){this.b4t_1=t},Tt.prototype.l1l=function(){return this.b4t_1},Tt.prototype.f2n=function(){return this.c4t_1},Tt.prototype.nn=function(){return this.d4t_1},Tt.$metadata$=A(\\\"VisionOfPlotly\\\",[d],void 0,{0:Ct}),St.prototype.k2m=function(){return this.q4u_1},St.prototype.c9=function(){return this.r4u_1},St.prototype.n2n=function(t,e){return new Ot},St.$metadata$=T(\\\"Companion\\\",[K]),Ot.prototype.k2m=function(){return kt().q4u_1},Ot.prototype.e3i=function(){return function(){if(u);else{var t;u=!0;var e=new f,n=m(d),r=new v(n,null),i=wt().y1a();r.e17(m(Tt),i),g(),r.h17(e),t=e.v3(),l=t}}(),l},Ot.prototype.s3l=function(t){var e;return t instanceof Tt?(et(),e=10):(et(),e=0),e},Ot.prototype.t3l=function(t,e,n){var r=e instanceof Tt?e:null,i=null==r?null:r.p4u();if(null==i){var o=\\\"VisionOfPlotly expected but \\\"+nt(e)+\\\" found\\\";throw it(rt(o))}var a=i,s=ot().a1r(n);at(t,a,s)},Ot.prototype.q2m=function(t){var e=t;return et(),\\\"elementVisionRenderer\\\"===e?ut(lt(st(\\\"plotly\\\"),this)):J.prototype.q2m.call(this,t)},Ot.$metadata$=A(\\\"PlotlyPlugin\\\",[pt],void 0,void 0,void 0,J.prototype),At.prototype.gy=P,Mt.prototype.r36=N,Mt.prototype.t36=F,Mt.prototype.w36=U,Mt.prototype.p36=q,Et.prototype.r36=N,Et.prototype.t36=F,Et.prototype.w36=U,Et.prototype.p36=q,Tt.prototype.c37=W,Tt.prototype.d37=X,Ot.prototype.c2=ct,Ot.prototype.v1m=ht,t.$_$=t.$_$||{},t.$_$.a=kt}(t.exports,n(3645),n(5102),n(8744),n(7646),n(384),n(2119),n(5247))},5798:(t,e,n)=>{!function(t,e,n,r,i,o,a,s){\\\"use strict\\\";var l,u,c,h,p,f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O,I,L,P,z,R,D,$,B,N,F,j,U,q,V,H,G,W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ut,ct,ht,pt,ft,dt,mt,vt,gt,yt,_t,bt,xt,wt,At=Math.imul,Ct=e.$_$.a5,Mt=e.$_$.j2,Et=n.$_$.aa,Tt=e.$_$.c4,St=e.$_$.g1,kt=n.$_$.da,Ot=n.$_$.b5,It=n.$_$.pb,Lt=r.$_$.f,Pt=e.$_$.q4,zt=n.$_$.ib,Rt=i.$_$.k2,Dt=e.$_$.f1,$t=i.$_$.x,Bt=i.$_$.m2,Nt=n.$_$.f,Ft=i.$_$.e,jt=i.$_$.h,Ut=n.$_$.oe,qt=i.$_$.f2,Vt=i.$_$.g2,Ht=i.$_$.o2,Gt=r.$_$.c1,Wt=r.$_$.d1,Xt=n.$_$.ee,Yt=i.$_$.t,Zt=n.$_$.yb,Kt=n.$_$.b6,Jt=n.$_$.a1,Qt=n.$_$.mb,te=n.$_$.a2,ee=n.$_$.p7,ne=i.$_$.b2,re=n.$_$.d2,ie=n.$_$.b7,oe=n.$_$.d8,ae=n.$_$.ga,se=n.$_$.ka,le=e.$_$.d1,ue=n.$_$.y5,ce=e.$_$.l1,he=r.$_$.p,pe=e.$_$.c,fe=e.$_$.g,de=e.$_$.e,me=e.$_$.d,ve=e.$_$.s1,ge=e.$_$.h,ye=e.$_$.p1,_e=r.$_$.t1,be=r.$_$.i2,xe=r.$_$.l,we=r.$_$.r1,Ae=n.$_$.kf,Ce=n.$_$.j,Me=n.$_$.jf,Ee=i.$_$.l2,Te=e.$_$.s3,Se=n.$_$.dc,ke=n.$_$.ha,Oe=n.$_$.bc,Ie=r.$_$.z1,Le=e.$_$.q,Pe=e.$_$.f,ze=e.$_$.v2,Re=e.$_$.y4,De=r.$_$.j1,$e=n.$_$.pe,Be=e.$_$.k3,Ne=e.$_$.w2,Fe=e.$_$.b3,je=n.$_$.qf,Ue=e.$_$.v1,qe=e.$_$.h3,Ve=e.$_$.c3,He=n.$_$.ta,Ge=r.$_$.c2,We=n.$_$.qb,Xe=e.$_$.q3,Ye=e.$_$.s2,Ze=n.$_$.va,Ke=r.$_$.i,Je=r.$_$.v,Qe=e.$_$.b1,tn=e.$_$.j1,en=i.$_$.h2,nn=r.$_$.j,rn=r.$_$.t,on=n.$_$.b1,an=n.$_$.o8,sn=r.$_$.y,ln=r.$_$.x,un=i.$_$.u,cn=i.$_$.s,hn=e.$_$.r1,pn=e.$_$.t2,fn=n.$_$.s7,dn=e.$_$.v3,mn=e.$_$.l2,vn=e.$_$.m2,gn=e.$_$.d3,yn=e.$_$.y2,_n=e.$_$.y1,bn=n.$_$.m9,xn=o.$_$.q,wn=n.$_$.x8,An=r.$_$.p1,Cn=n.$_$.w5,Mn=e.$_$.i1,En=r.$_$.u,Tn=r.$_$.d2,Sn=n.$_$.s6,kn=e.$_$.r2,On=e.$_$.n1,In=r.$_$.s1,Ln=r.$_$.e2,Pn=r.$_$.o1,zn=r.$_$.d,Rn=o.$_$.g,Dn=o.$_$.f,$n=n.$_$.x5,Bn=n.$_$.mc,Nn=n.$_$.lc,Fn=n.$_$.ic,jn=e.$_$.p4,Un=r.$_$.a,qn=r.$_$.b,Vn=r.$_$.z,Hn=r.$_$.c,Gn=r.$_$.l1,Wn=n.$_$.x6,Xn=o.$_$.m,Yn=r.$_$.f1,Zn=r.$_$.e1,Kn=r.$_$.g1,Jn=r.$_$.h1,Qn=e.$_$.n4,tr=e.$_$.z4,er=e.$_$.o4,nr=e.$_$.c5,rr=o.$_$.k,ir=o.$_$.j,or=r.$_$.a1,ar=e.$_$.b5,sr=r.$_$.n,lr=r.$_$.k,ur=e.$_$.h1,cr=(n.$_$.n9,a.$_$.e),hr=n.$_$.ff,pr=n.$_$.cf,fr=n.$_$.c,dr=i.$_$.e3,mr=i.$_$.w2,vr=a.$_$.c,gr=a.$_$.b,yr=i.$_$.r2,_r=i.$_$.q2,br=r.$_$.o,xr=r.$_$.b1,wr=r.$_$.s,Ar=s.$_$.m,Cr=a.$_$.h,Mr=r.$_$.i1,Er=a.$_$.f,Tr=a.$_$.g,Sr=n.$_$.nb,kr=n.$_$.eb,Or=n.$_$.s4,Ir=e.$_$.o1,Lr=n.$_$.b,Pr=n.$_$.k5,zr=n.$_$.je,Rr=e.$_$.i,Dr=e.$_$.m,$r=e.$_$.n,Br=e.$_$.q1,Nr=n.$_$.r7,Fr=e.$_$.t,jr=e.$_$.p,Ur=n.$_$.p4,qr=e.$_$.l;function Vr(t){ki(t,this.a3q(),this.d3q(),this.c3q(),this.b3q(),null,null,48),ki(t,this.a3q(),this.b3q(),this.f3q(),this.e3q(),null,null,48),ki(t,this.b3q(),this.c3q(),this.g3q(),this.f3q(),null,null,48),ki(t,this.d3q(),this.h3q(),this.g3q(),this.c3q(),null,null,48),ki(t,this.a3q(),this.e3q(),this.h3q(),this.d3q(),null,null,48),ki(t,this.h3q(),this.e3q(),this.f3q(),this.g3q(),null,null,48)}function Hr(t,e){this.v3m_1=t,this.w3m_1=e}function Gr(t,e){var n,r;return new Wr((n=t,r=e,function(t,e){var i=n.f2n(),o=Lt(i,!0,null,2,null),a=r;return new Hr(o,null==a?Pt(e.callableName):a)}))}function Wr(t){this.x3m_1=t}function Xr(){l=this}function Yr(){return null==l&&new Xr,l}function Zr(){u=this;var t=new Rt(\\\"solid.composite\\\",this,4);t.mx(\\\"properties\\\",!0),t.mx(\\\"compositeType\\\",!1),t.mx(\\\"first\\\",!1),t.mx(\\\"second\\\",!1),this.y3m_1=t}function Kr(){return null==u&&new Zr,u}function Jr(t,e,n){Yr(),ha.call(this),this.d3n_1=t,this.e3n_1=e,this.f3n_1=n}function Qr(){return[(ti(),c),(ti(),h),(ti(),p),(ti(),f)]}function ti(){if(d)return Ot();d=!0,c=new ei(\\\"GROUP\\\",0),h=new ei(\\\"UNION\\\",1),p=new ei(\\\"INTERSECT\\\",2),f=new ei(\\\"SUBTRACT\\\",3)}function ei(t,e){Xt.call(this,t,e)}function ni(){m=this}function ri(){return null==m&&new ni,m}function ii(){v=this;var t=new Rt(\\\"solid.cone\\\",this,6);t.mx(\\\"properties\\\",!0),t.mx(\\\"bottomRadius\\\",!1),t.mx(\\\"height\\\",!1),t.mx(\\\"topRadius\\\",!1),t.mx(\\\"startAngle\\\",!0),t.mx(\\\"angle\\\",!0),this.j3n_1=t}function oi(){return null==v&&new ii,v}function ai(t,e,n,r,i){var o=Zt(0,t),a=Jt(Kt(o,10)),s=o.e1_1,l=o.f1_1;if(s<=l)do{var u,c=s;s=s+1|0;var h=e.r3n_1+n*c,p=r*Math.cos(h),f=e.r3n_1+n*c;u=bs(p,r*Math.sin(f),i),a.a(u)}while(c!==l);return a}function si(t,e,n,r,i){ri(),ha.call(this),this.o3n_1=t,this.p3n_1=e,this.q3n_1=n,this.r3n_1=r,this.s3n_1=i}function li(){g=this}function ui(){return null==g&&new li,g}function ci(){y=this;var t=new Rt(\\\"solid.coneSurface\\\",this,8);t.mx(\\\"properties\\\",!0),t.mx(\\\"bottomRadius\\\",!1),t.mx(\\\"bottomInnerRadius\\\",!1),t.mx(\\\"height\\\",!1),t.mx(\\\"topRadius\\\",!1),t.mx(\\\"topInnerRadius\\\",!1),t.mx(\\\"startAngle\\\",!0),t.mx(\\\"angle\\\",!0),this.a3o_1=t}function hi(){return null==y&&new ci,y}function pi(t,e,n,r,i){var o=Zt(0,t),a=Jt(Kt(o,10)),s=o.e1_1,l=o.f1_1;if(s<=l)do{var u,c=s;s=s+1|0;var h=e.k3o_1+n*c,p=r*Math.cos(h),f=e.k3o_1+n*c;u=bs(p,r*Math.sin(f),i),a.a(u)}while(c!==l);return a}function fi(t,e,n,r,i,o,a){if(ui(),ha.call(this),this.f3o_1=t,this.g3o_1=e,this.h3o_1=n,this.i3o_1=r,this.j3o_1=i,this.k3o_1=o,this.l3o_1=a,!(this.f3o_1>0))throw te(Qt(\\\"Cone surface bottom radius must be positive\\\"));if(!(this.h3o_1>0))throw te(Qt(\\\"Cone surface height must be positive\\\"));if(!(this.g3o_1>=0))throw te(Qt(\\\"Cone surface bottom inner radius must be non-negative\\\"));var s=ks(),l=this.l3o_1;if(!(0<=l&&l<=s))throw te(Qt(\\\"Failed requirement.\\\"))}function di(){_=this}function mi(){return null==_&&new di,_}function vi(){b=this;var t=new Rt(\\\"solid.convex\\\",this,2);t.mx(\\\"properties\\\",!0),t.mx(\\\"points\\\",!1),this.o3o_1=t}function gi(){return null==b&&new vi,b}function yi(t){mi(),ha.call(this),this.t3o_1=t}function _i(){x=this,this.u3o_1=\\\"solid.extruded\\\"}function bi(){return null==x&&new _i,x}function xi(){w=this;var t=new Rt(\\\"solid.extrude\\\",this,3);t.mx(\\\"properties\\\",!0),t.mx(\\\"shape\\\",!1),t.mx(\\\"layers\\\",!1),this.v3o_1=t}function wi(){return null==w&&new xi,w}function Ai(t,e){bi(),ha.call(this),this.a3p_1=t,this.b3p_1=e}function Ci(){A=this;var t=new Rt(\\\"space.kscience.visionforge.solid.Layer\\\",this,4);t.mx(\\\"x\\\",!1),t.mx(\\\"y\\\",!1),t.mx(\\\"z\\\",!1),t.mx(\\\"scale\\\",!1),this.i3p_1=t}function Mi(){return null==A&&new Ci,A}function Ei(){}function Ti(){}function Si(){}function ki(t,e,n,r,i,o,a,s,l){return 0!=(16&s)&&(o=null),0!=(32&s)&&(a=le().r1m_1),function(t,e,n,r,i,o,a){t.o3p(e,n,r,o,a),t.o3p(e,r,i,o,a)}(t,e,n,r,i,o,a)}function Oi(t,e,n,r,i){return 0!=(2&r)&&(n=null),function(t,e,n){for(var r=Jt(Kt(e,10)),i=e.e();i.f();){var o;o=i.g().k3p(),r.a(o)}for(var a=ue(r),s=Jt(Kt(e,10)),l=e.e();l.f();){var u;u=l.g().l3p(),s.a(u)}for(var c=ue(s),h=Jt(Kt(e,10)),p=e.e();p.f();){var f;f=p.g().m3p(),h.a(f)}var d=bs(a,c,ue(h)),m=0,v=e.h()-1|0;if(m<v)do{var g=m;m=m+1|0;var y=e.j(g),_=e.j(g+1|0);t.z3n(y,_,d,n,null,16,null)}while(m<v);var b=ee(e),x=ie(e);t.z3n(b,x,d,n,null,16,null)}(t,e,n)}function Ii(){C=this}function Li(){return null==C&&new Ii,C}function Pi(){M=this;var t=new Rt(\\\"solid.box\\\",this,4);t.mx(\\\"properties\\\",!0),t.mx(\\\"xSize\\\",!1),t.mx(\\\"ySize\\\",!1),t.mx(\\\"zSize\\\",!1),this.p3p_1=t}function zi(){return null==M&&new Pi,M}function Ri(t,e,n){Li(),ha.call(this),this.u3p_1=t,this.v3p_1=e,this.w3p_1=n}function Di(){E=this}function $i(){return null==E&&new Di,E}function Bi(){T=this;var t=new Rt(\\\"solid.hexagon\\\",this,9);t.mx(\\\"properties\\\",!0),t.mx(\\\"node1\\\",!1),t.mx(\\\"node2\\\",!1),t.mx(\\\"node3\\\",!1),t.mx(\\\"node4\\\",!1),t.mx(\\\"node5\\\",!1),t.mx(\\\"node6\\\",!1),t.mx(\\\"node7\\\",!1),t.mx(\\\"node8\\\",!1),this.i3q_1=t}function Ni(){return null==T&&new Bi,T}function Fi(t,e,n,r,i,o,a,s){$i(),ha.call(this),this.n3q_1=t,this.o3q_1=e,this.p3q_1=n,this.q3q_1=r,this.r3q_1=i,this.s3q_1=o,this.t3q_1=a,this.u3q_1=s}function ji(){}function Ui(){S=this}function qi(){return null==S&&new Ui,S}function Vi(){k=this;var t=new Rt(\\\"solid.light.ambient\\\",this,1);t.mx(\\\"properties\\\",!0),this.v3q_1=t}function Hi(){return null==k&&new Vi,k}function Gi(){qi(),uo.call(this)}function Wi(){O=this}function Xi(){return null==O&&new Wi,O}function Yi(){I=this;var t=new Rt(\\\"solid.light.point\\\",this,1);t.mx(\\\"properties\\\",!0),this.e3r_1=t}function Zi(){return null==I&&new Yi,I}function Ki(){Xi(),uo.call(this)}function Ji(){var t=new ce,e=he().g3d_1,n=pe();fe(t,e,n,[],Qi,4,null);var r=ke(\\\"color\\\",1,Se,(function(t){return t.t35()}),null).callableName,i=de(),o=[me()];ve(t,r,i,o,to);var a=ke(\\\"intensity\\\",1,Oe,(function(t){return t.d3r()}),(function(t,e){return t.c3r(e)})).callableName,s=me();ge(t,a,s,[],eo,4,null);var l=Vo().n3r_1;return ye(t,l,no),t.v3()}function Qi(t){return _e(t,!1),t.w1s(!0),Ot()}function to(t){return _e(t,!1),be(t,\\\"color\\\"),xe(),t.w1s(16777215),Ot()}function eo(t){return _e(t,!1),t.w1s(1),Ot()}function no(t){return we(t),Ot()}function ro(){var t=Nt(uo);return Ft(t,[])}function io(){L=this,this.c3s_1=Pt(\\\"intensity\\\"),this.d3s_1=Ae(Ji);var t=Ce();this.e3s_1=Me(t,ro)}function oo(){return null==L&&new io,L}function ao(t,e,n,r){ca(t,e,n,r),r.a3r_1=Gr(r,Ia().h3s_1);var i=r,o=r.f2n(),a=Lt(o,null,!1,1,null),s=oo().c3s_1;return i.b3r_1=Te(a,s,lo),r}function so(){return 1}function lo(){return 1}function uo(){oo(),ha.call(this),this.a3r_1=Gr(this,Ia().h3s_1);var t=this.f2n(),e=Lt(t,null,!1,1,null),n=oo().c3s_1;this.b3r_1=Te(e,n,so)}function co(){P=this,this.x3s_1=1}function ho(){return null==P&&new co,P}function po(){z=this;var t=new Rt(\\\"solid.line\\\",this,2);t.mx(\\\"properties\\\",!0),t.mx(\\\"points\\\",!1),this.y3s_1=t}function fo(){return null==z&&new po,z}function mo(){return ho(),1}function vo(){return ho(),1}function go(t){ho(),ha.call(this),this.d3t_1=t;var e=Ie(this.f2n(),!1,!0);this.e3t_1=Le(e,null,mo,1,null)}function yo(t,e){return aa(),R.t7(t,ke(\\\"x\\\",1,Oe,(function(t){return _o(t)}),(function(t,e){return yo(t,e)})),e)}function _o(t){return aa(),R.s7(t,ke(\\\"x\\\",1,Oe,(function(t){return _o(t)}),(function(t,e){return yo(t,e)})))}function bo(t,e){return aa(),D.t7(t,ke(\\\"y\\\",1,Oe,(function(t){return xo(t)}),(function(t,e){return bo(t,e)})),e)}function xo(t){return aa(),D.s7(t,ke(\\\"y\\\",1,Oe,(function(t){return xo(t)}),(function(t,e){return bo(t,e)})))}function wo(t,e){return aa(),$.t7(t,ke(\\\"z\\\",1,Oe,(function(t){return Ao(t)}),(function(t,e){return wo(t,e)})),e)}function Ao(t){return aa(),$.s7(t,ke(\\\"z\\\",1,Oe,(function(t){return Ao(t)}),(function(t,e){return wo(t,e)})))}function Co(t,e){return aa(),B.t7(t,ke(\\\"rotationX\\\",1,Oe,(function(t){return Mo(t)}),(function(t,e){return Co(t,e)})),e)}function Mo(t){return aa(),B.s7(t,ke(\\\"rotationX\\\",1,Oe,(function(t){return Mo(t)}),(function(t,e){return Co(t,e)})))}function Eo(t,e){return aa(),N.t7(t,ke(\\\"rotationY\\\",1,Oe,(function(t){return To(t)}),(function(t,e){return Eo(t,e)})),e)}function To(t){return aa(),N.s7(t,ke(\\\"rotationY\\\",1,Oe,(function(t){return To(t)}),(function(t,e){return Eo(t,e)})))}function So(t,e){return aa(),F.t7(t,ke(\\\"rotationZ\\\",1,Oe,(function(t){return ko(t)}),(function(t,e){return So(t,e)})),e)}function ko(t){return aa(),F.s7(t,ke(\\\"rotationZ\\\",1,Oe,(function(t){return ko(t)}),(function(t,e){return So(t,e)})))}function Oo(t,e){return aa(),j.t7(t,ke(\\\"scaleX\\\",1,Oe,(function(t){return Io(t)}),(function(t,e){return Oo(t,e)})),e)}function Io(t){return aa(),j.s7(t,ke(\\\"scaleX\\\",1,Oe,(function(t){return Io(t)}),(function(t,e){return Oo(t,e)})))}function Lo(t,e){return aa(),U.t7(t,ke(\\\"scaleY\\\",1,Oe,(function(t){return Po(t)}),(function(t,e){return Lo(t,e)})),e)}function Po(t){return aa(),U.s7(t,ke(\\\"scaleY\\\",1,Oe,(function(t){return Po(t)}),(function(t,e){return Lo(t,e)})))}function zo(t,e){return aa(),q.t7(t,ke(\\\"scaleZ\\\",1,Oe,(function(t){return Ro(t)}),(function(t,e){return zo(t,e)})),e)}function Ro(t){return aa(),q.s7(t,ke(\\\"scaleZ\\\",1,Oe,(function(t){return Ro(t)}),(function(t,e){return zo(t,e)})))}function Do(){var t=new ce,e=he().g3d_1,n=pe();fe(t,e,n,[],$o,4,null);var r=Ia().g3s_1.toString(),i=Ia();Pe(t,r,i,null,4,null);var o=he().e3d_1,a=de();fe(t,o,a,[],Bo,4,null);var s=Vo().n3r_1;ye(t,s,No);var l=Vo().r3r_1;ye(t,l,Fo);var u=Vo().x3r_1;ye(t,u,jo);var c=Vo().g3r_1,h=me();fe(t,c,h,[],Uo,4,null);var p,f=Vo().w3r_1,d=ta(),m=de();return fe(t,f,m,[],(p=d,function(t){var e;null==p||(t.m1s_1=ze(p),Ot());for(var n=[ta(),ea(),na(),ra(),ia(),oa()],r=Jt(n.length),i=n,o=0,a=i.length;o<a;){var s,l=i[o];o=o+1|0,s=ze(l),r.a(s)}return e=r,t.a1t(e),we(t),Ot()}),4,null),t.v3()}function $o(t){return _e(t,!1),t.w1s(!0),Ot()}function Bo(t){return t.h1s_1=!0,we(t),Ot()}function No(t){return we(t),Ot()}function Fo(t){return we(t),Ot()}function jo(t){return we(t),Ot()}function Uo(t){return we(t),Ot()}function qo(){V=this,this.g3r_1=Pt(\\\"detail\\\"),this.h3r_1=Pt(\\\"layer\\\"),this.i3r_1=Pt(\\\"ignore\\\"),this.j3r_1=Pt(\\\"geometry\\\"),this.k3r_1=Pt(\\\"x\\\"),this.l3r_1=Pt(\\\"y\\\"),this.m3r_1=Pt(\\\"z\\\"),this.n3r_1=Pt(\\\"position\\\"),this.o3r_1=Ct(this.n3r_1,this.k3r_1),this.p3r_1=Ct(this.n3r_1,this.l3r_1),this.q3r_1=Ct(this.n3r_1,this.m3r_1),this.r3r_1=Pt(\\\"rotation\\\"),this.s3r_1=Pt(\\\"quaternion\\\"),this.t3r_1=Ct(this.r3r_1,this.k3r_1),this.u3r_1=Ct(this.r3r_1,this.l3r_1),this.v3r_1=Ct(this.r3r_1,this.m3r_1),this.w3r_1=Re(this.r3r_1,\\\"order\\\"),this.x3r_1=Pt(\\\"scale\\\"),this.y3r_1=Ct(this.x3r_1,this.k3r_1),this.z3r_1=Ct(this.x3r_1,this.l3r_1),this.a3s_1=Ct(this.x3r_1,this.m3r_1),this.b3s_1=Ae(Do)}function Vo(){return null==V&&new qo,V}function Ho(){Vo()}function Go(t,e){return aa(),new Jo(t,e)}function Wo(t,e){return aa(),new Qo(t,e)}function Xo(){if(K)return Ot();K=!0,H=new Yo(\\\"XYZ\\\",0),G=new Yo(\\\"YZX\\\",1),W=new Yo(\\\"ZXY\\\",2),X=new Yo(\\\"XZY\\\",3),Y=new Yo(\\\"YXZ\\\",4),Z=new Yo(\\\"ZYX\\\",5)}function Yo(t,e){Xt.call(this,t,e)}function Zo(t){aa();var e=t.f2n(),n=Vo().g3r_1,r=e.p36(n,!1,null,4,null);return null==r?null:Be(r)}function Ko(t,e){this.n3t_1=t,this.o3t_1=e}function Jo(t,e){this.p3t_1=t,this.q3t_1=e}function Qo(t,e){this.t3t_1=t,this.u3t_1=e}function ta(){return Xo(),H}function ea(){return Xo(),G}function na(){return Xo(),W}function ra(){return Xo(),X}function ia(){return Xo(),Y}function oa(){return Xo(),Z}function aa(){J||(J=!0,Go(Vo().n3r_1,0),Go(Vo().r3r_1,0),Go(Vo().x3r_1,1),R=Wo(Vo().o3r_1,0),D=Wo(Vo().p3r_1,0),$=Wo(Vo().q3r_1,0),B=Wo(Vo().t3r_1,0),N=Wo(Vo().u3r_1,0),F=Wo(Vo().v3r_1,0),j=Wo(Vo().y3r_1,1),U=Wo(Vo().z3r_1,1),q=Wo(Vo().a3s_1,1))}function sa(){Q=this;var t=new Rt(\\\"solid\\\",null,1);t.mx(\\\"properties\\\",!0),la().y3t_1=t}function la(){return null==Q&&new sa,Q}function ua(){var t=new Rt(\\\"solid\\\",this,1);t.mx(\\\"properties\\\",!0),this.w3t_1=t}function ca(t,e,n,r){return 0!=(0&t)&&Ht(t,0,la().y3t_1),Ke(t,e,n,r),r}function ha(){la(),Je.call(this)}function pa(){tt=this,this.g3u_1=Qe(\\\"@prototypes\\\",null,2,null)}function fa(){return null==tt&&new pa,tt}function da(){et=this;var t=new Rt(\\\"group.solid\\\",this,2);t.mx(\\\"properties\\\",!0),t.mx(\\\"children\\\",!0),this.i3u_1=t}function ma(){return null==et&&new da,et}function va(){fa(),rn.call(this)}function ga(){}function ya(){nt=this}function _a(){return null==nt&&new ya,nt}function ba(){rt=this;var t=new Rt(\\\"solid.label\\\",this,4);t.mx(\\\"properties\\\",!0),t.mx(\\\"text\\\",!1),t.mx(\\\"fontSize\\\",!1),t.mx(\\\"fontFamily\\\",!1),this.m3u_1=t}function xa(){return null==rt&&new ba,rt}function wa(t,e,n){_a(),ha.call(this),this.r3u_1=t,this.s3u_1=e,this.t3u_1=n}function Aa(){var t=new ce;_e(t,!0);var e=Ia().i3s_1,n=de();fe(t,e,n,[],Ca,4,null);var r=Ia().h3s_1,i=de(),o=[me()];hn(t,r,i,o,Ma);var a=Ia().j3s_1,s=de(),l=[me()];hn(t,a,s,l,Ea);var u=Ia().k3s_1,c=de(),h=[me()];hn(t,u,c,h,Ta);var p=Ia().l3s_1,f=me();fe(t,p,f,[],Sa,4,null);var d=Ia().n3s_1,m=pe();return fe(t,d,m,[],ka,4,null),t.v3()}function Ca(t){return _e(t,!0),t.a1t(fn([pn(\\\"default\\\"),pn(\\\"simple\\\")])),t.w1s(\\\"default\\\"),Ot()}function Ma(t){return _e(t,!0),be(t,\\\"color\\\"),Ot()}function Ea(t){return _e(t,!0),be(t,\\\"color\\\"),we(t),Ot()}function Ta(t){return _e(t,!0),be(t,\\\"color\\\"),we(t),Ot()}function Sa(t){return _e(t,!0),t.w1s(1),dn(t.n1s_1,\\\"min\\\",0),dn(t.n1s_1,\\\"max\\\",1),dn(t.n1s_1,\\\"step\\\",.1),be(t,\\\"slider\\\"),Ot()}function ka(t){return _e(t,!0),t.w1s(!1),Ot()}function Oa(){var t;it=this,mn.call(this,((t=function(){return new La}).callableName=\\\"<init>\\\",t)),this.g3s_1=Pt(\\\"material\\\"),this.h3s_1=Pt(\\\"color\\\"),this.i3s_1=Pt(\\\"type\\\"),this.j3s_1=Pt(\\\"specularColor\\\"),this.k3s_1=Pt(\\\"emissiveColor\\\"),this.l3s_1=Pt(\\\"opacity\\\"),this.m3s_1=Ct(this.g3s_1,this.l3s_1),this.n3s_1=Pt(\\\"wireframe\\\"),this.o3s_1=Ct(this.g3s_1,this.h3s_1),this.p3s_1=Ct(this.g3s_1,this.k3s_1),this.q3s_1=Ct(this.g3s_1,this.j3s_1),this.r3s_1=Ct(this.g3s_1,this.n3s_1),this.s3s_1=Pt(\\\"edges\\\"),this.t3s_1=Pt(\\\"enabled\\\"),this.u3s_1=Ct(this.s3s_1,this.t3s_1),this.v3s_1=Ct(this.s3s_1,this.g3s_1),this.w3s_1=Ae(Aa)}function Ia(){return null==it&&new Oa,it}function La(){Ia(),vn.call(this),this.k3v_1=new Hr(this.i1q_1,Ia().h3s_1),this.l3v_1=new Hr(this.i1q_1,Ia().j3s_1),this.m3v_1=new Hr(this.i1q_1,Ia().k3s_1),this.n3v_1=gn(this,1,Ia().l3s_1),this.o3v_1=yn(this,!1,Ia().n3s_1)}function Pa(t){var e,n=t;if(n instanceof Wa)e=Pa(t.u3v());else if(n instanceof is)e=Pa(t.u3v());else{if(!He(n,Ho))throw re(\\\"This Vision is neither Solid nor SolidReference\\\");e=t}return e}function za(t,e,n){this.i3w_1=t,this.j3w_1=e,bn.call(this,n)}function Ra(t){return Cn(t.o1l())}function Da(t){return t.u2()}function $a(t,e,n){this.t3w_1=t,this.u3w_1=e,bn.call(this,n)}function Ba(t){return Cn(t.o1l())}function Na(t){return t.u2()}function Fa(){ot=this,this.w3w_1=\\\"@child\\\"}function ja(){return null==ot&&new Fa,ot}function Ua(){at=this;var t=new Rt(\\\"solid.ref\\\",this,2);t.mx(\\\"prototype\\\",!1),t.mx(\\\"properties\\\",!0),this.x3w_1=t}function qa(){return null==at&&new Ua,at}function Va(t){this.c3x_1=t,En.call(this,t)}function Ha(t){this.d3x_1=t}function Ga(t){this.h3x_1=t,En.call(this,t)}function Wa(t){var e;ja(),this.v3v_1=t,this.w3v_1=null,this.x3v_1=Ae((e=this,function(){if(null==e.w3v_1)throw re(\\\"No parent is present for SolidReference\\\");var t=e.w3v_1;if(null==t||!He(t,ga))throw re(\\\"Parent does not hold prototypes\\\");var n=e.w3v_1,r=null!=n&&He(n,ga)?n:null,i=null==r?null:r.l3u(e.v3v_1);if(null==i){var o=\\\"Prototype with name \\\"+e.v3v_1+\\\" not found\\\";throw re(Qt(o))}return i})),this.y3v_1=null,this.z3v_1=Ae(function(t){return function(){return new Va(t)}}(this))}function Xa(t,e){return ja(),new Qn(\\\"@child\\\",e.toString())}function Ya(t,e,n){this.q3x_1=t,this.r3x_1=e,bn.call(this,n)}function Za(t,e,n){var r=new Ya(t,e,n),i=function(t,e){return r.z3d(t,e)};return i.$arity=1,i}function Ka(t,e,n){bn.call(this,n),this.c3y_1=t,this.d3y_1=e}function Ja(t,e){this.e3y_1=t,this.f3y_1=e}function Qa(){st=this}function ts(){return null==st&&new Qa,st}function es(t){this.h3y_1=t}function ns(t){this.j3y_1=t,this.i3y_1=Ae(function(t){return function(){var e=t.p3v_1.f2n(),n=jn(Xa(ts(),t.r3v_1));return e.w36(n,null,null,6,null)}}(t))}function rs(t){this.k3y_1=t}function is(t,e,n){ts(),this.p3v_1=t,this.q3v_1=e,this.r3v_1=n,this.s3v_1=new ns(this),this.t3v_1=new rs(this)}function os(t,e){var n=fa().y1a();t.e17(Nt(va),n),Ot();var r=ja().y1a();t.e17(Nt(Wa),r),Ot();var i=Yr().y1a();t.e17(Nt(Jr),i),Ot();var o=Li().y1a();t.e17(Nt(Ri),o),Ot();var a=$i().y1a();t.e17(Nt(Fi),a),Ot();var s=ri().y1a();t.e17(Nt(si),s),Ot();var l=ui().y1a();t.e17(Nt(fi),l),Ot();var u=mi().y1a();t.e17(Nt(yi),u),Ot();var c=bi().y1a();t.e17(Nt(Ai),c),Ot();var h=ho().y1a();t.e17(Nt(go),h),Ot();var p=_a().y1a();t.e17(Nt(wa),p),Ot();var f=ds().y1a();t.e17(Nt(ys),f),Ot();var d=qi().y1a();t.e17(Nt(Gi),d),Ot();var m=Xi().y1a();t.e17(Nt(Ki),m),Ot()}function as(){var t,e,n,r=cr(\\\"@Solids\\\",ss),i=hs(),o=le().r1m_1,a=r.z2m().q2o(i.c9(),i.k2m(),!0);if(null!=a&&a.n1l().equals(o))t=a;else{var s,l=Re(r.t2m_1,i.k2m().l2o_1);s=r.i2n(l,(e=i,n=o,function(t){return t.o2n(e,n),Ot()})).z2m().q2o(i.c9(),i.k2m(),!0),t=hr(s)}return t}function ss(t){var e=hs();return t.q2n(e,null,2,null),Ot()}function ls(t){var e,n=la(),r=dr(fr(Nt(Ho),pr([]),!1));return e=He(r,mr)?r:Ut(),n.z3t(e)}function us(t){return t.k19_1=!1,t.w19_1=hs().o3y_1,Ot()}function cs(){lt=this,vr(),this.l3y_1=gr(\\\"vision.solid\\\",\\\"dataforge\\\",null,4,null),this.m3y_1=Nt(ps),this.n3y_1=Ae(as);var t,e=new yr,n=Nt(De),r=new _r(n,null),i=br().y1a();r.e17(Nt(xr),i),Ot(),os(r,hs()),r.h17(e);var o=Nt(Ho),a=new _r(o,null);a.g17(ls),os(a,hs()),a.h17(e),t=e.v3(),this.o3y_1=t;var s=wr().m3h_1;this.p3y_1=Ar(s,us)}function hs(){return null==lt&&new cs,lt}function ps(t){hs(),Mr.call(this,t)}function fs(){ut=this}function ds(){return null==ut&&new fs,ut}function ms(){ct=this;var t=new Rt(\\\"solid.sphere\\\",this,6);t.mx(\\\"properties\\\",!0),t.mx(\\\"radius\\\",!1),t.mx(\\\"phiStart\\\",!0),t.mx(\\\"phi\\\",!0),t.mx(\\\"thetaStart\\\",!0),t.mx(\\\"theta\\\",!0),this.u3y_1=t}function vs(){return null==ct&&new ms,ct}function gs(t,e,n){var r=t*Math.cos(e),i=t*Math.sin(e)*Math.sin(n);return bs(-t*Math.sin(e)*Math.cos(n),r,i)}function ys(t,e,n,r,i){ds(),ha.call(this),this.z3y_1=t,this.a3z_1=e,this.b3z_1=n,this.c3z_1=r,this.d3z_1=i}function _s(){}function bs(t,e,n){return new Ts(kr(t),kr(e),kr(n))}function xs(){ht=this,this.j3z_1=Cs().y1a().nn()}function ws(){return null==ht&&new xs,ht}function As(){pt=this}function Cs(){return null==pt&&new As,pt}function Ms(){ft=this;var t=new Rt(\\\"space.kscience.visionforge.solid.Point3DImpl\\\",this,3);t.mx(\\\"x\\\",!1),t.mx(\\\"y\\\",!1),t.mx(\\\"z\\\",!1),this.l3z_1=t}function Es(){return null==ft&&new Ms,ft}function Ts(t,e,n){Cs(),this.n3z_1=t,this.o3z_1=e,this.p3z_1=n}function Ss(){}function ks(){return dt}function Os(){mt=this;var t=new Rt(\\\"space.kscience.visionforge.solid.Point2D\\\",this,2);t.mx(\\\"x\\\",!1),t.mx(\\\"y\\\",!1),this.q3z_1=t}function Is(){return null==mt&&new Os,mt}function Ls(){}function Ps(){var t,e=new ce,n=ke(\\\"visible\\\",1,Oe,(function(t){return t.h40()}),(function(t,e){return t.g40(e)})),r=zs,i=fr(Or().ti(),pr([]),!1);if(kt(i,fr(Or().ri(),pr([]),!1))||kt(i,fr(Or().wi(),pr([]),!1))||kt(i,fr(Or().yi(),pr([]),!1))||kt(i,fr(Or().vi(),pr([]),!1))||kt(i,fr(Nt(zr),pr([]),!1))||kt(i,fr(Or().xi(),pr([]),!1))){var o=n.callableName,a=me();ge(e,o,a,[],(t=r,function(e){return t(e),Ot()}),4,null)}else if(kt(i,fr(Or().ri(),pr([]),!0))||kt(i,fr(Or().wi(),pr([]),!0))||kt(i,fr(Or().yi(),pr([]),!0))||kt(i,fr(Or().vi(),pr([]),!0))||kt(i,fr(Nt(zr),pr([]),!0))||kt(i,fr(Or().xi(),pr([]),!0))){var s=n.callableName,l=me();ge(e,s,l,[],function(t){return function(e){return t(e),Ot()}}(r),4,null)}else if(kt(i,fr(Or().ti(),pr([]),!1))){var u=n.callableName,c=pe();ge(e,u,c,[],function(t){return function(e){return t(e),Ot()}}(r),4,null)}else if(kt(i,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(i,fr(Or().gj(),pr([]),!1))||kt(i,fr(Or().jj(),pr([]),!1))||kt(i,fr(Or().fj(),pr([]),!1))||kt(i,fr(Or().hj(),pr([]),!1))||kt(i,fr(Or().ij(),pr([]),!1))){var h=n.callableName,p=me();ge(e,h,p,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(r),4,null)}else if(kt(i,fr(Or().aj(),pr([]),!1))){var f=n.callableName,d=de();ge(e,f,d,[],function(t){return function(e){return t(e),Ot()}}(r),4,null)}else if(kt(i,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(i,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var m=n.callableName,v=de();ge(e,m,v,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(r),4,null)}else Ir(e,n.callableName,r);var g,y=ke(\\\"size\\\",1,Oe,(function(t){return t.h()}),(function(t,e){return t.i40(e)})),_=Rs,b=fr(Or().yi(),pr([]),!1);if(kt(b,fr(Or().ri(),pr([]),!1))||kt(b,fr(Or().wi(),pr([]),!1))||kt(b,fr(Or().yi(),pr([]),!1))||kt(b,fr(Or().vi(),pr([]),!1))||kt(b,fr(Nt(zr),pr([]),!1))||kt(b,fr(Or().xi(),pr([]),!1))){var x=y.callableName,w=me();ge(e,x,w,[],(g=_,function(t){return g(t),Ot()}),4,null)}else if(kt(b,fr(Or().ri(),pr([]),!0))||kt(b,fr(Or().wi(),pr([]),!0))||kt(b,fr(Or().yi(),pr([]),!0))||kt(b,fr(Or().vi(),pr([]),!0))||kt(b,fr(Nt(zr),pr([]),!0))||kt(b,fr(Or().xi(),pr([]),!0))){var A=y.callableName,C=me();ge(e,A,C,[],function(t){return function(e){return t(e),Ot()}}(_),4,null)}else if(kt(b,fr(Or().ti(),pr([]),!1))){var M=y.callableName,E=pe();ge(e,M,E,[],function(t){return function(e){return t(e),Ot()}}(_),4,null)}else if(kt(b,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(b,fr(Or().gj(),pr([]),!1))||kt(b,fr(Or().jj(),pr([]),!1))||kt(b,fr(Or().fj(),pr([]),!1))||kt(b,fr(Or().hj(),pr([]),!1))||kt(b,fr(Or().ij(),pr([]),!1))){var T=y.callableName,S=me();ge(e,T,S,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(_),4,null)}else if(kt(b,fr(Or().aj(),pr([]),!1))){var k=y.callableName,O=de();ge(e,k,O,[],function(t){return function(e){return t(e),Ot()}}(_),4,null)}else if(kt(b,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(b,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var I=y.callableName,L=de();ge(e,I,L,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(_),4,null)}else Ir(e,y.callableName,_);var P,z=ke(\\\"width\\\",1,Oe,(function(t){return t.k40()}),(function(t,e){return t.j40(e)})),R=Ds,D=fr(Or().yi(),pr([]),!1);if(kt(D,fr(Or().ri(),pr([]),!1))||kt(D,fr(Or().wi(),pr([]),!1))||kt(D,fr(Or().yi(),pr([]),!1))||kt(D,fr(Or().vi(),pr([]),!1))||kt(D,fr(Nt(zr),pr([]),!1))||kt(D,fr(Or().xi(),pr([]),!1))){var $=z.callableName,B=me();ge(e,$,B,[],(P=R,function(t){return P(t),Ot()}),4,null)}else if(kt(D,fr(Or().ri(),pr([]),!0))||kt(D,fr(Or().wi(),pr([]),!0))||kt(D,fr(Or().yi(),pr([]),!0))||kt(D,fr(Or().vi(),pr([]),!0))||kt(D,fr(Nt(zr),pr([]),!0))||kt(D,fr(Or().xi(),pr([]),!0))){var N=z.callableName,F=me();ge(e,N,F,[],function(t){return function(e){return t(e),Ot()}}(R),4,null)}else if(kt(D,fr(Or().ti(),pr([]),!1))){var j=z.callableName,U=pe();ge(e,j,U,[],function(t){return function(e){return t(e),Ot()}}(R),4,null)}else if(kt(D,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(D,fr(Or().gj(),pr([]),!1))||kt(D,fr(Or().jj(),pr([]),!1))||kt(D,fr(Or().fj(),pr([]),!1))||kt(D,fr(Or().hj(),pr([]),!1))||kt(D,fr(Or().ij(),pr([]),!1))){var q=z.callableName,V=me();ge(e,q,V,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(R),4,null)}else if(kt(D,fr(Or().aj(),pr([]),!1))){var H=z.callableName,G=de();ge(e,H,G,[],function(t){return function(e){return t(e),Ot()}}(R),4,null)}else if(kt(D,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(D,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var W=z.callableName,X=de();ge(e,W,X,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(R),4,null)}else Ir(e,z.callableName,R);return e.v3()}function zs(t){return t.w1s(!1),Ot()}function Rs(t){return Bs(),t.w1s(1e3),Ot()}function Ds(t){return Bs(),t.w1s(3),Ot()}function $s(){var t;vt=this,mn.call(this,((t=function(){return new Ns}).callableName=\\\"<init>\\\",t)),this.t3z_1=1e3,this.u3z_1=3,this.v3z_1=Ae(Ps)}function Bs(){return null==vt&&new $s,vt}function Ns(){Bs(),vn.call(this),this.d40_1=Rr(this,!1,null,2,null),Bs(),this.e40_1=Dr(this,1e3,null,2,null),Bs(),this.f40_1=Dr(this,3,null,2,null)}function Fs(){var t,e=new ce,n=ke(\\\"fov\\\",1,Oe,(function(t){return t.l41()}),(function(t,e){return t.k41(e)})),r=js,i=fr(Or().wi(),pr([]),!1);if(kt(i,fr(Or().ri(),pr([]),!1))||kt(i,fr(Or().wi(),pr([]),!1))||kt(i,fr(Or().yi(),pr([]),!1))||kt(i,fr(Or().vi(),pr([]),!1))||kt(i,fr(Nt(zr),pr([]),!1))||kt(i,fr(Or().xi(),pr([]),!1))){var o=n.callableName,a=me();ge(e,o,a,[],(t=r,function(e){return t(e),Ot()}),4,null)}else if(kt(i,fr(Or().ri(),pr([]),!0))||kt(i,fr(Or().wi(),pr([]),!0))||kt(i,fr(Or().yi(),pr([]),!0))||kt(i,fr(Or().vi(),pr([]),!0))||kt(i,fr(Nt(zr),pr([]),!0))||kt(i,fr(Or().xi(),pr([]),!0))){var s=n.callableName,l=me();ge(e,s,l,[],function(t){return function(e){return t(e),Ot()}}(r),4,null)}else if(kt(i,fr(Or().ti(),pr([]),!1))){var u=n.callableName,c=pe();ge(e,u,c,[],function(t){return function(e){return t(e),Ot()}}(r),4,null)}else if(kt(i,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(i,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(i,fr(Or().gj(),pr([]),!1))||kt(i,fr(Or().jj(),pr([]),!1))||kt(i,fr(Or().fj(),pr([]),!1))||kt(i,fr(Or().hj(),pr([]),!1))||kt(i,fr(Or().ij(),pr([]),!1))){var h=n.callableName,p=me();ge(e,h,p,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(r),4,null)}else if(kt(i,fr(Or().aj(),pr([]),!1))){var f=n.callableName,d=de();ge(e,f,d,[],function(t){return function(e){return t(e),Ot()}}(r),4,null)}else if(kt(i,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(i,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var m=n.callableName,v=de();ge(e,m,v,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(r),4,null)}else Ir(e,n.callableName,r);var g,y=ke(\\\"nearClip\\\",1,Oe,(function(t){return t.n41()}),(function(t,e){return t.m41(e)})),_=Us,b=fr(Or().yi(),pr([]),!1);if(kt(b,fr(Or().ri(),pr([]),!1))||kt(b,fr(Or().wi(),pr([]),!1))||kt(b,fr(Or().yi(),pr([]),!1))||kt(b,fr(Or().vi(),pr([]),!1))||kt(b,fr(Nt(zr),pr([]),!1))||kt(b,fr(Or().xi(),pr([]),!1))){var x=y.callableName,w=me();ge(e,x,w,[],(g=_,function(t){return g(t),Ot()}),4,null)}else if(kt(b,fr(Or().ri(),pr([]),!0))||kt(b,fr(Or().wi(),pr([]),!0))||kt(b,fr(Or().yi(),pr([]),!0))||kt(b,fr(Or().vi(),pr([]),!0))||kt(b,fr(Nt(zr),pr([]),!0))||kt(b,fr(Or().xi(),pr([]),!0))){var A=y.callableName,C=me();ge(e,A,C,[],function(t){return function(e){return t(e),Ot()}}(_),4,null)}else if(kt(b,fr(Or().ti(),pr([]),!1))){var M=y.callableName,E=pe();ge(e,M,E,[],function(t){return function(e){return t(e),Ot()}}(_),4,null)}else if(kt(b,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(b,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(b,fr(Or().gj(),pr([]),!1))||kt(b,fr(Or().jj(),pr([]),!1))||kt(b,fr(Or().fj(),pr([]),!1))||kt(b,fr(Or().hj(),pr([]),!1))||kt(b,fr(Or().ij(),pr([]),!1))){var T=y.callableName,S=me();ge(e,T,S,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(_),4,null)}else if(kt(b,fr(Or().aj(),pr([]),!1))){var k=y.callableName,O=de();ge(e,k,O,[],function(t){return function(e){return t(e),Ot()}}(_),4,null)}else if(kt(b,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(b,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var I=y.callableName,L=de();ge(e,I,L,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(_),4,null)}else Ir(e,y.callableName,_);var P,z=ke(\\\"farClip\\\",1,Oe,(function(t){return t.p41()}),(function(t,e){return t.o41(e)})),R=qs,D=fr(Or().yi(),pr([]),!1);if(kt(D,fr(Or().ri(),pr([]),!1))||kt(D,fr(Or().wi(),pr([]),!1))||kt(D,fr(Or().yi(),pr([]),!1))||kt(D,fr(Or().vi(),pr([]),!1))||kt(D,fr(Nt(zr),pr([]),!1))||kt(D,fr(Or().xi(),pr([]),!1))){var $=z.callableName,B=me();ge(e,$,B,[],(P=R,function(t){return P(t),Ot()}),4,null)}else if(kt(D,fr(Or().ri(),pr([]),!0))||kt(D,fr(Or().wi(),pr([]),!0))||kt(D,fr(Or().yi(),pr([]),!0))||kt(D,fr(Or().vi(),pr([]),!0))||kt(D,fr(Nt(zr),pr([]),!0))||kt(D,fr(Or().xi(),pr([]),!0))){var N=z.callableName,F=me();ge(e,N,F,[],function(t){return function(e){return t(e),Ot()}}(R),4,null)}else if(kt(D,fr(Or().ti(),pr([]),!1))){var j=z.callableName,U=pe();ge(e,j,U,[],function(t){return function(e){return t(e),Ot()}}(R),4,null)}else if(kt(D,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(D,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(D,fr(Or().gj(),pr([]),!1))||kt(D,fr(Or().jj(),pr([]),!1))||kt(D,fr(Or().fj(),pr([]),!1))||kt(D,fr(Or().hj(),pr([]),!1))||kt(D,fr(Or().ij(),pr([]),!1))){var q=z.callableName,V=me();ge(e,q,V,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(R),4,null)}else if(kt(D,fr(Or().aj(),pr([]),!1))){var H=z.callableName,G=de();ge(e,H,G,[],function(t){return function(e){return t(e),Ot()}}(R),4,null)}else if(kt(D,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(D,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var W=z.callableName,X=de();ge(e,W,X,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(R),4,null)}else Ir(e,z.callableName,R);var Y,Z=ke(\\\"distance\\\",1,Oe,(function(t){return t.r41()}),(function(t,e){return t.q41(e)})),K=Vs,J=fr(Or().yi(),pr([]),!1);if(kt(J,fr(Or().ri(),pr([]),!1))||kt(J,fr(Or().wi(),pr([]),!1))||kt(J,fr(Or().yi(),pr([]),!1))||kt(J,fr(Or().vi(),pr([]),!1))||kt(J,fr(Nt(zr),pr([]),!1))||kt(J,fr(Or().xi(),pr([]),!1))){var Q=Z.callableName,tt=me();ge(e,Q,tt,[],(Y=K,function(t){return Y(t),Ot()}),4,null)}else if(kt(J,fr(Or().ri(),pr([]),!0))||kt(J,fr(Or().wi(),pr([]),!0))||kt(J,fr(Or().yi(),pr([]),!0))||kt(J,fr(Or().vi(),pr([]),!0))||kt(J,fr(Nt(zr),pr([]),!0))||kt(J,fr(Or().xi(),pr([]),!0))){var et=Z.callableName,nt=me();ge(e,et,nt,[],function(t){return function(e){return t(e),Ot()}}(K),4,null)}else if(kt(J,fr(Or().ti(),pr([]),!1))){var rt=Z.callableName,it=pe();ge(e,rt,it,[],function(t){return function(e){return t(e),Ot()}}(K),4,null)}else if(kt(J,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(J,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(J,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(J,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(J,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(J,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(J,fr(Or().gj(),pr([]),!1))||kt(J,fr(Or().jj(),pr([]),!1))||kt(J,fr(Or().fj(),pr([]),!1))||kt(J,fr(Or().hj(),pr([]),!1))||kt(J,fr(Or().ij(),pr([]),!1))){var ot=Z.callableName,at=me();ge(e,ot,at,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(K),4,null)}else if(kt(J,fr(Or().aj(),pr([]),!1))){var st=Z.callableName,lt=de();ge(e,st,lt,[],function(t){return function(e){return t(e),Ot()}}(K),4,null)}else if(kt(J,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(J,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var ut=Z.callableName,ct=de();ge(e,ut,ct,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(K),4,null)}else Ir(e,Z.callableName,K);var ht,pt=ke(\\\"azimuth\\\",1,Oe,(function(t){return t.t41()}),(function(t,e){return t.s41(e)})),ft=Hs,dt=fr(Or().yi(),pr([]),!1);if(kt(dt,fr(Or().ri(),pr([]),!1))||kt(dt,fr(Or().wi(),pr([]),!1))||kt(dt,fr(Or().yi(),pr([]),!1))||kt(dt,fr(Or().vi(),pr([]),!1))||kt(dt,fr(Nt(zr),pr([]),!1))||kt(dt,fr(Or().xi(),pr([]),!1))){var mt=pt.callableName,vt=me();ge(e,mt,vt,[],(ht=ft,function(t){return ht(t),Ot()}),4,null)}else if(kt(dt,fr(Or().ri(),pr([]),!0))||kt(dt,fr(Or().wi(),pr([]),!0))||kt(dt,fr(Or().yi(),pr([]),!0))||kt(dt,fr(Or().vi(),pr([]),!0))||kt(dt,fr(Nt(zr),pr([]),!0))||kt(dt,fr(Or().xi(),pr([]),!0))){var gt=pt.callableName,yt=me();ge(e,gt,yt,[],function(t){return function(e){return t(e),Ot()}}(ft),4,null)}else if(kt(dt,fr(Or().ti(),pr([]),!1))){var _t=pt.callableName,bt=pe();ge(e,_t,bt,[],function(t){return function(e){return t(e),Ot()}}(ft),4,null)}else if(kt(dt,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(dt,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(dt,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(dt,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(dt,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(dt,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(dt,fr(Or().gj(),pr([]),!1))||kt(dt,fr(Or().jj(),pr([]),!1))||kt(dt,fr(Or().fj(),pr([]),!1))||kt(dt,fr(Or().hj(),pr([]),!1))||kt(dt,fr(Or().ij(),pr([]),!1))){var xt=pt.callableName,wt=me();ge(e,xt,wt,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(ft),4,null)}else if(kt(dt,fr(Or().aj(),pr([]),!1))){var At=pt.callableName,Ct=de();ge(e,At,Ct,[],function(t){return function(e){return t(e),Ot()}}(ft),4,null)}else if(kt(dt,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(dt,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var Mt=pt.callableName,Et=de();ge(e,Mt,Et,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(ft),4,null)}else Ir(e,pt.callableName,ft);var Tt,St=ke(\\\"latitude\\\",1,Oe,(function(t){return t.v41()}),(function(t,e){return t.u41(e)})),It=Gs,Lt=fr(Or().yi(),pr([]),!1);if(kt(Lt,fr(Or().ri(),pr([]),!1))||kt(Lt,fr(Or().wi(),pr([]),!1))||kt(Lt,fr(Or().yi(),pr([]),!1))||kt(Lt,fr(Or().vi(),pr([]),!1))||kt(Lt,fr(Nt(zr),pr([]),!1))||kt(Lt,fr(Or().xi(),pr([]),!1))){var Pt=St.callableName,zt=me();ge(e,Pt,zt,[],(Tt=It,function(t){return Tt(t),Ot()}),4,null)}else if(kt(Lt,fr(Or().ri(),pr([]),!0))||kt(Lt,fr(Or().wi(),pr([]),!0))||kt(Lt,fr(Or().yi(),pr([]),!0))||kt(Lt,fr(Or().vi(),pr([]),!0))||kt(Lt,fr(Nt(zr),pr([]),!0))||kt(Lt,fr(Or().xi(),pr([]),!0))){var Rt=St.callableName,Dt=me();ge(e,Rt,Dt,[],function(t){return function(e){return t(e),Ot()}}(It),4,null)}else if(kt(Lt,fr(Or().ti(),pr([]),!1))){var $t=St.callableName,Bt=pe();ge(e,$t,Bt,[],function(t){return function(e){return t(e),Ot()}}(It),4,null)}else if(kt(Lt,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(Lt,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(Lt,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(Lt,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(Lt,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(Lt,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(Lt,fr(Or().gj(),pr([]),!1))||kt(Lt,fr(Or().jj(),pr([]),!1))||kt(Lt,fr(Or().fj(),pr([]),!1))||kt(Lt,fr(Or().hj(),pr([]),!1))||kt(Lt,fr(Or().ij(),pr([]),!1))){var Ft=St.callableName,jt=me();ge(e,Ft,jt,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(It),4,null)}else if(kt(Lt,fr(Or().aj(),pr([]),!1))){var Ut=St.callableName,qt=de();ge(e,Ut,qt,[],function(t){return function(e){return t(e),Ot()}}(It),4,null)}else if(kt(Lt,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(Lt,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var Vt=St.callableName,Ht=de();ge(e,Vt,Ht,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(It),4,null)}else Ir(e,St.callableName,It);return e.v3()}function js(t){return Xs(),t.w1s(75),Ot()}function Us(t){return Xs(),t.w1s(.1),Ot()}function qs(t){return Xs(),t.w1s(1e4),Ot()}function Vs(t){return Xs(),t.w1s(300),Ot()}function Hs(t){return Xs(),t.w1s(0),Ot()}function Gs(t){return Xs(),t.w1s(.5235987755982988),Ot()}function Ws(){var t;gt=this,mn.call(this,((t=function(){return new Ys}).callableName=\\\"<init>\\\",t)),this.m40_1=300,this.n40_1=0,this.o40_1=.5235987755982988,this.p40_1=.1,this.q40_1=1e4,this.r40_1=75,this.s40_1=Ae(Fs)}function Xs(){return null==gt&&new Ws,gt}function Ys(){Xs(),vn.call(this),Xs(),this.e41_1=$r(this,75,null,2,null),Xs(),this.f41_1=Dr(this,.1,null,2,null),Xs(),this.g41_1=Dr(this,1e4,null,2,null),Xs(),this.h41_1=Dr(this,300,null,2,null),Xs(),this.i41_1=Dr(this,0,null,2,null),Xs(),this.j41_1=Dr(this,.5235987755982988,null,2,null)}function Zs(){var t=new ce,e=ke(\\\"axes\\\",1,Oe,(function(t){return t.l42()}),(function(t,e){return t.k42(e)})),n=Bs(),r=Ks;Br(t,e.callableName,n,r);var i,o=ke(\\\"layers\\\",1,Oe,(function(t){return t.l1m()}),(function(t,e){return t.r42(e)})),a=Js,s=fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1);if(kt(s,fr(Or().ri(),pr([]),!1))||kt(s,fr(Or().wi(),pr([]),!1))||kt(s,fr(Or().yi(),pr([]),!1))||kt(s,fr(Or().vi(),pr([]),!1))||kt(s,fr(Nt(zr),pr([]),!1))||kt(s,fr(Or().xi(),pr([]),!1))){var l=o.callableName,u=me();ge(t,l,u,[],(i=a,function(t){return i(t),Ot()}),4,null)}else if(kt(s,fr(Or().ri(),pr([]),!0))||kt(s,fr(Or().wi(),pr([]),!0))||kt(s,fr(Or().yi(),pr([]),!0))||kt(s,fr(Or().vi(),pr([]),!0))||kt(s,fr(Nt(zr),pr([]),!0))||kt(s,fr(Or().xi(),pr([]),!0))){var c=o.callableName,h=me();ge(t,c,h,[],function(t){return function(e){return t(e),Ot()}}(a),4,null)}else if(kt(s,fr(Or().ti(),pr([]),!1))){var p=o.callableName,f=pe();ge(t,p,f,[],function(t){return function(e){return t(e),Ot()}}(a),4,null)}else if(kt(s,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(s,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(s,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(s,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(s,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(s,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(s,fr(Or().gj(),pr([]),!1))||kt(s,fr(Or().jj(),pr([]),!1))||kt(s,fr(Or().fj(),pr([]),!1))||kt(s,fr(Or().hj(),pr([]),!1))||kt(s,fr(Or().ij(),pr([]),!1))){var d=o.callableName,m=me();ge(t,d,m,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(a),4,null)}else if(kt(s,fr(Or().aj(),pr([]),!1))){var v=o.callableName,g=de();ge(t,v,g,[],function(t){return function(e){return t(e),Ot()}}(a),4,null)}else if(kt(s,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(s,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var y=o.callableName,_=de();ge(t,y,_,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(a),4,null)}else Ir(t,o.callableName,a);var b=ke(\\\"clipping\\\",1,Oe,(function(t){return t.t42()}),(function(t,e){return t.s42(e)})),x=_l(),w=Qs;Br(t,b.callableName,x,w);var A=ke(\\\"camera\\\",1,Oe,(function(t){return t.n42()}),(function(t,e){return t.m42(e)})),C=Xs(),M=tl;Br(t,A.callableName,C,M);var E=ke(\\\"controls\\\",1,Oe,(function(t){return t.p42()}),(function(t,e){return t.o42(e)})),T=xl(),S=el;Br(t,E.callableName,T,S);var k=ke(\\\"size\\\",1,Oe,(function(t){return t.h()}),(function(t,e){return t.q42(e)})),O=fl(),I=nl;return Br(t,k.callableName,O,I),t.v3()}function Ks(t){return Ot()}function Js(t){return t.h1s_1=!0,t.w1s(Nr(0)),be(t,\\\"multiSelect\\\"),t.b1t([0,1,2,3,4,5,6,7,8,9,10]),Ot()}function Qs(t){return Ot()}function tl(t){return we(t),Ot()}function el(t){return we(t),Ot()}function nl(t){return we(t),Ot()}function rl(){var t;yt=this,mn.call(this,((t=function(){return new ol}).callableName=\\\"<init>\\\",t)),this.x41_1=Ae(Zs)}function il(){return null==yt&&new rl,yt}function ol(){il(),vn.call(this);var t=Bs();this.d42_1=Fr(this,t,null,2,null);var e=Xs();this.e42_1=Fr(this,e,null,2,null);var n=xl();this.f42_1=Fr(this,n,null,2,null);var r=fl();this.g42_1=Fr(this,r,null,2,null),this.h42_1=jr(this,[0],null,2,null);var i=_l();this.i42_1=Fr(this,i,null,2,null),this.j42_1=null}function al(t){return Ot()}function sl(t){return Ot()}function ll(t){return Ot()}function ul(t){return Ot()}function cl(t){return Ot()}function hl(t){return Ot()}function pl(){var t;_t=this,mn.call(this,((t=function(){return new dl}).callableName=\\\"<init>\\\",t));var e,n,r=new ce,i=ke(\\\"minSize\\\",1,Oe,(function(t){return t.i43()}),(function(t,e){return t.k43(e)})),o=al,a=fr(Or().wi(),pr([]),!1);if(kt(a,fr(Or().ri(),pr([]),!1))||kt(a,fr(Or().wi(),pr([]),!1))||kt(a,fr(Or().yi(),pr([]),!1))||kt(a,fr(Or().vi(),pr([]),!1))||kt(a,fr(Nt(zr),pr([]),!1))||kt(a,fr(Or().xi(),pr([]),!1))){var s=i.callableName,l=me();ge(r,s,l,[],(n=o,function(t){return n(t),Ot()}),4,null)}else if(kt(a,fr(Or().ri(),pr([]),!0))||kt(a,fr(Or().wi(),pr([]),!0))||kt(a,fr(Or().yi(),pr([]),!0))||kt(a,fr(Or().vi(),pr([]),!0))||kt(a,fr(Nt(zr),pr([]),!0))||kt(a,fr(Or().xi(),pr([]),!0))){var u=i.callableName,c=me();ge(r,u,c,[],function(t){return function(e){return t(e),Ot()}}(o),4,null)}else if(kt(a,fr(Or().ti(),pr([]),!1))){var h=i.callableName,p=pe();ge(r,h,p,[],function(t){return function(e){return t(e),Ot()}}(o),4,null)}else if(kt(a,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(a,fr(Or().gj(),pr([]),!1))||kt(a,fr(Or().jj(),pr([]),!1))||kt(a,fr(Or().fj(),pr([]),!1))||kt(a,fr(Or().hj(),pr([]),!1))||kt(a,fr(Or().ij(),pr([]),!1))){var f=i.callableName,d=me();ge(r,f,d,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(o),4,null)}else if(kt(a,fr(Or().aj(),pr([]),!1))){var m=i.callableName,v=de();ge(r,m,v,[],function(t){return function(e){return t(e),Ot()}}(o),4,null)}else if(kt(a,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(a,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var g=i.callableName,y=de();ge(r,g,y,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(o),4,null)}else Ir(r,i.callableName,o);var _,b=ke(\\\"minWith\\\",1,Oe,(function(t){return t.m43()}),(function(t,e){return t.l43(e)})),x=sl,w=fr(Or().ri(),pr([]),!1);if(kt(w,fr(Or().ri(),pr([]),!1))||kt(w,fr(Or().wi(),pr([]),!1))||kt(w,fr(Or().yi(),pr([]),!1))||kt(w,fr(Or().vi(),pr([]),!1))||kt(w,fr(Nt(zr),pr([]),!1))||kt(w,fr(Or().xi(),pr([]),!1))){var A=b.callableName,C=me();ge(r,A,C,[],(_=x,function(t){return _(t),Ot()}),4,null)}else if(kt(w,fr(Or().ri(),pr([]),!0))||kt(w,fr(Or().wi(),pr([]),!0))||kt(w,fr(Or().yi(),pr([]),!0))||kt(w,fr(Or().vi(),pr([]),!0))||kt(w,fr(Nt(zr),pr([]),!0))||kt(w,fr(Or().xi(),pr([]),!0))){var M=b.callableName,E=me();ge(r,M,E,[],function(t){return function(e){return t(e),Ot()}}(x),4,null)}else if(kt(w,fr(Or().ti(),pr([]),!1))){var T=b.callableName,S=pe();ge(r,T,S,[],function(t){return function(e){return t(e),Ot()}}(x),4,null)}else if(kt(w,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(w,fr(Or().gj(),pr([]),!1))||kt(w,fr(Or().jj(),pr([]),!1))||kt(w,fr(Or().fj(),pr([]),!1))||kt(w,fr(Or().hj(),pr([]),!1))||kt(w,fr(Or().ij(),pr([]),!1))){var k=b.callableName,O=me();ge(r,k,O,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(x),4,null)}else if(kt(w,fr(Or().aj(),pr([]),!1))){var I=b.callableName,L=de();ge(r,I,L,[],function(t){return function(e){return t(e),Ot()}}(x),4,null)}else if(kt(w,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(w,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var P=b.callableName,z=de();ge(r,P,z,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(x),4,null)}else Ir(r,b.callableName,x);var R,D=ke(\\\"minHeight\\\",1,Oe,(function(t){return t.o43()}),(function(t,e){return t.n43(e)})),$=ll,B=fr(Or().ri(),pr([]),!1);if(kt(B,fr(Or().ri(),pr([]),!1))||kt(B,fr(Or().wi(),pr([]),!1))||kt(B,fr(Or().yi(),pr([]),!1))||kt(B,fr(Or().vi(),pr([]),!1))||kt(B,fr(Nt(zr),pr([]),!1))||kt(B,fr(Or().xi(),pr([]),!1))){var N=D.callableName,F=me();ge(r,N,F,[],(R=$,function(t){return R(t),Ot()}),4,null)}else if(kt(B,fr(Or().ri(),pr([]),!0))||kt(B,fr(Or().wi(),pr([]),!0))||kt(B,fr(Or().yi(),pr([]),!0))||kt(B,fr(Or().vi(),pr([]),!0))||kt(B,fr(Nt(zr),pr([]),!0))||kt(B,fr(Or().xi(),pr([]),!0))){var j=D.callableName,U=me();ge(r,j,U,[],function(t){return function(e){return t(e),Ot()}}($),4,null)}else if(kt(B,fr(Or().ti(),pr([]),!1))){var q=D.callableName,V=pe();ge(r,q,V,[],function(t){return function(e){return t(e),Ot()}}($),4,null)}else if(kt(B,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(B,fr(Or().gj(),pr([]),!1))||kt(B,fr(Or().jj(),pr([]),!1))||kt(B,fr(Or().fj(),pr([]),!1))||kt(B,fr(Or().hj(),pr([]),!1))||kt(B,fr(Or().ij(),pr([]),!1))){var H=D.callableName,G=me();ge(r,H,G,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}($),4,null)}else if(kt(B,fr(Or().aj(),pr([]),!1))){var W=D.callableName,X=de();ge(r,W,X,[],function(t){return function(e){return t(e),Ot()}}($),4,null)}else if(kt(B,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(B,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var Y=D.callableName,Z=de();ge(r,Y,Z,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}($),4,null)}else Ir(r,D.callableName,$);var K,J=ke(\\\"maxSize\\\",1,Oe,(function(t){return t.j43()}),(function(t,e){return t.p43(e)})),Q=ul,tt=fr(Or().wi(),pr([]),!1);if(kt(tt,fr(Or().ri(),pr([]),!1))||kt(tt,fr(Or().wi(),pr([]),!1))||kt(tt,fr(Or().yi(),pr([]),!1))||kt(tt,fr(Or().vi(),pr([]),!1))||kt(tt,fr(Nt(zr),pr([]),!1))||kt(tt,fr(Or().xi(),pr([]),!1))){var et=J.callableName,nt=me();ge(r,et,nt,[],(K=Q,function(t){return K(t),Ot()}),4,null)}else if(kt(tt,fr(Or().ri(),pr([]),!0))||kt(tt,fr(Or().wi(),pr([]),!0))||kt(tt,fr(Or().yi(),pr([]),!0))||kt(tt,fr(Or().vi(),pr([]),!0))||kt(tt,fr(Nt(zr),pr([]),!0))||kt(tt,fr(Or().xi(),pr([]),!0))){var rt=J.callableName,it=me();ge(r,rt,it,[],function(t){return function(e){return t(e),Ot()}}(Q),4,null)}else if(kt(tt,fr(Or().ti(),pr([]),!1))){var ot=J.callableName,at=pe();ge(r,ot,at,[],function(t){return function(e){return t(e),Ot()}}(Q),4,null)}else if(kt(tt,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(tt,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(tt,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(tt,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(tt,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(tt,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(tt,fr(Or().gj(),pr([]),!1))||kt(tt,fr(Or().jj(),pr([]),!1))||kt(tt,fr(Or().fj(),pr([]),!1))||kt(tt,fr(Or().hj(),pr([]),!1))||kt(tt,fr(Or().ij(),pr([]),!1))){var st=J.callableName,lt=me();ge(r,st,lt,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(Q),4,null)}else if(kt(tt,fr(Or().aj(),pr([]),!1))){var ut=J.callableName,ct=de();ge(r,ut,ct,[],function(t){return function(e){return t(e),Ot()}}(Q),4,null)}else if(kt(tt,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(tt,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var ht=J.callableName,pt=de();ge(r,ht,pt,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(Q),4,null)}else Ir(r,J.callableName,Q);var ft,dt=ke(\\\"maxWith\\\",1,Oe,(function(t){return t.r43()}),(function(t,e){return t.q43(e)})),mt=cl,vt=fr(Or().ri(),pr([]),!1);if(kt(vt,fr(Or().ri(),pr([]),!1))||kt(vt,fr(Or().wi(),pr([]),!1))||kt(vt,fr(Or().yi(),pr([]),!1))||kt(vt,fr(Or().vi(),pr([]),!1))||kt(vt,fr(Nt(zr),pr([]),!1))||kt(vt,fr(Or().xi(),pr([]),!1))){var gt=dt.callableName,yt=me();ge(r,gt,yt,[],(ft=mt,function(t){return ft(t),Ot()}),4,null)}else if(kt(vt,fr(Or().ri(),pr([]),!0))||kt(vt,fr(Or().wi(),pr([]),!0))||kt(vt,fr(Or().yi(),pr([]),!0))||kt(vt,fr(Or().vi(),pr([]),!0))||kt(vt,fr(Nt(zr),pr([]),!0))||kt(vt,fr(Or().xi(),pr([]),!0))){var bt=dt.callableName,xt=me();ge(r,bt,xt,[],function(t){return function(e){return t(e),Ot()}}(mt),4,null)}else if(kt(vt,fr(Or().ti(),pr([]),!1))){var wt=dt.callableName,At=pe();ge(r,wt,At,[],function(t){return function(e){return t(e),Ot()}}(mt),4,null)}else if(kt(vt,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(vt,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(vt,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(vt,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(vt,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(vt,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(vt,fr(Or().gj(),pr([]),!1))||kt(vt,fr(Or().jj(),pr([]),!1))||kt(vt,fr(Or().fj(),pr([]),!1))||kt(vt,fr(Or().hj(),pr([]),!1))||kt(vt,fr(Or().ij(),pr([]),!1))){var Ct=dt.callableName,Mt=me();ge(r,Ct,Mt,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(mt),4,null)}else if(kt(vt,fr(Or().aj(),pr([]),!1))){var Et=dt.callableName,Tt=de();ge(r,Et,Tt,[],function(t){return function(e){return t(e),Ot()}}(mt),4,null)}else if(kt(vt,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(vt,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var St=dt.callableName,It=de();ge(r,St,It,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(mt),4,null)}else Ir(r,dt.callableName,mt);var Lt,Pt=ke(\\\"maxHeight\\\",1,Oe,(function(t){return t.t43()}),(function(t,e){return t.s43(e)})),zt=hl,Rt=fr(Or().ri(),pr([]),!1);if(kt(Rt,fr(Or().ri(),pr([]),!1))||kt(Rt,fr(Or().wi(),pr([]),!1))||kt(Rt,fr(Or().yi(),pr([]),!1))||kt(Rt,fr(Or().vi(),pr([]),!1))||kt(Rt,fr(Nt(zr),pr([]),!1))||kt(Rt,fr(Or().xi(),pr([]),!1))){var Dt=Pt.callableName,$t=me();ge(r,Dt,$t,[],(Lt=zt,function(t){return Lt(t),Ot()}),4,null)}else if(kt(Rt,fr(Or().ri(),pr([]),!0))||kt(Rt,fr(Or().wi(),pr([]),!0))||kt(Rt,fr(Or().yi(),pr([]),!0))||kt(Rt,fr(Or().vi(),pr([]),!0))||kt(Rt,fr(Nt(zr),pr([]),!0))||kt(Rt,fr(Or().xi(),pr([]),!0))){var Bt=Pt.callableName,Ft=me();ge(r,Bt,Ft,[],function(t){return function(e){return t(e),Ot()}}(zt),4,null)}else if(kt(Rt,fr(Or().ti(),pr([]),!1))){var jt=Pt.callableName,Ut=pe();ge(r,jt,Ut,[],function(t){return function(e){return t(e),Ot()}}(zt),4,null)}else if(kt(Rt,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(Rt,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(Rt,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(Rt,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(Rt,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(Rt,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(Rt,fr(Or().gj(),pr([]),!1))||kt(Rt,fr(Or().jj(),pr([]),!1))||kt(Rt,fr(Or().fj(),pr([]),!1))||kt(Rt,fr(Or().hj(),pr([]),!1))||kt(Rt,fr(Or().ij(),pr([]),!1))){var qt=Pt.callableName,Vt=me();ge(r,qt,Vt,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(zt),4,null)}else if(kt(Rt,fr(Or().aj(),pr([]),!1))){var Ht=Pt.callableName,Gt=de();ge(r,Ht,Gt,[],function(t){return function(e){return t(e),Ot()}}(zt),4,null)}else if(kt(Rt,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(Rt,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var Wt=Pt.callableName,Xt=de();ge(r,Wt,Xt,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(zt),4,null)}else Ir(r,Pt.callableName,zt);e=r.v3(),this.w42_1=e}function fl(){return null==_t&&new pl,_t}function dl(){var t;fl(),vn.call(this),this.c43_1=$r(this,400,null,2,null),this.d43_1=Le(this,null,(t=this,function(){return t.i43()}),1,null),this.e43_1=Le(this,null,function(t){return function(){return t.i43()}}(this),1,null);var e=Ur().b1_1;this.f43_1=$r(this,e,null,2,null),this.g43_1=Le(this,null,function(t){return function(){return t.j43()}}(this),1,null),this.h43_1=Le(this,null,function(t){return function(){return t.j43()}}(this),1,null)}function ml(t){return be(t,\\\"range\\\"),dn(t.n1s_1,\\\"min\\\",0),dn(t.n1s_1,\\\"max\\\",1),dn(t.n1s_1,\\\"step\\\",.01),t.w1s(1),Ot()}function vl(t){return be(t,\\\"range\\\"),dn(t.n1s_1,\\\"min\\\",0),dn(t.n1s_1,\\\"max\\\",1),dn(t.n1s_1,\\\"step\\\",.01),t.w1s(1),Ot()}function gl(t){return be(t,\\\"range\\\"),dn(t.n1s_1,\\\"min\\\",0),dn(t.n1s_1,\\\"max\\\",1),dn(t.n1s_1,\\\"step\\\",.01),t.w1s(1),Ot()}function yl(){var t;bt=this,mn.call(this,((t=function(){return new Cl}).callableName=\\\"<init>\\\",t));var e,n,r=new ce,i=ke(\\\"x\\\",1,Oe,(function(t){return t.k3p()}),(function(t,e){return t.e44(e)})),o=ml,a=fr(Or().yi(),pr([]),!0);if(kt(a,fr(Or().ri(),pr([]),!1))||kt(a,fr(Or().wi(),pr([]),!1))||kt(a,fr(Or().yi(),pr([]),!1))||kt(a,fr(Or().vi(),pr([]),!1))||kt(a,fr(Nt(zr),pr([]),!1))||kt(a,fr(Or().xi(),pr([]),!1))){var s=i.callableName,l=me();ge(r,s,l,[],(n=o,function(t){return n(t),Ot()}),4,null)}else if(kt(a,fr(Or().ri(),pr([]),!0))||kt(a,fr(Or().wi(),pr([]),!0))||kt(a,fr(Or().yi(),pr([]),!0))||kt(a,fr(Or().vi(),pr([]),!0))||kt(a,fr(Nt(zr),pr([]),!0))||kt(a,fr(Or().xi(),pr([]),!0))){var u=i.callableName,c=me();ge(r,u,c,[],function(t){return function(e){return t(e),Ot()}}(o),4,null)}else if(kt(a,fr(Or().ti(),pr([]),!1))){var h=i.callableName,p=pe();ge(r,h,p,[],function(t){return function(e){return t(e),Ot()}}(o),4,null)}else if(kt(a,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(a,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(a,fr(Or().gj(),pr([]),!1))||kt(a,fr(Or().jj(),pr([]),!1))||kt(a,fr(Or().fj(),pr([]),!1))||kt(a,fr(Or().hj(),pr([]),!1))||kt(a,fr(Or().ij(),pr([]),!1))){var f=i.callableName,d=me();ge(r,f,d,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(o),4,null)}else if(kt(a,fr(Or().aj(),pr([]),!1))){var m=i.callableName,v=de();ge(r,m,v,[],function(t){return function(e){return t(e),Ot()}}(o),4,null)}else if(kt(a,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(a,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var g=i.callableName,y=de();ge(r,g,y,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(o),4,null)}else Ir(r,i.callableName,o);var _,b=ke(\\\"y\\\",1,Oe,(function(t){return t.l3p()}),(function(t,e){return t.f44(e)})),x=vl,w=fr(Or().yi(),pr([]),!0);if(kt(w,fr(Or().ri(),pr([]),!1))||kt(w,fr(Or().wi(),pr([]),!1))||kt(w,fr(Or().yi(),pr([]),!1))||kt(w,fr(Or().vi(),pr([]),!1))||kt(w,fr(Nt(zr),pr([]),!1))||kt(w,fr(Or().xi(),pr([]),!1))){var A=b.callableName,C=me();ge(r,A,C,[],(_=x,function(t){return _(t),Ot()}),4,null)}else if(kt(w,fr(Or().ri(),pr([]),!0))||kt(w,fr(Or().wi(),pr([]),!0))||kt(w,fr(Or().yi(),pr([]),!0))||kt(w,fr(Or().vi(),pr([]),!0))||kt(w,fr(Nt(zr),pr([]),!0))||kt(w,fr(Or().xi(),pr([]),!0))){var M=b.callableName,E=me();ge(r,M,E,[],function(t){return function(e){return t(e),Ot()}}(x),4,null)}else if(kt(w,fr(Or().ti(),pr([]),!1))){var T=b.callableName,S=pe();ge(r,T,S,[],function(t){return function(e){return t(e),Ot()}}(x),4,null)}else if(kt(w,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(w,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(w,fr(Or().gj(),pr([]),!1))||kt(w,fr(Or().jj(),pr([]),!1))||kt(w,fr(Or().fj(),pr([]),!1))||kt(w,fr(Or().hj(),pr([]),!1))||kt(w,fr(Or().ij(),pr([]),!1))){var k=b.callableName,O=me();ge(r,k,O,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(x),4,null)}else if(kt(w,fr(Or().aj(),pr([]),!1))){var I=b.callableName,L=de();ge(r,I,L,[],function(t){return function(e){return t(e),Ot()}}(x),4,null)}else if(kt(w,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(w,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var P=b.callableName,z=de();ge(r,P,z,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}(x),4,null)}else Ir(r,b.callableName,x);var R,D=ke(\\\"z\\\",1,Oe,(function(t){return t.m3p()}),(function(t,e){return t.g44(e)})),$=gl,B=fr(Or().yi(),pr([]),!0);if(kt(B,fr(Or().ri(),pr([]),!1))||kt(B,fr(Or().wi(),pr([]),!1))||kt(B,fr(Or().yi(),pr([]),!1))||kt(B,fr(Or().vi(),pr([]),!1))||kt(B,fr(Nt(zr),pr([]),!1))||kt(B,fr(Or().xi(),pr([]),!1))){var N=D.callableName,F=me();ge(r,N,F,[],(R=$,function(t){return R(t),Ot()}),4,null)}else if(kt(B,fr(Or().ri(),pr([]),!0))||kt(B,fr(Or().wi(),pr([]),!0))||kt(B,fr(Or().yi(),pr([]),!0))||kt(B,fr(Or().vi(),pr([]),!0))||kt(B,fr(Nt(zr),pr([]),!0))||kt(B,fr(Or().xi(),pr([]),!0))){var j=D.callableName,U=me();ge(r,j,U,[],function(t){return function(e){return t(e),Ot()}}($),4,null)}else if(kt(B,fr(Or().ti(),pr([]),!1))){var q=D.callableName,V=pe();ge(r,q,V,[],function(t){return function(e){return t(e),Ot()}}($),4,null)}else if(kt(B,fr(Nt(Pr),pr([Lr(fr(Or().ri(),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Or().wi(),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Or().yi(),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Or().vi(),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Nt(zr),pr([]),!1))]),!1))||kt(B,fr(Nt(Pr),pr([Lr(fr(Or().xi(),pr([]),!1))]),!1))||kt(B,fr(Or().gj(),pr([]),!1))||kt(B,fr(Or().jj(),pr([]),!1))||kt(B,fr(Or().fj(),pr([]),!1))||kt(B,fr(Or().hj(),pr([]),!1))||kt(B,fr(Or().ij(),pr([]),!1))){var H=D.callableName,G=me();ge(r,H,G,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}($),4,null)}else if(kt(B,fr(Or().aj(),pr([]),!1))){var W=D.callableName,X=de();ge(r,W,X,[],function(t){return function(e){return t(e),Ot()}}($),4,null)}else if(kt(B,fr(Nt(Pr),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))||kt(B,fr(Or().zi(),pr([Lr(fr(Or().aj(),pr([]),!1))]),!1))){var Y=D.callableName,Z=de();ge(r,Y,Z,[],function(t){return function(e){return e.h1s_1=!0,t(e),Ot()}}($),4,null)}else Ir(r,D.callableName,$);e=r.v3(),this.v43_1=e}function _l(){return null==bt&&new yl,bt}function bl(){var t;xt=this,mn.call(this,((t=function(){return new wl}).callableName=\\\"<init>\\\",t))}function xl(){return null==xt&&new bl,xt}function wl(){xl(),vn.call(this)}function Al(){var t;wt=this,mn.call(this,((t=function(){return new Cl}).callableName=\\\"<init>\\\",t))}function Cl(){null==wt&&new Al,vn.call(this),this.b44_1=qr(this,null,1,null),this.c44_1=qr(this,null,1,null),this.d44_1=qr(this,null,1,null)}ha.prototype=Object.create(Je.prototype),ha.prototype.constructor=ha,Jr.prototype=Object.create(ha.prototype),Jr.prototype.constructor=Jr,ei.prototype=Object.create(Xt.prototype),ei.prototype.constructor=ei,si.prototype=Object.create(ha.prototype),si.prototype.constructor=si,fi.prototype=Object.create(ha.prototype),fi.prototype.constructor=fi,yi.prototype=Object.create(ha.prototype),yi.prototype.constructor=yi,Ai.prototype=Object.create(ha.prototype),Ai.prototype.constructor=Ai,Ri.prototype=Object.create(ha.prototype),Ri.prototype.constructor=Ri,Fi.prototype=Object.create(ha.prototype),Fi.prototype.constructor=Fi,uo.prototype=Object.create(ha.prototype),uo.prototype.constructor=uo,Gi.prototype=Object.create(uo.prototype),Gi.prototype.constructor=Gi,Ki.prototype=Object.create(uo.prototype),Ki.prototype.constructor=Ki,go.prototype=Object.create(ha.prototype),go.prototype.constructor=go,Yo.prototype=Object.create(Xt.prototype),Yo.prototype.constructor=Yo,va.prototype=Object.create(rn.prototype),va.prototype.constructor=va,wa.prototype=Object.create(ha.prototype),wa.prototype.constructor=wa,Oa.prototype=Object.create(mn.prototype),Oa.prototype.constructor=Oa,La.prototype=Object.create(vn.prototype),La.prototype.constructor=La,za.prototype=Object.create(bn.prototype),za.prototype.constructor=za,$a.prototype=Object.create(bn.prototype),$a.prototype.constructor=$a,Va.prototype=Object.create(En.prototype),Va.prototype.constructor=Va,Ga.prototype=Object.create(En.prototype),Ga.prototype.constructor=Ga,Ya.prototype=Object.create(bn.prototype),Ya.prototype.constructor=Ya,Ka.prototype=Object.create(bn.prototype),Ka.prototype.constructor=Ka,ps.prototype=Object.create(Mr.prototype),ps.prototype.constructor=ps,ys.prototype=Object.create(ha.prototype),ys.prototype.constructor=ys,$s.prototype=Object.create(mn.prototype),$s.prototype.constructor=$s,Ns.prototype=Object.create(vn.prototype),Ns.prototype.constructor=Ns,Ws.prototype=Object.create(mn.prototype),Ws.prototype.constructor=Ws,Ys.prototype=Object.create(vn.prototype),Ys.prototype.constructor=Ys,rl.prototype=Object.create(mn.prototype),rl.prototype.constructor=rl,ol.prototype=Object.create(vn.prototype),ol.prototype.constructor=ol,pl.prototype=Object.create(mn.prototype),pl.prototype.constructor=pl,dl.prototype=Object.create(vn.prototype),dl.prototype.constructor=dl,yl.prototype=Object.create(mn.prototype),yl.prototype.constructor=yl,bl.prototype=Object.create(mn.prototype),bl.prototype.constructor=bl,wl.prototype=Object.create(vn.prototype),wl.prototype.constructor=wl,Al.prototype=Object.create(mn.prototype),Al.prototype.constructor=Al,Cl.prototype=Object.create(vn.prototype),Cl.prototype.constructor=Cl,Hr.prototype.w2=function(){return this.v3m_1.w1m(this.w3m_1)},Hr.prototype.w1m=function(t){return this.v3m_1.w1m(Ct(this.w3m_1,t))},Hr.prototype.p1o=function(t,e){this.v3m_1.p1o(Ct(this.w3m_1,t),e)},Hr.$metadata$=Et(\\\"ColorAccessor\\\",[Mt]),Wr.prototype.s7=function(t,e){return this.x3m_1(t,e)},Wr.$metadata$=Et(\\\"sam$kotlin_properties_ReadOnlyProperty$0\\\",[It]),Xr.prototype.y1a=function(){return Kr()},Xr.$metadata$=zt(\\\"Companion\\\"),Zr.prototype.nn=function(){return this.y3m_1},Zr.prototype.fy=function(){var t=$t(Dt()),e=Bt(\\\"space.kscience.visionforge.solid.CompositeType\\\",Qr()),n=Nt(Ho),r=Ft(n,[]),i=Nt(Ho);return[t,e,r,Ft(i,[])]},Zr.prototype.pn=function(t){var e=this.y3m_1,n=!0,r=0,i=0,o=null,a=null,s=null,l=null,u=t.lq(e);if(u.br()){o=u.zq(e,0,Dt(),o),i|=1,a=u.xq(e,1,Bt(\\\"space.kscience.visionforge.solid.CompositeType\\\",Qr()),a),i|=2;var c,h=Nt(Ho);c=[],s=u.xq(e,2,Ft(h,c),s),i|=4;var p,f=Nt(Ho);p=[],l=u.xq(e,3,Ft(f,p),l),i|=8}else for(;n;)switch(r=u.cr(e)){case-1:n=!1;break;case 0:o=u.zq(e,0,Dt(),o),i|=1;break;case 1:a=u.xq(e,1,Bt(\\\"space.kscience.visionforge.solid.CompositeType\\\",Qr()),a),i|=2;break;case 2:var d,m=Nt(Ho);d=[],s=u.xq(e,2,Ft(m,d),s),i|=4;break;case 3:var v,g=Nt(Ho);v=[],l=u.xq(e,3,Ft(g,v),l),i|=8;break;default:throw jt(r)}return u.mq(e),function(t,e,n,r,i,o){return function(t,e,n,r,i,o,a){return 14!=(14&t)&&Ht(t,14,Kr().y3m_1),ca(t,e,null,a),a.d3n_1=n,a.e3n_1=r,a.f3n_1=i,a}(t,e,n,r,i,0,Object.create(Jr.prototype))}(i,o,a,s,l)},Zr.prototype.z3m=function(t,e){var n=this.y3m_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.cs(n,1,Bt(\\\"space.kscience.visionforge.solid.CompositeType\\\",Qr()),e.d3n_1);var i,o=Nt(Ho);i=[],r.cs(n,2,Ft(o,i),e.e3n_1);var a,s=Nt(Ho);a=[],r.cs(n,3,Ft(s,a),e.f3n_1),r.mq(n)},Zr.prototype.on=function(t,e){return this.z3m(t,e instanceof Jr?e:Ut())},Zr.$metadata$=zt(\\\"$serializer\\\",[Vt]),Jr.$metadata$=Et(\\\"Composite\\\",void 0,void 0,{0:Kr},void 0,ha.prototype),ei.$metadata$=Et(\\\"CompositeType\\\",void 0,void 0,void 0,void 0,Xt.prototype),ni.prototype.y1a=function(){return oi()},ni.$metadata$=zt(\\\"Companion\\\"),ii.prototype.nn=function(){return this.j3n_1},ii.prototype.fy=function(){return[$t(Dt()),Yt(),Yt(),Yt(),Yt(),Yt()]},ii.prototype.pn=function(t){var e,n,r,i,o,a,s,l,u=this.j3n_1,c=!0,h=0,p=0,f=null,d=0,m=0,v=0,g=0,y=0,_=t.lq(u);if(_.br())f=_.zq(u,0,Dt(),f),p|=1,d=_.sq(u,1),p|=2,m=_.sq(u,2),p|=4,v=_.sq(u,3),p|=8,g=_.sq(u,4),p|=16,y=_.sq(u,5),p|=32;else for(;c;)switch(h=_.cr(u)){case-1:c=!1;break;case 0:f=_.zq(u,0,Dt(),f),p|=1;break;case 1:d=_.sq(u,1),p|=2;break;case 2:m=_.sq(u,2),p|=4;break;case 3:v=_.sq(u,3),p|=8;break;case 4:g=_.sq(u,4),p|=16;break;case 5:y=_.sq(u,5),p|=32;break;default:throw jt(h)}return _.mq(u),e=p,n=f,r=d,i=m,o=v,a=g,s=y,l=Object.create(si.prototype),14!=(14&e)&&Ht(e,14,oi().j3n_1),ca(e,n,null,l),l.o3n_1=r,l.p3n_1=i,l.q3n_1=o,l.r3n_1=0==(16&e)?0:a,l.s3n_1=0==(32&e)?ks():s,l},ii.prototype.k3n=function(t,e){var n=this.j3n_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.xr(n,1,e.o3n_1),r.xr(n,2,e.p3n_1),r.xr(n,3,e.q3n_1),!r.is(n,4)&&kt(e.r3n_1,0)||r.xr(n,4,e.r3n_1),!r.is(n,5)&&kt(e.s3n_1,ks())||r.xr(n,5,e.s3n_1),r.mq(n)},ii.prototype.on=function(t,e){return this.k3n(t,e instanceof si?e:Ut())},ii.$metadata$=zt(\\\"$serializer\\\",[Vt]),si.prototype.t3n=function(){return this.o3n_1},si.prototype.u3n=function(){return this.p3n_1},si.prototype.v3n=function(){return this.q3n_1},si.prototype.w3n=function(){return this.r3n_1},si.prototype.x3n=function(){return this.s3n_1},si.prototype.y3n=function(t){var e=Zo(this),n=null==e?32:e;if(!(n>=4))throw te(Qt(\\\"The number of segments in cone segment is too small\\\"));var r=this.s3n_1/(n-1|0),i=ai(n,this,r,this.q3n_1,-this.p3n_1/2),o=ai(n,this,r,this.o3n_1,this.p3n_1/2),a=Zt(1,n),s=a.e1_1,l=a.f1_1;if(s<=l)do{var u=s;s=s+1|0,ki(t,i.j(u-1|0),i.j(u),o.j(u),o.j(u-1|0),null,null,48)}while(u!==l);this.s3n_1===ks()&&ki(t,ee(i),i.j(0),o.j(0),ee(o),null,null,48);var c=bs(0,0,0),h=bs(0,0,this.p3n_1),p=Zt(1,n),f=p.e1_1,d=p.f1_1;if(f<=d)do{var m=f;f=f+1|0;var v=i.j(m-1|0),g=i.j(m);t.z3n(v,c,g,null,null,24,null);var y=o.j(m-1|0),_=o.j(m);t.z3n(y,_,h,null,null,24,null)}while(m!==d);if(this.s3n_1===ks()){var b=ee(i),x=i.j(0);t.z3n(b,c,x,null,null,24,null);var w=ee(o),A=o.j(0);t.z3n(w,A,h,null,null,24,null)}else ki(t,h,c,i.j(0),o.j(0),null,null,48),ki(t,h,c,ee(i),ee(o),null,null,48)},si.$metadata$=Et(\\\"ConeSegment\\\",[Ti],void 0,{0:oi},void 0,ha.prototype),li.prototype.y1a=function(){return hi()},li.$metadata$=zt(\\\"Companion\\\"),ci.prototype.nn=function(){return this.a3o_1},ci.prototype.fy=function(){return[$t(Dt()),Yt(),Yt(),Yt(),Yt(),Yt(),Yt(),Yt()]},ci.prototype.pn=function(t){var e=this.a3o_1,n=!0,r=0,i=0,o=null,a=0,s=0,l=0,u=0,c=0,h=0,p=0,f=t.lq(e);if(f.br())o=f.zq(e,0,Dt(),o),i|=1,a=f.sq(e,1),i|=2,s=f.sq(e,2),i|=4,l=f.sq(e,3),i|=8,u=f.sq(e,4),i|=16,c=f.sq(e,5),i|=32,h=f.sq(e,6),i|=64,p=f.sq(e,7),i|=128;else for(;n;)switch(r=f.cr(e)){case-1:n=!1;break;case 0:o=f.zq(e,0,Dt(),o),i|=1;break;case 1:a=f.sq(e,1),i|=2;break;case 2:s=f.sq(e,2),i|=4;break;case 3:l=f.sq(e,3),i|=8;break;case 4:u=f.sq(e,4),i|=16;break;case 5:c=f.sq(e,5),i|=32;break;case 6:h=f.sq(e,6),i|=64;break;case 7:p=f.sq(e,7),i|=128;break;default:throw jt(r)}return f.mq(e),function(t,e,n,r,i,o,a,s,l,u,c){if(62!=(62&t)&&Ht(t,62,hi().a3o_1),ca(t,e,null,c),c.f3o_1=n,c.g3o_1=r,c.h3o_1=i,c.i3o_1=o,c.j3o_1=a,c.k3o_1=0==(64&t)?0:s,c.l3o_1=0==(128&t)?ks():l,!(c.f3o_1>0))throw te(Qt(\\\"Cone surface bottom radius must be positive\\\"));if(!(c.h3o_1>0))throw te(Qt(\\\"Cone surface height must be positive\\\"));if(!(c.g3o_1>=0))throw te(Qt(\\\"Cone surface bottom inner radius must be non-negative\\\"));var h=ks(),p=c.l3o_1;if(!(0<=p&&p<=h))throw te(Qt(\\\"Failed requirement.\\\"));return c}(i,o,a,s,l,u,c,h,p,0,Object.create(fi.prototype))},ci.prototype.b3o=function(t,e){var n=this.a3o_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.xr(n,1,e.f3o_1),r.xr(n,2,e.g3o_1),r.xr(n,3,e.h3o_1),r.xr(n,4,e.i3o_1),r.xr(n,5,e.j3o_1),!r.is(n,6)&&kt(e.k3o_1,0)||r.xr(n,6,e.k3o_1),!r.is(n,7)&&kt(e.l3o_1,ks())||r.xr(n,7,e.l3o_1),r.mq(n)},ci.prototype.on=function(t,e){return this.b3o(t,e instanceof fi?e:Ut())},ci.$metadata$=zt(\\\"$serializer\\\",[Vt]),fi.prototype.t3n=function(){return this.f3o_1},fi.prototype.m3o=function(){return this.g3o_1},fi.prototype.u3n=function(){return this.h3o_1},fi.prototype.v3n=function(){return this.i3o_1},fi.prototype.n3o=function(){return this.j3o_1},fi.prototype.w3n=function(){return this.k3o_1},fi.prototype.x3n=function(){return this.l3o_1},fi.prototype.y3n=function(t){var e=Zo(this),n=null==e?32:e;if(!(n>=4))throw te(Qt(\\\"The number of segments in tube is too small\\\"));var r=this.l3o_1/(n-1|0),i=pi(n,this,r,this.f3o_1,-this.h3o_1/2),o=pi(n,this,r,this.i3o_1,this.h3o_1/2),a=Zt(1,n),s=a.e1_1,l=a.f1_1;if(s<=l)do{var u=s;s=s+1|0,ki(t,i.j(u-1|0),i.j(u),o.j(u),o.j(u-1|0),null,null,48)}while(u!==l);if(this.l3o_1===ks()&&ki(t,ee(i),i.j(0),o.j(0),ee(o),null,null,48),0===this.g3o_1){var c=bs(0,0,0),h=bs(0,0,this.h3o_1),p=Zt(1,n),f=p.e1_1,d=p.f1_1;if(f<=d)do{var m=f;f=f+1|0;var v=i.j(m-1|0),g=i.j(m);t.z3n(v,c,g,null,null,24,null);var y=o.j(m-1|0),_=o.j(m);t.z3n(y,_,h,null,null,24,null)}while(m!==d);if(this.l3o_1===ks()){var b=ee(i),x=i.j(0);t.z3n(b,c,x,null,null,24,null);var w=ee(o),A=o.j(0);t.z3n(w,A,h,null,null,24,null)}else ki(t,h,c,i.j(0),o.j(0),null,null,48),ki(t,h,c,ee(i),ee(o),null,null,48)}else{var C=pi(n,this,r,this.g3o_1,-this.h3o_1/2),M=pi(n,this,r,this.j3o_1,this.h3o_1/2),E=Zt(1,n),T=E.e1_1,S=E.f1_1;if(T<=S)do{var k=T;T=T+1|0,ki(t,C.j(k),C.j(k-1|0),M.j(k-1|0),M.j(k),null,null,48),ki(t,C.j(k-1|0),C.j(k),i.j(k),i.j(k-1|0),null,null,48),ki(t,M.j(k),M.j(k-1|0),o.j(k-1|0),o.j(k),null,null,48)}while(k!==S);this.l3o_1===ks()?(ki(t,C.j(0),ee(C),ee(M),M.j(0),null,null,48),ki(t,ee(C),C.j(0),i.j(0),ee(i),null,null,48),ki(t,M.j(0),ee(M),ee(o),o.j(0),null,null,48)):(ki(t,C.j(0),i.j(0),o.j(0),M.j(0),null,null,48),ki(t,ee(i),ee(C),ee(M),ee(o),null,null,48))}},fi.$metadata$=Et(\\\"ConeSurface\\\",[Ti],void 0,{0:hi},void 0,ha.prototype),di.prototype.y1a=function(){return gi()},di.$metadata$=zt(\\\"Companion\\\"),vi.prototype.nn=function(){return this.o3o_1},vi.prototype.fy=function(){return[$t(Dt()),new ne(ws())]},vi.prototype.pn=function(t){var e,n,r,i,o=this.o3o_1,a=!0,s=0,l=0,u=null,c=null,h=t.lq(o);if(h.br())u=h.zq(o,0,Dt(),u),l|=1,c=h.xq(o,1,new ne(ws()),c),l|=2;else for(;a;)switch(s=h.cr(o)){case-1:a=!1;break;case 0:u=h.zq(o,0,Dt(),u),l|=1;break;case 1:c=h.xq(o,1,new ne(ws()),c),l|=2;break;default:throw jt(s)}return h.mq(o),e=l,n=u,r=c,i=Object.create(yi.prototype),2!=(2&e)&&Ht(e,2,gi().o3o_1),ca(e,n,null,i),i.t3o_1=r,i},vi.prototype.p3o=function(t,e){var n=this.o3o_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.cs(n,1,new ne(ws()),e.t3o_1),r.mq(n)},vi.prototype.on=function(t,e){return this.p3o(t,e instanceof yi?e:Ut())},vi.$metadata$=zt(\\\"$serializer\\\",[Vt]),yi.$metadata$=Et(\\\"Convex\\\",void 0,void 0,{0:gi},void 0,ha.prototype),_i.prototype.y1a=function(){return wi()},_i.$metadata$=zt(\\\"Companion\\\"),xi.prototype.nn=function(){return this.v3o_1},xi.prototype.fy=function(){return[$t(Dt()),new ne(Is()),new ne(Mi())]},xi.prototype.pn=function(t){var e,n,r,i,o,a=this.v3o_1,s=!0,l=0,u=0,c=null,h=null,p=null,f=t.lq(a);if(f.br())c=f.zq(a,0,Dt(),c),u|=1,h=f.xq(a,1,new ne(Is()),h),u|=2,p=f.xq(a,2,new ne(Mi()),p),u|=4;else for(;s;)switch(l=f.cr(a)){case-1:s=!1;break;case 0:c=f.zq(a,0,Dt(),c),u|=1;break;case 1:h=f.xq(a,1,new ne(Is()),h),u|=2;break;case 2:p=f.xq(a,2,new ne(Mi()),p),u|=4;break;default:throw jt(l)}return f.mq(a),e=u,n=c,r=h,i=p,o=Object.create(Ai.prototype),6!=(6&e)&&Ht(e,6,wi().v3o_1),ca(e,n,null,o),o.a3p_1=r,o.b3p_1=i,o},xi.prototype.w3o=function(t,e){var n=this.v3o_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.cs(n,1,new ne(Is()),e.a3p_1),r.cs(n,2,new ne(Mi()),e.b3p_1),r.mq(n)},xi.prototype.on=function(t,e){return this.w3o(t,e instanceof Ai?e:Ut())},xi.$metadata$=zt(\\\"$serializer\\\",[Vt]),Ai.prototype.y3n=function(t){var e=this.a3p_1;if(e.h()<3)throw re(\\\"Extruded shape requires more than 2 points per layer\\\");for(var n=this.b3p_1,r=Jt(Kt(n,10)),i=n.e();i.f();){for(var o,a=i.g(),s=Jt(Kt(e,10)),l=e.e();l.f();){var u,c=l.g(),h=c.m4(),p=c.n4();u=bs(a.e3p_1+h*a.h3p_1,a.f3p_1+p*a.h3p_1,a.g3p_1),s.a(u)}o=s,r.a(o)}var f=r;if(f.h()<2)throw re(\\\"Extruded shape requires more than one layer\\\");var d,m=ie(f),v=1,g=f.h();if(v<g)do{var y=v;v=v+1|0,d=f.j(y);var _=0,b=e.h()-1|0;if(_<b)do{var x=_;_=_+1|0,ki(t,m.j(x),m.j(x+1|0),d.j(x+1|0),d.j(x),null,null,48)}while(_<b);ki(t,m.j(e.h()-1|0),m.j(0),d.j(0),d.j(e.h()-1|0),null,null,48),m=d}while(v<g);Oi(t,oe(ie(f)),null,2),Oi(t,ee(f),null,2)},Ai.$metadata$=Et(\\\"Extruded\\\",[Ti],void 0,{0:wi},void 0,ha.prototype),Ci.prototype.nn=function(){return this.i3p_1},Ci.prototype.fy=function(){return[Yt(),Yt(),Yt(),Yt()]},Ci.prototype.pn=function(t){var e,n,r,i,o,a,s=this.i3p_1,l=!0,u=0,c=0,h=0,p=0,f=0,d=0,m=t.lq(s);if(m.br())h=m.sq(s,0),c|=1,p=m.sq(s,1),c|=2,f=m.sq(s,2),c|=4,d=m.sq(s,3),c|=8;else for(;l;)switch(u=m.cr(s)){case-1:l=!1;break;case 0:h=m.sq(s,0),c|=1;break;case 1:p=m.sq(s,1),c|=2;break;case 2:f=m.sq(s,2),c|=4;break;case 3:d=m.sq(s,3),c|=8;break;default:throw jt(u)}return m.mq(s),e=c,n=h,r=p,i=f,o=d,a=Object.create(Ei.prototype),15!=(15&e)&&Ht(e,15,Mi().i3p_1),a.e3p_1=n,a.f3p_1=r,a.g3p_1=i,a.h3p_1=o,a},Ci.prototype.j3p=function(t,e){var n=this.i3p_1,r=t.lq(n);r.xr(n,0,e.e3p_1),r.xr(n,1,e.f3p_1),r.xr(n,2,e.g3p_1),r.xr(n,3,e.h3p_1),r.mq(n)},Ci.prototype.on=function(t,e){return this.j3p(t,e instanceof Ei?e:Ut())},Ci.$metadata$=zt(\\\"$serializer\\\",[Vt]),Ei.prototype.k3p=function(){return this.e3p_1},Ei.prototype.l3p=function(){return this.f3p_1},Ei.prototype.m3p=function(){return this.g3p_1},Ei.prototype.n3p=function(){return this.h3p_1},Ei.prototype.toString=function(){return\\\"Layer(x=\\\"+this.e3p_1+\\\", y=\\\"+this.f3p_1+\\\", z=\\\"+this.g3p_1+\\\", scale=\\\"+this.h3p_1+\\\")\\\"},Ei.prototype.hashCode=function(){var t=ae(this.e3p_1);return t=At(t,31)+ae(this.f3p_1)|0,t=At(t,31)+ae(this.g3p_1)|0,At(t,31)+ae(this.h3p_1)|0},Ei.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ei))return!1;var e=t instanceof Ei?t:Ut();return!!(kt(this.e3p_1,e.e3p_1)&&kt(this.f3p_1,e.f3p_1)&&kt(this.g3p_1,e.g3p_1)&&kt(this.h3p_1,e.h3p_1))},Ei.$metadata$=Et(\\\"Layer\\\",void 0,void 0,{0:Mi}),Ti.$metadata$=se(\\\"GeometrySolid\\\",[Ho]),Si.$metadata$=se(\\\"GeometryBuilder\\\"),Ii.prototype.y1a=function(){return zi()},Ii.$metadata$=zt(\\\"Companion\\\"),Pi.prototype.nn=function(){return this.p3p_1},Pi.prototype.fy=function(){return[$t(Dt()),Yt(),Yt(),Yt()]},Pi.prototype.pn=function(t){var e,n,r,i,o,a,s=this.p3p_1,l=!0,u=0,c=0,h=null,p=0,f=0,d=0,m=t.lq(s);if(m.br())h=m.zq(s,0,Dt(),h),c|=1,p=m.sq(s,1),c|=2,f=m.sq(s,2),c|=4,d=m.sq(s,3),c|=8;else for(;l;)switch(u=m.cr(s)){case-1:l=!1;break;case 0:h=m.zq(s,0,Dt(),h),c|=1;break;case 1:p=m.sq(s,1),c|=2;break;case 2:f=m.sq(s,2),c|=4;break;case 3:d=m.sq(s,3),c|=8;break;default:throw jt(u)}return m.mq(s),e=c,n=h,r=p,i=f,o=d,a=Object.create(Ri.prototype),14!=(14&e)&&Ht(e,14,zi().p3p_1),ca(e,n,null,a),a.u3p_1=r,a.v3p_1=i,a.w3p_1=o,a},Pi.prototype.q3p=function(t,e){var n=this.p3p_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.xr(n,1,e.u3p_1),r.xr(n,2,e.v3p_1),r.xr(n,3,e.w3p_1),r.mq(n)},Pi.prototype.on=function(t,e){return this.q3p(t,e instanceof Ri?e:Ut())},Pi.$metadata$=zt(\\\"$serializer\\\",[Vt]),Ri.prototype.x3p=function(){return this.u3p_1},Ri.prototype.y3p=function(){return this.v3p_1},Ri.prototype.z3p=function(){return this.w3p_1},Ri.prototype.a3q=function(){return bs(-this.u3p_1/2,-this.v3p_1/2,-this.w3p_1/2)},Ri.prototype.b3q=function(){return bs(this.u3p_1/2,-this.v3p_1/2,-this.w3p_1/2)},Ri.prototype.c3q=function(){return bs(this.u3p_1/2,this.v3p_1/2,-this.w3p_1/2)},Ri.prototype.d3q=function(){return bs(-this.u3p_1/2,this.v3p_1/2,-this.w3p_1/2)},Ri.prototype.e3q=function(){return bs(-this.u3p_1/2,-this.v3p_1/2,this.w3p_1/2)},Ri.prototype.f3q=function(){return bs(this.u3p_1/2,-this.v3p_1/2,this.w3p_1/2)},Ri.prototype.g3q=function(){return bs(this.u3p_1/2,this.v3p_1/2,this.w3p_1/2)},Ri.prototype.h3q=function(){return bs(-this.u3p_1/2,this.v3p_1/2,this.w3p_1/2)},Ri.$metadata$=Et(\\\"Box\\\",[ji],void 0,{0:zi},void 0,ha.prototype),Di.prototype.y1a=function(){return Ni()},Di.$metadata$=zt(\\\"Companion\\\"),Bi.prototype.nn=function(){return this.i3q_1},Bi.prototype.fy=function(){return[$t(Dt()),ws(),ws(),ws(),ws(),ws(),ws(),ws(),ws()]},Bi.prototype.pn=function(t){var e,n,r,i,o,a,s,l,u,c,h,p=this.i3q_1,f=!0,d=0,m=0,v=null,g=null,y=null,_=null,b=null,x=null,w=null,A=null,C=null,M=t.lq(p);if(M.br())v=M.zq(p,0,Dt(),v),m|=1,g=M.xq(p,1,ws(),g),m|=2,y=M.xq(p,2,ws(),y),m|=4,_=M.xq(p,3,ws(),_),m|=8,b=M.xq(p,4,ws(),b),m|=16,x=M.xq(p,5,ws(),x),m|=32,w=M.xq(p,6,ws(),w),m|=64,A=M.xq(p,7,ws(),A),m|=128,C=M.xq(p,8,ws(),C),m|=256;else for(;f;)switch(d=M.cr(p)){case-1:f=!1;break;case 0:v=M.zq(p,0,Dt(),v),m|=1;break;case 1:g=M.xq(p,1,ws(),g),m|=2;break;case 2:y=M.xq(p,2,ws(),y),m|=4;break;case 3:_=M.xq(p,3,ws(),_),m|=8;break;case 4:b=M.xq(p,4,ws(),b),m|=16;break;case 5:x=M.xq(p,5,ws(),x),m|=32;break;case 6:w=M.xq(p,6,ws(),w),m|=64;break;case 7:A=M.xq(p,7,ws(),A),m|=128;break;case 8:C=M.xq(p,8,ws(),C),m|=256;break;default:throw jt(d)}return M.mq(p),e=m,n=v,r=g,i=y,o=_,a=b,s=x,l=w,u=A,c=C,h=Object.create(Fi.prototype),510!=(510&e)&&Ht(e,510,Ni().i3q_1),ca(e,n,null,h),h.n3q_1=r,h.o3q_1=i,h.p3q_1=o,h.q3q_1=a,h.r3q_1=s,h.s3q_1=l,h.t3q_1=u,h.u3q_1=c,h},Bi.prototype.j3q=function(t,e){var n=this.i3q_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.cs(n,1,ws(),e.n3q_1),r.cs(n,2,ws(),e.o3q_1),r.cs(n,3,ws(),e.p3q_1),r.cs(n,4,ws(),e.q3q_1),r.cs(n,5,ws(),e.r3q_1),r.cs(n,6,ws(),e.s3q_1),r.cs(n,7,ws(),e.t3q_1),r.cs(n,8,ws(),e.u3q_1),r.mq(n)},Bi.prototype.on=function(t,e){return this.j3q(t,e instanceof Fi?e:Ut())},Bi.$metadata$=zt(\\\"$serializer\\\",[Vt]),Fi.prototype.a3q=function(){return this.n3q_1},Fi.prototype.b3q=function(){return this.o3q_1},Fi.prototype.c3q=function(){return this.p3q_1},Fi.prototype.d3q=function(){return this.q3q_1},Fi.prototype.e3q=function(){return this.r3q_1},Fi.prototype.f3q=function(){return this.s3q_1},Fi.prototype.g3q=function(){return this.t3q_1},Fi.prototype.h3q=function(){return this.u3q_1},Fi.$metadata$=Et(\\\"GenericHexagon\\\",[ji],void 0,{0:Ni},void 0,ha.prototype),ji.$metadata$=se(\\\"Hexagon\\\",[Ti]),Ui.prototype.y1a=function(){return Hi()},Ui.$metadata$=zt(\\\"Companion\\\"),Vi.prototype.nn=function(){return this.v3q_1},Vi.prototype.fy=function(){return[$t(Dt())]},Vi.prototype.pn=function(t){var e,n,r,i=this.v3q_1,o=!0,a=0,s=0,l=null,u=t.lq(i);if(u.br())l=u.zq(i,0,Dt(),l),s|=1;else for(;o;)switch(a=u.cr(i)){case-1:o=!1;break;case 0:l=u.zq(i,0,Dt(),l),s|=1;break;default:throw jt(a)}return u.mq(i),e=s,n=l,r=Object.create(Gi.prototype),0!=(0&e)&&Ht(e,0,Hi().v3q_1),ao(e,n,null,r),r},Vi.prototype.w3q=function(t,e){var n=this.v3q_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.mq(n)},Vi.prototype.on=function(t,e){return this.w3q(t,e instanceof Gi?e:Ut())},Vi.$metadata$=zt(\\\"$serializer\\\",[Vt]),Gi.$metadata$=Et(\\\"AmbientLightSource\\\",void 0,void 0,{0:Hi},void 0,uo.prototype),Wi.prototype.y1a=function(){return Zi()},Wi.$metadata$=zt(\\\"Companion\\\"),Yi.prototype.nn=function(){return this.e3r_1},Yi.prototype.fy=function(){return[$t(Dt())]},Yi.prototype.pn=function(t){var e,n,r,i=this.e3r_1,o=!0,a=0,s=0,l=null,u=t.lq(i);if(u.br())l=u.zq(i,0,Dt(),l),s|=1;else for(;o;)switch(a=u.cr(i)){case-1:o=!1;break;case 0:l=u.zq(i,0,Dt(),l),s|=1;break;default:throw jt(a)}return u.mq(i),e=s,n=l,r=Object.create(Ki.prototype),0!=(0&e)&&Ht(e,0,Zi().e3r_1),ao(e,n,null,r),r},Yi.prototype.f3r=function(t,e){var n=this.e3r_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.mq(n)},Yi.prototype.on=function(t,e){return this.f3r(t,e instanceof Ki?e:Ut())},Yi.$metadata$=zt(\\\"$serializer\\\",[Vt]),Ki.$metadata$=Et(\\\"PointLightSource\\\",void 0,void 0,{0:Zi},void 0,uo.prototype),io.prototype.nn=function(){return ke(\\\"descriptor\\\",1,Se,(function(t){return t.nn()}),null),this.d3s_1.w2()},io.prototype.y1a=function(){return this.e3s_1.w2()},io.prototype.oy=function(t){return this.y1a()},io.$metadata$=zt(\\\"Companion\\\",[Ee]),uo.prototype.nn=function(){return oo().nn()},uo.prototype.t35=function(){return this.a3r_1.s7(this,ke(\\\"color\\\",1,Se,(function(t){return t.t35()}),null))},uo.prototype.c3r=function(t){return this.b3r_1.t7(this,ke(\\\"intensity\\\",1,Oe,(function(t){return t.d3r()}),(function(t,e){return t.c3r(e)})),t)},uo.prototype.d3r=function(){return this.b3r_1.s7(this,ke(\\\"intensity\\\",1,Oe,(function(t){return t.d3r()}),(function(t,e){return t.c3r(e)})))},uo.$metadata$=Et(\\\"LightSource\\\",void 0,void 0,{0:oo},void 0,ha.prototype),co.prototype.y1a=function(){return fo()},co.$metadata$=zt(\\\"Companion\\\"),po.prototype.nn=function(){return this.y3s_1},po.prototype.fy=function(){return[$t(Dt()),new ne(ws())]},po.prototype.pn=function(t){var e=this.y3s_1,n=!0,r=0,i=0,o=null,a=null,s=t.lq(e);if(s.br())o=s.zq(e,0,Dt(),o),i|=1,a=s.xq(e,1,new ne(ws()),a),i|=2;else for(;n;)switch(r=s.cr(e)){case-1:n=!1;break;case 0:o=s.zq(e,0,Dt(),o),i|=1;break;case 1:a=s.xq(e,1,new ne(ws()),a),i|=2;break;default:throw jt(r)}return s.mq(e),function(t,e,n,r,i){2!=(2&t)&&Ht(t,2,fo().y3s_1),ca(t,e,null,i),i.d3t_1=n;var o=i,a=Ie(i.f2n(),!1,!0);return o.e3t_1=Le(a,null,vo,1,null),i}(i,o,a,0,Object.create(go.prototype))},po.prototype.z3s=function(t,e){var n=this.y3s_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.cs(n,1,new ne(ws()),e.d3t_1),r.mq(n)},po.prototype.on=function(t,e){return this.z3s(t,e instanceof go?e:Ut())},po.$metadata$=zt(\\\"$serializer\\\",[Vt]),go.prototype.f3t=function(){return this.d3t_1},go.prototype.g3t=function(t){return this.e3t_1.t7(this,ke(\\\"thickness\\\",1,Oe,(function(t){return t.h3t()}),(function(t,e){return t.g3t(e)})),t)},go.prototype.h3t=function(){return this.e3t_1.s7(this,ke(\\\"thickness\\\",1,Oe,(function(t){return t.h3t()}),(function(t,e){return t.g3t(e)})))},go.$metadata$=Et(\\\"PolyLine\\\",void 0,void 0,{0:fo},void 0,ha.prototype),qo.prototype.i3t=function(){return this.g3r_1},qo.prototype.j3t=function(){return this.n3r_1},qo.prototype.k3t=function(){return this.r3r_1},qo.prototype.l3t=function(){return this.w3r_1},qo.prototype.m3t=function(){return this.x3r_1},qo.prototype.nn=function(){return ke(\\\"descriptor\\\",1,Se,(function(t){return t.nn()}),null),this.b3s_1.w2()},qo.$metadata$=zt(\\\"Companion\\\"),Ho.$metadata$=se(\\\"Solid\\\",[De]),Yo.$metadata$=Et(\\\"RotationOrder\\\",void 0,void 0,void 0,void 0,Xt.prototype),Ko.prototype.k3p=function(){var t=qe(this.n3t_1,Vo().k3r_1),e=null==t?null:Ve(t);return null==e?this.o3t_1:e},Ko.prototype.l3p=function(){var t=qe(this.n3t_1,Vo().l3r_1),e=null==t?null:Ve(t);return null==e?this.o3t_1:e},Ko.prototype.m3p=function(){var t=qe(this.n3t_1,Vo().m3r_1),e=null==t?null:Ve(t);return null==e?this.o3t_1:e},Ko.$metadata$=Et(void 0,[_s]),Jo.prototype.r3t=function(t,e){var n=t.f2n().m36(),r=null==n?null:qe(n,this.p3t_1);return null==r?null:new Ko(r,this.q3t_1)},Jo.prototype.s7=function(t,e){return this.r3t(null!=t&&He(t,Ho)?t:Ut(),e)},Jo.prototype.s3t=function(t,e,n){null==n?t.f2n().r36(this.p3t_1,null,!1,4,null):(Ge(t.f2n(),Ct(this.p3t_1,Vo().k3r_1),n.k3p()),Ge(t.f2n(),Ct(this.p3t_1,Vo().l3r_1),n.l3p()),Ge(t.f2n(),Ct(this.p3t_1,Vo().m3r_1),n.m3p()))},Jo.prototype.t7=function(t,e,n){var r=null!=t&&He(t,Ho)?t:Ut();return this.s3t(r,e,null==n||He(n,_s)?n:Ut())},Jo.$metadata$=Et(void 0,[We]),Qo.prototype.r3t=function(t,e){var n=t.f2n().p36(this.t3t_1,null,null,6,null),r=null==n?null:Xe(n);return null==r?this.u3t_1:r},Qo.prototype.s7=function(t,e){return this.r3t(null!=t&&He(t,Ho)?t:Ut(),e)},Qo.prototype.v3t=function(t,e,n){var r=t.f2n(),i=Ye(n);r.t36(this.t3t_1,i,!1,4,null)},Qo.prototype.t7=function(t,e,n){var r=null!=t&&He(t,Ho)?t:Ut();return this.v3t(r,e,Ze(n)?n:Ut())},Qo.$metadata$=Et(void 0,[We]),sa.prototype.z3t=function(t){return function(t){return function(t,e){return ua.call(e),e.x3t_1=t,e}(t,Object.create(ua.prototype))}(t)},sa.prototype.oy=function(t){return this.z3t(t[0])},sa.$metadata$=zt(\\\"Companion\\\",[Ee]),ua.prototype.nn=function(){return this.w3t_1},ua.prototype.fy=function(){return[$t(Dt())]},ua.prototype.pn=function(t){var e=this.w3t_1,n=!0,r=0,i=0,o=null,a=t.lq(e);if(a.br())o=a.zq(e,0,Dt(),o),i|=1;else for(;n;)switch(r=a.cr(e)){case-1:n=!1;break;case 0:o=a.zq(e,0,Dt(),o),i|=1;break;default:throw jt(r)}return a.mq(e),ca(i,o,null,Object.create(ha.prototype))},ua.prototype.a3u=function(t,e){var n=this.w3t_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.mq(n)},ua.prototype.on=function(t,e){return this.a3u(t,e instanceof ha?e:Ut())},ua.prototype.gy=function(){return[this.x3t_1]},ua.$metadata$=Et(\\\"$serializer\\\",[Vt]),ha.prototype.nn=function(){return Vo().nn()},ha.$metadata$=Et(\\\"SolidBase\\\",[Ho],void 0,{0:la},void 0,Je.prototype),pa.prototype.h3u=function(){return this.g3u_1},pa.prototype.y1a=function(){return ma()},pa.$metadata$=zt(\\\"Companion\\\"),da.prototype.nn=function(){return this.i3u_1},da.prototype.fy=function(){var t=$t(Dt()),e=tn(),n=Nt(De);return[t,$t(new en(e,Ft(n,[])))]},da.prototype.pn=function(t){var e,n,r,i,o=this.i3u_1,a=!0,s=0,l=0,u=null,c=null,h=t.lq(o);if(h.br()){u=h.zq(o,0,Dt(),u),l|=1;var p,f=tn(),d=Nt(De);p=[],c=h.zq(o,1,new en(f,Ft(d,p)),c),l|=2}else for(;a;)switch(s=h.cr(o)){case-1:a=!1;break;case 0:u=h.zq(o,0,Dt(),u),l|=1;break;case 1:var m,v=tn(),g=Nt(De);m=[],c=h.zq(o,1,new en(v,Ft(g,m)),c),l|=2;break;default:throw jt(s)}return h.mq(o),e=l,n=u,r=c,i=Object.create(va.prototype),0!=(0&e)&&Ht(e,0,ma().i3u_1),nn(e,n,r,null,i),i},da.prototype.j3u=function(t,e){var n=this.i3u_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1);var i,o=tn(),a=Nt(De);i=[],r.es(n,1,new en(o,Ft(a,i)),e.r3g_1),r.mq(n)},da.prototype.on=function(t,e){return this.j3u(t,e instanceof va?e:Ut())},da.$metadata$=zt(\\\"$serializer\\\",[Vt]),va.prototype.o1l=function(){for(var t=this.y1r().k3(),e=on(),n=t.e();n.f();){var r=n.g(),i=this.y1r().t3e(r),o=null!=i&&He(i,Ho)?i:null,a=null!=o?je(r,o):null;null==a||(e.a(a),Ot())}return an(e)},va.prototype.k3u=function(t){var e=this.y1r().u3e(t);return null!=e&&He(e,Ho)?e:null},va.prototype.nn=function(){return Vo().nn()},va.prototype.l3u=function(t){var e,n=function(t){var e=t.o1l().s(fa().g3u_1);return e instanceof va?e:null}(this),r=null==n?null:n.k3u(t),i=null==r?null:Pa(r);if(null==i){var o=this.l1l(),a=null!=o&&He(o,ga)?o:null;e=null==a?null:a.l3u(t)}else e=i;return e},va.prototype.x3e=function(){return new va},va.$metadata$=Et(\\\"SolidGroup\\\",[Ho,ga,sn,ln],void 0,{0:ma},void 0,rn.prototype),ga.$metadata$=se(\\\"PrototypeHolder\\\"),ya.prototype.y1a=function(){return xa()},ya.$metadata$=zt(\\\"Companion\\\"),ba.prototype.nn=function(){return this.m3u_1},ba.prototype.fy=function(){return[$t(Dt()),un(),cn(),un()]},ba.prototype.pn=function(t){var e,n,r,i,o,a,s=this.m3u_1,l=!0,u=0,c=0,h=null,p=null,f=0,d=null,m=t.lq(s);if(m.br())h=m.zq(s,0,Dt(),h),c|=1,p=m.vq(s,1),c|=2,f=m.tq(s,2),c|=4,d=m.vq(s,3),c|=8;else for(;l;)switch(u=m.cr(s)){case-1:l=!1;break;case 0:h=m.zq(s,0,Dt(),h),c|=1;break;case 1:p=m.vq(s,1),c|=2;break;case 2:f=m.tq(s,2),c|=4;break;case 3:d=m.vq(s,3),c|=8;break;default:throw jt(u)}return m.mq(s),e=c,n=h,r=p,i=f,o=d,a=Object.create(wa.prototype),14!=(14&e)&&Ht(e,14,xa().m3u_1),ca(e,n,null,a),a.r3u_1=r,a.s3u_1=i,a.t3u_1=o,a},ba.prototype.n3u=function(t,e){var n=this.m3u_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.as(n,1,e.r3u_1),r.yr(n,2,e.s3u_1),r.as(n,3,e.t3u_1),r.mq(n)},ba.prototype.on=function(t,e){return this.n3u(t,e instanceof wa?e:Ut())},ba.$metadata$=zt(\\\"$serializer\\\",[Vt]),wa.prototype.q3j=function(){return this.r3u_1},wa.prototype.u3u=function(){return this.s3u_1},wa.prototype.v3u=function(){return this.t3u_1},wa.$metadata$=Et(\\\"SolidLabel\\\",void 0,void 0,{0:xa},void 0,ha.prototype),Oa.prototype.w3u=function(){return this.g3s_1},Oa.prototype.x3u=function(){return this.h3s_1},Oa.prototype.y3u=function(){return this.i3s_1},Oa.prototype.z3u=function(){return this.j3s_1},Oa.prototype.a3v=function(){return this.k3s_1},Oa.prototype.b3v=function(){return this.l3s_1},Oa.prototype.c3v=function(){return this.n3s_1},Oa.prototype.d3v=function(){return this.o3s_1},Oa.prototype.e3v=function(){return this.s3s_1},Oa.prototype.nn=function(){return ke(\\\"descriptor\\\",1,Se,(function(t){return t.nn()}),null),this.w3s_1.w2()},Oa.$metadata$=zt(\\\"Companion\\\",void 0,void 0,void 0,void 0,mn.prototype),La.$metadata$=Et(\\\"SolidMaterial\\\",void 0,void 0,void 0,void 0,vn.prototype),za.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=Ot(),n.jm_1=null,n.pm()},za.prototype.qm=function(t,e){return this.c2g(null!=t&&He(t,xn)?t:Ut(),e)},za.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.i3w_1.l36_1.l2c(this.j3w_1,this))===wn())return t;continue t;case 1:return Ot();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},za.prototype.d2g=function(t,e){var n=new za(this.i3w_1,this.j3w_1,e);return n.k3w_1=t,n},za.$metadata$=Et(\\\"SolidReference$properties$delegate$lambda$o$invalidate$slambda\\\",void 0,void 0,void 0,[1],bn.prototype),$a.prototype.c2g=function(t,e){var n=this.d2g(t,e);return n.im_1=Ot(),n.jm_1=null,n.pm()},$a.prototype.qm=function(t,e){return this.c2g(null!=t&&He(t,xn)?t:Ut(),e)},$a.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:if(this.hm_1=2,this.gm_1=1,(t=this.t3w_1.l36_1.l2c(this.u3w_1,this))===wn())return t;continue t;case 1:return Ot();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},$a.prototype.d2g=function(t,e){var n=new $a(this.t3w_1,this.u3w_1,e);return n.v3w_1=t,n},$a.$metadata$=Et(\\\"SolidReference$<init>$lambda$o$invalidate$slambda\\\",void 0,void 0,void 0,[1],bn.prototype),Fa.prototype.y1a=function(){return qa()},Fa.$metadata$=zt(\\\"Companion\\\"),Ua.prototype.nn=function(){return this.x3w_1},Ua.prototype.fy=function(){return[Mn(),$t(Dt())]},Ua.prototype.pn=function(t){var e,n,r,i,o,a=this.x3w_1,s=!0,l=0,u=0,c=null,h=null,p=t.lq(a);if(p.br())c=p.xq(a,0,Mn(),c),u|=1,h=p.zq(a,1,Dt(),h),u|=2;else for(;s;)switch(l=p.cr(a)){case-1:s=!1;break;case 0:c=p.xq(a,0,Mn(),c),u|=1;break;case 1:h=p.zq(a,1,Dt(),h),u|=2;break;default:throw jt(l)}return p.mq(a),e=u,n=c,r=h,i=Object.create(Wa.prototype),1!=(1&e)&&Ht(e,1,qa().x3w_1),i.v3v_1=n,i.w3v_1=null,i.x3v_1=Ae((o=i,function(){if(null==o.w3v_1)throw re(\\\"No parent is present for SolidReference\\\");var t=o.w3v_1;if(null==t||!He(t,ga))throw re(\\\"Parent does not hold prototypes\\\");var e=o.w3v_1,n=null!=e&&He(e,ga)?e:null,r=null==n?null:n.l3u(o.v3v_1);if(null==r){var i=\\\"Prototype with name \\\"+o.v3v_1+\\\" not found\\\";throw re(Qt(i))}return r})),i.y3v_1=0==(2&e)?null:r,i.z3v_1=Ae(function(t){return function(){return new Ga(t)}}(i)),i},Ua.prototype.y3w=function(t,e){var n=this.x3w_1,r=t.lq(n);r.cs(n,0,Mn(),e.v3v_1),(r.is(n,1)||null!=e.y3v_1)&&r.es(n,1,Dt(),e.y3v_1),r.mq(n)},Ua.prototype.on=function(t,e){return this.y3w(t,e instanceof Wa?e:Ut())},Ua.$metadata$=zt(\\\"$serializer\\\",[Vt]),Va.prototype.i36=function(t){this.c3x_1.y3v_1=t},Va.prototype.f2n=function(){return this.c3x_1.y3v_1},Va.prototype.o36=function(t,e,n){if(t.equals(he().e3d_1)){var r,i=on(),o=this.f2n(),a=null==o?null:o.w1m(he().e3d_1),s=null==a?null:a.d1m();if(null==s);else for(var l=s.e();l.f();){var u=l.g();i.a(u)}for(var c=Tn(this.c3x_1.u3v()).e();c.f();){var h=c.g();i.a(pn(h))}return r=i.v3(),kn(Sn(r))}var p=this.f2n(),f=null==p?null:p.w1m(t);if(null!=f)return f;var d,m,v=this.nn(),g=null==v?null:On(v,t),y=e,_=null!=(d=null==y?null==g?null:In(g):y)&&d,b=n,x=null==(m=null==b?null==g?null:Ln(g):b)||m,w=this.c3x_1.u3v().f2n().m36(),A=null==w?null:w.w1m(t);if(null!=A)return A;if(x){var C=this.m36(),M=null==C?null:C.w1m(he().e3d_1),E=null==M?null:M.d1m();if(null==E);else for(var T=E.e();T.f();){var S=T.g(),k=An(this.c3x_1,Tt(S)),O=null==k?null:k.w1m(t);if(null!=O)return O}var I=Pn(this.c3x_1.u3v(),t),L=null==I?null:I.w2();if(null!=L)return L}if(_){var P=this.c3x_1.w3v_1,z=null==P?null:P.f2n(),R=null==z?null:z.o36(t,_,n);if(null!=R)return R;var D=this.c3x_1.u3v().l1l(),$=null==D?null:D.f2n(),B=null==$?null:$.o36(t,_,n);if(null!=B)return B}return null==g?null:g.z1l_1},Va.prototype.h1p=function(t){var e,n=this.c3x_1.c37(),r=null==n?null:n.p5(),i=null==r?Rn():r;if(Dn(i,null,null,function(t,e,n){var r=new za(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(this,t),3,null),t.equals(he().e3d_1))for(var o=$n(Tn(this.c3x_1)),a=Bn(o,(e=this.c3x_1,function(t){return An(e,t)})),s=Nn(a,Ra),l=Fn(s,Da).e();l.f();){var u=l.g();this.h1p(jn(u.u2()))}},Va.$metadata$=Et(void 0,void 0,void 0,void 0,void 0,En.prototype),Ha.prototype.s2o=function(){return this.d3x_1},Ha.prototype.k3=function(){var t=Gn(this.d3x_1.u3v()),e=null==t?null:t.k3();return null==e?Wn():e},Ha.prototype.u36=function(){return Xn()},Ha.prototype.t3e=function(t){var e=Gn(this.d3x_1.u3v()),n=null==e?null:e.k3();return(null==n?Wn():n).t1(t)?new is(this.d3x_1,this.d3x_1,jn(t)):null},Ha.$metadata$=Et(void 0,[Kn]),Ga.prototype.i36=function(t){this.h3x_1.y3v_1=t},Ga.prototype.f2n=function(){return this.h3x_1.y3v_1},Ga.prototype.o36=function(t,e,n){if(t.equals(he().e3d_1)){var r,i=on(),o=this.f2n(),a=null==o?null:o.w1m(he().e3d_1),s=null==a?null:a.d1m();if(null==s);else for(var l=s.e();l.f();){var u=l.g();i.a(u)}for(var c=Tn(this.h3x_1.u3v()).e();c.f();){var h=c.g();i.a(pn(h))}return r=i.v3(),kn(Sn(r))}var p=this.f2n(),f=null==p?null:p.w1m(t);if(null!=f)return f;var d,m,v=this.nn(),g=null==v?null:On(v,t),y=e,_=null!=(d=null==y?null==g?null:In(g):y)&&d,b=n,x=null==(m=null==b?null==g?null:Ln(g):b)||m,w=this.h3x_1.u3v().f2n().m36(),A=null==w?null:w.w1m(t);if(null!=A)return A;if(x){var C=this.m36(),M=null==C?null:C.w1m(he().e3d_1),E=null==M?null:M.d1m();if(null==E);else for(var T=E.e();T.f();){var S=T.g(),k=An(this.h3x_1,Tt(S)),O=null==k?null:k.w1m(t);if(null!=O)return O}var I=Pn(this.h3x_1.u3v(),t),L=null==I?null:I.w2();if(null!=L)return L}if(_){var P=this.h3x_1.w3v_1,z=null==P?null:P.f2n(),R=null==z?null:z.o36(t,_,n);if(null!=R)return R;var D=this.h3x_1.u3v().l1l(),$=null==D?null:D.f2n(),B=null==$?null:$.o36(t,_,n);if(null!=B)return B}return null==g?null:g.z1l_1},Ga.prototype.h1p=function(t){var e,n=this.h3x_1.c37(),r=null==n?null:n.p5(),i=null==r?Rn():r;if(Dn(i,null,null,function(t,e,n){var r=new $a(t,e,null),i=function(t,e){return r.c2g(t,e)};return i.$arity=1,i}(this,t),3,null),t.equals(he().e3d_1))for(var o=$n(Tn(this.h3x_1)),a=Bn(o,(e=this.h3x_1,function(t){return An(e,t)})),s=Nn(a,Ba),l=Fn(s,Na).e();l.f();){var u=l.g();this.h1p(jn(u.u2()))}},Ga.$metadata$=Et(void 0,void 0,void 0,void 0,void 0,En.prototype),Wa.prototype.b37=function(t){this.w3v_1=t},Wa.prototype.l1l=function(){return this.w3v_1},Wa.prototype.u3v=function(){return ke(\\\"prototype\\\",1,Se,(function(t){return t.u3v()}),null),this.x3v_1.w2()},Wa.prototype.nn=function(){return this.u3v().nn()},Wa.prototype.f2n=function(){return ke(\\\"properties\\\",1,Se,(function(t){return t.f2n()}),null),this.z3v_1.w2()},Wa.prototype.y1r=function(){return new Ha(this)},Wa.$metadata$=Et(\\\"SolidReference\\\",[Jn,Ho],void 0,{0:qa}),Ya.prototype.z3d=function(t,e){var n=this.a3e(t,e);return n.im_1=Ot(),n.jm_1=null,n.pm()},Ya.prototype.qm=function(t,e){return this.z3d(t instanceof er?t:Ut(),e)},Ya.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=5,this.gm_1=1;continue t;case 1:if(nr(this.s3x_1,Xa(ts(),this.q3x_1.r3v_1))){if(this.gm_1=3,(t=this.r3x_1.l2c(this.s3x_1,this))===wn())return t;continue t}this.gm_1=2;continue t;case 2:this.gm_1=4;continue t;case 3:this.t3x_1=t,this.gm_1=4;continue t;case 4:return Ot();case 5:throw this.jm_1}}catch(t){if(5===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Ya.prototype.a3e=function(t,e){var n=new Ya(this.q3x_1,this.r3x_1,e);return n.s3x_1=t,n},Ya.$metadata$=Et(\\\"SolidReferenceChild$properties$o$<get-changes>$o$collect$slambda\\\",void 0,void 0,void 0,[1],bn.prototype),Ka.prototype.pm=function(){var t=this.im_1;t:for(;;)try{switch(this.gm_1){case 0:this.hm_1=2,this.gm_1=1;var e=Za(this.c3y_1.f3y_1,this.d3y_1,null);if((t=this.c3y_1.e3y_1.u2a(new es(e),this))===wn())return t;continue t;case 1:return Ot();case 2:throw this.jm_1}}catch(t){if(2===this.hm_1)throw t;this.gm_1=this.hm_1,this.jm_1=t}},Ka.$metadata$=Et(\\\"$collectCOROUTINE$0\\\",void 0,void 0,void 0,void 0,bn.prototype),Ja.prototype.g3y=function(t,e){var n=new Ka(this,t,e);return n.im_1=Ot(),n.jm_1=null,n.pm()},Ja.prototype.u2a=function(t,e){return this.g3y(t,e)},Ja.$metadata$=Et(void 0,[rr]),Qa.$metadata$=zt(\\\"Companion\\\"),es.prototype.l2c=function(t,e){return this.h3y_1(t,e)},es.$metadata$=Et(\\\"sam$kotlinx_coroutines_flow_FlowCollector$0\\\",[ir]),ns.prototype.nn=function(){return this.j3y_1.nn()},ns.prototype.m36=function(){return ke(\\\"own\\\",1,Se,(function(t){return t.m36()}),null),this.i3y_1.w2()},ns.prototype.o36=function(t,e,n){var r=this.m36().w1m(t);return null==r?this.j3y_1.u3v().f2n().o36(t,e,n):r},ns.prototype.q36=function(t,e,n){this.m36().x1o(t,e)},ns.prototype.s36=function(t,e,n){this.m36().p1o(t,e)},ns.prototype.u36=function(){return new Ja(this.j3y_1.p3v_1.f2n().u36(),this.j3y_1)},ns.prototype.h1p=function(t){this.j3y_1.p3v_1.f2n().h1p(function(t,e,n){return tr(Xa(0,e),n)}(ts(),this.j3y_1.r3v_1,t))},ns.$metadata$=Et(void 0,[or]),rs.prototype.s2o=function(){return this.k3y_1},rs.prototype.k3=function(){var t=Gn(this.k3y_1.u3v()),e=null==t?null:t.k3();return null==e?Wn():e},rs.prototype.u36=function(){return Xn()},rs.prototype.t3e=function(t){var e=Gn(this.k3y_1.u3v()),n=null==e?null:e.k3();return(null==n?Wn():n).t1(t)?new is(this.k3y_1.p3v_1,this.k3y_1,ar(this.k3y_1.r3v_1,t)):null},rs.$metadata$=Et(void 0,[Kn]),is.prototype.b37=function(t){this.q3v_1=t},is.prototype.l1l=function(){return this.q3v_1},is.prototype.u3v=function(){var t=Gn(this.p3v_1.u3v()),e=null==t?null:t.u3e(this.r3v_1),n=null!=e&&He(e,Ho)?e:null;if(null==n){var r=\\\"Prototype with name \\\"+this.r3v_1+\\\" not found\\\";throw re(Qt(r))}return n},is.prototype.nn=function(){return this.u3v().nn()},is.prototype.f2n=function(){return this.s3v_1},is.prototype.d37=function(t){var e=t.l3d_1;if(null==e);else for(var n=e.y().e();n.f();){var r=n.g(),i=r.u2(),o=r.w2();if(kt(o.j3d_1,sr()))throw re(\\\"Deleting children inside ref is not allowed.\\\");if(null!=o.j3d_1)throw re(\\\"Updating content of the ref is not allowed\\\");var a=this.t3v_1.u3e(i);null==a||a.d37(o)}var s=t.k3d_1;null==s||(lr().o3d(this,s,ur().v1o_1),Ot())},is.prototype.y1r=function(){return this.t3v_1},is.$metadata$=Et(\\\"SolidReferenceChild\\\",[Ho,Jn]),cs.prototype.k2m=function(){return this.l3y_1},cs.prototype.c9=function(){return this.m3y_1},cs.prototype.n2n=function(t,e){return new ps(e)},cs.$metadata$=zt(\\\"Companion\\\",[Cr,ln]),ps.prototype.k2m=function(){return hs().l3y_1},ps.prototype.e3i=function(){return hs().o3y_1},ps.$metadata$=Et(\\\"Solids\\\",[ln],void 0,void 0,void 0,Mr.prototype),fs.prototype.y1a=function(){return vs()},fs.$metadata$=zt(\\\"Companion\\\"),ms.prototype.nn=function(){return this.u3y_1},ms.prototype.fy=function(){return[$t(Dt()),Yt(),Yt(),Yt(),Yt(),Yt()]},ms.prototype.pn=function(t){var e,n,r,i,o,a,s,l,u=this.u3y_1,c=!0,h=0,p=0,f=null,d=0,m=0,v=0,g=0,y=0,_=t.lq(u);if(_.br())f=_.zq(u,0,Dt(),f),p|=1,d=_.sq(u,1),p|=2,m=_.sq(u,2),p|=4,v=_.sq(u,3),p|=8,g=_.sq(u,4),p|=16,y=_.sq(u,5),p|=32;else for(;c;)switch(h=_.cr(u)){case-1:c=!1;break;case 0:f=_.zq(u,0,Dt(),f),p|=1;break;case 1:d=_.sq(u,1),p|=2;break;case 2:m=_.sq(u,2),p|=4;break;case 3:v=_.sq(u,3),p|=8;break;case 4:g=_.sq(u,4),p|=16;break;case 5:y=_.sq(u,5),p|=32;break;default:throw jt(h)}return _.mq(u),e=p,n=f,r=d,i=m,o=v,a=g,s=y,l=Object.create(ys.prototype),2!=(2&e)&&Ht(e,2,vs().u3y_1),ca(e,n,null,l),l.z3y_1=r,l.a3z_1=0==(4&e)?0:i,l.b3z_1=0==(8&e)?ks():o,l.c3z_1=0==(16&e)?0:a,l.d3z_1=0==(32&e)?Sr():s,l},ms.prototype.v3y=function(t,e){var n=this.u3y_1,r=t.lq(n);r.es(n,0,Dt(),e.c36_1),r.xr(n,1,e.z3y_1),!r.is(n,2)&&kt(e.a3z_1,0)||r.xr(n,2,e.a3z_1),!r.is(n,3)&&kt(e.b3z_1,ks())||r.xr(n,3,e.b3z_1),!r.is(n,4)&&kt(e.c3z_1,0)||r.xr(n,4,e.c3z_1),!r.is(n,5)&&kt(e.d3z_1,Sr())||r.xr(n,5,e.d3z_1),r.mq(n)},ms.prototype.on=function(t,e){return this.v3y(t,e instanceof ys?e:Ut())},ms.$metadata$=zt(\\\"$serializer\\\",[Vt]),ys.prototype.e3z=function(){return this.z3y_1},ys.prototype.f3z=function(){return this.a3z_1},ys.prototype.g3z=function(){return this.b3z_1},ys.prototype.h3z=function(){return this.c3z_1},ys.prototype.i3z=function(){return this.d3z_1},ys.prototype.y3n=function(t){var e=Zo(this),n=null==e?32:e;if(!(n>=4))throw te(Qt(\\\"The detail for sphere must be >= 4\\\"));var r=this.b3z_1/n,i=this.d3z_1/n,o=0;if(o<n)do{var a=o;o=o+1|0;var s=this.c3z_1+a*i,l=s+i,u=0;if(u<n)do{var c=u;u=u+1|0;var h=this.a3z_1+c*r,p=h+r,f=gs(this.z3y_1,s,h),d=gs(this.z3y_1,s,p),m=gs(this.z3y_1,l,p);ki(t,f,gs(this.z3y_1,l,h),m,d,null,null,48)}while(u<n)}while(o<n)},ys.$metadata$=Et(\\\"Sphere\\\",[Ti],void 0,{0:vs},void 0,ha.prototype),_s.$metadata$=se(\\\"Point3D\\\"),xs.prototype.nn=function(){return this.j3z_1},xs.prototype.pn=function(t){return t.kq(Cs().y1a())},xs.prototype.k3z=function(t,e){var n=e instanceof Ts?e:null,r=null==n?new Ts(e.k3p(),e.l3p(),e.m3p()):n;t.ds(Cs().y1a(),r)},xs.prototype.on=function(t,e){return this.k3z(t,null!=e&&He(e,_s)?e:Ut())},xs.$metadata$=zt(\\\"Point3DSerializer\\\",[mr]),As.prototype.y1a=function(){return Es()},As.$metadata$=zt(\\\"Companion\\\"),Ms.prototype.nn=function(){return this.l3z_1},Ms.prototype.fy=function(){return[Yt(),Yt(),Yt()]},Ms.prototype.pn=function(t){var e,n,r,i,o,a=this.l3z_1,s=!0,l=0,u=0,c=0,h=0,p=0,f=t.lq(a);if(f.br())c=f.sq(a,0),u|=1,h=f.sq(a,1),u|=2,p=f.sq(a,2),u|=4;else for(;s;)switch(l=f.cr(a)){case-1:s=!1;break;case 0:c=f.sq(a,0),u|=1;break;case 1:h=f.sq(a,1),u|=2;break;case 2:p=f.sq(a,2),u|=4;break;default:throw jt(l)}return f.mq(a),e=u,n=c,r=h,i=p,o=Object.create(Ts.prototype),7!=(7&e)&&Ht(e,7,Es().l3z_1),o.n3z_1=n,o.o3z_1=r,o.p3z_1=i,o},Ms.prototype.m3z=function(t,e){var n=this.l3z_1,r=t.lq(n);r.xr(n,0,e.n3z_1),r.xr(n,1,e.o3z_1),r.xr(n,2,e.p3z_1),r.mq(n)},Ms.prototype.on=function(t,e){return this.m3z(t,e instanceof Ts?e:Ut())},Ms.$metadata$=zt(\\\"$serializer\\\",[Vt]),Ts.prototype.k3p=function(){return this.n3z_1},Ts.prototype.l3p=function(){return this.o3z_1},Ts.prototype.m3p=function(){return this.p3z_1},Ts.$metadata$=Et(\\\"Point3DImpl\\\",[Ss],void 0,{0:Es}),Ss.$metadata$=se(\\\"MutablePoint3D\\\",[_s]),Os.prototype.nn=function(){return this.q3z_1},Os.prototype.fy=function(){return[Yt(),Yt()]},Os.prototype.pn=function(t){var e,n,r,i,o=this.q3z_1,a=!0,s=0,l=0,u=0,c=0,h=t.lq(o);if(h.br())u=h.sq(o,0),l|=1,c=h.sq(o,1),l|=2;else for(;a;)switch(s=h.cr(o)){case-1:a=!1;break;case 0:u=h.sq(o,0),l|=1;break;case 1:c=h.sq(o,1),l|=2;break;default:throw jt(s)}return h.mq(o),e=l,n=u,r=c,i=Object.create(Ls.prototype),3!=(3&e)&&Ht(e,3,Is().q3z_1),i.c3p_1=n,i.d3p_1=r,i},Os.prototype.r3z=function(t,e){var n=this.q3z_1,r=t.lq(n);r.xr(n,0,e.c3p_1),r.xr(n,1,e.d3p_1),r.mq(n)},Os.prototype.on=function(t,e){return this.r3z(t,e instanceof Ls?e:Ut())},Os.$metadata$=zt(\\\"$serializer\\\",[Vt]),Ls.prototype.m4=function(){return this.c3p_1},Ls.prototype.n4=function(){return this.d3p_1},Ls.prototype.toString=function(){return\\\"Point2D(x=\\\"+this.c3p_1+\\\", y=\\\"+this.d3p_1+\\\")\\\"},Ls.prototype.hashCode=function(){var t=ae(this.c3p_1);return At(t,31)+ae(this.d3p_1)|0},Ls.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ls))return!1;var e=t instanceof Ls?t:Ut();return!!kt(this.c3p_1,e.c3p_1)&&!!kt(this.d3p_1,e.d3p_1)},Ls.$metadata$=Et(\\\"Point2D\\\",void 0,void 0,{0:Is}),$s.prototype.w3z=function(){return this.t3z_1},$s.prototype.x3z=function(){return this.u3z_1},$s.prototype.nn=function(){return ke(\\\"descriptor\\\",1,Se,(function(t){return t.nn()}),null),this.v3z_1.w2()},$s.$metadata$=zt(\\\"Companion\\\",void 0,void 0,void 0,void 0,mn.prototype),Ns.prototype.g40=function(t){return this.d40_1.t7(this,ke(\\\"visible\\\",1,Oe,(function(t){return t.h40()}),(function(t,e){return t.g40(e)})),t)},Ns.prototype.h40=function(){return this.d40_1.s7(this,ke(\\\"visible\\\",1,Oe,(function(t){return t.h40()}),(function(t,e){return t.g40(e)})))},Ns.prototype.i40=function(t){return this.e40_1.t7(this,ke(\\\"size\\\",1,Oe,(function(t){return t.h()}),(function(t,e){return t.i40(e)})),t)},Ns.prototype.h=function(){return this.e40_1.s7(this,ke(\\\"size\\\",1,Oe,(function(t){return t.h()}),(function(t,e){return t.i40(e)})))},Ns.prototype.j40=function(t){return this.f40_1.t7(this,ke(\\\"width\\\",1,Oe,(function(t){return t.k40()}),(function(t,e){return t.j40(e)})),t)},Ns.prototype.k40=function(){return this.f40_1.s7(this,ke(\\\"width\\\",1,Oe,(function(t){return t.k40()}),(function(t,e){return t.j40(e)})))},Ns.$metadata$=Et(\\\"AxesScheme\\\",void 0,void 0,void 0,void 0,vn.prototype),Ws.prototype.t40=function(){return this.m40_1},Ws.prototype.u40=function(){return this.n40_1},Ws.prototype.v40=function(){return this.o40_1},Ws.prototype.w40=function(){return this.p40_1},Ws.prototype.x40=function(){return this.q40_1},Ws.prototype.y40=function(){return this.r40_1},Ws.prototype.nn=function(){return ke(\\\"descriptor\\\",1,Se,(function(t){return t.nn()}),null),this.s40_1.w2()},Ws.$metadata$=zt(\\\"Companion\\\",void 0,void 0,void 0,void 0,mn.prototype),Ys.prototype.k41=function(t){return this.e41_1.t7(this,ke(\\\"fov\\\",1,Oe,(function(t){return t.l41()}),(function(t,e){return t.k41(e)})),t)},Ys.prototype.l41=function(){return this.e41_1.s7(this,ke(\\\"fov\\\",1,Oe,(function(t){return t.l41()}),(function(t,e){return t.k41(e)})))},Ys.prototype.m41=function(t){return this.f41_1.t7(this,ke(\\\"nearClip\\\",1,Oe,(function(t){return t.n41()}),(function(t,e){return t.m41(e)})),t)},Ys.prototype.n41=function(){return this.f41_1.s7(this,ke(\\\"nearClip\\\",1,Oe,(function(t){return t.n41()}),(function(t,e){return t.m41(e)})))},Ys.prototype.o41=function(t){return this.g41_1.t7(this,ke(\\\"farClip\\\",1,Oe,(function(t){return t.p41()}),(function(t,e){return t.o41(e)})),t)},Ys.prototype.p41=function(){return this.g41_1.s7(this,ke(\\\"farClip\\\",1,Oe,(function(t){return t.p41()}),(function(t,e){return t.o41(e)})))},Ys.prototype.q41=function(t){return this.h41_1.t7(this,ke(\\\"distance\\\",1,Oe,(function(t){return t.r41()}),(function(t,e){return t.q41(e)})),t)},Ys.prototype.r41=function(){return this.h41_1.s7(this,ke(\\\"distance\\\",1,Oe,(function(t){return t.r41()}),(function(t,e){return t.q41(e)})))},Ys.prototype.s41=function(t){return this.i41_1.t7(this,ke(\\\"azimuth\\\",1,Oe,(function(t){return t.t41()}),(function(t,e){return t.s41(e)})),t)},Ys.prototype.t41=function(){return this.i41_1.s7(this,ke(\\\"azimuth\\\",1,Oe,(function(t){return t.t41()}),(function(t,e){return t.s41(e)})))},Ys.prototype.u41=function(t){return this.j41_1.t7(this,ke(\\\"latitude\\\",1,Oe,(function(t){return t.v41()}),(function(t,e){return t.u41(e)})),t)},Ys.prototype.v41=function(){return this.j41_1.s7(this,ke(\\\"latitude\\\",1,Oe,(function(t){return t.v41()}),(function(t,e){return t.u41(e)})))},Ys.$metadata$=Et(\\\"CameraScheme\\\",void 0,void 0,void 0,void 0,vn.prototype),rl.prototype.nn=function(){return ke(\\\"descriptor\\\",1,Se,(function(t){return t.nn()}),null),this.x41_1.w2()},rl.$metadata$=zt(\\\"Companion\\\",void 0,void 0,void 0,void 0,mn.prototype),ol.prototype.k42=function(t){return this.d42_1.t7(this,ke(\\\"axes\\\",1,Oe,(function(t){return t.l42()}),(function(t,e){return t.k42(e)})),t)},ol.prototype.l42=function(){return this.d42_1.s7(this,ke(\\\"axes\\\",1,Oe,(function(t){return t.l42()}),(function(t,e){return t.k42(e)})))},ol.prototype.m42=function(t){return this.e42_1.t7(this,ke(\\\"camera\\\",1,Oe,(function(t){return t.n42()}),(function(t,e){return t.m42(e)})),t)},ol.prototype.n42=function(){return this.e42_1.s7(this,ke(\\\"camera\\\",1,Oe,(function(t){return t.n42()}),(function(t,e){return t.m42(e)})))},ol.prototype.o42=function(t){return this.f42_1.t7(this,ke(\\\"controls\\\",1,Oe,(function(t){return t.p42()}),(function(t,e){return t.o42(e)})),t)},ol.prototype.p42=function(){return this.f42_1.s7(this,ke(\\\"controls\\\",1,Oe,(function(t){return t.p42()}),(function(t,e){return t.o42(e)})))},ol.prototype.q42=function(t){return this.g42_1.t7(this,ke(\\\"size\\\",1,Oe,(function(t){return t.h()}),(function(t,e){return t.q42(e)})),t)},ol.prototype.h=function(){return this.g42_1.s7(this,ke(\\\"size\\\",1,Oe,(function(t){return t.h()}),(function(t,e){return t.q42(e)})))},ol.prototype.r42=function(t){return this.h42_1.t7(this,ke(\\\"layers\\\",1,Oe,(function(t){return t.l1m()}),(function(t,e){return t.r42(e)})),t)},ol.prototype.l1m=function(){return this.h42_1.s7(this,ke(\\\"layers\\\",1,Oe,(function(t){return t.l1m()}),(function(t,e){return t.r42(e)})))},ol.prototype.s42=function(t){return this.i42_1.t7(this,ke(\\\"clipping\\\",1,Oe,(function(t){return t.t42()}),(function(t,e){return t.s42(e)})),t)},ol.prototype.t42=function(){return this.i42_1.s7(this,ke(\\\"clipping\\\",1,Oe,(function(t){return t.t42()}),(function(t,e){return t.s42(e)})))},ol.prototype.u42=function(t){this.j42_1=t},ol.$metadata$=Et(\\\"Canvas3DOptions\\\",void 0,void 0,void 0,void 0,vn.prototype),pl.prototype.nn=function(){return this.w42_1},pl.$metadata$=zt(\\\"Companion\\\",void 0,void 0,void 0,void 0,mn.prototype),dl.prototype.k43=function(t){return this.c43_1.t7(this,ke(\\\"minSize\\\",1,Oe,(function(t){return t.i43()}),(function(t,e){return t.k43(e)})),t)},dl.prototype.i43=function(){return this.c43_1.s7(this,ke(\\\"minSize\\\",1,Oe,(function(t){return t.i43()}),(function(t,e){return t.k43(e)})))},dl.prototype.l43=function(t){return this.d43_1.t7(this,ke(\\\"minWith\\\",1,Oe,(function(t){return t.m43()}),(function(t,e){return t.l43(e)})),t)},dl.prototype.m43=function(){return this.d43_1.s7(this,ke(\\\"minWith\\\",1,Oe,(function(t){return t.m43()}),(function(t,e){return t.l43(e)})))},dl.prototype.n43=function(t){return this.e43_1.t7(this,ke(\\\"minHeight\\\",1,Oe,(function(t){return t.o43()}),(function(t,e){return t.n43(e)})),t)},dl.prototype.o43=function(){return this.e43_1.s7(this,ke(\\\"minHeight\\\",1,Oe,(function(t){return t.o43()}),(function(t,e){return t.n43(e)})))},dl.prototype.p43=function(t){return this.f43_1.t7(this,ke(\\\"maxSize\\\",1,Oe,(function(t){return t.j43()}),(function(t,e){return t.p43(e)})),t)},dl.prototype.j43=function(){return this.f43_1.s7(this,ke(\\\"maxSize\\\",1,Oe,(function(t){return t.j43()}),(function(t,e){return t.p43(e)})))},dl.prototype.q43=function(t){return this.g43_1.t7(this,ke(\\\"maxWith\\\",1,Oe,(function(t){return t.r43()}),(function(t,e){return t.q43(e)})),t)},dl.prototype.r43=function(){return this.g43_1.s7(this,ke(\\\"maxWith\\\",1,Oe,(function(t){return t.r43()}),(function(t,e){return t.q43(e)})))},dl.prototype.s43=function(t){return this.h43_1.t7(this,ke(\\\"maxHeight\\\",1,Oe,(function(t){return t.t43()}),(function(t,e){return t.s43(e)})),t)},dl.prototype.t43=function(){return this.h43_1.s7(this,ke(\\\"maxHeight\\\",1,Oe,(function(t){return t.t43()}),(function(t,e){return t.s43(e)})))},dl.$metadata$=Et(\\\"CanvasSize\\\",void 0,void 0,void 0,void 0,vn.prototype),yl.prototype.nn=function(){return this.v43_1},yl.$metadata$=zt(\\\"Clipping\\\",void 0,void 0,void 0,void 0,mn.prototype),bl.$metadata$=zt(\\\"Companion\\\",void 0,void 0,void 0,void 0,mn.prototype),wl.$metadata$=Et(\\\"ControlsScheme\\\",void 0,void 0,void 0,void 0,vn.prototype),Al.$metadata$=zt(\\\"Companion\\\",void 0,void 0,void 0,void 0,mn.prototype),Cl.prototype.e44=function(t){return this.b44_1.t7(this,ke(\\\"x\\\",1,Oe,(function(t){return t.k3p()}),(function(t,e){return t.e44(e)})),t)},Cl.prototype.k3p=function(){return this.b44_1.s7(this,ke(\\\"x\\\",1,Oe,(function(t){return t.k3p()}),(function(t,e){return t.e44(e)})))},Cl.prototype.f44=function(t){return this.c44_1.t7(this,ke(\\\"y\\\",1,Oe,(function(t){return t.l3p()}),(function(t,e){return t.f44(e)})),t)},Cl.prototype.l3p=function(){return this.c44_1.s7(this,ke(\\\"y\\\",1,Oe,(function(t){return t.l3p()}),(function(t,e){return t.f44(e)})))},Cl.prototype.g44=function(t){return this.d44_1.t7(this,ke(\\\"z\\\",1,Oe,(function(t){return t.m3p()}),(function(t,e){return t.g44(e)})),t)},Cl.prototype.m3p=function(){return this.d44_1.s7(this,ke(\\\"z\\\",1,Oe,(function(t){return t.m3p()}),(function(t,e){return t.g44(e)})))},Cl.$metadata$=Et(\\\"PointScheme\\\",void 0,void 0,void 0,void 0,vn.prototype),Zr.prototype.gy=qt,ha.prototype.c37=Gt,ha.prototype.d37=Wt,Jr.prototype.c37=Gt,Jr.prototype.d37=Wt,ii.prototype.gy=qt,si.prototype.c37=Gt,si.prototype.d37=Wt,ci.prototype.gy=qt,fi.prototype.c37=Gt,fi.prototype.d37=Wt,vi.prototype.gy=qt,yi.prototype.c37=Gt,yi.prototype.d37=Wt,xi.prototype.gy=qt,Ai.prototype.c37=Gt,Ai.prototype.d37=Wt,Ci.prototype.gy=qt,Pi.prototype.gy=qt,Ri.prototype.c37=Gt,Ri.prototype.d37=Wt,Ri.prototype.y3n=Vr,Bi.prototype.gy=qt,Fi.prototype.c37=Gt,Fi.prototype.d37=Wt,Fi.prototype.y3n=Vr,Vi.prototype.gy=qt,uo.prototype.c37=Gt,uo.prototype.d37=Wt,Gi.prototype.c37=Gt,Gi.prototype.d37=Wt,Yi.prototype.gy=qt,Ki.prototype.c37=Gt,Ki.prototype.d37=Wt,po.prototype.gy=qt,go.prototype.c37=Gt,go.prototype.d37=Wt,da.prototype.gy=qt,va.prototype.c37=Gt,ba.prototype.gy=qt,wa.prototype.c37=Gt,wa.prototype.d37=Wt,La.prototype.w1m=_n,Ua.prototype.gy=qt,Va.prototype.p36=zn,Va.prototype.r36=Un,Va.prototype.t36=qn,Va.prototype.v36=Vn,Va.prototype.w36=Hn,Ha.prototype.l3=Yn,Ha.prototype.u3e=Zn,Ga.prototype.p36=zn,Ga.prototype.r36=Un,Ga.prototype.t36=qn,Ga.prototype.v36=Vn,Ga.prototype.w36=Hn,Wa.prototype.c37=Gt,Wa.prototype.d37=Wt,ns.prototype.p36=zn,ns.prototype.r36=Un,ns.prototype.t36=qn,ns.prototype.v36=Vn,ns.prototype.w36=Hn,rs.prototype.l3=Yn,rs.prototype.u3e=Zn,is.prototype.c37=Gt,ps.prototype.c2=Er,ps.prototype.v1m=Tr,ms.prototype.gy=qt,ys.prototype.c37=Gt,ys.prototype.d37=Wt,Ms.prototype.gy=qt,Os.prototype.gy=qt,Ns.prototype.w1m=_n,Ys.prototype.w1m=_n,ol.prototype.w1m=_n,dl.prototype.w1m=_n,wl.prototype.w1m=_n,Cl.prototype.w1m=_n,dt=6.2831855,t.$_$=t.$_$||{},t.$_$.a=function(t,e,n,r,i,o,a){var s;return 0!=(8&o)&&(r=null),0!=(16&o)&&(i=le().r1m_1),null==a?(this.o3p(t,e,n,r,i),s=Ot()):s=a(t,e,n,r,i),s},t.$_$.b=il,t.$_$.c=oo,t.$_$.d=Vo,t.$_$.e=fa,t.$_$.f=Ia,t.$_$.g=ja,t.$_$.h=hs,t.$_$.i=ol,t.$_$.j=function(t){return Sr()/2-t.v41()},t.$_$.k=Gi,t.$_$.l=Ri,t.$_$.m=Jr,t.$_$.n=si,t.$_$.o=yi,t.$_$.p=Si,t.$_$.q=Ti,t.$_$.r=Ki,t.$_$.s=go,t.$_$.t=ha,t.$_$.u=va,t.$_$.v=wa,t.$_$.w=Wa,t.$_$.x=Ho,t.$_$.y=ys,t.$_$.z=function(t){var e=t.f2n();return new Hr(Lt(e,!0,null,2,null),Ia().o3s_1)},t.$_$.a1=function(t,e){return bs(t.l3p()*e.m3p()-t.m3p()*e.l3p(),t.m3p()*e.k3p()-t.k3p()*e.m3p(),t.k3p()*e.l3p()-t.l3p()*e.k3p())},t.$_$.b1=Zo,t.$_$.c1=function(t){aa();var e=t.f2n().o36(Vo().i3r_1,!1,!1);return null==e?null:Ne(e)},t.$_$.d1=function(t){aa();var e=t.f2n(),n=Vo().h3r_1,r=e.p36(n,!0,null,4,null),i=null==r?null:Be(r);return null==i?0:i},t.$_$.e1=function(t,e){return bs(t.k3p()-e.k3p(),t.l3p()-e.l3p(),t.m3p()-e.m3p())},t.$_$.f1=function(t){aa();var e,n=t.f2n(),r=Vo().s3r_1,i=n.p36(r,null,null,6,null),o=null==i?null:i.d1m();if(null==o)e=null;else{if(4!==o.h())throw te(Qt(\\\"Quaternion must be a number array of 4 elements\\\"));e=je(Fe(o.j(0)),bs(Fe(o.j(1)),Fe(o.j(2)),Fe(o.j(3))))}return e},t.$_$.g1=function(t){aa();var e,n=t.f2n(),r=Vo().w3r_1,i=n.p36(r,null,null,6,null);if(null==i)e=null;else{var o;if(i instanceof Ue){var a=i.n1r_1;o=a instanceof Yo?a:Ut()}else{var s;s=function(t){switch(t){case\\\"XYZ\\\":return ta();case\\\"YZX\\\":return ea();case\\\"ZXY\\\":return na();case\\\"XZY\\\":return ra();case\\\"YXZ\\\":return ia();case\\\"ZYX\\\":return oa();default:Xo(),$e()}}(Tt(i)),o=s}e=o}var l=e;return null==l?ta():l},t.$_$.h1=Mo,t.$_$.i1=To,t.$_$.j1=ko,t.$_$.k1=Io,t.$_$.l1=Po,t.$_$.m1=Ro,t.$_$.n1=function(t){var e=null==t?null:t.w2();return null==e||kt(e,St())?null:Tt(e)},t.$_$.o1=_o,t.$_$.p1=xo,t.$_$.q1=Ao}(t.exports,n(384),n(8744),n(5102),n(3645),n(7646),n(5247),n(3730))},3391:(t,e,n)=>{!function(t,e,r,i,o,a,s,l){\\\"use strict\\\";var u,c,h,p,f,d=e.TabulatorFull,m=r.$_$.c,v=r.$_$.b,g=i.$_$.f,y=r.$_$.h,_=i.$_$.ib,b=o.$_$.i1,x=o.$_$.h,w=a.$_$.r2,A=o.$_$.j1,C=a.$_$.q2,M=i.$_$.b5,E=r.$_$.f,T=r.$_$.g,S=i.$_$.aa,k=a.$_$.k2,O=s.$_$.f1,I=a.$_$.x,L=a.$_$.b2,P=a.$_$.h,z=i.$_$.oe,R=a.$_$.f2,D=a.$_$.g2,$=a.$_$.o2,B=o.$_$.i,N=i.$_$.be,F=i.$_$.id,j=i.$_$.v8,U=o.$_$.v,q=o.$_$.f,V=s.$_$.e3,H=i.$_$.h8,G=i.$_$.b6,W=i.$_$.a1,X=l.$_$.a,Y=l.$_$.e,Z=o.$_$.c1,K=o.$_$.d1,J=l.$_$.f,Q=s.$_$.e1,tt=s.$_$.g3,et=s.$_$.b4,nt=i.$_$.ff,rt=s.$_$.o2,it=i.$_$.cf,ot=i.$_$.c,at=s.$_$.d1,st=l.$_$.g,lt=s.$_$.h2,ut=s.$_$.u3,ct=l.$_$.d,ht=i.$_$.ta,pt=a.$_$.w2,ft=l.$_$.c,dt=r.$_$.d,mt=r.$_$.a,vt=o.$_$.r,gt=o.$_$.m,yt=i.$_$.e,_t=i.$_$.mb,bt=i.$_$.d2,xt=i.$_$.r6,wt=i.$_$.ea,At=i.$_$.a6,Ct=l.$_$.b,Mt=s.$_$.g4,Et=s.$_$.q4,Tt=i.$_$.qf,St=i.$_$.u7,kt=o.$_$.w;function Ot(){u=this,m(),this.y5l_1=v(\\\"vision.table\\\",\\\"dataforge\\\",null,4,null),this.z5l_1=g(Lt)}function It(){return null==u&&new Ot,u}function Lt(){It(),x(null,1,null,this)}function Pt(){c=this}function zt(){return null==c&&new Pt,c}function Rt(){h=this;var t=new k(\\\"vision.table\\\",this,2);t.mx(\\\"properties\\\",!0),t.mx(\\\"headers\\\",!1),this.e5m_1=t}function Dt(){return null==h&&new Rt,h}function $t(t){this.k5m_1=t}function Bt(t,e){var n,r=t.u2(),i=null==r?null:F(r),o=e.u2();return n=null==o?null:F(o),j(i,n)}function Nt(t){zt(),U.call(this),this.j5m_1=t}function Ft(){p=this}function jt(){return null==p&&new Ft,p}function Ut(t){return ft().a1r(t.n1l())}function qt(){f=this,m(),this.o5m_1=v(\\\"vision.table.js\\\",\\\"dataforge\\\",null,4,null),this.p5m_1=g(Ht)}function Vt(){return null==f&&new qt,f}function Ht(){Vt(),mt(null,1,null,this);var t=vt();this.t5m_1=this.p2m(t,null,2,null);var e=It();this.u5m_1=this.p2m(e,null,2,null)}Lt.prototype=Object.create(b.prototype),Lt.prototype.constructor=Lt,Nt.prototype=Object.create(U.prototype),Nt.prototype.constructor=Nt,Ht.prototype=Object.create(dt.prototype),Ht.prototype.constructor=Ht,Ot.prototype.k2m=function(){return this.y5l_1},Ot.prototype.c9=function(){return this.z5l_1},Ot.prototype.n2n=function(t,e){return new Lt},Ot.$metadata$=_(\\\"Companion\\\",[y]),Lt.prototype.k2m=function(){return It().y5l_1},Lt.prototype.e3i=function(){var t=new w,e=g(A),n=new C(e,null),r=zt().y1a();return n.e17(g(Nt),r),M(),n.h17(t),t.v3()},Lt.$metadata$=S(\\\"TableVisionPlugin\\\",void 0,void 0,void 0,void 0,b.prototype),Pt.prototype.y1a=function(){return Dt()},Pt.$metadata$=_(\\\"Companion\\\"),Rt.prototype.nn=function(){return this.e5m_1},Rt.prototype.fy=function(){return[I(O()),new L(jt())]},Rt.prototype.pn=function(t){var e,n,r,i,o=this.e5m_1,a=!0,s=0,l=0,u=null,c=null,h=t.lq(o);if(h.br())u=h.zq(o,0,O(),u),l|=1,c=h.xq(o,1,new L(jt()),c),l|=2;else for(;a;)switch(s=h.cr(o)){case-1:a=!1;break;case 0:u=h.zq(o,0,O(),u),l|=1;break;case 1:c=h.xq(o,1,new L(jt()),c),l|=2;break;default:throw P(s)}return h.mq(o),e=l,n=u,r=c,i=Object.create(Nt.prototype),2!=(2&e)&&$(e,2,Dt().e5m_1),B(e,n,null,i),i.j5m_1=r,i},Rt.prototype.f5m=function(t,e){var n=this.e5m_1,r=t.lq(n);r.es(n,0,O(),e.c36_1),r.cs(n,1,new L(jt()),e.j5m_1),r.mq(n)},Rt.prototype.on=function(t,e){return this.f5m(t,e instanceof Nt?e:z())},Rt.$metadata$=_(\\\"$serializer\\\",[D]),$t.prototype.w=function(t,e){return this.k5m_1(t,e)},$t.prototype.compare=function(t,e){return this.w(t,e)},$t.$metadata$=S(\\\"sam$kotlin_Comparator$0\\\",[N]),Nt.prototype.l5m=function(){return this.j5m_1},Nt.prototype.a4e=function(){var t,e=this.f2n(),n=V(q(e,null,null,3,null),\\\"rows\\\").y();t=new $t(Bt);for(var r=H(n,t),i=W(G(r,10)),o=r.e();o.f();){var a;a=o.g().w2(),i.a(a)}return i},Nt.prototype.m5m=function(){for(var t=this.a4e(),e=W(G(t,10)),n=t.e();n.f();){var r=n.g();e.a(new Y(X(r)))}return e},Nt.$metadata$=S(\\\"VisionOfTable\\\",[J],void 0,{0:Dt},void 0,U.prototype),Ft.prototype.nn=function(){return Q().l1o_1},Ft.prototype.pn=function(t){var e=t.kq(Q()),n=nt(et(tt(e,\\\"name\\\"))),r=ot(g(rt),it([]),!1),i=tt(e,\\\"meta\\\");return new st(n,r,null==i?at().r1m_1:i)},Ft.prototype.n5m=function(t,e){var n=lt();n.y1o(\\\"name\\\",e.c2()),n.r1o(\\\"meta\\\",e.n1l());var r=ut(n);t.ds(Q(),r)},Ft.prototype.on=function(t,e){return this.n5m(t,null!=e&&ht(e,ct)?e:z())},Ft.$metadata$=_(\\\"ColumnHeaderSerializer\\\",[pt]),qt.prototype.k2m=function(){return this.o5m_1},qt.prototype.c9=function(){return this.p5m_1},qt.prototype.n2n=function(t,e){return new Ht},qt.$metadata$=_(\\\"Companion\\\",[y]),Ht.prototype.k2m=function(){return Vt().o5m_1},Ht.prototype.l2m=function(t){dt.prototype.l2m.call(this,t),n(6546),n(1791)},Ht.prototype.s3l=function(t){var e;return t instanceof Nt?(gt(),e=10):(gt(),e=0),e},Ht.prototype.t3l=function(t,e,n){var r=e instanceof Nt?e:null;if(null==r){var i=\\\"VisionOfTable expected but \\\"+yt(e)+\\\" found\\\";throw bt(_t(i))}for(var o,a=r,s={},l=a.j5m_1,u=W(G(l,10)),c=l.e();c.f();){var h,p=c.g(),f={};f.field=p.c2();var m=Ut(p).w5l();f.title=null==m?p.c2():m,f.resizable=!0,h=f,u.a(h)}o=xt(u),s.columns=o;for(var v,g,y=0,_=a.j5m_1.h()+1|0,b=wt(Array(_),null);y<_;){var x,w,A=y;if(0===A){var C={field:\\\"@index\\\",title:\\\"#\\\",resizable:!1};w=C}else{var M=a.j5m_1.j(A-1|0),E={};E.field=M.c2();var T=Ut(M).w5l();E.title=null==T?M.c2():T,E.resizable=!0,w=E}x=w,b[A]=x,y=y+1|0}s.columns=b;for(var S=a.m5m(),k=W(G(S,10)),O=0,I=S.e();I.f();){var L,P=I.g().x5l_1,R=O;O=R+1|0;var D=At(R),$=Mt(Ct(P));$[\\\"@index\\\"]=D,L=$,k.a(L)}v=xt(k),s.data=v,s.pagination=!0,s.paginationSize=10,g=[10,25,50,100],s.paginationSizeSelector=g;var B=s;new d(t instanceof HTMLElement?t:z(),B)},Ht.prototype.q2m=function(t){var e=t;return gt(),\\\"elementVisionRenderer\\\"===e?St(Tt(Et(\\\"table\\\"),this)):dt.prototype.q2m.call(this,t)},Ht.$metadata$=S(\\\"TableVisionJsPlugin\\\",[kt],void 0,void 0,void 0,dt.prototype),Lt.prototype.c2=E,Lt.prototype.v1m=T,Rt.prototype.gy=R,Nt.prototype.c37=Z,Nt.prototype.d37=K,Ht.prototype.c2=E,Ht.prototype.v1m=T,t.$_$=t.$_$||{},t.$_$.a=Vt}(t.exports,n(2995),n(5247),n(8744),n(5102),n(3645),n(384),n(4371))},9390:(t,e,n)=>{!function(t,e,n,r,i,o,a,s,l,u,c,h,p){\\\"use strict\\\";var f,d,m,v,g,y,_,b,x,w,A,C,M,E,T,S,k,O=e.Color,I=e.AmbientLight,L=e.BoxGeometry,P=e.Box3,z=e.PerspectiveCamera,R=n.OrbitControls,D=r.TrackballControls,$=e.EdgesGeometry,B=e.LineSegments,N=e.Mesh,F=i.MeshLineMaterial,j=e.AxesHelper,U=e.Vector3,q=e.Plane,V=e.Raycaster,H=e.Vector2,G=e.Scene,W=e.Texture,X=e.PlaneGeometry,Y=e.MeshBasicMaterial,Z=e.DoubleSide,K=o.CSG,J=e.CylinderGeometry,Q=a.ConvexBufferGeometry,tt=e.Euler,et=e.Quaternion,nt=e.BufferGeometry,rt=e.Float32BufferAttribute,it=Math.imul,ot=e.LineBasicMaterial,at=e.MeshStandardMaterial,st=e.Group,lt=e.PointLight,ut=e.SphereGeometry,ct=e.Material,ht=e.WebGLRenderer,pt=i.MeshLine,ft=s.$_$.eb,dt=s.$_$.b5,mt=l.$_$.c,vt=l.$_$.f,gt=u.$_$.f2,yt=u.$_$.p,_t=l.$_$.k,bt=s.$_$.f,xt=u.$_$.v1,wt=s.$_$.oe,At=s.$_$.ib,Ct=l.$_$.l,Mt=l.$_$.b1,Et=l.$_$.j,Tt=c.$_$.j4,St=s.$_$.d2,kt=c.$_$.h1,Ot=c.$_$.a5,It=s.$_$.da,Lt=s.$_$.x,Pt=s.$_$.a1,zt=c.$_$.f3,Rt=c.$_$.b4,Dt=s.$_$.b1,$t=u.$_$.l,Bt=s.$_$.fb,Nt=s.$_$.bb,Ft=s.$_$.q7,jt=s.$_$.r6,Ut=c.$_$.m3,qt=s.$_$.mb,Vt=c.$_$.x,Ht=h.$_$.n,Gt=h.$_$.m,Wt=c.$_$.q4,Xt=s.$_$.aa,Yt=s.$_$.bc,Zt=s.$_$.ha,Kt=l.$_$.v,Jt=c.$_$.d5,Qt=l.$_$.m,te=s.$_$.lf,ee=u.$_$.e,ne=l.$_$.n,re=s.$_$.nb,ie=l.$_$.o,oe=s.$_$.b6,ae=s.$_$.ka,se=l.$_$.o1,le=l.$_$.p1,ue=l.$_$.q1,ce=l.$_$.f1,he=l.$_$.h1,pe=l.$_$.i1,fe=l.$_$.j1,de=l.$_$.g1,me=l.$_$.k1,ve=l.$_$.l1,ge=l.$_$.m1,ye=l.$_$.x,_e=s.$_$.ta,be=l.$_$.q,xe=l.$_$.d,we=s.$_$.hb,Ae=s.$_$.e1,Ce=l.$_$.e1,Me=l.$_$.a1,Ee=l.$_$.a,Te=s.$_$.ea,Se=l.$_$.p,ke=l.$_$.t,Oe=l.$_$.s,Ie=l.$_$.z,Le=l.$_$.n1,Pe=c.$_$.c4,ze=c.$_$.k3,Re=c.$_$.d,De=c.$_$.g1,$e=c.$_$.h3,Be=c.$_$.a3,Ne=c.$_$.g3,Fe=c.$_$.x2,je=u.$_$.n1,Ue=l.$_$.w,qe=c.$_$.w2,Ve=c.$_$.z2,He=l.$_$.d1,Ge=s.$_$.m5,We=h.$_$.l,Xe=h.$_$.c,Ye=h.$_$.b,Ze=h.$_$.h,Ke=s.$_$.m9,Je=c.$_$.o4,Qe=c.$_$.v4,tn=h.$_$.k,en=h.$_$.d,nn=h.$_$.a,rn=l.$_$.h,on=l.$_$.y,an=l.$_$.r,sn=s.$_$.e,ln=u.$_$.q,un=l.$_$.c1,cn=l.$_$.e,hn=p.$_$.o,pn=p.$_$.n,fn=l.$_$.u,dn=l.$_$.i,mn=u.$_$.m,vn=s.$_$.qf,gn=s.$_$.u7,yn=c.$_$.i4,_n=h.$_$.f,bn=h.$_$.g,xn=u.$_$.w,wn=s.$_$.b7,An=c.$_$.p4,Cn=c.$_$.r4,Mn=c.$_$.x4,En=c.$_$.s4,Tn=s.$_$.p7,Sn=s.$_$.dc,kn=(s.$_$.n9,c.$_$.t4),On=l.$_$.g,In=s.$_$.ja;function Ln(){f=this}function Pn(){d=this,mr.call(this,bt(Ct))}function zn(t){var e=t.o44_1.clientWidth,n=t.o44_1.clientHeight;t.y44_1.width=e,t.y44_1.height=n,t.x44_1.setSize(e,n,!1),t.v44_1.aspect=e/n,t.v44_1.updateProjectionMatrix()}function Rn(t,e){if(null==e.r44_1)throw St(\\\"Can't resolve element name without the root\\\");var n;if(It(t.parent,e.r44_1))n=kt().w1o(t.name);else{var r=t.parent,i=null==r?null:Rn(r,e);n=Ot(null==i?kt().v1o_1:i,kt().w1o(t.name))}return n}function Dn(t){t.s44_1.setFromCamera(t.t44_1,t.v44_1);var e,n=t.r44_1;if(null==n)e=null;else{var r,i,o=t.s44_1.intersectObject(n,!0);t:{for(var a=Pt(o.length),s=o,l=0,u=s.length;l<u;){var c,h=s[l];l=l+1|0,c=h.object,a.a(c)}for(var p=a.e();p.f();){var f=p.g();if(f.visible){i=f;break t}}i=null}r=null==i?null:function(t,e){for(var n=t;;)t:do{var r,i=n.name;if(Lt(i,\\\"@\\\",!1,2,null)){var o=n.parent;if(null!=o){n=o;continue t}r=null}else r=n;return r}while(0)}(i),e=r}return e}function $n(t,e,n,r,i){var o,a,s=t.userData;if(Nn(),1==s.doNotHighlight)return dt();if(Br(t)){var l,u=t.getObjectByName(r);if(null==u){var c=function(t){return 1==t.isMeshLineMaterial}(i)?new N((o=new $(t.geometry),(a=new pt).setGeometry(o),a),i):new B(new $(t.geometry),i);c.name=r,t.add(c),l=c}else l=u;l.visible=n}else{for(var h=t.children,p=Dt(),f=h,d=0,m=f.length;d<m;){var v,g=f[d];d=d+1|0;var y=g.name;if(Lt(y,\\\"@static\\\",!1,2,null))v=!0;else{var _=g.name;v=!Lt(_,\\\"@\\\",!1,2,null)}v&&p.a(g)}for(var b=p.e();b.f();)$n(b.g(),e,n,r,i)}}function Bn(){m=this;var t,e=new F,n=e.color;$t(),n.set(16777200),e.lineWidth=2,ar(e,!0),t=e,this.a45_1=t;var r,i=new F,o=i.color;$t(),o.set(255),i.lineWidth=2,ar(i,!0),r=i,this.b45_1=r,this.c45_1=\\\"doNotHighlight\\\",this.d45_1=\\\"@highlight\\\",this.e45_1=\\\"@select\\\",this.f45_1=\\\"@light\\\",this.g45_1=\\\"@axes\\\"}function Nn(){return null==m&&new Bn,m}function Fn(t){return t.l45_1=!0,dt()}function jn(t){return function(e){var n=Dn(t),r=t.p44_1.j42_1;return null==r||r(null==n?null:Rn(n,t)),dt()}}function Un(){return\\\"Replacing root node in three canvas\\\"}function qn(t,e,n){Nn(),this.n44_1=t,this.o44_1=e,this.p44_1=n,this.q44_1=null,this.r44_1=null,this.s44_1=new V,this.t44_1=new H;var r,i,o=new G,a=Zt(\\\"axes\\\",1,Yt,(function(t){return t.l42()}),(function(t,e){return t.k42(e)}));Tt(this.p44_1,a,o,(i=o,function(t,e){Nn();var n=i.getObjectByName(\\\"@axes\\\");null==n||(i.remove(n),dt());var r=new j(Bt(t.l42().h()));r.visible=t.l42().h40();var o=r;return Nn(),o.name=\\\"@axes\\\",i.add(o),dt()})),r=o,this.u44_1=r,this.v44_1=function(t,e){var n,r=new z(e.l41(),1,e.n41(),e.p41()),i=e.r41(),o=Et(e),a=i*Math.sin(o),s=e.t41();n=Math.sin(s),r.translateX(a*n);var l,u=e.r41(),c=Et(e);l=Math.cos(c),r.translateY(u*l);var h,p=e.r41(),f=Et(e),d=p*Math.sin(f),m=e.t41();h=Math.cos(m),r.translateZ(d*h);var v,g=Zt(\\\"layers\\\",1,Yt,(function(t){return t.l1m()}),(function(t,e){return t.r42(e)}));return Tt(t.p44_1,g,r,(v=r,function(t,e){var n=Nt(0,31),r=n.e1_1,i=n.f1_1;if(r<=i){do{var o=r;r=r+1|0,e.t1(o)?v.layers.enable(o):v.layers.disable(o)}while(o!==i);dt()}return dt()})),r}(this,this.p44_1.n42()),this.w44_1=null;var s,l=function(t){var e=(null,null,null,null,null,null,null,127,function(t,e,n,r,i,o,a,s,l,u){return t=void 0,e=void 0,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,Fr.call(u,t,e,n,r,i,o,a),u}(null,null,null,null,null,null,null,0,0,Object.create(Fr.prototype)));return t(e),new ht(e)}(Fn);$t(),l.setClearColor(8900331,1),s=l,this.x44_1=s;var u,c=this.x44_1.domElement,h=c instanceof HTMLCanvasElement?c:wt(),p=h;p.className=p.className+\\\"three-canvas\\\";var f,d=h.style;if(d.width=\\\"100%\\\",d.height=\\\"100%\\\",d.display=\\\"block\\\",u=h,this.y44_1=u,0!==this.o44_1.getElementsByClassName(\\\"three-canvas\\\").length)throw St(qt(\\\"Three canvas already created in this element\\\"));this.o44_1.appendChild(this.y44_1),zn(this),this.y44_1.addEventListener(\\\"pointerdown\\\",jn(this),!1),this.y44_1.addEventListener(\\\"mousemove\\\",(f=this,function(t){if(null==(t instanceof MouseEvent?t:null));else{var e=f.y44_1.getBoundingClientRect();f.t44_1.x=(t.clientX-e.left)/f.y44_1.clientWidth*2-1,f.t44_1.y=-(t.clientY-e.top)/f.y44_1.clientHeight*2+1,dt()}return dt()}),!1),window.onresize=function(t){return function(e){return zn(t),dt()}}(this),function(t,e,n){\\\"trackball\\\"===Rt(zt(n.i1q_1,\\\"type\\\"))?new D(t.v44_1,e):new R(t.v44_1,e)}(this,this.y44_1,this.p44_1.p42()),this.x44_1.setAnimationLoop(function(t){return function(){var e=Dn(t);if(null!=e&&!It(t.w44_1,e)){var n=t.w44_1;null==n||(Nn(),$n(n,t,!1,\\\"@highlight\\\",Nn().b45_1)),Nn(),$n(e,t,!0,\\\"@highlight\\\",Nn().b45_1),t.w44_1=e,dt()}return t.x44_1.render(t.u44_1,t.v44_1),dt()}}(this));var m=Zt(\\\"clipping\\\",1,Yt,(function(t){return t.t42()}),(function(t,e){return t.s42(e)}));Vt(this.p44_1,m,null,function(t){return function(e,n){if(Ut(n.i1q_1))t.x44_1.localClippingEnabled=!1,dt();else{t.x44_1.localClippingEnabled=!0;var r=t.q44_1;if(null==r);else{var i,o=n.k3p();if(null==o)i=null;else{var a=r.min.x+(r.max.x-r.min.x)*o;i=new q(new U(-1,0,0),a)}var s,l=i,u=n.l3p();if(null==u)s=null;else{var c=r.min.y+(r.max.y-r.min.y)*u;s=new q(new U(0,-1,0),c)}var h,p=s,f=n.m3p();if(null==f)h=null;else{var d=r.min.z+(r.max.z-r.min.z)*f;h=new q(new U(0,0,-1),d)}var m,v=Ft([l,p,h]);m=jt(v),t.x44_1.clippingPlanes=m,dt()}dt()}return dt()}}(this),2,null);var v=Zt(\\\"size\\\",1,Yt,(function(t){return t.h()}),(function(t,e){return t.q42(e)}));Vt(this.p44_1,v,null,function(t){return function(e,n){var r=t.y44_1.style;return r.minWidth=Bt(t.p44_1.h().m43())+\\\"px\\\",r.maxWidth=Bt(t.p44_1.h().r43())+\\\"px\\\",r.minHeight=Bt(t.p44_1.h().o43())+\\\"px\\\",r.maxHeight=Bt(t.p44_1.h().t43())+\\\"px\\\",dt()}}(this),2,null),this.z44_1=null}function Vn(){v=this}function Hn(t){this.a46_1=t}function Gn(){g=this,mr.call(this,bt(ne))}function Wn(){y=this,mr.call(this,bt(ie))}function Xn(){_=this,this.h46_1=\\\"threeFactory\\\"}function Yn(){return null==_&&new Xn,_}function Zn(){Yn()}function Kn(t,e){var n=gt(e);if(t.visible=null==n||n,_e(e,ye)){t.position.set(se(e),le(e),ue(e));var r=ce(e);null!=r?t.setRotationFromQuaternion(new et(r.u_1.k3p(),r.u_1.l3p(),r.u_1.m3p(),r.t_1)):t.setRotationFromEuler(new tt(he(e),pe(e),fe(e),de(e).y1_1)),t.scale.set(me(e),ve(e),ge(e)),t.updateMatrix()}}function Jn(){b=this,mr.call(this,bt(be))}function Qn(t,e,n){if(Br(t)&&Jt(n,vt().g3s_1))!function(t,e,n){if(function(t){return 1==t.userData.cached}(t.material)||n.equals(vt().g3s_1)||n.equals(Ot(vt().g3s_1,vt().i3s_1)))hr(t,e);else{var r=n;if(r.equals(vt().o3s_1)){var i;i=t.material;var o=e.f2n(),a=vt().o3s_1,s=pr(o.w36(a,null,null,6,null));i.color=null==s?cr().u46_1:s}else if(r.equals(vt().j3s_1)){var l;l=t.material;var u=e.f2n(),c=vt().j3s_1,h=pr(u.w36(c,null,null,6,null));l.specular=null==h?cr().u46_1:h}else if(r.equals(vt().p3s_1)){var p;p=t.material;var f=e.f2n(),d=vt().p3s_1,m=pr(f.w36(d,null,null,6,null));p.emissive=null==m?cr().w46_1:m}else if(r.equals(vt().m3s_1)){var v=e.f2n(),g=vt().m3s_1,y=v.p36(g,!0,null,4,null),_=null==y?null:Ve(y),b=null==_?1:_;t.material.opacity=b,t.material.transparent=b<1}else if(r.equals(vt().r3s_1)){var x;x=t.material;var w=e.f2n(),A=vt().r3s_1,C=w.p36(A,!0,null,4,null),M=null==C?null:qe(C);x.wireframe=null!=M&&M}else console.warn(\\\"Unrecognized material property: \\\"+n);t.material.needsUpdate=!0}}(t,e,n);else if(Jt(n,xe().n3r_1)||Jt(n,xe().r3r_1)||Jt(n,xe().x3r_1))Kn(t,e);else if(n.equals(yt().g3d_1)){var r=gt(e);t.visible=null==r||r}}function tr(t,e,n){var r,i=t.n46_1,o=i.s(e);if(null==o){rr(t.l46_1,[e.k3p(),e.l3p(),e.m3p()]),rr(t.m46_1,[n.k3p(),e.l3p(),e.m3p()]);var a=t,s=a.o46_1;a.o46_1=we(s+1);var l=t.o46_1;i.b(e,l),r=l}else r=o;return r}function er(){this.k46_1=Dt(),this.l46_1=Dt(),this.m46_1=Dt(),this.n46_1=Ae(),this.o46_1=-1}function nr(t){return new U(t.k3p(),t.l3p(),t.m3p())}function rr(t,e){for(var n=e,r=0,i=n.length;r<i;){var o=n[r];r=r+1|0,t.a(o)}}function ir(){}function or(){x=this}function ar(t,e){t.userData.cached=e}function sr(t){var e=t.w2();return null==e||e===De()?null:e.c9().equals(Re())?new O(ze(e)):new O(Pe(e))}function lr(t,e){var n=new ot,r=$e(e,vt().h3s_1),i=null==r?null:pr(r);n.color=null==i?cr().c47():i;var o=Be($e(e,vt().l3s_1));n.opacity=null==o?1:o,n.transparent=n.opacity<1;var a=Be(Ne(e,\\\"thickness\\\"));return n.linewidth=null==a?1:a,n}function ur(){w=this,$t(),this.u46_1=new O(25600);var t,e=new at;e.color.set(cr().u46_1),ar(e,!0),t=e,this.v46_1=t,$t(),this.w46_1=new O(0),this.x46_1=this.w46_1;var n,r=new ot;r.color.set(cr().c47()),ar(r,!0),n=r,this.y46_1=n,this.z46_1=Ae(),this.a47_1=Ae()}function cr(){return null==w&&new ur,w}function hr(t,e){var n=e.f2n().m36();if(null==(null==n?null:$e(n,vt().g3s_1))&&je(e,vt().g3s_1).i())if(e instanceof Ue)cr().g47(e.u3v());else{var r,i=e.l1l();if(null==i)r=null;else{var o=cr(),a=i.f2n(),s=vt().g3s_1;r=o.f47(a.w36(s,null,null,6,null))}var l=r;t.material=null==l?cr().g47(e):l}else{var u=cr(),c=e.f2n(),h=vt().g3s_1;t.material=u.f47(c.w36(h,null,null,6,null))}}function pr(t){var e=t.w2();if(null!=e)return e===De()?null:e.c9().equals(Re())?new O(ze(e)):new O(Pe(e));$t();var n=t.w1m(Wt(\\\"red\\\")),r=null==n?null:ze(n);$t();var i=t.w1m(Wt(\\\"green\\\")),o=null==i?null:ze(i);$t();var a=t.w1m(Wt(\\\"blue\\\")),s=null==a?null:ze(a);return null==r&&null==o&&null==s?null:new O(null==r?0:r,null==o?0:o,null==s?0:s)}function fr(){A=this,this.h47_1=\\\"@edges\\\"}function dr(){return null==A&&new fr,A}function mr(t){dr(),this.m44_1=t}function vr(t,e){hr(t,e),gr(t,e),t.layers.set(He(e));for(var n=t.children,r=0,i=n.length;r<i;){var o=n[r];r=r+1|0,o.layers.set(He(e))}return t}function gr(t,e){var n,r;t:{for(var i=t.children,o=0,a=i.length;o<a;){var s=i[o];o=o+1|0;var l=s.name;if(dr(),\\\"@edges\\\"===l){r=s;break t}}r=null}var u=(n=r)instanceof B?n:null,c=e.f2n(),h=vt().u3s_1,p=c.p36(h,!1,null,4,null);if(!1!==(null==p?null:qe(p))){var f=cr(),d=e.f2n(),m=vt().v3s_1,v=f.b47(d.w36(m,null,null,6,null),!0);if(null==u){var g,y=new B(new $(t.geometry),v);dr(),y.name=\\\"@edges\\\",g=y,t.add(g)}else u.material=v}else{var _=u;null==_||(t.remove(_),$r(_),dt())}}function yr(){C=this}function _r(t){return function(){return\\\"Failed to render \\\"+t}}function br(){M=this,Xe(),this.j47_1=Ye(\\\"vision.threejs\\\",\\\"dataforge\\\",null,4,null),this.k47_1=bt(Mr)}function xr(){return null==M&&new br,M}function wr(t){return function(){return\\\"Failed to render \\\"+t}}function Ar(t,e,n){this.t47_1=t,this.u47_1=e,Ke.call(this,n)}function Cr(t,e,n,r){this.e48_1=t,this.f48_1=e,this.g48_1=n,Ke.call(this,r)}function Mr(){xr(),nn(null,1,null,this);var t=rn();this.t45_1=this.p2m(t,null,2,null),this.u45_1=Ae(),this.v45_1=new Hn(this);var e=this.u45_1,n=bt(Ct),r=(null==d&&new Pn,d);e.b(n,r);var i=this.u45_1,o=bt(ie),a=(null==y&&new Wn,y);i.b(o,a);var s=this.u45_1,l=bt(on),u=(null==k&&new Dr,k);s.b(l,u);var c=this.u45_1,h=bt(ne),p=(null==g&&new Gn,g);c.b(h,p);var m=this.u45_1,_=bt(Oe),b=(null==S&&new Rr,S);m.b(_,b);var x=this.u45_1,w=bt(Kt),A=(null==v&&new Vn,v);x.b(w,A);var C=this.u45_1,M=bt(_t),E=(null==f&&new Ln,f);C.b(M,E);var T=this.u45_1,O=bt(an),I=Ir();T.b(O,I),this.w45_1=Ae()}function Er(t,e){var n;if(Qe(e))n=t;else if(1===Mn(e)){var r;t:{for(var i=t.children,o=0,a=i.length;o<a;){var s=i[o];if(o=o+1|0,s.name===wn(e.b1p_1).toString()){r=s;break t}}r=null}n=r}else{var l=Er(t,An(wn(e.b1p_1)));n=null==l?null:Er(l,Cn(e))}return n}function Tr(t,e,n){n.name=e.toString(),t.add(n)}function Sr(t,e,n){switch(Mn(e)){case 0:throw St(\\\"Can't set object with an empty name\\\");case 1:Tr(t,wn(e.b1p_1),n);break;default:Tr(kr(t,En(e)),Tn(e.b1p_1),n)}}function kr(t,e){var n;if(Qe(e))n=t;else if(1===Mn(e)){var r,i=wn(e.b1p_1);t:{for(var o=t.children,a=0,s=o.length;a<s;){var l=o[a];if(a=a+1|0,l.name===i.toString()){r=l;break t}}r=null}var u,c=r;if(null==c){var h=new st;h.name=i.toString(),t.add(h),u=h}else u=c;n=u}else n=kr(kr(t,An(wn(e.b1p_1))),Cn(e));return n}function Or(){E=this,this.p48_1=new O(4210752)}function Ir(){return null==E&&new Or,E}function Lr(t,e){var n;if(Br(t)){var r=new N(t.geometry,t.material);ar(r.material,!0),r.applyMatrix4(t.matrix),n=r}else n=t.clone(!1);var i=n;i.name=t.name;for(var o=t.children,a=0,s=o.length;a<s;){var l=o[a];a=a+1|0,i.add(Lr(l,zr()))}return i}function Pr(){T=this,this.j48_1=Ae(),this.k48_1=bt(Ue)}function zr(){return null==T&&new Pr,T}function Rr(){S=this}function Dr(){k=this,mr.call(this,bt(on))}function $r(t){var e=t;e instanceof nt||e instanceof ct?t.dispose():e instanceof N?(t.geometry.dispose(),t.material.dispose()):(e instanceof R||e instanceof W)&&t.dispose()}function Br(t){var e=t.isMesh,n=null!=e&&\\\"boolean\\\"==typeof e?e:null;return null!=n&&n}function Nr(t){var e=t,n=e.isMesh;return(null!=n&&\\\"boolean\\\"==typeof n?n:wt())?e:null}function Fr(t,e,n,r,i,o,a){this.h45_1=t,this.i45_1=e,this.j45_1=n,this.k45_1=r,this.l45_1=i,this.m45_1=o,this.n45_1=a}Pn.prototype=Object.create(mr.prototype),Pn.prototype.constructor=Pn,Gn.prototype=Object.create(mr.prototype),Gn.prototype.constructor=Gn,Wn.prototype=Object.create(mr.prototype),Wn.prototype.constructor=Wn,Jn.prototype=Object.create(mr.prototype),Jn.prototype.constructor=Jn,ir.prototype=Object.create(ke.prototype),ir.prototype.constructor=ir,Ar.prototype=Object.create(Ke.prototype),Ar.prototype.constructor=Ar,Cr.prototype=Object.create(Ke.prototype),Cr.prototype.constructor=Cr,Mr.prototype=Object.create(en.prototype),Mr.prototype.constructor=Mr,Dr.prototype=Object.create(mr.prototype),Dr.prototype.constructor=Dr,Ln.prototype.c9=function(){return bt(_t)},Ln.prototype.h44=function(t,e,n){var r=new I,i=sr(e.t35());r.color=null==i?new O(4210752):i,r.intensity=ft(e.d3r());var o,a,s=r;if(n){var l=t.p5();xt(e,l,(o=s,a=e,function(t){var e=t;if(e.equals(yt().g3d_1)){var n=gt(a);o.visible=null==n||n,dt()}else if(e.equals(vt().h3s_1)){var r=sr(a.t35());o.color=null==r?new O(4210752):r,dt()}else e.equals(mt().c3s_1)&&(o.intensity=ft(a.d3r()),dt());return dt()}))}return s},Ln.prototype.i44=function(t,e,n){return this.h44(t,e instanceof _t?e:wt(),n)},Ln.$metadata$=At(\\\"ThreeAmbientLightFactory\\\",[Zn]),Pn.prototype.k44=function(t){var e=Mt(t),n=null==e?null:new L(t.u3p_1,t.v3p_1,t.w3p_1,e,e,e);return null==n?new L(t.u3p_1,t.v3p_1,t.w3p_1):n},Pn.prototype.l44=function(t){return this.k44(t instanceof Ct?t:wt())},Pn.$metadata$=At(\\\"ThreeBoxFactory\\\",void 0,void 0,void 0,void 0,mr.prototype),Bn.$metadata$=At(\\\"Companion\\\"),qn.prototype.o45=function(){return this.p44_1},qn.prototype.p45=function(t){if(null!=this.r44_1){var e=Ht(this.n44_1);Gt(e,Un);var n=Er(this.u44_1,Wt(\\\"@root\\\"));null==n||(this.u44_1.remove(n),dt());var r=this.r44_1;null==r||$r(r)}var i,o,a=this.n44_1.x45(t,!1,2,null);a.name=\\\"@root\\\",this.u44_1.add(a),o=a,(i=this).r44_1=o,null!=o&&(i.q44_1=(new P).setFromObject(o))},qn.prototype.y45=function(t){if(null==t){var e=this.z44_1;return null==e||(Nn(),$n(e,this,!1,\\\"@select\\\",Nn().a45_1)),this.z44_1=null,dt()}var n=this.r44_1,r=null==n?null:Er(n,t);if(null!=r&&!It(this.z44_1,r)){var i=this.z44_1;null==i||(Nn(),$n(i,this,!1,\\\"@select\\\",Nn().a45_1)),Nn(),$n(r,this,!0,\\\"@select\\\",Nn().a45_1),this.z44_1=r}},qn.$metadata$=Xt(\\\"ThreeCanvas\\\"),Vn.prototype.c9=function(){return bt(Kt)},Vn.prototype.z45=function(t,e,n){var r=document.createElement(\\\"canvas\\\"),i=r instanceof HTMLCanvasElement?r:wt();i.width=200,i.height=200;var o=i.getContext(\\\"2d\\\");o instanceof CanvasRenderingContext2D||wt(),o.font=\\\"Bold \\\"+e.s3u_1+\\\"pt \\\"+e.t3u_1;var a=e.f2n().o36(vt().o3s_1,!1,!0),s=null==a?null:a.w2();o.fillStyle=null==s?\\\"black\\\":s,o.textBaseline=\\\"middle\\\";var l=o.measureText(e.r3u_1);o.fillText(e.r3u_1,(i.width-l.width)/2,.5*i.height);var u=new W(i);u.needsUpdate=!0;var c=new X(i.width,i.height),h=new Y;h.map=u,h.side=Z,h.transparent=!0;var p=new N(c,h);Kn(p,e);var f=p.userData;return Nn(),f.doNotHighlight=!0,p},Vn.prototype.i44=function(t,e,n){return this.z45(t,e instanceof Kt?e:wt(),n)},Vn.$metadata$=At(\\\"ThreeCanvasLabelFactory\\\",[Zn]),Hn.prototype.c9=function(){return bt(Qt)},Hn.prototype.b46=function(t,e,n){var r=Nr(t.c46(e.e3n_1,n));if(null==r)throw St(\\\"First part of composite is not a mesh\\\");var i=r,o=Nr(t.c46(e.f3n_1,n));if(null==o)throw St(\\\"Second part of composite is not a mesh\\\");var a,s=o;switch(e.d3n_1.z1_1){case 0:case 1:a=K.union(i,s);break;case 2:a=K.intersect(i,s);break;case 3:a=K.subtract(i,s);break;default:te()}var l,u,c=a;return Kn(c,e),vr(c,e),n&&ee(e,null,(l=c,u=e,function(t){return Jt(t,vt().s3s_1)?(gr(l,u),dt()):(Qn(l,u,t),dt()),dt()}),1,null),c},Hn.prototype.i44=function(t,e,n){return this.b46(t,e instanceof Qt?e:wt(),n)},Hn.$metadata$=Xt(\\\"ThreeCompositeFactory\\\",[Zn]),Gn.prototype.e46=function(t){var e,n=Mt(t);if(null==n)e=null;else{var r,i=n;r=Math.pow(i,.5);var o=Bt(r);e=new J(t.q3n_1,t.o3n_1,t.p3n_1,o,o,!1,t.r3n_1,t.s3n_1)}var a=e;return(null==a?new J(t.q3n_1,t.o3n_1,t.p3n_1,void 0,void 0,!1,t.r3n_1,t.s3n_1):a).rotateX(re()/2)},Gn.prototype.l44=function(t){return this.e46(t instanceof ne?t:wt())},Gn.$metadata$=At(\\\"ThreeConeFactory\\\",void 0,void 0,void 0,void 0,mr.prototype),Wn.prototype.g46=function(t){for(var e,n=t.t3o_1,r=Pt(oe(n,10)),i=n.e();i.f();){var o;o=nr(i.g()),r.a(o)}return e=jt(r),new Q(e)},Wn.prototype.l44=function(t){return this.g46(t instanceof ie?t:wt())},Wn.$metadata$=At(\\\"ThreeConvexFactory\\\",void 0,void 0,void 0,void 0,mr.prototype),Xn.$metadata$=At(\\\"Companion\\\"),Zn.$metadata$=ae(\\\"ThreeFactory\\\"),Jn.prototype.j46=function(t){var e=new er;return t.y3n(e),e.v3()},Jn.prototype.l44=function(t){return this.j46(_e(t,be)?t:wt())},Jn.$metadata$=At(\\\"ThreeShapeFactory\\\",void 0,void 0,void 0,void 0,mr.prototype),er.prototype.o3p=function(t,e,n,r,i){var o=r,a=null==o?Me(Ce(n,e),Ce(t,e)):o;rr(this.k46_1,[tr(this,t,a),tr(this,e,a),tr(this,n,a)])},er.prototype.v3=function(){var t,e,n=new nt,r=this.k46_1;t=jt(r),n.setIndex(t);var i,o=this.l46_1;e=jt(o),n.setAttribute(\\\"position\\\",new rt(e,3));var a=this.m46_1;i=jt(a),n.setAttribute(\\\"normal\\\",new rt(i,3));for(var s=0,l=it(this.o46_1+1|0,2),u=Te(Array(l),null);s<l;)u[s]=0,s=s+1|0;var c=u;return n.setAttribute(\\\"uv\\\",new rt(c,2)),n.computeBoundingSphere(),n},er.$metadata$=Xt(\\\"ThreeGeometryBuilder\\\",[Se]),ir.$metadata$=Xt(\\\"ThreeJsVision\\\",void 0,void 0,void 0,void 0,ke.prototype),or.prototype.c9=function(){return bt(Oe)},or.prototype.t46=function(t,e,n){for(var r=new nt,i=0,o=it(e.d3t_1.h()-1|0,2),a=Te(Array(o),null);i<o;){var s,l,u=i,c=u/2;l=Math.ceil(c),s=nr(e.d3t_1.j(Bt(l))),a[u]=s,i=i+1|0}r.setFromPoints(a);var h=r,p=cr(),f=e.f2n(),d=vt().g3s_1,m=p.b47(f.w36(d,null,null,6,null),!1);m.linewidth=ft(e.h3t());var v=Le(Ie(e)),g=null==v?null:new O(v);m.color=null==g?cr().c47():g;var y,_,b=new B(h,m);if(Kn(b,e),n){var x=t.p5();xt(e,x,(y=b,_=e,function(t){return Qn(y,_,t),dt()}))}return b},or.prototype.i44=function(t,e,n){return this.t46(t,e instanceof Oe?e:wt(),n)},or.$metadata$=At(\\\"ThreeLineFactory\\\",[Zn]),ur.prototype.d47=function(){return this.u46_1},ur.prototype.e47=function(){return this.x46_1},ur.prototype.c47=function(){return this.w46_1},ur.prototype.b47=function(t,e){if(null==t)return this.y46_1;var n;if(e){var r,i=this.z46_1,o=t.hashCode(),a=i.s(o);if(null==a){var s=lr(cr(),t);i.b(o,s),r=s}else r=a;n=r}else n=lr(0,t);return n},ur.prototype.f47=function(t){var e,n=$e(t,vt().i3s_1);if(\\\"simple\\\"===(null==n?null:Rt(n))){var r=new Y,i=$e(t,vt().h3s_1),o=null==i?null:pr(i);r.color=null==o?cr().u46_1:o;var a=Fe($e(t,vt().n3s_1));r.wireframe=null!=a&&a,e=r}else{var s=new at,l=$e(t,vt().h3s_1),u=null==l?null:pr(l);s.color=null==u?cr().u46_1:u;var c=$e(t,vt().k3s_1),h=null==c?null:pr(c);s.emissive=null==h?cr().x46_1:h;var p=Fe($e(t,vt().n3s_1));s.wireframe=null!=p&&p,e=s}var f=e,d=$e(t,vt().l3s_1),m=null==d?null:Be(d);return f.opacity=null==m?1:m,f.transparent=f.opacity<1,f.needsUpdate=!0,f},ur.prototype.g47=function(t){var e,n=this.a47_1,r=n.s(t);if(null==r){var i=cr(),o=t.f2n(),a=vt().g3s_1,s=i.f47(o.w36(a,null,null,6,null));ar(s,!0);var l=s;n.b(t,l),e=l}else e=r;return e},ur.$metadata$=At(\\\"ThreeMaterials\\\"),fr.prototype.i47=function(){return this.h47_1},fr.$metadata$=At(\\\"Companion\\\"),mr.prototype.c9=function(){return this.m44_1},mr.prototype.i44=function(t,e,n){var r=this.l44(e),i=new N(r,cr().v46_1);i.matrixAutoUpdate=!1,Kn(i,e),vr(i,e);var o,a,s,l=i;if(n){var u=t.p5();xt(e,u,(o=l,a=this,s=e,function(t){if(Jt(t,xe().j3r_1)){var e=o.geometry,n=a.l44(s);e.attributes=n.attributes,gr(o,s),n.dispose(),dt()}else Jt(t,vt().s3s_1)?(gr(o,s),dt()):(Qn(o,s,t),dt());return dt()}))}return l},mr.$metadata$=Xt(\\\"ThreeMeshFactory\\\",[Zn]),yr.prototype.c9=function(){return bt(Oe)},yr.prototype.t46=function(t,e,n){for(var r=0,i=it(e.d3t_1.h()-1|0,2),o=Te(Array(i),null);r<i;){var a,s,l=r,u=l/2;s=Math.ceil(u),a=nr(e.d3t_1.j(Bt(s))),o[l]=a,r=r+1|0}var c,h,p=(c=o,(h=new pt).setPoints(c),h),f=new F;f.lineWidth=ft(e.h3t());var d=Le(Ie(e)),m=null==d?null:new O(d);f.color=null==m?cr().c47():m;var v,g,y=new N(p,f);if(Kn(y,e),n){var _=t.p5();xt(e,_,(v=y,g=e,function(t){return Qn(v,g,t),dt()}))}return y},yr.prototype.i44=function(t,e,n){return this.t46(t,e instanceof Oe?e:wt(),n)},yr.$metadata$=At(\\\"ThreeMeshLineFactory\\\",[Zn]),br.prototype.k2m=function(){return this.j47_1},br.prototype.c9=function(){return this.k47_1},br.prototype.n2n=function(t,e){return new Mr},br.$metadata$=At(\\\"Companion\\\",[Ze]),Ar.prototype.z3d=function(t,e){var n=this.a3e(t,e);return n.im_1=dt(),n.jm_1=null,n.pm()},Ar.prototype.qm=function(t,e){return this.z3d(t instanceof Je?t:wt(),e)},Ar.prototype.pm=function(){for(this.im_1;;)try{var t=this.gm_1;if(0===t){if(this.hm_1=1,Jt(this.v47_1,xe().n3r_1)||Jt(this.v47_1,xe().r3r_1)||Jt(this.v47_1,xe().x3r_1))Kn(this.t47_1,this.u47_1);else if(this.v47_1.equals(yt().g3d_1)){var e=gt(this.u47_1);this.t47_1.visible=null==e||e}return dt()}if(1===t)throw this.jm_1}catch(t){throw t}},Ar.prototype.a3e=function(t,e){var n=new Ar(this.t47_1,this.u47_1,e);return n.v47_1=t,n},Ar.$metadata$=Xt(\\\"ThreePlugin$buildObject3D$slambda\\\",void 0,void 0,void 0,[1],Ke.prototype),Cr.prototype.z3d=function(t,e){var n=this.a3e(t,e);return n.im_1=dt(),n.jm_1=null,n.pm()},Cr.prototype.qm=function(t,e){return this.z3d(t instanceof Je?t:wt(),e)},Cr.prototype.pm=function(){for(this.im_1;;)try{var t=this.gm_1;if(0===t){if(this.hm_1=1,Qe(this.h48_1))return dt();var e=this.e48_1.y1r().u3e(this.h48_1),n=Er(this.f48_1,this.h48_1);if(null==n);else{var r=n.parent;null==r||r.remove(n)}if(null!=e&&null!=e&&_e(e,ye))try{var i=this.g48_1.x45(e,!1,2,null);Sr(this.f48_1,this.h48_1,i)}catch(t){if(!(t instanceof Error))throw t;var o=Ht(this.g48_1);tn(o,t,_r(e))}return dt()}if(1===t)throw this.jm_1}catch(t){throw t}},Cr.prototype.a3e=function(t,e){var n=new Cr(this.e48_1,this.f48_1,this.g48_1,e);return n.h48_1=t,n},Cr.$metadata$=Xt(\\\"ThreePlugin$buildObject3D$slambda\\\",void 0,void 0,void 0,[1],Ke.prototype),Mr.prototype.k2m=function(){return xr().j47_1},Mr.prototype.i48=function(){return this.t45_1.s7(this,Zt(\\\"solids\\\",1,Sn,(function(t){return t.i48()}),null))},Mr.prototype.c46=function(t,e){var n,r=t;if(r instanceof ir)n=t.s46(this);else if(r instanceof Ue)n=zr().l48(this,t,e);else if(r instanceof fn){for(var i=new st,o=t.o1l().y().e();o.f();){var a=o.g(),s=a.u2(),l=a.w2();if(!s.equals(cn().g3u_1)&&!0!==un(l))try{var u;ln(),u=\\\"@static\\\"!==s.p1l_1&&e,Tr(i,s,this.c46(l,u))}catch(t){if(!(t instanceof Error))throw t;var c=Ht(this);tn(c,t,wr(l))}}if(Kn(i,t),e){var h=t.f2n().u36();pn(hn(h,function(t,e,n){var r=new Ar(t,e,null),i=function(t,e){return r.z3d(t,e)};return i.$arity=1,i}(i,t)),this.p5());var p=t.y1r().u36();pn(hn(p,function(t,e,n,r){var i=new Cr(t,e,n,null),o=function(t,e){return i.z3d(t,e)};return o.$arity=1,o}(t,i,this)),this.p5())}n=i}else if(r instanceof Qt)n=this.v45_1.b46(this,t,e);else{var f,d=function(t,e){var n,r=t.u45_1,i=(_e(r,Ge)?r:wt()).s(e);if(null==i){var o,a=t.p5();Yn();t:{for(var s=We(a,\\\"threeFactory\\\",bt(Zn),!0).l3().e();s.f();){var l=s.g();if(l.c9().equals(e)){o=l;break t}}o=null}n=o}else n=i;var u=n;return null==u||_e(u,Zn)?u:wt()}(this,sn(t));if(null!=d)f=d.i44(this,t,e);else{if(!_e(t,be)){var m=\\\"Renderer for \\\"+sn(t)+\\\" not found\\\";throw St(qt(m))}f=(null==b&&new Jn,b).i44(this,t,e)}n=f}return n},Mr.prototype.x45=function(t,e,n,r){return 0!=(2&n)&&(e=!0),this.c46(t,e)},Mr.prototype.m48=function(t,e){var n,r=this.w45_1,i=r.s(t);if(null==i){var o=new qn(this,t,e);r.b(t,o),n=o}else n=i;return n},Mr.prototype.n48=function(t,e,n,r){return 0!=(2&n)&&(e=new dn),this.m48(t,e)},Mr.prototype.q2m=function(t){var e=t;return mn(),\\\"elementVisionRenderer\\\"===e?gn(vn(Wt(\\\"three\\\"),this)):en.prototype.q2m.call(this,t)},Mr.prototype.s3l=function(t){var e;return _e(t,ye)?(mn(),e=10):(mn(),e=0),e},Mr.prototype.o48=function(t,e){var n=this.n48(t,null,2,null);return n.p45(e),n},Mr.prototype.t3l=function(t,e,n){var r,i=_e(e,ye)?e:null;if(null==i){var o=\\\"Solid expected but \\\"+sn(e)+\\\" found\\\";throw St(qt(o))}r=i;var a=this.o48(t,r);yn(a.p44_1.i1q_1,n)},Mr.$metadata$=Xt(\\\"ThreePlugin\\\",[xn],void 0,void 0,void 0,en.prototype),Or.prototype.c9=function(){return bt(an)},Or.prototype.q48=function(t,e,n){var r=new lt;r.matrixAutoUpdate=!1;var i=sr(e.t35());r.color=null==i?Ir().p48_1:i,r.intensity=ft(e.d3r()),Kn(r,e);var o,a,s=r;if(n){var l=t.p5();xt(e,l,(o=s,a=e,function(t){var e=t;if(e.equals(Wt(Zt(\\\"color\\\",1,Sn,(function(t){return t.t35()}),null).callableName))){var n=sr(a.t35());o.color=null==n?Ir().p48_1:n,dt()}else e.equals(Wt(Zt(\\\"intensity\\\",1,Yt,(function(t){return t.d3r()}),(function(t,e){return t.c3r(e)})).callableName))?(o.intensity=ft(a.d3r()),dt()):(Qn(o,a,t),dt());return dt()}))}return s},Or.prototype.i44=function(t,e,n){return this.q48(t,e instanceof an?e:wt(),n)},Or.$metadata$=At(\\\"ThreePointLightFactory\\\",[Zn]),Pr.prototype.c9=function(){return this.k48_1},Pr.prototype.l48=function(t,e,n){var r,i=e.u3v(),o=this.j48_1,a=o.s(i);if(null==a){var s=t.x45(i,!1,2,null);o.b(i,s),r=s}else r=a;var l,u,c=Lr(r);if(Kn(c,e),Br(c)&&vr(c,e),n){var h=t.p5();xt(e,h,(l=e,u=c,function(t){var e=kn(t),n=null==e?null:e.p1l_1;if(On(),\\\"@child\\\"===n){var r=kn(t),i=null==r?null:r.q1l_1,o=null==i?null:kt().w1o(i);if(null==o)throw St(qt(\\\"Wrong syntax for reference child property: '\\\"+t+\\\"'\\\"));var a=o,s=Cn(t),c=l.y1r().u3e(a);if(null==c)throw St(qt(\\\"Reference child with name '\\\"+a+\\\"' not found\\\"));var h=c,p=Er(u,a);if(null==p)throw St(qt(\\\"Object child with name '\\\"+a+\\\"' not found\\\"));Qn(p,h,s),dt()}else Qn(u,l,t),dt();return dt()}))}return c},Pr.prototype.i44=function(t,e,n){return this.l48(t,e instanceof Ue?e:wt(),n)},Pr.$metadata$=At(\\\"ThreeReferenceFactory\\\",[Zn]),Rr.prototype.c9=function(){return bt(Oe)},Rr.prototype.t46=function(t,e,n){return It(e.h3t(),1)?(null==x&&new or,x).t46(t,e,n):(null==C&&new yr,C).t46(t,e,n)},Rr.prototype.i44=function(t,e,n){return this.t46(t,e instanceof Oe?e:wt(),n)},Rr.$metadata$=At(\\\"ThreeSmartLineFactory\\\",[Zn]),Dr.prototype.s48=function(t){var e,n=Mt(t);if(null==n)e=null;else{var r=t.z3y_1,i=t.a3z_1,o=t.b3z_1,a=t.c3z_1,s=t.d3z_1;e=new ut(r,n,n,i,o,a,s)}var l=e;return null==l?new ut(t.z3y_1,void 0,void 0,t.a3z_1,t.b3z_1,t.c3z_1,t.d3z_1):l},Dr.prototype.l44=function(t){return this.s48(t instanceof on?t:wt())},Dr.$metadata$=At(\\\"ThreeSphereFactory\\\",void 0,void 0,void 0,void 0,mr.prototype),Fr.prototype.toString=function(){return\\\"WebGLRendererParams(canvas=\\\"+this.h45_1+\\\", alpha=\\\"+this.i45_1+\\\", depth=\\\"+this.j45_1+\\\", stencil=\\\"+this.k45_1+\\\", antialias=\\\"+this.l45_1+\\\", premultipliedAlpha=\\\"+this.m45_1+\\\", preserveDrawingBuffer=\\\"+this.n45_1+\\\")\\\"},Fr.prototype.hashCode=function(){var t=null==this.h45_1?0:In(this.h45_1);return t=it(t,31)+(null==this.i45_1?0:0|this.i45_1)|0,t=it(t,31)+(null==this.j45_1?0:0|this.j45_1)|0,t=it(t,31)+(null==this.k45_1?0:0|this.k45_1)|0,t=it(t,31)+(null==this.l45_1?0:0|this.l45_1)|0,t=it(t,31)+(null==this.m45_1?0:0|this.m45_1)|0,it(t,31)+(null==this.n45_1?0:0|this.n45_1)|0},Fr.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fr))return!1;var e=t instanceof Fr?t:wt();return!!It(this.h45_1,e.h45_1)&&this.i45_1==e.i45_1&&this.j45_1==e.j45_1&&this.k45_1==e.k45_1&&this.l45_1==e.l45_1&&this.m45_1==e.m45_1&&this.n45_1==e.n45_1},Fr.$metadata$=Xt(\\\"WebGLRendererParams\\\"),er.prototype.z3n=Ee,Mr.prototype.c2=_n,Mr.prototype.v1m=bn,t.$_$=t.$_$||{},t.$_$.a=xr,t.$_$.b=qn}(t.exports,n(9585),n(7078),n(3576),n(4749),n(1792),n(4858),n(8744),n(5798),n(5102),n(384),n(5247),n(7646))},3885:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(336);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},6425:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(9653);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},8016:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(1418);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},2474:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(508);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},4450:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(1649);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},2048:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(3307);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},5637:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(5547);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},9731:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(1451);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},965:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(6918);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},7082:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(5849);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},8293:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(3386);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},1009:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(3679);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},6652:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(3757);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},7359:(t,e,n)=>{var r=n(3743),i=n(8124),o=n(8591),a=n(7035),s=n(6190),l=n(2799),u=n(9538);u=u.__esModule?u.default:u;var c={};c.styleTagTransform=l,c.setAttributes=a,c.insert=o.bind(null,\\\"head\\\"),c.domAPI=i,c.insertStyleElement=s,r(u,c),t.exports=u&&u.locals||{}},6546:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{default:()=>g});var r=n(3743),i=n.n(r),o=n(8124),a=n.n(o),s=n(8591),l=n.n(s),u=n(7035),c=n.n(u),h=n(6190),p=n.n(h),f=n(2799),d=n.n(f),m=n(1915),v={};v.styleTagTransform=d(),v.setAttributes=c(),v.insert=l().bind(null,\\\"head\\\"),v.domAPI=a(),v.insertStyleElement=p(),i()(m.Z,v);const g=m.Z&&m.Z.locals?m.Z.locals:void 0},9585:(t,e)=>{\\\"use strict\\\";Object.defineProperty(e,\\\"__esModule\\\",{value:!0});const n=\\\"143\\\",r=100,i=300,o=301,a=302,s=303,l=304,u=306,c=1e3,h=1001,p=1002,f=1003,d=1004,m=1005,v=1006,g=1007,y=1008,_=1009,b=1012,x=1014,w=1015,A=1016,C=1020,M=1023,E=1026,T=1027,S=33776,k=33777,O=33778,I=33779,L=35840,P=35841,z=35842,R=35843,D=37492,$=37496,B=37808,N=37809,F=37810,j=37811,U=37812,q=37813,V=37814,H=37815,G=37816,W=37817,X=37818,Y=37819,Z=37820,K=37821,J=36492,Q=2300,tt=2301,et=2302,nt=2400,rt=2401,it=2402,ot=2501,at=3e3,st=3001,lt=\\\"srgb\\\",ut=\\\"srgb-linear\\\",ct=7680,ht=35044,pt=\\\"300 es\\\",ft=1035;class dt{addEventListener(t,e){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[t]&&(n[t]=[]),-1===n[t].indexOf(e)&&n[t].push(e)}hasEventListener(t,e){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[t]&&-1!==n[t].indexOf(e)}removeEventListener(t,e){if(void 0===this._listeners)return;const n=this._listeners[t];if(void 0!==n){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}dispatchEvent(t){if(void 0===this._listeners)return;const e=this._listeners[t.type];if(void 0!==e){t.target=this;const n=e.slice(0);for(let e=0,r=n.length;e<r;e++)n[e].call(this,t);t.target=null}}}const mt=[\\\"00\\\",\\\"01\\\",\\\"02\\\",\\\"03\\\",\\\"04\\\",\\\"05\\\",\\\"06\\\",\\\"07\\\",\\\"08\\\",\\\"09\\\",\\\"0a\\\",\\\"0b\\\",\\\"0c\\\",\\\"0d\\\",\\\"0e\\\",\\\"0f\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\",\\\"13\\\",\\\"14\\\",\\\"15\\\",\\\"16\\\",\\\"17\\\",\\\"18\\\",\\\"19\\\",\\\"1a\\\",\\\"1b\\\",\\\"1c\\\",\\\"1d\\\",\\\"1e\\\",\\\"1f\\\",\\\"20\\\",\\\"21\\\",\\\"22\\\",\\\"23\\\",\\\"24\\\",\\\"25\\\",\\\"26\\\",\\\"27\\\",\\\"28\\\",\\\"29\\\",\\\"2a\\\",\\\"2b\\\",\\\"2c\\\",\\\"2d\\\",\\\"2e\\\",\\\"2f\\\",\\\"30\\\",\\\"31\\\",\\\"32\\\",\\\"33\\\",\\\"34\\\",\\\"35\\\",\\\"36\\\",\\\"37\\\",\\\"38\\\",\\\"39\\\",\\\"3a\\\",\\\"3b\\\",\\\"3c\\\",\\\"3d\\\",\\\"3e\\\",\\\"3f\\\",\\\"40\\\",\\\"41\\\",\\\"42\\\",\\\"43\\\",\\\"44\\\",\\\"45\\\",\\\"46\\\",\\\"47\\\",\\\"48\\\",\\\"49\\\",\\\"4a\\\",\\\"4b\\\",\\\"4c\\\",\\\"4d\\\",\\\"4e\\\",\\\"4f\\\",\\\"50\\\",\\\"51\\\",\\\"52\\\",\\\"53\\\",\\\"54\\\",\\\"55\\\",\\\"56\\\",\\\"57\\\",\\\"58\\\",\\\"59\\\",\\\"5a\\\",\\\"5b\\\",\\\"5c\\\",\\\"5d\\\",\\\"5e\\\",\\\"5f\\\",\\\"60\\\",\\\"61\\\",\\\"62\\\",\\\"63\\\",\\\"64\\\",\\\"65\\\",\\\"66\\\",\\\"67\\\",\\\"68\\\",\\\"69\\\",\\\"6a\\\",\\\"6b\\\",\\\"6c\\\",\\\"6d\\\",\\\"6e\\\",\\\"6f\\\",\\\"70\\\",\\\"71\\\",\\\"72\\\",\\\"73\\\",\\\"74\\\",\\\"75\\\",\\\"76\\\",\\\"77\\\",\\\"78\\\",\\\"79\\\",\\\"7a\\\",\\\"7b\\\",\\\"7c\\\",\\\"7d\\\",\\\"7e\\\",\\\"7f\\\",\\\"80\\\",\\\"81\\\",\\\"82\\\",\\\"83\\\",\\\"84\\\",\\\"85\\\",\\\"86\\\",\\\"87\\\",\\\"88\\\",\\\"89\\\",\\\"8a\\\",\\\"8b\\\",\\\"8c\\\",\\\"8d\\\",\\\"8e\\\",\\\"8f\\\",\\\"90\\\",\\\"91\\\",\\\"92\\\",\\\"93\\\",\\\"94\\\",\\\"95\\\",\\\"96\\\",\\\"97\\\",\\\"98\\\",\\\"99\\\",\\\"9a\\\",\\\"9b\\\",\\\"9c\\\",\\\"9d\\\",\\\"9e\\\",\\\"9f\\\",\\\"a0\\\",\\\"a1\\\",\\\"a2\\\",\\\"a3\\\",\\\"a4\\\",\\\"a5\\\",\\\"a6\\\",\\\"a7\\\",\\\"a8\\\",\\\"a9\\\",\\\"aa\\\",\\\"ab\\\",\\\"ac\\\",\\\"ad\\\",\\\"ae\\\",\\\"af\\\",\\\"b0\\\",\\\"b1\\\",\\\"b2\\\",\\\"b3\\\",\\\"b4\\\",\\\"b5\\\",\\\"b6\\\",\\\"b7\\\",\\\"b8\\\",\\\"b9\\\",\\\"ba\\\",\\\"bb\\\",\\\"bc\\\",\\\"bd\\\",\\\"be\\\",\\\"bf\\\",\\\"c0\\\",\\\"c1\\\",\\\"c2\\\",\\\"c3\\\",\\\"c4\\\",\\\"c5\\\",\\\"c6\\\",\\\"c7\\\",\\\"c8\\\",\\\"c9\\\",\\\"ca\\\",\\\"cb\\\",\\\"cc\\\",\\\"cd\\\",\\\"ce\\\",\\\"cf\\\",\\\"d0\\\",\\\"d1\\\",\\\"d2\\\",\\\"d3\\\",\\\"d4\\\",\\\"d5\\\",\\\"d6\\\",\\\"d7\\\",\\\"d8\\\",\\\"d9\\\",\\\"da\\\",\\\"db\\\",\\\"dc\\\",\\\"dd\\\",\\\"de\\\",\\\"df\\\",\\\"e0\\\",\\\"e1\\\",\\\"e2\\\",\\\"e3\\\",\\\"e4\\\",\\\"e5\\\",\\\"e6\\\",\\\"e7\\\",\\\"e8\\\",\\\"e9\\\",\\\"ea\\\",\\\"eb\\\",\\\"ec\\\",\\\"ed\\\",\\\"ee\\\",\\\"ef\\\",\\\"f0\\\",\\\"f1\\\",\\\"f2\\\",\\\"f3\\\",\\\"f4\\\",\\\"f5\\\",\\\"f6\\\",\\\"f7\\\",\\\"f8\\\",\\\"f9\\\",\\\"fa\\\",\\\"fb\\\",\\\"fc\\\",\\\"fd\\\",\\\"fe\\\",\\\"ff\\\"];let vt=1234567;const gt=Math.PI/180,yt=180/Math.PI;function _t(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0;return(mt[255&t]+mt[t>>8&255]+mt[t>>16&255]+mt[t>>24&255]+\\\"-\\\"+mt[255&e]+mt[e>>8&255]+\\\"-\\\"+mt[e>>16&15|64]+mt[e>>24&255]+\\\"-\\\"+mt[63&n|128]+mt[n>>8&255]+\\\"-\\\"+mt[n>>16&255]+mt[n>>24&255]+mt[255&r]+mt[r>>8&255]+mt[r>>16&255]+mt[r>>24&255]).toLowerCase()}function bt(t,e,n){return Math.max(e,Math.min(n,t))}function xt(t,e){return(t%e+e)%e}function wt(t,e,n){return(1-n)*t+n*e}function At(t){return 0==(t&t-1)&&0!==t}function Ct(t){return Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}function Mt(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}var Et=Object.freeze({__proto__:null,DEG2RAD:gt,RAD2DEG:yt,generateUUID:_t,clamp:bt,euclideanModulo:xt,mapLinear:function(t,e,n,r,i){return r+(t-e)*(i-r)/(n-e)},inverseLerp:function(t,e,n){return t!==e?(n-t)/(e-t):0},lerp:wt,damp:function(t,e,n,r){return wt(t,e,1-Math.exp(-n*r))},pingpong:function(t,e=1){return e-Math.abs(xt(t,2*e)-e)},smoothstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*(3-2*t)},smootherstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*t*(t*(6*t-15)+10)},randInt:function(t,e){return t+Math.floor(Math.random()*(e-t+1))},randFloat:function(t,e){return t+Math.random()*(e-t)},randFloatSpread:function(t){return t*(.5-Math.random())},seededRandom:function(t){void 0!==t&&(vt=t);let e=vt+=1831565813;return e=Math.imul(e^e>>>15,1|e),e^=e+Math.imul(e^e>>>7,61|e),((e^e>>>14)>>>0)/4294967296},degToRad:function(t){return t*gt},radToDeg:function(t){return t*yt},isPowerOfTwo:At,ceilPowerOfTwo:Ct,floorPowerOfTwo:Mt,setQuaternionFromProperEuler:function(t,e,n,r,i){const o=Math.cos,a=Math.sin,s=o(n/2),l=a(n/2),u=o((e+r)/2),c=a((e+r)/2),h=o((e-r)/2),p=a((e-r)/2),f=o((r-e)/2),d=a((r-e)/2);switch(i){case\\\"XYX\\\":t.set(s*c,l*h,l*p,s*u);break;case\\\"YZY\\\":t.set(l*p,s*c,l*h,s*u);break;case\\\"ZXZ\\\":t.set(l*h,l*p,s*c,s*u);break;case\\\"XZX\\\":t.set(s*c,l*d,l*f,s*u);break;case\\\"YXY\\\":t.set(l*f,s*c,l*d,s*u);break;case\\\"ZYZ\\\":t.set(l*d,l*f,s*c,s*u);break;default:console.warn(\\\"THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: \\\"+i)}},normalize:function(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return Math.round(65535*t);case Uint8Array:return Math.round(255*t);case Int16Array:return Math.round(32767*t);case Int8Array:return Math.round(127*t);default:throw new Error(\\\"Invalid component type.\\\")}},denormalize:function(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error(\\\"Invalid component type.\\\")}}});class Tt{constructor(t=0,e=0){Tt.prototype.isVector2=!0,this.x=t,this.y=e}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error(\\\"index is out of range: \\\"+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error(\\\"index is out of range: \\\"+t)}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){const e=this.x,n=this.y,r=t.elements;return this.x=r[0]*e+r[3]*n+r[6],this.y=r[1]*e+r[4]*n+r[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y;return e*e+n*n}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this}rotateAround(t,e){const n=Math.cos(e),r=Math.sin(e),i=this.x-t.x,o=this.y-t.y;return this.x=i*n-o*r+t.x,this.y=i*r+o*n+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class St{constructor(){St.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(t,e,n,r,i,o,a,s,l){const u=this.elements;return u[0]=t,u[1]=r,u[2]=a,u[3]=e,u[4]=i,u[5]=s,u[6]=n,u[7]=o,u[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],this}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){const e=t.elements;return this.set(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,r=e.elements,i=this.elements,o=n[0],a=n[3],s=n[6],l=n[1],u=n[4],c=n[7],h=n[2],p=n[5],f=n[8],d=r[0],m=r[3],v=r[6],g=r[1],y=r[4],_=r[7],b=r[2],x=r[5],w=r[8];return i[0]=o*d+a*g+s*b,i[3]=o*m+a*y+s*x,i[6]=o*v+a*_+s*w,i[1]=l*d+u*g+c*b,i[4]=l*m+u*y+c*x,i[7]=l*v+u*_+c*w,i[2]=h*d+p*g+f*b,i[5]=h*m+p*y+f*x,i[8]=h*v+p*_+f*w,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[3]*=t,e[6]*=t,e[1]*=t,e[4]*=t,e[7]*=t,e[2]*=t,e[5]*=t,e[8]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8];return e*o*u-e*a*l-n*i*u+n*a*s+r*i*l-r*o*s}invert(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=u*o-a*l,h=a*s-u*i,p=l*i-o*s,f=e*c+n*h+r*p;if(0===f)return this.set(0,0,0,0,0,0,0,0,0);const d=1/f;return t[0]=c*d,t[1]=(r*l-u*n)*d,t[2]=(a*n-r*o)*d,t[3]=h*d,t[4]=(u*e-r*s)*d,t[5]=(r*i-a*e)*d,t[6]=p*d,t[7]=(n*s-l*e)*d,t[8]=(o*e-n*i)*d,this}transpose(){let t;const e=this.elements;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.elements;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,r,i,o,a){const s=Math.cos(i),l=Math.sin(i);return this.set(n*s,n*l,-n*(s*o+l*a)+o+t,-r*l,r*s,-r*(-l*o+s*a)+a+e,0,0,1),this}scale(t,e){const n=this.elements;return n[0]*=t,n[3]*=t,n[6]*=t,n[1]*=e,n[4]*=e,n[7]*=e,this}rotate(t){const e=Math.cos(t),n=Math.sin(t),r=this.elements,i=r[0],o=r[3],a=r[6],s=r[1],l=r[4],u=r[7];return r[0]=e*i+n*s,r[3]=e*o+n*l,r[6]=e*a+n*u,r[1]=-n*i+e*s,r[4]=-n*o+e*l,r[7]=-n*a+e*u,this}translate(t,e){const n=this.elements;return n[0]+=t*n[2],n[3]+=t*n[5],n[6]+=t*n[8],n[1]+=e*n[2],n[4]+=e*n[5],n[7]+=e*n[8],this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<9;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<9;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t}clone(){return(new this.constructor).fromArray(this.elements)}}function kt(t){for(let e=t.length-1;e>=0;--e)if(t[e]>65535)return!0;return!1}const Ot={Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array};function It(t,e){return new Ot[t](e)}function Lt(t){return document.createElementNS(\\\"http://www.w3.org/1999/xhtml\\\",t)}function Pt(t){return t<.04045?.0773993808*t:Math.pow(.9478672986*t+.0521327014,2.4)}function zt(t){return t<.0031308?12.92*t:1.055*Math.pow(t,.41666)-.055}const Rt={[lt]:{[ut]:Pt},[ut]:{[lt]:zt}},Dt={legacyMode:!0,get workingColorSpace(){return ut},set workingColorSpace(t){console.warn(\\\"THREE.ColorManagement: .workingColorSpace is readonly.\\\")},convert:function(t,e,n){if(this.legacyMode||e===n||!e||!n)return t;if(Rt[e]&&void 0!==Rt[e][n]){const r=Rt[e][n];return t.r=r(t.r),t.g=r(t.g),t.b=r(t.b),t}throw new Error(\\\"Unsupported color space conversion.\\\")},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}},$t={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Bt={r:0,g:0,b:0},Nt={h:0,s:0,l:0},Ft={h:0,s:0,l:0};function jt(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+6*(e-t)*(2/3-n):t}function Ut(t,e){return e.r=t.r,e.g=t.g,e.b=t.b,e}class qt{constructor(t,e,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,void 0===e&&void 0===n?this.set(t):this.setRGB(t,e,n)}set(t){return t&&t.isColor?this.copy(t):\\\"number\\\"==typeof t?this.setHex(t):\\\"string\\\"==typeof t&&this.setStyle(t),this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,e=\\\"srgb\\\"){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(255&t)/255,Dt.toWorkingColorSpace(this,e),this}setRGB(t,e,n,r=\\\"srgb-linear\\\"){return this.r=t,this.g=e,this.b=n,Dt.toWorkingColorSpace(this,r),this}setHSL(t,e,n,r=\\\"srgb-linear\\\"){if(t=xt(t,1),e=bt(e,0,1),n=bt(n,0,1),0===e)this.r=this.g=this.b=n;else{const r=n<=.5?n*(1+e):n+e-n*e,i=2*n-r;this.r=jt(i,r,t+1/3),this.g=jt(i,r,t),this.b=jt(i,r,t-1/3)}return Dt.toWorkingColorSpace(this,r),this}setStyle(t,e=\\\"srgb\\\"){function n(e){void 0!==e&&parseFloat(e)<1&&console.warn(\\\"THREE.Color: Alpha component of \\\"+t+\\\" will be ignored.\\\")}let r;if(r=/^((?:rgb|hsl)a?)\\\\(([^\\\\)]*)\\\\)/.exec(t)){let t;const i=r[1],o=r[2];switch(i){case\\\"rgb\\\":case\\\"rgba\\\":if(t=/^\\\\s*(\\\\d+)\\\\s*,\\\\s*(\\\\d+)\\\\s*,\\\\s*(\\\\d+)\\\\s*(?:,\\\\s*(\\\\d*\\\\.?\\\\d+)\\\\s*)?$/.exec(o))return this.r=Math.min(255,parseInt(t[1],10))/255,this.g=Math.min(255,parseInt(t[2],10))/255,this.b=Math.min(255,parseInt(t[3],10))/255,Dt.toWorkingColorSpace(this,e),n(t[4]),this;if(t=/^\\\\s*(\\\\d+)\\\\%\\\\s*,\\\\s*(\\\\d+)\\\\%\\\\s*,\\\\s*(\\\\d+)\\\\%\\\\s*(?:,\\\\s*(\\\\d*\\\\.?\\\\d+)\\\\s*)?$/.exec(o))return this.r=Math.min(100,parseInt(t[1],10))/100,this.g=Math.min(100,parseInt(t[2],10))/100,this.b=Math.min(100,parseInt(t[3],10))/100,Dt.toWorkingColorSpace(this,e),n(t[4]),this;break;case\\\"hsl\\\":case\\\"hsla\\\":if(t=/^\\\\s*(\\\\d*\\\\.?\\\\d+)\\\\s*,\\\\s*(\\\\d+)\\\\%\\\\s*,\\\\s*(\\\\d+)\\\\%\\\\s*(?:,\\\\s*(\\\\d*\\\\.?\\\\d+)\\\\s*)?$/.exec(o)){const r=parseFloat(t[1])/360,i=parseInt(t[2],10)/100,o=parseInt(t[3],10)/100;return n(t[4]),this.setHSL(r,i,o,e)}}}else if(r=/^\\\\#([A-Fa-f\\\\d]+)$/.exec(t)){const t=r[1],n=t.length;if(3===n)return this.r=parseInt(t.charAt(0)+t.charAt(0),16)/255,this.g=parseInt(t.charAt(1)+t.charAt(1),16)/255,this.b=parseInt(t.charAt(2)+t.charAt(2),16)/255,Dt.toWorkingColorSpace(this,e),this;if(6===n)return this.r=parseInt(t.charAt(0)+t.charAt(1),16)/255,this.g=parseInt(t.charAt(2)+t.charAt(3),16)/255,this.b=parseInt(t.charAt(4)+t.charAt(5),16)/255,Dt.toWorkingColorSpace(this,e),this}return t&&t.length>0?this.setColorName(t,e):this}setColorName(t,e=\\\"srgb\\\"){const n=$t[t.toLowerCase()];return void 0!==n?this.setHex(n,e):console.warn(\\\"THREE.Color: Unknown color \\\"+t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(t){return this.r=t.r,this.g=t.g,this.b=t.b,this}copySRGBToLinear(t){return this.r=Pt(t.r),this.g=Pt(t.g),this.b=Pt(t.b),this}copyLinearToSRGB(t){return this.r=zt(t.r),this.g=zt(t.g),this.b=zt(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=\\\"srgb\\\"){return Dt.fromWorkingColorSpace(Ut(this,Bt),t),bt(255*Bt.r,0,255)<<16^bt(255*Bt.g,0,255)<<8^bt(255*Bt.b,0,255)<<0}getHexString(t=\\\"srgb\\\"){return(\\\"000000\\\"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,e=\\\"srgb-linear\\\"){Dt.fromWorkingColorSpace(Ut(this,Bt),e);const n=Bt.r,r=Bt.g,i=Bt.b,o=Math.max(n,r,i),a=Math.min(n,r,i);let s,l;const u=(a+o)/2;if(a===o)s=0,l=0;else{const t=o-a;switch(l=u<=.5?t/(o+a):t/(2-o-a),o){case n:s=(r-i)/t+(r<i?6:0);break;case r:s=(i-n)/t+2;break;case i:s=(n-r)/t+4}s/=6}return t.h=s,t.s=l,t.l=u,t}getRGB(t,e=\\\"srgb-linear\\\"){return Dt.fromWorkingColorSpace(Ut(this,Bt),e),t.r=Bt.r,t.g=Bt.g,t.b=Bt.b,t}getStyle(t=\\\"srgb\\\"){return Dt.fromWorkingColorSpace(Ut(this,Bt),t),t!==lt?`color(${t} ${Bt.r} ${Bt.g} ${Bt.b})`:`rgb(${255*Bt.r|0},${255*Bt.g|0},${255*Bt.b|0})`}offsetHSL(t,e,n){return this.getHSL(Nt),Nt.h+=t,Nt.s+=e,Nt.l+=n,this.setHSL(Nt.h,Nt.s,Nt.l),this}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r+=t,this.g+=t,this.b+=t,this}sub(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this}multiply(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this}multiplyScalar(t){return this.r*=t,this.g*=t,this.b*=t,this}lerp(t,e){return this.r+=(t.r-this.r)*e,this.g+=(t.g-this.g)*e,this.b+=(t.b-this.b)*e,this}lerpColors(t,e,n){return this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}lerpHSL(t,e){this.getHSL(Nt),t.getHSL(Ft);const n=wt(Nt.h,Ft.h,e),r=wt(Nt.s,Ft.s,e),i=wt(Nt.l,Ft.l,e);return this.setHSL(n,r,i),this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),!0===t.normalized&&(this.r/=255,this.g/=255,this.b/=255),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}let Vt;qt.NAMES=$t;class Ht{static getDataURL(t){if(/^data:/i.test(t.src))return t.src;if(\\\"undefined\\\"==typeof HTMLCanvasElement)return t.src;let e;if(t instanceof HTMLCanvasElement)e=t;else{void 0===Vt&&(Vt=Lt(\\\"canvas\\\")),Vt.width=t.width,Vt.height=t.height;const n=Vt.getContext(\\\"2d\\\");t instanceof ImageData?n.putImageData(t,0,0):n.drawImage(t,0,0,t.width,t.height),e=Vt}return e.width>2048||e.height>2048?(console.warn(\\\"THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons\\\",t),e.toDataURL(\\\"image/jpeg\\\",.6)):e.toDataURL(\\\"image/png\\\")}static sRGBToLinear(t){if(\\\"undefined\\\"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||\\\"undefined\\\"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||\\\"undefined\\\"!=typeof ImageBitmap&&t instanceof ImageBitmap){const e=Lt(\\\"canvas\\\");e.width=t.width,e.height=t.height;const n=e.getContext(\\\"2d\\\");n.drawImage(t,0,0,t.width,t.height);const r=n.getImageData(0,0,t.width,t.height),i=r.data;for(let t=0;t<i.length;t++)i[t]=255*Pt(i[t]/255);return n.putImageData(r,0,0),e}if(t.data){const e=t.data.slice(0);for(let t=0;t<e.length;t++)e instanceof Uint8Array||e instanceof Uint8ClampedArray?e[t]=Math.floor(255*Pt(e[t]/255)):e[t]=Pt(e[t]);return{data:e,width:t.width,height:t.height}}return console.warn(\\\"THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied.\\\"),t}}class Gt{constructor(t=null){this.isSource=!0,this.uuid=_t(),this.data=t,this.version=0}set needsUpdate(t){!0===t&&this.version++}toJSON(t){const e=void 0===t||\\\"string\\\"==typeof t;if(!e&&void 0!==t.images[this.uuid])return t.images[this.uuid];const n={uuid:this.uuid,url:\\\"\\\"},r=this.data;if(null!==r){let t;if(Array.isArray(r)){t=[];for(let e=0,n=r.length;e<n;e++)r[e].isDataTexture?t.push(Wt(r[e].image)):t.push(Wt(r[e]))}else t=Wt(r);n.url=t}return e||(t.images[this.uuid]=n),n}}function Wt(t){return\\\"undefined\\\"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||\\\"undefined\\\"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||\\\"undefined\\\"!=typeof ImageBitmap&&t instanceof ImageBitmap?Ht.getDataURL(t):t.data?{data:Array.from(t.data),width:t.width,height:t.height,type:t.data.constructor.name}:(console.warn(\\\"THREE.Texture: Unable to serialize Texture.\\\"),{})}let Xt=0;class Yt extends dt{constructor(t=Yt.DEFAULT_IMAGE,e=Yt.DEFAULT_MAPPING,n=1001,r=1001,i=1006,o=1008,a=1023,s=1009,l=1,u=3e3){super(),this.isTexture=!0,Object.defineProperty(this,\\\"id\\\",{value:Xt++}),this.uuid=_t(),this.name=\\\"\\\",this.source=new Gt(t),this.mipmaps=[],this.mapping=e,this.wrapS=n,this.wrapT=r,this.magFilter=i,this.minFilter=o,this.anisotropy=l,this.format=a,this.internalFormat=null,this.type=s,this.offset=new Tt(0,0),this.repeat=new Tt(1,1),this.center=new Tt(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new St,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=u,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.needsPMREMUpdate=!1}get image(){return this.source.data}set image(t){this.source.data=t}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return(new this.constructor).copy(this)}copy(t){return this.name=t.name,this.source=t.source,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.encoding=t.encoding,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}toJSON(t){const e=void 0===t||\\\"string\\\"==typeof t;if(!e&&void 0!==t.textures[this.uuid])return t.textures[this.uuid];const n={metadata:{version:4.5,type:\\\"Texture\\\",generator:\\\"Texture.toJSON\\\"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).uuid,mapping:this.mapping,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return\\\"{}\\\"!==JSON.stringify(this.userData)&&(n.userData=this.userData),e||(t.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}transformUv(t){if(this.mapping!==i)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case c:t.x=t.x-Math.floor(t.x);break;case h:t.x=t.x<0?0:1;break;case p:1===Math.abs(Math.floor(t.x)%2)?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x)}if(t.y<0||t.y>1)switch(this.wrapT){case c:t.y=t.y-Math.floor(t.y);break;case h:t.y=t.y<0?0:1;break;case p:1===Math.abs(Math.floor(t.y)%2)?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y)}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){!0===t&&(this.version++,this.source.needsUpdate=!0)}}Yt.DEFAULT_IMAGE=null,Yt.DEFAULT_MAPPING=i;class Zt{constructor(t=0,e=0,n=0,r=1){Zt.prototype.isVector4=!0,this.x=t,this.y=e,this.z=n,this.w=r}get width(){return this.z}set width(t){this.z=t}get height(){return this.w}set height(t){this.w=t}set(t,e,n,r){return this.x=t,this.y=e,this.z=n,this.w=r,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this.w=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setW(t){return this.w=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;case 3:this.w=e;break;default:throw new Error(\\\"index is out of range: \\\"+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error(\\\"index is out of range: \\\"+t)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=void 0!==t.w?t.w:1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this.w=t.w+e.w,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this.w+=t.w*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this.w=t.w-e.w,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this}applyMatrix4(t){const e=this.x,n=this.y,r=this.z,i=this.w,o=t.elements;return this.x=o[0]*e+o[4]*n+o[8]*r+o[12]*i,this.y=o[1]*e+o[5]*n+o[9]*r+o[13]*i,this.z=o[2]*e+o[6]*n+o[10]*r+o[14]*i,this.w=o[3]*e+o[7]*n+o[11]*r+o[15]*i,this}divideScalar(t){return this.multiplyScalar(1/t)}setAxisAngleFromQuaternion(t){this.w=2*Math.acos(t.w);const e=Math.sqrt(1-t.w*t.w);return e<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/e,this.y=t.y/e,this.z=t.z/e),this}setAxisAngleFromRotationMatrix(t){let e,n,r,i;const o=.01,a=.1,s=t.elements,l=s[0],u=s[4],c=s[8],h=s[1],p=s[5],f=s[9],d=s[2],m=s[6],v=s[10];if(Math.abs(u-h)<o&&Math.abs(c-d)<o&&Math.abs(f-m)<o){if(Math.abs(u+h)<a&&Math.abs(c+d)<a&&Math.abs(f+m)<a&&Math.abs(l+p+v-3)<a)return this.set(1,0,0,0),this;e=Math.PI;const t=(l+1)/2,s=(p+1)/2,g=(v+1)/2,y=(u+h)/4,_=(c+d)/4,b=(f+m)/4;return t>s&&t>g?t<o?(n=0,r=.707106781,i=.707106781):(n=Math.sqrt(t),r=y/n,i=_/n):s>g?s<o?(n=.707106781,r=0,i=.707106781):(r=Math.sqrt(s),n=y/r,i=b/r):g<o?(n=.707106781,r=.707106781,i=0):(i=Math.sqrt(g),n=_/i,r=b/i),this.set(n,r,i,e),this}let g=Math.sqrt((m-f)*(m-f)+(c-d)*(c-d)+(h-u)*(h-u));return Math.abs(g)<.001&&(g=1),this.x=(m-f)/g,this.y=(c-d)/g,this.z=(h-u)/g,this.w=Math.acos((l+p+v-1)/2),this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this.w=Math.max(t.w,Math.min(e.w,this.w)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this.w=Math.max(t,Math.min(e,this.w)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this.w+=(t.w-this.w)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this.w=t.w+(e.w-t.w)*n,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this.w=t[e+3],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this.w=t.getW(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class Kt extends dt{constructor(t,e,n={}){super(),this.isWebGLRenderTarget=!0,this.width=t,this.height=e,this.depth=1,this.scissor=new Zt(0,0,t,e),this.scissorTest=!1,this.viewport=new Zt(0,0,t,e);const r={width:t,height:e,depth:1};this.texture=new Yt(r,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=void 0!==n.generateMipmaps&&n.generateMipmaps,this.texture.internalFormat=void 0!==n.internalFormat?n.internalFormat:null,this.texture.minFilter=void 0!==n.minFilter?n.minFilter:v,this.depthBuffer=void 0===n.depthBuffer||n.depthBuffer,this.stencilBuffer=void 0!==n.stencilBuffer&&n.stencilBuffer,this.depthTexture=void 0!==n.depthTexture?n.depthTexture:null,this.samples=void 0!==n.samples?n.samples:0}setSize(t,e,n=1){this.width===t&&this.height===e&&this.depth===n||(this.width=t,this.height=e,this.depth=n,this.texture.image.width=t,this.texture.image.height=e,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e)}clone(){return(new this.constructor).copy(this)}copy(t){this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.copy(t.viewport),this.texture=t.texture.clone(),this.texture.isRenderTargetTexture=!0;const e=Object.assign({},t.texture.image);return this.texture.source=new Gt(e),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.samples=t.samples,this}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}}class Jt extends Yt{constructor(t=null,e=1,n=1,r=1){super(null),this.isDataArrayTexture=!0,this.image={data:t,width:e,height:n,depth:r},this.magFilter=f,this.minFilter=f,this.wrapR=h,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class Qt extends Yt{constructor(t=null,e=1,n=1,r=1){super(null),this.isData3DTexture=!0,this.image={data:t,width:e,height:n,depth:r},this.magFilter=f,this.minFilter=f,this.wrapR=h,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class te{constructor(t=0,e=0,n=0,r=1){this.isQuaternion=!0,this._x=t,this._y=e,this._z=n,this._w=r}static slerpFlat(t,e,n,r,i,o,a){let s=n[r+0],l=n[r+1],u=n[r+2],c=n[r+3];const h=i[o+0],p=i[o+1],f=i[o+2],d=i[o+3];if(0===a)return t[e+0]=s,t[e+1]=l,t[e+2]=u,void(t[e+3]=c);if(1===a)return t[e+0]=h,t[e+1]=p,t[e+2]=f,void(t[e+3]=d);if(c!==d||s!==h||l!==p||u!==f){let t=1-a;const e=s*h+l*p+u*f+c*d,n=e>=0?1:-1,r=1-e*e;if(r>Number.EPSILON){const i=Math.sqrt(r),o=Math.atan2(i,e*n);t=Math.sin(t*o)/i,a=Math.sin(a*o)/i}const i=a*n;if(s=s*t+h*i,l=l*t+p*i,u=u*t+f*i,c=c*t+d*i,t===1-a){const t=1/Math.sqrt(s*s+l*l+u*u+c*c);s*=t,l*=t,u*=t,c*=t}}t[e]=s,t[e+1]=l,t[e+2]=u,t[e+3]=c}static multiplyQuaternionsFlat(t,e,n,r,i,o){const a=n[r],s=n[r+1],l=n[r+2],u=n[r+3],c=i[o],h=i[o+1],p=i[o+2],f=i[o+3];return t[e]=a*f+u*c+s*p-l*h,t[e+1]=s*f+u*h+l*c-a*p,t[e+2]=l*f+u*p+a*h-s*c,t[e+3]=u*f-a*c-s*h-l*p,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,e,n,r){return this._x=t,this._y=e,this._z=n,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e){if(!t||!t.isEuler)throw new Error(\\\"THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.\\\");const n=t._x,r=t._y,i=t._z,o=t._order,a=Math.cos,s=Math.sin,l=a(n/2),u=a(r/2),c=a(i/2),h=s(n/2),p=s(r/2),f=s(i/2);switch(o){case\\\"XYZ\\\":this._x=h*u*c+l*p*f,this._y=l*p*c-h*u*f,this._z=l*u*f+h*p*c,this._w=l*u*c-h*p*f;break;case\\\"YXZ\\\":this._x=h*u*c+l*p*f,this._y=l*p*c-h*u*f,this._z=l*u*f-h*p*c,this._w=l*u*c+h*p*f;break;case\\\"ZXY\\\":this._x=h*u*c-l*p*f,this._y=l*p*c+h*u*f,this._z=l*u*f+h*p*c,this._w=l*u*c-h*p*f;break;case\\\"ZYX\\\":this._x=h*u*c-l*p*f,this._y=l*p*c+h*u*f,this._z=l*u*f-h*p*c,this._w=l*u*c+h*p*f;break;case\\\"YZX\\\":this._x=h*u*c+l*p*f,this._y=l*p*c+h*u*f,this._z=l*u*f-h*p*c,this._w=l*u*c-h*p*f;break;case\\\"XZY\\\":this._x=h*u*c-l*p*f,this._y=l*p*c-h*u*f,this._z=l*u*f+h*p*c,this._w=l*u*c+h*p*f;break;default:console.warn(\\\"THREE.Quaternion: .setFromEuler() encountered an unknown order: \\\"+o)}return!1!==e&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,r=Math.sin(n);return this._x=t.x*r,this._y=t.y*r,this._z=t.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(t){const e=t.elements,n=e[0],r=e[4],i=e[8],o=e[1],a=e[5],s=e[9],l=e[2],u=e[6],c=e[10],h=n+a+c;if(h>0){const t=.5/Math.sqrt(h+1);this._w=.25/t,this._x=(u-s)*t,this._y=(i-l)*t,this._z=(o-r)*t}else if(n>a&&n>c){const t=2*Math.sqrt(1+n-a-c);this._w=(u-s)/t,this._x=.25*t,this._y=(r+o)/t,this._z=(i+l)/t}else if(a>c){const t=2*Math.sqrt(1+a-n-c);this._w=(i-l)/t,this._x=(r+o)/t,this._y=.25*t,this._z=(s+u)/t}else{const t=2*Math.sqrt(1+c-n-a);this._w=(o-r)/t,this._x=(i+l)/t,this._y=(s+u)/t,this._z=.25*t}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(bt(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(0===n)return this;const r=Math.min(1,e/n);return this.slerp(t,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,r=t._y,i=t._z,o=t._w,a=e._x,s=e._y,l=e._z,u=e._w;return this._x=n*u+o*a+r*l-i*s,this._y=r*u+o*s+i*a-n*l,this._z=i*u+o*l+n*s-r*a,this._w=o*u-n*a-r*s-i*l,this._onChangeCallback(),this}slerp(t,e){if(0===e)return this;if(1===e)return this.copy(t);const n=this._x,r=this._y,i=this._z,o=this._w;let a=o*t._w+n*t._x+r*t._y+i*t._z;if(a<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,a=-a):this.copy(t),a>=1)return this._w=o,this._x=n,this._y=r,this._z=i,this;const s=1-a*a;if(s<=Number.EPSILON){const t=1-e;return this._w=t*o+e*this._w,this._x=t*n+e*this._x,this._y=t*r+e*this._y,this._z=t*i+e*this._z,this.normalize(),this._onChangeCallback(),this}const l=Math.sqrt(s),u=Math.atan2(l,a),c=Math.sin((1-e)*u)/l,h=Math.sin(e*u)/l;return this._w=o*c+this._w*h,this._x=n*c+this._x*h,this._y=r*c+this._y*h,this._z=i*c+this._z*h,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=Math.random(),e=Math.sqrt(1-t),n=Math.sqrt(t),r=2*Math.PI*Math.random(),i=2*Math.PI*Math.random();return this.set(e*Math.cos(r),n*Math.sin(i),n*Math.cos(i),e*Math.sin(r))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ee{constructor(t=0,e=0,n=0){ee.prototype.isVector3=!0,this.x=t,this.y=e,this.z=n}set(t,e,n){return void 0===n&&(n=this.z),this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error(\\\"index is out of range: \\\"+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error(\\\"index is out of range: \\\"+t)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(re.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(re.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,r=this.z,i=t.elements;return this.x=i[0]*e+i[3]*n+i[6]*r,this.y=i[1]*e+i[4]*n+i[7]*r,this.z=i[2]*e+i[5]*n+i[8]*r,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,r=this.z,i=t.elements,o=1/(i[3]*e+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*e+i[4]*n+i[8]*r+i[12])*o,this.y=(i[1]*e+i[5]*n+i[9]*r+i[13])*o,this.z=(i[2]*e+i[6]*n+i[10]*r+i[14])*o,this}applyQuaternion(t){const e=this.x,n=this.y,r=this.z,i=t.x,o=t.y,a=t.z,s=t.w,l=s*e+o*r-a*n,u=s*n+a*e-i*r,c=s*r+i*n-o*e,h=-i*e-o*n-a*r;return this.x=l*s+h*-i+u*-a-c*-o,this.y=u*s+h*-o+c*-i-l*-a,this.z=c*s+h*-a+l*-o-u*-i,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){const e=this.x,n=this.y,r=this.z,i=t.elements;return this.x=i[0]*e+i[4]*n+i[8]*r,this.y=i[1]*e+i[5]*n+i[9]*r,this.z=i[2]*e+i[6]*n+i[10]*r,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,r=t.y,i=t.z,o=e.x,a=e.y,s=e.z;return this.x=r*s-i*a,this.y=i*o-n*s,this.z=n*a-r*o,this}projectOnVector(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}projectOnPlane(t){return ne.copy(this).projectOnVector(t),this.sub(ne)}reflect(t){return this.sub(ne.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(bt(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,r=this.z-t.z;return e*e+n*n+r*r}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,e,n){const r=Math.sin(e)*t;return this.x=r*Math.sin(n),this.y=Math.cos(e)*t,this.z=r*Math.cos(n),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,n){return this.x=t*Math.sin(e),this.y=n,this.z=t*Math.cos(e),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrixScale(t){const e=this.setFromMatrixColumn(t,0).length(),n=this.setFromMatrixColumn(t,1).length(),r=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=n,this.z=r,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,4*e)}setFromMatrix3Column(t,e){return this.fromArray(t.elements,3*e)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=2*(Math.random()-.5),e=Math.random()*Math.PI*2,n=Math.sqrt(1-t**2);return this.x=n*Math.cos(e),this.y=n*Math.sin(e),this.z=t,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const ne=new ee,re=new te;class ie{constructor(t=new ee(1/0,1/0,1/0),e=new ee(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromArray(t){let e=1/0,n=1/0,r=1/0,i=-1/0,o=-1/0,a=-1/0;for(let s=0,l=t.length;s<l;s+=3){const l=t[s],u=t[s+1],c=t[s+2];l<e&&(e=l),u<n&&(n=u),c<r&&(r=c),l>i&&(i=l),u>o&&(o=u),c>a&&(a=c)}return this.min.set(e,n,r),this.max.set(i,o,a),this}setFromBufferAttribute(t){let e=1/0,n=1/0,r=1/0,i=-1/0,o=-1/0,a=-1/0;for(let s=0,l=t.count;s<l;s++){const l=t.getX(s),u=t.getY(s),c=t.getZ(s);l<e&&(e=l),u<n&&(n=u),c<r&&(r=c),l>i&&(i=l),u>o&&(o=u),c>a&&(a=c)}return this.min.set(e,n,r),this.max.set(i,o,a),this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=ae.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}setFromObject(t,e=!1){return this.makeEmpty(),this.expandByObject(t,e)}clone(){return(new this.constructor).copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(t){return this.isEmpty()?t.set(0,0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}expandByObject(t,e=!1){t.updateWorldMatrix(!1,!1);const n=t.geometry;if(void 0!==n)if(e&&null!=n.attributes&&void 0!==n.attributes.position){const e=n.attributes.position;for(let n=0,r=e.count;n<r;n++)ae.fromBufferAttribute(e,n).applyMatrix4(t.matrixWorld),this.expandByPoint(ae)}else null===n.boundingBox&&n.computeBoundingBox(),se.copy(n.boundingBox),se.applyMatrix4(t.matrixWorld),this.union(se);const r=t.children;for(let t=0,n=r.length;t<n;t++)this.expandByObject(r[t],e);return this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y||t.z<this.min.z||t.z>this.max.z)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y||t.max.z<this.min.z||t.min.z>this.max.z)}intersectsSphere(t){return this.clampPoint(t.center,ae),ae.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let e,n;return t.normal.x>0?(e=t.normal.x*this.min.x,n=t.normal.x*this.max.x):(e=t.normal.x*this.max.x,n=t.normal.x*this.min.x),t.normal.y>0?(e+=t.normal.y*this.min.y,n+=t.normal.y*this.max.y):(e+=t.normal.y*this.max.y,n+=t.normal.y*this.min.y),t.normal.z>0?(e+=t.normal.z*this.min.z,n+=t.normal.z*this.max.z):(e+=t.normal.z*this.max.z,n+=t.normal.z*this.min.z),e<=-t.constant&&n>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;this.getCenter(de),me.subVectors(this.max,de),le.subVectors(t.a,de),ue.subVectors(t.b,de),ce.subVectors(t.c,de),he.subVectors(ue,le),pe.subVectors(ce,ue),fe.subVectors(le,ce);let e=[0,-he.z,he.y,0,-pe.z,pe.y,0,-fe.z,fe.y,he.z,0,-he.x,pe.z,0,-pe.x,fe.z,0,-fe.x,-he.y,he.x,0,-pe.y,pe.x,0,-fe.y,fe.x,0];return!!ye(e,le,ue,ce,me)&&(e=[1,0,0,0,1,0,0,0,1],!!ye(e,le,ue,ce,me)&&(ve.crossVectors(he,pe),e=[ve.x,ve.y,ve.z],ye(e,le,ue,ce,me)))}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return ae.copy(t).clamp(this.min,this.max).sub(t).length()}getBoundingSphere(t){return this.getCenter(t.center),t.radius=.5*this.getSize(ae).length(),t}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}applyMatrix4(t){return this.isEmpty()||(oe[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),oe[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),oe[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),oe[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),oe[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),oe[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),oe[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),oe[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(oe)),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}}const oe=[new ee,new ee,new ee,new ee,new ee,new ee,new ee,new ee],ae=new ee,se=new ie,le=new ee,ue=new ee,ce=new ee,he=new ee,pe=new ee,fe=new ee,de=new ee,me=new ee,ve=new ee,ge=new ee;function ye(t,e,n,r,i){for(let o=0,a=t.length-3;o<=a;o+=3){ge.fromArray(t,o);const a=i.x*Math.abs(ge.x)+i.y*Math.abs(ge.y)+i.z*Math.abs(ge.z),s=e.dot(ge),l=n.dot(ge),u=r.dot(ge);if(Math.max(-Math.max(s,l,u),Math.min(s,l,u))>a)return!1}return!0}const _e=new ie,be=new ee,xe=new ee,we=new ee;class Ae{constructor(t=new ee,e=-1){this.center=t,this.radius=e}set(t,e){return this.center.copy(t),this.radius=e,this}setFromPoints(t,e){const n=this.center;void 0!==e?n.copy(e):_e.setFromPoints(t).getCenter(n);let r=0;for(let e=0,i=t.length;e<i;e++)r=Math.max(r,n.distanceToSquared(t[e]));return this.radius=Math.sqrt(r),this}copy(t){return this.center.copy(t.center),this.radius=t.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(t){return t.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(t){return t.distanceTo(this.center)-this.radius}intersectsSphere(t){const e=this.radius+t.radius;return t.center.distanceToSquared(this.center)<=e*e}intersectsBox(t){return t.intersectsSphere(this)}intersectsPlane(t){return Math.abs(t.distanceToPoint(this.center))<=this.radius}clampPoint(t,e){const n=this.center.distanceToSquared(t);return e.copy(t),n>this.radius*this.radius&&(e.sub(this.center).normalize(),e.multiplyScalar(this.radius).add(this.center)),e}getBoundingBox(t){return this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)}applyMatrix4(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this}translate(t){return this.center.add(t),this}expandByPoint(t){we.subVectors(t,this.center);const e=we.lengthSq();if(e>this.radius*this.radius){const t=Math.sqrt(e),n=.5*(t-this.radius);this.center.add(we.multiplyScalar(n/t)),this.radius+=n}return this}union(t){return!0===this.center.equals(t.center)?xe.set(0,0,1).multiplyScalar(t.radius):xe.subVectors(t.center,this.center).normalize().multiplyScalar(t.radius),this.expandByPoint(be.copy(t.center).add(xe)),this.expandByPoint(be.copy(t.center).sub(xe)),this}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return(new this.constructor).copy(this)}}const Ce=new ee,Me=new ee,Ee=new ee,Te=new ee,Se=new ee,ke=new ee,Oe=new ee;class Ie{constructor(t=new ee,e=new ee(0,0,-1)){this.origin=t,this.direction=e}set(t,e){return this.origin.copy(t),this.direction.copy(e),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,e){return e.copy(this.direction).multiplyScalar(t).add(this.origin)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,Ce)),this}closestPointToPoint(t,e){e.subVectors(t,this.origin);const n=e.dot(this.direction);return n<0?e.copy(this.origin):e.copy(this.direction).multiplyScalar(n).add(this.origin)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const e=Ce.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(Ce.copy(this.direction).multiplyScalar(e).add(this.origin),Ce.distanceToSquared(t))}distanceSqToSegment(t,e,n,r){Me.copy(t).add(e).multiplyScalar(.5),Ee.copy(e).sub(t).normalize(),Te.copy(this.origin).sub(Me);const i=.5*t.distanceTo(e),o=-this.direction.dot(Ee),a=Te.dot(this.direction),s=-Te.dot(Ee),l=Te.lengthSq(),u=Math.abs(1-o*o);let c,h,p,f;if(u>0)if(c=o*s-a,h=o*a-s,f=i*u,c>=0)if(h>=-f)if(h<=f){const t=1/u;c*=t,h*=t,p=c*(c+o*h+2*a)+h*(o*c+h+2*s)+l}else h=i,c=Math.max(0,-(o*h+a)),p=-c*c+h*(h+2*s)+l;else h=-i,c=Math.max(0,-(o*h+a)),p=-c*c+h*(h+2*s)+l;else h<=-f?(c=Math.max(0,-(-o*i+a)),h=c>0?-i:Math.min(Math.max(-i,-s),i),p=-c*c+h*(h+2*s)+l):h<=f?(c=0,h=Math.min(Math.max(-i,-s),i),p=h*(h+2*s)+l):(c=Math.max(0,-(o*i+a)),h=c>0?i:Math.min(Math.max(-i,-s),i),p=-c*c+h*(h+2*s)+l);else h=o>0?-i:i,c=Math.max(0,-(o*h+a)),p=-c*c+h*(h+2*s)+l;return n&&n.copy(this.direction).multiplyScalar(c).add(this.origin),r&&r.copy(Ee).multiplyScalar(h).add(Me),p}intersectSphere(t,e){Ce.subVectors(t.center,this.origin);const n=Ce.dot(this.direction),r=Ce.dot(Ce)-n*n,i=t.radius*t.radius;if(r>i)return null;const o=Math.sqrt(i-r),a=n-o,s=n+o;return a<0&&s<0?null:a<0?this.at(s,e):this.at(a,e)}intersectsSphere(t){return this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){const e=t.normal.dot(this.direction);if(0===e)return 0===t.distanceToPoint(this.origin)?0:null;const n=-(this.origin.dot(t.normal)+t.constant)/e;return n>=0?n:null}intersectPlane(t,e){const n=this.distanceToPlane(t);return null===n?null:this.at(n,e)}intersectsPlane(t){const e=t.distanceToPoint(this.origin);return 0===e||t.normal.dot(this.direction)*e<0}intersectBox(t,e){let n,r,i,o,a,s;const l=1/this.direction.x,u=1/this.direction.y,c=1/this.direction.z,h=this.origin;return l>=0?(n=(t.min.x-h.x)*l,r=(t.max.x-h.x)*l):(n=(t.max.x-h.x)*l,r=(t.min.x-h.x)*l),u>=0?(i=(t.min.y-h.y)*u,o=(t.max.y-h.y)*u):(i=(t.max.y-h.y)*u,o=(t.min.y-h.y)*u),n>o||i>r?null:((i>n||n!=n)&&(n=i),(o<r||r!=r)&&(r=o),c>=0?(a=(t.min.z-h.z)*c,s=(t.max.z-h.z)*c):(a=(t.max.z-h.z)*c,s=(t.min.z-h.z)*c),n>s||a>r?null:((a>n||n!=n)&&(n=a),(s<r||r!=r)&&(r=s),r<0?null:this.at(n>=0?n:r,e)))}intersectsBox(t){return null!==this.intersectBox(t,Ce)}intersectTriangle(t,e,n,r,i){Se.subVectors(e,t),ke.subVectors(n,t),Oe.crossVectors(Se,ke);let o,a=this.direction.dot(Oe);if(a>0){if(r)return null;o=1}else{if(!(a<0))return null;o=-1,a=-a}Te.subVectors(this.origin,t);const s=o*this.direction.dot(ke.crossVectors(Te,ke));if(s<0)return null;const l=o*this.direction.dot(Se.cross(Te));if(l<0)return null;if(s+l>a)return null;const u=-o*Te.dot(Oe);return u<0?null:this.at(u/a,i)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return(new this.constructor).copy(this)}}class Le{constructor(){Le.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m){const v=this.elements;return v[0]=t,v[4]=e,v[8]=n,v[12]=r,v[1]=i,v[5]=o,v[9]=a,v[13]=s,v[2]=l,v[6]=u,v[10]=c,v[14]=h,v[3]=p,v[7]=f,v[11]=d,v[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new Le).fromArray(this.elements)}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],e[9]=n[9],e[10]=n[10],e[11]=n[11],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],this}copyPosition(t){const e=this.elements,n=t.elements;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.elements;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,n=t.elements,r=1/Pe.setFromMatrixColumn(t,0).length(),i=1/Pe.setFromMatrixColumn(t,1).length(),o=1/Pe.setFromMatrixColumn(t,2).length();return e[0]=n[0]*r,e[1]=n[1]*r,e[2]=n[2]*r,e[3]=0,e[4]=n[4]*i,e[5]=n[5]*i,e[6]=n[6]*i,e[7]=0,e[8]=n[8]*o,e[9]=n[9]*o,e[10]=n[10]*o,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,n=t.x,r=t.y,i=t.z,o=Math.cos(n),a=Math.sin(n),s=Math.cos(r),l=Math.sin(r),u=Math.cos(i),c=Math.sin(i);if(\\\"XYZ\\\"===t.order){const t=o*u,n=o*c,r=a*u,i=a*c;e[0]=s*u,e[4]=-s*c,e[8]=l,e[1]=n+r*l,e[5]=t-i*l,e[9]=-a*s,e[2]=i-t*l,e[6]=r+n*l,e[10]=o*s}else if(\\\"YXZ\\\"===t.order){const t=s*u,n=s*c,r=l*u,i=l*c;e[0]=t+i*a,e[4]=r*a-n,e[8]=o*l,e[1]=o*c,e[5]=o*u,e[9]=-a,e[2]=n*a-r,e[6]=i+t*a,e[10]=o*s}else if(\\\"ZXY\\\"===t.order){const t=s*u,n=s*c,r=l*u,i=l*c;e[0]=t-i*a,e[4]=-o*c,e[8]=r+n*a,e[1]=n+r*a,e[5]=o*u,e[9]=i-t*a,e[2]=-o*l,e[6]=a,e[10]=o*s}else if(\\\"ZYX\\\"===t.order){const t=o*u,n=o*c,r=a*u,i=a*c;e[0]=s*u,e[4]=r*l-n,e[8]=t*l+i,e[1]=s*c,e[5]=i*l+t,e[9]=n*l-r,e[2]=-l,e[6]=a*s,e[10]=o*s}else if(\\\"YZX\\\"===t.order){const t=o*s,n=o*l,r=a*s,i=a*l;e[0]=s*u,e[4]=i-t*c,e[8]=r*c+n,e[1]=c,e[5]=o*u,e[9]=-a*u,e[2]=-l*u,e[6]=n*c+r,e[10]=t-i*c}else if(\\\"XZY\\\"===t.order){const t=o*s,n=o*l,r=a*s,i=a*l;e[0]=s*u,e[4]=-c,e[8]=l*u,e[1]=t*c+i,e[5]=o*u,e[9]=n*c-r,e[2]=r*c-n,e[6]=a*u,e[10]=i*c+t}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(Re,t,De)}lookAt(t,e,n){const r=this.elements;return Ne.subVectors(t,e),0===Ne.lengthSq()&&(Ne.z=1),Ne.normalize(),$e.crossVectors(n,Ne),0===$e.lengthSq()&&(1===Math.abs(n.z)?Ne.x+=1e-4:Ne.z+=1e-4,Ne.normalize(),$e.crossVectors(n,Ne)),$e.normalize(),Be.crossVectors(Ne,$e),r[0]=$e.x,r[4]=Be.x,r[8]=Ne.x,r[1]=$e.y,r[5]=Be.y,r[9]=Ne.y,r[2]=$e.z,r[6]=Be.z,r[10]=Ne.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,r=e.elements,i=this.elements,o=n[0],a=n[4],s=n[8],l=n[12],u=n[1],c=n[5],h=n[9],p=n[13],f=n[2],d=n[6],m=n[10],v=n[14],g=n[3],y=n[7],_=n[11],b=n[15],x=r[0],w=r[4],A=r[8],C=r[12],M=r[1],E=r[5],T=r[9],S=r[13],k=r[2],O=r[6],I=r[10],L=r[14],P=r[3],z=r[7],R=r[11],D=r[15];return i[0]=o*x+a*M+s*k+l*P,i[4]=o*w+a*E+s*O+l*z,i[8]=o*A+a*T+s*I+l*R,i[12]=o*C+a*S+s*L+l*D,i[1]=u*x+c*M+h*k+p*P,i[5]=u*w+c*E+h*O+p*z,i[9]=u*A+c*T+h*I+p*R,i[13]=u*C+c*S+h*L+p*D,i[2]=f*x+d*M+m*k+v*P,i[6]=f*w+d*E+m*O+v*z,i[10]=f*A+d*T+m*I+v*R,i[14]=f*C+d*S+m*L+v*D,i[3]=g*x+y*M+_*k+b*P,i[7]=g*w+y*E+_*O+b*z,i[11]=g*A+y*T+_*I+b*R,i[15]=g*C+y*S+_*L+b*D,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[4],r=t[8],i=t[12],o=t[1],a=t[5],s=t[9],l=t[13],u=t[2],c=t[6],h=t[10],p=t[14];return t[3]*(+i*s*c-r*l*c-i*a*h+n*l*h+r*a*p-n*s*p)+t[7]*(+e*s*p-e*l*h+i*o*h-r*o*p+r*l*u-i*s*u)+t[11]*(+e*l*c-e*a*p-i*o*c+n*o*p+i*a*u-n*l*u)+t[15]*(-r*a*u-e*s*c+e*a*h+r*o*c-n*o*h+n*s*u)}transpose(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const r=this.elements;return t.isVector3?(r[12]=t.x,r[13]=t.y,r[14]=t.z):(r[12]=t,r[13]=e,r[14]=n),this}invert(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=t[9],h=t[10],p=t[11],f=t[12],d=t[13],m=t[14],v=t[15],g=c*m*l-d*h*l+d*s*p-a*m*p-c*s*v+a*h*v,y=f*h*l-u*m*l-f*s*p+o*m*p+u*s*v-o*h*v,_=u*d*l-f*c*l+f*a*p-o*d*p-u*a*v+o*c*v,b=f*c*s-u*d*s-f*a*h+o*d*h+u*a*m-o*c*m,x=e*g+n*y+r*_+i*b;if(0===x)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const w=1/x;return t[0]=g*w,t[1]=(d*h*i-c*m*i-d*r*p+n*m*p+c*r*v-n*h*v)*w,t[2]=(a*m*i-d*s*i+d*r*l-n*m*l-a*r*v+n*s*v)*w,t[3]=(c*s*i-a*h*i-c*r*l+n*h*l+a*r*p-n*s*p)*w,t[4]=y*w,t[5]=(u*m*i-f*h*i+f*r*p-e*m*p-u*r*v+e*h*v)*w,t[6]=(f*s*i-o*m*i-f*r*l+e*m*l+o*r*v-e*s*v)*w,t[7]=(o*h*i-u*s*i+u*r*l-e*h*l-o*r*p+e*s*p)*w,t[8]=_*w,t[9]=(f*c*i-u*d*i-f*n*p+e*d*p+u*n*v-e*c*v)*w,t[10]=(o*d*i-f*a*i+f*n*l-e*d*l-o*n*v+e*a*v)*w,t[11]=(u*a*i-o*c*i-u*n*l+e*c*l+o*n*p-e*a*p)*w,t[12]=b*w,t[13]=(u*d*r-f*c*r+f*n*h-e*d*h-u*n*m+e*c*m)*w,t[14]=(f*a*r-o*d*r-f*n*s+e*d*s+o*n*m-e*a*m)*w,t[15]=(o*c*r-u*a*r+u*n*s-e*c*s-o*n*h+e*a*h)*w,this}scale(t){const e=this.elements,n=t.x,r=t.y,i=t.z;return e[0]*=n,e[4]*=r,e[8]*=i,e[1]*=n,e[5]*=r,e[9]*=i,e[2]*=n,e[6]*=r,e[10]*=i,e[3]*=n,e[7]*=r,e[11]*=i,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],r=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,r))}makeTranslation(t,e,n){return this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),r=Math.sin(e),i=1-n,o=t.x,a=t.y,s=t.z,l=i*o,u=i*a;return this.set(l*o+n,l*a-r*s,l*s+r*a,0,l*a+r*s,u*a+n,u*s-r*o,0,l*s-r*a,u*s+r*o,i*s*s+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,r,i,o){return this.set(1,n,i,0,t,1,o,0,e,r,1,0,0,0,0,1),this}compose(t,e,n){const r=this.elements,i=e._x,o=e._y,a=e._z,s=e._w,l=i+i,u=o+o,c=a+a,h=i*l,p=i*u,f=i*c,d=o*u,m=o*c,v=a*c,g=s*l,y=s*u,_=s*c,b=n.x,x=n.y,w=n.z;return r[0]=(1-(d+v))*b,r[1]=(p+_)*b,r[2]=(f-y)*b,r[3]=0,r[4]=(p-_)*x,r[5]=(1-(h+v))*x,r[6]=(m+g)*x,r[7]=0,r[8]=(f+y)*w,r[9]=(m-g)*w,r[10]=(1-(h+d))*w,r[11]=0,r[12]=t.x,r[13]=t.y,r[14]=t.z,r[15]=1,this}decompose(t,e,n){const r=this.elements;let i=Pe.set(r[0],r[1],r[2]).length();const o=Pe.set(r[4],r[5],r[6]).length(),a=Pe.set(r[8],r[9],r[10]).length();this.determinant()<0&&(i=-i),t.x=r[12],t.y=r[13],t.z=r[14],ze.copy(this);const s=1/i,l=1/o,u=1/a;return ze.elements[0]*=s,ze.elements[1]*=s,ze.elements[2]*=s,ze.elements[4]*=l,ze.elements[5]*=l,ze.elements[6]*=l,ze.elements[8]*=u,ze.elements[9]*=u,ze.elements[10]*=u,e.setFromRotationMatrix(ze),n.x=i,n.y=o,n.z=a,this}makePerspective(t,e,n,r,i,o){const a=this.elements,s=2*i/(e-t),l=2*i/(n-r),u=(e+t)/(e-t),c=(n+r)/(n-r),h=-(o+i)/(o-i),p=-2*o*i/(o-i);return a[0]=s,a[4]=0,a[8]=u,a[12]=0,a[1]=0,a[5]=l,a[9]=c,a[13]=0,a[2]=0,a[6]=0,a[10]=h,a[14]=p,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(t,e,n,r,i,o){const a=this.elements,s=1/(e-t),l=1/(n-r),u=1/(o-i),c=(e+t)*s,h=(n+r)*l,p=(o+i)*u;return a[0]=2*s,a[4]=0,a[8]=0,a[12]=-c,a[1]=0,a[5]=2*l,a[9]=0,a[13]=-h,a[2]=0,a[6]=0,a[10]=-2*u,a[14]=-p,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<16;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<16;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}}const Pe=new ee,ze=new Le,Re=new ee(0,0,0),De=new ee(1,1,1),$e=new ee,Be=new ee,Ne=new ee,Fe=new Le,je=new te;class Ue{constructor(t=0,e=0,n=0,r=Ue.DefaultOrder){this.isEuler=!0,this._x=t,this._y=e,this._z=n,this._order=r}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get order(){return this._order}set order(t){this._order=t,this._onChangeCallback()}set(t,e,n,r=this._order){return this._x=t,this._y=e,this._z=n,this._order=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this}setFromRotationMatrix(t,e=this._order,n=!0){const r=t.elements,i=r[0],o=r[4],a=r[8],s=r[1],l=r[5],u=r[9],c=r[2],h=r[6],p=r[10];switch(e){case\\\"XYZ\\\":this._y=Math.asin(bt(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,p),this._z=Math.atan2(-o,i)):(this._x=Math.atan2(h,l),this._z=0);break;case\\\"YXZ\\\":this._x=Math.asin(-bt(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,p),this._z=Math.atan2(s,l)):(this._y=Math.atan2(-c,i),this._z=0);break;case\\\"ZXY\\\":this._x=Math.asin(bt(h,-1,1)),Math.abs(h)<.9999999?(this._y=Math.atan2(-c,p),this._z=Math.atan2(-o,l)):(this._y=0,this._z=Math.atan2(s,i));break;case\\\"ZYX\\\":this._y=Math.asin(-bt(c,-1,1)),Math.abs(c)<.9999999?(this._x=Math.atan2(h,p),this._z=Math.atan2(s,i)):(this._x=0,this._z=Math.atan2(-o,l));break;case\\\"YZX\\\":this._z=Math.asin(bt(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-u,l),this._y=Math.atan2(-c,i)):(this._x=0,this._y=Math.atan2(a,p));break;case\\\"XZY\\\":this._z=Math.asin(-bt(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(h,l),this._y=Math.atan2(a,i)):(this._x=Math.atan2(-u,p),this._y=0);break;default:console.warn(\\\"THREE.Euler: .setFromRotationMatrix() encountered an unknown order: \\\"+e)}return this._order=e,!0===n&&this._onChangeCallback(),this}setFromQuaternion(t,e,n){return Fe.makeRotationFromQuaternion(t),this.setFromRotationMatrix(Fe,e,n)}setFromVector3(t,e=this._order){return this.set(t.x,t.y,t.z,e)}reorder(t){return je.setFromEuler(this),this.setFromQuaternion(je,t)}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order}fromArray(t){return this._x=t[0],this._y=t[1],this._z=t[2],void 0!==t[3]&&(this._order=t[3]),this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._order,t}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}toVector3(){console.error(\\\"THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead\\\")}}Ue.DefaultOrder=\\\"XYZ\\\",Ue.RotationOrders=[\\\"XYZ\\\",\\\"YZX\\\",\\\"ZXY\\\",\\\"XZY\\\",\\\"YXZ\\\",\\\"ZYX\\\"];class qe{constructor(){this.mask=1}set(t){this.mask=(1<<t|0)>>>0}enable(t){this.mask|=1<<t|0}enableAll(){this.mask=-1}toggle(t){this.mask^=1<<t|0}disable(t){this.mask&=~(1<<t|0)}disableAll(){this.mask=0}test(t){return 0!=(this.mask&t.mask)}isEnabled(t){return 0!=(this.mask&(1<<t|0))}}let Ve=0;const He=new ee,Ge=new te,We=new Le,Xe=new ee,Ye=new ee,Ze=new ee,Ke=new te,Je=new ee(1,0,0),Qe=new ee(0,1,0),tn=new ee(0,0,1),en={type:\\\"added\\\"},nn={type:\\\"removed\\\"};class rn extends dt{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,\\\"id\\\",{value:Ve++}),this.uuid=_t(),this.name=\\\"\\\",this.type=\\\"Object3D\\\",this.parent=null,this.children=[],this.up=rn.DefaultUp.clone();const t=new ee,e=new Ue,n=new te,r=new ee(1,1,1);e._onChange((function(){n.setFromEuler(e,!1)})),n._onChange((function(){e.setFromQuaternion(n,void 0,!1)})),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:e},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new Le},normalMatrix:{value:new St}}),this.matrix=new Le,this.matrixWorld=new Le,this.matrixAutoUpdate=rn.DefaultMatrixAutoUpdate,this.matrixWorldNeedsUpdate=!1,this.layers=new qe,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeRender(){}onAfterRender(){}applyMatrix4(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(t){return this.quaternion.premultiply(t),this}setRotationFromAxisAngle(t,e){this.quaternion.setFromAxisAngle(t,e)}setRotationFromEuler(t){this.quaternion.setFromEuler(t,!0)}setRotationFromMatrix(t){this.quaternion.setFromRotationMatrix(t)}setRotationFromQuaternion(t){this.quaternion.copy(t)}rotateOnAxis(t,e){return Ge.setFromAxisAngle(t,e),this.quaternion.multiply(Ge),this}rotateOnWorldAxis(t,e){return Ge.setFromAxisAngle(t,e),this.quaternion.premultiply(Ge),this}rotateX(t){return this.rotateOnAxis(Je,t)}rotateY(t){return this.rotateOnAxis(Qe,t)}rotateZ(t){return this.rotateOnAxis(tn,t)}translateOnAxis(t,e){return He.copy(t).applyQuaternion(this.quaternion),this.position.add(He.multiplyScalar(e)),this}translateX(t){return this.translateOnAxis(Je,t)}translateY(t){return this.translateOnAxis(Qe,t)}translateZ(t){return this.translateOnAxis(tn,t)}localToWorld(t){return t.applyMatrix4(this.matrixWorld)}worldToLocal(t){return t.applyMatrix4(We.copy(this.matrixWorld).invert())}lookAt(t,e,n){t.isVector3?Xe.copy(t):Xe.set(t,e,n);const r=this.parent;this.updateWorldMatrix(!0,!1),Ye.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?We.lookAt(Ye,Xe,this.up):We.lookAt(Xe,Ye,this.up),this.quaternion.setFromRotationMatrix(We),r&&(We.extractRotation(r.matrixWorld),Ge.setFromRotationMatrix(We),this.quaternion.premultiply(Ge.invert()))}add(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.add(arguments[t]);return this}return t===this?(console.error(\\\"THREE.Object3D.add: object can't be added as a child of itself.\\\",t),this):(t&&t.isObject3D?(null!==t.parent&&t.parent.remove(t),t.parent=this,this.children.push(t),t.dispatchEvent(en)):console.error(\\\"THREE.Object3D.add: object not an instance of THREE.Object3D.\\\",t),this)}remove(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.remove(arguments[t]);return this}const e=this.children.indexOf(t);return-1!==e&&(t.parent=null,this.children.splice(e,1),t.dispatchEvent(nn)),this}removeFromParent(){const t=this.parent;return null!==t&&t.remove(this),this}clear(){for(let t=0;t<this.children.length;t++){const e=this.children[t];e.parent=null,e.dispatchEvent(nn)}return this.children.length=0,this}attach(t){return this.updateWorldMatrix(!0,!1),We.copy(this.matrixWorld).invert(),null!==t.parent&&(t.parent.updateWorldMatrix(!0,!1),We.multiply(t.parent.matrixWorld)),t.applyMatrix4(We),this.add(t),t.updateWorldMatrix(!1,!0),this}getObjectById(t){return this.getObjectByProperty(\\\"id\\\",t)}getObjectByName(t){return this.getObjectByProperty(\\\"name\\\",t)}getObjectByProperty(t,e){if(this[t]===e)return this;for(let n=0,r=this.children.length;n<r;n++){const r=this.children[n].getObjectByProperty(t,e);if(void 0!==r)return r}}getWorldPosition(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Ye,t,Ze),t}getWorldScale(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Ye,Ke,t),t}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(e[8],e[9],e[10]).normalize()}raycast(){}traverse(t){t(this);const e=this.children;for(let n=0,r=e.length;n<r;n++)e[n].traverse(t)}traverseVisible(t){if(!1===this.visible)return;t(this);const e=this.children;for(let n=0,r=e.length;n<r;n++)e[n].traverseVisible(t)}traverseAncestors(t){const e=this.parent;null!==e&&(t(e),e.traverseAncestors(t))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,t=!0);const e=this.children;for(let n=0,r=e.length;n<r;n++)e[n].updateMatrixWorld(t)}updateWorldMatrix(t,e){const n=this.parent;if(!0===t&&null!==n&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===e){const t=this.children;for(let e=0,n=t.length;e<n;e++)t[e].updateWorldMatrix(!1,!0)}}toJSON(t){const e=void 0===t||\\\"string\\\"==typeof t,n={};e&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.5,type:\\\"Object\\\",generator:\\\"Object3D.toJSON\\\"});const r={};function i(e,n){return void 0===e[n.uuid]&&(e[n.uuid]=n.toJSON(t)),n.uuid}if(r.uuid=this.uuid,r.type=this.type,\\\"\\\"!==this.name&&(r.name=this.name),!0===this.castShadow&&(r.castShadow=!0),!0===this.receiveShadow&&(r.receiveShadow=!0),!1===this.visible&&(r.visible=!1),!1===this.frustumCulled&&(r.frustumCulled=!1),0!==this.renderOrder&&(r.renderOrder=this.renderOrder),\\\"{}\\\"!==JSON.stringify(this.userData)&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),!1===this.matrixAutoUpdate&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type=\\\"InstancedMesh\\\",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(r.instanceColor=this.instanceColor.toJSON())),this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(r.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=i(t.geometries,this.geometry);const e=this.geometry.parameters;if(void 0!==e&&void 0!==e.shapes){const n=e.shapes;if(Array.isArray(n))for(let e=0,r=n.length;e<r;e++){const r=n[e];i(t.shapes,r)}else i(t.shapes,n)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(i(t.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const e=[];for(let n=0,r=this.material.length;n<r;n++)e.push(i(t.materials,this.material[n]));r.material=e}else r.material=i(t.materials,this.material);if(this.children.length>0){r.children=[];for(let e=0;e<this.children.length;e++)r.children.push(this.children[e].toJSON(t).object)}if(this.animations.length>0){r.animations=[];for(let e=0;e<this.animations.length;e++){const n=this.animations[e];r.animations.push(i(t.animations,n))}}if(e){const e=o(t.geometries),r=o(t.materials),i=o(t.textures),a=o(t.images),s=o(t.shapes),l=o(t.skeletons),u=o(t.animations),c=o(t.nodes);e.length>0&&(n.geometries=e),r.length>0&&(n.materials=r),i.length>0&&(n.textures=i),a.length>0&&(n.images=a),s.length>0&&(n.shapes=s),l.length>0&&(n.skeletons=l),u.length>0&&(n.animations=u),c.length>0&&(n.nodes=c)}return n.object=r,n;function o(t){const e=[];for(const n in t){const r=t[n];delete r.metadata,e.push(r)}return e}}clone(t){return(new this.constructor).copy(this,t)}copy(t,e=!0){if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.userData=JSON.parse(JSON.stringify(t.userData)),!0===e)for(let e=0;e<t.children.length;e++){const n=t.children[e];this.add(n.clone())}return this}}rn.DefaultUp=new ee(0,1,0),rn.DefaultMatrixAutoUpdate=!0;const on=new ee,an=new ee,sn=new ee,ln=new ee,un=new ee,cn=new ee,hn=new ee,pn=new ee,fn=new ee,dn=new ee;class mn{constructor(t=new ee,e=new ee,n=new ee){this.a=t,this.b=e,this.c=n}static getNormal(t,e,n,r){r.subVectors(n,e),on.subVectors(t,e),r.cross(on);const i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}static getBarycoord(t,e,n,r,i){on.subVectors(r,e),an.subVectors(n,e),sn.subVectors(t,e);const o=on.dot(on),a=on.dot(an),s=on.dot(sn),l=an.dot(an),u=an.dot(sn),c=o*l-a*a;if(0===c)return i.set(-2,-1,-1);const h=1/c,p=(l*s-a*u)*h,f=(o*u-a*s)*h;return i.set(1-p-f,f,p)}static containsPoint(t,e,n,r){return this.getBarycoord(t,e,n,r,ln),ln.x>=0&&ln.y>=0&&ln.x+ln.y<=1}static getUV(t,e,n,r,i,o,a,s){return this.getBarycoord(t,e,n,r,ln),s.set(0,0),s.addScaledVector(i,ln.x),s.addScaledVector(o,ln.y),s.addScaledVector(a,ln.z),s}static isFrontFacing(t,e,n,r){return on.subVectors(n,e),an.subVectors(t,e),on.cross(an).dot(r)<0}set(t,e,n){return this.a.copy(t),this.b.copy(e),this.c.copy(n),this}setFromPointsAndIndices(t,e,n,r){return this.a.copy(t[e]),this.b.copy(t[n]),this.c.copy(t[r]),this}setFromAttributeAndIndices(t,e,n,r){return this.a.fromBufferAttribute(t,e),this.b.fromBufferAttribute(t,n),this.c.fromBufferAttribute(t,r),this}clone(){return(new this.constructor).copy(this)}copy(t){return this.a.copy(t.a),this.b.copy(t.b),this.c.copy(t.c),this}getArea(){return on.subVectors(this.c,this.b),an.subVectors(this.a,this.b),.5*on.cross(an).length()}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return mn.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,e){return mn.getBarycoord(t,this.a,this.b,this.c,e)}getUV(t,e,n,r,i){return mn.getUV(t,this.a,this.b,this.c,e,n,r,i)}containsPoint(t){return mn.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return mn.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,e){const n=this.a,r=this.b,i=this.c;let o,a;un.subVectors(r,n),cn.subVectors(i,n),pn.subVectors(t,n);const s=un.dot(pn),l=cn.dot(pn);if(s<=0&&l<=0)return e.copy(n);fn.subVectors(t,r);const u=un.dot(fn),c=cn.dot(fn);if(u>=0&&c<=u)return e.copy(r);const h=s*c-u*l;if(h<=0&&s>=0&&u<=0)return o=s/(s-u),e.copy(n).addScaledVector(un,o);dn.subVectors(t,i);const p=un.dot(dn),f=cn.dot(dn);if(f>=0&&p<=f)return e.copy(i);const d=p*l-s*f;if(d<=0&&l>=0&&f<=0)return a=l/(l-f),e.copy(n).addScaledVector(cn,a);const m=u*f-p*c;if(m<=0&&c-u>=0&&p-f>=0)return hn.subVectors(i,r),a=(c-u)/(c-u+(p-f)),e.copy(r).addScaledVector(hn,a);const v=1/(m+d+h);return o=d*v,a=h*v,e.copy(n).addScaledVector(un,o).addScaledVector(cn,a)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}}let vn=0;class gn extends dt{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,\\\"id\\\",{value:vn++}),this.uuid=_t(),this.name=\\\"\\\",this.type=\\\"Material\\\",this.blending=1,this.side=0,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=204,this.blendDst=205,this.blendEquation=r,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=3,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=ct,this.stencilZFail=ct,this.stencilZPass=ct,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(t){this._alphaTest>0!=t>0&&this.version++,this._alphaTest=t}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(void 0!==t)for(const e in t){const n=t[e];if(void 0===n){console.warn(\\\"THREE.Material: '\\\"+e+\\\"' parameter is undefined.\\\");continue}if(\\\"shading\\\"===e){console.warn(\\\"THREE.\\\"+this.type+\\\": .shading has been removed. Use the boolean .flatShading instead.\\\"),this.flatShading=1===n;continue}const r=this[e];void 0!==r?r&&r.isColor?r.set(n):r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[e]=n:console.warn(\\\"THREE.\\\"+this.type+\\\": '\\\"+e+\\\"' is not a property of this material.\\\")}}toJSON(t){const e=void 0===t||\\\"string\\\"==typeof t;e&&(t={textures:{},images:{}});const n={metadata:{version:4.5,type:\\\"Material\\\",generator:\\\"Material.toJSON\\\"}};function r(t){const e=[];for(const n in t){const r=t[n];delete r.metadata,e.push(r)}return e}if(n.uuid=this.uuid,n.type=this.type,\\\"\\\"!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(t).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(t).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(t).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(t).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(t).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(t).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(t).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(t).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(t).uuid),void 0!==this.attenuationDistance&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),1!==this.blending&&(n.blending=this.blending),0!==this.side&&(n.side=this.side),this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=this.transparent),n.depthFunc=this.depthFunc,n.depthTest=this.depthTest,n.depthWrite=this.depthWrite,n.colorWrite=this.colorWrite,n.stencilWrite=this.stencilWrite,n.stencilWriteMask=this.stencilWriteMask,n.stencilFunc=this.stencilFunc,n.stencilRef=this.stencilRef,n.stencilFuncMask=this.stencilFuncMask,n.stencilFail=this.stencilFail,n.stencilZFail=this.stencilZFail,n.stencilZPass=this.stencilZPass,void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaToCoverage&&(n.alphaToCoverage=this.alphaToCoverage),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=this.premultipliedAlpha),!0===this.wireframe&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),\\\"round\\\"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),\\\"round\\\"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=this.flatShading),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),\\\"{}\\\"!==JSON.stringify(this.userData)&&(n.userData=this.userData),e){const e=r(t.textures),i=r(t.images);e.length>0&&(n.textures=e),i.length>0&&(n.images=i)}return n}clone(){return(new this.constructor).copy(this)}copy(t){this.name=t.name,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;const e=t.clippingPlanes;let n=null;if(null!==e){const t=e.length;n=new Array(t);for(let r=0;r!==t;++r)n[r]=e[r].clone()}return this.clippingPlanes=n,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}set needsUpdate(t){!0===t&&this.version++}}class yn extends gn{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type=\\\"MeshBasicMaterial\\\",this.color=new qt(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=\\\"round\\\",this.wireframeLinejoin=\\\"round\\\",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}const _n=new ee,bn=new Tt;class xn{constructor(t,e,n){if(Array.isArray(t))throw new TypeError(\\\"THREE.BufferAttribute: array should be a Typed Array.\\\");this.isBufferAttribute=!0,this.name=\\\"\\\",this.array=t,this.itemSize=e,this.count=void 0!==t?t.length/e:0,this.normalized=!0===n,this.usage=ht,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this}copyAt(t,e,n){t*=this.itemSize,n*=e.itemSize;for(let r=0,i=this.itemSize;r<i;r++)this.array[t+r]=e.array[n+r];return this}copyArray(t){return this.array.set(t),this}copyColorsArray(t){const e=this.array;let n=0;for(let r=0,i=t.length;r<i;r++){let i=t[r];void 0===i&&(console.warn(\\\"THREE.BufferAttribute.copyColorsArray(): color is undefined\\\",r),i=new qt),e[n++]=i.r,e[n++]=i.g,e[n++]=i.b}return this}copyVector2sArray(t){const e=this.array;let n=0;for(let r=0,i=t.length;r<i;r++){let i=t[r];void 0===i&&(console.warn(\\\"THREE.BufferAttribute.copyVector2sArray(): vector is undefined\\\",r),i=new Tt),e[n++]=i.x,e[n++]=i.y}return this}copyVector3sArray(t){const e=this.array;let n=0;for(let r=0,i=t.length;r<i;r++){let i=t[r];void 0===i&&(console.warn(\\\"THREE.BufferAttribute.copyVector3sArray(): vector is undefined\\\",r),i=new ee),e[n++]=i.x,e[n++]=i.y,e[n++]=i.z}return this}copyVector4sArray(t){const e=this.array;let n=0;for(let r=0,i=t.length;r<i;r++){let i=t[r];void 0===i&&(console.warn(\\\"THREE.BufferAttribute.copyVector4sArray(): vector is undefined\\\",r),i=new Zt),e[n++]=i.x,e[n++]=i.y,e[n++]=i.z,e[n++]=i.w}return this}applyMatrix3(t){if(2===this.itemSize)for(let e=0,n=this.count;e<n;e++)bn.fromBufferAttribute(this,e),bn.applyMatrix3(t),this.setXY(e,bn.x,bn.y);else if(3===this.itemSize)for(let e=0,n=this.count;e<n;e++)_n.fromBufferAttribute(this,e),_n.applyMatrix3(t),this.setXYZ(e,_n.x,_n.y,_n.z);return this}applyMatrix4(t){for(let e=0,n=this.count;e<n;e++)_n.fromBufferAttribute(this,e),_n.applyMatrix4(t),this.setXYZ(e,_n.x,_n.y,_n.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)_n.fromBufferAttribute(this,e),_n.applyNormalMatrix(t),this.setXYZ(e,_n.x,_n.y,_n.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)_n.fromBufferAttribute(this,e),_n.transformDirection(t),this.setXYZ(e,_n.x,_n.y,_n.z);return this}set(t,e=0){return this.array.set(t,e),this}getX(t){return this.array[t*this.itemSize]}setX(t,e){return this.array[t*this.itemSize]=e,this}getY(t){return this.array[t*this.itemSize+1]}setY(t,e){return this.array[t*this.itemSize+1]=e,this}getZ(t){return this.array[t*this.itemSize+2]}setZ(t,e){return this.array[t*this.itemSize+2]=e,this}getW(t){return this.array[t*this.itemSize+3]}setW(t,e){return this.array[t*this.itemSize+3]=e,this}setXY(t,e,n){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=n,this}setXYZ(t,e,n,r){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=r,this}setXYZW(t,e,n,r,i){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=r,this.array[t+3]=i,this}onUpload(t){return this.onUploadCallback=t,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const t={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return\\\"\\\"!==this.name&&(t.name=this.name),this.usage!==ht&&(t.usage=this.usage),0===this.updateRange.offset&&-1===this.updateRange.count||(t.updateRange=this.updateRange),t}}class wn extends xn{constructor(t,e,n){super(new Uint16Array(t),e,n)}}class An extends xn{constructor(t,e,n){super(new Uint32Array(t),e,n)}}class Cn extends xn{constructor(t,e,n){super(new Float32Array(t),e,n)}}let Mn=0;const En=new Le,Tn=new rn,Sn=new ee,kn=new ie,On=new ie,In=new ee;class Ln extends dt{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,\\\"id\\\",{value:Mn++}),this.uuid=_t(),this.name=\\\"\\\",this.type=\\\"BufferGeometry\\\",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(t){return Array.isArray(t)?this.index=new(kt(t)?An:wn)(t,1):this.index=t,this}getAttribute(t){return this.attributes[t]}setAttribute(t,e){return this.attributes[t]=e,this}deleteAttribute(t){return delete this.attributes[t],this}hasAttribute(t){return void 0!==this.attributes[t]}addGroup(t,e,n=0){this.groups.push({start:t,count:e,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(t,e){this.drawRange.start=t,this.drawRange.count=e}applyMatrix4(t){const e=this.attributes.position;void 0!==e&&(e.applyMatrix4(t),e.needsUpdate=!0);const n=this.attributes.normal;if(void 0!==n){const e=(new St).getNormalMatrix(t);n.applyNormalMatrix(e),n.needsUpdate=!0}const r=this.attributes.tangent;return void 0!==r&&(r.transformDirection(t),r.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(t){return En.makeRotationFromQuaternion(t),this.applyMatrix4(En),this}rotateX(t){return En.makeRotationX(t),this.applyMatrix4(En),this}rotateY(t){return En.makeRotationY(t),this.applyMatrix4(En),this}rotateZ(t){return En.makeRotationZ(t),this.applyMatrix4(En),this}translate(t,e,n){return En.makeTranslation(t,e,n),this.applyMatrix4(En),this}scale(t,e,n){return En.makeScale(t,e,n),this.applyMatrix4(En),this}lookAt(t){return Tn.lookAt(t),Tn.updateMatrix(),this.applyMatrix4(Tn.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Sn).negate(),this.translate(Sn.x,Sn.y,Sn.z),this}setFromPoints(t){const e=[];for(let n=0,r=t.length;n<r;n++){const r=t[n];e.push(r.x,r.y,r.z||0)}return this.setAttribute(\\\"position\\\",new Cn(e,3)),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new ie);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set \\\"mesh.frustumCulled\\\" to \\\"false\\\".',this),void this.boundingBox.set(new ee(-1/0,-1/0,-1/0),new ee(1/0,1/0,1/0));if(void 0!==t){if(this.boundingBox.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];kn.setFromBufferAttribute(n),this.morphTargetsRelative?(In.addVectors(this.boundingBox.min,kn.min),this.boundingBox.expandByPoint(In),In.addVectors(this.boundingBox.max,kn.max),this.boundingBox.expandByPoint(In)):(this.boundingBox.expandByPoint(kn.min),this.boundingBox.expandByPoint(kn.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The \\\"position\\\" attribute is likely to have NaN values.',this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new Ae);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set \\\"mesh.frustumCulled\\\" to \\\"false\\\".',this),void this.boundingSphere.set(new ee,1/0);if(t){const n=this.boundingSphere.center;if(kn.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];On.setFromBufferAttribute(n),this.morphTargetsRelative?(In.addVectors(kn.min,On.min),kn.expandByPoint(In),In.addVectors(kn.max,On.max),kn.expandByPoint(In)):(kn.expandByPoint(On.min),kn.expandByPoint(On.max))}kn.getCenter(n);let r=0;for(let e=0,i=t.count;e<i;e++)In.fromBufferAttribute(t,e),r=Math.max(r,n.distanceToSquared(In));if(e)for(let i=0,o=e.length;i<o;i++){const o=e[i],a=this.morphTargetsRelative;for(let e=0,i=o.count;e<i;e++)In.fromBufferAttribute(o,e),a&&(Sn.fromBufferAttribute(t,e),In.add(Sn)),r=Math.max(r,n.distanceToSquared(In))}this.boundingSphere.radius=Math.sqrt(r),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The \\\"position\\\" attribute is likely to have NaN values.',this)}}computeTangents(){const t=this.index,e=this.attributes;if(null===t||void 0===e.position||void 0===e.normal||void 0===e.uv)return void console.error(\\\"THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)\\\");const n=t.array,r=e.position.array,i=e.normal.array,o=e.uv.array,a=r.length/3;!1===this.hasAttribute(\\\"tangent\\\")&&this.setAttribute(\\\"tangent\\\",new xn(new Float32Array(4*a),4));const s=this.getAttribute(\\\"tangent\\\").array,l=[],u=[];for(let t=0;t<a;t++)l[t]=new ee,u[t]=new ee;const c=new ee,h=new ee,p=new ee,f=new Tt,d=new Tt,m=new Tt,v=new ee,g=new ee;function y(t,e,n){c.fromArray(r,3*t),h.fromArray(r,3*e),p.fromArray(r,3*n),f.fromArray(o,2*t),d.fromArray(o,2*e),m.fromArray(o,2*n),h.sub(c),p.sub(c),d.sub(f),m.sub(f);const i=1/(d.x*m.y-m.x*d.y);isFinite(i)&&(v.copy(h).multiplyScalar(m.y).addScaledVector(p,-d.y).multiplyScalar(i),g.copy(p).multiplyScalar(d.x).addScaledVector(h,-m.x).multiplyScalar(i),l[t].add(v),l[e].add(v),l[n].add(v),u[t].add(g),u[e].add(g),u[n].add(g))}let _=this.groups;0===_.length&&(_=[{start:0,count:n.length}]);for(let t=0,e=_.length;t<e;++t){const e=_[t],r=e.start;for(let t=r,i=r+e.count;t<i;t+=3)y(n[t+0],n[t+1],n[t+2])}const b=new ee,x=new ee,w=new ee,A=new ee;function C(t){w.fromArray(i,3*t),A.copy(w);const e=l[t];b.copy(e),b.sub(w.multiplyScalar(w.dot(e))).normalize(),x.crossVectors(A,e);const n=x.dot(u[t])<0?-1:1;s[4*t]=b.x,s[4*t+1]=b.y,s[4*t+2]=b.z,s[4*t+3]=n}for(let t=0,e=_.length;t<e;++t){const e=_[t],r=e.start;for(let t=r,i=r+e.count;t<i;t+=3)C(n[t+0]),C(n[t+1]),C(n[t+2])}}computeVertexNormals(){const t=this.index,e=this.getAttribute(\\\"position\\\");if(void 0!==e){let n=this.getAttribute(\\\"normal\\\");if(void 0===n)n=new xn(new Float32Array(3*e.count),3),this.setAttribute(\\\"normal\\\",n);else for(let t=0,e=n.count;t<e;t++)n.setXYZ(t,0,0,0);const r=new ee,i=new ee,o=new ee,a=new ee,s=new ee,l=new ee,u=new ee,c=new ee;if(t)for(let h=0,p=t.count;h<p;h+=3){const p=t.getX(h+0),f=t.getX(h+1),d=t.getX(h+2);r.fromBufferAttribute(e,p),i.fromBufferAttribute(e,f),o.fromBufferAttribute(e,d),u.subVectors(o,i),c.subVectors(r,i),u.cross(c),a.fromBufferAttribute(n,p),s.fromBufferAttribute(n,f),l.fromBufferAttribute(n,d),a.add(u),s.add(u),l.add(u),n.setXYZ(p,a.x,a.y,a.z),n.setXYZ(f,s.x,s.y,s.z),n.setXYZ(d,l.x,l.y,l.z)}else for(let t=0,a=e.count;t<a;t+=3)r.fromBufferAttribute(e,t+0),i.fromBufferAttribute(e,t+1),o.fromBufferAttribute(e,t+2),u.subVectors(o,i),c.subVectors(r,i),u.cross(c),n.setXYZ(t+0,u.x,u.y,u.z),n.setXYZ(t+1,u.x,u.y,u.z),n.setXYZ(t+2,u.x,u.y,u.z);this.normalizeNormals(),n.needsUpdate=!0}}merge(t,e){if(!t||!t.isBufferGeometry)return void console.error(\\\"THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.\\\",t);void 0===e&&(e=0,console.warn(\\\"THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge.\\\"));const n=this.attributes;for(const r in n){if(void 0===t.attributes[r])continue;const i=n[r].array,o=t.attributes[r],a=o.array,s=o.itemSize*e,l=Math.min(a.length,i.length-s);for(let t=0,e=s;t<l;t++,e++)i[e]=a[t]}return this}normalizeNormals(){const t=this.attributes.normal;for(let e=0,n=t.count;e<n;e++)In.fromBufferAttribute(t,e),In.normalize(),t.setXYZ(e,In.x,In.y,In.z)}toNonIndexed(){function t(t,e){const n=t.array,r=t.itemSize,i=t.normalized,o=new n.constructor(e.length*r);let a=0,s=0;for(let i=0,l=e.length;i<l;i++){a=t.isInterleavedBufferAttribute?e[i]*t.data.stride+t.offset:e[i]*r;for(let t=0;t<r;t++)o[s++]=n[a++]}return new xn(o,r,i)}if(null===this.index)return console.warn(\\\"THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed.\\\"),this;const e=new Ln,n=this.index.array,r=this.attributes;for(const i in r){const o=t(r[i],n);e.setAttribute(i,o)}const i=this.morphAttributes;for(const r in i){const o=[],a=i[r];for(let e=0,r=a.length;e<r;e++){const r=t(a[e],n);o.push(r)}e.morphAttributes[r]=o}e.morphTargetsRelative=this.morphTargetsRelative;const o=this.groups;for(let t=0,n=o.length;t<n;t++){const n=o[t];e.addGroup(n.start,n.count,n.materialIndex)}return e}toJSON(){const t={metadata:{version:4.5,type:\\\"BufferGeometry\\\",generator:\\\"BufferGeometry.toJSON\\\"}};if(t.uuid=this.uuid,t.type=this.type,\\\"\\\"!==this.name&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),void 0!==this.parameters){const e=this.parameters;for(const n in e)void 0!==e[n]&&(t[n]=e[n]);return t}t.data={attributes:{}};const e=this.index;null!==e&&(t.data.index={type:e.array.constructor.name,array:Array.prototype.slice.call(e.array)});const n=this.attributes;for(const e in n){const r=n[e];t.data.attributes[e]=r.toJSON(t.data)}const r={};let i=!1;for(const e in this.morphAttributes){const n=this.morphAttributes[e],o=[];for(let e=0,r=n.length;e<r;e++){const r=n[e];o.push(r.toJSON(t.data))}o.length>0&&(r[e]=o,i=!0)}i&&(t.data.morphAttributes=r,t.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(t.data.groups=JSON.parse(JSON.stringify(o)));const a=this.boundingSphere;return null!==a&&(t.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),t}clone(){return(new this.constructor).copy(this)}copy(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const e={};this.name=t.name;const n=t.index;null!==n&&this.setIndex(n.clone(e));const r=t.attributes;for(const t in r){const n=r[t];this.setAttribute(t,n.clone(e))}const i=t.morphAttributes;for(const t in i){const n=[],r=i[t];for(let t=0,i=r.length;t<i;t++)n.push(r[t].clone(e));this.morphAttributes[t]=n}this.morphTargetsRelative=t.morphTargetsRelative;const o=t.groups;for(let t=0,e=o.length;t<e;t++){const e=o[t];this.addGroup(e.start,e.count,e.materialIndex)}const a=t.boundingBox;null!==a&&(this.boundingBox=a.clone());const s=t.boundingSphere;return null!==s&&(this.boundingSphere=s.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,void 0!==t.parameters&&(this.parameters=Object.assign({},t.parameters)),this}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}}const Pn=new Le,zn=new Ie,Rn=new Ae,Dn=new ee,$n=new ee,Bn=new ee,Nn=new ee,Fn=new ee,jn=new ee,Un=new ee,qn=new ee,Vn=new ee,Hn=new Tt,Gn=new Tt,Wn=new Tt,Xn=new ee,Yn=new ee;class Zn extends rn{constructor(t=new Ln,e=new yn){super(),this.isMesh=!0,this.type=\\\"Mesh\\\",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),void 0!==t.morphTargetInfluences&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),void 0!==t.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=t.material,this.geometry=t.geometry,this}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}raycast(t,e){const n=this.geometry,r=this.material,i=this.matrixWorld;if(void 0===r)return;if(null===n.boundingSphere&&n.computeBoundingSphere(),Rn.copy(n.boundingSphere),Rn.applyMatrix4(i),!1===t.ray.intersectsSphere(Rn))return;if(Pn.copy(i).invert(),zn.copy(t.ray).applyMatrix4(Pn),null!==n.boundingBox&&!1===zn.intersectsBox(n.boundingBox))return;let o;const a=n.index,s=n.attributes.position,l=n.morphAttributes.position,u=n.morphTargetsRelative,c=n.attributes.uv,h=n.attributes.uv2,p=n.groups,f=n.drawRange;if(null!==a)if(Array.isArray(r))for(let n=0,i=p.length;n<i;n++){const i=p[n],d=r[i.materialIndex];for(let n=Math.max(i.start,f.start),r=Math.min(a.count,Math.min(i.start+i.count,f.start+f.count));n<r;n+=3){const r=a.getX(n),p=a.getX(n+1),f=a.getX(n+2);o=Kn(this,d,t,zn,s,l,u,c,h,r,p,f),o&&(o.faceIndex=Math.floor(n/3),o.face.materialIndex=i.materialIndex,e.push(o))}}else for(let n=Math.max(0,f.start),i=Math.min(a.count,f.start+f.count);n<i;n+=3){const i=a.getX(n),p=a.getX(n+1),f=a.getX(n+2);o=Kn(this,r,t,zn,s,l,u,c,h,i,p,f),o&&(o.faceIndex=Math.floor(n/3),e.push(o))}else if(void 0!==s)if(Array.isArray(r))for(let n=0,i=p.length;n<i;n++){const i=p[n],a=r[i.materialIndex];for(let n=Math.max(i.start,f.start),r=Math.min(s.count,Math.min(i.start+i.count,f.start+f.count));n<r;n+=3)o=Kn(this,a,t,zn,s,l,u,c,h,n,n+1,n+2),o&&(o.faceIndex=Math.floor(n/3),o.face.materialIndex=i.materialIndex,e.push(o))}else for(let n=Math.max(0,f.start),i=Math.min(s.count,f.start+f.count);n<i;n+=3)o=Kn(this,r,t,zn,s,l,u,c,h,n,n+1,n+2),o&&(o.faceIndex=Math.floor(n/3),e.push(o))}}function Kn(t,e,n,r,i,o,a,s,l,u,c,h){Dn.fromBufferAttribute(i,u),$n.fromBufferAttribute(i,c),Bn.fromBufferAttribute(i,h);const p=t.morphTargetInfluences;if(o&&p){Un.set(0,0,0),qn.set(0,0,0),Vn.set(0,0,0);for(let t=0,e=o.length;t<e;t++){const e=p[t],n=o[t];0!==e&&(Nn.fromBufferAttribute(n,u),Fn.fromBufferAttribute(n,c),jn.fromBufferAttribute(n,h),a?(Un.addScaledVector(Nn,e),qn.addScaledVector(Fn,e),Vn.addScaledVector(jn,e)):(Un.addScaledVector(Nn.sub(Dn),e),qn.addScaledVector(Fn.sub($n),e),Vn.addScaledVector(jn.sub(Bn),e)))}Dn.add(Un),$n.add(qn),Bn.add(Vn)}t.isSkinnedMesh&&(t.boneTransform(u,Dn),t.boneTransform(c,$n),t.boneTransform(h,Bn));const f=function(t,e,n,r,i,o,a,s){let l;if(l=1===e.side?r.intersectTriangle(a,o,i,!0,s):r.intersectTriangle(i,o,a,2!==e.side,s),null===l)return null;Yn.copy(s),Yn.applyMatrix4(t.matrixWorld);const u=n.ray.origin.distanceTo(Yn);return u<n.near||u>n.far?null:{distance:u,point:Yn.clone(),object:t}}(t,e,n,r,Dn,$n,Bn,Xn);if(f){s&&(Hn.fromBufferAttribute(s,u),Gn.fromBufferAttribute(s,c),Wn.fromBufferAttribute(s,h),f.uv=mn.getUV(Xn,Dn,$n,Bn,Hn,Gn,Wn,new Tt)),l&&(Hn.fromBufferAttribute(l,u),Gn.fromBufferAttribute(l,c),Wn.fromBufferAttribute(l,h),f.uv2=mn.getUV(Xn,Dn,$n,Bn,Hn,Gn,Wn,new Tt));const t={a:u,b:c,c:h,normal:new ee,materialIndex:0};mn.getNormal(Dn,$n,Bn,t.normal),f.face=t}return f}class Jn extends Ln{constructor(t=1,e=1,n=1,r=1,i=1,o=1){super(),this.type=\\\"BoxGeometry\\\",this.parameters={width:t,height:e,depth:n,widthSegments:r,heightSegments:i,depthSegments:o};const a=this;r=Math.floor(r),i=Math.floor(i),o=Math.floor(o);const s=[],l=[],u=[],c=[];let h=0,p=0;function f(t,e,n,r,i,o,f,d,m,v,g){const y=o/m,_=f/v,b=o/2,x=f/2,w=d/2,A=m+1,C=v+1;let M=0,E=0;const T=new ee;for(let o=0;o<C;o++){const a=o*_-x;for(let s=0;s<A;s++){const h=s*y-b;T[t]=h*r,T[e]=a*i,T[n]=w,l.push(T.x,T.y,T.z),T[t]=0,T[e]=0,T[n]=d>0?1:-1,u.push(T.x,T.y,T.z),c.push(s/m),c.push(1-o/v),M+=1}}for(let t=0;t<v;t++)for(let e=0;e<m;e++){const n=h+e+A*t,r=h+e+A*(t+1),i=h+(e+1)+A*(t+1),o=h+(e+1)+A*t;s.push(n,r,o),s.push(r,i,o),E+=6}a.addGroup(p,E,g),p+=E,h+=M}f(\\\"z\\\",\\\"y\\\",\\\"x\\\",-1,-1,n,e,t,o,i,0),f(\\\"z\\\",\\\"y\\\",\\\"x\\\",1,-1,n,e,-t,o,i,1),f(\\\"x\\\",\\\"z\\\",\\\"y\\\",1,1,t,n,e,r,o,2),f(\\\"x\\\",\\\"z\\\",\\\"y\\\",1,-1,t,n,-e,r,o,3),f(\\\"x\\\",\\\"y\\\",\\\"z\\\",1,-1,t,e,n,r,i,4),f(\\\"x\\\",\\\"y\\\",\\\"z\\\",-1,-1,t,e,-n,r,i,5),this.setIndex(s),this.setAttribute(\\\"position\\\",new Cn(l,3)),this.setAttribute(\\\"normal\\\",new Cn(u,3)),this.setAttribute(\\\"uv\\\",new Cn(c,2))}static fromJSON(t){return new Jn(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments)}}function Qn(t){const e={};for(const n in t){e[n]={};for(const r in t[n]){const i=t[n][r];i&&(i.isColor||i.isMatrix3||i.isMatrix4||i.isVector2||i.isVector3||i.isVector4||i.isTexture||i.isQuaternion)?e[n][r]=i.clone():Array.isArray(i)?e[n][r]=i.slice():e[n][r]=i}}return e}function tr(t){const e={};for(let n=0;n<t.length;n++){const r=Qn(t[n]);for(const t in r)e[t]=r[t]}return e}const er={clone:Qn,merge:tr};class nr extends gn{constructor(t){super(),this.isShaderMaterial=!0,this.type=\\\"ShaderMaterial\\\",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader=\\\"void main() {\\\\n\\\\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\\\\n}\\\",this.fragmentShader=\\\"void main() {\\\\n\\\\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\\\\n}\\\",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==t&&(void 0!==t.attributes&&console.error(\\\"THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead.\\\"),this.setValues(t))}copy(t){return super.copy(t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=Qn(t.uniforms),this.uniformsGroups=function(t){const e=[];for(let n=0;n<t.length;n++)e.push(t[n].clone());return e}(t.uniformsGroups),this.defines=Object.assign({},t.defines),this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.fog=t.fog,this.lights=t.lights,this.clipping=t.clipping,this.extensions=Object.assign({},t.extensions),this.glslVersion=t.glslVersion,this}toJSON(t){const e=super.toJSON(t);e.glslVersion=this.glslVersion,e.uniforms={};for(const n in this.uniforms){const r=this.uniforms[n].value;r&&r.isTexture?e.uniforms[n]={type:\\\"t\\\",value:r.toJSON(t).uuid}:r&&r.isColor?e.uniforms[n]={type:\\\"c\\\",value:r.getHex()}:r&&r.isVector2?e.uniforms[n]={type:\\\"v2\\\",value:r.toArray()}:r&&r.isVector3?e.uniforms[n]={type:\\\"v3\\\",value:r.toArray()}:r&&r.isVector4?e.uniforms[n]={type:\\\"v4\\\",value:r.toArray()}:r&&r.isMatrix3?e.uniforms[n]={type:\\\"m3\\\",value:r.toArray()}:r&&r.isMatrix4?e.uniforms[n]={type:\\\"m4\\\",value:r.toArray()}:e.uniforms[n]={value:r}}Object.keys(this.defines).length>0&&(e.defines=this.defines),e.vertexShader=this.vertexShader,e.fragmentShader=this.fragmentShader;const n={};for(const t in this.extensions)!0===this.extensions[t]&&(n[t]=!0);return Object.keys(n).length>0&&(e.extensions=n),e}}class rr extends rn{constructor(){super(),this.isCamera=!0,this.type=\\\"Camera\\\",this.matrixWorldInverse=new Le,this.projectionMatrix=new Le,this.projectionMatrixInverse=new Le}copy(t,e){return super.copy(t,e),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(-e[8],-e[9],-e[10]).normalize()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,e){super.updateWorldMatrix(t,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return(new this.constructor).copy(this)}}class ir extends rr{constructor(t=50,e=1,n=.1,r=2e3){super(),this.isPerspectiveCamera=!0,this.type=\\\"PerspectiveCamera\\\",this.fov=t,this.zoom=1,this.near=n,this.far=r,this.focus=10,this.aspect=e,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=null===t.view?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}setFocalLength(t){const e=.5*this.getFilmHeight()/t;this.fov=2*yt*Math.atan(e),this.updateProjectionMatrix()}getFocalLength(){const t=Math.tan(.5*gt*this.fov);return.5*this.getFilmHeight()/t}getEffectiveFOV(){return 2*yt*Math.atan(Math.tan(.5*gt*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(t,e,n,r,i,o){this.aspect=t/e,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=this.near;let e=t*Math.tan(.5*gt*this.fov)/this.zoom,n=2*e,r=this.aspect*n,i=-.5*r;const o=this.view;if(null!==this.view&&this.view.enabled){const t=o.fullWidth,a=o.fullHeight;i+=o.offsetX*r/t,e-=o.offsetY*n/a,r*=o.width/t,n*=o.height/a}const a=this.filmOffset;0!==a&&(i+=t*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(i,i+r,e,e-n,t,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.fov=this.fov,e.object.zoom=this.zoom,e.object.near=this.near,e.object.far=this.far,e.object.focus=this.focus,e.object.aspect=this.aspect,null!==this.view&&(e.object.view=Object.assign({},this.view)),e.object.filmGauge=this.filmGauge,e.object.filmOffset=this.filmOffset,e}}const or=90;class ar extends rn{constructor(t,e,n){if(super(),this.type=\\\"CubeCamera\\\",!0!==n.isWebGLCubeRenderTarget)return void console.error(\\\"THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.\\\");this.renderTarget=n;const r=new ir(or,1,t,e);r.layers=this.layers,r.up.set(0,-1,0),r.lookAt(new ee(1,0,0)),this.add(r);const i=new ir(or,1,t,e);i.layers=this.layers,i.up.set(0,-1,0),i.lookAt(new ee(-1,0,0)),this.add(i);const o=new ir(or,1,t,e);o.layers=this.layers,o.up.set(0,0,1),o.lookAt(new ee(0,1,0)),this.add(o);const a=new ir(or,1,t,e);a.layers=this.layers,a.up.set(0,0,-1),a.lookAt(new ee(0,-1,0)),this.add(a);const s=new ir(or,1,t,e);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new ee(0,0,1)),this.add(s);const l=new ir(or,1,t,e);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new ee(0,0,-1)),this.add(l)}update(t,e){null===this.parent&&this.updateMatrixWorld();const n=this.renderTarget,[r,i,o,a,s,l]=this.children,u=t.getRenderTarget(),c=t.toneMapping,h=t.xr.enabled;t.toneMapping=0,t.xr.enabled=!1;const p=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,t.setRenderTarget(n,0),t.render(e,r),t.setRenderTarget(n,1),t.render(e,i),t.setRenderTarget(n,2),t.render(e,o),t.setRenderTarget(n,3),t.render(e,a),t.setRenderTarget(n,4),t.render(e,s),n.texture.generateMipmaps=p,t.setRenderTarget(n,5),t.render(e,l),t.setRenderTarget(u),t.toneMapping=c,t.xr.enabled=h,n.texture.needsPMREMUpdate=!0}}class sr extends Yt{constructor(t,e,n,r,i,a,s,l,u,c){super(t=void 0!==t?t:[],e=void 0!==e?e:o,n,r,i,a,s,l,u,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(t){this.image=t}}class lr extends Kt{constructor(t,e={}){super(t,t,e),this.isWebGLCubeRenderTarget=!0;const n={width:t,height:t,depth:1},r=[n,n,n,n,n,n];this.texture=new sr(r,e.mapping,e.wrapS,e.wrapT,e.magFilter,e.minFilter,e.format,e.type,e.anisotropy,e.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==e.generateMipmaps&&e.generateMipmaps,this.texture.minFilter=void 0!==e.minFilter?e.minFilter:v}fromEquirectangularTexture(t,e){this.texture.type=e.type,this.texture.encoding=e.encoding,this.texture.generateMipmaps=e.generateMipmaps,this.texture.minFilter=e.minFilter,this.texture.magFilter=e.magFilter;const n={tEquirect:{value:null}},r=\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvarying vec3 vWorldDirection;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvWorldDirection = transformDirection( position, modelMatrix );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t#include <begin_vertex>\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t#include <project_vertex>\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\",i=\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tuniform sampler2D tEquirect;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvarying vec3 vWorldDirection;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t#include <common>\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvec3 direction = normalize( vWorldDirection );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvec2 sampleUV = equirectUv( direction );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tgl_FragColor = texture2D( tEquirect, sampleUV );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\",o=new Jn(5,5,5),a=new nr({name:\\\"CubemapFromEquirect\\\",uniforms:Qn(n),vertexShader:r,fragmentShader:i,side:1,blending:0});a.uniforms.tEquirect.value=e;const s=new Zn(o,a),l=e.minFilter;return e.minFilter===y&&(e.minFilter=v),new ar(1,10,this).update(t,s),e.minFilter=l,s.geometry.dispose(),s.material.dispose(),this}clear(t,e,n,r){const i=t.getRenderTarget();for(let i=0;i<6;i++)t.setRenderTarget(this,i),t.clear(e,n,r);t.setRenderTarget(i)}}const ur=new ee,cr=new ee,hr=new St;class pr{constructor(t=new ee(1,0,0),e=0){this.isPlane=!0,this.normal=t,this.constant=e}set(t,e){return this.normal.copy(t),this.constant=e,this}setComponents(t,e,n,r){return this.normal.set(t,e,n),this.constant=r,this}setFromNormalAndCoplanarPoint(t,e){return this.normal.copy(t),this.constant=-e.dot(this.normal),this}setFromCoplanarPoints(t,e,n){const r=ur.subVectors(n,e).cross(cr.subVectors(t,e)).normalize();return this.setFromNormalAndCoplanarPoint(r,t),this}copy(t){return this.normal.copy(t.normal),this.constant=t.constant,this}normalize(){const t=1/this.normal.length();return this.normal.multiplyScalar(t),this.constant*=t,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(t){return this.normal.dot(t)+this.constant}distanceToSphere(t){return this.distanceToPoint(t.center)-t.radius}projectPoint(t,e){return e.copy(this.normal).multiplyScalar(-this.distanceToPoint(t)).add(t)}intersectLine(t,e){const n=t.delta(ur),r=this.normal.dot(n);if(0===r)return 0===this.distanceToPoint(t.start)?e.copy(t.start):null;const i=-(t.start.dot(this.normal)+this.constant)/r;return i<0||i>1?null:e.copy(n).multiplyScalar(i).add(t.start)}intersectsLine(t){const e=this.distanceToPoint(t.start),n=this.distanceToPoint(t.end);return e<0&&n>0||n<0&&e>0}intersectsBox(t){return t.intersectsPlane(this)}intersectsSphere(t){return t.intersectsPlane(this)}coplanarPoint(t){return t.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(t,e){const n=e||hr.getNormalMatrix(t),r=this.coplanarPoint(ur).applyMatrix4(t),i=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(i),this}translate(t){return this.constant-=t.dot(this.normal),this}equals(t){return t.normal.equals(this.normal)&&t.constant===this.constant}clone(){return(new this.constructor).copy(this)}}const fr=new Ae,dr=new ee;class mr{constructor(t=new pr,e=new pr,n=new pr,r=new pr,i=new pr,o=new pr){this.planes=[t,e,n,r,i,o]}set(t,e,n,r,i,o){const a=this.planes;return a[0].copy(t),a[1].copy(e),a[2].copy(n),a[3].copy(r),a[4].copy(i),a[5].copy(o),this}copy(t){const e=this.planes;for(let n=0;n<6;n++)e[n].copy(t.planes[n]);return this}setFromProjectionMatrix(t){const e=this.planes,n=t.elements,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],u=n[6],c=n[7],h=n[8],p=n[9],f=n[10],d=n[11],m=n[12],v=n[13],g=n[14],y=n[15];return e[0].setComponents(a-r,c-s,d-h,y-m).normalize(),e[1].setComponents(a+r,c+s,d+h,y+m).normalize(),e[2].setComponents(a+i,c+l,d+p,y+v).normalize(),e[3].setComponents(a-i,c-l,d-p,y-v).normalize(),e[4].setComponents(a-o,c-u,d-f,y-g).normalize(),e[5].setComponents(a+o,c+u,d+f,y+g).normalize(),this}intersectsObject(t){const e=t.geometry;return null===e.boundingSphere&&e.computeBoundingSphere(),fr.copy(e.boundingSphere).applyMatrix4(t.matrixWorld),this.intersectsSphere(fr)}intersectsSprite(t){return fr.center.set(0,0,0),fr.radius=.7071067811865476,fr.applyMatrix4(t.matrixWorld),this.intersectsSphere(fr)}intersectsSphere(t){const e=this.planes,n=t.center,r=-t.radius;for(let t=0;t<6;t++)if(e[t].distanceToPoint(n)<r)return!1;return!0}intersectsBox(t){const e=this.planes;for(let n=0;n<6;n++){const r=e[n];if(dr.x=r.normal.x>0?t.max.x:t.min.x,dr.y=r.normal.y>0?t.max.y:t.min.y,dr.z=r.normal.z>0?t.max.z:t.min.z,r.distanceToPoint(dr)<0)return!1}return!0}containsPoint(t){const e=this.planes;for(let n=0;n<6;n++)if(e[n].distanceToPoint(t)<0)return!1;return!0}clone(){return(new this.constructor).copy(this)}}function vr(){let t=null,e=!1,n=null,r=null;function i(e,o){n(e,o),r=t.requestAnimationFrame(i)}return{start:function(){!0!==e&&null!==n&&(r=t.requestAnimationFrame(i),e=!0)},stop:function(){t.cancelAnimationFrame(r),e=!1},setAnimationLoop:function(t){n=t},setContext:function(e){t=e}}}function gr(t,e){const n=e.isWebGL2,r=new WeakMap;return{get:function(t){return t.isInterleavedBufferAttribute&&(t=t.data),r.get(t)},remove:function(e){e.isInterleavedBufferAttribute&&(e=e.data);const n=r.get(e);n&&(t.deleteBuffer(n.buffer),r.delete(e))},update:function(e,i){if(e.isGLBufferAttribute){const t=r.get(e);return void((!t||t.version<e.version)&&r.set(e,{buffer:e.buffer,type:e.type,bytesPerElement:e.elementSize,version:e.version}))}e.isInterleavedBufferAttribute&&(e=e.data);const o=r.get(e);void 0===o?r.set(e,function(e,r){const i=e.array,o=e.usage,a=t.createBuffer();let s;if(t.bindBuffer(r,a),t.bufferData(r,i,o),e.onUploadCallback(),i instanceof Float32Array)s=t.FLOAT;else if(i instanceof Uint16Array)if(e.isFloat16BufferAttribute){if(!n)throw new Error(\\\"THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.\\\");s=t.HALF_FLOAT}else s=t.UNSIGNED_SHORT;else if(i instanceof Int16Array)s=t.SHORT;else if(i instanceof Uint32Array)s=t.UNSIGNED_INT;else if(i instanceof Int32Array)s=t.INT;else if(i instanceof Int8Array)s=t.BYTE;else if(i instanceof Uint8Array)s=t.UNSIGNED_BYTE;else{if(!(i instanceof Uint8ClampedArray))throw new Error(\\\"THREE.WebGLAttributes: Unsupported buffer data format: \\\"+i);s=t.UNSIGNED_BYTE}return{buffer:a,type:s,bytesPerElement:i.BYTES_PER_ELEMENT,version:e.version}}(e,i)):o.version<e.version&&(function(e,r,i){const o=r.array,a=r.updateRange;t.bindBuffer(i,e),-1===a.count?t.bufferSubData(i,0,o):(n?t.bufferSubData(i,a.offset*o.BYTES_PER_ELEMENT,o,a.offset,a.count):t.bufferSubData(i,a.offset*o.BYTES_PER_ELEMENT,o.subarray(a.offset,a.offset+a.count)),a.count=-1)}(o.buffer,e,i),o.version=e.version)}}}class yr extends Ln{constructor(t=1,e=1,n=1,r=1){super(),this.type=\\\"PlaneGeometry\\\",this.parameters={width:t,height:e,widthSegments:n,heightSegments:r};const i=t/2,o=e/2,a=Math.floor(n),s=Math.floor(r),l=a+1,u=s+1,c=t/a,h=e/s,p=[],f=[],d=[],m=[];for(let t=0;t<u;t++){const e=t*h-o;for(let n=0;n<l;n++){const r=n*c-i;f.push(r,-e,0),d.push(0,0,1),m.push(n/a),m.push(1-t/s)}}for(let t=0;t<s;t++)for(let e=0;e<a;e++){const n=e+l*t,r=e+l*(t+1),i=e+1+l*(t+1),o=e+1+l*t;p.push(n,r,o),p.push(r,i,o)}this.setIndex(p),this.setAttribute(\\\"position\\\",new Cn(f,3)),this.setAttribute(\\\"normal\\\",new Cn(d,3)),this.setAttribute(\\\"uv\\\",new Cn(m,2))}static fromJSON(t){return new yr(t.width,t.height,t.widthSegments,t.heightSegments)}}const _r={alphamap_fragment:\\\"#ifdef USE_ALPHAMAP\\\\n\\\\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\\\\n#endif\\\",alphamap_pars_fragment:\\\"#ifdef USE_ALPHAMAP\\\\n\\\\tuniform sampler2D alphaMap;\\\\n#endif\\\",alphatest_fragment:\\\"#ifdef USE_ALPHATEST\\\\n\\\\tif ( diffuseColor.a < alphaTest ) discard;\\\\n#endif\\\",alphatest_pars_fragment:\\\"#ifdef USE_ALPHATEST\\\\n\\\\tuniform float alphaTest;\\\\n#endif\\\",aomap_fragment:\\\"#ifdef USE_AOMAP\\\\n\\\\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\\\\n\\\\treflectedLight.indirectDiffuse *= ambientOcclusion;\\\\n\\\\t#if defined( USE_ENVMAP ) && defined( STANDARD )\\\\n\\\\t\\\\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\\\\n\\\\t\\\\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\\\\n\\\\t#endif\\\\n#endif\\\",aomap_pars_fragment:\\\"#ifdef USE_AOMAP\\\\n\\\\tuniform sampler2D aoMap;\\\\n\\\\tuniform float aoMapIntensity;\\\\n#endif\\\",begin_vertex:\\\"vec3 transformed = vec3( position );\\\",beginnormal_vertex:\\\"vec3 objectNormal = vec3( normal );\\\\n#ifdef USE_TANGENT\\\\n\\\\tvec3 objectTangent = vec3( tangent.xyz );\\\\n#endif\\\",bsdfs:\\\"vec3 BRDF_Lambert( const in vec3 diffuseColor ) {\\\\n\\\\treturn RECIPROCAL_PI * diffuseColor;\\\\n}\\\\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\\\\n\\\\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\\\\n\\\\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\\\\n}\\\\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\\\\n\\\\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\\\\n\\\\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\\\\n}\\\\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\\\\n\\\\t\\\\tfloat x = clamp( 1.0 - dotVH, 0.0, 1.0 );\\\\n\\\\t\\\\tfloat x2 = x * x;\\\\n\\\\t\\\\tfloat x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\\\\n\\\\t\\\\treturn ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\\\\n}\\\\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\\\\n\\\\tfloat a2 = pow2( alpha );\\\\n\\\\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\\\\n\\\\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\\\\n\\\\treturn 0.5 / max( gv + gl, EPSILON );\\\\n}\\\\nfloat D_GGX( const in float alpha, const in float dotNH ) {\\\\n\\\\tfloat a2 = pow2( alpha );\\\\n\\\\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\\\\n\\\\treturn RECIPROCAL_PI * a2 / pow2( denom );\\\\n}\\\\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float roughness ) {\\\\n\\\\tfloat alpha = pow2( roughness );\\\\n\\\\tvec3 halfDir = normalize( lightDir + viewDir );\\\\n\\\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\\\n\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\\\n\\\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\\\n\\\\tvec3 F = F_Schlick( f0, f90, dotVH );\\\\n\\\\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\\\\n\\\\tfloat D = D_GGX( alpha, dotNH );\\\\n\\\\treturn F * ( V * D );\\\\n}\\\\n#ifdef USE_IRIDESCENCE\\\\n\\\\tvec3 BRDF_GGX_Iridescence( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float iridescence, const in vec3 iridescenceFresnel, const in float roughness ) {\\\\n\\\\t\\\\tfloat alpha = pow2( roughness );\\\\n\\\\t\\\\tvec3 halfDir = normalize( lightDir + viewDir );\\\\n\\\\t\\\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\\\n\\\\t\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\t\\\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\\\n\\\\t\\\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\\\n\\\\t\\\\tvec3 F = mix( F_Schlick( f0, f90, dotVH ), iridescenceFresnel, iridescence );\\\\n\\\\t\\\\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\\\\n\\\\t\\\\tfloat D = D_GGX( alpha, dotNH );\\\\n\\\\t\\\\treturn F * ( V * D );\\\\n\\\\t}\\\\n#endif\\\\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\\\\n\\\\tconst float LUT_SIZE = 64.0;\\\\n\\\\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\\\\n\\\\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\\\\n\\\\tfloat dotNV = saturate( dot( N, V ) );\\\\n\\\\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\\\\n\\\\tuv = uv * LUT_SCALE + LUT_BIAS;\\\\n\\\\treturn uv;\\\\n}\\\\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\\\\n\\\\tfloat l = length( f );\\\\n\\\\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\\\\n}\\\\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\\\\n\\\\tfloat x = dot( v1, v2 );\\\\n\\\\tfloat y = abs( x );\\\\n\\\\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\\\\n\\\\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\\\\n\\\\tfloat v = a / b;\\\\n\\\\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\\\\n\\\\treturn cross( v1, v2 ) * theta_sintheta;\\\\n}\\\\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\\\\n\\\\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\\\\n\\\\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\\\\n\\\\tvec3 lightNormal = cross( v1, v2 );\\\\n\\\\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\\\\n\\\\tvec3 T1, T2;\\\\n\\\\tT1 = normalize( V - N * dot( V, N ) );\\\\n\\\\tT2 = - cross( N, T1 );\\\\n\\\\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\\\\n\\\\tvec3 coords[ 4 ];\\\\n\\\\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\\\\n\\\\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\\\\n\\\\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\\\\n\\\\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\\\\n\\\\tcoords[ 0 ] = normalize( coords[ 0 ] );\\\\n\\\\tcoords[ 1 ] = normalize( coords[ 1 ] );\\\\n\\\\tcoords[ 2 ] = normalize( coords[ 2 ] );\\\\n\\\\tcoords[ 3 ] = normalize( coords[ 3 ] );\\\\n\\\\tvec3 vectorFormFactor = vec3( 0.0 );\\\\n\\\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\\\\n\\\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\\\\n\\\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\\\\n\\\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\\\\n\\\\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\\\\n\\\\treturn vec3( result );\\\\n}\\\\nfloat G_BlinnPhong_Implicit( ) {\\\\n\\\\treturn 0.25;\\\\n}\\\\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\\\\n\\\\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\\\\n}\\\\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\\\\n\\\\tvec3 halfDir = normalize( lightDir + viewDir );\\\\n\\\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\\\n\\\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\\\n\\\\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\\\\n\\\\tfloat G = G_BlinnPhong_Implicit( );\\\\n\\\\tfloat D = D_BlinnPhong( shininess, dotNH );\\\\n\\\\treturn F * ( G * D );\\\\n}\\\\n#if defined( USE_SHEEN )\\\\nfloat D_Charlie( float roughness, float dotNH ) {\\\\n\\\\tfloat alpha = pow2( roughness );\\\\n\\\\tfloat invAlpha = 1.0 / alpha;\\\\n\\\\tfloat cos2h = dotNH * dotNH;\\\\n\\\\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\\\\n\\\\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\\\\n}\\\\nfloat V_Neubelt( float dotNV, float dotNL ) {\\\\n\\\\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\\\\n}\\\\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\\\\n\\\\tvec3 halfDir = normalize( lightDir + viewDir );\\\\n\\\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\\\n\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\\\n\\\\tfloat D = D_Charlie( sheenRoughness, dotNH );\\\\n\\\\tfloat V = V_Neubelt( dotNV, dotNL );\\\\n\\\\treturn sheenColor * ( D * V );\\\\n}\\\\n#endif\\\",iridescence_fragment:\\\"#ifdef USE_IRIDESCENCE\\\\n\\\\tconst mat3 XYZ_TO_REC709 = mat3(\\\\n\\\\t\\\\t 3.2404542, -0.9692660,\\\\t0.0556434,\\\\n\\\\t\\\\t-1.5371385,\\\\t1.8760108, -0.2040259,\\\\n\\\\t\\\\t-0.4985314,\\\\t0.0415560,\\\\t1.0572252\\\\n\\\\t);\\\\n\\\\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\\\\n\\\\t\\\\tvec3 sqrtF0 = sqrt( fresnel0 );\\\\n\\\\t\\\\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\\\\n\\\\t}\\\\n\\\\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\\\\n\\\\t\\\\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\\\\n\\\\t}\\\\n\\\\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\\\\n\\\\t\\\\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\\\\n\\\\t}\\\\n\\\\tvec3 evalSensitivity( float OPD, vec3 shift ) {\\\\n\\\\t\\\\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\\\\n\\\\t\\\\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\\\\n\\\\t\\\\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\\\\n\\\\t\\\\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\\\\n\\\\t\\\\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\\\\n\\\\t\\\\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\\\\n\\\\t\\\\txyz /= 1.0685e-7;\\\\n\\\\t\\\\tvec3 rgb = XYZ_TO_REC709 * xyz;\\\\n\\\\t\\\\treturn rgb;\\\\n\\\\t}\\\\n\\\\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\\\\n\\\\t\\\\tvec3 I;\\\\n\\\\t\\\\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\\\\n\\\\t\\\\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\\\\n\\\\t\\\\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\\\\n\\\\t\\\\tif ( cosTheta2Sq < 0.0 ) {\\\\n\\\\t\\\\t\\\\t return vec3( 1.0 );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tfloat cosTheta2 = sqrt( cosTheta2Sq );\\\\n\\\\t\\\\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\\\\n\\\\t\\\\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\\\\n\\\\t\\\\tfloat R21 = R12;\\\\n\\\\t\\\\tfloat T121 = 1.0 - R12;\\\\n\\\\t\\\\tfloat phi12 = 0.0;\\\\n\\\\t\\\\tif ( iridescenceIOR < outsideIOR ) phi12 = PI;\\\\n\\\\t\\\\tfloat phi21 = PI - phi12;\\\\n\\\\t\\\\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\\\\t\\\\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\\\\n\\\\t\\\\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\\\\n\\\\t\\\\tvec3 phi23 = vec3( 0.0 );\\\\n\\\\t\\\\tif ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\\\\n\\\\t\\\\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\\\\n\\\\t\\\\tif ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\\\\n\\\\t\\\\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\\\\n\\\\t\\\\tvec3 phi = vec3( phi21 ) + phi23;\\\\n\\\\t\\\\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\\\\n\\\\t\\\\tvec3 r123 = sqrt( R123 );\\\\n\\\\t\\\\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\\\\n\\\\t\\\\tvec3 C0 = R12 + Rs;\\\\n\\\\t\\\\tI = C0;\\\\n\\\\t\\\\tvec3 Cm = Rs - T121;\\\\n\\\\t\\\\tfor ( int m = 1; m <= 2; ++ m ) {\\\\n\\\\t\\\\t\\\\tCm *= r123;\\\\n\\\\t\\\\t\\\\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\\\\n\\\\t\\\\t\\\\tI += Cm * Sm;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn max( I, vec3( 0.0 ) );\\\\n\\\\t}\\\\n#endif\\\",bumpmap_pars_fragment:\\\"#ifdef USE_BUMPMAP\\\\n\\\\tuniform sampler2D bumpMap;\\\\n\\\\tuniform float bumpScale;\\\\n\\\\tvec2 dHdxy_fwd() {\\\\n\\\\t\\\\tvec2 dSTdx = dFdx( vUv );\\\\n\\\\t\\\\tvec2 dSTdy = dFdy( vUv );\\\\n\\\\t\\\\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\\\\n\\\\t\\\\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\\\\n\\\\t\\\\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\\\\n\\\\t\\\\treturn vec2( dBx, dBy );\\\\n\\\\t}\\\\n\\\\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\\\\n\\\\t\\\\tvec3 vSigmaX = dFdx( surf_pos.xyz );\\\\n\\\\t\\\\tvec3 vSigmaY = dFdy( surf_pos.xyz );\\\\n\\\\t\\\\tvec3 vN = surf_norm;\\\\n\\\\t\\\\tvec3 R1 = cross( vSigmaY, vN );\\\\n\\\\t\\\\tvec3 R2 = cross( vN, vSigmaX );\\\\n\\\\t\\\\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\\\\n\\\\t\\\\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\\\\n\\\\t\\\\treturn normalize( abs( fDet ) * surf_norm - vGrad );\\\\n\\\\t}\\\\n#endif\\\",clipping_planes_fragment:\\\"#if NUM_CLIPPING_PLANES > 0\\\\n\\\\tvec4 plane;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\\\\n\\\\t\\\\tplane = clippingPlanes[ i ];\\\\n\\\\t\\\\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\\\\n\\\\t\\\\tbool clipped = true;\\\\n\\\\t\\\\t#pragma unroll_loop_start\\\\n\\\\t\\\\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\\\\n\\\\t\\\\t\\\\tplane = clippingPlanes[ i ];\\\\n\\\\t\\\\t\\\\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t#pragma unroll_loop_end\\\\n\\\\t\\\\tif ( clipped ) discard;\\\\n\\\\t#endif\\\\n#endif\\\",clipping_planes_pars_fragment:\\\"#if NUM_CLIPPING_PLANES > 0\\\\n\\\\tvarying vec3 vClipPosition;\\\\n\\\\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\\\\n#endif\\\",clipping_planes_pars_vertex:\\\"#if NUM_CLIPPING_PLANES > 0\\\\n\\\\tvarying vec3 vClipPosition;\\\\n#endif\\\",clipping_planes_vertex:\\\"#if NUM_CLIPPING_PLANES > 0\\\\n\\\\tvClipPosition = - mvPosition.xyz;\\\\n#endif\\\",color_fragment:\\\"#if defined( USE_COLOR_ALPHA )\\\\n\\\\tdiffuseColor *= vColor;\\\\n#elif defined( USE_COLOR )\\\\n\\\\tdiffuseColor.rgb *= vColor;\\\\n#endif\\\",color_pars_fragment:\\\"#if defined( USE_COLOR_ALPHA )\\\\n\\\\tvarying vec4 vColor;\\\\n#elif defined( USE_COLOR )\\\\n\\\\tvarying vec3 vColor;\\\\n#endif\\\",color_pars_vertex:\\\"#if defined( USE_COLOR_ALPHA )\\\\n\\\\tvarying vec4 vColor;\\\\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\\\\n\\\\tvarying vec3 vColor;\\\\n#endif\\\",color_vertex:\\\"#if defined( USE_COLOR_ALPHA )\\\\n\\\\tvColor = vec4( 1.0 );\\\\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\\\\n\\\\tvColor = vec3( 1.0 );\\\\n#endif\\\\n#ifdef USE_COLOR\\\\n\\\\tvColor *= color;\\\\n#endif\\\\n#ifdef USE_INSTANCING_COLOR\\\\n\\\\tvColor.xyz *= instanceColor.xyz;\\\\n#endif\\\",common:\\\"#define PI 3.141592653589793\\\\n#define PI2 6.283185307179586\\\\n#define PI_HALF 1.5707963267948966\\\\n#define RECIPROCAL_PI 0.3183098861837907\\\\n#define RECIPROCAL_PI2 0.15915494309189535\\\\n#define EPSILON 1e-6\\\\n#ifndef saturate\\\\n#define saturate( a ) clamp( a, 0.0, 1.0 )\\\\n#endif\\\\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\\\\nfloat pow2( const in float x ) { return x*x; }\\\\nvec3 pow2( const in vec3 x ) { return x*x; }\\\\nfloat pow3( const in float x ) { return x*x*x; }\\\\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\\\\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\\\\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\\\\nhighp float rand( const in vec2 uv ) {\\\\n\\\\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\\\\n\\\\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\\\\n\\\\treturn fract( sin( sn ) * c );\\\\n}\\\\n#ifdef HIGH_PRECISION\\\\n\\\\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\\\\n#else\\\\n\\\\tfloat precisionSafeLength( vec3 v ) {\\\\n\\\\t\\\\tfloat maxComponent = max3( abs( v ) );\\\\n\\\\t\\\\treturn length( v / maxComponent ) * maxComponent;\\\\n\\\\t}\\\\n#endif\\\\nstruct IncidentLight {\\\\n\\\\tvec3 color;\\\\n\\\\tvec3 direction;\\\\n\\\\tbool visible;\\\\n};\\\\nstruct ReflectedLight {\\\\n\\\\tvec3 directDiffuse;\\\\n\\\\tvec3 directSpecular;\\\\n\\\\tvec3 indirectDiffuse;\\\\n\\\\tvec3 indirectSpecular;\\\\n};\\\\nstruct GeometricContext {\\\\n\\\\tvec3 position;\\\\n\\\\tvec3 normal;\\\\n\\\\tvec3 viewDir;\\\\n#ifdef USE_CLEARCOAT\\\\n\\\\tvec3 clearcoatNormal;\\\\n#endif\\\\n};\\\\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\\\\n\\\\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\\\\n}\\\\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\\\\n\\\\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\\\\n}\\\\nmat3 transposeMat3( const in mat3 m ) {\\\\n\\\\tmat3 tmp;\\\\n\\\\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\\\\n\\\\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\\\\n\\\\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\\\\n\\\\treturn tmp;\\\\n}\\\\nfloat luminance( const in vec3 rgb ) {\\\\n\\\\tconst vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );\\\\n\\\\treturn dot( weights, rgb );\\\\n}\\\\nbool isPerspectiveMatrix( mat4 m ) {\\\\n\\\\treturn m[ 2 ][ 3 ] == - 1.0;\\\\n}\\\\nvec2 equirectUv( in vec3 dir ) {\\\\n\\\\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\\\\n\\\\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\\\\n\\\\treturn vec2( u, v );\\\\n}\\\",cube_uv_reflection_fragment:\\\"#ifdef ENVMAP_TYPE_CUBE_UV\\\\n\\\\t#define cubeUV_minMipLevel 4.0\\\\n\\\\t#define cubeUV_minTileSize 16.0\\\\n\\\\tfloat getFace( vec3 direction ) {\\\\n\\\\t\\\\tvec3 absDirection = abs( direction );\\\\n\\\\t\\\\tfloat face = - 1.0;\\\\n\\\\t\\\\tif ( absDirection.x > absDirection.z ) {\\\\n\\\\t\\\\t\\\\tif ( absDirection.x > absDirection.y )\\\\n\\\\t\\\\t\\\\t\\\\tface = direction.x > 0.0 ? 0.0 : 3.0;\\\\n\\\\t\\\\t\\\\telse\\\\n\\\\t\\\\t\\\\t\\\\tface = direction.y > 0.0 ? 1.0 : 4.0;\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tif ( absDirection.z > absDirection.y )\\\\n\\\\t\\\\t\\\\t\\\\tface = direction.z > 0.0 ? 2.0 : 5.0;\\\\n\\\\t\\\\t\\\\telse\\\\n\\\\t\\\\t\\\\t\\\\tface = direction.y > 0.0 ? 1.0 : 4.0;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn face;\\\\n\\\\t}\\\\n\\\\tvec2 getUV( vec3 direction, float face ) {\\\\n\\\\t\\\\tvec2 uv;\\\\n\\\\t\\\\tif ( face == 0.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\\\\n\\\\t\\\\t} else if ( face == 1.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\\\\n\\\\t\\\\t} else if ( face == 2.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\\\\n\\\\t\\\\t} else if ( face == 3.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\\\\n\\\\t\\\\t} else if ( face == 4.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn 0.5 * ( uv + 1.0 );\\\\n\\\\t}\\\\n\\\\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\\\\n\\\\t\\\\tfloat face = getFace( direction );\\\\n\\\\t\\\\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\\\\n\\\\t\\\\tmipInt = max( mipInt, cubeUV_minMipLevel );\\\\n\\\\t\\\\tfloat faceSize = exp2( mipInt );\\\\n\\\\t\\\\tvec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\\\\n\\\\t\\\\tif ( face > 2.0 ) {\\\\n\\\\t\\\\t\\\\tuv.y += faceSize;\\\\n\\\\t\\\\t\\\\tface -= 3.0;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tuv.x += face * faceSize;\\\\n\\\\t\\\\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\\\\n\\\\t\\\\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\\\\n\\\\t\\\\tuv.x *= CUBEUV_TEXEL_WIDTH;\\\\n\\\\t\\\\tuv.y *= CUBEUV_TEXEL_HEIGHT;\\\\n\\\\t\\\\t#ifdef texture2DGradEXT\\\\n\\\\t\\\\t\\\\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn texture2D( envMap, uv ).rgb;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#define r0 1.0\\\\n\\\\t#define v0 0.339\\\\n\\\\t#define m0 - 2.0\\\\n\\\\t#define r1 0.8\\\\n\\\\t#define v1 0.276\\\\n\\\\t#define m1 - 1.0\\\\n\\\\t#define r4 0.4\\\\n\\\\t#define v4 0.046\\\\n\\\\t#define m4 2.0\\\\n\\\\t#define r5 0.305\\\\n\\\\t#define v5 0.016\\\\n\\\\t#define m5 3.0\\\\n\\\\t#define r6 0.21\\\\n\\\\t#define v6 0.0038\\\\n\\\\t#define m6 4.0\\\\n\\\\tfloat roughnessToMip( float roughness ) {\\\\n\\\\t\\\\tfloat mip = 0.0;\\\\n\\\\t\\\\tif ( roughness >= r1 ) {\\\\n\\\\t\\\\t\\\\tmip = ( r0 - roughness ) * ( m1 - m0 ) / ( r0 - r1 ) + m0;\\\\n\\\\t\\\\t} else if ( roughness >= r4 ) {\\\\n\\\\t\\\\t\\\\tmip = ( r1 - roughness ) * ( m4 - m1 ) / ( r1 - r4 ) + m1;\\\\n\\\\t\\\\t} else if ( roughness >= r5 ) {\\\\n\\\\t\\\\t\\\\tmip = ( r4 - roughness ) * ( m5 - m4 ) / ( r4 - r5 ) + m4;\\\\n\\\\t\\\\t} else if ( roughness >= r6 ) {\\\\n\\\\t\\\\t\\\\tmip = ( r5 - roughness ) * ( m6 - m5 ) / ( r5 - r6 ) + m5;\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tmip = - 2.0 * log2( 1.16 * roughness );\\\\t\\\\t}\\\\n\\\\t\\\\treturn mip;\\\\n\\\\t}\\\\n\\\\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\\\\n\\\\t\\\\tfloat mip = clamp( roughnessToMip( roughness ), m0, CUBEUV_MAX_MIP );\\\\n\\\\t\\\\tfloat mipF = fract( mip );\\\\n\\\\t\\\\tfloat mipInt = floor( mip );\\\\n\\\\t\\\\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\\\\n\\\\t\\\\tif ( mipF == 0.0 ) {\\\\n\\\\t\\\\t\\\\treturn vec4( color0, 1.0 );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\\\\n\\\\t\\\\t\\\\treturn vec4( mix( color0, color1, mipF ), 1.0 );\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n#endif\\\",defaultnormal_vertex:\\\"vec3 transformedNormal = objectNormal;\\\\n#ifdef USE_INSTANCING\\\\n\\\\tmat3 m = mat3( instanceMatrix );\\\\n\\\\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\\\\n\\\\ttransformedNormal = m * transformedNormal;\\\\n#endif\\\\ntransformedNormal = normalMatrix * transformedNormal;\\\\n#ifdef FLIP_SIDED\\\\n\\\\ttransformedNormal = - transformedNormal;\\\\n#endif\\\\n#ifdef USE_TANGENT\\\\n\\\\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\\\\n\\\\t#ifdef FLIP_SIDED\\\\n\\\\t\\\\ttransformedTangent = - transformedTangent;\\\\n\\\\t#endif\\\\n#endif\\\",displacementmap_pars_vertex:\\\"#ifdef USE_DISPLACEMENTMAP\\\\n\\\\tuniform sampler2D displacementMap;\\\\n\\\\tuniform float displacementScale;\\\\n\\\\tuniform float displacementBias;\\\\n#endif\\\",displacementmap_vertex:\\\"#ifdef USE_DISPLACEMENTMAP\\\\n\\\\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias );\\\\n#endif\\\",emissivemap_fragment:\\\"#ifdef USE_EMISSIVEMAP\\\\n\\\\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\\\\n\\\\ttotalEmissiveRadiance *= emissiveColor.rgb;\\\\n#endif\\\",emissivemap_pars_fragment:\\\"#ifdef USE_EMISSIVEMAP\\\\n\\\\tuniform sampler2D emissiveMap;\\\\n#endif\\\",encodings_fragment:\\\"gl_FragColor = linearToOutputTexel( gl_FragColor );\\\",encodings_pars_fragment:\\\"vec4 LinearToLinear( in vec4 value ) {\\\\n\\\\treturn value;\\\\n}\\\\nvec4 LinearTosRGB( in vec4 value ) {\\\\n\\\\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\\\\n}\\\",envmap_fragment:\\\"#ifdef USE_ENVMAP\\\\n\\\\t#ifdef ENV_WORLDPOS\\\\n\\\\t\\\\tvec3 cameraToFrag;\\\\n\\\\t\\\\tif ( isOrthographic ) {\\\\n\\\\t\\\\t\\\\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\\\n\\\\t\\\\t#ifdef ENVMAP_MODE_REFLECTION\\\\n\\\\t\\\\t\\\\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\\\\n\\\\t\\\\t#endif\\\\n\\\\t#else\\\\n\\\\t\\\\tvec3 reflectVec = vReflect;\\\\n\\\\t#endif\\\\n\\\\t#ifdef ENVMAP_TYPE_CUBE\\\\n\\\\t\\\\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\\\\n\\\\t#elif defined( ENVMAP_TYPE_CUBE_UV )\\\\n\\\\t\\\\tvec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 );\\\\n\\\\t#else\\\\n\\\\t\\\\tvec4 envColor = vec4( 0.0 );\\\\n\\\\t#endif\\\\n\\\\t#ifdef ENVMAP_BLENDING_MULTIPLY\\\\n\\\\t\\\\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\\\\n\\\\t#elif defined( ENVMAP_BLENDING_MIX )\\\\n\\\\t\\\\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\\\\n\\\\t#elif defined( ENVMAP_BLENDING_ADD )\\\\n\\\\t\\\\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\\\\n\\\\t#endif\\\\n#endif\\\",envmap_common_pars_fragment:\\\"#ifdef USE_ENVMAP\\\\n\\\\tuniform float envMapIntensity;\\\\n\\\\tuniform float flipEnvMap;\\\\n\\\\t#ifdef ENVMAP_TYPE_CUBE\\\\n\\\\t\\\\tuniform samplerCube envMap;\\\\n\\\\t#else\\\\n\\\\t\\\\tuniform sampler2D envMap;\\\\n\\\\t#endif\\\\n\\\\t\\\\n#endif\\\",envmap_pars_fragment:\\\"#ifdef USE_ENVMAP\\\\n\\\\tuniform float reflectivity;\\\\n\\\\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\\\\n\\\\t\\\\t#define ENV_WORLDPOS\\\\n\\\\t#endif\\\\n\\\\t#ifdef ENV_WORLDPOS\\\\n\\\\t\\\\tvarying vec3 vWorldPosition;\\\\n\\\\t\\\\tuniform float refractionRatio;\\\\n\\\\t#else\\\\n\\\\t\\\\tvarying vec3 vReflect;\\\\n\\\\t#endif\\\\n#endif\\\",envmap_pars_vertex:\\\"#ifdef USE_ENVMAP\\\\n\\\\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG )\\\\n\\\\t\\\\t#define ENV_WORLDPOS\\\\n\\\\t#endif\\\\n\\\\t#ifdef ENV_WORLDPOS\\\\n\\\\t\\\\t\\\\n\\\\t\\\\tvarying vec3 vWorldPosition;\\\\n\\\\t#else\\\\n\\\\t\\\\tvarying vec3 vReflect;\\\\n\\\\t\\\\tuniform float refractionRatio;\\\\n\\\\t#endif\\\\n#endif\\\",envmap_physical_pars_fragment:\\\"#if defined( USE_ENVMAP )\\\\n\\\\tvec3 getIBLIrradiance( const in vec3 normal ) {\\\\n\\\\t\\\\t#if defined( ENVMAP_TYPE_CUBE_UV )\\\\n\\\\t\\\\t\\\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\\\n\\\\t\\\\t\\\\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\\\\n\\\\t\\\\t\\\\treturn PI * envMapColor.rgb * envMapIntensity;\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn vec3( 0.0 );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\\\\n\\\\t\\\\t#if defined( ENVMAP_TYPE_CUBE_UV )\\\\n\\\\t\\\\t\\\\tvec3 reflectVec = reflect( - viewDir, normal );\\\\n\\\\t\\\\t\\\\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\\\\n\\\\t\\\\t\\\\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\\\\n\\\\t\\\\t\\\\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\\\\n\\\\t\\\\t\\\\treturn envMapColor.rgb * envMapIntensity;\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn vec3( 0.0 );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n#endif\\\",envmap_vertex:\\\"#ifdef USE_ENVMAP\\\\n\\\\t#ifdef ENV_WORLDPOS\\\\n\\\\t\\\\tvWorldPosition = worldPosition.xyz;\\\\n\\\\t#else\\\\n\\\\t\\\\tvec3 cameraToVertex;\\\\n\\\\t\\\\tif ( isOrthographic ) {\\\\n\\\\t\\\\t\\\\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\\\\n\\\\t\\\\t#ifdef ENVMAP_MODE_REFLECTION\\\\n\\\\t\\\\t\\\\tvReflect = reflect( cameraToVertex, worldNormal );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\\\\n\\\\t\\\\t#endif\\\\n\\\\t#endif\\\\n#endif\\\",fog_vertex:\\\"#ifdef USE_FOG\\\\n\\\\tvFogDepth = - mvPosition.z;\\\\n#endif\\\",fog_pars_vertex:\\\"#ifdef USE_FOG\\\\n\\\\tvarying float vFogDepth;\\\\n#endif\\\",fog_fragment:\\\"#ifdef USE_FOG\\\\n\\\\t#ifdef FOG_EXP2\\\\n\\\\t\\\\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\\\\n\\\\t#else\\\\n\\\\t\\\\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\\\\n\\\\t#endif\\\\n\\\\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\\\\n#endif\\\",fog_pars_fragment:\\\"#ifdef USE_FOG\\\\n\\\\tuniform vec3 fogColor;\\\\n\\\\tvarying float vFogDepth;\\\\n\\\\t#ifdef FOG_EXP2\\\\n\\\\t\\\\tuniform float fogDensity;\\\\n\\\\t#else\\\\n\\\\t\\\\tuniform float fogNear;\\\\n\\\\t\\\\tuniform float fogFar;\\\\n\\\\t#endif\\\\n#endif\\\",gradientmap_pars_fragment:\\\"#ifdef USE_GRADIENTMAP\\\\n\\\\tuniform sampler2D gradientMap;\\\\n#endif\\\\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\\\\n\\\\tfloat dotNL = dot( normal, lightDirection );\\\\n\\\\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\\\\n\\\\t#ifdef USE_GRADIENTMAP\\\\n\\\\t\\\\treturn vec3( texture2D( gradientMap, coord ).r );\\\\n\\\\t#else\\\\n\\\\t\\\\treturn ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\\\\n\\\\t#endif\\\\n}\\\",lightmap_fragment:\\\"#ifdef USE_LIGHTMAP\\\\n\\\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\\\n\\\\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\\\\n\\\\treflectedLight.indirectDiffuse += lightMapIrradiance;\\\\n#endif\\\",lightmap_pars_fragment:\\\"#ifdef USE_LIGHTMAP\\\\n\\\\tuniform sampler2D lightMap;\\\\n\\\\tuniform float lightMapIntensity;\\\\n#endif\\\",lights_lambert_vertex:\\\"vec3 diffuse = vec3( 1.0 );\\\\nGeometricContext geometry;\\\\ngeometry.position = mvPosition.xyz;\\\\ngeometry.normal = normalize( transformedNormal );\\\\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );\\\\nGeometricContext backGeometry;\\\\nbackGeometry.position = geometry.position;\\\\nbackGeometry.normal = -geometry.normal;\\\\nbackGeometry.viewDir = geometry.viewDir;\\\\nvLightFront = vec3( 0.0 );\\\\nvIndirectFront = vec3( 0.0 );\\\\n#ifdef DOUBLE_SIDED\\\\n\\\\tvLightBack = vec3( 0.0 );\\\\n\\\\tvIndirectBack = vec3( 0.0 );\\\\n#endif\\\\nIncidentLight directLight;\\\\nfloat dotNL;\\\\nvec3 directLightColor_Diffuse;\\\\nvIndirectFront += getAmbientLightIrradiance( ambientLightColor );\\\\nvIndirectFront += getLightProbeIrradiance( lightProbe, geometry.normal );\\\\n#ifdef DOUBLE_SIDED\\\\n\\\\tvIndirectBack += getAmbientLightIrradiance( ambientLightColor );\\\\n\\\\tvIndirectBack += getLightProbeIrradiance( lightProbe, backGeometry.normal );\\\\n#endif\\\\n#if NUM_POINT_LIGHTS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tgetPointLightInfo( pointLights[ i ], geometry, directLight );\\\\n\\\\t\\\\tdotNL = dot( geometry.normal, directLight.direction );\\\\n\\\\t\\\\tdirectLightColor_Diffuse = directLight.color;\\\\n\\\\t\\\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if NUM_SPOT_LIGHTS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tgetSpotLightInfo( spotLights[ i ], geometry, directLight );\\\\n\\\\t\\\\tdotNL = dot( geometry.normal, directLight.direction );\\\\n\\\\t\\\\tdirectLightColor_Diffuse = directLight.color;\\\\n\\\\t\\\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if NUM_DIR_LIGHTS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tgetDirectionalLightInfo( directionalLights[ i ], geometry, directLight );\\\\n\\\\t\\\\tdotNL = dot( geometry.normal, directLight.direction );\\\\n\\\\t\\\\tdirectLightColor_Diffuse = directLight.color;\\\\n\\\\t\\\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if NUM_HEMI_LIGHTS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tvIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\tvIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry.normal );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\",lights_pars_begin:\\\"uniform bool receiveShadow;\\\\nuniform vec3 ambientLightColor;\\\\nuniform vec3 lightProbe[ 9 ];\\\\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\\\\n\\\\tfloat x = normal.x, y = normal.y, z = normal.z;\\\\n\\\\tvec3 result = shCoefficients[ 0 ] * 0.886227;\\\\n\\\\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\\\\n\\\\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\\\\n\\\\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\\\\n\\\\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\\\\n\\\\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\\\\n\\\\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\\\\n\\\\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\\\\n\\\\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\\\\n\\\\treturn result;\\\\n}\\\\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\\\\n\\\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\\\n\\\\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\\\\n\\\\treturn irradiance;\\\\n}\\\\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\\\\n\\\\tvec3 irradiance = ambientLightColor;\\\\n\\\\treturn irradiance;\\\\n}\\\\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\\\\n\\\\t#if defined ( PHYSICALLY_CORRECT_LIGHTS )\\\\n\\\\t\\\\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\\\\n\\\\t\\\\tif ( cutoffDistance > 0.0 ) {\\\\n\\\\t\\\\t\\\\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn distanceFalloff;\\\\n\\\\t#else\\\\n\\\\t\\\\tif ( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\\\\n\\\\t\\\\t\\\\treturn pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn 1.0;\\\\n\\\\t#endif\\\\n}\\\\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\\\\n\\\\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\\\\n}\\\\n#if NUM_DIR_LIGHTS > 0\\\\n\\\\tstruct DirectionalLight {\\\\n\\\\t\\\\tvec3 direction;\\\\n\\\\t\\\\tvec3 color;\\\\n\\\\t};\\\\n\\\\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\\\\n\\\\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) {\\\\n\\\\t\\\\tlight.color = directionalLight.color;\\\\n\\\\t\\\\tlight.direction = directionalLight.direction;\\\\n\\\\t\\\\tlight.visible = true;\\\\n\\\\t}\\\\n#endif\\\\n#if NUM_POINT_LIGHTS > 0\\\\n\\\\tstruct PointLight {\\\\n\\\\t\\\\tvec3 position;\\\\n\\\\t\\\\tvec3 color;\\\\n\\\\t\\\\tfloat distance;\\\\n\\\\t\\\\tfloat decay;\\\\n\\\\t};\\\\n\\\\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\\\\n\\\\tvoid getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) {\\\\n\\\\t\\\\tvec3 lVector = pointLight.position - geometry.position;\\\\n\\\\t\\\\tlight.direction = normalize( lVector );\\\\n\\\\t\\\\tfloat lightDistance = length( lVector );\\\\n\\\\t\\\\tlight.color = pointLight.color;\\\\n\\\\t\\\\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\\\\n\\\\t\\\\tlight.visible = ( light.color != vec3( 0.0 ) );\\\\n\\\\t}\\\\n#endif\\\\n#if NUM_SPOT_LIGHTS > 0\\\\n\\\\tstruct SpotLight {\\\\n\\\\t\\\\tvec3 position;\\\\n\\\\t\\\\tvec3 direction;\\\\n\\\\t\\\\tvec3 color;\\\\n\\\\t\\\\tfloat distance;\\\\n\\\\t\\\\tfloat decay;\\\\n\\\\t\\\\tfloat coneCos;\\\\n\\\\t\\\\tfloat penumbraCos;\\\\n\\\\t};\\\\n\\\\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\\\\n\\\\tvoid getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) {\\\\n\\\\t\\\\tvec3 lVector = spotLight.position - geometry.position;\\\\n\\\\t\\\\tlight.direction = normalize( lVector );\\\\n\\\\t\\\\tfloat angleCos = dot( light.direction, spotLight.direction );\\\\n\\\\t\\\\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\\\\n\\\\t\\\\tif ( spotAttenuation > 0.0 ) {\\\\n\\\\t\\\\t\\\\tfloat lightDistance = length( lVector );\\\\n\\\\t\\\\t\\\\tlight.color = spotLight.color * spotAttenuation;\\\\n\\\\t\\\\t\\\\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\\\\n\\\\t\\\\t\\\\tlight.visible = ( light.color != vec3( 0.0 ) );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tlight.color = vec3( 0.0 );\\\\n\\\\t\\\\t\\\\tlight.visible = false;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n#endif\\\\n#if NUM_RECT_AREA_LIGHTS > 0\\\\n\\\\tstruct RectAreaLight {\\\\n\\\\t\\\\tvec3 color;\\\\n\\\\t\\\\tvec3 position;\\\\n\\\\t\\\\tvec3 halfWidth;\\\\n\\\\t\\\\tvec3 halfHeight;\\\\n\\\\t};\\\\n\\\\tuniform sampler2D ltc_1;\\\\tuniform sampler2D ltc_2;\\\\n\\\\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\\\\n#endif\\\\n#if NUM_HEMI_LIGHTS > 0\\\\n\\\\tstruct HemisphereLight {\\\\n\\\\t\\\\tvec3 direction;\\\\n\\\\t\\\\tvec3 skyColor;\\\\n\\\\t\\\\tvec3 groundColor;\\\\n\\\\t};\\\\n\\\\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\\\\n\\\\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\\\\n\\\\t\\\\tfloat dotNL = dot( normal, hemiLight.direction );\\\\n\\\\t\\\\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\\\\n\\\\t\\\\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\\\\n\\\\t\\\\treturn irradiance;\\\\n\\\\t}\\\\n#endif\\\",lights_toon_fragment:\\\"ToonMaterial material;\\\\nmaterial.diffuseColor = diffuseColor.rgb;\\\",lights_toon_pars_fragment:\\\"varying vec3 vViewPosition;\\\\nstruct ToonMaterial {\\\\n\\\\tvec3 diffuseColor;\\\\n};\\\\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\\\\n\\\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\n#define RE_Direct\\\\t\\\\t\\\\t\\\\tRE_Direct_Toon\\\\n#define RE_IndirectDiffuse\\\\t\\\\tRE_IndirectDiffuse_Toon\\\\n#define Material_LightProbeLOD( material )\\\\t(0)\\\",lights_phong_fragment:\\\"BlinnPhongMaterial material;\\\\nmaterial.diffuseColor = diffuseColor.rgb;\\\\nmaterial.specularColor = specular;\\\\nmaterial.specularShininess = shininess;\\\\nmaterial.specularStrength = specularStrength;\\\",lights_phong_pars_fragment:\\\"varying vec3 vViewPosition;\\\\nstruct BlinnPhongMaterial {\\\\n\\\\tvec3 diffuseColor;\\\\n\\\\tvec3 specularColor;\\\\n\\\\tfloat specularShininess;\\\\n\\\\tfloat specularStrength;\\\\n};\\\\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\\\\n\\\\tvec3 irradiance = dotNL * directLight.color;\\\\n\\\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n\\\\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\\\\n}\\\\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\n#define RE_Direct\\\\t\\\\t\\\\t\\\\tRE_Direct_BlinnPhong\\\\n#define RE_IndirectDiffuse\\\\t\\\\tRE_IndirectDiffuse_BlinnPhong\\\\n#define Material_LightProbeLOD( material )\\\\t(0)\\\",lights_physical_fragment:\\\"PhysicalMaterial material;\\\\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\\\\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\\\\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\\\\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\\\\nmaterial.roughness = min( material.roughness, 1.0 );\\\\n#ifdef IOR\\\\n\\\\t#ifdef SPECULAR\\\\n\\\\t\\\\tfloat specularIntensityFactor = specularIntensity;\\\\n\\\\t\\\\tvec3 specularColorFactor = specularColor;\\\\n\\\\t\\\\t#ifdef USE_SPECULARINTENSITYMAP\\\\n\\\\t\\\\t\\\\tspecularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\t#ifdef USE_SPECULARCOLORMAP\\\\n\\\\t\\\\t\\\\tspecularColorFactor *= texture2D( specularColorMap, vUv ).rgb;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\\\\n\\\\t#else\\\\n\\\\t\\\\tfloat specularIntensityFactor = 1.0;\\\\n\\\\t\\\\tvec3 specularColorFactor = vec3( 1.0 );\\\\n\\\\t\\\\tmaterial.specularF90 = 1.0;\\\\n\\\\t#endif\\\\n\\\\tmaterial.specularColor = mix( min( pow2( ( ior - 1.0 ) / ( ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\\\\n#else\\\\n\\\\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\\\\n\\\\tmaterial.specularF90 = 1.0;\\\\n#endif\\\\n#ifdef USE_CLEARCOAT\\\\n\\\\tmaterial.clearcoat = clearcoat;\\\\n\\\\tmaterial.clearcoatRoughness = clearcoatRoughness;\\\\n\\\\tmaterial.clearcoatF0 = vec3( 0.04 );\\\\n\\\\tmaterial.clearcoatF90 = 1.0;\\\\n\\\\t#ifdef USE_CLEARCOATMAP\\\\n\\\\t\\\\tmaterial.clearcoat *= texture2D( clearcoatMap, vUv ).x;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\\\\n\\\\t\\\\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y;\\\\n\\\\t#endif\\\\n\\\\tmaterial.clearcoat = saturate( material.clearcoat );\\\\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\\\\n\\\\tmaterial.clearcoatRoughness += geometryRoughness;\\\\n\\\\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\\\\n#endif\\\\n#ifdef USE_IRIDESCENCE\\\\n\\\\tmaterial.iridescence = iridescence;\\\\n\\\\tmaterial.iridescenceIOR = iridescenceIOR;\\\\n\\\\t#ifdef USE_IRIDESCENCEMAP\\\\n\\\\t\\\\tmaterial.iridescence *= texture2D( iridescenceMap, vUv ).r;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\\\\n\\\\t\\\\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum;\\\\n\\\\t#else\\\\n\\\\t\\\\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\\\\n\\\\t#endif\\\\n#endif\\\\n#ifdef USE_SHEEN\\\\n\\\\tmaterial.sheenColor = sheenColor;\\\\n\\\\t#ifdef USE_SHEENCOLORMAP\\\\n\\\\t\\\\tmaterial.sheenColor *= texture2D( sheenColorMap, vUv ).rgb;\\\\n\\\\t#endif\\\\n\\\\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\\\\n\\\\t#ifdef USE_SHEENROUGHNESSMAP\\\\n\\\\t\\\\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a;\\\\n\\\\t#endif\\\\n#endif\\\",lights_physical_pars_fragment:\\\"struct PhysicalMaterial {\\\\n\\\\tvec3 diffuseColor;\\\\n\\\\tfloat roughness;\\\\n\\\\tvec3 specularColor;\\\\n\\\\tfloat specularF90;\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tfloat clearcoat;\\\\n\\\\t\\\\tfloat clearcoatRoughness;\\\\n\\\\t\\\\tvec3 clearcoatF0;\\\\n\\\\t\\\\tfloat clearcoatF90;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_IRIDESCENCE\\\\n\\\\t\\\\tfloat iridescence;\\\\n\\\\t\\\\tfloat iridescenceIOR;\\\\n\\\\t\\\\tfloat iridescenceThickness;\\\\n\\\\t\\\\tvec3 iridescenceFresnel;\\\\n\\\\t\\\\tvec3 iridescenceF0;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SHEEN\\\\n\\\\t\\\\tvec3 sheenColor;\\\\n\\\\t\\\\tfloat sheenRoughness;\\\\n\\\\t#endif\\\\n};\\\\nvec3 clearcoatSpecular = vec3( 0.0 );\\\\nvec3 sheenSpecular = vec3( 0.0 );\\\\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness) {\\\\n\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\tfloat r2 = roughness * roughness;\\\\n\\\\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\\\\n\\\\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\\\\n\\\\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\\\\n\\\\treturn saturate( DG * RECIPROCAL_PI );\\\\n}\\\\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\\\\n\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\\\\n\\\\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\\\\n\\\\tvec4 r = roughness * c0 + c1;\\\\n\\\\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\\\\n\\\\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\\\\n\\\\treturn fab;\\\\n}\\\\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\\\\n\\\\tvec2 fab = DFGApprox( normal, viewDir, roughness );\\\\n\\\\treturn specularColor * fab.x + specularF90 * fab.y;\\\\n}\\\\n#ifdef USE_IRIDESCENCE\\\\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\\\\n#else\\\\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\\\\n#endif\\\\n\\\\tvec2 fab = DFGApprox( normal, viewDir, roughness );\\\\n\\\\t#ifdef USE_IRIDESCENCE\\\\n\\\\t\\\\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\\\\n\\\\t#else\\\\n\\\\t\\\\tvec3 Fr = specularColor;\\\\n\\\\t#endif\\\\n\\\\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\\\\n\\\\tfloat Ess = fab.x + fab.y;\\\\n\\\\tfloat Ems = 1.0 - Ess;\\\\n\\\\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\\\\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\\\\n\\\\tsingleScatter += FssEss;\\\\n\\\\tmultiScatter += Fms * Ems;\\\\n}\\\\n#if NUM_RECT_AREA_LIGHTS > 0\\\\n\\\\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\t\\\\tvec3 normal = geometry.normal;\\\\n\\\\t\\\\tvec3 viewDir = geometry.viewDir;\\\\n\\\\t\\\\tvec3 position = geometry.position;\\\\n\\\\t\\\\tvec3 lightPos = rectAreaLight.position;\\\\n\\\\t\\\\tvec3 halfWidth = rectAreaLight.halfWidth;\\\\n\\\\t\\\\tvec3 halfHeight = rectAreaLight.halfHeight;\\\\n\\\\t\\\\tvec3 lightColor = rectAreaLight.color;\\\\n\\\\t\\\\tfloat roughness = material.roughness;\\\\n\\\\t\\\\tvec3 rectCoords[ 4 ];\\\\n\\\\t\\\\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\\\\t\\\\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\\\\n\\\\t\\\\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\\\\n\\\\t\\\\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\\\\n\\\\t\\\\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\\\\n\\\\t\\\\tvec4 t1 = texture2D( ltc_1, uv );\\\\n\\\\t\\\\tvec4 t2 = texture2D( ltc_2, uv );\\\\n\\\\t\\\\tmat3 mInv = mat3(\\\\n\\\\t\\\\t\\\\tvec3( t1.x, 0, t1.y ),\\\\n\\\\t\\\\t\\\\tvec3(\\\\t\\\\t0, 1,\\\\t\\\\t0 ),\\\\n\\\\t\\\\t\\\\tvec3( t1.z, 0, t1.w )\\\\n\\\\t\\\\t);\\\\n\\\\t\\\\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\\\\n\\\\t\\\\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\\\\n\\\\t\\\\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\\\\n\\\\t}\\\\n#endif\\\\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\\\\n\\\\tvec3 irradiance = dotNL * directLight.color;\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tfloat dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\\\\n\\\\t\\\\tvec3 ccIrradiance = dotNLcc * directLight.color;\\\\n\\\\t\\\\tclearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SHEEN\\\\n\\\\t\\\\tsheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness );\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_IRIDESCENCE\\\\n\\\\t\\\\treflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness );\\\\n\\\\t#else\\\\n\\\\t\\\\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness );\\\\n\\\\t#endif\\\\n\\\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tclearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SHEEN\\\\n\\\\t\\\\tsheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness );\\\\n\\\\t#endif\\\\n\\\\tvec3 singleScattering = vec3( 0.0 );\\\\n\\\\tvec3 multiScattering = vec3( 0.0 );\\\\n\\\\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\\\\n\\\\t#ifdef USE_IRIDESCENCE\\\\n\\\\t\\\\tcomputeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\\\\n\\\\t#else\\\\n\\\\t\\\\tcomputeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\\\\n\\\\t#endif\\\\n\\\\tvec3 totalScattering = singleScattering + multiScattering;\\\\n\\\\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\\\\n\\\\treflectedLight.indirectSpecular += radiance * singleScattering;\\\\n\\\\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\\\\n\\\\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\\\\n}\\\\n#define RE_Direct\\\\t\\\\t\\\\t\\\\tRE_Direct_Physical\\\\n#define RE_Direct_RectArea\\\\t\\\\tRE_Direct_RectArea_Physical\\\\n#define RE_IndirectDiffuse\\\\t\\\\tRE_IndirectDiffuse_Physical\\\\n#define RE_IndirectSpecular\\\\t\\\\tRE_IndirectSpecular_Physical\\\\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\\\\n\\\\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\\\\n}\\\",lights_fragment_begin:\\\"\\\\nGeometricContext geometry;\\\\ngeometry.position = - vViewPosition;\\\\ngeometry.normal = normal;\\\\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\\\\n#ifdef USE_CLEARCOAT\\\\n\\\\tgeometry.clearcoatNormal = clearcoatNormal;\\\\n#endif\\\\n#ifdef USE_IRIDESCENCE\\\\n\\\\tfloat dotNVi = saturate( dot( normal, geometry.viewDir ) );\\\\n\\\\tif ( material.iridescenceThickness == 0.0 ) {\\\\n\\\\t\\\\tmaterial.iridescence = 0.0;\\\\n\\\\t} else {\\\\n\\\\t\\\\tmaterial.iridescence = saturate( material.iridescence );\\\\n\\\\t}\\\\n\\\\tif ( material.iridescence > 0.0 ) {\\\\n\\\\t\\\\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\\\\n\\\\t\\\\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\\\\n\\\\t}\\\\n#endif\\\\nIncidentLight directLight;\\\\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\\\\n\\\\tPointLight pointLight;\\\\n\\\\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\tPointLightShadow pointLightShadow;\\\\n\\\\t#endif\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tpointLight = pointLights[ i ];\\\\n\\\\t\\\\tgetPointLightInfo( pointLight, geometry, directLight );\\\\n\\\\t\\\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\\\\n\\\\t\\\\tpointLightShadow = pointLightShadows[ i ];\\\\n\\\\t\\\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\tRE_Direct( directLight, geometry, material, reflectedLight );\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\\\\n\\\\tSpotLight spotLight;\\\\n\\\\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\tSpotLightShadow spotLightShadow;\\\\n\\\\t#endif\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tspotLight = spotLights[ i ];\\\\n\\\\t\\\\tgetSpotLightInfo( spotLight, geometry, directLight );\\\\n\\\\t\\\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\\\\n\\\\t\\\\tspotLightShadow = spotLightShadows[ i ];\\\\n\\\\t\\\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\tRE_Direct( directLight, geometry, material, reflectedLight );\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\\\\n\\\\tDirectionalLight directionalLight;\\\\n\\\\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\tDirectionalLightShadow directionalLightShadow;\\\\n\\\\t#endif\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tdirectionalLight = directionalLights[ i ];\\\\n\\\\t\\\\tgetDirectionalLightInfo( directionalLight, geometry, directLight );\\\\n\\\\t\\\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\\\\n\\\\t\\\\tdirectionalLightShadow = directionalLightShadows[ i ];\\\\n\\\\t\\\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\tRE_Direct( directLight, geometry, material, reflectedLight );\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\\\\n\\\\tRectAreaLight rectAreaLight;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\\\\n\\\\t\\\\trectAreaLight = rectAreaLights[ i ];\\\\n\\\\t\\\\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if defined( RE_IndirectDiffuse )\\\\n\\\\tvec3 iblIrradiance = vec3( 0.0 );\\\\n\\\\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\\\\n\\\\tirradiance += getLightProbeIrradiance( lightProbe, geometry.normal );\\\\n\\\\t#if ( NUM_HEMI_LIGHTS > 0 )\\\\n\\\\t\\\\t#pragma unroll_loop_start\\\\n\\\\t\\\\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\\\\n\\\\t\\\\t\\\\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n#endif\\\\n#if defined( RE_IndirectSpecular )\\\\n\\\\tvec3 radiance = vec3( 0.0 );\\\\n\\\\tvec3 clearcoatRadiance = vec3( 0.0 );\\\\n#endif\\\",lights_fragment_maps:\\\"#if defined( RE_IndirectDiffuse )\\\\n\\\\t#ifdef USE_LIGHTMAP\\\\n\\\\t\\\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\\\n\\\\t\\\\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\\\\n\\\\t\\\\tirradiance += lightMapIrradiance;\\\\n\\\\t#endif\\\\n\\\\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\\\\n\\\\t\\\\tiblIrradiance += getIBLIrradiance( geometry.normal );\\\\n\\\\t#endif\\\\n#endif\\\\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\\\\n\\\\tradiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness );\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tclearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness );\\\\n\\\\t#endif\\\\n#endif\\\",lights_fragment_end:\\\"#if defined( RE_IndirectDiffuse )\\\\n\\\\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\\\\n#endif\\\\n#if defined( RE_IndirectSpecular )\\\\n\\\\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\\\\n#endif\\\",logdepthbuf_fragment:\\\"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\\\\n\\\\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\\\\n#endif\\\",logdepthbuf_pars_fragment:\\\"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\\\\n\\\\tuniform float logDepthBufFC;\\\\n\\\\tvarying float vFragDepth;\\\\n\\\\tvarying float vIsPerspective;\\\\n#endif\\\",logdepthbuf_pars_vertex:\\\"#ifdef USE_LOGDEPTHBUF\\\\n\\\\t#ifdef USE_LOGDEPTHBUF_EXT\\\\n\\\\t\\\\tvarying float vFragDepth;\\\\n\\\\t\\\\tvarying float vIsPerspective;\\\\n\\\\t#else\\\\n\\\\t\\\\tuniform float logDepthBufFC;\\\\n\\\\t#endif\\\\n#endif\\\",logdepthbuf_vertex:\\\"#ifdef USE_LOGDEPTHBUF\\\\n\\\\t#ifdef USE_LOGDEPTHBUF_EXT\\\\n\\\\t\\\\tvFragDepth = 1.0 + gl_Position.w;\\\\n\\\\t\\\\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\\\\n\\\\t#else\\\\n\\\\t\\\\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\\\\n\\\\t\\\\t\\\\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\\\\n\\\\t\\\\t\\\\tgl_Position.z *= gl_Position.w;\\\\n\\\\t\\\\t}\\\\n\\\\t#endif\\\\n#endif\\\",map_fragment:\\\"#ifdef USE_MAP\\\\n\\\\tvec4 sampledDiffuseColor = texture2D( map, vUv );\\\\n\\\\t#ifdef DECODE_VIDEO_TEXTURE\\\\n\\\\t\\\\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\\\\n\\\\t#endif\\\\n\\\\tdiffuseColor *= sampledDiffuseColor;\\\\n#endif\\\",map_pars_fragment:\\\"#ifdef USE_MAP\\\\n\\\\tuniform sampler2D map;\\\\n#endif\\\",map_particle_fragment:\\\"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\\\\n\\\\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\\\\n#endif\\\\n#ifdef USE_MAP\\\\n\\\\tdiffuseColor *= texture2D( map, uv );\\\\n#endif\\\\n#ifdef USE_ALPHAMAP\\\\n\\\\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\\\\n#endif\\\",map_particle_pars_fragment:\\\"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\\\\n\\\\tuniform mat3 uvTransform;\\\\n#endif\\\\n#ifdef USE_MAP\\\\n\\\\tuniform sampler2D map;\\\\n#endif\\\\n#ifdef USE_ALPHAMAP\\\\n\\\\tuniform sampler2D alphaMap;\\\\n#endif\\\",metalnessmap_fragment:\\\"float metalnessFactor = metalness;\\\\n#ifdef USE_METALNESSMAP\\\\n\\\\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\\\\n\\\\tmetalnessFactor *= texelMetalness.b;\\\\n#endif\\\",metalnessmap_pars_fragment:\\\"#ifdef USE_METALNESSMAP\\\\n\\\\tuniform sampler2D metalnessMap;\\\\n#endif\\\",morphcolor_vertex:\\\"#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )\\\\n\\\\tvColor *= morphTargetBaseInfluence;\\\\n\\\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\\\n\\\\t\\\\t#if defined( USE_COLOR_ALPHA )\\\\n\\\\t\\\\t\\\\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\\\\n\\\\t\\\\t#elif defined( USE_COLOR )\\\\n\\\\t\\\\t\\\\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n#endif\\\",morphnormal_vertex:\\\"#ifdef USE_MORPHNORMALS\\\\n\\\\tobjectNormal *= morphTargetBaseInfluence;\\\\n\\\\t#ifdef MORPHTARGETS_TEXTURE\\\\n\\\\t\\\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\\\n\\\\t\\\\t\\\\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\\\\n\\\\t\\\\t}\\\\n\\\\t#else\\\\n\\\\t\\\\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\\\\n\\\\t\\\\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\\\\n\\\\t\\\\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\\\\n\\\\t\\\\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\\\\n\\\\t#endif\\\\n#endif\\\",morphtarget_pars_vertex:\\\"#ifdef USE_MORPHTARGETS\\\\n\\\\tuniform float morphTargetBaseInfluence;\\\\n\\\\t#ifdef MORPHTARGETS_TEXTURE\\\\n\\\\t\\\\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\\\\n\\\\t\\\\tuniform sampler2DArray morphTargetsTexture;\\\\n\\\\t\\\\tuniform ivec2 morphTargetsTextureSize;\\\\n\\\\t\\\\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\\\\n\\\\t\\\\t\\\\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\\\\n\\\\t\\\\t\\\\tint y = texelIndex / morphTargetsTextureSize.x;\\\\n\\\\t\\\\t\\\\tint x = texelIndex - y * morphTargetsTextureSize.x;\\\\n\\\\t\\\\t\\\\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\\\\n\\\\t\\\\t\\\\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\\\\n\\\\t\\\\t}\\\\n\\\\t#else\\\\n\\\\t\\\\t#ifndef USE_MORPHNORMALS\\\\n\\\\t\\\\t\\\\tuniform float morphTargetInfluences[ 8 ];\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tuniform float morphTargetInfluences[ 4 ];\\\\n\\\\t\\\\t#endif\\\\n\\\\t#endif\\\\n#endif\\\",morphtarget_vertex:\\\"#ifdef USE_MORPHTARGETS\\\\n\\\\ttransformed *= morphTargetBaseInfluence;\\\\n\\\\t#ifdef MORPHTARGETS_TEXTURE\\\\n\\\\t\\\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\\\n\\\\t\\\\t\\\\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\\\\n\\\\t\\\\t}\\\\n\\\\t#else\\\\n\\\\t\\\\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\\\\n\\\\t\\\\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\\\\n\\\\t\\\\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\\\\n\\\\t\\\\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\\\\n\\\\t\\\\t#ifndef USE_MORPHNORMALS\\\\n\\\\t\\\\t\\\\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\\\\n\\\\t\\\\t\\\\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\\\\n\\\\t\\\\t\\\\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\\\\n\\\\t\\\\t\\\\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\\\\n\\\\t\\\\t#endif\\\\n\\\\t#endif\\\\n#endif\\\",normal_fragment_begin:\\\"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\\\\n#ifdef FLAT_SHADED\\\\n\\\\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\\\\n\\\\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\\\\n\\\\tvec3 normal = normalize( cross( fdx, fdy ) );\\\\n#else\\\\n\\\\tvec3 normal = normalize( vNormal );\\\\n\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\tnormal = normal * faceDirection;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tvec3 tangent = normalize( vTangent );\\\\n\\\\t\\\\tvec3 bitangent = normalize( vBitangent );\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\ttangent = tangent * faceDirection;\\\\n\\\\t\\\\t\\\\tbitangent = bitangent * faceDirection;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\\\\n\\\\t\\\\t\\\\tmat3 vTBN = mat3( tangent, bitangent, normal );\\\\n\\\\t\\\\t#endif\\\\n\\\\t#endif\\\\n#endif\\\\nvec3 geometryNormal = normal;\\\",normal_fragment_maps:\\\"#ifdef OBJECTSPACE_NORMALMAP\\\\n\\\\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\\\\n\\\\t#ifdef FLIP_SIDED\\\\n\\\\t\\\\tnormal = - normal;\\\\n\\\\t#endif\\\\n\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\tnormal = normal * faceDirection;\\\\n\\\\t#endif\\\\n\\\\tnormal = normalize( normalMatrix * normal );\\\\n#elif defined( TANGENTSPACE_NORMALMAP )\\\\n\\\\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\\\\n\\\\tmapN.xy *= normalScale;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tnormal = normalize( vTBN * mapN );\\\\n\\\\t#else\\\\n\\\\t\\\\tnormal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection );\\\\n\\\\t#endif\\\\n#elif defined( USE_BUMPMAP )\\\\n\\\\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\\\\n#endif\\\",normal_pars_fragment:\\\"#ifndef FLAT_SHADED\\\\n\\\\tvarying vec3 vNormal;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tvarying vec3 vTangent;\\\\n\\\\t\\\\tvarying vec3 vBitangent;\\\\n\\\\t#endif\\\\n#endif\\\",normal_pars_vertex:\\\"#ifndef FLAT_SHADED\\\\n\\\\tvarying vec3 vNormal;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tvarying vec3 vTangent;\\\\n\\\\t\\\\tvarying vec3 vBitangent;\\\\n\\\\t#endif\\\\n#endif\\\",normal_vertex:\\\"#ifndef FLAT_SHADED\\\\n\\\\tvNormal = normalize( transformedNormal );\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tvTangent = normalize( transformedTangent );\\\\n\\\\t\\\\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\\\\n\\\\t#endif\\\\n#endif\\\",normalmap_pars_fragment:\\\"#ifdef USE_NORMALMAP\\\\n\\\\tuniform sampler2D normalMap;\\\\n\\\\tuniform vec2 normalScale;\\\\n#endif\\\\n#ifdef OBJECTSPACE_NORMALMAP\\\\n\\\\tuniform mat3 normalMatrix;\\\\n#endif\\\\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\\\\n\\\\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) {\\\\n\\\\t\\\\tvec3 q0 = dFdx( eye_pos.xyz );\\\\n\\\\t\\\\tvec3 q1 = dFdy( eye_pos.xyz );\\\\n\\\\t\\\\tvec2 st0 = dFdx( vUv.st );\\\\n\\\\t\\\\tvec2 st1 = dFdy( vUv.st );\\\\n\\\\t\\\\tvec3 N = surf_norm;\\\\n\\\\t\\\\tvec3 q1perp = cross( q1, N );\\\\n\\\\t\\\\tvec3 q0perp = cross( N, q0 );\\\\n\\\\t\\\\tvec3 T = q1perp * st0.x + q0perp * st1.x;\\\\n\\\\t\\\\tvec3 B = q1perp * st0.y + q0perp * st1.y;\\\\n\\\\t\\\\tfloat det = max( dot( T, T ), dot( B, B ) );\\\\n\\\\t\\\\tfloat scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det );\\\\n\\\\t\\\\treturn normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z );\\\\n\\\\t}\\\\n#endif\\\",clearcoat_normal_fragment_begin:\\\"#ifdef USE_CLEARCOAT\\\\n\\\\tvec3 clearcoatNormal = geometryNormal;\\\\n#endif\\\",clearcoat_normal_fragment_maps:\\\"#ifdef USE_CLEARCOAT_NORMALMAP\\\\n\\\\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\\\\n\\\\tclearcoatMapN.xy *= clearcoatNormalScale;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\\\\n\\\\t#else\\\\n\\\\t\\\\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection );\\\\n\\\\t#endif\\\\n#endif\\\",clearcoat_pars_fragment:\\\"#ifdef USE_CLEARCOATMAP\\\\n\\\\tuniform sampler2D clearcoatMap;\\\\n#endif\\\\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\\\\n\\\\tuniform sampler2D clearcoatRoughnessMap;\\\\n#endif\\\\n#ifdef USE_CLEARCOAT_NORMALMAP\\\\n\\\\tuniform sampler2D clearcoatNormalMap;\\\\n\\\\tuniform vec2 clearcoatNormalScale;\\\\n#endif\\\",iridescence_pars_fragment:\\\"#ifdef USE_IRIDESCENCEMAP\\\\n\\\\tuniform sampler2D iridescenceMap;\\\\n#endif\\\\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\\\\n\\\\tuniform sampler2D iridescenceThicknessMap;\\\\n#endif\\\",output_fragment:\\\"#ifdef OPAQUE\\\\ndiffuseColor.a = 1.0;\\\\n#endif\\\\n#ifdef USE_TRANSMISSION\\\\ndiffuseColor.a *= transmissionAlpha + 0.1;\\\\n#endif\\\\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );\\\",packing:\\\"vec3 packNormalToRGB( const in vec3 normal ) {\\\\n\\\\treturn normalize( normal ) * 0.5 + 0.5;\\\\n}\\\\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\\\\n\\\\treturn 2.0 * rgb.xyz - 1.0;\\\\n}\\\\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\\\\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\\\\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\\\\nconst float ShiftRight8 = 1. / 256.;\\\\nvec4 packDepthToRGBA( const in float v ) {\\\\n\\\\tvec4 r = vec4( fract( v * PackFactors ), v );\\\\n\\\\tr.yzw -= r.xyz * ShiftRight8;\\\\treturn r * PackUpscale;\\\\n}\\\\nfloat unpackRGBAToDepth( const in vec4 v ) {\\\\n\\\\treturn dot( v, UnpackFactors );\\\\n}\\\\nvec4 pack2HalfToRGBA( vec2 v ) {\\\\n\\\\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\\\\n\\\\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\\\\n}\\\\nvec2 unpackRGBATo2Half( vec4 v ) {\\\\n\\\\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\\\\n}\\\\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\\\\n\\\\treturn ( viewZ + near ) / ( near - far );\\\\n}\\\\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\\\\n\\\\treturn linearClipZ * ( near - far ) - near;\\\\n}\\\\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\\\\n\\\\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\\\\n}\\\\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\\\\n\\\\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\\\\n}\\\",premultiplied_alpha_fragment:\\\"#ifdef PREMULTIPLIED_ALPHA\\\\n\\\\tgl_FragColor.rgb *= gl_FragColor.a;\\\\n#endif\\\",project_vertex:\\\"vec4 mvPosition = vec4( transformed, 1.0 );\\\\n#ifdef USE_INSTANCING\\\\n\\\\tmvPosition = instanceMatrix * mvPosition;\\\\n#endif\\\\nmvPosition = modelViewMatrix * mvPosition;\\\\ngl_Position = projectionMatrix * mvPosition;\\\",dithering_fragment:\\\"#ifdef DITHERING\\\\n\\\\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\\\\n#endif\\\",dithering_pars_fragment:\\\"#ifdef DITHERING\\\\n\\\\tvec3 dithering( vec3 color ) {\\\\n\\\\t\\\\tfloat grid_position = rand( gl_FragCoord.xy );\\\\n\\\\t\\\\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\\\\n\\\\t\\\\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\\\\n\\\\t\\\\treturn color + dither_shift_RGB;\\\\n\\\\t}\\\\n#endif\\\",roughnessmap_fragment:\\\"float roughnessFactor = roughness;\\\\n#ifdef USE_ROUGHNESSMAP\\\\n\\\\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\\\\n\\\\troughnessFactor *= texelRoughness.g;\\\\n#endif\\\",roughnessmap_pars_fragment:\\\"#ifdef USE_ROUGHNESSMAP\\\\n\\\\tuniform sampler2D roughnessMap;\\\\n#endif\\\",shadowmap_pars_fragment:\\\"#ifdef USE_SHADOWMAP\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct DirectionalLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct SpotLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct PointLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t\\\\tfloat shadowCameraNear;\\\\n\\\\t\\\\t\\\\tfloat shadowCameraFar;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\\\\n\\\\t\\\\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\\\\n\\\\t}\\\\n\\\\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\\\\n\\\\t\\\\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\\\\n\\\\t}\\\\n\\\\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\\\\n\\\\t\\\\tfloat occlusion = 1.0;\\\\n\\\\t\\\\tvec2 distribution = texture2DDistribution( shadow, uv );\\\\n\\\\t\\\\tfloat hard_shadow = step( compare , distribution.x );\\\\n\\\\t\\\\tif (hard_shadow != 1.0 ) {\\\\n\\\\t\\\\t\\\\tfloat distance = compare - distribution.x ;\\\\n\\\\t\\\\t\\\\tfloat variance = max( 0.00000, distribution.y * distribution.y );\\\\n\\\\t\\\\t\\\\tfloat softness_probability = variance / (variance + distance * distance );\\\\t\\\\t\\\\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\\\\t\\\\t\\\\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn occlusion;\\\\n\\\\t}\\\\n\\\\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\\\\n\\\\t\\\\tfloat shadow = 1.0;\\\\n\\\\t\\\\tshadowCoord.xyz /= shadowCoord.w;\\\\n\\\\t\\\\tshadowCoord.z += shadowBias;\\\\n\\\\t\\\\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\\\\n\\\\t\\\\tbool inFrustum = all( inFrustumVec );\\\\n\\\\t\\\\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\\\\n\\\\t\\\\tbool frustumTest = all( frustumTestVec );\\\\n\\\\t\\\\tif ( frustumTest ) {\\\\n\\\\t\\\\t#if defined( SHADOWMAP_TYPE_PCF )\\\\n\\\\t\\\\t\\\\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\\\\n\\\\t\\\\t\\\\tfloat dx0 = - texelSize.x * shadowRadius;\\\\n\\\\t\\\\t\\\\tfloat dy0 = - texelSize.y * shadowRadius;\\\\n\\\\t\\\\t\\\\tfloat dx1 = + texelSize.x * shadowRadius;\\\\n\\\\t\\\\t\\\\tfloat dy1 = + texelSize.y * shadowRadius;\\\\n\\\\t\\\\t\\\\tfloat dx2 = dx0 / 2.0;\\\\n\\\\t\\\\t\\\\tfloat dy2 = dy0 / 2.0;\\\\n\\\\t\\\\t\\\\tfloat dx3 = dx1 / 2.0;\\\\n\\\\t\\\\t\\\\tfloat dy3 = dy1 / 2.0;\\\\n\\\\t\\\\t\\\\tshadow = (\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\\\\n\\\\t\\\\t\\\\t) * ( 1.0 / 17.0 );\\\\n\\\\t\\\\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\\\\n\\\\t\\\\t\\\\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\\\\n\\\\t\\\\t\\\\tfloat dx = texelSize.x;\\\\n\\\\t\\\\t\\\\tfloat dy = texelSize.y;\\\\n\\\\t\\\\t\\\\tvec2 uv = shadowCoord.xy;\\\\n\\\\t\\\\t\\\\tvec2 f = fract( uv * shadowMapSize + 0.5 );\\\\n\\\\t\\\\t\\\\tuv -= f * texelSize;\\\\n\\\\t\\\\t\\\\tshadow = (\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.x ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.x ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.y ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.y ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tf.x ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tf.x ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.y )\\\\n\\\\t\\\\t\\\\t) * ( 1.0 / 9.0 );\\\\n\\\\t\\\\t#elif defined( SHADOWMAP_TYPE_VSM )\\\\n\\\\t\\\\t\\\\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn shadow;\\\\n\\\\t}\\\\n\\\\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\\\\n\\\\t\\\\tvec3 absV = abs( v );\\\\n\\\\t\\\\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\\\\n\\\\t\\\\tabsV *= scaleToCube;\\\\n\\\\t\\\\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\\\\n\\\\t\\\\tvec2 planar = v.xy;\\\\n\\\\t\\\\tfloat almostATexel = 1.5 * texelSizeY;\\\\n\\\\t\\\\tfloat almostOne = 1.0 - almostATexel;\\\\n\\\\t\\\\tif ( absV.z >= almostOne ) {\\\\n\\\\t\\\\t\\\\tif ( v.z > 0.0 )\\\\n\\\\t\\\\t\\\\t\\\\tplanar.x = 4.0 - v.x;\\\\n\\\\t\\\\t} else if ( absV.x >= almostOne ) {\\\\n\\\\t\\\\t\\\\tfloat signX = sign( v.x );\\\\n\\\\t\\\\t\\\\tplanar.x = v.z * signX + 2.0 * signX;\\\\n\\\\t\\\\t} else if ( absV.y >= almostOne ) {\\\\n\\\\t\\\\t\\\\tfloat signY = sign( v.y );\\\\n\\\\t\\\\t\\\\tplanar.x = v.x + 2.0 * signY + 2.0;\\\\n\\\\t\\\\t\\\\tplanar.y = v.z * signY - 2.0;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\\\\n\\\\t}\\\\n\\\\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\\\\n\\\\t\\\\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\\\\n\\\\t\\\\tvec3 lightToPosition = shadowCoord.xyz;\\\\n\\\\t\\\\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\\\\t\\\\tdp += shadowBias;\\\\n\\\\t\\\\tvec3 bd3D = normalize( lightToPosition );\\\\n\\\\t\\\\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\\\\n\\\\t\\\\t\\\\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\\\\n\\\\t\\\\t\\\\treturn (\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\\\\n\\\\t\\\\t\\\\t) * ( 1.0 / 9.0 );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n#endif\\\",shadowmap_pars_vertex:\\\"#ifdef USE_SHADOWMAP\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct DirectionalLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct SpotLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct PointLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t\\\\tfloat shadowCameraNear;\\\\n\\\\t\\\\t\\\\tfloat shadowCameraFar;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n#endif\\\",shadowmap_vertex:\\\"#ifdef USE_SHADOWMAP\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\\\\n\\\\t\\\\tvec4 shadowWorldPosition;\\\\n\\\\t#endif\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\\\\n\\\\t\\\\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias, 0 );\\\\n\\\\t\\\\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * shadowWorldPosition;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\\\\n\\\\t\\\\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n#endif\\\",shadowmask_pars_fragment:\\\"float getShadowMask() {\\\\n\\\\tfloat shadow = 1.0;\\\\n\\\\t#ifdef USE_SHADOWMAP\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\tDirectionalLightShadow directionalLight;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tdirectionalLight = directionalLightShadows[ i ];\\\\n\\\\t\\\\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\tSpotLightShadow spotLight;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tspotLight = spotLightShadows[ i ];\\\\n\\\\t\\\\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\tPointLightShadow pointLight;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tpointLight = pointLightShadows[ i ];\\\\n\\\\t\\\\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#endif\\\\n\\\\treturn shadow;\\\\n}\\\",skinbase_vertex:\\\"#ifdef USE_SKINNING\\\\n\\\\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\\\\n\\\\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\\\\n\\\\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\\\\n\\\\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\\\\n#endif\\\",skinning_pars_vertex:\\\"#ifdef USE_SKINNING\\\\n\\\\tuniform mat4 bindMatrix;\\\\n\\\\tuniform mat4 bindMatrixInverse;\\\\n\\\\tuniform highp sampler2D boneTexture;\\\\n\\\\tuniform int boneTextureSize;\\\\n\\\\tmat4 getBoneMatrix( const in float i ) {\\\\n\\\\t\\\\tfloat j = i * 4.0;\\\\n\\\\t\\\\tfloat x = mod( j, float( boneTextureSize ) );\\\\n\\\\t\\\\tfloat y = floor( j / float( boneTextureSize ) );\\\\n\\\\t\\\\tfloat dx = 1.0 / float( boneTextureSize );\\\\n\\\\t\\\\tfloat dy = 1.0 / float( boneTextureSize );\\\\n\\\\t\\\\ty = dy * ( y + 0.5 );\\\\n\\\\t\\\\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\\\\n\\\\t\\\\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\\\\n\\\\t\\\\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\\\\n\\\\t\\\\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\\\\n\\\\t\\\\tmat4 bone = mat4( v1, v2, v3, v4 );\\\\n\\\\t\\\\treturn bone;\\\\n\\\\t}\\\\n#endif\\\",skinning_vertex:\\\"#ifdef USE_SKINNING\\\\n\\\\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\\\\n\\\\tvec4 skinned = vec4( 0.0 );\\\\n\\\\tskinned += boneMatX * skinVertex * skinWeight.x;\\\\n\\\\tskinned += boneMatY * skinVertex * skinWeight.y;\\\\n\\\\tskinned += boneMatZ * skinVertex * skinWeight.z;\\\\n\\\\tskinned += boneMatW * skinVertex * skinWeight.w;\\\\n\\\\ttransformed = ( bindMatrixInverse * skinned ).xyz;\\\\n#endif\\\",skinnormal_vertex:\\\"#ifdef USE_SKINNING\\\\n\\\\tmat4 skinMatrix = mat4( 0.0 );\\\\n\\\\tskinMatrix += skinWeight.x * boneMatX;\\\\n\\\\tskinMatrix += skinWeight.y * boneMatY;\\\\n\\\\tskinMatrix += skinWeight.z * boneMatZ;\\\\n\\\\tskinMatrix += skinWeight.w * boneMatW;\\\\n\\\\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\\\\n\\\\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\\\\n\\\\t#endif\\\\n#endif\\\",specularmap_fragment:\\\"float specularStrength;\\\\n#ifdef USE_SPECULARMAP\\\\n\\\\tvec4 texelSpecular = texture2D( specularMap, vUv );\\\\n\\\\tspecularStrength = texelSpecular.r;\\\\n#else\\\\n\\\\tspecularStrength = 1.0;\\\\n#endif\\\",specularmap_pars_fragment:\\\"#ifdef USE_SPECULARMAP\\\\n\\\\tuniform sampler2D specularMap;\\\\n#endif\\\",tonemapping_fragment:\\\"#if defined( TONE_MAPPING )\\\\n\\\\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\\\\n#endif\\\",tonemapping_pars_fragment:\\\"#ifndef saturate\\\\n#define saturate( a ) clamp( a, 0.0, 1.0 )\\\\n#endif\\\\nuniform float toneMappingExposure;\\\\nvec3 LinearToneMapping( vec3 color ) {\\\\n\\\\treturn toneMappingExposure * color;\\\\n}\\\\nvec3 ReinhardToneMapping( vec3 color ) {\\\\n\\\\tcolor *= toneMappingExposure;\\\\n\\\\treturn saturate( color / ( vec3( 1.0 ) + color ) );\\\\n}\\\\nvec3 OptimizedCineonToneMapping( vec3 color ) {\\\\n\\\\tcolor *= toneMappingExposure;\\\\n\\\\tcolor = max( vec3( 0.0 ), color - 0.004 );\\\\n\\\\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\\\\n}\\\\nvec3 RRTAndODTFit( vec3 v ) {\\\\n\\\\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\\\\n\\\\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\\\\n\\\\treturn a / b;\\\\n}\\\\nvec3 ACESFilmicToneMapping( vec3 color ) {\\\\n\\\\tconst mat3 ACESInputMat = mat3(\\\\n\\\\t\\\\tvec3( 0.59719, 0.07600, 0.02840 ),\\\\t\\\\tvec3( 0.35458, 0.90834, 0.13383 ),\\\\n\\\\t\\\\tvec3( 0.04823, 0.01566, 0.83777 )\\\\n\\\\t);\\\\n\\\\tconst mat3 ACESOutputMat = mat3(\\\\n\\\\t\\\\tvec3(\\\\t1.60475, -0.10208, -0.00327 ),\\\\t\\\\tvec3( -0.53108,\\\\t1.10813, -0.07276 ),\\\\n\\\\t\\\\tvec3( -0.07367, -0.00605,\\\\t1.07602 )\\\\n\\\\t);\\\\n\\\\tcolor *= toneMappingExposure / 0.6;\\\\n\\\\tcolor = ACESInputMat * color;\\\\n\\\\tcolor = RRTAndODTFit( color );\\\\n\\\\tcolor = ACESOutputMat * color;\\\\n\\\\treturn saturate( color );\\\\n}\\\\nvec3 CustomToneMapping( vec3 color ) { return color; }\\\",transmission_fragment:\\\"#ifdef USE_TRANSMISSION\\\\n\\\\tfloat transmissionAlpha = 1.0;\\\\n\\\\tfloat transmissionFactor = transmission;\\\\n\\\\tfloat thicknessFactor = thickness;\\\\n\\\\t#ifdef USE_TRANSMISSIONMAP\\\\n\\\\t\\\\ttransmissionFactor *= texture2D( transmissionMap, vUv ).r;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_THICKNESSMAP\\\\n\\\\t\\\\tthicknessFactor *= texture2D( thicknessMap, vUv ).g;\\\\n\\\\t#endif\\\\n\\\\tvec3 pos = vWorldPosition;\\\\n\\\\tvec3 v = normalize( cameraPosition - pos );\\\\n\\\\tvec3 n = inverseTransformDirection( normal, viewMatrix );\\\\n\\\\tvec4 transmission = getIBLVolumeRefraction(\\\\n\\\\t\\\\tn, v, roughnessFactor, material.diffuseColor, material.specularColor, material.specularF90,\\\\n\\\\t\\\\tpos, modelMatrix, viewMatrix, projectionMatrix, ior, thicknessFactor,\\\\n\\\\t\\\\tattenuationColor, attenuationDistance );\\\\n\\\\ttotalDiffuse = mix( totalDiffuse, transmission.rgb, transmissionFactor );\\\\n\\\\ttransmissionAlpha = mix( transmissionAlpha, transmission.a, transmissionFactor );\\\\n#endif\\\",transmission_pars_fragment:\\\"#ifdef USE_TRANSMISSION\\\\n\\\\tuniform float transmission;\\\\n\\\\tuniform float thickness;\\\\n\\\\tuniform float attenuationDistance;\\\\n\\\\tuniform vec3 attenuationColor;\\\\n\\\\t#ifdef USE_TRANSMISSIONMAP\\\\n\\\\t\\\\tuniform sampler2D transmissionMap;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_THICKNESSMAP\\\\n\\\\t\\\\tuniform sampler2D thicknessMap;\\\\n\\\\t#endif\\\\n\\\\tuniform vec2 transmissionSamplerSize;\\\\n\\\\tuniform sampler2D transmissionSamplerMap;\\\\n\\\\tuniform mat4 modelMatrix;\\\\n\\\\tuniform mat4 projectionMatrix;\\\\n\\\\tvarying vec3 vWorldPosition;\\\\n\\\\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\\\\n\\\\t\\\\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\\\\n\\\\t\\\\tvec3 modelScale;\\\\n\\\\t\\\\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\\\\n\\\\t\\\\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\\\\n\\\\t\\\\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\\\\n\\\\t\\\\treturn normalize( refractionVector ) * thickness * modelScale;\\\\n\\\\t}\\\\n\\\\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\\\\n\\\\t\\\\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\\\\n\\\\t}\\\\n\\\\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\\\\n\\\\t\\\\tfloat framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\\\\n\\\\t\\\\t#ifdef texture2DLodEXT\\\\n\\\\t\\\\t\\\\treturn texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\tvec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\\\\n\\\\t\\\\tif ( attenuationDistance == 0.0 ) {\\\\n\\\\t\\\\t\\\\treturn radiance;\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\\\\n\\\\t\\\\t\\\\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\\\\t\\\\t\\\\treturn transmittance * radiance;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\\\\n\\\\t\\\\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\\\\n\\\\t\\\\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,\\\\n\\\\t\\\\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\\\\n\\\\t\\\\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\\\\n\\\\t\\\\tvec3 refractedRayExit = position + transmissionRay;\\\\n\\\\t\\\\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\\\\n\\\\t\\\\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\\\\n\\\\t\\\\trefractionCoords += 1.0;\\\\n\\\\t\\\\trefractionCoords /= 2.0;\\\\n\\\\t\\\\tvec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\\\\n\\\\t\\\\tvec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance );\\\\n\\\\t\\\\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\\\\n\\\\t\\\\treturn vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a );\\\\n\\\\t}\\\\n#endif\\\",uv_pars_fragment:\\\"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\\\\n\\\\tvarying vec2 vUv;\\\\n#endif\\\",uv_pars_vertex:\\\"#ifdef USE_UV\\\\n\\\\t#ifdef UVS_VERTEX_ONLY\\\\n\\\\t\\\\tvec2 vUv;\\\\n\\\\t#else\\\\n\\\\t\\\\tvarying vec2 vUv;\\\\n\\\\t#endif\\\\n\\\\tuniform mat3 uvTransform;\\\\n#endif\\\",uv_vertex:\\\"#ifdef USE_UV\\\\n\\\\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\\\\n#endif\\\",uv2_pars_fragment:\\\"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\\\n\\\\tvarying vec2 vUv2;\\\\n#endif\\\",uv2_pars_vertex:\\\"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\\\n\\\\tattribute vec2 uv2;\\\\n\\\\tvarying vec2 vUv2;\\\\n\\\\tuniform mat3 uv2Transform;\\\\n#endif\\\",uv2_vertex:\\\"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\\\n\\\\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\\\\n#endif\\\",worldpos_vertex:\\\"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION )\\\\n\\\\tvec4 worldPosition = vec4( transformed, 1.0 );\\\\n\\\\t#ifdef USE_INSTANCING\\\\n\\\\t\\\\tworldPosition = instanceMatrix * worldPosition;\\\\n\\\\t#endif\\\\n\\\\tworldPosition = modelMatrix * worldPosition;\\\\n#endif\\\",background_vert:\\\"varying vec2 vUv;\\\\nuniform mat3 uvTransform;\\\\nvoid main() {\\\\n\\\\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\\\\n\\\\tgl_Position = vec4( position.xy, 1.0, 1.0 );\\\\n}\\\",background_frag:\\\"uniform sampler2D t2D;\\\\nvarying vec2 vUv;\\\\nvoid main() {\\\\n\\\\tgl_FragColor = texture2D( t2D, vUv );\\\\n\\\\t#ifdef DECODE_VIDEO_TEXTURE\\\\n\\\\t\\\\tgl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w );\\\\n\\\\t#endif\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n}\\\",cube_vert:\\\"varying vec3 vWorldDirection;\\\\n#include <common>\\\\nvoid main() {\\\\n\\\\tvWorldDirection = transformDirection( position, modelMatrix );\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\tgl_Position.z = gl_Position.w;\\\\n}\\\",cube_frag:\\\"#include <envmap_common_pars_fragment>\\\\nuniform float opacity;\\\\nvarying vec3 vWorldDirection;\\\\n#include <cube_uv_reflection_fragment>\\\\nvoid main() {\\\\n\\\\tvec3 vReflect = vWorldDirection;\\\\n\\\\t#include <envmap_fragment>\\\\n\\\\tgl_FragColor = envColor;\\\\n\\\\tgl_FragColor.a *= opacity;\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n}\\\",depth_vert:\\\"#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvarying vec2 vHighPrecisionZW;\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#ifdef USE_DISPLACEMENTMAP\\\\n\\\\t\\\\t#include <beginnormal_vertex>\\\\n\\\\t\\\\t#include <morphnormal_vertex>\\\\n\\\\t\\\\t#include <skinnormal_vertex>\\\\n\\\\t#endif\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvHighPrecisionZW = gl_Position.zw;\\\\n}\\\",depth_frag:\\\"#if DEPTH_PACKING == 3200\\\\n\\\\tuniform float opacity;\\\\n#endif\\\\n#include <common>\\\\n#include <packing>\\\\n#include <uv_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvarying vec2 vHighPrecisionZW;\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( 1.0 );\\\\n\\\\t#if DEPTH_PACKING == 3200\\\\n\\\\t\\\\tdiffuseColor.a = opacity;\\\\n\\\\t#endif\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\\\\n\\\\t#if DEPTH_PACKING == 3200\\\\n\\\\t\\\\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\\\\n\\\\t#elif DEPTH_PACKING == 3201\\\\n\\\\t\\\\tgl_FragColor = packDepthToRGBA( fragCoordZ );\\\\n\\\\t#endif\\\\n}\\\",distanceRGBA_vert:\\\"#define DISTANCE\\\\nvarying vec3 vWorldPosition;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#ifdef USE_DISPLACEMENTMAP\\\\n\\\\t\\\\t#include <beginnormal_vertex>\\\\n\\\\t\\\\t#include <morphnormal_vertex>\\\\n\\\\t\\\\t#include <skinnormal_vertex>\\\\n\\\\t#endif\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvWorldPosition = worldPosition.xyz;\\\\n}\\\",distanceRGBA_frag:\\\"#define DISTANCE\\\\nuniform vec3 referencePosition;\\\\nuniform float nearDistance;\\\\nuniform float farDistance;\\\\nvarying vec3 vWorldPosition;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <uv_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main () {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( 1.0 );\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\tfloat dist = length( vWorldPosition - referencePosition );\\\\n\\\\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\\\\n\\\\tdist = saturate( dist );\\\\n\\\\tgl_FragColor = packDepthToRGBA( dist );\\\\n}\\\",equirect_vert:\\\"varying vec3 vWorldDirection;\\\\n#include <common>\\\\nvoid main() {\\\\n\\\\tvWorldDirection = transformDirection( position, modelMatrix );\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <project_vertex>\\\\n}\\\",equirect_frag:\\\"uniform sampler2D tEquirect;\\\\nvarying vec3 vWorldDirection;\\\\n#include <common>\\\\nvoid main() {\\\\n\\\\tvec3 direction = normalize( vWorldDirection );\\\\n\\\\tvec2 sampleUV = equirectUv( direction );\\\\n\\\\tgl_FragColor = texture2D( tEquirect, sampleUV );\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n}\\\",linedashed_vert:\\\"uniform float scale;\\\\nattribute float lineDistance;\\\\nvarying float vLineDistance;\\\\n#include <common>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\tvLineDistance = scale * lineDistance;\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",linedashed_frag:\\\"uniform vec3 diffuse;\\\\nuniform float opacity;\\\\nuniform float dashSize;\\\\nuniform float totalSize;\\\\nvarying float vLineDistance;\\\\n#include <common>\\\\n#include <color_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\\\\n\\\\t\\\\tdiscard;\\\\n\\\\t}\\\\n\\\\tvec3 outgoingLight = vec3( 0.0 );\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\toutgoingLight = diffuseColor.rgb;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n}\\\",meshbasic_vert:\\\"#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <envmap_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\\\\n\\\\t\\\\t#include <beginnormal_vertex>\\\\n\\\\t\\\\t#include <morphnormal_vertex>\\\\n\\\\t\\\\t#include <skinbase_vertex>\\\\n\\\\t\\\\t#include <skinnormal_vertex>\\\\n\\\\t\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#endif\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <envmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",meshbasic_frag:\\\"uniform vec3 diffuse;\\\\nuniform float opacity;\\\\n#ifndef FLAT_SHADED\\\\n\\\\tvarying vec3 vNormal;\\\\n#endif\\\\n#include <common>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <envmap_common_pars_fragment>\\\\n#include <envmap_pars_fragment>\\\\n#include <cube_uv_reflection_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <specularmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <specularmap_fragment>\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\t#ifdef USE_LIGHTMAP\\\\n\\\\t\\\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\\\n\\\\t\\\\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\\\\n\\\\t#else\\\\n\\\\t\\\\treflectedLight.indirectDiffuse += vec3( 1.0 );\\\\n\\\\t#endif\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\\\\n\\\\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\\\\n\\\\t#include <envmap_fragment>\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshlambert_vert:\\\"#define LAMBERT\\\\nvarying vec3 vLightFront;\\\\nvarying vec3 vIndirectFront;\\\\n#ifdef DOUBLE_SIDED\\\\n\\\\tvarying vec3 vLightBack;\\\\n\\\\tvarying vec3 vIndirectBack;\\\\n#endif\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <envmap_pars_vertex>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <envmap_vertex>\\\\n\\\\t#include <lights_lambert_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",meshlambert_frag:\\\"uniform vec3 diffuse;\\\\nuniform vec3 emissive;\\\\nuniform float opacity;\\\\nvarying vec3 vLightFront;\\\\nvarying vec3 vIndirectFront;\\\\n#ifdef DOUBLE_SIDED\\\\n\\\\tvarying vec3 vLightBack;\\\\n\\\\tvarying vec3 vIndirectBack;\\\\n#endif\\\\n#include <common>\\\\n#include <packing>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <emissivemap_pars_fragment>\\\\n#include <envmap_common_pars_fragment>\\\\n#include <envmap_pars_fragment>\\\\n#include <cube_uv_reflection_fragment>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <fog_pars_fragment>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <shadowmask_pars_fragment>\\\\n#include <specularmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\tvec3 totalEmissiveRadiance = emissive;\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <specularmap_fragment>\\\\n\\\\t#include <emissivemap_fragment>\\\\n\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\\\\n\\\\t#else\\\\n\\\\t\\\\treflectedLight.indirectDiffuse += vIndirectFront;\\\\n\\\\t#endif\\\\n\\\\t#include <lightmap_fragment>\\\\n\\\\treflectedLight.indirectDiffuse *= BRDF_Lambert( diffuseColor.rgb );\\\\n\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\\\\n\\\\t#else\\\\n\\\\t\\\\treflectedLight.directDiffuse = vLightFront;\\\\n\\\\t#endif\\\\n\\\\treflectedLight.directDiffuse *= BRDF_Lambert( diffuseColor.rgb ) * getShadowMask();\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\\\\n\\\\t#include <envmap_fragment>\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshmatcap_vert:\\\"#define MATCAP\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n}\\\",meshmatcap_frag:\\\"#define MATCAP\\\\nuniform vec3 diffuse;\\\\nuniform float opacity;\\\\nuniform sampler2D matcap;\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <normal_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\tvec3 viewDir = normalize( vViewPosition );\\\\n\\\\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\\\\n\\\\tvec3 y = cross( viewDir, x );\\\\n\\\\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\\\\n\\\\t#ifdef USE_MATCAP\\\\n\\\\t\\\\tvec4 matcapColor = texture2D( matcap, uv );\\\\n\\\\t#else\\\\n\\\\t\\\\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\\\\n\\\\t#endif\\\\n\\\\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshnormal_vert:\\\"#define NORMAL\\\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\\\n\\\\tvarying vec3 vViewPosition;\\\\n#endif\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n#endif\\\\n}\\\",meshnormal_frag:\\\"#define NORMAL\\\\nuniform float opacity;\\\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\\\n\\\\tvarying vec3 vViewPosition;\\\\n#endif\\\\n#include <packing>\\\\n#include <uv_pars_fragment>\\\\n#include <normal_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\\\\n\\\\t#ifdef OPAQUE\\\\n\\\\t\\\\tgl_FragColor.a = 1.0;\\\\n\\\\t#endif\\\\n}\\\",meshphong_vert:\\\"#define PHONG\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <envmap_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <envmap_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",meshphong_frag:\\\"#define PHONG\\\\nuniform vec3 diffuse;\\\\nuniform vec3 emissive;\\\\nuniform vec3 specular;\\\\nuniform float shininess;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <emissivemap_pars_fragment>\\\\n#include <envmap_common_pars_fragment>\\\\n#include <envmap_pars_fragment>\\\\n#include <cube_uv_reflection_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <normal_pars_fragment>\\\\n#include <lights_phong_pars_fragment>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <specularmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\tvec3 totalEmissiveRadiance = emissive;\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <specularmap_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\t#include <emissivemap_fragment>\\\\n\\\\t#include <lights_phong_fragment>\\\\n\\\\t#include <lights_fragment_begin>\\\\n\\\\t#include <lights_fragment_maps>\\\\n\\\\t#include <lights_fragment_end>\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\\\\n\\\\t#include <envmap_fragment>\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshphysical_vert:\\\"#define STANDARD\\\\nvarying vec3 vViewPosition;\\\\n#ifdef USE_TRANSMISSION\\\\n\\\\tvarying vec3 vWorldPosition;\\\\n#endif\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n#ifdef USE_TRANSMISSION\\\\n\\\\tvWorldPosition = worldPosition.xyz;\\\\n#endif\\\\n}\\\",meshphysical_frag:\\\"#define STANDARD\\\\n#ifdef PHYSICAL\\\\n\\\\t#define IOR\\\\n\\\\t#define SPECULAR\\\\n#endif\\\\nuniform vec3 diffuse;\\\\nuniform vec3 emissive;\\\\nuniform float roughness;\\\\nuniform float metalness;\\\\nuniform float opacity;\\\\n#ifdef IOR\\\\n\\\\tuniform float ior;\\\\n#endif\\\\n#ifdef SPECULAR\\\\n\\\\tuniform float specularIntensity;\\\\n\\\\tuniform vec3 specularColor;\\\\n\\\\t#ifdef USE_SPECULARINTENSITYMAP\\\\n\\\\t\\\\tuniform sampler2D specularIntensityMap;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SPECULARCOLORMAP\\\\n\\\\t\\\\tuniform sampler2D specularColorMap;\\\\n\\\\t#endif\\\\n#endif\\\\n#ifdef USE_CLEARCOAT\\\\n\\\\tuniform float clearcoat;\\\\n\\\\tuniform float clearcoatRoughness;\\\\n#endif\\\\n#ifdef USE_IRIDESCENCE\\\\n\\\\tuniform float iridescence;\\\\n\\\\tuniform float iridescenceIOR;\\\\n\\\\tuniform float iridescenceThicknessMinimum;\\\\n\\\\tuniform float iridescenceThicknessMaximum;\\\\n#endif\\\\n#ifdef USE_SHEEN\\\\n\\\\tuniform vec3 sheenColor;\\\\n\\\\tuniform float sheenRoughness;\\\\n\\\\t#ifdef USE_SHEENCOLORMAP\\\\n\\\\t\\\\tuniform sampler2D sheenColorMap;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SHEENROUGHNESSMAP\\\\n\\\\t\\\\tuniform sampler2D sheenRoughnessMap;\\\\n\\\\t#endif\\\\n#endif\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <emissivemap_pars_fragment>\\\\n#include <bsdfs>\\\\n#include <iridescence_fragment>\\\\n#include <cube_uv_reflection_fragment>\\\\n#include <envmap_common_pars_fragment>\\\\n#include <envmap_physical_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <lights_pars_begin>\\\\n#include <normal_pars_fragment>\\\\n#include <lights_physical_pars_fragment>\\\\n#include <transmission_pars_fragment>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <clearcoat_pars_fragment>\\\\n#include <iridescence_pars_fragment>\\\\n#include <roughnessmap_pars_fragment>\\\\n#include <metalnessmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\tvec3 totalEmissiveRadiance = emissive;\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <roughnessmap_fragment>\\\\n\\\\t#include <metalnessmap_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\t#include <clearcoat_normal_fragment_begin>\\\\n\\\\t#include <clearcoat_normal_fragment_maps>\\\\n\\\\t#include <emissivemap_fragment>\\\\n\\\\t#include <lights_physical_fragment>\\\\n\\\\t#include <lights_fragment_begin>\\\\n\\\\t#include <lights_fragment_maps>\\\\n\\\\t#include <lights_fragment_end>\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\\\\n\\\\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\\\\n\\\\t#include <transmission_fragment>\\\\n\\\\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\\\\n\\\\t#ifdef USE_SHEEN\\\\n\\\\t\\\\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\\\\n\\\\t\\\\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tfloat dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\\\\n\\\\t\\\\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\\\\n\\\\t\\\\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat;\\\\n\\\\t#endif\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshtoon_vert:\\\"#define TOON\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",meshtoon_frag:\\\"#define TOON\\\\nuniform vec3 diffuse;\\\\nuniform vec3 emissive;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <emissivemap_pars_fragment>\\\\n#include <gradientmap_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <normal_pars_fragment>\\\\n#include <lights_toon_pars_fragment>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\tvec3 totalEmissiveRadiance = emissive;\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\t#include <emissivemap_fragment>\\\\n\\\\t#include <lights_toon_fragment>\\\\n\\\\t#include <lights_fragment_begin>\\\\n\\\\t#include <lights_fragment_maps>\\\\n\\\\t#include <lights_fragment_end>\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",points_vert:\\\"uniform float size;\\\\nuniform float scale;\\\\n#include <common>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\tgl_PointSize = size;\\\\n\\\\t#ifdef USE_SIZEATTENUATION\\\\n\\\\t\\\\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\\\\n\\\\t\\\\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\\\\n\\\\t#endif\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",points_frag:\\\"uniform vec3 diffuse;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <color_pars_fragment>\\\\n#include <map_particle_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec3 outgoingLight = vec3( 0.0 );\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_particle_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\toutgoingLight = diffuseColor.rgb;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n}\\\",shadow_vert:\\\"#include <common>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",shadow_frag:\\\"uniform vec3 color;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <fog_pars_fragment>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <shadowmask_pars_fragment>\\\\nvoid main() {\\\\n\\\\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n}\\\",sprite_vert:\\\"uniform float rotation;\\\\nuniform vec2 center;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\\\\n\\\\tvec2 scale;\\\\n\\\\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\\\\n\\\\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\\\\n\\\\t#ifndef USE_SIZEATTENUATION\\\\n\\\\t\\\\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\\\\n\\\\t\\\\tif ( isPerspective ) scale *= - mvPosition.z;\\\\n\\\\t#endif\\\\n\\\\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\\\\n\\\\tvec2 rotatedPosition;\\\\n\\\\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\\\\n\\\\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\\\\n\\\\tmvPosition.xy += rotatedPosition;\\\\n\\\\tgl_Position = projectionMatrix * mvPosition;\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",sprite_frag:\\\"uniform vec3 diffuse;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <uv_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec3 outgoingLight = vec3( 0.0 );\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\toutgoingLight = diffuseColor.rgb;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n}\\\"},br={common:{diffuse:{value:new qt(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new St},uv2Transform:{value:new St},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new Tt(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new qt(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new qt(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new St}},sprite:{diffuse:{value:new qt(16777215)},opacity:{value:1},center:{value:new Tt(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new St}}},xr={basic:{uniforms:tr([br.common,br.specularmap,br.envmap,br.aomap,br.lightmap,br.fog]),vertexShader:_r.meshbasic_vert,fragmentShader:_r.meshbasic_frag},lambert:{uniforms:tr([br.common,br.specularmap,br.envmap,br.aomap,br.lightmap,br.emissivemap,br.fog,br.lights,{emissive:{value:new qt(0)}}]),vertexShader:_r.meshlambert_vert,fragmentShader:_r.meshlambert_frag},phong:{uniforms:tr([br.common,br.specularmap,br.envmap,br.aomap,br.lightmap,br.emissivemap,br.bumpmap,br.normalmap,br.displacementmap,br.fog,br.lights,{emissive:{value:new qt(0)},specular:{value:new qt(1118481)},shininess:{value:30}}]),vertexShader:_r.meshphong_vert,fragmentShader:_r.meshphong_frag},standard:{uniforms:tr([br.common,br.envmap,br.aomap,br.lightmap,br.emissivemap,br.bumpmap,br.normalmap,br.displacementmap,br.roughnessmap,br.metalnessmap,br.fog,br.lights,{emissive:{value:new qt(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:_r.meshphysical_vert,fragmentShader:_r.meshphysical_frag},toon:{uniforms:tr([br.common,br.aomap,br.lightmap,br.emissivemap,br.bumpmap,br.normalmap,br.displacementmap,br.gradientmap,br.fog,br.lights,{emissive:{value:new qt(0)}}]),vertexShader:_r.meshtoon_vert,fragmentShader:_r.meshtoon_frag},matcap:{uniforms:tr([br.common,br.bumpmap,br.normalmap,br.displacementmap,br.fog,{matcap:{value:null}}]),vertexShader:_r.meshmatcap_vert,fragmentShader:_r.meshmatcap_frag},points:{uniforms:tr([br.points,br.fog]),vertexShader:_r.points_vert,fragmentShader:_r.points_frag},dashed:{uniforms:tr([br.common,br.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:_r.linedashed_vert,fragmentShader:_r.linedashed_frag},depth:{uniforms:tr([br.common,br.displacementmap]),vertexShader:_r.depth_vert,fragmentShader:_r.depth_frag},normal:{uniforms:tr([br.common,br.bumpmap,br.normalmap,br.displacementmap,{opacity:{value:1}}]),vertexShader:_r.meshnormal_vert,fragmentShader:_r.meshnormal_frag},sprite:{uniforms:tr([br.sprite,br.fog]),vertexShader:_r.sprite_vert,fragmentShader:_r.sprite_frag},background:{uniforms:{uvTransform:{value:new St},t2D:{value:null}},vertexShader:_r.background_vert,fragmentShader:_r.background_frag},cube:{uniforms:tr([br.envmap,{opacity:{value:1}}]),vertexShader:_r.cube_vert,fragmentShader:_r.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:_r.equirect_vert,fragmentShader:_r.equirect_frag},distanceRGBA:{uniforms:tr([br.common,br.displacementmap,{referencePosition:{value:new ee},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:_r.distanceRGBA_vert,fragmentShader:_r.distanceRGBA_frag},shadow:{uniforms:tr([br.lights,br.fog,{color:{value:new qt(0)},opacity:{value:1}}]),vertexShader:_r.shadow_vert,fragmentShader:_r.shadow_frag}};function wr(t,e,n,r,i,o){const a=new qt(0);let s,l,c=!0===i?0:1,h=null,p=0,f=null;function d(t,e){n.buffers.color.setClear(t.r,t.g,t.b,e,o)}return{getClearColor:function(){return a},setClearColor:function(t,e=1){a.set(t),c=e,d(a,c)},getClearAlpha:function(){return c},setClearAlpha:function(t){c=t,d(a,c)},render:function(n,i){let o=!1,m=!0===i.isScene?i.background:null;m&&m.isTexture&&(m=e.get(m));const v=t.xr,g=v.getSession&&v.getSession();g&&\\\"additive\\\"===g.environmentBlendMode&&(m=null),null===m?d(a,c):m&&m.isColor&&(d(m,1),o=!0),(t.autoClear||o)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),m&&(m.isCubeTexture||m.mapping===u)?(void 0===l&&(l=new Zn(new Jn(1,1,1),new nr({name:\\\"BackgroundCubeMaterial\\\",uniforms:Qn(xr.cube.uniforms),vertexShader:xr.cube.vertexShader,fragmentShader:xr.cube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute(\\\"normal\\\"),l.geometry.deleteAttribute(\\\"uv\\\"),l.onBeforeRender=function(t,e,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,\\\"envMap\\\",{get:function(){return this.uniforms.envMap.value}}),r.update(l)),l.material.uniforms.envMap.value=m,l.material.uniforms.flipEnvMap.value=m.isCubeTexture&&!1===m.isRenderTargetTexture?-1:1,h===m&&p===m.version&&f===t.toneMapping||(l.material.needsUpdate=!0,h=m,p=m.version,f=t.toneMapping),l.layers.enableAll(),n.unshift(l,l.geometry,l.material,0,0,null)):m&&m.isTexture&&(void 0===s&&(s=new Zn(new yr(2,2),new nr({name:\\\"BackgroundMaterial\\\",uniforms:Qn(xr.background.uniforms),vertexShader:xr.background.vertexShader,fragmentShader:xr.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1})),s.geometry.deleteAttribute(\\\"normal\\\"),Object.defineProperty(s.material,\\\"map\\\",{get:function(){return this.uniforms.t2D.value}}),r.update(s)),s.material.uniforms.t2D.value=m,!0===m.matrixAutoUpdate&&m.updateMatrix(),s.material.uniforms.uvTransform.value.copy(m.matrix),h===m&&p===m.version&&f===t.toneMapping||(s.material.needsUpdate=!0,h=m,p=m.version,f=t.toneMapping),s.layers.enableAll(),n.unshift(s,s.geometry,s.material,0,0,null))}}}function Ar(t,e,n,r){const i=t.getParameter(t.MAX_VERTEX_ATTRIBS),o=r.isWebGL2?null:e.get(\\\"OES_vertex_array_object\\\"),a=r.isWebGL2||null!==o,s={},l=f(null);let u=l,c=!1;function h(e){return r.isWebGL2?t.bindVertexArray(e):o.bindVertexArrayOES(e)}function p(e){return r.isWebGL2?t.deleteVertexArray(e):o.deleteVertexArrayOES(e)}function f(t){const e=[],n=[],r=[];for(let t=0;t<i;t++)e[t]=0,n[t]=0,r[t]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:e,enabledAttributes:n,attributeDivisors:r,object:t,attributes:{},index:null}}function d(){const t=u.newAttributes;for(let e=0,n=t.length;e<n;e++)t[e]=0}function m(t){v(t,0)}function v(n,i){const o=u.newAttributes,a=u.enabledAttributes,s=u.attributeDivisors;o[n]=1,0===a[n]&&(t.enableVertexAttribArray(n),a[n]=1),s[n]!==i&&((r.isWebGL2?t:e.get(\\\"ANGLE_instanced_arrays\\\"))[r.isWebGL2?\\\"vertexAttribDivisor\\\":\\\"vertexAttribDivisorANGLE\\\"](n,i),s[n]=i)}function g(){const e=u.newAttributes,n=u.enabledAttributes;for(let r=0,i=n.length;r<i;r++)n[r]!==e[r]&&(t.disableVertexAttribArray(r),n[r]=0)}function y(e,n,i,o,a,s){!0!==r.isWebGL2||i!==t.INT&&i!==t.UNSIGNED_INT?t.vertexAttribPointer(e,n,i,o,a,s):t.vertexAttribIPointer(e,n,i,a,s)}function _(){b(),c=!0,u!==l&&(u=l,h(u.object))}function b(){l.geometry=null,l.program=null,l.wireframe=!1}return{setup:function(i,l,p,_,b){let x=!1;if(a){const e=function(e,n,i){const a=!0===i.wireframe;let l=s[e.id];void 0===l&&(l={},s[e.id]=l);let u=l[n.id];void 0===u&&(u={},l[n.id]=u);let c=u[a];return void 0===c&&(c=f(r.isWebGL2?t.createVertexArray():o.createVertexArrayOES()),u[a]=c),c}(_,p,l);u!==e&&(u=e,h(u.object)),x=function(t,e,n,r){const i=u.attributes,o=e.attributes;let a=0;const s=n.getAttributes();for(const e in s)if(s[e].location>=0){const n=i[e];let r=o[e];if(void 0===r&&(\\\"instanceMatrix\\\"===e&&t.instanceMatrix&&(r=t.instanceMatrix),\\\"instanceColor\\\"===e&&t.instanceColor&&(r=t.instanceColor)),void 0===n)return!0;if(n.attribute!==r)return!0;if(r&&n.data!==r.data)return!0;a++}return u.attributesNum!==a||u.index!==r}(i,_,p,b),x&&function(t,e,n,r){const i={},o=e.attributes;let a=0;const s=n.getAttributes();for(const e in s)if(s[e].location>=0){let n=o[e];void 0===n&&(\\\"instanceMatrix\\\"===e&&t.instanceMatrix&&(n=t.instanceMatrix),\\\"instanceColor\\\"===e&&t.instanceColor&&(n=t.instanceColor));const r={};r.attribute=n,n&&n.data&&(r.data=n.data),i[e]=r,a++}u.attributes=i,u.attributesNum=a,u.index=r}(i,_,p,b)}else{const t=!0===l.wireframe;u.geometry===_.id&&u.program===p.id&&u.wireframe===t||(u.geometry=_.id,u.program=p.id,u.wireframe=t,x=!0)}null!==b&&n.update(b,t.ELEMENT_ARRAY_BUFFER),(x||c)&&(c=!1,function(i,o,a,s){if(!1===r.isWebGL2&&(i.isInstancedMesh||s.isInstancedBufferGeometry)&&null===e.get(\\\"ANGLE_instanced_arrays\\\"))return;d();const l=s.attributes,u=a.getAttributes(),c=o.defaultAttributeValues;for(const e in u){const r=u[e];if(r.location>=0){let o=l[e];if(void 0===o&&(\\\"instanceMatrix\\\"===e&&i.instanceMatrix&&(o=i.instanceMatrix),\\\"instanceColor\\\"===e&&i.instanceColor&&(o=i.instanceColor)),void 0!==o){const e=o.normalized,a=o.itemSize,l=n.get(o);if(void 0===l)continue;const u=l.buffer,c=l.type,h=l.bytesPerElement;if(o.isInterleavedBufferAttribute){const n=o.data,l=n.stride,p=o.offset;if(n.isInstancedInterleavedBuffer){for(let t=0;t<r.locationSize;t++)v(r.location+t,n.meshPerAttribute);!0!==i.isInstancedMesh&&void 0===s._maxInstanceCount&&(s._maxInstanceCount=n.meshPerAttribute*n.count)}else for(let t=0;t<r.locationSize;t++)m(r.location+t);t.bindBuffer(t.ARRAY_BUFFER,u);for(let t=0;t<r.locationSize;t++)y(r.location+t,a/r.locationSize,c,e,l*h,(p+a/r.locationSize*t)*h)}else{if(o.isInstancedBufferAttribute){for(let t=0;t<r.locationSize;t++)v(r.location+t,o.meshPerAttribute);!0!==i.isInstancedMesh&&void 0===s._maxInstanceCount&&(s._maxInstanceCount=o.meshPerAttribute*o.count)}else for(let t=0;t<r.locationSize;t++)m(r.location+t);t.bindBuffer(t.ARRAY_BUFFER,u);for(let t=0;t<r.locationSize;t++)y(r.location+t,a/r.locationSize,c,e,a*h,a/r.locationSize*t*h)}}else if(void 0!==c){const n=c[e];if(void 0!==n)switch(n.length){case 2:t.vertexAttrib2fv(r.location,n);break;case 3:t.vertexAttrib3fv(r.location,n);break;case 4:t.vertexAttrib4fv(r.location,n);break;default:t.vertexAttrib1fv(r.location,n)}}}}g()}(i,l,p,_),null!==b&&t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,n.get(b).buffer))},reset:_,resetDefaultState:b,dispose:function(){_();for(const t in s){const e=s[t];for(const t in e){const n=e[t];for(const t in n)p(n[t].object),delete n[t];delete e[t]}delete s[t]}},releaseStatesOfGeometry:function(t){if(void 0===s[t.id])return;const e=s[t.id];for(const t in e){const n=e[t];for(const t in n)p(n[t].object),delete n[t];delete e[t]}delete s[t.id]},releaseStatesOfProgram:function(t){for(const e in s){const n=s[e];if(void 0===n[t.id])continue;const r=n[t.id];for(const t in r)p(r[t].object),delete r[t];delete n[t.id]}},initAttributes:d,enableAttribute:m,disableUnusedAttributes:g}}function Cr(t,e,n,r){const i=r.isWebGL2;let o;this.setMode=function(t){o=t},this.render=function(e,r){t.drawArrays(o,e,r),n.update(r,o,1)},this.renderInstances=function(r,a,s){if(0===s)return;let l,u;if(i)l=t,u=\\\"drawArraysInstanced\\\";else if(l=e.get(\\\"ANGLE_instanced_arrays\\\"),u=\\\"drawArraysInstancedANGLE\\\",null===l)return void console.error(\\\"THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.\\\");l[u](o,r,a,s),n.update(a,o,s)}}function Mr(t,e,n){let r;function i(e){if(\\\"highp\\\"===e){if(t.getShaderPrecisionFormat(t.VERTEX_SHADER,t.HIGH_FLOAT).precision>0&&t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.HIGH_FLOAT).precision>0)return\\\"highp\\\";e=\\\"mediump\\\"}return\\\"mediump\\\"===e&&t.getShaderPrecisionFormat(t.VERTEX_SHADER,t.MEDIUM_FLOAT).precision>0&&t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.MEDIUM_FLOAT).precision>0?\\\"mediump\\\":\\\"lowp\\\"}const o=\\\"undefined\\\"!=typeof WebGL2RenderingContext&&t instanceof WebGL2RenderingContext||\\\"undefined\\\"!=typeof WebGL2ComputeRenderingContext&&t instanceof WebGL2ComputeRenderingContext;let a=void 0!==n.precision?n.precision:\\\"highp\\\";const s=i(a);s!==a&&(console.warn(\\\"THREE.WebGLRenderer:\\\",a,\\\"not supported, using\\\",s,\\\"instead.\\\"),a=s);const l=o||e.has(\\\"WEBGL_draw_buffers\\\"),u=!0===n.logarithmicDepthBuffer,c=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS),h=t.getParameter(t.MAX_VERTEX_TEXTURE_IMAGE_UNITS),p=t.getParameter(t.MAX_TEXTURE_SIZE),f=t.getParameter(t.MAX_CUBE_MAP_TEXTURE_SIZE),d=t.getParameter(t.MAX_VERTEX_ATTRIBS),m=t.getParameter(t.MAX_VERTEX_UNIFORM_VECTORS),v=t.getParameter(t.MAX_VARYING_VECTORS),g=t.getParameter(t.MAX_FRAGMENT_UNIFORM_VECTORS),y=h>0,_=o||e.has(\\\"OES_texture_float\\\");return{isWebGL2:o,drawBuffers:l,getMaxAnisotropy:function(){if(void 0!==r)return r;if(!0===e.has(\\\"EXT_texture_filter_anisotropic\\\")){const n=e.get(\\\"EXT_texture_filter_anisotropic\\\");r=t.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else r=0;return r},getMaxPrecision:i,precision:a,logarithmicDepthBuffer:u,maxTextures:c,maxVertexTextures:h,maxTextureSize:p,maxCubemapSize:f,maxAttributes:d,maxVertexUniforms:m,maxVaryings:v,maxFragmentUniforms:g,vertexTextures:y,floatFragmentTextures:_,floatVertexTextures:y&&_,maxSamples:o?t.getParameter(t.MAX_SAMPLES):0}}function Er(t){const e=this;let n=null,r=0,i=!1,o=!1;const a=new pr,s=new St,l={value:null,needsUpdate:!1};function u(){l.value!==n&&(l.value=n,l.needsUpdate=r>0),e.numPlanes=r,e.numIntersection=0}function c(t,n,r,i){const o=null!==t?t.length:0;let u=null;if(0!==o){if(u=l.value,!0!==i||null===u){const e=r+4*o,i=n.matrixWorldInverse;s.getNormalMatrix(i),(null===u||u.length<e)&&(u=new Float32Array(e));for(let e=0,n=r;e!==o;++e,n+=4)a.copy(t[e]).applyMatrix4(i,s),a.normal.toArray(u,n),u[n+3]=a.constant}l.value=u,l.needsUpdate=!0}return e.numPlanes=o,e.numIntersection=0,u}this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(t,e,o){const a=0!==t.length||e||0!==r||i;return i=e,n=c(t,o,0),r=t.length,a},this.beginShadows=function(){o=!0,c(null)},this.endShadows=function(){o=!1,u()},this.setState=function(e,a,s){const h=e.clippingPlanes,p=e.clipIntersection,f=e.clipShadows,d=t.get(e);if(!i||null===h||0===h.length||o&&!f)o?c(null):u();else{const t=o?0:r,e=4*t;let i=d.clippingState||null;l.value=i,i=c(h,a,e,s);for(let t=0;t!==e;++t)i[t]=n[t];d.clippingState=i,this.numIntersection=p?this.numPlanes:0,this.numPlanes+=t}}}function Tr(t){let e=new WeakMap;function n(t,e){return e===s?t.mapping=o:e===l&&(t.mapping=a),t}function r(t){const n=t.target;n.removeEventListener(\\\"dispose\\\",r);const i=e.get(n);void 0!==i&&(e.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture&&!1===i.isRenderTargetTexture){const o=i.mapping;if(o===s||o===l){if(e.has(i))return n(e.get(i).texture,i.mapping);{const o=i.image;if(o&&o.height>0){const a=new lr(o.height/2);return a.fromEquirectangularTexture(t,i),e.set(i,a),i.addEventListener(\\\"dispose\\\",r),n(a.texture,i.mapping)}return null}}}return i},dispose:function(){e=new WeakMap}}}xr.physical={uniforms:tr([xr.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new Tt(1,1)},clearcoatNormalMap:{value:null},iridescence:{value:0},iridescenceMap:{value:null},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},sheen:{value:0},sheenColor:{value:new qt(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new Tt},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new qt(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new qt(1,1,1)},specularColorMap:{value:null}}]),vertexShader:_r.meshphysical_vert,fragmentShader:_r.meshphysical_frag};class Sr extends rr{constructor(t=-1,e=1,n=1,r=-1,i=.1,o=2e3){super(),this.isOrthographicCamera=!0,this.type=\\\"OrthographicCamera\\\",this.zoom=1,this.view=null,this.left=t,this.right=e,this.top=n,this.bottom=r,this.near=i,this.far=o,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.near=t.near,this.far=t.far,this.zoom=t.zoom,this.view=null===t.view?null:Object.assign({},t.view),this}setViewOffset(t,e,n,r,i,o){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=(this.right-this.left)/(2*this.zoom),e=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let i=n-t,o=n+t,a=r+e,s=r-e;if(null!==this.view&&this.view.enabled){const t=(this.right-this.left)/this.view.fullWidth/this.zoom,e=(this.top-this.bottom)/this.view.fullHeight/this.zoom;i+=t*this.view.offsetX,o=i+t*this.view.width,a-=e*this.view.offsetY,s=a-e*this.view.height}this.projectionMatrix.makeOrthographic(i,o,a,s,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.zoom=this.zoom,e.object.left=this.left,e.object.right=this.right,e.object.top=this.top,e.object.bottom=this.bottom,e.object.near=this.near,e.object.far=this.far,null!==this.view&&(e.object.view=Object.assign({},this.view)),e}}const kr=[.125,.215,.35,.446,.526,.582],Or=new Sr,Ir=new qt;let Lr=null;const Pr=(1+Math.sqrt(5))/2,zr=1/Pr,Rr=[new ee(1,1,1),new ee(-1,1,1),new ee(1,1,-1),new ee(-1,1,-1),new ee(0,Pr,zr),new ee(0,Pr,-zr),new ee(zr,0,Pr),new ee(-zr,0,Pr),new ee(Pr,zr,0),new ee(-Pr,zr,0)];class Dr{constructor(t){this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(t,e=0,n=.1,r=100){Lr=this._renderer.getRenderTarget(),this._setSize(256);const i=this._allocateTargets();return i.depthBuffer=!0,this._sceneToCubeUV(t,n,r,i),e>0&&this._blur(i,0,0,e),this._applyPMREM(i),this._cleanup(i),i}fromEquirectangular(t,e=null){return this._fromTexture(t,e)}fromCubemap(t,e=null){return this._fromTexture(t,e)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=Fr(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=Nr(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let t=0;t<this._lodPlanes.length;t++)this._lodPlanes[t].dispose()}_cleanup(t){this._renderer.setRenderTarget(Lr),t.scissorTest=!1,Br(t,0,0,t.width,t.height)}_fromTexture(t,e){t.mapping===o||t.mapping===a?this._setSize(0===t.image.length?16:t.image[0].width||t.image[0].image.width):this._setSize(t.image.width/4),Lr=this._renderer.getRenderTarget();const n=e||this._allocateTargets();return this._textureToCubeUV(t,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){const t=3*Math.max(this._cubeSize,112),e=4*this._cubeSize,n={magFilter:v,minFilter:v,generateMipmaps:!1,type:A,format:M,encoding:at,depthBuffer:!1},r=$r(t,e,n);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==t){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=$r(t,e,n);const{_lodMax:r}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=function(t){const e=[],n=[],r=[];let i=t;const o=t-4+1+kr.length;for(let a=0;a<o;a++){const o=Math.pow(2,i);n.push(o);let s=1/o;a>t-4?s=kr[a-t+4-1]:0===a&&(s=0),r.push(s);const l=1/(o-2),u=-l,c=1+l,h=[u,u,c,u,c,c,u,u,c,c,u,c],p=6,f=6,d=3,m=2,v=1,g=new Float32Array(d*f*p),y=new Float32Array(m*f*p),_=new Float32Array(v*f*p);for(let t=0;t<p;t++){const e=t%3*2/3-1,n=t>2?0:-1,r=[e,n,0,e+2/3,n,0,e+2/3,n+1,0,e,n,0,e+2/3,n+1,0,e,n+1,0];g.set(r,d*f*t),y.set(h,m*f*t);const i=[t,t,t,t,t,t];_.set(i,v*f*t)}const b=new Ln;b.setAttribute(\\\"position\\\",new xn(g,d)),b.setAttribute(\\\"uv\\\",new xn(y,m)),b.setAttribute(\\\"faceIndex\\\",new xn(_,v)),e.push(b),i>4&&i--}return{lodPlanes:e,sizeLods:n,sigmas:r}}(r)),this._blurMaterial=function(t,e,n){const r=new Float32Array(20),i=new ee(0,1,0);return new nr({name:\\\"SphericalGaussianBlur\\\",defines:{n:20,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${t}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:r},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:\\\"\\\\n\\\\n\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\tattribute float faceIndex;\\\\n\\\\n\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t// RH coordinate system; PMREM face-indexing convention\\\\n\\\\t\\\\tvec3 getDirection( vec2 uv, float face ) {\\\\n\\\\n\\\\t\\\\t\\\\tuv = 2.0 * uv - 1.0;\\\\n\\\\n\\\\t\\\\t\\\\tvec3 direction = vec3( uv, 1.0 );\\\\n\\\\n\\\\t\\\\t\\\\tif ( face == 0.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx; // ( 1, v, u ) pos x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 1.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 2.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 3.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 4.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 5.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\treturn direction;\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\tvOutputDirection = getDirection( uv, faceIndex );\\\\n\\\\t\\\\t\\\\tgl_Position = vec4( position, 1.0 );\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\t\\\",fragmentShader:\\\"\\\\n\\\\n\\\\t\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t\\\\tuniform sampler2D envMap;\\\\n\\\\t\\\\t\\\\tuniform int samples;\\\\n\\\\t\\\\t\\\\tuniform float weights[ n ];\\\\n\\\\t\\\\t\\\\tuniform bool latitudinal;\\\\n\\\\t\\\\t\\\\tuniform float dTheta;\\\\n\\\\t\\\\t\\\\tuniform float mipInt;\\\\n\\\\t\\\\t\\\\tuniform vec3 poleAxis;\\\\n\\\\n\\\\t\\\\t\\\\t#define ENVMAP_TYPE_CUBE_UV\\\\n\\\\t\\\\t\\\\t#include <cube_uv_reflection_fragment>\\\\n\\\\n\\\\t\\\\t\\\\tvec3 getSample( float theta, vec3 axis ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tfloat cosTheta = cos( theta );\\\\n\\\\t\\\\t\\\\t\\\\t// Rodrigues' axis-angle rotation\\\\n\\\\t\\\\t\\\\t\\\\tvec3 sampleDirection = vOutputDirection * cosTheta\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t+ cross( axis, vOutputDirection ) * sin( theta )\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\taxis = normalize( axis );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tfor ( int i = 1; i < n; i++ ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif ( i >= samples ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tfloat theta = dTheta * float( i );\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\",blending:0,depthTest:!1,depthWrite:!1})}(r,t,e)}return r}_compileMaterial(t){const e=new Zn(this._lodPlanes[0],t);this._renderer.compile(e,Or)}_sceneToCubeUV(t,e,n,r){const i=new ir(90,1,e,n),o=[1,-1,1,1,1,1],a=[1,1,1,-1,-1,-1],s=this._renderer,l=s.autoClear,u=s.toneMapping;s.getClearColor(Ir),s.toneMapping=0,s.autoClear=!1;const c=new yn({name:\\\"PMREM.Background\\\",side:1,depthWrite:!1,depthTest:!1}),h=new Zn(new Jn,c);let p=!1;const f=t.background;f?f.isColor&&(c.color.copy(f),t.background=null,p=!0):(c.color.copy(Ir),p=!0);for(let e=0;e<6;e++){const n=e%3;0===n?(i.up.set(0,o[e],0),i.lookAt(a[e],0,0)):1===n?(i.up.set(0,0,o[e]),i.lookAt(0,a[e],0)):(i.up.set(0,o[e],0),i.lookAt(0,0,a[e]));const l=this._cubeSize;Br(r,n*l,e>2?l:0,l,l),s.setRenderTarget(r),p&&s.render(h,i),s.render(t,i)}h.geometry.dispose(),h.material.dispose(),s.toneMapping=u,s.autoClear=l,t.background=f}_textureToCubeUV(t,e){const n=this._renderer,r=t.mapping===o||t.mapping===a;r?(null===this._cubemapMaterial&&(this._cubemapMaterial=Fr()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===t.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=Nr());const i=r?this._cubemapMaterial:this._equirectMaterial,s=new Zn(this._lodPlanes[0],i);i.uniforms.envMap.value=t;const l=this._cubeSize;Br(e,0,0,3*l,2*l),n.setRenderTarget(e),n.render(s,Or)}_applyPMREM(t){const e=this._renderer,n=e.autoClear;e.autoClear=!1;for(let e=1;e<this._lodPlanes.length;e++){const n=Math.sqrt(this._sigmas[e]*this._sigmas[e]-this._sigmas[e-1]*this._sigmas[e-1]),r=Rr[(e-1)%Rr.length];this._blur(t,e-1,e,n,r)}e.autoClear=n}_blur(t,e,n,r,i){const o=this._pingPongRenderTarget;this._halfBlur(t,o,e,n,r,\\\"latitudinal\\\",i),this._halfBlur(o,t,n,n,r,\\\"longitudinal\\\",i)}_halfBlur(t,e,n,r,i,o,a){const s=this._renderer,l=this._blurMaterial;\\\"latitudinal\\\"!==o&&\\\"longitudinal\\\"!==o&&console.error(\\\"blur direction must be either latitudinal or longitudinal!\\\");const u=new Zn(this._lodPlanes[r],l),c=l.uniforms,h=this._sizeLods[n]-1,p=isFinite(i)?Math.PI/(2*h):2*Math.PI/39,f=i/p,d=isFinite(i)?1+Math.floor(3*f):20;d>20&&console.warn(`sigmaRadians, ${i}, is too large and will clip, as it requested ${d} samples when the maximum is set to 20`);const m=[];let v=0;for(let t=0;t<20;++t){const e=t/f,n=Math.exp(-e*e/2);m.push(n),0===t?v+=n:t<d&&(v+=2*n)}for(let t=0;t<m.length;t++)m[t]=m[t]/v;c.envMap.value=t.texture,c.samples.value=d,c.weights.value=m,c.latitudinal.value=\\\"latitudinal\\\"===o,a&&(c.poleAxis.value=a);const{_lodMax:g}=this;c.dTheta.value=p,c.mipInt.value=g-n;const y=this._sizeLods[r];Br(e,3*y*(r>g-4?r-g+4:0),4*(this._cubeSize-y),3*y,2*y),s.setRenderTarget(e),s.render(u,Or)}}function $r(t,e,n){const r=new Kt(t,e,n);return r.texture.mapping=u,r.texture.name=\\\"PMREM.cubeUv\\\",r.scissorTest=!0,r}function Br(t,e,n,r,i){t.viewport.set(e,n,r,i),t.scissor.set(e,n,r,i)}function Nr(){return new nr({name:\\\"EquirectangularToCubeUV\\\",uniforms:{envMap:{value:null}},vertexShader:\\\"\\\\n\\\\n\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\tattribute float faceIndex;\\\\n\\\\n\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t// RH coordinate system; PMREM face-indexing convention\\\\n\\\\t\\\\tvec3 getDirection( vec2 uv, float face ) {\\\\n\\\\n\\\\t\\\\t\\\\tuv = 2.0 * uv - 1.0;\\\\n\\\\n\\\\t\\\\t\\\\tvec3 direction = vec3( uv, 1.0 );\\\\n\\\\n\\\\t\\\\t\\\\tif ( face == 0.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx; // ( 1, v, u ) pos x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 1.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 2.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 3.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 4.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 5.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\treturn direction;\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\tvOutputDirection = getDirection( uv, faceIndex );\\\\n\\\\t\\\\t\\\\tgl_Position = vec4( position, 1.0 );\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\t\\\",fragmentShader:\\\"\\\\n\\\\n\\\\t\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t\\\\tuniform sampler2D envMap;\\\\n\\\\n\\\\t\\\\t\\\\t#include <common>\\\\n\\\\n\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec3 outputDirection = normalize( vOutputDirection );\\\\n\\\\t\\\\t\\\\t\\\\tvec2 uv = equirectUv( outputDirection );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\",blending:0,depthTest:!1,depthWrite:!1})}function Fr(){return new nr({name:\\\"CubemapToCubeUV\\\",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:\\\"\\\\n\\\\n\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\tattribute float faceIndex;\\\\n\\\\n\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t// RH coordinate system; PMREM face-indexing convention\\\\n\\\\t\\\\tvec3 getDirection( vec2 uv, float face ) {\\\\n\\\\n\\\\t\\\\t\\\\tuv = 2.0 * uv - 1.0;\\\\n\\\\n\\\\t\\\\t\\\\tvec3 direction = vec3( uv, 1.0 );\\\\n\\\\n\\\\t\\\\t\\\\tif ( face == 0.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx; // ( 1, v, u ) pos x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 1.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 2.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 3.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 4.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 5.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\treturn direction;\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\tvOutputDirection = getDirection( uv, faceIndex );\\\\n\\\\t\\\\t\\\\tgl_Position = vec4( position, 1.0 );\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\t\\\",fragmentShader:\\\"\\\\n\\\\n\\\\t\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\t\\\\tuniform float flipEnvMap;\\\\n\\\\n\\\\t\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t\\\\tuniform samplerCube envMap;\\\\n\\\\n\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\",blending:0,depthTest:!1,depthWrite:!1})}function jr(t){let e=new WeakMap,n=null;function r(t){const n=t.target;n.removeEventListener(\\\"dispose\\\",r);const i=e.get(n);void 0!==i&&(e.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture){const u=i.mapping,c=u===s||u===l,h=u===o||u===a;if(c||h){if(i.isRenderTargetTexture&&!0===i.needsPMREMUpdate){i.needsPMREMUpdate=!1;let r=e.get(i);return null===n&&(n=new Dr(t)),r=c?n.fromEquirectangular(i,r):n.fromCubemap(i,r),e.set(i,r),r.texture}if(e.has(i))return e.get(i).texture;{const o=i.image;if(c&&o&&o.height>0||h&&o&&function(t){let e=0;for(let n=0;n<6;n++)void 0!==t[n]&&e++;return 6===e}(o)){null===n&&(n=new Dr(t));const o=c?n.fromEquirectangular(i):n.fromCubemap(i);return e.set(i,o),i.addEventListener(\\\"dispose\\\",r),o.texture}return null}}}return i},dispose:function(){e=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function Ur(t){const e={};function n(n){if(void 0!==e[n])return e[n];let r;switch(n){case\\\"WEBGL_depth_texture\\\":r=t.getExtension(\\\"WEBGL_depth_texture\\\")||t.getExtension(\\\"MOZ_WEBGL_depth_texture\\\")||t.getExtension(\\\"WEBKIT_WEBGL_depth_texture\\\");break;case\\\"EXT_texture_filter_anisotropic\\\":r=t.getExtension(\\\"EXT_texture_filter_anisotropic\\\")||t.getExtension(\\\"MOZ_EXT_texture_filter_anisotropic\\\")||t.getExtension(\\\"WEBKIT_EXT_texture_filter_anisotropic\\\");break;case\\\"WEBGL_compressed_texture_s3tc\\\":r=t.getExtension(\\\"WEBGL_compressed_texture_s3tc\\\")||t.getExtension(\\\"MOZ_WEBGL_compressed_texture_s3tc\\\")||t.getExtension(\\\"WEBKIT_WEBGL_compressed_texture_s3tc\\\");break;case\\\"WEBGL_compressed_texture_pvrtc\\\":r=t.getExtension(\\\"WEBGL_compressed_texture_pvrtc\\\")||t.getExtension(\\\"WEBKIT_WEBGL_compressed_texture_pvrtc\\\");break;default:r=t.getExtension(n)}return e[n]=r,r}return{has:function(t){return null!==n(t)},init:function(t){t.isWebGL2?n(\\\"EXT_color_buffer_float\\\"):(n(\\\"WEBGL_depth_texture\\\"),n(\\\"OES_texture_float\\\"),n(\\\"OES_texture_half_float\\\"),n(\\\"OES_texture_half_float_linear\\\"),n(\\\"OES_standard_derivatives\\\"),n(\\\"OES_element_index_uint\\\"),n(\\\"OES_vertex_array_object\\\"),n(\\\"ANGLE_instanced_arrays\\\")),n(\\\"OES_texture_float_linear\\\"),n(\\\"EXT_color_buffer_half_float\\\"),n(\\\"WEBGL_multisampled_render_to_texture\\\")},get:function(t){const e=n(t);return null===e&&console.warn(\\\"THREE.WebGLRenderer: \\\"+t+\\\" extension not supported.\\\"),e}}}function qr(t,e,n,r){const i={},o=new WeakMap;function a(t){const s=t.target;null!==s.index&&e.remove(s.index);for(const t in s.attributes)e.remove(s.attributes[t]);s.removeEventListener(\\\"dispose\\\",a),delete i[s.id];const l=o.get(s);l&&(e.remove(l),o.delete(s)),r.releaseStatesOfGeometry(s),!0===s.isInstancedBufferGeometry&&delete s._maxInstanceCount,n.memory.geometries--}function s(t){const n=[],r=t.index,i=t.attributes.position;let a=0;if(null!==r){const t=r.array;a=r.version;for(let e=0,r=t.length;e<r;e+=3){const r=t[e+0],i=t[e+1],o=t[e+2];n.push(r,i,i,o,o,r)}}else{const t=i.array;a=i.version;for(let e=0,r=t.length/3-1;e<r;e+=3){const t=e+0,r=e+1,i=e+2;n.push(t,r,r,i,i,t)}}const s=new(kt(n)?An:wn)(n,1);s.version=a;const l=o.get(t);l&&e.remove(l),o.set(t,s)}return{get:function(t,e){return!0===i[e.id]||(e.addEventListener(\\\"dispose\\\",a),i[e.id]=!0,n.memory.geometries++),e},update:function(n){const r=n.attributes;for(const n in r)e.update(r[n],t.ARRAY_BUFFER);const i=n.morphAttributes;for(const n in i){const r=i[n];for(let n=0,i=r.length;n<i;n++)e.update(r[n],t.ARRAY_BUFFER)}},getWireframeAttribute:function(t){const e=o.get(t);if(e){const n=t.index;null!==n&&e.version<n.version&&s(t)}else s(t);return o.get(t)}}}function Vr(t,e,n,r){const i=r.isWebGL2;let o,a,s;this.setMode=function(t){o=t},this.setIndex=function(t){a=t.type,s=t.bytesPerElement},this.render=function(e,r){t.drawElements(o,r,a,e*s),n.update(r,o,1)},this.renderInstances=function(r,l,u){if(0===u)return;let c,h;if(i)c=t,h=\\\"drawElementsInstanced\\\";else if(c=e.get(\\\"ANGLE_instanced_arrays\\\"),h=\\\"drawElementsInstancedANGLE\\\",null===c)return void console.error(\\\"THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.\\\");c[h](o,l,a,r*s,u),n.update(l,o,u)}}function Hr(t){const e={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:e,programs:null,autoReset:!0,reset:function(){e.frame++,e.calls=0,e.triangles=0,e.points=0,e.lines=0},update:function(n,r,i){switch(e.calls++,r){case t.TRIANGLES:e.triangles+=i*(n/3);break;case t.LINES:e.lines+=i*(n/2);break;case t.LINE_STRIP:e.lines+=i*(n-1);break;case t.LINE_LOOP:e.lines+=i*n;break;case t.POINTS:e.points+=i*n;break;default:console.error(\\\"THREE.WebGLInfo: Unknown draw mode:\\\",r)}}}}function Gr(t,e){return t[0]-e[0]}function Wr(t,e){return Math.abs(e[1])-Math.abs(t[1])}function Xr(t,e){let n=1;const r=e.isInterleavedBufferAttribute?e.data.array:e.array;r instanceof Int8Array?n=127:r instanceof Uint8Array?n=255:r instanceof Uint16Array?n=65535:r instanceof Int16Array?n=32767:r instanceof Int32Array?n=2147483647:console.error(\\\"THREE.WebGLMorphtargets: Unsupported morph attribute data type: \\\",r),t.divideScalar(n)}function Yr(t,e,n){const r={},i=new Float32Array(8),o=new WeakMap,a=new Zt,s=[];for(let t=0;t<8;t++)s[t]=[t,0];return{update:function(l,u,c,h){const p=l.morphTargetInfluences;if(!0===e.isWebGL2){const f=u.morphAttributes.position||u.morphAttributes.normal||u.morphAttributes.color,d=void 0!==f?f.length:0;let m=o.get(u);if(void 0===m||m.count!==d){void 0!==m&&m.texture.dispose();const y=void 0!==u.morphAttributes.position,_=void 0!==u.morphAttributes.normal,b=void 0!==u.morphAttributes.color,x=u.morphAttributes.position||[],A=u.morphAttributes.normal||[],C=u.morphAttributes.color||[];let M=0;!0===y&&(M=1),!0===_&&(M=2),!0===b&&(M=3);let E=u.attributes.position.count*M,T=1;E>e.maxTextureSize&&(T=Math.ceil(E/e.maxTextureSize),E=e.maxTextureSize);const S=new Float32Array(E*T*4*d),k=new Jt(S,E,T,d);k.type=w,k.needsUpdate=!0;const O=4*M;for(let L=0;L<d;L++){const P=x[L],z=A[L],R=C[L],D=E*T*4*L;for(let $=0;$<P.count;$++){const B=$*O;!0===y&&(a.fromBufferAttribute(P,$),!0===P.normalized&&Xr(a,P),S[D+B+0]=a.x,S[D+B+1]=a.y,S[D+B+2]=a.z,S[D+B+3]=0),!0===_&&(a.fromBufferAttribute(z,$),!0===z.normalized&&Xr(a,z),S[D+B+4]=a.x,S[D+B+5]=a.y,S[D+B+6]=a.z,S[D+B+7]=0),!0===b&&(a.fromBufferAttribute(R,$),!0===R.normalized&&Xr(a,R),S[D+B+8]=a.x,S[D+B+9]=a.y,S[D+B+10]=a.z,S[D+B+11]=4===R.itemSize?a.w:1)}}function I(){k.dispose(),o.delete(u),u.removeEventListener(\\\"dispose\\\",I)}m={count:d,texture:k,size:new Tt(E,T)},o.set(u,m),u.addEventListener(\\\"dispose\\\",I)}let v=0;for(let N=0;N<p.length;N++)v+=p[N];const g=u.morphTargetsRelative?1:1-v;h.getUniforms().setValue(t,\\\"morphTargetBaseInfluence\\\",g),h.getUniforms().setValue(t,\\\"morphTargetInfluences\\\",p),h.getUniforms().setValue(t,\\\"morphTargetsTexture\\\",m.texture,n),h.getUniforms().setValue(t,\\\"morphTargetsTextureSize\\\",m.size)}else{const F=void 0===p?0:p.length;let j=r[u.id];if(void 0===j||j.length!==F){j=[];for(let G=0;G<F;G++)j[G]=[G,0];r[u.id]=j}for(let W=0;W<F;W++){const X=j[W];X[0]=W,X[1]=p[W]}j.sort(Wr);for(let Y=0;Y<8;Y++)Y<F&&j[Y][1]?(s[Y][0]=j[Y][0],s[Y][1]=j[Y][1]):(s[Y][0]=Number.MAX_SAFE_INTEGER,s[Y][1]=0);s.sort(Gr);const U=u.morphAttributes.position,q=u.morphAttributes.normal;let V=0;for(let Z=0;Z<8;Z++){const K=s[Z],J=K[0],Q=K[1];J!==Number.MAX_SAFE_INTEGER&&Q?(U&&u.getAttribute(\\\"morphTarget\\\"+Z)!==U[J]&&u.setAttribute(\\\"morphTarget\\\"+Z,U[J]),q&&u.getAttribute(\\\"morphNormal\\\"+Z)!==q[J]&&u.setAttribute(\\\"morphNormal\\\"+Z,q[J]),i[Z]=Q,V+=Q):(U&&!0===u.hasAttribute(\\\"morphTarget\\\"+Z)&&u.deleteAttribute(\\\"morphTarget\\\"+Z),q&&!0===u.hasAttribute(\\\"morphNormal\\\"+Z)&&u.deleteAttribute(\\\"morphNormal\\\"+Z),i[Z]=0)}const H=u.morphTargetsRelative?1:1-V;h.getUniforms().setValue(t,\\\"morphTargetBaseInfluence\\\",H),h.getUniforms().setValue(t,\\\"morphTargetInfluences\\\",i)}}}}function Zr(t,e,n,r){let i=new WeakMap;function o(t){const e=t.target;e.removeEventListener(\\\"dispose\\\",o),n.remove(e.instanceMatrix),null!==e.instanceColor&&n.remove(e.instanceColor)}return{update:function(a){const s=r.render.frame,l=a.geometry,u=e.get(a,l);return i.get(u)!==s&&(e.update(u),i.set(u,s)),a.isInstancedMesh&&(!1===a.hasEventListener(\\\"dispose\\\",o)&&a.addEventListener(\\\"dispose\\\",o),n.update(a.instanceMatrix,t.ARRAY_BUFFER),null!==a.instanceColor&&n.update(a.instanceColor,t.ARRAY_BUFFER)),u},dispose:function(){i=new WeakMap}}}const Kr=new Yt,Jr=new Jt,Qr=new Qt,ti=new sr,ei=[],ni=[],ri=new Float32Array(16),ii=new Float32Array(9),oi=new Float32Array(4);function ai(t,e,n){const r=t[0];if(r<=0||r>0)return t;const i=e*n;let o=ei[i];if(void 0===o&&(o=new Float32Array(i),ei[i]=o),0!==e){r.toArray(o,0);for(let r=1,i=0;r!==e;++r)i+=n,t[r].toArray(o,i)}return o}function si(t,e){if(t.length!==e.length)return!1;for(let n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0}function li(t,e){for(let n=0,r=e.length;n<r;n++)t[n]=e[n]}function ui(t,e){let n=ni[e];void 0===n&&(n=new Int32Array(e),ni[e]=n);for(let r=0;r!==e;++r)n[r]=t.allocateTextureUnit();return n}function ci(t,e){const n=this.cache;n[0]!==e&&(t.uniform1f(this.addr,e),n[0]=e)}function hi(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2f(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(si(n,e))return;t.uniform2fv(this.addr,e),li(n,e)}}function pi(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3f(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else if(void 0!==e.r)n[0]===e.r&&n[1]===e.g&&n[2]===e.b||(t.uniform3f(this.addr,e.r,e.g,e.b),n[0]=e.r,n[1]=e.g,n[2]=e.b);else{if(si(n,e))return;t.uniform3fv(this.addr,e),li(n,e)}}function fi(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4f(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(si(n,e))return;t.uniform4fv(this.addr,e),li(n,e)}}function di(t,e){const n=this.cache,r=e.elements;if(void 0===r){if(si(n,e))return;t.uniformMatrix2fv(this.addr,!1,e),li(n,e)}else{if(si(n,r))return;oi.set(r),t.uniformMatrix2fv(this.addr,!1,oi),li(n,r)}}function mi(t,e){const n=this.cache,r=e.elements;if(void 0===r){if(si(n,e))return;t.uniformMatrix3fv(this.addr,!1,e),li(n,e)}else{if(si(n,r))return;ii.set(r),t.uniformMatrix3fv(this.addr,!1,ii),li(n,r)}}function vi(t,e){const n=this.cache,r=e.elements;if(void 0===r){if(si(n,e))return;t.uniformMatrix4fv(this.addr,!1,e),li(n,e)}else{if(si(n,r))return;ri.set(r),t.uniformMatrix4fv(this.addr,!1,ri),li(n,r)}}function gi(t,e){const n=this.cache;n[0]!==e&&(t.uniform1i(this.addr,e),n[0]=e)}function yi(t,e){const n=this.cache;si(n,e)||(t.uniform2iv(this.addr,e),li(n,e))}function _i(t,e){const n=this.cache;si(n,e)||(t.uniform3iv(this.addr,e),li(n,e))}function bi(t,e){const n=this.cache;si(n,e)||(t.uniform4iv(this.addr,e),li(n,e))}function xi(t,e){const n=this.cache;n[0]!==e&&(t.uniform1ui(this.addr,e),n[0]=e)}function wi(t,e){const n=this.cache;si(n,e)||(t.uniform2uiv(this.addr,e),li(n,e))}function Ai(t,e){const n=this.cache;si(n,e)||(t.uniform3uiv(this.addr,e),li(n,e))}function Ci(t,e){const n=this.cache;si(n,e)||(t.uniform4uiv(this.addr,e),li(n,e))}function Mi(t,e,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(t.uniform1i(this.addr,i),r[0]=i),n.setTexture2D(e||Kr,i)}function Ei(t,e,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(t.uniform1i(this.addr,i),r[0]=i),n.setTexture3D(e||Qr,i)}function Ti(t,e,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(t.uniform1i(this.addr,i),r[0]=i),n.setTextureCube(e||ti,i)}function Si(t,e,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(t.uniform1i(this.addr,i),r[0]=i),n.setTexture2DArray(e||Jr,i)}function ki(t,e){t.uniform1fv(this.addr,e)}function Oi(t,e){const n=ai(e,this.size,2);t.uniform2fv(this.addr,n)}function Ii(t,e){const n=ai(e,this.size,3);t.uniform3fv(this.addr,n)}function Li(t,e){const n=ai(e,this.size,4);t.uniform4fv(this.addr,n)}function Pi(t,e){const n=ai(e,this.size,4);t.uniformMatrix2fv(this.addr,!1,n)}function zi(t,e){const n=ai(e,this.size,9);t.uniformMatrix3fv(this.addr,!1,n)}function Ri(t,e){const n=ai(e,this.size,16);t.uniformMatrix4fv(this.addr,!1,n)}function Di(t,e){t.uniform1iv(this.addr,e)}function $i(t,e){t.uniform2iv(this.addr,e)}function Bi(t,e){t.uniform3iv(this.addr,e)}function Ni(t,e){t.uniform4iv(this.addr,e)}function Fi(t,e){t.uniform1uiv(this.addr,e)}function ji(t,e){t.uniform2uiv(this.addr,e)}function Ui(t,e){t.uniform3uiv(this.addr,e)}function qi(t,e){t.uniform4uiv(this.addr,e)}function Vi(t,e,n){const r=e.length,i=ui(n,r);t.uniform1iv(this.addr,i);for(let t=0;t!==r;++t)n.setTexture2D(e[t]||Kr,i[t])}function Hi(t,e,n){const r=e.length,i=ui(n,r);t.uniform1iv(this.addr,i);for(let t=0;t!==r;++t)n.setTexture3D(e[t]||Qr,i[t])}function Gi(t,e,n){const r=e.length,i=ui(n,r);t.uniform1iv(this.addr,i);for(let t=0;t!==r;++t)n.setTextureCube(e[t]||ti,i[t])}function Wi(t,e,n){const r=e.length,i=ui(n,r);t.uniform1iv(this.addr,i);for(let t=0;t!==r;++t)n.setTexture2DArray(e[t]||Jr,i[t])}class Xi{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.setValue=function(t){switch(t){case 5126:return ci;case 35664:return hi;case 35665:return pi;case 35666:return fi;case 35674:return di;case 35675:return mi;case 35676:return vi;case 5124:case 35670:return gi;case 35667:case 35671:return yi;case 35668:case 35672:return _i;case 35669:case 35673:return bi;case 5125:return xi;case 36294:return wi;case 36295:return Ai;case 36296:return Ci;case 35678:case 36198:case 36298:case 36306:case 35682:return Mi;case 35679:case 36299:case 36307:return Ei;case 35680:case 36300:case 36308:case 36293:return Ti;case 36289:case 36303:case 36311:case 36292:return Si}}(e.type)}}class Yi{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.size=e.size,this.setValue=function(t){switch(t){case 5126:return ki;case 35664:return Oi;case 35665:return Ii;case 35666:return Li;case 35674:return Pi;case 35675:return zi;case 35676:return Ri;case 5124:case 35670:return Di;case 35667:case 35671:return $i;case 35668:case 35672:return Bi;case 35669:case 35673:return Ni;case 5125:return Fi;case 36294:return ji;case 36295:return Ui;case 36296:return qi;case 35678:case 36198:case 36298:case 36306:case 35682:return Vi;case 35679:case 36299:case 36307:return Hi;case 35680:case 36300:case 36308:case 36293:return Gi;case 36289:case 36303:case 36311:case 36292:return Wi}}(e.type)}}class Zi{constructor(t){this.id=t,this.seq=[],this.map={}}setValue(t,e,n){const r=this.seq;for(let i=0,o=r.length;i!==o;++i){const o=r[i];o.setValue(t,e[o.id],n)}}}const Ki=/(\\\\w+)(\\\\])?(\\\\[|\\\\.)?/g;function Ji(t,e){t.seq.push(e),t.map[e.id]=e}function Qi(t,e,n){const r=t.name,i=r.length;for(Ki.lastIndex=0;;){const o=Ki.exec(r),a=Ki.lastIndex;let s=o[1];const l=\\\"]\\\"===o[2],u=o[3];if(l&&(s|=0),void 0===u||\\\"[\\\"===u&&a+2===i){Ji(n,void 0===u?new Xi(s,t,e):new Yi(s,t,e));break}{let t=n.map[s];void 0===t&&(t=new Zi(s),Ji(n,t)),n=t}}}class to{constructor(t,e){this.seq=[],this.map={};const n=t.getProgramParameter(e,t.ACTIVE_UNIFORMS);for(let r=0;r<n;++r){const n=t.getActiveUniform(e,r);Qi(n,t.getUniformLocation(e,n.name),this)}}setValue(t,e,n,r){const i=this.map[e];void 0!==i&&i.setValue(t,n,r)}setOptional(t,e,n){const r=e[n];void 0!==r&&this.setValue(t,n,r)}static upload(t,e,n,r){for(let i=0,o=e.length;i!==o;++i){const o=e[i],a=n[o.id];!1!==a.needsUpdate&&o.setValue(t,a.value,r)}}static seqWithValue(t,e){const n=[];for(let r=0,i=t.length;r!==i;++r){const i=t[r];i.id in e&&n.push(i)}return n}}function eo(t,e,n){const r=t.createShader(e);return t.shaderSource(r,n),t.compileShader(r),r}let no=0;function ro(t,e,n){const r=t.getShaderParameter(e,t.COMPILE_STATUS),i=t.getShaderInfoLog(e).trim();if(r&&\\\"\\\"===i)return\\\"\\\";const o=/ERROR: 0:(\\\\d+)/.exec(i);if(o){const r=parseInt(o[1]);return n.toUpperCase()+\\\"\\\\n\\\\n\\\"+i+\\\"\\\\n\\\\n\\\"+function(t,e){const n=t.split(\\\"\\\\n\\\"),r=[],i=Math.max(e-6,0),o=Math.min(e+6,n.length);for(let t=i;t<o;t++){const i=t+1;r.push(`${i===e?\\\">\\\":\\\" \\\"} ${i}: ${n[t]}`)}return r.join(\\\"\\\\n\\\")}(t.getShaderSource(e),r)}return i}function io(t,e){const n=function(t){switch(t){case at:return[\\\"Linear\\\",\\\"( value )\\\"];case st:return[\\\"sRGB\\\",\\\"( value )\\\"];default:return console.warn(\\\"THREE.WebGLProgram: Unsupported encoding:\\\",t),[\\\"Linear\\\",\\\"( value )\\\"]}}(e);return\\\"vec4 \\\"+t+\\\"( vec4 value ) { return LinearTo\\\"+n[0]+n[1]+\\\"; }\\\"}function oo(t,e){let n;switch(e){case 1:n=\\\"Linear\\\";break;case 2:n=\\\"Reinhard\\\";break;case 3:n=\\\"OptimizedCineon\\\";break;case 4:n=\\\"ACESFilmic\\\";break;case 5:n=\\\"Custom\\\";break;default:console.warn(\\\"THREE.WebGLProgram: Unsupported toneMapping:\\\",e),n=\\\"Linear\\\"}return\\\"vec3 \\\"+t+\\\"( vec3 color ) { return \\\"+n+\\\"ToneMapping( color ); }\\\"}function ao(t){return\\\"\\\"!==t}function so(t,e){return t.replace(/NUM_DIR_LIGHTS/g,e.numDirLights).replace(/NUM_SPOT_LIGHTS/g,e.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g,e.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,e.numPointLights).replace(/NUM_HEMI_LIGHTS/g,e.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,e.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g,e.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,e.numPointLightShadows)}function lo(t,e){return t.replace(/NUM_CLIPPING_PLANES/g,e.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,e.numClippingPlanes-e.numClipIntersection)}const uo=/^[ \\\\t]*#include +<([\\\\w\\\\d./]+)>/gm;function co(t){return t.replace(uo,ho)}function ho(t,e){const n=_r[e];if(void 0===n)throw new Error(\\\"Can not resolve #include <\\\"+e+\\\">\\\");return co(n)}const po=/#pragma unroll_loop[\\\\s]+?for \\\\( int i \\\\= (\\\\d+)\\\\; i < (\\\\d+)\\\\; i \\\\+\\\\+ \\\\) \\\\{([\\\\s\\\\S]+?)(?=\\\\})\\\\}/g,fo=/#pragma unroll_loop_start\\\\s+for\\\\s*\\\\(\\\\s*int\\\\s+i\\\\s*=\\\\s*(\\\\d+)\\\\s*;\\\\s*i\\\\s*<\\\\s*(\\\\d+)\\\\s*;\\\\s*i\\\\s*\\\\+\\\\+\\\\s*\\\\)\\\\s*{([\\\\s\\\\S]+?)}\\\\s+#pragma unroll_loop_end/g;function mo(t){return t.replace(fo,go).replace(po,vo)}function vo(t,e,n,r){return console.warn(\\\"WebGLProgram: #pragma unroll_loop shader syntax is deprecated. Please use #pragma unroll_loop_start syntax instead.\\\"),go(0,e,n,r)}function go(t,e,n,r){let i=\\\"\\\";for(let t=parseInt(e);t<parseInt(n);t++)i+=r.replace(/\\\\[\\\\s*i\\\\s*\\\\]/g,\\\"[ \\\"+t+\\\" ]\\\").replace(/UNROLLED_LOOP_INDEX/g,t);return i}function yo(t){let e=\\\"precision \\\"+t.precision+\\\" float;\\\\nprecision \\\"+t.precision+\\\" int;\\\";return\\\"highp\\\"===t.precision?e+=\\\"\\\\n#define HIGH_PRECISION\\\":\\\"mediump\\\"===t.precision?e+=\\\"\\\\n#define MEDIUM_PRECISION\\\":\\\"lowp\\\"===t.precision&&(e+=\\\"\\\\n#define LOW_PRECISION\\\"),e}function _o(t,e,n,r){const i=t.getContext(),s=n.defines;let l=n.vertexShader,c=n.fragmentShader;const h=function(t){let e=\\\"SHADOWMAP_TYPE_BASIC\\\";return 1===t.shadowMapType?e=\\\"SHADOWMAP_TYPE_PCF\\\":2===t.shadowMapType?e=\\\"SHADOWMAP_TYPE_PCF_SOFT\\\":3===t.shadowMapType&&(e=\\\"SHADOWMAP_TYPE_VSM\\\"),e}(n),p=function(t){let e=\\\"ENVMAP_TYPE_CUBE\\\";if(t.envMap)switch(t.envMapMode){case o:case a:e=\\\"ENVMAP_TYPE_CUBE\\\";break;case u:e=\\\"ENVMAP_TYPE_CUBE_UV\\\"}return e}(n),f=function(t){let e=\\\"ENVMAP_MODE_REFLECTION\\\";return t.envMap&&t.envMapMode===a&&(e=\\\"ENVMAP_MODE_REFRACTION\\\"),e}(n),d=function(t){let e=\\\"ENVMAP_BLENDING_NONE\\\";if(t.envMap)switch(t.combine){case 0:e=\\\"ENVMAP_BLENDING_MULTIPLY\\\";break;case 1:e=\\\"ENVMAP_BLENDING_MIX\\\";break;case 2:e=\\\"ENVMAP_BLENDING_ADD\\\"}return e}(n),m=function(t){const e=t.envMapCubeUVHeight;if(null===e)return null;const n=Math.log2(e)-2,r=1/e;return{texelWidth:1/(3*Math.max(Math.pow(2,n),112)),texelHeight:r,maxMip:n}}(n),v=n.isWebGL2?\\\"\\\":function(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.tangentSpaceNormalMap||t.clearcoatNormalMap||t.flatShading||\\\"physical\\\"===t.shaderID?\\\"#extension GL_OES_standard_derivatives : enable\\\":\\\"\\\",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?\\\"#extension GL_EXT_frag_depth : enable\\\":\\\"\\\",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?\\\"#extension GL_EXT_draw_buffers : require\\\":\\\"\\\",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?\\\"#extension GL_EXT_shader_texture_lod : enable\\\":\\\"\\\"].filter(ao).join(\\\"\\\\n\\\")}(n),g=function(t){const e=[];for(const n in t){const r=t[n];!1!==r&&e.push(\\\"#define \\\"+n+\\\" \\\"+r)}return e.join(\\\"\\\\n\\\")}(s),y=i.createProgram();let _,b,x=n.glslVersion?\\\"#version \\\"+n.glslVersion+\\\"\\\\n\\\":\\\"\\\";n.isRawShaderMaterial?(_=[g].filter(ao).join(\\\"\\\\n\\\"),_.length>0&&(_+=\\\"\\\\n\\\"),b=[v,g].filter(ao).join(\\\"\\\\n\\\"),b.length>0&&(b+=\\\"\\\\n\\\")):(_=[yo(n),\\\"#define SHADER_NAME \\\"+n.shaderName,g,n.instancing?\\\"#define USE_INSTANCING\\\":\\\"\\\",n.instancingColor?\\\"#define USE_INSTANCING_COLOR\\\":\\\"\\\",n.supportsVertexTextures?\\\"#define VERTEX_TEXTURES\\\":\\\"\\\",n.useFog&&n.fog?\\\"#define USE_FOG\\\":\\\"\\\",n.useFog&&n.fogExp2?\\\"#define FOG_EXP2\\\":\\\"\\\",n.map?\\\"#define USE_MAP\\\":\\\"\\\",n.envMap?\\\"#define USE_ENVMAP\\\":\\\"\\\",n.envMap?\\\"#define \\\"+f:\\\"\\\",n.lightMap?\\\"#define USE_LIGHTMAP\\\":\\\"\\\",n.aoMap?\\\"#define USE_AOMAP\\\":\\\"\\\",n.emissiveMap?\\\"#define USE_EMISSIVEMAP\\\":\\\"\\\",n.bumpMap?\\\"#define USE_BUMPMAP\\\":\\\"\\\",n.normalMap?\\\"#define USE_NORMALMAP\\\":\\\"\\\",n.normalMap&&n.objectSpaceNormalMap?\\\"#define OBJECTSPACE_NORMALMAP\\\":\\\"\\\",n.normalMap&&n.tangentSpaceNormalMap?\\\"#define TANGENTSPACE_NORMALMAP\\\":\\\"\\\",n.clearcoatMap?\\\"#define USE_CLEARCOATMAP\\\":\\\"\\\",n.clearcoatRoughnessMap?\\\"#define USE_CLEARCOAT_ROUGHNESSMAP\\\":\\\"\\\",n.clearcoatNormalMap?\\\"#define USE_CLEARCOAT_NORMALMAP\\\":\\\"\\\",n.iridescenceMap?\\\"#define USE_IRIDESCENCEMAP\\\":\\\"\\\",n.iridescenceThicknessMap?\\\"#define USE_IRIDESCENCE_THICKNESSMAP\\\":\\\"\\\",n.displacementMap&&n.supportsVertexTextures?\\\"#define USE_DISPLACEMENTMAP\\\":\\\"\\\",n.specularMap?\\\"#define USE_SPECULARMAP\\\":\\\"\\\",n.specularIntensityMap?\\\"#define USE_SPECULARINTENSITYMAP\\\":\\\"\\\",n.specularColorMap?\\\"#define USE_SPECULARCOLORMAP\\\":\\\"\\\",n.roughnessMap?\\\"#define USE_ROUGHNESSMAP\\\":\\\"\\\",n.metalnessMap?\\\"#define USE_METALNESSMAP\\\":\\\"\\\",n.alphaMap?\\\"#define USE_ALPHAMAP\\\":\\\"\\\",n.transmission?\\\"#define USE_TRANSMISSION\\\":\\\"\\\",n.transmissionMap?\\\"#define USE_TRANSMISSIONMAP\\\":\\\"\\\",n.thicknessMap?\\\"#define USE_THICKNESSMAP\\\":\\\"\\\",n.sheenColorMap?\\\"#define USE_SHEENCOLORMAP\\\":\\\"\\\",n.sheenRoughnessMap?\\\"#define USE_SHEENROUGHNESSMAP\\\":\\\"\\\",n.vertexTangents?\\\"#define USE_TANGENT\\\":\\\"\\\",n.vertexColors?\\\"#define USE_COLOR\\\":\\\"\\\",n.vertexAlphas?\\\"#define USE_COLOR_ALPHA\\\":\\\"\\\",n.vertexUvs?\\\"#define USE_UV\\\":\\\"\\\",n.uvsVertexOnly?\\\"#define UVS_VERTEX_ONLY\\\":\\\"\\\",n.flatShading?\\\"#define FLAT_SHADED\\\":\\\"\\\",n.skinning?\\\"#define USE_SKINNING\\\":\\\"\\\",n.morphTargets?\\\"#define USE_MORPHTARGETS\\\":\\\"\\\",n.morphNormals&&!1===n.flatShading?\\\"#define USE_MORPHNORMALS\\\":\\\"\\\",n.morphColors&&n.isWebGL2?\\\"#define USE_MORPHCOLORS\\\":\\\"\\\",n.morphTargetsCount>0&&n.isWebGL2?\\\"#define MORPHTARGETS_TEXTURE\\\":\\\"\\\",n.morphTargetsCount>0&&n.isWebGL2?\\\"#define MORPHTARGETS_TEXTURE_STRIDE \\\"+n.morphTextureStride:\\\"\\\",n.morphTargetsCount>0&&n.isWebGL2?\\\"#define MORPHTARGETS_COUNT \\\"+n.morphTargetsCount:\\\"\\\",n.doubleSided?\\\"#define DOUBLE_SIDED\\\":\\\"\\\",n.flipSided?\\\"#define FLIP_SIDED\\\":\\\"\\\",n.shadowMapEnabled?\\\"#define USE_SHADOWMAP\\\":\\\"\\\",n.shadowMapEnabled?\\\"#define \\\"+h:\\\"\\\",n.sizeAttenuation?\\\"#define USE_SIZEATTENUATION\\\":\\\"\\\",n.logarithmicDepthBuffer?\\\"#define USE_LOGDEPTHBUF\\\":\\\"\\\",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?\\\"#define USE_LOGDEPTHBUF_EXT\\\":\\\"\\\",\\\"uniform mat4 modelMatrix;\\\",\\\"uniform mat4 modelViewMatrix;\\\",\\\"uniform mat4 projectionMatrix;\\\",\\\"uniform mat4 viewMatrix;\\\",\\\"uniform mat3 normalMatrix;\\\",\\\"uniform vec3 cameraPosition;\\\",\\\"uniform bool isOrthographic;\\\",\\\"#ifdef USE_INSTANCING\\\",\\\"\\\\tattribute mat4 instanceMatrix;\\\",\\\"#endif\\\",\\\"#ifdef USE_INSTANCING_COLOR\\\",\\\"\\\\tattribute vec3 instanceColor;\\\",\\\"#endif\\\",\\\"attribute vec3 position;\\\",\\\"attribute vec3 normal;\\\",\\\"attribute vec2 uv;\\\",\\\"#ifdef USE_TANGENT\\\",\\\"\\\\tattribute vec4 tangent;\\\",\\\"#endif\\\",\\\"#if defined( USE_COLOR_ALPHA )\\\",\\\"\\\\tattribute vec4 color;\\\",\\\"#elif defined( USE_COLOR )\\\",\\\"\\\\tattribute vec3 color;\\\",\\\"#endif\\\",\\\"#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )\\\",\\\"\\\\tattribute vec3 morphTarget0;\\\",\\\"\\\\tattribute vec3 morphTarget1;\\\",\\\"\\\\tattribute vec3 morphTarget2;\\\",\\\"\\\\tattribute vec3 morphTarget3;\\\",\\\"\\\\t#ifdef USE_MORPHNORMALS\\\",\\\"\\\\t\\\\tattribute vec3 morphNormal0;\\\",\\\"\\\\t\\\\tattribute vec3 morphNormal1;\\\",\\\"\\\\t\\\\tattribute vec3 morphNormal2;\\\",\\\"\\\\t\\\\tattribute vec3 morphNormal3;\\\",\\\"\\\\t#else\\\",\\\"\\\\t\\\\tattribute vec3 morphTarget4;\\\",\\\"\\\\t\\\\tattribute vec3 morphTarget5;\\\",\\\"\\\\t\\\\tattribute vec3 morphTarget6;\\\",\\\"\\\\t\\\\tattribute vec3 morphTarget7;\\\",\\\"\\\\t#endif\\\",\\\"#endif\\\",\\\"#ifdef USE_SKINNING\\\",\\\"\\\\tattribute vec4 skinIndex;\\\",\\\"\\\\tattribute vec4 skinWeight;\\\",\\\"#endif\\\",\\\"\\\\n\\\"].filter(ao).join(\\\"\\\\n\\\"),b=[v,yo(n),\\\"#define SHADER_NAME \\\"+n.shaderName,g,n.useFog&&n.fog?\\\"#define USE_FOG\\\":\\\"\\\",n.useFog&&n.fogExp2?\\\"#define FOG_EXP2\\\":\\\"\\\",n.map?\\\"#define USE_MAP\\\":\\\"\\\",n.matcap?\\\"#define USE_MATCAP\\\":\\\"\\\",n.envMap?\\\"#define USE_ENVMAP\\\":\\\"\\\",n.envMap?\\\"#define \\\"+p:\\\"\\\",n.envMap?\\\"#define \\\"+f:\\\"\\\",n.envMap?\\\"#define \\\"+d:\\\"\\\",m?\\\"#define CUBEUV_TEXEL_WIDTH \\\"+m.texelWidth:\\\"\\\",m?\\\"#define CUBEUV_TEXEL_HEIGHT \\\"+m.texelHeight:\\\"\\\",m?\\\"#define CUBEUV_MAX_MIP \\\"+m.maxMip+\\\".0\\\":\\\"\\\",n.lightMap?\\\"#define USE_LIGHTMAP\\\":\\\"\\\",n.aoMap?\\\"#define USE_AOMAP\\\":\\\"\\\",n.emissiveMap?\\\"#define USE_EMISSIVEMAP\\\":\\\"\\\",n.bumpMap?\\\"#define USE_BUMPMAP\\\":\\\"\\\",n.normalMap?\\\"#define USE_NORMALMAP\\\":\\\"\\\",n.normalMap&&n.objectSpaceNormalMap?\\\"#define OBJECTSPACE_NORMALMAP\\\":\\\"\\\",n.normalMap&&n.tangentSpaceNormalMap?\\\"#define TANGENTSPACE_NORMALMAP\\\":\\\"\\\",n.clearcoat?\\\"#define USE_CLEARCOAT\\\":\\\"\\\",n.clearcoatMap?\\\"#define USE_CLEARCOATMAP\\\":\\\"\\\",n.clearcoatRoughnessMap?\\\"#define USE_CLEARCOAT_ROUGHNESSMAP\\\":\\\"\\\",n.clearcoatNormalMap?\\\"#define USE_CLEARCOAT_NORMALMAP\\\":\\\"\\\",n.iridescence?\\\"#define USE_IRIDESCENCE\\\":\\\"\\\",n.iridescenceMap?\\\"#define USE_IRIDESCENCEMAP\\\":\\\"\\\",n.iridescenceThicknessMap?\\\"#define USE_IRIDESCENCE_THICKNESSMAP\\\":\\\"\\\",n.specularMap?\\\"#define USE_SPECULARMAP\\\":\\\"\\\",n.specularIntensityMap?\\\"#define USE_SPECULARINTENSITYMAP\\\":\\\"\\\",n.specularColorMap?\\\"#define USE_SPECULARCOLORMAP\\\":\\\"\\\",n.roughnessMap?\\\"#define USE_ROUGHNESSMAP\\\":\\\"\\\",n.metalnessMap?\\\"#define USE_METALNESSMAP\\\":\\\"\\\",n.alphaMap?\\\"#define USE_ALPHAMAP\\\":\\\"\\\",n.alphaTest?\\\"#define USE_ALPHATEST\\\":\\\"\\\",n.sheen?\\\"#define USE_SHEEN\\\":\\\"\\\",n.sheenColorMap?\\\"#define USE_SHEENCOLORMAP\\\":\\\"\\\",n.sheenRoughnessMap?\\\"#define USE_SHEENROUGHNESSMAP\\\":\\\"\\\",n.transmission?\\\"#define USE_TRANSMISSION\\\":\\\"\\\",n.transmissionMap?\\\"#define USE_TRANSMISSIONMAP\\\":\\\"\\\",n.thicknessMap?\\\"#define USE_THICKNESSMAP\\\":\\\"\\\",n.decodeVideoTexture?\\\"#define DECODE_VIDEO_TEXTURE\\\":\\\"\\\",n.vertexTangents?\\\"#define USE_TANGENT\\\":\\\"\\\",n.vertexColors||n.instancingColor?\\\"#define USE_COLOR\\\":\\\"\\\",n.vertexAlphas?\\\"#define USE_COLOR_ALPHA\\\":\\\"\\\",n.vertexUvs?\\\"#define USE_UV\\\":\\\"\\\",n.uvsVertexOnly?\\\"#define UVS_VERTEX_ONLY\\\":\\\"\\\",n.gradientMap?\\\"#define USE_GRADIENTMAP\\\":\\\"\\\",n.flatShading?\\\"#define FLAT_SHADED\\\":\\\"\\\",n.doubleSided?\\\"#define DOUBLE_SIDED\\\":\\\"\\\",n.flipSided?\\\"#define FLIP_SIDED\\\":\\\"\\\",n.shadowMapEnabled?\\\"#define USE_SHADOWMAP\\\":\\\"\\\",n.shadowMapEnabled?\\\"#define \\\"+h:\\\"\\\",n.premultipliedAlpha?\\\"#define PREMULTIPLIED_ALPHA\\\":\\\"\\\",n.physicallyCorrectLights?\\\"#define PHYSICALLY_CORRECT_LIGHTS\\\":\\\"\\\",n.logarithmicDepthBuffer?\\\"#define USE_LOGDEPTHBUF\\\":\\\"\\\",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?\\\"#define USE_LOGDEPTHBUF_EXT\\\":\\\"\\\",\\\"uniform mat4 viewMatrix;\\\",\\\"uniform vec3 cameraPosition;\\\",\\\"uniform bool isOrthographic;\\\",0!==n.toneMapping?\\\"#define TONE_MAPPING\\\":\\\"\\\",0!==n.toneMapping?_r.tonemapping_pars_fragment:\\\"\\\",0!==n.toneMapping?oo(\\\"toneMapping\\\",n.toneMapping):\\\"\\\",n.dithering?\\\"#define DITHERING\\\":\\\"\\\",n.opaque?\\\"#define OPAQUE\\\":\\\"\\\",_r.encodings_pars_fragment,io(\\\"linearToOutputTexel\\\",n.outputEncoding),n.useDepthPacking?\\\"#define DEPTH_PACKING \\\"+n.depthPacking:\\\"\\\",\\\"\\\\n\\\"].filter(ao).join(\\\"\\\\n\\\")),l=co(l),l=so(l,n),l=lo(l,n),c=co(c),c=so(c,n),c=lo(c,n),l=mo(l),c=mo(c),n.isWebGL2&&!0!==n.isRawShaderMaterial&&(x=\\\"#version 300 es\\\\n\\\",_=[\\\"precision mediump sampler2DArray;\\\",\\\"#define attribute in\\\",\\\"#define varying out\\\",\\\"#define texture2D texture\\\"].join(\\\"\\\\n\\\")+\\\"\\\\n\\\"+_,b=[\\\"#define varying in\\\",n.glslVersion===pt?\\\"\\\":\\\"layout(location = 0) out highp vec4 pc_fragColor;\\\",n.glslVersion===pt?\\\"\\\":\\\"#define gl_FragColor pc_fragColor\\\",\\\"#define gl_FragDepthEXT gl_FragDepth\\\",\\\"#define texture2D texture\\\",\\\"#define textureCube texture\\\",\\\"#define texture2DProj textureProj\\\",\\\"#define texture2DLodEXT textureLod\\\",\\\"#define texture2DProjLodEXT textureProjLod\\\",\\\"#define textureCubeLodEXT textureLod\\\",\\\"#define texture2DGradEXT textureGrad\\\",\\\"#define texture2DProjGradEXT textureProjGrad\\\",\\\"#define textureCubeGradEXT textureGrad\\\"].join(\\\"\\\\n\\\")+\\\"\\\\n\\\"+b);const w=x+_+l,A=x+b+c,C=eo(i,i.VERTEX_SHADER,w),M=eo(i,i.FRAGMENT_SHADER,A);if(i.attachShader(y,C),i.attachShader(y,M),void 0!==n.index0AttributeName?i.bindAttribLocation(y,0,n.index0AttributeName):!0===n.morphTargets&&i.bindAttribLocation(y,0,\\\"position\\\"),i.linkProgram(y),t.debug.checkShaderErrors){const t=i.getProgramInfoLog(y).trim(),e=i.getShaderInfoLog(C).trim(),n=i.getShaderInfoLog(M).trim();let r=!0,o=!0;if(!1===i.getProgramParameter(y,i.LINK_STATUS)){r=!1;const e=ro(i,C,\\\"vertex\\\"),n=ro(i,M,\\\"fragment\\\");console.error(\\\"THREE.WebGLProgram: Shader Error \\\"+i.getError()+\\\" - VALIDATE_STATUS \\\"+i.getProgramParameter(y,i.VALIDATE_STATUS)+\\\"\\\\n\\\\nProgram Info Log: \\\"+t+\\\"\\\\n\\\"+e+\\\"\\\\n\\\"+n)}else\\\"\\\"!==t?console.warn(\\\"THREE.WebGLProgram: Program Info Log:\\\",t):\\\"\\\"!==e&&\\\"\\\"!==n||(o=!1);o&&(this.diagnostics={runnable:r,programLog:t,vertexShader:{log:e,prefix:_},fragmentShader:{log:n,prefix:b}})}let E,T;return i.deleteShader(C),i.deleteShader(M),this.getUniforms=function(){return void 0===E&&(E=new to(i,y)),E},this.getAttributes=function(){return void 0===T&&(T=function(t,e){const n={},r=t.getProgramParameter(e,t.ACTIVE_ATTRIBUTES);for(let i=0;i<r;i++){const r=t.getActiveAttrib(e,i),o=r.name;let a=1;r.type===t.FLOAT_MAT2&&(a=2),r.type===t.FLOAT_MAT3&&(a=3),r.type===t.FLOAT_MAT4&&(a=4),n[o]={type:r.type,location:t.getAttribLocation(e,o),locationSize:a}}return n}(i,y)),T},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(y),this.program=void 0},this.name=n.shaderName,this.id=no++,this.cacheKey=e,this.usedTimes=1,this.program=y,this.vertexShader=C,this.fragmentShader=M,this}let bo=0;class xo{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(t){const e=t.vertexShader,n=t.fragmentShader,r=this._getShaderStage(e),i=this._getShaderStage(n),o=this._getShaderCacheForMaterial(t);return!1===o.has(r)&&(o.add(r),r.usedTimes++),!1===o.has(i)&&(o.add(i),i.usedTimes++),this}remove(t){const e=this.materialCache.get(t);for(const t of e)t.usedTimes--,0===t.usedTimes&&this.shaderCache.delete(t.code);return this.materialCache.delete(t),this}getVertexShaderID(t){return this._getShaderStage(t.vertexShader).id}getFragmentShaderID(t){return this._getShaderStage(t.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(t){const e=this.materialCache;return!1===e.has(t)&&e.set(t,new Set),e.get(t)}_getShaderStage(t){const e=this.shaderCache;if(!1===e.has(t)){const n=new wo(t);e.set(t,n)}return e.get(t)}}class wo{constructor(t){this.id=bo++,this.code=t,this.usedTimes=0}}function Ao(t,e,n,r,i,o,a){const s=new qe,l=new xo,c=[],h=i.isWebGL2,p=i.logarithmicDepthBuffer,f=i.vertexTextures;let d=i.precision;const m={MeshDepthMaterial:\\\"depth\\\",MeshDistanceMaterial:\\\"distanceRGBA\\\",MeshNormalMaterial:\\\"normal\\\",MeshBasicMaterial:\\\"basic\\\",MeshLambertMaterial:\\\"lambert\\\",MeshPhongMaterial:\\\"phong\\\",MeshToonMaterial:\\\"toon\\\",MeshStandardMaterial:\\\"physical\\\",MeshPhysicalMaterial:\\\"physical\\\",MeshMatcapMaterial:\\\"matcap\\\",LineBasicMaterial:\\\"basic\\\",LineDashedMaterial:\\\"dashed\\\",PointsMaterial:\\\"points\\\",ShadowMaterial:\\\"shadow\\\",SpriteMaterial:\\\"sprite\\\"};return{getParameters:function(o,s,c,v,g){const y=v.fog,_=g.geometry,b=o.isMeshStandardMaterial?v.environment:null,x=(o.isMeshStandardMaterial?n:e).get(o.envMap||b),w=x&&x.mapping===u?x.image.height:null,A=m[o.type];null!==o.precision&&(d=i.getMaxPrecision(o.precision),d!==o.precision&&console.warn(\\\"THREE.WebGLProgram.getParameters:\\\",o.precision,\\\"not supported, using\\\",d,\\\"instead.\\\"));const C=_.morphAttributes.position||_.morphAttributes.normal||_.morphAttributes.color,M=void 0!==C?C.length:0;let E,T,S,k,O=0;if(void 0!==_.morphAttributes.position&&(O=1),void 0!==_.morphAttributes.normal&&(O=2),void 0!==_.morphAttributes.color&&(O=3),A){const t=xr[A];E=t.vertexShader,T=t.fragmentShader}else E=o.vertexShader,T=o.fragmentShader,l.update(o),S=l.getVertexShaderID(o),k=l.getFragmentShaderID(o);const I=t.getRenderTarget(),L=o.alphaTest>0,P=o.clearcoat>0,z=o.iridescence>0;return{isWebGL2:h,shaderID:A,shaderName:o.type,vertexShader:E,fragmentShader:T,defines:o.defines,customVertexShaderID:S,customFragmentShaderID:k,isRawShaderMaterial:!0===o.isRawShaderMaterial,glslVersion:o.glslVersion,precision:d,instancing:!0===g.isInstancedMesh,instancingColor:!0===g.isInstancedMesh&&null!==g.instanceColor,supportsVertexTextures:f,outputEncoding:null===I?t.outputEncoding:!0===I.isXRRenderTarget?I.texture.encoding:at,map:!!o.map,matcap:!!o.matcap,envMap:!!x,envMapMode:x&&x.mapping,envMapCubeUVHeight:w,lightMap:!!o.lightMap,aoMap:!!o.aoMap,emissiveMap:!!o.emissiveMap,bumpMap:!!o.bumpMap,normalMap:!!o.normalMap,objectSpaceNormalMap:1===o.normalMapType,tangentSpaceNormalMap:0===o.normalMapType,decodeVideoTexture:!!o.map&&!0===o.map.isVideoTexture&&o.map.encoding===st,clearcoat:P,clearcoatMap:P&&!!o.clearcoatMap,clearcoatRoughnessMap:P&&!!o.clearcoatRoughnessMap,clearcoatNormalMap:P&&!!o.clearcoatNormalMap,iridescence:z,iridescenceMap:z&&!!o.iridescenceMap,iridescenceThicknessMap:z&&!!o.iridescenceThicknessMap,displacementMap:!!o.displacementMap,roughnessMap:!!o.roughnessMap,metalnessMap:!!o.metalnessMap,specularMap:!!o.specularMap,specularIntensityMap:!!o.specularIntensityMap,specularColorMap:!!o.specularColorMap,opaque:!1===o.transparent&&1===o.blending,alphaMap:!!o.alphaMap,alphaTest:L,gradientMap:!!o.gradientMap,sheen:o.sheen>0,sheenColorMap:!!o.sheenColorMap,sheenRoughnessMap:!!o.sheenRoughnessMap,transmission:o.transmission>0,transmissionMap:!!o.transmissionMap,thicknessMap:!!o.thicknessMap,combine:o.combine,vertexTangents:!!o.normalMap&&!!_.attributes.tangent,vertexColors:o.vertexColors,vertexAlphas:!0===o.vertexColors&&!!_.attributes.color&&4===_.attributes.color.itemSize,vertexUvs:!!(o.map||o.bumpMap||o.normalMap||o.specularMap||o.alphaMap||o.emissiveMap||o.roughnessMap||o.metalnessMap||o.clearcoatMap||o.clearcoatRoughnessMap||o.clearcoatNormalMap||o.iridescenceMap||o.iridescenceThicknessMap||o.displacementMap||o.transmissionMap||o.thicknessMap||o.specularIntensityMap||o.specularColorMap||o.sheenColorMap||o.sheenRoughnessMap),uvsVertexOnly:!(o.map||o.bumpMap||o.normalMap||o.specularMap||o.alphaMap||o.emissiveMap||o.roughnessMap||o.metalnessMap||o.clearcoatNormalMap||o.iridescenceMap||o.iridescenceThicknessMap||o.transmission>0||o.transmissionMap||o.thicknessMap||o.specularIntensityMap||o.specularColorMap||o.sheen>0||o.sheenColorMap||o.sheenRoughnessMap||!o.displacementMap),fog:!!y,useFog:!0===o.fog,fogExp2:y&&y.isFogExp2,flatShading:!!o.flatShading,sizeAttenuation:o.sizeAttenuation,logarithmicDepthBuffer:p,skinning:!0===g.isSkinnedMesh,morphTargets:void 0!==_.morphAttributes.position,morphNormals:void 0!==_.morphAttributes.normal,morphColors:void 0!==_.morphAttributes.color,morphTargetsCount:M,morphTextureStride:O,numDirLights:s.directional.length,numPointLights:s.point.length,numSpotLights:s.spot.length,numRectAreaLights:s.rectArea.length,numHemiLights:s.hemi.length,numDirLightShadows:s.directionalShadowMap.length,numPointLightShadows:s.pointShadowMap.length,numSpotLightShadows:s.spotShadowMap.length,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:o.dithering,shadowMapEnabled:t.shadowMap.enabled&&c.length>0,shadowMapType:t.shadowMap.type,toneMapping:o.toneMapped?t.toneMapping:0,physicallyCorrectLights:t.physicallyCorrectLights,premultipliedAlpha:o.premultipliedAlpha,doubleSided:2===o.side,flipSided:1===o.side,useDepthPacking:!!o.depthPacking,depthPacking:o.depthPacking||0,index0AttributeName:o.index0AttributeName,extensionDerivatives:o.extensions&&o.extensions.derivatives,extensionFragDepth:o.extensions&&o.extensions.fragDepth,extensionDrawBuffers:o.extensions&&o.extensions.drawBuffers,extensionShaderTextureLOD:o.extensions&&o.extensions.shaderTextureLOD,rendererExtensionFragDepth:h||r.has(\\\"EXT_frag_depth\\\"),rendererExtensionDrawBuffers:h||r.has(\\\"WEBGL_draw_buffers\\\"),rendererExtensionShaderTextureLod:h||r.has(\\\"EXT_shader_texture_lod\\\"),customProgramCacheKey:o.customProgramCacheKey()}},getProgramCacheKey:function(e){const n=[];if(e.shaderID?n.push(e.shaderID):(n.push(e.customVertexShaderID),n.push(e.customFragmentShaderID)),void 0!==e.defines)for(const t in e.defines)n.push(t),n.push(e.defines[t]);return!1===e.isRawShaderMaterial&&(function(t,e){t.push(e.precision),t.push(e.outputEncoding),t.push(e.envMapMode),t.push(e.envMapCubeUVHeight),t.push(e.combine),t.push(e.vertexUvs),t.push(e.fogExp2),t.push(e.sizeAttenuation),t.push(e.morphTargetsCount),t.push(e.morphAttributeCount),t.push(e.numDirLights),t.push(e.numPointLights),t.push(e.numSpotLights),t.push(e.numHemiLights),t.push(e.numRectAreaLights),t.push(e.numDirLightShadows),t.push(e.numPointLightShadows),t.push(e.numSpotLightShadows),t.push(e.shadowMapType),t.push(e.toneMapping),t.push(e.numClippingPlanes),t.push(e.numClipIntersection),t.push(e.depthPacking)}(n,e),function(t,e){s.disableAll(),e.isWebGL2&&s.enable(0),e.supportsVertexTextures&&s.enable(1),e.instancing&&s.enable(2),e.instancingColor&&s.enable(3),e.map&&s.enable(4),e.matcap&&s.enable(5),e.envMap&&s.enable(6),e.lightMap&&s.enable(7),e.aoMap&&s.enable(8),e.emissiveMap&&s.enable(9),e.bumpMap&&s.enable(10),e.normalMap&&s.enable(11),e.objectSpaceNormalMap&&s.enable(12),e.tangentSpaceNormalMap&&s.enable(13),e.clearcoat&&s.enable(14),e.clearcoatMap&&s.enable(15),e.clearcoatRoughnessMap&&s.enable(16),e.clearcoatNormalMap&&s.enable(17),e.iridescence&&s.enable(18),e.iridescenceMap&&s.enable(19),e.iridescenceThicknessMap&&s.enable(20),e.displacementMap&&s.enable(21),e.specularMap&&s.enable(22),e.roughnessMap&&s.enable(23),e.metalnessMap&&s.enable(24),e.gradientMap&&s.enable(25),e.alphaMap&&s.enable(26),e.alphaTest&&s.enable(27),e.vertexColors&&s.enable(28),e.vertexAlphas&&s.enable(29),e.vertexUvs&&s.enable(30),e.vertexTangents&&s.enable(31),e.uvsVertexOnly&&s.enable(32),e.fog&&s.enable(33),t.push(s.mask),s.disableAll(),e.useFog&&s.enable(0),e.flatShading&&s.enable(1),e.logarithmicDepthBuffer&&s.enable(2),e.skinning&&s.enable(3),e.morphTargets&&s.enable(4),e.morphNormals&&s.enable(5),e.morphColors&&s.enable(6),e.premultipliedAlpha&&s.enable(7),e.shadowMapEnabled&&s.enable(8),e.physicallyCorrectLights&&s.enable(9),e.doubleSided&&s.enable(10),e.flipSided&&s.enable(11),e.useDepthPacking&&s.enable(12),e.dithering&&s.enable(13),e.specularIntensityMap&&s.enable(14),e.specularColorMap&&s.enable(15),e.transmission&&s.enable(16),e.transmissionMap&&s.enable(17),e.thicknessMap&&s.enable(18),e.sheen&&s.enable(19),e.sheenColorMap&&s.enable(20),e.sheenRoughnessMap&&s.enable(21),e.decodeVideoTexture&&s.enable(22),e.opaque&&s.enable(23),t.push(s.mask)}(n,e),n.push(t.outputEncoding)),n.push(e.customProgramCacheKey),n.join()},getUniforms:function(t){const e=m[t.type];let n;if(e){const t=xr[e];n=er.clone(t.uniforms)}else n=t.uniforms;return n},acquireProgram:function(e,n){let r;for(let t=0,e=c.length;t<e;t++){const e=c[t];if(e.cacheKey===n){r=e,++r.usedTimes;break}}return void 0===r&&(r=new _o(t,n,e,o),c.push(r)),r},releaseProgram:function(t){if(0==--t.usedTimes){const e=c.indexOf(t);c[e]=c[c.length-1],c.pop(),t.destroy()}},releaseShaderCache:function(t){l.remove(t)},programs:c,dispose:function(){l.dispose()}}}function Co(){let t=new WeakMap;return{get:function(e){let n=t.get(e);return void 0===n&&(n={},t.set(e,n)),n},remove:function(e){t.delete(e)},update:function(e,n,r){t.get(e)[n]=r},dispose:function(){t=new WeakMap}}}function Mo(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.material.id!==e.material.id?t.material.id-e.material.id:t.z!==e.z?t.z-e.z:t.id-e.id}function Eo(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.z!==e.z?e.z-t.z:t.id-e.id}function To(){const t=[];let e=0;const n=[],r=[],i=[];function o(n,r,i,o,a,s){let l=t[e];return void 0===l?(l={id:n.id,object:n,geometry:r,material:i,groupOrder:o,renderOrder:n.renderOrder,z:a,group:s},t[e]=l):(l.id=n.id,l.object=n,l.geometry=r,l.material=i,l.groupOrder=o,l.renderOrder=n.renderOrder,l.z=a,l.group=s),e++,l}return{opaque:n,transmissive:r,transparent:i,init:function(){e=0,n.length=0,r.length=0,i.length=0},push:function(t,e,a,s,l,u){const c=o(t,e,a,s,l,u);a.transmission>0?r.push(c):!0===a.transparent?i.push(c):n.push(c)},unshift:function(t,e,a,s,l,u){const c=o(t,e,a,s,l,u);a.transmission>0?r.unshift(c):!0===a.transparent?i.unshift(c):n.unshift(c)},finish:function(){for(let n=e,r=t.length;n<r;n++){const e=t[n];if(null===e.id)break;e.id=null,e.object=null,e.geometry=null,e.material=null,e.group=null}},sort:function(t,e){n.length>1&&n.sort(t||Mo),r.length>1&&r.sort(e||Eo),i.length>1&&i.sort(e||Eo)}}}function So(){let t=new WeakMap;return{get:function(e,n){let r;return!1===t.has(e)?(r=new To,t.set(e,[r])):n>=t.get(e).length?(r=new To,t.get(e).push(r)):r=t.get(e)[n],r},dispose:function(){t=new WeakMap}}}function ko(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case\\\"DirectionalLight\\\":n={direction:new ee,color:new qt};break;case\\\"SpotLight\\\":n={position:new ee,direction:new ee,color:new qt,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case\\\"PointLight\\\":n={position:new ee,color:new qt,distance:0,decay:0};break;case\\\"HemisphereLight\\\":n={direction:new ee,skyColor:new qt,groundColor:new qt};break;case\\\"RectAreaLight\\\":n={color:new qt,position:new ee,halfWidth:new ee,halfHeight:new ee}}return t[e.id]=n,n}}}let Oo=0;function Io(t,e){return(e.castShadow?1:0)-(t.castShadow?1:0)}function Lo(t,e){const n=new ko,r=function(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case\\\"DirectionalLight\\\":case\\\"SpotLight\\\":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Tt};break;case\\\"PointLight\\\":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Tt,shadowCameraNear:1,shadowCameraFar:1e3}}return t[e.id]=n,n}}}(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotShadow:[],spotShadowMap:[],spotShadowMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[]};for(let t=0;t<9;t++)i.probe.push(new ee);const o=new ee,a=new Le,s=new Le;return{setup:function(o,a){let s=0,l=0,u=0;for(let t=0;t<9;t++)i.probe[t].set(0,0,0);let c=0,h=0,p=0,f=0,d=0,m=0,v=0,g=0;o.sort(Io);const y=!0!==a?Math.PI:1;for(let t=0,e=o.length;t<e;t++){const e=o[t],a=e.color,_=e.intensity,b=e.distance,x=e.shadow&&e.shadow.map?e.shadow.map.texture:null;if(e.isAmbientLight)s+=a.r*_*y,l+=a.g*_*y,u+=a.b*_*y;else if(e.isLightProbe)for(let t=0;t<9;t++)i.probe[t].addScaledVector(e.sh.coefficients[t],_);else if(e.isDirectionalLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*y),e.castShadow){const t=e.shadow,n=r.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,i.directionalShadow[c]=n,i.directionalShadowMap[c]=x,i.directionalShadowMatrix[c]=e.shadow.matrix,m++}i.directional[c]=t,c++}else if(e.isSpotLight){const t=n.get(e);if(t.position.setFromMatrixPosition(e.matrixWorld),t.color.copy(a).multiplyScalar(_*y),t.distance=b,t.coneCos=Math.cos(e.angle),t.penumbraCos=Math.cos(e.angle*(1-e.penumbra)),t.decay=e.decay,e.castShadow){const t=e.shadow,n=r.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,i.spotShadow[p]=n,i.spotShadowMap[p]=x,i.spotShadowMatrix[p]=e.shadow.matrix,g++}i.spot[p]=t,p++}else if(e.isRectAreaLight){const t=n.get(e);t.color.copy(a).multiplyScalar(_),t.halfWidth.set(.5*e.width,0,0),t.halfHeight.set(0,.5*e.height,0),i.rectArea[f]=t,f++}else if(e.isPointLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*y),t.distance=e.distance,t.decay=e.decay,e.castShadow){const t=e.shadow,n=r.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,n.shadowCameraNear=t.camera.near,n.shadowCameraFar=t.camera.far,i.pointShadow[h]=n,i.pointShadowMap[h]=x,i.pointShadowMatrix[h]=e.shadow.matrix,v++}i.point[h]=t,h++}else if(e.isHemisphereLight){const t=n.get(e);t.skyColor.copy(e.color).multiplyScalar(_*y),t.groundColor.copy(e.groundColor).multiplyScalar(_*y),i.hemi[d]=t,d++}}f>0&&(e.isWebGL2||!0===t.has(\\\"OES_texture_float_linear\\\")?(i.rectAreaLTC1=br.LTC_FLOAT_1,i.rectAreaLTC2=br.LTC_FLOAT_2):!0===t.has(\\\"OES_texture_half_float_linear\\\")?(i.rectAreaLTC1=br.LTC_HALF_1,i.rectAreaLTC2=br.LTC_HALF_2):console.error(\\\"THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.\\\")),i.ambient[0]=s,i.ambient[1]=l,i.ambient[2]=u;const _=i.hash;_.directionalLength===c&&_.pointLength===h&&_.spotLength===p&&_.rectAreaLength===f&&_.hemiLength===d&&_.numDirectionalShadows===m&&_.numPointShadows===v&&_.numSpotShadows===g||(i.directional.length=c,i.spot.length=p,i.rectArea.length=f,i.point.length=h,i.hemi.length=d,i.directionalShadow.length=m,i.directionalShadowMap.length=m,i.pointShadow.length=v,i.pointShadowMap.length=v,i.spotShadow.length=g,i.spotShadowMap.length=g,i.directionalShadowMatrix.length=m,i.pointShadowMatrix.length=v,i.spotShadowMatrix.length=g,_.directionalLength=c,_.pointLength=h,_.spotLength=p,_.rectAreaLength=f,_.hemiLength=d,_.numDirectionalShadows=m,_.numPointShadows=v,_.numSpotShadows=g,i.version=Oo++)},setupView:function(t,e){let n=0,r=0,l=0,u=0,c=0;const h=e.matrixWorldInverse;for(let e=0,p=t.length;e<p;e++){const p=t[e];if(p.isDirectionalLight){const t=i.directional[n];t.direction.setFromMatrixPosition(p.matrixWorld),o.setFromMatrixPosition(p.target.matrixWorld),t.direction.sub(o),t.direction.transformDirection(h),n++}else if(p.isSpotLight){const t=i.spot[l];t.position.setFromMatrixPosition(p.matrixWorld),t.position.applyMatrix4(h),t.direction.setFromMatrixPosition(p.matrixWorld),o.setFromMatrixPosition(p.target.matrixWorld),t.direction.sub(o),t.direction.transformDirection(h),l++}else if(p.isRectAreaLight){const t=i.rectArea[u];t.position.setFromMatrixPosition(p.matrixWorld),t.position.applyMatrix4(h),s.identity(),a.copy(p.matrixWorld),a.premultiply(h),s.extractRotation(a),t.halfWidth.set(.5*p.width,0,0),t.halfHeight.set(0,.5*p.height,0),t.halfWidth.applyMatrix4(s),t.halfHeight.applyMatrix4(s),u++}else if(p.isPointLight){const t=i.point[r];t.position.setFromMatrixPosition(p.matrixWorld),t.position.applyMatrix4(h),r++}else if(p.isHemisphereLight){const t=i.hemi[c];t.direction.setFromMatrixPosition(p.matrixWorld),t.direction.transformDirection(h),c++}}},state:i}}function Po(t,e){const n=new Lo(t,e),r=[],i=[];return{init:function(){r.length=0,i.length=0},state:{lightsArray:r,shadowsArray:i,lights:n},setupLights:function(t){n.setup(r,t)},setupLightsView:function(t){n.setupView(r,t)},pushLight:function(t){r.push(t)},pushShadow:function(t){i.push(t)}}}function zo(t,e){let n=new WeakMap;return{get:function(r,i=0){let o;return!1===n.has(r)?(o=new Po(t,e),n.set(r,[o])):i>=n.get(r).length?(o=new Po(t,e),n.get(r).push(o)):o=n.get(r)[i],o},dispose:function(){n=new WeakMap}}}class Ro extends gn{constructor(t){super(),this.isMeshDepthMaterial=!0,this.type=\\\"MeshDepthMaterial\\\",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(t)}copy(t){return super.copy(t),this.depthPacking=t.depthPacking,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}}class Do extends gn{constructor(t){super(),this.isMeshDistanceMaterial=!0,this.type=\\\"MeshDistanceMaterial\\\",this.referencePosition=new ee,this.nearDistance=1,this.farDistance=1e3,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(t)}copy(t){return super.copy(t),this.referencePosition.copy(t.referencePosition),this.nearDistance=t.nearDistance,this.farDistance=t.farDistance,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}}function $o(t,e,n){let r=new mr;const i=new Tt,o=new Tt,a=new Zt,s=new Ro({depthPacking:3201}),l=new Do,u={},c=n.maxTextureSize,h={0:1,1:0,2:2},p=new nr({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new Tt},radius:{value:4}},vertexShader:\\\"void main() {\\\\n\\\\tgl_Position = vec4( position, 1.0 );\\\\n}\\\",fragmentShader:\\\"uniform sampler2D shadow_pass;\\\\nuniform vec2 resolution;\\\\nuniform float radius;\\\\n#include <packing>\\\\nvoid main() {\\\\n\\\\tconst float samples = float( VSM_SAMPLES );\\\\n\\\\tfloat mean = 0.0;\\\\n\\\\tfloat squared_mean = 0.0;\\\\n\\\\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\\\\n\\\\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\\\\n\\\\tfor ( float i = 0.0; i < samples; i ++ ) {\\\\n\\\\t\\\\tfloat uvOffset = uvStart + i * uvStride;\\\\n\\\\t\\\\t#ifdef HORIZONTAL_PASS\\\\n\\\\t\\\\t\\\\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\\\\n\\\\t\\\\t\\\\tmean += distribution.x;\\\\n\\\\t\\\\t\\\\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\\\\n\\\\t\\\\t\\\\tmean += depth;\\\\n\\\\t\\\\t\\\\tsquared_mean += depth * depth;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\tmean = mean / samples;\\\\n\\\\tsquared_mean = squared_mean / samples;\\\\n\\\\tfloat std_dev = sqrt( squared_mean - mean * mean );\\\\n\\\\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\\\\n}\\\"}),d=p.clone();d.defines.HORIZONTAL_PASS=1;const m=new Ln;m.setAttribute(\\\"position\\\",new xn(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const v=new Zn(m,p),g=this;function y(n,r){const o=e.update(v);p.defines.VSM_SAMPLES!==n.blurSamples&&(p.defines.VSM_SAMPLES=n.blurSamples,d.defines.VSM_SAMPLES=n.blurSamples,p.needsUpdate=!0,d.needsUpdate=!0),null===n.mapPass&&(n.mapPass=new Kt(i.x,i.y)),p.uniforms.shadow_pass.value=n.map.texture,p.uniforms.resolution.value=n.mapSize,p.uniforms.radius.value=n.radius,t.setRenderTarget(n.mapPass),t.clear(),t.renderBufferDirect(r,null,o,p,v,null),d.uniforms.shadow_pass.value=n.mapPass.texture,d.uniforms.resolution.value=n.mapSize,d.uniforms.radius.value=n.radius,t.setRenderTarget(n.map),t.clear(),t.renderBufferDirect(r,null,o,d,v,null)}function _(e,n,r,i,o,a){let c=null;const p=!0===r.isPointLight?e.customDistanceMaterial:e.customDepthMaterial;if(c=void 0!==p?p:!0===r.isPointLight?l:s,t.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0){const t=c.uuid,e=n.uuid;let r=u[t];void 0===r&&(r={},u[t]=r);let i=r[e];void 0===i&&(i=c.clone(),r[e]=i),c=i}return c.visible=n.visible,c.wireframe=n.wireframe,c.side=3===a?null!==n.shadowSide?n.shadowSide:n.side:null!==n.shadowSide?n.shadowSide:h[n.side],c.alphaMap=n.alphaMap,c.alphaTest=n.alphaTest,c.clipShadows=n.clipShadows,c.clippingPlanes=n.clippingPlanes,c.clipIntersection=n.clipIntersection,c.displacementMap=n.displacementMap,c.displacementScale=n.displacementScale,c.displacementBias=n.displacementBias,c.wireframeLinewidth=n.wireframeLinewidth,c.linewidth=n.linewidth,!0===r.isPointLight&&!0===c.isMeshDistanceMaterial&&(c.referencePosition.setFromMatrixPosition(r.matrixWorld),c.nearDistance=i,c.farDistance=o),c}function b(n,i,o,a,s){if(!1===n.visible)return;if(n.layers.test(i.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&3===s)&&(!n.frustumCulled||r.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(o.matrixWorldInverse,n.matrixWorld);const r=e.update(n),i=n.material;if(Array.isArray(i)){const e=r.groups;for(let l=0,u=e.length;l<u;l++){const u=e[l],c=i[u.materialIndex];if(c&&c.visible){const e=_(n,c,a,o.near,o.far,s);t.renderBufferDirect(o,null,r,e,n,u)}}}else if(i.visible){const e=_(n,i,a,o.near,o.far,s);t.renderBufferDirect(o,null,r,e,n,null)}}const l=n.children;for(let t=0,e=l.length;t<e;t++)b(l[t],i,o,a,s)}this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1,this.render=function(e,n,s){if(!1===g.enabled)return;if(!1===g.autoUpdate&&!1===g.needsUpdate)return;if(0===e.length)return;const l=t.getRenderTarget(),u=t.getActiveCubeFace(),h=t.getActiveMipmapLevel(),p=t.state;p.setBlending(0),p.buffers.color.setClear(1,1,1,1),p.buffers.depth.setTest(!0),p.setScissorTest(!1);for(let l=0,u=e.length;l<u;l++){const u=e[l],h=u.shadow;if(void 0===h){console.warn(\\\"THREE.WebGLShadowMap:\\\",u,\\\"has no shadow.\\\");continue}if(!1===h.autoUpdate&&!1===h.needsUpdate)continue;i.copy(h.mapSize);const d=h.getFrameExtents();if(i.multiply(d),o.copy(h.mapSize),(i.x>c||i.y>c)&&(i.x>c&&(o.x=Math.floor(c/d.x),i.x=o.x*d.x,h.mapSize.x=o.x),i.y>c&&(o.y=Math.floor(c/d.y),i.y=o.y*d.y,h.mapSize.y=o.y)),null===h.map){const t=3!==this.type?{minFilter:f,magFilter:f}:{};h.map=new Kt(i.x,i.y,t),h.map.texture.name=u.name+\\\".shadowMap\\\",h.camera.updateProjectionMatrix()}t.setRenderTarget(h.map),t.clear();const m=h.getViewportCount();for(let t=0;t<m;t++){const e=h.getViewport(t);a.set(o.x*e.x,o.y*e.y,o.x*e.z,o.y*e.w),p.viewport(a),h.updateMatrices(u,t),r=h.getFrustum(),b(n,s,h.camera,u,this.type)}!0!==h.isPointLightShadow&&3===this.type&&y(h,s),h.needsUpdate=!1}g.needsUpdate=!1,t.setRenderTarget(l,u,h)}}function Bo(t,e,n){const i=n.isWebGL2,o=new function(){let e=!1;const n=new Zt;let r=null;const i=new Zt(0,0,0,0);return{setMask:function(n){r===n||e||(t.colorMask(n,n,n,n),r=n)},setLocked:function(t){e=t},setClear:function(e,r,o,a,s){!0===s&&(e*=a,r*=a,o*=a),n.set(e,r,o,a),!1===i.equals(n)&&(t.clearColor(e,r,o,a),i.copy(n))},reset:function(){e=!1,r=null,i.set(-1,0,0,0)}}},a=new function(){let e=!1,n=null,r=null,i=null;return{setTest:function(e){e?j(t.DEPTH_TEST):U(t.DEPTH_TEST)},setMask:function(r){n===r||e||(t.depthMask(r),n=r)},setFunc:function(e){if(r!==e){if(e)switch(e){case 0:t.depthFunc(t.NEVER);break;case 1:t.depthFunc(t.ALWAYS);break;case 2:t.depthFunc(t.LESS);break;case 3:default:t.depthFunc(t.LEQUAL);break;case 4:t.depthFunc(t.EQUAL);break;case 5:t.depthFunc(t.GEQUAL);break;case 6:t.depthFunc(t.GREATER);break;case 7:t.depthFunc(t.NOTEQUAL)}else t.depthFunc(t.LEQUAL);r=e}},setLocked:function(t){e=t},setClear:function(e){i!==e&&(t.clearDepth(e),i=e)},reset:function(){e=!1,n=null,r=null,i=null}}},s=new function(){let e=!1,n=null,r=null,i=null,o=null,a=null,s=null,l=null,u=null;return{setTest:function(n){e||(n?j(t.STENCIL_TEST):U(t.STENCIL_TEST))},setMask:function(r){n===r||e||(t.stencilMask(r),n=r)},setFunc:function(e,n,a){r===e&&i===n&&o===a||(t.stencilFunc(e,n,a),r=e,i=n,o=a)},setOp:function(e,n,r){a===e&&s===n&&l===r||(t.stencilOp(e,n,r),a=e,s=n,l=r)},setLocked:function(t){e=t},setClear:function(e){u!==e&&(t.clearStencil(e),u=e)},reset:function(){e=!1,n=null,r=null,i=null,o=null,a=null,s=null,l=null,u=null}}},l=new WeakMap,u=new WeakMap;let c={},h={},p=new WeakMap,f=[],d=null,m=!1,v=null,g=null,y=null,_=null,b=null,x=null,w=null,A=!1,C=null,M=null,E=null,T=null,S=null;const k=t.getParameter(t.MAX_COMBINED_TEXTURE_IMAGE_UNITS);let O=!1,I=0;const L=t.getParameter(t.VERSION);-1!==L.indexOf(\\\"WebGL\\\")?(I=parseFloat(/^WebGL (\\\\d)/.exec(L)[1]),O=I>=1):-1!==L.indexOf(\\\"OpenGL ES\\\")&&(I=parseFloat(/^OpenGL ES (\\\\d)/.exec(L)[1]),O=I>=2);let P=null,z={};const R=t.getParameter(t.SCISSOR_BOX),D=t.getParameter(t.VIEWPORT),$=(new Zt).fromArray(R),B=(new Zt).fromArray(D);function N(e,n,r){const i=new Uint8Array(4),o=t.createTexture();t.bindTexture(e,o),t.texParameteri(e,t.TEXTURE_MIN_FILTER,t.NEAREST),t.texParameteri(e,t.TEXTURE_MAG_FILTER,t.NEAREST);for(let e=0;e<r;e++)t.texImage2D(n+e,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,i);return o}const F={};function j(e){!0!==c[e]&&(t.enable(e),c[e]=!0)}function U(e){!1!==c[e]&&(t.disable(e),c[e]=!1)}F[t.TEXTURE_2D]=N(t.TEXTURE_2D,t.TEXTURE_2D,1),F[t.TEXTURE_CUBE_MAP]=N(t.TEXTURE_CUBE_MAP,t.TEXTURE_CUBE_MAP_POSITIVE_X,6),o.setClear(0,0,0,1),a.setClear(1),s.setClear(0),j(t.DEPTH_TEST),a.setFunc(3),G(!1),W(1),j(t.CULL_FACE),H(0);const q={[r]:t.FUNC_ADD,101:t.FUNC_SUBTRACT,102:t.FUNC_REVERSE_SUBTRACT};if(i)q[103]=t.MIN,q[104]=t.MAX;else{const t=e.get(\\\"EXT_blend_minmax\\\");null!==t&&(q[103]=t.MIN_EXT,q[104]=t.MAX_EXT)}const V={200:t.ZERO,201:t.ONE,202:t.SRC_COLOR,204:t.SRC_ALPHA,210:t.SRC_ALPHA_SATURATE,208:t.DST_COLOR,206:t.DST_ALPHA,203:t.ONE_MINUS_SRC_COLOR,205:t.ONE_MINUS_SRC_ALPHA,209:t.ONE_MINUS_DST_COLOR,207:t.ONE_MINUS_DST_ALPHA};function H(e,n,i,o,a,s,l,u){if(0!==e){if(!1===m&&(j(t.BLEND),m=!0),5===e)a=a||n,s=s||i,l=l||o,n===g&&a===b||(t.blendEquationSeparate(q[n],q[a]),g=n,b=a),i===y&&o===_&&s===x&&l===w||(t.blendFuncSeparate(V[i],V[o],V[s],V[l]),y=i,_=o,x=s,w=l),v=e,A=null;else if(e!==v||u!==A){if(g===r&&b===r||(t.blendEquation(t.FUNC_ADD),g=r,b=r),u)switch(e){case 1:t.blendFuncSeparate(t.ONE,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA);break;case 2:t.blendFunc(t.ONE,t.ONE);break;case 3:t.blendFuncSeparate(t.ZERO,t.ONE_MINUS_SRC_COLOR,t.ZERO,t.ONE);break;case 4:t.blendFuncSeparate(t.ZERO,t.SRC_COLOR,t.ZERO,t.SRC_ALPHA);break;default:console.error(\\\"THREE.WebGLState: Invalid blending: \\\",e)}else switch(e){case 1:t.blendFuncSeparate(t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA);break;case 2:t.blendFunc(t.SRC_ALPHA,t.ONE);break;case 3:t.blendFuncSeparate(t.ZERO,t.ONE_MINUS_SRC_COLOR,t.ZERO,t.ONE);break;case 4:t.blendFunc(t.ZERO,t.SRC_COLOR);break;default:console.error(\\\"THREE.WebGLState: Invalid blending: \\\",e)}y=null,_=null,x=null,w=null,v=e,A=u}}else!0===m&&(U(t.BLEND),m=!1)}function G(e){C!==e&&(e?t.frontFace(t.CW):t.frontFace(t.CCW),C=e)}function W(e){0!==e?(j(t.CULL_FACE),e!==M&&(1===e?t.cullFace(t.BACK):2===e?t.cullFace(t.FRONT):t.cullFace(t.FRONT_AND_BACK))):U(t.CULL_FACE),M=e}function X(e,n,r){e?(j(t.POLYGON_OFFSET_FILL),T===n&&S===r||(t.polygonOffset(n,r),T=n,S=r)):U(t.POLYGON_OFFSET_FILL)}function Y(e){void 0===e&&(e=t.TEXTURE0+k-1),P!==e&&(t.activeTexture(e),P=e)}return{buffers:{color:o,depth:a,stencil:s},enable:j,disable:U,bindFramebuffer:function(e,n){return h[e]!==n&&(t.bindFramebuffer(e,n),h[e]=n,i&&(e===t.DRAW_FRAMEBUFFER&&(h[t.FRAMEBUFFER]=n),e===t.FRAMEBUFFER&&(h[t.DRAW_FRAMEBUFFER]=n)),!0)},drawBuffers:function(r,i){let o=f,a=!1;if(r)if(o=p.get(i),void 0===o&&(o=[],p.set(i,o)),r.isWebGLMultipleRenderTargets){const e=r.texture;if(o.length!==e.length||o[0]!==t.COLOR_ATTACHMENT0){for(let n=0,r=e.length;n<r;n++)o[n]=t.COLOR_ATTACHMENT0+n;o.length=e.length,a=!0}}else o[0]!==t.COLOR_ATTACHMENT0&&(o[0]=t.COLOR_ATTACHMENT0,a=!0);else o[0]!==t.BACK&&(o[0]=t.BACK,a=!0);a&&(n.isWebGL2?t.drawBuffers(o):e.get(\\\"WEBGL_draw_buffers\\\").drawBuffersWEBGL(o))},useProgram:function(e){return d!==e&&(t.useProgram(e),d=e,!0)},setBlending:H,setMaterial:function(e,n){2===e.side?U(t.CULL_FACE):j(t.CULL_FACE);let r=1===e.side;n&&(r=!r),G(r),1===e.blending&&!1===e.transparent?H(0):H(e.blending,e.blendEquation,e.blendSrc,e.blendDst,e.blendEquationAlpha,e.blendSrcAlpha,e.blendDstAlpha,e.premultipliedAlpha),a.setFunc(e.depthFunc),a.setTest(e.depthTest),a.setMask(e.depthWrite),o.setMask(e.colorWrite);const i=e.stencilWrite;s.setTest(i),i&&(s.setMask(e.stencilWriteMask),s.setFunc(e.stencilFunc,e.stencilRef,e.stencilFuncMask),s.setOp(e.stencilFail,e.stencilZFail,e.stencilZPass)),X(e.polygonOffset,e.polygonOffsetFactor,e.polygonOffsetUnits),!0===e.alphaToCoverage?j(t.SAMPLE_ALPHA_TO_COVERAGE):U(t.SAMPLE_ALPHA_TO_COVERAGE)},setFlipSided:G,setCullFace:W,setLineWidth:function(e){e!==E&&(O&&t.lineWidth(e),E=e)},setPolygonOffset:X,setScissorTest:function(e){e?j(t.SCISSOR_TEST):U(t.SCISSOR_TEST)},activeTexture:Y,bindTexture:function(e,n){null===P&&Y();let r=z[P];void 0===r&&(r={type:void 0,texture:void 0},z[P]=r),r.type===e&&r.texture===n||(t.bindTexture(e,n||F[e]),r.type=e,r.texture=n)},unbindTexture:function(){const e=z[P];void 0!==e&&void 0!==e.type&&(t.bindTexture(e.type,null),e.type=void 0,e.texture=void 0)},compressedTexImage2D:function(){try{t.compressedTexImage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texImage2D:function(){try{t.texImage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texImage3D:function(){try{t.texImage3D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},updateUBOMapping:function(e,n){let r=u.get(n);void 0===r&&(r=new WeakMap,u.set(n,r));let i=r.get(e);void 0===i&&(i=t.getUniformBlockIndex(n,e.name),r.set(e,i))},uniformBlockBinding:function(e,n){const r=u.get(n).get(e);l.get(e)!==r&&(t.uniformBlockBinding(n,r,e.__bindingPointIndex),l.set(e,r))},texStorage2D:function(){try{t.texStorage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texStorage3D:function(){try{t.texStorage3D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texSubImage2D:function(){try{t.texSubImage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texSubImage3D:function(){try{t.texSubImage3D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},compressedTexSubImage2D:function(){try{t.compressedTexSubImage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},scissor:function(e){!1===$.equals(e)&&(t.scissor(e.x,e.y,e.z,e.w),$.copy(e))},viewport:function(e){!1===B.equals(e)&&(t.viewport(e.x,e.y,e.z,e.w),B.copy(e))},reset:function(){t.disable(t.BLEND),t.disable(t.CULL_FACE),t.disable(t.DEPTH_TEST),t.disable(t.POLYGON_OFFSET_FILL),t.disable(t.SCISSOR_TEST),t.disable(t.STENCIL_TEST),t.disable(t.SAMPLE_ALPHA_TO_COVERAGE),t.blendEquation(t.FUNC_ADD),t.blendFunc(t.ONE,t.ZERO),t.blendFuncSeparate(t.ONE,t.ZERO,t.ONE,t.ZERO),t.colorMask(!0,!0,!0,!0),t.clearColor(0,0,0,0),t.depthMask(!0),t.depthFunc(t.LESS),t.clearDepth(1),t.stencilMask(4294967295),t.stencilFunc(t.ALWAYS,0,4294967295),t.stencilOp(t.KEEP,t.KEEP,t.KEEP),t.clearStencil(0),t.cullFace(t.BACK),t.frontFace(t.CCW),t.polygonOffset(0,0),t.activeTexture(t.TEXTURE0),t.bindFramebuffer(t.FRAMEBUFFER,null),!0===i&&(t.bindFramebuffer(t.DRAW_FRAMEBUFFER,null),t.bindFramebuffer(t.READ_FRAMEBUFFER,null)),t.useProgram(null),t.lineWidth(1),t.scissor(0,0,t.canvas.width,t.canvas.height),t.viewport(0,0,t.canvas.width,t.canvas.height),c={},P=null,z={},h={},p=new WeakMap,f=[],d=null,m=!1,v=null,g=null,y=null,_=null,b=null,x=null,w=null,A=!1,C=null,M=null,E=null,T=null,S=null,$.set(0,0,t.canvas.width,t.canvas.height),B.set(0,0,t.canvas.width,t.canvas.height),o.reset(),a.reset(),s.reset()}}}function No(t,e,n,r,i,o,a){const s=i.isWebGL2,l=i.maxTextures,u=i.maxCubemapSize,S=i.maxTextureSize,k=i.maxSamples,O=e.has(\\\"WEBGL_multisampled_render_to_texture\\\")?e.get(\\\"WEBGL_multisampled_render_to_texture\\\"):null,I=/OculusBrowser/g.test(navigator.userAgent),L=new WeakMap;let P;const z=new WeakMap;let R=!1;try{R=\\\"undefined\\\"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext(\\\"2d\\\")}catch(t){}function D(t,e){return R?new OffscreenCanvas(t,e):Lt(\\\"canvas\\\")}function $(t,e,n,r){let i=1;if((t.width>r||t.height>r)&&(i=r/Math.max(t.width,t.height)),i<1||!0===e){if(\\\"undefined\\\"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||\\\"undefined\\\"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||\\\"undefined\\\"!=typeof ImageBitmap&&t instanceof ImageBitmap){const r=e?Mt:Math.floor,o=r(i*t.width),a=r(i*t.height);void 0===P&&(P=D(o,a));const s=n?D(o,a):P;return s.width=o,s.height=a,s.getContext(\\\"2d\\\").drawImage(t,0,0,o,a),console.warn(\\\"THREE.WebGLRenderer: Texture has been resized from (\\\"+t.width+\\\"x\\\"+t.height+\\\") to (\\\"+o+\\\"x\\\"+a+\\\").\\\"),s}return\\\"data\\\"in t&&console.warn(\\\"THREE.WebGLRenderer: Image in DataTexture is too big (\\\"+t.width+\\\"x\\\"+t.height+\\\").\\\"),t}return t}function B(t){return At(t.width)&&At(t.height)}function N(t,e){return t.generateMipmaps&&e&&t.minFilter!==f&&t.minFilter!==v}function F(e){t.generateMipmap(e)}function j(n,r,i,o,a=!1){if(!1===s)return r;if(null!==n){if(void 0!==t[n])return t[n];console.warn(\\\"THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '\\\"+n+\\\"'\\\")}let l=r;return r===t.RED&&(i===t.FLOAT&&(l=t.R32F),i===t.HALF_FLOAT&&(l=t.R16F),i===t.UNSIGNED_BYTE&&(l=t.R8)),r===t.RG&&(i===t.FLOAT&&(l=t.RG32F),i===t.HALF_FLOAT&&(l=t.RG16F),i===t.UNSIGNED_BYTE&&(l=t.RG8)),r===t.RGBA&&(i===t.FLOAT&&(l=t.RGBA32F),i===t.HALF_FLOAT&&(l=t.RGBA16F),i===t.UNSIGNED_BYTE&&(l=o===st&&!1===a?t.SRGB8_ALPHA8:t.RGBA8),i===t.UNSIGNED_SHORT_4_4_4_4&&(l=t.RGBA4),i===t.UNSIGNED_SHORT_5_5_5_1&&(l=t.RGB5_A1)),l!==t.R16F&&l!==t.R32F&&l!==t.RG16F&&l!==t.RG32F&&l!==t.RGBA16F&&l!==t.RGBA32F||e.get(\\\"EXT_color_buffer_float\\\"),l}function U(t,e,n){return!0===N(t,n)||t.isFramebufferTexture&&t.minFilter!==f&&t.minFilter!==v?Math.log2(Math.max(e.width,e.height))+1:void 0!==t.mipmaps&&t.mipmaps.length>0?t.mipmaps.length:t.isCompressedTexture&&Array.isArray(t.image)?e.mipmaps.length:1}function q(e){return e===f||e===d||e===m?t.NEAREST:t.LINEAR}function V(t){const e=t.target;e.removeEventListener(\\\"dispose\\\",V),function(t){const e=r.get(t);if(void 0===e.__webglInit)return;const n=t.source,i=z.get(n);if(i){const r=i[e.__cacheKey];r.usedTimes--,0===r.usedTimes&&G(t),0===Object.keys(i).length&&z.delete(n)}r.remove(t)}(e),e.isVideoTexture&&L.delete(e)}function H(e){const n=e.target;n.removeEventListener(\\\"dispose\\\",H),function(e){const n=e.texture,i=r.get(e),o=r.get(n);if(void 0!==o.__webglTexture&&(t.deleteTexture(o.__webglTexture),a.memory.textures--),e.depthTexture&&e.depthTexture.dispose(),e.isWebGLCubeRenderTarget)for(let e=0;e<6;e++)t.deleteFramebuffer(i.__webglFramebuffer[e]),i.__webglDepthbuffer&&t.deleteRenderbuffer(i.__webglDepthbuffer[e]);else{if(t.deleteFramebuffer(i.__webglFramebuffer),i.__webglDepthbuffer&&t.deleteRenderbuffer(i.__webglDepthbuffer),i.__webglMultisampledFramebuffer&&t.deleteFramebuffer(i.__webglMultisampledFramebuffer),i.__webglColorRenderbuffer)for(let e=0;e<i.__webglColorRenderbuffer.length;e++)i.__webglColorRenderbuffer[e]&&t.deleteRenderbuffer(i.__webglColorRenderbuffer[e]);i.__webglDepthRenderbuffer&&t.deleteRenderbuffer(i.__webglDepthRenderbuffer)}if(e.isWebGLMultipleRenderTargets)for(let e=0,i=n.length;e<i;e++){const i=r.get(n[e]);i.__webglTexture&&(t.deleteTexture(i.__webglTexture),a.memory.textures--),r.remove(n[e])}r.remove(n),r.remove(e)}(n)}function G(e){const n=r.get(e);t.deleteTexture(n.__webglTexture);const i=e.source;delete z.get(i)[n.__cacheKey],a.memory.textures--}let W=0;function X(e,i){const o=r.get(e);if(e.isVideoTexture&&function(t){const e=a.render.frame;L.get(t)!==e&&(L.set(t,e),t.update())}(e),!1===e.isRenderTargetTexture&&e.version>0&&o.__version!==e.version){const t=e.image;if(null===t)console.warn(\\\"THREE.WebGLRenderer: Texture marked for update but no image data found.\\\");else{if(!1!==t.complete)return void Q(o,e,i);console.warn(\\\"THREE.WebGLRenderer: Texture marked for update but image is incomplete\\\")}}n.activeTexture(t.TEXTURE0+i),n.bindTexture(t.TEXTURE_2D,o.__webglTexture)}const Y={[c]:t.REPEAT,[h]:t.CLAMP_TO_EDGE,[p]:t.MIRRORED_REPEAT},Z={[f]:t.NEAREST,[d]:t.NEAREST_MIPMAP_NEAREST,[m]:t.NEAREST_MIPMAP_LINEAR,[v]:t.LINEAR,[g]:t.LINEAR_MIPMAP_NEAREST,[y]:t.LINEAR_MIPMAP_LINEAR};function K(n,o,a){if(a?(t.texParameteri(n,t.TEXTURE_WRAP_S,Y[o.wrapS]),t.texParameteri(n,t.TEXTURE_WRAP_T,Y[o.wrapT]),n!==t.TEXTURE_3D&&n!==t.TEXTURE_2D_ARRAY||t.texParameteri(n,t.TEXTURE_WRAP_R,Y[o.wrapR]),t.texParameteri(n,t.TEXTURE_MAG_FILTER,Z[o.magFilter]),t.texParameteri(n,t.TEXTURE_MIN_FILTER,Z[o.minFilter])):(t.texParameteri(n,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(n,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),n!==t.TEXTURE_3D&&n!==t.TEXTURE_2D_ARRAY||t.texParameteri(n,t.TEXTURE_WRAP_R,t.CLAMP_TO_EDGE),o.wrapS===h&&o.wrapT===h||console.warn(\\\"THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping.\\\"),t.texParameteri(n,t.TEXTURE_MAG_FILTER,q(o.magFilter)),t.texParameteri(n,t.TEXTURE_MIN_FILTER,q(o.minFilter)),o.minFilter!==f&&o.minFilter!==v&&console.warn(\\\"THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.\\\")),!0===e.has(\\\"EXT_texture_filter_anisotropic\\\")){const a=e.get(\\\"EXT_texture_filter_anisotropic\\\");if(o.type===w&&!1===e.has(\\\"OES_texture_float_linear\\\"))return;if(!1===s&&o.type===A&&!1===e.has(\\\"OES_texture_half_float_linear\\\"))return;(o.anisotropy>1||r.get(o).__currentAnisotropy)&&(t.texParameterf(n,a.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(o.anisotropy,i.getMaxAnisotropy())),r.get(o).__currentAnisotropy=o.anisotropy)}}function J(e,n){let r=!1;void 0===e.__webglInit&&(e.__webglInit=!0,n.addEventListener(\\\"dispose\\\",V));const i=n.source;let o=z.get(i);void 0===o&&(o={},z.set(i,o));const s=function(t){const e=[];return e.push(t.wrapS),e.push(t.wrapT),e.push(t.magFilter),e.push(t.minFilter),e.push(t.anisotropy),e.push(t.internalFormat),e.push(t.format),e.push(t.type),e.push(t.generateMipmaps),e.push(t.premultiplyAlpha),e.push(t.flipY),e.push(t.unpackAlignment),e.push(t.encoding),e.join()}(n);if(s!==e.__cacheKey){void 0===o[s]&&(o[s]={texture:t.createTexture(),usedTimes:0},a.memory.textures++,r=!0),o[s].usedTimes++;const i=o[e.__cacheKey];void 0!==i&&(o[e.__cacheKey].usedTimes--,0===i.usedTimes&&G(n)),e.__cacheKey=s,e.__webglTexture=o[s].texture}return r}function Q(e,r,i){let a=t.TEXTURE_2D;r.isDataArrayTexture&&(a=t.TEXTURE_2D_ARRAY),r.isData3DTexture&&(a=t.TEXTURE_3D);const l=J(e,r),u=r.source;if(n.activeTexture(t.TEXTURE0+i),n.bindTexture(a,e.__webglTexture),u.version!==u.__currentVersion||!0===l){t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,r.flipY),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,r.premultiplyAlpha),t.pixelStorei(t.UNPACK_ALIGNMENT,r.unpackAlignment),t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL,t.NONE);const e=function(t){return!s&&(t.wrapS!==h||t.wrapT!==h||t.minFilter!==f&&t.minFilter!==v)}(r)&&!1===B(r.image);let i=$(r.image,e,!1,S);i=ot(r,i);const c=B(i)||s,p=o.convert(r.format,r.encoding);let d,m=o.convert(r.type),g=j(r.internalFormat,p,m,r.encoding,r.isVideoTexture);K(a,r,c);const y=r.mipmaps,_=s&&!0!==r.isVideoTexture,A=void 0===u.__currentVersion||!0===l,k=U(r,i,c);if(r.isDepthTexture)g=t.DEPTH_COMPONENT,s?g=r.type===w?t.DEPTH_COMPONENT32F:r.type===x?t.DEPTH_COMPONENT24:r.type===C?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT16:r.type===w&&console.error(\\\"WebGLRenderer: Floating point depth texture requires WebGL2.\\\"),r.format===E&&g===t.DEPTH_COMPONENT&&r.type!==b&&r.type!==x&&(console.warn(\\\"THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture.\\\"),r.type=x,m=o.convert(r.type)),r.format===T&&g===t.DEPTH_COMPONENT&&(g=t.DEPTH_STENCIL,r.type!==C&&(console.warn(\\\"THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.\\\"),r.type=C,m=o.convert(r.type))),A&&(_?n.texStorage2D(t.TEXTURE_2D,1,g,i.width,i.height):n.texImage2D(t.TEXTURE_2D,0,g,i.width,i.height,0,p,m,null));else if(r.isDataTexture)if(y.length>0&&c){_&&A&&n.texStorage2D(t.TEXTURE_2D,k,g,y[0].width,y[0].height);for(let e=0,r=y.length;e<r;e++)d=y[e],_?n.texSubImage2D(t.TEXTURE_2D,e,0,0,d.width,d.height,p,m,d.data):n.texImage2D(t.TEXTURE_2D,e,g,d.width,d.height,0,p,m,d.data);r.generateMipmaps=!1}else _?(A&&n.texStorage2D(t.TEXTURE_2D,k,g,i.width,i.height),n.texSubImage2D(t.TEXTURE_2D,0,0,0,i.width,i.height,p,m,i.data)):n.texImage2D(t.TEXTURE_2D,0,g,i.width,i.height,0,p,m,i.data);else if(r.isCompressedTexture){_&&A&&n.texStorage2D(t.TEXTURE_2D,k,g,y[0].width,y[0].height);for(let e=0,i=y.length;e<i;e++)d=y[e],r.format!==M?null!==p?_?n.compressedTexSubImage2D(t.TEXTURE_2D,e,0,0,d.width,d.height,p,d.data):n.compressedTexImage2D(t.TEXTURE_2D,e,g,d.width,d.height,0,d.data):console.warn(\\\"THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()\\\"):_?n.texSubImage2D(t.TEXTURE_2D,e,0,0,d.width,d.height,p,m,d.data):n.texImage2D(t.TEXTURE_2D,e,g,d.width,d.height,0,p,m,d.data)}else if(r.isDataArrayTexture)_?(A&&n.texStorage3D(t.TEXTURE_2D_ARRAY,k,g,i.width,i.height,i.depth),n.texSubImage3D(t.TEXTURE_2D_ARRAY,0,0,0,0,i.width,i.height,i.depth,p,m,i.data)):n.texImage3D(t.TEXTURE_2D_ARRAY,0,g,i.width,i.height,i.depth,0,p,m,i.data);else if(r.isData3DTexture)_?(A&&n.texStorage3D(t.TEXTURE_3D,k,g,i.width,i.height,i.depth),n.texSubImage3D(t.TEXTURE_3D,0,0,0,0,i.width,i.height,i.depth,p,m,i.data)):n.texImage3D(t.TEXTURE_3D,0,g,i.width,i.height,i.depth,0,p,m,i.data);else if(r.isFramebufferTexture){if(A)if(_)n.texStorage2D(t.TEXTURE_2D,k,g,i.width,i.height);else{let e=i.width,r=i.height;for(let i=0;i<k;i++)n.texImage2D(t.TEXTURE_2D,i,g,e,r,0,p,m,null),e>>=1,r>>=1}}else if(y.length>0&&c){_&&A&&n.texStorage2D(t.TEXTURE_2D,k,g,y[0].width,y[0].height);for(let e=0,r=y.length;e<r;e++)d=y[e],_?n.texSubImage2D(t.TEXTURE_2D,e,0,0,p,m,d):n.texImage2D(t.TEXTURE_2D,e,g,p,m,d);r.generateMipmaps=!1}else _?(A&&n.texStorage2D(t.TEXTURE_2D,k,g,i.width,i.height),n.texSubImage2D(t.TEXTURE_2D,0,0,0,p,m,i)):n.texImage2D(t.TEXTURE_2D,0,g,p,m,i);N(r,c)&&F(a),u.__currentVersion=u.version,r.onUpdate&&r.onUpdate(r)}e.__version=r.version}function tt(e,i,a,s,l){const u=o.convert(a.format,a.encoding),c=o.convert(a.type),h=j(a.internalFormat,u,c,a.encoding);r.get(i).__hasExternalTextures||(l===t.TEXTURE_3D||l===t.TEXTURE_2D_ARRAY?n.texImage3D(l,0,h,i.width,i.height,i.depth,0,u,c,null):n.texImage2D(l,0,h,i.width,i.height,0,u,c,null)),n.bindFramebuffer(t.FRAMEBUFFER,e),it(i)?O.framebufferTexture2DMultisampleEXT(t.FRAMEBUFFER,s,l,r.get(a).__webglTexture,0,rt(i)):t.framebufferTexture2D(t.FRAMEBUFFER,s,l,r.get(a).__webglTexture,0),n.bindFramebuffer(t.FRAMEBUFFER,null)}function et(e,n,r){if(t.bindRenderbuffer(t.RENDERBUFFER,e),n.depthBuffer&&!n.stencilBuffer){let i=t.DEPTH_COMPONENT16;if(r||it(n)){const e=n.depthTexture;e&&e.isDepthTexture&&(e.type===w?i=t.DEPTH_COMPONENT32F:e.type===x&&(i=t.DEPTH_COMPONENT24));const r=rt(n);it(n)?O.renderbufferStorageMultisampleEXT(t.RENDERBUFFER,r,i,n.width,n.height):t.renderbufferStorageMultisample(t.RENDERBUFFER,r,i,n.width,n.height)}else t.renderbufferStorage(t.RENDERBUFFER,i,n.width,n.height);t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,e)}else if(n.depthBuffer&&n.stencilBuffer){const i=rt(n);r&&!1===it(n)?t.renderbufferStorageMultisample(t.RENDERBUFFER,i,t.DEPTH24_STENCIL8,n.width,n.height):it(n)?O.renderbufferStorageMultisampleEXT(t.RENDERBUFFER,i,t.DEPTH24_STENCIL8,n.width,n.height):t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_STENCIL,n.width,n.height),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.RENDERBUFFER,e)}else{const e=!0===n.isWebGLMultipleRenderTargets?n.texture:[n.texture];for(let i=0;i<e.length;i++){const a=e[i],s=o.convert(a.format,a.encoding),l=o.convert(a.type),u=j(a.internalFormat,s,l,a.encoding),c=rt(n);r&&!1===it(n)?t.renderbufferStorageMultisample(t.RENDERBUFFER,c,u,n.width,n.height):it(n)?O.renderbufferStorageMultisampleEXT(t.RENDERBUFFER,c,u,n.width,n.height):t.renderbufferStorage(t.RENDERBUFFER,u,n.width,n.height)}}t.bindRenderbuffer(t.RENDERBUFFER,null)}function nt(e){const i=r.get(e),o=!0===e.isWebGLCubeRenderTarget;if(e.depthTexture&&!i.__autoAllocateDepthBuffer){if(o)throw new Error(\\\"target.depthTexture not supported in Cube render targets\\\");!function(e,i){if(i&&i.isWebGLCubeRenderTarget)throw new Error(\\\"Depth Texture with cube render targets is not supported\\\");if(n.bindFramebuffer(t.FRAMEBUFFER,e),!i.depthTexture||!i.depthTexture.isDepthTexture)throw new Error(\\\"renderTarget.depthTexture must be an instance of THREE.DepthTexture\\\");r.get(i.depthTexture).__webglTexture&&i.depthTexture.image.width===i.width&&i.depthTexture.image.height===i.height||(i.depthTexture.image.width=i.width,i.depthTexture.image.height=i.height,i.depthTexture.needsUpdate=!0),X(i.depthTexture,0);const o=r.get(i.depthTexture).__webglTexture,a=rt(i);if(i.depthTexture.format===E)it(i)?O.framebufferTexture2DMultisampleEXT(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.TEXTURE_2D,o,0,a):t.framebufferTexture2D(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.TEXTURE_2D,o,0);else{if(i.depthTexture.format!==T)throw new Error(\\\"Unknown depthTexture format\\\");it(i)?O.framebufferTexture2DMultisampleEXT(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.TEXTURE_2D,o,0,a):t.framebufferTexture2D(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.TEXTURE_2D,o,0)}}(i.__webglFramebuffer,e)}else if(o){i.__webglDepthbuffer=[];for(let r=0;r<6;r++)n.bindFramebuffer(t.FRAMEBUFFER,i.__webglFramebuffer[r]),i.__webglDepthbuffer[r]=t.createRenderbuffer(),et(i.__webglDepthbuffer[r],e,!1)}else n.bindFramebuffer(t.FRAMEBUFFER,i.__webglFramebuffer),i.__webglDepthbuffer=t.createRenderbuffer(),et(i.__webglDepthbuffer,e,!1);n.bindFramebuffer(t.FRAMEBUFFER,null)}function rt(t){return Math.min(k,t.samples)}function it(t){const n=r.get(t);return s&&t.samples>0&&!0===e.has(\\\"WEBGL_multisampled_render_to_texture\\\")&&!1!==n.__useRenderToTexture}function ot(t,n){const r=t.encoding,i=t.format,o=t.type;return!0===t.isCompressedTexture||!0===t.isVideoTexture||t.format===ft||r!==at&&(r===st?!1===s?!0===e.has(\\\"EXT_sRGB\\\")&&i===M?(t.format=ft,t.minFilter=v,t.generateMipmaps=!1):n=Ht.sRGBToLinear(n):i===M&&o===_||console.warn(\\\"THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.\\\"):console.error(\\\"THREE.WebGLTextures: Unsupported texture encoding:\\\",r)),n}this.allocateTextureUnit=function(){const t=W;return t>=l&&console.warn(\\\"THREE.WebGLTextures: Trying to use \\\"+t+\\\" texture units while this GPU supports only \\\"+l),W+=1,t},this.resetTextureUnits=function(){W=0},this.setTexture2D=X,this.setTexture2DArray=function(e,i){const o=r.get(e);e.version>0&&o.__version!==e.version?Q(o,e,i):(n.activeTexture(t.TEXTURE0+i),n.bindTexture(t.TEXTURE_2D_ARRAY,o.__webglTexture))},this.setTexture3D=function(e,i){const o=r.get(e);e.version>0&&o.__version!==e.version?Q(o,e,i):(n.activeTexture(t.TEXTURE0+i),n.bindTexture(t.TEXTURE_3D,o.__webglTexture))},this.setTextureCube=function(e,i){const a=r.get(e);e.version>0&&a.__version!==e.version?function(e,r,i){if(6!==r.image.length)return;const a=J(e,r),l=r.source;if(n.activeTexture(t.TEXTURE0+i),n.bindTexture(t.TEXTURE_CUBE_MAP,e.__webglTexture),l.version!==l.__currentVersion||!0===a){t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,r.flipY),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,r.premultiplyAlpha),t.pixelStorei(t.UNPACK_ALIGNMENT,r.unpackAlignment),t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL,t.NONE);const e=r.isCompressedTexture||r.image[0].isCompressedTexture,i=r.image[0]&&r.image[0].isDataTexture,c=[];for(let t=0;t<6;t++)c[t]=e||i?i?r.image[t].image:r.image[t]:$(r.image[t],!1,!0,u),c[t]=ot(r,c[t]);const h=c[0],p=B(h)||s,f=o.convert(r.format,r.encoding),d=o.convert(r.type),m=j(r.internalFormat,f,d,r.encoding),v=s&&!0!==r.isVideoTexture,g=void 0===l.__currentVersion||!0===a;let y,_=U(r,h,p);if(K(t.TEXTURE_CUBE_MAP,r,p),e){v&&g&&n.texStorage2D(t.TEXTURE_CUBE_MAP,_,m,h.width,h.height);for(let e=0;e<6;e++){y=c[e].mipmaps;for(let i=0;i<y.length;i++){const o=y[i];r.format!==M?null!==f?v?n.compressedTexSubImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,i,0,0,o.width,o.height,f,o.data):n.compressedTexImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,i,m,o.width,o.height,0,o.data):console.warn(\\\"THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()\\\"):v?n.texSubImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,i,0,0,o.width,o.height,f,d,o.data):n.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,i,m,o.width,o.height,0,f,d,o.data)}}}else{y=r.mipmaps,v&&g&&(y.length>0&&_++,n.texStorage2D(t.TEXTURE_CUBE_MAP,_,m,c[0].width,c[0].height));for(let e=0;e<6;e++)if(i){v?n.texSubImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,0,0,0,c[e].width,c[e].height,f,d,c[e].data):n.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,0,m,c[e].width,c[e].height,0,f,d,c[e].data);for(let r=0;r<y.length;r++){const i=y[r].image[e].image;v?n.texSubImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,r+1,0,0,i.width,i.height,f,d,i.data):n.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,r+1,m,i.width,i.height,0,f,d,i.data)}}else{v?n.texSubImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,0,0,0,f,d,c[e]):n.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,0,m,f,d,c[e]);for(let r=0;r<y.length;r++){const i=y[r];v?n.texSubImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,r+1,0,0,f,d,i.image[e]):n.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+e,r+1,m,f,d,i.image[e])}}}N(r,p)&&F(t.TEXTURE_CUBE_MAP),l.__currentVersion=l.version,r.onUpdate&&r.onUpdate(r)}e.__version=r.version}(a,e,i):(n.activeTexture(t.TEXTURE0+i),n.bindTexture(t.TEXTURE_CUBE_MAP,a.__webglTexture))},this.rebindTextures=function(e,n,i){const o=r.get(e);void 0!==n&&tt(o.__webglFramebuffer,e,e.texture,t.COLOR_ATTACHMENT0,t.TEXTURE_2D),void 0!==i&&nt(e)},this.setupRenderTarget=function(e){const l=e.texture,u=r.get(e),c=r.get(l);e.addEventListener(\\\"dispose\\\",H),!0!==e.isWebGLMultipleRenderTargets&&(void 0===c.__webglTexture&&(c.__webglTexture=t.createTexture()),c.__version=l.version,a.memory.textures++);const h=!0===e.isWebGLCubeRenderTarget,p=!0===e.isWebGLMultipleRenderTargets,f=B(e)||s;if(h){u.__webglFramebuffer=[];for(let e=0;e<6;e++)u.__webglFramebuffer[e]=t.createFramebuffer()}else{if(u.__webglFramebuffer=t.createFramebuffer(),p)if(i.drawBuffers){const n=e.texture;for(let e=0,i=n.length;e<i;e++){const i=r.get(n[e]);void 0===i.__webglTexture&&(i.__webglTexture=t.createTexture(),a.memory.textures++)}}else console.warn(\\\"THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.\\\");if(s&&e.samples>0&&!1===it(e)){const r=p?l:[l];u.__webglMultisampledFramebuffer=t.createFramebuffer(),u.__webglColorRenderbuffer=[],n.bindFramebuffer(t.FRAMEBUFFER,u.__webglMultisampledFramebuffer);for(let n=0;n<r.length;n++){const i=r[n];u.__webglColorRenderbuffer[n]=t.createRenderbuffer(),t.bindRenderbuffer(t.RENDERBUFFER,u.__webglColorRenderbuffer[n]);const a=o.convert(i.format,i.encoding),s=o.convert(i.type),l=j(i.internalFormat,a,s,i.encoding),c=rt(e);t.renderbufferStorageMultisample(t.RENDERBUFFER,c,l,e.width,e.height),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0+n,t.RENDERBUFFER,u.__webglColorRenderbuffer[n])}t.bindRenderbuffer(t.RENDERBUFFER,null),e.depthBuffer&&(u.__webglDepthRenderbuffer=t.createRenderbuffer(),et(u.__webglDepthRenderbuffer,e,!0)),n.bindFramebuffer(t.FRAMEBUFFER,null)}}if(h){n.bindTexture(t.TEXTURE_CUBE_MAP,c.__webglTexture),K(t.TEXTURE_CUBE_MAP,l,f);for(let n=0;n<6;n++)tt(u.__webglFramebuffer[n],e,l,t.COLOR_ATTACHMENT0,t.TEXTURE_CUBE_MAP_POSITIVE_X+n);N(l,f)&&F(t.TEXTURE_CUBE_MAP),n.unbindTexture()}else if(p){const i=e.texture;for(let o=0,a=i.length;o<a;o++){const a=i[o],s=r.get(a);n.bindTexture(t.TEXTURE_2D,s.__webglTexture),K(t.TEXTURE_2D,a,f),tt(u.__webglFramebuffer,e,a,t.COLOR_ATTACHMENT0+o,t.TEXTURE_2D),N(a,f)&&F(t.TEXTURE_2D)}n.unbindTexture()}else{let r=t.TEXTURE_2D;(e.isWebGL3DRenderTarget||e.isWebGLArrayRenderTarget)&&(s?r=e.isWebGL3DRenderTarget?t.TEXTURE_3D:t.TEXTURE_2D_ARRAY:console.error(\\\"THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.\\\")),n.bindTexture(r,c.__webglTexture),K(r,l,f),tt(u.__webglFramebuffer,e,l,t.COLOR_ATTACHMENT0,r),N(l,f)&&F(r),n.unbindTexture()}e.depthBuffer&&nt(e)},this.updateRenderTargetMipmap=function(e){const i=B(e)||s,o=!0===e.isWebGLMultipleRenderTargets?e.texture:[e.texture];for(let a=0,s=o.length;a<s;a++){const s=o[a];if(N(s,i)){const i=e.isWebGLCubeRenderTarget?t.TEXTURE_CUBE_MAP:t.TEXTURE_2D,o=r.get(s).__webglTexture;n.bindTexture(i,o),F(i),n.unbindTexture()}}},this.updateMultisampleRenderTarget=function(e){if(s&&e.samples>0&&!1===it(e)){const i=e.isWebGLMultipleRenderTargets?e.texture:[e.texture],o=e.width,a=e.height;let s=t.COLOR_BUFFER_BIT;const l=[],u=e.stencilBuffer?t.DEPTH_STENCIL_ATTACHMENT:t.DEPTH_ATTACHMENT,c=r.get(e),h=!0===e.isWebGLMultipleRenderTargets;if(h)for(let e=0;e<i.length;e++)n.bindFramebuffer(t.FRAMEBUFFER,c.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0+e,t.RENDERBUFFER,null),n.bindFramebuffer(t.FRAMEBUFFER,c.__webglFramebuffer),t.framebufferTexture2D(t.DRAW_FRAMEBUFFER,t.COLOR_ATTACHMENT0+e,t.TEXTURE_2D,null,0);n.bindFramebuffer(t.READ_FRAMEBUFFER,c.__webglMultisampledFramebuffer),n.bindFramebuffer(t.DRAW_FRAMEBUFFER,c.__webglFramebuffer);for(let n=0;n<i.length;n++){l.push(t.COLOR_ATTACHMENT0+n),e.depthBuffer&&l.push(u);const p=void 0!==c.__ignoreDepthValues&&c.__ignoreDepthValues;if(!1===p&&(e.depthBuffer&&(s|=t.DEPTH_BUFFER_BIT),e.stencilBuffer&&(s|=t.STENCIL_BUFFER_BIT)),h&&t.framebufferRenderbuffer(t.READ_FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.RENDERBUFFER,c.__webglColorRenderbuffer[n]),!0===p&&(t.invalidateFramebuffer(t.READ_FRAMEBUFFER,[u]),t.invalidateFramebuffer(t.DRAW_FRAMEBUFFER,[u])),h){const e=r.get(i[n]).__webglTexture;t.framebufferTexture2D(t.DRAW_FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e,0)}t.blitFramebuffer(0,0,o,a,0,0,o,a,s,t.NEAREST),I&&t.invalidateFramebuffer(t.READ_FRAMEBUFFER,l)}if(n.bindFramebuffer(t.READ_FRAMEBUFFER,null),n.bindFramebuffer(t.DRAW_FRAMEBUFFER,null),h)for(let e=0;e<i.length;e++){n.bindFramebuffer(t.FRAMEBUFFER,c.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0+e,t.RENDERBUFFER,c.__webglColorRenderbuffer[e]);const o=r.get(i[e]).__webglTexture;n.bindFramebuffer(t.FRAMEBUFFER,c.__webglFramebuffer),t.framebufferTexture2D(t.DRAW_FRAMEBUFFER,t.COLOR_ATTACHMENT0+e,t.TEXTURE_2D,o,0)}n.bindFramebuffer(t.DRAW_FRAMEBUFFER,c.__webglMultisampledFramebuffer)}},this.setupDepthRenderbuffer=nt,this.setupFrameBufferTexture=tt,this.useMultisampledRTT=it}function Fo(t,e,n){const r=n.isWebGL2;return{convert:function(n,i=null){let o;if(n===_)return t.UNSIGNED_BYTE;if(1017===n)return t.UNSIGNED_SHORT_4_4_4_4;if(1018===n)return t.UNSIGNED_SHORT_5_5_5_1;if(1010===n)return t.BYTE;if(1011===n)return t.SHORT;if(n===b)return t.UNSIGNED_SHORT;if(1013===n)return t.INT;if(n===x)return t.UNSIGNED_INT;if(n===w)return t.FLOAT;if(n===A)return r?t.HALF_FLOAT:(o=e.get(\\\"OES_texture_half_float\\\"),null!==o?o.HALF_FLOAT_OES:null);if(1021===n)return t.ALPHA;if(n===M)return t.RGBA;if(1024===n)return t.LUMINANCE;if(1025===n)return t.LUMINANCE_ALPHA;if(n===E)return t.DEPTH_COMPONENT;if(n===T)return t.DEPTH_STENCIL;if(1028===n)return t.RED;if(1022===n)return console.warn(\\\"THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228\\\"),t.RGBA;if(n===ft)return o=e.get(\\\"EXT_sRGB\\\"),null!==o?o.SRGB_ALPHA_EXT:null;if(1029===n)return t.RED_INTEGER;if(1030===n)return t.RG;if(1031===n)return t.RG_INTEGER;if(1033===n)return t.RGBA_INTEGER;if(n===S||n===k||n===O||n===I)if(i===st){if(o=e.get(\\\"WEBGL_compressed_texture_s3tc_srgb\\\"),null===o)return null;if(n===S)return o.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===k)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===O)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===I)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(o=e.get(\\\"WEBGL_compressed_texture_s3tc\\\"),null===o)return null;if(n===S)return o.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===k)return o.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===O)return o.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===I)return o.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(n===L||n===P||n===z||n===R){if(o=e.get(\\\"WEBGL_compressed_texture_pvrtc\\\"),null===o)return null;if(n===L)return o.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===P)return o.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===z)return o.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===R)return o.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(36196===n)return o=e.get(\\\"WEBGL_compressed_texture_etc1\\\"),null!==o?o.COMPRESSED_RGB_ETC1_WEBGL:null;if(n===D||n===$){if(o=e.get(\\\"WEBGL_compressed_texture_etc\\\"),null===o)return null;if(n===D)return i===st?o.COMPRESSED_SRGB8_ETC2:o.COMPRESSED_RGB8_ETC2;if(n===$)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:o.COMPRESSED_RGBA8_ETC2_EAC}if(n===B||n===N||n===F||n===j||n===U||n===q||n===V||n===H||n===G||n===W||n===X||n===Y||n===Z||n===K){if(o=e.get(\\\"WEBGL_compressed_texture_astc\\\"),null===o)return null;if(n===B)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:o.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===N)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:o.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===F)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:o.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===j)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:o.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===U)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:o.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===q)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:o.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===V)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:o.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===H)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:o.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===G)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:o.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===W)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:o.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===X)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:o.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===Y)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:o.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===Z)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:o.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===K)return i===st?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:o.COMPRESSED_RGBA_ASTC_12x12_KHR}if(n===J){if(o=e.get(\\\"EXT_texture_compression_bptc\\\"),null===o)return null;if(n===J)return i===st?o.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:o.COMPRESSED_RGBA_BPTC_UNORM_EXT}return n===C?r?t.UNSIGNED_INT_24_8:(o=e.get(\\\"WEBGL_depth_texture\\\"),null!==o?o.UNSIGNED_INT_24_8_WEBGL:null):void 0!==t[n]?t[n]:null}}}class jo extends ir{constructor(t=[]){super(),this.isArrayCamera=!0,this.cameras=t}}class Uo extends rn{constructor(){super(),this.isGroup=!0,this.type=\\\"Group\\\"}}const qo={type:\\\"move\\\"};class Vo{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new Uo,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new Uo,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ee,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ee),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new Uo,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ee,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ee),this._grip}dispatchEvent(t){return null!==this._targetRay&&this._targetRay.dispatchEvent(t),null!==this._grip&&this._grip.dispatchEvent(t),null!==this._hand&&this._hand.dispatchEvent(t),this}disconnect(t){return this.dispatchEvent({type:\\\"disconnected\\\",data:t}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(t,e,n){let r=null,i=null,o=null;const a=this._targetRay,s=this._grip,l=this._hand;if(t&&\\\"visible-blurred\\\"!==e.session.visibilityState){if(l&&t.hand){o=!0;for(const r of t.hand.values()){const t=e.getJointPose(r,n);if(void 0===l.joints[r.jointName]){const t=new Uo;t.matrixAutoUpdate=!1,t.visible=!1,l.joints[r.jointName]=t,l.add(t)}const i=l.joints[r.jointName];null!==t&&(i.matrix.fromArray(t.transform.matrix),i.matrix.decompose(i.position,i.rotation,i.scale),i.jointRadius=t.radius),i.visible=null!==t}const r=l.joints[\\\"index-finger-tip\\\"],i=l.joints[\\\"thumb-tip\\\"],a=r.position.distanceTo(i.position),s=.02,u=.005;l.inputState.pinching&&a>s+u?(l.inputState.pinching=!1,this.dispatchEvent({type:\\\"pinchend\\\",handedness:t.handedness,target:this})):!l.inputState.pinching&&a<=s-u&&(l.inputState.pinching=!0,this.dispatchEvent({type:\\\"pinchstart\\\",handedness:t.handedness,target:this}))}else null!==s&&t.gripSpace&&(i=e.getPose(t.gripSpace,n),null!==i&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1));null!==a&&(r=e.getPose(t.targetRaySpace,n),null===r&&null!==i&&(r=i),null!==r&&(a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),r.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(r.linearVelocity)):a.hasLinearVelocity=!1,r.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(r.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(qo)))}return null!==a&&(a.visible=null!==r),null!==s&&(s.visible=null!==i),null!==l&&(l.visible=null!==o),this}}class Ho extends Yt{constructor(t,e,n,r,i,o,a,s,l,u){if((u=void 0!==u?u:E)!==E&&u!==T)throw new Error(\\\"DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat\\\");void 0===n&&u===E&&(n=x),void 0===n&&u===T&&(n=C),super(null,r,i,o,a,s,u,n,l),this.isDepthTexture=!0,this.image={width:t,height:e},this.magFilter=void 0!==a?a:f,this.minFilter=void 0!==s?s:f,this.flipY=!1,this.generateMipmaps=!1}}class Go extends dt{constructor(t,e){super();const n=this;let r=null,i=1,o=null,a=\\\"local-floor\\\",s=null,l=null,u=null,c=null,h=null,p=null;const f=e.getContextAttributes();let d=null,m=null;const v=[],g=[],y=new ir;y.layers.enable(1),y.viewport=new Zt;const b=new ir;b.layers.enable(2),b.viewport=new Zt;const w=[y,b],A=new jo;A.layers.enable(1),A.layers.enable(2);let S=null,k=null;function O(t){const e=g.indexOf(t.inputSource);if(-1===e)return;const n=v[e];void 0!==n&&n.dispatchEvent({type:t.type,data:t.inputSource})}function I(){r.removeEventListener(\\\"select\\\",O),r.removeEventListener(\\\"selectstart\\\",O),r.removeEventListener(\\\"selectend\\\",O),r.removeEventListener(\\\"squeeze\\\",O),r.removeEventListener(\\\"squeezestart\\\",O),r.removeEventListener(\\\"squeezeend\\\",O),r.removeEventListener(\\\"end\\\",I),r.removeEventListener(\\\"inputsourceschange\\\",L);for(let t=0;t<v.length;t++){const e=g[t];null!==e&&(g[t]=null,v[t].disconnect(e))}S=null,k=null,t.setRenderTarget(d),h=null,c=null,u=null,r=null,m=null,$.stop(),n.isPresenting=!1,n.dispatchEvent({type:\\\"sessionend\\\"})}function L(t){for(let e=0;e<t.removed.length;e++){const n=t.removed[e],r=g.indexOf(n);r>=0&&(g[r]=null,v[r].dispatchEvent({type:\\\"disconnected\\\",data:n}))}for(let e=0;e<t.added.length;e++){const n=t.added[e];let r=g.indexOf(n);if(-1===r){for(let t=0;t<v.length;t++){if(t>=g.length){g.push(n),r=t;break}if(null===g[t]){g[t]=n,r=t;break}}if(-1===r)break}const i=v[r];i&&i.dispatchEvent({type:\\\"connected\\\",data:n})}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(t){let e=v[t];return void 0===e&&(e=new Vo,v[t]=e),e.getTargetRaySpace()},this.getControllerGrip=function(t){let e=v[t];return void 0===e&&(e=new Vo,v[t]=e),e.getGripSpace()},this.getHand=function(t){let e=v[t];return void 0===e&&(e=new Vo,v[t]=e),e.getHandSpace()},this.setFramebufferScaleFactor=function(t){i=t,!0===n.isPresenting&&console.warn(\\\"THREE.WebXRManager: Cannot change framebuffer scale while presenting.\\\")},this.setReferenceSpaceType=function(t){a=t,!0===n.isPresenting&&console.warn(\\\"THREE.WebXRManager: Cannot change reference space type while presenting.\\\")},this.getReferenceSpace=function(){return s||o},this.setReferenceSpace=function(t){s=t},this.getBaseLayer=function(){return null!==c?c:h},this.getBinding=function(){return u},this.getFrame=function(){return p},this.getSession=function(){return r},this.setSession=async function(l){if(r=l,null!==r){if(d=t.getRenderTarget(),r.addEventListener(\\\"select\\\",O),r.addEventListener(\\\"selectstart\\\",O),r.addEventListener(\\\"selectend\\\",O),r.addEventListener(\\\"squeeze\\\",O),r.addEventListener(\\\"squeezestart\\\",O),r.addEventListener(\\\"squeezeend\\\",O),r.addEventListener(\\\"end\\\",I),r.addEventListener(\\\"inputsourceschange\\\",L),!0!==f.xrCompatible&&await e.makeXRCompatible(),void 0===r.renderState.layers||!1===t.capabilities.isWebGL2){const n={antialias:void 0!==r.renderState.layers||f.antialias,alpha:f.alpha,depth:f.depth,stencil:f.stencil,framebufferScaleFactor:i};h=new XRWebGLLayer(r,e,n),r.updateRenderState({baseLayer:h}),m=new Kt(h.framebufferWidth,h.framebufferHeight,{format:M,type:_,encoding:t.outputEncoding})}else{let n=null,o=null,a=null;f.depth&&(a=f.stencil?e.DEPTH24_STENCIL8:e.DEPTH_COMPONENT24,n=f.stencil?T:E,o=f.stencil?C:x);const s={colorFormat:e.RGBA8,depthFormat:a,scaleFactor:i};u=new XRWebGLBinding(r,e),c=u.createProjectionLayer(s),r.updateRenderState({layers:[c]}),m=new Kt(c.textureWidth,c.textureHeight,{format:M,type:_,depthTexture:new Ho(c.textureWidth,c.textureHeight,o,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:f.stencil,encoding:t.outputEncoding,samples:f.antialias?4:0}),t.properties.get(m).__ignoreDepthValues=c.ignoreDepthValues}m.isXRRenderTarget=!0,this.setFoveation(1),s=null,o=await r.requestReferenceSpace(a),$.setContext(r),$.start(),n.isPresenting=!0,n.dispatchEvent({type:\\\"sessionstart\\\"})}};const P=new ee,z=new ee;function R(t,e){null===e?t.matrixWorld.copy(t.matrix):t.matrixWorld.multiplyMatrices(e.matrixWorld,t.matrix),t.matrixWorldInverse.copy(t.matrixWorld).invert()}this.updateCamera=function(t){if(null===r)return;A.near=b.near=y.near=t.near,A.far=b.far=y.far=t.far,S===A.near&&k===A.far||(r.updateRenderState({depthNear:A.near,depthFar:A.far}),S=A.near,k=A.far);const e=t.parent,n=A.cameras;R(A,e);for(let t=0;t<n.length;t++)R(n[t],e);A.matrixWorld.decompose(A.position,A.quaternion,A.scale),t.position.copy(A.position),t.quaternion.copy(A.quaternion),t.scale.copy(A.scale),t.matrix.copy(A.matrix),t.matrixWorld.copy(A.matrixWorld);const i=t.children;for(let t=0,e=i.length;t<e;t++)i[t].updateMatrixWorld(!0);2===n.length?function(t,e,n){P.setFromMatrixPosition(e.matrixWorld),z.setFromMatrixPosition(n.matrixWorld);const r=P.distanceTo(z),i=e.projectionMatrix.elements,o=n.projectionMatrix.elements,a=i[14]/(i[10]-1),s=i[14]/(i[10]+1),l=(i[9]+1)/i[5],u=(i[9]-1)/i[5],c=(i[8]-1)/i[0],h=(o[8]+1)/o[0],p=a*c,f=a*h,d=r/(-c+h),m=d*-c;e.matrixWorld.decompose(t.position,t.quaternion,t.scale),t.translateX(m),t.translateZ(d),t.matrixWorld.compose(t.position,t.quaternion,t.scale),t.matrixWorldInverse.copy(t.matrixWorld).invert();const v=a+d,g=s+d,y=p-m,_=f+(r-m),b=l*s/g*v,x=u*s/g*v;t.projectionMatrix.makePerspective(y,_,b,x,v,g)}(A,y,b):A.projectionMatrix.copy(y.projectionMatrix)},this.getCamera=function(){return A},this.getFoveation=function(){return null!==c?c.fixedFoveation:null!==h?h.fixedFoveation:void 0},this.setFoveation=function(t){null!==c&&(c.fixedFoveation=t),null!==h&&void 0!==h.fixedFoveation&&(h.fixedFoveation=t)};let D=null;const $=new vr;$.setAnimationLoop((function(e,n){if(l=n.getViewerPose(s||o),p=n,null!==l){const e=l.views;null!==h&&(t.setRenderTargetFramebuffer(m,h.framebuffer),t.setRenderTarget(m));let n=!1;e.length!==A.cameras.length&&(A.cameras.length=0,n=!0);for(let r=0;r<e.length;r++){const i=e[r];let o=null;if(null!==h)o=h.getViewport(i);else{const e=u.getViewSubImage(c,i);o=e.viewport,0===r&&(t.setRenderTargetTextures(m,e.colorTexture,c.ignoreDepthValues?void 0:e.depthStencilTexture),t.setRenderTarget(m))}let a=w[r];void 0===a&&(a=new ir,a.layers.enable(r),a.viewport=new Zt,w[r]=a),a.matrix.fromArray(i.transform.matrix),a.projectionMatrix.fromArray(i.projectionMatrix),a.viewport.set(o.x,o.y,o.width,o.height),0===r&&A.matrix.copy(a.matrix),!0===n&&A.cameras.push(a)}}for(let t=0;t<v.length;t++){const e=g[t],r=v[t];null!==e&&void 0!==r&&r.update(e,n,s||o)}D&&D(e,n),p=null})),this.setAnimationLoop=function(t){D=t},this.dispose=function(){}}}function Wo(t,e){function n(n,r){n.opacity.value=r.opacity,r.color&&n.diffuse.value.copy(r.color),r.emissive&&n.emissive.value.copy(r.emissive).multiplyScalar(r.emissiveIntensity),r.map&&(n.map.value=r.map),r.alphaMap&&(n.alphaMap.value=r.alphaMap),r.bumpMap&&(n.bumpMap.value=r.bumpMap,n.bumpScale.value=r.bumpScale,1===r.side&&(n.bumpScale.value*=-1)),r.displacementMap&&(n.displacementMap.value=r.displacementMap,n.displacementScale.value=r.displacementScale,n.displacementBias.value=r.displacementBias),r.emissiveMap&&(n.emissiveMap.value=r.emissiveMap),r.normalMap&&(n.normalMap.value=r.normalMap,n.normalScale.value.copy(r.normalScale),1===r.side&&n.normalScale.value.negate()),r.specularMap&&(n.specularMap.value=r.specularMap),r.alphaTest>0&&(n.alphaTest.value=r.alphaTest);const i=e.get(r).envMap;if(i&&(n.envMap.value=i,n.flipEnvMap.value=i.isCubeTexture&&!1===i.isRenderTargetTexture?-1:1,n.reflectivity.value=r.reflectivity,n.ior.value=r.ior,n.refractionRatio.value=r.refractionRatio),r.lightMap){n.lightMap.value=r.lightMap;const e=!0!==t.physicallyCorrectLights?Math.PI:1;n.lightMapIntensity.value=r.lightMapIntensity*e}let o,a;r.aoMap&&(n.aoMap.value=r.aoMap,n.aoMapIntensity.value=r.aoMapIntensity),r.map?o=r.map:r.specularMap?o=r.specularMap:r.displacementMap?o=r.displacementMap:r.normalMap?o=r.normalMap:r.bumpMap?o=r.bumpMap:r.roughnessMap?o=r.roughnessMap:r.metalnessMap?o=r.metalnessMap:r.alphaMap?o=r.alphaMap:r.emissiveMap?o=r.emissiveMap:r.clearcoatMap?o=r.clearcoatMap:r.clearcoatNormalMap?o=r.clearcoatNormalMap:r.clearcoatRoughnessMap?o=r.clearcoatRoughnessMap:r.iridescenceMap?o=r.iridescenceMap:r.iridescenceThicknessMap?o=r.iridescenceThicknessMap:r.specularIntensityMap?o=r.specularIntensityMap:r.specularColorMap?o=r.specularColorMap:r.transmissionMap?o=r.transmissionMap:r.thicknessMap?o=r.thicknessMap:r.sheenColorMap?o=r.sheenColorMap:r.sheenRoughnessMap&&(o=r.sheenRoughnessMap),void 0!==o&&(o.isWebGLRenderTarget&&(o=o.texture),!0===o.matrixAutoUpdate&&o.updateMatrix(),n.uvTransform.value.copy(o.matrix)),r.aoMap?a=r.aoMap:r.lightMap&&(a=r.lightMap),void 0!==a&&(a.isWebGLRenderTarget&&(a=a.texture),!0===a.matrixAutoUpdate&&a.updateMatrix(),n.uv2Transform.value.copy(a.matrix))}return{refreshFogUniforms:function(t,e){t.fogColor.value.copy(e.color),e.isFog?(t.fogNear.value=e.near,t.fogFar.value=e.far):e.isFogExp2&&(t.fogDensity.value=e.density)},refreshMaterialUniforms:function(t,r,i,o,a){r.isMeshBasicMaterial||r.isMeshLambertMaterial?n(t,r):r.isMeshToonMaterial?(n(t,r),function(t,e){e.gradientMap&&(t.gradientMap.value=e.gradientMap)}(t,r)):r.isMeshPhongMaterial?(n(t,r),function(t,e){t.specular.value.copy(e.specular),t.shininess.value=Math.max(e.shininess,1e-4)}(t,r)):r.isMeshStandardMaterial?(n(t,r),function(t,n){t.roughness.value=n.roughness,t.metalness.value=n.metalness,n.roughnessMap&&(t.roughnessMap.value=n.roughnessMap),n.metalnessMap&&(t.metalnessMap.value=n.metalnessMap),e.get(n).envMap&&(t.envMapIntensity.value=n.envMapIntensity)}(t,r),r.isMeshPhysicalMaterial&&function(t,e,n){t.ior.value=e.ior,e.sheen>0&&(t.sheenColor.value.copy(e.sheenColor).multiplyScalar(e.sheen),t.sheenRoughness.value=e.sheenRoughness,e.sheenColorMap&&(t.sheenColorMap.value=e.sheenColorMap),e.sheenRoughnessMap&&(t.sheenRoughnessMap.value=e.sheenRoughnessMap)),e.clearcoat>0&&(t.clearcoat.value=e.clearcoat,t.clearcoatRoughness.value=e.clearcoatRoughness,e.clearcoatMap&&(t.clearcoatMap.value=e.clearcoatMap),e.clearcoatRoughnessMap&&(t.clearcoatRoughnessMap.value=e.clearcoatRoughnessMap),e.clearcoatNormalMap&&(t.clearcoatNormalScale.value.copy(e.clearcoatNormalScale),t.clearcoatNormalMap.value=e.clearcoatNormalMap,1===e.side&&t.clearcoatNormalScale.value.negate())),e.iridescence>0&&(t.iridescence.value=e.iridescence,t.iridescenceIOR.value=e.iridescenceIOR,t.iridescenceThicknessMinimum.value=e.iridescenceThicknessRange[0],t.iridescenceThicknessMaximum.value=e.iridescenceThicknessRange[1],e.iridescenceMap&&(t.iridescenceMap.value=e.iridescenceMap),e.iridescenceThicknessMap&&(t.iridescenceThicknessMap.value=e.iridescenceThicknessMap)),e.transmission>0&&(t.transmission.value=e.transmission,t.transmissionSamplerMap.value=n.texture,t.transmissionSamplerSize.value.set(n.width,n.height),e.transmissionMap&&(t.transmissionMap.value=e.transmissionMap),t.thickness.value=e.thickness,e.thicknessMap&&(t.thicknessMap.value=e.thicknessMap),t.attenuationDistance.value=e.attenuationDistance,t.attenuationColor.value.copy(e.attenuationColor)),t.specularIntensity.value=e.specularIntensity,t.specularColor.value.copy(e.specularColor),e.specularIntensityMap&&(t.specularIntensityMap.value=e.specularIntensityMap),e.specularColorMap&&(t.specularColorMap.value=e.specularColorMap)}(t,r,a)):r.isMeshMatcapMaterial?(n(t,r),function(t,e){e.matcap&&(t.matcap.value=e.matcap)}(t,r)):r.isMeshDepthMaterial?n(t,r):r.isMeshDistanceMaterial?(n(t,r),function(t,e){t.referencePosition.value.copy(e.referencePosition),t.nearDistance.value=e.nearDistance,t.farDistance.value=e.farDistance}(t,r)):r.isMeshNormalMaterial?n(t,r):r.isLineBasicMaterial?(function(t,e){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity}(t,r),r.isLineDashedMaterial&&function(t,e){t.dashSize.value=e.dashSize,t.totalSize.value=e.dashSize+e.gapSize,t.scale.value=e.scale}(t,r)):r.isPointsMaterial?function(t,e,n,r){let i;t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.size.value=e.size*n,t.scale.value=.5*r,e.map&&(t.map.value=e.map),e.alphaMap&&(t.alphaMap.value=e.alphaMap),e.alphaTest>0&&(t.alphaTest.value=e.alphaTest),e.map?i=e.map:e.alphaMap&&(i=e.alphaMap),void 0!==i&&(!0===i.matrixAutoUpdate&&i.updateMatrix(),t.uvTransform.value.copy(i.matrix))}(t,r,i,o):r.isSpriteMaterial?function(t,e){let n;t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.rotation.value=e.rotation,e.map&&(t.map.value=e.map),e.alphaMap&&(t.alphaMap.value=e.alphaMap),e.alphaTest>0&&(t.alphaTest.value=e.alphaTest),e.map?n=e.map:e.alphaMap&&(n=e.alphaMap),void 0!==n&&(!0===n.matrixAutoUpdate&&n.updateMatrix(),t.uvTransform.value.copy(n.matrix))}(t,r):r.isShadowMaterial?(t.color.value.copy(r.color),t.opacity.value=r.opacity):r.isShaderMaterial&&(r.uniformsNeedUpdate=!1)}}}function Xo(t,e,n,r){let i={},o={},a=[];const s=n.isWebGL2?t.getParameter(t.MAX_UNIFORM_BUFFER_BINDINGS):0;function l(t,e,n){const r=t.value;if(void 0===n[e])return n[e]=\\\"number\\\"==typeof r?r:r.clone(),!0;if(\\\"number\\\"==typeof r){if(n[e]!==r)return n[e]=r,!0}else{const t=n[e];if(!1===t.equals(r))return t.copy(r),!0}return!1}function u(t){const e=t.value,n={boundary:0,storage:0};return\\\"number\\\"==typeof e?(n.boundary=4,n.storage=4):e.isVector2?(n.boundary=8,n.storage=8):e.isVector3||e.isColor?(n.boundary=16,n.storage=12):e.isVector4?(n.boundary=16,n.storage=16):e.isMatrix3?(n.boundary=48,n.storage=48):e.isMatrix4?(n.boundary=64,n.storage=64):e.isTexture?console.warn(\\\"THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group.\\\"):console.warn(\\\"THREE.WebGLRenderer: Unsupported uniform value type.\\\",e),n}function c(e){const n=e.target;n.removeEventListener(\\\"dispose\\\",c);const r=a.indexOf(n.__bindingPointIndex);a.splice(r,1),t.deleteBuffer(i[n.id]),delete i[n.id],delete o[n.id]}return{bind:function(t,e){const n=e.program;r.uniformBlockBinding(t,n)},update:function(n,h){let p=i[n.id];void 0===p&&(function(t){const e=t.uniforms;let n=0;let r=0;for(let t=0,i=e.length;t<i;t++){const i=e[t],o=u(i);if(i.__data=new Float32Array(o.storage/Float32Array.BYTES_PER_ELEMENT),i.__offset=n,t>0){r=n%16;const t=16-r;0!==r&&t-o.boundary<0&&(n+=16-r,i.__offset=n)}n+=o.storage}r=n%16,r>0&&(n+=16-r),t.__size=n,t.__cache={}}(n),p=function(e){const n=function(){for(let t=0;t<s;t++)if(-1===a.indexOf(t))return a.push(t),t;return console.error(\\\"THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached.\\\"),0}();e.__bindingPointIndex=n;const r=t.createBuffer(),i=e.__size,o=e.usage;return t.bindBuffer(t.UNIFORM_BUFFER,r),t.bufferData(t.UNIFORM_BUFFER,i,o),t.bindBuffer(t.UNIFORM_BUFFER,null),t.bindBufferBase(t.UNIFORM_BUFFER,n,r),r}(n),i[n.id]=p,n.addEventListener(\\\"dispose\\\",c));const f=h.program;r.updateUBOMapping(n,f);const d=e.render.frame;o[n.id]!==d&&(function(e){const n=i[e.id],r=e.uniforms,o=e.__cache;t.bindBuffer(t.UNIFORM_BUFFER,n);for(let e=0,n=r.length;e<n;e++){const n=r[e];if(!0===l(n,e,o)){const e=n.value,r=n.__offset;\\\"number\\\"==typeof e?(n.__data[0]=e,t.bufferSubData(t.UNIFORM_BUFFER,r,n.__data)):(n.value.isMatrix3?(n.__data[0]=n.value.elements[0],n.__data[1]=n.value.elements[1],n.__data[2]=n.value.elements[2],n.__data[3]=n.value.elements[0],n.__data[4]=n.value.elements[3],n.__data[5]=n.value.elements[4],n.__data[6]=n.value.elements[5],n.__data[7]=n.value.elements[0],n.__data[8]=n.value.elements[6],n.__data[9]=n.value.elements[7],n.__data[10]=n.value.elements[8],n.__data[11]=n.value.elements[0]):e.toArray(n.__data),t.bufferSubData(t.UNIFORM_BUFFER,r,n.__data))}}t.bindBuffer(t.UNIFORM_BUFFER,null)}(n),o[n.id]=d)},dispose:function(){for(const e in i)t.deleteBuffer(i[e]);a=[],i={},o={}}}}function Yo(t={}){this.isWebGLRenderer=!0;const e=void 0!==t.canvas?t.canvas:function(){const t=Lt(\\\"canvas\\\");return t.style.display=\\\"block\\\",t}(),n=void 0!==t.context?t.context:null,r=void 0===t.depth||t.depth,i=void 0===t.stencil||t.stencil,o=void 0!==t.antialias&&t.antialias,a=void 0===t.premultipliedAlpha||t.premultipliedAlpha,s=void 0!==t.preserveDrawingBuffer&&t.preserveDrawingBuffer,l=void 0!==t.powerPreference?t.powerPreference:\\\"default\\\",u=void 0!==t.failIfMajorPerformanceCaveat&&t.failIfMajorPerformanceCaveat;let c;c=null!==n?n.getContextAttributes().alpha:void 0!==t.alpha&&t.alpha;let h=null,p=null;const f=[],d=[];this.domElement=e,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=at,this.physicallyCorrectLights=!1,this.toneMapping=0,this.toneMappingExposure=1,Object.defineProperties(this,{gammaFactor:{get:function(){return console.warn(\\\"THREE.WebGLRenderer: .gammaFactor has been removed.\\\"),2},set:function(){console.warn(\\\"THREE.WebGLRenderer: .gammaFactor has been removed.\\\")}}});const m=this;let v=!1,g=0,b=0,x=null,C=-1,E=null;const T=new Zt,S=new Zt;let k=null,O=e.width,I=e.height,L=1,P=null,z=null;const R=new Zt(0,0,O,I),D=new Zt(0,0,O,I);let $=!1;const B=new mr;let N=!1,F=!1,j=null;const U=new Le,q=new Tt,V=new ee,H={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function G(){return null===x?L:1}let W,X,Y,Z,K,J,Q,tt,et,nt,rt,it,ot,st,lt,ut,ct,ht,pt,ft,dt,mt,vt,gt,yt=n;function _t(t,n){for(let r=0;r<t.length;r++){const i=t[r],o=e.getContext(i,n);if(null!==o)return o}return null}try{const t={alpha:!0,depth:r,stencil:i,antialias:o,premultipliedAlpha:a,preserveDrawingBuffer:s,powerPreference:l,failIfMajorPerformanceCaveat:u};if(\\\"setAttribute\\\"in e&&e.setAttribute(\\\"data-engine\\\",\\\"three.js r143\\\"),e.addEventListener(\\\"webglcontextlost\\\",wt,!1),e.addEventListener(\\\"webglcontextrestored\\\",At,!1),e.addEventListener(\\\"webglcontextcreationerror\\\",Ct,!1),null===yt){const e=[\\\"webgl2\\\",\\\"webgl\\\",\\\"experimental-webgl\\\"];if(!0===m.isWebGL1Renderer&&e.shift(),yt=_t(e,t),null===yt)throw _t(e)?new Error(\\\"Error creating WebGL context with your selected attributes.\\\"):new Error(\\\"Error creating WebGL context.\\\")}void 0===yt.getShaderPrecisionFormat&&(yt.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(t){throw console.error(\\\"THREE.WebGLRenderer: \\\"+t.message),t}function bt(){W=new Ur(yt),X=new Mr(yt,W,t),W.init(X),mt=new Fo(yt,W,X),Y=new Bo(yt,W,X),Z=new Hr(yt),K=new Co,J=new No(yt,W,Y,K,X,mt,Z),Q=new Tr(m),tt=new jr(m),et=new gr(yt,X),vt=new Ar(yt,W,et,X),nt=new qr(yt,et,Z,vt),rt=new Zr(yt,nt,et,Z),pt=new Yr(yt,X,J),ut=new Er(K),it=new Ao(m,Q,tt,W,X,vt,ut),ot=new Wo(m,K),st=new So,lt=new zo(W,X),ht=new wr(m,Q,Y,rt,c,a),ct=new $o(m,rt,X),gt=new Xo(yt,Z,X,Y),ft=new Cr(yt,W,Z,X),dt=new Vr(yt,W,Z,X),Z.programs=it.programs,m.capabilities=X,m.extensions=W,m.properties=K,m.renderLists=st,m.shadowMap=ct,m.state=Y,m.info=Z}bt();const xt=new Go(m,yt);function wt(t){t.preventDefault(),console.log(\\\"THREE.WebGLRenderer: Context Lost.\\\"),v=!0}function At(){console.log(\\\"THREE.WebGLRenderer: Context Restored.\\\"),v=!1;const t=Z.autoReset,e=ct.enabled,n=ct.autoUpdate,r=ct.needsUpdate,i=ct.type;bt(),Z.autoReset=t,ct.enabled=e,ct.autoUpdate=n,ct.needsUpdate=r,ct.type=i}function Ct(t){console.error(\\\"THREE.WebGLRenderer: A WebGL context could not be created. Reason: \\\",t.statusMessage)}function Et(t){const e=t.target;e.removeEventListener(\\\"dispose\\\",Et),function(t){(function(t){const e=K.get(t).programs;void 0!==e&&(e.forEach((function(t){it.releaseProgram(t)})),t.isShaderMaterial&&it.releaseShaderCache(t))})(t),K.remove(t)}(e)}this.xr=xt,this.getContext=function(){return yt},this.getContextAttributes=function(){return yt.getContextAttributes()},this.forceContextLoss=function(){const t=W.get(\\\"WEBGL_lose_context\\\");t&&t.loseContext()},this.forceContextRestore=function(){const t=W.get(\\\"WEBGL_lose_context\\\");t&&t.restoreContext()},this.getPixelRatio=function(){return L},this.setPixelRatio=function(t){void 0!==t&&(L=t,this.setSize(O,I,!1))},this.getSize=function(t){return t.set(O,I)},this.setSize=function(t,n,r){xt.isPresenting?console.warn(\\\"THREE.WebGLRenderer: Can't change size while VR device is presenting.\\\"):(O=t,I=n,e.width=Math.floor(t*L),e.height=Math.floor(n*L),!1!==r&&(e.style.width=t+\\\"px\\\",e.style.height=n+\\\"px\\\"),this.setViewport(0,0,t,n))},this.getDrawingBufferSize=function(t){return t.set(O*L,I*L).floor()},this.setDrawingBufferSize=function(t,n,r){O=t,I=n,L=r,e.width=Math.floor(t*r),e.height=Math.floor(n*r),this.setViewport(0,0,t,n)},this.getCurrentViewport=function(t){return t.copy(T)},this.getViewport=function(t){return t.copy(R)},this.setViewport=function(t,e,n,r){t.isVector4?R.set(t.x,t.y,t.z,t.w):R.set(t,e,n,r),Y.viewport(T.copy(R).multiplyScalar(L).floor())},this.getScissor=function(t){return t.copy(D)},this.setScissor=function(t,e,n,r){t.isVector4?D.set(t.x,t.y,t.z,t.w):D.set(t,e,n,r),Y.scissor(S.copy(D).multiplyScalar(L).floor())},this.getScissorTest=function(){return $},this.setScissorTest=function(t){Y.setScissorTest($=t)},this.setOpaqueSort=function(t){P=t},this.setTransparentSort=function(t){z=t},this.getClearColor=function(t){return t.copy(ht.getClearColor())},this.setClearColor=function(){ht.setClearColor.apply(ht,arguments)},this.getClearAlpha=function(){return ht.getClearAlpha()},this.setClearAlpha=function(){ht.setClearAlpha.apply(ht,arguments)},this.clear=function(t=!0,e=!0,n=!0){let r=0;t&&(r|=yt.COLOR_BUFFER_BIT),e&&(r|=yt.DEPTH_BUFFER_BIT),n&&(r|=yt.STENCIL_BUFFER_BIT),yt.clear(r)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){e.removeEventListener(\\\"webglcontextlost\\\",wt,!1),e.removeEventListener(\\\"webglcontextrestored\\\",At,!1),e.removeEventListener(\\\"webglcontextcreationerror\\\",Ct,!1),st.dispose(),lt.dispose(),K.dispose(),Q.dispose(),tt.dispose(),rt.dispose(),vt.dispose(),gt.dispose(),it.dispose(),xt.dispose(),xt.removeEventListener(\\\"sessionstart\\\",kt),xt.removeEventListener(\\\"sessionend\\\",Ot),j&&(j.dispose(),j=null),It.stop()},this.renderBufferDirect=function(t,e,n,r,i,o){null===e&&(e=H);const a=i.isMesh&&i.matrixWorld.determinant()<0,s=function(t,e,n,r,i){!0!==e.isScene&&(e=H),J.resetTextureUnits();const o=e.fog,a=r.isMeshStandardMaterial?e.environment:null,s=null===x?m.outputEncoding:!0===x.isXRRenderTarget?x.texture.encoding:at,l=(r.isMeshStandardMaterial?tt:Q).get(r.envMap||a),u=!0===r.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,c=!!r.normalMap&&!!n.attributes.tangent,h=!!n.morphAttributes.position,f=!!n.morphAttributes.normal,d=!!n.morphAttributes.color,v=r.toneMapped?m.toneMapping:0,g=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,y=void 0!==g?g.length:0,_=K.get(r),b=p.state.lights;if(!0===N&&(!0===F||t!==E)){const e=t===E&&r.id===C;ut.setState(r,t,e)}let w=!1;r.version===_.__version?_.needsLights&&_.lightsStateVersion!==b.state.version||_.outputEncoding!==s||i.isInstancedMesh&&!1===_.instancing?w=!0:i.isInstancedMesh||!0!==_.instancing?i.isSkinnedMesh&&!1===_.skinning?w=!0:i.isSkinnedMesh||!0!==_.skinning?_.envMap!==l||!0===r.fog&&_.fog!==o?w=!0:void 0===_.numClippingPlanes||_.numClippingPlanes===ut.numPlanes&&_.numIntersection===ut.numIntersection?(_.vertexAlphas!==u||_.vertexTangents!==c||_.morphTargets!==h||_.morphNormals!==f||_.morphColors!==d||_.toneMapping!==v||!0===X.isWebGL2&&_.morphTargetsCount!==y)&&(w=!0):w=!0:w=!0:w=!0:(w=!0,_.__version=r.version);let A=_.currentProgram;!0===w&&(A=$t(r,e,i));let M=!1,T=!1,S=!1;const k=A.getUniforms(),O=_.uniforms;if(Y.useProgram(A.program)&&(M=!0,T=!0,S=!0),r.id!==C&&(C=r.id,T=!0),M||E!==t){if(k.setValue(yt,\\\"projectionMatrix\\\",t.projectionMatrix),X.logarithmicDepthBuffer&&k.setValue(yt,\\\"logDepthBufFC\\\",2/(Math.log(t.far+1)/Math.LN2)),E!==t&&(E=t,T=!0,S=!0),r.isShaderMaterial||r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshStandardMaterial||r.envMap){const e=k.map.cameraPosition;void 0!==e&&e.setValue(yt,V.setFromMatrixPosition(t.matrixWorld))}(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial)&&k.setValue(yt,\\\"isOrthographic\\\",!0===t.isOrthographicCamera),(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial||r.isShadowMaterial||i.isSkinnedMesh)&&k.setValue(yt,\\\"viewMatrix\\\",t.matrixWorldInverse)}if(i.isSkinnedMesh){k.setOptional(yt,i,\\\"bindMatrix\\\"),k.setOptional(yt,i,\\\"bindMatrixInverse\\\");const t=i.skeleton;t&&(X.floatVertexTextures?(null===t.boneTexture&&t.computeBoneTexture(),k.setValue(yt,\\\"boneTexture\\\",t.boneTexture,J),k.setValue(yt,\\\"boneTextureSize\\\",t.boneTextureSize)):console.warn(\\\"THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required.\\\"))}const P=n.morphAttributes;var z,R;if((void 0!==P.position||void 0!==P.normal||void 0!==P.color&&!0===X.isWebGL2)&&pt.update(i,n,r,A),(T||_.receiveShadow!==i.receiveShadow)&&(_.receiveShadow=i.receiveShadow,k.setValue(yt,\\\"receiveShadow\\\",i.receiveShadow)),T&&(k.setValue(yt,\\\"toneMappingExposure\\\",m.toneMappingExposure),_.needsLights&&(R=S,(z=O).ambientLightColor.needsUpdate=R,z.lightProbe.needsUpdate=R,z.directionalLights.needsUpdate=R,z.directionalLightShadows.needsUpdate=R,z.pointLights.needsUpdate=R,z.pointLightShadows.needsUpdate=R,z.spotLights.needsUpdate=R,z.spotLightShadows.needsUpdate=R,z.rectAreaLights.needsUpdate=R,z.hemisphereLights.needsUpdate=R),o&&!0===r.fog&&ot.refreshFogUniforms(O,o),ot.refreshMaterialUniforms(O,r,L,I,j),to.upload(yt,_.uniformsList,O,J)),r.isShaderMaterial&&!0===r.uniformsNeedUpdate&&(to.upload(yt,_.uniformsList,O,J),r.uniformsNeedUpdate=!1),r.isSpriteMaterial&&k.setValue(yt,\\\"center\\\",i.center),k.setValue(yt,\\\"modelViewMatrix\\\",i.modelViewMatrix),k.setValue(yt,\\\"normalMatrix\\\",i.normalMatrix),k.setValue(yt,\\\"modelMatrix\\\",i.matrixWorld),r.isShaderMaterial||r.isRawShaderMaterial){const t=r.uniformsGroups;for(let e=0,n=t.length;e<n;e++)if(X.isWebGL2){const n=t[e];gt.update(n,A),gt.bind(n,A)}else console.warn(\\\"THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.\\\")}return A}(t,e,n,r,i);Y.setMaterial(r,a);let l=n.index;const u=n.attributes.position;if(null===l){if(void 0===u||0===u.count)return}else if(0===l.count)return;let c,h=1;!0===r.wireframe&&(l=nt.getWireframeAttribute(n),h=2),vt.setup(i,r,s,n,l);let f=ft;null!==l&&(c=et.get(l),f=dt,f.setIndex(c));const d=null!==l?l.count:u.count,v=n.drawRange.start*h,g=n.drawRange.count*h,y=null!==o?o.start*h:0,_=null!==o?o.count*h:1/0,b=Math.max(v,y),w=Math.min(d,v+g,y+_)-1,A=Math.max(0,w-b+1);if(0!==A){if(i.isMesh)!0===r.wireframe?(Y.setLineWidth(r.wireframeLinewidth*G()),f.setMode(yt.LINES)):f.setMode(yt.TRIANGLES);else if(i.isLine){let t=r.linewidth;void 0===t&&(t=1),Y.setLineWidth(t*G()),i.isLineSegments?f.setMode(yt.LINES):i.isLineLoop?f.setMode(yt.LINE_LOOP):f.setMode(yt.LINE_STRIP)}else i.isPoints?f.setMode(yt.POINTS):i.isSprite&&f.setMode(yt.TRIANGLES);if(i.isInstancedMesh)f.renderInstances(b,A,i.count);else if(n.isInstancedBufferGeometry){const t=Math.min(n.instanceCount,n._maxInstanceCount);f.renderInstances(b,A,t)}else f.render(b,A)}},this.compile=function(t,e){p=lt.get(t),p.init(),d.push(p),t.traverseVisible((function(t){t.isLight&&t.layers.test(e.layers)&&(p.pushLight(t),t.castShadow&&p.pushShadow(t))})),p.setupLights(m.physicallyCorrectLights),t.traverse((function(e){const n=e.material;if(n)if(Array.isArray(n))for(let r=0;r<n.length;r++)$t(n[r],t,e);else $t(n,t,e)})),d.pop(),p=null};let St=null;function kt(){It.stop()}function Ot(){It.start()}const It=new vr;function Pt(t,e,n,r){if(!1===t.visible)return;if(t.layers.test(e.layers))if(t.isGroup)n=t.renderOrder;else if(t.isLOD)!0===t.autoUpdate&&t.update(e);else if(t.isLight)p.pushLight(t),t.castShadow&&p.pushShadow(t);else if(t.isSprite){if(!t.frustumCulled||B.intersectsSprite(t)){r&&V.setFromMatrixPosition(t.matrixWorld).applyMatrix4(U);const e=rt.update(t),i=t.material;i.visible&&h.push(t,e,i,n,V.z,null)}}else if((t.isMesh||t.isLine||t.isPoints)&&(t.isSkinnedMesh&&t.skeleton.frame!==Z.render.frame&&(t.skeleton.update(),t.skeleton.frame=Z.render.frame),!t.frustumCulled||B.intersectsObject(t))){r&&V.setFromMatrixPosition(t.matrixWorld).applyMatrix4(U);const e=rt.update(t),i=t.material;if(Array.isArray(i)){const r=e.groups;for(let o=0,a=r.length;o<a;o++){const a=r[o],s=i[a.materialIndex];s&&s.visible&&h.push(t,e,s,n,V.z,a)}}else i.visible&&h.push(t,e,i,n,V.z,null)}const i=t.children;for(let t=0,o=i.length;t<o;t++)Pt(i[t],e,n,r)}function zt(t,e,n,r){const i=t.opaque,a=t.transmissive,s=t.transparent;p.setupLightsView(n),a.length>0&&function(t,e,n){const r=X.isWebGL2;null===j&&(j=new Kt(1,1,{generateMipmaps:!0,type:W.has(\\\"EXT_color_buffer_half_float\\\")?A:_,minFilter:y,samples:r&&!0===o?4:0})),m.getDrawingBufferSize(q),r?j.setSize(q.x,q.y):j.setSize(Mt(q.x),Mt(q.y));const i=m.getRenderTarget();m.setRenderTarget(j),m.clear();const a=m.toneMapping;m.toneMapping=0,Rt(t,e,n),m.toneMapping=a,J.updateMultisampleRenderTarget(j),J.updateRenderTargetMipmap(j),m.setRenderTarget(i)}(i,e,n),r&&Y.viewport(T.copy(r)),i.length>0&&Rt(i,e,n),a.length>0&&Rt(a,e,n),s.length>0&&Rt(s,e,n),Y.buffers.depth.setTest(!0),Y.buffers.depth.setMask(!0),Y.buffers.color.setMask(!0),Y.setPolygonOffset(!1)}function Rt(t,e,n){const r=!0===e.isScene?e.overrideMaterial:null;for(let i=0,o=t.length;i<o;i++){const o=t[i],a=o.object,s=o.geometry,l=null===r?o.material:r,u=o.group;a.layers.test(n.layers)&&Dt(a,e,n,s,l,u)}}function Dt(t,e,n,r,i,o){t.onBeforeRender(m,e,n,r,i,o),t.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,t.matrixWorld),t.normalMatrix.getNormalMatrix(t.modelViewMatrix),i.onBeforeRender(m,e,n,r,t,o),!0===i.transparent&&2===i.side?(i.side=1,i.needsUpdate=!0,m.renderBufferDirect(n,e,r,i,t,o),i.side=0,i.needsUpdate=!0,m.renderBufferDirect(n,e,r,i,t,o),i.side=2):m.renderBufferDirect(n,e,r,i,t,o),t.onAfterRender(m,e,n,r,i,o)}function $t(t,e,n){!0!==e.isScene&&(e=H);const r=K.get(t),i=p.state.lights,o=p.state.shadowsArray,a=i.state.version,s=it.getParameters(t,i.state,o,e,n),l=it.getProgramCacheKey(s);let u=r.programs;r.environment=t.isMeshStandardMaterial?e.environment:null,r.fog=e.fog,r.envMap=(t.isMeshStandardMaterial?tt:Q).get(t.envMap||r.environment),void 0===u&&(t.addEventListener(\\\"dispose\\\",Et),u=new Map,r.programs=u);let c=u.get(l);if(void 0!==c){if(r.currentProgram===c&&r.lightsStateVersion===a)return Bt(t,s),c}else s.uniforms=it.getUniforms(t),t.onBuild(n,s,m),t.onBeforeCompile(s,m),c=it.acquireProgram(s,l),u.set(l,c),r.uniforms=s.uniforms;const h=r.uniforms;(t.isShaderMaterial||t.isRawShaderMaterial)&&!0!==t.clipping||(h.clippingPlanes=ut.uniform),Bt(t,s),r.needsLights=function(t){return t.isMeshLambertMaterial||t.isMeshToonMaterial||t.isMeshPhongMaterial||t.isMeshStandardMaterial||t.isShadowMaterial||t.isShaderMaterial&&!0===t.lights}(t),r.lightsStateVersion=a,r.needsLights&&(h.ambientLightColor.value=i.state.ambient,h.lightProbe.value=i.state.probe,h.directionalLights.value=i.state.directional,h.directionalLightShadows.value=i.state.directionalShadow,h.spotLights.value=i.state.spot,h.spotLightShadows.value=i.state.spotShadow,h.rectAreaLights.value=i.state.rectArea,h.ltc_1.value=i.state.rectAreaLTC1,h.ltc_2.value=i.state.rectAreaLTC2,h.pointLights.value=i.state.point,h.pointLightShadows.value=i.state.pointShadow,h.hemisphereLights.value=i.state.hemi,h.directionalShadowMap.value=i.state.directionalShadowMap,h.directionalShadowMatrix.value=i.state.directionalShadowMatrix,h.spotShadowMap.value=i.state.spotShadowMap,h.spotShadowMatrix.value=i.state.spotShadowMatrix,h.pointShadowMap.value=i.state.pointShadowMap,h.pointShadowMatrix.value=i.state.pointShadowMatrix);const f=c.getUniforms(),d=to.seqWithValue(f.seq,h);return r.currentProgram=c,r.uniformsList=d,c}function Bt(t,e){const n=K.get(t);n.outputEncoding=e.outputEncoding,n.instancing=e.instancing,n.skinning=e.skinning,n.morphTargets=e.morphTargets,n.morphNormals=e.morphNormals,n.morphColors=e.morphColors,n.morphTargetsCount=e.morphTargetsCount,n.numClippingPlanes=e.numClippingPlanes,n.numIntersection=e.numClipIntersection,n.vertexAlphas=e.vertexAlphas,n.vertexTangents=e.vertexTangents,n.toneMapping=e.toneMapping}It.setAnimationLoop((function(t){St&&St(t)})),\\\"undefined\\\"!=typeof self&&It.setContext(self),this.setAnimationLoop=function(t){St=t,xt.setAnimationLoop(t),null===t?It.stop():It.start()},xt.addEventListener(\\\"sessionstart\\\",kt),xt.addEventListener(\\\"sessionend\\\",Ot),this.render=function(t,e){if(void 0!==e&&!0!==e.isCamera)return void console.error(\\\"THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.\\\");if(!0===v)return;!0===t.autoUpdate&&t.updateMatrixWorld(),null===e.parent&&e.updateMatrixWorld(),!0===xt.enabled&&!0===xt.isPresenting&&(!0===xt.cameraAutoUpdate&&xt.updateCamera(e),e=xt.getCamera()),!0===t.isScene&&t.onBeforeRender(m,t,e,x),p=lt.get(t,d.length),p.init(),d.push(p),U.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),B.setFromProjectionMatrix(U),F=this.localClippingEnabled,N=ut.init(this.clippingPlanes,F,e),h=st.get(t,f.length),h.init(),f.push(h),Pt(t,e,0,m.sortObjects),h.finish(),!0===m.sortObjects&&h.sort(P,z),!0===N&&ut.beginShadows();const n=p.state.shadowsArray;if(ct.render(n,t,e),!0===N&&ut.endShadows(),!0===this.info.autoReset&&this.info.reset(),ht.render(h,t),p.setupLights(m.physicallyCorrectLights),e.isArrayCamera){const n=e.cameras;for(let e=0,r=n.length;e<r;e++){const r=n[e];zt(h,t,r,r.viewport)}}else zt(h,t,e);null!==x&&(J.updateMultisampleRenderTarget(x),J.updateRenderTargetMipmap(x)),!0===t.isScene&&t.onAfterRender(m,t,e),vt.resetDefaultState(),C=-1,E=null,d.pop(),p=d.length>0?d[d.length-1]:null,f.pop(),h=f.length>0?f[f.length-1]:null},this.getActiveCubeFace=function(){return g},this.getActiveMipmapLevel=function(){return b},this.getRenderTarget=function(){return x},this.setRenderTargetTextures=function(t,e,n){K.get(t.texture).__webglTexture=e,K.get(t.depthTexture).__webglTexture=n;const r=K.get(t);r.__hasExternalTextures=!0,r.__hasExternalTextures&&(r.__autoAllocateDepthBuffer=void 0===n,r.__autoAllocateDepthBuffer||!0===W.has(\\\"WEBGL_multisampled_render_to_texture\\\")&&(console.warn(\\\"THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided\\\"),r.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(t,e){const n=K.get(t);n.__webglFramebuffer=e,n.__useDefaultFramebuffer=void 0===e},this.setRenderTarget=function(t,e=0,n=0){x=t,g=e,b=n;let r=!0;if(t){const e=K.get(t);void 0!==e.__useDefaultFramebuffer?(Y.bindFramebuffer(yt.FRAMEBUFFER,null),r=!1):void 0===e.__webglFramebuffer?J.setupRenderTarget(t):e.__hasExternalTextures&&J.rebindTextures(t,K.get(t.texture).__webglTexture,K.get(t.depthTexture).__webglTexture)}let i=null,o=!1,a=!1;if(t){const n=t.texture;(n.isData3DTexture||n.isDataArrayTexture)&&(a=!0);const r=K.get(t).__webglFramebuffer;t.isWebGLCubeRenderTarget?(i=r[e],o=!0):i=X.isWebGL2&&t.samples>0&&!1===J.useMultisampledRTT(t)?K.get(t).__webglMultisampledFramebuffer:r,T.copy(t.viewport),S.copy(t.scissor),k=t.scissorTest}else T.copy(R).multiplyScalar(L).floor(),S.copy(D).multiplyScalar(L).floor(),k=$;if(Y.bindFramebuffer(yt.FRAMEBUFFER,i)&&X.drawBuffers&&r&&Y.drawBuffers(t,i),Y.viewport(T),Y.scissor(S),Y.setScissorTest(k),o){const r=K.get(t.texture);yt.framebufferTexture2D(yt.FRAMEBUFFER,yt.COLOR_ATTACHMENT0,yt.TEXTURE_CUBE_MAP_POSITIVE_X+e,r.__webglTexture,n)}else if(a){const r=K.get(t.texture),i=e||0;yt.framebufferTextureLayer(yt.FRAMEBUFFER,yt.COLOR_ATTACHMENT0,r.__webglTexture,n||0,i)}C=-1},this.readRenderTargetPixels=function(t,e,n,r,i,o,a){if(!t||!t.isWebGLRenderTarget)return void console.error(\\\"THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.\\\");let s=K.get(t).__webglFramebuffer;if(t.isWebGLCubeRenderTarget&&void 0!==a&&(s=s[a]),s){Y.bindFramebuffer(yt.FRAMEBUFFER,s);try{const a=t.texture,s=a.format,l=a.type;if(s!==M&&mt.convert(s)!==yt.getParameter(yt.IMPLEMENTATION_COLOR_READ_FORMAT))return void console.error(\\\"THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.\\\");const u=l===A&&(W.has(\\\"EXT_color_buffer_half_float\\\")||X.isWebGL2&&W.has(\\\"EXT_color_buffer_float\\\"));if(!(l===_||mt.convert(l)===yt.getParameter(yt.IMPLEMENTATION_COLOR_READ_TYPE)||l===w&&(X.isWebGL2||W.has(\\\"OES_texture_float\\\")||W.has(\\\"WEBGL_color_buffer_float\\\"))||u))return void console.error(\\\"THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.\\\");e>=0&&e<=t.width-r&&n>=0&&n<=t.height-i&&yt.readPixels(e,n,r,i,mt.convert(s),mt.convert(l),o)}finally{const t=null!==x?K.get(x).__webglFramebuffer:null;Y.bindFramebuffer(yt.FRAMEBUFFER,t)}}},this.copyFramebufferToTexture=function(t,e,n=0){const r=Math.pow(2,-n),i=Math.floor(e.image.width*r),o=Math.floor(e.image.height*r);J.setTexture2D(e,0),yt.copyTexSubImage2D(yt.TEXTURE_2D,n,0,0,t.x,t.y,i,o),Y.unbindTexture()},this.copyTextureToTexture=function(t,e,n,r=0){const i=e.image.width,o=e.image.height,a=mt.convert(n.format),s=mt.convert(n.type);J.setTexture2D(n,0),yt.pixelStorei(yt.UNPACK_FLIP_Y_WEBGL,n.flipY),yt.pixelStorei(yt.UNPACK_PREMULTIPLY_ALPHA_WEBGL,n.premultiplyAlpha),yt.pixelStorei(yt.UNPACK_ALIGNMENT,n.unpackAlignment),e.isDataTexture?yt.texSubImage2D(yt.TEXTURE_2D,r,t.x,t.y,i,o,a,s,e.image.data):e.isCompressedTexture?yt.compressedTexSubImage2D(yt.TEXTURE_2D,r,t.x,t.y,e.mipmaps[0].width,e.mipmaps[0].height,a,e.mipmaps[0].data):yt.texSubImage2D(yt.TEXTURE_2D,r,t.x,t.y,a,s,e.image),0===r&&n.generateMipmaps&&yt.generateMipmap(yt.TEXTURE_2D),Y.unbindTexture()},this.copyTextureToTexture3D=function(t,e,n,r,i=0){if(m.isWebGL1Renderer)return void console.warn(\\\"THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.\\\");const o=t.max.x-t.min.x+1,a=t.max.y-t.min.y+1,s=t.max.z-t.min.z+1,l=mt.convert(r.format),u=mt.convert(r.type);let c;if(r.isData3DTexture)J.setTexture3D(r,0),c=yt.TEXTURE_3D;else{if(!r.isDataArrayTexture)return void console.warn(\\\"THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.\\\");J.setTexture2DArray(r,0),c=yt.TEXTURE_2D_ARRAY}yt.pixelStorei(yt.UNPACK_FLIP_Y_WEBGL,r.flipY),yt.pixelStorei(yt.UNPACK_PREMULTIPLY_ALPHA_WEBGL,r.premultiplyAlpha),yt.pixelStorei(yt.UNPACK_ALIGNMENT,r.unpackAlignment);const h=yt.getParameter(yt.UNPACK_ROW_LENGTH),p=yt.getParameter(yt.UNPACK_IMAGE_HEIGHT),f=yt.getParameter(yt.UNPACK_SKIP_PIXELS),d=yt.getParameter(yt.UNPACK_SKIP_ROWS),v=yt.getParameter(yt.UNPACK_SKIP_IMAGES),g=n.isCompressedTexture?n.mipmaps[0]:n.image;yt.pixelStorei(yt.UNPACK_ROW_LENGTH,g.width),yt.pixelStorei(yt.UNPACK_IMAGE_HEIGHT,g.height),yt.pixelStorei(yt.UNPACK_SKIP_PIXELS,t.min.x),yt.pixelStorei(yt.UNPACK_SKIP_ROWS,t.min.y),yt.pixelStorei(yt.UNPACK_SKIP_IMAGES,t.min.z),n.isDataTexture||n.isData3DTexture?yt.texSubImage3D(c,i,e.x,e.y,e.z,o,a,s,l,u,g.data):n.isCompressedTexture?(console.warn(\\\"THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture.\\\"),yt.compressedTexSubImage3D(c,i,e.x,e.y,e.z,o,a,s,l,g.data)):yt.texSubImage3D(c,i,e.x,e.y,e.z,o,a,s,l,u,g),yt.pixelStorei(yt.UNPACK_ROW_LENGTH,h),yt.pixelStorei(yt.UNPACK_IMAGE_HEIGHT,p),yt.pixelStorei(yt.UNPACK_SKIP_PIXELS,f),yt.pixelStorei(yt.UNPACK_SKIP_ROWS,d),yt.pixelStorei(yt.UNPACK_SKIP_IMAGES,v),0===i&&r.generateMipmaps&&yt.generateMipmap(c),Y.unbindTexture()},this.initTexture=function(t){t.isCubeTexture?J.setTextureCube(t,0):t.isData3DTexture?J.setTexture3D(t,0):t.isDataArrayTexture?J.setTexture2DArray(t,0):J.setTexture2D(t,0),Y.unbindTexture()},this.resetState=function(){g=0,b=0,x=null,Y.reset(),vt.reset()},\\\"undefined\\\"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(\\\"observe\\\",{detail:this}))}class Zo extends Yo{}Zo.prototype.isWebGL1Renderer=!0;class Ko{constructor(t,e=25e-5){this.isFogExp2=!0,this.name=\\\"\\\",this.color=new qt(t),this.density=e}clone(){return new Ko(this.color,this.density)}toJSON(){return{type:\\\"FogExp2\\\",color:this.color.getHex(),density:this.density}}}class Jo{constructor(t,e=1,n=1e3){this.isFog=!0,this.name=\\\"\\\",this.color=new qt(t),this.near=e,this.far=n}clone(){return new Jo(this.color,this.near,this.far)}toJSON(){return{type:\\\"Fog\\\",color:this.color.getHex(),near:this.near,far:this.far}}}class Qo extends rn{constructor(){super(),this.isScene=!0,this.type=\\\"Scene\\\",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,this.autoUpdate=!0,\\\"undefined\\\"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(\\\"observe\\\",{detail:this}))}copy(t,e){return super.copy(t,e),null!==t.background&&(this.background=t.background.clone()),null!==t.environment&&(this.environment=t.environment.clone()),null!==t.fog&&(this.fog=t.fog.clone()),null!==t.overrideMaterial&&(this.overrideMaterial=t.overrideMaterial.clone()),this.autoUpdate=t.autoUpdate,this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){const e=super.toJSON(t);return null!==this.fog&&(e.object.fog=this.fog.toJSON()),e}}class ta{constructor(t,e){this.isInterleavedBuffer=!0,this.array=t,this.stride=e,this.count=void 0!==t?t.length/e:0,this.usage=ht,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=_t()}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.array=new t.array.constructor(t.array),this.count=t.count,this.stride=t.stride,this.usage=t.usage,this}copyAt(t,e,n){t*=this.stride,n*=e.stride;for(let r=0,i=this.stride;r<i;r++)this.array[t+r]=e.array[n+r];return this}set(t,e=0){return this.array.set(t,e),this}clone(t){void 0===t.arrayBuffers&&(t.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=_t()),void 0===t.arrayBuffers[this.array.buffer._uuid]&&(t.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const e=new this.array.constructor(t.arrayBuffers[this.array.buffer._uuid]),n=new this.constructor(e,this.stride);return n.setUsage(this.usage),n}onUpload(t){return this.onUploadCallback=t,this}toJSON(t){return void 0===t.arrayBuffers&&(t.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=_t()),void 0===t.arrayBuffers[this.array.buffer._uuid]&&(t.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const ea=new ee;class na{constructor(t,e,n,r=!1){this.isInterleavedBufferAttribute=!0,this.name=\\\"\\\",this.data=t,this.itemSize=e,this.offset=n,this.normalized=!0===r}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(t){this.data.needsUpdate=t}applyMatrix4(t){for(let e=0,n=this.data.count;e<n;e++)ea.fromBufferAttribute(this,e),ea.applyMatrix4(t),this.setXYZ(e,ea.x,ea.y,ea.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)ea.fromBufferAttribute(this,e),ea.applyNormalMatrix(t),this.setXYZ(e,ea.x,ea.y,ea.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)ea.fromBufferAttribute(this,e),ea.transformDirection(t),this.setXYZ(e,ea.x,ea.y,ea.z);return this}setX(t,e){return this.data.array[t*this.data.stride+this.offset]=e,this}setY(t,e){return this.data.array[t*this.data.stride+this.offset+1]=e,this}setZ(t,e){return this.data.array[t*this.data.stride+this.offset+2]=e,this}setW(t,e){return this.data.array[t*this.data.stride+this.offset+3]=e,this}getX(t){return this.data.array[t*this.data.stride+this.offset]}getY(t){return this.data.array[t*this.data.stride+this.offset+1]}getZ(t){return this.data.array[t*this.data.stride+this.offset+2]}getW(t){return this.data.array[t*this.data.stride+this.offset+3]}setXY(t,e,n){return t=t*this.data.stride+this.offset,this.data.array[t+0]=e,this.data.array[t+1]=n,this}setXYZ(t,e,n,r){return t=t*this.data.stride+this.offset,this.data.array[t+0]=e,this.data.array[t+1]=n,this.data.array[t+2]=r,this}setXYZW(t,e,n,r,i){return t=t*this.data.stride+this.offset,this.data.array[t+0]=e,this.data.array[t+1]=n,this.data.array[t+2]=r,this.data.array[t+3]=i,this}clone(t){if(void 0===t){console.log(\\\"THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will deinterleave buffer data.\\\");const t=[];for(let e=0;e<this.count;e++){const n=e*this.data.stride+this.offset;for(let e=0;e<this.itemSize;e++)t.push(this.data.array[n+e])}return new xn(new this.array.constructor(t),this.itemSize,this.normalized)}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.clone(t)),new na(t.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(t){if(void 0===t){console.log(\\\"THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will deinterleave buffer data.\\\");const t=[];for(let e=0;e<this.count;e++){const n=e*this.data.stride+this.offset;for(let e=0;e<this.itemSize;e++)t.push(this.data.array[n+e])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:t,normalized:this.normalized}}return void 0===t.interleavedBuffers&&(t.interleavedBuffers={}),void 0===t.interleavedBuffers[this.data.uuid]&&(t.interleavedBuffers[this.data.uuid]=this.data.toJSON(t)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}class ra extends gn{constructor(t){super(),this.isSpriteMaterial=!0,this.type=\\\"SpriteMaterial\\\",this.color=new qt(16777215),this.map=null,this.alphaMap=null,this.rotation=0,this.sizeAttenuation=!0,this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.rotation=t.rotation,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}let ia;const oa=new ee,aa=new ee,sa=new ee,la=new Tt,ua=new Tt,ca=new Le,ha=new ee,pa=new ee,fa=new ee,da=new Tt,ma=new Tt,va=new Tt;class ga extends rn{constructor(t){if(super(),this.isSprite=!0,this.type=\\\"Sprite\\\",void 0===ia){ia=new Ln;const t=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),e=new ta(t,5);ia.setIndex([0,1,2,0,2,3]),ia.setAttribute(\\\"position\\\",new na(e,3,0,!1)),ia.setAttribute(\\\"uv\\\",new na(e,2,3,!1))}this.geometry=ia,this.material=void 0!==t?t:new ra,this.center=new Tt(.5,.5)}raycast(t,e){null===t.camera&&console.error('THREE.Sprite: \\\"Raycaster.camera\\\" needs to be set in order to raycast against sprites.'),aa.setFromMatrixScale(this.matrixWorld),ca.copy(t.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(t.camera.matrixWorldInverse,this.matrixWorld),sa.setFromMatrixPosition(this.modelViewMatrix),t.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&aa.multiplyScalar(-sa.z);const n=this.material.rotation;let r,i;0!==n&&(i=Math.cos(n),r=Math.sin(n));const o=this.center;ya(ha.set(-.5,-.5,0),sa,o,aa,r,i),ya(pa.set(.5,-.5,0),sa,o,aa,r,i),ya(fa.set(.5,.5,0),sa,o,aa,r,i),da.set(0,0),ma.set(1,0),va.set(1,1);let a=t.ray.intersectTriangle(ha,pa,fa,!1,oa);if(null===a&&(ya(pa.set(-.5,.5,0),sa,o,aa,r,i),ma.set(0,1),a=t.ray.intersectTriangle(ha,fa,pa,!1,oa),null===a))return;const s=t.ray.origin.distanceTo(oa);s<t.near||s>t.far||e.push({distance:s,point:oa.clone(),uv:mn.getUV(oa,ha,pa,fa,da,ma,va,new Tt),face:null,object:this})}copy(t,e){return super.copy(t,e),void 0!==t.center&&this.center.copy(t.center),this.material=t.material,this}}function ya(t,e,n,r,i,o){la.subVectors(t,n).addScalar(.5).multiply(r),void 0!==i?(ua.x=o*la.x-i*la.y,ua.y=i*la.x+o*la.y):ua.copy(la),t.copy(e),t.x+=ua.x,t.y+=ua.y,t.applyMatrix4(ca)}const _a=new ee,ba=new ee;class xa extends rn{constructor(){super(),this._currentLevel=0,this.type=\\\"LOD\\\",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(t){super.copy(t,!1);const e=t.levels;for(let t=0,n=e.length;t<n;t++){const n=e[t];this.addLevel(n.object.clone(),n.distance)}return this.autoUpdate=t.autoUpdate,this}addLevel(t,e=0){e=Math.abs(e);const n=this.levels;let r;for(r=0;r<n.length&&!(e<n[r].distance);r++);return n.splice(r,0,{distance:e,object:t}),this.add(t),this}getCurrentLevel(){return this._currentLevel}getObjectForDistance(t){const e=this.levels;if(e.length>0){let n,r;for(n=1,r=e.length;n<r&&!(t<e[n].distance);n++);return e[n-1].object}return null}raycast(t,e){if(this.levels.length>0){_a.setFromMatrixPosition(this.matrixWorld);const n=t.ray.origin.distanceTo(_a);this.getObjectForDistance(n).raycast(t,e)}}update(t){const e=this.levels;if(e.length>1){_a.setFromMatrixPosition(t.matrixWorld),ba.setFromMatrixPosition(this.matrixWorld);const n=_a.distanceTo(ba)/t.zoom;let r,i;for(e[0].object.visible=!0,r=1,i=e.length;r<i&&n>=e[r].distance;r++)e[r-1].object.visible=!1,e[r].object.visible=!0;for(this._currentLevel=r-1;r<i;r++)e[r].object.visible=!1}}toJSON(t){const e=super.toJSON(t);!1===this.autoUpdate&&(e.object.autoUpdate=!1),e.object.levels=[];const n=this.levels;for(let t=0,r=n.length;t<r;t++){const r=n[t];e.object.levels.push({object:r.object.uuid,distance:r.distance})}return e}}const wa=new ee,Aa=new Zt,Ca=new Zt,Ma=new ee,Ea=new Le;class Ta extends Zn{constructor(t,e){super(t,e),this.isSkinnedMesh=!0,this.type=\\\"SkinnedMesh\\\",this.bindMode=\\\"attached\\\",this.bindMatrix=new Le,this.bindMatrixInverse=new Le}copy(t,e){return super.copy(t,e),this.bindMode=t.bindMode,this.bindMatrix.copy(t.bindMatrix),this.bindMatrixInverse.copy(t.bindMatrixInverse),this.skeleton=t.skeleton,this}bind(t,e){this.skeleton=t,void 0===e&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),e=this.matrixWorld),this.bindMatrix.copy(e),this.bindMatrixInverse.copy(e).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const t=new Zt,e=this.geometry.attributes.skinWeight;for(let n=0,r=e.count;n<r;n++){t.fromBufferAttribute(e,n);const r=1/t.manhattanLength();r!==1/0?t.multiplyScalar(r):t.set(1,0,0,0),e.setXYZW(n,t.x,t.y,t.z,t.w)}}updateMatrixWorld(t){super.updateMatrixWorld(t),\\\"attached\\\"===this.bindMode?this.bindMatrixInverse.copy(this.matrixWorld).invert():\\\"detached\\\"===this.bindMode?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn(\\\"THREE.SkinnedMesh: Unrecognized bindMode: \\\"+this.bindMode)}boneTransform(t,e){const n=this.skeleton,r=this.geometry;Aa.fromBufferAttribute(r.attributes.skinIndex,t),Ca.fromBufferAttribute(r.attributes.skinWeight,t),wa.copy(e).applyMatrix4(this.bindMatrix),e.set(0,0,0);for(let t=0;t<4;t++){const r=Ca.getComponent(t);if(0!==r){const i=Aa.getComponent(t);Ea.multiplyMatrices(n.bones[i].matrixWorld,n.boneInverses[i]),e.addScaledVector(Ma.copy(wa).applyMatrix4(Ea),r)}}return e.applyMatrix4(this.bindMatrixInverse)}}class Sa extends rn{constructor(){super(),this.isBone=!0,this.type=\\\"Bone\\\"}}class ka extends Yt{constructor(t=null,e=1,n=1,r,i,o,a,s,l=1003,u=1003,c,h){super(null,o,a,s,l,u,r,i,c,h),this.isDataTexture=!0,this.image={data:t,width:e,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const Oa=new Le,Ia=new Le;class La{constructor(t=[],e=[]){this.uuid=_t(),this.bones=t.slice(0),this.boneInverses=e,this.boneMatrices=null,this.boneTexture=null,this.boneTextureSize=0,this.frame=-1,this.init()}init(){const t=this.bones,e=this.boneInverses;if(this.boneMatrices=new Float32Array(16*t.length),0===e.length)this.calculateInverses();else if(t.length!==e.length){console.warn(\\\"THREE.Skeleton: Number of inverse bone matrices does not match amount of bones.\\\"),this.boneInverses=[];for(let t=0,e=this.bones.length;t<e;t++)this.boneInverses.push(new Le)}}calculateInverses(){this.boneInverses.length=0;for(let t=0,e=this.bones.length;t<e;t++){const e=new Le;this.bones[t]&&e.copy(this.bones[t].matrixWorld).invert(),this.boneInverses.push(e)}}pose(){for(let t=0,e=this.bones.length;t<e;t++){const e=this.bones[t];e&&e.matrixWorld.copy(this.boneInverses[t]).invert()}for(let t=0,e=this.bones.length;t<e;t++){const e=this.bones[t];e&&(e.parent&&e.parent.isBone?(e.matrix.copy(e.parent.matrixWorld).invert(),e.matrix.multiply(e.matrixWorld)):e.matrix.copy(e.matrixWorld),e.matrix.decompose(e.position,e.quaternion,e.scale))}}update(){const t=this.bones,e=this.boneInverses,n=this.boneMatrices,r=this.boneTexture;for(let r=0,i=t.length;r<i;r++){const i=t[r]?t[r].matrixWorld:Ia;Oa.multiplyMatrices(i,e[r]),Oa.toArray(n,16*r)}null!==r&&(r.needsUpdate=!0)}clone(){return new La(this.bones,this.boneInverses)}computeBoneTexture(){let t=Math.sqrt(4*this.bones.length);t=Ct(t),t=Math.max(t,4);const e=new Float32Array(t*t*4);e.set(this.boneMatrices);const n=new ka(e,t,t,M,w);return n.needsUpdate=!0,this.boneMatrices=e,this.boneTexture=n,this.boneTextureSize=t,this}getBoneByName(t){for(let e=0,n=this.bones.length;e<n;e++){const n=this.bones[e];if(n.name===t)return n}}dispose(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(t,e){this.uuid=t.uuid;for(let n=0,r=t.bones.length;n<r;n++){const r=t.bones[n];let i=e[r];void 0===i&&(console.warn(\\\"THREE.Skeleton: No bone found with UUID:\\\",r),i=new Sa),this.bones.push(i),this.boneInverses.push((new Le).fromArray(t.boneInverses[n]))}return this.init(),this}toJSON(){const t={metadata:{version:4.5,type:\\\"Skeleton\\\",generator:\\\"Skeleton.toJSON\\\"},bones:[],boneInverses:[]};t.uuid=this.uuid;const e=this.bones,n=this.boneInverses;for(let r=0,i=e.length;r<i;r++){const i=e[r];t.bones.push(i.uuid);const o=n[r];t.boneInverses.push(o.toArray())}return t}}class Pa extends xn{constructor(t,e,n,r=1){\\\"number\\\"==typeof n&&(r=n,n=!1,console.error(\\\"THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.\\\")),super(t,e,n),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=r}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}toJSON(){const t=super.toJSON();return t.meshPerAttribute=this.meshPerAttribute,t.isInstancedBufferAttribute=!0,t}}const za=new Le,Ra=new Le,Da=[],$a=new Zn;class Ba extends Zn{constructor(t,e,n){super(t,e),this.isInstancedMesh=!0,this.instanceMatrix=new Pa(new Float32Array(16*n),16),this.instanceColor=null,this.count=n,this.frustumCulled=!1}copy(t,e){return super.copy(t,e),this.instanceMatrix.copy(t.instanceMatrix),null!==t.instanceColor&&(this.instanceColor=t.instanceColor.clone()),this.count=t.count,this}getColorAt(t,e){e.fromArray(this.instanceColor.array,3*t)}getMatrixAt(t,e){e.fromArray(this.instanceMatrix.array,16*t)}raycast(t,e){const n=this.matrixWorld,r=this.count;if($a.geometry=this.geometry,$a.material=this.material,void 0!==$a.material)for(let i=0;i<r;i++){this.getMatrixAt(i,za),Ra.multiplyMatrices(n,za),$a.matrixWorld=Ra,$a.raycast(t,Da);for(let t=0,n=Da.length;t<n;t++){const n=Da[t];n.instanceId=i,n.object=this,e.push(n)}Da.length=0}}setColorAt(t,e){null===this.instanceColor&&(this.instanceColor=new Pa(new Float32Array(3*this.instanceMatrix.count),3)),e.toArray(this.instanceColor.array,3*t)}setMatrixAt(t,e){e.toArray(this.instanceMatrix.array,16*t)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}}class Na extends gn{constructor(t){super(),this.isLineBasicMaterial=!0,this.type=\\\"LineBasicMaterial\\\",this.color=new qt(16777215),this.linewidth=1,this.linecap=\\\"round\\\",this.linejoin=\\\"round\\\",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.linewidth=t.linewidth,this.linecap=t.linecap,this.linejoin=t.linejoin,this.fog=t.fog,this}}const Fa=new ee,ja=new ee,Ua=new Le,qa=new Ie,Va=new Ae;class Ha extends rn{constructor(t=new Ln,e=new Na){super(),this.isLine=!0,this.type=\\\"Line\\\",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),this.material=t.material,this.geometry=t.geometry,this}computeLineDistances(){const t=this.geometry;if(null===t.index){const e=t.attributes.position,n=[0];for(let t=1,r=e.count;t<r;t++)Fa.fromBufferAttribute(e,t-1),ja.fromBufferAttribute(e,t),n[t]=n[t-1],n[t]+=Fa.distanceTo(ja);t.setAttribute(\\\"lineDistance\\\",new Cn(n,1))}else console.warn(\\\"THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.\\\");return this}raycast(t,e){const n=this.geometry,r=this.matrixWorld,i=t.params.Line.threshold,o=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),Va.copy(n.boundingSphere),Va.applyMatrix4(r),Va.radius+=i,!1===t.ray.intersectsSphere(Va))return;Ua.copy(r).invert(),qa.copy(t.ray).applyMatrix4(Ua);const a=i/((this.scale.x+this.scale.y+this.scale.z)/3),s=a*a,l=new ee,u=new ee,c=new ee,h=new ee,p=this.isLineSegments?2:1,f=n.index,d=n.attributes.position;if(null!==f)for(let n=Math.max(0,o.start),r=Math.min(f.count,o.start+o.count)-1;n<r;n+=p){const r=f.getX(n),i=f.getX(n+1);if(l.fromBufferAttribute(d,r),u.fromBufferAttribute(d,i),qa.distanceSqToSegment(l,u,h,c)>s)continue;h.applyMatrix4(this.matrixWorld);const o=t.ray.origin.distanceTo(h);o<t.near||o>t.far||e.push({distance:o,point:c.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}else for(let n=Math.max(0,o.start),r=Math.min(d.count,o.start+o.count)-1;n<r;n+=p){if(l.fromBufferAttribute(d,n),u.fromBufferAttribute(d,n+1),qa.distanceSqToSegment(l,u,h,c)>s)continue;h.applyMatrix4(this.matrixWorld);const r=t.ray.origin.distanceTo(h);r<t.near||r>t.far||e.push({distance:r,point:c.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}}const Ga=new ee,Wa=new ee;class Xa extends Ha{constructor(t,e){super(t,e),this.isLineSegments=!0,this.type=\\\"LineSegments\\\"}computeLineDistances(){const t=this.geometry;if(null===t.index){const e=t.attributes.position,n=[];for(let t=0,r=e.count;t<r;t+=2)Ga.fromBufferAttribute(e,t),Wa.fromBufferAttribute(e,t+1),n[t]=0===t?0:n[t-1],n[t+1]=n[t]+Ga.distanceTo(Wa);t.setAttribute(\\\"lineDistance\\\",new Cn(n,1))}else console.warn(\\\"THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.\\\");return this}}class Ya extends Ha{constructor(t,e){super(t,e),this.isLineLoop=!0,this.type=\\\"LineLoop\\\"}}class Za extends gn{constructor(t){super(),this.isPointsMaterial=!0,this.type=\\\"PointsMaterial\\\",this.color=new qt(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.size=t.size,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}const Ka=new Le,Ja=new Ie,Qa=new Ae,ts=new ee;class es extends rn{constructor(t=new Ln,e=new Za){super(),this.isPoints=!0,this.type=\\\"Points\\\",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),this.material=t.material,this.geometry=t.geometry,this}raycast(t,e){const n=this.geometry,r=this.matrixWorld,i=t.params.Points.threshold,o=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),Qa.copy(n.boundingSphere),Qa.applyMatrix4(r),Qa.radius+=i,!1===t.ray.intersectsSphere(Qa))return;Ka.copy(r).invert(),Ja.copy(t.ray).applyMatrix4(Ka);const a=i/((this.scale.x+this.scale.y+this.scale.z)/3),s=a*a,l=n.index,u=n.attributes.position;if(null!==l)for(let n=Math.max(0,o.start),i=Math.min(l.count,o.start+o.count);n<i;n++){const i=l.getX(n);ts.fromBufferAttribute(u,i),ns(ts,i,s,r,t,e,this)}else for(let n=Math.max(0,o.start),i=Math.min(u.count,o.start+o.count);n<i;n++)ts.fromBufferAttribute(u,n),ns(ts,n,s,r,t,e,this)}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}}function ns(t,e,n,r,i,o,a){const s=Ja.distanceSqToPoint(t);if(s<n){const n=new ee;Ja.closestPointToPoint(t,n),n.applyMatrix4(r);const l=i.ray.origin.distanceTo(n);if(l<i.near||l>i.far)return;o.push({distance:l,distanceToRay:Math.sqrt(s),point:n,index:e,face:null,object:a})}}class rs extends Yt{constructor(t,e,n,r,i,o,a,s,l,u,c,h){super(null,o,a,s,l,u,r,i,c,h),this.isCompressedTexture=!0,this.image={width:e,height:n},this.mipmaps=t,this.flipY=!1,this.generateMipmaps=!1}}class is{constructor(){this.type=\\\"Curve\\\",this.arcLengthDivisions=200}getPoint(){return console.warn(\\\"THREE.Curve: .getPoint() not implemented.\\\"),null}getPointAt(t,e){const n=this.getUtoTmapping(t);return this.getPoint(n,e)}getPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return e}getSpacedPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPointAt(n/t));return e}getLength(){const t=this.getLengths();return t[t.length-1]}getLengths(t=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===t+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const e=[];let n,r=this.getPoint(0),i=0;e.push(0);for(let o=1;o<=t;o++)n=this.getPoint(o/t),i+=n.distanceTo(r),e.push(i),r=n;return this.cacheArcLengths=e,e}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(t,e){const n=this.getLengths();let r=0;const i=n.length;let o;o=e||t*n[i-1];let a,s=0,l=i-1;for(;s<=l;)if(r=Math.floor(s+(l-s)/2),a=n[r]-o,a<0)s=r+1;else{if(!(a>0)){l=r;break}l=r-1}if(r=l,n[r]===o)return r/(i-1);const u=n[r];return(r+(o-u)/(n[r+1]-u))/(i-1)}getTangent(t,e){const n=1e-4;let r=t-n,i=t+n;r<0&&(r=0),i>1&&(i=1);const o=this.getPoint(r),a=this.getPoint(i),s=e||(o.isVector2?new Tt:new ee);return s.copy(a).sub(o).normalize(),s}getTangentAt(t,e){const n=this.getUtoTmapping(t);return this.getTangent(n,e)}computeFrenetFrames(t,e){const n=new ee,r=[],i=[],o=[],a=new ee,s=new Le;for(let e=0;e<=t;e++){const n=e/t;r[e]=this.getTangentAt(n,new ee)}i[0]=new ee,o[0]=new ee;let l=Number.MAX_VALUE;const u=Math.abs(r[0].x),c=Math.abs(r[0].y),h=Math.abs(r[0].z);u<=l&&(l=u,n.set(1,0,0)),c<=l&&(l=c,n.set(0,1,0)),h<=l&&n.set(0,0,1),a.crossVectors(r[0],n).normalize(),i[0].crossVectors(r[0],a),o[0].crossVectors(r[0],i[0]);for(let e=1;e<=t;e++){if(i[e]=i[e-1].clone(),o[e]=o[e-1].clone(),a.crossVectors(r[e-1],r[e]),a.length()>Number.EPSILON){a.normalize();const t=Math.acos(bt(r[e-1].dot(r[e]),-1,1));i[e].applyMatrix4(s.makeRotationAxis(a,t))}o[e].crossVectors(r[e],i[e])}if(!0===e){let e=Math.acos(bt(i[0].dot(i[t]),-1,1));e/=t,r[0].dot(a.crossVectors(i[0],i[t]))>0&&(e=-e);for(let n=1;n<=t;n++)i[n].applyMatrix4(s.makeRotationAxis(r[n],e*n)),o[n].crossVectors(r[n],i[n])}return{tangents:r,normals:i,binormals:o}}clone(){return(new this.constructor).copy(this)}copy(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}toJSON(){const t={metadata:{version:4.5,type:\\\"Curve\\\",generator:\\\"Curve.toJSON\\\"}};return t.arcLengthDivisions=this.arcLengthDivisions,t.type=this.type,t}fromJSON(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}}class os extends is{constructor(t=0,e=0,n=1,r=1,i=0,o=2*Math.PI,a=!1,s=0){super(),this.isEllipseCurve=!0,this.type=\\\"EllipseCurve\\\",this.aX=t,this.aY=e,this.xRadius=n,this.yRadius=r,this.aStartAngle=i,this.aEndAngle=o,this.aClockwise=a,this.aRotation=s}getPoint(t,e){const n=e||new Tt,r=2*Math.PI;let i=this.aEndAngle-this.aStartAngle;const o=Math.abs(i)<Number.EPSILON;for(;i<0;)i+=r;for(;i>r;)i-=r;i<Number.EPSILON&&(i=o?0:r),!0!==this.aClockwise||o||(i===r?i=-r:i-=r);const a=this.aStartAngle+t*i;let s=this.aX+this.xRadius*Math.cos(a),l=this.aY+this.yRadius*Math.sin(a);if(0!==this.aRotation){const t=Math.cos(this.aRotation),e=Math.sin(this.aRotation),n=s-this.aX,r=l-this.aY;s=n*t-r*e+this.aX,l=n*e+r*t+this.aY}return n.set(s,l)}copy(t){return super.copy(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}toJSON(){const t=super.toJSON();return t.aX=this.aX,t.aY=this.aY,t.xRadius=this.xRadius,t.yRadius=this.yRadius,t.aStartAngle=this.aStartAngle,t.aEndAngle=this.aEndAngle,t.aClockwise=this.aClockwise,t.aRotation=this.aRotation,t}fromJSON(t){return super.fromJSON(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}}class as extends os{constructor(t,e,n,r,i,o){super(t,e,n,n,r,i,o),this.isArcCurve=!0,this.type=\\\"ArcCurve\\\"}}function ss(){let t=0,e=0,n=0,r=0;function i(i,o,a,s){t=i,e=a,n=-3*i+3*o-2*a-s,r=2*i-2*o+a+s}return{initCatmullRom:function(t,e,n,r,o){i(e,n,o*(n-t),o*(r-e))},initNonuniformCatmullRom:function(t,e,n,r,o,a,s){let l=(e-t)/o-(n-t)/(o+a)+(n-e)/a,u=(n-e)/a-(r-e)/(a+s)+(r-n)/s;l*=a,u*=a,i(e,n,l,u)},calc:function(i){const o=i*i;return t+e*i+n*o+r*(o*i)}}}const ls=new ee,us=new ss,cs=new ss,hs=new ss;class ps extends is{constructor(t=[],e=!1,n=\\\"centripetal\\\",r=.5){super(),this.isCatmullRomCurve3=!0,this.type=\\\"CatmullRomCurve3\\\",this.points=t,this.closed=e,this.curveType=n,this.tension=r}getPoint(t,e=new ee){const n=e,r=this.points,i=r.length,o=(i-(this.closed?0:1))*t;let a,s,l=Math.floor(o),u=o-l;this.closed?l+=l>0?0:(Math.floor(Math.abs(l)/i)+1)*i:0===u&&l===i-1&&(l=i-2,u=1),this.closed||l>0?a=r[(l-1)%i]:(ls.subVectors(r[0],r[1]).add(r[0]),a=ls);const c=r[l%i],h=r[(l+1)%i];if(this.closed||l+2<i?s=r[(l+2)%i]:(ls.subVectors(r[i-1],r[i-2]).add(r[i-1]),s=ls),\\\"centripetal\\\"===this.curveType||\\\"chordal\\\"===this.curveType){const t=\\\"chordal\\\"===this.curveType?.5:.25;let e=Math.pow(a.distanceToSquared(c),t),n=Math.pow(c.distanceToSquared(h),t),r=Math.pow(h.distanceToSquared(s),t);n<1e-4&&(n=1),e<1e-4&&(e=n),r<1e-4&&(r=n),us.initNonuniformCatmullRom(a.x,c.x,h.x,s.x,e,n,r),cs.initNonuniformCatmullRom(a.y,c.y,h.y,s.y,e,n,r),hs.initNonuniformCatmullRom(a.z,c.z,h.z,s.z,e,n,r)}else\\\"catmullrom\\\"===this.curveType&&(us.initCatmullRom(a.x,c.x,h.x,s.x,this.tension),cs.initCatmullRom(a.y,c.y,h.y,s.y,this.tension),hs.initCatmullRom(a.z,c.z,h.z,s.z,this.tension));return n.set(us.calc(u),cs.calc(u),hs.calc(u)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(n.clone())}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}toJSON(){const t=super.toJSON();t.points=[];for(let e=0,n=this.points.length;e<n;e++){const n=this.points[e];t.points.push(n.toArray())}return t.closed=this.closed,t.curveType=this.curveType,t.tension=this.tension,t}fromJSON(t){super.fromJSON(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push((new ee).fromArray(n))}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}}function fs(t,e,n,r,i){const o=.5*(r-e),a=.5*(i-n),s=t*t;return(2*n-2*r+o+a)*(t*s)+(-3*n+3*r-2*o-a)*s+o*t+n}function ds(t,e,n,r){return function(t,e){const n=1-t;return n*n*e}(t,e)+function(t,e){return 2*(1-t)*t*e}(t,n)+function(t,e){return t*t*e}(t,r)}function ms(t,e,n,r,i){return function(t,e){const n=1-t;return n*n*n*e}(t,e)+function(t,e){const n=1-t;return 3*n*n*t*e}(t,n)+function(t,e){return 3*(1-t)*t*t*e}(t,r)+function(t,e){return t*t*t*e}(t,i)}class vs extends is{constructor(t=new Tt,e=new Tt,n=new Tt,r=new Tt){super(),this.isCubicBezierCurve=!0,this.type=\\\"CubicBezierCurve\\\",this.v0=t,this.v1=e,this.v2=n,this.v3=r}getPoint(t,e=new Tt){const n=e,r=this.v0,i=this.v1,o=this.v2,a=this.v3;return n.set(ms(t,r.x,i.x,o.x,a.x),ms(t,r.y,i.y,o.y,a.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}class gs extends is{constructor(t=new ee,e=new ee,n=new ee,r=new ee){super(),this.isCubicBezierCurve3=!0,this.type=\\\"CubicBezierCurve3\\\",this.v0=t,this.v1=e,this.v2=n,this.v3=r}getPoint(t,e=new ee){const n=e,r=this.v0,i=this.v1,o=this.v2,a=this.v3;return n.set(ms(t,r.x,i.x,o.x,a.x),ms(t,r.y,i.y,o.y,a.y),ms(t,r.z,i.z,o.z,a.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}}class ys extends is{constructor(t=new Tt,e=new Tt){super(),this.isLineCurve=!0,this.type=\\\"LineCurve\\\",this.v1=t,this.v2=e}getPoint(t,e=new Tt){const n=e;return 1===t?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,e){return this.getPoint(t,e)}getTangent(t,e){const n=e||new Tt;return n.copy(this.v2).sub(this.v1).normalize(),n}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class _s extends is{constructor(t=new ee,e=new ee){super(),this.isLineCurve3=!0,this.type=\\\"LineCurve3\\\",this.v1=t,this.v2=e}getPoint(t,e=new ee){const n=e;return 1===t?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,e){return this.getPoint(t,e)}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class bs extends is{constructor(t=new Tt,e=new Tt,n=new Tt){super(),this.isQuadraticBezierCurve=!0,this.type=\\\"QuadraticBezierCurve\\\",this.v0=t,this.v1=e,this.v2=n}getPoint(t,e=new Tt){const n=e,r=this.v0,i=this.v1,o=this.v2;return n.set(ds(t,r.x,i.x,o.x),ds(t,r.y,i.y,o.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class xs extends is{constructor(t=new ee,e=new ee,n=new ee){super(),this.isQuadraticBezierCurve3=!0,this.type=\\\"QuadraticBezierCurve3\\\",this.v0=t,this.v1=e,this.v2=n}getPoint(t,e=new ee){const n=e,r=this.v0,i=this.v1,o=this.v2;return n.set(ds(t,r.x,i.x,o.x),ds(t,r.y,i.y,o.y),ds(t,r.z,i.z,o.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){const t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}}class ws extends is{constructor(t=[]){super(),this.isSplineCurve=!0,this.type=\\\"SplineCurve\\\",this.points=t}getPoint(t,e=new Tt){const n=e,r=this.points,i=(r.length-1)*t,o=Math.floor(i),a=i-o,s=r[0===o?o:o-1],l=r[o],u=r[o>r.length-2?r.length-1:o+1],c=r[o>r.length-3?r.length-1:o+2];return n.set(fs(a,s.x,l.x,u.x,c.x),fs(a,s.y,l.y,u.y,c.y)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push(n.clone())}return this}toJSON(){const t=super.toJSON();t.points=[];for(let e=0,n=this.points.length;e<n;e++){const n=this.points[e];t.points.push(n.toArray())}return t}fromJSON(t){super.fromJSON(t),this.points=[];for(let e=0,n=t.points.length;e<n;e++){const n=t.points[e];this.points.push((new Tt).fromArray(n))}return this}}var As=Object.freeze({__proto__:null,ArcCurve:as,CatmullRomCurve3:ps,CubicBezierCurve:vs,CubicBezierCurve3:gs,EllipseCurve:os,LineCurve:ys,LineCurve3:_s,QuadraticBezierCurve:bs,QuadraticBezierCurve3:xs,SplineCurve:ws});class Cs extends is{constructor(){super(),this.type=\\\"CurvePath\\\",this.curves=[],this.autoClose=!1}add(t){this.curves.push(t)}closePath(){const t=this.curves[0].getPoint(0),e=this.curves[this.curves.length-1].getPoint(1);t.equals(e)||this.curves.push(new ys(e,t))}getPoint(t,e){const n=t*this.getLength(),r=this.getCurveLengths();let i=0;for(;i<r.length;){if(r[i]>=n){const t=r[i]-n,o=this.curves[i],a=o.getLength(),s=0===a?0:1-t/a;return o.getPointAt(s,e)}i++}return null}getLength(){const t=this.getCurveLengths();return t[t.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const t=[];let e=0;for(let n=0,r=this.curves.length;n<r;n++)e+=this.curves[n].getLength(),t.push(e);return this.cacheLengths=t,t}getSpacedPoints(t=40){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return this.autoClose&&e.push(e[0]),e}getPoints(t=12){const e=[];let n;for(let r=0,i=this.curves;r<i.length;r++){const o=i[r],a=o.isEllipseCurve?2*t:o.isLineCurve||o.isLineCurve3?1:o.isSplineCurve?t*o.points.length:t,s=o.getPoints(a);for(let t=0;t<s.length;t++){const r=s[t];n&&n.equals(r)||(e.push(r),n=r)}}return this.autoClose&&e.length>1&&!e[e.length-1].equals(e[0])&&e.push(e[0]),e}copy(t){super.copy(t),this.curves=[];for(let e=0,n=t.curves.length;e<n;e++){const n=t.curves[e];this.curves.push(n.clone())}return this.autoClose=t.autoClose,this}toJSON(){const t=super.toJSON();t.autoClose=this.autoClose,t.curves=[];for(let e=0,n=this.curves.length;e<n;e++){const n=this.curves[e];t.curves.push(n.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.autoClose=t.autoClose,this.curves=[];for(let e=0,n=t.curves.length;e<n;e++){const n=t.curves[e];this.curves.push((new As[n.type]).fromJSON(n))}return this}}class Ms extends Cs{constructor(t){super(),this.type=\\\"Path\\\",this.currentPoint=new Tt,t&&this.setFromPoints(t)}setFromPoints(t){this.moveTo(t[0].x,t[0].y);for(let e=1,n=t.length;e<n;e++)this.lineTo(t[e].x,t[e].y);return this}moveTo(t,e){return this.currentPoint.set(t,e),this}lineTo(t,e){const n=new ys(this.currentPoint.clone(),new Tt(t,e));return this.curves.push(n),this.currentPoint.set(t,e),this}quadraticCurveTo(t,e,n,r){const i=new bs(this.currentPoint.clone(),new Tt(t,e),new Tt(n,r));return this.curves.push(i),this.currentPoint.set(n,r),this}bezierCurveTo(t,e,n,r,i,o){const a=new vs(this.currentPoint.clone(),new Tt(t,e),new Tt(n,r),new Tt(i,o));return this.curves.push(a),this.currentPoint.set(i,o),this}splineThru(t){const e=[this.currentPoint.clone()].concat(t),n=new ws(e);return this.curves.push(n),this.currentPoint.copy(t[t.length-1]),this}arc(t,e,n,r,i,o){const a=this.currentPoint.x,s=this.currentPoint.y;return this.absarc(t+a,e+s,n,r,i,o),this}absarc(t,e,n,r,i,o){return this.absellipse(t,e,n,n,r,i,o),this}ellipse(t,e,n,r,i,o,a,s){const l=this.currentPoint.x,u=this.currentPoint.y;return this.absellipse(t+l,e+u,n,r,i,o,a,s),this}absellipse(t,e,n,r,i,o,a,s){const l=new os(t,e,n,r,i,o,a,s);if(this.curves.length>0){const t=l.getPoint(0);t.equals(this.currentPoint)||this.lineTo(t.x,t.y)}this.curves.push(l);const u=l.getPoint(1);return this.currentPoint.copy(u),this}copy(t){return super.copy(t),this.currentPoint.copy(t.currentPoint),this}toJSON(){const t=super.toJSON();return t.currentPoint=this.currentPoint.toArray(),t}fromJSON(t){return super.fromJSON(t),this.currentPoint.fromArray(t.currentPoint),this}}class Es extends Ln{constructor(t=[new Tt(0,-.5),new Tt(.5,0),new Tt(0,.5)],e=12,n=0,r=2*Math.PI){super(),this.type=\\\"LatheGeometry\\\",this.parameters={points:t,segments:e,phiStart:n,phiLength:r},e=Math.floor(e),r=bt(r,0,2*Math.PI);const i=[],o=[],a=[],s=[],l=[],u=1/e,c=new ee,h=new Tt,p=new ee,f=new ee,d=new ee;let m=0,v=0;for(let e=0;e<=t.length-1;e++)switch(e){case 0:m=t[e+1].x-t[e].x,v=t[e+1].y-t[e].y,p.x=1*v,p.y=-m,p.z=0*v,d.copy(p),p.normalize(),s.push(p.x,p.y,p.z);break;case t.length-1:s.push(d.x,d.y,d.z);break;default:m=t[e+1].x-t[e].x,v=t[e+1].y-t[e].y,p.x=1*v,p.y=-m,p.z=0*v,f.copy(p),p.x+=d.x,p.y+=d.y,p.z+=d.z,p.normalize(),s.push(p.x,p.y,p.z),d.copy(f)}for(let i=0;i<=e;i++){const p=n+i*u*r,f=Math.sin(p),d=Math.cos(p);for(let n=0;n<=t.length-1;n++){c.x=t[n].x*f,c.y=t[n].y,c.z=t[n].x*d,o.push(c.x,c.y,c.z),h.x=i/e,h.y=n/(t.length-1),a.push(h.x,h.y);const r=s[3*n+0]*f,u=s[3*n+1],p=s[3*n+0]*d;l.push(r,u,p)}}for(let n=0;n<e;n++)for(let e=0;e<t.length-1;e++){const r=e+n*t.length,o=r,a=r+t.length,s=r+t.length+1,l=r+1;i.push(o,a,l),i.push(s,l,a)}this.setIndex(i),this.setAttribute(\\\"position\\\",new Cn(o,3)),this.setAttribute(\\\"uv\\\",new Cn(a,2)),this.setAttribute(\\\"normal\\\",new Cn(l,3))}static fromJSON(t){return new Es(t.points,t.segments,t.phiStart,t.phiLength)}}class Ts extends Es{constructor(t=1,e=1,n=4,r=8){const i=new Ms;i.absarc(0,-e/2,t,1.5*Math.PI,0),i.absarc(0,e/2,t,0,.5*Math.PI),super(i.getPoints(n),r),this.type=\\\"CapsuleGeometry\\\",this.parameters={radius:t,height:e,capSegments:n,radialSegments:r}}static fromJSON(t){return new Ts(t.radius,t.length,t.capSegments,t.radialSegments)}}class Ss extends Ln{constructor(t=1,e=8,n=0,r=2*Math.PI){super(),this.type=\\\"CircleGeometry\\\",this.parameters={radius:t,segments:e,thetaStart:n,thetaLength:r},e=Math.max(3,e);const i=[],o=[],a=[],s=[],l=new ee,u=new Tt;o.push(0,0,0),a.push(0,0,1),s.push(.5,.5);for(let i=0,c=3;i<=e;i++,c+=3){const h=n+i/e*r;l.x=t*Math.cos(h),l.y=t*Math.sin(h),o.push(l.x,l.y,l.z),a.push(0,0,1),u.x=(o[c]/t+1)/2,u.y=(o[c+1]/t+1)/2,s.push(u.x,u.y)}for(let t=1;t<=e;t++)i.push(t,t+1,0);this.setIndex(i),this.setAttribute(\\\"position\\\",new Cn(o,3)),this.setAttribute(\\\"normal\\\",new Cn(a,3)),this.setAttribute(\\\"uv\\\",new Cn(s,2))}static fromJSON(t){return new Ss(t.radius,t.segments,t.thetaStart,t.thetaLength)}}class ks extends Ln{constructor(t=1,e=1,n=1,r=8,i=1,o=!1,a=0,s=2*Math.PI){super(),this.type=\\\"CylinderGeometry\\\",this.parameters={radiusTop:t,radiusBottom:e,height:n,radialSegments:r,heightSegments:i,openEnded:o,thetaStart:a,thetaLength:s};const l=this;r=Math.floor(r),i=Math.floor(i);const u=[],c=[],h=[],p=[];let f=0;const d=[],m=n/2;let v=0;function g(n){const i=f,o=new Tt,d=new ee;let g=0;const y=!0===n?t:e,_=!0===n?1:-1;for(let t=1;t<=r;t++)c.push(0,m*_,0),h.push(0,_,0),p.push(.5,.5),f++;const b=f;for(let t=0;t<=r;t++){const e=t/r*s+a,n=Math.cos(e),i=Math.sin(e);d.x=y*i,d.y=m*_,d.z=y*n,c.push(d.x,d.y,d.z),h.push(0,_,0),o.x=.5*n+.5,o.y=.5*i*_+.5,p.push(o.x,o.y),f++}for(let t=0;t<r;t++){const e=i+t,r=b+t;!0===n?u.push(r,r+1,e):u.push(r+1,r,e),g+=3}l.addGroup(v,g,!0===n?1:2),v+=g}!function(){const o=new ee,g=new ee;let y=0;const _=(e-t)/n;for(let l=0;l<=i;l++){const u=[],v=l/i,y=v*(e-t)+t;for(let t=0;t<=r;t++){const e=t/r,i=e*s+a,l=Math.sin(i),d=Math.cos(i);g.x=y*l,g.y=-v*n+m,g.z=y*d,c.push(g.x,g.y,g.z),o.set(l,_,d).normalize(),h.push(o.x,o.y,o.z),p.push(e,1-v),u.push(f++)}d.push(u)}for(let t=0;t<r;t++)for(let e=0;e<i;e++){const n=d[e][t],r=d[e+1][t],i=d[e+1][t+1],o=d[e][t+1];u.push(n,r,o),u.push(r,i,o),y+=6}l.addGroup(v,y,0),v+=y}(),!1===o&&(t>0&&g(!0),e>0&&g(!1)),this.setIndex(u),this.setAttribute(\\\"position\\\",new Cn(c,3)),this.setAttribute(\\\"normal\\\",new Cn(h,3)),this.setAttribute(\\\"uv\\\",new Cn(p,2))}static fromJSON(t){return new ks(t.radiusTop,t.radiusBottom,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}class Os extends ks{constructor(t=1,e=1,n=8,r=1,i=!1,o=0,a=2*Math.PI){super(0,t,e,n,r,i,o,a),this.type=\\\"ConeGeometry\\\",this.parameters={radius:t,height:e,radialSegments:n,heightSegments:r,openEnded:i,thetaStart:o,thetaLength:a}}static fromJSON(t){return new Os(t.radius,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}}class Is extends Ln{constructor(t=[],e=[],n=1,r=0){super(),this.type=\\\"PolyhedronGeometry\\\",this.parameters={vertices:t,indices:e,radius:n,detail:r};const i=[],o=[];function a(t,e,n,r){const i=r+1,o=[];for(let r=0;r<=i;r++){o[r]=[];const a=t.clone().lerp(n,r/i),s=e.clone().lerp(n,r/i),l=i-r;for(let t=0;t<=l;t++)o[r][t]=0===t&&r===i?a:a.clone().lerp(s,t/l)}for(let t=0;t<i;t++)for(let e=0;e<2*(i-t)-1;e++){const n=Math.floor(e/2);e%2==0?(s(o[t][n+1]),s(o[t+1][n]),s(o[t][n])):(s(o[t][n+1]),s(o[t+1][n+1]),s(o[t+1][n]))}}function s(t){i.push(t.x,t.y,t.z)}function l(e,n){const r=3*e;n.x=t[r+0],n.y=t[r+1],n.z=t[r+2]}function u(t,e,n,r){r<0&&1===t.x&&(o[e]=t.x-1),0===n.x&&0===n.z&&(o[e]=r/2/Math.PI+.5)}function c(t){return Math.atan2(t.z,-t.x)}!function(t){const n=new ee,r=new ee,i=new ee;for(let o=0;o<e.length;o+=3)l(e[o+0],n),l(e[o+1],r),l(e[o+2],i),a(n,r,i,t)}(r),function(t){const e=new ee;for(let n=0;n<i.length;n+=3)e.x=i[n+0],e.y=i[n+1],e.z=i[n+2],e.normalize().multiplyScalar(t),i[n+0]=e.x,i[n+1]=e.y,i[n+2]=e.z}(n),function(){const t=new ee;for(let n=0;n<i.length;n+=3){t.x=i[n+0],t.y=i[n+1],t.z=i[n+2];const r=c(t)/2/Math.PI+.5,a=(e=t,Math.atan2(-e.y,Math.sqrt(e.x*e.x+e.z*e.z))/Math.PI+.5);o.push(r,1-a)}var e;(function(){const t=new ee,e=new ee,n=new ee,r=new ee,a=new Tt,s=new Tt,l=new Tt;for(let h=0,p=0;h<i.length;h+=9,p+=6){t.set(i[h+0],i[h+1],i[h+2]),e.set(i[h+3],i[h+4],i[h+5]),n.set(i[h+6],i[h+7],i[h+8]),a.set(o[p+0],o[p+1]),s.set(o[p+2],o[p+3]),l.set(o[p+4],o[p+5]),r.copy(t).add(e).add(n).divideScalar(3);const f=c(r);u(a,p+0,t,f),u(s,p+2,e,f),u(l,p+4,n,f)}})(),function(){for(let t=0;t<o.length;t+=6){const e=o[t+0],n=o[t+2],r=o[t+4],i=Math.max(e,n,r),a=Math.min(e,n,r);i>.9&&a<.1&&(e<.2&&(o[t+0]+=1),n<.2&&(o[t+2]+=1),r<.2&&(o[t+4]+=1))}}()}(),this.setAttribute(\\\"position\\\",new Cn(i,3)),this.setAttribute(\\\"normal\\\",new Cn(i.slice(),3)),this.setAttribute(\\\"uv\\\",new Cn(o,2)),0===r?this.computeVertexNormals():this.normalizeNormals()}static fromJSON(t){return new Is(t.vertices,t.indices,t.radius,t.details)}}class Ls extends Is{constructor(t=1,e=0){const n=(1+Math.sqrt(5))/2,r=1/n;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-r,-n,0,-r,n,0,r,-n,0,r,n,-r,-n,0,-r,n,0,r,-n,0,r,n,0,-n,0,-r,n,0,-r,-n,0,r,n,0,r],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],t,e),this.type=\\\"DodecahedronGeometry\\\",this.parameters={radius:t,detail:e}}static fromJSON(t){return new Ls(t.radius,t.detail)}}const Ps=new ee,zs=new ee,Rs=new ee,Ds=new mn;class $s extends Ln{constructor(t=null,e=1){if(super(),this.type=\\\"EdgesGeometry\\\",this.parameters={geometry:t,thresholdAngle:e},null!==t){const n=4,r=Math.pow(10,n),i=Math.cos(gt*e),o=t.getIndex(),a=t.getAttribute(\\\"position\\\"),s=o?o.count:a.count,l=[0,0,0],u=[\\\"a\\\",\\\"b\\\",\\\"c\\\"],c=new Array(3),h={},p=[];for(let t=0;t<s;t+=3){o?(l[0]=o.getX(t),l[1]=o.getX(t+1),l[2]=o.getX(t+2)):(l[0]=t,l[1]=t+1,l[2]=t+2);const{a:e,b:n,c:s}=Ds;if(e.fromBufferAttribute(a,l[0]),n.fromBufferAttribute(a,l[1]),s.fromBufferAttribute(a,l[2]),Ds.getNormal(Rs),c[0]=`${Math.round(e.x*r)},${Math.round(e.y*r)},${Math.round(e.z*r)}`,c[1]=`${Math.round(n.x*r)},${Math.round(n.y*r)},${Math.round(n.z*r)}`,c[2]=`${Math.round(s.x*r)},${Math.round(s.y*r)},${Math.round(s.z*r)}`,c[0]!==c[1]&&c[1]!==c[2]&&c[2]!==c[0])for(let t=0;t<3;t++){const e=(t+1)%3,n=c[t],r=c[e],o=Ds[u[t]],a=Ds[u[e]],s=`${n}_${r}`,f=`${r}_${n}`;f in h&&h[f]?(Rs.dot(h[f].normal)<=i&&(p.push(o.x,o.y,o.z),p.push(a.x,a.y,a.z)),h[f]=null):s in h||(h[s]={index0:l[t],index1:l[e],normal:Rs.clone()})}}for(const t in h)if(h[t]){const{index0:e,index1:n}=h[t];Ps.fromBufferAttribute(a,e),zs.fromBufferAttribute(a,n),p.push(Ps.x,Ps.y,Ps.z),p.push(zs.x,zs.y,zs.z)}this.setAttribute(\\\"position\\\",new Cn(p,3))}}}class Bs extends Ms{constructor(t){super(t),this.uuid=_t(),this.type=\\\"Shape\\\",this.holes=[]}getPointsHoles(t){const e=[];for(let n=0,r=this.holes.length;n<r;n++)e[n]=this.holes[n].getPoints(t);return e}extractPoints(t){return{shape:this.getPoints(t),holes:this.getPointsHoles(t)}}copy(t){super.copy(t),this.holes=[];for(let e=0,n=t.holes.length;e<n;e++){const n=t.holes[e];this.holes.push(n.clone())}return this}toJSON(){const t=super.toJSON();t.uuid=this.uuid,t.holes=[];for(let e=0,n=this.holes.length;e<n;e++){const n=this.holes[e];t.holes.push(n.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.uuid=t.uuid,this.holes=[];for(let e=0,n=t.holes.length;e<n;e++){const n=t.holes[e];this.holes.push((new Ms).fromJSON(n))}return this}}function Ns(t,e,n,r,i){let o,a;if(i===function(t,e,n,r){let i=0;for(let o=e,a=n-r;o<n;o+=r)i+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return i}(t,e,n,r)>0)for(o=e;o<n;o+=r)a=al(o,t[o],t[o+1],a);else for(o=n-r;o>=e;o-=r)a=al(o,t[o],t[o+1],a);return a&&tl(a,a.next)&&(sl(a),a=a.next),a}function Fs(t,e){if(!t)return t;e||(e=t);let n,r=t;do{if(n=!1,r.steiner||!tl(r,r.next)&&0!==Qs(r.prev,r,r.next))r=r.next;else{if(sl(r),r=e=r.prev,r===r.next)break;n=!0}}while(n||r!==e);return e}function js(t,e,n,r,i,o,a){if(!t)return;!a&&o&&function(t,e,n,r){let i=t;do{null===i.z&&(i.z=Ys(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){let e,n,r,i,o,a,s,l,u=1;do{for(n=t,t=null,o=null,a=0;n;){for(a++,r=n,s=0,e=0;e<u&&(s++,r=r.nextZ,r);e++);for(l=u;s>0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;n=r}o.nextZ=null,u*=2}while(a>1)}(i)}(t,r,i,o);let s,l,u=t;for(;t.prev!==t.next;)if(s=t.prev,l=t.next,o?qs(t,r,i,o):Us(t))e.push(s.i/n),e.push(t.i/n),e.push(l.i/n),sl(t),t=l.next,u=l.next;else if((t=l)===u){a?1===a?js(t=Vs(Fs(t),e,n),e,n,r,i,o,2):2===a&&Hs(t,e,n,r,i,o):js(Fs(t),e,n,r,i,o,1);break}}function Us(t){const e=t.prev,n=t,r=t.next;if(Qs(e,n,r)>=0)return!1;let i=t.next.next;for(;i!==t.prev;){if(Ks(e.x,e.y,n.x,n.y,r.x,r.y,i.x,i.y)&&Qs(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function qs(t,e,n,r){const i=t.prev,o=t,a=t.next;if(Qs(i,o,a)>=0)return!1;const s=i.x<o.x?i.x<a.x?i.x:a.x:o.x<a.x?o.x:a.x,l=i.y<o.y?i.y<a.y?i.y:a.y:o.y<a.y?o.y:a.y,u=i.x>o.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,c=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,h=Ys(s,l,e,n,r),p=Ys(u,c,e,n,r);let f=t.prevZ,d=t.nextZ;for(;f&&f.z>=h&&d&&d.z<=p;){if(f!==t.prev&&f!==t.next&&Ks(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Qs(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,d!==t.prev&&d!==t.next&&Ks(i.x,i.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Qs(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(;f&&f.z>=h;){if(f!==t.prev&&f!==t.next&&Ks(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Qs(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;d&&d.z<=p;){if(d!==t.prev&&d!==t.next&&Ks(i.x,i.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Qs(d.prev,d,d.next)>=0)return!1;d=d.nextZ}return!0}function Vs(t,e,n){let r=t;do{const i=r.prev,o=r.next.next;!tl(i,o)&&el(i,r,r.next,o)&&il(i,o)&&il(o,i)&&(e.push(i.i/n),e.push(r.i/n),e.push(o.i/n),sl(r),sl(r.next),r=t=o),r=r.next}while(r!==t);return Fs(r)}function Hs(t,e,n,r,i,o){let a=t;do{let t=a.next.next;for(;t!==a.prev;){if(a.i!==t.i&&Js(a,t)){let s=ol(a,t);return a=Fs(a,a.next),s=Fs(s,s.next),js(a,e,n,r,i,o),void js(s,e,n,r,i,o)}t=t.next}a=a.next}while(a!==t)}function Gs(t,e){return t.x-e.x}function Ws(t,e){if(e=function(t,e){let n=e;const r=t.x,i=t.y;let o,a=-1/0;do{if(i<=n.y&&i>=n.next.y&&n.next.y!==n.y){const t=n.x+(i-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(t<=r&&t>a){if(a=t,t===r){if(i===n.y)return n;if(i===n.next.y)return n.next}o=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!o)return null;if(r===a)return o;const s=o,l=o.x,u=o.y;let c,h=1/0;n=o;do{r>=n.x&&n.x>=l&&r!==n.x&&Ks(i<u?r:a,i,l,u,i<u?a:r,i,n.x,n.y)&&(c=Math.abs(i-n.y)/(r-n.x),il(n,t)&&(c<h||c===h&&(n.x>o.x||n.x===o.x&&Xs(o,n)))&&(o=n,h=c)),n=n.next}while(n!==s);return o}(t,e),e){const n=ol(e,t);Fs(e,e.next),Fs(n,n.next)}}function Xs(t,e){return Qs(t.prev,t,e.prev)<0&&Qs(e.next,t,t.next)<0}function Ys(t,e,n,r,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Zs(t){let e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function Ks(t,e,n,r,i,o,a,s){return(i-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(r-s)-(n-a)*(e-s)>=0&&(n-a)*(o-s)-(i-a)*(r-s)>=0}function Js(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){let n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&el(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(il(t,e)&&il(e,t)&&function(t,e){let n=t,r=!1;const i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==t);return r}(t,e)&&(Qs(t.prev,t,e.prev)||Qs(t,e.prev,e))||tl(t,e)&&Qs(t.prev,t,t.next)>0&&Qs(e.prev,e,e.next)>0)}function Qs(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function tl(t,e){return t.x===e.x&&t.y===e.y}function el(t,e,n,r){const i=rl(Qs(t,e,n)),o=rl(Qs(t,e,r)),a=rl(Qs(n,r,t)),s=rl(Qs(n,r,e));return i!==o&&a!==s||!(0!==i||!nl(t,n,e))||!(0!==o||!nl(t,r,e))||!(0!==a||!nl(n,t,r))||!(0!==s||!nl(n,e,r))}function nl(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function rl(t){return t>0?1:t<0?-1:0}function il(t,e){return Qs(t.prev,t,t.next)<0?Qs(t,e,t.next)>=0&&Qs(t,t.prev,e)>=0:Qs(t,e,t.prev)<0||Qs(t,t.next,e)<0}function ol(t,e){const n=new ll(t.i,t.x,t.y),r=new ll(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function al(t,e,n,r){const i=new ll(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function sl(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function ll(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}class ul{static area(t){const e=t.length;let n=0;for(let r=e-1,i=0;i<e;r=i++)n+=t[r].x*t[i].y-t[i].x*t[r].y;return.5*n}static isClockWise(t){return ul.area(t)<0}static triangulateShape(t,e){const n=[],r=[],i=[];cl(t),hl(n,t);let o=t.length;e.forEach(cl);for(let t=0;t<e.length;t++)r.push(o),o+=e[t].length,hl(n,e[t]);const a=function(t,e,n=2){const r=e&&e.length,i=r?e[0]*n:t.length;let o=Ns(t,0,i,n,!0);const a=[];if(!o||o.next===o.prev)return a;let s,l,u,c,h,p,f;if(r&&(o=function(t,e,n,r){const i=[];let o,a,s,l,u;for(o=0,a=e.length;o<a;o++)s=e[o]*r,l=o<a-1?e[o+1]*r:t.length,u=Ns(t,s,l,r,!1),u===u.next&&(u.steiner=!0),i.push(Zs(u));for(i.sort(Gs),o=0;o<i.length;o++)Ws(i[o],n),n=Fs(n,n.next);return n}(t,e,o,n)),t.length>80*n){s=u=t[0],l=c=t[1];for(let e=n;e<i;e+=n)h=t[e],p=t[e+1],h<s&&(s=h),p<l&&(l=p),h>u&&(u=h),p>c&&(c=p);f=Math.max(u-s,c-l),f=0!==f?1/f:0}return js(o,a,n,s,l,f),a}(n,r);for(let t=0;t<a.length;t+=3)i.push(a.slice(t,t+3));return i}}function cl(t){const e=t.length;e>2&&t[e-1].equals(t[0])&&t.pop()}function hl(t,e){for(let n=0;n<e.length;n++)t.push(e[n].x),t.push(e[n].y)}class pl extends Ln{constructor(t=new Bs([new Tt(.5,.5),new Tt(-.5,.5),new Tt(-.5,-.5),new Tt(.5,-.5)]),e={}){super(),this.type=\\\"ExtrudeGeometry\\\",this.parameters={shapes:t,options:e},t=Array.isArray(t)?t:[t];const n=this,r=[],i=[];for(let e=0,n=t.length;e<n;e++)o(t[e]);function o(t){const o=[],a=void 0!==e.curveSegments?e.curveSegments:12,s=void 0!==e.steps?e.steps:1,l=void 0!==e.depth?e.depth:1;let u=void 0===e.bevelEnabled||e.bevelEnabled,c=void 0!==e.bevelThickness?e.bevelThickness:.2,h=void 0!==e.bevelSize?e.bevelSize:c-.1,p=void 0!==e.bevelOffset?e.bevelOffset:0,f=void 0!==e.bevelSegments?e.bevelSegments:3;const d=e.extrudePath,m=void 0!==e.UVGenerator?e.UVGenerator:fl;let v,g,y,_,b,x=!1;d&&(v=d.getSpacedPoints(s),x=!0,u=!1,g=d.computeFrenetFrames(s,!1),y=new ee,_=new ee,b=new ee),u||(f=0,c=0,h=0,p=0);const w=t.extractPoints(a);let A=w.shape;const C=w.holes;if(!ul.isClockWise(A)){A=A.reverse();for(let t=0,e=C.length;t<e;t++){const e=C[t];ul.isClockWise(e)&&(C[t]=e.reverse())}}const M=ul.triangulateShape(A,C),E=A;for(let t=0,e=C.length;t<e;t++){const e=C[t];A=A.concat(e)}function T(t,e,n){return e||console.error(\\\"THREE.ExtrudeGeometry: vec does not exist\\\"),e.clone().multiplyScalar(n).add(t)}const S=A.length,k=M.length;function O(t,e,n){let r,i,o;const a=t.x-e.x,s=t.y-e.y,l=n.x-t.x,u=n.y-t.y,c=a*a+s*s,h=a*u-s*l;if(Math.abs(h)>Number.EPSILON){const h=Math.sqrt(c),p=Math.sqrt(l*l+u*u),f=e.x-s/h,d=e.y+a/h,m=((n.x-u/p-f)*u-(n.y+l/p-d)*l)/(a*u-s*l);r=f+a*m-t.x,i=d+s*m-t.y;const v=r*r+i*i;if(v<=2)return new Tt(r,i);o=Math.sqrt(v/2)}else{let t=!1;a>Number.EPSILON?l>Number.EPSILON&&(t=!0):a<-Number.EPSILON?l<-Number.EPSILON&&(t=!0):Math.sign(s)===Math.sign(u)&&(t=!0),t?(r=-s,i=a,o=Math.sqrt(c)):(r=a,i=s,o=Math.sqrt(c/2))}return new Tt(r/o,i/o)}const I=[];for(let t=0,e=E.length,n=e-1,r=t+1;t<e;t++,n++,r++)n===e&&(n=0),r===e&&(r=0),I[t]=O(E[t],E[n],E[r]);const L=[];let P,z=I.concat();for(let t=0,e=C.length;t<e;t++){const e=C[t];P=[];for(let t=0,n=e.length,r=n-1,i=t+1;t<n;t++,r++,i++)r===n&&(r=0),i===n&&(i=0),P[t]=O(e[t],e[r],e[i]);L.push(P),z=z.concat(P)}for(let t=0;t<f;t++){const e=t/f,n=c*Math.cos(e*Math.PI/2),r=h*Math.sin(e*Math.PI/2)+p;for(let t=0,e=E.length;t<e;t++){const e=T(E[t],I[t],r);$(e.x,e.y,-n)}for(let t=0,e=C.length;t<e;t++){const e=C[t];P=L[t];for(let t=0,i=e.length;t<i;t++){const i=T(e[t],P[t],r);$(i.x,i.y,-n)}}}const R=h+p;for(let t=0;t<S;t++){const e=u?T(A[t],z[t],R):A[t];x?(_.copy(g.normals[0]).multiplyScalar(e.x),y.copy(g.binormals[0]).multiplyScalar(e.y),b.copy(v[0]).add(_).add(y),$(b.x,b.y,b.z)):$(e.x,e.y,0)}for(let t=1;t<=s;t++)for(let e=0;e<S;e++){const n=u?T(A[e],z[e],R):A[e];x?(_.copy(g.normals[t]).multiplyScalar(n.x),y.copy(g.binormals[t]).multiplyScalar(n.y),b.copy(v[t]).add(_).add(y),$(b.x,b.y,b.z)):$(n.x,n.y,l/s*t)}for(let t=f-1;t>=0;t--){const e=t/f,n=c*Math.cos(e*Math.PI/2),r=h*Math.sin(e*Math.PI/2)+p;for(let t=0,e=E.length;t<e;t++){const e=T(E[t],I[t],r);$(e.x,e.y,l+n)}for(let t=0,e=C.length;t<e;t++){const e=C[t];P=L[t];for(let t=0,i=e.length;t<i;t++){const i=T(e[t],P[t],r);x?$(i.x,i.y+v[s-1].y,v[s-1].x+n):$(i.x,i.y,l+n)}}}function D(t,e){let n=t.length;for(;--n>=0;){const r=n;let i=n-1;i<0&&(i=t.length-1);for(let t=0,n=s+2*f;t<n;t++){const n=S*t,o=S*(t+1);N(e+r+n,e+i+n,e+i+o,e+r+o)}}}function $(t,e,n){o.push(t),o.push(e),o.push(n)}function B(t,e,i){F(t),F(e),F(i);const o=r.length/3,a=m.generateTopUV(n,r,o-3,o-2,o-1);j(a[0]),j(a[1]),j(a[2])}function N(t,e,i,o){F(t),F(e),F(o),F(e),F(i),F(o);const a=r.length/3,s=m.generateSideWallUV(n,r,a-6,a-3,a-2,a-1);j(s[0]),j(s[1]),j(s[3]),j(s[1]),j(s[2]),j(s[3])}function F(t){r.push(o[3*t+0]),r.push(o[3*t+1]),r.push(o[3*t+2])}function j(t){i.push(t.x),i.push(t.y)}!function(){const t=r.length/3;if(u){let t=0,e=S*t;for(let t=0;t<k;t++){const n=M[t];B(n[2]+e,n[1]+e,n[0]+e)}t=s+2*f,e=S*t;for(let t=0;t<k;t++){const n=M[t];B(n[0]+e,n[1]+e,n[2]+e)}}else{for(let t=0;t<k;t++){const e=M[t];B(e[2],e[1],e[0])}for(let t=0;t<k;t++){const e=M[t];B(e[0]+S*s,e[1]+S*s,e[2]+S*s)}}n.addGroup(t,r.length/3-t,0)}(),function(){const t=r.length/3;let e=0;D(E,e),e+=E.length;for(let t=0,n=C.length;t<n;t++){const n=C[t];D(n,e),e+=n.length}n.addGroup(t,r.length/3-t,1)}()}this.setAttribute(\\\"position\\\",new Cn(r,3)),this.setAttribute(\\\"uv\\\",new Cn(i,2)),this.computeVertexNormals()}toJSON(){const t=super.toJSON();return function(t,e,n){if(n.shapes=[],Array.isArray(t))for(let e=0,r=t.length;e<r;e++){const r=t[e];n.shapes.push(r.uuid)}else n.shapes.push(t.uuid);return n.options=Object.assign({},e),void 0!==e.extrudePath&&(n.options.extrudePath=e.extrudePath.toJSON()),n}(this.parameters.shapes,this.parameters.options,t)}static fromJSON(t,e){const n=[];for(let r=0,i=t.shapes.length;r<i;r++){const i=e[t.shapes[r]];n.push(i)}const r=t.options.extrudePath;return void 0!==r&&(t.options.extrudePath=(new As[r.type]).fromJSON(r)),new pl(n,t.options)}}const fl={generateTopUV:function(t,e,n,r,i){const o=e[3*n],a=e[3*n+1],s=e[3*r],l=e[3*r+1],u=e[3*i],c=e[3*i+1];return[new Tt(o,a),new Tt(s,l),new Tt(u,c)]},generateSideWallUV:function(t,e,n,r,i,o){const a=e[3*n],s=e[3*n+1],l=e[3*n+2],u=e[3*r],c=e[3*r+1],h=e[3*r+2],p=e[3*i],f=e[3*i+1],d=e[3*i+2],m=e[3*o],v=e[3*o+1],g=e[3*o+2];return Math.abs(s-c)<Math.abs(a-u)?[new Tt(a,1-l),new Tt(u,1-h),new Tt(p,1-d),new Tt(m,1-g)]:[new Tt(s,1-l),new Tt(c,1-h),new Tt(f,1-d),new Tt(v,1-g)]}};class dl extends Is{constructor(t=1,e=0){const n=(1+Math.sqrt(5))/2;super([-1,n,0,1,n,0,-1,-n,0,1,-n,0,0,-1,n,0,1,n,0,-1,-n,0,1,-n,n,0,-1,n,0,1,-n,0,-1,-n,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],t,e),this.type=\\\"IcosahedronGeometry\\\",this.parameters={radius:t,detail:e}}static fromJSON(t){return new dl(t.radius,t.detail)}}class ml extends Is{constructor(t=1,e=0){super([1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],t,e),this.type=\\\"OctahedronGeometry\\\",this.parameters={radius:t,detail:e}}static fromJSON(t){return new ml(t.radius,t.detail)}}class vl extends Ln{constructor(t=.5,e=1,n=8,r=1,i=0,o=2*Math.PI){super(),this.type=\\\"RingGeometry\\\",this.parameters={innerRadius:t,outerRadius:e,thetaSegments:n,phiSegments:r,thetaStart:i,thetaLength:o},n=Math.max(3,n);const a=[],s=[],l=[],u=[];let c=t;const h=(e-t)/(r=Math.max(1,r)),p=new ee,f=new Tt;for(let t=0;t<=r;t++){for(let t=0;t<=n;t++){const r=i+t/n*o;p.x=c*Math.cos(r),p.y=c*Math.sin(r),s.push(p.x,p.y,p.z),l.push(0,0,1),f.x=(p.x/e+1)/2,f.y=(p.y/e+1)/2,u.push(f.x,f.y)}c+=h}for(let t=0;t<r;t++){const e=t*(n+1);for(let t=0;t<n;t++){const r=t+e,i=r,o=r+n+1,s=r+n+2,l=r+1;a.push(i,o,l),a.push(o,s,l)}}this.setIndex(a),this.setAttribute(\\\"position\\\",new Cn(s,3)),this.setAttribute(\\\"normal\\\",new Cn(l,3)),this.setAttribute(\\\"uv\\\",new Cn(u,2))}static fromJSON(t){return new vl(t.innerRadius,t.outerRadius,t.thetaSegments,t.phiSegments,t.thetaStart,t.thetaLength)}}class gl extends Ln{constructor(t=new Bs([new Tt(0,.5),new Tt(-.5,-.5),new Tt(.5,-.5)]),e=12){super(),this.type=\\\"ShapeGeometry\\\",this.parameters={shapes:t,curveSegments:e};const n=[],r=[],i=[],o=[];let a=0,s=0;if(!1===Array.isArray(t))l(t);else for(let e=0;e<t.length;e++)l(t[e]),this.addGroup(a,s,e),a+=s,s=0;function l(t){const a=r.length/3,l=t.extractPoints(e);let u=l.shape;const c=l.holes;!1===ul.isClockWise(u)&&(u=u.reverse());for(let t=0,e=c.length;t<e;t++){const e=c[t];!0===ul.isClockWise(e)&&(c[t]=e.reverse())}const h=ul.triangulateShape(u,c);for(let t=0,e=c.length;t<e;t++){const e=c[t];u=u.concat(e)}for(let t=0,e=u.length;t<e;t++){const e=u[t];r.push(e.x,e.y,0),i.push(0,0,1),o.push(e.x,e.y)}for(let t=0,e=h.length;t<e;t++){const e=h[t],r=e[0]+a,i=e[1]+a,o=e[2]+a;n.push(r,i,o),s+=3}}this.setIndex(n),this.setAttribute(\\\"position\\\",new Cn(r,3)),this.setAttribute(\\\"normal\\\",new Cn(i,3)),this.setAttribute(\\\"uv\\\",new Cn(o,2))}toJSON(){const t=super.toJSON();return function(t,e){if(e.shapes=[],Array.isArray(t))for(let n=0,r=t.length;n<r;n++){const r=t[n];e.shapes.push(r.uuid)}else e.shapes.push(t.uuid);return e}(this.parameters.shapes,t)}static fromJSON(t,e){const n=[];for(let r=0,i=t.shapes.length;r<i;r++){const i=e[t.shapes[r]];n.push(i)}return new gl(n,t.curveSegments)}}class yl extends Ln{constructor(t=1,e=32,n=16,r=0,i=2*Math.PI,o=0,a=Math.PI){super(),this.type=\\\"SphereGeometry\\\",this.parameters={radius:t,widthSegments:e,heightSegments:n,phiStart:r,phiLength:i,thetaStart:o,thetaLength:a},e=Math.max(3,Math.floor(e)),n=Math.max(2,Math.floor(n));const s=Math.min(o+a,Math.PI);let l=0;const u=[],c=new ee,h=new ee,p=[],f=[],d=[],m=[];for(let p=0;p<=n;p++){const v=[],g=p/n;let y=0;0==p&&0==o?y=.5/e:p==n&&s==Math.PI&&(y=-.5/e);for(let n=0;n<=e;n++){const s=n/e;c.x=-t*Math.cos(r+s*i)*Math.sin(o+g*a),c.y=t*Math.cos(o+g*a),c.z=t*Math.sin(r+s*i)*Math.sin(o+g*a),f.push(c.x,c.y,c.z),h.copy(c).normalize(),d.push(h.x,h.y,h.z),m.push(s+y,1-g),v.push(l++)}u.push(v)}for(let t=0;t<n;t++)for(let r=0;r<e;r++){const e=u[t][r+1],i=u[t][r],a=u[t+1][r],l=u[t+1][r+1];(0!==t||o>0)&&p.push(e,i,l),(t!==n-1||s<Math.PI)&&p.push(i,a,l)}this.setIndex(p),this.setAttribute(\\\"position\\\",new Cn(f,3)),this.setAttribute(\\\"normal\\\",new Cn(d,3)),this.setAttribute(\\\"uv\\\",new Cn(m,2))}static fromJSON(t){return new yl(t.radius,t.widthSegments,t.heightSegments,t.phiStart,t.phiLength,t.thetaStart,t.thetaLength)}}class _l extends Is{constructor(t=1,e=0){super([1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],t,e),this.type=\\\"TetrahedronGeometry\\\",this.parameters={radius:t,detail:e}}static fromJSON(t){return new _l(t.radius,t.detail)}}class bl extends Ln{constructor(t=1,e=.4,n=8,r=6,i=2*Math.PI){super(),this.type=\\\"TorusGeometry\\\",this.parameters={radius:t,tube:e,radialSegments:n,tubularSegments:r,arc:i},n=Math.floor(n),r=Math.floor(r);const o=[],a=[],s=[],l=[],u=new ee,c=new ee,h=new ee;for(let o=0;o<=n;o++)for(let p=0;p<=r;p++){const f=p/r*i,d=o/n*Math.PI*2;c.x=(t+e*Math.cos(d))*Math.cos(f),c.y=(t+e*Math.cos(d))*Math.sin(f),c.z=e*Math.sin(d),a.push(c.x,c.y,c.z),u.x=t*Math.cos(f),u.y=t*Math.sin(f),h.subVectors(c,u).normalize(),s.push(h.x,h.y,h.z),l.push(p/r),l.push(o/n)}for(let t=1;t<=n;t++)for(let e=1;e<=r;e++){const n=(r+1)*t+e-1,i=(r+1)*(t-1)+e-1,a=(r+1)*(t-1)+e,s=(r+1)*t+e;o.push(n,i,s),o.push(i,a,s)}this.setIndex(o),this.setAttribute(\\\"position\\\",new Cn(a,3)),this.setAttribute(\\\"normal\\\",new Cn(s,3)),this.setAttribute(\\\"uv\\\",new Cn(l,2))}static fromJSON(t){return new bl(t.radius,t.tube,t.radialSegments,t.tubularSegments,t.arc)}}class xl extends Ln{constructor(t=1,e=.4,n=64,r=8,i=2,o=3){super(),this.type=\\\"TorusKnotGeometry\\\",this.parameters={radius:t,tube:e,tubularSegments:n,radialSegments:r,p:i,q:o},n=Math.floor(n),r=Math.floor(r);const a=[],s=[],l=[],u=[],c=new ee,h=new ee,p=new ee,f=new ee,d=new ee,m=new ee,v=new ee;for(let a=0;a<=n;++a){const y=a/n*i*Math.PI*2;g(y,i,o,t,p),g(y+.01,i,o,t,f),m.subVectors(f,p),v.addVectors(f,p),d.crossVectors(m,v),v.crossVectors(d,m),d.normalize(),v.normalize();for(let t=0;t<=r;++t){const i=t/r*Math.PI*2,o=-e*Math.cos(i),f=e*Math.sin(i);c.x=p.x+(o*v.x+f*d.x),c.y=p.y+(o*v.y+f*d.y),c.z=p.z+(o*v.z+f*d.z),s.push(c.x,c.y,c.z),h.subVectors(c,p).normalize(),l.push(h.x,h.y,h.z),u.push(a/n),u.push(t/r)}}for(let t=1;t<=n;t++)for(let e=1;e<=r;e++){const n=(r+1)*(t-1)+(e-1),i=(r+1)*t+(e-1),o=(r+1)*t+e,s=(r+1)*(t-1)+e;a.push(n,i,s),a.push(i,o,s)}function g(t,e,n,r,i){const o=Math.cos(t),a=Math.sin(t),s=n/e*t,l=Math.cos(s);i.x=r*(2+l)*.5*o,i.y=r*(2+l)*a*.5,i.z=r*Math.sin(s)*.5}this.setIndex(a),this.setAttribute(\\\"position\\\",new Cn(s,3)),this.setAttribute(\\\"normal\\\",new Cn(l,3)),this.setAttribute(\\\"uv\\\",new Cn(u,2))}static fromJSON(t){return new xl(t.radius,t.tube,t.tubularSegments,t.radialSegments,t.p,t.q)}}class wl extends Ln{constructor(t=new xs(new ee(-1,-1,0),new ee(-1,1,0),new ee(1,1,0)),e=64,n=1,r=8,i=!1){super(),this.type=\\\"TubeGeometry\\\",this.parameters={path:t,tubularSegments:e,radius:n,radialSegments:r,closed:i};const o=t.computeFrenetFrames(e,i);this.tangents=o.tangents,this.normals=o.normals,this.binormals=o.binormals;const a=new ee,s=new ee,l=new Tt;let u=new ee;const c=[],h=[],p=[],f=[];function d(i){u=t.getPointAt(i/e,u);const l=o.normals[i],p=o.binormals[i];for(let t=0;t<=r;t++){const e=t/r*Math.PI*2,i=Math.sin(e),o=-Math.cos(e);s.x=o*l.x+i*p.x,s.y=o*l.y+i*p.y,s.z=o*l.z+i*p.z,s.normalize(),h.push(s.x,s.y,s.z),a.x=u.x+n*s.x,a.y=u.y+n*s.y,a.z=u.z+n*s.z,c.push(a.x,a.y,a.z)}}!function(){for(let t=0;t<e;t++)d(t);d(!1===i?e:0),function(){for(let t=0;t<=e;t++)for(let n=0;n<=r;n++)l.x=t/e,l.y=n/r,p.push(l.x,l.y)}(),function(){for(let t=1;t<=e;t++)for(let e=1;e<=r;e++){const n=(r+1)*(t-1)+(e-1),i=(r+1)*t+(e-1),o=(r+1)*t+e,a=(r+1)*(t-1)+e;f.push(n,i,a),f.push(i,o,a)}}()}(),this.setIndex(f),this.setAttribute(\\\"position\\\",new Cn(c,3)),this.setAttribute(\\\"normal\\\",new Cn(h,3)),this.setAttribute(\\\"uv\\\",new Cn(p,2))}toJSON(){const t=super.toJSON();return t.path=this.parameters.path.toJSON(),t}static fromJSON(t){return new wl((new As[t.path.type]).fromJSON(t.path),t.tubularSegments,t.radius,t.radialSegments,t.closed)}}class Al extends Ln{constructor(t=null){if(super(),this.type=\\\"WireframeGeometry\\\",this.parameters={geometry:t},null!==t){const e=[],n=new Set,r=new ee,i=new ee;if(null!==t.index){const o=t.attributes.position,a=t.index;let s=t.groups;0===s.length&&(s=[{start:0,count:a.count,materialIndex:0}]);for(let t=0,l=s.length;t<l;++t){const l=s[t],u=l.start;for(let t=u,s=u+l.count;t<s;t+=3)for(let s=0;s<3;s++){const l=a.getX(t+s),u=a.getX(t+(s+1)%3);r.fromBufferAttribute(o,l),i.fromBufferAttribute(o,u),!0===Cl(r,i,n)&&(e.push(r.x,r.y,r.z),e.push(i.x,i.y,i.z))}}}else{const o=t.attributes.position;for(let t=0,a=o.count/3;t<a;t++)for(let a=0;a<3;a++){const s=3*t+a,l=3*t+(a+1)%3;r.fromBufferAttribute(o,s),i.fromBufferAttribute(o,l),!0===Cl(r,i,n)&&(e.push(r.x,r.y,r.z),e.push(i.x,i.y,i.z))}}this.setAttribute(\\\"position\\\",new Cn(e,3))}}}function Cl(t,e,n){const r=`${t.x},${t.y},${t.z}-${e.x},${e.y},${e.z}`,i=`${e.x},${e.y},${e.z}-${t.x},${t.y},${t.z}`;return!0!==n.has(r)&&!0!==n.has(i)&&(n.add(r),n.add(i),!0)}var Ml=Object.freeze({__proto__:null,BoxGeometry:Jn,BoxBufferGeometry:Jn,CapsuleGeometry:Ts,CapsuleBufferGeometry:Ts,CircleGeometry:Ss,CircleBufferGeometry:Ss,ConeGeometry:Os,ConeBufferGeometry:Os,CylinderGeometry:ks,CylinderBufferGeometry:ks,DodecahedronGeometry:Ls,DodecahedronBufferGeometry:Ls,EdgesGeometry:$s,ExtrudeGeometry:pl,ExtrudeBufferGeometry:pl,IcosahedronGeometry:dl,IcosahedronBufferGeometry:dl,LatheGeometry:Es,LatheBufferGeometry:Es,OctahedronGeometry:ml,OctahedronBufferGeometry:ml,PlaneGeometry:yr,PlaneBufferGeometry:yr,PolyhedronGeometry:Is,PolyhedronBufferGeometry:Is,RingGeometry:vl,RingBufferGeometry:vl,ShapeGeometry:gl,ShapeBufferGeometry:gl,SphereGeometry:yl,SphereBufferGeometry:yl,TetrahedronGeometry:_l,TetrahedronBufferGeometry:_l,TorusGeometry:bl,TorusBufferGeometry:bl,TorusKnotGeometry:xl,TorusKnotBufferGeometry:xl,TubeGeometry:wl,TubeBufferGeometry:wl,WireframeGeometry:Al});class El extends gn{constructor(t){super(),this.isShadowMaterial=!0,this.type=\\\"ShadowMaterial\\\",this.color=new qt(0),this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.fog=t.fog,this}}class Tl extends nr{constructor(t){super(t),this.isRawShaderMaterial=!0,this.type=\\\"RawShaderMaterial\\\"}}class Sl extends gn{constructor(t){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:\\\"\\\"},this.type=\\\"MeshStandardMaterial\\\",this.color=new qt(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new qt(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Tt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=\\\"round\\\",this.wireframeLinejoin=\\\"round\\\",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={STANDARD:\\\"\\\"},this.color.copy(t.color),this.roughness=t.roughness,this.metalness=t.metalness,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.roughnessMap=t.roughnessMap,this.metalnessMap=t.metalnessMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapIntensity=t.envMapIntensity,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class kl extends Sl{constructor(t){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:\\\"\\\",PHYSICAL:\\\"\\\"},this.type=\\\"MeshPhysicalMaterial\\\",this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new Tt(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,\\\"reflectivity\\\",{get:function(){return bt(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(t){this.ior=(1+.4*t)/(1-.4*t)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new qt(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=0,this.attenuationColor=new qt(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new qt(1,1,1),this.specularColorMap=null,this._sheen=0,this._clearcoat=0,this._iridescence=0,this._transmission=0,this.setValues(t)}get sheen(){return this._sheen}set sheen(t){this._sheen>0!=t>0&&this.version++,this._sheen=t}get clearcoat(){return this._clearcoat}set clearcoat(t){this._clearcoat>0!=t>0&&this.version++,this._clearcoat=t}get iridescence(){return this._iridescence}set iridescence(t){this._iridescence>0!=t>0&&this.version++,this._iridescence=t}get transmission(){return this._transmission}set transmission(t){this._transmission>0!=t>0&&this.version++,this._transmission=t}copy(t){return super.copy(t),this.defines={STANDARD:\\\"\\\",PHYSICAL:\\\"\\\"},this.clearcoat=t.clearcoat,this.clearcoatMap=t.clearcoatMap,this.clearcoatRoughness=t.clearcoatRoughness,this.clearcoatRoughnessMap=t.clearcoatRoughnessMap,this.clearcoatNormalMap=t.clearcoatNormalMap,this.clearcoatNormalScale.copy(t.clearcoatNormalScale),this.ior=t.ior,this.iridescence=t.iridescence,this.iridescenceMap=t.iridescenceMap,this.iridescenceIOR=t.iridescenceIOR,this.iridescenceThicknessRange=[...t.iridescenceThicknessRange],this.iridescenceThicknessMap=t.iridescenceThicknessMap,this.sheen=t.sheen,this.sheenColor.copy(t.sheenColor),this.sheenColorMap=t.sheenColorMap,this.sheenRoughness=t.sheenRoughness,this.sheenRoughnessMap=t.sheenRoughnessMap,this.transmission=t.transmission,this.transmissionMap=t.transmissionMap,this.thickness=t.thickness,this.thicknessMap=t.thicknessMap,this.attenuationDistance=t.attenuationDistance,this.attenuationColor.copy(t.attenuationColor),this.specularIntensity=t.specularIntensity,this.specularIntensityMap=t.specularIntensityMap,this.specularColor.copy(t.specularColor),this.specularColorMap=t.specularColorMap,this}}class Ol extends gn{constructor(t){super(),this.isMeshPhongMaterial=!0,this.type=\\\"MeshPhongMaterial\\\",this.color=new qt(16777215),this.specular=new qt(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new qt(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Tt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=\\\"round\\\",this.wireframeLinejoin=\\\"round\\\",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.specular.copy(t.specular),this.shininess=t.shininess,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}class Il extends gn{constructor(t){super(),this.isMeshToonMaterial=!0,this.defines={TOON:\\\"\\\"},this.type=\\\"MeshToonMaterial\\\",this.color=new qt(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new qt(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Tt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=\\\"round\\\",this.wireframeLinejoin=\\\"round\\\",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.gradientMap=t.gradientMap,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}class Ll extends gn{constructor(t){super(),this.isMeshNormalMaterial=!0,this.type=\\\"MeshNormalMaterial\\\",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Tt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(t)}copy(t){return super.copy(t),this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.flatShading=t.flatShading,this}}class Pl extends gn{constructor(t){super(),this.isMeshLambertMaterial=!0,this.type=\\\"MeshLambertMaterial\\\",this.color=new qt(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new qt(0),this.emissiveIntensity=1,this.emissiveMap=null,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=\\\"round\\\",this.wireframeLinejoin=\\\"round\\\",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}class zl extends gn{constructor(t){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:\\\"\\\"},this.type=\\\"MeshMatcapMaterial\\\",this.color=new qt(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Tt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={MATCAP:\\\"\\\"},this.color.copy(t.color),this.matcap=t.matcap,this.map=t.map,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.flatShading=t.flatShading,this.fog=t.fog,this}}class Rl extends Na{constructor(t){super(),this.isLineDashedMaterial=!0,this.type=\\\"LineDashedMaterial\\\",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(t)}copy(t){return super.copy(t),this.scale=t.scale,this.dashSize=t.dashSize,this.gapSize=t.gapSize,this}}function Dl(t,e,n){return Bl(t)?new t.constructor(t.subarray(e,void 0!==n?n:t.length)):t.slice(e,n)}function $l(t,e,n){return!t||!n&&t.constructor===e?t:\\\"number\\\"==typeof e.BYTES_PER_ELEMENT?new e(t):Array.prototype.slice.call(t)}function Bl(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Nl(t){const e=t.length,n=new Array(e);for(let t=0;t!==e;++t)n[t]=t;return n.sort((function(e,n){return t[e]-t[n]})),n}function Fl(t,e,n){const r=t.length,i=new t.constructor(r);for(let o=0,a=0;a!==r;++o){const r=n[o]*e;for(let n=0;n!==e;++n)i[a++]=t[r+n]}return i}function jl(t,e,n,r){let i=1,o=t[0];for(;void 0!==o&&void 0===o[r];)o=t[i++];if(void 0===o)return;let a=o[r];if(void 0!==a)if(Array.isArray(a))do{a=o[r],void 0!==a&&(e.push(o.time),n.push.apply(n,a)),o=t[i++]}while(void 0!==o);else if(void 0!==a.toArray)do{a=o[r],void 0!==a&&(e.push(o.time),a.toArray(n,n.length)),o=t[i++]}while(void 0!==o);else do{a=o[r],void 0!==a&&(e.push(o.time),n.push(a)),o=t[i++]}while(void 0!==o)}var Ul=Object.freeze({__proto__:null,arraySlice:Dl,convertArray:$l,isTypedArray:Bl,getKeyframeOrder:Nl,sortedArray:Fl,flattenJSON:jl,subclip:function(t,e,n,r,i=30){const o=t.clone();o.name=e;const a=[];for(let t=0;t<o.tracks.length;++t){const e=o.tracks[t],s=e.getValueSize(),l=[],u=[];for(let t=0;t<e.times.length;++t){const o=e.times[t]*i;if(!(o<n||o>=r)){l.push(e.times[t]);for(let n=0;n<s;++n)u.push(e.values[t*s+n])}}0!==l.length&&(e.times=$l(l,e.times.constructor),e.values=$l(u,e.values.constructor),a.push(e))}o.tracks=a;let s=1/0;for(let t=0;t<o.tracks.length;++t)s>o.tracks[t].times[0]&&(s=o.tracks[t].times[0]);for(let t=0;t<o.tracks.length;++t)o.tracks[t].shift(-1*s);return o.resetDuration(),o},makeClipAdditive:function(t,e=0,n=t,r=30){r<=0&&(r=30);const i=n.tracks.length,o=e/r;for(let e=0;e<i;++e){const r=n.tracks[e],i=r.ValueTypeName;if(\\\"bool\\\"===i||\\\"string\\\"===i)continue;const a=t.tracks.find((function(t){return t.name===r.name&&t.ValueTypeName===i}));if(void 0===a)continue;let s=0;const l=r.getValueSize();r.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(s=l/3);let u=0;const c=a.getValueSize();a.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(u=c/3);const h=r.times.length-1;let p;if(o<=r.times[0]){const t=s,e=l-s;p=Dl(r.values,t,e)}else if(o>=r.times[h]){const t=h*l+s,e=t+l-s;p=Dl(r.values,t,e)}else{const t=r.createInterpolant(),e=s,n=l-s;t.evaluate(o),p=Dl(t.resultBuffer,e,n)}\\\"quaternion\\\"===i&&(new te).fromArray(p).normalize().conjugate().toArray(p);const f=a.times.length;for(let t=0;t<f;++t){const e=t*c+u;if(\\\"quaternion\\\"===i)te.multiplyQuaternionsFlat(a.values,e,p,0,a.values,e);else{const t=c-2*u;for(let n=0;n<t;++n)a.values[e+n]-=p[n]}}}return t.blendMode=ot,t}});class ql{constructor(t,e,n,r){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=void 0!==r?r:new e.constructor(n),this.sampleValues=e,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(t){const e=this.parameterPositions;let n=this._cachedIndex,r=e[n],i=e[n-1];t:{e:{let o;n:{r:if(!(t<r)){for(let o=n+2;;){if(void 0===r){if(t<i)break r;return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===o)break;if(i=r,r=e[++n],t<r)break e}o=e.length;break n}if(t>=i)break t;{const a=e[1];t<a&&(n=2,i=a);for(let o=n-2;;){if(void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(n===o)break;if(r=i,i=e[--n-1],t>=i)break e}o=n,n=0}}for(;n<o;){const r=n+o>>>1;t<e[r]?o=r:n=r+1}if(r=e[n],i=e[n-1],void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===r)return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,i,r)}return this.interpolate_(n,i,t,r)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(t){const e=this.resultBuffer,n=this.sampleValues,r=this.valueSize,i=t*r;for(let t=0;t!==r;++t)e[t]=n[i+t];return e}interpolate_(){throw new Error(\\\"call to abstract method\\\")}intervalChanged_(){}}class Vl extends ql{constructor(t,e,n,r){super(t,e,n,r),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:nt,endingEnd:nt}}intervalChanged_(t,e,n){const r=this.parameterPositions;let i=t-2,o=t+1,a=r[i],s=r[o];if(void 0===a)switch(this.getSettings_().endingStart){case rt:i=t,a=2*e-n;break;case it:i=r.length-2,a=e+r[i]-r[i+1];break;default:i=t,a=n}if(void 0===s)switch(this.getSettings_().endingEnd){case rt:o=t,s=2*n-e;break;case it:o=1,s=n+r[1]-r[0];break;default:o=t-1,s=e}const l=.5*(n-e),u=this.valueSize;this._weightPrev=l/(e-a),this._weightNext=l/(s-n),this._offsetPrev=i*u,this._offsetNext=o*u}interpolate_(t,e,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=t*a,l=s-a,u=this._offsetPrev,c=this._offsetNext,h=this._weightPrev,p=this._weightNext,f=(n-e)/(r-e),d=f*f,m=d*f,v=-h*m+2*h*d-h*f,g=(1+h)*m+(-1.5-2*h)*d+(-.5+h)*f+1,y=(-1-p)*m+(1.5+p)*d+.5*f,_=p*m-p*d;for(let t=0;t!==a;++t)i[t]=v*o[u+t]+g*o[l+t]+y*o[s+t]+_*o[c+t];return i}}class Hl extends ql{constructor(t,e,n,r){super(t,e,n,r)}interpolate_(t,e,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=t*a,l=s-a,u=(n-e)/(r-e),c=1-u;for(let t=0;t!==a;++t)i[t]=o[l+t]*c+o[s+t]*u;return i}}class Gl extends ql{constructor(t,e,n,r){super(t,e,n,r)}interpolate_(t){return this.copySampleValue_(t-1)}}class Wl{constructor(t,e,n,r){if(void 0===t)throw new Error(\\\"THREE.KeyframeTrack: track name is undefined\\\");if(void 0===e||0===e.length)throw new Error(\\\"THREE.KeyframeTrack: no keyframes in track named \\\"+t);this.name=t,this.times=$l(e,this.TimeBufferType),this.values=$l(n,this.ValueBufferType),this.setInterpolation(r||this.DefaultInterpolation)}static toJSON(t){const e=t.constructor;let n;if(e.toJSON!==this.toJSON)n=e.toJSON(t);else{n={name:t.name,times:$l(t.times,Array),values:$l(t.values,Array)};const e=t.getInterpolation();e!==t.DefaultInterpolation&&(n.interpolation=e)}return n.type=t.ValueTypeName,n}InterpolantFactoryMethodDiscrete(t){return new Gl(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodLinear(t){return new Hl(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodSmooth(t){return new Vl(this.times,this.values,this.getValueSize(),t)}setInterpolation(t){let e;switch(t){case Q:e=this.InterpolantFactoryMethodDiscrete;break;case tt:e=this.InterpolantFactoryMethodLinear;break;case et:e=this.InterpolantFactoryMethodSmooth}if(void 0===e){const e=\\\"unsupported interpolation for \\\"+this.ValueTypeName+\\\" keyframe track named \\\"+this.name;if(void 0===this.createInterpolant){if(t===this.DefaultInterpolation)throw new Error(e);this.setInterpolation(this.DefaultInterpolation)}return console.warn(\\\"THREE.KeyframeTrack:\\\",e),this}return this.createInterpolant=e,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return Q;case this.InterpolantFactoryMethodLinear:return tt;case this.InterpolantFactoryMethodSmooth:return et}}getValueSize(){return this.values.length/this.times.length}shift(t){if(0!==t){const e=this.times;for(let n=0,r=e.length;n!==r;++n)e[n]+=t}return this}scale(t){if(1!==t){const e=this.times;for(let n=0,r=e.length;n!==r;++n)e[n]*=t}return this}trim(t,e){const n=this.times,r=n.length;let i=0,o=r-1;for(;i!==r&&n[i]<t;)++i;for(;-1!==o&&n[o]>e;)--o;if(++o,0!==i||o!==r){i>=o&&(o=Math.max(o,1),i=o-1);const t=this.getValueSize();this.times=Dl(n,i,o),this.values=Dl(this.values,i*t,o*t)}return this}validate(){let t=!0;const e=this.getValueSize();e-Math.floor(e)!=0&&(console.error(\\\"THREE.KeyframeTrack: Invalid value size in track.\\\",this),t=!1);const n=this.times,r=this.values,i=n.length;0===i&&(console.error(\\\"THREE.KeyframeTrack: Track is empty.\\\",this),t=!1);let o=null;for(let e=0;e!==i;e++){const r=n[e];if(\\\"number\\\"==typeof r&&isNaN(r)){console.error(\\\"THREE.KeyframeTrack: Time is not a valid number.\\\",this,e,r),t=!1;break}if(null!==o&&o>r){console.error(\\\"THREE.KeyframeTrack: Out of order keys.\\\",this,e,r,o),t=!1;break}o=r}if(void 0!==r&&Bl(r))for(let e=0,n=r.length;e!==n;++e){const n=r[e];if(isNaN(n)){console.error(\\\"THREE.KeyframeTrack: Value is not a valid number.\\\",this,e,n),t=!1;break}}return t}optimize(){const t=Dl(this.times),e=Dl(this.values),n=this.getValueSize(),r=this.getInterpolation()===et,i=t.length-1;let o=1;for(let a=1;a<i;++a){let i=!1;const s=t[a];if(s!==t[a+1]&&(1!==a||s!==t[0]))if(r)i=!0;else{const t=a*n,r=t-n,o=t+n;for(let a=0;a!==n;++a){const n=e[t+a];if(n!==e[r+a]||n!==e[o+a]){i=!0;break}}}if(i){if(a!==o){t[o]=t[a];const r=a*n,i=o*n;for(let t=0;t!==n;++t)e[i+t]=e[r+t]}++o}}if(i>0){t[o]=t[i];for(let t=i*n,r=o*n,a=0;a!==n;++a)e[r+a]=e[t+a];++o}return o!==t.length?(this.times=Dl(t,0,o),this.values=Dl(e,0,o*n)):(this.times=t,this.values=e),this}clone(){const t=Dl(this.times,0),e=Dl(this.values,0),n=new(0,this.constructor)(this.name,t,e);return n.createInterpolant=this.createInterpolant,n}}Wl.prototype.TimeBufferType=Float32Array,Wl.prototype.ValueBufferType=Float32Array,Wl.prototype.DefaultInterpolation=tt;class Xl extends Wl{}Xl.prototype.ValueTypeName=\\\"bool\\\",Xl.prototype.ValueBufferType=Array,Xl.prototype.DefaultInterpolation=Q,Xl.prototype.InterpolantFactoryMethodLinear=void 0,Xl.prototype.InterpolantFactoryMethodSmooth=void 0;class Yl extends Wl{}Yl.prototype.ValueTypeName=\\\"color\\\";class Zl extends Wl{}Zl.prototype.ValueTypeName=\\\"number\\\";class Kl extends ql{constructor(t,e,n,r){super(t,e,n,r)}interpolate_(t,e,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=(n-e)/(r-e);let l=t*a;for(let t=l+a;l!==t;l+=4)te.slerpFlat(i,0,o,l-a,o,l,s);return i}}class Jl extends Wl{InterpolantFactoryMethodLinear(t){return new Kl(this.times,this.values,this.getValueSize(),t)}}Jl.prototype.ValueTypeName=\\\"quaternion\\\",Jl.prototype.DefaultInterpolation=tt,Jl.prototype.InterpolantFactoryMethodSmooth=void 0;class Ql extends Wl{}Ql.prototype.ValueTypeName=\\\"string\\\",Ql.prototype.ValueBufferType=Array,Ql.prototype.DefaultInterpolation=Q,Ql.prototype.InterpolantFactoryMethodLinear=void 0,Ql.prototype.InterpolantFactoryMethodSmooth=void 0;class tu extends Wl{}tu.prototype.ValueTypeName=\\\"vector\\\";class eu{constructor(t,e=-1,n,r=2500){this.name=t,this.tracks=n,this.duration=e,this.blendMode=r,this.uuid=_t(),this.duration<0&&this.resetDuration()}static parse(t){const e=[],n=t.tracks,r=1/(t.fps||1);for(let t=0,i=n.length;t!==i;++t)e.push(nu(n[t]).scale(r));const i=new this(t.name,t.duration,e,t.blendMode);return i.uuid=t.uuid,i}static toJSON(t){const e=[],n=t.tracks,r={name:t.name,duration:t.duration,tracks:e,uuid:t.uuid,blendMode:t.blendMode};for(let t=0,r=n.length;t!==r;++t)e.push(Wl.toJSON(n[t]));return r}static CreateFromMorphTargetSequence(t,e,n,r){const i=e.length,o=[];for(let t=0;t<i;t++){let a=[],s=[];a.push((t+i-1)%i,t,(t+1)%i),s.push(0,1,0);const l=Nl(a);a=Fl(a,1,l),s=Fl(s,1,l),r||0!==a[0]||(a.push(i),s.push(s[0])),o.push(new Zl(\\\".morphTargetInfluences[\\\"+e[t].name+\\\"]\\\",a,s).scale(1/n))}return new this(t,-1,o)}static findByName(t,e){let n=t;if(!Array.isArray(t)){const e=t;n=e.geometry&&e.geometry.animations||e.animations}for(let t=0;t<n.length;t++)if(n[t].name===e)return n[t];return null}static CreateClipsFromMorphTargetSequences(t,e,n){const r={},i=/^([\\\\w-]*?)([\\\\d]+)$/;for(let e=0,n=t.length;e<n;e++){const n=t[e],o=n.name.match(i);if(o&&o.length>1){const t=o[1];let e=r[t];e||(r[t]=e=[]),e.push(n)}}const o=[];for(const t in r)o.push(this.CreateFromMorphTargetSequence(t,r[t],e,n));return o}static parseAnimation(t,e){if(!t)return console.error(\\\"THREE.AnimationClip: No animation in JSONLoader data.\\\"),null;const n=function(t,e,n,r,i){if(0!==n.length){const o=[],a=[];jl(n,o,a,r),0!==o.length&&i.push(new t(e,o,a))}},r=[],i=t.name||\\\"default\\\",o=t.fps||30,a=t.blendMode;let s=t.length||-1;const l=t.hierarchy||[];for(let t=0;t<l.length;t++){const i=l[t].keys;if(i&&0!==i.length)if(i[0].morphTargets){const t={};let e;for(e=0;e<i.length;e++)if(i[e].morphTargets)for(let n=0;n<i[e].morphTargets.length;n++)t[i[e].morphTargets[n]]=-1;for(const n in t){const t=[],o=[];for(let r=0;r!==i[e].morphTargets.length;++r){const r=i[e];t.push(r.time),o.push(r.morphTarget===n?1:0)}r.push(new Zl(\\\".morphTargetInfluence[\\\"+n+\\\"]\\\",t,o))}s=t.length*o}else{const o=\\\".bones[\\\"+e[t].name+\\\"]\\\";n(tu,o+\\\".position\\\",i,\\\"pos\\\",r),n(Jl,o+\\\".quaternion\\\",i,\\\"rot\\\",r),n(tu,o+\\\".scale\\\",i,\\\"scl\\\",r)}}return 0===r.length?null:new this(i,s,r,a)}resetDuration(){let t=0;for(let e=0,n=this.tracks.length;e!==n;++e){const n=this.tracks[e];t=Math.max(t,n.times[n.times.length-1])}return this.duration=t,this}trim(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].trim(0,this.duration);return this}validate(){let t=!0;for(let e=0;e<this.tracks.length;e++)t=t&&this.tracks[e].validate();return t}optimize(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].optimize();return this}clone(){const t=[];for(let e=0;e<this.tracks.length;e++)t.push(this.tracks[e].clone());return new this.constructor(this.name,this.duration,t,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function nu(t){if(void 0===t.type)throw new Error(\\\"THREE.KeyframeTrack: track type undefined, can not parse\\\");const e=function(t){switch(t.toLowerCase()){case\\\"scalar\\\":case\\\"double\\\":case\\\"float\\\":case\\\"number\\\":case\\\"integer\\\":return Zl;case\\\"vector\\\":case\\\"vector2\\\":case\\\"vector3\\\":case\\\"vector4\\\":return tu;case\\\"color\\\":return Yl;case\\\"quaternion\\\":return Jl;case\\\"bool\\\":case\\\"boolean\\\":return Xl;case\\\"string\\\":return Ql}throw new Error(\\\"THREE.KeyframeTrack: Unsupported typeName: \\\"+t)}(t.type);if(void 0===t.times){const e=[],n=[];jl(t.keys,e,n,\\\"value\\\"),t.times=e,t.values=n}return void 0!==e.parse?e.parse(t):new e(t.name,t.times,t.values,t.interpolation)}const ru={enabled:!1,files:{},add:function(t,e){!1!==this.enabled&&(this.files[t]=e)},get:function(t){if(!1!==this.enabled)return this.files[t]},remove:function(t){delete this.files[t]},clear:function(){this.files={}}};class iu{constructor(t,e,n){const r=this;let i,o=!1,a=0,s=0;const l=[];this.onStart=void 0,this.onLoad=t,this.onProgress=e,this.onError=n,this.itemStart=function(t){s++,!1===o&&void 0!==r.onStart&&r.onStart(t,a,s),o=!0},this.itemEnd=function(t){a++,void 0!==r.onProgress&&r.onProgress(t,a,s),a===s&&(o=!1,void 0!==r.onLoad&&r.onLoad())},this.itemError=function(t){void 0!==r.onError&&r.onError(t)},this.resolveURL=function(t){return i?i(t):t},this.setURLModifier=function(t){return i=t,this},this.addHandler=function(t,e){return l.push(t,e),this},this.removeHandler=function(t){const e=l.indexOf(t);return-1!==e&&l.splice(e,2),this},this.getHandler=function(t){for(let e=0,n=l.length;e<n;e+=2){const n=l[e],r=l[e+1];if(n.global&&(n.lastIndex=0),n.test(t))return r}return null}}}const ou=new iu;class au{constructor(t){this.manager=void 0!==t?t:ou,this.crossOrigin=\\\"anonymous\\\",this.withCredentials=!1,this.path=\\\"\\\",this.resourcePath=\\\"\\\",this.requestHeader={}}load(){}loadAsync(t,e){const n=this;return new Promise((function(r,i){n.load(t,r,e,i)}))}parse(){}setCrossOrigin(t){return this.crossOrigin=t,this}setWithCredentials(t){return this.withCredentials=t,this}setPath(t){return this.path=t,this}setResourcePath(t){return this.resourcePath=t,this}setRequestHeader(t){return this.requestHeader=t,this}}const su={};class lu extends Error{constructor(t,e){super(t),this.response=e}}class uu extends au{constructor(t){super(t)}load(t,e,n,r){void 0===t&&(t=\\\"\\\"),void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const i=ru.get(t);if(void 0!==i)return this.manager.itemStart(t),setTimeout((()=>{e&&e(i),this.manager.itemEnd(t)}),0),i;if(void 0!==su[t])return void su[t].push({onLoad:e,onProgress:n,onError:r});su[t]=[],su[t].push({onLoad:e,onProgress:n,onError:r});const o=new Request(t,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?\\\"include\\\":\\\"same-origin\\\"}),a=this.mimeType,s=this.responseType;fetch(o).then((e=>{if(200===e.status||0===e.status){if(0===e.status&&console.warn(\\\"THREE.FileLoader: HTTP Status 0 received.\\\"),\\\"undefined\\\"==typeof ReadableStream||void 0===e.body||void 0===e.body.getReader)return e;const n=su[t],r=e.body.getReader(),i=e.headers.get(\\\"Content-Length\\\"),o=i?parseInt(i):0,a=0!==o;let s=0;const l=new ReadableStream({start(t){!function e(){r.read().then((({done:r,value:i})=>{if(r)t.close();else{s+=i.byteLength;const r=new ProgressEvent(\\\"progress\\\",{lengthComputable:a,loaded:s,total:o});for(let t=0,e=n.length;t<e;t++){const e=n[t];e.onProgress&&e.onProgress(r)}t.enqueue(i),e()}}))}()}});return new Response(l)}throw new lu(`fetch for \\\"${e.url}\\\" responded with ${e.status}: ${e.statusText}`,e)})).then((t=>{switch(s){case\\\"arraybuffer\\\":return t.arrayBuffer();case\\\"blob\\\":return t.blob();case\\\"document\\\":return t.text().then((t=>(new DOMParser).parseFromString(t,a)));case\\\"json\\\":return t.json();default:if(void 0===a)return t.text();{const e=/charset=\\\"?([^;\\\"\\\\s]*)\\\"?/i.exec(a),n=e&&e[1]?e[1].toLowerCase():void 0,r=new TextDecoder(n);return t.arrayBuffer().then((t=>r.decode(t)))}}})).then((e=>{ru.add(t,e);const n=su[t];delete su[t];for(let t=0,r=n.length;t<r;t++){const r=n[t];r.onLoad&&r.onLoad(e)}})).catch((e=>{const n=su[t];if(void 0===n)throw this.manager.itemError(t),e;delete su[t];for(let t=0,r=n.length;t<r;t++){const r=n[t];r.onError&&r.onError(e)}this.manager.itemError(t)})).finally((()=>{this.manager.itemEnd(t)})),this.manager.itemStart(t)}setResponseType(t){return this.responseType=t,this}setMimeType(t){return this.mimeType=t,this}}class cu extends au{constructor(t){super(t)}load(t,e,n,r){void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const i=this,o=ru.get(t);if(void 0!==o)return i.manager.itemStart(t),setTimeout((function(){e&&e(o),i.manager.itemEnd(t)}),0),o;const a=Lt(\\\"img\\\");function s(){u(),ru.add(t,this),e&&e(this),i.manager.itemEnd(t)}function l(e){u(),r&&r(e),i.manager.itemError(t),i.manager.itemEnd(t)}function u(){a.removeEventListener(\\\"load\\\",s,!1),a.removeEventListener(\\\"error\\\",l,!1)}return a.addEventListener(\\\"load\\\",s,!1),a.addEventListener(\\\"error\\\",l,!1),\\\"data:\\\"!==t.slice(0,5)&&void 0!==this.crossOrigin&&(a.crossOrigin=this.crossOrigin),i.manager.itemStart(t),a.src=t,a}}class hu extends rn{constructor(t,e=1){super(),this.isLight=!0,this.type=\\\"Light\\\",this.color=new qt(t),this.intensity=e}dispose(){}copy(t,e){return super.copy(t,e),this.color.copy(t.color),this.intensity=t.intensity,this}toJSON(t){const e=super.toJSON(t);return e.object.color=this.color.getHex(),e.object.intensity=this.intensity,void 0!==this.groundColor&&(e.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(e.object.distance=this.distance),void 0!==this.angle&&(e.object.angle=this.angle),void 0!==this.decay&&(e.object.decay=this.decay),void 0!==this.penumbra&&(e.object.penumbra=this.penumbra),void 0!==this.shadow&&(e.object.shadow=this.shadow.toJSON()),e}}class pu extends hu{constructor(t,e,n){super(t,n),this.isHemisphereLight=!0,this.type=\\\"HemisphereLight\\\",this.position.copy(rn.DefaultUp),this.updateMatrix(),this.groundColor=new qt(e)}copy(t,e){return super.copy(t,e),this.groundColor.copy(t.groundColor),this}}const fu=new Le,du=new ee,mu=new ee;class vu{constructor(t){this.camera=t,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new Tt(512,512),this.map=null,this.mapPass=null,this.matrix=new Le,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new mr,this._frameExtents=new Tt(1,1),this._viewportCount=1,this._viewports=[new Zt(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(t){const e=this.camera,n=this.matrix;du.setFromMatrixPosition(t.matrixWorld),e.position.copy(du),mu.setFromMatrixPosition(t.target.matrixWorld),e.lookAt(mu),e.updateMatrixWorld(),fu.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._frustum.setFromProjectionMatrix(fu),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(e.projectionMatrix),n.multiply(e.matrixWorldInverse)}getViewport(t){return this._viewports[t]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(t){return this.camera=t.camera.clone(),this.bias=t.bias,this.radius=t.radius,this.mapSize.copy(t.mapSize),this}clone(){return(new this.constructor).copy(this)}toJSON(){const t={};return 0!==this.bias&&(t.bias=this.bias),0!==this.normalBias&&(t.normalBias=this.normalBias),1!==this.radius&&(t.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(t.mapSize=this.mapSize.toArray()),t.camera=this.camera.toJSON(!1).object,delete t.camera.matrix,t}}class gu extends vu{constructor(){super(new ir(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(t){const e=this.camera,n=2*yt*t.angle*this.focus,r=this.mapSize.width/this.mapSize.height,i=t.distance||e.far;n===e.fov&&r===e.aspect&&i===e.far||(e.fov=n,e.aspect=r,e.far=i,e.updateProjectionMatrix()),super.updateMatrices(t)}copy(t){return super.copy(t),this.focus=t.focus,this}}class yu extends hu{constructor(t,e,n=0,r=Math.PI/3,i=0,o=1){super(t,e),this.isSpotLight=!0,this.type=\\\"SpotLight\\\",this.position.copy(rn.DefaultUp),this.updateMatrix(),this.target=new rn,this.distance=n,this.angle=r,this.penumbra=i,this.decay=o,this.shadow=new gu}get power(){return this.intensity*Math.PI}set power(t){this.intensity=t/Math.PI}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.angle=t.angle,this.penumbra=t.penumbra,this.decay=t.decay,this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}const _u=new Le,bu=new ee,xu=new ee;class wu extends vu{constructor(){super(new ir(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new Tt(4,2),this._viewportCount=6,this._viewports=[new Zt(2,1,1,1),new Zt(0,1,1,1),new Zt(3,1,1,1),new Zt(1,1,1,1),new Zt(3,0,1,1),new Zt(1,0,1,1)],this._cubeDirections=[new ee(1,0,0),new ee(-1,0,0),new ee(0,0,1),new ee(0,0,-1),new ee(0,1,0),new ee(0,-1,0)],this._cubeUps=[new ee(0,1,0),new ee(0,1,0),new ee(0,1,0),new ee(0,1,0),new ee(0,0,1),new ee(0,0,-1)]}updateMatrices(t,e=0){const n=this.camera,r=this.matrix,i=t.distance||n.far;i!==n.far&&(n.far=i,n.updateProjectionMatrix()),bu.setFromMatrixPosition(t.matrixWorld),n.position.copy(bu),xu.copy(n.position),xu.add(this._cubeDirections[e]),n.up.copy(this._cubeUps[e]),n.lookAt(xu),n.updateMatrixWorld(),r.makeTranslation(-bu.x,-bu.y,-bu.z),_u.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(_u)}}class Au extends hu{constructor(t,e,n=0,r=1){super(t,e),this.isPointLight=!0,this.type=\\\"PointLight\\\",this.distance=n,this.decay=r,this.shadow=new wu}get power(){return 4*this.intensity*Math.PI}set power(t){this.intensity=t/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.decay=t.decay,this.shadow=t.shadow.clone(),this}}class Cu extends vu{constructor(){super(new Sr(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class Mu extends hu{constructor(t,e){super(t,e),this.isDirectionalLight=!0,this.type=\\\"DirectionalLight\\\",this.position.copy(rn.DefaultUp),this.updateMatrix(),this.target=new rn,this.shadow=new Cu}dispose(){this.shadow.dispose()}copy(t){return super.copy(t),this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}class Eu extends hu{constructor(t,e){super(t,e),this.isAmbientLight=!0,this.type=\\\"AmbientLight\\\"}}class Tu extends hu{constructor(t,e,n=10,r=10){super(t,e),this.isRectAreaLight=!0,this.type=\\\"RectAreaLight\\\",this.width=n,this.height=r}get power(){return this.intensity*this.width*this.height*Math.PI}set power(t){this.intensity=t/(this.width*this.height*Math.PI)}copy(t){return super.copy(t),this.width=t.width,this.height=t.height,this}toJSON(t){const e=super.toJSON(t);return e.object.width=this.width,e.object.height=this.height,e}}class Su{constructor(){this.isSphericalHarmonics3=!0,this.coefficients=[];for(let t=0;t<9;t++)this.coefficients.push(new ee)}set(t){for(let e=0;e<9;e++)this.coefficients[e].copy(t[e]);return this}zero(){for(let t=0;t<9;t++)this.coefficients[t].set(0,0,0);return this}getAt(t,e){const n=t.x,r=t.y,i=t.z,o=this.coefficients;return e.copy(o[0]).multiplyScalar(.282095),e.addScaledVector(o[1],.488603*r),e.addScaledVector(o[2],.488603*i),e.addScaledVector(o[3],.488603*n),e.addScaledVector(o[4],n*r*1.092548),e.addScaledVector(o[5],r*i*1.092548),e.addScaledVector(o[6],.315392*(3*i*i-1)),e.addScaledVector(o[7],n*i*1.092548),e.addScaledVector(o[8],.546274*(n*n-r*r)),e}getIrradianceAt(t,e){const n=t.x,r=t.y,i=t.z,o=this.coefficients;return e.copy(o[0]).multiplyScalar(.886227),e.addScaledVector(o[1],1.023328*r),e.addScaledVector(o[2],1.023328*i),e.addScaledVector(o[3],1.023328*n),e.addScaledVector(o[4],.858086*n*r),e.addScaledVector(o[5],.858086*r*i),e.addScaledVector(o[6],.743125*i*i-.247708),e.addScaledVector(o[7],.858086*n*i),e.addScaledVector(o[8],.429043*(n*n-r*r)),e}add(t){for(let e=0;e<9;e++)this.coefficients[e].add(t.coefficients[e]);return this}addScaledSH(t,e){for(let n=0;n<9;n++)this.coefficients[n].addScaledVector(t.coefficients[n],e);return this}scale(t){for(let e=0;e<9;e++)this.coefficients[e].multiplyScalar(t);return this}lerp(t,e){for(let n=0;n<9;n++)this.coefficients[n].lerp(t.coefficients[n],e);return this}equals(t){for(let e=0;e<9;e++)if(!this.coefficients[e].equals(t.coefficients[e]))return!1;return!0}copy(t){return this.set(t.coefficients)}clone(){return(new this.constructor).copy(this)}fromArray(t,e=0){const n=this.coefficients;for(let r=0;r<9;r++)n[r].fromArray(t,e+3*r);return this}toArray(t=[],e=0){const n=this.coefficients;for(let r=0;r<9;r++)n[r].toArray(t,e+3*r);return t}static getBasisAt(t,e){const n=t.x,r=t.y,i=t.z;e[0]=.282095,e[1]=.488603*r,e[2]=.488603*i,e[3]=.488603*n,e[4]=1.092548*n*r,e[5]=1.092548*r*i,e[6]=.315392*(3*i*i-1),e[7]=1.092548*n*i,e[8]=.546274*(n*n-r*r)}}class ku extends hu{constructor(t=new Su,e=1){super(void 0,e),this.isLightProbe=!0,this.sh=t}copy(t){return super.copy(t),this.sh.copy(t.sh),this}fromJSON(t){return this.intensity=t.intensity,this.sh.fromArray(t.sh),this}toJSON(t){const e=super.toJSON(t);return e.object.sh=this.sh.toArray(),e}}class Ou extends au{constructor(t){super(t),this.textures={}}load(t,e,n,r){const i=this,o=new uu(i.manager);o.setPath(i.path),o.setRequestHeader(i.requestHeader),o.setWithCredentials(i.withCredentials),o.load(t,(function(n){try{e(i.parse(JSON.parse(n)))}catch(e){r?r(e):console.error(e),i.manager.itemError(t)}}),n,r)}parse(t){const e=this.textures;function n(t){return void 0===e[t]&&console.warn(\\\"THREE.MaterialLoader: Undefined texture\\\",t),e[t]}const r=Ou.createMaterialFromType(t.type);if(void 0!==t.uuid&&(r.uuid=t.uuid),void 0!==t.name&&(r.name=t.name),void 0!==t.color&&void 0!==r.color&&r.color.setHex(t.color),void 0!==t.roughness&&(r.roughness=t.roughness),void 0!==t.metalness&&(r.metalness=t.metalness),void 0!==t.sheen&&(r.sheen=t.sheen),void 0!==t.sheenColor&&(r.sheenColor=(new qt).setHex(t.sheenColor)),void 0!==t.sheenRoughness&&(r.sheenRoughness=t.sheenRoughness),void 0!==t.emissive&&void 0!==r.emissive&&r.emissive.setHex(t.emissive),void 0!==t.specular&&void 0!==r.specular&&r.specular.setHex(t.specular),void 0!==t.specularIntensity&&(r.specularIntensity=t.specularIntensity),void 0!==t.specularColor&&void 0!==r.specularColor&&r.specularColor.setHex(t.specularColor),void 0!==t.shininess&&(r.shininess=t.shininess),void 0!==t.clearcoat&&(r.clearcoat=t.clearcoat),void 0!==t.clearcoatRoughness&&(r.clearcoatRoughness=t.clearcoatRoughness),void 0!==t.iridescence&&(r.iridescence=t.iridescence),void 0!==t.iridescenceIOR&&(r.iridescenceIOR=t.iridescenceIOR),void 0!==t.iridescenceThicknessRange&&(r.iridescenceThicknessRange=t.iridescenceThicknessRange),void 0!==t.transmission&&(r.transmission=t.transmission),void 0!==t.thickness&&(r.thickness=t.thickness),void 0!==t.attenuationDistance&&(r.attenuationDistance=t.attenuationDistance),void 0!==t.attenuationColor&&void 0!==r.attenuationColor&&r.attenuationColor.setHex(t.attenuationColor),void 0!==t.fog&&(r.fog=t.fog),void 0!==t.flatShading&&(r.flatShading=t.flatShading),void 0!==t.blending&&(r.blending=t.blending),void 0!==t.combine&&(r.combine=t.combine),void 0!==t.side&&(r.side=t.side),void 0!==t.shadowSide&&(r.shadowSide=t.shadowSide),void 0!==t.opacity&&(r.opacity=t.opacity),void 0!==t.transparent&&(r.transparent=t.transparent),void 0!==t.alphaTest&&(r.alphaTest=t.alphaTest),void 0!==t.depthTest&&(r.depthTest=t.depthTest),void 0!==t.depthWrite&&(r.depthWrite=t.depthWrite),void 0!==t.colorWrite&&(r.colorWrite=t.colorWrite),void 0!==t.stencilWrite&&(r.stencilWrite=t.stencilWrite),void 0!==t.stencilWriteMask&&(r.stencilWriteMask=t.stencilWriteMask),void 0!==t.stencilFunc&&(r.stencilFunc=t.stencilFunc),void 0!==t.stencilRef&&(r.stencilRef=t.stencilRef),void 0!==t.stencilFuncMask&&(r.stencilFuncMask=t.stencilFuncMask),void 0!==t.stencilFail&&(r.stencilFail=t.stencilFail),void 0!==t.stencilZFail&&(r.stencilZFail=t.stencilZFail),void 0!==t.stencilZPass&&(r.stencilZPass=t.stencilZPass),void 0!==t.wireframe&&(r.wireframe=t.wireframe),void 0!==t.wireframeLinewidth&&(r.wireframeLinewidth=t.wireframeLinewidth),void 0!==t.wireframeLinecap&&(r.wireframeLinecap=t.wireframeLinecap),void 0!==t.wireframeLinejoin&&(r.wireframeLinejoin=t.wireframeLinejoin),void 0!==t.rotation&&(r.rotation=t.rotation),1!==t.linewidth&&(r.linewidth=t.linewidth),void 0!==t.dashSize&&(r.dashSize=t.dashSize),void 0!==t.gapSize&&(r.gapSize=t.gapSize),void 0!==t.scale&&(r.scale=t.scale),void 0!==t.polygonOffset&&(r.polygonOffset=t.polygonOffset),void 0!==t.polygonOffsetFactor&&(r.polygonOffsetFactor=t.polygonOffsetFactor),void 0!==t.polygonOffsetUnits&&(r.polygonOffsetUnits=t.polygonOffsetUnits),void 0!==t.dithering&&(r.dithering=t.dithering),void 0!==t.alphaToCoverage&&(r.alphaToCoverage=t.alphaToCoverage),void 0!==t.premultipliedAlpha&&(r.premultipliedAlpha=t.premultipliedAlpha),void 0!==t.visible&&(r.visible=t.visible),void 0!==t.toneMapped&&(r.toneMapped=t.toneMapped),void 0!==t.userData&&(r.userData=t.userData),void 0!==t.vertexColors&&(\\\"number\\\"==typeof t.vertexColors?r.vertexColors=t.vertexColors>0:r.vertexColors=t.vertexColors),void 0!==t.uniforms)for(const e in t.uniforms){const i=t.uniforms[e];switch(r.uniforms[e]={},i.type){case\\\"t\\\":r.uniforms[e].value=n(i.value);break;case\\\"c\\\":r.uniforms[e].value=(new qt).setHex(i.value);break;case\\\"v2\\\":r.uniforms[e].value=(new Tt).fromArray(i.value);break;case\\\"v3\\\":r.uniforms[e].value=(new ee).fromArray(i.value);break;case\\\"v4\\\":r.uniforms[e].value=(new Zt).fromArray(i.value);break;case\\\"m3\\\":r.uniforms[e].value=(new St).fromArray(i.value);break;case\\\"m4\\\":r.uniforms[e].value=(new Le).fromArray(i.value);break;default:r.uniforms[e].value=i.value}}if(void 0!==t.defines&&(r.defines=t.defines),void 0!==t.vertexShader&&(r.vertexShader=t.vertexShader),void 0!==t.fragmentShader&&(r.fragmentShader=t.fragmentShader),void 0!==t.extensions)for(const e in t.extensions)r.extensions[e]=t.extensions[e];if(void 0!==t.shading&&(r.flatShading=1===t.shading),void 0!==t.size&&(r.size=t.size),void 0!==t.sizeAttenuation&&(r.sizeAttenuation=t.sizeAttenuation),void 0!==t.map&&(r.map=n(t.map)),void 0!==t.matcap&&(r.matcap=n(t.matcap)),void 0!==t.alphaMap&&(r.alphaMap=n(t.alphaMap)),void 0!==t.bumpMap&&(r.bumpMap=n(t.bumpMap)),void 0!==t.bumpScale&&(r.bumpScale=t.bumpScale),void 0!==t.normalMap&&(r.normalMap=n(t.normalMap)),void 0!==t.normalMapType&&(r.normalMapType=t.normalMapType),void 0!==t.normalScale){let e=t.normalScale;!1===Array.isArray(e)&&(e=[e,e]),r.normalScale=(new Tt).fromArray(e)}return void 0!==t.displacementMap&&(r.displacementMap=n(t.displacementMap)),void 0!==t.displacementScale&&(r.displacementScale=t.displacementScale),void 0!==t.displacementBias&&(r.displacementBias=t.displacementBias),void 0!==t.roughnessMap&&(r.roughnessMap=n(t.roughnessMap)),void 0!==t.metalnessMap&&(r.metalnessMap=n(t.metalnessMap)),void 0!==t.emissiveMap&&(r.emissiveMap=n(t.emissiveMap)),void 0!==t.emissiveIntensity&&(r.emissiveIntensity=t.emissiveIntensity),void 0!==t.specularMap&&(r.specularMap=n(t.specularMap)),void 0!==t.specularIntensityMap&&(r.specularIntensityMap=n(t.specularIntensityMap)),void 0!==t.specularColorMap&&(r.specularColorMap=n(t.specularColorMap)),void 0!==t.envMap&&(r.envMap=n(t.envMap)),void 0!==t.envMapIntensity&&(r.envMapIntensity=t.envMapIntensity),void 0!==t.reflectivity&&(r.reflectivity=t.reflectivity),void 0!==t.refractionRatio&&(r.refractionRatio=t.refractionRatio),void 0!==t.lightMap&&(r.lightMap=n(t.lightMap)),void 0!==t.lightMapIntensity&&(r.lightMapIntensity=t.lightMapIntensity),void 0!==t.aoMap&&(r.aoMap=n(t.aoMap)),void 0!==t.aoMapIntensity&&(r.aoMapIntensity=t.aoMapIntensity),void 0!==t.gradientMap&&(r.gradientMap=n(t.gradientMap)),void 0!==t.clearcoatMap&&(r.clearcoatMap=n(t.clearcoatMap)),void 0!==t.clearcoatRoughnessMap&&(r.clearcoatRoughnessMap=n(t.clearcoatRoughnessMap)),void 0!==t.clearcoatNormalMap&&(r.clearcoatNormalMap=n(t.clearcoatNormalMap)),void 0!==t.clearcoatNormalScale&&(r.clearcoatNormalScale=(new Tt).fromArray(t.clearcoatNormalScale)),void 0!==t.iridescenceMap&&(r.iridescenceMap=n(t.iridescenceMap)),void 0!==t.iridescenceThicknessMap&&(r.iridescenceThicknessMap=n(t.iridescenceThicknessMap)),void 0!==t.transmissionMap&&(r.transmissionMap=n(t.transmissionMap)),void 0!==t.thicknessMap&&(r.thicknessMap=n(t.thicknessMap)),void 0!==t.sheenColorMap&&(r.sheenColorMap=n(t.sheenColorMap)),void 0!==t.sheenRoughnessMap&&(r.sheenRoughnessMap=n(t.sheenRoughnessMap)),r}setTextures(t){return this.textures=t,this}static createMaterialFromType(t){return new{ShadowMaterial:El,SpriteMaterial:ra,RawShaderMaterial:Tl,ShaderMaterial:nr,PointsMaterial:Za,MeshPhysicalMaterial:kl,MeshStandardMaterial:Sl,MeshPhongMaterial:Ol,MeshToonMaterial:Il,MeshNormalMaterial:Ll,MeshLambertMaterial:Pl,MeshDepthMaterial:Ro,MeshDistanceMaterial:Do,MeshBasicMaterial:yn,MeshMatcapMaterial:zl,LineDashedMaterial:Rl,LineBasicMaterial:Na,Material:gn}[t]}}class Iu{static decodeText(t){if(\\\"undefined\\\"!=typeof TextDecoder)return(new TextDecoder).decode(t);let e=\\\"\\\";for(let n=0,r=t.length;n<r;n++)e+=String.fromCharCode(t[n]);try{return decodeURIComponent(escape(e))}catch(t){return e}}static extractUrlBase(t){const e=t.lastIndexOf(\\\"/\\\");return-1===e?\\\"./\\\":t.slice(0,e+1)}static resolveURL(t,e){return\\\"string\\\"!=typeof t||\\\"\\\"===t?\\\"\\\":(/^https?:\\\\/\\\\//i.test(e)&&/^\\\\//.test(t)&&(e=e.replace(/(^https?:\\\\/\\\\/[^\\\\/]+).*/i,\\\"$1\\\")),/^(https?:)?\\\\/\\\\//i.test(t)||/^data:.*,.*$/i.test(t)||/^blob:.*$/i.test(t)?t:e+t)}}class Lu extends Ln{constructor(){super(),this.isInstancedBufferGeometry=!0,this.type=\\\"InstancedBufferGeometry\\\",this.instanceCount=1/0}copy(t){return super.copy(t),this.instanceCount=t.instanceCount,this}clone(){return(new this.constructor).copy(this)}toJSON(){const t=super.toJSON(this);return t.instanceCount=this.instanceCount,t.isInstancedBufferGeometry=!0,t}}class Pu extends au{constructor(t){super(t)}load(t,e,n,r){const i=this,o=new uu(i.manager);o.setPath(i.path),o.setRequestHeader(i.requestHeader),o.setWithCredentials(i.withCredentials),o.load(t,(function(n){try{e(i.parse(JSON.parse(n)))}catch(e){r?r(e):console.error(e),i.manager.itemError(t)}}),n,r)}parse(t){const e={},n={};function r(t,r){if(void 0!==e[r])return e[r];const i=t.interleavedBuffers[r],o=function(t,e){if(void 0!==n[e])return n[e];const r=t.arrayBuffers[e],i=new Uint32Array(r).buffer;return n[e]=i,i}(t,i.buffer),a=It(i.type,o),s=new ta(a,i.stride);return s.uuid=i.uuid,e[r]=s,s}const i=t.isInstancedBufferGeometry?new Lu:new Ln,o=t.data.index;if(void 0!==o){const t=It(o.type,o.array);i.setIndex(new xn(t,1))}const a=t.data.attributes;for(const e in a){const n=a[e];let o;if(n.isInterleavedBufferAttribute){const e=r(t.data,n.data);o=new na(e,n.itemSize,n.offset,n.normalized)}else{const t=It(n.type,n.array);o=new(n.isInstancedBufferAttribute?Pa:xn)(t,n.itemSize,n.normalized)}void 0!==n.name&&(o.name=n.name),void 0!==n.usage&&o.setUsage(n.usage),void 0!==n.updateRange&&(o.updateRange.offset=n.updateRange.offset,o.updateRange.count=n.updateRange.count),i.setAttribute(e,o)}const s=t.data.morphAttributes;if(s)for(const e in s){const n=s[e],o=[];for(let e=0,i=n.length;e<i;e++){const i=n[e];let a;if(i.isInterleavedBufferAttribute){const e=r(t.data,i.data);a=new na(e,i.itemSize,i.offset,i.normalized)}else{const t=It(i.type,i.array);a=new xn(t,i.itemSize,i.normalized)}void 0!==i.name&&(a.name=i.name),o.push(a)}i.morphAttributes[e]=o}t.data.morphTargetsRelative&&(i.morphTargetsRelative=!0);const l=t.data.groups||t.data.drawcalls||t.data.offsets;if(void 0!==l)for(let t=0,e=l.length;t!==e;++t){const e=l[t];i.addGroup(e.start,e.count,e.materialIndex)}const u=t.data.boundingSphere;if(void 0!==u){const t=new ee;void 0!==u.center&&t.fromArray(u.center),i.boundingSphere=new Ae(t,u.radius)}return t.name&&(i.name=t.name),t.userData&&(i.userData=t.userData),i}}const zu={UVMapping:i,CubeReflectionMapping:o,CubeRefractionMapping:a,EquirectangularReflectionMapping:s,EquirectangularRefractionMapping:l,CubeUVReflectionMapping:u},Ru={RepeatWrapping:c,ClampToEdgeWrapping:h,MirroredRepeatWrapping:p},Du={NearestFilter:f,NearestMipmapNearestFilter:d,NearestMipmapLinearFilter:m,LinearFilter:v,LinearMipmapNearestFilter:g,LinearMipmapLinearFilter:y};let $u;const Bu={getContext:function(){return void 0===$u&&($u=new(window.AudioContext||window.webkitAudioContext)),$u},setContext:function(t){$u=t}},Nu=new Le,Fu=new Le,ju=new Le;class Uu{constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=qu(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=qu();t=(e-this.oldTime)/1e3,this.oldTime=e,this.elapsedTime+=t}return t}}function qu(){return(\\\"undefined\\\"==typeof performance?Date:performance).now()}const Vu=new ee,Hu=new te,Gu=new ee,Wu=new ee;class Xu extends rn{constructor(t){super(),this.type=\\\"Audio\\\",this.listener=t,this.context=t.context,this.gain=this.context.createGain(),this.gain.connect(t.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType=\\\"empty\\\",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(t){return this.hasPlaybackControl=!1,this.sourceType=\\\"audioNode\\\",this.source=t,this.connect(),this}setMediaElementSource(t){return this.hasPlaybackControl=!1,this.sourceType=\\\"mediaNode\\\",this.source=this.context.createMediaElementSource(t),this.connect(),this}setMediaStreamSource(t){return this.hasPlaybackControl=!1,this.sourceType=\\\"mediaStreamNode\\\",this.source=this.context.createMediaStreamSource(t),this.connect(),this}setBuffer(t){return this.buffer=t,this.sourceType=\\\"buffer\\\",this.autoplay&&this.play(),this}play(t=0){if(!0===this.isPlaying)return void console.warn(\\\"THREE.Audio: Audio is already playing.\\\");if(!1===this.hasPlaybackControl)return void console.warn(\\\"THREE.Audio: this Audio has no playback control.\\\");this._startedAt=this.context.currentTime+t;const e=this.context.createBufferSource();return e.buffer=this.buffer,e.loop=this.loop,e.loopStart=this.loopStart,e.loopEnd=this.loopEnd,e.onended=this.onEnded.bind(this),e.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=e,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(!1!==this.hasPlaybackControl)return!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this;console.warn(\\\"THREE.Audio: this Audio has no playback control.\\\")}stop(){if(!1!==this.hasPlaybackControl)return this._progress=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this;console.warn(\\\"THREE.Audio: this Audio has no playback control.\\\")}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let t=1,e=this.filters.length;t<e;t++)this.filters[t-1].connect(this.filters[t]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}disconnect(){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(let t=1,e=this.filters.length;t<e;t++)this.filters[t-1].disconnect(this.filters[t]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}getFilters(){return this.filters}setFilters(t){return t||(t=[]),!0===this._connected?(this.disconnect(),this.filters=t.slice(),this.connect()):this.filters=t.slice(),this}setDetune(t){if(this.detune=t,void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}getDetune(){return this.detune}getFilter(){return this.getFilters()[0]}setFilter(t){return this.setFilters(t?[t]:[])}setPlaybackRate(t){if(!1!==this.hasPlaybackControl)return this.playbackRate=t,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this;console.warn(\\\"THREE.Audio: this Audio has no playback control.\\\")}getPlaybackRate(){return this.playbackRate}onEnded(){this.isPlaying=!1}getLoop(){return!1===this.hasPlaybackControl?(console.warn(\\\"THREE.Audio: this Audio has no playback control.\\\"),!1):this.loop}setLoop(t){if(!1!==this.hasPlaybackControl)return this.loop=t,!0===this.isPlaying&&(this.source.loop=this.loop),this;console.warn(\\\"THREE.Audio: this Audio has no playback control.\\\")}setLoopStart(t){return this.loopStart=t,this}setLoopEnd(t){return this.loopEnd=t,this}getVolume(){return this.gain.gain.value}setVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}}const Yu=new ee,Zu=new te,Ku=new ee,Ju=new ee;class Qu{constructor(t,e,n){let r,i,o;switch(this.binding=t,this.valueSize=n,e){case\\\"quaternion\\\":r=this._slerp,i=this._slerpAdditive,o=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(6*n),this._workIndex=5;break;case\\\"string\\\":case\\\"bool\\\":r=this._select,i=this._select,o=this._setAdditiveIdentityOther,this.buffer=new Array(5*n);break;default:r=this._lerp,i=this._lerpAdditive,o=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*n)}this._mixBufferRegion=r,this._mixBufferRegionAdditive=i,this._setIdentity=o,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}accumulate(t,e){const n=this.buffer,r=this.valueSize,i=t*r+r;let o=this.cumulativeWeight;if(0===o){for(let t=0;t!==r;++t)n[i+t]=n[t];o=e}else{o+=e;const t=e/o;this._mixBufferRegion(n,i,0,t,r)}this.cumulativeWeight=o}accumulateAdditive(t){const e=this.buffer,n=this.valueSize,r=n*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity(),this._mixBufferRegionAdditive(e,r,0,t,n),this.cumulativeWeightAdditive+=t}apply(t){const e=this.valueSize,n=this.buffer,r=t*e+e,i=this.cumulativeWeight,o=this.cumulativeWeightAdditive,a=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,i<1){const t=e*this._origIndex;this._mixBufferRegion(n,r,t,1-i,e)}o>0&&this._mixBufferRegionAdditive(n,r,this._addIndex*e,1,e);for(let t=e,i=e+e;t!==i;++t)if(n[t]!==n[t+e]){a.setValue(n,r);break}}saveOriginalState(){const t=this.binding,e=this.buffer,n=this.valueSize,r=n*this._origIndex;t.getValue(e,r);for(let t=n,i=r;t!==i;++t)e[t]=e[r+t%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const t=3*this.valueSize;this.binding.setValue(this.buffer,t)}_setAdditiveIdentityNumeric(){const t=this._addIndex*this.valueSize,e=t+this.valueSize;for(let n=t;n<e;n++)this.buffer[n]=0}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){const t=this._origIndex*this.valueSize,e=this._addIndex*this.valueSize;for(let n=0;n<this.valueSize;n++)this.buffer[e+n]=this.buffer[t+n]}_select(t,e,n,r,i){if(r>=.5)for(let r=0;r!==i;++r)t[e+r]=t[n+r]}_slerp(t,e,n,r){te.slerpFlat(t,e,t,e,t,n,r)}_slerpAdditive(t,e,n,r,i){const o=this._workIndex*i;te.multiplyQuaternionsFlat(t,o,t,e,t,n),te.slerpFlat(t,e,t,e,t,o,r)}_lerp(t,e,n,r,i){const o=1-r;for(let a=0;a!==i;++a){const i=e+a;t[i]=t[i]*o+t[n+a]*r}}_lerpAdditive(t,e,n,r,i){for(let o=0;o!==i;++o){const i=e+o;t[i]=t[i]+t[n+o]*r}}}const tc=new RegExp(\\\"[\\\\\\\\[\\\\\\\\]\\\\\\\\.:\\\\\\\\/]\\\",\\\"g\\\"),ec=\\\"[^\\\\\\\\[\\\\\\\\]\\\\\\\\.:\\\\\\\\/]\\\",nc=\\\"[^\\\"+\\\"\\\\\\\\[\\\\\\\\]\\\\\\\\.:\\\\\\\\/\\\".replace(\\\"\\\\\\\\.\\\",\\\"\\\")+\\\"]\\\",rc=new RegExp(\\\"^\\\"+/((?:WC+[\\\\/:])*)/.source.replace(\\\"WC\\\",ec)+/(WCOD+)?/.source.replace(\\\"WCOD\\\",nc)+/(?:\\\\.(WC+)(?:\\\\[(.+)\\\\])?)?/.source.replace(\\\"WC\\\",ec)+/\\\\.(WC+)(?:\\\\[(.+)\\\\])?/.source.replace(\\\"WC\\\",ec)+\\\"$\\\"),ic=[\\\"material\\\",\\\"materials\\\",\\\"bones\\\"];class oc{constructor(t,e,n){this.path=e,this.parsedPath=n||oc.parseTrackName(e),this.node=oc.findNode(t,this.parsedPath.nodeName)||t,this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,e,n){return t&&t.isAnimationObjectGroup?new oc.Composite(t,e,n):new oc(t,e,n)}static sanitizeNodeName(t){return t.replace(/\\\\s/g,\\\"_\\\").replace(tc,\\\"\\\")}static parseTrackName(t){const e=rc.exec(t);if(null===e)throw new Error(\\\"PropertyBinding: Cannot parse trackName: \\\"+t);const n={nodeName:e[2],objectName:e[3],objectIndex:e[4],propertyName:e[5],propertyIndex:e[6]},r=n.nodeName&&n.nodeName.lastIndexOf(\\\".\\\");if(void 0!==r&&-1!==r){const t=n.nodeName.substring(r+1);-1!==ic.indexOf(t)&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=t)}if(null===n.propertyName||0===n.propertyName.length)throw new Error(\\\"PropertyBinding: can not parse propertyName from trackName: \\\"+t);return n}static findNode(t,e){if(void 0===e||\\\"\\\"===e||\\\".\\\"===e||-1===e||e===t.name||e===t.uuid)return t;if(t.skeleton){const n=t.skeleton.getBoneByName(e);if(void 0!==n)return n}if(t.children){const n=function(t){for(let r=0;r<t.length;r++){const i=t[r];if(i.name===e||i.uuid===e)return i;const o=n(i.children);if(o)return o}return null},r=n(t.children);if(r)return r}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(t,e){t[e]=this.targetObject[this.propertyName]}_getValue_array(t,e){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)t[e++]=n[r]}_getValue_arrayElement(t,e){t[e]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(t,e){this.resolvedProperty.toArray(t,e)}_setValue_direct(t,e){this.targetObject[this.propertyName]=t[e]}_setValue_direct_setNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(t,e){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=t[e++]}_setValue_array_setNeedsUpdate(t,e){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=t[e++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(t,e){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=t[e++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(t,e){this.resolvedProperty[this.propertyIndex]=t[e]}_setValue_arrayElement_setNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(t,e){this.resolvedProperty.fromArray(t,e)}_setValue_fromArray_setNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(t,e){this.bind(),this.getValue(t,e)}_setValue_unbound(t,e){this.bind(),this.setValue(t,e)}bind(){let t=this.node;const e=this.parsedPath,n=e.objectName,r=e.propertyName;let i=e.propertyIndex;if(t||(t=oc.findNode(this.rootNode,e.nodeName)||this.rootNode,this.node=t),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!t)return void console.error(\\\"THREE.PropertyBinding: Trying to update node for track: \\\"+this.path+\\\" but it wasn't found.\\\");if(n){let r=e.objectIndex;switch(n){case\\\"materials\\\":if(!t.material)return void console.error(\\\"THREE.PropertyBinding: Can not bind to material as node does not have a material.\\\",this);if(!t.material.materials)return void console.error(\\\"THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.\\\",this);t=t.material.materials;break;case\\\"bones\\\":if(!t.skeleton)return void console.error(\\\"THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.\\\",this);t=t.skeleton.bones;for(let e=0;e<t.length;e++)if(t[e].name===r){r=e;break}break;default:if(void 0===t[n])return void console.error(\\\"THREE.PropertyBinding: Can not bind to objectName of node undefined.\\\",this);t=t[n]}if(void 0!==r){if(void 0===t[r])return void console.error(\\\"THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.\\\",this,t);t=t[r]}}const o=t[r];if(void 0===o){const n=e.nodeName;return void console.error(\\\"THREE.PropertyBinding: Trying to update property for track: \\\"+n+\\\".\\\"+r+\\\" but it wasn't found.\\\",t)}let a=this.Versioning.None;this.targetObject=t,void 0!==t.needsUpdate?a=this.Versioning.NeedsUpdate:void 0!==t.matrixWorldNeedsUpdate&&(a=this.Versioning.MatrixWorldNeedsUpdate);let s=this.BindingType.Direct;if(void 0!==i){if(\\\"morphTargetInfluences\\\"===r){if(!t.geometry)return void console.error(\\\"THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.\\\",this);if(!t.geometry.morphAttributes)return void console.error(\\\"THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.\\\",this);void 0!==t.morphTargetDictionary[i]&&(i=t.morphTargetDictionary[i])}s=this.BindingType.ArrayElement,this.resolvedProperty=o,this.propertyIndex=i}else void 0!==o.fromArray&&void 0!==o.toArray?(s=this.BindingType.HasFromToArray,this.resolvedProperty=o):Array.isArray(o)?(s=this.BindingType.EntireArray,this.resolvedProperty=o):this.propertyName=r;this.getValue=this.GetterByBindingType[s],this.setValue=this.SetterByBindingTypeAndVersioning[s][a]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}oc.Composite=class{constructor(t,e,n){const r=n||oc.parseTrackName(e);this._targetGroup=t,this._bindings=t.subscribe_(e,r)}getValue(t,e){this.bind();const n=this._targetGroup.nCachedObjects_,r=this._bindings[n];void 0!==r&&r.getValue(t,e)}setValue(t,e){const n=this._bindings;for(let r=this._targetGroup.nCachedObjects_,i=n.length;r!==i;++r)n[r].setValue(t,e)}bind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].bind()}unbind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].unbind()}},oc.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},oc.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},oc.prototype.GetterByBindingType=[oc.prototype._getValue_direct,oc.prototype._getValue_array,oc.prototype._getValue_arrayElement,oc.prototype._getValue_toArray],oc.prototype.SetterByBindingTypeAndVersioning=[[oc.prototype._setValue_direct,oc.prototype._setValue_direct_setNeedsUpdate,oc.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[oc.prototype._setValue_array,oc.prototype._setValue_array_setNeedsUpdate,oc.prototype._setValue_array_setMatrixWorldNeedsUpdate],[oc.prototype._setValue_arrayElement,oc.prototype._setValue_arrayElement_setNeedsUpdate,oc.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[oc.prototype._setValue_fromArray,oc.prototype._setValue_fromArray_setNeedsUpdate,oc.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];class ac{constructor(t,e,n=null,r=e.blendMode){this._mixer=t,this._clip=e,this._localRoot=n,this.blendMode=r;const i=e.tracks,o=i.length,a=new Array(o),s={endingStart:nt,endingEnd:nt};for(let t=0;t!==o;++t){const e=i[t].createInterpolant(null);a[t]=e,e.settings=s}this._interpolantSettings=s,this._interpolants=a,this._propertyBindings=new Array(o),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=2201,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(t){return this._startTime=t,this}setLoop(t,e){return this.loop=t,this.repetitions=e,this}setEffectiveWeight(t){return this.weight=t,this._effectiveWeight=this.enabled?t:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(t){return this._scheduleFading(t,0,1)}fadeOut(t){return this._scheduleFading(t,1,0)}crossFadeFrom(t,e,n){if(t.fadeOut(e),this.fadeIn(e),n){const n=this._clip.duration,r=t._clip.duration,i=r/n,o=n/r;t.warp(1,i,e),this.warp(o,1,e)}return this}crossFadeTo(t,e,n){return t.crossFadeFrom(this,e,n)}stopFading(){const t=this._weightInterpolant;return null!==t&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}setEffectiveTimeScale(t){return this.timeScale=t,this._effectiveTimeScale=this.paused?0:t,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(t){return this.timeScale=this._clip.duration/t,this.stopWarping()}syncWith(t){return this.time=t.time,this.timeScale=t.timeScale,this.stopWarping()}halt(t){return this.warp(this._effectiveTimeScale,0,t)}warp(t,e,n){const r=this._mixer,i=r.time,o=this.timeScale;let a=this._timeScaleInterpolant;null===a&&(a=r._lendControlInterpolant(),this._timeScaleInterpolant=a);const s=a.parameterPositions,l=a.sampleValues;return s[0]=i,s[1]=i+n,l[0]=t/o,l[1]=e/o,this}stopWarping(){const t=this._timeScaleInterpolant;return null!==t&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(t,e,n,r){if(!this.enabled)return void this._updateWeight(t);const i=this._startTime;if(null!==i){const r=(t-i)*n;if(r<0||0===n)return;this._startTime=null,e=n*r}e*=this._updateTimeScale(t);const o=this._updateTime(e),a=this._updateWeight(t);if(a>0){const t=this._interpolants,e=this._propertyBindings;if(this.blendMode===ot)for(let n=0,r=t.length;n!==r;++n)t[n].evaluate(o),e[n].accumulateAdditive(a);else for(let n=0,i=t.length;n!==i;++n)t[n].evaluate(o),e[n].accumulate(r,a)}}_updateWeight(t){let e=0;if(this.enabled){e=this.weight;const n=this._weightInterpolant;if(null!==n){const r=n.evaluate(t)[0];e*=r,t>n.parameterPositions[1]&&(this.stopFading(),0===r&&(this.enabled=!1))}}return this._effectiveWeight=e,e}_updateTimeScale(t){let e=0;if(!this.paused){e=this.timeScale;const n=this._timeScaleInterpolant;null!==n&&(e*=n.evaluate(t)[0],t>n.parameterPositions[1]&&(this.stopWarping(),0===e?this.paused=!0:this.timeScale=e))}return this._effectiveTimeScale=e,e}_updateTime(t){const e=this._clip.duration,n=this.loop;let r=this.time+t,i=this._loopCount;const o=2202===n;if(0===t)return-1===i?r:o&&1==(1&i)?e-r:r;if(2200===n){-1===i&&(this._loopCount=0,this._setEndings(!0,!0,!1));t:{if(r>=e)r=e;else{if(!(r<0)){this.time=r;break t}r=0}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=r,this._mixer.dispatchEvent({type:\\\"finished\\\",action:this,direction:t<0?-1:1})}}else{if(-1===i&&(t>=0?(i=0,this._setEndings(!0,0===this.repetitions,o)):this._setEndings(0===this.repetitions,!0,o)),r>=e||r<0){const n=Math.floor(r/e);r-=e*n,i+=Math.abs(n);const a=this.repetitions-i;if(a<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,r=t>0?e:0,this.time=r,this._mixer.dispatchEvent({type:\\\"finished\\\",action:this,direction:t>0?1:-1});else{if(1===a){const e=t<0;this._setEndings(e,!e,o)}else this._setEndings(!1,!1,o);this._loopCount=i,this.time=r,this._mixer.dispatchEvent({type:\\\"loop\\\",action:this,loopDelta:n})}}else this.time=r;if(o&&1==(1&i))return e-r}return r}_setEndings(t,e,n){const r=this._interpolantSettings;n?(r.endingStart=rt,r.endingEnd=rt):(r.endingStart=t?this.zeroSlopeAtStart?rt:nt:it,r.endingEnd=e?this.zeroSlopeAtEnd?rt:nt:it)}_scheduleFading(t,e,n){const r=this._mixer,i=r.time;let o=this._weightInterpolant;null===o&&(o=r._lendControlInterpolant(),this._weightInterpolant=o);const a=o.parameterPositions,s=o.sampleValues;return a[0]=i,s[0]=e,a[1]=i+t,s[1]=n,this}}const sc=new Float32Array(1);class lc{constructor(t){\\\"string\\\"==typeof t&&(console.warn(\\\"THREE.Uniform: Type parameter is no longer needed.\\\"),t=arguments[1]),this.value=t}clone(){return new lc(void 0===this.value.clone?this.value:this.value.clone())}}let uc=0;function cc(t,e){return t.distance-e.distance}function hc(t,e,n,r){if(t.layers.test(e.layers)&&t.raycast(e,n),!0===r){const r=t.children;for(let t=0,i=r.length;t<i;t++)hc(r[t],e,n,!0)}}const pc=new Tt,fc=new ee,dc=new ee,mc=new ee,vc=new ee,gc=new Le,yc=new Le;function _c(t){const e=[];!0===t.isBone&&e.push(t);for(let n=0;n<t.children.length;n++)e.push.apply(e,_c(t.children[n]));return e}const bc=new ee,xc=new qt,wc=new qt,Ac=new ee,Cc=new ee,Mc=new ee,Ec=new ee,Tc=new rr;function Sc(t,e,n,r,i,o,a){Ec.set(i,o,a).unproject(r);const s=e[t];if(void 0!==s){const t=n.getAttribute(\\\"position\\\");for(let e=0,n=s.length;e<n;e++)t.setXYZ(s[e],Ec.x,Ec.y,Ec.z)}}const kc=new ie,Oc=new ee;let Ic,Lc;const Pc=zc();function zc(){const t=new ArrayBuffer(4),e=new Float32Array(t),n=new Uint32Array(t),r=new Uint32Array(512),i=new Uint32Array(512);for(let t=0;t<256;++t){const e=t-127;e<-27?(r[t]=0,r[256|t]=32768,i[t]=24,i[256|t]=24):e<-14?(r[t]=1024>>-e-14,r[256|t]=1024>>-e-14|32768,i[t]=-e-1,i[256|t]=-e-1):e<=15?(r[t]=e+15<<10,r[256|t]=e+15<<10|32768,i[t]=13,i[256|t]=13):e<128?(r[t]=31744,r[256|t]=64512,i[t]=24,i[256|t]=24):(r[t]=31744,r[256|t]=64512,i[t]=13,i[256|t]=13)}const o=new Uint32Array(2048),a=new Uint32Array(64),s=new Uint32Array(64);for(let t=1;t<1024;++t){let e=t<<13,n=0;for(;0==(8388608&e);)e<<=1,n-=8388608;e&=-8388609,n+=947912704,o[t]=e|n}for(let t=1024;t<2048;++t)o[t]=939524096+(t-1024<<13);for(let t=1;t<31;++t)a[t]=t<<23;a[31]=1199570944,a[32]=2147483648;for(let t=33;t<63;++t)a[t]=2147483648+(t-32<<23);a[63]=3347054592;for(let t=1;t<64;++t)32!==t&&(s[t]=1024);return{floatView:e,uint32View:n,baseTable:r,shiftTable:i,mantissaTable:o,exponentTable:a,offsetTable:s}}var Rc=Object.freeze({__proto__:null,toHalfFloat:function(t){Math.abs(t)>65504&&console.warn(\\\"THREE.DataUtils.toHalfFloat(): Value out of range.\\\"),t=bt(t,-65504,65504),Pc.floatView[0]=t;const e=Pc.uint32View[0],n=e>>23&511;return Pc.baseTable[n]+((8388607&e)>>Pc.shiftTable[n])},fromHalfFloat:function(t){const e=t>>10;return Pc.uint32View[0]=Pc.mantissaTable[Pc.offsetTable[e]+(1023&t)]+Pc.exponentTable[e],Pc.floatView[0]}});\\\"undefined\\\"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(\\\"register\\\",{detail:{revision:n}})),\\\"undefined\\\"!=typeof window&&(window.__THREE__?console.warn(\\\"WARNING: Multiple instances of Three.js being imported.\\\"):window.__THREE__=n),e.ACESFilmicToneMapping=4,e.AddEquation=r,e.AddOperation=2,e.AdditiveAnimationBlendMode=ot,e.AdditiveBlending=2,e.AlphaFormat=1021,e.AlwaysDepth=1,e.AlwaysStencilFunc=519,e.AmbientLight=Eu,e.AmbientLightProbe=class extends ku{constructor(t,e=1){super(void 0,e),this.isAmbientLightProbe=!0;const n=(new qt).set(t);this.sh.coefficients[0].set(n.r,n.g,n.b).multiplyScalar(2*Math.sqrt(Math.PI))}},e.AnimationClip=eu,e.AnimationLoader=class extends au{constructor(t){super(t)}load(t,e,n,r){const i=this,o=new uu(this.manager);o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(t,(function(n){try{e(i.parse(JSON.parse(n)))}catch(e){r?r(e):console.error(e),i.manager.itemError(t)}}),n,r)}parse(t){const e=[];for(let n=0;n<t.length;n++){const r=eu.parse(t[n]);e.push(r)}return e}},e.AnimationMixer=class extends dt{constructor(t){super(),this._root=t,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(t,e){const n=t._localRoot||this._root,r=t._clip.tracks,i=r.length,o=t._propertyBindings,a=t._interpolants,s=n.uuid,l=this._bindingsByRootAndName;let u=l[s];void 0===u&&(u={},l[s]=u);for(let t=0;t!==i;++t){const i=r[t],l=i.name;let c=u[l];if(void 0!==c)++c.referenceCount,o[t]=c;else{if(c=o[t],void 0!==c){null===c._cacheIndex&&(++c.referenceCount,this._addInactiveBinding(c,s,l));continue}const r=e&&e._propertyBindings[t].binding.parsedPath;c=new Qu(oc.create(n,l,r),i.ValueTypeName,i.getValueSize()),++c.referenceCount,this._addInactiveBinding(c,s,l),o[t]=c}a[t].resultBuffer=c.buffer}}_activateAction(t){if(!this._isActiveAction(t)){if(null===t._cacheIndex){const e=(t._localRoot||this._root).uuid,n=t._clip.uuid,r=this._actionsByClip[n];this._bindAction(t,r&&r.knownActions[0]),this._addInactiveAction(t,n,e)}const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(t)}}_deactivateAction(t){if(this._isActiveAction(t)){const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(t)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const t=this;this.stats={actions:{get total(){return t._actions.length},get inUse(){return t._nActiveActions}},bindings:{get total(){return t._bindings.length},get inUse(){return t._nActiveBindings}},controlInterpolants:{get total(){return t._controlInterpolants.length},get inUse(){return t._nActiveControlInterpolants}}}}_isActiveAction(t){const e=t._cacheIndex;return null!==e&&e<this._nActiveActions}_addInactiveAction(t,e,n){const r=this._actions,i=this._actionsByClip;let o=i[e];if(void 0===o)o={knownActions:[t],actionByRoot:{}},t._byClipCacheIndex=0,i[e]=o;else{const e=o.knownActions;t._byClipCacheIndex=e.length,e.push(t)}t._cacheIndex=r.length,r.push(t),o.actionByRoot[n]=t}_removeInactiveAction(t){const e=this._actions,n=e[e.length-1],r=t._cacheIndex;n._cacheIndex=r,e[r]=n,e.pop(),t._cacheIndex=null;const i=t._clip.uuid,o=this._actionsByClip,a=o[i],s=a.knownActions,l=s[s.length-1],u=t._byClipCacheIndex;l._byClipCacheIndex=u,s[u]=l,s.pop(),t._byClipCacheIndex=null,delete a.actionByRoot[(t._localRoot||this._root).uuid],0===s.length&&delete o[i],this._removeInactiveBindingsForAction(t)}_removeInactiveBindingsForAction(t){const e=t._propertyBindings;for(let t=0,n=e.length;t!==n;++t){const n=e[t];0==--n.referenceCount&&this._removeInactiveBinding(n)}}_lendAction(t){const e=this._actions,n=t._cacheIndex,r=this._nActiveActions++,i=e[r];t._cacheIndex=r,e[r]=t,i._cacheIndex=n,e[n]=i}_takeBackAction(t){const e=this._actions,n=t._cacheIndex,r=--this._nActiveActions,i=e[r];t._cacheIndex=r,e[r]=t,i._cacheIndex=n,e[n]=i}_addInactiveBinding(t,e,n){const r=this._bindingsByRootAndName,i=this._bindings;let o=r[e];void 0===o&&(o={},r[e]=o),o[n]=t,t._cacheIndex=i.length,i.push(t)}_removeInactiveBinding(t){const e=this._bindings,n=t.binding,r=n.rootNode.uuid,i=n.path,o=this._bindingsByRootAndName,a=o[r],s=e[e.length-1],l=t._cacheIndex;s._cacheIndex=l,e[l]=s,e.pop(),delete a[i],0===Object.keys(a).length&&delete o[r]}_lendBinding(t){const e=this._bindings,n=t._cacheIndex,r=this._nActiveBindings++,i=e[r];t._cacheIndex=r,e[r]=t,i._cacheIndex=n,e[n]=i}_takeBackBinding(t){const e=this._bindings,n=t._cacheIndex,r=--this._nActiveBindings,i=e[r];t._cacheIndex=r,e[r]=t,i._cacheIndex=n,e[n]=i}_lendControlInterpolant(){const t=this._controlInterpolants,e=this._nActiveControlInterpolants++;let n=t[e];return void 0===n&&(n=new Hl(new Float32Array(2),new Float32Array(2),1,sc),n.__cacheIndex=e,t[e]=n),n}_takeBackControlInterpolant(t){const e=this._controlInterpolants,n=t.__cacheIndex,r=--this._nActiveControlInterpolants,i=e[r];t.__cacheIndex=r,e[r]=t,i.__cacheIndex=n,e[n]=i}clipAction(t,e,n){const r=e||this._root,i=r.uuid;let o=\\\"string\\\"==typeof t?eu.findByName(r,t):t;const a=null!==o?o.uuid:t,s=this._actionsByClip[a];let l=null;if(void 0===n&&(n=null!==o?o.blendMode:2500),void 0!==s){const t=s.actionByRoot[i];if(void 0!==t&&t.blendMode===n)return t;l=s.knownActions[0],null===o&&(o=l._clip)}if(null===o)return null;const u=new ac(this,o,e,n);return this._bindAction(u,l),this._addInactiveAction(u,a,i),u}existingAction(t,e){const n=e||this._root,r=n.uuid,i=\\\"string\\\"==typeof t?eu.findByName(n,t):t,o=i?i.uuid:t,a=this._actionsByClip[o];return void 0!==a&&a.actionByRoot[r]||null}stopAllAction(){const t=this._actions;for(let e=this._nActiveActions-1;e>=0;--e)t[e].stop();return this}update(t){t*=this.timeScale;const e=this._actions,n=this._nActiveActions,r=this.time+=t,i=Math.sign(t),o=this._accuIndex^=1;for(let a=0;a!==n;++a)e[a]._update(r,t,i,o);const a=this._bindings,s=this._nActiveBindings;for(let t=0;t!==s;++t)a[t].apply(o);return this}setTime(t){this.time=0;for(let t=0;t<this._actions.length;t++)this._actions[t].time=0;return this.update(t)}getRoot(){return this._root}uncacheClip(t){const e=this._actions,n=t.uuid,r=this._actionsByClip,i=r[n];if(void 0!==i){const t=i.knownActions;for(let n=0,r=t.length;n!==r;++n){const r=t[n];this._deactivateAction(r);const i=r._cacheIndex,o=e[e.length-1];r._cacheIndex=null,r._byClipCacheIndex=null,o._cacheIndex=i,e[i]=o,e.pop(),this._removeInactiveBindingsForAction(r)}delete r[n]}}uncacheRoot(t){const e=t.uuid,n=this._actionsByClip;for(const t in n){const r=n[t].actionByRoot[e];void 0!==r&&(this._deactivateAction(r),this._removeInactiveAction(r))}const r=this._bindingsByRootAndName[e];if(void 0!==r)for(const t in r){const e=r[t];e.restoreOriginalState(),this._removeInactiveBinding(e)}}uncacheAction(t,e){const n=this.existingAction(t,e);null!==n&&(this._deactivateAction(n),this._removeInactiveAction(n))}},e.AnimationObjectGroup=class{constructor(){this.isAnimationObjectGroup=!0,this.uuid=_t(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;const t={};this._indicesByUUID=t;for(let e=0,n=arguments.length;e!==n;++e)t[arguments[e].uuid]=e;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};const e=this;this.stats={objects:{get total(){return e._objects.length},get inUse(){return this.total-e.nCachedObjects_}},get bindingsPerObject(){return e._bindings.length}}}add(){const t=this._objects,e=this._indicesByUUID,n=this._paths,r=this._parsedPaths,i=this._bindings,o=i.length;let a,s=t.length,l=this.nCachedObjects_;for(let u=0,c=arguments.length;u!==c;++u){const c=arguments[u],h=c.uuid;let p=e[h];if(void 0===p){p=s++,e[h]=p,t.push(c);for(let t=0,e=o;t!==e;++t)i[t].push(new oc(c,n[t],r[t]))}else if(p<l){a=t[p];const s=--l,u=t[s];e[u.uuid]=p,t[p]=u,e[h]=s,t[s]=c;for(let t=0,e=o;t!==e;++t){const e=i[t],o=e[s];let a=e[p];e[p]=o,void 0===a&&(a=new oc(c,n[t],r[t])),e[s]=a}}else t[p]!==a&&console.error(\\\"THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.\\\")}this.nCachedObjects_=l}remove(){const t=this._objects,e=this._indicesByUUID,n=this._bindings,r=n.length;let i=this.nCachedObjects_;for(let o=0,a=arguments.length;o!==a;++o){const a=arguments[o],s=a.uuid,l=e[s];if(void 0!==l&&l>=i){const o=i++,u=t[o];e[u.uuid]=l,t[l]=u,e[s]=o,t[o]=a;for(let t=0,e=r;t!==e;++t){const e=n[t],r=e[o],i=e[l];e[l]=r,e[o]=i}}}this.nCachedObjects_=i}uncache(){const t=this._objects,e=this._indicesByUUID,n=this._bindings,r=n.length;let i=this.nCachedObjects_,o=t.length;for(let a=0,s=arguments.length;a!==s;++a){const s=arguments[a].uuid,l=e[s];if(void 0!==l)if(delete e[s],l<i){const a=--i,s=t[a],u=--o,c=t[u];e[s.uuid]=l,t[l]=s,e[c.uuid]=a,t[a]=c,t.pop();for(let t=0,e=r;t!==e;++t){const e=n[t],r=e[a],i=e[u];e[l]=r,e[a]=i,e.pop()}}else{const i=--o,a=t[i];i>0&&(e[a.uuid]=l),t[l]=a,t.pop();for(let t=0,e=r;t!==e;++t){const e=n[t];e[l]=e[i],e.pop()}}}this.nCachedObjects_=i}subscribe_(t,e){const n=this._bindingsIndicesByPath;let r=n[t];const i=this._bindings;if(void 0!==r)return i[r];const o=this._paths,a=this._parsedPaths,s=this._objects,l=s.length,u=this.nCachedObjects_,c=new Array(l);r=i.length,n[t]=r,o.push(t),a.push(e),i.push(c);for(let n=u,r=s.length;n!==r;++n){const r=s[n];c[n]=new oc(r,t,e)}return c}unsubscribe_(t){const e=this._bindingsIndicesByPath,n=e[t];if(void 0!==n){const r=this._paths,i=this._parsedPaths,o=this._bindings,a=o.length-1,s=o[a];e[t[a]]=n,o[n]=s,o.pop(),i[n]=i[a],i.pop(),r[n]=r[a],r.pop()}}},e.AnimationUtils=Ul,e.ArcCurve=as,e.ArrayCamera=jo,e.ArrowHelper=class extends rn{constructor(t=new ee(0,0,1),e=new ee(0,0,0),n=1,r=16776960,i=.2*n,o=.2*i){super(),this.type=\\\"ArrowHelper\\\",void 0===Ic&&(Ic=new Ln,Ic.setAttribute(\\\"position\\\",new Cn([0,0,0,0,1,0],3)),Lc=new ks(0,.5,1,5,1),Lc.translate(0,-.5,0)),this.position.copy(e),this.line=new Ha(Ic,new Na({color:r,toneMapped:!1})),this.line.matrixAutoUpdate=!1,this.add(this.line),this.cone=new Zn(Lc,new yn({color:r,toneMapped:!1})),this.cone.matrixAutoUpdate=!1,this.add(this.cone),this.setDirection(t),this.setLength(n,i,o)}setDirection(t){if(t.y>.99999)this.quaternion.set(0,0,0,1);else if(t.y<-.99999)this.quaternion.set(1,0,0,0);else{Oc.set(t.z,0,-t.x).normalize();const e=Math.acos(t.y);this.quaternion.setFromAxisAngle(Oc,e)}}setLength(t,e=.2*t,n=.2*e){this.line.scale.set(1,Math.max(1e-4,t-e),1),this.line.updateMatrix(),this.cone.scale.set(n,e,n),this.cone.position.y=t,this.cone.updateMatrix()}setColor(t){this.line.material.color.set(t),this.cone.material.color.set(t)}copy(t){return super.copy(t,!1),this.line.copy(t.line),this.cone.copy(t.cone),this}},e.Audio=Xu,e.AudioAnalyser=class{constructor(t,e=2048){this.analyser=t.context.createAnalyser(),this.analyser.fftSize=e,this.data=new Uint8Array(this.analyser.frequencyBinCount),t.getOutput().connect(this.analyser)}getFrequencyData(){return this.analyser.getByteFrequencyData(this.data),this.data}getAverageFrequency(){let t=0;const e=this.getFrequencyData();for(let n=0;n<e.length;n++)t+=e[n];return t/e.length}},e.AudioContext=Bu,e.AudioListener=class extends rn{constructor(){super(),this.type=\\\"AudioListener\\\",this.context=Bu.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new Uu}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(t){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=t,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}updateMatrixWorld(t){super.updateMatrixWorld(t);const e=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(Vu,Hu,Gu),Wu.set(0,0,-1).applyQuaternion(Hu),e.positionX){const t=this.context.currentTime+this.timeDelta;e.positionX.linearRampToValueAtTime(Vu.x,t),e.positionY.linearRampToValueAtTime(Vu.y,t),e.positionZ.linearRampToValueAtTime(Vu.z,t),e.forwardX.linearRampToValueAtTime(Wu.x,t),e.forwardY.linearRampToValueAtTime(Wu.y,t),e.forwardZ.linearRampToValueAtTime(Wu.z,t),e.upX.linearRampToValueAtTime(n.x,t),e.upY.linearRampToValueAtTime(n.y,t),e.upZ.linearRampToValueAtTime(n.z,t)}else e.setPosition(Vu.x,Vu.y,Vu.z),e.setOrientation(Wu.x,Wu.y,Wu.z,n.x,n.y,n.z)}},e.AudioLoader=class extends au{constructor(t){super(t)}load(t,e,n,r){const i=this,o=new uu(this.manager);o.setResponseType(\\\"arraybuffer\\\"),o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(t,(function(n){try{const t=n.slice(0);Bu.getContext().decodeAudioData(t,(function(t){e(t)}))}catch(e){r?r(e):console.error(e),i.manager.itemError(t)}}),n,r)}},e.AxesHelper=class extends Xa{constructor(t=1){const e=[0,0,0,t,0,0,0,0,0,0,t,0,0,0,0,0,0,t],n=new Ln;n.setAttribute(\\\"position\\\",new Cn(e,3)),n.setAttribute(\\\"color\\\",new Cn([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3)),super(n,new Na({vertexColors:!0,toneMapped:!1})),this.type=\\\"AxesHelper\\\"}setColors(t,e,n){const r=new qt,i=this.geometry.attributes.color.array;return r.set(t),r.toArray(i,0),r.toArray(i,3),r.set(e),r.toArray(i,6),r.toArray(i,9),r.set(n),r.toArray(i,12),r.toArray(i,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}},e.BackSide=1,e.BasicDepthPacking=3200,e.BasicShadowMap=0,e.Bone=Sa,e.BooleanKeyframeTrack=Xl,e.Box2=class{constructor(t=new Tt(1/0,1/0),e=new Tt(-1/0,-1/0)){this.isBox2=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=pc.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}clone(){return(new this.constructor).copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y}getCenter(t){return this.isEmpty()?t.set(0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y)}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return pc.copy(t).clamp(this.min,this.max).sub(t).length()}intersect(t){return this.min.max(t.min),this.max.min(t.max),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}},e.Box3=ie,e.Box3Helper=class extends Xa{constructor(t,e=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),r=new Ln;r.setIndex(new xn(n,1)),r.setAttribute(\\\"position\\\",new Cn([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3)),super(r,new Na({color:e,toneMapped:!1})),this.box=t,this.type=\\\"Box3Helper\\\",this.geometry.computeBoundingSphere()}updateMatrixWorld(t){const e=this.box;e.isEmpty()||(e.getCenter(this.position),e.getSize(this.scale),this.scale.multiplyScalar(.5),super.updateMatrixWorld(t))}},e.BoxBufferGeometry=Jn,e.BoxGeometry=Jn,e.BoxHelper=class extends Xa{constructor(t,e=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),r=new Float32Array(24),i=new Ln;i.setIndex(new xn(n,1)),i.setAttribute(\\\"position\\\",new xn(r,3)),super(i,new Na({color:e,toneMapped:!1})),this.object=t,this.type=\\\"BoxHelper\\\",this.matrixAutoUpdate=!1,this.update()}update(t){if(void 0!==t&&console.warn(\\\"THREE.BoxHelper: .update() has no longer arguments.\\\"),void 0!==this.object&&kc.setFromObject(this.object),kc.isEmpty())return;const e=kc.min,n=kc.max,r=this.geometry.attributes.position,i=r.array;i[0]=n.x,i[1]=n.y,i[2]=n.z,i[3]=e.x,i[4]=n.y,i[5]=n.z,i[6]=e.x,i[7]=e.y,i[8]=n.z,i[9]=n.x,i[10]=e.y,i[11]=n.z,i[12]=n.x,i[13]=n.y,i[14]=e.z,i[15]=e.x,i[16]=n.y,i[17]=e.z,i[18]=e.x,i[19]=e.y,i[20]=e.z,i[21]=n.x,i[22]=e.y,i[23]=e.z,r.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(t){return this.object=t,this.update(),this}copy(t,e){return super.copy(t,e),this.object=t.object,this}},e.BufferAttribute=xn,e.BufferGeometry=Ln,e.BufferGeometryLoader=Pu,e.ByteType=1010,e.Cache=ru,e.Camera=rr,e.CameraHelper=class extends Xa{constructor(t){const e=new Ln,n=new Na({color:16777215,vertexColors:!0,toneMapped:!1}),r=[],i=[],o={};function a(t,e){s(t),s(e)}function s(t){r.push(0,0,0),i.push(0,0,0),void 0===o[t]&&(o[t]=[]),o[t].push(r.length/3-1)}a(\\\"n1\\\",\\\"n2\\\"),a(\\\"n2\\\",\\\"n4\\\"),a(\\\"n4\\\",\\\"n3\\\"),a(\\\"n3\\\",\\\"n1\\\"),a(\\\"f1\\\",\\\"f2\\\"),a(\\\"f2\\\",\\\"f4\\\"),a(\\\"f4\\\",\\\"f3\\\"),a(\\\"f3\\\",\\\"f1\\\"),a(\\\"n1\\\",\\\"f1\\\"),a(\\\"n2\\\",\\\"f2\\\"),a(\\\"n3\\\",\\\"f3\\\"),a(\\\"n4\\\",\\\"f4\\\"),a(\\\"p\\\",\\\"n1\\\"),a(\\\"p\\\",\\\"n2\\\"),a(\\\"p\\\",\\\"n3\\\"),a(\\\"p\\\",\\\"n4\\\"),a(\\\"u1\\\",\\\"u2\\\"),a(\\\"u2\\\",\\\"u3\\\"),a(\\\"u3\\\",\\\"u1\\\"),a(\\\"c\\\",\\\"t\\\"),a(\\\"p\\\",\\\"c\\\"),a(\\\"cn1\\\",\\\"cn2\\\"),a(\\\"cn3\\\",\\\"cn4\\\"),a(\\\"cf1\\\",\\\"cf2\\\"),a(\\\"cf3\\\",\\\"cf4\\\"),e.setAttribute(\\\"position\\\",new Cn(r,3)),e.setAttribute(\\\"color\\\",new Cn(i,3)),super(e,n),this.type=\\\"CameraHelper\\\",this.camera=t,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update();const l=new qt(16755200),u=new qt(16711680),c=new qt(43775),h=new qt(16777215),p=new qt(3355443);this.setColors(l,u,c,h,p)}setColors(t,e,n,r,i){const o=this.geometry.getAttribute(\\\"color\\\");o.setXYZ(0,t.r,t.g,t.b),o.setXYZ(1,t.r,t.g,t.b),o.setXYZ(2,t.r,t.g,t.b),o.setXYZ(3,t.r,t.g,t.b),o.setXYZ(4,t.r,t.g,t.b),o.setXYZ(5,t.r,t.g,t.b),o.setXYZ(6,t.r,t.g,t.b),o.setXYZ(7,t.r,t.g,t.b),o.setXYZ(8,t.r,t.g,t.b),o.setXYZ(9,t.r,t.g,t.b),o.setXYZ(10,t.r,t.g,t.b),o.setXYZ(11,t.r,t.g,t.b),o.setXYZ(12,t.r,t.g,t.b),o.setXYZ(13,t.r,t.g,t.b),o.setXYZ(14,t.r,t.g,t.b),o.setXYZ(15,t.r,t.g,t.b),o.setXYZ(16,t.r,t.g,t.b),o.setXYZ(17,t.r,t.g,t.b),o.setXYZ(18,t.r,t.g,t.b),o.setXYZ(19,t.r,t.g,t.b),o.setXYZ(20,t.r,t.g,t.b),o.setXYZ(21,t.r,t.g,t.b),o.setXYZ(22,t.r,t.g,t.b),o.setXYZ(23,t.r,t.g,t.b),o.setXYZ(24,e.r,e.g,e.b),o.setXYZ(25,e.r,e.g,e.b),o.setXYZ(26,e.r,e.g,e.b),o.setXYZ(27,e.r,e.g,e.b),o.setXYZ(28,e.r,e.g,e.b),o.setXYZ(29,e.r,e.g,e.b),o.setXYZ(30,e.r,e.g,e.b),o.setXYZ(31,e.r,e.g,e.b),o.setXYZ(32,n.r,n.g,n.b),o.setXYZ(33,n.r,n.g,n.b),o.setXYZ(34,n.r,n.g,n.b),o.setXYZ(35,n.r,n.g,n.b),o.setXYZ(36,n.r,n.g,n.b),o.setXYZ(37,n.r,n.g,n.b),o.setXYZ(38,r.r,r.g,r.b),o.setXYZ(39,r.r,r.g,r.b),o.setXYZ(40,i.r,i.g,i.b),o.setXYZ(41,i.r,i.g,i.b),o.setXYZ(42,i.r,i.g,i.b),o.setXYZ(43,i.r,i.g,i.b),o.setXYZ(44,i.r,i.g,i.b),o.setXYZ(45,i.r,i.g,i.b),o.setXYZ(46,i.r,i.g,i.b),o.setXYZ(47,i.r,i.g,i.b),o.setXYZ(48,i.r,i.g,i.b),o.setXYZ(49,i.r,i.g,i.b),o.needsUpdate=!0}update(){const t=this.geometry,e=this.pointMap;Tc.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),Sc(\\\"c\\\",e,t,Tc,0,0,-1),Sc(\\\"t\\\",e,t,Tc,0,0,1),Sc(\\\"n1\\\",e,t,Tc,-1,-1,-1),Sc(\\\"n2\\\",e,t,Tc,1,-1,-1),Sc(\\\"n3\\\",e,t,Tc,-1,1,-1),Sc(\\\"n4\\\",e,t,Tc,1,1,-1),Sc(\\\"f1\\\",e,t,Tc,-1,-1,1),Sc(\\\"f2\\\",e,t,Tc,1,-1,1),Sc(\\\"f3\\\",e,t,Tc,-1,1,1),Sc(\\\"f4\\\",e,t,Tc,1,1,1),Sc(\\\"u1\\\",e,t,Tc,.7,1.1,-1),Sc(\\\"u2\\\",e,t,Tc,-.7,1.1,-1),Sc(\\\"u3\\\",e,t,Tc,0,2,-1),Sc(\\\"cf1\\\",e,t,Tc,-1,0,1),Sc(\\\"cf2\\\",e,t,Tc,1,0,1),Sc(\\\"cf3\\\",e,t,Tc,0,-1,1),Sc(\\\"cf4\\\",e,t,Tc,0,1,1),Sc(\\\"cn1\\\",e,t,Tc,-1,0,-1),Sc(\\\"cn2\\\",e,t,Tc,1,0,-1),Sc(\\\"cn3\\\",e,t,Tc,0,-1,-1),Sc(\\\"cn4\\\",e,t,Tc,0,1,-1),t.getAttribute(\\\"position\\\").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}},e.CanvasTexture=class extends Yt{constructor(t,e,n,r,i,o,a,s,l){super(t,e,n,r,i,o,a,s,l),this.isCanvasTexture=!0,this.needsUpdate=!0}},e.CapsuleBufferGeometry=Ts,e.CapsuleGeometry=Ts,e.CatmullRomCurve3=ps,e.CineonToneMapping=3,e.CircleBufferGeometry=Ss,e.CircleGeometry=Ss,e.ClampToEdgeWrapping=h,e.Clock=Uu,e.Color=qt,e.ColorKeyframeTrack=Yl,e.ColorManagement=Dt,e.CompressedTexture=rs,e.CompressedTextureLoader=class extends au{constructor(t){super(t)}load(t,e,n,r){const i=this,o=[],a=new rs,s=new uu(this.manager);s.setPath(this.path),s.setResponseType(\\\"arraybuffer\\\"),s.setRequestHeader(this.requestHeader),s.setWithCredentials(i.withCredentials);let l=0;function u(u){s.load(t[u],(function(t){const n=i.parse(t,!0);o[u]={width:n.width,height:n.height,format:n.format,mipmaps:n.mipmaps},l+=1,6===l&&(1===n.mipmapCount&&(a.minFilter=v),a.image=o,a.format=n.format,a.needsUpdate=!0,e&&e(a))}),n,r)}if(Array.isArray(t))for(let e=0,n=t.length;e<n;++e)u(e);else s.load(t,(function(t){const n=i.parse(t,!0);if(n.isCubemap){const t=n.mipmaps.length/n.mipmapCount;for(let e=0;e<t;e++){o[e]={mipmaps:[]};for(let t=0;t<n.mipmapCount;t++)o[e].mipmaps.push(n.mipmaps[e*n.mipmapCount+t]),o[e].format=n.format,o[e].width=n.width,o[e].height=n.height}a.image=o}else a.image.width=n.width,a.image.height=n.height,a.mipmaps=n.mipmaps;1===n.mipmapCount&&(a.minFilter=v),a.format=n.format,a.needsUpdate=!0,e&&e(a)}),n,r);return a}},e.ConeBufferGeometry=Os,e.ConeGeometry=Os,e.CubeCamera=ar,e.CubeReflectionMapping=o,e.CubeRefractionMapping=a,e.CubeTexture=sr,e.CubeTextureLoader=class extends au{constructor(t){super(t)}load(t,e,n,r){const i=new sr,o=new cu(this.manager);o.setCrossOrigin(this.crossOrigin),o.setPath(this.path);let a=0;function s(n){o.load(t[n],(function(t){i.images[n]=t,a++,6===a&&(i.needsUpdate=!0,e&&e(i))}),void 0,r)}for(let e=0;e<t.length;++e)s(e);return i}},e.CubeUVReflectionMapping=u,e.CubicBezierCurve=vs,e.CubicBezierCurve3=gs,e.CubicInterpolant=Vl,e.CullFaceBack=1,e.CullFaceFront=2,e.CullFaceFrontBack=3,e.CullFaceNone=0,e.Curve=is,e.CurvePath=Cs,e.CustomBlending=5,e.CustomToneMapping=5,e.CylinderBufferGeometry=ks,e.CylinderGeometry=ks,e.Cylindrical=class{constructor(t=1,e=0,n=0){return this.radius=t,this.theta=e,this.y=n,this}set(t,e,n){return this.radius=t,this.theta=e,this.y=n,this}copy(t){return this.radius=t.radius,this.theta=t.theta,this.y=t.y,this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+n*n),this.theta=Math.atan2(t,n),this.y=e,this}clone(){return(new this.constructor).copy(this)}},e.Data3DTexture=Qt,e.DataArrayTexture=Jt,e.DataTexture=ka,e.DataTexture2DArray=class extends Jt{constructor(t,e,n,r){console.warn(\\\"THREE.DataTexture2DArray has been renamed to DataArrayTexture.\\\"),super(t,e,n,r)}},e.DataTexture3D=class extends Qt{constructor(t,e,n,r){console.warn(\\\"THREE.DataTexture3D has been renamed to Data3DTexture.\\\"),super(t,e,n,r)}},e.DataTextureLoader=class extends au{constructor(t){super(t)}load(t,e,n,r){const i=this,o=new ka,a=new uu(this.manager);return a.setResponseType(\\\"arraybuffer\\\"),a.setRequestHeader(this.requestHeader),a.setPath(this.path),a.setWithCredentials(i.withCredentials),a.load(t,(function(t){const n=i.parse(t);n&&(void 0!==n.image?o.image=n.image:void 0!==n.data&&(o.image.width=n.width,o.image.height=n.height,o.image.data=n.data),o.wrapS=void 0!==n.wrapS?n.wrapS:h,o.wrapT=void 0!==n.wrapT?n.wrapT:h,o.magFilter=void 0!==n.magFilter?n.magFilter:v,o.minFilter=void 0!==n.minFilter?n.minFilter:v,o.anisotropy=void 0!==n.anisotropy?n.anisotropy:1,void 0!==n.encoding&&(o.encoding=n.encoding),void 0!==n.flipY&&(o.flipY=n.flipY),void 0!==n.format&&(o.format=n.format),void 0!==n.type&&(o.type=n.type),void 0!==n.mipmaps&&(o.mipmaps=n.mipmaps,o.minFilter=y),1===n.mipmapCount&&(o.minFilter=v),void 0!==n.generateMipmaps&&(o.generateMipmaps=n.generateMipmaps),o.needsUpdate=!0,e&&e(o,n))}),n,r),o}},e.DataUtils=Rc,e.DecrementStencilOp=7683,e.DecrementWrapStencilOp=34056,e.DefaultLoadingManager=ou,e.DepthFormat=E,e.DepthStencilFormat=T,e.DepthTexture=Ho,e.DirectionalLight=Mu,e.DirectionalLightHelper=class extends rn{constructor(t,e,n){super(),this.light=t,this.light.updateMatrixWorld(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,void 0===e&&(e=1);let r=new Ln;r.setAttribute(\\\"position\\\",new Cn([-e,e,0,e,e,0,e,-e,0,-e,-e,0,-e,e,0],3));const i=new Na({fog:!1,toneMapped:!1});this.lightPlane=new Ha(r,i),this.add(this.lightPlane),r=new Ln,r.setAttribute(\\\"position\\\",new Cn([0,0,0,0,0,1],3)),this.targetLine=new Ha(r,i),this.add(this.targetLine),this.update()}dispose(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}update(){Ac.setFromMatrixPosition(this.light.matrixWorld),Cc.setFromMatrixPosition(this.light.target.matrixWorld),Mc.subVectors(Cc,Ac),this.lightPlane.lookAt(Cc),void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(Cc),this.targetLine.scale.z=Mc.length()}},e.DiscreteInterpolant=Gl,e.DodecahedronBufferGeometry=Ls,e.DodecahedronGeometry=Ls,e.DoubleSide=2,e.DstAlphaFactor=206,e.DstColorFactor=208,e.DynamicCopyUsage=35050,e.DynamicDrawUsage=35048,e.DynamicReadUsage=35049,e.EdgesGeometry=$s,e.EllipseCurve=os,e.EqualDepth=4,e.EqualStencilFunc=514,e.EquirectangularReflectionMapping=s,e.EquirectangularRefractionMapping=l,e.Euler=Ue,e.EventDispatcher=dt,e.ExtrudeBufferGeometry=pl,e.ExtrudeGeometry=pl,e.FileLoader=uu,e.FlatShading=1,e.Float16BufferAttribute=class extends xn{constructor(t,e,n){super(new Uint16Array(t),e,n),this.isFloat16BufferAttribute=!0}},e.Float32BufferAttribute=Cn,e.Float64BufferAttribute=class extends xn{constructor(t,e,n){super(new Float64Array(t),e,n)}},e.FloatType=w,e.Fog=Jo,e.FogExp2=Ko,e.Font=function(){console.error(\\\"THREE.Font has been moved to /examples/jsm/loaders/FontLoader.js\\\")},e.FontLoader=function(){console.error(\\\"THREE.FontLoader has been moved to /examples/jsm/loaders/FontLoader.js\\\")},e.FramebufferTexture=class extends Yt{constructor(t,e,n){super({width:t,height:e}),this.isFramebufferTexture=!0,this.format=n,this.magFilter=f,this.minFilter=f,this.generateMipmaps=!1,this.needsUpdate=!0}},e.FrontSide=0,e.Frustum=mr,e.GLBufferAttribute=class{constructor(t,e,n,r,i){this.isGLBufferAttribute=!0,this.buffer=t,this.type=e,this.itemSize=n,this.elementSize=r,this.count=i,this.version=0}set needsUpdate(t){!0===t&&this.version++}setBuffer(t){return this.buffer=t,this}setType(t,e){return this.type=t,this.elementSize=e,this}setItemSize(t){return this.itemSize=t,this}setCount(t){return this.count=t,this}},e.GLSL1=\\\"100\\\",e.GLSL3=pt,e.GreaterDepth=6,e.GreaterEqualDepth=5,e.GreaterEqualStencilFunc=518,e.GreaterStencilFunc=516,e.GridHelper=class extends Xa{constructor(t=10,e=10,n=4473924,r=8947848){n=new qt(n),r=new qt(r);const i=e/2,o=t/e,a=t/2,s=[],l=[];for(let t=0,u=0,c=-a;t<=e;t++,c+=o){s.push(-a,0,c,a,0,c),s.push(c,0,-a,c,0,a);const e=t===i?n:r;e.toArray(l,u),u+=3,e.toArray(l,u),u+=3,e.toArray(l,u),u+=3,e.toArray(l,u),u+=3}const u=new Ln;u.setAttribute(\\\"position\\\",new Cn(s,3)),u.setAttribute(\\\"color\\\",new Cn(l,3)),super(u,new Na({vertexColors:!0,toneMapped:!1})),this.type=\\\"GridHelper\\\"}},e.Group=Uo,e.HalfFloatType=A,e.HemisphereLight=pu,e.HemisphereLightHelper=class extends rn{constructor(t,e,n){super(),this.light=t,this.light.updateMatrixWorld(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n;const r=new ml(e);r.rotateY(.5*Math.PI),this.material=new yn({wireframe:!0,fog:!1,toneMapped:!1}),void 0===this.color&&(this.material.vertexColors=!0);const i=r.getAttribute(\\\"position\\\"),o=new Float32Array(3*i.count);r.setAttribute(\\\"color\\\",new xn(o,3)),this.add(new Zn(r,this.material)),this.update()}dispose(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}update(){const t=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{const e=t.geometry.getAttribute(\\\"color\\\");xc.copy(this.light.color),wc.copy(this.light.groundColor);for(let t=0,n=e.count;t<n;t++){const r=t<n/2?xc:wc;e.setXYZ(t,r.r,r.g,r.b)}e.needsUpdate=!0}t.lookAt(bc.setFromMatrixPosition(this.light.matrixWorld).negate())}},e.HemisphereLightProbe=class extends ku{constructor(t,e,n=1){super(void 0,n),this.isHemisphereLightProbe=!0;const r=(new qt).set(t),i=(new qt).set(e),o=new ee(r.r,r.g,r.b),a=new ee(i.r,i.g,i.b),s=Math.sqrt(Math.PI),l=s*Math.sqrt(.75);this.sh.coefficients[0].copy(o).add(a).multiplyScalar(s),this.sh.coefficients[1].copy(o).sub(a).multiplyScalar(l)}},e.IcosahedronBufferGeometry=dl,e.IcosahedronGeometry=dl,e.ImageBitmapLoader=class extends au{constructor(t){super(t),this.isImageBitmapLoader=!0,\\\"undefined\\\"==typeof createImageBitmap&&console.warn(\\\"THREE.ImageBitmapLoader: createImageBitmap() not supported.\\\"),\\\"undefined\\\"==typeof fetch&&console.warn(\\\"THREE.ImageBitmapLoader: fetch() not supported.\\\"),this.options={premultiplyAlpha:\\\"none\\\"}}setOptions(t){return this.options=t,this}load(t,e,n,r){void 0===t&&(t=\\\"\\\"),void 0!==this.path&&(t=this.path+t),t=this.manager.resolveURL(t);const i=this,o=ru.get(t);if(void 0!==o)return i.manager.itemStart(t),setTimeout((function(){e&&e(o),i.manager.itemEnd(t)}),0),o;const a={};a.credentials=\\\"anonymous\\\"===this.crossOrigin?\\\"same-origin\\\":\\\"include\\\",a.headers=this.requestHeader,fetch(t,a).then((function(t){return t.blob()})).then((function(t){return createImageBitmap(t,Object.assign(i.options,{colorSpaceConversion:\\\"none\\\"}))})).then((function(n){ru.add(t,n),e&&e(n),i.manager.itemEnd(t)})).catch((function(e){r&&r(e),i.manager.itemError(t),i.manager.itemEnd(t)})),i.manager.itemStart(t)}},e.ImageLoader=cu,e.ImageUtils=Ht,e.ImmediateRenderObject=function(){console.error(\\\"THREE.ImmediateRenderObject has been removed.\\\")},e.IncrementStencilOp=7682,e.IncrementWrapStencilOp=34055,e.InstancedBufferAttribute=Pa,e.InstancedBufferGeometry=Lu,e.InstancedInterleavedBuffer=class extends ta{constructor(t,e,n=1){super(t,e),this.isInstancedInterleavedBuffer=!0,this.meshPerAttribute=n}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}clone(t){const e=super.clone(t);return e.meshPerAttribute=this.meshPerAttribute,e}toJSON(t){const e=super.toJSON(t);return e.isInstancedInterleavedBuffer=!0,e.meshPerAttribute=this.meshPerAttribute,e}},e.InstancedMesh=Ba,e.Int16BufferAttribute=class extends xn{constructor(t,e,n){super(new Int16Array(t),e,n)}},e.Int32BufferAttribute=class extends xn{constructor(t,e,n){super(new Int32Array(t),e,n)}},e.Int8BufferAttribute=class extends xn{constructor(t,e,n){super(new Int8Array(t),e,n)}},e.IntType=1013,e.InterleavedBuffer=ta,e.InterleavedBufferAttribute=na,e.Interpolant=ql,e.InterpolateDiscrete=Q,e.InterpolateLinear=tt,e.InterpolateSmooth=et,e.InvertStencilOp=5386,e.KeepStencilOp=ct,e.KeyframeTrack=Wl,e.LOD=xa,e.LatheBufferGeometry=Es,e.LatheGeometry=Es,e.Layers=qe,e.LessDepth=2,e.LessEqualDepth=3,e.LessEqualStencilFunc=515,e.LessStencilFunc=513,e.Light=hu,e.LightProbe=ku,e.Line=Ha,e.Line3=class{constructor(t=new ee,e=new ee){this.start=t,this.end=e}set(t,e){return this.start.copy(t),this.end.copy(e),this}copy(t){return this.start.copy(t.start),this.end.copy(t.end),this}getCenter(t){return t.addVectors(this.start,this.end).multiplyScalar(.5)}delta(t){return t.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(t,e){return this.delta(e).multiplyScalar(t).add(this.start)}closestPointToPointParameter(t,e){fc.subVectors(t,this.start),dc.subVectors(this.end,this.start);const n=dc.dot(dc);let r=dc.dot(fc)/n;return e&&(r=bt(r,0,1)),r}closestPointToPoint(t,e,n){const r=this.closestPointToPointParameter(t,e);return this.delta(n).multiplyScalar(r).add(this.start)}applyMatrix4(t){return this.start.applyMatrix4(t),this.end.applyMatrix4(t),this}equals(t){return t.start.equals(this.start)&&t.end.equals(this.end)}clone(){return(new this.constructor).copy(this)}},e.LineBasicMaterial=Na,e.LineCurve=ys,e.LineCurve3=_s,e.LineDashedMaterial=Rl,e.LineLoop=Ya,e.LineSegments=Xa,e.LinearEncoding=at,e.LinearFilter=v,e.LinearInterpolant=Hl,e.LinearMipMapLinearFilter=1008,e.LinearMipMapNearestFilter=1007,e.LinearMipmapLinearFilter=y,e.LinearMipmapNearestFilter=g,e.LinearSRGBColorSpace=ut,e.LinearToneMapping=1,e.Loader=au,e.LoaderUtils=Iu,e.LoadingManager=iu,e.LoopOnce=2200,e.LoopPingPong=2202,e.LoopRepeat=2201,e.LuminanceAlphaFormat=1025,e.LuminanceFormat=1024,e.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},e.Material=gn,e.MaterialLoader=Ou,e.MathUtils=Et,e.Matrix3=St,e.Matrix4=Le,e.MaxEquation=104,e.Mesh=Zn,e.MeshBasicMaterial=yn,e.MeshDepthMaterial=Ro,e.MeshDistanceMaterial=Do,e.MeshLambertMaterial=Pl,e.MeshMatcapMaterial=zl,e.MeshNormalMaterial=Ll,e.MeshPhongMaterial=Ol,e.MeshPhysicalMaterial=kl,e.MeshStandardMaterial=Sl,e.MeshToonMaterial=Il,e.MinEquation=103,e.MirroredRepeatWrapping=p,e.MixOperation=1,e.MultiplyBlending=4,e.MultiplyOperation=0,e.NearestFilter=f,e.NearestMipMapLinearFilter=1005,e.NearestMipMapNearestFilter=1004,e.NearestMipmapLinearFilter=m,e.NearestMipmapNearestFilter=d,e.NeverDepth=0,e.NeverStencilFunc=512,e.NoBlending=0,e.NoColorSpace=\\\"\\\",e.NoToneMapping=0,e.NormalAnimationBlendMode=2500,e.NormalBlending=1,e.NotEqualDepth=7,e.NotEqualStencilFunc=517,e.NumberKeyframeTrack=Zl,e.Object3D=rn,e.ObjectLoader=class extends au{constructor(t){super(t)}load(t,e,n,r){const i=this,o=\\\"\\\"===this.path?Iu.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||o;const a=new uu(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(t,(function(n){let o=null;try{o=JSON.parse(n)}catch(e){return void 0!==r&&r(e),void console.error(\\\"THREE:ObjectLoader: Can't parse \\\"+t+\\\".\\\",e.message)}const a=o.metadata;void 0!==a&&void 0!==a.type&&\\\"geometry\\\"!==a.type.toLowerCase()?i.parse(o,e):console.error(\\\"THREE.ObjectLoader: Can't load \\\"+t)}),n,r)}async loadAsync(t,e){const n=\\\"\\\"===this.path?Iu.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||n;const r=new uu(this.manager);r.setPath(this.path),r.setRequestHeader(this.requestHeader),r.setWithCredentials(this.withCredentials);const i=await r.loadAsync(t,e),o=JSON.parse(i),a=o.metadata;if(void 0===a||void 0===a.type||\\\"geometry\\\"===a.type.toLowerCase())throw new Error(\\\"THREE.ObjectLoader: Can't load \\\"+t);return await this.parseAsync(o)}parse(t,e){const n=this.parseAnimations(t.animations),r=this.parseShapes(t.shapes),i=this.parseGeometries(t.geometries,r),o=this.parseImages(t.images,(function(){void 0!==e&&e(l)})),a=this.parseTextures(t.textures,o),s=this.parseMaterials(t.materials,a),l=this.parseObject(t.object,i,s,a,n),u=this.parseSkeletons(t.skeletons,l);if(this.bindSkeletons(l,u),void 0!==e){let t=!1;for(const e in o)if(o[e].data instanceof HTMLImageElement){t=!0;break}!1===t&&e(l)}return l}async parseAsync(t){const e=this.parseAnimations(t.animations),n=this.parseShapes(t.shapes),r=this.parseGeometries(t.geometries,n),i=await this.parseImagesAsync(t.images),o=this.parseTextures(t.textures,i),a=this.parseMaterials(t.materials,o),s=this.parseObject(t.object,r,a,o,e),l=this.parseSkeletons(t.skeletons,s);return this.bindSkeletons(s,l),s}parseShapes(t){const e={};if(void 0!==t)for(let n=0,r=t.length;n<r;n++){const r=(new Bs).fromJSON(t[n]);e[r.uuid]=r}return e}parseSkeletons(t,e){const n={},r={};if(e.traverse((function(t){t.isBone&&(r[t.uuid]=t)})),void 0!==t)for(let e=0,i=t.length;e<i;e++){const i=(new La).fromJSON(t[e],r);n[i.uuid]=i}return n}parseGeometries(t,e){const n={};if(void 0!==t){const r=new Pu;for(let i=0,o=t.length;i<o;i++){let o;const a=t[i];switch(a.type){case\\\"BufferGeometry\\\":case\\\"InstancedBufferGeometry\\\":o=r.parse(a);break;case\\\"Geometry\\\":console.error(\\\"THREE.ObjectLoader: The legacy Geometry type is no longer supported.\\\");break;default:a.type in Ml?o=Ml[a.type].fromJSON(a,e):console.warn(`THREE.ObjectLoader: Unsupported geometry type \\\"${a.type}\\\"`)}o.uuid=a.uuid,void 0!==a.name&&(o.name=a.name),!0===o.isBufferGeometry&&void 0!==a.userData&&(o.userData=a.userData),n[a.uuid]=o}}return n}parseMaterials(t,e){const n={},r={};if(void 0!==t){const i=new Ou;i.setTextures(e);for(let e=0,o=t.length;e<o;e++){const o=t[e];if(\\\"MultiMaterial\\\"===o.type){const t=[];for(let e=0;e<o.materials.length;e++){const r=o.materials[e];void 0===n[r.uuid]&&(n[r.uuid]=i.parse(r)),t.push(n[r.uuid])}r[o.uuid]=t}else void 0===n[o.uuid]&&(n[o.uuid]=i.parse(o)),r[o.uuid]=n[o.uuid]}}return r}parseAnimations(t){const e={};if(void 0!==t)for(let n=0;n<t.length;n++){const r=t[n],i=eu.parse(r);e[i.uuid]=i}return e}parseImages(t,e){const n=this,r={};let i;function o(t){if(\\\"string\\\"==typeof t){const e=t;return function(t){return n.manager.itemStart(t),i.load(t,(function(){n.manager.itemEnd(t)}),void 0,(function(){n.manager.itemError(t),n.manager.itemEnd(t)}))}(/^(\\\\/\\\\/)|([a-z]+:(\\\\/\\\\/)?)/i.test(e)?e:n.resourcePath+e)}return t.data?{data:It(t.type,t.data),width:t.width,height:t.height}:null}if(void 0!==t&&t.length>0){const n=new iu(e);i=new cu(n),i.setCrossOrigin(this.crossOrigin);for(let e=0,n=t.length;e<n;e++){const n=t[e],i=n.url;if(Array.isArray(i)){const t=[];for(let e=0,n=i.length;e<n;e++){const n=o(i[e]);null!==n&&(n instanceof HTMLImageElement?t.push(n):t.push(new ka(n.data,n.width,n.height)))}r[n.uuid]=new Gt(t)}else{const t=o(n.url);r[n.uuid]=new Gt(t)}}}return r}async parseImagesAsync(t){const e=this,n={};let r;async function i(t){if(\\\"string\\\"==typeof t){const n=t,i=/^(\\\\/\\\\/)|([a-z]+:(\\\\/\\\\/)?)/i.test(n)?n:e.resourcePath+n;return await r.loadAsync(i)}return t.data?{data:It(t.type,t.data),width:t.width,height:t.height}:null}if(void 0!==t&&t.length>0){r=new cu(this.manager),r.setCrossOrigin(this.crossOrigin);for(let e=0,r=t.length;e<r;e++){const r=t[e],o=r.url;if(Array.isArray(o)){const t=[];for(let e=0,n=o.length;e<n;e++){const n=o[e],r=await i(n);null!==r&&(r instanceof HTMLImageElement?t.push(r):t.push(new ka(r.data,r.width,r.height)))}n[r.uuid]=new Gt(t)}else{const t=await i(r.url);n[r.uuid]=new Gt(t)}}}return n}parseTextures(t,e){function n(t,e){return\\\"number\\\"==typeof t?t:(console.warn(\\\"THREE.ObjectLoader.parseTexture: Constant should be in numeric form.\\\",t),e[t])}const r={};if(void 0!==t)for(let i=0,o=t.length;i<o;i++){const o=t[i];void 0===o.image&&console.warn('THREE.ObjectLoader: No \\\"image\\\" specified for',o.uuid),void 0===e[o.image]&&console.warn(\\\"THREE.ObjectLoader: Undefined image\\\",o.image);const a=e[o.image],s=a.data;let l;Array.isArray(s)?(l=new sr,6===s.length&&(l.needsUpdate=!0)):(l=s&&s.data?new ka:new Yt,s&&(l.needsUpdate=!0)),l.source=a,l.uuid=o.uuid,void 0!==o.name&&(l.name=o.name),void 0!==o.mapping&&(l.mapping=n(o.mapping,zu)),void 0!==o.offset&&l.offset.fromArray(o.offset),void 0!==o.repeat&&l.repeat.fromArray(o.repeat),void 0!==o.center&&l.center.fromArray(o.center),void 0!==o.rotation&&(l.rotation=o.rotation),void 0!==o.wrap&&(l.wrapS=n(o.wrap[0],Ru),l.wrapT=n(o.wrap[1],Ru)),void 0!==o.format&&(l.format=o.format),void 0!==o.type&&(l.type=o.type),void 0!==o.encoding&&(l.encoding=o.encoding),void 0!==o.minFilter&&(l.minFilter=n(o.minFilter,Du)),void 0!==o.magFilter&&(l.magFilter=n(o.magFilter,Du)),void 0!==o.anisotropy&&(l.anisotropy=o.anisotropy),void 0!==o.flipY&&(l.flipY=o.flipY),void 0!==o.premultiplyAlpha&&(l.premultiplyAlpha=o.premultiplyAlpha),void 0!==o.unpackAlignment&&(l.unpackAlignment=o.unpackAlignment),void 0!==o.userData&&(l.userData=o.userData),r[o.uuid]=l}return r}parseObject(t,e,n,r,i){let o,a,s;function l(t){return void 0===e[t]&&console.warn(\\\"THREE.ObjectLoader: Undefined geometry\\\",t),e[t]}function u(t){if(void 0!==t){if(Array.isArray(t)){const e=[];for(let r=0,i=t.length;r<i;r++){const i=t[r];void 0===n[i]&&console.warn(\\\"THREE.ObjectLoader: Undefined material\\\",i),e.push(n[i])}return e}return void 0===n[t]&&console.warn(\\\"THREE.ObjectLoader: Undefined material\\\",t),n[t]}}function c(t){return void 0===r[t]&&console.warn(\\\"THREE.ObjectLoader: Undefined texture\\\",t),r[t]}switch(t.type){case\\\"Scene\\\":o=new Qo,void 0!==t.background&&(Number.isInteger(t.background)?o.background=new qt(t.background):o.background=c(t.background)),void 0!==t.environment&&(o.environment=c(t.environment)),void 0!==t.fog&&(\\\"Fog\\\"===t.fog.type?o.fog=new Jo(t.fog.color,t.fog.near,t.fog.far):\\\"FogExp2\\\"===t.fog.type&&(o.fog=new Ko(t.fog.color,t.fog.density)));break;case\\\"PerspectiveCamera\\\":o=new ir(t.fov,t.aspect,t.near,t.far),void 0!==t.focus&&(o.focus=t.focus),void 0!==t.zoom&&(o.zoom=t.zoom),void 0!==t.filmGauge&&(o.filmGauge=t.filmGauge),void 0!==t.filmOffset&&(o.filmOffset=t.filmOffset),void 0!==t.view&&(o.view=Object.assign({},t.view));break;case\\\"OrthographicCamera\\\":o=new Sr(t.left,t.right,t.top,t.bottom,t.near,t.far),void 0!==t.zoom&&(o.zoom=t.zoom),void 0!==t.view&&(o.view=Object.assign({},t.view));break;case\\\"AmbientLight\\\":o=new Eu(t.color,t.intensity);break;case\\\"DirectionalLight\\\":o=new Mu(t.color,t.intensity);break;case\\\"PointLight\\\":o=new Au(t.color,t.intensity,t.distance,t.decay);break;case\\\"RectAreaLight\\\":o=new Tu(t.color,t.intensity,t.width,t.height);break;case\\\"SpotLight\\\":o=new yu(t.color,t.intensity,t.distance,t.angle,t.penumbra,t.decay);break;case\\\"HemisphereLight\\\":o=new pu(t.color,t.groundColor,t.intensity);break;case\\\"LightProbe\\\":o=(new ku).fromJSON(t);break;case\\\"SkinnedMesh\\\":a=l(t.geometry),s=u(t.material),o=new Ta(a,s),void 0!==t.bindMode&&(o.bindMode=t.bindMode),void 0!==t.bindMatrix&&o.bindMatrix.fromArray(t.bindMatrix),void 0!==t.skeleton&&(o.skeleton=t.skeleton);break;case\\\"Mesh\\\":a=l(t.geometry),s=u(t.material),o=new Zn(a,s);break;case\\\"InstancedMesh\\\":a=l(t.geometry),s=u(t.material);const e=t.count,n=t.instanceMatrix,r=t.instanceColor;o=new Ba(a,s,e),o.instanceMatrix=new Pa(new Float32Array(n.array),16),void 0!==r&&(o.instanceColor=new Pa(new Float32Array(r.array),r.itemSize));break;case\\\"LOD\\\":o=new xa;break;case\\\"Line\\\":o=new Ha(l(t.geometry),u(t.material));break;case\\\"LineLoop\\\":o=new Ya(l(t.geometry),u(t.material));break;case\\\"LineSegments\\\":o=new Xa(l(t.geometry),u(t.material));break;case\\\"PointCloud\\\":case\\\"Points\\\":o=new es(l(t.geometry),u(t.material));break;case\\\"Sprite\\\":o=new ga(u(t.material));break;case\\\"Group\\\":o=new Uo;break;case\\\"Bone\\\":o=new Sa;break;default:o=new rn}if(o.uuid=t.uuid,void 0!==t.name&&(o.name=t.name),void 0!==t.matrix?(o.matrix.fromArray(t.matrix),void 0!==t.matrixAutoUpdate&&(o.matrixAutoUpdate=t.matrixAutoUpdate),o.matrixAutoUpdate&&o.matrix.decompose(o.position,o.quaternion,o.scale)):(void 0!==t.position&&o.position.fromArray(t.position),void 0!==t.rotation&&o.rotation.fromArray(t.rotation),void 0!==t.quaternion&&o.quaternion.fromArray(t.quaternion),void 0!==t.scale&&o.scale.fromArray(t.scale)),void 0!==t.castShadow&&(o.castShadow=t.castShadow),void 0!==t.receiveShadow&&(o.receiveShadow=t.receiveShadow),t.shadow&&(void 0!==t.shadow.bias&&(o.shadow.bias=t.shadow.bias),void 0!==t.shadow.normalBias&&(o.shadow.normalBias=t.shadow.normalBias),void 0!==t.shadow.radius&&(o.shadow.radius=t.shadow.radius),void 0!==t.shadow.mapSize&&o.shadow.mapSize.fromArray(t.shadow.mapSize),void 0!==t.shadow.camera&&(o.shadow.camera=this.parseObject(t.shadow.camera))),void 0!==t.visible&&(o.visible=t.visible),void 0!==t.frustumCulled&&(o.frustumCulled=t.frustumCulled),void 0!==t.renderOrder&&(o.renderOrder=t.renderOrder),void 0!==t.userData&&(o.userData=t.userData),void 0!==t.layers&&(o.layers.mask=t.layers),void 0!==t.children){const a=t.children;for(let t=0;t<a.length;t++)o.add(this.parseObject(a[t],e,n,r,i))}if(void 0!==t.animations){const e=t.animations;for(let t=0;t<e.length;t++){const n=e[t];o.animations.push(i[n])}}if(\\\"LOD\\\"===t.type){void 0!==t.autoUpdate&&(o.autoUpdate=t.autoUpdate);const e=t.levels;for(let t=0;t<e.length;t++){const n=e[t],r=o.getObjectByProperty(\\\"uuid\\\",n.object);void 0!==r&&o.addLevel(r,n.distance)}}return o}bindSkeletons(t,e){0!==Object.keys(e).length&&t.traverse((function(t){if(!0===t.isSkinnedMesh&&void 0!==t.skeleton){const n=e[t.skeleton];void 0===n?console.warn(\\\"THREE.ObjectLoader: No skeleton found with UUID:\\\",t.skeleton):t.bind(n,t.bindMatrix)}}))}},e.ObjectSpaceNormalMap=1,e.OctahedronBufferGeometry=ml,e.OctahedronGeometry=ml,e.OneFactor=201,e.OneMinusDstAlphaFactor=207,e.OneMinusDstColorFactor=209,e.OneMinusSrcAlphaFactor=205,e.OneMinusSrcColorFactor=203,e.OrthographicCamera=Sr,e.PCFShadowMap=1,e.PCFSoftShadowMap=2,e.PMREMGenerator=Dr,e.ParametricGeometry=class extends Ln{constructor(){console.error(\\\"THREE.ParametricGeometry has been moved to /examples/jsm/geometries/ParametricGeometry.js\\\"),super()}},e.Path=Ms,e.PerspectiveCamera=ir,e.Plane=pr,e.PlaneBufferGeometry=yr,e.PlaneGeometry=yr,e.PlaneHelper=class extends Ha{constructor(t,e=1,n=16776960){const r=n,i=new Ln;i.setAttribute(\\\"position\\\",new Cn([1,-1,0,-1,1,0,-1,-1,0,1,1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0],3)),i.computeBoundingSphere(),super(i,new Na({color:r,toneMapped:!1})),this.type=\\\"PlaneHelper\\\",this.plane=t,this.size=e;const o=new Ln;o.setAttribute(\\\"position\\\",new Cn([1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0],3)),o.computeBoundingSphere(),this.add(new Zn(o,new yn({color:r,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1})))}updateMatrixWorld(t){this.position.set(0,0,0),this.scale.set(.5*this.size,.5*this.size,1),this.lookAt(this.plane.normal),this.translateZ(-this.plane.constant),super.updateMatrixWorld(t)}},e.PointLight=Au,e.PointLightHelper=class extends Zn{constructor(t,e,n){super(new yl(e,4,2),new yn({wireframe:!0,fog:!1,toneMapped:!1})),this.light=t,this.light.updateMatrixWorld(),this.color=n,this.type=\\\"PointLightHelper\\\",this.matrix=this.light.matrixWorld,this.matrixAutoUpdate=!1,this.update()}dispose(){this.geometry.dispose(),this.material.dispose()}update(){void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)}},e.Points=es,e.PointsMaterial=Za,e.PolarGridHelper=class extends Xa{constructor(t=10,e=16,n=8,r=64,i=4473924,o=8947848){i=new qt(i),o=new qt(o);const a=[],s=[];for(let n=0;n<=e;n++){const r=n/e*(2*Math.PI),l=Math.sin(r)*t,u=Math.cos(r)*t;a.push(0,0,0),a.push(l,0,u);const c=1&n?i:o;s.push(c.r,c.g,c.b),s.push(c.r,c.g,c.b)}for(let e=0;e<=n;e++){const l=1&e?i:o,u=t-t/n*e;for(let t=0;t<r;t++){let e=t/r*(2*Math.PI),n=Math.sin(e)*u,i=Math.cos(e)*u;a.push(n,0,i),s.push(l.r,l.g,l.b),e=(t+1)/r*(2*Math.PI),n=Math.sin(e)*u,i=Math.cos(e)*u,a.push(n,0,i),s.push(l.r,l.g,l.b)}}const l=new Ln;l.setAttribute(\\\"position\\\",new Cn(a,3)),l.setAttribute(\\\"color\\\",new Cn(s,3)),super(l,new Na({vertexColors:!0,toneMapped:!1})),this.type=\\\"PolarGridHelper\\\"}},e.PolyhedronBufferGeometry=Is,e.PolyhedronGeometry=Is,e.PositionalAudio=class extends Xu{constructor(t){super(t),this.panner=this.context.createPanner(),this.panner.panningModel=\\\"HRTF\\\",this.panner.connect(this.gain)}disconnect(){super.disconnect(),this.panner.disconnect(this.gain)}getOutput(){return this.panner}getRefDistance(){return this.panner.refDistance}setRefDistance(t){return this.panner.refDistance=t,this}getRolloffFactor(){return this.panner.rolloffFactor}setRolloffFactor(t){return this.panner.rolloffFactor=t,this}getDistanceModel(){return this.panner.distanceModel}setDistanceModel(t){return this.panner.distanceModel=t,this}getMaxDistance(){return this.panner.maxDistance}setMaxDistance(t){return this.panner.maxDistance=t,this}setDirectionalCone(t,e,n){return this.panner.coneInnerAngle=t,this.panner.coneOuterAngle=e,this.panner.coneOuterGain=n,this}updateMatrixWorld(t){if(super.updateMatrixWorld(t),!0===this.hasPlaybackControl&&!1===this.isPlaying)return;this.matrixWorld.decompose(Yu,Zu,Ku),Ju.set(0,0,1).applyQuaternion(Zu);const e=this.panner;if(e.positionX){const t=this.context.currentTime+this.listener.timeDelta;e.positionX.linearRampToValueAtTime(Yu.x,t),e.positionY.linearRampToValueAtTime(Yu.y,t),e.positionZ.linearRampToValueAtTime(Yu.z,t),e.orientationX.linearRampToValueAtTime(Ju.x,t),e.orientationY.linearRampToValueAtTime(Ju.y,t),e.orientationZ.linearRampToValueAtTime(Ju.z,t)}else e.setPosition(Yu.x,Yu.y,Yu.z),e.setOrientation(Ju.x,Ju.y,Ju.z)}},e.PropertyBinding=oc,e.PropertyMixer=Qu,e.QuadraticBezierCurve=bs,e.QuadraticBezierCurve3=xs,e.Quaternion=te,e.QuaternionKeyframeTrack=Jl,e.QuaternionLinearInterpolant=Kl,e.REVISION=n,e.RGBADepthPacking=3201,e.RGBAFormat=M,e.RGBAIntegerFormat=1033,e.RGBA_ASTC_10x10_Format=Y,e.RGBA_ASTC_10x5_Format=G,e.RGBA_ASTC_10x6_Format=W,e.RGBA_ASTC_10x8_Format=X,e.RGBA_ASTC_12x10_Format=Z,e.RGBA_ASTC_12x12_Format=K,e.RGBA_ASTC_4x4_Format=B,e.RGBA_ASTC_5x4_Format=N,e.RGBA_ASTC_5x5_Format=F,e.RGBA_ASTC_6x5_Format=j,e.RGBA_ASTC_6x6_Format=U,e.RGBA_ASTC_8x5_Format=q,e.RGBA_ASTC_8x6_Format=V,e.RGBA_ASTC_8x8_Format=H,e.RGBA_BPTC_Format=J,e.RGBA_ETC2_EAC_Format=$,e.RGBA_PVRTC_2BPPV1_Format=R,e.RGBA_PVRTC_4BPPV1_Format=z,e.RGBA_S3TC_DXT1_Format=k,e.RGBA_S3TC_DXT3_Format=O,e.RGBA_S3TC_DXT5_Format=I,e.RGBFormat=1022,e.RGB_ETC1_Format=36196,e.RGB_ETC2_Format=D,e.RGB_PVRTC_2BPPV1_Format=P,e.RGB_PVRTC_4BPPV1_Format=L,e.RGB_S3TC_DXT1_Format=S,e.RGFormat=1030,e.RGIntegerFormat=1031,e.RawShaderMaterial=Tl,e.Ray=Ie,e.Raycaster=class{constructor(t,e,n=0,r=1/0){this.ray=new Ie(t,e),this.near=n,this.far=r,this.camera=null,this.layers=new qe,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(t,e){this.ray.set(t,e)}setFromCamera(t,e){e.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(e.matrixWorld),this.ray.direction.set(t.x,t.y,.5).unproject(e).sub(this.ray.origin).normalize(),this.camera=e):e.isOrthographicCamera?(this.ray.origin.set(t.x,t.y,(e.near+e.far)/(e.near-e.far)).unproject(e),this.ray.direction.set(0,0,-1).transformDirection(e.matrixWorld),this.camera=e):console.error(\\\"THREE.Raycaster: Unsupported camera type: \\\"+e.type)}intersectObject(t,e=!0,n=[]){return hc(t,this,n,e),n.sort(cc),n}intersectObjects(t,e=!0,n=[]){for(let r=0,i=t.length;r<i;r++)hc(t[r],this,n,e);return n.sort(cc),n}},e.RectAreaLight=Tu,e.RedFormat=1028,e.RedIntegerFormat=1029,e.ReinhardToneMapping=2,e.RepeatWrapping=c,e.ReplaceStencilOp=7681,e.ReverseSubtractEquation=102,e.RingBufferGeometry=vl,e.RingGeometry=vl,e.SRGBColorSpace=lt,e.Scene=Qo,e.ShaderChunk=_r,e.ShaderLib=xr,e.ShaderMaterial=nr,e.ShadowMaterial=El,e.Shape=Bs,e.ShapeBufferGeometry=gl,e.ShapeGeometry=gl,e.ShapePath=class{constructor(){this.type=\\\"ShapePath\\\",this.color=new qt,this.subPaths=[],this.currentPath=null}moveTo(t,e){return this.currentPath=new Ms,this.subPaths.push(this.currentPath),this.currentPath.moveTo(t,e),this}lineTo(t,e){return this.currentPath.lineTo(t,e),this}quadraticCurveTo(t,e,n,r){return this.currentPath.quadraticCurveTo(t,e,n,r),this}bezierCurveTo(t,e,n,r,i,o){return this.currentPath.bezierCurveTo(t,e,n,r,i,o),this}splineThru(t){return this.currentPath.splineThru(t),this}toShapes(t,e){function n(t){const e=[];for(let n=0,r=t.length;n<r;n++){const r=t[n],i=new Bs;i.curves=r.curves,e.push(i)}return e}function r(t,e){const n=e.length;let r=!1;for(let i=n-1,o=0;o<n;i=o++){let n=e[i],a=e[o],s=a.x-n.x,l=a.y-n.y;if(Math.abs(l)>Number.EPSILON){if(l<0&&(n=e[o],s=-s,a=e[i],l=-l),t.y<n.y||t.y>a.y)continue;if(t.y===n.y){if(t.x===n.x)return!0}else{const e=l*(t.x-n.x)-s*(t.y-n.y);if(0===e)return!0;if(e<0)continue;r=!r}}else{if(t.y!==n.y)continue;if(a.x<=t.x&&t.x<=n.x||n.x<=t.x&&t.x<=a.x)return!0}}return r}const i=ul.isClockWise,o=this.subPaths;if(0===o.length)return[];if(!0===e)return n(o);let a,s,l;const u=[];if(1===o.length)return s=o[0],l=new Bs,l.curves=s.curves,u.push(l),u;let c=!i(o[0].getPoints());c=t?!c:c;const h=[],p=[];let f,d,m=[],v=0;p[v]=void 0,m[v]=[];for(let e=0,n=o.length;e<n;e++)s=o[e],f=s.getPoints(),a=i(f),a=t?!a:a,a?(!c&&p[v]&&v++,p[v]={s:new Bs,p:f},p[v].s.curves=s.curves,c&&v++,m[v]=[]):m[v].push({h:s,p:f[0]});if(!p[0])return n(o);if(p.length>1){let t=!1,e=0;for(let t=0,e=p.length;t<e;t++)h[t]=[];for(let n=0,i=p.length;n<i;n++){const i=m[n];for(let o=0;o<i.length;o++){const a=i[o];let s=!0;for(let i=0;i<p.length;i++)r(a.p,p[i].p)&&(n!==i&&e++,s?(s=!1,h[i].push(a)):t=!0);s&&h[n].push(a)}}e>0&&!1===t&&(m=h)}for(let t=0,e=p.length;t<e;t++){l=p[t].s,u.push(l),d=m[t];for(let t=0,e=d.length;t<e;t++)l.holes.push(d[t].h)}return u}},e.ShapeUtils=ul,e.ShortType=1011,e.Skeleton=La,e.SkeletonHelper=class extends Xa{constructor(t){const e=_c(t),n=new Ln,r=[],i=[],o=new qt(0,0,1),a=new qt(0,1,0);for(let t=0;t<e.length;t++){const n=e[t];n.parent&&n.parent.isBone&&(r.push(0,0,0),r.push(0,0,0),i.push(o.r,o.g,o.b),i.push(a.r,a.g,a.b))}n.setAttribute(\\\"position\\\",new Cn(r,3)),n.setAttribute(\\\"color\\\",new Cn(i,3)),super(n,new Na({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0})),this.isSkeletonHelper=!0,this.type=\\\"SkeletonHelper\\\",this.root=t,this.bones=e,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1}updateMatrixWorld(t){const e=this.bones,n=this.geometry,r=n.getAttribute(\\\"position\\\");yc.copy(this.root.matrixWorld).invert();for(let t=0,n=0;t<e.length;t++){const i=e[t];i.parent&&i.parent.isBone&&(gc.multiplyMatrices(yc,i.matrixWorld),vc.setFromMatrixPosition(gc),r.setXYZ(n,vc.x,vc.y,vc.z),gc.multiplyMatrices(yc,i.parent.matrixWorld),vc.setFromMatrixPosition(gc),r.setXYZ(n+1,vc.x,vc.y,vc.z),n+=2)}n.getAttribute(\\\"position\\\").needsUpdate=!0,super.updateMatrixWorld(t)}},e.SkinnedMesh=Ta,e.SmoothShading=2,e.Source=Gt,e.Sphere=Ae,e.SphereBufferGeometry=yl,e.SphereGeometry=yl,e.Spherical=class{constructor(t=1,e=0,n=0){return this.radius=t,this.phi=e,this.theta=n,this}set(t,e,n){return this.radius=t,this.phi=e,this.theta=n,this}copy(t){return this.radius=t.radius,this.phi=t.phi,this.theta=t.theta,this}makeSafe(){const t=1e-6;return this.phi=Math.max(t,Math.min(Math.PI-t,this.phi)),this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+e*e+n*n),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(t,n),this.phi=Math.acos(bt(e/this.radius,-1,1))),this}clone(){return(new this.constructor).copy(this)}},e.SphericalHarmonics3=Su,e.SplineCurve=ws,e.SpotLight=yu,e.SpotLightHelper=class extends rn{constructor(t,e){super(),this.light=t,this.light.updateMatrixWorld(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=e;const n=new Ln,r=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let t=0,e=1,n=32;t<n;t++,e++){const i=t/n*Math.PI*2,o=e/n*Math.PI*2;r.push(Math.cos(i),Math.sin(i),1,Math.cos(o),Math.sin(o),1)}n.setAttribute(\\\"position\\\",new Cn(r,3));const i=new Na({fog:!1,toneMapped:!1});this.cone=new Xa(n,i),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateMatrixWorld();const t=this.light.distance?this.light.distance:1e3,e=t*Math.tan(this.light.angle);this.cone.scale.set(e,e,t),mc.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(mc),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}},e.Sprite=ga,e.SpriteMaterial=ra,e.SrcAlphaFactor=204,e.SrcAlphaSaturateFactor=210,e.SrcColorFactor=202,e.StaticCopyUsage=35046,e.StaticDrawUsage=ht,e.StaticReadUsage=35045,e.StereoCamera=class{constructor(){this.type=\\\"StereoCamera\\\",this.aspect=1,this.eyeSep=.064,this.cameraL=new ir,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new ir,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(t){const e=this._cache;if(e.focus!==t.focus||e.fov!==t.fov||e.aspect!==t.aspect*this.aspect||e.near!==t.near||e.far!==t.far||e.zoom!==t.zoom||e.eyeSep!==this.eyeSep){e.focus=t.focus,e.fov=t.fov,e.aspect=t.aspect*this.aspect,e.near=t.near,e.far=t.far,e.zoom=t.zoom,e.eyeSep=this.eyeSep,ju.copy(t.projectionMatrix);const n=e.eyeSep/2,r=n*e.near/e.focus,i=e.near*Math.tan(gt*e.fov*.5)/e.zoom;let o,a;Fu.elements[12]=-n,Nu.elements[12]=n,o=-i*e.aspect+r,a=i*e.aspect+r,ju.elements[0]=2*e.near/(a-o),ju.elements[8]=(a+o)/(a-o),this.cameraL.projectionMatrix.copy(ju),o=-i*e.aspect-r,a=i*e.aspect-r,ju.elements[0]=2*e.near/(a-o),ju.elements[8]=(a+o)/(a-o),this.cameraR.projectionMatrix.copy(ju)}this.cameraL.matrixWorld.copy(t.matrixWorld).multiply(Fu),this.cameraR.matrixWorld.copy(t.matrixWorld).multiply(Nu)}},e.StreamCopyUsage=35042,e.StreamDrawUsage=35040,e.StreamReadUsage=35041,e.StringKeyframeTrack=Ql,e.SubtractEquation=101,e.SubtractiveBlending=3,e.TOUCH={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},e.TangentSpaceNormalMap=0,e.TetrahedronBufferGeometry=_l,e.TetrahedronGeometry=_l,e.TextGeometry=class extends Ln{constructor(){console.error(\\\"THREE.TextGeometry has been moved to /examples/jsm/geometries/TextGeometry.js\\\"),super()}},e.Texture=Yt,e.TextureLoader=class extends au{constructor(t){super(t)}load(t,e,n,r){const i=new Yt,o=new cu(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(t,(function(t){i.image=t,i.needsUpdate=!0,void 0!==e&&e(i)}),n,r),i}},e.TorusBufferGeometry=bl,e.TorusGeometry=bl,e.TorusKnotBufferGeometry=xl,e.TorusKnotGeometry=xl,e.Triangle=mn,e.TriangleFanDrawMode=2,e.TriangleStripDrawMode=1,e.TrianglesDrawMode=0,e.TubeBufferGeometry=wl,e.TubeGeometry=wl,e.UVMapping=i,e.Uint16BufferAttribute=wn,e.Uint32BufferAttribute=An,e.Uint8BufferAttribute=class extends xn{constructor(t,e,n){super(new Uint8Array(t),e,n)}},e.Uint8ClampedBufferAttribute=class extends xn{constructor(t,e,n){super(new Uint8ClampedArray(t),e,n)}},e.Uniform=lc,e.UniformsGroup=class extends dt{constructor(){super(),this.isUniformsGroup=!0,Object.defineProperty(this,\\\"id\\\",{value:uc++}),this.name=\\\"\\\",this.usage=ht,this.uniforms=[]}add(t){return this.uniforms.push(t),this}remove(t){const e=this.uniforms.indexOf(t);return-1!==e&&this.uniforms.splice(e,1),this}setName(t){return this.name=t,this}setUsage(t){return this.usage=t,this}dispose(){return this.dispatchEvent({type:\\\"dispose\\\"}),this}copy(t){this.name=t.name,this.usage=t.usage;const e=t.uniforms;this.uniforms.length=0;for(let t=0,n=e.length;t<n;t++)this.uniforms.push(e[t].clone());return this}clone(){return(new this.constructor).copy(this)}},e.UniformsLib=br,e.UniformsUtils=er,e.UnsignedByteType=_,e.UnsignedInt248Type=C,e.UnsignedIntType=x,e.UnsignedShort4444Type=1017,e.UnsignedShort5551Type=1018,e.UnsignedShortType=b,e.VSMShadowMap=3,e.Vector2=Tt,e.Vector3=ee,e.Vector4=Zt,e.VectorKeyframeTrack=tu,e.VideoTexture=class extends Yt{constructor(t,e,n,r,i,o,a,s,l){super(t,e,n,r,i,o,a,s,l),this.isVideoTexture=!0,this.minFilter=void 0!==o?o:v,this.magFilter=void 0!==i?i:v,this.generateMipmaps=!1;const u=this;\\\"requestVideoFrameCallback\\\"in t&&t.requestVideoFrameCallback((function e(){u.needsUpdate=!0,t.requestVideoFrameCallback(e)}))}clone(){return new this.constructor(this.image).copy(this)}update(){const t=this.image;!1==\\\"requestVideoFrameCallback\\\"in t&&t.readyState>=t.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}},e.WebGL1Renderer=Zo,e.WebGL3DRenderTarget=class extends Kt{constructor(t,e,n){super(t,e),this.isWebGL3DRenderTarget=!0,this.depth=n,this.texture=new Qt(null,t,e,n),this.texture.isRenderTargetTexture=!0}},e.WebGLArrayRenderTarget=class extends Kt{constructor(t,e,n){super(t,e),this.isWebGLArrayRenderTarget=!0,this.depth=n,this.texture=new Jt(null,t,e,n),this.texture.isRenderTargetTexture=!0}},e.WebGLCubeRenderTarget=lr,e.WebGLMultipleRenderTargets=class extends Kt{constructor(t,e,n,r={}){super(t,e,r),this.isWebGLMultipleRenderTargets=!0;const i=this.texture;this.texture=[];for(let t=0;t<n;t++)this.texture[t]=i.clone(),this.texture[t].isRenderTargetTexture=!0}setSize(t,e,n=1){if(this.width!==t||this.height!==e||this.depth!==n){this.width=t,this.height=e,this.depth=n;for(let r=0,i=this.texture.length;r<i;r++)this.texture[r].image.width=t,this.texture[r].image.height=e,this.texture[r].image.depth=n;this.dispose()}return this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e),this}copy(t){this.dispose(),this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.set(0,0,this.width,this.height),this.scissor.set(0,0,this.width,this.height),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.texture.length=0;for(let e=0,n=t.texture.length;e<n;e++)this.texture[e]=t.texture[e].clone(),this.texture[e].isRenderTargetTexture=!0;return this}},e.WebGLMultisampleRenderTarget=class extends Kt{constructor(t,e,n){console.error('THREE.WebGLMultisampleRenderTarget has been removed. Use a normal render target and set the \\\"samples\\\" property to greater 0 to enable multisampling.'),super(t,e,n),this.samples=4}},e.WebGLRenderTarget=Kt,e.WebGLRenderer=Yo,e.WebGLUtils=Fo,e.WireframeGeometry=Al,e.WrapAroundEnding=it,e.ZeroCurvatureEnding=nt,e.ZeroFactor=200,e.ZeroSlopeEnding=rt,e.ZeroStencilOp=0,e._SRGBAFormat=ft,e.sRGBEncoding=st},7560:(t,e,n)=>{\\\"use strict\\\";n.d(e,{$V:()=>Io,CJI:()=>Ie,FM8:()=>G,JOQ:()=>kn,Kj0:()=>fn,Pa4:()=>yt,QmN:()=>i,RsA:()=>r,TlE:()=>$e,Vkp:()=>W,Zzh:()=>zo,_fP:()=>gt,a$l:()=>Fe,pBf:()=>$,u9r:()=>Xe,yGw:()=>Yt});const r={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},i={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},o=100,a=301,s=302,l=306,u=1e3,c=1001,h=1002,p=1003,f=1006,d=1008,m=1009,v=1014,g=1015,y=1016,_=1020,b=1023,x=1026,w=1027,A=33776,C=33777,M=33778,E=33779,T=2300,S=2301,k=2302,O=3e3,I=3001,L=\\\"srgb\\\",P=\\\"srgb-linear\\\",z=7680,R=\\\"300 es\\\",D=1035;class ${addEventListener(t,e){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[t]&&(n[t]=[]),-1===n[t].indexOf(e)&&n[t].push(e)}hasEventListener(t,e){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[t]&&-1!==n[t].indexOf(e)}removeEventListener(t,e){if(void 0===this._listeners)return;const n=this._listeners[t];if(void 0!==n){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}dispatchEvent(t){if(void 0===this._listeners)return;const e=this._listeners[t.type];if(void 0!==e){t.target=this;const n=e.slice(0);for(let e=0,r=n.length;e<r;e++)n[e].call(this,t);t.target=null}}}const B=[\\\"00\\\",\\\"01\\\",\\\"02\\\",\\\"03\\\",\\\"04\\\",\\\"05\\\",\\\"06\\\",\\\"07\\\",\\\"08\\\",\\\"09\\\",\\\"0a\\\",\\\"0b\\\",\\\"0c\\\",\\\"0d\\\",\\\"0e\\\",\\\"0f\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\",\\\"13\\\",\\\"14\\\",\\\"15\\\",\\\"16\\\",\\\"17\\\",\\\"18\\\",\\\"19\\\",\\\"1a\\\",\\\"1b\\\",\\\"1c\\\",\\\"1d\\\",\\\"1e\\\",\\\"1f\\\",\\\"20\\\",\\\"21\\\",\\\"22\\\",\\\"23\\\",\\\"24\\\",\\\"25\\\",\\\"26\\\",\\\"27\\\",\\\"28\\\",\\\"29\\\",\\\"2a\\\",\\\"2b\\\",\\\"2c\\\",\\\"2d\\\",\\\"2e\\\",\\\"2f\\\",\\\"30\\\",\\\"31\\\",\\\"32\\\",\\\"33\\\",\\\"34\\\",\\\"35\\\",\\\"36\\\",\\\"37\\\",\\\"38\\\",\\\"39\\\",\\\"3a\\\",\\\"3b\\\",\\\"3c\\\",\\\"3d\\\",\\\"3e\\\",\\\"3f\\\",\\\"40\\\",\\\"41\\\",\\\"42\\\",\\\"43\\\",\\\"44\\\",\\\"45\\\",\\\"46\\\",\\\"47\\\",\\\"48\\\",\\\"49\\\",\\\"4a\\\",\\\"4b\\\",\\\"4c\\\",\\\"4d\\\",\\\"4e\\\",\\\"4f\\\",\\\"50\\\",\\\"51\\\",\\\"52\\\",\\\"53\\\",\\\"54\\\",\\\"55\\\",\\\"56\\\",\\\"57\\\",\\\"58\\\",\\\"59\\\",\\\"5a\\\",\\\"5b\\\",\\\"5c\\\",\\\"5d\\\",\\\"5e\\\",\\\"5f\\\",\\\"60\\\",\\\"61\\\",\\\"62\\\",\\\"63\\\",\\\"64\\\",\\\"65\\\",\\\"66\\\",\\\"67\\\",\\\"68\\\",\\\"69\\\",\\\"6a\\\",\\\"6b\\\",\\\"6c\\\",\\\"6d\\\",\\\"6e\\\",\\\"6f\\\",\\\"70\\\",\\\"71\\\",\\\"72\\\",\\\"73\\\",\\\"74\\\",\\\"75\\\",\\\"76\\\",\\\"77\\\",\\\"78\\\",\\\"79\\\",\\\"7a\\\",\\\"7b\\\",\\\"7c\\\",\\\"7d\\\",\\\"7e\\\",\\\"7f\\\",\\\"80\\\",\\\"81\\\",\\\"82\\\",\\\"83\\\",\\\"84\\\",\\\"85\\\",\\\"86\\\",\\\"87\\\",\\\"88\\\",\\\"89\\\",\\\"8a\\\",\\\"8b\\\",\\\"8c\\\",\\\"8d\\\",\\\"8e\\\",\\\"8f\\\",\\\"90\\\",\\\"91\\\",\\\"92\\\",\\\"93\\\",\\\"94\\\",\\\"95\\\",\\\"96\\\",\\\"97\\\",\\\"98\\\",\\\"99\\\",\\\"9a\\\",\\\"9b\\\",\\\"9c\\\",\\\"9d\\\",\\\"9e\\\",\\\"9f\\\",\\\"a0\\\",\\\"a1\\\",\\\"a2\\\",\\\"a3\\\",\\\"a4\\\",\\\"a5\\\",\\\"a6\\\",\\\"a7\\\",\\\"a8\\\",\\\"a9\\\",\\\"aa\\\",\\\"ab\\\",\\\"ac\\\",\\\"ad\\\",\\\"ae\\\",\\\"af\\\",\\\"b0\\\",\\\"b1\\\",\\\"b2\\\",\\\"b3\\\",\\\"b4\\\",\\\"b5\\\",\\\"b6\\\",\\\"b7\\\",\\\"b8\\\",\\\"b9\\\",\\\"ba\\\",\\\"bb\\\",\\\"bc\\\",\\\"bd\\\",\\\"be\\\",\\\"bf\\\",\\\"c0\\\",\\\"c1\\\",\\\"c2\\\",\\\"c3\\\",\\\"c4\\\",\\\"c5\\\",\\\"c6\\\",\\\"c7\\\",\\\"c8\\\",\\\"c9\\\",\\\"ca\\\",\\\"cb\\\",\\\"cc\\\",\\\"cd\\\",\\\"ce\\\",\\\"cf\\\",\\\"d0\\\",\\\"d1\\\",\\\"d2\\\",\\\"d3\\\",\\\"d4\\\",\\\"d5\\\",\\\"d6\\\",\\\"d7\\\",\\\"d8\\\",\\\"d9\\\",\\\"da\\\",\\\"db\\\",\\\"dc\\\",\\\"dd\\\",\\\"de\\\",\\\"df\\\",\\\"e0\\\",\\\"e1\\\",\\\"e2\\\",\\\"e3\\\",\\\"e4\\\",\\\"e5\\\",\\\"e6\\\",\\\"e7\\\",\\\"e8\\\",\\\"e9\\\",\\\"ea\\\",\\\"eb\\\",\\\"ec\\\",\\\"ed\\\",\\\"ee\\\",\\\"ef\\\",\\\"f0\\\",\\\"f1\\\",\\\"f2\\\",\\\"f3\\\",\\\"f4\\\",\\\"f5\\\",\\\"f6\\\",\\\"f7\\\",\\\"f8\\\",\\\"f9\\\",\\\"fa\\\",\\\"fb\\\",\\\"fc\\\",\\\"fd\\\",\\\"fe\\\",\\\"ff\\\"],N=Math.PI/180,F=180/Math.PI;function j(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0;return(B[255&t]+B[t>>8&255]+B[t>>16&255]+B[t>>24&255]+\\\"-\\\"+B[255&e]+B[e>>8&255]+\\\"-\\\"+B[e>>16&15|64]+B[e>>24&255]+\\\"-\\\"+B[63&n|128]+B[n>>8&255]+\\\"-\\\"+B[n>>16&255]+B[n>>24&255]+B[255&r]+B[r>>8&255]+B[r>>16&255]+B[r>>24&255]).toLowerCase()}function U(t,e,n){return Math.max(e,Math.min(n,t))}function q(t,e,n){return(1-n)*t+n*e}function V(t){return 0==(t&t-1)&&0!==t}function H(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}class G{constructor(t=0,e=0){G.prototype.isVector2=!0,this.x=t,this.y=e}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error(\\\"index is out of range: \\\"+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error(\\\"index is out of range: \\\"+t)}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){const e=this.x,n=this.y,r=t.elements;return this.x=r[0]*e+r[3]*n+r[6],this.y=r[1]*e+r[4]*n+r[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y;return e*e+n*n}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this}rotateAround(t,e){const n=Math.cos(e),r=Math.sin(e),i=this.x-t.x,o=this.y-t.y;return this.x=i*n-o*r+t.x,this.y=i*r+o*n+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class W{constructor(){W.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(t,e,n,r,i,o,a,s,l){const u=this.elements;return u[0]=t,u[1]=r,u[2]=a,u[3]=e,u[4]=i,u[5]=s,u[6]=n,u[7]=o,u[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],this}extractBasis(t,e,n){return t.setFromMatrix3Column(this,0),e.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){const e=t.elements;return this.set(e[0],e[4],e[8],e[1],e[5],e[9],e[2],e[6],e[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,r=e.elements,i=this.elements,o=n[0],a=n[3],s=n[6],l=n[1],u=n[4],c=n[7],h=n[2],p=n[5],f=n[8],d=r[0],m=r[3],v=r[6],g=r[1],y=r[4],_=r[7],b=r[2],x=r[5],w=r[8];return i[0]=o*d+a*g+s*b,i[3]=o*m+a*y+s*x,i[6]=o*v+a*_+s*w,i[1]=l*d+u*g+c*b,i[4]=l*m+u*y+c*x,i[7]=l*v+u*_+c*w,i[2]=h*d+p*g+f*b,i[5]=h*m+p*y+f*x,i[8]=h*v+p*_+f*w,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[3]*=t,e[6]*=t,e[1]*=t,e[4]*=t,e[7]*=t,e[2]*=t,e[5]*=t,e[8]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8];return e*o*u-e*a*l-n*i*u+n*a*s+r*i*l-r*o*s}invert(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=u*o-a*l,h=a*s-u*i,p=l*i-o*s,f=e*c+n*h+r*p;if(0===f)return this.set(0,0,0,0,0,0,0,0,0);const d=1/f;return t[0]=c*d,t[1]=(r*l-u*n)*d,t[2]=(a*n-r*o)*d,t[3]=h*d,t[4]=(u*e-r*s)*d,t[5]=(r*i-a*e)*d,t[6]=p*d,t[7]=(n*s-l*e)*d,t[8]=(o*e-n*i)*d,this}transpose(){let t;const e=this.elements;return t=e[1],e[1]=e[3],e[3]=t,t=e[2],e[2]=e[6],e[6]=t,t=e[5],e[5]=e[7],e[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const e=this.elements;return t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],this}setUvTransform(t,e,n,r,i,o,a){const s=Math.cos(i),l=Math.sin(i);return this.set(n*s,n*l,-n*(s*o+l*a)+o+t,-r*l,r*s,-r*(-l*o+s*a)+a+e,0,0,1),this}scale(t,e){const n=this.elements;return n[0]*=t,n[3]*=t,n[6]*=t,n[1]*=e,n[4]*=e,n[7]*=e,this}rotate(t){const e=Math.cos(t),n=Math.sin(t),r=this.elements,i=r[0],o=r[3],a=r[6],s=r[1],l=r[4],u=r[7];return r[0]=e*i+n*s,r[3]=e*o+n*l,r[6]=e*a+n*u,r[1]=-n*i+e*s,r[4]=-n*o+e*l,r[7]=-n*a+e*u,this}translate(t,e){const n=this.elements;return n[0]+=t*n[2],n[3]+=t*n[5],n[6]+=t*n[8],n[1]+=e*n[2],n[4]+=e*n[5],n[7]+=e*n[8],this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<9;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<9;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t}clone(){return(new this.constructor).fromArray(this.elements)}}function X(t){for(let e=t.length-1;e>=0;--e)if(t[e]>65535)return!0;return!1}function Y(t){return document.createElementNS(\\\"http://www.w3.org/1999/xhtml\\\",t)}function Z(t){return t<.04045?.0773993808*t:Math.pow(.9478672986*t+.0521327014,2.4)}function K(t){return t<.0031308?12.92*t:1.055*Math.pow(t,.41666)-.055}Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array;const J={[L]:{[P]:Z},[P]:{[L]:K}},Q={legacyMode:!0,get workingColorSpace(){return P},set workingColorSpace(t){console.warn(\\\"THREE.ColorManagement: .workingColorSpace is readonly.\\\")},convert:function(t,e,n){if(this.legacyMode||e===n||!e||!n)return t;if(J[e]&&void 0!==J[e][n]){const r=J[e][n];return t.r=r(t.r),t.g=r(t.g),t.b=r(t.b),t}throw new Error(\\\"Unsupported color space conversion.\\\")},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}},tt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},et={r:0,g:0,b:0},nt={h:0,s:0,l:0},rt={h:0,s:0,l:0};function it(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+6*(e-t)*(2/3-n):t}function ot(t,e){return e.r=t.r,e.g=t.g,e.b=t.b,e}class at{constructor(t,e,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,void 0===e&&void 0===n?this.set(t):this.setRGB(t,e,n)}set(t){return t&&t.isColor?this.copy(t):\\\"number\\\"==typeof t?this.setHex(t):\\\"string\\\"==typeof t&&this.setStyle(t),this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,e=\\\"srgb\\\"){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(255&t)/255,Q.toWorkingColorSpace(this,e),this}setRGB(t,e,n,r=\\\"srgb-linear\\\"){return this.r=t,this.g=e,this.b=n,Q.toWorkingColorSpace(this,r),this}setHSL(t,e,n,r=\\\"srgb-linear\\\"){if(t=(t%(i=1)+i)%i,e=U(e,0,1),n=U(n,0,1),0===e)this.r=this.g=this.b=n;else{const r=n<=.5?n*(1+e):n+e-n*e,i=2*n-r;this.r=it(i,r,t+1/3),this.g=it(i,r,t),this.b=it(i,r,t-1/3)}var i;return Q.toWorkingColorSpace(this,r),this}setStyle(t,e=\\\"srgb\\\"){function n(e){void 0!==e&&parseFloat(e)<1&&console.warn(\\\"THREE.Color: Alpha component of \\\"+t+\\\" will be ignored.\\\")}let r;if(r=/^((?:rgb|hsl)a?)\\\\(([^\\\\)]*)\\\\)/.exec(t)){let t;const i=r[1],o=r[2];switch(i){case\\\"rgb\\\":case\\\"rgba\\\":if(t=/^\\\\s*(\\\\d+)\\\\s*,\\\\s*(\\\\d+)\\\\s*,\\\\s*(\\\\d+)\\\\s*(?:,\\\\s*(\\\\d*\\\\.?\\\\d+)\\\\s*)?$/.exec(o))return this.r=Math.min(255,parseInt(t[1],10))/255,this.g=Math.min(255,parseInt(t[2],10))/255,this.b=Math.min(255,parseInt(t[3],10))/255,Q.toWorkingColorSpace(this,e),n(t[4]),this;if(t=/^\\\\s*(\\\\d+)\\\\%\\\\s*,\\\\s*(\\\\d+)\\\\%\\\\s*,\\\\s*(\\\\d+)\\\\%\\\\s*(?:,\\\\s*(\\\\d*\\\\.?\\\\d+)\\\\s*)?$/.exec(o))return this.r=Math.min(100,parseInt(t[1],10))/100,this.g=Math.min(100,parseInt(t[2],10))/100,this.b=Math.min(100,parseInt(t[3],10))/100,Q.toWorkingColorSpace(this,e),n(t[4]),this;break;case\\\"hsl\\\":case\\\"hsla\\\":if(t=/^\\\\s*(\\\\d*\\\\.?\\\\d+)\\\\s*,\\\\s*(\\\\d+)\\\\%\\\\s*,\\\\s*(\\\\d+)\\\\%\\\\s*(?:,\\\\s*(\\\\d*\\\\.?\\\\d+)\\\\s*)?$/.exec(o)){const r=parseFloat(t[1])/360,i=parseInt(t[2],10)/100,o=parseInt(t[3],10)/100;return n(t[4]),this.setHSL(r,i,o,e)}}}else if(r=/^\\\\#([A-Fa-f\\\\d]+)$/.exec(t)){const t=r[1],n=t.length;if(3===n)return this.r=parseInt(t.charAt(0)+t.charAt(0),16)/255,this.g=parseInt(t.charAt(1)+t.charAt(1),16)/255,this.b=parseInt(t.charAt(2)+t.charAt(2),16)/255,Q.toWorkingColorSpace(this,e),this;if(6===n)return this.r=parseInt(t.charAt(0)+t.charAt(1),16)/255,this.g=parseInt(t.charAt(2)+t.charAt(3),16)/255,this.b=parseInt(t.charAt(4)+t.charAt(5),16)/255,Q.toWorkingColorSpace(this,e),this}return t&&t.length>0?this.setColorName(t,e):this}setColorName(t,e=\\\"srgb\\\"){const n=tt[t.toLowerCase()];return void 0!==n?this.setHex(n,e):console.warn(\\\"THREE.Color: Unknown color \\\"+t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(t){return this.r=t.r,this.g=t.g,this.b=t.b,this}copySRGBToLinear(t){return this.r=Z(t.r),this.g=Z(t.g),this.b=Z(t.b),this}copyLinearToSRGB(t){return this.r=K(t.r),this.g=K(t.g),this.b=K(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=\\\"srgb\\\"){return Q.fromWorkingColorSpace(ot(this,et),t),U(255*et.r,0,255)<<16^U(255*et.g,0,255)<<8^U(255*et.b,0,255)<<0}getHexString(t=\\\"srgb\\\"){return(\\\"000000\\\"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,e=\\\"srgb-linear\\\"){Q.fromWorkingColorSpace(ot(this,et),e);const n=et.r,r=et.g,i=et.b,o=Math.max(n,r,i),a=Math.min(n,r,i);let s,l;const u=(a+o)/2;if(a===o)s=0,l=0;else{const t=o-a;switch(l=u<=.5?t/(o+a):t/(2-o-a),o){case n:s=(r-i)/t+(r<i?6:0);break;case r:s=(i-n)/t+2;break;case i:s=(n-r)/t+4}s/=6}return t.h=s,t.s=l,t.l=u,t}getRGB(t,e=\\\"srgb-linear\\\"){return Q.fromWorkingColorSpace(ot(this,et),e),t.r=et.r,t.g=et.g,t.b=et.b,t}getStyle(t=\\\"srgb\\\"){return Q.fromWorkingColorSpace(ot(this,et),t),t!==L?`color(${t} ${et.r} ${et.g} ${et.b})`:`rgb(${255*et.r|0},${255*et.g|0},${255*et.b|0})`}offsetHSL(t,e,n){return this.getHSL(nt),nt.h+=t,nt.s+=e,nt.l+=n,this.setHSL(nt.h,nt.s,nt.l),this}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this}addColors(t,e){return this.r=t.r+e.r,this.g=t.g+e.g,this.b=t.b+e.b,this}addScalar(t){return this.r+=t,this.g+=t,this.b+=t,this}sub(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this}multiply(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this}multiplyScalar(t){return this.r*=t,this.g*=t,this.b*=t,this}lerp(t,e){return this.r+=(t.r-this.r)*e,this.g+=(t.g-this.g)*e,this.b+=(t.b-this.b)*e,this}lerpColors(t,e,n){return this.r=t.r+(e.r-t.r)*n,this.g=t.g+(e.g-t.g)*n,this.b=t.b+(e.b-t.b)*n,this}lerpHSL(t,e){this.getHSL(nt),t.getHSL(rt);const n=q(nt.h,rt.h,e),r=q(nt.s,rt.s,e),i=q(nt.l,rt.l,e);return this.setHSL(n,r,i),this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b}fromArray(t,e=0){return this.r=t[e],this.g=t[e+1],this.b=t[e+2],this}toArray(t=[],e=0){return t[e]=this.r,t[e+1]=this.g,t[e+2]=this.b,t}fromBufferAttribute(t,e){return this.r=t.getX(e),this.g=t.getY(e),this.b=t.getZ(e),!0===t.normalized&&(this.r/=255,this.g/=255,this.b/=255),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}let st;at.NAMES=tt;class lt{static getDataURL(t){if(/^data:/i.test(t.src))return t.src;if(\\\"undefined\\\"==typeof HTMLCanvasElement)return t.src;let e;if(t instanceof HTMLCanvasElement)e=t;else{void 0===st&&(st=Y(\\\"canvas\\\")),st.width=t.width,st.height=t.height;const n=st.getContext(\\\"2d\\\");t instanceof ImageData?n.putImageData(t,0,0):n.drawImage(t,0,0,t.width,t.height),e=st}return e.width>2048||e.height>2048?(console.warn(\\\"THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons\\\",t),e.toDataURL(\\\"image/jpeg\\\",.6)):e.toDataURL(\\\"image/png\\\")}static sRGBToLinear(t){if(\\\"undefined\\\"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||\\\"undefined\\\"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||\\\"undefined\\\"!=typeof ImageBitmap&&t instanceof ImageBitmap){const e=Y(\\\"canvas\\\");e.width=t.width,e.height=t.height;const n=e.getContext(\\\"2d\\\");n.drawImage(t,0,0,t.width,t.height);const r=n.getImageData(0,0,t.width,t.height),i=r.data;for(let t=0;t<i.length;t++)i[t]=255*Z(i[t]/255);return n.putImageData(r,0,0),e}if(t.data){const e=t.data.slice(0);for(let t=0;t<e.length;t++)e instanceof Uint8Array||e instanceof Uint8ClampedArray?e[t]=Math.floor(255*Z(e[t]/255)):e[t]=Z(e[t]);return{data:e,width:t.width,height:t.height}}return console.warn(\\\"THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied.\\\"),t}}class ut{constructor(t=null){this.isSource=!0,this.uuid=j(),this.data=t,this.version=0}set needsUpdate(t){!0===t&&this.version++}toJSON(t){const e=void 0===t||\\\"string\\\"==typeof t;if(!e&&void 0!==t.images[this.uuid])return t.images[this.uuid];const n={uuid:this.uuid,url:\\\"\\\"},r=this.data;if(null!==r){let t;if(Array.isArray(r)){t=[];for(let e=0,n=r.length;e<n;e++)r[e].isDataTexture?t.push(ct(r[e].image)):t.push(ct(r[e]))}else t=ct(r);n.url=t}return e||(t.images[this.uuid]=n),n}}function ct(t){return\\\"undefined\\\"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||\\\"undefined\\\"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||\\\"undefined\\\"!=typeof ImageBitmap&&t instanceof ImageBitmap?lt.getDataURL(t):t.data?{data:Array.from(t.data),width:t.width,height:t.height,type:t.data.constructor.name}:(console.warn(\\\"THREE.Texture: Unable to serialize Texture.\\\"),{})}let ht=0;class pt extends ${constructor(t=pt.DEFAULT_IMAGE,e=pt.DEFAULT_MAPPING,n=1001,r=1001,i=1006,o=1008,a=1023,s=1009,l=1,u=3e3){super(),this.isTexture=!0,Object.defineProperty(this,\\\"id\\\",{value:ht++}),this.uuid=j(),this.name=\\\"\\\",this.source=new ut(t),this.mipmaps=[],this.mapping=e,this.wrapS=n,this.wrapT=r,this.magFilter=i,this.minFilter=o,this.anisotropy=l,this.format=a,this.internalFormat=null,this.type=s,this.offset=new G(0,0),this.repeat=new G(1,1),this.center=new G(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new W,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=u,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.needsPMREMUpdate=!1}get image(){return this.source.data}set image(t){this.source.data=t}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return(new this.constructor).copy(this)}copy(t){return this.name=t.name,this.source=t.source,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.encoding=t.encoding,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}toJSON(t){const e=void 0===t||\\\"string\\\"==typeof t;if(!e&&void 0!==t.textures[this.uuid])return t.textures[this.uuid];const n={metadata:{version:4.5,type:\\\"Texture\\\",generator:\\\"Texture.toJSON\\\"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).uuid,mapping:this.mapping,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return\\\"{}\\\"!==JSON.stringify(this.userData)&&(n.userData=this.userData),e||(t.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}transformUv(t){if(300!==this.mapping)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case u:t.x=t.x-Math.floor(t.x);break;case c:t.x=t.x<0?0:1;break;case h:1===Math.abs(Math.floor(t.x)%2)?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x)}if(t.y<0||t.y>1)switch(this.wrapT){case u:t.y=t.y-Math.floor(t.y);break;case c:t.y=t.y<0?0:1;break;case h:1===Math.abs(Math.floor(t.y)%2)?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y)}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){!0===t&&(this.version++,this.source.needsUpdate=!0)}}pt.DEFAULT_IMAGE=null,pt.DEFAULT_MAPPING=300;class ft{constructor(t=0,e=0,n=0,r=1){ft.prototype.isVector4=!0,this.x=t,this.y=e,this.z=n,this.w=r}get width(){return this.z}set width(t){this.z=t}get height(){return this.w}set height(t){this.w=t}set(t,e,n,r){return this.x=t,this.y=e,this.z=n,this.w=r,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this.w=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setW(t){return this.w=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;case 3:this.w=e;break;default:throw new Error(\\\"index is out of range: \\\"+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error(\\\"index is out of range: \\\"+t)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=void 0!==t.w?t.w:1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this.w=t.w+e.w,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this.w+=t.w*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this.w=t.w-e.w,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this}applyMatrix4(t){const e=this.x,n=this.y,r=this.z,i=this.w,o=t.elements;return this.x=o[0]*e+o[4]*n+o[8]*r+o[12]*i,this.y=o[1]*e+o[5]*n+o[9]*r+o[13]*i,this.z=o[2]*e+o[6]*n+o[10]*r+o[14]*i,this.w=o[3]*e+o[7]*n+o[11]*r+o[15]*i,this}divideScalar(t){return this.multiplyScalar(1/t)}setAxisAngleFromQuaternion(t){this.w=2*Math.acos(t.w);const e=Math.sqrt(1-t.w*t.w);return e<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/e,this.y=t.y/e,this.z=t.z/e),this}setAxisAngleFromRotationMatrix(t){let e,n,r,i;const o=.01,a=.1,s=t.elements,l=s[0],u=s[4],c=s[8],h=s[1],p=s[5],f=s[9],d=s[2],m=s[6],v=s[10];if(Math.abs(u-h)<o&&Math.abs(c-d)<o&&Math.abs(f-m)<o){if(Math.abs(u+h)<a&&Math.abs(c+d)<a&&Math.abs(f+m)<a&&Math.abs(l+p+v-3)<a)return this.set(1,0,0,0),this;e=Math.PI;const t=(l+1)/2,s=(p+1)/2,g=(v+1)/2,y=(u+h)/4,_=(c+d)/4,b=(f+m)/4;return t>s&&t>g?t<o?(n=0,r=.707106781,i=.707106781):(n=Math.sqrt(t),r=y/n,i=_/n):s>g?s<o?(n=.707106781,r=0,i=.707106781):(r=Math.sqrt(s),n=y/r,i=b/r):g<o?(n=.707106781,r=.707106781,i=0):(i=Math.sqrt(g),n=_/i,r=b/i),this.set(n,r,i,e),this}let g=Math.sqrt((m-f)*(m-f)+(c-d)*(c-d)+(h-u)*(h-u));return Math.abs(g)<.001&&(g=1),this.x=(m-f)/g,this.y=(c-d)/g,this.z=(h-u)/g,this.w=Math.acos((l+p+v-1)/2),this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this.w=Math.max(t.w,Math.min(e.w,this.w)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this.w=Math.max(t,Math.min(e,this.w)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this.w+=(t.w-this.w)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this.w=t.w+(e.w-t.w)*n,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this.w=t[e+3],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this.w=t.getW(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class dt extends ${constructor(t,e,n={}){super(),this.isWebGLRenderTarget=!0,this.width=t,this.height=e,this.depth=1,this.scissor=new ft(0,0,t,e),this.scissorTest=!1,this.viewport=new ft(0,0,t,e);const r={width:t,height:e,depth:1};this.texture=new pt(r,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=void 0!==n.generateMipmaps&&n.generateMipmaps,this.texture.internalFormat=void 0!==n.internalFormat?n.internalFormat:null,this.texture.minFilter=void 0!==n.minFilter?n.minFilter:f,this.depthBuffer=void 0===n.depthBuffer||n.depthBuffer,this.stencilBuffer=void 0!==n.stencilBuffer&&n.stencilBuffer,this.depthTexture=void 0!==n.depthTexture?n.depthTexture:null,this.samples=void 0!==n.samples?n.samples:0}setSize(t,e,n=1){this.width===t&&this.height===e&&this.depth===n||(this.width=t,this.height=e,this.depth=n,this.texture.image.width=t,this.texture.image.height=e,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,t,e),this.scissor.set(0,0,t,e)}clone(){return(new this.constructor).copy(this)}copy(t){this.width=t.width,this.height=t.height,this.depth=t.depth,this.viewport.copy(t.viewport),this.texture=t.texture.clone(),this.texture.isRenderTargetTexture=!0;const e=Object.assign({},t.texture.image);return this.texture.source=new ut(e),this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,null!==t.depthTexture&&(this.depthTexture=t.depthTexture.clone()),this.samples=t.samples,this}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}}class mt extends pt{constructor(t=null,e=1,n=1,r=1){super(null),this.isDataArrayTexture=!0,this.image={data:t,width:e,height:n,depth:r},this.magFilter=p,this.minFilter=p,this.wrapR=c,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class vt extends pt{constructor(t=null,e=1,n=1,r=1){super(null),this.isData3DTexture=!0,this.image={data:t,width:e,height:n,depth:r},this.magFilter=p,this.minFilter=p,this.wrapR=c,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class gt{constructor(t=0,e=0,n=0,r=1){this.isQuaternion=!0,this._x=t,this._y=e,this._z=n,this._w=r}static slerpFlat(t,e,n,r,i,o,a){let s=n[r+0],l=n[r+1],u=n[r+2],c=n[r+3];const h=i[o+0],p=i[o+1],f=i[o+2],d=i[o+3];if(0===a)return t[e+0]=s,t[e+1]=l,t[e+2]=u,void(t[e+3]=c);if(1===a)return t[e+0]=h,t[e+1]=p,t[e+2]=f,void(t[e+3]=d);if(c!==d||s!==h||l!==p||u!==f){let t=1-a;const e=s*h+l*p+u*f+c*d,n=e>=0?1:-1,r=1-e*e;if(r>Number.EPSILON){const i=Math.sqrt(r),o=Math.atan2(i,e*n);t=Math.sin(t*o)/i,a=Math.sin(a*o)/i}const i=a*n;if(s=s*t+h*i,l=l*t+p*i,u=u*t+f*i,c=c*t+d*i,t===1-a){const t=1/Math.sqrt(s*s+l*l+u*u+c*c);s*=t,l*=t,u*=t,c*=t}}t[e]=s,t[e+1]=l,t[e+2]=u,t[e+3]=c}static multiplyQuaternionsFlat(t,e,n,r,i,o){const a=n[r],s=n[r+1],l=n[r+2],u=n[r+3],c=i[o],h=i[o+1],p=i[o+2],f=i[o+3];return t[e]=a*f+u*c+s*p-l*h,t[e+1]=s*f+u*h+l*c-a*p,t[e+2]=l*f+u*p+a*h-s*c,t[e+3]=u*f-a*c-s*h-l*p,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,e,n,r){return this._x=t,this._y=e,this._z=n,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,e){if(!t||!t.isEuler)throw new Error(\\\"THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.\\\");const n=t._x,r=t._y,i=t._z,o=t._order,a=Math.cos,s=Math.sin,l=a(n/2),u=a(r/2),c=a(i/2),h=s(n/2),p=s(r/2),f=s(i/2);switch(o){case\\\"XYZ\\\":this._x=h*u*c+l*p*f,this._y=l*p*c-h*u*f,this._z=l*u*f+h*p*c,this._w=l*u*c-h*p*f;break;case\\\"YXZ\\\":this._x=h*u*c+l*p*f,this._y=l*p*c-h*u*f,this._z=l*u*f-h*p*c,this._w=l*u*c+h*p*f;break;case\\\"ZXY\\\":this._x=h*u*c-l*p*f,this._y=l*p*c+h*u*f,this._z=l*u*f+h*p*c,this._w=l*u*c-h*p*f;break;case\\\"ZYX\\\":this._x=h*u*c-l*p*f,this._y=l*p*c+h*u*f,this._z=l*u*f-h*p*c,this._w=l*u*c+h*p*f;break;case\\\"YZX\\\":this._x=h*u*c+l*p*f,this._y=l*p*c+h*u*f,this._z=l*u*f-h*p*c,this._w=l*u*c-h*p*f;break;case\\\"XZY\\\":this._x=h*u*c-l*p*f,this._y=l*p*c-h*u*f,this._z=l*u*f+h*p*c,this._w=l*u*c+h*p*f;break;default:console.warn(\\\"THREE.Quaternion: .setFromEuler() encountered an unknown order: \\\"+o)}return!1!==e&&this._onChangeCallback(),this}setFromAxisAngle(t,e){const n=e/2,r=Math.sin(n);return this._x=t.x*r,this._y=t.y*r,this._z=t.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(t){const e=t.elements,n=e[0],r=e[4],i=e[8],o=e[1],a=e[5],s=e[9],l=e[2],u=e[6],c=e[10],h=n+a+c;if(h>0){const t=.5/Math.sqrt(h+1);this._w=.25/t,this._x=(u-s)*t,this._y=(i-l)*t,this._z=(o-r)*t}else if(n>a&&n>c){const t=2*Math.sqrt(1+n-a-c);this._w=(u-s)/t,this._x=.25*t,this._y=(r+o)/t,this._z=(i+l)/t}else if(a>c){const t=2*Math.sqrt(1+a-n-c);this._w=(i-l)/t,this._x=(r+o)/t,this._y=.25*t,this._z=(s+u)/t}else{const t=2*Math.sqrt(1+c-n-a);this._w=(o-r)/t,this._x=(i+l)/t,this._y=(s+u)/t,this._z=.25*t}return this._onChangeCallback(),this}setFromUnitVectors(t,e){let n=t.dot(e)+1;return n<Number.EPSILON?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(U(this.dot(t),-1,1)))}rotateTowards(t,e){const n=this.angleTo(t);if(0===n)return this;const r=Math.min(1,e/n);return this.slerp(t,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const n=t._x,r=t._y,i=t._z,o=t._w,a=e._x,s=e._y,l=e._z,u=e._w;return this._x=n*u+o*a+r*l-i*s,this._y=r*u+o*s+i*a-n*l,this._z=i*u+o*l+n*s-r*a,this._w=o*u-n*a-r*s-i*l,this._onChangeCallback(),this}slerp(t,e){if(0===e)return this;if(1===e)return this.copy(t);const n=this._x,r=this._y,i=this._z,o=this._w;let a=o*t._w+n*t._x+r*t._y+i*t._z;if(a<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,a=-a):this.copy(t),a>=1)return this._w=o,this._x=n,this._y=r,this._z=i,this;const s=1-a*a;if(s<=Number.EPSILON){const t=1-e;return this._w=t*o+e*this._w,this._x=t*n+e*this._x,this._y=t*r+e*this._y,this._z=t*i+e*this._z,this.normalize(),this._onChangeCallback(),this}const l=Math.sqrt(s),u=Math.atan2(l,a),c=Math.sin((1-e)*u)/l,h=Math.sin(e*u)/l;return this._w=o*c+this._w*h,this._x=n*c+this._x*h,this._y=r*c+this._y*h,this._z=i*c+this._z*h,this._onChangeCallback(),this}slerpQuaternions(t,e,n){return this.copy(t).slerp(e,n)}random(){const t=Math.random(),e=Math.sqrt(1-t),n=Math.sqrt(t),r=2*Math.PI*Math.random(),i=2*Math.PI*Math.random();return this.set(e*Math.cos(r),n*Math.sin(i),n*Math.cos(i),e*Math.sin(r))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,e=0){return this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t}fromBufferAttribute(t,e){return this._x=t.getX(e),this._y=t.getY(e),this._z=t.getZ(e),this._w=t.getW(e),this}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class yt{constructor(t=0,e=0,n=0){yt.prototype.isVector3=!0,this.x=t,this.y=e,this.z=n}set(t,e,n){return void 0===n&&(n=this.z),this.x=t,this.y=e,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error(\\\"index is out of range: \\\"+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error(\\\"index is out of range: \\\"+t)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(bt.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(bt.setFromAxisAngle(t,e))}applyMatrix3(t){const e=this.x,n=this.y,r=this.z,i=t.elements;return this.x=i[0]*e+i[3]*n+i[6]*r,this.y=i[1]*e+i[4]*n+i[7]*r,this.z=i[2]*e+i[5]*n+i[8]*r,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const e=this.x,n=this.y,r=this.z,i=t.elements,o=1/(i[3]*e+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*e+i[4]*n+i[8]*r+i[12])*o,this.y=(i[1]*e+i[5]*n+i[9]*r+i[13])*o,this.z=(i[2]*e+i[6]*n+i[10]*r+i[14])*o,this}applyQuaternion(t){const e=this.x,n=this.y,r=this.z,i=t.x,o=t.y,a=t.z,s=t.w,l=s*e+o*r-a*n,u=s*n+a*e-i*r,c=s*r+i*n-o*e,h=-i*e-o*n-a*r;return this.x=l*s+h*-i+u*-a-c*-o,this.y=u*s+h*-o+c*-i-l*-a,this.z=c*s+h*-a+l*-o-u*-i,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){const e=this.x,n=this.y,r=this.z,i=t.elements;return this.x=i[0]*e+i[4]*n+i[8]*r,this.y=i[1]*e+i[5]*n+i[9]*r,this.z=i[2]*e+i[6]*n+i[10]*r,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=Math.max(t.x,Math.min(e.x,this.x)),this.y=Math.max(t.y,Math.min(e.y,this.y)),this.z=Math.max(t.z,Math.min(e.z,this.z)),this}clampScalar(t,e){return this.x=Math.max(t,Math.min(e,this.x)),this.y=Math.max(t,Math.min(e,this.y)),this.z=Math.max(t,Math.min(e,this.z)),this}clampLength(t,e){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(t,Math.min(e,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,n){return this.x=t.x+(e.x-t.x)*n,this.y=t.y+(e.y-t.y)*n,this.z=t.z+(e.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const n=t.x,r=t.y,i=t.z,o=e.x,a=e.y,s=e.z;return this.x=r*s-i*a,this.y=i*o-n*s,this.z=n*a-r*o,this}projectOnVector(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const n=t.dot(this)/e;return this.copy(t).multiplyScalar(n)}projectOnPlane(t){return _t.copy(this).projectOnVector(t),this.sub(_t)}reflect(t){return this.sub(_t.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const n=this.dot(t)/e;return Math.acos(U(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,n=this.y-t.y,r=this.z-t.z;return e*e+n*n+r*r}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,e,n){const r=Math.sin(e)*t;return this.x=r*Math.sin(n),this.y=Math.cos(e)*t,this.z=r*Math.cos(n),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,n){return this.x=t*Math.sin(e),this.y=n,this.z=t*Math.cos(e),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrixScale(t){const e=this.setFromMatrixColumn(t,0).length(),n=this.setFromMatrixColumn(t,1).length(),r=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=n,this.z=r,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,4*e)}setFromMatrix3Column(t,e){return this.fromArray(t.elements,3*e)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}fromBufferAttribute(t,e){return this.x=t.getX(e),this.y=t.getY(e),this.z=t.getZ(e),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=2*(Math.random()-.5),e=Math.random()*Math.PI*2,n=Math.sqrt(1-t**2);return this.x=n*Math.cos(e),this.y=n*Math.sin(e),this.z=t,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const _t=new yt,bt=new gt;class xt{constructor(t=new yt(1/0,1/0,1/0),e=new yt(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=t,this.max=e}set(t,e){return this.min.copy(t),this.max.copy(e),this}setFromArray(t){let e=1/0,n=1/0,r=1/0,i=-1/0,o=-1/0,a=-1/0;for(let s=0,l=t.length;s<l;s+=3){const l=t[s],u=t[s+1],c=t[s+2];l<e&&(e=l),u<n&&(n=u),c<r&&(r=c),l>i&&(i=l),u>o&&(o=u),c>a&&(a=c)}return this.min.set(e,n,r),this.max.set(i,o,a),this}setFromBufferAttribute(t){let e=1/0,n=1/0,r=1/0,i=-1/0,o=-1/0,a=-1/0;for(let s=0,l=t.count;s<l;s++){const l=t.getX(s),u=t.getY(s),c=t.getZ(s);l<e&&(e=l),u<n&&(n=u),c<r&&(r=c),l>i&&(i=l),u>o&&(o=u),c>a&&(a=c)}return this.min.set(e,n,r),this.max.set(i,o,a),this}setFromPoints(t){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.expandByPoint(t[e]);return this}setFromCenterAndSize(t,e){const n=At.copy(e).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}setFromObject(t,e=!1){return this.makeEmpty(),this.expandByObject(t,e)}clone(){return(new this.constructor).copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(t){return this.isEmpty()?t.set(0,0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}expandByObject(t,e=!1){t.updateWorldMatrix(!1,!1);const n=t.geometry;if(void 0!==n)if(e&&null!=n.attributes&&void 0!==n.attributes.position){const e=n.attributes.position;for(let n=0,r=e.count;n<r;n++)At.fromBufferAttribute(e,n).applyMatrix4(t.matrixWorld),this.expandByPoint(At)}else null===n.boundingBox&&n.computeBoundingBox(),Ct.copy(n.boundingBox),Ct.applyMatrix4(t.matrixWorld),this.union(Ct);const r=t.children;for(let t=0,n=r.length;t<n;t++)this.expandByObject(r[t],e);return this}containsPoint(t){return!(t.x<this.min.x||t.x>this.max.x||t.y<this.min.y||t.y>this.max.y||t.z<this.min.z||t.z>this.max.z)}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z}getParameter(t,e){return e.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(t){return!(t.max.x<this.min.x||t.min.x>this.max.x||t.max.y<this.min.y||t.min.y>this.max.y||t.max.z<this.min.z||t.min.z>this.max.z)}intersectsSphere(t){return this.clampPoint(t.center,At),At.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let e,n;return t.normal.x>0?(e=t.normal.x*this.min.x,n=t.normal.x*this.max.x):(e=t.normal.x*this.max.x,n=t.normal.x*this.min.x),t.normal.y>0?(e+=t.normal.y*this.min.y,n+=t.normal.y*this.max.y):(e+=t.normal.y*this.max.y,n+=t.normal.y*this.min.y),t.normal.z>0?(e+=t.normal.z*this.min.z,n+=t.normal.z*this.max.z):(e+=t.normal.z*this.max.z,n+=t.normal.z*this.min.z),e<=-t.constant&&n>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;this.getCenter(It),Lt.subVectors(this.max,It),Mt.subVectors(t.a,It),Et.subVectors(t.b,It),Tt.subVectors(t.c,It),St.subVectors(Et,Mt),kt.subVectors(Tt,Et),Ot.subVectors(Mt,Tt);let e=[0,-St.z,St.y,0,-kt.z,kt.y,0,-Ot.z,Ot.y,St.z,0,-St.x,kt.z,0,-kt.x,Ot.z,0,-Ot.x,-St.y,St.x,0,-kt.y,kt.x,0,-Ot.y,Ot.x,0];return!!Rt(e,Mt,Et,Tt,Lt)&&(e=[1,0,0,0,1,0,0,0,1],!!Rt(e,Mt,Et,Tt,Lt)&&(Pt.crossVectors(St,kt),e=[Pt.x,Pt.y,Pt.z],Rt(e,Mt,Et,Tt,Lt)))}clampPoint(t,e){return e.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return At.copy(t).clamp(this.min,this.max).sub(t).length()}getBoundingSphere(t){return this.getCenter(t.center),t.radius=.5*this.getSize(At).length(),t}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}applyMatrix4(t){return this.isEmpty()||(wt[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),wt[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),wt[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),wt[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),wt[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),wt[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),wt[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),wt[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(wt)),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}}const wt=[new yt,new yt,new yt,new yt,new yt,new yt,new yt,new yt],At=new yt,Ct=new xt,Mt=new yt,Et=new yt,Tt=new yt,St=new yt,kt=new yt,Ot=new yt,It=new yt,Lt=new yt,Pt=new yt,zt=new yt;function Rt(t,e,n,r,i){for(let o=0,a=t.length-3;o<=a;o+=3){zt.fromArray(t,o);const a=i.x*Math.abs(zt.x)+i.y*Math.abs(zt.y)+i.z*Math.abs(zt.z),s=e.dot(zt),l=n.dot(zt),u=r.dot(zt);if(Math.max(-Math.max(s,l,u),Math.min(s,l,u))>a)return!1}return!0}const Dt=new xt,$t=new yt,Bt=new yt,Nt=new yt;class Ft{constructor(t=new yt,e=-1){this.center=t,this.radius=e}set(t,e){return this.center.copy(t),this.radius=e,this}setFromPoints(t,e){const n=this.center;void 0!==e?n.copy(e):Dt.setFromPoints(t).getCenter(n);let r=0;for(let e=0,i=t.length;e<i;e++)r=Math.max(r,n.distanceToSquared(t[e]));return this.radius=Math.sqrt(r),this}copy(t){return this.center.copy(t.center),this.radius=t.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(t){return t.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(t){return t.distanceTo(this.center)-this.radius}intersectsSphere(t){const e=this.radius+t.radius;return t.center.distanceToSquared(this.center)<=e*e}intersectsBox(t){return t.intersectsSphere(this)}intersectsPlane(t){return Math.abs(t.distanceToPoint(this.center))<=this.radius}clampPoint(t,e){const n=this.center.distanceToSquared(t);return e.copy(t),n>this.radius*this.radius&&(e.sub(this.center).normalize(),e.multiplyScalar(this.radius).add(this.center)),e}getBoundingBox(t){return this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)}applyMatrix4(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this}translate(t){return this.center.add(t),this}expandByPoint(t){Nt.subVectors(t,this.center);const e=Nt.lengthSq();if(e>this.radius*this.radius){const t=Math.sqrt(e),n=.5*(t-this.radius);this.center.add(Nt.multiplyScalar(n/t)),this.radius+=n}return this}union(t){return!0===this.center.equals(t.center)?Bt.set(0,0,1).multiplyScalar(t.radius):Bt.subVectors(t.center,this.center).normalize().multiplyScalar(t.radius),this.expandByPoint($t.copy(t.center).add(Bt)),this.expandByPoint($t.copy(t.center).sub(Bt)),this}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return(new this.constructor).copy(this)}}const jt=new yt,Ut=new yt,qt=new yt,Vt=new yt,Ht=new yt,Gt=new yt,Wt=new yt;class Xt{constructor(t=new yt,e=new yt(0,0,-1)){this.origin=t,this.direction=e}set(t,e){return this.origin.copy(t),this.direction.copy(e),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,e){return e.copy(this.direction).multiplyScalar(t).add(this.origin)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,jt)),this}closestPointToPoint(t,e){e.subVectors(t,this.origin);const n=e.dot(this.direction);return n<0?e.copy(this.origin):e.copy(this.direction).multiplyScalar(n).add(this.origin)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const e=jt.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(jt.copy(this.direction).multiplyScalar(e).add(this.origin),jt.distanceToSquared(t))}distanceSqToSegment(t,e,n,r){Ut.copy(t).add(e).multiplyScalar(.5),qt.copy(e).sub(t).normalize(),Vt.copy(this.origin).sub(Ut);const i=.5*t.distanceTo(e),o=-this.direction.dot(qt),a=Vt.dot(this.direction),s=-Vt.dot(qt),l=Vt.lengthSq(),u=Math.abs(1-o*o);let c,h,p,f;if(u>0)if(c=o*s-a,h=o*a-s,f=i*u,c>=0)if(h>=-f)if(h<=f){const t=1/u;c*=t,h*=t,p=c*(c+o*h+2*a)+h*(o*c+h+2*s)+l}else h=i,c=Math.max(0,-(o*h+a)),p=-c*c+h*(h+2*s)+l;else h=-i,c=Math.max(0,-(o*h+a)),p=-c*c+h*(h+2*s)+l;else h<=-f?(c=Math.max(0,-(-o*i+a)),h=c>0?-i:Math.min(Math.max(-i,-s),i),p=-c*c+h*(h+2*s)+l):h<=f?(c=0,h=Math.min(Math.max(-i,-s),i),p=h*(h+2*s)+l):(c=Math.max(0,-(o*i+a)),h=c>0?i:Math.min(Math.max(-i,-s),i),p=-c*c+h*(h+2*s)+l);else h=o>0?-i:i,c=Math.max(0,-(o*h+a)),p=-c*c+h*(h+2*s)+l;return n&&n.copy(this.direction).multiplyScalar(c).add(this.origin),r&&r.copy(qt).multiplyScalar(h).add(Ut),p}intersectSphere(t,e){jt.subVectors(t.center,this.origin);const n=jt.dot(this.direction),r=jt.dot(jt)-n*n,i=t.radius*t.radius;if(r>i)return null;const o=Math.sqrt(i-r),a=n-o,s=n+o;return a<0&&s<0?null:a<0?this.at(s,e):this.at(a,e)}intersectsSphere(t){return this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){const e=t.normal.dot(this.direction);if(0===e)return 0===t.distanceToPoint(this.origin)?0:null;const n=-(this.origin.dot(t.normal)+t.constant)/e;return n>=0?n:null}intersectPlane(t,e){const n=this.distanceToPlane(t);return null===n?null:this.at(n,e)}intersectsPlane(t){const e=t.distanceToPoint(this.origin);return 0===e||t.normal.dot(this.direction)*e<0}intersectBox(t,e){let n,r,i,o,a,s;const l=1/this.direction.x,u=1/this.direction.y,c=1/this.direction.z,h=this.origin;return l>=0?(n=(t.min.x-h.x)*l,r=(t.max.x-h.x)*l):(n=(t.max.x-h.x)*l,r=(t.min.x-h.x)*l),u>=0?(i=(t.min.y-h.y)*u,o=(t.max.y-h.y)*u):(i=(t.max.y-h.y)*u,o=(t.min.y-h.y)*u),n>o||i>r?null:((i>n||n!=n)&&(n=i),(o<r||r!=r)&&(r=o),c>=0?(a=(t.min.z-h.z)*c,s=(t.max.z-h.z)*c):(a=(t.max.z-h.z)*c,s=(t.min.z-h.z)*c),n>s||a>r?null:((a>n||n!=n)&&(n=a),(s<r||r!=r)&&(r=s),r<0?null:this.at(n>=0?n:r,e)))}intersectsBox(t){return null!==this.intersectBox(t,jt)}intersectTriangle(t,e,n,r,i){Ht.subVectors(e,t),Gt.subVectors(n,t),Wt.crossVectors(Ht,Gt);let o,a=this.direction.dot(Wt);if(a>0){if(r)return null;o=1}else{if(!(a<0))return null;o=-1,a=-a}Vt.subVectors(this.origin,t);const s=o*this.direction.dot(Gt.crossVectors(Vt,Gt));if(s<0)return null;const l=o*this.direction.dot(Ht.cross(Vt));if(l<0)return null;if(s+l>a)return null;const u=-o*Vt.dot(Wt);return u<0?null:this.at(u/a,i)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return(new this.constructor).copy(this)}}class Yt{constructor(){Yt.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(t,e,n,r,i,o,a,s,l,u,c,h,p,f,d,m){const v=this.elements;return v[0]=t,v[4]=e,v[8]=n,v[12]=r,v[1]=i,v[5]=o,v[9]=a,v[13]=s,v[2]=l,v[6]=u,v[10]=c,v[14]=h,v[3]=p,v[7]=f,v[11]=d,v[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new Yt).fromArray(this.elements)}copy(t){const e=this.elements,n=t.elements;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],e[9]=n[9],e[10]=n[10],e[11]=n[11],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],this}copyPosition(t){const e=this.elements,n=t.elements;return e[12]=n[12],e[13]=n[13],e[14]=n[14],this}setFromMatrix3(t){const e=t.elements;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,n){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(t,e,n){return this.set(t.x,e.x,n.x,0,t.y,e.y,n.y,0,t.z,e.z,n.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,n=t.elements,r=1/Zt.setFromMatrixColumn(t,0).length(),i=1/Zt.setFromMatrixColumn(t,1).length(),o=1/Zt.setFromMatrixColumn(t,2).length();return e[0]=n[0]*r,e[1]=n[1]*r,e[2]=n[2]*r,e[3]=0,e[4]=n[4]*i,e[5]=n[5]*i,e[6]=n[6]*i,e[7]=0,e[8]=n[8]*o,e[9]=n[9]*o,e[10]=n[10]*o,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,n=t.x,r=t.y,i=t.z,o=Math.cos(n),a=Math.sin(n),s=Math.cos(r),l=Math.sin(r),u=Math.cos(i),c=Math.sin(i);if(\\\"XYZ\\\"===t.order){const t=o*u,n=o*c,r=a*u,i=a*c;e[0]=s*u,e[4]=-s*c,e[8]=l,e[1]=n+r*l,e[5]=t-i*l,e[9]=-a*s,e[2]=i-t*l,e[6]=r+n*l,e[10]=o*s}else if(\\\"YXZ\\\"===t.order){const t=s*u,n=s*c,r=l*u,i=l*c;e[0]=t+i*a,e[4]=r*a-n,e[8]=o*l,e[1]=o*c,e[5]=o*u,e[9]=-a,e[2]=n*a-r,e[6]=i+t*a,e[10]=o*s}else if(\\\"ZXY\\\"===t.order){const t=s*u,n=s*c,r=l*u,i=l*c;e[0]=t-i*a,e[4]=-o*c,e[8]=r+n*a,e[1]=n+r*a,e[5]=o*u,e[9]=i-t*a,e[2]=-o*l,e[6]=a,e[10]=o*s}else if(\\\"ZYX\\\"===t.order){const t=o*u,n=o*c,r=a*u,i=a*c;e[0]=s*u,e[4]=r*l-n,e[8]=t*l+i,e[1]=s*c,e[5]=i*l+t,e[9]=n*l-r,e[2]=-l,e[6]=a*s,e[10]=o*s}else if(\\\"YZX\\\"===t.order){const t=o*s,n=o*l,r=a*s,i=a*l;e[0]=s*u,e[4]=i-t*c,e[8]=r*c+n,e[1]=c,e[5]=o*u,e[9]=-a*u,e[2]=-l*u,e[6]=n*c+r,e[10]=t-i*c}else if(\\\"XZY\\\"===t.order){const t=o*s,n=o*l,r=a*s,i=a*l;e[0]=s*u,e[4]=-c,e[8]=l*u,e[1]=t*c+i,e[5]=o*u,e[9]=n*c-r,e[2]=r*c-n,e[6]=a*u,e[10]=i*c+t}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(Jt,t,Qt)}lookAt(t,e,n){const r=this.elements;return ne.subVectors(t,e),0===ne.lengthSq()&&(ne.z=1),ne.normalize(),te.crossVectors(n,ne),0===te.lengthSq()&&(1===Math.abs(n.z)?ne.x+=1e-4:ne.z+=1e-4,ne.normalize(),te.crossVectors(n,ne)),te.normalize(),ee.crossVectors(ne,te),r[0]=te.x,r[4]=ee.x,r[8]=ne.x,r[1]=te.y,r[5]=ee.y,r[9]=ne.y,r[2]=te.z,r[6]=ee.z,r[10]=ne.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const n=t.elements,r=e.elements,i=this.elements,o=n[0],a=n[4],s=n[8],l=n[12],u=n[1],c=n[5],h=n[9],p=n[13],f=n[2],d=n[6],m=n[10],v=n[14],g=n[3],y=n[7],_=n[11],b=n[15],x=r[0],w=r[4],A=r[8],C=r[12],M=r[1],E=r[5],T=r[9],S=r[13],k=r[2],O=r[6],I=r[10],L=r[14],P=r[3],z=r[7],R=r[11],D=r[15];return i[0]=o*x+a*M+s*k+l*P,i[4]=o*w+a*E+s*O+l*z,i[8]=o*A+a*T+s*I+l*R,i[12]=o*C+a*S+s*L+l*D,i[1]=u*x+c*M+h*k+p*P,i[5]=u*w+c*E+h*O+p*z,i[9]=u*A+c*T+h*I+p*R,i[13]=u*C+c*S+h*L+p*D,i[2]=f*x+d*M+m*k+v*P,i[6]=f*w+d*E+m*O+v*z,i[10]=f*A+d*T+m*I+v*R,i[14]=f*C+d*S+m*L+v*D,i[3]=g*x+y*M+_*k+b*P,i[7]=g*w+y*E+_*O+b*z,i[11]=g*A+y*T+_*I+b*R,i[15]=g*C+y*S+_*L+b*D,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this}determinant(){const t=this.elements,e=t[0],n=t[4],r=t[8],i=t[12],o=t[1],a=t[5],s=t[9],l=t[13],u=t[2],c=t[6],h=t[10],p=t[14];return t[3]*(+i*s*c-r*l*c-i*a*h+n*l*h+r*a*p-n*s*p)+t[7]*(+e*s*p-e*l*h+i*o*h-r*o*p+r*l*u-i*s*u)+t[11]*(+e*l*c-e*a*p-i*o*c+n*o*p+i*a*u-n*l*u)+t[15]*(-r*a*u-e*s*c+e*a*h+r*o*c-n*o*h+n*s*u)}transpose(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,n){const r=this.elements;return t.isVector3?(r[12]=t.x,r[13]=t.y,r[14]=t.z):(r[12]=t,r[13]=e,r[14]=n),this}invert(){const t=this.elements,e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=t[9],h=t[10],p=t[11],f=t[12],d=t[13],m=t[14],v=t[15],g=c*m*l-d*h*l+d*s*p-a*m*p-c*s*v+a*h*v,y=f*h*l-u*m*l-f*s*p+o*m*p+u*s*v-o*h*v,_=u*d*l-f*c*l+f*a*p-o*d*p-u*a*v+o*c*v,b=f*c*s-u*d*s-f*a*h+o*d*h+u*a*m-o*c*m,x=e*g+n*y+r*_+i*b;if(0===x)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const w=1/x;return t[0]=g*w,t[1]=(d*h*i-c*m*i-d*r*p+n*m*p+c*r*v-n*h*v)*w,t[2]=(a*m*i-d*s*i+d*r*l-n*m*l-a*r*v+n*s*v)*w,t[3]=(c*s*i-a*h*i-c*r*l+n*h*l+a*r*p-n*s*p)*w,t[4]=y*w,t[5]=(u*m*i-f*h*i+f*r*p-e*m*p-u*r*v+e*h*v)*w,t[6]=(f*s*i-o*m*i-f*r*l+e*m*l+o*r*v-e*s*v)*w,t[7]=(o*h*i-u*s*i+u*r*l-e*h*l-o*r*p+e*s*p)*w,t[8]=_*w,t[9]=(f*c*i-u*d*i-f*n*p+e*d*p+u*n*v-e*c*v)*w,t[10]=(o*d*i-f*a*i+f*n*l-e*d*l-o*n*v+e*a*v)*w,t[11]=(u*a*i-o*c*i-u*n*l+e*c*l+o*n*p-e*a*p)*w,t[12]=b*w,t[13]=(u*d*r-f*c*r+f*n*h-e*d*h-u*n*m+e*c*m)*w,t[14]=(f*a*r-o*d*r-f*n*s+e*d*s+o*n*m-e*a*m)*w,t[15]=(o*c*r-u*a*r+u*n*s-e*c*s-o*n*h+e*a*h)*w,this}scale(t){const e=this.elements,n=t.x,r=t.y,i=t.z;return e[0]*=n,e[4]*=r,e[8]*=i,e[1]*=n,e[5]*=r,e[9]*=i,e[2]*=n,e[6]*=r,e[10]*=i,e[3]*=n,e[7]*=r,e[11]*=i,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],r=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,n,r))}makeTranslation(t,e,n){return this.set(1,0,0,t,0,1,0,e,0,0,1,n,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,e,-n,0,0,n,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,0,n,0,0,1,0,0,-n,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),n=Math.sin(t);return this.set(e,-n,0,0,n,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const n=Math.cos(e),r=Math.sin(e),i=1-n,o=t.x,a=t.y,s=t.z,l=i*o,u=i*a;return this.set(l*o+n,l*a-r*s,l*s+r*a,0,l*a+r*s,u*a+n,u*s-r*o,0,l*s-r*a,u*s+r*o,i*s*s+n,0,0,0,0,1),this}makeScale(t,e,n){return this.set(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,e,n,r,i,o){return this.set(1,n,i,0,t,1,o,0,e,r,1,0,0,0,0,1),this}compose(t,e,n){const r=this.elements,i=e._x,o=e._y,a=e._z,s=e._w,l=i+i,u=o+o,c=a+a,h=i*l,p=i*u,f=i*c,d=o*u,m=o*c,v=a*c,g=s*l,y=s*u,_=s*c,b=n.x,x=n.y,w=n.z;return r[0]=(1-(d+v))*b,r[1]=(p+_)*b,r[2]=(f-y)*b,r[3]=0,r[4]=(p-_)*x,r[5]=(1-(h+v))*x,r[6]=(m+g)*x,r[7]=0,r[8]=(f+y)*w,r[9]=(m-g)*w,r[10]=(1-(h+d))*w,r[11]=0,r[12]=t.x,r[13]=t.y,r[14]=t.z,r[15]=1,this}decompose(t,e,n){const r=this.elements;let i=Zt.set(r[0],r[1],r[2]).length();const o=Zt.set(r[4],r[5],r[6]).length(),a=Zt.set(r[8],r[9],r[10]).length();this.determinant()<0&&(i=-i),t.x=r[12],t.y=r[13],t.z=r[14],Kt.copy(this);const s=1/i,l=1/o,u=1/a;return Kt.elements[0]*=s,Kt.elements[1]*=s,Kt.elements[2]*=s,Kt.elements[4]*=l,Kt.elements[5]*=l,Kt.elements[6]*=l,Kt.elements[8]*=u,Kt.elements[9]*=u,Kt.elements[10]*=u,e.setFromRotationMatrix(Kt),n.x=i,n.y=o,n.z=a,this}makePerspective(t,e,n,r,i,o){const a=this.elements,s=2*i/(e-t),l=2*i/(n-r),u=(e+t)/(e-t),c=(n+r)/(n-r),h=-(o+i)/(o-i),p=-2*o*i/(o-i);return a[0]=s,a[4]=0,a[8]=u,a[12]=0,a[1]=0,a[5]=l,a[9]=c,a[13]=0,a[2]=0,a[6]=0,a[10]=h,a[14]=p,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(t,e,n,r,i,o){const a=this.elements,s=1/(e-t),l=1/(n-r),u=1/(o-i),c=(e+t)*s,h=(n+r)*l,p=(o+i)*u;return a[0]=2*s,a[4]=0,a[8]=0,a[12]=-c,a[1]=0,a[5]=2*l,a[9]=0,a[13]=-h,a[2]=0,a[6]=0,a[10]=-2*u,a[14]=-p,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(t){const e=this.elements,n=t.elements;for(let t=0;t<16;t++)if(e[t]!==n[t])return!1;return!0}fromArray(t,e=0){for(let n=0;n<16;n++)this.elements[n]=t[n+e];return this}toArray(t=[],e=0){const n=this.elements;return t[e]=n[0],t[e+1]=n[1],t[e+2]=n[2],t[e+3]=n[3],t[e+4]=n[4],t[e+5]=n[5],t[e+6]=n[6],t[e+7]=n[7],t[e+8]=n[8],t[e+9]=n[9],t[e+10]=n[10],t[e+11]=n[11],t[e+12]=n[12],t[e+13]=n[13],t[e+14]=n[14],t[e+15]=n[15],t}}const Zt=new yt,Kt=new Yt,Jt=new yt(0,0,0),Qt=new yt(1,1,1),te=new yt,ee=new yt,ne=new yt,re=new Yt,ie=new gt;class oe{constructor(t=0,e=0,n=0,r=oe.DefaultOrder){this.isEuler=!0,this._x=t,this._y=e,this._z=n,this._order=r}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get order(){return this._order}set order(t){this._order=t,this._onChangeCallback()}set(t,e,n,r=this._order){return this._x=t,this._y=e,this._z=n,this._order=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this}setFromRotationMatrix(t,e=this._order,n=!0){const r=t.elements,i=r[0],o=r[4],a=r[8],s=r[1],l=r[5],u=r[9],c=r[2],h=r[6],p=r[10];switch(e){case\\\"XYZ\\\":this._y=Math.asin(U(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,p),this._z=Math.atan2(-o,i)):(this._x=Math.atan2(h,l),this._z=0);break;case\\\"YXZ\\\":this._x=Math.asin(-U(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,p),this._z=Math.atan2(s,l)):(this._y=Math.atan2(-c,i),this._z=0);break;case\\\"ZXY\\\":this._x=Math.asin(U(h,-1,1)),Math.abs(h)<.9999999?(this._y=Math.atan2(-c,p),this._z=Math.atan2(-o,l)):(this._y=0,this._z=Math.atan2(s,i));break;case\\\"ZYX\\\":this._y=Math.asin(-U(c,-1,1)),Math.abs(c)<.9999999?(this._x=Math.atan2(h,p),this._z=Math.atan2(s,i)):(this._x=0,this._z=Math.atan2(-o,l));break;case\\\"YZX\\\":this._z=Math.asin(U(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-u,l),this._y=Math.atan2(-c,i)):(this._x=0,this._y=Math.atan2(a,p));break;case\\\"XZY\\\":this._z=Math.asin(-U(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(h,l),this._y=Math.atan2(a,i)):(this._x=Math.atan2(-u,p),this._y=0);break;default:console.warn(\\\"THREE.Euler: .setFromRotationMatrix() encountered an unknown order: \\\"+e)}return this._order=e,!0===n&&this._onChangeCallback(),this}setFromQuaternion(t,e,n){return re.makeRotationFromQuaternion(t),this.setFromRotationMatrix(re,e,n)}setFromVector3(t,e=this._order){return this.set(t.x,t.y,t.z,e)}reorder(t){return ie.setFromEuler(this),this.setFromQuaternion(ie,t)}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order}fromArray(t){return this._x=t[0],this._y=t[1],this._z=t[2],void 0!==t[3]&&(this._order=t[3]),this._onChangeCallback(),this}toArray(t=[],e=0){return t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._order,t}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}toVector3(){console.error(\\\"THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead\\\")}}oe.DefaultOrder=\\\"XYZ\\\",oe.RotationOrders=[\\\"XYZ\\\",\\\"YZX\\\",\\\"ZXY\\\",\\\"XZY\\\",\\\"YXZ\\\",\\\"ZYX\\\"];class ae{constructor(){this.mask=1}set(t){this.mask=(1<<t|0)>>>0}enable(t){this.mask|=1<<t|0}enableAll(){this.mask=-1}toggle(t){this.mask^=1<<t|0}disable(t){this.mask&=~(1<<t|0)}disableAll(){this.mask=0}test(t){return 0!=(this.mask&t.mask)}isEnabled(t){return 0!=(this.mask&(1<<t|0))}}let se=0;const le=new yt,ue=new gt,ce=new Yt,he=new yt,pe=new yt,fe=new yt,de=new gt,me=new yt(1,0,0),ve=new yt(0,1,0),ge=new yt(0,0,1),ye={type:\\\"added\\\"},_e={type:\\\"removed\\\"};class be extends ${constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,\\\"id\\\",{value:se++}),this.uuid=j(),this.name=\\\"\\\",this.type=\\\"Object3D\\\",this.parent=null,this.children=[],this.up=be.DefaultUp.clone();const t=new yt,e=new oe,n=new gt,r=new yt(1,1,1);e._onChange((function(){n.setFromEuler(e,!1)})),n._onChange((function(){e.setFromQuaternion(n,void 0,!1)})),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:e},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new Yt},normalMatrix:{value:new W}}),this.matrix=new Yt,this.matrixWorld=new Yt,this.matrixAutoUpdate=be.DefaultMatrixAutoUpdate,this.matrixWorldNeedsUpdate=!1,this.layers=new ae,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeRender(){}onAfterRender(){}applyMatrix4(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(t){return this.quaternion.premultiply(t),this}setRotationFromAxisAngle(t,e){this.quaternion.setFromAxisAngle(t,e)}setRotationFromEuler(t){this.quaternion.setFromEuler(t,!0)}setRotationFromMatrix(t){this.quaternion.setFromRotationMatrix(t)}setRotationFromQuaternion(t){this.quaternion.copy(t)}rotateOnAxis(t,e){return ue.setFromAxisAngle(t,e),this.quaternion.multiply(ue),this}rotateOnWorldAxis(t,e){return ue.setFromAxisAngle(t,e),this.quaternion.premultiply(ue),this}rotateX(t){return this.rotateOnAxis(me,t)}rotateY(t){return this.rotateOnAxis(ve,t)}rotateZ(t){return this.rotateOnAxis(ge,t)}translateOnAxis(t,e){return le.copy(t).applyQuaternion(this.quaternion),this.position.add(le.multiplyScalar(e)),this}translateX(t){return this.translateOnAxis(me,t)}translateY(t){return this.translateOnAxis(ve,t)}translateZ(t){return this.translateOnAxis(ge,t)}localToWorld(t){return t.applyMatrix4(this.matrixWorld)}worldToLocal(t){return t.applyMatrix4(ce.copy(this.matrixWorld).invert())}lookAt(t,e,n){t.isVector3?he.copy(t):he.set(t,e,n);const r=this.parent;this.updateWorldMatrix(!0,!1),pe.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?ce.lookAt(pe,he,this.up):ce.lookAt(he,pe,this.up),this.quaternion.setFromRotationMatrix(ce),r&&(ce.extractRotation(r.matrixWorld),ue.setFromRotationMatrix(ce),this.quaternion.premultiply(ue.invert()))}add(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.add(arguments[t]);return this}return t===this?(console.error(\\\"THREE.Object3D.add: object can't be added as a child of itself.\\\",t),this):(t&&t.isObject3D?(null!==t.parent&&t.parent.remove(t),t.parent=this,this.children.push(t),t.dispatchEvent(ye)):console.error(\\\"THREE.Object3D.add: object not an instance of THREE.Object3D.\\\",t),this)}remove(t){if(arguments.length>1){for(let t=0;t<arguments.length;t++)this.remove(arguments[t]);return this}const e=this.children.indexOf(t);return-1!==e&&(t.parent=null,this.children.splice(e,1),t.dispatchEvent(_e)),this}removeFromParent(){const t=this.parent;return null!==t&&t.remove(this),this}clear(){for(let t=0;t<this.children.length;t++){const e=this.children[t];e.parent=null,e.dispatchEvent(_e)}return this.children.length=0,this}attach(t){return this.updateWorldMatrix(!0,!1),ce.copy(this.matrixWorld).invert(),null!==t.parent&&(t.parent.updateWorldMatrix(!0,!1),ce.multiply(t.parent.matrixWorld)),t.applyMatrix4(ce),this.add(t),t.updateWorldMatrix(!1,!0),this}getObjectById(t){return this.getObjectByProperty(\\\"id\\\",t)}getObjectByName(t){return this.getObjectByProperty(\\\"name\\\",t)}getObjectByProperty(t,e){if(this[t]===e)return this;for(let n=0,r=this.children.length;n<r;n++){const r=this.children[n].getObjectByProperty(t,e);if(void 0!==r)return r}}getWorldPosition(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(pe,t,fe),t}getWorldScale(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(pe,de,t),t}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(e[8],e[9],e[10]).normalize()}raycast(){}traverse(t){t(this);const e=this.children;for(let n=0,r=e.length;n<r;n++)e[n].traverse(t)}traverseVisible(t){if(!1===this.visible)return;t(this);const e=this.children;for(let n=0,r=e.length;n<r;n++)e[n].traverseVisible(t)}traverseAncestors(t){const e=this.parent;null!==e&&(t(e),e.traverseAncestors(t))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,t=!0);const e=this.children;for(let n=0,r=e.length;n<r;n++)e[n].updateMatrixWorld(t)}updateWorldMatrix(t,e){const n=this.parent;if(!0===t&&null!==n&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===e){const t=this.children;for(let e=0,n=t.length;e<n;e++)t[e].updateWorldMatrix(!1,!0)}}toJSON(t){const e=void 0===t||\\\"string\\\"==typeof t,n={};e&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.5,type:\\\"Object\\\",generator:\\\"Object3D.toJSON\\\"});const r={};function i(e,n){return void 0===e[n.uuid]&&(e[n.uuid]=n.toJSON(t)),n.uuid}if(r.uuid=this.uuid,r.type=this.type,\\\"\\\"!==this.name&&(r.name=this.name),!0===this.castShadow&&(r.castShadow=!0),!0===this.receiveShadow&&(r.receiveShadow=!0),!1===this.visible&&(r.visible=!1),!1===this.frustumCulled&&(r.frustumCulled=!1),0!==this.renderOrder&&(r.renderOrder=this.renderOrder),\\\"{}\\\"!==JSON.stringify(this.userData)&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),!1===this.matrixAutoUpdate&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type=\\\"InstancedMesh\\\",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(r.instanceColor=this.instanceColor.toJSON())),this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(r.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=i(t.geometries,this.geometry);const e=this.geometry.parameters;if(void 0!==e&&void 0!==e.shapes){const n=e.shapes;if(Array.isArray(n))for(let e=0,r=n.length;e<r;e++){const r=n[e];i(t.shapes,r)}else i(t.shapes,n)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(i(t.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const e=[];for(let n=0,r=this.material.length;n<r;n++)e.push(i(t.materials,this.material[n]));r.material=e}else r.material=i(t.materials,this.material);if(this.children.length>0){r.children=[];for(let e=0;e<this.children.length;e++)r.children.push(this.children[e].toJSON(t).object)}if(this.animations.length>0){r.animations=[];for(let e=0;e<this.animations.length;e++){const n=this.animations[e];r.animations.push(i(t.animations,n))}}if(e){const e=o(t.geometries),r=o(t.materials),i=o(t.textures),a=o(t.images),s=o(t.shapes),l=o(t.skeletons),u=o(t.animations),c=o(t.nodes);e.length>0&&(n.geometries=e),r.length>0&&(n.materials=r),i.length>0&&(n.textures=i),a.length>0&&(n.images=a),s.length>0&&(n.shapes=s),l.length>0&&(n.skeletons=l),u.length>0&&(n.animations=u),c.length>0&&(n.nodes=c)}return n.object=r,n;function o(t){const e=[];for(const n in t){const r=t[n];delete r.metadata,e.push(r)}return e}}clone(t){return(new this.constructor).copy(this,t)}copy(t,e=!0){if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.userData=JSON.parse(JSON.stringify(t.userData)),!0===e)for(let e=0;e<t.children.length;e++){const n=t.children[e];this.add(n.clone())}return this}}be.DefaultUp=new yt(0,1,0),be.DefaultMatrixAutoUpdate=!0;const xe=new yt,we=new yt,Ae=new yt,Ce=new yt,Me=new yt,Ee=new yt,Te=new yt,Se=new yt,ke=new yt,Oe=new yt;class Ie{constructor(t=new yt,e=new yt,n=new yt){this.a=t,this.b=e,this.c=n}static getNormal(t,e,n,r){r.subVectors(n,e),xe.subVectors(t,e),r.cross(xe);const i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}static getBarycoord(t,e,n,r,i){xe.subVectors(r,e),we.subVectors(n,e),Ae.subVectors(t,e);const o=xe.dot(xe),a=xe.dot(we),s=xe.dot(Ae),l=we.dot(we),u=we.dot(Ae),c=o*l-a*a;if(0===c)return i.set(-2,-1,-1);const h=1/c,p=(l*s-a*u)*h,f=(o*u-a*s)*h;return i.set(1-p-f,f,p)}static containsPoint(t,e,n,r){return this.getBarycoord(t,e,n,r,Ce),Ce.x>=0&&Ce.y>=0&&Ce.x+Ce.y<=1}static getUV(t,e,n,r,i,o,a,s){return this.getBarycoord(t,e,n,r,Ce),s.set(0,0),s.addScaledVector(i,Ce.x),s.addScaledVector(o,Ce.y),s.addScaledVector(a,Ce.z),s}static isFrontFacing(t,e,n,r){return xe.subVectors(n,e),we.subVectors(t,e),xe.cross(we).dot(r)<0}set(t,e,n){return this.a.copy(t),this.b.copy(e),this.c.copy(n),this}setFromPointsAndIndices(t,e,n,r){return this.a.copy(t[e]),this.b.copy(t[n]),this.c.copy(t[r]),this}setFromAttributeAndIndices(t,e,n,r){return this.a.fromBufferAttribute(t,e),this.b.fromBufferAttribute(t,n),this.c.fromBufferAttribute(t,r),this}clone(){return(new this.constructor).copy(this)}copy(t){return this.a.copy(t.a),this.b.copy(t.b),this.c.copy(t.c),this}getArea(){return xe.subVectors(this.c,this.b),we.subVectors(this.a,this.b),.5*xe.cross(we).length()}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return Ie.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,e){return Ie.getBarycoord(t,this.a,this.b,this.c,e)}getUV(t,e,n,r,i){return Ie.getUV(t,this.a,this.b,this.c,e,n,r,i)}containsPoint(t){return Ie.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return Ie.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,e){const n=this.a,r=this.b,i=this.c;let o,a;Me.subVectors(r,n),Ee.subVectors(i,n),Se.subVectors(t,n);const s=Me.dot(Se),l=Ee.dot(Se);if(s<=0&&l<=0)return e.copy(n);ke.subVectors(t,r);const u=Me.dot(ke),c=Ee.dot(ke);if(u>=0&&c<=u)return e.copy(r);const h=s*c-u*l;if(h<=0&&s>=0&&u<=0)return o=s/(s-u),e.copy(n).addScaledVector(Me,o);Oe.subVectors(t,i);const p=Me.dot(Oe),f=Ee.dot(Oe);if(f>=0&&p<=f)return e.copy(i);const d=p*l-s*f;if(d<=0&&l>=0&&f<=0)return a=l/(l-f),e.copy(n).addScaledVector(Ee,a);const m=u*f-p*c;if(m<=0&&c-u>=0&&p-f>=0)return Te.subVectors(i,r),a=(c-u)/(c-u+(p-f)),e.copy(r).addScaledVector(Te,a);const v=1/(m+d+h);return o=d*v,a=h*v,e.copy(n).addScaledVector(Me,o).addScaledVector(Ee,a)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}}let Le=0;class Pe extends ${constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,\\\"id\\\",{value:Le++}),this.uuid=j(),this.name=\\\"\\\",this.type=\\\"Material\\\",this.blending=1,this.side=0,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=204,this.blendDst=205,this.blendEquation=o,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=3,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=z,this.stencilZFail=z,this.stencilZPass=z,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(t){this._alphaTest>0!=t>0&&this.version++,this._alphaTest=t}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(void 0!==t)for(const e in t){const n=t[e];if(void 0===n){console.warn(\\\"THREE.Material: '\\\"+e+\\\"' parameter is undefined.\\\");continue}if(\\\"shading\\\"===e){console.warn(\\\"THREE.\\\"+this.type+\\\": .shading has been removed. Use the boolean .flatShading instead.\\\"),this.flatShading=1===n;continue}const r=this[e];void 0!==r?r&&r.isColor?r.set(n):r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[e]=n:console.warn(\\\"THREE.\\\"+this.type+\\\": '\\\"+e+\\\"' is not a property of this material.\\\")}}toJSON(t){const e=void 0===t||\\\"string\\\"==typeof t;e&&(t={textures:{},images:{}});const n={metadata:{version:4.5,type:\\\"Material\\\",generator:\\\"Material.toJSON\\\"}};function r(t){const e=[];for(const n in t){const r=t[n];delete r.metadata,e.push(r)}return e}if(n.uuid=this.uuid,n.type=this.type,\\\"\\\"!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(t).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(t).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(t).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(t).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(t).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(t).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(t).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(t).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(t).uuid),void 0!==this.attenuationDistance&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),1!==this.blending&&(n.blending=this.blending),0!==this.side&&(n.side=this.side),this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=this.transparent),n.depthFunc=this.depthFunc,n.depthTest=this.depthTest,n.depthWrite=this.depthWrite,n.colorWrite=this.colorWrite,n.stencilWrite=this.stencilWrite,n.stencilWriteMask=this.stencilWriteMask,n.stencilFunc=this.stencilFunc,n.stencilRef=this.stencilRef,n.stencilFuncMask=this.stencilFuncMask,n.stencilFail=this.stencilFail,n.stencilZFail=this.stencilZFail,n.stencilZPass=this.stencilZPass,void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaToCoverage&&(n.alphaToCoverage=this.alphaToCoverage),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=this.premultipliedAlpha),!0===this.wireframe&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),\\\"round\\\"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),\\\"round\\\"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=this.flatShading),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),\\\"{}\\\"!==JSON.stringify(this.userData)&&(n.userData=this.userData),e){const e=r(t.textures),i=r(t.images);e.length>0&&(n.textures=e),i.length>0&&(n.images=i)}return n}clone(){return(new this.constructor).copy(this)}copy(t){this.name=t.name,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;const e=t.clippingPlanes;let n=null;if(null!==e){const t=e.length;n=new Array(t);for(let r=0;r!==t;++r)n[r]=e[r].clone()}return this.clippingPlanes=n,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}set needsUpdate(t){!0===t&&this.version++}}class ze extends Pe{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type=\\\"MeshBasicMaterial\\\",this.color=new at(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap=\\\"round\\\",this.wireframeLinejoin=\\\"round\\\",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}}const Re=new yt,De=new G;class $e{constructor(t,e,n){if(Array.isArray(t))throw new TypeError(\\\"THREE.BufferAttribute: array should be a Typed Array.\\\");this.isBufferAttribute=!0,this.name=\\\"\\\",this.array=t,this.itemSize=e,this.count=void 0!==t?t.length/e:0,this.normalized=!0===n,this.usage=35044,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(t){!0===t&&this.version++}setUsage(t){return this.usage=t,this}copy(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this}copyAt(t,e,n){t*=this.itemSize,n*=e.itemSize;for(let r=0,i=this.itemSize;r<i;r++)this.array[t+r]=e.array[n+r];return this}copyArray(t){return this.array.set(t),this}copyColorsArray(t){const e=this.array;let n=0;for(let r=0,i=t.length;r<i;r++){let i=t[r];void 0===i&&(console.warn(\\\"THREE.BufferAttribute.copyColorsArray(): color is undefined\\\",r),i=new at),e[n++]=i.r,e[n++]=i.g,e[n++]=i.b}return this}copyVector2sArray(t){const e=this.array;let n=0;for(let r=0,i=t.length;r<i;r++){let i=t[r];void 0===i&&(console.warn(\\\"THREE.BufferAttribute.copyVector2sArray(): vector is undefined\\\",r),i=new G),e[n++]=i.x,e[n++]=i.y}return this}copyVector3sArray(t){const e=this.array;let n=0;for(let r=0,i=t.length;r<i;r++){let i=t[r];void 0===i&&(console.warn(\\\"THREE.BufferAttribute.copyVector3sArray(): vector is undefined\\\",r),i=new yt),e[n++]=i.x,e[n++]=i.y,e[n++]=i.z}return this}copyVector4sArray(t){const e=this.array;let n=0;for(let r=0,i=t.length;r<i;r++){let i=t[r];void 0===i&&(console.warn(\\\"THREE.BufferAttribute.copyVector4sArray(): vector is undefined\\\",r),i=new ft),e[n++]=i.x,e[n++]=i.y,e[n++]=i.z,e[n++]=i.w}return this}applyMatrix3(t){if(2===this.itemSize)for(let e=0,n=this.count;e<n;e++)De.fromBufferAttribute(this,e),De.applyMatrix3(t),this.setXY(e,De.x,De.y);else if(3===this.itemSize)for(let e=0,n=this.count;e<n;e++)Re.fromBufferAttribute(this,e),Re.applyMatrix3(t),this.setXYZ(e,Re.x,Re.y,Re.z);return this}applyMatrix4(t){for(let e=0,n=this.count;e<n;e++)Re.fromBufferAttribute(this,e),Re.applyMatrix4(t),this.setXYZ(e,Re.x,Re.y,Re.z);return this}applyNormalMatrix(t){for(let e=0,n=this.count;e<n;e++)Re.fromBufferAttribute(this,e),Re.applyNormalMatrix(t),this.setXYZ(e,Re.x,Re.y,Re.z);return this}transformDirection(t){for(let e=0,n=this.count;e<n;e++)Re.fromBufferAttribute(this,e),Re.transformDirection(t),this.setXYZ(e,Re.x,Re.y,Re.z);return this}set(t,e=0){return this.array.set(t,e),this}getX(t){return this.array[t*this.itemSize]}setX(t,e){return this.array[t*this.itemSize]=e,this}getY(t){return this.array[t*this.itemSize+1]}setY(t,e){return this.array[t*this.itemSize+1]=e,this}getZ(t){return this.array[t*this.itemSize+2]}setZ(t,e){return this.array[t*this.itemSize+2]=e,this}getW(t){return this.array[t*this.itemSize+3]}setW(t,e){return this.array[t*this.itemSize+3]=e,this}setXY(t,e,n){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=n,this}setXYZ(t,e,n,r){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=r,this}setXYZW(t,e,n,r,i){return t*=this.itemSize,this.array[t+0]=e,this.array[t+1]=n,this.array[t+2]=r,this.array[t+3]=i,this}onUpload(t){return this.onUploadCallback=t,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const t={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return\\\"\\\"!==this.name&&(t.name=this.name),35044!==this.usage&&(t.usage=this.usage),0===this.updateRange.offset&&-1===this.updateRange.count||(t.updateRange=this.updateRange),t}}class Be extends $e{constructor(t,e,n){super(new Uint16Array(t),e,n)}}class Ne extends $e{constructor(t,e,n){super(new Uint32Array(t),e,n)}}class Fe extends $e{constructor(t,e,n){super(new Float32Array(t),e,n)}}let je=0;const Ue=new Yt,qe=new be,Ve=new yt,He=new xt,Ge=new xt,We=new yt;class Xe extends ${constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,\\\"id\\\",{value:je++}),this.uuid=j(),this.name=\\\"\\\",this.type=\\\"BufferGeometry\\\",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(t){return Array.isArray(t)?this.index=new(X(t)?Ne:Be)(t,1):this.index=t,this}getAttribute(t){return this.attributes[t]}setAttribute(t,e){return this.attributes[t]=e,this}deleteAttribute(t){return delete this.attributes[t],this}hasAttribute(t){return void 0!==this.attributes[t]}addGroup(t,e,n=0){this.groups.push({start:t,count:e,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(t,e){this.drawRange.start=t,this.drawRange.count=e}applyMatrix4(t){const e=this.attributes.position;void 0!==e&&(e.applyMatrix4(t),e.needsUpdate=!0);const n=this.attributes.normal;if(void 0!==n){const e=(new W).getNormalMatrix(t);n.applyNormalMatrix(e),n.needsUpdate=!0}const r=this.attributes.tangent;return void 0!==r&&(r.transformDirection(t),r.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(t){return Ue.makeRotationFromQuaternion(t),this.applyMatrix4(Ue),this}rotateX(t){return Ue.makeRotationX(t),this.applyMatrix4(Ue),this}rotateY(t){return Ue.makeRotationY(t),this.applyMatrix4(Ue),this}rotateZ(t){return Ue.makeRotationZ(t),this.applyMatrix4(Ue),this}translate(t,e,n){return Ue.makeTranslation(t,e,n),this.applyMatrix4(Ue),this}scale(t,e,n){return Ue.makeScale(t,e,n),this.applyMatrix4(Ue),this}lookAt(t){return qe.lookAt(t),qe.updateMatrix(),this.applyMatrix4(qe.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Ve).negate(),this.translate(Ve.x,Ve.y,Ve.z),this}setFromPoints(t){const e=[];for(let n=0,r=t.length;n<r;n++){const r=t[n];e.push(r.x,r.y,r.z||0)}return this.setAttribute(\\\"position\\\",new Fe(e,3)),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new xt);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set \\\"mesh.frustumCulled\\\" to \\\"false\\\".',this),void this.boundingBox.set(new yt(-1/0,-1/0,-1/0),new yt(1/0,1/0,1/0));if(void 0!==t){if(this.boundingBox.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];He.setFromBufferAttribute(n),this.morphTargetsRelative?(We.addVectors(this.boundingBox.min,He.min),this.boundingBox.expandByPoint(We),We.addVectors(this.boundingBox.max,He.max),this.boundingBox.expandByPoint(We)):(this.boundingBox.expandByPoint(He.min),this.boundingBox.expandByPoint(He.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The \\\"position\\\" attribute is likely to have NaN values.',this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new Ft);const t=this.attributes.position,e=this.morphAttributes.position;if(t&&t.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set \\\"mesh.frustumCulled\\\" to \\\"false\\\".',this),void this.boundingSphere.set(new yt,1/0);if(t){const n=this.boundingSphere.center;if(He.setFromBufferAttribute(t),e)for(let t=0,n=e.length;t<n;t++){const n=e[t];Ge.setFromBufferAttribute(n),this.morphTargetsRelative?(We.addVectors(He.min,Ge.min),He.expandByPoint(We),We.addVectors(He.max,Ge.max),He.expandByPoint(We)):(He.expandByPoint(Ge.min),He.expandByPoint(Ge.max))}He.getCenter(n);let r=0;for(let e=0,i=t.count;e<i;e++)We.fromBufferAttribute(t,e),r=Math.max(r,n.distanceToSquared(We));if(e)for(let i=0,o=e.length;i<o;i++){const o=e[i],a=this.morphTargetsRelative;for(let e=0,i=o.count;e<i;e++)We.fromBufferAttribute(o,e),a&&(Ve.fromBufferAttribute(t,e),We.add(Ve)),r=Math.max(r,n.distanceToSquared(We))}this.boundingSphere.radius=Math.sqrt(r),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The \\\"position\\\" attribute is likely to have NaN values.',this)}}computeTangents(){const t=this.index,e=this.attributes;if(null===t||void 0===e.position||void 0===e.normal||void 0===e.uv)return void console.error(\\\"THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)\\\");const n=t.array,r=e.position.array,i=e.normal.array,o=e.uv.array,a=r.length/3;!1===this.hasAttribute(\\\"tangent\\\")&&this.setAttribute(\\\"tangent\\\",new $e(new Float32Array(4*a),4));const s=this.getAttribute(\\\"tangent\\\").array,l=[],u=[];for(let t=0;t<a;t++)l[t]=new yt,u[t]=new yt;const c=new yt,h=new yt,p=new yt,f=new G,d=new G,m=new G,v=new yt,g=new yt;function y(t,e,n){c.fromArray(r,3*t),h.fromArray(r,3*e),p.fromArray(r,3*n),f.fromArray(o,2*t),d.fromArray(o,2*e),m.fromArray(o,2*n),h.sub(c),p.sub(c),d.sub(f),m.sub(f);const i=1/(d.x*m.y-m.x*d.y);isFinite(i)&&(v.copy(h).multiplyScalar(m.y).addScaledVector(p,-d.y).multiplyScalar(i),g.copy(p).multiplyScalar(d.x).addScaledVector(h,-m.x).multiplyScalar(i),l[t].add(v),l[e].add(v),l[n].add(v),u[t].add(g),u[e].add(g),u[n].add(g))}let _=this.groups;0===_.length&&(_=[{start:0,count:n.length}]);for(let t=0,e=_.length;t<e;++t){const e=_[t],r=e.start;for(let t=r,i=r+e.count;t<i;t+=3)y(n[t+0],n[t+1],n[t+2])}const b=new yt,x=new yt,w=new yt,A=new yt;function C(t){w.fromArray(i,3*t),A.copy(w);const e=l[t];b.copy(e),b.sub(w.multiplyScalar(w.dot(e))).normalize(),x.crossVectors(A,e);const n=x.dot(u[t])<0?-1:1;s[4*t]=b.x,s[4*t+1]=b.y,s[4*t+2]=b.z,s[4*t+3]=n}for(let t=0,e=_.length;t<e;++t){const e=_[t],r=e.start;for(let t=r,i=r+e.count;t<i;t+=3)C(n[t+0]),C(n[t+1]),C(n[t+2])}}computeVertexNormals(){const t=this.index,e=this.getAttribute(\\\"position\\\");if(void 0!==e){let n=this.getAttribute(\\\"normal\\\");if(void 0===n)n=new $e(new Float32Array(3*e.count),3),this.setAttribute(\\\"normal\\\",n);else for(let t=0,e=n.count;t<e;t++)n.setXYZ(t,0,0,0);const r=new yt,i=new yt,o=new yt,a=new yt,s=new yt,l=new yt,u=new yt,c=new yt;if(t)for(let h=0,p=t.count;h<p;h+=3){const p=t.getX(h+0),f=t.getX(h+1),d=t.getX(h+2);r.fromBufferAttribute(e,p),i.fromBufferAttribute(e,f),o.fromBufferAttribute(e,d),u.subVectors(o,i),c.subVectors(r,i),u.cross(c),a.fromBufferAttribute(n,p),s.fromBufferAttribute(n,f),l.fromBufferAttribute(n,d),a.add(u),s.add(u),l.add(u),n.setXYZ(p,a.x,a.y,a.z),n.setXYZ(f,s.x,s.y,s.z),n.setXYZ(d,l.x,l.y,l.z)}else for(let t=0,a=e.count;t<a;t+=3)r.fromBufferAttribute(e,t+0),i.fromBufferAttribute(e,t+1),o.fromBufferAttribute(e,t+2),u.subVectors(o,i),c.subVectors(r,i),u.cross(c),n.setXYZ(t+0,u.x,u.y,u.z),n.setXYZ(t+1,u.x,u.y,u.z),n.setXYZ(t+2,u.x,u.y,u.z);this.normalizeNormals(),n.needsUpdate=!0}}merge(t,e){if(!t||!t.isBufferGeometry)return void console.error(\\\"THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.\\\",t);void 0===e&&(e=0,console.warn(\\\"THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge.\\\"));const n=this.attributes;for(const r in n){if(void 0===t.attributes[r])continue;const i=n[r].array,o=t.attributes[r],a=o.array,s=o.itemSize*e,l=Math.min(a.length,i.length-s);for(let t=0,e=s;t<l;t++,e++)i[e]=a[t]}return this}normalizeNormals(){const t=this.attributes.normal;for(let e=0,n=t.count;e<n;e++)We.fromBufferAttribute(t,e),We.normalize(),t.setXYZ(e,We.x,We.y,We.z)}toNonIndexed(){function t(t,e){const n=t.array,r=t.itemSize,i=t.normalized,o=new n.constructor(e.length*r);let a=0,s=0;for(let i=0,l=e.length;i<l;i++){a=t.isInterleavedBufferAttribute?e[i]*t.data.stride+t.offset:e[i]*r;for(let t=0;t<r;t++)o[s++]=n[a++]}return new $e(o,r,i)}if(null===this.index)return console.warn(\\\"THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed.\\\"),this;const e=new Xe,n=this.index.array,r=this.attributes;for(const i in r){const o=t(r[i],n);e.setAttribute(i,o)}const i=this.morphAttributes;for(const r in i){const o=[],a=i[r];for(let e=0,r=a.length;e<r;e++){const r=t(a[e],n);o.push(r)}e.morphAttributes[r]=o}e.morphTargetsRelative=this.morphTargetsRelative;const o=this.groups;for(let t=0,n=o.length;t<n;t++){const n=o[t];e.addGroup(n.start,n.count,n.materialIndex)}return e}toJSON(){const t={metadata:{version:4.5,type:\\\"BufferGeometry\\\",generator:\\\"BufferGeometry.toJSON\\\"}};if(t.uuid=this.uuid,t.type=this.type,\\\"\\\"!==this.name&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),void 0!==this.parameters){const e=this.parameters;for(const n in e)void 0!==e[n]&&(t[n]=e[n]);return t}t.data={attributes:{}};const e=this.index;null!==e&&(t.data.index={type:e.array.constructor.name,array:Array.prototype.slice.call(e.array)});const n=this.attributes;for(const e in n){const r=n[e];t.data.attributes[e]=r.toJSON(t.data)}const r={};let i=!1;for(const e in this.morphAttributes){const n=this.morphAttributes[e],o=[];for(let e=0,r=n.length;e<r;e++){const r=n[e];o.push(r.toJSON(t.data))}o.length>0&&(r[e]=o,i=!0)}i&&(t.data.morphAttributes=r,t.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(t.data.groups=JSON.parse(JSON.stringify(o)));const a=this.boundingSphere;return null!==a&&(t.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),t}clone(){return(new this.constructor).copy(this)}copy(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const e={};this.name=t.name;const n=t.index;null!==n&&this.setIndex(n.clone(e));const r=t.attributes;for(const t in r){const n=r[t];this.setAttribute(t,n.clone(e))}const i=t.morphAttributes;for(const t in i){const n=[],r=i[t];for(let t=0,i=r.length;t<i;t++)n.push(r[t].clone(e));this.morphAttributes[t]=n}this.morphTargetsRelative=t.morphTargetsRelative;const o=t.groups;for(let t=0,e=o.length;t<e;t++){const e=o[t];this.addGroup(e.start,e.count,e.materialIndex)}const a=t.boundingBox;null!==a&&(this.boundingBox=a.clone());const s=t.boundingSphere;return null!==s&&(this.boundingSphere=s.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,void 0!==t.parameters&&(this.parameters=Object.assign({},t.parameters)),this}dispose(){this.dispatchEvent({type:\\\"dispose\\\"})}}const Ye=new Yt,Ze=new Xt,Ke=new Ft,Je=new yt,Qe=new yt,tn=new yt,en=new yt,nn=new yt,rn=new yt,on=new yt,an=new yt,sn=new yt,ln=new G,un=new G,cn=new G,hn=new yt,pn=new yt;class fn extends be{constructor(t=new Xe,e=new ze){super(),this.isMesh=!0,this.type=\\\"Mesh\\\",this.geometry=t,this.material=e,this.updateMorphTargets()}copy(t,e){return super.copy(t,e),void 0!==t.morphTargetInfluences&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),void 0!==t.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=t.material,this.geometry=t.geometry,this}updateMorphTargets(){const t=this.geometry.morphAttributes,e=Object.keys(t);if(e.length>0){const n=t[e[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,e=n.length;t<e;t++){const e=n[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[e]=t}}}}raycast(t,e){const n=this.geometry,r=this.material,i=this.matrixWorld;if(void 0===r)return;if(null===n.boundingSphere&&n.computeBoundingSphere(),Ke.copy(n.boundingSphere),Ke.applyMatrix4(i),!1===t.ray.intersectsSphere(Ke))return;if(Ye.copy(i).invert(),Ze.copy(t.ray).applyMatrix4(Ye),null!==n.boundingBox&&!1===Ze.intersectsBox(n.boundingBox))return;let o;const a=n.index,s=n.attributes.position,l=n.morphAttributes.position,u=n.morphTargetsRelative,c=n.attributes.uv,h=n.attributes.uv2,p=n.groups,f=n.drawRange;if(null!==a)if(Array.isArray(r))for(let n=0,i=p.length;n<i;n++){const i=p[n],d=r[i.materialIndex];for(let n=Math.max(i.start,f.start),r=Math.min(a.count,Math.min(i.start+i.count,f.start+f.count));n<r;n+=3){const r=a.getX(n),p=a.getX(n+1),f=a.getX(n+2);o=dn(this,d,t,Ze,s,l,u,c,h,r,p,f),o&&(o.faceIndex=Math.floor(n/3),o.face.materialIndex=i.materialIndex,e.push(o))}}else for(let n=Math.max(0,f.start),i=Math.min(a.count,f.start+f.count);n<i;n+=3){const i=a.getX(n),p=a.getX(n+1),f=a.getX(n+2);o=dn(this,r,t,Ze,s,l,u,c,h,i,p,f),o&&(o.faceIndex=Math.floor(n/3),e.push(o))}else if(void 0!==s)if(Array.isArray(r))for(let n=0,i=p.length;n<i;n++){const i=p[n],a=r[i.materialIndex];for(let n=Math.max(i.start,f.start),r=Math.min(s.count,Math.min(i.start+i.count,f.start+f.count));n<r;n+=3)o=dn(this,a,t,Ze,s,l,u,c,h,n,n+1,n+2),o&&(o.faceIndex=Math.floor(n/3),o.face.materialIndex=i.materialIndex,e.push(o))}else for(let n=Math.max(0,f.start),i=Math.min(s.count,f.start+f.count);n<i;n+=3)o=dn(this,r,t,Ze,s,l,u,c,h,n,n+1,n+2),o&&(o.faceIndex=Math.floor(n/3),e.push(o))}}function dn(t,e,n,r,i,o,a,s,l,u,c,h){Je.fromBufferAttribute(i,u),Qe.fromBufferAttribute(i,c),tn.fromBufferAttribute(i,h);const p=t.morphTargetInfluences;if(o&&p){on.set(0,0,0),an.set(0,0,0),sn.set(0,0,0);for(let t=0,e=o.length;t<e;t++){const e=p[t],n=o[t];0!==e&&(en.fromBufferAttribute(n,u),nn.fromBufferAttribute(n,c),rn.fromBufferAttribute(n,h),a?(on.addScaledVector(en,e),an.addScaledVector(nn,e),sn.addScaledVector(rn,e)):(on.addScaledVector(en.sub(Je),e),an.addScaledVector(nn.sub(Qe),e),sn.addScaledVector(rn.sub(tn),e)))}Je.add(on),Qe.add(an),tn.add(sn)}t.isSkinnedMesh&&(t.boneTransform(u,Je),t.boneTransform(c,Qe),t.boneTransform(h,tn));const f=function(t,e,n,r,i,o,a,s){let l;if(l=1===e.side?r.intersectTriangle(a,o,i,!0,s):r.intersectTriangle(i,o,a,2!==e.side,s),null===l)return null;pn.copy(s),pn.applyMatrix4(t.matrixWorld);const u=n.ray.origin.distanceTo(pn);return u<n.near||u>n.far?null:{distance:u,point:pn.clone(),object:t}}(t,e,n,r,Je,Qe,tn,hn);if(f){s&&(ln.fromBufferAttribute(s,u),un.fromBufferAttribute(s,c),cn.fromBufferAttribute(s,h),f.uv=Ie.getUV(hn,Je,Qe,tn,ln,un,cn,new G)),l&&(ln.fromBufferAttribute(l,u),un.fromBufferAttribute(l,c),cn.fromBufferAttribute(l,h),f.uv2=Ie.getUV(hn,Je,Qe,tn,ln,un,cn,new G));const t={a:u,b:c,c:h,normal:new yt,materialIndex:0};Ie.getNormal(Je,Qe,tn,t.normal),f.face=t}return f}class mn extends Xe{constructor(t=1,e=1,n=1,r=1,i=1,o=1){super(),this.type=\\\"BoxGeometry\\\",this.parameters={width:t,height:e,depth:n,widthSegments:r,heightSegments:i,depthSegments:o};const a=this;r=Math.floor(r),i=Math.floor(i),o=Math.floor(o);const s=[],l=[],u=[],c=[];let h=0,p=0;function f(t,e,n,r,i,o,f,d,m,v,g){const y=o/m,_=f/v,b=o/2,x=f/2,w=d/2,A=m+1,C=v+1;let M=0,E=0;const T=new yt;for(let o=0;o<C;o++){const a=o*_-x;for(let s=0;s<A;s++){const h=s*y-b;T[t]=h*r,T[e]=a*i,T[n]=w,l.push(T.x,T.y,T.z),T[t]=0,T[e]=0,T[n]=d>0?1:-1,u.push(T.x,T.y,T.z),c.push(s/m),c.push(1-o/v),M+=1}}for(let t=0;t<v;t++)for(let e=0;e<m;e++){const n=h+e+A*t,r=h+e+A*(t+1),i=h+(e+1)+A*(t+1),o=h+(e+1)+A*t;s.push(n,r,o),s.push(r,i,o),E+=6}a.addGroup(p,E,g),p+=E,h+=M}f(\\\"z\\\",\\\"y\\\",\\\"x\\\",-1,-1,n,e,t,o,i,0),f(\\\"z\\\",\\\"y\\\",\\\"x\\\",1,-1,n,e,-t,o,i,1),f(\\\"x\\\",\\\"z\\\",\\\"y\\\",1,1,t,n,e,r,o,2),f(\\\"x\\\",\\\"z\\\",\\\"y\\\",1,-1,t,n,-e,r,o,3),f(\\\"x\\\",\\\"y\\\",\\\"z\\\",1,-1,t,e,n,r,i,4),f(\\\"x\\\",\\\"y\\\",\\\"z\\\",-1,-1,t,e,-n,r,i,5),this.setIndex(s),this.setAttribute(\\\"position\\\",new Fe(l,3)),this.setAttribute(\\\"normal\\\",new Fe(u,3)),this.setAttribute(\\\"uv\\\",new Fe(c,2))}static fromJSON(t){return new mn(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments)}}function vn(t){const e={};for(const n in t){e[n]={};for(const r in t[n]){const i=t[n][r];i&&(i.isColor||i.isMatrix3||i.isMatrix4||i.isVector2||i.isVector3||i.isVector4||i.isTexture||i.isQuaternion)?e[n][r]=i.clone():Array.isArray(i)?e[n][r]=i.slice():e[n][r]=i}}return e}function gn(t){const e={};for(let n=0;n<t.length;n++){const r=vn(t[n]);for(const t in r)e[t]=r[t]}return e}const yn={clone:vn,merge:gn};class _n extends Pe{constructor(t){super(),this.isShaderMaterial=!0,this.type=\\\"ShaderMaterial\\\",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader=\\\"void main() {\\\\n\\\\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\\\\n}\\\",this.fragmentShader=\\\"void main() {\\\\n\\\\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\\\\n}\\\",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==t&&(void 0!==t.attributes&&console.error(\\\"THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead.\\\"),this.setValues(t))}copy(t){return super.copy(t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=vn(t.uniforms),this.uniformsGroups=function(t){const e=[];for(let n=0;n<t.length;n++)e.push(t[n].clone());return e}(t.uniformsGroups),this.defines=Object.assign({},t.defines),this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.fog=t.fog,this.lights=t.lights,this.clipping=t.clipping,this.extensions=Object.assign({},t.extensions),this.glslVersion=t.glslVersion,this}toJSON(t){const e=super.toJSON(t);e.glslVersion=this.glslVersion,e.uniforms={};for(const n in this.uniforms){const r=this.uniforms[n].value;r&&r.isTexture?e.uniforms[n]={type:\\\"t\\\",value:r.toJSON(t).uuid}:r&&r.isColor?e.uniforms[n]={type:\\\"c\\\",value:r.getHex()}:r&&r.isVector2?e.uniforms[n]={type:\\\"v2\\\",value:r.toArray()}:r&&r.isVector3?e.uniforms[n]={type:\\\"v3\\\",value:r.toArray()}:r&&r.isVector4?e.uniforms[n]={type:\\\"v4\\\",value:r.toArray()}:r&&r.isMatrix3?e.uniforms[n]={type:\\\"m3\\\",value:r.toArray()}:r&&r.isMatrix4?e.uniforms[n]={type:\\\"m4\\\",value:r.toArray()}:e.uniforms[n]={value:r}}Object.keys(this.defines).length>0&&(e.defines=this.defines),e.vertexShader=this.vertexShader,e.fragmentShader=this.fragmentShader;const n={};for(const t in this.extensions)!0===this.extensions[t]&&(n[t]=!0);return Object.keys(n).length>0&&(e.extensions=n),e}}class bn extends be{constructor(){super(),this.isCamera=!0,this.type=\\\"Camera\\\",this.matrixWorldInverse=new Yt,this.projectionMatrix=new Yt,this.projectionMatrixInverse=new Yt}copy(t,e){return super.copy(t,e),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this}getWorldDirection(t){this.updateWorldMatrix(!0,!1);const e=this.matrixWorld.elements;return t.set(-e[8],-e[9],-e[10]).normalize()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,e){super.updateWorldMatrix(t,e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return(new this.constructor).copy(this)}}class xn extends bn{constructor(t=50,e=1,n=.1,r=2e3){super(),this.isPerspectiveCamera=!0,this.type=\\\"PerspectiveCamera\\\",this.fov=t,this.zoom=1,this.near=n,this.far=r,this.focus=10,this.aspect=e,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=null===t.view?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}setFocalLength(t){const e=.5*this.getFilmHeight()/t;this.fov=2*F*Math.atan(e),this.updateProjectionMatrix()}getFocalLength(){const t=Math.tan(.5*N*this.fov);return.5*this.getFilmHeight()/t}getEffectiveFOV(){return 2*F*Math.atan(Math.tan(.5*N*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(t,e,n,r,i,o){this.aspect=t/e,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=this.near;let e=t*Math.tan(.5*N*this.fov)/this.zoom,n=2*e,r=this.aspect*n,i=-.5*r;const o=this.view;if(null!==this.view&&this.view.enabled){const t=o.fullWidth,a=o.fullHeight;i+=o.offsetX*r/t,e-=o.offsetY*n/a,r*=o.width/t,n*=o.height/a}const a=this.filmOffset;0!==a&&(i+=t*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(i,i+r,e,e-n,t,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.fov=this.fov,e.object.zoom=this.zoom,e.object.near=this.near,e.object.far=this.far,e.object.focus=this.focus,e.object.aspect=this.aspect,null!==this.view&&(e.object.view=Object.assign({},this.view)),e.object.filmGauge=this.filmGauge,e.object.filmOffset=this.filmOffset,e}}const wn=90;class An extends be{constructor(t,e,n){if(super(),this.type=\\\"CubeCamera\\\",!0!==n.isWebGLCubeRenderTarget)return void console.error(\\\"THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.\\\");this.renderTarget=n;const r=new xn(wn,1,t,e);r.layers=this.layers,r.up.set(0,-1,0),r.lookAt(new yt(1,0,0)),this.add(r);const i=new xn(wn,1,t,e);i.layers=this.layers,i.up.set(0,-1,0),i.lookAt(new yt(-1,0,0)),this.add(i);const o=new xn(wn,1,t,e);o.layers=this.layers,o.up.set(0,0,1),o.lookAt(new yt(0,1,0)),this.add(o);const a=new xn(wn,1,t,e);a.layers=this.layers,a.up.set(0,0,-1),a.lookAt(new yt(0,-1,0)),this.add(a);const s=new xn(wn,1,t,e);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new yt(0,0,1)),this.add(s);const l=new xn(wn,1,t,e);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new yt(0,0,-1)),this.add(l)}update(t,e){null===this.parent&&this.updateMatrixWorld();const n=this.renderTarget,[r,i,o,a,s,l]=this.children,u=t.getRenderTarget(),c=t.toneMapping,h=t.xr.enabled;t.toneMapping=0,t.xr.enabled=!1;const p=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,t.setRenderTarget(n,0),t.render(e,r),t.setRenderTarget(n,1),t.render(e,i),t.setRenderTarget(n,2),t.render(e,o),t.setRenderTarget(n,3),t.render(e,a),t.setRenderTarget(n,4),t.render(e,s),n.texture.generateMipmaps=p,t.setRenderTarget(n,5),t.render(e,l),t.setRenderTarget(u),t.toneMapping=c,t.xr.enabled=h,n.texture.needsPMREMUpdate=!0}}class Cn extends pt{constructor(t,e,n,r,i,o,s,l,u,c){super(t=void 0!==t?t:[],e=void 0!==e?e:a,n,r,i,o,s,l,u,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(t){this.image=t}}class Mn extends dt{constructor(t,e={}){super(t,t,e),this.isWebGLCubeRenderTarget=!0;const n={width:t,height:t,depth:1},r=[n,n,n,n,n,n];this.texture=new Cn(r,e.mapping,e.wrapS,e.wrapT,e.magFilter,e.minFilter,e.format,e.type,e.anisotropy,e.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==e.generateMipmaps&&e.generateMipmaps,this.texture.minFilter=void 0!==e.minFilter?e.minFilter:f}fromEquirectangularTexture(t,e){this.texture.type=e.type,this.texture.encoding=e.encoding,this.texture.generateMipmaps=e.generateMipmaps,this.texture.minFilter=e.minFilter,this.texture.magFilter=e.magFilter;const n={tEquirect:{value:null}},r=\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvarying vec3 vWorldDirection;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvWorldDirection = transformDirection( position, modelMatrix );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t#include <begin_vertex>\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t#include <project_vertex>\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\",i=\\\"\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tuniform sampler2D tEquirect;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvarying vec3 vWorldDirection;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t#include <common>\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvec3 direction = normalize( vWorldDirection );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tvec2 sampleUV = equirectUv( direction );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tgl_FragColor = texture2D( tEquirect, sampleUV );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\",o=new mn(5,5,5),a=new _n({name:\\\"CubemapFromEquirect\\\",uniforms:vn(n),vertexShader:r,fragmentShader:i,side:1,blending:0});a.uniforms.tEquirect.value=e;const s=new fn(o,a),l=e.minFilter;return e.minFilter===d&&(e.minFilter=f),new An(1,10,this).update(t,s),e.minFilter=l,s.geometry.dispose(),s.material.dispose(),this}clear(t,e,n,r){const i=t.getRenderTarget();for(let i=0;i<6;i++)t.setRenderTarget(this,i),t.clear(e,n,r);t.setRenderTarget(i)}}const En=new yt,Tn=new yt,Sn=new W;class kn{constructor(t=new yt(1,0,0),e=0){this.isPlane=!0,this.normal=t,this.constant=e}set(t,e){return this.normal.copy(t),this.constant=e,this}setComponents(t,e,n,r){return this.normal.set(t,e,n),this.constant=r,this}setFromNormalAndCoplanarPoint(t,e){return this.normal.copy(t),this.constant=-e.dot(this.normal),this}setFromCoplanarPoints(t,e,n){const r=En.subVectors(n,e).cross(Tn.subVectors(t,e)).normalize();return this.setFromNormalAndCoplanarPoint(r,t),this}copy(t){return this.normal.copy(t.normal),this.constant=t.constant,this}normalize(){const t=1/this.normal.length();return this.normal.multiplyScalar(t),this.constant*=t,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(t){return this.normal.dot(t)+this.constant}distanceToSphere(t){return this.distanceToPoint(t.center)-t.radius}projectPoint(t,e){return e.copy(this.normal).multiplyScalar(-this.distanceToPoint(t)).add(t)}intersectLine(t,e){const n=t.delta(En),r=this.normal.dot(n);if(0===r)return 0===this.distanceToPoint(t.start)?e.copy(t.start):null;const i=-(t.start.dot(this.normal)+this.constant)/r;return i<0||i>1?null:e.copy(n).multiplyScalar(i).add(t.start)}intersectsLine(t){const e=this.distanceToPoint(t.start),n=this.distanceToPoint(t.end);return e<0&&n>0||n<0&&e>0}intersectsBox(t){return t.intersectsPlane(this)}intersectsSphere(t){return t.intersectsPlane(this)}coplanarPoint(t){return t.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(t,e){const n=e||Sn.getNormalMatrix(t),r=this.coplanarPoint(En).applyMatrix4(t),i=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(i),this}translate(t){return this.constant-=t.dot(this.normal),this}equals(t){return t.normal.equals(this.normal)&&t.constant===this.constant}clone(){return(new this.constructor).copy(this)}}const On=new Ft,In=new yt;class Ln{constructor(t=new kn,e=new kn,n=new kn,r=new kn,i=new kn,o=new kn){this.planes=[t,e,n,r,i,o]}set(t,e,n,r,i,o){const a=this.planes;return a[0].copy(t),a[1].copy(e),a[2].copy(n),a[3].copy(r),a[4].copy(i),a[5].copy(o),this}copy(t){const e=this.planes;for(let n=0;n<6;n++)e[n].copy(t.planes[n]);return this}setFromProjectionMatrix(t){const e=this.planes,n=t.elements,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],u=n[6],c=n[7],h=n[8],p=n[9],f=n[10],d=n[11],m=n[12],v=n[13],g=n[14],y=n[15];return e[0].setComponents(a-r,c-s,d-h,y-m).normalize(),e[1].setComponents(a+r,c+s,d+h,y+m).normalize(),e[2].setComponents(a+i,c+l,d+p,y+v).normalize(),e[3].setComponents(a-i,c-l,d-p,y-v).normalize(),e[4].setComponents(a-o,c-u,d-f,y-g).normalize(),e[5].setComponents(a+o,c+u,d+f,y+g).normalize(),this}intersectsObject(t){const e=t.geometry;return null===e.boundingSphere&&e.computeBoundingSphere(),On.copy(e.boundingSphere).applyMatrix4(t.matrixWorld),this.intersectsSphere(On)}intersectsSprite(t){return On.center.set(0,0,0),On.radius=.7071067811865476,On.applyMatrix4(t.matrixWorld),this.intersectsSphere(On)}intersectsSphere(t){const e=this.planes,n=t.center,r=-t.radius;for(let t=0;t<6;t++)if(e[t].distanceToPoint(n)<r)return!1;return!0}intersectsBox(t){const e=this.planes;for(let n=0;n<6;n++){const r=e[n];if(In.x=r.normal.x>0?t.max.x:t.min.x,In.y=r.normal.y>0?t.max.y:t.min.y,In.z=r.normal.z>0?t.max.z:t.min.z,r.distanceToPoint(In)<0)return!1}return!0}containsPoint(t){const e=this.planes;for(let n=0;n<6;n++)if(e[n].distanceToPoint(t)<0)return!1;return!0}clone(){return(new this.constructor).copy(this)}}function Pn(){let t=null,e=!1,n=null,r=null;function i(e,o){n(e,o),r=t.requestAnimationFrame(i)}return{start:function(){!0!==e&&null!==n&&(r=t.requestAnimationFrame(i),e=!0)},stop:function(){t.cancelAnimationFrame(r),e=!1},setAnimationLoop:function(t){n=t},setContext:function(e){t=e}}}function zn(t,e){const n=e.isWebGL2,r=new WeakMap;return{get:function(t){return t.isInterleavedBufferAttribute&&(t=t.data),r.get(t)},remove:function(e){e.isInterleavedBufferAttribute&&(e=e.data);const n=r.get(e);n&&(t.deleteBuffer(n.buffer),r.delete(e))},update:function(e,i){if(e.isGLBufferAttribute){const t=r.get(e);return void((!t||t.version<e.version)&&r.set(e,{buffer:e.buffer,type:e.type,bytesPerElement:e.elementSize,version:e.version}))}e.isInterleavedBufferAttribute&&(e=e.data);const o=r.get(e);void 0===o?r.set(e,function(e,r){const i=e.array,o=e.usage,a=t.createBuffer();let s;if(t.bindBuffer(r,a),t.bufferData(r,i,o),e.onUploadCallback(),i instanceof Float32Array)s=5126;else if(i instanceof Uint16Array)if(e.isFloat16BufferAttribute){if(!n)throw new Error(\\\"THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.\\\");s=5131}else s=5123;else if(i instanceof Int16Array)s=5122;else if(i instanceof Uint32Array)s=5125;else if(i instanceof Int32Array)s=5124;else if(i instanceof Int8Array)s=5120;else if(i instanceof Uint8Array)s=5121;else{if(!(i instanceof Uint8ClampedArray))throw new Error(\\\"THREE.WebGLAttributes: Unsupported buffer data format: \\\"+i);s=5121}return{buffer:a,type:s,bytesPerElement:i.BYTES_PER_ELEMENT,version:e.version}}(e,i)):o.version<e.version&&(function(e,r,i){const o=r.array,a=r.updateRange;t.bindBuffer(i,e),-1===a.count?t.bufferSubData(i,0,o):(n?t.bufferSubData(i,a.offset*o.BYTES_PER_ELEMENT,o,a.offset,a.count):t.bufferSubData(i,a.offset*o.BYTES_PER_ELEMENT,o.subarray(a.offset,a.offset+a.count)),a.count=-1)}(o.buffer,e,i),o.version=e.version)}}}class Rn extends Xe{constructor(t=1,e=1,n=1,r=1){super(),this.type=\\\"PlaneGeometry\\\",this.parameters={width:t,height:e,widthSegments:n,heightSegments:r};const i=t/2,o=e/2,a=Math.floor(n),s=Math.floor(r),l=a+1,u=s+1,c=t/a,h=e/s,p=[],f=[],d=[],m=[];for(let t=0;t<u;t++){const e=t*h-o;for(let n=0;n<l;n++){const r=n*c-i;f.push(r,-e,0),d.push(0,0,1),m.push(n/a),m.push(1-t/s)}}for(let t=0;t<s;t++)for(let e=0;e<a;e++){const n=e+l*t,r=e+l*(t+1),i=e+1+l*(t+1),o=e+1+l*t;p.push(n,r,o),p.push(r,i,o)}this.setIndex(p),this.setAttribute(\\\"position\\\",new Fe(f,3)),this.setAttribute(\\\"normal\\\",new Fe(d,3)),this.setAttribute(\\\"uv\\\",new Fe(m,2))}static fromJSON(t){return new Rn(t.width,t.height,t.widthSegments,t.heightSegments)}}const Dn={alphamap_fragment:\\\"#ifdef USE_ALPHAMAP\\\\n\\\\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\\\\n#endif\\\",alphamap_pars_fragment:\\\"#ifdef USE_ALPHAMAP\\\\n\\\\tuniform sampler2D alphaMap;\\\\n#endif\\\",alphatest_fragment:\\\"#ifdef USE_ALPHATEST\\\\n\\\\tif ( diffuseColor.a < alphaTest ) discard;\\\\n#endif\\\",alphatest_pars_fragment:\\\"#ifdef USE_ALPHATEST\\\\n\\\\tuniform float alphaTest;\\\\n#endif\\\",aomap_fragment:\\\"#ifdef USE_AOMAP\\\\n\\\\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\\\\n\\\\treflectedLight.indirectDiffuse *= ambientOcclusion;\\\\n\\\\t#if defined( USE_ENVMAP ) && defined( STANDARD )\\\\n\\\\t\\\\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\\\\n\\\\t\\\\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\\\\n\\\\t#endif\\\\n#endif\\\",aomap_pars_fragment:\\\"#ifdef USE_AOMAP\\\\n\\\\tuniform sampler2D aoMap;\\\\n\\\\tuniform float aoMapIntensity;\\\\n#endif\\\",begin_vertex:\\\"vec3 transformed = vec3( position );\\\",beginnormal_vertex:\\\"vec3 objectNormal = vec3( normal );\\\\n#ifdef USE_TANGENT\\\\n\\\\tvec3 objectTangent = vec3( tangent.xyz );\\\\n#endif\\\",bsdfs:\\\"vec3 BRDF_Lambert( const in vec3 diffuseColor ) {\\\\n\\\\treturn RECIPROCAL_PI * diffuseColor;\\\\n}\\\\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\\\\n\\\\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\\\\n\\\\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\\\\n}\\\\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\\\\n\\\\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\\\\n\\\\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\\\\n}\\\\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\\\\n float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\\\\n float x2 = x * x;\\\\n float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\\\\n return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\\\\n}\\\\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\\\\n\\\\tfloat a2 = pow2( alpha );\\\\n\\\\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\\\\n\\\\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\\\\n\\\\treturn 0.5 / max( gv + gl, EPSILON );\\\\n}\\\\nfloat D_GGX( const in float alpha, const in float dotNH ) {\\\\n\\\\tfloat a2 = pow2( alpha );\\\\n\\\\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\\\\n\\\\treturn RECIPROCAL_PI * a2 / pow2( denom );\\\\n}\\\\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float roughness ) {\\\\n\\\\tfloat alpha = pow2( roughness );\\\\n\\\\tvec3 halfDir = normalize( lightDir + viewDir );\\\\n\\\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\\\n\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\\\n\\\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\\\n\\\\tvec3 F = F_Schlick( f0, f90, dotVH );\\\\n\\\\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\\\\n\\\\tfloat D = D_GGX( alpha, dotNH );\\\\n\\\\treturn F * ( V * D );\\\\n}\\\\n#ifdef USE_IRIDESCENCE\\\\n\\\\tvec3 BRDF_GGX_Iridescence( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float iridescence, const in vec3 iridescenceFresnel, const in float roughness ) {\\\\n\\\\t\\\\tfloat alpha = pow2( roughness );\\\\n\\\\t\\\\tvec3 halfDir = normalize( lightDir + viewDir );\\\\n\\\\t\\\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\\\n\\\\t\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\t\\\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\\\n\\\\t\\\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\\\n\\\\t\\\\tvec3 F = mix( F_Schlick( f0, f90, dotVH ), iridescenceFresnel, iridescence );\\\\n\\\\t\\\\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\\\\n\\\\t\\\\tfloat D = D_GGX( alpha, dotNH );\\\\n\\\\t\\\\treturn F * ( V * D );\\\\n\\\\t}\\\\n#endif\\\\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\\\\n\\\\tconst float LUT_SIZE = 64.0;\\\\n\\\\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\\\\n\\\\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\\\\n\\\\tfloat dotNV = saturate( dot( N, V ) );\\\\n\\\\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\\\\n\\\\tuv = uv * LUT_SCALE + LUT_BIAS;\\\\n\\\\treturn uv;\\\\n}\\\\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\\\\n\\\\tfloat l = length( f );\\\\n\\\\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\\\\n}\\\\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\\\\n\\\\tfloat x = dot( v1, v2 );\\\\n\\\\tfloat y = abs( x );\\\\n\\\\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\\\\n\\\\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\\\\n\\\\tfloat v = a / b;\\\\n\\\\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\\\\n\\\\treturn cross( v1, v2 ) * theta_sintheta;\\\\n}\\\\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\\\\n\\\\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\\\\n\\\\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\\\\n\\\\tvec3 lightNormal = cross( v1, v2 );\\\\n\\\\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\\\\n\\\\tvec3 T1, T2;\\\\n\\\\tT1 = normalize( V - N * dot( V, N ) );\\\\n\\\\tT2 = - cross( N, T1 );\\\\n\\\\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\\\\n\\\\tvec3 coords[ 4 ];\\\\n\\\\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\\\\n\\\\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\\\\n\\\\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\\\\n\\\\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\\\\n\\\\tcoords[ 0 ] = normalize( coords[ 0 ] );\\\\n\\\\tcoords[ 1 ] = normalize( coords[ 1 ] );\\\\n\\\\tcoords[ 2 ] = normalize( coords[ 2 ] );\\\\n\\\\tcoords[ 3 ] = normalize( coords[ 3 ] );\\\\n\\\\tvec3 vectorFormFactor = vec3( 0.0 );\\\\n\\\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\\\\n\\\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\\\\n\\\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\\\\n\\\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\\\\n\\\\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\\\\n\\\\treturn vec3( result );\\\\n}\\\\nfloat G_BlinnPhong_Implicit( ) {\\\\n\\\\treturn 0.25;\\\\n}\\\\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\\\\n\\\\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\\\\n}\\\\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\\\\n\\\\tvec3 halfDir = normalize( lightDir + viewDir );\\\\n\\\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\\\n\\\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\\\n\\\\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\\\\n\\\\tfloat G = G_BlinnPhong_Implicit( );\\\\n\\\\tfloat D = D_BlinnPhong( shininess, dotNH );\\\\n\\\\treturn F * ( G * D );\\\\n}\\\\n#if defined( USE_SHEEN )\\\\nfloat D_Charlie( float roughness, float dotNH ) {\\\\n\\\\tfloat alpha = pow2( roughness );\\\\n\\\\tfloat invAlpha = 1.0 / alpha;\\\\n\\\\tfloat cos2h = dotNH * dotNH;\\\\n\\\\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\\\\n\\\\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\\\\n}\\\\nfloat V_Neubelt( float dotNV, float dotNL ) {\\\\n\\\\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\\\\n}\\\\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\\\\n\\\\tvec3 halfDir = normalize( lightDir + viewDir );\\\\n\\\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\\\n\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\\\n\\\\tfloat D = D_Charlie( sheenRoughness, dotNH );\\\\n\\\\tfloat V = V_Neubelt( dotNV, dotNL );\\\\n\\\\treturn sheenColor * ( D * V );\\\\n}\\\\n#endif\\\",iridescence_fragment:\\\"#ifdef USE_IRIDESCENCE\\\\n\\\\tconst mat3 XYZ_TO_REC709 = mat3(\\\\n\\\\t\\\\t 3.2404542, -0.9692660, 0.0556434,\\\\n\\\\t\\\\t-1.5371385, 1.8760108, -0.2040259,\\\\n\\\\t\\\\t-0.4985314, 0.0415560, 1.0572252\\\\n\\\\t);\\\\n\\\\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\\\\n\\\\t\\\\tvec3 sqrtF0 = sqrt( fresnel0 );\\\\n\\\\t\\\\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\\\\n\\\\t}\\\\n\\\\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\\\\n\\\\t\\\\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\\\\n\\\\t}\\\\n\\\\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\\\\n\\\\t\\\\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\\\\n\\\\t}\\\\n\\\\tvec3 evalSensitivity( float OPD, vec3 shift ) {\\\\n\\\\t\\\\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\\\\n\\\\t\\\\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\\\\n\\\\t\\\\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\\\\n\\\\t\\\\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\\\\n\\\\t\\\\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\\\\n\\\\t\\\\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\\\\n\\\\t\\\\txyz /= 1.0685e-7;\\\\n\\\\t\\\\tvec3 rgb = XYZ_TO_REC709 * xyz;\\\\n\\\\t\\\\treturn rgb;\\\\n\\\\t}\\\\n\\\\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\\\\n\\\\t\\\\tvec3 I;\\\\n\\\\t\\\\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\\\\n\\\\t\\\\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\\\\n\\\\t\\\\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\\\\n\\\\t\\\\tif ( cosTheta2Sq < 0.0 ) {\\\\n\\\\t\\\\t\\\\t return vec3( 1.0 );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tfloat cosTheta2 = sqrt( cosTheta2Sq );\\\\n\\\\t\\\\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\\\\n\\\\t\\\\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\\\\n\\\\t\\\\tfloat R21 = R12;\\\\n\\\\t\\\\tfloat T121 = 1.0 - R12;\\\\n\\\\t\\\\tfloat phi12 = 0.0;\\\\n\\\\t\\\\tif ( iridescenceIOR < outsideIOR ) phi12 = PI;\\\\n\\\\t\\\\tfloat phi21 = PI - phi12;\\\\n\\\\t\\\\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\\\\t\\\\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\\\\n\\\\t\\\\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\\\\n\\\\t\\\\tvec3 phi23 = vec3( 0.0 );\\\\n\\\\t\\\\tif ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\\\\n\\\\t\\\\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\\\\n\\\\t\\\\tif ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\\\\n\\\\t\\\\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\\\\n\\\\t\\\\tvec3 phi = vec3( phi21 ) + phi23;\\\\n\\\\t\\\\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\\\\n\\\\t\\\\tvec3 r123 = sqrt( R123 );\\\\n\\\\t\\\\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\\\\n\\\\t\\\\tvec3 C0 = R12 + Rs;\\\\n\\\\t\\\\tI = C0;\\\\n\\\\t\\\\tvec3 Cm = Rs - T121;\\\\n\\\\t\\\\tfor ( int m = 1; m <= 2; ++ m ) {\\\\n\\\\t\\\\t\\\\tCm *= r123;\\\\n\\\\t\\\\t\\\\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\\\\n\\\\t\\\\t\\\\tI += Cm * Sm;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn max( I, vec3( 0.0 ) );\\\\n\\\\t}\\\\n#endif\\\",bumpmap_pars_fragment:\\\"#ifdef USE_BUMPMAP\\\\n\\\\tuniform sampler2D bumpMap;\\\\n\\\\tuniform float bumpScale;\\\\n\\\\tvec2 dHdxy_fwd() {\\\\n\\\\t\\\\tvec2 dSTdx = dFdx( vUv );\\\\n\\\\t\\\\tvec2 dSTdy = dFdy( vUv );\\\\n\\\\t\\\\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\\\\n\\\\t\\\\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\\\\n\\\\t\\\\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\\\\n\\\\t\\\\treturn vec2( dBx, dBy );\\\\n\\\\t}\\\\n\\\\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\\\\n\\\\t\\\\tvec3 vSigmaX = dFdx( surf_pos.xyz );\\\\n\\\\t\\\\tvec3 vSigmaY = dFdy( surf_pos.xyz );\\\\n\\\\t\\\\tvec3 vN = surf_norm;\\\\n\\\\t\\\\tvec3 R1 = cross( vSigmaY, vN );\\\\n\\\\t\\\\tvec3 R2 = cross( vN, vSigmaX );\\\\n\\\\t\\\\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\\\\n\\\\t\\\\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\\\\n\\\\t\\\\treturn normalize( abs( fDet ) * surf_norm - vGrad );\\\\n\\\\t}\\\\n#endif\\\",clipping_planes_fragment:\\\"#if NUM_CLIPPING_PLANES > 0\\\\n\\\\tvec4 plane;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\\\\n\\\\t\\\\tplane = clippingPlanes[ i ];\\\\n\\\\t\\\\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\\\\n\\\\t\\\\tbool clipped = true;\\\\n\\\\t\\\\t#pragma unroll_loop_start\\\\n\\\\t\\\\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\\\\n\\\\t\\\\t\\\\tplane = clippingPlanes[ i ];\\\\n\\\\t\\\\t\\\\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t#pragma unroll_loop_end\\\\n\\\\t\\\\tif ( clipped ) discard;\\\\n\\\\t#endif\\\\n#endif\\\",clipping_planes_pars_fragment:\\\"#if NUM_CLIPPING_PLANES > 0\\\\n\\\\tvarying vec3 vClipPosition;\\\\n\\\\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\\\\n#endif\\\",clipping_planes_pars_vertex:\\\"#if NUM_CLIPPING_PLANES > 0\\\\n\\\\tvarying vec3 vClipPosition;\\\\n#endif\\\",clipping_planes_vertex:\\\"#if NUM_CLIPPING_PLANES > 0\\\\n\\\\tvClipPosition = - mvPosition.xyz;\\\\n#endif\\\",color_fragment:\\\"#if defined( USE_COLOR_ALPHA )\\\\n\\\\tdiffuseColor *= vColor;\\\\n#elif defined( USE_COLOR )\\\\n\\\\tdiffuseColor.rgb *= vColor;\\\\n#endif\\\",color_pars_fragment:\\\"#if defined( USE_COLOR_ALPHA )\\\\n\\\\tvarying vec4 vColor;\\\\n#elif defined( USE_COLOR )\\\\n\\\\tvarying vec3 vColor;\\\\n#endif\\\",color_pars_vertex:\\\"#if defined( USE_COLOR_ALPHA )\\\\n\\\\tvarying vec4 vColor;\\\\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\\\\n\\\\tvarying vec3 vColor;\\\\n#endif\\\",color_vertex:\\\"#if defined( USE_COLOR_ALPHA )\\\\n\\\\tvColor = vec4( 1.0 );\\\\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\\\\n\\\\tvColor = vec3( 1.0 );\\\\n#endif\\\\n#ifdef USE_COLOR\\\\n\\\\tvColor *= color;\\\\n#endif\\\\n#ifdef USE_INSTANCING_COLOR\\\\n\\\\tvColor.xyz *= instanceColor.xyz;\\\\n#endif\\\",common:\\\"#define PI 3.141592653589793\\\\n#define PI2 6.283185307179586\\\\n#define PI_HALF 1.5707963267948966\\\\n#define RECIPROCAL_PI 0.3183098861837907\\\\n#define RECIPROCAL_PI2 0.15915494309189535\\\\n#define EPSILON 1e-6\\\\n#ifndef saturate\\\\n#define saturate( a ) clamp( a, 0.0, 1.0 )\\\\n#endif\\\\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\\\\nfloat pow2( const in float x ) { return x*x; }\\\\nvec3 pow2( const in vec3 x ) { return x*x; }\\\\nfloat pow3( const in float x ) { return x*x*x; }\\\\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\\\\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\\\\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\\\\nhighp float rand( const in vec2 uv ) {\\\\n\\\\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\\\\n\\\\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\\\\n\\\\treturn fract( sin( sn ) * c );\\\\n}\\\\n#ifdef HIGH_PRECISION\\\\n\\\\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\\\\n#else\\\\n\\\\tfloat precisionSafeLength( vec3 v ) {\\\\n\\\\t\\\\tfloat maxComponent = max3( abs( v ) );\\\\n\\\\t\\\\treturn length( v / maxComponent ) * maxComponent;\\\\n\\\\t}\\\\n#endif\\\\nstruct IncidentLight {\\\\n\\\\tvec3 color;\\\\n\\\\tvec3 direction;\\\\n\\\\tbool visible;\\\\n};\\\\nstruct ReflectedLight {\\\\n\\\\tvec3 directDiffuse;\\\\n\\\\tvec3 directSpecular;\\\\n\\\\tvec3 indirectDiffuse;\\\\n\\\\tvec3 indirectSpecular;\\\\n};\\\\nstruct GeometricContext {\\\\n\\\\tvec3 position;\\\\n\\\\tvec3 normal;\\\\n\\\\tvec3 viewDir;\\\\n#ifdef USE_CLEARCOAT\\\\n\\\\tvec3 clearcoatNormal;\\\\n#endif\\\\n};\\\\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\\\\n\\\\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\\\\n}\\\\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\\\\n\\\\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\\\\n}\\\\nmat3 transposeMat3( const in mat3 m ) {\\\\n\\\\tmat3 tmp;\\\\n\\\\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\\\\n\\\\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\\\\n\\\\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\\\\n\\\\treturn tmp;\\\\n}\\\\nfloat luminance( const in vec3 rgb ) {\\\\n\\\\tconst vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );\\\\n\\\\treturn dot( weights, rgb );\\\\n}\\\\nbool isPerspectiveMatrix( mat4 m ) {\\\\n\\\\treturn m[ 2 ][ 3 ] == - 1.0;\\\\n}\\\\nvec2 equirectUv( in vec3 dir ) {\\\\n\\\\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\\\\n\\\\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\\\\n\\\\treturn vec2( u, v );\\\\n}\\\",cube_uv_reflection_fragment:\\\"#ifdef ENVMAP_TYPE_CUBE_UV\\\\n\\\\t#define cubeUV_minMipLevel 4.0\\\\n\\\\t#define cubeUV_minTileSize 16.0\\\\n\\\\tfloat getFace( vec3 direction ) {\\\\n\\\\t\\\\tvec3 absDirection = abs( direction );\\\\n\\\\t\\\\tfloat face = - 1.0;\\\\n\\\\t\\\\tif ( absDirection.x > absDirection.z ) {\\\\n\\\\t\\\\t\\\\tif ( absDirection.x > absDirection.y )\\\\n\\\\t\\\\t\\\\t\\\\tface = direction.x > 0.0 ? 0.0 : 3.0;\\\\n\\\\t\\\\t\\\\telse\\\\n\\\\t\\\\t\\\\t\\\\tface = direction.y > 0.0 ? 1.0 : 4.0;\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tif ( absDirection.z > absDirection.y )\\\\n\\\\t\\\\t\\\\t\\\\tface = direction.z > 0.0 ? 2.0 : 5.0;\\\\n\\\\t\\\\t\\\\telse\\\\n\\\\t\\\\t\\\\t\\\\tface = direction.y > 0.0 ? 1.0 : 4.0;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn face;\\\\n\\\\t}\\\\n\\\\tvec2 getUV( vec3 direction, float face ) {\\\\n\\\\t\\\\tvec2 uv;\\\\n\\\\t\\\\tif ( face == 0.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\\\\n\\\\t\\\\t} else if ( face == 1.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\\\\n\\\\t\\\\t} else if ( face == 2.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\\\\n\\\\t\\\\t} else if ( face == 3.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\\\\n\\\\t\\\\t} else if ( face == 4.0 ) {\\\\n\\\\t\\\\t\\\\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn 0.5 * ( uv + 1.0 );\\\\n\\\\t}\\\\n\\\\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\\\\n\\\\t\\\\tfloat face = getFace( direction );\\\\n\\\\t\\\\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\\\\n\\\\t\\\\tmipInt = max( mipInt, cubeUV_minMipLevel );\\\\n\\\\t\\\\tfloat faceSize = exp2( mipInt );\\\\n\\\\t\\\\tvec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\\\\n\\\\t\\\\tif ( face > 2.0 ) {\\\\n\\\\t\\\\t\\\\tuv.y += faceSize;\\\\n\\\\t\\\\t\\\\tface -= 3.0;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tuv.x += face * faceSize;\\\\n\\\\t\\\\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\\\\n\\\\t\\\\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\\\\n\\\\t\\\\tuv.x *= CUBEUV_TEXEL_WIDTH;\\\\n\\\\t\\\\tuv.y *= CUBEUV_TEXEL_HEIGHT;\\\\n\\\\t\\\\t#ifdef texture2DGradEXT\\\\n\\\\t\\\\t\\\\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn texture2D( envMap, uv ).rgb;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#define r0 1.0\\\\n\\\\t#define v0 0.339\\\\n\\\\t#define m0 - 2.0\\\\n\\\\t#define r1 0.8\\\\n\\\\t#define v1 0.276\\\\n\\\\t#define m1 - 1.0\\\\n\\\\t#define r4 0.4\\\\n\\\\t#define v4 0.046\\\\n\\\\t#define m4 2.0\\\\n\\\\t#define r5 0.305\\\\n\\\\t#define v5 0.016\\\\n\\\\t#define m5 3.0\\\\n\\\\t#define r6 0.21\\\\n\\\\t#define v6 0.0038\\\\n\\\\t#define m6 4.0\\\\n\\\\tfloat roughnessToMip( float roughness ) {\\\\n\\\\t\\\\tfloat mip = 0.0;\\\\n\\\\t\\\\tif ( roughness >= r1 ) {\\\\n\\\\t\\\\t\\\\tmip = ( r0 - roughness ) * ( m1 - m0 ) / ( r0 - r1 ) + m0;\\\\n\\\\t\\\\t} else if ( roughness >= r4 ) {\\\\n\\\\t\\\\t\\\\tmip = ( r1 - roughness ) * ( m4 - m1 ) / ( r1 - r4 ) + m1;\\\\n\\\\t\\\\t} else if ( roughness >= r5 ) {\\\\n\\\\t\\\\t\\\\tmip = ( r4 - roughness ) * ( m5 - m4 ) / ( r4 - r5 ) + m4;\\\\n\\\\t\\\\t} else if ( roughness >= r6 ) {\\\\n\\\\t\\\\t\\\\tmip = ( r5 - roughness ) * ( m6 - m5 ) / ( r5 - r6 ) + m5;\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tmip = - 2.0 * log2( 1.16 * roughness );\\\\t\\\\t}\\\\n\\\\t\\\\treturn mip;\\\\n\\\\t}\\\\n\\\\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\\\\n\\\\t\\\\tfloat mip = clamp( roughnessToMip( roughness ), m0, CUBEUV_MAX_MIP );\\\\n\\\\t\\\\tfloat mipF = fract( mip );\\\\n\\\\t\\\\tfloat mipInt = floor( mip );\\\\n\\\\t\\\\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\\\\n\\\\t\\\\tif ( mipF == 0.0 ) {\\\\n\\\\t\\\\t\\\\treturn vec4( color0, 1.0 );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\\\\n\\\\t\\\\t\\\\treturn vec4( mix( color0, color1, mipF ), 1.0 );\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n#endif\\\",defaultnormal_vertex:\\\"vec3 transformedNormal = objectNormal;\\\\n#ifdef USE_INSTANCING\\\\n\\\\tmat3 m = mat3( instanceMatrix );\\\\n\\\\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\\\\n\\\\ttransformedNormal = m * transformedNormal;\\\\n#endif\\\\ntransformedNormal = normalMatrix * transformedNormal;\\\\n#ifdef FLIP_SIDED\\\\n\\\\ttransformedNormal = - transformedNormal;\\\\n#endif\\\\n#ifdef USE_TANGENT\\\\n\\\\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\\\\n\\\\t#ifdef FLIP_SIDED\\\\n\\\\t\\\\ttransformedTangent = - transformedTangent;\\\\n\\\\t#endif\\\\n#endif\\\",displacementmap_pars_vertex:\\\"#ifdef USE_DISPLACEMENTMAP\\\\n\\\\tuniform sampler2D displacementMap;\\\\n\\\\tuniform float displacementScale;\\\\n\\\\tuniform float displacementBias;\\\\n#endif\\\",displacementmap_vertex:\\\"#ifdef USE_DISPLACEMENTMAP\\\\n\\\\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias );\\\\n#endif\\\",emissivemap_fragment:\\\"#ifdef USE_EMISSIVEMAP\\\\n\\\\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\\\\n\\\\ttotalEmissiveRadiance *= emissiveColor.rgb;\\\\n#endif\\\",emissivemap_pars_fragment:\\\"#ifdef USE_EMISSIVEMAP\\\\n\\\\tuniform sampler2D emissiveMap;\\\\n#endif\\\",encodings_fragment:\\\"gl_FragColor = linearToOutputTexel( gl_FragColor );\\\",encodings_pars_fragment:\\\"vec4 LinearToLinear( in vec4 value ) {\\\\n\\\\treturn value;\\\\n}\\\\nvec4 LinearTosRGB( in vec4 value ) {\\\\n\\\\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\\\\n}\\\",envmap_fragment:\\\"#ifdef USE_ENVMAP\\\\n\\\\t#ifdef ENV_WORLDPOS\\\\n\\\\t\\\\tvec3 cameraToFrag;\\\\n\\\\t\\\\tif ( isOrthographic ) {\\\\n\\\\t\\\\t\\\\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\\\n\\\\t\\\\t#ifdef ENVMAP_MODE_REFLECTION\\\\n\\\\t\\\\t\\\\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\\\\n\\\\t\\\\t#endif\\\\n\\\\t#else\\\\n\\\\t\\\\tvec3 reflectVec = vReflect;\\\\n\\\\t#endif\\\\n\\\\t#ifdef ENVMAP_TYPE_CUBE\\\\n\\\\t\\\\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\\\\n\\\\t#elif defined( ENVMAP_TYPE_CUBE_UV )\\\\n\\\\t\\\\tvec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 );\\\\n\\\\t#else\\\\n\\\\t\\\\tvec4 envColor = vec4( 0.0 );\\\\n\\\\t#endif\\\\n\\\\t#ifdef ENVMAP_BLENDING_MULTIPLY\\\\n\\\\t\\\\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\\\\n\\\\t#elif defined( ENVMAP_BLENDING_MIX )\\\\n\\\\t\\\\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\\\\n\\\\t#elif defined( ENVMAP_BLENDING_ADD )\\\\n\\\\t\\\\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\\\\n\\\\t#endif\\\\n#endif\\\",envmap_common_pars_fragment:\\\"#ifdef USE_ENVMAP\\\\n\\\\tuniform float envMapIntensity;\\\\n\\\\tuniform float flipEnvMap;\\\\n\\\\t#ifdef ENVMAP_TYPE_CUBE\\\\n\\\\t\\\\tuniform samplerCube envMap;\\\\n\\\\t#else\\\\n\\\\t\\\\tuniform sampler2D envMap;\\\\n\\\\t#endif\\\\n\\\\t\\\\n#endif\\\",envmap_pars_fragment:\\\"#ifdef USE_ENVMAP\\\\n\\\\tuniform float reflectivity;\\\\n\\\\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\\\\n\\\\t\\\\t#define ENV_WORLDPOS\\\\n\\\\t#endif\\\\n\\\\t#ifdef ENV_WORLDPOS\\\\n\\\\t\\\\tvarying vec3 vWorldPosition;\\\\n\\\\t\\\\tuniform float refractionRatio;\\\\n\\\\t#else\\\\n\\\\t\\\\tvarying vec3 vReflect;\\\\n\\\\t#endif\\\\n#endif\\\",envmap_pars_vertex:\\\"#ifdef USE_ENVMAP\\\\n\\\\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG )\\\\n\\\\t\\\\t#define ENV_WORLDPOS\\\\n\\\\t#endif\\\\n\\\\t#ifdef ENV_WORLDPOS\\\\n\\\\t\\\\t\\\\n\\\\t\\\\tvarying vec3 vWorldPosition;\\\\n\\\\t#else\\\\n\\\\t\\\\tvarying vec3 vReflect;\\\\n\\\\t\\\\tuniform float refractionRatio;\\\\n\\\\t#endif\\\\n#endif\\\",envmap_physical_pars_fragment:\\\"#if defined( USE_ENVMAP )\\\\n\\\\tvec3 getIBLIrradiance( const in vec3 normal ) {\\\\n\\\\t\\\\t#if defined( ENVMAP_TYPE_CUBE_UV )\\\\n\\\\t\\\\t\\\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\\\n\\\\t\\\\t\\\\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\\\\n\\\\t\\\\t\\\\treturn PI * envMapColor.rgb * envMapIntensity;\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn vec3( 0.0 );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\\\\n\\\\t\\\\t#if defined( ENVMAP_TYPE_CUBE_UV )\\\\n\\\\t\\\\t\\\\tvec3 reflectVec = reflect( - viewDir, normal );\\\\n\\\\t\\\\t\\\\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\\\\n\\\\t\\\\t\\\\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\\\\n\\\\t\\\\t\\\\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\\\\n\\\\t\\\\t\\\\treturn envMapColor.rgb * envMapIntensity;\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn vec3( 0.0 );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n#endif\\\",envmap_vertex:\\\"#ifdef USE_ENVMAP\\\\n\\\\t#ifdef ENV_WORLDPOS\\\\n\\\\t\\\\tvWorldPosition = worldPosition.xyz;\\\\n\\\\t#else\\\\n\\\\t\\\\tvec3 cameraToVertex;\\\\n\\\\t\\\\tif ( isOrthographic ) {\\\\n\\\\t\\\\t\\\\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\\\\n\\\\t\\\\t#ifdef ENVMAP_MODE_REFLECTION\\\\n\\\\t\\\\t\\\\tvReflect = reflect( cameraToVertex, worldNormal );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\\\\n\\\\t\\\\t#endif\\\\n\\\\t#endif\\\\n#endif\\\",fog_vertex:\\\"#ifdef USE_FOG\\\\n\\\\tvFogDepth = - mvPosition.z;\\\\n#endif\\\",fog_pars_vertex:\\\"#ifdef USE_FOG\\\\n\\\\tvarying float vFogDepth;\\\\n#endif\\\",fog_fragment:\\\"#ifdef USE_FOG\\\\n\\\\t#ifdef FOG_EXP2\\\\n\\\\t\\\\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\\\\n\\\\t#else\\\\n\\\\t\\\\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\\\\n\\\\t#endif\\\\n\\\\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\\\\n#endif\\\",fog_pars_fragment:\\\"#ifdef USE_FOG\\\\n\\\\tuniform vec3 fogColor;\\\\n\\\\tvarying float vFogDepth;\\\\n\\\\t#ifdef FOG_EXP2\\\\n\\\\t\\\\tuniform float fogDensity;\\\\n\\\\t#else\\\\n\\\\t\\\\tuniform float fogNear;\\\\n\\\\t\\\\tuniform float fogFar;\\\\n\\\\t#endif\\\\n#endif\\\",gradientmap_pars_fragment:\\\"#ifdef USE_GRADIENTMAP\\\\n\\\\tuniform sampler2D gradientMap;\\\\n#endif\\\\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\\\\n\\\\tfloat dotNL = dot( normal, lightDirection );\\\\n\\\\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\\\\n\\\\t#ifdef USE_GRADIENTMAP\\\\n\\\\t\\\\treturn vec3( texture2D( gradientMap, coord ).r );\\\\n\\\\t#else\\\\n\\\\t\\\\treturn ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\\\\n\\\\t#endif\\\\n}\\\",lightmap_fragment:\\\"#ifdef USE_LIGHTMAP\\\\n\\\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\\\n\\\\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\\\\n\\\\treflectedLight.indirectDiffuse += lightMapIrradiance;\\\\n#endif\\\",lightmap_pars_fragment:\\\"#ifdef USE_LIGHTMAP\\\\n\\\\tuniform sampler2D lightMap;\\\\n\\\\tuniform float lightMapIntensity;\\\\n#endif\\\",lights_lambert_vertex:\\\"vec3 diffuse = vec3( 1.0 );\\\\nGeometricContext geometry;\\\\ngeometry.position = mvPosition.xyz;\\\\ngeometry.normal = normalize( transformedNormal );\\\\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );\\\\nGeometricContext backGeometry;\\\\nbackGeometry.position = geometry.position;\\\\nbackGeometry.normal = -geometry.normal;\\\\nbackGeometry.viewDir = geometry.viewDir;\\\\nvLightFront = vec3( 0.0 );\\\\nvIndirectFront = vec3( 0.0 );\\\\n#ifdef DOUBLE_SIDED\\\\n\\\\tvLightBack = vec3( 0.0 );\\\\n\\\\tvIndirectBack = vec3( 0.0 );\\\\n#endif\\\\nIncidentLight directLight;\\\\nfloat dotNL;\\\\nvec3 directLightColor_Diffuse;\\\\nvIndirectFront += getAmbientLightIrradiance( ambientLightColor );\\\\nvIndirectFront += getLightProbeIrradiance( lightProbe, geometry.normal );\\\\n#ifdef DOUBLE_SIDED\\\\n\\\\tvIndirectBack += getAmbientLightIrradiance( ambientLightColor );\\\\n\\\\tvIndirectBack += getLightProbeIrradiance( lightProbe, backGeometry.normal );\\\\n#endif\\\\n#if NUM_POINT_LIGHTS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tgetPointLightInfo( pointLights[ i ], geometry, directLight );\\\\n\\\\t\\\\tdotNL = dot( geometry.normal, directLight.direction );\\\\n\\\\t\\\\tdirectLightColor_Diffuse = directLight.color;\\\\n\\\\t\\\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if NUM_SPOT_LIGHTS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tgetSpotLightInfo( spotLights[ i ], geometry, directLight );\\\\n\\\\t\\\\tdotNL = dot( geometry.normal, directLight.direction );\\\\n\\\\t\\\\tdirectLightColor_Diffuse = directLight.color;\\\\n\\\\t\\\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if NUM_DIR_LIGHTS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tgetDirectionalLightInfo( directionalLights[ i ], geometry, directLight );\\\\n\\\\t\\\\tdotNL = dot( geometry.normal, directLight.direction );\\\\n\\\\t\\\\tdirectLightColor_Diffuse = directLight.color;\\\\n\\\\t\\\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if NUM_HEMI_LIGHTS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tvIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\tvIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry.normal );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\",lights_pars_begin:\\\"uniform bool receiveShadow;\\\\nuniform vec3 ambientLightColor;\\\\nuniform vec3 lightProbe[ 9 ];\\\\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\\\\n\\\\tfloat x = normal.x, y = normal.y, z = normal.z;\\\\n\\\\tvec3 result = shCoefficients[ 0 ] * 0.886227;\\\\n\\\\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\\\\n\\\\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\\\\n\\\\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\\\\n\\\\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\\\\n\\\\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\\\\n\\\\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\\\\n\\\\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\\\\n\\\\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\\\\n\\\\treturn result;\\\\n}\\\\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\\\\n\\\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\\\n\\\\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\\\\n\\\\treturn irradiance;\\\\n}\\\\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\\\\n\\\\tvec3 irradiance = ambientLightColor;\\\\n\\\\treturn irradiance;\\\\n}\\\\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\\\\n\\\\t#if defined ( PHYSICALLY_CORRECT_LIGHTS )\\\\n\\\\t\\\\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\\\\n\\\\t\\\\tif ( cutoffDistance > 0.0 ) {\\\\n\\\\t\\\\t\\\\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn distanceFalloff;\\\\n\\\\t#else\\\\n\\\\t\\\\tif ( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\\\\n\\\\t\\\\t\\\\treturn pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn 1.0;\\\\n\\\\t#endif\\\\n}\\\\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\\\\n\\\\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\\\\n}\\\\n#if NUM_DIR_LIGHTS > 0\\\\n\\\\tstruct DirectionalLight {\\\\n\\\\t\\\\tvec3 direction;\\\\n\\\\t\\\\tvec3 color;\\\\n\\\\t};\\\\n\\\\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\\\\n\\\\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) {\\\\n\\\\t\\\\tlight.color = directionalLight.color;\\\\n\\\\t\\\\tlight.direction = directionalLight.direction;\\\\n\\\\t\\\\tlight.visible = true;\\\\n\\\\t}\\\\n#endif\\\\n#if NUM_POINT_LIGHTS > 0\\\\n\\\\tstruct PointLight {\\\\n\\\\t\\\\tvec3 position;\\\\n\\\\t\\\\tvec3 color;\\\\n\\\\t\\\\tfloat distance;\\\\n\\\\t\\\\tfloat decay;\\\\n\\\\t};\\\\n\\\\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\\\\n\\\\tvoid getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) {\\\\n\\\\t\\\\tvec3 lVector = pointLight.position - geometry.position;\\\\n\\\\t\\\\tlight.direction = normalize( lVector );\\\\n\\\\t\\\\tfloat lightDistance = length( lVector );\\\\n\\\\t\\\\tlight.color = pointLight.color;\\\\n\\\\t\\\\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\\\\n\\\\t\\\\tlight.visible = ( light.color != vec3( 0.0 ) );\\\\n\\\\t}\\\\n#endif\\\\n#if NUM_SPOT_LIGHTS > 0\\\\n\\\\tstruct SpotLight {\\\\n\\\\t\\\\tvec3 position;\\\\n\\\\t\\\\tvec3 direction;\\\\n\\\\t\\\\tvec3 color;\\\\n\\\\t\\\\tfloat distance;\\\\n\\\\t\\\\tfloat decay;\\\\n\\\\t\\\\tfloat coneCos;\\\\n\\\\t\\\\tfloat penumbraCos;\\\\n\\\\t};\\\\n\\\\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\\\\n\\\\tvoid getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) {\\\\n\\\\t\\\\tvec3 lVector = spotLight.position - geometry.position;\\\\n\\\\t\\\\tlight.direction = normalize( lVector );\\\\n\\\\t\\\\tfloat angleCos = dot( light.direction, spotLight.direction );\\\\n\\\\t\\\\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\\\\n\\\\t\\\\tif ( spotAttenuation > 0.0 ) {\\\\n\\\\t\\\\t\\\\tfloat lightDistance = length( lVector );\\\\n\\\\t\\\\t\\\\tlight.color = spotLight.color * spotAttenuation;\\\\n\\\\t\\\\t\\\\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\\\\n\\\\t\\\\t\\\\tlight.visible = ( light.color != vec3( 0.0 ) );\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tlight.color = vec3( 0.0 );\\\\n\\\\t\\\\t\\\\tlight.visible = false;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n#endif\\\\n#if NUM_RECT_AREA_LIGHTS > 0\\\\n\\\\tstruct RectAreaLight {\\\\n\\\\t\\\\tvec3 color;\\\\n\\\\t\\\\tvec3 position;\\\\n\\\\t\\\\tvec3 halfWidth;\\\\n\\\\t\\\\tvec3 halfHeight;\\\\n\\\\t};\\\\n\\\\tuniform sampler2D ltc_1;\\\\tuniform sampler2D ltc_2;\\\\n\\\\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\\\\n#endif\\\\n#if NUM_HEMI_LIGHTS > 0\\\\n\\\\tstruct HemisphereLight {\\\\n\\\\t\\\\tvec3 direction;\\\\n\\\\t\\\\tvec3 skyColor;\\\\n\\\\t\\\\tvec3 groundColor;\\\\n\\\\t};\\\\n\\\\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\\\\n\\\\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\\\\n\\\\t\\\\tfloat dotNL = dot( normal, hemiLight.direction );\\\\n\\\\t\\\\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\\\\n\\\\t\\\\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\\\\n\\\\t\\\\treturn irradiance;\\\\n\\\\t}\\\\n#endif\\\",lights_toon_fragment:\\\"ToonMaterial material;\\\\nmaterial.diffuseColor = diffuseColor.rgb;\\\",lights_toon_pars_fragment:\\\"varying vec3 vViewPosition;\\\\nstruct ToonMaterial {\\\\n\\\\tvec3 diffuseColor;\\\\n};\\\\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\\\\n\\\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\n#define RE_Direct\\\\t\\\\t\\\\t\\\\tRE_Direct_Toon\\\\n#define RE_IndirectDiffuse\\\\t\\\\tRE_IndirectDiffuse_Toon\\\\n#define Material_LightProbeLOD( material )\\\\t(0)\\\",lights_phong_fragment:\\\"BlinnPhongMaterial material;\\\\nmaterial.diffuseColor = diffuseColor.rgb;\\\\nmaterial.specularColor = specular;\\\\nmaterial.specularShininess = shininess;\\\\nmaterial.specularStrength = specularStrength;\\\",lights_phong_pars_fragment:\\\"varying vec3 vViewPosition;\\\\nstruct BlinnPhongMaterial {\\\\n\\\\tvec3 diffuseColor;\\\\n\\\\tvec3 specularColor;\\\\n\\\\tfloat specularShininess;\\\\n\\\\tfloat specularStrength;\\\\n};\\\\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\\\\n\\\\tvec3 irradiance = dotNL * directLight.color;\\\\n\\\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n\\\\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\\\\n}\\\\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\n#define RE_Direct\\\\t\\\\t\\\\t\\\\tRE_Direct_BlinnPhong\\\\n#define RE_IndirectDiffuse\\\\t\\\\tRE_IndirectDiffuse_BlinnPhong\\\\n#define Material_LightProbeLOD( material )\\\\t(0)\\\",lights_physical_fragment:\\\"PhysicalMaterial material;\\\\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\\\\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\\\\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\\\\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\\\\nmaterial.roughness = min( material.roughness, 1.0 );\\\\n#ifdef IOR\\\\n\\\\t#ifdef SPECULAR\\\\n\\\\t\\\\tfloat specularIntensityFactor = specularIntensity;\\\\n\\\\t\\\\tvec3 specularColorFactor = specularColor;\\\\n\\\\t\\\\t#ifdef USE_SPECULARINTENSITYMAP\\\\n\\\\t\\\\t\\\\tspecularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\t#ifdef USE_SPECULARCOLORMAP\\\\n\\\\t\\\\t\\\\tspecularColorFactor *= texture2D( specularColorMap, vUv ).rgb;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\\\\n\\\\t#else\\\\n\\\\t\\\\tfloat specularIntensityFactor = 1.0;\\\\n\\\\t\\\\tvec3 specularColorFactor = vec3( 1.0 );\\\\n\\\\t\\\\tmaterial.specularF90 = 1.0;\\\\n\\\\t#endif\\\\n\\\\tmaterial.specularColor = mix( min( pow2( ( ior - 1.0 ) / ( ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\\\\n#else\\\\n\\\\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\\\\n\\\\tmaterial.specularF90 = 1.0;\\\\n#endif\\\\n#ifdef USE_CLEARCOAT\\\\n\\\\tmaterial.clearcoat = clearcoat;\\\\n\\\\tmaterial.clearcoatRoughness = clearcoatRoughness;\\\\n\\\\tmaterial.clearcoatF0 = vec3( 0.04 );\\\\n\\\\tmaterial.clearcoatF90 = 1.0;\\\\n\\\\t#ifdef USE_CLEARCOATMAP\\\\n\\\\t\\\\tmaterial.clearcoat *= texture2D( clearcoatMap, vUv ).x;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\\\\n\\\\t\\\\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y;\\\\n\\\\t#endif\\\\n\\\\tmaterial.clearcoat = saturate( material.clearcoat );\\\\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\\\\n\\\\tmaterial.clearcoatRoughness += geometryRoughness;\\\\n\\\\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\\\\n#endif\\\\n#ifdef USE_IRIDESCENCE\\\\n\\\\tmaterial.iridescence = iridescence;\\\\n\\\\tmaterial.iridescenceIOR = iridescenceIOR;\\\\n\\\\t#ifdef USE_IRIDESCENCEMAP\\\\n\\\\t\\\\tmaterial.iridescence *= texture2D( iridescenceMap, vUv ).r;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\\\\n\\\\t\\\\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum;\\\\n\\\\t#else\\\\n\\\\t\\\\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\\\\n\\\\t#endif\\\\n#endif\\\\n#ifdef USE_SHEEN\\\\n\\\\tmaterial.sheenColor = sheenColor;\\\\n\\\\t#ifdef USE_SHEENCOLORMAP\\\\n\\\\t\\\\tmaterial.sheenColor *= texture2D( sheenColorMap, vUv ).rgb;\\\\n\\\\t#endif\\\\n\\\\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\\\\n\\\\t#ifdef USE_SHEENROUGHNESSMAP\\\\n\\\\t\\\\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a;\\\\n\\\\t#endif\\\\n#endif\\\",lights_physical_pars_fragment:\\\"struct PhysicalMaterial {\\\\n\\\\tvec3 diffuseColor;\\\\n\\\\tfloat roughness;\\\\n\\\\tvec3 specularColor;\\\\n\\\\tfloat specularF90;\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tfloat clearcoat;\\\\n\\\\t\\\\tfloat clearcoatRoughness;\\\\n\\\\t\\\\tvec3 clearcoatF0;\\\\n\\\\t\\\\tfloat clearcoatF90;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_IRIDESCENCE\\\\n\\\\t\\\\tfloat iridescence;\\\\n\\\\t\\\\tfloat iridescenceIOR;\\\\n\\\\t\\\\tfloat iridescenceThickness;\\\\n\\\\t\\\\tvec3 iridescenceFresnel;\\\\n\\\\t\\\\tvec3 iridescenceF0;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SHEEN\\\\n\\\\t\\\\tvec3 sheenColor;\\\\n\\\\t\\\\tfloat sheenRoughness;\\\\n\\\\t#endif\\\\n};\\\\nvec3 clearcoatSpecular = vec3( 0.0 );\\\\nvec3 sheenSpecular = vec3( 0.0 );\\\\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness) {\\\\n\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\tfloat r2 = roughness * roughness;\\\\n\\\\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\\\\n\\\\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\\\\n\\\\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\\\\n\\\\treturn saturate( DG * RECIPROCAL_PI );\\\\n}\\\\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\\\\n\\\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\\\n\\\\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\\\\n\\\\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\\\\n\\\\tvec4 r = roughness * c0 + c1;\\\\n\\\\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\\\\n\\\\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\\\\n\\\\treturn fab;\\\\n}\\\\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\\\\n\\\\tvec2 fab = DFGApprox( normal, viewDir, roughness );\\\\n\\\\treturn specularColor * fab.x + specularF90 * fab.y;\\\\n}\\\\n#ifdef USE_IRIDESCENCE\\\\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\\\\n#else\\\\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\\\\n#endif\\\\n\\\\tvec2 fab = DFGApprox( normal, viewDir, roughness );\\\\n\\\\t#ifdef USE_IRIDESCENCE\\\\n\\\\t\\\\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\\\\n\\\\t#else\\\\n\\\\t\\\\tvec3 Fr = specularColor;\\\\n\\\\t#endif\\\\n\\\\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\\\\n\\\\tfloat Ess = fab.x + fab.y;\\\\n\\\\tfloat Ems = 1.0 - Ess;\\\\n\\\\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\\\\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\\\\n\\\\tsingleScatter += FssEss;\\\\n\\\\tmultiScatter += Fms * Ems;\\\\n}\\\\n#if NUM_RECT_AREA_LIGHTS > 0\\\\n\\\\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\t\\\\tvec3 normal = geometry.normal;\\\\n\\\\t\\\\tvec3 viewDir = geometry.viewDir;\\\\n\\\\t\\\\tvec3 position = geometry.position;\\\\n\\\\t\\\\tvec3 lightPos = rectAreaLight.position;\\\\n\\\\t\\\\tvec3 halfWidth = rectAreaLight.halfWidth;\\\\n\\\\t\\\\tvec3 halfHeight = rectAreaLight.halfHeight;\\\\n\\\\t\\\\tvec3 lightColor = rectAreaLight.color;\\\\n\\\\t\\\\tfloat roughness = material.roughness;\\\\n\\\\t\\\\tvec3 rectCoords[ 4 ];\\\\n\\\\t\\\\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\\\\t\\\\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\\\\n\\\\t\\\\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\\\\n\\\\t\\\\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\\\\n\\\\t\\\\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\\\\n\\\\t\\\\tvec4 t1 = texture2D( ltc_1, uv );\\\\n\\\\t\\\\tvec4 t2 = texture2D( ltc_2, uv );\\\\n\\\\t\\\\tmat3 mInv = mat3(\\\\n\\\\t\\\\t\\\\tvec3( t1.x, 0, t1.y ),\\\\n\\\\t\\\\t\\\\tvec3( 0, 1, 0 ),\\\\n\\\\t\\\\t\\\\tvec3( t1.z, 0, t1.w )\\\\n\\\\t\\\\t);\\\\n\\\\t\\\\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\\\\n\\\\t\\\\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\\\\n\\\\t\\\\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\\\\n\\\\t}\\\\n#endif\\\\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\\\\n\\\\tvec3 irradiance = dotNL * directLight.color;\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tfloat dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\\\\n\\\\t\\\\tvec3 ccIrradiance = dotNLcc * directLight.color;\\\\n\\\\t\\\\tclearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SHEEN\\\\n\\\\t\\\\tsheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness );\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_IRIDESCENCE\\\\n\\\\t\\\\treflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness );\\\\n\\\\t#else\\\\n\\\\t\\\\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness );\\\\n\\\\t#endif\\\\n\\\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\\\n\\\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\\\n}\\\\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tclearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SHEEN\\\\n\\\\t\\\\tsheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness );\\\\n\\\\t#endif\\\\n\\\\tvec3 singleScattering = vec3( 0.0 );\\\\n\\\\tvec3 multiScattering = vec3( 0.0 );\\\\n\\\\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\\\\n\\\\t#ifdef USE_IRIDESCENCE\\\\n\\\\t\\\\tcomputeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\\\\n\\\\t#else\\\\n\\\\t\\\\tcomputeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\\\\n\\\\t#endif\\\\n\\\\tvec3 totalScattering = singleScattering + multiScattering;\\\\n\\\\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\\\\n\\\\treflectedLight.indirectSpecular += radiance * singleScattering;\\\\n\\\\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\\\\n\\\\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\\\\n}\\\\n#define RE_Direct\\\\t\\\\t\\\\t\\\\tRE_Direct_Physical\\\\n#define RE_Direct_RectArea\\\\t\\\\tRE_Direct_RectArea_Physical\\\\n#define RE_IndirectDiffuse\\\\t\\\\tRE_IndirectDiffuse_Physical\\\\n#define RE_IndirectSpecular\\\\t\\\\tRE_IndirectSpecular_Physical\\\\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\\\\n\\\\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\\\\n}\\\",lights_fragment_begin:\\\"\\\\nGeometricContext geometry;\\\\ngeometry.position = - vViewPosition;\\\\ngeometry.normal = normal;\\\\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\\\\n#ifdef USE_CLEARCOAT\\\\n\\\\tgeometry.clearcoatNormal = clearcoatNormal;\\\\n#endif\\\\n#ifdef USE_IRIDESCENCE\\\\n\\\\tfloat dotNVi = saturate( dot( normal, geometry.viewDir ) );\\\\n\\\\tif ( material.iridescenceThickness == 0.0 ) {\\\\n\\\\t\\\\tmaterial.iridescence = 0.0;\\\\n\\\\t} else {\\\\n\\\\t\\\\tmaterial.iridescence = saturate( material.iridescence );\\\\n\\\\t}\\\\n\\\\tif ( material.iridescence > 0.0 ) {\\\\n\\\\t\\\\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\\\\n\\\\t\\\\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\\\\n\\\\t}\\\\n#endif\\\\nIncidentLight directLight;\\\\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\\\\n\\\\tPointLight pointLight;\\\\n\\\\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\tPointLightShadow pointLightShadow;\\\\n\\\\t#endif\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tpointLight = pointLights[ i ];\\\\n\\\\t\\\\tgetPointLightInfo( pointLight, geometry, directLight );\\\\n\\\\t\\\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\\\\n\\\\t\\\\tpointLightShadow = pointLightShadows[ i ];\\\\n\\\\t\\\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\tRE_Direct( directLight, geometry, material, reflectedLight );\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\\\\n\\\\tSpotLight spotLight;\\\\n\\\\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\tSpotLightShadow spotLightShadow;\\\\n\\\\t#endif\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tspotLight = spotLights[ i ];\\\\n\\\\t\\\\tgetSpotLightInfo( spotLight, geometry, directLight );\\\\n\\\\t\\\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\\\\n\\\\t\\\\tspotLightShadow = spotLightShadows[ i ];\\\\n\\\\t\\\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\tRE_Direct( directLight, geometry, material, reflectedLight );\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\\\\n\\\\tDirectionalLight directionalLight;\\\\n\\\\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\tDirectionalLightShadow directionalLightShadow;\\\\n\\\\t#endif\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\\\\n\\\\t\\\\tdirectionalLight = directionalLights[ i ];\\\\n\\\\t\\\\tgetDirectionalLightInfo( directionalLight, geometry, directLight );\\\\n\\\\t\\\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\\\\n\\\\t\\\\tdirectionalLightShadow = directionalLightShadows[ i ];\\\\n\\\\t\\\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\tRE_Direct( directLight, geometry, material, reflectedLight );\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\\\\n\\\\tRectAreaLight rectAreaLight;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\\\\n\\\\t\\\\trectAreaLight = rectAreaLights[ i ];\\\\n\\\\t\\\\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n#endif\\\\n#if defined( RE_IndirectDiffuse )\\\\n\\\\tvec3 iblIrradiance = vec3( 0.0 );\\\\n\\\\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\\\\n\\\\tirradiance += getLightProbeIrradiance( lightProbe, geometry.normal );\\\\n\\\\t#if ( NUM_HEMI_LIGHTS > 0 )\\\\n\\\\t\\\\t#pragma unroll_loop_start\\\\n\\\\t\\\\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\\\\n\\\\t\\\\t\\\\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n#endif\\\\n#if defined( RE_IndirectSpecular )\\\\n\\\\tvec3 radiance = vec3( 0.0 );\\\\n\\\\tvec3 clearcoatRadiance = vec3( 0.0 );\\\\n#endif\\\",lights_fragment_maps:\\\"#if defined( RE_IndirectDiffuse )\\\\n\\\\t#ifdef USE_LIGHTMAP\\\\n\\\\t\\\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\\\n\\\\t\\\\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\\\\n\\\\t\\\\tirradiance += lightMapIrradiance;\\\\n\\\\t#endif\\\\n\\\\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\\\\n\\\\t\\\\tiblIrradiance += getIBLIrradiance( geometry.normal );\\\\n\\\\t#endif\\\\n#endif\\\\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\\\\n\\\\tradiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness );\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tclearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness );\\\\n\\\\t#endif\\\\n#endif\\\",lights_fragment_end:\\\"#if defined( RE_IndirectDiffuse )\\\\n\\\\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\\\\n#endif\\\\n#if defined( RE_IndirectSpecular )\\\\n\\\\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\\\\n#endif\\\",logdepthbuf_fragment:\\\"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\\\\n\\\\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\\\\n#endif\\\",logdepthbuf_pars_fragment:\\\"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\\\\n\\\\tuniform float logDepthBufFC;\\\\n\\\\tvarying float vFragDepth;\\\\n\\\\tvarying float vIsPerspective;\\\\n#endif\\\",logdepthbuf_pars_vertex:\\\"#ifdef USE_LOGDEPTHBUF\\\\n\\\\t#ifdef USE_LOGDEPTHBUF_EXT\\\\n\\\\t\\\\tvarying float vFragDepth;\\\\n\\\\t\\\\tvarying float vIsPerspective;\\\\n\\\\t#else\\\\n\\\\t\\\\tuniform float logDepthBufFC;\\\\n\\\\t#endif\\\\n#endif\\\",logdepthbuf_vertex:\\\"#ifdef USE_LOGDEPTHBUF\\\\n\\\\t#ifdef USE_LOGDEPTHBUF_EXT\\\\n\\\\t\\\\tvFragDepth = 1.0 + gl_Position.w;\\\\n\\\\t\\\\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\\\\n\\\\t#else\\\\n\\\\t\\\\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\\\\n\\\\t\\\\t\\\\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\\\\n\\\\t\\\\t\\\\tgl_Position.z *= gl_Position.w;\\\\n\\\\t\\\\t}\\\\n\\\\t#endif\\\\n#endif\\\",map_fragment:\\\"#ifdef USE_MAP\\\\n\\\\tvec4 sampledDiffuseColor = texture2D( map, vUv );\\\\n\\\\t#ifdef DECODE_VIDEO_TEXTURE\\\\n\\\\t\\\\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\\\\n\\\\t#endif\\\\n\\\\tdiffuseColor *= sampledDiffuseColor;\\\\n#endif\\\",map_pars_fragment:\\\"#ifdef USE_MAP\\\\n\\\\tuniform sampler2D map;\\\\n#endif\\\",map_particle_fragment:\\\"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\\\\n\\\\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\\\\n#endif\\\\n#ifdef USE_MAP\\\\n\\\\tdiffuseColor *= texture2D( map, uv );\\\\n#endif\\\\n#ifdef USE_ALPHAMAP\\\\n\\\\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\\\\n#endif\\\",map_particle_pars_fragment:\\\"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\\\\n\\\\tuniform mat3 uvTransform;\\\\n#endif\\\\n#ifdef USE_MAP\\\\n\\\\tuniform sampler2D map;\\\\n#endif\\\\n#ifdef USE_ALPHAMAP\\\\n\\\\tuniform sampler2D alphaMap;\\\\n#endif\\\",metalnessmap_fragment:\\\"float metalnessFactor = metalness;\\\\n#ifdef USE_METALNESSMAP\\\\n\\\\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\\\\n\\\\tmetalnessFactor *= texelMetalness.b;\\\\n#endif\\\",metalnessmap_pars_fragment:\\\"#ifdef USE_METALNESSMAP\\\\n\\\\tuniform sampler2D metalnessMap;\\\\n#endif\\\",morphcolor_vertex:\\\"#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )\\\\n\\\\tvColor *= morphTargetBaseInfluence;\\\\n\\\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\\\n\\\\t\\\\t#if defined( USE_COLOR_ALPHA )\\\\n\\\\t\\\\t\\\\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\\\\n\\\\t\\\\t#elif defined( USE_COLOR )\\\\n\\\\t\\\\t\\\\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n#endif\\\",morphnormal_vertex:\\\"#ifdef USE_MORPHNORMALS\\\\n\\\\tobjectNormal *= morphTargetBaseInfluence;\\\\n\\\\t#ifdef MORPHTARGETS_TEXTURE\\\\n\\\\t\\\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\\\n\\\\t\\\\t\\\\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\\\\n\\\\t\\\\t}\\\\n\\\\t#else\\\\n\\\\t\\\\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\\\\n\\\\t\\\\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\\\\n\\\\t\\\\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\\\\n\\\\t\\\\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\\\\n\\\\t#endif\\\\n#endif\\\",morphtarget_pars_vertex:\\\"#ifdef USE_MORPHTARGETS\\\\n\\\\tuniform float morphTargetBaseInfluence;\\\\n\\\\t#ifdef MORPHTARGETS_TEXTURE\\\\n\\\\t\\\\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\\\\n\\\\t\\\\tuniform sampler2DArray morphTargetsTexture;\\\\n\\\\t\\\\tuniform ivec2 morphTargetsTextureSize;\\\\n\\\\t\\\\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\\\\n\\\\t\\\\t\\\\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\\\\n\\\\t\\\\t\\\\tint y = texelIndex / morphTargetsTextureSize.x;\\\\n\\\\t\\\\t\\\\tint x = texelIndex - y * morphTargetsTextureSize.x;\\\\n\\\\t\\\\t\\\\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\\\\n\\\\t\\\\t\\\\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\\\\n\\\\t\\\\t}\\\\n\\\\t#else\\\\n\\\\t\\\\t#ifndef USE_MORPHNORMALS\\\\n\\\\t\\\\t\\\\tuniform float morphTargetInfluences[ 8 ];\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tuniform float morphTargetInfluences[ 4 ];\\\\n\\\\t\\\\t#endif\\\\n\\\\t#endif\\\\n#endif\\\",morphtarget_vertex:\\\"#ifdef USE_MORPHTARGETS\\\\n\\\\ttransformed *= morphTargetBaseInfluence;\\\\n\\\\t#ifdef MORPHTARGETS_TEXTURE\\\\n\\\\t\\\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\\\n\\\\t\\\\t\\\\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\\\\n\\\\t\\\\t}\\\\n\\\\t#else\\\\n\\\\t\\\\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\\\\n\\\\t\\\\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\\\\n\\\\t\\\\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\\\\n\\\\t\\\\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\\\\n\\\\t\\\\t#ifndef USE_MORPHNORMALS\\\\n\\\\t\\\\t\\\\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\\\\n\\\\t\\\\t\\\\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\\\\n\\\\t\\\\t\\\\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\\\\n\\\\t\\\\t\\\\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\\\\n\\\\t\\\\t#endif\\\\n\\\\t#endif\\\\n#endif\\\",normal_fragment_begin:\\\"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\\\\n#ifdef FLAT_SHADED\\\\n\\\\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\\\\n\\\\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\\\\n\\\\tvec3 normal = normalize( cross( fdx, fdy ) );\\\\n#else\\\\n\\\\tvec3 normal = normalize( vNormal );\\\\n\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\tnormal = normal * faceDirection;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tvec3 tangent = normalize( vTangent );\\\\n\\\\t\\\\tvec3 bitangent = normalize( vBitangent );\\\\n\\\\t\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\t\\\\ttangent = tangent * faceDirection;\\\\n\\\\t\\\\t\\\\tbitangent = bitangent * faceDirection;\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\\\\n\\\\t\\\\t\\\\tmat3 vTBN = mat3( tangent, bitangent, normal );\\\\n\\\\t\\\\t#endif\\\\n\\\\t#endif\\\\n#endif\\\\nvec3 geometryNormal = normal;\\\",normal_fragment_maps:\\\"#ifdef OBJECTSPACE_NORMALMAP\\\\n\\\\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\\\\n\\\\t#ifdef FLIP_SIDED\\\\n\\\\t\\\\tnormal = - normal;\\\\n\\\\t#endif\\\\n\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\tnormal = normal * faceDirection;\\\\n\\\\t#endif\\\\n\\\\tnormal = normalize( normalMatrix * normal );\\\\n#elif defined( TANGENTSPACE_NORMALMAP )\\\\n\\\\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\\\\n\\\\tmapN.xy *= normalScale;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tnormal = normalize( vTBN * mapN );\\\\n\\\\t#else\\\\n\\\\t\\\\tnormal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection );\\\\n\\\\t#endif\\\\n#elif defined( USE_BUMPMAP )\\\\n\\\\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\\\\n#endif\\\",normal_pars_fragment:\\\"#ifndef FLAT_SHADED\\\\n\\\\tvarying vec3 vNormal;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tvarying vec3 vTangent;\\\\n\\\\t\\\\tvarying vec3 vBitangent;\\\\n\\\\t#endif\\\\n#endif\\\",normal_pars_vertex:\\\"#ifndef FLAT_SHADED\\\\n\\\\tvarying vec3 vNormal;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tvarying vec3 vTangent;\\\\n\\\\t\\\\tvarying vec3 vBitangent;\\\\n\\\\t#endif\\\\n#endif\\\",normal_vertex:\\\"#ifndef FLAT_SHADED\\\\n\\\\tvNormal = normalize( transformedNormal );\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tvTangent = normalize( transformedTangent );\\\\n\\\\t\\\\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\\\\n\\\\t#endif\\\\n#endif\\\",normalmap_pars_fragment:\\\"#ifdef USE_NORMALMAP\\\\n\\\\tuniform sampler2D normalMap;\\\\n\\\\tuniform vec2 normalScale;\\\\n#endif\\\\n#ifdef OBJECTSPACE_NORMALMAP\\\\n\\\\tuniform mat3 normalMatrix;\\\\n#endif\\\\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\\\\n\\\\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) {\\\\n\\\\t\\\\tvec3 q0 = dFdx( eye_pos.xyz );\\\\n\\\\t\\\\tvec3 q1 = dFdy( eye_pos.xyz );\\\\n\\\\t\\\\tvec2 st0 = dFdx( vUv.st );\\\\n\\\\t\\\\tvec2 st1 = dFdy( vUv.st );\\\\n\\\\t\\\\tvec3 N = surf_norm;\\\\n\\\\t\\\\tvec3 q1perp = cross( q1, N );\\\\n\\\\t\\\\tvec3 q0perp = cross( N, q0 );\\\\n\\\\t\\\\tvec3 T = q1perp * st0.x + q0perp * st1.x;\\\\n\\\\t\\\\tvec3 B = q1perp * st0.y + q0perp * st1.y;\\\\n\\\\t\\\\tfloat det = max( dot( T, T ), dot( B, B ) );\\\\n\\\\t\\\\tfloat scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det );\\\\n\\\\t\\\\treturn normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z );\\\\n\\\\t}\\\\n#endif\\\",clearcoat_normal_fragment_begin:\\\"#ifdef USE_CLEARCOAT\\\\n\\\\tvec3 clearcoatNormal = geometryNormal;\\\\n#endif\\\",clearcoat_normal_fragment_maps:\\\"#ifdef USE_CLEARCOAT_NORMALMAP\\\\n\\\\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\\\\n\\\\tclearcoatMapN.xy *= clearcoatNormalScale;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\\\\n\\\\t#else\\\\n\\\\t\\\\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection );\\\\n\\\\t#endif\\\\n#endif\\\",clearcoat_pars_fragment:\\\"#ifdef USE_CLEARCOATMAP\\\\n\\\\tuniform sampler2D clearcoatMap;\\\\n#endif\\\\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\\\\n\\\\tuniform sampler2D clearcoatRoughnessMap;\\\\n#endif\\\\n#ifdef USE_CLEARCOAT_NORMALMAP\\\\n\\\\tuniform sampler2D clearcoatNormalMap;\\\\n\\\\tuniform vec2 clearcoatNormalScale;\\\\n#endif\\\",iridescence_pars_fragment:\\\"#ifdef USE_IRIDESCENCEMAP\\\\n\\\\tuniform sampler2D iridescenceMap;\\\\n#endif\\\\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\\\\n\\\\tuniform sampler2D iridescenceThicknessMap;\\\\n#endif\\\",output_fragment:\\\"#ifdef OPAQUE\\\\ndiffuseColor.a = 1.0;\\\\n#endif\\\\n#ifdef USE_TRANSMISSION\\\\ndiffuseColor.a *= transmissionAlpha + 0.1;\\\\n#endif\\\\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );\\\",packing:\\\"vec3 packNormalToRGB( const in vec3 normal ) {\\\\n\\\\treturn normalize( normal ) * 0.5 + 0.5;\\\\n}\\\\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\\\\n\\\\treturn 2.0 * rgb.xyz - 1.0;\\\\n}\\\\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\\\\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\\\\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\\\\nconst float ShiftRight8 = 1. / 256.;\\\\nvec4 packDepthToRGBA( const in float v ) {\\\\n\\\\tvec4 r = vec4( fract( v * PackFactors ), v );\\\\n\\\\tr.yzw -= r.xyz * ShiftRight8;\\\\treturn r * PackUpscale;\\\\n}\\\\nfloat unpackRGBAToDepth( const in vec4 v ) {\\\\n\\\\treturn dot( v, UnpackFactors );\\\\n}\\\\nvec4 pack2HalfToRGBA( vec2 v ) {\\\\n\\\\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\\\\n\\\\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\\\\n}\\\\nvec2 unpackRGBATo2Half( vec4 v ) {\\\\n\\\\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\\\\n}\\\\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\\\\n\\\\treturn ( viewZ + near ) / ( near - far );\\\\n}\\\\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\\\\n\\\\treturn linearClipZ * ( near - far ) - near;\\\\n}\\\\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\\\\n\\\\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\\\\n}\\\\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\\\\n\\\\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\\\\n}\\\",premultiplied_alpha_fragment:\\\"#ifdef PREMULTIPLIED_ALPHA\\\\n\\\\tgl_FragColor.rgb *= gl_FragColor.a;\\\\n#endif\\\",project_vertex:\\\"vec4 mvPosition = vec4( transformed, 1.0 );\\\\n#ifdef USE_INSTANCING\\\\n\\\\tmvPosition = instanceMatrix * mvPosition;\\\\n#endif\\\\nmvPosition = modelViewMatrix * mvPosition;\\\\ngl_Position = projectionMatrix * mvPosition;\\\",dithering_fragment:\\\"#ifdef DITHERING\\\\n\\\\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\\\\n#endif\\\",dithering_pars_fragment:\\\"#ifdef DITHERING\\\\n\\\\tvec3 dithering( vec3 color ) {\\\\n\\\\t\\\\tfloat grid_position = rand( gl_FragCoord.xy );\\\\n\\\\t\\\\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\\\\n\\\\t\\\\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\\\\n\\\\t\\\\treturn color + dither_shift_RGB;\\\\n\\\\t}\\\\n#endif\\\",roughnessmap_fragment:\\\"float roughnessFactor = roughness;\\\\n#ifdef USE_ROUGHNESSMAP\\\\n\\\\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\\\\n\\\\troughnessFactor *= texelRoughness.g;\\\\n#endif\\\",roughnessmap_pars_fragment:\\\"#ifdef USE_ROUGHNESSMAP\\\\n\\\\tuniform sampler2D roughnessMap;\\\\n#endif\\\",shadowmap_pars_fragment:\\\"#ifdef USE_SHADOWMAP\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct DirectionalLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct SpotLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct PointLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t\\\\tfloat shadowCameraNear;\\\\n\\\\t\\\\t\\\\tfloat shadowCameraFar;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\\\\n\\\\t\\\\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\\\\n\\\\t}\\\\n\\\\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\\\\n\\\\t\\\\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\\\\n\\\\t}\\\\n\\\\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\\\\n\\\\t\\\\tfloat occlusion = 1.0;\\\\n\\\\t\\\\tvec2 distribution = texture2DDistribution( shadow, uv );\\\\n\\\\t\\\\tfloat hard_shadow = step( compare , distribution.x );\\\\n\\\\t\\\\tif (hard_shadow != 1.0 ) {\\\\n\\\\t\\\\t\\\\tfloat distance = compare - distribution.x ;\\\\n\\\\t\\\\t\\\\tfloat variance = max( 0.00000, distribution.y * distribution.y );\\\\n\\\\t\\\\t\\\\tfloat softness_probability = variance / (variance + distance * distance );\\\\t\\\\t\\\\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\\\\t\\\\t\\\\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn occlusion;\\\\n\\\\t}\\\\n\\\\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\\\\n\\\\t\\\\tfloat shadow = 1.0;\\\\n\\\\t\\\\tshadowCoord.xyz /= shadowCoord.w;\\\\n\\\\t\\\\tshadowCoord.z += shadowBias;\\\\n\\\\t\\\\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\\\\n\\\\t\\\\tbool inFrustum = all( inFrustumVec );\\\\n\\\\t\\\\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\\\\n\\\\t\\\\tbool frustumTest = all( frustumTestVec );\\\\n\\\\t\\\\tif ( frustumTest ) {\\\\n\\\\t\\\\t#if defined( SHADOWMAP_TYPE_PCF )\\\\n\\\\t\\\\t\\\\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\\\\n\\\\t\\\\t\\\\tfloat dx0 = - texelSize.x * shadowRadius;\\\\n\\\\t\\\\t\\\\tfloat dy0 = - texelSize.y * shadowRadius;\\\\n\\\\t\\\\t\\\\tfloat dx1 = + texelSize.x * shadowRadius;\\\\n\\\\t\\\\t\\\\tfloat dy1 = + texelSize.y * shadowRadius;\\\\n\\\\t\\\\t\\\\tfloat dx2 = dx0 / 2.0;\\\\n\\\\t\\\\t\\\\tfloat dy2 = dy0 / 2.0;\\\\n\\\\t\\\\t\\\\tfloat dx3 = dx1 / 2.0;\\\\n\\\\t\\\\t\\\\tfloat dy3 = dy1 / 2.0;\\\\n\\\\t\\\\t\\\\tshadow = (\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\\\\n\\\\t\\\\t\\\\t) * ( 1.0 / 17.0 );\\\\n\\\\t\\\\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\\\\n\\\\t\\\\t\\\\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\\\\n\\\\t\\\\t\\\\tfloat dx = texelSize.x;\\\\n\\\\t\\\\t\\\\tfloat dy = texelSize.y;\\\\n\\\\t\\\\t\\\\tvec2 uv = shadowCoord.xy;\\\\n\\\\t\\\\t\\\\tvec2 f = fract( uv * shadowMapSize + 0.5 );\\\\n\\\\t\\\\t\\\\tuv -= f * texelSize;\\\\n\\\\t\\\\t\\\\tshadow = (\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.x ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.x ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.y ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.y ) +\\\\n\\\\t\\\\t\\\\t\\\\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t f.x ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), \\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t f.x ),\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t f.y )\\\\n\\\\t\\\\t\\\\t) * ( 1.0 / 9.0 );\\\\n\\\\t\\\\t#elif defined( SHADOWMAP_TYPE_VSM )\\\\n\\\\t\\\\t\\\\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\\\\n\\\\t\\\\t#endif\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn shadow;\\\\n\\\\t}\\\\n\\\\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\\\\n\\\\t\\\\tvec3 absV = abs( v );\\\\n\\\\t\\\\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\\\\n\\\\t\\\\tabsV *= scaleToCube;\\\\n\\\\t\\\\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\\\\n\\\\t\\\\tvec2 planar = v.xy;\\\\n\\\\t\\\\tfloat almostATexel = 1.5 * texelSizeY;\\\\n\\\\t\\\\tfloat almostOne = 1.0 - almostATexel;\\\\n\\\\t\\\\tif ( absV.z >= almostOne ) {\\\\n\\\\t\\\\t\\\\tif ( v.z > 0.0 )\\\\n\\\\t\\\\t\\\\t\\\\tplanar.x = 4.0 - v.x;\\\\n\\\\t\\\\t} else if ( absV.x >= almostOne ) {\\\\n\\\\t\\\\t\\\\tfloat signX = sign( v.x );\\\\n\\\\t\\\\t\\\\tplanar.x = v.z * signX + 2.0 * signX;\\\\n\\\\t\\\\t} else if ( absV.y >= almostOne ) {\\\\n\\\\t\\\\t\\\\tfloat signY = sign( v.y );\\\\n\\\\t\\\\t\\\\tplanar.x = v.x + 2.0 * signY + 2.0;\\\\n\\\\t\\\\t\\\\tplanar.y = v.z * signY - 2.0;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\\\\n\\\\t}\\\\n\\\\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\\\\n\\\\t\\\\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\\\\n\\\\t\\\\tvec3 lightToPosition = shadowCoord.xyz;\\\\n\\\\t\\\\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\\\\t\\\\tdp += shadowBias;\\\\n\\\\t\\\\tvec3 bd3D = normalize( lightToPosition );\\\\n\\\\t\\\\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\\\\n\\\\t\\\\t\\\\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\\\\n\\\\t\\\\t\\\\treturn (\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\\\\n\\\\t\\\\t\\\\t\\\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\\\\n\\\\t\\\\t\\\\t) * ( 1.0 / 9.0 );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n#endif\\\",shadowmap_pars_vertex:\\\"#ifdef USE_SHADOWMAP\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct DirectionalLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct SpotLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n\\\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t\\\\tstruct PointLightShadow {\\\\n\\\\t\\\\t\\\\tfloat shadowBias;\\\\n\\\\t\\\\t\\\\tfloat shadowNormalBias;\\\\n\\\\t\\\\t\\\\tfloat shadowRadius;\\\\n\\\\t\\\\t\\\\tvec2 shadowMapSize;\\\\n\\\\t\\\\t\\\\tfloat shadowCameraNear;\\\\n\\\\t\\\\t\\\\tfloat shadowCameraFar;\\\\n\\\\t\\\\t};\\\\n\\\\t\\\\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\\\\n\\\\t#endif\\\\n#endif\\\",shadowmap_vertex:\\\"#ifdef USE_SHADOWMAP\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\t\\\\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\\\\n\\\\t\\\\tvec4 shadowWorldPosition;\\\\n\\\\t#endif\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\\\\n\\\\t\\\\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias, 0 );\\\\n\\\\t\\\\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * shadowWorldPosition;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\\\\n\\\\t\\\\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n#endif\\\",shadowmask_pars_fragment:\\\"float getShadowMask() {\\\\n\\\\tfloat shadow = 1.0;\\\\n\\\\t#ifdef USE_SHADOWMAP\\\\n\\\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\\\n\\\\tDirectionalLightShadow directionalLight;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tdirectionalLight = directionalLightShadows[ i ];\\\\n\\\\t\\\\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\\\n\\\\tSpotLightShadow spotLight;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tspotLight = spotLightShadows[ i ];\\\\n\\\\t\\\\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\\\n\\\\tPointLightShadow pointLight;\\\\n\\\\t#pragma unroll_loop_start\\\\n\\\\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\\\\n\\\\t\\\\tpointLight = pointLightShadows[ i ];\\\\n\\\\t\\\\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\\\\n\\\\t}\\\\n\\\\t#pragma unroll_loop_end\\\\n\\\\t#endif\\\\n\\\\t#endif\\\\n\\\\treturn shadow;\\\\n}\\\",skinbase_vertex:\\\"#ifdef USE_SKINNING\\\\n\\\\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\\\\n\\\\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\\\\n\\\\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\\\\n\\\\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\\\\n#endif\\\",skinning_pars_vertex:\\\"#ifdef USE_SKINNING\\\\n\\\\tuniform mat4 bindMatrix;\\\\n\\\\tuniform mat4 bindMatrixInverse;\\\\n\\\\tuniform highp sampler2D boneTexture;\\\\n\\\\tuniform int boneTextureSize;\\\\n\\\\tmat4 getBoneMatrix( const in float i ) {\\\\n\\\\t\\\\tfloat j = i * 4.0;\\\\n\\\\t\\\\tfloat x = mod( j, float( boneTextureSize ) );\\\\n\\\\t\\\\tfloat y = floor( j / float( boneTextureSize ) );\\\\n\\\\t\\\\tfloat dx = 1.0 / float( boneTextureSize );\\\\n\\\\t\\\\tfloat dy = 1.0 / float( boneTextureSize );\\\\n\\\\t\\\\ty = dy * ( y + 0.5 );\\\\n\\\\t\\\\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\\\\n\\\\t\\\\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\\\\n\\\\t\\\\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\\\\n\\\\t\\\\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\\\\n\\\\t\\\\tmat4 bone = mat4( v1, v2, v3, v4 );\\\\n\\\\t\\\\treturn bone;\\\\n\\\\t}\\\\n#endif\\\",skinning_vertex:\\\"#ifdef USE_SKINNING\\\\n\\\\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\\\\n\\\\tvec4 skinned = vec4( 0.0 );\\\\n\\\\tskinned += boneMatX * skinVertex * skinWeight.x;\\\\n\\\\tskinned += boneMatY * skinVertex * skinWeight.y;\\\\n\\\\tskinned += boneMatZ * skinVertex * skinWeight.z;\\\\n\\\\tskinned += boneMatW * skinVertex * skinWeight.w;\\\\n\\\\ttransformed = ( bindMatrixInverse * skinned ).xyz;\\\\n#endif\\\",skinnormal_vertex:\\\"#ifdef USE_SKINNING\\\\n\\\\tmat4 skinMatrix = mat4( 0.0 );\\\\n\\\\tskinMatrix += skinWeight.x * boneMatX;\\\\n\\\\tskinMatrix += skinWeight.y * boneMatY;\\\\n\\\\tskinMatrix += skinWeight.z * boneMatZ;\\\\n\\\\tskinMatrix += skinWeight.w * boneMatW;\\\\n\\\\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\\\\n\\\\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\\\\n\\\\t#ifdef USE_TANGENT\\\\n\\\\t\\\\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\\\\n\\\\t#endif\\\\n#endif\\\",specularmap_fragment:\\\"float specularStrength;\\\\n#ifdef USE_SPECULARMAP\\\\n\\\\tvec4 texelSpecular = texture2D( specularMap, vUv );\\\\n\\\\tspecularStrength = texelSpecular.r;\\\\n#else\\\\n\\\\tspecularStrength = 1.0;\\\\n#endif\\\",specularmap_pars_fragment:\\\"#ifdef USE_SPECULARMAP\\\\n\\\\tuniform sampler2D specularMap;\\\\n#endif\\\",tonemapping_fragment:\\\"#if defined( TONE_MAPPING )\\\\n\\\\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\\\\n#endif\\\",tonemapping_pars_fragment:\\\"#ifndef saturate\\\\n#define saturate( a ) clamp( a, 0.0, 1.0 )\\\\n#endif\\\\nuniform float toneMappingExposure;\\\\nvec3 LinearToneMapping( vec3 color ) {\\\\n\\\\treturn toneMappingExposure * color;\\\\n}\\\\nvec3 ReinhardToneMapping( vec3 color ) {\\\\n\\\\tcolor *= toneMappingExposure;\\\\n\\\\treturn saturate( color / ( vec3( 1.0 ) + color ) );\\\\n}\\\\nvec3 OptimizedCineonToneMapping( vec3 color ) {\\\\n\\\\tcolor *= toneMappingExposure;\\\\n\\\\tcolor = max( vec3( 0.0 ), color - 0.004 );\\\\n\\\\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\\\\n}\\\\nvec3 RRTAndODTFit( vec3 v ) {\\\\n\\\\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\\\\n\\\\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\\\\n\\\\treturn a / b;\\\\n}\\\\nvec3 ACESFilmicToneMapping( vec3 color ) {\\\\n\\\\tconst mat3 ACESInputMat = mat3(\\\\n\\\\t\\\\tvec3( 0.59719, 0.07600, 0.02840 ),\\\\t\\\\tvec3( 0.35458, 0.90834, 0.13383 ),\\\\n\\\\t\\\\tvec3( 0.04823, 0.01566, 0.83777 )\\\\n\\\\t);\\\\n\\\\tconst mat3 ACESOutputMat = mat3(\\\\n\\\\t\\\\tvec3( 1.60475, -0.10208, -0.00327 ),\\\\t\\\\tvec3( -0.53108, 1.10813, -0.07276 ),\\\\n\\\\t\\\\tvec3( -0.07367, -0.00605, 1.07602 )\\\\n\\\\t);\\\\n\\\\tcolor *= toneMappingExposure / 0.6;\\\\n\\\\tcolor = ACESInputMat * color;\\\\n\\\\tcolor = RRTAndODTFit( color );\\\\n\\\\tcolor = ACESOutputMat * color;\\\\n\\\\treturn saturate( color );\\\\n}\\\\nvec3 CustomToneMapping( vec3 color ) { return color; }\\\",transmission_fragment:\\\"#ifdef USE_TRANSMISSION\\\\n\\\\tfloat transmissionAlpha = 1.0;\\\\n\\\\tfloat transmissionFactor = transmission;\\\\n\\\\tfloat thicknessFactor = thickness;\\\\n\\\\t#ifdef USE_TRANSMISSIONMAP\\\\n\\\\t\\\\ttransmissionFactor *= texture2D( transmissionMap, vUv ).r;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_THICKNESSMAP\\\\n\\\\t\\\\tthicknessFactor *= texture2D( thicknessMap, vUv ).g;\\\\n\\\\t#endif\\\\n\\\\tvec3 pos = vWorldPosition;\\\\n\\\\tvec3 v = normalize( cameraPosition - pos );\\\\n\\\\tvec3 n = inverseTransformDirection( normal, viewMatrix );\\\\n\\\\tvec4 transmission = getIBLVolumeRefraction(\\\\n\\\\t\\\\tn, v, roughnessFactor, material.diffuseColor, material.specularColor, material.specularF90,\\\\n\\\\t\\\\tpos, modelMatrix, viewMatrix, projectionMatrix, ior, thicknessFactor,\\\\n\\\\t\\\\tattenuationColor, attenuationDistance );\\\\n\\\\ttotalDiffuse = mix( totalDiffuse, transmission.rgb, transmissionFactor );\\\\n\\\\ttransmissionAlpha = mix( transmissionAlpha, transmission.a, transmissionFactor );\\\\n#endif\\\",transmission_pars_fragment:\\\"#ifdef USE_TRANSMISSION\\\\n\\\\tuniform float transmission;\\\\n\\\\tuniform float thickness;\\\\n\\\\tuniform float attenuationDistance;\\\\n\\\\tuniform vec3 attenuationColor;\\\\n\\\\t#ifdef USE_TRANSMISSIONMAP\\\\n\\\\t\\\\tuniform sampler2D transmissionMap;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_THICKNESSMAP\\\\n\\\\t\\\\tuniform sampler2D thicknessMap;\\\\n\\\\t#endif\\\\n\\\\tuniform vec2 transmissionSamplerSize;\\\\n\\\\tuniform sampler2D transmissionSamplerMap;\\\\n\\\\tuniform mat4 modelMatrix;\\\\n\\\\tuniform mat4 projectionMatrix;\\\\n\\\\tvarying vec3 vWorldPosition;\\\\n\\\\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\\\\n\\\\t\\\\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\\\\n\\\\t\\\\tvec3 modelScale;\\\\n\\\\t\\\\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\\\\n\\\\t\\\\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\\\\n\\\\t\\\\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\\\\n\\\\t\\\\treturn normalize( refractionVector ) * thickness * modelScale;\\\\n\\\\t}\\\\n\\\\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\\\\n\\\\t\\\\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\\\\n\\\\t}\\\\n\\\\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\\\\n\\\\t\\\\tfloat framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\\\\n\\\\t\\\\t#ifdef texture2DLodEXT\\\\n\\\\t\\\\t\\\\treturn texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod );\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\treturn texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod );\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\tvec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\\\\n\\\\t\\\\tif ( attenuationDistance == 0.0 ) {\\\\n\\\\t\\\\t\\\\treturn radiance;\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\\\\n\\\\t\\\\t\\\\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\\\\t\\\\t\\\\treturn transmittance * radiance;\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\\\\n\\\\t\\\\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\\\\n\\\\t\\\\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,\\\\n\\\\t\\\\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\\\\n\\\\t\\\\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\\\\n\\\\t\\\\tvec3 refractedRayExit = position + transmissionRay;\\\\n\\\\t\\\\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\\\\n\\\\t\\\\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\\\\n\\\\t\\\\trefractionCoords += 1.0;\\\\n\\\\t\\\\trefractionCoords /= 2.0;\\\\n\\\\t\\\\tvec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\\\\n\\\\t\\\\tvec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance );\\\\n\\\\t\\\\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\\\\n\\\\t\\\\treturn vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a );\\\\n\\\\t}\\\\n#endif\\\",uv_pars_fragment:\\\"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\\\\n\\\\tvarying vec2 vUv;\\\\n#endif\\\",uv_pars_vertex:\\\"#ifdef USE_UV\\\\n\\\\t#ifdef UVS_VERTEX_ONLY\\\\n\\\\t\\\\tvec2 vUv;\\\\n\\\\t#else\\\\n\\\\t\\\\tvarying vec2 vUv;\\\\n\\\\t#endif\\\\n\\\\tuniform mat3 uvTransform;\\\\n#endif\\\",uv_vertex:\\\"#ifdef USE_UV\\\\n\\\\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\\\\n#endif\\\",uv2_pars_fragment:\\\"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\\\n\\\\tvarying vec2 vUv2;\\\\n#endif\\\",uv2_pars_vertex:\\\"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\\\n\\\\tattribute vec2 uv2;\\\\n\\\\tvarying vec2 vUv2;\\\\n\\\\tuniform mat3 uv2Transform;\\\\n#endif\\\",uv2_vertex:\\\"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\\\n\\\\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\\\\n#endif\\\",worldpos_vertex:\\\"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION )\\\\n\\\\tvec4 worldPosition = vec4( transformed, 1.0 );\\\\n\\\\t#ifdef USE_INSTANCING\\\\n\\\\t\\\\tworldPosition = instanceMatrix * worldPosition;\\\\n\\\\t#endif\\\\n\\\\tworldPosition = modelMatrix * worldPosition;\\\\n#endif\\\",background_vert:\\\"varying vec2 vUv;\\\\nuniform mat3 uvTransform;\\\\nvoid main() {\\\\n\\\\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\\\\n\\\\tgl_Position = vec4( position.xy, 1.0, 1.0 );\\\\n}\\\",background_frag:\\\"uniform sampler2D t2D;\\\\nvarying vec2 vUv;\\\\nvoid main() {\\\\n\\\\tgl_FragColor = texture2D( t2D, vUv );\\\\n\\\\t#ifdef DECODE_VIDEO_TEXTURE\\\\n\\\\t\\\\tgl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w );\\\\n\\\\t#endif\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n}\\\",cube_vert:\\\"varying vec3 vWorldDirection;\\\\n#include <common>\\\\nvoid main() {\\\\n\\\\tvWorldDirection = transformDirection( position, modelMatrix );\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\tgl_Position.z = gl_Position.w;\\\\n}\\\",cube_frag:\\\"#include <envmap_common_pars_fragment>\\\\nuniform float opacity;\\\\nvarying vec3 vWorldDirection;\\\\n#include <cube_uv_reflection_fragment>\\\\nvoid main() {\\\\n\\\\tvec3 vReflect = vWorldDirection;\\\\n\\\\t#include <envmap_fragment>\\\\n\\\\tgl_FragColor = envColor;\\\\n\\\\tgl_FragColor.a *= opacity;\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n}\\\",depth_vert:\\\"#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvarying vec2 vHighPrecisionZW;\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#ifdef USE_DISPLACEMENTMAP\\\\n\\\\t\\\\t#include <beginnormal_vertex>\\\\n\\\\t\\\\t#include <morphnormal_vertex>\\\\n\\\\t\\\\t#include <skinnormal_vertex>\\\\n\\\\t#endif\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvHighPrecisionZW = gl_Position.zw;\\\\n}\\\",depth_frag:\\\"#if DEPTH_PACKING == 3200\\\\n\\\\tuniform float opacity;\\\\n#endif\\\\n#include <common>\\\\n#include <packing>\\\\n#include <uv_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvarying vec2 vHighPrecisionZW;\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( 1.0 );\\\\n\\\\t#if DEPTH_PACKING == 3200\\\\n\\\\t\\\\tdiffuseColor.a = opacity;\\\\n\\\\t#endif\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\\\\n\\\\t#if DEPTH_PACKING == 3200\\\\n\\\\t\\\\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\\\\n\\\\t#elif DEPTH_PACKING == 3201\\\\n\\\\t\\\\tgl_FragColor = packDepthToRGBA( fragCoordZ );\\\\n\\\\t#endif\\\\n}\\\",distanceRGBA_vert:\\\"#define DISTANCE\\\\nvarying vec3 vWorldPosition;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#ifdef USE_DISPLACEMENTMAP\\\\n\\\\t\\\\t#include <beginnormal_vertex>\\\\n\\\\t\\\\t#include <morphnormal_vertex>\\\\n\\\\t\\\\t#include <skinnormal_vertex>\\\\n\\\\t#endif\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvWorldPosition = worldPosition.xyz;\\\\n}\\\",distanceRGBA_frag:\\\"#define DISTANCE\\\\nuniform vec3 referencePosition;\\\\nuniform float nearDistance;\\\\nuniform float farDistance;\\\\nvarying vec3 vWorldPosition;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <uv_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main () {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( 1.0 );\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\tfloat dist = length( vWorldPosition - referencePosition );\\\\n\\\\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\\\\n\\\\tdist = saturate( dist );\\\\n\\\\tgl_FragColor = packDepthToRGBA( dist );\\\\n}\\\",equirect_vert:\\\"varying vec3 vWorldDirection;\\\\n#include <common>\\\\nvoid main() {\\\\n\\\\tvWorldDirection = transformDirection( position, modelMatrix );\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <project_vertex>\\\\n}\\\",equirect_frag:\\\"uniform sampler2D tEquirect;\\\\nvarying vec3 vWorldDirection;\\\\n#include <common>\\\\nvoid main() {\\\\n\\\\tvec3 direction = normalize( vWorldDirection );\\\\n\\\\tvec2 sampleUV = equirectUv( direction );\\\\n\\\\tgl_FragColor = texture2D( tEquirect, sampleUV );\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n}\\\",linedashed_vert:\\\"uniform float scale;\\\\nattribute float lineDistance;\\\\nvarying float vLineDistance;\\\\n#include <common>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\tvLineDistance = scale * lineDistance;\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",linedashed_frag:\\\"uniform vec3 diffuse;\\\\nuniform float opacity;\\\\nuniform float dashSize;\\\\nuniform float totalSize;\\\\nvarying float vLineDistance;\\\\n#include <common>\\\\n#include <color_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\\\\n\\\\t\\\\tdiscard;\\\\n\\\\t}\\\\n\\\\tvec3 outgoingLight = vec3( 0.0 );\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\toutgoingLight = diffuseColor.rgb;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n}\\\",meshbasic_vert:\\\"#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <envmap_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\\\\n\\\\t\\\\t#include <beginnormal_vertex>\\\\n\\\\t\\\\t#include <morphnormal_vertex>\\\\n\\\\t\\\\t#include <skinbase_vertex>\\\\n\\\\t\\\\t#include <skinnormal_vertex>\\\\n\\\\t\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#endif\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <envmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",meshbasic_frag:\\\"uniform vec3 diffuse;\\\\nuniform float opacity;\\\\n#ifndef FLAT_SHADED\\\\n\\\\tvarying vec3 vNormal;\\\\n#endif\\\\n#include <common>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <envmap_common_pars_fragment>\\\\n#include <envmap_pars_fragment>\\\\n#include <cube_uv_reflection_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <specularmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <specularmap_fragment>\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\t#ifdef USE_LIGHTMAP\\\\n\\\\t\\\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\\\n\\\\t\\\\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\\\\n\\\\t#else\\\\n\\\\t\\\\treflectedLight.indirectDiffuse += vec3( 1.0 );\\\\n\\\\t#endif\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\\\\n\\\\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\\\\n\\\\t#include <envmap_fragment>\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshlambert_vert:\\\"#define LAMBERT\\\\nvarying vec3 vLightFront;\\\\nvarying vec3 vIndirectFront;\\\\n#ifdef DOUBLE_SIDED\\\\n\\\\tvarying vec3 vLightBack;\\\\n\\\\tvarying vec3 vIndirectBack;\\\\n#endif\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <envmap_pars_vertex>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <envmap_vertex>\\\\n\\\\t#include <lights_lambert_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",meshlambert_frag:\\\"uniform vec3 diffuse;\\\\nuniform vec3 emissive;\\\\nuniform float opacity;\\\\nvarying vec3 vLightFront;\\\\nvarying vec3 vIndirectFront;\\\\n#ifdef DOUBLE_SIDED\\\\n\\\\tvarying vec3 vLightBack;\\\\n\\\\tvarying vec3 vIndirectBack;\\\\n#endif\\\\n#include <common>\\\\n#include <packing>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <emissivemap_pars_fragment>\\\\n#include <envmap_common_pars_fragment>\\\\n#include <envmap_pars_fragment>\\\\n#include <cube_uv_reflection_fragment>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <fog_pars_fragment>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <shadowmask_pars_fragment>\\\\n#include <specularmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\tvec3 totalEmissiveRadiance = emissive;\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <specularmap_fragment>\\\\n\\\\t#include <emissivemap_fragment>\\\\n\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\\\\n\\\\t#else\\\\n\\\\t\\\\treflectedLight.indirectDiffuse += vIndirectFront;\\\\n\\\\t#endif\\\\n\\\\t#include <lightmap_fragment>\\\\n\\\\treflectedLight.indirectDiffuse *= BRDF_Lambert( diffuseColor.rgb );\\\\n\\\\t#ifdef DOUBLE_SIDED\\\\n\\\\t\\\\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\\\\n\\\\t#else\\\\n\\\\t\\\\treflectedLight.directDiffuse = vLightFront;\\\\n\\\\t#endif\\\\n\\\\treflectedLight.directDiffuse *= BRDF_Lambert( diffuseColor.rgb ) * getShadowMask();\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\\\\n\\\\t#include <envmap_fragment>\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshmatcap_vert:\\\"#define MATCAP\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n}\\\",meshmatcap_frag:\\\"#define MATCAP\\\\nuniform vec3 diffuse;\\\\nuniform float opacity;\\\\nuniform sampler2D matcap;\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <normal_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\tvec3 viewDir = normalize( vViewPosition );\\\\n\\\\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\\\\n\\\\tvec3 y = cross( viewDir, x );\\\\n\\\\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\\\\n\\\\t#ifdef USE_MATCAP\\\\n\\\\t\\\\tvec4 matcapColor = texture2D( matcap, uv );\\\\n\\\\t#else\\\\n\\\\t\\\\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\\\\n\\\\t#endif\\\\n\\\\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshnormal_vert:\\\"#define NORMAL\\\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\\\n\\\\tvarying vec3 vViewPosition;\\\\n#endif\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n#endif\\\\n}\\\",meshnormal_frag:\\\"#define NORMAL\\\\nuniform float opacity;\\\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\\\n\\\\tvarying vec3 vViewPosition;\\\\n#endif\\\\n#include <packing>\\\\n#include <uv_pars_fragment>\\\\n#include <normal_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\\\\n\\\\t#ifdef OPAQUE\\\\n\\\\t\\\\tgl_FragColor.a = 1.0;\\\\n\\\\t#endif\\\\n}\\\",meshphong_vert:\\\"#define PHONG\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <envmap_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <envmap_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",meshphong_frag:\\\"#define PHONG\\\\nuniform vec3 diffuse;\\\\nuniform vec3 emissive;\\\\nuniform vec3 specular;\\\\nuniform float shininess;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <emissivemap_pars_fragment>\\\\n#include <envmap_common_pars_fragment>\\\\n#include <envmap_pars_fragment>\\\\n#include <cube_uv_reflection_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <normal_pars_fragment>\\\\n#include <lights_phong_pars_fragment>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <specularmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\tvec3 totalEmissiveRadiance = emissive;\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <specularmap_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\t#include <emissivemap_fragment>\\\\n\\\\t#include <lights_phong_fragment>\\\\n\\\\t#include <lights_fragment_begin>\\\\n\\\\t#include <lights_fragment_maps>\\\\n\\\\t#include <lights_fragment_end>\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\\\\n\\\\t#include <envmap_fragment>\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshphysical_vert:\\\"#define STANDARD\\\\nvarying vec3 vViewPosition;\\\\n#ifdef USE_TRANSMISSION\\\\n\\\\tvarying vec3 vWorldPosition;\\\\n#endif\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n#ifdef USE_TRANSMISSION\\\\n\\\\tvWorldPosition = worldPosition.xyz;\\\\n#endif\\\\n}\\\",meshphysical_frag:\\\"#define STANDARD\\\\n#ifdef PHYSICAL\\\\n\\\\t#define IOR\\\\n\\\\t#define SPECULAR\\\\n#endif\\\\nuniform vec3 diffuse;\\\\nuniform vec3 emissive;\\\\nuniform float roughness;\\\\nuniform float metalness;\\\\nuniform float opacity;\\\\n#ifdef IOR\\\\n\\\\tuniform float ior;\\\\n#endif\\\\n#ifdef SPECULAR\\\\n\\\\tuniform float specularIntensity;\\\\n\\\\tuniform vec3 specularColor;\\\\n\\\\t#ifdef USE_SPECULARINTENSITYMAP\\\\n\\\\t\\\\tuniform sampler2D specularIntensityMap;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SPECULARCOLORMAP\\\\n\\\\t\\\\tuniform sampler2D specularColorMap;\\\\n\\\\t#endif\\\\n#endif\\\\n#ifdef USE_CLEARCOAT\\\\n\\\\tuniform float clearcoat;\\\\n\\\\tuniform float clearcoatRoughness;\\\\n#endif\\\\n#ifdef USE_IRIDESCENCE\\\\n\\\\tuniform float iridescence;\\\\n\\\\tuniform float iridescenceIOR;\\\\n\\\\tuniform float iridescenceThicknessMinimum;\\\\n\\\\tuniform float iridescenceThicknessMaximum;\\\\n#endif\\\\n#ifdef USE_SHEEN\\\\n\\\\tuniform vec3 sheenColor;\\\\n\\\\tuniform float sheenRoughness;\\\\n\\\\t#ifdef USE_SHEENCOLORMAP\\\\n\\\\t\\\\tuniform sampler2D sheenColorMap;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_SHEENROUGHNESSMAP\\\\n\\\\t\\\\tuniform sampler2D sheenRoughnessMap;\\\\n\\\\t#endif\\\\n#endif\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <emissivemap_pars_fragment>\\\\n#include <bsdfs>\\\\n#include <iridescence_fragment>\\\\n#include <cube_uv_reflection_fragment>\\\\n#include <envmap_common_pars_fragment>\\\\n#include <envmap_physical_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <lights_pars_begin>\\\\n#include <normal_pars_fragment>\\\\n#include <lights_physical_pars_fragment>\\\\n#include <transmission_pars_fragment>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <clearcoat_pars_fragment>\\\\n#include <iridescence_pars_fragment>\\\\n#include <roughnessmap_pars_fragment>\\\\n#include <metalnessmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\tvec3 totalEmissiveRadiance = emissive;\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <roughnessmap_fragment>\\\\n\\\\t#include <metalnessmap_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\t#include <clearcoat_normal_fragment_begin>\\\\n\\\\t#include <clearcoat_normal_fragment_maps>\\\\n\\\\t#include <emissivemap_fragment>\\\\n\\\\t#include <lights_physical_fragment>\\\\n\\\\t#include <lights_fragment_begin>\\\\n\\\\t#include <lights_fragment_maps>\\\\n\\\\t#include <lights_fragment_end>\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\\\\n\\\\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\\\\n\\\\t#include <transmission_fragment>\\\\n\\\\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\\\\n\\\\t#ifdef USE_SHEEN\\\\n\\\\t\\\\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\\\\n\\\\t\\\\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;\\\\n\\\\t#endif\\\\n\\\\t#ifdef USE_CLEARCOAT\\\\n\\\\t\\\\tfloat dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\\\\n\\\\t\\\\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\\\\n\\\\t\\\\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat;\\\\n\\\\t#endif\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",meshtoon_vert:\\\"#define TOON\\\\nvarying vec3 vViewPosition;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <uv2_pars_vertex>\\\\n#include <displacementmap_pars_vertex>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <normal_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\t#include <uv2_vertex>\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <normal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <displacementmap_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\tvViewPosition = - mvPosition.xyz;\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",meshtoon_frag:\\\"#define TOON\\\\nuniform vec3 diffuse;\\\\nuniform vec3 emissive;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <dithering_pars_fragment>\\\\n#include <color_pars_fragment>\\\\n#include <uv_pars_fragment>\\\\n#include <uv2_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <aomap_pars_fragment>\\\\n#include <lightmap_pars_fragment>\\\\n#include <emissivemap_pars_fragment>\\\\n#include <gradientmap_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <normal_pars_fragment>\\\\n#include <lights_toon_pars_fragment>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <bumpmap_pars_fragment>\\\\n#include <normalmap_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\\\n\\\\tvec3 totalEmissiveRadiance = emissive;\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\t#include <normal_fragment_begin>\\\\n\\\\t#include <normal_fragment_maps>\\\\n\\\\t#include <emissivemap_fragment>\\\\n\\\\t#include <lights_toon_fragment>\\\\n\\\\t#include <lights_fragment_begin>\\\\n\\\\t#include <lights_fragment_maps>\\\\n\\\\t#include <lights_fragment_end>\\\\n\\\\t#include <aomap_fragment>\\\\n\\\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n\\\\t#include <dithering_fragment>\\\\n}\\\",points_vert:\\\"uniform float size;\\\\nuniform float scale;\\\\n#include <common>\\\\n#include <color_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <color_vertex>\\\\n\\\\t#include <morphcolor_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\tgl_PointSize = size;\\\\n\\\\t#ifdef USE_SIZEATTENUATION\\\\n\\\\t\\\\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\\\\n\\\\t\\\\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\\\\n\\\\t#endif\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",points_frag:\\\"uniform vec3 diffuse;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <color_pars_fragment>\\\\n#include <map_particle_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec3 outgoingLight = vec3( 0.0 );\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_particle_fragment>\\\\n\\\\t#include <color_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\toutgoingLight = diffuseColor.rgb;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n\\\\t#include <premultiplied_alpha_fragment>\\\\n}\\\",shadow_vert:\\\"#include <common>\\\\n#include <fog_pars_vertex>\\\\n#include <morphtarget_pars_vertex>\\\\n#include <skinning_pars_vertex>\\\\n#include <shadowmap_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <beginnormal_vertex>\\\\n\\\\t#include <morphnormal_vertex>\\\\n\\\\t#include <skinbase_vertex>\\\\n\\\\t#include <skinnormal_vertex>\\\\n\\\\t#include <defaultnormal_vertex>\\\\n\\\\t#include <begin_vertex>\\\\n\\\\t#include <morphtarget_vertex>\\\\n\\\\t#include <skinning_vertex>\\\\n\\\\t#include <project_vertex>\\\\n\\\\t#include <worldpos_vertex>\\\\n\\\\t#include <shadowmap_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",shadow_frag:\\\"uniform vec3 color;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <packing>\\\\n#include <fog_pars_fragment>\\\\n#include <bsdfs>\\\\n#include <lights_pars_begin>\\\\n#include <shadowmap_pars_fragment>\\\\n#include <shadowmask_pars_fragment>\\\\nvoid main() {\\\\n\\\\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n}\\\",sprite_vert:\\\"uniform float rotation;\\\\nuniform vec2 center;\\\\n#include <common>\\\\n#include <uv_pars_vertex>\\\\n#include <fog_pars_vertex>\\\\n#include <logdepthbuf_pars_vertex>\\\\n#include <clipping_planes_pars_vertex>\\\\nvoid main() {\\\\n\\\\t#include <uv_vertex>\\\\n\\\\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\\\\n\\\\tvec2 scale;\\\\n\\\\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\\\\n\\\\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\\\\n\\\\t#ifndef USE_SIZEATTENUATION\\\\n\\\\t\\\\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\\\\n\\\\t\\\\tif ( isPerspective ) scale *= - mvPosition.z;\\\\n\\\\t#endif\\\\n\\\\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\\\\n\\\\tvec2 rotatedPosition;\\\\n\\\\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\\\\n\\\\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\\\\n\\\\tmvPosition.xy += rotatedPosition;\\\\n\\\\tgl_Position = projectionMatrix * mvPosition;\\\\n\\\\t#include <logdepthbuf_vertex>\\\\n\\\\t#include <clipping_planes_vertex>\\\\n\\\\t#include <fog_vertex>\\\\n}\\\",sprite_frag:\\\"uniform vec3 diffuse;\\\\nuniform float opacity;\\\\n#include <common>\\\\n#include <uv_pars_fragment>\\\\n#include <map_pars_fragment>\\\\n#include <alphamap_pars_fragment>\\\\n#include <alphatest_pars_fragment>\\\\n#include <fog_pars_fragment>\\\\n#include <logdepthbuf_pars_fragment>\\\\n#include <clipping_planes_pars_fragment>\\\\nvoid main() {\\\\n\\\\t#include <clipping_planes_fragment>\\\\n\\\\tvec3 outgoingLight = vec3( 0.0 );\\\\n\\\\tvec4 diffuseColor = vec4( diffuse, opacity );\\\\n\\\\t#include <logdepthbuf_fragment>\\\\n\\\\t#include <map_fragment>\\\\n\\\\t#include <alphamap_fragment>\\\\n\\\\t#include <alphatest_fragment>\\\\n\\\\toutgoingLight = diffuseColor.rgb;\\\\n\\\\t#include <output_fragment>\\\\n\\\\t#include <tonemapping_fragment>\\\\n\\\\t#include <encodings_fragment>\\\\n\\\\t#include <fog_fragment>\\\\n}\\\"},$n={common:{diffuse:{value:new at(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new W},uv2Transform:{value:new W},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new G(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new at(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new at(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new W}},sprite:{diffuse:{value:new at(16777215)},opacity:{value:1},center:{value:new G(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new W}}},Bn={basic:{uniforms:gn([$n.common,$n.specularmap,$n.envmap,$n.aomap,$n.lightmap,$n.fog]),vertexShader:Dn.meshbasic_vert,fragmentShader:Dn.meshbasic_frag},lambert:{uniforms:gn([$n.common,$n.specularmap,$n.envmap,$n.aomap,$n.lightmap,$n.emissivemap,$n.fog,$n.lights,{emissive:{value:new at(0)}}]),vertexShader:Dn.meshlambert_vert,fragmentShader:Dn.meshlambert_frag},phong:{uniforms:gn([$n.common,$n.specularmap,$n.envmap,$n.aomap,$n.lightmap,$n.emissivemap,$n.bumpmap,$n.normalmap,$n.displacementmap,$n.fog,$n.lights,{emissive:{value:new at(0)},specular:{value:new at(1118481)},shininess:{value:30}}]),vertexShader:Dn.meshphong_vert,fragmentShader:Dn.meshphong_frag},standard:{uniforms:gn([$n.common,$n.envmap,$n.aomap,$n.lightmap,$n.emissivemap,$n.bumpmap,$n.normalmap,$n.displacementmap,$n.roughnessmap,$n.metalnessmap,$n.fog,$n.lights,{emissive:{value:new at(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Dn.meshphysical_vert,fragmentShader:Dn.meshphysical_frag},toon:{uniforms:gn([$n.common,$n.aomap,$n.lightmap,$n.emissivemap,$n.bumpmap,$n.normalmap,$n.displacementmap,$n.gradientmap,$n.fog,$n.lights,{emissive:{value:new at(0)}}]),vertexShader:Dn.meshtoon_vert,fragmentShader:Dn.meshtoon_frag},matcap:{uniforms:gn([$n.common,$n.bumpmap,$n.normalmap,$n.displacementmap,$n.fog,{matcap:{value:null}}]),vertexShader:Dn.meshmatcap_vert,fragmentShader:Dn.meshmatcap_frag},points:{uniforms:gn([$n.points,$n.fog]),vertexShader:Dn.points_vert,fragmentShader:Dn.points_frag},dashed:{uniforms:gn([$n.common,$n.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Dn.linedashed_vert,fragmentShader:Dn.linedashed_frag},depth:{uniforms:gn([$n.common,$n.displacementmap]),vertexShader:Dn.depth_vert,fragmentShader:Dn.depth_frag},normal:{uniforms:gn([$n.common,$n.bumpmap,$n.normalmap,$n.displacementmap,{opacity:{value:1}}]),vertexShader:Dn.meshnormal_vert,fragmentShader:Dn.meshnormal_frag},sprite:{uniforms:gn([$n.sprite,$n.fog]),vertexShader:Dn.sprite_vert,fragmentShader:Dn.sprite_frag},background:{uniforms:{uvTransform:{value:new W},t2D:{value:null}},vertexShader:Dn.background_vert,fragmentShader:Dn.background_frag},cube:{uniforms:gn([$n.envmap,{opacity:{value:1}}]),vertexShader:Dn.cube_vert,fragmentShader:Dn.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Dn.equirect_vert,fragmentShader:Dn.equirect_frag},distanceRGBA:{uniforms:gn([$n.common,$n.displacementmap,{referencePosition:{value:new yt},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Dn.distanceRGBA_vert,fragmentShader:Dn.distanceRGBA_frag},shadow:{uniforms:gn([$n.lights,$n.fog,{color:{value:new at(0)},opacity:{value:1}}]),vertexShader:Dn.shadow_vert,fragmentShader:Dn.shadow_frag}};function Nn(t,e,n,r,i,o){const a=new at(0);let s,u,c=!0===i?0:1,h=null,p=0,f=null;function d(t,e){n.buffers.color.setClear(t.r,t.g,t.b,e,o)}return{getClearColor:function(){return a},setClearColor:function(t,e=1){a.set(t),c=e,d(a,c)},getClearAlpha:function(){return c},setClearAlpha:function(t){c=t,d(a,c)},render:function(n,i){let o=!1,m=!0===i.isScene?i.background:null;m&&m.isTexture&&(m=e.get(m));const v=t.xr,g=v.getSession&&v.getSession();g&&\\\"additive\\\"===g.environmentBlendMode&&(m=null),null===m?d(a,c):m&&m.isColor&&(d(m,1),o=!0),(t.autoClear||o)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),m&&(m.isCubeTexture||m.mapping===l)?(void 0===u&&(u=new fn(new mn(1,1,1),new _n({name:\\\"BackgroundCubeMaterial\\\",uniforms:vn(Bn.cube.uniforms),vertexShader:Bn.cube.vertexShader,fragmentShader:Bn.cube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1})),u.geometry.deleteAttribute(\\\"normal\\\"),u.geometry.deleteAttribute(\\\"uv\\\"),u.onBeforeRender=function(t,e,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(u.material,\\\"envMap\\\",{get:function(){return this.uniforms.envMap.value}}),r.update(u)),u.material.uniforms.envMap.value=m,u.material.uniforms.flipEnvMap.value=m.isCubeTexture&&!1===m.isRenderTargetTexture?-1:1,h===m&&p===m.version&&f===t.toneMapping||(u.material.needsUpdate=!0,h=m,p=m.version,f=t.toneMapping),u.layers.enableAll(),n.unshift(u,u.geometry,u.material,0,0,null)):m&&m.isTexture&&(void 0===s&&(s=new fn(new Rn(2,2),new _n({name:\\\"BackgroundMaterial\\\",uniforms:vn(Bn.background.uniforms),vertexShader:Bn.background.vertexShader,fragmentShader:Bn.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1})),s.geometry.deleteAttribute(\\\"normal\\\"),Object.defineProperty(s.material,\\\"map\\\",{get:function(){return this.uniforms.t2D.value}}),r.update(s)),s.material.uniforms.t2D.value=m,!0===m.matrixAutoUpdate&&m.updateMatrix(),s.material.uniforms.uvTransform.value.copy(m.matrix),h===m&&p===m.version&&f===t.toneMapping||(s.material.needsUpdate=!0,h=m,p=m.version,f=t.toneMapping),s.layers.enableAll(),n.unshift(s,s.geometry,s.material,0,0,null))}}}function Fn(t,e,n,r){const i=t.getParameter(34921),o=r.isWebGL2?null:e.get(\\\"OES_vertex_array_object\\\"),a=r.isWebGL2||null!==o,s={},l=f(null);let u=l,c=!1;function h(e){return r.isWebGL2?t.bindVertexArray(e):o.bindVertexArrayOES(e)}function p(e){return r.isWebGL2?t.deleteVertexArray(e):o.deleteVertexArrayOES(e)}function f(t){const e=[],n=[],r=[];for(let t=0;t<i;t++)e[t]=0,n[t]=0,r[t]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:e,enabledAttributes:n,attributeDivisors:r,object:t,attributes:{},index:null}}function d(){const t=u.newAttributes;for(let e=0,n=t.length;e<n;e++)t[e]=0}function m(t){v(t,0)}function v(n,i){const o=u.newAttributes,a=u.enabledAttributes,s=u.attributeDivisors;o[n]=1,0===a[n]&&(t.enableVertexAttribArray(n),a[n]=1),s[n]!==i&&((r.isWebGL2?t:e.get(\\\"ANGLE_instanced_arrays\\\"))[r.isWebGL2?\\\"vertexAttribDivisor\\\":\\\"vertexAttribDivisorANGLE\\\"](n,i),s[n]=i)}function g(){const e=u.newAttributes,n=u.enabledAttributes;for(let r=0,i=n.length;r<i;r++)n[r]!==e[r]&&(t.disableVertexAttribArray(r),n[r]=0)}function y(e,n,i,o,a,s){!0!==r.isWebGL2||5124!==i&&5125!==i?t.vertexAttribPointer(e,n,i,o,a,s):t.vertexAttribIPointer(e,n,i,a,s)}function _(){b(),c=!0,u!==l&&(u=l,h(u.object))}function b(){l.geometry=null,l.program=null,l.wireframe=!1}return{setup:function(i,l,p,_,b){let x=!1;if(a){const e=function(e,n,i){const a=!0===i.wireframe;let l=s[e.id];void 0===l&&(l={},s[e.id]=l);let u=l[n.id];void 0===u&&(u={},l[n.id]=u);let c=u[a];return void 0===c&&(c=f(r.isWebGL2?t.createVertexArray():o.createVertexArrayOES()),u[a]=c),c}(_,p,l);u!==e&&(u=e,h(u.object)),x=function(t,e,n,r){const i=u.attributes,o=e.attributes;let a=0;const s=n.getAttributes();for(const e in s)if(s[e].location>=0){const n=i[e];let r=o[e];if(void 0===r&&(\\\"instanceMatrix\\\"===e&&t.instanceMatrix&&(r=t.instanceMatrix),\\\"instanceColor\\\"===e&&t.instanceColor&&(r=t.instanceColor)),void 0===n)return!0;if(n.attribute!==r)return!0;if(r&&n.data!==r.data)return!0;a++}return u.attributesNum!==a||u.index!==r}(i,_,p,b),x&&function(t,e,n,r){const i={},o=e.attributes;let a=0;const s=n.getAttributes();for(const e in s)if(s[e].location>=0){let n=o[e];void 0===n&&(\\\"instanceMatrix\\\"===e&&t.instanceMatrix&&(n=t.instanceMatrix),\\\"instanceColor\\\"===e&&t.instanceColor&&(n=t.instanceColor));const r={};r.attribute=n,n&&n.data&&(r.data=n.data),i[e]=r,a++}u.attributes=i,u.attributesNum=a,u.index=r}(i,_,p,b)}else{const t=!0===l.wireframe;u.geometry===_.id&&u.program===p.id&&u.wireframe===t||(u.geometry=_.id,u.program=p.id,u.wireframe=t,x=!0)}null!==b&&n.update(b,34963),(x||c)&&(c=!1,function(i,o,a,s){if(!1===r.isWebGL2&&(i.isInstancedMesh||s.isInstancedBufferGeometry)&&null===e.get(\\\"ANGLE_instanced_arrays\\\"))return;d();const l=s.attributes,u=a.getAttributes(),c=o.defaultAttributeValues;for(const e in u){const r=u[e];if(r.location>=0){let o=l[e];if(void 0===o&&(\\\"instanceMatrix\\\"===e&&i.instanceMatrix&&(o=i.instanceMatrix),\\\"instanceColor\\\"===e&&i.instanceColor&&(o=i.instanceColor)),void 0!==o){const e=o.normalized,a=o.itemSize,l=n.get(o);if(void 0===l)continue;const u=l.buffer,c=l.type,h=l.bytesPerElement;if(o.isInterleavedBufferAttribute){const n=o.data,l=n.stride,p=o.offset;if(n.isInstancedInterleavedBuffer){for(let t=0;t<r.locationSize;t++)v(r.location+t,n.meshPerAttribute);!0!==i.isInstancedMesh&&void 0===s._maxInstanceCount&&(s._maxInstanceCount=n.meshPerAttribute*n.count)}else for(let t=0;t<r.locationSize;t++)m(r.location+t);t.bindBuffer(34962,u);for(let t=0;t<r.locationSize;t++)y(r.location+t,a/r.locationSize,c,e,l*h,(p+a/r.locationSize*t)*h)}else{if(o.isInstancedBufferAttribute){for(let t=0;t<r.locationSize;t++)v(r.location+t,o.meshPerAttribute);!0!==i.isInstancedMesh&&void 0===s._maxInstanceCount&&(s._maxInstanceCount=o.meshPerAttribute*o.count)}else for(let t=0;t<r.locationSize;t++)m(r.location+t);t.bindBuffer(34962,u);for(let t=0;t<r.locationSize;t++)y(r.location+t,a/r.locationSize,c,e,a*h,a/r.locationSize*t*h)}}else if(void 0!==c){const n=c[e];if(void 0!==n)switch(n.length){case 2:t.vertexAttrib2fv(r.location,n);break;case 3:t.vertexAttrib3fv(r.location,n);break;case 4:t.vertexAttrib4fv(r.location,n);break;default:t.vertexAttrib1fv(r.location,n)}}}}g()}(i,l,p,_),null!==b&&t.bindBuffer(34963,n.get(b).buffer))},reset:_,resetDefaultState:b,dispose:function(){_();for(const t in s){const e=s[t];for(const t in e){const n=e[t];for(const t in n)p(n[t].object),delete n[t];delete e[t]}delete s[t]}},releaseStatesOfGeometry:function(t){if(void 0===s[t.id])return;const e=s[t.id];for(const t in e){const n=e[t];for(const t in n)p(n[t].object),delete n[t];delete e[t]}delete s[t.id]},releaseStatesOfProgram:function(t){for(const e in s){const n=s[e];if(void 0===n[t.id])continue;const r=n[t.id];for(const t in r)p(r[t].object),delete r[t];delete n[t.id]}},initAttributes:d,enableAttribute:m,disableUnusedAttributes:g}}function jn(t,e,n,r){const i=r.isWebGL2;let o;this.setMode=function(t){o=t},this.render=function(e,r){t.drawArrays(o,e,r),n.update(r,o,1)},this.renderInstances=function(r,a,s){if(0===s)return;let l,u;if(i)l=t,u=\\\"drawArraysInstanced\\\";else if(l=e.get(\\\"ANGLE_instanced_arrays\\\"),u=\\\"drawArraysInstancedANGLE\\\",null===l)return void console.error(\\\"THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.\\\");l[u](o,r,a,s),n.update(a,o,s)}}function Un(t,e,n){let r;function i(e){if(\\\"highp\\\"===e){if(t.getShaderPrecisionFormat(35633,36338).precision>0&&t.getShaderPrecisionFormat(35632,36338).precision>0)return\\\"highp\\\";e=\\\"mediump\\\"}return\\\"mediump\\\"===e&&t.getShaderPrecisionFormat(35633,36337).precision>0&&t.getShaderPrecisionFormat(35632,36337).precision>0?\\\"mediump\\\":\\\"lowp\\\"}const o=\\\"undefined\\\"!=typeof WebGL2RenderingContext&&t instanceof WebGL2RenderingContext||\\\"undefined\\\"!=typeof WebGL2ComputeRenderingContext&&t instanceof WebGL2ComputeRenderingContext;let a=void 0!==n.precision?n.precision:\\\"highp\\\";const s=i(a);s!==a&&(console.warn(\\\"THREE.WebGLRenderer:\\\",a,\\\"not supported, using\\\",s,\\\"instead.\\\"),a=s);const l=o||e.has(\\\"WEBGL_draw_buffers\\\"),u=!0===n.logarithmicDepthBuffer,c=t.getParameter(34930),h=t.getParameter(35660),p=t.getParameter(3379),f=t.getParameter(34076),d=t.getParameter(34921),m=t.getParameter(36347),v=t.getParameter(36348),g=t.getParameter(36349),y=h>0,_=o||e.has(\\\"OES_texture_float\\\");return{isWebGL2:o,drawBuffers:l,getMaxAnisotropy:function(){if(void 0!==r)return r;if(!0===e.has(\\\"EXT_texture_filter_anisotropic\\\")){const n=e.get(\\\"EXT_texture_filter_anisotropic\\\");r=t.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else r=0;return r},getMaxPrecision:i,precision:a,logarithmicDepthBuffer:u,maxTextures:c,maxVertexTextures:h,maxTextureSize:p,maxCubemapSize:f,maxAttributes:d,maxVertexUniforms:m,maxVaryings:v,maxFragmentUniforms:g,vertexTextures:y,floatFragmentTextures:_,floatVertexTextures:y&&_,maxSamples:o?t.getParameter(36183):0}}function qn(t){const e=this;let n=null,r=0,i=!1,o=!1;const a=new kn,s=new W,l={value:null,needsUpdate:!1};function u(){l.value!==n&&(l.value=n,l.needsUpdate=r>0),e.numPlanes=r,e.numIntersection=0}function c(t,n,r,i){const o=null!==t?t.length:0;let u=null;if(0!==o){if(u=l.value,!0!==i||null===u){const e=r+4*o,i=n.matrixWorldInverse;s.getNormalMatrix(i),(null===u||u.length<e)&&(u=new Float32Array(e));for(let e=0,n=r;e!==o;++e,n+=4)a.copy(t[e]).applyMatrix4(i,s),a.normal.toArray(u,n),u[n+3]=a.constant}l.value=u,l.needsUpdate=!0}return e.numPlanes=o,e.numIntersection=0,u}this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(t,e,o){const a=0!==t.length||e||0!==r||i;return i=e,n=c(t,o,0),r=t.length,a},this.beginShadows=function(){o=!0,c(null)},this.endShadows=function(){o=!1,u()},this.setState=function(e,a,s){const h=e.clippingPlanes,p=e.clipIntersection,f=e.clipShadows,d=t.get(e);if(!i||null===h||0===h.length||o&&!f)o?c(null):u();else{const t=o?0:r,e=4*t;let i=d.clippingState||null;l.value=i,i=c(h,a,e,s);for(let t=0;t!==e;++t)i[t]=n[t];d.clippingState=i,this.numIntersection=p?this.numPlanes:0,this.numPlanes+=t}}}function Vn(t){let e=new WeakMap;function n(t,e){return 303===e?t.mapping=a:304===e&&(t.mapping=s),t}function r(t){const n=t.target;n.removeEventListener(\\\"dispose\\\",r);const i=e.get(n);void 0!==i&&(e.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture&&!1===i.isRenderTargetTexture){const o=i.mapping;if(303===o||304===o){if(e.has(i))return n(e.get(i).texture,i.mapping);{const o=i.image;if(o&&o.height>0){const a=new Mn(o.height/2);return a.fromEquirectangularTexture(t,i),e.set(i,a),i.addEventListener(\\\"dispose\\\",r),n(a.texture,i.mapping)}return null}}}return i},dispose:function(){e=new WeakMap}}}Bn.physical={uniforms:gn([Bn.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new G(1,1)},clearcoatNormalMap:{value:null},iridescence:{value:0},iridescenceMap:{value:null},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},sheen:{value:0},sheenColor:{value:new at(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new G},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new at(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new at(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Dn.meshphysical_vert,fragmentShader:Dn.meshphysical_frag};class Hn extends bn{constructor(t=-1,e=1,n=1,r=-1,i=.1,o=2e3){super(),this.isOrthographicCamera=!0,this.type=\\\"OrthographicCamera\\\",this.zoom=1,this.view=null,this.left=t,this.right=e,this.top=n,this.bottom=r,this.near=i,this.far=o,this.updateProjectionMatrix()}copy(t,e){return super.copy(t,e),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.near=t.near,this.far=t.far,this.zoom=t.zoom,this.view=null===t.view?null:Object.assign({},t.view),this}setViewOffset(t,e,n,r,i,o){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=(this.right-this.left)/(2*this.zoom),e=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let i=n-t,o=n+t,a=r+e,s=r-e;if(null!==this.view&&this.view.enabled){const t=(this.right-this.left)/this.view.fullWidth/this.zoom,e=(this.top-this.bottom)/this.view.fullHeight/this.zoom;i+=t*this.view.offsetX,o=i+t*this.view.width,a-=e*this.view.offsetY,s=a-e*this.view.height}this.projectionMatrix.makeOrthographic(i,o,a,s,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const e=super.toJSON(t);return e.object.zoom=this.zoom,e.object.left=this.left,e.object.right=this.right,e.object.top=this.top,e.object.bottom=this.bottom,e.object.near=this.near,e.object.far=this.far,null!==this.view&&(e.object.view=Object.assign({},this.view)),e}}const Gn=[.125,.215,.35,.446,.526,.582],Wn=new Hn,Xn=new at;let Yn=null;const Zn=(1+Math.sqrt(5))/2,Kn=1/Zn,Jn=[new yt(1,1,1),new yt(-1,1,1),new yt(1,1,-1),new yt(-1,1,-1),new yt(0,Zn,Kn),new yt(0,Zn,-Kn),new yt(Kn,0,Zn),new yt(-Kn,0,Zn),new yt(Zn,Kn,0),new yt(-Zn,Kn,0)];class Qn{constructor(t){this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(t,e=0,n=.1,r=100){Yn=this._renderer.getRenderTarget(),this._setSize(256);const i=this._allocateTargets();return i.depthBuffer=!0,this._sceneToCubeUV(t,n,r,i),e>0&&this._blur(i,0,0,e),this._applyPMREM(i),this._cleanup(i),i}fromEquirectangular(t,e=null){return this._fromTexture(t,e)}fromCubemap(t,e=null){return this._fromTexture(t,e)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=rr(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=nr(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let t=0;t<this._lodPlanes.length;t++)this._lodPlanes[t].dispose()}_cleanup(t){this._renderer.setRenderTarget(Yn),t.scissorTest=!1,er(t,0,0,t.width,t.height)}_fromTexture(t,e){t.mapping===a||t.mapping===s?this._setSize(0===t.image.length?16:t.image[0].width||t.image[0].image.width):this._setSize(t.image.width/4),Yn=this._renderer.getRenderTarget();const n=e||this._allocateTargets();return this._textureToCubeUV(t,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){const t=3*Math.max(this._cubeSize,112),e=4*this._cubeSize,n={magFilter:f,minFilter:f,generateMipmaps:!1,type:y,format:b,encoding:O,depthBuffer:!1},r=tr(t,e,n);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==t){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=tr(t,e,n);const{_lodMax:r}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=function(t){const e=[],n=[],r=[];let i=t;const o=t-4+1+Gn.length;for(let a=0;a<o;a++){const o=Math.pow(2,i);n.push(o);let s=1/o;a>t-4?s=Gn[a-t+4-1]:0===a&&(s=0),r.push(s);const l=1/(o-2),u=-l,c=1+l,h=[u,u,c,u,c,c,u,u,c,c,u,c],p=6,f=6,d=3,m=2,v=1,g=new Float32Array(d*f*p),y=new Float32Array(m*f*p),_=new Float32Array(v*f*p);for(let t=0;t<p;t++){const e=t%3*2/3-1,n=t>2?0:-1,r=[e,n,0,e+2/3,n,0,e+2/3,n+1,0,e,n,0,e+2/3,n+1,0,e,n+1,0];g.set(r,d*f*t),y.set(h,m*f*t);const i=[t,t,t,t,t,t];_.set(i,v*f*t)}const b=new Xe;b.setAttribute(\\\"position\\\",new $e(g,d)),b.setAttribute(\\\"uv\\\",new $e(y,m)),b.setAttribute(\\\"faceIndex\\\",new $e(_,v)),e.push(b),i>4&&i--}return{lodPlanes:e,sizeLods:n,sigmas:r}}(r)),this._blurMaterial=function(t,e,n){const r=new Float32Array(20),i=new yt(0,1,0);return new _n({name:\\\"SphericalGaussianBlur\\\",defines:{n:20,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${t}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:r},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:\\\"\\\\n\\\\n\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\tattribute float faceIndex;\\\\n\\\\n\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t// RH coordinate system; PMREM face-indexing convention\\\\n\\\\t\\\\tvec3 getDirection( vec2 uv, float face ) {\\\\n\\\\n\\\\t\\\\t\\\\tuv = 2.0 * uv - 1.0;\\\\n\\\\n\\\\t\\\\t\\\\tvec3 direction = vec3( uv, 1.0 );\\\\n\\\\n\\\\t\\\\t\\\\tif ( face == 0.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx; // ( 1, v, u ) pos x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 1.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 2.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 3.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 4.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 5.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\treturn direction;\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\tvOutputDirection = getDirection( uv, faceIndex );\\\\n\\\\t\\\\t\\\\tgl_Position = vec4( position, 1.0 );\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\t\\\",fragmentShader:\\\"\\\\n\\\\n\\\\t\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t\\\\tuniform sampler2D envMap;\\\\n\\\\t\\\\t\\\\tuniform int samples;\\\\n\\\\t\\\\t\\\\tuniform float weights[ n ];\\\\n\\\\t\\\\t\\\\tuniform bool latitudinal;\\\\n\\\\t\\\\t\\\\tuniform float dTheta;\\\\n\\\\t\\\\t\\\\tuniform float mipInt;\\\\n\\\\t\\\\t\\\\tuniform vec3 poleAxis;\\\\n\\\\n\\\\t\\\\t\\\\t#define ENVMAP_TYPE_CUBE_UV\\\\n\\\\t\\\\t\\\\t#include <cube_uv_reflection_fragment>\\\\n\\\\n\\\\t\\\\t\\\\tvec3 getSample( float theta, vec3 axis ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tfloat cosTheta = cos( theta );\\\\n\\\\t\\\\t\\\\t\\\\t// Rodrigues' axis-angle rotation\\\\n\\\\t\\\\t\\\\t\\\\tvec3 sampleDirection = vOutputDirection * cosTheta\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t+ cross( axis, vOutputDirection ) * sin( theta )\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\taxis = normalize( axis );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tfor ( int i = 1; i < n; i++ ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tif ( i >= samples ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tfloat theta = dTheta * float( i );\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\",blending:0,depthTest:!1,depthWrite:!1})}(r,t,e)}return r}_compileMaterial(t){const e=new fn(this._lodPlanes[0],t);this._renderer.compile(e,Wn)}_sceneToCubeUV(t,e,n,r){const i=new xn(90,1,e,n),o=[1,-1,1,1,1,1],a=[1,1,1,-1,-1,-1],s=this._renderer,l=s.autoClear,u=s.toneMapping;s.getClearColor(Xn),s.toneMapping=0,s.autoClear=!1;const c=new ze({name:\\\"PMREM.Background\\\",side:1,depthWrite:!1,depthTest:!1}),h=new fn(new mn,c);let p=!1;const f=t.background;f?f.isColor&&(c.color.copy(f),t.background=null,p=!0):(c.color.copy(Xn),p=!0);for(let e=0;e<6;e++){const n=e%3;0===n?(i.up.set(0,o[e],0),i.lookAt(a[e],0,0)):1===n?(i.up.set(0,0,o[e]),i.lookAt(0,a[e],0)):(i.up.set(0,o[e],0),i.lookAt(0,0,a[e]));const l=this._cubeSize;er(r,n*l,e>2?l:0,l,l),s.setRenderTarget(r),p&&s.render(h,i),s.render(t,i)}h.geometry.dispose(),h.material.dispose(),s.toneMapping=u,s.autoClear=l,t.background=f}_textureToCubeUV(t,e){const n=this._renderer,r=t.mapping===a||t.mapping===s;r?(null===this._cubemapMaterial&&(this._cubemapMaterial=rr()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===t.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=nr());const i=r?this._cubemapMaterial:this._equirectMaterial,o=new fn(this._lodPlanes[0],i);i.uniforms.envMap.value=t;const l=this._cubeSize;er(e,0,0,3*l,2*l),n.setRenderTarget(e),n.render(o,Wn)}_applyPMREM(t){const e=this._renderer,n=e.autoClear;e.autoClear=!1;for(let e=1;e<this._lodPlanes.length;e++){const n=Math.sqrt(this._sigmas[e]*this._sigmas[e]-this._sigmas[e-1]*this._sigmas[e-1]),r=Jn[(e-1)%Jn.length];this._blur(t,e-1,e,n,r)}e.autoClear=n}_blur(t,e,n,r,i){const o=this._pingPongRenderTarget;this._halfBlur(t,o,e,n,r,\\\"latitudinal\\\",i),this._halfBlur(o,t,n,n,r,\\\"longitudinal\\\",i)}_halfBlur(t,e,n,r,i,o,a){const s=this._renderer,l=this._blurMaterial;\\\"latitudinal\\\"!==o&&\\\"longitudinal\\\"!==o&&console.error(\\\"blur direction must be either latitudinal or longitudinal!\\\");const u=new fn(this._lodPlanes[r],l),c=l.uniforms,h=this._sizeLods[n]-1,p=isFinite(i)?Math.PI/(2*h):2*Math.PI/39,f=i/p,d=isFinite(i)?1+Math.floor(3*f):20;d>20&&console.warn(`sigmaRadians, ${i}, is too large and will clip, as it requested ${d} samples when the maximum is set to 20`);const m=[];let v=0;for(let t=0;t<20;++t){const e=t/f,n=Math.exp(-e*e/2);m.push(n),0===t?v+=n:t<d&&(v+=2*n)}for(let t=0;t<m.length;t++)m[t]=m[t]/v;c.envMap.value=t.texture,c.samples.value=d,c.weights.value=m,c.latitudinal.value=\\\"latitudinal\\\"===o,a&&(c.poleAxis.value=a);const{_lodMax:g}=this;c.dTheta.value=p,c.mipInt.value=g-n;const y=this._sizeLods[r];er(e,3*y*(r>g-4?r-g+4:0),4*(this._cubeSize-y),3*y,2*y),s.setRenderTarget(e),s.render(u,Wn)}}function tr(t,e,n){const r=new dt(t,e,n);return r.texture.mapping=l,r.texture.name=\\\"PMREM.cubeUv\\\",r.scissorTest=!0,r}function er(t,e,n,r,i){t.viewport.set(e,n,r,i),t.scissor.set(e,n,r,i)}function nr(){return new _n({name:\\\"EquirectangularToCubeUV\\\",uniforms:{envMap:{value:null}},vertexShader:\\\"\\\\n\\\\n\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\tattribute float faceIndex;\\\\n\\\\n\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t// RH coordinate system; PMREM face-indexing convention\\\\n\\\\t\\\\tvec3 getDirection( vec2 uv, float face ) {\\\\n\\\\n\\\\t\\\\t\\\\tuv = 2.0 * uv - 1.0;\\\\n\\\\n\\\\t\\\\t\\\\tvec3 direction = vec3( uv, 1.0 );\\\\n\\\\n\\\\t\\\\t\\\\tif ( face == 0.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx; // ( 1, v, u ) pos x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 1.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 2.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 3.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 4.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 5.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\treturn direction;\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\tvOutputDirection = getDirection( uv, faceIndex );\\\\n\\\\t\\\\t\\\\tgl_Position = vec4( position, 1.0 );\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\t\\\",fragmentShader:\\\"\\\\n\\\\n\\\\t\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t\\\\tuniform sampler2D envMap;\\\\n\\\\n\\\\t\\\\t\\\\t#include <common>\\\\n\\\\n\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tvec3 outputDirection = normalize( vOutputDirection );\\\\n\\\\t\\\\t\\\\t\\\\tvec2 uv = equirectUv( outputDirection );\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\",blending:0,depthTest:!1,depthWrite:!1})}function rr(){return new _n({name:\\\"CubemapToCubeUV\\\",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:\\\"\\\\n\\\\n\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\tattribute float faceIndex;\\\\n\\\\n\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t// RH coordinate system; PMREM face-indexing convention\\\\n\\\\t\\\\tvec3 getDirection( vec2 uv, float face ) {\\\\n\\\\n\\\\t\\\\t\\\\tuv = 2.0 * uv - 1.0;\\\\n\\\\n\\\\t\\\\t\\\\tvec3 direction = vec3( uv, 1.0 );\\\\n\\\\n\\\\t\\\\t\\\\tif ( face == 0.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx; // ( 1, v, u ) pos x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 1.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 2.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 3.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.zyx;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 4.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection = direction.xzy;\\\\n\\\\t\\\\t\\\\t\\\\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\\\\n\\\\n\\\\t\\\\t\\\\t} else if ( face == 5.0 ) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\treturn direction;\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\tvOutputDirection = getDirection( uv, faceIndex );\\\\n\\\\t\\\\t\\\\tgl_Position = vec4( position, 1.0 );\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\t\\\",fragmentShader:\\\"\\\\n\\\\n\\\\t\\\\t\\\\tprecision mediump float;\\\\n\\\\t\\\\t\\\\tprecision mediump int;\\\\n\\\\n\\\\t\\\\t\\\\tuniform float flipEnvMap;\\\\n\\\\n\\\\t\\\\t\\\\tvarying vec3 vOutputDirection;\\\\n\\\\n\\\\t\\\\t\\\\tuniform samplerCube envMap;\\\\n\\\\n\\\\t\\\\t\\\\tvoid main() {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\",blending:0,depthTest:!1,depthWrite:!1})}function ir(t){let e=new WeakMap,n=null;function r(t){const n=t.target;n.removeEventListener(\\\"dispose\\\",r);const i=e.get(n);void 0!==i&&(e.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture){const o=i.mapping,l=303===o||304===o,u=o===a||o===s;if(l||u){if(i.isRenderTargetTexture&&!0===i.needsPMREMUpdate){i.needsPMREMUpdate=!1;let r=e.get(i);return null===n&&(n=new Qn(t)),r=l?n.fromEquirectangular(i,r):n.fromCubemap(i,r),e.set(i,r),r.texture}if(e.has(i))return e.get(i).texture;{const o=i.image;if(l&&o&&o.height>0||u&&o&&function(t){let e=0;for(let n=0;n<6;n++)void 0!==t[n]&&e++;return 6===e}(o)){null===n&&(n=new Qn(t));const o=l?n.fromEquirectangular(i):n.fromCubemap(i);return e.set(i,o),i.addEventListener(\\\"dispose\\\",r),o.texture}return null}}}return i},dispose:function(){e=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function or(t){const e={};function n(n){if(void 0!==e[n])return e[n];let r;switch(n){case\\\"WEBGL_depth_texture\\\":r=t.getExtension(\\\"WEBGL_depth_texture\\\")||t.getExtension(\\\"MOZ_WEBGL_depth_texture\\\")||t.getExtension(\\\"WEBKIT_WEBGL_depth_texture\\\");break;case\\\"EXT_texture_filter_anisotropic\\\":r=t.getExtension(\\\"EXT_texture_filter_anisotropic\\\")||t.getExtension(\\\"MOZ_EXT_texture_filter_anisotropic\\\")||t.getExtension(\\\"WEBKIT_EXT_texture_filter_anisotropic\\\");break;case\\\"WEBGL_compressed_texture_s3tc\\\":r=t.getExtension(\\\"WEBGL_compressed_texture_s3tc\\\")||t.getExtension(\\\"MOZ_WEBGL_compressed_texture_s3tc\\\")||t.getExtension(\\\"WEBKIT_WEBGL_compressed_texture_s3tc\\\");break;case\\\"WEBGL_compressed_texture_pvrtc\\\":r=t.getExtension(\\\"WEBGL_compressed_texture_pvrtc\\\")||t.getExtension(\\\"WEBKIT_WEBGL_compressed_texture_pvrtc\\\");break;default:r=t.getExtension(n)}return e[n]=r,r}return{has:function(t){return null!==n(t)},init:function(t){t.isWebGL2?n(\\\"EXT_color_buffer_float\\\"):(n(\\\"WEBGL_depth_texture\\\"),n(\\\"OES_texture_float\\\"),n(\\\"OES_texture_half_float\\\"),n(\\\"OES_texture_half_float_linear\\\"),n(\\\"OES_standard_derivatives\\\"),n(\\\"OES_element_index_uint\\\"),n(\\\"OES_vertex_array_object\\\"),n(\\\"ANGLE_instanced_arrays\\\")),n(\\\"OES_texture_float_linear\\\"),n(\\\"EXT_color_buffer_half_float\\\"),n(\\\"WEBGL_multisampled_render_to_texture\\\")},get:function(t){const e=n(t);return null===e&&console.warn(\\\"THREE.WebGLRenderer: \\\"+t+\\\" extension not supported.\\\"),e}}}function ar(t,e,n,r){const i={},o=new WeakMap;function a(t){const s=t.target;null!==s.index&&e.remove(s.index);for(const t in s.attributes)e.remove(s.attributes[t]);s.removeEventListener(\\\"dispose\\\",a),delete i[s.id];const l=o.get(s);l&&(e.remove(l),o.delete(s)),r.releaseStatesOfGeometry(s),!0===s.isInstancedBufferGeometry&&delete s._maxInstanceCount,n.memory.geometries--}function s(t){const n=[],r=t.index,i=t.attributes.position;let a=0;if(null!==r){const t=r.array;a=r.version;for(let e=0,r=t.length;e<r;e+=3){const r=t[e+0],i=t[e+1],o=t[e+2];n.push(r,i,i,o,o,r)}}else{const t=i.array;a=i.version;for(let e=0,r=t.length/3-1;e<r;e+=3){const t=e+0,r=e+1,i=e+2;n.push(t,r,r,i,i,t)}}const s=new(X(n)?Ne:Be)(n,1);s.version=a;const l=o.get(t);l&&e.remove(l),o.set(t,s)}return{get:function(t,e){return!0===i[e.id]||(e.addEventListener(\\\"dispose\\\",a),i[e.id]=!0,n.memory.geometries++),e},update:function(t){const n=t.attributes;for(const t in n)e.update(n[t],34962);const r=t.morphAttributes;for(const t in r){const n=r[t];for(let t=0,r=n.length;t<r;t++)e.update(n[t],34962)}},getWireframeAttribute:function(t){const e=o.get(t);if(e){const n=t.index;null!==n&&e.version<n.version&&s(t)}else s(t);return o.get(t)}}}function sr(t,e,n,r){const i=r.isWebGL2;let o,a,s;this.setMode=function(t){o=t},this.setIndex=function(t){a=t.type,s=t.bytesPerElement},this.render=function(e,r){t.drawElements(o,r,a,e*s),n.update(r,o,1)},this.renderInstances=function(r,l,u){if(0===u)return;let c,h;if(i)c=t,h=\\\"drawElementsInstanced\\\";else if(c=e.get(\\\"ANGLE_instanced_arrays\\\"),h=\\\"drawElementsInstancedANGLE\\\",null===c)return void console.error(\\\"THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.\\\");c[h](o,l,a,r*s,u),n.update(l,o,u)}}function lr(t){const e={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:e,programs:null,autoReset:!0,reset:function(){e.frame++,e.calls=0,e.triangles=0,e.points=0,e.lines=0},update:function(t,n,r){switch(e.calls++,n){case 4:e.triangles+=r*(t/3);break;case 1:e.lines+=r*(t/2);break;case 3:e.lines+=r*(t-1);break;case 2:e.lines+=r*t;break;case 0:e.points+=r*t;break;default:console.error(\\\"THREE.WebGLInfo: Unknown draw mode:\\\",n)}}}}function ur(t,e){return t[0]-e[0]}function cr(t,e){return Math.abs(e[1])-Math.abs(t[1])}function hr(t,e){let n=1;const r=e.isInterleavedBufferAttribute?e.data.array:e.array;r instanceof Int8Array?n=127:r instanceof Uint8Array?n=255:r instanceof Uint16Array?n=65535:r instanceof Int16Array?n=32767:r instanceof Int32Array?n=2147483647:console.error(\\\"THREE.WebGLMorphtargets: Unsupported morph attribute data type: \\\",r),t.divideScalar(n)}function pr(t,e,n){const r={},i=new Float32Array(8),o=new WeakMap,a=new ft,s=[];for(let t=0;t<8;t++)s[t]=[t,0];return{update:function(l,u,c,h){const p=l.morphTargetInfluences;if(!0===e.isWebGL2){const f=u.morphAttributes.position||u.morphAttributes.normal||u.morphAttributes.color,d=void 0!==f?f.length:0;let m=o.get(u);if(void 0===m||m.count!==d){void 0!==m&&m.texture.dispose();const _=void 0!==u.morphAttributes.position,b=void 0!==u.morphAttributes.normal,x=void 0!==u.morphAttributes.color,w=u.morphAttributes.position||[],A=u.morphAttributes.normal||[],C=u.morphAttributes.color||[];let M=0;!0===_&&(M=1),!0===b&&(M=2),!0===x&&(M=3);let E=u.attributes.position.count*M,T=1;E>e.maxTextureSize&&(T=Math.ceil(E/e.maxTextureSize),E=e.maxTextureSize);const S=new Float32Array(E*T*4*d),k=new mt(S,E,T,d);k.type=g,k.needsUpdate=!0;const O=4*M;for(let L=0;L<d;L++){const P=w[L],z=A[L],R=C[L],D=E*T*4*L;for(let $=0;$<P.count;$++){const B=$*O;!0===_&&(a.fromBufferAttribute(P,$),!0===P.normalized&&hr(a,P),S[D+B+0]=a.x,S[D+B+1]=a.y,S[D+B+2]=a.z,S[D+B+3]=0),!0===b&&(a.fromBufferAttribute(z,$),!0===z.normalized&&hr(a,z),S[D+B+4]=a.x,S[D+B+5]=a.y,S[D+B+6]=a.z,S[D+B+7]=0),!0===x&&(a.fromBufferAttribute(R,$),!0===R.normalized&&hr(a,R),S[D+B+8]=a.x,S[D+B+9]=a.y,S[D+B+10]=a.z,S[D+B+11]=4===R.itemSize?a.w:1)}}function I(){k.dispose(),o.delete(u),u.removeEventListener(\\\"dispose\\\",I)}m={count:d,texture:k,size:new G(E,T)},o.set(u,m),u.addEventListener(\\\"dispose\\\",I)}let v=0;for(let N=0;N<p.length;N++)v+=p[N];const y=u.morphTargetsRelative?1:1-v;h.getUniforms().setValue(t,\\\"morphTargetBaseInfluence\\\",y),h.getUniforms().setValue(t,\\\"morphTargetInfluences\\\",p),h.getUniforms().setValue(t,\\\"morphTargetsTexture\\\",m.texture,n),h.getUniforms().setValue(t,\\\"morphTargetsTextureSize\\\",m.size)}else{const F=void 0===p?0:p.length;let j=r[u.id];if(void 0===j||j.length!==F){j=[];for(let W=0;W<F;W++)j[W]=[W,0];r[u.id]=j}for(let X=0;X<F;X++){const Y=j[X];Y[0]=X,Y[1]=p[X]}j.sort(cr);for(let Z=0;Z<8;Z++)Z<F&&j[Z][1]?(s[Z][0]=j[Z][0],s[Z][1]=j[Z][1]):(s[Z][0]=Number.MAX_SAFE_INTEGER,s[Z][1]=0);s.sort(ur);const U=u.morphAttributes.position,q=u.morphAttributes.normal;let V=0;for(let K=0;K<8;K++){const J=s[K],Q=J[0],tt=J[1];Q!==Number.MAX_SAFE_INTEGER&&tt?(U&&u.getAttribute(\\\"morphTarget\\\"+K)!==U[Q]&&u.setAttribute(\\\"morphTarget\\\"+K,U[Q]),q&&u.getAttribute(\\\"morphNormal\\\"+K)!==q[Q]&&u.setAttribute(\\\"morphNormal\\\"+K,q[Q]),i[K]=tt,V+=tt):(U&&!0===u.hasAttribute(\\\"morphTarget\\\"+K)&&u.deleteAttribute(\\\"morphTarget\\\"+K),q&&!0===u.hasAttribute(\\\"morphNormal\\\"+K)&&u.deleteAttribute(\\\"morphNormal\\\"+K),i[K]=0)}const H=u.morphTargetsRelative?1:1-V;h.getUniforms().setValue(t,\\\"morphTargetBaseInfluence\\\",H),h.getUniforms().setValue(t,\\\"morphTargetInfluences\\\",i)}}}}function fr(t,e,n,r){let i=new WeakMap;function o(t){const e=t.target;e.removeEventListener(\\\"dispose\\\",o),n.remove(e.instanceMatrix),null!==e.instanceColor&&n.remove(e.instanceColor)}return{update:function(t){const a=r.render.frame,s=t.geometry,l=e.get(t,s);return i.get(l)!==a&&(e.update(l),i.set(l,a)),t.isInstancedMesh&&(!1===t.hasEventListener(\\\"dispose\\\",o)&&t.addEventListener(\\\"dispose\\\",o),n.update(t.instanceMatrix,34962),null!==t.instanceColor&&n.update(t.instanceColor,34962)),l},dispose:function(){i=new WeakMap}}}const dr=new pt,mr=new mt,vr=new vt,gr=new Cn,yr=[],_r=[],br=new Float32Array(16),xr=new Float32Array(9),wr=new Float32Array(4);function Ar(t,e,n){const r=t[0];if(r<=0||r>0)return t;const i=e*n;let o=yr[i];if(void 0===o&&(o=new Float32Array(i),yr[i]=o),0!==e){r.toArray(o,0);for(let r=1,i=0;r!==e;++r)i+=n,t[r].toArray(o,i)}return o}function Cr(t,e){if(t.length!==e.length)return!1;for(let n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0}function Mr(t,e){for(let n=0,r=e.length;n<r;n++)t[n]=e[n]}function Er(t,e){let n=_r[e];void 0===n&&(n=new Int32Array(e),_r[e]=n);for(let r=0;r!==e;++r)n[r]=t.allocateTextureUnit();return n}function Tr(t,e){const n=this.cache;n[0]!==e&&(t.uniform1f(this.addr,e),n[0]=e)}function Sr(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y||(t.uniform2f(this.addr,e.x,e.y),n[0]=e.x,n[1]=e.y);else{if(Cr(n,e))return;t.uniform2fv(this.addr,e),Mr(n,e)}}function kr(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z||(t.uniform3f(this.addr,e.x,e.y,e.z),n[0]=e.x,n[1]=e.y,n[2]=e.z);else if(void 0!==e.r)n[0]===e.r&&n[1]===e.g&&n[2]===e.b||(t.uniform3f(this.addr,e.r,e.g,e.b),n[0]=e.r,n[1]=e.g,n[2]=e.b);else{if(Cr(n,e))return;t.uniform3fv(this.addr,e),Mr(n,e)}}function Or(t,e){const n=this.cache;if(void 0!==e.x)n[0]===e.x&&n[1]===e.y&&n[2]===e.z&&n[3]===e.w||(t.uniform4f(this.addr,e.x,e.y,e.z,e.w),n[0]=e.x,n[1]=e.y,n[2]=e.z,n[3]=e.w);else{if(Cr(n,e))return;t.uniform4fv(this.addr,e),Mr(n,e)}}function Ir(t,e){const n=this.cache,r=e.elements;if(void 0===r){if(Cr(n,e))return;t.uniformMatrix2fv(this.addr,!1,e),Mr(n,e)}else{if(Cr(n,r))return;wr.set(r),t.uniformMatrix2fv(this.addr,!1,wr),Mr(n,r)}}function Lr(t,e){const n=this.cache,r=e.elements;if(void 0===r){if(Cr(n,e))return;t.uniformMatrix3fv(this.addr,!1,e),Mr(n,e)}else{if(Cr(n,r))return;xr.set(r),t.uniformMatrix3fv(this.addr,!1,xr),Mr(n,r)}}function Pr(t,e){const n=this.cache,r=e.elements;if(void 0===r){if(Cr(n,e))return;t.uniformMatrix4fv(this.addr,!1,e),Mr(n,e)}else{if(Cr(n,r))return;br.set(r),t.uniformMatrix4fv(this.addr,!1,br),Mr(n,r)}}function zr(t,e){const n=this.cache;n[0]!==e&&(t.uniform1i(this.addr,e),n[0]=e)}function Rr(t,e){const n=this.cache;Cr(n,e)||(t.uniform2iv(this.addr,e),Mr(n,e))}function Dr(t,e){const n=this.cache;Cr(n,e)||(t.uniform3iv(this.addr,e),Mr(n,e))}function $r(t,e){const n=this.cache;Cr(n,e)||(t.uniform4iv(this.addr,e),Mr(n,e))}function Br(t,e){const n=this.cache;n[0]!==e&&(t.uniform1ui(this.addr,e),n[0]=e)}function Nr(t,e){const n=this.cache;Cr(n,e)||(t.uniform2uiv(this.addr,e),Mr(n,e))}function Fr(t,e){const n=this.cache;Cr(n,e)||(t.uniform3uiv(this.addr,e),Mr(n,e))}function jr(t,e){const n=this.cache;Cr(n,e)||(t.uniform4uiv(this.addr,e),Mr(n,e))}function Ur(t,e,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(t.uniform1i(this.addr,i),r[0]=i),n.setTexture2D(e||dr,i)}function qr(t,e,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(t.uniform1i(this.addr,i),r[0]=i),n.setTexture3D(e||vr,i)}function Vr(t,e,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(t.uniform1i(this.addr,i),r[0]=i),n.setTextureCube(e||gr,i)}function Hr(t,e,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(t.uniform1i(this.addr,i),r[0]=i),n.setTexture2DArray(e||mr,i)}function Gr(t,e){t.uniform1fv(this.addr,e)}function Wr(t,e){const n=Ar(e,this.size,2);t.uniform2fv(this.addr,n)}function Xr(t,e){const n=Ar(e,this.size,3);t.uniform3fv(this.addr,n)}function Yr(t,e){const n=Ar(e,this.size,4);t.uniform4fv(this.addr,n)}function Zr(t,e){const n=Ar(e,this.size,4);t.uniformMatrix2fv(this.addr,!1,n)}function Kr(t,e){const n=Ar(e,this.size,9);t.uniformMatrix3fv(this.addr,!1,n)}function Jr(t,e){const n=Ar(e,this.size,16);t.uniformMatrix4fv(this.addr,!1,n)}function Qr(t,e){t.uniform1iv(this.addr,e)}function ti(t,e){t.uniform2iv(this.addr,e)}function ei(t,e){t.uniform3iv(this.addr,e)}function ni(t,e){t.uniform4iv(this.addr,e)}function ri(t,e){t.uniform1uiv(this.addr,e)}function ii(t,e){t.uniform2uiv(this.addr,e)}function oi(t,e){t.uniform3uiv(this.addr,e)}function ai(t,e){t.uniform4uiv(this.addr,e)}function si(t,e,n){const r=e.length,i=Er(n,r);t.uniform1iv(this.addr,i);for(let t=0;t!==r;++t)n.setTexture2D(e[t]||dr,i[t])}function li(t,e,n){const r=e.length,i=Er(n,r);t.uniform1iv(this.addr,i);for(let t=0;t!==r;++t)n.setTexture3D(e[t]||vr,i[t])}function ui(t,e,n){const r=e.length,i=Er(n,r);t.uniform1iv(this.addr,i);for(let t=0;t!==r;++t)n.setTextureCube(e[t]||gr,i[t])}function ci(t,e,n){const r=e.length,i=Er(n,r);t.uniform1iv(this.addr,i);for(let t=0;t!==r;++t)n.setTexture2DArray(e[t]||mr,i[t])}class hi{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.setValue=function(t){switch(t){case 5126:return Tr;case 35664:return Sr;case 35665:return kr;case 35666:return Or;case 35674:return Ir;case 35675:return Lr;case 35676:return Pr;case 5124:case 35670:return zr;case 35667:case 35671:return Rr;case 35668:case 35672:return Dr;case 35669:case 35673:return $r;case 5125:return Br;case 36294:return Nr;case 36295:return Fr;case 36296:return jr;case 35678:case 36198:case 36298:case 36306:case 35682:return Ur;case 35679:case 36299:case 36307:return qr;case 35680:case 36300:case 36308:case 36293:return Vr;case 36289:case 36303:case 36311:case 36292:return Hr}}(e.type)}}class pi{constructor(t,e,n){this.id=t,this.addr=n,this.cache=[],this.size=e.size,this.setValue=function(t){switch(t){case 5126:return Gr;case 35664:return Wr;case 35665:return Xr;case 35666:return Yr;case 35674:return Zr;case 35675:return Kr;case 35676:return Jr;case 5124:case 35670:return Qr;case 35667:case 35671:return ti;case 35668:case 35672:return ei;case 35669:case 35673:return ni;case 5125:return ri;case 36294:return ii;case 36295:return oi;case 36296:return ai;case 35678:case 36198:case 36298:case 36306:case 35682:return si;case 35679:case 36299:case 36307:return li;case 35680:case 36300:case 36308:case 36293:return ui;case 36289:case 36303:case 36311:case 36292:return ci}}(e.type)}}class fi{constructor(t){this.id=t,this.seq=[],this.map={}}setValue(t,e,n){const r=this.seq;for(let i=0,o=r.length;i!==o;++i){const o=r[i];o.setValue(t,e[o.id],n)}}}const di=/(\\\\w+)(\\\\])?(\\\\[|\\\\.)?/g;function mi(t,e){t.seq.push(e),t.map[e.id]=e}function vi(t,e,n){const r=t.name,i=r.length;for(di.lastIndex=0;;){const o=di.exec(r),a=di.lastIndex;let s=o[1];const l=\\\"]\\\"===o[2],u=o[3];if(l&&(s|=0),void 0===u||\\\"[\\\"===u&&a+2===i){mi(n,void 0===u?new hi(s,t,e):new pi(s,t,e));break}{let t=n.map[s];void 0===t&&(t=new fi(s),mi(n,t)),n=t}}}class gi{constructor(t,e){this.seq=[],this.map={};const n=t.getProgramParameter(e,35718);for(let r=0;r<n;++r){const n=t.getActiveUniform(e,r);vi(n,t.getUniformLocation(e,n.name),this)}}setValue(t,e,n,r){const i=this.map[e];void 0!==i&&i.setValue(t,n,r)}setOptional(t,e,n){const r=e[n];void 0!==r&&this.setValue(t,n,r)}static upload(t,e,n,r){for(let i=0,o=e.length;i!==o;++i){const o=e[i],a=n[o.id];!1!==a.needsUpdate&&o.setValue(t,a.value,r)}}static seqWithValue(t,e){const n=[];for(let r=0,i=t.length;r!==i;++r){const i=t[r];i.id in e&&n.push(i)}return n}}function yi(t,e,n){const r=t.createShader(e);return t.shaderSource(r,n),t.compileShader(r),r}let _i=0;function bi(t,e,n){const r=t.getShaderParameter(e,35713),i=t.getShaderInfoLog(e).trim();if(r&&\\\"\\\"===i)return\\\"\\\";const o=/ERROR: 0:(\\\\d+)/.exec(i);if(o){const r=parseInt(o[1]);return n.toUpperCase()+\\\"\\\\n\\\\n\\\"+i+\\\"\\\\n\\\\n\\\"+function(t,e){const n=t.split(\\\"\\\\n\\\"),r=[],i=Math.max(e-6,0),o=Math.min(e+6,n.length);for(let t=i;t<o;t++){const i=t+1;r.push(`${i===e?\\\">\\\":\\\" \\\"} ${i}: ${n[t]}`)}return r.join(\\\"\\\\n\\\")}(t.getShaderSource(e),r)}return i}function xi(t,e){const n=function(t){switch(t){case O:return[\\\"Linear\\\",\\\"( value )\\\"];case I:return[\\\"sRGB\\\",\\\"( value )\\\"];default:return console.warn(\\\"THREE.WebGLProgram: Unsupported encoding:\\\",t),[\\\"Linear\\\",\\\"( value )\\\"]}}(e);return\\\"vec4 \\\"+t+\\\"( vec4 value ) { return LinearTo\\\"+n[0]+n[1]+\\\"; }\\\"}function wi(t,e){let n;switch(e){case 1:n=\\\"Linear\\\";break;case 2:n=\\\"Reinhard\\\";break;case 3:n=\\\"OptimizedCineon\\\";break;case 4:n=\\\"ACESFilmic\\\";break;case 5:n=\\\"Custom\\\";break;default:console.warn(\\\"THREE.WebGLProgram: Unsupported toneMapping:\\\",e),n=\\\"Linear\\\"}return\\\"vec3 \\\"+t+\\\"( vec3 color ) { return \\\"+n+\\\"ToneMapping( color ); }\\\"}function Ai(t){return\\\"\\\"!==t}function Ci(t,e){return t.replace(/NUM_DIR_LIGHTS/g,e.numDirLights).replace(/NUM_SPOT_LIGHTS/g,e.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g,e.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,e.numPointLights).replace(/NUM_HEMI_LIGHTS/g,e.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,e.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g,e.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,e.numPointLightShadows)}function Mi(t,e){return t.replace(/NUM_CLIPPING_PLANES/g,e.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,e.numClippingPlanes-e.numClipIntersection)}const Ei=/^[ \\\\t]*#include +<([\\\\w\\\\d./]+)>/gm;function Ti(t){return t.replace(Ei,Si)}function Si(t,e){const n=Dn[e];if(void 0===n)throw new Error(\\\"Can not resolve #include <\\\"+e+\\\">\\\");return Ti(n)}const ki=/#pragma unroll_loop[\\\\s]+?for \\\\( int i \\\\= (\\\\d+)\\\\; i < (\\\\d+)\\\\; i \\\\+\\\\+ \\\\) \\\\{([\\\\s\\\\S]+?)(?=\\\\})\\\\}/g,Oi=/#pragma unroll_loop_start\\\\s+for\\\\s*\\\\(\\\\s*int\\\\s+i\\\\s*=\\\\s*(\\\\d+)\\\\s*;\\\\s*i\\\\s*<\\\\s*(\\\\d+)\\\\s*;\\\\s*i\\\\s*\\\\+\\\\+\\\\s*\\\\)\\\\s*{([\\\\s\\\\S]+?)}\\\\s+#pragma unroll_loop_end/g;function Ii(t){return t.replace(Oi,Pi).replace(ki,Li)}function Li(t,e,n,r){return console.warn(\\\"WebGLProgram: #pragma unroll_loop shader syntax is deprecated. Please use #pragma unroll_loop_start syntax instead.\\\"),Pi(0,e,n,r)}function Pi(t,e,n,r){let i=\\\"\\\";for(let t=parseInt(e);t<parseInt(n);t++)i+=r.replace(/\\\\[\\\\s*i\\\\s*\\\\]/g,\\\"[ \\\"+t+\\\" ]\\\").replace(/UNROLLED_LOOP_INDEX/g,t);return i}function zi(t){let e=\\\"precision \\\"+t.precision+\\\" float;\\\\nprecision \\\"+t.precision+\\\" int;\\\";return\\\"highp\\\"===t.precision?e+=\\\"\\\\n#define HIGH_PRECISION\\\":\\\"mediump\\\"===t.precision?e+=\\\"\\\\n#define MEDIUM_PRECISION\\\":\\\"lowp\\\"===t.precision&&(e+=\\\"\\\\n#define LOW_PRECISION\\\"),e}function Ri(t,e,n,r){const i=t.getContext(),o=n.defines;let u=n.vertexShader,c=n.fragmentShader;const h=function(t){let e=\\\"SHADOWMAP_TYPE_BASIC\\\";return 1===t.shadowMapType?e=\\\"SHADOWMAP_TYPE_PCF\\\":2===t.shadowMapType?e=\\\"SHADOWMAP_TYPE_PCF_SOFT\\\":3===t.shadowMapType&&(e=\\\"SHADOWMAP_TYPE_VSM\\\"),e}(n),p=function(t){let e=\\\"ENVMAP_TYPE_CUBE\\\";if(t.envMap)switch(t.envMapMode){case a:case s:e=\\\"ENVMAP_TYPE_CUBE\\\";break;case l:e=\\\"ENVMAP_TYPE_CUBE_UV\\\"}return e}(n),f=function(t){let e=\\\"ENVMAP_MODE_REFLECTION\\\";return t.envMap&&t.envMapMode===s&&(e=\\\"ENVMAP_MODE_REFRACTION\\\"),e}(n),d=function(t){let e=\\\"ENVMAP_BLENDING_NONE\\\";if(t.envMap)switch(t.combine){case 0:e=\\\"ENVMAP_BLENDING_MULTIPLY\\\";break;case 1:e=\\\"ENVMAP_BLENDING_MIX\\\";break;case 2:e=\\\"ENVMAP_BLENDING_ADD\\\"}return e}(n),m=function(t){const e=t.envMapCubeUVHeight;if(null===e)return null;const n=Math.log2(e)-2,r=1/e;return{texelWidth:1/(3*Math.max(Math.pow(2,n),112)),texelHeight:r,maxMip:n}}(n),v=n.isWebGL2?\\\"\\\":function(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.tangentSpaceNormalMap||t.clearcoatNormalMap||t.flatShading||\\\"physical\\\"===t.shaderID?\\\"#extension GL_OES_standard_derivatives : enable\\\":\\\"\\\",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?\\\"#extension GL_EXT_frag_depth : enable\\\":\\\"\\\",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?\\\"#extension GL_EXT_draw_buffers : require\\\":\\\"\\\",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?\\\"#extension GL_EXT_shader_texture_lod : enable\\\":\\\"\\\"].filter(Ai).join(\\\"\\\\n\\\")}(n),g=function(t){const e=[];for(const n in t){const r=t[n];!1!==r&&e.push(\\\"#define \\\"+n+\\\" \\\"+r)}return e.join(\\\"\\\\n\\\")}(o),y=i.createProgram();let _,b,x=n.glslVersion?\\\"#version \\\"+n.glslVersion+\\\"\\\\n\\\":\\\"\\\";n.isRawShaderMaterial?(_=[g].filter(Ai).join(\\\"\\\\n\\\"),_.length>0&&(_+=\\\"\\\\n\\\"),b=[v,g].filter(Ai).join(\\\"\\\\n\\\"),b.length>0&&(b+=\\\"\\\\n\\\")):(_=[zi(n),\\\"#define SHADER_NAME \\\"+n.shaderName,g,n.instancing?\\\"#define USE_INSTANCING\\\":\\\"\\\",n.instancingColor?\\\"#define USE_INSTANCING_COLOR\\\":\\\"\\\",n.supportsVertexTextures?\\\"#define VERTEX_TEXTURES\\\":\\\"\\\",n.useFog&&n.fog?\\\"#define USE_FOG\\\":\\\"\\\",n.useFog&&n.fogExp2?\\\"#define FOG_EXP2\\\":\\\"\\\",n.map?\\\"#define USE_MAP\\\":\\\"\\\",n.envMap?\\\"#define USE_ENVMAP\\\":\\\"\\\",n.envMap?\\\"#define \\\"+f:\\\"\\\",n.lightMap?\\\"#define USE_LIGHTMAP\\\":\\\"\\\",n.aoMap?\\\"#define USE_AOMAP\\\":\\\"\\\",n.emissiveMap?\\\"#define USE_EMISSIVEMAP\\\":\\\"\\\",n.bumpMap?\\\"#define USE_BUMPMAP\\\":\\\"\\\",n.normalMap?\\\"#define USE_NORMALMAP\\\":\\\"\\\",n.normalMap&&n.objectSpaceNormalMap?\\\"#define OBJECTSPACE_NORMALMAP\\\":\\\"\\\",n.normalMap&&n.tangentSpaceNormalMap?\\\"#define TANGENTSPACE_NORMALMAP\\\":\\\"\\\",n.clearcoatMap?\\\"#define USE_CLEARCOATMAP\\\":\\\"\\\",n.clearcoatRoughnessMap?\\\"#define USE_CLEARCOAT_ROUGHNESSMAP\\\":\\\"\\\",n.clearcoatNormalMap?\\\"#define USE_CLEARCOAT_NORMALMAP\\\":\\\"\\\",n.iridescenceMap?\\\"#define USE_IRIDESCENCEMAP\\\":\\\"\\\",n.iridescenceThicknessMap?\\\"#define USE_IRIDESCENCE_THICKNESSMAP\\\":\\\"\\\",n.displacementMap&&n.supportsVertexTextures?\\\"#define USE_DISPLACEMENTMAP\\\":\\\"\\\",n.specularMap?\\\"#define USE_SPECULARMAP\\\":\\\"\\\",n.specularIntensityMap?\\\"#define USE_SPECULARINTENSITYMAP\\\":\\\"\\\",n.specularColorMap?\\\"#define USE_SPECULARCOLORMAP\\\":\\\"\\\",n.roughnessMap?\\\"#define USE_ROUGHNESSMAP\\\":\\\"\\\",n.metalnessMap?\\\"#define USE_METALNESSMAP\\\":\\\"\\\",n.alphaMap?\\\"#define USE_ALPHAMAP\\\":\\\"\\\",n.transmission?\\\"#define USE_TRANSMISSION\\\":\\\"\\\",n.transmissionMap?\\\"#define USE_TRANSMISSIONMAP\\\":\\\"\\\",n.thicknessMap?\\\"#define USE_THICKNESSMAP\\\":\\\"\\\",n.sheenColorMap?\\\"#define USE_SHEENCOLORMAP\\\":\\\"\\\",n.sheenRoughnessMap?\\\"#define USE_SHEENROUGHNESSMAP\\\":\\\"\\\",n.vertexTangents?\\\"#define USE_TANGENT\\\":\\\"\\\",n.vertexColors?\\\"#define USE_COLOR\\\":\\\"\\\",n.vertexAlphas?\\\"#define USE_COLOR_ALPHA\\\":\\\"\\\",n.vertexUvs?\\\"#define USE_UV\\\":\\\"\\\",n.uvsVertexOnly?\\\"#define UVS_VERTEX_ONLY\\\":\\\"\\\",n.flatShading?\\\"#define FLAT_SHADED\\\":\\\"\\\",n.skinning?\\\"#define USE_SKINNING\\\":\\\"\\\",n.morphTargets?\\\"#define USE_MORPHTARGETS\\\":\\\"\\\",n.morphNormals&&!1===n.flatShading?\\\"#define USE_MORPHNORMALS\\\":\\\"\\\",n.morphColors&&n.isWebGL2?\\\"#define USE_MORPHCOLORS\\\":\\\"\\\",n.morphTargetsCount>0&&n.isWebGL2?\\\"#define MORPHTARGETS_TEXTURE\\\":\\\"\\\",n.morphTargetsCount>0&&n.isWebGL2?\\\"#define MORPHTARGETS_TEXTURE_STRIDE \\\"+n.morphTextureStride:\\\"\\\",n.morphTargetsCount>0&&n.isWebGL2?\\\"#define MORPHTARGETS_COUNT \\\"+n.morphTargetsCount:\\\"\\\",n.doubleSided?\\\"#define DOUBLE_SIDED\\\":\\\"\\\",n.flipSided?\\\"#define FLIP_SIDED\\\":\\\"\\\",n.shadowMapEnabled?\\\"#define USE_SHADOWMAP\\\":\\\"\\\",n.shadowMapEnabled?\\\"#define \\\"+h:\\\"\\\",n.sizeAttenuation?\\\"#define USE_SIZEATTENUATION\\\":\\\"\\\",n.logarithmicDepthBuffer?\\\"#define USE_LOGDEPTHBUF\\\":\\\"\\\",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?\\\"#define USE_LOGDEPTHBUF_EXT\\\":\\\"\\\",\\\"uniform mat4 modelMatrix;\\\",\\\"uniform mat4 modelViewMatrix;\\\",\\\"uniform mat4 projectionMatrix;\\\",\\\"uniform mat4 viewMatrix;\\\",\\\"uniform mat3 normalMatrix;\\\",\\\"uniform vec3 cameraPosition;\\\",\\\"uniform bool isOrthographic;\\\",\\\"#ifdef USE_INSTANCING\\\",\\\"\\\\tattribute mat4 instanceMatrix;\\\",\\\"#endif\\\",\\\"#ifdef USE_INSTANCING_COLOR\\\",\\\"\\\\tattribute vec3 instanceColor;\\\",\\\"#endif\\\",\\\"attribute vec3 position;\\\",\\\"attribute vec3 normal;\\\",\\\"attribute vec2 uv;\\\",\\\"#ifdef USE_TANGENT\\\",\\\"\\\\tattribute vec4 tangent;\\\",\\\"#endif\\\",\\\"#if defined( USE_COLOR_ALPHA )\\\",\\\"\\\\tattribute vec4 color;\\\",\\\"#elif defined( USE_COLOR )\\\",\\\"\\\\tattribute vec3 color;\\\",\\\"#endif\\\",\\\"#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )\\\",\\\"\\\\tattribute vec3 morphTarget0;\\\",\\\"\\\\tattribute vec3 morphTarget1;\\\",\\\"\\\\tattribute vec3 morphTarget2;\\\",\\\"\\\\tattribute vec3 morphTarget3;\\\",\\\"\\\\t#ifdef USE_MORPHNORMALS\\\",\\\"\\\\t\\\\tattribute vec3 morphNormal0;\\\",\\\"\\\\t\\\\tattribute vec3 morphNormal1;\\\",\\\"\\\\t\\\\tattribute vec3 morphNormal2;\\\",\\\"\\\\t\\\\tattribute vec3 morphNormal3;\\\",\\\"\\\\t#else\\\",\\\"\\\\t\\\\tattribute vec3 morphTarget4;\\\",\\\"\\\\t\\\\tattribute vec3 morphTarget5;\\\",\\\"\\\\t\\\\tattribute vec3 morphTarget6;\\\",\\\"\\\\t\\\\tattribute vec3 morphTarget7;\\\",\\\"\\\\t#endif\\\",\\\"#endif\\\",\\\"#ifdef USE_SKINNING\\\",\\\"\\\\tattribute vec4 skinIndex;\\\",\\\"\\\\tattribute vec4 skinWeight;\\\",\\\"#endif\\\",\\\"\\\\n\\\"].filter(Ai).join(\\\"\\\\n\\\"),b=[v,zi(n),\\\"#define SHADER_NAME \\\"+n.shaderName,g,n.useFog&&n.fog?\\\"#define USE_FOG\\\":\\\"\\\",n.useFog&&n.fogExp2?\\\"#define FOG_EXP2\\\":\\\"\\\",n.map?\\\"#define USE_MAP\\\":\\\"\\\",n.matcap?\\\"#define USE_MATCAP\\\":\\\"\\\",n.envMap?\\\"#define USE_ENVMAP\\\":\\\"\\\",n.envMap?\\\"#define \\\"+p:\\\"\\\",n.envMap?\\\"#define \\\"+f:\\\"\\\",n.envMap?\\\"#define \\\"+d:\\\"\\\",m?\\\"#define CUBEUV_TEXEL_WIDTH \\\"+m.texelWidth:\\\"\\\",m?\\\"#define CUBEUV_TEXEL_HEIGHT \\\"+m.texelHeight:\\\"\\\",m?\\\"#define CUBEUV_MAX_MIP \\\"+m.maxMip+\\\".0\\\":\\\"\\\",n.lightMap?\\\"#define USE_LIGHTMAP\\\":\\\"\\\",n.aoMap?\\\"#define USE_AOMAP\\\":\\\"\\\",n.emissiveMap?\\\"#define USE_EMISSIVEMAP\\\":\\\"\\\",n.bumpMap?\\\"#define USE_BUMPMAP\\\":\\\"\\\",n.normalMap?\\\"#define USE_NORMALMAP\\\":\\\"\\\",n.normalMap&&n.objectSpaceNormalMap?\\\"#define OBJECTSPACE_NORMALMAP\\\":\\\"\\\",n.normalMap&&n.tangentSpaceNormalMap?\\\"#define TANGENTSPACE_NORMALMAP\\\":\\\"\\\",n.clearcoat?\\\"#define USE_CLEARCOAT\\\":\\\"\\\",n.clearcoatMap?\\\"#define USE_CLEARCOATMAP\\\":\\\"\\\",n.clearcoatRoughnessMap?\\\"#define USE_CLEARCOAT_ROUGHNESSMAP\\\":\\\"\\\",n.clearcoatNormalMap?\\\"#define USE_CLEARCOAT_NORMALMAP\\\":\\\"\\\",n.iridescence?\\\"#define USE_IRIDESCENCE\\\":\\\"\\\",n.iridescenceMap?\\\"#define USE_IRIDESCENCEMAP\\\":\\\"\\\",n.iridescenceThicknessMap?\\\"#define USE_IRIDESCENCE_THICKNESSMAP\\\":\\\"\\\",n.specularMap?\\\"#define USE_SPECULARMAP\\\":\\\"\\\",n.specularIntensityMap?\\\"#define USE_SPECULARINTENSITYMAP\\\":\\\"\\\",n.specularColorMap?\\\"#define USE_SPECULARCOLORMAP\\\":\\\"\\\",n.roughnessMap?\\\"#define USE_ROUGHNESSMAP\\\":\\\"\\\",n.metalnessMap?\\\"#define USE_METALNESSMAP\\\":\\\"\\\",n.alphaMap?\\\"#define USE_ALPHAMAP\\\":\\\"\\\",n.alphaTest?\\\"#define USE_ALPHATEST\\\":\\\"\\\",n.sheen?\\\"#define USE_SHEEN\\\":\\\"\\\",n.sheenColorMap?\\\"#define USE_SHEENCOLORMAP\\\":\\\"\\\",n.sheenRoughnessMap?\\\"#define USE_SHEENROUGHNESSMAP\\\":\\\"\\\",n.transmission?\\\"#define USE_TRANSMISSION\\\":\\\"\\\",n.transmissionMap?\\\"#define USE_TRANSMISSIONMAP\\\":\\\"\\\",n.thicknessMap?\\\"#define USE_THICKNESSMAP\\\":\\\"\\\",n.decodeVideoTexture?\\\"#define DECODE_VIDEO_TEXTURE\\\":\\\"\\\",n.vertexTangents?\\\"#define USE_TANGENT\\\":\\\"\\\",n.vertexColors||n.instancingColor?\\\"#define USE_COLOR\\\":\\\"\\\",n.vertexAlphas?\\\"#define USE_COLOR_ALPHA\\\":\\\"\\\",n.vertexUvs?\\\"#define USE_UV\\\":\\\"\\\",n.uvsVertexOnly?\\\"#define UVS_VERTEX_ONLY\\\":\\\"\\\",n.gradientMap?\\\"#define USE_GRADIENTMAP\\\":\\\"\\\",n.flatShading?\\\"#define FLAT_SHADED\\\":\\\"\\\",n.doubleSided?\\\"#define DOUBLE_SIDED\\\":\\\"\\\",n.flipSided?\\\"#define FLIP_SIDED\\\":\\\"\\\",n.shadowMapEnabled?\\\"#define USE_SHADOWMAP\\\":\\\"\\\",n.shadowMapEnabled?\\\"#define \\\"+h:\\\"\\\",n.premultipliedAlpha?\\\"#define PREMULTIPLIED_ALPHA\\\":\\\"\\\",n.physicallyCorrectLights?\\\"#define PHYSICALLY_CORRECT_LIGHTS\\\":\\\"\\\",n.logarithmicDepthBuffer?\\\"#define USE_LOGDEPTHBUF\\\":\\\"\\\",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?\\\"#define USE_LOGDEPTHBUF_EXT\\\":\\\"\\\",\\\"uniform mat4 viewMatrix;\\\",\\\"uniform vec3 cameraPosition;\\\",\\\"uniform bool isOrthographic;\\\",0!==n.toneMapping?\\\"#define TONE_MAPPING\\\":\\\"\\\",0!==n.toneMapping?Dn.tonemapping_pars_fragment:\\\"\\\",0!==n.toneMapping?wi(\\\"toneMapping\\\",n.toneMapping):\\\"\\\",n.dithering?\\\"#define DITHERING\\\":\\\"\\\",n.opaque?\\\"#define OPAQUE\\\":\\\"\\\",Dn.encodings_pars_fragment,xi(\\\"linearToOutputTexel\\\",n.outputEncoding),n.useDepthPacking?\\\"#define DEPTH_PACKING \\\"+n.depthPacking:\\\"\\\",\\\"\\\\n\\\"].filter(Ai).join(\\\"\\\\n\\\")),u=Ti(u),u=Ci(u,n),u=Mi(u,n),c=Ti(c),c=Ci(c,n),c=Mi(c,n),u=Ii(u),c=Ii(c),n.isWebGL2&&!0!==n.isRawShaderMaterial&&(x=\\\"#version 300 es\\\\n\\\",_=[\\\"precision mediump sampler2DArray;\\\",\\\"#define attribute in\\\",\\\"#define varying out\\\",\\\"#define texture2D texture\\\"].join(\\\"\\\\n\\\")+\\\"\\\\n\\\"+_,b=[\\\"#define varying in\\\",n.glslVersion===R?\\\"\\\":\\\"layout(location = 0) out highp vec4 pc_fragColor;\\\",n.glslVersion===R?\\\"\\\":\\\"#define gl_FragColor pc_fragColor\\\",\\\"#define gl_FragDepthEXT gl_FragDepth\\\",\\\"#define texture2D texture\\\",\\\"#define textureCube texture\\\",\\\"#define texture2DProj textureProj\\\",\\\"#define texture2DLodEXT textureLod\\\",\\\"#define texture2DProjLodEXT textureProjLod\\\",\\\"#define textureCubeLodEXT textureLod\\\",\\\"#define texture2DGradEXT textureGrad\\\",\\\"#define texture2DProjGradEXT textureProjGrad\\\",\\\"#define textureCubeGradEXT textureGrad\\\"].join(\\\"\\\\n\\\")+\\\"\\\\n\\\"+b);const w=x+b+c,A=yi(i,35633,x+_+u),C=yi(i,35632,w);if(i.attachShader(y,A),i.attachShader(y,C),void 0!==n.index0AttributeName?i.bindAttribLocation(y,0,n.index0AttributeName):!0===n.morphTargets&&i.bindAttribLocation(y,0,\\\"position\\\"),i.linkProgram(y),t.debug.checkShaderErrors){const t=i.getProgramInfoLog(y).trim(),e=i.getShaderInfoLog(A).trim(),n=i.getShaderInfoLog(C).trim();let r=!0,o=!0;if(!1===i.getProgramParameter(y,35714)){r=!1;const e=bi(i,A,\\\"vertex\\\"),n=bi(i,C,\\\"fragment\\\");console.error(\\\"THREE.WebGLProgram: Shader Error \\\"+i.getError()+\\\" - VALIDATE_STATUS \\\"+i.getProgramParameter(y,35715)+\\\"\\\\n\\\\nProgram Info Log: \\\"+t+\\\"\\\\n\\\"+e+\\\"\\\\n\\\"+n)}else\\\"\\\"!==t?console.warn(\\\"THREE.WebGLProgram: Program Info Log:\\\",t):\\\"\\\"!==e&&\\\"\\\"!==n||(o=!1);o&&(this.diagnostics={runnable:r,programLog:t,vertexShader:{log:e,prefix:_},fragmentShader:{log:n,prefix:b}})}let M,E;return i.deleteShader(A),i.deleteShader(C),this.getUniforms=function(){return void 0===M&&(M=new gi(i,y)),M},this.getAttributes=function(){return void 0===E&&(E=function(t,e){const n={},r=t.getProgramParameter(e,35721);for(let i=0;i<r;i++){const r=t.getActiveAttrib(e,i),o=r.name;let a=1;35674===r.type&&(a=2),35675===r.type&&(a=3),35676===r.type&&(a=4),n[o]={type:r.type,location:t.getAttribLocation(e,o),locationSize:a}}return n}(i,y)),E},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(y),this.program=void 0},this.name=n.shaderName,this.id=_i++,this.cacheKey=e,this.usedTimes=1,this.program=y,this.vertexShader=A,this.fragmentShader=C,this}let Di=0;class $i{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(t){const e=t.vertexShader,n=t.fragmentShader,r=this._getShaderStage(e),i=this._getShaderStage(n),o=this._getShaderCacheForMaterial(t);return!1===o.has(r)&&(o.add(r),r.usedTimes++),!1===o.has(i)&&(o.add(i),i.usedTimes++),this}remove(t){const e=this.materialCache.get(t);for(const t of e)t.usedTimes--,0===t.usedTimes&&this.shaderCache.delete(t.code);return this.materialCache.delete(t),this}getVertexShaderID(t){return this._getShaderStage(t.vertexShader).id}getFragmentShaderID(t){return this._getShaderStage(t.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(t){const e=this.materialCache;return!1===e.has(t)&&e.set(t,new Set),e.get(t)}_getShaderStage(t){const e=this.shaderCache;if(!1===e.has(t)){const n=new Bi(t);e.set(t,n)}return e.get(t)}}class Bi{constructor(t){this.id=Di++,this.code=t,this.usedTimes=0}}function Ni(t,e,n,r,i,o,a){const s=new ae,u=new $i,c=[],h=i.isWebGL2,p=i.logarithmicDepthBuffer,f=i.vertexTextures;let d=i.precision;const m={MeshDepthMaterial:\\\"depth\\\",MeshDistanceMaterial:\\\"distanceRGBA\\\",MeshNormalMaterial:\\\"normal\\\",MeshBasicMaterial:\\\"basic\\\",MeshLambertMaterial:\\\"lambert\\\",MeshPhongMaterial:\\\"phong\\\",MeshToonMaterial:\\\"toon\\\",MeshStandardMaterial:\\\"physical\\\",MeshPhysicalMaterial:\\\"physical\\\",MeshMatcapMaterial:\\\"matcap\\\",LineBasicMaterial:\\\"basic\\\",LineDashedMaterial:\\\"dashed\\\",PointsMaterial:\\\"points\\\",ShadowMaterial:\\\"shadow\\\",SpriteMaterial:\\\"sprite\\\"};return{getParameters:function(o,s,c,v,g){const y=v.fog,_=g.geometry,b=o.isMeshStandardMaterial?v.environment:null,x=(o.isMeshStandardMaterial?n:e).get(o.envMap||b),w=x&&x.mapping===l?x.image.height:null,A=m[o.type];null!==o.precision&&(d=i.getMaxPrecision(o.precision),d!==o.precision&&console.warn(\\\"THREE.WebGLProgram.getParameters:\\\",o.precision,\\\"not supported, using\\\",d,\\\"instead.\\\"));const C=_.morphAttributes.position||_.morphAttributes.normal||_.morphAttributes.color,M=void 0!==C?C.length:0;let E,T,S,k,L=0;if(void 0!==_.morphAttributes.position&&(L=1),void 0!==_.morphAttributes.normal&&(L=2),void 0!==_.morphAttributes.color&&(L=3),A){const t=Bn[A];E=t.vertexShader,T=t.fragmentShader}else E=o.vertexShader,T=o.fragmentShader,u.update(o),S=u.getVertexShaderID(o),k=u.getFragmentShaderID(o);const P=t.getRenderTarget(),z=o.alphaTest>0,R=o.clearcoat>0,D=o.iridescence>0;return{isWebGL2:h,shaderID:A,shaderName:o.type,vertexShader:E,fragmentShader:T,defines:o.defines,customVertexShaderID:S,customFragmentShaderID:k,isRawShaderMaterial:!0===o.isRawShaderMaterial,glslVersion:o.glslVersion,precision:d,instancing:!0===g.isInstancedMesh,instancingColor:!0===g.isInstancedMesh&&null!==g.instanceColor,supportsVertexTextures:f,outputEncoding:null===P?t.outputEncoding:!0===P.isXRRenderTarget?P.texture.encoding:O,map:!!o.map,matcap:!!o.matcap,envMap:!!x,envMapMode:x&&x.mapping,envMapCubeUVHeight:w,lightMap:!!o.lightMap,aoMap:!!o.aoMap,emissiveMap:!!o.emissiveMap,bumpMap:!!o.bumpMap,normalMap:!!o.normalMap,objectSpaceNormalMap:1===o.normalMapType,tangentSpaceNormalMap:0===o.normalMapType,decodeVideoTexture:!!o.map&&!0===o.map.isVideoTexture&&o.map.encoding===I,clearcoat:R,clearcoatMap:R&&!!o.clearcoatMap,clearcoatRoughnessMap:R&&!!o.clearcoatRoughnessMap,clearcoatNormalMap:R&&!!o.clearcoatNormalMap,iridescence:D,iridescenceMap:D&&!!o.iridescenceMap,iridescenceThicknessMap:D&&!!o.iridescenceThicknessMap,displacementMap:!!o.displacementMap,roughnessMap:!!o.roughnessMap,metalnessMap:!!o.metalnessMap,specularMap:!!o.specularMap,specularIntensityMap:!!o.specularIntensityMap,specularColorMap:!!o.specularColorMap,opaque:!1===o.transparent&&1===o.blending,alphaMap:!!o.alphaMap,alphaTest:z,gradientMap:!!o.gradientMap,sheen:o.sheen>0,sheenColorMap:!!o.sheenColorMap,sheenRoughnessMap:!!o.sheenRoughnessMap,transmission:o.transmission>0,transmissionMap:!!o.transmissionMap,thicknessMap:!!o.thicknessMap,combine:o.combine,vertexTangents:!!o.normalMap&&!!_.attributes.tangent,vertexColors:o.vertexColors,vertexAlphas:!0===o.vertexColors&&!!_.attributes.color&&4===_.attributes.color.itemSize,vertexUvs:!!(o.map||o.bumpMap||o.normalMap||o.specularMap||o.alphaMap||o.emissiveMap||o.roughnessMap||o.metalnessMap||o.clearcoatMap||o.clearcoatRoughnessMap||o.clearcoatNormalMap||o.iridescenceMap||o.iridescenceThicknessMap||o.displacementMap||o.transmissionMap||o.thicknessMap||o.specularIntensityMap||o.specularColorMap||o.sheenColorMap||o.sheenRoughnessMap),uvsVertexOnly:!(o.map||o.bumpMap||o.normalMap||o.specularMap||o.alphaMap||o.emissiveMap||o.roughnessMap||o.metalnessMap||o.clearcoatNormalMap||o.iridescenceMap||o.iridescenceThicknessMap||o.transmission>0||o.transmissionMap||o.thicknessMap||o.specularIntensityMap||o.specularColorMap||o.sheen>0||o.sheenColorMap||o.sheenRoughnessMap||!o.displacementMap),fog:!!y,useFog:!0===o.fog,fogExp2:y&&y.isFogExp2,flatShading:!!o.flatShading,sizeAttenuation:o.sizeAttenuation,logarithmicDepthBuffer:p,skinning:!0===g.isSkinnedMesh,morphTargets:void 0!==_.morphAttributes.position,morphNormals:void 0!==_.morphAttributes.normal,morphColors:void 0!==_.morphAttributes.color,morphTargetsCount:M,morphTextureStride:L,numDirLights:s.directional.length,numPointLights:s.point.length,numSpotLights:s.spot.length,numRectAreaLights:s.rectArea.length,numHemiLights:s.hemi.length,numDirLightShadows:s.directionalShadowMap.length,numPointLightShadows:s.pointShadowMap.length,numSpotLightShadows:s.spotShadowMap.length,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:o.dithering,shadowMapEnabled:t.shadowMap.enabled&&c.length>0,shadowMapType:t.shadowMap.type,toneMapping:o.toneMapped?t.toneMapping:0,physicallyCorrectLights:t.physicallyCorrectLights,premultipliedAlpha:o.premultipliedAlpha,doubleSided:2===o.side,flipSided:1===o.side,useDepthPacking:!!o.depthPacking,depthPacking:o.depthPacking||0,index0AttributeName:o.index0AttributeName,extensionDerivatives:o.extensions&&o.extensions.derivatives,extensionFragDepth:o.extensions&&o.extensions.fragDepth,extensionDrawBuffers:o.extensions&&o.extensions.drawBuffers,extensionShaderTextureLOD:o.extensions&&o.extensions.shaderTextureLOD,rendererExtensionFragDepth:h||r.has(\\\"EXT_frag_depth\\\"),rendererExtensionDrawBuffers:h||r.has(\\\"WEBGL_draw_buffers\\\"),rendererExtensionShaderTextureLod:h||r.has(\\\"EXT_shader_texture_lod\\\"),customProgramCacheKey:o.customProgramCacheKey()}},getProgramCacheKey:function(e){const n=[];if(e.shaderID?n.push(e.shaderID):(n.push(e.customVertexShaderID),n.push(e.customFragmentShaderID)),void 0!==e.defines)for(const t in e.defines)n.push(t),n.push(e.defines[t]);return!1===e.isRawShaderMaterial&&(function(t,e){t.push(e.precision),t.push(e.outputEncoding),t.push(e.envMapMode),t.push(e.envMapCubeUVHeight),t.push(e.combine),t.push(e.vertexUvs),t.push(e.fogExp2),t.push(e.sizeAttenuation),t.push(e.morphTargetsCount),t.push(e.morphAttributeCount),t.push(e.numDirLights),t.push(e.numPointLights),t.push(e.numSpotLights),t.push(e.numHemiLights),t.push(e.numRectAreaLights),t.push(e.numDirLightShadows),t.push(e.numPointLightShadows),t.push(e.numSpotLightShadows),t.push(e.shadowMapType),t.push(e.toneMapping),t.push(e.numClippingPlanes),t.push(e.numClipIntersection),t.push(e.depthPacking)}(n,e),function(t,e){s.disableAll(),e.isWebGL2&&s.enable(0),e.supportsVertexTextures&&s.enable(1),e.instancing&&s.enable(2),e.instancingColor&&s.enable(3),e.map&&s.enable(4),e.matcap&&s.enable(5),e.envMap&&s.enable(6),e.lightMap&&s.enable(7),e.aoMap&&s.enable(8),e.emissiveMap&&s.enable(9),e.bumpMap&&s.enable(10),e.normalMap&&s.enable(11),e.objectSpaceNormalMap&&s.enable(12),e.tangentSpaceNormalMap&&s.enable(13),e.clearcoat&&s.enable(14),e.clearcoatMap&&s.enable(15),e.clearcoatRoughnessMap&&s.enable(16),e.clearcoatNormalMap&&s.enable(17),e.iridescence&&s.enable(18),e.iridescenceMap&&s.enable(19),e.iridescenceThicknessMap&&s.enable(20),e.displacementMap&&s.enable(21),e.specularMap&&s.enable(22),e.roughnessMap&&s.enable(23),e.metalnessMap&&s.enable(24),e.gradientMap&&s.enable(25),e.alphaMap&&s.enable(26),e.alphaTest&&s.enable(27),e.vertexColors&&s.enable(28),e.vertexAlphas&&s.enable(29),e.vertexUvs&&s.enable(30),e.vertexTangents&&s.enable(31),e.uvsVertexOnly&&s.enable(32),e.fog&&s.enable(33),t.push(s.mask),s.disableAll(),e.useFog&&s.enable(0),e.flatShading&&s.enable(1),e.logarithmicDepthBuffer&&s.enable(2),e.skinning&&s.enable(3),e.morphTargets&&s.enable(4),e.morphNormals&&s.enable(5),e.morphColors&&s.enable(6),e.premultipliedAlpha&&s.enable(7),e.shadowMapEnabled&&s.enable(8),e.physicallyCorrectLights&&s.enable(9),e.doubleSided&&s.enable(10),e.flipSided&&s.enable(11),e.useDepthPacking&&s.enable(12),e.dithering&&s.enable(13),e.specularIntensityMap&&s.enable(14),e.specularColorMap&&s.enable(15),e.transmission&&s.enable(16),e.transmissionMap&&s.enable(17),e.thicknessMap&&s.enable(18),e.sheen&&s.enable(19),e.sheenColorMap&&s.enable(20),e.sheenRoughnessMap&&s.enable(21),e.decodeVideoTexture&&s.enable(22),e.opaque&&s.enable(23),t.push(s.mask)}(n,e),n.push(t.outputEncoding)),n.push(e.customProgramCacheKey),n.join()},getUniforms:function(t){const e=m[t.type];let n;if(e){const t=Bn[e];n=yn.clone(t.uniforms)}else n=t.uniforms;return n},acquireProgram:function(e,n){let r;for(let t=0,e=c.length;t<e;t++){const e=c[t];if(e.cacheKey===n){r=e,++r.usedTimes;break}}return void 0===r&&(r=new Ri(t,n,e,o),c.push(r)),r},releaseProgram:function(t){if(0==--t.usedTimes){const e=c.indexOf(t);c[e]=c[c.length-1],c.pop(),t.destroy()}},releaseShaderCache:function(t){u.remove(t)},programs:c,dispose:function(){u.dispose()}}}function Fi(){let t=new WeakMap;return{get:function(e){let n=t.get(e);return void 0===n&&(n={},t.set(e,n)),n},remove:function(e){t.delete(e)},update:function(e,n,r){t.get(e)[n]=r},dispose:function(){t=new WeakMap}}}function ji(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.material.id!==e.material.id?t.material.id-e.material.id:t.z!==e.z?t.z-e.z:t.id-e.id}function Ui(t,e){return t.groupOrder!==e.groupOrder?t.groupOrder-e.groupOrder:t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.z!==e.z?e.z-t.z:t.id-e.id}function qi(){const t=[];let e=0;const n=[],r=[],i=[];function o(n,r,i,o,a,s){let l=t[e];return void 0===l?(l={id:n.id,object:n,geometry:r,material:i,groupOrder:o,renderOrder:n.renderOrder,z:a,group:s},t[e]=l):(l.id=n.id,l.object=n,l.geometry=r,l.material=i,l.groupOrder=o,l.renderOrder=n.renderOrder,l.z=a,l.group=s),e++,l}return{opaque:n,transmissive:r,transparent:i,init:function(){e=0,n.length=0,r.length=0,i.length=0},push:function(t,e,a,s,l,u){const c=o(t,e,a,s,l,u);a.transmission>0?r.push(c):!0===a.transparent?i.push(c):n.push(c)},unshift:function(t,e,a,s,l,u){const c=o(t,e,a,s,l,u);a.transmission>0?r.unshift(c):!0===a.transparent?i.unshift(c):n.unshift(c)},finish:function(){for(let n=e,r=t.length;n<r;n++){const e=t[n];if(null===e.id)break;e.id=null,e.object=null,e.geometry=null,e.material=null,e.group=null}},sort:function(t,e){n.length>1&&n.sort(t||ji),r.length>1&&r.sort(e||Ui),i.length>1&&i.sort(e||Ui)}}}function Vi(){let t=new WeakMap;return{get:function(e,n){let r;return!1===t.has(e)?(r=new qi,t.set(e,[r])):n>=t.get(e).length?(r=new qi,t.get(e).push(r)):r=t.get(e)[n],r},dispose:function(){t=new WeakMap}}}function Hi(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case\\\"DirectionalLight\\\":n={direction:new yt,color:new at};break;case\\\"SpotLight\\\":n={position:new yt,direction:new yt,color:new at,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case\\\"PointLight\\\":n={position:new yt,color:new at,distance:0,decay:0};break;case\\\"HemisphereLight\\\":n={direction:new yt,skyColor:new at,groundColor:new at};break;case\\\"RectAreaLight\\\":n={color:new at,position:new yt,halfWidth:new yt,halfHeight:new yt}}return t[e.id]=n,n}}}let Gi=0;function Wi(t,e){return(e.castShadow?1:0)-(t.castShadow?1:0)}function Xi(t,e){const n=new Hi,r=function(){const t={};return{get:function(e){if(void 0!==t[e.id])return t[e.id];let n;switch(e.type){case\\\"DirectionalLight\\\":case\\\"SpotLight\\\":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new G};break;case\\\"PointLight\\\":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new G,shadowCameraNear:1,shadowCameraFar:1e3}}return t[e.id]=n,n}}}(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotShadow:[],spotShadowMap:[],spotShadowMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[]};for(let t=0;t<9;t++)i.probe.push(new yt);const o=new yt,a=new Yt,s=new Yt;return{setup:function(o,a){let s=0,l=0,u=0;for(let t=0;t<9;t++)i.probe[t].set(0,0,0);let c=0,h=0,p=0,f=0,d=0,m=0,v=0,g=0;o.sort(Wi);const y=!0!==a?Math.PI:1;for(let t=0,e=o.length;t<e;t++){const e=o[t],a=e.color,_=e.intensity,b=e.distance,x=e.shadow&&e.shadow.map?e.shadow.map.texture:null;if(e.isAmbientLight)s+=a.r*_*y,l+=a.g*_*y,u+=a.b*_*y;else if(e.isLightProbe)for(let t=0;t<9;t++)i.probe[t].addScaledVector(e.sh.coefficients[t],_);else if(e.isDirectionalLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*y),e.castShadow){const t=e.shadow,n=r.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,i.directionalShadow[c]=n,i.directionalShadowMap[c]=x,i.directionalShadowMatrix[c]=e.shadow.matrix,m++}i.directional[c]=t,c++}else if(e.isSpotLight){const t=n.get(e);if(t.position.setFromMatrixPosition(e.matrixWorld),t.color.copy(a).multiplyScalar(_*y),t.distance=b,t.coneCos=Math.cos(e.angle),t.penumbraCos=Math.cos(e.angle*(1-e.penumbra)),t.decay=e.decay,e.castShadow){const t=e.shadow,n=r.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,i.spotShadow[p]=n,i.spotShadowMap[p]=x,i.spotShadowMatrix[p]=e.shadow.matrix,g++}i.spot[p]=t,p++}else if(e.isRectAreaLight){const t=n.get(e);t.color.copy(a).multiplyScalar(_),t.halfWidth.set(.5*e.width,0,0),t.halfHeight.set(0,.5*e.height,0),i.rectArea[f]=t,f++}else if(e.isPointLight){const t=n.get(e);if(t.color.copy(e.color).multiplyScalar(e.intensity*y),t.distance=e.distance,t.decay=e.decay,e.castShadow){const t=e.shadow,n=r.get(e);n.shadowBias=t.bias,n.shadowNormalBias=t.normalBias,n.shadowRadius=t.radius,n.shadowMapSize=t.mapSize,n.shadowCameraNear=t.camera.near,n.shadowCameraFar=t.camera.far,i.pointShadow[h]=n,i.pointShadowMap[h]=x,i.pointShadowMatrix[h]=e.shadow.matrix,v++}i.point[h]=t,h++}else if(e.isHemisphereLight){const t=n.get(e);t.skyColor.copy(e.color).multiplyScalar(_*y),t.groundColor.copy(e.groundColor).multiplyScalar(_*y),i.hemi[d]=t,d++}}f>0&&(e.isWebGL2||!0===t.has(\\\"OES_texture_float_linear\\\")?(i.rectAreaLTC1=$n.LTC_FLOAT_1,i.rectAreaLTC2=$n.LTC_FLOAT_2):!0===t.has(\\\"OES_texture_half_float_linear\\\")?(i.rectAreaLTC1=$n.LTC_HALF_1,i.rectAreaLTC2=$n.LTC_HALF_2):console.error(\\\"THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.\\\")),i.ambient[0]=s,i.ambient[1]=l,i.ambient[2]=u;const _=i.hash;_.directionalLength===c&&_.pointLength===h&&_.spotLength===p&&_.rectAreaLength===f&&_.hemiLength===d&&_.numDirectionalShadows===m&&_.numPointShadows===v&&_.numSpotShadows===g||(i.directional.length=c,i.spot.length=p,i.rectArea.length=f,i.point.length=h,i.hemi.length=d,i.directionalShadow.length=m,i.directionalShadowMap.length=m,i.pointShadow.length=v,i.pointShadowMap.length=v,i.spotShadow.length=g,i.spotShadowMap.length=g,i.directionalShadowMatrix.length=m,i.pointShadowMatrix.length=v,i.spotShadowMatrix.length=g,_.directionalLength=c,_.pointLength=h,_.spotLength=p,_.rectAreaLength=f,_.hemiLength=d,_.numDirectionalShadows=m,_.numPointShadows=v,_.numSpotShadows=g,i.version=Gi++)},setupView:function(t,e){let n=0,r=0,l=0,u=0,c=0;const h=e.matrixWorldInverse;for(let e=0,p=t.length;e<p;e++){const p=t[e];if(p.isDirectionalLight){const t=i.directional[n];t.direction.setFromMatrixPosition(p.matrixWorld),o.setFromMatrixPosition(p.target.matrixWorld),t.direction.sub(o),t.direction.transformDirection(h),n++}else if(p.isSpotLight){const t=i.spot[l];t.position.setFromMatrixPosition(p.matrixWorld),t.position.applyMatrix4(h),t.direction.setFromMatrixPosition(p.matrixWorld),o.setFromMatrixPosition(p.target.matrixWorld),t.direction.sub(o),t.direction.transformDirection(h),l++}else if(p.isRectAreaLight){const t=i.rectArea[u];t.position.setFromMatrixPosition(p.matrixWorld),t.position.applyMatrix4(h),s.identity(),a.copy(p.matrixWorld),a.premultiply(h),s.extractRotation(a),t.halfWidth.set(.5*p.width,0,0),t.halfHeight.set(0,.5*p.height,0),t.halfWidth.applyMatrix4(s),t.halfHeight.applyMatrix4(s),u++}else if(p.isPointLight){const t=i.point[r];t.position.setFromMatrixPosition(p.matrixWorld),t.position.applyMatrix4(h),r++}else if(p.isHemisphereLight){const t=i.hemi[c];t.direction.setFromMatrixPosition(p.matrixWorld),t.direction.transformDirection(h),c++}}},state:i}}function Yi(t,e){const n=new Xi(t,e),r=[],i=[];return{init:function(){r.length=0,i.length=0},state:{lightsArray:r,shadowsArray:i,lights:n},setupLights:function(t){n.setup(r,t)},setupLightsView:function(t){n.setupView(r,t)},pushLight:function(t){r.push(t)},pushShadow:function(t){i.push(t)}}}function Zi(t,e){let n=new WeakMap;return{get:function(r,i=0){let o;return!1===n.has(r)?(o=new Yi(t,e),n.set(r,[o])):i>=n.get(r).length?(o=new Yi(t,e),n.get(r).push(o)):o=n.get(r)[i],o},dispose:function(){n=new WeakMap}}}class Ki extends Pe{constructor(t){super(),this.isMeshDepthMaterial=!0,this.type=\\\"MeshDepthMaterial\\\",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(t)}copy(t){return super.copy(t),this.depthPacking=t.depthPacking,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}}class Ji extends Pe{constructor(t){super(),this.isMeshDistanceMaterial=!0,this.type=\\\"MeshDistanceMaterial\\\",this.referencePosition=new yt,this.nearDistance=1,this.farDistance=1e3,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(t)}copy(t){return super.copy(t),this.referencePosition.copy(t.referencePosition),this.nearDistance=t.nearDistance,this.farDistance=t.farDistance,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}}function Qi(t,e,n){let r=new Ln;const i=new G,o=new G,a=new ft,s=new Ki({depthPacking:3201}),l=new Ji,u={},c=n.maxTextureSize,h={0:1,1:0,2:2},f=new _n({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new G},radius:{value:4}},vertexShader:\\\"void main() {\\\\n\\\\tgl_Position = vec4( position, 1.0 );\\\\n}\\\",fragmentShader:\\\"uniform sampler2D shadow_pass;\\\\nuniform vec2 resolution;\\\\nuniform float radius;\\\\n#include <packing>\\\\nvoid main() {\\\\n\\\\tconst float samples = float( VSM_SAMPLES );\\\\n\\\\tfloat mean = 0.0;\\\\n\\\\tfloat squared_mean = 0.0;\\\\n\\\\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\\\\n\\\\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\\\\n\\\\tfor ( float i = 0.0; i < samples; i ++ ) {\\\\n\\\\t\\\\tfloat uvOffset = uvStart + i * uvStride;\\\\n\\\\t\\\\t#ifdef HORIZONTAL_PASS\\\\n\\\\t\\\\t\\\\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\\\\n\\\\t\\\\t\\\\tmean += distribution.x;\\\\n\\\\t\\\\t\\\\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\\\\n\\\\t\\\\t#else\\\\n\\\\t\\\\t\\\\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\\\\n\\\\t\\\\t\\\\tmean += depth;\\\\n\\\\t\\\\t\\\\tsquared_mean += depth * depth;\\\\n\\\\t\\\\t#endif\\\\n\\\\t}\\\\n\\\\tmean = mean / samples;\\\\n\\\\tsquared_mean = squared_mean / samples;\\\\n\\\\tfloat std_dev = sqrt( squared_mean - mean * mean );\\\\n\\\\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\\\\n}\\\"}),d=f.clone();d.defines.HORIZONTAL_PASS=1;const m=new Xe;m.setAttribute(\\\"position\\\",new $e(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const v=new fn(m,f),g=this;function y(n,r){const o=e.update(v);f.defines.VSM_SAMPLES!==n.blurSamples&&(f.defines.VSM_SAMPLES=n.blurSamples,d.defines.VSM_SAMPLES=n.blurSamples,f.needsUpdate=!0,d.needsUpdate=!0),null===n.mapPass&&(n.mapPass=new dt(i.x,i.y)),f.uniforms.shadow_pass.value=n.map.texture,f.uniforms.resolution.value=n.mapSize,f.uniforms.radius.value=n.radius,t.setRenderTarget(n.mapPass),t.clear(),t.renderBufferDirect(r,null,o,f,v,null),d.uniforms.shadow_pass.value=n.mapPass.texture,d.uniforms.resolution.value=n.mapSize,d.uniforms.radius.value=n.radius,t.setRenderTarget(n.map),t.clear(),t.renderBufferDirect(r,null,o,d,v,null)}function _(e,n,r,i,o,a){let c=null;const p=!0===r.isPointLight?e.customDistanceMaterial:e.customDepthMaterial;if(c=void 0!==p?p:!0===r.isPointLight?l:s,t.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0){const t=c.uuid,e=n.uuid;let r=u[t];void 0===r&&(r={},u[t]=r);let i=r[e];void 0===i&&(i=c.clone(),r[e]=i),c=i}return c.visible=n.visible,c.wireframe=n.wireframe,c.side=3===a?null!==n.shadowSide?n.shadowSide:n.side:null!==n.shadowSide?n.shadowSide:h[n.side],c.alphaMap=n.alphaMap,c.alphaTest=n.alphaTest,c.clipShadows=n.clipShadows,c.clippingPlanes=n.clippingPlanes,c.clipIntersection=n.clipIntersection,c.displacementMap=n.displacementMap,c.displacementScale=n.displacementScale,c.displacementBias=n.displacementBias,c.wireframeLinewidth=n.wireframeLinewidth,c.linewidth=n.linewidth,!0===r.isPointLight&&!0===c.isMeshDistanceMaterial&&(c.referencePosition.setFromMatrixPosition(r.matrixWorld),c.nearDistance=i,c.farDistance=o),c}function b(n,i,o,a,s){if(!1===n.visible)return;if(n.layers.test(i.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&3===s)&&(!n.frustumCulled||r.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(o.matrixWorldInverse,n.matrixWorld);const r=e.update(n),i=n.material;if(Array.isArray(i)){const e=r.groups;for(let l=0,u=e.length;l<u;l++){const u=e[l],c=i[u.materialIndex];if(c&&c.visible){const e=_(n,c,a,o.near,o.far,s);t.renderBufferDirect(o,null,r,e,n,u)}}}else if(i.visible){const e=_(n,i,a,o.near,o.far,s);t.renderBufferDirect(o,null,r,e,n,null)}}const l=n.children;for(let t=0,e=l.length;t<e;t++)b(l[t],i,o,a,s)}this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1,this.render=function(e,n,s){if(!1===g.enabled)return;if(!1===g.autoUpdate&&!1===g.needsUpdate)return;if(0===e.length)return;const l=t.getRenderTarget(),u=t.getActiveCubeFace(),h=t.getActiveMipmapLevel(),f=t.state;f.setBlending(0),f.buffers.color.setClear(1,1,1,1),f.buffers.depth.setTest(!0),f.setScissorTest(!1);for(let l=0,u=e.length;l<u;l++){const u=e[l],h=u.shadow;if(void 0===h){console.warn(\\\"THREE.WebGLShadowMap:\\\",u,\\\"has no shadow.\\\");continue}if(!1===h.autoUpdate&&!1===h.needsUpdate)continue;i.copy(h.mapSize);const d=h.getFrameExtents();if(i.multiply(d),o.copy(h.mapSize),(i.x>c||i.y>c)&&(i.x>c&&(o.x=Math.floor(c/d.x),i.x=o.x*d.x,h.mapSize.x=o.x),i.y>c&&(o.y=Math.floor(c/d.y),i.y=o.y*d.y,h.mapSize.y=o.y)),null===h.map){const t=3!==this.type?{minFilter:p,magFilter:p}:{};h.map=new dt(i.x,i.y,t),h.map.texture.name=u.name+\\\".shadowMap\\\",h.camera.updateProjectionMatrix()}t.setRenderTarget(h.map),t.clear();const m=h.getViewportCount();for(let t=0;t<m;t++){const e=h.getViewport(t);a.set(o.x*e.x,o.y*e.y,o.x*e.z,o.y*e.w),f.viewport(a),h.updateMatrices(u,t),r=h.getFrustum(),b(n,s,h.camera,u,this.type)}!0!==h.isPointLightShadow&&3===this.type&&y(h,s),h.needsUpdate=!1}g.needsUpdate=!1,t.setRenderTarget(l,u,h)}}function to(t,e,n){const r=n.isWebGL2,i=new function(){let e=!1;const n=new ft;let r=null;const i=new ft(0,0,0,0);return{setMask:function(n){r===n||e||(t.colorMask(n,n,n,n),r=n)},setLocked:function(t){e=t},setClear:function(e,r,o,a,s){!0===s&&(e*=a,r*=a,o*=a),n.set(e,r,o,a),!1===i.equals(n)&&(t.clearColor(e,r,o,a),i.copy(n))},reset:function(){e=!1,r=null,i.set(-1,0,0,0)}}},a=new function(){let e=!1,n=null,r=null,i=null;return{setTest:function(t){t?j(2929):U(2929)},setMask:function(r){n===r||e||(t.depthMask(r),n=r)},setFunc:function(e){if(r!==e){if(e)switch(e){case 0:t.depthFunc(512);break;case 1:t.depthFunc(519);break;case 2:t.depthFunc(513);break;case 3:default:t.depthFunc(515);break;case 4:t.depthFunc(514);break;case 5:t.depthFunc(518);break;case 6:t.depthFunc(516);break;case 7:t.depthFunc(517)}else t.depthFunc(515);r=e}},setLocked:function(t){e=t},setClear:function(e){i!==e&&(t.clearDepth(e),i=e)},reset:function(){e=!1,n=null,r=null,i=null}}},s=new function(){let e=!1,n=null,r=null,i=null,o=null,a=null,s=null,l=null,u=null;return{setTest:function(t){e||(t?j(2960):U(2960))},setMask:function(r){n===r||e||(t.stencilMask(r),n=r)},setFunc:function(e,n,a){r===e&&i===n&&o===a||(t.stencilFunc(e,n,a),r=e,i=n,o=a)},setOp:function(e,n,r){a===e&&s===n&&l===r||(t.stencilOp(e,n,r),a=e,s=n,l=r)},setLocked:function(t){e=t},setClear:function(e){u!==e&&(t.clearStencil(e),u=e)},reset:function(){e=!1,n=null,r=null,i=null,o=null,a=null,s=null,l=null,u=null}}},l=new WeakMap,u=new WeakMap;let c={},h={},p=new WeakMap,f=[],d=null,m=!1,v=null,g=null,y=null,_=null,b=null,x=null,w=null,A=!1,C=null,M=null,E=null,T=null,S=null;const k=t.getParameter(35661);let O=!1,I=0;const L=t.getParameter(7938);-1!==L.indexOf(\\\"WebGL\\\")?(I=parseFloat(/^WebGL (\\\\d)/.exec(L)[1]),O=I>=1):-1!==L.indexOf(\\\"OpenGL ES\\\")&&(I=parseFloat(/^OpenGL ES (\\\\d)/.exec(L)[1]),O=I>=2);let P=null,z={};const R=t.getParameter(3088),D=t.getParameter(2978),$=(new ft).fromArray(R),B=(new ft).fromArray(D);function N(e,n,r){const i=new Uint8Array(4),o=t.createTexture();t.bindTexture(e,o),t.texParameteri(e,10241,9728),t.texParameteri(e,10240,9728);for(let e=0;e<r;e++)t.texImage2D(n+e,0,6408,1,1,0,6408,5121,i);return o}const F={};function j(e){!0!==c[e]&&(t.enable(e),c[e]=!0)}function U(e){!1!==c[e]&&(t.disable(e),c[e]=!1)}F[3553]=N(3553,3553,1),F[34067]=N(34067,34069,6),i.setClear(0,0,0,1),a.setClear(1),s.setClear(0),j(2929),a.setFunc(3),G(!1),W(1),j(2884),H(0);const q={[o]:32774,101:32778,102:32779};if(r)q[103]=32775,q[104]=32776;else{const t=e.get(\\\"EXT_blend_minmax\\\");null!==t&&(q[103]=t.MIN_EXT,q[104]=t.MAX_EXT)}const V={200:0,201:1,202:768,204:770,210:776,208:774,206:772,203:769,205:771,209:775,207:773};function H(e,n,r,i,a,s,l,u){if(0!==e){if(!1===m&&(j(3042),m=!0),5===e)a=a||n,s=s||r,l=l||i,n===g&&a===b||(t.blendEquationSeparate(q[n],q[a]),g=n,b=a),r===y&&i===_&&s===x&&l===w||(t.blendFuncSeparate(V[r],V[i],V[s],V[l]),y=r,_=i,x=s,w=l),v=e,A=null;else if(e!==v||u!==A){if(g===o&&b===o||(t.blendEquation(32774),g=o,b=o),u)switch(e){case 1:t.blendFuncSeparate(1,771,1,771);break;case 2:t.blendFunc(1,1);break;case 3:t.blendFuncSeparate(0,769,0,1);break;case 4:t.blendFuncSeparate(0,768,0,770);break;default:console.error(\\\"THREE.WebGLState: Invalid blending: \\\",e)}else switch(e){case 1:t.blendFuncSeparate(770,771,1,771);break;case 2:t.blendFunc(770,1);break;case 3:t.blendFuncSeparate(0,769,0,1);break;case 4:t.blendFunc(0,768);break;default:console.error(\\\"THREE.WebGLState: Invalid blending: \\\",e)}y=null,_=null,x=null,w=null,v=e,A=u}}else!0===m&&(U(3042),m=!1)}function G(e){C!==e&&(e?t.frontFace(2304):t.frontFace(2305),C=e)}function W(e){0!==e?(j(2884),e!==M&&(1===e?t.cullFace(1029):2===e?t.cullFace(1028):t.cullFace(1032))):U(2884),M=e}function X(e,n,r){e?(j(32823),T===n&&S===r||(t.polygonOffset(n,r),T=n,S=r)):U(32823)}function Y(e){void 0===e&&(e=33984+k-1),P!==e&&(t.activeTexture(e),P=e)}return{buffers:{color:i,depth:a,stencil:s},enable:j,disable:U,bindFramebuffer:function(e,n){return h[e]!==n&&(t.bindFramebuffer(e,n),h[e]=n,r&&(36009===e&&(h[36160]=n),36160===e&&(h[36009]=n)),!0)},drawBuffers:function(r,i){let o=f,a=!1;if(r)if(o=p.get(i),void 0===o&&(o=[],p.set(i,o)),r.isWebGLMultipleRenderTargets){const t=r.texture;if(o.length!==t.length||36064!==o[0]){for(let e=0,n=t.length;e<n;e++)o[e]=36064+e;o.length=t.length,a=!0}}else 36064!==o[0]&&(o[0]=36064,a=!0);else 1029!==o[0]&&(o[0]=1029,a=!0);a&&(n.isWebGL2?t.drawBuffers(o):e.get(\\\"WEBGL_draw_buffers\\\").drawBuffersWEBGL(o))},useProgram:function(e){return d!==e&&(t.useProgram(e),d=e,!0)},setBlending:H,setMaterial:function(t,e){2===t.side?U(2884):j(2884);let n=1===t.side;e&&(n=!n),G(n),1===t.blending&&!1===t.transparent?H(0):H(t.blending,t.blendEquation,t.blendSrc,t.blendDst,t.blendEquationAlpha,t.blendSrcAlpha,t.blendDstAlpha,t.premultipliedAlpha),a.setFunc(t.depthFunc),a.setTest(t.depthTest),a.setMask(t.depthWrite),i.setMask(t.colorWrite);const r=t.stencilWrite;s.setTest(r),r&&(s.setMask(t.stencilWriteMask),s.setFunc(t.stencilFunc,t.stencilRef,t.stencilFuncMask),s.setOp(t.stencilFail,t.stencilZFail,t.stencilZPass)),X(t.polygonOffset,t.polygonOffsetFactor,t.polygonOffsetUnits),!0===t.alphaToCoverage?j(32926):U(32926)},setFlipSided:G,setCullFace:W,setLineWidth:function(e){e!==E&&(O&&t.lineWidth(e),E=e)},setPolygonOffset:X,setScissorTest:function(t){t?j(3089):U(3089)},activeTexture:Y,bindTexture:function(e,n){null===P&&Y();let r=z[P];void 0===r&&(r={type:void 0,texture:void 0},z[P]=r),r.type===e&&r.texture===n||(t.bindTexture(e,n||F[e]),r.type=e,r.texture=n)},unbindTexture:function(){const e=z[P];void 0!==e&&void 0!==e.type&&(t.bindTexture(e.type,null),e.type=void 0,e.texture=void 0)},compressedTexImage2D:function(){try{t.compressedTexImage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texImage2D:function(){try{t.texImage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texImage3D:function(){try{t.texImage3D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},updateUBOMapping:function(e,n){let r=u.get(n);void 0===r&&(r=new WeakMap,u.set(n,r));let i=r.get(e);void 0===i&&(i=t.getUniformBlockIndex(n,e.name),r.set(e,i))},uniformBlockBinding:function(e,n){const r=u.get(n).get(e);l.get(e)!==r&&(t.uniformBlockBinding(n,r,e.__bindingPointIndex),l.set(e,r))},texStorage2D:function(){try{t.texStorage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texStorage3D:function(){try{t.texStorage3D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texSubImage2D:function(){try{t.texSubImage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},texSubImage3D:function(){try{t.texSubImage3D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},compressedTexSubImage2D:function(){try{t.compressedTexSubImage2D.apply(t,arguments)}catch(t){console.error(\\\"THREE.WebGLState:\\\",t)}},scissor:function(e){!1===$.equals(e)&&(t.scissor(e.x,e.y,e.z,e.w),$.copy(e))},viewport:function(e){!1===B.equals(e)&&(t.viewport(e.x,e.y,e.z,e.w),B.copy(e))},reset:function(){t.disable(3042),t.disable(2884),t.disable(2929),t.disable(32823),t.disable(3089),t.disable(2960),t.disable(32926),t.blendEquation(32774),t.blendFunc(1,0),t.blendFuncSeparate(1,0,1,0),t.colorMask(!0,!0,!0,!0),t.clearColor(0,0,0,0),t.depthMask(!0),t.depthFunc(513),t.clearDepth(1),t.stencilMask(4294967295),t.stencilFunc(519,0,4294967295),t.stencilOp(7680,7680,7680),t.clearStencil(0),t.cullFace(1029),t.frontFace(2305),t.polygonOffset(0,0),t.activeTexture(33984),t.bindFramebuffer(36160,null),!0===r&&(t.bindFramebuffer(36009,null),t.bindFramebuffer(36008,null)),t.useProgram(null),t.lineWidth(1),t.scissor(0,0,t.canvas.width,t.canvas.height),t.viewport(0,0,t.canvas.width,t.canvas.height),c={},P=null,z={},h={},p=new WeakMap,f=[],d=null,m=!1,v=null,g=null,y=null,_=null,b=null,x=null,w=null,A=!1,C=null,M=null,E=null,T=null,S=null,$.set(0,0,t.canvas.width,t.canvas.height),B.set(0,0,t.canvas.width,t.canvas.height),i.reset(),a.reset(),s.reset()}}}function eo(t,e,n,r,i,o,a){const s=i.isWebGL2,l=i.maxTextures,A=i.maxCubemapSize,C=i.maxTextureSize,M=i.maxSamples,E=e.has(\\\"WEBGL_multisampled_render_to_texture\\\")?e.get(\\\"WEBGL_multisampled_render_to_texture\\\"):null,T=/OculusBrowser/g.test(navigator.userAgent),S=new WeakMap;let k;const L=new WeakMap;let P=!1;try{P=\\\"undefined\\\"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext(\\\"2d\\\")}catch(t){}function z(t,e){return P?new OffscreenCanvas(t,e):Y(\\\"canvas\\\")}function R(t,e,n,r){let i=1;if((t.width>r||t.height>r)&&(i=r/Math.max(t.width,t.height)),i<1||!0===e){if(\\\"undefined\\\"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||\\\"undefined\\\"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||\\\"undefined\\\"!=typeof ImageBitmap&&t instanceof ImageBitmap){const r=e?H:Math.floor,o=r(i*t.width),a=r(i*t.height);void 0===k&&(k=z(o,a));const s=n?z(o,a):k;return s.width=o,s.height=a,s.getContext(\\\"2d\\\").drawImage(t,0,0,o,a),console.warn(\\\"THREE.WebGLRenderer: Texture has been resized from (\\\"+t.width+\\\"x\\\"+t.height+\\\") to (\\\"+o+\\\"x\\\"+a+\\\").\\\"),s}return\\\"data\\\"in t&&console.warn(\\\"THREE.WebGLRenderer: Image in DataTexture is too big (\\\"+t.width+\\\"x\\\"+t.height+\\\").\\\"),t}return t}function $(t){return V(t.width)&&V(t.height)}function B(t,e){return t.generateMipmaps&&e&&t.minFilter!==p&&t.minFilter!==f}function N(e){t.generateMipmap(e)}function F(n,r,i,o,a=!1){if(!1===s)return r;if(null!==n){if(void 0!==t[n])return t[n];console.warn(\\\"THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '\\\"+n+\\\"'\\\")}let l=r;return 6403===r&&(5126===i&&(l=33326),5131===i&&(l=33325),5121===i&&(l=33321)),33319===r&&(5126===i&&(l=33328),5131===i&&(l=33327),5121===i&&(l=33323)),6408===r&&(5126===i&&(l=34836),5131===i&&(l=34842),5121===i&&(l=o===I&&!1===a?35907:32856),32819===i&&(l=32854),32820===i&&(l=32855)),33325!==l&&33326!==l&&33327!==l&&33328!==l&&34842!==l&&34836!==l||e.get(\\\"EXT_color_buffer_float\\\"),l}function j(t,e,n){return!0===B(t,n)||t.isFramebufferTexture&&t.minFilter!==p&&t.minFilter!==f?Math.log2(Math.max(e.width,e.height))+1:void 0!==t.mipmaps&&t.mipmaps.length>0?t.mipmaps.length:t.isCompressedTexture&&Array.isArray(t.image)?e.mipmaps.length:1}function U(t){return t===p||1004===t||1005===t?9728:9729}function q(t){const e=t.target;e.removeEventListener(\\\"dispose\\\",q),function(t){const e=r.get(t);if(void 0===e.__webglInit)return;const n=t.source,i=L.get(n);if(i){const r=i[e.__cacheKey];r.usedTimes--,0===r.usedTimes&&W(t),0===Object.keys(i).length&&L.delete(n)}r.remove(t)}(e),e.isVideoTexture&&S.delete(e)}function G(e){const n=e.target;n.removeEventListener(\\\"dispose\\\",G),function(e){const n=e.texture,i=r.get(e),o=r.get(n);if(void 0!==o.__webglTexture&&(t.deleteTexture(o.__webglTexture),a.memory.textures--),e.depthTexture&&e.depthTexture.dispose(),e.isWebGLCubeRenderTarget)for(let e=0;e<6;e++)t.deleteFramebuffer(i.__webglFramebuffer[e]),i.__webglDepthbuffer&&t.deleteRenderbuffer(i.__webglDepthbuffer[e]);else{if(t.deleteFramebuffer(i.__webglFramebuffer),i.__webglDepthbuffer&&t.deleteRenderbuffer(i.__webglDepthbuffer),i.__webglMultisampledFramebuffer&&t.deleteFramebuffer(i.__webglMultisampledFramebuffer),i.__webglColorRenderbuffer)for(let e=0;e<i.__webglColorRenderbuffer.length;e++)i.__webglColorRenderbuffer[e]&&t.deleteRenderbuffer(i.__webglColorRenderbuffer[e]);i.__webglDepthRenderbuffer&&t.deleteRenderbuffer(i.__webglDepthRenderbuffer)}if(e.isWebGLMultipleRenderTargets)for(let e=0,i=n.length;e<i;e++){const i=r.get(n[e]);i.__webglTexture&&(t.deleteTexture(i.__webglTexture),a.memory.textures--),r.remove(n[e])}r.remove(n),r.remove(e)}(n)}function W(e){const n=r.get(e);t.deleteTexture(n.__webglTexture);const i=e.source;delete L.get(i)[n.__cacheKey],a.memory.textures--}let X=0;function Z(t,e){const i=r.get(t);if(t.isVideoTexture&&function(t){const e=a.render.frame;S.get(t)!==e&&(S.set(t,e),t.update())}(t),!1===t.isRenderTargetTexture&&t.version>0&&i.__version!==t.version){const n=t.image;if(null===n)console.warn(\\\"THREE.WebGLRenderer: Texture marked for update but no image data found.\\\");else{if(!1!==n.complete)return void et(i,t,e);console.warn(\\\"THREE.WebGLRenderer: Texture marked for update but image is incomplete\\\")}}n.activeTexture(33984+e),n.bindTexture(3553,i.__webglTexture)}const K={[u]:10497,[c]:33071,[h]:33648},J={[p]:9728,1004:9984,1005:9986,[f]:9729,1007:9985,[d]:9987};function Q(n,o,a){if(a?(t.texParameteri(n,10242,K[o.wrapS]),t.texParameteri(n,10243,K[o.wrapT]),32879!==n&&35866!==n||t.texParameteri(n,32882,K[o.wrapR]),t.texParameteri(n,10240,J[o.magFilter]),t.texParameteri(n,10241,J[o.minFilter])):(t.texParameteri(n,10242,33071),t.texParameteri(n,10243,33071),32879!==n&&35866!==n||t.texParameteri(n,32882,33071),o.wrapS===c&&o.wrapT===c||console.warn(\\\"THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping.\\\"),t.texParameteri(n,10240,U(o.magFilter)),t.texParameteri(n,10241,U(o.minFilter)),o.minFilter!==p&&o.minFilter!==f&&console.warn(\\\"THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.\\\")),!0===e.has(\\\"EXT_texture_filter_anisotropic\\\")){const a=e.get(\\\"EXT_texture_filter_anisotropic\\\");if(o.type===g&&!1===e.has(\\\"OES_texture_float_linear\\\"))return;if(!1===s&&o.type===y&&!1===e.has(\\\"OES_texture_half_float_linear\\\"))return;(o.anisotropy>1||r.get(o).__currentAnisotropy)&&(t.texParameterf(n,a.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(o.anisotropy,i.getMaxAnisotropy())),r.get(o).__currentAnisotropy=o.anisotropy)}}function tt(e,n){let r=!1;void 0===e.__webglInit&&(e.__webglInit=!0,n.addEventListener(\\\"dispose\\\",q));const i=n.source;let o=L.get(i);void 0===o&&(o={},L.set(i,o));const s=function(t){const e=[];return e.push(t.wrapS),e.push(t.wrapT),e.push(t.magFilter),e.push(t.minFilter),e.push(t.anisotropy),e.push(t.internalFormat),e.push(t.format),e.push(t.type),e.push(t.generateMipmaps),e.push(t.premultiplyAlpha),e.push(t.flipY),e.push(t.unpackAlignment),e.push(t.encoding),e.join()}(n);if(s!==e.__cacheKey){void 0===o[s]&&(o[s]={texture:t.createTexture(),usedTimes:0},a.memory.textures++,r=!0),o[s].usedTimes++;const i=o[e.__cacheKey];void 0!==i&&(o[e.__cacheKey].usedTimes--,0===i.usedTimes&&W(n)),e.__cacheKey=s,e.__webglTexture=o[s].texture}return r}function et(e,r,i){let a=3553;r.isDataArrayTexture&&(a=35866),r.isData3DTexture&&(a=32879);const l=tt(e,r),u=r.source;if(n.activeTexture(33984+i),n.bindTexture(a,e.__webglTexture),u.version!==u.__currentVersion||!0===l){t.pixelStorei(37440,r.flipY),t.pixelStorei(37441,r.premultiplyAlpha),t.pixelStorei(3317,r.unpackAlignment),t.pixelStorei(37443,0);const e=function(t){return!s&&(t.wrapS!==c||t.wrapT!==c||t.minFilter!==p&&t.minFilter!==f)}(r)&&!1===$(r.image);let i=R(r.image,e,!1,C);i=st(r,i);const h=$(i)||s,d=o.convert(r.format,r.encoding);let m,y=o.convert(r.type),A=F(r.internalFormat,d,y,r.encoding,r.isVideoTexture);Q(a,r,h);const M=r.mipmaps,E=s&&!0!==r.isVideoTexture,T=void 0===u.__currentVersion||!0===l,S=j(r,i,h);if(r.isDepthTexture)A=6402,s?A=r.type===g?36012:r.type===v?33190:r.type===_?35056:33189:r.type===g&&console.error(\\\"WebGLRenderer: Floating point depth texture requires WebGL2.\\\"),r.format===x&&6402===A&&1012!==r.type&&r.type!==v&&(console.warn(\\\"THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture.\\\"),r.type=v,y=o.convert(r.type)),r.format===w&&6402===A&&(A=34041,r.type!==_&&(console.warn(\\\"THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.\\\"),r.type=_,y=o.convert(r.type))),T&&(E?n.texStorage2D(3553,1,A,i.width,i.height):n.texImage2D(3553,0,A,i.width,i.height,0,d,y,null));else if(r.isDataTexture)if(M.length>0&&h){E&&T&&n.texStorage2D(3553,S,A,M[0].width,M[0].height);for(let t=0,e=M.length;t<e;t++)m=M[t],E?n.texSubImage2D(3553,t,0,0,m.width,m.height,d,y,m.data):n.texImage2D(3553,t,A,m.width,m.height,0,d,y,m.data);r.generateMipmaps=!1}else E?(T&&n.texStorage2D(3553,S,A,i.width,i.height),n.texSubImage2D(3553,0,0,0,i.width,i.height,d,y,i.data)):n.texImage2D(3553,0,A,i.width,i.height,0,d,y,i.data);else if(r.isCompressedTexture){E&&T&&n.texStorage2D(3553,S,A,M[0].width,M[0].height);for(let t=0,e=M.length;t<e;t++)m=M[t],r.format!==b?null!==d?E?n.compressedTexSubImage2D(3553,t,0,0,m.width,m.height,d,m.data):n.compressedTexImage2D(3553,t,A,m.width,m.height,0,m.data):console.warn(\\\"THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()\\\"):E?n.texSubImage2D(3553,t,0,0,m.width,m.height,d,y,m.data):n.texImage2D(3553,t,A,m.width,m.height,0,d,y,m.data)}else if(r.isDataArrayTexture)E?(T&&n.texStorage3D(35866,S,A,i.width,i.height,i.depth),n.texSubImage3D(35866,0,0,0,0,i.width,i.height,i.depth,d,y,i.data)):n.texImage3D(35866,0,A,i.width,i.height,i.depth,0,d,y,i.data);else if(r.isData3DTexture)E?(T&&n.texStorage3D(32879,S,A,i.width,i.height,i.depth),n.texSubImage3D(32879,0,0,0,0,i.width,i.height,i.depth,d,y,i.data)):n.texImage3D(32879,0,A,i.width,i.height,i.depth,0,d,y,i.data);else if(r.isFramebufferTexture){if(T)if(E)n.texStorage2D(3553,S,A,i.width,i.height);else{let t=i.width,e=i.height;for(let r=0;r<S;r++)n.texImage2D(3553,r,A,t,e,0,d,y,null),t>>=1,e>>=1}}else if(M.length>0&&h){E&&T&&n.texStorage2D(3553,S,A,M[0].width,M[0].height);for(let t=0,e=M.length;t<e;t++)m=M[t],E?n.texSubImage2D(3553,t,0,0,d,y,m):n.texImage2D(3553,t,A,d,y,m);r.generateMipmaps=!1}else E?(T&&n.texStorage2D(3553,S,A,i.width,i.height),n.texSubImage2D(3553,0,0,0,d,y,i)):n.texImage2D(3553,0,A,d,y,i);B(r,h)&&N(a),u.__currentVersion=u.version,r.onUpdate&&r.onUpdate(r)}e.__version=r.version}function nt(e,i,a,s,l){const u=o.convert(a.format,a.encoding),c=o.convert(a.type),h=F(a.internalFormat,u,c,a.encoding);r.get(i).__hasExternalTextures||(32879===l||35866===l?n.texImage3D(l,0,h,i.width,i.height,i.depth,0,u,c,null):n.texImage2D(l,0,h,i.width,i.height,0,u,c,null)),n.bindFramebuffer(36160,e),at(i)?E.framebufferTexture2DMultisampleEXT(36160,s,l,r.get(a).__webglTexture,0,ot(i)):t.framebufferTexture2D(36160,s,l,r.get(a).__webglTexture,0),n.bindFramebuffer(36160,null)}function rt(e,n,r){if(t.bindRenderbuffer(36161,e),n.depthBuffer&&!n.stencilBuffer){let i=33189;if(r||at(n)){const e=n.depthTexture;e&&e.isDepthTexture&&(e.type===g?i=36012:e.type===v&&(i=33190));const r=ot(n);at(n)?E.renderbufferStorageMultisampleEXT(36161,r,i,n.width,n.height):t.renderbufferStorageMultisample(36161,r,i,n.width,n.height)}else t.renderbufferStorage(36161,i,n.width,n.height);t.framebufferRenderbuffer(36160,36096,36161,e)}else if(n.depthBuffer&&n.stencilBuffer){const i=ot(n);r&&!1===at(n)?t.renderbufferStorageMultisample(36161,i,35056,n.width,n.height):at(n)?E.renderbufferStorageMultisampleEXT(36161,i,35056,n.width,n.height):t.renderbufferStorage(36161,34041,n.width,n.height),t.framebufferRenderbuffer(36160,33306,36161,e)}else{const e=!0===n.isWebGLMultipleRenderTargets?n.texture:[n.texture];for(let i=0;i<e.length;i++){const a=e[i],s=o.convert(a.format,a.encoding),l=o.convert(a.type),u=F(a.internalFormat,s,l,a.encoding),c=ot(n);r&&!1===at(n)?t.renderbufferStorageMultisample(36161,c,u,n.width,n.height):at(n)?E.renderbufferStorageMultisampleEXT(36161,c,u,n.width,n.height):t.renderbufferStorage(36161,u,n.width,n.height)}}t.bindRenderbuffer(36161,null)}function it(e){const i=r.get(e),o=!0===e.isWebGLCubeRenderTarget;if(e.depthTexture&&!i.__autoAllocateDepthBuffer){if(o)throw new Error(\\\"target.depthTexture not supported in Cube render targets\\\");!function(e,i){if(i&&i.isWebGLCubeRenderTarget)throw new Error(\\\"Depth Texture with cube render targets is not supported\\\");if(n.bindFramebuffer(36160,e),!i.depthTexture||!i.depthTexture.isDepthTexture)throw new Error(\\\"renderTarget.depthTexture must be an instance of THREE.DepthTexture\\\");r.get(i.depthTexture).__webglTexture&&i.depthTexture.image.width===i.width&&i.depthTexture.image.height===i.height||(i.depthTexture.image.width=i.width,i.depthTexture.image.height=i.height,i.depthTexture.needsUpdate=!0),Z(i.depthTexture,0);const o=r.get(i.depthTexture).__webglTexture,a=ot(i);if(i.depthTexture.format===x)at(i)?E.framebufferTexture2DMultisampleEXT(36160,36096,3553,o,0,a):t.framebufferTexture2D(36160,36096,3553,o,0);else{if(i.depthTexture.format!==w)throw new Error(\\\"Unknown depthTexture format\\\");at(i)?E.framebufferTexture2DMultisampleEXT(36160,33306,3553,o,0,a):t.framebufferTexture2D(36160,33306,3553,o,0)}}(i.__webglFramebuffer,e)}else if(o){i.__webglDepthbuffer=[];for(let r=0;r<6;r++)n.bindFramebuffer(36160,i.__webglFramebuffer[r]),i.__webglDepthbuffer[r]=t.createRenderbuffer(),rt(i.__webglDepthbuffer[r],e,!1)}else n.bindFramebuffer(36160,i.__webglFramebuffer),i.__webglDepthbuffer=t.createRenderbuffer(),rt(i.__webglDepthbuffer,e,!1);n.bindFramebuffer(36160,null)}function ot(t){return Math.min(M,t.samples)}function at(t){const n=r.get(t);return s&&t.samples>0&&!0===e.has(\\\"WEBGL_multisampled_render_to_texture\\\")&&!1!==n.__useRenderToTexture}function st(t,n){const r=t.encoding,i=t.format,o=t.type;return!0===t.isCompressedTexture||!0===t.isVideoTexture||t.format===D||r!==O&&(r===I?!1===s?!0===e.has(\\\"EXT_sRGB\\\")&&i===b?(t.format=D,t.minFilter=f,t.generateMipmaps=!1):n=lt.sRGBToLinear(n):i===b&&o===m||console.warn(\\\"THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.\\\"):console.error(\\\"THREE.WebGLTextures: Unsupported texture encoding:\\\",r)),n}this.allocateTextureUnit=function(){const t=X;return t>=l&&console.warn(\\\"THREE.WebGLTextures: Trying to use \\\"+t+\\\" texture units while this GPU supports only \\\"+l),X+=1,t},this.resetTextureUnits=function(){X=0},this.setTexture2D=Z,this.setTexture2DArray=function(t,e){const i=r.get(t);t.version>0&&i.__version!==t.version?et(i,t,e):(n.activeTexture(33984+e),n.bindTexture(35866,i.__webglTexture))},this.setTexture3D=function(t,e){const i=r.get(t);t.version>0&&i.__version!==t.version?et(i,t,e):(n.activeTexture(33984+e),n.bindTexture(32879,i.__webglTexture))},this.setTextureCube=function(e,i){const a=r.get(e);e.version>0&&a.__version!==e.version?function(e,r,i){if(6!==r.image.length)return;const a=tt(e,r),l=r.source;if(n.activeTexture(33984+i),n.bindTexture(34067,e.__webglTexture),l.version!==l.__currentVersion||!0===a){t.pixelStorei(37440,r.flipY),t.pixelStorei(37441,r.premultiplyAlpha),t.pixelStorei(3317,r.unpackAlignment),t.pixelStorei(37443,0);const e=r.isCompressedTexture||r.image[0].isCompressedTexture,i=r.image[0]&&r.image[0].isDataTexture,u=[];for(let t=0;t<6;t++)u[t]=e||i?i?r.image[t].image:r.image[t]:R(r.image[t],!1,!0,A),u[t]=st(r,u[t]);const c=u[0],h=$(c)||s,p=o.convert(r.format,r.encoding),f=o.convert(r.type),d=F(r.internalFormat,p,f,r.encoding),m=s&&!0!==r.isVideoTexture,v=void 0===l.__currentVersion||!0===a;let g,y=j(r,c,h);if(Q(34067,r,h),e){m&&v&&n.texStorage2D(34067,y,d,c.width,c.height);for(let t=0;t<6;t++){g=u[t].mipmaps;for(let e=0;e<g.length;e++){const i=g[e];r.format!==b?null!==p?m?n.compressedTexSubImage2D(34069+t,e,0,0,i.width,i.height,p,i.data):n.compressedTexImage2D(34069+t,e,d,i.width,i.height,0,i.data):console.warn(\\\"THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()\\\"):m?n.texSubImage2D(34069+t,e,0,0,i.width,i.height,p,f,i.data):n.texImage2D(34069+t,e,d,i.width,i.height,0,p,f,i.data)}}}else{g=r.mipmaps,m&&v&&(g.length>0&&y++,n.texStorage2D(34067,y,d,u[0].width,u[0].height));for(let t=0;t<6;t++)if(i){m?n.texSubImage2D(34069+t,0,0,0,u[t].width,u[t].height,p,f,u[t].data):n.texImage2D(34069+t,0,d,u[t].width,u[t].height,0,p,f,u[t].data);for(let e=0;e<g.length;e++){const r=g[e].image[t].image;m?n.texSubImage2D(34069+t,e+1,0,0,r.width,r.height,p,f,r.data):n.texImage2D(34069+t,e+1,d,r.width,r.height,0,p,f,r.data)}}else{m?n.texSubImage2D(34069+t,0,0,0,p,f,u[t]):n.texImage2D(34069+t,0,d,p,f,u[t]);for(let e=0;e<g.length;e++){const r=g[e];m?n.texSubImage2D(34069+t,e+1,0,0,p,f,r.image[t]):n.texImage2D(34069+t,e+1,d,p,f,r.image[t])}}}B(r,h)&&N(34067),l.__currentVersion=l.version,r.onUpdate&&r.onUpdate(r)}e.__version=r.version}(a,e,i):(n.activeTexture(33984+i),n.bindTexture(34067,a.__webglTexture))},this.rebindTextures=function(t,e,n){const i=r.get(t);void 0!==e&&nt(i.__webglFramebuffer,t,t.texture,36064,3553),void 0!==n&&it(t)},this.setupRenderTarget=function(e){const l=e.texture,u=r.get(e),c=r.get(l);e.addEventListener(\\\"dispose\\\",G),!0!==e.isWebGLMultipleRenderTargets&&(void 0===c.__webglTexture&&(c.__webglTexture=t.createTexture()),c.__version=l.version,a.memory.textures++);const h=!0===e.isWebGLCubeRenderTarget,p=!0===e.isWebGLMultipleRenderTargets,f=$(e)||s;if(h){u.__webglFramebuffer=[];for(let e=0;e<6;e++)u.__webglFramebuffer[e]=t.createFramebuffer()}else{if(u.__webglFramebuffer=t.createFramebuffer(),p)if(i.drawBuffers){const n=e.texture;for(let e=0,i=n.length;e<i;e++){const i=r.get(n[e]);void 0===i.__webglTexture&&(i.__webglTexture=t.createTexture(),a.memory.textures++)}}else console.warn(\\\"THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.\\\");if(s&&e.samples>0&&!1===at(e)){const r=p?l:[l];u.__webglMultisampledFramebuffer=t.createFramebuffer(),u.__webglColorRenderbuffer=[],n.bindFramebuffer(36160,u.__webglMultisampledFramebuffer);for(let n=0;n<r.length;n++){const i=r[n];u.__webglColorRenderbuffer[n]=t.createRenderbuffer(),t.bindRenderbuffer(36161,u.__webglColorRenderbuffer[n]);const a=o.convert(i.format,i.encoding),s=o.convert(i.type),l=F(i.internalFormat,a,s,i.encoding),c=ot(e);t.renderbufferStorageMultisample(36161,c,l,e.width,e.height),t.framebufferRenderbuffer(36160,36064+n,36161,u.__webglColorRenderbuffer[n])}t.bindRenderbuffer(36161,null),e.depthBuffer&&(u.__webglDepthRenderbuffer=t.createRenderbuffer(),rt(u.__webglDepthRenderbuffer,e,!0)),n.bindFramebuffer(36160,null)}}if(h){n.bindTexture(34067,c.__webglTexture),Q(34067,l,f);for(let t=0;t<6;t++)nt(u.__webglFramebuffer[t],e,l,36064,34069+t);B(l,f)&&N(34067),n.unbindTexture()}else if(p){const t=e.texture;for(let i=0,o=t.length;i<o;i++){const o=t[i],a=r.get(o);n.bindTexture(3553,a.__webglTexture),Q(3553,o,f),nt(u.__webglFramebuffer,e,o,36064+i,3553),B(o,f)&&N(3553)}n.unbindTexture()}else{let t=3553;(e.isWebGL3DRenderTarget||e.isWebGLArrayRenderTarget)&&(s?t=e.isWebGL3DRenderTarget?32879:35866:console.error(\\\"THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.\\\")),n.bindTexture(t,c.__webglTexture),Q(t,l,f),nt(u.__webglFramebuffer,e,l,36064,t),B(l,f)&&N(t),n.unbindTexture()}e.depthBuffer&&it(e)},this.updateRenderTargetMipmap=function(t){const e=$(t)||s,i=!0===t.isWebGLMultipleRenderTargets?t.texture:[t.texture];for(let o=0,a=i.length;o<a;o++){const a=i[o];if(B(a,e)){const e=t.isWebGLCubeRenderTarget?34067:3553,i=r.get(a).__webglTexture;n.bindTexture(e,i),N(e),n.unbindTexture()}}},this.updateMultisampleRenderTarget=function(e){if(s&&e.samples>0&&!1===at(e)){const i=e.isWebGLMultipleRenderTargets?e.texture:[e.texture],o=e.width,a=e.height;let s=16384;const l=[],u=e.stencilBuffer?33306:36096,c=r.get(e),h=!0===e.isWebGLMultipleRenderTargets;if(h)for(let e=0;e<i.length;e++)n.bindFramebuffer(36160,c.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(36160,36064+e,36161,null),n.bindFramebuffer(36160,c.__webglFramebuffer),t.framebufferTexture2D(36009,36064+e,3553,null,0);n.bindFramebuffer(36008,c.__webglMultisampledFramebuffer),n.bindFramebuffer(36009,c.__webglFramebuffer);for(let n=0;n<i.length;n++){l.push(36064+n),e.depthBuffer&&l.push(u);const p=void 0!==c.__ignoreDepthValues&&c.__ignoreDepthValues;if(!1===p&&(e.depthBuffer&&(s|=256),e.stencilBuffer&&(s|=1024)),h&&t.framebufferRenderbuffer(36008,36064,36161,c.__webglColorRenderbuffer[n]),!0===p&&(t.invalidateFramebuffer(36008,[u]),t.invalidateFramebuffer(36009,[u])),h){const e=r.get(i[n]).__webglTexture;t.framebufferTexture2D(36009,36064,3553,e,0)}t.blitFramebuffer(0,0,o,a,0,0,o,a,s,9728),T&&t.invalidateFramebuffer(36008,l)}if(n.bindFramebuffer(36008,null),n.bindFramebuffer(36009,null),h)for(let e=0;e<i.length;e++){n.bindFramebuffer(36160,c.__webglMultisampledFramebuffer),t.framebufferRenderbuffer(36160,36064+e,36161,c.__webglColorRenderbuffer[e]);const o=r.get(i[e]).__webglTexture;n.bindFramebuffer(36160,c.__webglFramebuffer),t.framebufferTexture2D(36009,36064+e,3553,o,0)}n.bindFramebuffer(36009,c.__webglMultisampledFramebuffer)}},this.setupDepthRenderbuffer=it,this.setupFrameBufferTexture=nt,this.useMultisampledRTT=at}function no(t,e,n){const r=n.isWebGL2;return{convert:function(n,i=null){let o;if(n===m)return 5121;if(1017===n)return 32819;if(1018===n)return 32820;if(1010===n)return 5120;if(1011===n)return 5122;if(1012===n)return 5123;if(1013===n)return 5124;if(n===v)return 5125;if(n===g)return 5126;if(n===y)return r?5131:(o=e.get(\\\"OES_texture_half_float\\\"),null!==o?o.HALF_FLOAT_OES:null);if(1021===n)return 6406;if(n===b)return 6408;if(1024===n)return 6409;if(1025===n)return 6410;if(n===x)return 6402;if(n===w)return 34041;if(1028===n)return 6403;if(1022===n)return console.warn(\\\"THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228\\\"),6408;if(n===D)return o=e.get(\\\"EXT_sRGB\\\"),null!==o?o.SRGB_ALPHA_EXT:null;if(1029===n)return 36244;if(1030===n)return 33319;if(1031===n)return 33320;if(1033===n)return 36249;if(n===A||n===C||n===M||n===E)if(i===I){if(o=e.get(\\\"WEBGL_compressed_texture_s3tc_srgb\\\"),null===o)return null;if(n===A)return o.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===C)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===M)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===E)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(o=e.get(\\\"WEBGL_compressed_texture_s3tc\\\"),null===o)return null;if(n===A)return o.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===C)return o.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===M)return o.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===E)return o.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(35840===n||35841===n||35842===n||35843===n){if(o=e.get(\\\"WEBGL_compressed_texture_pvrtc\\\"),null===o)return null;if(35840===n)return o.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(35841===n)return o.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(35842===n)return o.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(35843===n)return o.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(36196===n)return o=e.get(\\\"WEBGL_compressed_texture_etc1\\\"),null!==o?o.COMPRESSED_RGB_ETC1_WEBGL:null;if(37492===n||37496===n){if(o=e.get(\\\"WEBGL_compressed_texture_etc\\\"),null===o)return null;if(37492===n)return i===I?o.COMPRESSED_SRGB8_ETC2:o.COMPRESSED_RGB8_ETC2;if(37496===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:o.COMPRESSED_RGBA8_ETC2_EAC}if(37808===n||37809===n||37810===n||37811===n||37812===n||37813===n||37814===n||37815===n||37816===n||37817===n||37818===n||37819===n||37820===n||37821===n){if(o=e.get(\\\"WEBGL_compressed_texture_astc\\\"),null===o)return null;if(37808===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:o.COMPRESSED_RGBA_ASTC_4x4_KHR;if(37809===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:o.COMPRESSED_RGBA_ASTC_5x4_KHR;if(37810===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:o.COMPRESSED_RGBA_ASTC_5x5_KHR;if(37811===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:o.COMPRESSED_RGBA_ASTC_6x5_KHR;if(37812===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:o.COMPRESSED_RGBA_ASTC_6x6_KHR;if(37813===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:o.COMPRESSED_RGBA_ASTC_8x5_KHR;if(37814===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:o.COMPRESSED_RGBA_ASTC_8x6_KHR;if(37815===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:o.COMPRESSED_RGBA_ASTC_8x8_KHR;if(37816===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:o.COMPRESSED_RGBA_ASTC_10x5_KHR;if(37817===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:o.COMPRESSED_RGBA_ASTC_10x6_KHR;if(37818===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:o.COMPRESSED_RGBA_ASTC_10x8_KHR;if(37819===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:o.COMPRESSED_RGBA_ASTC_10x10_KHR;if(37820===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:o.COMPRESSED_RGBA_ASTC_12x10_KHR;if(37821===n)return i===I?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:o.COMPRESSED_RGBA_ASTC_12x12_KHR}if(36492===n){if(o=e.get(\\\"EXT_texture_compression_bptc\\\"),null===o)return null;if(36492===n)return i===I?o.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:o.COMPRESSED_RGBA_BPTC_UNORM_EXT}return n===_?r?34042:(o=e.get(\\\"WEBGL_depth_texture\\\"),null!==o?o.UNSIGNED_INT_24_8_WEBGL:null):void 0!==t[n]?t[n]:null}}}class ro extends xn{constructor(t=[]){super(),this.isArrayCamera=!0,this.cameras=t}}class io extends be{constructor(){super(),this.isGroup=!0,this.type=\\\"Group\\\"}}const oo={type:\\\"move\\\"};class ao{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new io,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new io,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new yt,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new yt),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new io,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new yt,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new yt),this._grip}dispatchEvent(t){return null!==this._targetRay&&this._targetRay.dispatchEvent(t),null!==this._grip&&this._grip.dispatchEvent(t),null!==this._hand&&this._hand.dispatchEvent(t),this}disconnect(t){return this.dispatchEvent({type:\\\"disconnected\\\",data:t}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(t,e,n){let r=null,i=null,o=null;const a=this._targetRay,s=this._grip,l=this._hand;if(t&&\\\"visible-blurred\\\"!==e.session.visibilityState){if(l&&t.hand){o=!0;for(const r of t.hand.values()){const t=e.getJointPose(r,n);if(void 0===l.joints[r.jointName]){const t=new io;t.matrixAutoUpdate=!1,t.visible=!1,l.joints[r.jointName]=t,l.add(t)}const i=l.joints[r.jointName];null!==t&&(i.matrix.fromArray(t.transform.matrix),i.matrix.decompose(i.position,i.rotation,i.scale),i.jointRadius=t.radius),i.visible=null!==t}const r=l.joints[\\\"index-finger-tip\\\"],i=l.joints[\\\"thumb-tip\\\"],a=r.position.distanceTo(i.position),s=.02,u=.005;l.inputState.pinching&&a>s+u?(l.inputState.pinching=!1,this.dispatchEvent({type:\\\"pinchend\\\",handedness:t.handedness,target:this})):!l.inputState.pinching&&a<=s-u&&(l.inputState.pinching=!0,this.dispatchEvent({type:\\\"pinchstart\\\",handedness:t.handedness,target:this}))}else null!==s&&t.gripSpace&&(i=e.getPose(t.gripSpace,n),null!==i&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1));null!==a&&(r=e.getPose(t.targetRaySpace,n),null===r&&null!==i&&(r=i),null!==r&&(a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),r.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(r.linearVelocity)):a.hasLinearVelocity=!1,r.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(r.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(oo)))}return null!==a&&(a.visible=null!==r),null!==s&&(s.visible=null!==i),null!==l&&(l.visible=null!==o),this}}class so extends pt{constructor(t,e,n,r,i,o,a,s,l,u){if((u=void 0!==u?u:x)!==x&&u!==w)throw new Error(\\\"DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat\\\");void 0===n&&u===x&&(n=v),void 0===n&&u===w&&(n=_),super(null,r,i,o,a,s,u,n,l),this.isDepthTexture=!0,this.image={width:t,height:e},this.magFilter=void 0!==a?a:p,this.minFilter=void 0!==s?s:p,this.flipY=!1,this.generateMipmaps=!1}}class lo extends ${constructor(t,e){super();const n=this;let r=null,i=1,o=null,a=\\\"local-floor\\\",s=null,l=null,u=null,c=null,h=null,p=null;const f=e.getContextAttributes();let d=null,g=null;const y=[],A=[],C=new xn;C.layers.enable(1),C.viewport=new ft;const M=new xn;M.layers.enable(2),M.viewport=new ft;const E=[C,M],T=new ro;T.layers.enable(1),T.layers.enable(2);let S=null,k=null;function O(t){const e=A.indexOf(t.inputSource);if(-1===e)return;const n=y[e];void 0!==n&&n.dispatchEvent({type:t.type,data:t.inputSource})}function I(){r.removeEventListener(\\\"select\\\",O),r.removeEventListener(\\\"selectstart\\\",O),r.removeEventListener(\\\"selectend\\\",O),r.removeEventListener(\\\"squeeze\\\",O),r.removeEventListener(\\\"squeezestart\\\",O),r.removeEventListener(\\\"squeezeend\\\",O),r.removeEventListener(\\\"end\\\",I),r.removeEventListener(\\\"inputsourceschange\\\",L);for(let t=0;t<y.length;t++){const e=A[t];null!==e&&(A[t]=null,y[t].disconnect(e))}S=null,k=null,t.setRenderTarget(d),h=null,c=null,u=null,r=null,g=null,$.stop(),n.isPresenting=!1,n.dispatchEvent({type:\\\"sessionend\\\"})}function L(t){for(let e=0;e<t.removed.length;e++){const n=t.removed[e],r=A.indexOf(n);r>=0&&(A[r]=null,y[r].dispatchEvent({type:\\\"disconnected\\\",data:n}))}for(let e=0;e<t.added.length;e++){const n=t.added[e];let r=A.indexOf(n);if(-1===r){for(let t=0;t<y.length;t++){if(t>=A.length){A.push(n),r=t;break}if(null===A[t]){A[t]=n,r=t;break}}if(-1===r)break}const i=y[r];i&&i.dispatchEvent({type:\\\"connected\\\",data:n})}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(t){let e=y[t];return void 0===e&&(e=new ao,y[t]=e),e.getTargetRaySpace()},this.getControllerGrip=function(t){let e=y[t];return void 0===e&&(e=new ao,y[t]=e),e.getGripSpace()},this.getHand=function(t){let e=y[t];return void 0===e&&(e=new ao,y[t]=e),e.getHandSpace()},this.setFramebufferScaleFactor=function(t){i=t,!0===n.isPresenting&&console.warn(\\\"THREE.WebXRManager: Cannot change framebuffer scale while presenting.\\\")},this.setReferenceSpaceType=function(t){a=t,!0===n.isPresenting&&console.warn(\\\"THREE.WebXRManager: Cannot change reference space type while presenting.\\\")},this.getReferenceSpace=function(){return s||o},this.setReferenceSpace=function(t){s=t},this.getBaseLayer=function(){return null!==c?c:h},this.getBinding=function(){return u},this.getFrame=function(){return p},this.getSession=function(){return r},this.setSession=async function(l){if(r=l,null!==r){if(d=t.getRenderTarget(),r.addEventListener(\\\"select\\\",O),r.addEventListener(\\\"selectstart\\\",O),r.addEventListener(\\\"selectend\\\",O),r.addEventListener(\\\"squeeze\\\",O),r.addEventListener(\\\"squeezestart\\\",O),r.addEventListener(\\\"squeezeend\\\",O),r.addEventListener(\\\"end\\\",I),r.addEventListener(\\\"inputsourceschange\\\",L),!0!==f.xrCompatible&&await e.makeXRCompatible(),void 0===r.renderState.layers||!1===t.capabilities.isWebGL2){const n={antialias:void 0!==r.renderState.layers||f.antialias,alpha:f.alpha,depth:f.depth,stencil:f.stencil,framebufferScaleFactor:i};h=new XRWebGLLayer(r,e,n),r.updateRenderState({baseLayer:h}),g=new dt(h.framebufferWidth,h.framebufferHeight,{format:b,type:m,encoding:t.outputEncoding})}else{let n=null,o=null,a=null;f.depth&&(a=f.stencil?35056:33190,n=f.stencil?w:x,o=f.stencil?_:v);const s={colorFormat:32856,depthFormat:a,scaleFactor:i};u=new XRWebGLBinding(r,e),c=u.createProjectionLayer(s),r.updateRenderState({layers:[c]}),g=new dt(c.textureWidth,c.textureHeight,{format:b,type:m,depthTexture:new so(c.textureWidth,c.textureHeight,o,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:f.stencil,encoding:t.outputEncoding,samples:f.antialias?4:0}),t.properties.get(g).__ignoreDepthValues=c.ignoreDepthValues}g.isXRRenderTarget=!0,this.setFoveation(1),s=null,o=await r.requestReferenceSpace(a),$.setContext(r),$.start(),n.isPresenting=!0,n.dispatchEvent({type:\\\"sessionstart\\\"})}};const P=new yt,z=new yt;function R(t,e){null===e?t.matrixWorld.copy(t.matrix):t.matrixWorld.multiplyMatrices(e.matrixWorld,t.matrix),t.matrixWorldInverse.copy(t.matrixWorld).invert()}this.updateCamera=function(t){if(null===r)return;T.near=M.near=C.near=t.near,T.far=M.far=C.far=t.far,S===T.near&&k===T.far||(r.updateRenderState({depthNear:T.near,depthFar:T.far}),S=T.near,k=T.far);const e=t.parent,n=T.cameras;R(T,e);for(let t=0;t<n.length;t++)R(n[t],e);T.matrixWorld.decompose(T.position,T.quaternion,T.scale),t.position.copy(T.position),t.quaternion.copy(T.quaternion),t.scale.copy(T.scale),t.matrix.copy(T.matrix),t.matrixWorld.copy(T.matrixWorld);const i=t.children;for(let t=0,e=i.length;t<e;t++)i[t].updateMatrixWorld(!0);2===n.length?function(t,e,n){P.setFromMatrixPosition(e.matrixWorld),z.setFromMatrixPosition(n.matrixWorld);const r=P.distanceTo(z),i=e.projectionMatrix.elements,o=n.projectionMatrix.elements,a=i[14]/(i[10]-1),s=i[14]/(i[10]+1),l=(i[9]+1)/i[5],u=(i[9]-1)/i[5],c=(i[8]-1)/i[0],h=(o[8]+1)/o[0],p=a*c,f=a*h,d=r/(-c+h),m=d*-c;e.matrixWorld.decompose(t.position,t.quaternion,t.scale),t.translateX(m),t.translateZ(d),t.matrixWorld.compose(t.position,t.quaternion,t.scale),t.matrixWorldInverse.copy(t.matrixWorld).invert();const v=a+d,g=s+d,y=p-m,_=f+(r-m),b=l*s/g*v,x=u*s/g*v;t.projectionMatrix.makePerspective(y,_,b,x,v,g)}(T,C,M):T.projectionMatrix.copy(C.projectionMatrix)},this.getCamera=function(){return T},this.getFoveation=function(){return null!==c?c.fixedFoveation:null!==h?h.fixedFoveation:void 0},this.setFoveation=function(t){null!==c&&(c.fixedFoveation=t),null!==h&&void 0!==h.fixedFoveation&&(h.fixedFoveation=t)};let D=null;const $=new Pn;$.setAnimationLoop((function(e,n){if(l=n.getViewerPose(s||o),p=n,null!==l){const e=l.views;null!==h&&(t.setRenderTargetFramebuffer(g,h.framebuffer),t.setRenderTarget(g));let n=!1;e.length!==T.cameras.length&&(T.cameras.length=0,n=!0);for(let r=0;r<e.length;r++){const i=e[r];let o=null;if(null!==h)o=h.getViewport(i);else{const e=u.getViewSubImage(c,i);o=e.viewport,0===r&&(t.setRenderTargetTextures(g,e.colorTexture,c.ignoreDepthValues?void 0:e.depthStencilTexture),t.setRenderTarget(g))}let a=E[r];void 0===a&&(a=new xn,a.layers.enable(r),a.viewport=new ft,E[r]=a),a.matrix.fromArray(i.transform.matrix),a.projectionMatrix.fromArray(i.projectionMatrix),a.viewport.set(o.x,o.y,o.width,o.height),0===r&&T.matrix.copy(a.matrix),!0===n&&T.cameras.push(a)}}for(let t=0;t<y.length;t++){const e=A[t],r=y[t];null!==e&&void 0!==r&&r.update(e,n,s||o)}D&&D(e,n),p=null})),this.setAnimationLoop=function(t){D=t},this.dispose=function(){}}}function uo(t,e){function n(n,r){n.opacity.value=r.opacity,r.color&&n.diffuse.value.copy(r.color),r.emissive&&n.emissive.value.copy(r.emissive).multiplyScalar(r.emissiveIntensity),r.map&&(n.map.value=r.map),r.alphaMap&&(n.alphaMap.value=r.alphaMap),r.bumpMap&&(n.bumpMap.value=r.bumpMap,n.bumpScale.value=r.bumpScale,1===r.side&&(n.bumpScale.value*=-1)),r.displacementMap&&(n.displacementMap.value=r.displacementMap,n.displacementScale.value=r.displacementScale,n.displacementBias.value=r.displacementBias),r.emissiveMap&&(n.emissiveMap.value=r.emissiveMap),r.normalMap&&(n.normalMap.value=r.normalMap,n.normalScale.value.copy(r.normalScale),1===r.side&&n.normalScale.value.negate()),r.specularMap&&(n.specularMap.value=r.specularMap),r.alphaTest>0&&(n.alphaTest.value=r.alphaTest);const i=e.get(r).envMap;if(i&&(n.envMap.value=i,n.flipEnvMap.value=i.isCubeTexture&&!1===i.isRenderTargetTexture?-1:1,n.reflectivity.value=r.reflectivity,n.ior.value=r.ior,n.refractionRatio.value=r.refractionRatio),r.lightMap){n.lightMap.value=r.lightMap;const e=!0!==t.physicallyCorrectLights?Math.PI:1;n.lightMapIntensity.value=r.lightMapIntensity*e}let o,a;r.aoMap&&(n.aoMap.value=r.aoMap,n.aoMapIntensity.value=r.aoMapIntensity),r.map?o=r.map:r.specularMap?o=r.specularMap:r.displacementMap?o=r.displacementMap:r.normalMap?o=r.normalMap:r.bumpMap?o=r.bumpMap:r.roughnessMap?o=r.roughnessMap:r.metalnessMap?o=r.metalnessMap:r.alphaMap?o=r.alphaMap:r.emissiveMap?o=r.emissiveMap:r.clearcoatMap?o=r.clearcoatMap:r.clearcoatNormalMap?o=r.clearcoatNormalMap:r.clearcoatRoughnessMap?o=r.clearcoatRoughnessMap:r.iridescenceMap?o=r.iridescenceMap:r.iridescenceThicknessMap?o=r.iridescenceThicknessMap:r.specularIntensityMap?o=r.specularIntensityMap:r.specularColorMap?o=r.specularColorMap:r.transmissionMap?o=r.transmissionMap:r.thicknessMap?o=r.thicknessMap:r.sheenColorMap?o=r.sheenColorMap:r.sheenRoughnessMap&&(o=r.sheenRoughnessMap),void 0!==o&&(o.isWebGLRenderTarget&&(o=o.texture),!0===o.matrixAutoUpdate&&o.updateMatrix(),n.uvTransform.value.copy(o.matrix)),r.aoMap?a=r.aoMap:r.lightMap&&(a=r.lightMap),void 0!==a&&(a.isWebGLRenderTarget&&(a=a.texture),!0===a.matrixAutoUpdate&&a.updateMatrix(),n.uv2Transform.value.copy(a.matrix))}return{refreshFogUniforms:function(t,e){t.fogColor.value.copy(e.color),e.isFog?(t.fogNear.value=e.near,t.fogFar.value=e.far):e.isFogExp2&&(t.fogDensity.value=e.density)},refreshMaterialUniforms:function(t,r,i,o,a){r.isMeshBasicMaterial||r.isMeshLambertMaterial?n(t,r):r.isMeshToonMaterial?(n(t,r),function(t,e){e.gradientMap&&(t.gradientMap.value=e.gradientMap)}(t,r)):r.isMeshPhongMaterial?(n(t,r),function(t,e){t.specular.value.copy(e.specular),t.shininess.value=Math.max(e.shininess,1e-4)}(t,r)):r.isMeshStandardMaterial?(n(t,r),function(t,n){t.roughness.value=n.roughness,t.metalness.value=n.metalness,n.roughnessMap&&(t.roughnessMap.value=n.roughnessMap),n.metalnessMap&&(t.metalnessMap.value=n.metalnessMap),e.get(n).envMap&&(t.envMapIntensity.value=n.envMapIntensity)}(t,r),r.isMeshPhysicalMaterial&&function(t,e,n){t.ior.value=e.ior,e.sheen>0&&(t.sheenColor.value.copy(e.sheenColor).multiplyScalar(e.sheen),t.sheenRoughness.value=e.sheenRoughness,e.sheenColorMap&&(t.sheenColorMap.value=e.sheenColorMap),e.sheenRoughnessMap&&(t.sheenRoughnessMap.value=e.sheenRoughnessMap)),e.clearcoat>0&&(t.clearcoat.value=e.clearcoat,t.clearcoatRoughness.value=e.clearcoatRoughness,e.clearcoatMap&&(t.clearcoatMap.value=e.clearcoatMap),e.clearcoatRoughnessMap&&(t.clearcoatRoughnessMap.value=e.clearcoatRoughnessMap),e.clearcoatNormalMap&&(t.clearcoatNormalScale.value.copy(e.clearcoatNormalScale),t.clearcoatNormalMap.value=e.clearcoatNormalMap,1===e.side&&t.clearcoatNormalScale.value.negate())),e.iridescence>0&&(t.iridescence.value=e.iridescence,t.iridescenceIOR.value=e.iridescenceIOR,t.iridescenceThicknessMinimum.value=e.iridescenceThicknessRange[0],t.iridescenceThicknessMaximum.value=e.iridescenceThicknessRange[1],e.iridescenceMap&&(t.iridescenceMap.value=e.iridescenceMap),e.iridescenceThicknessMap&&(t.iridescenceThicknessMap.value=e.iridescenceThicknessMap)),e.transmission>0&&(t.transmission.value=e.transmission,t.transmissionSamplerMap.value=n.texture,t.transmissionSamplerSize.value.set(n.width,n.height),e.transmissionMap&&(t.transmissionMap.value=e.transmissionMap),t.thickness.value=e.thickness,e.thicknessMap&&(t.thicknessMap.value=e.thicknessMap),t.attenuationDistance.value=e.attenuationDistance,t.attenuationColor.value.copy(e.attenuationColor)),t.specularIntensity.value=e.specularIntensity,t.specularColor.value.copy(e.specularColor),e.specularIntensityMap&&(t.specularIntensityMap.value=e.specularIntensityMap),e.specularColorMap&&(t.specularColorMap.value=e.specularColorMap)}(t,r,a)):r.isMeshMatcapMaterial?(n(t,r),function(t,e){e.matcap&&(t.matcap.value=e.matcap)}(t,r)):r.isMeshDepthMaterial?n(t,r):r.isMeshDistanceMaterial?(n(t,r),function(t,e){t.referencePosition.value.copy(e.referencePosition),t.nearDistance.value=e.nearDistance,t.farDistance.value=e.farDistance}(t,r)):r.isMeshNormalMaterial?n(t,r):r.isLineBasicMaterial?(function(t,e){t.diffuse.value.copy(e.color),t.opacity.value=e.opacity}(t,r),r.isLineDashedMaterial&&function(t,e){t.dashSize.value=e.dashSize,t.totalSize.value=e.dashSize+e.gapSize,t.scale.value=e.scale}(t,r)):r.isPointsMaterial?function(t,e,n,r){let i;t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.size.value=e.size*n,t.scale.value=.5*r,e.map&&(t.map.value=e.map),e.alphaMap&&(t.alphaMap.value=e.alphaMap),e.alphaTest>0&&(t.alphaTest.value=e.alphaTest),e.map?i=e.map:e.alphaMap&&(i=e.alphaMap),void 0!==i&&(!0===i.matrixAutoUpdate&&i.updateMatrix(),t.uvTransform.value.copy(i.matrix))}(t,r,i,o):r.isSpriteMaterial?function(t,e){let n;t.diffuse.value.copy(e.color),t.opacity.value=e.opacity,t.rotation.value=e.rotation,e.map&&(t.map.value=e.map),e.alphaMap&&(t.alphaMap.value=e.alphaMap),e.alphaTest>0&&(t.alphaTest.value=e.alphaTest),e.map?n=e.map:e.alphaMap&&(n=e.alphaMap),void 0!==n&&(!0===n.matrixAutoUpdate&&n.updateMatrix(),t.uvTransform.value.copy(n.matrix))}(t,r):r.isShadowMaterial?(t.color.value.copy(r.color),t.opacity.value=r.opacity):r.isShaderMaterial&&(r.uniformsNeedUpdate=!1)}}}function co(t,e,n,r){let i={},o={},a=[];const s=n.isWebGL2?t.getParameter(35375):0;function l(t,e,n){const r=t.value;if(void 0===n[e])return n[e]=\\\"number\\\"==typeof r?r:r.clone(),!0;if(\\\"number\\\"==typeof r){if(n[e]!==r)return n[e]=r,!0}else{const t=n[e];if(!1===t.equals(r))return t.copy(r),!0}return!1}function u(t){const e=t.value,n={boundary:0,storage:0};return\\\"number\\\"==typeof e?(n.boundary=4,n.storage=4):e.isVector2?(n.boundary=8,n.storage=8):e.isVector3||e.isColor?(n.boundary=16,n.storage=12):e.isVector4?(n.boundary=16,n.storage=16):e.isMatrix3?(n.boundary=48,n.storage=48):e.isMatrix4?(n.boundary=64,n.storage=64):e.isTexture?console.warn(\\\"THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group.\\\"):console.warn(\\\"THREE.WebGLRenderer: Unsupported uniform value type.\\\",e),n}function c(e){const n=e.target;n.removeEventListener(\\\"dispose\\\",c);const r=a.indexOf(n.__bindingPointIndex);a.splice(r,1),t.deleteBuffer(i[n.id]),delete i[n.id],delete o[n.id]}return{bind:function(t,e){const n=e.program;r.uniformBlockBinding(t,n)},update:function(n,h){let p=i[n.id];void 0===p&&(function(t){const e=t.uniforms;let n=0;let r=0;for(let t=0,i=e.length;t<i;t++){const i=e[t],o=u(i);if(i.__data=new Float32Array(o.storage/Float32Array.BYTES_PER_ELEMENT),i.__offset=n,t>0){r=n%16;const t=16-r;0!==r&&t-o.boundary<0&&(n+=16-r,i.__offset=n)}n+=o.storage}r=n%16,r>0&&(n+=16-r),t.__size=n,t.__cache={}}(n),p=function(e){const n=function(){for(let t=0;t<s;t++)if(-1===a.indexOf(t))return a.push(t),t;return console.error(\\\"THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached.\\\"),0}();e.__bindingPointIndex=n;const r=t.createBuffer(),i=e.__size,o=e.usage;return t.bindBuffer(35345,r),t.bufferData(35345,i,o),t.bindBuffer(35345,null),t.bindBufferBase(35345,n,r),r}(n),i[n.id]=p,n.addEventListener(\\\"dispose\\\",c));const f=h.program;r.updateUBOMapping(n,f);const d=e.render.frame;o[n.id]!==d&&(function(e){const n=i[e.id],r=e.uniforms,o=e.__cache;t.bindBuffer(35345,n);for(let e=0,n=r.length;e<n;e++){const n=r[e];if(!0===l(n,e,o)){const e=n.value,r=n.__offset;\\\"number\\\"==typeof e?(n.__data[0]=e,t.bufferSubData(35345,r,n.__data)):(n.value.isMatrix3?(n.__data[0]=n.value.elements[0],n.__data[1]=n.value.elements[1],n.__data[2]=n.value.elements[2],n.__data[3]=n.value.elements[0],n.__data[4]=n.value.elements[3],n.__data[5]=n.value.elements[4],n.__data[6]=n.value.elements[5],n.__data[7]=n.value.elements[0],n.__data[8]=n.value.elements[6],n.__data[9]=n.value.elements[7],n.__data[10]=n.value.elements[8],n.__data[11]=n.value.elements[0]):e.toArray(n.__data),t.bufferSubData(35345,r,n.__data))}}t.bindBuffer(35345,null)}(n),o[n.id]=d)},dispose:function(){for(const e in i)t.deleteBuffer(i[e]);a=[],i={},o={}}}}function ho(t={}){this.isWebGLRenderer=!0;const e=void 0!==t.canvas?t.canvas:function(){const t=Y(\\\"canvas\\\");return t.style.display=\\\"block\\\",t}(),n=void 0!==t.context?t.context:null,r=void 0===t.depth||t.depth,i=void 0===t.stencil||t.stencil,o=void 0!==t.antialias&&t.antialias,a=void 0===t.premultipliedAlpha||t.premultipliedAlpha,s=void 0!==t.preserveDrawingBuffer&&t.preserveDrawingBuffer,l=void 0!==t.powerPreference?t.powerPreference:\\\"default\\\",u=void 0!==t.failIfMajorPerformanceCaveat&&t.failIfMajorPerformanceCaveat;let c;c=null!==n?n.getContextAttributes().alpha:void 0!==t.alpha&&t.alpha;let h=null,p=null;const f=[],v=[];this.domElement=e,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=O,this.physicallyCorrectLights=!1,this.toneMapping=0,this.toneMappingExposure=1,Object.defineProperties(this,{gammaFactor:{get:function(){return console.warn(\\\"THREE.WebGLRenderer: .gammaFactor has been removed.\\\"),2},set:function(){console.warn(\\\"THREE.WebGLRenderer: .gammaFactor has been removed.\\\")}}});const _=this;let x=!1,w=0,A=0,C=null,M=-1,E=null;const T=new ft,S=new ft;let k=null,I=e.width,L=e.height,P=1,z=null,R=null;const D=new ft(0,0,I,L),$=new ft(0,0,I,L);let B=!1;const N=new Ln;let F=!1,j=!1,U=null;const q=new Yt,V=new G,W=new yt,X={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Z(){return null===C?P:1}let K,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ut,ct,ht,pt,mt,vt,gt,_t,bt,xt,wt,At,Ct=n;function Mt(t,n){for(let r=0;r<t.length;r++){const i=t[r],o=e.getContext(i,n);if(null!==o)return o}return null}try{const t={alpha:!0,depth:r,stencil:i,antialias:o,premultipliedAlpha:a,preserveDrawingBuffer:s,powerPreference:l,failIfMajorPerformanceCaveat:u};if(\\\"setAttribute\\\"in e&&e.setAttribute(\\\"data-engine\\\",\\\"three.js r143\\\"),e.addEventListener(\\\"webglcontextlost\\\",St,!1),e.addEventListener(\\\"webglcontextrestored\\\",kt,!1),e.addEventListener(\\\"webglcontextcreationerror\\\",Ot,!1),null===Ct){const e=[\\\"webgl2\\\",\\\"webgl\\\",\\\"experimental-webgl\\\"];if(!0===_.isWebGL1Renderer&&e.shift(),Ct=Mt(e,t),null===Ct)throw Mt(e)?new Error(\\\"Error creating WebGL context with your selected attributes.\\\"):new Error(\\\"Error creating WebGL context.\\\")}void 0===Ct.getShaderPrecisionFormat&&(Ct.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(t){throw console.error(\\\"THREE.WebGLRenderer: \\\"+t.message),t}function Et(){K=new or(Ct),J=new Un(Ct,K,t),K.init(J),xt=new no(Ct,K,J),Q=new to(Ct,K,J),tt=new lr,et=new Fi,nt=new eo(Ct,K,Q,et,J,xt,tt),rt=new Vn(_),it=new ir(_),ot=new zn(Ct,J),wt=new Fn(Ct,K,ot,J),at=new ar(Ct,ot,tt,wt),st=new fr(Ct,at,ot,tt),gt=new pr(Ct,J,nt),pt=new qn(et),lt=new Ni(_,rt,it,K,J,wt,pt),ut=new uo(_,et),ct=new Vi,ht=new Zi(K,J),vt=new Nn(_,rt,Q,st,c,a),mt=new Qi(_,st,J),At=new co(Ct,tt,J,Q),_t=new jn(Ct,K,tt,J),bt=new sr(Ct,K,tt,J),tt.programs=lt.programs,_.capabilities=J,_.extensions=K,_.properties=et,_.renderLists=ct,_.shadowMap=mt,_.state=Q,_.info=tt}Et();const Tt=new lo(_,Ct);function St(t){t.preventDefault(),console.log(\\\"THREE.WebGLRenderer: Context Lost.\\\"),x=!0}function kt(){console.log(\\\"THREE.WebGLRenderer: Context Restored.\\\"),x=!1;const t=tt.autoReset,e=mt.enabled,n=mt.autoUpdate,r=mt.needsUpdate,i=mt.type;Et(),tt.autoReset=t,mt.enabled=e,mt.autoUpdate=n,mt.needsUpdate=r,mt.type=i}function Ot(t){console.error(\\\"THREE.WebGLRenderer: A WebGL context could not be created. Reason: \\\",t.statusMessage)}function It(t){const e=t.target;e.removeEventListener(\\\"dispose\\\",It),function(t){(function(t){const e=et.get(t).programs;void 0!==e&&(e.forEach((function(t){lt.releaseProgram(t)})),t.isShaderMaterial&&lt.releaseShaderCache(t))})(t),et.remove(t)}(e)}this.xr=Tt,this.getContext=function(){return Ct},this.getContextAttributes=function(){return Ct.getContextAttributes()},this.forceContextLoss=function(){const t=K.get(\\\"WEBGL_lose_context\\\");t&&t.loseContext()},this.forceContextRestore=function(){const t=K.get(\\\"WEBGL_lose_context\\\");t&&t.restoreContext()},this.getPixelRatio=function(){return P},this.setPixelRatio=function(t){void 0!==t&&(P=t,this.setSize(I,L,!1))},this.getSize=function(t){return t.set(I,L)},this.setSize=function(t,n,r){Tt.isPresenting?console.warn(\\\"THREE.WebGLRenderer: Can't change size while VR device is presenting.\\\"):(I=t,L=n,e.width=Math.floor(t*P),e.height=Math.floor(n*P),!1!==r&&(e.style.width=t+\\\"px\\\",e.style.height=n+\\\"px\\\"),this.setViewport(0,0,t,n))},this.getDrawingBufferSize=function(t){return t.set(I*P,L*P).floor()},this.setDrawingBufferSize=function(t,n,r){I=t,L=n,P=r,e.width=Math.floor(t*r),e.height=Math.floor(n*r),this.setViewport(0,0,t,n)},this.getCurrentViewport=function(t){return t.copy(T)},this.getViewport=function(t){return t.copy(D)},this.setViewport=function(t,e,n,r){t.isVector4?D.set(t.x,t.y,t.z,t.w):D.set(t,e,n,r),Q.viewport(T.copy(D).multiplyScalar(P).floor())},this.getScissor=function(t){return t.copy($)},this.setScissor=function(t,e,n,r){t.isVector4?$.set(t.x,t.y,t.z,t.w):$.set(t,e,n,r),Q.scissor(S.copy($).multiplyScalar(P).floor())},this.getScissorTest=function(){return B},this.setScissorTest=function(t){Q.setScissorTest(B=t)},this.setOpaqueSort=function(t){z=t},this.setTransparentSort=function(t){R=t},this.getClearColor=function(t){return t.copy(vt.getClearColor())},this.setClearColor=function(){vt.setClearColor.apply(vt,arguments)},this.getClearAlpha=function(){return vt.getClearAlpha()},this.setClearAlpha=function(){vt.setClearAlpha.apply(vt,arguments)},this.clear=function(t=!0,e=!0,n=!0){let r=0;t&&(r|=16384),e&&(r|=256),n&&(r|=1024),Ct.clear(r)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){e.removeEventListener(\\\"webglcontextlost\\\",St,!1),e.removeEventListener(\\\"webglcontextrestored\\\",kt,!1),e.removeEventListener(\\\"webglcontextcreationerror\\\",Ot,!1),ct.dispose(),ht.dispose(),et.dispose(),rt.dispose(),it.dispose(),st.dispose(),wt.dispose(),At.dispose(),lt.dispose(),Tt.dispose(),Tt.removeEventListener(\\\"sessionstart\\\",Pt),Tt.removeEventListener(\\\"sessionend\\\",zt),U&&(U.dispose(),U=null),Rt.stop()},this.renderBufferDirect=function(t,e,n,r,i,o){null===e&&(e=X);const a=i.isMesh&&i.matrixWorld.determinant()<0,s=function(t,e,n,r,i){!0!==e.isScene&&(e=X),nt.resetTextureUnits();const o=e.fog,a=r.isMeshStandardMaterial?e.environment:null,s=null===C?_.outputEncoding:!0===C.isXRRenderTarget?C.texture.encoding:O,l=(r.isMeshStandardMaterial?it:rt).get(r.envMap||a),u=!0===r.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,c=!!r.normalMap&&!!n.attributes.tangent,h=!!n.morphAttributes.position,f=!!n.morphAttributes.normal,d=!!n.morphAttributes.color,m=r.toneMapped?_.toneMapping:0,v=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,g=void 0!==v?v.length:0,y=et.get(r),b=p.state.lights;if(!0===F&&(!0===j||t!==E)){const e=t===E&&r.id===M;pt.setState(r,t,e)}let x=!1;r.version===y.__version?y.needsLights&&y.lightsStateVersion!==b.state.version||y.outputEncoding!==s||i.isInstancedMesh&&!1===y.instancing?x=!0:i.isInstancedMesh||!0!==y.instancing?i.isSkinnedMesh&&!1===y.skinning?x=!0:i.isSkinnedMesh||!0!==y.skinning?y.envMap!==l||!0===r.fog&&y.fog!==o?x=!0:void 0===y.numClippingPlanes||y.numClippingPlanes===pt.numPlanes&&y.numIntersection===pt.numIntersection?(y.vertexAlphas!==u||y.vertexTangents!==c||y.morphTargets!==h||y.morphNormals!==f||y.morphColors!==d||y.toneMapping!==m||!0===J.isWebGL2&&y.morphTargetsCount!==g)&&(x=!0):x=!0:x=!0:x=!0:(x=!0,y.__version=r.version);let w=y.currentProgram;!0===x&&(w=Ft(r,e,i));let A=!1,T=!1,S=!1;const k=w.getUniforms(),I=y.uniforms;if(Q.useProgram(w.program)&&(A=!0,T=!0,S=!0),r.id!==M&&(M=r.id,T=!0),A||E!==t){if(k.setValue(Ct,\\\"projectionMatrix\\\",t.projectionMatrix),J.logarithmicDepthBuffer&&k.setValue(Ct,\\\"logDepthBufFC\\\",2/(Math.log(t.far+1)/Math.LN2)),E!==t&&(E=t,T=!0,S=!0),r.isShaderMaterial||r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshStandardMaterial||r.envMap){const e=k.map.cameraPosition;void 0!==e&&e.setValue(Ct,W.setFromMatrixPosition(t.matrixWorld))}(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial)&&k.setValue(Ct,\\\"isOrthographic\\\",!0===t.isOrthographicCamera),(r.isMeshPhongMaterial||r.isMeshToonMaterial||r.isMeshLambertMaterial||r.isMeshBasicMaterial||r.isMeshStandardMaterial||r.isShaderMaterial||r.isShadowMaterial||i.isSkinnedMesh)&&k.setValue(Ct,\\\"viewMatrix\\\",t.matrixWorldInverse)}if(i.isSkinnedMesh){k.setOptional(Ct,i,\\\"bindMatrix\\\"),k.setOptional(Ct,i,\\\"bindMatrixInverse\\\");const t=i.skeleton;t&&(J.floatVertexTextures?(null===t.boneTexture&&t.computeBoneTexture(),k.setValue(Ct,\\\"boneTexture\\\",t.boneTexture,nt),k.setValue(Ct,\\\"boneTextureSize\\\",t.boneTextureSize)):console.warn(\\\"THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required.\\\"))}const z=n.morphAttributes;var R,D;if((void 0!==z.position||void 0!==z.normal||void 0!==z.color&&!0===J.isWebGL2)&&gt.update(i,n,r,w),(T||y.receiveShadow!==i.receiveShadow)&&(y.receiveShadow=i.receiveShadow,k.setValue(Ct,\\\"receiveShadow\\\",i.receiveShadow)),T&&(k.setValue(Ct,\\\"toneMappingExposure\\\",_.toneMappingExposure),y.needsLights&&(D=S,(R=I).ambientLightColor.needsUpdate=D,R.lightProbe.needsUpdate=D,R.directionalLights.needsUpdate=D,R.directionalLightShadows.needsUpdate=D,R.pointLights.needsUpdate=D,R.pointLightShadows.needsUpdate=D,R.spotLights.needsUpdate=D,R.spotLightShadows.needsUpdate=D,R.rectAreaLights.needsUpdate=D,R.hemisphereLights.needsUpdate=D),o&&!0===r.fog&&ut.refreshFogUniforms(I,o),ut.refreshMaterialUniforms(I,r,P,L,U),gi.upload(Ct,y.uniformsList,I,nt)),r.isShaderMaterial&&!0===r.uniformsNeedUpdate&&(gi.upload(Ct,y.uniformsList,I,nt),r.uniformsNeedUpdate=!1),r.isSpriteMaterial&&k.setValue(Ct,\\\"center\\\",i.center),k.setValue(Ct,\\\"modelViewMatrix\\\",i.modelViewMatrix),k.setValue(Ct,\\\"normalMatrix\\\",i.normalMatrix),k.setValue(Ct,\\\"modelMatrix\\\",i.matrixWorld),r.isShaderMaterial||r.isRawShaderMaterial){const t=r.uniformsGroups;for(let e=0,n=t.length;e<n;e++)if(J.isWebGL2){const n=t[e];At.update(n,w),At.bind(n,w)}else console.warn(\\\"THREE.WebGLRenderer: Uniform Buffer Objects can only be used with WebGL 2.\\\")}return w}(t,e,n,r,i);Q.setMaterial(r,a);let l=n.index;const u=n.attributes.position;if(null===l){if(void 0===u||0===u.count)return}else if(0===l.count)return;let c,h=1;!0===r.wireframe&&(l=at.getWireframeAttribute(n),h=2),wt.setup(i,r,s,n,l);let f=_t;null!==l&&(c=ot.get(l),f=bt,f.setIndex(c));const d=null!==l?l.count:u.count,m=n.drawRange.start*h,v=n.drawRange.count*h,g=null!==o?o.start*h:0,y=null!==o?o.count*h:1/0,b=Math.max(m,g),x=Math.min(d,m+v,g+y)-1,w=Math.max(0,x-b+1);if(0!==w){if(i.isMesh)!0===r.wireframe?(Q.setLineWidth(r.wireframeLinewidth*Z()),f.setMode(1)):f.setMode(4);else if(i.isLine){let t=r.linewidth;void 0===t&&(t=1),Q.setLineWidth(t*Z()),i.isLineSegments?f.setMode(1):i.isLineLoop?f.setMode(2):f.setMode(3)}else i.isPoints?f.setMode(0):i.isSprite&&f.setMode(4);if(i.isInstancedMesh)f.renderInstances(b,w,i.count);else if(n.isInstancedBufferGeometry){const t=Math.min(n.instanceCount,n._maxInstanceCount);f.renderInstances(b,w,t)}else f.render(b,w)}},this.compile=function(t,e){p=ht.get(t),p.init(),v.push(p),t.traverseVisible((function(t){t.isLight&&t.layers.test(e.layers)&&(p.pushLight(t),t.castShadow&&p.pushShadow(t))})),p.setupLights(_.physicallyCorrectLights),t.traverse((function(e){const n=e.material;if(n)if(Array.isArray(n))for(let r=0;r<n.length;r++)Ft(n[r],t,e);else Ft(n,t,e)})),v.pop(),p=null};let Lt=null;function Pt(){Rt.stop()}function zt(){Rt.start()}const Rt=new Pn;function Dt(t,e,n,r){if(!1===t.visible)return;if(t.layers.test(e.layers))if(t.isGroup)n=t.renderOrder;else if(t.isLOD)!0===t.autoUpdate&&t.update(e);else if(t.isLight)p.pushLight(t),t.castShadow&&p.pushShadow(t);else if(t.isSprite){if(!t.frustumCulled||N.intersectsSprite(t)){r&&W.setFromMatrixPosition(t.matrixWorld).applyMatrix4(q);const e=st.update(t),i=t.material;i.visible&&h.push(t,e,i,n,W.z,null)}}else if((t.isMesh||t.isLine||t.isPoints)&&(t.isSkinnedMesh&&t.skeleton.frame!==tt.render.frame&&(t.skeleton.update(),t.skeleton.frame=tt.render.frame),!t.frustumCulled||N.intersectsObject(t))){r&&W.setFromMatrixPosition(t.matrixWorld).applyMatrix4(q);const e=st.update(t),i=t.material;if(Array.isArray(i)){const r=e.groups;for(let o=0,a=r.length;o<a;o++){const a=r[o],s=i[a.materialIndex];s&&s.visible&&h.push(t,e,s,n,W.z,a)}}else i.visible&&h.push(t,e,i,n,W.z,null)}const i=t.children;for(let t=0,o=i.length;t<o;t++)Dt(i[t],e,n,r)}function $t(t,e,n,r){const i=t.opaque,a=t.transmissive,s=t.transparent;p.setupLightsView(n),a.length>0&&function(t,e,n){const r=J.isWebGL2;null===U&&(U=new dt(1,1,{generateMipmaps:!0,type:K.has(\\\"EXT_color_buffer_half_float\\\")?y:m,minFilter:d,samples:r&&!0===o?4:0})),_.getDrawingBufferSize(V),r?U.setSize(V.x,V.y):U.setSize(H(V.x),H(V.y));const i=_.getRenderTarget();_.setRenderTarget(U),_.clear();const a=_.toneMapping;_.toneMapping=0,Bt(t,e,n),_.toneMapping=a,nt.updateMultisampleRenderTarget(U),nt.updateRenderTargetMipmap(U),_.setRenderTarget(i)}(i,e,n),r&&Q.viewport(T.copy(r)),i.length>0&&Bt(i,e,n),a.length>0&&Bt(a,e,n),s.length>0&&Bt(s,e,n),Q.buffers.depth.setTest(!0),Q.buffers.depth.setMask(!0),Q.buffers.color.setMask(!0),Q.setPolygonOffset(!1)}function Bt(t,e,n){const r=!0===e.isScene?e.overrideMaterial:null;for(let i=0,o=t.length;i<o;i++){const o=t[i],a=o.object,s=o.geometry,l=null===r?o.material:r,u=o.group;a.layers.test(n.layers)&&Nt(a,e,n,s,l,u)}}function Nt(t,e,n,r,i,o){t.onBeforeRender(_,e,n,r,i,o),t.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,t.matrixWorld),t.normalMatrix.getNormalMatrix(t.modelViewMatrix),i.onBeforeRender(_,e,n,r,t,o),!0===i.transparent&&2===i.side?(i.side=1,i.needsUpdate=!0,_.renderBufferDirect(n,e,r,i,t,o),i.side=0,i.needsUpdate=!0,_.renderBufferDirect(n,e,r,i,t,o),i.side=2):_.renderBufferDirect(n,e,r,i,t,o),t.onAfterRender(_,e,n,r,i,o)}function Ft(t,e,n){!0!==e.isScene&&(e=X);const r=et.get(t),i=p.state.lights,o=p.state.shadowsArray,a=i.state.version,s=lt.getParameters(t,i.state,o,e,n),l=lt.getProgramCacheKey(s);let u=r.programs;r.environment=t.isMeshStandardMaterial?e.environment:null,r.fog=e.fog,r.envMap=(t.isMeshStandardMaterial?it:rt).get(t.envMap||r.environment),void 0===u&&(t.addEventListener(\\\"dispose\\\",It),u=new Map,r.programs=u);let c=u.get(l);if(void 0!==c){if(r.currentProgram===c&&r.lightsStateVersion===a)return jt(t,s),c}else s.uniforms=lt.getUniforms(t),t.onBuild(n,s,_),t.onBeforeCompile(s,_),c=lt.acquireProgram(s,l),u.set(l,c),r.uniforms=s.uniforms;const h=r.uniforms;(t.isShaderMaterial||t.isRawShaderMaterial)&&!0!==t.clipping||(h.clippingPlanes=pt.uniform),jt(t,s),r.needsLights=function(t){return t.isMeshLambertMaterial||t.isMeshToonMaterial||t.isMeshPhongMaterial||t.isMeshStandardMaterial||t.isShadowMaterial||t.isShaderMaterial&&!0===t.lights}(t),r.lightsStateVersion=a,r.needsLights&&(h.ambientLightColor.value=i.state.ambient,h.lightProbe.value=i.state.probe,h.directionalLights.value=i.state.directional,h.directionalLightShadows.value=i.state.directionalShadow,h.spotLights.value=i.state.spot,h.spotLightShadows.value=i.state.spotShadow,h.rectAreaLights.value=i.state.rectArea,h.ltc_1.value=i.state.rectAreaLTC1,h.ltc_2.value=i.state.rectAreaLTC2,h.pointLights.value=i.state.point,h.pointLightShadows.value=i.state.pointShadow,h.hemisphereLights.value=i.state.hemi,h.directionalShadowMap.value=i.state.directionalShadowMap,h.directionalShadowMatrix.value=i.state.directionalShadowMatrix,h.spotShadowMap.value=i.state.spotShadowMap,h.spotShadowMatrix.value=i.state.spotShadowMatrix,h.pointShadowMap.value=i.state.pointShadowMap,h.pointShadowMatrix.value=i.state.pointShadowMatrix);const f=c.getUniforms(),d=gi.seqWithValue(f.seq,h);return r.currentProgram=c,r.uniformsList=d,c}function jt(t,e){const n=et.get(t);n.outputEncoding=e.outputEncoding,n.instancing=e.instancing,n.skinning=e.skinning,n.morphTargets=e.morphTargets,n.morphNormals=e.morphNormals,n.morphColors=e.morphColors,n.morphTargetsCount=e.morphTargetsCount,n.numClippingPlanes=e.numClippingPlanes,n.numIntersection=e.numClipIntersection,n.vertexAlphas=e.vertexAlphas,n.vertexTangents=e.vertexTangents,n.toneMapping=e.toneMapping}Rt.setAnimationLoop((function(t){Lt&&Lt(t)})),\\\"undefined\\\"!=typeof self&&Rt.setContext(self),this.setAnimationLoop=function(t){Lt=t,Tt.setAnimationLoop(t),null===t?Rt.stop():Rt.start()},Tt.addEventListener(\\\"sessionstart\\\",Pt),Tt.addEventListener(\\\"sessionend\\\",zt),this.render=function(t,e){if(void 0!==e&&!0!==e.isCamera)return void console.error(\\\"THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.\\\");if(!0===x)return;!0===t.autoUpdate&&t.updateMatrixWorld(),null===e.parent&&e.updateMatrixWorld(),!0===Tt.enabled&&!0===Tt.isPresenting&&(!0===Tt.cameraAutoUpdate&&Tt.updateCamera(e),e=Tt.getCamera()),!0===t.isScene&&t.onBeforeRender(_,t,e,C),p=ht.get(t,v.length),p.init(),v.push(p),q.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),N.setFromProjectionMatrix(q),j=this.localClippingEnabled,F=pt.init(this.clippingPlanes,j,e),h=ct.get(t,f.length),h.init(),f.push(h),Dt(t,e,0,_.sortObjects),h.finish(),!0===_.sortObjects&&h.sort(z,R),!0===F&&pt.beginShadows();const n=p.state.shadowsArray;if(mt.render(n,t,e),!0===F&&pt.endShadows(),!0===this.info.autoReset&&this.info.reset(),vt.render(h,t),p.setupLights(_.physicallyCorrectLights),e.isArrayCamera){const n=e.cameras;for(let e=0,r=n.length;e<r;e++){const r=n[e];$t(h,t,r,r.viewport)}}else $t(h,t,e);null!==C&&(nt.updateMultisampleRenderTarget(C),nt.updateRenderTargetMipmap(C)),!0===t.isScene&&t.onAfterRender(_,t,e),wt.resetDefaultState(),M=-1,E=null,v.pop(),p=v.length>0?v[v.length-1]:null,f.pop(),h=f.length>0?f[f.length-1]:null},this.getActiveCubeFace=function(){return w},this.getActiveMipmapLevel=function(){return A},this.getRenderTarget=function(){return C},this.setRenderTargetTextures=function(t,e,n){et.get(t.texture).__webglTexture=e,et.get(t.depthTexture).__webglTexture=n;const r=et.get(t);r.__hasExternalTextures=!0,r.__hasExternalTextures&&(r.__autoAllocateDepthBuffer=void 0===n,r.__autoAllocateDepthBuffer||!0===K.has(\\\"WEBGL_multisampled_render_to_texture\\\")&&(console.warn(\\\"THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided\\\"),r.__useRenderToTexture=!1))},this.setRenderTargetFramebuffer=function(t,e){const n=et.get(t);n.__webglFramebuffer=e,n.__useDefaultFramebuffer=void 0===e},this.setRenderTarget=function(t,e=0,n=0){C=t,w=e,A=n;let r=!0;if(t){const e=et.get(t);void 0!==e.__useDefaultFramebuffer?(Q.bindFramebuffer(36160,null),r=!1):void 0===e.__webglFramebuffer?nt.setupRenderTarget(t):e.__hasExternalTextures&&nt.rebindTextures(t,et.get(t.texture).__webglTexture,et.get(t.depthTexture).__webglTexture)}let i=null,o=!1,a=!1;if(t){const n=t.texture;(n.isData3DTexture||n.isDataArrayTexture)&&(a=!0);const r=et.get(t).__webglFramebuffer;t.isWebGLCubeRenderTarget?(i=r[e],o=!0):i=J.isWebGL2&&t.samples>0&&!1===nt.useMultisampledRTT(t)?et.get(t).__webglMultisampledFramebuffer:r,T.copy(t.viewport),S.copy(t.scissor),k=t.scissorTest}else T.copy(D).multiplyScalar(P).floor(),S.copy($).multiplyScalar(P).floor(),k=B;if(Q.bindFramebuffer(36160,i)&&J.drawBuffers&&r&&Q.drawBuffers(t,i),Q.viewport(T),Q.scissor(S),Q.setScissorTest(k),o){const r=et.get(t.texture);Ct.framebufferTexture2D(36160,36064,34069+e,r.__webglTexture,n)}else if(a){const r=et.get(t.texture),i=e||0;Ct.framebufferTextureLayer(36160,36064,r.__webglTexture,n||0,i)}M=-1},this.readRenderTargetPixels=function(t,e,n,r,i,o,a){if(!t||!t.isWebGLRenderTarget)return void console.error(\\\"THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.\\\");let s=et.get(t).__webglFramebuffer;if(t.isWebGLCubeRenderTarget&&void 0!==a&&(s=s[a]),s){Q.bindFramebuffer(36160,s);try{const a=t.texture,s=a.format,l=a.type;if(s!==b&&xt.convert(s)!==Ct.getParameter(35739))return void console.error(\\\"THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.\\\");const u=l===y&&(K.has(\\\"EXT_color_buffer_half_float\\\")||J.isWebGL2&&K.has(\\\"EXT_color_buffer_float\\\"));if(!(l===m||xt.convert(l)===Ct.getParameter(35738)||l===g&&(J.isWebGL2||K.has(\\\"OES_texture_float\\\")||K.has(\\\"WEBGL_color_buffer_float\\\"))||u))return void console.error(\\\"THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.\\\");e>=0&&e<=t.width-r&&n>=0&&n<=t.height-i&&Ct.readPixels(e,n,r,i,xt.convert(s),xt.convert(l),o)}finally{const t=null!==C?et.get(C).__webglFramebuffer:null;Q.bindFramebuffer(36160,t)}}},this.copyFramebufferToTexture=function(t,e,n=0){const r=Math.pow(2,-n),i=Math.floor(e.image.width*r),o=Math.floor(e.image.height*r);nt.setTexture2D(e,0),Ct.copyTexSubImage2D(3553,n,0,0,t.x,t.y,i,o),Q.unbindTexture()},this.copyTextureToTexture=function(t,e,n,r=0){const i=e.image.width,o=e.image.height,a=xt.convert(n.format),s=xt.convert(n.type);nt.setTexture2D(n,0),Ct.pixelStorei(37440,n.flipY),Ct.pixelStorei(37441,n.premultiplyAlpha),Ct.pixelStorei(3317,n.unpackAlignment),e.isDataTexture?Ct.texSubImage2D(3553,r,t.x,t.y,i,o,a,s,e.image.data):e.isCompressedTexture?Ct.compressedTexSubImage2D(3553,r,t.x,t.y,e.mipmaps[0].width,e.mipmaps[0].height,a,e.mipmaps[0].data):Ct.texSubImage2D(3553,r,t.x,t.y,a,s,e.image),0===r&&n.generateMipmaps&&Ct.generateMipmap(3553),Q.unbindTexture()},this.copyTextureToTexture3D=function(t,e,n,r,i=0){if(_.isWebGL1Renderer)return void console.warn(\\\"THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.\\\");const o=t.max.x-t.min.x+1,a=t.max.y-t.min.y+1,s=t.max.z-t.min.z+1,l=xt.convert(r.format),u=xt.convert(r.type);let c;if(r.isData3DTexture)nt.setTexture3D(r,0),c=32879;else{if(!r.isDataArrayTexture)return void console.warn(\\\"THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.\\\");nt.setTexture2DArray(r,0),c=35866}Ct.pixelStorei(37440,r.flipY),Ct.pixelStorei(37441,r.premultiplyAlpha),Ct.pixelStorei(3317,r.unpackAlignment);const h=Ct.getParameter(3314),p=Ct.getParameter(32878),f=Ct.getParameter(3316),d=Ct.getParameter(3315),m=Ct.getParameter(32877),v=n.isCompressedTexture?n.mipmaps[0]:n.image;Ct.pixelStorei(3314,v.width),Ct.pixelStorei(32878,v.height),Ct.pixelStorei(3316,t.min.x),Ct.pixelStorei(3315,t.min.y),Ct.pixelStorei(32877,t.min.z),n.isDataTexture||n.isData3DTexture?Ct.texSubImage3D(c,i,e.x,e.y,e.z,o,a,s,l,u,v.data):n.isCompressedTexture?(console.warn(\\\"THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture.\\\"),Ct.compressedTexSubImage3D(c,i,e.x,e.y,e.z,o,a,s,l,v.data)):Ct.texSubImage3D(c,i,e.x,e.y,e.z,o,a,s,l,u,v),Ct.pixelStorei(3314,h),Ct.pixelStorei(32878,p),Ct.pixelStorei(3316,f),Ct.pixelStorei(3315,d),Ct.pixelStorei(32877,m),0===i&&r.generateMipmaps&&Ct.generateMipmap(c),Q.unbindTexture()},this.initTexture=function(t){t.isCubeTexture?nt.setTextureCube(t,0):t.isData3DTexture?nt.setTexture3D(t,0):t.isDataArrayTexture?nt.setTexture2DArray(t,0):nt.setTexture2D(t,0),Q.unbindTexture()},this.resetState=function(){w=0,A=0,C=null,Q.reset(),wt.reset()},\\\"undefined\\\"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(\\\"observe\\\",{detail:this}))}function po(t,e,n){return mo(t)?new t.constructor(t.subarray(e,void 0!==n?n:t.length)):t.slice(e,n)}function fo(t,e,n){return!t||!n&&t.constructor===e?t:\\\"number\\\"==typeof e.BYTES_PER_ELEMENT?new e(t):Array.prototype.slice.call(t)}function mo(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(class extends ho{}).prototype.isWebGL1Renderer=!0;class vo{constructor(t,e,n,r){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=void 0!==r?r:new e.constructor(n),this.sampleValues=e,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(t){const e=this.parameterPositions;let n=this._cachedIndex,r=e[n],i=e[n-1];t:{e:{let o;n:{r:if(!(t<r)){for(let o=n+2;;){if(void 0===r){if(t<i)break r;return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===o)break;if(i=r,r=e[++n],t<r)break e}o=e.length;break n}if(t>=i)break t;{const a=e[1];t<a&&(n=2,i=a);for(let o=n-2;;){if(void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(n===o)break;if(r=i,i=e[--n-1],t>=i)break e}o=n,n=0}}for(;n<o;){const r=n+o>>>1;t<e[r]?o=r:n=r+1}if(r=e[n],i=e[n-1],void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===r)return n=e.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,i,r)}return this.interpolate_(n,i,t,r)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(t){const e=this.resultBuffer,n=this.sampleValues,r=this.valueSize,i=t*r;for(let t=0;t!==r;++t)e[t]=n[i+t];return e}interpolate_(){throw new Error(\\\"call to abstract method\\\")}intervalChanged_(){}}class go extends vo{constructor(t,e,n,r){super(t,e,n,r),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:2400,endingEnd:2400}}intervalChanged_(t,e,n){const r=this.parameterPositions;let i=t-2,o=t+1,a=r[i],s=r[o];if(void 0===a)switch(this.getSettings_().endingStart){case 2401:i=t,a=2*e-n;break;case 2402:i=r.length-2,a=e+r[i]-r[i+1];break;default:i=t,a=n}if(void 0===s)switch(this.getSettings_().endingEnd){case 2401:o=t,s=2*n-e;break;case 2402:o=1,s=n+r[1]-r[0];break;default:o=t-1,s=e}const l=.5*(n-e),u=this.valueSize;this._weightPrev=l/(e-a),this._weightNext=l/(s-n),this._offsetPrev=i*u,this._offsetNext=o*u}interpolate_(t,e,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=t*a,l=s-a,u=this._offsetPrev,c=this._offsetNext,h=this._weightPrev,p=this._weightNext,f=(n-e)/(r-e),d=f*f,m=d*f,v=-h*m+2*h*d-h*f,g=(1+h)*m+(-1.5-2*h)*d+(-.5+h)*f+1,y=(-1-p)*m+(1.5+p)*d+.5*f,_=p*m-p*d;for(let t=0;t!==a;++t)i[t]=v*o[u+t]+g*o[l+t]+y*o[s+t]+_*o[c+t];return i}}class yo extends vo{constructor(t,e,n,r){super(t,e,n,r)}interpolate_(t,e,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=t*a,l=s-a,u=(n-e)/(r-e),c=1-u;for(let t=0;t!==a;++t)i[t]=o[l+t]*c+o[s+t]*u;return i}}class _o extends vo{constructor(t,e,n,r){super(t,e,n,r)}interpolate_(t){return this.copySampleValue_(t-1)}}class bo{constructor(t,e,n,r){if(void 0===t)throw new Error(\\\"THREE.KeyframeTrack: track name is undefined\\\");if(void 0===e||0===e.length)throw new Error(\\\"THREE.KeyframeTrack: no keyframes in track named \\\"+t);this.name=t,this.times=fo(e,this.TimeBufferType),this.values=fo(n,this.ValueBufferType),this.setInterpolation(r||this.DefaultInterpolation)}static toJSON(t){const e=t.constructor;let n;if(e.toJSON!==this.toJSON)n=e.toJSON(t);else{n={name:t.name,times:fo(t.times,Array),values:fo(t.values,Array)};const e=t.getInterpolation();e!==t.DefaultInterpolation&&(n.interpolation=e)}return n.type=t.ValueTypeName,n}InterpolantFactoryMethodDiscrete(t){return new _o(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodLinear(t){return new yo(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodSmooth(t){return new go(this.times,this.values,this.getValueSize(),t)}setInterpolation(t){let e;switch(t){case T:e=this.InterpolantFactoryMethodDiscrete;break;case S:e=this.InterpolantFactoryMethodLinear;break;case k:e=this.InterpolantFactoryMethodSmooth}if(void 0===e){const e=\\\"unsupported interpolation for \\\"+this.ValueTypeName+\\\" keyframe track named \\\"+this.name;if(void 0===this.createInterpolant){if(t===this.DefaultInterpolation)throw new Error(e);this.setInterpolation(this.DefaultInterpolation)}return console.warn(\\\"THREE.KeyframeTrack:\\\",e),this}return this.createInterpolant=e,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return T;case this.InterpolantFactoryMethodLinear:return S;case this.InterpolantFactoryMethodSmooth:return k}}getValueSize(){return this.values.length/this.times.length}shift(t){if(0!==t){const e=this.times;for(let n=0,r=e.length;n!==r;++n)e[n]+=t}return this}scale(t){if(1!==t){const e=this.times;for(let n=0,r=e.length;n!==r;++n)e[n]*=t}return this}trim(t,e){const n=this.times,r=n.length;let i=0,o=r-1;for(;i!==r&&n[i]<t;)++i;for(;-1!==o&&n[o]>e;)--o;if(++o,0!==i||o!==r){i>=o&&(o=Math.max(o,1),i=o-1);const t=this.getValueSize();this.times=po(n,i,o),this.values=po(this.values,i*t,o*t)}return this}validate(){let t=!0;const e=this.getValueSize();e-Math.floor(e)!=0&&(console.error(\\\"THREE.KeyframeTrack: Invalid value size in track.\\\",this),t=!1);const n=this.times,r=this.values,i=n.length;0===i&&(console.error(\\\"THREE.KeyframeTrack: Track is empty.\\\",this),t=!1);let o=null;for(let e=0;e!==i;e++){const r=n[e];if(\\\"number\\\"==typeof r&&isNaN(r)){console.error(\\\"THREE.KeyframeTrack: Time is not a valid number.\\\",this,e,r),t=!1;break}if(null!==o&&o>r){console.error(\\\"THREE.KeyframeTrack: Out of order keys.\\\",this,e,r,o),t=!1;break}o=r}if(void 0!==r&&mo(r))for(let e=0,n=r.length;e!==n;++e){const n=r[e];if(isNaN(n)){console.error(\\\"THREE.KeyframeTrack: Value is not a valid number.\\\",this,e,n),t=!1;break}}return t}optimize(){const t=po(this.times),e=po(this.values),n=this.getValueSize(),r=this.getInterpolation()===k,i=t.length-1;let o=1;for(let a=1;a<i;++a){let i=!1;const s=t[a];if(s!==t[a+1]&&(1!==a||s!==t[0]))if(r)i=!0;else{const t=a*n,r=t-n,o=t+n;for(let a=0;a!==n;++a){const n=e[t+a];if(n!==e[r+a]||n!==e[o+a]){i=!0;break}}}if(i){if(a!==o){t[o]=t[a];const r=a*n,i=o*n;for(let t=0;t!==n;++t)e[i+t]=e[r+t]}++o}}if(i>0){t[o]=t[i];for(let t=i*n,r=o*n,a=0;a!==n;++a)e[r+a]=e[t+a];++o}return o!==t.length?(this.times=po(t,0,o),this.values=po(e,0,o*n)):(this.times=t,this.values=e),this}clone(){const t=po(this.times,0),e=po(this.values,0),n=new(0,this.constructor)(this.name,t,e);return n.createInterpolant=this.createInterpolant,n}}bo.prototype.TimeBufferType=Float32Array,bo.prototype.ValueBufferType=Float32Array,bo.prototype.DefaultInterpolation=S;class xo extends bo{}xo.prototype.ValueTypeName=\\\"bool\\\",xo.prototype.ValueBufferType=Array,xo.prototype.DefaultInterpolation=T,xo.prototype.InterpolantFactoryMethodLinear=void 0,xo.prototype.InterpolantFactoryMethodSmooth=void 0;(class extends bo{}).prototype.ValueTypeName=\\\"color\\\";(class extends bo{}).prototype.ValueTypeName=\\\"number\\\";class wo extends vo{constructor(t,e,n,r){super(t,e,n,r)}interpolate_(t,e,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=(n-e)/(r-e);let l=t*a;for(let t=l+a;l!==t;l+=4)gt.slerpFlat(i,0,o,l-a,o,l,s);return i}}class Ao extends bo{InterpolantFactoryMethodLinear(t){return new wo(this.times,this.values,this.getValueSize(),t)}}Ao.prototype.ValueTypeName=\\\"quaternion\\\",Ao.prototype.DefaultInterpolation=S,Ao.prototype.InterpolantFactoryMethodSmooth=void 0;class Co extends bo{}Co.prototype.ValueTypeName=\\\"string\\\",Co.prototype.ValueBufferType=Array,Co.prototype.DefaultInterpolation=T,Co.prototype.InterpolantFactoryMethodLinear=void 0,Co.prototype.InterpolantFactoryMethodSmooth=void 0;(class extends bo{}).prototype.ValueTypeName=\\\"vector\\\",Error;const Mo=new RegExp(\\\"[\\\\\\\\[\\\\\\\\]\\\\\\\\.:\\\\\\\\/]\\\",\\\"g\\\"),Eo=\\\"[^\\\\\\\\[\\\\\\\\]\\\\\\\\.:\\\\\\\\/]\\\",To=\\\"[^\\\"+\\\"\\\\\\\\[\\\\\\\\]\\\\\\\\.:\\\\\\\\/\\\".replace(\\\"\\\\\\\\.\\\",\\\"\\\")+\\\"]\\\",So=new RegExp(\\\"^\\\"+/((?:WC+[\\\\/:])*)/.source.replace(\\\"WC\\\",Eo)+/(WCOD+)?/.source.replace(\\\"WCOD\\\",To)+/(?:\\\\.(WC+)(?:\\\\[(.+)\\\\])?)?/.source.replace(\\\"WC\\\",Eo)+/\\\\.(WC+)(?:\\\\[(.+)\\\\])?/.source.replace(\\\"WC\\\",Eo)+\\\"$\\\"),ko=[\\\"material\\\",\\\"materials\\\",\\\"bones\\\"];class Oo{constructor(t,e,n){this.path=e,this.parsedPath=n||Oo.parseTrackName(e),this.node=Oo.findNode(t,this.parsedPath.nodeName)||t,this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,e,n){return t&&t.isAnimationObjectGroup?new Oo.Composite(t,e,n):new Oo(t,e,n)}static sanitizeNodeName(t){return t.replace(/\\\\s/g,\\\"_\\\").replace(Mo,\\\"\\\")}static parseTrackName(t){const e=So.exec(t);if(null===e)throw new Error(\\\"PropertyBinding: Cannot parse trackName: \\\"+t);const n={nodeName:e[2],objectName:e[3],objectIndex:e[4],propertyName:e[5],propertyIndex:e[6]},r=n.nodeName&&n.nodeName.lastIndexOf(\\\".\\\");if(void 0!==r&&-1!==r){const t=n.nodeName.substring(r+1);-1!==ko.indexOf(t)&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=t)}if(null===n.propertyName||0===n.propertyName.length)throw new Error(\\\"PropertyBinding: can not parse propertyName from trackName: \\\"+t);return n}static findNode(t,e){if(void 0===e||\\\"\\\"===e||\\\".\\\"===e||-1===e||e===t.name||e===t.uuid)return t;if(t.skeleton){const n=t.skeleton.getBoneByName(e);if(void 0!==n)return n}if(t.children){const n=function(t){for(let r=0;r<t.length;r++){const i=t[r];if(i.name===e||i.uuid===e)return i;const o=n(i.children);if(o)return o}return null},r=n(t.children);if(r)return r}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(t,e){t[e]=this.targetObject[this.propertyName]}_getValue_array(t,e){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)t[e++]=n[r]}_getValue_arrayElement(t,e){t[e]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(t,e){this.resolvedProperty.toArray(t,e)}_setValue_direct(t,e){this.targetObject[this.propertyName]=t[e]}_setValue_direct_setNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(t,e){this.targetObject[this.propertyName]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(t,e){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=t[e++]}_setValue_array_setNeedsUpdate(t,e){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=t[e++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(t,e){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=t[e++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(t,e){this.resolvedProperty[this.propertyIndex]=t[e]}_setValue_arrayElement_setNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty[this.propertyIndex]=t[e],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(t,e){this.resolvedProperty.fromArray(t,e)}_setValue_fromArray_setNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(t,e){this.resolvedProperty.fromArray(t,e),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(t,e){this.bind(),this.getValue(t,e)}_setValue_unbound(t,e){this.bind(),this.setValue(t,e)}bind(){let t=this.node;const e=this.parsedPath,n=e.objectName,r=e.propertyName;let i=e.propertyIndex;if(t||(t=Oo.findNode(this.rootNode,e.nodeName)||this.rootNode,this.node=t),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!t)return void console.error(\\\"THREE.PropertyBinding: Trying to update node for track: \\\"+this.path+\\\" but it wasn't found.\\\");if(n){let r=e.objectIndex;switch(n){case\\\"materials\\\":if(!t.material)return void console.error(\\\"THREE.PropertyBinding: Can not bind to material as node does not have a material.\\\",this);if(!t.material.materials)return void console.error(\\\"THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.\\\",this);t=t.material.materials;break;case\\\"bones\\\":if(!t.skeleton)return void console.error(\\\"THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.\\\",this);t=t.skeleton.bones;for(let e=0;e<t.length;e++)if(t[e].name===r){r=e;break}break;default:if(void 0===t[n])return void console.error(\\\"THREE.PropertyBinding: Can not bind to objectName of node undefined.\\\",this);t=t[n]}if(void 0!==r){if(void 0===t[r])return void console.error(\\\"THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.\\\",this,t);t=t[r]}}const o=t[r];if(void 0===o){const n=e.nodeName;return void console.error(\\\"THREE.PropertyBinding: Trying to update property for track: \\\"+n+\\\".\\\"+r+\\\" but it wasn't found.\\\",t)}let a=this.Versioning.None;this.targetObject=t,void 0!==t.needsUpdate?a=this.Versioning.NeedsUpdate:void 0!==t.matrixWorldNeedsUpdate&&(a=this.Versioning.MatrixWorldNeedsUpdate);let s=this.BindingType.Direct;if(void 0!==i){if(\\\"morphTargetInfluences\\\"===r){if(!t.geometry)return void console.error(\\\"THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.\\\",this);if(!t.geometry.morphAttributes)return void console.error(\\\"THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.\\\",this);void 0!==t.morphTargetDictionary[i]&&(i=t.morphTargetDictionary[i])}s=this.BindingType.ArrayElement,this.resolvedProperty=o,this.propertyIndex=i}else void 0!==o.fromArray&&void 0!==o.toArray?(s=this.BindingType.HasFromToArray,this.resolvedProperty=o):Array.isArray(o)?(s=this.BindingType.EntireArray,this.resolvedProperty=o):this.propertyName=r;this.getValue=this.GetterByBindingType[s],this.setValue=this.SetterByBindingTypeAndVersioning[s][a]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}Oo.Composite=class{constructor(t,e,n){const r=n||Oo.parseTrackName(e);this._targetGroup=t,this._bindings=t.subscribe_(e,r)}getValue(t,e){this.bind();const n=this._targetGroup.nCachedObjects_,r=this._bindings[n];void 0!==r&&r.getValue(t,e)}setValue(t,e){const n=this._bindings;for(let r=this._targetGroup.nCachedObjects_,i=n.length;r!==i;++r)n[r].setValue(t,e)}bind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].bind()}unbind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].unbind()}},Oo.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Oo.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Oo.prototype.GetterByBindingType=[Oo.prototype._getValue_direct,Oo.prototype._getValue_array,Oo.prototype._getValue_arrayElement,Oo.prototype._getValue_toArray],Oo.prototype.SetterByBindingTypeAndVersioning=[[Oo.prototype._setValue_direct,Oo.prototype._setValue_direct_setNeedsUpdate,Oo.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Oo.prototype._setValue_array,Oo.prototype._setValue_array_setNeedsUpdate,Oo.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Oo.prototype._setValue_arrayElement,Oo.prototype._setValue_arrayElement_setNeedsUpdate,Oo.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Oo.prototype._setValue_fromArray,Oo.prototype._setValue_fromArray_setNeedsUpdate,Oo.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]],new Float32Array(1);class Io{constructor(t=1,e=0,n=0){return this.radius=t,this.phi=e,this.theta=n,this}set(t,e,n){return this.radius=t,this.phi=e,this.theta=n,this}copy(t){return this.radius=t.radius,this.phi=t.phi,this.theta=t.theta,this}makeSafe(){const t=1e-6;return this.phi=Math.max(t,Math.min(Math.PI-t,this.phi)),this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,e,n){return this.radius=Math.sqrt(t*t+e*e+n*n),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(t,n),this.phi=Math.acos(U(e/this.radius,-1,1))),this}clone(){return(new this.constructor).copy(this)}}const Lo=new yt,Po=new yt;class zo{constructor(t=new yt,e=new yt){this.start=t,this.end=e}set(t,e){return this.start.copy(t),this.end.copy(e),this}copy(t){return this.start.copy(t.start),this.end.copy(t.end),this}getCenter(t){return t.addVectors(this.start,this.end).multiplyScalar(.5)}delta(t){return t.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(t,e){return this.delta(e).multiplyScalar(t).add(this.start)}closestPointToPointParameter(t,e){Lo.subVectors(t,this.start),Po.subVectors(this.end,this.start);const n=Po.dot(Po);let r=Po.dot(Lo)/n;return e&&(r=U(r,0,1)),r}closestPointToPoint(t,e,n){const r=this.closestPointToPointParameter(t,e);return this.delta(n).multiplyScalar(r).add(this.start)}applyMatrix4(t){return this.start.applyMatrix4(t),this.end.applyMatrix4(t),this}equals(t){return t.start.equals(this.start)&&t.end.equals(this.end)}clone(){return(new this.constructor).copy(this)}}\\\"undefined\\\"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent(\\\"register\\\",{detail:{revision:\\\"143\\\"}})),\\\"undefined\\\"!=typeof window&&(window.__THREE__?console.warn(\\\"WARNING: Multiple instances of Three.js being imported.\\\"):window.__THREE__=\\\"143\\\")},7078:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{MapControls:()=>l,OrbitControls:()=>s});var r=n(7560);const i={type:\\\"change\\\"},o={type:\\\"start\\\"},a={type:\\\"end\\\"};class s extends r.pBf{constructor(t,e){super(),void 0===e&&console.warn('THREE.OrbitControls: The second parameter \\\"domElement\\\" is now mandatory.'),e===document&&console.error('THREE.OrbitControls: \\\"document\\\" should not be used as the target \\\"domElement\\\". Please use \\\"renderer.domElement\\\" instead.'),this.object=t,this.domElement=e,this.domElement.style.touchAction=\\\"none\\\",this.enabled=!0,this.target=new r.Pa4,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:\\\"ArrowLeft\\\",UP:\\\"ArrowUp\\\",RIGHT:\\\"ArrowRight\\\",BOTTOM:\\\"ArrowDown\\\"},this.mouseButtons={LEFT:r.RsA.ROTATE,MIDDLE:r.RsA.DOLLY,RIGHT:r.RsA.PAN},this.touches={ONE:r.QmN.ROTATE,TWO:r.QmN.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._domElementKeyEvents=null,this.getPolarAngle=function(){return c.phi},this.getAzimuthalAngle=function(){return c.theta},this.getDistance=function(){return this.object.position.distanceTo(this.target)},this.listenToKeyEvents=function(t){t.addEventListener(\\\"keydown\\\",W),this._domElementKeyEvents=t},this.saveState=function(){n.target0.copy(n.target),n.position0.copy(n.object.position),n.zoom0=n.object.zoom},this.reset=function(){n.target.copy(n.target0),n.object.position.copy(n.position0),n.object.zoom=n.zoom0,n.object.updateProjectionMatrix(),n.dispatchEvent(i),n.update(),l=s.NONE},this.update=function(){const e=new r.Pa4,o=(new r._fP).setFromUnitVectors(t.up,new r.Pa4(0,1,0)),a=o.clone().invert(),m=new r.Pa4,v=new r._fP,g=2*Math.PI;return function(){const t=n.object.position;e.copy(t).sub(n.target),e.applyQuaternion(o),c.setFromVector3(e),n.autoRotate&&l===s.NONE&&T(2*Math.PI/60/60*n.autoRotateSpeed),n.enableDamping?(c.theta+=h.theta*n.dampingFactor,c.phi+=h.phi*n.dampingFactor):(c.theta+=h.theta,c.phi+=h.phi);let r=n.minAzimuthAngle,y=n.maxAzimuthAngle;return isFinite(r)&&isFinite(y)&&(r<-Math.PI?r+=g:r>Math.PI&&(r-=g),y<-Math.PI?y+=g:y>Math.PI&&(y-=g),c.theta=r<=y?Math.max(r,Math.min(y,c.theta)):c.theta>(r+y)/2?Math.max(r,c.theta):Math.min(y,c.theta)),c.phi=Math.max(n.minPolarAngle,Math.min(n.maxPolarAngle,c.phi)),c.makeSafe(),c.radius*=p,c.radius=Math.max(n.minDistance,Math.min(n.maxDistance,c.radius)),!0===n.enableDamping?n.target.addScaledVector(f,n.dampingFactor):n.target.add(f),e.setFromSpherical(c),e.applyQuaternion(a),t.copy(n.target).add(e),n.object.lookAt(n.target),!0===n.enableDamping?(h.theta*=1-n.dampingFactor,h.phi*=1-n.dampingFactor,f.multiplyScalar(1-n.dampingFactor)):(h.set(0,0,0),f.set(0,0,0)),p=1,!!(d||m.distanceToSquared(n.object.position)>u||8*(1-v.dot(n.object.quaternion))>u)&&(n.dispatchEvent(i),m.copy(n.object.position),v.copy(n.object.quaternion),d=!1,!0)}}(),this.dispose=function(){n.domElement.removeEventListener(\\\"contextmenu\\\",X),n.domElement.removeEventListener(\\\"pointerdown\\\",U),n.domElement.removeEventListener(\\\"pointercancel\\\",H),n.domElement.removeEventListener(\\\"wheel\\\",G),n.domElement.removeEventListener(\\\"pointermove\\\",q),n.domElement.removeEventListener(\\\"pointerup\\\",V),null!==n._domElementKeyEvents&&n._domElementKeyEvents.removeEventListener(\\\"keydown\\\",W)};const n=this,s={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let l=s.NONE;const u=1e-6,c=new r.$V,h=new r.$V;let p=1;const f=new r.Pa4;let d=!1;const m=new r.FM8,v=new r.FM8,g=new r.FM8,y=new r.FM8,_=new r.FM8,b=new r.FM8,x=new r.FM8,w=new r.FM8,A=new r.FM8,C=[],M={};function E(){return Math.pow(.95,n.zoomSpeed)}function T(t){h.theta-=t}function S(t){h.phi-=t}const k=function(){const t=new r.Pa4;return function(e,n){t.setFromMatrixColumn(n,0),t.multiplyScalar(-e),f.add(t)}}(),O=function(){const t=new r.Pa4;return function(e,r){!0===n.screenSpacePanning?t.setFromMatrixColumn(r,1):(t.setFromMatrixColumn(r,0),t.crossVectors(n.object.up,t)),t.multiplyScalar(e),f.add(t)}}(),I=function(){const t=new r.Pa4;return function(e,r){const i=n.domElement;if(n.object.isPerspectiveCamera){const o=n.object.position;t.copy(o).sub(n.target);let a=t.length();a*=Math.tan(n.object.fov/2*Math.PI/180),k(2*e*a/i.clientHeight,n.object.matrix),O(2*r*a/i.clientHeight,n.object.matrix)}else n.object.isOrthographicCamera?(k(e*(n.object.right-n.object.left)/n.object.zoom/i.clientWidth,n.object.matrix),O(r*(n.object.top-n.object.bottom)/n.object.zoom/i.clientHeight,n.object.matrix)):(console.warn(\\\"WARNING: OrbitControls.js encountered an unknown camera type - pan disabled.\\\"),n.enablePan=!1)}}();function L(t){n.object.isPerspectiveCamera?p/=t:n.object.isOrthographicCamera?(n.object.zoom=Math.max(n.minZoom,Math.min(n.maxZoom,n.object.zoom*t)),n.object.updateProjectionMatrix(),d=!0):(console.warn(\\\"WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.\\\"),n.enableZoom=!1)}function P(t){n.object.isPerspectiveCamera?p*=t:n.object.isOrthographicCamera?(n.object.zoom=Math.max(n.minZoom,Math.min(n.maxZoom,n.object.zoom/t)),n.object.updateProjectionMatrix(),d=!0):(console.warn(\\\"WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.\\\"),n.enableZoom=!1)}function z(t){m.set(t.clientX,t.clientY)}function R(t){y.set(t.clientX,t.clientY)}function D(){if(1===C.length)m.set(C[0].pageX,C[0].pageY);else{const t=.5*(C[0].pageX+C[1].pageX),e=.5*(C[0].pageY+C[1].pageY);m.set(t,e)}}function $(){if(1===C.length)y.set(C[0].pageX,C[0].pageY);else{const t=.5*(C[0].pageX+C[1].pageX),e=.5*(C[0].pageY+C[1].pageY);y.set(t,e)}}function B(){const t=C[0].pageX-C[1].pageX,e=C[0].pageY-C[1].pageY,n=Math.sqrt(t*t+e*e);x.set(0,n)}function N(t){if(1==C.length)v.set(t.pageX,t.pageY);else{const e=K(t),n=.5*(t.pageX+e.x),r=.5*(t.pageY+e.y);v.set(n,r)}g.subVectors(v,m).multiplyScalar(n.rotateSpeed);const e=n.domElement;T(2*Math.PI*g.x/e.clientHeight),S(2*Math.PI*g.y/e.clientHeight),m.copy(v)}function F(t){if(1===C.length)_.set(t.pageX,t.pageY);else{const e=K(t),n=.5*(t.pageX+e.x),r=.5*(t.pageY+e.y);_.set(n,r)}b.subVectors(_,y).multiplyScalar(n.panSpeed),I(b.x,b.y),y.copy(_)}function j(t){const e=K(t),r=t.pageX-e.x,i=t.pageY-e.y,o=Math.sqrt(r*r+i*i);w.set(0,o),A.set(0,Math.pow(w.y/x.y,n.zoomSpeed)),L(A.y),x.copy(w)}function U(t){!1!==n.enabled&&(0===C.length&&(n.domElement.setPointerCapture(t.pointerId),n.domElement.addEventListener(\\\"pointermove\\\",q),n.domElement.addEventListener(\\\"pointerup\\\",V)),function(t){C.push(t)}(t),\\\"touch\\\"===t.pointerType?function(t){switch(Z(t),C.length){case 1:switch(n.touches.ONE){case r.QmN.ROTATE:if(!1===n.enableRotate)return;D(),l=s.TOUCH_ROTATE;break;case r.QmN.PAN:if(!1===n.enablePan)return;$(),l=s.TOUCH_PAN;break;default:l=s.NONE}break;case 2:switch(n.touches.TWO){case r.QmN.DOLLY_PAN:if(!1===n.enableZoom&&!1===n.enablePan)return;n.enableZoom&&B(),n.enablePan&&$(),l=s.TOUCH_DOLLY_PAN;break;case r.QmN.DOLLY_ROTATE:if(!1===n.enableZoom&&!1===n.enableRotate)return;n.enableZoom&&B(),n.enableRotate&&D(),l=s.TOUCH_DOLLY_ROTATE;break;default:l=s.NONE}break;default:l=s.NONE}l!==s.NONE&&n.dispatchEvent(o)}(t):function(t){let e;switch(t.button){case 0:e=n.mouseButtons.LEFT;break;case 1:e=n.mouseButtons.MIDDLE;break;case 2:e=n.mouseButtons.RIGHT;break;default:e=-1}switch(e){case r.RsA.DOLLY:if(!1===n.enableZoom)return;!function(t){x.set(t.clientX,t.clientY)}(t),l=s.DOLLY;break;case r.RsA.ROTATE:if(t.ctrlKey||t.metaKey||t.shiftKey){if(!1===n.enablePan)return;R(t),l=s.PAN}else{if(!1===n.enableRotate)return;z(t),l=s.ROTATE}break;case r.RsA.PAN:if(t.ctrlKey||t.metaKey||t.shiftKey){if(!1===n.enableRotate)return;z(t),l=s.ROTATE}else{if(!1===n.enablePan)return;R(t),l=s.PAN}break;default:l=s.NONE}l!==s.NONE&&n.dispatchEvent(o)}(t))}function q(t){!1!==n.enabled&&(\\\"touch\\\"===t.pointerType?function(t){switch(Z(t),l){case s.TOUCH_ROTATE:if(!1===n.enableRotate)return;N(t),n.update();break;case s.TOUCH_PAN:if(!1===n.enablePan)return;F(t),n.update();break;case s.TOUCH_DOLLY_PAN:if(!1===n.enableZoom&&!1===n.enablePan)return;!function(t){n.enableZoom&&j(t),n.enablePan&&F(t)}(t),n.update();break;case s.TOUCH_DOLLY_ROTATE:if(!1===n.enableZoom&&!1===n.enableRotate)return;!function(t){n.enableZoom&&j(t),n.enableRotate&&N(t)}(t),n.update();break;default:l=s.NONE}}(t):function(t){switch(l){case s.ROTATE:if(!1===n.enableRotate)return;!function(t){v.set(t.clientX,t.clientY),g.subVectors(v,m).multiplyScalar(n.rotateSpeed);const e=n.domElement;T(2*Math.PI*g.x/e.clientHeight),S(2*Math.PI*g.y/e.clientHeight),m.copy(v),n.update()}(t);break;case s.DOLLY:if(!1===n.enableZoom)return;!function(t){w.set(t.clientX,t.clientY),A.subVectors(w,x),A.y>0?L(E()):A.y<0&&P(E()),x.copy(w),n.update()}(t);break;case s.PAN:if(!1===n.enablePan)return;!function(t){_.set(t.clientX,t.clientY),b.subVectors(_,y).multiplyScalar(n.panSpeed),I(b.x,b.y),y.copy(_),n.update()}(t)}}(t))}function V(t){Y(t),0===C.length&&(n.domElement.releasePointerCapture(t.pointerId),n.domElement.removeEventListener(\\\"pointermove\\\",q),n.domElement.removeEventListener(\\\"pointerup\\\",V)),n.dispatchEvent(a),l=s.NONE}function H(t){Y(t)}function G(t){!1!==n.enabled&&!1!==n.enableZoom&&l===s.NONE&&(t.preventDefault(),n.dispatchEvent(o),function(t){t.deltaY<0?P(E()):t.deltaY>0&&L(E()),n.update()}(t),n.dispatchEvent(a))}function W(t){!1!==n.enabled&&!1!==n.enablePan&&function(t){let e=!1;switch(t.code){case n.keys.UP:I(0,n.keyPanSpeed),e=!0;break;case n.keys.BOTTOM:I(0,-n.keyPanSpeed),e=!0;break;case n.keys.LEFT:I(n.keyPanSpeed,0),e=!0;break;case n.keys.RIGHT:I(-n.keyPanSpeed,0),e=!0}e&&(t.preventDefault(),n.update())}(t)}function X(t){!1!==n.enabled&&t.preventDefault()}function Y(t){delete M[t.pointerId];for(let e=0;e<C.length;e++)if(C[e].pointerId==t.pointerId)return void C.splice(e,1)}function Z(t){let e=M[t.pointerId];void 0===e&&(e=new r.FM8,M[t.pointerId]=e),e.set(t.pageX,t.pageY)}function K(t){const e=t.pointerId===C[0].pointerId?C[1]:C[0];return M[e.pointerId]}n.domElement.addEventListener(\\\"contextmenu\\\",X),n.domElement.addEventListener(\\\"pointerdown\\\",U),n.domElement.addEventListener(\\\"pointercancel\\\",H),n.domElement.addEventListener(\\\"wheel\\\",G,{passive:!1}),this.update()}}class l extends s{constructor(t,e){super(t,e),this.screenSpacePanning=!1,this.mouseButtons.LEFT=r.RsA.PAN,this.mouseButtons.RIGHT=r.RsA.ROTATE,this.touches.ONE=r.QmN.PAN,this.touches.TWO=r.QmN.DOLLY_ROTATE}}},3576:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{TrackballControls:()=>s});var r=n(7560);const i={type:\\\"change\\\"},o={type:\\\"start\\\"},a={type:\\\"end\\\"};class s extends r.pBf{constructor(t,e){super(),void 0===e&&console.warn('THREE.TrackballControls: The second parameter \\\"domElement\\\" is now mandatory.'),e===document&&console.error('THREE.TrackballControls: \\\"document\\\" should not be used as the target \\\"domElement\\\". Please use \\\"renderer.domElement\\\" instead.');const n=this,s=-1;this.object=t,this.domElement=e,this.domElement.style.touchAction=\\\"none\\\",this.enabled=!0,this.screen={left:0,top:0,width:0,height:0},this.rotateSpeed=1,this.zoomSpeed=1.2,this.panSpeed=.3,this.noRotate=!1,this.noZoom=!1,this.noPan=!1,this.staticMoving=!1,this.dynamicDampingFactor=.2,this.minDistance=0,this.maxDistance=1/0,this.keys=[\\\"KeyA\\\",\\\"KeyS\\\",\\\"KeyD\\\"],this.mouseButtons={LEFT:r.RsA.ROTATE,MIDDLE:r.RsA.DOLLY,RIGHT:r.RsA.PAN},this.target=new r.Pa4;const l=1e-6,u=new r.Pa4;let c=1,h=s,p=s,f=0,d=0,m=0;const v=new r.Pa4,g=new r.FM8,y=new r.FM8,_=new r.Pa4,b=new r.FM8,x=new r.FM8,w=new r.FM8,A=new r.FM8,C=[],M={};this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.up0=this.object.up.clone(),this.zoom0=this.object.zoom,this.handleResize=function(){const t=n.domElement.getBoundingClientRect(),e=n.domElement.ownerDocument.documentElement;n.screen.left=t.left+window.pageXOffset-e.clientLeft,n.screen.top=t.top+window.pageYOffset-e.clientTop,n.screen.width=t.width,n.screen.height=t.height};const E=function(){const t=new r.FM8;return function(e,r){return t.set((e-n.screen.left)/n.screen.width,(r-n.screen.top)/n.screen.height),t}}(),T=function(){const t=new r.FM8;return function(e,r){return t.set((e-.5*n.screen.width-n.screen.left)/(.5*n.screen.width),(n.screen.height+2*(n.screen.top-r))/n.screen.width),t}}();function S(t){!1!==n.enabled&&(0===C.length&&(n.domElement.setPointerCapture(t.pointerId),n.domElement.addEventListener(\\\"pointermove\\\",k),n.domElement.addEventListener(\\\"pointerup\\\",O)),function(t){C.push(t)}(t),\\\"touch\\\"===t.pointerType?function(t){if(1===($(t),C.length))h=3,y.copy(T(C[0].pageX,C[0].pageY)),g.copy(y);else{h=4;const t=C[0].pageX-C[1].pageX,e=C[0].pageY-C[1].pageY;d=f=Math.sqrt(t*t+e*e);const n=(C[0].pageX+C[1].pageX)/2,r=(C[0].pageY+C[1].pageY)/2;w.copy(E(n,r)),A.copy(w)}n.dispatchEvent(o)}(t):function(t){if(h===s)switch(t.button){case n.mouseButtons.LEFT:h=0;break;case n.mouseButtons.MIDDLE:h=1;break;case n.mouseButtons.RIGHT:h=2}const e=p!==s?p:h;0!==e||n.noRotate?1!==e||n.noZoom?2!==e||n.noPan||(w.copy(E(t.pageX,t.pageY)),A.copy(w)):(b.copy(E(t.pageX,t.pageY)),x.copy(b)):(y.copy(T(t.pageX,t.pageY)),g.copy(y)),n.dispatchEvent(o)}(t))}function k(t){!1!==n.enabled&&(\\\"touch\\\"===t.pointerType?function(t){if(1===($(t),C.length))g.copy(y),y.copy(T(t.pageX,t.pageY));else{const e=function(t){const e=t.pointerId===C[0].pointerId?C[1]:C[0];return M[e.pointerId]}(t),n=t.pageX-e.x,r=t.pageY-e.y;d=Math.sqrt(n*n+r*r);const i=(t.pageX+e.x)/2,o=(t.pageY+e.y)/2;A.copy(E(i,o))}}(t):function(t){const e=p!==s?p:h;0!==e||n.noRotate?1!==e||n.noZoom?2!==e||n.noPan||A.copy(E(t.pageX,t.pageY)):x.copy(E(t.pageX,t.pageY)):(g.copy(y),y.copy(T(t.pageX,t.pageY)))}(t))}function O(t){!1!==n.enabled&&(\\\"touch\\\"===t.pointerType?function(t){switch(C.length){case 0:h=s;break;case 1:h=3,y.copy(T(t.pageX,t.pageY)),g.copy(y);break;case 2:h=4,y.copy(T(t.pageX-g.x,t.pageY-g.y)),g.copy(y)}n.dispatchEvent(a)}(t):(h=s,n.dispatchEvent(a)),D(t),0===C.length&&(n.domElement.releasePointerCapture(t.pointerId),n.domElement.removeEventListener(\\\"pointermove\\\",k),n.domElement.removeEventListener(\\\"pointerup\\\",O)))}function I(t){D(t)}function L(t){!1!==n.enabled&&(window.removeEventListener(\\\"keydown\\\",L),p===s&&(t.code!==n.keys[0]||n.noRotate?t.code!==n.keys[1]||n.noZoom?t.code!==n.keys[2]||n.noPan||(p=2):p=1:p=0))}function P(){!1!==n.enabled&&(p=s,window.addEventListener(\\\"keydown\\\",L))}function z(t){if(!1!==n.enabled&&!0!==n.noZoom){switch(t.preventDefault(),t.deltaMode){case 2:b.y-=.025*t.deltaY;break;case 1:b.y-=.01*t.deltaY;break;default:b.y-=25e-5*t.deltaY}n.dispatchEvent(o),n.dispatchEvent(a)}}function R(t){!1!==n.enabled&&t.preventDefault()}function D(t){delete M[t.pointerId];for(let e=0;e<C.length;e++)if(C[e].pointerId==t.pointerId)return void C.splice(e,1)}function $(t){let e=M[t.pointerId];void 0===e&&(e=new r.FM8,M[t.pointerId]=e),e.set(t.pageX,t.pageY)}this.rotateCamera=function(){const t=new r.Pa4,e=new r._fP,i=new r.Pa4,o=new r.Pa4,a=new r.Pa4,s=new r.Pa4;return function(){s.set(y.x-g.x,y.y-g.y,0);let r=s.length();r?(v.copy(n.object.position).sub(n.target),i.copy(v).normalize(),o.copy(n.object.up).normalize(),a.crossVectors(o,i).normalize(),o.setLength(y.y-g.y),a.setLength(y.x-g.x),s.copy(o.add(a)),t.crossVectors(s,v).normalize(),r*=n.rotateSpeed,e.setFromAxisAngle(t,r),v.applyQuaternion(e),n.object.up.applyQuaternion(e),_.copy(t),m=r):!n.staticMoving&&m&&(m*=Math.sqrt(1-n.dynamicDampingFactor),v.copy(n.object.position).sub(n.target),e.setFromAxisAngle(_,m),v.applyQuaternion(e),n.object.up.applyQuaternion(e)),g.copy(y)}}(),this.zoomCamera=function(){let t;4===h?(t=f/d,f=d,n.object.isPerspectiveCamera?v.multiplyScalar(t):n.object.isOrthographicCamera?(n.object.zoom/=t,n.object.updateProjectionMatrix()):console.warn(\\\"THREE.TrackballControls: Unsupported camera type\\\")):(t=1+(x.y-b.y)*n.zoomSpeed,1!==t&&t>0&&(n.object.isPerspectiveCamera?v.multiplyScalar(t):n.object.isOrthographicCamera?(n.object.zoom/=t,n.object.updateProjectionMatrix()):console.warn(\\\"THREE.TrackballControls: Unsupported camera type\\\")),n.staticMoving?b.copy(x):b.y+=(x.y-b.y)*this.dynamicDampingFactor)},this.panCamera=function(){const t=new r.FM8,e=new r.Pa4,i=new r.Pa4;return function(){if(t.copy(A).sub(w),t.lengthSq()){if(n.object.isOrthographicCamera){const e=(n.object.right-n.object.left)/n.object.zoom/n.domElement.clientWidth,r=(n.object.top-n.object.bottom)/n.object.zoom/n.domElement.clientWidth;t.x*=e,t.y*=r}t.multiplyScalar(v.length()*n.panSpeed),i.copy(v).cross(n.object.up).setLength(t.x),i.add(e.copy(n.object.up).setLength(t.y)),n.object.position.add(i),n.target.add(i),n.staticMoving?w.copy(A):w.add(t.subVectors(A,w).multiplyScalar(n.dynamicDampingFactor))}}}(),this.checkDistances=function(){n.noZoom&&n.noPan||(v.lengthSq()>n.maxDistance*n.maxDistance&&(n.object.position.addVectors(n.target,v.setLength(n.maxDistance)),b.copy(x)),v.lengthSq()<n.minDistance*n.minDistance&&(n.object.position.addVectors(n.target,v.setLength(n.minDistance)),b.copy(x)))},this.update=function(){v.subVectors(n.object.position,n.target),n.noRotate||n.rotateCamera(),n.noZoom||n.zoomCamera(),n.noPan||n.panCamera(),n.object.position.addVectors(n.target,v),n.object.isPerspectiveCamera?(n.checkDistances(),n.object.lookAt(n.target),u.distanceToSquared(n.object.position)>l&&(n.dispatchEvent(i),u.copy(n.object.position))):n.object.isOrthographicCamera?(n.object.lookAt(n.target),(u.distanceToSquared(n.object.position)>l||c!==n.object.zoom)&&(n.dispatchEvent(i),u.copy(n.object.position),c=n.object.zoom)):console.warn(\\\"THREE.TrackballControls: Unsupported camera type\\\")},this.reset=function(){h=s,p=s,n.target.copy(n.target0),n.object.position.copy(n.position0),n.object.up.copy(n.up0),n.object.zoom=n.zoom0,n.object.updateProjectionMatrix(),v.subVectors(n.object.position,n.target),n.object.lookAt(n.target),n.dispatchEvent(i),u.copy(n.object.position),c=n.object.zoom},this.dispose=function(){n.domElement.removeEventListener(\\\"contextmenu\\\",R),n.domElement.removeEventListener(\\\"pointerdown\\\",S),n.domElement.removeEventListener(\\\"pointercancel\\\",I),n.domElement.removeEventListener(\\\"wheel\\\",z),n.domElement.removeEventListener(\\\"pointermove\\\",k),n.domElement.removeEventListener(\\\"pointerup\\\",O),window.removeEventListener(\\\"keydown\\\",L),window.removeEventListener(\\\"keyup\\\",P)},this.domElement.addEventListener(\\\"contextmenu\\\",R),this.domElement.addEventListener(\\\"pointerdown\\\",S),this.domElement.addEventListener(\\\"pointercancel\\\",I),this.domElement.addEventListener(\\\"wheel\\\",z,{passive:!1}),window.addEventListener(\\\"keydown\\\",L),window.addEventListener(\\\"keyup\\\",P),this.handleResize(),this.update()}}},4858:(t,e,n)=>{\\\"use strict\\\";n.r(e),n.d(e,{ConvexGeometry:()=>d});var r=n(7560);const i=new r.Pa4,o=new r.Zzh,a=new r.JOQ,s=new r.Pa4,l=new r.CJI;class u{constructor(){this.tolerance=-1,this.faces=[],this.newFaces=[],this.assigned=new f,this.unassigned=new f,this.vertices=[]}setFromPoints(t){if(t.length>=4){this.makeEmpty();for(let e=0,n=t.length;e<n;e++)this.vertices.push(new p(t[e]));this.compute()}return this}setFromObject(t){const e=[];return t.updateMatrixWorld(!0),t.traverse((function(t){const n=t.geometry;if(void 0!==n){const i=n.attributes.position;if(void 0!==i)for(let n=0,o=i.count;n<o;n++){const o=new r.Pa4;o.fromBufferAttribute(i,n).applyMatrix4(t.matrixWorld),e.push(o)}}})),this.setFromPoints(e)}containsPoint(t){const e=this.faces;for(let n=0,r=e.length;n<r;n++)if(e[n].distanceToPoint(t)>this.tolerance)return!1;return!0}intersectRay(t,e){const n=this.faces;let r=-1/0,i=1/0;for(let e=0,o=n.length;e<o;e++){const o=n[e],a=o.distanceToPoint(t.origin),s=o.normal.dot(t.direction);if(a>0&&s>=0)return null;const l=0!==s?-a/s:0;if(!(l<=0)&&(s>0?i=Math.min(l,i):r=Math.max(l,r),r>i))return null}return r!==-1/0?t.at(r,e):t.at(i,e),e}intersectsRay(t){return null!==this.intersectRay(t,i)}makeEmpty(){return this.faces=[],this.vertices=[],this}addVertexToFace(t,e){return t.face=e,null===e.outside?this.assigned.append(t):this.assigned.insertBefore(e.outside,t),e.outside=t,this}removeVertexFromFace(t,e){return t===e.outside&&(null!==t.next&&t.next.face===e?e.outside=t.next:e.outside=null),this.assigned.remove(t),this}removeAllVerticesFromFace(t){if(null!==t.outside){const e=t.outside;let n=t.outside;for(;null!==n.next&&n.next.face===t;)n=n.next;return this.assigned.removeSubList(e,n),e.prev=n.next=null,t.outside=null,e}}deleteFaceVertices(t,e){const n=this.removeAllVerticesFromFace(t);if(void 0!==n)if(void 0===e)this.unassigned.appendChain(n);else{let t=n;do{const n=t.next;e.distanceToPoint(t.point)>this.tolerance?this.addVertexToFace(t,e):this.unassigned.append(t),t=n}while(null!==t)}return this}resolveUnassignedPoints(t){if(!1===this.unassigned.isEmpty()){let e=this.unassigned.first();do{const n=e.next;let r=this.tolerance,i=null;for(let n=0;n<t.length;n++){const o=t[n];if(0===o.mark){const t=o.distanceToPoint(e.point);if(t>r&&(r=t,i=o),r>1e3*this.tolerance)break}}null!==i&&this.addVertexToFace(e,i),e=n}while(null!==e)}return this}computeExtremes(){const t=new r.Pa4,e=new r.Pa4,n=[],i=[];for(let t=0;t<3;t++)n[t]=i[t]=this.vertices[0];t.copy(this.vertices[0].point),e.copy(this.vertices[0].point);for(let r=0,o=this.vertices.length;r<o;r++){const o=this.vertices[r],a=o.point;for(let e=0;e<3;e++)a.getComponent(e)<t.getComponent(e)&&(t.setComponent(e,a.getComponent(e)),n[e]=o);for(let t=0;t<3;t++)a.getComponent(t)>e.getComponent(t)&&(e.setComponent(t,a.getComponent(t)),i[t]=o)}return this.tolerance=3*Number.EPSILON*(Math.max(Math.abs(t.x),Math.abs(e.x))+Math.max(Math.abs(t.y),Math.abs(e.y))+Math.max(Math.abs(t.z),Math.abs(e.z))),{min:n,max:i}}computeInitialHull(){const t=this.vertices,e=this.computeExtremes(),n=e.min,r=e.max;let i=0,l=0;for(let t=0;t<3;t++){const e=r[t].point.getComponent(t)-n[t].point.getComponent(t);e>i&&(i=e,l=t)}const u=n[l],h=r[l];let p,f;i=0,o.set(u.point,h.point);for(let e=0,n=this.vertices.length;e<n;e++){const n=t[e];if(n!==u&&n!==h){o.closestPointToPoint(n.point,!0,s);const t=s.distanceToSquared(n.point);t>i&&(i=t,p=n)}}i=-1,a.setFromCoplanarPoints(u.point,h.point,p.point);for(let e=0,n=this.vertices.length;e<n;e++){const n=t[e];if(n!==u&&n!==h&&n!==p){const t=Math.abs(a.distanceToPoint(n.point));t>i&&(i=t,f=n)}}const d=[];if(a.distanceToPoint(f.point)<0){d.push(c.create(u,h,p),c.create(f,h,u),c.create(f,p,h),c.create(f,u,p));for(let t=0;t<3;t++){const e=(t+1)%3;d[t+1].getEdge(2).setTwin(d[0].getEdge(e)),d[t+1].getEdge(1).setTwin(d[e+1].getEdge(0))}}else{d.push(c.create(u,p,h),c.create(f,u,h),c.create(f,h,p),c.create(f,p,u));for(let t=0;t<3;t++){const e=(t+1)%3;d[t+1].getEdge(2).setTwin(d[0].getEdge((3-t)%3)),d[t+1].getEdge(0).setTwin(d[e+1].getEdge(1))}}for(let t=0;t<4;t++)this.faces.push(d[t]);for(let e=0,n=t.length;e<n;e++){const n=t[e];if(n!==u&&n!==h&&n!==p&&n!==f){i=this.tolerance;let t=null;for(let e=0;e<4;e++){const r=this.faces[e].distanceToPoint(n.point);r>i&&(i=r,t=this.faces[e])}null!==t&&this.addVertexToFace(n,t)}}return this}reindexFaces(){const t=[];for(let e=0;e<this.faces.length;e++){const n=this.faces[e];0===n.mark&&t.push(n)}return this.faces=t,this}nextVertexToAdd(){if(!1===this.assigned.isEmpty()){let t,e=0;const n=this.assigned.first().face;let r=n.outside;do{const i=n.distanceToPoint(r.point);i>e&&(e=i,t=r),r=r.next}while(null!==r&&r.face===n);return t}}computeHorizon(t,e,n,r){let i;this.deleteFaceVertices(n),n.mark=1,i=null===e?e=n.getEdge(0):e.next;do{const e=i.twin,n=e.face;0===n.mark&&(n.distanceToPoint(t)>this.tolerance?this.computeHorizon(t,e,n,r):r.push(i)),i=i.next}while(i!==e);return this}addAdjoiningFace(t,e){const n=c.create(t,e.tail(),e.head());return this.faces.push(n),n.getEdge(-1).setTwin(e.twin),n.getEdge(0)}addNewFaces(t,e){this.newFaces=[];let n=null,r=null;for(let i=0;i<e.length;i++){const o=e[i],a=this.addAdjoiningFace(t,o);null===n?n=a:a.next.setTwin(r),this.newFaces.push(a.face),r=a}return n.next.setTwin(r),this}addVertexToHull(t){const e=[];return this.unassigned.clear(),this.removeVertexFromFace(t,t.face),this.computeHorizon(t.point,null,t.face,e),this.addNewFaces(t,e),this.resolveUnassignedPoints(this.newFaces),this}cleanup(){return this.assigned.clear(),this.unassigned.clear(),this.newFaces=[],this}compute(){let t;for(this.computeInitialHull();void 0!==(t=this.nextVertexToAdd());)this.addVertexToHull(t);return this.reindexFaces(),this.cleanup(),this}}class c{constructor(){this.normal=new r.Pa4,this.midpoint=new r.Pa4,this.area=0,this.constant=0,this.outside=null,this.mark=0,this.edge=null}static create(t,e,n){const r=new c,i=new h(t,r),o=new h(e,r),a=new h(n,r);return i.next=a.prev=o,o.next=i.prev=a,a.next=o.prev=i,r.edge=i,r.compute()}getEdge(t){let e=this.edge;for(;t>0;)e=e.next,t--;for(;t<0;)e=e.prev,t++;return e}compute(){const t=this.edge.tail(),e=this.edge.head(),n=this.edge.next.head();return l.set(t.point,e.point,n.point),l.getNormal(this.normal),l.getMidpoint(this.midpoint),this.area=l.getArea(),this.constant=this.normal.dot(this.midpoint),this}distanceToPoint(t){return this.normal.dot(t)-this.constant}}class h{constructor(t,e){this.vertex=t,this.prev=null,this.next=null,this.twin=null,this.face=e}head(){return this.vertex}tail(){return this.prev?this.prev.vertex:null}length(){const t=this.head(),e=this.tail();return null!==e?e.point.distanceTo(t.point):-1}lengthSquared(){const t=this.head(),e=this.tail();return null!==e?e.point.distanceToSquared(t.point):-1}setTwin(t){return this.twin=t,t.twin=this,this}}class p{constructor(t){this.point=t,this.prev=null,this.next=null,this.face=null}}class f{constructor(){this.head=null,this.tail=null}first(){return this.head}last(){return this.tail}clear(){return this.head=this.tail=null,this}insertBefore(t,e){return e.prev=t.prev,e.next=t,null===e.prev?this.head=e:e.prev.next=e,t.prev=e,this}insertAfter(t,e){return e.prev=t,e.next=t.next,null===e.next?this.tail=e:e.next.prev=e,t.next=e,this}append(t){return null===this.head?this.head=t:this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t,this}appendChain(t){for(null===this.head?this.head=t:this.tail.next=t,t.prev=this.tail;null!==t.next;)t=t.next;return this.tail=t,this}remove(t){return null===t.prev?this.head=t.next:t.prev.next=t.next,null===t.next?this.tail=t.prev:t.next.prev=t.prev,this}removeSubList(t,e){return null===t.prev?this.head=e.next:t.prev.next=e.next,null===e.next?this.tail=t.prev:e.next.prev=t.prev,this}isEmpty(){return null===this.head}}class d extends r.u9r{constructor(t=[]){super();const e=[],n=[];void 0===u&&console.error(\\\"THREE.ConvexGeometry: ConvexGeometry relies on ConvexHull\\\");const i=(new u).setFromPoints(t).faces;for(let t=0;t<i.length;t++){const r=i[t];let o=r.edge;do{const t=o.head().point;e.push(t.x,t.y,t.z),n.push(r.normal.x,r.normal.y,r.normal.z),o=o.next}while(o!==r.edge)}this.setAttribute(\\\"position\\\",new r.a$l(e,3)),this.setAttribute(\\\"normal\\\",new r.a$l(n,3))}}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if(\\\"object\\\"==typeof globalThis)return globalThis;try{return this||new Function(\\\"return this\\\")()}catch(t){if(\\\"object\\\"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{\\\"undefined\\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\\"Module\\\"}),Object.defineProperty(t,\\\"__esModule\\\",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),n.nc=void 0,n(3554)})()));\\n//# sourceMappingURL=visionforge-playground.js.map\"\n",
" script.type = \"text/javascript\";\n",
"})];\n",
" var e = document.getElementById(\"kotlin_out_0\");\n",
" modifiers.forEach(function (gen) {\n",
" var script = document.createElement(\"script\");\n",
" gen(script)\n",
" script.addEventListener(\"load\", function() {\n",
" window[\"call_VisionForge\"] = function(f) {f();};\n",
" window.kotlinQueues[\"VisionForge\"].forEach(function(f) {f();});\n",
" window.kotlinQueues[\"VisionForge\"] = [];\n",
" }, false);\n",
" script.addEventListener(\"error\", function() {\n",
" window[\"call_VisionForge\"] = function(f) {};\n",
" window.kotlinQueues[\"VisionForge\"] = [];\n",
" var div = document.createElement(\"div\");\n",
" div.style.color = 'darkred';\n",
" div.textContent = 'Error loading resource VisionForge';\n",
" document.getElementById(\"kotlin_out_0\").appendChild(div);\n",
" }, false);\n",
" \n",
" e.appendChild(script);\n",
" });\n",
" })();\n",
" </script>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"@file:DependsOn(\"../build/libs/playground-0.3.0-dev-4-all.jar\")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<p style=\"color: blue;\">Starting VisionForge server on http://localhost:7777</p>\n"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"vf.startServer()"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
},
"outputs": [
{
"data": {
"text/html": [
"<div id=\"fragment[1885814985/582648730]\">\n",
" <div id=\"output[vision[217934800]]\" class=\"visionforge-output\" data-output-name=\"vision[217934800]\" data-output-connect=\"http://localhost:7777/content-0/ws\">\n",
" <script type=\"text/json\" class=\"visionforge-output-data\">\n",
"{\n",
" \"type\": \"vision.plotly\",\n",
" \"meta\": {\n",
" \"data\": {\n",
" \"type\": \"scatter\",\n",
" \"x\": [\n",
" 1,\n",
" 2,\n",
" 3\n",
" ],\n",
" \"y\": [\n",
" 1,\n",
" 2,\n",
" 3\n",
" ],\n",
" \"@index\": \"0\"\n",
" }\n",
" }\n",
"}\n",
"</script>\n",
" </div>\n",
"</div>\n",
"<script type=\"text/javascript\">VisionForge.renderAllVisionsById(\"fragment[1885814985/582648730]\");</script>\n"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import kotlinx.coroutines.*\n",
"import kotlin.random.Random\n",
"\n",
"Plotly.plot{\n",
" scatter{\n",
" x(1,2,3)\n",
" y(1,2,3)\n",
" if(vf.isServerRunning()){\n",
" vf.launch{\n",
" while(isActive){\n",
" delay(500)\n",
" y(Random.nextDouble(), Random.nextDouble(), Random.nextDouble())\n",
" }\n",
" }\n",
" }\n",
" }\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"vf.stopServer()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Kotlin",
"language": "kotlin",
"name": "kotlin"
},
"language_info": {
"codemirror_mode": "text/x-kotlin",
"file_extension": ".kt",
"mimetype": "text/x-kotlin",
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.8.0-dev-3517"
}
},
"nbformat": 4,
"nbformat_minor": 4
}