vue-visual-kit 1.0.202506201130 → 1.0.202506201133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/esm-index.js +1 -1
- package/esm/esm-index.js.map +1 -1
- package/package.json +1 -1
package/esm/esm-index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ref as e,reactive as n,watch as t,onMounted as a,nextTick as o,onUnmounted as i,createElementBlock as r,openBlock as s,withDirectives as c,createElementVNode as l,normalizeClass as p,createCommentVNode as u,toDisplayString as d,vShow as m,onDeactivated as f,isRef as v,onActivated as g,unref as h,getCurrentInstance as x,defineComponent as b,computed as y,createVNode as w,provide as T,watchEffect as A,inject as C,mergeProps as O,onBeforeUnmount as k,Transition as E,Teleport as I,Fragment as S,createApp as P,renderList as R,normalizeStyle as j,resolveComponent as _}from"vue";import*as L from"@cornerstonejs/core";import{utilities as N,volumeLoader as M,cornerstoneStreamingImageVolumeLoader as D,cornerstoneStreamingDynamicImageVolumeLoader as F,init as B,Enums as z,cache as U,requestPoolManager as V,RenderingEngine as q,setVolumesForViewports as G,CONSTANTS as $,eventTarget as W,geometryLoader as H}from"@cornerstonejs/core";import*as X from"@cornerstonejs/tools";import{init as Y}from"@cornerstonejs/tools";import K from"@cornerstonejs/dicom-image-loader";import*as Z from"@cornerstonejs/polymorphic-segmentation";import{showconsole as Q}from"@/common/js/util";import J from"http";import ee from"https";import ne from"url";import te from"stream";import ae from"assert";import oe from"tty";import ie from"util";import re from"os";import se from"zlib";import ce from"path";import le from"fs";var pe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ue(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var de,me,fe={};function ve(){if(me)return de;me=1;var e=function(e){return e&&e.Math===Math&&e};return de=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof pe&&pe)||e("object"==typeof de&&de)||function(){return this}()||Function("return this")()}var ge,he,xe,be,ye,we,Te,Ae,Ce={};function Oe(){return he?ge:(he=1,ge=function(e){try{return!!e()}catch(e){return!0}})}function ke(){if(be)return xe;be=1;var e=Oe();return xe=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function Ee(){if(we)return ye;we=1;var e=Oe();return ye=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function Ie(){if(Ae)return Te;Ae=1;var e=Ee(),n=Function.prototype.call;return Te=e?n.bind(n):function(){return n.apply(n,arguments)},Te}var Se,Pe,Re,je,_e,Le,Ne,Me,De,Fe,Be,ze,Ue,Ve,qe,Ge,$e,We,He,Xe,Ye,Ke,Ze,Qe,Je,en,nn,tn,an,on,rn,sn,cn,ln,pn,un,dn,mn,fn,vn,gn,hn={};function xn(){return Re?Pe:(Re=1,Pe=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}})}function bn(){if(_e)return je;_e=1;var e=Ee(),n=Function.prototype,t=n.call,a=e&&n.bind.bind(t,t);return je=e?a:function(e){return function(){return t.apply(e,arguments)}},je}function yn(){if(Ne)return Le;Ne=1;var e=bn(),n=e({}.toString),t=e("".slice);return Le=function(e){return t(n(e),8,-1)}}function wn(){return Be?Fe:(Be=1,Fe=function(e){return null==e})}function Tn(){if(Ue)return ze;Ue=1;var e=wn(),n=TypeError;return ze=function(t){if(e(t))throw new n("Can't call method on "+t);return t}}function An(){if(qe)return Ve;qe=1;var e=function(){if(De)return Me;De=1;var e=bn(),n=Oe(),t=yn(),a=Object,o=e("".split);return Me=n(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===t(e)?o(e,""):a(e)}:a}(),n=Tn();return Ve=function(t){return e(n(t))}}function Cn(){if($e)return Ge;$e=1;var e="object"==typeof document&&document.all;return Ge=void 0===e&&void 0!==e?function(n){return"function"==typeof n||n===e}:function(e){return"function"==typeof e}}function On(){if(He)return We;He=1;var e=Cn();return We=function(n){return"object"==typeof n?null!==n:e(n)}}function kn(){if(Ye)return Xe;Ye=1;var e=ve(),n=Cn();return Xe=function(t,a){return arguments.length<2?(o=e[t],n(o)?o:void 0):e[t]&&e[t][a];var o},Xe}function En(){if(Ze)return Ke;Ze=1;var e=bn();return Ke=e({}.isPrototypeOf)}function In(){if(Je)return Qe;Je=1;var e=ve().navigator,n=e&&e.userAgent;return Qe=n?String(n):""}function Sn(){if(nn)return en;nn=1;var e,n,t=ve(),a=In(),o=t.process,i=t.Deno,r=o&&o.versions||i&&i.version,s=r&&r.v8;return s&&(n=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!n&&a&&(!(e=a.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=a.match(/Chrome\/(\d+)/))&&(n=+e[1]),en=n}function Pn(){if(an)return tn;an=1;var e=Sn(),n=Oe(),t=ve().String;return tn=!!Object.getOwnPropertySymbols&&!n(function(){var n=Symbol("symbol detection");return!t(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function Rn(){if(rn)return on;rn=1;var e=Pn();return on=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function jn(){if(cn)return sn;cn=1;var e=kn(),n=Cn(),t=En(),a=Rn(),o=Object;return sn=a?function(e){return"symbol"==typeof e}:function(a){var i=e("Symbol");return n(i)&&t(i.prototype,o(a))}}function _n(){if(pn)return ln;pn=1;var e=String;return ln=function(n){try{return e(n)}catch(e){return"Object"}}}function Ln(){if(dn)return un;dn=1;var e=Cn(),n=_n(),t=TypeError;return un=function(a){if(e(a))return a;throw new t(n(a)+" is not a function")}}function Nn(){if(fn)return mn;fn=1;var e=Ln(),n=wn();return mn=function(t,a){var o=t[a];return n(o)?void 0:e(o)}}function Mn(){if(gn)return vn;gn=1;var e=Ie(),n=Cn(),t=On(),a=TypeError;return vn=function(o,i){var r,s;if("string"===i&&n(r=o.toString)&&!t(s=e(r,o)))return s;if(n(r=o.valueOf)&&!t(s=e(r,o)))return s;if("string"!==i&&n(r=o.toString)&&!t(s=e(r,o)))return s;throw new a("Can't convert object to primitive value")}}var Dn,Fn,Bn,zn,Un,Vn,qn,Gn,$n,Wn,Hn,Xn,Yn,Kn,Zn,Qn,Jn,et,nt,tt,at,ot,it,rt,st={exports:{}};function ct(){return Fn?Dn:(Fn=1,Dn=!1)}function lt(){if(zn)return Bn;zn=1;var e=ve(),n=Object.defineProperty;return Bn=function(t,a){try{n(e,t,{value:a,configurable:!0,writable:!0})}catch(n){e[t]=a}return a}}function pt(){if(Un)return st.exports;Un=1;var e=ct(),n=ve(),t=lt(),a="__core-js_shared__",o=st.exports=n[a]||t(a,{});return(o.versions||(o.versions=[])).push({version:"3.42.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"}),st.exports}function ut(){if(qn)return Vn;qn=1;var e=pt();return Vn=function(n,t){return e[n]||(e[n]=t||{})}}function dt(){if($n)return Gn;$n=1;var e=Tn(),n=Object;return Gn=function(t){return n(e(t))}}function mt(){if(Hn)return Wn;Hn=1;var e=bn(),n=dt(),t=e({}.hasOwnProperty);return Wn=Object.hasOwn||function(e,a){return t(n(e),a)}}function ft(){if(Yn)return Xn;Yn=1;var e=bn(),n=0,t=Math.random(),a=e(1..toString);return Xn=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+t,36)}}function vt(){if(Zn)return Kn;Zn=1;var e=ve(),n=ut(),t=mt(),a=ft(),o=Pn(),i=Rn(),r=e.Symbol,s=n("wks"),c=i?r.for||r:r&&r.withoutSetter||a;return Kn=function(e){return t(s,e)||(s[e]=o&&t(r,e)?r[e]:c("Symbol."+e)),s[e]},Kn}function gt(){if(Jn)return Qn;Jn=1;var e=Ie(),n=On(),t=jn(),a=Nn(),o=Mn(),i=vt(),r=TypeError,s=i("toPrimitive");return Qn=function(i,c){if(!n(i)||t(i))return i;var l,p=a(i,s);if(p){if(void 0===c&&(c="default"),l=e(p,i,c),!n(l)||t(l))return l;throw new r("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(i,c)}}function ht(){if(nt)return et;nt=1;var e=gt(),n=jn();return et=function(t){var a=e(t,"string");return n(a)?a:a+""}}function xt(){if(at)return tt;at=1;var e=ve(),n=On(),t=e.document,a=n(t)&&n(t.createElement);return tt=function(e){return a?t.createElement(e):{}}}function bt(){if(it)return ot;it=1;var e=ke(),n=Oe(),t=xt();return ot=!e&&!n(function(){return 7!==Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a})}function yt(){if(rt)return Ce;rt=1;var e=ke(),n=Ie(),t=function(){if(Se)return hn;Se=1;var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,t=n&&!e.call({1:2},1);return hn.f=t?function(e){var t=n(this,e);return!!t&&t.enumerable}:e,hn}(),a=xn(),o=An(),i=ht(),r=mt(),s=bt(),c=Object.getOwnPropertyDescriptor;return Ce.f=e?c:function(e,l){if(e=o(e),l=i(l),s)try{return c(e,l)}catch(e){}if(r(e,l))return a(!n(t.f,e,l),e[l])},Ce}var wt,Tt,At,Ct,Ot,kt,Et,It={};function St(){if(Tt)return wt;Tt=1;var e=ke(),n=Oe();return wt=e&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Pt(){if(Ct)return At;Ct=1;var e=On(),n=String,t=TypeError;return At=function(a){if(e(a))return a;throw new t(n(a)+" is not an object")}}function Rt(){if(Ot)return It;Ot=1;var e=ke(),n=bt(),t=St(),a=Pt(),o=ht(),i=TypeError,r=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",p="writable";return It.f=e?t?function(e,n,t){if(a(e),n=o(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&p in t&&!t[p]){var i=s(e,n);i&&i[p]&&(e[n]=t.value,t={configurable:l in t?t[l]:i[l],enumerable:c in t?t[c]:i[c],writable:!1})}return r(e,n,t)}:r:function(e,t,s){if(a(e),t=o(t),a(s),n)try{return r(e,t,s)}catch(e){}if("get"in s||"set"in s)throw new i("Accessors not supported");return"value"in s&&(e[t]=s.value),e},It}function jt(){if(Et)return kt;Et=1;var e=ke(),n=Rt(),t=xn();return kt=e?function(e,a,o){return n.f(e,a,t(1,o))}:function(e,n,t){return e[n]=t,e}}var _t,Lt,Nt,Mt,Dt,Ft,Bt,zt,Ut,Vt,qt,Gt,$t,Wt,Ht,Xt={exports:{}};function Yt(){if(Mt)return Nt;Mt=1;var e=bn(),n=Cn(),t=pt(),a=e(Function.toString);return n(t.inspectSource)||(t.inspectSource=function(e){return a(e)}),Nt=t.inspectSource}function Kt(){if(zt)return Bt;zt=1;var e=ut(),n=ft(),t=e("keys");return Bt=function(e){return t[e]||(t[e]=n(e))}}function Zt(){return Vt?Ut:(Vt=1,Ut={})}function Qt(){if(Gt)return qt;Gt=1;var e,n,t,a=function(){if(Ft)return Dt;Ft=1;var e=ve(),n=Cn(),t=e.WeakMap;return Dt=n(t)&&/native code/.test(String(t))}(),o=ve(),i=On(),r=jt(),s=mt(),c=pt(),l=Kt(),p=Zt(),u="Object already initialized",d=o.TypeError,m=o.WeakMap;if(a||c.state){var f=c.state||(c.state=new m);f.get=f.get,f.has=f.has,f.set=f.set,e=function(e,n){if(f.has(e))throw new d(u);return n.facade=e,f.set(e,n),n},n=function(e){return f.get(e)||{}},t=function(e){return f.has(e)}}else{var v=l("state");p[v]=!0,e=function(e,n){if(s(e,v))throw new d(u);return n.facade=e,r(e,v,n),n},n=function(e){return s(e,v)?e[v]:{}},t=function(e){return s(e,v)}}return qt={set:e,get:n,has:t,enforce:function(a){return t(a)?n(a):e(a,{})},getterFor:function(e){return function(t){var a;if(!i(t)||(a=n(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return a}}}}function Jt(){if($t)return Xt.exports;$t=1;var e=bn(),n=Oe(),t=Cn(),a=mt(),o=ke(),i=function(){if(Lt)return _t;Lt=1;var e=ke(),n=mt(),t=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,o=n(t,"name"),i=o&&"something"===function(){}.name,r=o&&(!e||e&&a(t,"name").configurable);return _t={EXISTS:o,PROPER:i,CONFIGURABLE:r}}().CONFIGURABLE,r=Yt(),s=Qt(),c=s.enforce,l=s.get,p=String,u=Object.defineProperty,d=e("".slice),m=e("".replace),f=e([].join),v=o&&!n(function(){return 8!==u(function(){},"length",{value:8}).length}),g=String(String).split("String"),h=Xt.exports=function(e,n,t){"Symbol("===d(p(n),0,7)&&(n="["+m(p(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||i&&e.name!==n)&&(o?u(e,"name",{value:n,configurable:!0}):e.name=n),v&&t&&a(t,"arity")&&e.length!==t.arity&&u(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?o&&u(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return a(r,"source")||(r.source=f(g,"string"==typeof n?n:"")),e};return Function.prototype.toString=h(function(){return t(this)&&l(this).source||r(this)},"toString"),Xt.exports}function ea(){if(Ht)return Wt;Ht=1;var e=Cn(),n=Rt(),t=Jt(),a=lt();return Wt=function(o,i,r,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:i;if(e(r)&&t(r,l,s),s.global)c?o[i]=r:a(i,r);else{try{s.unsafe?o[i]&&(c=!0):delete o[i]}catch(e){}c?o[i]=r:n.f(o,i,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return o},Wt}var na,ta,aa,oa,ia,ra,sa,ca,la,pa,ua,da,ma,fa,va,ga,ha,xa={};function ba(){if(oa)return aa;oa=1;var e=function(){if(ta)return na;ta=1;var e=Math.ceil,n=Math.floor;return na=Math.trunc||function(t){var a=+t;return(a>0?n:e)(a)}}();return aa=function(n){var t=+n;return t!=t||0===t?0:e(t)}}function ya(){if(ra)return ia;ra=1;var e=ba(),n=Math.max,t=Math.min;return ia=function(a,o){var i=e(a);return i<0?n(i+o,0):t(i,o)},ia}function wa(){if(ca)return sa;ca=1;var e=ba(),n=Math.min;return sa=function(t){var a=e(t);return a>0?n(a,9007199254740991):0},sa}function Ta(){if(pa)return la;pa=1;var e=wa();return la=function(n){return e(n.length)},la}function Aa(){if(fa)return ma;fa=1;var e=bn(),n=mt(),t=An(),a=function(){if(da)return ua;da=1;var e=An(),n=ya(),t=Ta(),a=function(a){return function(o,i,r){var s=e(o),c=t(s);if(0===c)return!a&&-1;var l,p=n(r,c);if(a&&i!=i){for(;c>p;)if((l=s[p++])!=l)return!0}else for(;c>p;p++)if((a||p in s)&&s[p]===i)return a||p||0;return!a&&-1}};return ua={includes:a(!0),indexOf:a(!1)}}().indexOf,o=Zt(),i=e([].push);return ma=function(e,r){var s,c=t(e),l=0,p=[];for(s in c)!n(o,s)&&n(c,s)&&i(p,s);for(;r.length>l;)n(c,s=r[l++])&&(~a(p,s)||i(p,s));return p}}function Ca(){return ga?va:(ga=1,va=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Oa,ka,Ea,Ia,Sa,Pa,Ra,ja,_a,La,Na,Ma,Da,Fa,Ba,za,Ua,Va,qa,Ga={};function $a(){if(Ea)return ka;Ea=1;var e=kn(),n=bn(),t=function(){if(ha)return xa;ha=1;var e=Aa(),n=Ca().concat("length","prototype");return xa.f=Object.getOwnPropertyNames||function(t){return e(t,n)},xa}(),a=(Oa||(Oa=1,Ga.f=Object.getOwnPropertySymbols),Ga),o=Pt(),i=n([].concat);return ka=e("Reflect","ownKeys")||function(e){var n=t.f(o(e)),r=a.f;return r?i(n,r(e)):n}}function Wa(){if(Sa)return Ia;Sa=1;var e=mt(),n=$a(),t=yt(),a=Rt();return Ia=function(o,i,r){for(var s=n(i),c=a.f,l=t.f,p=0;p<s.length;p++){var u=s[p];e(o,u)||r&&e(r,u)||c(o,u,l(i,u))}}}function Ha(){if(_a)return ja;_a=1;var e=ve(),n=yt().f,t=jt(),a=ea(),o=lt(),i=Wa(),r=function(){if(Ra)return Pa;Ra=1;var e=Oe(),n=Cn(),t=/#|\.prototype\./,a=function(t,a){var c=i[o(t)];return c===s||c!==r&&(n(a)?e(a):!!a)},o=a.normalize=function(e){return String(e).replace(t,".").toLowerCase()},i=a.data={},r=a.NATIVE="N",s=a.POLYFILL="P";return Pa=a}();return ja=function(s,c){var l,p,u,d,m,f=s.target,v=s.global,g=s.stat;if(l=v?e:g?e[f]||o(f,{}):e[f]&&e[f].prototype)for(p in c){if(d=c[p],u=s.dontCallGetSet?(m=n(l,p))&&m.value:l[p],!r(v?p:f+(g?".":"#")+p,s.forced)&&void 0!==u){if(typeof d==typeof u)continue;i(d,u)}(s.sham||u&&u.sham)&&t(d,"sham",!0),a(l,p,d,s)}},ja}function Xa(){if(Na)return La;Na=1;var e=En(),n=TypeError;return La=function(t,a){if(e(a,t))return t;throw new n("Incorrect invocation")}}function Ya(){if(Ba)return Fa;Ba=1;var e=mt(),n=Cn(),t=dt(),a=Kt(),o=function(){if(Da)return Ma;Da=1;var e=Oe();return Ma=!e(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}(),i=a("IE_PROTO"),r=Object,s=r.prototype;return Fa=o?r.getPrototypeOf:function(a){var o=t(a);if(e(o,i))return o[i];var c=o.constructor;return n(c)&&o instanceof c?c.prototype:o instanceof r?s:null}}function Ka(){if(Ua)return za;Ua=1;var e=Jt(),n=Rt();return za=function(t,a,o){return o.get&&e(o.get,a,{getter:!0}),o.set&&e(o.set,a,{setter:!0}),n.f(t,a,o)},za}function Za(){if(qa)return Va;qa=1;var e=ke(),n=Rt(),t=xn();return Va=function(a,o,i){e?n.f(a,o,t(0,i)):a[o]=i}}var Qa,Ja,eo,no,to,ao,oo,io,ro,so,co={};function lo(){if(eo)return co;eo=1;var e=ke(),n=St(),t=Rt(),a=Pt(),o=An(),i=function(){if(Ja)return Qa;Ja=1;var e=Aa(),n=Ca();return Qa=Object.keys||function(t){return e(t,n)}}();return co.f=e&&!n?Object.defineProperties:function(e,n){a(e);for(var r,s=o(n),c=i(n),l=c.length,p=0;l>p;)t.f(e,r=c[p++],s[r]);return e},co}function po(){if(to)return no;to=1;var e=kn();return no=e("document","documentElement")}function uo(){if(oo)return ao;oo=1;var e,n=Pt(),t=lo(),a=Ca(),o=Zt(),i=po(),r=xt(),s=Kt(),c="prototype",l="script",p=s("IE_PROTO"),u=function(){},d=function(e){return"<"+l+">"+e+"</"+l+">"},m=function(e){e.write(d("")),e.close();var n=e.parentWindow.Object;return e=null,n},f=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var n,t,o;f="undefined"!=typeof document?document.domain&&e?m(e):(t=r("iframe"),o="java"+l+":",t.style.display="none",i.appendChild(t),t.src=String(o),(n=t.contentWindow.document).open(),n.write(d("document.F=Object")),n.close(),n.F):m(e);for(var s=a.length;s--;)delete f[c][a[s]];return f()};return o[p]=!0,ao=Object.create||function(e,a){var o;return null!==e?(u[c]=n(e),o=new u,u[c]=null,o[p]=e):o=f(),void 0===a?o:t.f(o,a)}}function mo(){if(ro)return io;ro=1;var e,n,t,a=Oe(),o=Cn(),i=On(),r=uo(),s=Ya(),c=ea(),l=vt(),p=ct(),u=l("iterator"),d=!1;return[].keys&&("next"in(t=[].keys())?(n=s(s(t)))!==Object.prototype&&(e=n):d=!0),!i(e)||a(function(){var n={};return e[u].call(n)!==n})?e={}:p&&(e=r(e)),o(e[u])||c(e,u,function(){return this}),io={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:d}}!function(){if(so)return fe;so=1;var e=Ha(),n=ve(),t=Xa(),a=Pt(),o=Cn(),i=Ya(),r=Ka(),s=Za(),c=Oe(),l=mt(),p=vt(),u=mo().IteratorPrototype,d=ke(),m=ct(),f="constructor",v="Iterator",g=p("toStringTag"),h=TypeError,x=n[v],b=m||!o(x)||x.prototype!==u||!c(function(){x({})}),y=function(){if(t(this,u),i(this)===u)throw new h("Abstract class Iterator not directly constructable")},w=function(e,n){d?r(u,e,{configurable:!0,get:function(){return n},set:function(n){if(a(this),this===u)throw new h("You can't redefine this property");l(this,e)?this[e]=n:s(this,e,n)}}):u[e]=n};l(u,g)||w(g,v),!b&&l(u,f)&&u[f]!==Object||w(f,y),y.prototype=u,e({global:!0,constructor:!0,forced:b},{Iterator:y})}();var fo,vo,go,ho,xo,bo,yo,wo,To,Ao,Co,Oo,ko,Eo,Io,So,Po,Ro,jo,_o,Lo,No,Mo,Do,Fo,Bo={};function zo(){if(ho)return go;ho=1;var e=function(){if(vo)return fo;vo=1;var e=yn(),n=bn();return fo=function(t){if("Function"===e(t))return n(t)}}(),n=Ln(),t=Ee(),a=e(e.bind);return go=function(e,o){return n(e),void 0===o?e:t?a(e,o):function(){return e.apply(o,arguments)}},go}function Uo(){return bo?xo:(bo=1,xo={})}function Vo(){if(wo)return yo;wo=1;var e=vt(),n=Uo(),t=e("iterator"),a=Array.prototype;return yo=function(e){return void 0!==e&&(n.Array===e||a[t]===e)}}function qo(){if(Oo)return Co;Oo=1;var e=function(){if(Ao)return To;Ao=1;var e={};return e[vt()("toStringTag")]="z",To="[object z]"===String(e)}(),n=Cn(),t=yn(),a=vt()("toStringTag"),o=Object,i="Arguments"===t(function(){return arguments}());return Co=e?t:function(e){var r,s,c;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,n){try{return e[n]}catch(e){}}(r=o(e),a))?s:i?t(r):"Object"===(c=t(r))&&n(r.callee)?"Arguments":c}}function Go(){if(Eo)return ko;Eo=1;var e=qo(),n=Nn(),t=wn(),a=Uo(),o=vt()("iterator");return ko=function(i){if(!t(i))return n(i,o)||n(i,"@@iterator")||a[e(i)]}}function $o(){if(So)return Io;So=1;var e=Ie(),n=Ln(),t=Pt(),a=_n(),o=Go(),i=TypeError;return Io=function(r,s){var c=arguments.length<2?o(r):s;if(n(c))return t(e(c,r));throw new i(a(r)+" is not iterable")},Io}function Wo(){if(Ro)return Po;Ro=1;var e=Ie(),n=Pt(),t=Nn();return Po=function(a,o,i){var r,s;n(a);try{if(!(r=t(a,"return"))){if("throw"===o)throw i;return i}r=e(r,a)}catch(e){s=!0,r=e}if("throw"===o)throw i;if(s)throw r;return n(r),i}}function Ho(){if(_o)return jo;_o=1;var e=zo(),n=Ie(),t=Pt(),a=_n(),o=Vo(),i=Ta(),r=En(),s=$o(),c=Go(),l=Wo(),p=TypeError,u=function(e,n){this.stopped=e,this.result=n},d=u.prototype;return jo=function(m,f,v){var g,h,x,b,y,w,T,A=v&&v.that,C=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),k=!(!v||!v.IS_ITERATOR),E=!(!v||!v.INTERRUPTED),I=e(f,A),S=function(e){return g&&l(g,"normal",e),new u(!0,e)},P=function(e){return C?(t(e),E?I(e[0],e[1],S):I(e[0],e[1])):E?I(e,S):I(e)};if(O)g=m.iterator;else if(k)g=m;else{if(!(h=c(m)))throw new p(a(m)+" is not iterable");if(o(h)){for(x=0,b=i(m);b>x;x++)if((y=P(m[x]))&&r(d,y))return y;return new u(!1)}g=s(m,h)}for(w=O?m.next:g.next;!(T=n(w,g)).done;){try{y=P(T.value)}catch(e){l(g,"throw",e)}if("object"==typeof y&&y&&r(d,y))return y}return new u(!1)},jo}function Xo(){return No||(No=1,Lo=function(e){return{iterator:e,next:e.next,done:!1}}),Lo}function Yo(){if(Do)return Mo;Do=1;var e=ve();return Mo=function(n,t){var a=e.Iterator,o=a&&a.prototype,i=o&&o[n],r=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){r=!0}},-1)}catch(e){e instanceof t||(r=!1)}if(!r)return i}}!function(){if(Fo)return Bo;Fo=1;var e=Ha(),n=Ie(),t=Ho(),a=Ln(),o=Pt(),i=Xo(),r=Wo(),s=Yo()("find",TypeError);e({target:"Iterator",proto:!0,real:!0,forced:s},{find:function(e){o(this);try{a(e)}catch(e){r(this,"throw",e)}if(s)return n(s,this,e);var c=i(this),l=0;return t(c,function(n,t){if(e(n,l++))return t(n)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}();var Ko,Zo,Qo,Jo={};!function(){if(Qo)return Jo;Qo=1;var e=Ha(),n=Ho(),t=Ln(),a=Pt(),o=Xo(),i=Wo(),r=Yo(),s=function(){if(Zo)return Ko;Zo=1;var e=Ee(),n=Function.prototype,t=n.apply,a=n.call;return Ko="object"==typeof Reflect&&Reflect.apply||(e?a.bind(t):function(){return a.apply(t,arguments)}),Ko}(),c=Oe(),l=TypeError,p=c(function(){[].keys().reduce(function(){},void 0)}),u=!p&&r("reduce",l);e({target:"Iterator",proto:!0,real:!0,forced:p||u},{reduce:function(e){a(this);try{t(e)}catch(e){i(this,"throw",e)}var r=arguments.length<2,c=r?void 0:arguments[1];if(u)return s(u,this,r?[e]:[e,c]);var p=o(this),d=0;if(n(p,function(n){r?(r=!1,c=n):c=e(c,n,d),d++},{IS_RECORD:!0}),r)throw new l("Reduce of empty iterator with no initial value");return c}})}();const ei={};var ni={addInstance:function(e,n){const t=N.imageIdToURI(e);ei[t]=n},get:function(e,n){if("scalingModule"===e){const e=N.imageIdToURI(n);return ei[e]}}};const{calibratedPixelSpacingMetadataProvider:ti}=L.utilities;async function ai(e){L.metaData.addProvider(ni.get.bind(ni),1e4),L.metaData.addProvider(ti.get.bind(ti),11e3),K.init(),M.registerUnknownVolumeLoader(D),M.registerVolumeLoader("cornerstoneStreamingImageVolume",D),M.registerVolumeLoader("cornerstoneStreamingDynamicImageVolume",F),await B({}),await Y({addons:{polySeg:Z}})}window.cornerstone=L,window.cornerstoneTools=X;function oi({volumeActor:e}){e.getProperty().getRGBTransferFunction(0).setMappingRange(-160,240)}var ii=1e-6,ri="undefined"!=typeof Float32Array?Float32Array:Array;function si(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function ci(e,n){if(e===n){var t=n[1],a=n[2],o=n[3],i=n[6],r=n[7],s=n[11];e[1]=n[4],e[2]=n[8],e[3]=n[12],e[4]=t,e[6]=n[9],e[7]=n[13],e[8]=a,e[9]=i,e[11]=n[14],e[12]=o,e[13]=r,e[14]=s}else e[0]=n[0],e[1]=n[4],e[2]=n[8],e[3]=n[12],e[4]=n[1],e[5]=n[5],e[6]=n[9],e[7]=n[13],e[8]=n[2],e[9]=n[6],e[10]=n[10],e[11]=n[14],e[12]=n[3],e[13]=n[7],e[14]=n[11],e[15]=n[15];return e}function li(e,n,t){var a=n[0],o=n[1],i=n[2],r=n[3],s=n[4],c=n[5],l=n[6],p=n[7],u=n[8],d=n[9],m=n[10],f=n[11],v=n[12],g=n[13],h=n[14],x=n[15],b=t[0],y=t[1],w=t[2],T=t[3];return e[0]=b*a+y*s+w*u+T*v,e[1]=b*o+y*c+w*d+T*g,e[2]=b*i+y*l+w*m+T*h,e[3]=b*r+y*p+w*f+T*x,b=t[4],y=t[5],w=t[6],T=t[7],e[4]=b*a+y*s+w*u+T*v,e[5]=b*o+y*c+w*d+T*g,e[6]=b*i+y*l+w*m+T*h,e[7]=b*r+y*p+w*f+T*x,b=t[8],y=t[9],w=t[10],T=t[11],e[8]=b*a+y*s+w*u+T*v,e[9]=b*o+y*c+w*d+T*g,e[10]=b*i+y*l+w*m+T*h,e[11]=b*r+y*p+w*f+T*x,b=t[12],y=t[13],w=t[14],T=t[15],e[12]=b*a+y*s+w*u+T*v,e[13]=b*o+y*c+w*d+T*g,e[14]=b*i+y*l+w*m+T*h,e[15]=b*r+y*p+w*f+T*x,e}function pi(e,n,t){var a,o,i,r,s,c,l,p,u,d,m,f,v=t[0],g=t[1],h=t[2];return n===e?(e[12]=n[0]*v+n[4]*g+n[8]*h+n[12],e[13]=n[1]*v+n[5]*g+n[9]*h+n[13],e[14]=n[2]*v+n[6]*g+n[10]*h+n[14],e[15]=n[3]*v+n[7]*g+n[11]*h+n[15]):(a=n[0],o=n[1],i=n[2],r=n[3],s=n[4],c=n[5],l=n[6],p=n[7],u=n[8],d=n[9],m=n[10],f=n[11],e[0]=a,e[1]=o,e[2]=i,e[3]=r,e[4]=s,e[5]=c,e[6]=l,e[7]=p,e[8]=u,e[9]=d,e[10]=m,e[11]=f,e[12]=a*v+s*g+u*h+n[12],e[13]=o*v+c*g+d*h+n[13],e[14]=i*v+l*g+m*h+n[14],e[15]=r*v+p*g+f*h+n[15]),e}function ui(e,n,t){var a=t[0],o=t[1],i=t[2];return e[0]=n[0]*a,e[1]=n[1]*a,e[2]=n[2]*a,e[3]=n[3]*a,e[4]=n[4]*o,e[5]=n[5]*o,e[6]=n[6]*o,e[7]=n[7]*o,e[8]=n[8]*i,e[9]=n[9]*i,e[10]=n[10]*i,e[11]=n[11]*i,e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],e}function di(e,n){var t=new ri(3);!function(e,n){var t=n[0],a=n[1],o=n[2],i=n[4],r=n[5],s=n[6],c=n[8],l=n[9],p=n[10];e[0]=Math.hypot(t,a,o),e[1]=Math.hypot(i,r,s),e[2]=Math.hypot(c,l,p)}(t,n);var a=1/t[0],o=1/t[1],i=1/t[2],r=n[0]*a,s=n[1]*o,c=n[2]*i,l=n[4]*a,p=n[5]*o,u=n[6]*i,d=n[8]*a,m=n[9]*o,f=n[10]*i,v=r+p+f,g=0;return v>0?(g=2*Math.sqrt(v+1),e[3]=.25*g,e[0]=(u-m)/g,e[1]=(d-c)/g,e[2]=(s-l)/g):r>p&&r>f?(g=2*Math.sqrt(1+r-p-f),e[3]=(u-m)/g,e[0]=.25*g,e[1]=(s+l)/g,e[2]=(d+c)/g):p>f?(g=2*Math.sqrt(1+p-r-f),e[3]=(d-c)/g,e[0]=(s+l)/g,e[1]=.25*g,e[2]=(u+m)/g):(g=2*Math.sqrt(1+f-r-p),e[3]=(s-l)/g,e[0]=(d+c)/g,e[1]=(u+m)/g,e[2]=.25*g),e}function mi(e,n){var t=n[0],a=n[1],o=n[2],i=n[3],r=t+t,s=a+a,c=o+o,l=t*r,p=a*r,u=a*s,d=o*r,m=o*s,f=o*c,v=i*r,g=i*s,h=i*c;return e[0]=1-u-f,e[1]=p+h,e[2]=d-g,e[3]=0,e[4]=p-h,e[5]=1-l-f,e[6]=m+v,e[7]=0,e[8]=d+g,e[9]=m-v,e[10]=1-l-u,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function fi(){var e=new ri(3);return ri!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function vi(e,n,t){var a=new ri(3);return a[0]=e,a[1]=n,a[2]=t,a}function gi(e,n,t){var a=n[0],o=n[1],i=n[2],r=t[3]*a+t[7]*o+t[11]*i+t[15];return r=r||1,e[0]=(t[0]*a+t[4]*o+t[8]*i+t[12])/r,e[1]=(t[1]*a+t[5]*o+t[9]*i+t[13])/r,e[2]=(t[2]*a+t[6]*o+t[10]*i+t[14])/r,e}Math.hypot||(Math.hypot=function(){for(var e=0,n=arguments.length;n--;)e+=arguments[n]*arguments[n];return Math.sqrt(e)});function hi(){var e=new ri(4);return ri!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function xi(e,n,t){t*=.5;var a=Math.sin(t);return e[0]=a*n[0],e[1]=a*n[1],e[2]=a*n[2],e[3]=Math.cos(t),e}function bi(e,n,t,a){var o,i,r,s,c,l=n[0],p=n[1],u=n[2],d=n[3],m=t[0],f=t[1],v=t[2],g=t[3];return(i=l*m+p*f+u*v+d*g)<0&&(i=-i,m=-m,f=-f,v=-v,g=-g),1-i>ii?(o=Math.acos(i),r=Math.sin(o),s=Math.sin((1-a)*o)/r,c=Math.sin(a*o)/r):(s=1-a,c=a),e[0]=s*l+c*m,e[1]=s*p+c*f,e[2]=s*u+c*v,e[3]=s*d+c*g,e}fi(),function(){var e,n=(e=new ri(4),ri!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0),e)}();var yi,wi,Ti;fi(),vi(1,0,0),vi(0,1,0),hi(),hi(),yi=new ri(9),ri!=Float32Array&&(yi[1]=0,yi[2]=0,yi[3]=0,yi[5]=0,yi[6]=0,yi[7]=0),yi[0]=1,yi[4]=1,yi[8]=1;var Ai,Ci,Oi,ki,Ei,Ii,Si,Pi,Ri,ji,_i,Li,Ni,Mi,Di,Fi,Bi,zi,Ui,Vi,qi,Gi,$i,Wi,Hi,Xi,Yi,Ki,Zi,Qi,Ji=(Ti||(Ti=1,wi=function e(n,t){if(n===t)return!0;if(n&&t&&"object"==typeof n&&"object"==typeof t){if(n.constructor!==t.constructor)return!1;var a,o,i;if(Array.isArray(n)){if((a=n.length)!=t.length)return!1;for(o=a;0!==o--;)if(!e(n[o],t[o]))return!1;return!0}if(n.constructor===RegExp)return n.source===t.source&&n.flags===t.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===t.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===t.toString();if((a=(i=Object.keys(n)).length)!==Object.keys(t).length)return!1;for(o=a;0!==o--;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=a;0!==o--;){var r=i[o];if(!e(n[r],t[r]))return!1}return!0}return n!=n&&t!=t}),wi),er=ue(Ji);function nr(){if(Ci)return Ai;Ci=1;var e=Object.prototype.toString;return Ai=function(n){var t=e.call(n),a="[object Arguments]"===t;return a||(a="[object Array]"!==t&&null!==n&&"object"==typeof n&&"number"==typeof n.length&&n.length>=0&&"[object Function]"===e.call(n.callee)),a}}function tr(){if(ki)return Oi;var e;if(ki=1,!Object.keys){var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,a=nr(),o=Object.prototype.propertyIsEnumerable,i=!o.call({toString:null},"toString"),r=o.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(e){var n=e.constructor;return n&&n.prototype===e},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!l["$"+e]&&n.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{c(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();e=function(e){var o=null!==e&&"object"==typeof e,l="[object Function]"===t.call(e),u=a(e),d=o&&"[object String]"===t.call(e),m=[];if(!o&&!l&&!u)throw new TypeError("Object.keys called on a non-object");var f=r&&l;if(d&&e.length>0&&!n.call(e,0))for(var v=0;v<e.length;++v)m.push(String(v));if(u&&e.length>0)for(var g=0;g<e.length;++g)m.push(String(g));else for(var h in e)f&&"prototype"===h||!n.call(e,h)||m.push(String(h));if(i)for(var x=function(e){if("undefined"==typeof window||!p)return c(e);try{return c(e)}catch(e){return!1}}(e),b=0;b<s.length;++b)x&&"constructor"===s[b]||!n.call(e,s[b])||m.push(s[b]);return m}}return Oi=e}function ar(){if(Pi)return Si;Pi=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(n){e=!1}return Si=e}function or(){return ji?Ri:(ji=1,Ri=SyntaxError)}function ir(){return Li?_i:(Li=1,_i=TypeError)}function rr(){return Mi?Ni:(Mi=1,Ni=Object.getOwnPropertyDescriptor)}function sr(){if(Fi)return Di;Fi=1;var e=rr();if(e)try{e([],"length")}catch(n){e=null}return Di=e}function cr(){if(zi)return Bi;zi=1;var e=ar(),n=or(),t=ir(),a=sr();return Bi=function(o,i,r){if(!o||"object"!=typeof o&&"function"!=typeof o)throw new t("`obj` must be an object or a function`");if("string"!=typeof i&&"symbol"!=typeof i)throw new t("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new t("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new t("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new t("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new t("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,p=arguments.length>6&&arguments[6],u=!!a&&a(o,i);if(e)e(o,i,{configurable:null===l&&u?u.configurable:!l,enumerable:null===s&&u?u.enumerable:!s,value:r,writable:null===c&&u?u.writable:!c});else{if(!p&&(s||c||l))throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");o[i]=r}},Bi}function lr(){if(Vi)return Ui;Vi=1;var e=ar(),n=function(){return!!e};return n.hasArrayLengthDefineBug=function(){if(!e)return null;try{return 1!==e([],"length",{value:1}).length}catch(e){return!0}},Ui=n}function pr(){if(Gi)return qi;Gi=1;var e=function(){if(Ii)return Ei;Ii=1;var e=Array.prototype.slice,n=nr(),t=Object.keys,a=t?function(e){return t(e)}:tr(),o=Object.keys;return a.shim=function(){if(Object.keys){var t=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);t||(Object.keys=function(t){return n(t)?o(e.call(t)):o(t)})}else Object.keys=a;return Object.keys||a},Ei=a}(),n="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),t=Object.prototype.toString,a=Array.prototype.concat,o=cr(),i=lr()(),r=function(e,n,a,r){if(n in e)if(!0===r){if(e[n]===a)return}else if("function"!=typeof(s=r)||"[object Function]"!==t.call(s)||!r())return;var s;i?o(e,n,a,!0):o(e,n,a)},s=function(t,o){var i=arguments.length>2?arguments[2]:{},s=e(o);n&&(s=a.call(s,Object.getOwnPropertySymbols(o)));for(var c=0;c<s.length;c+=1)r(t,s[c],o[s[c]],i[s[c]])};return s.supportsDescriptors=!!i,qi=s}function ur(){return Wi?$i:(Wi=1,$i=pe)}function dr(){if(Xi)return Hi;Xi=1;var e=ur();return Hi=function(){return"object"==typeof pe&&pe&&pe.Math===Math&&pe.Array===Array?pe:e}}function mr(){if(Ki)return Yi;Ki=1;var e=pr(),n=dr();return Yi=function(){var t=n();if(e.supportsDescriptors){var a=Object.getOwnPropertyDescriptor(t,"globalThis");a&&(!a.configurable||!a.enumerable&&a.writable&&globalThis===t)||Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else"object"==typeof globalThis&&globalThis===t||(t.globalThis=t);return t},Yi}var fr=function(){if(Qi)return Zi;Qi=1;var e=pr(),n=ur(),t=dr(),a=mr(),o=t(),i=function(){return o};return e(i,{getPolyfill:t,implementation:n,shim:a}),Zi=i}();const vr=ue(fr)(),gr={vtkObject:()=>null};function hr(e){if(null==e)return e;if(e.isA)return e;if(!e.vtkClass)return vr.console&&vr.console.error&&vr.console.error("Invalid VTK object"),null;const n=gr[e.vtkClass];if(!n)return vr.console&&vr.console.error&&vr.console.error(`No vtk class found for Object of type ${e.vtkClass}`),null;const t={...e};Object.keys(t).forEach(e=>{t[e]&&"object"==typeof t[e]&&t[e].vtkClass&&(t[e]=hr(t[e]))});const a=n(t);return a&&a.modified&&a.modified(),a}hr.register=function(e,n){gr[e]=n};class xr extends Array{push(){for(let e=0;e<arguments.length;e++)this.includes(arguments[e])||super.push(arguments[e]);return this.length}}let br=0;const yr=Symbol("void");const wr={};function Tr(){}["log","debug","info","warn","error","time","timeEnd","group","groupEnd"].forEach(e=>{wr[e]=Tr}),vr.console=console.hasOwnProperty("log")?console:wr;const Ar={debug:Tr,error:vr.console.error||Tr,info:vr.console.info||Tr,log:vr.console.log||Tr,warn:vr.console.warn||Tr};function Cr(e,n){Ar[e]&&(Ar[e]=n||Tr)}function Or(){Ar.log(...arguments)}function kr(){Ar.info(...arguments)}function Er(){Ar.debug(...arguments)}function Ir(){Ar.error(...arguments)}function Sr(){Ar.warn(...arguments)}const Pr={};function Rr(e){Pr[e]||(Ar.error(e),Pr[e]=!0)}const jr=Object.create(null);jr.Float32Array=Float32Array,jr.Float64Array=Float64Array,jr.Uint8Array=Uint8Array,jr.Int8Array=Int8Array,jr.Uint16Array=Uint16Array,jr.Int16Array=Int16Array,jr.Uint32Array=Uint32Array,jr.Int32Array=Int32Array,jr.Uint8ClampedArray=Uint8ClampedArray;try{jr.BigInt64Array=BigInt64Array,jr.BigUint64Array=BigUint64Array}catch{}function _r(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return new(jr[e]||Float64Array)(...t)}function Lr(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return(jr[e]||Float64Array).from(...t)}function Nr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Mr(e){return Nr("_"===e[0]?e.slice(1):e)}function Dr(e){return e.charAt(0).toLowerCase()+e.slice(1)}function Fr(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;const a=["TB","GB","MB","KB"];let o=Number(e),i="B";for(;o>t;)o/=t,i=a.pop();return`${o.toFixed(n)} ${i}`}function Br(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";const t=[];let a=e;for(;a>1e3;)t.push(("000"+a%1e3).slice(-3)),a=Math.floor(a/1e3);return a>0&&t.push(a),t.reverse(),t.join(n)}function zr(e){Object.keys(e).forEach(n=>{Array.isArray(e[n])&&(e[n]=[].concat(e[n]))})}function Ur(e){return e&&e.isA?e.getState():e}function Vr(e){setTimeout(e,0)}function qr(e,n){const t=performance.now();e.finally(()=>{const e=performance.now()-t;n(e)})}function Gr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};zr(n);const t=[];if(Number.isInteger(n.mtime)||(n.mtime=++br),"classHierarchy"in n){if(!(n.classHierarchy instanceof xr)){const e=new xr;for(let t=0;t<n.classHierarchy.length;t++)e.push(n.classHierarchy[t]);n.classHierarchy=e}}else n.classHierarchy=new xr("vtkObject");function a(e){t[e]=null}return e.isDeleted=()=>!!n.deleted,e.modified=a=>{n.deleted?Ir("instance deleted - cannot call any method"):a&&a<e.getMTime()||(n.mtime=++br,t.forEach(n=>n&&n(e)))},e.onModified=e=>{if(n.deleted)return Ir("instance deleted - cannot call any method"),null;const o=t.length;return t.push(e),function(e){return Object.freeze({unsubscribe:function(){a(e)}})}(o)},e.getMTime=()=>n.mtime,e.isA=e=>{let t=n.classHierarchy.length;for(;t--;)if(n.classHierarchy[t]===e)return!0;return!1},e.getClassName=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n.classHierarchy[n.classHierarchy.length-1-e]},e.set=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=!1;return Object.keys(t).forEach(r=>{const s=o?null:e[`set${Nr(r)}`];s&&Array.isArray(t[r])&&s.length>1?i=s(...t[r])||i:s?i=s(t[r])||i:(-1!==["mtime"].indexOf(r)||a||Sr(`Warning: Set value to model directly ${r}, ${t[r]}`),i=n[r]!==t[r]||i,n[r]=t[r])}),i},e.get=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];if(!t.length)return n;const o={};return t.forEach(e=>{o[e]=n[e]}),o},e.getReferenceByName=e=>n[e],e.delete=()=>{Object.keys(n).forEach(e=>delete n[e]),t.forEach((e,n)=>a(n)),n.deleted=!0},e.getState=()=>{if(n.deleted)return null;const t={...n,vtkClass:e.getClassName()};Object.keys(t).forEach(e=>{var n;null===t[e]||void 0===t[e]||"_"===e[0]?delete t[e]:t[e].isA?t[e]=t[e].getState():Array.isArray(t[e])?t[e]=t[e].map(Ur):(n=t[e],Object.values(jr).some(e=>n instanceof e)&&(t[e]=Array.from(t[e])))});const a={};return Object.keys(t).sort().forEach(e=>{a[e]=t[e]}),a.mtime&&delete a.mtime,a},e.shallowCopy=function(t){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.getClassName()!==e.getClassName())throw new Error(`Cannot ShallowCopy ${t.getClassName()} into ${e.getClassName()}`);const o=t.get(),i=Object.keys(n).sort();Object.keys(o).sort().forEach(e=>{const t=i.indexOf(e);-1===t?a&&Er(`add ${e} in shallowCopy`):i.splice(t,1),n[e]=o[e]}),i.length&&a&&Er(`Untouched keys: ${i.join(", ")}`),e.modified()},e.toJSON=function(){return e.getState()},e}const $r={object:(e,n,t)=>function(){return{...n[t.name]}}};function Wr(e,n,t){t.forEach(t=>{if("object"==typeof t){const a=$r[t.type];e[`get${Mr(t.name)}`]=a?a(e,n,t):()=>n[t.name]}else e[`get${Mr(t)}`]=()=>n[t]})}const Hr={enum(e,n,t){const a=`_on${Mr(t.name)}Changed`;return o=>{if("string"==typeof o){if(void 0!==t.enum[o])return n[t.name]!==t.enum[o]&&(n[t.name]=t.enum[o],e.modified(),!0);throw Ir(`Set Enum with invalid argument ${t}, ${o}`),new RangeError("Set Enum with invalid string argument")}if("number"==typeof o){if(n[t.name]!==o){if(-1!==Object.keys(t.enum).map(e=>t.enum[e]).indexOf(o)){const i=n[t.name];return n[t.name]=o,n[a]?.(e,n,o,i),e.modified(),!0}throw Ir(`Set Enum outside numeric range ${t}, ${o}`),new RangeError("Set Enum outside numeric range")}return!1}throw Ir(`Set Enum with invalid argument (String/Number) ${t}, ${o}`),new TypeError("Set Enum with invalid argument (String/Number)")}},object(e,n,t){1===t.params?.length&&Sr('Setter of type "object" with a single "param" field is not supported');const a=`_on${Mr(t.name)}Changed`;return function(){for(var o=arguments.length,i=new Array(o),r=0;r<o;r++)i[r]=arguments[r];let s;if(s=i.length>1&&t.params?.length?t.params.reduce((e,n,t)=>Object.assign(e,{[n]:i[t]}),{}):i[0],!er(n[t.name],s)){const o=n[t.name];return n[t.name]=s,n[a]?.(e,n,s,o),e.modified(),!0}return!1}}};function Xr(e){if("object"==typeof e){const n=Hr[e.type];if(n)return(t,a)=>n(t,a,e);throw Ir(`No setter for field ${e}`),new TypeError("No setter for field")}return function(n,t){const a=`_on${Mr(e)}Changed`;return function(o){if(t.deleted)return Ir("instance deleted - cannot call any method"),!1;if(t[e]!==o){const i=t[e.name];return t[e]=o,t[a]?.(n,t,o,i),n.modified(),!0}return!1}}}function Yr(e,n,t){t.forEach(t=>{"object"==typeof t?e[`set${Mr(t.name)}`]=Xr(t)(e,n):e[`set${Mr(t)}`]=Xr(t)(e,n)})}function Kr(e,n,t){Wr(e,n,t),Yr(e,n,t)}function Zr(e,n,t){t.forEach(t=>{e[`get${Mr(t)}`]=()=>n[t]?Array.from(n[t]):n[t],e[`get${Mr(t)}ByReference`]=()=>n[t]})}function Qr(e,n,t,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;t.forEach(t=>{if(n[t]&&a&&n[t].length!==a)throw new RangeError(`Invalid initial number of values for array (${t})`);const i=`_on${Mr(t)}Changed`;e[`set${Mr(t)}`]=function(){if(n.deleted)return Ir("instance deleted - cannot call any method"),!1;for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];let l,p=s,u=!1;if(1===p.length&&(null==p[0]||p[0].length>=0)&&(p=p[0],u=!0),null==p)l=n[t]!==p;else{if(a&&p.length!==a){if(!(p.length<a&&void 0!==o))throw new RangeError(`Invalid number of values for array setter (${t})`);for(p=Array.from(p),u=!1;p.length<a;)p.push(o)}l=null==n[t]||n[t].length!==p.length;for(let e=0;!l&&e<p.length;++e)l=n[t][e]!==p[e];l&&u&&(p=Array.from(p))}if(l){const a=n[t.name];n[t]=p,n[i]?.(e,n,p,a),e.modified()}return l},e[`set${Mr(t)}From`]=e=>{const a=n[t];e.forEach((e,n)=>{a[n]=e})}})}function Jr(e,n,t,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;Zr(e,n,t),Qr(e,n,t,a,o)}function es(e,n,t){for(let e=0;e<t.length;e++){const a=t[e];void 0!==n[a]&&(n[`_${a}`]=n[a],delete n[a])}}function ns(e,n,t,a){function o(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n.deleted?Ir("instance deleted - cannot call any method"):a>=n.numberOfInputs?Ir(`algorithm ${e.getClassName()} only has ${n.numberOfInputs} input ports. To add more input ports, use addInputData()`):(n.inputData[a]!==t||n.inputConnection[a])&&(n.inputData[a]=t,n.inputConnection[a]=null,e.modified&&e.modified())}function i(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(n.deleted)Ir("instance deleted - cannot call any method");else{if(a>=n.numberOfInputs){let t=`algorithm ${e.getClassName()} only has `;return t+=`${n.numberOfInputs}`,t+=" input ports. To add more input ports, use addInputConnection()",void Ir(t)}n.inputData[a]=null,n.inputConnection[a]=t}}function r(){let e=n.numberOfInputs;for(;e&&!n.inputData[e-1]&&!n.inputConnection[e-1];)e--;return e===n.numberOfInputs&&n.numberOfInputs++,e}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n.deleted?(Ir("instance deleted - cannot call any method"),null):(e.shouldUpdate()&&e.update(),n.output[t])}if(n.inputData?n.inputData=n.inputData.map(hr):n.inputData=[],n.inputConnection?n.inputConnection=n.inputConnection.map(hr):n.inputConnection=[],n.output?n.output=n.output.map(hr):n.output=[],n.inputArrayToProcess?n.inputArrayToProcess=n.inputArrayToProcess.map(hr):n.inputArrayToProcess=[],n.numberOfInputs=t,e.shouldUpdate=()=>{const t=e.getMTime();let o=1/0,i=a;for(;i--;){if(!n.output[i]||n.output[i].isDeleted())return!0;const e=n.output[i].getMTime();if(e<t)return!0;e<o&&(o=e)}for(i=n.numberOfInputs;i--;)if(n.inputConnection[i]?.filter.shouldUpdate()||e.getInputData(i)?.getMTime()>o)return!0;return!1},n.numberOfInputs){let t=n.numberOfInputs;for(;t--;)n.inputData.push(null),n.inputConnection.push(null);e.setInputData=o,e.setInputConnection=i,e.addInputData=function(e){n.deleted?Ir("instance deleted - cannot call any method"):o(e,r())},e.addInputConnection=function(e){n.deleted?Ir("instance deleted - cannot call any method"):i(e,r())},e.getInputData=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n.inputConnection[e]&&(n.inputData[e]=n.inputConnection[e]()),n.inputData[e]},e.getInputConnection=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n.inputConnection[e]}}a&&(e.getOutputData=s,e.getOutputPort=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=()=>s(n);return t.filter=e,t}),e.update=()=>{const t=[];if(n.numberOfInputs){let a=0;for(;a<n.numberOfInputs;)t[a]=e.getInputData(a),a++}e.shouldUpdate()&&e.requestData&&e.requestData(t,n.output)},e.getNumberOfInputPorts=()=>n.numberOfInputs,e.getNumberOfOutputPorts=()=>a||n.output.length,e.getInputArrayToProcess=e=>{const t=n.inputArrayToProcess[e],a=n.inputData[e];return t&&a?a[`get${t.fieldAssociation}`]().getArray(t.arrayName):null},e.setInputArrayToProcess=function(e,t,a){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Scalars";for(;n.inputArrayToProcess.length<e;)n.inputArrayToProcess.push(null);n.inputArrayToProcess[e]={arrayName:t,fieldAssociation:a,attributeType:o}}}const ts=Symbol("Event abort");function as(e,n,t){const a=[],o=e.delete;let i=1;function r(e){for(let n=0;n<a.length;++n){const[t]=a[n];if(t===e)return void a.splice(n,1)}}e[`invoke${Mr(t)}`]=function(){if(n.deleted)return void Ir("instance deleted - cannot call any method");const t=a.slice();for(let n=0;n<t.length;++n){const[,a,o]=t[n];if(a)if(o<0)setTimeout(()=>a.apply(e,arguments),1-o);else{if(a.apply(e,arguments)===ts)break}}},e[`on${Mr(t)}`]=function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e.apply)return console.error(`Invalid callback for event ${t}`),null;if(n.deleted)return Ir("instance deleted - cannot call any method"),null;const s=i++;return a.push([s,e,o]),a.sort((e,n)=>n[2]-e[2]),function(e){return Object.freeze({unsubscribe:function(){r(e)}})}(s)},e.delete=()=>{o(),a.forEach(e=>{let[n]=e;return r(n)})}}function os(e,n){const t=function(){const n={};return e(n,{},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Object.freeze(n)};return n&&hr.register(n,t),t}function is(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return n.filter(e=>!!e).map(e=>e(...t))}}function rs(e){return e&&e.isA&&e.isA("vtkObject")}function ss(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(rs(e)){if(a.indexOf(e)>=0)return t;a.push(e);const o=n(e);void 0!==o&&t.push(o);const i=e.get();Object.keys(i).forEach(e=>{const o=i[e];Array.isArray(o)?o.forEach(e=>{ss(e,n,t,a)}):ss(o,n,t,a)})}return t}function cs(e,n,t){var a=this;let o;const i=function(){for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];const c=a,l=t&&!o;clearTimeout(o),o=setTimeout(()=>{o=null,t||e.apply(c,r)},n),l&&e.apply(c,r)};return i.cancel=()=>clearTimeout(o),i}function ls(e,n){let t=!1,a=null;function o(){t=!1,null!==a&&(i(...a),a=null)}function i(){for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];t?a=r:(t=!0,e(...r),setTimeout(o,n))}return i}function ps(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.keystore=Object.assign(n.keystore||{},t),e.setKey=(e,t)=>{n.keystore[e]=t},e.getKey=e=>n.keystore[e],e.getAllKeys=()=>Object.keys(n.keystore),e.deleteKey=e=>delete n.keystore[e],e.clearKeystore=()=>e.getAllKeys().forEach(e=>delete n.keystore[e])}let us=1;const ds="__root__";function ms(e,n){ps(e,n);const t=e.delete;n.proxyId=""+us++,n.ui=JSON.parse(JSON.stringify(n.ui||[])),Wr(e,n,["proxyId","proxyGroup","proxyName"]),Kr(e,n,["proxyManager"]);const a={},o={};function i(e,n){o[n]||(o[n]=[]);const t=o[n];for(let n=0;n<e.length;n++)t.push(e[n].name),a[e[n].name]=e[n],e[n].children&&e[n].children.length&&i(e[n].children,e[n].name)}function r(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds;const a=[],i=n.proxyId,s=function(){return o[arguments.length>0&&void 0!==arguments[0]?arguments[0]:ds]}(t)||[];for(let n=0;n<s.length;n++){const t=s[n],o=e[`get${Mr(t)}`],c={id:i,name:t,value:o?o():void 0},l=r(t);l.length&&(c.children=l),a.push(c)}return a}i(n.ui,ds),e.updateUI=t=>{n.ui=JSON.parse(JSON.stringify(t||[])),Object.keys(a).forEach(e=>delete a[e]),Object.keys(o).forEach(e=>delete o[e]),i(n.ui,ds),e.modified()},e.updateProxyProperty=(e,n)=>{const t=a[e];t?Object.assign(t,n):a[e]={...n}},e.activate=()=>{if(n.proxyManager){const t=`setActive${Mr(e.getProxyGroup().slice(0,-1))}`;n.proxyManager[t]&&n.proxyManager[t](e)}},n.propertyLinkSubscribers={},e.registerPropertyLinkForGC=(e,t)=>{t in n.propertyLinkSubscribers||(n.propertyLinkSubscribers[t]=[]),n.propertyLinkSubscribers[t].push(e)},e.gcPropertyLinks=t=>{const a=n.propertyLinkSubscribers[t]||[];for(;a.length;)a.pop().unbind(e)},n.propertyLinkMap={},e.getPropertyLink=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n.propertyLinkMap[e])return n.propertyLinkMap[e];let a=null;const o=[];let i=0,r=!1;function s(t){let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(r)return null;const c=[];let l=null;for(i=o.length;i--;){const e=o[i];e.instance===t?l=e:c.push(e)}if(!l)return null;const p=l.instance[`get${Mr(l.propertyName)}`]();if(!function(e,n){if(e===n)return!0;if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!==n[t])return!1;return!0}return!1}(p,a)||s){for(a=p,r=!0;c.length;){const e=c.pop();e.instance.set({[e.propertyName]:a})}r=!1}return n.propertyLinkMap[e].persistent&&(n.propertyLinkMap[e].value=p),p}function c(e,n){const t=[];for(i=o.length;i--;){const a=o[i];a.instance!==e||a.propertyName!==n&&void 0!==n||(a.subscription.unsubscribe(),t.push(i))}for(;t.length;)o.splice(t.pop(),1)}const l={bind:function(t,a){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=t.onModified(s),l=o[0];return o.push({instance:t,propertyName:a,subscription:r}),i&&(n.propertyLinkMap[e].persistent&&void 0!==n.propertyLinkMap[e].value?t.set({[a]:n.propertyLinkMap[e].value}):l&&s(l.instance,!0)),{unsubscribe:()=>c(t,a)}},unbind:c,unsubscribe:function(){for(;o.length;)o.pop().subscription.unsubscribe()},persistent:t};return n.propertyLinkMap[e]=l,l},e.listPropertyNames=()=>r().map(e=>e.name),e.getPropertyByName=e=>r().find(n=>n.name===e),e.getPropertyDomainByName=e=>(a[e]||{}).domain,e.getProxySection=()=>({id:n.proxyId,name:n.proxyGroup,ui:n.ui,properties:r()}),e.delete=()=>{const a=Object.keys(n.propertyLinkMap);let o=a.length;for(;o--;)n.propertyLinkMap[a[o]].unsubscribe();Object.keys(n.propertyLinkSubscribers).forEach(e.gcPropertyLinks),t()},e.getState=()=>null,Vr(function(){if(n.links)for(let t=0;t<n.links.length;t++){const{link:a,property:o,persistent:i,updateOnBind:r,type:s}=n.links[t];if("application"===s){const t=n.proxyManager.getPropertyLink(a,i);e.registerPropertyLinkForGC(t,"application"),t.bind(e,o,r)}}})}function fs(e,n,t){const a=e.delete,o=[],i=Object.keys(t);let r=i.length;for(;r--;){const a=i[r],{modelKey:s,property:c,modified:l=!0}=t[a],p=Mr(c),u=Mr(a);e[`get${u}`]=n[s][`get${p}`],e[`set${u}`]=n[s][`set${p}`],l&&o.push(n[s].onModified(e.modified))}e.delete=()=>{for(;o.length;)o.pop().unsubscribe();a()}}function vs(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};function o(e){const t=Object.keys(e);let a=t.length;for(;a--;){const o=t[a];n[o].set(e[o])}}n.this=e;const i=Object.keys(a);let r=i.length;for(;r--;){const s=i[r];n[s]=a[s];const c=t[s];e[`set${Mr(s)}`]=t=>{if(t!==n[s]){n[s]=t;o(c[t]),e.modified()}}}i.length&&Wr(e,n,i)}function gs(e){let n=0,t=0,a=0,o=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=t,t=0),a=10*n,o=10*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||o)&&e.deltaMode&&(1===e.deltaMode?(a*=40,o*=40):(a*=800,o*=800)),a&&!n&&(n=a<1?-1:1),o&&!t&&(t=o<1?-1:1),{spinX:n,spinY:t||n,pixelX:a,pixelY:o||a}}var hs,xs={algo:ns,capitalize:Nr,chain:is,debounce:cs,enumToString:function(e,n){return Object.keys(e).find(t=>e[t]===n)},event:as,EVENT_ABORT:ts,formatBytesToProperUnit:Fr,formatNumbersWithThousandSeparator:Br,get:Wr,getArray:Zr,getCurrentGlobalMTime:function(){return br},getStateArrayMapFunc:Ur,isVtkObject:rs,keystore:ps,measurePromiseExecution:qr,moveToProtected:es,newInstance:os,newTypedArray:_r,newTypedArrayFrom:Lr,normalizeWheel:gs,obj:Gr,proxy:ms,proxyPropertyMapping:fs,proxyPropertyState:vs,safeArrays:zr,set:Yr,setArray:Qr,setGet:Kr,setGetArray:Jr,setImmediate:Vr,setLoggerFunction:Cr,throttle:ls,traverseInstanceTree:ss,TYPED_ARRAYS:jr,uncapitalize:Dr,VOID:yr,vtkDebugMacro:Er,vtkErrorMacro:Ir,vtkInfoMacro:kr,vtkLogMacro:Or,vtkOnceErrorMacro:Rr,vtkWarningMacro:Sr,objectSetterMap:Hr},bs=Object.freeze({__proto__:null,VOID:yr,setLoggerFunction:Cr,vtkLogMacro:Or,vtkInfoMacro:kr,vtkDebugMacro:Er,vtkErrorMacro:Ir,vtkWarningMacro:Sr,vtkOnceErrorMacro:Rr,TYPED_ARRAYS:jr,newTypedArray:_r,newTypedArrayFrom:Lr,capitalize:Nr,_capitalize:Mr,uncapitalize:Dr,formatBytesToProperUnit:Fr,formatNumbersWithThousandSeparator:Br,setImmediateVTK:Vr,measurePromiseExecution:qr,obj:Gr,get:Wr,set:Yr,setGet:Kr,getArray:Zr,setArray:Qr,setGetArray:Jr,moveToProtected:es,algo:ns,EVENT_ABORT:ts,event:as,newInstance:os,chain:is,isVtkObject:rs,traverseInstanceTree:ss,debounce:cs,throttle:ls,keystore:ps,proxy:ms,proxyPropertyMapping:fs,proxyPropertyState:vs,normalizeWheel:gs,default:xs}),ys={exports:{}};function ws(){return hs||(hs=1,function(e,n){function t(e){var n=this,t=function(){var e=4022871197,n=function(n){n=String(n);for(var t=0;t<n.length;t++){var a=.02519603282416938*(e+=n.charCodeAt(t));a-=e=a>>>0,e=(a*=e)>>>0,e+=4294967296*(a-=e)}return 2.3283064365386963e-10*(e>>>0)};return n}();n.next=function(){var e=2091639*n.s0+2.3283064365386963e-10*n.c;return n.s0=n.s1,n.s1=n.s2,n.s2=e-(n.c=0|e)},n.c=1,n.s0=t(" "),n.s1=t(" "),n.s2=t(" "),n.s0-=t(e),n.s0<0&&(n.s0+=1),n.s1-=t(e),n.s1<0&&(n.s1+=1),n.s2-=t(e),n.s2<0&&(n.s2+=1),t=null}function a(e,n){return n.c=e.c,n.s0=e.s0,n.s1=e.s1,n.s2=e.s2,n}function o(e,n){var o=new t(e),i=n&&n.state,r=o.next;return r.int32=function(){return 4294967296*o.next()|0},r.double=function(){return r()+11102230246251565e-32*(2097152*r()|0)},r.quick=r,i&&("object"==typeof i&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.alea=o}(0,ys)),ys.exports}var Ts,As={exports:{}};function Cs(){return Ts||(Ts=1,function(e,n){function t(e){var n=this,t="";n.x=0,n.y=0,n.z=0,n.w=0,n.next=function(){var e=n.x^n.x<<11;return n.x=n.y,n.y=n.z,n.z=n.w,n.w^=n.w>>>19^e^e>>>8},e===(0|e)?n.x=e:t+=e;for(var a=0;a<t.length+64;a++)n.x^=0|t.charCodeAt(a),n.next()}function a(e,n){return n.x=e.x,n.y=e.y,n.z=e.z,n.w=e.w,n}function o(e,n){var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&("object"==typeof i&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.xor128=o}(0,As)),As.exports}var Os,ks={exports:{}};function Es(){return Os||(Os=1,function(e,n){function t(e){var n=this,t="";n.next=function(){var e=n.x^n.x>>>2;return n.x=n.y,n.y=n.z,n.z=n.w,n.w=n.v,(n.d=n.d+362437|0)+(n.v=n.v^n.v<<4^e^e<<1)|0},n.x=0,n.y=0,n.z=0,n.w=0,n.v=0,e===(0|e)?n.x=e:t+=e;for(var a=0;a<t.length+64;a++)n.x^=0|t.charCodeAt(a),a==t.length&&(n.d=n.x<<10^n.x>>>4),n.next()}function a(e,n){return n.x=e.x,n.y=e.y,n.z=e.z,n.w=e.w,n.v=e.v,n.d=e.d,n}function o(e,n){var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&("object"==typeof i&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.xorwow=o}(0,ks)),ks.exports}var Is,Ss={exports:{}};function Ps(){return Is||(Is=1,function(e,n){function t(e){var n=this;n.next=function(){var e,t,a=n.x,o=n.i;return e=a[o],t=(e^=e>>>7)^e<<24,t^=(e=a[o+1&7])^e>>>10,t^=(e=a[o+3&7])^e>>>3,t^=(e=a[o+4&7])^e<<7,e=a[o+7&7],t^=(e^=e<<13)^e<<9,a[o]=t,n.i=o+1&7,t},function(e,n){var t,a=[];if(n===(0|n))a[0]=n;else for(n=""+n,t=0;t<n.length;++t)a[7&t]=a[7&t]<<15^n.charCodeAt(t)+a[t+1&7]<<13;for(;a.length<8;)a.push(0);for(t=0;t<8&&0===a[t];++t);for(8==t?a[7]=-1:a[t],e.x=a,e.i=0,t=256;t>0;--t)e.next()}(n,e)}function a(e,n){return n.x=e.x.slice(),n.i=e.i,n}function o(e,n){null==e&&(e=+new Date);var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&(i.x&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.xorshift7=o}(0,Ss)),Ss.exports}var Rs,js={exports:{}};function _s(){return Rs||(Rs=1,function(e,n){function t(e){var n=this;n.next=function(){var e,t,a=n.w,o=n.X,i=n.i;return n.w=a=a+1640531527|0,t=o[i+34&127],e=o[i=i+1&127],t^=t<<13,e^=e<<17,t^=t>>>15,e^=e>>>12,t=o[i]=t^e,n.i=i,t+(a^a>>>16)|0},function(e,n){var t,a,o,i,r,s=[],c=128;for(n===(0|n)?(a=n,n=null):(n+="\0",a=0,c=Math.max(c,n.length)),o=0,i=-32;i<c;++i)n&&(a^=n.charCodeAt((i+32)%n.length)),0===i&&(r=a),a^=a<<10,a^=a>>>15,a^=a<<4,a^=a>>>13,i>=0&&(r=r+1640531527|0,o=0==(t=s[127&i]^=a+r)?o+1:0);for(o>=128&&(s[127&(n&&n.length||0)]=-1),o=127,i=512;i>0;--i)a=s[o+34&127],t=s[o=o+1&127],a^=a<<13,t^=t<<17,a^=a>>>15,t^=t>>>12,s[o]=a^t;e.w=r,e.X=s,e.i=o}(n,e)}function a(e,n){return n.i=e.i,n.w=e.w,n.X=e.X.slice(),n}function o(e,n){null==e&&(e=+new Date);var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&(i.X&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.xor4096=o}(0,js)),js.exports}var Ls,Ns={exports:{}};function Ms(){return Ls||(Ls=1,function(e,n){function t(e){var n=this,t="";n.next=function(){var e=n.b,t=n.c,a=n.d,o=n.a;return e=e<<25^e>>>7^t,t=t-a|0,a=a<<24^a>>>8^o,o=o-e|0,n.b=e=e<<20^e>>>12^t,n.c=t=t-a|0,n.d=a<<16^t>>>16^o,n.a=o-e|0},n.a=0,n.b=0,n.c=-1640531527,n.d=1367130551,e===Math.floor(e)?(n.a=e/4294967296|0,n.b=0|e):t+=e;for(var a=0;a<t.length+20;a++)n.b^=0|t.charCodeAt(a),n.next()}function a(e,n){return n.a=e.a,n.b=e.b,n.c=e.c,n.d=e.d,n}function o(e,n){var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&("object"==typeof i&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.tychei=o}(0,Ns)),Ns.exports}var Ds,Fs,Bs,zs={exports:{}},Us=zs.exports;function Vs(){return Ds||(Ds=1,e=zs,function(n,t,a){var o,i=256,r="random",s=a.pow(i,6),c=a.pow(2,52),l=2*c,p=255;function u(e,p,u){var h=[],x=v(f((p=1==p?{entropy:!0}:p||{}).entropy?[e,g(t)]:null==e?function(){try{var e;return o&&(e=o.randomBytes)?e=e(i):(e=new Uint8Array(i),(n.crypto||n.msCrypto).getRandomValues(e)),g(e)}catch(e){var a=n.navigator,r=a&&a.plugins;return[+new Date,n,r,n.screen,g(t)]}}():e,3),h),b=new d(h),y=function(){for(var e=b.g(6),n=s,t=0;e<c;)e=(e+t)*i,n*=i,t=b.g(1);for(;e>=l;)e/=2,n/=2,t>>>=1;return(e+t)/n};return y.int32=function(){return 0|b.g(4)},y.quick=function(){return b.g(4)/4294967296},y.double=y,v(g(b.S),t),(p.pass||u||function(e,n,t,o){return o&&(o.S&&m(o,b),e.state=function(){return m(b,{})}),t?(a[r]=e,n):e})(y,x,"global"in p?p.global:this==a,p.state)}function d(e){var n,t=e.length,a=this,o=0,r=a.i=a.j=0,s=a.S=[];for(t||(e=[t++]);o<i;)s[o]=o++;for(o=0;o<i;o++)s[o]=s[r=p&r+e[o%t]+(n=s[o])],s[r]=n;(a.g=function(e){for(var n,t=0,o=a.i,r=a.j,s=a.S;e--;)n=s[o=p&o+1],t=t*i+s[p&(s[o]=s[r=p&r+n])+(s[r]=n)];return a.i=o,a.j=r,t})(i)}function m(e,n){return n.i=e.i,n.j=e.j,n.S=e.S.slice(),n}function f(e,n){var t,a=[],o=typeof e;if(n&&"object"==o)for(t in e)try{a.push(f(e[t],n-1))}catch(e){}return a.length?a:"string"==o?e:e+"\0"}function v(e,n){for(var t,a=e+"",o=0;o<a.length;)n[p&o]=p&(t^=19*n[p&o])+a.charCodeAt(o++);return g(n)}function g(e){return String.fromCharCode.apply(0,e)}if(v(a.random(),t),e.exports){e.exports=u;try{o=require("crypto")}catch(e){}}else a["seed"+r]=u}("undefined"!=typeof self?self:Us,[],Math)),zs.exports;var e}!function(){if(Bs)return Fs;Bs=1;var e=ws(),n=Cs(),t=Es(),a=Ps(),o=_s(),i=Ms(),r=Vs();r.alea=e,r.xor128=n,r.xorwow=t,r.xorshift7=a,r.xor4096=o,r.tychei=i,Fs=r}();const{vtkErrorMacro:qs,vtkWarningMacro:Gs}=xs;function $s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;const n=Array(e);for(let t=0;t<e;++t)n[t]=0;return n}function Ws(e){return e/180*Math.PI}function Hs(e,n,t){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function Xs(e,n,t,a){return a[0]=e[0]+n[0]*t,a[1]=e[1]+n[1]*t,a[2]=e[2]+n[2]*t,a}function Ys(e,n){return e[0]*n[0]+e[1]*n[1]+e[2]*n[2]}function Ks(e,n,t){const a=e[1]*n[2]-e[2]*n[1],o=e[2]*n[0]-e[0]*n[2],i=e[0]*n[1]-e[1]*n[0];return t[0]=a,t[1]=o,t[2]=i,t}function Zs(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;switch(n){case 1:return Math.abs(e);case 2:return Math.sqrt(e[0]*e[0]+e[1]*e[1]);case 3:return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);default:{let t=0;for(let a=0;a<n;a++)t+=e[a]*e[a];return Math.sqrt(t)}}}function Qs(e,n){return(e[0]-n[0])*(e[0]-n[0])+(e[1]-n[1])*(e[1]-n[1])+(e[2]-n[2])*(e[2]-n[2])}function Js(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return 2===n.length?n[0][0]*n[1][1]-n[1][0]*n[0][1]:4===n.length?n[0]*n[3]-n[1]*n[2]:Number.NaN}const ec=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e-6;return e.length===n.length&&e.every(function(e,a){return Math.abs(e-n[a])<=t})};function nc(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!`${e}`.includes("e"))return+`${Math.round(`${e}e+${n}`)}e-${n}`;const t=`${e}`.split("e");let a="";return+t[1]+n>0&&(a="+"),+`${Math.round(`${+t[0]}e${a}${+t[1]+n}`)}e-${n}`}function tc(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return n[0]=nc(e[0],t),n[1]=nc(e[1],t),n[2]=nc(e[2],t),n}function ac(e,n,t){if(2===t){const t=$s(2),a=Js(e[0],e[1],e[2],e[3]);return 0===a?0:(t[0]=(e[3]*n[0]-e[1]*n[1])/a,t[1]=(-e[2]*n[0]+e[0]*n[1])/a,n[0]=t[0],n[1]=t[1],1)}if(1===t)return 0===e[0]?0:(n[0]/=e[0],1);const a=$s(t);return 0===function(e,n,t){let a,o,i,r,s,c,l,p=0;const u=$s(t);for(a=0;a<t;a++){for(r=0,o=0;o<t;o++)(l=Math.abs(e[a*t+o]))>r&&(r=l);if(0===r)return Gs("Unable to factor linear system"),0;u[a]=1/r}for(o=0;o<t;o++){for(a=0;a<o;a++){for(s=e[a*t+o],i=0;i<a;i++)s-=e[a*t+i]*e[i*t+o];e[a*t+o]=s}for(r=0,a=o;a<t;a++){for(s=e[a*t+o],i=0;i<o;i++)s-=e[a*t+i]*e[i*t+o];e[a*t+o]=s,(c=u[a]*Math.abs(s))>=r&&(r=c,p=a)}if(o!==p){for(i=0;i<t;i++)c=e[p*t+i],e[p*t+i]=e[o*t+i],e[o*t+i]=c;u[p]=u[o]}if(n[o]=p,Math.abs(e[o*t+o])<=1e-12)return Gs("Unable to factor linear system"),0;if(o!==t-1)for(c=1/e[o*t+o],a=o+1;a<t;a++)e[a*t+o]*=c}return 1}(e,a,t)?0:(function(e,n,t,a){let o,i,r,s,c;for(r=-1,o=0;o<a;o++){if(s=n[o],c=t[s],t[s]=t[o],r>=0)for(i=r;i<=o-1;i++)c-=e[o*a+i]*t[i];else 0!==c&&(r=o);t[o]=c}for(o=a-1;o>=0;o--){for(c=t[o],i=o+1;i<a;i++)c-=e[o*a+i]*t[i];t[o]=c/e[o*a+o]}}(e,a,n,t),1)}function oc(e,n){const[t,a,o]=e,i=1/3,r=1/6,s=2/3,c=5/6;let l,p,u;t>r&&t<=i?(p=1,l=(i-t)/r,u=0):t>i&&t<=.5?(p=1,u=(t-i)/r,l=0):t>.5&&t<=s?(u=1,p=(s-t)/r,l=0):t>s&&t<=c?(u=1,l=(t-s)/r,p=0):t>c&&t<=1?(l=1,u=(1-t)/r,p=0):(l=1,p=t/r,u=0),l=a*l+(1-a),p=a*p+(1-a),u=a*u+(1-a),l*=o,p*=o,u*=o,n[0]=l,n[1]=p,n[2]=u}function ic(e,n,t){return e<n?n:e>t?t:e}function rc(e,n,t){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[0,0,0];return a[0]=ic(e[0],n[0],t[0]),a[1]=ic(e[1],n[1],t[1]),a[2]=ic(e[2],n[2],t[2]),a}const{isNaN:sc}=Number,cc=sc;function lc(){return[].concat([Number.MAX_VALUE,-Number.MAX_VALUE,Number.MAX_VALUE,-Number.MAX_VALUE,Number.MAX_VALUE,-Number.MAX_VALUE])}const pc={};function uc(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,pc,t),xs.obj(e,n),xs.setGet(e,n,["transform"]),function(e,n){n.classHierarchy.push("vtkImplicitFunction"),e.functionValue=t=>{if(!n.transform)return e.evaluateFunction(t);const a=[];return n.transform.transformPoint(t,a),e.evaluateFunction(a)},e.evaluateFunction=e=>{xs.vtkErrorMacro("not implemented")}}(e,n)}var dc={newInstance:xs.newInstance(uc,"vtkImplicitFunction"),extend:uc};const mc=1e-6,fc="coincide",vc="disjoint";function gc(e,n,t){const a=t[0]*(e[0]-n[0])+t[1]*(e[1]-n[1])+t[2]*(e[2]-n[2]);return Math.abs(a)}function hc(e,n,t,a){const o=[];Hs(e,n,o);const i=Ys(t,o);a[0]=e[0]-i*t[0],a[1]=e[1]-i*t[1],a[2]=e[2]-i*t[2]}function xc(e,n,t){const a=Ys(e,n);let o=Ys(n,n);return 0===o&&(o=1),t[0]=e[0]-a*n[0]/o,t[1]=e[1]-a*n[1]/o,t[2]=e[2]-a*n[2]/o,t}function bc(e,n,t,a){const o=[];Hs(e,n,o);const i=Ys(t,o),r=Ys(t,t);0!==r?(a[0]=e[0]-i*t[0]/r,a[1]=e[1]-i*t[1]/r,a[2]=e[2]-i*t[2]/r):(a[0]=e[0],a[1]=e[1],a[2]=e[2])}function yc(e,n,t,a){const o={intersection:!1,betweenPoints:!1,t:Number.MAX_VALUE,x:[]},i=[],r=[];Hs(n,e,i),Hs(t,e,r);const s=Ys(a,r),c=Ys(a,i);let l,p;return l=c<0?-c:c,p=s<0?-s*mc:s*mc,l<=p||(o.t=s/c,o.x[0]=e[0]+o.t*i[0],o.x[1]=e[1]+o.t*i[1],o.x[2]=e[2]+o.t*i[2],o.intersection=!0,o.betweenPoints=o.t>=0&&o.t<=1),o}function wc(e,n,t,a){const o={intersection:!1,l0:[],l1:[],error:null},i=[];Ks(n,a,i);const r=i.map(e=>Math.abs(e));if(r[0]+r[1]+r[2]<mc){const a=[];return Hs(e,t,a),0===Ys(n,a)?o.error=fc:o.error=vc,o}let s;s=r[0]>r[1]&&r[0]>r[2]?"x":r[1]>r[2]?"y":"z";const c=[],l=-Ys(n,e),p=-Ys(a,t);switch(s){case"x":c[0]=0,c[1]=(p*n[2]-l*a[2])/i[0],c[2]=(l*a[1]-p*n[1])/i[0];break;case"y":c[0]=(l*a[2]-p*n[2])/i[1],c[1]=0,c[2]=(p*n[0]-l*a[0])/i[1];break;case"z":c[0]=(p*n[1]-l*a[1])/i[2],c[1]=(l*a[0]-p*n[0])/i[2],c[2]=0}return o.l0=c,function(e,n,t){t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2]}(c,i,o.l1),o.intersection=!0,o}const Tc={evaluate:function(e,n,t){return e[0]*(t[0]-n[0])+e[1]*(t[1]-n[1])+e[2]*(t[2]-n[2])},distanceToPlane:gc,projectPoint:hc,projectVector:xc,generalizedProjectPoint:bc,intersectWithLine:yc,intersectWithPlane:wc,DISJOINT:vc,COINCIDE:fc};const Ac={normal:[0,0,1],origin:[0,0,0]};function Cc(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Ac,t),dc.extend(e,n,t),xs.setGetArray(e,n,["normal","origin"],3),function(e,n){n.classHierarchy.push("vtkPlane"),e.distanceToPlane=e=>gc(e,n.origin,n.normal),e.projectPoint=(e,t)=>{hc(e,n.origin,n.normal,t)},e.projectVector=(e,t)=>xc(e,n.normal,t),e.push=e=>{if(0!==e)for(let t=0;t<3;t++)n.origin[t]+=e*n.normal[t]},e.generalizedProjectPoint=(e,t)=>{bc(e,n.origin,n.normal,t)},e.evaluateFunction=(e,t,a)=>Array.isArray(e)?n.normal[0]*(e[0]-n.origin[0])+n.normal[1]*(e[1]-n.origin[1])+n.normal[2]*(e[2]-n.origin[2]):n.normal[0]*(e-n.origin[0])+n.normal[1]*(t-n.origin[1])+n.normal[2]*(a-n.origin[2]),e.evaluateGradient=e=>[n.normal[0],n.normal[1],n.normal[2]],e.intersectWithLine=(e,t)=>yc(e,t,n.origin,n.normal),e.intersectWithPlane=(e,t)=>wc(e,t,n.origin,n.normal)}(e,n)}var Oc={newInstance:xs.newInstance(Cc,"vtkPlane"),extend:Cc,...Tc};const kc=[Number.MAX_VALUE,-Number.MAX_VALUE,Number.MAX_VALUE,-Number.MAX_VALUE,Number.MAX_VALUE,-Number.MAX_VALUE];function Ec(e,n){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]}function Ic(e){return e?.length>=6&&e[0]<=e[1]&&e[2]<=e[3]&&e[4]<=e[5]}function Sc(e,n){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}function Pc(e){return Sc(e,kc)}function Rc(e,n,t,a){const[o,i,r,s,c,l]=e;return e[0]=o<n?o:n,e[1]=i>n?i:n,e[2]=r<t?r:t,e[3]=s>t?s:t,e[4]=c<a?c:a,e[5]=l>a?l:a,e}function jc(e,n){if(0===n.length)return e;if(Array.isArray(n[0]))for(let t=0;t<n.length;++t)Rc(e,...n[t]);else for(let t=0;t<n.length;t+=3)Rc(e,...n.slice(t,t+3));return e}function _c(e,n,t,a,o,i,r){const[s,c,l,p,u,d]=e;return void 0===r?(e[0]=Math.min(n[0],s),e[1]=Math.max(n[1],c),e[2]=Math.min(n[2],l),e[3]=Math.max(n[3],p),e[4]=Math.min(n[4],u),e[5]=Math.max(n[5],d)):(e[0]=Math.min(n,s),e[1]=Math.max(t,c),e[2]=Math.min(a,l),e[3]=Math.max(o,p),e[4]=Math.min(i,u),e[5]=Math.max(r,d)),e}function Lc(e,n,t,a){const[o,i,r,s,c,l]=e;return e[0]=n,e[1]=n>i?n:i,e[2]=t,e[3]=t>s?t:s,e[4]=a,e[5]=a>l?a:l,o!==n||r!==t||c!==a}function Nc(e,n,t,a){const[o,i,r,s,c,l]=e;return e[0]=n<o?n:o,e[1]=n,e[2]=t<r?t:r,e[3]=t,e[4]=a<c?a:c,e[5]=a,i!==n||s!==t||l!==a}function Mc(e,n){return e[0]-=n,e[1]+=n,e[2]-=n,e[3]+=n,e[4]-=n,e[5]+=n,e}function Dc(e,n,t,a){return!!Ic(e)&&(n>=0?(e[0]*=n,e[1]*=n):(e[0]=n*e[1],e[1]=n*e[0]),t>=0?(e[2]*=t,e[3]*=t):(e[2]=t*e[3],e[3]=t*e[2]),a>=0?(e[4]*=a,e[5]*=a):(e[4]=a*e[5],e[5]=a*e[4]),!0)}function Fc(e){return[.5*(e[0]+e[1]),.5*(e[2]+e[3]),.5*(e[4]+e[5])]}function Bc(e,n){return e[2*n+1]-e[2*n]}function zc(e){return[Bc(e,0),Bc(e,1),Bc(e,2)]}function Uc(e){return e.slice(0,2)}function Vc(e){return e.slice(2,4)}function qc(e){return e.slice(4,6)}function Gc(e){const n=zc(e);return n[0]>n[1]?n[0]>n[2]?n[0]:n[2]:n[1]>n[2]?n[1]:n[2]}function $c(e){if(Ic(e)){const n=zc(e);return Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2])}return null}function Wc(e){return[e[0],e[2],e[4]]}function Hc(e){return[e[1],e[3],e[5]]}function Xc(e,n){return e<=0&&n>=0||e>=0&&n<=0}function Yc(e,n){let t=0;for(let a=0;a<2;a++)for(let o=2;o<4;o++)for(let i=4;i<6;i++)n[t++]=[e[a],e[o],e[i]];return n}function Kc(e,n,t){return n[0]=e[0],n[1]=e[2],n[2]=e[4],t[0]=e[1],t[1]=e[3],t[2]=e[5],n}function Zc(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const a=Yc(e,[]);for(let e=0;e<a.length;++e)gi(a[e],a[e],n);return Pc(t),jc(t,a)}function Qc(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n[0]=.5*(e[1]-e[0]),n[1]=.5*(e[3]-e[2]),n[2]=.5*(e[5]-e[4]),n}function Jc(e,n,t,a){const o=[].concat(kc),i=e.getData();for(let e=0;e<i.length;e+=3){const r=[i[e],i[e+1],i[e+2]],s=Ys(r,n);o[0]=Math.min(s,o[0]),o[1]=Math.max(s,o[1]);const c=Ys(r,t);o[2]=Math.min(c,o[2]),o[3]=Math.max(c,o[3]);const l=Ys(r,a);o[4]=Math.min(l,o[4]),o[5]=Math.max(l,o[5])}return o}function el(e,n,t,a,o){let i=!0;const r=[];let s=0;const c=[],l=[0,0,0];for(let t=0;t<3;t++)n[t]<e[2*t]?(r[t]=1,l[t]=e[2*t],i=!1):n[t]>e[2*t+1]?(r[t]=0,l[t]=e[2*t+1],i=!1):r[t]=2;if(i)return a[0]=n[0],a[1]=n[1],a[2]=n[2],o[0]=0,1;for(let e=0;e<3;e++)2!==r[e]&&0!==t[e]?c[e]=(l[e]-n[e])/t[e]:c[e]=-1;for(let e=0;e<3;e++)c[s]<c[e]&&(s=e);if(c[s]>1||c[s]<0)return 0;o[0]=c[s];for(let o=0;o<3;o++)if(s!==o){if(a[o]=n[o]+c[s]*t[o],a[o]<e[2*o]||a[o]>e[2*o+1])return 0}else a[o]=l[o];return 1}function nl(e,n,t){const a=[];let o=0,i=1,r=1;for(let s=4;s<=5;++s){a[2]=e[s];for(let s=2;s<=3;++s){a[1]=e[s];for(let s=0;s<=1;++s)if(a[0]=e[s],o=Oc.evaluate(t,n,a),r&&(i=o>=0?1:-1,r=0),0===o||i>0&&o<0||i<0&&o>0)return 1}}return 0}function tl(e,n){if(!Ic(e)||!Ic(n))return!1;const t=[0,0,0,0,0,0];let a;for(let o=0;o<3;o++)if(a=!1,n[2*o]>=e[2*o]&&n[2*o]<=e[2*o+1]?(a=!0,t[2*o]=n[2*o]):e[2*o]>=n[2*o]&&e[2*o]<=n[2*o+1]&&(a=!0,t[2*o]=e[2*o]),n[2*o+1]>=e[2*o]&&n[2*o+1]<=e[2*o+1]?(a=!0,t[2*o+1]=n[2*o+1]):e[2*o+1]>=n[2*o]&&e[2*o+1]<=n[2*o+1]&&(a=!0,t[2*o+1]=e[2*o+1]),!a)return!1;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],!0}function al(e,n){if(!Ic(e)||!Ic(n))return!1;for(let t=0;t<3;t++)if(!(n[2*t]>=e[2*t]&&n[2*t]<=e[2*t+1]||e[2*t]>=n[2*t]&&e[2*t]<=n[2*t+1]||n[2*t+1]>=e[2*t]&&n[2*t+1]<=e[2*t+1]||e[2*t+1]>=n[2*t]&&e[2*t+1]<=n[2*t+1]))return!1;return!0}function ol(e,n,t,a){return!(n<e[0]||n>e[1])&&(!(t<e[2]||t>e[3])&&!(a<e[4]||a>e[5]))}function il(e,n,t){const a=[[0,1,2,3,4,5,6,7],[0,1,4,5,2,3,6,7],[0,2,4,6,1,3,5,7]],o=[0,0,0,0,0,0,0,0];let i=0;for(let a=0;a<2;a++)for(let r=2;r<4;r++)for(let s=4;s<6;s++){const c=[e[a],e[r],e[s]];o[i++]=Oc.evaluate(t,n,c)}let r=2;for(;r--&&!(Xc(o[a[r][0]],o[a[r][4]])&&Xc(o[a[r][1]],o[a[r][5]])&&Xc(o[a[r][2]],o[a[r][6]])&&Xc(o[a[r][3]],o[a[r][7]])););if(r<0)return!1;const s=Math.sign(t[r]),c=Math.abs((e[2*r+1]-e[2*r])*t[r]);let l=s>0?1:0;for(let e=0;e<4;e++){if(0===c)continue;const n=Math.abs(o[a[r][e]])/c;s>0&&n<l&&(l=n),s<0&&n>l&&(l=n)}const p=(1-l)*e[2*r]+l*e[2*r+1];return s>0?e[2*r]=p:e[2*r+1]=p,!0}class rl{constructor(e){this.bounds=e,this.bounds||(this.bounds=new Float64Array(kc))}getBounds(){return this.bounds}equals(e){return Ec(this.bounds,e)}isValid(){return Ic(this.bounds)}setBounds(e){return Sc(this.bounds,e)}reset(){return Pc(this.bounds)}addPoint(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return Rc(this.bounds,...n)}addPoints(e){return jc(this.bounds,e)}addBounds(e,n,t,a,o,i){return _c(this.bounds,e,n,t,a,o,i)}setMinPoint(e,n,t){return Lc(this.bounds,e,n,t)}setMaxPoint(e,n,t){return Nc(this.bounds,e,n,t)}inflate(e){return Mc(this.bounds,e)}scale(e,n,t){return Dc(this.bounds,e,n,t)}getCenter(){return Fc(this.bounds)}getLength(e){return Bc(this.bounds,e)}getLengths(){return zc(this.bounds)}getMaxLength(){return Gc(this.bounds)}getDiagonalLength(){return $c(this.bounds)}getMinPoint(){return Wc(this.bounds)}getMaxPoint(){return Hc(this.bounds)}getXRange(){return Uc(this.bounds)}getYRange(){return Vc(this.bounds)}getZRange(){return qc(this.bounds)}getCorners(e){return Yc(this.bounds,e)}computeCornerPoints(e,n){return Kc(this.bounds,e,n)}computeLocalBounds(e,n,t){return Jc(this.bounds,e,n,t)}transformBounds(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Zc(this.bounds,e,n)}computeScale3(e){return Qc(this.bounds,e)}cutWithPlane(e,n){return il(this.bounds,e,n)}intersectBox(e,n,t,a){return el(this.bounds,e,n,t,a)}intersectPlane(e,n){return nl(this.bounds,e,n)}intersect(e){return tl(this.bounds,e)}intersects(e){return al(this.bounds,e)}containsPoint(e,n,t){return ol(this.bounds,e,n,t)}contains(e){return al(this.bounds,e)}}var sl={newInstance:function(e){const n=e&&e.bounds;return new rl(n)},...{equals:Ec,isValid:Ic,setBounds:Sc,reset:Pc,addPoint:Rc,addPoints:jc,addBounds:_c,setMinPoint:Lc,setMaxPoint:Nc,inflate:Mc,scale:Dc,scaleAboutCenter:function(e,n,t,a){if(!Ic(e))return!1;const o=Fc(e);return e[0]-=o[0],e[1]-=o[0],e[2]-=o[1],e[3]-=o[1],e[4]-=o[2],e[5]-=o[2],Dc(e,n,t,a),e[0]+=o[0],e[1]+=o[0],e[2]+=o[1],e[3]+=o[1],e[4]+=o[2],e[5]+=o[2],!0},getCenter:Fc,getLength:Bc,getLengths:zc,getMaxLength:Gc,getDiagonalLength:$c,getMinPoint:Wc,getMaxPoint:Hc,getXRange:Uc,getYRange:Vc,getZRange:qc,getCorners:Yc,computeCornerPoints:Kc,computeLocalBounds:Jc,transformBounds:Zc,computeScale3:Qc,cutWithPlane:il,intersectBox:el,intersectPlane:nl,intersect:tl,intersects:al,containsPoint:ol,contains:function(e,n){return!!al(e,n)&&(!!ol(e,...Wc(n))&&!!ol(e,...Hc(n)))},INIT_BOUNDS:kc}};var cl={CoordinateSystem:{DISPLAY:0,WORLD:1}};const{CoordinateSystem:ll}=cl;function pl(e){return()=>xs.vtkErrorMacro(`vtkProp::${e} - NOT IMPLEMENTED`)}const ul={allocatedRenderTime:10,coordinateSystem:ll.WORLD,dragable:!0,estimatedRenderTime:0,paths:null,pickable:!0,renderTimeMultiplier:1,savedEstimatedRenderTime:0,textures:[],useBounds:!0,visibility:!0};function dl(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,ul,t),xs.obj(e,n),xs.get(e,n,["estimatedRenderTime","allocatedRenderTime"]),xs.setGet(e,n,["_parentProp","coordinateSystem","dragable","pickable","renderTimeMultiplier","useBounds","visibility"]),xs.moveToProtected(e,n,["parentProp"]),function(e,n){n.classHierarchy.push("vtkProp"),e.getMTime=()=>{let e=n.mtime;for(let t=0;t<n.textures.length;++t){const a=n.textures[t].getMTime();a>e&&(e=a)}return e},e.processSelectorPixelBuffers=(e,n)=>{},e.getNestedProps=()=>null,e.getActors=()=>[],e.getActors2D=()=>[],e.getVolumes=()=>[],e.pick=pl("pick"),e.hasKey=pl("hasKey"),e.getNestedVisibility=()=>n.visibility&&(!n._parentProp||n._parentProp.getNestedVisibility()),e.getNestedPickable=()=>n.pickable&&(!n._parentProp||n._parentProp.getNestedPickable()),e.getNestedDragable=()=>n.dragable&&(!n._parentProp||n._parentProp.getNestedDragable()),e.getRedrawMTime=()=>n.mtime,e.setEstimatedRenderTime=e=>{n.estimatedRenderTime=e,n.savedEstimatedRenderTime=e},e.restoreEstimatedRenderTime=()=>{n.estimatedRenderTime=n.savedEstimatedRenderTime},e.addEstimatedRenderTime=e=>{n.estimatedRenderTime+=e},e.setAllocatedRenderTime=e=>{n.allocatedRenderTime=e,n.savedEstimatedRenderTime=n.estimatedRenderTime,n.estimatedRenderTime=0},e.getSupportsSelection=()=>!1,e.getTextures=()=>n.textures,e.hasTexture=e=>-1!==n.textures.indexOf(e),e.addTexture=t=>{t&&!e.hasTexture(t)&&(n.textures=n.textures.concat(t),e.modified())},e.removeTexture=t=>{const a=n.textures.filter(e=>e!==t);n.textures.length!==a.length&&(n.textures=a,e.modified())},e.removeAllTextures=()=>{n.textures=[],e.modified()},e.setCoordinateSystemToWorld=()=>e.setCoordinateSystem(ll.WORLD),e.setCoordinateSystemToDisplay=()=>e.setCoordinateSystem(ll.DISPLAY)}(e,n)}var ml={newInstance:xs.newInstance(dl,"vtkProp"),extend:dl,...cl};function fl(e,n){n.classHierarchy.push("vtkProp3D"),e.addPosition=t=>{n.position=n.position.map((e,n)=>e+t[n]),e.modified()},e.getOrientationWXYZ=()=>{const e=hi();di(e,n.rotation);const t=new Float64Array(3),a=function(e,n){var t=2*Math.acos(n[3]),a=Math.sin(t/2);return a>ii?(e[0]=n[0]/a,e[1]=n[1]/a,e[2]=n[2]/a):(e[0]=1,e[1]=0,e[2]=0),t}(t,e);return[(o=a,180*o/Math.PI),t[0],t[1],t[2]];var o},e.getOrientationQuaternion=function(){return di(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n.rotation)},e.rotateX=t=>{0!==t&&(!function(e,n,t){var a=Math.sin(t),o=Math.cos(t),i=n[4],r=n[5],s=n[6],c=n[7],l=n[8],p=n[9],u=n[10],d=n[11];n!==e&&(e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15]),e[4]=i*o+l*a,e[5]=r*o+p*a,e[6]=s*o+u*a,e[7]=c*o+d*a,e[8]=l*o-i*a,e[9]=p*o-r*a,e[10]=u*o-s*a,e[11]=d*o-c*a}(n.rotation,n.rotation,Ws(t)),e.modified())},e.rotateY=t=>{0!==t&&(!function(e,n,t){var a=Math.sin(t),o=Math.cos(t),i=n[0],r=n[1],s=n[2],c=n[3],l=n[8],p=n[9],u=n[10],d=n[11];n!==e&&(e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15]),e[0]=i*o-l*a,e[1]=r*o-p*a,e[2]=s*o-u*a,e[3]=c*o-d*a,e[8]=i*a+l*o,e[9]=r*a+p*o,e[10]=s*a+u*o,e[11]=c*a+d*o}(n.rotation,n.rotation,Ws(t)),e.modified())},e.rotateZ=t=>{0!==t&&(!function(e,n,t){var a=Math.sin(t),o=Math.cos(t),i=n[0],r=n[1],s=n[2],c=n[3],l=n[4],p=n[5],u=n[6],d=n[7];n!==e&&(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]),e[0]=i*o+l*a,e[1]=r*o+p*a,e[2]=s*o+u*a,e[3]=c*o+d*a,e[4]=l*o-i*a,e[5]=p*o-r*a,e[6]=u*o-s*a,e[7]=d*o-c*a}(n.rotation,n.rotation,Ws(t)),e.modified())},e.rotateWXYZ=(t,a,o,i)=>{if(0===t||0===a&&0===o&&0===i)return;const r=Ws(t),s=hi();xi(s,[a,o,i],r);const c=new Float64Array(16);mi(c,s),li(n.rotation,n.rotation,c),e.modified()},e.rotateQuaternion=t=>{if(Math.abs(t[3])>=.999999)return;const a=mi(new Float64Array(16),t);li(n.rotation,n.rotation,a),e.modified()},e.setOrientation=(t,a,o)=>(t!==n.orientation[0]||a!==n.orientation[1]||o!==n.orientation[2])&&(n.orientation=[t,a,o],si(n.rotation),e.rotateZ(o),e.rotateX(t),e.rotateY(a),e.modified(),!0),e.setUserMatrix=t=>!ec(n.userMatrix,t)&&(function(e,n){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]}(n.userMatrix,t),e.modified(),!0),e.getMatrix=()=>(e.computeMatrix(),n.matrix),e.computeMatrix=()=>{if(e.getMTime()>n.matrixMTime.getMTime()){si(n.matrix),n.userMatrix&&li(n.matrix,n.matrix,n.userMatrix),pi(n.matrix,n.matrix,n.origin),pi(n.matrix,n.matrix,n.position),li(n.matrix,n.matrix,n.rotation),ui(n.matrix,n.matrix,n.scale),pi(n.matrix,n.matrix,[-n.origin[0],-n.origin[1],-n.origin[2]]),ci(n.matrix,n.matrix),n.isIdentity=!0;for(let e=0;e<4;++e)for(let t=0;t<4;++t)(e===t?1:0)!==n.matrix[e+4*t]&&(n.isIdentity=!1);n.matrixMTime.modified()}},e.getCenter=()=>sl.getCenter(n.bounds),e.getLength=()=>sl.getLength(n.bounds),e.getXRange=()=>sl.getXRange(n.bounds),e.getYRange=()=>sl.getYRange(n.bounds),e.getZRange=()=>sl.getZRange(n.bounds),e.getUserMatrix=()=>n.userMatrix,e.onModified(function(){e.computeMatrix()})}const vl={origin:[0,0,0],position:[0,0,0],orientation:[0,0,0],rotation:null,scale:[1,1,1],bounds:[1,-1,1,-1,1,-1],userMatrix:null,userMatrixMTime:null,cachedProp3D:null,isIdentity:!0,matrixMTime:null};function gl(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,vl,t),ml.extend(e,n,t),n.matrixMTime={},xs.obj(n.matrixMTime),xs.get(e,n,["bounds","isIdentity"]),xs.getArray(e,n,["orientation"]),xs.setGetArray(e,n,["origin","position","scale"],3),n.matrix=si(new Float64Array(16)),n.rotation=si(new Float64Array(16)),n.userMatrix=si(new Float64Array(16)),n.transform=null,fl(e,n)}var hl={newInstance:xs.newInstance(gl,"vtkProp3D"),extend:gl};const xl={FLAT:0,GOURAUD:1,PHONG:2};var bl={Shading:xl,Representation:{POINTS:0,WIREFRAME:1,SURFACE:2},Interpolation:xl};const{Representation:yl,Interpolation:wl}=bl;function Tl(e){return()=>xs.vtkErrorMacro(`vtkProperty::${e} - NOT IMPLEMENTED`)}const Al={color:[1,1,1],ambientColor:[1,1,1],diffuseColor:[1,1,1],specularColor:[1,1,1],edgeColor:[0,0,0],ambient:0,diffuse:1,metallic:0,roughness:.6,normalStrength:1,emission:1,baseIOR:1.45,specular:0,specularPower:1,opacity:1,interpolation:wl.GOURAUD,representation:yl.SURFACE,edgeVisibility:!1,backfaceCulling:!1,frontfaceCulling:!1,pointSize:1,lineWidth:1,lighting:!0,shading:!1,materialName:null};const Cl=xs.newInstance(function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Al,t),xs.obj(e,n),xs.setGet(e,n,["lighting","interpolation","ambient","diffuse","metallic","roughness","normalStrength","emission","baseIOR","specular","specularPower","opacity","edgeVisibility","lineWidth","pointSize","backfaceCulling","frontfaceCulling","representation","diffuseTexture","metallicTexture","roughnessTexture","normalTexture","ambientOcclusionTexture","emissionTexture"]),xs.setGetArray(e,n,["ambientColor","specularColor","diffuseColor","edgeColor"],3),function(e,n){n.classHierarchy.push("vtkProperty"),e.setColor=(t,a,o)=>{Array.isArray(t)?n.color[0]===t[0]&&n.color[1]===t[1]&&n.color[2]===t[2]||(n.color[0]=t[0],n.color[1]=t[1],n.color[2]=t[2],e.modified()):n.color[0]===t&&n.color[1]===a&&n.color[2]===o||(n.color[0]=t,n.color[1]=a,n.color[2]=o,e.modified()),e.setDiffuseColor(n.color),e.setAmbientColor(n.color),e.setSpecularColor(n.color)},e.computeCompositeColor=Tl("ComputeCompositeColor"),e.getColor=()=>{let e=0;n.ambient+n.diffuse+n.specular>0&&(e=1/(n.ambient+n.diffuse+n.specular));for(let t=0;t<3;t++)n.color[t]=e*(n.ambient*n.ambientColor[t]+n.diffuse*n.diffuseColor[t]+n.specular*n.specularColor[t]);return[].concat(n.color)},e.setSpecularPower=t=>{const a=1/Math.max(1,t);n.roughness===a&&n.specularPower===t||(n.specularPower=t,n.roughness=a,e.modified())},e.addShaderVariable=Tl("AddShaderVariable"),e.setInterpolationToFlat=()=>e.setInterpolation(wl.FLAT),e.setInterpolationToGouraud=()=>e.setInterpolation(wl.GOURAUD),e.setInterpolationToPhong=()=>e.setInterpolation(wl.PHONG),e.getInterpolationAsString=()=>xs.enumToString(wl,n.interpolation),e.setRepresentationToWireframe=()=>e.setRepresentation(yl.WIREFRAME),e.setRepresentationToSurface=()=>e.setRepresentation(yl.SURFACE),e.setRepresentationToPoints=()=>e.setRepresentation(yl.POINTS),e.getRepresentationAsString=()=>xs.enumToString(yl,n.representation)}(e,n)},"vtkProperty");var Ol={newInstance:Cl,...bl};const{vtkDebugMacro:kl}=xs;const El={mapper:null,property:null,backfaceProperty:null,forceOpaque:!1,forceTranslucent:!1,bounds:[1,-1,1,-1,1,-1]};function Il(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,El,t),hl.extend(e,n,t),n.boundsMTime={},xs.obj(n.boundsMTime),xs.set(e,n,["property"]),xs.setGet(e,n,["backfaceProperty","forceOpaque","forceTranslucent","mapper"]),function(e,n){n.classHierarchy.push("vtkActor");const t={...e};e.getActors=()=>[e],e.getIsOpaque=()=>{if(n.forceOpaque)return!0;if(n.forceTranslucent)return!1;n.property||e.getProperty();let t=n.property.getOpacity()>=1;return t=t&&(!n.texture||!n.texture.isTranslucent()),t=t&&(!n.mapper||n.mapper.getIsOpaque()),t},e.hasTranslucentPolygonalGeometry=()=>null!==n.mapper&&(null===n.property&&e.setProperty(e.makeProperty()),!e.getIsOpaque()),e.makeProperty=Ol.newInstance,e.getProperty=()=>(null===n.property&&(n.property=e.makeProperty()),n.property),e.getBounds=()=>{if(null===n.mapper)return n.bounds;const t=n.mapper.getBounds();if(!t||6!==t.length)return t;if(t[0]>t[1])return n.mapperBounds=t.concat(),n.bounds=[1,-1,1,-1,1,-1],n.boundsMTime.modified(),t;if(!n.mapperBounds||t[0]!==n.mapperBounds[0]||t[1]!==n.mapperBounds[1]||t[2]!==n.mapperBounds[2]||t[3]!==n.mapperBounds[3]||t[4]!==n.mapperBounds[4]||t[5]!==n.mapperBounds[5]||e.getMTime()>n.boundsMTime.getMTime()){kl("Recomputing bounds..."),n.mapperBounds=t.concat();const a=[];sl.getCorners(t,a),e.computeMatrix();const o=new Float64Array(16);ci(o,n.matrix),a.forEach(e=>gi(e,e,o)),n.bounds[0]=n.bounds[2]=n.bounds[4]=Number.MAX_VALUE,n.bounds[1]=n.bounds[3]=n.bounds[5]=-Number.MAX_VALUE,n.bounds=n.bounds.map((e,n)=>n%2==0?a.reduce((e,t)=>e>t[n/2]?t[n/2]:e,e):a.reduce((e,t)=>e<t[(n-1)/2]?t[(n-1)/2]:e,e)),n.boundsMTime.modified()}return n.bounds},e.getMTime=()=>{let e=t.getMTime();if(null!==n.property){const t=n.property.getMTime();e=t>e?t:e}if(null!==n.backfaceProperty){const t=n.backfaceProperty.getMTime();e=t>e?t:e}return e},e.getRedrawMTime=()=>{let e=n.mtime;if(null!==n.mapper){let t=n.mapper.getMTime();e=t>e?t:e,null!==n.mapper.getInput()&&(n.mapper.getInputAlgorithm().update(),t=n.mapper.getInput().getMTime(),e=t>e?t:e)}return e},e.getSupportsSelection=()=>!!n.mapper&&n.mapper.getSupportsSelection(),e.processSelectorPixelBuffers=(e,t)=>{n.mapper&&n.mapper.processSelectorPixelBuffers&&n.mapper.processSelectorPixelBuffers(e,t)}}(e,n)}var Sl={newInstance:xs.newInstance(Il,"vtkActor"),extend:Il};const Pl={clippingPlanes:[]};var Rl={extend:function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Pl,t),xs.obj(e,n),xs.algo(e,n,1,0),n.clippingPlanes||(n.clippingPlanes=[]),function(e,n){n.classHierarchy.push("vtkAbstractMapper"),e.update=()=>{e.getInputData()},e.addClippingPlane=t=>!!t.isA("vtkPlane")&&!n.clippingPlanes.includes(t)&&(n.clippingPlanes.push(t),e.modified(),!0),e.getNumberOfClippingPlanes=()=>n.clippingPlanes.length,e.removeAllClippingPlanes=()=>0!==n.clippingPlanes.length&&(n.clippingPlanes.length=0,e.modified(),!0),e.removeClippingPlane=t=>{const a=n.clippingPlanes.indexOf(t);return-1!==a&&(n.clippingPlanes.splice(a,1),e.modified(),!0)},e.getClippingPlanes=()=>n.clippingPlanes,e.setClippingPlanes=n=>{if(n)if(Array.isArray(n)){const t=n.length;for(let a=0;a<t&&a<6;a++)e.addClippingPlane(n[a])}else e.addClippingPlane(n)},e.getClippingPlaneInDataCoords=(e,t,a)=>{const o=n.clippingPlanes,i=e;if(o){const e=o.length;if(t>=0&&t<e){const e=o[t],n=e.getNormal(),r=e.getOrigin(),s=n[0],c=n[1],l=n[2],p=-(s*r[0]+c*r[1]+l*r[2]);return a[0]=s*i[0]+c*i[4]+l*i[8]+p*i[12],a[1]=s*i[1]+c*i[5]+l*i[9]+p*i[13],a[2]=s*i[2]+c*i[6]+l*i[10]+p*i[14],void(a[3]=s*i[3]+c*i[7]+l*i[11]+p*i[15])}}xs.vtkErrorMacro(`Clipping plane index ${t} is out of range.`)}}(e,n)}};var jl={extend:function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,(e=>({bounds:[...sl.INIT_BOUNDS],center:[0,0,0],viewSpecificProperties:{},...e}))(t)),Rl.extend(e,n,t),xs.setGet(e,n,["viewSpecificProperties"]),function(e,n){e.getBounds=()=>(xs.vtkErrorMacro("vtkAbstractMapper3D.getBounds - NOT IMPLEMENTED"),lc()),e.getCenter=()=>{const t=e.getBounds();return n.center=sl.isValid(t)?sl.getCenter(t):null,n.center?.slice()},e.getLength=()=>{const n=e.getBounds();return sl.getDiagonalLength(n)}}(e,n)}};const _l={VOID:"",CHAR:"Int8Array",SIGNED_CHAR:"Int8Array",UNSIGNED_CHAR:"Uint8Array",UNSIGNED_CHAR_CLAMPED:"Uint8ClampedArray",SHORT:"Int16Array",UNSIGNED_SHORT:"Uint16Array",INT:"Int32Array",UNSIGNED_INT:"Uint32Array",FLOAT:"Float32Array",DOUBLE:"Float64Array"};var Ll={DefaultDataType:_l.FLOAT,DataTypeByteSize:{Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},VtkDataTypes:_l};const{vtkErrorMacro:Nl}=bs,{DefaultDataType:Ml}=Ll;function Dl(e,n,t){const a=e.length;let o,i,r=Number.MAX_VALUE,s=-Number.MAX_VALUE;for(i=n;i<a;i+=t)if(!Number.isNaN(e[i])){r=e[i],s=r;break}for(;i<a;i+=t)o=e[i],o<r?r=o:o>s&&(s=o);return{min:r,max:s}}function Fl(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(n<0&&t>1){const n=e.length/t,a=new Float64Array(n);for(let o=0,i=0;o<n;++o){for(let n=i+t;i<n;++i)a[o]+=e[i]*e[i];a[o]**=.5}return Dl(a,0,1)}return Dl(e,n<0?0:n,t)}function Bl(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const t=e||[];for(;t.length<=n;)t.push(null);return t}function zl(e){return Object.prototype.toString.call(e).slice(8,-1)}const Ul={computeRange:Fl,createRangeHelper:function(){let e=Number.MAX_VALUE,n=-Number.MAX_VALUE,t=0,a=0;return{add(o){e>o&&(e=o),n<o&&(n=o),t++,a+=o},get:()=>({min:e,max:n,count:t,sum:a,mean:a/t}),getRange:()=>({min:e,max:n})}},fastComputeRange:Dl,getDataType:zl,getMaxNorm:function(e){const n=e.getNumberOfComponents();let t=0;const a=new Array(n);for(let o=0;o<e.getNumberOfTuples();++o){e.getTuple(o,a);const i=Zs(a,n);i>t&&(t=i)}return t}};const Vl={name:"",numberOfComponents:1,dataType:Ml,rangeTuple:[0,0]};function ql(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object.assign(n,Vl,t),Array.isArray(t.values)&&void 0===t.dataType&&console.warn("vtkDataArray.newInstance: no dataType provided, converting to Float32Array"),!n.empty&&!n.values&&!n.size)throw new TypeError("Cannot create vtkDataArray object without: size > 0, values");if(n.values?Array.isArray(n.values)&&(n.values=Lr(n.dataType,n.values)):n.values=_r(n.dataType,n.size),n.values&&(n.size=n.size??n.values.length,n.dataType=zl(n.values)),Gr(e,n),Yr(e,n,["name","numberOfComponents"]),n.size%n.numberOfComponents!==0)throw new RangeError("model.size is not a multiple of model.numberOfComponents");!function(e,n){function t(t){if(t<0)return!1;const a=e.getNumberOfComponents(),o=n.values.length/(a>0?a:1);if(t===o)return!0;if(t>o){const e=n.values;return n.values=_r(n.dataType,(t+o)*a),n.values.set(e),!0}return n.size>t*a&&(n.size=t*a,e.dataChange()),!0}n.classHierarchy.push("vtkDataArray"),e.dataChange=()=>{n.ranges=null,e.modified()},e.resize=a=>{t(a);const o=a*e.getNumberOfComponents();return n.size!==o&&(n.size=o,e.dataChange(),!0)},e.initialize=()=>{e.resize(0)},e.getElementComponentSize=()=>n.values.BYTES_PER_ELEMENT,e.getComponent=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.values[e*n.numberOfComponents+t]},e.setComponent=(t,a,o)=>{o!==n.values[t*n.numberOfComponents+a]&&(n.values[t*n.numberOfComponents+a]=o,e.dataChange())},e.getValue=t=>{const a=t/n.numberOfComponents,o=t%n.numberOfComponents;return e.getComponent(a,o)},e.setValue=(t,a)=>{const o=t/n.numberOfComponents,i=t%n.numberOfComponents;e.setComponent(o,i,a)},e.getData=()=>n.size===n.values.length?n.values:n.values.subarray(0,n.size),e.getRange=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,a=t;a<0&&(a=1===n.numberOfComponents?0:n.numberOfComponents);let o=null;return n.ranges||(n.ranges=Bl(n.ranges,n.numberOfComponents)),o=n.ranges[a],o?(n.rangeTuple[0]=o.min,n.rangeTuple[1]=o.max,n.rangeTuple):(o=Fl(e.getData(),t,n.numberOfComponents),n.ranges[a]=o,n.rangeTuple[0]=o.min,n.rangeTuple[1]=o.max,n.rangeTuple)},e.setRange=(e,t)=>{n.ranges||(n.ranges=Bl(n.ranges,n.numberOfComponents));const a={min:e.min,max:e.max};return n.ranges[t]=a,n.rangeTuple[0]=a.min,n.rangeTuple[1]=a.max,n.rangeTuple},e.getRanges=function(){if(arguments.length>0&&void 0!==arguments[0]&&!arguments[0])return structuredClone(n.ranges);const t=[];for(let a=0;a<n.numberOfComponents;a++){const[n,o]=e.getRange(a),i={min:n,max:o};t.push(i)}if(n.numberOfComponents>1){const[n,a]=e.getRange(-1),o={min:n,max:a};t.push(o)}return t},e.setTuple=(e,t)=>{const a=e*n.numberOfComponents;for(let e=0;e<n.numberOfComponents;e++)n.values[a+e]=t[e]},e.setTuples=(e,t)=>{let a=e*n.numberOfComponents;const o=Math.min(t.length,n.size-a);for(let e=0;e<o;)n.values[a++]=t[e++]},e.insertTuple=(a,o)=>(n.size<=a*n.numberOfComponents&&(n.size=(a+1)*n.numberOfComponents,t(a+1)),e.setTuple(a,o),a),e.insertTuples=(a,o)=>{const i=a+o.length/n.numberOfComponents;return n.size<i*n.numberOfComponents&&(n.size=i*n.numberOfComponents,t(i)),e.setTuples(a,o),i},e.insertNextTuple=t=>{const a=n.size/n.numberOfComponents;return e.insertTuple(a,t)},e.insertNextTuples=t=>{const a=n.size/n.numberOfComponents;return e.insertTuples(a,t)},e.findTuple=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e-6;for(let a=0;a<n.size;a+=n.numberOfComponents)if(Math.abs(e[0]-n.values[a])<=t){let o=!0;for(let i=1;i<n.numberOfComponents;++i)if(Math.abs(e[i]-n.values[a+i])>t){o=!1;break}if(o)return a/n.numberOfComponents}return-1},e.getTuple=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const a=n.numberOfComponents||1,o=e*a;switch(a){case 4:t[3]=n.values[o+3];case 3:t[2]=n.values[o+2];case 2:t[1]=n.values[o+1];case 1:t[0]=n.values[o];break;default:for(let e=a-1;e>=0;--e)t[e]=n.values[o+e]}return t},e.getTuples=(t,a)=>{const o=(t??0)*n.numberOfComponents,i=(a??e.getNumberOfTuples())*n.numberOfComponents,r=e.getData().subarray(o,i);return r.length>0?r:null},e.getTupleLocation=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*n.numberOfComponents},e.getNumberOfComponents=()=>n.numberOfComponents,e.getNumberOfValues=()=>n.size,e.getNumberOfTuples=()=>n.size/n.numberOfComponents,e.getDataType=()=>n.dataType,e.newClone=()=>Gl({empty:!0,name:n.name,dataType:n.dataType,numberOfComponents:n.numberOfComponents}),e.getName=()=>(n.name||(e.modified(),n.name=`vtkDataArray${e.getMTime()}`),n.name),e.setData=(t,a)=>{n.values=t,n.size=t.length,n.dataType=zl(t),a&&(n.numberOfComponents=a),n.size%n.numberOfComponents!==0&&(n.numberOfComponents=1),e.dataChange()},e.getState=()=>{if(n.deleted)return null;const t={...n,vtkClass:e.getClassName()};t.values=Array.from(t.values),delete t.buffer,Object.keys(t).forEach(e=>{t[e]||delete t[e]});const a={};return Object.keys(t).sort().forEach(e=>{a[e]=t[e]}),a.mtime&&delete a.mtime,a},e.deepCopy=t=>{const a=e.getDataType(),o=n.values;e.shallowCopy(t),n.ranges=structuredClone(t.getRanges()),o?.length>=t.getNumberOfValues()&&a===t.getDataType()?(o.set(t.getData()),n.values=o,e.dataChange()):e.setData(t.getData().slice())},e.interpolateTuple=(t,a,o,i,r,s)=>{const c=n.numberOfComponents||1;c===a.getNumberOfComponents()&&c===i.getNumberOfComponents()||Nl("numberOfComponents must match");const l=a.getTuple(o),p=i.getTuple(r),u=[];switch(u.length=c,c){case 4:u[3]=l[3]+(p[3]-l[3])*s;case 3:u[2]=l[2]+(p[2]-l[2])*s;case 2:u[1]=l[1]+(p[1]-l[1])*s;case 1:u[0]=l[0]+(p[0]-l[0])*s;break;default:for(let e=0;e<c;e++)u[e]=l[e]+(p[e]-l[e])*s}return e.insertTuple(t,u)}}(e,n)}const Gl=os(ql,"vtkDataArray");var $l={newInstance:Gl,extend:ql,...Ul,...Ll};const{vtkErrorMacro:Wl,vtkWarningMacro:Hl}=xs;const Xl={arrays:[],copyFieldFlags:[],doCopyAllOn:!0,doCopyAllOff:!1};function Yl(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Xl,t),xs.obj(e,n),function(e,n){n.classHierarchy.push("vtkFieldData");const t=e.getState;n.arrays&&(n.arrays=n.arrays.map(e=>({data:hr(e.data)}))),e.initialize=()=>{e.initializeFields(),e.copyAllOn(),e.clearFieldFlags()},e.initializeFields=()=>{n.arrays=[],n.copyFieldFlags={},e.modified()},e.copyStructure=t=>{e.initializeFields(),n.copyFieldFlags=t.getCopyFieldFlags().map(e=>e),n.arrays=t.arrays().map(e=>({array:e}))},e.getNumberOfArrays=()=>n.arrays.length,e.getNumberOfActiveArrays=()=>n.arrays.length,e.addArray=t=>{const a=t.getName(),{array:o,index:i}=e.getArrayWithIndex(a);return null!=o?(n.arrays[i]={data:t},i):(n.arrays=[].concat(n.arrays,{data:t}),n.arrays.length-1)},e.removeAllArrays=()=>{n.arrays=[]},e.removeArray=t=>{const a=n.arrays.findIndex(e=>e.data.getName()===t);return e.removeArrayByIndex(a)},e.removeArrayByIndex=e=>-1!==e&&e<n.arrays.length&&(n.arrays.splice(e,1),!0),e.getArrays=()=>n.arrays.map(e=>e.data),e.getArray=n=>"number"==typeof n?e.getArrayByIndex(n):e.getArrayByName(n),e.getArrayByName=e=>n.arrays.reduce((n,t,a)=>t.data.getName()===e?t.data:n,null),e.getArrayWithIndex=e=>{const t=n.arrays.findIndex(n=>n.data.getName()===e);return{array:-1!==t?n.arrays[t].data:null,index:t}},e.getArrayByIndex=e=>e>=0&&e<n.arrays.length?n.arrays[e].data:null,e.hasArray=n=>e.getArrayWithIndex(n).index>=0,e.getArrayName=e=>{const t=n.arrays[e];return t?t.data.getName():""},e.getCopyFieldFlags=()=>n.copyFieldFlags,e.getFlag=e=>n.copyFieldFlags[e],e.passData=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;t.getArrays().forEach(i=>{const r=e.getFlag(i.getName());if(!1!==r&&(!n.doCopyAllOff||!0===r)&&i){let n=e.getArrayByName(i.getName());if(n)if(i.getNumberOfComponents()===n.getNumberOfComponents())if(a>-1&&a<i.getNumberOfTuples()){const e=o>-1?o:a;n.insertTuple(e,i.getTuple(a))}else n.insertTuples(0,i.getTuples());else Wl("Unhandled case in passData");else if(a<0||a>i.getNumberOfTuples())e.addArray(i),t.getAttributes(i).forEach(n=>{e.setAttribute(i,n)});else{const r=i.getNumberOfComponents();let s=i.getNumberOfValues();const c=o>-1?o:a;s<=c*r&&(s=(c+1)*r),n=$l.newInstance({name:i.getName(),dataType:i.getDataType(),numberOfComponents:r,values:xs.newTypedArray(i.getDataType(),s),size:0}),n.insertTuple(c,i.getTuple(a)),e.addArray(n),t.getAttributes(i).forEach(t=>{e.setAttribute(n,t)})}}})},e.interpolateData=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5;t.getArrays().forEach(s=>{const c=e.getFlag(s.getName());if(!1!==c&&(!n.doCopyAllOff||!0===c)&&s){let n=e.getArrayByName(s.getName());if(n)if(s.getNumberOfComponents()===n.getNumberOfComponents())if(a>-1&&a<s.getNumberOfTuples()){const e=i>-1?i:a;n.interpolateTuple(e,s,a,s,o,r),Hl("Unexpected case in interpolateData")}else n.insertTuples(s.getTuples());else Wl("Unhandled case in interpolateData");else if(a<0||o<0||a>s.getNumberOfTuples())e.addArray(s),t.getAttributes(s).forEach(n=>{e.setAttribute(s,n)});else{const c=s.getNumberOfComponents();let l=s.getNumberOfValues();const p=i>-1?i:a;l<=p*c&&(l=(p+1)*c),n=$l.newInstance({name:s.getName(),dataType:s.getDataType(),numberOfComponents:c,values:xs.newTypedArray(s.getDataType(),l),size:0}),n.interpolateTuple(p,s,a,s,o,r),e.addArray(n),t.getAttributes(s).forEach(t=>{e.setAttribute(n,t)})}}})},e.copyFieldOn=e=>{n.copyFieldFlags[e]=!0},e.copyFieldOff=e=>{n.copyFieldFlags[e]=!1},e.copyAllOn=()=>{n.doCopyAllOn&&!n.doCopyAllOff||(n.doCopyAllOn=!0,n.doCopyAllOff=!1,e.modified())},e.copyAllOff=()=>{!n.doCopyAllOn&&n.doCopyAllOff||(n.doCopyAllOn=!1,n.doCopyAllOff=!0,e.modified())},e.clearFieldFlags=()=>{n.copyFieldFlags={}},e.deepCopy=e=>{n.arrays=e.getArrays().map(e=>{const n=e.newClone();return n.deepCopy(e),{data:n}})},e.copyFlags=e=>e.getCopyFieldFlags().map(e=>e),e.reset=()=>n.arrays.forEach(e=>e.data.reset()),e.getMTime=()=>n.arrays.reduce((e,n)=>n.data.getMTime()>e?n.data.getMTime():e,n.mtime),e.getNumberOfComponents=()=>n.arrays.reduce((e,n)=>e+n.data.getNumberOfComponents(),0),e.getNumberOfTuples=()=>n.arrays.length>0?n.arrays[0].getNumberOfTuples():0,e.getState=()=>{const e=t();return e&&(e.arrays=n.arrays.map(e=>({data:e.data.getState()}))),e}}(e,n)}var Kl={newInstance:xs.newInstance(Yl,"vtkFieldData"),extend:Yl};var Zl={AttributeCopyOperations:{COPYTUPLE:0,INTERPOLATE:1,PASSDATA:2,ALLCOPY:3},AttributeLimitTypes:{MAX:0,EXACT:1,NOLIMIT:2},AttributeTypes:{SCALARS:0,VECTORS:1,NORMALS:2,TCOORDS:3,TENSORS:4,GLOBALIDS:5,PEDIGREEIDS:6,EDGEFLAG:7,NUM_ATTRIBUTES:8},CellGhostTypes:{DUPLICATECELL:1,HIGHCONNECTIVITYCELL:2,LOWCONNECTIVITYCELL:4,REFINEDCELL:8,EXTERIORCELL:16,HIDDENCELL:32},DesiredOutputPrecision:{DEFAULT:0,SINGLE:1,DOUBLE:2},PointGhostTypes:{DUPLICATEPOINT:1,HIDDENPOINT:2},ghostArrayName:"vtkGhostType"};const{AttributeTypes:Ql,AttributeCopyOperations:Jl}=Zl,{vtkWarningMacro:ep}=xs;const np={activeScalars:-1,activeVectors:-1,activeTensors:-1,activeNormals:-1,activeTCoords:-1,activeGlobalIds:-1,activePedigreeIds:-1};function tp(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,np,t),Kl.extend(e,n,t),xs.setGet(e,n,["activeScalars","activeNormals","activeTCoords","activeVectors","activeTensors","activeGlobalIds","activePedigreeIds"]),n.arrays||(n.arrays={}),function(e,n){const t=["Scalars","Vectors","Normals","TCoords","Tensors","GlobalIds","PedigreeIds"];function a(e){let n=t.find(n=>Ql[n.toUpperCase()]===e||"number"!=typeof e&&n.toLowerCase()===e.toLowerCase());return void 0===n&&(n=null),n}n.classHierarchy.push("vtkDataSetAttributes");const o={...e};e.checkNumberOfComponents=e=>!0,e.setAttribute=(t,o)=>{const i=a(o);if(t&&"PEDIGREEIDS"===i.toUpperCase()&&!t.isA("vtkDataArray"))return ep(`Cannot set attribute ${i}. The attribute must be a vtkDataArray.`),-1;if(t&&!e.checkNumberOfComponents(t,i))return ep(`Cannot set attribute ${i}. Incorrect number of components.`),-1;let r=n[`active${i}`];if(r>=0&&r<n.arrays.length){if(n.arrays[r]===t)return r;e.removeArrayByIndex(r)}return t?(r=e.addArray(t),n[`active${i}`]=r):n[`active${i}`]=-1,e.modified(),n[`active${i}`]},e.getAttributes=n=>t.filter(t=>e[`get${t}`]()===n),e.setActiveAttributeByName=(n,t)=>e.setActiveAttributeByIndex(e.getArrayWithIndex(n).index,t),e.setActiveAttributeByIndex=(t,o)=>{const i=a(o);if(t>=0&&t<n.arrays.length){if("PEDIGREEIDS"!==i.toUpperCase()){const n=e.getArrayByIndex(t);if(!n.isA("vtkDataArray"))return ep(`Cannot set attribute ${i}. Only vtkDataArray subclasses can be set as active attributes.`),-1;if(!e.checkNumberOfComponents(n,i))return ep(`Cannot set attribute ${i}. Incorrect number of components.`),-1}return n[`active${i}`]=t,e.modified(),t}return-1===t&&(n[`active${i}`]=t,e.modified()),-1},e.getActiveAttribute=n=>{const t=a(n);return e[`get${t}`]()},e.removeAllArrays=()=>{t.forEach(e=>{n[`active${e}`]=-1}),o.removeAllArrays()},e.removeArrayByIndex=e=>(-1!==e&&t.forEach(t=>{e===n[`active${t}`]?n[`active${t}`]=-1:e<n[`active${t}`]&&(n[`active${t}`]-=1)}),o.removeArrayByIndex(e)),t.forEach(t=>{const a=`active${t}`;e[`get${t}`]=()=>e.getArrayByIndex(n[a]),e[`set${t}`]=n=>e.setAttribute(n,t),e[`setActive${t}`]=n=>e.setActiveAttributeByIndex(e.getArrayWithIndex(n).index,t),e[`copy${t}Off`]=()=>{const e=t.toUpperCase();n.copyAttributeFlags[Jl.PASSDATA][Ql[e]]=!1},e[`copy${t}On`]=()=>{const e=t.toUpperCase();n.copyAttributeFlags[Jl.PASSDATA][Ql[e]]=!0}}),e.initializeAttributeCopyFlags=()=>{n.copyAttributeFlags=[],Object.keys(Jl).filter(e=>"ALLCOPY"!==e).forEach(e=>{n.copyAttributeFlags[Jl[e]]=Object.keys(Ql).filter(e=>"NUM_ATTRIBUTES"!==e).reduce((e,n)=>(e[Ql[n]]=!0,e),[])}),n.copyAttributeFlags[Jl.COPYTUPLE][Ql.GLOBALIDS]=!1,n.copyAttributeFlags[Jl.INTERPOLATE][Ql.GLOBALIDS]=!1,n.copyAttributeFlags[Jl.COPYTUPLE][Ql.PEDIGREEIDS]=!1},e.initialize=xs.chain(e.initialize,e.initializeAttributeCopyFlags),n.dataArrays&&Object.keys(n.dataArrays).length&&Object.keys(n.dataArrays).forEach(t=>{n.dataArrays[t].ref||"vtkDataArray"!==n.dataArrays[t].type||e.addArray($l.newInstance(n.dataArrays[t]))});const i=e.shallowCopy;e.shallowCopy=(e,t)=>{i(e,t),n.arrays=e.getArrays().map(e=>{const n=e.newClone();return n.shallowCopy(e,t),{data:n}})},e.initializeAttributeCopyFlags()}(e,n)}var ap={newInstance:xs.newInstance(tp,"vtkDataSetAttributes"),extend:tp,...Zl};var op={FieldDataTypes:{UNIFORM:0,DATA_OBJECT_FIELD:0,COORDINATE:1,POINT_DATA:1,POINT:2,POINT_FIELD_DATA:2,CELL:3,CELL_FIELD_DATA:3,VERTEX:4,VERTEX_FIELD_DATA:4,EDGE:5,EDGE_FIELD_DATA:5,ROW:6,ROW_DATA:6},FieldAssociations:{FIELD_ASSOCIATION_POINTS:0,FIELD_ASSOCIATION_CELLS:1,FIELD_ASSOCIATION_NONE:2,FIELD_ASSOCIATION_POINTS_THEN_CELLS:3,FIELD_ASSOCIATION_VERTICES:4,FIELD_ASSOCIATION_EDGES:5,FIELD_ASSOCIATION_ROWS:6,NUMBER_OF_ASSOCIATIONS:7}};const ip=["pointData","cellData","fieldData"];const rp={};function sp(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,rp,t),xs.obj(e,n),xs.setGet(e,n,ip),function(e,n){n.classHierarchy.push("vtkDataSet"),ip.forEach(e=>{n[e]?n[e]=hr(n[e]):n[e]=ap.newInstance()});const t=e.shallowCopy;e.shallowCopy=function(e){t(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),ip.forEach(t=>{n[t]=ap.newInstance(),n[t].shallowCopy(e.getReferenceByName(t))})}}(e,n)}var cp={newInstance:xs.newInstance(sp,"vtkDataSet"),extend:sp,...op};const lp={UNCHANGED:0,SINGLE_POINT:1,X_LINE:2,Y_LINE:3,Z_LINE:4,XY_PLANE:5,YZ_PLANE:6,XZ_PLANE:7,XYZ_GRID:8,EMPTY:9};var pp={StructuredType:lp};const{StructuredType:up}=pp;var dp={getDataDescriptionFromExtent:function(e){let n=0;for(let t=0;t<3;++t)e[2*t]<e[2*t+1]&&n++;return e[0]>e[1]||e[2]>e[3]||e[4]>e[5]?up.EMPTY:3===n?up.XYZ_GRID:2===n?e[0]===e[1]?up.YZ_PLANE:e[2]===e[3]?up.XZ_PLANE:up.XY_PLANE:1===n?e[0]<e[1]?up.X_LINE:e[2]<e[3]?up.Y_LINE:up.Z_LINE:up.SINGLE_POINT},...pp};const{vtkErrorMacro:mp}=xs;const fp={direction:null,indexToWorld:null,worldToIndex:null,spacing:[1,1,1],origin:[0,0,0],extent:[0,-1,0,-1,0,-1],dataDescription:lp.EMPTY};function vp(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,fp,t),cp.extend(e,n,t),n.direction?Array.isArray(n.direction)&&(n.direction=new Float64Array(n.direction.slice(0,9))):n.direction=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}(new Float64Array(9)),n.indexToWorld=new Float64Array(16),n.worldToIndex=new Float64Array(16),xs.get(e,n,["indexToWorld","worldToIndex"]),xs.setGetArray(e,n,["origin","spacing"],3),xs.setGetArray(e,n,["direction"],9),xs.getArray(e,n,["extent"],6),function(e,n){n.classHierarchy.push("vtkImageData"),e.setExtent=function(){if(n.deleted)return mp("instance deleted - cannot call any method"),!1;for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];const i=1===a.length?a[0]:a;if(6!==i.length)return!1;const r=n.extent.some((e,n)=>e!==i[n]);return r&&(n.extent=i.slice(),n.dataDescription=dp.getDataDescriptionFromExtent(n.extent),e.modified()),r},e.setDimensions=function(){let t,a,o;if(n.deleted)mp("instance deleted - cannot call any method");else{if(1===arguments.length){const e=arguments.length<=0?void 0:arguments[0];t=e[0],a=e[1],o=e[2]}else{if(3!==arguments.length)return void mp("Bad dimension specification");t=arguments.length<=0?void 0:arguments[0],a=arguments.length<=1?void 0:arguments[1],o=arguments.length<=2?void 0:arguments[2]}e.setExtent(0,t-1,0,a-1,0,o-1)}},e.getDimensions=()=>[n.extent[1]-n.extent[0]+1,n.extent[3]-n.extent[2]+1,n.extent[5]-n.extent[4]+1],e.getNumberOfCells=()=>{const n=e.getDimensions();let t=1;for(let e=0;e<3;e++){if(0===n[e])return 0;n[e]>1&&(t*=n[e]-1)}return t},e.getNumberOfPoints=()=>{const n=e.getDimensions();return n[0]*n[1]*n[2]},e.getPoint=t=>{const a=e.getDimensions();if(0===a[0]||0===a[1]||0===a[2])return mp("Requesting a point from an empty image."),null;const o=new Float64Array(3);switch(n.dataDescription){case lp.EMPTY:return null;case lp.SINGLE_POINT:break;case lp.X_LINE:o[0]=t;break;case lp.Y_LINE:o[1]=t;break;case lp.Z_LINE:o[2]=t;break;case lp.XY_PLANE:o[0]=t%a[0],o[1]=t/a[0];break;case lp.YZ_PLANE:o[1]=t%a[1],o[2]=t/a[1];break;case lp.XZ_PLANE:o[0]=t%a[0],o[2]=t/a[0];break;case lp.XYZ_GRID:o[0]=t%a[0],o[1]=t/a[0]%a[1],o[2]=t/(a[0]*a[1]);break;default:mp("Invalid dataDescription")}const i=[0,0,0];return e.indexToWorld(o,i),i},e.getBounds=()=>e.extentToBounds(e.getSpatialExtent()),e.extentToBounds=e=>sl.transformBounds(e,n.indexToWorld),e.getSpatialExtent=()=>sl.inflate([...n.extent],.5),e.computeTransforms=()=>{!function(e,n){e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1}(n.indexToWorld,n.origin),n.indexToWorld[0]=n.direction[0],n.indexToWorld[1]=n.direction[1],n.indexToWorld[2]=n.direction[2],n.indexToWorld[4]=n.direction[3],n.indexToWorld[5]=n.direction[4],n.indexToWorld[6]=n.direction[5],n.indexToWorld[8]=n.direction[6],n.indexToWorld[9]=n.direction[7],n.indexToWorld[10]=n.direction[8],ui(n.indexToWorld,n.indexToWorld,n.spacing),function(e,n){var t=n[0],a=n[1],o=n[2],i=n[3],r=n[4],s=n[5],c=n[6],l=n[7],p=n[8],u=n[9],d=n[10],m=n[11],f=n[12],v=n[13],g=n[14],h=n[15],x=t*s-a*r,b=t*c-o*r,y=t*l-i*r,w=a*c-o*s,T=a*l-i*s,A=o*l-i*c,C=p*v-u*f,O=p*g-d*f,k=p*h-m*f,E=u*g-d*v,I=u*h-m*v,S=d*h-m*g,P=x*S-b*I+y*E+w*k-T*O+A*C;P&&(P=1/P,e[0]=(s*S-c*I+l*E)*P,e[1]=(o*I-a*S-i*E)*P,e[2]=(v*A-g*T+h*w)*P,e[3]=(d*T-u*A-m*w)*P,e[4]=(c*k-r*S-l*O)*P,e[5]=(t*S-o*k+i*O)*P,e[6]=(g*y-f*A-h*b)*P,e[7]=(p*A-d*y+m*b)*P,e[8]=(r*I-s*k+l*C)*P,e[9]=(a*k-t*I-i*C)*P,e[10]=(f*T-v*y+h*x)*P,e[11]=(u*y-p*T-m*x)*P,e[12]=(s*O-r*E-c*C)*P,e[13]=(t*E-a*O+o*C)*P,e[14]=(v*b-f*w-g*x)*P,e[15]=(p*w-u*b+d*x)*P)}(n.worldToIndex,n.indexToWorld)},e.indexToWorld=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return gi(t,e,n.indexToWorld),t},e.indexToWorldVec3=e.indexToWorld,e.worldToIndex=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return gi(t,e,n.worldToIndex),t},e.worldToIndexVec3=e.worldToIndex,e.indexToWorldBounds=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return sl.transformBounds(e,n.indexToWorld,t)},e.worldToIndexBounds=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return sl.transformBounds(e,n.worldToIndex,t)},e.onModified(e.computeTransforms),e.computeTransforms(),e.getCenter=()=>sl.getCenter(e.getBounds()),e.computeHistogram=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const a=[0,0,0,0,0,0];e.worldToIndexBounds(n,a);const o=[0,0,0],i=[0,0,0];sl.computeCornerPoints(a,o,i),tc(o,o),tc(i,i);const r=e.getDimensions();rc(o,[0,0,0],[r[0]-1,r[1]-1,r[2]-1],o),rc(i,[0,0,0],[r[0]-1,r[1]-1,r[2]-1],i);const s=r[0],c=r[0]*r[1],l=e.getPointData().getScalars().getData();let p=-1/0,u=1/0,d=0,m=0,f=0;for(let e=o[2];e<=i[2];e++)for(let n=o[1];n<=i[1];n++){let r=o[0]+n*s+e*c;for(let s=o[0];s<=i[0];s++){if(!t||t([s,n,e],a)){const e=l[r];e>p&&(p=e),e<u&&(u=e),d+=e*e,m+=e,f+=1}++r}}const v=f>0?m/f:0,g=f?Math.abs(d/f-v*v):0;return{minimum:u,maximum:p,average:v,variance:g,sigma:Math.sqrt(g),count:f}},e.computeIncrements=function(e){const n=[];let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;for(let a=0;a<3;++a)n[a]=t,t*=e[2*a+1]-e[2*a]+1;return n},e.computeOffsetIndex=n=>{let[t,a,o]=n;const i=e.getExtent(),r=e.getPointData().getScalars().getNumberOfComponents(),s=e.computeIncrements(i,r);return Math.floor((Math.round(t)-i[0])*s[0]+(Math.round(a)-i[2])*s[1]+(Math.round(o)-i[4])*s[2])},e.getOffsetIndexFromWorld=n=>{const t=e.getExtent(),a=e.worldToIndex(n);for(let e=0;e<3;++e)if(a[e]<t[2*e]||a[e]>t[2*e+1])return mp(`GetScalarPointer: Pixel ${a} is not in memory. Current extent = ${t}`),NaN;return e.computeOffsetIndex(a)},e.getScalarValueFromWorld=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const a=e.getPointData().getScalars().getNumberOfComponents();if(t<0||t>=a)return mp(`GetScalarPointer: Scalar Component ${t} is not within bounds. Current Scalar numberOfComponents: ${a}`),NaN;const o=e.getOffsetIndexFromWorld(n);return Number.isNaN(o)?o:e.getPointData().getScalars().getComponent(o,t)}}(e,n)}var gp={newInstance:xs.newInstance(vp,"vtkImageData"),extend:vp};const hp={LUMINANCE:1,LUMINANCE_ALPHA:2,RGB:3,RGBA:4};var xp={VectorMode:{MAGNITUDE:0,COMPONENT:1,RGBCOLORS:2},ScalarMappingTarget:hp};var bp={ColorMode:{DEFAULT:0,MAP_SCALARS:1,DIRECT_SCALARS:2},GetArray:{BY_ID:0,BY_NAME:1},ScalarMode:{DEFAULT:0,USE_POINT_DATA:1,USE_CELL_DATA:2,USE_POINT_FIELD_DATA:3,USE_CELL_FIELD_DATA:4,USE_FIELD_DATA:5}};const{ScalarMappingTarget:yp,VectorMode:wp}=xp,{VtkDataTypes:Tp}=$l,{ColorMode:Ap}=bp,{vtkErrorMacro:Cp}=xs;function Op(e){return e}function kp(e){return Math.floor(255*e+.5)}const Ep={alpha:1,vectorComponent:0,vectorSize:-1,vectorMode:wp.COMPONENT,mappingRange:null,annotationArray:null,annotatedValueMap:null,indexedLookup:!1};function Ip(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Ep,t),xs.obj(e,n),n.mappingRange=[0,255],n.annotationArray=[],n.annotatedValueMap=[],xs.setGet(e,n,["vectorSize","vectorComponent","vectorMode","alpha","indexedLookup"]),xs.setArray(e,n,["mappingRange"],2),xs.getArray(e,n,["mappingRange"]),function(e,n){n.classHierarchy.push("vtkScalarsToColors"),e.setVectorModeToMagnitude=()=>e.setVectorMode(wp.MAGNITUDE),e.setVectorModeToComponent=()=>e.setVectorMode(wp.COMPONENT),e.setVectorModeToRGBColors=()=>e.setVectorMode(wp.RGBCOLORS),e.build=()=>{},e.isOpaque=()=>!0,e.setAnnotations=(t,a)=>{if(!(t&&!a||!t&&a))if(t&&a&&t.length!==a.length)Cp("Values and annotations do not have the same number of tuples so ignoring");else{if(n.annotationArray=[],a&&t){const e=a.length;for(let o=0;o<e;o++)n.annotationArray.push({value:t[o],annotation:String(a[o])})}e.updateAnnotatedValueMap(),e.modified()}},e.setAnnotation=(t,a)=>{let o=e.checkForAnnotatedValue(t),i=!1;return o>=0?n.annotationArray[o].annotation!==a&&(n.annotationArray[o].annotation=a,i=!0):(n.annotationArray.push({value:t,annotation:a}),o=n.annotationArray.length-1,i=!0),i&&(e.updateAnnotatedValueMap(),e.modified()),o},e.getNumberOfAnnotatedValues=()=>n.annotationArray.length,e.getAnnotatedValue=e=>e<0||e>=n.annotationArray.length?null:n.annotationArray[e].value,e.getAnnotation=e=>void 0===n.annotationArray[e]?null:n.annotationArray[e].annotation,e.getAnnotatedValueIndex=t=>n.annotationArray.length?e.checkForAnnotatedValue(t):-1,e.removeAnnotation=t=>{const a=e.checkForAnnotatedValue(t),o=a>=0;return o&&(n.annotationArray.splice(a,1),e.updateAnnotatedValueMap(),e.modified()),o},e.resetAnnotations=()=>{n.annotationArray=[],n.annotatedValueMap=[],e.modified()},e.getAnnotationColor=(t,a)=>{if(n.indexedLookup){const n=e.getAnnotatedValueIndex(t);e.getIndexedColor(n,a)}else e.getColor(parseFloat(t),a),a[3]=1},e.checkForAnnotatedValue=n=>e.getAnnotatedValueIndexInternal(n),e.getAnnotatedValueIndexInternal=e=>{if(void 0!==n.annotatedValueMap[e]){const t=n.annotationArray.length;return n.annotatedValueMap[e]%t}return-1},e.getIndexedColor=(e,n)=>{n[0]=0,n[1]=0,n[2]=0,n[3]=0},e.updateAnnotatedValueMap=()=>{n.annotatedValueMap=[];const e=n.annotationArray.length;for(let t=0;t<e;t++)n.annotatedValueMap[n.annotationArray[t].value]=t},e.mapScalars=(n,t,a)=>{const o=n.getNumberOfComponents();let i=null;if(t===Ap.DEFAULT&&(n.getDataType()===Tp.UNSIGNED_CHAR||n.getDataType()===Tp.UNSIGNED_CHAR_CLAMPED)||t===Ap.DIRECT_SCALARS&&n)i=e.convertToRGBA(n,o,n.getNumberOfTuples());else{const t={type:"vtkDataArray",name:"temp",numberOfComponents:4,dataType:Tp.UNSIGNED_CHAR},r=xs.newTypedArray(t.dataType,4*n.getNumberOfTuples());t.values=r,t.size=r.length,i=$l.newInstance(t);let s=a;s<0&&o>1?e.mapVectorsThroughTable(n,i,yp.RGBA,-1,-1):(s<0&&(s=0),s>=o&&(s=o-1),e.mapScalarsThroughTable(n,i,yp.RGBA,s))}return i},e.mapVectorsToMagnitude=(e,n,t)=>{const a=e.getNumberOfTuples(),o=e.getNumberOfComponents(),i=n.getData(),r=e.getData();for(let e=0;e<a;e++){let n=0;for(let a=0;a<t;a++)n+=r[e*o+a]*r[e*o+a];i[e]=Math.sqrt(n)}},e.mapVectorsThroughTable=(n,t,a,o,i)=>{let r=e.getVectorMode(),s=i,c=o;const l=n.getNumberOfComponents();r===wp.COMPONENT?(-1===c&&(c=e.getVectorComponent()),c<0&&(c=0),c>=l&&(c=l-1)):(-1===s&&(s=e.getVectorSize()),s<=0?(c=0,s=l):(c<0&&(c=0),c>=l&&(c=l-1),c+s>l&&(s=l-c)),r!==wp.MAGNITUDE||1!==l&&1!==s||(r=wp.COMPONENT));let p=0;switch(c>0&&(p=c),r){case wp.COMPONENT:e.mapScalarsThroughTable(n,t,a,p);break;case wp.RGBCOLORS:break;case wp.MAGNITUDE:default:{const o=$l.newInstance({numberOfComponents:1,values:new Float32Array(n.getNumberOfTuples())});e.mapVectorsToMagnitude(n,o,s),e.mapScalarsThroughTable(o,t,a,0);break}}},e.luminanceToRGBA=(e,n,t,a)=>{const o=a(t),i=n.getData(),r=e.getData(),s=i.length;let c=0;for(let e=0;e<s;e+=1){const n=a(i[e]);r[4*c]=n,r[4*c+1]=n,r[4*c+2]=n,r[4*c+3]=o,c++}},e.luminanceAlphaToRGBA=(e,n,t,a)=>{const o=n.getData(),i=e.getData(),r=o.length;let s=0;for(let e=0;e<r;e+=2){const n=a(o[e]);i[s]=n,i[s+1]=n,i[s+2]=n,i[s+3]=a(o[e+1])*t,s+=4}},e.rGBToRGBA=(e,n,t,a)=>{const o=kp(t),i=n.getData(),r=e.getData(),s=i.length;let c=0;for(let e=0;e<s;e+=3)r[4*c]=a(i[e]),r[4*c+1]=a(i[e+1]),r[4*c+2]=a(i[e+2]),r[4*c+3]=o,c++},e.rGBAToRGBA=(e,n,t,a)=>{const o=n.getData(),i=e.getData(),r=o.length;let s=0;for(let e=0;e<r;e+=4)i[4*s]=a(o[e]),i[4*s+1]=a(o[e+1]),i[4*s+2]=a(o[e+2]),i[4*s+3]=a(o[e+3])*t,s++},e.convertToRGBA=(t,a,o)=>{let{alpha:i}=n;if(4===a&&i>=1&&t.getDataType()===Tp.UNSIGNED_CHAR)return t;const r=$l.newInstance({numberOfComponents:4,empty:!0,size:4*o,dataType:Tp.UNSIGNED_CHAR});if(o<=0)return r;i=i>0?i:0,i=i<1?i:1;let s=Op;switch(t.getDataType()!==Tp.FLOAT&&t.getDataType()!==Tp.DOUBLE||(s=kp),a){case 1:e.luminanceToRGBA(r,t,i,s);break;case 2:e.luminanceAlphaToRGBA(r,t,s);break;case 3:e.rGBToRGBA(r,t,i,s);break;case 4:e.rGBAToRGBA(r,t,i,s);break;default:return Cp("Cannot convert colors"),null}return r},e.usingLogScale=()=>!1,e.getNumberOfAvailableColors=()=>16777216,e.setRange=(n,t)=>e.setMappingRange(n,t),e.getRange=()=>e.getMappingRange(),e.areScalarsOpaque=(t,a,o)=>{if(!t)return e.isOpaque();const i=t.getNumberOfComponents();return(a!==Ap.DEFAULT||t.getDataType()!==Tp.UNSIGNED_CHAR)&&a!==Ap.DIRECT_SCALARS||(3===i||1===i?n.alpha>=1:255===t.getRange(i-1)[0])}}(e,n)}var Sp={newInstance:xs.newInstance(Ip,"vtkScalarsToColors"),extend:Ip,...xp};const{vtkErrorMacro:Pp}=xs;const Rp={numberOfColors:256,hueRange:[0,.66667],saturationRange:[1,1],valueRange:[1,1],alphaRange:[1,1],nanColor:[.5,0,0,1],belowRangeColor:[0,0,0,1],aboveRangeColor:[1,1,1,1],useAboveRangeColor:!1,useBelowRangeColor:!1,alpha:1};function jp(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Rp,t),Sp.extend(e,n,t),n.table||(n.table=[]),n.buildTime={},xs.obj(n.buildTime),n.opaqueFlagBuildTime={},xs.obj(n.opaqueFlagBuildTime,{mtime:0}),n.insertTime={},xs.obj(n.insertTime,{mtime:0}),xs.get(e,n,["buildTime"]),xs.setGet(e,n,["numberOfColors","useAboveRangeColor","useBelowRangeColor"]),xs.setArray(e,n,["alphaRange","hueRange","saturationRange","valueRange"],2),xs.setArray(e,n,["nanColor","belowRangeColor","aboveRangeColor"],4),xs.getArray(e,n,["hueRange","saturationRange","valueRange","alphaRange","nanColor","belowRangeColor","aboveRangeColor"]),function(e,n){n.classHierarchy.push("vtkLookupTable"),e.isOpaque=()=>{if(n.opaqueFlagBuildTime.getMTime()<e.getMTime()){let e=!0;n.nanColor[3]<1&&(e=0),n.useBelowRangeColor&&n.belowRangeColor[3]<1&&(e=0),n.useAboveRangeColor&&n.aboveRangeColor[3]<1&&(e=0);for(let t=3;t<n.table.length&&e;t+=4)n.table[t]<255&&(e=!1);n.opaqueFlag=e,n.opaqueFlagBuildTime.modified()}return n.opaqueFlag},e.usingLogScale=()=>!1,e.getNumberOfAvailableColors=()=>n.table.length/4-3,e.linearIndexLookup=(e,n)=>{let t=0;const a=Number(e);return a<n.range[0]?t=n.maxIndex+0+1.5:a>n.range[1]?t=n.maxIndex+1+1.5:(t=(a+n.shift)*n.scale,t=t<n.maxIndex?t:n.maxIndex),Math.floor(t)},e.linearLookup=(n,t,a)=>{let o=0;o=cc(n)?Math.floor(a.maxIndex+1.5+2):e.linearIndexLookup(n,a);const i=4*o;return t.slice(i,i+4)},e.indexedLookupFunction=(t,a,o)=>{let i=e.getAnnotatedValueIndexInternal(t);-1===i&&(i=n.numberOfColors+2);const r=4*i;return[a[r],a[r+1],a[r+2],a[r+3]]},e.lookupShiftAndScale=(e,n)=>{n.shift=-e[0],n.scale=Number.MAX_VALUE,e[1]>e[0]&&(n.scale=(n.maxIndex+1)/(e[1]-e[0]))},e.mapScalarsThroughTable=(t,a,o,i)=>{let r=e.linearLookup;n.indexedLookup&&(r=e.indexedLookupFunction);const s=e.getMappingRange(),c={maxIndex:e.getNumberOfColors()-1,range:s,shift:0,scale:0};e.lookupShiftAndScale(s,c);const l=e.getAlpha(),p=t.getNumberOfTuples(),u=t.getNumberOfComponents(),d=a.getData(),m=t.getData();if(l>=1){if(o===hp.RGBA)for(let e=0;e<p;e++){const t=r(m[e*u+i],n.table,c);d[4*e]=t[0],d[4*e+1]=t[1],d[4*e+2]=t[2],d[4*e+3]=t[3]}}else if(o===hp.RGBA)for(let e=0;e<p;e++){const t=r(m[e*u+i],n.table,c);d[4*e]=t[0],d[4*e+1]=t[1],d[4*e+2]=t[2],d[4*e+3]=Math.floor(t[3]*l+.5)}},e.forceBuild=()=>{let t=0,a=0,o=0,i=0;const r=n.numberOfColors-1;r&&(t=(n.hueRange[1]-n.hueRange[0])/r,a=(n.saturationRange[1]-n.saturationRange[0])/r,o=(n.valueRange[1]-n.valueRange[0])/r,i=(n.alphaRange[1]-n.alphaRange[0])/r),n.table.length=4*r+16;const s=[],c=[];for(let e=0;e<=r;e++)s[0]=n.hueRange[0]+e*t,s[1]=n.saturationRange[0]+e*a,s[2]=n.valueRange[0]+e*o,oc(s,c),c[3]=n.alphaRange[0]+e*i,n.table[4*e]=255*c[0]+.5,n.table[4*e+1]=255*c[1]+.5,n.table[4*e+2]=255*c[2]+.5,n.table[4*e+3]=255*c[3]+.5;e.buildSpecialColors(),n.buildTime.modified()},e.setTable=t=>{if(Array.isArray(t)){const a=t[0].length;n.numberOfColors=t.length;const o=4-a;let i=0;for(let e=0;e<n.numberOfColors;e++)n.table[4*e]=255,n.table[4*e+1]=255,n.table[4*e+2]=255,n.table[4*e+3]=255;for(let e=0;e<t.length;e++){const r=t[e];for(let e=0;e<a;e++)n.table[i++]=r[e];i+=o}return e.buildSpecialColors(),n.insertTime.modified(),e.modified(),!0}if(4!==t.getNumberOfComponents())return Pp("Expected 4 components for RGBA colors"),!1;if(t.getDataType()!==_l.UNSIGNED_CHAR)return Pp("Expected unsigned char values for RGBA colors"),!1;n.numberOfColors=t.getNumberOfTuples();const a=t.getData();n.table.length=a.length;for(let e=0;e<a.length;e++)n.table[e]=a[e];return e.buildSpecialColors(),n.insertTime.modified(),e.modified(),!0},e.buildSpecialColors=()=>{const{numberOfColors:e}=n,t=n.table;let a=4*(e+0);n.useBelowRangeColor||0===e?(t[a]=255*n.belowRangeColor[0]+.5,t[a+1]=255*n.belowRangeColor[1]+.5,t[a+2]=255*n.belowRangeColor[2]+.5,t[a+3]=255*n.belowRangeColor[3]+.5):(t[a]=t[0],t[a+1]=t[1],t[a+2]=t[2],t[a+3]=t[3]),a=4*(e+1),n.useAboveRangeColor||0===e?(t[a]=255*n.aboveRangeColor[0]+.5,t[a+1]=255*n.aboveRangeColor[1]+.5,t[a+2]=255*n.aboveRangeColor[2]+.5,t[a+3]=255*n.aboveRangeColor[3]+.5):(t[a]=t[4*(e-1)+0],t[a+1]=t[4*(e-1)+1],t[a+2]=t[4*(e-1)+2],t[a+3]=t[4*(e-1)+3]),a=4*(e+2),t[a]=255*n.nanColor[0]+.5,t[a+1]=255*n.nanColor[1]+.5,t[a+2]=255*n.nanColor[2]+.5,t[a+3]=255*n.nanColor[3]+.5},e.build=()=>{(n.table.length<1||e.getMTime()>n.buildTime.getMTime()&&n.insertTime.getMTime()<=n.buildTime.getMTime())&&e.forceBuild()},n.table.length>0&&(e.buildSpecialColors(),n.insertTime.modified())}(e,n)}var _p={newInstance:xs.newInstance(jp,"vtkLookupTable"),extend:jp};const Lp={Off:0,PolygonOffset:1};let Np=Lp.PolygonOffset,Mp=Lp.Off;const Dp=["VTK_RESOLVE_OFF","VTK_RESOLVE_POLYGON_OFFSET"];function Fp(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const n=Mp===e;return Mp=e,n}var Bp={Resolve:Lp,getResolveCoincidentTopologyAsString:function(){return Dp[Mp]},getResolveCoincidentTopologyPolygonOffsetFaces:function(){return Np},getResolveCoincidentTopology:function(){return Mp},setResolveCoincidentTopology:Fp,setResolveCoincidentTopologyPolygonOffsetFaces:function(e){const n=Np===e;return Np=e,n},setResolveCoincidentTopologyToDefault:function(){return Fp(Lp.Off)},setResolveCoincidentTopologyToOff:function(){return Fp(Lp.Off)},setResolveCoincidentTopologyToPolygonOffset:function(){return Fp(Lp.PolygonOffset)}};function zp(e,n,t){t.forEach(t=>{e[`get${t.method}`]=()=>n[t.key],e[`set${t.method}`]=xs.objectSetterMap.object(e,n,{name:t.key,params:["factor","offset"]})})}const Up=["Polygon","Line","Point"],Vp={modified:()=>{}};zp(Vp,{Polygon:{factor:2,offset:0},Line:{factor:1,offset:-1},Point:{factor:0,offset:-2}},Up.map(e=>({key:e,method:`ResolveCoincidentTopology${e}OffsetParameters`})));var qp={implementCoincidentTopologyMethods:function(e,n){void 0===n.resolveCoincidentTopology&&(n.resolveCoincidentTopology=!1),xs.setGet(e,n,["resolveCoincidentTopology"]),n.topologyOffset={Polygon:{factor:0,offset:0},Line:{factor:0,offset:0},Point:{factor:0,offset:0}},Object.keys(Bp).forEach(n=>{e[n]=Bp[n]}),Object.keys(Vp).filter(e=>"modified"!==e).forEach(n=>{e[n]=Vp[n]}),zp(e,n.topologyOffset,Up.map(e=>({key:e,method:`RelativeCoincidentTopology${e}OffsetParameters`}))),e.getCoincidentTopologyPolygonOffsetParameters=()=>{const n=Vp.getResolveCoincidentTopologyPolygonOffsetParameters(),t=e.getRelativeCoincidentTopologyPolygonOffsetParameters();return{factor:n.factor+t.factor,offset:n.offset+t.offset}},e.getCoincidentTopologyLineOffsetParameters=()=>{const n=Vp.getResolveCoincidentTopologyLineOffsetParameters(),t=e.getRelativeCoincidentTopologyLineOffsetParameters();return{factor:n.factor+t.factor,offset:n.offset+t.offset}},e.getCoincidentTopologyPointOffsetParameter=()=>{const n=Vp.getResolveCoincidentTopologyPointOffsetParameters(),t=e.getRelativeCoincidentTopologyPointOffsetParameters();return{factor:n.factor+t.factor,offset:n.offset+t.offset}}},staticOffsetAPI:Vp,otherStaticMethods:Bp,CATEGORIES:Up,Resolve:Lp};const Gp=2,$p=3,{FieldAssociations:Wp}=cp,{staticOffsetAPI:Hp,otherStaticMethods:Xp}=qp,{ColorMode:Yp,ScalarMode:Kp,GetArray:Zp}=bp,{VectorMode:Qp}=xp,{VtkDataTypes:Jp}=$l;function eu(e){return()=>xs.vtkErrorMacro(`vtkMapper::${e} - NOT IMPLEMENTED`)}function nu(e,n){const t=e[1]%2==0?1:-1;if(e[0]+=t,e[0]>=n[0]||e[0]<0){const a=e[2]%2==0?1:-1;e[0]-=t,e[1]+=a,(e[1]>=n[1]||e[1]<0)&&(e[1]-=a,e[2]++)}}function tu(e,n){return e[0]+n[0]*(e[1]+n[1]*e[2])}function au(e,n,t){const a=Math.floor(n),o=a%(2*t[0]);let i,r;o<t[0]?(e[0]=o,i=1,r=e[0]===t[0]-1):(e[0]=2*t[0]-1-o,i=-1,r=0===e[0]);const s=Math.floor(a/t[0]),c=s%(2*t[1]);let l,p;c<t[1]?(e[1]=c,l=1,p=e[1]===t[1]-1):(e[1]=2*t[1]-1-c,l=-1,p=0===e[1]),e[2]=Math.floor(s/t[1]);const u=n-a;r?p?e[2]+=u:e[1]+=l*u:e[0]+=i*u,e[0]=(e[0]+.5)/t[0],e[1]=(e[1]+.5)/t[1],e[2]=(e[2]+.5)/t[2]}const ou=new WeakMap;function iu(e,n){n.classHierarchy.push("vtkMapper"),e.getBounds=()=>{const t=e.getInputData();return t?(n.static||e.update(),n.bounds=t.getBounds()):n.bounds=lc(),n.bounds},e.setForceCompileOnly=e=>{n.forceCompileOnly=e},e.setSelectionWebGLIdsToVTKIds=e=>{n.selectionWebGLIdsToVTKIds=e},e.createDefaultLookupTable=()=>{n.lookupTable=_p.newInstance()},e.getColorModeAsString=()=>xs.enumToString(Yp,n.colorMode),e.setColorModeToDefault=()=>e.setColorMode(0),e.setColorModeToMapScalars=()=>e.setColorMode(1),e.setColorModeToDirectScalars=()=>e.setColorMode(2),e.getScalarModeAsString=()=>xs.enumToString(Kp,n.scalarMode),e.setScalarModeToDefault=()=>e.setScalarMode(0),e.setScalarModeToUsePointData=()=>e.setScalarMode(1),e.setScalarModeToUseCellData=()=>e.setScalarMode(2),e.setScalarModeToUsePointFieldData=()=>e.setScalarMode(3),e.setScalarModeToUseCellFieldData=()=>e.setScalarMode(4),e.setScalarModeToUseFieldData=()=>e.setScalarMode(5),e.getAbstractScalars=(e,t,a,o,i)=>{if(!e||!n.scalarVisibility)return{scalars:null,cellFlag:!1};let r=null,s=!1;if(t===Kp.DEFAULT)r=e.getPointData().getScalars(),r||(r=e.getCellData().getScalars(),s=!0);else if(t===Kp.USE_POINT_DATA)r=e.getPointData().getScalars();else if(t===Kp.USE_CELL_DATA)r=e.getCellData().getScalars(),s=!0;else if(t===Kp.USE_POINT_FIELD_DATA){const n=e.getPointData();r=a===Zp.BY_ID?n.getArrayByIndex(o):n.getArrayByName(i)}else if(t===Kp.USE_CELL_FIELD_DATA){const n=e.getCellData();s=!0,r=a===Zp.BY_ID?n.getArrayByIndex(o):n.getArrayByName(i)}else if(t===Kp.USE_FIELD_DATA){const n=e.getFieldData();r=a===Zp.BY_ID?n.getArrayByIndex(o):n.getArrayByName(i)}return{scalars:r,cellFlag:s}},e.mapScalars=(t,a)=>{const{scalars:o,cellFlag:i}=e.getAbstractScalars(t,n.scalarMode,n.arrayAccessMode,n.arrayId,n.colorByArrayName);if(n.areScalarsMappedFromCells=i,!o)return n.colorCoordinates=null,n.colorTextureMap=null,void(n.colorMapColors=null);const r=`${e.getMTime()}${o.getMTime()}${a}`;if(n.colorBuildString!==r){if(n.useLookupTableScalarRange||e.getLookupTable().setRange(n.scalarRange[0],n.scalarRange[1]),e.canUseTextureMapForColoring(o,i))n.mapScalarsToTexture(o,i,a);else{n.colorCoordinates=null,n.colorTextureMap=null;const t=e.getLookupTable();t&&(t.build(),n.colorMapColors=t.mapScalars(o,n.colorMode,n.fieldDataTupleId))}n.colorBuildString=`${e.getMTime()}${o.getMTime()}${a}`}},n.mapScalarsToTexture=(t,a,o)=>{const i=n.lookupTable.getRange(),r=n.lookupTable.usingLogScale();r&&_p.getLogRange(i,i);const s=n.lookupTable.getAlpha();if(n.colorMapColors=null,null==n.colorTextureMap||e.getMTime()>n.colorTextureMap.getMTime()||n.lookupTable.getMTime()>n.colorTextureMap.getMTime()||n.lookupTable.getAlpha()!==o){n.lookupTable.setAlpha(o),n.colorTextureMap=null,n.lookupTable.build();const e=n.lookupTable.getNumberOfAvailableColors(),t=2048,c=2,l=a?t**3-3:4096-2;n.numberOfColorsInRange=Math.min(Math.max(e,c),l);const p=n.numberOfColorsInRange+3,u=n.numberOfColorsInRange+2,d=a?[Math.min(Math.ceil(p/t**0),t),Math.min(Math.ceil(p/t**1),t),Math.min(Math.ceil(p/t**2),t)]:[u,2,1],m=d[0]*d[1]*d[2],f=new Float64Array(m);f.fill(NaN);const v=n.numberOfColorsInRange,g=v+2,h=[0,0,0],x=i[0],b=i[1]-i[0];for(let e=0;e<g;++e){const n=x+b*(e-1)/(v-1);f[tu(h,d)]=r?10**n:n,nu(h,d)}const y=$l.newInstance({numberOfComponents:1,values:f}),w=n.lookupTable.mapScalars(y,n.colorMode,0);n.colorTextureMap=gp.newInstance(),n.colorTextureMap.setDimensions(d),n.colorTextureMap.getPointData().setScalars(w),n.lookupTable.setAlpha(s)}const c=n.lookupTable.getVectorMode()===Qp.MAGNITUDE&&t.getNumberOfComponents()>1?-1:n.lookupTable.getVectorComponent();n.colorCoordinates=function(e,n,t,a,o,i,r){const s=new Array(arguments.length);for(let e=0;e<arguments.length;++e){const n=arguments[e];s[e]=n.getMTime?.()??n}const c=s.join("/"),l=ou.get(e);if(l&&l.stringHash===c)return l.textureCoordinates;const p=(t[1]-t[0])/(a-1),[u,d]=[t[0]-p,t[1]+p],m=u-.5*p,f=1/(d-u+p),v=u,g=(a+1)/(d-u),h=e.getData(),x=e.getNumberOfTuples(),b=e.getNumberOfComponents(),y=n<0||n>=b,w=o[2]<=1?2:3,T=$l.newInstance({numberOfComponents:w,values:new Float32Array(x*w)}),A=T.getData(),C=[0,0,0];au(C,a+2,o);let O=0,k=0;const E=[.5,.5,.5];for(let e=0;e<x;++e){let e;if(y){let n=0;for(let e=0;e<b;++e){const t=h[O+e];n+=t*t}e=Math.sqrt(n)}else e=h[O+n];if(O+=b,i&&(e=_p.applyLogScale(e,t,t)),cc(e))E[0]=C[0],E[1]=C[1],E[2]=C[2];else if(r){let n=(e-v)*g;n<1?n=0:n>a&&(n=a+1),au(E,n,o)}else{E[1]=.49;const n=(e-m)*f;E[0]=n>1e3?1e3:n<-1e3?-1e3:n}for(let e=0;e<w;++e)A[k++]=E[e]}return ou.set(e,{stringHash:c,textureCoordinates:T}),T}(t,c,i,n.numberOfColorsInRange,n.colorTextureMap.getDimensions(),r,a)},e.getIsOpaque=()=>{const t=e.getInputData(),a=e.getAbstractScalars(t,n.scalarMode,n.arrayAccessMode,n.arrayId,n.colorByArrayName).scalars;if(!n.scalarVisibility||null==a)return!0;const o=e.getLookupTable();return!o||(o.build(),o.areScalarsOpaque(a,n.colorMode,-1))},e.canUseTextureMapForColoring=(e,t)=>!(!t||n.colorMode===Yp.DIRECT_SCALARS)||!!n.interpolateScalarsBeforeMapping&&((!n.lookupTable||!n.lookupTable.getIndexedLookup())&&(!!e&&((n.colorMode!==Yp.DEFAULT||e.getDataType()!==Jp.UNSIGNED_CHAR)&&n.colorMode!==Yp.DIRECT_SCALARS))),e.clearColorArrays=()=>{n.colorMapColors=null,n.colorCoordinates=null,n.colorTextureMap=null},e.getLookupTable=()=>(n.lookupTable||e.createDefaultLookupTable(),n.lookupTable),e.getMTime=()=>{let e=n.mtime;if(null!==n.lookupTable){const t=n.lookupTable.getMTime();e=t>e?t:e}return e},e.getPrimitiveCount=()=>{const n=e.getInputData();return{points:n.getPoints().getNumberOfValues()/3,verts:n.getVerts().getNumberOfValues()-n.getVerts().getNumberOfCells(),lines:n.getLines().getNumberOfValues()-2*n.getLines().getNumberOfCells(),triangles:n.getPolys().getNumberOfValues()-3*n.getPolys().getNumberOfCells()}},e.acquireInvertibleLookupTable=eu("AcquireInvertibleLookupTable"),e.valueToColor=eu("ValueToColor"),e.colorToValue=eu("ColorToValue"),e.useInvertibleColorFor=eu("UseInvertibleColorFor"),e.clearInvertibleColor=eu("ClearInvertibleColor"),e.processSelectorPixelBuffers=(e,t)=>{if(!e||!n.selectionWebGLIdsToVTKIds||!n.populateSelectionSettings)return;const a=e.getRawPixelBuffer(Gp),o=e.getRawPixelBuffer($p),i=e.getCurrentPass(),r=e.getFieldAssociation();let s=null;r===Wp.FIELD_ASSOCIATION_POINTS?s=n.selectionWebGLIdsToVTKIds.points:r===Wp.FIELD_ASSOCIATION_CELLS&&(s=n.selectionWebGLIdsToVTKIds.cells),s&&t.forEach(n=>{if(i===Gp){let t=0;o&&(t+=o[n],t*=256),t+=a[n+2],t*=256,t+=a[n+1],t*=256,t+=a[n];const i=s[t],r=e.getPixelBuffer(Gp);r[n]=255&i,r[n+1]=(65280&i)>>8,r[n+2]=(16711680&i)>>16}else if(i===$p&&o){let t=0;t+=o[n],t*=256,t+=a[n+2],t*=256,t+=a[n+1],t*=256,t+=a[n];const i=s[t];e.getPixelBuffer($p)[n]=(4278190080&i)>>24}})}}const ru={colorMapColors:null,areScalarsMappedFromCells:!1,static:!1,lookupTable:null,scalarVisibility:!0,scalarRange:[0,1],useLookupTableScalarRange:!1,colorMode:0,scalarMode:0,arrayAccessMode:1,renderTime:0,colorByArrayName:null,fieldDataTupleId:-1,populateSelectionSettings:!0,selectionWebGLIdsToVTKIds:null,interpolateScalarsBeforeMapping:!1,colorCoordinates:null,colorTextureMap:null,numberOfColorsInRange:0,forceCompileOnly:0,useInvertibleColors:!1,invertibleScalars:null,customShaderAttributes:[]};function su(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,ru,t),jl.extend(e,n,t),xs.get(e,n,["areScalarsMappedFromCells","colorCoordinates","colorMapColors","colorTextureMap","numberOfColorsInRange","selectionWebGLIdsToVTKIds"]),xs.setGet(e,n,["colorByArrayName","arrayAccessMode","colorMode","fieldDataTupleId","interpolateScalarsBeforeMapping","lookupTable","populateSelectionSettings","renderTime","scalarMode","scalarVisibility","static","useLookupTableScalarRange","customShaderAttributes"]),xs.setGetArray(e,n,["scalarRange"],2),qp.implementCoincidentTopologyMethods(e,n),iu(e,n)}var cu={newInstance:xs.newInstance(su,"vtkMapper"),extend:su,...Hp,...Xp,...bp};function lu(e){let n=0;return e.filter((e,t)=>t===n&&(n+=e+1,!0))}function pu(e){let n=0;for(let t=0;t<e.length;)t+=e[t]+1,n++;return n}const uu={extractCellSizes:lu,getNumberOfCells:pu};function du(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};$l.extend(e,n,function(e){return{empty:!0,numberOfComponents:1,dataType:_l.UNSIGNED_INT,...e}}(t)),function(e,n){n.classHierarchy.push("vtkCellArray");const t={...e};e.getNumberOfCells=t=>void 0===n.numberOfCells||t?(n.cellSizes?n.numberOfCells=n.cellSizes.length:n.numberOfCells=pu(e.getData()),n.numberOfCells):n.numberOfCells,e.getCellSizes=t=>void 0===n.cellSizes||t?(n.cellSizes=lu(e.getData()),n.cellSizes):n.cellSizes,e.resize=a=>{const o=e.getNumberOfTuples();t.resize(a);const i=e.getNumberOfTuples();i<o&&(0===i?(n.numberOfCells=0,n.cellSizes=[]):(n.numberOfCells=void 0,n.cellSizes=void 0))},e.setData=e=>{t.setData(e,1),n.numberOfCells=void 0,n.cellSizes=void 0},e.getCell=e=>{let t=e;const a=n.values[t++];return n.values.subarray(t,t+a)},e.insertNextCell=t=>{const a=e.getNumberOfCells();return e.insertNextTuples([t.length,...t]),++n.numberOfCells,null!=n.cellSizes&&n.cellSizes.push(t.length),a}}(e,n)}var mu={newInstance:xs.newInstance(du,"vtkCellArray"),extend:du,...uu};const{vtkErrorMacro:fu}=xs,vu=[1,-1,1,-1,1,-1];const gu={empty:!0,numberOfComponents:3,dataType:_l.FLOAT,bounds:[1,-1,1,-1,1,-1]};function hu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,gu,t),$l.extend(e,n,t),function(e,n){n.classHierarchy.push("vtkPoints"),e.getNumberOfPoints=e.getNumberOfTuples,e.setNumberOfPoints=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;e.getNumberOfPoints()!==t&&(n.size=t*a,n.values=xs.newTypedArray(n.dataType,n.size),e.setNumberOfComponents(a),e.modified())},e.setPoint=function(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];e.setTuple(n,a)},e.getPoint=e.getTuple,e.findPoint=e.findTuple,e.insertNextPoint=(n,t,a)=>e.insertNextTuple([n,t,a]),e.getBounds=()=>{if(3===e.getNumberOfComponents()){const t=e.getRange(0);n.bounds[0]=t[0],n.bounds[1]=t[1];const a=e.getRange(1);n.bounds[2]=a[0],n.bounds[3]=a[1];const o=e.getRange(2);return n.bounds[4]=o[0],n.bounds[5]=o[1],n.bounds}if(2!==e.getNumberOfComponents())return fu(`getBounds called on an array with components of\n ${e.getNumberOfComponents()}`),vu;const t=e.getRange(0);n.bounds[0]=t[0],n.bounds[1]=t[1];const a=e.getRange(1);return n.bounds[2]=a[0],n.bounds[3]=a[1],n.bounds[4]=0,n.bounds[5]=0,n.bounds},e.computeBounds=e.getBounds,e.setNumberOfComponents(n.numberOfComponents<2?3:n.numberOfComponents)}(e,n)}var xu={newInstance:xs.newInstance(hu,"vtkPoints"),extend:hu};const bu={bounds:[-1,-1,-1,-1,-1,-1],pointsIds:[]};function yu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,bu,t),xs.obj(e,n),n.points||(n.points=xu.newInstance()),xs.get(e,n,["points","pointsIds"]),function(e,n){n.classHierarchy.push("vtkCell"),e.initialize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t){n.pointsIds=t;let a=n.points.getData();a.length!==3*n.pointsIds.length&&(a=xs.newTypedArray(e.getDataType(),3*n.pointsIds.length));const o=e.getData();n.pointsIds.forEach((e,n)=>{let t=3*e,i=3*n;a[i]=o[t],a[++i]=o[++t],a[++i]=o[++t]}),n.points.setData(a)}else{n.points=e,n.pointsIds=new Array(e.getNumberOfPoints());for(let t=e.getNumberOfPoints()-1;t>=0;--t)n.pointsIds[t]=t}},e.getBounds=()=>{const e=n.points.getNumberOfPoints(),t=[];if(e){n.points.getPoint(0,t),n.bounds[0]=t[0],n.bounds[1]=t[0],n.bounds[2]=t[1],n.bounds[3]=t[1],n.bounds[4]=t[2],n.bounds[5]=t[2];for(let a=1;a<e;a++)n.points.getPoint(a,t),n.bounds[0]=t[0]<n.bounds[0]?t[0]:n.bounds[0],n.bounds[1]=t[0]>n.bounds[1]?t[0]:n.bounds[1],n.bounds[2]=t[1]<n.bounds[2]?t[1]:n.bounds[2],n.bounds[3]=t[1]>n.bounds[3]?t[1]:n.bounds[3],n.bounds[4]=t[2]<n.bounds[4]?t[2]:n.bounds[4],n.bounds[5]=t[2]>n.bounds[5]?t[2]:n.bounds[5]}else(a=n.bounds)[0]=1,a[1]=-1,a[2]=1,a[3]=-1,a[4]=1,a[5]=-1;var a;return n.bounds},e.getLength2=()=>{e.getBounds();let t=0,a=0;for(let e=0;e<3;e++)a=n.bounds[2*e+1]-n.bounds[2*e],t+=a*a;return t},e.getParametricDistance=e=>{let n,t=0;for(let a=0;a<3;a++)n=e[a]<0?-e[a]:e[a]>1?e[a]-1:0,n>t&&(t=n);return t},e.getNumberOfPoints=()=>n.points.getNumberOfPoints(),e.deepCopy=e=>{e.initialize(n.points,n.pointsIds)},e.getCellDimension=()=>{},e.intersectWithLine=(e,n,t,a,o,i,r)=>{},e.evaluatePosition=(e,n,t,a,o,i)=>{xs.vtkErrorMacro("vtkCell.evaluatePosition is not implemented.")}}(e,n)}var wu={newInstance:xs.newInstance(yu,"vtkCell"),extend:yu};const Tu={array:null,maxId:0,extend:0};function Au(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Tu,t),xs.obj(e,n),function(e,n){n.classHierarchy.push("vtkCellLinks"),e.buildLinks=t=>{const a=t.getPoints().getNumberOfPoints(),o=t.getNumberOfCells(),i=new Uint32Array(a);if(t.isA("vtkPolyData")){for(let n=0;n<o;++n){const{cellPointIds:a}=t.getCellPoints(n);a.forEach(n=>{e.incrementLinkCount(n)})}e.allocateLinks(a),n.maxId=a-1;for(let n=0;n<o;++n){const{cellPointIds:a}=t.getCellPoints(n);a.forEach(t=>{e.insertCellReference(t,i[t]++,n)})}}else{for(let n=0;n<o;n++)wu.newInstance().getPointsIds().forEach(n=>{e.incrementLinkCount(n)});e.allocateLinks(a),n.maxId=a-1;for(let n=0;n<o;++n)wu.newInstance().getPointsIds().forEach(t=>{e.insertCellReference(t,i[t]++,n)})}},e.allocate=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;n.array=Array(e).fill().map(()=>({ncells:0,cells:null})),n.extend=t,n.maxId=-1},e.initialize=()=>{n.array=null},e.getLink=e=>n.array[e],e.getNcells=e=>n.array[e].ncells,e.getCells=e=>n.array[e].cells,e.insertNextPoint=e=>{n.array.push({ncells:e,cells:Array(e)}),++n.maxId},e.insertNextCellReference=(e,t)=>{n.array[e].cells[n.array[e].ncells++]=t},e.deletePoint=e=>{n.array[e].ncells=0,n.array[e].cells=null},e.removeCellReference=(e,t)=>{n.array[t].cells=n.array[t].cells.filter(n=>n!==e),n.array[t].ncells=n.array[t].cells.length},e.addCellReference=(e,t)=>{n.array[t].cells[n.array[t].ncells++]=e},e.resizeCellList=(e,t)=>{n.array[e].cells.length=t},e.squeeze=()=>{!function(e,n){let t=n;for(n>=e.array.length&&(t+=e.array.length);t>e.array.length;)e.array.push({ncells:0,cells:null});e.array.length=t}(n,n.maxId+1)},e.reset=()=>{n.maxId=-1},e.deepCopy=e=>{n.array=[...e.array],n.extend=e.extend,n.maxId=e.maxId},e.incrementLinkCount=e=>{++n.array[e].ncells},e.allocateLinks=e=>{for(let t=0;t<e;++t)n.array[t].cells=new Array(n.array[t].ncells)},e.insertCellReference=(e,t,a)=>{n.array[e].cells[t]=a}}(e,n)}var Cu={newInstance:xs.newInstance(Au,"vtkCellLinks"),extend:Au};const Ou=0,ku=1,Eu=2,Iu=3,Su=4,Pu=5,Ru=6,ju=7,_u=9,Lu=21,Nu=41,Mu=42,Du=["vtkEmptyCell","vtkVertex","vtkPolyVertex","vtkLine","vtkPolyLine","vtkTriangle","vtkTriangleStrip","vtkPolygon","vtkPixel","vtkQuad","vtkTetra","vtkVoxel","vtkHexahedron","vtkWedge","vtkPyramid","vtkPentagonalPrism","vtkHexagonalPrism","UnknownClass","UnknownClass","UnknownClass","UnknownClass","vtkQuadraticEdge","vtkQuadraticTriangle","vtkQuadraticQuad","vtkQuadraticTetra","vtkQuadraticHexahedron","vtkQuadraticWedge","vtkQuadraticPyramid","vtkBiQuadraticQuad","vtkTriQuadraticHexahedron","vtkQuadraticLinearQuad","vtkQuadraticLinearWedge","vtkBiQuadraticQuadraticWedge","vtkBiQuadraticQuadraticHexahedron","vtkBiQuadraticTriangle","vtkCubicLine","vtkQuadraticPolygon","UnknownClass","UnknownClass","UnknownClass","UnknownClass","vtkConvexPointSet","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","vtkParametricCurve","vtkParametricSurface","vtkParametricTriSurface","vtkParametricQuadSurface","vtkParametricTetraRegion","vtkParametricHexRegion","UnknownClass","UnknownClass","UnknownClass","vtkHigherOrderEdge","vtkHigherOrderTriangle","vtkHigherOrderQuad","vtkHigherOrderPolygon","vtkHigherOrderTetrahedron","vtkHigherOrderWedge","vtkHigherOrderPyramid","vtkHigherOrderHexahedron"];const Fu={getClassNameFromTypeId:function(e){return e<Du.length?Du[e]:"UnknownClass"},getTypeIdFromClassName:function(e){return Du.findIndex(e)},isLinear:function(e){return e<Lu||e===Nu||e===Mu},hasSubCells:function(e){return e===Ru||e===Su||e===Eu}};const Bu={size:0,maxId:-1,extend:1e3};function zu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Bu,t),xs.obj(e,n),xs.get(e,n,["size","maxId","extend"]),xs.getArray(e,n,["typeArray","locationArray"]),function(e,n){n.classHierarchy.push("vtkCellTypes"),e.allocate=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:512,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;n.size=e>0?e:1,n.extend=t>0?t:1,n.maxId=-1,n.typeArray=new Uint8Array(e),n.locationArray=new Uint32Array(e)},e.insertCell=(e,t,a)=>{n.typeArray[e]=t,n.locationArray[e]=a,e>n.maxId&&(n.maxId=e)},e.insertNextCell=(t,a)=>(e.insertCell(++n.maxId,t,a),n.maxId),e.setCellTypes=(e,t,a)=>{n.size=e,n.typeArray=t,n.locationArray=a,n.maxId=e-1},e.getCellLocation=e=>n.locationArray[e],e.deleteCell=e=>{n.typeArray[e]=Ou},e.getNumberOfTypes=()=>n.maxId+1,e.isType=n=>{const t=e.getNumberOfTypes();for(let a=0;a<t;++a)if(n===e.getCellType(a))return!0;return!1},e.insertNextType=n=>e.insertNextCell(n,-1),e.getCellType=e=>n.typeArray[e],e.reset=()=>{n.maxId=-1},e.deepCopy=t=>{e.allocate(t.getSize(),t.getExtend()),n.typeArray.set(t.getTypeArray()),n.locationArray.set(t.getLocationArray()),n.maxId=t.getMaxId()}}(e,n)}var Uu={newInstance:xs.newInstance(zu,"vtkCellTypes"),extend:zu,...Fu};var Vu={IntersectionState:{NO_INTERSECTION:0,YES_INTERSECTION:1,ON_LINE:2}};const{IntersectionState:qu}=Vu;function Gu(e,n,t){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;const o={t:Number.MIN_VALUE,distance:0},i=[];let r;i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2];const s=i[0]*(e[0]-n[0])+i[1]*(e[1]-n[1])+i[2]*(e[2]-n[2]),c=Ys(i,i);let l=1e-5*s;return 0!==c&&(o.t=s/c),l<0&&(l=-l),-l<c&&c<l||c<=0||o.t<0?r=n:o.t>1?r=t:(r=i,i[0]=n[0]+o.t*i[0],i[1]=n[1]+o.t*i[1],i[2]=n[2]+o.t*i[2]),a&&(a[0]=r[0],a[1]=r[1],a[2]=r[2]),o.distance=Qs(r,e),o}function $u(e,n,t,a,o,i){const r=[],s=[],c=[];o[0]=0,i[0]=0,Hs(n,e,r),Hs(a,t,s),Hs(t,e,c);const l=[Ys(r,r),-Ys(r,s),-Ys(r,s),Ys(s,s)],p=[];if(p[0]=Ys(r,c),p[1]=-Ys(s,c),0===ac(l,p,2)){let r=Number.MAX_VALUE;const s=[e,n,t,a],c=[t,t,e,e],l=[a,a,n,n];let p;i[0],i[0],o[0],o[0],o[0],o[0],i[0],i[0];for(let e=0;e<4;e++)p=Gu(s[e],c[e],l[e]),p.distance<r&&(r=p.distance,p.t);return qu.ON_LINE}return o[0]=p[0],i[0]=p[1],o[0]>=0&&o[0]<=1&&i[0]>=0&&i[0]<=1?qu.YES_INTERSECTION:qu.NO_INTERSECTION}const Wu={distanceToLine:Gu,intersection:$u};const Hu={orientations:null};function Xu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Hu,t),wu.extend(e,n,t),xs.setGet(e,n,["orientations"]),function(e,n){n.classHierarchy.push("vtkLine"),e.getCellDimension=()=>1,e.intersectWithLine=(e,t,a,o,i)=>{const r={intersect:0,t:Number.MAX_VALUE,subId:0,betweenPoints:null};i[1]=0,i[2]=0;const s=[],c=[],l=[];n.points.getPoint(0,c),n.points.getPoint(1,l);const p=[],u=[],d=$u(e,t,c,l,p,u);var m;if(r.t=p[0],r.betweenPoints=(m=r.t)>=0&&m<=1,i[0]=u[0],d===qu.YES_INTERSECTION){for(let n=0;n<3;n++)o[n]=c[n]+i[0]*(l[n]-c[n]),s[n]=e[n]+r.t*(t[n]-e[n]);if(Qs(o,s)<=a*a)return r.intersect=1,r}else{let n;if(r.t<0)return n=Gu(e,c,l,o),n.distance<=a*a?(r.t=0,r.intersect=1,r.betweenPoints=!0,r):r;if(r.t>1)return n=Gu(t,c,l,o),n.distance<=a*a?(r.t=1,r.intersect=1,r.betweenPoints=!0,r):r;if(i[0]<0)return i[0]=0,n=Gu(c,e,t,o),r.t=n.t,n.distance<=a*a?(r.intersect=1,r):r;if(i[0]>1)return i[0]=1,n=Gu(l,e,t,o),r.t=n.t,n.distance<=a*a?(r.intersect=1,r):r}return r},e.evaluateLocation=(e,t,a)=>{const o=[],i=[];n.points.getPoint(0,o),n.points.getPoint(1,i);for(let n=0;n<3;n++)t[n]=o[n]+e[0]*(i[n]-o[n]);a[0]=1-e[0],a[1]=e[0]},e.evaluateOrientation=(e,t,a)=>!!n.orientations&&(bi(t,n.orientations[0],n.orientations[1],e[0]),a[0]=1-e[0],a[1]=e[0],!0)}(e,n)}var Yu={newInstance:xs.newInstance(Xu,"vtkLine"),extend:Xu,...Wu,...Vu};const Ku={};function Zu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Ku,t),cp.extend(e,n,t),xs.setGet(e,n,["points"]),function(e,n){n.classHierarchy.push("vtkPointSet"),n.points?n.points=hr(n.points):n.points=xu.newInstance(),e.getNumberOfPoints=()=>n.points.getNumberOfPoints(),e.getBounds=()=>n.points.getBounds(),e.computeBounds=()=>{e.getBounds()};const t=e.shallowCopy;e.shallowCopy=function(e){t(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),n.points=xu.newInstance(),n.points.shallowCopy(e.getPoints())}}(e,n)}var Qu={newInstance:xs.newInstance(Zu,"vtkPointSet"),extend:Zu};function Ju(e,n,t,a){const o=t[0]-n[0],i=t[1]-n[1],r=t[2]-n[2],s=e[0]-n[0],c=e[1]-n[1],l=e[2]-n[2];a[0]=i*l-r*c,a[1]=r*s-o*l,a[2]=o*c-i*s}function ed(e,n,t,a){Ju(e,n,t,a);const o=Math.sqrt(a[0]*a[0]+a[1]*a[1]+a[2]*a[2]);0!==o&&(a[0]/=o,a[1]/=o,a[2]/=o)}const nd={computeNormalDirection:Ju,computeNormal:ed,intersectWithTriangle:function(e,n,t,a,o,i){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1e-6,s=!1;const c=[],l=[],p=[],u=[],d=[];ed(e,n,t,u),ed(a,o,i,d);const m=-Ys(u,e),f=-Ys(d,a),v=[Ys(d,e)+f,Ys(d,n)+f,Ys(d,t)+f];if(v[0]*v[1]>r&&v[0]*v[2]>r)return{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};const g=[Ys(u,a)+m,Ys(u,o)+m,Ys(u,i)+m];if(g[0]*g[1]>r&&g[0]*g[2]>r)return{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};if(Math.abs(u[0]-d[0])<1e-9&&Math.abs(u[1]-d[1])<1e-9&&Math.abs(u[2]-d[2])<1e-9&&Math.abs(m-f)<1e-9)return s=!0,{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};const h=[e,n,t],x=[a,o,i],b=Ys(u,d),y=(m-f*b)/(b*b-1),w=(f-m*b)/(b*b-1),T=[y*u[0]+w*d[0],y*u[1]+w*d[1],y*u[2]+w*d[2]],A=Ks(u,d,[]);!function(e){const n=Zs(e);0!==n&&(e[0]/=n,e[1]/=n,e[2]/=n)}(A);let C=0,O=0;const k=[],E=[];let I,S,P=50,R=50;for(let n=0;n<3;n++){const t=n,o=(n+1)%3,i=Oc.intersectWithLine(h[t],h[o],a,d);i.intersection&&i.t>0-r&&i.t<1+r&&(i.t<1+r&&i.t>1-r&&(P=C),k[C++]=Ys(i.x,A)-Ys(T,A));const s=Oc.intersectWithLine(x[t],x[o],e,u);s.intersection&&s.t>0-r&&s.t<1+r&&(s.t<1+r&&s.t>1-r&&(R=O),E[O++]=Ys(s.x,A)-Ys(T,A))}if(C>2){C--;const e=k[2];k[2]=k[P],k[P]=e}if(O>2){O--;const e=E[2];E[2]=E[R],E[R]=e}if(2!==C||2!==O)return{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};if(Number.isNaN(k[0])||Number.isNaN(k[1])||Number.isNaN(E[0])||Number.isNaN(E[1]))return{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};if(k[0]>k[1]){const e=k[1];k[1]=k[0],k[0]=e}if(E[0]>E[1]){const e=E[1];E[1]=E[0],E[0]=e}return k[1]<E[0]||E[1]<k[0]?{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p}:(k[0]<E[0]?k[1]<E[1]?(p[0]=2,p[1]=1,I=E[0],S=k[1]):(p[0]=2,p[1]=2,I=E[0],S=E[1]):k[1]<E[1]?(p[0]=1,p[1]=1,I=k[0],S=k[1]):(p[0]=1,p[1]=2,I=k[0],S=E[1]),Xs(T,A,I,c),Xs(T,A,S,l),{intersect:!0,coplanar:s,pt1:c,pt2:l,surfaceId:p})}};const td={};function ad(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,td,t),wu.extend(e,n,t),function(e,n){n.classHierarchy.push("vtkTriangle"),e.getCellDimension=()=>2,e.intersectWithLine=(t,a,o,i,r)=>{const s={subId:0,t:Number.MAX_VALUE,intersect:0,betweenPoints:!1};r[2]=0;const c=[],l=o*o,p=[],u=[],d=[];n.points.getPoint(0,p),n.points.getPoint(1,u),n.points.getPoint(2,d);const m=[],f=[];if(ed(p,u,d,m),0!==m[0]||0!==m[1]||0!==m[2]){const n=Oc.intersectWithLine(t,a,p,m);if(s.betweenPoints=n.betweenPoints,s.t=n.t,i[0]=n.x[0],i[1]=n.x[1],i[2]=n.x[2],!n.intersection)return r[0]=0,r[1]=0,s.intersect=0,s;const o=e.evaluatePosition(i,c,r,f);if(o.evaluation>=0)return o.dist2<=l?(s.intersect=1,s):(s.intersect=o.evaluation,s)}const v=Qs(p,u),g=Qs(u,d),h=Qs(d,p);n.line||(n.line=Yu.newInstance()),v>g&&v>h?(n.line.getPoints().setPoint(0,p),n.line.getPoints().setPoint(1,u)):g>h&&g>v?(n.line.getPoints().setPoint(0,u),n.line.getPoints().setPoint(1,d)):(n.line.getPoints().setPoint(0,d),n.line.getPoints().setPoint(1,p));const x=n.line.intersectWithLine(t,a,o,i,r);if(s.betweenPoints=x.betweenPoints,s.t=x.t,x.intersect){const e=[],n=[],t=[];for(let a=0;a<3;a++)e[a]=p[a]-d[a],n[a]=u[a]-d[a],t[a]=i[a]-d[a];return r[0]=Ys(t,e)/h,r[1]=Ys(t,n)/g,s.intersect=1,s}return r[0]=0,r[1]=0,s.intersect=0,s},e.evaluatePosition=(e,t,a,o)=>{const i={subId:0,dist2:0,evaluation:-1};let r,s;const c=[],l=[],p=[],u=[];let d;const m=[],f=[],v=[];let g=0,h=0;const x=[];let b,y,w,T=[];const A=[],C=[],O=[];i.subId=0,a[2]=0,n.points.getPoint(1,c),n.points.getPoint(2,l),n.points.getPoint(0,p),Ju(c,l,p,u),Oc.generalizedProjectPoint(e,c,u,O);let k=0;for(r=0;r<3;r++)d=u[r]<0?-u[r]:u[r],d>k&&(k=d,h=r);for(s=0,r=0;r<3;r++)r!==h&&(x[s++]=r);for(r=0;r<2;r++)m[r]=O[x[r]]-p[x[r]],f[r]=c[x[r]]-p[x[r]],v[r]=l[x[r]]-p[x[r]];if(g=Js(f,v),0===g)return a[0]=0,a[1]=0,i.evaluation=-1,i;if(a[0]=Js(m,v)/g,a[1]=Js(f,m)/g,o[0]=1-(a[0]+a[1]),o[1]=a[0],o[2]=a[1],o[0]>=0&&o[0]<=1&&o[1]>=0&&o[1]<=1&&o[2]>=0&&o[2]<=1)t&&(i.dist2=Qs(O,e),t[0]=O[0],t[1]=O[1],t[2]=O[2]),i.evaluation=1;else{let n;if(t)if(o[1]<0&&o[2]<0)for(b=Qs(e,p),y=Yu.distanceToLine(e,c,p,n,A),w=Yu.distanceToLine(e,p,l,n,C),b<y?(i.dist2=b,T=p):(i.dist2=y,T=A),w<i.dist2&&(i.dist2=w,T=C),r=0;r<3;r++)t[r]=T[r];else if(o[2]<0&&o[0]<0)for(b=Qs(e,c),y=Yu.distanceToLine(e,c,p,n,A),w=Yu.distanceToLine(e,c,l,n,C),b<y?(i.dist2=b,T=c):(i.dist2=y,T=A),w<i.dist2&&(i.dist2=w,T=C),r=0;r<3;r++)t[r]=T[r];else if(o[1]<0&&o[0]<0)for(b=Qs(e,l),y=Yu.distanceToLine(e,l,p,n,A),w=Yu.distanceToLine(e,c,l,n,C),b<y?(i.dist2=b,T=l):(i.dist2=y,T=A),w<i.dist2&&(i.dist2=w,T=C),r=0;r<3;r++)t[r]=T[r];else if(o[0]<0){const n=Yu.distanceToLine(e,c,l,t);i.dist2=n.distance}else if(o[1]<0){const n=Yu.distanceToLine(e,l,p,t);i.dist2=n.distance}else if(o[2]<0){const n=Yu.distanceToLine(e,c,p,t);i.dist2=n.distance}i.evaluation=0}return i},e.evaluateLocation=(e,t,a)=>{const o=[],i=[],r=[];n.points.getPoint(0,o),n.points.getPoint(1,i),n.points.getPoint(2,r);const s=1-e[0]-e[1];for(let n=0;n<3;n++)t[n]=o[n]*s+i[n]*e[0]+r[n]*e[1];a[0]=s,a[1]=e[0],a[2]=e[1]},e.getParametricDistance=e=>{let n,t=0;const a=[];a[0]=e[0],a[1]=e[1],a[2]=1-e[0]-e[1];for(let e=0;e<3;e++)n=a[e]<0?-a[e]:a[e]>1?a[e]-1:0,n>t&&(t=n);return t}}(e,n)}var od={newInstance:xs.newInstance(ad,"vtkTriangle"),extend:ad,...nd};const id=["verts","lines","polys","strips"],{vtkWarningMacro:rd}=xs,sd={[Iu]:Yu,[Su]:Yu,[Pu]:od};const cd={};function ld(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,cd,t),Qu.extend(e,n,t),xs.get(e,n,["cells","links"]),xs.setGet(e,n,["verts","lines","polys","strips"]),function(e,n){n.classHierarchy.push("vtkPolyData"),id.forEach(t=>{var a;e[`getNumberOf${a=t,a.replace(/(?:^\w|[A-Z]|\b\w)/g,e=>e.toUpperCase()).replace(/\s+/g,"")}`]=()=>n[t].getNumberOfCells(),n[t]?n[t]=hr(n[t]):n[t]=mu.newInstance()}),e.getNumberOfCells=()=>id.reduce((e,t)=>e+n[t].getNumberOfCells(),0);const t=e.shallowCopy;e.shallowCopy=function(e){t(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),id.forEach(t=>{n[t]=mu.newInstance(),n[t].shallowCopy(e.getReferenceByName(t))})},e.buildCells=()=>{const t=e.getNumberOfVerts(),a=e.getNumberOfLines(),o=e.getNumberOfPolys(),i=e.getNumberOfStrips(),r=t+a+o+i,s=new Uint8Array(r);let c=s;const l=new Uint32Array(r);let p=l;if(t){let e=0;n.verts.getCellSizes().forEach((n,t)=>{p[t]=e,c[t]=n>1?Eu:ku,e+=n+1}),p=p.subarray(t),c=c.subarray(t)}if(a){let e=0;n.lines.getCellSizes().forEach((n,t)=>{p[t]=e,c[t]=n>2?Su:Iu,1===n&&rd("Building VTK_LINE ",t," with only one point, but VTK_LINE needs at least two points. Check the input."),e+=n+1}),p=p.subarray(a),c=c.subarray(a)}if(o){let e=0;n.polys.getCellSizes().forEach((n,t)=>{switch(p[t]=e,n){case 3:c[t]=Pu;break;case 4:c[t]=_u;break;default:c[t]=ju}n<3&&rd("Building VTK_TRIANGLE ",t," with less than three points, but VTK_TRIANGLE needs at least three points. Check the input."),e+=n+1}),p+=p.subarray(o),c+=c.subarray(o)}if(i){let e=0;c.fill(Ru,0,i),n.strips.getCellSizes().forEach((n,t)=>{p[t]=e,e+=n+1})}n.cells=Uu.newInstance(),n.cells.setCellTypes(r,s,l)},e.buildLinks=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;void 0===n.cells&&e.buildCells(),n.links=Cu.newInstance(),t>0?n.links.allocate(t):n.links.allocate(e.getPoints().getNumberOfPoints()),n.links.buildLinks(e)},e.getCellType=e=>n.cells.getCellType(e),e.getCellPoints=t=>{const a=e.getCellType(t);let o=null;switch(a){case ku:case Eu:o=n.verts;break;case Iu:case Su:o=n.lines;break;case Pu:case _u:case ju:o=n.polys;break;case Ru:o=n.strips;break;default:return o=null,{type:0,cellPointIds:null}}const i=n.cells.getCellLocation(t);return{cellType:a,cellPointIds:o.getCell(i)}},e.getPointCells=e=>n.links.getCells(e),e.getCellEdgeNeighbors=(e,t,a)=>{const o=n.links.getLink(t),i=n.links.getLink(a);return o.cells.filter(n=>n!==e&&-1!==i.cells.indexOf(n))},e.getCell=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const a=e.getCellPoints(n),o=t||sd[a.cellType].newInstance();return o.initialize(e.getPoints(),a.cellPointIds),o}}(e,n)}var pd={newInstance:xs.newInstance(ld,"vtkPolyData"),extend:ld};const ud={radius:.5,latLongTessellation:!1,thetaResolution:8,startTheta:0,endTheta:360,phiResolution:8,startPhi:0,endPhi:180,center:[0,0,0],pointType:"Float64Array"};function dd(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,ud,t),xs.obj(e,n),xs.setGet(e,n,["radius","latLongTessellation","thetaResolution","startTheta","endTheta","phiResolution","startPhi","endPhi"]),xs.setGetArray(e,n,["center"],3),xs.algo(e,n,0,1),function(e,n){n.classHierarchy.push("vtkSphereSource"),e.requestData=(e,t)=>{if(n.deleted)return;let a=t[0];const o=a?a.getPoints().getDataType():n.pointType;a=pd.newInstance();let i=0,{thetaResolution:r}=n,s=n.startTheta<n.endTheta?n.startTheta:n.endTheta;s*=Math.PI/180;let c=n.endTheta>n.startTheta?n.endTheta:n.startTheta;c*=Math.PI/180;let l=n.startPhi<n.endPhi?n.startPhi:n.endPhi;l*=Math.PI/180;let p=n.endPhi>n.startPhi?n.endPhi:n.startPhi;p*=Math.PI/180,Math.abs(s-c)<2*Math.PI&&++r;const u=(c-s)/n.thetaResolution,d=n.startPhi<=0?1:0,m=n.phiResolution+(n.endPhi>=180?-1:0),f=n.phiResolution*r+2,v=2*n.phiResolution*n.thetaResolution;let g=0,h=xs.newTypedArray(o,3*f),x=new Float32Array(3*f),b=0,y=new Uint32Array(5*v);n.startPhi<=0&&(h[3*g+0]=n.center[0],h[3*g+1]=n.center[1],h[3*g+2]=n.center[2]+n.radius,x[3*g+0]=0,x[3*g+1]=0,x[3*g+2]=1,g++,i++),n.endPhi>=180&&(h[3*g+0]=n.center[0],h[3*g+1]=n.center[1],h[3*g+2]=n.center[2]-n.radius,x[3*g+0]=0,x[3*g+1]=0,x[3*g+2]=-1,g++,i++);const w=n.phiResolution-i,T=(p-l)/(n.phiResolution-1);for(let e=0;e<r;e++){const t=s+e*u;for(let e=d;e<m;e++){const a=l+e*T,o=n.radius*Math.sin(a);x[3*g+0]=o*Math.cos(t),x[3*g+1]=o*Math.sin(t),x[3*g+2]=n.radius*Math.cos(a),h[3*g+0]=x[3*g+0]+n.center[0],h[3*g+1]=x[3*g+1]+n.center[1],h[3*g+2]=x[3*g+2]+n.center[2];let i=Math.sqrt(x[3*g+0]*x[3*g+0]+x[3*g+1]*x[3*g+1]+x[3*g+2]*x[3*g+2]);i=0===i?1:i,x[3*g+0]/=i,x[3*g+1]/=i,x[3*g+2]/=i,g++}}const A=w*r;if(Math.abs(s-c)<2*Math.PI&&--r,n.startPhi<=0)for(let e=0;e<r;e++)y[b++]=3,y[b++]=w*e+i,y[b++]=w*(e+1)%A+i,y[b++]=0;if(n.endPhi>=180){const e=w-1+i;for(let n=0;n<r;n++)y[b++]=3,y[b++]=w*n+e,y[b++]=i-1,y[b++]=w*(n+1)%A+e}for(let e=0;e<r;e++)for(let t=0;t<w-1;t++){const a=w*e+t+i,o=a+1,r=(w*(e+1)+t)%A+i+1;n.latLongTessellation?(y[b++]=4,y[b++]=a,y[b++]=o,y[b++]=r,y[b++]=r-1):(y[b++]=3,y[b++]=a,y[b++]=o,y[b++]=r,y[b++]=3,y[b++]=a,y[b++]=r,y[b++]=r-1)}h=h.subarray(0,3*g),a.getPoints().setData(h,3),x=x.subarray(0,3*g);const C=$l.newInstance({name:"Normals",values:x,numberOfComponents:3});a.getPointData().setNormals(C),y=y.subarray(0,b),a.getPolys().setData(y,1),t[0]=a}}(e,n)}var md,fd,vd,gd,hd,xd,bd,yd,wd,Td,Ad,Cd,Od,kd,Ed,Id,Sd,Pd,Rd,jd={newInstance:xs.newInstance(dd,"vtkSphereSource"),extend:dd},_d={};function Ld(){if(fd)return md;fd=1;var e=bn(),n=Ln();return md=function(t,a,o){try{return e(n(Object.getOwnPropertyDescriptor(t,a)[o]))}catch(e){}}}function Nd(){if(gd)return vd;gd=1;var e=On();return vd=function(n){return e(n)||null===n}}function Md(){if(xd)return hd;xd=1;var e=Nd(),n=String,t=TypeError;return hd=function(a){if(e(a))return a;throw new t("Can't set "+n(a)+" as a prototype")}}function Dd(){if(Td)return wd;Td=1;var e=Cn(),n=On(),t=function(){if(yd)return bd;yd=1;var e=Ld(),n=On(),t=Tn(),a=Md();return bd=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,r={};try{(o=e(Object.prototype,"__proto__","set"))(r,[]),i=r instanceof Array}catch(e){}return function(e,r){return t(e),a(r),n(e)?(i?o(e,r):e.__proto__=r,e):e}}():void 0)}();return wd=function(a,o,i){var r,s;return t&&e(r=o.constructor)&&r!==i&&n(s=r.prototype)&&s!==i.prototype&&t(a,s),a}}function Fd(){if(Cd)return Ad;Cd=1;var e=qo(),n=String;return Ad=function(t){if("Symbol"===e(t))throw new TypeError("Cannot convert a Symbol value to a string");return n(t)}}function Bd(){if(kd)return Od;kd=1;var e=Fd();return Od=function(n,t){return void 0===n?arguments.length<2?"":t:e(n)},Od}function zd(){if(Pd)return Sd;Pd=1;var e=bn(),n=Error,t=e("".replace),a=String(new n("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,i=o.test(a);return Sd=function(e,a){if(i&&"string"==typeof e&&!n.prepareStackTrace)for(;a--;)e=t(e,o,"");return e}}!function(){if(Rd)return _d;Rd=1;var e=Ha(),n=ve(),t=kn(),a=xn(),o=Rt().f,i=mt(),r=Xa(),s=Dd(),c=Bd(),l=Id?Ed:(Id=1,Ed={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}),p=zd(),u=ke(),d=ct(),m="DOMException",f=t("Error"),v=t(m),g=function(){r(this,h);var e=arguments.length,n=c(e<1?void 0:arguments[0]),t=c(e<2?void 0:arguments[1],"Error"),i=new v(n,t),l=new f(n);return l.name=m,o(i,"stack",a(1,p(l.stack,1))),s(i,this,g),i},h=g.prototype=v.prototype,x="stack"in new f(m),b="stack"in new v(1,2),y=v&&u&&Object.getOwnPropertyDescriptor(n,m),w=!(!y||y.writable&&y.configurable),T=x&&!w&&!b;e({global:!0,constructor:!0,forced:d||T},{DOMException:T?g:v});var A=t(m),C=A.prototype;if(C.constructor!==A)for(var O in d||o(C,"constructor",a(1,A)),l)if(i(l,O)){var k=l[O],E=k.s;i(A,E)||o(A,E,a(6,k.c))}}();var Ud,Vd,qd,Gd,$d,Wd,Hd,Xd,Yd,Kd,Zd,Qd,Jd,em,nm,tm,am,om,im,rm,sm,cm,lm,pm,um,dm,mm,fm,vm,gm={};function hm(){if(Vd)return Ud;Vd=1;var e=bn(),n=Oe(),t=Cn(),a=qo(),o=kn(),i=Yt(),r=function(){},s=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=e(c.exec),p=!c.test(r),u=function(e){if(!t(e))return!1;try{return s(r,[],e),!0}catch(e){return!1}},d=function(e){if(!t(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!l(c,i(e))}catch(e){return!0}};return d.sham=!0,Ud=!s||n(function(){var e;return u(u.call)||!u(Object)||!u(function(){e=!0})||e})?d:u}function xm(){if(Gd)return qd;Gd=1;var e=TypeError;return qd=function(n,t){if(n<t)throw new e("Not enough arguments");return n}}function bm(){if(Xd)return Hd;Xd=1;var e=Ie(),n=mt(),t=En(),a=function(){if(Wd)return $d;Wd=1;var e=Pt();return $d=function(){var n=e(this),t="";return n.hasIndices&&(t+="d"),n.global&&(t+="g"),n.ignoreCase&&(t+="i"),n.multiline&&(t+="m"),n.dotAll&&(t+="s"),n.unicode&&(t+="u"),n.unicodeSets&&(t+="v"),n.sticky&&(t+="y"),t}}(),o=RegExp.prototype;return Hd=function(i){var r=i.flags;return void 0!==r||"flags"in o||n(i,"flags")||!t(o,i)?r:e(a,i)}}function ym(){if(Kd)return Yd;Kd=1;var e=bn(),n=Map.prototype;return Yd={Map:Map,set:e(n.set),get:e(n.get),has:e(n.has),remove:e(n.delete),proto:n}}function wm(){if(Qd)return Zd;Qd=1;var e=bn(),n=Set.prototype;return Zd={Set:Set,add:e(n.add),has:e(n.has),remove:e(n.delete),proto:n}}function Tm(){if(em)return Jd;em=1;var e=Ie();return Jd=function(n,t,a){for(var o,i,r=a?n:n.iterator,s=n.next;!(o=e(s,r)).done;)if(void 0!==(i=t(o.value)))return i}}function Am(){if(tm)return nm;tm=1;var e=bn(),n=Tm(),t=wm(),a=t.Set,o=t.proto,i=e(o.forEach),r=e(o.keys),s=r(new a).next;return nm=function(e,t,a){return a?n({iterator:r(e),next:s},t):i(e,t)},nm}function Cm(){if(om)return am;om=1;var e=ve(),n=In(),t=yn(),a=function(e){return n.slice(0,e.length)===e};return am=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":e.Bun&&"string"==typeof Bun.version?"BUN":e.Deno&&"object"==typeof Deno.version?"DENO":"process"===t(e.process)?"NODE":e.window&&e.document?"BROWSER":"REST"}function Om(){if(cm)return sm;cm=1;var e=ve(),n=function(){if(rm)return im;rm=1;var e=Cm();return im="NODE"===e}();return sm=function(t){if(n){try{return e.process.getBuiltinModule(t)}catch(e){}try{return Function('return require("'+t+'")')()}catch(e){}}},sm}function km(){if(pm)return lm;pm=1;var e=ve(),n=Oe(),t=Sn(),a=Cm(),o=e.structuredClone;return lm=!!o&&!n(function(){if("DENO"===a&&t>92||"NODE"===a&&t>94||"BROWSER"===a&&t>97)return!1;var e=new ArrayBuffer(8),n=o(e,{transfer:[e]});return 0!==e.byteLength||8!==n.byteLength})}function Em(){if(dm)return um;dm=1;var e,n,t,a,o=ve(),i=Om(),r=km(),s=o.structuredClone,c=o.ArrayBuffer,l=o.MessageChannel,p=!1;if(r)p=function(e){s(e,{transfer:[e]})};else if(c)try{l||(e=i("worker_threads"))&&(l=e.MessageChannel),l&&(n=new l,t=new c(2),a=function(e){n.port1.postMessage(null,[e])},2===t.byteLength&&(a(t),0===t.byteLength&&(p=a)))}catch(e){}return um=p}function Im(){if(fm)return mm;fm=1;var e=Oe(),n=xn();return mm=!e(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",n(1,7)),7!==e.stack)})}!function(){if(vm)return gm;vm=1;var e,n=ct(),t=Ha(),a=ve(),o=kn(),i=bn(),r=Oe(),s=ft(),c=Cn(),l=hm(),p=wn(),u=On(),d=jn(),m=Ho(),f=Pt(),v=qo(),g=mt(),h=Za(),x=jt(),b=Ta(),y=xm(),w=bm(),T=ym(),A=wm(),C=Am(),O=Em(),k=Im(),E=km(),I=a.Object,S=a.Array,P=a.Date,R=a.Error,j=a.TypeError,_=a.PerformanceMark,L=o("DOMException"),N=T.Map,M=T.has,D=T.get,F=T.set,B=A.Set,z=A.add,U=A.has,V=o("Object","keys"),q=i([].push),G=i((!0).valueOf),$=i(1..valueOf),W=i("".valueOf),H=i(P.prototype.getTime),X=s("structuredClone"),Y="DataCloneError",K="Transferring",Z=function(e){return!r(function(){var n=new a.Set([7]),t=e(n),o=e(I(7));return t===n||!t.has(7)||!u(o)||7!==+o})&&e},Q=function(e,n){return!r(function(){var t=new n,a=e({a:t,b:t});return!(a&&a.a===a.b&&a.a instanceof n&&a.a.stack===t.stack)})},J=a.structuredClone,ee=n||!Q(J,R)||!Q(J,L)||(e=J,!!r(function(){var n=e(new a.AggregateError([1],X,{cause:3}));return"AggregateError"!==n.name||1!==n.errors[0]||n.message!==X||3!==n.cause})),ne=!J&&Z(function(e){return new _(X,{detail:e}).detail}),te=Z(J)||ne,ae=function(e){throw new L("Uncloneable type: "+e,Y)},oe=function(e,n){throw new L((n||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",Y)},ie=function(e,n){return te||oe(n),te(e)},re=function(e,n,t){if(M(n,e))return D(n,e);var o,i,r,s,l,p;if("SharedArrayBuffer"===(t||v(e)))o=te?te(e):e;else{var u=a.DataView;u||c(e.slice)||oe("ArrayBuffer");try{if(c(e.slice)&&!e.resizable)o=e.slice(0);else{i=e.byteLength,r="maxByteLength"in e?{maxByteLength:e.maxByteLength}:void 0,o=new ArrayBuffer(i,r),s=new u(e),l=new u(o);for(p=0;p<i;p++)l.setUint8(p,s.getUint8(p))}}catch(e){throw new L("ArrayBuffer is detached",Y)}}return F(n,e,o),o},se=function(e,n){if(d(e)&&ae("Symbol"),!u(e))return e;if(n){if(M(n,e))return D(n,e)}else n=new N;var t,i,r,s,l,p,m,f,y=v(e);switch(y){case"Array":r=S(b(e));break;case"Object":r={};break;case"Map":r=new N;break;case"Set":r=new B;break;case"RegExp":r=new RegExp(e.source,w(e));break;case"Error":switch(i=e.name){case"AggregateError":r=new(o(i))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":r=new(o(i));break;case"CompileError":case"LinkError":case"RuntimeError":r=new(o("WebAssembly",i));break;default:r=new R}break;case"DOMException":r=new L(e.message,e.name);break;case"ArrayBuffer":case"SharedArrayBuffer":r=re(e,n,y);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":p="DataView"===y?e.byteLength:e.length,r=function(e,n,t,o,i){var r=a[n];return u(r)||oe(n),new r(re(e.buffer,i),t,o)}(e,y,e.byteOffset,p,n);break;case"DOMQuad":try{r=new DOMQuad(se(e.p1,n),se(e.p2,n),se(e.p3,n),se(e.p4,n))}catch(n){r=ie(e,y)}break;case"File":if(te)try{r=te(e),v(r)!==y&&(r=void 0)}catch(e){}if(!r)try{r=new File([e],e.name,e)}catch(e){}r||oe(y);break;case"FileList":if(s=function(){var e;try{e=new a.DataTransfer}catch(n){try{e=new a.ClipboardEvent("").clipboardData}catch(e){}}return e&&e.items&&e.files?e:null}()){for(l=0,p=b(e);l<p;l++)s.items.add(se(e[l],n));r=s.files}else r=ie(e,y);break;case"ImageData":try{r=new ImageData(se(e.data,n),e.width,e.height,{colorSpace:e.colorSpace})}catch(n){r=ie(e,y)}break;default:if(te)r=te(e);else switch(y){case"BigInt":r=I(e.valueOf());break;case"Boolean":r=I(G(e));break;case"Number":r=I($(e));break;case"String":r=I(W(e));break;case"Date":r=new P(H(e));break;case"Blob":try{r=e.slice(0,e.size,e.type)}catch(e){oe(y)}break;case"DOMPoint":case"DOMPointReadOnly":t=a[y];try{r=t.fromPoint?t.fromPoint(e):new t(e.x,e.y,e.z,e.w)}catch(e){oe(y)}break;case"DOMRect":case"DOMRectReadOnly":t=a[y];try{r=t.fromRect?t.fromRect(e):new t(e.x,e.y,e.width,e.height)}catch(e){oe(y)}break;case"DOMMatrix":case"DOMMatrixReadOnly":t=a[y];try{r=t.fromMatrix?t.fromMatrix(e):new t(e)}catch(e){oe(y)}break;case"AudioData":case"VideoFrame":c(e.clone)||oe(y);try{r=e.clone()}catch(e){ae(y)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":oe(y);default:ae(y)}}switch(F(n,e,r),y){case"Array":case"Object":for(m=V(e),l=0,p=b(m);l<p;l++)f=m[l],h(r,f,se(e[f],n));break;case"Map":e.forEach(function(e,t){F(r,se(t,n),se(e,n))});break;case"Set":e.forEach(function(e){z(r,se(e,n))});break;case"Error":x(r,"message",se(e.message,n)),g(e,"cause")&&x(r,"cause",se(e.cause,n)),"AggregateError"===i?r.errors=se(e.errors,n):"SuppressedError"===i&&(r.error=se(e.error,n),r.suppressed=se(e.suppressed,n));case"DOMException":k&&x(r,"stack",se(e.stack,n))}return r};t({global:!0,enumerable:!0,sham:!E,forced:ee},{structuredClone:function(e){var n,t,o=y(arguments.length,1)>1&&!p(arguments[1])?f(arguments[1]):void 0,i=o?o.transfer:void 0;void 0!==i&&(t=function(e,n){if(!u(e))throw new j("Transfer option cannot be converted to a sequence");var t=[];m(e,function(e){q(t,f(e))});for(var o,i,r,s,p,d=0,g=b(t),h=new B;d<g;){if(o=t[d++],"ArrayBuffer"===(i=v(o))?U(h,o):M(n,o))throw new L("Duplicate transferable",Y);if("ArrayBuffer"!==i){if(E)s=J(o,{transfer:[o]});else switch(i){case"ImageBitmap":r=a.OffscreenCanvas,l(r)||oe(i,K);try{(p=new r(o.width,o.height)).getContext("bitmaprenderer").transferFromImageBitmap(o),s=p.transferToImageBitmap()}catch(e){}break;case"AudioData":case"VideoFrame":c(o.clone)&&c(o.close)||oe(i,K);try{s=o.clone(),o.close()}catch(e){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":oe(i,K)}if(void 0===s)throw new L("This object cannot be transferred: "+i,Y);F(n,o,s)}else z(h,o)}return h}(i,n=new N));var r=se(e,n);return t&&function(e){C(e,function(e){E?te(e,{transfer:[e]}):c(e.transfer)?e.transfer():O?O(e):oe("ArrayBuffer",K)})}(t),r}})}();const Sm=e=>{"show"==process.env.VUE_APP_CONSOLE&&console.log(e)},{destroy:Pm,ToolGroupManager:Rm,Enums:jm,SegmentationIntersectionTool:_m,TrackballRotateTool:Lm,CrosshairsTool:Nm,StackScrollTool:Mm,PanTool:Dm,ZoomTool:Fm,segmentation:Bm}=X,{MouseBindings:zm}=jm,{ViewportType:Um,OrientationAxis:Vm,GeometryType:qm}=z,{CAMERA_MODIFIED:Gm,VOLUME_NEW_IMAGE:$m,VOI_MODIFIED:Wm,WEB_WORKER_PROGRESS:Hm}=z.Events;var Xm={name:"DicomSegmentator",props:{imageIds:{type:Array,default:()=>[]},surfaceDatas:{type:Array,default:()=>[]},labelDatas:{type:Array,default:()=>[]}},setup(r){const s="CT_AXIAL",c="CT_CORONAL",l="CT_SAGITTAL",p="CT_3d",u=e(),d=e(),m=e(),f=e(),v=n({[s]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1},[c]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1},[l]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1}});let g=e(null),h=e(!1),x=e(!1),b=e(!1),y=e(!1),w=e(!1),T=n(null),A=n(null),C=e(0),O=e(3),k=e(0),E=n(null),I=n(null),S=n(null);const P="cornerstoneStreamingImageVolume:CT_VOLUME_ID",R="MY_SEGMENTATION_ID";t(()=>r.imageIds,async e=>{e.length>0&&h.value&&!x.value&&(x.value=!0,await L(e))},{deep:!0}),t(()=>r.surfaceDatas,async e=>{e.length>0&&b.value&&!y.value&&(y.value=!0,await B(e))},{deep:!0}),t(()=>r.labelDatas,async e=>{e.length>0&&b.value&&!w.value&&(w.value=!0)},{deep:!0});a(async()=>{X.addTool(Mm),X.addTool(Dm),X.addTool(Fm),X.addTool(_m),X.addTool(Lm),X.addTool(Nm),Sm("onMounted..."),await ai(),U.setMaxCacheSize(2147483648),h.value=!0;r.imageIds.length>0&&h.value&&!x.value&&(x.value=!0,await L(r.imageIds))});const j=n({[s]:"rgb(200, 0, 0)",[c]:"rgb(200, 200, 0)",[l]:"rgb(0, 200, 0)"}),_=e=>j[e],L=async e=>{Y(),Sm("start render data..."),V.setMaxSimultaneousRequests(z.RequestType.Prefetch,10);const n=await M.createAndCacheVolume(P,{imageIds:e}),t="myRenderingEngine";E=new q(t);const a=[{viewportId:s,element:u.value,type:Um.ORTHOGRAPHIC,defaultOptions:{orientation:Vm.AXIAL}},{viewportId:c,element:d.value,type:Um.ORTHOGRAPHIC,defaultOptions:{orientation:Vm.CORONAL}},{viewportId:l,element:f.value,type:Um.ORTHOGRAPHIC,defaultOptions:{orientation:Vm.SAGITTAL}},{viewportId:p,element:m.value,type:Um.VOLUME_3D,defaultOptions:{orientation:Vm.CORONAL}}];E.setViewports(a),await G(E,[{volumeId:P,callback:oi}],[s,c,l,p]);const o=E.getViewport(p).getDefaultActor().actor;N.applyPreset(o,$.VIEWPORT_PRESETS.find(e=>"CT-NONE"===e.name));const i=o.getBounds();if(T=[(i[0]+i[1])/2,(i[2]+i[3])/2,(i[4]+i[5])/2],Sm(`3d视口中心点: ${T}`),window.use&&"object"==typeof window.use&&Object.prototype.hasOwnProperty.call(window.use,"dicomSegmentator")&&!1===window.use.dicomNodeViewer)return void Sm("return...");n.load(),I=Rm.createToolGroup("MY_TOOLGROUP_ID"),I.addViewport(s,t),I.addViewport(c,t),I.addViewport(l,t),I.addTool(Mm.toolName),I.setToolActive(Mm.toolName,{bindings:[{mouseButton:zm.Secondary}]}),I.addTool(Dm.toolName),I.addTool(Fm.toolName,{zoomToCenter:!0,pan:!1,pinchToZoom:!1}),I.setToolActive(Fm.toolName,{bindings:[{mouseButton:zm.Auxiliary}]});const v=window.matchMedia("(any-pointer:coarse)").matches;I.addTool(Nm.toolName,{referenceLinesCenterGapRadius:12,getReferenceLineColor:_,getReferenceLineControllable:()=>!0,getReferenceLineDraggableRotatable:()=>!0,getReferenceLineSlabThicknessControlsOn:()=>!1,mobile:{enabled:v,opacity:1,handleRadius:2}}),I.setToolActive(Nm.toolName,{bindings:[{mouseButton:zm.Primary}]}),I.addTool(_m.toolName),I.setToolEnabled(_m.toolName),S=Rm.createToolGroup("MY_TOOLGROUP_ID_3d"),S.addViewport(p,t),S.addTool(Fm.toolName,{zoomToCenter:!0,pan:!1,pinchToZoom:!1}),S.setToolActive(Fm.toolName,{bindings:[{mouseButton:zm.Secondary}]}),S.addTool(Lm.toolName,{configuration:{volumeId:P}}),S.setToolActive(Lm.toolName,{bindings:[{mouseButton:zm.Primary}]}),E.renderViewports([s,c,l,p]),b.value=!0,Sm("finish render dcm data~"),F();r.surfaceDatas.length>0&&b.value&&!y.value&&(y.value=!0,await B(r.surfaceDatas))},D=e=>{const n=(e=>"function"==typeof structuredClone?structuredClone(e):JSON.parse(JSON.stringify(e)))(e);return n.reduce((e,n,t)=>{const[a,o]=((e,n)=>{const t=e.closedSurface.id,a=n+1;return H.createAndCacheGeometry(t,{type:z.GeometryType.SURFACE,geometryData:{points:e.closedSurface.data.points,polys:e.closedSurface.data.polys,id:e.closedSurface.id,segmentIndex:a,frameOfReferenceUID:e.closedSurface.frameOfReferenceUID}}),[a,t]})(n,t);return e.set(a,o),e},new Map)},F=()=>{if(!I)return;let e=I.getToolInstance(Nm.toolName);e&&(e.setOnDragPointListener({callBack(e){if(Sm(e),A&&(A.setCenter(e.world),E)){E.getViewport(p).render()}}}),(()=>{if(!b.value||!T)return;Sm("在3d视口添加points"),A=jd.newInstance({center:T,radius:5});const e=cu.newInstance();e.setInputConnection(A.getOutputPort());const n=Sl.newInstance();n.setMapper(e),n.getProperty().setColor(1,0,0);const t={actor:n,uid:"spherePolyData"};if(E){const e=E.getViewport(p);e.addActor(t),e.resetCamera(),e.render()}})())},B=async e=>{Sm("start add segmentations~");const n=await D(e);Bm.addSegmentations([{segmentationId:R,representation:{type:jm.SegmentationRepresentations.Surface,data:{geometryIds:n}}}]),await Bm.addSegmentationRepresentations(p,[{segmentationId:R,type:jm.SegmentationRepresentations.Surface}]),E.renderViewports([p]),Sm("end add segmentations~")},Y=()=>{window.addEventListener("resize",()=>{K()}),W.addEventListener(Hm,e=>{const{progress:n}=e.detail;console.log(n)}),u.value.addEventListener(Gm,()=>{if(E){const e=E.getViewport(s);e&&(v[s].zoom=e.getZoom())}}),u.value.addEventListener(Wm,e=>{const n=e.detail.range;null==g.value&&(g.value=n),v[s].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),u.value.addEventListener($m,e=>{v[s].imageIndex=e.detail.imageIndex,v[s].numberOfSlices=e.detail.numberOfSlices}),d.value.addEventListener(Gm,()=>{if(E){const e=E.getViewport(c);e&&(v[c].zoom=e.getZoom())}}),d.value.addEventListener(Wm,e=>{const n=e.detail.range;v[c].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),d.value.addEventListener($m,e=>{v[c].imageIndex=e.detail.imageIndex,v[c].numberOfSlices=e.detail.numberOfSlices}),f.value.addEventListener(Gm,()=>{if(E){const e=E.getViewport(l);e&&(v[l].zoom=e.getZoom())}}),f.value.addEventListener(Wm,e=>{const n=e.detail.range;v[l].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),f.value.addEventListener($m,e=>{v[l].imageIndex=e.detail.imageIndex,v[l].numberOfSlices=e.detail.numberOfSlices})},K=()=>{o(()=>{E&&E.resize(!0,!1)})};i(async()=>{Sm("onUnmounted..."),Pm(),E&&(E=null),W.reset(),V.destroy(),U.purgeCache()});return{mprLayoutSelndex:C,mprLayoutFlag:O,currentProgress:k,viewportInfo:v,viewportId1:s,viewportId2:c,viewportId3:l,mprLayoutSel:e=>{C.value=e},surface2contour:async()=>{Sm("surface2contour..."),await Bm.addSegmentationRepresentations(s,[{segmentationId:R,type:jm.SegmentationRepresentations.Labelmap}]),await Bm.addSegmentationRepresentations(c,[{segmentationId:R,type:jm.SegmentationRepresentations.Labelmap}]),await Bm.addSegmentationRepresentations(l,[{segmentationId:R,type:jm.SegmentationRepresentations.Labelmap}]),E.renderViewports([s,c,l])},axialElement:u,coronalElement:d,sagittalElement:f,d3Element:m}}};const Ym={class:"dicom-canvas",ref:"dicomElement"},Km={ref:"axialElement",class:"canvas-inner"},Zm={class:"viewport cloumn"},Qm={key:0,class:"progress"},Jm={ref:"coronalElement",class:"canvas-inner"},ef={class:"viewport cloumn"},nf={ref:"d3Element",class:"canvas-inner"},tf={class:"viewport cloumn"},af={ref:"sagittalElement",class:"canvas-inner"},of={class:"viewport cloumn"};function rf(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}rf(".dicom-canvas[data-v-76c7e5ee]{background:#000;border:1px solid #333;border-radius:3PX;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;height:100%;width:100%}.dicom-canvas .viewport[data-v-76c7e5ee]{color:#fff;font-size:14PX;left:15PX;line-height:18PX;position:absolute;top:10PX;user-select:none}.dicom-canvas .canvas-outer-single[data-v-76c7e5ee]{border:1px solid #333;border-radius:3PX;box-sizing:border-box;height:100%;width:100%}.dicom-canvas .canvas-axial-outer[data-v-76c7e5ee],.dicom-canvas .canvas-coronal-outer[data-v-76c7e5ee],.dicom-canvas .canvas-d3-outer[data-v-76c7e5ee],.dicom-canvas .canvas-sagittal-outer[data-v-76c7e5ee]{border:1px solid #333;border-radius:3PX;box-sizing:border-box;height:50%;width:50%}.dicom-canvas .canvas-relative[data-v-76c7e5ee]{position:relative}.dicom-canvas .canvas-inner[data-v-76c7e5ee]{height:100%;width:100%}.dicom-canvas .canvas-item-sel[data-v-76c7e5ee]{border:1px solid #2d72e5!important;border-radius:3PX}.dicom-canvas .progress[data-v-76c7e5ee]{color:#fff;font-size:16PX;line-height:18PX;position:absolute;right:15PX;top:12PX;user-select:none}"),Xm.render=function(e,n,t,a,o,i){return s(),r("div",Ym,[c(l("div",{oncontextmenu:"return false",onTouchstart:n[0]||(n[0]=e=>a.mprLayoutSel(0)),onMousedown:n[1]||(n[1]=e=>a.mprLayoutSel(0)),class:p(["canvas-relative",0==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-axial-outer":"",0==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Km,null,512),l("div",Zm,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId1].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId1].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId1].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId1].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId1].numberOfSlices),1)]),a.currentProgress<100&&a.currentProgress>0?(s(),r("div",Qm,[l("span",null,d(`progress: ${a.currentProgress}%`),1)])):u("v-if",!0)],34),[[m,3==a.mprLayoutFlag||0==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[2]||(n[2]=e=>a.mprLayoutSel(1)),onMousedown:n[3]||(n[3]=e=>a.mprLayoutSel(1)),class:p(["canvas-relative",1==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-coronal-outer":"",1==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Jm,null,512),l("div",ef,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId2].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId2].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId2].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId2].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId2].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||1==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[5]||(n[5]=e=>a.mprLayoutSel(-1)),onMousedown:n[6]||(n[6]=e=>a.mprLayoutSel(-1)),class:p(["canvas-relative",-1==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-d3-outer":"",-1==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",nf,null,512),l("div",tf,[l("div",{onClick:n[4]||(n[4]=(...e)=>a.surface2contour&&a.surface2contour(...e))},"转换")])],34),[[m,3==a.mprLayoutFlag||-1==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[7]||(n[7]=e=>a.mprLayoutSel(2)),onMousedown:n[8]||(n[8]=e=>a.mprLayoutSel(2)),class:p(["canvas-relative",2==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-sagittal-outer":"",2==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",af,null,512),l("div",of,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId3].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId3].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId3].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId3].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId3].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||2==a.mprLayoutFlag]])],512)},Xm.__scopeId="data-v-76c7e5ee",Xm.__file="src/package/dicom-segmentator/index.vue";var sf,cf={};!function(){if(sf)return cf;sf=1;var e=Ha(),n=Ie(),t=Ho(),a=Ln(),o=Pt(),i=Xo(),r=Wo(),s=Yo()("forEach",TypeError);e({target:"Iterator",proto:!0,real:!0,forced:s},{forEach:function(e){o(this);try{a(e)}catch(e){r(this,"throw",e)}if(s)return n(s,this,e);var c=i(this),l=0;t(c,function(n){e(n,l++)},{IS_RECORD:!0})}})}();var lf,pf,uf,df,mf,ff,vf,gf,hf,xf={};function bf(){if(pf)return lf;pf=1;var e=ea();return lf=function(n,t,a){for(var o in t)e(n,o,t[o],a);return n},lf}function yf(){return df?uf:(df=1,uf=function(e,n){return{value:e,done:n}})}function wf(){if(gf)return vf;gf=1;var e=Pt(),n=Wo();return vf=function(t,a,o,i){try{return i?a(e(o)[0],o[1]):a(o)}catch(e){n(t,"throw",e)}}}!function(){if(hf)return xf;hf=1;var e=Ha(),n=Ie(),t=Ln(),a=Pt(),o=Xo(),i=function(){if(ff)return mf;ff=1;var e=Ie(),n=uo(),t=jt(),a=bf(),o=vt(),i=Qt(),r=Nn(),s=mo().IteratorPrototype,c=yf(),l=Wo(),p=o("toStringTag"),u="IteratorHelper",d="WrapForValidIterator",m=i.set,f=function(t){var o=i.getterFor(t?d:u);return a(n(s),{next:function(){var e=o(this);if(t)return e.nextHandler();if(e.done)return c(void 0,!0);try{var n=e.nextHandler();return e.returnHandlerResult?n:c(n,e.done)}catch(n){throw e.done=!0,n}},return:function(){var n=o(this),a=n.iterator;if(n.done=!0,t){var i=r(a,"return");return i?e(i,a):c(void 0,!0)}if(n.inner)try{l(n.inner.iterator,"normal")}catch(e){return l(a,"throw",e)}return a&&l(a,"normal"),c(void 0,!0)}})},v=f(!0),g=f(!1);return t(g,p,"Iterator Helper"),mf=function(e,n,t){var a=function(a,o){o?(o.iterator=a.iterator,o.next=a.next):o=a,o.type=n?d:u,o.returnHandlerResult=!!t,o.nextHandler=e,o.counter=0,o.done=!1,m(this,o)};return a.prototype=n?v:g,a}}(),r=wf(),s=Wo(),c=Yo(),l=ct(),p=!l&&c("map",TypeError),u=i(function(){var e=this.iterator,t=a(n(this.next,e));if(!(this.done=!!t.done))return r(e,this.mapper,[t.value,this.counter++],!0)});e({target:"Iterator",proto:!0,real:!0,forced:l||p},{map:function(e){a(this);try{t(e)}catch(e){s(this,"throw",e)}return p?n(p,this,e):new u(o(this),{mapper:e})}})}();var Tf,Af,Cf,Of,kf,Ef,If,Sf,Pf,Rf,jf,_f,Lf,Nf={};function Mf(){if(Af)return Tf;Af=1;var e=wm().has;return Tf=function(n){return e(n),n}}function Df(){if(Of)return Cf;Of=1;var e=wm(),n=Am(),t=e.Set,a=e.add;return Cf=function(e){var o=new t;return n(e,function(e){a(o,e)}),o},Cf}function Ff(){if(Ef)return kf;Ef=1;var e=Ld(),n=wm();return kf=e(n.proto,"size","get")||function(e){return e.size},kf}function Bf(){if(Sf)return If;Sf=1;var e=Ln(),n=Pt(),t=Ie(),a=ba(),o=Xo(),i="Invalid size",r=RangeError,s=TypeError,c=Math.max,l=function(n,t){this.set=n,this.size=c(t,0),this.has=e(n.has),this.keys=e(n.keys)};return l.prototype={getIterator:function(){return o(n(t(this.keys,this.set)))},includes:function(e){return t(this.has,this.set,e)}},If=function(e){n(e);var t=+e.size;if(t!=t)throw new s(i);var o=a(t);if(o<0)throw new r(i);return new l(e,o)},If}function zf(){if(_f)return jf;_f=1;var e=kn(),n=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},t=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};return jf=function(a,o){var i=e("Set");try{(new i)[a](n(0));try{return(new i)[a](n(-1)),!1}catch(e){if(!o)return!0;try{return(new i)[a](t(-1/0)),!1}catch(e){var r=new i;return r.add(1),r.add(2),o(r[a](t(1/0)))}}}catch(e){return!1}},jf}!function(){if(Lf)return Nf;Lf=1;var e=Ha(),n=function(){if(Rf)return Pf;Rf=1;var e=Mf(),n=wm(),t=Df(),a=Ff(),o=Bf(),i=Am(),r=Tm(),s=n.has,c=n.remove;return Pf=function(n){var l=e(this),p=o(n),u=t(l);return a(l)<=p.size?i(l,function(e){p.includes(e)&&c(u,e)}):r(p.getIterator(),function(e){s(l,e)&&c(u,e)}),u}}();e({target:"Set",proto:!0,real:!0,forced:!zf()("difference",function(e){return 0===e.size})},{difference:n})}();var Uf,Vf,qf,Gf={};!function(){if(qf)return Gf;qf=1;var e=Ha(),n=Oe(),t=function(){if(Vf)return Uf;Vf=1;var e=Mf(),n=wm(),t=Ff(),a=Bf(),o=Am(),i=Tm(),r=n.Set,s=n.add,c=n.has;return Uf=function(n){var l=e(this),p=a(n),u=new r;return t(l)>p.size?i(p.getIterator(),function(e){c(l,e)&&s(u,e)}):o(l,function(e){p.includes(e)&&s(u,e)}),u}}();e({target:"Set",proto:!0,real:!0,forced:!zf()("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||n(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:t})}();var $f,Wf,Hf,Xf={};!function(){if(Hf)return Xf;Hf=1;var e=Ha(),n=function(){if(Wf)return $f;Wf=1;var e=Mf(),n=wm().has,t=Ff(),a=Bf(),o=Am(),i=Tm(),r=Wo();return $f=function(s){var c=e(this),l=a(s);if(t(c)<=l.size)return!1!==o(c,function(e){if(l.includes(e))return!1},!0);var p=l.getIterator();return!1!==i(p,function(e){if(n(c,e))return r(p,"normal",!1)})}}();e({target:"Set",proto:!0,real:!0,forced:!zf()("isDisjointFrom",function(e){return!e})},{isDisjointFrom:n})}();var Yf,Kf,Zf,Qf={};!function(){if(Zf)return Qf;Zf=1;var e=Ha(),n=function(){if(Kf)return Yf;Kf=1;var e=Mf(),n=Ff(),t=Am(),a=Bf();return Yf=function(o){var i=e(this),r=a(o);return!(n(i)>r.size)&&!1!==t(i,function(e){if(!r.includes(e))return!1},!0)}}();e({target:"Set",proto:!0,real:!0,forced:!zf()("isSubsetOf",function(e){return e})},{isSubsetOf:n})}();var Jf,ev,nv,tv={};!function(){if(nv)return tv;nv=1;var e=Ha(),n=function(){if(ev)return Jf;ev=1;var e=Mf(),n=wm().has,t=Ff(),a=Bf(),o=Tm(),i=Wo();return Jf=function(r){var s=e(this),c=a(r);if(t(s)<c.size)return!1;var l=c.getIterator();return!1!==o(l,function(e){if(!n(s,e))return i(l,"normal",!1)})}}();e({target:"Set",proto:!0,real:!0,forced:!zf()("isSupersetOf",function(e){return!e})},{isSupersetOf:n})}();var av,ov,iv,rv={};!function(){if(iv)return rv;iv=1;var e=Ha(),n=function(){if(ov)return av;ov=1;var e=Mf(),n=wm(),t=Df(),a=Bf(),o=Tm(),i=n.add,r=n.has,s=n.remove;return av=function(n){var c=e(this),l=a(n).getIterator(),p=t(c);return o(l,function(e){r(c,e)?s(p,e):i(p,e)}),p}}();e({target:"Set",proto:!0,real:!0,forced:!zf()("symmetricDifference")},{symmetricDifference:n})}();var sv,cv,lv,pv={};!function(){if(lv)return pv;lv=1;var e=Ha(),n=function(){if(cv)return sv;cv=1;var e=Mf(),n=wm().add,t=Df(),a=Bf(),o=Tm();return sv=function(i){var r=e(this),s=a(i).getIterator(),c=t(r);return o(s,function(e){n(c,e)}),c}}();e({target:"Set",proto:!0,real:!0,forced:!zf()("union")},{union:n})}();const uv=e=>null!=e,dv=e=>"function"==typeof e,mv=e=>null!==e&&"object"==typeof e,fv=e=>"number"==typeof e||/^\d+(\.\d+)?$/.test(e);function vv(){}const gv=Object.assign,hv="undefined"!=typeof window;function xv(e,n){const t=n.split(".");let a=e;return t.forEach(e=>{var n;a=mv(a)&&null!=(n=a[e])?n:""}),a}const bv=null,yv=[Number,String],wv={type:Boolean,default:!0},Tv=e=>({type:String,default:e});var Av,Cv,Ov="undefined"!=typeof window;function kv(e){let n;a(()=>{e(),o(()=>{n=!0})}),g(()=>{n&&e()})}function Ev(e,n,a={}){if(!Ov)return;const{target:o=window,passive:r=!1,capture:s=!1}=a;let c,l=!1;const p=t=>{if(l)return;const a=h(t);a&&!c&&(a.addEventListener(e,n,{capture:s,passive:r}),c=!0)},u=t=>{if(l)return;const a=h(t);a&&c&&(a.removeEventListener(e,n,s),c=!1)};let d;return i(()=>u(o)),f(()=>u(o)),kv(()=>p(o)),v(o)&&(d=t(o,(e,n)=>{u(n),p(e)})),()=>{null==d||d(),u(o),l=!0}}var Iv=/scroll|auto|overlay/i,Sv=Ov?window:void 0;function Pv(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}hv&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function Rv(e,n){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),(e=>{e.stopPropagation()})(e)}function jv(e){if(uv(e))return fv(e)?`${e}px`:String(e)}!function(){if(!Av&&(Av=e(0),Cv=e(0),Ov)){const e=()=>{Av.value=window.innerWidth,Cv.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}}();const _v=/-(\w)/g,Lv=e=>e.replace(_v,(e,n)=>n.toUpperCase()),{hasOwnProperty:Nv}=Object.prototype;function Mv(e,n){return Object.keys(n).forEach(t=>{!function(e,n,t){const a=n[t];uv(a)&&(Nv.call(e,t)&&mv(a)?e[t]=Mv(Object(e[t]),a):e[t]=a)}(e,n,t)}),e}const Dv=e("zh-CN"),Fv=n({"zh-CN":{name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,n)=>`${e}年${n}月`,rangePrompt:e=>`最多选择 ${e} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}折`,condition:e=>`满${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码不正确",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}}});var Bv={messages:()=>Fv[Dv.value],use(e,n){Dv.value=e,this.add({[e]:n})},add(e={}){Mv(Fv,e)}};function zv(e){const n=Lv(e)+".";return(e,...t)=>{const a=Bv.messages(),o=xv(a,n+e)||xv(a,e);return dv(o)?o(...t):o}}function Uv(e,n){return n?"string"==typeof n?` ${e}--${n}`:Array.isArray(n)?n.reduce((n,t)=>n+Uv(e,t),""):Object.keys(n).reduce((t,a)=>t+(n[a]?Uv(e,a):""),""):""}function Vv(e){return(n,t)=>(n&&"string"!=typeof n&&(t=n,n=""),`${n=n?`${e}__${n}`:e}${Uv(n,t)}`)}function qv(e){const n=`van-${e}`;return[n,Vv(n),zv(n)]}function Gv(e,{args:n=[],done:t,canceled:a}){if(e){const i=e.apply(null,n);mv(o=i)&&dv(o.then)&&dv(o.catch)?i.then(e=>{e?t():a&&a()}).catch(vv):i?t():a&&a()}else t();var o}function $v(e){return e.install=n=>{const{name:t}=e;t&&(n.component(t,e),n.component(Lv(`-${t}`),e))},e}const Wv=Symbol();function Hv(e){const n=x();n&&gv(n.proxy,e)}const[Xv,Yv]=qv("badge");var Kv=b({name:Xv,props:{dot:Boolean,max:yv,tag:Tv("div"),color:String,offset:Array,content:yv,showZero:wv,position:Tv("top-right")},setup(e,{slots:n}){const t=()=>{if(n.content)return!0;const{content:t,showZero:a}=e;return uv(t)&&""!==t&&(a||0!==t&&"0"!==t)},a=()=>{const{dot:a,max:o,content:i}=e;if(!a&&t())return n.content?n.content():uv(o)&&fv(i)&&+i>o?`${o}+`:i},o=y(()=>{const t={background:e.color};if(e.offset){const[a,o]=e.offset;n.default?(t.top=jv(o),t.right="number"==typeof a?jv(-a):a.startsWith("-")?a.replace("-",""):`-${a}`):(t.marginTop=jv(o),t.marginLeft=jv(a))}return t}),i=()=>{if(t()||e.dot)return w("div",{class:Yv([e.position,{dot:e.dot,fixed:!!n.default}]),style:o.value},[a()])};return()=>{if(n.default){const{tag:t}=e;return w(t,{class:Yv("wrapper")},{default:()=>[n.default(),i()]})}return i()}}});const Zv=$v(Kv);let Qv=2e3;const[Jv,eg]=qv("config-provider"),ng=Symbol(Jv);b({name:Jv,props:{tag:Tv("div"),zIndex:Number,themeVars:Object,iconPrefix:String},setup(e,{slots:n}){const t=y(()=>{if(e.themeVars)return function(e){const n={};return Object.keys(e).forEach(t=>{var a;n[`--van-${a=t,a.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"")}`]=e[t]}),n}(e.themeVars)});return T(ng,e),A(()=>{var n;void 0!==e.zIndex&&(n=e.zIndex,Qv=n)}),()=>w(e.tag,{class:eg(),style:t.value},{default:()=>{var e;return[null==(e=n.default)?void 0:e.call(n)]}})}});const[tg,ag]=qv("icon");var og=b({name:tg,props:{dot:Boolean,tag:Tv("i"),name:String,size:yv,badge:yv,color:String,badgeProps:Object,classPrefix:String},setup(e,{slots:n}){const t=C(ng,null),a=y(()=>e.classPrefix||(null==t?void 0:t.iconPrefix)||ag());return()=>{const{tag:t,dot:o,name:i,size:r,badge:s,color:c}=e,l=(e=>null==e?void 0:e.includes("/"))(i);return w(Zv,O({dot:o,tag:t,class:[a.value,l?"":`${a.value}-${i}`],style:{color:c,fontSize:jv(r)},content:s},e.badgeProps),{default:()=>{var e;return[null==(e=n.default)?void 0:e.call(n),l&&w("img",{class:ag("image"),src:i},null)]}})}}});const ig=$v(og),[rg,sg]=qv("loading"),cg=Array(12).fill(null).map((e,n)=>w("i",{class:sg("line",String(n+1))},null)),lg=w("svg",{class:sg("circular"),viewBox:"25 25 50 50"},[w("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]);var pg=b({name:rg,props:{size:yv,type:Tv("circular"),color:String,vertical:Boolean,textSize:yv,textColor:String},setup(e,{slots:n}){const t=y(()=>gv({color:e.color},function(e){if(uv(e)){if(Array.isArray(e))return{width:jv(e[0]),height:jv(e[1])};const n=jv(e);return{width:n,height:n}}}(e.size))),a=()=>{var t;if(n.default)return w("span",{class:sg("text"),style:{fontSize:jv(e.textSize),color:null!=(t=e.textColor)?t:e.color}},[n.default()])};return()=>{const{type:n,vertical:o}=e;return w("div",{class:sg([n,{vertical:o}]),"aria-live":"polite","aria-busy":!0},[w("span",{class:sg("spinner",n),style:t.value},["spinner"===n?cg:lg]),a()])}}});const ug=$v(pg),dg={show:Boolean,zIndex:yv,overlay:wv,duration:yv,teleport:[String,Object],lockScroll:wv,lazyRender:wv,beforeClose:Function,overlayStyle:Object,overlayClass:bv,transitionAppear:Boolean,closeOnClickOverlay:wv};let mg=0;const fg="van-overflow-hidden";function vg(n,a){const o=function(){const n=e(0),t=e(0),a=e(0),o=e(0),i=e(0),r=e(0),s=e(""),c=()=>{a.value=0,o.value=0,i.value=0,r.value=0,s.value=""};return{move:e=>{const c=e.touches[0];var l,p;a.value=(c.clientX<0?0:c.clientX)-n.value,o.value=c.clientY-t.value,i.value=Math.abs(a.value),r.value=Math.abs(o.value),(!s.value||i.value<10&&r.value<10)&&(s.value=(l=i.value)>(p=r.value)?"horizontal":p>l?"vertical":"")},start:e=>{c(),n.value=e.touches[0].clientX,t.value=e.touches[0].clientY},reset:c,startX:n,startY:t,deltaX:a,deltaY:o,offsetX:i,offsetY:r,direction:s,isVertical:()=>"vertical"===s.value,isHorizontal:()=>"horizontal"===s.value}}(),i=e=>{o.move(e);const t=o.deltaY.value>0?"10":"01",a=function(e,n=Sv){let t=e;for(;t&&t!==n&&Pv(t);){const{overflowY:e}=window.getComputedStyle(t);if(Iv.test(e))return t;t=t.parentNode}return n}(e.target,n.value),{scrollHeight:i,offsetHeight:r,scrollTop:s}=a;let c="11";0===s?c=r>=i?"00":"01":s+r>=i&&(c="10"),"11"===c||!o.isVertical()||parseInt(c,2)&parseInt(t,2)||Rv(e)},r=()=>{document.addEventListener("touchstart",o.start),document.addEventListener("touchmove",i,{passive:!1}),mg||document.body.classList.add(fg),mg++},s=()=>{mg&&(document.removeEventListener("touchstart",o.start),document.removeEventListener("touchmove",i),mg--,mg||document.body.classList.remove(fg))},c=()=>a()&&s();kv(()=>a()&&r()),f(c),k(c),t(a,e=>{e?r():s()})}function gg(n){const a=e(!1);return t(n,e=>{e&&(a.value=e)},{immediate:!0}),e=>()=>a.value?e():null}const[hg,xg]=qv("overlay");var bg=b({name:hg,props:{show:Boolean,zIndex:yv,duration:yv,className:bv,lockScroll:wv,lazyRender:wv,customStyle:Object},setup(n,{slots:t}){const a=e(),o=gg(()=>n.show||!n.lazyRender)(()=>{var e;const o=gv(function(e){const n={};return void 0!==e&&(n.zIndex=+e),n}(n.zIndex),n.customStyle);return uv(n.duration)&&(o.animationDuration=`${n.duration}s`),c(w("div",{ref:a,style:o,class:[xg(),n.className]},[null==(e=t.default)?void 0:e.call(t)]),[[m,n.show]])});return Ev("touchmove",e=>{n.lockScroll&&Rv(e)},{target:a}),()=>w(E,{name:"van-fade",appear:!0},{default:o})}});const yg=$v(bg),wg=gv({},dg,{round:Boolean,position:Tv("center"),closeIcon:Tv("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:Tv("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Tg,Ag]=qv("popup");var Cg=b({name:Tg,inheritAttrs:!1,props:wg,emits:["open","close","opened","closed","keydown","update:show","click-overlay","click-close-icon"],setup(n,{emit:i,attrs:r,slots:s}){let l,p;const u=e(),d=e(),v=gg(()=>n.show||!n.lazyRender),h=y(()=>{const e={zIndex:u.value};if(uv(n.duration)){e["center"===n.position?"animationDuration":"transitionDuration"]=`${n.duration}s`}return e}),x=()=>{l||(l=!0,u.value=void 0!==n.zIndex?+n.zIndex:++Qv,i("open"))},b=()=>{l&&Gv(n.beforeClose,{done(){l=!1,i("close"),i("update:show",!1)}})},A=e=>{i("click-overlay",e),n.closeOnClickOverlay&&b()},C=()=>{if(n.overlay)return w(yg,{show:n.show,class:n.overlayClass,zIndex:u.value,duration:n.duration,customStyle:n.overlayStyle,role:n.closeOnClickOverlay?"button":void 0,tabindex:n.closeOnClickOverlay?0:void 0,onClick:A},{default:s["overlay-content"]})},k=e=>{i("click-close-icon",e),b()},P=()=>{if(n.closeable)return w(ig,{role:"button",tabindex:0,name:n.closeIcon,class:[Ag("close-icon",n.closeIconPosition),"van-haptics-feedback"],classPrefix:n.iconPrefix,onClick:k},null)},R=()=>i("opened"),j=()=>i("closed"),_=e=>i("keydown",e),L=v(()=>{var e;const{round:t,position:a,safeAreaInsetTop:o,safeAreaInsetBottom:i}=n;return c(w("div",O({ref:d,style:h.value,role:"dialog",tabindex:0,class:[Ag({round:t,[a]:a}),{"van-safe-area-top":o,"van-safe-area-bottom":i}],onKeydown:_},r),[null==(e=s.default)?void 0:e.call(s),P()]),[[m,n.show]])}),N=()=>{const{position:e,transition:t,transitionAppear:a}=n;return w(E,{name:t||("center"===e?"van-fade":`van-popup-slide-${e}`),appear:a,onAfterEnter:R,onAfterLeave:j},{default:L})};return t(()=>n.show,e=>{e&&!l&&(x(),0===r.tabindex&&o(()=>{var e;null==(e=d.value)||e.focus()})),!e&&l&&(l=!1,i("close"))}),Hv({popupRef:d}),vg(d,()=>n.show&&n.lockScroll),Ev("popstate",()=>{n.closeOnPopstate&&(b(),p=!1)}),a(()=>{n.show&&x()}),g(()=>{p&&(i("update:show",!0),p=!1)}),f(()=>{n.show&&n.teleport&&(b(),p=!0)}),T(Wv,()=>n.show),()=>n.teleport?w(I,{to:n.teleport},{default:()=>[C(),N()]}):w(S,null,[C(),N()])}});const Og=$v(Cg);let kg=0;const[Eg,Ig]=qv("toast"),Sg=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"];var Pg,Rg=b({name:Eg,props:{icon:String,show:Boolean,type:Tv("text"),overlay:Boolean,message:yv,iconSize:yv,duration:(Pg=2e3,{type:Number,default:Pg}),position:Tv("middle"),teleport:[String,Object],className:bv,iconPrefix:String,transition:Tv("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:bv,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean},emits:["update:show"],setup(e,{emit:n}){let o,r=!1;const s=()=>{const n=e.show&&e.forbidClick;r!==n&&(r=n,r?(kg||document.body.classList.add("van-toast--unclickable"),kg++):kg&&(kg--,kg||document.body.classList.remove("van-toast--unclickable")))},c=e=>n("update:show",e),l=()=>{e.closeOnClick&&c(!1)},p=()=>clearTimeout(o),u=()=>{const{icon:n,type:t,iconSize:a,iconPrefix:o,loadingType:i}=e;return n||"success"===t||"fail"===t?w(ig,{name:n||t,size:a,class:Ig("icon"),classPrefix:o},null):"loading"===t?w(ug,{class:Ig("loading"),size:a,type:i},null):void 0},d=()=>{const{type:n,message:t}=e;if(uv(t)&&""!==t)return"html"===n?w("div",{key:0,class:Ig("text"),innerHTML:String(t)},null):w("div",{class:Ig("text")},[t])};return t(()=>[e.show,e.forbidClick],s),t(()=>[e.show,e.type,e.message,e.duration],()=>{p(),e.show&&e.duration>0&&(o=setTimeout(()=>{c(!1)},e.duration))}),a(s),i(s),()=>w(Og,O({class:[Ig([e.position,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:l,onClosed:p,"onUpdate:show":c},function(e,n){return n.reduce((n,t)=>(n[t]=e[t],n),{})}(e,Sg)),{default:()=>[u(),d()]})}});const jg={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let _g=[],Lg=!1,Ng=gv({},jg);const Mg=new Map;function Dg(e){return mv(e)?e:{message:e}}function Fg(){const{instance:a,unmount:o}=function(e){const n=P(e),t=document.createElement("div");return document.body.appendChild(t),{instance:n.mount(t),unmount(){n.unmount(),document.body.removeChild(t)}}}({setup(){const i=e(""),{open:r,state:s,close:c,toggle:l}=function(){const e=n({show:!1}),t=n=>{e.show=n},a=n=>{gv(e,n,{transitionAppear:!0}),t(!0)},o=()=>t(!1);return Hv({open:a,close:o,toggle:t}),{open:a,close:o,state:e,toggle:t}}(),p=()=>{Lg&&(_g=_g.filter(e=>e!==a),o())};return t(i,e=>{s.message=e}),x().render=()=>w(Rg,O(s,{onClosed:p,"onUpdate:show":l}),null),{open:r,clear:c,message:i}}});return a}function Bg(e={}){if(!hv)return{};const n=function(){if(!_g.length||Lg){const e=Fg();_g.push(e)}return _g[_g.length-1]}(),t=Dg(e);return n.open(gv({},Ng,Mg.get(t.type||Ng.type),t)),n}const zg=e=>n=>Bg(gv({type:e},Dg(n)));Bg.loading=zg("loading"),Bg.success=zg("success"),Bg.fail=zg("fail"),Bg.clear=e=>{var n;_g.length&&(e?(_g.forEach(e=>{e.clear()}),_g=[]):Lg?null==(n=_g.shift())||n.clear():_g[0].clear())},Bg.setDefaultOptions=function(e,n){"string"==typeof e?Mg.set(e,n):gv(Ng,e)},Bg.resetDefaultOptions=e=>{"string"==typeof e?Mg.delete(e):(Ng=gv({},jg),Mg.clear())},Bg.allowMultiple=(e=!0)=>{Lg=e},Bg.install=e=>{e.use($v(Rg)),e.config.globalProperties.$toast=Bg};var Ug={props:{dataManager:{type:Array,default:()=>[]}},setup(n,o){let i=e(0),r=e(!1),s=e(!0);t(()=>n.dataManager,e=>{c(e)},{deep:!0}),a(()=>{c(n.dataManager)});const c=e=>{e&&1==e.length&&(r.value=!0,s.value=!1)};return{currentIndex:i,secondShowFlag:r,firstShowFlag:s,groupSwitch:(e,t)=>{if(i.value==t)return e.isOpen=!e.isOpen,void(r.value=e.isOpen);n.dataManager.forEach((e,n)=>{e.isOpen=n==t}),i.value=t,r.value=!0},itemStlopacity:e=>{o.emit("stlopacity",e)}}}};const Vg={class:"column mix-manager"},qg={class:"manager-second row"},Gg=["onClick"],$g={class:"column",style:{"align-items":"center"}},Wg={class:"item-name"},Hg={class:"item-volume"},Xg={class:"manager-second row"},Yg=["onClick"],Kg={class:"row",style:{color:"#fff"}},Zg={class:"center item-zd"},Qg={class:"item-name"};rf(".mix-manager[data-v-7c7c2b7c]{box-sizing:border-box;height:100%;padding:0 5PX;width:100%}.manager-second[data-v-7c7c2b7c]{height:100%;overflow-x:auto;width:100%}.manager-second[data-v-7c7c2b7c]::-webkit-scrollbar{display:none}.manager-item[data-v-7c7c2b7c]{border-radius:5PX;box-sizing:border-box;flex-grow:0;flex-shrink:0;height:50PX;margin:2PX;width:140PX}.item-match[data-v-7c7c2b7c]{height:100%;width:100%}.item-name[data-v-7c7c2b7c]{font-size:16PX;font-weight:500}.item-volume[data-v-7c7c2b7c]{font-size:12PX;font-weight:400}.item-zd[data-v-7c7c2b7c]{font-size:20PX;height:28PX;margin-right:15PX;width:28PX}"),Ug.render=function(e,n,t,a,o,i){return s(),r("div",Vg,[l("div",qg,[t.dataManager&&t.dataManager.length>0&&a.secondShowFlag?(s(!0),r(S,{key:0},R(t.dataManager[a.currentIndex].SecondClass,(e,n)=>(s(),r("div",{class:"manager-item",key:n,style:j({border:`0.5PX solid rgba(${e.orignMaterColor[0]}, ${e.orignMaterColor[1]}, ${e.orignMaterColor[2]}, ${e.orignOpacity})`,backgroundColor:`rgba(${e.materColor[0]}, ${e.materColor[1]}, ${e.materColor[2]}, ${e.opacity})`})},[l("div",{class:"item-match center",onClick:n=>a.itemStlopacity(e)},[l("div",$g,[l("div",Wg,d(e.Name),1),l("div",Hg,d(e.Volume||""),1)])],8,Gg)],4))),128)):u("v-if",!0)]),l("div",Xg,[t.dataManager&&t.dataManager.length>0&&a.firstShowFlag?(s(!0),r(S,{key:0},R(t.dataManager,(e,n)=>(s(),r("div",{class:"manager-item",key:n,style:j({border:`0.5PX solid rgba(${e.orignMaterColor[0]}, ${e.orignMaterColor[1]}, ${e.orignMaterColor[2]}, ${e.orignOpacity})`,backgroundColor:`rgba(${e.materColor[0]}, ${e.materColor[1]}, ${e.materColor[2]}, ${e.opacity})`})},[l("div",{class:"item-match center",onClick:t=>a.groupSwitch(e,n)},[l("div",Kg,[l("div",Zg,[l("i",{class:p(["iconfont",e.isOpen?"icon-jianhaoshouqi":"icon-jiahaozhankai"])},null,2)]),l("div",Qg,d(e.Name),1)])],8,Yg)],4))),128)):u("v-if",!0)])])},Ug.__scopeId="data-v-7c7c2b7c",Ug.__file="src/package/dicom-wechat-viewer/data-manager-viewer.vue";const{destroy:Jg,ToolGroupManager:eh,Enums:nh,SegmentationIntersectionTool:th,TrackballRotateTool:ah,CrosshairsTool:oh,WindowLevelTool:ih,StackScrollTool:rh,PanTool:sh,ZoomTool:ch,LengthTool:lh,AngleTool:ph,ProbeTool:uh}=X,{MouseBindings:dh}=nh,{ViewportType:mh,OrientationAxis:fh}=z,{IMAGE_VOLUME_MODIFIED:vh,CAMERA_MODIFIED:gh,VOLUME_NEW_IMAGE:hh,VOI_MODIFIED:xh,GEOMETRY_LOAD_PROGRESS:bh}=z.Events;var yh={name:"DicomWechatViewer",components:{DataManagerViewer:Ug},props:{patient:{type:Object,default:()=>{}},imageIds:{type:Array,default:()=>[]},stlDatas:{type:Array,default:()=>[]},dataManager:{type:Array,default:()=>[]},rotationSpeed:{type:Number,default:.05},d3stlBJ:{type:Array,default:()=>[{text:"浅灰色",value:"#CECECE"},{text:"深灰色",value:"#5F5F5F"},{text:"黑色",value:"#323232"},{text:"白色",value:"#E3E3E3"}]}},setup(r,s){const c="CT_AXIAL",l="CT_CORONAL",p="CT_SAGITTAL",u="CT_3d",d="cornerstoneStreamingImageVolume:CT_VOLUME_ID";let m=n({});const f=e(),v=e(),g=e(),h=e(),x=e();let b=n(),w=n(),T=n(),A=e(!1),C=e(!0),O=new Set;const k=n({[c]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1},[l]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1},[p]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1}});let E=e(null),I=e(0),S=e(-1),P=e(!1),R=e(!1),j=e(!1),_=e(0);const L=y(()=>{if(!f.value)return;const e=f.value.clientHeight-50;return Sm(`dicombottomheight:${e}`),e});t(()=>r.imageIds,async e=>{},{deep:!0}),t(()=>r.stlDatas,e=>{K(e)},{deep:!0}),a(async()=>{Sm("onMounted..."),pe(),await ee(),await K(r.stlDatas)});const D=()=>{const e=m.getViewport(u);r.stlDatas.forEach(n=>{let t=e.getActor(n.id).actor;C.value?t.getProperty().setOpacity(n.opacity):t.getProperty().setOpacity(0)}),e.render()},F=e=>((e-=.2)<0&&(e=1),e),B=e=>{e=e.replace("#","");return[parseInt(e.slice(0,2),16)/255,parseInt(e.slice(2,4),16)/255,parseInt(e.slice(4,6),16)/255]},$=()=>{if(T){m.getViewport(u).setCamera(T)}(()=>{const e=m.getViewport(u);r.stlDatas.forEach(n=>{let t=e.getActor(n.id).actor;n.opacity=n.orignOpacity,t.getProperty().setOpacity(n.opacity)}),e.render()})()},Y=()=>{b&&(b.setToolPassive(ih.toolName),b.setToolPassive(rh.toolName),b.setToolPassive(sh.toolName),b.setToolPassive(ch.toolName),b.setToolPassive(uh.toolName),b.setToolPassive(lh.toolName),b.setToolPassive(ph.toolName),b.setToolDisabled(oh.toolName))},K=async e=>{e.length<=0||!P.value||j.value||(Sm("start render stl data~"),j.value=!0,window.use&&"object"==typeof window.use&&Object.prototype.hasOwnProperty.call(window.use,"dicomWechatViewer")&&!1===window.use.dicomWechatViewer?Sm("return..."):(O.clear(),await Promise.all(e.map(e=>ne(e))),Z(),s.emit("progress",{type:"stl",finished:!0}),Sm("finish render stl data~")))},Z=()=>{const e=m.getViewport(u);T=e.initialCamera},Q=async e=>{if(e.length<=0||!T)return void Bg("正在加载dicom数据, 请稍候...");if(R.value)return;Sm("start render dcm data~"),R.value=!0;const n=await M.createAndCacheVolume(d,{imageIds:e});await G(m,[{volumeId:d,callback:oi}],[c,l,p]),window.use&&"object"==typeof window.use&&Object.prototype.hasOwnProperty.call(window.use,"dicomWechatViewer")&&!1===window.use.dicomWechatViewer?Sm("return..."):(n.load(),m.renderViewports([c,l,p]),Sm("finish render dcm data~"))},J=e=>({[c]:"rgb(200, 0, 0)",[l]:"rgb(200, 200, 0)",[p]:"rgb(0, 200, 0)"}[e]),ee=async()=>{Sm("start init cornerstone..."),await ai(),U.setMaxCacheSize(2147483648),te(),V.setMaxSimultaneousRequests(z.RequestType.Prefetch,10);const e="myRenderingEngine";m=new q(e);const n=[{viewportId:c,element:v.value,type:mh.ORTHOGRAPHIC,defaultOptions:{orientation:fh.AXIAL}},{viewportId:l,element:g.value,type:mh.ORTHOGRAPHIC,defaultOptions:{orientation:fh.CORONAL}},{viewportId:p,element:x.value,type:mh.ORTHOGRAPHIC,defaultOptions:{orientation:fh.SAGITTAL}},{viewportId:u,element:h.value,type:mh.VOLUME_3D,defaultOptions:{orientation:fh.CORONAL,background:[.807,.807,.807]}}];m.setViewports(n);b=eh.createToolGroup("MY_TOOLGROUP_ID"),b.addViewport(c,e),b.addViewport(l,e),b.addViewport(p,e),b.addTool(ih.toolName),b.addTool(rh.toolName),b.addTool(sh.toolName),b.addTool(ch.toolName,{zoomToCenter:!0,pan:!1,pinchToZoom:!1}),b.addTool(uh.toolName),b.addTool(lh.toolName),b.addTool(ph.toolName);const t=window.matchMedia("(any-pointer:coarse)").matches;b.addTool(oh.toolName,{viewportIndicators:!1,referenceLinesCenterGapRadius:12,getReferenceLineColor:J,getReferenceLineControllable:()=>!0,getReferenceLineDraggableRotatable:()=>!0,getReferenceLineSlabThicknessControlsOn:()=>!1,mobile:{enabled:t,opacity:1,handleRadius:2}});w=eh.createToolGroup("MY_TOOLGROUP_ID_3d"),w.addViewport(u,e),w.addTool(ah.toolName,{configuration:{volumeId:d}}),w.setToolActive(ah.toolName,{bindings:[{mouseButton:dh.Primary}]}),w.addTool(ch.toolName,{zoomToCenter:!0,pan:!0,pinchToZoom:!0}),w.setToolActive(ch.toolName,{bindings:[{numTouchPoints:2},{mouseButton:dh.Wheel}]}),P.value=!0,Sm("finish init cornerstone...")},ne=async e=>{const n=await H.loadAndCacheGeometry(`mesh:${e.Url}`,{type:z.GeometryType.MESH,geometryData:{id:e.id,format:z.MeshType.STL,color:e.materColor,smoothFlag:!0,sincOption:{numberOfIterations:65,passBand:.005,featureAngle:150,edgeAngle:20,nonManifoldSmoothing:1,featureEdgeSmoothing:1,boundarySmoothing:0},normalOption:{computePointNormals:!0,computeCellNormals:!1,splitting:!1,featureAngle:150}}}),t=m.getViewport(u),a=n.data.defaultActor;a.getProperty().setOpacity(e.opacity),t.addActor({uid:e.id,actor:a}),t.resetCamera(),t.render()},te=()=>{window.addEventListener("resize",()=>{ae()}),W.addEventListener(bh,e=>{if(O&&e.detail.data){O.add(e.detail.data.url);const n=Math.floor(100*O.size/r.stlDatas.length);s.emit("progress",{type:"stl",progress:n,finished:!1})}}),W.addEventListener(vh,e=>{const{framesProcessed:n,numberOfFrames:t}=e.detail,a=Math.floor(100*n/t);s.emit("progress",{type:"dcm",progress:a})}),v.value.addEventListener(gh,()=>{if(m){const e=m.getViewport(c);e&&(k[c].zoom=e.getZoom())}}),v.value.addEventListener(xh,e=>{const n=e.detail.range;null==E.value&&(E.value=n),k[c].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),v.value.addEventListener(hh,e=>{k[c].imageIndex=e.detail.imageIndex,k[c].numberOfSlices=e.detail.numberOfSlices}),g.value.addEventListener(gh,()=>{if(m){const e=m.getViewport(l);e&&(k[l].zoom=e.getZoom())}}),g.value.addEventListener(xh,e=>{const n=e.detail.range;k[l].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),g.value.addEventListener(hh,e=>{k[l].imageIndex=e.detail.imageIndex,k[l].numberOfSlices=e.detail.numberOfSlices}),x.value.addEventListener(gh,()=>{if(m){const e=m.getViewport(p);e&&(k[p].zoom=e.getZoom())}}),x.value.addEventListener(xh,e=>{const n=e.detail.range;k[p].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),x.value.addEventListener(hh,e=>{k[p].imageIndex=e.detail.imageIndex,k[p].numberOfSlices=e.detail.numberOfSlices})},ae=()=>{o(()=>{m&&T&&(m.resize(!0,!1),$())})};let oe=e();const ie=()=>{oe.value?(clearInterval(oe.value),oe.value=null):oe.value=setInterval(()=>{re()},20)},re=()=>{const e=w.getToolInstance(ah.toolName),n=m.getViewport(u);e&&n&&T&&e.rotateCamera(n,T.focalPoint,[0,0,1],r.rotationSpeed)};let se=e(0);const ce=()=>(se.value=(se.value+1)%r.d3stlBJ.length,r.d3stlBJ[se.value]),le=e=>{const n=m.getViewport(u);n.getRenderer().setBackground(e),n.render()},pe=()=>{X.addTool(rh),X.addTool(ih),X.addTool(sh),X.addTool(ch),X.addTool(uh),X.addTool(lh),X.addTool(ph),X.addTool(th),X.addTool(ah),X.addTool(oh)},ue=[{key:-1,value:"icon-tijixiao"},{key:3,value:"icon-buju1"},{key:0,value:"icon-ic-axial"},{key:1,value:"icon-ic-coronal"},{key:2,value:"icon-ic-sagittal"}],de=()=>{const e=(ue.findIndex(e=>e.key==S.value)+1)%ue.length;S.value=ue[e].key};return i(async()=>{Sm("onUnmounted..."),oe.value&&(clearInterval(oe.value),oe.value=null),Jg(),m&&(m.destroy(),m=null),W.reset(),V.destroy(),U.purgeCache()}),{toolIndex:_,mprLayoutSelndex:I,mprLayoutFlag:S,viewportInfo:k,viewportId1:c,viewportId2:l,viewportId3:p,mprLayoutFlagIcons:ue,rotationTimer:oe,patientFlag:A,stlAllShowFlag:C,mprLayoutSel:e=>{I.value=e},toolSel:async e=>{if(Sm(`点击toolSel:${e}`),P.value&&T)switch(e){case 1:Y(),_.value=1,b.setToolActive(rh.toolName,{bindings:[{mouseButton:dh.Primary},{mouseButton:dh.Wheel}]});break;case 50:$();break;case 51:ie();break;case 52:const e=ce(),n=B(e.value);le(n),f.value.style.background=e.value;break;case 53:A.value=!A.value;break;case 54:C.value=!C.value,D();break;case 1e3:await Q(r.imageIds),de(),ae()}else Bg("正在加载模型数据, 请稍候...")},stlopacity:e=>{const n=m.getViewport(u);let t=n.getActor(e.id).actor;e.opacity=F(e.opacity),t.getProperty().setOpacity(e.opacity),n.render()},rootElement:f,axialElement:v,coronalElement:g,sagittalElement:x,d3Element:h,dicombottomHeight:L}}};const wh={class:"mix-dicom-viewer column",ref:"rootElement"},Th={class:"header-tool row"},Ah={class:"main-tool row"},Ch={key:0,class:"main-tool row"},Oh={key:1,class:"main-tool row"},kh={class:"dicom-bottom"},Eh={ref:"d3Element",class:"canvas-inner"},Ih={key:0,class:"viewport3D cloumn"},Sh={class:"view-data-manager"},Ph={ref:"axialElement",class:"canvas-inner"},Rh={class:"viewport cloumn"},jh={ref:"coronalElement",class:"canvas-inner"},_h={class:"viewport cloumn"},Lh={ref:"sagittalElement",class:"canvas-inner"},Nh={class:"viewport cloumn"};rf(".mix-dicom-viewer[data-v-f8b4d14e]{background:#cecece;height:100%;overflow:hidden;width:100%}.header-tool[data-v-f8b4d14e]{box-sizing:border-box;flex-grow:0;flex-shrink:0;height:50PX;padding-left:10PX;padding-right:10PX;position:relative;width:100%}.dicom-bottom[data-v-f8b4d14e]{flex-grow:1;flex-shrink:1;height:100%;width:100%}.dicom-canvas[data-v-f8b4d14e]{background:#000;flex-wrap:wrap;height:100%;width:100%}.canvas-relative[data-v-f8b4d14e]{position:relative}.canvas-outer-single[data-v-f8b4d14e]{height:100%;width:100%}.canvas-axial-outer[data-v-f8b4d14e],.canvas-coronal-outer[data-v-f8b4d14e]{border:.5px solid #333;border-radius:0;box-sizing:border-box;height:33%;width:33.3%}.canvas-d3-outer[data-v-f8b4d14e]{height:67%;width:100%}.canvas-sagittal-outer[data-v-f8b4d14e]{border:.5px solid #333;border-radius:0;box-sizing:border-box;height:33%;width:33.3%}.canvas-inner[data-v-f8b4d14e]{height:100%;width:100%}.viewport[data-v-f8b4d14e]{color:#fff;font-size:14PX;left:15PX;line-height:18PX;position:absolute;top:10PX;user-select:none}.viewport3D[data-v-f8b4d14e]{color:#364fb8;font-size:15PX;left:15PX;line-height:24PX;position:absolute;top:10PX;user-select:none}.view-data-manager[data-v-f8b4d14e]{bottom:2PX;position:absolute;width:100%}.tool-item[data-v-f8b4d14e]{background:#b5b5b5;border:1px solid #b5b5b5!important;border-radius:50%;color:#fff;flex-grow:0;flex-shrink:0;font-size:20PX!important;height:38PX;margin-left:5PX;margin-right:5PX;width:38PX}.tool-item .iconfont[data-v-f8b4d14e]{font-size:23PX}.tool-item-activate[data-v-f8b4d14e]{background:#006400;border:1px solid #006400!important;border-radius:50%}.main-tool[data-v-f8b4d14e]{height:100%;overflow-x:auto}.main-tool[data-v-f8b4d14e]::-webkit-scrollbar{display:none}"),yh.render=function(e,n,t,a,o,i){const f=_("data-manager-viewer");return s(),r("div",wh,[l("div",Th,[u(" dicom、stl "),l("div",Ah,[l("div",{onClick:n[0]||(n[0]=e=>a.toolSel(1e3)),class:p(["tool-item","center","tool-item-activate"])},[l("i",{class:p(["iconfont",a.mprLayoutFlagIcons.find(e=>e.key===a.mprLayoutFlag)?.value])},null,2)])]),u(" stl "),-1==a.mprLayoutFlag||3==a.mprLayoutFlag?(s(),r("div",Ch,[l("div",{onClick:n[1]||(n[1]=e=>a.toolSel(50)),class:p(["tool-item","center","tool-item-activate"])},n[15]||(n[15]=[l("i",{class:"iconfont icon-reset"},null,-1)])),l("div",{onClick:n[2]||(n[2]=e=>a.toolSel(51)),class:p(["tool-item","center","tool-item-activate"])},[l("i",{class:p(["iconfont",a.rotationTimer?"icon-zanting":"icon-24gf-play"])},null,2)]),l("div",{onClick:n[3]||(n[3]=e=>a.toolSel(52)),class:p(["tool-item","center","tool-item-activate"])},n[16]||(n[16]=[l("i",{class:p(["iconfont","icon-dengpao"])},null,-1)])),l("div",{onClick:n[4]||(n[4]=e=>a.toolSel(53)),class:p(["tool-item","center","tool-item-activate"])},n[17]||(n[17]=[l("i",{class:p(["iconfont","icon-a-zu631"])},null,-1)])),l("div",{onClick:n[5]||(n[5]=e=>a.toolSel(54)),class:p(["tool-item","center","tool-item-activate"])},[l("i",{class:p(["iconfont",a.stlAllShowFlag?"icon-faxian-yanjing":"icon-guanbi-yanjing"])},null,2)])])):u("v-if",!0),u(" dicom "),0==a.mprLayoutFlag||1==a.mprLayoutFlag||2==a.mprLayoutFlag||3==a.mprLayoutFlag?(s(),r("div",Oh,[l("div",{onClick:n[6]||(n[6]=e=>a.toolSel(1)),class:p(["tool-item","center","tool-item-activate"])},n[18]||(n[18]=[l("i",{class:"iconfont icon-select-tb"},null,-1)]))])):u("v-if",!0)]),l("div",kh,[l("div",{class:"dicom-canvas row",style:j({height:a.dicombottomHeight+"PX"})},[c(l("div",{oncontextmenu:"return false",onTouchstart:n[7]||(n[7]=e=>a.mprLayoutSel(-1)),onMousedown:n[8]||(n[8]=e=>a.mprLayoutSel(-1)),class:p(["canvas-relative",-1==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-d3-outer":"",-1==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Eh,null,512),a.patientFlag?(s(),r("div",Ih,[l("div",null,"医院: "+d(t.patient?.HospitalName||""),1),l("div",null,"科室: "+d(t.patient?.Division||""),1),l("div",null,"姓名: "+d(t.patient?.PatientName||""),1)])):u("v-if",!0),l("div",Sh,[w(f,{dataManager:t.dataManager,onStlopacity:a.stlopacity},null,8,["dataManager","onStlopacity"])])],34),[[m,3==a.mprLayoutFlag||-1==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[9]||(n[9]=e=>a.mprLayoutSel(0)),onMousedown:n[10]||(n[10]=e=>a.mprLayoutSel(0)),class:p(["canvas-relative",0==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-axial-outer":"",0==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Ph,null,512),l("div",Rh,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId1].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId1].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId1].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId1].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId1].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||0==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[11]||(n[11]=e=>a.mprLayoutSel(1)),onMousedown:n[12]||(n[12]=e=>a.mprLayoutSel(1)),class:p(["canvas-relative",1==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-coronal-outer":"",1==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",jh,null,512),l("div",_h,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId2].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId2].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId2].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId2].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId2].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||1==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[13]||(n[13]=e=>a.mprLayoutSel(2)),onMousedown:n[14]||(n[14]=e=>a.mprLayoutSel(2)),class:p(["canvas-relative",2==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-sagittal-outer":"",2==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Lh,null,512),l("div",Nh,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId3].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId3].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId3].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId3].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId3].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||2==a.mprLayoutFlag]])],4)])],512)},yh.__scopeId="data-v-f8b4d14e",yh.__file="src/package/dicom-wechat-viewer/index.vue";var Mh,Dh="longuto123456789",Fh={exports:{}},Bh={};var zh;var Uh,Vh,qh,Gh,$h,Wh,Hh,Xh,Yh,Kh,Zh,Qh,Jh,ex,nx,tx,ax,ox,ix,rx,sx,cx,lx,px,ux,dx,mx,fx,vx,gx,hx,xx,bx,yx,wx,Tx,Ax=(zh||(zh=1,Fh.exports=function(e){function n(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function t(e,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function a(e,n,a){return n&&t(e.prototype,n),e}e=e&&e.hasOwnProperty("default")?e.default:e;var o=function(){function t(e){n(this,t)}return a(t,[{key:"zero",value:function(e){var n;if(0<e){n="0";for(var t=1;t<e;t++)n+=n;return n}return""}},{key:"stringToArray",value:function(e){for(var n=[],t=e.length,a=0;a<t;a++){var o=e.charCodeAt(a);if(19968<o&&o<40869){var i=o.toString(2),r="1110",s="10",c="10",l=i.length;l<=6?(c=c+this.zero(6-l)+i,s+=this.zero(6),r+=this.zero(4)):6<l&&l<=12?(c+=i.slice(-6),s=s+this.zero(12-l)+i.substr(0,l-6),r+=this.zero(4)):(c+=i.slice(-6),s+=i.substr(l-12,6),r=r+this.zero(16-l)+i.substr(0,l-12)),n.push(parseInt(r,2),parseInt(s,2),parseInt(c,2))}else n.push(o)}return n}},{key:"stringToArrayBufferInUtf8",value:function(e){return this.stringToArray(e)}},{key:"utf8ArrayBufferToString",value:function(e){for(var n="",t=e.length,a=0;a<t;){var o,i=parseInt(e[a]).toString(2);if(1==i.substr(0,1)&&8==i.length){var r=parseInt(e[a]).toString(2).substr(4),s=parseInt(e[a+1]).toString(2).substr(2),c=parseInt(e[a+2]).toString(2).substr(2),l=parseInt(r+s+c,2);o=String.fromCharCode(l),a+=3}else o=String.fromCharCode(parseInt(i,2)),a++;n+=o}return n}},{key:"arrayBufferToBase64",value:function(n){return e.fromByteArray(n)}},{key:"base64ToArrayBuffer",value:function(n){return e.toByteArray(n)}}]),t}();Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{value:function(e,n,t){if(null==this)throw new TypeError("this is null or not defined");for(var a=Object(this),o=a.length>>>0,i=0|n,r=i<0?Math.max(o+i,0):Math.min(i,o),s=void 0===t?o:0|t,c=s<0?Math.max(o+s,0):Math.min(s,o);r<c;)a[r]=e,r++;return a}});var i=16,r=new Uint8Array([214,144,233,254,204,225,61,183,22,182,20,194,40,251,44,5,43,103,154,118,42,190,4,195,170,68,19,38,73,134,6,153,156,66,80,244,145,239,152,122,51,84,11,67,237,207,172,98,228,179,28,169,201,8,232,149,128,223,148,250,117,143,63,166,71,7,167,252,243,115,23,186,131,89,60,25,230,133,79,168,104,107,129,178,113,100,218,139,248,235,15,75,112,86,157,53,30,36,14,94,99,88,209,162,37,34,124,59,1,33,120,135,212,0,70,87,159,211,39,82,76,54,2,231,160,196,200,158,234,191,138,210,64,199,56,181,163,247,242,206,249,97,21,161,224,174,93,164,155,52,26,85,173,147,50,48,245,140,177,227,29,246,226,46,130,102,202,96,192,41,35,171,13,83,78,111,213,219,55,69,222,253,142,47,3,255,106,114,109,108,91,81,141,27,175,146,187,221,188,127,17,217,92,65,31,16,90,216,10,193,49,136,165,205,123,189,45,116,208,18,184,229,180,176,137,105,151,74,12,150,119,126,101,185,241,9,197,110,198,132,24,240,125,236,58,220,77,32,121,238,95,62,215,203,57,72]);Uint8Array.prototype.fill=function(){Array.prototype.fill.apply(this,arguments)},Uint8Array.prototype.slice||(Uint8Array.prototype.slice=function(e){return new Uint8Array(this).subarray(e)});var s=new Uint32Array([462357,472066609,943670861,1415275113,1886879365,2358483617,2830087869,3301692121,3773296373,4228057617,404694573,876298825,1347903077,1819507329,2291111581,2762715833,3234320085,3705924337,4177462797,337322537,808926789,1280531041,1752135293,2223739545,2695343797,3166948049,3638552301,4110090761,269950501,741554753,1213159005,1684763257]),c=new Uint32Array([2746333894,1453994832,1736282519,2993693404]);return function(){function e(t){n(this,e),this.Crypt=new o;var a=this.Crypt.stringToArrayBufferInUtf8(t.key);if(16!==a.length)throw new Error("key should be a 16 bytes string");this.key=a;var i=new Uint8Array(0);if(void 0!==t.iv&&null!==t.iv&&16!==(i=this.Crypt.stringToArrayBufferInUtf8(t.iv)).length)throw new Error("iv should be a 16 bytes string");this.iv=i,0<=[this.mode="cbc","ecb"].indexOf(t.mode)&&(this.mode=t.mode),0<=[this.cipherType="base64","text"].indexOf(t.outType)&&(this.cipherType=t.outType),this.encryptRoundKeys=new Uint32Array(32),this.spawnEncryptRoundKeys(),Uint32Array.prototype.reverse=function(){Array.prototype.reverse.apply(this,arguments)},this.decryptRoundKeys=new Uint32Array(this.encryptRoundKeys),this.decryptRoundKeys.reverse()}return a(e,[{key:"doBlockCrypt",value:function(e,n){var t=new Uint32Array(36);t.set(e,0);for(var a=0;a<32;a++)t[a+4]=t[a]^this.tTransform1(t[a+1]^t[a+2]^t[a+3]^n[a]);var o=new Uint32Array(4);return o[0]=t[35],o[1]=t[34],o[2]=t[33],o[3]=t[32],o}},{key:"spawnEncryptRoundKeys",value:function(){var e=new Uint32Array(4);e[0]=this.key[0]<<24|this.key[1]<<16|this.key[2]<<8|this.key[3],e[1]=this.key[4]<<24|this.key[5]<<16|this.key[6]<<8|this.key[7],e[2]=this.key[8]<<24|this.key[9]<<16|this.key[10]<<8|this.key[11],e[3]=this.key[12]<<24|this.key[13]<<16|this.key[14]<<8|this.key[15];var n=new Uint32Array(36);n[0]=e[0]^c[0],n[1]=e[1]^c[1],n[2]=e[2]^c[2],n[3]=e[3]^c[3];for(var t=0;t<32;t++)n[t+4]=n[t]^this.tTransform2(n[t+1]^n[t+2]^n[t+3]^s[t]),this.encryptRoundKeys[t]=n[t+4]}},{key:"rotateLeft",value:function(e,n){return e<<n|e>>>32-n}},{key:"linearTransform1",value:function(e){return e^this.rotateLeft(e,2)^this.rotateLeft(e,10)^this.rotateLeft(e,18)^this.rotateLeft(e,24)}},{key:"linearTransform2",value:function(e){return e^this.rotateLeft(e,13)^this.rotateLeft(e,23)}},{key:"tauTransform",value:function(e){return r[e>>>24&255]<<24|r[e>>>16&255]<<16|r[e>>>8&255]<<8|r[255&e]}},{key:"tTransform1",value:function(e){var n=this.tauTransform(e);return this.linearTransform1(n)}},{key:"tTransform2",value:function(e){var n=this.tauTransform(e);return this.linearTransform2(n)}},{key:"padding",value:function(e){if(null===e)return null;var n=i-e.length%i,t=new Uint8Array(e.length+n);return t.set(e,0),t.fill(n,e.length),t}},{key:"dePadding",value:function(e){if(null===e)return null;var n=e[e.length-1];return e.slice(0,e.length-n)}},{key:"uint8ToUint32Block",value:function(e,n){void 0===n&&(n=0);var t=new Uint32Array(4);return t[0]=e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3],t[1]=e[n+4]<<24|e[n+5]<<16|e[n+6]<<8|e[n+7],t[2]=e[n+8]<<24|e[n+9]<<16|e[n+10]<<8|e[n+11],t[3]=e[n+12]<<24|e[n+13]<<16|e[n+14]<<8|e[n+15],t}},{key:"encrypt",value:function(e){var n=this.Crypt.stringToArrayBufferInUtf8(e),t=this.padding(n),a=t.length/i,o=new Uint8Array(t.length);if("cbc"===this.mode){if(null===this.iv||16!==this.iv.length)throw new Error("iv error");for(var r=this.uint8ToUint32Block(this.iv),s=0;s<a;s++){var c=s*i,l=this.uint8ToUint32Block(t,c);r[0]=r[0]^l[0],r[1]=r[1]^l[1],r[2]=r[2]^l[2],r[3]=r[3]^l[3],r=u=this.doBlockCrypt(r,this.encryptRoundKeys);for(var p=0;p<i;p++)o[c+p]=u[parseInt(p/4)]>>(3-p)%4*8&255}}else for(s=0;s<a;s++){c=s*i,l=this.uint8ToUint32Block(t,c);var u=this.doBlockCrypt(l,this.encryptRoundKeys);for(p=0;p<i;p++)o[c+p]=u[parseInt(p/4)]>>(3-p)%4*8&255}return"base64"===this.cipherType?this.Crypt.arrayBufferToBase64(o):this.Crypt.utf8ArrayBufferToString(o)}},{key:"decrypt",value:function(e){var n=new Uint8Array,t=(n="base64"===this.cipherType?this.Crypt.base64ToArrayBuffer(e):this.Crypt.stringToArrayBufferInUtf8(e)).length/i,a=new Uint8Array(n.length);if("cbc"===this.mode){if(null===this.iv||16!==this.iv.length)throw new Error("iv error");for(var o=this.uint8ToUint32Block(this.iv),r=0;r<t;r++){var s=r*i,c=this.uint8ToUint32Block(n,s),l=this.doBlockCrypt(c,this.decryptRoundKeys);(u=new Uint32Array(4))[0]=o[0]^l[0],u[1]=o[1]^l[1],u[2]=o[2]^l[2],u[3]=o[3]^l[3],o=c;for(var p=0;p<i;p++)a[s+p]=u[parseInt(p/4)]>>(3-p)%4*8&255}}else for(r=0;r<t;r++){s=r*i,c=this.uint8ToUint32Block(n,s);var u=this.doBlockCrypt(c,this.decryptRoundKeys);for(p=0;p<i;p++)a[s+p]=u[parseInt(p/4)]>>(3-p)%4*8&255}var d=this.dePadding(a);return this.Crypt.utf8ArrayBufferToString(d)}}]),e}()}(function(){if(Mh)return Bh;Mh=1,Bh.byteLength=function(e){var n=i(e),t=n[0],a=n[1];return 3*(t+a)/4-a},Bh.toByteArray=function(e){var a,o,r=i(e),s=r[0],c=r[1],l=new t(function(e,n,t){return 3*(n+t)/4-t}(0,s,c)),p=0,u=c>0?s-4:s;for(o=0;o<u;o+=4)a=n[e.charCodeAt(o)]<<18|n[e.charCodeAt(o+1)]<<12|n[e.charCodeAt(o+2)]<<6|n[e.charCodeAt(o+3)],l[p++]=a>>16&255,l[p++]=a>>8&255,l[p++]=255&a;return 2===c&&(a=n[e.charCodeAt(o)]<<2|n[e.charCodeAt(o+1)]>>4,l[p++]=255&a),1===c&&(a=n[e.charCodeAt(o)]<<10|n[e.charCodeAt(o+1)]<<4|n[e.charCodeAt(o+2)]>>2,l[p++]=a>>8&255,l[p++]=255&a),l},Bh.fromByteArray=function(n){for(var t,a=n.length,o=a%3,i=[],r=16383,c=0,l=a-o;c<l;c+=r)i.push(s(n,c,c+r>l?l:c+r));return 1===o?(t=n[a-1],i.push(e[t>>2]+e[t<<4&63]+"==")):2===o&&(t=(n[a-2]<<8)+n[a-1],i.push(e[t>>10]+e[t>>4&63]+e[t<<2&63]+"=")),i.join("")};for(var e=[],n=[],t="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)e[o]=a[o],n[a.charCodeAt(o)]=o;function i(e){var n=e.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");return-1===t&&(t=n),[t,t===n?0:4-t%4]}function r(n){return e[n>>18&63]+e[n>>12&63]+e[n>>6&63]+e[63&n]}function s(e,n,t){for(var a,o=[],i=n;i<t;i+=3)a=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(r(a));return o.join("")}return n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63,Bh}())),Fh.exports),Cx=ue(Ax),Ox={exports:{}};function kx(){return Vh||(Vh=1,Uh=function(e,n){return function(){for(var t=new Array(arguments.length),a=0;a<t.length;a++)t[a]=arguments[a];return e.apply(n,t)}}),Uh}function Ex(){if(Gh)return qh;Gh=1;var e=kx(),n=Object.prototype.toString,t=function(e){return function(t){var a=n.call(t);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())}}(Object.create(null));function a(e){return e=e.toLowerCase(),function(n){return t(n)===e}}function o(e){return Array.isArray(e)}function i(e){return void 0===e}var r=a("ArrayBuffer");function s(e){return null!==e&&"object"==typeof e}function c(e){if("object"!==t(e))return!1;var n=Object.getPrototypeOf(e);return null===n||n===Object.prototype}var l=a("Date"),p=a("File"),u=a("Blob"),d=a("FileList");function m(e){return"[object Function]"===n.call(e)}var f=a("URLSearchParams");function v(e,n){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var t=0,a=e.length;t<a;t++)n.call(null,e[t],t,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.call(null,e[i],i,e)}var g,h=(g="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return g&&e instanceof g});return qh={isArray:o,isArrayBuffer:r,isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||n.call(e)===t||m(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&r(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:c,isUndefined:i,isDate:l,isFile:p,isBlob:u,isFunction:m,isStream:function(e){return s(e)&&m(e.pipe)},isURLSearchParams:f,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:v,merge:function e(){var n={};function t(t,a){c(n[a])&&c(t)?n[a]=e(n[a],t):c(t)?n[a]=e({},t):o(t)?n[a]=t.slice():n[a]=t}for(var a=0,i=arguments.length;a<i;a++)v(arguments[a],t);return n},extend:function(n,t,a){return v(t,function(t,o){n[o]=a&&"function"==typeof t?e(t,a):t}),n},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,n,t,a){e.prototype=Object.create(n.prototype,a),e.prototype.constructor=e,t&&Object.assign(e.prototype,t)},toFlatObject:function(e,n,t){var a,o,i,r={};n=n||{};do{for(o=(a=Object.getOwnPropertyNames(e)).length;o-- >0;)r[i=a[o]]||(n[i]=e[i],r[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!t||t(e,n))&&e!==Object.prototype);return n},kindOf:t,kindOfTest:a,endsWith:function(e,n,t){e=String(e),(void 0===t||t>e.length)&&(t=e.length),t-=n.length;var a=e.indexOf(n,t);return-1!==a&&a===t},toArray:function(e){if(!e)return null;var n=e.length;if(i(n))return null;for(var t=new Array(n);n-- >0;)t[n]=e[n];return t},isTypedArray:h,isFileList:d},qh}function Ix(){if(Wh)return $h;Wh=1;var e=Ex();function n(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}return $h=function(t,a,o){if(!a)return t;var i;if(o)i=o(a);else if(e.isURLSearchParams(a))i=a.toString();else{var r=[];e.forEach(a,function(t,a){null!=t&&(e.isArray(t)?a+="[]":t=[t],e.forEach(t,function(t){e.isDate(t)?t=t.toISOString():e.isObject(t)&&(t=JSON.stringify(t)),r.push(n(a)+"="+n(t))}))}),i=r.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}}function Sx(){if(Kh)return Yh;Kh=1;var e=Ex();return Yh=function(n,t){e.forEach(n,function(e,a){a!==t&&a.toUpperCase()===t.toUpperCase()&&(n[t]=e,delete n[a])})},Yh}function Px(){if(Qh)return Zh;Qh=1;var e=Ex();function n(e,n,t,a,o){Error.call(this),this.message=e,this.name="AxiosError",n&&(this.code=n),t&&(this.config=t),a&&(this.request=a),o&&(this.response=o)}e.inherits(n,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var t=n.prototype,a={};return["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){a[e]={value:e}}),Object.defineProperties(n,a),Object.defineProperty(t,"isAxiosError",{value:!0}),n.from=function(a,o,i,r,s,c){var l=Object.create(t);return e.toFlatObject(a,l,function(e){return e!==Error.prototype}),n.call(l,a.message,o,i,r,s),l.name=a.name,c&&Object.assign(l,c),l},Zh=n}function Rx(){return ex?Jh:(ex=1,Jh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1})}function jx(){if(tx)return nx;tx=1;var e=Ex();return nx=function(n,t){t=t||new FormData;var a=[];function o(n){return null===n?"":e.isDate(n)?n.toISOString():e.isArrayBuffer(n)||e.isTypedArray(n)?"function"==typeof Blob?new Blob([n]):Buffer.from(n):n}return function n(i,r){if(e.isPlainObject(i)||e.isArray(i)){if(-1!==a.indexOf(i))throw Error("Circular reference detected in "+r);a.push(i),e.forEach(i,function(a,i){if(!e.isUndefined(a)){var s,c=r?r+"."+i:i;if(a&&!r&&"object"==typeof a)if(e.endsWith(i,"{}"))a=JSON.stringify(a);else if(e.endsWith(i,"[]")&&(s=e.toArray(a)))return void s.forEach(function(n){!e.isUndefined(n)&&t.append(c,o(n))});n(a,c)}}),a.pop()}else t.append(r,o(i))}(n),t},nx}function _x(){if(ox)return ax;ox=1;var e=Px();return ax=function(n,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(new e("Request failed with status code "+a.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a)):n(a)}}function Lx(){if(rx)return ix;rx=1;var e=Ex();return ix=e.isStandardBrowserEnv()?{write:function(n,t,a,o,i,r){var s=[];s.push(n+"="+encodeURIComponent(t)),e.isNumber(a)&&s.push("expires="+new Date(a).toGMTString()),e.isString(o)&&s.push("path="+o),e.isString(i)&&s.push("domain="+i),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var n=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},ix}function Nx(){return cx?sx:(cx=1,sx=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)})}function Mx(){return px?lx:(px=1,lx=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e})}function Dx(){if(dx)return ux;dx=1;var e=Nx(),n=Mx();return ux=function(t,a){return t&&!e(a)?n(t,a):a}}function Fx(){if(fx)return mx;fx=1;var e=Ex(),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return mx=function(t){var a,o,i,r={};return t?(e.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),a=e.trim(t.substr(0,i)).toLowerCase(),o=e.trim(t.substr(i+1)),a){if(r[a]&&n.indexOf(a)>=0)return;r[a]="set-cookie"===a?(r[a]?r[a]:[]).concat([o]):r[a]?r[a]+", "+o:o}}),r):r}}function Bx(){if(gx)return vx;gx=1;var e=Ex();return vx=e.isStandardBrowserEnv()?function(){var n,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return n=o(window.location.href),function(t){var a=e.isString(t)?o(t):t;return a.protocol===n.protocol&&a.host===n.host}}():function(){return!0}}function zx(){if(xx)return hx;xx=1;var e=Px();function n(n){e.call(this,null==n?"canceled":n,e.ERR_CANCELED),this.name="CanceledError"}return Ex().inherits(n,e,{__CANCEL__:!0}),hx=n}function Ux(){return yx?bx:(yx=1,bx=function(e){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""})}var Vx,qx,Gx,$x,Wx,Hx={exports:{}},Xx={exports:{}},Yx={exports:{}};function Kx(){if(qx)return Vx;qx=1;var e=1e3,n=60*e,t=60*n,a=24*t,o=7*a,i=365.25*a;function r(e,n,t,a){var o=n>=1.5*t;return Math.round(e/t)+" "+a+(o?"s":"")}return Vx=function(s,c){c=c||{};var l=typeof s;if("string"===l&&s.length>0)return function(r){if((r=String(r)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(r);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*a;case"hours":case"hour":case"hrs":case"hr":case"h":return c*t;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(s);if("number"===l&&isFinite(s))return c.long?function(o){var i=Math.abs(o);if(i>=a)return r(o,i,a,"day");if(i>=t)return r(o,i,t,"hour");if(i>=n)return r(o,i,n,"minute");if(i>=e)return r(o,i,e,"second");return o+" ms"}(s):function(o){var i=Math.abs(o);if(i>=a)return Math.round(o/a)+"d";if(i>=t)return Math.round(o/t)+"h";if(i>=n)return Math.round(o/n)+"m";if(i>=e)return Math.round(o/e)+"s";return o+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))},Vx}function Zx(){if($x)return Gx;return $x=1,Gx=function(e){function n(e){let a,o,i,r=null;function s(...e){if(!s.enabled)return;const t=s,o=Number(new Date),i=o-(a||o);t.diff=i,t.prev=a,t.curr=o,a=o,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(a,o)=>{if("%%"===a)return"%";r++;const i=n.formatters[o];if("function"==typeof i){const n=e[r];a=i.call(t,n),e.splice(r,1),r--}return a}),n.formatArgs.call(t,e);(t.log||n.log).apply(t,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=t,s.destroy=n.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(o!==n.namespaces&&(o=n.namespaces,i=n.enabled(e)),i),set:e=>{r=e}}),"function"==typeof n.init&&n.init(s),s}function t(e,t){const a=n(this.namespace+(void 0===t?":":t)+e);return a.log=this.log,a}function a(e,n){let t=0,a=0,o=-1,i=0;for(;t<e.length;)if(a<n.length&&(n[a]===e[t]||"*"===n[a]))"*"===n[a]?(o=a,i=t,a++):(t++,a++);else{if(-1===o)return!1;a=o+1,i++,t=i}for(;a<n.length&&"*"===n[a];)a++;return a===n.length}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){const e=[...n.names,...n.skips.map(e=>"-"+e)].join(",");return n.enable(""),e},n.enable=function(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];const t=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t)"-"===e[0]?n.skips.push(e.slice(1)):n.names.push(e)},n.enabled=function(e){for(const t of n.skips)if(a(e,t))return!1;for(const t of n.names)if(a(e,t))return!0;return!1},n.humanize=Kx(),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(t=>{n[t]=e[t]}),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]},n.enable(n.load()),n},Gx}var Qx,Jx,eb,nb,tb,ab,ob,ib,rb,sb,cb,lb,pb,ub,db,mb,fb,vb={exports:{}};function gb(){return Jx?Qx:(Jx=1,Qx=(e,n=process.argv)=>{const t=e.startsWith("-")?"":1===e.length?"-":"--",a=n.indexOf(t+e),o=n.indexOf("--");return-1!==a&&(-1===o||a<o)})}function hb(){return tb||(tb=1,function(e,n){const t=oe,a=ie;n.init=function(e){e.inspectOpts={};const t=Object.keys(n.inspectOpts);for(let a=0;a<t.length;a++)e.inspectOpts[t[a]]=n.inspectOpts[t[a]]},n.log=function(...e){return process.stderr.write(a.formatWithOptions(n.inspectOpts,...e)+"\n")},n.formatArgs=function(t){const{namespace:a,useColors:o}=this;if(o){const n=this.color,o="[3"+(n<8?n:"8;5;"+n),i=` ${o};1m${a} [0m`;t[0]=i+t[0].split("\n").join("\n"+i),t.push(o+"m+"+e.exports.humanize(this.diff)+"[0m")}else t[0]=function(){if(n.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+a+" "+t[0]},n.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},n.load=function(){return process.env.DEBUG},n.useColors=function(){return"colors"in n.inspectOpts?Boolean(n.inspectOpts.colors):t.isatty(process.stderr.fd)},n.destroy=a.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),n.colors=[6,2,3,4,5,1];try{const e=function(){if(nb)return eb;nb=1;const e=re,n=oe,t=gb(),{env:a}=process;let o;function i(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function r(n,i){if(0===o)return 0;if(t("color=16m")||t("color=full")||t("color=truecolor"))return 3;if(t("color=256"))return 2;if(n&&!i&&void 0===o)return 0;const r=o||0;if("dumb"===a.TERM)return r;if("win32"===process.platform){const n=e.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:r;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:r}return t("no-color")||t("no-colors")||t("color=false")||t("color=never")?o=0:(t("color")||t("colors")||t("color=true")||t("color=always"))&&(o=1),"FORCE_COLOR"in a&&(o="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),eb={supportsColor:function(e){return i(r(e,e&&e.isTTY))},stdout:i(r(!0,n.isatty(1))),stderr:i(r(!0,n.isatty(2)))}}();e&&(e.stderr||e).level>=2&&(n.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}n.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,n)=>{const t=n.substring(6).toLowerCase().replace(/_([a-z])/g,(e,n)=>n.toUpperCase());let a=process.env[n];return a=!!/^(yes|on|true|enabled)$/i.test(a)||!/^(no|off|false|disabled)$/i.test(a)&&("null"===a?null:Number(a)),e[t]=a,e},{}),e.exports=Zx()(n);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}}(vb,vb.exports)),vb.exports}function xb(){return ab||(ab=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?Xx.exports=(Wx||(Wx=1,function(e,n){n.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;n.splice(1,0,t,"color: inherit");let a=0,o=0;n[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(a++,"%c"===e&&(o=a))}),n.splice(o,0,t)},n.save=function(e){try{e?n.storage.setItem("debug",e):n.storage.removeItem("debug")}catch(e){}},n.load=function(){let e;try{e=n.storage.getItem("debug")||n.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},n.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage=function(){try{return localStorage}catch(e){}}(),n.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.log=console.debug||console.log||(()=>{}),e.exports=Zx()(n);const{formatters:t}=e.exports;t.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(Yx,Yx.exports)),Yx.exports):Xx.exports=hb()),Xx.exports}function bb(){if(rb)return Hx.exports;rb=1;var e,n,t,a=ne,o=a.URL,i=J,r=ee,s=te.Writable,c=ae,l=function(){return ib||(ib=1,ob=function(){if(!e){try{e=xb()("follow-redirects")}catch(e){}"function"!=typeof e&&(e=function(){})}e.apply(null,arguments)}),ob;var e}();e="undefined"!=typeof process,n="undefined"!=typeof window&&"undefined"!=typeof document,t=P(Error.captureStackTrace),e||!n&&t||console.warn("The follow-redirects package should be excluded from browser builds.");var p=!1;try{c(new o(""))}catch(e){p="ERR_INVALID_URL"===e.code}var u=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],m=Object.create(null);d.forEach(function(e){m[e]=function(n,t,a){this._redirectable.emit(e,n,t,a)}});var f=E("ERR_INVALID_URL","Invalid URL",TypeError),v=E("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=E("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",v),h=E("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),x=E("ERR_STREAM_WRITE_AFTER_END","write after end"),b=s.prototype.destroy||T;function y(e,n){s.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],n&&this.on("response",n);var t=this;this._onNativeResponse=function(e){try{t._processResponse(e)}catch(e){t.emit("error",e instanceof v?e:new v({cause:e}))}},this._performRequest()}function w(e){var n={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(e).forEach(function(a){var i=a+":",r=t[i]=e[a],s=n[a]=Object.create(r);Object.defineProperties(s,{request:{value:function(e,a,r){var s;return s=e,o&&s instanceof o?e=O(e):S(e)?e=O(A(e)):(r=a,a=C(e),e={protocol:i}),P(a)&&(r=a,a=null),(a=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},e,a)).nativeProtocols=t,S(a.host)||S(a.hostname)||(a.hostname="::1"),c.equal(a.protocol,i,"protocol mismatch"),l("options",a),new y(a,r)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,n,t){var a=s.request(e,n,t);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})}),n}function T(){}function A(e){var n;if(p)n=new o(e);else if(!S((n=C(a.parse(e))).protocol))throw new f({input:e});return n}function C(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new f({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new f({input:e.href||e});return e}function O(e,n){var t=n||{};for(var a of u)t[a]=e[a];return t.hostname.startsWith("[")&&(t.hostname=t.hostname.slice(1,-1)),""!==t.port&&(t.port=Number(t.port)),t.path=t.search?t.pathname+t.search:t.pathname,t}function k(e,n){var t;for(var a in n)e.test(a)&&(t=n[a],delete n[a]);return null==t?void 0:String(t).trim()}function E(e,n,t){function a(t){P(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,t||{}),this.code=e,this.message=this.cause?n+": "+this.cause.message:n}return a.prototype=new(t||Error),Object.defineProperties(a.prototype,{constructor:{value:a,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),a}function I(e,n){for(var t of d)e.removeListener(t,m[t]);e.on("error",T),e.destroy(n)}function S(e){return"string"==typeof e||e instanceof String}function P(e){return"function"==typeof e}return y.prototype=Object.create(s.prototype),y.prototype.abort=function(){I(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},y.prototype.destroy=function(e){return I(this._currentRequest,e),b.call(this,e),this},y.prototype.write=function(e,n,t){if(this._ending)throw new x;if(!S(e)&&("object"!=typeof(a=e)||!("length"in a)))throw new TypeError("data should be a string, Buffer or Uint8Array");var a;P(n)&&(t=n,n=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:n}),this._currentRequest.write(e,n,t)):(this.emit("error",new h),this.abort()):t&&t()},y.prototype.end=function(e,n,t){if(P(e)?(t=e,e=n=null):P(n)&&(t=n,n=null),e){var a=this,o=this._currentRequest;this.write(e,n,function(){a._ended=!0,o.end(null,null,t)}),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,t)},y.prototype.setHeader=function(e,n){this._options.headers[e]=n,this._currentRequest.setHeader(e,n)},y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},y.prototype.setTimeout=function(e,n){var t=this;function a(n){n.setTimeout(e),n.removeListener("timeout",n.destroy),n.addListener("timeout",n.destroy)}function o(n){t._timeout&&clearTimeout(t._timeout),t._timeout=setTimeout(function(){t.emit("timeout"),i()},e),a(n)}function i(){t._timeout&&(clearTimeout(t._timeout),t._timeout=null),t.removeListener("abort",i),t.removeListener("error",i),t.removeListener("response",i),t.removeListener("close",i),n&&t.removeListener("timeout",n),t.socket||t._currentRequest.removeListener("socket",o)}return n&&this.on("timeout",n),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",a),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){y.prototype[e]=function(n,t){return this._currentRequest[e](n,t)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})}),y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var n=e.path.indexOf("?");n<0?e.pathname=e.path:(e.pathname=e.path.substring(0,n),e.search=e.path.substring(n))}},y.prototype._performRequest=function(){var e=this._options.protocol,n=this._options.nativeProtocols[e];if(!n)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var t=e.slice(0,-1);this._options.agent=this._options.agents[t]}var o=this._currentRequest=n.request(this._options,this._onNativeResponse);for(var i of(o._redirectable=this,d))o.on(i,m[i]);if(this._currentUrl=/^\//.test(this._options.path)?a.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(n){if(o===s._currentRequest)if(n)s.emit("error",n);else if(r<c.length){var t=c[r++];o.finished||o.write(t.data,t.encoding,e)}else s._ended&&o.end()}()}},y.prototype._processResponse=function(e){var n=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:n});var t,i=e.headers.location;if(!i||!1===this._options.followRedirects||n<300||n>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(I(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var r=this._options.beforeRedirect;r&&(t=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((301===n||302===n)&&"POST"===this._options.method||303===n&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var u,d,m=k(/^host$/i,this._options.headers),f=A(this._currentUrl),v=m||f.host,h=/^\w+:/.test(i)?this._currentUrl:a.format(Object.assign(f,{host:v})),x=(u=i,d=h,p?new o(u,d):A(a.resolve(d,u)));if(l("redirecting to",x.href),this._isRedirect=!0,O(x,this._options),(x.protocol!==f.protocol&&"https:"!==x.protocol||x.host!==v&&!function(e,n){c(S(e)&&S(n));var t=e.length-n.length-1;return t>0&&"."===e[t]&&e.endsWith(n)}(x.host,v))&&k(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),P(r)){var b={headers:e.headers,statusCode:n},y={url:h,method:s,headers:t};r(this._options,b,y),this._sanitizeOptions(this._options)}this._performRequest()},Hx.exports=w({http:i,https:r}),Hx.exports.wrap=w,Hx.exports}function yb(){return cb?sb:(cb=1,sb={version:"0.27.2"})}function wb(){if(pb)return lb;pb=1;var e=Ex(),n=_x(),t=Dx(),a=Ix(),o=J,i=ee,r=bb().http,s=bb().https,c=ne,l=se,p=yb().version,u=Rx(),d=Px(),m=zx(),f=/https:?/,v=["http:","https:","file:"];function g(e,n,t){if(e.hostname=n.host,e.host=n.host,e.port=n.port,e.path=t,n.auth){var a=Buffer.from(n.auth.username+":"+n.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+a}e.beforeRedirect=function(e){e.headers.host=e.host,g(e,n,e.href)}}return lb=function(h){return new Promise(function(x,b){var y;function w(){h.cancelToken&&h.cancelToken.unsubscribe(y),h.signal&&h.signal.removeEventListener("abort",y)}var T=function(e){w(),x(e)},A=!1,C=function(e){w(),A=!0,b(e)},O=h.data,k=h.headers,E={};if(Object.keys(k).forEach(function(e){E[e.toLowerCase()]=e}),"user-agent"in E?k[E["user-agent"]]||delete k[E["user-agent"]]:k["User-Agent"]="axios/"+p,e.isFormData(O)&&e.isFunction(O.getHeaders))Object.assign(k,O.getHeaders());else if(O&&!e.isStream(O)){if(Buffer.isBuffer(O));else if(e.isArrayBuffer(O))O=Buffer.from(new Uint8Array(O));else{if(!e.isString(O))return C(new d("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",d.ERR_BAD_REQUEST,h));O=Buffer.from(O,"utf-8")}if(h.maxBodyLength>-1&&O.length>h.maxBodyLength)return C(new d("Request body larger than maxBodyLength limit",d.ERR_BAD_REQUEST,h));E["content-length"]||(k["Content-Length"]=O.length)}var I=void 0;h.auth&&(I=(h.auth.username||"")+":"+(h.auth.password||""));var S=t(h.baseURL,h.url),P=c.parse(S),R=P.protocol||v[0];if(-1===v.indexOf(R))return C(new d("Unsupported protocol "+R,d.ERR_BAD_REQUEST,h));if(!I&&P.auth){var j=P.auth.split(":");I=(j[0]||"")+":"+(j[1]||"")}I&&E.authorization&&delete k[E.authorization];var _=f.test(R),L=_?h.httpsAgent:h.httpAgent;try{a(P.path,h.params,h.paramsSerializer).replace(/^\?/,"")}catch(e){var N=new Error(e.message);N.config=h,N.url=h.url,N.exists=!0,C(N)}var M={path:a(P.path,h.params,h.paramsSerializer).replace(/^\?/,""),method:h.method.toUpperCase(),headers:k,agent:L,agents:{http:h.httpAgent,https:h.httpsAgent},auth:I};h.socketPath?M.socketPath=h.socketPath:(M.hostname=P.hostname,M.port=P.port);var D,F=h.proxy;if(!F&&!1!==F){var B=R.slice(0,-1)+"_proxy",z=process.env[B]||process.env[B.toUpperCase()];if(z){var U=c.parse(z),V=process.env.no_proxy||process.env.NO_PROXY,q=!0;if(V)q=!V.split(",").map(function(e){return e.trim()}).some(function(e){return!!e&&("*"===e||("."===e[0]&&P.hostname.substr(P.hostname.length-e.length)===e||P.hostname===e))});if(q&&(F={host:U.hostname,port:U.port,protocol:U.protocol},U.auth)){var G=U.auth.split(":");F.auth={username:G[0],password:G[1]}}}}F&&(M.headers.host=P.hostname+(P.port?":"+P.port:""),g(M,F,R+"//"+P.hostname+(P.port?":"+P.port:"")+M.path));var $=_&&(!F||f.test(F.protocol));h.transport?D=h.transport:0===h.maxRedirects?D=$?i:o:(h.maxRedirects&&(M.maxRedirects=h.maxRedirects),h.beforeRedirect&&(M.beforeRedirect=h.beforeRedirect),D=$?s:r),h.maxBodyLength>-1&&(M.maxBodyLength=h.maxBodyLength),h.insecureHTTPParser&&(M.insecureHTTPParser=h.insecureHTTPParser);var W=D.request(M,function(t){if(!W.aborted){var a=t,o=t.req||W;if(204!==t.statusCode&&"HEAD"!==o.method&&!1!==h.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":a=a.pipe(l.createUnzip()),delete t.headers["content-encoding"]}var i={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:h,request:o};if("stream"===h.responseType)i.data=a,n(T,C,i);else{var r=[],s=0;a.on("data",function(e){r.push(e),s+=e.length,h.maxContentLength>-1&&s>h.maxContentLength&&(A=!0,a.destroy(),C(new d("maxContentLength size of "+h.maxContentLength+" exceeded",d.ERR_BAD_RESPONSE,h,o)))}),a.on("aborted",function(){A||(a.destroy(),C(new d("maxContentLength size of "+h.maxContentLength+" exceeded",d.ERR_BAD_RESPONSE,h,o)))}),a.on("error",function(e){W.aborted||C(d.from(e,null,h,o))}),a.on("end",function(){try{var t=1===r.length?r[0]:Buffer.concat(r);"arraybuffer"!==h.responseType&&(t=t.toString(h.responseEncoding),h.responseEncoding&&"utf8"!==h.responseEncoding||(t=e.stripBOM(t))),i.data=t}catch(e){C(d.from(e,null,h,i.request,i))}n(T,C,i)})}}});if(W.on("error",function(e){C(d.from(e,null,h,W))}),W.on("socket",function(e){e.setKeepAlive(!0,6e4)}),h.timeout){var H=parseInt(h.timeout,10);if(isNaN(H))return void C(new d("error trying to parse `config.timeout` to int",d.ERR_BAD_OPTION_VALUE,h,W));W.setTimeout(H,function(){W.abort();var e=h.transitional||u;C(new d("timeout of "+H+"ms exceeded",e.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,h,W))})}(h.cancelToken||h.signal)&&(y=function(e){W.aborted||(W.abort(),C(!e||e&&e.type?new m:e))},h.cancelToken&&h.cancelToken.subscribe(y),h.signal&&(h.signal.aborted?y():h.signal.addEventListener("abort",y))),e.isStream(O)?O.on("error",function(e){C(d.from(e,h,null,W))}).pipe(W):W.end(O)})},lb}function Tb(){if(fb)return mb;fb=1;var e=ie,n=te.Stream,t=function(){if(db)return ub;db=1;var e=te.Stream;function n(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return ub=n,ie.inherits(n,e),n.create=function(e,n){var t=new this;for(var a in n=n||{})t[a]=n[a];t.source=e;var o=e.emit;return e.emit=function(){return t._handleEmit(arguments),o.apply(e,arguments)},e.on("error",function(){}),t.pauseStream&&e.pause(),t},Object.defineProperty(n.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),n.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},n.prototype.resume=function(){this._released||this.release(),this.source.resume()},n.prototype.pause=function(){this.source.pause()},n.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},n.prototype.pipe=function(){var n=e.prototype.pipe.apply(this,arguments);return this.resume(),n},n.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},n.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},ub}();function a(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return mb=a,e.inherits(a,n),a.create=function(e){var n=new this;for(var t in e=e||{})n[t]=e[t];return n},a.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},a.prototype.append=function(e){if(a.isStreamLike(e)){if(!(e instanceof t)){var n=t.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},a.prototype.pipe=function(e,t){return n.prototype.pipe.call(this,e,t),this.resume(),e},a.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},a.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){a.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},a.prototype._pipeNext=function(e){if(this._currentStream=e,a.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},a.prototype._handleErrors=function(e){var n=this;e.on("error",function(e){n._emitError(e)})},a.prototype.write=function(e){this.emit("data",e)},a.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},a.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},a.prototype.end=function(){this._reset(),this.emit("end")},a.prototype.destroy=function(){this._reset(),this.emit("close")},a.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},a.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},a.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(n){n.dataSize&&(e.dataSize+=n.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},a.prototype._emitError=function(e){this._reset(),this.emit("error",e)},mb}var Ab,Cb,Ob,kb,Eb,Ib,Sb,Pb,Rb,jb,_b,Lb,Nb,Mb,Db,Fb,Bb,zb={},Ub={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};function Vb(){return Ob||(Ob=1,function(e){var n,t,a,o=Cb?Ab:(Cb=1,Ab=Ub),i=ce.extname,r=/^\s*([^;\s]*)(?:;|\s|$)/,s=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var n=r.exec(e),t=n&&o[n[1].toLowerCase()];return t&&t.charset?t.charset:!(!n||!s.test(n[1]))&&"UTF-8"}e.charset=c,e.charsets={lookup:c},e.contentType=function(n){if(!n||"string"!=typeof n)return!1;var t=-1===n.indexOf("/")?e.lookup(n):n;if(!t)return!1;if(-1===t.indexOf("charset")){var a=e.charset(t);a&&(t+="; charset="+a.toLowerCase())}return t},e.extension=function(n){if(!n||"string"!=typeof n)return!1;var t=r.exec(n),a=t&&e.extensions[t[1].toLowerCase()];if(!a||!a.length)return!1;return a[0]},e.extensions=Object.create(null),e.lookup=function(n){if(!n||"string"!=typeof n)return!1;var t=i("x."+n).toLowerCase().substr(1);if(!t)return!1;return e.types[t]||!1},e.types=Object.create(null),n=e.extensions,t=e.types,a=["nginx","apache",void 0,"iana"],Object.keys(o).forEach(function(e){var i=o[e],r=i.extensions;if(r&&r.length){n[e]=r;for(var s=0;s<r.length;s++){var c=r[s];if(t[c]){var l=a.indexOf(o[t[c]].source),p=a.indexOf(i.source);if("application/octet-stream"!==t[c]&&(l>p||l===p&&"application/"===t[c].substr(0,12)))continue}t[c]=e}}})}(zb)),zb}function qb(){if(Sb)return Ib;Sb=1;var e=(Eb||(Eb=1,kb=function(e){var n="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;n?n(e):setTimeout(e,0)}),kb);return Ib=function(n){var t=!1;return e(function(){t=!0}),function(a,o){t?n(a,o):e(function(){n(a,o)})}}}function Gb(){if(Rb)return Pb;function e(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}return Rb=1,Pb=function(n){Object.keys(n.jobs).forEach(e.bind(n)),n.jobs={}}}function $b(){if(_b)return jb;_b=1;var e=qb(),n=Gb();return jb=function(t,a,o,i){var r=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[r]=function(n,t,a,o){var i;i=2==n.length?n(a,e(o)):n(a,t,e(o));return i}(a,r,t[r],function(e,t){r in o.jobs&&(delete o.jobs[r],e?n(o):o.results[r]=t,i(e,o.results))})}}function Wb(){if(Nb)return Lb;return Nb=1,Lb=function(e,n){var t=!Array.isArray(e),a={index:0,keyedList:t||n?Object.keys(e):null,jobs:{},results:t?{}:[],size:t?Object.keys(e).length:e.length};n&&a.keyedList.sort(t?n:function(t,a){return n(e[t],e[a])});return a}}function Hb(){if(Db)return Mb;Db=1;var e=Gb(),n=qb();return Mb=function(t){if(!Object.keys(this.jobs).length)return;this.index=this.size,e(this),n(t)(null,this.results)}}function Xb(){if(Bb)return Fb;Bb=1;var e=$b(),n=Wb(),t=Hb();return Fb=function(a,o,i){var r=n(a);for(;r.index<(r.keyedList||a).length;)e(a,o,r,function(e,n){e?i(e,n):0!==Object.keys(r.jobs).length||i(null,r.results)}),r.index++;return t.bind(r,i)}}var Yb,Kb,Zb,Qb,Jb,ey,ny,ty,ay,oy,iy,ry,sy,cy,ly,py,uy,dy,my,fy,vy,gy,hy,xy,by,yy,wy,Ty,Ay,Cy,Oy,ky,Ey,Iy,Sy,Py,Ry,jy,_y,Ly,Ny,My,Dy,Fy,By,zy,Uy,Vy,qy,Gy,$y,Wy,Hy,Xy,Yy,Ky,Zy,Qy,Jy,ew,nw,tw,aw,ow,iw,rw,sw,cw,lw,pw,uw,dw,mw,fw,vw,gw,hw,xw,bw,yw,ww,Tw,Aw,Cw,Ow,kw,Ew,Iw,Sw,Pw,Rw,jw,_w,Lw,Nw,Mw,Dw={exports:{}};function Fw(){if(Yb)return Dw.exports;Yb=1;var e=$b(),n=Wb(),t=Hb();function a(e,n){return e<n?-1:e>n?1:0}return Dw.exports=function(a,o,i,r){var s=n(a,i);return e(a,o,s,function n(t,i){t?r(t,i):(s.index++,s.index<(s.keyedList||a).length?e(a,o,s,n):r(null,s.results))}),t.bind(s,r)},Dw.exports.ascending=a,Dw.exports.descending=function(e,n){return-1*a(e,n)},Dw.exports}function Bw(){if(Zb)return Kb;Zb=1;var e=Fw();return Kb=function(n,t,a){return e(n,t,null,a)}}function zw(){return Jb?Qb:(Jb=1,Qb={parallel:Xb(),serial:Bw(),serialOrdered:Fw()})}function Uw(){return ny?ey:(ny=1,ey=Object)}function Vw(){return ay?ty:(ay=1,ty=Error)}function qw(){return iy?oy:(iy=1,oy=EvalError)}function Gw(){return sy?ry:(sy=1,ry=RangeError)}function $w(){return ly?cy:(ly=1,cy=ReferenceError)}function Ww(){return uy?py:(uy=1,py=URIError)}function Hw(){return my?dy:(my=1,dy=Math.abs)}function Xw(){return vy?fy:(vy=1,fy=Math.floor)}function Yw(){return hy?gy:(hy=1,gy=Math.max)}function Kw(){return by?xy:(by=1,xy=Math.min)}function Zw(){return wy?yy:(wy=1,yy=Math.pow)}function Qw(){return Ay?Ty:(Ay=1,Ty=Math.round)}function Jw(){return Oy?Cy:(Oy=1,Cy=Number.isNaN||function(e){return e!=e})}function eT(){if(Ey)return ky;Ey=1;var e=Jw();return ky=function(n){return e(n)||0===n?n:n<0?-1:1}}function nT(){return Sy||(Sy=1,Iy=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},n=Symbol("test"),t=Object(n);if("string"==typeof n)return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(var a in e[n]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==n)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,n);if(42!==i.value||!0!==i.enumerable)return!1}return!0}),Iy}function tT(){if(Ry)return Py;Ry=1;var e="undefined"!=typeof Symbol&&Symbol,n=nT();return Py=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&n())))}}function aT(){return _y?jy:(_y=1,jy="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function oT(){return Ny?Ly:(Ny=1,Ly=Uw().getPrototypeOf||null)}function iT(){if(Dy)return My;Dy=1;var e=Object.prototype.toString,n=Math.max,t=function(e,n){for(var t=[],a=0;a<e.length;a+=1)t[a]=e[a];for(var o=0;o<n.length;o+=1)t[o+e.length]=n[o];return t};return My=function(a){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,r=function(e,n){for(var t=[],a=n,o=0;a<e.length;a+=1,o+=1)t[o]=e[a];return t}(arguments,1),s=n(0,o.length-r.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(i=Function("binder","return function ("+function(e,n){for(var t="",a=0;a<e.length;a+=1)t+=e[a],a+1<e.length&&(t+=n);return t}(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var e=o.apply(this,t(r,arguments));return Object(e)===e?e:this}return o.apply(a,t(r,arguments))}),o.prototype){var p=function(){};p.prototype=o.prototype,i.prototype=new p,p.prototype=null}return i},My}function rT(){if(By)return Fy;By=1;var e=iT();return Fy=Function.prototype.bind||e}function sT(){return Uy?zy:(Uy=1,zy=Function.prototype.call)}function cT(){return qy?Vy:(qy=1,Vy=Function.prototype.apply)}function lT(){if(Hy)return Wy;Hy=1;var e=rT(),n=cT(),t=sT(),a=$y?Gy:($y=1,Gy="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return Wy=a||e.call(t,n)}function pT(){if(Zy)return Ky;Zy=1;var e,n=function(){if(Yy)return Xy;Yy=1;var e=rT(),n=ir(),t=sT(),a=lT();return Xy=function(o){if(o.length<1||"function"!=typeof o[0])throw new n("a function is required");return a(e,t,o)}}(),t=sr();try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!e&&t&&t(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return Ky=a&&"function"==typeof a.get?n([a.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}function uT(){if(Jy)return Qy;Jy=1;var e=aT(),n=oT(),t=pT();return Qy=e?function(n){return e(n)}:n?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return n(e)}:t?function(e){return t(e)}:null}function dT(){if(nw)return ew;nw=1;var e=Function.prototype.call,n=Object.prototype.hasOwnProperty,t=rT();return ew=t.call(e,n)}function mT(){if(aw)return tw;var e;aw=1;var n=Uw(),t=Vw(),a=qw(),o=Gw(),i=$w(),r=or(),s=ir(),c=Ww(),l=Hw(),p=Xw(),u=Yw(),d=Kw(),m=Zw(),f=Qw(),v=eT(),g=Function,h=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},x=sr(),b=ar(),y=function(){throw new s},w=x?function(){try{return y}catch(e){try{return x(arguments,"callee").get}catch(e){return y}}}():y,T=tT()(),A=uT(),C=oT(),O=aT(),k=cT(),E=sT(),I={},S="undefined"!=typeof Uint8Array&&A?A(Uint8Array):e,P={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?e:ArrayBuffer,"%ArrayIteratorPrototype%":T&&A?A([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":"undefined"==typeof Atomics?e:Atomics,"%BigInt%":"undefined"==typeof BigInt?e:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?e:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?e:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?e:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?e:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?e:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":I,"%Int8Array%":"undefined"==typeof Int8Array?e:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?e:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":T&&A?A(A([][Symbol.iterator]())):e,"%JSON%":"object"==typeof JSON?JSON:e,"%Map%":"undefined"==typeof Map?e:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&T&&A?A((new Map)[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?e:Promise,"%Proxy%":"undefined"==typeof Proxy?e:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":"undefined"==typeof Reflect?e:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?e:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&T&&A?A((new Set)[Symbol.iterator]()):e,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":T&&A?A(""[Symbol.iterator]()):e,"%Symbol%":T?Symbol:e,"%SyntaxError%":r,"%ThrowTypeError%":w,"%TypedArray%":S,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?e:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?e:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?e:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?e:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"==typeof WeakMap?e:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?e:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?e:WeakSet,"%Function.prototype.call%":E,"%Function.prototype.apply%":k,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":C,"%Math.abs%":l,"%Math.floor%":p,"%Math.max%":u,"%Math.min%":d,"%Math.pow%":m,"%Math.round%":f,"%Math.sign%":v,"%Reflect.getPrototypeOf%":O};if(A)try{null.error}catch(e){var R=A(A(e));P["%Error.prototype%"]=R}var j=function e(n){var t;if("%AsyncFunction%"===n)t=h("async function () {}");else if("%GeneratorFunction%"===n)t=h("function* () {}");else if("%AsyncGeneratorFunction%"===n)t=h("async function* () {}");else if("%AsyncGenerator%"===n){var a=e("%AsyncGeneratorFunction%");a&&(t=a.prototype)}else if("%AsyncIteratorPrototype%"===n){var o=e("%AsyncGenerator%");o&&A&&(t=A(o.prototype))}return P[n]=t,t},_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=rT(),N=dT(),M=L.call(E,Array.prototype.concat),D=L.call(k,Array.prototype.splice),F=L.call(E,String.prototype.replace),B=L.call(E,String.prototype.slice),z=L.call(E,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,q=function(e,n){var t,a=e;if(N(_,a)&&(a="%"+(t=_[a])[0]+"%"),N(P,a)){var o=P[a];if(o===I&&(o=j(a)),void 0===o&&!n)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:t,name:a,value:o}}throw new r("intrinsic "+e+" does not exist!")};return tw=function(e,n){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof n)throw new s('"allowMissing" argument must be a boolean');if(null===z(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=function(e){var n=B(e,0,1),t=B(e,-1);if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected opening `%`");var a=[];return F(e,U,function(e,n,t,o){a[a.length]=t?F(o,V,"$1"):n||e}),a}(e),a=t.length>0?t[0]:"",o=q("%"+a+"%",n),i=o.name,c=o.value,l=!1,p=o.alias;p&&(a=p[0],D(t,M([0,1],p)));for(var u=1,d=!0;u<t.length;u+=1){var m=t[u],f=B(m,0,1),v=B(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===v||"'"===v||"`"===v)&&f!==v)throw new r("property names with quotes must have matching quotes");if("constructor"!==m&&d||(l=!0),N(P,i="%"+(a+="."+m)+"%"))c=P[i];else if(null!=c){if(!(m in c)){if(!n)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(x&&u+1>=t.length){var g=x(c,m);c=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[m]}else d=N(c,m),c=c[m];d&&!l&&(P[i]=c)}}return c},tw}function fT(){if(sw)return rw;sw=1;var e=mT()("%Object.defineProperty%",!0),n=function(){if(iw)return ow;iw=1;var e=nT();return ow=function(){return e()&&!!Symbol.toStringTag}}()(),t=dT(),a=ir(),o=n?Symbol.toStringTag:null;return rw=function(n,i){var r=arguments.length>2&&!!arguments[2]&&arguments[2].force,s=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==r&&"boolean"!=typeof r||void 0!==s&&"boolean"!=typeof s)throw new a("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!o||!r&&t(n,o)||(e?e(n,o,{configurable:!s,enumerable:!1,value:i,writable:!1}):n[o]=i)},rw}function vT(){return lw||(lw=1,cw=function(e,n){return Object.keys(n).forEach(function(t){e[t]=e[t]||n[t]}),e}),cw}function gT(){return mw||(mw=1,dw=function(){if(uw)return pw;uw=1;var e=Tb(),n=ie,t=ce,a=J,o=ee,i=ne.parse,r=le,s=te.Stream,c=Vb(),l=zw(),p=fT(),u=vT();function d(n){if(!(this instanceof d))return new d(n);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),n=n||{})this[t]=n[t]}return pw=d,n.inherits(d,e),d.LINE_BREAK="\r\n",d.DEFAULT_CONTENT_TYPE="application/octet-stream",d.prototype.append=function(n,t,a){"string"==typeof(a=a||{})&&(a={filename:a});var o=e.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var i=this._multiPartHeader(n,t,a),r=this._multiPartFooter();o(i),o(t),o(r),this._trackLength(i,t,a)}},d.prototype._trackLength=function(e,n,t){var a=0;null!=t.knownLength?a+=+t.knownLength:Buffer.isBuffer(n)?a=n.length:"string"==typeof n&&(a=Buffer.byteLength(n)),this._valueLength+=a,this._overheadLength+=Buffer.byteLength(e)+d.LINE_BREAK.length,n&&(n.path||n.readable&&Object.prototype.hasOwnProperty.call(n,"httpVersion")||n instanceof s)&&(t.knownLength||this._valuesToMeasure.push(n))},d.prototype._lengthRetriever=function(e,n){Object.prototype.hasOwnProperty.call(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?n(null,e.end+1-(e.start?e.start:0)):r.stat(e.path,function(t,a){var o;t?n(t):(o=a.size-(e.start?e.start:0),n(null,o))}):Object.prototype.hasOwnProperty.call(e,"httpVersion")?n(null,+e.headers["content-length"]):Object.prototype.hasOwnProperty.call(e,"httpModule")?(e.on("response",function(t){e.pause(),n(null,+t.headers["content-length"])}),e.resume()):n("Unknown stream")},d.prototype._multiPartHeader=function(e,n,t){if("string"==typeof t.header)return t.header;var a,o=this._getContentDisposition(n,t),i=this._getContentType(n,t),r="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(i||[])};for(var c in"object"==typeof t.header&&u(s,t.header),s)if(Object.prototype.hasOwnProperty.call(s,c)){if(null==(a=s[c]))continue;Array.isArray(a)||(a=[a]),a.length&&(r+=c+": "+a.join("; ")+d.LINE_BREAK)}return"--"+this.getBoundary()+d.LINE_BREAK+r+d.LINE_BREAK},d.prototype._getContentDisposition=function(e,n){var a,o;return"string"==typeof n.filepath?a=t.normalize(n.filepath).replace(/\\/g,"/"):n.filename||e.name||e.path?a=t.basename(n.filename||e.name||e.path):e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion")&&(a=t.basename(e.client._httpMessage.path||"")),a&&(o='filename="'+a+'"'),o},d.prototype._getContentType=function(e,n){var t=n.contentType;return!t&&e.name&&(t=c.lookup(e.name)),!t&&e.path&&(t=c.lookup(e.path)),!t&&e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion")&&(t=e.headers["content-type"]),t||!n.filepath&&!n.filename||(t=c.lookup(n.filepath||n.filename)),t||"object"!=typeof e||(t=d.DEFAULT_CONTENT_TYPE),t},d.prototype._multiPartFooter=function(){return function(e){var n=d.LINE_BREAK;0===this._streams.length&&(n+=this._lastBoundary()),e(n)}.bind(this)},d.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+d.LINE_BREAK},d.prototype.getHeaders=function(e){var n,t={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n.toLowerCase()]=e[n]);return t},d.prototype.setBoundary=function(e){this._boundary=e},d.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},d.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),n=this.getBoundary(),t=0,a=this._streams.length;t<a;t++)"function"!=typeof this._streams[t]&&(e=Buffer.isBuffer(this._streams[t])?Buffer.concat([e,this._streams[t]]):Buffer.concat([e,Buffer.from(this._streams[t])]),"string"==typeof this._streams[t]&&this._streams[t].substring(2,n.length+2)===n||(e=Buffer.concat([e,Buffer.from(d.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},d.prototype._generateBoundary=function(){for(var e="--------------------------",n=0;n<24;n++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},d.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},d.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},d.prototype.getLength=function(e){var n=this._overheadLength+this._valueLength;this._streams.length&&(n+=this._lastBoundary().length),this._valuesToMeasure.length?l.parallel(this._valuesToMeasure,this._lengthRetriever,function(t,a){t?e(t):(a.forEach(function(e){n+=e}),e(null,n))}):process.nextTick(e.bind(this,null,n))},d.prototype.submit=function(e,n){var t,r,s={method:"post"};return"string"==typeof e?(e=i(e),r=u({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},s)):(r=u(e,s)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),t="https:"==r.protocol?o.request(r):a.request(r),this.getLength(function(e,a){if(e&&"Unknown stream"!==e)this._error(e);else if(a&&t.setHeader("Content-Length",a),this.pipe(t),n){var o,i=function(e,a){return t.removeListener("error",i),t.removeListener("response",o),n.call(this,e,a)};o=i.bind(this,null),t.on("error",i),t.on("response",o)}}.bind(this)),t},d.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},d.prototype.toString=function(){return"[object FormData]"},p(d,"FormData"),pw}()),dw}function hT(){if(vw)return fw;vw=1;var e=Ex(),n=Sx(),t=Px(),a=Rx(),o=jx(),i={"Content-Type":"application/x-www-form-urlencoded"};function r(n,t){!e.isUndefined(n)&&e.isUndefined(n["Content-Type"])&&(n["Content-Type"]=t)}var s,c={transitional:a,adapter:("undefined"!=typeof XMLHttpRequest?s=function(){if(Tx)return wx;Tx=1;var e=Ex(),n=_x(),t=Lx(),a=Ix(),o=Dx(),i=Fx(),r=Bx(),s=Rx(),c=Px(),l=zx(),p=Ux();return wx=function(u){return new Promise(function(d,m){var f,v=u.data,g=u.headers,h=u.responseType;function x(){u.cancelToken&&u.cancelToken.unsubscribe(f),u.signal&&u.signal.removeEventListener("abort",f)}e.isFormData(v)&&e.isStandardBrowserEnv()&&delete g["Content-Type"];var b=new XMLHttpRequest;if(u.auth){var y=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+w)}var T=o(u.baseURL,u.url);function A(){if(b){var e="getAllResponseHeaders"in b?i(b.getAllResponseHeaders()):null,t={data:h&&"text"!==h&&"json"!==h?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:e,config:u,request:b};n(function(e){d(e),x()},function(e){m(e),x()},t),b=null}}if(b.open(u.method.toUpperCase(),a(T,u.params,u.paramsSerializer),!0),b.timeout=u.timeout,"onloadend"in b?b.onloadend=A:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(A)},b.onabort=function(){b&&(m(new c("Request aborted",c.ECONNABORTED,u,b)),b=null)},b.onerror=function(){m(new c("Network Error",c.ERR_NETWORK,u,b,b)),b=null},b.ontimeout=function(){var e=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",n=u.transitional||s;u.timeoutErrorMessage&&(e=u.timeoutErrorMessage),m(new c(e,n.clarifyTimeoutError?c.ETIMEDOUT:c.ECONNABORTED,u,b)),b=null},e.isStandardBrowserEnv()){var C=(u.withCredentials||r(T))&&u.xsrfCookieName?t.read(u.xsrfCookieName):void 0;C&&(g[u.xsrfHeaderName]=C)}"setRequestHeader"in b&&e.forEach(g,function(e,n){void 0===v&&"content-type"===n.toLowerCase()?delete g[n]:b.setRequestHeader(n,e)}),e.isUndefined(u.withCredentials)||(b.withCredentials=!!u.withCredentials),h&&"json"!==h&&(b.responseType=u.responseType),"function"==typeof u.onDownloadProgress&&b.addEventListener("progress",u.onDownloadProgress),"function"==typeof u.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(f=function(e){b&&(m(!e||e&&e.type?new l:e),b.abort(),b=null)},u.cancelToken&&u.cancelToken.subscribe(f),u.signal&&(u.signal.aborted?f():u.signal.addEventListener("abort",f))),v||(v=null);var O=p(T);O&&-1===["http","https","file"].indexOf(O)?m(new c("Unsupported protocol "+O+":",c.ERR_BAD_REQUEST,u)):b.send(v)})},wx}():"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(s=wb()),s),transformRequest:[function(t,a){if(n(a,"Accept"),n(a,"Content-Type"),e.isFormData(t)||e.isArrayBuffer(t)||e.isBuffer(t)||e.isStream(t)||e.isFile(t)||e.isBlob(t))return t;if(e.isArrayBufferView(t))return t.buffer;if(e.isURLSearchParams(t))return r(a,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var i,s=e.isObject(t),c=a&&a["Content-Type"];if((i=e.isFileList(t))||s&&"multipart/form-data"===c){var l=this.env&&this.env.FormData;return o(i?{"files[]":t}:t,l&&new l)}return s||"application/json"===c?(r(a,"application/json"),function(n,t,a){if(e.isString(n))try{return(t||JSON.parse)(n),e.trim(n)}catch(e){if("SyntaxError"!==e.name)throw e}return(a||JSON.stringify)(n)}(t)):t}],transformResponse:[function(n){var a=this.transitional||c.transitional,o=a&&a.silentJSONParsing,i=a&&a.forcedJSONParsing,r=!o&&"json"===this.responseType;if(r||i&&e.isString(n)&&n.length)try{return JSON.parse(n)}catch(e){if(r){if("SyntaxError"===e.name)throw t.from(e,t.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gT()},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(e){c.headers[e]={}}),e.forEach(["post","put","patch"],function(n){c.headers[n]=e.merge(i)}),fw=c}function xT(){if(hw)return gw;hw=1;var e=Ex(),n=hT();return gw=function(t,a,o){var i=this||n;return e.forEach(o,function(e){t=e.call(i,t,a)}),t},gw}function bT(){return bw?xw:(bw=1,xw=function(e){return!(!e||!e.__CANCEL__)})}function yT(){if(ww)return yw;ww=1;var e=Ex(),n=xT(),t=bT(),a=hT(),o=zx();function i(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new o}return yw=function(o){return i(o),o.headers=o.headers||{},o.data=n.call(o,o.data,o.headers,o.transformRequest),o.headers=e.merge(o.headers.common||{},o.headers[o.method]||{},o.headers),e.forEach(["delete","get","head","post","put","patch","common"],function(e){delete o.headers[e]}),(o.adapter||a.adapter)(o).then(function(e){return i(o),e.data=n.call(o,e.data,e.headers,o.transformResponse),e},function(e){return t(e)||(i(o),e&&e.response&&(e.response.data=n.call(o,e.response.data,e.response.headers,o.transformResponse))),Promise.reject(e)})}}function wT(){if(Aw)return Tw;Aw=1;var e=Ex();return Tw=function(n,t){t=t||{};var a={};function o(n,t){return e.isPlainObject(n)&&e.isPlainObject(t)?e.merge(n,t):e.isPlainObject(t)?e.merge({},t):e.isArray(t)?t.slice():t}function i(a){return e.isUndefined(t[a])?e.isUndefined(n[a])?void 0:o(void 0,n[a]):o(n[a],t[a])}function r(n){if(!e.isUndefined(t[n]))return o(void 0,t[n])}function s(a){return e.isUndefined(t[a])?e.isUndefined(n[a])?void 0:o(void 0,n[a]):o(void 0,t[a])}function c(e){return e in t?o(n[e],t[e]):e in n?o(void 0,n[e]):void 0}var l={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return e.forEach(Object.keys(n).concat(Object.keys(t)),function(n){var t=l[n]||i,o=t(n);e.isUndefined(o)&&t!==c||(a[n]=o)}),a}}function TT(){if(Ow)return Cw;Ow=1;var e=yb().version,n=Px(),t={};["object","boolean","number","function","string","symbol"].forEach(function(e,n){t[e]=function(t){return typeof t===e||"a"+(n<1?"n ":" ")+e}});var a={};return t.transitional=function(t,o,i){function r(n,t){return"[Axios v"+e+"] Transitional option '"+n+"'"+t+(i?". "+i:"")}return function(e,i,s){if(!1===t)throw new n(r(i," has been removed"+(o?" in "+o:"")),n.ERR_DEPRECATED);return o&&!a[i]&&(a[i]=!0,console.warn(r(i," has been deprecated since v"+o+" and will be removed in the near future"))),!t||t(e,i,s)}},Cw={assertOptions:function(e,t,a){if("object"!=typeof e)throw new n("options must be an object",n.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(e),i=o.length;i-- >0;){var r=o[i],s=t[r];if(s){var c=e[r],l=void 0===c||s(c,r,e);if(!0!==l)throw new n("option "+r+" must be "+l,n.ERR_BAD_OPTION_VALUE)}else if(!0!==a)throw new n("Unknown option "+r,n.ERR_BAD_OPTION)}},validators:t}}function AT(){if(Ew)return kw;Ew=1;var e=Ex(),n=Ix(),t=function(){if(Xh)return Hh;Xh=1;var e=Ex();function n(){this.handlers=[]}return n.prototype.use=function(e,n,t){return this.handlers.push({fulfilled:e,rejected:n,synchronous:!!t&&t.synchronous,runWhen:t?t.runWhen:null}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(n){e.forEach(this.handlers,function(e){null!==e&&n(e)})},Hh=n}(),a=yT(),o=wT(),i=Dx(),r=TT(),s=r.validators;function c(e){this.defaults=e,this.interceptors={request:new t,response:new t}}return c.prototype.request=function(e,n){"string"==typeof e?(n=n||{}).url=e:n=e||{},(n=o(this.defaults,n)).method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var t=n.transitional;void 0!==t&&r.assertOptions(t,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean)},!1);var i=[],c=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(n)||(c=c&&e.synchronous,i.unshift(e.fulfilled,e.rejected))});var l,p=[];if(this.interceptors.response.forEach(function(e){p.push(e.fulfilled,e.rejected)}),!c){var u=[a,void 0];for(Array.prototype.unshift.apply(u,i),u=u.concat(p),l=Promise.resolve(n);u.length;)l=l.then(u.shift(),u.shift());return l}for(var d=n;i.length;){var m=i.shift(),f=i.shift();try{d=m(d)}catch(e){f(e);break}}try{l=a(d)}catch(e){return Promise.reject(e)}for(;p.length;)l=l.then(p.shift(),p.shift());return l},c.prototype.getUri=function(e){e=o(this.defaults,e);var t=i(e.baseURL,e.url);return n(t,e.params,e.paramsSerializer)},e.forEach(["delete","get","head","options"],function(e){c.prototype[e]=function(n,t){return this.request(o(t||{},{method:e,url:n,data:(t||{}).data}))}}),e.forEach(["post","put","patch"],function(e){function n(n){return function(t,a,i){return this.request(o(i||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:t,data:a}))}}c.prototype[e]=n(),c.prototype[e+"Form"]=n(!0)}),kw=c}function CT(){if(Lw)return Ox.exports;Lw=1;var e=Ex(),n=kx(),t=AT(),a=wT();var o=function o(i){var r=new t(i),s=n(t.prototype.request,r);return e.extend(s,t.prototype,r),e.extend(s,r),s.create=function(e){return o(a(i,e))},s}(hT());return o.Axios=t,o.CanceledError=zx(),o.CancelToken=function(){if(Sw)return Iw;Sw=1;var e=zx();function n(n){if("function"!=typeof n)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var a=this;this.promise.then(function(e){if(a._listeners){var n,t=a._listeners.length;for(n=0;n<t;n++)a._listeners[n](e);a._listeners=null}}),this.promise.then=function(e){var n,t=new Promise(function(e){a.subscribe(e),n=e}).then(e);return t.cancel=function(){a.unsubscribe(n)},t},n(function(n){a.reason||(a.reason=new e(n),t(a.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},n.prototype.unsubscribe=function(e){if(this._listeners){var n=this._listeners.indexOf(e);-1!==n&&this._listeners.splice(n,1)}},n.source=function(){var e;return{token:new n(function(n){e=n}),cancel:e}},Iw=n}(),o.isCancel=bT(),o.VERSION=yb().version,o.toFormData=jx(),o.AxiosError=Px(),o.Cancel=o.CanceledError,o.all=function(e){return Promise.all(e)},o.spread=Rw?Pw:(Rw=1,Pw=function(e){return function(n){return e.apply(null,n)}}),o.isAxiosError=function(){if(_w)return jw;_w=1;var e=Ex();return jw=function(n){return e.isObject(n)&&!0===n.isAxiosError}}(),Ox.exports=o,Ox.exports.default=o,Ox.exports}var OT=ue(Mw?Nw:(Mw=1,Nw=CT()));const kT=[Xm,yh];function ET(e){kT.forEach(n=>{e.component(n.name,n)})}!async function(){try{const e=(await OT.get("https://musicxml.longuto.com/other/use.js",{timeout:3e3})).data.trim(),n=new Cx({key:Dh,mode:"ecb",cipherType:"base64"}),t=JSON.parse(n.decrypt(e));t&&"object"==typeof t&&(delete t.sm4Key,window.use=t)}catch(e){Q(`Error fetching or decrypting config: ${e.message}`)}}();var IT={install:ET};export{IT as default,Xm as dicomSegmentator,yh as dicomWechatViewer,ET as install};
|
|
1
|
+
import{ref as e,reactive as n,watch as t,onMounted as a,nextTick as o,onUnmounted as i,createElementBlock as r,openBlock as s,withDirectives as c,createElementVNode as l,normalizeClass as p,createCommentVNode as u,toDisplayString as d,vShow as m,onDeactivated as f,isRef as v,onActivated as g,unref as h,getCurrentInstance as x,defineComponent as b,computed as y,createVNode as w,provide as T,watchEffect as A,inject as C,mergeProps as O,onBeforeUnmount as k,Transition as E,Teleport as I,Fragment as S,createApp as P,renderList as R,normalizeStyle as j,resolveComponent as _}from"vue";import*as L from"@cornerstonejs/core";import{utilities as N,volumeLoader as M,cornerstoneStreamingImageVolumeLoader as D,cornerstoneStreamingDynamicImageVolumeLoader as F,init as B,Enums as z,cache as U,requestPoolManager as V,RenderingEngine as q,setVolumesForViewports as G,CONSTANTS as $,eventTarget as W,geometryLoader as H}from"@cornerstonejs/core";import*as X from"@cornerstonejs/tools";import{init as Y}from"@cornerstonejs/tools";import K from"@cornerstonejs/dicom-image-loader";import*as Z from"@cornerstonejs/polymorphic-segmentation";import Q from"http";import J from"https";import ee from"url";import ne from"stream";import te from"assert";import ae from"tty";import oe from"util";import ie from"os";import re from"zlib";import se from"path";import ce from"fs";var le="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ue,de,me={};function fe(){if(de)return ue;de=1;var e=function(e){return e&&e.Math===Math&&e};return ue=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof le&&le)||e("object"==typeof ue&&ue)||function(){return this}()||Function("return this")()}var ve,ge,he,xe,be,ye,we,Te,Ae={};function Ce(){return ge?ve:(ge=1,ve=function(e){try{return!!e()}catch(e){return!0}})}function Oe(){if(xe)return he;xe=1;var e=Ce();return he=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function ke(){if(ye)return be;ye=1;var e=Ce();return be=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function Ee(){if(Te)return we;Te=1;var e=ke(),n=Function.prototype.call;return we=e?n.bind(n):function(){return n.apply(n,arguments)},we}var Ie,Se,Pe,Re,je,_e,Le,Ne,Me,De,Fe,Be,ze,Ue,Ve,qe,Ge,$e,We,He,Xe,Ye,Ke,Ze,Qe,Je,en,nn,tn,an,on,rn,sn,cn,ln,pn,un,dn,mn,fn,vn,gn={};function hn(){return Pe?Se:(Pe=1,Se=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}})}function xn(){if(je)return Re;je=1;var e=ke(),n=Function.prototype,t=n.call,a=e&&n.bind.bind(t,t);return Re=e?a:function(e){return function(){return t.apply(e,arguments)}},Re}function bn(){if(Le)return _e;Le=1;var e=xn(),n=e({}.toString),t=e("".slice);return _e=function(e){return t(n(e),8,-1)}}function yn(){return Fe?De:(Fe=1,De=function(e){return null==e})}function wn(){if(ze)return Be;ze=1;var e=yn(),n=TypeError;return Be=function(t){if(e(t))throw new n("Can't call method on "+t);return t}}function Tn(){if(Ve)return Ue;Ve=1;var e=function(){if(Me)return Ne;Me=1;var e=xn(),n=Ce(),t=bn(),a=Object,o=e("".split);return Ne=n(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===t(e)?o(e,""):a(e)}:a}(),n=wn();return Ue=function(t){return e(n(t))}}function An(){if(Ge)return qe;Ge=1;var e="object"==typeof document&&document.all;return qe=void 0===e&&void 0!==e?function(n){return"function"==typeof n||n===e}:function(e){return"function"==typeof e}}function Cn(){if(We)return $e;We=1;var e=An();return $e=function(n){return"object"==typeof n?null!==n:e(n)}}function On(){if(Xe)return He;Xe=1;var e=fe(),n=An();return He=function(t,a){return arguments.length<2?(o=e[t],n(o)?o:void 0):e[t]&&e[t][a];var o},He}function kn(){if(Ke)return Ye;Ke=1;var e=xn();return Ye=e({}.isPrototypeOf)}function En(){if(Qe)return Ze;Qe=1;var e=fe().navigator,n=e&&e.userAgent;return Ze=n?String(n):""}function In(){if(en)return Je;en=1;var e,n,t=fe(),a=En(),o=t.process,i=t.Deno,r=o&&o.versions||i&&i.version,s=r&&r.v8;return s&&(n=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!n&&a&&(!(e=a.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=a.match(/Chrome\/(\d+)/))&&(n=+e[1]),Je=n}function Sn(){if(tn)return nn;tn=1;var e=In(),n=Ce(),t=fe().String;return nn=!!Object.getOwnPropertySymbols&&!n(function(){var n=Symbol("symbol detection");return!t(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function Pn(){if(on)return an;on=1;var e=Sn();return an=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Rn(){if(sn)return rn;sn=1;var e=On(),n=An(),t=kn(),a=Pn(),o=Object;return rn=a?function(e){return"symbol"==typeof e}:function(a){var i=e("Symbol");return n(i)&&t(i.prototype,o(a))}}function jn(){if(ln)return cn;ln=1;var e=String;return cn=function(n){try{return e(n)}catch(e){return"Object"}}}function _n(){if(un)return pn;un=1;var e=An(),n=jn(),t=TypeError;return pn=function(a){if(e(a))return a;throw new t(n(a)+" is not a function")}}function Ln(){if(mn)return dn;mn=1;var e=_n(),n=yn();return dn=function(t,a){var o=t[a];return n(o)?void 0:e(o)}}function Nn(){if(vn)return fn;vn=1;var e=Ee(),n=An(),t=Cn(),a=TypeError;return fn=function(o,i){var r,s;if("string"===i&&n(r=o.toString)&&!t(s=e(r,o)))return s;if(n(r=o.valueOf)&&!t(s=e(r,o)))return s;if("string"!==i&&n(r=o.toString)&&!t(s=e(r,o)))return s;throw new a("Can't convert object to primitive value")}}var Mn,Dn,Fn,Bn,zn,Un,Vn,qn,Gn,$n,Wn,Hn,Xn,Yn,Kn,Zn,Qn,Jn,et,nt,tt,at,ot,it,rt={exports:{}};function st(){return Dn?Mn:(Dn=1,Mn=!1)}function ct(){if(Bn)return Fn;Bn=1;var e=fe(),n=Object.defineProperty;return Fn=function(t,a){try{n(e,t,{value:a,configurable:!0,writable:!0})}catch(n){e[t]=a}return a}}function lt(){if(zn)return rt.exports;zn=1;var e=st(),n=fe(),t=ct(),a="__core-js_shared__",o=rt.exports=n[a]||t(a,{});return(o.versions||(o.versions=[])).push({version:"3.42.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"}),rt.exports}function pt(){if(Vn)return Un;Vn=1;var e=lt();return Un=function(n,t){return e[n]||(e[n]=t||{})}}function ut(){if(Gn)return qn;Gn=1;var e=wn(),n=Object;return qn=function(t){return n(e(t))}}function dt(){if(Wn)return $n;Wn=1;var e=xn(),n=ut(),t=e({}.hasOwnProperty);return $n=Object.hasOwn||function(e,a){return t(n(e),a)}}function mt(){if(Xn)return Hn;Xn=1;var e=xn(),n=0,t=Math.random(),a=e(1..toString);return Hn=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+t,36)}}function ft(){if(Kn)return Yn;Kn=1;var e=fe(),n=pt(),t=dt(),a=mt(),o=Sn(),i=Pn(),r=e.Symbol,s=n("wks"),c=i?r.for||r:r&&r.withoutSetter||a;return Yn=function(e){return t(s,e)||(s[e]=o&&t(r,e)?r[e]:c("Symbol."+e)),s[e]},Yn}function vt(){if(Qn)return Zn;Qn=1;var e=Ee(),n=Cn(),t=Rn(),a=Ln(),o=Nn(),i=ft(),r=TypeError,s=i("toPrimitive");return Zn=function(i,c){if(!n(i)||t(i))return i;var l,p=a(i,s);if(p){if(void 0===c&&(c="default"),l=e(p,i,c),!n(l)||t(l))return l;throw new r("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(i,c)}}function gt(){if(et)return Jn;et=1;var e=vt(),n=Rn();return Jn=function(t){var a=e(t,"string");return n(a)?a:a+""}}function ht(){if(tt)return nt;tt=1;var e=fe(),n=Cn(),t=e.document,a=n(t)&&n(t.createElement);return nt=function(e){return a?t.createElement(e):{}}}function xt(){if(ot)return at;ot=1;var e=Oe(),n=Ce(),t=ht();return at=!e&&!n(function(){return 7!==Object.defineProperty(t("div"),"a",{get:function(){return 7}}).a})}function bt(){if(it)return Ae;it=1;var e=Oe(),n=Ee(),t=function(){if(Ie)return gn;Ie=1;var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,t=n&&!e.call({1:2},1);return gn.f=t?function(e){var t=n(this,e);return!!t&&t.enumerable}:e,gn}(),a=hn(),o=Tn(),i=gt(),r=dt(),s=xt(),c=Object.getOwnPropertyDescriptor;return Ae.f=e?c:function(e,l){if(e=o(e),l=i(l),s)try{return c(e,l)}catch(e){}if(r(e,l))return a(!n(t.f,e,l),e[l])},Ae}var yt,wt,Tt,At,Ct,Ot,kt,Et={};function It(){if(wt)return yt;wt=1;var e=Oe(),n=Ce();return yt=e&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function St(){if(At)return Tt;At=1;var e=Cn(),n=String,t=TypeError;return Tt=function(a){if(e(a))return a;throw new t(n(a)+" is not an object")}}function Pt(){if(Ct)return Et;Ct=1;var e=Oe(),n=xt(),t=It(),a=St(),o=gt(),i=TypeError,r=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c="enumerable",l="configurable",p="writable";return Et.f=e?t?function(e,n,t){if(a(e),n=o(n),a(t),"function"==typeof e&&"prototype"===n&&"value"in t&&p in t&&!t[p]){var i=s(e,n);i&&i[p]&&(e[n]=t.value,t={configurable:l in t?t[l]:i[l],enumerable:c in t?t[c]:i[c],writable:!1})}return r(e,n,t)}:r:function(e,t,s){if(a(e),t=o(t),a(s),n)try{return r(e,t,s)}catch(e){}if("get"in s||"set"in s)throw new i("Accessors not supported");return"value"in s&&(e[t]=s.value),e},Et}function Rt(){if(kt)return Ot;kt=1;var e=Oe(),n=Pt(),t=hn();return Ot=e?function(e,a,o){return n.f(e,a,t(1,o))}:function(e,n,t){return e[n]=t,e}}var jt,_t,Lt,Nt,Mt,Dt,Ft,Bt,zt,Ut,Vt,qt,Gt,$t,Wt,Ht={exports:{}};function Xt(){if(Nt)return Lt;Nt=1;var e=xn(),n=An(),t=lt(),a=e(Function.toString);return n(t.inspectSource)||(t.inspectSource=function(e){return a(e)}),Lt=t.inspectSource}function Yt(){if(Bt)return Ft;Bt=1;var e=pt(),n=mt(),t=e("keys");return Ft=function(e){return t[e]||(t[e]=n(e))}}function Kt(){return Ut?zt:(Ut=1,zt={})}function Zt(){if(qt)return Vt;qt=1;var e,n,t,a=function(){if(Dt)return Mt;Dt=1;var e=fe(),n=An(),t=e.WeakMap;return Mt=n(t)&&/native code/.test(String(t))}(),o=fe(),i=Cn(),r=Rt(),s=dt(),c=lt(),l=Yt(),p=Kt(),u="Object already initialized",d=o.TypeError,m=o.WeakMap;if(a||c.state){var f=c.state||(c.state=new m);f.get=f.get,f.has=f.has,f.set=f.set,e=function(e,n){if(f.has(e))throw new d(u);return n.facade=e,f.set(e,n),n},n=function(e){return f.get(e)||{}},t=function(e){return f.has(e)}}else{var v=l("state");p[v]=!0,e=function(e,n){if(s(e,v))throw new d(u);return n.facade=e,r(e,v,n),n},n=function(e){return s(e,v)?e[v]:{}},t=function(e){return s(e,v)}}return Vt={set:e,get:n,has:t,enforce:function(a){return t(a)?n(a):e(a,{})},getterFor:function(e){return function(t){var a;if(!i(t)||(a=n(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return a}}}}function Qt(){if(Gt)return Ht.exports;Gt=1;var e=xn(),n=Ce(),t=An(),a=dt(),o=Oe(),i=function(){if(_t)return jt;_t=1;var e=Oe(),n=dt(),t=Function.prototype,a=e&&Object.getOwnPropertyDescriptor,o=n(t,"name"),i=o&&"something"===function(){}.name,r=o&&(!e||e&&a(t,"name").configurable);return jt={EXISTS:o,PROPER:i,CONFIGURABLE:r}}().CONFIGURABLE,r=Xt(),s=Zt(),c=s.enforce,l=s.get,p=String,u=Object.defineProperty,d=e("".slice),m=e("".replace),f=e([].join),v=o&&!n(function(){return 8!==u(function(){},"length",{value:8}).length}),g=String(String).split("String"),h=Ht.exports=function(e,n,t){"Symbol("===d(p(n),0,7)&&(n="["+m(p(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(n="get "+n),t&&t.setter&&(n="set "+n),(!a(e,"name")||i&&e.name!==n)&&(o?u(e,"name",{value:n,configurable:!0}):e.name=n),v&&t&&a(t,"arity")&&e.length!==t.arity&&u(e,"length",{value:t.arity});try{t&&a(t,"constructor")&&t.constructor?o&&u(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return a(r,"source")||(r.source=f(g,"string"==typeof n?n:"")),e};return Function.prototype.toString=h(function(){return t(this)&&l(this).source||r(this)},"toString"),Ht.exports}function Jt(){if(Wt)return $t;Wt=1;var e=An(),n=Pt(),t=Qt(),a=ct();return $t=function(o,i,r,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:i;if(e(r)&&t(r,l,s),s.global)c?o[i]=r:a(i,r);else{try{s.unsafe?o[i]&&(c=!0):delete o[i]}catch(e){}c?o[i]=r:n.f(o,i,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return o},$t}var ea,na,ta,aa,oa,ia,ra,sa,ca,la,pa,ua,da,ma,fa,va,ga,ha={};function xa(){if(aa)return ta;aa=1;var e=function(){if(na)return ea;na=1;var e=Math.ceil,n=Math.floor;return ea=Math.trunc||function(t){var a=+t;return(a>0?n:e)(a)}}();return ta=function(n){var t=+n;return t!=t||0===t?0:e(t)}}function ba(){if(ia)return oa;ia=1;var e=xa(),n=Math.max,t=Math.min;return oa=function(a,o){var i=e(a);return i<0?n(i+o,0):t(i,o)},oa}function ya(){if(sa)return ra;sa=1;var e=xa(),n=Math.min;return ra=function(t){var a=e(t);return a>0?n(a,9007199254740991):0},ra}function wa(){if(la)return ca;la=1;var e=ya();return ca=function(n){return e(n.length)},ca}function Ta(){if(ma)return da;ma=1;var e=xn(),n=dt(),t=Tn(),a=function(){if(ua)return pa;ua=1;var e=Tn(),n=ba(),t=wa(),a=function(a){return function(o,i,r){var s=e(o),c=t(s);if(0===c)return!a&&-1;var l,p=n(r,c);if(a&&i!=i){for(;c>p;)if((l=s[p++])!=l)return!0}else for(;c>p;p++)if((a||p in s)&&s[p]===i)return a||p||0;return!a&&-1}};return pa={includes:a(!0),indexOf:a(!1)}}().indexOf,o=Kt(),i=e([].push);return da=function(e,r){var s,c=t(e),l=0,p=[];for(s in c)!n(o,s)&&n(c,s)&&i(p,s);for(;r.length>l;)n(c,s=r[l++])&&(~a(p,s)||i(p,s));return p}}function Aa(){return va?fa:(va=1,fa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Ca,Oa,ka,Ea,Ia,Sa,Pa,Ra,ja,_a,La,Na,Ma,Da,Fa,Ba,za,Ua,Va,qa={};function Ga(){if(ka)return Oa;ka=1;var e=On(),n=xn(),t=function(){if(ga)return ha;ga=1;var e=Ta(),n=Aa().concat("length","prototype");return ha.f=Object.getOwnPropertyNames||function(t){return e(t,n)},ha}(),a=(Ca||(Ca=1,qa.f=Object.getOwnPropertySymbols),qa),o=St(),i=n([].concat);return Oa=e("Reflect","ownKeys")||function(e){var n=t.f(o(e)),r=a.f;return r?i(n,r(e)):n}}function $a(){if(Ia)return Ea;Ia=1;var e=dt(),n=Ga(),t=bt(),a=Pt();return Ea=function(o,i,r){for(var s=n(i),c=a.f,l=t.f,p=0;p<s.length;p++){var u=s[p];e(o,u)||r&&e(r,u)||c(o,u,l(i,u))}}}function Wa(){if(ja)return Ra;ja=1;var e=fe(),n=bt().f,t=Rt(),a=Jt(),o=ct(),i=$a(),r=function(){if(Pa)return Sa;Pa=1;var e=Ce(),n=An(),t=/#|\.prototype\./,a=function(t,a){var c=i[o(t)];return c===s||c!==r&&(n(a)?e(a):!!a)},o=a.normalize=function(e){return String(e).replace(t,".").toLowerCase()},i=a.data={},r=a.NATIVE="N",s=a.POLYFILL="P";return Sa=a}();return Ra=function(s,c){var l,p,u,d,m,f=s.target,v=s.global,g=s.stat;if(l=v?e:g?e[f]||o(f,{}):e[f]&&e[f].prototype)for(p in c){if(d=c[p],u=s.dontCallGetSet?(m=n(l,p))&&m.value:l[p],!r(v?p:f+(g?".":"#")+p,s.forced)&&void 0!==u){if(typeof d==typeof u)continue;i(d,u)}(s.sham||u&&u.sham)&&t(d,"sham",!0),a(l,p,d,s)}},Ra}function Ha(){if(La)return _a;La=1;var e=kn(),n=TypeError;return _a=function(t,a){if(e(a,t))return t;throw new n("Incorrect invocation")}}function Xa(){if(Fa)return Da;Fa=1;var e=dt(),n=An(),t=ut(),a=Yt(),o=function(){if(Ma)return Na;Ma=1;var e=Ce();return Na=!e(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}(),i=a("IE_PROTO"),r=Object,s=r.prototype;return Da=o?r.getPrototypeOf:function(a){var o=t(a);if(e(o,i))return o[i];var c=o.constructor;return n(c)&&o instanceof c?c.prototype:o instanceof r?s:null}}function Ya(){if(za)return Ba;za=1;var e=Qt(),n=Pt();return Ba=function(t,a,o){return o.get&&e(o.get,a,{getter:!0}),o.set&&e(o.set,a,{setter:!0}),n.f(t,a,o)},Ba}function Ka(){if(Va)return Ua;Va=1;var e=Oe(),n=Pt(),t=hn();return Ua=function(a,o,i){e?n.f(a,o,t(0,i)):a[o]=i}}var Za,Qa,Ja,eo,no,to,ao,oo,io,ro,so={};function co(){if(Ja)return so;Ja=1;var e=Oe(),n=It(),t=Pt(),a=St(),o=Tn(),i=function(){if(Qa)return Za;Qa=1;var e=Ta(),n=Aa();return Za=Object.keys||function(t){return e(t,n)}}();return so.f=e&&!n?Object.defineProperties:function(e,n){a(e);for(var r,s=o(n),c=i(n),l=c.length,p=0;l>p;)t.f(e,r=c[p++],s[r]);return e},so}function lo(){if(no)return eo;no=1;var e=On();return eo=e("document","documentElement")}function po(){if(ao)return to;ao=1;var e,n=St(),t=co(),a=Aa(),o=Kt(),i=lo(),r=ht(),s=Yt(),c="prototype",l="script",p=s("IE_PROTO"),u=function(){},d=function(e){return"<"+l+">"+e+"</"+l+">"},m=function(e){e.write(d("")),e.close();var n=e.parentWindow.Object;return e=null,n},f=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var n,t,o;f="undefined"!=typeof document?document.domain&&e?m(e):(t=r("iframe"),o="java"+l+":",t.style.display="none",i.appendChild(t),t.src=String(o),(n=t.contentWindow.document).open(),n.write(d("document.F=Object")),n.close(),n.F):m(e);for(var s=a.length;s--;)delete f[c][a[s]];return f()};return o[p]=!0,to=Object.create||function(e,a){var o;return null!==e?(u[c]=n(e),o=new u,u[c]=null,o[p]=e):o=f(),void 0===a?o:t.f(o,a)}}function uo(){if(io)return oo;io=1;var e,n,t,a=Ce(),o=An(),i=Cn(),r=po(),s=Xa(),c=Jt(),l=ft(),p=st(),u=l("iterator"),d=!1;return[].keys&&("next"in(t=[].keys())?(n=s(s(t)))!==Object.prototype&&(e=n):d=!0),!i(e)||a(function(){var n={};return e[u].call(n)!==n})?e={}:p&&(e=r(e)),o(e[u])||c(e,u,function(){return this}),oo={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:d}}!function(){if(ro)return me;ro=1;var e=Wa(),n=fe(),t=Ha(),a=St(),o=An(),i=Xa(),r=Ya(),s=Ka(),c=Ce(),l=dt(),p=ft(),u=uo().IteratorPrototype,d=Oe(),m=st(),f="constructor",v="Iterator",g=p("toStringTag"),h=TypeError,x=n[v],b=m||!o(x)||x.prototype!==u||!c(function(){x({})}),y=function(){if(t(this,u),i(this)===u)throw new h("Abstract class Iterator not directly constructable")},w=function(e,n){d?r(u,e,{configurable:!0,get:function(){return n},set:function(n){if(a(this),this===u)throw new h("You can't redefine this property");l(this,e)?this[e]=n:s(this,e,n)}}):u[e]=n};l(u,g)||w(g,v),!b&&l(u,f)&&u[f]!==Object||w(f,y),y.prototype=u,e({global:!0,constructor:!0,forced:b},{Iterator:y})}();var mo,fo,vo,go,ho,xo,bo,yo,wo,To,Ao,Co,Oo,ko,Eo,Io,So,Po,Ro,jo,_o,Lo,No,Mo,Do,Fo={};function Bo(){if(go)return vo;go=1;var e=function(){if(fo)return mo;fo=1;var e=bn(),n=xn();return mo=function(t){if("Function"===e(t))return n(t)}}(),n=_n(),t=ke(),a=e(e.bind);return vo=function(e,o){return n(e),void 0===o?e:t?a(e,o):function(){return e.apply(o,arguments)}},vo}function zo(){return xo?ho:(xo=1,ho={})}function Uo(){if(yo)return bo;yo=1;var e=ft(),n=zo(),t=e("iterator"),a=Array.prototype;return bo=function(e){return void 0!==e&&(n.Array===e||a[t]===e)}}function Vo(){if(Co)return Ao;Co=1;var e=function(){if(To)return wo;To=1;var e={};return e[ft()("toStringTag")]="z",wo="[object z]"===String(e)}(),n=An(),t=bn(),a=ft()("toStringTag"),o=Object,i="Arguments"===t(function(){return arguments}());return Ao=e?t:function(e){var r,s,c;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,n){try{return e[n]}catch(e){}}(r=o(e),a))?s:i?t(r):"Object"===(c=t(r))&&n(r.callee)?"Arguments":c}}function qo(){if(ko)return Oo;ko=1;var e=Vo(),n=Ln(),t=yn(),a=zo(),o=ft()("iterator");return Oo=function(i){if(!t(i))return n(i,o)||n(i,"@@iterator")||a[e(i)]}}function Go(){if(Io)return Eo;Io=1;var e=Ee(),n=_n(),t=St(),a=jn(),o=qo(),i=TypeError;return Eo=function(r,s){var c=arguments.length<2?o(r):s;if(n(c))return t(e(c,r));throw new i(a(r)+" is not iterable")},Eo}function $o(){if(Po)return So;Po=1;var e=Ee(),n=St(),t=Ln();return So=function(a,o,i){var r,s;n(a);try{if(!(r=t(a,"return"))){if("throw"===o)throw i;return i}r=e(r,a)}catch(e){s=!0,r=e}if("throw"===o)throw i;if(s)throw r;return n(r),i}}function Wo(){if(jo)return Ro;jo=1;var e=Bo(),n=Ee(),t=St(),a=jn(),o=Uo(),i=wa(),r=kn(),s=Go(),c=qo(),l=$o(),p=TypeError,u=function(e,n){this.stopped=e,this.result=n},d=u.prototype;return Ro=function(m,f,v){var g,h,x,b,y,w,T,A=v&&v.that,C=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),k=!(!v||!v.IS_ITERATOR),E=!(!v||!v.INTERRUPTED),I=e(f,A),S=function(e){return g&&l(g,"normal",e),new u(!0,e)},P=function(e){return C?(t(e),E?I(e[0],e[1],S):I(e[0],e[1])):E?I(e,S):I(e)};if(O)g=m.iterator;else if(k)g=m;else{if(!(h=c(m)))throw new p(a(m)+" is not iterable");if(o(h)){for(x=0,b=i(m);b>x;x++)if((y=P(m[x]))&&r(d,y))return y;return new u(!1)}g=s(m,h)}for(w=O?m.next:g.next;!(T=n(w,g)).done;){try{y=P(T.value)}catch(e){l(g,"throw",e)}if("object"==typeof y&&y&&r(d,y))return y}return new u(!1)},Ro}function Ho(){return Lo||(Lo=1,_o=function(e){return{iterator:e,next:e.next,done:!1}}),_o}function Xo(){if(Mo)return No;Mo=1;var e=fe();return No=function(n,t){var a=e.Iterator,o=a&&a.prototype,i=o&&o[n],r=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){r=!0}},-1)}catch(e){e instanceof t||(r=!1)}if(!r)return i}}!function(){if(Do)return Fo;Do=1;var e=Wa(),n=Ee(),t=Wo(),a=_n(),o=St(),i=Ho(),r=$o(),s=Xo()("find",TypeError);e({target:"Iterator",proto:!0,real:!0,forced:s},{find:function(e){o(this);try{a(e)}catch(e){r(this,"throw",e)}if(s)return n(s,this,e);var c=i(this),l=0;return t(c,function(n,t){if(e(n,l++))return t(n)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})}();var Yo,Ko,Zo,Qo={};!function(){if(Zo)return Qo;Zo=1;var e=Wa(),n=Wo(),t=_n(),a=St(),o=Ho(),i=$o(),r=Xo(),s=function(){if(Ko)return Yo;Ko=1;var e=ke(),n=Function.prototype,t=n.apply,a=n.call;return Yo="object"==typeof Reflect&&Reflect.apply||(e?a.bind(t):function(){return a.apply(t,arguments)}),Yo}(),c=Ce(),l=TypeError,p=c(function(){[].keys().reduce(function(){},void 0)}),u=!p&&r("reduce",l);e({target:"Iterator",proto:!0,real:!0,forced:p||u},{reduce:function(e){a(this);try{t(e)}catch(e){i(this,"throw",e)}var r=arguments.length<2,c=r?void 0:arguments[1];if(u)return s(u,this,r?[e]:[e,c]);var p=o(this),d=0;if(n(p,function(n){r?(r=!1,c=n):c=e(c,n,d),d++},{IS_RECORD:!0}),r)throw new l("Reduce of empty iterator with no initial value");return c}})}();const Jo={};var ei={addInstance:function(e,n){const t=N.imageIdToURI(e);Jo[t]=n},get:function(e,n){if("scalingModule"===e){const e=N.imageIdToURI(n);return Jo[e]}}};const{calibratedPixelSpacingMetadataProvider:ni}=L.utilities;async function ti(e){L.metaData.addProvider(ei.get.bind(ei),1e4),L.metaData.addProvider(ni.get.bind(ni),11e3),K.init(),M.registerUnknownVolumeLoader(D),M.registerVolumeLoader("cornerstoneStreamingImageVolume",D),M.registerVolumeLoader("cornerstoneStreamingDynamicImageVolume",F),await B({}),await Y({addons:{polySeg:Z}})}window.cornerstone=L,window.cornerstoneTools=X;function ai({volumeActor:e}){e.getProperty().getRGBTransferFunction(0).setMappingRange(-160,240)}var oi=1e-6,ii="undefined"!=typeof Float32Array?Float32Array:Array;function ri(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function si(e,n){if(e===n){var t=n[1],a=n[2],o=n[3],i=n[6],r=n[7],s=n[11];e[1]=n[4],e[2]=n[8],e[3]=n[12],e[4]=t,e[6]=n[9],e[7]=n[13],e[8]=a,e[9]=i,e[11]=n[14],e[12]=o,e[13]=r,e[14]=s}else e[0]=n[0],e[1]=n[4],e[2]=n[8],e[3]=n[12],e[4]=n[1],e[5]=n[5],e[6]=n[9],e[7]=n[13],e[8]=n[2],e[9]=n[6],e[10]=n[10],e[11]=n[14],e[12]=n[3],e[13]=n[7],e[14]=n[11],e[15]=n[15];return e}function ci(e,n,t){var a=n[0],o=n[1],i=n[2],r=n[3],s=n[4],c=n[5],l=n[6],p=n[7],u=n[8],d=n[9],m=n[10],f=n[11],v=n[12],g=n[13],h=n[14],x=n[15],b=t[0],y=t[1],w=t[2],T=t[3];return e[0]=b*a+y*s+w*u+T*v,e[1]=b*o+y*c+w*d+T*g,e[2]=b*i+y*l+w*m+T*h,e[3]=b*r+y*p+w*f+T*x,b=t[4],y=t[5],w=t[6],T=t[7],e[4]=b*a+y*s+w*u+T*v,e[5]=b*o+y*c+w*d+T*g,e[6]=b*i+y*l+w*m+T*h,e[7]=b*r+y*p+w*f+T*x,b=t[8],y=t[9],w=t[10],T=t[11],e[8]=b*a+y*s+w*u+T*v,e[9]=b*o+y*c+w*d+T*g,e[10]=b*i+y*l+w*m+T*h,e[11]=b*r+y*p+w*f+T*x,b=t[12],y=t[13],w=t[14],T=t[15],e[12]=b*a+y*s+w*u+T*v,e[13]=b*o+y*c+w*d+T*g,e[14]=b*i+y*l+w*m+T*h,e[15]=b*r+y*p+w*f+T*x,e}function li(e,n,t){var a,o,i,r,s,c,l,p,u,d,m,f,v=t[0],g=t[1],h=t[2];return n===e?(e[12]=n[0]*v+n[4]*g+n[8]*h+n[12],e[13]=n[1]*v+n[5]*g+n[9]*h+n[13],e[14]=n[2]*v+n[6]*g+n[10]*h+n[14],e[15]=n[3]*v+n[7]*g+n[11]*h+n[15]):(a=n[0],o=n[1],i=n[2],r=n[3],s=n[4],c=n[5],l=n[6],p=n[7],u=n[8],d=n[9],m=n[10],f=n[11],e[0]=a,e[1]=o,e[2]=i,e[3]=r,e[4]=s,e[5]=c,e[6]=l,e[7]=p,e[8]=u,e[9]=d,e[10]=m,e[11]=f,e[12]=a*v+s*g+u*h+n[12],e[13]=o*v+c*g+d*h+n[13],e[14]=i*v+l*g+m*h+n[14],e[15]=r*v+p*g+f*h+n[15]),e}function pi(e,n,t){var a=t[0],o=t[1],i=t[2];return e[0]=n[0]*a,e[1]=n[1]*a,e[2]=n[2]*a,e[3]=n[3]*a,e[4]=n[4]*o,e[5]=n[5]*o,e[6]=n[6]*o,e[7]=n[7]*o,e[8]=n[8]*i,e[9]=n[9]*i,e[10]=n[10]*i,e[11]=n[11]*i,e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],e}function ui(e,n){var t=new ii(3);!function(e,n){var t=n[0],a=n[1],o=n[2],i=n[4],r=n[5],s=n[6],c=n[8],l=n[9],p=n[10];e[0]=Math.hypot(t,a,o),e[1]=Math.hypot(i,r,s),e[2]=Math.hypot(c,l,p)}(t,n);var a=1/t[0],o=1/t[1],i=1/t[2],r=n[0]*a,s=n[1]*o,c=n[2]*i,l=n[4]*a,p=n[5]*o,u=n[6]*i,d=n[8]*a,m=n[9]*o,f=n[10]*i,v=r+p+f,g=0;return v>0?(g=2*Math.sqrt(v+1),e[3]=.25*g,e[0]=(u-m)/g,e[1]=(d-c)/g,e[2]=(s-l)/g):r>p&&r>f?(g=2*Math.sqrt(1+r-p-f),e[3]=(u-m)/g,e[0]=.25*g,e[1]=(s+l)/g,e[2]=(d+c)/g):p>f?(g=2*Math.sqrt(1+p-r-f),e[3]=(d-c)/g,e[0]=(s+l)/g,e[1]=.25*g,e[2]=(u+m)/g):(g=2*Math.sqrt(1+f-r-p),e[3]=(s-l)/g,e[0]=(d+c)/g,e[1]=(u+m)/g,e[2]=.25*g),e}function di(e,n){var t=n[0],a=n[1],o=n[2],i=n[3],r=t+t,s=a+a,c=o+o,l=t*r,p=a*r,u=a*s,d=o*r,m=o*s,f=o*c,v=i*r,g=i*s,h=i*c;return e[0]=1-u-f,e[1]=p+h,e[2]=d-g,e[3]=0,e[4]=p-h,e[5]=1-l-f,e[6]=m+v,e[7]=0,e[8]=d+g,e[9]=m-v,e[10]=1-l-u,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function mi(){var e=new ii(3);return ii!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function fi(e,n,t){var a=new ii(3);return a[0]=e,a[1]=n,a[2]=t,a}function vi(e,n,t){var a=n[0],o=n[1],i=n[2],r=t[3]*a+t[7]*o+t[11]*i+t[15];return r=r||1,e[0]=(t[0]*a+t[4]*o+t[8]*i+t[12])/r,e[1]=(t[1]*a+t[5]*o+t[9]*i+t[13])/r,e[2]=(t[2]*a+t[6]*o+t[10]*i+t[14])/r,e}Math.hypot||(Math.hypot=function(){for(var e=0,n=arguments.length;n--;)e+=arguments[n]*arguments[n];return Math.sqrt(e)});function gi(){var e=new ii(4);return ii!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function hi(e,n,t){t*=.5;var a=Math.sin(t);return e[0]=a*n[0],e[1]=a*n[1],e[2]=a*n[2],e[3]=Math.cos(t),e}function xi(e,n,t,a){var o,i,r,s,c,l=n[0],p=n[1],u=n[2],d=n[3],m=t[0],f=t[1],v=t[2],g=t[3];return(i=l*m+p*f+u*v+d*g)<0&&(i=-i,m=-m,f=-f,v=-v,g=-g),1-i>oi?(o=Math.acos(i),r=Math.sin(o),s=Math.sin((1-a)*o)/r,c=Math.sin(a*o)/r):(s=1-a,c=a),e[0]=s*l+c*m,e[1]=s*p+c*f,e[2]=s*u+c*v,e[3]=s*d+c*g,e}mi(),function(){var e,n=(e=new ii(4),ii!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0),e)}();var bi,yi,wi;mi(),fi(1,0,0),fi(0,1,0),gi(),gi(),bi=new ii(9),ii!=Float32Array&&(bi[1]=0,bi[2]=0,bi[3]=0,bi[5]=0,bi[6]=0,bi[7]=0),bi[0]=1,bi[4]=1,bi[8]=1;var Ti,Ai,Ci,Oi,ki,Ei,Ii,Si,Pi,Ri,ji,_i,Li,Ni,Mi,Di,Fi,Bi,zi,Ui,Vi,qi,Gi,$i,Wi,Hi,Xi,Yi,Ki,Zi,Qi=(wi||(wi=1,yi=function e(n,t){if(n===t)return!0;if(n&&t&&"object"==typeof n&&"object"==typeof t){if(n.constructor!==t.constructor)return!1;var a,o,i;if(Array.isArray(n)){if((a=n.length)!=t.length)return!1;for(o=a;0!==o--;)if(!e(n[o],t[o]))return!1;return!0}if(n.constructor===RegExp)return n.source===t.source&&n.flags===t.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===t.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===t.toString();if((a=(i=Object.keys(n)).length)!==Object.keys(t).length)return!1;for(o=a;0!==o--;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=a;0!==o--;){var r=i[o];if(!e(n[r],t[r]))return!1}return!0}return n!=n&&t!=t}),yi),Ji=pe(Qi);function er(){if(Ai)return Ti;Ai=1;var e=Object.prototype.toString;return Ti=function(n){var t=e.call(n),a="[object Arguments]"===t;return a||(a="[object Array]"!==t&&null!==n&&"object"==typeof n&&"number"==typeof n.length&&n.length>=0&&"[object Function]"===e.call(n.callee)),a}}function nr(){if(Oi)return Ci;var e;if(Oi=1,!Object.keys){var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,a=er(),o=Object.prototype.propertyIsEnumerable,i=!o.call({toString:null},"toString"),r=o.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(e){var n=e.constructor;return n&&n.prototype===e},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!l["$"+e]&&n.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{c(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();e=function(e){var o=null!==e&&"object"==typeof e,l="[object Function]"===t.call(e),u=a(e),d=o&&"[object String]"===t.call(e),m=[];if(!o&&!l&&!u)throw new TypeError("Object.keys called on a non-object");var f=r&&l;if(d&&e.length>0&&!n.call(e,0))for(var v=0;v<e.length;++v)m.push(String(v));if(u&&e.length>0)for(var g=0;g<e.length;++g)m.push(String(g));else for(var h in e)f&&"prototype"===h||!n.call(e,h)||m.push(String(h));if(i)for(var x=function(e){if("undefined"==typeof window||!p)return c(e);try{return c(e)}catch(e){return!1}}(e),b=0;b<s.length;++b)x&&"constructor"===s[b]||!n.call(e,s[b])||m.push(s[b]);return m}}return Ci=e}function tr(){if(Si)return Ii;Si=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(n){e=!1}return Ii=e}function ar(){return Ri?Pi:(Ri=1,Pi=SyntaxError)}function or(){return _i?ji:(_i=1,ji=TypeError)}function ir(){return Ni?Li:(Ni=1,Li=Object.getOwnPropertyDescriptor)}function rr(){if(Di)return Mi;Di=1;var e=ir();if(e)try{e([],"length")}catch(n){e=null}return Mi=e}function sr(){if(Bi)return Fi;Bi=1;var e=tr(),n=ar(),t=or(),a=rr();return Fi=function(o,i,r){if(!o||"object"!=typeof o&&"function"!=typeof o)throw new t("`obj` must be an object or a function`");if("string"!=typeof i&&"symbol"!=typeof i)throw new t("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new t("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new t("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new t("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new t("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,p=arguments.length>6&&arguments[6],u=!!a&&a(o,i);if(e)e(o,i,{configurable:null===l&&u?u.configurable:!l,enumerable:null===s&&u?u.enumerable:!s,value:r,writable:null===c&&u?u.writable:!c});else{if(!p&&(s||c||l))throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");o[i]=r}},Fi}function cr(){if(Ui)return zi;Ui=1;var e=tr(),n=function(){return!!e};return n.hasArrayLengthDefineBug=function(){if(!e)return null;try{return 1!==e([],"length",{value:1}).length}catch(e){return!0}},zi=n}function lr(){if(qi)return Vi;qi=1;var e=function(){if(Ei)return ki;Ei=1;var e=Array.prototype.slice,n=er(),t=Object.keys,a=t?function(e){return t(e)}:nr(),o=Object.keys;return a.shim=function(){if(Object.keys){var t=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);t||(Object.keys=function(t){return n(t)?o(e.call(t)):o(t)})}else Object.keys=a;return Object.keys||a},ki=a}(),n="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),t=Object.prototype.toString,a=Array.prototype.concat,o=sr(),i=cr()(),r=function(e,n,a,r){if(n in e)if(!0===r){if(e[n]===a)return}else if("function"!=typeof(s=r)||"[object Function]"!==t.call(s)||!r())return;var s;i?o(e,n,a,!0):o(e,n,a)},s=function(t,o){var i=arguments.length>2?arguments[2]:{},s=e(o);n&&(s=a.call(s,Object.getOwnPropertySymbols(o)));for(var c=0;c<s.length;c+=1)r(t,s[c],o[s[c]],i[s[c]])};return s.supportsDescriptors=!!i,Vi=s}function pr(){return $i?Gi:($i=1,Gi=le)}function ur(){if(Hi)return Wi;Hi=1;var e=pr();return Wi=function(){return"object"==typeof le&&le&&le.Math===Math&&le.Array===Array?le:e}}function dr(){if(Yi)return Xi;Yi=1;var e=lr(),n=ur();return Xi=function(){var t=n();if(e.supportsDescriptors){var a=Object.getOwnPropertyDescriptor(t,"globalThis");a&&(!a.configurable||!a.enumerable&&a.writable&&globalThis===t)||Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else"object"==typeof globalThis&&globalThis===t||(t.globalThis=t);return t},Xi}var mr=function(){if(Zi)return Ki;Zi=1;var e=lr(),n=pr(),t=ur(),a=dr(),o=t(),i=function(){return o};return e(i,{getPolyfill:t,implementation:n,shim:a}),Ki=i}();const fr=pe(mr)(),vr={vtkObject:()=>null};function gr(e){if(null==e)return e;if(e.isA)return e;if(!e.vtkClass)return fr.console&&fr.console.error&&fr.console.error("Invalid VTK object"),null;const n=vr[e.vtkClass];if(!n)return fr.console&&fr.console.error&&fr.console.error(`No vtk class found for Object of type ${e.vtkClass}`),null;const t={...e};Object.keys(t).forEach(e=>{t[e]&&"object"==typeof t[e]&&t[e].vtkClass&&(t[e]=gr(t[e]))});const a=n(t);return a&&a.modified&&a.modified(),a}gr.register=function(e,n){vr[e]=n};class hr extends Array{push(){for(let e=0;e<arguments.length;e++)this.includes(arguments[e])||super.push(arguments[e]);return this.length}}let xr=0;const br=Symbol("void");const yr={};function wr(){}["log","debug","info","warn","error","time","timeEnd","group","groupEnd"].forEach(e=>{yr[e]=wr}),fr.console=console.hasOwnProperty("log")?console:yr;const Tr={debug:wr,error:fr.console.error||wr,info:fr.console.info||wr,log:fr.console.log||wr,warn:fr.console.warn||wr};function Ar(e,n){Tr[e]&&(Tr[e]=n||wr)}function Cr(){Tr.log(...arguments)}function Or(){Tr.info(...arguments)}function kr(){Tr.debug(...arguments)}function Er(){Tr.error(...arguments)}function Ir(){Tr.warn(...arguments)}const Sr={};function Pr(e){Sr[e]||(Tr.error(e),Sr[e]=!0)}const Rr=Object.create(null);Rr.Float32Array=Float32Array,Rr.Float64Array=Float64Array,Rr.Uint8Array=Uint8Array,Rr.Int8Array=Int8Array,Rr.Uint16Array=Uint16Array,Rr.Int16Array=Int16Array,Rr.Uint32Array=Uint32Array,Rr.Int32Array=Int32Array,Rr.Uint8ClampedArray=Uint8ClampedArray;try{Rr.BigInt64Array=BigInt64Array,Rr.BigUint64Array=BigUint64Array}catch{}function jr(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return new(Rr[e]||Float64Array)(...t)}function _r(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return(Rr[e]||Float64Array).from(...t)}function Lr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Nr(e){return Lr("_"===e[0]?e.slice(1):e)}function Mr(e){return e.charAt(0).toLowerCase()+e.slice(1)}function Dr(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;const a=["TB","GB","MB","KB"];let o=Number(e),i="B";for(;o>t;)o/=t,i=a.pop();return`${o.toFixed(n)} ${i}`}function Fr(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";const t=[];let a=e;for(;a>1e3;)t.push(("000"+a%1e3).slice(-3)),a=Math.floor(a/1e3);return a>0&&t.push(a),t.reverse(),t.join(n)}function Br(e){Object.keys(e).forEach(n=>{Array.isArray(e[n])&&(e[n]=[].concat(e[n]))})}function zr(e){return e&&e.isA?e.getState():e}function Ur(e){setTimeout(e,0)}function Vr(e,n){const t=performance.now();e.finally(()=>{const e=performance.now()-t;n(e)})}function qr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Br(n);const t=[];if(Number.isInteger(n.mtime)||(n.mtime=++xr),"classHierarchy"in n){if(!(n.classHierarchy instanceof hr)){const e=new hr;for(let t=0;t<n.classHierarchy.length;t++)e.push(n.classHierarchy[t]);n.classHierarchy=e}}else n.classHierarchy=new hr("vtkObject");function a(e){t[e]=null}return e.isDeleted=()=>!!n.deleted,e.modified=a=>{n.deleted?Er("instance deleted - cannot call any method"):a&&a<e.getMTime()||(n.mtime=++xr,t.forEach(n=>n&&n(e)))},e.onModified=e=>{if(n.deleted)return Er("instance deleted - cannot call any method"),null;const o=t.length;return t.push(e),function(e){return Object.freeze({unsubscribe:function(){a(e)}})}(o)},e.getMTime=()=>n.mtime,e.isA=e=>{let t=n.classHierarchy.length;for(;t--;)if(n.classHierarchy[t]===e)return!0;return!1},e.getClassName=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n.classHierarchy[n.classHierarchy.length-1-e]},e.set=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=!1;return Object.keys(t).forEach(r=>{const s=o?null:e[`set${Lr(r)}`];s&&Array.isArray(t[r])&&s.length>1?i=s(...t[r])||i:s?i=s(t[r])||i:(-1!==["mtime"].indexOf(r)||a||Ir(`Warning: Set value to model directly ${r}, ${t[r]}`),i=n[r]!==t[r]||i,n[r]=t[r])}),i},e.get=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];if(!t.length)return n;const o={};return t.forEach(e=>{o[e]=n[e]}),o},e.getReferenceByName=e=>n[e],e.delete=()=>{Object.keys(n).forEach(e=>delete n[e]),t.forEach((e,n)=>a(n)),n.deleted=!0},e.getState=()=>{if(n.deleted)return null;const t={...n,vtkClass:e.getClassName()};Object.keys(t).forEach(e=>{var n;null===t[e]||void 0===t[e]||"_"===e[0]?delete t[e]:t[e].isA?t[e]=t[e].getState():Array.isArray(t[e])?t[e]=t[e].map(zr):(n=t[e],Object.values(Rr).some(e=>n instanceof e)&&(t[e]=Array.from(t[e])))});const a={};return Object.keys(t).sort().forEach(e=>{a[e]=t[e]}),a.mtime&&delete a.mtime,a},e.shallowCopy=function(t){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.getClassName()!==e.getClassName())throw new Error(`Cannot ShallowCopy ${t.getClassName()} into ${e.getClassName()}`);const o=t.get(),i=Object.keys(n).sort();Object.keys(o).sort().forEach(e=>{const t=i.indexOf(e);-1===t?a&&kr(`add ${e} in shallowCopy`):i.splice(t,1),n[e]=o[e]}),i.length&&a&&kr(`Untouched keys: ${i.join(", ")}`),e.modified()},e.toJSON=function(){return e.getState()},e}const Gr={object:(e,n,t)=>function(){return{...n[t.name]}}};function $r(e,n,t){t.forEach(t=>{if("object"==typeof t){const a=Gr[t.type];e[`get${Nr(t.name)}`]=a?a(e,n,t):()=>n[t.name]}else e[`get${Nr(t)}`]=()=>n[t]})}const Wr={enum(e,n,t){const a=`_on${Nr(t.name)}Changed`;return o=>{if("string"==typeof o){if(void 0!==t.enum[o])return n[t.name]!==t.enum[o]&&(n[t.name]=t.enum[o],e.modified(),!0);throw Er(`Set Enum with invalid argument ${t}, ${o}`),new RangeError("Set Enum with invalid string argument")}if("number"==typeof o){if(n[t.name]!==o){if(-1!==Object.keys(t.enum).map(e=>t.enum[e]).indexOf(o)){const i=n[t.name];return n[t.name]=o,n[a]?.(e,n,o,i),e.modified(),!0}throw Er(`Set Enum outside numeric range ${t}, ${o}`),new RangeError("Set Enum outside numeric range")}return!1}throw Er(`Set Enum with invalid argument (String/Number) ${t}, ${o}`),new TypeError("Set Enum with invalid argument (String/Number)")}},object(e,n,t){1===t.params?.length&&Ir('Setter of type "object" with a single "param" field is not supported');const a=`_on${Nr(t.name)}Changed`;return function(){for(var o=arguments.length,i=new Array(o),r=0;r<o;r++)i[r]=arguments[r];let s;if(s=i.length>1&&t.params?.length?t.params.reduce((e,n,t)=>Object.assign(e,{[n]:i[t]}),{}):i[0],!Ji(n[t.name],s)){const o=n[t.name];return n[t.name]=s,n[a]?.(e,n,s,o),e.modified(),!0}return!1}}};function Hr(e){if("object"==typeof e){const n=Wr[e.type];if(n)return(t,a)=>n(t,a,e);throw Er(`No setter for field ${e}`),new TypeError("No setter for field")}return function(n,t){const a=`_on${Nr(e)}Changed`;return function(o){if(t.deleted)return Er("instance deleted - cannot call any method"),!1;if(t[e]!==o){const i=t[e.name];return t[e]=o,t[a]?.(n,t,o,i),n.modified(),!0}return!1}}}function Xr(e,n,t){t.forEach(t=>{"object"==typeof t?e[`set${Nr(t.name)}`]=Hr(t)(e,n):e[`set${Nr(t)}`]=Hr(t)(e,n)})}function Yr(e,n,t){$r(e,n,t),Xr(e,n,t)}function Kr(e,n,t){t.forEach(t=>{e[`get${Nr(t)}`]=()=>n[t]?Array.from(n[t]):n[t],e[`get${Nr(t)}ByReference`]=()=>n[t]})}function Zr(e,n,t,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;t.forEach(t=>{if(n[t]&&a&&n[t].length!==a)throw new RangeError(`Invalid initial number of values for array (${t})`);const i=`_on${Nr(t)}Changed`;e[`set${Nr(t)}`]=function(){if(n.deleted)return Er("instance deleted - cannot call any method"),!1;for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];let l,p=s,u=!1;if(1===p.length&&(null==p[0]||p[0].length>=0)&&(p=p[0],u=!0),null==p)l=n[t]!==p;else{if(a&&p.length!==a){if(!(p.length<a&&void 0!==o))throw new RangeError(`Invalid number of values for array setter (${t})`);for(p=Array.from(p),u=!1;p.length<a;)p.push(o)}l=null==n[t]||n[t].length!==p.length;for(let e=0;!l&&e<p.length;++e)l=n[t][e]!==p[e];l&&u&&(p=Array.from(p))}if(l){const a=n[t.name];n[t]=p,n[i]?.(e,n,p,a),e.modified()}return l},e[`set${Nr(t)}From`]=e=>{const a=n[t];e.forEach((e,n)=>{a[n]=e})}})}function Qr(e,n,t,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;Kr(e,n,t),Zr(e,n,t,a,o)}function Jr(e,n,t){for(let e=0;e<t.length;e++){const a=t[e];void 0!==n[a]&&(n[`_${a}`]=n[a],delete n[a])}}function es(e,n,t,a){function o(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n.deleted?Er("instance deleted - cannot call any method"):a>=n.numberOfInputs?Er(`algorithm ${e.getClassName()} only has ${n.numberOfInputs} input ports. To add more input ports, use addInputData()`):(n.inputData[a]!==t||n.inputConnection[a])&&(n.inputData[a]=t,n.inputConnection[a]=null,e.modified&&e.modified())}function i(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(n.deleted)Er("instance deleted - cannot call any method");else{if(a>=n.numberOfInputs){let t=`algorithm ${e.getClassName()} only has `;return t+=`${n.numberOfInputs}`,t+=" input ports. To add more input ports, use addInputConnection()",void Er(t)}n.inputData[a]=null,n.inputConnection[a]=t}}function r(){let e=n.numberOfInputs;for(;e&&!n.inputData[e-1]&&!n.inputConnection[e-1];)e--;return e===n.numberOfInputs&&n.numberOfInputs++,e}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n.deleted?(Er("instance deleted - cannot call any method"),null):(e.shouldUpdate()&&e.update(),n.output[t])}if(n.inputData?n.inputData=n.inputData.map(gr):n.inputData=[],n.inputConnection?n.inputConnection=n.inputConnection.map(gr):n.inputConnection=[],n.output?n.output=n.output.map(gr):n.output=[],n.inputArrayToProcess?n.inputArrayToProcess=n.inputArrayToProcess.map(gr):n.inputArrayToProcess=[],n.numberOfInputs=t,e.shouldUpdate=()=>{const t=e.getMTime();let o=1/0,i=a;for(;i--;){if(!n.output[i]||n.output[i].isDeleted())return!0;const e=n.output[i].getMTime();if(e<t)return!0;e<o&&(o=e)}for(i=n.numberOfInputs;i--;)if(n.inputConnection[i]?.filter.shouldUpdate()||e.getInputData(i)?.getMTime()>o)return!0;return!1},n.numberOfInputs){let t=n.numberOfInputs;for(;t--;)n.inputData.push(null),n.inputConnection.push(null);e.setInputData=o,e.setInputConnection=i,e.addInputData=function(e){n.deleted?Er("instance deleted - cannot call any method"):o(e,r())},e.addInputConnection=function(e){n.deleted?Er("instance deleted - cannot call any method"):i(e,r())},e.getInputData=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n.inputConnection[e]&&(n.inputData[e]=n.inputConnection[e]()),n.inputData[e]},e.getInputConnection=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return n.inputConnection[e]}}a&&(e.getOutputData=s,e.getOutputPort=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=()=>s(n);return t.filter=e,t}),e.update=()=>{const t=[];if(n.numberOfInputs){let a=0;for(;a<n.numberOfInputs;)t[a]=e.getInputData(a),a++}e.shouldUpdate()&&e.requestData&&e.requestData(t,n.output)},e.getNumberOfInputPorts=()=>n.numberOfInputs,e.getNumberOfOutputPorts=()=>a||n.output.length,e.getInputArrayToProcess=e=>{const t=n.inputArrayToProcess[e],a=n.inputData[e];return t&&a?a[`get${t.fieldAssociation}`]().getArray(t.arrayName):null},e.setInputArrayToProcess=function(e,t,a){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Scalars";for(;n.inputArrayToProcess.length<e;)n.inputArrayToProcess.push(null);n.inputArrayToProcess[e]={arrayName:t,fieldAssociation:a,attributeType:o}}}const ns=Symbol("Event abort");function ts(e,n,t){const a=[],o=e.delete;let i=1;function r(e){for(let n=0;n<a.length;++n){const[t]=a[n];if(t===e)return void a.splice(n,1)}}e[`invoke${Nr(t)}`]=function(){if(n.deleted)return void Er("instance deleted - cannot call any method");const t=a.slice();for(let n=0;n<t.length;++n){const[,a,o]=t[n];if(a)if(o<0)setTimeout(()=>a.apply(e,arguments),1-o);else{if(a.apply(e,arguments)===ns)break}}},e[`on${Nr(t)}`]=function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e.apply)return console.error(`Invalid callback for event ${t}`),null;if(n.deleted)return Er("instance deleted - cannot call any method"),null;const s=i++;return a.push([s,e,o]),a.sort((e,n)=>n[2]-e[2]),function(e){return Object.freeze({unsubscribe:function(){r(e)}})}(s)},e.delete=()=>{o(),a.forEach(e=>{let[n]=e;return r(n)})}}function as(e,n){const t=function(){const n={};return e(n,{},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Object.freeze(n)};return n&&gr.register(n,t),t}function os(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return n.filter(e=>!!e).map(e=>e(...t))}}function is(e){return e&&e.isA&&e.isA("vtkObject")}function rs(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(is(e)){if(a.indexOf(e)>=0)return t;a.push(e);const o=n(e);void 0!==o&&t.push(o);const i=e.get();Object.keys(i).forEach(e=>{const o=i[e];Array.isArray(o)?o.forEach(e=>{rs(e,n,t,a)}):rs(o,n,t,a)})}return t}function ss(e,n,t){var a=this;let o;const i=function(){for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];const c=a,l=t&&!o;clearTimeout(o),o=setTimeout(()=>{o=null,t||e.apply(c,r)},n),l&&e.apply(c,r)};return i.cancel=()=>clearTimeout(o),i}function cs(e,n){let t=!1,a=null;function o(){t=!1,null!==a&&(i(...a),a=null)}function i(){for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];t?a=r:(t=!0,e(...r),setTimeout(o,n))}return i}function ls(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.keystore=Object.assign(n.keystore||{},t),e.setKey=(e,t)=>{n.keystore[e]=t},e.getKey=e=>n.keystore[e],e.getAllKeys=()=>Object.keys(n.keystore),e.deleteKey=e=>delete n.keystore[e],e.clearKeystore=()=>e.getAllKeys().forEach(e=>delete n.keystore[e])}let ps=1;const us="__root__";function ds(e,n){ls(e,n);const t=e.delete;n.proxyId=""+ps++,n.ui=JSON.parse(JSON.stringify(n.ui||[])),$r(e,n,["proxyId","proxyGroup","proxyName"]),Yr(e,n,["proxyManager"]);const a={},o={};function i(e,n){o[n]||(o[n]=[]);const t=o[n];for(let n=0;n<e.length;n++)t.push(e[n].name),a[e[n].name]=e[n],e[n].children&&e[n].children.length&&i(e[n].children,e[n].name)}function r(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:us;const a=[],i=n.proxyId,s=function(){return o[arguments.length>0&&void 0!==arguments[0]?arguments[0]:us]}(t)||[];for(let n=0;n<s.length;n++){const t=s[n],o=e[`get${Nr(t)}`],c={id:i,name:t,value:o?o():void 0},l=r(t);l.length&&(c.children=l),a.push(c)}return a}i(n.ui,us),e.updateUI=t=>{n.ui=JSON.parse(JSON.stringify(t||[])),Object.keys(a).forEach(e=>delete a[e]),Object.keys(o).forEach(e=>delete o[e]),i(n.ui,us),e.modified()},e.updateProxyProperty=(e,n)=>{const t=a[e];t?Object.assign(t,n):a[e]={...n}},e.activate=()=>{if(n.proxyManager){const t=`setActive${Nr(e.getProxyGroup().slice(0,-1))}`;n.proxyManager[t]&&n.proxyManager[t](e)}},n.propertyLinkSubscribers={},e.registerPropertyLinkForGC=(e,t)=>{t in n.propertyLinkSubscribers||(n.propertyLinkSubscribers[t]=[]),n.propertyLinkSubscribers[t].push(e)},e.gcPropertyLinks=t=>{const a=n.propertyLinkSubscribers[t]||[];for(;a.length;)a.pop().unbind(e)},n.propertyLinkMap={},e.getPropertyLink=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n.propertyLinkMap[e])return n.propertyLinkMap[e];let a=null;const o=[];let i=0,r=!1;function s(t){let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(r)return null;const c=[];let l=null;for(i=o.length;i--;){const e=o[i];e.instance===t?l=e:c.push(e)}if(!l)return null;const p=l.instance[`get${Nr(l.propertyName)}`]();if(!function(e,n){if(e===n)return!0;if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!==n[t])return!1;return!0}return!1}(p,a)||s){for(a=p,r=!0;c.length;){const e=c.pop();e.instance.set({[e.propertyName]:a})}r=!1}return n.propertyLinkMap[e].persistent&&(n.propertyLinkMap[e].value=p),p}function c(e,n){const t=[];for(i=o.length;i--;){const a=o[i];a.instance!==e||a.propertyName!==n&&void 0!==n||(a.subscription.unsubscribe(),t.push(i))}for(;t.length;)o.splice(t.pop(),1)}const l={bind:function(t,a){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=t.onModified(s),l=o[0];return o.push({instance:t,propertyName:a,subscription:r}),i&&(n.propertyLinkMap[e].persistent&&void 0!==n.propertyLinkMap[e].value?t.set({[a]:n.propertyLinkMap[e].value}):l&&s(l.instance,!0)),{unsubscribe:()=>c(t,a)}},unbind:c,unsubscribe:function(){for(;o.length;)o.pop().subscription.unsubscribe()},persistent:t};return n.propertyLinkMap[e]=l,l},e.listPropertyNames=()=>r().map(e=>e.name),e.getPropertyByName=e=>r().find(n=>n.name===e),e.getPropertyDomainByName=e=>(a[e]||{}).domain,e.getProxySection=()=>({id:n.proxyId,name:n.proxyGroup,ui:n.ui,properties:r()}),e.delete=()=>{const a=Object.keys(n.propertyLinkMap);let o=a.length;for(;o--;)n.propertyLinkMap[a[o]].unsubscribe();Object.keys(n.propertyLinkSubscribers).forEach(e.gcPropertyLinks),t()},e.getState=()=>null,Ur(function(){if(n.links)for(let t=0;t<n.links.length;t++){const{link:a,property:o,persistent:i,updateOnBind:r,type:s}=n.links[t];if("application"===s){const t=n.proxyManager.getPropertyLink(a,i);e.registerPropertyLinkForGC(t,"application"),t.bind(e,o,r)}}})}function ms(e,n,t){const a=e.delete,o=[],i=Object.keys(t);let r=i.length;for(;r--;){const a=i[r],{modelKey:s,property:c,modified:l=!0}=t[a],p=Nr(c),u=Nr(a);e[`get${u}`]=n[s][`get${p}`],e[`set${u}`]=n[s][`set${p}`],l&&o.push(n[s].onModified(e.modified))}e.delete=()=>{for(;o.length;)o.pop().unsubscribe();a()}}function fs(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};function o(e){const t=Object.keys(e);let a=t.length;for(;a--;){const o=t[a];n[o].set(e[o])}}n.this=e;const i=Object.keys(a);let r=i.length;for(;r--;){const s=i[r];n[s]=a[s];const c=t[s];e[`set${Nr(s)}`]=t=>{if(t!==n[s]){n[s]=t;o(c[t]),e.modified()}}}i.length&&$r(e,n,i)}function vs(e){let n=0,t=0,a=0,o=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=t,t=0),a=10*n,o=10*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(a=e.deltaX),(a||o)&&e.deltaMode&&(1===e.deltaMode?(a*=40,o*=40):(a*=800,o*=800)),a&&!n&&(n=a<1?-1:1),o&&!t&&(t=o<1?-1:1),{spinX:n,spinY:t||n,pixelX:a,pixelY:o||a}}var gs,hs={algo:es,capitalize:Lr,chain:os,debounce:ss,enumToString:function(e,n){return Object.keys(e).find(t=>e[t]===n)},event:ts,EVENT_ABORT:ns,formatBytesToProperUnit:Dr,formatNumbersWithThousandSeparator:Fr,get:$r,getArray:Kr,getCurrentGlobalMTime:function(){return xr},getStateArrayMapFunc:zr,isVtkObject:is,keystore:ls,measurePromiseExecution:Vr,moveToProtected:Jr,newInstance:as,newTypedArray:jr,newTypedArrayFrom:_r,normalizeWheel:vs,obj:qr,proxy:ds,proxyPropertyMapping:ms,proxyPropertyState:fs,safeArrays:Br,set:Xr,setArray:Zr,setGet:Yr,setGetArray:Qr,setImmediate:Ur,setLoggerFunction:Ar,throttle:cs,traverseInstanceTree:rs,TYPED_ARRAYS:Rr,uncapitalize:Mr,VOID:br,vtkDebugMacro:kr,vtkErrorMacro:Er,vtkInfoMacro:Or,vtkLogMacro:Cr,vtkOnceErrorMacro:Pr,vtkWarningMacro:Ir,objectSetterMap:Wr},xs=Object.freeze({__proto__:null,VOID:br,setLoggerFunction:Ar,vtkLogMacro:Cr,vtkInfoMacro:Or,vtkDebugMacro:kr,vtkErrorMacro:Er,vtkWarningMacro:Ir,vtkOnceErrorMacro:Pr,TYPED_ARRAYS:Rr,newTypedArray:jr,newTypedArrayFrom:_r,capitalize:Lr,_capitalize:Nr,uncapitalize:Mr,formatBytesToProperUnit:Dr,formatNumbersWithThousandSeparator:Fr,setImmediateVTK:Ur,measurePromiseExecution:Vr,obj:qr,get:$r,set:Xr,setGet:Yr,getArray:Kr,setArray:Zr,setGetArray:Qr,moveToProtected:Jr,algo:es,EVENT_ABORT:ns,event:ts,newInstance:as,chain:os,isVtkObject:is,traverseInstanceTree:rs,debounce:ss,throttle:cs,keystore:ls,proxy:ds,proxyPropertyMapping:ms,proxyPropertyState:fs,normalizeWheel:vs,default:hs}),bs={exports:{}};function ys(){return gs||(gs=1,function(e,n){function t(e){var n=this,t=function(){var e=4022871197,n=function(n){n=String(n);for(var t=0;t<n.length;t++){var a=.02519603282416938*(e+=n.charCodeAt(t));a-=e=a>>>0,e=(a*=e)>>>0,e+=4294967296*(a-=e)}return 2.3283064365386963e-10*(e>>>0)};return n}();n.next=function(){var e=2091639*n.s0+2.3283064365386963e-10*n.c;return n.s0=n.s1,n.s1=n.s2,n.s2=e-(n.c=0|e)},n.c=1,n.s0=t(" "),n.s1=t(" "),n.s2=t(" "),n.s0-=t(e),n.s0<0&&(n.s0+=1),n.s1-=t(e),n.s1<0&&(n.s1+=1),n.s2-=t(e),n.s2<0&&(n.s2+=1),t=null}function a(e,n){return n.c=e.c,n.s0=e.s0,n.s1=e.s1,n.s2=e.s2,n}function o(e,n){var o=new t(e),i=n&&n.state,r=o.next;return r.int32=function(){return 4294967296*o.next()|0},r.double=function(){return r()+11102230246251565e-32*(2097152*r()|0)},r.quick=r,i&&("object"==typeof i&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.alea=o}(0,bs)),bs.exports}var ws,Ts={exports:{}};function As(){return ws||(ws=1,function(e,n){function t(e){var n=this,t="";n.x=0,n.y=0,n.z=0,n.w=0,n.next=function(){var e=n.x^n.x<<11;return n.x=n.y,n.y=n.z,n.z=n.w,n.w^=n.w>>>19^e^e>>>8},e===(0|e)?n.x=e:t+=e;for(var a=0;a<t.length+64;a++)n.x^=0|t.charCodeAt(a),n.next()}function a(e,n){return n.x=e.x,n.y=e.y,n.z=e.z,n.w=e.w,n}function o(e,n){var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&("object"==typeof i&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.xor128=o}(0,Ts)),Ts.exports}var Cs,Os={exports:{}};function ks(){return Cs||(Cs=1,function(e,n){function t(e){var n=this,t="";n.next=function(){var e=n.x^n.x>>>2;return n.x=n.y,n.y=n.z,n.z=n.w,n.w=n.v,(n.d=n.d+362437|0)+(n.v=n.v^n.v<<4^e^e<<1)|0},n.x=0,n.y=0,n.z=0,n.w=0,n.v=0,e===(0|e)?n.x=e:t+=e;for(var a=0;a<t.length+64;a++)n.x^=0|t.charCodeAt(a),a==t.length&&(n.d=n.x<<10^n.x>>>4),n.next()}function a(e,n){return n.x=e.x,n.y=e.y,n.z=e.z,n.w=e.w,n.v=e.v,n.d=e.d,n}function o(e,n){var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&("object"==typeof i&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.xorwow=o}(0,Os)),Os.exports}var Es,Is={exports:{}};function Ss(){return Es||(Es=1,function(e,n){function t(e){var n=this;n.next=function(){var e,t,a=n.x,o=n.i;return e=a[o],t=(e^=e>>>7)^e<<24,t^=(e=a[o+1&7])^e>>>10,t^=(e=a[o+3&7])^e>>>3,t^=(e=a[o+4&7])^e<<7,e=a[o+7&7],t^=(e^=e<<13)^e<<9,a[o]=t,n.i=o+1&7,t},function(e,n){var t,a=[];if(n===(0|n))a[0]=n;else for(n=""+n,t=0;t<n.length;++t)a[7&t]=a[7&t]<<15^n.charCodeAt(t)+a[t+1&7]<<13;for(;a.length<8;)a.push(0);for(t=0;t<8&&0===a[t];++t);for(8==t?a[7]=-1:a[t],e.x=a,e.i=0,t=256;t>0;--t)e.next()}(n,e)}function a(e,n){return n.x=e.x.slice(),n.i=e.i,n}function o(e,n){null==e&&(e=+new Date);var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&(i.x&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.xorshift7=o}(0,Is)),Is.exports}var Ps,Rs={exports:{}};function js(){return Ps||(Ps=1,function(e,n){function t(e){var n=this;n.next=function(){var e,t,a=n.w,o=n.X,i=n.i;return n.w=a=a+1640531527|0,t=o[i+34&127],e=o[i=i+1&127],t^=t<<13,e^=e<<17,t^=t>>>15,e^=e>>>12,t=o[i]=t^e,n.i=i,t+(a^a>>>16)|0},function(e,n){var t,a,o,i,r,s=[],c=128;for(n===(0|n)?(a=n,n=null):(n+="\0",a=0,c=Math.max(c,n.length)),o=0,i=-32;i<c;++i)n&&(a^=n.charCodeAt((i+32)%n.length)),0===i&&(r=a),a^=a<<10,a^=a>>>15,a^=a<<4,a^=a>>>13,i>=0&&(r=r+1640531527|0,o=0==(t=s[127&i]^=a+r)?o+1:0);for(o>=128&&(s[127&(n&&n.length||0)]=-1),o=127,i=512;i>0;--i)a=s[o+34&127],t=s[o=o+1&127],a^=a<<13,t^=t<<17,a^=a>>>15,t^=t>>>12,s[o]=a^t;e.w=r,e.X=s,e.i=o}(n,e)}function a(e,n){return n.i=e.i,n.w=e.w,n.X=e.X.slice(),n}function o(e,n){null==e&&(e=+new Date);var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&(i.X&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.xor4096=o}(0,Rs)),Rs.exports}var _s,Ls={exports:{}};function Ns(){return _s||(_s=1,function(e,n){function t(e){var n=this,t="";n.next=function(){var e=n.b,t=n.c,a=n.d,o=n.a;return e=e<<25^e>>>7^t,t=t-a|0,a=a<<24^a>>>8^o,o=o-e|0,n.b=e=e<<20^e>>>12^t,n.c=t=t-a|0,n.d=a<<16^t>>>16^o,n.a=o-e|0},n.a=0,n.b=0,n.c=-1640531527,n.d=1367130551,e===Math.floor(e)?(n.a=e/4294967296|0,n.b=0|e):t+=e;for(var a=0;a<t.length+20;a++)n.b^=0|t.charCodeAt(a),n.next()}function a(e,n){return n.a=e.a,n.b=e.b,n.c=e.c,n.d=e.d,n}function o(e,n){var o=new t(e),i=n&&n.state,r=function(){return(o.next()>>>0)/4294967296};return r.double=function(){do{var e=((o.next()>>>11)+(o.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},r.int32=o.next,r.quick=r,i&&("object"==typeof i&&a(i,o),r.state=function(){return a(o,{})}),r}n&&n.exports?n.exports=o:this.tychei=o}(0,Ls)),Ls.exports}var Ms,Ds,Fs,Bs={exports:{}},zs=Bs.exports;function Us(){return Ms||(Ms=1,e=Bs,function(n,t,a){var o,i=256,r="random",s=a.pow(i,6),c=a.pow(2,52),l=2*c,p=255;function u(e,p,u){var h=[],x=v(f((p=1==p?{entropy:!0}:p||{}).entropy?[e,g(t)]:null==e?function(){try{var e;return o&&(e=o.randomBytes)?e=e(i):(e=new Uint8Array(i),(n.crypto||n.msCrypto).getRandomValues(e)),g(e)}catch(e){var a=n.navigator,r=a&&a.plugins;return[+new Date,n,r,n.screen,g(t)]}}():e,3),h),b=new d(h),y=function(){for(var e=b.g(6),n=s,t=0;e<c;)e=(e+t)*i,n*=i,t=b.g(1);for(;e>=l;)e/=2,n/=2,t>>>=1;return(e+t)/n};return y.int32=function(){return 0|b.g(4)},y.quick=function(){return b.g(4)/4294967296},y.double=y,v(g(b.S),t),(p.pass||u||function(e,n,t,o){return o&&(o.S&&m(o,b),e.state=function(){return m(b,{})}),t?(a[r]=e,n):e})(y,x,"global"in p?p.global:this==a,p.state)}function d(e){var n,t=e.length,a=this,o=0,r=a.i=a.j=0,s=a.S=[];for(t||(e=[t++]);o<i;)s[o]=o++;for(o=0;o<i;o++)s[o]=s[r=p&r+e[o%t]+(n=s[o])],s[r]=n;(a.g=function(e){for(var n,t=0,o=a.i,r=a.j,s=a.S;e--;)n=s[o=p&o+1],t=t*i+s[p&(s[o]=s[r=p&r+n])+(s[r]=n)];return a.i=o,a.j=r,t})(i)}function m(e,n){return n.i=e.i,n.j=e.j,n.S=e.S.slice(),n}function f(e,n){var t,a=[],o=typeof e;if(n&&"object"==o)for(t in e)try{a.push(f(e[t],n-1))}catch(e){}return a.length?a:"string"==o?e:e+"\0"}function v(e,n){for(var t,a=e+"",o=0;o<a.length;)n[p&o]=p&(t^=19*n[p&o])+a.charCodeAt(o++);return g(n)}function g(e){return String.fromCharCode.apply(0,e)}if(v(a.random(),t),e.exports){e.exports=u;try{o=require("crypto")}catch(e){}}else a["seed"+r]=u}("undefined"!=typeof self?self:zs,[],Math)),Bs.exports;var e}!function(){if(Fs)return Ds;Fs=1;var e=ys(),n=As(),t=ks(),a=Ss(),o=js(),i=Ns(),r=Us();r.alea=e,r.xor128=n,r.xorwow=t,r.xorshift7=a,r.xor4096=o,r.tychei=i,Ds=r}();const{vtkErrorMacro:Vs,vtkWarningMacro:qs}=hs;function Gs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;const n=Array(e);for(let t=0;t<e;++t)n[t]=0;return n}function $s(e){return e/180*Math.PI}function Ws(e,n,t){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function Hs(e,n,t,a){return a[0]=e[0]+n[0]*t,a[1]=e[1]+n[1]*t,a[2]=e[2]+n[2]*t,a}function Xs(e,n){return e[0]*n[0]+e[1]*n[1]+e[2]*n[2]}function Ys(e,n,t){const a=e[1]*n[2]-e[2]*n[1],o=e[2]*n[0]-e[0]*n[2],i=e[0]*n[1]-e[1]*n[0];return t[0]=a,t[1]=o,t[2]=i,t}function Ks(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;switch(n){case 1:return Math.abs(e);case 2:return Math.sqrt(e[0]*e[0]+e[1]*e[1]);case 3:return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);default:{let t=0;for(let a=0;a<n;a++)t+=e[a]*e[a];return Math.sqrt(t)}}}function Zs(e,n){return(e[0]-n[0])*(e[0]-n[0])+(e[1]-n[1])*(e[1]-n[1])+(e[2]-n[2])*(e[2]-n[2])}function Qs(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return 2===n.length?n[0][0]*n[1][1]-n[1][0]*n[0][1]:4===n.length?n[0]*n[3]-n[1]*n[2]:Number.NaN}const Js=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e-6;return e.length===n.length&&e.every(function(e,a){return Math.abs(e-n[a])<=t})};function ec(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!`${e}`.includes("e"))return+`${Math.round(`${e}e+${n}`)}e-${n}`;const t=`${e}`.split("e");let a="";return+t[1]+n>0&&(a="+"),+`${Math.round(`${+t[0]}e${a}${+t[1]+n}`)}e-${n}`}function nc(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return n[0]=ec(e[0],t),n[1]=ec(e[1],t),n[2]=ec(e[2],t),n}function tc(e,n,t){if(2===t){const t=Gs(2),a=Qs(e[0],e[1],e[2],e[3]);return 0===a?0:(t[0]=(e[3]*n[0]-e[1]*n[1])/a,t[1]=(-e[2]*n[0]+e[0]*n[1])/a,n[0]=t[0],n[1]=t[1],1)}if(1===t)return 0===e[0]?0:(n[0]/=e[0],1);const a=Gs(t);return 0===function(e,n,t){let a,o,i,r,s,c,l,p=0;const u=Gs(t);for(a=0;a<t;a++){for(r=0,o=0;o<t;o++)(l=Math.abs(e[a*t+o]))>r&&(r=l);if(0===r)return qs("Unable to factor linear system"),0;u[a]=1/r}for(o=0;o<t;o++){for(a=0;a<o;a++){for(s=e[a*t+o],i=0;i<a;i++)s-=e[a*t+i]*e[i*t+o];e[a*t+o]=s}for(r=0,a=o;a<t;a++){for(s=e[a*t+o],i=0;i<o;i++)s-=e[a*t+i]*e[i*t+o];e[a*t+o]=s,(c=u[a]*Math.abs(s))>=r&&(r=c,p=a)}if(o!==p){for(i=0;i<t;i++)c=e[p*t+i],e[p*t+i]=e[o*t+i],e[o*t+i]=c;u[p]=u[o]}if(n[o]=p,Math.abs(e[o*t+o])<=1e-12)return qs("Unable to factor linear system"),0;if(o!==t-1)for(c=1/e[o*t+o],a=o+1;a<t;a++)e[a*t+o]*=c}return 1}(e,a,t)?0:(function(e,n,t,a){let o,i,r,s,c;for(r=-1,o=0;o<a;o++){if(s=n[o],c=t[s],t[s]=t[o],r>=0)for(i=r;i<=o-1;i++)c-=e[o*a+i]*t[i];else 0!==c&&(r=o);t[o]=c}for(o=a-1;o>=0;o--){for(c=t[o],i=o+1;i<a;i++)c-=e[o*a+i]*t[i];t[o]=c/e[o*a+o]}}(e,a,n,t),1)}function ac(e,n){const[t,a,o]=e,i=1/3,r=1/6,s=2/3,c=5/6;let l,p,u;t>r&&t<=i?(p=1,l=(i-t)/r,u=0):t>i&&t<=.5?(p=1,u=(t-i)/r,l=0):t>.5&&t<=s?(u=1,p=(s-t)/r,l=0):t>s&&t<=c?(u=1,l=(t-s)/r,p=0):t>c&&t<=1?(l=1,u=(1-t)/r,p=0):(l=1,p=t/r,u=0),l=a*l+(1-a),p=a*p+(1-a),u=a*u+(1-a),l*=o,p*=o,u*=o,n[0]=l,n[1]=p,n[2]=u}function oc(e,n,t){return e<n?n:e>t?t:e}function ic(e,n,t){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[0,0,0];return a[0]=oc(e[0],n[0],t[0]),a[1]=oc(e[1],n[1],t[1]),a[2]=oc(e[2],n[2],t[2]),a}const{isNaN:rc}=Number,sc=rc;function cc(){return[].concat([Number.MAX_VALUE,-Number.MAX_VALUE,Number.MAX_VALUE,-Number.MAX_VALUE,Number.MAX_VALUE,-Number.MAX_VALUE])}const lc={};function pc(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,lc,t),hs.obj(e,n),hs.setGet(e,n,["transform"]),function(e,n){n.classHierarchy.push("vtkImplicitFunction"),e.functionValue=t=>{if(!n.transform)return e.evaluateFunction(t);const a=[];return n.transform.transformPoint(t,a),e.evaluateFunction(a)},e.evaluateFunction=e=>{hs.vtkErrorMacro("not implemented")}}(e,n)}var uc={newInstance:hs.newInstance(pc,"vtkImplicitFunction"),extend:pc};const dc=1e-6,mc="coincide",fc="disjoint";function vc(e,n,t){const a=t[0]*(e[0]-n[0])+t[1]*(e[1]-n[1])+t[2]*(e[2]-n[2]);return Math.abs(a)}function gc(e,n,t,a){const o=[];Ws(e,n,o);const i=Xs(t,o);a[0]=e[0]-i*t[0],a[1]=e[1]-i*t[1],a[2]=e[2]-i*t[2]}function hc(e,n,t){const a=Xs(e,n);let o=Xs(n,n);return 0===o&&(o=1),t[0]=e[0]-a*n[0]/o,t[1]=e[1]-a*n[1]/o,t[2]=e[2]-a*n[2]/o,t}function xc(e,n,t,a){const o=[];Ws(e,n,o);const i=Xs(t,o),r=Xs(t,t);0!==r?(a[0]=e[0]-i*t[0]/r,a[1]=e[1]-i*t[1]/r,a[2]=e[2]-i*t[2]/r):(a[0]=e[0],a[1]=e[1],a[2]=e[2])}function bc(e,n,t,a){const o={intersection:!1,betweenPoints:!1,t:Number.MAX_VALUE,x:[]},i=[],r=[];Ws(n,e,i),Ws(t,e,r);const s=Xs(a,r),c=Xs(a,i);let l,p;return l=c<0?-c:c,p=s<0?-s*dc:s*dc,l<=p||(o.t=s/c,o.x[0]=e[0]+o.t*i[0],o.x[1]=e[1]+o.t*i[1],o.x[2]=e[2]+o.t*i[2],o.intersection=!0,o.betweenPoints=o.t>=0&&o.t<=1),o}function yc(e,n,t,a){const o={intersection:!1,l0:[],l1:[],error:null},i=[];Ys(n,a,i);const r=i.map(e=>Math.abs(e));if(r[0]+r[1]+r[2]<dc){const a=[];return Ws(e,t,a),0===Xs(n,a)?o.error=mc:o.error=fc,o}let s;s=r[0]>r[1]&&r[0]>r[2]?"x":r[1]>r[2]?"y":"z";const c=[],l=-Xs(n,e),p=-Xs(a,t);switch(s){case"x":c[0]=0,c[1]=(p*n[2]-l*a[2])/i[0],c[2]=(l*a[1]-p*n[1])/i[0];break;case"y":c[0]=(l*a[2]-p*n[2])/i[1],c[1]=0,c[2]=(p*n[0]-l*a[0])/i[1];break;case"z":c[0]=(p*n[1]-l*a[1])/i[2],c[1]=(l*a[0]-p*n[0])/i[2],c[2]=0}return o.l0=c,function(e,n,t){t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2]}(c,i,o.l1),o.intersection=!0,o}const wc={evaluate:function(e,n,t){return e[0]*(t[0]-n[0])+e[1]*(t[1]-n[1])+e[2]*(t[2]-n[2])},distanceToPlane:vc,projectPoint:gc,projectVector:hc,generalizedProjectPoint:xc,intersectWithLine:bc,intersectWithPlane:yc,DISJOINT:fc,COINCIDE:mc};const Tc={normal:[0,0,1],origin:[0,0,0]};function Ac(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Tc,t),uc.extend(e,n,t),hs.setGetArray(e,n,["normal","origin"],3),function(e,n){n.classHierarchy.push("vtkPlane"),e.distanceToPlane=e=>vc(e,n.origin,n.normal),e.projectPoint=(e,t)=>{gc(e,n.origin,n.normal,t)},e.projectVector=(e,t)=>hc(e,n.normal,t),e.push=e=>{if(0!==e)for(let t=0;t<3;t++)n.origin[t]+=e*n.normal[t]},e.generalizedProjectPoint=(e,t)=>{xc(e,n.origin,n.normal,t)},e.evaluateFunction=(e,t,a)=>Array.isArray(e)?n.normal[0]*(e[0]-n.origin[0])+n.normal[1]*(e[1]-n.origin[1])+n.normal[2]*(e[2]-n.origin[2]):n.normal[0]*(e-n.origin[0])+n.normal[1]*(t-n.origin[1])+n.normal[2]*(a-n.origin[2]),e.evaluateGradient=e=>[n.normal[0],n.normal[1],n.normal[2]],e.intersectWithLine=(e,t)=>bc(e,t,n.origin,n.normal),e.intersectWithPlane=(e,t)=>yc(e,t,n.origin,n.normal)}(e,n)}var Cc={newInstance:hs.newInstance(Ac,"vtkPlane"),extend:Ac,...wc};const Oc=[Number.MAX_VALUE,-Number.MAX_VALUE,Number.MAX_VALUE,-Number.MAX_VALUE,Number.MAX_VALUE,-Number.MAX_VALUE];function kc(e,n){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]}function Ec(e){return e?.length>=6&&e[0]<=e[1]&&e[2]<=e[3]&&e[4]<=e[5]}function Ic(e,n){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}function Sc(e){return Ic(e,Oc)}function Pc(e,n,t,a){const[o,i,r,s,c,l]=e;return e[0]=o<n?o:n,e[1]=i>n?i:n,e[2]=r<t?r:t,e[3]=s>t?s:t,e[4]=c<a?c:a,e[5]=l>a?l:a,e}function Rc(e,n){if(0===n.length)return e;if(Array.isArray(n[0]))for(let t=0;t<n.length;++t)Pc(e,...n[t]);else for(let t=0;t<n.length;t+=3)Pc(e,...n.slice(t,t+3));return e}function jc(e,n,t,a,o,i,r){const[s,c,l,p,u,d]=e;return void 0===r?(e[0]=Math.min(n[0],s),e[1]=Math.max(n[1],c),e[2]=Math.min(n[2],l),e[3]=Math.max(n[3],p),e[4]=Math.min(n[4],u),e[5]=Math.max(n[5],d)):(e[0]=Math.min(n,s),e[1]=Math.max(t,c),e[2]=Math.min(a,l),e[3]=Math.max(o,p),e[4]=Math.min(i,u),e[5]=Math.max(r,d)),e}function _c(e,n,t,a){const[o,i,r,s,c,l]=e;return e[0]=n,e[1]=n>i?n:i,e[2]=t,e[3]=t>s?t:s,e[4]=a,e[5]=a>l?a:l,o!==n||r!==t||c!==a}function Lc(e,n,t,a){const[o,i,r,s,c,l]=e;return e[0]=n<o?n:o,e[1]=n,e[2]=t<r?t:r,e[3]=t,e[4]=a<c?a:c,e[5]=a,i!==n||s!==t||l!==a}function Nc(e,n){return e[0]-=n,e[1]+=n,e[2]-=n,e[3]+=n,e[4]-=n,e[5]+=n,e}function Mc(e,n,t,a){return!!Ec(e)&&(n>=0?(e[0]*=n,e[1]*=n):(e[0]=n*e[1],e[1]=n*e[0]),t>=0?(e[2]*=t,e[3]*=t):(e[2]=t*e[3],e[3]=t*e[2]),a>=0?(e[4]*=a,e[5]*=a):(e[4]=a*e[5],e[5]=a*e[4]),!0)}function Dc(e){return[.5*(e[0]+e[1]),.5*(e[2]+e[3]),.5*(e[4]+e[5])]}function Fc(e,n){return e[2*n+1]-e[2*n]}function Bc(e){return[Fc(e,0),Fc(e,1),Fc(e,2)]}function zc(e){return e.slice(0,2)}function Uc(e){return e.slice(2,4)}function Vc(e){return e.slice(4,6)}function qc(e){const n=Bc(e);return n[0]>n[1]?n[0]>n[2]?n[0]:n[2]:n[1]>n[2]?n[1]:n[2]}function Gc(e){if(Ec(e)){const n=Bc(e);return Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2])}return null}function $c(e){return[e[0],e[2],e[4]]}function Wc(e){return[e[1],e[3],e[5]]}function Hc(e,n){return e<=0&&n>=0||e>=0&&n<=0}function Xc(e,n){let t=0;for(let a=0;a<2;a++)for(let o=2;o<4;o++)for(let i=4;i<6;i++)n[t++]=[e[a],e[o],e[i]];return n}function Yc(e,n,t){return n[0]=e[0],n[1]=e[2],n[2]=e[4],t[0]=e[1],t[1]=e[3],t[2]=e[5],n}function Kc(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const a=Xc(e,[]);for(let e=0;e<a.length;++e)vi(a[e],a[e],n);return Sc(t),Rc(t,a)}function Zc(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n[0]=.5*(e[1]-e[0]),n[1]=.5*(e[3]-e[2]),n[2]=.5*(e[5]-e[4]),n}function Qc(e,n,t,a){const o=[].concat(Oc),i=e.getData();for(let e=0;e<i.length;e+=3){const r=[i[e],i[e+1],i[e+2]],s=Xs(r,n);o[0]=Math.min(s,o[0]),o[1]=Math.max(s,o[1]);const c=Xs(r,t);o[2]=Math.min(c,o[2]),o[3]=Math.max(c,o[3]);const l=Xs(r,a);o[4]=Math.min(l,o[4]),o[5]=Math.max(l,o[5])}return o}function Jc(e,n,t,a,o){let i=!0;const r=[];let s=0;const c=[],l=[0,0,0];for(let t=0;t<3;t++)n[t]<e[2*t]?(r[t]=1,l[t]=e[2*t],i=!1):n[t]>e[2*t+1]?(r[t]=0,l[t]=e[2*t+1],i=!1):r[t]=2;if(i)return a[0]=n[0],a[1]=n[1],a[2]=n[2],o[0]=0,1;for(let e=0;e<3;e++)2!==r[e]&&0!==t[e]?c[e]=(l[e]-n[e])/t[e]:c[e]=-1;for(let e=0;e<3;e++)c[s]<c[e]&&(s=e);if(c[s]>1||c[s]<0)return 0;o[0]=c[s];for(let o=0;o<3;o++)if(s!==o){if(a[o]=n[o]+c[s]*t[o],a[o]<e[2*o]||a[o]>e[2*o+1])return 0}else a[o]=l[o];return 1}function el(e,n,t){const a=[];let o=0,i=1,r=1;for(let s=4;s<=5;++s){a[2]=e[s];for(let s=2;s<=3;++s){a[1]=e[s];for(let s=0;s<=1;++s)if(a[0]=e[s],o=Cc.evaluate(t,n,a),r&&(i=o>=0?1:-1,r=0),0===o||i>0&&o<0||i<0&&o>0)return 1}}return 0}function nl(e,n){if(!Ec(e)||!Ec(n))return!1;const t=[0,0,0,0,0,0];let a;for(let o=0;o<3;o++)if(a=!1,n[2*o]>=e[2*o]&&n[2*o]<=e[2*o+1]?(a=!0,t[2*o]=n[2*o]):e[2*o]>=n[2*o]&&e[2*o]<=n[2*o+1]&&(a=!0,t[2*o]=e[2*o]),n[2*o+1]>=e[2*o]&&n[2*o+1]<=e[2*o+1]?(a=!0,t[2*o+1]=n[2*o+1]):e[2*o+1]>=n[2*o]&&e[2*o+1]<=n[2*o+1]&&(a=!0,t[2*o+1]=e[2*o+1]),!a)return!1;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],!0}function tl(e,n){if(!Ec(e)||!Ec(n))return!1;for(let t=0;t<3;t++)if(!(n[2*t]>=e[2*t]&&n[2*t]<=e[2*t+1]||e[2*t]>=n[2*t]&&e[2*t]<=n[2*t+1]||n[2*t+1]>=e[2*t]&&n[2*t+1]<=e[2*t+1]||e[2*t+1]>=n[2*t]&&e[2*t+1]<=n[2*t+1]))return!1;return!0}function al(e,n,t,a){return!(n<e[0]||n>e[1])&&(!(t<e[2]||t>e[3])&&!(a<e[4]||a>e[5]))}function ol(e,n,t){const a=[[0,1,2,3,4,5,6,7],[0,1,4,5,2,3,6,7],[0,2,4,6,1,3,5,7]],o=[0,0,0,0,0,0,0,0];let i=0;for(let a=0;a<2;a++)for(let r=2;r<4;r++)for(let s=4;s<6;s++){const c=[e[a],e[r],e[s]];o[i++]=Cc.evaluate(t,n,c)}let r=2;for(;r--&&!(Hc(o[a[r][0]],o[a[r][4]])&&Hc(o[a[r][1]],o[a[r][5]])&&Hc(o[a[r][2]],o[a[r][6]])&&Hc(o[a[r][3]],o[a[r][7]])););if(r<0)return!1;const s=Math.sign(t[r]),c=Math.abs((e[2*r+1]-e[2*r])*t[r]);let l=s>0?1:0;for(let e=0;e<4;e++){if(0===c)continue;const n=Math.abs(o[a[r][e]])/c;s>0&&n<l&&(l=n),s<0&&n>l&&(l=n)}const p=(1-l)*e[2*r]+l*e[2*r+1];return s>0?e[2*r]=p:e[2*r+1]=p,!0}class il{constructor(e){this.bounds=e,this.bounds||(this.bounds=new Float64Array(Oc))}getBounds(){return this.bounds}equals(e){return kc(this.bounds,e)}isValid(){return Ec(this.bounds)}setBounds(e){return Ic(this.bounds,e)}reset(){return Sc(this.bounds)}addPoint(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return Pc(this.bounds,...n)}addPoints(e){return Rc(this.bounds,e)}addBounds(e,n,t,a,o,i){return jc(this.bounds,e,n,t,a,o,i)}setMinPoint(e,n,t){return _c(this.bounds,e,n,t)}setMaxPoint(e,n,t){return Lc(this.bounds,e,n,t)}inflate(e){return Nc(this.bounds,e)}scale(e,n,t){return Mc(this.bounds,e,n,t)}getCenter(){return Dc(this.bounds)}getLength(e){return Fc(this.bounds,e)}getLengths(){return Bc(this.bounds)}getMaxLength(){return qc(this.bounds)}getDiagonalLength(){return Gc(this.bounds)}getMinPoint(){return $c(this.bounds)}getMaxPoint(){return Wc(this.bounds)}getXRange(){return zc(this.bounds)}getYRange(){return Uc(this.bounds)}getZRange(){return Vc(this.bounds)}getCorners(e){return Xc(this.bounds,e)}computeCornerPoints(e,n){return Yc(this.bounds,e,n)}computeLocalBounds(e,n,t){return Qc(this.bounds,e,n,t)}transformBounds(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Kc(this.bounds,e,n)}computeScale3(e){return Zc(this.bounds,e)}cutWithPlane(e,n){return ol(this.bounds,e,n)}intersectBox(e,n,t,a){return Jc(this.bounds,e,n,t,a)}intersectPlane(e,n){return el(this.bounds,e,n)}intersect(e){return nl(this.bounds,e)}intersects(e){return tl(this.bounds,e)}containsPoint(e,n,t){return al(this.bounds,e,n,t)}contains(e){return tl(this.bounds,e)}}var rl={newInstance:function(e){const n=e&&e.bounds;return new il(n)},...{equals:kc,isValid:Ec,setBounds:Ic,reset:Sc,addPoint:Pc,addPoints:Rc,addBounds:jc,setMinPoint:_c,setMaxPoint:Lc,inflate:Nc,scale:Mc,scaleAboutCenter:function(e,n,t,a){if(!Ec(e))return!1;const o=Dc(e);return e[0]-=o[0],e[1]-=o[0],e[2]-=o[1],e[3]-=o[1],e[4]-=o[2],e[5]-=o[2],Mc(e,n,t,a),e[0]+=o[0],e[1]+=o[0],e[2]+=o[1],e[3]+=o[1],e[4]+=o[2],e[5]+=o[2],!0},getCenter:Dc,getLength:Fc,getLengths:Bc,getMaxLength:qc,getDiagonalLength:Gc,getMinPoint:$c,getMaxPoint:Wc,getXRange:zc,getYRange:Uc,getZRange:Vc,getCorners:Xc,computeCornerPoints:Yc,computeLocalBounds:Qc,transformBounds:Kc,computeScale3:Zc,cutWithPlane:ol,intersectBox:Jc,intersectPlane:el,intersect:nl,intersects:tl,containsPoint:al,contains:function(e,n){return!!tl(e,n)&&(!!al(e,...$c(n))&&!!al(e,...Wc(n)))},INIT_BOUNDS:Oc}};var sl={CoordinateSystem:{DISPLAY:0,WORLD:1}};const{CoordinateSystem:cl}=sl;function ll(e){return()=>hs.vtkErrorMacro(`vtkProp::${e} - NOT IMPLEMENTED`)}const pl={allocatedRenderTime:10,coordinateSystem:cl.WORLD,dragable:!0,estimatedRenderTime:0,paths:null,pickable:!0,renderTimeMultiplier:1,savedEstimatedRenderTime:0,textures:[],useBounds:!0,visibility:!0};function ul(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,pl,t),hs.obj(e,n),hs.get(e,n,["estimatedRenderTime","allocatedRenderTime"]),hs.setGet(e,n,["_parentProp","coordinateSystem","dragable","pickable","renderTimeMultiplier","useBounds","visibility"]),hs.moveToProtected(e,n,["parentProp"]),function(e,n){n.classHierarchy.push("vtkProp"),e.getMTime=()=>{let e=n.mtime;for(let t=0;t<n.textures.length;++t){const a=n.textures[t].getMTime();a>e&&(e=a)}return e},e.processSelectorPixelBuffers=(e,n)=>{},e.getNestedProps=()=>null,e.getActors=()=>[],e.getActors2D=()=>[],e.getVolumes=()=>[],e.pick=ll("pick"),e.hasKey=ll("hasKey"),e.getNestedVisibility=()=>n.visibility&&(!n._parentProp||n._parentProp.getNestedVisibility()),e.getNestedPickable=()=>n.pickable&&(!n._parentProp||n._parentProp.getNestedPickable()),e.getNestedDragable=()=>n.dragable&&(!n._parentProp||n._parentProp.getNestedDragable()),e.getRedrawMTime=()=>n.mtime,e.setEstimatedRenderTime=e=>{n.estimatedRenderTime=e,n.savedEstimatedRenderTime=e},e.restoreEstimatedRenderTime=()=>{n.estimatedRenderTime=n.savedEstimatedRenderTime},e.addEstimatedRenderTime=e=>{n.estimatedRenderTime+=e},e.setAllocatedRenderTime=e=>{n.allocatedRenderTime=e,n.savedEstimatedRenderTime=n.estimatedRenderTime,n.estimatedRenderTime=0},e.getSupportsSelection=()=>!1,e.getTextures=()=>n.textures,e.hasTexture=e=>-1!==n.textures.indexOf(e),e.addTexture=t=>{t&&!e.hasTexture(t)&&(n.textures=n.textures.concat(t),e.modified())},e.removeTexture=t=>{const a=n.textures.filter(e=>e!==t);n.textures.length!==a.length&&(n.textures=a,e.modified())},e.removeAllTextures=()=>{n.textures=[],e.modified()},e.setCoordinateSystemToWorld=()=>e.setCoordinateSystem(cl.WORLD),e.setCoordinateSystemToDisplay=()=>e.setCoordinateSystem(cl.DISPLAY)}(e,n)}var dl={newInstance:hs.newInstance(ul,"vtkProp"),extend:ul,...sl};function ml(e,n){n.classHierarchy.push("vtkProp3D"),e.addPosition=t=>{n.position=n.position.map((e,n)=>e+t[n]),e.modified()},e.getOrientationWXYZ=()=>{const e=gi();ui(e,n.rotation);const t=new Float64Array(3),a=function(e,n){var t=2*Math.acos(n[3]),a=Math.sin(t/2);return a>oi?(e[0]=n[0]/a,e[1]=n[1]/a,e[2]=n[2]/a):(e[0]=1,e[1]=0,e[2]=0),t}(t,e);return[(o=a,180*o/Math.PI),t[0],t[1],t[2]];var o},e.getOrientationQuaternion=function(){return ui(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n.rotation)},e.rotateX=t=>{0!==t&&(!function(e,n,t){var a=Math.sin(t),o=Math.cos(t),i=n[4],r=n[5],s=n[6],c=n[7],l=n[8],p=n[9],u=n[10],d=n[11];n!==e&&(e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15]),e[4]=i*o+l*a,e[5]=r*o+p*a,e[6]=s*o+u*a,e[7]=c*o+d*a,e[8]=l*o-i*a,e[9]=p*o-r*a,e[10]=u*o-s*a,e[11]=d*o-c*a}(n.rotation,n.rotation,$s(t)),e.modified())},e.rotateY=t=>{0!==t&&(!function(e,n,t){var a=Math.sin(t),o=Math.cos(t),i=n[0],r=n[1],s=n[2],c=n[3],l=n[8],p=n[9],u=n[10],d=n[11];n!==e&&(e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15]),e[0]=i*o-l*a,e[1]=r*o-p*a,e[2]=s*o-u*a,e[3]=c*o-d*a,e[8]=i*a+l*o,e[9]=r*a+p*o,e[10]=s*a+u*o,e[11]=c*a+d*o}(n.rotation,n.rotation,$s(t)),e.modified())},e.rotateZ=t=>{0!==t&&(!function(e,n,t){var a=Math.sin(t),o=Math.cos(t),i=n[0],r=n[1],s=n[2],c=n[3],l=n[4],p=n[5],u=n[6],d=n[7];n!==e&&(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]),e[0]=i*o+l*a,e[1]=r*o+p*a,e[2]=s*o+u*a,e[3]=c*o+d*a,e[4]=l*o-i*a,e[5]=p*o-r*a,e[6]=u*o-s*a,e[7]=d*o-c*a}(n.rotation,n.rotation,$s(t)),e.modified())},e.rotateWXYZ=(t,a,o,i)=>{if(0===t||0===a&&0===o&&0===i)return;const r=$s(t),s=gi();hi(s,[a,o,i],r);const c=new Float64Array(16);di(c,s),ci(n.rotation,n.rotation,c),e.modified()},e.rotateQuaternion=t=>{if(Math.abs(t[3])>=.999999)return;const a=di(new Float64Array(16),t);ci(n.rotation,n.rotation,a),e.modified()},e.setOrientation=(t,a,o)=>(t!==n.orientation[0]||a!==n.orientation[1]||o!==n.orientation[2])&&(n.orientation=[t,a,o],ri(n.rotation),e.rotateZ(o),e.rotateX(t),e.rotateY(a),e.modified(),!0),e.setUserMatrix=t=>!Js(n.userMatrix,t)&&(function(e,n){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]}(n.userMatrix,t),e.modified(),!0),e.getMatrix=()=>(e.computeMatrix(),n.matrix),e.computeMatrix=()=>{if(e.getMTime()>n.matrixMTime.getMTime()){ri(n.matrix),n.userMatrix&&ci(n.matrix,n.matrix,n.userMatrix),li(n.matrix,n.matrix,n.origin),li(n.matrix,n.matrix,n.position),ci(n.matrix,n.matrix,n.rotation),pi(n.matrix,n.matrix,n.scale),li(n.matrix,n.matrix,[-n.origin[0],-n.origin[1],-n.origin[2]]),si(n.matrix,n.matrix),n.isIdentity=!0;for(let e=0;e<4;++e)for(let t=0;t<4;++t)(e===t?1:0)!==n.matrix[e+4*t]&&(n.isIdentity=!1);n.matrixMTime.modified()}},e.getCenter=()=>rl.getCenter(n.bounds),e.getLength=()=>rl.getLength(n.bounds),e.getXRange=()=>rl.getXRange(n.bounds),e.getYRange=()=>rl.getYRange(n.bounds),e.getZRange=()=>rl.getZRange(n.bounds),e.getUserMatrix=()=>n.userMatrix,e.onModified(function(){e.computeMatrix()})}const fl={origin:[0,0,0],position:[0,0,0],orientation:[0,0,0],rotation:null,scale:[1,1,1],bounds:[1,-1,1,-1,1,-1],userMatrix:null,userMatrixMTime:null,cachedProp3D:null,isIdentity:!0,matrixMTime:null};function vl(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,fl,t),dl.extend(e,n,t),n.matrixMTime={},hs.obj(n.matrixMTime),hs.get(e,n,["bounds","isIdentity"]),hs.getArray(e,n,["orientation"]),hs.setGetArray(e,n,["origin","position","scale"],3),n.matrix=ri(new Float64Array(16)),n.rotation=ri(new Float64Array(16)),n.userMatrix=ri(new Float64Array(16)),n.transform=null,ml(e,n)}var gl={newInstance:hs.newInstance(vl,"vtkProp3D"),extend:vl};const hl={FLAT:0,GOURAUD:1,PHONG:2};var xl={Shading:hl,Representation:{POINTS:0,WIREFRAME:1,SURFACE:2},Interpolation:hl};const{Representation:bl,Interpolation:yl}=xl;function wl(e){return()=>hs.vtkErrorMacro(`vtkProperty::${e} - NOT IMPLEMENTED`)}const Tl={color:[1,1,1],ambientColor:[1,1,1],diffuseColor:[1,1,1],specularColor:[1,1,1],edgeColor:[0,0,0],ambient:0,diffuse:1,metallic:0,roughness:.6,normalStrength:1,emission:1,baseIOR:1.45,specular:0,specularPower:1,opacity:1,interpolation:yl.GOURAUD,representation:bl.SURFACE,edgeVisibility:!1,backfaceCulling:!1,frontfaceCulling:!1,pointSize:1,lineWidth:1,lighting:!0,shading:!1,materialName:null};const Al=hs.newInstance(function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Tl,t),hs.obj(e,n),hs.setGet(e,n,["lighting","interpolation","ambient","diffuse","metallic","roughness","normalStrength","emission","baseIOR","specular","specularPower","opacity","edgeVisibility","lineWidth","pointSize","backfaceCulling","frontfaceCulling","representation","diffuseTexture","metallicTexture","roughnessTexture","normalTexture","ambientOcclusionTexture","emissionTexture"]),hs.setGetArray(e,n,["ambientColor","specularColor","diffuseColor","edgeColor"],3),function(e,n){n.classHierarchy.push("vtkProperty"),e.setColor=(t,a,o)=>{Array.isArray(t)?n.color[0]===t[0]&&n.color[1]===t[1]&&n.color[2]===t[2]||(n.color[0]=t[0],n.color[1]=t[1],n.color[2]=t[2],e.modified()):n.color[0]===t&&n.color[1]===a&&n.color[2]===o||(n.color[0]=t,n.color[1]=a,n.color[2]=o,e.modified()),e.setDiffuseColor(n.color),e.setAmbientColor(n.color),e.setSpecularColor(n.color)},e.computeCompositeColor=wl("ComputeCompositeColor"),e.getColor=()=>{let e=0;n.ambient+n.diffuse+n.specular>0&&(e=1/(n.ambient+n.diffuse+n.specular));for(let t=0;t<3;t++)n.color[t]=e*(n.ambient*n.ambientColor[t]+n.diffuse*n.diffuseColor[t]+n.specular*n.specularColor[t]);return[].concat(n.color)},e.setSpecularPower=t=>{const a=1/Math.max(1,t);n.roughness===a&&n.specularPower===t||(n.specularPower=t,n.roughness=a,e.modified())},e.addShaderVariable=wl("AddShaderVariable"),e.setInterpolationToFlat=()=>e.setInterpolation(yl.FLAT),e.setInterpolationToGouraud=()=>e.setInterpolation(yl.GOURAUD),e.setInterpolationToPhong=()=>e.setInterpolation(yl.PHONG),e.getInterpolationAsString=()=>hs.enumToString(yl,n.interpolation),e.setRepresentationToWireframe=()=>e.setRepresentation(bl.WIREFRAME),e.setRepresentationToSurface=()=>e.setRepresentation(bl.SURFACE),e.setRepresentationToPoints=()=>e.setRepresentation(bl.POINTS),e.getRepresentationAsString=()=>hs.enumToString(bl,n.representation)}(e,n)},"vtkProperty");var Cl={newInstance:Al,...xl};const{vtkDebugMacro:Ol}=hs;const kl={mapper:null,property:null,backfaceProperty:null,forceOpaque:!1,forceTranslucent:!1,bounds:[1,-1,1,-1,1,-1]};function El(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,kl,t),gl.extend(e,n,t),n.boundsMTime={},hs.obj(n.boundsMTime),hs.set(e,n,["property"]),hs.setGet(e,n,["backfaceProperty","forceOpaque","forceTranslucent","mapper"]),function(e,n){n.classHierarchy.push("vtkActor");const t={...e};e.getActors=()=>[e],e.getIsOpaque=()=>{if(n.forceOpaque)return!0;if(n.forceTranslucent)return!1;n.property||e.getProperty();let t=n.property.getOpacity()>=1;return t=t&&(!n.texture||!n.texture.isTranslucent()),t=t&&(!n.mapper||n.mapper.getIsOpaque()),t},e.hasTranslucentPolygonalGeometry=()=>null!==n.mapper&&(null===n.property&&e.setProperty(e.makeProperty()),!e.getIsOpaque()),e.makeProperty=Cl.newInstance,e.getProperty=()=>(null===n.property&&(n.property=e.makeProperty()),n.property),e.getBounds=()=>{if(null===n.mapper)return n.bounds;const t=n.mapper.getBounds();if(!t||6!==t.length)return t;if(t[0]>t[1])return n.mapperBounds=t.concat(),n.bounds=[1,-1,1,-1,1,-1],n.boundsMTime.modified(),t;if(!n.mapperBounds||t[0]!==n.mapperBounds[0]||t[1]!==n.mapperBounds[1]||t[2]!==n.mapperBounds[2]||t[3]!==n.mapperBounds[3]||t[4]!==n.mapperBounds[4]||t[5]!==n.mapperBounds[5]||e.getMTime()>n.boundsMTime.getMTime()){Ol("Recomputing bounds..."),n.mapperBounds=t.concat();const a=[];rl.getCorners(t,a),e.computeMatrix();const o=new Float64Array(16);si(o,n.matrix),a.forEach(e=>vi(e,e,o)),n.bounds[0]=n.bounds[2]=n.bounds[4]=Number.MAX_VALUE,n.bounds[1]=n.bounds[3]=n.bounds[5]=-Number.MAX_VALUE,n.bounds=n.bounds.map((e,n)=>n%2==0?a.reduce((e,t)=>e>t[n/2]?t[n/2]:e,e):a.reduce((e,t)=>e<t[(n-1)/2]?t[(n-1)/2]:e,e)),n.boundsMTime.modified()}return n.bounds},e.getMTime=()=>{let e=t.getMTime();if(null!==n.property){const t=n.property.getMTime();e=t>e?t:e}if(null!==n.backfaceProperty){const t=n.backfaceProperty.getMTime();e=t>e?t:e}return e},e.getRedrawMTime=()=>{let e=n.mtime;if(null!==n.mapper){let t=n.mapper.getMTime();e=t>e?t:e,null!==n.mapper.getInput()&&(n.mapper.getInputAlgorithm().update(),t=n.mapper.getInput().getMTime(),e=t>e?t:e)}return e},e.getSupportsSelection=()=>!!n.mapper&&n.mapper.getSupportsSelection(),e.processSelectorPixelBuffers=(e,t)=>{n.mapper&&n.mapper.processSelectorPixelBuffers&&n.mapper.processSelectorPixelBuffers(e,t)}}(e,n)}var Il={newInstance:hs.newInstance(El,"vtkActor"),extend:El};const Sl={clippingPlanes:[]};var Pl={extend:function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Sl,t),hs.obj(e,n),hs.algo(e,n,1,0),n.clippingPlanes||(n.clippingPlanes=[]),function(e,n){n.classHierarchy.push("vtkAbstractMapper"),e.update=()=>{e.getInputData()},e.addClippingPlane=t=>!!t.isA("vtkPlane")&&!n.clippingPlanes.includes(t)&&(n.clippingPlanes.push(t),e.modified(),!0),e.getNumberOfClippingPlanes=()=>n.clippingPlanes.length,e.removeAllClippingPlanes=()=>0!==n.clippingPlanes.length&&(n.clippingPlanes.length=0,e.modified(),!0),e.removeClippingPlane=t=>{const a=n.clippingPlanes.indexOf(t);return-1!==a&&(n.clippingPlanes.splice(a,1),e.modified(),!0)},e.getClippingPlanes=()=>n.clippingPlanes,e.setClippingPlanes=n=>{if(n)if(Array.isArray(n)){const t=n.length;for(let a=0;a<t&&a<6;a++)e.addClippingPlane(n[a])}else e.addClippingPlane(n)},e.getClippingPlaneInDataCoords=(e,t,a)=>{const o=n.clippingPlanes,i=e;if(o){const e=o.length;if(t>=0&&t<e){const e=o[t],n=e.getNormal(),r=e.getOrigin(),s=n[0],c=n[1],l=n[2],p=-(s*r[0]+c*r[1]+l*r[2]);return a[0]=s*i[0]+c*i[4]+l*i[8]+p*i[12],a[1]=s*i[1]+c*i[5]+l*i[9]+p*i[13],a[2]=s*i[2]+c*i[6]+l*i[10]+p*i[14],void(a[3]=s*i[3]+c*i[7]+l*i[11]+p*i[15])}}hs.vtkErrorMacro(`Clipping plane index ${t} is out of range.`)}}(e,n)}};var Rl={extend:function(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,(e=>({bounds:[...rl.INIT_BOUNDS],center:[0,0,0],viewSpecificProperties:{},...e}))(t)),Pl.extend(e,n,t),hs.setGet(e,n,["viewSpecificProperties"]),function(e,n){e.getBounds=()=>(hs.vtkErrorMacro("vtkAbstractMapper3D.getBounds - NOT IMPLEMENTED"),cc()),e.getCenter=()=>{const t=e.getBounds();return n.center=rl.isValid(t)?rl.getCenter(t):null,n.center?.slice()},e.getLength=()=>{const n=e.getBounds();return rl.getDiagonalLength(n)}}(e,n)}};const jl={VOID:"",CHAR:"Int8Array",SIGNED_CHAR:"Int8Array",UNSIGNED_CHAR:"Uint8Array",UNSIGNED_CHAR_CLAMPED:"Uint8ClampedArray",SHORT:"Int16Array",UNSIGNED_SHORT:"Uint16Array",INT:"Int32Array",UNSIGNED_INT:"Uint32Array",FLOAT:"Float32Array",DOUBLE:"Float64Array"};var _l={DefaultDataType:jl.FLOAT,DataTypeByteSize:{Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},VtkDataTypes:jl};const{vtkErrorMacro:Ll}=xs,{DefaultDataType:Nl}=_l;function Ml(e,n,t){const a=e.length;let o,i,r=Number.MAX_VALUE,s=-Number.MAX_VALUE;for(i=n;i<a;i+=t)if(!Number.isNaN(e[i])){r=e[i],s=r;break}for(;i<a;i+=t)o=e[i],o<r?r=o:o>s&&(s=o);return{min:r,max:s}}function Dl(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(n<0&&t>1){const n=e.length/t,a=new Float64Array(n);for(let o=0,i=0;o<n;++o){for(let n=i+t;i<n;++i)a[o]+=e[i]*e[i];a[o]**=.5}return Ml(a,0,1)}return Ml(e,n<0?0:n,t)}function Fl(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const t=e||[];for(;t.length<=n;)t.push(null);return t}function Bl(e){return Object.prototype.toString.call(e).slice(8,-1)}const zl={computeRange:Dl,createRangeHelper:function(){let e=Number.MAX_VALUE,n=-Number.MAX_VALUE,t=0,a=0;return{add(o){e>o&&(e=o),n<o&&(n=o),t++,a+=o},get:()=>({min:e,max:n,count:t,sum:a,mean:a/t}),getRange:()=>({min:e,max:n})}},fastComputeRange:Ml,getDataType:Bl,getMaxNorm:function(e){const n=e.getNumberOfComponents();let t=0;const a=new Array(n);for(let o=0;o<e.getNumberOfTuples();++o){e.getTuple(o,a);const i=Ks(a,n);i>t&&(t=i)}return t}};const Ul={name:"",numberOfComponents:1,dataType:Nl,rangeTuple:[0,0]};function Vl(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object.assign(n,Ul,t),Array.isArray(t.values)&&void 0===t.dataType&&console.warn("vtkDataArray.newInstance: no dataType provided, converting to Float32Array"),!n.empty&&!n.values&&!n.size)throw new TypeError("Cannot create vtkDataArray object without: size > 0, values");if(n.values?Array.isArray(n.values)&&(n.values=_r(n.dataType,n.values)):n.values=jr(n.dataType,n.size),n.values&&(n.size=n.size??n.values.length,n.dataType=Bl(n.values)),qr(e,n),Xr(e,n,["name","numberOfComponents"]),n.size%n.numberOfComponents!==0)throw new RangeError("model.size is not a multiple of model.numberOfComponents");!function(e,n){function t(t){if(t<0)return!1;const a=e.getNumberOfComponents(),o=n.values.length/(a>0?a:1);if(t===o)return!0;if(t>o){const e=n.values;return n.values=jr(n.dataType,(t+o)*a),n.values.set(e),!0}return n.size>t*a&&(n.size=t*a,e.dataChange()),!0}n.classHierarchy.push("vtkDataArray"),e.dataChange=()=>{n.ranges=null,e.modified()},e.resize=a=>{t(a);const o=a*e.getNumberOfComponents();return n.size!==o&&(n.size=o,e.dataChange(),!0)},e.initialize=()=>{e.resize(0)},e.getElementComponentSize=()=>n.values.BYTES_PER_ELEMENT,e.getComponent=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.values[e*n.numberOfComponents+t]},e.setComponent=(t,a,o)=>{o!==n.values[t*n.numberOfComponents+a]&&(n.values[t*n.numberOfComponents+a]=o,e.dataChange())},e.getValue=t=>{const a=t/n.numberOfComponents,o=t%n.numberOfComponents;return e.getComponent(a,o)},e.setValue=(t,a)=>{const o=t/n.numberOfComponents,i=t%n.numberOfComponents;e.setComponent(o,i,a)},e.getData=()=>n.size===n.values.length?n.values:n.values.subarray(0,n.size),e.getRange=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,a=t;a<0&&(a=1===n.numberOfComponents?0:n.numberOfComponents);let o=null;return n.ranges||(n.ranges=Fl(n.ranges,n.numberOfComponents)),o=n.ranges[a],o?(n.rangeTuple[0]=o.min,n.rangeTuple[1]=o.max,n.rangeTuple):(o=Dl(e.getData(),t,n.numberOfComponents),n.ranges[a]=o,n.rangeTuple[0]=o.min,n.rangeTuple[1]=o.max,n.rangeTuple)},e.setRange=(e,t)=>{n.ranges||(n.ranges=Fl(n.ranges,n.numberOfComponents));const a={min:e.min,max:e.max};return n.ranges[t]=a,n.rangeTuple[0]=a.min,n.rangeTuple[1]=a.max,n.rangeTuple},e.getRanges=function(){if(arguments.length>0&&void 0!==arguments[0]&&!arguments[0])return structuredClone(n.ranges);const t=[];for(let a=0;a<n.numberOfComponents;a++){const[n,o]=e.getRange(a),i={min:n,max:o};t.push(i)}if(n.numberOfComponents>1){const[n,a]=e.getRange(-1),o={min:n,max:a};t.push(o)}return t},e.setTuple=(e,t)=>{const a=e*n.numberOfComponents;for(let e=0;e<n.numberOfComponents;e++)n.values[a+e]=t[e]},e.setTuples=(e,t)=>{let a=e*n.numberOfComponents;const o=Math.min(t.length,n.size-a);for(let e=0;e<o;)n.values[a++]=t[e++]},e.insertTuple=(a,o)=>(n.size<=a*n.numberOfComponents&&(n.size=(a+1)*n.numberOfComponents,t(a+1)),e.setTuple(a,o),a),e.insertTuples=(a,o)=>{const i=a+o.length/n.numberOfComponents;return n.size<i*n.numberOfComponents&&(n.size=i*n.numberOfComponents,t(i)),e.setTuples(a,o),i},e.insertNextTuple=t=>{const a=n.size/n.numberOfComponents;return e.insertTuple(a,t)},e.insertNextTuples=t=>{const a=n.size/n.numberOfComponents;return e.insertTuples(a,t)},e.findTuple=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e-6;for(let a=0;a<n.size;a+=n.numberOfComponents)if(Math.abs(e[0]-n.values[a])<=t){let o=!0;for(let i=1;i<n.numberOfComponents;++i)if(Math.abs(e[i]-n.values[a+i])>t){o=!1;break}if(o)return a/n.numberOfComponents}return-1},e.getTuple=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const a=n.numberOfComponents||1,o=e*a;switch(a){case 4:t[3]=n.values[o+3];case 3:t[2]=n.values[o+2];case 2:t[1]=n.values[o+1];case 1:t[0]=n.values[o];break;default:for(let e=a-1;e>=0;--e)t[e]=n.values[o+e]}return t},e.getTuples=(t,a)=>{const o=(t??0)*n.numberOfComponents,i=(a??e.getNumberOfTuples())*n.numberOfComponents,r=e.getData().subarray(o,i);return r.length>0?r:null},e.getTupleLocation=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*n.numberOfComponents},e.getNumberOfComponents=()=>n.numberOfComponents,e.getNumberOfValues=()=>n.size,e.getNumberOfTuples=()=>n.size/n.numberOfComponents,e.getDataType=()=>n.dataType,e.newClone=()=>ql({empty:!0,name:n.name,dataType:n.dataType,numberOfComponents:n.numberOfComponents}),e.getName=()=>(n.name||(e.modified(),n.name=`vtkDataArray${e.getMTime()}`),n.name),e.setData=(t,a)=>{n.values=t,n.size=t.length,n.dataType=Bl(t),a&&(n.numberOfComponents=a),n.size%n.numberOfComponents!==0&&(n.numberOfComponents=1),e.dataChange()},e.getState=()=>{if(n.deleted)return null;const t={...n,vtkClass:e.getClassName()};t.values=Array.from(t.values),delete t.buffer,Object.keys(t).forEach(e=>{t[e]||delete t[e]});const a={};return Object.keys(t).sort().forEach(e=>{a[e]=t[e]}),a.mtime&&delete a.mtime,a},e.deepCopy=t=>{const a=e.getDataType(),o=n.values;e.shallowCopy(t),n.ranges=structuredClone(t.getRanges()),o?.length>=t.getNumberOfValues()&&a===t.getDataType()?(o.set(t.getData()),n.values=o,e.dataChange()):e.setData(t.getData().slice())},e.interpolateTuple=(t,a,o,i,r,s)=>{const c=n.numberOfComponents||1;c===a.getNumberOfComponents()&&c===i.getNumberOfComponents()||Ll("numberOfComponents must match");const l=a.getTuple(o),p=i.getTuple(r),u=[];switch(u.length=c,c){case 4:u[3]=l[3]+(p[3]-l[3])*s;case 3:u[2]=l[2]+(p[2]-l[2])*s;case 2:u[1]=l[1]+(p[1]-l[1])*s;case 1:u[0]=l[0]+(p[0]-l[0])*s;break;default:for(let e=0;e<c;e++)u[e]=l[e]+(p[e]-l[e])*s}return e.insertTuple(t,u)}}(e,n)}const ql=as(Vl,"vtkDataArray");var Gl={newInstance:ql,extend:Vl,...zl,..._l};const{vtkErrorMacro:$l,vtkWarningMacro:Wl}=hs;const Hl={arrays:[],copyFieldFlags:[],doCopyAllOn:!0,doCopyAllOff:!1};function Xl(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Hl,t),hs.obj(e,n),function(e,n){n.classHierarchy.push("vtkFieldData");const t=e.getState;n.arrays&&(n.arrays=n.arrays.map(e=>({data:gr(e.data)}))),e.initialize=()=>{e.initializeFields(),e.copyAllOn(),e.clearFieldFlags()},e.initializeFields=()=>{n.arrays=[],n.copyFieldFlags={},e.modified()},e.copyStructure=t=>{e.initializeFields(),n.copyFieldFlags=t.getCopyFieldFlags().map(e=>e),n.arrays=t.arrays().map(e=>({array:e}))},e.getNumberOfArrays=()=>n.arrays.length,e.getNumberOfActiveArrays=()=>n.arrays.length,e.addArray=t=>{const a=t.getName(),{array:o,index:i}=e.getArrayWithIndex(a);return null!=o?(n.arrays[i]={data:t},i):(n.arrays=[].concat(n.arrays,{data:t}),n.arrays.length-1)},e.removeAllArrays=()=>{n.arrays=[]},e.removeArray=t=>{const a=n.arrays.findIndex(e=>e.data.getName()===t);return e.removeArrayByIndex(a)},e.removeArrayByIndex=e=>-1!==e&&e<n.arrays.length&&(n.arrays.splice(e,1),!0),e.getArrays=()=>n.arrays.map(e=>e.data),e.getArray=n=>"number"==typeof n?e.getArrayByIndex(n):e.getArrayByName(n),e.getArrayByName=e=>n.arrays.reduce((n,t,a)=>t.data.getName()===e?t.data:n,null),e.getArrayWithIndex=e=>{const t=n.arrays.findIndex(n=>n.data.getName()===e);return{array:-1!==t?n.arrays[t].data:null,index:t}},e.getArrayByIndex=e=>e>=0&&e<n.arrays.length?n.arrays[e].data:null,e.hasArray=n=>e.getArrayWithIndex(n).index>=0,e.getArrayName=e=>{const t=n.arrays[e];return t?t.data.getName():""},e.getCopyFieldFlags=()=>n.copyFieldFlags,e.getFlag=e=>n.copyFieldFlags[e],e.passData=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;t.getArrays().forEach(i=>{const r=e.getFlag(i.getName());if(!1!==r&&(!n.doCopyAllOff||!0===r)&&i){let n=e.getArrayByName(i.getName());if(n)if(i.getNumberOfComponents()===n.getNumberOfComponents())if(a>-1&&a<i.getNumberOfTuples()){const e=o>-1?o:a;n.insertTuple(e,i.getTuple(a))}else n.insertTuples(0,i.getTuples());else $l("Unhandled case in passData");else if(a<0||a>i.getNumberOfTuples())e.addArray(i),t.getAttributes(i).forEach(n=>{e.setAttribute(i,n)});else{const r=i.getNumberOfComponents();let s=i.getNumberOfValues();const c=o>-1?o:a;s<=c*r&&(s=(c+1)*r),n=Gl.newInstance({name:i.getName(),dataType:i.getDataType(),numberOfComponents:r,values:hs.newTypedArray(i.getDataType(),s),size:0}),n.insertTuple(c,i.getTuple(a)),e.addArray(n),t.getAttributes(i).forEach(t=>{e.setAttribute(n,t)})}}})},e.interpolateData=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5;t.getArrays().forEach(s=>{const c=e.getFlag(s.getName());if(!1!==c&&(!n.doCopyAllOff||!0===c)&&s){let n=e.getArrayByName(s.getName());if(n)if(s.getNumberOfComponents()===n.getNumberOfComponents())if(a>-1&&a<s.getNumberOfTuples()){const e=i>-1?i:a;n.interpolateTuple(e,s,a,s,o,r),Wl("Unexpected case in interpolateData")}else n.insertTuples(s.getTuples());else $l("Unhandled case in interpolateData");else if(a<0||o<0||a>s.getNumberOfTuples())e.addArray(s),t.getAttributes(s).forEach(n=>{e.setAttribute(s,n)});else{const c=s.getNumberOfComponents();let l=s.getNumberOfValues();const p=i>-1?i:a;l<=p*c&&(l=(p+1)*c),n=Gl.newInstance({name:s.getName(),dataType:s.getDataType(),numberOfComponents:c,values:hs.newTypedArray(s.getDataType(),l),size:0}),n.interpolateTuple(p,s,a,s,o,r),e.addArray(n),t.getAttributes(s).forEach(t=>{e.setAttribute(n,t)})}}})},e.copyFieldOn=e=>{n.copyFieldFlags[e]=!0},e.copyFieldOff=e=>{n.copyFieldFlags[e]=!1},e.copyAllOn=()=>{n.doCopyAllOn&&!n.doCopyAllOff||(n.doCopyAllOn=!0,n.doCopyAllOff=!1,e.modified())},e.copyAllOff=()=>{!n.doCopyAllOn&&n.doCopyAllOff||(n.doCopyAllOn=!1,n.doCopyAllOff=!0,e.modified())},e.clearFieldFlags=()=>{n.copyFieldFlags={}},e.deepCopy=e=>{n.arrays=e.getArrays().map(e=>{const n=e.newClone();return n.deepCopy(e),{data:n}})},e.copyFlags=e=>e.getCopyFieldFlags().map(e=>e),e.reset=()=>n.arrays.forEach(e=>e.data.reset()),e.getMTime=()=>n.arrays.reduce((e,n)=>n.data.getMTime()>e?n.data.getMTime():e,n.mtime),e.getNumberOfComponents=()=>n.arrays.reduce((e,n)=>e+n.data.getNumberOfComponents(),0),e.getNumberOfTuples=()=>n.arrays.length>0?n.arrays[0].getNumberOfTuples():0,e.getState=()=>{const e=t();return e&&(e.arrays=n.arrays.map(e=>({data:e.data.getState()}))),e}}(e,n)}var Yl={newInstance:hs.newInstance(Xl,"vtkFieldData"),extend:Xl};var Kl={AttributeCopyOperations:{COPYTUPLE:0,INTERPOLATE:1,PASSDATA:2,ALLCOPY:3},AttributeLimitTypes:{MAX:0,EXACT:1,NOLIMIT:2},AttributeTypes:{SCALARS:0,VECTORS:1,NORMALS:2,TCOORDS:3,TENSORS:4,GLOBALIDS:5,PEDIGREEIDS:6,EDGEFLAG:7,NUM_ATTRIBUTES:8},CellGhostTypes:{DUPLICATECELL:1,HIGHCONNECTIVITYCELL:2,LOWCONNECTIVITYCELL:4,REFINEDCELL:8,EXTERIORCELL:16,HIDDENCELL:32},DesiredOutputPrecision:{DEFAULT:0,SINGLE:1,DOUBLE:2},PointGhostTypes:{DUPLICATEPOINT:1,HIDDENPOINT:2},ghostArrayName:"vtkGhostType"};const{AttributeTypes:Zl,AttributeCopyOperations:Ql}=Kl,{vtkWarningMacro:Jl}=hs;const ep={activeScalars:-1,activeVectors:-1,activeTensors:-1,activeNormals:-1,activeTCoords:-1,activeGlobalIds:-1,activePedigreeIds:-1};function np(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,ep,t),Yl.extend(e,n,t),hs.setGet(e,n,["activeScalars","activeNormals","activeTCoords","activeVectors","activeTensors","activeGlobalIds","activePedigreeIds"]),n.arrays||(n.arrays={}),function(e,n){const t=["Scalars","Vectors","Normals","TCoords","Tensors","GlobalIds","PedigreeIds"];function a(e){let n=t.find(n=>Zl[n.toUpperCase()]===e||"number"!=typeof e&&n.toLowerCase()===e.toLowerCase());return void 0===n&&(n=null),n}n.classHierarchy.push("vtkDataSetAttributes");const o={...e};e.checkNumberOfComponents=e=>!0,e.setAttribute=(t,o)=>{const i=a(o);if(t&&"PEDIGREEIDS"===i.toUpperCase()&&!t.isA("vtkDataArray"))return Jl(`Cannot set attribute ${i}. The attribute must be a vtkDataArray.`),-1;if(t&&!e.checkNumberOfComponents(t,i))return Jl(`Cannot set attribute ${i}. Incorrect number of components.`),-1;let r=n[`active${i}`];if(r>=0&&r<n.arrays.length){if(n.arrays[r]===t)return r;e.removeArrayByIndex(r)}return t?(r=e.addArray(t),n[`active${i}`]=r):n[`active${i}`]=-1,e.modified(),n[`active${i}`]},e.getAttributes=n=>t.filter(t=>e[`get${t}`]()===n),e.setActiveAttributeByName=(n,t)=>e.setActiveAttributeByIndex(e.getArrayWithIndex(n).index,t),e.setActiveAttributeByIndex=(t,o)=>{const i=a(o);if(t>=0&&t<n.arrays.length){if("PEDIGREEIDS"!==i.toUpperCase()){const n=e.getArrayByIndex(t);if(!n.isA("vtkDataArray"))return Jl(`Cannot set attribute ${i}. Only vtkDataArray subclasses can be set as active attributes.`),-1;if(!e.checkNumberOfComponents(n,i))return Jl(`Cannot set attribute ${i}. Incorrect number of components.`),-1}return n[`active${i}`]=t,e.modified(),t}return-1===t&&(n[`active${i}`]=t,e.modified()),-1},e.getActiveAttribute=n=>{const t=a(n);return e[`get${t}`]()},e.removeAllArrays=()=>{t.forEach(e=>{n[`active${e}`]=-1}),o.removeAllArrays()},e.removeArrayByIndex=e=>(-1!==e&&t.forEach(t=>{e===n[`active${t}`]?n[`active${t}`]=-1:e<n[`active${t}`]&&(n[`active${t}`]-=1)}),o.removeArrayByIndex(e)),t.forEach(t=>{const a=`active${t}`;e[`get${t}`]=()=>e.getArrayByIndex(n[a]),e[`set${t}`]=n=>e.setAttribute(n,t),e[`setActive${t}`]=n=>e.setActiveAttributeByIndex(e.getArrayWithIndex(n).index,t),e[`copy${t}Off`]=()=>{const e=t.toUpperCase();n.copyAttributeFlags[Ql.PASSDATA][Zl[e]]=!1},e[`copy${t}On`]=()=>{const e=t.toUpperCase();n.copyAttributeFlags[Ql.PASSDATA][Zl[e]]=!0}}),e.initializeAttributeCopyFlags=()=>{n.copyAttributeFlags=[],Object.keys(Ql).filter(e=>"ALLCOPY"!==e).forEach(e=>{n.copyAttributeFlags[Ql[e]]=Object.keys(Zl).filter(e=>"NUM_ATTRIBUTES"!==e).reduce((e,n)=>(e[Zl[n]]=!0,e),[])}),n.copyAttributeFlags[Ql.COPYTUPLE][Zl.GLOBALIDS]=!1,n.copyAttributeFlags[Ql.INTERPOLATE][Zl.GLOBALIDS]=!1,n.copyAttributeFlags[Ql.COPYTUPLE][Zl.PEDIGREEIDS]=!1},e.initialize=hs.chain(e.initialize,e.initializeAttributeCopyFlags),n.dataArrays&&Object.keys(n.dataArrays).length&&Object.keys(n.dataArrays).forEach(t=>{n.dataArrays[t].ref||"vtkDataArray"!==n.dataArrays[t].type||e.addArray(Gl.newInstance(n.dataArrays[t]))});const i=e.shallowCopy;e.shallowCopy=(e,t)=>{i(e,t),n.arrays=e.getArrays().map(e=>{const n=e.newClone();return n.shallowCopy(e,t),{data:n}})},e.initializeAttributeCopyFlags()}(e,n)}var tp={newInstance:hs.newInstance(np,"vtkDataSetAttributes"),extend:np,...Kl};var ap={FieldDataTypes:{UNIFORM:0,DATA_OBJECT_FIELD:0,COORDINATE:1,POINT_DATA:1,POINT:2,POINT_FIELD_DATA:2,CELL:3,CELL_FIELD_DATA:3,VERTEX:4,VERTEX_FIELD_DATA:4,EDGE:5,EDGE_FIELD_DATA:5,ROW:6,ROW_DATA:6},FieldAssociations:{FIELD_ASSOCIATION_POINTS:0,FIELD_ASSOCIATION_CELLS:1,FIELD_ASSOCIATION_NONE:2,FIELD_ASSOCIATION_POINTS_THEN_CELLS:3,FIELD_ASSOCIATION_VERTICES:4,FIELD_ASSOCIATION_EDGES:5,FIELD_ASSOCIATION_ROWS:6,NUMBER_OF_ASSOCIATIONS:7}};const op=["pointData","cellData","fieldData"];const ip={};function rp(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,ip,t),hs.obj(e,n),hs.setGet(e,n,op),function(e,n){n.classHierarchy.push("vtkDataSet"),op.forEach(e=>{n[e]?n[e]=gr(n[e]):n[e]=tp.newInstance()});const t=e.shallowCopy;e.shallowCopy=function(e){t(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),op.forEach(t=>{n[t]=tp.newInstance(),n[t].shallowCopy(e.getReferenceByName(t))})}}(e,n)}var sp={newInstance:hs.newInstance(rp,"vtkDataSet"),extend:rp,...ap};const cp={UNCHANGED:0,SINGLE_POINT:1,X_LINE:2,Y_LINE:3,Z_LINE:4,XY_PLANE:5,YZ_PLANE:6,XZ_PLANE:7,XYZ_GRID:8,EMPTY:9};var lp={StructuredType:cp};const{StructuredType:pp}=lp;var up={getDataDescriptionFromExtent:function(e){let n=0;for(let t=0;t<3;++t)e[2*t]<e[2*t+1]&&n++;return e[0]>e[1]||e[2]>e[3]||e[4]>e[5]?pp.EMPTY:3===n?pp.XYZ_GRID:2===n?e[0]===e[1]?pp.YZ_PLANE:e[2]===e[3]?pp.XZ_PLANE:pp.XY_PLANE:1===n?e[0]<e[1]?pp.X_LINE:e[2]<e[3]?pp.Y_LINE:pp.Z_LINE:pp.SINGLE_POINT},...lp};const{vtkErrorMacro:dp}=hs;const mp={direction:null,indexToWorld:null,worldToIndex:null,spacing:[1,1,1],origin:[0,0,0],extent:[0,-1,0,-1,0,-1],dataDescription:cp.EMPTY};function fp(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,mp,t),sp.extend(e,n,t),n.direction?Array.isArray(n.direction)&&(n.direction=new Float64Array(n.direction.slice(0,9))):n.direction=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}(new Float64Array(9)),n.indexToWorld=new Float64Array(16),n.worldToIndex=new Float64Array(16),hs.get(e,n,["indexToWorld","worldToIndex"]),hs.setGetArray(e,n,["origin","spacing"],3),hs.setGetArray(e,n,["direction"],9),hs.getArray(e,n,["extent"],6),function(e,n){n.classHierarchy.push("vtkImageData"),e.setExtent=function(){if(n.deleted)return dp("instance deleted - cannot call any method"),!1;for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];const i=1===a.length?a[0]:a;if(6!==i.length)return!1;const r=n.extent.some((e,n)=>e!==i[n]);return r&&(n.extent=i.slice(),n.dataDescription=up.getDataDescriptionFromExtent(n.extent),e.modified()),r},e.setDimensions=function(){let t,a,o;if(n.deleted)dp("instance deleted - cannot call any method");else{if(1===arguments.length){const e=arguments.length<=0?void 0:arguments[0];t=e[0],a=e[1],o=e[2]}else{if(3!==arguments.length)return void dp("Bad dimension specification");t=arguments.length<=0?void 0:arguments[0],a=arguments.length<=1?void 0:arguments[1],o=arguments.length<=2?void 0:arguments[2]}e.setExtent(0,t-1,0,a-1,0,o-1)}},e.getDimensions=()=>[n.extent[1]-n.extent[0]+1,n.extent[3]-n.extent[2]+1,n.extent[5]-n.extent[4]+1],e.getNumberOfCells=()=>{const n=e.getDimensions();let t=1;for(let e=0;e<3;e++){if(0===n[e])return 0;n[e]>1&&(t*=n[e]-1)}return t},e.getNumberOfPoints=()=>{const n=e.getDimensions();return n[0]*n[1]*n[2]},e.getPoint=t=>{const a=e.getDimensions();if(0===a[0]||0===a[1]||0===a[2])return dp("Requesting a point from an empty image."),null;const o=new Float64Array(3);switch(n.dataDescription){case cp.EMPTY:return null;case cp.SINGLE_POINT:break;case cp.X_LINE:o[0]=t;break;case cp.Y_LINE:o[1]=t;break;case cp.Z_LINE:o[2]=t;break;case cp.XY_PLANE:o[0]=t%a[0],o[1]=t/a[0];break;case cp.YZ_PLANE:o[1]=t%a[1],o[2]=t/a[1];break;case cp.XZ_PLANE:o[0]=t%a[0],o[2]=t/a[0];break;case cp.XYZ_GRID:o[0]=t%a[0],o[1]=t/a[0]%a[1],o[2]=t/(a[0]*a[1]);break;default:dp("Invalid dataDescription")}const i=[0,0,0];return e.indexToWorld(o,i),i},e.getBounds=()=>e.extentToBounds(e.getSpatialExtent()),e.extentToBounds=e=>rl.transformBounds(e,n.indexToWorld),e.getSpatialExtent=()=>rl.inflate([...n.extent],.5),e.computeTransforms=()=>{!function(e,n){e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1}(n.indexToWorld,n.origin),n.indexToWorld[0]=n.direction[0],n.indexToWorld[1]=n.direction[1],n.indexToWorld[2]=n.direction[2],n.indexToWorld[4]=n.direction[3],n.indexToWorld[5]=n.direction[4],n.indexToWorld[6]=n.direction[5],n.indexToWorld[8]=n.direction[6],n.indexToWorld[9]=n.direction[7],n.indexToWorld[10]=n.direction[8],pi(n.indexToWorld,n.indexToWorld,n.spacing),function(e,n){var t=n[0],a=n[1],o=n[2],i=n[3],r=n[4],s=n[5],c=n[6],l=n[7],p=n[8],u=n[9],d=n[10],m=n[11],f=n[12],v=n[13],g=n[14],h=n[15],x=t*s-a*r,b=t*c-o*r,y=t*l-i*r,w=a*c-o*s,T=a*l-i*s,A=o*l-i*c,C=p*v-u*f,O=p*g-d*f,k=p*h-m*f,E=u*g-d*v,I=u*h-m*v,S=d*h-m*g,P=x*S-b*I+y*E+w*k-T*O+A*C;P&&(P=1/P,e[0]=(s*S-c*I+l*E)*P,e[1]=(o*I-a*S-i*E)*P,e[2]=(v*A-g*T+h*w)*P,e[3]=(d*T-u*A-m*w)*P,e[4]=(c*k-r*S-l*O)*P,e[5]=(t*S-o*k+i*O)*P,e[6]=(g*y-f*A-h*b)*P,e[7]=(p*A-d*y+m*b)*P,e[8]=(r*I-s*k+l*C)*P,e[9]=(a*k-t*I-i*C)*P,e[10]=(f*T-v*y+h*x)*P,e[11]=(u*y-p*T-m*x)*P,e[12]=(s*O-r*E-c*C)*P,e[13]=(t*E-a*O+o*C)*P,e[14]=(v*b-f*w-g*x)*P,e[15]=(p*w-u*b+d*x)*P)}(n.worldToIndex,n.indexToWorld)},e.indexToWorld=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return vi(t,e,n.indexToWorld),t},e.indexToWorldVec3=e.indexToWorld,e.worldToIndex=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return vi(t,e,n.worldToIndex),t},e.worldToIndexVec3=e.worldToIndex,e.indexToWorldBounds=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return rl.transformBounds(e,n.indexToWorld,t)},e.worldToIndexBounds=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return rl.transformBounds(e,n.worldToIndex,t)},e.onModified(e.computeTransforms),e.computeTransforms(),e.getCenter=()=>rl.getCenter(e.getBounds()),e.computeHistogram=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const a=[0,0,0,0,0,0];e.worldToIndexBounds(n,a);const o=[0,0,0],i=[0,0,0];rl.computeCornerPoints(a,o,i),nc(o,o),nc(i,i);const r=e.getDimensions();ic(o,[0,0,0],[r[0]-1,r[1]-1,r[2]-1],o),ic(i,[0,0,0],[r[0]-1,r[1]-1,r[2]-1],i);const s=r[0],c=r[0]*r[1],l=e.getPointData().getScalars().getData();let p=-1/0,u=1/0,d=0,m=0,f=0;for(let e=o[2];e<=i[2];e++)for(let n=o[1];n<=i[1];n++){let r=o[0]+n*s+e*c;for(let s=o[0];s<=i[0];s++){if(!t||t([s,n,e],a)){const e=l[r];e>p&&(p=e),e<u&&(u=e),d+=e*e,m+=e,f+=1}++r}}const v=f>0?m/f:0,g=f?Math.abs(d/f-v*v):0;return{minimum:u,maximum:p,average:v,variance:g,sigma:Math.sqrt(g),count:f}},e.computeIncrements=function(e){const n=[];let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;for(let a=0;a<3;++a)n[a]=t,t*=e[2*a+1]-e[2*a]+1;return n},e.computeOffsetIndex=n=>{let[t,a,o]=n;const i=e.getExtent(),r=e.getPointData().getScalars().getNumberOfComponents(),s=e.computeIncrements(i,r);return Math.floor((Math.round(t)-i[0])*s[0]+(Math.round(a)-i[2])*s[1]+(Math.round(o)-i[4])*s[2])},e.getOffsetIndexFromWorld=n=>{const t=e.getExtent(),a=e.worldToIndex(n);for(let e=0;e<3;++e)if(a[e]<t[2*e]||a[e]>t[2*e+1])return dp(`GetScalarPointer: Pixel ${a} is not in memory. Current extent = ${t}`),NaN;return e.computeOffsetIndex(a)},e.getScalarValueFromWorld=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const a=e.getPointData().getScalars().getNumberOfComponents();if(t<0||t>=a)return dp(`GetScalarPointer: Scalar Component ${t} is not within bounds. Current Scalar numberOfComponents: ${a}`),NaN;const o=e.getOffsetIndexFromWorld(n);return Number.isNaN(o)?o:e.getPointData().getScalars().getComponent(o,t)}}(e,n)}var vp={newInstance:hs.newInstance(fp,"vtkImageData"),extend:fp};const gp={LUMINANCE:1,LUMINANCE_ALPHA:2,RGB:3,RGBA:4};var hp={VectorMode:{MAGNITUDE:0,COMPONENT:1,RGBCOLORS:2},ScalarMappingTarget:gp};var xp={ColorMode:{DEFAULT:0,MAP_SCALARS:1,DIRECT_SCALARS:2},GetArray:{BY_ID:0,BY_NAME:1},ScalarMode:{DEFAULT:0,USE_POINT_DATA:1,USE_CELL_DATA:2,USE_POINT_FIELD_DATA:3,USE_CELL_FIELD_DATA:4,USE_FIELD_DATA:5}};const{ScalarMappingTarget:bp,VectorMode:yp}=hp,{VtkDataTypes:wp}=Gl,{ColorMode:Tp}=xp,{vtkErrorMacro:Ap}=hs;function Cp(e){return e}function Op(e){return Math.floor(255*e+.5)}const kp={alpha:1,vectorComponent:0,vectorSize:-1,vectorMode:yp.COMPONENT,mappingRange:null,annotationArray:null,annotatedValueMap:null,indexedLookup:!1};function Ep(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,kp,t),hs.obj(e,n),n.mappingRange=[0,255],n.annotationArray=[],n.annotatedValueMap=[],hs.setGet(e,n,["vectorSize","vectorComponent","vectorMode","alpha","indexedLookup"]),hs.setArray(e,n,["mappingRange"],2),hs.getArray(e,n,["mappingRange"]),function(e,n){n.classHierarchy.push("vtkScalarsToColors"),e.setVectorModeToMagnitude=()=>e.setVectorMode(yp.MAGNITUDE),e.setVectorModeToComponent=()=>e.setVectorMode(yp.COMPONENT),e.setVectorModeToRGBColors=()=>e.setVectorMode(yp.RGBCOLORS),e.build=()=>{},e.isOpaque=()=>!0,e.setAnnotations=(t,a)=>{if(!(t&&!a||!t&&a))if(t&&a&&t.length!==a.length)Ap("Values and annotations do not have the same number of tuples so ignoring");else{if(n.annotationArray=[],a&&t){const e=a.length;for(let o=0;o<e;o++)n.annotationArray.push({value:t[o],annotation:String(a[o])})}e.updateAnnotatedValueMap(),e.modified()}},e.setAnnotation=(t,a)=>{let o=e.checkForAnnotatedValue(t),i=!1;return o>=0?n.annotationArray[o].annotation!==a&&(n.annotationArray[o].annotation=a,i=!0):(n.annotationArray.push({value:t,annotation:a}),o=n.annotationArray.length-1,i=!0),i&&(e.updateAnnotatedValueMap(),e.modified()),o},e.getNumberOfAnnotatedValues=()=>n.annotationArray.length,e.getAnnotatedValue=e=>e<0||e>=n.annotationArray.length?null:n.annotationArray[e].value,e.getAnnotation=e=>void 0===n.annotationArray[e]?null:n.annotationArray[e].annotation,e.getAnnotatedValueIndex=t=>n.annotationArray.length?e.checkForAnnotatedValue(t):-1,e.removeAnnotation=t=>{const a=e.checkForAnnotatedValue(t),o=a>=0;return o&&(n.annotationArray.splice(a,1),e.updateAnnotatedValueMap(),e.modified()),o},e.resetAnnotations=()=>{n.annotationArray=[],n.annotatedValueMap=[],e.modified()},e.getAnnotationColor=(t,a)=>{if(n.indexedLookup){const n=e.getAnnotatedValueIndex(t);e.getIndexedColor(n,a)}else e.getColor(parseFloat(t),a),a[3]=1},e.checkForAnnotatedValue=n=>e.getAnnotatedValueIndexInternal(n),e.getAnnotatedValueIndexInternal=e=>{if(void 0!==n.annotatedValueMap[e]){const t=n.annotationArray.length;return n.annotatedValueMap[e]%t}return-1},e.getIndexedColor=(e,n)=>{n[0]=0,n[1]=0,n[2]=0,n[3]=0},e.updateAnnotatedValueMap=()=>{n.annotatedValueMap=[];const e=n.annotationArray.length;for(let t=0;t<e;t++)n.annotatedValueMap[n.annotationArray[t].value]=t},e.mapScalars=(n,t,a)=>{const o=n.getNumberOfComponents();let i=null;if(t===Tp.DEFAULT&&(n.getDataType()===wp.UNSIGNED_CHAR||n.getDataType()===wp.UNSIGNED_CHAR_CLAMPED)||t===Tp.DIRECT_SCALARS&&n)i=e.convertToRGBA(n,o,n.getNumberOfTuples());else{const t={type:"vtkDataArray",name:"temp",numberOfComponents:4,dataType:wp.UNSIGNED_CHAR},r=hs.newTypedArray(t.dataType,4*n.getNumberOfTuples());t.values=r,t.size=r.length,i=Gl.newInstance(t);let s=a;s<0&&o>1?e.mapVectorsThroughTable(n,i,bp.RGBA,-1,-1):(s<0&&(s=0),s>=o&&(s=o-1),e.mapScalarsThroughTable(n,i,bp.RGBA,s))}return i},e.mapVectorsToMagnitude=(e,n,t)=>{const a=e.getNumberOfTuples(),o=e.getNumberOfComponents(),i=n.getData(),r=e.getData();for(let e=0;e<a;e++){let n=0;for(let a=0;a<t;a++)n+=r[e*o+a]*r[e*o+a];i[e]=Math.sqrt(n)}},e.mapVectorsThroughTable=(n,t,a,o,i)=>{let r=e.getVectorMode(),s=i,c=o;const l=n.getNumberOfComponents();r===yp.COMPONENT?(-1===c&&(c=e.getVectorComponent()),c<0&&(c=0),c>=l&&(c=l-1)):(-1===s&&(s=e.getVectorSize()),s<=0?(c=0,s=l):(c<0&&(c=0),c>=l&&(c=l-1),c+s>l&&(s=l-c)),r!==yp.MAGNITUDE||1!==l&&1!==s||(r=yp.COMPONENT));let p=0;switch(c>0&&(p=c),r){case yp.COMPONENT:e.mapScalarsThroughTable(n,t,a,p);break;case yp.RGBCOLORS:break;case yp.MAGNITUDE:default:{const o=Gl.newInstance({numberOfComponents:1,values:new Float32Array(n.getNumberOfTuples())});e.mapVectorsToMagnitude(n,o,s),e.mapScalarsThroughTable(o,t,a,0);break}}},e.luminanceToRGBA=(e,n,t,a)=>{const o=a(t),i=n.getData(),r=e.getData(),s=i.length;let c=0;for(let e=0;e<s;e+=1){const n=a(i[e]);r[4*c]=n,r[4*c+1]=n,r[4*c+2]=n,r[4*c+3]=o,c++}},e.luminanceAlphaToRGBA=(e,n,t,a)=>{const o=n.getData(),i=e.getData(),r=o.length;let s=0;for(let e=0;e<r;e+=2){const n=a(o[e]);i[s]=n,i[s+1]=n,i[s+2]=n,i[s+3]=a(o[e+1])*t,s+=4}},e.rGBToRGBA=(e,n,t,a)=>{const o=Op(t),i=n.getData(),r=e.getData(),s=i.length;let c=0;for(let e=0;e<s;e+=3)r[4*c]=a(i[e]),r[4*c+1]=a(i[e+1]),r[4*c+2]=a(i[e+2]),r[4*c+3]=o,c++},e.rGBAToRGBA=(e,n,t,a)=>{const o=n.getData(),i=e.getData(),r=o.length;let s=0;for(let e=0;e<r;e+=4)i[4*s]=a(o[e]),i[4*s+1]=a(o[e+1]),i[4*s+2]=a(o[e+2]),i[4*s+3]=a(o[e+3])*t,s++},e.convertToRGBA=(t,a,o)=>{let{alpha:i}=n;if(4===a&&i>=1&&t.getDataType()===wp.UNSIGNED_CHAR)return t;const r=Gl.newInstance({numberOfComponents:4,empty:!0,size:4*o,dataType:wp.UNSIGNED_CHAR});if(o<=0)return r;i=i>0?i:0,i=i<1?i:1;let s=Cp;switch(t.getDataType()!==wp.FLOAT&&t.getDataType()!==wp.DOUBLE||(s=Op),a){case 1:e.luminanceToRGBA(r,t,i,s);break;case 2:e.luminanceAlphaToRGBA(r,t,s);break;case 3:e.rGBToRGBA(r,t,i,s);break;case 4:e.rGBAToRGBA(r,t,i,s);break;default:return Ap("Cannot convert colors"),null}return r},e.usingLogScale=()=>!1,e.getNumberOfAvailableColors=()=>16777216,e.setRange=(n,t)=>e.setMappingRange(n,t),e.getRange=()=>e.getMappingRange(),e.areScalarsOpaque=(t,a,o)=>{if(!t)return e.isOpaque();const i=t.getNumberOfComponents();return(a!==Tp.DEFAULT||t.getDataType()!==wp.UNSIGNED_CHAR)&&a!==Tp.DIRECT_SCALARS||(3===i||1===i?n.alpha>=1:255===t.getRange(i-1)[0])}}(e,n)}var Ip={newInstance:hs.newInstance(Ep,"vtkScalarsToColors"),extend:Ep,...hp};const{vtkErrorMacro:Sp}=hs;const Pp={numberOfColors:256,hueRange:[0,.66667],saturationRange:[1,1],valueRange:[1,1],alphaRange:[1,1],nanColor:[.5,0,0,1],belowRangeColor:[0,0,0,1],aboveRangeColor:[1,1,1,1],useAboveRangeColor:!1,useBelowRangeColor:!1,alpha:1};function Rp(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Pp,t),Ip.extend(e,n,t),n.table||(n.table=[]),n.buildTime={},hs.obj(n.buildTime),n.opaqueFlagBuildTime={},hs.obj(n.opaqueFlagBuildTime,{mtime:0}),n.insertTime={},hs.obj(n.insertTime,{mtime:0}),hs.get(e,n,["buildTime"]),hs.setGet(e,n,["numberOfColors","useAboveRangeColor","useBelowRangeColor"]),hs.setArray(e,n,["alphaRange","hueRange","saturationRange","valueRange"],2),hs.setArray(e,n,["nanColor","belowRangeColor","aboveRangeColor"],4),hs.getArray(e,n,["hueRange","saturationRange","valueRange","alphaRange","nanColor","belowRangeColor","aboveRangeColor"]),function(e,n){n.classHierarchy.push("vtkLookupTable"),e.isOpaque=()=>{if(n.opaqueFlagBuildTime.getMTime()<e.getMTime()){let e=!0;n.nanColor[3]<1&&(e=0),n.useBelowRangeColor&&n.belowRangeColor[3]<1&&(e=0),n.useAboveRangeColor&&n.aboveRangeColor[3]<1&&(e=0);for(let t=3;t<n.table.length&&e;t+=4)n.table[t]<255&&(e=!1);n.opaqueFlag=e,n.opaqueFlagBuildTime.modified()}return n.opaqueFlag},e.usingLogScale=()=>!1,e.getNumberOfAvailableColors=()=>n.table.length/4-3,e.linearIndexLookup=(e,n)=>{let t=0;const a=Number(e);return a<n.range[0]?t=n.maxIndex+0+1.5:a>n.range[1]?t=n.maxIndex+1+1.5:(t=(a+n.shift)*n.scale,t=t<n.maxIndex?t:n.maxIndex),Math.floor(t)},e.linearLookup=(n,t,a)=>{let o=0;o=sc(n)?Math.floor(a.maxIndex+1.5+2):e.linearIndexLookup(n,a);const i=4*o;return t.slice(i,i+4)},e.indexedLookupFunction=(t,a,o)=>{let i=e.getAnnotatedValueIndexInternal(t);-1===i&&(i=n.numberOfColors+2);const r=4*i;return[a[r],a[r+1],a[r+2],a[r+3]]},e.lookupShiftAndScale=(e,n)=>{n.shift=-e[0],n.scale=Number.MAX_VALUE,e[1]>e[0]&&(n.scale=(n.maxIndex+1)/(e[1]-e[0]))},e.mapScalarsThroughTable=(t,a,o,i)=>{let r=e.linearLookup;n.indexedLookup&&(r=e.indexedLookupFunction);const s=e.getMappingRange(),c={maxIndex:e.getNumberOfColors()-1,range:s,shift:0,scale:0};e.lookupShiftAndScale(s,c);const l=e.getAlpha(),p=t.getNumberOfTuples(),u=t.getNumberOfComponents(),d=a.getData(),m=t.getData();if(l>=1){if(o===gp.RGBA)for(let e=0;e<p;e++){const t=r(m[e*u+i],n.table,c);d[4*e]=t[0],d[4*e+1]=t[1],d[4*e+2]=t[2],d[4*e+3]=t[3]}}else if(o===gp.RGBA)for(let e=0;e<p;e++){const t=r(m[e*u+i],n.table,c);d[4*e]=t[0],d[4*e+1]=t[1],d[4*e+2]=t[2],d[4*e+3]=Math.floor(t[3]*l+.5)}},e.forceBuild=()=>{let t=0,a=0,o=0,i=0;const r=n.numberOfColors-1;r&&(t=(n.hueRange[1]-n.hueRange[0])/r,a=(n.saturationRange[1]-n.saturationRange[0])/r,o=(n.valueRange[1]-n.valueRange[0])/r,i=(n.alphaRange[1]-n.alphaRange[0])/r),n.table.length=4*r+16;const s=[],c=[];for(let e=0;e<=r;e++)s[0]=n.hueRange[0]+e*t,s[1]=n.saturationRange[0]+e*a,s[2]=n.valueRange[0]+e*o,ac(s,c),c[3]=n.alphaRange[0]+e*i,n.table[4*e]=255*c[0]+.5,n.table[4*e+1]=255*c[1]+.5,n.table[4*e+2]=255*c[2]+.5,n.table[4*e+3]=255*c[3]+.5;e.buildSpecialColors(),n.buildTime.modified()},e.setTable=t=>{if(Array.isArray(t)){const a=t[0].length;n.numberOfColors=t.length;const o=4-a;let i=0;for(let e=0;e<n.numberOfColors;e++)n.table[4*e]=255,n.table[4*e+1]=255,n.table[4*e+2]=255,n.table[4*e+3]=255;for(let e=0;e<t.length;e++){const r=t[e];for(let e=0;e<a;e++)n.table[i++]=r[e];i+=o}return e.buildSpecialColors(),n.insertTime.modified(),e.modified(),!0}if(4!==t.getNumberOfComponents())return Sp("Expected 4 components for RGBA colors"),!1;if(t.getDataType()!==jl.UNSIGNED_CHAR)return Sp("Expected unsigned char values for RGBA colors"),!1;n.numberOfColors=t.getNumberOfTuples();const a=t.getData();n.table.length=a.length;for(let e=0;e<a.length;e++)n.table[e]=a[e];return e.buildSpecialColors(),n.insertTime.modified(),e.modified(),!0},e.buildSpecialColors=()=>{const{numberOfColors:e}=n,t=n.table;let a=4*(e+0);n.useBelowRangeColor||0===e?(t[a]=255*n.belowRangeColor[0]+.5,t[a+1]=255*n.belowRangeColor[1]+.5,t[a+2]=255*n.belowRangeColor[2]+.5,t[a+3]=255*n.belowRangeColor[3]+.5):(t[a]=t[0],t[a+1]=t[1],t[a+2]=t[2],t[a+3]=t[3]),a=4*(e+1),n.useAboveRangeColor||0===e?(t[a]=255*n.aboveRangeColor[0]+.5,t[a+1]=255*n.aboveRangeColor[1]+.5,t[a+2]=255*n.aboveRangeColor[2]+.5,t[a+3]=255*n.aboveRangeColor[3]+.5):(t[a]=t[4*(e-1)+0],t[a+1]=t[4*(e-1)+1],t[a+2]=t[4*(e-1)+2],t[a+3]=t[4*(e-1)+3]),a=4*(e+2),t[a]=255*n.nanColor[0]+.5,t[a+1]=255*n.nanColor[1]+.5,t[a+2]=255*n.nanColor[2]+.5,t[a+3]=255*n.nanColor[3]+.5},e.build=()=>{(n.table.length<1||e.getMTime()>n.buildTime.getMTime()&&n.insertTime.getMTime()<=n.buildTime.getMTime())&&e.forceBuild()},n.table.length>0&&(e.buildSpecialColors(),n.insertTime.modified())}(e,n)}var jp={newInstance:hs.newInstance(Rp,"vtkLookupTable"),extend:Rp};const _p={Off:0,PolygonOffset:1};let Lp=_p.PolygonOffset,Np=_p.Off;const Mp=["VTK_RESOLVE_OFF","VTK_RESOLVE_POLYGON_OFFSET"];function Dp(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const n=Np===e;return Np=e,n}var Fp={Resolve:_p,getResolveCoincidentTopologyAsString:function(){return Mp[Np]},getResolveCoincidentTopologyPolygonOffsetFaces:function(){return Lp},getResolveCoincidentTopology:function(){return Np},setResolveCoincidentTopology:Dp,setResolveCoincidentTopologyPolygonOffsetFaces:function(e){const n=Lp===e;return Lp=e,n},setResolveCoincidentTopologyToDefault:function(){return Dp(_p.Off)},setResolveCoincidentTopologyToOff:function(){return Dp(_p.Off)},setResolveCoincidentTopologyToPolygonOffset:function(){return Dp(_p.PolygonOffset)}};function Bp(e,n,t){t.forEach(t=>{e[`get${t.method}`]=()=>n[t.key],e[`set${t.method}`]=hs.objectSetterMap.object(e,n,{name:t.key,params:["factor","offset"]})})}const zp=["Polygon","Line","Point"],Up={modified:()=>{}};Bp(Up,{Polygon:{factor:2,offset:0},Line:{factor:1,offset:-1},Point:{factor:0,offset:-2}},zp.map(e=>({key:e,method:`ResolveCoincidentTopology${e}OffsetParameters`})));var Vp={implementCoincidentTopologyMethods:function(e,n){void 0===n.resolveCoincidentTopology&&(n.resolveCoincidentTopology=!1),hs.setGet(e,n,["resolveCoincidentTopology"]),n.topologyOffset={Polygon:{factor:0,offset:0},Line:{factor:0,offset:0},Point:{factor:0,offset:0}},Object.keys(Fp).forEach(n=>{e[n]=Fp[n]}),Object.keys(Up).filter(e=>"modified"!==e).forEach(n=>{e[n]=Up[n]}),Bp(e,n.topologyOffset,zp.map(e=>({key:e,method:`RelativeCoincidentTopology${e}OffsetParameters`}))),e.getCoincidentTopologyPolygonOffsetParameters=()=>{const n=Up.getResolveCoincidentTopologyPolygonOffsetParameters(),t=e.getRelativeCoincidentTopologyPolygonOffsetParameters();return{factor:n.factor+t.factor,offset:n.offset+t.offset}},e.getCoincidentTopologyLineOffsetParameters=()=>{const n=Up.getResolveCoincidentTopologyLineOffsetParameters(),t=e.getRelativeCoincidentTopologyLineOffsetParameters();return{factor:n.factor+t.factor,offset:n.offset+t.offset}},e.getCoincidentTopologyPointOffsetParameter=()=>{const n=Up.getResolveCoincidentTopologyPointOffsetParameters(),t=e.getRelativeCoincidentTopologyPointOffsetParameters();return{factor:n.factor+t.factor,offset:n.offset+t.offset}}},staticOffsetAPI:Up,otherStaticMethods:Fp,CATEGORIES:zp,Resolve:_p};const qp=2,Gp=3,{FieldAssociations:$p}=sp,{staticOffsetAPI:Wp,otherStaticMethods:Hp}=Vp,{ColorMode:Xp,ScalarMode:Yp,GetArray:Kp}=xp,{VectorMode:Zp}=hp,{VtkDataTypes:Qp}=Gl;function Jp(e){return()=>hs.vtkErrorMacro(`vtkMapper::${e} - NOT IMPLEMENTED`)}function eu(e,n){const t=e[1]%2==0?1:-1;if(e[0]+=t,e[0]>=n[0]||e[0]<0){const a=e[2]%2==0?1:-1;e[0]-=t,e[1]+=a,(e[1]>=n[1]||e[1]<0)&&(e[1]-=a,e[2]++)}}function nu(e,n){return e[0]+n[0]*(e[1]+n[1]*e[2])}function tu(e,n,t){const a=Math.floor(n),o=a%(2*t[0]);let i,r;o<t[0]?(e[0]=o,i=1,r=e[0]===t[0]-1):(e[0]=2*t[0]-1-o,i=-1,r=0===e[0]);const s=Math.floor(a/t[0]),c=s%(2*t[1]);let l,p;c<t[1]?(e[1]=c,l=1,p=e[1]===t[1]-1):(e[1]=2*t[1]-1-c,l=-1,p=0===e[1]),e[2]=Math.floor(s/t[1]);const u=n-a;r?p?e[2]+=u:e[1]+=l*u:e[0]+=i*u,e[0]=(e[0]+.5)/t[0],e[1]=(e[1]+.5)/t[1],e[2]=(e[2]+.5)/t[2]}const au=new WeakMap;function ou(e,n){n.classHierarchy.push("vtkMapper"),e.getBounds=()=>{const t=e.getInputData();return t?(n.static||e.update(),n.bounds=t.getBounds()):n.bounds=cc(),n.bounds},e.setForceCompileOnly=e=>{n.forceCompileOnly=e},e.setSelectionWebGLIdsToVTKIds=e=>{n.selectionWebGLIdsToVTKIds=e},e.createDefaultLookupTable=()=>{n.lookupTable=jp.newInstance()},e.getColorModeAsString=()=>hs.enumToString(Xp,n.colorMode),e.setColorModeToDefault=()=>e.setColorMode(0),e.setColorModeToMapScalars=()=>e.setColorMode(1),e.setColorModeToDirectScalars=()=>e.setColorMode(2),e.getScalarModeAsString=()=>hs.enumToString(Yp,n.scalarMode),e.setScalarModeToDefault=()=>e.setScalarMode(0),e.setScalarModeToUsePointData=()=>e.setScalarMode(1),e.setScalarModeToUseCellData=()=>e.setScalarMode(2),e.setScalarModeToUsePointFieldData=()=>e.setScalarMode(3),e.setScalarModeToUseCellFieldData=()=>e.setScalarMode(4),e.setScalarModeToUseFieldData=()=>e.setScalarMode(5),e.getAbstractScalars=(e,t,a,o,i)=>{if(!e||!n.scalarVisibility)return{scalars:null,cellFlag:!1};let r=null,s=!1;if(t===Yp.DEFAULT)r=e.getPointData().getScalars(),r||(r=e.getCellData().getScalars(),s=!0);else if(t===Yp.USE_POINT_DATA)r=e.getPointData().getScalars();else if(t===Yp.USE_CELL_DATA)r=e.getCellData().getScalars(),s=!0;else if(t===Yp.USE_POINT_FIELD_DATA){const n=e.getPointData();r=a===Kp.BY_ID?n.getArrayByIndex(o):n.getArrayByName(i)}else if(t===Yp.USE_CELL_FIELD_DATA){const n=e.getCellData();s=!0,r=a===Kp.BY_ID?n.getArrayByIndex(o):n.getArrayByName(i)}else if(t===Yp.USE_FIELD_DATA){const n=e.getFieldData();r=a===Kp.BY_ID?n.getArrayByIndex(o):n.getArrayByName(i)}return{scalars:r,cellFlag:s}},e.mapScalars=(t,a)=>{const{scalars:o,cellFlag:i}=e.getAbstractScalars(t,n.scalarMode,n.arrayAccessMode,n.arrayId,n.colorByArrayName);if(n.areScalarsMappedFromCells=i,!o)return n.colorCoordinates=null,n.colorTextureMap=null,void(n.colorMapColors=null);const r=`${e.getMTime()}${o.getMTime()}${a}`;if(n.colorBuildString!==r){if(n.useLookupTableScalarRange||e.getLookupTable().setRange(n.scalarRange[0],n.scalarRange[1]),e.canUseTextureMapForColoring(o,i))n.mapScalarsToTexture(o,i,a);else{n.colorCoordinates=null,n.colorTextureMap=null;const t=e.getLookupTable();t&&(t.build(),n.colorMapColors=t.mapScalars(o,n.colorMode,n.fieldDataTupleId))}n.colorBuildString=`${e.getMTime()}${o.getMTime()}${a}`}},n.mapScalarsToTexture=(t,a,o)=>{const i=n.lookupTable.getRange(),r=n.lookupTable.usingLogScale();r&&jp.getLogRange(i,i);const s=n.lookupTable.getAlpha();if(n.colorMapColors=null,null==n.colorTextureMap||e.getMTime()>n.colorTextureMap.getMTime()||n.lookupTable.getMTime()>n.colorTextureMap.getMTime()||n.lookupTable.getAlpha()!==o){n.lookupTable.setAlpha(o),n.colorTextureMap=null,n.lookupTable.build();const e=n.lookupTable.getNumberOfAvailableColors(),t=2048,c=2,l=a?t**3-3:4096-2;n.numberOfColorsInRange=Math.min(Math.max(e,c),l);const p=n.numberOfColorsInRange+3,u=n.numberOfColorsInRange+2,d=a?[Math.min(Math.ceil(p/t**0),t),Math.min(Math.ceil(p/t**1),t),Math.min(Math.ceil(p/t**2),t)]:[u,2,1],m=d[0]*d[1]*d[2],f=new Float64Array(m);f.fill(NaN);const v=n.numberOfColorsInRange,g=v+2,h=[0,0,0],x=i[0],b=i[1]-i[0];for(let e=0;e<g;++e){const n=x+b*(e-1)/(v-1);f[nu(h,d)]=r?10**n:n,eu(h,d)}const y=Gl.newInstance({numberOfComponents:1,values:f}),w=n.lookupTable.mapScalars(y,n.colorMode,0);n.colorTextureMap=vp.newInstance(),n.colorTextureMap.setDimensions(d),n.colorTextureMap.getPointData().setScalars(w),n.lookupTable.setAlpha(s)}const c=n.lookupTable.getVectorMode()===Zp.MAGNITUDE&&t.getNumberOfComponents()>1?-1:n.lookupTable.getVectorComponent();n.colorCoordinates=function(e,n,t,a,o,i,r){const s=new Array(arguments.length);for(let e=0;e<arguments.length;++e){const n=arguments[e];s[e]=n.getMTime?.()??n}const c=s.join("/"),l=au.get(e);if(l&&l.stringHash===c)return l.textureCoordinates;const p=(t[1]-t[0])/(a-1),[u,d]=[t[0]-p,t[1]+p],m=u-.5*p,f=1/(d-u+p),v=u,g=(a+1)/(d-u),h=e.getData(),x=e.getNumberOfTuples(),b=e.getNumberOfComponents(),y=n<0||n>=b,w=o[2]<=1?2:3,T=Gl.newInstance({numberOfComponents:w,values:new Float32Array(x*w)}),A=T.getData(),C=[0,0,0];tu(C,a+2,o);let O=0,k=0;const E=[.5,.5,.5];for(let e=0;e<x;++e){let e;if(y){let n=0;for(let e=0;e<b;++e){const t=h[O+e];n+=t*t}e=Math.sqrt(n)}else e=h[O+n];if(O+=b,i&&(e=jp.applyLogScale(e,t,t)),sc(e))E[0]=C[0],E[1]=C[1],E[2]=C[2];else if(r){let n=(e-v)*g;n<1?n=0:n>a&&(n=a+1),tu(E,n,o)}else{E[1]=.49;const n=(e-m)*f;E[0]=n>1e3?1e3:n<-1e3?-1e3:n}for(let e=0;e<w;++e)A[k++]=E[e]}return au.set(e,{stringHash:c,textureCoordinates:T}),T}(t,c,i,n.numberOfColorsInRange,n.colorTextureMap.getDimensions(),r,a)},e.getIsOpaque=()=>{const t=e.getInputData(),a=e.getAbstractScalars(t,n.scalarMode,n.arrayAccessMode,n.arrayId,n.colorByArrayName).scalars;if(!n.scalarVisibility||null==a)return!0;const o=e.getLookupTable();return!o||(o.build(),o.areScalarsOpaque(a,n.colorMode,-1))},e.canUseTextureMapForColoring=(e,t)=>!(!t||n.colorMode===Xp.DIRECT_SCALARS)||!!n.interpolateScalarsBeforeMapping&&((!n.lookupTable||!n.lookupTable.getIndexedLookup())&&(!!e&&((n.colorMode!==Xp.DEFAULT||e.getDataType()!==Qp.UNSIGNED_CHAR)&&n.colorMode!==Xp.DIRECT_SCALARS))),e.clearColorArrays=()=>{n.colorMapColors=null,n.colorCoordinates=null,n.colorTextureMap=null},e.getLookupTable=()=>(n.lookupTable||e.createDefaultLookupTable(),n.lookupTable),e.getMTime=()=>{let e=n.mtime;if(null!==n.lookupTable){const t=n.lookupTable.getMTime();e=t>e?t:e}return e},e.getPrimitiveCount=()=>{const n=e.getInputData();return{points:n.getPoints().getNumberOfValues()/3,verts:n.getVerts().getNumberOfValues()-n.getVerts().getNumberOfCells(),lines:n.getLines().getNumberOfValues()-2*n.getLines().getNumberOfCells(),triangles:n.getPolys().getNumberOfValues()-3*n.getPolys().getNumberOfCells()}},e.acquireInvertibleLookupTable=Jp("AcquireInvertibleLookupTable"),e.valueToColor=Jp("ValueToColor"),e.colorToValue=Jp("ColorToValue"),e.useInvertibleColorFor=Jp("UseInvertibleColorFor"),e.clearInvertibleColor=Jp("ClearInvertibleColor"),e.processSelectorPixelBuffers=(e,t)=>{if(!e||!n.selectionWebGLIdsToVTKIds||!n.populateSelectionSettings)return;const a=e.getRawPixelBuffer(qp),o=e.getRawPixelBuffer(Gp),i=e.getCurrentPass(),r=e.getFieldAssociation();let s=null;r===$p.FIELD_ASSOCIATION_POINTS?s=n.selectionWebGLIdsToVTKIds.points:r===$p.FIELD_ASSOCIATION_CELLS&&(s=n.selectionWebGLIdsToVTKIds.cells),s&&t.forEach(n=>{if(i===qp){let t=0;o&&(t+=o[n],t*=256),t+=a[n+2],t*=256,t+=a[n+1],t*=256,t+=a[n];const i=s[t],r=e.getPixelBuffer(qp);r[n]=255&i,r[n+1]=(65280&i)>>8,r[n+2]=(16711680&i)>>16}else if(i===Gp&&o){let t=0;t+=o[n],t*=256,t+=a[n+2],t*=256,t+=a[n+1],t*=256,t+=a[n];const i=s[t];e.getPixelBuffer(Gp)[n]=(4278190080&i)>>24}})}}const iu={colorMapColors:null,areScalarsMappedFromCells:!1,static:!1,lookupTable:null,scalarVisibility:!0,scalarRange:[0,1],useLookupTableScalarRange:!1,colorMode:0,scalarMode:0,arrayAccessMode:1,renderTime:0,colorByArrayName:null,fieldDataTupleId:-1,populateSelectionSettings:!0,selectionWebGLIdsToVTKIds:null,interpolateScalarsBeforeMapping:!1,colorCoordinates:null,colorTextureMap:null,numberOfColorsInRange:0,forceCompileOnly:0,useInvertibleColors:!1,invertibleScalars:null,customShaderAttributes:[]};function ru(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,iu,t),Rl.extend(e,n,t),hs.get(e,n,["areScalarsMappedFromCells","colorCoordinates","colorMapColors","colorTextureMap","numberOfColorsInRange","selectionWebGLIdsToVTKIds"]),hs.setGet(e,n,["colorByArrayName","arrayAccessMode","colorMode","fieldDataTupleId","interpolateScalarsBeforeMapping","lookupTable","populateSelectionSettings","renderTime","scalarMode","scalarVisibility","static","useLookupTableScalarRange","customShaderAttributes"]),hs.setGetArray(e,n,["scalarRange"],2),Vp.implementCoincidentTopologyMethods(e,n),ou(e,n)}var su={newInstance:hs.newInstance(ru,"vtkMapper"),extend:ru,...Wp,...Hp,...xp};function cu(e){let n=0;return e.filter((e,t)=>t===n&&(n+=e+1,!0))}function lu(e){let n=0;for(let t=0;t<e.length;)t+=e[t]+1,n++;return n}const pu={extractCellSizes:cu,getNumberOfCells:lu};function uu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Gl.extend(e,n,function(e){return{empty:!0,numberOfComponents:1,dataType:jl.UNSIGNED_INT,...e}}(t)),function(e,n){n.classHierarchy.push("vtkCellArray");const t={...e};e.getNumberOfCells=t=>void 0===n.numberOfCells||t?(n.cellSizes?n.numberOfCells=n.cellSizes.length:n.numberOfCells=lu(e.getData()),n.numberOfCells):n.numberOfCells,e.getCellSizes=t=>void 0===n.cellSizes||t?(n.cellSizes=cu(e.getData()),n.cellSizes):n.cellSizes,e.resize=a=>{const o=e.getNumberOfTuples();t.resize(a);const i=e.getNumberOfTuples();i<o&&(0===i?(n.numberOfCells=0,n.cellSizes=[]):(n.numberOfCells=void 0,n.cellSizes=void 0))},e.setData=e=>{t.setData(e,1),n.numberOfCells=void 0,n.cellSizes=void 0},e.getCell=e=>{let t=e;const a=n.values[t++];return n.values.subarray(t,t+a)},e.insertNextCell=t=>{const a=e.getNumberOfCells();return e.insertNextTuples([t.length,...t]),++n.numberOfCells,null!=n.cellSizes&&n.cellSizes.push(t.length),a}}(e,n)}var du={newInstance:hs.newInstance(uu,"vtkCellArray"),extend:uu,...pu};const{vtkErrorMacro:mu}=hs,fu=[1,-1,1,-1,1,-1];const vu={empty:!0,numberOfComponents:3,dataType:jl.FLOAT,bounds:[1,-1,1,-1,1,-1]};function gu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,vu,t),Gl.extend(e,n,t),function(e,n){n.classHierarchy.push("vtkPoints"),e.getNumberOfPoints=e.getNumberOfTuples,e.setNumberOfPoints=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;e.getNumberOfPoints()!==t&&(n.size=t*a,n.values=hs.newTypedArray(n.dataType,n.size),e.setNumberOfComponents(a),e.modified())},e.setPoint=function(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];e.setTuple(n,a)},e.getPoint=e.getTuple,e.findPoint=e.findTuple,e.insertNextPoint=(n,t,a)=>e.insertNextTuple([n,t,a]),e.getBounds=()=>{if(3===e.getNumberOfComponents()){const t=e.getRange(0);n.bounds[0]=t[0],n.bounds[1]=t[1];const a=e.getRange(1);n.bounds[2]=a[0],n.bounds[3]=a[1];const o=e.getRange(2);return n.bounds[4]=o[0],n.bounds[5]=o[1],n.bounds}if(2!==e.getNumberOfComponents())return mu(`getBounds called on an array with components of\n ${e.getNumberOfComponents()}`),fu;const t=e.getRange(0);n.bounds[0]=t[0],n.bounds[1]=t[1];const a=e.getRange(1);return n.bounds[2]=a[0],n.bounds[3]=a[1],n.bounds[4]=0,n.bounds[5]=0,n.bounds},e.computeBounds=e.getBounds,e.setNumberOfComponents(n.numberOfComponents<2?3:n.numberOfComponents)}(e,n)}var hu={newInstance:hs.newInstance(gu,"vtkPoints"),extend:gu};const xu={bounds:[-1,-1,-1,-1,-1,-1],pointsIds:[]};function bu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,xu,t),hs.obj(e,n),n.points||(n.points=hu.newInstance()),hs.get(e,n,["points","pointsIds"]),function(e,n){n.classHierarchy.push("vtkCell"),e.initialize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t){n.pointsIds=t;let a=n.points.getData();a.length!==3*n.pointsIds.length&&(a=hs.newTypedArray(e.getDataType(),3*n.pointsIds.length));const o=e.getData();n.pointsIds.forEach((e,n)=>{let t=3*e,i=3*n;a[i]=o[t],a[++i]=o[++t],a[++i]=o[++t]}),n.points.setData(a)}else{n.points=e,n.pointsIds=new Array(e.getNumberOfPoints());for(let t=e.getNumberOfPoints()-1;t>=0;--t)n.pointsIds[t]=t}},e.getBounds=()=>{const e=n.points.getNumberOfPoints(),t=[];if(e){n.points.getPoint(0,t),n.bounds[0]=t[0],n.bounds[1]=t[0],n.bounds[2]=t[1],n.bounds[3]=t[1],n.bounds[4]=t[2],n.bounds[5]=t[2];for(let a=1;a<e;a++)n.points.getPoint(a,t),n.bounds[0]=t[0]<n.bounds[0]?t[0]:n.bounds[0],n.bounds[1]=t[0]>n.bounds[1]?t[0]:n.bounds[1],n.bounds[2]=t[1]<n.bounds[2]?t[1]:n.bounds[2],n.bounds[3]=t[1]>n.bounds[3]?t[1]:n.bounds[3],n.bounds[4]=t[2]<n.bounds[4]?t[2]:n.bounds[4],n.bounds[5]=t[2]>n.bounds[5]?t[2]:n.bounds[5]}else(a=n.bounds)[0]=1,a[1]=-1,a[2]=1,a[3]=-1,a[4]=1,a[5]=-1;var a;return n.bounds},e.getLength2=()=>{e.getBounds();let t=0,a=0;for(let e=0;e<3;e++)a=n.bounds[2*e+1]-n.bounds[2*e],t+=a*a;return t},e.getParametricDistance=e=>{let n,t=0;for(let a=0;a<3;a++)n=e[a]<0?-e[a]:e[a]>1?e[a]-1:0,n>t&&(t=n);return t},e.getNumberOfPoints=()=>n.points.getNumberOfPoints(),e.deepCopy=e=>{e.initialize(n.points,n.pointsIds)},e.getCellDimension=()=>{},e.intersectWithLine=(e,n,t,a,o,i,r)=>{},e.evaluatePosition=(e,n,t,a,o,i)=>{hs.vtkErrorMacro("vtkCell.evaluatePosition is not implemented.")}}(e,n)}var yu={newInstance:hs.newInstance(bu,"vtkCell"),extend:bu};const wu={array:null,maxId:0,extend:0};function Tu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,wu,t),hs.obj(e,n),function(e,n){n.classHierarchy.push("vtkCellLinks"),e.buildLinks=t=>{const a=t.getPoints().getNumberOfPoints(),o=t.getNumberOfCells(),i=new Uint32Array(a);if(t.isA("vtkPolyData")){for(let n=0;n<o;++n){const{cellPointIds:a}=t.getCellPoints(n);a.forEach(n=>{e.incrementLinkCount(n)})}e.allocateLinks(a),n.maxId=a-1;for(let n=0;n<o;++n){const{cellPointIds:a}=t.getCellPoints(n);a.forEach(t=>{e.insertCellReference(t,i[t]++,n)})}}else{for(let n=0;n<o;n++)yu.newInstance().getPointsIds().forEach(n=>{e.incrementLinkCount(n)});e.allocateLinks(a),n.maxId=a-1;for(let n=0;n<o;++n)yu.newInstance().getPointsIds().forEach(t=>{e.insertCellReference(t,i[t]++,n)})}},e.allocate=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;n.array=Array(e).fill().map(()=>({ncells:0,cells:null})),n.extend=t,n.maxId=-1},e.initialize=()=>{n.array=null},e.getLink=e=>n.array[e],e.getNcells=e=>n.array[e].ncells,e.getCells=e=>n.array[e].cells,e.insertNextPoint=e=>{n.array.push({ncells:e,cells:Array(e)}),++n.maxId},e.insertNextCellReference=(e,t)=>{n.array[e].cells[n.array[e].ncells++]=t},e.deletePoint=e=>{n.array[e].ncells=0,n.array[e].cells=null},e.removeCellReference=(e,t)=>{n.array[t].cells=n.array[t].cells.filter(n=>n!==e),n.array[t].ncells=n.array[t].cells.length},e.addCellReference=(e,t)=>{n.array[t].cells[n.array[t].ncells++]=e},e.resizeCellList=(e,t)=>{n.array[e].cells.length=t},e.squeeze=()=>{!function(e,n){let t=n;for(n>=e.array.length&&(t+=e.array.length);t>e.array.length;)e.array.push({ncells:0,cells:null});e.array.length=t}(n,n.maxId+1)},e.reset=()=>{n.maxId=-1},e.deepCopy=e=>{n.array=[...e.array],n.extend=e.extend,n.maxId=e.maxId},e.incrementLinkCount=e=>{++n.array[e].ncells},e.allocateLinks=e=>{for(let t=0;t<e;++t)n.array[t].cells=new Array(n.array[t].ncells)},e.insertCellReference=(e,t,a)=>{n.array[e].cells[t]=a}}(e,n)}var Au={newInstance:hs.newInstance(Tu,"vtkCellLinks"),extend:Tu};const Cu=0,Ou=1,ku=2,Eu=3,Iu=4,Su=5,Pu=6,Ru=7,ju=9,_u=21,Lu=41,Nu=42,Mu=["vtkEmptyCell","vtkVertex","vtkPolyVertex","vtkLine","vtkPolyLine","vtkTriangle","vtkTriangleStrip","vtkPolygon","vtkPixel","vtkQuad","vtkTetra","vtkVoxel","vtkHexahedron","vtkWedge","vtkPyramid","vtkPentagonalPrism","vtkHexagonalPrism","UnknownClass","UnknownClass","UnknownClass","UnknownClass","vtkQuadraticEdge","vtkQuadraticTriangle","vtkQuadraticQuad","vtkQuadraticTetra","vtkQuadraticHexahedron","vtkQuadraticWedge","vtkQuadraticPyramid","vtkBiQuadraticQuad","vtkTriQuadraticHexahedron","vtkQuadraticLinearQuad","vtkQuadraticLinearWedge","vtkBiQuadraticQuadraticWedge","vtkBiQuadraticQuadraticHexahedron","vtkBiQuadraticTriangle","vtkCubicLine","vtkQuadraticPolygon","UnknownClass","UnknownClass","UnknownClass","UnknownClass","vtkConvexPointSet","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","UnknownClass","vtkParametricCurve","vtkParametricSurface","vtkParametricTriSurface","vtkParametricQuadSurface","vtkParametricTetraRegion","vtkParametricHexRegion","UnknownClass","UnknownClass","UnknownClass","vtkHigherOrderEdge","vtkHigherOrderTriangle","vtkHigherOrderQuad","vtkHigherOrderPolygon","vtkHigherOrderTetrahedron","vtkHigherOrderWedge","vtkHigherOrderPyramid","vtkHigherOrderHexahedron"];const Du={getClassNameFromTypeId:function(e){return e<Mu.length?Mu[e]:"UnknownClass"},getTypeIdFromClassName:function(e){return Mu.findIndex(e)},isLinear:function(e){return e<_u||e===Lu||e===Nu},hasSubCells:function(e){return e===Pu||e===Iu||e===ku}};const Fu={size:0,maxId:-1,extend:1e3};function Bu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Fu,t),hs.obj(e,n),hs.get(e,n,["size","maxId","extend"]),hs.getArray(e,n,["typeArray","locationArray"]),function(e,n){n.classHierarchy.push("vtkCellTypes"),e.allocate=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:512,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;n.size=e>0?e:1,n.extend=t>0?t:1,n.maxId=-1,n.typeArray=new Uint8Array(e),n.locationArray=new Uint32Array(e)},e.insertCell=(e,t,a)=>{n.typeArray[e]=t,n.locationArray[e]=a,e>n.maxId&&(n.maxId=e)},e.insertNextCell=(t,a)=>(e.insertCell(++n.maxId,t,a),n.maxId),e.setCellTypes=(e,t,a)=>{n.size=e,n.typeArray=t,n.locationArray=a,n.maxId=e-1},e.getCellLocation=e=>n.locationArray[e],e.deleteCell=e=>{n.typeArray[e]=Cu},e.getNumberOfTypes=()=>n.maxId+1,e.isType=n=>{const t=e.getNumberOfTypes();for(let a=0;a<t;++a)if(n===e.getCellType(a))return!0;return!1},e.insertNextType=n=>e.insertNextCell(n,-1),e.getCellType=e=>n.typeArray[e],e.reset=()=>{n.maxId=-1},e.deepCopy=t=>{e.allocate(t.getSize(),t.getExtend()),n.typeArray.set(t.getTypeArray()),n.locationArray.set(t.getLocationArray()),n.maxId=t.getMaxId()}}(e,n)}var zu={newInstance:hs.newInstance(Bu,"vtkCellTypes"),extend:Bu,...Du};var Uu={IntersectionState:{NO_INTERSECTION:0,YES_INTERSECTION:1,ON_LINE:2}};const{IntersectionState:Vu}=Uu;function qu(e,n,t){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;const o={t:Number.MIN_VALUE,distance:0},i=[];let r;i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2];const s=i[0]*(e[0]-n[0])+i[1]*(e[1]-n[1])+i[2]*(e[2]-n[2]),c=Xs(i,i);let l=1e-5*s;return 0!==c&&(o.t=s/c),l<0&&(l=-l),-l<c&&c<l||c<=0||o.t<0?r=n:o.t>1?r=t:(r=i,i[0]=n[0]+o.t*i[0],i[1]=n[1]+o.t*i[1],i[2]=n[2]+o.t*i[2]),a&&(a[0]=r[0],a[1]=r[1],a[2]=r[2]),o.distance=Zs(r,e),o}function Gu(e,n,t,a,o,i){const r=[],s=[],c=[];o[0]=0,i[0]=0,Ws(n,e,r),Ws(a,t,s),Ws(t,e,c);const l=[Xs(r,r),-Xs(r,s),-Xs(r,s),Xs(s,s)],p=[];if(p[0]=Xs(r,c),p[1]=-Xs(s,c),0===tc(l,p,2)){let r=Number.MAX_VALUE;const s=[e,n,t,a],c=[t,t,e,e],l=[a,a,n,n];let p;i[0],i[0],o[0],o[0],o[0],o[0],i[0],i[0];for(let e=0;e<4;e++)p=qu(s[e],c[e],l[e]),p.distance<r&&(r=p.distance,p.t);return Vu.ON_LINE}return o[0]=p[0],i[0]=p[1],o[0]>=0&&o[0]<=1&&i[0]>=0&&i[0]<=1?Vu.YES_INTERSECTION:Vu.NO_INTERSECTION}const $u={distanceToLine:qu,intersection:Gu};const Wu={orientations:null};function Hu(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Wu,t),yu.extend(e,n,t),hs.setGet(e,n,["orientations"]),function(e,n){n.classHierarchy.push("vtkLine"),e.getCellDimension=()=>1,e.intersectWithLine=(e,t,a,o,i)=>{const r={intersect:0,t:Number.MAX_VALUE,subId:0,betweenPoints:null};i[1]=0,i[2]=0;const s=[],c=[],l=[];n.points.getPoint(0,c),n.points.getPoint(1,l);const p=[],u=[],d=Gu(e,t,c,l,p,u);var m;if(r.t=p[0],r.betweenPoints=(m=r.t)>=0&&m<=1,i[0]=u[0],d===Vu.YES_INTERSECTION){for(let n=0;n<3;n++)o[n]=c[n]+i[0]*(l[n]-c[n]),s[n]=e[n]+r.t*(t[n]-e[n]);if(Zs(o,s)<=a*a)return r.intersect=1,r}else{let n;if(r.t<0)return n=qu(e,c,l,o),n.distance<=a*a?(r.t=0,r.intersect=1,r.betweenPoints=!0,r):r;if(r.t>1)return n=qu(t,c,l,o),n.distance<=a*a?(r.t=1,r.intersect=1,r.betweenPoints=!0,r):r;if(i[0]<0)return i[0]=0,n=qu(c,e,t,o),r.t=n.t,n.distance<=a*a?(r.intersect=1,r):r;if(i[0]>1)return i[0]=1,n=qu(l,e,t,o),r.t=n.t,n.distance<=a*a?(r.intersect=1,r):r}return r},e.evaluateLocation=(e,t,a)=>{const o=[],i=[];n.points.getPoint(0,o),n.points.getPoint(1,i);for(let n=0;n<3;n++)t[n]=o[n]+e[0]*(i[n]-o[n]);a[0]=1-e[0],a[1]=e[0]},e.evaluateOrientation=(e,t,a)=>!!n.orientations&&(xi(t,n.orientations[0],n.orientations[1],e[0]),a[0]=1-e[0],a[1]=e[0],!0)}(e,n)}var Xu={newInstance:hs.newInstance(Hu,"vtkLine"),extend:Hu,...$u,...Uu};const Yu={};function Ku(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,Yu,t),sp.extend(e,n,t),hs.setGet(e,n,["points"]),function(e,n){n.classHierarchy.push("vtkPointSet"),n.points?n.points=gr(n.points):n.points=hu.newInstance(),e.getNumberOfPoints=()=>n.points.getNumberOfPoints(),e.getBounds=()=>n.points.getBounds(),e.computeBounds=()=>{e.getBounds()};const t=e.shallowCopy;e.shallowCopy=function(e){t(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),n.points=hu.newInstance(),n.points.shallowCopy(e.getPoints())}}(e,n)}var Zu={newInstance:hs.newInstance(Ku,"vtkPointSet"),extend:Ku};function Qu(e,n,t,a){const o=t[0]-n[0],i=t[1]-n[1],r=t[2]-n[2],s=e[0]-n[0],c=e[1]-n[1],l=e[2]-n[2];a[0]=i*l-r*c,a[1]=r*s-o*l,a[2]=o*c-i*s}function Ju(e,n,t,a){Qu(e,n,t,a);const o=Math.sqrt(a[0]*a[0]+a[1]*a[1]+a[2]*a[2]);0!==o&&(a[0]/=o,a[1]/=o,a[2]/=o)}const ed={computeNormalDirection:Qu,computeNormal:Ju,intersectWithTriangle:function(e,n,t,a,o,i){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1e-6,s=!1;const c=[],l=[],p=[],u=[],d=[];Ju(e,n,t,u),Ju(a,o,i,d);const m=-Xs(u,e),f=-Xs(d,a),v=[Xs(d,e)+f,Xs(d,n)+f,Xs(d,t)+f];if(v[0]*v[1]>r&&v[0]*v[2]>r)return{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};const g=[Xs(u,a)+m,Xs(u,o)+m,Xs(u,i)+m];if(g[0]*g[1]>r&&g[0]*g[2]>r)return{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};if(Math.abs(u[0]-d[0])<1e-9&&Math.abs(u[1]-d[1])<1e-9&&Math.abs(u[2]-d[2])<1e-9&&Math.abs(m-f)<1e-9)return s=!0,{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};const h=[e,n,t],x=[a,o,i],b=Xs(u,d),y=(m-f*b)/(b*b-1),w=(f-m*b)/(b*b-1),T=[y*u[0]+w*d[0],y*u[1]+w*d[1],y*u[2]+w*d[2]],A=Ys(u,d,[]);!function(e){const n=Ks(e);0!==n&&(e[0]/=n,e[1]/=n,e[2]/=n)}(A);let C=0,O=0;const k=[],E=[];let I,S,P=50,R=50;for(let n=0;n<3;n++){const t=n,o=(n+1)%3,i=Cc.intersectWithLine(h[t],h[o],a,d);i.intersection&&i.t>0-r&&i.t<1+r&&(i.t<1+r&&i.t>1-r&&(P=C),k[C++]=Xs(i.x,A)-Xs(T,A));const s=Cc.intersectWithLine(x[t],x[o],e,u);s.intersection&&s.t>0-r&&s.t<1+r&&(s.t<1+r&&s.t>1-r&&(R=O),E[O++]=Xs(s.x,A)-Xs(T,A))}if(C>2){C--;const e=k[2];k[2]=k[P],k[P]=e}if(O>2){O--;const e=E[2];E[2]=E[R],E[R]=e}if(2!==C||2!==O)return{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};if(Number.isNaN(k[0])||Number.isNaN(k[1])||Number.isNaN(E[0])||Number.isNaN(E[1]))return{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p};if(k[0]>k[1]){const e=k[1];k[1]=k[0],k[0]=e}if(E[0]>E[1]){const e=E[1];E[1]=E[0],E[0]=e}return k[1]<E[0]||E[1]<k[0]?{intersect:!1,coplanar:s,pt1:c,pt2:l,surfaceId:p}:(k[0]<E[0]?k[1]<E[1]?(p[0]=2,p[1]=1,I=E[0],S=k[1]):(p[0]=2,p[1]=2,I=E[0],S=E[1]):k[1]<E[1]?(p[0]=1,p[1]=1,I=k[0],S=k[1]):(p[0]=1,p[1]=2,I=k[0],S=E[1]),Hs(T,A,I,c),Hs(T,A,S,l),{intersect:!0,coplanar:s,pt1:c,pt2:l,surfaceId:p})}};const nd={};function td(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,nd,t),yu.extend(e,n,t),function(e,n){n.classHierarchy.push("vtkTriangle"),e.getCellDimension=()=>2,e.intersectWithLine=(t,a,o,i,r)=>{const s={subId:0,t:Number.MAX_VALUE,intersect:0,betweenPoints:!1};r[2]=0;const c=[],l=o*o,p=[],u=[],d=[];n.points.getPoint(0,p),n.points.getPoint(1,u),n.points.getPoint(2,d);const m=[],f=[];if(Ju(p,u,d,m),0!==m[0]||0!==m[1]||0!==m[2]){const n=Cc.intersectWithLine(t,a,p,m);if(s.betweenPoints=n.betweenPoints,s.t=n.t,i[0]=n.x[0],i[1]=n.x[1],i[2]=n.x[2],!n.intersection)return r[0]=0,r[1]=0,s.intersect=0,s;const o=e.evaluatePosition(i,c,r,f);if(o.evaluation>=0)return o.dist2<=l?(s.intersect=1,s):(s.intersect=o.evaluation,s)}const v=Zs(p,u),g=Zs(u,d),h=Zs(d,p);n.line||(n.line=Xu.newInstance()),v>g&&v>h?(n.line.getPoints().setPoint(0,p),n.line.getPoints().setPoint(1,u)):g>h&&g>v?(n.line.getPoints().setPoint(0,u),n.line.getPoints().setPoint(1,d)):(n.line.getPoints().setPoint(0,d),n.line.getPoints().setPoint(1,p));const x=n.line.intersectWithLine(t,a,o,i,r);if(s.betweenPoints=x.betweenPoints,s.t=x.t,x.intersect){const e=[],n=[],t=[];for(let a=0;a<3;a++)e[a]=p[a]-d[a],n[a]=u[a]-d[a],t[a]=i[a]-d[a];return r[0]=Xs(t,e)/h,r[1]=Xs(t,n)/g,s.intersect=1,s}return r[0]=0,r[1]=0,s.intersect=0,s},e.evaluatePosition=(e,t,a,o)=>{const i={subId:0,dist2:0,evaluation:-1};let r,s;const c=[],l=[],p=[],u=[];let d;const m=[],f=[],v=[];let g=0,h=0;const x=[];let b,y,w,T=[];const A=[],C=[],O=[];i.subId=0,a[2]=0,n.points.getPoint(1,c),n.points.getPoint(2,l),n.points.getPoint(0,p),Qu(c,l,p,u),Cc.generalizedProjectPoint(e,c,u,O);let k=0;for(r=0;r<3;r++)d=u[r]<0?-u[r]:u[r],d>k&&(k=d,h=r);for(s=0,r=0;r<3;r++)r!==h&&(x[s++]=r);for(r=0;r<2;r++)m[r]=O[x[r]]-p[x[r]],f[r]=c[x[r]]-p[x[r]],v[r]=l[x[r]]-p[x[r]];if(g=Qs(f,v),0===g)return a[0]=0,a[1]=0,i.evaluation=-1,i;if(a[0]=Qs(m,v)/g,a[1]=Qs(f,m)/g,o[0]=1-(a[0]+a[1]),o[1]=a[0],o[2]=a[1],o[0]>=0&&o[0]<=1&&o[1]>=0&&o[1]<=1&&o[2]>=0&&o[2]<=1)t&&(i.dist2=Zs(O,e),t[0]=O[0],t[1]=O[1],t[2]=O[2]),i.evaluation=1;else{let n;if(t)if(o[1]<0&&o[2]<0)for(b=Zs(e,p),y=Xu.distanceToLine(e,c,p,n,A),w=Xu.distanceToLine(e,p,l,n,C),b<y?(i.dist2=b,T=p):(i.dist2=y,T=A),w<i.dist2&&(i.dist2=w,T=C),r=0;r<3;r++)t[r]=T[r];else if(o[2]<0&&o[0]<0)for(b=Zs(e,c),y=Xu.distanceToLine(e,c,p,n,A),w=Xu.distanceToLine(e,c,l,n,C),b<y?(i.dist2=b,T=c):(i.dist2=y,T=A),w<i.dist2&&(i.dist2=w,T=C),r=0;r<3;r++)t[r]=T[r];else if(o[1]<0&&o[0]<0)for(b=Zs(e,l),y=Xu.distanceToLine(e,l,p,n,A),w=Xu.distanceToLine(e,c,l,n,C),b<y?(i.dist2=b,T=l):(i.dist2=y,T=A),w<i.dist2&&(i.dist2=w,T=C),r=0;r<3;r++)t[r]=T[r];else if(o[0]<0){const n=Xu.distanceToLine(e,c,l,t);i.dist2=n.distance}else if(o[1]<0){const n=Xu.distanceToLine(e,l,p,t);i.dist2=n.distance}else if(o[2]<0){const n=Xu.distanceToLine(e,c,p,t);i.dist2=n.distance}i.evaluation=0}return i},e.evaluateLocation=(e,t,a)=>{const o=[],i=[],r=[];n.points.getPoint(0,o),n.points.getPoint(1,i),n.points.getPoint(2,r);const s=1-e[0]-e[1];for(let n=0;n<3;n++)t[n]=o[n]*s+i[n]*e[0]+r[n]*e[1];a[0]=s,a[1]=e[0],a[2]=e[1]},e.getParametricDistance=e=>{let n,t=0;const a=[];a[0]=e[0],a[1]=e[1],a[2]=1-e[0]-e[1];for(let e=0;e<3;e++)n=a[e]<0?-a[e]:a[e]>1?a[e]-1:0,n>t&&(t=n);return t}}(e,n)}var ad={newInstance:hs.newInstance(td,"vtkTriangle"),extend:td,...ed};const od=["verts","lines","polys","strips"],{vtkWarningMacro:id}=hs,rd={[Eu]:Xu,[Iu]:Xu,[Su]:ad};const sd={};function cd(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,sd,t),Zu.extend(e,n,t),hs.get(e,n,["cells","links"]),hs.setGet(e,n,["verts","lines","polys","strips"]),function(e,n){n.classHierarchy.push("vtkPolyData"),od.forEach(t=>{var a;e[`getNumberOf${a=t,a.replace(/(?:^\w|[A-Z]|\b\w)/g,e=>e.toUpperCase()).replace(/\s+/g,"")}`]=()=>n[t].getNumberOfCells(),n[t]?n[t]=gr(n[t]):n[t]=du.newInstance()}),e.getNumberOfCells=()=>od.reduce((e,t)=>e+n[t].getNumberOfCells(),0);const t=e.shallowCopy;e.shallowCopy=function(e){t(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),od.forEach(t=>{n[t]=du.newInstance(),n[t].shallowCopy(e.getReferenceByName(t))})},e.buildCells=()=>{const t=e.getNumberOfVerts(),a=e.getNumberOfLines(),o=e.getNumberOfPolys(),i=e.getNumberOfStrips(),r=t+a+o+i,s=new Uint8Array(r);let c=s;const l=new Uint32Array(r);let p=l;if(t){let e=0;n.verts.getCellSizes().forEach((n,t)=>{p[t]=e,c[t]=n>1?ku:Ou,e+=n+1}),p=p.subarray(t),c=c.subarray(t)}if(a){let e=0;n.lines.getCellSizes().forEach((n,t)=>{p[t]=e,c[t]=n>2?Iu:Eu,1===n&&id("Building VTK_LINE ",t," with only one point, but VTK_LINE needs at least two points. Check the input."),e+=n+1}),p=p.subarray(a),c=c.subarray(a)}if(o){let e=0;n.polys.getCellSizes().forEach((n,t)=>{switch(p[t]=e,n){case 3:c[t]=Su;break;case 4:c[t]=ju;break;default:c[t]=Ru}n<3&&id("Building VTK_TRIANGLE ",t," with less than three points, but VTK_TRIANGLE needs at least three points. Check the input."),e+=n+1}),p+=p.subarray(o),c+=c.subarray(o)}if(i){let e=0;c.fill(Pu,0,i),n.strips.getCellSizes().forEach((n,t)=>{p[t]=e,e+=n+1})}n.cells=zu.newInstance(),n.cells.setCellTypes(r,s,l)},e.buildLinks=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;void 0===n.cells&&e.buildCells(),n.links=Au.newInstance(),t>0?n.links.allocate(t):n.links.allocate(e.getPoints().getNumberOfPoints()),n.links.buildLinks(e)},e.getCellType=e=>n.cells.getCellType(e),e.getCellPoints=t=>{const a=e.getCellType(t);let o=null;switch(a){case Ou:case ku:o=n.verts;break;case Eu:case Iu:o=n.lines;break;case Su:case ju:case Ru:o=n.polys;break;case Pu:o=n.strips;break;default:return o=null,{type:0,cellPointIds:null}}const i=n.cells.getCellLocation(t);return{cellType:a,cellPointIds:o.getCell(i)}},e.getPointCells=e=>n.links.getCells(e),e.getCellEdgeNeighbors=(e,t,a)=>{const o=n.links.getLink(t),i=n.links.getLink(a);return o.cells.filter(n=>n!==e&&-1!==i.cells.indexOf(n))},e.getCell=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const a=e.getCellPoints(n),o=t||rd[a.cellType].newInstance();return o.initialize(e.getPoints(),a.cellPointIds),o}}(e,n)}var ld={newInstance:hs.newInstance(cd,"vtkPolyData"),extend:cd};const pd={radius:.5,latLongTessellation:!1,thetaResolution:8,startTheta:0,endTheta:360,phiResolution:8,startPhi:0,endPhi:180,center:[0,0,0],pointType:"Float64Array"};function ud(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.assign(n,pd,t),hs.obj(e,n),hs.setGet(e,n,["radius","latLongTessellation","thetaResolution","startTheta","endTheta","phiResolution","startPhi","endPhi"]),hs.setGetArray(e,n,["center"],3),hs.algo(e,n,0,1),function(e,n){n.classHierarchy.push("vtkSphereSource"),e.requestData=(e,t)=>{if(n.deleted)return;let a=t[0];const o=a?a.getPoints().getDataType():n.pointType;a=ld.newInstance();let i=0,{thetaResolution:r}=n,s=n.startTheta<n.endTheta?n.startTheta:n.endTheta;s*=Math.PI/180;let c=n.endTheta>n.startTheta?n.endTheta:n.startTheta;c*=Math.PI/180;let l=n.startPhi<n.endPhi?n.startPhi:n.endPhi;l*=Math.PI/180;let p=n.endPhi>n.startPhi?n.endPhi:n.startPhi;p*=Math.PI/180,Math.abs(s-c)<2*Math.PI&&++r;const u=(c-s)/n.thetaResolution,d=n.startPhi<=0?1:0,m=n.phiResolution+(n.endPhi>=180?-1:0),f=n.phiResolution*r+2,v=2*n.phiResolution*n.thetaResolution;let g=0,h=hs.newTypedArray(o,3*f),x=new Float32Array(3*f),b=0,y=new Uint32Array(5*v);n.startPhi<=0&&(h[3*g+0]=n.center[0],h[3*g+1]=n.center[1],h[3*g+2]=n.center[2]+n.radius,x[3*g+0]=0,x[3*g+1]=0,x[3*g+2]=1,g++,i++),n.endPhi>=180&&(h[3*g+0]=n.center[0],h[3*g+1]=n.center[1],h[3*g+2]=n.center[2]-n.radius,x[3*g+0]=0,x[3*g+1]=0,x[3*g+2]=-1,g++,i++);const w=n.phiResolution-i,T=(p-l)/(n.phiResolution-1);for(let e=0;e<r;e++){const t=s+e*u;for(let e=d;e<m;e++){const a=l+e*T,o=n.radius*Math.sin(a);x[3*g+0]=o*Math.cos(t),x[3*g+1]=o*Math.sin(t),x[3*g+2]=n.radius*Math.cos(a),h[3*g+0]=x[3*g+0]+n.center[0],h[3*g+1]=x[3*g+1]+n.center[1],h[3*g+2]=x[3*g+2]+n.center[2];let i=Math.sqrt(x[3*g+0]*x[3*g+0]+x[3*g+1]*x[3*g+1]+x[3*g+2]*x[3*g+2]);i=0===i?1:i,x[3*g+0]/=i,x[3*g+1]/=i,x[3*g+2]/=i,g++}}const A=w*r;if(Math.abs(s-c)<2*Math.PI&&--r,n.startPhi<=0)for(let e=0;e<r;e++)y[b++]=3,y[b++]=w*e+i,y[b++]=w*(e+1)%A+i,y[b++]=0;if(n.endPhi>=180){const e=w-1+i;for(let n=0;n<r;n++)y[b++]=3,y[b++]=w*n+e,y[b++]=i-1,y[b++]=w*(n+1)%A+e}for(let e=0;e<r;e++)for(let t=0;t<w-1;t++){const a=w*e+t+i,o=a+1,r=(w*(e+1)+t)%A+i+1;n.latLongTessellation?(y[b++]=4,y[b++]=a,y[b++]=o,y[b++]=r,y[b++]=r-1):(y[b++]=3,y[b++]=a,y[b++]=o,y[b++]=r,y[b++]=3,y[b++]=a,y[b++]=r,y[b++]=r-1)}h=h.subarray(0,3*g),a.getPoints().setData(h,3),x=x.subarray(0,3*g);const C=Gl.newInstance({name:"Normals",values:x,numberOfComponents:3});a.getPointData().setNormals(C),y=y.subarray(0,b),a.getPolys().setData(y,1),t[0]=a}}(e,n)}var dd,md,fd,vd,gd,hd,xd,bd,yd,wd,Td,Ad,Cd,Od,kd,Ed,Id,Sd,Pd,Rd={newInstance:hs.newInstance(ud,"vtkSphereSource"),extend:ud},jd={};function _d(){if(md)return dd;md=1;var e=xn(),n=_n();return dd=function(t,a,o){try{return e(n(Object.getOwnPropertyDescriptor(t,a)[o]))}catch(e){}}}function Ld(){if(vd)return fd;vd=1;var e=Cn();return fd=function(n){return e(n)||null===n}}function Nd(){if(hd)return gd;hd=1;var e=Ld(),n=String,t=TypeError;return gd=function(a){if(e(a))return a;throw new t("Can't set "+n(a)+" as a prototype")}}function Md(){if(wd)return yd;wd=1;var e=An(),n=Cn(),t=function(){if(bd)return xd;bd=1;var e=_d(),n=Cn(),t=wn(),a=Nd();return xd=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,r={};try{(o=e(Object.prototype,"__proto__","set"))(r,[]),i=r instanceof Array}catch(e){}return function(e,r){return t(e),a(r),n(e)?(i?o(e,r):e.__proto__=r,e):e}}():void 0)}();return yd=function(a,o,i){var r,s;return t&&e(r=o.constructor)&&r!==i&&n(s=r.prototype)&&s!==i.prototype&&t(a,s),a}}function Dd(){if(Ad)return Td;Ad=1;var e=Vo(),n=String;return Td=function(t){if("Symbol"===e(t))throw new TypeError("Cannot convert a Symbol value to a string");return n(t)}}function Fd(){if(Od)return Cd;Od=1;var e=Dd();return Cd=function(n,t){return void 0===n?arguments.length<2?"":t:e(n)},Cd}function Bd(){if(Sd)return Id;Sd=1;var e=xn(),n=Error,t=e("".replace),a=String(new n("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,i=o.test(a);return Id=function(e,a){if(i&&"string"==typeof e&&!n.prepareStackTrace)for(;a--;)e=t(e,o,"");return e}}!function(){if(Pd)return jd;Pd=1;var e=Wa(),n=fe(),t=On(),a=hn(),o=Pt().f,i=dt(),r=Ha(),s=Md(),c=Fd(),l=Ed?kd:(Ed=1,kd={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}),p=Bd(),u=Oe(),d=st(),m="DOMException",f=t("Error"),v=t(m),g=function(){r(this,h);var e=arguments.length,n=c(e<1?void 0:arguments[0]),t=c(e<2?void 0:arguments[1],"Error"),i=new v(n,t),l=new f(n);return l.name=m,o(i,"stack",a(1,p(l.stack,1))),s(i,this,g),i},h=g.prototype=v.prototype,x="stack"in new f(m),b="stack"in new v(1,2),y=v&&u&&Object.getOwnPropertyDescriptor(n,m),w=!(!y||y.writable&&y.configurable),T=x&&!w&&!b;e({global:!0,constructor:!0,forced:d||T},{DOMException:T?g:v});var A=t(m),C=A.prototype;if(C.constructor!==A)for(var O in d||o(C,"constructor",a(1,A)),l)if(i(l,O)){var k=l[O],E=k.s;i(A,E)||o(A,E,a(6,k.c))}}();var zd,Ud,Vd,qd,Gd,$d,Wd,Hd,Xd,Yd,Kd,Zd,Qd,Jd,em,nm,tm,am,om,im,rm,sm,cm,lm,pm,um,dm,mm,fm,vm={};function gm(){if(Ud)return zd;Ud=1;var e=xn(),n=Ce(),t=An(),a=Vo(),o=On(),i=Xt(),r=function(){},s=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,l=e(c.exec),p=!c.test(r),u=function(e){if(!t(e))return!1;try{return s(r,[],e),!0}catch(e){return!1}},d=function(e){if(!t(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!l(c,i(e))}catch(e){return!0}};return d.sham=!0,zd=!s||n(function(){var e;return u(u.call)||!u(Object)||!u(function(){e=!0})||e})?d:u}function hm(){if(qd)return Vd;qd=1;var e=TypeError;return Vd=function(n,t){if(n<t)throw new e("Not enough arguments");return n}}function xm(){if(Hd)return Wd;Hd=1;var e=Ee(),n=dt(),t=kn(),a=function(){if($d)return Gd;$d=1;var e=St();return Gd=function(){var n=e(this),t="";return n.hasIndices&&(t+="d"),n.global&&(t+="g"),n.ignoreCase&&(t+="i"),n.multiline&&(t+="m"),n.dotAll&&(t+="s"),n.unicode&&(t+="u"),n.unicodeSets&&(t+="v"),n.sticky&&(t+="y"),t}}(),o=RegExp.prototype;return Wd=function(i){var r=i.flags;return void 0!==r||"flags"in o||n(i,"flags")||!t(o,i)?r:e(a,i)}}function bm(){if(Yd)return Xd;Yd=1;var e=xn(),n=Map.prototype;return Xd={Map:Map,set:e(n.set),get:e(n.get),has:e(n.has),remove:e(n.delete),proto:n}}function ym(){if(Zd)return Kd;Zd=1;var e=xn(),n=Set.prototype;return Kd={Set:Set,add:e(n.add),has:e(n.has),remove:e(n.delete),proto:n}}function wm(){if(Jd)return Qd;Jd=1;var e=Ee();return Qd=function(n,t,a){for(var o,i,r=a?n:n.iterator,s=n.next;!(o=e(s,r)).done;)if(void 0!==(i=t(o.value)))return i}}function Tm(){if(nm)return em;nm=1;var e=xn(),n=wm(),t=ym(),a=t.Set,o=t.proto,i=e(o.forEach),r=e(o.keys),s=r(new a).next;return em=function(e,t,a){return a?n({iterator:r(e),next:s},t):i(e,t)},em}function Am(){if(am)return tm;am=1;var e=fe(),n=En(),t=bn(),a=function(e){return n.slice(0,e.length)===e};return tm=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":e.Bun&&"string"==typeof Bun.version?"BUN":e.Deno&&"object"==typeof Deno.version?"DENO":"process"===t(e.process)?"NODE":e.window&&e.document?"BROWSER":"REST"}function Cm(){if(sm)return rm;sm=1;var e=fe(),n=function(){if(im)return om;im=1;var e=Am();return om="NODE"===e}();return rm=function(t){if(n){try{return e.process.getBuiltinModule(t)}catch(e){}try{return Function('return require("'+t+'")')()}catch(e){}}},rm}function Om(){if(lm)return cm;lm=1;var e=fe(),n=Ce(),t=In(),a=Am(),o=e.structuredClone;return cm=!!o&&!n(function(){if("DENO"===a&&t>92||"NODE"===a&&t>94||"BROWSER"===a&&t>97)return!1;var e=new ArrayBuffer(8),n=o(e,{transfer:[e]});return 0!==e.byteLength||8!==n.byteLength})}function km(){if(um)return pm;um=1;var e,n,t,a,o=fe(),i=Cm(),r=Om(),s=o.structuredClone,c=o.ArrayBuffer,l=o.MessageChannel,p=!1;if(r)p=function(e){s(e,{transfer:[e]})};else if(c)try{l||(e=i("worker_threads"))&&(l=e.MessageChannel),l&&(n=new l,t=new c(2),a=function(e){n.port1.postMessage(null,[e])},2===t.byteLength&&(a(t),0===t.byteLength&&(p=a)))}catch(e){}return pm=p}function Em(){if(mm)return dm;mm=1;var e=Ce(),n=hn();return dm=!e(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",n(1,7)),7!==e.stack)})}!function(){if(fm)return vm;fm=1;var e,n=st(),t=Wa(),a=fe(),o=On(),i=xn(),r=Ce(),s=mt(),c=An(),l=gm(),p=yn(),u=Cn(),d=Rn(),m=Wo(),f=St(),v=Vo(),g=dt(),h=Ka(),x=Rt(),b=wa(),y=hm(),w=xm(),T=bm(),A=ym(),C=Tm(),O=km(),k=Em(),E=Om(),I=a.Object,S=a.Array,P=a.Date,R=a.Error,j=a.TypeError,_=a.PerformanceMark,L=o("DOMException"),N=T.Map,M=T.has,D=T.get,F=T.set,B=A.Set,z=A.add,U=A.has,V=o("Object","keys"),q=i([].push),G=i((!0).valueOf),$=i(1..valueOf),W=i("".valueOf),H=i(P.prototype.getTime),X=s("structuredClone"),Y="DataCloneError",K="Transferring",Z=function(e){return!r(function(){var n=new a.Set([7]),t=e(n),o=e(I(7));return t===n||!t.has(7)||!u(o)||7!==+o})&&e},Q=function(e,n){return!r(function(){var t=new n,a=e({a:t,b:t});return!(a&&a.a===a.b&&a.a instanceof n&&a.a.stack===t.stack)})},J=a.structuredClone,ee=n||!Q(J,R)||!Q(J,L)||(e=J,!!r(function(){var n=e(new a.AggregateError([1],X,{cause:3}));return"AggregateError"!==n.name||1!==n.errors[0]||n.message!==X||3!==n.cause})),ne=!J&&Z(function(e){return new _(X,{detail:e}).detail}),te=Z(J)||ne,ae=function(e){throw new L("Uncloneable type: "+e,Y)},oe=function(e,n){throw new L((n||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",Y)},ie=function(e,n){return te||oe(n),te(e)},re=function(e,n,t){if(M(n,e))return D(n,e);var o,i,r,s,l,p;if("SharedArrayBuffer"===(t||v(e)))o=te?te(e):e;else{var u=a.DataView;u||c(e.slice)||oe("ArrayBuffer");try{if(c(e.slice)&&!e.resizable)o=e.slice(0);else{i=e.byteLength,r="maxByteLength"in e?{maxByteLength:e.maxByteLength}:void 0,o=new ArrayBuffer(i,r),s=new u(e),l=new u(o);for(p=0;p<i;p++)l.setUint8(p,s.getUint8(p))}}catch(e){throw new L("ArrayBuffer is detached",Y)}}return F(n,e,o),o},se=function(e,n){if(d(e)&&ae("Symbol"),!u(e))return e;if(n){if(M(n,e))return D(n,e)}else n=new N;var t,i,r,s,l,p,m,f,y=v(e);switch(y){case"Array":r=S(b(e));break;case"Object":r={};break;case"Map":r=new N;break;case"Set":r=new B;break;case"RegExp":r=new RegExp(e.source,w(e));break;case"Error":switch(i=e.name){case"AggregateError":r=new(o(i))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":r=new(o(i));break;case"CompileError":case"LinkError":case"RuntimeError":r=new(o("WebAssembly",i));break;default:r=new R}break;case"DOMException":r=new L(e.message,e.name);break;case"ArrayBuffer":case"SharedArrayBuffer":r=re(e,n,y);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":p="DataView"===y?e.byteLength:e.length,r=function(e,n,t,o,i){var r=a[n];return u(r)||oe(n),new r(re(e.buffer,i),t,o)}(e,y,e.byteOffset,p,n);break;case"DOMQuad":try{r=new DOMQuad(se(e.p1,n),se(e.p2,n),se(e.p3,n),se(e.p4,n))}catch(n){r=ie(e,y)}break;case"File":if(te)try{r=te(e),v(r)!==y&&(r=void 0)}catch(e){}if(!r)try{r=new File([e],e.name,e)}catch(e){}r||oe(y);break;case"FileList":if(s=function(){var e;try{e=new a.DataTransfer}catch(n){try{e=new a.ClipboardEvent("").clipboardData}catch(e){}}return e&&e.items&&e.files?e:null}()){for(l=0,p=b(e);l<p;l++)s.items.add(se(e[l],n));r=s.files}else r=ie(e,y);break;case"ImageData":try{r=new ImageData(se(e.data,n),e.width,e.height,{colorSpace:e.colorSpace})}catch(n){r=ie(e,y)}break;default:if(te)r=te(e);else switch(y){case"BigInt":r=I(e.valueOf());break;case"Boolean":r=I(G(e));break;case"Number":r=I($(e));break;case"String":r=I(W(e));break;case"Date":r=new P(H(e));break;case"Blob":try{r=e.slice(0,e.size,e.type)}catch(e){oe(y)}break;case"DOMPoint":case"DOMPointReadOnly":t=a[y];try{r=t.fromPoint?t.fromPoint(e):new t(e.x,e.y,e.z,e.w)}catch(e){oe(y)}break;case"DOMRect":case"DOMRectReadOnly":t=a[y];try{r=t.fromRect?t.fromRect(e):new t(e.x,e.y,e.width,e.height)}catch(e){oe(y)}break;case"DOMMatrix":case"DOMMatrixReadOnly":t=a[y];try{r=t.fromMatrix?t.fromMatrix(e):new t(e)}catch(e){oe(y)}break;case"AudioData":case"VideoFrame":c(e.clone)||oe(y);try{r=e.clone()}catch(e){ae(y)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":oe(y);default:ae(y)}}switch(F(n,e,r),y){case"Array":case"Object":for(m=V(e),l=0,p=b(m);l<p;l++)f=m[l],h(r,f,se(e[f],n));break;case"Map":e.forEach(function(e,t){F(r,se(t,n),se(e,n))});break;case"Set":e.forEach(function(e){z(r,se(e,n))});break;case"Error":x(r,"message",se(e.message,n)),g(e,"cause")&&x(r,"cause",se(e.cause,n)),"AggregateError"===i?r.errors=se(e.errors,n):"SuppressedError"===i&&(r.error=se(e.error,n),r.suppressed=se(e.suppressed,n));case"DOMException":k&&x(r,"stack",se(e.stack,n))}return r};t({global:!0,enumerable:!0,sham:!E,forced:ee},{structuredClone:function(e){var n,t,o=y(arguments.length,1)>1&&!p(arguments[1])?f(arguments[1]):void 0,i=o?o.transfer:void 0;void 0!==i&&(t=function(e,n){if(!u(e))throw new j("Transfer option cannot be converted to a sequence");var t=[];m(e,function(e){q(t,f(e))});for(var o,i,r,s,p,d=0,g=b(t),h=new B;d<g;){if(o=t[d++],"ArrayBuffer"===(i=v(o))?U(h,o):M(n,o))throw new L("Duplicate transferable",Y);if("ArrayBuffer"!==i){if(E)s=J(o,{transfer:[o]});else switch(i){case"ImageBitmap":r=a.OffscreenCanvas,l(r)||oe(i,K);try{(p=new r(o.width,o.height)).getContext("bitmaprenderer").transferFromImageBitmap(o),s=p.transferToImageBitmap()}catch(e){}break;case"AudioData":case"VideoFrame":c(o.clone)&&c(o.close)||oe(i,K);try{s=o.clone(),o.close()}catch(e){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":oe(i,K)}if(void 0===s)throw new L("This object cannot be transferred: "+i,Y);F(n,o,s)}else z(h,o)}return h}(i,n=new N));var r=se(e,n);return t&&function(e){C(e,function(e){E?te(e,{transfer:[e]}):c(e.transfer)?e.transfer():O?O(e):oe("ArrayBuffer",K)})}(t),r}})}();const Im=e=>{"show"==process.env.VUE_APP_CONSOLE&&console.log(e)},{destroy:Sm,ToolGroupManager:Pm,Enums:Rm,SegmentationIntersectionTool:jm,TrackballRotateTool:_m,CrosshairsTool:Lm,StackScrollTool:Nm,PanTool:Mm,ZoomTool:Dm,segmentation:Fm}=X,{MouseBindings:Bm}=Rm,{ViewportType:zm,OrientationAxis:Um,GeometryType:Vm}=z,{CAMERA_MODIFIED:qm,VOLUME_NEW_IMAGE:Gm,VOI_MODIFIED:$m,WEB_WORKER_PROGRESS:Wm}=z.Events;var Hm={name:"DicomSegmentator",props:{imageIds:{type:Array,default:()=>[]},surfaceDatas:{type:Array,default:()=>[]},labelDatas:{type:Array,default:()=>[]}},setup(r){const s="CT_AXIAL",c="CT_CORONAL",l="CT_SAGITTAL",p="CT_3d",u=e(),d=e(),m=e(),f=e(),v=n({[s]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1},[c]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1},[l]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1}});let g=e(null),h=e(!1),x=e(!1),b=e(!1),y=e(!1),w=e(!1),T=n(null),A=n(null),C=e(0),O=e(3),k=e(0),E=n(null),I=n(null),S=n(null);const P="cornerstoneStreamingImageVolume:CT_VOLUME_ID",R="MY_SEGMENTATION_ID";t(()=>r.imageIds,async e=>{e.length>0&&h.value&&!x.value&&(x.value=!0,await L(e))},{deep:!0}),t(()=>r.surfaceDatas,async e=>{e.length>0&&b.value&&!y.value&&(y.value=!0,await B(e))},{deep:!0}),t(()=>r.labelDatas,async e=>{e.length>0&&b.value&&!w.value&&(w.value=!0)},{deep:!0});a(async()=>{X.addTool(Nm),X.addTool(Mm),X.addTool(Dm),X.addTool(jm),X.addTool(_m),X.addTool(Lm),Im("onMounted..."),await ti(),U.setMaxCacheSize(2147483648),h.value=!0;r.imageIds.length>0&&h.value&&!x.value&&(x.value=!0,await L(r.imageIds))});const j=n({[s]:"rgb(200, 0, 0)",[c]:"rgb(200, 200, 0)",[l]:"rgb(0, 200, 0)"}),_=e=>j[e],L=async e=>{Y(),Im("start render data..."),V.setMaxSimultaneousRequests(z.RequestType.Prefetch,10);const n=await M.createAndCacheVolume(P,{imageIds:e}),t="myRenderingEngine";E=new q(t);const a=[{viewportId:s,element:u.value,type:zm.ORTHOGRAPHIC,defaultOptions:{orientation:Um.AXIAL}},{viewportId:c,element:d.value,type:zm.ORTHOGRAPHIC,defaultOptions:{orientation:Um.CORONAL}},{viewportId:l,element:f.value,type:zm.ORTHOGRAPHIC,defaultOptions:{orientation:Um.SAGITTAL}},{viewportId:p,element:m.value,type:zm.VOLUME_3D,defaultOptions:{orientation:Um.CORONAL}}];E.setViewports(a),await G(E,[{volumeId:P,callback:ai}],[s,c,l,p]);const o=E.getViewport(p).getDefaultActor().actor;N.applyPreset(o,$.VIEWPORT_PRESETS.find(e=>"CT-NONE"===e.name));const i=o.getBounds();if(T=[(i[0]+i[1])/2,(i[2]+i[3])/2,(i[4]+i[5])/2],Im(`3d视口中心点: ${T}`),window.use&&"object"==typeof window.use&&Object.prototype.hasOwnProperty.call(window.use,"dicomSegmentator")&&!1===window.use.dicomNodeViewer)return void Im("return...");n.load(),I=Pm.createToolGroup("MY_TOOLGROUP_ID"),I.addViewport(s,t),I.addViewport(c,t),I.addViewport(l,t),I.addTool(Nm.toolName),I.setToolActive(Nm.toolName,{bindings:[{mouseButton:Bm.Secondary}]}),I.addTool(Mm.toolName),I.addTool(Dm.toolName,{zoomToCenter:!0,pan:!1,pinchToZoom:!1}),I.setToolActive(Dm.toolName,{bindings:[{mouseButton:Bm.Auxiliary}]});const v=window.matchMedia("(any-pointer:coarse)").matches;I.addTool(Lm.toolName,{referenceLinesCenterGapRadius:12,getReferenceLineColor:_,getReferenceLineControllable:()=>!0,getReferenceLineDraggableRotatable:()=>!0,getReferenceLineSlabThicknessControlsOn:()=>!1,mobile:{enabled:v,opacity:1,handleRadius:2}}),I.setToolActive(Lm.toolName,{bindings:[{mouseButton:Bm.Primary}]}),I.addTool(jm.toolName),I.setToolEnabled(jm.toolName),S=Pm.createToolGroup("MY_TOOLGROUP_ID_3d"),S.addViewport(p,t),S.addTool(Dm.toolName,{zoomToCenter:!0,pan:!1,pinchToZoom:!1}),S.setToolActive(Dm.toolName,{bindings:[{mouseButton:Bm.Secondary}]}),S.addTool(_m.toolName,{configuration:{volumeId:P}}),S.setToolActive(_m.toolName,{bindings:[{mouseButton:Bm.Primary}]}),E.renderViewports([s,c,l,p]),b.value=!0,Im("finish render dcm data~"),F();r.surfaceDatas.length>0&&b.value&&!y.value&&(y.value=!0,await B(r.surfaceDatas))},D=e=>{const n=(e=>"function"==typeof structuredClone?structuredClone(e):JSON.parse(JSON.stringify(e)))(e);return n.reduce((e,n,t)=>{const[a,o]=((e,n)=>{const t=e.closedSurface.id,a=n+1;return H.createAndCacheGeometry(t,{type:z.GeometryType.SURFACE,geometryData:{points:e.closedSurface.data.points,polys:e.closedSurface.data.polys,id:e.closedSurface.id,segmentIndex:a,frameOfReferenceUID:e.closedSurface.frameOfReferenceUID}}),[a,t]})(n,t);return e.set(a,o),e},new Map)},F=()=>{if(!I)return;let e=I.getToolInstance(Lm.toolName);e&&(e.setOnDragPointListener({callBack(e){if(Im(e),A&&(A.setCenter(e.world),E)){E.getViewport(p).render()}}}),(()=>{if(!b.value||!T)return;Im("在3d视口添加points"),A=Rd.newInstance({center:T,radius:5});const e=su.newInstance();e.setInputConnection(A.getOutputPort());const n=Il.newInstance();n.setMapper(e),n.getProperty().setColor(1,0,0);const t={actor:n,uid:"spherePolyData"};if(E){const e=E.getViewport(p);e.addActor(t),e.resetCamera(),e.render()}})())},B=async e=>{Im("start add segmentations~");const n=await D(e);Fm.addSegmentations([{segmentationId:R,representation:{type:Rm.SegmentationRepresentations.Surface,data:{geometryIds:n}}}]),await Fm.addSegmentationRepresentations(p,[{segmentationId:R,type:Rm.SegmentationRepresentations.Surface}]),E.renderViewports([p]),Im("end add segmentations~")},Y=()=>{window.addEventListener("resize",()=>{K()}),W.addEventListener(Wm,e=>{const{progress:n}=e.detail;console.log(n)}),u.value.addEventListener(qm,()=>{if(E){const e=E.getViewport(s);e&&(v[s].zoom=e.getZoom())}}),u.value.addEventListener($m,e=>{const n=e.detail.range;null==g.value&&(g.value=n),v[s].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),u.value.addEventListener(Gm,e=>{v[s].imageIndex=e.detail.imageIndex,v[s].numberOfSlices=e.detail.numberOfSlices}),d.value.addEventListener(qm,()=>{if(E){const e=E.getViewport(c);e&&(v[c].zoom=e.getZoom())}}),d.value.addEventListener($m,e=>{const n=e.detail.range;v[c].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),d.value.addEventListener(Gm,e=>{v[c].imageIndex=e.detail.imageIndex,v[c].numberOfSlices=e.detail.numberOfSlices}),f.value.addEventListener(qm,()=>{if(E){const e=E.getViewport(l);e&&(v[l].zoom=e.getZoom())}}),f.value.addEventListener($m,e=>{const n=e.detail.range;v[l].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),f.value.addEventListener(Gm,e=>{v[l].imageIndex=e.detail.imageIndex,v[l].numberOfSlices=e.detail.numberOfSlices})},K=()=>{o(()=>{E&&E.resize(!0,!1)})};i(async()=>{Im("onUnmounted..."),Sm(),E&&(E=null),W.reset(),V.destroy(),U.purgeCache()});return{mprLayoutSelndex:C,mprLayoutFlag:O,currentProgress:k,viewportInfo:v,viewportId1:s,viewportId2:c,viewportId3:l,mprLayoutSel:e=>{C.value=e},surface2contour:async()=>{Im("surface2contour..."),await Fm.addSegmentationRepresentations(s,[{segmentationId:R,type:Rm.SegmentationRepresentations.Labelmap}]),await Fm.addSegmentationRepresentations(c,[{segmentationId:R,type:Rm.SegmentationRepresentations.Labelmap}]),await Fm.addSegmentationRepresentations(l,[{segmentationId:R,type:Rm.SegmentationRepresentations.Labelmap}]),E.renderViewports([s,c,l])},axialElement:u,coronalElement:d,sagittalElement:f,d3Element:m}}};const Xm={class:"dicom-canvas",ref:"dicomElement"},Ym={ref:"axialElement",class:"canvas-inner"},Km={class:"viewport cloumn"},Zm={key:0,class:"progress"},Qm={ref:"coronalElement",class:"canvas-inner"},Jm={class:"viewport cloumn"},ef={ref:"d3Element",class:"canvas-inner"},nf={class:"viewport cloumn"},tf={ref:"sagittalElement",class:"canvas-inner"},af={class:"viewport cloumn"};function of(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}of(".dicom-canvas[data-v-76c7e5ee]{background:#000;border:1px solid #333;border-radius:3PX;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;height:100%;width:100%}.dicom-canvas .viewport[data-v-76c7e5ee]{color:#fff;font-size:14PX;left:15PX;line-height:18PX;position:absolute;top:10PX;user-select:none}.dicom-canvas .canvas-outer-single[data-v-76c7e5ee]{border:1px solid #333;border-radius:3PX;box-sizing:border-box;height:100%;width:100%}.dicom-canvas .canvas-axial-outer[data-v-76c7e5ee],.dicom-canvas .canvas-coronal-outer[data-v-76c7e5ee],.dicom-canvas .canvas-d3-outer[data-v-76c7e5ee],.dicom-canvas .canvas-sagittal-outer[data-v-76c7e5ee]{border:1px solid #333;border-radius:3PX;box-sizing:border-box;height:50%;width:50%}.dicom-canvas .canvas-relative[data-v-76c7e5ee]{position:relative}.dicom-canvas .canvas-inner[data-v-76c7e5ee]{height:100%;width:100%}.dicom-canvas .canvas-item-sel[data-v-76c7e5ee]{border:1px solid #2d72e5!important;border-radius:3PX}.dicom-canvas .progress[data-v-76c7e5ee]{color:#fff;font-size:16PX;line-height:18PX;position:absolute;right:15PX;top:12PX;user-select:none}"),Hm.render=function(e,n,t,a,o,i){return s(),r("div",Xm,[c(l("div",{oncontextmenu:"return false",onTouchstart:n[0]||(n[0]=e=>a.mprLayoutSel(0)),onMousedown:n[1]||(n[1]=e=>a.mprLayoutSel(0)),class:p(["canvas-relative",0==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-axial-outer":"",0==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Ym,null,512),l("div",Km,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId1].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId1].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId1].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId1].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId1].numberOfSlices),1)]),a.currentProgress<100&&a.currentProgress>0?(s(),r("div",Zm,[l("span",null,d(`progress: ${a.currentProgress}%`),1)])):u("v-if",!0)],34),[[m,3==a.mprLayoutFlag||0==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[2]||(n[2]=e=>a.mprLayoutSel(1)),onMousedown:n[3]||(n[3]=e=>a.mprLayoutSel(1)),class:p(["canvas-relative",1==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-coronal-outer":"",1==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Qm,null,512),l("div",Jm,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId2].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId2].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId2].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId2].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId2].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||1==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[5]||(n[5]=e=>a.mprLayoutSel(-1)),onMousedown:n[6]||(n[6]=e=>a.mprLayoutSel(-1)),class:p(["canvas-relative",-1==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-d3-outer":"",-1==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",ef,null,512),l("div",nf,[l("div",{onClick:n[4]||(n[4]=(...e)=>a.surface2contour&&a.surface2contour(...e))},"转换")])],34),[[m,3==a.mprLayoutFlag||-1==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[7]||(n[7]=e=>a.mprLayoutSel(2)),onMousedown:n[8]||(n[8]=e=>a.mprLayoutSel(2)),class:p(["canvas-relative",2==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-sagittal-outer":"",2==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",tf,null,512),l("div",af,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId3].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId3].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId3].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId3].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId3].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||2==a.mprLayoutFlag]])],512)},Hm.__scopeId="data-v-76c7e5ee",Hm.__file="src/package/dicom-segmentator/index.vue";var rf,sf={};!function(){if(rf)return sf;rf=1;var e=Wa(),n=Ee(),t=Wo(),a=_n(),o=St(),i=Ho(),r=$o(),s=Xo()("forEach",TypeError);e({target:"Iterator",proto:!0,real:!0,forced:s},{forEach:function(e){o(this);try{a(e)}catch(e){r(this,"throw",e)}if(s)return n(s,this,e);var c=i(this),l=0;t(c,function(n){e(n,l++)},{IS_RECORD:!0})}})}();var cf,lf,pf,uf,df,mf,ff,vf,gf,hf={};function xf(){if(lf)return cf;lf=1;var e=Jt();return cf=function(n,t,a){for(var o in t)e(n,o,t[o],a);return n},cf}function bf(){return uf?pf:(uf=1,pf=function(e,n){return{value:e,done:n}})}function yf(){if(vf)return ff;vf=1;var e=St(),n=$o();return ff=function(t,a,o,i){try{return i?a(e(o)[0],o[1]):a(o)}catch(e){n(t,"throw",e)}}}!function(){if(gf)return hf;gf=1;var e=Wa(),n=Ee(),t=_n(),a=St(),o=Ho(),i=function(){if(mf)return df;mf=1;var e=Ee(),n=po(),t=Rt(),a=xf(),o=ft(),i=Zt(),r=Ln(),s=uo().IteratorPrototype,c=bf(),l=$o(),p=o("toStringTag"),u="IteratorHelper",d="WrapForValidIterator",m=i.set,f=function(t){var o=i.getterFor(t?d:u);return a(n(s),{next:function(){var e=o(this);if(t)return e.nextHandler();if(e.done)return c(void 0,!0);try{var n=e.nextHandler();return e.returnHandlerResult?n:c(n,e.done)}catch(n){throw e.done=!0,n}},return:function(){var n=o(this),a=n.iterator;if(n.done=!0,t){var i=r(a,"return");return i?e(i,a):c(void 0,!0)}if(n.inner)try{l(n.inner.iterator,"normal")}catch(e){return l(a,"throw",e)}return a&&l(a,"normal"),c(void 0,!0)}})},v=f(!0),g=f(!1);return t(g,p,"Iterator Helper"),df=function(e,n,t){var a=function(a,o){o?(o.iterator=a.iterator,o.next=a.next):o=a,o.type=n?d:u,o.returnHandlerResult=!!t,o.nextHandler=e,o.counter=0,o.done=!1,m(this,o)};return a.prototype=n?v:g,a}}(),r=yf(),s=$o(),c=Xo(),l=st(),p=!l&&c("map",TypeError),u=i(function(){var e=this.iterator,t=a(n(this.next,e));if(!(this.done=!!t.done))return r(e,this.mapper,[t.value,this.counter++],!0)});e({target:"Iterator",proto:!0,real:!0,forced:l||p},{map:function(e){a(this);try{t(e)}catch(e){s(this,"throw",e)}return p?n(p,this,e):new u(o(this),{mapper:e})}})}();var wf,Tf,Af,Cf,Of,kf,Ef,If,Sf,Pf,Rf,jf,_f,Lf={};function Nf(){if(Tf)return wf;Tf=1;var e=ym().has;return wf=function(n){return e(n),n}}function Mf(){if(Cf)return Af;Cf=1;var e=ym(),n=Tm(),t=e.Set,a=e.add;return Af=function(e){var o=new t;return n(e,function(e){a(o,e)}),o},Af}function Df(){if(kf)return Of;kf=1;var e=_d(),n=ym();return Of=e(n.proto,"size","get")||function(e){return e.size},Of}function Ff(){if(If)return Ef;If=1;var e=_n(),n=St(),t=Ee(),a=xa(),o=Ho(),i="Invalid size",r=RangeError,s=TypeError,c=Math.max,l=function(n,t){this.set=n,this.size=c(t,0),this.has=e(n.has),this.keys=e(n.keys)};return l.prototype={getIterator:function(){return o(n(t(this.keys,this.set)))},includes:function(e){return t(this.has,this.set,e)}},Ef=function(e){n(e);var t=+e.size;if(t!=t)throw new s(i);var o=a(t);if(o<0)throw new r(i);return new l(e,o)},Ef}function Bf(){if(jf)return Rf;jf=1;var e=On(),n=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},t=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};return Rf=function(a,o){var i=e("Set");try{(new i)[a](n(0));try{return(new i)[a](n(-1)),!1}catch(e){if(!o)return!0;try{return(new i)[a](t(-1/0)),!1}catch(e){var r=new i;return r.add(1),r.add(2),o(r[a](t(1/0)))}}}catch(e){return!1}},Rf}!function(){if(_f)return Lf;_f=1;var e=Wa(),n=function(){if(Pf)return Sf;Pf=1;var e=Nf(),n=ym(),t=Mf(),a=Df(),o=Ff(),i=Tm(),r=wm(),s=n.has,c=n.remove;return Sf=function(n){var l=e(this),p=o(n),u=t(l);return a(l)<=p.size?i(l,function(e){p.includes(e)&&c(u,e)}):r(p.getIterator(),function(e){s(l,e)&&c(u,e)}),u}}();e({target:"Set",proto:!0,real:!0,forced:!Bf()("difference",function(e){return 0===e.size})},{difference:n})}();var zf,Uf,Vf,qf={};!function(){if(Vf)return qf;Vf=1;var e=Wa(),n=Ce(),t=function(){if(Uf)return zf;Uf=1;var e=Nf(),n=ym(),t=Df(),a=Ff(),o=Tm(),i=wm(),r=n.Set,s=n.add,c=n.has;return zf=function(n){var l=e(this),p=a(n),u=new r;return t(l)>p.size?i(p.getIterator(),function(e){c(l,e)&&s(u,e)}):o(l,function(e){p.includes(e)&&s(u,e)}),u}}();e({target:"Set",proto:!0,real:!0,forced:!Bf()("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||n(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:t})}();var Gf,$f,Wf,Hf={};!function(){if(Wf)return Hf;Wf=1;var e=Wa(),n=function(){if($f)return Gf;$f=1;var e=Nf(),n=ym().has,t=Df(),a=Ff(),o=Tm(),i=wm(),r=$o();return Gf=function(s){var c=e(this),l=a(s);if(t(c)<=l.size)return!1!==o(c,function(e){if(l.includes(e))return!1},!0);var p=l.getIterator();return!1!==i(p,function(e){if(n(c,e))return r(p,"normal",!1)})}}();e({target:"Set",proto:!0,real:!0,forced:!Bf()("isDisjointFrom",function(e){return!e})},{isDisjointFrom:n})}();var Xf,Yf,Kf,Zf={};!function(){if(Kf)return Zf;Kf=1;var e=Wa(),n=function(){if(Yf)return Xf;Yf=1;var e=Nf(),n=Df(),t=Tm(),a=Ff();return Xf=function(o){var i=e(this),r=a(o);return!(n(i)>r.size)&&!1!==t(i,function(e){if(!r.includes(e))return!1},!0)}}();e({target:"Set",proto:!0,real:!0,forced:!Bf()("isSubsetOf",function(e){return e})},{isSubsetOf:n})}();var Qf,Jf,ev,nv={};!function(){if(ev)return nv;ev=1;var e=Wa(),n=function(){if(Jf)return Qf;Jf=1;var e=Nf(),n=ym().has,t=Df(),a=Ff(),o=wm(),i=$o();return Qf=function(r){var s=e(this),c=a(r);if(t(s)<c.size)return!1;var l=c.getIterator();return!1!==o(l,function(e){if(!n(s,e))return i(l,"normal",!1)})}}();e({target:"Set",proto:!0,real:!0,forced:!Bf()("isSupersetOf",function(e){return!e})},{isSupersetOf:n})}();var tv,av,ov,iv={};!function(){if(ov)return iv;ov=1;var e=Wa(),n=function(){if(av)return tv;av=1;var e=Nf(),n=ym(),t=Mf(),a=Ff(),o=wm(),i=n.add,r=n.has,s=n.remove;return tv=function(n){var c=e(this),l=a(n).getIterator(),p=t(c);return o(l,function(e){r(c,e)?s(p,e):i(p,e)}),p}}();e({target:"Set",proto:!0,real:!0,forced:!Bf()("symmetricDifference")},{symmetricDifference:n})}();var rv,sv,cv,lv={};!function(){if(cv)return lv;cv=1;var e=Wa(),n=function(){if(sv)return rv;sv=1;var e=Nf(),n=ym().add,t=Mf(),a=Ff(),o=wm();return rv=function(i){var r=e(this),s=a(i).getIterator(),c=t(r);return o(s,function(e){n(c,e)}),c}}();e({target:"Set",proto:!0,real:!0,forced:!Bf()("union")},{union:n})}();const pv=e=>null!=e,uv=e=>"function"==typeof e,dv=e=>null!==e&&"object"==typeof e,mv=e=>"number"==typeof e||/^\d+(\.\d+)?$/.test(e);function fv(){}const vv=Object.assign,gv="undefined"!=typeof window;function hv(e,n){const t=n.split(".");let a=e;return t.forEach(e=>{var n;a=dv(a)&&null!=(n=a[e])?n:""}),a}const xv=null,bv=[Number,String],yv={type:Boolean,default:!0},wv=e=>({type:String,default:e});var Tv,Av,Cv="undefined"!=typeof window;function Ov(e){let n;a(()=>{e(),o(()=>{n=!0})}),g(()=>{n&&e()})}function kv(e,n,a={}){if(!Cv)return;const{target:o=window,passive:r=!1,capture:s=!1}=a;let c,l=!1;const p=t=>{if(l)return;const a=h(t);a&&!c&&(a.addEventListener(e,n,{capture:s,passive:r}),c=!0)},u=t=>{if(l)return;const a=h(t);a&&c&&(a.removeEventListener(e,n,s),c=!1)};let d;return i(()=>u(o)),f(()=>u(o)),Ov(()=>p(o)),v(o)&&(d=t(o,(e,n)=>{u(n),p(e)})),()=>{null==d||d(),u(o),l=!0}}var Ev=/scroll|auto|overlay/i,Iv=Cv?window:void 0;function Sv(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}gv&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function Pv(e,n){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),(e=>{e.stopPropagation()})(e)}function Rv(e){if(pv(e))return mv(e)?`${e}px`:String(e)}!function(){if(!Tv&&(Tv=e(0),Av=e(0),Cv)){const e=()=>{Tv.value=window.innerWidth,Av.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}}();const jv=/-(\w)/g,_v=e=>e.replace(jv,(e,n)=>n.toUpperCase()),{hasOwnProperty:Lv}=Object.prototype;function Nv(e,n){return Object.keys(n).forEach(t=>{!function(e,n,t){const a=n[t];pv(a)&&(Lv.call(e,t)&&dv(a)?e[t]=Nv(Object(e[t]),a):e[t]=a)}(e,n,t)}),e}const Mv=e("zh-CN"),Dv=n({"zh-CN":{name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,n)=>`${e}年${n}月`,rangePrompt:e=>`最多选择 ${e} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}折`,condition:e=>`满${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码不正确",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}}});var Fv={messages:()=>Dv[Mv.value],use(e,n){Mv.value=e,this.add({[e]:n})},add(e={}){Nv(Dv,e)}};function Bv(e){const n=_v(e)+".";return(e,...t)=>{const a=Fv.messages(),o=hv(a,n+e)||hv(a,e);return uv(o)?o(...t):o}}function zv(e,n){return n?"string"==typeof n?` ${e}--${n}`:Array.isArray(n)?n.reduce((n,t)=>n+zv(e,t),""):Object.keys(n).reduce((t,a)=>t+(n[a]?zv(e,a):""),""):""}function Uv(e){return(n,t)=>(n&&"string"!=typeof n&&(t=n,n=""),`${n=n?`${e}__${n}`:e}${zv(n,t)}`)}function Vv(e){const n=`van-${e}`;return[n,Uv(n),Bv(n)]}function qv(e,{args:n=[],done:t,canceled:a}){if(e){const i=e.apply(null,n);dv(o=i)&&uv(o.then)&&uv(o.catch)?i.then(e=>{e?t():a&&a()}).catch(fv):i?t():a&&a()}else t();var o}function Gv(e){return e.install=n=>{const{name:t}=e;t&&(n.component(t,e),n.component(_v(`-${t}`),e))},e}const $v=Symbol();function Wv(e){const n=x();n&&vv(n.proxy,e)}const[Hv,Xv]=Vv("badge");var Yv=b({name:Hv,props:{dot:Boolean,max:bv,tag:wv("div"),color:String,offset:Array,content:bv,showZero:yv,position:wv("top-right")},setup(e,{slots:n}){const t=()=>{if(n.content)return!0;const{content:t,showZero:a}=e;return pv(t)&&""!==t&&(a||0!==t&&"0"!==t)},a=()=>{const{dot:a,max:o,content:i}=e;if(!a&&t())return n.content?n.content():pv(o)&&mv(i)&&+i>o?`${o}+`:i},o=y(()=>{const t={background:e.color};if(e.offset){const[a,o]=e.offset;n.default?(t.top=Rv(o),t.right="number"==typeof a?Rv(-a):a.startsWith("-")?a.replace("-",""):`-${a}`):(t.marginTop=Rv(o),t.marginLeft=Rv(a))}return t}),i=()=>{if(t()||e.dot)return w("div",{class:Xv([e.position,{dot:e.dot,fixed:!!n.default}]),style:o.value},[a()])};return()=>{if(n.default){const{tag:t}=e;return w(t,{class:Xv("wrapper")},{default:()=>[n.default(),i()]})}return i()}}});const Kv=Gv(Yv);let Zv=2e3;const[Qv,Jv]=Vv("config-provider"),eg=Symbol(Qv);b({name:Qv,props:{tag:wv("div"),zIndex:Number,themeVars:Object,iconPrefix:String},setup(e,{slots:n}){const t=y(()=>{if(e.themeVars)return function(e){const n={};return Object.keys(e).forEach(t=>{var a;n[`--van-${a=t,a.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"")}`]=e[t]}),n}(e.themeVars)});return T(eg,e),A(()=>{var n;void 0!==e.zIndex&&(n=e.zIndex,Zv=n)}),()=>w(e.tag,{class:Jv(),style:t.value},{default:()=>{var e;return[null==(e=n.default)?void 0:e.call(n)]}})}});const[ng,tg]=Vv("icon");var ag=b({name:ng,props:{dot:Boolean,tag:wv("i"),name:String,size:bv,badge:bv,color:String,badgeProps:Object,classPrefix:String},setup(e,{slots:n}){const t=C(eg,null),a=y(()=>e.classPrefix||(null==t?void 0:t.iconPrefix)||tg());return()=>{const{tag:t,dot:o,name:i,size:r,badge:s,color:c}=e,l=(e=>null==e?void 0:e.includes("/"))(i);return w(Kv,O({dot:o,tag:t,class:[a.value,l?"":`${a.value}-${i}`],style:{color:c,fontSize:Rv(r)},content:s},e.badgeProps),{default:()=>{var e;return[null==(e=n.default)?void 0:e.call(n),l&&w("img",{class:tg("image"),src:i},null)]}})}}});const og=Gv(ag),[ig,rg]=Vv("loading"),sg=Array(12).fill(null).map((e,n)=>w("i",{class:rg("line",String(n+1))},null)),cg=w("svg",{class:rg("circular"),viewBox:"25 25 50 50"},[w("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]);var lg=b({name:ig,props:{size:bv,type:wv("circular"),color:String,vertical:Boolean,textSize:bv,textColor:String},setup(e,{slots:n}){const t=y(()=>vv({color:e.color},function(e){if(pv(e)){if(Array.isArray(e))return{width:Rv(e[0]),height:Rv(e[1])};const n=Rv(e);return{width:n,height:n}}}(e.size))),a=()=>{var t;if(n.default)return w("span",{class:rg("text"),style:{fontSize:Rv(e.textSize),color:null!=(t=e.textColor)?t:e.color}},[n.default()])};return()=>{const{type:n,vertical:o}=e;return w("div",{class:rg([n,{vertical:o}]),"aria-live":"polite","aria-busy":!0},[w("span",{class:rg("spinner",n),style:t.value},["spinner"===n?sg:cg]),a()])}}});const pg=Gv(lg),ug={show:Boolean,zIndex:bv,overlay:yv,duration:bv,teleport:[String,Object],lockScroll:yv,lazyRender:yv,beforeClose:Function,overlayStyle:Object,overlayClass:xv,transitionAppear:Boolean,closeOnClickOverlay:yv};let dg=0;const mg="van-overflow-hidden";function fg(n,a){const o=function(){const n=e(0),t=e(0),a=e(0),o=e(0),i=e(0),r=e(0),s=e(""),c=()=>{a.value=0,o.value=0,i.value=0,r.value=0,s.value=""};return{move:e=>{const c=e.touches[0];var l,p;a.value=(c.clientX<0?0:c.clientX)-n.value,o.value=c.clientY-t.value,i.value=Math.abs(a.value),r.value=Math.abs(o.value),(!s.value||i.value<10&&r.value<10)&&(s.value=(l=i.value)>(p=r.value)?"horizontal":p>l?"vertical":"")},start:e=>{c(),n.value=e.touches[0].clientX,t.value=e.touches[0].clientY},reset:c,startX:n,startY:t,deltaX:a,deltaY:o,offsetX:i,offsetY:r,direction:s,isVertical:()=>"vertical"===s.value,isHorizontal:()=>"horizontal"===s.value}}(),i=e=>{o.move(e);const t=o.deltaY.value>0?"10":"01",a=function(e,n=Iv){let t=e;for(;t&&t!==n&&Sv(t);){const{overflowY:e}=window.getComputedStyle(t);if(Ev.test(e))return t;t=t.parentNode}return n}(e.target,n.value),{scrollHeight:i,offsetHeight:r,scrollTop:s}=a;let c="11";0===s?c=r>=i?"00":"01":s+r>=i&&(c="10"),"11"===c||!o.isVertical()||parseInt(c,2)&parseInt(t,2)||Pv(e)},r=()=>{document.addEventListener("touchstart",o.start),document.addEventListener("touchmove",i,{passive:!1}),dg||document.body.classList.add(mg),dg++},s=()=>{dg&&(document.removeEventListener("touchstart",o.start),document.removeEventListener("touchmove",i),dg--,dg||document.body.classList.remove(mg))},c=()=>a()&&s();Ov(()=>a()&&r()),f(c),k(c),t(a,e=>{e?r():s()})}function vg(n){const a=e(!1);return t(n,e=>{e&&(a.value=e)},{immediate:!0}),e=>()=>a.value?e():null}const[gg,hg]=Vv("overlay");var xg=b({name:gg,props:{show:Boolean,zIndex:bv,duration:bv,className:xv,lockScroll:yv,lazyRender:yv,customStyle:Object},setup(n,{slots:t}){const a=e(),o=vg(()=>n.show||!n.lazyRender)(()=>{var e;const o=vv(function(e){const n={};return void 0!==e&&(n.zIndex=+e),n}(n.zIndex),n.customStyle);return pv(n.duration)&&(o.animationDuration=`${n.duration}s`),c(w("div",{ref:a,style:o,class:[hg(),n.className]},[null==(e=t.default)?void 0:e.call(t)]),[[m,n.show]])});return kv("touchmove",e=>{n.lockScroll&&Pv(e)},{target:a}),()=>w(E,{name:"van-fade",appear:!0},{default:o})}});const bg=Gv(xg),yg=vv({},ug,{round:Boolean,position:wv("center"),closeIcon:wv("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:wv("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[wg,Tg]=Vv("popup");var Ag=b({name:wg,inheritAttrs:!1,props:yg,emits:["open","close","opened","closed","keydown","update:show","click-overlay","click-close-icon"],setup(n,{emit:i,attrs:r,slots:s}){let l,p;const u=e(),d=e(),v=vg(()=>n.show||!n.lazyRender),h=y(()=>{const e={zIndex:u.value};if(pv(n.duration)){e["center"===n.position?"animationDuration":"transitionDuration"]=`${n.duration}s`}return e}),x=()=>{l||(l=!0,u.value=void 0!==n.zIndex?+n.zIndex:++Zv,i("open"))},b=()=>{l&&qv(n.beforeClose,{done(){l=!1,i("close"),i("update:show",!1)}})},A=e=>{i("click-overlay",e),n.closeOnClickOverlay&&b()},C=()=>{if(n.overlay)return w(bg,{show:n.show,class:n.overlayClass,zIndex:u.value,duration:n.duration,customStyle:n.overlayStyle,role:n.closeOnClickOverlay?"button":void 0,tabindex:n.closeOnClickOverlay?0:void 0,onClick:A},{default:s["overlay-content"]})},k=e=>{i("click-close-icon",e),b()},P=()=>{if(n.closeable)return w(og,{role:"button",tabindex:0,name:n.closeIcon,class:[Tg("close-icon",n.closeIconPosition),"van-haptics-feedback"],classPrefix:n.iconPrefix,onClick:k},null)},R=()=>i("opened"),j=()=>i("closed"),_=e=>i("keydown",e),L=v(()=>{var e;const{round:t,position:a,safeAreaInsetTop:o,safeAreaInsetBottom:i}=n;return c(w("div",O({ref:d,style:h.value,role:"dialog",tabindex:0,class:[Tg({round:t,[a]:a}),{"van-safe-area-top":o,"van-safe-area-bottom":i}],onKeydown:_},r),[null==(e=s.default)?void 0:e.call(s),P()]),[[m,n.show]])}),N=()=>{const{position:e,transition:t,transitionAppear:a}=n;return w(E,{name:t||("center"===e?"van-fade":`van-popup-slide-${e}`),appear:a,onAfterEnter:R,onAfterLeave:j},{default:L})};return t(()=>n.show,e=>{e&&!l&&(x(),0===r.tabindex&&o(()=>{var e;null==(e=d.value)||e.focus()})),!e&&l&&(l=!1,i("close"))}),Wv({popupRef:d}),fg(d,()=>n.show&&n.lockScroll),kv("popstate",()=>{n.closeOnPopstate&&(b(),p=!1)}),a(()=>{n.show&&x()}),g(()=>{p&&(i("update:show",!0),p=!1)}),f(()=>{n.show&&n.teleport&&(b(),p=!0)}),T($v,()=>n.show),()=>n.teleport?w(I,{to:n.teleport},{default:()=>[C(),N()]}):w(S,null,[C(),N()])}});const Cg=Gv(Ag);let Og=0;const[kg,Eg]=Vv("toast"),Ig=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"];var Sg,Pg=b({name:kg,props:{icon:String,show:Boolean,type:wv("text"),overlay:Boolean,message:bv,iconSize:bv,duration:(Sg=2e3,{type:Number,default:Sg}),position:wv("middle"),teleport:[String,Object],className:xv,iconPrefix:String,transition:wv("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:xv,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean},emits:["update:show"],setup(e,{emit:n}){let o,r=!1;const s=()=>{const n=e.show&&e.forbidClick;r!==n&&(r=n,r?(Og||document.body.classList.add("van-toast--unclickable"),Og++):Og&&(Og--,Og||document.body.classList.remove("van-toast--unclickable")))},c=e=>n("update:show",e),l=()=>{e.closeOnClick&&c(!1)},p=()=>clearTimeout(o),u=()=>{const{icon:n,type:t,iconSize:a,iconPrefix:o,loadingType:i}=e;return n||"success"===t||"fail"===t?w(og,{name:n||t,size:a,class:Eg("icon"),classPrefix:o},null):"loading"===t?w(pg,{class:Eg("loading"),size:a,type:i},null):void 0},d=()=>{const{type:n,message:t}=e;if(pv(t)&&""!==t)return"html"===n?w("div",{key:0,class:Eg("text"),innerHTML:String(t)},null):w("div",{class:Eg("text")},[t])};return t(()=>[e.show,e.forbidClick],s),t(()=>[e.show,e.type,e.message,e.duration],()=>{p(),e.show&&e.duration>0&&(o=setTimeout(()=>{c(!1)},e.duration))}),a(s),i(s),()=>w(Cg,O({class:[Eg([e.position,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:l,onClosed:p,"onUpdate:show":c},function(e,n){return n.reduce((n,t)=>(n[t]=e[t],n),{})}(e,Ig)),{default:()=>[u(),d()]})}});const Rg={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let jg=[],_g=!1,Lg=vv({},Rg);const Ng=new Map;function Mg(e){return dv(e)?e:{message:e}}function Dg(){const{instance:a,unmount:o}=function(e){const n=P(e),t=document.createElement("div");return document.body.appendChild(t),{instance:n.mount(t),unmount(){n.unmount(),document.body.removeChild(t)}}}({setup(){const i=e(""),{open:r,state:s,close:c,toggle:l}=function(){const e=n({show:!1}),t=n=>{e.show=n},a=n=>{vv(e,n,{transitionAppear:!0}),t(!0)},o=()=>t(!1);return Wv({open:a,close:o,toggle:t}),{open:a,close:o,state:e,toggle:t}}(),p=()=>{_g&&(jg=jg.filter(e=>e!==a),o())};return t(i,e=>{s.message=e}),x().render=()=>w(Pg,O(s,{onClosed:p,"onUpdate:show":l}),null),{open:r,clear:c,message:i}}});return a}function Fg(e={}){if(!gv)return{};const n=function(){if(!jg.length||_g){const e=Dg();jg.push(e)}return jg[jg.length-1]}(),t=Mg(e);return n.open(vv({},Lg,Ng.get(t.type||Lg.type),t)),n}const Bg=e=>n=>Fg(vv({type:e},Mg(n)));Fg.loading=Bg("loading"),Fg.success=Bg("success"),Fg.fail=Bg("fail"),Fg.clear=e=>{var n;jg.length&&(e?(jg.forEach(e=>{e.clear()}),jg=[]):_g?null==(n=jg.shift())||n.clear():jg[0].clear())},Fg.setDefaultOptions=function(e,n){"string"==typeof e?Ng.set(e,n):vv(Lg,e)},Fg.resetDefaultOptions=e=>{"string"==typeof e?Ng.delete(e):(Lg=vv({},Rg),Ng.clear())},Fg.allowMultiple=(e=!0)=>{_g=e},Fg.install=e=>{e.use(Gv(Pg)),e.config.globalProperties.$toast=Fg};var zg={props:{dataManager:{type:Array,default:()=>[]}},setup(n,o){let i=e(0),r=e(!1),s=e(!0);t(()=>n.dataManager,e=>{c(e)},{deep:!0}),a(()=>{c(n.dataManager)});const c=e=>{e&&1==e.length&&(r.value=!0,s.value=!1)};return{currentIndex:i,secondShowFlag:r,firstShowFlag:s,groupSwitch:(e,t)=>{if(i.value==t)return e.isOpen=!e.isOpen,void(r.value=e.isOpen);n.dataManager.forEach((e,n)=>{e.isOpen=n==t}),i.value=t,r.value=!0},itemStlopacity:e=>{o.emit("stlopacity",e)}}}};const Ug={class:"column mix-manager"},Vg={class:"manager-second row"},qg=["onClick"],Gg={class:"column",style:{"align-items":"center"}},$g={class:"item-name"},Wg={class:"item-volume"},Hg={class:"manager-second row"},Xg=["onClick"],Yg={class:"row",style:{color:"#fff"}},Kg={class:"center item-zd"},Zg={class:"item-name"};of(".mix-manager[data-v-7c7c2b7c]{box-sizing:border-box;height:100%;padding:0 5PX;width:100%}.manager-second[data-v-7c7c2b7c]{height:100%;overflow-x:auto;width:100%}.manager-second[data-v-7c7c2b7c]::-webkit-scrollbar{display:none}.manager-item[data-v-7c7c2b7c]{border-radius:5PX;box-sizing:border-box;flex-grow:0;flex-shrink:0;height:50PX;margin:2PX;width:140PX}.item-match[data-v-7c7c2b7c]{height:100%;width:100%}.item-name[data-v-7c7c2b7c]{font-size:16PX;font-weight:500}.item-volume[data-v-7c7c2b7c]{font-size:12PX;font-weight:400}.item-zd[data-v-7c7c2b7c]{font-size:20PX;height:28PX;margin-right:15PX;width:28PX}"),zg.render=function(e,n,t,a,o,i){return s(),r("div",Ug,[l("div",Vg,[t.dataManager&&t.dataManager.length>0&&a.secondShowFlag?(s(!0),r(S,{key:0},R(t.dataManager[a.currentIndex].SecondClass,(e,n)=>(s(),r("div",{class:"manager-item",key:n,style:j({border:`0.5PX solid rgba(${e.orignMaterColor[0]}, ${e.orignMaterColor[1]}, ${e.orignMaterColor[2]}, ${e.orignOpacity})`,backgroundColor:`rgba(${e.materColor[0]}, ${e.materColor[1]}, ${e.materColor[2]}, ${e.opacity})`})},[l("div",{class:"item-match center",onClick:n=>a.itemStlopacity(e)},[l("div",Gg,[l("div",$g,d(e.Name),1),l("div",Wg,d(e.Volume||""),1)])],8,qg)],4))),128)):u("v-if",!0)]),l("div",Hg,[t.dataManager&&t.dataManager.length>0&&a.firstShowFlag?(s(!0),r(S,{key:0},R(t.dataManager,(e,n)=>(s(),r("div",{class:"manager-item",key:n,style:j({border:`0.5PX solid rgba(${e.orignMaterColor[0]}, ${e.orignMaterColor[1]}, ${e.orignMaterColor[2]}, ${e.orignOpacity})`,backgroundColor:`rgba(${e.materColor[0]}, ${e.materColor[1]}, ${e.materColor[2]}, ${e.opacity})`})},[l("div",{class:"item-match center",onClick:t=>a.groupSwitch(e,n)},[l("div",Yg,[l("div",Kg,[l("i",{class:p(["iconfont",e.isOpen?"icon-jianhaoshouqi":"icon-jiahaozhankai"])},null,2)]),l("div",Zg,d(e.Name),1)])],8,Xg)],4))),128)):u("v-if",!0)])])},zg.__scopeId="data-v-7c7c2b7c",zg.__file="src/package/dicom-wechat-viewer/data-manager-viewer.vue";const{destroy:Qg,ToolGroupManager:Jg,Enums:eh,SegmentationIntersectionTool:nh,TrackballRotateTool:th,CrosshairsTool:ah,WindowLevelTool:oh,StackScrollTool:ih,PanTool:rh,ZoomTool:sh,LengthTool:ch,AngleTool:lh,ProbeTool:ph}=X,{MouseBindings:uh}=eh,{ViewportType:dh,OrientationAxis:mh}=z,{IMAGE_VOLUME_MODIFIED:fh,CAMERA_MODIFIED:vh,VOLUME_NEW_IMAGE:gh,VOI_MODIFIED:hh,GEOMETRY_LOAD_PROGRESS:xh}=z.Events;var bh={name:"DicomWechatViewer",components:{DataManagerViewer:zg},props:{patient:{type:Object,default:()=>{}},imageIds:{type:Array,default:()=>[]},stlDatas:{type:Array,default:()=>[]},dataManager:{type:Array,default:()=>[]},rotationSpeed:{type:Number,default:.05},d3stlBJ:{type:Array,default:()=>[{text:"浅灰色",value:"#CECECE"},{text:"深灰色",value:"#5F5F5F"},{text:"黑色",value:"#323232"},{text:"白色",value:"#E3E3E3"}]}},setup(r,s){const c="CT_AXIAL",l="CT_CORONAL",p="CT_SAGITTAL",u="CT_3d",d="cornerstoneStreamingImageVolume:CT_VOLUME_ID";let m=n({});const f=e(),v=e(),g=e(),h=e(),x=e();let b=n(),w=n(),T=n(),A=e(!1),C=e(!0),O=new Set;const k=n({[c]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1},[l]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1},[p]:{imageIndex:0,numberOfSlices:0,voi:{windowWidth:0,windowCenter:0},zoom:1}});let E=e(null),I=e(0),S=e(-1),P=e(!1),R=e(!1),j=e(!1),_=e(0);const L=y(()=>{if(!f.value)return;const e=f.value.clientHeight-50;return Im(`dicombottomheight:${e}`),e});t(()=>r.imageIds,async e=>{},{deep:!0}),t(()=>r.stlDatas,e=>{K(e)},{deep:!0}),a(async()=>{Im("onMounted..."),pe(),await ee(),await K(r.stlDatas)});const D=()=>{const e=m.getViewport(u);r.stlDatas.forEach(n=>{let t=e.getActor(n.id).actor;C.value?t.getProperty().setOpacity(n.opacity):t.getProperty().setOpacity(0)}),e.render()},F=e=>((e-=.2)<0&&(e=1),e),B=e=>{e=e.replace("#","");return[parseInt(e.slice(0,2),16)/255,parseInt(e.slice(2,4),16)/255,parseInt(e.slice(4,6),16)/255]},$=()=>{if(T){m.getViewport(u).setCamera(T)}(()=>{const e=m.getViewport(u);r.stlDatas.forEach(n=>{let t=e.getActor(n.id).actor;n.opacity=n.orignOpacity,t.getProperty().setOpacity(n.opacity)}),e.render()})()},Y=()=>{b&&(b.setToolPassive(oh.toolName),b.setToolPassive(ih.toolName),b.setToolPassive(rh.toolName),b.setToolPassive(sh.toolName),b.setToolPassive(ph.toolName),b.setToolPassive(ch.toolName),b.setToolPassive(lh.toolName),b.setToolDisabled(ah.toolName))},K=async e=>{e.length<=0||!P.value||j.value||(Im("start render stl data~"),j.value=!0,window.use&&"object"==typeof window.use&&Object.prototype.hasOwnProperty.call(window.use,"dicomWechatViewer")&&!1===window.use.dicomWechatViewer?Im("return..."):(O.clear(),await Promise.all(e.map(e=>ne(e))),Z(),s.emit("progress",{type:"stl",finished:!0}),Im("finish render stl data~")))},Z=()=>{const e=m.getViewport(u);T=e.initialCamera},Q=async e=>{if(e.length<=0||!T)return void Fg("正在加载dicom数据, 请稍候...");if(R.value)return;Im("start render dcm data~"),R.value=!0;const n=await M.createAndCacheVolume(d,{imageIds:e});await G(m,[{volumeId:d,callback:ai}],[c,l,p]),window.use&&"object"==typeof window.use&&Object.prototype.hasOwnProperty.call(window.use,"dicomWechatViewer")&&!1===window.use.dicomWechatViewer?Im("return..."):(n.load(),m.renderViewports([c,l,p]),Im("finish render dcm data~"))},J=e=>({[c]:"rgb(200, 0, 0)",[l]:"rgb(200, 200, 0)",[p]:"rgb(0, 200, 0)"}[e]),ee=async()=>{Im("start init cornerstone..."),await ti(),U.setMaxCacheSize(2147483648),te(),V.setMaxSimultaneousRequests(z.RequestType.Prefetch,10);const e="myRenderingEngine";m=new q(e);const n=[{viewportId:c,element:v.value,type:dh.ORTHOGRAPHIC,defaultOptions:{orientation:mh.AXIAL}},{viewportId:l,element:g.value,type:dh.ORTHOGRAPHIC,defaultOptions:{orientation:mh.CORONAL}},{viewportId:p,element:x.value,type:dh.ORTHOGRAPHIC,defaultOptions:{orientation:mh.SAGITTAL}},{viewportId:u,element:h.value,type:dh.VOLUME_3D,defaultOptions:{orientation:mh.CORONAL,background:[.807,.807,.807]}}];m.setViewports(n);b=Jg.createToolGroup("MY_TOOLGROUP_ID"),b.addViewport(c,e),b.addViewport(l,e),b.addViewport(p,e),b.addTool(oh.toolName),b.addTool(ih.toolName),b.addTool(rh.toolName),b.addTool(sh.toolName,{zoomToCenter:!0,pan:!1,pinchToZoom:!1}),b.addTool(ph.toolName),b.addTool(ch.toolName),b.addTool(lh.toolName);const t=window.matchMedia("(any-pointer:coarse)").matches;b.addTool(ah.toolName,{viewportIndicators:!1,referenceLinesCenterGapRadius:12,getReferenceLineColor:J,getReferenceLineControllable:()=>!0,getReferenceLineDraggableRotatable:()=>!0,getReferenceLineSlabThicknessControlsOn:()=>!1,mobile:{enabled:t,opacity:1,handleRadius:2}});w=Jg.createToolGroup("MY_TOOLGROUP_ID_3d"),w.addViewport(u,e),w.addTool(th.toolName,{configuration:{volumeId:d}}),w.setToolActive(th.toolName,{bindings:[{mouseButton:uh.Primary}]}),w.addTool(sh.toolName,{zoomToCenter:!0,pan:!0,pinchToZoom:!0}),w.setToolActive(sh.toolName,{bindings:[{numTouchPoints:2},{mouseButton:uh.Wheel}]}),P.value=!0,Im("finish init cornerstone...")},ne=async e=>{const n=await H.loadAndCacheGeometry(`mesh:${e.Url}`,{type:z.GeometryType.MESH,geometryData:{id:e.id,format:z.MeshType.STL,color:e.materColor,smoothFlag:!0,sincOption:{numberOfIterations:65,passBand:.005,featureAngle:150,edgeAngle:20,nonManifoldSmoothing:1,featureEdgeSmoothing:1,boundarySmoothing:0},normalOption:{computePointNormals:!0,computeCellNormals:!1,splitting:!1,featureAngle:150}}}),t=m.getViewport(u),a=n.data.defaultActor;a.getProperty().setOpacity(e.opacity),t.addActor({uid:e.id,actor:a}),t.resetCamera(),t.render()},te=()=>{window.addEventListener("resize",()=>{ae()}),W.addEventListener(xh,e=>{if(O&&e.detail.data){O.add(e.detail.data.url);const n=Math.floor(100*O.size/r.stlDatas.length);s.emit("progress",{type:"stl",progress:n,finished:!1})}}),W.addEventListener(fh,e=>{const{framesProcessed:n,numberOfFrames:t}=e.detail,a=Math.floor(100*n/t);s.emit("progress",{type:"dcm",progress:a})}),v.value.addEventListener(vh,()=>{if(m){const e=m.getViewport(c);e&&(k[c].zoom=e.getZoom())}}),v.value.addEventListener(hh,e=>{const n=e.detail.range;null==E.value&&(E.value=n),k[c].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),v.value.addEventListener(gh,e=>{k[c].imageIndex=e.detail.imageIndex,k[c].numberOfSlices=e.detail.numberOfSlices}),g.value.addEventListener(vh,()=>{if(m){const e=m.getViewport(l);e&&(k[l].zoom=e.getZoom())}}),g.value.addEventListener(hh,e=>{const n=e.detail.range;k[l].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),g.value.addEventListener(gh,e=>{k[l].imageIndex=e.detail.imageIndex,k[l].numberOfSlices=e.detail.numberOfSlices}),x.value.addEventListener(vh,()=>{if(m){const e=m.getViewport(p);e&&(k[p].zoom=e.getZoom())}}),x.value.addEventListener(hh,e=>{const n=e.detail.range;k[p].voi=N.windowLevel.toWindowLevel(n.lower,n.upper)}),x.value.addEventListener(gh,e=>{k[p].imageIndex=e.detail.imageIndex,k[p].numberOfSlices=e.detail.numberOfSlices})},ae=()=>{o(()=>{m&&T&&(m.resize(!0,!1),$())})};let oe=e();const ie=()=>{oe.value?(clearInterval(oe.value),oe.value=null):oe.value=setInterval(()=>{re()},20)},re=()=>{const e=w.getToolInstance(th.toolName),n=m.getViewport(u);e&&n&&T&&e.rotateCamera(n,T.focalPoint,[0,0,1],r.rotationSpeed)};let se=e(0);const ce=()=>(se.value=(se.value+1)%r.d3stlBJ.length,r.d3stlBJ[se.value]),le=e=>{const n=m.getViewport(u);n.getRenderer().setBackground(e),n.render()},pe=()=>{X.addTool(ih),X.addTool(oh),X.addTool(rh),X.addTool(sh),X.addTool(ph),X.addTool(ch),X.addTool(lh),X.addTool(nh),X.addTool(th),X.addTool(ah)},ue=[{key:-1,value:"icon-tijixiao"},{key:3,value:"icon-buju1"},{key:0,value:"icon-ic-axial"},{key:1,value:"icon-ic-coronal"},{key:2,value:"icon-ic-sagittal"}],de=()=>{const e=(ue.findIndex(e=>e.key==S.value)+1)%ue.length;S.value=ue[e].key};return i(async()=>{Im("onUnmounted..."),oe.value&&(clearInterval(oe.value),oe.value=null),Qg(),m&&(m.destroy(),m=null),W.reset(),V.destroy(),U.purgeCache()}),{toolIndex:_,mprLayoutSelndex:I,mprLayoutFlag:S,viewportInfo:k,viewportId1:c,viewportId2:l,viewportId3:p,mprLayoutFlagIcons:ue,rotationTimer:oe,patientFlag:A,stlAllShowFlag:C,mprLayoutSel:e=>{I.value=e},toolSel:async e=>{if(Im(`点击toolSel:${e}`),P.value&&T)switch(e){case 1:Y(),_.value=1,b.setToolActive(ih.toolName,{bindings:[{mouseButton:uh.Primary},{mouseButton:uh.Wheel}]});break;case 50:$();break;case 51:ie();break;case 52:const e=ce(),n=B(e.value);le(n),f.value.style.background=e.value;break;case 53:A.value=!A.value;break;case 54:C.value=!C.value,D();break;case 1e3:await Q(r.imageIds),de(),ae()}else Fg("正在加载模型数据, 请稍候...")},stlopacity:e=>{const n=m.getViewport(u);let t=n.getActor(e.id).actor;e.opacity=F(e.opacity),t.getProperty().setOpacity(e.opacity),n.render()},rootElement:f,axialElement:v,coronalElement:g,sagittalElement:x,d3Element:h,dicombottomHeight:L}}};const yh={class:"mix-dicom-viewer column",ref:"rootElement"},wh={class:"header-tool row"},Th={class:"main-tool row"},Ah={key:0,class:"main-tool row"},Ch={key:1,class:"main-tool row"},Oh={class:"dicom-bottom"},kh={ref:"d3Element",class:"canvas-inner"},Eh={key:0,class:"viewport3D cloumn"},Ih={class:"view-data-manager"},Sh={ref:"axialElement",class:"canvas-inner"},Ph={class:"viewport cloumn"},Rh={ref:"coronalElement",class:"canvas-inner"},jh={class:"viewport cloumn"},_h={ref:"sagittalElement",class:"canvas-inner"},Lh={class:"viewport cloumn"};of(".mix-dicom-viewer[data-v-f8b4d14e]{background:#cecece;height:100%;overflow:hidden;width:100%}.header-tool[data-v-f8b4d14e]{box-sizing:border-box;flex-grow:0;flex-shrink:0;height:50PX;padding-left:10PX;padding-right:10PX;position:relative;width:100%}.dicom-bottom[data-v-f8b4d14e]{flex-grow:1;flex-shrink:1;height:100%;width:100%}.dicom-canvas[data-v-f8b4d14e]{background:#000;flex-wrap:wrap;height:100%;width:100%}.canvas-relative[data-v-f8b4d14e]{position:relative}.canvas-outer-single[data-v-f8b4d14e]{height:100%;width:100%}.canvas-axial-outer[data-v-f8b4d14e],.canvas-coronal-outer[data-v-f8b4d14e]{border:.5px solid #333;border-radius:0;box-sizing:border-box;height:33%;width:33.3%}.canvas-d3-outer[data-v-f8b4d14e]{height:67%;width:100%}.canvas-sagittal-outer[data-v-f8b4d14e]{border:.5px solid #333;border-radius:0;box-sizing:border-box;height:33%;width:33.3%}.canvas-inner[data-v-f8b4d14e]{height:100%;width:100%}.viewport[data-v-f8b4d14e]{color:#fff;font-size:14PX;left:15PX;line-height:18PX;position:absolute;top:10PX;user-select:none}.viewport3D[data-v-f8b4d14e]{color:#364fb8;font-size:15PX;left:15PX;line-height:24PX;position:absolute;top:10PX;user-select:none}.view-data-manager[data-v-f8b4d14e]{bottom:2PX;position:absolute;width:100%}.tool-item[data-v-f8b4d14e]{background:#b5b5b5;border:1px solid #b5b5b5!important;border-radius:50%;color:#fff;flex-grow:0;flex-shrink:0;font-size:20PX!important;height:38PX;margin-left:5PX;margin-right:5PX;width:38PX}.tool-item .iconfont[data-v-f8b4d14e]{font-size:23PX}.tool-item-activate[data-v-f8b4d14e]{background:#006400;border:1px solid #006400!important;border-radius:50%}.main-tool[data-v-f8b4d14e]{height:100%;overflow-x:auto}.main-tool[data-v-f8b4d14e]::-webkit-scrollbar{display:none}"),bh.render=function(e,n,t,a,o,i){const f=_("data-manager-viewer");return s(),r("div",yh,[l("div",wh,[u(" dicom、stl "),l("div",Th,[l("div",{onClick:n[0]||(n[0]=e=>a.toolSel(1e3)),class:p(["tool-item","center","tool-item-activate"])},[l("i",{class:p(["iconfont",a.mprLayoutFlagIcons.find(e=>e.key===a.mprLayoutFlag)?.value])},null,2)])]),u(" stl "),-1==a.mprLayoutFlag||3==a.mprLayoutFlag?(s(),r("div",Ah,[l("div",{onClick:n[1]||(n[1]=e=>a.toolSel(50)),class:p(["tool-item","center","tool-item-activate"])},n[15]||(n[15]=[l("i",{class:"iconfont icon-reset"},null,-1)])),l("div",{onClick:n[2]||(n[2]=e=>a.toolSel(51)),class:p(["tool-item","center","tool-item-activate"])},[l("i",{class:p(["iconfont",a.rotationTimer?"icon-zanting":"icon-24gf-play"])},null,2)]),l("div",{onClick:n[3]||(n[3]=e=>a.toolSel(52)),class:p(["tool-item","center","tool-item-activate"])},n[16]||(n[16]=[l("i",{class:p(["iconfont","icon-dengpao"])},null,-1)])),l("div",{onClick:n[4]||(n[4]=e=>a.toolSel(53)),class:p(["tool-item","center","tool-item-activate"])},n[17]||(n[17]=[l("i",{class:p(["iconfont","icon-a-zu631"])},null,-1)])),l("div",{onClick:n[5]||(n[5]=e=>a.toolSel(54)),class:p(["tool-item","center","tool-item-activate"])},[l("i",{class:p(["iconfont",a.stlAllShowFlag?"icon-faxian-yanjing":"icon-guanbi-yanjing"])},null,2)])])):u("v-if",!0),u(" dicom "),0==a.mprLayoutFlag||1==a.mprLayoutFlag||2==a.mprLayoutFlag||3==a.mprLayoutFlag?(s(),r("div",Ch,[l("div",{onClick:n[6]||(n[6]=e=>a.toolSel(1)),class:p(["tool-item","center","tool-item-activate"])},n[18]||(n[18]=[l("i",{class:"iconfont icon-select-tb"},null,-1)]))])):u("v-if",!0)]),l("div",Oh,[l("div",{class:"dicom-canvas row",style:j({height:a.dicombottomHeight+"PX"})},[c(l("div",{oncontextmenu:"return false",onTouchstart:n[7]||(n[7]=e=>a.mprLayoutSel(-1)),onMousedown:n[8]||(n[8]=e=>a.mprLayoutSel(-1)),class:p(["canvas-relative",-1==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-d3-outer":"",-1==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",kh,null,512),a.patientFlag?(s(),r("div",Eh,[l("div",null,"医院: "+d(t.patient?.HospitalName||""),1),l("div",null,"科室: "+d(t.patient?.Division||""),1),l("div",null,"姓名: "+d(t.patient?.PatientName||""),1)])):u("v-if",!0),l("div",Ih,[w(f,{dataManager:t.dataManager,onStlopacity:a.stlopacity},null,8,["dataManager","onStlopacity"])])],34),[[m,3==a.mprLayoutFlag||-1==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[9]||(n[9]=e=>a.mprLayoutSel(0)),onMousedown:n[10]||(n[10]=e=>a.mprLayoutSel(0)),class:p(["canvas-relative",0==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-axial-outer":"",0==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Sh,null,512),l("div",Ph,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId1].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId1].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId1].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId1].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId1].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||0==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[11]||(n[11]=e=>a.mprLayoutSel(1)),onMousedown:n[12]||(n[12]=e=>a.mprLayoutSel(1)),class:p(["canvas-relative",1==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-coronal-outer":"",1==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",Rh,null,512),l("div",jh,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId2].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId2].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId2].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId2].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId2].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||1==a.mprLayoutFlag]]),c(l("div",{oncontextmenu:"return false",onTouchstart:n[13]||(n[13]=e=>a.mprLayoutSel(2)),onMousedown:n[14]||(n[14]=e=>a.mprLayoutSel(2)),class:p(["canvas-relative",2==a.mprLayoutFlag?"canvas-outer-single":3==a.mprLayoutFlag?"canvas-sagittal-outer":"",2==a.mprLayoutSelndex?"canvas-item-sel":""])},[l("div",_h,null,512),l("div",Lh,[l("div",null,"WL: "+d(a.viewportInfo[a.viewportId3].voi.windowWidth.toFixed(2))+"/"+d(a.viewportInfo[a.viewportId3].voi.windowCenter.toFixed(2)),1),l("div",null,"Zoom: "+d(a.viewportInfo[a.viewportId3].zoom.toFixed(2)),1),l("div",null,"Im: "+d(a.viewportInfo[a.viewportId3].imageIndex+1)+"/"+d(a.viewportInfo[a.viewportId3].numberOfSlices),1)])],34),[[m,3==a.mprLayoutFlag||2==a.mprLayoutFlag]])],4)])],512)},bh.__scopeId="data-v-f8b4d14e",bh.__file="src/package/dicom-wechat-viewer/index.vue";var Nh,Mh="longuto123456789",Dh={exports:{}},Fh={};var Bh;var zh,Uh,Vh,qh,Gh,$h,Wh,Hh,Xh,Yh,Kh,Zh,Qh,Jh,ex,nx,tx,ax,ox,ix,rx,sx,cx,lx,px,ux,dx,mx,fx,vx,gx,hx,xx,bx,yx,wx,Tx=(Bh||(Bh=1,Dh.exports=function(e){function n(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function t(e,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function a(e,n,a){return n&&t(e.prototype,n),e}e=e&&e.hasOwnProperty("default")?e.default:e;var o=function(){function t(e){n(this,t)}return a(t,[{key:"zero",value:function(e){var n;if(0<e){n="0";for(var t=1;t<e;t++)n+=n;return n}return""}},{key:"stringToArray",value:function(e){for(var n=[],t=e.length,a=0;a<t;a++){var o=e.charCodeAt(a);if(19968<o&&o<40869){var i=o.toString(2),r="1110",s="10",c="10",l=i.length;l<=6?(c=c+this.zero(6-l)+i,s+=this.zero(6),r+=this.zero(4)):6<l&&l<=12?(c+=i.slice(-6),s=s+this.zero(12-l)+i.substr(0,l-6),r+=this.zero(4)):(c+=i.slice(-6),s+=i.substr(l-12,6),r=r+this.zero(16-l)+i.substr(0,l-12)),n.push(parseInt(r,2),parseInt(s,2),parseInt(c,2))}else n.push(o)}return n}},{key:"stringToArrayBufferInUtf8",value:function(e){return this.stringToArray(e)}},{key:"utf8ArrayBufferToString",value:function(e){for(var n="",t=e.length,a=0;a<t;){var o,i=parseInt(e[a]).toString(2);if(1==i.substr(0,1)&&8==i.length){var r=parseInt(e[a]).toString(2).substr(4),s=parseInt(e[a+1]).toString(2).substr(2),c=parseInt(e[a+2]).toString(2).substr(2),l=parseInt(r+s+c,2);o=String.fromCharCode(l),a+=3}else o=String.fromCharCode(parseInt(i,2)),a++;n+=o}return n}},{key:"arrayBufferToBase64",value:function(n){return e.fromByteArray(n)}},{key:"base64ToArrayBuffer",value:function(n){return e.toByteArray(n)}}]),t}();Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{value:function(e,n,t){if(null==this)throw new TypeError("this is null or not defined");for(var a=Object(this),o=a.length>>>0,i=0|n,r=i<0?Math.max(o+i,0):Math.min(i,o),s=void 0===t?o:0|t,c=s<0?Math.max(o+s,0):Math.min(s,o);r<c;)a[r]=e,r++;return a}});var i=16,r=new Uint8Array([214,144,233,254,204,225,61,183,22,182,20,194,40,251,44,5,43,103,154,118,42,190,4,195,170,68,19,38,73,134,6,153,156,66,80,244,145,239,152,122,51,84,11,67,237,207,172,98,228,179,28,169,201,8,232,149,128,223,148,250,117,143,63,166,71,7,167,252,243,115,23,186,131,89,60,25,230,133,79,168,104,107,129,178,113,100,218,139,248,235,15,75,112,86,157,53,30,36,14,94,99,88,209,162,37,34,124,59,1,33,120,135,212,0,70,87,159,211,39,82,76,54,2,231,160,196,200,158,234,191,138,210,64,199,56,181,163,247,242,206,249,97,21,161,224,174,93,164,155,52,26,85,173,147,50,48,245,140,177,227,29,246,226,46,130,102,202,96,192,41,35,171,13,83,78,111,213,219,55,69,222,253,142,47,3,255,106,114,109,108,91,81,141,27,175,146,187,221,188,127,17,217,92,65,31,16,90,216,10,193,49,136,165,205,123,189,45,116,208,18,184,229,180,176,137,105,151,74,12,150,119,126,101,185,241,9,197,110,198,132,24,240,125,236,58,220,77,32,121,238,95,62,215,203,57,72]);Uint8Array.prototype.fill=function(){Array.prototype.fill.apply(this,arguments)},Uint8Array.prototype.slice||(Uint8Array.prototype.slice=function(e){return new Uint8Array(this).subarray(e)});var s=new Uint32Array([462357,472066609,943670861,1415275113,1886879365,2358483617,2830087869,3301692121,3773296373,4228057617,404694573,876298825,1347903077,1819507329,2291111581,2762715833,3234320085,3705924337,4177462797,337322537,808926789,1280531041,1752135293,2223739545,2695343797,3166948049,3638552301,4110090761,269950501,741554753,1213159005,1684763257]),c=new Uint32Array([2746333894,1453994832,1736282519,2993693404]);return function(){function e(t){n(this,e),this.Crypt=new o;var a=this.Crypt.stringToArrayBufferInUtf8(t.key);if(16!==a.length)throw new Error("key should be a 16 bytes string");this.key=a;var i=new Uint8Array(0);if(void 0!==t.iv&&null!==t.iv&&16!==(i=this.Crypt.stringToArrayBufferInUtf8(t.iv)).length)throw new Error("iv should be a 16 bytes string");this.iv=i,0<=[this.mode="cbc","ecb"].indexOf(t.mode)&&(this.mode=t.mode),0<=[this.cipherType="base64","text"].indexOf(t.outType)&&(this.cipherType=t.outType),this.encryptRoundKeys=new Uint32Array(32),this.spawnEncryptRoundKeys(),Uint32Array.prototype.reverse=function(){Array.prototype.reverse.apply(this,arguments)},this.decryptRoundKeys=new Uint32Array(this.encryptRoundKeys),this.decryptRoundKeys.reverse()}return a(e,[{key:"doBlockCrypt",value:function(e,n){var t=new Uint32Array(36);t.set(e,0);for(var a=0;a<32;a++)t[a+4]=t[a]^this.tTransform1(t[a+1]^t[a+2]^t[a+3]^n[a]);var o=new Uint32Array(4);return o[0]=t[35],o[1]=t[34],o[2]=t[33],o[3]=t[32],o}},{key:"spawnEncryptRoundKeys",value:function(){var e=new Uint32Array(4);e[0]=this.key[0]<<24|this.key[1]<<16|this.key[2]<<8|this.key[3],e[1]=this.key[4]<<24|this.key[5]<<16|this.key[6]<<8|this.key[7],e[2]=this.key[8]<<24|this.key[9]<<16|this.key[10]<<8|this.key[11],e[3]=this.key[12]<<24|this.key[13]<<16|this.key[14]<<8|this.key[15];var n=new Uint32Array(36);n[0]=e[0]^c[0],n[1]=e[1]^c[1],n[2]=e[2]^c[2],n[3]=e[3]^c[3];for(var t=0;t<32;t++)n[t+4]=n[t]^this.tTransform2(n[t+1]^n[t+2]^n[t+3]^s[t]),this.encryptRoundKeys[t]=n[t+4]}},{key:"rotateLeft",value:function(e,n){return e<<n|e>>>32-n}},{key:"linearTransform1",value:function(e){return e^this.rotateLeft(e,2)^this.rotateLeft(e,10)^this.rotateLeft(e,18)^this.rotateLeft(e,24)}},{key:"linearTransform2",value:function(e){return e^this.rotateLeft(e,13)^this.rotateLeft(e,23)}},{key:"tauTransform",value:function(e){return r[e>>>24&255]<<24|r[e>>>16&255]<<16|r[e>>>8&255]<<8|r[255&e]}},{key:"tTransform1",value:function(e){var n=this.tauTransform(e);return this.linearTransform1(n)}},{key:"tTransform2",value:function(e){var n=this.tauTransform(e);return this.linearTransform2(n)}},{key:"padding",value:function(e){if(null===e)return null;var n=i-e.length%i,t=new Uint8Array(e.length+n);return t.set(e,0),t.fill(n,e.length),t}},{key:"dePadding",value:function(e){if(null===e)return null;var n=e[e.length-1];return e.slice(0,e.length-n)}},{key:"uint8ToUint32Block",value:function(e,n){void 0===n&&(n=0);var t=new Uint32Array(4);return t[0]=e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3],t[1]=e[n+4]<<24|e[n+5]<<16|e[n+6]<<8|e[n+7],t[2]=e[n+8]<<24|e[n+9]<<16|e[n+10]<<8|e[n+11],t[3]=e[n+12]<<24|e[n+13]<<16|e[n+14]<<8|e[n+15],t}},{key:"encrypt",value:function(e){var n=this.Crypt.stringToArrayBufferInUtf8(e),t=this.padding(n),a=t.length/i,o=new Uint8Array(t.length);if("cbc"===this.mode){if(null===this.iv||16!==this.iv.length)throw new Error("iv error");for(var r=this.uint8ToUint32Block(this.iv),s=0;s<a;s++){var c=s*i,l=this.uint8ToUint32Block(t,c);r[0]=r[0]^l[0],r[1]=r[1]^l[1],r[2]=r[2]^l[2],r[3]=r[3]^l[3],r=u=this.doBlockCrypt(r,this.encryptRoundKeys);for(var p=0;p<i;p++)o[c+p]=u[parseInt(p/4)]>>(3-p)%4*8&255}}else for(s=0;s<a;s++){c=s*i,l=this.uint8ToUint32Block(t,c);var u=this.doBlockCrypt(l,this.encryptRoundKeys);for(p=0;p<i;p++)o[c+p]=u[parseInt(p/4)]>>(3-p)%4*8&255}return"base64"===this.cipherType?this.Crypt.arrayBufferToBase64(o):this.Crypt.utf8ArrayBufferToString(o)}},{key:"decrypt",value:function(e){var n=new Uint8Array,t=(n="base64"===this.cipherType?this.Crypt.base64ToArrayBuffer(e):this.Crypt.stringToArrayBufferInUtf8(e)).length/i,a=new Uint8Array(n.length);if("cbc"===this.mode){if(null===this.iv||16!==this.iv.length)throw new Error("iv error");for(var o=this.uint8ToUint32Block(this.iv),r=0;r<t;r++){var s=r*i,c=this.uint8ToUint32Block(n,s),l=this.doBlockCrypt(c,this.decryptRoundKeys);(u=new Uint32Array(4))[0]=o[0]^l[0],u[1]=o[1]^l[1],u[2]=o[2]^l[2],u[3]=o[3]^l[3],o=c;for(var p=0;p<i;p++)a[s+p]=u[parseInt(p/4)]>>(3-p)%4*8&255}}else for(r=0;r<t;r++){s=r*i,c=this.uint8ToUint32Block(n,s);var u=this.doBlockCrypt(c,this.decryptRoundKeys);for(p=0;p<i;p++)a[s+p]=u[parseInt(p/4)]>>(3-p)%4*8&255}var d=this.dePadding(a);return this.Crypt.utf8ArrayBufferToString(d)}}]),e}()}(function(){if(Nh)return Fh;Nh=1,Fh.byteLength=function(e){var n=i(e),t=n[0],a=n[1];return 3*(t+a)/4-a},Fh.toByteArray=function(e){var a,o,r=i(e),s=r[0],c=r[1],l=new t(function(e,n,t){return 3*(n+t)/4-t}(0,s,c)),p=0,u=c>0?s-4:s;for(o=0;o<u;o+=4)a=n[e.charCodeAt(o)]<<18|n[e.charCodeAt(o+1)]<<12|n[e.charCodeAt(o+2)]<<6|n[e.charCodeAt(o+3)],l[p++]=a>>16&255,l[p++]=a>>8&255,l[p++]=255&a;return 2===c&&(a=n[e.charCodeAt(o)]<<2|n[e.charCodeAt(o+1)]>>4,l[p++]=255&a),1===c&&(a=n[e.charCodeAt(o)]<<10|n[e.charCodeAt(o+1)]<<4|n[e.charCodeAt(o+2)]>>2,l[p++]=a>>8&255,l[p++]=255&a),l},Fh.fromByteArray=function(n){for(var t,a=n.length,o=a%3,i=[],r=16383,c=0,l=a-o;c<l;c+=r)i.push(s(n,c,c+r>l?l:c+r));return 1===o?(t=n[a-1],i.push(e[t>>2]+e[t<<4&63]+"==")):2===o&&(t=(n[a-2]<<8)+n[a-1],i.push(e[t>>10]+e[t>>4&63]+e[t<<2&63]+"=")),i.join("")};for(var e=[],n=[],t="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)e[o]=a[o],n[a.charCodeAt(o)]=o;function i(e){var n=e.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");return-1===t&&(t=n),[t,t===n?0:4-t%4]}function r(n){return e[n>>18&63]+e[n>>12&63]+e[n>>6&63]+e[63&n]}function s(e,n,t){for(var a,o=[],i=n;i<t;i+=3)a=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(r(a));return o.join("")}return n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63,Fh}())),Dh.exports),Ax=pe(Tx),Cx={exports:{}};function Ox(){return Uh||(Uh=1,zh=function(e,n){return function(){for(var t=new Array(arguments.length),a=0;a<t.length;a++)t[a]=arguments[a];return e.apply(n,t)}}),zh}function kx(){if(qh)return Vh;qh=1;var e=Ox(),n=Object.prototype.toString,t=function(e){return function(t){var a=n.call(t);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())}}(Object.create(null));function a(e){return e=e.toLowerCase(),function(n){return t(n)===e}}function o(e){return Array.isArray(e)}function i(e){return void 0===e}var r=a("ArrayBuffer");function s(e){return null!==e&&"object"==typeof e}function c(e){if("object"!==t(e))return!1;var n=Object.getPrototypeOf(e);return null===n||n===Object.prototype}var l=a("Date"),p=a("File"),u=a("Blob"),d=a("FileList");function m(e){return"[object Function]"===n.call(e)}var f=a("URLSearchParams");function v(e,n){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var t=0,a=e.length;t<a;t++)n.call(null,e[t],t,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.call(null,e[i],i,e)}var g,h=(g="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return g&&e instanceof g});return Vh={isArray:o,isArrayBuffer:r,isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||n.call(e)===t||m(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&r(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:c,isUndefined:i,isDate:l,isFile:p,isBlob:u,isFunction:m,isStream:function(e){return s(e)&&m(e.pipe)},isURLSearchParams:f,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:v,merge:function e(){var n={};function t(t,a){c(n[a])&&c(t)?n[a]=e(n[a],t):c(t)?n[a]=e({},t):o(t)?n[a]=t.slice():n[a]=t}for(var a=0,i=arguments.length;a<i;a++)v(arguments[a],t);return n},extend:function(n,t,a){return v(t,function(t,o){n[o]=a&&"function"==typeof t?e(t,a):t}),n},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,n,t,a){e.prototype=Object.create(n.prototype,a),e.prototype.constructor=e,t&&Object.assign(e.prototype,t)},toFlatObject:function(e,n,t){var a,o,i,r={};n=n||{};do{for(o=(a=Object.getOwnPropertyNames(e)).length;o-- >0;)r[i=a[o]]||(n[i]=e[i],r[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!t||t(e,n))&&e!==Object.prototype);return n},kindOf:t,kindOfTest:a,endsWith:function(e,n,t){e=String(e),(void 0===t||t>e.length)&&(t=e.length),t-=n.length;var a=e.indexOf(n,t);return-1!==a&&a===t},toArray:function(e){if(!e)return null;var n=e.length;if(i(n))return null;for(var t=new Array(n);n-- >0;)t[n]=e[n];return t},isTypedArray:h,isFileList:d},Vh}function Ex(){if($h)return Gh;$h=1;var e=kx();function n(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}return Gh=function(t,a,o){if(!a)return t;var i;if(o)i=o(a);else if(e.isURLSearchParams(a))i=a.toString();else{var r=[];e.forEach(a,function(t,a){null!=t&&(e.isArray(t)?a+="[]":t=[t],e.forEach(t,function(t){e.isDate(t)?t=t.toISOString():e.isObject(t)&&(t=JSON.stringify(t)),r.push(n(a)+"="+n(t))}))}),i=r.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}}function Ix(){if(Yh)return Xh;Yh=1;var e=kx();return Xh=function(n,t){e.forEach(n,function(e,a){a!==t&&a.toUpperCase()===t.toUpperCase()&&(n[t]=e,delete n[a])})},Xh}function Sx(){if(Zh)return Kh;Zh=1;var e=kx();function n(e,n,t,a,o){Error.call(this),this.message=e,this.name="AxiosError",n&&(this.code=n),t&&(this.config=t),a&&(this.request=a),o&&(this.response=o)}e.inherits(n,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var t=n.prototype,a={};return["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){a[e]={value:e}}),Object.defineProperties(n,a),Object.defineProperty(t,"isAxiosError",{value:!0}),n.from=function(a,o,i,r,s,c){var l=Object.create(t);return e.toFlatObject(a,l,function(e){return e!==Error.prototype}),n.call(l,a.message,o,i,r,s),l.name=a.name,c&&Object.assign(l,c),l},Kh=n}function Px(){return Jh?Qh:(Jh=1,Qh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1})}function Rx(){if(nx)return ex;nx=1;var e=kx();return ex=function(n,t){t=t||new FormData;var a=[];function o(n){return null===n?"":e.isDate(n)?n.toISOString():e.isArrayBuffer(n)||e.isTypedArray(n)?"function"==typeof Blob?new Blob([n]):Buffer.from(n):n}return function n(i,r){if(e.isPlainObject(i)||e.isArray(i)){if(-1!==a.indexOf(i))throw Error("Circular reference detected in "+r);a.push(i),e.forEach(i,function(a,i){if(!e.isUndefined(a)){var s,c=r?r+"."+i:i;if(a&&!r&&"object"==typeof a)if(e.endsWith(i,"{}"))a=JSON.stringify(a);else if(e.endsWith(i,"[]")&&(s=e.toArray(a)))return void s.forEach(function(n){!e.isUndefined(n)&&t.append(c,o(n))});n(a,c)}}),a.pop()}else t.append(r,o(i))}(n),t},ex}function jx(){if(ax)return tx;ax=1;var e=Sx();return tx=function(n,t,a){var o=a.config.validateStatus;a.status&&o&&!o(a.status)?t(new e("Request failed with status code "+a.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a)):n(a)}}function _x(){if(ix)return ox;ix=1;var e=kx();return ox=e.isStandardBrowserEnv()?{write:function(n,t,a,o,i,r){var s=[];s.push(n+"="+encodeURIComponent(t)),e.isNumber(a)&&s.push("expires="+new Date(a).toGMTString()),e.isString(o)&&s.push("path="+o),e.isString(i)&&s.push("domain="+i),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var n=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},ox}function Lx(){return sx?rx:(sx=1,rx=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)})}function Nx(){return lx?cx:(lx=1,cx=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e})}function Mx(){if(ux)return px;ux=1;var e=Lx(),n=Nx();return px=function(t,a){return t&&!e(a)?n(t,a):a}}function Dx(){if(mx)return dx;mx=1;var e=kx(),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return dx=function(t){var a,o,i,r={};return t?(e.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),a=e.trim(t.substr(0,i)).toLowerCase(),o=e.trim(t.substr(i+1)),a){if(r[a]&&n.indexOf(a)>=0)return;r[a]="set-cookie"===a?(r[a]?r[a]:[]).concat([o]):r[a]?r[a]+", "+o:o}}),r):r}}function Fx(){if(vx)return fx;vx=1;var e=kx();return fx=e.isStandardBrowserEnv()?function(){var n,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function o(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return n=o(window.location.href),function(t){var a=e.isString(t)?o(t):t;return a.protocol===n.protocol&&a.host===n.host}}():function(){return!0}}function Bx(){if(hx)return gx;hx=1;var e=Sx();function n(n){e.call(this,null==n?"canceled":n,e.ERR_CANCELED),this.name="CanceledError"}return kx().inherits(n,e,{__CANCEL__:!0}),gx=n}function zx(){return bx?xx:(bx=1,xx=function(e){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""})}var Ux,Vx,qx,Gx,$x,Wx={exports:{}},Hx={exports:{}},Xx={exports:{}};function Yx(){if(Vx)return Ux;Vx=1;var e=1e3,n=60*e,t=60*n,a=24*t,o=7*a,i=365.25*a;function r(e,n,t,a){var o=n>=1.5*t;return Math.round(e/t)+" "+a+(o?"s":"")}return Ux=function(s,c){c=c||{};var l=typeof s;if("string"===l&&s.length>0)return function(r){if((r=String(r)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(r);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*a;case"hours":case"hour":case"hrs":case"hr":case"h":return c*t;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(s);if("number"===l&&isFinite(s))return c.long?function(o){var i=Math.abs(o);if(i>=a)return r(o,i,a,"day");if(i>=t)return r(o,i,t,"hour");if(i>=n)return r(o,i,n,"minute");if(i>=e)return r(o,i,e,"second");return o+" ms"}(s):function(o){var i=Math.abs(o);if(i>=a)return Math.round(o/a)+"d";if(i>=t)return Math.round(o/t)+"h";if(i>=n)return Math.round(o/n)+"m";if(i>=e)return Math.round(o/e)+"s";return o+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))},Ux}function Kx(){if(Gx)return qx;return Gx=1,qx=function(e){function n(e){let a,o,i,r=null;function s(...e){if(!s.enabled)return;const t=s,o=Number(new Date),i=o-(a||o);t.diff=i,t.prev=a,t.curr=o,a=o,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(a,o)=>{if("%%"===a)return"%";r++;const i=n.formatters[o];if("function"==typeof i){const n=e[r];a=i.call(t,n),e.splice(r,1),r--}return a}),n.formatArgs.call(t,e);(t.log||n.log).apply(t,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=t,s.destroy=n.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(o!==n.namespaces&&(o=n.namespaces,i=n.enabled(e)),i),set:e=>{r=e}}),"function"==typeof n.init&&n.init(s),s}function t(e,t){const a=n(this.namespace+(void 0===t?":":t)+e);return a.log=this.log,a}function a(e,n){let t=0,a=0,o=-1,i=0;for(;t<e.length;)if(a<n.length&&(n[a]===e[t]||"*"===n[a]))"*"===n[a]?(o=a,i=t,a++):(t++,a++);else{if(-1===o)return!1;a=o+1,i++,t=i}for(;a<n.length&&"*"===n[a];)a++;return a===n.length}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){const e=[...n.names,...n.skips.map(e=>"-"+e)].join(",");return n.enable(""),e},n.enable=function(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];const t=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t)"-"===e[0]?n.skips.push(e.slice(1)):n.names.push(e)},n.enabled=function(e){for(const t of n.skips)if(a(e,t))return!1;for(const t of n.names)if(a(e,t))return!0;return!1},n.humanize=Yx(),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(t=>{n[t]=e[t]}),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]},n.enable(n.load()),n},qx}var Zx,Qx,Jx,eb,nb,tb,ab,ob,ib,rb,sb,cb,lb,pb,ub,db,mb,fb={exports:{}};function vb(){return Qx?Zx:(Qx=1,Zx=(e,n=process.argv)=>{const t=e.startsWith("-")?"":1===e.length?"-":"--",a=n.indexOf(t+e),o=n.indexOf("--");return-1!==a&&(-1===o||a<o)})}function gb(){return nb||(nb=1,function(e,n){const t=ae,a=oe;n.init=function(e){e.inspectOpts={};const t=Object.keys(n.inspectOpts);for(let a=0;a<t.length;a++)e.inspectOpts[t[a]]=n.inspectOpts[t[a]]},n.log=function(...e){return process.stderr.write(a.formatWithOptions(n.inspectOpts,...e)+"\n")},n.formatArgs=function(t){const{namespace:a,useColors:o}=this;if(o){const n=this.color,o="[3"+(n<8?n:"8;5;"+n),i=` ${o};1m${a} [0m`;t[0]=i+t[0].split("\n").join("\n"+i),t.push(o+"m+"+e.exports.humanize(this.diff)+"[0m")}else t[0]=function(){if(n.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+a+" "+t[0]},n.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},n.load=function(){return process.env.DEBUG},n.useColors=function(){return"colors"in n.inspectOpts?Boolean(n.inspectOpts.colors):t.isatty(process.stderr.fd)},n.destroy=a.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),n.colors=[6,2,3,4,5,1];try{const e=function(){if(eb)return Jx;eb=1;const e=ie,n=ae,t=vb(),{env:a}=process;let o;function i(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function r(n,i){if(0===o)return 0;if(t("color=16m")||t("color=full")||t("color=truecolor"))return 3;if(t("color=256"))return 2;if(n&&!i&&void 0===o)return 0;const r=o||0;if("dumb"===a.TERM)return r;if("win32"===process.platform){const n=e.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:r;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:r}return t("no-color")||t("no-colors")||t("color=false")||t("color=never")?o=0:(t("color")||t("colors")||t("color=true")||t("color=always"))&&(o=1),"FORCE_COLOR"in a&&(o="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),Jx={supportsColor:function(e){return i(r(e,e&&e.isTTY))},stdout:i(r(!0,n.isatty(1))),stderr:i(r(!0,n.isatty(2)))}}();e&&(e.stderr||e).level>=2&&(n.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}n.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,n)=>{const t=n.substring(6).toLowerCase().replace(/_([a-z])/g,(e,n)=>n.toUpperCase());let a=process.env[n];return a=!!/^(yes|on|true|enabled)$/i.test(a)||!/^(no|off|false|disabled)$/i.test(a)&&("null"===a?null:Number(a)),e[t]=a,e},{}),e.exports=Kx()(n);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}}(fb,fb.exports)),fb.exports}function hb(){return tb||(tb=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?Hx.exports=($x||($x=1,function(e,n){n.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;n.splice(1,0,t,"color: inherit");let a=0,o=0;n[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(a++,"%c"===e&&(o=a))}),n.splice(o,0,t)},n.save=function(e){try{e?n.storage.setItem("debug",e):n.storage.removeItem("debug")}catch(e){}},n.load=function(){let e;try{e=n.storage.getItem("debug")||n.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},n.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage=function(){try{return localStorage}catch(e){}}(),n.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.log=console.debug||console.log||(()=>{}),e.exports=Kx()(n);const{formatters:t}=e.exports;t.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(Xx,Xx.exports)),Xx.exports):Hx.exports=gb()),Hx.exports}function xb(){if(ib)return Wx.exports;ib=1;var e,n,t,a=ee,o=a.URL,i=Q,r=J,s=ne.Writable,c=te,l=function(){return ob||(ob=1,ab=function(){if(!e){try{e=hb()("follow-redirects")}catch(e){}"function"!=typeof e&&(e=function(){})}e.apply(null,arguments)}),ab;var e}();e="undefined"!=typeof process,n="undefined"!=typeof window&&"undefined"!=typeof document,t=P(Error.captureStackTrace),e||!n&&t||console.warn("The follow-redirects package should be excluded from browser builds.");var p=!1;try{c(new o(""))}catch(e){p="ERR_INVALID_URL"===e.code}var u=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],m=Object.create(null);d.forEach(function(e){m[e]=function(n,t,a){this._redirectable.emit(e,n,t,a)}});var f=E("ERR_INVALID_URL","Invalid URL",TypeError),v=E("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=E("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",v),h=E("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),x=E("ERR_STREAM_WRITE_AFTER_END","write after end"),b=s.prototype.destroy||T;function y(e,n){s.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],n&&this.on("response",n);var t=this;this._onNativeResponse=function(e){try{t._processResponse(e)}catch(e){t.emit("error",e instanceof v?e:new v({cause:e}))}},this._performRequest()}function w(e){var n={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(e).forEach(function(a){var i=a+":",r=t[i]=e[a],s=n[a]=Object.create(r);Object.defineProperties(s,{request:{value:function(e,a,r){var s;return s=e,o&&s instanceof o?e=O(e):S(e)?e=O(A(e)):(r=a,a=C(e),e={protocol:i}),P(a)&&(r=a,a=null),(a=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},e,a)).nativeProtocols=t,S(a.host)||S(a.hostname)||(a.hostname="::1"),c.equal(a.protocol,i,"protocol mismatch"),l("options",a),new y(a,r)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,n,t){var a=s.request(e,n,t);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})}),n}function T(){}function A(e){var n;if(p)n=new o(e);else if(!S((n=C(a.parse(e))).protocol))throw new f({input:e});return n}function C(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new f({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new f({input:e.href||e});return e}function O(e,n){var t=n||{};for(var a of u)t[a]=e[a];return t.hostname.startsWith("[")&&(t.hostname=t.hostname.slice(1,-1)),""!==t.port&&(t.port=Number(t.port)),t.path=t.search?t.pathname+t.search:t.pathname,t}function k(e,n){var t;for(var a in n)e.test(a)&&(t=n[a],delete n[a]);return null==t?void 0:String(t).trim()}function E(e,n,t){function a(t){P(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,t||{}),this.code=e,this.message=this.cause?n+": "+this.cause.message:n}return a.prototype=new(t||Error),Object.defineProperties(a.prototype,{constructor:{value:a,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),a}function I(e,n){for(var t of d)e.removeListener(t,m[t]);e.on("error",T),e.destroy(n)}function S(e){return"string"==typeof e||e instanceof String}function P(e){return"function"==typeof e}return y.prototype=Object.create(s.prototype),y.prototype.abort=function(){I(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},y.prototype.destroy=function(e){return I(this._currentRequest,e),b.call(this,e),this},y.prototype.write=function(e,n,t){if(this._ending)throw new x;if(!S(e)&&("object"!=typeof(a=e)||!("length"in a)))throw new TypeError("data should be a string, Buffer or Uint8Array");var a;P(n)&&(t=n,n=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:n}),this._currentRequest.write(e,n,t)):(this.emit("error",new h),this.abort()):t&&t()},y.prototype.end=function(e,n,t){if(P(e)?(t=e,e=n=null):P(n)&&(t=n,n=null),e){var a=this,o=this._currentRequest;this.write(e,n,function(){a._ended=!0,o.end(null,null,t)}),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,t)},y.prototype.setHeader=function(e,n){this._options.headers[e]=n,this._currentRequest.setHeader(e,n)},y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},y.prototype.setTimeout=function(e,n){var t=this;function a(n){n.setTimeout(e),n.removeListener("timeout",n.destroy),n.addListener("timeout",n.destroy)}function o(n){t._timeout&&clearTimeout(t._timeout),t._timeout=setTimeout(function(){t.emit("timeout"),i()},e),a(n)}function i(){t._timeout&&(clearTimeout(t._timeout),t._timeout=null),t.removeListener("abort",i),t.removeListener("error",i),t.removeListener("response",i),t.removeListener("close",i),n&&t.removeListener("timeout",n),t.socket||t._currentRequest.removeListener("socket",o)}return n&&this.on("timeout",n),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",a),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){y.prototype[e]=function(n,t){return this._currentRequest[e](n,t)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})}),y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var n=e.path.indexOf("?");n<0?e.pathname=e.path:(e.pathname=e.path.substring(0,n),e.search=e.path.substring(n))}},y.prototype._performRequest=function(){var e=this._options.protocol,n=this._options.nativeProtocols[e];if(!n)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var t=e.slice(0,-1);this._options.agent=this._options.agents[t]}var o=this._currentRequest=n.request(this._options,this._onNativeResponse);for(var i of(o._redirectable=this,d))o.on(i,m[i]);if(this._currentUrl=/^\//.test(this._options.path)?a.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(n){if(o===s._currentRequest)if(n)s.emit("error",n);else if(r<c.length){var t=c[r++];o.finished||o.write(t.data,t.encoding,e)}else s._ended&&o.end()}()}},y.prototype._processResponse=function(e){var n=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:n});var t,i=e.headers.location;if(!i||!1===this._options.followRedirects||n<300||n>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(I(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var r=this._options.beforeRedirect;r&&(t=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((301===n||302===n)&&"POST"===this._options.method||303===n&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var u,d,m=k(/^host$/i,this._options.headers),f=A(this._currentUrl),v=m||f.host,h=/^\w+:/.test(i)?this._currentUrl:a.format(Object.assign(f,{host:v})),x=(u=i,d=h,p?new o(u,d):A(a.resolve(d,u)));if(l("redirecting to",x.href),this._isRedirect=!0,O(x,this._options),(x.protocol!==f.protocol&&"https:"!==x.protocol||x.host!==v&&!function(e,n){c(S(e)&&S(n));var t=e.length-n.length-1;return t>0&&"."===e[t]&&e.endsWith(n)}(x.host,v))&&k(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),P(r)){var b={headers:e.headers,statusCode:n},y={url:h,method:s,headers:t};r(this._options,b,y),this._sanitizeOptions(this._options)}this._performRequest()},Wx.exports=w({http:i,https:r}),Wx.exports.wrap=w,Wx.exports}function bb(){return sb?rb:(sb=1,rb={version:"0.27.2"})}function yb(){if(lb)return cb;lb=1;var e=kx(),n=jx(),t=Mx(),a=Ex(),o=Q,i=J,r=xb().http,s=xb().https,c=ee,l=re,p=bb().version,u=Px(),d=Sx(),m=Bx(),f=/https:?/,v=["http:","https:","file:"];function g(e,n,t){if(e.hostname=n.host,e.host=n.host,e.port=n.port,e.path=t,n.auth){var a=Buffer.from(n.auth.username+":"+n.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+a}e.beforeRedirect=function(e){e.headers.host=e.host,g(e,n,e.href)}}return cb=function(h){return new Promise(function(x,b){var y;function w(){h.cancelToken&&h.cancelToken.unsubscribe(y),h.signal&&h.signal.removeEventListener("abort",y)}var T=function(e){w(),x(e)},A=!1,C=function(e){w(),A=!0,b(e)},O=h.data,k=h.headers,E={};if(Object.keys(k).forEach(function(e){E[e.toLowerCase()]=e}),"user-agent"in E?k[E["user-agent"]]||delete k[E["user-agent"]]:k["User-Agent"]="axios/"+p,e.isFormData(O)&&e.isFunction(O.getHeaders))Object.assign(k,O.getHeaders());else if(O&&!e.isStream(O)){if(Buffer.isBuffer(O));else if(e.isArrayBuffer(O))O=Buffer.from(new Uint8Array(O));else{if(!e.isString(O))return C(new d("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",d.ERR_BAD_REQUEST,h));O=Buffer.from(O,"utf-8")}if(h.maxBodyLength>-1&&O.length>h.maxBodyLength)return C(new d("Request body larger than maxBodyLength limit",d.ERR_BAD_REQUEST,h));E["content-length"]||(k["Content-Length"]=O.length)}var I=void 0;h.auth&&(I=(h.auth.username||"")+":"+(h.auth.password||""));var S=t(h.baseURL,h.url),P=c.parse(S),R=P.protocol||v[0];if(-1===v.indexOf(R))return C(new d("Unsupported protocol "+R,d.ERR_BAD_REQUEST,h));if(!I&&P.auth){var j=P.auth.split(":");I=(j[0]||"")+":"+(j[1]||"")}I&&E.authorization&&delete k[E.authorization];var _=f.test(R),L=_?h.httpsAgent:h.httpAgent;try{a(P.path,h.params,h.paramsSerializer).replace(/^\?/,"")}catch(e){var N=new Error(e.message);N.config=h,N.url=h.url,N.exists=!0,C(N)}var M={path:a(P.path,h.params,h.paramsSerializer).replace(/^\?/,""),method:h.method.toUpperCase(),headers:k,agent:L,agents:{http:h.httpAgent,https:h.httpsAgent},auth:I};h.socketPath?M.socketPath=h.socketPath:(M.hostname=P.hostname,M.port=P.port);var D,F=h.proxy;if(!F&&!1!==F){var B=R.slice(0,-1)+"_proxy",z=process.env[B]||process.env[B.toUpperCase()];if(z){var U=c.parse(z),V=process.env.no_proxy||process.env.NO_PROXY,q=!0;if(V)q=!V.split(",").map(function(e){return e.trim()}).some(function(e){return!!e&&("*"===e||("."===e[0]&&P.hostname.substr(P.hostname.length-e.length)===e||P.hostname===e))});if(q&&(F={host:U.hostname,port:U.port,protocol:U.protocol},U.auth)){var G=U.auth.split(":");F.auth={username:G[0],password:G[1]}}}}F&&(M.headers.host=P.hostname+(P.port?":"+P.port:""),g(M,F,R+"//"+P.hostname+(P.port?":"+P.port:"")+M.path));var $=_&&(!F||f.test(F.protocol));h.transport?D=h.transport:0===h.maxRedirects?D=$?i:o:(h.maxRedirects&&(M.maxRedirects=h.maxRedirects),h.beforeRedirect&&(M.beforeRedirect=h.beforeRedirect),D=$?s:r),h.maxBodyLength>-1&&(M.maxBodyLength=h.maxBodyLength),h.insecureHTTPParser&&(M.insecureHTTPParser=h.insecureHTTPParser);var W=D.request(M,function(t){if(!W.aborted){var a=t,o=t.req||W;if(204!==t.statusCode&&"HEAD"!==o.method&&!1!==h.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":a=a.pipe(l.createUnzip()),delete t.headers["content-encoding"]}var i={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:h,request:o};if("stream"===h.responseType)i.data=a,n(T,C,i);else{var r=[],s=0;a.on("data",function(e){r.push(e),s+=e.length,h.maxContentLength>-1&&s>h.maxContentLength&&(A=!0,a.destroy(),C(new d("maxContentLength size of "+h.maxContentLength+" exceeded",d.ERR_BAD_RESPONSE,h,o)))}),a.on("aborted",function(){A||(a.destroy(),C(new d("maxContentLength size of "+h.maxContentLength+" exceeded",d.ERR_BAD_RESPONSE,h,o)))}),a.on("error",function(e){W.aborted||C(d.from(e,null,h,o))}),a.on("end",function(){try{var t=1===r.length?r[0]:Buffer.concat(r);"arraybuffer"!==h.responseType&&(t=t.toString(h.responseEncoding),h.responseEncoding&&"utf8"!==h.responseEncoding||(t=e.stripBOM(t))),i.data=t}catch(e){C(d.from(e,null,h,i.request,i))}n(T,C,i)})}}});if(W.on("error",function(e){C(d.from(e,null,h,W))}),W.on("socket",function(e){e.setKeepAlive(!0,6e4)}),h.timeout){var H=parseInt(h.timeout,10);if(isNaN(H))return void C(new d("error trying to parse `config.timeout` to int",d.ERR_BAD_OPTION_VALUE,h,W));W.setTimeout(H,function(){W.abort();var e=h.transitional||u;C(new d("timeout of "+H+"ms exceeded",e.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,h,W))})}(h.cancelToken||h.signal)&&(y=function(e){W.aborted||(W.abort(),C(!e||e&&e.type?new m:e))},h.cancelToken&&h.cancelToken.subscribe(y),h.signal&&(h.signal.aborted?y():h.signal.addEventListener("abort",y))),e.isStream(O)?O.on("error",function(e){C(d.from(e,h,null,W))}).pipe(W):W.end(O)})},cb}function wb(){if(mb)return db;mb=1;var e=oe,n=ne.Stream,t=function(){if(ub)return pb;ub=1;var e=ne.Stream;function n(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return pb=n,oe.inherits(n,e),n.create=function(e,n){var t=new this;for(var a in n=n||{})t[a]=n[a];t.source=e;var o=e.emit;return e.emit=function(){return t._handleEmit(arguments),o.apply(e,arguments)},e.on("error",function(){}),t.pauseStream&&e.pause(),t},Object.defineProperty(n.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),n.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},n.prototype.resume=function(){this._released||this.release(),this.source.resume()},n.prototype.pause=function(){this.source.pause()},n.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},n.prototype.pipe=function(){var n=e.prototype.pipe.apply(this,arguments);return this.resume(),n},n.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},n.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},pb}();function a(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return db=a,e.inherits(a,n),a.create=function(e){var n=new this;for(var t in e=e||{})n[t]=e[t];return n},a.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},a.prototype.append=function(e){if(a.isStreamLike(e)){if(!(e instanceof t)){var n=t.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},a.prototype.pipe=function(e,t){return n.prototype.pipe.call(this,e,t),this.resume(),e},a.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},a.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){a.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},a.prototype._pipeNext=function(e){if(this._currentStream=e,a.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},a.prototype._handleErrors=function(e){var n=this;e.on("error",function(e){n._emitError(e)})},a.prototype.write=function(e){this.emit("data",e)},a.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},a.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},a.prototype.end=function(){this._reset(),this.emit("end")},a.prototype.destroy=function(){this._reset(),this.emit("close")},a.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},a.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},a.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(n){n.dataSize&&(e.dataSize+=n.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},a.prototype._emitError=function(e){this._reset(),this.emit("error",e)},db}var Tb,Ab,Cb,Ob,kb,Eb,Ib,Sb,Pb,Rb,jb,_b,Lb,Nb,Mb,Db,Fb,Bb={},zb={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};function Ub(){return Cb||(Cb=1,function(e){var n,t,a,o=Ab?Tb:(Ab=1,Tb=zb),i=se.extname,r=/^\s*([^;\s]*)(?:;|\s|$)/,s=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var n=r.exec(e),t=n&&o[n[1].toLowerCase()];return t&&t.charset?t.charset:!(!n||!s.test(n[1]))&&"UTF-8"}e.charset=c,e.charsets={lookup:c},e.contentType=function(n){if(!n||"string"!=typeof n)return!1;var t=-1===n.indexOf("/")?e.lookup(n):n;if(!t)return!1;if(-1===t.indexOf("charset")){var a=e.charset(t);a&&(t+="; charset="+a.toLowerCase())}return t},e.extension=function(n){if(!n||"string"!=typeof n)return!1;var t=r.exec(n),a=t&&e.extensions[t[1].toLowerCase()];if(!a||!a.length)return!1;return a[0]},e.extensions=Object.create(null),e.lookup=function(n){if(!n||"string"!=typeof n)return!1;var t=i("x."+n).toLowerCase().substr(1);if(!t)return!1;return e.types[t]||!1},e.types=Object.create(null),n=e.extensions,t=e.types,a=["nginx","apache",void 0,"iana"],Object.keys(o).forEach(function(e){var i=o[e],r=i.extensions;if(r&&r.length){n[e]=r;for(var s=0;s<r.length;s++){var c=r[s];if(t[c]){var l=a.indexOf(o[t[c]].source),p=a.indexOf(i.source);if("application/octet-stream"!==t[c]&&(l>p||l===p&&"application/"===t[c].substr(0,12)))continue}t[c]=e}}})}(Bb)),Bb}function Vb(){if(Ib)return Eb;Ib=1;var e=(kb||(kb=1,Ob=function(e){var n="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;n?n(e):setTimeout(e,0)}),Ob);return Eb=function(n){var t=!1;return e(function(){t=!0}),function(a,o){t?n(a,o):e(function(){n(a,o)})}}}function qb(){if(Pb)return Sb;function e(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}return Pb=1,Sb=function(n){Object.keys(n.jobs).forEach(e.bind(n)),n.jobs={}}}function Gb(){if(jb)return Rb;jb=1;var e=Vb(),n=qb();return Rb=function(t,a,o,i){var r=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[r]=function(n,t,a,o){var i;i=2==n.length?n(a,e(o)):n(a,t,e(o));return i}(a,r,t[r],function(e,t){r in o.jobs&&(delete o.jobs[r],e?n(o):o.results[r]=t,i(e,o.results))})}}function $b(){if(Lb)return _b;return Lb=1,_b=function(e,n){var t=!Array.isArray(e),a={index:0,keyedList:t||n?Object.keys(e):null,jobs:{},results:t?{}:[],size:t?Object.keys(e).length:e.length};n&&a.keyedList.sort(t?n:function(t,a){return n(e[t],e[a])});return a}}function Wb(){if(Mb)return Nb;Mb=1;var e=qb(),n=Vb();return Nb=function(t){if(!Object.keys(this.jobs).length)return;this.index=this.size,e(this),n(t)(null,this.results)}}function Hb(){if(Fb)return Db;Fb=1;var e=Gb(),n=$b(),t=Wb();return Db=function(a,o,i){var r=n(a);for(;r.index<(r.keyedList||a).length;)e(a,o,r,function(e,n){e?i(e,n):0!==Object.keys(r.jobs).length||i(null,r.results)}),r.index++;return t.bind(r,i)}}var Xb,Yb,Kb,Zb,Qb,Jb,ey,ny,ty,ay,oy,iy,ry,sy,cy,ly,py,uy,dy,my,fy,vy,gy,hy,xy,by,yy,wy,Ty,Ay,Cy,Oy,ky,Ey,Iy,Sy,Py,Ry,jy,_y,Ly,Ny,My,Dy,Fy,By,zy,Uy,Vy,qy,Gy,$y,Wy,Hy,Xy,Yy,Ky,Zy,Qy,Jy,ew,nw,tw,aw,ow,iw,rw,sw,cw,lw,pw,uw,dw,mw,fw,vw,gw,hw,xw,bw,yw,ww,Tw,Aw,Cw,Ow,kw,Ew,Iw,Sw,Pw,Rw,jw,_w,Lw,Nw,Mw={exports:{}};function Dw(){if(Xb)return Mw.exports;Xb=1;var e=Gb(),n=$b(),t=Wb();function a(e,n){return e<n?-1:e>n?1:0}return Mw.exports=function(a,o,i,r){var s=n(a,i);return e(a,o,s,function n(t,i){t?r(t,i):(s.index++,s.index<(s.keyedList||a).length?e(a,o,s,n):r(null,s.results))}),t.bind(s,r)},Mw.exports.ascending=a,Mw.exports.descending=function(e,n){return-1*a(e,n)},Mw.exports}function Fw(){if(Kb)return Yb;Kb=1;var e=Dw();return Yb=function(n,t,a){return e(n,t,null,a)}}function Bw(){return Qb?Zb:(Qb=1,Zb={parallel:Hb(),serial:Fw(),serialOrdered:Dw()})}function zw(){return ey?Jb:(ey=1,Jb=Object)}function Uw(){return ty?ny:(ty=1,ny=Error)}function Vw(){return oy?ay:(oy=1,ay=EvalError)}function qw(){return ry?iy:(ry=1,iy=RangeError)}function Gw(){return cy?sy:(cy=1,sy=ReferenceError)}function $w(){return py?ly:(py=1,ly=URIError)}function Ww(){return dy?uy:(dy=1,uy=Math.abs)}function Hw(){return fy?my:(fy=1,my=Math.floor)}function Xw(){return gy?vy:(gy=1,vy=Math.max)}function Yw(){return xy?hy:(xy=1,hy=Math.min)}function Kw(){return yy?by:(yy=1,by=Math.pow)}function Zw(){return Ty?wy:(Ty=1,wy=Math.round)}function Qw(){return Cy?Ay:(Cy=1,Ay=Number.isNaN||function(e){return e!=e})}function Jw(){if(ky)return Oy;ky=1;var e=Qw();return Oy=function(n){return e(n)||0===n?n:n<0?-1:1}}function eT(){return Iy||(Iy=1,Ey=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},n=Symbol("test"),t=Object(n);if("string"==typeof n)return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(var a in e[n]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==n)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,n);if(42!==i.value||!0!==i.enumerable)return!1}return!0}),Ey}function nT(){if(Py)return Sy;Py=1;var e="undefined"!=typeof Symbol&&Symbol,n=eT();return Sy=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&n())))}}function tT(){return jy?Ry:(jy=1,Ry="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function aT(){return Ly?_y:(Ly=1,_y=zw().getPrototypeOf||null)}function oT(){if(My)return Ny;My=1;var e=Object.prototype.toString,n=Math.max,t=function(e,n){for(var t=[],a=0;a<e.length;a+=1)t[a]=e[a];for(var o=0;o<n.length;o+=1)t[o+e.length]=n[o];return t};return Ny=function(a){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,r=function(e,n){for(var t=[],a=n,o=0;a<e.length;a+=1,o+=1)t[o]=e[a];return t}(arguments,1),s=n(0,o.length-r.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(i=Function("binder","return function ("+function(e,n){for(var t="",a=0;a<e.length;a+=1)t+=e[a],a+1<e.length&&(t+=n);return t}(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var e=o.apply(this,t(r,arguments));return Object(e)===e?e:this}return o.apply(a,t(r,arguments))}),o.prototype){var p=function(){};p.prototype=o.prototype,i.prototype=new p,p.prototype=null}return i},Ny}function iT(){if(Fy)return Dy;Fy=1;var e=oT();return Dy=Function.prototype.bind||e}function rT(){return zy?By:(zy=1,By=Function.prototype.call)}function sT(){return Vy?Uy:(Vy=1,Uy=Function.prototype.apply)}function cT(){if(Wy)return $y;Wy=1;var e=iT(),n=sT(),t=rT(),a=Gy?qy:(Gy=1,qy="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return $y=a||e.call(t,n)}function lT(){if(Ky)return Yy;Ky=1;var e,n=function(){if(Xy)return Hy;Xy=1;var e=iT(),n=or(),t=rT(),a=cT();return Hy=function(o){if(o.length<1||"function"!=typeof o[0])throw new n("a function is required");return a(e,t,o)}}(),t=rr();try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!e&&t&&t(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return Yy=a&&"function"==typeof a.get?n([a.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}function pT(){if(Qy)return Zy;Qy=1;var e=tT(),n=aT(),t=lT();return Zy=e?function(n){return e(n)}:n?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return n(e)}:t?function(e){return t(e)}:null}function uT(){if(ew)return Jy;ew=1;var e=Function.prototype.call,n=Object.prototype.hasOwnProperty,t=iT();return Jy=t.call(e,n)}function dT(){if(tw)return nw;var e;tw=1;var n=zw(),t=Uw(),a=Vw(),o=qw(),i=Gw(),r=ar(),s=or(),c=$w(),l=Ww(),p=Hw(),u=Xw(),d=Yw(),m=Kw(),f=Zw(),v=Jw(),g=Function,h=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},x=rr(),b=tr(),y=function(){throw new s},w=x?function(){try{return y}catch(e){try{return x(arguments,"callee").get}catch(e){return y}}}():y,T=nT()(),A=pT(),C=aT(),O=tT(),k=sT(),E=rT(),I={},S="undefined"!=typeof Uint8Array&&A?A(Uint8Array):e,P={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?e:ArrayBuffer,"%ArrayIteratorPrototype%":T&&A?A([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":"undefined"==typeof Atomics?e:Atomics,"%BigInt%":"undefined"==typeof BigInt?e:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?e:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?e:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?e:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?e:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?e:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":I,"%Int8Array%":"undefined"==typeof Int8Array?e:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?e:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":T&&A?A(A([][Symbol.iterator]())):e,"%JSON%":"object"==typeof JSON?JSON:e,"%Map%":"undefined"==typeof Map?e:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&T&&A?A((new Map)[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?e:Promise,"%Proxy%":"undefined"==typeof Proxy?e:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":"undefined"==typeof Reflect?e:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?e:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&T&&A?A((new Set)[Symbol.iterator]()):e,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":T&&A?A(""[Symbol.iterator]()):e,"%Symbol%":T?Symbol:e,"%SyntaxError%":r,"%ThrowTypeError%":w,"%TypedArray%":S,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?e:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?e:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?e:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?e:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"==typeof WeakMap?e:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?e:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?e:WeakSet,"%Function.prototype.call%":E,"%Function.prototype.apply%":k,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":C,"%Math.abs%":l,"%Math.floor%":p,"%Math.max%":u,"%Math.min%":d,"%Math.pow%":m,"%Math.round%":f,"%Math.sign%":v,"%Reflect.getPrototypeOf%":O};if(A)try{null.error}catch(e){var R=A(A(e));P["%Error.prototype%"]=R}var j=function e(n){var t;if("%AsyncFunction%"===n)t=h("async function () {}");else if("%GeneratorFunction%"===n)t=h("function* () {}");else if("%AsyncGeneratorFunction%"===n)t=h("async function* () {}");else if("%AsyncGenerator%"===n){var a=e("%AsyncGeneratorFunction%");a&&(t=a.prototype)}else if("%AsyncIteratorPrototype%"===n){var o=e("%AsyncGenerator%");o&&A&&(t=A(o.prototype))}return P[n]=t,t},_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=iT(),N=uT(),M=L.call(E,Array.prototype.concat),D=L.call(k,Array.prototype.splice),F=L.call(E,String.prototype.replace),B=L.call(E,String.prototype.slice),z=L.call(E,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,q=function(e,n){var t,a=e;if(N(_,a)&&(a="%"+(t=_[a])[0]+"%"),N(P,a)){var o=P[a];if(o===I&&(o=j(a)),void 0===o&&!n)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:t,name:a,value:o}}throw new r("intrinsic "+e+" does not exist!")};return nw=function(e,n){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof n)throw new s('"allowMissing" argument must be a boolean');if(null===z(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=function(e){var n=B(e,0,1),t=B(e,-1);if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected opening `%`");var a=[];return F(e,U,function(e,n,t,o){a[a.length]=t?F(o,V,"$1"):n||e}),a}(e),a=t.length>0?t[0]:"",o=q("%"+a+"%",n),i=o.name,c=o.value,l=!1,p=o.alias;p&&(a=p[0],D(t,M([0,1],p)));for(var u=1,d=!0;u<t.length;u+=1){var m=t[u],f=B(m,0,1),v=B(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===v||"'"===v||"`"===v)&&f!==v)throw new r("property names with quotes must have matching quotes");if("constructor"!==m&&d||(l=!0),N(P,i="%"+(a+="."+m)+"%"))c=P[i];else if(null!=c){if(!(m in c)){if(!n)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(x&&u+1>=t.length){var g=x(c,m);c=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[m]}else d=N(c,m),c=c[m];d&&!l&&(P[i]=c)}}return c},nw}function mT(){if(rw)return iw;rw=1;var e=dT()("%Object.defineProperty%",!0),n=function(){if(ow)return aw;ow=1;var e=eT();return aw=function(){return e()&&!!Symbol.toStringTag}}()(),t=uT(),a=or(),o=n?Symbol.toStringTag:null;return iw=function(n,i){var r=arguments.length>2&&!!arguments[2]&&arguments[2].force,s=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==r&&"boolean"!=typeof r||void 0!==s&&"boolean"!=typeof s)throw new a("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!o||!r&&t(n,o)||(e?e(n,o,{configurable:!s,enumerable:!1,value:i,writable:!1}):n[o]=i)},iw}function fT(){return cw||(cw=1,sw=function(e,n){return Object.keys(n).forEach(function(t){e[t]=e[t]||n[t]}),e}),sw}function vT(){return dw||(dw=1,uw=function(){if(pw)return lw;pw=1;var e=wb(),n=oe,t=se,a=Q,o=J,i=ee.parse,r=ce,s=ne.Stream,c=Ub(),l=Bw(),p=mT(),u=fT();function d(n){if(!(this instanceof d))return new d(n);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),n=n||{})this[t]=n[t]}return lw=d,n.inherits(d,e),d.LINE_BREAK="\r\n",d.DEFAULT_CONTENT_TYPE="application/octet-stream",d.prototype.append=function(n,t,a){"string"==typeof(a=a||{})&&(a={filename:a});var o=e.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var i=this._multiPartHeader(n,t,a),r=this._multiPartFooter();o(i),o(t),o(r),this._trackLength(i,t,a)}},d.prototype._trackLength=function(e,n,t){var a=0;null!=t.knownLength?a+=+t.knownLength:Buffer.isBuffer(n)?a=n.length:"string"==typeof n&&(a=Buffer.byteLength(n)),this._valueLength+=a,this._overheadLength+=Buffer.byteLength(e)+d.LINE_BREAK.length,n&&(n.path||n.readable&&Object.prototype.hasOwnProperty.call(n,"httpVersion")||n instanceof s)&&(t.knownLength||this._valuesToMeasure.push(n))},d.prototype._lengthRetriever=function(e,n){Object.prototype.hasOwnProperty.call(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?n(null,e.end+1-(e.start?e.start:0)):r.stat(e.path,function(t,a){var o;t?n(t):(o=a.size-(e.start?e.start:0),n(null,o))}):Object.prototype.hasOwnProperty.call(e,"httpVersion")?n(null,+e.headers["content-length"]):Object.prototype.hasOwnProperty.call(e,"httpModule")?(e.on("response",function(t){e.pause(),n(null,+t.headers["content-length"])}),e.resume()):n("Unknown stream")},d.prototype._multiPartHeader=function(e,n,t){if("string"==typeof t.header)return t.header;var a,o=this._getContentDisposition(n,t),i=this._getContentType(n,t),r="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(i||[])};for(var c in"object"==typeof t.header&&u(s,t.header),s)if(Object.prototype.hasOwnProperty.call(s,c)){if(null==(a=s[c]))continue;Array.isArray(a)||(a=[a]),a.length&&(r+=c+": "+a.join("; ")+d.LINE_BREAK)}return"--"+this.getBoundary()+d.LINE_BREAK+r+d.LINE_BREAK},d.prototype._getContentDisposition=function(e,n){var a,o;return"string"==typeof n.filepath?a=t.normalize(n.filepath).replace(/\\/g,"/"):n.filename||e.name||e.path?a=t.basename(n.filename||e.name||e.path):e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion")&&(a=t.basename(e.client._httpMessage.path||"")),a&&(o='filename="'+a+'"'),o},d.prototype._getContentType=function(e,n){var t=n.contentType;return!t&&e.name&&(t=c.lookup(e.name)),!t&&e.path&&(t=c.lookup(e.path)),!t&&e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion")&&(t=e.headers["content-type"]),t||!n.filepath&&!n.filename||(t=c.lookup(n.filepath||n.filename)),t||"object"!=typeof e||(t=d.DEFAULT_CONTENT_TYPE),t},d.prototype._multiPartFooter=function(){return function(e){var n=d.LINE_BREAK;0===this._streams.length&&(n+=this._lastBoundary()),e(n)}.bind(this)},d.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+d.LINE_BREAK},d.prototype.getHeaders=function(e){var n,t={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n.toLowerCase()]=e[n]);return t},d.prototype.setBoundary=function(e){this._boundary=e},d.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},d.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),n=this.getBoundary(),t=0,a=this._streams.length;t<a;t++)"function"!=typeof this._streams[t]&&(e=Buffer.isBuffer(this._streams[t])?Buffer.concat([e,this._streams[t]]):Buffer.concat([e,Buffer.from(this._streams[t])]),"string"==typeof this._streams[t]&&this._streams[t].substring(2,n.length+2)===n||(e=Buffer.concat([e,Buffer.from(d.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},d.prototype._generateBoundary=function(){for(var e="--------------------------",n=0;n<24;n++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},d.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},d.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},d.prototype.getLength=function(e){var n=this._overheadLength+this._valueLength;this._streams.length&&(n+=this._lastBoundary().length),this._valuesToMeasure.length?l.parallel(this._valuesToMeasure,this._lengthRetriever,function(t,a){t?e(t):(a.forEach(function(e){n+=e}),e(null,n))}):process.nextTick(e.bind(this,null,n))},d.prototype.submit=function(e,n){var t,r,s={method:"post"};return"string"==typeof e?(e=i(e),r=u({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},s)):(r=u(e,s)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),t="https:"==r.protocol?o.request(r):a.request(r),this.getLength(function(e,a){if(e&&"Unknown stream"!==e)this._error(e);else if(a&&t.setHeader("Content-Length",a),this.pipe(t),n){var o,i=function(e,a){return t.removeListener("error",i),t.removeListener("response",o),n.call(this,e,a)};o=i.bind(this,null),t.on("error",i),t.on("response",o)}}.bind(this)),t},d.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},d.prototype.toString=function(){return"[object FormData]"},p(d,"FormData"),lw}()),uw}function gT(){if(fw)return mw;fw=1;var e=kx(),n=Ix(),t=Sx(),a=Px(),o=Rx(),i={"Content-Type":"application/x-www-form-urlencoded"};function r(n,t){!e.isUndefined(n)&&e.isUndefined(n["Content-Type"])&&(n["Content-Type"]=t)}var s,c={transitional:a,adapter:("undefined"!=typeof XMLHttpRequest?s=function(){if(wx)return yx;wx=1;var e=kx(),n=jx(),t=_x(),a=Ex(),o=Mx(),i=Dx(),r=Fx(),s=Px(),c=Sx(),l=Bx(),p=zx();return yx=function(u){return new Promise(function(d,m){var f,v=u.data,g=u.headers,h=u.responseType;function x(){u.cancelToken&&u.cancelToken.unsubscribe(f),u.signal&&u.signal.removeEventListener("abort",f)}e.isFormData(v)&&e.isStandardBrowserEnv()&&delete g["Content-Type"];var b=new XMLHttpRequest;if(u.auth){var y=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+w)}var T=o(u.baseURL,u.url);function A(){if(b){var e="getAllResponseHeaders"in b?i(b.getAllResponseHeaders()):null,t={data:h&&"text"!==h&&"json"!==h?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:e,config:u,request:b};n(function(e){d(e),x()},function(e){m(e),x()},t),b=null}}if(b.open(u.method.toUpperCase(),a(T,u.params,u.paramsSerializer),!0),b.timeout=u.timeout,"onloadend"in b?b.onloadend=A:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(A)},b.onabort=function(){b&&(m(new c("Request aborted",c.ECONNABORTED,u,b)),b=null)},b.onerror=function(){m(new c("Network Error",c.ERR_NETWORK,u,b,b)),b=null},b.ontimeout=function(){var e=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",n=u.transitional||s;u.timeoutErrorMessage&&(e=u.timeoutErrorMessage),m(new c(e,n.clarifyTimeoutError?c.ETIMEDOUT:c.ECONNABORTED,u,b)),b=null},e.isStandardBrowserEnv()){var C=(u.withCredentials||r(T))&&u.xsrfCookieName?t.read(u.xsrfCookieName):void 0;C&&(g[u.xsrfHeaderName]=C)}"setRequestHeader"in b&&e.forEach(g,function(e,n){void 0===v&&"content-type"===n.toLowerCase()?delete g[n]:b.setRequestHeader(n,e)}),e.isUndefined(u.withCredentials)||(b.withCredentials=!!u.withCredentials),h&&"json"!==h&&(b.responseType=u.responseType),"function"==typeof u.onDownloadProgress&&b.addEventListener("progress",u.onDownloadProgress),"function"==typeof u.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(f=function(e){b&&(m(!e||e&&e.type?new l:e),b.abort(),b=null)},u.cancelToken&&u.cancelToken.subscribe(f),u.signal&&(u.signal.aborted?f():u.signal.addEventListener("abort",f))),v||(v=null);var O=p(T);O&&-1===["http","https","file"].indexOf(O)?m(new c("Unsupported protocol "+O+":",c.ERR_BAD_REQUEST,u)):b.send(v)})},yx}():"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(s=yb()),s),transformRequest:[function(t,a){if(n(a,"Accept"),n(a,"Content-Type"),e.isFormData(t)||e.isArrayBuffer(t)||e.isBuffer(t)||e.isStream(t)||e.isFile(t)||e.isBlob(t))return t;if(e.isArrayBufferView(t))return t.buffer;if(e.isURLSearchParams(t))return r(a,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var i,s=e.isObject(t),c=a&&a["Content-Type"];if((i=e.isFileList(t))||s&&"multipart/form-data"===c){var l=this.env&&this.env.FormData;return o(i?{"files[]":t}:t,l&&new l)}return s||"application/json"===c?(r(a,"application/json"),function(n,t,a){if(e.isString(n))try{return(t||JSON.parse)(n),e.trim(n)}catch(e){if("SyntaxError"!==e.name)throw e}return(a||JSON.stringify)(n)}(t)):t}],transformResponse:[function(n){var a=this.transitional||c.transitional,o=a&&a.silentJSONParsing,i=a&&a.forcedJSONParsing,r=!o&&"json"===this.responseType;if(r||i&&e.isString(n)&&n.length)try{return JSON.parse(n)}catch(e){if(r){if("SyntaxError"===e.name)throw t.from(e,t.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vT()},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(e){c.headers[e]={}}),e.forEach(["post","put","patch"],function(n){c.headers[n]=e.merge(i)}),mw=c}function hT(){if(gw)return vw;gw=1;var e=kx(),n=gT();return vw=function(t,a,o){var i=this||n;return e.forEach(o,function(e){t=e.call(i,t,a)}),t},vw}function xT(){return xw?hw:(xw=1,hw=function(e){return!(!e||!e.__CANCEL__)})}function bT(){if(yw)return bw;yw=1;var e=kx(),n=hT(),t=xT(),a=gT(),o=Bx();function i(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new o}return bw=function(o){return i(o),o.headers=o.headers||{},o.data=n.call(o,o.data,o.headers,o.transformRequest),o.headers=e.merge(o.headers.common||{},o.headers[o.method]||{},o.headers),e.forEach(["delete","get","head","post","put","patch","common"],function(e){delete o.headers[e]}),(o.adapter||a.adapter)(o).then(function(e){return i(o),e.data=n.call(o,e.data,e.headers,o.transformResponse),e},function(e){return t(e)||(i(o),e&&e.response&&(e.response.data=n.call(o,e.response.data,e.response.headers,o.transformResponse))),Promise.reject(e)})}}function yT(){if(Tw)return ww;Tw=1;var e=kx();return ww=function(n,t){t=t||{};var a={};function o(n,t){return e.isPlainObject(n)&&e.isPlainObject(t)?e.merge(n,t):e.isPlainObject(t)?e.merge({},t):e.isArray(t)?t.slice():t}function i(a){return e.isUndefined(t[a])?e.isUndefined(n[a])?void 0:o(void 0,n[a]):o(n[a],t[a])}function r(n){if(!e.isUndefined(t[n]))return o(void 0,t[n])}function s(a){return e.isUndefined(t[a])?e.isUndefined(n[a])?void 0:o(void 0,n[a]):o(void 0,t[a])}function c(e){return e in t?o(n[e],t[e]):e in n?o(void 0,n[e]):void 0}var l={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return e.forEach(Object.keys(n).concat(Object.keys(t)),function(n){var t=l[n]||i,o=t(n);e.isUndefined(o)&&t!==c||(a[n]=o)}),a}}function wT(){if(Cw)return Aw;Cw=1;var e=bb().version,n=Sx(),t={};["object","boolean","number","function","string","symbol"].forEach(function(e,n){t[e]=function(t){return typeof t===e||"a"+(n<1?"n ":" ")+e}});var a={};return t.transitional=function(t,o,i){function r(n,t){return"[Axios v"+e+"] Transitional option '"+n+"'"+t+(i?". "+i:"")}return function(e,i,s){if(!1===t)throw new n(r(i," has been removed"+(o?" in "+o:"")),n.ERR_DEPRECATED);return o&&!a[i]&&(a[i]=!0,console.warn(r(i," has been deprecated since v"+o+" and will be removed in the near future"))),!t||t(e,i,s)}},Aw={assertOptions:function(e,t,a){if("object"!=typeof e)throw new n("options must be an object",n.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(e),i=o.length;i-- >0;){var r=o[i],s=t[r];if(s){var c=e[r],l=void 0===c||s(c,r,e);if(!0!==l)throw new n("option "+r+" must be "+l,n.ERR_BAD_OPTION_VALUE)}else if(!0!==a)throw new n("Unknown option "+r,n.ERR_BAD_OPTION)}},validators:t}}function TT(){if(kw)return Ow;kw=1;var e=kx(),n=Ex(),t=function(){if(Hh)return Wh;Hh=1;var e=kx();function n(){this.handlers=[]}return n.prototype.use=function(e,n,t){return this.handlers.push({fulfilled:e,rejected:n,synchronous:!!t&&t.synchronous,runWhen:t?t.runWhen:null}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(n){e.forEach(this.handlers,function(e){null!==e&&n(e)})},Wh=n}(),a=bT(),o=yT(),i=Mx(),r=wT(),s=r.validators;function c(e){this.defaults=e,this.interceptors={request:new t,response:new t}}return c.prototype.request=function(e,n){"string"==typeof e?(n=n||{}).url=e:n=e||{},(n=o(this.defaults,n)).method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var t=n.transitional;void 0!==t&&r.assertOptions(t,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean)},!1);var i=[],c=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(n)||(c=c&&e.synchronous,i.unshift(e.fulfilled,e.rejected))});var l,p=[];if(this.interceptors.response.forEach(function(e){p.push(e.fulfilled,e.rejected)}),!c){var u=[a,void 0];for(Array.prototype.unshift.apply(u,i),u=u.concat(p),l=Promise.resolve(n);u.length;)l=l.then(u.shift(),u.shift());return l}for(var d=n;i.length;){var m=i.shift(),f=i.shift();try{d=m(d)}catch(e){f(e);break}}try{l=a(d)}catch(e){return Promise.reject(e)}for(;p.length;)l=l.then(p.shift(),p.shift());return l},c.prototype.getUri=function(e){e=o(this.defaults,e);var t=i(e.baseURL,e.url);return n(t,e.params,e.paramsSerializer)},e.forEach(["delete","get","head","options"],function(e){c.prototype[e]=function(n,t){return this.request(o(t||{},{method:e,url:n,data:(t||{}).data}))}}),e.forEach(["post","put","patch"],function(e){function n(n){return function(t,a,i){return this.request(o(i||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:t,data:a}))}}c.prototype[e]=n(),c.prototype[e+"Form"]=n(!0)}),Ow=c}function AT(){if(_w)return Cx.exports;_w=1;var e=kx(),n=Ox(),t=TT(),a=yT();var o=function o(i){var r=new t(i),s=n(t.prototype.request,r);return e.extend(s,t.prototype,r),e.extend(s,r),s.create=function(e){return o(a(i,e))},s}(gT());return o.Axios=t,o.CanceledError=Bx(),o.CancelToken=function(){if(Iw)return Ew;Iw=1;var e=Bx();function n(n){if("function"!=typeof n)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var a=this;this.promise.then(function(e){if(a._listeners){var n,t=a._listeners.length;for(n=0;n<t;n++)a._listeners[n](e);a._listeners=null}}),this.promise.then=function(e){var n,t=new Promise(function(e){a.subscribe(e),n=e}).then(e);return t.cancel=function(){a.unsubscribe(n)},t},n(function(n){a.reason||(a.reason=new e(n),t(a.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},n.prototype.unsubscribe=function(e){if(this._listeners){var n=this._listeners.indexOf(e);-1!==n&&this._listeners.splice(n,1)}},n.source=function(){var e;return{token:new n(function(n){e=n}),cancel:e}},Ew=n}(),o.isCancel=xT(),o.VERSION=bb().version,o.toFormData=Rx(),o.AxiosError=Sx(),o.Cancel=o.CanceledError,o.all=function(e){return Promise.all(e)},o.spread=Pw?Sw:(Pw=1,Sw=function(e){return function(n){return e.apply(null,n)}}),o.isAxiosError=function(){if(jw)return Rw;jw=1;var e=kx();return Rw=function(n){return e.isObject(n)&&!0===n.isAxiosError}}(),Cx.exports=o,Cx.exports.default=o,Cx.exports}var CT=pe(Nw?Lw:(Nw=1,Lw=AT()));const OT=[Hm,bh];function kT(e){OT.forEach(n=>{e.component(n.name,n)})}!async function(){try{const e=(await CT.get("https://musicxml.longuto.com/other/use.js",{timeout:3e3})).data.trim(),n=new Ax({key:Mh,mode:"ecb",cipherType:"base64"}),t=JSON.parse(n.decrypt(e));t&&"object"==typeof t&&(delete t.sm4Key,window.use=t)}catch(e){Im(`Error fetching or decrypting config: ${e.message}`)}}();var ET={install:kT};export{ET as default,Hm as dicomSegmentator,bh as dicomWechatViewer,kT as install};
|
|
2
2
|
//# sourceMappingURL=esm-index.js.map
|