diff --git a/DESCRIPTION b/DESCRIPTION index cb9ce3b7..e3cd8ea6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: threeBrain Type: Package Title: 3D Brain Visualization -Version: 1.0.1.9107 +Version: 1.0.1.9108 Authors@R: c( person("Zhengjia", "Wang", email = "dipterix.wang@gmail.com", role = c("aut", "cre", "cph")), person("John", "Magnotti", email = "John.Magnotti@Pennmedicine.upenn.edu", role = c("aut", "res")), diff --git a/R/simple_server.R b/R/simple_server.R index e0c9b21a..ea295859 100644 --- a/R/simple_server.R +++ b/R/simple_server.R @@ -1,19 +1,25 @@ ensure_simple_server <- function(dir = file.path(tempdir(), "threeBrainViewer")) { app <- getOption("threeBrain.viewer.app", NULL) - if(!is.list(app) || !isTRUE(app$is_threeBrain_viewer_app)) { + is_served <- is.list(app) && isTRUE(app$is_threeBrain_viewer_app) + host <- getOption("threeBrain.viewer.host", "127.0.0.1") + if( !is_served || !identical(app$host, host) ) { if(!dir.exists(dir)) { dir.create(dir) } + if( is_served ) { + tryCatch({ app$stop_server() }, error = function(e) {}) + } app <- tryCatch({ port <- getOption("threeBrain.viewer.port", servr::random_port(n = 200)) - app <- servr::httd(dir = dir, browser = FALSE, port = port) + app <- servr::httd(host = host, dir = dir, browser = FALSE, port = port) app }, error = function(e) { message("Trying another port.") - app <- servr::httd(dir = dir, browser = FALSE) + app <- servr::httd(host = host, dir = dir, browser = FALSE) app }) app$is_threeBrain_viewer_app <- TRUE options("threeBrain.viewer.app" = app) options("threeBrain.viewer.port" = app$port) + options("threeBrain.viewer.host" = app$host) } # app might be stopped, hence we need to restart if that's true @@ -23,7 +29,7 @@ ensure_simple_server <- function(dir = file.path(tempdir(), "threeBrainViewer")) # use servr to check if port is available. The server might be shutdown but # the flag is still on tryCatch({ - servr::random_port(port = app$port, n = 0) + servr::random_port(host = host, port = app$port, n = 0) is_running <- FALSE }, error = function(e) { }) @@ -32,16 +38,17 @@ ensure_simple_server <- function(dir = file.path(tempdir(), "threeBrainViewer")) # the server has stopped running, start a new server app <- tryCatch({ port <- getOption("threeBrain.viewer.port", servr::random_port(n = 200)) - app <- servr::httd(dir = dir, browser = FALSE, port = port) + app <- servr::httd(host = host, dir = dir, browser = FALSE, port = port) app }, error = function(e) { message("Trying another port.") - app <- servr::httd(dir = dir, browser = FALSE) + app <- servr::httd(host = host, dir = dir, browser = FALSE) app }) app$is_threeBrain_viewer_app <- TRUE options("threeBrain.viewer.app" = app) options("threeBrain.viewer.port" = app$port) + options("threeBrain.viewer.host" = app$host) } app diff --git a/inst/threeBrainJS/dist/threebrain.js b/inst/threeBrainJS/dist/threebrain.js index 74b9131f..815d60dc 100644 --- a/inst/threeBrainJS/dist/threebrain.js +++ b/inst/threeBrainJS/dist/threebrain.js @@ -1,3 +1,3 @@ /*! For license information please see threebrain.js.LICENSE.txt */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.threeBrain=e():t.threeBrain=e()}(this,(()=>(()=>{var __webpack_modules__={2152:function(t){var e;e=function(){return function(){var t={686:function(t,e,i){"use strict";i.d(e,{default:function(){return x}});var n=i(279),r=i.n(n),s=i(370),a=i.n(s),o=i(817),A=i.n(o);function l(t){try{return document.execCommand(t)}catch(t){return!1}}var c=function(t){var e=A()(t);return l("cut"),e},h=function(t,e){var i=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),i=document.createElement("textarea");i.style.fontSize="12pt",i.style.border="0",i.style.padding="0",i.style.margin="0",i.style.position="absolute",i.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;return i.style.top="".concat(n,"px"),i.setAttribute("readonly",""),i.value=t,i}(t);e.container.appendChild(i);var n=A()(i);return l("copy"),i.remove(),n},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},i="";return"string"==typeof t?i=h(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?i=h(t.value,e):(i=A()(t),l("copy")),i};function d(t){return d="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},d(t)}var p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,i=void 0===e?"copy":e,n=t.container,r=t.target,s=t.text;if("copy"!==i&&"cut"!==i)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==r){if(!r||"object"!==d(r)||1!==r.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===i&&r.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===i&&(r.hasAttribute("readonly")||r.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return s?u(s,{container:n}):r?"cut"===i?c(r):u(r,{container:n}):void 0};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)}function m(t,e){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===f(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=a()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,i=this.action(e)||"copy",n=p({action:i,container:this.container,target:this.target(e),text:this.text(e)});this.emit(n?"success":"error",{action:i,text:n,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return w("action",t)}},{key:"defaultTarget",value:function(t){var e=w("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return w("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}],n=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return u(t,e)}},{key:"cut",value:function(t){return c(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,i=!!document.queryCommandSupported;return e.forEach((function(t){i=i&&!!document.queryCommandSupported(t)})),i}}],i&&m(e.prototype,i),n&&m(e,n),s}(r()),x=b},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype;e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,i){var n=i(828);function r(t,e,i,n,r){var a=s.apply(this,arguments);return t.addEventListener(i,a,r),{destroy:function(){t.removeEventListener(i,a,r)}}}function s(t,e,i,r){return function(i){i.delegateTarget=n(i.target,e),i.delegateTarget&&r.call(t,i)}}t.exports=function(t,e,i,n,s){return"function"==typeof t.addEventListener?r.apply(null,arguments):"function"==typeof i?r.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return r(t,e,i,n,s)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var i=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===i||"[object HTMLCollection]"===i)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,i){var n=i(879),r=i(438);t.exports=function(t,e,i){if(!t&&!e&&!i)throw new Error("Missing required arguments");if(!n.string(e))throw new TypeError("Second argument must be a String");if(!n.fn(i))throw new TypeError("Third argument must be a Function");if(n.node(t))return function(t,e,i){return t.addEventListener(e,i),{destroy:function(){t.removeEventListener(e,i)}}}(t,e,i);if(n.nodeList(t))return function(t,e,i){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,i)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,i)}))}}}(t,e,i);if(n.string(t))return function(t,e,i){return r(document.body,t,e,i)}(t,e,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var i=t.hasAttribute("readonly");i||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),i||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(t),n.removeAllRanges(),n.addRange(r),e=n.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,i){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:i}),this},once:function(t,e,i){var n=this;function r(){n.off(t,r),e.apply(i,arguments)}return r._=e,this.on(t,r,i)},emit:function(t){for(var e=[].slice.call(arguments,1),i=((this.e||(this.e={}))[t]||[]).slice(),n=0,r=i.length;n{var n=i(614),r=i(6330),s=TypeError;t.exports=function(t){if(n(t))return t;throw s(r(t)+" is not a function")}},9483:(t,e,i)=>{var n=i(4411),r=i(6330),s=TypeError;t.exports=function(t){if(n(t))return t;throw s(r(t)+" is not a constructor")}},6077:(t,e,i)=>{var n=i(614),r=String,s=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw s("Can't set "+r(t)+" as a prototype")}},1223:(t,e,i)=>{var n=i(5112),r=i(30),s=i(3070).f,a=n("unscopables"),o=Array.prototype;null==o[a]&&s(o,a,{configurable:!0,value:r(null)}),t.exports=function(t){o[a][t]=!0}},1530:(t,e,i)=>{"use strict";var n=i(8710).charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},5787:(t,e,i)=>{var n=i(7976),r=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw r("Incorrect invocation")}},9670:(t,e,i)=>{var n=i(111),r=String,s=TypeError;t.exports=function(t){if(n(t))return t;throw s(r(t)+" is not an object")}},1318:(t,e,i)=>{var n=i(5656),r=i(1400),s=i(6244),a=function(t){return function(e,i,a){var o,A=n(e),l=s(A),c=r(a,l);if(t&&i!=i){for(;l>c;)if((o=A[c++])!=o)return!0}else for(;l>c;c++)if((t||c in A)&&A[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9341:(t,e,i)=>{"use strict";var n=i(7293);t.exports=function(t,e){var i=[][t];return!!i&&n((function(){i.call(null,e||function(){return 1},1)}))}},3671:(t,e,i)=>{var n=i(9662),r=i(7908),s=i(8361),a=i(6244),o=TypeError,A=function(t){return function(e,i,A,l){n(i);var c=r(e),h=s(c),u=a(c),d=t?u-1:0,p=t?-1:1;if(A<2)for(;;){if(d in h){l=h[d],d+=p;break}if(d+=p,t?d<0:u<=d)throw o("Reduce of empty array with no initial value")}for(;t?d>=0:u>d;d+=p)d in h&&(l=i(l,h[d],d,c));return l}};t.exports={left:A(!1),right:A(!0)}},1589:(t,e,i)=>{var n=i(1400),r=i(6244),s=i(6135),a=Array,o=Math.max;t.exports=function(t,e,i){for(var A=r(t),l=n(e,A),c=n(void 0===i?A:i,A),h=a(o(c-l,0)),u=0;l{var n=i(1702);t.exports=n([].slice)},7072:(t,e,i)=>{var n=i(5112)("iterator"),r=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){r=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var i=!1;try{var s={};s[n]=function(){return{next:function(){return{done:i=!0}}}},t(s)}catch(t){}return i}},4326:(t,e,i)=>{var n=i(1702),r=n({}.toString),s=n("".slice);t.exports=function(t){return s(r(t),8,-1)}},648:(t,e,i)=>{var n=i(1694),r=i(614),s=i(4326),a=i(5112)("toStringTag"),o=Object,A="Arguments"==s(function(){return arguments}());t.exports=n?s:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=o(t),a))?i:A?s(e):"Object"==(n=s(e))&&r(e.callee)?"Arguments":n}},9920:(t,e,i)=>{var n=i(2597),r=i(3887),s=i(1236),a=i(3070);t.exports=function(t,e,i){for(var o=r(e),A=a.f,l=s.f,c=0;c{var n=i(5112)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},8544:(t,e,i)=>{var n=i(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},6178:t=>{t.exports=function(t,e){return{value:t,done:e}}},8880:(t,e,i)=>{var n=i(9781),r=i(3070),s=i(9114);t.exports=n?function(t,e,i){return r.f(t,e,s(1,i))}:function(t,e,i){return t[e]=i,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,i)=>{"use strict";var n=i(4948),r=i(3070),s=i(9114);t.exports=function(t,e,i){var a=n(e);a in t?r.f(t,a,s(0,i)):t[a]=i}},8052:(t,e,i)=>{var n=i(614),r=i(3070),s=i(6339),a=i(3072);t.exports=function(t,e,i,o){o||(o={});var A=o.enumerable,l=void 0!==o.name?o.name:e;if(n(i)&&s(i,l,o),o.global)A?t[e]=i:a(e,i);else{try{o.unsafe?t[e]&&(A=!0):delete t[e]}catch(t){}A?t[e]=i:r.f(t,e,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},3072:(t,e,i)=>{var n=i(7854),r=Object.defineProperty;t.exports=function(t,e){try{r(n,t,{value:e,configurable:!0,writable:!0})}catch(i){n[t]=e}return e}},9781:(t,e,i)=>{var n=i(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:t=>{var e="object"==typeof document&&document.all,i=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:i}},317:(t,e,i)=>{var n=i(7854),r=i(111),s=n.document,a=r(s)&&r(s.createElement);t.exports=function(t){return a?s.createElement(t):{}}},8324: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}},8509:(t,e,i)=>{var n=i(317)("span").classList,r=n&&n.constructor&&n.constructor.prototype;t.exports=r===Object.prototype?void 0:r},7871:(t,e,i)=>{var n=i(3823),r=i(5268);t.exports=!n&&!r&&"object"==typeof window&&"object"==typeof document},3823:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},1528:(t,e,i)=>{var n=i(8113);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},6833:(t,e,i)=>{var n=i(8113);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5268:(t,e,i)=>{var n=i(4326);t.exports="undefined"!=typeof process&&"process"==n(process)},1036:(t,e,i)=>{var n=i(8113);t.exports=/web0s(?!.*chrome)/i.test(n)},8113:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:(t,e,i)=>{var n,r,s=i(7854),a=i(8113),o=s.process,A=s.Deno,l=o&&o.versions||A&&A.version,c=l&&l.v8;c&&(r=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,i)=>{var n=i(7854),r=i(1236).f,s=i(8880),a=i(8052),o=i(3072),A=i(9920),l=i(4705);t.exports=function(t,e){var i,c,h,u,d,p=t.target,f=t.global,m=t.stat;if(i=f?n:m?n[p]||o(p,{}):(n[p]||{}).prototype)for(c in e){if(u=e[c],h=t.dontCallGetSet?(d=r(i,c))&&d.value:i[c],!l(f?c:p+(m?".":"#")+c,t.forced)&&void 0!==h){if(typeof u==typeof h)continue;A(u,h)}(t.sham||h&&h.sham)&&s(u,"sham",!0),a(i,c,u,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,i)=>{"use strict";i(4916);var n=i(1470),r=i(8052),s=i(2261),a=i(7293),o=i(5112),A=i(8880),l=o("species"),c=RegExp.prototype;t.exports=function(t,e,i,h){var u=o(t),d=!a((function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})),p=d&&!a((function(){var e=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[l]=function(){return i},i.flags="",i[u]=/./[u]),i.exec=function(){return e=!0,null},i[u](""),!e}));if(!d||!p||i){var f=n(/./[u]),m=e(u,""[t],(function(t,e,i,r,a){var o=n(t),A=e.exec;return A===s||A===c.exec?d&&!a?{done:!0,value:f(e,i,r)}:{done:!0,value:o(i,e,r)}:{done:!1}}));r(String.prototype,t,m[0]),r(c,u,m[1])}h&&A(c[u],"sham",!0)}},2104:(t,e,i)=>{var n=i(4374),r=Function.prototype,s=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(s):function(){return a.apply(s,arguments)})},9974:(t,e,i)=>{var n=i(1470),r=i(9662),s=i(4374),a=n(n.bind);t.exports=function(t,e){return r(t),void 0===e?t:s?a(t,e):function(){return t.apply(e,arguments)}}},4374:(t,e,i)=>{var n=i(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,e,i)=>{var n=i(4374),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},6530:(t,e,i)=>{var n=i(9781),r=i(2597),s=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=r(s,"name"),A=o&&"something"===function(){}.name,l=o&&(!n||n&&a(s,"name").configurable);t.exports={EXISTS:o,PROPER:A,CONFIGURABLE:l}},1470:(t,e,i)=>{var n=i(4326),r=i(1702);t.exports=function(t){if("Function"===n(t))return r(t)}},1702:(t,e,i)=>{var n=i(4374),r=Function.prototype,s=r.call,a=n&&r.bind.bind(s,s);t.exports=n?a:function(t){return function(){return s.apply(t,arguments)}}},5005:(t,e,i)=>{var n=i(7854),r=i(614),s=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t]):n[t]&&n[t][e]}},1246:(t,e,i)=>{var n=i(648),r=i(8173),s=i(8554),a=i(7497),o=i(5112)("iterator");t.exports=function(t){if(!s(t))return r(t,o)||r(t,"@@iterator")||a[n(t)]}},4121:(t,e,i)=>{var n=i(6916),r=i(9662),s=i(9670),a=i(6330),o=i(1246),A=TypeError;t.exports=function(t,e){var i=arguments.length<2?o(t):e;if(r(i))return s(n(i,t));throw A(a(t)+" is not iterable")}},8173:(t,e,i)=>{var n=i(9662),r=i(8554);t.exports=function(t,e){var i=t[e];return r(i)?void 0:n(i)}},647:(t,e,i)=>{var n=i(1702),r=i(7908),s=Math.floor,a=n("".charAt),o=n("".replace),A=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,i,n,h,u){var d=i+t.length,p=n.length,f=c;return void 0!==h&&(h=r(h),f=l),o(u,f,(function(r,o){var l;switch(a(o,0)){case"$":return"$";case"&":return t;case"`":return A(e,0,i);case"'":return A(e,d);case"<":l=h[A(o,1,-1)];break;default:var c=+o;if(0===c)return r;if(c>p){var u=s(c/10);return 0===u?r:u<=p?void 0===n[u-1]?a(o,1):n[u-1]+a(o,1):r}l=n[c-1]}return void 0===l?"":l}))}},7854:(t,e,i)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2597:(t,e,i)=>{var n=i(1702),r=i(7908),s=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return s(r(t),e)}},3501:t=>{t.exports={}},842:t=>{t.exports=function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}},490:(t,e,i)=>{var n=i(5005);t.exports=n("document","documentElement")},4664:(t,e,i)=>{var n=i(9781),r=i(7293),s=i(317);t.exports=!n&&!r((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,i)=>{var n=i(1702),r=i(7293),s=i(4326),a=Object,o=n("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==s(t)?o(t,""):a(t)}:a},2788:(t,e,i)=>{var n=i(1702),r=i(614),s=i(5465),a=n(Function.toString);r(s.inspectSource)||(s.inspectSource=function(t){return a(t)}),t.exports=s.inspectSource},9909:(t,e,i)=>{var n,r,s,a=i(4811),o=i(7854),A=i(111),l=i(8880),c=i(2597),h=i(5465),u=i(6200),d=i(3501),p="Object already initialized",f=o.TypeError,m=o.WeakMap;if(a||h.state){var g=h.state||(h.state=new m);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw f(p);return e.facade=t,g.set(t,e),e},r=function(t){return g.get(t)||{}},s=function(t){return g.has(t)}}else{var v=u("state");d[v]=!0,n=function(t,e){if(c(t,v))throw f(p);return e.facade=t,l(t,v,e),e},r=function(t){return c(t,v)?t[v]:{}},s=function(t){return c(t,v)}}t.exports={set:n,get:r,has:s,enforce:function(t){return s(t)?r(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!A(e)||(i=r(e)).type!==t)throw f("Incompatible receiver, "+t+" required");return i}}}},7659:(t,e,i)=>{var n=i(5112),r=i(7497),s=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[s]===t)}},1349:(t,e,i)=>{var n=i(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:(t,e,i)=>{var n=i(4154),r=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},4411:(t,e,i)=>{var n=i(1702),r=i(7293),s=i(614),a=i(648),o=i(5005),A=i(2788),l=function(){},c=[],h=o("Reflect","construct"),u=/^\s*(?:class|function)\b/,d=n(u.exec),p=!u.exec(l),f=function(t){if(!s(t))return!1;try{return h(l,c,t),!0}catch(t){return!1}},m=function(t){if(!s(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(u,A(t))}catch(t){return!0}};m.sham=!0,t.exports=!h||r((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?m:f},4705:(t,e,i)=>{var n=i(7293),r=i(614),s=/#|\.prototype\./,a=function(t,e){var i=A[o(t)];return i==c||i!=l&&(r(e)?n(e):!!e)},o=a.normalize=function(t){return String(t).replace(s,".").toLowerCase()},A=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},8554:t=>{t.exports=function(t){return null==t}},111:(t,e,i)=>{var n=i(614),r=i(4154),s=r.all;t.exports=r.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===s}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:t=>{t.exports=!1},7850:(t,e,i)=>{var n=i(111),r=i(4326),s=i(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==r(t))}},2190:(t,e,i)=>{var n=i(5005),r=i(614),s=i(7976),a=i(3307),o=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return r(e)&&s(e.prototype,o(t))}},408:(t,e,i)=>{var n=i(9974),r=i(6916),s=i(9670),a=i(6330),o=i(7659),A=i(6244),l=i(7976),c=i(4121),h=i(1246),u=i(9212),d=TypeError,p=function(t,e){this.stopped=t,this.result=e},f=p.prototype;t.exports=function(t,e,i){var m,g,v,_,y,w,b,x=i&&i.that,C=!(!i||!i.AS_ENTRIES),B=!(!i||!i.IS_RECORD),E=!(!i||!i.IS_ITERATOR),S=!(!i||!i.INTERRUPTED),M=n(e,x),T=function(t){return m&&u(m,"normal",t),new p(!0,t)},L=function(t){return C?(s(t),S?M(t[0],t[1],T):M(t[0],t[1])):S?M(t,T):M(t)};if(B)m=t.iterator;else if(E)m=t;else{if(!(g=h(t)))throw d(a(t)+" is not iterable");if(o(g)){for(v=0,_=A(t);_>v;v++)if((y=L(t[v]))&&l(f,y))return y;return new p(!1)}m=c(t,g)}for(w=B?t.next:m.next;!(b=r(w,m)).done;){try{y=L(b.value)}catch(t){u(m,"throw",t)}if("object"==typeof y&&y&&l(f,y))return y}return new p(!1)}},9212:(t,e,i)=>{var n=i(6916),r=i(9670),s=i(8173);t.exports=function(t,e,i){var a,o;r(t);try{if(!(a=s(t,"return"))){if("throw"===e)throw i;return i}a=n(a,t)}catch(t){o=!0,a=t}if("throw"===e)throw i;if(o)throw a;return r(a),i}},3061:(t,e,i)=>{"use strict";var n=i(3383).IteratorPrototype,r=i(30),s=i(9114),a=i(8003),o=i(7497),A=function(){return this};t.exports=function(t,e,i,l){var c=e+" Iterator";return t.prototype=r(n,{next:s(+!l,i)}),a(t,c,!1,!0),o[c]=A,t}},1656:(t,e,i)=>{"use strict";var n=i(2109),r=i(6916),s=i(1913),a=i(6530),o=i(614),A=i(3061),l=i(9518),c=i(7674),h=i(8003),u=i(8880),d=i(8052),p=i(5112),f=i(7497),m=i(3383),g=a.PROPER,v=a.CONFIGURABLE,_=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,w=p("iterator"),b="keys",x="values",C="entries",B=function(){return this};t.exports=function(t,e,i,a,p,m,E){A(i,e,a);var S,M,T,L=function(t){if(t===p&&R)return R;if(!y&&t in I)return I[t];switch(t){case b:case x:case C:return function(){return new i(this,t)}}return function(){return new i(this)}},F=e+" Iterator",U=!1,I=t.prototype,N=I[w]||I["@@iterator"]||p&&I[p],R=!y&&N||L(p),P="Array"==e&&I.entries||N;if(P&&(S=l(P.call(new t)))!==Object.prototype&&S.next&&(s||l(S)===_||(c?c(S,_):o(S[w])||d(S,w,B)),h(S,F,!0,!0),s&&(f[F]=B)),g&&p==x&&N&&N.name!==x&&(!s&&v?u(I,"name",x):(U=!0,R=function(){return r(N,this)})),p)if(M={values:L(x),keys:m?R:L(b),entries:L(C)},E)for(T in M)(y||U||!(T in I))&&d(I,T,M[T]);else n({target:e,proto:!0,forced:y||U},M);return s&&!E||I[w]===R||d(I,w,R,{name:p}),f[e]=R,M}},3383:(t,e,i)=>{"use strict";var n,r,s,a=i(7293),o=i(614),A=i(111),l=i(30),c=i(9518),h=i(8052),u=i(5112),d=i(1913),p=u("iterator"),f=!1;[].keys&&("next"in(s=[].keys())?(r=c(c(s)))!==Object.prototype&&(n=r):f=!0),!A(n)||a((function(){var t={};return n[p].call(t)!==t}))?n={}:d&&(n=l(n)),o(n[p])||h(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},7497:t=>{t.exports={}},6244:(t,e,i)=>{var n=i(7466);t.exports=function(t){return n(t.length)}},6339:(t,e,i)=>{var n=i(1702),r=i(7293),s=i(614),a=i(2597),o=i(9781),A=i(6530).CONFIGURABLE,l=i(2788),c=i(9909),h=c.enforce,u=c.get,d=String,p=Object.defineProperty,f=n("".slice),m=n("".replace),g=n([].join),v=o&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),_=String(String).split("String"),y=t.exports=function(t,e,i){"Symbol("===f(d(e),0,7)&&(e="["+m(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!a(t,"name")||A&&t.name!==e)&&(o?p(t,"name",{value:e,configurable:!0}):t.name=e),v&&i&&a(i,"arity")&&t.length!==i.arity&&p(t,"length",{value:i.arity});try{i&&a(i,"constructor")&&i.constructor?o&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=h(t);return a(n,"source")||(n.source=g(_,"string"==typeof e?e:"")),t};Function.prototype.toString=y((function(){return s(this)&&u(this).source||l(this)}),"toString")},4758:t=>{var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?i:e)(n)}},5948:(t,e,i)=>{var n,r,s,a,o,A=i(7854),l=i(9974),c=i(1236).f,h=i(261).set,u=i(8572),d=i(6833),p=i(1528),f=i(1036),m=i(5268),g=A.MutationObserver||A.WebKitMutationObserver,v=A.document,_=A.process,y=A.Promise,w=c(A,"queueMicrotask"),b=w&&w.value;if(!b){var x=new u,C=function(){var t,e;for(m&&(t=_.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};d||m||f||!g||!v?!p&&y&&y.resolve?((a=y.resolve(void 0)).constructor=y,o=l(a.then,a),n=function(){o(C)}):m?n=function(){_.nextTick(C)}:(h=l(h,A),n=function(){h(C)}):(r=!0,s=v.createTextNode(""),new g(C).observe(s,{characterData:!0}),n=function(){s.data=r=!r}),b=function(t){x.head||n(),x.add(t)}}t.exports=b},8523:(t,e,i)=>{"use strict";var n=i(9662),r=TypeError,s=function(t){var e,i;this.promise=new t((function(t,n){if(void 0!==e||void 0!==i)throw r("Bad Promise constructor");e=t,i=n})),this.resolve=n(e),this.reject=n(i)};t.exports.f=function(t){return new s(t)}},3929:(t,e,i)=>{var n=i(7850),r=TypeError;t.exports=function(t){if(n(t))throw r("The method doesn't accept regular expressions");return t}},30:(t,e,i)=>{var n,r=i(9670),s=i(6048),a=i(748),o=i(3501),A=i(490),l=i(317),c=i(6200),h="prototype",u="script",d=c("IE_PROTO"),p=function(){},f=function(t){return"<"+u+">"+t+""},m=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,i;g="undefined"!=typeof document?document.domain&&n?m(n):(e=l("iframe"),i="java"+u+":",e.style.display="none",A.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):m(n);for(var r=a.length;r--;)delete g[h][a[r]];return g()};o[d]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(p[h]=r(t),i=new p,p[h]=null,i[d]=t):i=g(),void 0===e?i:s.f(i,e)}},6048:(t,e,i)=>{var n=i(9781),r=i(3353),s=i(3070),a=i(9670),o=i(5656),A=i(1956);e.f=n&&!r?Object.defineProperties:function(t,e){a(t);for(var i,n=o(e),r=A(e),l=r.length,c=0;l>c;)s.f(t,i=r[c++],n[i]);return t}},3070:(t,e,i)=>{var n=i(9781),r=i(4664),s=i(3353),a=i(9670),o=i(4948),A=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",u="configurable",d="writable";e.f=n?s?function(t,e,i){if(a(t),e=o(e),a(i),"function"==typeof t&&"prototype"===e&&"value"in i&&d in i&&!i[d]){var n=c(t,e);n&&n[d]&&(t[e]=i.value,i={configurable:u in i?i[u]:n[u],enumerable:h in i?i[h]:n[h],writable:!1})}return l(t,e,i)}:l:function(t,e,i){if(a(t),e=o(e),a(i),r)try{return l(t,e,i)}catch(t){}if("get"in i||"set"in i)throw A("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},1236:(t,e,i)=>{var n=i(9781),r=i(6916),s=i(5296),a=i(9114),o=i(5656),A=i(4948),l=i(2597),c=i(4664),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=o(t),e=A(e),c)try{return h(t,e)}catch(t){}if(l(t,e))return a(!r(s.f,t,e),t[e])}},8006:(t,e,i)=>{var n=i(6324),r=i(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},9518:(t,e,i)=>{var n=i(2597),r=i(614),s=i(7908),a=i(6200),o=i(8544),A=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=o?l.getPrototypeOf:function(t){var e=s(t);if(n(e,A))return e[A];var i=e.constructor;return r(i)&&e instanceof i?i.prototype:e instanceof l?c:null}},7976:(t,e,i)=>{var n=i(1702);t.exports=n({}.isPrototypeOf)},6324:(t,e,i)=>{var n=i(1702),r=i(2597),s=i(5656),a=i(1318).indexOf,o=i(3501),A=n([].push);t.exports=function(t,e){var i,n=s(t),l=0,c=[];for(i in n)!r(o,i)&&r(n,i)&&A(c,i);for(;e.length>l;)r(n,i=e[l++])&&(~a(c,i)||A(c,i));return c}},1956:(t,e,i)=>{var n=i(6324),r=i(748);t.exports=Object.keys||function(t){return n(t,r)}},5296:(t,e)=>{"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);e.f=r?function(t){var e=n(this,t);return!!e&&e.enumerable}:i},7674:(t,e,i)=>{var n=i(1702),r=i(9670),s=i(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),e=i instanceof Array}catch(t){}return function(i,n){return r(i),s(n),e?t(i,n):i.__proto__=n,i}}():void 0)},2140:(t,e,i)=>{var n=i(6916),r=i(614),s=i(111),a=TypeError;t.exports=function(t,e){var i,o;if("string"===e&&r(i=t.toString)&&!s(o=n(i,t)))return o;if(r(i=t.valueOf)&&!s(o=n(i,t)))return o;if("string"!==e&&r(i=t.toString)&&!s(o=n(i,t)))return o;throw a("Can't convert object to primitive value")}},3887:(t,e,i)=>{var n=i(5005),r=i(1702),s=i(8006),a=i(5181),o=i(9670),A=r([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=s.f(o(t)),i=a.f;return i?A(e,i(t)):e}},2534:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},3702:(t,e,i)=>{var n=i(7854),r=i(2492),s=i(614),a=i(4705),o=i(2788),A=i(5112),l=i(7871),c=i(3823),h=i(1913),u=i(7392),d=r&&r.prototype,p=A("species"),f=!1,m=s(n.PromiseRejectionEvent),g=a("Promise",(function(){var t=o(r),e=t!==String(r);if(!e&&66===u)return!0;if(h&&(!d.catch||!d.finally))return!0;if(!u||u<51||!/native code/.test(t)){var i=new r((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((i.constructor={})[p]=n,!(f=i.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:f}},2492:(t,e,i)=>{var n=i(7854);t.exports=n.Promise},9478:(t,e,i)=>{var n=i(9670),r=i(111),s=i(8523);t.exports=function(t,e){if(n(t),r(e)&&e.constructor===t)return e;var i=s.f(t);return(0,i.resolve)(e),i.promise}},612:(t,e,i)=>{var n=i(2492),r=i(7072),s=i(3702).CONSTRUCTOR;t.exports=s||!r((function(t){n.all(t).then(void 0,(function(){}))}))},8572:t=>{var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},i=this.tail;i?i.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},7651:(t,e,i)=>{var n=i(6916),r=i(9670),s=i(614),a=i(4326),o=i(2261),A=TypeError;t.exports=function(t,e){var i=t.exec;if(s(i)){var l=n(i,t,e);return null!==l&&r(l),l}if("RegExp"===a(t))return n(o,t,e);throw A("RegExp#exec called on incompatible receiver")}},2261:(t,e,i)=>{"use strict";var n,r,s=i(6916),a=i(1702),o=i(1340),A=i(7066),l=i(2999),c=i(2309),h=i(30),u=i(9909).get,d=i(9441),p=i(7168),f=c("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,g=m,v=a("".charAt),_=a("".indexOf),y=a("".replace),w=a("".slice),b=(r=/b*/g,s(m,n=/a/,"a"),s(m,r,"a"),0!==n.lastIndex||0!==r.lastIndex),x=l.BROKEN_CARET,C=void 0!==/()??/.exec("")[1];(b||C||x||d||p)&&(g=function(t){var e,i,n,r,a,l,c,d=this,p=u(d),B=o(t),E=p.raw;if(E)return E.lastIndex=d.lastIndex,e=s(g,E,B),d.lastIndex=E.lastIndex,e;var S=p.groups,M=x&&d.sticky,T=s(A,d),L=d.source,F=0,U=B;if(M&&(T=y(T,"y",""),-1===_(T,"g")&&(T+="g"),U=w(B,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==v(B,d.lastIndex-1))&&(L="(?: "+L+")",U=" "+U,F++),i=new RegExp("^(?:"+L+")",T)),C&&(i=new RegExp("^"+L+"$(?!\\s)",T)),b&&(n=d.lastIndex),r=s(m,M?i:d,U),M?r?(r.input=w(r.input,F),r[0]=w(r[0],F),r.index=d.lastIndex,d.lastIndex+=r[0].length):d.lastIndex=0:b&&r&&(d.lastIndex=d.global?r.index+r[0].length:n),C&&r&&r.length>1&&s(f,r[0],i,(function(){for(a=1;a{"use strict";var n=i(9670);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4706:(t,e,i)=>{var n=i(6916),r=i(2597),s=i(7976),a=i(7066),o=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in o||r(t,"flags")||!s(o,t)?e:n(a,t)}},2999:(t,e,i)=>{var n=i(7293),r=i(7854).RegExp,s=n((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=s||n((function(){return!r("a","y").sticky})),o=s||n((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:o,MISSED_STICKY:a,UNSUPPORTED_Y:s}},9441:(t,e,i)=>{var n=i(7293),r=i(7854).RegExp;t.exports=n((function(){var t=r(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,i)=>{var n=i(7293),r=i(7854).RegExp;t.exports=n((function(){var t=r("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},4488:(t,e,i)=>{var n=i(8554),r=TypeError;t.exports=function(t){if(n(t))throw r("Can't call method on "+t);return t}},6340:(t,e,i)=>{"use strict";var n=i(5005),r=i(3070),s=i(5112),a=i(9781),o=s("species");t.exports=function(t){var e=n(t),i=r.f;a&&e&&!e[o]&&i(e,o,{configurable:!0,get:function(){return this}})}},8003:(t,e,i)=>{var n=i(3070).f,r=i(2597),s=i(5112)("toStringTag");t.exports=function(t,e,i){t&&!i&&(t=t.prototype),t&&!r(t,s)&&n(t,s,{configurable:!0,value:e})}},6200:(t,e,i)=>{var n=i(2309),r=i(9711),s=n("keys");t.exports=function(t){return s[t]||(s[t]=r(t))}},5465:(t,e,i)=>{var n=i(7854),r=i(3072),s="__core-js_shared__",a=n[s]||r(s,{});t.exports=a},2309:(t,e,i)=>{var n=i(1913),r=i(5465);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.27.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(t,e,i)=>{var n=i(9670),r=i(9483),s=i(8554),a=i(5112)("species");t.exports=function(t,e){var i,o=n(t).constructor;return void 0===o||s(i=n(o)[a])?e:r(i)}},8710:(t,e,i)=>{var n=i(1702),r=i(9303),s=i(1340),a=i(4488),o=n("".charAt),A=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,i){var n,c,h=s(a(e)),u=r(i),d=h.length;return u<0||u>=d?t?"":void 0:(n=A(h,u))<55296||n>56319||u+1===d||(c=A(h,u+1))<56320||c>57343?t?o(h,u):n:t?l(h,u,u+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},6091:(t,e,i)=>{var n=i(6530).PROPER,r=i(7293),s=i(1361);t.exports=function(t){return r((function(){return!!s[t]()||"​…᠎"!=="​…᠎"[t]()||n&&s[t].name!==t}))}},3111:(t,e,i)=>{var n=i(1702),r=i(4488),s=i(1340),a=i(1361),o=n("".replace),A="["+a+"]",l=RegExp("^"+A+A+"*"),c=RegExp(A+A+"*$"),h=function(t){return function(e){var i=s(r(e));return 1&t&&(i=o(i,l,"")),2&t&&(i=o(i,c,"")),i}};t.exports={start:h(1),end:h(2),trim:h(3)}},6293:(t,e,i)=>{var n=i(7392),r=i(7293);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},261:(t,e,i)=>{var n,r,s,a,o=i(7854),A=i(2104),l=i(9974),c=i(614),h=i(2597),u=i(7293),d=i(490),p=i(206),f=i(317),m=i(8053),g=i(6833),v=i(5268),_=o.setImmediate,y=o.clearImmediate,w=o.process,b=o.Dispatch,x=o.Function,C=o.MessageChannel,B=o.String,E=0,S={},M="onreadystatechange";u((function(){n=o.location}));var T=function(t){if(h(S,t)){var e=S[t];delete S[t],e()}},L=function(t){return function(){T(t)}},F=function(t){T(t.data)},U=function(t){o.postMessage(B(t),n.protocol+"//"+n.host)};_&&y||(_=function(t){m(arguments.length,1);var e=c(t)?t:x(t),i=p(arguments,1);return S[++E]=function(){A(e,void 0,i)},r(E),E},y=function(t){delete S[t]},v?r=function(t){w.nextTick(L(t))}:b&&b.now?r=function(t){b.now(L(t))}:C&&!g?(a=(s=new C).port2,s.port1.onmessage=F,r=l(a.postMessage,a)):o.addEventListener&&c(o.postMessage)&&!o.importScripts&&n&&"file:"!==n.protocol&&!u(U)?(r=U,o.addEventListener("message",F,!1)):r=M in f("script")?function(t){d.appendChild(f("script"))[M]=function(){d.removeChild(this),T(t)}}:function(t){setTimeout(L(t),0)}),t.exports={set:_,clear:y}},1400:(t,e,i)=>{var n=i(9303),r=Math.max,s=Math.min;t.exports=function(t,e){var i=n(t);return i<0?r(i+e,0):s(i,e)}},5656:(t,e,i)=>{var n=i(8361),r=i(4488);t.exports=function(t){return n(r(t))}},9303:(t,e,i)=>{var n=i(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},7466:(t,e,i)=>{var n=i(9303),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},7908:(t,e,i)=>{var n=i(4488),r=Object;t.exports=function(t){return r(n(t))}},7593:(t,e,i)=>{var n=i(6916),r=i(111),s=i(2190),a=i(8173),o=i(2140),A=i(5112),l=TypeError,c=A("toPrimitive");t.exports=function(t,e){if(!r(t)||s(t))return t;var i,A=a(t,c);if(A){if(void 0===e&&(e="default"),i=n(A,t,e),!r(i)||s(i))return i;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},4948:(t,e,i)=>{var n=i(7593),r=i(2190);t.exports=function(t){var e=n(t,"string");return r(e)?e:e+""}},1694:(t,e,i)=>{var n={};n[i(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:(t,e,i)=>{var n=i(648),r=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:(t,e,i)=>{var n=i(1702),r=0,s=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+s,36)}},3307:(t,e,i)=>{var n=i(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,i)=>{var n=i(9781),r=i(7293);t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:t=>{var e=TypeError;t.exports=function(t,i){if(t{var n=i(7854),r=i(614),s=n.WeakMap;t.exports=r(s)&&/native code/.test(String(s))},5112:(t,e,i)=>{var n=i(7854),r=i(2309),s=i(2597),a=i(9711),o=i(6293),A=i(3307),l=n.Symbol,c=r("wks"),h=A?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return s(c,t)||(c[t]=o&&s(l,t)?l[t]:h("Symbol."+t)),c[t]}},1361:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},2772:(t,e,i)=>{"use strict";var n=i(2109),r=i(1470),s=i(1318).indexOf,a=i(9341),o=r([].indexOf),A=!!o&&1/o([1],1,-0)<0;n({target:"Array",proto:!0,forced:A||!a("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return A?o(this,t,e)||0:s(this,t,e)}})},6992:(t,e,i)=>{"use strict";var n=i(5656),r=i(1223),s=i(7497),a=i(9909),o=i(3070).f,A=i(1656),l=i(6178),c=i(1913),h=i(9781),u="Array Iterator",d=a.set,p=a.getterFor(u);t.exports=A(Array,"Array",(function(t,e){d(this,{type:u,target:n(t),index:0,kind:e})}),(function(){var t=p(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,l(void 0,!0)):l("keys"==i?n:"values"==i?e[n]:[n,e[n]],!1)}),"values");var f=s.Arguments=s.Array;if(r("keys"),r("values"),r("entries"),!c&&h&&"values"!==f.name)try{o(f,"name",{value:"values"})}catch(t){}},5827:(t,e,i)=>{"use strict";var n=i(2109),r=i(3671).left,s=i(9341),a=i(7392);n({target:"Array",proto:!0,forced:!i(5268)&&a>79&&a<83||!s("reduce")},{reduce:function(t){var e=arguments.length;return r(this,t,e,e>1?arguments[1]:void 0)}})},5069:(t,e,i)=>{"use strict";var n=i(2109),r=i(1702),s=i(1349),a=r([].reverse),o=[1,2];n({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return s(this)&&(this.length=this.length),a(this)}})},821:(t,e,i)=>{"use strict";var n=i(2109),r=i(6916),s=i(9662),a=i(8523),o=i(2534),A=i(408);n({target:"Promise",stat:!0,forced:i(612)},{all:function(t){var e=this,i=a.f(e),n=i.resolve,l=i.reject,c=o((function(){var i=s(e.resolve),a=[],o=0,c=1;A(t,(function(t){var s=o++,A=!1;c++,r(i,e,t).then((function(t){A||(A=!0,a[s]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),i.promise}})},4164:(t,e,i)=>{"use strict";var n=i(2109),r=i(1913),s=i(3702).CONSTRUCTOR,a=i(2492),o=i(5005),A=i(614),l=i(8052),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:s,real:!0},{catch:function(t){return this.then(void 0,t)}}),!r&&A(a)){var h=o("Promise").prototype.catch;c.catch!==h&&l(c,"catch",h,{unsafe:!0})}},3401:(t,e,i)=>{"use strict";var n,r,s,a=i(2109),o=i(1913),A=i(5268),l=i(7854),c=i(6916),h=i(8052),u=i(7674),d=i(8003),p=i(6340),f=i(9662),m=i(614),g=i(111),v=i(5787),_=i(6707),y=i(261).set,w=i(5948),b=i(842),x=i(2534),C=i(8572),B=i(9909),E=i(2492),S=i(3702),M=i(8523),T="Promise",L=S.CONSTRUCTOR,F=S.REJECTION_EVENT,U=S.SUBCLASSING,I=B.getterFor(T),N=B.set,R=E&&E.prototype,P=E,D=R,O=l.TypeError,k=l.document,Q=l.process,H=M.f,V=H,z=!!(k&&k.createEvent&&l.dispatchEvent),j="unhandledrejection",G=function(t){var e;return!(!g(t)||!m(e=t.then))&&e},K=function(t,e){var i,n,r,s=e.value,a=1==e.state,o=a?t.ok:t.fail,A=t.resolve,l=t.reject,h=t.domain;try{o?(a||(2===e.rejection&&$(e),e.rejection=1),!0===o?i=s:(h&&h.enter(),i=o(s),h&&(h.exit(),r=!0)),i===t.promise?l(O("Promise-chain cycle")):(n=G(i))?c(n,i,A,l):A(i)):l(s)}catch(t){h&&!r&&h.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,w((function(){for(var i,n=t.reactions;i=n.get();)K(i,t);t.notified=!1,e&&!t.rejection&&X(t)})))},Y=function(t,e,i){var n,r;z?((n=k.createEvent("Event")).promise=e,n.reason=i,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:i},!F&&(r=l["on"+t])?r(n):t===j&&b("Unhandled promise rejection",i)},X=function(t){c(y,l,(function(){var e,i=t.facade,n=t.value;if(q(t)&&(e=x((function(){A?Q.emit("unhandledRejection",n,i):Y(j,i,n)})),t.rejection=A||q(t)?2:1,e.error))throw e.value}))},q=function(t){return 1!==t.rejection&&!t.parent},$=function(t){c(y,l,(function(){var e=t.facade;A?Q.emit("rejectionHandled",e):Y("rejectionhandled",e,t.value)}))},J=function(t,e,i){return function(n){t(e,n,i)}},Z=function(t,e,i){t.done||(t.done=!0,i&&(t=i),t.value=e,t.state=2,W(t,!0))},tt=function(t,e,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===e)throw O("Promise can't be resolved itself");var n=G(e);n?w((function(){var i={done:!1};try{c(n,e,J(tt,i,t),J(Z,i,t))}catch(e){Z(i,e,t)}})):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(L&&(D=(P=function(t){v(this,D),f(t),c(n,this);var e=I(this);try{t(J(tt,e),J(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:void 0})}).prototype=h(D,"then",(function(t,e){var i=I(this),n=H(_(this,P));return i.parent=!0,n.ok=!m(t)||t,n.fail=m(e)&&e,n.domain=A?Q.domain:void 0,0==i.state?i.reactions.add(n):w((function(){K(n,i)})),n.promise})),r=function(){var t=new n,e=I(t);this.promise=t,this.resolve=J(tt,e),this.reject=J(Z,e)},M.f=H=function(t){return t===P||undefined===t?new r(t):V(t)},!o&&m(E)&&R!==Object.prototype)){s=R.then,U||h(R,"then",(function(t,e){var i=this;return new P((function(t,e){c(s,i,t,e)})).then(t,e)}),{unsafe:!0});try{delete R.constructor}catch(t){}u&&u(R,D)}a({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:P}),d(P,T,!1,!0),p(T)},8674:(t,e,i)=>{i(3401),i(821),i(4164),i(6027),i(683),i(6294)},6027:(t,e,i)=>{"use strict";var n=i(2109),r=i(6916),s=i(9662),a=i(8523),o=i(2534),A=i(408);n({target:"Promise",stat:!0,forced:i(612)},{race:function(t){var e=this,i=a.f(e),n=i.reject,l=o((function(){var a=s(e.resolve);A(t,(function(t){r(a,e,t).then(i.resolve,n)}))}));return l.error&&n(l.value),i.promise}})},683:(t,e,i)=>{"use strict";var n=i(2109),r=i(6916),s=i(8523);n({target:"Promise",stat:!0,forced:i(3702).CONSTRUCTOR},{reject:function(t){var e=s.f(this);return r(e.reject,void 0,t),e.promise}})},6294:(t,e,i)=>{"use strict";var n=i(2109),r=i(5005),s=i(1913),a=i(2492),o=i(3702).CONSTRUCTOR,A=i(9478),l=r("Promise"),c=s&&!o;n({target:"Promise",stat:!0,forced:s||o},{resolve:function(t){return A(c&&this===l?a:this,t)}})},4916:(t,e,i)=>{"use strict";var n=i(2109),r=i(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},9714:(t,e,i)=>{"use strict";var n=i(6530).PROPER,r=i(8052),s=i(9670),a=i(1340),o=i(7293),A=i(4706),l="toString",c=RegExp.prototype[l],h=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),u=n&&c.name!=l;(h||u)&&r(RegExp.prototype,l,(function(){var t=s(this);return"/"+a(t.source)+"/"+a(A(t))}),{unsafe:!0})},7852:(t,e,i)=>{"use strict";var n,r=i(2109),s=i(1470),a=i(1236).f,o=i(7466),A=i(1340),l=i(3929),c=i(4488),h=i(4964),u=i(1913),d=s("".endsWith),p=s("".slice),f=Math.min,m=h("endsWith");r({target:"String",proto:!0,forced:!!(u||m||(n=a(String.prototype,"endsWith"),!n||n.writable))&&!m},{endsWith:function(t){var e=A(c(this));l(t);var i=arguments.length>1?arguments[1]:void 0,n=e.length,r=void 0===i?n:f(o(i),n),s=A(t);return d?d(e,s,r):p(e,r-s.length,r)===s}})},2023:(t,e,i)=>{"use strict";var n=i(2109),r=i(1702),s=i(3929),a=i(4488),o=i(1340),A=i(4964),l=r("".indexOf);n({target:"String",proto:!0,forced:!A("includes")},{includes:function(t){return!!~l(o(a(this)),o(s(t)),arguments.length>1?arguments[1]:void 0)}})},4723:(t,e,i)=>{"use strict";var n=i(6916),r=i(7007),s=i(9670),a=i(8554),o=i(7466),A=i(1340),l=i(4488),c=i(8173),h=i(1530),u=i(7651);r("match",(function(t,e,i){return[function(e){var i=l(this),r=a(e)?void 0:c(e,t);return r?n(r,e,i):new RegExp(e)[t](A(i))},function(t){var n=s(this),r=A(t),a=i(e,n,r);if(a.done)return a.value;if(!n.global)return u(n,r);var l=n.unicode;n.lastIndex=0;for(var c,d=[],p=0;null!==(c=u(n,r));){var f=A(c[0]);d[p]=f,""===f&&(n.lastIndex=h(r,o(n.lastIndex),l)),p++}return 0===p?null:d}]}))},5306:(t,e,i)=>{"use strict";var n=i(2104),r=i(6916),s=i(1702),a=i(7007),o=i(7293),A=i(9670),l=i(614),c=i(8554),h=i(9303),u=i(7466),d=i(1340),p=i(4488),f=i(1530),m=i(8173),g=i(647),v=i(7651),_=i(5112)("replace"),y=Math.max,w=Math.min,b=s([].concat),x=s([].push),C=s("".indexOf),B=s("".slice),E="$0"==="a".replace(/./,"$0"),S=!!/./[_]&&""===/./[_]("a","$0");a("replace",(function(t,e,i){var s=S?"$":"$0";return[function(t,i){var n=p(this),s=c(t)?void 0:m(t,_);return s?r(s,t,n,i):r(e,d(n),t,i)},function(t,r){var a=A(this),o=d(t);if("string"==typeof r&&-1===C(r,s)&&-1===C(r,"$<")){var c=i(e,a,o,r);if(c.done)return c.value}var p=l(r);p||(r=d(r));var m=a.global;if(m){var _=a.unicode;a.lastIndex=0}for(var E=[];;){var S=v(a,o);if(null===S)break;if(x(E,S),!m)break;""===d(S[0])&&(a.lastIndex=f(o,u(a.lastIndex),_))}for(var M,T="",L=0,F=0;F=L&&(T+=B(o,L,I)+O,L=I+U.length)}return T+B(o,L)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!E||S)},3123:(t,e,i)=>{"use strict";var n=i(2104),r=i(6916),s=i(1702),a=i(7007),o=i(9670),A=i(8554),l=i(7850),c=i(4488),h=i(6707),u=i(1530),d=i(7466),p=i(1340),f=i(8173),m=i(1589),g=i(7651),v=i(2261),_=i(2999),y=i(7293),w=_.UNSUPPORTED_Y,b=4294967295,x=Math.min,C=[].push,B=s(/./.exec),E=s(C),S=s("".slice);a("split",(function(t,e,i){var s;return s="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,i){var s=p(c(this)),a=void 0===i?b:i>>>0;if(0===a)return[];if(void 0===t)return[s];if(!l(t))return r(e,s,t,a);for(var o,A,h,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,g=new RegExp(t.source,d+"g");(o=r(v,g,s))&&!((A=g.lastIndex)>f&&(E(u,S(s,f,o.index)),o.length>1&&o.index=a));)g.lastIndex===o.index&&g.lastIndex++;return f===s.length?!h&&B(g,"")||E(u,""):E(u,S(s,f)),u.length>a?m(u,0,a):u}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:r(e,this,t,i)}:e,[function(e,i){var n=c(this),a=A(e)?void 0:f(e,t);return a?r(a,e,n,i):r(s,p(n),e,i)},function(t,n){var r=o(this),a=p(t),A=i(s,r,a,n,s!==e);if(A.done)return A.value;var l=h(r,RegExp),c=r.unicode,f=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(w?"g":"y"),m=new l(w?"^(?:"+r.source+")":r,f),v=void 0===n?b:n>>>0;if(0===v)return[];if(0===a.length)return null===g(m,a)?[a]:[];for(var _=0,y=0,C=[];y{"use strict";var n,r=i(2109),s=i(1470),a=i(1236).f,o=i(7466),A=i(1340),l=i(3929),c=i(4488),h=i(4964),u=i(1913),d=s("".startsWith),p=s("".slice),f=Math.min,m=h("startsWith");r({target:"String",proto:!0,forced:!!(u||m||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(t){var e=A(c(this));l(t);var i=o(f(arguments.length>1?arguments[1]:void 0,e.length)),n=A(t);return d?d(e,n,i):p(e,i,i+n.length)===n}})},3210:(t,e,i)=>{"use strict";var n=i(2109),r=i(3111).trim;n({target:"String",proto:!0,forced:i(6091)("trim")},{trim:function(){return r(this)}})},3948:(t,e,i)=>{var n=i(7854),r=i(8324),s=i(8509),a=i(6992),o=i(8880),A=i(5112),l=A("iterator"),c=A("toStringTag"),h=a.values,u=function(t,e){if(t){if(t[l]!==h)try{o(t,l,h)}catch(e){t[l]=h}if(t[c]||o(t,c,e),r[e])for(var i in a)if(t[i]!==a[i])try{o(t,i,a[i])}catch(e){t[i]=a[i]}}};for(var d in r)u(n[d]&&n[d].prototype,d);u(s,"DOMTokenList")},794:(t,e,i)=>{"use strict";i.d(e,{Z:()=>o});var n=i(7537),r=i.n(n),s=i(3645),a=i.n(s)()(r());a.push([t.id,"\n.threejs-brain-container {\n font-family: -apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n}\n\n.threejs-brain-container button,\n.threejs-brain-container select {\n text-transform: none;\n}\n\n.threejs-brain-container button,\n.threejs-brain-container input,\n.threejs-brain-container optgroup,\n.threejs-brain-container select,\n.threejs-brain-container textarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n.hidden {\n display: none!important;\n}\n\n#webglmessage {\n position: absolute;\n}\n\n.threejs-control .dg .c,\n.threejs-control .dg button,\n.threejs-control .dg input,\n.threejs-control .dg optgroup,\n.threejs-control .dg select,\n.threejs-control .dg textarea {\n line-height: normal;\n}\n\n.html-widget.threejs-brain-container {\n display: flex;\n position: relative;\n padding: 0;\n overflow: hidden;\n}\n.html-widget.threejs-brain-container>.threejs-brain-canvas {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n\n\n.threejs-control {\n position: relative;\n float: right;\n max-width: 300px;\n margin-bottom: -100%;\n width: 300px;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 10;\n /* pointer-events: none; */\n}\n\n.threejs-control .dg .c select{\n color: cornflowerblue;\n}\n.threejs-control .dg {\n font: 11px monospace, 'Lucida Grande', sans-serif;\n position: relative;\n}\n\n.threejs-control .dg .cr.color .property-name {\n overflow-y: hidden;\n}\n\n.threejs-control .dg .cr.function .property-name {\n width: 100%;\n}\n.threejs-control .dg .cr.function .c {\n display: none;\n}\n\n.threejs-control .dg .property-name {\n text-overflow: clip;\n overflow-y: hidden;\n overflow-x: hidden;\n /* overflow-x: scroll; */\n white-space: nowrap;\n /* hide scrollbar */\n padding-bottom: 17px;\n margin-bottom: -17px;\n}\n\n.threejs-control *{\n /* pointer-events: auto; */\n}\n\n.threejs-control div.close-button{\n width:100%!important;\n}\n\n.threejs-control .lil-gui {\n --font-family: Menlo, Monaco, Consolas, \"Droid Sans Mono\", monospace;\n --width: 100%;\n --background-color: #f6f6f6;\n\t--text-color: #3d3d3d;\n\t--title-background-color: #efefef;\n\t--title-text-color: #3d3d3d;\n\t--widget-color: #eaeaea;\n\t--hover-color: #f0f0f0;\n\t--focus-color: #fafafa;\n\t--number-color: #07aacf;\n\t--string-color: #8da300;\n}\n\n.threejs-brain-canvas.dark-viewer .threejs-control .lil-gui {\n\t--background-color: #32405e;\n\t--text-color: #ebe193;\n\t--title-background-color: #713154;\n\t--title-text-color: #ffffff;\n\t--widget-color: #057170;\n\t--hover-color: #057170;\n\t--focus-color: #b74f88;\n\t--number-color: #ddfcff;\n\t--string-color: #ffbf00;\n}\n\n.threejs-brain-canvas.dark-viewer .threejs-control .lil-gui .title {\n background-color: var(--title-background-color);\n}\n\n.threejs-control .lil-gui children {\n padding-bottom : 1px;\n}\n\n\n.threejs-control .lil-gui.root > .title {\n text-align: center;\n}\n\n\n.threejs-control .lil-gui.root > .children > .lil-gui > .children {\n border: none;\n border-left-color: currentcolor;\n border-left-style: none;\n border-left-width: medium;\n margin-left: calc(var(--folder-indent) + 2em);\n border-left: 2px solid var(--widget-color);\n}\n\n.threejs-control .lil-gui .slider {\n position: relative;\n}\n\n.threejs-control .dg.main,\n.threejs-control .dg.main *,\n.threejs-control .dg.main ::after,\n.threejs-control .dg.main ::before{\n box-sizing: content-box;\n}\n\n.threejs-control .dg.main:hover {\n opacity: 1;\n}\n\n\n.THREEBRAIN-SIDE-DIVIDER {\n width: 5px;\n background-color: black;\n cursor: col-resize;\n}\n\n.THREEBRAIN-SIDE-DIVIDER::before {\n content: ' ';\n}\n\n\n.THREEBRAIN-SIDE {\n position: absolute;\n height: 250px;\n width: 250px;\n margin: 0;\n padding: 0;\n min-height: 100px;\n overflow: hidden;\n outline: 1px solid #2e2e2e;\n outline-offset: 0;\n}\n.THREEBRAIN-SIDE-HEADER {\n position: absolute;\n z-index: 5;\n width: 100%;\n height: 21px;\n text-align: center;\n font-size: 12px;\n padding-top: 2px;\n background-color: rgb(100,100,100);\n background-color: rgba(100,100,100,0.5);\n color: #fff;\n cursor: move;\n}\n.THREEBRAIN-SIDE-FOOTER {\n position: absolute;\n z-index: 0;\n width: 100%;\n height: 21px;\n text-align: left;\n font-size: 12px;\n padding: 2px 5px;\n background-color: rgb(100,100,100);\n background-color: rgba(100,100,100,0.5);\n bottom: 0;\n color: #fff;\n}\n\n.THREEBRAIN-SIDE .zoom-tool {\n position: absolute;\n z-index: 9;\n width: 25px;\n height: 25px;\n right: 2px;\n background-color: rgb(200,200,200);\n background-color: rgba(200,200,200,0.5);\n color: #fff;\n cursor: pointer;\n line-height: 25px;\n text-align: center;\n font-size: 16px;\n}\n\n.THREEBRAIN-SIDE .zoom-tool.pan-active {\n background-color: rgb(250,200,200);\n background-color: rgba(250,200,200,0.8);\n}\n\n\n\n\n/**\n* Resizable divs, by Hung Nguyen\n* Use case:\n
\n
\n
\n
\n
\n
\n
\n
\n*/\n\n\n.resizable {\n position: absolute;\n}\n\n.resizable .resizers{\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n}\n\n.resizable .resizers .resizer{\n width: 0;\n height: 0;\n /*border-radius: 50%; /*magic to turn square into circle*/\n background: transparent;\n /* border: 3px solid #4286f4;*/\n position: absolute;\n border-top: 10px solid transparent;\n border-bottom: 10px solid transparent;\n border-left: 10px solid #e2e2e2;\n}\n\n.resizable .resizers .resizer.top-left {\n left: 0;\n top: -5px;\n cursor: nwse-resize; /*resizer cursor*/\n transform: rotate(-135deg);\n}\n.resizable .resizers .resizer.top-right {\n right: 0;\n top: -5px;\n cursor: nesw-resize;\n transform: rotate(-45deg);\n}\n.resizable .resizers .resizer.bottom-left {\n left: 0;\n bottom: -5px;\n cursor: nesw-resize;\n transform: rotate(135deg);\n}\n.resizable .resizers .resizer.bottom-right {\n right: 0;\n bottom: -5px;\n cursor: nwse-resize;\n transform: rotate(45deg);\n}\n\n\n/* Tooltip text */\n.threejs-control .lil-gui .controller[viewer-tooltip] {\n position: relative;\n}\n.threejs-control .lil-gui .controller[viewer-tooltip]:before {\n content: attr(viewer-tooltip);\n background-color: #f9f9f9;\n color: #000000;\n background-color: var(--text-color);\n color: var(--background-color);\n position: absolute;\n white-space: nowrap;\n transform: translate(-100%, 0);\n left: calc( var(--folder-indent) / -2.0 );\n opacity: 0.7;\n font-family: inherit;\n font-weight: bold;\n text-shadow: none;\n /* padding: 0 3px; */\n -webkit-border-radius: 0.2em;\n border-radius: 0.2em;\n z-index: 1;\n line-height: 17px;\n font-size: 0.85em;\n text-align: center;\n width: calc(var(--folder-indent) + 2em);\n}\n\n.threejs-brain-blank-container {\n background-color: #eee;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n.threejs-brain-blank-container:hover {\n background-color: #666;\n}\n.threejs-brain-modal {\n margin:0 auto;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n left: 50%;\n font-size: 2em;\n transition: color 0.3s;\n}\n\n.threejs-brain-blank-container:hover .threejs-brain-modal{\n color: #eee;\n}\n\n\n.threejs-brain-loader {\n border: 16px solid #f3f3f3; /* Light grey */\n border-top: 16px solid #3498db; /* Blue */\n border-radius: 50%;\n width: 120px;\n height: 120px;\n animation: threejs-brain-loader-spin 2s linear infinite;\n}\n\n.threejs-brain-canvas .threejs-control .threejs-control-progress {\n position: relative;\n}\n\n.threejs-brain-canvas .threejs-control .threejs-control-progress > span {\n display: block;\n height: 2px;\n background-color: rgba(24, 116, 205, 0.8);\n position: relative;\n overflow: hidden;\n text-align: center;\n font-size: x-small;\n white-space: nowrap;\n transition: width 2s;\n}\n\n","",{version:3,sources:["webpack://./src/css/dipterix.css"],names:[],mappings:";AACA;EACE,wJAAwJ;EACxJ,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;AAChB;;AAEA;;IAEI,oBAAoB;AACxB;;AAEA;;;;;IAKI,SAAS;IACT,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;AACxB;;AAEA;EACE,uBAAuB;AACzB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;;;;;;EAME,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,kBAAkB;EAClB,UAAU;EACV,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,YAAY;EACZ,UAAU;EACV,SAAS;AACX;;;AAGA;EACE,kBAAkB;EAClB,YAAY;EACZ,gBAAgB;EAChB,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,WAAW;EACX,0BAA0B;AAC5B;;AAEA;EACE,qBAAqB;AACvB;AACA;EACE,iDAAiD;EACjD,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,WAAW;AACb;AACA;EACE,aAAa;AACf;;AAEA;IACI,mBAAmB;IACnB,kBAAkB;IAClB,kBAAkB;IAClB,wBAAwB;IACxB,mBAAmB;IACnB,mBAAmB;IACnB,oBAAoB;IACpB,oBAAoB;AACxB;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,oEAAoE;EACpE,aAAa;EACb,2BAA2B;CAC5B,qBAAqB;CACrB,iCAAiC;CACjC,2BAA2B;CAC3B,uBAAuB;CACvB,sBAAsB;CACtB,sBAAsB;CACtB,uBAAuB;CACvB,uBAAuB;AACxB;;AAEA;CACC,2BAA2B;CAC3B,qBAAqB;CACrB,iCAAiC;CACjC,2BAA2B;CAC3B,uBAAuB;CACvB,sBAAsB;CACtB,sBAAsB;CACtB,uBAAuB;CACvB,uBAAuB;AACxB;;AAEA;EACE,+CAA+C;AACjD;;AAEA;EACE,oBAAoB;AACtB;;;AAGA;EACE,kBAAkB;AACpB;;;AAGA;EACE,YAAY;IACV,+BAA+B;IAC/B,uBAAuB;IACvB,yBAAyB;EAC3B,6CAA6C;EAC7C,0CAA0C;AAC5C;;AAEA;EACE,kBAAkB;AACpB;;AAEA;;;;EAIE,uBAAuB;AACzB;;AAEA;IACI,UAAU;AACd;;;AAGA;EACE,UAAU;EACV,uBAAuB;EACvB,kBAAkB;AACpB;;AAEA;EACE,YAAY;AACd;;;AAGA;EACE,kBAAkB;EAClB,aAAa;EACb,YAAY;EACZ,SAAS;EACT,UAAU;EACV,iBAAiB;EACjB,gBAAgB;EAChB,0BAA0B;EAC1B,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,UAAU;EACV,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,eAAe;EACf,gBAAgB;EAChB,kCAAkC;EAClC,uCAAuC;EACvC,WAAW;EACX,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,UAAU;EACV,WAAW;EACX,YAAY;EACZ,gBAAgB;EAChB,eAAe;EACf,gBAAgB;EAChB,kCAAkC;EAClC,uCAAuC;EACvC,SAAS;EACT,WAAW;AACb;;AAEA;EACE,kBAAkB;EAClB,UAAU;EACV,WAAW;EACX,YAAY;EACZ,UAAU;EACV,kCAAkC;EAClC,uCAAuC;EACvC,WAAW;EACX,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,kCAAkC;EAClC,uCAAuC;AACzC;;;;;AAKA;;;;;;;;;;;CAWC;;;AAGD;EACE,kBAAkB;AACpB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,sBAAsB;AACxB;;AAEA;EACE,QAAQ;EACR,SAAS;EACT,yDAAyD;EACzD,uBAAuB;EACvB,8BAA8B;EAC9B,kBAAkB;EAClB,kCAAkC;EAClC,qCAAqC;EACrC,+BAA+B;AACjC;;AAEA;EACE,OAAO;EACP,SAAS;EACT,mBAAmB,EAAE,iBAAiB;EACtC,0BAA0B;AAC5B;AACA;EACE,QAAQ;EACR,SAAS;EACT,mBAAmB;EACnB,yBAAyB;AAC3B;AACA;EACE,OAAO;EACP,YAAY;EACZ,mBAAmB;EACnB,yBAAyB;AAC3B;AACA;EACE,QAAQ;EACR,YAAY;EACZ,mBAAmB;EACnB,wBAAwB;AAC1B;;;AAGA,iBAAiB;AACjB;EACE,kBAAkB;AACpB;AACA;EACE,6BAA6B;EAC7B,yBAAyB;EACzB,cAAc;EACd,mCAAmC;EACnC,8BAA8B;EAC9B,kBAAkB;EAClB,mBAAmB;EACnB,8BAA8B;EAC9B,yCAAyC;EACzC,YAAY;EACZ,oBAAoB;EACpB,iBAAiB;EACjB,iBAAiB;EACjB,oBAAoB;EACpB,4BAA4B;EAC5B,oBAAoB;EACpB,UAAU;EACV,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;EAClB,uCAAuC;AACzC;;AAEA;EACE,sBAAsB;EACtB,eAAe;EACf,iCAAiC;AACnC;AACA;EACE,sBAAsB;AACxB;AACA;EACE,aAAa;EACb,kBAAkB;EAClB,QAAQ;EACR,gCAAgC;EAChC,SAAS;EACT,cAAc;EACd,sBAAsB;AACxB;;AAEA;EACE,WAAW;AACb;;;AAGA;EACE,0BAA0B,EAAE,eAAe;EAC3C,8BAA8B,EAAE,SAAS;EACzC,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,uDAAuD;AACzD;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,cAAc;EACd,WAAW;EACX,yCAAyC;EACzC,kBAAkB;EAClB,gBAAgB;EAChB,kBAAkB;EAClB,kBAAkB;EAClB,mBAAmB;EACnB,oBAAoB;AACtB",sourcesContent:["\n.threejs-brain-container {\n font-family: -apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n}\n\n.threejs-brain-container button,\n.threejs-brain-container select {\n text-transform: none;\n}\n\n.threejs-brain-container button,\n.threejs-brain-container input,\n.threejs-brain-container optgroup,\n.threejs-brain-container select,\n.threejs-brain-container textarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n.hidden {\n display: none!important;\n}\n\n#webglmessage {\n position: absolute;\n}\n\n.threejs-control .dg .c,\n.threejs-control .dg button,\n.threejs-control .dg input,\n.threejs-control .dg optgroup,\n.threejs-control .dg select,\n.threejs-control .dg textarea {\n line-height: normal;\n}\n\n.html-widget.threejs-brain-container {\n display: flex;\n position: relative;\n padding: 0;\n overflow: hidden;\n}\n.html-widget.threejs-brain-container>.threejs-brain-canvas {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n\n\n.threejs-control {\n position: relative;\n float: right;\n max-width: 300px;\n margin-bottom: -100%;\n width: 300px;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 10;\n /* pointer-events: none; */\n}\n\n.threejs-control .dg .c select{\n color: cornflowerblue;\n}\n.threejs-control .dg {\n font: 11px monospace, 'Lucida Grande', sans-serif;\n position: relative;\n}\n\n.threejs-control .dg .cr.color .property-name {\n overflow-y: hidden;\n}\n\n.threejs-control .dg .cr.function .property-name {\n width: 100%;\n}\n.threejs-control .dg .cr.function .c {\n display: none;\n}\n\n.threejs-control .dg .property-name {\n text-overflow: clip;\n overflow-y: hidden;\n overflow-x: hidden;\n /* overflow-x: scroll; */\n white-space: nowrap;\n /* hide scrollbar */\n padding-bottom: 17px;\n margin-bottom: -17px;\n}\n\n.threejs-control *{\n /* pointer-events: auto; */\n}\n\n.threejs-control div.close-button{\n width:100%!important;\n}\n\n.threejs-control .lil-gui {\n --font-family: Menlo, Monaco, Consolas, \"Droid Sans Mono\", monospace;\n --width: 100%;\n --background-color: #f6f6f6;\n\t--text-color: #3d3d3d;\n\t--title-background-color: #efefef;\n\t--title-text-color: #3d3d3d;\n\t--widget-color: #eaeaea;\n\t--hover-color: #f0f0f0;\n\t--focus-color: #fafafa;\n\t--number-color: #07aacf;\n\t--string-color: #8da300;\n}\n\n.threejs-brain-canvas.dark-viewer .threejs-control .lil-gui {\n\t--background-color: #32405e;\n\t--text-color: #ebe193;\n\t--title-background-color: #713154;\n\t--title-text-color: #ffffff;\n\t--widget-color: #057170;\n\t--hover-color: #057170;\n\t--focus-color: #b74f88;\n\t--number-color: #ddfcff;\n\t--string-color: #ffbf00;\n}\n\n.threejs-brain-canvas.dark-viewer .threejs-control .lil-gui .title {\n background-color: var(--title-background-color);\n}\n\n.threejs-control .lil-gui children {\n padding-bottom : 1px;\n}\n\n\n.threejs-control .lil-gui.root > .title {\n text-align: center;\n}\n\n\n.threejs-control .lil-gui.root > .children > .lil-gui > .children {\n border: none;\n border-left-color: currentcolor;\n border-left-style: none;\n border-left-width: medium;\n margin-left: calc(var(--folder-indent) + 2em);\n border-left: 2px solid var(--widget-color);\n}\n\n.threejs-control .lil-gui .slider {\n position: relative;\n}\n\n.threejs-control .dg.main,\n.threejs-control .dg.main *,\n.threejs-control .dg.main ::after,\n.threejs-control .dg.main ::before{\n box-sizing: content-box;\n}\n\n.threejs-control .dg.main:hover {\n opacity: 1;\n}\n\n\n.THREEBRAIN-SIDE-DIVIDER {\n width: 5px;\n background-color: black;\n cursor: col-resize;\n}\n\n.THREEBRAIN-SIDE-DIVIDER::before {\n content: ' ';\n}\n\n\n.THREEBRAIN-SIDE {\n position: absolute;\n height: 250px;\n width: 250px;\n margin: 0;\n padding: 0;\n min-height: 100px;\n overflow: hidden;\n outline: 1px solid #2e2e2e;\n outline-offset: 0;\n}\n.THREEBRAIN-SIDE-HEADER {\n position: absolute;\n z-index: 5;\n width: 100%;\n height: 21px;\n text-align: center;\n font-size: 12px;\n padding-top: 2px;\n background-color: rgb(100,100,100);\n background-color: rgba(100,100,100,0.5);\n color: #fff;\n cursor: move;\n}\n.THREEBRAIN-SIDE-FOOTER {\n position: absolute;\n z-index: 0;\n width: 100%;\n height: 21px;\n text-align: left;\n font-size: 12px;\n padding: 2px 5px;\n background-color: rgb(100,100,100);\n background-color: rgba(100,100,100,0.5);\n bottom: 0;\n color: #fff;\n}\n\n.THREEBRAIN-SIDE .zoom-tool {\n position: absolute;\n z-index: 9;\n width: 25px;\n height: 25px;\n right: 2px;\n background-color: rgb(200,200,200);\n background-color: rgba(200,200,200,0.5);\n color: #fff;\n cursor: pointer;\n line-height: 25px;\n text-align: center;\n font-size: 16px;\n}\n\n.THREEBRAIN-SIDE .zoom-tool.pan-active {\n background-color: rgb(250,200,200);\n background-color: rgba(250,200,200,0.8);\n}\n\n\n\n\n/**\n* Resizable divs, by Hung Nguyen\n* Use case:\n
\n
\n
\n
\n
\n
\n
\n
\n*/\n\n\n.resizable {\n position: absolute;\n}\n\n.resizable .resizers{\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n}\n\n.resizable .resizers .resizer{\n width: 0;\n height: 0;\n /*border-radius: 50%; /*magic to turn square into circle*/\n background: transparent;\n /* border: 3px solid #4286f4;*/\n position: absolute;\n border-top: 10px solid transparent;\n border-bottom: 10px solid transparent;\n border-left: 10px solid #e2e2e2;\n}\n\n.resizable .resizers .resizer.top-left {\n left: 0;\n top: -5px;\n cursor: nwse-resize; /*resizer cursor*/\n transform: rotate(-135deg);\n}\n.resizable .resizers .resizer.top-right {\n right: 0;\n top: -5px;\n cursor: nesw-resize;\n transform: rotate(-45deg);\n}\n.resizable .resizers .resizer.bottom-left {\n left: 0;\n bottom: -5px;\n cursor: nesw-resize;\n transform: rotate(135deg);\n}\n.resizable .resizers .resizer.bottom-right {\n right: 0;\n bottom: -5px;\n cursor: nwse-resize;\n transform: rotate(45deg);\n}\n\n\n/* Tooltip text */\n.threejs-control .lil-gui .controller[viewer-tooltip] {\n position: relative;\n}\n.threejs-control .lil-gui .controller[viewer-tooltip]:before {\n content: attr(viewer-tooltip);\n background-color: #f9f9f9;\n color: #000000;\n background-color: var(--text-color);\n color: var(--background-color);\n position: absolute;\n white-space: nowrap;\n transform: translate(-100%, 0);\n left: calc( var(--folder-indent) / -2.0 );\n opacity: 0.7;\n font-family: inherit;\n font-weight: bold;\n text-shadow: none;\n /* padding: 0 3px; */\n -webkit-border-radius: 0.2em;\n border-radius: 0.2em;\n z-index: 1;\n line-height: 17px;\n font-size: 0.85em;\n text-align: center;\n width: calc(var(--folder-indent) + 2em);\n}\n\n.threejs-brain-blank-container {\n background-color: #eee;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n.threejs-brain-blank-container:hover {\n background-color: #666;\n}\n.threejs-brain-modal {\n margin:0 auto;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n left: 50%;\n font-size: 2em;\n transition: color 0.3s;\n}\n\n.threejs-brain-blank-container:hover .threejs-brain-modal{\n color: #eee;\n}\n\n\n.threejs-brain-loader {\n border: 16px solid #f3f3f3; /* Light grey */\n border-top: 16px solid #3498db; /* Blue */\n border-radius: 50%;\n width: 120px;\n height: 120px;\n animation: threejs-brain-loader-spin 2s linear infinite;\n}\n\n.threejs-brain-canvas .threejs-control .threejs-control-progress {\n position: relative;\n}\n\n.threejs-brain-canvas .threejs-control .threejs-control-progress > span {\n display: block;\n height: 2px;\n background-color: rgba(24, 116, 205, 0.8);\n position: relative;\n overflow: hidden;\n text-align: center;\n font-size: x-small;\n white-space: nowrap;\n transition: width 2s;\n}\n\n"],sourceRoot:""}]);const o=a},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var o=0;o0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=s),i&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=i):c[2]=i),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),e.push(c))}},e}},7537:t=>{"use strict";t.exports=function(t){var e=t[1],i=t[3];if(!i)return e;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),s="/*# ".concat(r," */");return[e].concat([s]).join("\n")}return[e].join("\n")}},6453:(t,e,i)=>{"use strict";const n=i(9937);function r(t,e){return e=c(e),n.isObject(t)&&null!==t?a("",t,e):[]}function s(t,e){return e=c(e),t.map((t=>n.isObject(t)?r(t,e):[]))}function a(t,e,i){let r=Object.keys(e).map((r=>{let c=A(t,o(r,i));return h=e[r],n.isObject(h)&&!n.isNull(h)&&!Array.isArray(h)&&Object.keys(h).length?a(c,e[r],i):i.expandArrayObjects&&l(e[r])?function(t,e,i){let r=s(t,i);return t.length?t.length&&0===n.flatten(r).length?[e]:(r=r.map((t=>function(t){return Array.isArray(t)&&!t.length}(t)?[e]:t.map((t=>A(e,o(t,i)))))),n.unique(n.flatten(r))):i.ignoreEmptyArraysWhenExpanding?[]:[e]}(e[r],c,i):i.ignoreEmptyArrays&&l(e[r])&&!e[r].length?[]:c;var h}));return n.flatten(r)}function o(t,e){return e.escapeNestedDots?t.replace(/\./g,"\\."):t}function A(t,e){return t?t+"."+e:e}function l(t){return Array.isArray(t)}function c(t){return{expandArrayObjects:!1,ignoreEmptyArraysWhenExpanding:!1,escapeNestedDots:!1,ignoreEmptyArrays:!1,...t||{}}}t.exports={deepKeys:r,deepKeysFromList:s}},9937:t=>{"use strict";t.exports={isNull:function(t){return null===t},isObject:function(t){return"object"==typeof t},unique:function(t){return[...new Set(t)]},flatten:function(t){return[].concat(...t)}}},1521:t=>{"use strict";function e(t,n,r){let{dotIndex:s,key:a,remaining:o}=i(n);if(n.startsWith("__proto__")||n.startsWith("constructor")||n.startsWith("prototype"))return t;if(s>=0){if(!t[a]&&Array.isArray(t))return t.forEach((t=>e(t,n,r)));t[a]||(t[a]={}),e(t[a],o,r)}else{if(Array.isArray(t))return t.forEach((t=>e(t,o,r)));t[a]=r}return t}function i(t){let e=function(t){for(let e=0;e0?t[e-1]:"";if("."===t[e]&&"\\"!==i)return e}return-1}(t);return{dotIndex:e,key:t.slice(0,e>=0?e:void 0).replace(/\\./g,"."),remaining:t.slice(e+1)}}t.exports={evaluatePath:function t(e,n){if(!e)return null;let{dotIndex:r,key:s,remaining:a}=i(n);return r>=0&&!e[n]?Array.isArray(e[s])?e[s].map((e=>t(e,a))):t(e[s],a):Array.isArray(e)?e.map((e=>t(e,n))):r>=0&&n!==s&&e[s]?t(e[s],a):-1===r&&e[s]&&!e[n]?e[s]:e[n]},setPath:function(t,i,n){if(!t)throw new Error("No object was provided.");if(!i)throw new Error("No keyPath was provided.");return e(t,i,n)}}},7856:function(t){t.exports=function(){"use strict";function t(e){return t="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},t(e)}function e(t,i){return e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(t,i)}function i(){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 n(t,r,s){return n=i()?Reflect.construct:function(t,i,n){var r=[null];r.push.apply(r,i);var s=new(Function.bind.apply(t,r));return n&&e(s,n.prototype),s},n.apply(null,arguments)}function r(t){return s(t)||a(t)||o(t)||l()}function s(t){if(Array.isArray(t))return A(t)}function a(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function o(t,e){if(t){if("string"==typeof t)return A(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?A(t,e):void 0}}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i1?i-1:0),r=1;r/gm),q=m(/\${[\w\W]*}/gm),$=m(/^data-[\-\w.\u00B7-\uFFFF]/),J=m(/^aria-[\-\w]+$/),Z=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tt=m(/^(?:\w+script|data):/i),et=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),it=m(/^html$/i),nt=function(){return"undefined"==typeof window?null:window},rt=function(e,i){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(r)&&(n=i.currentScript.getAttribute(r));var s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+s+" could not be created."),null}};function st(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nt(),i=function(t){return st(t)};if(i.version="2.4.3",i.removed=[],!e||!e.document||9!==e.document.nodeType)return i.isSupported=!1,i;var n=e.document,s=e.document,a=e.DocumentFragment,o=e.HTMLTemplateElement,A=e.Node,l=e.Element,c=e.NodeFilter,h=e.NamedNodeMap,u=void 0===h?e.NamedNodeMap||e.MozNamedAttrMap:h,d=e.HTMLFormElement,p=e.DOMParser,m=e.trustedTypes,g=l.prototype,v=P(g,"cloneNode"),_=P(g,"nextSibling"),y=P(g,"childNodes"),U=P(g,"parentNode");if("function"==typeof o){var I=s.createElement("template");I.content&&I.content.ownerDocument&&(s=I.content.ownerDocument)}var at=rt(m,n),ot=at?at.createHTML(""):"",At=s,lt=At.implementation,ct=At.createNodeIterator,ht=At.createDocumentFragment,ut=At.getElementsByTagName,dt=n.importNode,pt={};try{pt=R(s).documentMode?s.documentMode:{}}catch(t){}var ft={};i.isSupported="function"==typeof U&<&&void 0!==lt.createHTMLDocument&&9!==pt;var mt,gt,vt=Y,_t=X,yt=q,wt=$,bt=J,xt=tt,Ct=et,Bt=Z,Et=null,St=N({},[].concat(r(D),r(O),r(k),r(H),r(z))),Mt=null,Tt=N({},[].concat(r(j),r(G),r(K),r(W))),Lt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ft=null,Ut=null,It=!0,Nt=!0,Rt=!1,Pt=!1,Dt=!1,Ot=!1,kt=!1,Qt=!1,Ht=!1,Vt=!1,zt=!0,jt=!1,Gt="user-content-",Kt=!0,Wt=!1,Yt={},Xt=null,qt=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$t=null,Jt=N({},["audio","video","img","source","image","track"]),Zt=null,te=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ee="http://www.w3.org/1998/Math/MathML",ie="http://www.w3.org/2000/svg",ne="http://www.w3.org/1999/xhtml",re=ne,se=!1,ae=null,oe=N({},[ee,ie,ne],B),Ae=["application/xhtml+xml","text/html"],le="text/html",ce=null,he=s.createElement("form"),ue=function(t){return t instanceof RegExp||t instanceof Function},de=function(e){ce&&ce===e||(e&&"object"===t(e)||(e={}),e=R(e),mt=mt=-1===Ae.indexOf(e.PARSER_MEDIA_TYPE)?le:e.PARSER_MEDIA_TYPE,gt="application/xhtml+xml"===mt?B:C,Et="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS,gt):St,Mt="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR,gt):Tt,ae="ALLOWED_NAMESPACES"in e?N({},e.ALLOWED_NAMESPACES,B):oe,Zt="ADD_URI_SAFE_ATTR"in e?N(R(te),e.ADD_URI_SAFE_ATTR,gt):te,$t="ADD_DATA_URI_TAGS"in e?N(R(Jt),e.ADD_DATA_URI_TAGS,gt):Jt,Xt="FORBID_CONTENTS"in e?N({},e.FORBID_CONTENTS,gt):qt,Ft="FORBID_TAGS"in e?N({},e.FORBID_TAGS,gt):{},Ut="FORBID_ATTR"in e?N({},e.FORBID_ATTR,gt):{},Yt="USE_PROFILES"in e&&e.USE_PROFILES,It=!1!==e.ALLOW_ARIA_ATTR,Nt=!1!==e.ALLOW_DATA_ATTR,Rt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pt=e.SAFE_FOR_TEMPLATES||!1,Dt=e.WHOLE_DOCUMENT||!1,Qt=e.RETURN_DOM||!1,Ht=e.RETURN_DOM_FRAGMENT||!1,Vt=e.RETURN_TRUSTED_TYPE||!1,kt=e.FORCE_BODY||!1,zt=!1!==e.SANITIZE_DOM,jt=e.SANITIZE_NAMED_PROPS||!1,Kt=!1!==e.KEEP_CONTENT,Wt=e.IN_PLACE||!1,Bt=e.ALLOWED_URI_REGEXP||Bt,re=e.NAMESPACE||ne,e.CUSTOM_ELEMENT_HANDLING&&ue(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Lt.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ue(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Lt.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Lt.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pt&&(Nt=!1),Ht&&(Qt=!0),Yt&&(Et=N({},r(z)),Mt=[],!0===Yt.html&&(N(Et,D),N(Mt,j)),!0===Yt.svg&&(N(Et,O),N(Mt,G),N(Mt,W)),!0===Yt.svgFilters&&(N(Et,k),N(Mt,G),N(Mt,W)),!0===Yt.mathMl&&(N(Et,H),N(Mt,K),N(Mt,W))),e.ADD_TAGS&&(Et===St&&(Et=R(Et)),N(Et,e.ADD_TAGS,gt)),e.ADD_ATTR&&(Mt===Tt&&(Mt=R(Mt)),N(Mt,e.ADD_ATTR,gt)),e.ADD_URI_SAFE_ATTR&&N(Zt,e.ADD_URI_SAFE_ATTR,gt),e.FORBID_CONTENTS&&(Xt===qt&&(Xt=R(Xt)),N(Xt,e.FORBID_CONTENTS,gt)),Kt&&(Et["#text"]=!0),Dt&&N(Et,["html","head","body"]),Et.table&&(N(Et,["tbody"]),delete Ft.tbody),f&&f(e),ce=e)},pe=N({},["mi","mo","mn","ms","mtext"]),fe=N({},["foreignobject","desc","title","annotation-xml"]),me=N({},["title","style","font","a","script"]),ge=N({},O);N(ge,k),N(ge,Q);var ve=N({},H);N(ve,V);var _e=function(t){var e=U(t);e&&e.tagName||(e={namespaceURI:re,tagName:"template"});var i=C(t.tagName),n=C(e.tagName);return!!ae[t.namespaceURI]&&(t.namespaceURI===ie?e.namespaceURI===ne?"svg"===i:e.namespaceURI===ee?"svg"===i&&("annotation-xml"===n||pe[n]):Boolean(ge[i]):t.namespaceURI===ee?e.namespaceURI===ne?"math"===i:e.namespaceURI===ie?"math"===i&&fe[n]:Boolean(ve[i]):t.namespaceURI===ne?!(e.namespaceURI===ie&&!fe[n])&&!(e.namespaceURI===ee&&!pe[n])&&!ve[i]&&(me[i]||!ge[i]):!("application/xhtml+xml"!==mt||!ae[t.namespaceURI]))},ye=function(t){x(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=ot}catch(e){t.remove()}}},we=function(t,e){try{x(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){x(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Mt[t])if(Qt||Ht)try{ye(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},be=function(t){var e,i;if(kt)t=""+t;else{var n=E(t,/^[\r\n\t ]+/);i=n&&n[0]}"application/xhtml+xml"===mt&&re===ne&&(t=''+t+"");var r=at?at.createHTML(t):t;if(re===ne)try{e=(new p).parseFromString(r,mt)}catch(t){}if(!e||!e.documentElement){e=lt.createDocument(re,"template",null);try{e.documentElement.innerHTML=se?ot:r}catch(t){}}var a=e.body||e.documentElement;return t&&i&&a.insertBefore(s.createTextNode(i),a.childNodes[0]||null),re===ne?ut.call(e,Dt?"html":"body")[0]:Dt?e.documentElement:a},xe=function(t){return ct.call(t.ownerDocument||t,t,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Ce=function(t){return t instanceof d&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof u)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Be=function(e){return"object"===t(A)?e instanceof A:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ee=function(t,e,n){ft[t]&&w(ft[t],(function(t){t.call(i,e,n,ce)}))},Se=function(t){var e;if(Ee("beforeSanitizeElements",t,null),Ce(t))return ye(t),!0;if(L(/[\u0080-\uFFFF]/,t.nodeName))return ye(t),!0;var n=gt(t.nodeName);if(Ee("uponSanitizeElement",t,{tagName:n,allowedTags:Et}),t.hasChildNodes()&&!Be(t.firstElementChild)&&(!Be(t.content)||!Be(t.content.firstElementChild))&&L(/<[/\w]/g,t.innerHTML)&&L(/<[/\w]/g,t.textContent))return ye(t),!0;if("select"===n&&L(/